diff --git a/404.html b/404.html index 7516deb..4dafc8d 100644 --- a/404.html +++ b/404.html @@ -7,8 +7,8 @@ - + - + diff --git a/index.html b/index.html index 7516deb..4dafc8d 100644 --- a/index.html +++ b/index.html @@ -7,8 +7,8 @@ - + - + diff --git a/main.3e9e041ac00f3db8.js b/main.3e9e041ac00f3db8.js new file mode 100644 index 0000000..a46823f --- /dev/null +++ b/main.3e9e041ac00f3db8.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[179],{1978:(_t,Me,p)=>{p.d(Me,{Zb:()=>ie,Lq:()=>Bo,qA:()=>ce});var n=p(6814),l=p(7105),w=p(6263),E=p(4516),H=p(7326),Q=p(5879),ne=p(3383);const we=function(){return["json"]};let ie=(()=>{class tt{constructor(){this.config={},this.model={}}static#e=this.\u0275fac=function(Xt){return new(Xt||tt)};static#t=this.\u0275cmp=Q.Xpm({type:tt,selectors:[["app-example-viewer"]],inputs:{config:"config"},standalone:!0,features:[Q.jDz],decls:11,vars:10,consts:[[1,"demo-wrapper"],[1,"demo-code"],[3,"highlight","languages"],[1,"demo-result"],[3,"config","model"],[1,"demo-console"],["readonly","","matInput","","cdkTextareaAutosize","","cdkAutosizeMinRows","1","cdkAutosizeMaxRows","20"]],template:function(Xt,Kn){1&Xt&&(Q.TgZ(0,"div",0)(1,"div",1)(2,"pre"),Q._UZ(3,"code",2),Q.ALo(4,"json"),Q.qZA()(),Q.TgZ(5,"div",3),Q._UZ(6,"gui-form",4),Q.TgZ(7,"div",5)(8,"textarea",6),Q._uU(9),Q.ALo(10,"json"),Q.qZA()()()()),2&Xt&&(Q.xp6(3),Q.Q6J("highlight",Q.lcZ(4,5,Kn.config))("languages",Q.DdM(9,we)),Q.xp6(3),Q.Q6J("config",Kn.config)("model",Kn.model),Q.xp6(3),Q.Oqu(Q.lcZ(10,7,Kn.model)))},dependencies:[n.ez,n.Ts,l.i,ne.s,E.c,E.Nt,w.IC,w.Ky,H._l,H.y$],styles:[".demo-wrapper[_ngcontent-%COMP%]{position:relative;display:flex;margin:16px 0;background-color:var(--bg-secondary-color);border-radius:8px}.demo-code[_ngcontent-%COMP%]{flex:1;max-height:600px;overflow:auto}.demo-code[_ngcontent-%COMP%] pre[_ngcontent-%COMP%]{margin:0}.demo-result[_ngcontent-%COMP%]{width:320px;padding:32px;margin:0 auto}.demo-console[_ngcontent-%COMP%]{padding:4px;margin-top:16px;border:1px solid var(--border-color);border-radius:4px}.demo-console[_ngcontent-%COMP%] textarea[_ngcontent-%COMP%]{display:block;width:100%;padding:0 4px;background-color:var(--console-bg-color);color:var(--console-color);border-width:0;font-size:12px;line-height:20px;appearance:none;outline:none}@media (width < 600px){.demo-wrapper[_ngcontent-%COMP%]{flex-direction:column}}"]})}return tt})();function J(tt,kt){if(1&tt&&(Q.TgZ(0,"h1"),Q._uU(1),Q.qZA()),2&tt){const Qt=Q.oxw();Q.xp6(1),Q.Oqu(Qt.title)}}function xe(tt,kt){if(1&tt&&(Q.TgZ(0,"p"),Q._uU(1),Q.qZA()),2&tt){const Qt=Q.oxw();Q.xp6(1),Q.Oqu(Qt.subtitle)}}function fe(tt,kt){1&tt&&Q._UZ(0,"div",3)}let ce=(()=>{class tt{constructor(){this.title="",this.subtitle="",this.config=null}static#e=this.\u0275fac=function(Xt){return new(Xt||tt)};static#t=this.\u0275cmp=Q.Xpm({type:tt,selectors:[["app-page-header"]],hostAttrs:[1,"page-header"],inputs:{title:"title",subtitle:"subtitle",config:"config"},standalone:!0,features:[Q.jDz],decls:4,vars:3,consts:[[1,"page-header-text"],[4,"ngIf"],["class","page-header-demo",4,"ngIf"],[1,"page-header-demo"]],template:function(Xt,Kn){1&Xt&&(Q.TgZ(0,"div",0),Q.YNc(1,J,2,1,"h1",1),Q.YNc(2,xe,2,1,"p",1),Q.qZA(),Q.YNc(3,fe,1,0,"div",2)),2&Xt&&(Q.xp6(1),Q.Q6J("ngIf",Kn.title),Q.xp6(1),Q.Q6J("ngIf",Kn.subtitle),Q.xp6(1),Q.Q6J("ngIf",Kn.config))},dependencies:[n.ez,n.O5],styles:[".page-header{position:relative;display:flex;align-items:center;justify-content:space-between;padding:64px;background-color:var(--bg-secondary-color);border-radius:8px}.page-header-text h1{margin:0}.page-header-text p{margin-top:16px;margin-bottom:0}@media (width < 600px){.page-header{flex-direction:column;padding:64px 16px;text-align:center}}\n"],encapsulation:2})}return tt})();var De=p(2296);const Ae=[{gradients:[{type:"linear",repeating:!0,reverse:!1,angle:45,stops:[{color:"rgba(75, 75, 75, 0.5)",offset:"0%"},{color:"rgba(220, 235, 255, 0.75)",offset:"50%"}],position:{},size:{w:"100px",h:"100px"}},{type:"linear",repeating:!0,reverse:!1,angle:135,stops:[{color:"rgba(5, 30, 50, 0.75)",offset:"0%"},{color:"rgba(115, 150, 255, 0.5)",offset:"50%"}],position:{},size:{}}],blendMode:["overlay"],repeat:"repeat"},{gradients:[{type:"conic",repeating:!0,conicBase:"",stops:[{color:"#023047",offset:"0 25%"},{color:"#00000000",offset:"0 50%"}],position:{x:"0",y:"0"},size:{w:"50px",h:"86.5px"}},{type:"conic",repeating:!0,conicBase:"from -30deg",stops:[{color:"#fb8500",offset:"0 16.67%"},{color:"#023047",offset:"0 50%"}],position:{x:"0",y:"0"},size:{w:"25px",h:"43.25px"}}],blendMode:["normal"],repeat:"repeat"},{gradients:[{type:"conic",conicBase:"from -60deg at 50% 33.33%",stops:[{color:"#d9d9d9",offset:"0 120deg"},{color:"#00000000",offset:"0"}],position:{},size:{w:"142.024px",h:"82px"}},{type:"conic",conicBase:"from 120deg at 50% 66.67%",stops:[{color:"#d9d9d9",offset:"0 120deg"},{color:"#00000000",offset:"0"}],position:{},size:{}},{type:"conic",conicBase:"from 60deg at 66.67%",stops:[{color:"#d9d9d9",offset:"60deg"},{color:"#ffffff",offset:"0 120deg"},{color:"#00000000",offset:"0"}],position:{},size:{}},{type:"conic",conicBase:"from 180deg at 33.33%",stops:[{color:"#b2b2b2",offset:"60deg"},{color:"#d9d9d9",offset:"0 120deg"},{color:"#00000000",offset:"0"}],position:{},size:{}},{type:"linear",angle:90,stops:[{color:"#b2b2b2",offset:"16.7%"},{color:"#ffffff",offset:"0 50%"},{color:"#b2b2b2",offset:"0 83.33%"},{color:"#ffffff",offset:"0"}],position:{},size:{}}],blendMode:["normal"],repeat:"repeat"},{gradients:[{type:"linear",repeating:!0,angle:45,stops:[{color:"rgba(0,0,0,.2)",offset:"0"},{color:"transparent",offset:"5px 50px"}],position:{},size:{}},{type:"linear",repeating:!0,angle:-45,stops:[{color:"rgba(0,0,0,.2)",offset:"0"},{color:"transparent",offset:"5px 50px"}],position:{},size:{}},{type:"linear",repeating:!0,angle:45,stops:[{color:"#000",offset:"0 10px"},{color:"#333",offset:"0 20px"},{color:"#d79033",offset:"0 30px"},{color:"#d7d7d3",offset:"0 40px"},{color:"#e9e9ea",offset:"0 50px"}],position:{},size:{}},{type:"linear",repeating:!0,angle:-45,stops:[{color:"#000",offset:"0 10px"},{color:"#333",offset:"0 20px"},{color:"#d79033",offset:"0 30px"},{color:"#d7d7d3",offset:"0 40px"},{color:"#e9e9ea",offset:"0 50px"}],position:{},size:{}}],blendMode:["multiply","multiply","lighten"],repeat:"repeat"}];var Le=p(8730);var ze=p(2656);const N=function(){try{var tt=(0,ze.Z)(Object,"defineProperty");return tt({},"",{}),tt}catch{}}(),K=function Ce(tt,kt,Qt){"__proto__"==kt&&N?N(tt,kt,{configurable:!0,enumerable:!0,value:Qt,writable:!0}):tt[kt]=Qt};var ve=p(8418),He=Object.prototype.hasOwnProperty;const ct=function ft(tt,kt,Qt){var Xt=tt[kt];(!He.call(tt,kt)||!(0,ve.Z)(Xt,Qt)||void 0===Qt&&!(kt in tt))&&K(tt,kt,Qt)},Ut=function xt(tt,kt,Qt,Xt){var Kn=!Qt;Qt||(Qt={});for(var Qn=-1,Zn=kt.length;++Qn{class tt{constructor(){this.demoStyle={},this.config={gradients:{type:"tabs",name:"Bg gradients",template:{name:"Gradient <%= i + 1 %>",children:{type:{type:"buttonToggle",name:"Type",options:[{label:"linear",value:"linear"},{label:"radial",value:"radial"},{label:"conic",value:"conic"}]},repeating:{type:"switch",name:"Repeating"},reverse:{type:"switch",name:"Reverse"},angle:{type:"slider",name:"Angle",min:0,max:360,suffix:"deg",description:"Only support for linear-gradient"},radialBase:{type:"text",name:"Radial",placeholder:" at ",description:"Only support for radial-gradient"},conicBase:{type:"text",name:"Conic",placeholder:"from at ",description:"Only support for conic-gradient"},stops:{type:"tabs",name:"Color stops",template:{name:"Stop <%= i + 1 %>",children:{color:{type:"fill",name:"Color",default:"#000"},offset:{type:"text",name:"Offset",default:"0%"}}}},position:{type:"inline",name:"Position",children:{x:{type:"text",name:"",placeholder:"X",col:50},y:{type:"text",name:"",placeholder:"Y",col:50}}},size:{type:"inline",name:"Size",children:{w:{type:"text",name:"",placeholder:"W",col:50},h:{type:"text",name:"",placeholder:"H",col:50}}}}}},blendMode:{type:"tabs",name:"Bg blend mode",mode:"list",template:{type:"select",name:"Blend mode <%= i + 1 %>",options:[{label:"normal",value:"normal"},{label:"multiply",value:"multiply"},{label:"screen",value:"screen"},{label:"overlay",value:"overlay"},{label:"darken",value:"darken"},{label:"lighten",value:"lighten"},{label:"color-dodge",value:"color-dodge"},{label:"color-burn",value:"color-burn"},{label:"hard-light",value:"hard-light"},{label:"soft-light",value:"soft-light"},{label:"difference",value:"difference"},{label:"exclusion",value:"exclusion"},{label:"hue",value:"hue"},{label:"saturation",value:"saturation"},{label:"color",value:"color"},{label:"luminosity",value:"luminosity"}]}},repeat:{type:"select",name:"Bg repeat",options:[{label:"no-repeat",value:"no-repeat"},{label:"repeat",value:"repeat"},{label:"repeat-x",value:"repeat-x"},{label:"repeat-y",value:"repeat-y"},{label:"round",value:"round"},{label:"space",value:"space"}]}},this.model=ao(Ae[0]),this.presets=Ae,this.presetStyles=[]}ngOnInit(){this.demoStyle=this.getBgStyle(this.model),this.presetStyles=this.presets.map(Qt=>this.getBgStyle(Qt))}getBgStyle(Qt){return console.log(Qt),{"background-image":Qt.gradients.map(Xt=>{const Kn=Xt.repeating?`repeating-${Xt.type}-gradient`:`${Xt.type}-gradient`,Zn={linear:Xt.angle?`${Xt.angle}deg,`:"",radial:Xt.radialBase?`${Xt.radialBase},`:"",conic:Xt.conicBase?`${Xt.conicBase},`:""},Yn=Xt.stops?.map((bi,ui)=>({...bi,color:Xt.reverse?Xt.stops[Xt.stops.length-1-ui].color:bi.color})).map(bi=>`${bi.color} ${bi.offset}`).join(",");return Yn?`${Kn}(${Zn[Xt.type]}${Yn})`:""}).filter(Xt=>Xt.trim()).join(","),"background-position":Qt.gradients.map(Xt=>`${Xt.position?.x||""} ${Xt.position?.y||""}`).filter(Xt=>Xt.trim()).join(","),"background-size":Qt.gradients.map(Xt=>`${Xt.size?.w||""} ${Xt.size?.h||""}`).filter(Xt=>Xt.trim()).join(","),"background-blend-mode":Qt.blendMode.join(","),"background-repeat":Qt.repeat}}selectPreset(Qt){this.model=ao(Qt),this.config=ao(this.config)}static#e=this.\u0275fac=function(Xt){return new(Xt||tt)};static#t=this.\u0275cmp=Q.Xpm({type:tt,selectors:[["app-gradient-generator"]],standalone:!0,features:[Q.jDz],decls:11,vars:5,consts:[[1,"jumbotron"],[1,"text"],[1,"gui-wrapper"],[1,"gui-heading"],[3,"config","model","modelChange"],["mat-stroked-button","",3,"style","click",4,"ngFor","ngForOf"],["mat-stroked-button","",3,"click"]],template:function(Xt,Kn){1&Xt&&(Q.TgZ(0,"div",0)(1,"div",1)(2,"h1"),Q._uU(3,"Acrodata GUI"),Q.qZA(),Q.TgZ(4,"p"),Q._uU(5,"A lightweight GUI library for Angular"),Q.qZA()(),Q.TgZ(6,"div",2)(7,"div",3),Q._uU(8,"Gradient Generator"),Q.qZA(),Q.TgZ(9,"gui-form",4),Q.NdJ("modelChange",function(Zn){return Kn.demoStyle=Kn.getBgStyle(Zn)}),Q.qZA()()(),Q.YNc(10,fo,1,2,"button",5)),2&Xt&&(Q.Akn(Kn.demoStyle),Q.xp6(9),Q.Q6J("config",Kn.config)("model",Kn.model),Q.xp6(1),Q.Q6J("ngForOf",Kn.presets))},dependencies:[n.ez,n.sg,l.i,ne.s,De.ot,De.lW],styles:['.jumbotron[_ngcontent-%COMP%]{display:flex;min-height:30vw;padding:64px;margin-bottom:24px;border-radius:8px}.text[_ngcontent-%COMP%]{flex:1}h1[_ngcontent-%COMP%], p[_ngcontent-%COMP%]{color:#fff;text-shadow:4px 4px 6px rgba(0,0,0,.85)}.gui-wrapper[_ngcontent-%COMP%]{width:260px}.gui-heading[_ngcontent-%COMP%]{padding:0 12px;border-radius:4px 4px 0 0;background-color:var(--bg-color);border-bottom:1px solid var(--border-color);text-align:center;line-height:32px;font-size:12px}@media (width <= 600px){.jumbotron[_ngcontent-%COMP%]{flex-direction:column;align-items:center;padding:16px}.text[_ngcontent-%COMP%]{margin-bottom:32px;text-align:center}}button[_ngcontent-%COMP%] + button[_ngcontent-%COMP%]{margin-left:8px}[_nghost-%COMP%] .gui-form{border-top-left-radius:0;border-top-right-radius:0}[_nghost-%COMP%] .gui-form .mat-expansion-panel{position:relative;padding-left:4px}[_nghost-%COMP%] .gui-form .mat-expansion-panel:before{content:"";position:absolute;top:10px;bottom:10px;left:2px;z-index:2;display:block;width:4px;border:2px solid rgba(0,0,0,.4);border-right:none}'],changeDetection:0})}return tt})()},9677:(_t,Me,p)=>{var n=p(6593),l=p(5879),w=p(5592),E=p(4674),Q=p(7715),ne=p(2096),we=p(5619);const J=(0,p(2306).d)(u=>function(){u(this),this.name="EmptyError",this.message="no elements in sequence"});var xe=p(2572),fe=p(5211),ce=p(4911),De=p(8407),Ae=p(8504),Le=p(6232),se=p(7394),ue=p(9360),ze=p(8251);function oe(){return(0,ue.e)((u,a)=>{let s=null;u._refCount++;const d=(0,ze.x)(a,void 0,void 0,void 0,()=>{if(!u||u._refCount<=0||0<--u._refCount)return void(s=null);const m=u._connection,y=s;s=null,m&&(!y||m===y)&&m.unsubscribe(),a.unsubscribe()});u.subscribe(d),d.closed||(s=u.connect())})}class N extends w.y{constructor(a,s){super(),this.source=a,this.subjectFactory=s,this._subject=null,this._refCount=0,this._connection=null,(0,ue.A)(a)&&(this.lift=a.lift)}_subscribe(a){return this.getSubject().subscribe(a)}getSubject(){const a=this._subject;return(!a||a.isStopped)&&(this._subject=this.subjectFactory()),this._subject}_teardown(){this._refCount=0;const{_connection:a}=this;this._subject=this._connection=null,a?.unsubscribe()}connect(){let a=this._connection;if(!a){a=this._connection=new se.w0;const s=this.getSubject();a.add(this.source.subscribe((0,ze.x)(s,void 0,()=>{this._teardown(),s.complete()},d=>{this._teardown(),s.error(d)},()=>this._teardown()))),a.closed&&(this._connection=null,a=se.w0.EMPTY)}return a}refCount(){return oe()(this)}}var Ce=p(8645),K=p(6814),ve=p(7398),ye=p(4664),He=p(8180),ft=p(7921),ct=p(2181),xt=p(1631);function Ut(u){return(0,ue.e)((a,s)=>{let d=!1;a.subscribe((0,ze.x)(s,m=>{d=!0,s.next(m)},()=>{d||s.next(u),s.complete()}))})}function It(u=sn){return(0,ue.e)((a,s)=>{let d=!1;a.subscribe((0,ze.x)(s,m=>{d=!0,s.next(m)},()=>d?s.complete():s.error(u())))})}function sn(){return new J}var Xe=p(2737);function At(u,a){const s=arguments.length>=2;return d=>d.pipe(u?(0,ct.h)((m,y)=>u(m,y,d)):Xe.y,(0,He.q)(1),s?Ut(a):It(()=>new J))}var Y=p(6328),P=p(9397),ae=p(6306);function L(u){return u<=0?()=>Le.E:(0,ue.e)((a,s)=>{let d=[];a.subscribe((0,ze.x)(s,m=>{d.push(m),u{for(const m of d)s.next(m);s.complete()},void 0,()=>{d=null}))})}var re=p(4716),je=p(9773),et=p(7537);const st="primary",nt=Symbol("RouteTitle");class Bt{constructor(a){this.params=a||{}}has(a){return Object.prototype.hasOwnProperty.call(this.params,a)}get(a){if(this.has(a)){const s=this.params[a];return Array.isArray(s)?s[0]:s}return null}getAll(a){if(this.has(a)){const s=this.params[a];return Array.isArray(s)?s:[s]}return[]}get keys(){return Object.keys(this.params)}}function Je(u){return new Bt(u)}function bt(u,a,s){const d=s.path.split("/");if(d.length>u.length||"full"===s.pathMatch&&(a.hasChildren()||d.lengthd[y]===m)}return u===a}function en(u){return u.length>0?u[u.length-1]:null}function tn(u){return function H(u){return!!u&&(u instanceof w.y||(0,E.m)(u.lift)&&(0,E.m)(u.subscribe))}(u)?u:(0,l.QGY)(u)?(0,Q.D)(Promise.resolve(u)):(0,ne.of)(u)}const fn={exact:function $(u,a,s){if(!Kt(u.segments,a.segments)||!ht(u.segments,a.segments,s)||u.numberOfChildren!==a.numberOfChildren)return!1;for(const d in a.children)if(!u.children[d]||!$(u.children[d],a.children[d],s))return!1;return!0},subset:Be},Zt={exact:function it(u,a){return rt(u,a)},subset:function be(u,a){return Object.keys(a).length<=Object.keys(u).length&&Object.keys(a).every(s=>vt(u[s],a[s]))},ignored:()=>!0};function Mn(u,a,s){return fn[s.paths](u.root,a.root,s.matrixParams)&&Zt[s.queryParams](u.queryParams,a.queryParams)&&!("exact"===s.fragment&&u.fragment!==a.fragment)}function Be(u,a,s){return lt(u,a,a.segments,s)}function lt(u,a,s,d){if(u.segments.length>s.length){const m=u.segments.slice(0,s.length);return!(!Kt(m,s)||a.hasChildren()||!ht(m,s,d))}if(u.segments.length===s.length){if(!Kt(u.segments,s)||!ht(u.segments,s,d))return!1;for(const m in a.children)if(!u.children[m]||!Be(u.children[m],a.children[m],d))return!1;return!0}{const m=s.slice(0,u.segments.length),y=s.slice(u.segments.length);return!!(Kt(u.segments,m)&&ht(u.segments,m,d)&&u.children[st])&<(u.children[st],a,y,d)}}function ht(u,a,s){return a.every((d,m)=>Zt[s](u[m].parameters,d.parameters))}class mt{constructor(a=new Mt([],{}),s={},d=null){this.root=a,this.queryParams=s,this.fragment=d}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=Je(this.queryParams)),this._queryParamMap}toString(){return pn.serialize(this)}}class Mt{constructor(a,s){this.segments=a,this.children=s,this.parent=null,Object.values(s).forEach(d=>d.parent=this)}hasChildren(){return this.numberOfChildren>0}get numberOfChildren(){return Object.keys(this.children).length}toString(){return gn(this)}}class ln{constructor(a,s){this.path=a,this.parameters=s}get parameterMap(){return this._parameterMap||(this._parameterMap=Je(this.parameters)),this._parameterMap}toString(){return $e(this)}}function Kt(u,a){return u.length===a.length&&u.every((s,d)=>s.path===a[d].path)}let An=(()=>{class u{static#e=this.\u0275fac=function(d){return new(d||u)};static#t=this.\u0275prov=l.Yz7({token:u,factory:function(){return new bn},providedIn:"root"})}return u})();class bn{parse(a){const s=new de(a);return new mt(s.parseRootSegment(),s.parseQueryParams(),s.parseFragment())}serialize(a){const s=`/${yn(a.root,!0)}`,d=function _e(u){const a=Object.keys(u).map(s=>{const d=u[s];return Array.isArray(d)?d.map(m=>`${ut(s)}=${ut(m)}`).join("&"):`${ut(s)}=${ut(d)}`}).filter(s=>!!s);return a.length?`?${a.join("&")}`:""}(a.queryParams);return`${s}${d}${"string"==typeof a.fragment?`#${function me(u){return encodeURI(u)}(a.fragment)}`:""}`}}const pn=new bn;function gn(u){return u.segments.map(a=>$e(a)).join("/")}function yn(u,a){if(!u.hasChildren())return gn(u);if(a){const s=u.children[st]?yn(u.children[st],!1):"",d=[];return Object.entries(u.children).forEach(([m,y])=>{m!==st&&d.push(`${m}:${yn(y,!1)}`)}),d.length>0?`${s}(${d.join("//")})`:s}{const s=function $t(u,a){let s=[];return Object.entries(u.children).forEach(([d,m])=>{d===st&&(s=s.concat(a(m,d)))}),Object.entries(u.children).forEach(([d,m])=>{d!==st&&(s=s.concat(a(m,d)))}),s}(u,(d,m)=>m===st?[yn(u.children[st],!1)]:[`${m}:${yn(d,!1)}`]);return 1===Object.keys(u.children).length&&null!=u.children[st]?`${gn(u)}/${s[0]}`:`${gn(u)}/(${s.join("//")})`}}function kn(u){return encodeURIComponent(u).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function ut(u){return kn(u).replace(/%3B/gi,";")}function le(u){return kn(u).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function G(u){return decodeURIComponent(u)}function Ie(u){return G(u.replace(/\+/g,"%20"))}function $e(u){return`${le(u.path)}${function St(u){return Object.keys(u).map(a=>`;${le(a)}=${le(u[a])}`).join("")}(u.parameters)}`}const ee=/^[^\/()?;#]+/;function S(u){const a=u.match(ee);return a?a[0]:""}const W=/^[^\/()?;=#]+/,yt=/^[^=?&#]+/,at=/^[^&#]+/;class de{constructor(a){this.url=a,this.remaining=a}parseRootSegment(){return this.consumeOptional("/"),""===this.remaining||this.peekStartsWith("?")||this.peekStartsWith("#")?new Mt([],{}):new Mt([],this.parseChildren())}parseQueryParams(){const a={};if(this.consumeOptional("?"))do{this.parseQueryParam(a)}while(this.consumeOptional("&"));return a}parseFragment(){return this.consumeOptional("#")?decodeURIComponent(this.remaining):null}parseChildren(){if(""===this.remaining)return{};this.consumeOptional("/");const a=[];for(this.peekStartsWith("(")||a.push(this.parseSegment());this.peekStartsWith("/")&&!this.peekStartsWith("//")&&!this.peekStartsWith("/(");)this.capture("/"),a.push(this.parseSegment());let s={};this.peekStartsWith("/(")&&(this.capture("/"),s=this.parseParens(!0));let d={};return this.peekStartsWith("(")&&(d=this.parseParens(!1)),(a.length>0||Object.keys(s).length>0)&&(d[st]=new Mt(a,s)),d}parseSegment(){const a=S(this.remaining);if(""===a&&this.peekStartsWith(";"))throw new l.vHH(4009,!1);return this.capture(a),new ln(G(a),this.parseMatrixParams())}parseMatrixParams(){const a={};for(;this.consumeOptional(";");)this.parseParam(a);return a}parseParam(a){const s=function Ne(u){const a=u.match(W);return a?a[0]:""}(this.remaining);if(!s)return;this.capture(s);let d="";if(this.consumeOptional("=")){const m=S(this.remaining);m&&(d=m,this.capture(d))}a[G(s)]=G(d)}parseQueryParam(a){const s=function Pt(u){const a=u.match(yt);return a?a[0]:""}(this.remaining);if(!s)return;this.capture(s);let d="";if(this.consumeOptional("=")){const R=function wt(u){const a=u.match(at);return a?a[0]:""}(this.remaining);R&&(d=R,this.capture(d))}const m=Ie(s),y=Ie(d);if(a.hasOwnProperty(m)){let R=a[m];Array.isArray(R)||(R=[R],a[m]=R),R.push(y)}else a[m]=y}parseParens(a){const s={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){const d=S(this.remaining),m=this.remaining[d.length];if("/"!==m&&")"!==m&&";"!==m)throw new l.vHH(4010,!1);let y;d.indexOf(":")>-1?(y=d.slice(0,d.indexOf(":")),this.capture(y),this.capture(":")):a&&(y=st);const R=this.parseChildren();s[y]=1===Object.keys(R).length?R[st]:new Mt([],R),this.consumeOptional("//")}return s}peekStartsWith(a){return this.remaining.startsWith(a)}consumeOptional(a){return!!this.peekStartsWith(a)&&(this.remaining=this.remaining.substring(a.length),!0)}capture(a){if(!this.consumeOptional(a))throw new l.vHH(4011,!1)}}function ke(u){return u.segments.length>0?new Mt([],{[st]:u}):u}function Ke(u){const a={};for(const d of Object.keys(u.children)){const y=Ke(u.children[d]);if(d===st&&0===y.segments.length&&y.hasChildren())for(const[R,X]of Object.entries(y.children))a[R]=X;else(y.segments.length>0||y.hasChildren())&&(a[d]=y)}return function Ee(u){if(1===u.numberOfChildren&&u.children[st]){const a=u.children[st];return new Mt(u.segments.concat(a.segments),a.children)}return u}(new Mt(u.segments,a))}function ge(u){return u instanceof mt}function dt(u){let a;const m=ke(function s(y){const R={};for(const pe of y.children){const Ye=s(pe);R[pe.outlet]=Ye}const X=new Mt(y.url,R);return y===u&&(a=X),X}(u.root));return a??m}function Rt(u,a,s,d){let m=u;for(;m.parent;)m=m.parent;if(0===a.length)return nn(m,m,m,s,d);const y=function jn(u){if("string"==typeof u[0]&&1===u.length&&"/"===u[0])return new Ln(!0,0,u);let a=0,s=!1;const d=u.reduce((m,y,R)=>{if("object"==typeof y&&null!=y){if(y.outlets){const X={};return Object.entries(y.outlets).forEach(([pe,Ye])=>{X[pe]="string"==typeof Ye?Ye.split("/"):Ye}),[...m,{outlets:X}]}if(y.segmentPath)return[...m,y.segmentPath]}return"string"!=typeof y?[...m,y]:0===R?(y.split("/").forEach((X,pe)=>{0==pe&&"."===X||(0==pe&&""===X?s=!0:".."===X?a++:""!=X&&m.push(X))}),m):[...m,y]},[]);return new Ln(s,a,d)}(a);if(y.toRoot())return nn(m,m,new Mt([],{}),s,d);const R=function zn(u,a,s){if(u.isAbsolute)return new Xn(a,!0,0);if(!s)return new Xn(a,!1,NaN);if(null===s.parent)return new Xn(s,!0,0);const d=Ht(u.commands[0])?0:1;return function li(u,a,s){let d=u,m=a,y=s;for(;y>m;){if(y-=m,d=d.parent,!d)throw new l.vHH(4005,!1);m=d.segments.length}return new Xn(d,!1,m-y)}(s,s.segments.length-1+d,u.numberOfDoubleDots)}(y,m,u),X=R.processChildren?Sn(R.segmentGroup,R.index,y.commands):Tn(R.segmentGroup,R.index,y.commands);return nn(m,R.segmentGroup,X,s,d)}function Ht(u){return"object"==typeof u&&null!=u&&!u.outlets&&!u.segmentPath}function Nt(u){return"object"==typeof u&&null!=u&&u.outlets}function nn(u,a,s,d,m){let R,y={};d&&Object.entries(d).forEach(([pe,Ye])=>{y[pe]=Array.isArray(Ye)?Ye.map(Tt=>`${Tt}`):`${Ye}`}),R=u===a?s:cn(u,a,s);const X=ke(Ke(R));return new mt(X,y,m)}function cn(u,a,s){const d={};return Object.entries(u.children).forEach(([m,y])=>{d[m]=y===a?s:cn(y,a,s)}),new Mt(u.segments,d)}class Ln{constructor(a,s,d){if(this.isAbsolute=a,this.numberOfDoubleDots=s,this.commands=d,a&&d.length>0&&Ht(d[0]))throw new l.vHH(4003,!1);const m=d.find(Nt);if(m&&m!==en(d))throw new l.vHH(4004,!1)}toRoot(){return this.isAbsolute&&1===this.commands.length&&"/"==this.commands[0]}}class Xn{constructor(a,s,d){this.segmentGroup=a,this.processChildren=s,this.index=d}}function Tn(u,a,s){if(u||(u=new Mt([],{})),0===u.segments.length&&u.hasChildren())return Sn(u,a,s);const d=function Ci(u,a,s){let d=0,m=a;const y={match:!1,pathIndex:0,commandIndex:0};for(;m=s.length)return y;const R=u.segments[m],X=s[d];if(Nt(X))break;const pe=`${X}`,Ye=d0&&void 0===pe)break;if(pe&&Ye&&"object"==typeof Ye&&void 0===Ye.outlets){if(!Qe(pe,Ye,R))return y;d+=2}else{if(!Qe(pe,{},R))return y;d++}m++}return{match:!0,pathIndex:m,commandIndex:d}}(u,a,s),m=s.slice(d.commandIndex);if(d.match&&d.pathIndexy!==st)&&u.children[st]&&1===u.numberOfChildren&&0===u.children[st].segments.length){const y=Sn(u.children[st],a,s);return new Mt(u.segments,y.children)}return Object.entries(d).forEach(([y,R])=>{"string"==typeof R&&(R=[R]),null!==R&&(m[y]=Tn(u.children[y],a,R))}),Object.entries(u.children).forEach(([y,R])=>{void 0===d[y]&&(m[y]=R)}),new Mt(u.segments,m)}}function Ei(u,a,s){const d=u.segments.slice(0,a);let m=0;for(;m{"string"==typeof d&&(d=[d]),null!==d&&(a[s]=Ei(new Mt([],{}),0,d))}),a}function oi(u){const a={};return Object.entries(u).forEach(([s,d])=>a[s]=`${d}`),a}function Qe(u,a,s){return u==s.path&&rt(a,s.parameters)}const Dt="imperative";class qe{constructor(a,s){this.id=a,this.url=s}}class Et extends qe{constructor(a,s,d="imperative",m=null){super(a,s),this.type=0,this.navigationTrigger=d,this.restoredState=m}toString(){return`NavigationStart(id: ${this.id}, url: '${this.url}')`}}class A extends qe{constructor(a,s,d){super(a,s),this.urlAfterRedirects=d,this.type=1}toString(){return`NavigationEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}')`}}class q extends qe{constructor(a,s,d,m){super(a,s),this.reason=d,this.code=m,this.type=2}toString(){return`NavigationCancel(id: ${this.id}, url: '${this.url}')`}}class x extends qe{constructor(a,s,d,m){super(a,s),this.reason=d,this.code=m,this.type=16}}class Z extends qe{constructor(a,s,d,m){super(a,s),this.error=d,this.target=m,this.type=3}toString(){return`NavigationError(id: ${this.id}, url: '${this.url}', error: ${this.error})`}}class he extends qe{constructor(a,s,d,m){super(a,s),this.urlAfterRedirects=d,this.state=m,this.type=4}toString(){return`RoutesRecognized(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class Ze extends qe{constructor(a,s,d,m){super(a,s),this.urlAfterRedirects=d,this.state=m,this.type=7}toString(){return`GuardsCheckStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class gt extends qe{constructor(a,s,d,m,y){super(a,s),this.urlAfterRedirects=d,this.state=m,this.shouldActivate=y,this.type=8}toString(){return`GuardsCheckEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state}, shouldActivate: ${this.shouldActivate})`}}class Jt extends qe{constructor(a,s,d,m){super(a,s),this.urlAfterRedirects=d,this.state=m,this.type=5}toString(){return`ResolveStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class Yt extends qe{constructor(a,s,d,m){super(a,s),this.urlAfterRedirects=d,this.state=m,this.type=6}toString(){return`ResolveEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class Hn{constructor(a){this.route=a,this.type=9}toString(){return`RouteConfigLoadStart(path: ${this.route.path})`}}class ci{constructor(a){this.route=a,this.type=10}toString(){return`RouteConfigLoadEnd(path: ${this.route.path})`}}class Fn{constructor(a){this.snapshot=a,this.type=11}toString(){return`ChildActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class xi{constructor(a){this.snapshot=a,this.type=12}toString(){return`ChildActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class wi{constructor(a){this.snapshot=a,this.type=13}toString(){return`ActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class fi{constructor(a){this.snapshot=a,this.type=14}toString(){return`ActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class zi{constructor(a,s,d){this.routerEvent=a,this.position=s,this.anchor=d,this.type=15}toString(){return`Scroll(anchor: '${this.anchor}', position: '${this.position?`${this.position[0]}, ${this.position[1]}`:null}')`}}class Mi{}class Di{constructor(a){this.url=a}}class Si{constructor(){this.outlet=null,this.route=null,this.injector=null,this.children=new Ti,this.attachRef=null}}let Ti=(()=>{class u{constructor(){this.contexts=new Map}onChildOutletCreated(s,d){const m=this.getOrCreateContext(s);m.outlet=d,this.contexts.set(s,m)}onChildOutletDestroyed(s){const d=this.getContext(s);d&&(d.outlet=null,d.attachRef=null)}onOutletDeactivated(){const s=this.contexts;return this.contexts=new Map,s}onOutletReAttached(s){this.contexts=s}getOrCreateContext(s){let d=this.getContext(s);return d||(d=new Si,this.contexts.set(s,d)),d}getContext(s){return this.contexts.get(s)||null}static#e=this.\u0275fac=function(d){return new(d||u)};static#t=this.\u0275prov=l.Yz7({token:u,factory:u.\u0275fac,providedIn:"root"})}return u})();class En{constructor(a){this._root=a}get root(){return this._root.value}parent(a){const s=this.pathFromRoot(a);return s.length>1?s[s.length-2]:null}children(a){const s=ei(a,this._root);return s?s.children.map(d=>d.value):[]}firstChild(a){const s=ei(a,this._root);return s&&s.children.length>0?s.children[0].value:null}siblings(a){const s=di(a,this._root);return s.length<2?[]:s[s.length-2].children.map(m=>m.value).filter(m=>m!==a)}pathFromRoot(a){return di(a,this._root).map(s=>s.value)}}function ei(u,a){if(u===a.value)return a;for(const s of a.children){const d=ei(u,s);if(d)return d}return null}function di(u,a){if(u===a.value)return[a];for(const s of a.children){const d=di(u,s);if(d.length)return d.unshift(a),d}return[]}class _i{constructor(a,s){this.value=a,this.children=s}toString(){return`TreeNode(${this.value})`}}function ri(u){const a={};return u&&u.children.forEach(s=>a[s.value.outlet]=s),a}class Qi extends En{constructor(a,s){super(a),this.snapshot=s,T(this,a)}toString(){return this.snapshot.toString()}}function yo(u,a){const s=function Gi(u,a){const R=new h([],{},{},"",{},st,a,null,{});return new M("",new _i(R,[]))}(0,a),d=new we.X([new ln("",{})]),m=new we.X({}),y=new we.X({}),R=new we.X({}),X=new we.X(""),pe=new Ji(d,m,R,X,y,st,a,s.root);return pe.snapshot=s.root,new Qi(new _i(pe,[]),s)}class Ji{constructor(a,s,d,m,y,R,X,pe){this.urlSubject=a,this.paramsSubject=s,this.queryParamsSubject=d,this.fragmentSubject=m,this.dataSubject=y,this.outlet=R,this.component=X,this._futureSnapshot=pe,this.title=this.dataSubject?.pipe((0,ve.U)(Ye=>Ye[nt]))??(0,ne.of)(void 0),this.url=a,this.params=s,this.queryParams=d,this.fragment=m,this.data=y}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._paramMap=this.params.pipe((0,ve.U)(a=>Je(a)))),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=this.queryParams.pipe((0,ve.U)(a=>Je(a)))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():`Future(${this._futureSnapshot})`}}function b(u,a="emptyOnly"){const s=u.pathFromRoot;let d=0;if("always"!==a)for(d=s.length-1;d>=1;){const m=s[d],y=s[d-1];if(m.routeConfig&&""===m.routeConfig.path)d--;else{if(y.component)break;d--}}return function z(u){return u.reduce((a,s)=>({params:{...a.params,...s.params},data:{...a.data,...s.data},resolve:{...s.data,...a.resolve,...s.routeConfig?.data,...s._resolvedData}}),{params:{},data:{},resolve:{}})}(s.slice(d))}class h{get title(){return this.data?.[nt]}constructor(a,s,d,m,y,R,X,pe,Ye){this.url=a,this.params=s,this.queryParams=d,this.fragment=m,this.data=y,this.outlet=R,this.component=X,this.routeConfig=pe,this._resolve=Ye}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._paramMap=Je(this.params)),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=Je(this.queryParams)),this._queryParamMap}toString(){return`Route(url:'${this.url.map(d=>d.toString()).join("/")}', path:'${this.routeConfig?this.routeConfig.path:""}')`}}class M extends En{constructor(a,s){super(s),this.url=a,T(this,s)}toString(){return Re(this._root)}}function T(u,a){a.value._routerState=u,a.children.forEach(s=>T(u,s))}function Re(u){const a=u.children.length>0?` { ${u.children.map(Re).join(", ")} } `:"";return`${u.value}${a}`}function Ge(u){if(u.snapshot){const a=u.snapshot,s=u._futureSnapshot;u.snapshot=s,rt(a.queryParams,s.queryParams)||u.queryParamsSubject.next(s.queryParams),a.fragment!==s.fragment&&u.fragmentSubject.next(s.fragment),rt(a.params,s.params)||u.paramsSubject.next(s.params),function Oe(u,a){if(u.length!==a.length)return!1;for(let s=0;srt(s.parameters,a[d].parameters))}(u.url,a.url);return s&&!(!u.parent!=!a.parent)&&(!u.parent||Gt(u.parent,a.parent))}let wn=(()=>{class u{constructor(){this.activated=null,this._activatedRoute=null,this.name=st,this.activateEvents=new l.vpe,this.deactivateEvents=new l.vpe,this.attachEvents=new l.vpe,this.detachEvents=new l.vpe,this.parentContexts=(0,l.f3M)(Ti),this.location=(0,l.f3M)(l.s_b),this.changeDetector=(0,l.f3M)(l.sBO),this.environmentInjector=(0,l.f3M)(l.lqb),this.inputBinder=(0,l.f3M)($n,{optional:!0}),this.supportsBindingToComponentInputs=!0}get activatedComponentRef(){return this.activated}ngOnChanges(s){if(s.name){const{firstChange:d,previousValue:m}=s.name;if(d)return;this.isTrackedInParentContexts(m)&&(this.deactivate(),this.parentContexts.onChildOutletDestroyed(m)),this.initializeOutletWithName()}}ngOnDestroy(){this.isTrackedInParentContexts(this.name)&&this.parentContexts.onChildOutletDestroyed(this.name),this.inputBinder?.unsubscribeFromRouteData(this)}isTrackedInParentContexts(s){return this.parentContexts.getContext(s)?.outlet===this}ngOnInit(){this.initializeOutletWithName()}initializeOutletWithName(){if(this.parentContexts.onChildOutletCreated(this.name,this),this.activated)return;const s=this.parentContexts.getContext(this.name);s?.route&&(s.attachRef?this.attach(s.attachRef,s.route):this.activateWith(s.route,s.injector))}get isActivated(){return!!this.activated}get component(){if(!this.activated)throw new l.vHH(4012,!1);return this.activated.instance}get activatedRoute(){if(!this.activated)throw new l.vHH(4012,!1);return this._activatedRoute}get activatedRouteData(){return this._activatedRoute?this._activatedRoute.snapshot.data:{}}detach(){if(!this.activated)throw new l.vHH(4012,!1);this.location.detach();const s=this.activated;return this.activated=null,this._activatedRoute=null,this.detachEvents.emit(s.instance),s}attach(s,d){this.activated=s,this._activatedRoute=d,this.location.insert(s.hostView),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.attachEvents.emit(s.instance)}deactivate(){if(this.activated){const s=this.component;this.activated.destroy(),this.activated=null,this._activatedRoute=null,this.deactivateEvents.emit(s)}}activateWith(s,d){if(this.isActivated)throw new l.vHH(4013,!1);this._activatedRoute=s;const m=this.location,R=s.snapshot.component,X=this.parentContexts.getOrCreateContext(this.name).children,pe=new rn(s,X,m.injector);this.activated=m.createComponent(R,{index:m.length,injector:pe,environmentInjector:d??this.environmentInjector}),this.changeDetector.markForCheck(),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.activateEvents.emit(this.activated.instance)}static#e=this.\u0275fac=function(d){return new(d||u)};static#t=this.\u0275dir=l.lG2({type:u,selectors:[["router-outlet"]],inputs:{name:"name"},outputs:{activateEvents:"activate",deactivateEvents:"deactivate",attachEvents:"attach",detachEvents:"detach"},exportAs:["outlet"],standalone:!0,features:[l.TTD]})}return u})();class rn{constructor(a,s,d){this.route=a,this.childContexts=s,this.parent=d}get(a,s){return a===Ji?this.route:a===Ti?this.childContexts:this.parent.get(a,s)}}const $n=new l.OlP("");function Un(u,a,s){if(s&&u.shouldReuseRoute(a.value,s.value.snapshot)){const d=s.value;d._futureSnapshot=a.value;const m=function br(u,a,s){return a.children.map(d=>{for(const m of s.children)if(u.shouldReuseRoute(d.value,m.value.snapshot))return Un(u,d,m);return Un(u,d)})}(u,a,s);return new _i(d,m)}{if(u.shouldAttach(a.value)){const y=u.retrieve(a.value);if(null!==y){const R=y.route;return R.value._futureSnapshot=a.value,R.children=a.children.map(X=>Un(u,X)),R}}const d=function xo(u){return new Ji(new we.X(u.url),new we.X(u.params),new we.X(u.queryParams),new we.X(u.fragment),new we.X(u.data),u.outlet,u.component,u)}(a.value),m=a.children.map(y=>Un(u,y));return new _i(d,m)}}const _n="ngNavigationCancelingError";function Bi(u,a){const{redirectTo:s,navigationBehaviorOptions:d}=ge(a)?{redirectTo:a,navigationBehaviorOptions:void 0}:a,m=To(!1,0,a);return m.url=s,m.navigationBehaviorOptions=d,m}function To(u,a,s){const d=new Error("NavigationCancelingError: "+(u||""));return d[_n]=!0,d.cancellationCode=a,s&&(d.url=s),d}function Mo(u){return u&&u[_n]}let Lo=(()=>{class u{static#e=this.\u0275fac=function(d){return new(d||u)};static#t=this.\u0275cmp=l.Xpm({type:u,selectors:[["ng-component"]],standalone:!0,features:[l.jDz],decls:1,vars:0,template:function(d,m){1&d&&l._UZ(0,"router-outlet")},dependencies:[wn],encapsulation:2})}return u})();function Zn(u){const a=u.children&&u.children.map(Zn),s=a?{...u,children:a}:{...u};return!s.component&&!s.loadComponent&&(a||s.loadChildren)&&s.outlet&&s.outlet!==st&&(s.component=Lo),s}function Yn(u){return u.outlet||st}function ui(u){if(!u)return null;if(u.routeConfig?._injector)return u.routeConfig._injector;for(let a=u.parent;a;a=a.parent){const s=a.routeConfig;if(s?._loadedInjector)return s._loadedInjector;if(s?._injector)return s._injector}return null}class Ai{constructor(a,s,d,m,y){this.routeReuseStrategy=a,this.futureState=s,this.currState=d,this.forwardEvent=m,this.inputBindingEnabled=y}activate(a){const s=this.futureState._root,d=this.currState?this.currState._root:null;this.deactivateChildRoutes(s,d,a),Ge(this.futureState.root),this.activateChildRoutes(s,d,a)}deactivateChildRoutes(a,s,d){const m=ri(s);a.children.forEach(y=>{const R=y.value.outlet;this.deactivateRoutes(y,m[R],d),delete m[R]}),Object.values(m).forEach(y=>{this.deactivateRouteAndItsChildren(y,d)})}deactivateRoutes(a,s,d){const m=a.value,y=s?s.value:null;if(m===y)if(m.component){const R=d.getContext(m.outlet);R&&this.deactivateChildRoutes(a,s,R.children)}else this.deactivateChildRoutes(a,s,d);else y&&this.deactivateRouteAndItsChildren(s,d)}deactivateRouteAndItsChildren(a,s){a.value.component&&this.routeReuseStrategy.shouldDetach(a.value.snapshot)?this.detachAndStoreRouteSubtree(a,s):this.deactivateRouteAndOutlet(a,s)}detachAndStoreRouteSubtree(a,s){const d=s.getContext(a.value.outlet),m=d&&a.value.component?d.children:s,y=ri(a);for(const R of Object.keys(y))this.deactivateRouteAndItsChildren(y[R],m);if(d&&d.outlet){const R=d.outlet.detach(),X=d.children.onOutletDeactivated();this.routeReuseStrategy.store(a.value.snapshot,{componentRef:R,route:a,contexts:X})}}deactivateRouteAndOutlet(a,s){const d=s.getContext(a.value.outlet),m=d&&a.value.component?d.children:s,y=ri(a);for(const R of Object.keys(y))this.deactivateRouteAndItsChildren(y[R],m);d&&(d.outlet&&(d.outlet.deactivate(),d.children.onOutletDeactivated()),d.attachRef=null,d.route=null)}activateChildRoutes(a,s,d){const m=ri(s);a.children.forEach(y=>{this.activateRoutes(y,m[y.value.outlet],d),this.forwardEvent(new fi(y.value.snapshot))}),a.children.length&&this.forwardEvent(new xi(a.value.snapshot))}activateRoutes(a,s,d){const m=a.value,y=s?s.value:null;if(Ge(m),m===y)if(m.component){const R=d.getOrCreateContext(m.outlet);this.activateChildRoutes(a,s,R.children)}else this.activateChildRoutes(a,s,d);else if(m.component){const R=d.getOrCreateContext(m.outlet);if(this.routeReuseStrategy.shouldAttach(m.snapshot)){const X=this.routeReuseStrategy.retrieve(m.snapshot);this.routeReuseStrategy.store(m.snapshot,null),R.children.onOutletReAttached(X.contexts),R.attachRef=X.componentRef,R.route=X.route.value,R.outlet&&R.outlet.attach(X.componentRef,X.route.value),Ge(X.route.value),this.activateChildRoutes(a,null,R.children)}else{const X=ui(m.snapshot);R.attachRef=null,R.route=m,R.injector=X,R.outlet&&R.outlet.activateWith(m,R.injector),this.activateChildRoutes(a,null,R.children)}}else this.activateChildRoutes(a,null,d)}}class So{constructor(a){this.path=a,this.route=this.path[this.path.length-1]}}class lo{constructor(a,s){this.component=a,this.route=s}}function nr(u,a,s){const d=u._root;return vr(d,a?a._root:null,s,[d.value])}function Vi(u,a){const s=Symbol(),d=a.get(u,s);return d===s?"function"!=typeof u||(0,l.Z0I)(u)?a.get(u):u:d}function vr(u,a,s,d,m={canDeactivateChecks:[],canActivateChecks:[]}){const y=ri(a);return u.children.forEach(R=>{(function Qs(u,a,s,d,m={canDeactivateChecks:[],canActivateChecks:[]}){const y=u.value,R=a?a.value:null,X=s?s.getContext(u.value.outlet):null;if(R&&y.routeConfig===R.routeConfig){const pe=function yc(u,a,s){if("function"==typeof s)return s(u,a);switch(s){case"pathParamsChange":return!Kt(u.url,a.url);case"pathParamsOrQueryParamsChange":return!Kt(u.url,a.url)||!rt(u.queryParams,a.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!Gt(u,a)||!rt(u.queryParams,a.queryParams);default:return!Gt(u,a)}}(R,y,y.routeConfig.runGuardsAndResolvers);pe?m.canActivateChecks.push(new So(d)):(y.data=R.data,y._resolvedData=R._resolvedData),vr(u,a,y.component?X?X.children:null:s,d,m),pe&&X&&X.outlet&&X.outlet.isActivated&&m.canDeactivateChecks.push(new lo(X.outlet.component,R))}else R&&yr(a,X,m),m.canActivateChecks.push(new So(d)),vr(u,null,y.component?X?X.children:null:s,d,m)})(R,y[R.value.outlet],s,d.concat([R.value]),m),delete y[R.value.outlet]}),Object.entries(y).forEach(([R,X])=>yr(X,s.getContext(R),m)),m}function yr(u,a,s){const d=ri(u),m=u.value;Object.entries(d).forEach(([y,R])=>{yr(R,m.component?a?a.children.getContext(y):null:a,s)}),s.canDeactivateChecks.push(new lo(m.component&&a&&a.outlet&&a.outlet.isActivated?a.outlet.component:null,m))}function ir(u){return"function"==typeof u}function Fr(u){return u instanceof J||"EmptyError"===u?.name}const xr=Symbol("INITIAL_VALUE");function qr(){return(0,ye.w)(u=>(0,xe.a)(u.map(a=>a.pipe((0,He.q)(1),(0,ft.O)(xr)))).pipe((0,ve.U)(a=>{for(const s of a)if(!0!==s){if(s===xr)return xr;if(!1===s||s instanceof mt)return s}return!0}),(0,ct.h)(a=>a!==xr),(0,He.q)(1)))}function Nr(u){return(0,De.z)((0,P.b)(a=>{if(ge(a))throw Bi(0,a)}),(0,ve.U)(a=>!0===a))}class Cr{constructor(a){this.segmentGroup=a||null}}class no{constructor(a){this.urlTree=a}}function Yo(u){return(0,Ae._)(new Cr(u))}function qs(u){return(0,Ae._)(new no(u))}class es{constructor(a,s){this.urlSerializer=a,this.urlTree=s}noMatchError(a){return new l.vHH(4002,!1)}lineralizeSegments(a,s){let d=[],m=s.root;for(;;){if(d=d.concat(m.segments),0===m.numberOfChildren)return(0,ne.of)(d);if(m.numberOfChildren>1||!m.children[st])return(0,Ae._)(new l.vHH(4e3,!1));m=m.children[st]}}applyRedirectCommands(a,s,d){return this.applyRedirectCreateUrlTree(s,this.urlSerializer.parse(s),a,d)}applyRedirectCreateUrlTree(a,s,d,m){const y=this.createSegmentGroup(a,s.root,d,m);return new mt(y,this.createQueryParams(s.queryParams,this.urlTree.queryParams),s.fragment)}createQueryParams(a,s){const d={};return Object.entries(a).forEach(([m,y])=>{if("string"==typeof y&&y.startsWith(":")){const X=y.substring(1);d[m]=s[X]}else d[m]=y}),d}createSegmentGroup(a,s,d,m){const y=this.createSegments(a,s.segments,d,m);let R={};return Object.entries(s.children).forEach(([X,pe])=>{R[X]=this.createSegmentGroup(a,pe,d,m)}),new Mt(y,R)}createSegments(a,s,d,m){return s.map(y=>y.path.startsWith(":")?this.findPosParam(a,y,m):this.findOrReturn(y,d))}findPosParam(a,s,d){const m=d[s.path.substring(1)];if(!m)throw new l.vHH(4001,!1);return m}findOrReturn(a,s){let d=0;for(const m of s){if(m.path===a.path)return s.splice(d),m;d++}return a}}const vs={matched:!1,consumedSegments:[],remainingSegments:[],parameters:{},positionalParamSegments:{}};function ta(u,a,s,d,m){const y=ts(u,a,s);return y.matched?(d=function ao(u,a){return u.providers&&!u._injector&&(u._injector=(0,l.MMx)(u.providers,a,`Route: ${u.path}`)),u._injector??a}(a,d),function Zi(u,a,s,d){const m=a.canMatch;if(!m||0===m.length)return(0,ne.of)(!0);const y=m.map(R=>{const X=Vi(R,u);return tn(function mn(u){return u&&ir(u.canMatch)}(X)?X.canMatch(a,s):u.runInContext(()=>X(a,s)))});return(0,ne.of)(y).pipe(qr(),Nr())}(d,a,s).pipe((0,ve.U)(R=>!0===R?y:{...vs}))):(0,ne.of)(y)}function ts(u,a,s){if(""===a.path)return"full"===a.pathMatch&&(u.hasChildren()||s.length>0)?{...vs}:{matched:!0,consumedSegments:[],remainingSegments:s,parameters:{},positionalParamSegments:{}};const m=(a.matcher||bt)(s,u,a);if(!m)return{...vs};const y={};Object.entries(m.posParams??{}).forEach(([X,pe])=>{y[X]=pe.path});const R=m.consumed.length>0?{...y,...m.consumed[m.consumed.length-1].parameters}:y;return{matched:!0,consumedSegments:m.consumed,remainingSegments:s.slice(m.consumed.length),parameters:R,positionalParamSegments:m.posParams??{}}}function na(u,a,s,d){return s.length>0&&function ys(u,a,s){return s.some(d=>Ho(u,a,d)&&Yn(d)!==st)}(u,s,d)?{segmentGroup:new Mt(a,sl(d,new Mt(s,u.children))),slicedSegments:[]}:0===s.length&&function ns(u,a,s){return s.some(d=>Ho(u,a,d))}(u,s,d)?{segmentGroup:new Mt(u.segments,rl(u,0,s,d,u.children)),slicedSegments:s}:{segmentGroup:new Mt(u.segments,u.children),slicedSegments:s}}function rl(u,a,s,d,m){const y={};for(const R of d)if(Ho(u,s,R)&&!m[Yn(R)]){const X=new Mt([],{});y[Yn(R)]=X}return{...m,...y}}function sl(u,a){const s={};s[st]=a;for(const d of u)if(""===d.path&&Yn(d)!==st){const m=new Mt([],{});s[Yn(d)]=m}return s}function Ho(u,a,s){return(!(u.hasChildren()||a.length>0)||"full"!==s.pathMatch)&&""===s.path}class vu{constructor(a,s,d,m,y,R,X){this.injector=a,this.configLoader=s,this.rootComponentType=d,this.config=m,this.urlTree=y,this.paramsInheritanceStrategy=R,this.urlSerializer=X,this.allowRedirects=!0,this.applyRedirects=new es(this.urlSerializer,this.urlTree)}noMatchError(a){return new l.vHH(4002,!1)}recognize(){const a=na(this.urlTree.root,[],[],this.config).segmentGroup;return this.processSegmentGroup(this.injector,this.config,a,st).pipe((0,ae.K)(s=>{if(s instanceof no)return this.allowRedirects=!1,this.urlTree=s.urlTree,this.match(s.urlTree);throw s instanceof Cr?this.noMatchError(s):s}),(0,ve.U)(s=>{const d=new h([],Object.freeze({}),Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,{},st,this.rootComponentType,null,{}),m=new _i(d,s),y=new M("",m),R=function Ve(u,a,s=null,d=null){return Rt(dt(u),a,s,d)}(d,[],this.urlTree.queryParams,this.urlTree.fragment);return R.queryParams=this.urlTree.queryParams,y.url=this.urlSerializer.serialize(R),this.inheritParamsAndData(y._root),{state:y,tree:R}}))}match(a){return this.processSegmentGroup(this.injector,this.config,a.root,st).pipe((0,ae.K)(d=>{throw d instanceof Cr?this.noMatchError(d):d}))}inheritParamsAndData(a){const s=a.value,d=b(s,this.paramsInheritanceStrategy);s.params=Object.freeze(d.params),s.data=Object.freeze(d.data),a.children.forEach(m=>this.inheritParamsAndData(m))}processSegmentGroup(a,s,d,m){return 0===d.segments.length&&d.hasChildren()?this.processChildren(a,s,d):this.processSegment(a,s,d,d.segments,m,!0)}processChildren(a,s,d){const m=[];for(const y of Object.keys(d.children))"primary"===y?m.unshift(y):m.push(y);return(0,Q.D)(m).pipe((0,Y.b)(y=>{const R=d.children[y],X=function bi(u,a){const s=u.filter(d=>Yn(d)===a);return s.push(...u.filter(d=>Yn(d)!==a)),s}(s,y);return this.processSegmentGroup(a,X,R,y)}),function Se(u,a){return(0,ue.e)(function B(u,a,s,d,m){return(y,R)=>{let X=s,pe=a,Ye=0;y.subscribe((0,ze.x)(R,Tt=>{const zt=Ye++;pe=X?u(pe,Tt,zt):(X=!0,Tt),d&&R.next(pe)},m&&(()=>{X&&R.next(pe),R.complete()})))}}(u,a,arguments.length>=2,!0))}((y,R)=>(y.push(...R),y)),Ut(null),function V(u,a){const s=arguments.length>=2;return d=>d.pipe(u?(0,ct.h)((m,y)=>u(m,y,d)):Xe.y,L(1),s?Ut(a):It(()=>new J))}(),(0,xt.z)(y=>{if(null===y)return Yo(d);const R=Dc(y);return function Ec(u){u.sort((a,s)=>a.value.outlet===st?-1:s.value.outlet===st?1:a.value.outlet.localeCompare(s.value.outlet))}(R),(0,ne.of)(R)}))}processSegment(a,s,d,m,y,R){return(0,Q.D)(s).pipe((0,Y.b)(X=>this.processSegmentAgainstRoute(X._injector??a,s,X,d,m,y,R).pipe((0,ae.K)(pe=>{if(pe instanceof Cr)return(0,ne.of)(null);throw pe}))),At(X=>!!X),(0,ae.K)(X=>{if(Fr(X))return function xc(u,a,s){return 0===a.length&&!u.children[s]}(d,m,y)?(0,ne.of)([]):Yo(d);throw X}))}processSegmentAgainstRoute(a,s,d,m,y,R,X){return function al(u,a,s,d){return!!(Yn(u)===d||d!==st&&Ho(a,s,u))&&("**"===u.path||ts(a,u,s).matched)}(d,m,y,R)?void 0===d.redirectTo?this.matchSegmentAgainstRoute(a,m,d,y,R,X):X&&this.allowRedirects?this.expandSegmentAgainstRouteUsingRedirect(a,m,s,d,y,R):Yo(m):Yo(m)}expandSegmentAgainstRouteUsingRedirect(a,s,d,m,y,R){return"**"===m.path?this.expandWildCardWithParamsAgainstRouteUsingRedirect(a,d,m,R):this.expandRegularSegmentAgainstRouteUsingRedirect(a,s,d,m,y,R)}expandWildCardWithParamsAgainstRouteUsingRedirect(a,s,d,m){const y=this.applyRedirects.applyRedirectCommands([],d.redirectTo,{});return d.redirectTo.startsWith("/")?qs(y):this.applyRedirects.lineralizeSegments(d,y).pipe((0,xt.z)(R=>{const X=new Mt(R,{});return this.processSegment(a,s,X,R,m,!1)}))}expandRegularSegmentAgainstRouteUsingRedirect(a,s,d,m,y,R){const{matched:X,consumedSegments:pe,remainingSegments:Ye,positionalParamSegments:Tt}=ts(s,m,y);if(!X)return Yo(s);const zt=this.applyRedirects.applyRedirectCommands(pe,m.redirectTo,Tt);return m.redirectTo.startsWith("/")?qs(zt):this.applyRedirects.lineralizeSegments(m,zt).pipe((0,xt.z)(on=>this.processSegment(a,d,s,on.concat(Ye),R,!1)))}matchSegmentAgainstRoute(a,s,d,m,y,R){let X;if("**"===d.path){const pe=m.length>0?en(m).parameters:{},Ye=new h(m,pe,Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,xs(d),Yn(d),d.component??d._loadedComponent??null,d,ll(d));X=(0,ne.of)({snapshot:Ye,consumedSegments:[],remainingSegments:[]}),s.children={}}else X=ta(s,d,m,a).pipe((0,ve.U)(({matched:pe,consumedSegments:Ye,remainingSegments:Tt,parameters:zt})=>pe?{snapshot:new h(Ye,zt,Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,xs(d),Yn(d),d.component??d._loadedComponent??null,d,ll(d)),consumedSegments:Ye,remainingSegments:Tt}:null));return X.pipe((0,ye.w)(pe=>null===pe?Yo(s):this.getChildConfig(a=d._injector??a,d,m).pipe((0,ye.w)(({routes:Ye})=>{const Tt=d._loadedInjector??a,{snapshot:zt,consumedSegments:on,remainingSegments:xn}=pe,{segmentGroup:dn,slicedSegments:Cn}=na(s,on,xn,Ye);if(0===Cn.length&&dn.hasChildren())return this.processChildren(Tt,Ye,dn).pipe((0,ve.U)(pi=>null===pi?null:[new _i(zt,pi)]));if(0===Ye.length&&0===Cn.length)return(0,ne.of)([new _i(zt,[])]);const si=Yn(d)===y;return this.processSegment(Tt,Ye,dn,Cn,si?st:y,!0).pipe((0,ve.U)(pi=>[new _i(zt,pi)]))}))))}getChildConfig(a,s,d){return s.children?(0,ne.of)({routes:s.children,injector:a}):s.loadChildren?void 0!==s._loadedRoutes?(0,ne.of)({routes:s._loadedRoutes,injector:s._loadedInjector}):function Xs(u,a,s,d){const m=a.canLoad;if(void 0===m||0===m.length)return(0,ne.of)(!0);const y=m.map(R=>{const X=Vi(R,u);return tn(function k(u){return u&&ir(u.canLoad)}(X)?X.canLoad(a,s):u.runInContext(()=>X(a,s)))});return(0,ne.of)(y).pipe(qr(),Nr())}(a,s,d).pipe((0,xt.z)(m=>m?this.configLoader.loadChildren(a,s).pipe((0,P.b)(y=>{s._loadedRoutes=y.routes,s._loadedInjector=y.injector})):function ea(u){return(0,Ae._)(To(!1,3))}())):(0,ne.of)({routes:[],injector:a})}}function wc(u){const a=u.value.routeConfig;return a&&""===a.path}function Dc(u){const a=[],s=new Set;for(const d of u){if(!wc(d)){a.push(d);continue}const m=a.find(y=>d.value.routeConfig===y.value.routeConfig);void 0!==m?(m.children.push(...d.children),s.add(m)):a.push(d)}for(const d of s){const m=Dc(d.children);a.push(new _i(d.value,m))}return a.filter(d=>!s.has(d))}function xs(u){return u.data||{}}function ll(u){return u.resolve||{}}function U(u){return"string"==typeof u.title||null===u.title}function D(u){return(0,ye.w)(a=>{const s=u(a);return s?(0,Q.D)(s).pipe((0,ve.U)(()=>a)):(0,ne.of)(a)})}const F=new l.OlP("ROUTES");let Fe=(()=>{class u{constructor(){this.componentLoaders=new WeakMap,this.childrenLoaders=new WeakMap,this.compiler=(0,l.f3M)(l.Sil)}loadComponent(s){if(this.componentLoaders.get(s))return this.componentLoaders.get(s);if(s._loadedComponent)return(0,ne.of)(s._loadedComponent);this.onLoadStartListener&&this.onLoadStartListener(s);const d=tn(s.loadComponent()).pipe((0,ve.U)(an),(0,P.b)(y=>{this.onLoadEndListener&&this.onLoadEndListener(s),s._loadedComponent=y}),(0,re.x)(()=>{this.componentLoaders.delete(s)})),m=new N(d,()=>new Ce.x).pipe(oe());return this.componentLoaders.set(s,m),m}loadChildren(s,d){if(this.childrenLoaders.get(d))return this.childrenLoaders.get(d);if(d._loadedRoutes)return(0,ne.of)({routes:d._loadedRoutes,injector:d._loadedInjector});this.onLoadStartListener&&this.onLoadStartListener(d);const y=function pt(u,a,s,d){return tn(u.loadChildren()).pipe((0,ve.U)(an),(0,xt.z)(m=>m instanceof l.YKP||Array.isArray(m)?(0,ne.of)(m):(0,Q.D)(a.compileModuleAsync(m))),(0,ve.U)(m=>{d&&d(u);let y,R,X=!1;return Array.isArray(m)?(R=m,!0):(y=m.create(s).injector,R=y.get(F,[],{optional:!0,self:!0}).flat()),{routes:R.map(Zn),injector:y}}))}(d,this.compiler,s,this.onLoadEndListener).pipe((0,re.x)(()=>{this.childrenLoaders.delete(d)})),R=new N(y,()=>new Ce.x).pipe(oe());return this.childrenLoaders.set(d,R),R}static#e=this.\u0275fac=function(d){return new(d||u)};static#t=this.\u0275prov=l.Yz7({token:u,factory:u.\u0275fac,providedIn:"root"})}return u})();function an(u){return function Ot(u){return u&&"object"==typeof u&&"default"in u}(u)?u.default:u}let ni=(()=>{class u{get hasRequestedNavigation(){return 0!==this.navigationId}constructor(){this.currentNavigation=null,this.currentTransition=null,this.lastSuccessfulNavigation=null,this.events=new Ce.x,this.transitionAbortSubject=new Ce.x,this.configLoader=(0,l.f3M)(Fe),this.environmentInjector=(0,l.f3M)(l.lqb),this.urlSerializer=(0,l.f3M)(An),this.rootContexts=(0,l.f3M)(Ti),this.inputBindingEnabled=null!==(0,l.f3M)($n,{optional:!0}),this.navigationId=0,this.afterPreactivation=()=>(0,ne.of)(void 0),this.rootComponentType=null,this.configLoader.onLoadEndListener=m=>this.events.next(new ci(m)),this.configLoader.onLoadStartListener=m=>this.events.next(new Hn(m))}complete(){this.transitions?.complete()}handleNavigationRequest(s){const d=++this.navigationId;this.transitions?.next({...this.transitions.value,...s,id:d})}setupNavigations(s,d,m){return this.transitions=new we.X({id:0,currentUrlTree:d,currentRawUrl:d,currentBrowserUrl:d,extractedUrl:s.urlHandlingStrategy.extract(d),urlAfterRedirects:s.urlHandlingStrategy.extract(d),rawUrl:d,extras:{},resolve:null,reject:null,promise:Promise.resolve(!0),source:Dt,restoredState:null,currentSnapshot:m.snapshot,targetSnapshot:null,currentRouterState:m,targetRouterState:null,guards:{canActivateChecks:[],canDeactivateChecks:[]},guardsResult:null}),this.transitions.pipe((0,ct.h)(y=>0!==y.id),(0,ve.U)(y=>({...y,extractedUrl:s.urlHandlingStrategy.extract(y.rawUrl)})),(0,ye.w)(y=>{this.currentTransition=y;let R=!1,X=!1;return(0,ne.of)(y).pipe((0,P.b)(pe=>{this.currentNavigation={id:pe.id,initialUrl:pe.rawUrl,extractedUrl:pe.extractedUrl,trigger:pe.source,extras:pe.extras,previousNavigation:this.lastSuccessfulNavigation?{...this.lastSuccessfulNavigation,previousNavigation:null}:null}}),(0,ye.w)(pe=>{const Ye=pe.currentBrowserUrl.toString(),Tt=!s.navigated||pe.extractedUrl.toString()!==Ye||Ye!==pe.currentUrlTree.toString();if(!Tt&&"reload"!==(pe.extras.onSameUrlNavigation??s.onSameUrlNavigation)){const on="";return this.events.next(new x(pe.id,this.urlSerializer.serialize(pe.rawUrl),on,0)),pe.resolve(null),Le.E}if(s.urlHandlingStrategy.shouldProcessUrl(pe.rawUrl))return(0,ne.of)(pe).pipe((0,ye.w)(on=>{const xn=this.transitions?.getValue();return this.events.next(new Et(on.id,this.urlSerializer.serialize(on.extractedUrl),on.source,on.restoredState)),xn!==this.transitions?.getValue()?Le.E:Promise.resolve(on)}),function ia(u,a,s,d,m,y){return(0,xt.z)(R=>function Cc(u,a,s,d,m,y,R="emptyOnly"){return new vu(u,a,s,d,m,R,y).recognize()}(u,a,s,d,R.extractedUrl,m,y).pipe((0,ve.U)(({state:X,tree:pe})=>({...R,targetSnapshot:X,urlAfterRedirects:pe}))))}(this.environmentInjector,this.configLoader,this.rootComponentType,s.config,this.urlSerializer,s.paramsInheritanceStrategy),(0,P.b)(on=>{y.targetSnapshot=on.targetSnapshot,y.urlAfterRedirects=on.urlAfterRedirects,this.currentNavigation={...this.currentNavigation,finalUrl:on.urlAfterRedirects};const xn=new he(on.id,this.urlSerializer.serialize(on.extractedUrl),this.urlSerializer.serialize(on.urlAfterRedirects),on.targetSnapshot);this.events.next(xn)}));if(Tt&&s.urlHandlingStrategy.shouldProcessUrl(pe.currentRawUrl)){const{id:on,extractedUrl:xn,source:dn,restoredState:Cn,extras:si}=pe,pi=new Et(on,this.urlSerializer.serialize(xn),dn,Cn);this.events.next(pi);const Ni=yo(0,this.rootComponentType).snapshot;return this.currentTransition=y={...pe,targetSnapshot:Ni,urlAfterRedirects:xn,extras:{...si,skipLocationChange:!1,replaceUrl:!1}},(0,ne.of)(y)}{const on="";return this.events.next(new x(pe.id,this.urlSerializer.serialize(pe.extractedUrl),on,1)),pe.resolve(null),Le.E}}),(0,P.b)(pe=>{const Ye=new Ze(pe.id,this.urlSerializer.serialize(pe.extractedUrl),this.urlSerializer.serialize(pe.urlAfterRedirects),pe.targetSnapshot);this.events.next(Ye)}),(0,ve.U)(pe=>(this.currentTransition=y={...pe,guards:nr(pe.targetSnapshot,pe.currentSnapshot,this.rootContexts)},y)),function gu(u,a){return(0,xt.z)(s=>{const{targetSnapshot:d,currentSnapshot:m,guards:{canActivateChecks:y,canDeactivateChecks:R}}=s;return 0===R.length&&0===y.length?(0,ne.of)({...s,guardsResult:!0}):function Js(u,a,s,d){return(0,Q.D)(u).pipe((0,xt.z)(m=>function Zo(u,a,s,d,m){const y=a&&a.routeConfig?a.routeConfig.canDeactivate:null;if(!y||0===y.length)return(0,ne.of)(!0);const R=y.map(X=>{const pe=ui(a)??m,Ye=Vi(X,pe);return tn(function Ue(u){return u&&ir(u.canDeactivate)}(Ye)?Ye.canDeactivate(u,a,s,d):pe.runInContext(()=>Ye(u,a,s,d))).pipe(At())});return(0,ne.of)(R).pipe(qr())}(m.component,m.route,s,a,d)),At(m=>!0!==m,!0))}(R,d,m,u).pipe((0,xt.z)(X=>X&&function O(u){return"boolean"==typeof u}(X)?function nl(u,a,s,d){return(0,Q.D)(a).pipe((0,Y.b)(m=>(0,fe.z)(function bu(u,a){return null!==u&&a&&a(new Fn(u)),(0,ne.of)(!0)}(m.route.parent,d),function _u(u,a){return null!==u&&a&&a(new wi(u)),(0,ne.of)(!0)}(m.route,d),function or(u,a,s){const d=a[a.length-1],y=a.slice(0,a.length-1).reverse().map(R=>function ki(u){const a=u.routeConfig?u.routeConfig.canActivateChild:null;return a&&0!==a.length?{node:u,guards:a}:null}(R)).filter(R=>null!==R).map(R=>(0,ce.P)(()=>{const X=R.guards.map(pe=>{const Ye=ui(R.node)??s,Tt=Vi(pe,Ye);return tn(function te(u){return u&&ir(u.canActivateChild)}(Tt)?Tt.canActivateChild(d,u):Ye.runInContext(()=>Tt(d,u))).pipe(At())});return(0,ne.of)(X).pipe(qr())}));return(0,ne.of)(y).pipe(qr())}(u,m.path,s),function il(u,a,s){const d=a.routeConfig?a.routeConfig.canActivate:null;if(!d||0===d.length)return(0,ne.of)(!0);const m=d.map(y=>(0,ce.P)(()=>{const R=ui(a)??s,X=Vi(y,R);return tn(function C(u){return u&&ir(u.canActivate)}(X)?X.canActivate(a,u):R.runInContext(()=>X(a,u))).pipe(At())}));return(0,ne.of)(m).pipe(qr())}(u,m.route,s))),At(m=>!0!==m,!0))}(d,y,u,a):(0,ne.of)(X)),(0,ve.U)(X=>({...s,guardsResult:X})))})}(this.environmentInjector,pe=>this.events.next(pe)),(0,P.b)(pe=>{if(y.guardsResult=pe.guardsResult,ge(pe.guardsResult))throw Bi(0,pe.guardsResult);const Ye=new gt(pe.id,this.urlSerializer.serialize(pe.extractedUrl),this.urlSerializer.serialize(pe.urlAfterRedirects),pe.targetSnapshot,!!pe.guardsResult);this.events.next(Ye)}),(0,ct.h)(pe=>!!pe.guardsResult||(this.cancelNavigationTransition(pe,"",3),!1)),D(pe=>{if(pe.guards.canActivateChecks.length)return(0,ne.of)(pe).pipe((0,P.b)(Ye=>{const Tt=new Jt(Ye.id,this.urlSerializer.serialize(Ye.extractedUrl),this.urlSerializer.serialize(Ye.urlAfterRedirects),Ye.targetSnapshot);this.events.next(Tt)}),(0,ye.w)(Ye=>{let Tt=!1;return(0,ne.of)(Ye).pipe(function yu(u,a){return(0,xt.z)(s=>{const{targetSnapshot:d,guards:{canActivateChecks:m}}=s;if(!m.length)return(0,ne.of)(s);let y=0;return(0,Q.D)(m).pipe((0,Y.b)(R=>function xu(u,a,s,d){const m=u.routeConfig,y=u._resolve;return void 0!==m?.title&&!U(m)&&(y[nt]=m.title),function is(u,a,s,d){const m=function cl(u){return[...Object.keys(u),...Object.getOwnPropertySymbols(u)]}(u);if(0===m.length)return(0,ne.of)({});const y={};return(0,Q.D)(m).pipe((0,xt.z)(R=>function _(u,a,s,d){const m=ui(a)??d,y=Vi(u,m);return tn(y.resolve?y.resolve(a,s):m.runInContext(()=>y(a,s)))}(u[R],a,s,d).pipe(At(),(0,P.b)(X=>{y[R]=X}))),L(1),function Pe(u){return(0,ve.U)(()=>u)}(y),(0,ae.K)(R=>Fr(R)?Le.E:(0,Ae._)(R)))}(y,u,a,d).pipe((0,ve.U)(R=>(u._resolvedData=R,u.data=b(u,s).resolve,m&&U(m)&&(u.data[nt]=m.title),null)))}(R.route,d,u,a)),(0,P.b)(()=>y++),L(1),(0,xt.z)(R=>y===m.length?(0,ne.of)(s):Le.E))})}(s.paramsInheritanceStrategy,this.environmentInjector),(0,P.b)({next:()=>Tt=!0,complete:()=>{Tt||this.cancelNavigationTransition(Ye,"",2)}}))}),(0,P.b)(Ye=>{const Tt=new Yt(Ye.id,this.urlSerializer.serialize(Ye.extractedUrl),this.urlSerializer.serialize(Ye.urlAfterRedirects),Ye.targetSnapshot);this.events.next(Tt)}))}),D(pe=>{const Ye=Tt=>{const zt=[];Tt.routeConfig?.loadComponent&&!Tt.routeConfig._loadedComponent&&zt.push(this.configLoader.loadComponent(Tt.routeConfig).pipe((0,P.b)(on=>{Tt.component=on}),(0,ve.U)(()=>{})));for(const on of Tt.children)zt.push(...Ye(on));return zt};return(0,xe.a)(Ye(pe.targetSnapshot.root)).pipe(Ut(),(0,He.q)(1))}),D(()=>this.afterPreactivation()),(0,ve.U)(pe=>{const Ye=function Vt(u,a,s){const d=Un(u,a._root,s?s._root:void 0);return new Qi(d,a)}(s.routeReuseStrategy,pe.targetSnapshot,pe.currentRouterState);return this.currentTransition=y={...pe,targetRouterState:Ye},y}),(0,P.b)(()=>{this.events.next(new Mi)}),((u,a,s,d)=>(0,ve.U)(m=>(new Ai(a,m.targetRouterState,m.currentRouterState,s,d).activate(u),m)))(this.rootContexts,s.routeReuseStrategy,pe=>this.events.next(pe),this.inputBindingEnabled),(0,He.q)(1),(0,P.b)({next:pe=>{R=!0,this.lastSuccessfulNavigation=this.currentNavigation,this.events.next(new A(pe.id,this.urlSerializer.serialize(pe.extractedUrl),this.urlSerializer.serialize(pe.urlAfterRedirects))),s.titleStrategy?.updateTitle(pe.targetRouterState.snapshot),pe.resolve(!0)},complete:()=>{R=!0}}),(0,je.R)(this.transitionAbortSubject.pipe((0,P.b)(pe=>{throw pe}))),(0,re.x)(()=>{R||X||this.cancelNavigationTransition(y,"",1),this.currentNavigation?.id===y.id&&(this.currentNavigation=null)}),(0,ae.K)(pe=>{if(X=!0,Mo(pe))this.events.next(new q(y.id,this.urlSerializer.serialize(y.extractedUrl),pe.message,pe.cancellationCode)),function $i(u){return Mo(u)&&ge(u.url)}(pe)?this.events.next(new Di(pe.url)):y.resolve(!1);else{this.events.next(new Z(y.id,this.urlSerializer.serialize(y.extractedUrl),pe,y.targetSnapshot??void 0));try{y.resolve(s.errorHandler(pe))}catch(Ye){y.reject(Ye)}}return Le.E}))}))}cancelNavigationTransition(s,d,m){const y=new q(s.id,this.urlSerializer.serialize(s.extractedUrl),d,m);this.events.next(y),s.resolve(!1)}static#e=this.\u0275fac=function(d){return new(d||u)};static#t=this.\u0275prov=l.Yz7({token:u,factory:u.\u0275fac,providedIn:"root"})}return u})();function ii(u){return u!==Dt}let Gn=(()=>{class u{buildTitle(s){let d,m=s.root;for(;void 0!==m;)d=this.getResolvedTitleForRoute(m)??d,m=m.children.find(y=>y.outlet===st);return d}getResolvedTitleForRoute(s){return s.data[nt]}static#e=this.\u0275fac=function(d){return new(d||u)};static#t=this.\u0275prov=l.Yz7({token:u,factory:function(){return(0,l.f3M)(Pn)},providedIn:"root"})}return u})(),Pn=(()=>{class u extends Gn{constructor(s){super(),this.title=s}updateTitle(s){const d=this.buildTitle(s);void 0!==d&&this.title.setTitle(d)}static#e=this.\u0275fac=function(d){return new(d||u)(l.LFG(n.Dx))};static#t=this.\u0275prov=l.Yz7({token:u,factory:u.\u0275fac,providedIn:"root"})}return u})(),Oi=(()=>{class u{static#e=this.\u0275fac=function(d){return new(d||u)};static#t=this.\u0275prov=l.Yz7({token:u,factory:function(){return(0,l.f3M)(Fi)},providedIn:"root"})}return u})();class hi{shouldDetach(a){return!1}store(a,s){}shouldAttach(a){return!1}retrieve(a){return null}shouldReuseRoute(a,s){return a.routeConfig===s.routeConfig}}let Fi=(()=>{class u extends hi{static#e=this.\u0275fac=function(){let s;return function(m){return(s||(s=l.n5z(u)))(m||u)}}();static#t=this.\u0275prov=l.Yz7({token:u,factory:u.\u0275fac,providedIn:"root"})}return u})();const Co=new l.OlP("",{providedIn:"root",factory:()=>({})});let Uo=(()=>{class u{static#e=this.\u0275fac=function(d){return new(d||u)};static#t=this.\u0275prov=l.Yz7({token:u,factory:function(){return(0,l.f3M)(Wo)},providedIn:"root"})}return u})(),Wo=(()=>{class u{shouldProcessUrl(s){return!0}extract(s){return s}merge(s,d){return s}static#e=this.\u0275fac=function(d){return new(d||u)};static#t=this.\u0275prov=l.Yz7({token:u,factory:u.\u0275fac,providedIn:"root"})}return u})();var Xi=function(u){return u[u.COMPLETE=0]="COMPLETE",u[u.FAILED=1]="FAILED",u[u.REDIRECTING=2]="REDIRECTING",u}(Xi||{});function Ko(u){throw u}function rr(u,a,s){return a.parse("/")}const vi={paths:"exact",fragment:"ignored",matrixParams:"ignored",queryParams:"exact"},dl={paths:"subset",fragment:"ignored",matrixParams:"ignored",queryParams:"subset"};let po=(()=>{class u{get navigationId(){return this.navigationTransitions.navigationId}get browserPageId(){return"computed"!==this.canceledNavigationResolution?this.currentPageId:this.location.getState()?.\u0275routerPageId??this.currentPageId}get events(){return this._events}constructor(){this.disposed=!1,this.currentPageId=0,this.console=(0,l.f3M)(l.c2e),this.isNgZoneEnabled=!1,this._events=new Ce.x,this.options=(0,l.f3M)(Co,{optional:!0})||{},this.pendingTasks=(0,l.f3M)(l.HDt),this.errorHandler=this.options.errorHandler||Ko,this.malformedUriErrorHandler=this.options.malformedUriErrorHandler||rr,this.navigated=!1,this.lastSuccessfulId=-1,this.urlHandlingStrategy=(0,l.f3M)(Uo),this.routeReuseStrategy=(0,l.f3M)(Oi),this.titleStrategy=(0,l.f3M)(Gn),this.onSameUrlNavigation=this.options.onSameUrlNavigation||"ignore",this.paramsInheritanceStrategy=this.options.paramsInheritanceStrategy||"emptyOnly",this.urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred",this.canceledNavigationResolution=this.options.canceledNavigationResolution||"replace",this.config=(0,l.f3M)(F,{optional:!0})?.flat()??[],this.navigationTransitions=(0,l.f3M)(ni),this.urlSerializer=(0,l.f3M)(An),this.location=(0,l.f3M)(K.Ye),this.componentInputBindingEnabled=!!(0,l.f3M)($n,{optional:!0}),this.eventsSubscription=new se.w0,this.isNgZoneEnabled=(0,l.f3M)(l.R0b)instanceof l.R0b&&l.R0b.isInAngularZone(),this.resetConfig(this.config),this.currentUrlTree=new mt,this.rawUrlTree=this.currentUrlTree,this.browserUrlTree=this.currentUrlTree,this.routerState=yo(0,null),this.navigationTransitions.setupNavigations(this,this.currentUrlTree,this.routerState).subscribe(s=>{this.lastSuccessfulId=s.id,this.currentPageId=this.browserPageId},s=>{this.console.warn(`Unhandled Navigation Error: ${s}`)}),this.subscribeToNavigationEvents()}subscribeToNavigationEvents(){const s=this.navigationTransitions.events.subscribe(d=>{try{const{currentTransition:m}=this.navigationTransitions;if(null===m)return void(Mc(d)&&this._events.next(d));if(d instanceof Et)ii(m.source)&&(this.browserUrlTree=m.extractedUrl);else if(d instanceof x)this.rawUrlTree=m.rawUrl;else if(d instanceof he){if("eager"===this.urlUpdateStrategy){if(!m.extras.skipLocationChange){const y=this.urlHandlingStrategy.merge(m.urlAfterRedirects,m.rawUrl);this.setBrowserUrl(y,m)}this.browserUrlTree=m.urlAfterRedirects}}else if(d instanceof Mi)this.currentUrlTree=m.urlAfterRedirects,this.rawUrlTree=this.urlHandlingStrategy.merge(m.urlAfterRedirects,m.rawUrl),this.routerState=m.targetRouterState,"deferred"===this.urlUpdateStrategy&&(m.extras.skipLocationChange||this.setBrowserUrl(this.rawUrlTree,m),this.browserUrlTree=m.urlAfterRedirects);else if(d instanceof q)0!==d.code&&1!==d.code&&(this.navigated=!0),(3===d.code||2===d.code)&&this.restoreHistory(m);else if(d instanceof Di){const y=this.urlHandlingStrategy.merge(d.url,m.currentRawUrl),R={skipLocationChange:m.extras.skipLocationChange,replaceUrl:"eager"===this.urlUpdateStrategy||ii(m.source)};this.scheduleNavigation(y,Dt,null,R,{resolve:m.resolve,reject:m.reject,promise:m.promise})}d instanceof Z&&this.restoreHistory(m,!0),d instanceof A&&(this.navigated=!0),Mc(d)&&this._events.next(d)}catch(m){this.navigationTransitions.transitionAbortSubject.next(m)}});this.eventsSubscription.add(s)}resetRootComponentType(s){this.routerState.root.component=s,this.navigationTransitions.rootComponentType=s}initialNavigation(){if(this.setUpLocationChangeListener(),!this.navigationTransitions.hasRequestedNavigation){const s=this.location.getState();this.navigateToSyncWithBrowser(this.location.path(!0),Dt,s)}}setUpLocationChangeListener(){this.locationSubscription||(this.locationSubscription=this.location.subscribe(s=>{const d="popstate"===s.type?"popstate":"hashchange";"popstate"===d&&setTimeout(()=>{this.navigateToSyncWithBrowser(s.url,d,s.state)},0)}))}navigateToSyncWithBrowser(s,d,m){const y={replaceUrl:!0},R=m?.navigationId?m:null;if(m){const pe={...m};delete pe.navigationId,delete pe.\u0275routerPageId,0!==Object.keys(pe).length&&(y.state=pe)}const X=this.parseUrl(s);this.scheduleNavigation(X,d,R,y)}get url(){return this.serializeUrl(this.currentUrlTree)}getCurrentNavigation(){return this.navigationTransitions.currentNavigation}get lastSuccessfulNavigation(){return this.navigationTransitions.lastSuccessfulNavigation}resetConfig(s){this.config=s.map(Zn),this.navigated=!1,this.lastSuccessfulId=-1}ngOnDestroy(){this.dispose()}dispose(){this.navigationTransitions.complete(),this.locationSubscription&&(this.locationSubscription.unsubscribe(),this.locationSubscription=void 0),this.disposed=!0,this.eventsSubscription.unsubscribe()}createUrlTree(s,d={}){const{relativeTo:m,queryParams:y,fragment:R,queryParamsHandling:X,preserveFragment:pe}=d,Ye=pe?this.currentUrlTree.fragment:R;let zt,Tt=null;switch(X){case"merge":Tt={...this.currentUrlTree.queryParams,...y};break;case"preserve":Tt=this.currentUrlTree.queryParams;break;default:Tt=y||null}null!==Tt&&(Tt=this.removeEmptyProps(Tt));try{zt=dt(m?m.snapshot:this.routerState.snapshot.root)}catch{("string"!=typeof s[0]||!s[0].startsWith("/"))&&(s=[]),zt=this.currentUrlTree.root}return Rt(zt,s,Tt,Ye??null)}navigateByUrl(s,d={skipLocationChange:!1}){const m=ge(s)?s:this.parseUrl(s),y=this.urlHandlingStrategy.merge(m,this.rawUrlTree);return this.scheduleNavigation(y,Dt,null,d)}navigate(s,d={skipLocationChange:!1}){return function mo(u){for(let a=0;a{const y=s[m];return null!=y&&(d[m]=y),d},{})}scheduleNavigation(s,d,m,y,R){if(this.disposed)return Promise.resolve(!1);let X,pe,Ye;R?(X=R.resolve,pe=R.reject,Ye=R.promise):Ye=new Promise((zt,on)=>{X=zt,pe=on});const Tt=this.pendingTasks.add();return function Hi(u,a){u.events.pipe((0,ct.h)(s=>s instanceof A||s instanceof q||s instanceof Z||s instanceof x),(0,ve.U)(s=>s instanceof A||s instanceof x?Xi.COMPLETE:s instanceof q&&(0===s.code||1===s.code)?Xi.REDIRECTING:Xi.FAILED),(0,ct.h)(s=>s!==Xi.REDIRECTING),(0,He.q)(1)).subscribe(()=>{a()})}(this,()=>{queueMicrotask(()=>this.pendingTasks.remove(Tt))}),this.navigationTransitions.handleNavigationRequest({source:d,restoredState:m,currentUrlTree:this.currentUrlTree,currentRawUrl:this.currentUrlTree,currentBrowserUrl:this.browserUrlTree,rawUrl:s,extras:y,resolve:X,reject:pe,promise:Ye,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),Ye.catch(zt=>Promise.reject(zt))}setBrowserUrl(s,d){const m=this.urlSerializer.serialize(s);if(this.location.isCurrentPathEqualTo(m)||d.extras.replaceUrl){const R={...d.extras.state,...this.generateNgRouterState(d.id,this.browserPageId)};this.location.replaceState(m,"",R)}else{const y={...d.extras.state,...this.generateNgRouterState(d.id,this.browserPageId+1)};this.location.go(m,"",y)}}restoreHistory(s,d=!1){if("computed"===this.canceledNavigationResolution){const y=this.currentPageId-this.browserPageId;0!==y?this.location.historyGo(y):this.currentUrlTree===this.getCurrentNavigation()?.finalUrl&&0===y&&(this.resetState(s),this.browserUrlTree=s.currentUrlTree,this.resetUrlToCurrentUrlTree())}else"replace"===this.canceledNavigationResolution&&(d&&this.resetState(s),this.resetUrlToCurrentUrlTree())}resetState(s){this.routerState=s.currentRouterState,this.currentUrlTree=s.currentUrlTree,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,s.rawUrl)}resetUrlToCurrentUrlTree(){this.location.replaceState(this.urlSerializer.serialize(this.rawUrlTree),"",this.generateNgRouterState(this.lastSuccessfulId,this.currentPageId))}generateNgRouterState(s,d){return"computed"===this.canceledNavigationResolution?{navigationId:s,\u0275routerPageId:d}:{navigationId:s}}static#e=this.\u0275fac=function(d){return new(d||u)};static#t=this.\u0275prov=l.Yz7({token:u,factory:u.\u0275fac,providedIn:"root"})}return u})();function Mc(u){return!(u instanceof Mi||u instanceof Di)}let Cs=(()=>{class u{constructor(s,d,m,y,R,X){this.router=s,this.route=d,this.tabIndexAttribute=m,this.renderer=y,this.el=R,this.locationStrategy=X,this.href=null,this.commands=null,this.onChanges=new Ce.x,this.preserveFragment=!1,this.skipLocationChange=!1,this.replaceUrl=!1;const pe=R.nativeElement.tagName?.toLowerCase();this.isAnchorElement="a"===pe||"area"===pe,this.isAnchorElement?this.subscription=s.events.subscribe(Ye=>{Ye instanceof A&&this.updateHref()}):this.setTabIndexIfNotOnNativeEl("0")}setTabIndexIfNotOnNativeEl(s){null!=this.tabIndexAttribute||this.isAnchorElement||this.applyAttributeValue("tabindex",s)}ngOnChanges(s){this.isAnchorElement&&this.updateHref(),this.onChanges.next(this)}set routerLink(s){null!=s?(this.commands=Array.isArray(s)?s:[s],this.setTabIndexIfNotOnNativeEl("0")):(this.commands=null,this.setTabIndexIfNotOnNativeEl(null))}onClick(s,d,m,y,R){return!!(null===this.urlTree||this.isAnchorElement&&(0!==s||d||m||y||R||"string"==typeof this.target&&"_self"!=this.target))||(this.router.navigateByUrl(this.urlTree,{skipLocationChange:this.skipLocationChange,replaceUrl:this.replaceUrl,state:this.state}),!this.isAnchorElement)}ngOnDestroy(){this.subscription?.unsubscribe()}updateHref(){this.href=null!==this.urlTree&&this.locationStrategy?this.locationStrategy?.prepareExternalUrl(this.router.serializeUrl(this.urlTree)):null;const s=null===this.href?null:(0,l.P3R)(this.href,this.el.nativeElement.tagName.toLowerCase(),"href");this.applyAttributeValue("href",s)}applyAttributeValue(s,d){const m=this.renderer,y=this.el.nativeElement;null!==d?m.setAttribute(y,s,d):m.removeAttribute(y,s)}get urlTree(){return null===this.commands?null:this.router.createUrlTree(this.commands,{relativeTo:void 0!==this.relativeTo?this.relativeTo:this.route,queryParams:this.queryParams,fragment:this.fragment,queryParamsHandling:this.queryParamsHandling,preserveFragment:this.preserveFragment})}static#e=this.\u0275fac=function(d){return new(d||u)(l.Y36(po),l.Y36(Ji),l.$8M("tabindex"),l.Y36(l.Qsj),l.Y36(l.SBq),l.Y36(K.S$))};static#t=this.\u0275dir=l.lG2({type:u,selectors:[["","routerLink",""]],hostVars:1,hostBindings:function(d,m){1&d&&l.NdJ("click",function(R){return m.onClick(R.button,R.ctrlKey,R.shiftKey,R.altKey,R.metaKey)}),2&d&&l.uIk("target",m.target)},inputs:{target:"target",queryParams:"queryParams",fragment:"fragment",queryParamsHandling:"queryParamsHandling",state:"state",relativeTo:"relativeTo",preserveFragment:["preserveFragment","preserveFragment",l.VuI],skipLocationChange:["skipLocationChange","skipLocationChange",l.VuI],replaceUrl:["replaceUrl","replaceUrl",l.VuI],routerLink:"routerLink"},standalone:!0,features:[l.Xq5,l.TTD]})}return u})(),Lr=(()=>{class u{get isActive(){return this._isActive}constructor(s,d,m,y,R){this.router=s,this.element=d,this.renderer=m,this.cdr=y,this.link=R,this.classes=[],this._isActive=!1,this.routerLinkActiveOptions={exact:!1},this.isActiveChange=new l.vpe,this.routerEventsSubscription=s.events.subscribe(X=>{X instanceof A&&this.update()})}ngAfterContentInit(){(0,ne.of)(this.links.changes,(0,ne.of)(null)).pipe((0,et.J)()).subscribe(s=>{this.update(),this.subscribeToEachLinkOnChanges()})}subscribeToEachLinkOnChanges(){this.linkInputChangesSubscription?.unsubscribe();const s=[...this.links.toArray(),this.link].filter(d=>!!d).map(d=>d.onChanges);this.linkInputChangesSubscription=(0,Q.D)(s).pipe((0,et.J)()).subscribe(d=>{this._isActive!==this.isLinkActive(this.router)(d)&&this.update()})}set routerLinkActive(s){const d=Array.isArray(s)?s:s.split(" ");this.classes=d.filter(m=>!!m)}ngOnChanges(s){this.update()}ngOnDestroy(){this.routerEventsSubscription.unsubscribe(),this.linkInputChangesSubscription?.unsubscribe()}update(){!this.links||!this.router.navigated||queueMicrotask(()=>{const s=this.hasActiveLinks();this._isActive!==s&&(this._isActive=s,this.cdr.markForCheck(),this.classes.forEach(d=>{s?this.renderer.addClass(this.element.nativeElement,d):this.renderer.removeClass(this.element.nativeElement,d)}),s&&void 0!==this.ariaCurrentWhenActive?this.renderer.setAttribute(this.element.nativeElement,"aria-current",this.ariaCurrentWhenActive.toString()):this.renderer.removeAttribute(this.element.nativeElement,"aria-current"),this.isActiveChange.emit(s))})}isLinkActive(s){const d=function Eo(u){return!!u.paths}(this.routerLinkActiveOptions)?this.routerLinkActiveOptions:this.routerLinkActiveOptions.exact||!1;return m=>!!m.urlTree&&s.isActive(m.urlTree,d)}hasActiveLinks(){const s=this.isLinkActive(this.router);return this.link&&s(this.link)||this.links.some(s)}static#e=this.\u0275fac=function(d){return new(d||u)(l.Y36(po),l.Y36(l.SBq),l.Y36(l.Qsj),l.Y36(l.sBO),l.Y36(Cs,8))};static#t=this.\u0275dir=l.lG2({type:u,selectors:[["","routerLinkActive",""]],contentQueries:function(d,m,y){if(1&d&&l.Suo(y,Cs,5),2&d){let R;l.iGM(R=l.CRH())&&(m.links=R)}},inputs:{routerLinkActiveOptions:"routerLinkActiveOptions",ariaCurrentWhenActive:"ariaCurrentWhenActive",routerLinkActive:"routerLinkActive"},outputs:{isActiveChange:"isActiveChange"},exportAs:["routerLinkActive"],standalone:!0,features:[l.TTD]})}return u})();const oa=new l.OlP("");let Sc=(()=>{class u{constructor(s,d,m,y,R={}){this.urlSerializer=s,this.transitions=d,this.viewportScroller=m,this.zone=y,this.options=R,this.lastId=0,this.lastSource="imperative",this.restoredId=0,this.store={},R.scrollPositionRestoration=R.scrollPositionRestoration||"disabled",R.anchorScrolling=R.anchorScrolling||"disabled"}init(){"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.setHistoryScrollRestoration("manual"),this.routerEventsSubscription=this.createScrollEvents(),this.scrollEventsSubscription=this.consumeScrollEvents()}createScrollEvents(){return this.transitions.events.subscribe(s=>{s instanceof Et?(this.store[this.lastId]=this.viewportScroller.getScrollPosition(),this.lastSource=s.navigationTrigger,this.restoredId=s.restoredState?s.restoredState.navigationId:0):s instanceof A?(this.lastId=s.id,this.scheduleScrollEvent(s,this.urlSerializer.parse(s.urlAfterRedirects).fragment)):s instanceof x&&0===s.code&&(this.lastSource=void 0,this.restoredId=0,this.scheduleScrollEvent(s,this.urlSerializer.parse(s.url).fragment))})}consumeScrollEvents(){return this.transitions.events.subscribe(s=>{s instanceof zi&&(s.position?"top"===this.options.scrollPositionRestoration?this.viewportScroller.scrollToPosition([0,0]):"enabled"===this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition(s.position):s.anchor&&"enabled"===this.options.anchorScrolling?this.viewportScroller.scrollToAnchor(s.anchor):"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition([0,0]))})}scheduleScrollEvent(s,d){this.zone.runOutsideAngular(()=>{setTimeout(()=>{this.zone.run(()=>{this.transitions.events.next(new zi(s,"popstate"===this.lastSource?this.store[this.restoredId]:null,d))})},0)})}ngOnDestroy(){this.routerEventsSubscription?.unsubscribe(),this.scrollEventsSubscription?.unsubscribe()}static#e=this.\u0275fac=function(d){l.$Z()};static#t=this.\u0275prov=l.Yz7({token:u,factory:u.\u0275fac})}return u})();function ul(u){return u.routerState.root}function Ac(){const u=(0,l.f3M)(l.zs3);return a=>{const s=u.get(l.z2F);if(a!==s.components[0])return;const d=u.get(po),m=u.get(Oc);1===u.get(hl)&&d.initialNavigation(),u.get(Pc,null,l.XFs.Optional)?.setUpPreloading(),u.get(oa,null,l.XFs.Optional)?.init(),d.resetRootComponentType(s.componentTypes[0]),m.closed||(m.next(),m.complete(),m.unsubscribe())}}const Oc=new l.OlP("",{factory:()=>new Ce.x}),hl=new l.OlP("",{providedIn:"root",factory:()=>1}),Pc=new l.OlP("");var yi=p(6825);function sa(u){return new l.vHH(3e3,!1)}function Jo(u){switch(u.length){case 0:return new yi.ZN;case 1:return u[0];default:return new yi.ZE(u)}}function Bu(u,a,s=new Map,d=new Map){const m=[],y=[];let R=-1,X=null;if(a.forEach(pe=>{const Ye=pe.get("offset"),Tt=Ye==R,zt=Tt&&X||new Map;pe.forEach((on,xn)=>{let dn=xn,Cn=on;if("offset"!==xn)switch(dn=u.normalizePropertyName(dn,m),Cn){case yi.k1:Cn=s.get(xn);break;case yi.l3:Cn=d.get(xn);break;default:Cn=u.normalizeStyleValue(xn,dn,Cn,m)}zt.set(dn,Cn)}),Tt||y.push(zt),X=zt,R=Ye}),m.length)throw function Tr(u){return new l.vHH(3502,!1)}();return y}function bl(u,a,s,d){switch(a){case"start":u.onStart(()=>d(s&&vl(s,"start",u)));break;case"done":u.onDone(()=>d(s&&vl(s,"done",u)));break;case"destroy":u.onDestroy(()=>d(s&&vl(s,"destroy",u)))}}function vl(u,a,s){const y=Kc(u.element,u.triggerName,u.fromState,u.toState,a||u.phaseName,s.totalTime??u.totalTime,!!s.disabled),R=u._data;return null!=R&&(y._data=R),y}function Kc(u,a,s,d,m="",y=0,R){return{element:u,triggerName:a,fromState:s,toState:d,phaseName:m,totalTime:y,disabled:!!R}}function Io(u,a,s){let d=u.get(a);return d||u.set(a,d=s),d}function ha(u){const a=u.indexOf(":");return[u.substring(1,a),u.slice(a+1)]}const ws=(()=>typeof document>"u"?null:document.documentElement)();function yl(u){const a=u.parentNode||u.host||null;return a===ws?null:a}let ar=null,Ts=!1;function Jc(u,a){for(;a;){if(a===u)return!0;a=yl(a)}return!1}function jo(u,a,s){if(s)return Array.from(u.querySelectorAll(a));const d=u.querySelector(a);return d?[d]:[]}let Ms=(()=>{class u{validateStyleProperty(s){return function Pp(u){ar||(ar=function Qc(){return typeof document<"u"?document.body:null}()||{},Ts=!!ar.style&&"WebkitAppearance"in ar.style);let a=!0;return ar.style&&!function Ds(u){return"ebkit"==u.substring(1,6)}(u)&&(a=u in ar.style,!a&&Ts&&(a="Webkit"+u.charAt(0).toUpperCase()+u.slice(1)in ar.style)),a}(s)}matchesElement(s,d){return!1}containsElement(s,d){return Jc(s,d)}getParentElement(s){return yl(s)}query(s,d,m){return jo(s,d,m)}computeStyle(s,d,m){return m||""}animate(s,d,m,y,R,X=[],pe){return new yi.ZN(m,y)}static#e=this.\u0275fac=function(d){return new(d||u)};static#t=this.\u0275prov=l.Yz7({token:u,factory:u.\u0275fac})}return u})(),Ss=(()=>{class u{static#e=this.NOOP=new Ms}return u})();const Xc=1e3,Cl="ng-enter",As="ng-leave",Os="ng-trigger",Rs=".ng-trigger",El="ng-animating",wl=".ng-animating";function Ao(u){if("number"==typeof u)return u;const a=u.match(/^(-?[\.\d]+)(m?s)/);return!a||a.length<2?0:lr(parseFloat(a[1]),a[2])}function lr(u,a){return"s"===a?u*Xc:u}function fa(u,a,s){return u.hasOwnProperty("duration")?u:function qc(u,a,s){let m,y=0,R="";if("string"==typeof u){const X=u.match(/^(-?[\.\d]+)(m?s)(?:\s+(-?[\.\d]+)(m?s))?(?:\s+([-a-z]+(?:\(.+?\))?))?$/i);if(null===X)return a.push(sa()),{duration:0,delay:0,easing:""};m=lr(parseFloat(X[1]),X[2]);const pe=X[3];null!=pe&&(y=lr(parseFloat(pe),X[4]));const Ye=X[5];Ye&&(R=Ye)}else m=u;if(!s){let X=!1,pe=a.length;m<0&&(a.push(function pl(){return new l.vHH(3100,!1)}()),X=!0),y<0&&(a.push(function Nc(){return new l.vHH(3101,!1)}()),X=!0),X&&a.splice(pe,0,sa())}return{duration:m,delay:y,easing:R}}(u,a,s)}function ss(u,a={}){return Object.keys(u).forEach(s=>{a[s]=u[s]}),a}function as(u){const a=new Map;return Object.keys(u).forEach(s=>{a.set(s,u[s])}),a}function Mr(u,a=new Map,s){if(s)for(let[d,m]of s)a.set(d,m);for(let[d,m]of u)a.set(d,m);return a}function zo(u,a,s){a.forEach((d,m)=>{const y=Fs(m);s&&!s.has(m)&&s.set(m,u.style[y]),u.style[y]=d})}function cr(u,a){a.forEach((s,d)=>{const m=Fs(d);u.style[m]=""})}function Ps(u){return Array.isArray(u)?1==u.length?u[0]:(0,yi.vP)(u):u}const ks=new RegExp("{{\\s*(.+?)\\s*}}","g");function Vr(u){let a=[];if("string"==typeof u){let s;for(;s=ks.exec(u);)a.push(s[1]);ks.lastIndex=0}return a}function Xo(u,a,s){const d=u.toString(),m=d.replace(ks,(y,R)=>{let X=a[R];return null==X&&(s.push(function Au(u){return new l.vHH(3003,!1)}()),X=""),X.toString()});return m==d?u:m}function dr(u){const a=[];let s=u.next();for(;!s.done;)a.push(s.value),s=u.next();return a}const td=/-+([a-z0-9])/g;function Fs(u){return u.replace(td,(...a)=>a[1].toUpperCase())}function Oo(u,a,s){switch(a.type){case 7:return u.visitTrigger(a,s);case 0:return u.visitState(a,s);case 1:return u.visitTransition(a,s);case 2:return u.visitSequence(a,s);case 3:return u.visitGroup(a,s);case 4:return u.visitAnimate(a,s);case 5:return u.visitKeyframes(a,s);case 6:return u.visitStyle(a,s);case 8:return u.visitReference(a,s);case 9:return u.visitAnimateChild(a,s);case 10:return u.visitAnimateRef(a,s);case 11:return u.visitQuery(a,s);case 12:return u.visitStagger(a,s);default:throw function Lc(u){return new l.vHH(3004,!1)}()}}function ju(u,a){return window.getComputedStyle(u)[a]}const pa="*";function Ui(u,a){const s=[];return"string"==typeof u?u.split(/\s*,\s*/).forEach(d=>function zu(u,a,s){if(":"==u[0]){const pe=function Bs(u,a){switch(u){case":enter":return"void => *";case":leave":return"* => void";case":increment":return(s,d)=>parseFloat(d)>parseFloat(s);case":decrement":return(s,d)=>parseFloat(d) *"}}(u,s);if("function"==typeof pe)return void a.push(pe);u=pe}const d=u.match(/^(\*|[-\w]+)\s*()\s*(\*|[-\w]+)$/);if(null==d||d.length<4)return s.push(function Gc(u){return new l.vHH(3015,!1)}()),a;const m=d[1],y=d[2],R=d[3];a.push(Hr(m,R));"<"==y[0]&&!(m==pa&&R==pa)&&a.push(Hr(R,m))}(d,s,a)):s.push(u),s}const ma=new Set(["true","1"]),uo=new Set(["false","0"]);function Hr(u,a){const s=ma.has(u)||uo.has(u),d=ma.has(a)||uo.has(a);return(m,y)=>{let R=u==pa||u==m,X=a==pa||a==y;return!R&&s&&"boolean"==typeof m&&(R=m?ma.has(u):uo.has(u)),!X&&d&&"boolean"==typeof y&&(X=y?ma.has(a):uo.has(a)),R&&X}}const ga=new RegExp("s*:selfs*,?","g");function Ur(u,a,s,d){return new Lp(u).build(a,s,d)}class Lp{constructor(a){this._driver=a}build(a,s,d){const m=new wo(s);return this._resetContextStyleTimingState(m),Oo(this,Ps(a),m)}_resetContextStyleTimingState(a){a.currentQuerySelector="",a.collectedStyles=new Map,a.collectedStyles.set("",new Map),a.currentTime=0}visitTrigger(a,s){let d=s.queryCount=0,m=s.depCount=0;const y=[],R=[];return"@"==a.name.charAt(0)&&s.errors.push(function Bc(){return new l.vHH(3006,!1)}()),a.definitions.forEach(X=>{if(this._resetContextStyleTimingState(s),0==X.type){const pe=X,Ye=pe.name;Ye.toString().split(/\s*,\s*/).forEach(Tt=>{pe.name=Tt,y.push(this.visitState(pe,s))}),pe.name=Ye}else if(1==X.type){const pe=this.visitTransition(X,s);d+=pe.queryCount,m+=pe.depCount,R.push(pe)}else s.errors.push(function Vc(){return new l.vHH(3007,!1)}())}),{type:7,name:a.name,states:y,transitions:R,queryCount:d,depCount:m,options:null}}visitState(a,s){const d=this.visitStyle(a.styles,s),m=a.options&&a.options.params||null;if(d.containsDynamicStyles){const y=new Set,R=m||{};d.styles.forEach(X=>{X instanceof Map&&X.forEach(pe=>{Vr(pe).forEach(Ye=>{R.hasOwnProperty(Ye)||y.add(Ye)})})}),y.size&&(dr(y.values()),s.errors.push(function Hc(u,a){return new l.vHH(3008,!1)}()))}return{type:0,name:a.name,style:d,options:m?{params:m}:null}}visitTransition(a,s){s.queryCount=0,s.depCount=0;const d=Oo(this,Ps(a.animation),s);return{type:1,matchers:Ui(a.expr,s.errors),animation:d,queryCount:s.queryCount,depCount:s.depCount,options:cs(a.options)}}visitSequence(a,s){return{type:2,steps:a.steps.map(d=>Oo(this,d,s)),options:cs(a.options)}}visitGroup(a,s){const d=s.currentTime;let m=0;const y=a.steps.map(R=>{s.currentTime=d;const X=Oo(this,R,s);return m=Math.max(m,s.currentTime),X});return s.currentTime=m,{type:3,steps:y,options:cs(a.options)}}visitAnimate(a,s){const d=function ls(u,a){if(u.hasOwnProperty("duration"))return u;if("number"==typeof u)return _a(fa(u,a).duration,0,"");const s=u;if(s.split(/\s+/).some(y=>"{"==y.charAt(0)&&"{"==y.charAt(1))){const y=_a(0,0,"");return y.dynamic=!0,y.strValue=s,y}const m=fa(s,a);return _a(m.duration,m.delay,m.easing)}(a.timings,s.errors);s.currentAnimateTimings=d;let m,y=a.styles?a.styles:(0,yi.oB)({});if(5==y.type)m=this.visitKeyframes(y,s);else{let R=a.styles,X=!1;if(!R){X=!0;const Ye={};d.easing&&(Ye.easing=d.easing),R=(0,yi.oB)(Ye)}s.currentTime+=d.duration+d.delay;const pe=this.visitStyle(R,s);pe.isEmptyStep=X,m=pe}return s.currentAnimateTimings=null,{type:4,timings:d,style:m,options:null}}visitStyle(a,s){const d=this._makeStyleAst(a,s);return this._validateStyleAst(d,s),d}_makeStyleAst(a,s){const d=[],m=Array.isArray(a.styles)?a.styles:[a.styles];for(let X of m)"string"==typeof X?X===yi.l3?d.push(X):s.errors.push(new l.vHH(3002,!1)):d.push(as(X));let y=!1,R=null;return d.forEach(X=>{if(X instanceof Map&&(X.has("easing")&&(R=X.get("easing"),X.delete("easing")),!y))for(let pe of X.values())if(pe.toString().indexOf("{{")>=0){y=!0;break}}),{type:6,styles:d,easing:R,offset:a.offset,containsDynamicStyles:y,options:null}}_validateStyleAst(a,s){const d=s.currentAnimateTimings;let m=s.currentTime,y=s.currentTime;d&&y>0&&(y-=d.duration+d.delay),a.styles.forEach(R=>{"string"!=typeof R&&R.forEach((X,pe)=>{const Ye=s.collectedStyles.get(s.currentQuerySelector),Tt=Ye.get(pe);let zt=!0;Tt&&(y!=m&&y>=Tt.startTime&&m<=Tt.endTime&&(s.errors.push(function Ou(u,a,s,d,m){return new l.vHH(3010,!1)}()),zt=!1),y=Tt.startTime),zt&&Ye.set(pe,{startTime:y,endTime:m}),s.options&&function ed(u,a,s){const d=a.params||{},m=Vr(u);m.length&&m.forEach(y=>{d.hasOwnProperty(y)||s.push(function ml(u){return new l.vHH(3001,!1)}())})}(X,s.options,s.errors)})})}visitKeyframes(a,s){const d={type:5,styles:[],options:null};if(!s.currentAnimateTimings)return s.errors.push(function Ru(){return new l.vHH(3011,!1)}()),d;let y=0;const R=[];let X=!1,pe=!1,Ye=0;const Tt=a.steps.map(pi=>{const Ni=this._makeStyleAst(pi,s);let qi=null!=Ni.offset?Ni.offset:function Tl(u){if("string"==typeof u)return null;let a=null;if(Array.isArray(u))u.forEach(s=>{if(s instanceof Map&&s.has("offset")){const d=s;a=parseFloat(d.get("offset")),d.delete("offset")}});else if(u instanceof Map&&u.has("offset")){const s=u;a=parseFloat(s.get("offset")),s.delete("offset")}return a}(Ni.styles),Yi=0;return null!=qi&&(y++,Yi=Ni.offset=qi),pe=pe||Yi<0||Yi>1,X=X||Yi0&&y{const qi=on>0?Ni==xn?1:on*Ni:R[Ni],Yi=qi*si;s.currentTime=dn+Cn.delay+Yi,Cn.duration=Yi,this._validateStyleAst(pi,s),pi.offset=qi,d.styles.push(pi)}),d}visitReference(a,s){return{type:8,animation:Oo(this,Ps(a.animation),s),options:cs(a.options)}}visitAnimateChild(a,s){return s.depCount++,{type:9,options:cs(a.options)}}visitAnimateRef(a,s){return{type:10,animation:this.visitReference(a.animation,s),options:cs(a.options)}}visitQuery(a,s){const d=s.currentQuerySelector,m=a.options||{};s.queryCount++,s.currentQuery=a;const[y,R]=function Gu(u){const a=!!u.split(/\s*,\s*/).find(s=>":self"==s);return a&&(u=u.replace(ga,"")),u=u.replace(/@\*/g,Rs).replace(/@\w+/g,s=>Rs+"-"+s.slice(1)).replace(/:animating/g,wl),[u,a]}(a.selector);s.currentQuerySelector=d.length?d+" "+y:y,Io(s.collectedStyles,s.currentQuerySelector,new Map);const X=Oo(this,Ps(a.animation),s);return s.currentQuery=null,s.currentQuerySelector=d,{type:11,selector:y,limit:m.limit||0,optional:!!m.optional,includeSelf:R,animation:X,originalSelector:a.selector,options:cs(a.options)}}visitStagger(a,s){s.currentQuery||s.errors.push(function zc(){return new l.vHH(3013,!1)}());const d="full"===a.timings?{duration:0,delay:0,easing:"full"}:fa(a.timings,s.errors,!0);return{type:12,animation:Oo(this,Ps(a.animation),s),timings:d,options:null}}}class wo{constructor(a){this.errors=a,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 cs(u){return u?(u=ss(u)).params&&(u.params=function Bp(u){return u?ss(u):null}(u.params)):u={},u}function _a(u,a,s){return{duration:u,delay:a,easing:s}}function Ml(u,a,s,d,m,y,R=null,X=!1){return{type:1,element:u,keyframes:a,preStyleProps:s,postStyleProps:d,duration:m,delay:y,totalTime:m+y,easing:R,subTimeline:X}}class ba{constructor(){this._map=new Map}get(a){return this._map.get(a)||[]}append(a,s){let d=this._map.get(a);d||this._map.set(a,d=[]),d.push(...s)}has(a){return this._map.has(a)}clear(){this._map.clear()}}const Yu=new RegExp(":enter","g"),Sl=new RegExp(":leave","g");function ds(u,a,s,d,m,y=new Map,R=new Map,X,pe,Ye=[]){return(new Ku).buildKeyframes(u,a,s,d,m,y,R,X,pe,Ye)}class Ku{buildKeyframes(a,s,d,m,y,R,X,pe,Ye,Tt=[]){Ye=Ye||new ba;const zt=new Il(a,s,Ye,m,y,Tt,[]);zt.options=pe;const on=pe.delay?Ao(pe.delay):0;zt.currentTimeline.delayNextStep(on),zt.currentTimeline.setStyles([R],null,zt.errors,pe),Oo(this,d,zt);const xn=zt.timelines.filter(dn=>dn.containsAnimation());if(xn.length&&X.size){let dn;for(let Cn=xn.length-1;Cn>=0;Cn--){const si=xn[Cn];if(si.element===s){dn=si;break}}dn&&!dn.allowOnlyTimelineStyles()&&dn.setStyles([X],null,zt.errors,pe)}return xn.length?xn.map(dn=>dn.buildKeyframes()):[Ml(s,[],[],[],0,on,"",!1)]}visitTrigger(a,s){}visitState(a,s){}visitTransition(a,s){}visitAnimateChild(a,s){const d=s.subInstructions.get(s.element);if(d){const m=s.createSubContext(a.options),y=s.currentTimeline.currentTime,R=this._visitSubInstructions(d,m,m.options);y!=R&&s.transformIntoNewTimeline(R)}s.previousNode=a}visitAnimateRef(a,s){const d=s.createSubContext(a.options);d.transformIntoNewTimeline(),this._applyAnimationRefDelays([a.options,a.animation.options],s,d),this.visitReference(a.animation,d),s.transformIntoNewTimeline(d.currentTimeline.currentTime),s.previousNode=a}_applyAnimationRefDelays(a,s,d){for(const m of a){const y=m?.delay;if(y){const R="number"==typeof y?y:Ao(Xo(y,m?.params??{},s.errors));d.delayNextStep(R)}}}_visitSubInstructions(a,s,d){let y=s.currentTimeline.currentTime;const R=null!=d.duration?Ao(d.duration):null,X=null!=d.delay?Ao(d.delay):null;return 0!==R&&a.forEach(pe=>{const Ye=s.appendInstructionToTimeline(pe,R,X);y=Math.max(y,Ye.duration+Ye.delay)}),y}visitReference(a,s){s.updateOptions(a.options,!0),Oo(this,a.animation,s),s.previousNode=a}visitSequence(a,s){const d=s.subContextCount;let m=s;const y=a.options;if(y&&(y.params||y.delay)&&(m=s.createSubContext(y),m.transformIntoNewTimeline(),null!=y.delay)){6==m.previousNode.type&&(m.currentTimeline.snapshotCurrentStyles(),m.previousNode=jr);const R=Ao(y.delay);m.delayNextStep(R)}a.steps.length&&(a.steps.forEach(R=>Oo(this,R,m)),m.currentTimeline.applyStylesToKeyframe(),m.subContextCount>d&&m.transformIntoNewTimeline()),s.previousNode=a}visitGroup(a,s){const d=[];let m=s.currentTimeline.currentTime;const y=a.options&&a.options.delay?Ao(a.options.delay):0;a.steps.forEach(R=>{const X=s.createSubContext(a.options);y&&X.delayNextStep(y),Oo(this,R,X),m=Math.max(m,X.currentTimeline.currentTime),d.push(X.currentTimeline)}),d.forEach(R=>s.currentTimeline.mergeTimelineCollectedStyles(R)),s.transformIntoNewTimeline(m),s.previousNode=a}_visitTiming(a,s){if(a.dynamic){const d=a.strValue;return fa(s.params?Xo(d,s.params,s.errors):d,s.errors)}return{duration:a.duration,delay:a.delay,easing:a.easing}}visitAnimate(a,s){const d=s.currentAnimateTimings=this._visitTiming(a.timings,s),m=s.currentTimeline;d.delay&&(s.incrementTime(d.delay),m.snapshotCurrentStyles());const y=a.style;5==y.type?this.visitKeyframes(y,s):(s.incrementTime(d.duration),this.visitStyle(y,s),m.applyStylesToKeyframe()),s.currentAnimateTimings=null,s.previousNode=a}visitStyle(a,s){const d=s.currentTimeline,m=s.currentAnimateTimings;!m&&d.hasCurrentStyleProperties()&&d.forwardFrame();const y=m&&m.easing||a.easing;a.isEmptyStep?d.applyEmptyStep(y):d.setStyles(a.styles,y,s.errors,s.options),s.previousNode=a}visitKeyframes(a,s){const d=s.currentAnimateTimings,m=s.currentTimeline.duration,y=d.duration,X=s.createSubContext().currentTimeline;X.easing=d.easing,a.styles.forEach(pe=>{X.forwardTime((pe.offset||0)*y),X.setStyles(pe.styles,pe.easing,s.errors,s.options),X.applyStylesToKeyframe()}),s.currentTimeline.mergeTimelineCollectedStyles(X),s.transformIntoNewTimeline(m+y),s.previousNode=a}visitQuery(a,s){const d=s.currentTimeline.currentTime,m=a.options||{},y=m.delay?Ao(m.delay):0;y&&(6===s.previousNode.type||0==d&&s.currentTimeline.hasCurrentStyleProperties())&&(s.currentTimeline.snapshotCurrentStyles(),s.previousNode=jr);let R=d;const X=s.invokeQuery(a.selector,a.originalSelector,a.limit,a.includeSelf,!!m.optional,s.errors);s.currentQueryTotal=X.length;let pe=null;X.forEach((Ye,Tt)=>{s.currentQueryIndex=Tt;const zt=s.createSubContext(a.options,Ye);y&&zt.delayNextStep(y),Ye===s.element&&(pe=zt.currentTimeline),Oo(this,a.animation,zt),zt.currentTimeline.applyStylesToKeyframe(),R=Math.max(R,zt.currentTimeline.currentTime)}),s.currentQueryIndex=0,s.currentQueryTotal=0,s.transformIntoNewTimeline(R),pe&&(s.currentTimeline.mergeTimelineCollectedStyles(pe),s.currentTimeline.snapshotCurrentStyles()),s.previousNode=a}visitStagger(a,s){const d=s.parentContext,m=s.currentTimeline,y=a.timings,R=Math.abs(y.duration),X=R*(s.currentQueryTotal-1);let pe=R*s.currentQueryIndex;switch(y.duration<0?"reverse":y.easing){case"reverse":pe=X-pe;break;case"full":pe=d.currentStaggerTime}const Tt=s.currentTimeline;pe&&Tt.delayNextStep(pe);const zt=Tt.currentTime;Oo(this,a.animation,s),s.previousNode=a,d.currentStaggerTime=m.currentTime-zt+(m.startTime-d.currentTimeline.startTime)}}const jr={};class Il{constructor(a,s,d,m,y,R,X,pe){this._driver=a,this.element=s,this.subInstructions=d,this._enterClassName=m,this._leaveClassName=y,this.errors=R,this.timelines=X,this.parentContext=null,this.currentAnimateTimings=null,this.previousNode=jr,this.subContextCount=0,this.options={},this.currentQueryIndex=0,this.currentQueryTotal=0,this.currentStaggerTime=0,this.currentTimeline=pe||new zr(this._driver,s,0),X.push(this.currentTimeline)}get params(){return this.options.params}updateOptions(a,s){if(!a)return;const d=a;let m=this.options;null!=d.duration&&(m.duration=Ao(d.duration)),null!=d.delay&&(m.delay=Ao(d.delay));const y=d.params;if(y){let R=m.params;R||(R=this.options.params={}),Object.keys(y).forEach(X=>{(!s||!R.hasOwnProperty(X))&&(R[X]=Xo(y[X],R,this.errors))})}}_copyOptions(){const a={};if(this.options){const s=this.options.params;if(s){const d=a.params={};Object.keys(s).forEach(m=>{d[m]=s[m]})}}return a}createSubContext(a=null,s,d){const m=s||this.element,y=new Il(this._driver,m,this.subInstructions,this._enterClassName,this._leaveClassName,this.errors,this.timelines,this.currentTimeline.fork(m,d||0));return y.previousNode=this.previousNode,y.currentAnimateTimings=this.currentAnimateTimings,y.options=this._copyOptions(),y.updateOptions(a),y.currentQueryIndex=this.currentQueryIndex,y.currentQueryTotal=this.currentQueryTotal,y.parentContext=this,this.subContextCount++,y}transformIntoNewTimeline(a){return this.previousNode=jr,this.currentTimeline=this.currentTimeline.fork(this.element,a),this.timelines.push(this.currentTimeline),this.currentTimeline}appendInstructionToTimeline(a,s,d){const m={duration:s??a.duration,delay:this.currentTimeline.currentTime+(d??0)+a.delay,easing:""},y=new Qu(this._driver,a.element,a.keyframes,a.preStyleProps,a.postStyleProps,m,a.stretchStartingKeyframe);return this.timelines.push(y),m}incrementTime(a){this.currentTimeline.forwardTime(this.currentTimeline.duration+a)}delayNextStep(a){a>0&&this.currentTimeline.delayNextStep(a)}invokeQuery(a,s,d,m,y,R){let X=[];if(m&&X.push(this.element),a.length>0){a=(a=a.replace(Yu,"."+this._enterClassName)).replace(Sl,"."+this._leaveClassName);let Ye=this._driver.query(this.element,a,1!=d);0!==d&&(Ye=d<0?Ye.slice(Ye.length+d,Ye.length):Ye.slice(0,d)),X.push(...Ye)}return!y&&0==X.length&&R.push(function Pu(u){return new l.vHH(3014,!1)}()),X}}class zr{constructor(a,s,d,m){this._driver=a,this.element=s,this.startTime=d,this._elementTimelineStylesLookup=m,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(s),this._globalTimelineStyles||(this._globalTimelineStyles=this._localTimelineStyles,this._elementTimelineStylesLookup.set(s,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(a){const s=1===this._keyframes.size&&this._pendingStyles.size;this.duration||s?(this.forwardTime(this.currentTime+a),s&&this.snapshotCurrentStyles()):this.startTime+=a}fork(a,s){return this.applyStylesToKeyframe(),new zr(this._driver,a,s||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+=1,this._loadKeyframe()}forwardTime(a){this.applyStylesToKeyframe(),this.duration=a,this._loadKeyframe()}_updateStyle(a,s){this._localTimelineStyles.set(a,s),this._globalTimelineStyles.set(a,s),this._styleSummary.set(a,{time:this.currentTime,value:s})}allowOnlyTimelineStyles(){return this._currentEmptyStepKeyframe!==this._currentKeyframe}applyEmptyStep(a){a&&this._previousKeyframe.set("easing",a);for(let[s,d]of this._globalTimelineStyles)this._backFill.set(s,d||yi.l3),this._currentKeyframe.set(s,yi.l3);this._currentEmptyStepKeyframe=this._currentKeyframe}setStyles(a,s,d,m){s&&this._previousKeyframe.set("easing",s);const y=m&&m.params||{},R=function Ol(u,a){const s=new Map;let d;return u.forEach(m=>{if("*"===m){d=d||a.keys();for(let y of d)s.set(y,yi.l3)}else Mr(m,s)}),s}(a,this._globalTimelineStyles);for(let[X,pe]of R){const Ye=Xo(pe,y,d);this._pendingStyles.set(X,Ye),this._localTimelineStyles.has(X)||this._backFill.set(X,this._globalTimelineStyles.get(X)??yi.l3),this._updateStyle(X,Ye)}}applyStylesToKeyframe(){0!=this._pendingStyles.size&&(this._pendingStyles.forEach((a,s)=>{this._currentKeyframe.set(s,a)}),this._pendingStyles.clear(),this._localTimelineStyles.forEach((a,s)=>{this._currentKeyframe.has(s)||this._currentKeyframe.set(s,a)}))}snapshotCurrentStyles(){for(let[a,s]of this._localTimelineStyles)this._pendingStyles.set(a,s),this._updateStyle(a,s)}getFinalKeyframe(){return this._keyframes.get(this.duration)}get properties(){const a=[];for(let s in this._currentKeyframe)a.push(s);return a}mergeTimelineCollectedStyles(a){a._styleSummary.forEach((s,d)=>{const m=this._styleSummary.get(d);(!m||s.time>m.time)&&this._updateStyle(d,s.value)})}buildKeyframes(){this.applyStylesToKeyframe();const a=new Set,s=new Set,d=1===this._keyframes.size&&0===this.duration;let m=[];this._keyframes.forEach((X,pe)=>{const Ye=Mr(X,new Map,this._backFill);Ye.forEach((Tt,zt)=>{Tt===yi.k1?a.add(zt):Tt===yi.l3&&s.add(zt)}),d||Ye.set("offset",pe/this.duration),m.push(Ye)});const y=a.size?dr(a.values()):[],R=s.size?dr(s.values()):[];if(d){const X=m[0],pe=new Map(X);X.set("offset",0),pe.set("offset",1),m=[X,pe]}return Ml(this.element,m,y,R,this.duration,this.startTime,this.easing,!1)}}class Qu extends zr{constructor(a,s,d,m,y,R,X=!1){super(a,s,R.delay),this.keyframes=d,this.preStyleProps=m,this.postStyleProps=y,this._stretchStartingKeyframe=X,this.timings={duration:R.duration,delay:R.delay,easing:R.easing}}containsAnimation(){return this.keyframes.length>1}buildKeyframes(){let a=this.keyframes,{delay:s,duration:d,easing:m}=this.timings;if(this._stretchStartingKeyframe&&s){const y=[],R=d+s,X=s/R,pe=Mr(a[0]);pe.set("offset",0),y.push(pe);const Ye=Mr(a[0]);Ye.set("offset",Al(X)),y.push(Ye);const Tt=a.length-1;for(let zt=1;zt<=Tt;zt++){let on=Mr(a[zt]);const xn=on.get("offset");on.set("offset",Al((s+xn*d)/R)),y.push(on)}d=R,s=0,m="",a=y}return Ml(this.element,a,this.preStyleProps,this.postStyleProps,d,s,m,!0)}}function Al(u,a=3){const s=Math.pow(10,a-1);return Math.round(u*s)/s}class va{}const Ju=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"]);class us extends va{normalizePropertyName(a,s){return Fs(a)}normalizeStyleValue(a,s,d,m){let y="";const R=d.toString().trim();if(Ju.has(s)&&0!==d&&"0"!==d)if("number"==typeof d)y="px";else{const X=d.match(/^[+-]?[\d\.]+([a-z]*)$/);X&&0==X[1].length&&m.push(function gl(u,a){return new l.vHH(3005,!1)}())}return R+y}}function hs(u,a,s,d,m,y,R,X,pe,Ye,Tt,zt,on){return{type:0,element:u,triggerName:a,isRemovalTransition:m,fromState:s,fromStyles:y,toState:d,toStyles:R,timelines:X,queriedElements:pe,preStyleProps:Ye,postStyleProps:Tt,totalTime:zt,errors:on}}const Pl={};class Xu{constructor(a,s,d){this._triggerName=a,this.ast=s,this._stateStyles=d}match(a,s,d,m){return function eh(u,a,s,d,m){return u.some(y=>y(a,s,d,m))}(this.ast.matchers,a,s,d,m)}buildStyles(a,s,d){let m=this._stateStyles.get("*");return void 0!==a&&(m=this._stateStyles.get(a?.toString())||m),m?m.buildStyles(s,d):new Map}build(a,s,d,m,y,R,X,pe,Ye,Tt){const zt=[],on=this.ast.options&&this.ast.options.params||Pl,dn=this.buildStyles(d,X&&X.params||Pl,zt),Cn=pe&&pe.params||Pl,si=this.buildStyles(m,Cn,zt),pi=new Set,Ni=new Map,qi=new Map,Yi="void"===m,hr={params:Hp(Cn,on),delay:this.ast.options?.delay},bo=Tt?[]:ds(a,s,this.ast.animation,y,R,dn,si,hr,Ye,zt);let ro=0;if(bo.forEach(Ro=>{ro=Math.max(Ro.duration+Ro.delay,ro)}),zt.length)return hs(s,this._triggerName,d,m,Yi,dn,si,[],[],Ni,qi,ro,zt);bo.forEach(Ro=>{const er=Ro.element,Ia=Io(Ni,er,new Set);Ro.preStyleProps.forEach($r=>Ia.add($r));const fr=Io(qi,er,new Set);Ro.postStyleProps.forEach($r=>fr.add($r)),er!==s&&pi.add(er)});const Go=dr(pi.values());return hs(s,this._triggerName,d,m,Yi,dn,si,bo,Go,Ni,qi,ro)}}function Hp(u,a){const s=ss(a);for(const d in u)u.hasOwnProperty(d)&&null!=u[d]&&(s[d]=u[d]);return s}class th{constructor(a,s,d){this.styles=a,this.defaultParams=s,this.normalizer=d}buildStyles(a,s){const d=new Map,m=ss(this.defaultParams);return Object.keys(a).forEach(y=>{const R=a[y];null!==R&&(m[y]=R)}),this.styles.styles.forEach(y=>{"string"!=typeof y&&y.forEach((R,X)=>{R&&(R=Xo(R,m,s));const pe=this.normalizer.normalizePropertyName(X,s);R=this.normalizer.normalizeStyleValue(X,pe,R,s),d.set(X,R)})}),d}}class ih{constructor(a,s,d){this.name=a,this.ast=s,this._normalizer=d,this.transitionFactories=[],this.states=new Map,s.states.forEach(m=>{this.states.set(m.name,new th(m.style,m.options&&m.options.params||{},d))}),kl(this.states,"true","1"),kl(this.states,"false","0"),s.transitions.forEach(m=>{this.transitionFactories.push(new Xu(a,m,this.states))}),this.fallbackTransition=function ya(u,a,s){return new Xu(u,{type:1,animation:{type:2,steps:[],options:null},matchers:[(R,X)=>!0],options:null,queryCount:0,depCount:0},a)}(a,this.states)}get containsQueries(){return this.ast.queryCount>0}matchTransition(a,s,d,m){return this.transitionFactories.find(R=>R.match(a,s,d,m))||null}matchStyles(a,s,d){return this.fallbackTransition.buildStyles(a,s,d)}}function kl(u,a,s){u.has(a)?u.has(s)||u.set(s,u.get(a)):u.has(s)&&u.set(a,u.get(s))}const oh=new ba;class id{constructor(a,s,d){this.bodyNode=a,this._driver=s,this._normalizer=d,this._animations=new Map,this._playersById=new Map,this.players=[]}register(a,s){const d=[],y=Ur(this._driver,s,d,[]);if(d.length)throw function Fu(u){return new l.vHH(3503,!1)}();this._animations.set(a,y)}_buildPlayer(a,s,d){const m=a.element,y=Bu(this._normalizer,a.keyframes,s,d);return this._driver.animate(m,y,a.duration,a.delay,a.easing,[],!0)}create(a,s,d={}){const m=[],y=this._animations.get(a);let R;const X=new Map;if(y?(R=ds(this._driver,s,y,Cl,As,new Map,new Map,d,oh,m),R.forEach(Tt=>{const zt=Io(X,Tt.element,new Map);Tt.postStyleProps.forEach(on=>zt.set(on,null))})):(m.push(function la(){return new l.vHH(3300,!1)}()),R=[]),m.length)throw function ca(u){return new l.vHH(3504,!1)}();X.forEach((Tt,zt)=>{Tt.forEach((on,xn)=>{Tt.set(xn,this._driver.computeStyle(zt,xn,yi.l3))})});const Ye=Jo(R.map(Tt=>{const zt=X.get(Tt.element);return this._buildPlayer(Tt,new Map,zt)}));return this._playersById.set(a,Ye),Ye.onDestroy(()=>this.destroy(a)),this.players.push(Ye),Ye}destroy(a){const s=this._getPlayer(a);s.destroy(),this._playersById.delete(a);const d=this.players.indexOf(s);d>=0&&this.players.splice(d,1)}_getPlayer(a){const s=this._playersById.get(a);if(!s)throw function da(u){return new l.vHH(3301,!1)}();return s}listen(a,s,d,m){const y=Kc(s,"","","");return bl(this._getPlayer(a),d,y,m),()=>{}}command(a,s,d,m){if("register"==d)return void this.register(a,m[0]);if("create"==d)return void this.create(a,s,m[0]||{});const y=this._getPlayer(a);switch(d){case"play":y.play();break;case"pause":y.pause();break;case"reset":y.reset();break;case"restart":y.restart();break;case"finish":y.finish();break;case"init":y.init();break;case"setPosition":y.setPosition(parseFloat(m[0]));break;case"destroy":this.destroy(a)}}}const rh="ng-animate-queued",rd="ng-animate-disabled",Up=[],lh={namespaceId:"",setForRemoval:!1,setForMove:!1,hasAnimation:!1,removedBeforeQueried:!1},Nl={namespaceId:"",setForMove:!1,setForRemoval:!1,hasAnimation:!1,removedBeforeQueried:!0},qo="__ng_removed";class sd{get params(){return this.options.params}constructor(a,s=""){this.namespaceId=s;const d=a&&a.hasOwnProperty("value");if(this.value=function ld(u){return u??null}(d?a.value:a),d){const y=ss(a);delete y.value,this.options=y}else this.options={};this.options.params||(this.options.params={})}absorbOptions(a){const s=a.params;if(s){const d=this.options.params;Object.keys(s).forEach(m=>{null==d[m]&&(d[m]=s[m])})}}}const xa="void",ad=new sd(xa);class jp{constructor(a,s,d){this.id=a,this.hostElement=s,this._engine=d,this.players=[],this._triggers=new Map,this._queue=[],this._elementListeners=new Map,this._hostClassName="ng-tns-"+a,ho(s,this._hostClassName)}listen(a,s,d,m){if(!this._triggers.has(s))throw function _l(u,a){return new l.vHH(3302,!1)}();if(null==d||0==d.length)throw function Yc(u){return new l.vHH(3303,!1)}();if(!function cd(u){return"start"==u||"done"==u}(d))throw function Wc(u,a){return new l.vHH(3400,!1)}();const y=Io(this._elementListeners,a,[]),R={name:s,phase:d,callback:m};y.push(R);const X=Io(this._engine.statesByElement,a,new Map);return X.has(s)||(ho(a,Os),ho(a,Os+"-"+s),X.set(s,ad)),()=>{this._engine.afterFlush(()=>{const pe=y.indexOf(R);pe>=0&&y.splice(pe,1),this._triggers.has(s)||X.delete(s)})}}register(a,s){return!this._triggers.has(a)&&(this._triggers.set(a,s),!0)}_getTrigger(a){const s=this._triggers.get(a);if(!s)throw function Nu(u){return new l.vHH(3401,!1)}();return s}trigger(a,s,d,m=!0){const y=this._getTrigger(s),R=new fs(this.id,s,a);let X=this._engine.statesByElement.get(a);X||(ho(a,Os),ho(a,Os+"-"+s),this._engine.statesByElement.set(a,X=new Map));let pe=X.get(s);const Ye=new sd(d,this.id);if(!(d&&d.hasOwnProperty("value"))&&pe&&Ye.absorbOptions(pe.options),X.set(s,Ye),pe||(pe=ad),Ye.value!==xa&&pe.value===Ye.value){if(!function uh(u,a){const s=Object.keys(u),d=Object.keys(a);if(s.length!=d.length)return!1;for(let m=0;m{cr(a,si),zo(a,pi)})}return}const on=Io(this._engine.playersByElement,a,[]);on.forEach(Cn=>{Cn.namespaceId==this.id&&Cn.triggerName==s&&Cn.queued&&Cn.destroy()});let xn=y.matchTransition(pe.value,Ye.value,a,Ye.params),dn=!1;if(!xn){if(!m)return;xn=y.fallbackTransition,dn=!0}return this._engine.totalQueuedPlayers++,this._queue.push({element:a,triggerName:s,transition:xn,fromState:pe,toState:Ye,player:R,isFallbackTransition:dn}),dn||(ho(a,rh),R.onStart(()=>{ur(a,rh)})),R.onDone(()=>{let Cn=this.players.indexOf(R);Cn>=0&&this.players.splice(Cn,1);const si=this._engine.playersByElement.get(a);if(si){let pi=si.indexOf(R);pi>=0&&si.splice(pi,1)}}),this.players.push(R),on.push(R),R}deregister(a){this._triggers.delete(a),this._engine.statesByElement.forEach(s=>s.delete(a)),this._elementListeners.forEach((s,d)=>{this._elementListeners.set(d,s.filter(m=>m.name!=a))})}clearElementCache(a){this._engine.statesByElement.delete(a),this._elementListeners.delete(a);const s=this._engine.playersByElement.get(a);s&&(s.forEach(d=>d.destroy()),this._engine.playersByElement.delete(a))}_signalRemovalForInnerTriggers(a,s){const d=this._engine.driver.query(a,Rs,!0);d.forEach(m=>{if(m[qo])return;const y=this._engine.fetchNamespacesByElement(m);y.size?y.forEach(R=>R.triggerLeaveAnimation(m,s,!1,!0)):this.clearElementCache(m)}),this._engine.afterFlushAnimationsDone(()=>d.forEach(m=>this.clearElementCache(m)))}triggerLeaveAnimation(a,s,d,m){const y=this._engine.statesByElement.get(a),R=new Map;if(y){const X=[];if(y.forEach((pe,Ye)=>{if(R.set(Ye,pe.value),this._triggers.has(Ye)){const Tt=this.trigger(a,Ye,xa,m);Tt&&X.push(Tt)}}),X.length)return this._engine.markElementAsRemoved(this.id,a,!0,s,R),d&&Jo(X).onDone(()=>this._engine.processLeaveNode(a)),!0}return!1}prepareLeaveAnimationListeners(a){const s=this._elementListeners.get(a),d=this._engine.statesByElement.get(a);if(s&&d){const m=new Set;s.forEach(y=>{const R=y.name;if(m.has(R))return;m.add(R);const pe=this._triggers.get(R).fallbackTransition,Ye=d.get(R)||ad,Tt=new sd(xa),zt=new fs(this.id,R,a);this._engine.totalQueuedPlayers++,this._queue.push({element:a,triggerName:R,transition:pe,fromState:Ye,toState:Tt,player:zt,isFallbackTransition:!0})})}}removeNode(a,s){const d=this._engine;if(a.childElementCount&&this._signalRemovalForInnerTriggers(a,s),this.triggerLeaveAnimation(a,s,!0))return;let m=!1;if(d.totalAnimations){const y=d.players.length?d.playersByQueriedElement.get(a):[];if(y&&y.length)m=!0;else{let R=a;for(;R=R.parentNode;)if(d.statesByElement.get(R)){m=!0;break}}}if(this.prepareLeaveAnimationListeners(a),m)d.markElementAsRemoved(this.id,a,!1,s);else{const y=a[qo];(!y||y===lh)&&(d.afterFlush(()=>this.clearElementCache(a)),d.destroyInnerAnimations(a),d._onRemovalComplete(a,s))}}insertNode(a,s){ho(a,this._hostClassName)}drainQueuedTransitions(a){const s=[];return this._queue.forEach(d=>{const m=d.player;if(m.destroyed)return;const y=d.element,R=this._elementListeners.get(y);R&&R.forEach(X=>{if(X.name==d.triggerName){const pe=Kc(y,d.triggerName,d.fromState.value,d.toState.value);pe._data=a,bl(d.player,X.phase,pe,X.callback)}}),m.markedForDestroy?this._engine.afterFlush(()=>{m.destroy()}):s.push(d)}),this._queue=[],s.sort((d,m)=>{const y=d.transition.ast.depCount,R=m.transition.ast.depCount;return 0==y||0==R?y-R:this._engine.driver.containsElement(d.element,m.element)?1:-1})}destroy(a){this.players.forEach(s=>s.destroy()),this._signalRemovalForInnerTriggers(this.hostElement,a)}}class ch{_onRemovalComplete(a,s){this.onRemovalComplete(a,s)}constructor(a,s,d){this.bodyNode=a,this.driver=s,this._normalizer=d,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=(m,y)=>{}}get queuedPlayers(){const a=[];return this._namespaceList.forEach(s=>{s.players.forEach(d=>{d.queued&&a.push(d)})}),a}createNamespace(a,s){const d=new jp(a,s,this);return this.bodyNode&&this.driver.containsElement(this.bodyNode,s)?this._balanceNamespaceList(d,s):(this.newHostElements.set(s,d),this.collectEnterElement(s)),this._namespaceLookup[a]=d}_balanceNamespaceList(a,s){const d=this._namespaceList,m=this.namespacesByHostElement;if(d.length-1>=0){let R=!1,X=this.driver.getParentElement(s);for(;X;){const pe=m.get(X);if(pe){const Ye=d.indexOf(pe);d.splice(Ye+1,0,a),R=!0;break}X=this.driver.getParentElement(X)}R||d.unshift(a)}else d.push(a);return m.set(s,a),a}register(a,s){let d=this._namespaceLookup[a];return d||(d=this.createNamespace(a,s)),d}registerTrigger(a,s,d){let m=this._namespaceLookup[a];m&&m.register(s,d)&&this.totalAnimations++}destroy(a,s){a&&(this.afterFlush(()=>{}),this.afterFlushAnimationsDone(()=>{const d=this._fetchNamespace(a);this.namespacesByHostElement.delete(d.hostElement);const m=this._namespaceList.indexOf(d);m>=0&&this._namespaceList.splice(m,1),d.destroy(s),delete this._namespaceLookup[a]}))}_fetchNamespace(a){return this._namespaceLookup[a]}fetchNamespacesByElement(a){const s=new Set,d=this.statesByElement.get(a);if(d)for(let m of d.values())if(m.namespaceId){const y=this._fetchNamespace(m.namespaceId);y&&s.add(y)}return s}trigger(a,s,d,m){if(Vs(s)){const y=this._fetchNamespace(a);if(y)return y.trigger(s,d,m),!0}return!1}insertNode(a,s,d,m){if(!Vs(s))return;const y=s[qo];if(y&&y.setForRemoval){y.setForRemoval=!1,y.setForMove=!0;const R=this.collectedLeaveElements.indexOf(s);R>=0&&this.collectedLeaveElements.splice(R,1)}if(a){const R=this._fetchNamespace(a);R&&R.insertNode(s,d)}m&&this.collectEnterElement(s)}collectEnterElement(a){this.collectedEnterElements.push(a)}markElementAsDisabled(a,s){s?this.disabledNodes.has(a)||(this.disabledNodes.add(a),ho(a,rd)):this.disabledNodes.has(a)&&(this.disabledNodes.delete(a),ur(a,rd))}removeNode(a,s,d){if(Vs(s)){const m=a?this._fetchNamespace(a):null;m?m.removeNode(s,d):this.markElementAsRemoved(a,s,!1,d);const y=this.namespacesByHostElement.get(s);y&&y.id!==a&&y.removeNode(s,d)}else this._onRemovalComplete(s,d)}markElementAsRemoved(a,s,d,m,y){this.collectedLeaveElements.push(s),s[qo]={namespaceId:a,setForRemoval:m,hasAnimation:d,removedBeforeQueried:!1,previousTriggersValues:y}}listen(a,s,d,m,y){return Vs(s)?this._fetchNamespace(a).listen(s,d,m,y):()=>{}}_buildInstruction(a,s,d,m,y){return a.transition.build(this.driver,a.element,a.fromState.value,a.toState.value,d,m,a.fromState.options,a.toState.options,s,y)}destroyInnerAnimations(a){let s=this.driver.query(a,Rs,!0);s.forEach(d=>this.destroyActiveAnimationsForElement(d)),0!=this.playersByQueriedElement.size&&(s=this.driver.query(a,wl,!0),s.forEach(d=>this.finishActiveQueriedAnimationOnElement(d)))}destroyActiveAnimationsForElement(a){const s=this.playersByElement.get(a);s&&s.forEach(d=>{d.queued?d.markedForDestroy=!0:d.destroy()})}finishActiveQueriedAnimationOnElement(a){const s=this.playersByQueriedElement.get(a);s&&s.forEach(d=>d.finish())}whenRenderingDone(){return new Promise(a=>{if(this.players.length)return Jo(this.players).onDone(()=>a());a()})}processLeaveNode(a){const s=a[qo];if(s&&s.setForRemoval){if(a[qo]=lh,s.namespaceId){this.destroyInnerAnimations(a);const d=this._fetchNamespace(s.namespaceId);d&&d.clearElementCache(a)}this._onRemovalComplete(a,s.setForRemoval)}a.classList?.contains(rd)&&this.markElementAsDisabled(a,!1),this.driver.query(a,".ng-animate-disabled",!0).forEach(d=>{this.markElementAsDisabled(d,!1)})}flush(a=-1){let s=[];if(this.newHostElements.size&&(this.newHostElements.forEach((d,m)=>this._balanceNamespaceList(d,m)),this.newHostElements.clear()),this.totalAnimations&&this.collectedEnterElements.length)for(let d=0;dd()),this._flushFns=[],this._whenQuietFns.length){const d=this._whenQuietFns;this._whenQuietFns=[],s.length?Jo(s).onDone(()=>{d.forEach(m=>m())}):d.forEach(m=>m())}}reportError(a){throw function rs(u){return new l.vHH(3402,!1)}()}_flushAnimations(a,s){const d=new ba,m=[],y=new Map,R=[],X=new Map,pe=new Map,Ye=new Map,Tt=new Set;this.disabledNodes.forEach(un=>{Tt.add(un);const vn=this.driver.query(un,".ng-animate-queued",!0);for(let Dn=0;Dn{const Dn=Cl+Cn++;dn.set(vn,Dn),un.forEach(Wn=>ho(Wn,Dn))});const si=[],pi=new Set,Ni=new Set;for(let un=0;unpi.add(Wn)):Ni.add(vn))}const qi=new Map,Yi=Bl(on,Array.from(pi));Yi.forEach((un,vn)=>{const Dn=As+Cn++;qi.set(vn,Dn),un.forEach(Wn=>ho(Wn,Dn))}),a.push(()=>{xn.forEach((un,vn)=>{const Dn=dn.get(vn);un.forEach(Wn=>ur(Wn,Dn))}),Yi.forEach((un,vn)=>{const Dn=qi.get(vn);un.forEach(Wn=>ur(Wn,Dn))}),si.forEach(un=>{this.processLeaveNode(un)})});const hr=[],bo=[];for(let un=this._namespaceList.length-1;un>=0;un--)this._namespaceList[un].drainQueuedTransitions(s).forEach(Dn=>{const Wn=Dn.player,Li=Dn.element;if(hr.push(Wn),this.collectedEnterElements.length){const Ki=Li[qo];if(Ki&&Ki.setForMove){if(Ki.previousTriggersValues&&Ki.previousTriggersValues.has(Dn.triggerName)){const Zr=Ki.previousTriggersValues.get(Dn.triggerName),eo=this.statesByElement.get(Dn.element);if(eo&&eo.has(Dn.triggerName)){const Yr=eo.get(Dn.triggerName);Yr.value=Zr,eo.set(Dn.triggerName,Yr)}}return void Wn.destroy()}}const Po=!zt||!this.driver.containsElement(zt,Li),Wi=qi.get(Li),Ir=dn.get(Li),Pi=this._buildInstruction(Dn,d,Ir,Wi,Po);if(Pi.errors&&Pi.errors.length)return void bo.push(Pi);if(Po)return Wn.onStart(()=>cr(Li,Pi.fromStyles)),Wn.onDestroy(()=>zo(Li,Pi.toStyles)),void m.push(Wn);if(Dn.isFallbackTransition)return Wn.onStart(()=>cr(Li,Pi.fromStyles)),Wn.onDestroy(()=>zo(Li,Pi.toStyles)),void m.push(Wn);const wh=[];Pi.timelines.forEach(Ki=>{Ki.stretchStartingKeyframe=!0,this.disabledNodes.has(Ki.element)||wh.push(Ki)}),Pi.timelines=wh,d.append(Li,Pi.timelines),R.push({instruction:Pi,player:Wn,element:Li}),Pi.queriedElements.forEach(Ki=>Io(X,Ki,[]).push(Wn)),Pi.preStyleProps.forEach((Ki,Zr)=>{if(Ki.size){let eo=pe.get(Zr);eo||pe.set(Zr,eo=new Set),Ki.forEach((Yr,Hs)=>eo.add(Hs))}}),Pi.postStyleProps.forEach((Ki,Zr)=>{let eo=Ye.get(Zr);eo||Ye.set(Zr,eo=new Set),Ki.forEach((Yr,Hs)=>eo.add(Hs))})});if(bo.length){const un=[];bo.forEach(vn=>{un.push(function Lu(u,a){return new l.vHH(3505,!1)}())}),hr.forEach(vn=>vn.destroy()),this.reportError(un)}const ro=new Map,Go=new Map;R.forEach(un=>{const vn=un.element;d.has(vn)&&(Go.set(vn,vn),this._beforeAnimationBuild(un.player.namespaceId,un.instruction,ro))}),m.forEach(un=>{const vn=un.element;this._getPreviousPlayers(vn,!1,un.namespaceId,un.triggerName,null).forEach(Wn=>{Io(ro,vn,[]).push(Wn),Wn.destroy()})});const Ro=si.filter(un=>Vl(un,pe,Ye)),er=new Map;Ll(er,this.driver,Ni,Ye,yi.l3).forEach(un=>{Vl(un,pe,Ye)&&Ro.push(un)});const fr=new Map;xn.forEach((un,vn)=>{Ll(fr,this.driver,new Set(un),pe,yi.k1)}),Ro.forEach(un=>{const vn=er.get(un),Dn=fr.get(un);er.set(un,new Map([...vn?.entries()??[],...Dn?.entries()??[]]))});const $r=[],$l=[],Ed={};R.forEach(un=>{const{element:vn,player:Dn,instruction:Wn}=un;if(d.has(vn)){if(Tt.has(vn))return Dn.onDestroy(()=>zo(vn,Wn.toStyles)),Dn.disabled=!0,Dn.overrideTotalTime(Wn.totalTime),void m.push(Dn);let Li=Ed;if(Go.size>1){let Wi=vn;const Ir=[];for(;Wi=Wi.parentNode;){const Pi=Go.get(Wi);if(Pi){Li=Pi;break}Ir.push(Wi)}Ir.forEach(Pi=>Go.set(Pi,Li))}const Po=this._buildAnimation(Dn.namespaceId,Wn,ro,y,fr,er);if(Dn.setRealPlayer(Po),Li===Ed)$r.push(Dn);else{const Wi=this.playersByElement.get(Li);Wi&&Wi.length&&(Dn.parentPlayer=Jo(Wi)),m.push(Dn)}}else cr(vn,Wn.fromStyles),Dn.onDestroy(()=>zo(vn,Wn.toStyles)),$l.push(Dn),Tt.has(vn)&&m.push(Dn)}),$l.forEach(un=>{const vn=y.get(un.element);if(vn&&vn.length){const Dn=Jo(vn);un.setRealPlayer(Dn)}}),m.forEach(un=>{un.parentPlayer?un.syncPlayerEvents(un.parentPlayer):un.destroy()});for(let un=0;un!Po.destroyed);Li.length?Ea(this,vn,Li):this.processLeaveNode(vn)}return si.length=0,$r.forEach(un=>{this.players.push(un),un.onDone(()=>{un.destroy();const vn=this.players.indexOf(un);this.players.splice(vn,1)}),un.play()}),$r}afterFlush(a){this._flushFns.push(a)}afterFlushAnimationsDone(a){this._whenQuietFns.push(a)}_getPreviousPlayers(a,s,d,m,y){let R=[];if(s){const X=this.playersByQueriedElement.get(a);X&&(R=X)}else{const X=this.playersByElement.get(a);if(X){const pe=!y||y==xa;X.forEach(Ye=>{Ye.queued||!pe&&Ye.triggerName!=m||R.push(Ye)})}}return(d||m)&&(R=R.filter(X=>!(d&&d!=X.namespaceId||m&&m!=X.triggerName))),R}_beforeAnimationBuild(a,s,d){const y=s.element,R=s.isRemovalTransition?void 0:a,X=s.isRemovalTransition?void 0:s.triggerName;for(const pe of s.timelines){const Ye=pe.element,Tt=Ye!==y,zt=Io(d,Ye,[]);this._getPreviousPlayers(Ye,Tt,R,X,s.toState).forEach(xn=>{const dn=xn.getRealPlayer();dn.beforeDestroy&&dn.beforeDestroy(),xn.destroy(),zt.push(xn)})}cr(y,s.fromStyles)}_buildAnimation(a,s,d,m,y,R){const X=s.triggerName,pe=s.element,Ye=[],Tt=new Set,zt=new Set,on=s.timelines.map(dn=>{const Cn=dn.element;Tt.add(Cn);const si=Cn[qo];if(si&&si.removedBeforeQueried)return new yi.ZN(dn.duration,dn.delay);const pi=Cn!==pe,Ni=function dh(u){const a=[];return dd(u,a),a}((d.get(Cn)||Up).map(ro=>ro.getRealPlayer())).filter(ro=>!!ro.element&&ro.element===Cn),qi=y.get(Cn),Yi=R.get(Cn),hr=Bu(this._normalizer,dn.keyframes,qi,Yi),bo=this._buildPlayer(dn,hr,Ni);if(dn.subTimeline&&m&&zt.add(Cn),pi){const ro=new fs(a,X,Cn);ro.setRealPlayer(bo),Ye.push(ro)}return bo});Ye.forEach(dn=>{Io(this.playersByQueriedElement,dn.element,[]).push(dn),dn.onDone(()=>function Ca(u,a,s){let d=u.get(a);if(d){if(d.length){const m=d.indexOf(s);d.splice(m,1)}0==d.length&&u.delete(a)}return d}(this.playersByQueriedElement,dn.element,dn))}),Tt.forEach(dn=>ho(dn,El));const xn=Jo(on);return xn.onDestroy(()=>{Tt.forEach(dn=>ur(dn,El)),zo(pe,s.toStyles)}),zt.forEach(dn=>{Io(m,dn,[]).push(xn)}),xn}_buildPlayer(a,s,d){return s.length>0?this.driver.animate(a.element,s,a.duration,a.delay,a.easing,d):new yi.ZN(a.duration,a.delay)}}class fs{constructor(a,s,d){this.namespaceId=a,this.triggerName=s,this.element=d,this._player=new yi.ZN,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(a){this._containsRealPlayer||(this._player=a,this._queuedCallbacks.forEach((s,d)=>{s.forEach(m=>bl(a,d,void 0,m))}),this._queuedCallbacks.clear(),this._containsRealPlayer=!0,this.overrideTotalTime(a.totalTime),this.queued=!1)}getRealPlayer(){return this._player}overrideTotalTime(a){this.totalTime=a}syncPlayerEvents(a){const s=this._player;s.triggerCallback&&a.onStart(()=>s.triggerCallback("start")),a.onDone(()=>this.finish()),a.onDestroy(()=>this.destroy())}_queueEvent(a,s){Io(this._queuedCallbacks,a,[]).push(s)}onDone(a){this.queued&&this._queueEvent("done",a),this._player.onDone(a)}onStart(a){this.queued&&this._queueEvent("start",a),this._player.onStart(a)}onDestroy(a){this.queued&&this._queueEvent("destroy",a),this._player.onDestroy(a)}init(){this._player.init()}hasStarted(){return!this.queued&&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(a){this.queued||this._player.setPosition(a)}getPosition(){return this.queued?0:this._player.getPosition()}triggerCallback(a){const s=this._player;s.triggerCallback&&s.triggerCallback(a)}}function Vs(u){return u&&1===u.nodeType}function Gr(u,a){const s=u.style.display;return u.style.display=a??"none",s}function Ll(u,a,s,d,m){const y=[];s.forEach(pe=>y.push(Gr(pe)));const R=[];d.forEach((pe,Ye)=>{const Tt=new Map;pe.forEach(zt=>{const on=a.computeStyle(Ye,zt,m);Tt.set(zt,on),(!on||0==on.length)&&(Ye[qo]=Nl,R.push(Ye))}),u.set(Ye,Tt)});let X=0;return s.forEach(pe=>Gr(pe,y[X++])),R}function Bl(u,a){const s=new Map;if(u.forEach(X=>s.set(X,[])),0==a.length)return s;const m=new Set(a),y=new Map;function R(X){if(!X)return 1;let pe=y.get(X);if(pe)return pe;const Ye=X.parentNode;return pe=s.has(Ye)?Ye:m.has(Ye)?1:R(Ye),y.set(X,pe),pe}return a.forEach(X=>{const pe=R(X);1!==pe&&s.get(pe).push(X)}),s}function ho(u,a){u.classList?.add(a)}function ur(u,a){u.classList?.remove(a)}function Ea(u,a,s){Jo(s).onDone(()=>u.processLeaveNode(a))}function dd(u,a){for(let s=0;sm.add(y)):a.set(u,d),s.delete(u),!0}class ps{constructor(a,s,d){this.bodyNode=a,this._driver=s,this._normalizer=d,this._triggerCache={},this.onRemovalComplete=(m,y)=>{},this._transitionEngine=new ch(a,s,d),this._timelineEngine=new id(a,s,d),this._transitionEngine.onRemovalComplete=(m,y)=>this.onRemovalComplete(m,y)}registerTrigger(a,s,d,m,y){const R=a+"-"+m;let X=this._triggerCache[R];if(!X){const pe=[],Tt=Ur(this._driver,y,pe,[]);if(pe.length)throw function aa(u,a){return new l.vHH(3404,!1)}();X=function nh(u,a,s){return new ih(u,a,s)}(m,Tt,this._normalizer),this._triggerCache[R]=X}this._transitionEngine.registerTrigger(s,m,X)}register(a,s){this._transitionEngine.register(a,s)}destroy(a,s){this._transitionEngine.destroy(a,s)}onInsert(a,s,d,m){this._transitionEngine.insertNode(a,s,d,m)}onRemove(a,s,d){this._transitionEngine.removeNode(a,s,d)}disableAnimations(a,s){this._transitionEngine.markElementAsDisabled(a,s)}process(a,s,d,m){if("@"==d.charAt(0)){const[y,R]=ha(d);this._timelineEngine.command(y,s,R,m)}else this._transitionEngine.trigger(a,s,d,m)}listen(a,s,d,m,y){if("@"==d.charAt(0)){const[R,X]=ha(d);return this._timelineEngine.listen(R,s,X,y)}return this._transitionEngine.listen(a,s,d,m,y)}flush(a=-1){this._transitionEngine.flush(a)}get players(){return[...this._transitionEngine.players,...this._timelineEngine.players]}whenRenderingDone(){return this._transitionEngine.whenRenderingDone()}afterFlushAnimationsDone(a){this._transitionEngine.afterFlushAnimationsDone(a)}}let fh=(()=>{class u{static#e=this.initialStylesByElement=new WeakMap;constructor(s,d,m){this._element=s,this._startStyles=d,this._endStyles=m,this._state=0;let y=u.initialStylesByElement.get(s);y||u.initialStylesByElement.set(s,y=new Map),this._initialStyles=y}start(){this._state<1&&(this._startStyles&&zo(this._element,this._startStyles,this._initialStyles),this._state=1)}finish(){this.start(),this._state<2&&(zo(this._element,this._initialStyles),this._endStyles&&(zo(this._element,this._endStyles),this._endStyles=null),this._state=1)}destroy(){this.finish(),this._state<3&&(u.initialStylesByElement.delete(this._element),this._startStyles&&(cr(this._element,this._startStyles),this._endStyles=null),this._endStyles&&(cr(this._element,this._endStyles),this._endStyles=null),zo(this._element,this._initialStyles),this._state=3)}}return u})();function Hl(u){let a=null;return u.forEach((s,d)=>{(function ud(u){return"display"===u||"position"===u})(d)&&(a=a||new Map,a.set(d,s))}),a}class hd{constructor(a,s,d,m){this.element=a,this.keyframes=s,this.options=d,this._specialStyles=m,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=d.duration,this._delay=d.delay||0,this.time=this._duration+this._delay}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(a=>a()),this._onDoneFns=[])}init(){this._buildPlayer(),this._preparePlayerBeforeStart()}_buildPlayer(){if(this._initialized)return;this._initialized=!0;const a=this.keyframes;this.domPlayer=this._triggerWebAnimation(this.element,a,this.options),this._finalKeyframe=a.length?a[a.length-1]:new Map,this.domPlayer.addEventListener("finish",()=>this._onFinish())}_preparePlayerBeforeStart(){this._delay?this._resetDomPlayerState():this.domPlayer.pause()}_convertKeyframesToObject(a){const s=[];return a.forEach(d=>{s.push(Object.fromEntries(d))}),s}_triggerWebAnimation(a,s,d){return a.animate(this._convertKeyframesToObject(s),d)}onStart(a){this._originalOnStartFns.push(a),this._onStartFns.push(a)}onDone(a){this._originalOnDoneFns.push(a),this._onDoneFns.push(a)}onDestroy(a){this._onDestroyFns.push(a)}play(){this._buildPlayer(),this.hasStarted()||(this._onStartFns.forEach(a=>a()),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(a=>a()),this._onDestroyFns=[])}setPosition(a){void 0===this.domPlayer&&this.init(),this.domPlayer.currentTime=a*this.time}getPosition(){return+(this.domPlayer.currentTime??0)/this.time}get totalTime(){return this._delay+this._duration}beforeDestroy(){const a=new Map;this.hasStarted()&&this._finalKeyframe.forEach((d,m)=>{"offset"!==m&&a.set(m,this._finished?d:ju(this.element,m))}),this.currentSnapshot=a}triggerCallback(a){const s="start"===a?this._onStartFns:this._onDoneFns;s.forEach(d=>d()),s.length=0}}class ph{validateStyleProperty(a){return!0}validateAnimatableStyleProperty(a){return!0}matchesElement(a,s){return!1}containsElement(a,s){return Jc(a,s)}getParentElement(a){return yl(a)}query(a,s,d){return jo(a,s,d)}computeStyle(a,s,d){return window.getComputedStyle(a)[s]}animate(a,s,d,m,y,R=[]){const pe={duration:d,delay:m,fill:0==m?"both":"forwards"};y&&(pe.easing=y);const Ye=new Map,Tt=R.filter(xn=>xn instanceof hd);(function Fp(u,a){return 0===u||0===a})(d,m)&&Tt.forEach(xn=>{xn.currentSnapshot.forEach((dn,Cn)=>Ye.set(Cn,dn))});let zt=function Hu(u){return u.length?u[0]instanceof Map?u:u.map(a=>as(a)):[]}(s).map(xn=>Mr(xn));zt=function Uu(u,a,s){if(s.size&&a.length){let d=a[0],m=[];if(s.forEach((y,R)=>{d.has(R)||m.push(R),d.set(R,y)}),m.length)for(let y=1;yR.set(X,ju(u,X)))}}return a}(a,zt,Ye);const on=function hh(u,a){let s=null,d=null;return Array.isArray(a)&&a.length?(s=Hl(a[0]),a.length>1&&(d=Hl(a[a.length-1]))):a instanceof Map&&(s=Hl(a)),s||d?new fh(u,s,d):null}(a,zt);return new hd(a,zt,pe,on)}}let _o=(()=>{class u extends yi._j{constructor(s,d){super(),this._nextAnimationId=0,this._renderer=s.createRenderer(d.body,{id:"0",encapsulation:l.ifc.None,styles:[],data:{animation:[]}})}build(s){const d=this._nextAnimationId.toString();this._nextAnimationId++;const m=Array.isArray(s)?(0,yi.vP)(s):s;return wa(this._renderer,null,d,"register",[m]),new Ul(d,this._renderer)}static#e=this.\u0275fac=function(d){return new(d||u)(l.LFG(l.FYo),l.LFG(K.K0))};static#t=this.\u0275prov=l.Yz7({token:u,factory:u.\u0275fac})}return u})();class Ul extends yi.LC{constructor(a,s){super(),this._id=a,this._renderer=s}create(a,s){return new fd(this._id,a,s||{},this._renderer)}}class fd{constructor(a,s,d,m){this.id=a,this.element=s,this._renderer=m,this.parentPlayer=null,this._started=!1,this.totalTime=0,this._command("create",d)}_listen(a,s){return this._renderer.listen(this.element,`@@${this.id}:${a}`,s)}_command(a,...s){return wa(this._renderer,this.element,this.id,a,s)}onDone(a){this._listen("done",a)}onStart(a){this._listen("start",a)}onDestroy(a){this._listen("destroy",a)}init(){this._command("init")}hasStarted(){return this._started}play(){this._command("play"),this._started=!0}pause(){this._command("pause")}restart(){this._command("restart")}finish(){this._command("finish")}destroy(){this._command("destroy")}reset(){this._command("reset"),this._started=!1}setPosition(a){this._command("setPosition",a)}getPosition(){return this._renderer.engine.players[+this.id]?.getPosition()??0}}function wa(u,a,s,d,m){return u.setProperty(a,`@@${s}:${d}`,m)}const ms="@.disabled";let pd=(()=>{class u{constructor(s,d,m){this.delegate=s,this.engine=d,this._zone=m,this._currentId=0,this._microtaskId=1,this._animationCallbacksBuffer=[],this._rendererCache=new Map,this._cdRecurDepth=0,d.onRemovalComplete=(y,R)=>{const X=R?.parentNode(y);X&&R.removeChild(X,y)}}createRenderer(s,d){const y=this.delegate.createRenderer(s,d);if(!(s&&d&&d.data&&d.data.animation)){let Tt=this._rendererCache.get(y);return Tt||(Tt=new jl("",y,this.engine,()=>this._rendererCache.delete(y)),this._rendererCache.set(y,Tt)),Tt}const R=d.id,X=d.id+"-"+this._currentId;this._currentId++,this.engine.register(X,s);const pe=Tt=>{Array.isArray(Tt)?Tt.forEach(pe):this.engine.registerTrigger(R,X,s,Tt.name,Tt)};return d.data.animation.forEach(pe),new mh(this,X,y,this.engine)}begin(){this._cdRecurDepth++,this.delegate.begin&&this.delegate.begin()}_scheduleCountTask(){queueMicrotask(()=>{this._microtaskId++})}scheduleListenerCallback(s,d,m){s>=0&&sd(m)):(0==this._animationCallbacksBuffer.length&&queueMicrotask(()=>{this._zone.run(()=>{this._animationCallbacksBuffer.forEach(y=>{const[R,X]=y;R(X)}),this._animationCallbacksBuffer=[]})}),this._animationCallbacksBuffer.push([d,m]))}end(){this._cdRecurDepth--,0==this._cdRecurDepth&&this._zone.runOutsideAngular(()=>{this._scheduleCountTask(),this.engine.flush(this._microtaskId)}),this.delegate.end&&this.delegate.end()}whenRenderingDone(){return this.engine.whenRenderingDone()}static#e=this.\u0275fac=function(d){return new(d||u)(l.LFG(l.FYo),l.LFG(ps),l.LFG(l.R0b))};static#t=this.\u0275prov=l.Yz7({token:u,factory:u.\u0275fac})}return u})();class jl{constructor(a,s,d,m){this.namespaceId=a,this.delegate=s,this.engine=d,this._onDestroy=m}get data(){return this.delegate.data}destroyNode(a){this.delegate.destroyNode?.(a)}destroy(){this.engine.destroy(this.namespaceId,this.delegate),this.engine.afterFlushAnimationsDone(()=>{queueMicrotask(()=>{this.delegate.destroy()})}),this._onDestroy?.()}createElement(a,s){return this.delegate.createElement(a,s)}createComment(a){return this.delegate.createComment(a)}createText(a){return this.delegate.createText(a)}appendChild(a,s){this.delegate.appendChild(a,s),this.engine.onInsert(this.namespaceId,s,a,!1)}insertBefore(a,s,d,m=!0){this.delegate.insertBefore(a,s,d),this.engine.onInsert(this.namespaceId,s,a,m)}removeChild(a,s,d){this.engine.onRemove(this.namespaceId,s,this.delegate)}selectRootElement(a,s){return this.delegate.selectRootElement(a,s)}parentNode(a){return this.delegate.parentNode(a)}nextSibling(a){return this.delegate.nextSibling(a)}setAttribute(a,s,d,m){this.delegate.setAttribute(a,s,d,m)}removeAttribute(a,s,d){this.delegate.removeAttribute(a,s,d)}addClass(a,s){this.delegate.addClass(a,s)}removeClass(a,s){this.delegate.removeClass(a,s)}setStyle(a,s,d,m){this.delegate.setStyle(a,s,d,m)}removeStyle(a,s,d){this.delegate.removeStyle(a,s,d)}setProperty(a,s,d){"@"==s.charAt(0)&&s==ms?this.disableAnimations(a,!!d):this.delegate.setProperty(a,s,d)}setValue(a,s){this.delegate.setValue(a,s)}listen(a,s,d){return this.delegate.listen(a,s,d)}disableAnimations(a,s){this.engine.disableAnimations(a,s)}}class mh extends jl{constructor(a,s,d,m,y){super(s,d,m,y),this.factory=a,this.namespaceId=s}setProperty(a,s,d){"@"==s.charAt(0)?"."==s.charAt(1)&&s==ms?this.disableAnimations(a,d=void 0===d||!!d):this.engine.process(this.namespaceId,a,s.slice(1),d):this.delegate.setProperty(a,s,d)}listen(a,s,d){if("@"==s.charAt(0)){const m=function md(u){switch(u){case"body":return document.body;case"document":return document;case"window":return window;default:return u}}(a);let y=s.slice(1),R="";return"@"!=y.charAt(0)&&([y,R]=function gh(u){const a=u.indexOf(".");return[u.substring(0,a),u.slice(a+1)]}(y)),this.engine.listen(this.namespaceId,m,y,R,X=>{this.factory.scheduleListenerCallback(X._data||-1,d,X)})}return this.delegate.listen(a,s,d)}}const bd=[{provide:yi._j,useClass:_o},{provide:va,useFactory:function _h(){return new us}},{provide:ps,useClass:(()=>{class u extends ps{constructor(s,d,m,y){super(s.body,d,m)}ngOnDestroy(){this.flush()}static#e=this.\u0275fac=function(d){return new(d||u)(l.LFG(K.K0),l.LFG(Ss),l.LFG(va),l.LFG(l.z2F))};static#t=this.\u0275prov=l.Yz7({token:u,factory:u.\u0275fac})}return u})()},{provide:l.FYo,useFactory:function _d(u,a,s){return new pd(u,a,s)},deps:[n.se,ps,l.R0b]}],bh=[{provide:Ss,useFactory:()=>new ph},{provide:l.QbO,useValue:"BrowserAnimations"},...bd];var yh=p(9862),yd=p(7326),xd=p(8877),Ta=p(2296),Sr=p(617);function Ma(u,a){if(1&u&&(l.TgZ(0,"li",16)(1,"a",17),l._uU(2),l.qZA()()),2&u){const s=a.$implicit,d=l.oxw(2).$implicit;l.xp6(1),l.Q6J("routerLink",d.route)("fragment",s.route),l.xp6(1),l.hij("",s.name," ")}}function Cd(u,a){if(1&u&&(l.TgZ(0,"ul",14),l.YNc(1,Ma,3,3,"li",15),l.qZA()),2&u){const s=l.oxw().$implicit;l.xp6(1),l.Q6J("ngForOf",s.children)}}function Gl(u,a){if(1&u&&(l.TgZ(0,"li",11)(1,"a",12),l._uU(2),l.qZA(),l.YNc(3,Cd,2,1,"ul",13),l.qZA()),2&u){const s=a.$implicit;l.xp6(1),l.Q6J("routerLink",s.route),l.xp6(1),l.Oqu(s.name),l.xp6(1),l.Q6J("ngIf",s.children.length>0)}}let Sa=(()=>{class u{constructor(s){this.router=s,this.menu=[{name:"Getting started",route:"getting-started",children:[]},{name:"Basic controls",route:"basic-controls",children:[{name:"Text",route:"text"},{name:"Number",route:"number"},{name:"Switch",route:"switch"},{name:"Slider",route:"slider"},{name:"Fill",route:"fill"},{name:"Select",route:"select"},{name:"Button Toggle",route:"button_toggle"},{name:"Image Select",route:"image_select"},{name:"Textarea",route:"textarea"},{name:"Hidden",route:"hidden"}]},{name:"Group controls",route:"group-controls",children:[{name:"Group",route:"group"},{name:"Inline Group",route:"inline_group"},{name:"Tabs",route:"tabs"},{name:"Menu",route:"menu"}]},{name:"Media controls",route:"media-controls",children:[{name:"Upload Settings",route:"upload_settings"},{name:"Image",route:"image"},{name:"Video",route:"video"},{name:"Audio",route:"audio"},{name:"File",route:"file"}]},{name:"Playground",route:"playground",children:[]}],this.menuOpened=!1,this.router.events.pipe((0,ct.h)(d=>d instanceof A)).subscribe(d=>{this.menuOpened=!1})}static#e=this.\u0275fac=function(d){return new(d||u)(l.Y36(po))};static#t=this.\u0275cmp=l.Xpm({type:u,selectors:[["app-layout"]],hostAttrs:[1,"container-wrap"],standalone:!0,features:[l.jDz],decls:19,vars:5,consts:[["mat-icon-button","",1,"menu-toggle",3,"click"],["svgIcon","menu"],["routerLink","/",1,"brand"],[1,"spacer"],["mat-icon-button","","href","https://github.com/acrodata/gui","target","_blank"],["svgIcon","github"],[1,"container"],["role","navigation",1,"menu"],["class","menu-item","routerLinkActive","active",4,"ngFor","ngForOf"],["href","https://github.com/nzbin","target","_blank"],[1,"backdrop",3,"click"],["routerLinkActive","active",1,"menu-item"],["role","button",3,"routerLink"],["class","submenu",4,"ngIf"],[1,"submenu"],["class","submenu-item",4,"ngFor","ngForOf"],[1,"submenu-item"],["role","button",3,"routerLink","fragment"]],template:function(d,m){1&d&&(l.TgZ(0,"header")(1,"button",0),l.NdJ("click",function(){return m.menuOpened=!m.menuOpened}),l._UZ(2,"mat-icon",1),l.qZA(),l.TgZ(3,"a",2),l._uU(4,"Acrodata GUI"),l.qZA(),l._UZ(5,"span",3),l.TgZ(6,"a",4),l._UZ(7,"mat-icon",5),l.qZA()(),l.TgZ(8,"div",6)(9,"aside")(10,"ul",7),l.YNc(11,Gl,4,3,"li",8),l.qZA()(),l.TgZ(12,"main"),l._UZ(13,"router-outlet"),l.TgZ(14,"footer"),l._uU(15,"\xa9 2023 Made with \u2764\ufe0f by "),l.TgZ(16,"a",9),l._uU(17,"nzbin"),l.qZA()()()(),l.TgZ(18,"div",10),l.NdJ("click",function(){return m.menuOpened=!1}),l.qZA()),2&d&&(l.xp6(9),l.ekj("show",m.menuOpened),l.xp6(2),l.Q6J("ngForOf",m.menu),l.xp6(7),l.ekj("show",m.menuOpened))},dependencies:[K.ez,K.sg,K.O5,wn,Cs,Lr,Ta.ot,Ta.o6,Ta.RK,Sr.Ps,Sr.Hw],styles:['.container-wrap{display:block;max-width:1280px;padding:0 64px;margin:0 auto}.container{display:flex;gap:32px}main{flex:1;width:0;padding-top:16px}aside{position:sticky;top:0;display:block;width:240px;height:100vh;padding:16px 0 32px;overflow:auto;background-color:var(--bg-color)}header{display:flex;align-items:center;height:64px;border-bottom:1px solid var(--border-color);background-color:var(--bg-translucent-color);-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px)}footer{padding:32px 0;margin-top:64px;font-size:.75rem;text-align:center}.menu,.submenu{padding:0;margin:0;list-style-type:none}.menu a,.submenu a{position:relative;display:block;padding:8px 16px;border-radius:8px;text-decoration:none}.menu a:hover,.submenu a:hover{background-color:var(--bg-secondary-color)}.menu-item>a{margin-top:24px;font-weight:500;color:var(--fg-color)}.menu-item.active>a:before{content:"";position:absolute;top:12px;left:0;display:inline-block;width:4px;height:16px;background-color:currentColor;border-radius:2px}.menu-item:first-child>a{margin-top:0}.submenu-item>a{color:var(--fg-secondary-color)}.brand{padding:0 16px;color:var(--heading-color);font-size:20px;font-weight:600}.spacer{flex-grow:1}@media (width <= 960px){.container-wrap{padding:0 32px}aside{position:fixed;top:0;bottom:0;left:0;z-index:20;transform:translate(-100%);transition:transform .3s ease-in-out}aside.show{transform:none}.backdrop{position:fixed;top:0;left:0;z-index:19;width:100vw;height:100vh;visibility:hidden;transition-duration:.4s;transition-timing-function:cubic-bezier(.25,.8,.25,1);transition-property:background-color,visibility}.backdrop.show{background-color:#00000080;visibility:visible}header{position:sticky;top:0;z-index:10}.brand{padding:0 8px}}@media (width <= 600px){.container-wrap{padding:0 16px}}@media (width > 960px){.mat-mdc-icon-button.menu-toggle{display:none}}a.mat-mdc-icon-button{display:inline-flex}a.mat-mdc-icon-button .mat-icon{line-height:1}\n'],encapsulation:2})}return u})();var xh=p(1978);const Ch={providers:[function Ic(u,...a){return(0,l.MR2)([{provide:F,multi:!0,useValue:u},[],{provide:Ji,useFactory:ul,deps:[po]},{provide:l.tb,multi:!0,useFactory:Ac},a.map(s=>s.\u0275providers)])}([{path:"",component:Sa,children:[{path:"",redirectTo:"home",pathMatch:"full"},{path:"home",component:(()=>{class u{static#e=this.\u0275fac=function(d){return new(d||u)};static#t=this.\u0275cmp=l.Xpm({type:u,selectors:[["app-home"]],standalone:!0,features:[l.jDz],decls:19,vars:0,consts:[["id","features"],["href","home#features"],["href","https://angular.io/guide/reactive-forms","target","_blank"]],template:function(d,m){1&d&&(l._UZ(0,"app-gradient-generator"),l.TgZ(1,"h2",0)(2,"a",1),l._uU(3,"Features"),l.qZA()(),l.TgZ(4,"ul")(5,"li"),l._uU(6,"Built on top of "),l.TgZ(7,"a",2),l._uU(8,"Angular Reactive Forms"),l.qZA()(),l.TgZ(9,"li"),l._uU(10,"JSON powered config"),l.qZA(),l.TgZ(11,"li"),l._uU(12,"Easy to understand config and model"),l.qZA(),l.TgZ(13,"li"),l._uU(14,"Uses Angular Material as basic UI library"),l.qZA(),l.TgZ(15,"li"),l._uU(16,"A11y support"),l.qZA(),l.TgZ(17,"li"),l._uU(18,"RTL support"),l.qZA()())},dependencies:[xh.Lq]})}return u})()},{path:"getting-started",loadComponent:()=>p.e(923).then(p.bind(p,6923)).then(u=>u.GettingStartedComponent)},{path:"basic-controls",loadComponent:()=>p.e(254).then(p.bind(p,5254)).then(u=>u.BasicControlsComponent)},{path:"media-controls",loadComponent:()=>p.e(914).then(p.bind(p,8914)).then(u=>u.MediaControlsComponent)},{path:"group-controls",loadComponent:()=>p.e(832).then(p.bind(p,4832)).then(u=>u.GroupControlsComponent)},{path:"playground",loadComponent:()=>p.e(346).then(p.bind(p,8346)).then(u=>u.PlaygroundComponent)}]},{path:"**",redirectTo:"home"}],function wp(u={}){return function Qo(u,a){return{\u0275kind:u,\u0275providers:a}}(4,[{provide:oa,useFactory:()=>{const s=(0,l.f3M)(K.EM),d=(0,l.f3M)(l.R0b),m=(0,l.f3M)(ni),y=(0,l.f3M)(An);return new Sc(y,m,s,d,u)}}])}({scrollPositionRestoration:"enabled",anchorScrolling:"enabled"})),function vh(){return[...bh]}(),(0,yh.h_)(),(0,l.RIp)(xd.nm.forRoot({baseUrl:"assets/lib"})),{provide:yd.rN,useValue:{coreLibraryLoader:()=>p.e(373).then(p.bind(p,4373)),languages:{typescript:()=>p.e(266).then(p.bind(p,5266)),scss:()=>p.e(164).then(p.bind(p,4164)),xml:()=>p.e(668).then(p.bind(p,2668)),json:()=>p.e(576).then(p.bind(p,1576))}}}]};(0,n.Cg)((()=>{class u{constructor(s,d){this.title="docs",this.icons=["menu","github"];for(const m of this.icons)s.addSvgIcon(m,d.bypassSecurityTrustResourceUrl(`assets/icons/${m}.svg`))}static#e=this.\u0275fac=function(d){return new(d||u)(l.Y36(Sr.jv),l.Y36(n.H7))};static#t=this.\u0275cmp=l.Xpm({type:u,selectors:[["app-root"]],standalone:!0,features:[l.jDz],decls:1,vars:0,template:function(d,m){1&d&&l._UZ(0,"router-outlet")},dependencies:[K.ez,wn],encapsulation:2})}return u})(),Ch).catch(u=>console.error(u))},7836:(_t,Me,p)=>{p.d(Me,{E:()=>w});var n=p(5879),l=p(9862);let w=(()=>{class E{constructor(Q){this.http=Q,this.url="",this.params={}}upload(Q){return this.http.post(this.url,Q,{reportProgress:!0,observe:"events",params:this.params})}static#e=this.\u0275fac=function(ne){return new(ne||E)(n.LFG(l.eN))};static#t=this.\u0275prov=n.Yz7({token:E,factory:E.\u0275fac})}return E})()},3383:(_t,Me,p)=>{p.d(Me,{s:()=>Ji});var n=p(5879),l=p(6223),w=p(7394),E=p(6814),H=p(617),Q=p(2296),ne=p(4104),we=p(3305),ie=p(9157),J=p(4516);function xe(b,z){const h=new Function("obj",'var p=[],print=function(){p.push.apply(p,arguments);};with(obj){p.push("'+b.replace(/[\r\t\n]/g," ").split("<%").join("\t").replace(/((^|%>)[^\t]*)'/g,"$1\r").replace(/\t=(.*?)%>/g,'",$1,"').split("\t").join('");').split("%>").join('p.push("').split("\r").join('"')+'");}return p.join("");');return z?h(z):h}let fe=(()=>{class b{transform(h,M={}){return xe(h,M)}static#e=this.\u0275fac=function(M){return new(M||b)};static#t=this.\u0275pipe=n.Yjl({name:"ejs",type:b,pure:!0})}return b})(),ce=(()=>{class b{constructor(h){this.el=h,this.flex=100}ngOnInit(){this.el.nativeElement.style.flex=`1 1 ${this.flex}%`,this.el.nativeElement.style.maxWidth=`${this.flex}%`}static#e=this.\u0275fac=function(M){return new(M||b)(n.Y36(n.SBq))};static#t=this.\u0275dir=n.lG2({type:b,selectors:[["","flex",""]],inputs:{flex:"flex"}})}return b})();var De=p(2596);function Ae(b,z){if(1&b&&(n.TgZ(0,"span"),n._uU(1),n.qZA()),2&b){const h=n.oxw();n.xp6(1),n.Oqu(h.title)}}function Le(b,z){if(1&b&&(n.TgZ(0,"span",2),n._uU(1),n.qZA()),2&b){const h=n.oxw();n.ekj("gui-field-label-with-description",h.config.description),n.Q6J("matTooltip",h.config.description),n.xp6(1),n.Oqu(h.title)}}let se=(()=>{class b{constructor(){this.config={},this.title="",this.styless=!1}ngOnChanges(){const{index:h,name:M,parentType:T,type:Re}=this.config;this.title=null==h||isNaN(h)?M:xe(M||"",{i:h}),this.styless="inline"===T&&"inline"!==Re||"group"===Re||"tabs"===Re}static#e=this.\u0275fac=function(M){return new(M||b)};static#t=this.\u0275cmp=n.Xpm({type:b,selectors:[["gui-field-label"]],hostVars:3,hostBindings:function(M,T){2&M&&(n.Ikx("title",T.title),n.ekj("gui-field-label",!T.styless))},inputs:{config:"config",index:"index"},features:[n.TTD],decls:2,vars:2,consts:[[4,"ngIf"],["matTooltipPosition","above","matTooltipClass","gui-field-label-tooltip",3,"gui-field-label-with-description","matTooltip",4,"ngIf"],["matTooltipPosition","above","matTooltipClass","gui-field-label-tooltip",3,"matTooltip"]],template:function(M,T){1&M&&(n.YNc(0,Ae,2,1,"span",0),n.YNc(1,Le,2,4,"span",1)),2&M&&(n.Q6J("ngIf",!T.config.description),n.xp6(1),n.Q6J("ngIf",T.config.description))},dependencies:[E.O5,De.gM],styles:[".gui-field-label{display:inline-block;width:64px;height:24px;padding:0 4px;line-height:24px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.gui-field-label-with-description{-webkit-text-decoration:underline dotted;text-decoration:underline dotted;cursor:help}\n"],encapsulation:2,changeDetection:0})}return b})();function ue(b,z){if(1&b&&(n.TgZ(0,"span",4),n._uU(1),n.qZA()),2&b){const h=n.oxw();n.xp6(1),n.Oqu(h.config.prefix)}}function ze(b,z){if(1&b&&(n.TgZ(0,"span",5),n._uU(1),n.qZA()),2&b){const h=n.oxw();n.xp6(1),n.Oqu(h.config.suffix)}}function oe(b,z){if(1&b&&(n.TgZ(0,"mat-hint"),n._UZ(1,"gui-field-label",6),n.qZA()),2&b){const h=n.oxw();n.xp6(1),n.Q6J("config",h.config)}}let N=(()=>{class b{constructor(h){this.cdr=h,this.config={},this.disabled=!1,this.value="",this.onChange=()=>{},this.onTouched=()=>{}}writeValue(h){this.value=h,this.cdr.markForCheck()}registerOnChange(h){this.onChange=h}registerOnTouched(h){this.onTouched=h}setDisabledState(h){this.disabled=h,this.cdr.markForCheck()}onValueChange(){this.onChange(this.value)}static#e=this.\u0275fac=function(M){return new(M||b)(n.Y36(n.sBO))};static#t=this.\u0275cmp=n.Xpm({type:b,selectors:[["gui-input-text"]],hostAttrs:[1,"gui-field","gui-input-text"],inputs:{config:"config",disabled:"disabled"},features:[n._Bn([{provide:l.JU,useExisting:(0,n.Gpc)(()=>b),multi:!0}])],decls:5,vars:6,consts:[["matPrefix","",4,"ngIf"],["matInput","","type","text",3,"ngModel","disabled","placeholder","ngModelChange","change"],["matSuffix","",4,"ngIf"],[4,"ngIf"],["matPrefix",""],["matSuffix",""],[3,"config"]],template:function(M,T){1&M&&(n.TgZ(0,"mat-form-field"),n.YNc(1,ue,2,1,"span",0),n.TgZ(2,"input",1),n.NdJ("ngModelChange",function(Ge){return T.value=Ge})("change",function(){return T.onValueChange()}),n.qZA(),n.YNc(3,ze,2,1,"span",2),n.YNc(4,oe,2,1,"mat-hint",3),n.qZA()),2&M&&(n.xp6(1),n.Q6J("ngIf",T.config.prefix),n.xp6(1),n.Q6J("ngModel",T.value)("disabled",T.disabled)("placeholder",T.config.placeholder||""),n.xp6(1),n.Q6J("ngIf",T.config.suffix),n.xp6(1),n.Q6J("ngIf","inline"===T.config.parentType))},dependencies:[E.O5,l.Fj,l.JJ,l.On,ie.KE,ie.bx,ie.qo,ie.R9,J.Nt,se],encapsulation:2,changeDetection:0})}return b})();function Ce(b,z){if(1&b&&(n.TgZ(0,"span",4),n._uU(1),n.qZA()),2&b){const h=n.oxw();n.xp6(1),n.Oqu(h.config.prefix)}}function K(b,z){if(1&b&&(n.TgZ(0,"span",5),n._uU(1),n.qZA()),2&b){const h=n.oxw();n.xp6(1),n.Oqu(h.config.suffix)}}function ve(b,z){if(1&b&&(n.TgZ(0,"mat-hint"),n._UZ(1,"gui-field-label",6),n.qZA()),2&b){const h=n.oxw();n.xp6(1),n.Q6J("config",h.config)}}let ye=(()=>{class b{constructor(h){this.cdr=h,this.config={},this.disabled=!1,this.onChange=()=>{},this.onTouched=()=>{}}writeValue(h){this.value=h,this.cdr.markForCheck()}registerOnChange(h){this.onChange=h}registerOnTouched(h){this.onTouched=h}setDisabledState(h){this.disabled=h,this.cdr.markForCheck()}onValueChange(){this.onChange(this.value)}static#e=this.\u0275fac=function(M){return new(M||b)(n.Y36(n.sBO))};static#t=this.\u0275cmp=n.Xpm({type:b,selectors:[["gui-input-number"]],hostAttrs:[1,"gui-field","gui-input-number"],inputs:{config:"config",disabled:"disabled"},features:[n._Bn([{provide:l.JU,useExisting:(0,n.Gpc)(()=>b),multi:!0}])],decls:5,vars:9,consts:[["matPrefix","",4,"ngIf"],["matInput","","type","number",3,"ngModel","disabled","placeholder","step","min","max","ngModelChange","change"],["matSuffix","",4,"ngIf"],[4,"ngIf"],["matPrefix",""],["matSuffix",""],[3,"config"]],template:function(M,T){1&M&&(n.TgZ(0,"mat-form-field"),n.YNc(1,Ce,2,1,"span",0),n.TgZ(2,"input",1),n.NdJ("ngModelChange",function(Ge){return T.value=Ge})("change",function(){return T.onValueChange()}),n.qZA(),n.YNc(3,K,2,1,"span",2),n.YNc(4,ve,2,1,"mat-hint",3),n.qZA()),2&M&&(n.xp6(1),n.Q6J("ngIf",T.config.prefix),n.xp6(1),n.Q6J("ngModel",T.value)("disabled",T.disabled)("placeholder",T.config.placeholder||"")("step",T.config.step)("min",T.config.min)("max",T.config.max),n.xp6(1),n.Q6J("ngIf",T.config.suffix),n.xp6(1),n.Q6J("ngIf","inline"===T.config.parentType))},dependencies:[E.O5,l.Fj,l.wV,l.JJ,l.qQ,l.Fd,l.On,ie.KE,ie.bx,ie.qo,ie.R9,J.Nt,se],styles:[".gui-input-number .mat-mdc-text-field-wrapper{padding-right:0}[dir=rtl] .gui-input-number .mat-mdc-text-field-wrapper{padding-left:0}\n"],encapsulation:2,changeDetection:0})}return b})();var He=p(8525),ft=p(3680);function ct(b,z){if(1&b&&(n.TgZ(0,"span",5),n._uU(1),n.qZA()),2&b){const h=n.oxw();n.xp6(1),n.Oqu(h.config.prefix)}}const xt=function(b){return{fontFamily:b}};function Ut(b,z){if(1&b&&(n.TgZ(0,"mat-option",6)(1,"span"),n._uU(2),n.qZA()()),2&b){const h=z.$implicit,M=n.oxw();n.Q6J("value",h.value)("disabled",h.disabled),n.xp6(1),n.Akn(n.VKq(5,xt,M.config.useFont?h.value:"")),n.xp6(1),n.Oqu(h.label)}}function It(b,z){if(1&b&&(n.TgZ(0,"span",7),n._uU(1),n.qZA()),2&b){const h=n.oxw();n.xp6(1),n.Oqu(h.config.suffix)}}function sn(b,z){if(1&b&&(n.TgZ(0,"mat-hint"),n._UZ(1,"gui-field-label",8),n.qZA()),2&b){const h=n.oxw();n.xp6(1),n.Q6J("config",h.config)}}let Xe=(()=>{class b{constructor(h){this.cdr=h,this.config={},this.disabled=!1,this.value="",this.onChange=()=>{},this.onTouched=()=>{}}writeValue(h){this.value=h,this.cdr.markForCheck()}registerOnChange(h){this.onChange=h}registerOnTouched(h){this.onTouched=h}setDisabledState(h){this.disabled=h,this.cdr.markForCheck()}onValueChange(){this.onChange(this.value)}static#e=this.\u0275fac=function(M){return new(M||b)(n.Y36(n.sBO))};static#t=this.\u0275cmp=n.Xpm({type:b,selectors:[["gui-select"]],hostAttrs:[1,"gui-field","gui-select"],inputs:{config:"config",disabled:"disabled"},features:[n._Bn([{provide:l.JU,useExisting:(0,n.Gpc)(()=>b),multi:!0}])],decls:6,vars:8,consts:[["matPrefix","",4,"ngIf"],["panelClass","gui-select","hideSingleSelectionIndicator","","disableRipple","",3,"ngModel","disabled","placeholder","multiple","ngModelChange","selectionChange"],[3,"value","disabled",4,"ngFor","ngForOf"],["matSuffix","",4,"ngIf"],[4,"ngIf"],["matPrefix",""],[3,"value","disabled"],["matSuffix",""],[3,"config"]],template:function(M,T){1&M&&(n.TgZ(0,"mat-form-field"),n.YNc(1,ct,2,1,"span",0),n.TgZ(2,"mat-select",1),n.NdJ("ngModelChange",function(Ge){return T.value=Ge})("selectionChange",function(){return T.onValueChange()}),n.YNc(3,Ut,3,7,"mat-option",2),n.qZA(),n.YNc(4,It,2,1,"span",3),n.YNc(5,sn,2,1,"mat-hint",4),n.qZA()),2&M&&(n.xp6(1),n.Q6J("ngIf",T.config.prefix),n.xp6(1),n.Q6J("ngModel",T.value)("disabled",T.disabled)("placeholder",T.config.placeholder||"")("multiple",T.config.multiple||!1),n.xp6(1),n.Q6J("ngForOf",T.config.options),n.xp6(1),n.Q6J("ngIf",T.config.suffix),n.xp6(1),n.Q6J("ngIf","inline"===T.config.parentType))},dependencies:[E.sg,E.O5,l.JJ,l.On,ie.KE,ie.bx,ie.qo,ie.R9,He.gD,ft.ey,se],styles:[".gui-select{--mat-select-trigger-text-size: 12px;--mat-option-label-text-size: 12px}.gui-select .mat-mdc-option{min-height:var(--mat-option-label-text-line-height);padding:0 8px}.gui-select .mat-mdc-option .mat-pseudo-checkbox-full{margin-right:8px}.gui-select .mat-pseudo-checkbox{width:16px;height:16px;border-width:1px}\n"],encapsulation:2,changeDetection:0})}return b})();var At=p(2599);function Y(b,z){if(1&b&&(n.TgZ(0,"mat-hint"),n._UZ(1,"gui-field-label",2),n.qZA()),2&b){const h=n.oxw();n.xp6(1),n.Q6J("config",h.config)}}let P=(()=>{class b{constructor(h){this.cdr=h,this.config={},this.disabled=!1,this.value=!1,this.onChange=()=>{},this.onTouched=()=>{}}writeValue(h){this.value=h,this.cdr.markForCheck()}registerOnChange(h){this.onChange=h}registerOnTouched(h){this.onTouched=h}setDisabledState(h){this.disabled=h,this.cdr.markForCheck()}onValueChange(){this.onChange(this.value)}static#e=this.\u0275fac=function(M){return new(M||b)(n.Y36(n.sBO))};static#t=this.\u0275cmp=n.Xpm({type:b,selectors:[["gui-switch"]],hostAttrs:[1,"gui-field","gui-switch"],inputs:{config:"config",disabled:"disabled"},features:[n._Bn([{provide:l.JU,useExisting:(0,n.Gpc)(()=>b),multi:!0}])],decls:2,vars:3,consts:[["hideIcon","",3,"ngModel","disabled","ngModelChange","change"],[4,"ngIf"],[3,"config"]],template:function(M,T){1&M&&(n.TgZ(0,"mat-slide-toggle",0),n.NdJ("ngModelChange",function(Ge){return T.value=Ge})("change",function(){return T.onValueChange()}),n.qZA(),n.YNc(1,Y,2,1,"mat-hint",1)),2&M&&(n.Q6J("ngModel",T.value)("disabled",T.disabled),n.xp6(1),n.Q6J("ngIf","inline"===T.config.parentType))},dependencies:[E.O5,l.JJ,l.On,ie.bx,At.Rr,se],styles:[".gui-switch .mdc-switch{--mdc-switch-track-width: 28px;--mdc-switch-handle-width: 14px;--mdc-switch-handle-height: 14px;--mdc-switch-state-layer-size: 24px}.gui-switch .mat-mdc-slide-toggle{line-height:1}\n"],encapsulation:2,changeDetection:0})}return b})();var ae=p(2202);function B(b,z){if(1&b&&(n.TgZ(0,"span",6),n._uU(1),n.qZA()),2&b){const h=n.oxw(2);n.xp6(1),n.Oqu(h.config.prefix)}}function Se(b,z){if(1&b&&(n.TgZ(0,"span",7),n._uU(1),n.qZA()),2&b){const h=n.oxw(2);n.xp6(1),n.Oqu(h.config.suffix)}}function L(b,z){if(1&b){const h=n.EpF();n.ynx(0),n.TgZ(1,"mat-slider",1)(2,"input",2),n.NdJ("ngModelChange",function(T){n.CHM(h);const Re=n.oxw();return n.KtG(Re.value=T)})("valueChange",function(){n.CHM(h);const T=n.oxw();return n.KtG(T.onValueChange())}),n.qZA()(),n.TgZ(3,"mat-form-field"),n.YNc(4,B,2,1,"span",3),n.TgZ(5,"input",4),n.NdJ("ngModelChange",function(T){n.CHM(h);const Re=n.oxw();return n.KtG(Re.value=T)})("change",function(){n.CHM(h);const T=n.oxw();return n.KtG(T.onValueChange())}),n.qZA(),n.YNc(6,Se,2,1,"span",5),n.qZA(),n.BQk()}if(2&b){const h=n.oxw();n.xp6(1),n.Q6J("disabled",h.disabled)("step",h.config.step)("min",h.config.min)("max",h.config.max),n.xp6(1),n.Q6J("ngModel",h.value),n.xp6(2),n.Q6J("ngIf",h.config.prefix),n.xp6(1),n.Q6J("ngModel",h.value)("disabled",h.disabled)("placeholder",h.config.placeholder||"")("step",h.config.step)("min",h.config.min)("max",h.config.max),n.xp6(1),n.Q6J("ngIf",h.config.suffix)}}function V(b,z){if(1&b&&(n.TgZ(0,"span",6),n._uU(1),n.qZA()),2&b){const h=n.oxw(2);n.xp6(1),n.Oqu(h.config.prefix)}}function Pe(b,z){if(1&b&&(n.TgZ(0,"span",7),n._uU(1),n.qZA()),2&b){const h=n.oxw(2);n.xp6(1),n.Oqu(h.config.suffix)}}function re(b,z){if(1&b&&(n.TgZ(0,"span",6),n._uU(1),n.qZA()),2&b){const h=n.oxw(2);n.xp6(1),n.Oqu(h.config.prefix)}}function je(b,z){if(1&b&&(n.TgZ(0,"span",7),n._uU(1),n.qZA()),2&b){const h=n.oxw(2);n.xp6(1),n.Oqu(h.config.suffix)}}function et(b,z){if(1&b){const h=n.EpF();n.ynx(0),n.TgZ(1,"mat-slider",1)(2,"input",8),n.NdJ("ngModelChange",function(T){n.CHM(h);const Re=n.oxw();return n.KtG(Re.minValue=T)})("valueChange",function(){n.CHM(h);const T=n.oxw();return n.KtG(T.onRangeInputChange())}),n.qZA(),n.TgZ(3,"input",9),n.NdJ("ngModelChange",function(T){n.CHM(h);const Re=n.oxw();return n.KtG(Re.maxValue=T)})("valueChange",function(){n.CHM(h);const T=n.oxw();return n.KtG(T.onRangeInputChange())}),n.qZA()(),n.TgZ(4,"mat-form-field"),n.YNc(5,V,2,1,"span",3),n.TgZ(6,"input",4),n.NdJ("ngModelChange",function(T){n.CHM(h);const Re=n.oxw();return n.KtG(Re.minValue=T)})("change",function(){n.CHM(h);const T=n.oxw();return n.KtG(T.onRangeInputChange())}),n.qZA(),n.YNc(7,Pe,2,1,"span",5),n.qZA(),n.TgZ(8,"mat-form-field"),n.YNc(9,re,2,1,"span",3),n.TgZ(10,"input",4),n.NdJ("ngModelChange",function(T){n.CHM(h);const Re=n.oxw();return n.KtG(Re.maxValue=T)})("change",function(){n.CHM(h);const T=n.oxw();return n.KtG(T.onRangeInputChange())}),n.qZA(),n.YNc(11,je,2,1,"span",5),n.qZA(),n.BQk()}if(2&b){const h=n.oxw();n.xp6(1),n.Q6J("disabled",h.disabled)("step",h.config.step)("min",h.config.min)("max",h.config.max),n.xp6(1),n.Q6J("ngModel",h.minValue),n.xp6(1),n.Q6J("ngModel",h.maxValue),n.xp6(2),n.Q6J("ngIf",h.config.prefix),n.xp6(1),n.Q6J("ngModel",h.minValue)("disabled",h.disabled)("placeholder",h.config.placeholder||"")("step",h.config.step)("min",h.config.min)("max",h.config.max),n.xp6(1),n.Q6J("ngIf",h.config.suffix),n.xp6(2),n.Q6J("ngIf",h.config.prefix),n.xp6(1),n.Q6J("ngModel",h.maxValue)("disabled",h.disabled)("placeholder",h.config.placeholder||"")("step",h.config.step)("min",h.config.min)("max",h.config.max),n.xp6(1),n.Q6J("ngIf",h.config.suffix)}}function st(b,z){if(1&b&&(n.TgZ(0,"mat-hint"),n._UZ(1,"gui-field-label",10),n.qZA()),2&b){const h=n.oxw();n.xp6(1),n.Q6J("config",h.config)}}let nt=(()=>{class b{constructor(h){this.cdr=h,this.config={},this.disabled=!1,this.onChange=()=>{},this.onTouched=()=>{}}writeValue(h){this.value=h,this.setInputValue(),this.cdr.markForCheck()}registerOnChange(h){this.onChange=h}registerOnTouched(h){this.onTouched=h}setDisabledState(h){this.disabled=h,this.cdr.markForCheck()}onValueChange(){this.onChange(this.value)}onRangeSliderChange(){this.setInputValue(),this.onValueChange()}onRangeInputChange(){this.value=[this.minValue,this.maxValue],this.onValueChange()}setInputValue(){Array.isArray(this.value)&&(this.minValue=this.value[0],this.maxValue=this.value[1])}static#e=this.\u0275fac=function(M){return new(M||b)(n.Y36(n.sBO))};static#t=this.\u0275cmp=n.Xpm({type:b,selectors:[["gui-slider"]],hostAttrs:[1,"gui-field","gui-slider"],inputs:{config:"config",disabled:"disabled"},features:[n._Bn([{provide:l.JU,useExisting:(0,n.Gpc)(()=>b),multi:!0}])],decls:3,vars:3,consts:[[4,"ngIf"],[3,"disabled","step","min","max"],["matSliderThumb","",3,"ngModel","ngModelChange","valueChange"],["matPrefix","",4,"ngIf"],["matInput","","type","number",3,"ngModel","disabled","placeholder","step","min","max","ngModelChange","change"],["matSuffix","",4,"ngIf"],["matPrefix",""],["matSuffix",""],["matSliderStartThumb","",3,"ngModel","ngModelChange","valueChange"],["matSliderEndThumb","",3,"ngModel","ngModelChange","valueChange"],[3,"config"]],template:function(M,T){1&M&&(n.YNc(0,L,7,13,"ng-container",0),n.YNc(1,et,12,22,"ng-container",0),n.YNc(2,st,2,1,"mat-hint",0)),2&M&&(n.Q6J("ngIf","range"!==T.config.mode),n.xp6(1),n.Q6J("ngIf","range"===T.config.mode),n.xp6(1),n.Q6J("ngIf","inline"===T.config.parentType))},dependencies:[E.O5,l.Fj,l.wV,l.JJ,l.qQ,l.Fd,l.On,ie.KE,ie.bx,ie.qo,ie.R9,J.Nt,ae.pH,ae.$5,ae.f9,se],styles:[".gui-slider .mat-mdc-slider{--mdc-slider-handle-width: 12px;--mdc-slider-handle-height: 12px;--mdc-slider-inactive-track-height: 2px;--mdc-slider-active-track-height: 2px;flex:3;min-width:auto;height:calc(var(--mdc-slider-handle-width) * 2);margin:0 calc(var(--mdc-slider-handle-width) / 2)}.gui-slider .mat-mdc-slider+.mat-mdc-form-field{flex:2}.gui-slider .mat-mdc-slider.mdc-slider--range+.mat-mdc-form-field,.gui-slider .mat-mdc-slider.mdc-slider--range+.mat-mdc-form-field+.mat-mdc-form-field{flex:1.5}.gui-slider .mat-mdc-slider .mdc-slider__input{top:0;height:calc(var(--mdc-slider-handle-width) * 2)}.gui-slider .mat-mdc-slider .mdc-slider__thumb{left:calc(var(--mdc-slider-handle-width) * -1);width:calc(var(--mdc-slider-handle-width) * 2);height:calc(var(--mdc-slider-handle-width) * 2);border-radius:50%;overflow:hidden}.gui-slider .mat-mdc-form-field{margin-left:6px}.gui-slider .mat-mdc-form-field input::-webkit-outer-spin-button,.gui-slider .mat-mdc-form-field input::-webkit-inner-spin-button{appearance:none}.gui-slider .mat-mdc-form-field-hint{width:100%;padding:0 8px;line-height:var(--mat-form-field-subscript-text-line-height)}\n"],encapsulation:2,changeDetection:0})}return b})();var Bt=p(9488);function Je(b,z){if(1&b&&n._UZ(0,"img",2),2&b){const h=n.oxw();n.Q6J("src",h.src,n.LSH)}}function bt(b,z){if(1&b&&n._UZ(0,"i",3),2&b){const h=n.oxw();n.Q6J("ngClass",h.src)}}let Oe=(()=>{class b{constructor(){this.src=""}isUrl(){return/^(https?:\/\/|\.?\/)\w+/.test(this.src)}static#e=this.\u0275fac=function(M){return new(M||b)};static#t=this.\u0275cmp=n.Xpm({type:b,selectors:[["gui-icon"]],hostAttrs:[1,"gui-icon"],inputs:{src:"src"},decls:2,vars:2,consts:[[3,"src",4,"ngIf"],[3,"ngClass",4,"ngIf"],[3,"src"],[3,"ngClass"]],template:function(M,T){1&M&&(n.YNc(0,Je,1,1,"img",0),n.YNc(1,bt,1,1,"i",1)),2&M&&(n.Q6J("ngIf",T.isUrl()),n.xp6(1),n.Q6J("ngIf",!T.isUrl()))},dependencies:[E.mk,E.O5],styles:[".gui-icon{display:inline-flex}.gui-icon img,.gui-icon i{display:block;width:var(--mat-standard-button-toggle-height);height:var(--mat-standard-button-toggle-height);line-height:var(--mat-standard-button-toggle-height)}\n"],encapsulation:2,changeDetection:0})}return b})();function rt(b,z){if(1&b&&n._UZ(0,"gui-icon",6),2&b){const h=n.oxw().$implicit;n.Q6J("src",h.src)}}function vt(b,z){if(1&b&&n._uU(0),2&b){const h=n.oxw().$implicit;n.Oqu(h.label)}}const en=function(b){return{"gui-icon-toggle":b}};function tn(b,z){if(1&b&&(n.TgZ(0,"mat-button-toggle",3),n.YNc(1,rt,1,1,"gui-icon",4),n.YNc(2,vt,1,1,"ng-template",null,5,n.W1O),n.qZA()),2&b){const h=z.$implicit,M=n.MAs(3),T=n.oxw();n.Tol(n.VKq(8,en,T.config.useIcon)),n.Q6J("flex",h.col)("value",h.value)("disabled",h.disabled)("title",T.config.useIcon?h.label:""),n.xp6(1),n.Q6J("ngIf",T.config.useIcon)("ngIfElse",M)}}function fn(b,z){if(1&b&&(n.TgZ(0,"mat-hint"),n._UZ(1,"gui-field-label",7),n.qZA()),2&b){const h=n.oxw();n.xp6(1),n.Q6J("config",h.config)}}let Zt=(()=>{class b{constructor(h){this.cdr=h,this.config={},this.disabled=!1,this.value="",this.onChange=()=>{},this.onTouched=()=>{}}writeValue(h){this.value=h,this.cdr.markForCheck()}registerOnChange(h){this.onChange=h}registerOnTouched(h){this.onTouched=h}setDisabledState(h){this.disabled=h,this.cdr.markForCheck()}onValueChange(){this.onChange(this.value)}static#e=this.\u0275fac=function(M){return new(M||b)(n.Y36(n.sBO))};static#t=this.\u0275cmp=n.Xpm({type:b,selectors:[["gui-button-toggle"]],hostAttrs:[1,"gui-field","gui-button-toggle"],inputs:{config:"config",disabled:"disabled"},features:[n._Bn([{provide:l.JU,useExisting:(0,n.Gpc)(()=>b),multi:!0}])],decls:3,vars:5,consts:[[3,"ngModel","disabled","multiple","ngModelChange","change"],["disableRipple","",3,"class","flex","value","disabled","title",4,"ngFor","ngForOf"],[4,"ngIf"],["disableRipple","",3,"flex","value","disabled","title"],[3,"src",4,"ngIf","ngIfElse"],["textLabel",""],[3,"src"],[3,"config"]],template:function(M,T){1&M&&(n.TgZ(0,"mat-button-toggle-group",0),n.NdJ("ngModelChange",function(Ge){return T.value=Ge})("change",function(){return T.onValueChange()}),n.YNc(1,tn,4,10,"mat-button-toggle",1),n.qZA(),n.YNc(2,fn,2,1,"mat-hint",2)),2&M&&(n.Q6J("ngModel",T.value)("disabled",T.disabled)("multiple",T.config.multiple),n.xp6(1),n.Q6J("ngForOf",T.config.options),n.xp6(1),n.Q6J("ngIf","inline"===T.config.parentType))},dependencies:[E.sg,E.O5,l.JJ,l.On,ie.bx,Bt.A9,Bt.Yi,Oe,se,ce],styles:[".gui-button-toggle{--mat-standard-button-toggle-height: 24px}.gui-button-toggle .mat-button-toggle-group{flex-wrap:wrap;border-width:0}.gui-button-toggle .mat-button-toggle-appearance-standard{border-width:0!important;background-color:var(--mdc-filled-text-field-container-color)}.gui-button-toggle .mat-button-toggle-appearance-standard.mat-button-toggle-checked{background-color:var(--mat-standard-button-toggle-selected-state-background-color)}.gui-icon-toggle.mat-button-toggle .mat-button-toggle-label-content{padding:0;line-height:normal}.gui-icon-toggle.mat-button-toggle-checked img{opacity:.64}\n"],encapsulation:2,changeDetection:0})}return b})();var Mn=p(4318);function it(b,z){if(1&b&&(n.TgZ(0,"mat-hint"),n._UZ(1,"gui-field-label",7),n.qZA()),2&b){const h=n.oxw();n.xp6(1),n.Q6J("config",h.config)}}const $=function(b){return{background:b}};let be=(()=>{class b{constructor(h){this.cdr=h,this.config={},this.disabled=!1,this.value="",this.onChange=()=>{},this.onTouched=()=>{}}writeValue(h){this.value=h,this.cdr.markForCheck()}registerOnChange(h){this.onChange=h}registerOnTouched(h){this.onTouched=h}setDisabledState(h){this.disabled=h,this.cdr.markForCheck()}onValueChange(){this.onChange(this.value)}static#e=this.\u0275fac=function(M){return new(M||b)(n.Y36(n.sBO))};static#t=this.\u0275cmp=n.Xpm({type:b,selectors:[["gui-fill"]],hostAttrs:[1,"gui-field","gui-fill"],inputs:{config:"config",disabled:"disabled"},features:[n._Bn([{provide:l.JU,useExisting:(0,n.Gpc)(()=>b),multi:!0}])],decls:9,vars:10,consts:[["matPrefix",""],[1,"gui-color-block-empty"],[1,"gui-color-block"],["matInput","",3,"ngModel","disabled","placeholder","mtxColorpicker","ngModelChange","colorChange"],["cp",""],["matSuffix","",3,"for"],[4,"ngIf"],[3,"config"]],template:function(M,T){if(1&M&&(n.TgZ(0,"mat-form-field"),n.ynx(1,0),n._UZ(2,"span",1)(3,"span",2),n.BQk(),n.TgZ(4,"input",3),n.NdJ("ngModelChange",function(Ge){return T.value=Ge})("colorChange",function(){return T.onValueChange()}),n.qZA(),n._UZ(5,"mtx-colorpicker",null,4)(7,"mtx-colorpicker-toggle",5),n.YNc(8,it,2,1,"mat-hint",6),n.qZA()),2&M){const Re=n.MAs(6);n.xp6(3),n.Akn(n.VKq(8,$,T.value)),n.xp6(1),n.Q6J("ngModel",T.value)("disabled",T.disabled)("placeholder",T.config.placeholder||"")("mtxColorpicker",Re),n.xp6(3),n.Q6J("for",Re),n.xp6(1),n.Q6J("ngIf","inline"===T.config.parentType)}},dependencies:[E.O5,l.Fj,l.JJ,l.On,ie.KE,ie.bx,ie.qo,ie.R9,J.Nt,Mn.YK,Mn.zA,Mn.sj,se],styles:[".gui-color-block,.gui-color-block-empty{position:relative;display:block;width:24px;height:24px}.gui-color-block-empty{position:absolute;background-color:#fff;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-position:0 0,0 4px,4px -4px,-4px 0;background-size:8px 8px}.gui-fill .mat-mdc-icon-button{display:inline-flex;justify-content:center;align-items:center}\n"],encapsulation:2,changeDetection:0})}return b})();function Be(b,z){if(1&b&&n._UZ(0,"gui-field-label",1),2&b){const h=n.oxw();n.Q6J("config",h.config)("index",h.config.index)}}const lt=["*"];let ht=(()=>{class b{constructor(h,M){this.differs=h,this.cdr=M,this.config={}}ngOnInit(){this.configDiffer=this.differs.find(this.config).create()}ngDoCheck(){this.configDiffer?.diff(this.config)?.forEachChangedItem(M=>{this.cdr.markForCheck()})}static#e=this.\u0275fac=function(M){return new(M||b)(n.Y36(n.aQg),n.Y36(n.sBO))};static#t=this.\u0275cmp=n.Xpm({type:b,selectors:[["gui-field-group"]],hostAttrs:[1,"gui-field-group"],inputs:{config:"config"},ngContentSelectors:lt,decls:2,vars:1,consts:[[3,"config","index",4,"ngIf"],[3,"config","index"]],template:function(M,T){1&M&&(n.F$t(),n.YNc(0,Be,1,2,"gui-field-label",0),n.Hsn(1)),2&M&&n.Q6J("ngIf","inline"!==T.config.parentType&&T.config.name)},dependencies:[E.O5,se],styles:[".gui-field-group{display:flex;padding:4px 8px}.gui-field{display:inline-flex;flex:1;flex-wrap:wrap;align-items:center}.gui-field>.mat-mdc-form-field{flex:1;width:0;max-width:100%}\n"],encapsulation:2,changeDetection:0})}return b})();const mt=["*"];let Mt=(()=>{class b{constructor(){this.config={}}static#e=this.\u0275fac=function(M){return new(M||b)};static#t=this.\u0275cmp=n.Xpm({type:b,selectors:[["gui-inline-group"]],hostAttrs:[1,"gui-inline-group"],inputs:{config:"config"},ngContentSelectors:mt,decls:3,vars:1,consts:[[3,"config"],[1,"gui-inline-group-content"]],template:function(M,T){1&M&&(n.F$t(),n._UZ(0,"gui-field-label",0),n.TgZ(1,"div",1),n.Hsn(2),n.qZA()),2&M&&n.Q6J("config",T.config)},dependencies:[se],styles:[".gui-inline-group{display:flex;padding:4px 8px}.gui-inline-group-content{display:inline-flex;flex:1;flex-flow:row wrap;margin:0 -4px}.gui-inline-group-content>.gui-field-group,.gui-inline-group-content>.gui-inline-group,.gui-inline-group-content>.mat-expansion-panel,.gui-inline-group-content>.gui-menu{width:100%;padding:0 4px}\n"],encapsulation:2,changeDetection:0})}return b})();var ln=p(6912);function Wt(b,z){if(1&b&&(n.TgZ(0,"span",6),n._uU(1),n.qZA()),2&b){const h=n.oxw();n.xp6(1),n.Oqu(h.config.prefix)}}function Kt(b,z){if(1&b&&(n._UZ(0,"img",7),n.TgZ(1,"span"),n._uU(2),n.qZA()),2&b){const h=z.item;n.Q6J("src",h.src,n.LSH)("alt",h.label),n.xp6(2),n.Oqu(h.label)}}function $t(b,z){if(1&b&&(n._UZ(0,"img",7),n.TgZ(1,"span"),n._uU(2),n.qZA()),2&b){const h=z.item;n.Q6J("src",h.src,n.LSH)("alt",h.label),n.xp6(2),n.Oqu(h.label)}}function An(b,z){if(1&b&&(n.TgZ(0,"span",8),n._uU(1),n.qZA()),2&b){const h=n.oxw();n.xp6(1),n.Oqu(h.config.suffix)}}function bn(b,z){if(1&b&&(n.TgZ(0,"mat-hint"),n._UZ(1,"gui-field-label",9),n.qZA()),2&b){const h=n.oxw();n.xp6(1),n.Q6J("config",h.config)}}const pn=function(){return[]};let gn=(()=>{class b{constructor(h){this.cdr=h,this.config={},this.disabled=!1,this.onChange=()=>{},this.onTouched=()=>{}}writeValue(h){this.value=h,this.cdr.markForCheck()}registerOnChange(h){this.onChange=h}registerOnTouched(h){this.onTouched=h}setDisabledState(h){this.disabled=h,this.cdr.markForCheck()}onValueChange(){this.onChange(this.value)}onPanelOpened(){}static#e=this.\u0275fac=function(M){return new(M||b)(n.Y36(n.sBO))};static#t=this.\u0275cmp=n.Xpm({type:b,selectors:[["gui-image-select"]],hostAttrs:[1,"gui-field","gui-image-select"],inputs:{config:"config",disabled:"disabled"},features:[n._Bn([{provide:l.JU,useExisting:(0,n.Gpc)(()=>b),multi:!0}])],decls:7,vars:8,consts:[["matPrefix","",4,"ngIf"],["appendTo",".gui-form","bindValue","value",3,"items","ngModel","disabled","placeholder","ngModelChange","change","open"],["ng-label-tmp",""],["ng-option-tmp",""],["matSuffix","",4,"ngIf"],[4,"ngIf"],["matPrefix",""],[3,"src","alt"],["matSuffix",""],[3,"config"]],template:function(M,T){1&M&&(n.TgZ(0,"mat-form-field"),n.YNc(1,Wt,2,1,"span",0),n.TgZ(2,"mtx-select",1),n.NdJ("ngModelChange",function(Ge){return T.value=Ge})("change",function(){return T.onValueChange()})("open",function(){return T.onPanelOpened()}),n.YNc(3,Kt,3,3,"ng-template",2),n.YNc(4,$t,3,3,"ng-template",3),n.qZA(),n.YNc(5,An,2,1,"span",4),n.YNc(6,bn,2,1,"mat-hint",5),n.qZA()),2&M&&(n.xp6(1),n.Q6J("ngIf",T.config.prefix),n.xp6(1),n.Q6J("items",T.config.options||n.DdM(7,pn))("ngModel",T.value)("disabled",T.disabled)("placeholder",T.config.placeholder||""),n.xp6(3),n.Q6J("ngIf",T.config.suffix),n.xp6(1),n.Q6J("ngIf","inline"===T.config.parentType))},dependencies:[E.O5,l.JJ,l.On,ie.KE,ie.bx,ie.qo,ie.R9,ln.zP,ln.lJ,ln.re,se],styles:[".gui-form .ng-dropdown-panel .ng-dropdown-panel-items .ng-option img,.gui-image-select .ng-select .ng-value img{height:100%;max-width:120px;object-fit:contain;border-radius:4px;background-color:var(--mat-option-hover-state-layer-color)}.gui-image-select .ng-select{padding:0 8px;margin:0 -8px}.gui-image-select .ng-select .ng-value-container{height:64px}.gui-image-select .ng-select .ng-value{display:inline-flex;align-items:center;gap:8px;height:100%;padding:8px 0}.gui-form .ng-dropdown-panel .ng-dropdown-panel-items .ng-option{display:flex;align-items:center;gap:8px;height:64px;padding:8px}\n"],encapsulation:2,changeDetection:0})}return b})();function yn(b,z){if(1&b&&(n.TgZ(0,"span",4),n._uU(1),n.qZA()),2&b){const h=n.oxw();n.xp6(1),n.Oqu(h.config.prefix)}}function kn(b,z){if(1&b&&(n.TgZ(0,"span",5),n._uU(1),n.qZA()),2&b){const h=n.oxw();n.xp6(1),n.Oqu(h.config.suffix)}}function ut(b,z){if(1&b&&(n.TgZ(0,"mat-hint"),n._UZ(1,"gui-field-label",6),n.qZA()),2&b){const h=n.oxw();n.xp6(1),n.Q6J("config",h.config)}}let me=(()=>{class b{constructor(h){this.cdr=h,this.config={},this.disabled=!1,this.value="",this.onChange=()=>{},this.onTouched=()=>{}}writeValue(h){this.value=h,this.cdr.markForCheck()}registerOnChange(h){this.onChange=h}registerOnTouched(h){this.onTouched=h}setDisabledState(h){this.disabled=h,this.cdr.markForCheck()}onValueChange(){this.onChange(this.value)}static#e=this.\u0275fac=function(M){return new(M||b)(n.Y36(n.sBO))};static#t=this.\u0275cmp=n.Xpm({type:b,selectors:[["gui-textarea"]],hostAttrs:[1,"gui-field","gui-textarea"],inputs:{config:"config",disabled:"disabled"},features:[n._Bn([{provide:l.JU,useExisting:(0,n.Gpc)(()=>b),multi:!0}])],decls:5,vars:7,consts:[["matPrefix","",4,"ngIf"],["matInput","",3,"ngModel","disabled","placeholder","rows","ngModelChange","change"],["matSuffix","",4,"ngIf"],[4,"ngIf"],["matPrefix",""],["matSuffix",""],[3,"config"]],template:function(M,T){1&M&&(n.TgZ(0,"mat-form-field"),n.YNc(1,yn,2,1,"span",0),n.TgZ(2,"textarea",1),n.NdJ("ngModelChange",function(Ge){return T.value=Ge})("change",function(){return T.onValueChange()}),n.qZA(),n.YNc(3,kn,2,1,"span",2),n.YNc(4,ut,2,1,"mat-hint",3),n.qZA()),2&M&&(n.xp6(1),n.Q6J("ngIf",T.config.prefix),n.xp6(1),n.Q6J("ngModel",T.value)("disabled",T.disabled)("placeholder",T.config.placeholder||"")("rows",T.config.rows),n.xp6(1),n.Q6J("ngIf",T.config.suffix),n.xp6(1),n.Q6J("ngIf","inline"===T.config.parentType))},dependencies:[E.O5,l.Fj,l.JJ,l.On,ie.KE,ie.bx,ie.qo,ie.R9,J.Nt,se],encapsulation:2,changeDetection:0})}return b})();var le=p(9862),G=p(2096),Ie=p(6306),$e=p(4716),St=p(7836);const _e=["fileInput"];function ee(b,z){if(1&b){const h=n.EpF();n.TgZ(0,"button",8),n.NdJ("click",function(){n.CHM(h);const T=n.oxw();return n.KtG(T.onClear())}),n._UZ(1,"mat-icon",9),n.qZA()}if(2&b){const h=n.oxw();n.Q6J("disabled",h.disabled)}}function S(b,z){if(1&b&&n._UZ(0,"img",14),2&b){const h=n.oxw(2);n.Q6J("src",h.url,n.LSH)}}function W(b,z){if(1&b&&n._UZ(0,"video",14),2&b){const h=n.oxw(2);n.Q6J("src",h.url,n.LSH)}}function Ne(b,z){if(1&b&&n._UZ(0,"audio",15),2&b){const h=n.oxw(2);n.Q6J("src",h.url,n.LSH)}}function yt(b,z){1&b&&n._UZ(0,"mat-icon",16)}function Pt(b,z){if(1&b&&(n.ynx(0,10),n.YNc(1,S,1,1,"img",11),n.YNc(2,W,1,1,"video",11),n.YNc(3,Ne,1,1,"audio",12),n.YNc(4,yt,1,0,"mat-icon",13),n.BQk()),2&b){const h=n.oxw();n.Q6J("ngSwitch",h.type),n.xp6(1),n.Q6J("ngSwitchCase","image"),n.xp6(1),n.Q6J("ngSwitchCase","video"),n.xp6(1),n.Q6J("ngSwitchCase","audio")}}function at(b,z){1&b&&(n.TgZ(0,"div",17),n._UZ(1,"mat-icon",18),n.qZA())}let wt=(()=>{class b{constructor(h,M){this.fileUploaderCfg=h,this.cdr=M,this.config={},this.disabled=!1,this.type="*",this.name="",this.accept="",this.fileChange=new n.vpe,this.url="",this.onChange=()=>{},this.onTouched=()=>{}}ngOnChanges(h){h.type&&(this.accept=this.type+"/*")}writeValue(h){this.url=h,this.cdr.markForCheck()}registerOnChange(h){this.onChange=h}registerOnTouched(h){this.onTouched=h}setDisabledState(h){this.disabled=h,this.cdr.markForCheck()}upload(h){const M=new FormData;M.append("file",h.data||""),h.inProgress=!0,this.fileUploaderCfg.upload(M).pipe((0,Ie.K)(T=>(h.inProgress=!1,(0,G.of)(`${h.data?.name||"File"} upload failed.`))),(0,$e.x)(()=>{})).subscribe(T=>{T instanceof le.Zn&&T.body&&(this.url=T.body.data,this.onChange(this.url),this.onTouched(),this.fileChange.emit(this.url)),this.cdr.detectChanges()})}onUrlChange(h){this.url=h.target.value,this.onChange(this.url),this.fileChange.emit(this.url)}onFileChange(h){this.file={data:h.target.files[0],inProgress:!1,progress:0},this.upload(this.file),h.target.value=""}onBlur(){this.onTouched()}onClear(){this.url="",this.onChange(this.url),this.onTouched(),this.fileChange.emit(this.url)}static#e=this.\u0275fac=function(M){return new(M||b)(n.Y36(St.E),n.Y36(n.sBO))};static#t=this.\u0275cmp=n.Xpm({type:b,selectors:[["gui-file-uploader"]],viewQuery:function(M,T){if(1&M&&n.Gf(_e,5),2&M){let Re;n.iGM(Re=n.CRH())&&(T.fileInput=Re.first)}},hostAttrs:[1,"gui-file-uploader"],inputs:{config:"config",disabled:"disabled",type:"type",name:"name",accept:"accept"},outputs:{fileChange:"fileChange"},features:[n._Bn([{provide:l.JU,useExisting:(0,n.Gpc)(()=>b),multi:!0}]),n.TTD],decls:9,vars:9,consts:[["matPrefix","","svgIcon","link"],["matInput","","type","text",3,"ngModel","disabled","placeholder","change","blur"],["matSuffix","","mat-icon-button","","color","warn",3,"disabled","click",4,"ngIf"],[1,"gui-file-content"],[3,"ngSwitch",4,"ngIf"],["class","gui-file-placeholder",4,"ngIf"],["type","file","tabindex","-1",3,"accept","name","disabled","change"],["fileInput",""],["matSuffix","","mat-icon-button","","color","warn",3,"disabled","click"],["svgIcon","close"],[3,"ngSwitch"],[3,"src",4,"ngSwitchCase"],["controls","",3,"src",4,"ngSwitchCase"],["svgIcon","file_outline",4,"ngSwitchDefault"],[3,"src"],["controls","",3,"src"],["svgIcon","file_outline"],[1,"gui-file-placeholder"],["svgIcon","file_upload"]],template:function(M,T){1&M&&(n.TgZ(0,"mat-form-field"),n._UZ(1,"mat-icon",0),n.TgZ(2,"input",1),n.NdJ("change",function(Ge){return T.onUrlChange(Ge)})("blur",function(){return T.onBlur()}),n.qZA(),n.YNc(3,ee,2,1,"button",2),n.qZA(),n.TgZ(4,"figure",3),n.YNc(5,Pt,5,4,"ng-container",4),n.YNc(6,at,2,0,"div",5),n.TgZ(7,"input",6,7),n.NdJ("change",function(Ge){return T.onFileChange(Ge)}),n.qZA()()),2&M&&(n.xp6(2),n.Q6J("ngModel",T.url)("disabled",T.disabled)("placeholder",T.config.placeholder||""),n.xp6(1),n.Q6J("ngIf",T.url),n.xp6(2),n.Q6J("ngIf",T.url),n.xp6(1),n.Q6J("ngIf",!T.url),n.xp6(1),n.Q6J("accept",T.accept)("name",T.name)("disabled",T.disabled))},dependencies:[E.O5,E.RF,E.n9,E.ED,l.Fj,l.JJ,l.On,ie.KE,ie.qo,ie.R9,J.Nt,H.Hw,Q.RK],styles:[".gui-file-uploader{display:block;overflow:auto;flex:1}.gui-file-uploader .mat-mdc-form-field{width:100%}.gui-file-uploader .gui-file-content{position:relative;display:flex;align-items:center;justify-content:center;height:120px;margin:4px 0 0;padding:4px;background-color:var(--mdc-filled-text-field-container-color);border:1px solid transparent;border-radius:4px}.gui-file-uploader .gui-file-content:hover{border-color:currentColor}.gui-file-uploader .gui-file-content img,.gui-file-uploader .gui-file-content video{width:100%;height:100%;object-fit:contain}.gui-file-uploader .gui-file-content input[type=file]{position:absolute;top:0;left:0;width:100%;height:100%;opacity:0;cursor:pointer}.gui-file-uploader .gui-file-content .mat-icon svg{width:24px;height:24px}\n"],encapsulation:2,changeDetection:0})}return b})();function de(b,z){}const ke=function(b,z){return{$implicit:b,formGroup:z}};function Ke(b,z){if(1&b&&(n.TgZ(0,"div"),n.YNc(1,de,0,0,"ng-template",3),n.qZA()),2&b){const h=z.$implicit,M=n.oxw(),T=n.MAs(3);n.xp6(1),n.Q6J("ngTemplateOutlet",T)("ngTemplateOutletContext",n.WLB(2,ke,h,M.form))}}function Ee(b,z){if(1&b&&(n.TgZ(0,"gui-field-group",11),n._UZ(1,"gui-input-text",12),n.qZA()),2&b){const h=n.oxw().$implicit;n.Q6J("config",h)("flex",h.col),n.xp6(1),n.Q6J("formControlName",h.key)("config",h)}}function ge(b,z){if(1&b&&(n.TgZ(0,"gui-field-group",11),n._UZ(1,"gui-input-number",12),n.qZA()),2&b){const h=n.oxw().$implicit;n.Q6J("config",h)("flex",h.col),n.xp6(1),n.Q6J("formControlName",h.key)("config",h)}}function Ve(b,z){if(1&b&&(n.TgZ(0,"gui-field-group",11),n._UZ(1,"gui-select",12),n.qZA()),2&b){const h=n.oxw().$implicit;n.Q6J("config",h)("flex",h.col),n.xp6(1),n.Q6J("formControlName",h.key)("config",h)}}function dt(b,z){if(1&b&&(n.TgZ(0,"gui-field-group",11),n._UZ(1,"gui-switch",12),n.qZA()),2&b){const h=n.oxw().$implicit;n.Q6J("config",h)("flex",h.col),n.xp6(1),n.Q6J("formControlName",h.key)("config",h)}}function Rt(b,z){if(1&b&&(n.TgZ(0,"gui-field-group",11),n._UZ(1,"gui-slider",12),n.qZA()),2&b){const h=n.oxw().$implicit;n.Q6J("config",h)("flex",h.col),n.xp6(1),n.Q6J("formControlName",h.key)("config",h)}}function Ht(b,z){if(1&b&&(n.TgZ(0,"gui-field-group",11),n._UZ(1,"gui-button-toggle",12),n.qZA()),2&b){const h=n.oxw().$implicit;n.Q6J("config",h)("flex",h.col),n.xp6(1),n.Q6J("formControlName",h.key)("config",h)}}function Nt(b,z){if(1&b&&(n.TgZ(0,"gui-field-group",11),n._UZ(1,"gui-fill",12),n.qZA()),2&b){const h=n.oxw().$implicit;n.Q6J("config",h)("flex",h.col),n.xp6(1),n.Q6J("formControlName",h.key)("config",h)}}function nn(b,z){if(1&b&&(n.TgZ(0,"gui-field-group",11),n._UZ(1,"gui-file-uploader",12),n.qZA()),2&b){const h=n.oxw().$implicit;n.Q6J("config",h)("flex",h.col),n.xp6(1),n.Q6J("formControlName",h.key)("config",h)}}function cn(b,z){if(1&b&&(n.TgZ(0,"gui-field-group",11),n._UZ(1,"gui-file-uploader",13),n.qZA()),2&b){const h=n.oxw().$implicit;n.Q6J("config",h)("flex",h.col),n.xp6(1),n.Q6J("formControlName",h.key)("config",h)}}function Ln(b,z){if(1&b&&(n.TgZ(0,"gui-field-group",11),n._UZ(1,"gui-file-uploader",14),n.qZA()),2&b){const h=n.oxw().$implicit;n.Q6J("config",h)("flex",h.col),n.xp6(1),n.Q6J("formControlName",h.key)("config",h)}}function jn(b,z){if(1&b&&(n.TgZ(0,"gui-field-group",11),n._UZ(1,"gui-file-uploader",15),n.qZA()),2&b){const h=n.oxw().$implicit;n.Q6J("config",h)("flex",h.col),n.xp6(1),n.Q6J("formControlName",h.key)("config",h)}}function Xn(b,z){if(1&b&&(n.TgZ(0,"gui-field-group",11),n._UZ(1,"gui-image-select",12),n.qZA()),2&b){const h=n.oxw().$implicit;n.Q6J("config",h)("flex",h.col),n.xp6(1),n.Q6J("formControlName",h.key)("config",h)}}function zn(b,z){if(1&b&&(n.TgZ(0,"gui-field-group",11),n._UZ(1,"gui-textarea",12),n.qZA()),2&b){const h=n.oxw().$implicit;n.Q6J("config",h)("flex",h.col),n.xp6(1),n.Q6J("formControlName",h.key)("config",h)}}function li(b,z){if(1&b&&n._UZ(0,"input",16),2&b){const h=n.oxw().$implicit;n.Q6J("formControlName",h.key)}}function gi(b,z){}const Tn=function(b,z,h){return{$implicit:b,parent:z,formGroup:h}};function Sn(b,z){if(1&b&&(n.ynx(0),n.YNc(1,gi,0,0,"ng-template",3),n.BQk()),2&b){const h=z.$implicit,M=n.oxw(2),T=M.$implicit,Re=M.formGroup;n.oxw();const Ge=n.MAs(3);n.xp6(1),n.Q6J("ngTemplateOutlet",Ge)("ngTemplateOutletContext",n.kEZ(2,Tn,h,T,Re.get(T.key)))}}function Ci(b,z){if(1&b&&(n.TgZ(0,"gui-inline-group",17),n.YNc(1,Sn,2,6,"ng-container",1),n.qZA()),2&b){const h=n.oxw().$implicit;n.Q6J("config",h)("formGroupName",h.key),n.xp6(1),n.Q6J("ngForOf",h.children)}}function Ei(b,z){}function Vn(b,z){if(1&b&&(n.TgZ(0,"div"),n.YNc(1,Ei,0,0,"ng-template",3),n.qZA()),2&b){const h=z.$implicit,M=n.oxw(3),T=M.$implicit,Re=M.formGroup;n.oxw();const Ge=n.MAs(3);n.xp6(1),n.Q6J("ngTemplateOutlet",Ge)("ngTemplateOutletContext",n.kEZ(2,Tn,h,T,Re.get(T.key)))}}function oi(b,z){if(1&b&&n.YNc(0,Vn,2,6,"div",1),2&b){const h=n.oxw(2).$implicit;n.Q6J("ngForOf",h.children)}}function Qe(b,z){if(1&b){const h=n.EpF();n.TgZ(0,"mat-expansion-panel",18),n.NdJ("expandedChange",function(T){n.CHM(h);const Re=n.oxw().$implicit;return n.KtG(Re.expanded=T)}),n.TgZ(1,"mat-expansion-panel-header"),n._UZ(2,"gui-field-label",19),n.qZA(),n.YNc(3,oi,1,1,"ng-template",20),n.qZA()}if(2&b){const h=n.oxw().$implicit;n.Q6J("formGroupName",h.key)("expanded",h.expanded)("disabled",h.disabled),n.xp6(2),n.Q6J("config",h)}}function Dt(b,z){if(1&b){const h=n.EpF();n.ynx(0),n.TgZ(1,"button",26),n.NdJ("click",function(T){n.CHM(h);const Re=n.oxw(3),Ge=Re.$implicit,Gt=Re.formGroup,wn=n.oxw();return n.KtG(wn.addTab(T,Gt.get(Ge.key),Ge))}),n._UZ(2,"mat-icon",27),n.qZA(),n.TgZ(3,"button",26),n.NdJ("click",function(T){n.CHM(h);const Re=n.oxw(3),Ge=Re.$implicit,Gt=Re.formGroup,wn=n.oxw();return n.KtG(wn.removeTab(T,Gt.get(Ge.key),Ge))}),n._UZ(4,"mat-icon",28),n.qZA(),n.BQk()}if(2&b){const h=n.oxw(3).$implicit;n.xp6(1),n.Q6J("disabled",h.disabled),n.xp6(2),n.Q6J("disabled",h.disabled)}}function qe(b,z){if(1&b){const h=n.EpF();n.ynx(0),n.TgZ(1,"button",23),n.NdJ("click",function(T){n.CHM(h);const Re=n.oxw(2).$implicit,Ge=n.oxw();return n.KtG(Ge.changeTabsMode(T,Re,"nav"))}),n._UZ(2,"mat-icon",24),n.qZA(),n.TgZ(3,"button",23),n.NdJ("click",function(T){n.CHM(h);const Re=n.oxw(2).$implicit,Ge=n.oxw();return n.KtG(Ge.changeTabsMode(T,Re,"list"))}),n._UZ(4,"mat-icon",25),n.qZA(),n.YNc(5,Dt,5,2,"ng-container",22),n.BQk()}if(2&b){const h=n.oxw(2).$implicit;n.xp6(1),n.Q6J("color","list"!==h.mode?"primary":""),n.xp6(2),n.Q6J("color","list"===h.mode?"primary":""),n.xp6(2),n.Q6J("ngIf",h.template&&(h.addable||void 0===h.addable))}}const Et=function(b){return{i:b}};function A(b,z){if(1&b&&(n.TgZ(0,"div"),n._uU(1),n.ALo(2,"ejs"),n.qZA()),2&b){const h=n.oxw(),M=h.$implicit,T=h.index;n.xp6(1),n.Oqu(n.xi3(2,1,M.name,n.VKq(4,Et,T)))}}function q(b,z){}const x=function(b){return[b]};function Z(b,z){if(1&b&&(n.ynx(0),n.YNc(1,q,0,0,"ng-template",3),n.BQk()),2&b){const h=n.oxw().$implicit,M=n.oxw(4),T=M.$implicit,Re=M.formGroup;n.oxw();const Ge=n.MAs(3);n.xp6(1),n.Q6J("ngTemplateOutlet",Ge)("ngTemplateOutletContext",n.kEZ(4,Tn,h,T,Re.get(n.VKq(2,x,T.key))))}}function he(b,z){}const Ze=function(b,z){return[b,z]};function gt(b,z){if(1&b&&(n.TgZ(0,"div"),n.YNc(1,he,0,0,"ng-template",3),n.qZA()),2&b){const h=z.$implicit,M=n.oxw(2).index,T=n.oxw(4),Re=T.$implicit,Ge=T.formGroup;n.oxw();const Gt=n.MAs(3);n.xp6(1),n.Q6J("ngTemplateOutlet",Gt)("ngTemplateOutletContext",n.kEZ(5,Tn,h,Re,Ge.get(n.WLB(2,Ze,Re.key,M))))}}function Jt(b,z){if(1&b&&(n.ynx(0),n.YNc(1,gt,2,9,"div",1),n.BQk()),2&b){const h=n.oxw().$implicit;n.xp6(1),n.Q6J("ngForOf",h.children)}}function Yt(b,z){if(1&b&&(n.TgZ(0,"mat-tab",33),n.YNc(1,A,3,6,"ng-template",34),n.YNc(2,Z,2,8,"ng-container",22),n.YNc(3,Jt,2,1,"ng-container",22),n.qZA()),2&b){const h=z.$implicit;n.Q6J("disabled",h.disabled),n.xp6(2),n.Q6J("ngIf",!h.children||0===h.children.length||"tabs"===h.type),n.xp6(1),n.Q6J("ngIf",(null==h.children?null:h.children.length)>0&&"tabs"!==h.type)}}function Hn(b,z){if(1&b&&(n.TgZ(0,"mat-tab-group",31),n.YNc(1,Yt,4,3,"mat-tab",32),n.qZA()),2&b){const h=n.oxw(3).$implicit;n.Q6J("mat-stretch-tabs",!1),n.xp6(1),n.Q6J("ngForOf",h.children)}}function ci(b,z){if(1&b){const h=n.EpF();n.ynx(0),n.TgZ(1,"button",26),n.NdJ("click",function(T){n.CHM(h);const Re=n.oxw().index,Ge=n.oxw(4),Gt=Ge.$implicit,wn=Ge.formGroup,rn=n.oxw();return n.KtG(rn.addTab(T,wn.get(Gt.key),Gt,Re))}),n._UZ(2,"mat-icon",27),n.qZA(),n.TgZ(3,"button",26),n.NdJ("click",function(T){n.CHM(h);const Re=n.oxw().index,Ge=n.oxw(4),Gt=Ge.$implicit,wn=Ge.formGroup,rn=n.oxw();return n.KtG(rn.removeTab(T,wn.get(Gt.key),Gt,Re))}),n._UZ(4,"mat-icon",28),n.qZA(),n.BQk()}if(2&b){const h=n.oxw(5).$implicit;n.xp6(1),n.Q6J("disabled",h.disabled),n.xp6(2),n.Q6J("disabled",h.disabled)}}function Fn(b,z){}function xi(b,z){if(1&b&&(n.ynx(0),n.YNc(1,Fn,0,0,"ng-template",3),n.BQk()),2&b){const h=n.oxw().$implicit,M=n.oxw(4),T=M.$implicit,Re=M.formGroup;n.oxw();const Ge=n.MAs(3);n.xp6(1),n.Q6J("ngTemplateOutlet",Ge)("ngTemplateOutletContext",n.kEZ(4,Tn,h,T,Re.get(n.VKq(2,x,T.key))))}}function wi(b,z){}function fi(b,z){if(1&b&&(n.TgZ(0,"div"),n.YNc(1,wi,0,0,"ng-template",3),n.qZA()),2&b){const h=z.$implicit,M=n.oxw(2).index,T=n.oxw(4),Re=T.$implicit,Ge=T.formGroup;n.oxw();const Gt=n.MAs(3);n.xp6(1),n.Q6J("ngTemplateOutlet",Gt)("ngTemplateOutletContext",n.kEZ(5,Tn,h,Re,Ge.get(n.WLB(2,Ze,Re.key,M))))}}function zi(b,z){if(1&b&&(n.ynx(0),n.YNc(1,fi,2,9,"div",1),n.BQk()),2&b){const h=n.oxw().$implicit;n.xp6(1),n.Q6J("ngForOf",h.children)}}function Mi(b,z){if(1&b&&(n.TgZ(0,"div",37)(1,"div",38)(2,"span",39),n._uU(3),n.ALo(4,"ejs"),n.qZA(),n.YNc(5,ci,5,2,"ng-container",22),n.qZA(),n.TgZ(6,"div",40),n.YNc(7,xi,2,8,"ng-container",22),n.YNc(8,zi,2,1,"ng-container",22),n.qZA()()),2&b){const h=z.$implicit,M=z.index,T=n.oxw(4).$implicit;n.xp6(3),n.Oqu(n.xi3(4,4,h.name,n.VKq(7,Et,M))),n.xp6(2),n.Q6J("ngIf",T.template&&(T.addable||void 0===T.addable)),n.xp6(2),n.Q6J("ngIf",!h.children||0===h.children.length||"tabs"===h.type),n.xp6(1),n.Q6J("ngIf",(null==h.children?null:h.children.length)>0&&"tabs"!==h.type)}}function Di(b,z){if(1&b&&(n.TgZ(0,"div",35),n.YNc(1,Mi,9,9,"div",36),n.qZA()),2&b){const h=n.oxw(3).$implicit;n.xp6(1),n.Q6J("ngForOf",h.children)}}function qn(b,z){if(1&b&&(n.YNc(0,Hn,2,2,"mat-tab-group",29),n.YNc(1,Di,2,1,"div",30)),2&b){const h=n.oxw(2).$implicit;n.Q6J("ngIf","list"!==h.mode),n.xp6(1),n.Q6J("ngIf","list"===h.mode)}}function Si(b,z){if(1&b){const h=n.EpF();n.TgZ(0,"mat-expansion-panel",21),n.NdJ("expandedChange",function(T){n.CHM(h);const Re=n.oxw().$implicit;return n.KtG(Re.expanded=T)}),n.TgZ(1,"mat-expansion-panel-header"),n._UZ(2,"gui-field-label",19),n.YNc(3,qe,6,3,"ng-container",22),n.qZA(),n.YNc(4,qn,2,2,"ng-template",20),n.qZA()}if(2&b){const h=n.oxw().$implicit;n.Q6J("formArrayName",h.key)("expanded",h.expanded)("disabled",h.disabled),n.xp6(2),n.Q6J("config",h),n.xp6(1),n.Q6J("ngIf",h.expanded)}}function Ti(b,z){}function En(b,z){if(1&b&&(n.TgZ(0,"div",46),n.YNc(1,Ti,0,0,"ng-template",3),n.qZA()),2&b){const h=z.$implicit,M=n.oxw(3).$implicit,T=n.oxw(2),Re=T.$implicit,Ge=T.formGroup;n.oxw();const Gt=n.MAs(3);n.Q6J("formGroupName",M.key),n.xp6(1),n.Q6J("ngTemplateOutlet",Gt)("ngTemplateOutletContext",n.WLB(6,ke,h,Ge.get(n.WLB(3,Ze,Re.key,M.key))))}}function ei(b,z){if(1&b&&(n.ynx(0),n.YNc(1,En,2,9,"div",45),n.BQk()),2&b){const h=n.oxw(2).$implicit;n.xp6(1),n.Q6J("ngForOf",h.children)}}function di(b,z){}function _i(b,z){if(1&b&&(n.ynx(0),n.YNc(1,di,0,0,"ng-template",3),n.BQk()),2&b){const h=n.oxw(2).$implicit,M=n.oxw(2),T=M.$implicit,Re=M.formGroup;n.oxw();const Ge=n.MAs(3);n.xp6(1),n.Q6J("ngTemplateOutlet",Ge)("ngTemplateOutletContext",n.WLB(2,ke,h,Re.get(T.key)))}}function ri(b,z){if(1&b&&(n.YNc(0,ei,2,1,"ng-container",22),n.YNc(1,_i,2,5,"ng-container",22)),2&b){const h=n.oxw().$implicit;n.Q6J("ngIf","menuItem"===h.type),n.xp6(1),n.Q6J("ngIf","menu"===h.type)}}function Qi(b,z){if(1&b&&(n.TgZ(0,"mat-tab",43),n.YNc(1,ri,2,2,"ng-template",44),n.qZA()),2&b){const h=z.$implicit;n.Q6J("label",h.name)("disabled",h.disabled)}}function yo(b,z){if(1&b&&(n.TgZ(0,"mat-tab-group",41),n.YNc(1,Qi,2,2,"mat-tab",42),n.qZA()),2&b){const h=n.oxw().$implicit;n.Q6J("formGroupName",h.key),n.xp6(1),n.Q6J("ngForOf",h.children)}}function Gi(b,z){if(1&b&&(n.ynx(0,4),n.YNc(1,Ee,2,4,"gui-field-group",5),n.YNc(2,ge,2,4,"gui-field-group",5),n.YNc(3,Ve,2,4,"gui-field-group",5),n.YNc(4,dt,2,4,"gui-field-group",5),n.YNc(5,Rt,2,4,"gui-field-group",5),n.YNc(6,Ht,2,4,"gui-field-group",5),n.YNc(7,Nt,2,4,"gui-field-group",5),n.YNc(8,nn,2,4,"gui-field-group",5),n.YNc(9,cn,2,4,"gui-field-group",5),n.YNc(10,Ln,2,4,"gui-field-group",5),n.YNc(11,jn,2,4,"gui-field-group",5),n.YNc(12,Xn,2,4,"gui-field-group",5),n.YNc(13,zn,2,4,"gui-field-group",5),n.YNc(14,li,1,1,"input",6),n.YNc(15,Ci,2,3,"gui-inline-group",7),n.YNc(16,Qe,4,4,"mat-expansion-panel",8),n.YNc(17,Si,5,5,"mat-expansion-panel",9),n.YNc(18,yo,2,2,"mat-tab-group",10),n.BQk()),2&b){const M=z.formGroup;n.Q6J("ngSwitch",z.$implicit.type)("formGroup",M),n.xp6(1),n.Q6J("ngSwitchCase","text"),n.xp6(1),n.Q6J("ngSwitchCase","number"),n.xp6(1),n.Q6J("ngSwitchCase","select"),n.xp6(1),n.Q6J("ngSwitchCase","switch"),n.xp6(1),n.Q6J("ngSwitchCase","slider"),n.xp6(1),n.Q6J("ngSwitchCase","buttonToggle"),n.xp6(1),n.Q6J("ngSwitchCase","fill"),n.xp6(1),n.Q6J("ngSwitchCase","file"),n.xp6(1),n.Q6J("ngSwitchCase","image"),n.xp6(1),n.Q6J("ngSwitchCase","video"),n.xp6(1),n.Q6J("ngSwitchCase","audio"),n.xp6(1),n.Q6J("ngSwitchCase","imageSelect"),n.xp6(1),n.Q6J("ngSwitchCase","textarea"),n.xp6(1),n.Q6J("ngSwitchCase","hidden"),n.xp6(1),n.Q6J("ngSwitchCase","inline"),n.xp6(1),n.Q6J("ngSwitchCase","group"),n.xp6(1),n.Q6J("ngSwitchCase","tabs"),n.xp6(1),n.Q6J("ngSwitchCase","menu")}}let Ji=(()=>{class b{constructor(h){this.cdr=h,this.form=new l.cw({}),this.config={},this.model={},this.modelChange=new n.vpe,this.formFields=[],this.formSubscription=w.w0.EMPTY}ngOnChanges(h){h.config&&(this.form.controls={},this.formFields=this.getFormFieldArray(this.form,this.config,this.model)),h.model&&this.model&&Object.keys(this.model).length>0&&this.form.patchValue(this.model)}ngOnInit(){this.formSubscription=this.form.valueChanges.subscribe(h=>{Object.assign(this.model,h),this.modelChange.emit(h)})}ngOnDestroy(){this.formSubscription.unsubscribe()}getFormFieldArray(h,M={},T={},Re=null,Ge="group",Gt={emitEvent:!1}){const wn=[];for(const rn of Object.keys(M)){const $n=M[rn].template?[]:M[rn].children,Vt={_type:$n?Array.isArray($n)?"array":"group":"control",key:rn,parentType:Ge,model:T[rn],default:Re?.[rn],index:Number(rn),...M[rn]};if(Vt.children&&null==T[rn]&&null==Vt.default&&(Vt.model=T[rn]="array"===Vt._type?[]:{}),"object"==typeof T&&null==T[rn]&&(T[rn]=Vt.default),Vt.template&&(Array.isArray(Vt.model)&&Vt.model.length>0&&(Vt.default=Vt.model),Vt.children=Vt.default?.length?Vt.default.map(Un=>(Object.assign(Un,Vt.template?.default),{default:Un,...Vt.template})):[]),"control"===Vt._type){const Un={value:Vt.default,disabled:Vt.disabled};h instanceof l.cw?h.registerControl(Vt.key,new l.NI(Un)):h instanceof l.Oe&&h.insert(Vt.index||h.length,new l.NI(Un),Gt)}else if("array"===Vt._type){let Un=new l.Oe([]);h instanceof l.cw?Un=h.registerControl(Vt.key,new l.Oe([])):h instanceof l.Oe&&h.insert(Vt.index||h.length,Un,Gt),Vt.children=this.getFormFieldArray(Un,Vt.children,Vt.model,Vt.default,Vt.type)}else if("group"===Vt._type){let Un=new l.cw({});h instanceof l.cw?Un=h.registerControl(Vt.key,new l.cw({})):h instanceof l.Oe&&h.insert(Vt.index||h.length,Un,Gt),Vt.children=this.getFormFieldArray(Un,Vt.children,Vt.model,Vt.default,Vt.type)}wn.push(Vt)}return wn}addTab(h,M,T,Re){h.stopPropagation();const Ge=void 0===Re?T.children.length:Re+1;T.template.index=Ge,T.children.forEach((wn,rn)=>{rn>=Ge&&(wn.index+=1,wn.key=wn.index.toString())});const Gt=this.getFormFieldArray(M,{[Ge]:T.template},{},null,"tabs",{emitEvent:!0});T.children.splice(Ge,0,Gt[0])}removeTab(h,M,T,Re){h.stopPropagation();const Ge=void 0===Re?T.children.length-1:Re;T.children.forEach((Gt,wn)=>{wn>Ge&&(Gt.index-=1,Gt.key=Gt.index.toString())}),T.children.splice(Ge,1),M.removeAt(Ge)}changeTabsMode(h,M,T){h.stopPropagation(),M.mode=T}static#e=this.\u0275fac=function(M){return new(M||b)(n.Y36(n.sBO))};static#t=this.\u0275cmp=n.Xpm({type:b,selectors:[["gui-form"]],hostAttrs:[1,"gui-form"],inputs:{form:"form",config:"config",model:"model"},outputs:{modelChange:"modelChange"},features:[n.TTD],decls:4,vars:2,consts:[[3,"formGroup"],[4,"ngFor","ngForOf"],["controlType",""],[3,"ngTemplateOutlet","ngTemplateOutletContext"],[3,"ngSwitch","formGroup"],[3,"config","flex",4,"ngSwitchCase"],["type","hidden",3,"formControlName",4,"ngSwitchCase"],[3,"config","formGroupName",4,"ngSwitchCase"],[3,"formGroupName","expanded","disabled","expandedChange",4,"ngSwitchCase"],[3,"formArrayName","expanded","disabled","expandedChange",4,"ngSwitchCase"],["class","gui-menu","disableRipple","",3,"formGroupName",4,"ngSwitchCase"],[3,"config","flex"],[3,"formControlName","config"],["type","image",3,"formControlName","config"],["type","video",3,"formControlName","config"],["type","audio",3,"formControlName","config"],["type","hidden",3,"formControlName"],[3,"config","formGroupName"],[3,"formGroupName","expanded","disabled","expandedChange"],[3,"config"],["matExpansionPanelContent",""],[3,"formArrayName","expanded","disabled","expandedChange"],[4,"ngIf"],["mat-icon-button","","type","button",3,"color","click"],["svgIcon","dots_horizontal"],["svgIcon","dots_vertical"],["mat-icon-button","","type","button",3,"disabled","click"],["svgIcon","plus"],["svgIcon","delete"],["class","gui-tabs","disableRipple","",3,"mat-stretch-tabs",4,"ngIf"],["class","gui-list",4,"ngIf"],["disableRipple","",1,"gui-tabs",3,"mat-stretch-tabs"],[3,"disabled",4,"ngFor","ngForOf"],[3,"disabled"],["mat-tab-label",""],[1,"gui-list"],["class","gui-list-item",4,"ngFor","ngForOf"],[1,"gui-list-item"],[1,"gui-list-item-heading"],[1,"gui-list-item-title"],[1,"gui-list-item-content"],["disableRipple","",1,"gui-menu",3,"formGroupName"],[3,"label","disabled",4,"ngFor","ngForOf"],[3,"label","disabled"],["matTabContent",""],[3,"formGroupName",4,"ngFor","ngForOf"],[3,"formGroupName"]],template:function(M,T){1&M&&(n.TgZ(0,"form",0),n.YNc(1,Ke,2,5,"div",1),n.qZA(),n.YNc(2,Gi,19,20,"ng-template",null,2,n.W1O)),2&M&&(n.Q6J("formGroup",T.form),n.xp6(1),n.Q6J("ngForOf",T.formFields))},dependencies:[E.sg,E.O5,E.tP,E.RF,E.n9,l._Y,l.Fj,l.JJ,l.JL,l.sg,l.u,l.x0,l.CE,H.Hw,Q.RK,ne.Vc,ne.uD,ne.uX,ne.SP,we.ib,we.yz,we.HS,N,ye,Xe,P,nt,Zt,be,ht,se,Mt,gn,me,wt,ce,fe],styles:['.gui-form{--mat-form-field-container-text-size: 12px;--mat-expansion-header-text-size: 12px;--mat-expansion-container-text-size: 12px;--mat-expansion-header-collapsed-state-height: 32px;--mat-expansion-header-expanded-state-height: 32px;position:relative;font-size:12px}.gui-form .mat-expansion-panel{--mat-expansion-container-shape: 0;box-shadow:none!important}.gui-form .mat-expansion-panel-body{padding:0}.gui-form .mat-expansion-panel-header{padding:0 12px}.gui-form .mat-expansion-panel-header .mat-content{align-items:center;padding-right:8px}.gui-form .mat-expansion-panel-header .mat-content gui-field-label{flex:1}.gui-form .mat-expansion-indicator:after{vertical-align:2px}.gui-form .mat-mdc-tab-header{--mat-tab-header-label-text-size: 12px;--mdc-secondary-navigation-tab-container-height: 24px}.gui-form .mat-mdc-tab{min-width:auto;padding:0 12px}.gui-form .mat-icon{display:inline-flex;justify-content:center;align-items:center;padding:0!important}.gui-form .mat-icon svg{width:14px;height:14px}.gui-form .mat-mdc-icon-button{--mdc-icon-button-state-layer-size: 24px;--mdc-icon-button-icon-size: 14px;padding:0}.gui-form .mat-mdc-icon-button .mat-mdc-button-touch-target{width:var(--mdc-icon-button-state-layer-size);height:var(--mdc-icon-button-state-layer-size)}.gui-form .mat-mdc-text-field-wrapper,.gui-form .mat-mdc-form-field-hint-wrapper{position:relative;padding:0 8px;border-radius:var(--mdc-filled-text-field-container-shape)}[dir=rtl] .gui-form .mat-mdc-text-field-wrapper,[dir=rtl] .gui-form .mat-mdc-form-field-hint-wrapper{padding:0 8px}.gui-form .mat-mdc-form-field-infix{min-height:auto;padding:0!important}.gui-form .mat-mdc-form-field-hint-spacer,.gui-form .mat-mdc-form-field-bottom-align:before,.gui-form .mdc-line-ripple{display:none}.gui-list-item-heading{display:flex;align-items:center;position:relative;padding:0 12px;line-height:24px}.gui-list-item-heading .gui-list-item-title{flex:1}.gui-list-item-heading:before{position:absolute;left:0;width:2px;height:16px;background-color:var(--mat-expansion-header-text-color);content:""}.gui-menu .mat-mdc-tab-header{--mdc-tab-indicator-active-indicator-shape: 4px;padding:4px;background-color:var(--mdc-filled-text-field-container-color)}.gui-menu .mat-mdc-tab-header .mdc-tab__ripple:before{border-radius:var(--mdc-tab-indicator-active-indicator-shape)}.gui-menu .mat-mdc-tab-labels{gap:4px}.gui-menu .mdc-tab-indicator .mdc-tab-indicator__content{height:100%;border-width:0;border-radius:var(--mdc-tab-indicator-active-indicator-shape);background-color:var(--mdc-tab-indicator-active-indicator-color)}.gui-menu .mdc-tab-indicator--active .mdc-tab-indicator__content{opacity:.24}\n'],encapsulation:2,changeDetection:0})}return b})()},7105:(_t,Me,p)=>{p.d(Me,{i:()=>oe});var n=p(6814),l=p(6223),w=p(9157),E=p(4516),H=p(617),Q=p(8525),ne=p(2202),we=p(2599),ie=p(9488),J=p(2296),xe=p(4104),fe=p(3305),ce=p(2596),De=p(4318),Ae=p(6912),Le=p(7836);const se={dots_horizontal:'\n \n \n \n ',dots_vertical:'\n \n \n \n ',plus:'\n \n \n \n ',delete:'\n \n \n \n ',link:'\n \n \n \n ',close:'\n \n \n \n ',file_outline:'\n \n \n \n ',file_upload:'\n \n \n \n '};var ue=p(5879),ze=p(6593);let oe=(()=>{class N{constructor(K,ve){for(const ye of Object.keys(se))K.addSvgIconLiteral(ye,ve.bypassSecurityTrustHtml(se[ye]))}static#e=this.\u0275fac=function(ve){return new(ve||N)(ue.LFG(H.jv),ue.LFG(ze.H7))};static#t=this.\u0275mod=ue.oAB({type:N});static#n=this.\u0275inj=ue.cJS({providers:[Le.E],imports:[n.ez,l.UX,l.u5,w.lN,E.c,Q.LD,ne.KP,we.rP,ie.vV,H.Ps,J.ot,xe.Nh,fe.To,ce.AV,De.tf,Ae.F3]})}return N})()},5619:(_t,Me,p)=>{p.d(Me,{X:()=>l});var n=p(8645);class l extends n.x{constructor(E){super(),this._value=E}get value(){return this.getValue()}_subscribe(E){const H=super._subscribe(E);return!H.closed&&E.next(this._value),H}getValue(){const{hasError:E,thrownError:H,_value:Q}=this;if(E)throw H;return this._throwIfClosed(),Q}next(E){super.next(this._value=E)}}},5592:(_t,Me,p)=>{p.d(Me,{y:()=>we});var n=p(305),l=p(7394),w=p(4850),E=p(8407),H=p(2653),Q=p(4674),ne=p(1441);let we=(()=>{class fe{constructor(De){De&&(this._subscribe=De)}lift(De){const Ae=new fe;return Ae.source=this,Ae.operator=De,Ae}subscribe(De,Ae,Le){const se=function xe(fe){return fe&&fe instanceof n.Lv||function J(fe){return fe&&(0,Q.m)(fe.next)&&(0,Q.m)(fe.error)&&(0,Q.m)(fe.complete)}(fe)&&(0,l.Nn)(fe)}(De)?De:new n.Hp(De,Ae,Le);return(0,ne.x)(()=>{const{operator:ue,source:ze}=this;se.add(ue?ue.call(se,ze):ze?this._subscribe(se):this._trySubscribe(se))}),se}_trySubscribe(De){try{return this._subscribe(De)}catch(Ae){De.error(Ae)}}forEach(De,Ae){return new(Ae=ie(Ae))((Le,se)=>{const ue=new n.Hp({next:ze=>{try{De(ze)}catch(oe){se(oe),ue.unsubscribe()}},error:se,complete:Le});this.subscribe(ue)})}_subscribe(De){var Ae;return null===(Ae=this.source)||void 0===Ae?void 0:Ae.subscribe(De)}[w.L](){return this}pipe(...De){return(0,E.U)(De)(this)}toPromise(De){return new(De=ie(De))((Ae,Le)=>{let se;this.subscribe(ue=>se=ue,ue=>Le(ue),()=>Ae(se))})}}return fe.create=ce=>new fe(ce),fe})();function ie(fe){var ce;return null!==(ce=fe??H.config.Promise)&&void 0!==ce?ce:Promise}},8645:(_t,Me,p)=>{p.d(Me,{x:()=>ne});var n=p(5592),l=p(7394);const E=(0,p(2306).d)(ie=>function(){ie(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"});var H=p(9039),Q=p(1441);let ne=(()=>{class ie extends n.y{constructor(){super(),this.closed=!1,this.currentObservers=null,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(xe){const fe=new we(this,this);return fe.operator=xe,fe}_throwIfClosed(){if(this.closed)throw new E}next(xe){(0,Q.x)(()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(const fe of this.currentObservers)fe.next(xe)}})}error(xe){(0,Q.x)(()=>{if(this._throwIfClosed(),!this.isStopped){this.hasError=this.isStopped=!0,this.thrownError=xe;const{observers:fe}=this;for(;fe.length;)fe.shift().error(xe)}})}complete(){(0,Q.x)(()=>{if(this._throwIfClosed(),!this.isStopped){this.isStopped=!0;const{observers:xe}=this;for(;xe.length;)xe.shift().complete()}})}unsubscribe(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null}get observed(){var xe;return(null===(xe=this.observers)||void 0===xe?void 0:xe.length)>0}_trySubscribe(xe){return this._throwIfClosed(),super._trySubscribe(xe)}_subscribe(xe){return this._throwIfClosed(),this._checkFinalizedStatuses(xe),this._innerSubscribe(xe)}_innerSubscribe(xe){const{hasError:fe,isStopped:ce,observers:De}=this;return fe||ce?l.Lc:(this.currentObservers=null,De.push(xe),new l.w0(()=>{this.currentObservers=null,(0,H.P)(De,xe)}))}_checkFinalizedStatuses(xe){const{hasError:fe,thrownError:ce,isStopped:De}=this;fe?xe.error(ce):De&&xe.complete()}asObservable(){const xe=new n.y;return xe.source=this,xe}}return ie.create=(J,xe)=>new we(J,xe),ie})();class we extends ne{constructor(J,xe){super(),this.destination=J,this.source=xe}next(J){var xe,fe;null===(fe=null===(xe=this.destination)||void 0===xe?void 0:xe.next)||void 0===fe||fe.call(xe,J)}error(J){var xe,fe;null===(fe=null===(xe=this.destination)||void 0===xe?void 0:xe.error)||void 0===fe||fe.call(xe,J)}complete(){var J,xe;null===(xe=null===(J=this.destination)||void 0===J?void 0:J.complete)||void 0===xe||xe.call(J)}_subscribe(J){var xe,fe;return null!==(fe=null===(xe=this.source)||void 0===xe?void 0:xe.subscribe(J))&&void 0!==fe?fe:l.Lc}}},305:(_t,Me,p)=>{p.d(Me,{Hp:()=>Le,Lv:()=>fe});var n=p(4674),l=p(7394),w=p(2653),E=p(3894),H=p(2420);const Q=ie("C",void 0,void 0);function ie(N,Ce,K){return{kind:N,value:Ce,error:K}}var J=p(7599),xe=p(1441);class fe extends l.w0{constructor(Ce){super(),this.isStopped=!1,Ce?(this.destination=Ce,(0,l.Nn)(Ce)&&Ce.add(this)):this.destination=oe}static create(Ce,K,ve){return new Le(Ce,K,ve)}next(Ce){this.isStopped?ze(function we(N){return ie("N",N,void 0)}(Ce),this):this._next(Ce)}error(Ce){this.isStopped?ze(function ne(N){return ie("E",void 0,N)}(Ce),this):(this.isStopped=!0,this._error(Ce))}complete(){this.isStopped?ze(Q,this):(this.isStopped=!0,this._complete())}unsubscribe(){this.closed||(this.isStopped=!0,super.unsubscribe(),this.destination=null)}_next(Ce){this.destination.next(Ce)}_error(Ce){try{this.destination.error(Ce)}finally{this.unsubscribe()}}_complete(){try{this.destination.complete()}finally{this.unsubscribe()}}}const ce=Function.prototype.bind;function De(N,Ce){return ce.call(N,Ce)}class Ae{constructor(Ce){this.partialObserver=Ce}next(Ce){const{partialObserver:K}=this;if(K.next)try{K.next(Ce)}catch(ve){se(ve)}}error(Ce){const{partialObserver:K}=this;if(K.error)try{K.error(Ce)}catch(ve){se(ve)}else se(Ce)}complete(){const{partialObserver:Ce}=this;if(Ce.complete)try{Ce.complete()}catch(K){se(K)}}}class Le extends fe{constructor(Ce,K,ve){let ye;if(super(),(0,n.m)(Ce)||!Ce)ye={next:Ce??void 0,error:K??void 0,complete:ve??void 0};else{let He;this&&w.config.useDeprecatedNextContext?(He=Object.create(Ce),He.unsubscribe=()=>this.unsubscribe(),ye={next:Ce.next&&De(Ce.next,He),error:Ce.error&&De(Ce.error,He),complete:Ce.complete&&De(Ce.complete,He)}):ye=Ce}this.destination=new Ae(ye)}}function se(N){w.config.useDeprecatedSynchronousErrorHandling?(0,xe.O)(N):(0,E.h)(N)}function ze(N,Ce){const{onStoppedNotification:K}=w.config;K&&J.z.setTimeout(()=>K(N,Ce))}const oe={closed:!0,next:H.Z,error:function ue(N){throw N},complete:H.Z}},7394:(_t,Me,p)=>{p.d(Me,{Lc:()=>Q,w0:()=>H,Nn:()=>ne});var n=p(4674);const w=(0,p(2306).d)(ie=>function(xe){ie(this),this.message=xe?`${xe.length} errors occurred during unsubscription:\n${xe.map((fe,ce)=>`${ce+1}) ${fe.toString()}`).join("\n ")}`:"",this.name="UnsubscriptionError",this.errors=xe});var E=p(9039);class H{constructor(J){this.initialTeardown=J,this.closed=!1,this._parentage=null,this._finalizers=null}unsubscribe(){let J;if(!this.closed){this.closed=!0;const{_parentage:xe}=this;if(xe)if(this._parentage=null,Array.isArray(xe))for(const De of xe)De.remove(this);else xe.remove(this);const{initialTeardown:fe}=this;if((0,n.m)(fe))try{fe()}catch(De){J=De instanceof w?De.errors:[De]}const{_finalizers:ce}=this;if(ce){this._finalizers=null;for(const De of ce)try{we(De)}catch(Ae){J=J??[],Ae instanceof w?J=[...J,...Ae.errors]:J.push(Ae)}}if(J)throw new w(J)}}add(J){var xe;if(J&&J!==this)if(this.closed)we(J);else{if(J instanceof H){if(J.closed||J._hasParent(this))return;J._addParent(this)}(this._finalizers=null!==(xe=this._finalizers)&&void 0!==xe?xe:[]).push(J)}}_hasParent(J){const{_parentage:xe}=this;return xe===J||Array.isArray(xe)&&xe.includes(J)}_addParent(J){const{_parentage:xe}=this;this._parentage=Array.isArray(xe)?(xe.push(J),xe):xe?[xe,J]:J}_removeParent(J){const{_parentage:xe}=this;xe===J?this._parentage=null:Array.isArray(xe)&&(0,E.P)(xe,J)}remove(J){const{_finalizers:xe}=this;xe&&(0,E.P)(xe,J),J instanceof H&&J._removeParent(this)}}H.EMPTY=(()=>{const ie=new H;return ie.closed=!0,ie})();const Q=H.EMPTY;function ne(ie){return ie instanceof H||ie&&"closed"in ie&&(0,n.m)(ie.remove)&&(0,n.m)(ie.add)&&(0,n.m)(ie.unsubscribe)}function we(ie){(0,n.m)(ie)?ie():ie.unsubscribe()}},2653:(_t,Me,p)=>{p.d(Me,{config:()=>n});const n={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1}},2572:(_t,Me,p)=>{p.d(Me,{a:()=>J});var n=p(5592),l=p(7453),w=p(7715),E=p(2737),H=p(7400),Q=p(9940),ne=p(2714),we=p(8251),ie=p(7103);function J(...ce){const De=(0,Q.yG)(ce),Ae=(0,Q.jO)(ce),{args:Le,keys:se}=(0,l.D)(ce);if(0===Le.length)return(0,w.D)([],De);const ue=new n.y(function xe(ce,De,Ae=E.y){return Le=>{fe(De,()=>{const{length:se}=ce,ue=new Array(se);let ze=se,oe=se;for(let N=0;N{const Ce=(0,w.D)(ce[N],De);let K=!1;Ce.subscribe((0,we.x)(Le,ve=>{ue[N]=ve,K||(K=!0,oe--),oe||Le.next(Ae(ue.slice()))},()=>{--ze||Le.complete()}))},Le)},Le)}}(Le,De,se?ze=>(0,ne.n)(se,ze):E.y));return Ae?ue.pipe((0,H.Z)(Ae)):ue}function fe(ce,De,Ae){ce?(0,ie.f)(Ae,ce,De):De()}},5211:(_t,Me,p)=>{p.d(Me,{z:()=>H});var n=p(7537),w=p(9940),E=p(7715);function H(...Q){return function l(){return(0,n.J)(1)}()((0,E.D)(Q,(0,w.yG)(Q)))}},4911:(_t,Me,p)=>{p.d(Me,{P:()=>w});var n=p(5592),l=p(4829);function w(E){return new n.y(H=>{(0,l.Xf)(E()).subscribe(H)})}},6232:(_t,Me,p)=>{p.d(Me,{E:()=>l});const l=new(p(5592).y)(H=>H.complete())},9315:(_t,Me,p)=>{p.d(Me,{D:()=>we});var n=p(5592),l=p(7453),w=p(4829),E=p(9940),H=p(8251),Q=p(7400),ne=p(2714);function we(...ie){const J=(0,E.jO)(ie),{args:xe,keys:fe}=(0,l.D)(ie),ce=new n.y(De=>{const{length:Ae}=xe;if(!Ae)return void De.complete();const Le=new Array(Ae);let se=Ae,ue=Ae;for(let ze=0;ze{oe||(oe=!0,ue--),Le[ze]=N},()=>se--,void 0,()=>{(!se||!oe)&&(ue||De.next(fe?(0,ne.n)(fe,Le):Le),De.complete())}))}});return J?ce.pipe((0,Q.Z)(J)):ce}},7715:(_t,Me,p)=>{p.d(Me,{D:()=>ve});var n=p(4829),l=p(7103),w=p(9360),E=p(8251);function H(ye,He=0){return(0,w.e)((ft,ct)=>{ft.subscribe((0,E.x)(ct,xt=>(0,l.f)(ct,ye,()=>ct.next(xt),He),()=>(0,l.f)(ct,ye,()=>ct.complete(),He),xt=>(0,l.f)(ct,ye,()=>ct.error(xt),He)))})}function Q(ye,He=0){return(0,w.e)((ft,ct)=>{ct.add(ye.schedule(()=>ft.subscribe(ct),He))})}var ie=p(5592),xe=p(4971),fe=p(4674);function De(ye,He){if(!ye)throw new Error("Iterable cannot be null");return new ie.y(ft=>{(0,l.f)(ft,He,()=>{const ct=ye[Symbol.asyncIterator]();(0,l.f)(ft,He,()=>{ct.next().then(xt=>{xt.done?ft.complete():ft.next(xt.value)})},0,!0)})})}var Ae=p(8382),Le=p(4026),se=p(4266),ue=p(3664),ze=p(5726),oe=p(9853),N=p(541);function ve(ye,He){return He?function K(ye,He){if(null!=ye){if((0,Ae.c)(ye))return function ne(ye,He){return(0,n.Xf)(ye).pipe(Q(He),H(He))}(ye,He);if((0,se.z)(ye))return function J(ye,He){return new ie.y(ft=>{let ct=0;return He.schedule(function(){ct===ye.length?ft.complete():(ft.next(ye[ct++]),ft.closed||this.schedule())})})}(ye,He);if((0,Le.t)(ye))return function we(ye,He){return(0,n.Xf)(ye).pipe(Q(He),H(He))}(ye,He);if((0,ze.D)(ye))return De(ye,He);if((0,ue.T)(ye))return function ce(ye,He){return new ie.y(ft=>{let ct;return(0,l.f)(ft,He,()=>{ct=ye[xe.h](),(0,l.f)(ft,He,()=>{let xt,Ut;try{({value:xt,done:Ut}=ct.next())}catch(It){return void ft.error(It)}Ut?ft.complete():ft.next(xt)},0,!0)}),()=>(0,fe.m)(ct?.return)&&ct.return()})}(ye,He);if((0,N.L)(ye))return function Ce(ye,He){return De((0,N.Q)(ye),He)}(ye,He)}throw(0,oe.z)(ye)}(ye,He):(0,n.Xf)(ye)}},2438:(_t,Me,p)=>{p.d(Me,{R:()=>J});var n=p(4829),l=p(5592),w=p(1631),E=p(4266),H=p(4674),Q=p(7400);const ne=["addListener","removeListener"],we=["addEventListener","removeEventListener"],ie=["on","off"];function J(Ae,Le,se,ue){if((0,H.m)(se)&&(ue=se,se=void 0),ue)return J(Ae,Le,se).pipe((0,Q.Z)(ue));const[ze,oe]=function De(Ae){return(0,H.m)(Ae.addEventListener)&&(0,H.m)(Ae.removeEventListener)}(Ae)?we.map(N=>Ce=>Ae[N](Le,Ce,se)):function fe(Ae){return(0,H.m)(Ae.addListener)&&(0,H.m)(Ae.removeListener)}(Ae)?ne.map(xe(Ae,Le)):function ce(Ae){return(0,H.m)(Ae.on)&&(0,H.m)(Ae.off)}(Ae)?ie.map(xe(Ae,Le)):[];if(!ze&&(0,E.z)(Ae))return(0,w.z)(N=>J(N,Le,se))((0,n.Xf)(Ae));if(!ze)throw new TypeError("Invalid event target");return new l.y(N=>{const Ce=(...K)=>N.next(1oe(Ce)})}function xe(Ae,Le){return se=>ue=>Ae[se](Le,ue)}},4829:(_t,Me,p)=>{p.d(Me,{Xf:()=>ce});var n=p(7582),l=p(4266),w=p(4026),E=p(5592),H=p(8382),Q=p(5726),ne=p(9853),we=p(3664),ie=p(541),J=p(4674),xe=p(3894),fe=p(4850);function ce(N){if(N instanceof E.y)return N;if(null!=N){if((0,H.c)(N))return function De(N){return new E.y(Ce=>{const K=N[fe.L]();if((0,J.m)(K.subscribe))return K.subscribe(Ce);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}(N);if((0,l.z)(N))return function Ae(N){return new E.y(Ce=>{for(let K=0;K{N.then(K=>{Ce.closed||(Ce.next(K),Ce.complete())},K=>Ce.error(K)).then(null,xe.h)})}(N);if((0,Q.D)(N))return ue(N);if((0,we.T)(N))return function se(N){return new E.y(Ce=>{for(const K of N)if(Ce.next(K),Ce.closed)return;Ce.complete()})}(N);if((0,ie.L)(N))return function ze(N){return ue((0,ie.Q)(N))}(N)}throw(0,ne.z)(N)}function ue(N){return new E.y(Ce=>{(function oe(N,Ce){var K,ve,ye,He;return(0,n.mG)(this,void 0,void 0,function*(){try{for(K=(0,n.KL)(N);!(ve=yield K.next()).done;)if(Ce.next(ve.value),Ce.closed)return}catch(ft){ye={error:ft}}finally{try{ve&&!ve.done&&(He=K.return)&&(yield He.call(K))}finally{if(ye)throw ye.error}}Ce.complete()})})(N,Ce).catch(K=>Ce.error(K))})}},3019:(_t,Me,p)=>{p.d(Me,{T:()=>Q});var n=p(7537),l=p(4829),w=p(6232),E=p(9940),H=p(7715);function Q(...ne){const we=(0,E.yG)(ne),ie=(0,E._6)(ne,1/0),J=ne;return J.length?1===J.length?(0,l.Xf)(J[0]):(0,n.J)(ie)((0,H.D)(J,we)):w.E}},2096:(_t,Me,p)=>{p.d(Me,{of:()=>w});var n=p(9940),l=p(7715);function w(...E){const H=(0,n.yG)(E);return(0,l.D)(E,H)}},8504:(_t,Me,p)=>{p.d(Me,{_:()=>w});var n=p(5592),l=p(4674);function w(E,H){const Q=(0,l.m)(E)?E:()=>E,ne=we=>we.error(Q());return new n.y(H?we=>H.schedule(ne,0,we):ne)}},4825:(_t,Me,p)=>{p.d(Me,{H:()=>H});var n=p(5592),l=p(6321),w=p(671);function H(Q=0,ne,we=l.P){let ie=-1;return null!=ne&&((0,w.K)(ne)?we=ne:ie=ne),new n.y(J=>{let xe=function E(Q){return Q instanceof Date&&!isNaN(Q)}(Q)?+Q-we.now():Q;xe<0&&(xe=0);let fe=0;return we.schedule(function(){J.closed||(J.next(fe++),0<=ie?this.schedule(void 0,ie):J.complete())},xe)})}},8251:(_t,Me,p)=>{p.d(Me,{x:()=>l});var n=p(305);function l(E,H,Q,ne,we){return new w(E,H,Q,ne,we)}class w extends n.Lv{constructor(H,Q,ne,we,ie,J){super(H),this.onFinalize=ie,this.shouldUnsubscribe=J,this._next=Q?function(xe){try{Q(xe)}catch(fe){H.error(fe)}}:super._next,this._error=we?function(xe){try{we(xe)}catch(fe){H.error(fe)}finally{this.unsubscribe()}}:super._error,this._complete=ne?function(){try{ne()}catch(xe){H.error(xe)}finally{this.unsubscribe()}}:super._complete}unsubscribe(){var H;if(!this.shouldUnsubscribe||this.shouldUnsubscribe()){const{closed:Q}=this;super.unsubscribe(),!Q&&(null===(H=this.onFinalize)||void 0===H||H.call(this))}}}},9028:(_t,Me,p)=>{p.d(Me,{e:()=>ne});var n=p(6321),l=p(9360),w=p(4829),E=p(8251),Q=p(4825);function ne(we,ie=n.z){return function H(we){return(0,l.e)((ie,J)=>{let xe=!1,fe=null,ce=null,De=!1;const Ae=()=>{if(ce?.unsubscribe(),ce=null,xe){xe=!1;const se=fe;fe=null,J.next(se)}De&&J.complete()},Le=()=>{ce=null,De&&J.complete()};ie.subscribe((0,E.x)(J,se=>{xe=!0,fe=se,ce||(0,w.Xf)(we(se)).subscribe(ce=(0,E.x)(J,Ae,Le))},()=>{De=!0,(!xe||!ce||ce.closed)&&J.complete()}))})}(()=>(0,Q.H)(we,ie))}},6306:(_t,Me,p)=>{p.d(Me,{K:()=>E});var n=p(4829),l=p(8251),w=p(9360);function E(H){return(0,w.e)((Q,ne)=>{let J,we=null,ie=!1;we=Q.subscribe((0,l.x)(ne,void 0,void 0,xe=>{J=(0,n.Xf)(H(xe,E(H)(Q))),we?(we.unsubscribe(),we=null,J.subscribe(ne)):ie=!0})),ie&&(we.unsubscribe(),we=null,J.subscribe(ne))})}},6328:(_t,Me,p)=>{p.d(Me,{b:()=>w});var n=p(1631),l=p(4674);function w(E,H){return(0,l.m)(H)?(0,n.z)(E,H,1):(0,n.z)(E,1)}},3620:(_t,Me,p)=>{p.d(Me,{b:()=>E});var n=p(6321),l=p(9360),w=p(8251);function E(H,Q=n.z){return(0,l.e)((ne,we)=>{let ie=null,J=null,xe=null;const fe=()=>{if(ie){ie.unsubscribe(),ie=null;const De=J;J=null,we.next(De)}};function ce(){const De=xe+H,Ae=Q.now();if(Ae{J=De,xe=Q.now(),ie||(ie=Q.schedule(ce,H),we.add(ie))},()=>{fe(),we.complete()},void 0,()=>{J=ie=null}))})}},3997:(_t,Me,p)=>{p.d(Me,{x:()=>E});var n=p(2737),l=p(9360),w=p(8251);function E(Q,ne=n.y){return Q=Q??H,(0,l.e)((we,ie)=>{let J,xe=!0;we.subscribe((0,w.x)(ie,fe=>{const ce=ne(fe);(xe||!Q(J,ce))&&(xe=!1,J=ce,ie.next(fe))}))})}function H(Q,ne){return Q===ne}},2181:(_t,Me,p)=>{p.d(Me,{h:()=>w});var n=p(9360),l=p(8251);function w(E,H){return(0,n.e)((Q,ne)=>{let we=0;Q.subscribe((0,l.x)(ne,ie=>E.call(H,ie,we++)&&ne.next(ie)))})}},4716:(_t,Me,p)=>{p.d(Me,{x:()=>l});var n=p(9360);function l(w){return(0,n.e)((E,H)=>{try{E.subscribe(H)}finally{H.add(w)}})}},7398:(_t,Me,p)=>{p.d(Me,{U:()=>w});var n=p(9360),l=p(8251);function w(E,H){return(0,n.e)((Q,ne)=>{let we=0;Q.subscribe((0,l.x)(ne,ie=>{ne.next(E.call(H,ie,we++))}))})}},7537:(_t,Me,p)=>{p.d(Me,{J:()=>w});var n=p(1631),l=p(2737);function w(E=1/0){return(0,n.z)(l.y,E)}},1631:(_t,Me,p)=>{p.d(Me,{z:()=>we});var n=p(7398),l=p(4829),w=p(9360),E=p(7103),H=p(8251),ne=p(4674);function we(ie,J,xe=1/0){return(0,ne.m)(J)?we((fe,ce)=>(0,n.U)((De,Ae)=>J(fe,De,ce,Ae))((0,l.Xf)(ie(fe,ce))),xe):("number"==typeof J&&(xe=J),(0,w.e)((fe,ce)=>function Q(ie,J,xe,fe,ce,De,Ae,Le){const se=[];let ue=0,ze=0,oe=!1;const N=()=>{oe&&!se.length&&!ue&&J.complete()},Ce=ve=>ue{De&&J.next(ve),ue++;let ye=!1;(0,l.Xf)(xe(ve,ze++)).subscribe((0,H.x)(J,He=>{ce?.(He),De?Ce(He):J.next(He)},()=>{ye=!0},void 0,()=>{if(ye)try{for(ue--;se.length&&ueK(He)):K(He)}N()}catch(He){J.error(He)}}))};return ie.subscribe((0,H.x)(J,Ce,()=>{oe=!0,N()})),()=>{Le?.()}}(fe,ce,ie,xe)))}},3020:(_t,Me,p)=>{p.d(Me,{B:()=>H});var n=p(4829),l=p(8645),w=p(305),E=p(9360);function H(ne={}){const{connector:we=(()=>new l.x),resetOnError:ie=!0,resetOnComplete:J=!0,resetOnRefCountZero:xe=!0}=ne;return fe=>{let ce,De,Ae,Le=0,se=!1,ue=!1;const ze=()=>{De?.unsubscribe(),De=void 0},oe=()=>{ze(),ce=Ae=void 0,se=ue=!1},N=()=>{const Ce=ce;oe(),Ce?.unsubscribe()};return(0,E.e)((Ce,K)=>{Le++,!ue&&!se&&ze();const ve=Ae=Ae??we();K.add(()=>{Le--,0===Le&&!ue&&!se&&(De=Q(N,xe))}),ve.subscribe(K),!ce&&Le>0&&(ce=new w.Hp({next:ye=>ve.next(ye),error:ye=>{ue=!0,ze(),De=Q(oe,ie,ye),ve.error(ye)},complete:()=>{se=!0,ze(),De=Q(oe,J),ve.complete()}}),(0,n.Xf)(Ce).subscribe(ce))})(fe)}}function Q(ne,we,...ie){if(!0===we)return void ne();if(!1===we)return;const J=new w.Hp({next:()=>{J.unsubscribe(),ne()}});return(0,n.Xf)(we(...ie)).subscribe(J)}},836:(_t,Me,p)=>{p.d(Me,{T:()=>l});var n=p(2181);function l(w){return(0,n.h)((E,H)=>w<=H)}},7921:(_t,Me,p)=>{p.d(Me,{O:()=>E});var n=p(5211),l=p(9940),w=p(9360);function E(...H){const Q=(0,l.yG)(H);return(0,w.e)((ne,we)=>{(Q?(0,n.z)(H,ne,Q):(0,n.z)(H,ne)).subscribe(we)})}},4664:(_t,Me,p)=>{p.d(Me,{w:()=>E});var n=p(4829),l=p(9360),w=p(8251);function E(H,Q){return(0,l.e)((ne,we)=>{let ie=null,J=0,xe=!1;const fe=()=>xe&&!ie&&we.complete();ne.subscribe((0,w.x)(we,ce=>{ie?.unsubscribe();let De=0;const Ae=J++;(0,n.Xf)(H(ce,Ae)).subscribe(ie=(0,w.x)(we,Le=>we.next(Q?Q(ce,Le,Ae,De++):Le),()=>{ie=null,fe()}))},()=>{xe=!0,fe()}))})}},8180:(_t,Me,p)=>{p.d(Me,{q:()=>E});var n=p(6232),l=p(9360),w=p(8251);function E(H){return H<=0?()=>n.E:(0,l.e)((Q,ne)=>{let we=0;Q.subscribe((0,w.x)(ne,ie=>{++we<=H&&(ne.next(ie),H<=we&&ne.complete())}))})}},9773:(_t,Me,p)=>{p.d(Me,{R:()=>H});var n=p(9360),l=p(8251),w=p(4829),E=p(2420);function H(Q){return(0,n.e)((ne,we)=>{(0,w.Xf)(Q).subscribe((0,l.x)(we,()=>we.complete(),E.Z)),!we.closed&&ne.subscribe(we)})}},9397:(_t,Me,p)=>{p.d(Me,{b:()=>H});var n=p(4674),l=p(9360),w=p(8251),E=p(2737);function H(Q,ne,we){const ie=(0,n.m)(Q)||ne||we?{next:Q,error:ne,complete:we}:Q;return ie?(0,l.e)((J,xe)=>{var fe;null===(fe=ie.subscribe)||void 0===fe||fe.call(ie);let ce=!0;J.subscribe((0,w.x)(xe,De=>{var Ae;null===(Ae=ie.next)||void 0===Ae||Ae.call(ie,De),xe.next(De)},()=>{var De;ce=!1,null===(De=ie.complete)||void 0===De||De.call(ie),xe.complete()},De=>{var Ae;ce=!1,null===(Ae=ie.error)||void 0===Ae||Ae.call(ie,De),xe.error(De)},()=>{var De,Ae;ce&&(null===(De=ie.unsubscribe)||void 0===De||De.call(ie)),null===(Ae=ie.finalize)||void 0===Ae||Ae.call(ie)}))}):E.y}},1954:(_t,Me,p)=>{p.d(Me,{o:()=>H});var n=p(7394);class l extends n.w0{constructor(ne,we){super()}schedule(ne,we=0){return this}}const w={setInterval(Q,ne,...we){const{delegate:ie}=w;return ie?.setInterval?ie.setInterval(Q,ne,...we):setInterval(Q,ne,...we)},clearInterval(Q){const{delegate:ne}=w;return(ne?.clearInterval||clearInterval)(Q)},delegate:void 0};var E=p(9039);class H extends l{constructor(ne,we){super(ne,we),this.scheduler=ne,this.work=we,this.pending=!1}schedule(ne,we=0){var ie;if(this.closed)return this;this.state=ne;const J=this.id,xe=this.scheduler;return null!=J&&(this.id=this.recycleAsyncId(xe,J,we)),this.pending=!0,this.delay=we,this.id=null!==(ie=this.id)&&void 0!==ie?ie:this.requestAsyncId(xe,this.id,we),this}requestAsyncId(ne,we,ie=0){return w.setInterval(ne.flush.bind(ne,this),ie)}recycleAsyncId(ne,we,ie=0){if(null!=ie&&this.delay===ie&&!1===this.pending)return we;null!=we&&w.clearInterval(we)}execute(ne,we){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;const ie=this._execute(ne,we);if(ie)return ie;!1===this.pending&&null!=this.id&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))}_execute(ne,we){let J,ie=!1;try{this.work(ne)}catch(xe){ie=!0,J=xe||new Error("Scheduled action threw falsy error")}if(ie)return this.unsubscribe(),J}unsubscribe(){if(!this.closed){const{id:ne,scheduler:we}=this,{actions:ie}=we;this.work=this.state=this.scheduler=null,this.pending=!1,(0,E.P)(ie,this),null!=ne&&(this.id=this.recycleAsyncId(we,ne,null)),this.delay=null,super.unsubscribe()}}}},2631:(_t,Me,p)=>{p.d(Me,{v:()=>w});var n=p(4552);class l{constructor(H,Q=l.now){this.schedulerActionCtor=H,this.now=Q}schedule(H,Q=0,ne){return new this.schedulerActionCtor(this,H).schedule(ne,Q)}}l.now=n.l.now;class w extends l{constructor(H,Q=l.now){super(H,Q),this.actions=[],this._active=!1}flush(H){const{actions:Q}=this;if(this._active)return void Q.push(H);let ne;this._active=!0;do{if(ne=H.execute(H.state,H.delay))break}while(H=Q.shift());if(this._active=!1,ne){for(;H=Q.shift();)H.unsubscribe();throw ne}}}},927:(_t,Me,p)=>{p.d(Me,{Z:()=>ne});var n=p(1954),l=p(7394);const w={schedule(ie){let J=requestAnimationFrame,xe=cancelAnimationFrame;const{delegate:fe}=w;fe&&(J=fe.requestAnimationFrame,xe=fe.cancelAnimationFrame);const ce=J(De=>{xe=void 0,ie(De)});return new l.w0(()=>xe?.(ce))},requestAnimationFrame(...ie){const{delegate:J}=w;return(J?.requestAnimationFrame||requestAnimationFrame)(...ie)},cancelAnimationFrame(...ie){const{delegate:J}=w;return(J?.cancelAnimationFrame||cancelAnimationFrame)(...ie)},delegate:void 0};var H=p(2631);const ne=new class Q extends H.v{flush(J){this._active=!0;const xe=this._scheduled;this._scheduled=void 0;const{actions:fe}=this;let ce;J=J||fe.shift();do{if(ce=J.execute(J.state,J.delay))break}while((J=fe[0])&&J.id===xe&&fe.shift());if(this._active=!1,ce){for(;(J=fe[0])&&J.id===xe&&fe.shift();)J.unsubscribe();throw ce}}}(class E extends n.o{constructor(J,xe){super(J,xe),this.scheduler=J,this.work=xe}requestAsyncId(J,xe,fe=0){return null!==fe&&fe>0?super.requestAsyncId(J,xe,fe):(J.actions.push(this),J._scheduled||(J._scheduled=w.requestAnimationFrame(()=>J.flush(void 0))))}recycleAsyncId(J,xe,fe=0){var ce;if(null!=fe?fe>0:this.delay>0)return super.recycleAsyncId(J,xe,fe);const{actions:De}=J;null!=xe&&(null===(ce=De[De.length-1])||void 0===ce?void 0:ce.id)!==xe&&(w.cancelAnimationFrame(xe),J._scheduled=void 0)}})},6410:(_t,Me,p)=>{p.d(Me,{E:()=>De});var n=p(1954);let w,l=1;const E={};function H(Le){return Le in E&&(delete E[Le],!0)}const Q={setImmediate(Le){const se=l++;return E[se]=!0,w||(w=Promise.resolve()),w.then(()=>H(se)&&Le()),se},clearImmediate(Le){H(Le)}},{setImmediate:we,clearImmediate:ie}=Q,J={setImmediate(...Le){const{delegate:se}=J;return(se?.setImmediate||we)(...Le)},clearImmediate(Le){const{delegate:se}=J;return(se?.clearImmediate||ie)(Le)},delegate:void 0};var fe=p(2631);const De=new class ce extends fe.v{flush(se){this._active=!0;const ue=this._scheduled;this._scheduled=void 0;const{actions:ze}=this;let oe;se=se||ze.shift();do{if(oe=se.execute(se.state,se.delay))break}while((se=ze[0])&&se.id===ue&&ze.shift());if(this._active=!1,oe){for(;(se=ze[0])&&se.id===ue&&ze.shift();)se.unsubscribe();throw oe}}}(class xe extends n.o{constructor(se,ue){super(se,ue),this.scheduler=se,this.work=ue}requestAsyncId(se,ue,ze=0){return null!==ze&&ze>0?super.requestAsyncId(se,ue,ze):(se.actions.push(this),se._scheduled||(se._scheduled=J.setImmediate(se.flush.bind(se,void 0))))}recycleAsyncId(se,ue,ze=0){var oe;if(null!=ze?ze>0:this.delay>0)return super.recycleAsyncId(se,ue,ze);const{actions:N}=se;null!=ue&&(null===(oe=N[N.length-1])||void 0===oe?void 0:oe.id)!==ue&&(J.clearImmediate(ue),se._scheduled===ue&&(se._scheduled=void 0))}})},6321:(_t,Me,p)=>{p.d(Me,{P:()=>E,z:()=>w});var n=p(1954);const w=new(p(2631).v)(n.o),E=w},4552:(_t,Me,p)=>{p.d(Me,{l:()=>n});const n={now:()=>(n.delegate||Date).now(),delegate:void 0}},7599:(_t,Me,p)=>{p.d(Me,{z:()=>n});const n={setTimeout(l,w,...E){const{delegate:H}=n;return H?.setTimeout?H.setTimeout(l,w,...E):setTimeout(l,w,...E)},clearTimeout(l){const{delegate:w}=n;return(w?.clearTimeout||clearTimeout)(l)},delegate:void 0}},4971:(_t,Me,p)=>{p.d(Me,{h:()=>l});const l=function n(){return"function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"}()},4850:(_t,Me,p)=>{p.d(Me,{L:()=>n});const n="function"==typeof Symbol&&Symbol.observable||"@@observable"},9940:(_t,Me,p)=>{p.d(Me,{_6:()=>Q,jO:()=>E,yG:()=>H});var n=p(4674),l=p(671);function w(ne){return ne[ne.length-1]}function E(ne){return(0,n.m)(w(ne))?ne.pop():void 0}function H(ne){return(0,l.K)(w(ne))?ne.pop():void 0}function Q(ne,we){return"number"==typeof w(ne)?ne.pop():we}},7453:(_t,Me,p)=>{p.d(Me,{D:()=>H});const{isArray:n}=Array,{getPrototypeOf:l,prototype:w,keys:E}=Object;function H(ne){if(1===ne.length){const we=ne[0];if(n(we))return{args:we,keys:null};if(function Q(ne){return ne&&"object"==typeof ne&&l(ne)===w}(we)){const ie=E(we);return{args:ie.map(J=>we[J]),keys:ie}}}return{args:ne,keys:null}}},9039:(_t,Me,p)=>{function n(l,w){if(l){const E=l.indexOf(w);0<=E&&l.splice(E,1)}}p.d(Me,{P:()=>n})},2306:(_t,Me,p)=>{function n(l){const E=l(H=>{Error.call(H),H.stack=(new Error).stack});return E.prototype=Object.create(Error.prototype),E.prototype.constructor=E,E}p.d(Me,{d:()=>n})},2714:(_t,Me,p)=>{function n(l,w){return l.reduce((E,H,Q)=>(E[H]=w[Q],E),{})}p.d(Me,{n:()=>n})},1441:(_t,Me,p)=>{p.d(Me,{O:()=>E,x:()=>w});var n=p(2653);let l=null;function w(H){if(n.config.useDeprecatedSynchronousErrorHandling){const Q=!l;if(Q&&(l={errorThrown:!1,error:null}),H(),Q){const{errorThrown:ne,error:we}=l;if(l=null,ne)throw we}}else H()}function E(H){n.config.useDeprecatedSynchronousErrorHandling&&l&&(l.errorThrown=!0,l.error=H)}},7103:(_t,Me,p)=>{function n(l,w,E,H=0,Q=!1){const ne=w.schedule(function(){E(),Q?l.add(this.schedule(null,H)):this.unsubscribe()},H);if(l.add(ne),!Q)return ne}p.d(Me,{f:()=>n})},2737:(_t,Me,p)=>{function n(l){return l}p.d(Me,{y:()=>n})},4266:(_t,Me,p)=>{p.d(Me,{z:()=>n});const n=l=>l&&"number"==typeof l.length&&"function"!=typeof l},5726:(_t,Me,p)=>{p.d(Me,{D:()=>l});var n=p(4674);function l(w){return Symbol.asyncIterator&&(0,n.m)(w?.[Symbol.asyncIterator])}},4674:(_t,Me,p)=>{function n(l){return"function"==typeof l}p.d(Me,{m:()=>n})},8382:(_t,Me,p)=>{p.d(Me,{c:()=>w});var n=p(4850),l=p(4674);function w(E){return(0,l.m)(E[n.L])}},3664:(_t,Me,p)=>{p.d(Me,{T:()=>w});var n=p(4971),l=p(4674);function w(E){return(0,l.m)(E?.[n.h])}},4026:(_t,Me,p)=>{p.d(Me,{t:()=>l});var n=p(4674);function l(w){return(0,n.m)(w?.then)}},541:(_t,Me,p)=>{p.d(Me,{L:()=>E,Q:()=>w});var n=p(7582),l=p(4674);function w(H){return(0,n.FC)(this,arguments,function*(){const ne=H.getReader();try{for(;;){const{value:we,done:ie}=yield(0,n.qq)(ne.read());if(ie)return yield(0,n.qq)(void 0);yield yield(0,n.qq)(we)}}finally{ne.releaseLock()}})}function E(H){return(0,l.m)(H?.getReader)}},671:(_t,Me,p)=>{p.d(Me,{K:()=>l});var n=p(4674);function l(w){return w&&(0,n.m)(w.schedule)}},9360:(_t,Me,p)=>{p.d(Me,{A:()=>l,e:()=>w});var n=p(4674);function l(E){return(0,n.m)(E?.lift)}function w(E){return H=>{if(l(H))return H.lift(function(Q){try{return E(Q,this)}catch(ne){this.error(ne)}});throw new TypeError("Unable to lift unknown Observable type")}}},7400:(_t,Me,p)=>{p.d(Me,{Z:()=>E});var n=p(7398);const{isArray:l}=Array;function E(H){return(0,n.U)(Q=>function w(H,Q){return l(Q)?H(...Q):H(Q)}(H,Q))}},2420:(_t,Me,p)=>{function n(){}p.d(Me,{Z:()=>n})},8407:(_t,Me,p)=>{p.d(Me,{U:()=>w,z:()=>l});var n=p(2737);function l(...E){return w(E)}function w(E){return 0===E.length?n.y:1===E.length?E[0]:function(Q){return E.reduce((ne,we)=>we(ne),Q)}}},3894:(_t,Me,p)=>{p.d(Me,{h:()=>w});var n=p(2653),l=p(7599);function w(E){l.z.setTimeout(()=>{const{onUnhandledError:H}=n.config;if(!H)throw E;H(E)})}},9853:(_t,Me,p)=>{function n(l){return new TypeError(`You provided ${null!==l&&"object"==typeof l?"an invalid object":`'${l}'`} where a stream was expected. You can provide an Observable, Promise, ReadableStream, Array, AsyncIterable, or Iterable.`)}p.d(Me,{z:()=>n})},6825:(_t,Me,p)=>{p.d(Me,{F4:()=>J,IO:()=>Ae,LC:()=>l,SB:()=>ie,X$:()=>E,ZE:()=>ue,ZN:()=>se,_j:()=>n,eR:()=>xe,jt:()=>H,k1:()=>ze,l3:()=>w,oB:()=>we,pV:()=>ce,vP:()=>ne});class n{}class l{}const w="*";function E(oe,N){return{type:7,name:oe,definitions:N,options:{}}}function H(oe,N=null){return{type:4,styles:N,timings:oe}}function ne(oe,N=null){return{type:2,steps:oe,options:N}}function we(oe){return{type:6,styles:oe,offset:null}}function ie(oe,N,Ce){return{type:0,name:oe,styles:N,options:Ce}}function J(oe){return{type:5,steps:oe}}function xe(oe,N,Ce=null){return{type:1,expr:oe,animation:N,options:Ce}}function ce(oe=null){return{type:9,options:oe}}function Ae(oe,N,Ce=null){return{type:11,selector:oe,animation:N,options:Ce}}class se{constructor(N=0,Ce=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=N+Ce}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(N=>N()),this._onDoneFns=[])}onStart(N){this._originalOnStartFns.push(N),this._onStartFns.push(N)}onDone(N){this._originalOnDoneFns.push(N),this._onDoneFns.push(N)}onDestroy(N){this._onDestroyFns.push(N)}hasStarted(){return this._started}init(){}play(){this.hasStarted()||(this._onStart(),this.triggerMicrotask()),this._started=!0}triggerMicrotask(){queueMicrotask(()=>this._onFinish())}_onStart(){this._onStartFns.forEach(N=>N()),this._onStartFns=[]}pause(){}restart(){}finish(){this._onFinish()}destroy(){this._destroyed||(this._destroyed=!0,this.hasStarted()||this._onStart(),this.finish(),this._onDestroyFns.forEach(N=>N()),this._onDestroyFns=[])}reset(){this._started=!1,this._finished=!1,this._onStartFns=this._originalOnStartFns,this._onDoneFns=this._originalOnDoneFns}setPosition(N){this._position=this.totalTime?N*this.totalTime:1}getPosition(){return this.totalTime?this._position/this.totalTime:1}triggerCallback(N){const Ce="start"==N?this._onStartFns:this._onDoneFns;Ce.forEach(K=>K()),Ce.length=0}}class ue{constructor(N){this._onDoneFns=[],this._onStartFns=[],this._finished=!1,this._started=!1,this._destroyed=!1,this._onDestroyFns=[],this.parentPlayer=null,this.totalTime=0,this.players=N;let Ce=0,K=0,ve=0;const ye=this.players.length;0==ye?queueMicrotask(()=>this._onFinish()):this.players.forEach(He=>{He.onDone(()=>{++Ce==ye&&this._onFinish()}),He.onDestroy(()=>{++K==ye&&this._onDestroy()}),He.onStart(()=>{++ve==ye&&this._onStart()})}),this.totalTime=this.players.reduce((He,ft)=>Math.max(He,ft.totalTime),0)}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(N=>N()),this._onDoneFns=[])}init(){this.players.forEach(N=>N.init())}onStart(N){this._onStartFns.push(N)}_onStart(){this.hasStarted()||(this._started=!0,this._onStartFns.forEach(N=>N()),this._onStartFns=[])}onDone(N){this._onDoneFns.push(N)}onDestroy(N){this._onDestroyFns.push(N)}hasStarted(){return this._started}play(){this.parentPlayer||this.init(),this._onStart(),this.players.forEach(N=>N.play())}pause(){this.players.forEach(N=>N.pause())}restart(){this.players.forEach(N=>N.restart())}finish(){this._onFinish(),this.players.forEach(N=>N.finish())}destroy(){this._onDestroy()}_onDestroy(){this._destroyed||(this._destroyed=!0,this._onFinish(),this.players.forEach(N=>N.destroy()),this._onDestroyFns.forEach(N=>N()),this._onDestroyFns=[])}reset(){this.players.forEach(N=>N.reset()),this._destroyed=!1,this._finished=!1,this._started=!1}setPosition(N){const Ce=N*this.totalTime;this.players.forEach(K=>{const ve=K.totalTime?Math.min(1,Ce/K.totalTime):1;K.setPosition(ve)})}getPosition(){const N=this.players.reduce((Ce,K)=>null===Ce||K.totalTime>Ce.totalTime?K:Ce,null);return null!=N?N.getPosition():0}beforeDestroy(){this.players.forEach(N=>{N.beforeDestroy&&N.beforeDestroy()})}triggerCallback(N){const Ce="start"==N?this._onStartFns:this._onDoneFns;Ce.forEach(K=>K()),Ce.length=0}}const ze="!"},4300:(_t,Me,p)=>{p.d(Me,{$s:()=>ft,Em:()=>sn,Kd:()=>Mt,X6:()=>tn,Zf:()=>oe,iD:()=>N,kH:()=>An,qm:()=>yn,rt:()=>kn,s1:()=>It,tE:()=>$t,yG:()=>fn});var n=p(6814),l=p(5879),w=p(2831),E=p(8645),H=p(7394),Q=p(5619),ne=p(2096),we=p(6028),ie=p(9397),J=p(3620),xe=p(2181),fe=p(7398),ce=p(836),De=p(3997),Ae=p(9773),Le=p(2495),se=p(7131),ue=p(1088);const ze=" ";function oe(ut,me,le){const G=Ce(ut,me);G.some(Ie=>Ie.trim()==le.trim())||(G.push(le.trim()),ut.setAttribute(me,G.join(ze)))}function N(ut,me,le){const Ie=Ce(ut,me).filter($e=>$e!=le.trim());Ie.length?ut.setAttribute(me,Ie.join(ze)):ut.removeAttribute(me)}function Ce(ut,me){return(ut.getAttribute(me)||"").match(/\S+/g)||[]}const ve="cdk-describedby-message",ye="cdk-describedby-host";let He=0,ft=(()=>{class ut{constructor(le,G){this._platform=G,this._messageRegistry=new Map,this._messagesContainer=null,this._id=""+He++,this._document=le,this._id=(0,l.f3M)(l.AFp)+"-"+He++}describe(le,G,Ie){if(!this._canBeDescribed(le,G))return;const $e=ct(G,Ie);"string"!=typeof G?(xt(G,this._id),this._messageRegistry.set($e,{messageElement:G,referenceCount:0})):this._messageRegistry.has($e)||this._createMessageElement(G,Ie),this._isElementDescribedByMessage(le,$e)||this._addMessageReference(le,$e)}removeDescription(le,G,Ie){if(!G||!this._isElementNode(le))return;const $e=ct(G,Ie);if(this._isElementDescribedByMessage(le,$e)&&this._removeMessageReference(le,$e),"string"==typeof G){const St=this._messageRegistry.get($e);St&&0===St.referenceCount&&this._deleteMessageElement($e)}0===this._messagesContainer?.childNodes.length&&(this._messagesContainer.remove(),this._messagesContainer=null)}ngOnDestroy(){const le=this._document.querySelectorAll(`[${ye}="${this._id}"]`);for(let G=0;G0!=Ie.indexOf(ve));le.setAttribute("aria-describedby",G.join(" "))}_addMessageReference(le,G){const Ie=this._messageRegistry.get(G);oe(le,"aria-describedby",Ie.messageElement.id),le.setAttribute(ye,this._id),Ie.referenceCount++}_removeMessageReference(le,G){const Ie=this._messageRegistry.get(G);Ie.referenceCount--,N(le,"aria-describedby",Ie.messageElement.id),le.removeAttribute(ye)}_isElementDescribedByMessage(le,G){const Ie=Ce(le,"aria-describedby"),$e=this._messageRegistry.get(G),St=$e&&$e.messageElement.id;return!!St&&-1!=Ie.indexOf(St)}_canBeDescribed(le,G){if(!this._isElementNode(le))return!1;if(G&&"object"==typeof G)return!0;const Ie=null==G?"":`${G}`.trim(),$e=le.getAttribute("aria-label");return!(!Ie||$e&&$e.trim()===Ie)}_isElementNode(le){return le.nodeType===this._document.ELEMENT_NODE}static#e=this.\u0275fac=function(G){return new(G||ut)(l.LFG(n.K0),l.LFG(w.t4))};static#t=this.\u0275prov=l.Yz7({token:ut,factory:ut.\u0275fac,providedIn:"root"})}return ut})();function ct(ut,me){return"string"==typeof ut?`${me||""}/${ut}`:ut}function xt(ut,me){ut.id||(ut.id=`${ve}-${me}-${He++}`)}class Ut{constructor(me){this._items=me,this._activeItemIndex=-1,this._activeItem=null,this._wrap=!1,this._letterKeyStream=new E.x,this._typeaheadSubscription=H.w0.EMPTY,this._vertical=!0,this._allowedModifierKeys=[],this._homeAndEnd=!1,this._pageUpAndDown={enabled:!1,delta:10},this._skipPredicateFn=le=>le.disabled,this._pressedLetters=[],this.tabOut=new E.x,this.change=new E.x,me instanceof l.n_E&&(this._itemChangesSubscription=me.changes.subscribe(le=>{if(this._activeItem){const Ie=le.toArray().indexOf(this._activeItem);Ie>-1&&Ie!==this._activeItemIndex&&(this._activeItemIndex=Ie)}}))}skipPredicate(me){return this._skipPredicateFn=me,this}withWrap(me=!0){return this._wrap=me,this}withVerticalOrientation(me=!0){return this._vertical=me,this}withHorizontalOrientation(me){return this._horizontal=me,this}withAllowedModifierKeys(me){return this._allowedModifierKeys=me,this}withTypeAhead(me=200){return this._typeaheadSubscription.unsubscribe(),this._typeaheadSubscription=this._letterKeyStream.pipe((0,ie.b)(le=>this._pressedLetters.push(le)),(0,J.b)(me),(0,xe.h)(()=>this._pressedLetters.length>0),(0,fe.U)(()=>this._pressedLetters.join(""))).subscribe(le=>{const G=this._getItemsArray();for(let Ie=1;Ie!me[$e]||this._allowedModifierKeys.indexOf($e)>-1);switch(le){case we.Mf:return void this.tabOut.next();case we.JH:if(this._vertical&&Ie){this.setNextItemActive();break}return;case we.LH:if(this._vertical&&Ie){this.setPreviousItemActive();break}return;case we.SV:if(this._horizontal&&Ie){"rtl"===this._horizontal?this.setPreviousItemActive():this.setNextItemActive();break}return;case we.oh:if(this._horizontal&&Ie){"rtl"===this._horizontal?this.setNextItemActive():this.setPreviousItemActive();break}return;case we.Sd:if(this._homeAndEnd&&Ie){this.setFirstItemActive();break}return;case we.uR:if(this._homeAndEnd&&Ie){this.setLastItemActive();break}return;case we.Ku:if(this._pageUpAndDown.enabled&&Ie){const $e=this._activeItemIndex-this._pageUpAndDown.delta;this._setActiveItemByIndex($e>0?$e:0,1);break}return;case we.VM:if(this._pageUpAndDown.enabled&&Ie){const $e=this._activeItemIndex+this._pageUpAndDown.delta,St=this._getItemsArray().length;this._setActiveItemByIndex($e=we.A&&le<=we.Z||le>=we.xE&&le<=we.aO)&&this._letterKeyStream.next(String.fromCharCode(le))))}this._pressedLetters=[],me.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._items.length-1,-1)}setNextItemActive(){this._activeItemIndex<0?this.setFirstItemActive():this._setActiveItemByDelta(1)}setPreviousItemActive(){this._activeItemIndex<0&&this._wrap?this.setLastItemActive():this._setActiveItemByDelta(-1)}updateActiveItem(me){const le=this._getItemsArray(),G="number"==typeof me?me:le.indexOf(me);this._activeItem=le[G]??null,this._activeItemIndex=G}destroy(){this._typeaheadSubscription.unsubscribe(),this._itemChangesSubscription?.unsubscribe(),this._letterKeyStream.complete(),this.tabOut.complete(),this.change.complete(),this._pressedLetters=[]}_setActiveItemByDelta(me){this._wrap?this._setActiveInWrapMode(me):this._setActiveInDefaultMode(me)}_setActiveInWrapMode(me){const le=this._getItemsArray();for(let G=1;G<=le.length;G++){const Ie=(this._activeItemIndex+me*G+le.length)%le.length;if(!this._skipPredicateFn(le[Ie]))return void this.setActiveItem(Ie)}}_setActiveInDefaultMode(me){this._setActiveItemByIndex(this._activeItemIndex+me,me)}_setActiveItemByIndex(me,le){const G=this._getItemsArray();if(G[me]){for(;this._skipPredicateFn(G[me]);)if(!G[me+=le])return;this.setActiveItem(me)}}_getItemsArray(){return this._items instanceof l.n_E?this._items.toArray():this._items}}class It extends Ut{setActiveItem(me){this.activeItem&&this.activeItem.setInactiveStyles(),super.setActiveItem(me),this.activeItem&&this.activeItem.setActiveStyles()}}class sn extends Ut{constructor(){super(...arguments),this._origin="program"}setFocusOrigin(me){return this._origin=me,this}setActiveItem(me){super.setActiveItem(me),this.activeItem&&this.activeItem.focus(this._origin)}}function tn(ut){return 0===ut.buttons||0===ut.offsetX&&0===ut.offsetY}function fn(ut){const me=ut.touches&&ut.touches[0]||ut.changedTouches&&ut.changedTouches[0];return!(!me||-1!==me.identifier||null!=me.radiusX&&1!==me.radiusX||null!=me.radiusY&&1!==me.radiusY)}const Zt=new l.OlP("cdk-input-modality-detector-options"),Mn={ignoreKeys:[we.zL,we.jx,we.b2,we.MW,we.JU]},$=(0,w.i$)({passive:!0,capture:!0});let be=(()=>{class ut{get mostRecentModality(){return this._modality.value}constructor(le,G,Ie,$e){this._platform=le,this._mostRecentTarget=null,this._modality=new Q.X(null),this._lastTouchMs=0,this._onKeydown=St=>{this._options?.ignoreKeys?.some(_e=>_e===St.keyCode)||(this._modality.next("keyboard"),this._mostRecentTarget=(0,w.sA)(St))},this._onMousedown=St=>{Date.now()-this._lastTouchMs<650||(this._modality.next(tn(St)?"keyboard":"mouse"),this._mostRecentTarget=(0,w.sA)(St))},this._onTouchstart=St=>{fn(St)?this._modality.next("keyboard"):(this._lastTouchMs=Date.now(),this._modality.next("touch"),this._mostRecentTarget=(0,w.sA)(St))},this._options={...Mn,...$e},this.modalityDetected=this._modality.pipe((0,ce.T)(1)),this.modalityChanged=this.modalityDetected.pipe((0,De.x)()),le.isBrowser&&G.runOutsideAngular(()=>{Ie.addEventListener("keydown",this._onKeydown,$),Ie.addEventListener("mousedown",this._onMousedown,$),Ie.addEventListener("touchstart",this._onTouchstart,$)})}ngOnDestroy(){this._modality.complete(),this._platform.isBrowser&&(document.removeEventListener("keydown",this._onKeydown,$),document.removeEventListener("mousedown",this._onMousedown,$),document.removeEventListener("touchstart",this._onTouchstart,$))}static#e=this.\u0275fac=function(G){return new(G||ut)(l.LFG(w.t4),l.LFG(l.R0b),l.LFG(n.K0),l.LFG(Zt,8))};static#t=this.\u0275prov=l.Yz7({token:ut,factory:ut.\u0275fac,providedIn:"root"})}return ut})();const Be=new l.OlP("liveAnnouncerElement",{providedIn:"root",factory:function lt(){return null}}),ht=new l.OlP("LIVE_ANNOUNCER_DEFAULT_OPTIONS");let mt=0,Mt=(()=>{class ut{constructor(le,G,Ie,$e){this._ngZone=G,this._defaultOptions=$e,this._document=Ie,this._liveElement=le||this._createLiveElement()}announce(le,...G){const Ie=this._defaultOptions;let $e,St;return 1===G.length&&"number"==typeof G[0]?St=G[0]:[$e,St]=G,this.clear(),clearTimeout(this._previousTimeout),$e||($e=Ie&&Ie.politeness?Ie.politeness:"polite"),null==St&&Ie&&(St=Ie.duration),this._liveElement.setAttribute("aria-live",$e),this._liveElement.id&&this._exposeAnnouncerToModals(this._liveElement.id),this._ngZone.runOutsideAngular(()=>(this._currentPromise||(this._currentPromise=new Promise(_e=>this._currentResolve=_e)),clearTimeout(this._previousTimeout),this._previousTimeout=setTimeout(()=>{this._liveElement.textContent=le,"number"==typeof St&&(this._previousTimeout=setTimeout(()=>this.clear(),St)),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(){const le="cdk-live-announcer-element",G=this._document.getElementsByClassName(le),Ie=this._document.createElement("div");for(let $e=0;$e .cdk-overlay-container [aria-modal="true"]');for(let Ie=0;Ie{class ut{constructor(le,G,Ie,$e,St){this._ngZone=le,this._platform=G,this._inputModalityDetector=Ie,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 E.x,this._rootNodeFocusAndBlurListener=_e=>{for(let S=(0,w.sA)(_e);S;S=S.parentElement)"focus"===_e.type?this._onFocus(_e,S):this._onBlur(_e,S)},this._document=$e,this._detectionMode=St?.detectionMode||0}monitor(le,G=!1){const Ie=(0,Le.fI)(le);if(!this._platform.isBrowser||1!==Ie.nodeType)return(0,ne.of)();const $e=(0,w.kV)(Ie)||this._getDocument(),St=this._elementInfo.get(Ie);if(St)return G&&(St.checkChildren=!0),St.subject;const _e={checkChildren:G,subject:new E.x,rootNode:$e};return this._elementInfo.set(Ie,_e),this._registerGlobalListeners(_e),_e.subject}stopMonitoring(le){const G=(0,Le.fI)(le),Ie=this._elementInfo.get(G);Ie&&(Ie.subject.complete(),this._setClasses(G),this._elementInfo.delete(G),this._removeGlobalListeners(Ie))}focusVia(le,G,Ie){const $e=(0,Le.fI)(le);$e===this._getDocument().activeElement?this._getClosestElementsInfo($e).forEach(([_e,ee])=>this._originChanged(_e,G,ee)):(this._setOrigin(G),"function"==typeof $e.focus&&$e.focus(Ie))}ngOnDestroy(){this._elementInfo.forEach((le,G)=>this.stopMonitoring(G))}_getDocument(){return this._document||document}_getWindow(){return this._getDocument().defaultView||window}_getFocusOrigin(le){return this._origin?this._originFromTouchInteraction?this._shouldBeAttributedToTouch(le)?"touch":"program":this._origin:this._windowFocused&&this._lastFocusOrigin?this._lastFocusOrigin:le&&this._isLastInteractionFromInputLabel(le)?"mouse":"program"}_shouldBeAttributedToTouch(le){return 1===this._detectionMode||!!le?.contains(this._inputModalityDetector._mostRecentTarget)}_setClasses(le,G){le.classList.toggle("cdk-focused",!!G),le.classList.toggle("cdk-touch-focused","touch"===G),le.classList.toggle("cdk-keyboard-focused","keyboard"===G),le.classList.toggle("cdk-mouse-focused","mouse"===G),le.classList.toggle("cdk-program-focused","program"===G)}_setOrigin(le,G=!1){this._ngZone.runOutsideAngular(()=>{this._origin=le,this._originFromTouchInteraction="touch"===le&&G,0===this._detectionMode&&(clearTimeout(this._originTimeoutId),this._originTimeoutId=setTimeout(()=>this._origin=null,this._originFromTouchInteraction?650:1))})}_onFocus(le,G){const Ie=this._elementInfo.get(G),$e=(0,w.sA)(le);!Ie||!Ie.checkChildren&&G!==$e||this._originChanged(G,this._getFocusOrigin($e),Ie)}_onBlur(le,G){const Ie=this._elementInfo.get(G);!Ie||Ie.checkChildren&&le.relatedTarget instanceof Node&&G.contains(le.relatedTarget)||(this._setClasses(G),this._emitOrigin(Ie,null))}_emitOrigin(le,G){le.subject.observers.length&&this._ngZone.run(()=>le.subject.next(G))}_registerGlobalListeners(le){if(!this._platform.isBrowser)return;const G=le.rootNode,Ie=this._rootNodeFocusListenerCount.get(G)||0;Ie||this._ngZone.runOutsideAngular(()=>{G.addEventListener("focus",this._rootNodeFocusAndBlurListener,Kt),G.addEventListener("blur",this._rootNodeFocusAndBlurListener,Kt)}),this._rootNodeFocusListenerCount.set(G,Ie+1),1==++this._monitoredElementCount&&(this._ngZone.runOutsideAngular(()=>{this._getWindow().addEventListener("focus",this._windowFocusListener)}),this._inputModalityDetector.modalityDetected.pipe((0,Ae.R)(this._stopInputModalityDetector)).subscribe($e=>{this._setOrigin($e,!0)}))}_removeGlobalListeners(le){const G=le.rootNode;if(this._rootNodeFocusListenerCount.has(G)){const Ie=this._rootNodeFocusListenerCount.get(G);Ie>1?this._rootNodeFocusListenerCount.set(G,Ie-1):(G.removeEventListener("focus",this._rootNodeFocusAndBlurListener,Kt),G.removeEventListener("blur",this._rootNodeFocusAndBlurListener,Kt),this._rootNodeFocusListenerCount.delete(G))}--this._monitoredElementCount||(this._getWindow().removeEventListener("focus",this._windowFocusListener),this._stopInputModalityDetector.next(),clearTimeout(this._windowFocusTimeoutId),clearTimeout(this._originTimeoutId))}_originChanged(le,G,Ie){this._setClasses(le,G),this._emitOrigin(Ie,G),this._lastFocusOrigin=G}_getClosestElementsInfo(le){const G=[];return this._elementInfo.forEach((Ie,$e)=>{($e===le||Ie.checkChildren&&$e.contains(le))&&G.push([$e,Ie])}),G}_isLastInteractionFromInputLabel(le){const{_mostRecentTarget:G,mostRecentModality:Ie}=this._inputModalityDetector;if("mouse"!==Ie||!G||G===le||"INPUT"!==le.nodeName&&"TEXTAREA"!==le.nodeName||le.disabled)return!1;const $e=le.labels;if($e)for(let St=0;St<$e.length;St++)if($e[St].contains(G))return!0;return!1}static#e=this.\u0275fac=function(G){return new(G||ut)(l.LFG(l.R0b),l.LFG(w.t4),l.LFG(be),l.LFG(n.K0,8),l.LFG(Wt,8))};static#t=this.\u0275prov=l.Yz7({token:ut,factory:ut.\u0275fac,providedIn:"root"})}return ut})(),An=(()=>{class ut{constructor(le,G){this._elementRef=le,this._focusMonitor=G,this._focusOrigin=null,this.cdkFocusChange=new l.vpe}get focusOrigin(){return this._focusOrigin}ngAfterViewInit(){const le=this._elementRef.nativeElement;this._monitorSubscription=this._focusMonitor.monitor(le,1===le.nodeType&&le.hasAttribute("cdkMonitorSubtreeFocus")).subscribe(G=>{this._focusOrigin=G,this.cdkFocusChange.emit(G)})}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef),this._monitorSubscription&&this._monitorSubscription.unsubscribe()}static#e=this.\u0275fac=function(G){return new(G||ut)(l.Y36(l.SBq),l.Y36($t))};static#t=this.\u0275dir=l.lG2({type:ut,selectors:[["","cdkMonitorElementFocus",""],["","cdkMonitorSubtreeFocus",""]],outputs:{cdkFocusChange:"cdkFocusChange"},exportAs:["cdkMonitorFocus"]})}return ut})();const bn="cdk-high-contrast-black-on-white",pn="cdk-high-contrast-white-on-black",gn="cdk-high-contrast-active";let yn=(()=>{class ut{constructor(le,G){this._platform=le,this._document=G,this._breakpointSubscription=(0,l.f3M)(ue.Yg).observe("(forced-colors: active)").subscribe(()=>{this._hasCheckedHighContrastMode&&(this._hasCheckedHighContrastMode=!1,this._applyBodyHighContrastModeCssClasses())})}getHighContrastMode(){if(!this._platform.isBrowser)return 0;const le=this._document.createElement("div");le.style.backgroundColor="rgb(1,2,3)",le.style.position="absolute",this._document.body.appendChild(le);const G=this._document.defaultView||window,Ie=G&&G.getComputedStyle?G.getComputedStyle(le):null,$e=(Ie&&Ie.backgroundColor||"").replace(/ /g,"");switch(le.remove(),$e){case"rgb(0,0,0)":case"rgb(45,50,54)":case"rgb(32,32,32)":return 2;case"rgb(255,255,255)":case"rgb(255,250,239)":return 1}return 0}ngOnDestroy(){this._breakpointSubscription.unsubscribe()}_applyBodyHighContrastModeCssClasses(){if(!this._hasCheckedHighContrastMode&&this._platform.isBrowser&&this._document.body){const le=this._document.body.classList;le.remove(gn,bn,pn),this._hasCheckedHighContrastMode=!0;const G=this.getHighContrastMode();1===G?le.add(gn,bn):2===G&&le.add(gn,pn)}}static#e=this.\u0275fac=function(G){return new(G||ut)(l.LFG(w.t4),l.LFG(n.K0))};static#t=this.\u0275prov=l.Yz7({token:ut,factory:ut.\u0275fac,providedIn:"root"})}return ut})(),kn=(()=>{class ut{constructor(le){le._applyBodyHighContrastModeCssClasses()}static#e=this.\u0275fac=function(G){return new(G||ut)(l.LFG(yn))};static#t=this.\u0275mod=l.oAB({type:ut});static#n=this.\u0275inj=l.cJS({imports:[se.Q8]})}return ut})()},9388:(_t,Me,p)=>{p.d(Me,{Is:()=>ne,vT:()=>ie});var n=p(5879),l=p(6814);const w=new n.OlP("cdk-dir-doc",{providedIn:"root",factory:function E(){return(0,n.f3M)(l.K0)}}),H=/^(ar|ckb|dv|he|iw|fa|nqo|ps|sd|ug|ur|yi|.*[-_](Adlm|Arab|Hebr|Nkoo|Rohg|Thaa))(?!.*[-_](Latn|Cyrl)($|-|_))($|-|_)/i;let ne=(()=>{class J{constructor(fe){this.value="ltr",this.change=new n.vpe,fe&&(this.value=function Q(J){const xe=J?.toLowerCase()||"";return"auto"===xe&&typeof navigator<"u"&&navigator?.language?H.test(navigator.language)?"rtl":"ltr":"rtl"===xe?"rtl":"ltr"}((fe.body?fe.body.dir:null)||(fe.documentElement?fe.documentElement.dir:null)||"ltr"))}ngOnDestroy(){this.change.complete()}static#e=this.\u0275fac=function(ce){return new(ce||J)(n.LFG(w,8))};static#t=this.\u0275prov=n.Yz7({token:J,factory:J.\u0275fac,providedIn:"root"})}return J})(),ie=(()=>{class J{static#e=this.\u0275fac=function(ce){return new(ce||J)};static#t=this.\u0275mod=n.oAB({type:J});static#n=this.\u0275inj=n.cJS({})}return J})()},2495:(_t,Me,p)=>{p.d(Me,{Eq:()=>H,HM:()=>Q,Ig:()=>l,fI:()=>ne,su:()=>w});var n=p(5879);function l(ie){return null!=ie&&"false"!=`${ie}`}function w(ie,J=0){return function E(ie){return!isNaN(parseFloat(ie))&&!isNaN(Number(ie))}(ie)?Number(ie):J}function H(ie){return Array.isArray(ie)?ie:[ie]}function Q(ie){return null==ie?"":"string"==typeof ie?ie:`${ie}px`}function ne(ie){return ie instanceof n.SBq?ie.nativeElement:ie}},8337:(_t,Me,p)=>{p.d(Me,{A8:()=>J,Ov:()=>we});var n=p(8645),l=p(5879);class we{get selected(){return this._selected||(this._selected=Array.from(this._selection.values())),this._selected}constructor(ce=!1,De,Ae=!0,Le){this._multiple=ce,this._emitChanges=Ae,this.compareWith=Le,this._selection=new Set,this._deselectedToEmit=[],this._selectedToEmit=[],this.changed=new n.x,De&&De.length&&(ce?De.forEach(se=>this._markSelected(se)):this._markSelected(De[0]),this._selectedToEmit.length=0)}select(...ce){this._verifyValueAssignment(ce),ce.forEach(Ae=>this._markSelected(Ae));const De=this._hasQueuedChanges();return this._emitChangeEvent(),De}deselect(...ce){this._verifyValueAssignment(ce),ce.forEach(Ae=>this._unmarkSelected(Ae));const De=this._hasQueuedChanges();return this._emitChangeEvent(),De}setSelection(...ce){this._verifyValueAssignment(ce);const De=this.selected,Ae=new Set(ce);ce.forEach(se=>this._markSelected(se)),De.filter(se=>!Ae.has(se)).forEach(se=>this._unmarkSelected(se));const Le=this._hasQueuedChanges();return this._emitChangeEvent(),Le}toggle(ce){return this.isSelected(ce)?this.deselect(ce):this.select(ce)}clear(ce=!0){this._unmarkAll();const De=this._hasQueuedChanges();return ce&&this._emitChangeEvent(),De}isSelected(ce){return this._selection.has(this._getConcreteValue(ce))}isEmpty(){return 0===this._selection.size}hasValue(){return!this.isEmpty()}sort(ce){this._multiple&&this.selected&&this._selected.sort(ce)}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(ce){ce=this._getConcreteValue(ce),this.isSelected(ce)||(this._multiple||this._unmarkAll(),this.isSelected(ce)||this._selection.add(ce),this._emitChanges&&this._selectedToEmit.push(ce))}_unmarkSelected(ce){ce=this._getConcreteValue(ce),this.isSelected(ce)&&(this._selection.delete(ce),this._emitChanges&&this._deselectedToEmit.push(ce))}_unmarkAll(){this.isEmpty()||this._selection.forEach(ce=>this._unmarkSelected(ce))}_verifyValueAssignment(ce){}_hasQueuedChanges(){return!(!this._deselectedToEmit.length&&!this._selectedToEmit.length)}_getConcreteValue(ce){if(this.compareWith){for(let De of this._selection)if(this.compareWith(ce,De))return De;return ce}return ce}}let J=(()=>{class fe{constructor(){this._listeners=[]}notify(De,Ae){for(let Le of this._listeners)Le(De,Ae)}listen(De){return this._listeners.push(De),()=>{this._listeners=this._listeners.filter(Ae=>De!==Ae)}}ngOnDestroy(){this._listeners=[]}static#e=this.\u0275fac=function(Ae){return new(Ae||fe)};static#t=this.\u0275prov=l.Yz7({token:fe,factory:fe.\u0275fac,providedIn:"root"})}return fe})()},6028:(_t,Me,p)=>{p.d(Me,{A:()=>Se,JH:()=>oe,JU:()=>Q,K5:()=>H,Ku:()=>ce,LH:()=>ue,L_:()=>fe,MW:()=>mt,Mf:()=>w,SV:()=>ze,Sd:()=>Le,VM:()=>De,Vb:()=>Et,Z:()=>ht,aO:()=>At,b2:()=>qe,hY:()=>xe,jx:()=>ne,oh:()=>se,uR:()=>Ae,xE:()=>ye,zL:()=>we});const w=9,H=13,Q=16,ne=17,we=18,xe=27,fe=32,ce=33,De=34,Ae=35,Le=36,se=37,ue=38,ze=39,oe=40,ye=48,At=57,Se=65,ht=90,mt=91,qe=224;function Et(A,...q){return q.length?q.some(x=>A[x]):A.altKey||A.shiftKey||A.ctrlKey||A.metaKey}},1088:(_t,Me,p)=>{p.d(Me,{Yg:()=>oe,u3:()=>Ce});var n=p(5879),l=p(2495),w=p(8645),E=p(2572),H=p(5211),Q=p(5592),ne=p(8180),we=p(836),ie=p(3620),J=p(7398),xe=p(7921),fe=p(9773),ce=p(2831);const Ae=new Set;let Le,se=(()=>{class K{constructor(ye,He){this._platform=ye,this._nonce=He,this._matchMedia=this._platform.isBrowser&&window.matchMedia?window.matchMedia.bind(window):ze}matchMedia(ye){return(this._platform.WEBKIT||this._platform.BLINK)&&function ue(K,ve){if(!Ae.has(K))try{Le||(Le=document.createElement("style"),ve&&(Le.nonce=ve),Le.setAttribute("type","text/css"),document.head.appendChild(Le)),Le.sheet&&(Le.sheet.insertRule(`@media ${K} {body{ }}`,0),Ae.add(K))}catch(ye){console.error(ye)}}(ye,this._nonce),this._matchMedia(ye)}static#e=this.\u0275fac=function(He){return new(He||K)(n.LFG(ce.t4),n.LFG(n.Ojb,8))};static#t=this.\u0275prov=n.Yz7({token:K,factory:K.\u0275fac,providedIn:"root"})}return K})();function ze(K){return{matches:"all"===K||""===K,media:K,addListener:()=>{},removeListener:()=>{}}}let oe=(()=>{class K{constructor(ye,He){this._mediaMatcher=ye,this._zone=He,this._queries=new Map,this._destroySubject=new w.x}ngOnDestroy(){this._destroySubject.next(),this._destroySubject.complete()}isMatched(ye){return N((0,l.Eq)(ye)).some(ft=>this._registerQuery(ft).mql.matches)}observe(ye){const ft=N((0,l.Eq)(ye)).map(xt=>this._registerQuery(xt).observable);let ct=(0,E.a)(ft);return ct=(0,H.z)(ct.pipe((0,ne.q)(1)),ct.pipe((0,we.T)(1),(0,ie.b)(0))),ct.pipe((0,J.U)(xt=>{const Ut={matches:!1,breakpoints:{}};return xt.forEach(({matches:It,query:sn})=>{Ut.matches=Ut.matches||It,Ut.breakpoints[sn]=It}),Ut}))}_registerQuery(ye){if(this._queries.has(ye))return this._queries.get(ye);const He=this._mediaMatcher.matchMedia(ye),ct={observable:new Q.y(xt=>{const Ut=It=>this._zone.run(()=>xt.next(It));return He.addListener(Ut),()=>{He.removeListener(Ut)}}).pipe((0,xe.O)(He),(0,J.U)(({matches:xt})=>({query:ye,matches:xt})),(0,fe.R)(this._destroySubject)),mql:He};return this._queries.set(ye,ct),ct}static#e=this.\u0275fac=function(He){return new(He||K)(n.LFG(se),n.LFG(n.R0b))};static#t=this.\u0275prov=n.Yz7({token:K,factory:K.\u0275fac,providedIn:"root"})}return K})();function N(K){return K.map(ve=>ve.split(",")).reduce((ve,ye)=>ve.concat(ye)).map(ve=>ve.trim())}const Ce={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)"}},7131:(_t,Me,p)=>{p.d(Me,{Q8:()=>ie,wD:()=>we});var n=p(2495),l=p(5879),w=p(5592),E=p(8645),H=p(3620);let Q=(()=>{class J{create(fe){return typeof MutationObserver>"u"?null:new MutationObserver(fe)}static#e=this.\u0275fac=function(ce){return new(ce||J)};static#t=this.\u0275prov=l.Yz7({token:J,factory:J.\u0275fac,providedIn:"root"})}return J})(),ne=(()=>{class J{constructor(fe){this._mutationObserverFactory=fe,this._observedElements=new Map}ngOnDestroy(){this._observedElements.forEach((fe,ce)=>this._cleanupObserver(ce))}observe(fe){const ce=(0,n.fI)(fe);return new w.y(De=>{const Le=this._observeElement(ce).subscribe(De);return()=>{Le.unsubscribe(),this._unobserveElement(ce)}})}_observeElement(fe){if(this._observedElements.has(fe))this._observedElements.get(fe).count++;else{const ce=new E.x,De=this._mutationObserverFactory.create(Ae=>ce.next(Ae));De&&De.observe(fe,{characterData:!0,childList:!0,subtree:!0}),this._observedElements.set(fe,{observer:De,stream:ce,count:1})}return this._observedElements.get(fe).stream}_unobserveElement(fe){this._observedElements.has(fe)&&(this._observedElements.get(fe).count--,this._observedElements.get(fe).count||this._cleanupObserver(fe))}_cleanupObserver(fe){if(this._observedElements.has(fe)){const{observer:ce,stream:De}=this._observedElements.get(fe);ce&&ce.disconnect(),De.complete(),this._observedElements.delete(fe)}}static#e=this.\u0275fac=function(ce){return new(ce||J)(l.LFG(Q))};static#t=this.\u0275prov=l.Yz7({token:J,factory:J.\u0275fac,providedIn:"root"})}return J})(),we=(()=>{class J{get disabled(){return this._disabled}set disabled(fe){this._disabled=(0,n.Ig)(fe),this._disabled?this._unsubscribe():this._subscribe()}get debounce(){return this._debounce}set debounce(fe){this._debounce=(0,n.su)(fe),this._subscribe()}constructor(fe,ce,De){this._contentObserver=fe,this._elementRef=ce,this._ngZone=De,this.event=new l.vpe,this._disabled=!1,this._currentSubscription=null}ngAfterContentInit(){!this._currentSubscription&&!this.disabled&&this._subscribe()}ngOnDestroy(){this._unsubscribe()}_subscribe(){this._unsubscribe();const fe=this._contentObserver.observe(this._elementRef);this._ngZone.runOutsideAngular(()=>{this._currentSubscription=(this.debounce?fe.pipe((0,H.b)(this.debounce)):fe).subscribe(this.event)})}_unsubscribe(){this._currentSubscription?.unsubscribe()}static#e=this.\u0275fac=function(ce){return new(ce||J)(l.Y36(ne),l.Y36(l.SBq),l.Y36(l.R0b))};static#t=this.\u0275dir=l.lG2({type:J,selectors:[["","cdkObserveContent",""]],inputs:{disabled:["cdkObserveContentDisabled","disabled"],debounce:"debounce"},outputs:{event:"cdkObserveContent"},exportAs:["cdkObserveContent"]})}return J})(),ie=(()=>{class J{static#e=this.\u0275fac=function(ce){return new(ce||J)};static#t=this.\u0275mod=l.oAB({type:J});static#n=this.\u0275inj=l.cJS({providers:[Q]})}return J})()},3651:(_t,Me,p)=>{p.d(Me,{pI:()=>en,xu:()=>vt,aV:()=>bt,X_:()=>ft,U8:()=>Zt});var n=p(6672),l=p(6814),w=p(5879),E=p(2495),H=p(2831),Q=p(2181),ne=p(8180),we=p(9773),ie=p(9360),J=p(8251),fe=p(9388),ce=p(8484),De=p(8645),Ae=p(7394),Le=p(3019),se=p(6028);const ue=(0,H.Mq)();class ze{constructor($,be){this._viewportRuler=$,this._previousHTMLStyles={top:"",left:""},this._isEnabled=!1,this._document=be}attach(){}enable(){if(this._canBeEnabled()){const $=this._document.documentElement;this._previousScrollPosition=this._viewportRuler.getViewportScrollPosition(),this._previousHTMLStyles.left=$.style.left||"",this._previousHTMLStyles.top=$.style.top||"",$.style.left=(0,E.HM)(-this._previousScrollPosition.left),$.style.top=(0,E.HM)(-this._previousScrollPosition.top),$.classList.add("cdk-global-scrollblock"),this._isEnabled=!0}}disable(){if(this._isEnabled){const $=this._document.documentElement,Be=$.style,lt=this._document.body.style,ht=Be.scrollBehavior||"",mt=lt.scrollBehavior||"";this._isEnabled=!1,Be.left=this._previousHTMLStyles.left,Be.top=this._previousHTMLStyles.top,$.classList.remove("cdk-global-scrollblock"),ue&&(Be.scrollBehavior=lt.scrollBehavior="auto"),window.scroll(this._previousScrollPosition.left,this._previousScrollPosition.top),ue&&(Be.scrollBehavior=ht,lt.scrollBehavior=mt)}}_canBeEnabled(){if(this._document.documentElement.classList.contains("cdk-global-scrollblock")||this._isEnabled)return!1;const be=this._document.body,Be=this._viewportRuler.getViewportSize();return be.scrollHeight>Be.height||be.scrollWidth>Be.width}}class N{constructor($,be,Be,lt){this._scrollDispatcher=$,this._ngZone=be,this._viewportRuler=Be,this._config=lt,this._scrollSubscription=null,this._detach=()=>{this.disable(),this._overlayRef.hasAttached()&&this._ngZone.run(()=>this._overlayRef.detach())}}attach($){this._overlayRef=$}enable(){if(this._scrollSubscription)return;const $=this._scrollDispatcher.scrolled(0).pipe((0,Q.h)(be=>!be||!this._overlayRef.overlayElement.contains(be.getElementRef().nativeElement)));this._config&&this._config.threshold&&this._config.threshold>1?(this._initialScrollPosition=this._viewportRuler.getViewportScrollPosition().top,this._scrollSubscription=$.subscribe(()=>{const be=this._viewportRuler.getViewportScrollPosition().top;Math.abs(be-this._initialScrollPosition)>this._config.threshold?this._detach():this._overlayRef.updatePosition()})):this._scrollSubscription=$.subscribe(this._detach)}disable(){this._scrollSubscription&&(this._scrollSubscription.unsubscribe(),this._scrollSubscription=null)}detach(){this.disable(),this._overlayRef=null}}class Ce{enable(){}disable(){}attach(){}}function K(it,$){return $.some(be=>it.bottombe.bottom||it.rightbe.right)}function ve(it,$){return $.some(be=>it.topbe.bottom||it.leftbe.right)}class ye{constructor($,be,Be,lt){this._scrollDispatcher=$,this._viewportRuler=be,this._ngZone=Be,this._config=lt,this._scrollSubscription=null}attach($){this._overlayRef=$}enable(){this._scrollSubscription||(this._scrollSubscription=this._scrollDispatcher.scrolled(this._config?this._config.scrollThrottle:0).subscribe(()=>{if(this._overlayRef.updatePosition(),this._config&&this._config.autoClose){const be=this._overlayRef.overlayElement.getBoundingClientRect(),{width:Be,height:lt}=this._viewportRuler.getViewportSize();K(be,[{width:Be,height:lt,bottom:lt,right:Be,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}}let He=(()=>{class it{constructor(be,Be,lt,ht){this._scrollDispatcher=be,this._viewportRuler=Be,this._ngZone=lt,this.noop=()=>new Ce,this.close=mt=>new N(this._scrollDispatcher,this._ngZone,this._viewportRuler,mt),this.block=()=>new ze(this._viewportRuler,this._document),this.reposition=mt=>new ye(this._scrollDispatcher,this._viewportRuler,this._ngZone,mt),this._document=ht}static#e=this.\u0275fac=function(Be){return new(Be||it)(w.LFG(n.mF),w.LFG(n.rL),w.LFG(w.R0b),w.LFG(l.K0))};static#t=this.\u0275prov=w.Yz7({token:it,factory:it.\u0275fac,providedIn:"root"})}return it})();class ft{constructor($){if(this.scrollStrategy=new Ce,this.panelClass="",this.hasBackdrop=!1,this.backdropClass="cdk-overlay-dark-backdrop",this.disposeOnNavigation=!1,$){const be=Object.keys($);for(const Be of be)void 0!==$[Be]&&(this[Be]=$[Be])}}}class Ut{constructor($,be){this.connectionPair=$,this.scrollableViewProperties=be}}let Xe=(()=>{class it{constructor(be){this._attachedOverlays=[],this._document=be}ngOnDestroy(){this.detach()}add(be){this.remove(be),this._attachedOverlays.push(be)}remove(be){const Be=this._attachedOverlays.indexOf(be);Be>-1&&this._attachedOverlays.splice(Be,1),0===this._attachedOverlays.length&&this.detach()}static#e=this.\u0275fac=function(Be){return new(Be||it)(w.LFG(l.K0))};static#t=this.\u0275prov=w.Yz7({token:it,factory:it.\u0275fac,providedIn:"root"})}return it})(),At=(()=>{class it extends Xe{constructor(be,Be){super(be),this._ngZone=Be,this._keydownListener=lt=>{const ht=this._attachedOverlays;for(let mt=ht.length-1;mt>-1;mt--)if(ht[mt]._keydownEvents.observers.length>0){const Mt=ht[mt]._keydownEvents;this._ngZone?this._ngZone.run(()=>Mt.next(lt)):Mt.next(lt);break}}}add(be){super.add(be),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)}static#e=this.\u0275fac=function(Be){return new(Be||it)(w.LFG(l.K0),w.LFG(w.R0b,8))};static#t=this.\u0275prov=w.Yz7({token:it,factory:it.\u0275fac,providedIn:"root"})}return it})(),Y=(()=>{class it extends Xe{constructor(be,Be,lt){super(be),this._platform=Be,this._ngZone=lt,this._cursorStyleIsSet=!1,this._pointerDownListener=ht=>{this._pointerDownEventTarget=(0,H.sA)(ht)},this._clickListener=ht=>{const mt=(0,H.sA)(ht),Mt="click"===ht.type&&this._pointerDownEventTarget?this._pointerDownEventTarget:mt;this._pointerDownEventTarget=null;const ln=this._attachedOverlays.slice();for(let Wt=ln.length-1;Wt>-1;Wt--){const Kt=ln[Wt];if(Kt._outsidePointerEvents.observers.length<1||!Kt.hasAttached())continue;if(Kt.overlayElement.contains(mt)||Kt.overlayElement.contains(Mt))break;const $t=Kt._outsidePointerEvents;this._ngZone?this._ngZone.run(()=>$t.next(ht)):$t.next(ht)}}}add(be){if(super.add(be),!this._isAttached){const Be=this._document.body;this._ngZone?this._ngZone.runOutsideAngular(()=>this._addEventListeners(Be)):this._addEventListeners(Be),this._platform.IOS&&!this._cursorStyleIsSet&&(this._cursorOriginalValue=Be.style.cursor,Be.style.cursor="pointer",this._cursorStyleIsSet=!0),this._isAttached=!0}}detach(){if(this._isAttached){const be=this._document.body;be.removeEventListener("pointerdown",this._pointerDownListener,!0),be.removeEventListener("click",this._clickListener,!0),be.removeEventListener("auxclick",this._clickListener,!0),be.removeEventListener("contextmenu",this._clickListener,!0),this._platform.IOS&&this._cursorStyleIsSet&&(be.style.cursor=this._cursorOriginalValue,this._cursorStyleIsSet=!1),this._isAttached=!1}}_addEventListeners(be){be.addEventListener("pointerdown",this._pointerDownListener,!0),be.addEventListener("click",this._clickListener,!0),be.addEventListener("auxclick",this._clickListener,!0),be.addEventListener("contextmenu",this._clickListener,!0)}static#e=this.\u0275fac=function(Be){return new(Be||it)(w.LFG(l.K0),w.LFG(H.t4),w.LFG(w.R0b,8))};static#t=this.\u0275prov=w.Yz7({token:it,factory:it.\u0275fac,providedIn:"root"})}return it})(),P=(()=>{class it{constructor(be,Be){this._platform=Be,this._document=be}ngOnDestroy(){this._containerElement?.remove()}getContainerElement(){return this._containerElement||this._createContainer(),this._containerElement}_createContainer(){const be="cdk-overlay-container";if(this._platform.isBrowser||(0,H.Oy)()){const lt=this._document.querySelectorAll(`.${be}[platform="server"], .${be}[platform="test"]`);for(let ht=0;htthis._backdropClick.next($t),this._backdropTransitionendHandler=$t=>{this._disposeBackdrop($t.target)},this._keydownEvents=new De.x,this._outsidePointerEvents=new De.x,lt.scrollStrategy&&(this._scrollStrategy=lt.scrollStrategy,this._scrollStrategy.attach(this)),this._positionStrategy=lt.positionStrategy}get overlayElement(){return this._pane}get backdropElement(){return this._backdropElement}get hostElement(){return this._host}attach($){!this._host.parentElement&&this._previousHostParent&&this._previousHostParent.appendChild(this._host);const be=this._portalOutlet.attach($);return this._positionStrategy&&this._positionStrategy.attach(this),this._updateStackingOrder(),this._updateElementSize(),this._updateElementDirection(),this._scrollStrategy&&this._scrollStrategy.enable(),this._ngZone.onStable.pipe((0,ne.q)(1)).subscribe(()=>{this.hasAttached()&&this.updatePosition()}),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),"function"==typeof be?.onDestroy&&be.onDestroy(()=>{this.hasAttached()&&this._ngZone.runOutsideAngular(()=>Promise.resolve().then(()=>this.detach()))}),be}detach(){if(!this.hasAttached())return;this.detachBackdrop(),this._togglePointerEvents(!1),this._positionStrategy&&this._positionStrategy.detach&&this._positionStrategy.detach(),this._scrollStrategy&&this._scrollStrategy.disable();const $=this._portalOutlet.detach();return this._detachments.next(),this._keyboardDispatcher.remove(this),this._detachContentWhenStable(),this._locationChanges.unsubscribe(),this._outsideClickDispatcher.remove(this),$}dispose(){const $=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,$&&this._detachments.next(),this._detachments.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($){$!==this._positionStrategy&&(this._positionStrategy&&this._positionStrategy.dispose(),this._positionStrategy=$,this.hasAttached()&&($.attach(this),this.updatePosition()))}updateSize($){this._config={...this._config,...$},this._updateElementSize()}setDirection($){this._config={...this._config,direction:$},this._updateElementDirection()}addPanelClass($){this._pane&&this._toggleClasses(this._pane,$,!0)}removePanelClass($){this._pane&&this._toggleClasses(this._pane,$,!1)}getDirection(){const $=this._config.direction;return $?"string"==typeof $?$:$.value:"ltr"}updateScrollStrategy($){$!==this._scrollStrategy&&(this._disposeScrollStrategy(),this._scrollStrategy=$,this.hasAttached()&&($.attach(this),$.enable()))}_updateElementDirection(){this._host.setAttribute("dir",this.getDirection())}_updateElementSize(){if(!this._pane)return;const $=this._pane.style;$.width=(0,E.HM)(this._config.width),$.height=(0,E.HM)(this._config.height),$.minWidth=(0,E.HM)(this._config.minWidth),$.minHeight=(0,E.HM)(this._config.minHeight),$.maxWidth=(0,E.HM)(this._config.maxWidth),$.maxHeight=(0,E.HM)(this._config.maxHeight)}_togglePointerEvents($){this._pane.style.pointerEvents=$?"":"none"}_attachBackdrop(){const $="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($)})}):this._backdropElement.classList.add($)}_updateStackingOrder(){this._host.nextSibling&&this._host.parentNode.appendChild(this._host)}detachBackdrop(){const $=this._backdropElement;if($){if(this._animationsDisabled)return void this._disposeBackdrop($);$.classList.remove("cdk-overlay-backdrop-showing"),this._ngZone.runOutsideAngular(()=>{$.addEventListener("transitionend",this._backdropTransitionendHandler)}),$.style.pointerEvents="none",this._backdropTimeout=this._ngZone.runOutsideAngular(()=>setTimeout(()=>{this._disposeBackdrop($)},500))}}_toggleClasses($,be,Be){const lt=(0,E.Eq)(be||[]).filter(ht=>!!ht);lt.length&&(Be?$.classList.add(...lt):$.classList.remove(...lt))}_detachContentWhenStable(){this._ngZone.runOutsideAngular(()=>{const $=this._ngZone.onStable.pipe((0,we.R)((0,Le.T)(this._attachments,this._detachments))).subscribe(()=>{(!this._pane||!this._host||0===this._pane.children.length)&&(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()),$.unsubscribe())})})}_disposeScrollStrategy(){const $=this._scrollStrategy;$&&($.disable(),$.detach&&$.detach())}_disposeBackdrop($){$&&($.removeEventListener("click",this._backdropClickHandler),$.removeEventListener("transitionend",this._backdropTransitionendHandler),$.remove(),this._backdropElement===$&&(this._backdropElement=null)),this._backdropTimeout&&(clearTimeout(this._backdropTimeout),this._backdropTimeout=void 0)}}const B="cdk-overlay-connected-position-bounding-box",Se=/([A-Za-z%]+)$/;class L{get positions(){return this._preferredPositions}constructor($,be,Be,lt,ht){this._viewportRuler=be,this._document=Be,this._platform=lt,this._overlayContainer=ht,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 De.x,this._resizeSubscription=Ae.w0.EMPTY,this._offsetX=0,this._offsetY=0,this._appliedPanelClasses=[],this.positionChanges=this._positionChanges,this.setOrigin($)}attach($){this._validatePositions(),$.hostElement.classList.add(B),this._overlayRef=$,this._boundingBox=$.hostElement,this._pane=$.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)return void this.reapplyLastPosition();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();const $=this._originRect,be=this._overlayRect,Be=this._viewportRect,lt=this._containerRect,ht=[];let mt;for(let Mt of this._preferredPositions){let ln=this._getOriginPoint($,lt,Mt),Wt=this._getOverlayPoint(ln,be,Mt),Kt=this._getOverlayFit(Wt,be,Be,Mt);if(Kt.isCompletelyWithinViewport)return this._isPushed=!1,void this._applyPosition(Mt,ln);this._canFitWithFlexibleDimensions(Kt,Wt,Be)?ht.push({position:Mt,origin:ln,overlayRect:be,boundingBoxRect:this._calculateBoundingBoxRect(ln,Mt)}):(!mt||mt.overlayFit.visibleArealn&&(ln=Kt,Mt=Wt)}return this._isPushed=!1,void this._applyPosition(Mt.position,Mt.origin)}if(this._canPush)return this._isPushed=!0,void this._applyPosition(mt.position,mt.originPoint);this._applyPosition(mt.position,mt.originPoint)}detach(){this._clearPanelClasses(),this._lastPosition=null,this._previousPushAmount=null,this._resizeSubscription.unsubscribe()}dispose(){this._isDisposed||(this._boundingBox&&V(this._boundingBox.style,{top:"",left:"",right:"",bottom:"",height:"",width:"",alignItems:"",justifyContent:""}),this._pane&&this._resetOverlayElementStyles(),this._overlayRef&&this._overlayRef.hostElement.classList.remove(B),this.detach(),this._positionChanges.complete(),this._overlayRef=this._boundingBox=null,this._isDisposed=!0)}reapplyLastPosition(){if(this._isDisposed||!this._platform.isBrowser)return;const $=this._lastPosition;if($){this._originRect=this._getOriginRect(),this._overlayRect=this._pane.getBoundingClientRect(),this._viewportRect=this._getNarrowedViewportRect(),this._containerRect=this._overlayContainer.getContainerElement().getBoundingClientRect();const be=this._getOriginPoint(this._originRect,this._containerRect,$);this._applyPosition($,be)}else this.apply()}withScrollableContainers($){return this._scrollables=$,this}withPositions($){return this._preferredPositions=$,-1===$.indexOf(this._lastPosition)&&(this._lastPosition=null),this._validatePositions(),this}withViewportMargin($){return this._viewportMargin=$,this}withFlexibleDimensions($=!0){return this._hasFlexibleDimensions=$,this}withGrowAfterOpen($=!0){return this._growAfterOpen=$,this}withPush($=!0){return this._canPush=$,this}withLockedPosition($=!0){return this._positionLocked=$,this}setOrigin($){return this._origin=$,this}withDefaultOffsetX($){return this._offsetX=$,this}withDefaultOffsetY($){return this._offsetY=$,this}withTransformOriginOn($){return this._transformOriginSelector=$,this}_getOriginPoint($,be,Be){let lt,ht;if("center"==Be.originX)lt=$.left+$.width/2;else{const mt=this._isRtl()?$.right:$.left,Mt=this._isRtl()?$.left:$.right;lt="start"==Be.originX?mt:Mt}return be.left<0&&(lt-=be.left),ht="center"==Be.originY?$.top+$.height/2:"top"==Be.originY?$.top:$.bottom,be.top<0&&(ht-=be.top),{x:lt,y:ht}}_getOverlayPoint($,be,Be){let lt,ht;return lt="center"==Be.overlayX?-be.width/2:"start"===Be.overlayX?this._isRtl()?-be.width:0:this._isRtl()?0:-be.width,ht="center"==Be.overlayY?-be.height/2:"top"==Be.overlayY?0:-be.height,{x:$.x+lt,y:$.y+ht}}_getOverlayFit($,be,Be,lt){const ht=re(be);let{x:mt,y:Mt}=$,ln=this._getOffset(lt,"x"),Wt=this._getOffset(lt,"y");ln&&(mt+=ln),Wt&&(Mt+=Wt);let An=0-Mt,bn=Mt+ht.height-Be.height,pn=this._subtractOverflows(ht.width,0-mt,mt+ht.width-Be.width),gn=this._subtractOverflows(ht.height,An,bn),yn=pn*gn;return{visibleArea:yn,isCompletelyWithinViewport:ht.width*ht.height===yn,fitsInViewportVertically:gn===ht.height,fitsInViewportHorizontally:pn==ht.width}}_canFitWithFlexibleDimensions($,be,Be){if(this._hasFlexibleDimensions){const lt=Be.bottom-be.y,ht=Be.right-be.x,mt=Pe(this._overlayRef.getConfig().minHeight),Mt=Pe(this._overlayRef.getConfig().minWidth);return($.fitsInViewportVertically||null!=mt&&mt<=lt)&&($.fitsInViewportHorizontally||null!=Mt&&Mt<=ht)}return!1}_pushOverlayOnScreen($,be,Be){if(this._previousPushAmount&&this._positionLocked)return{x:$.x+this._previousPushAmount.x,y:$.y+this._previousPushAmount.y};const lt=re(be),ht=this._viewportRect,mt=Math.max($.x+lt.width-ht.width,0),Mt=Math.max($.y+lt.height-ht.height,0),ln=Math.max(ht.top-Be.top-$.y,0),Wt=Math.max(ht.left-Be.left-$.x,0);let Kt=0,$t=0;return Kt=lt.width<=ht.width?Wt||-mt:$.xpn&&!this._isInitialRender&&!this._growAfterOpen&&(mt=$.y-pn/2)}if("end"===be.overlayX&&!lt||"start"===be.overlayX&<)An=Be.width-$.x+this._viewportMargin,Kt=$.x-this._viewportMargin;else if("start"===be.overlayX&&!lt||"end"===be.overlayX&<)$t=$.x,Kt=Be.right-$.x;else{const bn=Math.min(Be.right-$.x+Be.left,$.x),pn=this._lastBoundingBoxSize.width;Kt=2*bn,$t=$.x-bn,Kt>pn&&!this._isInitialRender&&!this._growAfterOpen&&($t=$.x-pn/2)}return{top:mt,left:$t,bottom:Mt,right:An,width:Kt,height:ht}}_setBoundingBoxStyles($,be){const Be=this._calculateBoundingBoxRect($,be);!this._isInitialRender&&!this._growAfterOpen&&(Be.height=Math.min(Be.height,this._lastBoundingBoxSize.height),Be.width=Math.min(Be.width,this._lastBoundingBoxSize.width));const lt={};if(this._hasExactPosition())lt.top=lt.left="0",lt.bottom=lt.right=lt.maxHeight=lt.maxWidth="",lt.width=lt.height="100%";else{const ht=this._overlayRef.getConfig().maxHeight,mt=this._overlayRef.getConfig().maxWidth;lt.height=(0,E.HM)(Be.height),lt.top=(0,E.HM)(Be.top),lt.bottom=(0,E.HM)(Be.bottom),lt.width=(0,E.HM)(Be.width),lt.left=(0,E.HM)(Be.left),lt.right=(0,E.HM)(Be.right),lt.alignItems="center"===be.overlayX?"center":"end"===be.overlayX?"flex-end":"flex-start",lt.justifyContent="center"===be.overlayY?"center":"bottom"===be.overlayY?"flex-end":"flex-start",ht&&(lt.maxHeight=(0,E.HM)(ht)),mt&&(lt.maxWidth=(0,E.HM)(mt))}this._lastBoundingBoxSize=Be,V(this._boundingBox.style,lt)}_resetBoundingBoxStyles(){V(this._boundingBox.style,{top:"0",left:"0",right:"0",bottom:"0",height:"",width:"",alignItems:"",justifyContent:""})}_resetOverlayElementStyles(){V(this._pane.style,{top:"",left:"",bottom:"",right:"",position:"",transform:""})}_setOverlayElementStyles($,be){const Be={},lt=this._hasExactPosition(),ht=this._hasFlexibleDimensions,mt=this._overlayRef.getConfig();if(lt){const Kt=this._viewportRuler.getViewportScrollPosition();V(Be,this._getExactOverlayY(be,$,Kt)),V(Be,this._getExactOverlayX(be,$,Kt))}else Be.position="static";let Mt="",ln=this._getOffset(be,"x"),Wt=this._getOffset(be,"y");ln&&(Mt+=`translateX(${ln}px) `),Wt&&(Mt+=`translateY(${Wt}px)`),Be.transform=Mt.trim(),mt.maxHeight&&(lt?Be.maxHeight=(0,E.HM)(mt.maxHeight):ht&&(Be.maxHeight="")),mt.maxWidth&&(lt?Be.maxWidth=(0,E.HM)(mt.maxWidth):ht&&(Be.maxWidth="")),V(this._pane.style,Be)}_getExactOverlayY($,be,Be){let lt={top:"",bottom:""},ht=this._getOverlayPoint(be,this._overlayRect,$);return this._isPushed&&(ht=this._pushOverlayOnScreen(ht,this._overlayRect,Be)),"bottom"===$.overlayY?lt.bottom=this._document.documentElement.clientHeight-(ht.y+this._overlayRect.height)+"px":lt.top=(0,E.HM)(ht.y),lt}_getExactOverlayX($,be,Be){let mt,lt={left:"",right:""},ht=this._getOverlayPoint(be,this._overlayRect,$);return this._isPushed&&(ht=this._pushOverlayOnScreen(ht,this._overlayRect,Be)),mt=this._isRtl()?"end"===$.overlayX?"left":"right":"end"===$.overlayX?"right":"left","right"===mt?lt.right=this._document.documentElement.clientWidth-(ht.x+this._overlayRect.width)+"px":lt.left=(0,E.HM)(ht.x),lt}_getScrollVisibility(){const $=this._getOriginRect(),be=this._pane.getBoundingClientRect(),Be=this._scrollables.map(lt=>lt.getElementRef().nativeElement.getBoundingClientRect());return{isOriginClipped:ve($,Be),isOriginOutsideView:K($,Be),isOverlayClipped:ve(be,Be),isOverlayOutsideView:K(be,Be)}}_subtractOverflows($,...be){return be.reduce((Be,lt)=>Be-Math.max(lt,0),$)}_getNarrowedViewportRect(){const $=this._document.documentElement.clientWidth,be=this._document.documentElement.clientHeight,Be=this._viewportRuler.getViewportScrollPosition();return{top:Be.top+this._viewportMargin,left:Be.left+this._viewportMargin,right:Be.left+$-this._viewportMargin,bottom:Be.top+be-this._viewportMargin,width:$-2*this._viewportMargin,height:be-2*this._viewportMargin}}_isRtl(){return"rtl"===this._overlayRef.getDirection()}_hasExactPosition(){return!this._hasFlexibleDimensions||this._isPushed}_getOffset($,be){return"x"===be?null==$.offsetX?this._offsetX:$.offsetX:null==$.offsetY?this._offsetY:$.offsetY}_validatePositions(){}_addPanelClasses($){this._pane&&(0,E.Eq)($).forEach(be=>{""!==be&&-1===this._appliedPanelClasses.indexOf(be)&&(this._appliedPanelClasses.push(be),this._pane.classList.add(be))})}_clearPanelClasses(){this._pane&&(this._appliedPanelClasses.forEach($=>{this._pane.classList.remove($)}),this._appliedPanelClasses=[])}_getOriginRect(){const $=this._origin;if($ instanceof w.SBq)return $.nativeElement.getBoundingClientRect();if($ instanceof Element)return $.getBoundingClientRect();const be=$.width||0,Be=$.height||0;return{top:$.y,bottom:$.y+Be,left:$.x,right:$.x+be,height:Be,width:be}}}function V(it,$){for(let be in $)$.hasOwnProperty(be)&&(it[be]=$[be]);return it}function Pe(it){if("number"!=typeof it&&null!=it){const[$,be]=it.split(Se);return be&&"px"!==be?null:parseFloat($)}return it||null}function re(it){return{top:Math.floor(it.top),right:Math.floor(it.right),bottom:Math.floor(it.bottom),left:Math.floor(it.left),width:Math.floor(it.width),height:Math.floor(it.height)}}const st="cdk-global-overlay-wrapper";class nt{constructor(){this._cssPosition="static",this._topOffset="",this._bottomOffset="",this._alignItems="",this._xPosition="",this._xOffset="",this._width="",this._height="",this._isDisposed=!1}attach($){const be=$.getConfig();this._overlayRef=$,this._width&&!be.width&&$.updateSize({width:this._width}),this._height&&!be.height&&$.updateSize({height:this._height}),$.hostElement.classList.add(st),this._isDisposed=!1}top($=""){return this._bottomOffset="",this._topOffset=$,this._alignItems="flex-start",this}left($=""){return this._xOffset=$,this._xPosition="left",this}bottom($=""){return this._topOffset="",this._bottomOffset=$,this._alignItems="flex-end",this}right($=""){return this._xOffset=$,this._xPosition="right",this}start($=""){return this._xOffset=$,this._xPosition="start",this}end($=""){return this._xOffset=$,this._xPosition="end",this}width($=""){return this._overlayRef?this._overlayRef.updateSize({width:$}):this._width=$,this}height($=""){return this._overlayRef?this._overlayRef.updateSize({height:$}):this._height=$,this}centerHorizontally($=""){return this.left($),this._xPosition="center",this}centerVertically($=""){return this.top($),this._alignItems="center",this}apply(){if(!this._overlayRef||!this._overlayRef.hasAttached())return;const $=this._overlayRef.overlayElement.style,be=this._overlayRef.hostElement.style,Be=this._overlayRef.getConfig(),{width:lt,height:ht,maxWidth:mt,maxHeight:Mt}=Be,ln=!("100%"!==lt&&"100vw"!==lt||mt&&"100%"!==mt&&"100vw"!==mt),Wt=!("100%"!==ht&&"100vh"!==ht||Mt&&"100%"!==Mt&&"100vh"!==Mt),Kt=this._xPosition,$t=this._xOffset,An="rtl"===this._overlayRef.getConfig().direction;let bn="",pn="",gn="";ln?gn="flex-start":"center"===Kt?(gn="center",An?pn=$t:bn=$t):An?"left"===Kt||"end"===Kt?(gn="flex-end",bn=$t):("right"===Kt||"start"===Kt)&&(gn="flex-start",pn=$t):"left"===Kt||"start"===Kt?(gn="flex-start",bn=$t):("right"===Kt||"end"===Kt)&&(gn="flex-end",pn=$t),$.position=this._cssPosition,$.marginLeft=ln?"0":bn,$.marginTop=Wt?"0":this._topOffset,$.marginBottom=this._bottomOffset,$.marginRight=ln?"0":pn,be.justifyContent=gn,be.alignItems=Wt?"flex-start":this._alignItems}dispose(){if(this._isDisposed||!this._overlayRef)return;const $=this._overlayRef.overlayElement.style,be=this._overlayRef.hostElement,Be=be.style;be.classList.remove(st),Be.justifyContent=Be.alignItems=$.marginTop=$.marginBottom=$.marginLeft=$.marginRight=$.position="",this._overlayRef=null,this._isDisposed=!0}}let Bt=(()=>{class it{constructor(be,Be,lt,ht){this._viewportRuler=be,this._document=Be,this._platform=lt,this._overlayContainer=ht}global(){return new nt}flexibleConnectedTo(be){return new L(be,this._viewportRuler,this._document,this._platform,this._overlayContainer)}static#e=this.\u0275fac=function(Be){return new(Be||it)(w.LFG(n.rL),w.LFG(l.K0),w.LFG(H.t4),w.LFG(P))};static#t=this.\u0275prov=w.Yz7({token:it,factory:it.\u0275fac,providedIn:"root"})}return it})(),Je=0,bt=(()=>{class it{constructor(be,Be,lt,ht,mt,Mt,ln,Wt,Kt,$t,An,bn){this.scrollStrategies=be,this._overlayContainer=Be,this._componentFactoryResolver=lt,this._positionBuilder=ht,this._keyboardDispatcher=mt,this._injector=Mt,this._ngZone=ln,this._document=Wt,this._directionality=Kt,this._location=$t,this._outsideClickDispatcher=An,this._animationsModuleType=bn}create(be){const Be=this._createHostElement(),lt=this._createPaneElement(Be),ht=this._createPortalOutlet(lt),mt=new ft(be);return mt.direction=mt.direction||this._directionality.value,new ae(ht,Be,lt,mt,this._ngZone,this._keyboardDispatcher,this._document,this._location,this._outsideClickDispatcher,"NoopAnimations"===this._animationsModuleType)}position(){return this._positionBuilder}_createPaneElement(be){const Be=this._document.createElement("div");return Be.id="cdk-overlay-"+Je++,Be.classList.add("cdk-overlay-pane"),be.appendChild(Be),Be}_createHostElement(){const be=this._document.createElement("div");return this._overlayContainer.getContainerElement().appendChild(be),be}_createPortalOutlet(be){return this._appRef||(this._appRef=this._injector.get(w.z2F)),new ce.u0(be,this._componentFactoryResolver,this._appRef,this._injector,this._document)}static#e=this.\u0275fac=function(Be){return new(Be||it)(w.LFG(He),w.LFG(P),w.LFG(w._Vd),w.LFG(Bt),w.LFG(At),w.LFG(w.zs3),w.LFG(w.R0b),w.LFG(l.K0),w.LFG(fe.Is),w.LFG(l.Ye),w.LFG(Y),w.LFG(w.QbO,8))};static#t=this.\u0275prov=w.Yz7({token:it,factory:it.\u0275fac,providedIn:"root"})}return it})();const Oe=[{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"}],rt=new w.OlP("cdk-connected-overlay-scroll-strategy");let vt=(()=>{class it{constructor(be){this.elementRef=be}static#e=this.\u0275fac=function(Be){return new(Be||it)(w.Y36(w.SBq))};static#t=this.\u0275dir=w.lG2({type:it,selectors:[["","cdk-overlay-origin",""],["","overlay-origin",""],["","cdkOverlayOrigin",""]],exportAs:["cdkOverlayOrigin"],standalone:!0})}return it})(),en=(()=>{class it{get offsetX(){return this._offsetX}set offsetX(be){this._offsetX=be,this._position&&this._updatePositionStrategy(this._position)}get offsetY(){return this._offsetY}set offsetY(be){this._offsetY=be,this._position&&this._updatePositionStrategy(this._position)}get hasBackdrop(){return this._hasBackdrop}set hasBackdrop(be){this._hasBackdrop=(0,E.Ig)(be)}get lockPosition(){return this._lockPosition}set lockPosition(be){this._lockPosition=(0,E.Ig)(be)}get flexibleDimensions(){return this._flexibleDimensions}set flexibleDimensions(be){this._flexibleDimensions=(0,E.Ig)(be)}get growAfterOpen(){return this._growAfterOpen}set growAfterOpen(be){this._growAfterOpen=(0,E.Ig)(be)}get push(){return this._push}set push(be){this._push=(0,E.Ig)(be)}constructor(be,Be,lt,ht,mt){this._overlay=be,this._dir=mt,this._hasBackdrop=!1,this._lockPosition=!1,this._growAfterOpen=!1,this._flexibleDimensions=!1,this._push=!1,this._backdropSubscription=Ae.w0.EMPTY,this._attachSubscription=Ae.w0.EMPTY,this._detachSubscription=Ae.w0.EMPTY,this._positionSubscription=Ae.w0.EMPTY,this.viewportMargin=0,this.open=!1,this.disableClose=!1,this.backdropClick=new w.vpe,this.positionChange=new w.vpe,this.attach=new w.vpe,this.detach=new w.vpe,this.overlayKeydown=new w.vpe,this.overlayOutsideClick=new w.vpe,this._templatePortal=new ce.UE(Be,lt),this._scrollStrategyFactory=ht,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(be){this._position&&(this._updatePositionStrategy(this._position),this._overlayRef.updateSize({width:this.width,minWidth:this.minWidth,height:this.height,minHeight:this.minHeight}),be.origin&&this.open&&this._position.apply()),be.open&&(this.open?this._attachOverlay():this._detachOverlay())}_createOverlay(){(!this.positions||!this.positions.length)&&(this.positions=Oe);const be=this._overlayRef=this._overlay.create(this._buildConfig());this._attachSubscription=be.attachments().subscribe(()=>this.attach.emit()),this._detachSubscription=be.detachments().subscribe(()=>this.detach.emit()),be.keydownEvents().subscribe(Be=>{this.overlayKeydown.next(Be),Be.keyCode===se.hY&&!this.disableClose&&!(0,se.Vb)(Be)&&(Be.preventDefault(),this._detachOverlay())}),this._overlayRef.outsidePointerEvents().subscribe(Be=>{this.overlayOutsideClick.next(Be)})}_buildConfig(){const be=this._position=this.positionStrategy||this._createPositionStrategy(),Be=new ft({direction:this._dir,positionStrategy:be,scrollStrategy:this.scrollStrategy,hasBackdrop:this.hasBackdrop});return(this.width||0===this.width)&&(Be.width=this.width),(this.height||0===this.height)&&(Be.height=this.height),(this.minWidth||0===this.minWidth)&&(Be.minWidth=this.minWidth),(this.minHeight||0===this.minHeight)&&(Be.minHeight=this.minHeight),this.backdropClass&&(Be.backdropClass=this.backdropClass),this.panelClass&&(Be.panelClass=this.panelClass),Be}_updatePositionStrategy(be){const Be=this.positions.map(lt=>({originX:lt.originX,originY:lt.originY,overlayX:lt.overlayX,overlayY:lt.overlayY,offsetX:lt.offsetX||this.offsetX,offsetY:lt.offsetY||this.offsetY,panelClass:lt.panelClass||void 0}));return be.setOrigin(this._getFlexibleConnectedPositionStrategyOrigin()).withPositions(Be).withFlexibleDimensions(this.flexibleDimensions).withPush(this.push).withGrowAfterOpen(this.growAfterOpen).withViewportMargin(this.viewportMargin).withLockedPosition(this.lockPosition).withTransformOriginOn(this.transformOriginSelector)}_createPositionStrategy(){const be=this._overlay.position().flexibleConnectedTo(this._getFlexibleConnectedPositionStrategyOrigin());return this._updatePositionStrategy(be),be}_getFlexibleConnectedPositionStrategyOrigin(){return this.origin instanceof vt?this.origin.elementRef:this.origin}_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(be=>{this.backdropClick.emit(be)}):this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe(),this.positionChange.observers.length>0&&(this._positionSubscription=this._position.positionChanges.pipe(function xe(it,$=!1){return(0,ie.e)((be,Be)=>{let lt=0;be.subscribe((0,J.x)(Be,ht=>{const mt=it(ht,lt++);(mt||$)&&Be.next(ht),!mt&&Be.complete()}))})}(()=>this.positionChange.observers.length>0)).subscribe(be=>{this.positionChange.emit(be),0===this.positionChange.observers.length&&this._positionSubscription.unsubscribe()}))}_detachOverlay(){this._overlayRef&&this._overlayRef.detach(),this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe()}static#e=this.\u0275fac=function(Be){return new(Be||it)(w.Y36(bt),w.Y36(w.Rgc),w.Y36(w.s_b),w.Y36(rt),w.Y36(fe.Is,8))};static#t=this.\u0275dir=w.lG2({type:it,selectors:[["","cdk-connected-overlay",""],["","connected-overlay",""],["","cdkConnectedOverlay",""]],inputs:{origin:["cdkConnectedOverlayOrigin","origin"],positions:["cdkConnectedOverlayPositions","positions"],positionStrategy:["cdkConnectedOverlayPositionStrategy","positionStrategy"],offsetX:["cdkConnectedOverlayOffsetX","offsetX"],offsetY:["cdkConnectedOverlayOffsetY","offsetY"],width:["cdkConnectedOverlayWidth","width"],height:["cdkConnectedOverlayHeight","height"],minWidth:["cdkConnectedOverlayMinWidth","minWidth"],minHeight:["cdkConnectedOverlayMinHeight","minHeight"],backdropClass:["cdkConnectedOverlayBackdropClass","backdropClass"],panelClass:["cdkConnectedOverlayPanelClass","panelClass"],viewportMargin:["cdkConnectedOverlayViewportMargin","viewportMargin"],scrollStrategy:["cdkConnectedOverlayScrollStrategy","scrollStrategy"],open:["cdkConnectedOverlayOpen","open"],disableClose:["cdkConnectedOverlayDisableClose","disableClose"],transformOriginSelector:["cdkConnectedOverlayTransformOriginOn","transformOriginSelector"],hasBackdrop:["cdkConnectedOverlayHasBackdrop","hasBackdrop"],lockPosition:["cdkConnectedOverlayLockPosition","lockPosition"],flexibleDimensions:["cdkConnectedOverlayFlexibleDimensions","flexibleDimensions"],growAfterOpen:["cdkConnectedOverlayGrowAfterOpen","growAfterOpen"],push:["cdkConnectedOverlayPush","push"]},outputs:{backdropClick:"backdropClick",positionChange:"positionChange",attach:"attach",detach:"detach",overlayKeydown:"overlayKeydown",overlayOutsideClick:"overlayOutsideClick"},exportAs:["cdkConnectedOverlay"],standalone:!0,features:[w.TTD]})}return it})();const fn={provide:rt,deps:[bt],useFactory:function tn(it){return()=>it.scrollStrategies.reposition()}};let Zt=(()=>{class it{static#e=this.\u0275fac=function(Be){return new(Be||it)};static#t=this.\u0275mod=w.oAB({type:it});static#n=this.\u0275inj=w.cJS({providers:[bt,fn],imports:[fe.vT,ce.eL,n.Cl,n.Cl]})}return it})()},2831:(_t,Me,p)=>{p.d(Me,{Mq:()=>De,Oy:()=>N,i$:()=>xe,kV:()=>ue,qK:()=>we,sA:()=>oe,t4:()=>E});var n=p(5879),l=p(6814);let w;try{w=typeof Intl<"u"&&Intl.v8BreakIterator}catch{w=!1}let Q,E=(()=>{class Ce{constructor(ve){this._platformId=ve,this.isBrowser=this._platformId?(0,l.NF)(this._platformId):"object"==typeof document&&!!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&&!w)&&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}static#e=this.\u0275fac=function(ye){return new(ye||Ce)(n.LFG(n.Lbi))};static#t=this.\u0275prov=n.Yz7({token:Ce,factory:Ce.\u0275fac,providedIn:"root"})}return Ce})();const ne=["color","button","checkbox","date","datetime-local","email","file","hidden","image","month","number","password","radio","range","reset","search","submit","tel","text","time","url","week"];function we(){if(Q)return Q;if("object"!=typeof document||!document)return Q=new Set(ne),Q;let Ce=document.createElement("input");return Q=new Set(ne.filter(K=>(Ce.setAttribute("type",K),Ce.type===K))),Q}let ie,ce,Le;function xe(Ce){return function J(){if(null==ie&&typeof window<"u")try{window.addEventListener("test",null,Object.defineProperty({},"passive",{get:()=>ie=!0}))}finally{ie=ie||!1}return ie}()?Ce:!!Ce.capture}function De(){if(null==ce){if("object"!=typeof document||!document||"function"!=typeof Element||!Element)return ce=!1,ce;if("scrollBehavior"in document.documentElement.style)ce=!0;else{const Ce=Element.prototype.scrollTo;ce=!!Ce&&!/\{\s*\[native code\]\s*\}/.test(Ce.toString())}}return ce}function ue(Ce){if(function se(){if(null==Le){const Ce=typeof document<"u"?document.head:null;Le=!(!Ce||!Ce.createShadowRoot&&!Ce.attachShadow)}return Le}()){const K=Ce.getRootNode?Ce.getRootNode():null;if(typeof ShadowRoot<"u"&&ShadowRoot&&K instanceof ShadowRoot)return K}return null}function oe(Ce){return Ce.composedPath?Ce.composedPath()[0]:Ce.target}function N(){return typeof __karma__<"u"&&!!__karma__||typeof jasmine<"u"&&!!jasmine||typeof jest<"u"&&!!jest||typeof Mocha<"u"&&!!Mocha}},8484:(_t,Me,p)=>{p.d(Me,{C5:()=>J,Pl:()=>ze,UE:()=>xe,eL:()=>N,ig:()=>se,u0:()=>Ae});var n=p(5879),l=p(6814);class ie{attach(ve){return this._attachedHost=ve,ve.attach(this)}detach(){let ve=this._attachedHost;null!=ve&&(this._attachedHost=null,ve.detach())}get isAttached(){return null!=this._attachedHost}setAttachedHost(ve){this._attachedHost=ve}}class J extends ie{constructor(ve,ye,He,ft,ct){super(),this.component=ve,this.viewContainerRef=ye,this.injector=He,this.componentFactoryResolver=ft,this.projectableNodes=ct}}class xe extends ie{constructor(ve,ye,He,ft){super(),this.templateRef=ve,this.viewContainerRef=ye,this.context=He,this.injector=ft}get origin(){return this.templateRef.elementRef}attach(ve,ye=this.context){return this.context=ye,super.attach(ve)}detach(){return this.context=void 0,super.detach()}}class fe extends ie{constructor(ve){super(),this.element=ve instanceof n.SBq?ve.nativeElement:ve}}class ce{constructor(){this._isDisposed=!1,this.attachDomPortal=null}hasAttached(){return!!this._attachedPortal}attach(ve){return ve instanceof J?(this._attachedPortal=ve,this.attachComponentPortal(ve)):ve instanceof xe?(this._attachedPortal=ve,this.attachTemplatePortal(ve)):this.attachDomPortal&&ve instanceof fe?(this._attachedPortal=ve,this.attachDomPortal(ve)):void 0}detach(){this._attachedPortal&&(this._attachedPortal.setAttachedHost(null),this._attachedPortal=null),this._invokeDisposeFn()}dispose(){this.hasAttached()&&this.detach(),this._invokeDisposeFn(),this._isDisposed=!0}setDisposeFn(ve){this._disposeFn=ve}_invokeDisposeFn(){this._disposeFn&&(this._disposeFn(),this._disposeFn=null)}}class Ae extends ce{constructor(ve,ye,He,ft,ct){super(),this.outletElement=ve,this._componentFactoryResolver=ye,this._appRef=He,this._defaultInjector=ft,this.attachDomPortal=xt=>{const Ut=xt.element,It=this._document.createComment("dom-portal");Ut.parentNode.insertBefore(It,Ut),this.outletElement.appendChild(Ut),this._attachedPortal=xt,super.setDisposeFn(()=>{It.parentNode&&It.parentNode.replaceChild(Ut,It)})},this._document=ct}attachComponentPortal(ve){const He=(ve.componentFactoryResolver||this._componentFactoryResolver).resolveComponentFactory(ve.component);let ft;return ve.viewContainerRef?(ft=ve.viewContainerRef.createComponent(He,ve.viewContainerRef.length,ve.injector||ve.viewContainerRef.injector,ve.projectableNodes||void 0),this.setDisposeFn(()=>ft.destroy())):(ft=He.create(ve.injector||this._defaultInjector||n.zs3.NULL),this._appRef.attachView(ft.hostView),this.setDisposeFn(()=>{this._appRef.viewCount>0&&this._appRef.detachView(ft.hostView),ft.destroy()})),this.outletElement.appendChild(this._getComponentRootNode(ft)),this._attachedPortal=ve,ft}attachTemplatePortal(ve){let ye=ve.viewContainerRef,He=ye.createEmbeddedView(ve.templateRef,ve.context,{injector:ve.injector});return He.rootNodes.forEach(ft=>this.outletElement.appendChild(ft)),He.detectChanges(),this.setDisposeFn(()=>{let ft=ye.indexOf(He);-1!==ft&&ye.remove(ft)}),this._attachedPortal=ve,He}dispose(){super.dispose(),this.outletElement.remove()}_getComponentRootNode(ve){return ve.hostView.rootNodes[0]}}let se=(()=>{class K extends xe{constructor(ye,He){super(ye,He)}static#e=this.\u0275fac=function(He){return new(He||K)(n.Y36(n.Rgc),n.Y36(n.s_b))};static#t=this.\u0275dir=n.lG2({type:K,selectors:[["","cdkPortal",""]],exportAs:["cdkPortal"],features:[n.qOj]})}return K})(),ze=(()=>{class K extends ce{constructor(ye,He,ft){super(),this._componentFactoryResolver=ye,this._viewContainerRef=He,this._isInitialized=!1,this.attached=new n.vpe,this.attachDomPortal=ct=>{const xt=ct.element,Ut=this._document.createComment("dom-portal");ct.setAttachedHost(this),xt.parentNode.insertBefore(Ut,xt),this._getRootNode().appendChild(xt),this._attachedPortal=ct,super.setDisposeFn(()=>{Ut.parentNode&&Ut.parentNode.replaceChild(xt,Ut)})},this._document=ft}get portal(){return this._attachedPortal}set portal(ye){this.hasAttached()&&!ye&&!this._isInitialized||(this.hasAttached()&&super.detach(),ye&&super.attach(ye),this._attachedPortal=ye||null)}get attachedRef(){return this._attachedRef}ngOnInit(){this._isInitialized=!0}ngOnDestroy(){super.dispose(),this._attachedRef=this._attachedPortal=null}attachComponentPortal(ye){ye.setAttachedHost(this);const He=null!=ye.viewContainerRef?ye.viewContainerRef:this._viewContainerRef,ct=(ye.componentFactoryResolver||this._componentFactoryResolver).resolveComponentFactory(ye.component),xt=He.createComponent(ct,He.length,ye.injector||He.injector,ye.projectableNodes||void 0);return He!==this._viewContainerRef&&this._getRootNode().appendChild(xt.hostView.rootNodes[0]),super.setDisposeFn(()=>xt.destroy()),this._attachedPortal=ye,this._attachedRef=xt,this.attached.emit(xt),xt}attachTemplatePortal(ye){ye.setAttachedHost(this);const He=this._viewContainerRef.createEmbeddedView(ye.templateRef,ye.context,{injector:ye.injector});return super.setDisposeFn(()=>this._viewContainerRef.clear()),this._attachedPortal=ye,this._attachedRef=He,this.attached.emit(He),He}_getRootNode(){const ye=this._viewContainerRef.element.nativeElement;return ye.nodeType===ye.ELEMENT_NODE?ye:ye.parentNode}static#e=this.\u0275fac=function(He){return new(He||K)(n.Y36(n._Vd),n.Y36(n.s_b),n.Y36(l.K0))};static#t=this.\u0275dir=n.lG2({type:K,selectors:[["","cdkPortalOutlet",""]],inputs:{portal:["cdkPortalOutlet","portal"]},outputs:{attached:"attached"},exportAs:["cdkPortalOutlet"],features:[n.qOj]})}return K})(),N=(()=>{class K{static#e=this.\u0275fac=function(He){return new(He||K)};static#t=this.\u0275mod=n.oAB({type:K});static#n=this.\u0275inj=n.cJS({})}return K})()},6672:(_t,Me,p)=>{p.d(Me,{Cl:()=>Y,ZD:()=>At,mF:()=>N,rL:()=>ve});var n=p(2495),l=p(5879),w=p(8645),E=p(2096),H=p(5592),Q=p(2438),ie=(p(927),p(6410),p(9028)),J=p(2181),xe=p(2831),fe=p(6814),ce=p(9388);let N=(()=>{class P{constructor(B,Se,L){this._ngZone=B,this._platform=Se,this._scrolled=new w.x,this._globalSubscription=null,this._scrolledCount=0,this.scrollContainers=new Map,this._document=L}register(B){this.scrollContainers.has(B)||this.scrollContainers.set(B,B.elementScrolled().subscribe(()=>this._scrolled.next(B)))}deregister(B){const Se=this.scrollContainers.get(B);Se&&(Se.unsubscribe(),this.scrollContainers.delete(B))}scrolled(B=20){return this._platform.isBrowser?new H.y(Se=>{this._globalSubscription||this._addGlobalListener();const L=B>0?this._scrolled.pipe((0,ie.e)(B)).subscribe(Se):this._scrolled.subscribe(Se);return this._scrolledCount++,()=>{L.unsubscribe(),this._scrolledCount--,this._scrolledCount||this._removeGlobalListener()}}):(0,E.of)()}ngOnDestroy(){this._removeGlobalListener(),this.scrollContainers.forEach((B,Se)=>this.deregister(Se)),this._scrolled.complete()}ancestorScrolled(B,Se){const L=this.getAncestorScrollContainers(B);return this.scrolled(Se).pipe((0,J.h)(V=>!V||L.indexOf(V)>-1))}getAncestorScrollContainers(B){const Se=[];return this.scrollContainers.forEach((L,V)=>{this._scrollableContainsElement(V,B)&&Se.push(V)}),Se}_getWindow(){return this._document.defaultView||window}_scrollableContainsElement(B,Se){let L=(0,n.fI)(Se),V=B.getElementRef().nativeElement;do{if(L==V)return!0}while(L=L.parentElement);return!1}_addGlobalListener(){this._globalSubscription=this._ngZone.runOutsideAngular(()=>{const B=this._getWindow();return(0,Q.R)(B.document,"scroll").subscribe(()=>this._scrolled.next())})}_removeGlobalListener(){this._globalSubscription&&(this._globalSubscription.unsubscribe(),this._globalSubscription=null)}static#e=this.\u0275fac=function(Se){return new(Se||P)(l.LFG(l.R0b),l.LFG(xe.t4),l.LFG(fe.K0,8))};static#t=this.\u0275prov=l.Yz7({token:P,factory:P.\u0275fac,providedIn:"root"})}return P})(),ve=(()=>{class P{constructor(B,Se,L){this._platform=B,this._change=new w.x,this._changeListener=V=>{this._change.next(V)},this._document=L,Se.runOutsideAngular(()=>{if(B.isBrowser){const V=this._getWindow();V.addEventListener("resize",this._changeListener),V.addEventListener("orientationchange",this._changeListener)}this.change().subscribe(()=>this._viewportSize=null)})}ngOnDestroy(){if(this._platform.isBrowser){const B=this._getWindow();B.removeEventListener("resize",this._changeListener),B.removeEventListener("orientationchange",this._changeListener)}this._change.complete()}getViewportSize(){this._viewportSize||this._updateViewportSize();const B={width:this._viewportSize.width,height:this._viewportSize.height};return this._platform.isBrowser||(this._viewportSize=null),B}getViewportRect(){const B=this.getViewportScrollPosition(),{width:Se,height:L}=this.getViewportSize();return{top:B.top,left:B.left,bottom:B.top+L,right:B.left+Se,height:L,width:Se}}getViewportScrollPosition(){if(!this._platform.isBrowser)return{top:0,left:0};const B=this._document,Se=this._getWindow(),L=B.documentElement,V=L.getBoundingClientRect();return{top:-V.top||B.body.scrollTop||Se.scrollY||L.scrollTop||0,left:-V.left||B.body.scrollLeft||Se.scrollX||L.scrollLeft||0}}change(B=20){return B>0?this._change.pipe((0,ie.e)(B)):this._change}_getWindow(){return this._document.defaultView||window}_updateViewportSize(){const B=this._getWindow();this._viewportSize=this._platform.isBrowser?{width:B.innerWidth,height:B.innerHeight}:{width:0,height:0}}static#e=this.\u0275fac=function(Se){return new(Se||P)(l.LFG(xe.t4),l.LFG(l.R0b),l.LFG(fe.K0,8))};static#t=this.\u0275prov=l.Yz7({token:P,factory:P.\u0275fac,providedIn:"root"})}return P})(),At=(()=>{class P{static#e=this.\u0275fac=function(Se){return new(Se||P)};static#t=this.\u0275mod=l.oAB({type:P});static#n=this.\u0275inj=l.cJS({})}return P})(),Y=(()=>{class P{static#e=this.\u0275fac=function(Se){return new(Se||P)};static#t=this.\u0275mod=l.oAB({type:P});static#n=this.\u0275inj=l.cJS({imports:[ce.vT,At,ce.vT,At]})}return P})()},6263:(_t,Me,p)=>{p.d(Me,{IC:()=>ce,Ky:()=>De,Lq:()=>xe});var n=p(2831),l=p(5879),w=p(2495),E=p(6232),H=p(8645),Q=p(2438),ne=p(9028),we=p(9773),ie=p(6814);const J=(0,n.i$)({passive:!0});let xe=(()=>{class Ae{constructor(se,ue){this._platform=se,this._ngZone=ue,this._monitoredElements=new Map}monitor(se){if(!this._platform.isBrowser)return E.E;const ue=(0,w.fI)(se),ze=this._monitoredElements.get(ue);if(ze)return ze.subject;const oe=new H.x,N="cdk-text-field-autofilled",Ce=K=>{"cdk-text-field-autofill-start"!==K.animationName||ue.classList.contains(N)?"cdk-text-field-autofill-end"===K.animationName&&ue.classList.contains(N)&&(ue.classList.remove(N),this._ngZone.run(()=>oe.next({target:K.target,isAutofilled:!1}))):(ue.classList.add(N),this._ngZone.run(()=>oe.next({target:K.target,isAutofilled:!0})))};return this._ngZone.runOutsideAngular(()=>{ue.addEventListener("animationstart",Ce,J),ue.classList.add("cdk-text-field-autofill-monitored")}),this._monitoredElements.set(ue,{subject:oe,unlisten:()=>{ue.removeEventListener("animationstart",Ce,J)}}),oe}stopMonitoring(se){const ue=(0,w.fI)(se),ze=this._monitoredElements.get(ue);ze&&(ze.unlisten(),ze.subject.complete(),ue.classList.remove("cdk-text-field-autofill-monitored"),ue.classList.remove("cdk-text-field-autofilled"),this._monitoredElements.delete(ue))}ngOnDestroy(){this._monitoredElements.forEach((se,ue)=>this.stopMonitoring(ue))}static#e=this.\u0275fac=function(ue){return new(ue||Ae)(l.LFG(n.t4),l.LFG(l.R0b))};static#t=this.\u0275prov=l.Yz7({token:Ae,factory:Ae.\u0275fac,providedIn:"root"})}return Ae})(),ce=(()=>{class Ae{get minRows(){return this._minRows}set minRows(se){this._minRows=(0,w.su)(se),this._setMinHeight()}get maxRows(){return this._maxRows}set maxRows(se){this._maxRows=(0,w.su)(se),this._setMaxHeight()}get enabled(){return this._enabled}set enabled(se){se=(0,w.Ig)(se),this._enabled!==se&&((this._enabled=se)?this.resizeToFitContent(!0):this.reset())}get placeholder(){return this._textareaElement.placeholder}set placeholder(se){this._cachedPlaceholderHeight=void 0,se?this._textareaElement.setAttribute("placeholder",se):this._textareaElement.removeAttribute("placeholder"),this._cacheTextareaPlaceholderHeight()}constructor(se,ue,ze,oe){this._elementRef=se,this._platform=ue,this._ngZone=ze,this._destroyed=new H.x,this._enabled=!0,this._previousMinRows=-1,this._isViewInited=!1,this._handleFocusEvent=N=>{this._hasFocus="focus"===N.type},this._document=oe,this._textareaElement=this._elementRef.nativeElement}_setMinHeight(){const se=this.minRows&&this._cachedLineHeight?this.minRows*this._cachedLineHeight+"px":null;se&&(this._textareaElement.style.minHeight=se)}_setMaxHeight(){const se=this.maxRows&&this._cachedLineHeight?this.maxRows*this._cachedLineHeight+"px":null;se&&(this._textareaElement.style.maxHeight=se)}ngAfterViewInit(){this._platform.isBrowser&&(this._initialHeight=this._textareaElement.style.height,this.resizeToFitContent(),this._ngZone.runOutsideAngular(()=>{const se=this._getWindow();(0,Q.R)(se,"resize").pipe((0,ne.e)(16),(0,we.R)(this._destroyed)).subscribe(()=>this.resizeToFitContent(!0)),this._textareaElement.addEventListener("focus",this._handleFocusEvent),this._textareaElement.addEventListener("blur",this._handleFocusEvent)}),this._isViewInited=!0,this.resizeToFitContent(!0))}ngOnDestroy(){this._textareaElement.removeEventListener("focus",this._handleFocusEvent),this._textareaElement.removeEventListener("blur",this._handleFocusEvent),this._destroyed.next(),this._destroyed.complete()}_cacheTextareaLineHeight(){if(this._cachedLineHeight)return;let se=this._textareaElement.cloneNode(!1);se.rows=1,se.style.position="absolute",se.style.visibility="hidden",se.style.border="none",se.style.padding="0",se.style.height="",se.style.minHeight="",se.style.maxHeight="",se.style.overflow="hidden",this._textareaElement.parentNode.appendChild(se),this._cachedLineHeight=se.clientHeight,se.remove(),this._setMinHeight(),this._setMaxHeight()}_measureScrollHeight(){const se=this._textareaElement,ue=se.style.marginBottom||"",ze=this._platform.FIREFOX,oe=ze&&this._hasFocus,N=ze?"cdk-textarea-autosize-measuring-firefox":"cdk-textarea-autosize-measuring";oe&&(se.style.marginBottom=`${se.clientHeight}px`),se.classList.add(N);const Ce=se.scrollHeight-4;return se.classList.remove(N),oe&&(se.style.marginBottom=ue),Ce}_cacheTextareaPlaceholderHeight(){if(!this._isViewInited||null!=this._cachedPlaceholderHeight)return;if(!this.placeholder)return void(this._cachedPlaceholderHeight=0);const se=this._textareaElement.value;this._textareaElement.value=this._textareaElement.placeholder,this._cachedPlaceholderHeight=this._measureScrollHeight(),this._textareaElement.value=se}ngDoCheck(){this._platform.isBrowser&&this.resizeToFitContent()}resizeToFitContent(se=!1){if(!this._enabled||(this._cacheTextareaLineHeight(),this._cacheTextareaPlaceholderHeight(),!this._cachedLineHeight))return;const ue=this._elementRef.nativeElement,ze=ue.value;if(!se&&this._minRows===this._previousMinRows&&ze===this._previousValue)return;const oe=this._measureScrollHeight(),N=Math.max(oe,this._cachedPlaceholderHeight||0);ue.style.height=`${N}px`,this._ngZone.runOutsideAngular(()=>{typeof requestAnimationFrame<"u"?requestAnimationFrame(()=>this._scrollToCaretPosition(ue)):setTimeout(()=>this._scrollToCaretPosition(ue))}),this._previousValue=ze,this._previousMinRows=this._minRows}reset(){void 0!==this._initialHeight&&(this._textareaElement.style.height=this._initialHeight)}_noopInputHandler(){}_getDocument(){return this._document||document}_getWindow(){return this._getDocument().defaultView||window}_scrollToCaretPosition(se){const{selectionStart:ue,selectionEnd:ze}=se;!this._destroyed.isStopped&&this._hasFocus&&se.setSelectionRange(ue,ze)}static#e=this.\u0275fac=function(ue){return new(ue||Ae)(l.Y36(l.SBq),l.Y36(n.t4),l.Y36(l.R0b),l.Y36(ie.K0,8))};static#t=this.\u0275dir=l.lG2({type:Ae,selectors:[["textarea","cdkTextareaAutosize",""]],hostAttrs:["rows","1",1,"cdk-textarea-autosize"],hostBindings:function(ue,ze){1&ue&&l.NdJ("input",function(){return ze._noopInputHandler()})},inputs:{minRows:["cdkAutosizeMinRows","minRows"],maxRows:["cdkAutosizeMaxRows","maxRows"],enabled:["cdkTextareaAutosize","enabled"],placeholder:"placeholder"},exportAs:["cdkTextareaAutosize"]})}return Ae})(),De=(()=>{class Ae{static#e=this.\u0275fac=function(ue){return new(ue||Ae)};static#t=this.\u0275mod=l.oAB({type:Ae});static#n=this.\u0275inj=l.cJS({})}return Ae})()},6814:(_t,Me,p)=>{p.d(Me,{ED:()=>he,EM:()=>$i,HT:()=>E,JF:()=>fo,K0:()=>Q,Mx:()=>li,NF:()=>br,O5:()=>qe,PC:()=>Yt,PM:()=>xo,RF:()=>x,S$:()=>ce,Ts:()=>Gi,Ye:()=>se,bD:()=>$n,ez:()=>rn,mk:()=>Sn,n9:()=>Z,q:()=>w,sg:()=>oi,tP:()=>Hn,w_:()=>H});var n=p(5879);let l=null;function w(){return l}function E(_){l||(l=_)}class H{}const Q=new n.OlP("DocumentToken");let ne=(()=>{class _{historyGo(D){throw new Error("Not implemented")}static#e=this.\u0275fac=function(F){return new(F||_)};static#t=this.\u0275prov=n.Yz7({token:_,factory:function(){return(0,n.f3M)(ie)},providedIn:"platform"})}return _})(),ie=(()=>{class _ extends ne{constructor(){super(),this._doc=(0,n.f3M)(Q),this._location=window.location,this._history=window.history}getBaseHrefFromDOM(){return w().getBaseHref(this._doc)}onPopState(D){const F=w().getGlobalEventTarget(this._doc,"window");return F.addEventListener("popstate",D,!1),()=>F.removeEventListener("popstate",D)}onHashChange(D){const F=w().getGlobalEventTarget(this._doc,"window");return F.addEventListener("hashchange",D,!1),()=>F.removeEventListener("hashchange",D)}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(D){this._location.pathname=D}pushState(D,F,Fe){this._history.pushState(D,F,Fe)}replaceState(D,F,Fe){this._history.replaceState(D,F,Fe)}forward(){this._history.forward()}back(){this._history.back()}historyGo(D=0){this._history.go(D)}getState(){return this._history.state}static#e=this.\u0275fac=function(F){return new(F||_)};static#t=this.\u0275prov=n.Yz7({token:_,factory:function(){return new _},providedIn:"platform"})}return _})();function J(_,U){if(0==_.length)return U;if(0==U.length)return _;let D=0;return _.endsWith("/")&&D++,U.startsWith("/")&&D++,2==D?_+U.substring(1):1==D?_+U:_+"/"+U}function xe(_){const U=_.match(/#|\?|$/),D=U&&U.index||_.length;return _.slice(0,D-("/"===_[D-1]?1:0))+_.slice(D)}function fe(_){return _&&"?"!==_[0]?"?"+_:_}let ce=(()=>{class _{historyGo(D){throw new Error("Not implemented")}static#e=this.\u0275fac=function(F){return new(F||_)};static#t=this.\u0275prov=n.Yz7({token:_,factory:function(){return(0,n.f3M)(Ae)},providedIn:"root"})}return _})();const De=new n.OlP("appBaseHref");let Ae=(()=>{class _ extends ce{constructor(D,F){super(),this._platformLocation=D,this._removeListenerFns=[],this._baseHref=F??this._platformLocation.getBaseHrefFromDOM()??(0,n.f3M)(Q).location?.origin??""}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(D){this._removeListenerFns.push(this._platformLocation.onPopState(D),this._platformLocation.onHashChange(D))}getBaseHref(){return this._baseHref}prepareExternalUrl(D){return J(this._baseHref,D)}path(D=!1){const F=this._platformLocation.pathname+fe(this._platformLocation.search),Fe=this._platformLocation.hash;return Fe&&D?`${F}${Fe}`:F}pushState(D,F,Fe,pt){const Ot=this.prepareExternalUrl(Fe+fe(pt));this._platformLocation.pushState(D,F,Ot)}replaceState(D,F,Fe,pt){const Ot=this.prepareExternalUrl(Fe+fe(pt));this._platformLocation.replaceState(D,F,Ot)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(D=0){this._platformLocation.historyGo?.(D)}static#e=this.\u0275fac=function(F){return new(F||_)(n.LFG(ne),n.LFG(De,8))};static#t=this.\u0275prov=n.Yz7({token:_,factory:_.\u0275fac,providedIn:"root"})}return _})(),se=(()=>{class _{constructor(D){this._subject=new n.vpe,this._urlChangeListeners=[],this._urlChangeSubscription=null,this._locationStrategy=D;const F=this._locationStrategy.getBaseHref();this._basePath=function N(_){if(new RegExp("^(https?:)?//").test(_)){const[,D]=_.split(/\/\/[^\/]+/);return D}return _}(xe(oe(F))),this._locationStrategy.onPopState(Fe=>{this._subject.emit({url:this.path(!0),pop:!0,state:Fe.state,type:Fe.type})})}ngOnDestroy(){this._urlChangeSubscription?.unsubscribe(),this._urlChangeListeners=[]}path(D=!1){return this.normalize(this._locationStrategy.path(D))}getState(){return this._locationStrategy.getState()}isCurrentPathEqualTo(D,F=""){return this.path()==this.normalize(D+fe(F))}normalize(D){return _.stripTrailingSlash(function ze(_,U){if(!_||!U.startsWith(_))return U;const D=U.substring(_.length);return""===D||["/",";","?","#"].includes(D[0])?D:U}(this._basePath,oe(D)))}prepareExternalUrl(D){return D&&"/"!==D[0]&&(D="/"+D),this._locationStrategy.prepareExternalUrl(D)}go(D,F="",Fe=null){this._locationStrategy.pushState(Fe,"",D,F),this._notifyUrlChangeListeners(this.prepareExternalUrl(D+fe(F)),Fe)}replaceState(D,F="",Fe=null){this._locationStrategy.replaceState(Fe,"",D,F),this._notifyUrlChangeListeners(this.prepareExternalUrl(D+fe(F)),Fe)}forward(){this._locationStrategy.forward()}back(){this._locationStrategy.back()}historyGo(D=0){this._locationStrategy.historyGo?.(D)}onUrlChange(D){return this._urlChangeListeners.push(D),this._urlChangeSubscription||(this._urlChangeSubscription=this.subscribe(F=>{this._notifyUrlChangeListeners(F.url,F.state)})),()=>{const F=this._urlChangeListeners.indexOf(D);this._urlChangeListeners.splice(F,1),0===this._urlChangeListeners.length&&(this._urlChangeSubscription?.unsubscribe(),this._urlChangeSubscription=null)}}_notifyUrlChangeListeners(D="",F){this._urlChangeListeners.forEach(Fe=>Fe(D,F))}subscribe(D,F,Fe){return this._subject.subscribe({next:D,error:F,complete:Fe})}static#e=this.normalizeQueryParams=fe;static#t=this.joinWithSlash=J;static#n=this.stripTrailingSlash=xe;static#i=this.\u0275fac=function(F){return new(F||_)(n.LFG(ce))};static#o=this.\u0275prov=n.Yz7({token:_,factory:function(){return function ue(){return new se((0,n.LFG)(ce))}()},providedIn:"root"})}return _})();function oe(_){return _.replace(/\/index.html$/,"")}function li(_,U){U=encodeURIComponent(U);for(const D of _.split(";")){const F=D.indexOf("="),[Fe,pt]=-1==F?[D,""]:[D.slice(0,F),D.slice(F+1)];if(Fe.trim()===U)return decodeURIComponent(pt)}return null}const gi=/\s+/,Tn=[];let Sn=(()=>{class _{constructor(D,F,Fe,pt){this._iterableDiffers=D,this._keyValueDiffers=F,this._ngEl=Fe,this._renderer=pt,this.initialClasses=Tn,this.stateMap=new Map}set klass(D){this.initialClasses=null!=D?D.trim().split(gi):Tn}set ngClass(D){this.rawClass="string"==typeof D?D.trim().split(gi):D}ngDoCheck(){for(const F of this.initialClasses)this._updateState(F,!0);const D=this.rawClass;if(Array.isArray(D)||D instanceof Set)for(const F of D)this._updateState(F,!0);else if(null!=D)for(const F of Object.keys(D))this._updateState(F,!!D[F]);this._applyStateDiff()}_updateState(D,F){const Fe=this.stateMap.get(D);void 0!==Fe?(Fe.enabled!==F&&(Fe.changed=!0,Fe.enabled=F),Fe.touched=!0):this.stateMap.set(D,{enabled:F,changed:!0,touched:!0})}_applyStateDiff(){for(const D of this.stateMap){const F=D[0],Fe=D[1];Fe.changed?(this._toggleClass(F,Fe.enabled),Fe.changed=!1):Fe.touched||(Fe.enabled&&this._toggleClass(F,!1),this.stateMap.delete(F)),Fe.touched=!1}}_toggleClass(D,F){(D=D.trim()).length>0&&D.split(gi).forEach(Fe=>{F?this._renderer.addClass(this._ngEl.nativeElement,Fe):this._renderer.removeClass(this._ngEl.nativeElement,Fe)})}static#e=this.\u0275fac=function(F){return new(F||_)(n.Y36(n.ZZ4),n.Y36(n.aQg),n.Y36(n.SBq),n.Y36(n.Qsj))};static#t=this.\u0275dir=n.lG2({type:_,selectors:[["","ngClass",""]],inputs:{klass:["class","klass"],ngClass:"ngClass"},standalone:!0})}return _})();class Vn{constructor(U,D,F,Fe){this.$implicit=U,this.ngForOf=D,this.index=F,this.count=Fe}get first(){return 0===this.index}get last(){return this.index===this.count-1}get even(){return this.index%2==0}get odd(){return!this.even}}let oi=(()=>{class _{set ngForOf(D){this._ngForOf=D,this._ngForOfDirty=!0}set ngForTrackBy(D){this._trackByFn=D}get ngForTrackBy(){return this._trackByFn}constructor(D,F,Fe){this._viewContainer=D,this._template=F,this._differs=Fe,this._ngForOf=null,this._ngForOfDirty=!0,this._differ=null}set ngForTemplate(D){D&&(this._template=D)}ngDoCheck(){if(this._ngForOfDirty){this._ngForOfDirty=!1;const D=this._ngForOf;!this._differ&&D&&(this._differ=this._differs.find(D).create(this.ngForTrackBy))}if(this._differ){const D=this._differ.diff(this._ngForOf);D&&this._applyChanges(D)}}_applyChanges(D){const F=this._viewContainer;D.forEachOperation((Fe,pt,Ot)=>{if(null==Fe.previousIndex)F.createEmbeddedView(this._template,new Vn(Fe.item,this._ngForOf,-1,-1),null===Ot?void 0:Ot);else if(null==Ot)F.remove(null===pt?void 0:pt);else if(null!==pt){const an=F.get(pt);F.move(an,Ot),Qe(an,Fe)}});for(let Fe=0,pt=F.length;Fe{Qe(F.get(Fe.currentIndex),Fe)})}static ngTemplateContextGuard(D,F){return!0}static#e=this.\u0275fac=function(F){return new(F||_)(n.Y36(n.s_b),n.Y36(n.Rgc),n.Y36(n.ZZ4))};static#t=this.\u0275dir=n.lG2({type:_,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"},standalone:!0})}return _})();function Qe(_,U){_.context.$implicit=U.item}let qe=(()=>{class _{constructor(D,F){this._viewContainer=D,this._context=new Et,this._thenTemplateRef=null,this._elseTemplateRef=null,this._thenViewRef=null,this._elseViewRef=null,this._thenTemplateRef=F}set ngIf(D){this._context.$implicit=this._context.ngIf=D,this._updateView()}set ngIfThen(D){A("ngIfThen",D),this._thenTemplateRef=D,this._thenViewRef=null,this._updateView()}set ngIfElse(D){A("ngIfElse",D),this._elseTemplateRef=D,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(D,F){return!0}static#e=this.\u0275fac=function(F){return new(F||_)(n.Y36(n.s_b),n.Y36(n.Rgc))};static#t=this.\u0275dir=n.lG2({type:_,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"},standalone:!0})}return _})();class Et{constructor(){this.$implicit=null,this.ngIf=null}}function A(_,U){if(U&&!U.createEmbeddedView)throw new Error(`${_} must be a TemplateRef, but received '${(0,n.AaK)(U)}'.`)}class q{constructor(U,D){this._viewContainerRef=U,this._templateRef=D,this._created=!1}create(){this._created=!0,this._viewContainerRef.createEmbeddedView(this._templateRef)}destroy(){this._created=!1,this._viewContainerRef.clear()}enforceState(U){U&&!this._created?this.create():!U&&this._created&&this.destroy()}}let x=(()=>{class _{constructor(){this._defaultViews=[],this._defaultUsed=!1,this._caseCount=0,this._lastCaseCheckIndex=0,this._lastCasesMatched=!1}set ngSwitch(D){this._ngSwitch=D,0===this._caseCount&&this._updateDefaultCases(!0)}_addCase(){return this._caseCount++}_addDefault(D){this._defaultViews.push(D)}_matchCase(D){const F=D==this._ngSwitch;return this._lastCasesMatched=this._lastCasesMatched||F,this._lastCaseCheckIndex++,this._lastCaseCheckIndex===this._caseCount&&(this._updateDefaultCases(!this._lastCasesMatched),this._lastCaseCheckIndex=0,this._lastCasesMatched=!1),F}_updateDefaultCases(D){if(this._defaultViews.length>0&&D!==this._defaultUsed){this._defaultUsed=D;for(const F of this._defaultViews)F.enforceState(D)}}static#e=this.\u0275fac=function(F){return new(F||_)};static#t=this.\u0275dir=n.lG2({type:_,selectors:[["","ngSwitch",""]],inputs:{ngSwitch:"ngSwitch"},standalone:!0})}return _})(),Z=(()=>{class _{constructor(D,F,Fe){this.ngSwitch=Fe,Fe._addCase(),this._view=new q(D,F)}ngDoCheck(){this._view.enforceState(this.ngSwitch._matchCase(this.ngSwitchCase))}static#e=this.\u0275fac=function(F){return new(F||_)(n.Y36(n.s_b),n.Y36(n.Rgc),n.Y36(x,9))};static#t=this.\u0275dir=n.lG2({type:_,selectors:[["","ngSwitchCase",""]],inputs:{ngSwitchCase:"ngSwitchCase"},standalone:!0})}return _})(),he=(()=>{class _{constructor(D,F,Fe){Fe._addDefault(new q(D,F))}static#e=this.\u0275fac=function(F){return new(F||_)(n.Y36(n.s_b),n.Y36(n.Rgc),n.Y36(x,9))};static#t=this.\u0275dir=n.lG2({type:_,selectors:[["","ngSwitchDefault",""]],standalone:!0})}return _})(),Yt=(()=>{class _{constructor(D,F,Fe){this._ngEl=D,this._differs=F,this._renderer=Fe,this._ngStyle=null,this._differ=null}set ngStyle(D){this._ngStyle=D,!this._differ&&D&&(this._differ=this._differs.find(D).create())}ngDoCheck(){if(this._differ){const D=this._differ.diff(this._ngStyle);D&&this._applyChanges(D)}}_setStyle(D,F){const[Fe,pt]=D.split("."),Ot=-1===Fe.indexOf("-")?void 0:n.JOm.DashCase;null!=F?this._renderer.setStyle(this._ngEl.nativeElement,Fe,pt?`${F}${pt}`:F,Ot):this._renderer.removeStyle(this._ngEl.nativeElement,Fe,Ot)}_applyChanges(D){D.forEachRemovedItem(F=>this._setStyle(F.key,null)),D.forEachAddedItem(F=>this._setStyle(F.key,F.currentValue)),D.forEachChangedItem(F=>this._setStyle(F.key,F.currentValue))}static#e=this.\u0275fac=function(F){return new(F||_)(n.Y36(n.SBq),n.Y36(n.aQg),n.Y36(n.Qsj))};static#t=this.\u0275dir=n.lG2({type:_,selectors:[["","ngStyle",""]],inputs:{ngStyle:"ngStyle"},standalone:!0})}return _})(),Hn=(()=>{class _{constructor(D){this._viewContainerRef=D,this._viewRef=null,this.ngTemplateOutletContext=null,this.ngTemplateOutlet=null,this.ngTemplateOutletInjector=null}ngOnChanges(D){if(D.ngTemplateOutlet||D.ngTemplateOutletInjector){const F=this._viewContainerRef;if(this._viewRef&&F.remove(F.indexOf(this._viewRef)),this.ngTemplateOutlet){const{ngTemplateOutlet:Fe,ngTemplateOutletContext:pt,ngTemplateOutletInjector:Ot}=this;this._viewRef=F.createEmbeddedView(Fe,pt,Ot?{injector:Ot}:void 0)}else this._viewRef=null}else this._viewRef&&D.ngTemplateOutletContext&&this.ngTemplateOutletContext&&(this._viewRef.context=this.ngTemplateOutletContext)}static#e=this.\u0275fac=function(F){return new(F||_)(n.Y36(n.s_b))};static#t=this.\u0275dir=n.lG2({type:_,selectors:[["","ngTemplateOutlet",""]],inputs:{ngTemplateOutletContext:"ngTemplateOutletContext",ngTemplateOutlet:"ngTemplateOutlet",ngTemplateOutletInjector:"ngTemplateOutletInjector"},standalone:!0,features:[n.TTD]})}return _})(),Gi=(()=>{class _{transform(D){return JSON.stringify(D,null,2)}static#e=this.\u0275fac=function(F){return new(F||_)};static#t=this.\u0275pipe=n.Yjl({name:"json",type:_,pure:!1,standalone:!0})}return _})(),rn=(()=>{class _{static#e=this.\u0275fac=function(F){return new(F||_)};static#t=this.\u0275mod=n.oAB({type:_});static#n=this.\u0275inj=n.cJS({})}return _})();const $n="browser",ti="server";function br(_){return _===$n}function xo(_){return _===ti}let $i=(()=>{class _{static#e=this.\u0275prov=(0,n.Yz7)({token:_,providedIn:"root",factory:()=>new Mo((0,n.LFG)(Q),window)})}return _})();class Mo{constructor(U,D){this.document=U,this.window=D,this.offset=()=>[0,0]}setOffset(U){this.offset=Array.isArray(U)?()=>U:U}getScrollPosition(){return this.supportsScrolling()?[this.window.pageXOffset,this.window.pageYOffset]:[0,0]}scrollToPosition(U){this.supportsScrolling()&&this.window.scrollTo(U[0],U[1])}scrollToAnchor(U){if(!this.supportsScrolling())return;const D=function Lo(_,U){const D=_.getElementById(U)||_.getElementsByName(U)[0];if(D)return D;if("function"==typeof _.createTreeWalker&&_.body&&"function"==typeof _.body.attachShadow){const F=_.createTreeWalker(_.body,NodeFilter.SHOW_ELEMENT);let Fe=F.currentNode;for(;Fe;){const pt=Fe.shadowRoot;if(pt){const Ot=pt.getElementById(U)||pt.querySelector(`[name="${U}"]`);if(Ot)return Ot}Fe=F.nextNode()}}return null}(this.document,U);D&&(this.scrollToElement(D),D.focus())}setHistoryScrollRestoration(U){this.supportsScrolling()&&(this.window.history.scrollRestoration=U)}scrollToElement(U){const D=U.getBoundingClientRect(),F=D.left+this.window.pageXOffset,Fe=D.top+this.window.pageYOffset,pt=this.offset();this.window.scrollTo(F-pt[0],Fe-pt[1])}supportsScrolling(){try{return!!this.window&&!!this.window.scrollTo&&"pageXOffset"in this.window}catch{return!1}}}class fo{}},9862:(_t,Me,p)=>{p.d(Me,{Zn:()=>Xe,eN:()=>P,h_:()=>ut});var n=p(5879),l=p(2096),w=p(7715),E=p(5592),H=p(6328),Q=p(2181),ne=p(7398),we=p(4716),ie=p(4664),J=p(6814);class xe{}class fe{}class ce{constructor(ge){this.normalizedNames=new Map,this.lazyUpdate=null,ge?"string"==typeof ge?this.lazyInit=()=>{this.headers=new Map,ge.split("\n").forEach(Ve=>{const dt=Ve.indexOf(":");if(dt>0){const Rt=Ve.slice(0,dt),Ht=Rt.toLowerCase(),Nt=Ve.slice(dt+1).trim();this.maybeSetNormalizedName(Rt,Ht),this.headers.has(Ht)?this.headers.get(Ht).push(Nt):this.headers.set(Ht,[Nt])}})}:typeof Headers<"u"&&ge instanceof Headers?(this.headers=new Map,ge.forEach((Ve,dt)=>{this.setHeaderEntries(dt,Ve)})):this.lazyInit=()=>{this.headers=new Map,Object.entries(ge).forEach(([Ve,dt])=>{this.setHeaderEntries(Ve,dt)})}:this.headers=new Map}has(ge){return this.init(),this.headers.has(ge.toLowerCase())}get(ge){this.init();const Ve=this.headers.get(ge.toLowerCase());return Ve&&Ve.length>0?Ve[0]:null}keys(){return this.init(),Array.from(this.normalizedNames.values())}getAll(ge){return this.init(),this.headers.get(ge.toLowerCase())||null}append(ge,Ve){return this.clone({name:ge,value:Ve,op:"a"})}set(ge,Ve){return this.clone({name:ge,value:Ve,op:"s"})}delete(ge,Ve){return this.clone({name:ge,value:Ve,op:"d"})}maybeSetNormalizedName(ge,Ve){this.normalizedNames.has(Ve)||this.normalizedNames.set(Ve,ge)}init(){this.lazyInit&&(this.lazyInit instanceof ce?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach(ge=>this.applyUpdate(ge)),this.lazyUpdate=null))}copyFrom(ge){ge.init(),Array.from(ge.headers.keys()).forEach(Ve=>{this.headers.set(Ve,ge.headers.get(Ve)),this.normalizedNames.set(Ve,ge.normalizedNames.get(Ve))})}clone(ge){const Ve=new ce;return Ve.lazyInit=this.lazyInit&&this.lazyInit instanceof ce?this.lazyInit:this,Ve.lazyUpdate=(this.lazyUpdate||[]).concat([ge]),Ve}applyUpdate(ge){const Ve=ge.name.toLowerCase();switch(ge.op){case"a":case"s":let dt=ge.value;if("string"==typeof dt&&(dt=[dt]),0===dt.length)return;this.maybeSetNormalizedName(ge.name,Ve);const Rt=("a"===ge.op?this.headers.get(Ve):void 0)||[];Rt.push(...dt),this.headers.set(Ve,Rt);break;case"d":const Ht=ge.value;if(Ht){let Nt=this.headers.get(Ve);if(!Nt)return;Nt=Nt.filter(nn=>-1===Ht.indexOf(nn)),0===Nt.length?(this.headers.delete(Ve),this.normalizedNames.delete(Ve)):this.headers.set(Ve,Nt)}else this.headers.delete(Ve),this.normalizedNames.delete(Ve)}}setHeaderEntries(ge,Ve){const dt=(Array.isArray(Ve)?Ve:[Ve]).map(Ht=>Ht.toString()),Rt=ge.toLowerCase();this.headers.set(Rt,dt),this.maybeSetNormalizedName(ge,Rt)}forEach(ge){this.init(),Array.from(this.normalizedNames.keys()).forEach(Ve=>ge(this.normalizedNames.get(Ve),this.headers.get(Ve)))}}class Ae{encodeKey(ge){return ze(ge)}encodeValue(ge){return ze(ge)}decodeKey(ge){return decodeURIComponent(ge)}decodeValue(ge){return decodeURIComponent(ge)}}const se=/%(\d[a-f0-9])/gi,ue={40:"@","3A":":",24:"$","2C":",","3B":";","3D":"=","3F":"?","2F":"/"};function ze(Ee){return encodeURIComponent(Ee).replace(se,(ge,Ve)=>ue[Ve]??ge)}function oe(Ee){return`${Ee}`}class N{constructor(ge={}){if(this.updates=null,this.cloneFrom=null,this.encoder=ge.encoder||new Ae,ge.fromString){if(ge.fromObject)throw new Error("Cannot specify both fromString and fromObject.");this.map=function Le(Ee,ge){const Ve=new Map;return Ee.length>0&&Ee.replace(/^\?/,"").split("&").forEach(Rt=>{const Ht=Rt.indexOf("="),[Nt,nn]=-1==Ht?[ge.decodeKey(Rt),""]:[ge.decodeKey(Rt.slice(0,Ht)),ge.decodeValue(Rt.slice(Ht+1))],cn=Ve.get(Nt)||[];cn.push(nn),Ve.set(Nt,cn)}),Ve}(ge.fromString,this.encoder)}else ge.fromObject?(this.map=new Map,Object.keys(ge.fromObject).forEach(Ve=>{const dt=ge.fromObject[Ve],Rt=Array.isArray(dt)?dt.map(oe):[oe(dt)];this.map.set(Ve,Rt)})):this.map=null}has(ge){return this.init(),this.map.has(ge)}get(ge){this.init();const Ve=this.map.get(ge);return Ve?Ve[0]:null}getAll(ge){return this.init(),this.map.get(ge)||null}keys(){return this.init(),Array.from(this.map.keys())}append(ge,Ve){return this.clone({param:ge,value:Ve,op:"a"})}appendAll(ge){const Ve=[];return Object.keys(ge).forEach(dt=>{const Rt=ge[dt];Array.isArray(Rt)?Rt.forEach(Ht=>{Ve.push({param:dt,value:Ht,op:"a"})}):Ve.push({param:dt,value:Rt,op:"a"})}),this.clone(Ve)}set(ge,Ve){return this.clone({param:ge,value:Ve,op:"s"})}delete(ge,Ve){return this.clone({param:ge,value:Ve,op:"d"})}toString(){return this.init(),this.keys().map(ge=>{const Ve=this.encoder.encodeKey(ge);return this.map.get(ge).map(dt=>Ve+"="+this.encoder.encodeValue(dt)).join("&")}).filter(ge=>""!==ge).join("&")}clone(ge){const Ve=new N({encoder:this.encoder});return Ve.cloneFrom=this.cloneFrom||this,Ve.updates=(this.updates||[]).concat(ge),Ve}init(){null===this.map&&(this.map=new Map),null!==this.cloneFrom&&(this.cloneFrom.init(),this.cloneFrom.keys().forEach(ge=>this.map.set(ge,this.cloneFrom.map.get(ge))),this.updates.forEach(ge=>{switch(ge.op){case"a":case"s":const Ve=("a"===ge.op?this.map.get(ge.param):void 0)||[];Ve.push(oe(ge.value)),this.map.set(ge.param,Ve);break;case"d":if(void 0===ge.value){this.map.delete(ge.param);break}{let dt=this.map.get(ge.param)||[];const Rt=dt.indexOf(oe(ge.value));-1!==Rt&&dt.splice(Rt,1),dt.length>0?this.map.set(ge.param,dt):this.map.delete(ge.param)}}}),this.cloneFrom=this.updates=null)}}class K{constructor(){this.map=new Map}set(ge,Ve){return this.map.set(ge,Ve),this}get(ge){return this.map.has(ge)||this.map.set(ge,ge.defaultValue()),this.map.get(ge)}delete(ge){return this.map.delete(ge),this}has(ge){return this.map.has(ge)}keys(){return this.map.keys()}}function ye(Ee){return typeof ArrayBuffer<"u"&&Ee instanceof ArrayBuffer}function He(Ee){return typeof Blob<"u"&&Ee instanceof Blob}function ft(Ee){return typeof FormData<"u"&&Ee instanceof FormData}class xt{constructor(ge,Ve,dt,Rt){let Ht;if(this.url=Ve,this.body=null,this.reportProgress=!1,this.withCredentials=!1,this.responseType="json",this.method=ge.toUpperCase(),function ve(Ee){switch(Ee){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}(this.method)||Rt?(this.body=void 0!==dt?dt:null,Ht=Rt):Ht=dt,Ht&&(this.reportProgress=!!Ht.reportProgress,this.withCredentials=!!Ht.withCredentials,Ht.responseType&&(this.responseType=Ht.responseType),Ht.headers&&(this.headers=Ht.headers),Ht.context&&(this.context=Ht.context),Ht.params&&(this.params=Ht.params)),this.headers||(this.headers=new ce),this.context||(this.context=new K),this.params){const Nt=this.params.toString();if(0===Nt.length)this.urlWithParams=Ve;else{const nn=Ve.indexOf("?");this.urlWithParams=Ve+(-1===nn?"?":nnXn.set(zn,ge.setHeaders[zn]),cn)),ge.setParams&&(Ln=Object.keys(ge.setParams).reduce((Xn,zn)=>Xn.set(zn,ge.setParams[zn]),Ln)),new xt(Ve,dt,Ht,{params:Ln,headers:cn,context:jn,reportProgress:nn,responseType:Rt,withCredentials:Nt})}}var Ut=function(Ee){return Ee[Ee.Sent=0]="Sent",Ee[Ee.UploadProgress=1]="UploadProgress",Ee[Ee.ResponseHeader=2]="ResponseHeader",Ee[Ee.DownloadProgress=3]="DownloadProgress",Ee[Ee.Response=4]="Response",Ee[Ee.User=5]="User",Ee}(Ut||{});class It{constructor(ge,Ve=200,dt="OK"){this.headers=ge.headers||new ce,this.status=void 0!==ge.status?ge.status:Ve,this.statusText=ge.statusText||dt,this.url=ge.url||null,this.ok=this.status>=200&&this.status<300}}class sn extends It{constructor(ge={}){super(ge),this.type=Ut.ResponseHeader}clone(ge={}){return new sn({headers:ge.headers||this.headers,status:void 0!==ge.status?ge.status:this.status,statusText:ge.statusText||this.statusText,url:ge.url||this.url||void 0})}}class Xe extends It{constructor(ge={}){super(ge),this.type=Ut.Response,this.body=void 0!==ge.body?ge.body:null}clone(ge={}){return new Xe({body:void 0!==ge.body?ge.body:this.body,headers:ge.headers||this.headers,status:void 0!==ge.status?ge.status:this.status,statusText:ge.statusText||this.statusText,url:ge.url||this.url||void 0})}}class At extends It{constructor(ge){super(ge,0,"Unknown Error"),this.name="HttpErrorResponse",this.ok=!1,this.message=this.status>=200&&this.status<300?`Http failure during parsing for ${ge.url||"(unknown url)"}`:`Http failure response for ${ge.url||"(unknown url)"}: ${ge.status} ${ge.statusText}`,this.error=ge.error||null}}function Y(Ee,ge){return{body:ge,headers:Ee.headers,context:Ee.context,observe:Ee.observe,params:Ee.params,reportProgress:Ee.reportProgress,responseType:Ee.responseType,withCredentials:Ee.withCredentials}}let P=(()=>{class Ee{constructor(Ve){this.handler=Ve}request(Ve,dt,Rt={}){let Ht;if(Ve instanceof xt)Ht=Ve;else{let cn,Ln;cn=Rt.headers instanceof ce?Rt.headers:new ce(Rt.headers),Rt.params&&(Ln=Rt.params instanceof N?Rt.params:new N({fromObject:Rt.params})),Ht=new xt(Ve,dt,void 0!==Rt.body?Rt.body:null,{headers:cn,context:Rt.context,params:Ln,reportProgress:Rt.reportProgress,responseType:Rt.responseType||"json",withCredentials:Rt.withCredentials})}const Nt=(0,l.of)(Ht).pipe((0,H.b)(cn=>this.handler.handle(cn)));if(Ve instanceof xt||"events"===Rt.observe)return Nt;const nn=Nt.pipe((0,Q.h)(cn=>cn instanceof Xe));switch(Rt.observe||"body"){case"body":switch(Ht.responseType){case"arraybuffer":return nn.pipe((0,ne.U)(cn=>{if(null!==cn.body&&!(cn.body instanceof ArrayBuffer))throw new Error("Response is not an ArrayBuffer.");return cn.body}));case"blob":return nn.pipe((0,ne.U)(cn=>{if(null!==cn.body&&!(cn.body instanceof Blob))throw new Error("Response is not a Blob.");return cn.body}));case"text":return nn.pipe((0,ne.U)(cn=>{if(null!==cn.body&&"string"!=typeof cn.body)throw new Error("Response is not a string.");return cn.body}));default:return nn.pipe((0,ne.U)(cn=>cn.body))}case"response":return nn;default:throw new Error(`Unreachable: unhandled observe type ${Rt.observe}}`)}}delete(Ve,dt={}){return this.request("DELETE",Ve,dt)}get(Ve,dt={}){return this.request("GET",Ve,dt)}head(Ve,dt={}){return this.request("HEAD",Ve,dt)}jsonp(Ve,dt){return this.request("JSONP",Ve,{params:(new N).append(dt,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}options(Ve,dt={}){return this.request("OPTIONS",Ve,dt)}patch(Ve,dt,Rt={}){return this.request("PATCH",Ve,Y(Rt,dt))}post(Ve,dt,Rt={}){return this.request("POST",Ve,Y(Rt,dt))}put(Ve,dt,Rt={}){return this.request("PUT",Ve,Y(Rt,dt))}static#e=this.\u0275fac=function(dt){return new(dt||Ee)(n.LFG(xe))};static#t=this.\u0275prov=n.Yz7({token:Ee,factory:Ee.\u0275fac})}return Ee})();function je(Ee,ge){return ge(Ee)}const Bt=new n.OlP(""),Je=new n.OlP("");let Oe=(()=>{class Ee extends xe{constructor(Ve,dt){super(),this.backend=Ve,this.injector=dt,this.chain=null,this.pendingTasks=(0,n.f3M)(n.HDt)}handle(Ve){if(null===this.chain){const Rt=Array.from(new Set([...this.injector.get(Bt),...this.injector.get(Je,[])]));this.chain=Rt.reduceRight((Ht,Nt)=>function st(Ee,ge,Ve){return(dt,Rt)=>Ve.runInContext(()=>ge(dt,Ht=>Ee(Ht,Rt)))}(Ht,Nt,this.injector),je)}const dt=this.pendingTasks.add();return this.chain(Ve,Rt=>this.backend.handle(Rt)).pipe((0,we.x)(()=>this.pendingTasks.remove(dt)))}static#e=this.\u0275fac=function(dt){return new(dt||Ee)(n.LFG(fe),n.LFG(n.lqb))};static#t=this.\u0275prov=n.Yz7({token:Ee,factory:Ee.\u0275fac})}return Ee})();const lt=/^\)\]\}',?\n/;let mt=(()=>{class Ee{constructor(Ve){this.xhrFactory=Ve}handle(Ve){if("JSONP"===Ve.method)throw new n.vHH(-2800,!1);const dt=this.xhrFactory;return(dt.\u0275loadImpl?(0,w.D)(dt.\u0275loadImpl()):(0,l.of)(null)).pipe((0,ie.w)(()=>new E.y(Ht=>{const Nt=dt.build();if(Nt.open(Ve.method,Ve.urlWithParams),Ve.withCredentials&&(Nt.withCredentials=!0),Ve.headers.forEach((Tn,Sn)=>Nt.setRequestHeader(Tn,Sn.join(","))),Ve.headers.has("Accept")||Nt.setRequestHeader("Accept","application/json, text/plain, */*"),!Ve.headers.has("Content-Type")){const Tn=Ve.detectContentTypeHeader();null!==Tn&&Nt.setRequestHeader("Content-Type",Tn)}if(Ve.responseType){const Tn=Ve.responseType.toLowerCase();Nt.responseType="json"!==Tn?Tn:"text"}const nn=Ve.serializeBody();let cn=null;const Ln=()=>{if(null!==cn)return cn;const Tn=Nt.statusText||"OK",Sn=new ce(Nt.getAllResponseHeaders()),Ci=function ht(Ee){return"responseURL"in Ee&&Ee.responseURL?Ee.responseURL:/^X-Request-URL:/m.test(Ee.getAllResponseHeaders())?Ee.getResponseHeader("X-Request-URL"):null}(Nt)||Ve.url;return cn=new sn({headers:Sn,status:Nt.status,statusText:Tn,url:Ci}),cn},jn=()=>{let{headers:Tn,status:Sn,statusText:Ci,url:Ei}=Ln(),Vn=null;204!==Sn&&(Vn=typeof Nt.response>"u"?Nt.responseText:Nt.response),0===Sn&&(Sn=Vn?200:0);let oi=Sn>=200&&Sn<300;if("json"===Ve.responseType&&"string"==typeof Vn){const Qe=Vn;Vn=Vn.replace(lt,"");try{Vn=""!==Vn?JSON.parse(Vn):null}catch(Dt){Vn=Qe,oi&&(oi=!1,Vn={error:Dt,text:Vn})}}oi?(Ht.next(new Xe({body:Vn,headers:Tn,status:Sn,statusText:Ci,url:Ei||void 0})),Ht.complete()):Ht.error(new At({error:Vn,headers:Tn,status:Sn,statusText:Ci,url:Ei||void 0}))},Xn=Tn=>{const{url:Sn}=Ln(),Ci=new At({error:Tn,status:Nt.status||0,statusText:Nt.statusText||"Unknown Error",url:Sn||void 0});Ht.error(Ci)};let zn=!1;const li=Tn=>{zn||(Ht.next(Ln()),zn=!0);let Sn={type:Ut.DownloadProgress,loaded:Tn.loaded};Tn.lengthComputable&&(Sn.total=Tn.total),"text"===Ve.responseType&&Nt.responseText&&(Sn.partialText=Nt.responseText),Ht.next(Sn)},gi=Tn=>{let Sn={type:Ut.UploadProgress,loaded:Tn.loaded};Tn.lengthComputable&&(Sn.total=Tn.total),Ht.next(Sn)};return Nt.addEventListener("load",jn),Nt.addEventListener("error",Xn),Nt.addEventListener("timeout",Xn),Nt.addEventListener("abort",Xn),Ve.reportProgress&&(Nt.addEventListener("progress",li),null!==nn&&Nt.upload&&Nt.upload.addEventListener("progress",gi)),Nt.send(nn),Ht.next({type:Ut.Sent}),()=>{Nt.removeEventListener("error",Xn),Nt.removeEventListener("abort",Xn),Nt.removeEventListener("load",jn),Nt.removeEventListener("timeout",Xn),Ve.reportProgress&&(Nt.removeEventListener("progress",li),null!==nn&&Nt.upload&&Nt.upload.removeEventListener("progress",gi)),Nt.readyState!==Nt.DONE&&Nt.abort()}})))}static#e=this.\u0275fac=function(dt){return new(dt||Ee)(n.LFG(J.JF))};static#t=this.\u0275prov=n.Yz7({token:Ee,factory:Ee.\u0275fac})}return Ee})();const Mt=new n.OlP("XSRF_ENABLED"),Wt=new n.OlP("XSRF_COOKIE_NAME",{providedIn:"root",factory:()=>"XSRF-TOKEN"}),$t=new n.OlP("XSRF_HEADER_NAME",{providedIn:"root",factory:()=>"X-XSRF-TOKEN"});class An{}let bn=(()=>{class Ee{constructor(Ve,dt,Rt){this.doc=Ve,this.platform=dt,this.cookieName=Rt,this.lastCookieString="",this.lastToken=null,this.parseCount=0}getToken(){if("server"===this.platform)return null;const Ve=this.doc.cookie||"";return Ve!==this.lastCookieString&&(this.parseCount++,this.lastToken=(0,J.Mx)(Ve,this.cookieName),this.lastCookieString=Ve),this.lastToken}static#e=this.\u0275fac=function(dt){return new(dt||Ee)(n.LFG(J.K0),n.LFG(n.Lbi),n.LFG(Wt))};static#t=this.\u0275prov=n.Yz7({token:Ee,factory:Ee.\u0275fac})}return Ee})();function pn(Ee,ge){const Ve=Ee.url.toLowerCase();if(!(0,n.f3M)(Mt)||"GET"===Ee.method||"HEAD"===Ee.method||Ve.startsWith("http://")||Ve.startsWith("https://"))return ge(Ee);const dt=(0,n.f3M)(An).getToken(),Rt=(0,n.f3M)($t);return null!=dt&&!Ee.headers.has(Rt)&&(Ee=Ee.clone({headers:Ee.headers.set(Rt,dt)})),ge(Ee)}function ut(...Ee){const ge=[P,mt,Oe,{provide:xe,useExisting:Oe},{provide:fe,useExisting:mt},{provide:Bt,useValue:pn,multi:!0},{provide:Mt,useValue:!0},{provide:An,useClass:bn}];for(const Ve of Ee)ge.push(...Ve.\u0275providers);return(0,n.MR2)(ge)}},5879:(_t,Me,p)=>{p.d(Me,{$8M:()=>ks,$WT:()=>_i,$Z:()=>Ym,AFp:()=>hm,ALo:()=>Ab,AaK:()=>fe,Akn:()=>mr,BQk:()=>Jd,CHM:()=>Du,CRH:()=>Yb,DdM:()=>yb,EJc:()=>Jw,EiD:()=>tm,EpF:()=>Vg,F$t:()=>$g,F4k:()=>Hg,FYo:()=>vm,FiY:()=>jr,Gf:()=>$b,GfV:()=>ym,GkF:()=>Df,Gpc:()=>Ae,Gre:()=>D_,HDt:()=>mv,Hsn:()=>Zg,Ikx:()=>Bf,JOm:()=>Ea,JVY:()=>l0,JZr:()=>oe,Jf7:()=>Rm,KtG:()=>Tu,L6k:()=>c0,LAX:()=>u0,LFG:()=>Pt,LSH:()=>Ih,Lbi:()=>Bh,Lck:()=>UE,MAs:()=>Ng,MMx:()=>hb,MR2:()=>Oh,NdJ:()=>Mf,O4$:()=>zc,Ojb:()=>B0,OlP:()=>ai,Oqu:()=>Lf,P3R:()=>im,Q6J:()=>Cf,QGY:()=>Tf,QbO:()=>L0,Qsj:()=>q0,R0b:()=>so,RDi:()=>Zr,RIp:()=>sm,Rgc:()=>_c,SBq:()=>Xl,Sil:()=>eD,Suo:()=>Zb,TTD:()=>Gn,TgZ:()=>Wd,Tol:()=>l_,Udp:()=>kf,VKq:()=>xb,VuI:()=>r1,W1O:()=>Jb,WFA:()=>Sf,WLB:()=>Cb,X6Q:()=>RD,XFs:()=>it,Xpm:()=>xi,Xq5:()=>yg,Xts:()=>Wl,Y36:()=>La,YKP:()=>db,YNc:()=>Pg,Yjl:()=>Ti,Yz7:()=>nt,Z0I:()=>Oe,ZZ4:()=>bp,_Bn:()=>cb,_UZ:()=>wf,_Vd:()=>Jl,_uU:()=>m_,aQg:()=>vp,c2e:()=>pv,cJS:()=>Je,cg1:()=>Hf,d8E:()=>Vf,dDg:()=>yD,dqk:()=>mt,eBb:()=>d0,eJc:()=>np,ekj:()=>Ff,eoX:()=>xv,f3M:()=>wt,g9A:()=>fm,gHi:()=>Fd,h0i:()=>Ys,hij:()=>eu,iGM:()=>Gb,iPO:()=>TD,ifc:()=>Ht,jDz:()=>fb,kEZ:()=>Eb,kL8:()=>F_,kcU:()=>Gc,ktI:()=>ql,l5B:()=>wb,lG2:()=>Si,lcZ:()=>Ob,lqb:()=>Ar,lri:()=>vv,mCW:()=>wd,n5z:()=>zo,n_E:()=>ru,oAB:()=>Mi,oxw:()=>Gg,pB0:()=>h0,q3G:()=>js,qLn:()=>gs,qOj:()=>pf,qZA:()=>Kd,qzn:()=>Aa,rWj:()=>yv,rg0:()=>Fe,s9C:()=>If,sBO:()=>PD,s_b:()=>lu,soG:()=>du,tb:()=>hp,tp0:()=>zr,uIk:()=>gf,vHH:()=>N,vpe:()=>Or,wAp:()=>Qa,xi3:()=>Rb,xp6:()=>$m,ynx:()=>Qd,z2F:()=>el,z3N:()=>Wr,zSh:()=>kh,zs3:()=>pr});var n=p(8645),l=p(7394),w=p(5592),E=p(3019),H=p(5619),Q=p(2096),ne=p(3020),we=p(4664),ie=p(3997);function J(e){for(let t in e)if(e[t]===J)return t;throw Error("Could not find renamed property on target object.")}function xe(e,t){for(const i in t)t.hasOwnProperty(i)&&!e.hasOwnProperty(i)&&(e[i]=t[i])}function fe(e){if("string"==typeof e)return e;if(Array.isArray(e))return"["+e.map(fe).join(", ")+"]";if(null==e)return""+e;if(e.overriddenName)return`${e.overriddenName}`;if(e.name)return`${e.name}`;const t=e.toString();if(null==t)return""+t;const i=t.indexOf("\n");return-1===i?t:t.substring(0,i)}function ce(e,t){return null==e||""===e?null===t?"":t:null==t||""===t?e:e+" "+t}const De=J({__forward_ref__:J});function Ae(e){return e.__forward_ref__=Ae,e.toString=function(){return fe(this())},e}function Le(e){return se(e)?e():e}function se(e){return"function"==typeof e&&e.hasOwnProperty(De)&&e.__forward_ref__===Ae}function ue(e){return e&&!!e.\u0275providers}const oe="https://g.co/ng/security#xss";class N extends Error{constructor(t,i){super(function Ce(e,t){return`NG0${Math.abs(e)}${t?": "+t:""}`}(t,i)),this.code=t}}function K(e){return"string"==typeof e?e:null==e?"":String(e)}function ct(e,t){throw new N(-201,!1)}function Pe(e,t){null==e&&function re(e,t,i,o){throw new Error(`ASSERTION ERROR: ${e}`+(null==o?"":` [Expected=> ${i} ${o} ${t} <=Actual]`))}(t,e,null,"!=")}function nt(e){return{token:e.token,providedIn:e.providedIn||null,factory:e.factory,value:void 0}}function Je(e){return{providers:e.providers||[],imports:e.imports||[]}}function bt(e){return rt(e,tn)||rt(e,Zt)}function Oe(e){return null!==bt(e)}function rt(e,t){return e.hasOwnProperty(t)?e[t]:null}function en(e){return e&&(e.hasOwnProperty(fn)||e.hasOwnProperty(Mn))?e[fn]:null}const tn=J({\u0275prov:J}),fn=J({\u0275inj:J}),Zt=J({ngInjectableDef:J}),Mn=J({ngInjectorDef:J});var it=function(e){return e[e.Default=0]="Default",e[e.Host=1]="Host",e[e.Self=2]="Self",e[e.SkipSelf=4]="SkipSelf",e[e.Optional=8]="Optional",e}(it||{});let $;function be(){return $}function Be(e){const t=$;return $=e,t}function lt(e,t,i){const o=bt(e);return o&&"root"==o.providedIn?void 0===o.value?o.value=o.factory():o.value:i&it.Optional?null:void 0!==t?t:void ct(fe(e))}const mt=globalThis,le={},G="__NG_DI_FLAG__",Ie="ngTempTokenPath",St=/\n/gm,ee="__source";let S;function Ne(e){const t=S;return S=e,t}function yt(e,t=it.Default){if(void 0===S)throw new N(-203,!1);return null===S?lt(e,void 0,t):S.get(e,t&it.Optional?null:void 0,t)}function Pt(e,t=it.Default){return(be()||yt)(Le(e),t)}function wt(e,t=it.Default){return Pt(e,de(t))}function de(e){return typeof e>"u"||"number"==typeof e?e:0|(e.optional&&8)|(e.host&&1)|(e.self&&2)|(e.skipSelf&&4)}function ke(e){const t=[];for(let i=0;it){f=c-1;break}}}for(;cc?"":r[Te+1].toLowerCase();const ot=8&o?We:null;if(ot&&-1!==Tn(ot,I,0)||2&o&&I!==We){if(q(o))return!1;f=!0}}}}else{if(!f&&!q(o)&&!q(v))return!1;if(f&&q(v))continue;f=!1,o=v|1&o}}return q(o)||f}function q(e){return 0==(1&e)}function x(e,t,i,o){if(null===t)return-1;let r=0;if(o||!i){let c=!1;for(;r-1)for(i++;i0?'="'+g+'"':"")+"]"}else 8&o?r+="."+f:4&o&&(r+=" "+f);else""!==r&&!q(f)&&(t+=Yt(c,r),r=""),o=f,c=c||!q(o);i++}return""!==r&&(t+=Yt(c,r)),t}function xi(e){return dt(()=>{const t=Qi(e),i={...t,decls:e.decls,vars:e.vars,template:e.template,consts:e.consts||null,ngContentSelectors:e.ngContentSelectors,onPush:e.changeDetection===Rt.OnPush,directiveDefs:null,pipeDefs:null,dependencies:t.standalone&&e.dependencies||null,getStandaloneInjector:null,signals:e.signals??!1,data:e.data||{},encapsulation:e.encapsulation||Ht.Emulated,styles:e.styles||nn,_:null,schemas:e.schemas||null,tView:null,id:""};yo(i);const o=e.dependencies;return i.directiveDefs=Gi(o,!1),i.pipeDefs=Gi(o,!0),i.id=function b(e){let t=0;const i=[e.selectors,e.ngContentSelectors,e.hostVars,e.hostAttrs,e.consts,e.vars,e.decls,e.encapsulation,e.standalone,e.signals,e.exportAs,JSON.stringify(e.inputs),JSON.stringify(e.outputs),Object.getOwnPropertyNames(e.type.prototype),!!e.contentQueries,!!e.viewQuery].join("|");for(const r of i)t=Math.imul(31,t)+r.charCodeAt(0)<<0;return t+=2147483648,"c"+t}(i),i})}function fi(e){return En(e)||ei(e)}function zi(e){return null!==e}function Mi(e){return dt(()=>({type:e.type,bootstrap:e.bootstrap||nn,declarations:e.declarations||nn,imports:e.imports||nn,exports:e.exports||nn,transitiveCompileScopes:null,schemas:e.schemas||null,id:e.id||null}))}function qn(e,t){if(null==e)return Nt;const i={};for(const o in e)if(e.hasOwnProperty(o)){let r=e[o],c=r;Array.isArray(r)&&(c=r[1],r=r[0]),i[r]=o,t&&(t[r]=c)}return i}function Si(e){return dt(()=>{const t=Qi(e);return yo(t),t})}function Ti(e){return{type:e.type,name:e.name,factory:null,pure:!1!==e.pure,standalone:!0===e.standalone,onDestroy:e.type.prototype.ngOnDestroy||null}}function En(e){return e[cn]||null}function ei(e){return e[Ln]||null}function di(e){return e[jn]||null}function _i(e){const t=En(e)||ei(e)||di(e);return null!==t&&t.standalone}function ri(e,t){const i=e[Xn]||null;if(!i&&!0===t)throw new Error(`Type ${fe(e)} does not have '\u0275mod' property.`);return i}function Qi(e){const t={};return{type:e.type,providersResolver:null,factory:null,hostBindings:e.hostBindings||null,hostVars:e.hostVars||0,hostAttrs:e.hostAttrs||null,contentQueries:e.contentQueries||null,declaredInputs:t,inputTransforms:null,inputConfig:e.inputs||Nt,exportAs:e.exportAs||null,standalone:!0===e.standalone,signals:!0===e.signals,selectors:e.selectors||nn,viewQuery:e.viewQuery||null,features:e.features||null,setInput:null,findHostDirectiveDefs:null,hostDirectives:null,inputs:qn(e.inputs,t),outputs:qn(e.outputs)}}function yo(e){e.features?.forEach(t=>t(e))}function Gi(e,t){if(!e)return null;const i=t?di:fi;return()=>("function"==typeof e?e():e).map(o=>i(o)).filter(zi)}const z=0,h=1,M=2,T=3,Re=4,Ge=5,Gt=6,wn=7,rn=8,$n=9,ti=10,Vt=11,Un=12,br=13,xo=14,_n=15,Bi=16,To=17,$i=18,Mo=19,Lo=20,ao=21,fo=22,Bo=23,tt=24,kt=25,Xt=1,Kn=2,Qn=7,Yn=9,ui=11;function Ii(e){return Array.isArray(e)&&"object"==typeof e[Xt]}function Ai(e){return Array.isArray(e)&&!0===e[Xt]}function So(e){return 0!=(4&e.flags)}function lo(e){return e.componentOffset>-1}function nr(e){return 1==(1&e.flags)}function ki(e){return!!e.template}function Vi(e){return 0!=(512&e[M])}function or(e,t){return e.hasOwnProperty(zn)?e[zn]:null}let Zi=null,Cr=!1;function no(e){const t=Zi;return Zi=e,t}const Yo={version: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:()=>{}};function ol(e){if(!ns(e)||e.dirty){if(!e.producerMustRecompute(e)&&!na(e))return void(e.dirty=!1);e.producerRecomputeValue(e),e.dirty=!1}}function vs(e){e.dirty=!0,function ea(e){if(void 0===e.liveConsumerNode)return;const t=Cr;Cr=!0;try{for(const i of e.liveConsumerNode)i.dirty||vs(i)}finally{Cr=t}}(e),e.consumerMarkedDirty?.(e)}function ta(e){return e&&(e.nextProducerIndex=0),no(e)}function ts(e,t){if(no(t),e&&void 0!==e.producerNode&&void 0!==e.producerIndexOfThis&&void 0!==e.producerLastReadVersion){if(ns(e))for(let i=e.nextProducerIndex;ie.nextProducerIndex;)e.producerNode.pop(),e.producerLastReadVersion.pop(),e.producerIndexOfThis.pop()}}function na(e){Ho(e);for(let t=0;t0}function Ho(e){e.producerNode??=[],e.producerIndexOfThis??=[],e.producerLastReadVersion??=[]}let Tc=null;function Fe(e){const t=no(null);try{return e()}finally{no(t)}}const Ot=()=>{},an=(()=>({...Yo,consumerIsAlwaysLive:!0,consumerAllowSignalWrites:!1,consumerMarkedDirty:e=>{e.schedule(e.ref)},hasRun:!1,cleanupFn:Ot}))();class ii{constructor(t,i,o){this.previousValue=t,this.currentValue=i,this.firstChange=o}isFirstChange(){return this.firstChange}}function Gn(){return Pn}function Pn(e){return e.type.prototype.ngOnChanges&&(e.setInput=hi),Oi}function Oi(){const e=Co(this),t=e?.current;if(t){const i=e.previous;if(i===Nt)e.previous=t;else for(let o in t)i[o]=t[o];e.current=null,this.ngOnChanges(t)}}function hi(e,t,i,o){const r=this.declaredInputs[i],c=Co(e)||function Uo(e,t){return e[Fi]=t}(e,{previous:Nt,current:null}),f=c.current||(c.current={}),g=c.previous,v=g[r];f[r]=new ii(v&&v.currentValue,t,g===Nt),e[o]=t}Gn.ngInherit=!0;const Fi="__ngSimpleChanges__";function Co(e){return e[Fi]||null}const Hi=function(e,t,i){},Ko="svg";function vi(e){for(;Array.isArray(e);)e=e[z];return e}function po(e,t){return vi(t[e])}function mo(e,t){return vi(t[e.index])}function Cs(e,t){return e.data[t]}function Lr(e,t){return e[t]}function Eo(e,t){const i=t[e];return Ii(i)?i:i[z]}function Er(e,t){return null==t?null:e[t]}function oa(e){e[To]=0}function Sc(e){1024&e[M]||(e[M]|=1024,ul(e,1))}function Ic(e){1024&e[M]&&(e[M]&=-1025,ul(e,-1))}function ul(e,t){let i=e[T];if(null===i)return;i[Ge]+=t;let o=i;for(i=i[T];null!==i&&(1===t&&1===o[Ge]||-1===t&&0===o[Ge]);)i[Ge]+=t,o=i,i=i[T]}function Qo(e,t){if(256==(256&e[M]))throw new N(911,!1);null===e[ao]&&(e[ao]=[]),e[ao].push(t)}const In={lFrame:Vc(null),bindingsEnabled:!0,skipHydrationRootTNode:null};function Rc(){return In.bindingsEnabled}function os(){return null!==In.skipHydrationRootTNode}function Lt(){return In.lFrame.lView}function Jn(){return In.lFrame.tView}function Du(e){return In.lFrame.contextLView=e,e[rn]}function Tu(e){return In.lFrame.contextLView=null,e}function io(){let e=Mu();for(;null!==e&&64===e.type;)e=e.parent;return e}function Mu(){return In.lFrame.currentTNode}function sr(e,t){const i=In.lFrame;i.currentTNode=e,i.isParent=t}function kc(){return In.lFrame.isParent}function Fc(){In.lFrame.isParent=!1}function go(){const e=In.lFrame;let t=e.bindingRootIndex;return-1===t&&(t=e.bindingRootIndex=e.tView.bindingStartIndex),t}function Es(){return In.lFrame.bindingIndex++}function Dr(e){const t=In.lFrame,i=t.bindingIndex;return t.bindingIndex=t.bindingIndex+e,i}function yi(e,t){const i=In.lFrame;i.bindingIndex=i.bindingRootIndex=e,sa(t)}function sa(e){In.lFrame.currentDirectiveIndex=e}function pl(e){const t=In.lFrame.currentDirectiveIndex;return-1===t?null:e[t]}function Nc(){return In.lFrame.currentQueryIndex}function ml(e){In.lFrame.currentQueryIndex=e}function Au(e){const t=e[h];return 2===t.type?t.declTNode:1===t.type?e[Gt]:null}function Lc(e,t,i){if(i&it.SkipSelf){let r=t,c=e;for(;!(r=r.parent,null!==r||i&it.Host||(r=Au(c),null===r||(c=c[xo],10&r.type))););if(null===r)return!1;t=r,e=c}const o=In.lFrame=Bc();return o.currentTNode=t,o.lView=e,!0}function gl(e){const t=Bc(),i=e[h];In.lFrame=t,t.currentTNode=i.firstChild,t.lView=e,t.tView=i,t.contextLView=e,t.bindingIndex=i.bindingStartIndex,t.inI18n=!1}function Bc(){const e=In.lFrame,t=null===e?null:e.child;return null===t?Vc(e):t}function Vc(e){const t={currentTNode:null,isParent:!0,lView:null,tView:null,selectedIndex:-1,contextLView:null,elementDepthCount:0,currentNamespace:null,currentDirectiveIndex:-1,bindingRootIndex:-1,bindingIndex:-1,currentQueryIndex:0,parent:e,child:null,inI18n:!1};return null!==e&&(e.child=t),t}function Hc(){const e=In.lFrame;return In.lFrame=e.parent,e.currentTNode=null,e.lView=null,e}const Uc=Hc;function jc(){const e=Hc();e.isParent=!0,e.tView=null,e.selectedIndex=-1,e.contextLView=null,e.elementDepthCount=0,e.currentDirectiveIndex=-1,e.currentNamespace=null,e.bindingRootIndex=-1,e.bindingIndex=-1,e.currentQueryIndex=0}function co(){return In.lFrame.selectedIndex}function Br(e){In.lFrame.selectedIndex=e}function Ri(){const e=In.lFrame;return Cs(e.tView,e.selectedIndex)}function zc(){In.lFrame.currentNamespace=Ko}function Gc(){!function ku(){In.lFrame.currentNamespace=null}()}let Zc=!0;function aa(){return Zc}function Tr(e){Zc=e}function la(e,t){for(let i=t.directiveStart,o=t.directiveEnd;i=o)break}else t[v]<0&&(e[To]+=65536),(g>13>16&&(3&e[M])===t&&(e[M]+=8192,Wc(g,c)):Wc(g,c)}const rs=-1;class ua{constructor(t,i,o){this.factory=t,this.resolving=!1,this.canSeeViewProviders=i,this.injectImpl=o}}function ha(e){return e!==rs}function ws(e){return 32767&e}function Ds(e,t){let i=function yl(e){return e>>16}(e),o=t;for(;i>0;)o=o[xo],i--;return o}let ar=!0;function Ts(e){const t=ar;return ar=e,t}const Vu=255,Qc=5;let Jc=0;const jo={};function Ms(e,t){const i=Xc(e,t);if(-1!==i)return i;const o=t[h];o.firstCreatePass&&(e.injectorIndex=t.length,Ss(o.data,e),Ss(t,null),Ss(o.blueprint,null));const r=Is(e,t),c=e.injectorIndex;if(ha(r)){const f=ws(r),g=Ds(r,t),v=g[h].data;for(let I=0;I<8;I++)t[c+I]=g[f+I]|v[f+I]}return t[c+8]=r,c}function Ss(e,t){e.push(0,0,0,0,0,0,0,0,t)}function Xc(e,t){return-1===e.injectorIndex||e.parent&&e.parent.injectorIndex===e.injectorIndex||null===t[e.injectorIndex+8]?-1:e.injectorIndex}function Is(e,t){if(e.parent&&-1!==e.parent.injectorIndex)return e.parent.injectorIndex;let i=0,o=null,r=t;for(;null!==r;){if(o=ed(r),null===o)return rs;if(i++,r=r[xo],-1!==o.injectorIndex)return o.injectorIndex|i<<16}return rs}function xl(e,t,i){!function kp(e,t,i){let o;"string"==typeof i?o=i.charCodeAt(0)||0:i.hasOwnProperty(li)&&(o=i[li]),null==o&&(o=i[li]=Jc++);const r=o&Vu;t.data[e+(r>>Qc)]|=1<=0?t&Vu:Mr:t}(i);if("function"==typeof c){if(!Lc(t,e,o))return o&it.Host?As(r,0,o):Os(t,i,o,r);try{let f;if(f=c(o),null!=f||o&it.Optional)return f;ct()}finally{Uc()}}else if("number"==typeof c){let f=null,g=Xc(e,t),v=rs,I=o&it.Host?t[_n][Gt]:null;for((-1===g||o&it.SkipSelf)&&(v=-1===g?Is(e,t):t[g+8],v!==rs&&ss(o,!1)?(f=t[h],g=ws(v),t=Ds(v,t)):g=-1);-1!==g;){const j=t[h];if(qc(c,g,j.data)){const Te=wl(g,t,i,f,o,I);if(Te!==jo)return Te}v=t[g+8],v!==rs&&ss(o,t[h].data[g+8]===I)&&qc(c,g,t)?(f=j,g=ws(v),t=Ds(v,t)):g=-1}}return r}function wl(e,t,i,o,r,c){const f=t[h],g=f.data[e+8],j=Ao(g,f,i,null==o?lo(g)&&ar:o!=f&&0!=(3&g.type),r&it.Host&&c===g);return null!==j?lr(t,f,j,g):jo}function Ao(e,t,i,o,r){const c=e.providerIndexes,f=t.data,g=1048575&c,v=e.directiveStart,j=c>>20,We=r?g+j:e.directiveEnd;for(let ot=o?g:g+j;ot=v&&Ct.type===i)return ot}if(r){const ot=f[v];if(ot&&ki(ot)&&ot.type===i)return v}return null}function lr(e,t,i,o){let r=e[i];const c=t.data;if(function Lu(e){return e instanceof ua}(r)){const f=r;f.resolving&&function ye(e,t){const i=t?`. Dependency path: ${t.join(" > ")} > ${e}`:"";throw new N(-200,`Circular dependency in DI detected for ${e}${i}`)}(function ve(e){return"function"==typeof e?e.name||e.toString():"object"==typeof e&&null!=e&&"function"==typeof e.type?e.type.name||e.type.toString():K(e)}(c[i]));const g=Ts(f.canSeeViewProviders);f.resolving=!0;const I=f.injectImpl?Be(f.injectImpl):null;Lc(e,o,it.Default);try{r=e[i]=f.factory(void 0,c,e,o),t.firstCreatePass&&i>=o.directiveStart&&function Fu(e,t,i){const{ngOnChanges:o,ngOnInit:r,ngDoCheck:c}=t.type.prototype;if(o){const f=Pn(t);(i.preOrderHooks??=[]).push(e,f),(i.preOrderCheckHooks??=[]).push(e,f)}r&&(i.preOrderHooks??=[]).push(0-e,r),c&&((i.preOrderHooks??=[]).push(e,c),(i.preOrderCheckHooks??=[]).push(e,c))}(i,c[i],t)}finally{null!==I&&Be(I),Ts(g),f.resolving=!1,Uc()}}return r}function qc(e,t,i){return!!(i[t+(e>>Qc)]&1<{const t=e.prototype.constructor,i=t[zn]||cr(t),o=Object.prototype;let r=Object.getPrototypeOf(e.prototype).constructor;for(;r&&r!==o;){const c=r[zn]||cr(r);if(c&&c!==i)return c;r=Object.getPrototypeOf(r)}return c=>new c})}function cr(e){return se(e)?()=>{const t=cr(Le(e));return t&&t()}:or(e)}function ed(e){const t=e[h],i=t.type;return 2===i?t.declTNode:1===i?e[Gt]:null}function ks(e){return function Cl(e,t){if("class"===t)return e.classes;if("style"===t)return e.styles;const i=e.attrs;if(i){const o=i.length;let r=0;for(;r{const o=function Fs(e){return function(...i){if(e){const o=e(...i);for(const r in o)this[r]=o[r]}}}(t);function r(...c){if(this instanceof r)return o.apply(this,c),this;const f=new r(...c);return g.annotation=f,g;function g(v,I,j){const Te=v.hasOwnProperty(Xo)?v[Xo]:Object.defineProperty(v,Xo,{value:[]})[Xo];for(;Te.length<=j;)Te.push(null);return(Te[j]=Te[j]||[]).push(f),v}}return i&&(r.prototype=Object.create(i.prototype)),r.prototype.ngMetadataName=e,r.annotationCls=r,r})}function Hr(e,t){e.forEach(i=>Array.isArray(i)?Hr(i,t):t(i))}function Dl(e,t,i){t>=e.length?e.push(i):e.splice(t,0,i)}function ga(e,t){return t>=e.length-1?e.pop():e.splice(t,1)[0]}function Ur(e,t){const i=[];for(let o=0;o=0?e[1|o]=i:(o=~o,function Gu(e,t,i,o){let r=e.length;if(r==t)e.push(i,o);else if(1===r)e.push(o,e[0]),e[0]=i;else{for(r--,e.push(e[r-1],e[r]);r>t;)e[r]=e[r-2],r--;e[t]=i,e[t+1]=o}}(e,o,t,i)),o}function Tl(e,t){const i=ls(e,t);if(i>=0)return e[1|i]}function ls(e,t){return function _a(e,t,i){let o=0,r=e.length>>i;for(;r!==o;){const c=o+(r-o>>1),f=e[c<t?r=c:o=c+1}return~(r<|^->||--!>|)/g,uh="\u200b$1\u200b";const ps=new Map;let hh=0;const wa="__ngContext__";function ji(e,t){Ii(t)?(e[wa]=t[Mo],function Hl(e){ps.set(e[Mo],e)}(t)):e[wa]=t}let zl;function vd(e,t){return zl(e,t)}function Da(e){const t=e[T];return Ai(t)?t[T]:t}function yd(e){return Ta(e[Un])}function xd(e){return Ta(e[Re])}function Ta(e){for(;null!==e&&!Ai(e);)e=e[Re];return e}function Sr(e,t,i,o,r){if(null!=o){let c,f=!1;Ai(o)?c=o:Ii(o)&&(f=!0,o=o[z]);const g=vi(o);0===e&&null!==i?null==r?Tt(t,i,g):Ye(t,i,g,r||null,!0):1===e&&null!==i?Ye(t,i,g,r||null,!0):2===e?function Ro(e,t,i){const o=dn(e,t);o&&function on(e,t,i,o){e.removeChild(t,i,o)}(e,o,t,i)}(t,g,f):3===e&&t.destroyNode(g),null!=c&&function Ed(e,t,i,o,r){const c=i[Qn];c!==vi(i)&&Sr(t,e,o,c,r);for(let g=ui;gt.replace(dd,uh))}(t))}function Sa(e,t,i){return e.createElement(t,i)}function a(e,t){const i=e[Yn],o=i.indexOf(t);Ic(t),i.splice(o,1)}function s(e,t){if(e.length<=ui)return;const i=ui+t,o=e[i];if(o){const r=o[Bi];null!==r&&r!==e&&a(r,o),t>0&&(e[i-1][Re]=o[Re]);const c=ga(e,ui+t);!function xh(e,t){fr(e,t,t[Vt],2,null,null),t[z]=null,t[Gt]=null}(o[h],o);const f=c[$i];null!==f&&f.detachView(c[h]),o[T]=null,o[Re]=null,o[M]&=-129}return o}function d(e,t){if(!(256&t[M])){const i=t[Vt];t[Bo]&&rl(t[Bo]),t[tt]&&rl(t[tt]),i.destroyNode&&fr(e,t,i,3,null,null),function Ch(e){let t=e[Un];if(!t)return m(e[h],e);for(;t;){let i=null;if(Ii(t))i=t[Un];else{const o=t[ui];o&&(i=o)}if(!i){for(;t&&!t[Re]&&t!==e;)Ii(t)&&m(t[h],t),t=t[T];null===t&&(t=e),Ii(t)&&m(t[h],t),i=t&&t[Re]}t=i}}(t)}}function m(e,t){if(!(256&t[M])){t[M]&=-129,t[M]|=256,function R(e,t){let i;if(null!=e&&null!=(i=e.destroyHooks))for(let o=0;o=0?o[f]():o[-f].unsubscribe(),c+=2}else i[c].call(o[i[c+1]]);null!==o&&(t[wn]=null);const r=t[ao];if(null!==r){t[ao]=null;for(let c=0;c-1){const{encapsulation:c}=e.data[o.directiveStart+r];if(c===Ht.None||c===Ht.Emulated)return null}return mo(o,i)}}(e,t.parent,i)}function Ye(e,t,i,o,r){e.insertBefore(t,i,o,r)}function Tt(e,t,i){e.appendChild(t,i)}function zt(e,t,i,o,r){null!==o?Ye(e,t,i,o,r):Tt(e,t,i)}function dn(e,t){return e.parentNode(t)}function si(e,t,i){return Ni(e,t,i)}let qi,Li,Ki,Yr,Ni=function pi(e,t,i){return 40&e.type?mo(e,i):null};function hr(e,t,i,o){const r=X(e,o,t),c=t[Vt],g=si(o.parent||t[Gt],o,t);if(null!=r)if(Array.isArray(i))for(let v=0;ve,createScript:e=>e,createScriptURL:e=>e})}catch{}return Li}()?.createHTML(e)||e}function Zr(e){Ki=e}function Wp(e){return function Hs(){if(void 0===Yr&&(Yr=null,mt.trustedTypes))try{Yr=mt.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch{}return Yr}()?.createScriptURL(e)||e}class Us{constructor(t){this.changingThisBreaksApplicationSecurity=t}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see ${oe})`}}class t0 extends Us{getTypeName(){return"HTML"}}class n0 extends Us{getTypeName(){return"Style"}}class o0 extends Us{getTypeName(){return"Script"}}class r0 extends Us{getTypeName(){return"URL"}}class s0 extends Us{getTypeName(){return"ResourceURL"}}function Wr(e){return e instanceof Us?e.changingThisBreaksApplicationSecurity:e}function Aa(e,t){const i=function a0(e){return e instanceof Us&&e.getTypeName()||null}(e);if(null!=i&&i!==t){if("ResourceURL"===i&&"URL"===t)return!0;throw new Error(`Required a safe ${t}, got a ${i} (see ${oe})`)}return i===t}function l0(e){return new t0(e)}function c0(e){return new n0(e)}function d0(e){return new o0(e)}function u0(e){return new r0(e)}function h0(e){return new s0(e)}class f0{constructor(t){this.inertDocumentHelper=t}getInertBodyElement(t){t=""+t;try{const i=(new window.DOMParser).parseFromString(Wi(t),"text/html").body;return null===i?this.inertDocumentHelper.getInertBodyElement(t):(i.removeChild(i.firstChild),i)}catch{return null}}}class p0{constructor(t){this.defaultDoc=t,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert")}getInertBodyElement(t){const i=this.inertDocument.createElement("template");return i.innerHTML=Wi(t),i}}const g0=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:\/?#]*(?:[\/?#]|$))/i;function wd(e){return(e=String(e)).match(g0)?e:"unsafe:"+e}function Kr(e){const t={};for(const i of e.split(","))t[i]=!0;return t}function Zl(...e){const t={};for(const i of e)for(const o in i)i.hasOwnProperty(o)&&(t[o]=!0);return t}const Qp=Kr("area,br,col,hr,img,wbr"),Jp=Kr("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),Xp=Kr("rp,rt"),Th=Zl(Qp,Zl(Jp,Kr("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")),Zl(Xp,Kr("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")),Zl(Xp,Jp)),Mh=Kr("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),qp=Zl(Mh,Kr("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"),Kr("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")),_0=Kr("script,style,template");class b0{constructor(){this.sanitizedSomething=!1,this.buf=[]}sanitizeChildren(t){let i=t.firstChild,o=!0;for(;i;)if(i.nodeType===Node.ELEMENT_NODE?o=this.startElement(i):i.nodeType===Node.TEXT_NODE?this.chars(i.nodeValue):this.sanitizedSomething=!0,o&&i.firstChild)i=i.firstChild;else for(;i;){i.nodeType===Node.ELEMENT_NODE&&this.endElement(i);let r=this.checkClobberedElement(i,i.nextSibling);if(r){i=r;break}i=this.checkClobberedElement(i,i.parentNode)}return this.buf.join("")}startElement(t){const i=t.nodeName.toLowerCase();if(!Th.hasOwnProperty(i))return this.sanitizedSomething=!0,!_0.hasOwnProperty(i);this.buf.push("<"),this.buf.push(i);const o=t.attributes;for(let r=0;r"),!0}endElement(t){const i=t.nodeName.toLowerCase();Th.hasOwnProperty(i)&&!Qp.hasOwnProperty(i)&&(this.buf.push(""))}chars(t){this.buf.push(em(t))}checkClobberedElement(t,i){if(i&&(t.compareDocumentPosition(i)&Node.DOCUMENT_POSITION_CONTAINED_BY)===Node.DOCUMENT_POSITION_CONTAINED_BY)throw new Error(`Failed to sanitize html because the element is clobbered: ${t.outerHTML}`);return i}}const v0=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,y0=/([^\#-~ |!])/g;function em(e){return e.replace(/&/g,"&").replace(v0,function(t){return"&#"+(1024*(t.charCodeAt(0)-55296)+(t.charCodeAt(1)-56320)+65536)+";"}).replace(y0,function(t){return"&#"+t.charCodeAt(0)+";"}).replace(//g,">")}let Dd;function tm(e,t){let i=null;try{Dd=Dd||function Kp(e){const t=new p0(e);return function m0(){try{return!!(new window.DOMParser).parseFromString(Wi(""),"text/html")}catch{return!1}}()?new f0(t):t}(e);let o=t?String(t):"";i=Dd.getInertBodyElement(o);let r=5,c=o;do{if(0===r)throw new Error("Failed to sanitize html because the input is unstable");r--,o=c,c=i.innerHTML,i=Dd.getInertBodyElement(o)}while(o!==c);return Wi((new b0).sanitizeChildren(Sh(i)||i))}finally{if(i){const o=Sh(i)||i;for(;o.firstChild;)o.removeChild(o.firstChild)}}}function Sh(e){return"content"in e&&function x0(e){return e.nodeType===Node.ELEMENT_NODE&&"TEMPLATE"===e.nodeName}(e)?e.content:null}var js=function(e){return e[e.NONE=0]="NONE",e[e.HTML=1]="HTML",e[e.STYLE=2]="STYLE",e[e.SCRIPT=3]="SCRIPT",e[e.URL=4]="URL",e[e.RESOURCE_URL=5]="RESOURCE_URL",e}(js||{});function Ih(e){const t=Yl();return t?t.sanitize(js.URL,e)||"":Aa(e,"URL")?Wr(e):wd(K(e))}function nm(e){const t=Yl();if(t)return Wp(t.sanitize(js.RESOURCE_URL,e)||"");if(Aa(e,"ResourceURL"))return Wp(Wr(e));throw new N(904,!1)}function im(e,t,i){return function M0(e,t){return"src"===t&&("embed"===e||"frame"===e||"iframe"===e||"media"===e||"script"===e)||"href"===t&&("base"===e||"link"===e)?nm:Ih}(t,i)(e)}function Yl(){const e=Lt();return e&&e[ti].sanitizer}class ai{constructor(t,i){this._desc=t,this.ngMetadataName="InjectionToken",this.\u0275prov=void 0,"number"==typeof i?this.__NG_ELEMENT_ID__=i:void 0!==i&&(this.\u0275prov=nt({token:this,providedIn:i.providedIn||"root",factory:i.factory}))}get multi(){return this}toString(){return`InjectionToken ${this._desc}`}}const Wl=new ai("ENVIRONMENT_INITIALIZER"),om=new ai("INJECTOR",-1),rm=new ai("INJECTOR_DEF_TYPES");class Ah{get(t,i=le){if(i===le){const o=new Error(`NullInjectorError: No provider for ${fe(t)}!`);throw o.name="NullInjectorError",o}return i}}function Oh(e){return{\u0275providers:e}}function sm(...e){return{\u0275providers:am(0,e),\u0275fromNgModule:!0}}function am(e,...t){const i=[],o=new Set;let r;const c=f=>{i.push(f)};return Hr(t,f=>{const g=f;Td(g,c,[],o)&&(r||=[],r.push(g))}),void 0!==r&&lm(r,c),i}function lm(e,t){for(let i=0;i{t(c,o)})}}function Td(e,t,i,o){if(!(e=Le(e)))return!1;let r=null,c=en(e);const f=!c&&En(e);if(c||f){if(f&&!f.standalone)return!1;r=e}else{const v=e.ngModule;if(c=en(v),!c)return!1;r=v}const g=o.has(r);if(f){if(g)return!1;if(o.add(r),f.dependencies){const v="function"==typeof f.dependencies?f.dependencies():f.dependencies;for(const I of v)Td(I,t,i,o)}}else{if(!c)return!1;{if(null!=c.imports&&!g){let I;o.add(r);try{Hr(c.imports,j=>{Td(j,t,i,o)&&(I||=[],I.push(j))})}finally{}void 0!==I&&lm(I,t)}if(!g){const I=or(r)||(()=>new r);t({provide:r,useFactory:I,deps:nn},r),t({provide:rm,useValue:r,multi:!0},r),t({provide:Wl,useValue:()=>Pt(r),multi:!0},r)}const v=c.providers;if(null!=v&&!g){const I=e;Rh(v,j=>{t(j,I)})}}}return r!==e&&void 0!==e.providers}function Rh(e,t){for(let i of e)ue(i)&&(i=i.\u0275providers),Array.isArray(i)?Rh(i,t):t(i)}const S0=J({provide:String,useValue:J});function Ph(e){return null!==e&&"object"==typeof e&&S0 in e}function zs(e){return"function"==typeof e}const kh=new ai("Set Injector scope."),Md={},A0={};let Fh;function Sd(){return void 0===Fh&&(Fh=new Ah),Fh}class Ar{}class Id extends Ar{get destroyed(){return this._destroyed}constructor(t,i,o,r){super(),this.parent=i,this.source=o,this.scopes=r,this.records=new Map,this._ngOnDestroyHooks=new Set,this._onDestroyHooks=[],this._destroyed=!1,Lh(t,f=>this.processProvider(f)),this.records.set(om,Oa(void 0,this)),r.has("environment")&&this.records.set(Ar,Oa(void 0,this));const c=this.records.get(kh);null!=c&&"string"==typeof c.value&&this.scopes.add(c.value),this.injectorDefTypes=new Set(this.get(rm.multi,nn,it.Self))}destroy(){this.assertNotDestroyed(),this._destroyed=!0;try{for(const i of this._ngOnDestroyHooks)i.ngOnDestroy();const t=this._onDestroyHooks;this._onDestroyHooks=[];for(const i of t)i()}finally{this.records.clear(),this._ngOnDestroyHooks.clear(),this.injectorDefTypes.clear()}}onDestroy(t){return this.assertNotDestroyed(),this._onDestroyHooks.push(t),()=>this.removeOnDestroy(t)}runInContext(t){this.assertNotDestroyed();const i=Ne(this),o=Be(void 0);try{return t()}finally{Ne(i),Be(o)}}get(t,i=le,o=it.Default){if(this.assertNotDestroyed(),t.hasOwnProperty(gi))return t[gi](this);o=de(o);const c=Ne(this),f=Be(void 0);try{if(!(o&it.SkipSelf)){let v=this.records.get(t);if(void 0===v){const I=function F0(e){return"function"==typeof e||"object"==typeof e&&e instanceof ai}(t)&&bt(t);v=I&&this.injectableDefInScope(I)?Oa(Nh(t),Md):null,this.records.set(t,v)}if(null!=v)return this.hydrate(t,v)}return(o&it.Self?Sd():this.parent).get(t,i=o&it.Optional&&i===le?null:i)}catch(g){if("NullInjectorError"===g.name){if((g[Ie]=g[Ie]||[]).unshift(fe(t)),c)throw g;return function ge(e,t,i,o){const r=e[Ie];throw t[ee]&&r.unshift(t[ee]),e.message=function Ve(e,t,i,o=null){e=e&&"\n"===e.charAt(0)&&"\u0275"==e.charAt(1)?e.slice(2):e;let r=fe(t);if(Array.isArray(t))r=t.map(fe).join(" -> ");else if("object"==typeof t){let c=[];for(let f in t)if(t.hasOwnProperty(f)){let g=t[f];c.push(f+":"+("string"==typeof g?JSON.stringify(g):fe(g)))}r=`{${c.join(", ")}}`}return`${i}${o?"("+o+")":""}[${r}]: ${e.replace(St,"\n ")}`}("\n"+e.message,r,i,o),e.ngTokenPath=r,e[Ie]=null,e}(g,t,"R3InjectorError",this.source)}throw g}finally{Be(f),Ne(c)}}resolveInjectorInitializers(){const t=Ne(this),i=Be(void 0);try{const r=this.get(Wl.multi,nn,it.Self);for(const c of r)c()}finally{Ne(t),Be(i)}}toString(){const t=[],i=this.records;for(const o of i.keys())t.push(fe(o));return`R3Injector[${t.join(", ")}]`}assertNotDestroyed(){if(this._destroyed)throw new N(205,!1)}processProvider(t){let i=zs(t=Le(t))?t:Le(t&&t.provide);const o=function R0(e){return Ph(e)?Oa(void 0,e.useValue):Oa(um(e),Md)}(t);if(zs(t)||!0!==t.multi)this.records.get(i);else{let r=this.records.get(i);r||(r=Oa(void 0,Md,!0),r.factory=()=>ke(r.multi),this.records.set(i,r)),i=t,r.multi.push(t)}this.records.set(i,o)}hydrate(t,i){return i.value===Md&&(i.value=A0,i.value=i.factory()),"object"==typeof i.value&&i.value&&function k0(e){return null!==e&&"object"==typeof e&&"function"==typeof e.ngOnDestroy}(i.value)&&this._ngOnDestroyHooks.add(i.value),i.value}injectableDefInScope(t){if(!t.providedIn)return!1;const i=Le(t.providedIn);return"string"==typeof i?"any"===i||this.scopes.has(i):this.injectorDefTypes.has(i)}removeOnDestroy(t){const i=this._onDestroyHooks.indexOf(t);-1!==i&&this._onDestroyHooks.splice(i,1)}}function Nh(e){const t=bt(e),i=null!==t?t.factory:or(e);if(null!==i)return i;if(e instanceof ai)throw new N(204,!1);if(e instanceof Function)return function O0(e){const t=e.length;if(t>0)throw Ur(t,"?"),new N(204,!1);const i=function vt(e){return e&&(e[tn]||e[Zt])||null}(e);return null!==i?()=>i.factory(e):()=>new e}(e);throw new N(204,!1)}function um(e,t,i){let o;if(zs(e)){const r=Le(e);return or(r)||Nh(r)}if(Ph(e))o=()=>Le(e.useValue);else if(function dm(e){return!(!e||!e.useFactory)}(e))o=()=>e.useFactory(...ke(e.deps||[]));else if(function cm(e){return!(!e||!e.useExisting)}(e))o=()=>Pt(Le(e.useExisting));else{const r=Le(e&&(e.useClass||e.provide));if(!function P0(e){return!!e.deps}(e))return or(r)||Nh(r);o=()=>new r(...ke(e.deps))}return o}function Oa(e,t,i=!1){return{factory:e,value:t,multi:i?[]:void 0}}function Lh(e,t){for(const i of e)Array.isArray(i)?Lh(i,t):i&&ue(i)?Lh(i.\u0275providers,t):t(i)}const hm=new ai("AppId",{providedIn:"root",factory:()=>N0}),N0="ng",fm=new ai("Platform Initializer"),Bh=new ai("Platform ID",{providedIn:"platform",factory:()=>"unknown"}),L0=new ai("AnimationModuleType"),B0=new ai("CSP nonce",{providedIn:"root",factory:()=>function eo(){if(void 0!==Ki)return Ki;if(typeof document<"u")return document;throw new N(210,!1)}().body?.querySelector("[ngCspNonce]")?.getAttribute("ngCspNonce")||null});let pm=(e,t,i)=>null;function Zh(e,t,i=!1){return pm(e,t,i)}class W0{}class _m{}class Q0{resolveComponentFactory(t){throw function K0(e){const t=Error(`No component factory found for ${fe(e)}.`);return t.ngComponent=e,t}(t)}}let Jl=(()=>{class e{static#e=this.NULL=new Q0}return e})();function J0(){return ka(io(),Lt())}function ka(e,t){return new Xl(mo(e,t))}let Xl=(()=>{class e{constructor(i){this.nativeElement=i}static#e=this.__NG_ELEMENT_ID__=J0}return e})();function X0(e){return e instanceof Xl?e.nativeElement:e}class vm{}let q0=(()=>{class e{constructor(){this.destroyNode=null}static#e=this.__NG_ELEMENT_ID__=()=>function ey(){const e=Lt(),i=Eo(io().index,e);return(Ii(i)?i:e)[Vt]}()}return e})(),ty=(()=>{class e{static#e=this.\u0275prov=nt({token:e,providedIn:"root",factory:()=>null})}return e})();class ym{constructor(t){this.full=t,this.major=t.split(".")[0],this.minor=t.split(".")[1],this.patch=t.split(".").slice(2).join(".")}}const ny=new ym("16.2.8"),Kh={};function Fd(e){if(!be()&&!function W(){return S}())throw new N(-203,!1)}function wm(e,t=null,i=null,o){const r=Dm(e,t,i,o);return r.resolveInjectorInitializers(),r}function Dm(e,t=null,i=null,o,r=new Set){const c=[i||nn,sm(e)];return o=o||("object"==typeof e?void 0:fe(e)),new Id(c,t||Sd(),o||null,r)}let pr=(()=>{class e{static#e=this.THROW_IF_NOT_FOUND=le;static#t=this.NULL=new Ah;static create(i,o){if(Array.isArray(i))return wm({name:""},o,i,"");{const r=i.name??"";return wm({name:r},i.parent,i.providers,r)}}static#n=this.\u0275prov=nt({token:e,providedIn:"any",factory:()=>Pt(om)});static#i=this.__NG_ELEMENT_ID__=-1}return e})();function Qh(e){return e.ngOriginalError}class gs{constructor(){this._console=console}handleError(t){const i=this._findOriginalError(t);this._console.error("ERROR",t),i&&this._console.error("ORIGINAL ERROR",i)}_findOriginalError(t){let i=t&&Qh(t);for(;i&&Qh(i);)i=Qh(i);return i||null}}let ql=(()=>{class e{static#e=this.__NG_ELEMENT_ID__=cy;static#t=this.__NG_ENV_ID__=i=>i}return e})();class ly extends ql{constructor(t){super(),this._lView=t}onDestroy(t){return Qo(this._lView,t),()=>function Eu(e,t){if(null===e[ao])return;const i=e[ao].indexOf(t);-1!==i&&e[ao].splice(i,1)}(this._lView,t)}}function cy(){return new ly(Lt())}function Jh(e){return t=>{setTimeout(e,void 0,t)}}const Or=class dy extends n.x{constructor(t=!1){super(),this.__isAsync=t}emit(t){super.next(t)}subscribe(t,i,o){let r=t,c=i||(()=>null),f=o;if(t&&"object"==typeof t){const v=t;r=v.next?.bind(v),c=v.error?.bind(v),f=v.complete?.bind(v)}this.__isAsync&&(c=Jh(c),r&&(r=Jh(r)),f&&(f=Jh(f)));const g=super.subscribe({next:r,error:c,complete:f});return t instanceof l.w0&&t.add(g),g}};function Mm(...e){}class so{constructor({enableLongStackTrace:t=!1,shouldCoalesceEventChangeDetection:i=!1,shouldCoalesceRunChangeDetection:o=!1}){if(this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new Or(!1),this.onMicrotaskEmpty=new Or(!1),this.onStable=new Or(!1),this.onError=new Or(!1),typeof Zone>"u")throw new N(908,!1);Zone.assertZonePatched();const r=this;r._nesting=0,r._outer=r._inner=Zone.current,Zone.TaskTrackingZoneSpec&&(r._inner=r._inner.fork(new Zone.TaskTrackingZoneSpec)),t&&Zone.longStackTraceZoneSpec&&(r._inner=r._inner.fork(Zone.longStackTraceZoneSpec)),r.shouldCoalesceEventChangeDetection=!o&&i,r.shouldCoalesceRunChangeDetection=o,r.lastRequestAnimationFrameId=-1,r.nativeRequestAnimationFrame=function uy(){const e="function"==typeof mt.requestAnimationFrame;let t=mt[e?"requestAnimationFrame":"setTimeout"],i=mt[e?"cancelAnimationFrame":"clearTimeout"];if(typeof Zone<"u"&&t&&i){const o=t[Zone.__symbol__("OriginalDelegate")];o&&(t=o);const r=i[Zone.__symbol__("OriginalDelegate")];r&&(i=r)}return{nativeRequestAnimationFrame:t,nativeCancelAnimationFrame:i}}().nativeRequestAnimationFrame,function py(e){const t=()=>{!function fy(e){e.isCheckStableRunning||-1!==e.lastRequestAnimationFrameId||(e.lastRequestAnimationFrameId=e.nativeRequestAnimationFrame.call(mt,()=>{e.fakeTopEventTask||(e.fakeTopEventTask=Zone.root.scheduleEventTask("fakeTopEventTask",()=>{e.lastRequestAnimationFrameId=-1,qh(e),e.isCheckStableRunning=!0,Xh(e),e.isCheckStableRunning=!1},void 0,()=>{},()=>{})),e.fakeTopEventTask.invoke()}),qh(e))}(e)};e._inner=e._inner.fork({name:"angular",properties:{isAngularZone:!0},onInvokeTask:(i,o,r,c,f,g)=>{if(function gy(e){return!(!Array.isArray(e)||1!==e.length)&&!0===e[0].data?.__ignore_ng_zone__}(g))return i.invokeTask(r,c,f,g);try{return Sm(e),i.invokeTask(r,c,f,g)}finally{(e.shouldCoalesceEventChangeDetection&&"eventTask"===c.type||e.shouldCoalesceRunChangeDetection)&&t(),Im(e)}},onInvoke:(i,o,r,c,f,g,v)=>{try{return Sm(e),i.invoke(r,c,f,g,v)}finally{e.shouldCoalesceRunChangeDetection&&t(),Im(e)}},onHasTask:(i,o,r,c)=>{i.hasTask(r,c),o===r&&("microTask"==c.change?(e._hasPendingMicrotasks=c.microTask,qh(e),Xh(e)):"macroTask"==c.change&&(e.hasPendingMacrotasks=c.macroTask))},onHandleError:(i,o,r,c)=>(i.handleError(r,c),e.runOutsideAngular(()=>e.onError.emit(c)),!1)})}(r)}static isInAngularZone(){return typeof Zone<"u"&&!0===Zone.current.get("isAngularZone")}static assertInAngularZone(){if(!so.isInAngularZone())throw new N(909,!1)}static assertNotInAngularZone(){if(so.isInAngularZone())throw new N(909,!1)}run(t,i,o){return this._inner.run(t,i,o)}runTask(t,i,o,r){const c=this._inner,f=c.scheduleEventTask("NgZoneEvent: "+r,t,hy,Mm,Mm);try{return c.runTask(f,i,o)}finally{c.cancelTask(f)}}runGuarded(t,i,o){return this._inner.runGuarded(t,i,o)}runOutsideAngular(t){return this._outer.run(t)}}const hy={};function Xh(e){if(0==e._nesting&&!e.hasPendingMicrotasks&&!e.isStable)try{e._nesting++,e.onMicrotaskEmpty.emit(null)}finally{if(e._nesting--,!e.hasPendingMicrotasks)try{e.runOutsideAngular(()=>e.onStable.emit(null))}finally{e.isStable=!0}}}function qh(e){e.hasPendingMicrotasks=!!(e._hasPendingMicrotasks||(e.shouldCoalesceEventChangeDetection||e.shouldCoalesceRunChangeDetection)&&-1!==e.lastRequestAnimationFrameId)}function Sm(e){e._nesting++,e.isStable&&(e.isStable=!1,e.onUnstable.emit(null))}function Im(e){e._nesting--,Xh(e)}const Am=new ai("",{providedIn:"root",factory:Om});function Om(){const e=wt(so);let t=!0;const i=new w.y(r=>{t=e.isStable&&!e.hasPendingMacrotasks&&!e.hasPendingMicrotasks,e.runOutsideAngular(()=>{r.next(t),r.complete()})}),o=new w.y(r=>{let c;e.runOutsideAngular(()=>{c=e.onStable.subscribe(()=>{so.assertNotInAngularZone(),queueMicrotask(()=>{!t&&!e.hasPendingMacrotasks&&!e.hasPendingMicrotasks&&(t=!0,r.next(!0))})})});const f=e.onUnstable.subscribe(()=>{so.assertInAngularZone(),t&&(t=!1,e.runOutsideAngular(()=>{r.next(!1)}))});return()=>{c.unsubscribe(),f.unsubscribe()}});return(0,E.T)(i,o.pipe((0,ne.B)()))}function Rm(e){return e.ownerDocument.defaultView}function Qr(e){return e instanceof Function?e():e}let ef=(()=>{class e{constructor(){this.renderDepth=0,this.handler=null}begin(){this.handler?.validateBegin(),this.renderDepth++}end(){this.renderDepth--,0===this.renderDepth&&this.handler?.execute()}ngOnDestroy(){this.handler?.destroy(),this.handler=null}static#e=this.\u0275prov=nt({token:e,providedIn:"root",factory:()=>new e})}return e})();function ec(e){for(;e;){e[M]|=64;const t=Da(e);if(Vi(e)&&!t)return e;e=t}return null}const Lm=new ai("",{providedIn:"root",factory:()=>!1});let Ld=null;function Um(e,t){return e[t]??Gm()}function jm(e,t){const i=Gm();i.producerNode?.length&&(e[t]=Ld,i.lView=e,Ld=zm())}const Dy={...Yo,consumerIsAlwaysLive:!0,consumerMarkedDirty:e=>{ec(e.lView)},lView:null};function zm(){return Object.create(Dy)}function Gm(){return Ld??=zm(),Ld}const Rn={};function $m(e){Zm(Jn(),Lt(),co()+e,!1)}function Zm(e,t,i,o){if(!o)if(3==(3&t[M])){const c=e.preOrderCheckHooks;null!==c&&ca(t,c,i)}else{const c=e.preOrderHooks;null!==c&&da(t,c,0,i)}Br(i)}function La(e,t=it.Default){const i=Lt();return null===i?Pt(e,t):Rs(io(),i,Le(e),t)}function Ym(){throw new Error("invalid")}function Bd(e,t,i,o,r,c,f,g,v,I,j){const Te=t.blueprint.slice();return Te[z]=r,Te[M]=140|o,(null!==I||e&&2048&e[M])&&(Te[M]|=2048),oa(Te),Te[T]=Te[xo]=e,Te[rn]=i,Te[ti]=f||e&&e[ti],Te[Vt]=g||e&&e[Vt],Te[$n]=v||e&&e[$n]||null,Te[Gt]=c,Te[Mo]=function fh(){return hh++}(),Te[fo]=j,Te[Lo]=I,Te[_n]=2==t.type?e[_n]:Te,Te}function Ba(e,t,i,o,r){let c=e.data[t];if(null===c)c=function tf(e,t,i,o,r){const c=Mu(),f=kc(),v=e.data[t]=function Py(e,t,i,o,r,c){let f=t?t.injectorIndex:-1,g=0;return os()&&(g|=128),{type:i,index:o,insertBeforeIndex:null,injectorIndex:f,directiveStart:-1,directiveEnd:-1,directiveStylingLast:-1,componentOffset:-1,propertyBindings:null,flags:g,providerIndexes:0,value:r,attrs:c,mergedAttrs:null,localNames:null,initialInputs:void 0,inputs:null,outputs:null,tView:null,next:null,prev:null,projectionNext:null,child:null,parent:t,projection:null,styles:null,stylesWithoutHost:null,residualStyles:void 0,classes:null,classesWithoutHost:null,residualClasses:void 0,classBindings:0,styleBindings:0}}(0,f?c:c&&c.parent,i,t,o,r);return null===e.firstChild&&(e.firstChild=v),null!==c&&(f?null==c.child&&null!==v.parent&&(c.child=v):null===c.next&&(c.next=v,v.prev=c)),v}(e,t,i,o,r),function Ap(){return In.lFrame.inI18n}()&&(c.flags|=32);else if(64&c.type){c.type=i,c.value=o,c.attrs=r;const f=function ra(){const e=In.lFrame,t=e.currentTNode;return e.isParent?t:t.parent}();c.injectorIndex=null===f?-1:f.injectorIndex}return sr(c,!0),c}function tc(e,t,i,o){if(0===i)return-1;const r=t.length;for(let c=0;ckt&&Zm(e,t,kt,!1),Hi(g?2:0,r);const I=g?c:null,j=ta(I);try{null!==I&&(I.dirty=!1),i(o,r)}finally{ts(I,j)}}finally{g&&null===t[Bo]&&jm(t,Bo),Br(f),Hi(g?3:1,r)}}function nf(e,t,i){if(So(t)){const o=no(null);try{const c=t.directiveEnd;for(let f=t.directiveStart;fnull;function Jm(e,t,i,o){for(let r in e)if(e.hasOwnProperty(r)){i=null===i?{}:i;const c=e[r];null===o?Xm(i,t,r,c):o.hasOwnProperty(r)&&Xm(i,t,o[r],c)}return i}function Xm(e,t,i,o){e.hasOwnProperty(i)?e[i].push(t,o):e[i]=[t,o]}function $o(e,t,i,o,r,c,f,g){const v=mo(t,i);let j,I=t.inputs;!g&&null!=I&&(j=I[o])?(hf(e,i,j,o,r),lo(t)&&function Ny(e,t){const i=Eo(t,e);16&i[M]||(i[M]|=64)}(i,t.index)):3&t.type&&(o=function Fy(e){return"class"===e?"className":"for"===e?"htmlFor":"formaction"===e?"formAction":"innerHtml"===e?"innerHTML":"readonly"===e?"readOnly":"tabindex"===e?"tabIndex":e}(o),r=null!=f?f(r,t.value||"",o):r,c.setProperty(v,o,r))}function lf(e,t,i,o){if(Rc()){const r=null===o?null:{"":-1},c=function jy(e,t){const i=e.directiveRegistry;let o=null,r=null;if(i)for(let c=0;c0;){const i=e[--t];if("number"==typeof i&&i<0)return i}return 0})(f)!=g&&f.push(g),f.push(i,o,c)}}(e,t,o,tc(e,i,r.hostVars,Rn),r)}function Rr(e,t,i,o,r,c){const f=mo(e,t);!function df(e,t,i,o,r,c,f){if(null==c)e.removeAttribute(t,r,i);else{const g=null==f?K(c):f(c,o||"",r);e.setAttribute(t,r,g,i)}}(t[Vt],f,c,e.value,i,o,r)}function Wy(e,t,i,o,r,c){const f=c[t];if(null!==f)for(let g=0;g{class e{constructor(){this.all=new Set,this.queue=new Map}create(i,o,r){const c=typeof Zone>"u"?null:Zone.current,f=function pt(e,t,i){const o=Object.create(an);i&&(o.consumerAllowSignalWrites=!0),o.fn=e,o.schedule=t;const r=f=>{o.cleanupFn=f};return o.ref={notify:()=>vs(o),run:()=>{if(o.dirty=!1,o.hasRun&&!na(o))return;o.hasRun=!0;const f=ta(o);try{o.cleanupFn(),o.cleanupFn=Ot,o.fn(r)}finally{ts(o,f)}},cleanup:()=>o.cleanupFn()},o.ref}(i,I=>{this.all.has(I)&&this.queue.set(I,c)},r);let g;this.all.add(f),f.notify();const v=()=>{f.cleanup(),g?.(),this.all.delete(f),this.queue.delete(f)};return g=o?.onDestroy(v),{destroy:v}}flush(){if(0!==this.queue.size)for(const[i,o]of this.queue)this.queue.delete(i),o?o.run(()=>i.run()):i.run()}get isQueueEmpty(){return 0===this.queue.size}static#e=this.\u0275prov=nt({token:e,providedIn:"root",factory:()=>new e})}return e})();function Hd(e,t,i){let o=i?e.styles:null,r=i?e.classes:null,c=0;if(null!==t)for(let f=0;f0){ug(e,1);const r=i.components;null!==r&&fg(e,r,1)}}function fg(e,t,i){for(let o=0;o-1&&(s(t,o),ga(i,o))}this._attachedToViewContainer=!1}d(this._lView[h],this._lView)}onDestroy(t){Qo(this._lView,t)}markForCheck(){ec(this._cdRefInjectingView||this._lView)}detach(){this._lView[M]&=-129}reattach(){this._lView[M]|=128}detectChanges(){Ud(this._lView[h],this._lView,this.context)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new N(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null,function $p(e,t){fr(e,t,t[Vt],2,null,null)}(this._lView[h],this._lView)}attachToAppRef(t){if(this._attachedToViewContainer)throw new N(902,!1);this._appRef=t}}class ix extends ic{constructor(t){super(t),this._view=t}detectChanges(){const t=this._view;Ud(t[h],t,t[rn],!1)}checkNoChanges(){}get context(){return null}}class pg extends Jl{constructor(t){super(),this.ngModule=t}resolveComponentFactory(t){const i=En(t);return new oc(i,this.ngModule)}}function mg(e){const t=[];for(let i in e)e.hasOwnProperty(i)&&t.push({propName:e[i],templateName:i});return t}class rx{constructor(t,i){this.injector=t,this.parentInjector=i}get(t,i,o){o=de(o);const r=this.injector.get(t,Kh,o);return r!==Kh||i===Kh?r:this.parentInjector.get(t,i,o)}}class oc extends _m{get inputs(){const t=this.componentDef,i=t.inputTransforms,o=mg(t.inputs);if(null!==i)for(const r of o)i.hasOwnProperty(r.propName)&&(r.transform=i[r.propName]);return o}get outputs(){return mg(this.componentDef.outputs)}constructor(t,i){super(),this.componentDef=t,this.ngModule=i,this.componentType=t.type,this.selector=function ci(e){return e.map(Hn).join(",")}(t.selectors),this.ngContentSelectors=t.ngContentSelectors?t.ngContentSelectors:[],this.isBoundToModule=!!i}create(t,i,o,r){let c=(r=r||this.ngModule)instanceof Ar?r:r?.injector;c&&null!==this.componentDef.getStandaloneInjector&&(c=this.componentDef.getStandaloneInjector(c)||c);const f=c?new rx(t,c):t,g=f.get(vm,null);if(null===g)throw new N(407,!1);const Te={rendererFactory:g,sanitizer:f.get(ty,null),effectManager:f.get(lg,null),afterRenderEventManager:f.get(ef,null)},We=g.createRenderer(null,this.componentDef),ot=this.componentDef.selectors[0][0]||"div",Ct=o?function Sy(e,t,i,o){const c=o.get(Lm,!1)||i===Ht.ShadowDom,f=e.selectRootElement(t,c);return function Iy(e){Qm(e)}(f),f}(We,o,this.componentDef.encapsulation,f):Sa(We,ot,function ox(e){const t=e.toLowerCase();return"svg"===t?Ko:"math"===t?"math":null}(ot)),hn=this.componentDef.signals?4608:this.componentDef.onPush?576:528;let Ft=null;null!==Ct&&(Ft=Zh(Ct,f,!0));const On=af(0,null,null,1,0,null,null,null,null,null,null),Bn=Bd(null,On,null,hn,null,null,Te,We,f,null,Ft);let mi,No;gl(Bn);try{const Xr=this.componentDef;let tl,xp=null;Xr.findHostDirectiveDefs?(tl=[],xp=new Map,Xr.findHostDirectiveDefs(Xr,tl,xp),tl.push(Xr)):tl=[Xr];const a1=function ax(e,t){const i=e[h],o=kt;return e[o]=t,Ba(i,o,2,"#host",null)}(Bn,Ct),l1=function lx(e,t,i,o,r,c,f){const g=r[h];!function cx(e,t,i,o){for(const r of e)t.mergedAttrs=Vn(t.mergedAttrs,r.hostAttrs);null!==t.mergedAttrs&&(Hd(t,t.mergedAttrs,!0),null!==i&&Wn(o,i,t))}(o,e,t,f);let v=null;null!==t&&(v=Zh(t,r[$n]));const I=c.rendererFactory.createRenderer(t,i);let j=16;i.signals?j=4096:i.onPush&&(j=64);const Te=Bd(r,Km(i),null,j,r[e.index],e,c,I,null,null,v);return g.firstCreatePass&&cf(g,e,o.length-1),Vd(r,Te),r[e.index]=Te}(a1,Ct,Xr,tl,Bn,Te,We);No=Cs(On,kt),Ct&&function ux(e,t,i,o){if(o)Sn(e,i,["ng-version",ny.full]);else{const{attrs:r,classes:c}=function Fn(e){const t=[],i=[];let o=1,r=2;for(;o0&&Dn(e,i,c.join(" "))}}(We,Xr,Ct,o),void 0!==i&&function hx(e,t,i){const o=e.projection=[];for(let r=0;r=0;o--){const r=e[o];r.hostVars=t+=r.hostVars,r.hostAttrs=Vn(r.hostAttrs,i=Vn(i,r.hostAttrs))}}(o)}function jd(e){return e===Nt?{}:e===nn?[]:e}function mx(e,t){const i=e.viewQuery;e.viewQuery=i?(o,r)=>{t(o,r),i(o,r)}:t}function gx(e,t){const i=e.contentQueries;e.contentQueries=i?(o,r,c)=>{t(o,r,c),i(o,r,c)}:t}function _x(e,t){const i=e.hostBindings;e.hostBindings=i?(o,r)=>{t(o,r),i(o,r)}:t}function yg(e){const t=e.inputConfig,i={};for(const o in t)if(t.hasOwnProperty(o)){const r=t[o];Array.isArray(r)&&r[2]&&(i[o]=r[2])}e.inputTransforms=i}function zd(e){return!!mf(e)&&(Array.isArray(e)||!(e instanceof Map)&&Symbol.iterator in e)}function mf(e){return null!==e&&("function"==typeof e||"object"==typeof e)}function Pr(e,t,i){return e[t]=i}function vo(e,t,i){return!Object.is(e[t],i)&&(e[t]=i,!0)}function Gs(e,t,i,o){const r=vo(e,t,i);return vo(e,t+1,o)||r}function gf(e,t,i,o){const r=Lt();return vo(r,Es(),t)&&(Jn(),Rr(Ri(),r,e,t,i,o)),gf}function Ha(e,t,i,o){return vo(e,Es(),i)?t+K(i)+o:Rn}function Pg(e,t,i,o,r,c,f,g){const v=Lt(),I=Jn(),j=e+kt,Te=I.firstCreatePass?function jx(e,t,i,o,r,c,f,g,v){const I=t.consts,j=Ba(t,e,4,f||null,Er(I,g));lf(t,i,j,Er(I,v)),la(t,j);const Te=j.tView=af(2,j,o,r,c,t.directiveRegistry,t.pipeRegistry,null,t.schemas,I,null);return null!==t.queries&&(t.queries.template(t,j),Te.queries=t.queries.embeddedTView(j)),j}(j,I,v,t,i,o,r,c,f):I.data[j];sr(Te,!1);const We=kg(I,v,Te,e);aa()&&hr(I,v,We,Te),ji(We,v),Vd(v,v[j]=ng(We,v,We,Te)),nr(Te)&&rf(I,v,Te),null!=f&&sf(v,Te,g)}let kg=function Fg(e,t,i,o){return Tr(!0),t[Vt].createComment("")};function Ng(e){return Lr(function Ip(){return In.lFrame.contextLView}(),kt+e)}function Cf(e,t,i){const o=Lt();return vo(o,Es(),t)&&$o(Jn(),Ri(),o,e,t,o[Vt],i,!1),Cf}function Ef(e,t,i,o,r){const f=r?"class":"style";hf(e,i,t.inputs[f],f,o)}function Wd(e,t,i,o){const r=Lt(),c=Jn(),f=kt+e,g=r[Vt],v=c.firstCreatePass?function Zx(e,t,i,o,r,c){const f=t.consts,v=Ba(t,e,2,o,Er(f,r));return lf(t,i,v,Er(f,c)),null!==v.attrs&&Hd(v,v.attrs,!1),null!==v.mergedAttrs&&Hd(v,v.mergedAttrs,!0),null!==t.queries&&t.queries.elementStart(t,v),v}(f,c,r,t,i,o):c.data[f],I=Lg(c,r,v,g,t,e);r[f]=I;const j=nr(v);return sr(v,!0),Wn(g,I,v),32!=(32&v.flags)&&aa()&&hr(c,r,I,v),0===function Ac(){return In.lFrame.elementDepthCount}()&&ji(I,r),function Oc(){In.lFrame.elementDepthCount++}(),j&&(rf(c,r,v),nf(c,v,r)),null!==o&&sf(r,v),Wd}function Kd(){let e=io();kc()?Fc():(e=e.parent,sr(e,!1));const t=e;(function Dp(e){return In.skipHydrationRootTNode===e})(t)&&function Sp(){In.skipHydrationRootTNode=null}(),function hl(){In.lFrame.elementDepthCount--}();const i=Jn();return i.firstCreatePass&&(la(i,e),So(e)&&i.queries.elementEnd(e)),null!=t.classesWithoutHost&&function bl(e){return 0!=(8&e.flags)}(t)&&Ef(i,t,Lt(),t.classesWithoutHost,!0),null!=t.stylesWithoutHost&&function vl(e){return 0!=(16&e.flags)}(t)&&Ef(i,t,Lt(),t.stylesWithoutHost,!1),Kd}function wf(e,t,i,o){return Wd(e,t,i,o),Kd(),wf}let Lg=(e,t,i,o,r,c)=>(Tr(!0),Sa(o,r,function $c(){return In.lFrame.currentNamespace}()));function Qd(e,t,i){const o=Lt(),r=Jn(),c=e+kt,f=r.firstCreatePass?function Kx(e,t,i,o,r){const c=t.consts,f=Er(c,o),g=Ba(t,e,8,"ng-container",f);return null!==f&&Hd(g,f,!0),lf(t,i,g,Er(c,r)),null!==t.queries&&t.queries.elementStart(t,g),g}(c,r,o,t,i):r.data[c];sr(f,!0);const g=Bg(r,o,f,e);return o[c]=g,aa()&&hr(r,o,g,f),ji(g,o),nr(f)&&(rf(r,o,f),nf(r,f,o)),null!=i&&sf(o,f),Qd}function Jd(){let e=io();const t=Jn();return kc()?Fc():(e=e.parent,sr(e,!1)),t.firstCreatePass&&(la(t,e),So(e)&&t.queries.elementEnd(e)),Jd}function Df(e,t,i){return Qd(e,t,i),Jd(),Df}let Bg=(e,t,i,o)=>(Tr(!0),Gl(t[Vt],""));function Vg(){return Lt()}function Tf(e){return!!e&&"function"==typeof e.then}function Hg(e){return!!e&&"function"==typeof e.subscribe}function Mf(e,t,i,o){const r=Lt(),c=Jn(),f=io();return Ug(c,r,r[Vt],f,e,t,o),Mf}function Sf(e,t){const i=io(),o=Lt(),r=Jn();return Ug(r,o,sg(pl(r.data),i,o),i,e,t),Sf}function Ug(e,t,i,o,r,c,f){const g=nr(o),I=e.firstCreatePass&&rg(e),j=t[rn],Te=og(t);let We=!0;if(3&o.type||f){const jt=mo(o,t),qt=f?f(jt):jt,hn=Te.length,Ft=f?Bn=>f(vi(Bn[o.index])):o.index;let On=null;if(!f&&g&&(On=function Xx(e,t,i,o){const r=e.cleanup;if(null!=r)for(let c=0;cv?g[v]:null}"string"==typeof f&&(c+=2)}return null}(e,t,r,o.index)),null!==On)(On.__ngLastListenerFn__||On).__ngNextListenerFn__=c,On.__ngLastListenerFn__=c,We=!1;else{c=zg(o,t,j,c,!1);const Bn=i.listen(qt,r,c);Te.push(c,Bn),I&&I.push(r,Ft,hn,hn+1)}}else c=zg(o,t,j,c,!1);const ot=o.outputs;let Ct;if(We&&null!==ot&&(Ct=ot[r])){const jt=Ct.length;if(jt)for(let qt=0;qt-1?Eo(e.index,t):t);let v=jg(t,i,o,f),I=c.__ngNextListenerFn__;for(;I;)v=jg(t,i,I,f)&&v,I=I.__ngNextListenerFn__;return r&&!1===v&&f.preventDefault(),v}}function Gg(e=1){return function Ou(e){return(In.lFrame.contextLView=function Ru(e,t){for(;e>0;)t=t[xo],e--;return t}(e,In.lFrame.contextLView))[rn]}(e)}function qx(e,t){let i=null;const o=function he(e){const t=e.attrs;if(null!=t){const i=t.indexOf(5);if(!(1&i))return t[i+1]}return null}(e);for(let r=0;r>17&32767}function Of(e){return 2|e}function $s(e){return(131068&e)>>2}function Rf(e,t){return-131069&e|t<<2}function Pf(e){return 1|e}function t_(e,t,i,o,r){const c=e[i+1],f=null===t;let g=o?_s(c):$s(c),v=!1;for(;0!==g&&(!1===v||f);){const j=e[g+1];rC(e[g],t)&&(v=!0,e[g+1]=o?Pf(j):Of(j)),g=o?_s(j):$s(j)}v&&(e[i+1]=o?Of(c):Pf(c))}function rC(e,t){return null===e||null==t||(Array.isArray(e)?e[1]:e)===t||!(!Array.isArray(e)||"string"!=typeof t)&&ls(e,t)>=0}const to={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function n_(e){return e.substring(to.key,to.keyEnd)}function sC(e){return e.substring(to.value,to.valueEnd)}function i_(e,t){const i=to.textEnd;return i===t?-1:(t=to.keyEnd=function cC(e,t,i){for(;t32;)t++;return t}(e,to.key=t,i),Wa(e,t,i))}function o_(e,t){const i=to.textEnd;let o=to.key=Wa(e,t,i);return i===o?-1:(o=to.keyEnd=function dC(e,t,i){let o;for(;t=65&&(-33&o)<=90||o>=48&&o<=57);)t++;return t}(e,o,i),o=s_(e,o,i),o=to.value=Wa(e,o,i),o=to.valueEnd=function uC(e,t,i){let o=-1,r=-1,c=-1,f=t,g=f;for(;f32&&(g=f),c=r,r=o,o=-33&v}return g}(e,o,i),s_(e,o,i))}function r_(e){to.key=0,to.keyEnd=0,to.value=0,to.valueEnd=0,to.textEnd=e.length}function Wa(e,t,i){for(;t=0;i=o_(t,i))u_(e,n_(t),sC(t))}function l_(e){_r(bC,kr,e,!0)}function kr(e,t){for(let i=function aC(e){return r_(e),i_(e,Wa(e,0,to.textEnd))}(t);i>=0;i=i_(t,i))wo(e,n_(t),!0)}function gr(e,t,i,o){const r=Lt(),c=Jn(),f=Dr(2);c.firstUpdatePass&&d_(c,e,f,o),t!==Rn&&vo(r,f,t)&&h_(c,c.data[co()],r,r[Vt],e,r[f+1]=function yC(e,t){return null==e||""===e||("string"==typeof t?e+=t:"object"==typeof e&&(e=fe(Wr(e)))),e}(t,i),o,f)}function _r(e,t,i,o){const r=Jn(),c=Dr(2);r.firstUpdatePass&&d_(r,null,c,o);const f=Lt();if(i!==Rn&&vo(f,c,i)){const g=r.data[co()];if(p_(g,o)&&!c_(r,c)){let v=o?g.classesWithoutHost:g.stylesWithoutHost;null!==v&&(i=ce(v,i||"")),Ef(r,g,f,i,o)}else!function vC(e,t,i,o,r,c,f,g){r===Rn&&(r=nn);let v=0,I=0,j=0=e.expandoStartIndex}function d_(e,t,i,o){const r=e.data;if(null===r[i+1]){const c=r[co()],f=c_(e,i);p_(c,o)&&null===t&&!f&&(t=!1),t=function fC(e,t,i,o){const r=pl(e);let c=o?t.residualClasses:t.residualStyles;if(null===r)0===(o?t.classBindings:t.styleBindings)&&(i=cc(i=Nf(null,e,t,i,o),t.attrs,o),c=null);else{const f=t.directiveStylingLast;if(-1===f||e[f]!==r)if(i=Nf(r,e,t,i,o),null===c){let v=function pC(e,t,i){const o=i?t.classBindings:t.styleBindings;if(0!==$s(o))return e[_s(o)]}(e,t,o);void 0!==v&&Array.isArray(v)&&(v=Nf(null,e,t,v[1],o),v=cc(v,t.attrs,o),function mC(e,t,i,o){e[_s(i?t.classBindings:t.styleBindings)]=o}(e,t,o,v))}else c=function gC(e,t,i){let o;const r=t.directiveEnd;for(let c=1+t.directiveStylingLast;c0)&&(I=!0)):j=i,r)if(0!==v){const We=_s(e[g+1]);e[o+1]=Xd(We,g),0!==We&&(e[We+1]=Rf(e[We+1],o)),e[g+1]=function tC(e,t){return 131071&e|t<<17}(e[g+1],o)}else e[o+1]=Xd(g,0),0!==g&&(e[g+1]=Rf(e[g+1],o)),g=o;else e[o+1]=Xd(v,0),0===g?g=o:e[v+1]=Rf(e[v+1],o),v=o;I&&(e[o+1]=Of(e[o+1])),t_(e,j,o,!0),t_(e,j,o,!1),function oC(e,t,i,o,r){const c=r?e.residualClasses:e.residualStyles;null!=c&&"string"==typeof t&&ls(c,t)>=0&&(i[o+1]=Pf(i[o+1]))}(t,j,e,o,c),f=Xd(g,v),c?t.classBindings=f:t.styleBindings=f}(r,c,t,i,f,o)}}function Nf(e,t,i,o,r){let c=null;const f=i.directiveEnd;let g=i.directiveStylingLast;for(-1===g?g=i.directiveStart:g++;g0;){const v=e[r],I=Array.isArray(v),j=I?v[1]:v,Te=null===j;let We=i[r+1];We===Rn&&(We=Te?nn:void 0);let ot=Te?Tl(We,o):j===o?We:void 0;if(I&&!qd(ot)&&(ot=Tl(v,o)),qd(ot)&&(g=ot,f))return g;const Ct=e[r+1];r=f?_s(Ct):$s(Ct)}if(null!==t){let v=c?t.residualClasses:t.residualStyles;null!=v&&(g=Tl(v,o))}return g}function qd(e){return void 0!==e}function p_(e,t){return 0!=(e.flags&(t?8:16))}function m_(e,t=""){const i=Lt(),o=Jn(),r=e+kt,c=o.firstCreatePass?Ba(o,r,1,t,null):o.data[r],f=g_(o,i,c,t,e);i[r]=f,aa()&&hr(o,i,f,c),sr(c,!1)}let g_=(e,t,i,o,r)=>(Tr(!0),function Ma(e,t){return e.createText(t)}(t[Vt],o));function Lf(e){return eu("",e,""),Lf}function eu(e,t,i){const o=Lt(),r=Ha(o,e,t,i);return r!==Rn&&function Jr(e,t,i){const o=po(t,e);!function Cd(e,t,i){e.setValue(t,i)}(e[Vt],o,i)}(o,co(),r),eu}function D_(e,t,i){_r(wo,kr,Ha(Lt(),e,t,i),!0)}function Bf(e,t,i){const o=Lt();return vo(o,Es(),t)&&$o(Jn(),Ri(),o,e,t,o[Vt],i,!0),Bf}function Vf(e,t,i){const o=Lt();if(vo(o,Es(),t)){const c=Jn(),f=Ri();$o(c,f,o,e,t,sg(pl(c.data),f,o),i,!0)}return Vf}const Zs=void 0;var UC=["en",[["a","p"],["AM","PM"],Zs],[["AM","PM"],Zs,Zs],[["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"]],Zs,[["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"]],Zs,[["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}",Zs,"{1} 'at' {0}",Zs],[".",",",";","%","+","-","E","\xd7","\u2030","\u221e","NaN",":"],["#,##0.###","#,##0%","\xa4#,##0.00","#E0"],"USD","$","US Dollar",{},"ltr",function HC(e){const i=Math.floor(Math.abs(e)),o=e.toString().replace(/^[^.]*\.?/,"").length;return 1===i&&0===o?1:5}];let Ka={};function Hf(e){const t=function jC(e){return e.toLowerCase().replace(/_/g,"-")}(e);let i=N_(t);if(i)return i;const o=t.split("-")[0];if(i=N_(o),i)return i;if("en"===o)return UC;throw new N(701,!1)}function F_(e){return Hf(e)[Qa.PluralCase]}function N_(e){return e in Ka||(Ka[e]=mt.ng&&mt.ng.common&&mt.ng.common.locales&&mt.ng.common.locales[e]),Ka[e]}var Qa=function(e){return e[e.LocaleId=0]="LocaleId",e[e.DayPeriodsFormat=1]="DayPeriodsFormat",e[e.DayPeriodsStandalone=2]="DayPeriodsStandalone",e[e.DaysFormat=3]="DaysFormat",e[e.DaysStandalone=4]="DaysStandalone",e[e.MonthsFormat=5]="MonthsFormat",e[e.MonthsStandalone=6]="MonthsStandalone",e[e.Eras=7]="Eras",e[e.FirstDayOfWeek=8]="FirstDayOfWeek",e[e.WeekendRange=9]="WeekendRange",e[e.DateFormat=10]="DateFormat",e[e.TimeFormat=11]="TimeFormat",e[e.DateTimeFormat=12]="DateTimeFormat",e[e.NumberSymbols=13]="NumberSymbols",e[e.NumberFormats=14]="NumberFormats",e[e.CurrencyCode=15]="CurrencyCode",e[e.CurrencySymbol=16]="CurrencySymbol",e[e.CurrencyName=17]="CurrencyName",e[e.Currencies=18]="Currencies",e[e.Directionality=19]="Directionality",e[e.PluralCase=20]="PluralCase",e[e.ExtraData=21]="ExtraData",e}(Qa||{});const Ja="en-US";let L_=Ja;function zf(e,t,i,o,r){if(e=Le(e),Array.isArray(e))for(let c=0;c>20;if(zs(e)||!e.multi){const ot=new ua(I,r,La),Ct=$f(v,t,r?j:j+We,Te);-1===Ct?(xl(Ms(g,f),c,v),Gf(c,e,t.length),t.push(v),g.directiveStart++,g.directiveEnd++,r&&(g.providerIndexes+=1048576),i.push(ot),f.push(ot)):(i[Ct]=ot,f[Ct]=ot)}else{const ot=$f(v,t,j+We,Te),Ct=$f(v,t,j,j+We),qt=Ct>=0&&i[Ct];if(r&&!qt||!r&&!(ot>=0&&i[ot])){xl(Ms(g,f),c,v);const hn=function HE(e,t,i,o,r){const c=new ua(e,i,La);return c.multi=[],c.index=t,c.componentProviders=0,lb(c,r,o&&!i),c}(r?VE:BE,i.length,r,o,I);!r&&qt&&(i[Ct].providerFactory=hn),Gf(c,e,t.length,0),t.push(v),g.directiveStart++,g.directiveEnd++,r&&(g.providerIndexes+=1048576),i.push(hn),f.push(hn)}else Gf(c,e,ot>-1?ot:Ct,lb(i[r?Ct:ot],I,!r&&o));!r&&o&&qt&&i[Ct].componentProviders++}}}function Gf(e,t,i,o){const r=zs(t),c=function I0(e){return!!e.useClass}(t);if(r||c){const v=(c?Le(t.useClass):t).prototype.ngOnDestroy;if(v){const I=e.destroyHooks||(e.destroyHooks=[]);if(!r&&t.multi){const j=I.indexOf(i);-1===j?I.push(i,[o,v]):I[j+1].push(o,v)}else I.push(i,v)}}}function lb(e,t,i){return i&&e.componentProviders++,e.multi.push(t)-1}function $f(e,t,i,o){for(let r=i;r{i.providersResolver=(o,r)=>function LE(e,t,i){const o=Jn();if(o.firstCreatePass){const r=ki(e);zf(i,o.data,o.blueprint,r,!0),zf(t,o.data,o.blueprint,r,!1)}}(o,r?r(e):e,t)}}class Ys{}class db{}function UE(e,t){return new Yf(e,t??null,[])}class Yf extends Ys{constructor(t,i,o){super(),this._parent=i,this._bootstrapComponents=[],this.destroyCbs=[],this.componentFactoryResolver=new pg(this);const r=ri(t);this._bootstrapComponents=Qr(r.bootstrap),this._r3Injector=Dm(t,i,[{provide:Ys,useValue:this},{provide:Jl,useValue:this.componentFactoryResolver},...o],fe(t),new Set(["environment"])),this._r3Injector.resolveInjectorInitializers(),this.instance=this._r3Injector.get(t)}get injector(){return this._r3Injector}destroy(){const t=this._r3Injector;!t.destroyed&&t.destroy(),this.destroyCbs.forEach(i=>i()),this.destroyCbs=null}onDestroy(t){this.destroyCbs.push(t)}}class Wf extends db{constructor(t){super(),this.moduleType=t}create(t){return new Yf(this.moduleType,t,[])}}class ub extends Ys{constructor(t){super(),this.componentFactoryResolver=new pg(this),this.instance=null;const i=new Id([...t.providers,{provide:Ys,useValue:this},{provide:Jl,useValue:this.componentFactoryResolver}],t.parent||Sd(),t.debugName,new Set(["environment"]));this.injector=i,t.runEnvironmentInitializers&&i.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(t){this.injector.onDestroy(t)}}function hb(e,t,i=null){return new ub({providers:e,parent:t,debugName:i,runEnvironmentInitializers:!0}).injector}let zE=(()=>{class e{constructor(i){this._injector=i,this.cachedInjectors=new Map}getOrCreateStandaloneInjector(i){if(!i.standalone)return null;if(!this.cachedInjectors.has(i)){const o=am(0,i.type),r=o.length>0?hb([o],this._injector,`Standalone[${i.type.name}]`):null;this.cachedInjectors.set(i,r)}return this.cachedInjectors.get(i)}ngOnDestroy(){try{for(const i of this.cachedInjectors.values())null!==i&&i.destroy()}finally{this.cachedInjectors.clear()}}static#e=this.\u0275prov=nt({token:e,providedIn:"environment",factory:()=>new e(Pt(Ar))})}return e})();function fb(e){e.getStandaloneInjector=t=>t.get(zE).getOrCreateStandaloneInjector(e)}function yb(e,t,i){const o=go()+e,r=Lt();return r[o]===Rn?Pr(r,o,i?t.call(i):t()):function rc(e,t){return e[t]}(r,o)}function xb(e,t,i,o){return Db(Lt(),go(),e,t,i,o)}function Cb(e,t,i,o,r){return Tb(Lt(),go(),e,t,i,o,r)}function Eb(e,t,i,o,r,c){return function Mb(e,t,i,o,r,c,f,g){const v=t+i;return function Gd(e,t,i,o,r){const c=Gs(e,t,i,o);return vo(e,t+2,r)||c}(e,v,r,c,f)?Pr(e,v+3,g?o.call(g,r,c,f):o(r,c,f)):mc(e,v+3)}(Lt(),go(),e,t,i,o,r,c)}function wb(e,t,i,o,r,c,f){return function Sb(e,t,i,o,r,c,f,g,v){const I=t+i;return function tr(e,t,i,o,r,c){const f=Gs(e,t,i,o);return Gs(e,t+2,r,c)||f}(e,I,r,c,f,g)?Pr(e,I+4,v?o.call(v,r,c,f,g):o(r,c,f,g)):mc(e,I+4)}(Lt(),go(),e,t,i,o,r,c,f)}function mc(e,t){const i=e[t];return i===Rn?void 0:i}function Db(e,t,i,o,r,c){const f=t+i;return vo(e,f,r)?Pr(e,f+1,c?o.call(c,r):o(r)):mc(e,f+1)}function Tb(e,t,i,o,r,c,f){const g=t+i;return Gs(e,g,r,c)?Pr(e,g+2,f?o.call(f,r,c):o(r,c)):mc(e,g+2)}function Ab(e,t){const i=Jn();let o;const r=e+kt;i.firstCreatePass?(o=function iw(e,t){if(t)for(let i=t.length-1;i>=0;i--){const o=t[i];if(e===o.name)return o}}(t,i.pipeRegistry),i.data[r]=o,o.onDestroy&&(i.destroyHooks??=[]).push(r,o.onDestroy)):o=i.data[r];const c=o.factory||(o.factory=or(o.type)),g=Be(La);try{const v=Ts(!1),I=c();return Ts(v),function $x(e,t,i,o){i>=e.data.length&&(e.data[i]=null,e.blueprint[i]=null),t[i]=o}(i,Lt(),r,I),I}finally{Be(g)}}function Ob(e,t,i){const o=e+kt,r=Lt(),c=Lr(r,o);return gc(r,o)?Db(r,go(),t,c.transform,i,c):c.transform(i)}function Rb(e,t,i,o){const r=e+kt,c=Lt(),f=Lr(c,r);return gc(c,r)?Tb(c,go(),t,f.transform,i,o,f):f.transform(i,o)}function gc(e,t){return e[h].data[t].pure}function aw(){return this._results[Symbol.iterator]()}class ru{static#e=Symbol.iterator;get changes(){return this._changes||(this._changes=new Or)}constructor(t=!1){this._emitDistinctChangesOnly=t,this.dirty=!0,this._results=[],this._changesDetected=!1,this._changes=null,this.length=0,this.first=void 0,this.last=void 0;const i=ru.prototype;i[Symbol.iterator]||(i[Symbol.iterator]=aw)}get(t){return this._results[t]}map(t){return this._results.map(t)}filter(t){return this._results.filter(t)}find(t){return this._results.find(t)}reduce(t,i){return this._results.reduce(t,i)}forEach(t){this._results.forEach(t)}some(t){return this._results.some(t)}toArray(){return this._results.slice()}toString(){return this._results.toString()}reset(t,i){const o=this;o.dirty=!1;const r=function uo(e){return e.flat(Number.POSITIVE_INFINITY)}(t);(this._changesDetected=!function ma(e,t,i){if(e.length!==t.length)return!1;for(let o=0;o0&&(i[r-1][Re]=t),o{class e{static#e=this.__NG_ELEMENT_ID__=hw}return e})();const dw=_c,uw=class extends dw{constructor(t,i,o){super(),this._declarationLView=t,this._declarationTContainer=i,this.elementRef=o}get ssrId(){return this._declarationTContainer.tView?.ssrId||null}createEmbeddedView(t,i){return this.createEmbeddedViewImpl(t,i)}createEmbeddedViewImpl(t,i,o){const r=function lw(e,t,i,o){const r=t.tView,g=Bd(e,r,i,4096&e[M]?4096:16,null,t,null,null,null,o?.injector??null,o?.hydrationInfo??null);g[Bi]=e[t.index];const I=e[$i];return null!==I&&(g[$i]=I.createEmbeddedView(r)),ff(r,g,i),g}(this._declarationLView,this._declarationTContainer,t,{injector:i,hydrationInfo:o});return new ic(r)}};function hw(){return su(io(),Lt())}function su(e,t){return 4&e.type?new uw(t,e,ka(e,t)):null}let lu=(()=>{class e{static#e=this.__NG_ELEMENT_ID__=bw}return e})();function bw(){return Vb(io(),Lt())}const vw=lu,Lb=class extends vw{constructor(t,i,o){super(),this._lContainer=t,this._hostTNode=i,this._hostLView=o}get element(){return ka(this._hostTNode,this._hostLView)}get injector(){return new oo(this._hostTNode,this._hostLView)}get parentInjector(){const t=Is(this._hostTNode,this._hostLView);if(ha(t)){const i=Ds(t,this._hostLView),o=ws(t);return new oo(i[h].data[o+8],i)}return new oo(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(t){const i=Bb(this._lContainer);return null!==i&&i[t]||null}get length(){return this._lContainer.length-ui}createEmbeddedView(t,i,o){let r,c;"number"==typeof o?r=o:null!=o&&(r=o.index,c=o.injector);const g=t.createEmbeddedViewImpl(i||{},c,null);return this.insertImpl(g,r,false),g}createComponent(t,i,o,r,c){const f=t&&!function Bs(e){return"function"==typeof e}(t);let g;if(f)g=i;else{const jt=i||{};g=jt.index,o=jt.injector,r=jt.projectableNodes,c=jt.environmentInjector||jt.ngModuleRef}const v=f?t:new oc(En(t)),I=o||this.parentInjector;if(!c&&null==v.ngModule){const qt=(f?I:this.parentInjector).get(Ar,null);qt&&(c=qt)}En(v.componentType??{});const ot=v.create(I,r,null,c);return this.insertImpl(ot.hostView,g,false),ot}insert(t,i){return this.insertImpl(t,i,!1)}insertImpl(t,i,o){const r=t._lView;if(function Ep(e){return Ai(e[T])}(r)){const v=this.indexOf(t);if(-1!==v)this.detach(v);else{const I=r[T],j=new Lb(I,I[Gt],I[T]);j.detach(j.indexOf(t))}}const f=this._adjustIndex(i),g=this._lContainer;return cw(g,r,f,!o),t.attachToViewContainerRef(),Dl(Qf(g),f,t),t}move(t,i){return this.insert(t,i)}indexOf(t){const i=Bb(this._lContainer);return null!==i?i.indexOf(t):-1}remove(t){const i=this._adjustIndex(t,-1),o=s(this._lContainer,i);o&&(ga(Qf(this._lContainer),i),d(o[h],o))}detach(t){const i=this._adjustIndex(t,-1),o=s(this._lContainer,i);return o&&null!=ga(Qf(this._lContainer),i)?new ic(o):null}_adjustIndex(t,i=0){return t??this.length+i}};function Bb(e){return e[8]}function Qf(e){return e[8]||(e[8]=[])}function Vb(e,t){let i;const o=t[e.index];return Ai(o)?i=o:(i=ng(o,t,null,e),t[e.index]=i,Vd(t,i)),Hb(i,t,e,o),new Lb(i,e,t)}let Hb=function Ub(e,t,i,o){if(e[Qn])return;let r;r=8&i.type?vi(o):function yw(e,t){const i=e[Vt],o=i.createComment(""),r=mo(t,e);return Ye(i,dn(i,r),o,function Cn(e,t){return e.nextSibling(t)}(i,r),!1),o}(t,i),e[Qn]=r};class Jf{constructor(t){this.queryList=t,this.matches=null}clone(){return new Jf(this.queryList)}setDirty(){this.queryList.setDirty()}}class Xf{constructor(t=[]){this.queries=t}createEmbeddedView(t){const i=t.queries;if(null!==i){const o=null!==t.contentQueries?t.contentQueries[0]:i.length,r=[];for(let c=0;c0)o.push(f[g/2]);else{const I=c[g+1],j=t[-v];for(let Te=ui;Te{class e{constructor(){this.initialized=!1,this.done=!1,this.donePromise=new Promise((i,o)=>{this.resolve=i,this.reject=o}),this.appInits=wt(Kw,{optional:!0})??[]}runInitializers(){if(this.initialized)return;const i=[];for(const r of this.appInits){const c=r();if(Tf(c))i.push(c);else if(Hg(c)){const f=new Promise((g,v)=>{c.subscribe({complete:g,error:v})});i.push(f)}}const o=()=>{this.done=!0,this.resolve()};Promise.all(i).then(()=>{o()}).catch(r=>{this.reject(r)}),0===i.length&&o(),this.initialized=!0}static#e=this.\u0275fac=function(o){return new(o||e)};static#t=this.\u0275prov=nt({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),pv=(()=>{class e{log(i){console.log(i)}warn(i){console.warn(i)}static#e=this.\u0275fac=function(o){return new(o||e)};static#t=this.\u0275prov=nt({token:e,factory:e.\u0275fac,providedIn:"platform"})}return e})();const du=new ai("LocaleId",{providedIn:"root",factory:()=>wt(du,it.Optional|it.SkipSelf)||function Qw(){return typeof $localize<"u"&&$localize.locale||Ja}()}),Jw=new ai("DefaultCurrencyCode",{providedIn:"root",factory:()=>"USD"});let mv=(()=>{class e{constructor(){this.taskId=0,this.pendingTasks=new Set,this.hasPendingTasks=new H.X(!1)}add(){this.hasPendingTasks.next(!0);const i=this.taskId++;return this.pendingTasks.add(i),i}remove(i){this.pendingTasks.delete(i),0===this.pendingTasks.size&&this.hasPendingTasks.next(!1)}ngOnDestroy(){this.pendingTasks.clear(),this.hasPendingTasks.next(!1)}static#e=this.\u0275fac=function(o){return new(o||e)};static#t=this.\u0275prov=nt({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();class qw{constructor(t,i){this.ngModuleFactory=t,this.componentFactories=i}}let eD=(()=>{class e{compileModuleSync(i){return new Wf(i)}compileModuleAsync(i){return Promise.resolve(this.compileModuleSync(i))}compileModuleAndAllComponentsSync(i){const o=this.compileModuleSync(i),c=Qr(ri(i).declarations).reduce((f,g)=>{const v=En(g);return v&&f.push(new oc(v)),f},[]);return new qw(o,c)}compileModuleAndAllComponentsAsync(i){return Promise.resolve(this.compileModuleAndAllComponentsSync(i))}clearCache(){}clearCacheFor(i){}getModuleId(i){}static#e=this.\u0275fac=function(o){return new(o||e)};static#t=this.\u0275prov=nt({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();const vv=new ai(""),yv=new ai("");let dp,yD=(()=>{class e{constructor(i,o,r){this._ngZone=i,this.registry=o,this._pendingCount=0,this._isZoneStable=!0,this._didWork=!1,this._callbacks=[],this.taskTrackingZone=null,dp||(function xD(e){dp=e}(r),r.addToWindow(o)),this._watchAngularEvents(),i.run(()=>{this.taskTrackingZone=typeof Zone>"u"?null:Zone.current.get("TaskTrackingZone")})}_watchAngularEvents(){this._ngZone.onUnstable.subscribe({next:()=>{this._didWork=!0,this._isZoneStable=!1}}),this._ngZone.runOutsideAngular(()=>{this._ngZone.onStable.subscribe({next:()=>{so.assertNotInAngularZone(),queueMicrotask(()=>{this._isZoneStable=!0,this._runCallbacksIfReady()})}})})}increasePendingRequestCount(){return this._pendingCount+=1,this._didWork=!0,this._pendingCount}decreasePendingRequestCount(){if(this._pendingCount-=1,this._pendingCount<0)throw new Error("pending async requests below zero");return this._runCallbacksIfReady(),this._pendingCount}isStable(){return this._isZoneStable&&0===this._pendingCount&&!this._ngZone.hasPendingMacrotasks}_runCallbacksIfReady(){if(this.isStable())queueMicrotask(()=>{for(;0!==this._callbacks.length;){let i=this._callbacks.pop();clearTimeout(i.timeoutId),i.doneCb(this._didWork)}this._didWork=!1});else{let i=this.getPendingTasks();this._callbacks=this._callbacks.filter(o=>!o.updateCb||!o.updateCb(i)||(clearTimeout(o.timeoutId),!1)),this._didWork=!0}}getPendingTasks(){return this.taskTrackingZone?this.taskTrackingZone.macroTasks.map(i=>({source:i.source,creationLocation:i.creationLocation,data:i.data})):[]}addCallback(i,o,r){let c=-1;o&&o>0&&(c=setTimeout(()=>{this._callbacks=this._callbacks.filter(f=>f.timeoutId!==c),i(this._didWork,this.getPendingTasks())},o)),this._callbacks.push({doneCb:i,timeoutId:c,updateCb:r})}whenStable(i,o,r){if(r&&!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(i,o,r),this._runCallbacksIfReady()}getPendingRequestCount(){return this._pendingCount}registerApplication(i){this.registry.registerApplication(i,this)}unregisterApplication(i){this.registry.unregisterApplication(i)}findProviders(i,o,r){return[]}static#e=this.\u0275fac=function(o){return new(o||e)(Pt(so),Pt(xv),Pt(yv))};static#t=this.\u0275prov=nt({token:e,factory:e.\u0275fac})}return e})(),xv=(()=>{class e{constructor(){this._applications=new Map}registerApplication(i,o){this._applications.set(i,o)}unregisterApplication(i){this._applications.delete(i)}unregisterAllApplications(){this._applications.clear()}getTestability(i){return this._applications.get(i)||null}getAllTestabilities(){return Array.from(this._applications.values())}getAllRootElements(){return Array.from(this._applications.keys())}findTestabilityInTree(i,o=!0){return dp?.findTestabilityInTree(this,i,o)??null}static#e=this.\u0275fac=function(o){return new(o||e)};static#t=this.\u0275prov=nt({token:e,factory:e.\u0275fac,providedIn:"platform"})}return e})(),bs=null;const up=new ai("PlatformDestroyListeners"),hp=new ai("appBootstrapListener");function TD(e){try{const{rootComponent:t,appProviders:i,platformProviders:o}=e,r=function DD(e=[]){if(bs)return bs;const t=function Dv(e=[],t){return pr.create({name:t,providers:[{provide:kh,useValue:"platform"},{provide:up,useValue:new Set([()=>bs=null])},...e]})}(e);return bs=t,function Ev(){!function ll(e){Tc=e}(()=>{throw new N(600,!1)})}(),function wv(e){e.get(fm,null)?.forEach(i=>i())}(t),t}(o),c=[OD(),...i||[]],g=new ub({providers:c,parent:r,debugName:"",runEnvironmentInitializers:!1}).injector,v=g.get(so);return v.run(()=>{g.resolveInjectorInitializers();const I=g.get(gs,null);let j;v.runOutsideAngular(()=>{j=v.onError.subscribe({next:ot=>{I.handleError(ot)}})});const Te=()=>g.destroy(),We=r.get(up);return We.add(Te),g.onDestroy(()=>{j.unsubscribe(),We.delete(Te)}),function Sv(e,t,i){try{const o=i();return Tf(o)?o.catch(r=>{throw t.runOutsideAngular(()=>e.handleError(r)),r}):o}catch(o){throw t.runOutsideAngular(()=>e.handleError(o)),o}}(I,v,()=>{const ot=g.get(ap);return ot.runInitializers(),ot.donePromise.then(()=>{!function B_(e){Pe(e,"Expected localeId to be defined"),"string"==typeof e&&(L_=e.toLowerCase().replace(/_/g,"-"))}(g.get(du,Ja)||Ja);const jt=g.get(el);return void 0!==t&&jt.bootstrap(t),jt})})})}catch(t){return Promise.reject(t)}}let el=(()=>{class e{constructor(){this._bootstrapListeners=[],this._runningTick=!1,this._destroyed=!1,this._destroyListeners=[],this._views=[],this.internalErrorHandler=wt(Ov),this.zoneIsStable=wt(Am),this.componentTypes=[],this.components=[],this.isStable=wt(mv).hasPendingTasks.pipe((0,we.w)(i=>i?(0,Q.of)(!1):this.zoneIsStable),(0,ie.x)(),(0,ne.B)()),this._injector=wt(Ar)}get destroyed(){return this._destroyed}get injector(){return this._injector}bootstrap(i,o){const r=i instanceof _m;if(!this._injector.get(ap).done)throw!r&&_i(i),new N(405,!1);let f;f=r?i:this._injector.get(Jl).resolveComponentFactory(i),this.componentTypes.push(f.componentType);const g=function ED(e){return e.isBoundToModule}(f)?void 0:this._injector.get(Ys),I=f.create(pr.NULL,[],o||f.selector,g),j=I.location.nativeElement,Te=I.injector.get(vv,null);return Te?.registerApplication(j),I.onDestroy(()=>{this.detachView(I.hostView),hu(this.components,I),Te?.unregisterApplication(j)}),this._loadComponent(I),I}tick(){if(this._runningTick)throw new N(101,!1);try{this._runningTick=!0;for(let i of this._views)i.detectChanges()}catch(i){this.internalErrorHandler(i)}finally{this._runningTick=!1}}attachView(i){const o=i;this._views.push(o),o.attachToAppRef(this)}detachView(i){const o=i;hu(this._views,o),o.detachFromAppRef()}_loadComponent(i){this.attachView(i.hostView),this.tick(),this.components.push(i);const o=this._injector.get(hp,[]);o.push(...this._bootstrapListeners),o.forEach(r=>r(i))}ngOnDestroy(){if(!this._destroyed)try{this._destroyListeners.forEach(i=>i()),this._views.slice().forEach(i=>i.destroy())}finally{this._destroyed=!0,this._views=[],this._bootstrapListeners=[],this._destroyListeners=[]}}onDestroy(i){return this._destroyListeners.push(i),()=>hu(this._destroyListeners,i)}destroy(){if(this._destroyed)throw new N(406,!1);const i=this._injector;i.destroy&&!i.destroyed&&i.destroy()}get viewCount(){return this._views.length}warnIfDestroyed(){}static#e=this.\u0275fac=function(o){return new(o||e)};static#t=this.\u0275prov=nt({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function hu(e,t){const i=e.indexOf(t);i>-1&&e.splice(i,1)}const Ov=new ai("",{providedIn:"root",factory:()=>wt(gs).handleError.bind(void 0)});function ID(){const e=wt(so),t=wt(gs);return i=>e.runOutsideAngular(()=>t.handleError(i))}let AD=(()=>{class e{constructor(){this.zone=wt(so),this.applicationRef=wt(el)}initialize(){this._onMicrotaskEmptySubscription||(this._onMicrotaskEmptySubscription=this.zone.onMicrotaskEmpty.subscribe({next:()=>{this.zone.run(()=>{this.applicationRef.tick()})}}))}ngOnDestroy(){this._onMicrotaskEmptySubscription?.unsubscribe()}static#e=this.\u0275fac=function(o){return new(o||e)};static#t=this.\u0275prov=nt({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function Rv(e){return[{provide:so,useFactory:e},{provide:Wl,multi:!0,useFactory:()=>{const t=wt(AD,{optional:!0});return()=>t.initialize()}},{provide:Ov,useFactory:ID},{provide:Am,useFactory:Om}]}function OD(e){return Oh([[],Rv(()=>new so(function Mv(e){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:e?.eventCoalescing??!1,shouldCoalesceRunChangeDetection:e?.runCoalescing??!1}}(e)))])}function RD(){return!1}let PD=(()=>{class e{static#e=this.__NG_ELEMENT_ID__=kD}return e})();function kD(e){return function FD(e,t,i){if(lo(e)&&!i){const o=Eo(e.index,t);return new ic(o,o)}return 47&e.type?new ic(t[_n],t):null}(io(),Lt(),16==(16&e))}class Nv{constructor(){}supports(t){return zd(t)}create(t){return new UD(t)}}const HD=(e,t)=>t;class UD{constructor(t){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=t||HD}forEachItem(t){let i;for(i=this._itHead;null!==i;i=i._next)t(i)}forEachOperation(t){let i=this._itHead,o=this._removalsHead,r=0,c=null;for(;i||o;){const f=!o||i&&i.currentIndex{f=this._trackByFn(r,g),null!==i&&Object.is(i.trackById,f)?(o&&(i=this._verifyReinsertion(i,g,f,r)),Object.is(i.item,g)||this._addIdentityChange(i,g)):(i=this._mismatch(i,g,f,r),o=!0),i=i._next,r++}),this.length=r;return this._truncate(i),this.collection=t,this.isDirty}get isDirty(){return null!==this._additionsHead||null!==this._movesHead||null!==this._removalsHead||null!==this._identityChangesHead}_reset(){if(this.isDirty){let t;for(t=this._previousItHead=this._itHead;null!==t;t=t._next)t._nextPrevious=t._next;for(t=this._additionsHead;null!==t;t=t._nextAdded)t.previousIndex=t.currentIndex;for(this._additionsHead=this._additionsTail=null,t=this._movesHead;null!==t;t=t._nextMoved)t.previousIndex=t.currentIndex;this._movesHead=this._movesTail=null,this._removalsHead=this._removalsTail=null,this._identityChangesHead=this._identityChangesTail=null}}_mismatch(t,i,o,r){let c;return null===t?c=this._itTail:(c=t._prev,this._remove(t)),null!==(t=null===this._unlinkedRecords?null:this._unlinkedRecords.get(o,null))?(Object.is(t.item,i)||this._addIdentityChange(t,i),this._reinsertAfter(t,c,r)):null!==(t=null===this._linkedRecords?null:this._linkedRecords.get(o,r))?(Object.is(t.item,i)||this._addIdentityChange(t,i),this._moveAfter(t,c,r)):t=this._addAfter(new jD(i,o),c,r),t}_verifyReinsertion(t,i,o,r){let c=null===this._unlinkedRecords?null:this._unlinkedRecords.get(o,null);return null!==c?t=this._reinsertAfter(c,t._prev,r):t.currentIndex!=r&&(t.currentIndex=r,this._addToMoves(t,r)),t}_truncate(t){for(;null!==t;){const i=t._next;this._addToRemovals(this._unlink(t)),t=i}null!==this._unlinkedRecords&&this._unlinkedRecords.clear(),null!==this._additionsTail&&(this._additionsTail._nextAdded=null),null!==this._movesTail&&(this._movesTail._nextMoved=null),null!==this._itTail&&(this._itTail._next=null),null!==this._removalsTail&&(this._removalsTail._nextRemoved=null),null!==this._identityChangesTail&&(this._identityChangesTail._nextIdentityChange=null)}_reinsertAfter(t,i,o){null!==this._unlinkedRecords&&this._unlinkedRecords.remove(t);const r=t._prevRemoved,c=t._nextRemoved;return null===r?this._removalsHead=c:r._nextRemoved=c,null===c?this._removalsTail=r:c._prevRemoved=r,this._insertAfter(t,i,o),this._addToMoves(t,o),t}_moveAfter(t,i,o){return this._unlink(t),this._insertAfter(t,i,o),this._addToMoves(t,o),t}_addAfter(t,i,o){return this._insertAfter(t,i,o),this._additionsTail=null===this._additionsTail?this._additionsHead=t:this._additionsTail._nextAdded=t,t}_insertAfter(t,i,o){const r=null===i?this._itHead:i._next;return t._next=r,t._prev=i,null===r?this._itTail=t:r._prev=t,null===i?this._itHead=t:i._next=t,null===this._linkedRecords&&(this._linkedRecords=new Lv),this._linkedRecords.put(t),t.currentIndex=o,t}_remove(t){return this._addToRemovals(this._unlink(t))}_unlink(t){null!==this._linkedRecords&&this._linkedRecords.remove(t);const i=t._prev,o=t._next;return null===i?this._itHead=o:i._next=o,null===o?this._itTail=i:o._prev=i,t}_addToMoves(t,i){return t.previousIndex===i||(this._movesTail=null===this._movesTail?this._movesHead=t:this._movesTail._nextMoved=t),t}_addToRemovals(t){return null===this._unlinkedRecords&&(this._unlinkedRecords=new Lv),this._unlinkedRecords.put(t),t.currentIndex=null,t._nextRemoved=null,null===this._removalsTail?(this._removalsTail=this._removalsHead=t,t._prevRemoved=null):(t._prevRemoved=this._removalsTail,this._removalsTail=this._removalsTail._nextRemoved=t),t}_addIdentityChange(t,i){return t.item=i,this._identityChangesTail=null===this._identityChangesTail?this._identityChangesHead=t:this._identityChangesTail._nextIdentityChange=t,t}}class jD{constructor(t,i){this.item=t,this.trackById=i,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}}class zD{constructor(){this._head=null,this._tail=null}add(t){null===this._head?(this._head=this._tail=t,t._nextDup=null,t._prevDup=null):(this._tail._nextDup=t,t._prevDup=this._tail,t._nextDup=null,this._tail=t)}get(t,i){let o;for(o=this._head;null!==o;o=o._nextDup)if((null===i||i<=o.currentIndex)&&Object.is(o.trackById,t))return o;return null}remove(t){const i=t._prevDup,o=t._nextDup;return null===i?this._head=o:i._nextDup=o,null===o?this._tail=i:o._prevDup=i,null===this._head}}class Lv{constructor(){this.map=new Map}put(t){const i=t.trackById;let o=this.map.get(i);o||(o=new zD,this.map.set(i,o)),o.add(t)}get(t,i){const r=this.map.get(t);return r?r.get(t,i):null}remove(t){const i=t.trackById;return this.map.get(i).remove(t)&&this.map.delete(i),t}get isEmpty(){return 0===this.map.size}clear(){this.map.clear()}}function Bv(e,t,i){const o=e.previousIndex;if(null===o)return o;let r=0;return i&&o{if(i&&i.key===r)this._maybeAddToChanges(i,o),this._appendAfter=i,i=i._next;else{const c=this._getOrCreateRecordForKey(r,o);i=this._insertBeforeOrAppend(i,c)}}),i){i._prev&&(i._prev._next=null),this._removalsHead=i;for(let o=i;null!==o;o=o._nextRemoved)o===this._mapHead&&(this._mapHead=null),this._records.delete(o.key),o._nextRemoved=o._next,o.previousValue=o.currentValue,o.currentValue=null,o._prev=null,o._next=null}return this._changesTail&&(this._changesTail._nextChanged=null),this._additionsTail&&(this._additionsTail._nextAdded=null),this.isDirty}_insertBeforeOrAppend(t,i){if(t){const o=t._prev;return i._next=t,i._prev=o,t._prev=i,o&&(o._next=i),t===this._mapHead&&(this._mapHead=i),this._appendAfter=t,t}return this._appendAfter?(this._appendAfter._next=i,i._prev=this._appendAfter):this._mapHead=i,this._appendAfter=i,null}_getOrCreateRecordForKey(t,i){if(this._records.has(t)){const r=this._records.get(t);this._maybeAddToChanges(r,i);const c=r._prev,f=r._next;return c&&(c._next=f),f&&(f._prev=c),r._next=null,r._prev=null,r}const o=new $D(t);return this._records.set(t,o),o.currentValue=i,this._addToAdditions(o),o}_reset(){if(this.isDirty){let t;for(this._previousMapHead=this._mapHead,t=this._previousMapHead;null!==t;t=t._next)t._nextPrevious=t._next;for(t=this._changesHead;null!==t;t=t._nextChanged)t.previousValue=t.currentValue;for(t=this._additionsHead;null!=t;t=t._nextAdded)t.previousValue=t.currentValue;this._changesHead=this._changesTail=null,this._additionsHead=this._additionsTail=null,this._removalsHead=null}}_maybeAddToChanges(t,i){Object.is(i,t.currentValue)||(t.previousValue=t.currentValue,t.currentValue=i,this._addToChanges(t))}_addToAdditions(t){null===this._additionsHead?this._additionsHead=this._additionsTail=t:(this._additionsTail._nextAdded=t,this._additionsTail=t)}_addToChanges(t){null===this._changesHead?this._changesHead=this._changesTail=t:(this._changesTail._nextChanged=t,this._changesTail=t)}_forEach(t,i){t instanceof Map?t.forEach(i):Object.keys(t).forEach(o=>i(t[o],o))}}class $D{constructor(t){this.key=t,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 Hv(){return new bp([new Nv])}let bp=(()=>{class e{static#e=this.\u0275prov=nt({token:e,providedIn:"root",factory:Hv});constructor(i){this.factories=i}static create(i,o){if(null!=o){const r=o.factories.slice();i=i.concat(r)}return new e(i)}static extend(i){return{provide:e,useFactory:o=>e.create(i,o||Hv()),deps:[[e,new zr,new jr]]}}find(i){const o=this.factories.find(r=>r.supports(i));if(null!=o)return o;throw new N(901,!1)}}return e})();function Uv(){return new vp([new Vv])}let vp=(()=>{class e{static#e=this.\u0275prov=nt({token:e,providedIn:"root",factory:Uv});constructor(i){this.factories=i}static create(i,o){if(o){const r=o.factories.slice();i=i.concat(r)}return new e(i)}static extend(i){return{provide:e,useFactory:o=>e.create(i,o||Uv()),deps:[[e,new zr,new jr]]}}find(i){const o=this.factories.find(r=>r.supports(i));if(o)return o;throw new N(901,!1)}}return e})();function r1(e){return"boolean"==typeof e?e:null!=e&&"false"!==e}},6223:(_t,Me,p)=>{p.d(Me,{CE:()=>b,Cf:()=>se,F:()=>Qe,Fd:()=>$i,Fj:()=>De,JJ:()=>vt,JL:()=>en,JU:()=>we,NI:()=>Et,Oe:()=>So,On:()=>Fn,UX:()=>ir,Zs:()=>tt,_Y:()=>xi,a5:()=>Je,cw:()=>_e,kI:()=>oe,qQ:()=>Lo,sg:()=>Qi,u:()=>M,u5:()=>yr,wV:()=>fi,x0:()=>Gi});var n=p(5879),l=p(6814),w=p(7715),E=p(9315),H=p(7398);let Q=(()=>{class O{constructor(C,te){this._renderer=C,this._elementRef=te,this.onChange=Ue=>{},this.onTouched=()=>{}}setProperty(C,te){this._renderer.setProperty(this._elementRef.nativeElement,C,te)}registerOnTouched(C){this.onTouched=C}registerOnChange(C){this.onChange=C}setDisabledState(C){this.setProperty("disabled",C)}static#e=this.\u0275fac=function(te){return new(te||O)(n.Y36(n.Qsj),n.Y36(n.SBq))};static#t=this.\u0275dir=n.lG2({type:O})}return O})(),ne=(()=>{class O extends Q{static#e=this.\u0275fac=function(){let C;return function(Ue){return(C||(C=n.n5z(O)))(Ue||O)}}();static#t=this.\u0275dir=n.lG2({type:O,features:[n.qOj]})}return O})();const we=new n.OlP("NgValueAccessor"),xe={provide:we,useExisting:(0,n.Gpc)(()=>De),multi:!0},ce=new n.OlP("CompositionEventMode");let De=(()=>{class O extends Q{constructor(C,te,Ue){super(C,te),this._compositionMode=Ue,this._composing=!1,null==this._compositionMode&&(this._compositionMode=!function fe(){const O=(0,l.q)()?(0,l.q)().getUserAgent():"";return/android (\d+)/.test(O.toLowerCase())}())}writeValue(C){this.setProperty("value",C??"")}_handleInput(C){(!this._compositionMode||this._compositionMode&&!this._composing)&&this.onChange(C)}_compositionStart(){this._composing=!0}_compositionEnd(C){this._composing=!1,this._compositionMode&&this.onChange(C)}static#e=this.\u0275fac=function(te){return new(te||O)(n.Y36(n.Qsj),n.Y36(n.SBq),n.Y36(ce,8))};static#t=this.\u0275dir=n.lG2({type:O,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(te,Ue){1&te&&n.NdJ("input",function(Nn){return Ue._handleInput(Nn.target.value)})("blur",function(){return Ue.onTouched()})("compositionstart",function(){return Ue._compositionStart()})("compositionend",function(Nn){return Ue._compositionEnd(Nn.target.value)})},features:[n._Bn([xe]),n.qOj]})}return O})();function Ae(O){return null==O||("string"==typeof O||Array.isArray(O))&&0===O.length}function Le(O){return null!=O&&"number"==typeof O.length}const se=new n.OlP("NgValidators"),ue=new n.OlP("NgAsyncValidators"),ze=/^(?=.{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])?)*$/;class oe{static min(k){return N(k)}static max(k){return Ce(k)}static required(k){return K(k)}static requiredTrue(k){return ve(k)}static email(k){return function ye(O){return Ae(O.value)||ze.test(O.value)?null:{email:!0}}(k)}static minLength(k){return function He(O){return k=>Ae(k.value)||!Le(k.value)?null:k.value.lengthLe(k.value)&&k.value.length>O?{maxlength:{requiredLength:O,actualLength:k.value.length}}:null}(k)}static pattern(k){return function ct(O){if(!O)return xt;let k,C;return"string"==typeof O?(C="","^"!==O.charAt(0)&&(C+="^"),C+=O,"$"!==O.charAt(O.length-1)&&(C+="$"),k=new RegExp(C)):(C=O.toString(),k=O),te=>{if(Ae(te.value))return null;const Ue=te.value;return k.test(Ue)?null:{pattern:{requiredPattern:C,actualValue:Ue}}}}(k)}static nullValidator(k){return null}static compose(k){return P(k)}static composeAsync(k){return B(k)}}function N(O){return k=>{if(Ae(k.value)||Ae(O))return null;const C=parseFloat(k.value);return!isNaN(C)&&C{if(Ae(k.value)||Ae(O))return null;const C=parseFloat(k.value);return!isNaN(C)&&C>O?{max:{max:O,actual:k.value}}:null}}function K(O){return Ae(O.value)?{required:!0}:null}function ve(O){return!0===O.value?null:{required:!0}}function xt(O){return null}function Ut(O){return null!=O}function It(O){return(0,n.QGY)(O)?(0,w.D)(O):O}function sn(O){let k={};return O.forEach(C=>{k=null!=C?{...k,...C}:k}),0===Object.keys(k).length?null:k}function Xe(O,k){return k.map(C=>C(O))}function Y(O){return O.map(k=>function At(O){return!O.validate}(k)?k:C=>k.validate(C))}function P(O){if(!O)return null;const k=O.filter(Ut);return 0==k.length?null:function(C){return sn(Xe(C,k))}}function ae(O){return null!=O?P(Y(O)):null}function B(O){if(!O)return null;const k=O.filter(Ut);return 0==k.length?null:function(C){const te=Xe(C,k).map(It);return(0,E.D)(te).pipe((0,H.U)(sn))}}function Se(O){return null!=O?B(Y(O)):null}function L(O,k){return null===O?[k]:Array.isArray(O)?[...O,k]:[O,k]}function V(O){return O._rawValidators}function Pe(O){return O._rawAsyncValidators}function re(O){return O?Array.isArray(O)?O:[O]:[]}function je(O,k){return Array.isArray(O)?O.includes(k):O===k}function et(O,k){const C=re(k);return re(O).forEach(Ue=>{je(C,Ue)||C.push(Ue)}),C}function st(O,k){return re(k).filter(C=>!je(O,C))}class nt{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(k){this._rawValidators=k||[],this._composedValidatorFn=ae(this._rawValidators)}_setAsyncValidators(k){this._rawAsyncValidators=k||[],this._composedAsyncValidatorFn=Se(this._rawAsyncValidators)}get validator(){return this._composedValidatorFn||null}get asyncValidator(){return this._composedAsyncValidatorFn||null}_registerOnDestroy(k){this._onDestroyCallbacks.push(k)}_invokeOnDestroyCallbacks(){this._onDestroyCallbacks.forEach(k=>k()),this._onDestroyCallbacks=[]}reset(k=void 0){this.control&&this.control.reset(k)}hasError(k,C){return!!this.control&&this.control.hasError(k,C)}getError(k,C){return this.control?this.control.getError(k,C):null}}class Bt extends nt{get formDirective(){return null}get path(){return null}}class Je extends nt{constructor(){super(...arguments),this._parent=null,this.name=null,this.valueAccessor=null}}class bt{constructor(k){this._cd=k}get isTouched(){return!!this._cd?.control?.touched}get isUntouched(){return!!this._cd?.control?.untouched}get isPristine(){return!!this._cd?.control?.pristine}get isDirty(){return!!this._cd?.control?.dirty}get isValid(){return!!this._cd?.control?.valid}get isInvalid(){return!!this._cd?.control?.invalid}get isPending(){return!!this._cd?.control?.pending}get isSubmitted(){return!!this._cd?.submitted}}let vt=(()=>{class O extends bt{constructor(C){super(C)}static#e=this.\u0275fac=function(te){return new(te||O)(n.Y36(Je,2))};static#t=this.\u0275dir=n.lG2({type:O,selectors:[["","formControlName",""],["","ngModel",""],["","formControl",""]],hostVars:14,hostBindings:function(te,Ue){2&te&&n.ekj("ng-untouched",Ue.isUntouched)("ng-touched",Ue.isTouched)("ng-pristine",Ue.isPristine)("ng-dirty",Ue.isDirty)("ng-valid",Ue.isValid)("ng-invalid",Ue.isInvalid)("ng-pending",Ue.isPending)},features:[n.qOj]})}return O})(),en=(()=>{class O extends bt{constructor(C){super(C)}static#e=this.\u0275fac=function(te){return new(te||O)(n.Y36(Bt,10))};static#t=this.\u0275dir=n.lG2({type:O,selectors:[["","formGroupName",""],["","formArrayName",""],["","ngModelGroup",""],["","formGroup",""],["form",3,"ngNoForm",""],["","ngForm",""]],hostVars:16,hostBindings:function(te,Ue){2&te&&n.ekj("ng-untouched",Ue.isUntouched)("ng-touched",Ue.isTouched)("ng-pristine",Ue.isPristine)("ng-dirty",Ue.isDirty)("ng-valid",Ue.isValid)("ng-invalid",Ue.isInvalid)("ng-pending",Ue.isPending)("ng-submitted",Ue.isSubmitted)},features:[n.qOj]})}return O})();const bn="VALID",pn="INVALID",gn="PENDING",yn="DISABLED";function kn(O){return(G(O)?O.validators:O)||null}function me(O,k){return(G(k)?k.asyncValidators:O)||null}function G(O){return null!=O&&!Array.isArray(O)&&"object"==typeof O}function Ie(O,k,C){const te=O.controls;if(!(k?Object.keys(te):te).length)throw new n.vHH(1e3,"");if(!te[C])throw new n.vHH(1001,"")}function $e(O,k,C){O._forEachChild((te,Ue)=>{if(void 0===C[Ue])throw new n.vHH(1002,"")})}class St{constructor(k,C){this._pendingDirty=!1,this._hasOwnPendingAsyncValidator=!1,this._pendingTouched=!1,this._onCollectionChange=()=>{},this._parent=null,this.pristine=!0,this.touched=!1,this._onDisabledChange=[],this._assignValidators(k),this._assignAsyncValidators(C)}get validator(){return this._composedValidatorFn}set validator(k){this._rawValidators=this._composedValidatorFn=k}get asyncValidator(){return this._composedAsyncValidatorFn}set asyncValidator(k){this._rawAsyncValidators=this._composedAsyncValidatorFn=k}get parent(){return this._parent}get valid(){return this.status===bn}get invalid(){return this.status===pn}get pending(){return this.status==gn}get disabled(){return this.status===yn}get enabled(){return this.status!==yn}get dirty(){return!this.pristine}get untouched(){return!this.touched}get updateOn(){return this._updateOn?this._updateOn:this.parent?this.parent.updateOn:"change"}setValidators(k){this._assignValidators(k)}setAsyncValidators(k){this._assignAsyncValidators(k)}addValidators(k){this.setValidators(et(k,this._rawValidators))}addAsyncValidators(k){this.setAsyncValidators(et(k,this._rawAsyncValidators))}removeValidators(k){this.setValidators(st(k,this._rawValidators))}removeAsyncValidators(k){this.setAsyncValidators(st(k,this._rawAsyncValidators))}hasValidator(k){return je(this._rawValidators,k)}hasAsyncValidator(k){return je(this._rawAsyncValidators,k)}clearValidators(){this.validator=null}clearAsyncValidators(){this.asyncValidator=null}markAsTouched(k={}){this.touched=!0,this._parent&&!k.onlySelf&&this._parent.markAsTouched(k)}markAllAsTouched(){this.markAsTouched({onlySelf:!0}),this._forEachChild(k=>k.markAllAsTouched())}markAsUntouched(k={}){this.touched=!1,this._pendingTouched=!1,this._forEachChild(C=>{C.markAsUntouched({onlySelf:!0})}),this._parent&&!k.onlySelf&&this._parent._updateTouched(k)}markAsDirty(k={}){this.pristine=!1,this._parent&&!k.onlySelf&&this._parent.markAsDirty(k)}markAsPristine(k={}){this.pristine=!0,this._pendingDirty=!1,this._forEachChild(C=>{C.markAsPristine({onlySelf:!0})}),this._parent&&!k.onlySelf&&this._parent._updatePristine(k)}markAsPending(k={}){this.status=gn,!1!==k.emitEvent&&this.statusChanges.emit(this.status),this._parent&&!k.onlySelf&&this._parent.markAsPending(k)}disable(k={}){const C=this._parentMarkedDirty(k.onlySelf);this.status=yn,this.errors=null,this._forEachChild(te=>{te.disable({...k,onlySelf:!0})}),this._updateValue(),!1!==k.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors({...k,skipPristineCheck:C}),this._onDisabledChange.forEach(te=>te(!0))}enable(k={}){const C=this._parentMarkedDirty(k.onlySelf);this.status=bn,this._forEachChild(te=>{te.enable({...k,onlySelf:!0})}),this.updateValueAndValidity({onlySelf:!0,emitEvent:k.emitEvent}),this._updateAncestors({...k,skipPristineCheck:C}),this._onDisabledChange.forEach(te=>te(!1))}_updateAncestors(k){this._parent&&!k.onlySelf&&(this._parent.updateValueAndValidity(k),k.skipPristineCheck||this._parent._updatePristine(),this._parent._updateTouched())}setParent(k){this._parent=k}getRawValue(){return this.value}updateValueAndValidity(k={}){this._setInitialStatus(),this._updateValue(),this.enabled&&(this._cancelExistingSubscription(),this.errors=this._runValidator(),this.status=this._calculateStatus(),(this.status===bn||this.status===gn)&&this._runAsyncValidator(k.emitEvent)),!1!==k.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._parent&&!k.onlySelf&&this._parent.updateValueAndValidity(k)}_updateTreeValidity(k={emitEvent:!0}){this._forEachChild(C=>C._updateTreeValidity(k)),this.updateValueAndValidity({onlySelf:!0,emitEvent:k.emitEvent})}_setInitialStatus(){this.status=this._allControlsDisabled()?yn:bn}_runValidator(){return this.validator?this.validator(this):null}_runAsyncValidator(k){if(this.asyncValidator){this.status=gn,this._hasOwnPendingAsyncValidator=!0;const C=It(this.asyncValidator(this));this._asyncValidationSubscription=C.subscribe(te=>{this._hasOwnPendingAsyncValidator=!1,this.setErrors(te,{emitEvent:k})})}}_cancelExistingSubscription(){this._asyncValidationSubscription&&(this._asyncValidationSubscription.unsubscribe(),this._hasOwnPendingAsyncValidator=!1)}setErrors(k,C={}){this.errors=k,this._updateControlsErrors(!1!==C.emitEvent)}get(k){let C=k;return null==C||(Array.isArray(C)||(C=C.split(".")),0===C.length)?null:C.reduce((te,Ue)=>te&&te._find(Ue),this)}getError(k,C){const te=C?this.get(C):this;return te&&te.errors?te.errors[k]:null}hasError(k,C){return!!this.getError(k,C)}get root(){let k=this;for(;k._parent;)k=k._parent;return k}_updateControlsErrors(k){this.status=this._calculateStatus(),k&&this.statusChanges.emit(this.status),this._parent&&this._parent._updateControlsErrors(k)}_initObservables(){this.valueChanges=new n.vpe,this.statusChanges=new n.vpe}_calculateStatus(){return this._allControlsDisabled()?yn:this.errors?pn:this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus(gn)?gn:this._anyControlsHaveStatus(pn)?pn:bn}_anyControlsHaveStatus(k){return this._anyControls(C=>C.status===k)}_anyControlsDirty(){return this._anyControls(k=>k.dirty)}_anyControlsTouched(){return this._anyControls(k=>k.touched)}_updatePristine(k={}){this.pristine=!this._anyControlsDirty(),this._parent&&!k.onlySelf&&this._parent._updatePristine(k)}_updateTouched(k={}){this.touched=this._anyControlsTouched(),this._parent&&!k.onlySelf&&this._parent._updateTouched(k)}_registerOnCollectionChange(k){this._onCollectionChange=k}_setUpdateStrategy(k){G(k)&&null!=k.updateOn&&(this._updateOn=k.updateOn)}_parentMarkedDirty(k){return!k&&!(!this._parent||!this._parent.dirty)&&!this._parent._anyControlsDirty()}_find(k){return null}_assignValidators(k){this._rawValidators=Array.isArray(k)?k.slice():k,this._composedValidatorFn=function ut(O){return Array.isArray(O)?ae(O):O||null}(this._rawValidators)}_assignAsyncValidators(k){this._rawAsyncValidators=Array.isArray(k)?k.slice():k,this._composedAsyncValidatorFn=function le(O){return Array.isArray(O)?Se(O):O||null}(this._rawAsyncValidators)}}class _e extends St{constructor(k,C,te){super(kn(C),me(te,C)),this.controls=k,this._initObservables(),this._setUpdateStrategy(C),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}registerControl(k,C){return this.controls[k]?this.controls[k]:(this.controls[k]=C,C.setParent(this),C._registerOnCollectionChange(this._onCollectionChange),C)}addControl(k,C,te={}){this.registerControl(k,C),this.updateValueAndValidity({emitEvent:te.emitEvent}),this._onCollectionChange()}removeControl(k,C={}){this.controls[k]&&this.controls[k]._registerOnCollectionChange(()=>{}),delete this.controls[k],this.updateValueAndValidity({emitEvent:C.emitEvent}),this._onCollectionChange()}setControl(k,C,te={}){this.controls[k]&&this.controls[k]._registerOnCollectionChange(()=>{}),delete this.controls[k],C&&this.registerControl(k,C),this.updateValueAndValidity({emitEvent:te.emitEvent}),this._onCollectionChange()}contains(k){return this.controls.hasOwnProperty(k)&&this.controls[k].enabled}setValue(k,C={}){$e(this,0,k),Object.keys(k).forEach(te=>{Ie(this,!0,te),this.controls[te].setValue(k[te],{onlySelf:!0,emitEvent:C.emitEvent})}),this.updateValueAndValidity(C)}patchValue(k,C={}){null!=k&&(Object.keys(k).forEach(te=>{const Ue=this.controls[te];Ue&&Ue.patchValue(k[te],{onlySelf:!0,emitEvent:C.emitEvent})}),this.updateValueAndValidity(C))}reset(k={},C={}){this._forEachChild((te,Ue)=>{te.reset(k[Ue],{onlySelf:!0,emitEvent:C.emitEvent})}),this._updatePristine(C),this._updateTouched(C),this.updateValueAndValidity(C)}getRawValue(){return this._reduceChildren({},(k,C,te)=>(k[te]=C.getRawValue(),k))}_syncPendingControls(){let k=this._reduceChildren(!1,(C,te)=>!!te._syncPendingControls()||C);return k&&this.updateValueAndValidity({onlySelf:!0}),k}_forEachChild(k){Object.keys(this.controls).forEach(C=>{const te=this.controls[C];te&&k(te,C)})}_setUpControls(){this._forEachChild(k=>{k.setParent(this),k._registerOnCollectionChange(this._onCollectionChange)})}_updateValue(){this.value=this._reduceValue()}_anyControls(k){for(const[C,te]of Object.entries(this.controls))if(this.contains(C)&&k(te))return!0;return!1}_reduceValue(){return this._reduceChildren({},(C,te,Ue)=>((te.enabled||this.disabled)&&(C[Ue]=te.value),C))}_reduceChildren(k,C){let te=k;return this._forEachChild((Ue,mn)=>{te=C(te,Ue,mn)}),te}_allControlsDisabled(){for(const k of Object.keys(this.controls))if(this.controls[k].enabled)return!1;return Object.keys(this.controls).length>0||this.disabled}_find(k){return this.controls.hasOwnProperty(k)?this.controls[k]:null}}const yt=new n.OlP("CallSetDisabledState",{providedIn:"root",factory:()=>Pt}),Pt="always";function at(O,k){return[...k.path,O]}function wt(O,k,C=Pt){Ee(O,k),k.valueAccessor.writeValue(O.value),(O.disabled||"always"===C)&&k.valueAccessor.setDisabledState?.(O.disabled),function Ve(O,k){k.valueAccessor.registerOnChange(C=>{O._pendingValue=C,O._pendingChange=!0,O._pendingDirty=!0,"change"===O.updateOn&&Rt(O,k)})}(O,k),function Ht(O,k){const C=(te,Ue)=>{k.valueAccessor.writeValue(te),Ue&&k.viewToModelUpdate(te)};O.registerOnChange(C),k._registerOnDestroy(()=>{O._unregisterOnChange(C)})}(O,k),function dt(O,k){k.valueAccessor.registerOnTouched(()=>{O._pendingTouched=!0,"blur"===O.updateOn&&O._pendingChange&&Rt(O,k),"submit"!==O.updateOn&&O.markAsTouched()})}(O,k),function Ke(O,k){if(k.valueAccessor.setDisabledState){const C=te=>{k.valueAccessor.setDisabledState(te)};O.registerOnDisabledChange(C),k._registerOnDestroy(()=>{O._unregisterOnDisabledChange(C)})}}(O,k)}function de(O,k,C=!0){const te=()=>{};k.valueAccessor&&(k.valueAccessor.registerOnChange(te),k.valueAccessor.registerOnTouched(te)),ge(O,k),O&&(k._invokeOnDestroyCallbacks(),O._registerOnCollectionChange(()=>{}))}function ke(O,k){O.forEach(C=>{C.registerOnValidatorChange&&C.registerOnValidatorChange(k)})}function Ee(O,k){const C=V(O);null!==k.validator?O.setValidators(L(C,k.validator)):"function"==typeof C&&O.setValidators([C]);const te=Pe(O);null!==k.asyncValidator?O.setAsyncValidators(L(te,k.asyncValidator)):"function"==typeof te&&O.setAsyncValidators([te]);const Ue=()=>O.updateValueAndValidity();ke(k._rawValidators,Ue),ke(k._rawAsyncValidators,Ue)}function ge(O,k){let C=!1;if(null!==O){if(null!==k.validator){const Ue=V(O);if(Array.isArray(Ue)&&Ue.length>0){const mn=Ue.filter(Nn=>Nn!==k.validator);mn.length!==Ue.length&&(C=!0,O.setValidators(mn))}}if(null!==k.asyncValidator){const Ue=Pe(O);if(Array.isArray(Ue)&&Ue.length>0){const mn=Ue.filter(Nn=>Nn!==k.asyncValidator);mn.length!==Ue.length&&(C=!0,O.setAsyncValidators(mn))}}}const te=()=>{};return ke(k._rawValidators,te),ke(k._rawAsyncValidators,te),C}function Rt(O,k){O._pendingDirty&&O.markAsDirty(),O.setValue(O._pendingValue,{emitModelToViewChange:!1}),k.viewToModelUpdate(O._pendingValue),O._pendingChange=!1}function Nt(O,k){Ee(O,k)}function li(O,k){if(!O.hasOwnProperty("model"))return!1;const C=O.model;return!!C.isFirstChange()||!Object.is(k,C.currentValue)}function Tn(O,k){O._syncPendingControls(),k.forEach(C=>{const te=C.control;"submit"===te.updateOn&&te._pendingChange&&(C.viewToModelUpdate(te._pendingValue),te._pendingChange=!1)})}function Sn(O,k){if(!k)return null;let C,te,Ue;return Array.isArray(k),k.forEach(mn=>{mn.constructor===De?C=mn:function gi(O){return Object.getPrototypeOf(O.constructor)===ne}(mn)?te=mn:Ue=mn}),Ue||te||C||null}const Vn={provide:Bt,useExisting:(0,n.Gpc)(()=>Qe)},oi=(()=>Promise.resolve())();let Qe=(()=>{class O extends Bt{constructor(C,te,Ue){super(),this.callSetDisabledState=Ue,this.submitted=!1,this._directives=new Set,this.ngSubmit=new n.vpe,this.form=new _e({},ae(C),Se(te))}ngAfterViewInit(){this._setUpdateStrategy()}get formDirective(){return this}get control(){return this.form}get path(){return[]}get controls(){return this.form.controls}addControl(C){oi.then(()=>{const te=this._findContainer(C.path);C.control=te.registerControl(C.name,C.control),wt(C.control,C,this.callSetDisabledState),C.control.updateValueAndValidity({emitEvent:!1}),this._directives.add(C)})}getControl(C){return this.form.get(C.path)}removeControl(C){oi.then(()=>{const te=this._findContainer(C.path);te&&te.removeControl(C.name),this._directives.delete(C)})}addFormGroup(C){oi.then(()=>{const te=this._findContainer(C.path),Ue=new _e({});Nt(Ue,C),te.registerControl(C.name,Ue),Ue.updateValueAndValidity({emitEvent:!1})})}removeFormGroup(C){oi.then(()=>{const te=this._findContainer(C.path);te&&te.removeControl(C.name)})}getFormGroup(C){return this.form.get(C.path)}updateModel(C,te){oi.then(()=>{this.form.get(C.path).setValue(te)})}setValue(C){this.control.setValue(C)}onSubmit(C){return this.submitted=!0,Tn(this.form,this._directives),this.ngSubmit.emit(C),"dialog"===C?.target?.method}onReset(){this.resetForm()}resetForm(C=void 0){this.form.reset(C),this.submitted=!1}_setUpdateStrategy(){this.options&&null!=this.options.updateOn&&(this.form._updateOn=this.options.updateOn)}_findContainer(C){return C.pop(),C.length?this.form.get(C):this.form}static#e=this.\u0275fac=function(te){return new(te||O)(n.Y36(se,10),n.Y36(ue,10),n.Y36(yt,8))};static#t=this.\u0275dir=n.lG2({type:O,selectors:[["form",3,"ngNoForm","",3,"formGroup",""],["ng-form"],["","ngForm",""]],hostBindings:function(te,Ue){1&te&&n.NdJ("submit",function(Nn){return Ue.onSubmit(Nn)})("reset",function(){return Ue.onReset()})},inputs:{options:["ngFormOptions","options"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[n._Bn([Vn]),n.qOj]})}return O})();function Dt(O,k){const C=O.indexOf(k);C>-1&&O.splice(C,1)}function qe(O){return"object"==typeof O&&null!==O&&2===Object.keys(O).length&&"value"in O&&"disabled"in O}const Et=class extends St{constructor(k=null,C,te){super(kn(C),me(te,C)),this.defaultValue=null,this._onChange=[],this._pendingChange=!1,this._applyFormState(k),this._setUpdateStrategy(C),this._initObservables(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator}),G(C)&&(C.nonNullable||C.initialValueIsDefault)&&(this.defaultValue=qe(k)?k.value:k)}setValue(k,C={}){this.value=this._pendingValue=k,this._onChange.length&&!1!==C.emitModelToViewChange&&this._onChange.forEach(te=>te(this.value,!1!==C.emitViewToModelChange)),this.updateValueAndValidity(C)}patchValue(k,C={}){this.setValue(k,C)}reset(k=this.defaultValue,C={}){this._applyFormState(k),this.markAsPristine(C),this.markAsUntouched(C),this.setValue(this.value,C),this._pendingChange=!1}_updateValue(){}_anyControls(k){return!1}_allControlsDisabled(){return this.disabled}registerOnChange(k){this._onChange.push(k)}_unregisterOnChange(k){Dt(this._onChange,k)}registerOnDisabledChange(k){this._onDisabledChange.push(k)}_unregisterOnDisabledChange(k){Dt(this._onDisabledChange,k)}_forEachChild(k){}_syncPendingControls(){return!("submit"!==this.updateOn||(this._pendingDirty&&this.markAsDirty(),this._pendingTouched&&this.markAsTouched(),!this._pendingChange)||(this.setValue(this._pendingValue,{onlySelf:!0,emitModelToViewChange:!1}),0))}_applyFormState(k){qe(k)?(this.value=this._pendingValue=k.value,k.disabled?this.disable({onlySelf:!0,emitEvent:!1}):this.enable({onlySelf:!0,emitEvent:!1})):this.value=this._pendingValue=k}};let x=(()=>{class O extends Bt{ngOnInit(){this._checkParentType(),this.formDirective.addFormGroup(this)}ngOnDestroy(){this.formDirective&&this.formDirective.removeFormGroup(this)}get control(){return this.formDirective.getFormGroup(this)}get path(){return at(null==this.name?this.name:this.name.toString(),this._parent)}get formDirective(){return this._parent?this._parent.formDirective:null}_checkParentType(){}static#e=this.\u0275fac=function(){let C;return function(Ue){return(C||(C=n.n5z(O)))(Ue||O)}}();static#t=this.\u0275dir=n.lG2({type:O,features:[n.qOj]})}return O})();const Hn={provide:Je,useExisting:(0,n.Gpc)(()=>Fn)},ci=(()=>Promise.resolve())();let Fn=(()=>{class O extends Je{constructor(C,te,Ue,mn,Nn,Vo){super(),this._changeDetectorRef=Nn,this.callSetDisabledState=Vo,this.control=new Et,this._registered=!1,this.name="",this.update=new n.vpe,this._parent=C,this._setValidators(te),this._setAsyncValidators(Ue),this.valueAccessor=Sn(0,mn)}ngOnChanges(C){if(this._checkForErrors(),!this._registered||"name"in C){if(this._registered&&(this._checkName(),this.formDirective)){const te=C.name.previousValue;this.formDirective.removeControl({name:te,path:this._getPath(te)})}this._setUpControl()}"isDisabled"in C&&this._updateDisabled(C),li(C,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(C){this.viewModel=C,this.update.emit(C)}_setUpControl(){this._setUpdateStrategy(),this._isStandalone()?this._setUpStandalone():this.formDirective.addControl(this),this._registered=!0}_setUpdateStrategy(){this.options&&null!=this.options.updateOn&&(this.control._updateOn=this.options.updateOn)}_isStandalone(){return!this._parent||!(!this.options||!this.options.standalone)}_setUpStandalone(){wt(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()}_updateValue(C){ci.then(()=>{this.control.setValue(C,{emitViewToModelChange:!1}),this._changeDetectorRef?.markForCheck()})}_updateDisabled(C){const te=C.isDisabled.currentValue,Ue=0!==te&&(0,n.VuI)(te);ci.then(()=>{Ue&&!this.control.disabled?this.control.disable():!Ue&&this.control.disabled&&this.control.enable(),this._changeDetectorRef?.markForCheck()})}_getPath(C){return this._parent?at(C,this._parent):[C]}static#e=this.\u0275fac=function(te){return new(te||O)(n.Y36(Bt,9),n.Y36(se,10),n.Y36(ue,10),n.Y36(we,10),n.Y36(n.sBO,8),n.Y36(yt,8))};static#t=this.\u0275dir=n.lG2({type:O,selectors:[["","ngModel","",3,"formControlName","",3,"formControl",""]],inputs:{name:"name",isDisabled:["disabled","isDisabled"],model:["ngModel","model"],options:["ngModelOptions","options"]},outputs:{update:"ngModelChange"},exportAs:["ngModel"],features:[n._Bn([Hn]),n.qOj,n.TTD]})}return O})(),xi=(()=>{class O{static#e=this.\u0275fac=function(te){return new(te||O)};static#t=this.\u0275dir=n.lG2({type:O,selectors:[["form",3,"ngNoForm","",3,"ngNativeValidate",""]],hostAttrs:["novalidate",""]})}return O})();const wi={provide:we,useExisting:(0,n.Gpc)(()=>fi),multi:!0};let fi=(()=>{class O extends ne{writeValue(C){this.setProperty("value",C??"")}registerOnChange(C){this.onChange=te=>{C(""==te?null:parseFloat(te))}}static#e=this.\u0275fac=function(){let C;return function(Ue){return(C||(C=n.n5z(O)))(Ue||O)}}();static#t=this.\u0275dir=n.lG2({type:O,selectors:[["input","type","number","formControlName",""],["input","type","number","formControl",""],["input","type","number","ngModel",""]],hostBindings:function(te,Ue){1&te&&n.NdJ("input",function(Nn){return Ue.onChange(Nn.target.value)})("blur",function(){return Ue.onTouched()})},features:[n._Bn([wi]),n.qOj]})}return O})(),Di=(()=>{class O{static#e=this.\u0275fac=function(te){return new(te||O)};static#t=this.\u0275mod=n.oAB({type:O});static#n=this.\u0275inj=n.cJS({})}return O})();const ei=new n.OlP("NgModelWithFormControlWarning"),ri={provide:Bt,useExisting:(0,n.Gpc)(()=>Qi)};let Qi=(()=>{class O extends Bt{constructor(C,te,Ue){super(),this.callSetDisabledState=Ue,this.submitted=!1,this._onCollectionChange=()=>this._updateDomValue(),this.directives=[],this.form=null,this.ngSubmit=new n.vpe,this._setValidators(C),this._setAsyncValidators(te)}ngOnChanges(C){this._checkFormPresent(),C.hasOwnProperty("form")&&(this._updateValidators(),this._updateDomValue(),this._updateRegistrations(),this._oldForm=this.form)}ngOnDestroy(){this.form&&(ge(this.form,this),this.form._onCollectionChange===this._onCollectionChange&&this.form._registerOnCollectionChange(()=>{}))}get formDirective(){return this}get control(){return this.form}get path(){return[]}addControl(C){const te=this.form.get(C.path);return wt(te,C,this.callSetDisabledState),te.updateValueAndValidity({emitEvent:!1}),this.directives.push(C),te}getControl(C){return this.form.get(C.path)}removeControl(C){de(C.control||null,C,!1),function Ci(O,k){const C=O.indexOf(k);C>-1&&O.splice(C,1)}(this.directives,C)}addFormGroup(C){this._setUpFormContainer(C)}removeFormGroup(C){this._cleanUpFormContainer(C)}getFormGroup(C){return this.form.get(C.path)}addFormArray(C){this._setUpFormContainer(C)}removeFormArray(C){this._cleanUpFormContainer(C)}getFormArray(C){return this.form.get(C.path)}updateModel(C,te){this.form.get(C.path).setValue(te)}onSubmit(C){return this.submitted=!0,Tn(this.form,this.directives),this.ngSubmit.emit(C),"dialog"===C?.target?.method}onReset(){this.resetForm()}resetForm(C=void 0){this.form.reset(C),this.submitted=!1}_updateDomValue(){this.directives.forEach(C=>{const te=C.control,Ue=this.form.get(C.path);te!==Ue&&(de(te||null,C),(O=>O instanceof Et)(Ue)&&(wt(Ue,C,this.callSetDisabledState),C.control=Ue))}),this.form._updateTreeValidity({emitEvent:!1})}_setUpFormContainer(C){const te=this.form.get(C.path);Nt(te,C),te.updateValueAndValidity({emitEvent:!1})}_cleanUpFormContainer(C){if(this.form){const te=this.form.get(C.path);te&&function nn(O,k){return ge(O,k)}(te,C)&&te.updateValueAndValidity({emitEvent:!1})}}_updateRegistrations(){this.form._registerOnCollectionChange(this._onCollectionChange),this._oldForm&&this._oldForm._registerOnCollectionChange(()=>{})}_updateValidators(){Ee(this.form,this),this._oldForm&&ge(this._oldForm,this)}_checkFormPresent(){}static#e=this.\u0275fac=function(te){return new(te||O)(n.Y36(se,10),n.Y36(ue,10),n.Y36(yt,8))};static#t=this.\u0275dir=n.lG2({type:O,selectors:[["","formGroup",""]],hostBindings:function(te,Ue){1&te&&n.NdJ("submit",function(Nn){return Ue.onSubmit(Nn)})("reset",function(){return Ue.onReset()})},inputs:{form:["formGroup","form"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[n._Bn([ri]),n.qOj,n.TTD]})}return O})();const yo={provide:Bt,useExisting:(0,n.Gpc)(()=>Gi)};let Gi=(()=>{class O extends x{constructor(C,te,Ue){super(),this.name=null,this._parent=C,this._setValidators(te),this._setAsyncValidators(Ue)}_checkParentType(){z(this._parent)}static#e=this.\u0275fac=function(te){return new(te||O)(n.Y36(Bt,13),n.Y36(se,10),n.Y36(ue,10))};static#t=this.\u0275dir=n.lG2({type:O,selectors:[["","formGroupName",""]],inputs:{name:["formGroupName","name"]},features:[n._Bn([yo]),n.qOj]})}return O})();const Ji={provide:Bt,useExisting:(0,n.Gpc)(()=>b)};let b=(()=>{class O extends Bt{constructor(C,te,Ue){super(),this.name=null,this._parent=C,this._setValidators(te),this._setAsyncValidators(Ue)}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 at(null==this.name?this.name:this.name.toString(),this._parent)}_checkParentType(){z(this._parent)}static#e=this.\u0275fac=function(te){return new(te||O)(n.Y36(Bt,13),n.Y36(se,10),n.Y36(ue,10))};static#t=this.\u0275dir=n.lG2({type:O,selectors:[["","formArrayName",""]],inputs:{name:["formArrayName","name"]},features:[n._Bn([Ji]),n.qOj]})}return O})();function z(O){return!(O instanceof Gi||O instanceof Qi||O instanceof b)}const h={provide:Je,useExisting:(0,n.Gpc)(()=>M)};let M=(()=>{class O extends Je{set isDisabled(C){}static#e=this._ngModelWarningSentOnce=!1;constructor(C,te,Ue,mn,Nn){super(),this._ngModelWarningConfig=Nn,this._added=!1,this.name=null,this.update=new n.vpe,this._ngModelWarningSent=!1,this._parent=C,this._setValidators(te),this._setAsyncValidators(Ue),this.valueAccessor=Sn(0,mn)}ngOnChanges(C){this._added||this._setUpControl(),li(C,this.viewModel)&&(this.viewModel=this.model,this.formDirective.updateModel(this,this.model))}ngOnDestroy(){this.formDirective&&this.formDirective.removeControl(this)}viewToModelUpdate(C){this.viewModel=C,this.update.emit(C)}get path(){return at(null==this.name?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}static#t=this.\u0275fac=function(te){return new(te||O)(n.Y36(Bt,13),n.Y36(se,10),n.Y36(ue,10),n.Y36(we,10),n.Y36(ei,8))};static#n=this.\u0275dir=n.lG2({type:O,selectors:[["","formControlName",""]],inputs:{name:["formControlName","name"],isDisabled:["disabled","isDisabled"],model:["ngModel","model"]},outputs:{update:"ngModelChange"},features:[n._Bn([h]),n.qOj,n.TTD]})}return O})();function _n(O){return"number"==typeof O?O:parseFloat(O)}let Bi=(()=>{class O{constructor(){this._validator=xt}ngOnChanges(C){if(this.inputName in C){const te=this.normalizeInput(C[this.inputName].currentValue);this._enabled=this.enabled(te),this._validator=this._enabled?this.createValidator(te):xt,this._onChange&&this._onChange()}}validate(C){return this._validator(C)}registerOnValidatorChange(C){this._onChange=C}enabled(C){return null!=C}static#e=this.\u0275fac=function(te){return new(te||O)};static#t=this.\u0275dir=n.lG2({type:O,features:[n.TTD]})}return O})();const To={provide:se,useExisting:(0,n.Gpc)(()=>$i),multi:!0};let $i=(()=>{class O extends Bi{constructor(){super(...arguments),this.inputName="max",this.normalizeInput=C=>_n(C),this.createValidator=C=>Ce(C)}static#e=this.\u0275fac=function(){let C;return function(Ue){return(C||(C=n.n5z(O)))(Ue||O)}}();static#t=this.\u0275dir=n.lG2({type:O,selectors:[["input","type","number","max","","formControlName",""],["input","type","number","max","","formControl",""],["input","type","number","max","","ngModel",""]],hostVars:1,hostBindings:function(te,Ue){2&te&&n.uIk("max",Ue._enabled?Ue.max:null)},inputs:{max:"max"},features:[n._Bn([To]),n.qOj]})}return O})();const Mo={provide:se,useExisting:(0,n.Gpc)(()=>Lo),multi:!0};let Lo=(()=>{class O extends Bi{constructor(){super(...arguments),this.inputName="min",this.normalizeInput=C=>_n(C),this.createValidator=C=>N(C)}static#e=this.\u0275fac=function(){let C;return function(Ue){return(C||(C=n.n5z(O)))(Ue||O)}}();static#t=this.\u0275dir=n.lG2({type:O,selectors:[["input","type","number","min","","formControlName",""],["input","type","number","min","","formControl",""],["input","type","number","min","","ngModel",""]],hostVars:1,hostBindings:function(te,Ue){2&te&&n.uIk("min",Ue._enabled?Ue.min:null)},inputs:{min:"min"},features:[n._Bn([Mo]),n.qOj]})}return O})();const ao={provide:se,useExisting:(0,n.Gpc)(()=>Bo),multi:!0},fo={provide:se,useExisting:(0,n.Gpc)(()=>tt),multi:!0};let Bo=(()=>{class O extends Bi{constructor(){super(...arguments),this.inputName="required",this.normalizeInput=n.VuI,this.createValidator=C=>K}enabled(C){return C}static#e=this.\u0275fac=function(){let C;return function(Ue){return(C||(C=n.n5z(O)))(Ue||O)}}();static#t=this.\u0275dir=n.lG2({type:O,selectors:[["","required","","formControlName","",3,"type","checkbox"],["","required","","formControl","",3,"type","checkbox"],["","required","","ngModel","",3,"type","checkbox"]],hostVars:1,hostBindings:function(te,Ue){2&te&&n.uIk("required",Ue._enabled?"":null)},inputs:{required:"required"},features:[n._Bn([ao]),n.qOj]})}return O})(),tt=(()=>{class O extends Bo{constructor(){super(...arguments),this.createValidator=C=>ve}static#e=this.\u0275fac=function(){let C;return function(Ue){return(C||(C=n.n5z(O)))(Ue||O)}}();static#t=this.\u0275dir=n.lG2({type:O,selectors:[["input","type","checkbox","required","","formControlName",""],["input","type","checkbox","required","","formControl",""],["input","type","checkbox","required","","ngModel",""]],hostVars:1,hostBindings:function(te,Ue){2&te&&n.uIk("required",Ue._enabled?"":null)},features:[n._Bn([fo]),n.qOj]})}return O})(),Ai=(()=>{class O{static#e=this.\u0275fac=function(te){return new(te||O)};static#t=this.\u0275mod=n.oAB({type:O});static#n=this.\u0275inj=n.cJS({imports:[Di]})}return O})();class So extends St{constructor(k,C,te){super(kn(C),me(te,C)),this.controls=k,this._initObservables(),this._setUpdateStrategy(C),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}at(k){return this.controls[this._adjustIndex(k)]}push(k,C={}){this.controls.push(k),this._registerControl(k),this.updateValueAndValidity({emitEvent:C.emitEvent}),this._onCollectionChange()}insert(k,C,te={}){this.controls.splice(k,0,C),this._registerControl(C),this.updateValueAndValidity({emitEvent:te.emitEvent})}removeAt(k,C={}){let te=this._adjustIndex(k);te<0&&(te=0),this.controls[te]&&this.controls[te]._registerOnCollectionChange(()=>{}),this.controls.splice(te,1),this.updateValueAndValidity({emitEvent:C.emitEvent})}setControl(k,C,te={}){let Ue=this._adjustIndex(k);Ue<0&&(Ue=0),this.controls[Ue]&&this.controls[Ue]._registerOnCollectionChange(()=>{}),this.controls.splice(Ue,1),C&&(this.controls.splice(Ue,0,C),this._registerControl(C)),this.updateValueAndValidity({emitEvent:te.emitEvent}),this._onCollectionChange()}get length(){return this.controls.length}setValue(k,C={}){$e(this,0,k),k.forEach((te,Ue)=>{Ie(this,!1,Ue),this.at(Ue).setValue(te,{onlySelf:!0,emitEvent:C.emitEvent})}),this.updateValueAndValidity(C)}patchValue(k,C={}){null!=k&&(k.forEach((te,Ue)=>{this.at(Ue)&&this.at(Ue).patchValue(te,{onlySelf:!0,emitEvent:C.emitEvent})}),this.updateValueAndValidity(C))}reset(k=[],C={}){this._forEachChild((te,Ue)=>{te.reset(k[Ue],{onlySelf:!0,emitEvent:C.emitEvent})}),this._updatePristine(C),this._updateTouched(C),this.updateValueAndValidity(C)}getRawValue(){return this.controls.map(k=>k.getRawValue())}clear(k={}){this.controls.length<1||(this._forEachChild(C=>C._registerOnCollectionChange(()=>{})),this.controls.splice(0),this.updateValueAndValidity({emitEvent:k.emitEvent}))}_adjustIndex(k){return k<0?k+this.length:k}_syncPendingControls(){let k=this.controls.reduce((C,te)=>!!te._syncPendingControls()||C,!1);return k&&this.updateValueAndValidity({onlySelf:!0}),k}_forEachChild(k){this.controls.forEach((C,te)=>{k(C,te)})}_updateValue(){this.value=this.controls.filter(k=>k.enabled||this.disabled).map(k=>k.value)}_anyControls(k){return this.controls.some(C=>C.enabled&&k(C))}_setUpControls(){this._forEachChild(k=>this._registerControl(k))}_allControlsDisabled(){for(const k of this.controls)if(k.enabled)return!1;return this.controls.length>0||this.disabled}_registerControl(k){k.setParent(this),k._registerOnCollectionChange(this._onCollectionChange)}_find(k){return this.at(k)??null}}let yr=(()=>{class O{static withConfig(C){return{ngModule:O,providers:[{provide:yt,useValue:C.callSetDisabledState??Pt}]}}static#e=this.\u0275fac=function(te){return new(te||O)};static#t=this.\u0275mod=n.oAB({type:O});static#n=this.\u0275inj=n.cJS({imports:[Ai]})}return O})(),ir=(()=>{class O{static withConfig(C){return{ngModule:O,providers:[{provide:ei,useValue:C.warnOnNgModelWithFormControl??"always"},{provide:yt,useValue:C.callSetDisabledState??Pt}]}}static#e=this.\u0275fac=function(te){return new(te||O)};static#t=this.\u0275mod=n.oAB({type:O});static#n=this.\u0275inj=n.cJS({imports:[Ai]})}return O})()},9488:(_t,Me,p)=>{p.d(Me,{A9:()=>De,Yi:()=>Le,vV:()=>se});var n=p(4300),l=p(2495),w=p(8337),E=p(5879),H=p(6223),Q=p(3680);const ne=["button"],we=["*"],ie=new E.OlP("MAT_BUTTON_TOGGLE_DEFAULT_OPTIONS"),J=new E.OlP("MatButtonToggleGroup"),xe={provide:H.JU,useExisting:(0,E.Gpc)(()=>De),multi:!0};let fe=0;class ce{constructor(ze,oe){this.source=ze,this.value=oe}}let De=(()=>{class ue{get name(){return this._name}set name(oe){this._name=oe,this._markButtonsForCheck()}get vertical(){return this._vertical}set vertical(oe){this._vertical=(0,l.Ig)(oe)}get value(){const oe=this._selectionModel?this._selectionModel.selected:[];return this.multiple?oe.map(N=>N.value):oe[0]?oe[0].value:void 0}set value(oe){this._setSelectionByValue(oe),this.valueChange.emit(this.value)}get selected(){const oe=this._selectionModel?this._selectionModel.selected:[];return this.multiple?oe:oe[0]||null}get multiple(){return this._multiple}set multiple(oe){this._multiple=(0,l.Ig)(oe),this._markButtonsForCheck()}get disabled(){return this._disabled}set disabled(oe){this._disabled=(0,l.Ig)(oe),this._markButtonsForCheck()}constructor(oe,N){this._changeDetector=oe,this._vertical=!1,this._multiple=!1,this._disabled=!1,this._controlValueAccessorChangeFn=()=>{},this._onTouched=()=>{},this._name="mat-button-toggle-group-"+fe++,this.valueChange=new E.vpe,this.change=new E.vpe,this.appearance=N&&N.appearance?N.appearance:"standard"}ngOnInit(){this._selectionModel=new w.Ov(this.multiple,void 0,!1)}ngAfterContentInit(){this._selectionModel.select(...this._buttonToggles.filter(oe=>oe.checked))}writeValue(oe){this.value=oe,this._changeDetector.markForCheck()}registerOnChange(oe){this._controlValueAccessorChangeFn=oe}registerOnTouched(oe){this._onTouched=oe}setDisabledState(oe){this.disabled=oe}_emitChangeEvent(oe){const N=new ce(oe,this.value);this._rawValue=N.value,this._controlValueAccessorChangeFn(N.value),this.change.emit(N)}_syncButtonToggle(oe,N,Ce=!1,K=!1){!this.multiple&&this.selected&&!oe.checked&&(this.selected.checked=!1),this._selectionModel?N?this._selectionModel.select(oe):this._selectionModel.deselect(oe):K=!0,K?Promise.resolve().then(()=>this._updateModelValue(oe,Ce)):this._updateModelValue(oe,Ce)}_isSelected(oe){return this._selectionModel&&this._selectionModel.isSelected(oe)}_isPrechecked(oe){return!(typeof this._rawValue>"u")&&(this.multiple&&Array.isArray(this._rawValue)?this._rawValue.some(N=>null!=oe.value&&N===oe.value):oe.value===this._rawValue)}_setSelectionByValue(oe){this._rawValue=oe,this._buttonToggles&&(this.multiple&&oe?(Array.isArray(oe),this._clearSelection(),oe.forEach(N=>this._selectValue(N))):(this._clearSelection(),this._selectValue(oe)))}_clearSelection(){this._selectionModel.clear(),this._buttonToggles.forEach(oe=>oe.checked=!1)}_selectValue(oe){const N=this._buttonToggles.find(Ce=>null!=Ce.value&&Ce.value===oe);N&&(N.checked=!0,this._selectionModel.select(N))}_updateModelValue(oe,N){N&&this._emitChangeEvent(oe),this.valueChange.emit(this.value)}_markButtonsForCheck(){this._buttonToggles?.forEach(oe=>oe._markForCheck())}static#e=this.\u0275fac=function(N){return new(N||ue)(E.Y36(E.sBO),E.Y36(ie,8))};static#t=this.\u0275dir=E.lG2({type:ue,selectors:[["mat-button-toggle-group"]],contentQueries:function(N,Ce,K){if(1&N&&E.Suo(K,Le,5),2&N){let ve;E.iGM(ve=E.CRH())&&(Ce._buttonToggles=ve)}},hostAttrs:["role","group",1,"mat-button-toggle-group"],hostVars:5,hostBindings:function(N,Ce){2&N&&(E.uIk("aria-disabled",Ce.disabled),E.ekj("mat-button-toggle-vertical",Ce.vertical)("mat-button-toggle-group-appearance-standard","standard"===Ce.appearance))},inputs:{appearance:"appearance",name:"name",vertical:"vertical",value:"value",multiple:"multiple",disabled:"disabled"},outputs:{valueChange:"valueChange",change:"change"},exportAs:["matButtonToggleGroup"],features:[E._Bn([xe,{provide:J,useExisting:ue}])]})}return ue})();const Ae=(0,Q.Kr)(class{});let Le=(()=>{class ue extends Ae{get buttonId(){return`${this.id}-button`}get appearance(){return this.buttonToggleGroup?this.buttonToggleGroup.appearance:this._appearance}set appearance(oe){this._appearance=oe}get checked(){return this.buttonToggleGroup?this.buttonToggleGroup._isSelected(this):this._checked}set checked(oe){const N=(0,l.Ig)(oe);N!==this._checked&&(this._checked=N,this.buttonToggleGroup&&this.buttonToggleGroup._syncButtonToggle(this,this._checked),this._changeDetectorRef.markForCheck())}get disabled(){return this._disabled||this.buttonToggleGroup&&this.buttonToggleGroup.disabled}set disabled(oe){this._disabled=(0,l.Ig)(oe)}constructor(oe,N,Ce,K,ve,ye){super(),this._changeDetectorRef=N,this._elementRef=Ce,this._focusMonitor=K,this._checked=!1,this.ariaLabelledby=null,this._disabled=!1,this.change=new E.vpe;const He=Number(ve);this.tabIndex=He||0===He?He:null,this.buttonToggleGroup=oe,this.appearance=ye&&ye.appearance?ye.appearance:"standard"}ngOnInit(){const oe=this.buttonToggleGroup;this.id=this.id||"mat-button-toggle-"+fe++,oe&&(oe._isPrechecked(this)?this.checked=!0:oe._isSelected(this)!==this._checked&&oe._syncButtonToggle(this,this._checked))}ngAfterViewInit(){this._focusMonitor.monitor(this._elementRef,!0)}ngOnDestroy(){const oe=this.buttonToggleGroup;this._focusMonitor.stopMonitoring(this._elementRef),oe&&oe._isSelected(this)&&oe._syncButtonToggle(this,!1,!1,!0)}focus(oe){this._buttonElement.nativeElement.focus(oe)}_onButtonClick(){const oe=!!this._isSingleSelector()||!this._checked;oe!==this._checked&&(this._checked=oe,this.buttonToggleGroup&&(this.buttonToggleGroup._syncButtonToggle(this,this._checked,!0),this.buttonToggleGroup._onTouched())),this.change.emit(new ce(this,this.value))}_markForCheck(){this._changeDetectorRef.markForCheck()}_getButtonName(){return this._isSingleSelector()?this.buttonToggleGroup.name:this.name||null}_isSingleSelector(){return this.buttonToggleGroup&&!this.buttonToggleGroup.multiple}static#e=this.\u0275fac=function(N){return new(N||ue)(E.Y36(J,8),E.Y36(E.sBO),E.Y36(E.SBq),E.Y36(n.tE),E.$8M("tabindex"),E.Y36(ie,8))};static#t=this.\u0275cmp=E.Xpm({type:ue,selectors:[["mat-button-toggle"]],viewQuery:function(N,Ce){if(1&N&&E.Gf(ne,5),2&N){let K;E.iGM(K=E.CRH())&&(Ce._buttonElement=K.first)}},hostAttrs:["role","presentation",1,"mat-button-toggle"],hostVars:12,hostBindings:function(N,Ce){1&N&&E.NdJ("focus",function(){return Ce.focus()}),2&N&&(E.uIk("aria-label",null)("aria-labelledby",null)("id",Ce.id)("name",null),E.ekj("mat-button-toggle-standalone",!Ce.buttonToggleGroup)("mat-button-toggle-checked",Ce.checked)("mat-button-toggle-disabled",Ce.disabled)("mat-button-toggle-appearance-standard","standard"===Ce.appearance))},inputs:{disableRipple:"disableRipple",ariaLabel:["aria-label","ariaLabel"],ariaLabelledby:["aria-labelledby","ariaLabelledby"],id:"id",name:"name",value:"value",tabIndex:"tabIndex",appearance:"appearance",checked:"checked",disabled:"disabled"},outputs:{change:"change"},exportAs:["matButtonToggle"],features:[E.qOj],ngContentSelectors:we,decls:6,vars:9,consts:[["type","button",1,"mat-button-toggle-button","mat-focus-indicator",3,"id","disabled","click"],["button",""],[1,"mat-button-toggle-label-content"],[1,"mat-button-toggle-focus-overlay"],["matRipple","",1,"mat-button-toggle-ripple",3,"matRippleTrigger","matRippleDisabled"]],template:function(N,Ce){if(1&N&&(E.F$t(),E.TgZ(0,"button",0,1),E.NdJ("click",function(){return Ce._onButtonClick()}),E.TgZ(2,"span",2),E.Hsn(3),E.qZA()(),E._UZ(4,"span",3)(5,"span",4)),2&N){const K=E.MAs(1);E.Q6J("id",Ce.buttonId)("disabled",Ce.disabled||null),E.uIk("tabindex",Ce.disabled?-1:Ce.tabIndex)("aria-pressed",Ce.checked)("name",Ce._getButtonName())("aria-label",Ce.ariaLabel)("aria-labelledby",Ce.ariaLabelledby),E.xp6(5),E.Q6J("matRippleTrigger",K)("matRippleDisabled",Ce.disableRipple||Ce.disabled)}},dependencies:[Q.wG],styles:[".mat-button-toggle-standalone,.mat-button-toggle-group{--mat-legacy-button-toggle-height:36px;--mat-legacy-button-toggle-shape:2px;--mat-legacy-button-toggle-focus-state-layer-opacity:1;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{--mat-standard-button-toggle-shape:4px;--mat-standard-button-toggle-hover-state-layer-opacity:0.04;--mat-standard-button-toggle-focus-state-layer-opacity:0.12;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: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-text-font)}.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-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-button-toggle-disabled.mat-button-toggle-checked{background-color:var(--mat-legacy-button-toggle-disabled-selected-state-background-color)}.mat-button-toggle-appearance-standard{--mat-standard-button-toggle-shape:4px;--mat-standard-button-toggle-hover-state-layer-opacity:0.04;--mat-standard-button-toggle-focus-state-layer-opacity:0.12;color:var(--mat-standard-button-toggle-text-color);background-color:var(--mat-standard-button-toggle-background-color);font-family:var(--mat-standard-button-toggle-text-font)}.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-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}"],encapsulation:2,changeDetection:0})}return ue})(),se=(()=>{class ue{static#e=this.\u0275fac=function(N){return new(N||ue)};static#t=this.\u0275mod=E.oAB({type:ue});static#n=this.\u0275inj=E.cJS({imports:[Q.BQ,Q.si,Q.BQ]})}return ue})()},2296:(_t,Me,p)=>{p.d(Me,{RK:()=>Y,lW:()=>ye,o6:()=>P,ot:()=>ae});var n=p(2831),l=p(5879),w=p(4300),E=p(2495),H=p(3680);const Q=["mat-button",""],ne=[[["",8,"material-icons",3,"iconPositionEnd",""],["mat-icon",3,"iconPositionEnd",""],["","matButtonIcon","",3,"iconPositionEnd",""]],"*",[["","iconPositionEnd","",8,"material-icons"],["mat-icon","iconPositionEnd",""],["","matButtonIcon","","iconPositionEnd",""]]],we=[".material-icons:not([iconPositionEnd]), mat-icon:not([iconPositionEnd]), [matButtonIcon]:not([iconPositionEnd])","*",".material-icons[iconPositionEnd], mat-icon[iconPositionEnd], [matButtonIcon][iconPositionEnd]"],J=".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}",De=["mat-icon-button",""],Ae=["*"],ze=[{selector:"mat-button",mdcClasses:["mdc-button","mat-mdc-button"]},{selector:"mat-flat-button",mdcClasses:["mdc-button","mdc-button--unelevated","mat-mdc-unelevated-button"]},{selector:"mat-raised-button",mdcClasses:["mdc-button","mdc-button--raised","mat-mdc-raised-button"]},{selector:"mat-stroked-button",mdcClasses:["mdc-button","mdc-button--outlined","mat-mdc-outlined-button"]},{selector:"mat-fab",mdcClasses:["mdc-fab","mat-mdc-fab"]},{selector:"mat-mini-fab",mdcClasses:["mdc-fab","mdc-fab--mini","mat-mdc-mini-fab"]},{selector:"mat-icon-button",mdcClasses:["mdc-icon-button","mat-mdc-icon-button"]}],oe=(0,H.pj)((0,H.Id)((0,H.Kr)(class{constructor(B){this._elementRef=B}})));let N=(()=>{class B extends oe{get ripple(){return this._rippleLoader?.getRipple(this._elementRef.nativeElement)}set ripple(L){this._rippleLoader?.attachRipple(this._elementRef.nativeElement,L)}get disableRipple(){return this._disableRipple}set disableRipple(L){this._disableRipple=(0,E.Ig)(L),this._updateRippleDisabled()}get disabled(){return this._disabled}set disabled(L){this._disabled=(0,E.Ig)(L),this._updateRippleDisabled()}constructor(L,V,Pe,re){super(L),this._platform=V,this._ngZone=Pe,this._animationMode=re,this._focusMonitor=(0,l.f3M)(w.tE),this._rippleLoader=(0,l.f3M)(H.Fq),this._isFab=!1,this._disableRipple=!1,this._disabled=!1,this._rippleLoader?.configureRipple(this._elementRef.nativeElement,{className:"mat-mdc-button-ripple"});const je=L.nativeElement.classList;for(const et of ze)this._hasHostAttributes(et.selector)&&et.mdcClasses.forEach(st=>{je.add(st)})}ngAfterViewInit(){this._focusMonitor.monitor(this._elementRef,!0)}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef)}focus(L="program",V){L?this._focusMonitor.focusVia(this._elementRef.nativeElement,L,V):this._elementRef.nativeElement.focus(V)}_hasHostAttributes(...L){return L.some(V=>this._elementRef.nativeElement.hasAttribute(V))}_updateRippleDisabled(){this._rippleLoader?.setDisabled(this._elementRef.nativeElement,this.disableRipple||this.disabled)}static#e=this.\u0275fac=function(V){l.$Z()};static#t=this.\u0275dir=l.lG2({type:B,features:[l.qOj]})}return B})(),ve=(()=>{class B extends N{constructor(L,V,Pe,re){super(L,V,Pe,re),this._haltDisabledEvents=je=>{this.disabled&&(je.preventDefault(),je.stopImmediatePropagation())}}ngOnInit(){this._ngZone.runOutsideAngular(()=>{this._elementRef.nativeElement.addEventListener("click",this._haltDisabledEvents)})}ngOnDestroy(){super.ngOnDestroy(),this._elementRef.nativeElement.removeEventListener("click",this._haltDisabledEvents)}static#e=this.\u0275fac=function(V){l.$Z()};static#t=this.\u0275dir=l.lG2({type:B,features:[l.qOj]})}return B})(),ye=(()=>{class B extends N{constructor(L,V,Pe,re){super(L,V,Pe,re)}static#e=this.\u0275fac=function(V){return new(V||B)(l.Y36(l.SBq),l.Y36(n.t4),l.Y36(l.R0b),l.Y36(l.QbO,8))};static#t=this.\u0275cmp=l.Xpm({type:B,selectors:[["button","mat-button",""],["button","mat-raised-button",""],["button","mat-flat-button",""],["button","mat-stroked-button",""]],hostVars:7,hostBindings:function(V,Pe){2&V&&(l.uIk("disabled",Pe.disabled||null),l.ekj("_mat-animation-noopable","NoopAnimations"===Pe._animationMode)("mat-unthemed",!Pe.color)("mat-mdc-button-base",!0))},inputs:{disabled:"disabled",disableRipple:"disableRipple",color:"color"},exportAs:["matButton"],features:[l.qOj],attrs:Q,ngContentSelectors:we,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(V,Pe){1&V&&(l.F$t(ne),l._UZ(0,"span",0),l.Hsn(1),l.TgZ(2,"span",1),l.Hsn(3,1),l.qZA(),l.Hsn(4,2),l._UZ(5,"span",2)(6,"span",3)),2&V&&l.ekj("mdc-button__ripple",!Pe._isFab)("mdc-fab__ripple",Pe._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(\n 100% + 4px\n );width:calc(\n 100% + 4px\n );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{height:var(--mdc-text-button-container-height, 36px);border-radius:var(--mdc-text-button-container-shape, var(--mdc-shape-small, 4px))}.mat-mdc-button:not(:disabled){color:var(--mdc-text-button-label-text-color, inherit)}.mat-mdc-button:disabled{color:var(--mdc-text-button-disabled-label-text-color, rgba(0, 0, 0, 0.38))}.mat-mdc-button .mdc-button__ripple{border-radius:var(--mdc-text-button-container-shape, var(--mdc-shape-small, 4px))}.mat-mdc-unelevated-button{height:var(--mdc-filled-button-container-height, 36px);border-radius:var(--mdc-filled-button-container-shape, var(--mdc-shape-small, 4px))}.mat-mdc-unelevated-button:not(:disabled){background-color:var(--mdc-filled-button-container-color, transparent)}.mat-mdc-unelevated-button:disabled{background-color:var(--mdc-filled-button-disabled-container-color, rgba(0, 0, 0, 0.12))}.mat-mdc-unelevated-button:not(:disabled){color:var(--mdc-filled-button-label-text-color, inherit)}.mat-mdc-unelevated-button:disabled{color:var(--mdc-filled-button-disabled-label-text-color, rgba(0, 0, 0, 0.38))}.mat-mdc-unelevated-button .mdc-button__ripple{border-radius:var(--mdc-filled-button-container-shape, var(--mdc-shape-small, 4px))}.mat-mdc-raised-button{height:var(--mdc-protected-button-container-height, 36px);border-radius:var(--mdc-protected-button-container-shape, var(--mdc-shape-small, 4px));box-shadow:var(--mdc-protected-button-container-elevation, 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))}.mat-mdc-raised-button:not(:disabled){background-color:var(--mdc-protected-button-container-color, transparent)}.mat-mdc-raised-button:disabled{background-color:var(--mdc-protected-button-disabled-container-color, rgba(0, 0, 0, 0.12))}.mat-mdc-raised-button:not(:disabled){color:var(--mdc-protected-button-label-text-color, inherit)}.mat-mdc-raised-button:disabled{color:var(--mdc-protected-button-disabled-label-text-color, rgba(0, 0, 0, 0.38))}.mat-mdc-raised-button .mdc-button__ripple{border-radius:var(--mdc-protected-button-container-shape, var(--mdc-shape-small, 4px))}.mat-mdc-raised-button.mdc-ripple-upgraded--background-focused,.mat-mdc-raised-button:not(.mdc-ripple-upgraded):focus{box-shadow:var(--mdc-protected-button-focus-container-elevation, 0px 2px 4px -1px rgba(0, 0, 0, 0.2), 0px 4px 5px 0px rgba(0, 0, 0, 0.14), 0px 1px 10px 0px rgba(0, 0, 0, 0.12))}.mat-mdc-raised-button:hover{box-shadow:var(--mdc-protected-button-hover-container-elevation, 0px 2px 4px -1px rgba(0, 0, 0, 0.2), 0px 4px 5px 0px rgba(0, 0, 0, 0.14), 0px 1px 10px 0px rgba(0, 0, 0, 0.12))}.mat-mdc-raised-button:not(:disabled):active{box-shadow:var(--mdc-protected-button-pressed-container-elevation, 0px 5px 5px -3px rgba(0, 0, 0, 0.2), 0px 8px 10px 1px rgba(0, 0, 0, 0.14), 0px 3px 14px 2px rgba(0, 0, 0, 0.12))}.mat-mdc-raised-button:disabled{box-shadow:var(--mdc-protected-button-disabled-container-elevation, 0px 0px 0px 0px rgba(0, 0, 0, 0.2), 0px 0px 0px 0px rgba(0, 0, 0, 0.14), 0px 0px 0px 0px rgba(0, 0, 0, 0.12))}.mat-mdc-outlined-button{height:var(--mdc-outlined-button-container-height, 36px);border-radius:var(--mdc-outlined-button-container-shape, var(--mdc-shape-small, 4px));padding:0 15px 0 15px;border-width:var(--mdc-outlined-button-outline-width, 1px)}.mat-mdc-outlined-button:not(:disabled){color:var(--mdc-outlined-button-label-text-color, inherit)}.mat-mdc-outlined-button:disabled{color:var(--mdc-outlined-button-disabled-label-text-color, rgba(0, 0, 0, 0.38))}.mat-mdc-outlined-button .mdc-button__ripple{border-radius:var(--mdc-outlined-button-container-shape, var(--mdc-shape-small, 4px))}.mat-mdc-outlined-button:not(:disabled){border-color:var(--mdc-outlined-button-outline-color, rgba(0, 0, 0, 0.12))}.mat-mdc-outlined-button:disabled{border-color:var(--mdc-outlined-button-disabled-outline-color, rgba(0, 0, 0, 0.12))}.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, 1px)}.mat-mdc-outlined-button .mdc-button__touch{left:calc(-1 * var(--mdc-outlined-button-outline-width, 1px));width:calc(100% + 2 * var(--mdc-outlined-button-outline-width, 1px))}.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;background-color:var(--mat-mdc-button-persistent-ripple-color)}.mat-mdc-button .mat-ripple-element,.mat-mdc-unelevated-button .mat-ripple-element,.mat-mdc-raised-button .mat-ripple-element,.mat-mdc-outlined-button .mat-ripple-element{background-color:var(--mat-mdc-button-ripple-color)}.mat-mdc-button .mdc-button__label,.mat-mdc-unelevated-button .mdc-button__label,.mat-mdc-raised-button .mdc-button__label,.mat-mdc-outlined-button .mdc-button__label{z-index:1}.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[disabled],.mat-mdc-unelevated-button[disabled],.mat-mdc-raised-button[disabled],.mat-mdc-outlined-button[disabled]{cursor:default;pointer-events:none}.mat-mdc-button .mat-mdc-button-touch-target,.mat-mdc-unelevated-button .mat-mdc-button-touch-target,.mat-mdc-raised-button .mat-mdc-button-touch-target,.mat-mdc-outlined-button .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:0;right:0;transform:translateY(-50%)}.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{margin-left:0;margin-right:8px;display:inline-block;position:relative;vertical-align:top;font-size:1.125rem;height:1.125rem;width:1.125rem}[dir=rtl] .mat-mdc-button>.mat-icon,.mat-mdc-button>.mat-icon[dir=rtl]{margin-left:8px;margin-right:0}.mat-mdc-button .mdc-button__label+.mat-icon{margin-left:8px;margin-right:0}[dir=rtl] .mat-mdc-button .mdc-button__label+.mat-icon,.mat-mdc-button .mdc-button__label+.mat-icon[dir=rtl]{margin-left:0;margin-right:8px}.mat-mdc-unelevated-button>.mat-icon,.mat-mdc-raised-button>.mat-icon,.mat-mdc-outlined-button>.mat-icon{margin-left:0;margin-right:8px;display:inline-block;position:relative;vertical-align:top;font-size:1.125rem;height:1.125rem;width:1.125rem;margin-left:-4px;margin-right:8px}[dir=rtl] .mat-mdc-unelevated-button>.mat-icon,[dir=rtl] .mat-mdc-raised-button>.mat-icon,[dir=rtl] .mat-mdc-outlined-button>.mat-icon,.mat-mdc-unelevated-button>.mat-icon[dir=rtl],.mat-mdc-raised-button>.mat-icon[dir=rtl],.mat-mdc-outlined-button>.mat-icon[dir=rtl]{margin-left:8px;margin-right:0}[dir=rtl] .mat-mdc-unelevated-button>.mat-icon,[dir=rtl] .mat-mdc-raised-button>.mat-icon,[dir=rtl] .mat-mdc-outlined-button>.mat-icon,.mat-mdc-unelevated-button>.mat-icon[dir=rtl],.mat-mdc-raised-button>.mat-icon[dir=rtl],.mat-mdc-outlined-button>.mat-icon[dir=rtl]{margin-left:8px;margin-right:-4px}.mat-mdc-unelevated-button .mdc-button__label+.mat-icon,.mat-mdc-raised-button .mdc-button__label+.mat-icon,.mat-mdc-outlined-button .mdc-button__label+.mat-icon{margin-left:8px;margin-right:-4px}[dir=rtl] .mat-mdc-unelevated-button .mdc-button__label+.mat-icon,[dir=rtl] .mat-mdc-raised-button .mdc-button__label+.mat-icon,[dir=rtl] .mat-mdc-outlined-button .mdc-button__label+.mat-icon,.mat-mdc-unelevated-button .mdc-button__label+.mat-icon[dir=rtl],.mat-mdc-raised-button .mdc-button__label+.mat-icon[dir=rtl],.mat-mdc-outlined-button .mdc-button__label+.mat-icon[dir=rtl]{margin-left:-4px;margin-right:8px}.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})}return B})(),Y=(()=>{class B extends N{constructor(L,V,Pe,re){super(L,V,Pe,re),this._rippleLoader.configureRipple(this._elementRef.nativeElement,{centered:!0})}static#e=this.\u0275fac=function(V){return new(V||B)(l.Y36(l.SBq),l.Y36(n.t4),l.Y36(l.R0b),l.Y36(l.QbO,8))};static#t=this.\u0275cmp=l.Xpm({type:B,selectors:[["button","mat-icon-button",""]],hostVars:7,hostBindings:function(V,Pe){2&V&&(l.uIk("disabled",Pe.disabled||null),l.ekj("_mat-animation-noopable","NoopAnimations"===Pe._animationMode)("mat-unthemed",!Pe.color)("mat-mdc-button-base",!0))},inputs:{disabled:"disabled",disableRipple:"disableRipple",color:"color"},exportAs:["matButton"],features:[l.qOj],attrs:De,ngContentSelectors:Ae,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(V,Pe){1&V&&(l.F$t(),l._UZ(0,"span",0),l.Hsn(1),l._UZ(2,"span",1)(3,"span",2))},styles:['.mdc-icon-button{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;user-select:none;z-index:0;overflow:visible}.mdc-icon-button .mdc-icon-button__touch{position:absolute;top:50%;height:48px;left:50%;width:48px;transform:translate(-50%, -50%)}@media screen and (forced-colors: active){.mdc-icon-button.mdc-ripple-upgraded--background-focused .mdc-icon-button__focus-ring,.mdc-icon-button:not(.mdc-ripple-upgraded):focus .mdc-icon-button__focus-ring{display:block}}.mdc-icon-button:disabled{cursor:default;pointer-events:none}.mdc-icon-button[hidden]{display:none}.mdc-icon-button--display-flex{align-items:center;display:inline-flex;justify-content:center}.mdc-icon-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:100%;width:100%;display:none}@media screen and (forced-colors: active){.mdc-icon-button__focus-ring{border-color:CanvasText}}.mdc-icon-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-icon-button__focus-ring::after{border-color:CanvasText}}.mdc-icon-button__icon{display:inline-block}.mdc-icon-button__icon.mdc-icon-button__icon--on{display:none}.mdc-icon-button--on .mdc-icon-button__icon{display:none}.mdc-icon-button--on .mdc-icon-button__icon.mdc-icon-button__icon--on{display:inline-block}.mdc-icon-button__link{height:100%;left:0;outline:none;position:absolute;top:0;width:100%}.mat-mdc-icon-button{height:var(--mdc-icon-button-state-layer-size);width:var(--mdc-icon-button-state-layer-size);color:var(--mdc-icon-button-icon-color);--mdc-icon-button-state-layer-size:48px;--mdc-icon-button-icon-size:24px;--mdc-icon-button-disabled-icon-color:black;--mdc-icon-button-disabled-icon-opacity:0.38}.mat-mdc-icon-button .mdc-button__icon{font-size:var(--mdc-icon-button-icon-size)}.mat-mdc-icon-button svg,.mat-mdc-icon-button img{width:var(--mdc-icon-button-icon-size);height:var(--mdc-icon-button-icon-size)}.mat-mdc-icon-button:disabled{opacity:var(--mdc-icon-button-disabled-icon-opacity)}.mat-mdc-icon-button:disabled{color:var(--mdc-icon-button-disabled-icon-color)}.mat-mdc-icon-button{padding:12px;font-size:var(--mdc-icon-button-icon-size);border-radius:50%;flex-shrink:0;text-align:center;-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-mdc-icon-button svg{vertical-align:baseline}.mat-mdc-icon-button[disabled]{cursor:default;pointer-events:none;opacity:1}.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;background-color:var(--mat-mdc-button-persistent-ripple-color)}.mat-mdc-icon-button .mat-ripple-element{background-color:var(--mat-mdc-button-ripple-color)}.mat-mdc-icon-button .mdc-button__label{z-index:1}.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-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:50%;width:48px;transform:translate(-50%, -50%)}.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.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}',J],encapsulation:2,changeDetection:0})}return B})(),P=(()=>{class B extends ve{constructor(L,V,Pe,re){super(L,V,Pe,re)}static#e=this.\u0275fac=function(V){return new(V||B)(l.Y36(l.SBq),l.Y36(n.t4),l.Y36(l.R0b),l.Y36(l.QbO,8))};static#t=this.\u0275cmp=l.Xpm({type:B,selectors:[["a","mat-icon-button",""]],hostVars:9,hostBindings:function(V,Pe){2&V&&(l.uIk("disabled",Pe.disabled||null)("tabindex",Pe.disabled?-1:Pe.tabIndex)("aria-disabled",Pe.disabled.toString()),l.ekj("_mat-animation-noopable","NoopAnimations"===Pe._animationMode)("mat-unthemed",!Pe.color)("mat-mdc-button-base",!0))},inputs:{disabled:"disabled",disableRipple:"disableRipple",color:"color",tabIndex:"tabIndex"},exportAs:["matButton","matAnchor"],features:[l.qOj],attrs:De,ngContentSelectors:we,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(V,Pe){1&V&&(l.F$t(ne),l._UZ(0,"span",0),l.Hsn(1),l.TgZ(2,"span",1),l.Hsn(3,1),l.qZA(),l.Hsn(4,2),l._UZ(5,"span",2)(6,"span",3)),2&V&&l.ekj("mdc-button__ripple",!Pe._isFab)("mdc-fab__ripple",Pe._isFab)},styles:['.mdc-icon-button{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;user-select:none;z-index:0;overflow:visible}.mdc-icon-button .mdc-icon-button__touch{position:absolute;top:50%;height:48px;left:50%;width:48px;transform:translate(-50%, -50%)}@media screen and (forced-colors: active){.mdc-icon-button.mdc-ripple-upgraded--background-focused .mdc-icon-button__focus-ring,.mdc-icon-button:not(.mdc-ripple-upgraded):focus .mdc-icon-button__focus-ring{display:block}}.mdc-icon-button:disabled{cursor:default;pointer-events:none}.mdc-icon-button[hidden]{display:none}.mdc-icon-button--display-flex{align-items:center;display:inline-flex;justify-content:center}.mdc-icon-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:100%;width:100%;display:none}@media screen and (forced-colors: active){.mdc-icon-button__focus-ring{border-color:CanvasText}}.mdc-icon-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-icon-button__focus-ring::after{border-color:CanvasText}}.mdc-icon-button__icon{display:inline-block}.mdc-icon-button__icon.mdc-icon-button__icon--on{display:none}.mdc-icon-button--on .mdc-icon-button__icon{display:none}.mdc-icon-button--on .mdc-icon-button__icon.mdc-icon-button__icon--on{display:inline-block}.mdc-icon-button__link{height:100%;left:0;outline:none;position:absolute;top:0;width:100%}.mat-mdc-icon-button{height:var(--mdc-icon-button-state-layer-size);width:var(--mdc-icon-button-state-layer-size);color:var(--mdc-icon-button-icon-color);--mdc-icon-button-state-layer-size:48px;--mdc-icon-button-icon-size:24px;--mdc-icon-button-disabled-icon-color:black;--mdc-icon-button-disabled-icon-opacity:0.38}.mat-mdc-icon-button .mdc-button__icon{font-size:var(--mdc-icon-button-icon-size)}.mat-mdc-icon-button svg,.mat-mdc-icon-button img{width:var(--mdc-icon-button-icon-size);height:var(--mdc-icon-button-icon-size)}.mat-mdc-icon-button:disabled{opacity:var(--mdc-icon-button-disabled-icon-opacity)}.mat-mdc-icon-button:disabled{color:var(--mdc-icon-button-disabled-icon-color)}.mat-mdc-icon-button{padding:12px;font-size:var(--mdc-icon-button-icon-size);border-radius:50%;flex-shrink:0;text-align:center;-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-mdc-icon-button svg{vertical-align:baseline}.mat-mdc-icon-button[disabled]{cursor:default;pointer-events:none;opacity:1}.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;background-color:var(--mat-mdc-button-persistent-ripple-color)}.mat-mdc-icon-button .mat-ripple-element{background-color:var(--mat-mdc-button-ripple-color)}.mat-mdc-icon-button .mdc-button__label{z-index:1}.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-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:50%;width:48px;transform:translate(-50%, -50%)}.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.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}',J],encapsulation:2,changeDetection:0})}return B})(),ae=(()=>{class B{static#e=this.\u0275fac=function(V){return new(V||B)};static#t=this.\u0275mod=l.oAB({type:B});static#n=this.\u0275inj=l.cJS({imports:[H.BQ,H.si,H.BQ]})}return B})()},3680:(_t,Me,p)=>{p.d(Me,{rD:()=>je,K7:()=>Wt,HF:()=>ht,Y2:()=>it,BQ:()=>K,ey:()=>pn,Ng:()=>kn,wG:()=>$,Fq:()=>St,si:()=>be,CB:()=>gn,jH:()=>yn,pj:()=>ct,Kr:()=>xt,Id:()=>ft,FD:()=>It,sb:()=>Ut});var n=p(5879),l=p(4300),w=p(9388),H=p(6814),Q=p(2831),ne=p(2495),we=p(8645),ie=p(6028);const fe=["text"];function ce(_e,ee){if(1&_e&&n._UZ(0,"mat-pseudo-checkbox",6),2&_e){const S=n.oxw();n.Q6J("disabled",S.disabled)("state",S.selected?"checked":"unchecked")}}function De(_e,ee){if(1&_e&&n._UZ(0,"mat-pseudo-checkbox",7),2&_e){const S=n.oxw();n.Q6J("disabled",S.disabled)}}function Ae(_e,ee){if(1&_e&&(n.TgZ(0,"span",8),n._uU(1),n.qZA()),2&_e){const S=n.oxw();n.xp6(1),n.hij("(",S.group.label,")")}}const Le=[[["mat-icon"]],"*"],se=["mat-icon","*"],Ce=new n.OlP("mat-sanity-checks",{providedIn:"root",factory:function N(){return!0}});let K=(()=>{class _e{constructor(S,W,Ne){this._sanityChecks=W,this._document=Ne,this._hasDoneGlobalChecks=!1,S._applyBodyHighContrastModeCssClasses(),this._hasDoneGlobalChecks||(this._hasDoneGlobalChecks=!0)}_checkIsEnabled(S){return!(0,Q.Oy)()&&("boolean"==typeof this._sanityChecks?this._sanityChecks:!!this._sanityChecks[S])}static#e=this.\u0275fac=function(W){return new(W||_e)(n.LFG(l.qm),n.LFG(Ce,8),n.LFG(H.K0))};static#t=this.\u0275mod=n.oAB({type:_e});static#n=this.\u0275inj=n.cJS({imports:[w.vT,w.vT]})}return _e})();function ft(_e){return class extends _e{get disabled(){return this._disabled}set disabled(ee){this._disabled=(0,ne.Ig)(ee)}constructor(...ee){super(...ee),this._disabled=!1}}}function ct(_e,ee){return class extends _e{get color(){return this._color}set color(S){const W=S||this.defaultColor;W!==this._color&&(this._color&&this._elementRef.nativeElement.classList.remove(`mat-${this._color}`),W&&this._elementRef.nativeElement.classList.add(`mat-${W}`),this._color=W)}constructor(...S){super(...S),this.defaultColor=ee,this.color=ee}}}function xt(_e){return class extends _e{get disableRipple(){return this._disableRipple}set disableRipple(ee){this._disableRipple=(0,ne.Ig)(ee)}constructor(...ee){super(...ee),this._disableRipple=!1}}}function Ut(_e,ee=0){return class extends _e{get tabIndex(){return this.disabled?-1:this._tabIndex}set tabIndex(S){this._tabIndex=null!=S?(0,ne.su)(S):this.defaultTabIndex}constructor(...S){super(...S),this._tabIndex=ee,this.defaultTabIndex=ee}}}function It(_e){return class extends _e{updateErrorState(){const ee=this.errorState,yt=(this.errorStateMatcher||this._defaultErrorStateMatcher).isErrorState(this.ngControl?this.ngControl.control:null,this._parentFormGroup||this._parentForm);yt!==ee&&(this.errorState=yt,this.stateChanges.next())}constructor(...ee){super(...ee),this.errorState=!1}}}let je=(()=>{class _e{isErrorState(S,W){return!!(S&&S.invalid&&(S.touched||W&&W.submitted))}static#e=this.\u0275fac=function(W){return new(W||_e)};static#t=this.\u0275prov=n.Yz7({token:_e,factory:_e.\u0275fac,providedIn:"root"})}return _e})();class Je{constructor(ee,S,W,Ne=!1){this._renderer=ee,this.element=S,this.config=W,this._animationForciblyDisabledThroughCss=Ne,this.state=3}fadeOut(){this._renderer.fadeOutRipple(this)}}const bt=(0,Q.i$)({passive:!0,capture:!0});class Oe{constructor(){this._events=new Map,this._delegateEventHandler=ee=>{const S=(0,Q.sA)(ee);S&&this._events.get(ee.type)?.forEach((W,Ne)=>{(Ne===S||Ne.contains(S))&&W.forEach(yt=>yt.handleEvent(ee))})}}addHandler(ee,S,W,Ne){const yt=this._events.get(S);if(yt){const Pt=yt.get(W);Pt?Pt.add(Ne):yt.set(W,new Set([Ne]))}else this._events.set(S,new Map([[W,new Set([Ne])]])),ee.runOutsideAngular(()=>{document.addEventListener(S,this._delegateEventHandler,bt)})}removeHandler(ee,S,W){const Ne=this._events.get(ee);if(!Ne)return;const yt=Ne.get(S);yt&&(yt.delete(W),0===yt.size&&Ne.delete(S),0===Ne.size&&(this._events.delete(ee),document.removeEventListener(ee,this._delegateEventHandler,bt)))}}const rt={enterDuration:225,exitDuration:150},en=(0,Q.i$)({passive:!0,capture:!0}),tn=["mousedown","touchstart"],fn=["mouseup","mouseleave","touchend","touchcancel"];class Zt{static#e=this._eventManager=new Oe;constructor(ee,S,W,Ne){this._target=ee,this._ngZone=S,this._platform=Ne,this._isPointerDown=!1,this._activeRipples=new Map,this._pointerUpEventsRegistered=!1,Ne.isBrowser&&(this._containerElement=(0,ne.fI)(W))}fadeInRipple(ee,S,W={}){const Ne=this._containerRect=this._containerRect||this._containerElement.getBoundingClientRect(),yt={...rt,...W.animation};W.centered&&(ee=Ne.left+Ne.width/2,S=Ne.top+Ne.height/2);const Pt=W.radius||function Mn(_e,ee,S){const W=Math.max(Math.abs(_e-S.left),Math.abs(_e-S.right)),Ne=Math.max(Math.abs(ee-S.top),Math.abs(ee-S.bottom));return Math.sqrt(W*W+Ne*Ne)}(ee,S,Ne),at=ee-Ne.left,wt=S-Ne.top,de=yt.enterDuration,ke=document.createElement("div");ke.classList.add("mat-ripple-element"),ke.style.left=at-Pt+"px",ke.style.top=wt-Pt+"px",ke.style.height=2*Pt+"px",ke.style.width=2*Pt+"px",null!=W.color&&(ke.style.backgroundColor=W.color),ke.style.transitionDuration=`${de}ms`,this._containerElement.appendChild(ke);const Ke=window.getComputedStyle(ke),ge=Ke.transitionDuration,Ve="none"===Ke.transitionProperty||"0s"===ge||"0s, 0s"===ge||0===Ne.width&&0===Ne.height,dt=new Je(this,ke,W,Ve);ke.style.transform="scale3d(1, 1, 1)",dt.state=0,W.persistent||(this._mostRecentTransientRipple=dt);let Rt=null;return!Ve&&(de||yt.exitDuration)&&this._ngZone.runOutsideAngular(()=>{const Ht=()=>this._finishRippleTransition(dt),Nt=()=>this._destroyRipple(dt);ke.addEventListener("transitionend",Ht),ke.addEventListener("transitioncancel",Nt),Rt={onTransitionEnd:Ht,onTransitionCancel:Nt}}),this._activeRipples.set(dt,Rt),(Ve||!de)&&this._finishRippleTransition(dt),dt}fadeOutRipple(ee){if(2===ee.state||3===ee.state)return;const S=ee.element,W={...rt,...ee.config.animation};S.style.transitionDuration=`${W.exitDuration}ms`,S.style.opacity="0",ee.state=2,(ee._animationForciblyDisabledThroughCss||!W.exitDuration)&&this._finishRippleTransition(ee)}fadeOutAll(){this._getActiveRipples().forEach(ee=>ee.fadeOut())}fadeOutAllNonPersistent(){this._getActiveRipples().forEach(ee=>{ee.config.persistent||ee.fadeOut()})}setupTriggerEvents(ee){const S=(0,ne.fI)(ee);!this._platform.isBrowser||!S||S===this._triggerElement||(this._removeTriggerEvents(),this._triggerElement=S,tn.forEach(W=>{Zt._eventManager.addHandler(this._ngZone,W,S,this)}))}handleEvent(ee){"mousedown"===ee.type?this._onMousedown(ee):"touchstart"===ee.type?this._onTouchStart(ee):this._onPointerUp(),this._pointerUpEventsRegistered||(this._ngZone.runOutsideAngular(()=>{fn.forEach(S=>{this._triggerElement.addEventListener(S,this,en)})}),this._pointerUpEventsRegistered=!0)}_finishRippleTransition(ee){0===ee.state?this._startFadeOutTransition(ee):2===ee.state&&this._destroyRipple(ee)}_startFadeOutTransition(ee){const S=ee===this._mostRecentTransientRipple,{persistent:W}=ee.config;ee.state=1,!W&&(!S||!this._isPointerDown)&&ee.fadeOut()}_destroyRipple(ee){const S=this._activeRipples.get(ee)??null;this._activeRipples.delete(ee),this._activeRipples.size||(this._containerRect=null),ee===this._mostRecentTransientRipple&&(this._mostRecentTransientRipple=null),ee.state=3,null!==S&&(ee.element.removeEventListener("transitionend",S.onTransitionEnd),ee.element.removeEventListener("transitioncancel",S.onTransitionCancel)),ee.element.remove()}_onMousedown(ee){const S=(0,l.X6)(ee),W=this._lastTouchStartEvent&&Date.now(){!ee.config.persistent&&(1===ee.state||ee.config.terminateOnPointerUp&&0===ee.state)&&ee.fadeOut()}))}_getActiveRipples(){return Array.from(this._activeRipples.keys())}_removeTriggerEvents(){const ee=this._triggerElement;ee&&(tn.forEach(S=>Zt._eventManager.removeHandler(S,ee,this)),this._pointerUpEventsRegistered&&fn.forEach(S=>ee.removeEventListener(S,this,en)))}}const it=new n.OlP("mat-ripple-global-options");let $=(()=>{class _e{get disabled(){return this._disabled}set disabled(S){S&&this.fadeOutAllNonPersistent(),this._disabled=S,this._setupTriggerEventsIfEnabled()}get trigger(){return this._trigger||this._elementRef.nativeElement}set trigger(S){this._trigger=S,this._setupTriggerEventsIfEnabled()}constructor(S,W,Ne,yt,Pt){this._elementRef=S,this._animationMode=Pt,this.radius=0,this._disabled=!1,this._isInitialized=!1,this._globalOptions=yt||{},this._rippleRenderer=new Zt(this,W,S,Ne)}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:{...this._globalOptions.animation,..."NoopAnimations"===this._animationMode?{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(S,W=0,Ne){return"number"==typeof S?this._rippleRenderer.fadeInRipple(S,W,{...this.rippleConfig,...Ne}):this._rippleRenderer.fadeInRipple(0,0,{...this.rippleConfig,...S})}static#e=this.\u0275fac=function(W){return new(W||_e)(n.Y36(n.SBq),n.Y36(n.R0b),n.Y36(Q.t4),n.Y36(it,8),n.Y36(n.QbO,8))};static#t=this.\u0275dir=n.lG2({type:_e,selectors:[["","mat-ripple",""],["","matRipple",""]],hostAttrs:[1,"mat-ripple"],hostVars:2,hostBindings:function(W,Ne){2&W&&n.ekj("mat-ripple-unbounded",Ne.unbounded)},inputs:{color:["matRippleColor","color"],unbounded:["matRippleUnbounded","unbounded"],centered:["matRippleCentered","centered"],radius:["matRippleRadius","radius"],animation:["matRippleAnimation","animation"],disabled:["matRippleDisabled","disabled"],trigger:["matRippleTrigger","trigger"]},exportAs:["matRipple"]})}return _e})(),be=(()=>{class _e{static#e=this.\u0275fac=function(W){return new(W||_e)};static#t=this.\u0275mod=n.oAB({type:_e});static#n=this.\u0275inj=n.cJS({imports:[K,K]})}return _e})(),Be=(()=>{class _e{constructor(S){this._animationMode=S,this.state="unchecked",this.disabled=!1,this.appearance="full"}static#e=this.\u0275fac=function(W){return new(W||_e)(n.Y36(n.QbO,8))};static#t=this.\u0275cmp=n.Xpm({type:_e,selectors:[["mat-pseudo-checkbox"]],hostAttrs:[1,"mat-pseudo-checkbox"],hostVars:12,hostBindings:function(W,Ne){2&W&&n.ekj("mat-pseudo-checkbox-indeterminate","indeterminate"===Ne.state)("mat-pseudo-checkbox-checked","checked"===Ne.state)("mat-pseudo-checkbox-disabled",Ne.disabled)("mat-pseudo-checkbox-minimal","minimal"===Ne.appearance)("mat-pseudo-checkbox-full","full"===Ne.appearance)("_mat-animation-noopable","NoopAnimations"===Ne._animationMode)},inputs:{state:"state",disabled:"disabled",appearance:"appearance"},decls:0,vars:0,template:function(W,Ne){},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-full{border:2px solid}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-checked,.mat-pseudo-checkbox-full.mat-pseudo-checkbox-indeterminate{border-color:rgba(0,0,0,0)}.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})}return _e})(),lt=(()=>{class _e{static#e=this.\u0275fac=function(W){return new(W||_e)};static#t=this.\u0275mod=n.oAB({type:_e});static#n=this.\u0275inj=n.cJS({imports:[K]})}return _e})();const ht=new n.OlP("MAT_OPTION_PARENT_COMPONENT"),Wt=new n.OlP("MatOptgroup");let $t=0;class An{constructor(ee,S=!1){this.source=ee,this.isUserInput=S}}let bn=(()=>{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(S){this._disabled=(0,ne.Ig)(S)}get disableRipple(){return!(!this._parent||!this._parent.disableRipple)}get hideSingleSelectionIndicator(){return!(!this._parent||!this._parent.hideSingleSelectionIndicator)}constructor(S,W,Ne,yt){this._element=S,this._changeDetectorRef=W,this._parent=Ne,this.group=yt,this._selected=!1,this._active=!1,this._disabled=!1,this._mostRecentViewValue="",this.id="mat-option-"+$t++,this.onSelectionChange=new n.vpe,this._stateChanges=new we.x}get active(){return this._active}get viewValue(){return(this._text?.nativeElement.textContent||"").trim()}select(S=!0){this._selected||(this._selected=!0,this._changeDetectorRef.markForCheck(),S&&this._emitSelectionChangeEvent())}deselect(S=!0){this._selected&&(this._selected=!1,this._changeDetectorRef.markForCheck(),S&&this._emitSelectionChangeEvent())}focus(S,W){const Ne=this._getHostElement();"function"==typeof Ne.focus&&Ne.focus(W)}setActiveStyles(){this._active||(this._active=!0,this._changeDetectorRef.markForCheck())}setInactiveStyles(){this._active&&(this._active=!1,this._changeDetectorRef.markForCheck())}getLabel(){return this.viewValue}_handleKeydown(S){(S.keyCode===ie.K5||S.keyCode===ie.L_)&&!(0,ie.Vb)(S)&&(this._selectViaInteraction(),S.preventDefault())}_selectViaInteraction(){this.disabled||(this._selected=!this.multiple||!this._selected,this._changeDetectorRef.markForCheck(),this._emitSelectionChangeEvent(!0))}_getTabIndex(){return this.disabled?"-1":"0"}_getHostElement(){return this._element.nativeElement}ngAfterViewChecked(){if(this._selected){const S=this.viewValue;S!==this._mostRecentViewValue&&(this._mostRecentViewValue&&this._stateChanges.next(),this._mostRecentViewValue=S)}}ngOnDestroy(){this._stateChanges.complete()}_emitSelectionChangeEvent(S=!1){this.onSelectionChange.emit(new An(this,S))}static#e=this.\u0275fac=function(W){n.$Z()};static#t=this.\u0275dir=n.lG2({type:_e,viewQuery:function(W,Ne){if(1&W&&n.Gf(fe,7),2&W){let yt;n.iGM(yt=n.CRH())&&(Ne._text=yt.first)}},inputs:{value:"value",id:"id",disabled:"disabled"},outputs:{onSelectionChange:"onSelectionChange"}})}return _e})(),pn=(()=>{class _e extends bn{constructor(S,W,Ne,yt){super(S,W,Ne,yt)}static#e=this.\u0275fac=function(W){return new(W||_e)(n.Y36(n.SBq),n.Y36(n.sBO),n.Y36(ht,8),n.Y36(Wt,8))};static#t=this.\u0275cmp=n.Xpm({type:_e,selectors:[["mat-option"]],hostAttrs:["role","option",1,"mat-mdc-option","mdc-list-item"],hostVars:11,hostBindings:function(W,Ne){1&W&&n.NdJ("click",function(){return Ne._selectViaInteraction()})("keydown",function(Pt){return Ne._handleKeydown(Pt)}),2&W&&(n.Ikx("id",Ne.id),n.uIk("aria-selected",Ne.selected)("aria-disabled",Ne.disabled.toString()),n.ekj("mdc-list-item--selected",Ne.selected)("mat-mdc-option-multiple",Ne.multiple)("mat-mdc-option-active",Ne.active)("mdc-list-item--disabled",Ne.disabled))},exportAs:["matOption"],features:[n.qOj],ngContentSelectors:se,decls:8,vars:5,consts:[["class","mat-mdc-option-pseudo-checkbox","aria-hidden","true",3,"disabled","state",4,"ngIf"],[1,"mdc-list-item__primary-text"],["text",""],["class","mat-mdc-option-pseudo-checkbox","state","checked","aria-hidden","true","appearance","minimal",3,"disabled",4,"ngIf"],["class","cdk-visually-hidden",4,"ngIf"],["aria-hidden","true","mat-ripple","",1,"mat-mdc-option-ripple","mat-mdc-focus-indicator",3,"matRippleTrigger","matRippleDisabled"],["aria-hidden","true",1,"mat-mdc-option-pseudo-checkbox",3,"disabled","state"],["state","checked","aria-hidden","true","appearance","minimal",1,"mat-mdc-option-pseudo-checkbox",3,"disabled"],[1,"cdk-visually-hidden"]],template:function(W,Ne){1&W&&(n.F$t(Le),n.YNc(0,ce,1,2,"mat-pseudo-checkbox",0),n.Hsn(1),n.TgZ(2,"span",1,2),n.Hsn(4,1),n.qZA(),n.YNc(5,De,1,1,"mat-pseudo-checkbox",3),n.YNc(6,Ae,2,1,"span",4),n._UZ(7,"div",5)),2&W&&(n.Q6J("ngIf",Ne.multiple),n.xp6(5),n.Q6J("ngIf",!Ne.multiple&&Ne.selected&&!Ne.hideSingleSelectionIndicator),n.xp6(1),n.Q6J("ngIf",Ne.group&&Ne.group._inert),n.xp6(1),n.Q6J("matRippleTrigger",Ne._getHostElement())("matRippleDisabled",Ne.disabled||Ne.disableRipple))},dependencies:[$,H.O5,Be],styles:['.mat-mdc-option{display:flex;position:relative;align-items:center;justify-content:flex-start;overflow:hidden;padding:0;padding-left:16px;padding-right:16px;-webkit-user-select:none;user-select:none;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;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);min-height:48px}.mat-mdc-option:focus{outline:none}[dir=rtl] .mat-mdc-option,.mat-mdc-option[dir=rtl]{padding-left:16px;padding-right:16px}.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)}.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}.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-active .mat-mdc-focus-indicator::before{content:""}'],encapsulation:2,changeDetection:0})}return _e})();function gn(_e,ee,S){if(S.length){let W=ee.toArray(),Ne=S.toArray(),yt=0;for(let Pt=0;Pt<_e+1;Pt++)W[Pt].group&&W[Pt].group===Ne[yt]&&yt++;return yt}return 0}function yn(_e,ee,S,W){return _eS+W?Math.max(0,_e-W+ee):S}let kn=(()=>{class _e{static#e=this.\u0275fac=function(W){return new(W||_e)};static#t=this.\u0275mod=n.oAB({type:_e});static#n=this.\u0275inj=n.cJS({imports:[be,H.ez,K,lt]})}return _e})();const ut={capture:!0},me=["focus","click","mouseenter","touchstart"],le="mat-ripple-loader-uninitialized",G="mat-ripple-loader-class-name",Ie="mat-ripple-loader-centered",$e="mat-ripple-loader-disabled";let St=(()=>{class _e{constructor(){this._document=(0,n.f3M)(H.K0,{optional:!0}),this._animationMode=(0,n.f3M)(n.QbO,{optional:!0}),this._globalRippleOptions=(0,n.f3M)(it,{optional:!0}),this._platform=(0,n.f3M)(Q.t4),this._ngZone=(0,n.f3M)(n.R0b),this._onInteraction=S=>{if(!(S.target instanceof HTMLElement))return;const Ne=S.target.closest(`[${le}]`);Ne&&this.createRipple(Ne)},this._ngZone.runOutsideAngular(()=>{for(const S of me)this._document?.addEventListener(S,this._onInteraction,ut)})}ngOnDestroy(){for(const S of me)this._document?.removeEventListener(S,this._onInteraction,ut)}configureRipple(S,W){S.setAttribute(le,""),(W.className||!S.hasAttribute(G))&&S.setAttribute(G,W.className||""),W.centered&&S.setAttribute(Ie,""),W.disabled&&S.setAttribute($e,"")}getRipple(S){return S.matRipple?S.matRipple:this.createRipple(S)}setDisabled(S,W){const Ne=S.matRipple;Ne?Ne.disabled=W:W?S.setAttribute($e,""):S.removeAttribute($e)}createRipple(S){if(!this._document)return;S.querySelector(".mat-ripple")?.remove();const W=this._document.createElement("span");W.classList.add("mat-ripple",S.getAttribute(G)),S.append(W);const Ne=new $(new n.SBq(W),this._ngZone,this._platform,this._globalRippleOptions?this._globalRippleOptions:void 0,this._animationMode?this._animationMode:void 0);return Ne._isInitialized=!0,Ne.trigger=S,Ne.centered=S.hasAttribute(Ie),Ne.disabled=S.hasAttribute($e),this.attachRipple(S,Ne),Ne}attachRipple(S,W){S.removeAttribute(le),S.matRipple=W}static#e=this.\u0275fac=function(W){return new(W||_e)};static#t=this.\u0275prov=n.Yz7({token:_e,factory:_e.\u0275fac,providedIn:"root"})}return _e})()},3305:(_t,Me,p)=>{p.d(Me,{To:()=>st,ib:()=>B,HS:()=>Y,yz:()=>Pe});var n=p(5879),l=p(8337),w=p(2495),E=p(7394);const Q=new n.OlP("CdkAccordion");let we=0,ie=(()=>{class nt{get expanded(){return this._expanded}set expanded(Je){Je=(0,w.Ig)(Je),this._expanded!==Je&&(this._expanded=Je,this.expandedChange.emit(Je),Je?(this.opened.emit(),this._expansionDispatcher.notify(this.id,this.accordion?this.accordion.id:this.id)):this.closed.emit(),this._changeDetectorRef.markForCheck())}get disabled(){return this._disabled}set disabled(Je){this._disabled=(0,w.Ig)(Je)}constructor(Je,bt,Oe){this.accordion=Je,this._changeDetectorRef=bt,this._expansionDispatcher=Oe,this._openCloseAllSubscription=E.w0.EMPTY,this.closed=new n.vpe,this.opened=new n.vpe,this.destroyed=new n.vpe,this.expandedChange=new n.vpe,this.id="cdk-accordion-child-"+we++,this._expanded=!1,this._disabled=!1,this._removeUniqueSelectionListener=()=>{},this._removeUniqueSelectionListener=Oe.listen((rt,vt)=>{this.accordion&&!this.accordion.multi&&this.accordion.id===vt&&this.id!==rt&&(this.expanded=!1)}),this.accordion&&(this._openCloseAllSubscription=this._subscribeToOpenCloseAllActions())}ngOnDestroy(){this.opened.complete(),this.closed.complete(),this.destroyed.emit(),this.destroyed.complete(),this._removeUniqueSelectionListener(),this._openCloseAllSubscription.unsubscribe()}toggle(){this.disabled||(this.expanded=!this.expanded)}close(){this.disabled||(this.expanded=!1)}open(){this.disabled||(this.expanded=!0)}_subscribeToOpenCloseAllActions(){return this.accordion._openCloseAllActions.subscribe(Je=>{this.disabled||(this.expanded=Je)})}static#e=this.\u0275fac=function(bt){return new(bt||nt)(n.Y36(Q,12),n.Y36(n.sBO),n.Y36(l.A8))};static#t=this.\u0275dir=n.lG2({type:nt,selectors:[["cdk-accordion-item"],["","cdkAccordionItem",""]],inputs:{expanded:"expanded",disabled:"disabled"},outputs:{closed:"closed",opened:"opened",destroyed:"destroyed",expandedChange:"expandedChange"},exportAs:["cdkAccordionItem"],features:[n._Bn([{provide:Q,useValue:void 0}])]})}return nt})(),J=(()=>{class nt{static#e=this.\u0275fac=function(bt){return new(bt||nt)};static#t=this.\u0275mod=n.oAB({type:nt});static#n=this.\u0275inj=n.cJS({})}return nt})();var xe=p(8484),fe=p(6814),ce=p(3680),De=p(4300),Ae=p(3997),Le=p(7921),se=p(2181),ue=p(8180),ze=p(6028),oe=p(8645),N=p(6232),Ce=p(3019),K=p(6825);const ve=["body"];function ye(nt,Bt){}const He=[[["mat-expansion-panel-header"]],"*",[["mat-action-row"]]],ft=["mat-expansion-panel-header","*","mat-action-row"];function ct(nt,Bt){if(1&nt&&n._UZ(0,"span",2),2&nt){const Je=n.oxw();n.Q6J("@indicatorRotate",Je._getExpandedState())}}const xt=[[["mat-panel-title"]],[["mat-panel-description"]],"*"],Ut=["mat-panel-title","mat-panel-description","*"],It=new n.OlP("MAT_ACCORDION"),sn="225ms cubic-bezier(0.4,0.0,0.2,1)",Xe={indicatorRotate:(0,K.X$)("indicatorRotate",[(0,K.SB)("collapsed, void",(0,K.oB)({transform:"rotate(0deg)"})),(0,K.SB)("expanded",(0,K.oB)({transform:"rotate(180deg)"})),(0,K.eR)("expanded <=> collapsed, void => collapsed",(0,K.jt)(sn))]),bodyExpansion:(0,K.X$)("bodyExpansion",[(0,K.SB)("collapsed, void",(0,K.oB)({height:"0px",visibility:"hidden"})),(0,K.SB)("expanded",(0,K.oB)({height:"*",visibility:""})),(0,K.eR)("expanded <=> collapsed, void => collapsed",(0,K.jt)(sn))])},At=new n.OlP("MAT_EXPANSION_PANEL");let Y=(()=>{class nt{constructor(Je,bt){this._template=Je,this._expansionPanel=bt}static#e=this.\u0275fac=function(bt){return new(bt||nt)(n.Y36(n.Rgc),n.Y36(At,8))};static#t=this.\u0275dir=n.lG2({type:nt,selectors:[["ng-template","matExpansionPanelContent",""]]})}return nt})(),P=0;const ae=new n.OlP("MAT_EXPANSION_PANEL_DEFAULT_OPTIONS");let B=(()=>{class nt extends ie{get hideToggle(){return this._hideToggle||this.accordion&&this.accordion.hideToggle}set hideToggle(Je){this._hideToggle=(0,w.Ig)(Je)}get togglePosition(){return this._togglePosition||this.accordion&&this.accordion.togglePosition}set togglePosition(Je){this._togglePosition=Je}constructor(Je,bt,Oe,rt,vt,en,tn){super(Je,bt,Oe),this._viewContainerRef=rt,this._animationMode=en,this._hideToggle=!1,this.afterExpand=new n.vpe,this.afterCollapse=new n.vpe,this._inputChanges=new oe.x,this._headerId="mat-expansion-panel-header-"+P++,this._bodyAnimationDone=new oe.x,this.accordion=Je,this._document=vt,this._bodyAnimationDone.pipe((0,Ae.x)((fn,Zt)=>fn.fromState===Zt.fromState&&fn.toState===Zt.toState)).subscribe(fn=>{"void"!==fn.fromState&&("expanded"===fn.toState?this.afterExpand.emit():"collapsed"===fn.toState&&this.afterCollapse.emit())}),tn&&(this.hideToggle=tn.hideToggle)}_hasSpacing(){return!!this.accordion&&this.expanded&&"default"===this.accordion.displayMode}_getExpandedState(){return this.expanded?"expanded":"collapsed"}toggle(){this.expanded=!this.expanded}close(){this.expanded=!1}open(){this.expanded=!0}ngAfterContentInit(){this._lazyContent&&this._lazyContent._expansionPanel===this&&this.opened.pipe((0,Le.O)(null),(0,se.h)(()=>this.expanded&&!this._portal),(0,ue.q)(1)).subscribe(()=>{this._portal=new xe.UE(this._lazyContent._template,this._viewContainerRef)})}ngOnChanges(Je){this._inputChanges.next(Je)}ngOnDestroy(){super.ngOnDestroy(),this._bodyAnimationDone.complete(),this._inputChanges.complete()}_containsFocus(){if(this._body){const Je=this._document.activeElement,bt=this._body.nativeElement;return Je===bt||bt.contains(Je)}return!1}static#e=this.\u0275fac=function(bt){return new(bt||nt)(n.Y36(It,12),n.Y36(n.sBO),n.Y36(l.A8),n.Y36(n.s_b),n.Y36(fe.K0),n.Y36(n.QbO,8),n.Y36(ae,8))};static#t=this.\u0275cmp=n.Xpm({type:nt,selectors:[["mat-expansion-panel"]],contentQueries:function(bt,Oe,rt){if(1&bt&&n.Suo(rt,Y,5),2&bt){let vt;n.iGM(vt=n.CRH())&&(Oe._lazyContent=vt.first)}},viewQuery:function(bt,Oe){if(1&bt&&n.Gf(ve,5),2&bt){let rt;n.iGM(rt=n.CRH())&&(Oe._body=rt.first)}},hostAttrs:[1,"mat-expansion-panel"],hostVars:6,hostBindings:function(bt,Oe){2&bt&&n.ekj("mat-expanded",Oe.expanded)("_mat-animation-noopable","NoopAnimations"===Oe._animationMode)("mat-expansion-panel-spacing",Oe._hasSpacing())},inputs:{disabled:"disabled",expanded:"expanded",hideToggle:"hideToggle",togglePosition:"togglePosition"},outputs:{opened:"opened",closed:"closed",expandedChange:"expandedChange",afterExpand:"afterExpand",afterCollapse:"afterCollapse"},exportAs:["matExpansionPanel"],features:[n._Bn([{provide:It,useValue:void 0},{provide:At,useExisting:nt}]),n.qOj,n.TTD],ngContentSelectors:ft,decls:7,vars:4,consts:[["role","region",1,"mat-expansion-panel-content",3,"id"],["body",""],[1,"mat-expansion-panel-body"],[3,"cdkPortalOutlet"]],template:function(bt,Oe){1&bt&&(n.F$t(He),n.Hsn(0),n.TgZ(1,"div",0,1),n.NdJ("@bodyExpansion.done",function(vt){return Oe._bodyAnimationDone.next(vt)}),n.TgZ(3,"div",2),n.Hsn(4,1),n.YNc(5,ye,0,0,"ng-template",3),n.qZA(),n.Hsn(6,2),n.qZA()),2&bt&&(n.xp6(1),n.Q6J("@bodyExpansion",Oe._getExpandedState())("id",Oe.id),n.uIk("aria-labelledby",Oe._headerId),n.xp6(4),n.Q6J("cdkPortalOutlet",Oe._portal))},dependencies:[xe.Pl],styles:['.mat-expansion-panel{--mat-expansion-container-shape:4px;box-sizing:content-box;display:block;margin:0;overflow:hidden;transition:margin 225ms cubic-bezier(0.4, 0, 0.2, 1),box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);position:relative;background:var(--mat-expansion-container-background-color);color:var(--mat-expansion-container-text-color);border-radius:var(--mat-expansion-container-shape)}.mat-expansion-panel: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)}.mat-accordion .mat-expansion-panel:not(.mat-expanded),.mat-accordion .mat-expansion-panel:not(.mat-expansion-panel-spacing){border-radius:0}.mat-accordion .mat-expansion-panel:first-of-type{border-top-right-radius:var(--mat-expansion-container-shape);border-top-left-radius:var(--mat-expansion-container-shape)}.mat-accordion .mat-expansion-panel:last-of-type{border-bottom-right-radius:var(--mat-expansion-container-shape);border-bottom-left-radius:var(--mat-expansion-container-shape)}.cdk-high-contrast-active .mat-expansion-panel{outline:solid 1px}.mat-expansion-panel.ng-animate-disabled,.ng-animate-disabled .mat-expansion-panel,.mat-expansion-panel._mat-animation-noopable{transition:none}.mat-expansion-panel-content{display:flex;flex-direction:column;overflow:visible;font-family:var(--mat-expansion-container-text-font);font-size:var(--mat-expansion-container-text-size);font-weight:var(--mat-expansion-container-text-weight);line-height:var(--mat-expansion-container-text-line-height);letter-spacing:var(--mat-expansion-container-text-tracking)}.mat-expansion-panel-content[style*="visibility: hidden"] *{visibility:hidden !important}.mat-expansion-panel-body{padding:0 24px 16px}.mat-expansion-panel-spacing{margin:16px 0}.mat-accordion>.mat-expansion-panel-spacing:first-child,.mat-accordion>*:first-child:not(.mat-expansion-panel) .mat-expansion-panel-spacing{margin-top:0}.mat-accordion>.mat-expansion-panel-spacing:last-child,.mat-accordion>*:last-child:not(.mat-expansion-panel) .mat-expansion-panel-spacing{margin-bottom:0}.mat-action-row{border-top-style:solid;border-top-width:1px;display:flex;flex-direction:row;justify-content:flex-end;padding:16px 8px 16px 24px;border-top-color:var(--mat-expansion-actions-divider-color)}.mat-action-row .mat-button-base,.mat-action-row .mat-mdc-button-base{margin-left:8px}[dir=rtl] .mat-action-row .mat-button-base,[dir=rtl] .mat-action-row .mat-mdc-button-base{margin-left:0;margin-right:8px}'],encapsulation:2,data:{animation:[Xe.bodyExpansion]},changeDetection:0})}return nt})();class L{}const V=(0,ce.sb)(L);let Pe=(()=>{class nt extends V{constructor(Je,bt,Oe,rt,vt,en,tn){super(),this.panel=Je,this._element=bt,this._focusMonitor=Oe,this._changeDetectorRef=rt,this._animationMode=en,this._parentChangeSubscription=E.w0.EMPTY;const fn=Je.accordion?Je.accordion._stateChanges.pipe((0,se.h)(Zt=>!(!Zt.hideToggle&&!Zt.togglePosition))):N.E;this.tabIndex=parseInt(tn||"")||0,this._parentChangeSubscription=(0,Ce.T)(Je.opened,Je.closed,fn,Je._inputChanges.pipe((0,se.h)(Zt=>!!(Zt.hideToggle||Zt.disabled||Zt.togglePosition)))).subscribe(()=>this._changeDetectorRef.markForCheck()),Je.closed.pipe((0,se.h)(()=>Je._containsFocus())).subscribe(()=>Oe.focusVia(bt,"program")),vt&&(this.expandedHeight=vt.expandedHeight,this.collapsedHeight=vt.collapsedHeight)}get disabled(){return this.panel.disabled}_toggle(){this.disabled||this.panel.toggle()}_isExpanded(){return this.panel.expanded}_getExpandedState(){return this.panel._getExpandedState()}_getPanelId(){return this.panel.id}_getTogglePosition(){return this.panel.togglePosition}_showToggle(){return!this.panel.hideToggle&&!this.panel.disabled}_getHeaderHeight(){const Je=this._isExpanded();return Je&&this.expandedHeight?this.expandedHeight:!Je&&this.collapsedHeight?this.collapsedHeight:null}_keydown(Je){switch(Je.keyCode){case ze.L_:case ze.K5:(0,ze.Vb)(Je)||(Je.preventDefault(),this._toggle());break;default:return void(this.panel.accordion&&this.panel.accordion._handleHeaderKeydown(Je))}}focus(Je,bt){Je?this._focusMonitor.focusVia(this._element,Je,bt):this._element.nativeElement.focus(bt)}ngAfterViewInit(){this._focusMonitor.monitor(this._element).subscribe(Je=>{Je&&this.panel.accordion&&this.panel.accordion._handleHeaderFocus(this)})}ngOnDestroy(){this._parentChangeSubscription.unsubscribe(),this._focusMonitor.stopMonitoring(this._element)}static#e=this.\u0275fac=function(bt){return new(bt||nt)(n.Y36(B,1),n.Y36(n.SBq),n.Y36(De.tE),n.Y36(n.sBO),n.Y36(ae,8),n.Y36(n.QbO,8),n.$8M("tabindex"))};static#t=this.\u0275cmp=n.Xpm({type:nt,selectors:[["mat-expansion-panel-header"]],hostAttrs:["role","button",1,"mat-expansion-panel-header","mat-focus-indicator"],hostVars:15,hostBindings:function(bt,Oe){1&bt&&n.NdJ("click",function(){return Oe._toggle()})("keydown",function(vt){return Oe._keydown(vt)}),2&bt&&(n.uIk("id",Oe.panel._headerId)("tabindex",Oe.tabIndex)("aria-controls",Oe._getPanelId())("aria-expanded",Oe._isExpanded())("aria-disabled",Oe.panel.disabled),n.Udp("height",Oe._getHeaderHeight()),n.ekj("mat-expanded",Oe._isExpanded())("mat-expansion-toggle-indicator-after","after"===Oe._getTogglePosition())("mat-expansion-toggle-indicator-before","before"===Oe._getTogglePosition())("_mat-animation-noopable","NoopAnimations"===Oe._animationMode))},inputs:{tabIndex:"tabIndex",expandedHeight:"expandedHeight",collapsedHeight:"collapsedHeight"},features:[n.qOj],ngContentSelectors:Ut,decls:5,vars:3,consts:[[1,"mat-content"],["class","mat-expansion-indicator",4,"ngIf"],[1,"mat-expansion-indicator"]],template:function(bt,Oe){1&bt&&(n.F$t(xt),n.TgZ(0,"span",0),n.Hsn(1),n.Hsn(2,1),n.Hsn(3,2),n.qZA(),n.YNc(4,ct,1,1,"span",1)),2&bt&&(n.ekj("mat-content-hide-toggle",!Oe._showToggle()),n.xp6(4),n.Q6J("ngIf",Oe._showToggle()))},dependencies:[fe.O5],styles:['.mat-expansion-panel-header{display:flex;flex-direction:row;align-items:center;padding:0 24px;border-radius:inherit;transition:height 225ms cubic-bezier(0.4, 0, 0.2, 1);height:var(--mat-expansion-header-collapsed-state-height);font-family:var(--mat-expansion-header-text-font);font-size:var(--mat-expansion-header-text-size);font-weight:var(--mat-expansion-header-text-weight);line-height:var(--mat-expansion-header-text-line-height);letter-spacing:var(--mat-expansion-header-text-tracking)}.mat-expansion-panel-header.mat-expanded{height:var(--mat-expansion-header-expanded-state-height)}.mat-expansion-panel-header[aria-disabled=true]{color:var(--mat-expansion-header-disabled-state-text-color)}.mat-expansion-panel-header:not([aria-disabled=true]){cursor:pointer}.mat-expansion-panel:not(.mat-expanded) .mat-expansion-panel-header:not([aria-disabled=true]):hover{background:var(--mat-expansion-header-hover-state-layer-color)}@media(hover: none){.mat-expansion-panel:not(.mat-expanded) .mat-expansion-panel-header:not([aria-disabled=true]):hover{background:var(--mat-expansion-container-background-color)}}.mat-expansion-panel .mat-expansion-panel-header:not([aria-disabled=true]).cdk-keyboard-focused,.mat-expansion-panel .mat-expansion-panel-header:not([aria-disabled=true]).cdk-program-focused{background:var(--mat-expansion-header-focus-state-layer-color)}.mat-expansion-panel-header._mat-animation-noopable{transition:none}.mat-expansion-panel-header:focus,.mat-expansion-panel-header:hover{outline:none}.mat-expansion-panel-header.mat-expanded:focus,.mat-expansion-panel-header.mat-expanded:hover{background:inherit}.mat-expansion-panel-header.mat-expansion-toggle-indicator-before{flex-direction:row-reverse}.mat-expansion-panel-header.mat-expansion-toggle-indicator-before .mat-expansion-indicator{margin:0 16px 0 0}[dir=rtl] .mat-expansion-panel-header.mat-expansion-toggle-indicator-before .mat-expansion-indicator{margin:0 0 0 16px}.mat-content{display:flex;flex:1;flex-direction:row;overflow:hidden}.mat-content.mat-content-hide-toggle{margin-right:8px}[dir=rtl] .mat-content.mat-content-hide-toggle{margin-right:0;margin-left:8px}.mat-expansion-toggle-indicator-before .mat-content.mat-content-hide-toggle{margin-left:24px;margin-right:0}[dir=rtl] .mat-expansion-toggle-indicator-before .mat-content.mat-content-hide-toggle{margin-right:24px;margin-left:0}.mat-expansion-panel-header-title{color:var(--mat-expansion-header-text-color)}.mat-expansion-panel-header-title,.mat-expansion-panel-header-description{display:flex;flex-grow:1;flex-basis:0;margin-right:16px;align-items:center}[dir=rtl] .mat-expansion-panel-header-title,[dir=rtl] .mat-expansion-panel-header-description{margin-right:0;margin-left:16px}.mat-expansion-panel-header[aria-disabled=true] .mat-expansion-panel-header-title,.mat-expansion-panel-header[aria-disabled=true] .mat-expansion-panel-header-description{color:inherit}.mat-expansion-panel-header-description{flex-grow:2;color:var(--mat-expansion-header-description-color)}.mat-expansion-indicator::after{border-style:solid;border-width:0 2px 2px 0;content:"";display:inline-block;padding:3px;transform:rotate(45deg);vertical-align:middle;color:var(--mat-expansion-header-indicator-color)}.cdk-high-contrast-active .mat-expansion-panel-content{border-top:1px solid;border-top-left-radius:0;border-top-right-radius:0}'],encapsulation:2,data:{animation:[Xe.indicatorRotate]},changeDetection:0})}return nt})(),st=(()=>{class nt{static#e=this.\u0275fac=function(bt){return new(bt||nt)};static#t=this.\u0275mod=n.oAB({type:nt});static#n=this.\u0275inj=n.cJS({imports:[fe.ez,ce.BQ,J,xe.eL]})}return nt})()},9157:(_t,Me,p)=>{p.d(Me,{G_:()=>Kt,KE:()=>kn,Eo:()=>mt,lN:()=>ut,bx:()=>rt,qo:()=>en,R9:()=>fn});var n=p(5879),l=p(9388),w=p(2831),E=p(7394),H=p(8645),Q=p(3019),ne=p(9773),we=p(5592),ie=p(2181),J=p(4552);class xe extends H.x{constructor(le=1/0,G=1/0,Ie=J.l){super(),this._bufferSize=le,this._windowTime=G,this._timestampProvider=Ie,this._buffer=[],this._infiniteTimeWindow=!0,this._infiniteTimeWindow=G===1/0,this._bufferSize=Math.max(1,le),this._windowTime=Math.max(1,G)}next(le){const{isStopped:G,_buffer:Ie,_infiniteTimeWindow:$e,_timestampProvider:St,_windowTime:_e}=this;G||(Ie.push(le),!$e&&Ie.push(St.now()+_e)),this._trimBuffer(),super.next(le)}_subscribe(le){this._throwIfClosed(),this._trimBuffer();const G=this._innerSubscribe(le),{_infiniteTimeWindow:Ie,_buffer:$e}=this,St=$e.slice();for(let _e=0;_ethis._resizeSubject.next(G)))}observe(le){return this._elementObservables.has(le)||this._elementObservables.set(le,new we.y(G=>{const Ie=this._resizeSubject.subscribe(G);return this._resizeObserver?.observe(le,{box:this._box}),()=>{this._resizeObserver?.unobserve(le),Ie.unsubscribe(),this._elementObservables.delete(le)}}).pipe((0,ie.h)(G=>G.some(Ie=>Ie.target===le)),function ce(me,le,G){let Ie,$e=!1;return me&&"object"==typeof me?({bufferSize:Ie=1/0,windowTime:le=1/0,refCount:$e=!1,scheduler:G}=me):Ie=me??1/0,(0,fe.B)({connector:()=>new xe(Ie,le,G),resetOnError:!0,resetOnComplete:!1,resetOnRefCountZero:$e})}({bufferSize:1,refCount:!0}),(0,ne.R)(this._destroyed))),this._elementObservables.get(le)}destroy(){this._destroyed.next(),this._destroyed.complete(),this._resizeSubject.complete(),this._elementObservables.clear()}}let Le=(()=>{class me{constructor(){this._observers=new Map,this._ngZone=(0,n.f3M)(n.R0b)}ngOnDestroy(){for(const[,G]of this._observers)G.destroy();this._observers.clear()}observe(G,Ie){const $e=Ie?.box||"content-box";return this._observers.has($e)||this._observers.set($e,new Ae($e)),this._observers.get($e).observe(G)}static#e=this.\u0275fac=function(Ie){return new(Ie||me)};static#t=this.\u0275prov=n.Yz7({token:me,factory:me.\u0275fac,providedIn:"root"})}return me})();var se=p(2495),ue=p(6825),ze=p(6814),oe=p(7131),N=p(3680);const Ce=["notch"],K=["matFormFieldNotchedOutline",""],ve=["*"],ye=["textField"],He=["iconPrefixContainer"],ft=["textPrefixContainer"];function ct(me,le){1&me&&n._UZ(0,"span",19)}function xt(me,le){if(1&me&&(n.TgZ(0,"label",17),n.Hsn(1,1),n.YNc(2,ct,1,0,"span",18),n.qZA()),2&me){const G=n.oxw(2);n.Q6J("floating",G._shouldLabelFloat())("monitorResize",G._hasOutline())("id",G._labelId),n.uIk("for",G._control.id),n.xp6(2),n.Q6J("ngIf",!G.hideRequiredMarker&&G._control.required)}}function Ut(me,le){if(1&me&&n.YNc(0,xt,3,5,"label",16),2&me){const G=n.oxw();n.Q6J("ngIf",G._hasFloatingLabel())}}function It(me,le){1&me&&n._UZ(0,"div",20)}function sn(me,le){}function Xe(me,le){if(1&me&&n.YNc(0,sn,0,0,"ng-template",22),2&me){n.oxw(2);const G=n.MAs(1);n.Q6J("ngTemplateOutlet",G)}}function At(me,le){if(1&me&&(n.TgZ(0,"div",21),n.YNc(1,Xe,1,1,"ng-template",9),n.qZA()),2&me){const G=n.oxw();n.Q6J("matFormFieldNotchedOutlineOpen",G._shouldLabelFloat()),n.xp6(1),n.Q6J("ngIf",!G._forceDisplayInfixLabel())}}function Y(me,le){1&me&&(n.TgZ(0,"div",23,24),n.Hsn(2,2),n.qZA())}function P(me,le){1&me&&(n.TgZ(0,"div",25,26),n.Hsn(2,3),n.qZA())}function ae(me,le){}function B(me,le){if(1&me&&n.YNc(0,ae,0,0,"ng-template",22),2&me){n.oxw();const G=n.MAs(1);n.Q6J("ngTemplateOutlet",G)}}function Se(me,le){1&me&&(n.TgZ(0,"div",27),n.Hsn(1,4),n.qZA())}function L(me,le){1&me&&(n.TgZ(0,"div",28),n.Hsn(1,5),n.qZA())}function V(me,le){1&me&&n._UZ(0,"div",29)}function Pe(me,le){if(1&me&&(n.TgZ(0,"div",30),n.Hsn(1,6),n.qZA()),2&me){const G=n.oxw();n.Q6J("@transitionMessages",G._subscriptAnimationState)}}function re(me,le){if(1&me&&(n.TgZ(0,"mat-hint",34),n._uU(1),n.qZA()),2&me){const G=n.oxw(2);n.Q6J("id",G._hintLabelId),n.xp6(1),n.Oqu(G.hintLabel)}}function je(me,le){if(1&me&&(n.TgZ(0,"div",31),n.YNc(1,re,2,2,"mat-hint",32),n.Hsn(2,7),n._UZ(3,"div",33),n.Hsn(4,8),n.qZA()),2&me){const G=n.oxw();n.Q6J("@transitionMessages",G._subscriptAnimationState),n.xp6(1),n.Q6J("ngIf",G.hintLabel)}}const et=["*",[["mat-label"]],[["","matPrefix",""],["","matIconPrefix",""]],[["","matTextPrefix",""]],[["","matTextSuffix",""]],[["","matSuffix",""],["","matIconSuffix",""]],[["mat-error"],["","matError",""]],[["mat-hint",3,"align","end"]],[["mat-hint","align","end"]]],st=["*","mat-label","[matPrefix], [matIconPrefix]","[matTextPrefix]","[matTextSuffix]","[matSuffix], [matIconSuffix]","mat-error, [matError]","mat-hint:not([align='end'])","mat-hint[align='end']"];let nt=(()=>{class me{static#e=this.\u0275fac=function(Ie){return new(Ie||me)};static#t=this.\u0275dir=n.lG2({type:me,selectors:[["mat-label"]]})}return me})();const Je=new n.OlP("MatError");let Oe=0,rt=(()=>{class me{constructor(){this.align="start",this.id="mat-mdc-hint-"+Oe++}static#e=this.\u0275fac=function(Ie){return new(Ie||me)};static#t=this.\u0275dir=n.lG2({type:me,selectors:[["mat-hint"]],hostAttrs:[1,"mat-mdc-form-field-hint","mat-mdc-form-field-bottom-align"],hostVars:4,hostBindings:function(Ie,$e){2&Ie&&(n.Ikx("id",$e.id),n.uIk("align",null),n.ekj("mat-mdc-form-field-hint-end","end"===$e.align))},inputs:{align:"align",id:"id"}})}return me})();const vt=new n.OlP("MatPrefix");let en=(()=>{class me{constructor(){this._isText=!1}set _isTextSelector(G){this._isText=!0}static#e=this.\u0275fac=function(Ie){return new(Ie||me)};static#t=this.\u0275dir=n.lG2({type:me,selectors:[["","matPrefix",""],["","matIconPrefix",""],["","matTextPrefix",""]],inputs:{_isTextSelector:["matTextPrefix","_isTextSelector"]},features:[n._Bn([{provide:vt,useExisting:me}])]})}return me})();const tn=new n.OlP("MatSuffix");let fn=(()=>{class me{constructor(){this._isText=!1}set _isTextSelector(G){this._isText=!0}static#e=this.\u0275fac=function(Ie){return new(Ie||me)};static#t=this.\u0275dir=n.lG2({type:me,selectors:[["","matSuffix",""],["","matIconSuffix",""],["","matTextSuffix",""]],inputs:{_isTextSelector:["matTextSuffix","_isTextSelector"]},features:[n._Bn([{provide:tn,useExisting:me}])]})}return me})();const Zt=new n.OlP("FloatingLabelParent");let Mn=(()=>{class me{get floating(){return this._floating}set floating(G){this._floating=G,this.monitorResize&&this._handleResize()}get monitorResize(){return this._monitorResize}set monitorResize(G){this._monitorResize=G,this._monitorResize?this._subscribeToResize():this._resizeSubscription.unsubscribe()}constructor(G){this._elementRef=G,this._floating=!1,this._monitorResize=!1,this._resizeObserver=(0,n.f3M)(Le),this._ngZone=(0,n.f3M)(n.R0b),this._parent=(0,n.f3M)(Zt),this._resizeSubscription=new E.w0}ngOnDestroy(){this._resizeSubscription.unsubscribe()}getWidth(){return function it(me){if(null!==me.offsetParent)return me.scrollWidth;const G=me.cloneNode(!0);G.style.setProperty("position","absolute"),G.style.setProperty("transform","translate(-9999px, -9999px)"),document.documentElement.appendChild(G);const Ie=G.scrollWidth;return G.remove(),Ie}(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())})}static#e=this.\u0275fac=function(Ie){return new(Ie||me)(n.Y36(n.SBq))};static#t=this.\u0275dir=n.lG2({type:me,selectors:[["label","matFormFieldFloatingLabel",""]],hostAttrs:[1,"mdc-floating-label","mat-mdc-floating-label"],hostVars:2,hostBindings:function(Ie,$e){2&Ie&&n.ekj("mdc-floating-label--float-above",$e.floating)},inputs:{floating:"floating",monitorResize:"monitorResize"}})}return me})();const $="mdc-line-ripple--active",be="mdc-line-ripple--deactivating";let Be=(()=>{class me{constructor(G,Ie){this._elementRef=G,this._handleTransitionEnd=$e=>{const St=this._elementRef.nativeElement.classList,_e=St.contains(be);"opacity"===$e.propertyName&&_e&&St.remove($,be)},Ie.runOutsideAngular(()=>{G.nativeElement.addEventListener("transitionend",this._handleTransitionEnd)})}activate(){const G=this._elementRef.nativeElement.classList;G.remove(be),G.add($)}deactivate(){this._elementRef.nativeElement.classList.add(be)}ngOnDestroy(){this._elementRef.nativeElement.removeEventListener("transitionend",this._handleTransitionEnd)}static#e=this.\u0275fac=function(Ie){return new(Ie||me)(n.Y36(n.SBq),n.Y36(n.R0b))};static#t=this.\u0275dir=n.lG2({type:me,selectors:[["div","matFormFieldLineRipple",""]],hostAttrs:[1,"mdc-line-ripple"]})}return me})(),lt=(()=>{class me{constructor(G,Ie){this._elementRef=G,this._ngZone=Ie,this.open=!1}ngAfterViewInit(){const G=this._elementRef.nativeElement.querySelector(".mdc-floating-label");G?(this._elementRef.nativeElement.classList.add("mdc-notched-outline--upgraded"),"function"==typeof requestAnimationFrame&&(G.style.transitionDuration="0s",this._ngZone.runOutsideAngular(()=>{requestAnimationFrame(()=>G.style.transitionDuration="")}))):this._elementRef.nativeElement.classList.add("mdc-notched-outline--no-label")}_setNotchWidth(G){this._notch.nativeElement.style.width=this.open&&G?`calc(${G}px * var(--mat-mdc-form-field-floating-label-scale, 0.75) + 9px)`:""}static#e=this.\u0275fac=function(Ie){return new(Ie||me)(n.Y36(n.SBq),n.Y36(n.R0b))};static#t=this.\u0275cmp=n.Xpm({type:me,selectors:[["div","matFormFieldNotchedOutline",""]],viewQuery:function(Ie,$e){if(1&Ie&&n.Gf(Ce,5),2&Ie){let St;n.iGM(St=n.CRH())&&($e._notch=St.first)}},hostAttrs:[1,"mdc-notched-outline"],hostVars:2,hostBindings:function(Ie,$e){2&Ie&&n.ekj("mdc-notched-outline--notched",$e.open)},inputs:{open:["matFormFieldNotchedOutlineOpen","open"]},attrs:K,ngContentSelectors:ve,decls:5,vars:0,consts:[[1,"mdc-notched-outline__leading"],[1,"mdc-notched-outline__notch"],["notch",""],[1,"mdc-notched-outline__trailing"]],template:function(Ie,$e){1&Ie&&(n.F$t(),n._UZ(0,"div",0),n.TgZ(1,"div",1,2),n.Hsn(3),n.qZA(),n._UZ(4,"div",3))},encapsulation:2,changeDetection:0})}return me})();const ht={transitionMessages:(0,ue.X$)("transitionMessages",[(0,ue.SB)("enter",(0,ue.oB)({opacity:1,transform:"translateY(0%)"})),(0,ue.eR)("void => enter",[(0,ue.oB)({opacity:0,transform:"translateY(-5px)"}),(0,ue.jt)("300ms cubic-bezier(0.55, 0, 0.55, 0.2)")])])};let mt=(()=>{class me{static#e=this.\u0275fac=function(Ie){return new(Ie||me)};static#t=this.\u0275dir=n.lG2({type:me})}return me})();const Kt=new n.OlP("MatFormField"),$t=new n.OlP("MAT_FORM_FIELD_DEFAULT_OPTIONS");let An=0,kn=(()=>{class me{get hideRequiredMarker(){return this._hideRequiredMarker}set hideRequiredMarker(G){this._hideRequiredMarker=(0,se.Ig)(G)}get floatLabel(){return this._floatLabel||this._defaults?.floatLabel||"auto"}set floatLabel(G){G!==this._floatLabel&&(this._floatLabel=G,this._changeDetectorRef.markForCheck())}get appearance(){return this._appearance}set appearance(G){const Ie=this._appearance;this._appearance=G||this._defaults?.appearance||"fill","outline"===this._appearance&&this._appearance!==Ie&&(this._needsOutlineLabelOffsetUpdateOnStable=!0)}get subscriptSizing(){return this._subscriptSizing||this._defaults?.subscriptSizing||"fixed"}set subscriptSizing(G){this._subscriptSizing=G||this._defaults?.subscriptSizing||"fixed"}get hintLabel(){return this._hintLabel}set hintLabel(G){this._hintLabel=G,this._processHints()}get _control(){return this._explicitFormFieldControl||this._formFieldControl}set _control(G){this._explicitFormFieldControl=G}constructor(G,Ie,$e,St,_e,ee,S,W){this._elementRef=G,this._changeDetectorRef=Ie,this._ngZone=$e,this._dir=St,this._platform=_e,this._defaults=ee,this._animationMode=S,this._hideRequiredMarker=!1,this.color="primary",this._appearance="fill",this._subscriptSizing=null,this._hintLabel="",this._hasIconPrefix=!1,this._hasTextPrefix=!1,this._hasIconSuffix=!1,this._hasTextSuffix=!1,this._labelId="mat-mdc-form-field-label-"+An++,this._hintLabelId="mat-mdc-hint-"+An++,this._subscriptAnimationState="",this._destroyed=new H.x,this._isFocused=null,this._needsOutlineLabelOffsetUpdateOnStable=!1,ee&&(ee.appearance&&(this.appearance=ee.appearance),this._hideRequiredMarker=!!ee?.hideRequiredMarker,ee.color&&(this.color=ee.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(){const G=this._control;G.controlType&&this._elementRef.nativeElement.classList.add(`mat-mdc-form-field-type-${G.controlType}`),G.stateChanges.subscribe(()=>{this._updateFocusState(),this._syncDescribedByIds(),this._changeDetectorRef.markForCheck()}),G.ngControl&&G.ngControl.valueChanges&&G.ngControl.valueChanges.pipe((0,ne.R)(this._destroyed)).subscribe(()=>this._changeDetectorRef.markForCheck())}_checkPrefixAndSuffixTypes(){this._hasIconPrefix=!!this._prefixChildren.find(G=>!G._isText),this._hasTextPrefix=!!this._prefixChildren.find(G=>G._isText),this._hasIconSuffix=!!this._suffixChildren.find(G=>!G._isText),this._hasTextSuffix=!!this._suffixChildren.find(G=>G._isText)}_initializePrefixAndSuffix(){this._checkPrefixAndSuffixTypes(),(0,Q.T)(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(){}_updateFocusState(){this._control.focused&&!this._isFocused?(this._isFocused=!0,this._lineRipple?.activate()):!this._control.focused&&(this._isFocused||null===this._isFocused)&&(this._isFocused=!1,this._lineRipple?.deactivate()),this._textField?.nativeElement.classList.toggle("mdc-text-field--focused",this._control.focused)}_initializeOutlineLabelOffsetSubscriptions(){this._prefixChildren.changes.subscribe(()=>this._needsOutlineLabelOffsetUpdateOnStable=!0),this._ngZone.runOutsideAngular(()=>{this._ngZone.onStable.pipe((0,ne.R)(this._destroyed)).subscribe(()=>{this._needsOutlineLabelOffsetUpdateOnStable&&(this._needsOutlineLabelOffsetUpdateOnStable=!1,this._updateOutlineLabelOffset())})}),this._dir.change.pipe((0,ne.R)(this._destroyed)).subscribe(()=>this._needsOutlineLabelOffsetUpdateOnStable=!0)}_shouldAlwaysFloat(){return"always"===this.floatLabel}_hasOutline(){return"outline"===this.appearance}_forceDisplayInfixLabel(){return!this._platform.isBrowser&&this._prefixChildren.length&&!this._shouldLabelFloat()}_hasFloatingLabel(){return!!this._labelChildNonStatic||!!this._labelChildStatic}_shouldLabelFloat(){return this._control.shouldLabelFloat||this._shouldAlwaysFloat()}_shouldForward(G){const Ie=this._control?this._control.ngControl:null;return Ie&&Ie[G]}_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(this._floatingLabel.getWidth()):this._notchedOutline?._setNotchWidth(0)}_processHints(){this._validateHints(),this._syncDescribedByIds()}_validateHints(){}_syncDescribedByIds(){if(this._control){let G=[];if(this._control.userAriaDescribedBy&&"string"==typeof this._control.userAriaDescribedBy&&G.push(...this._control.userAriaDescribedBy.split(" ")),"hint"===this._getDisplayedMessages()){const Ie=this._hintChildren?this._hintChildren.find(St=>"start"===St.align):null,$e=this._hintChildren?this._hintChildren.find(St=>"end"===St.align):null;Ie?G.push(Ie.id):this._hintLabel&&G.push(this._hintLabelId),$e&&G.push($e.id)}else this._errorChildren&&G.push(...this._errorChildren.map(Ie=>Ie.id));this._control.setDescribedByIds(G)}}_updateOutlineLabelOffset(){if(!this._platform.isBrowser||!this._hasOutline()||!this._floatingLabel)return;const G=this._floatingLabel.element;if(!this._iconPrefixContainer&&!this._textPrefixContainer)return void(G.style.transform="");if(!this._isAttachedToDom())return void(this._needsOutlineLabelOffsetUpdateOnStable=!0);const Ie=this._iconPrefixContainer?.nativeElement,$e=this._textPrefixContainer?.nativeElement,St=Ie?.getBoundingClientRect().width??0,_e=$e?.getBoundingClientRect().width??0;G.style.transform=`var(\n --mat-mdc-form-field-label-transform,\n translateY(-50%) translateX(calc(${"rtl"===this._dir.value?"-1":"1"} * (${St+_e}px + var(--mat-mdc-form-field-label-offset-x, 0px))))\n )`}_isAttachedToDom(){const G=this._elementRef.nativeElement;if(G.getRootNode){const Ie=G.getRootNode();return Ie&&Ie!==G}return document.documentElement.contains(G)}static#e=this.\u0275fac=function(Ie){return new(Ie||me)(n.Y36(n.SBq),n.Y36(n.sBO),n.Y36(n.R0b),n.Y36(l.Is),n.Y36(w.t4),n.Y36($t,8),n.Y36(n.QbO,8),n.Y36(ze.K0))};static#t=this.\u0275cmp=n.Xpm({type:me,selectors:[["mat-form-field"]],contentQueries:function(Ie,$e,St){if(1&Ie&&(n.Suo(St,nt,5),n.Suo(St,nt,7),n.Suo(St,mt,5),n.Suo(St,vt,5),n.Suo(St,tn,5),n.Suo(St,Je,5),n.Suo(St,rt,5)),2&Ie){let _e;n.iGM(_e=n.CRH())&&($e._labelChildNonStatic=_e.first),n.iGM(_e=n.CRH())&&($e._labelChildStatic=_e.first),n.iGM(_e=n.CRH())&&($e._formFieldControl=_e.first),n.iGM(_e=n.CRH())&&($e._prefixChildren=_e),n.iGM(_e=n.CRH())&&($e._suffixChildren=_e),n.iGM(_e=n.CRH())&&($e._errorChildren=_e),n.iGM(_e=n.CRH())&&($e._hintChildren=_e)}},viewQuery:function(Ie,$e){if(1&Ie&&(n.Gf(ye,5),n.Gf(He,5),n.Gf(ft,5),n.Gf(Mn,5),n.Gf(lt,5),n.Gf(Be,5)),2&Ie){let St;n.iGM(St=n.CRH())&&($e._textField=St.first),n.iGM(St=n.CRH())&&($e._iconPrefixContainer=St.first),n.iGM(St=n.CRH())&&($e._textPrefixContainer=St.first),n.iGM(St=n.CRH())&&($e._floatingLabel=St.first),n.iGM(St=n.CRH())&&($e._notchedOutline=St.first),n.iGM(St=n.CRH())&&($e._lineRipple=St.first)}},hostAttrs:[1,"mat-mdc-form-field"],hostVars:42,hostBindings:function(Ie,$e){2&Ie&&n.ekj("mat-mdc-form-field-label-always-float",$e._shouldAlwaysFloat())("mat-mdc-form-field-has-icon-prefix",$e._hasIconPrefix)("mat-mdc-form-field-has-icon-suffix",$e._hasIconSuffix)("mat-form-field-invalid",$e._control.errorState)("mat-form-field-disabled",$e._control.disabled)("mat-form-field-autofilled",$e._control.autofilled)("mat-form-field-no-animations","NoopAnimations"===$e._animationMode)("mat-form-field-appearance-fill","fill"==$e.appearance)("mat-form-field-appearance-outline","outline"==$e.appearance)("mat-form-field-hide-placeholder",$e._hasFloatingLabel()&&!$e._shouldLabelFloat())("mat-focused",$e._control.focused)("mat-primary","accent"!==$e.color&&"warn"!==$e.color)("mat-accent","accent"===$e.color)("mat-warn","warn"===$e.color)("ng-untouched",$e._shouldForward("untouched"))("ng-touched",$e._shouldForward("touched"))("ng-pristine",$e._shouldForward("pristine"))("ng-dirty",$e._shouldForward("dirty"))("ng-valid",$e._shouldForward("valid"))("ng-invalid",$e._shouldForward("invalid"))("ng-pending",$e._shouldForward("pending"))},inputs:{hideRequiredMarker:"hideRequiredMarker",color:"color",floatLabel:"floatLabel",appearance:"appearance",subscriptSizing:"subscriptSizing",hintLabel:"hintLabel"},exportAs:["matFormField"],features:[n._Bn([{provide:Kt,useExisting:me},{provide:Zt,useExisting:me}])],ngContentSelectors:st,decls:18,vars:23,consts:[["labelTemplate",""],[1,"mat-mdc-text-field-wrapper","mdc-text-field",3,"click"],["textField",""],["class","mat-mdc-form-field-focus-overlay",4,"ngIf"],[1,"mat-mdc-form-field-flex"],["matFormFieldNotchedOutline","",3,"matFormFieldNotchedOutlineOpen",4,"ngIf"],["class","mat-mdc-form-field-icon-prefix",4,"ngIf"],["class","mat-mdc-form-field-text-prefix",4,"ngIf"],[1,"mat-mdc-form-field-infix"],[3,"ngIf"],["class","mat-mdc-form-field-text-suffix",4,"ngIf"],["class","mat-mdc-form-field-icon-suffix",4,"ngIf"],["matFormFieldLineRipple","",4,"ngIf"],[1,"mat-mdc-form-field-subscript-wrapper","mat-mdc-form-field-bottom-align",3,"ngSwitch"],["class","mat-mdc-form-field-error-wrapper",4,"ngSwitchCase"],["class","mat-mdc-form-field-hint-wrapper",4,"ngSwitchCase"],["matFormFieldFloatingLabel","",3,"floating","monitorResize","id",4,"ngIf"],["matFormFieldFloatingLabel","",3,"floating","monitorResize","id"],["aria-hidden","true","class","mat-mdc-form-field-required-marker mdc-floating-label--required",4,"ngIf"],["aria-hidden","true",1,"mat-mdc-form-field-required-marker","mdc-floating-label--required"],[1,"mat-mdc-form-field-focus-overlay"],["matFormFieldNotchedOutline","",3,"matFormFieldNotchedOutlineOpen"],[3,"ngTemplateOutlet"],[1,"mat-mdc-form-field-icon-prefix"],["iconPrefixContainer",""],[1,"mat-mdc-form-field-text-prefix"],["textPrefixContainer",""],[1,"mat-mdc-form-field-text-suffix"],[1,"mat-mdc-form-field-icon-suffix"],["matFormFieldLineRipple",""],[1,"mat-mdc-form-field-error-wrapper"],[1,"mat-mdc-form-field-hint-wrapper"],[3,"id",4,"ngIf"],[1,"mat-mdc-form-field-hint-spacer"],[3,"id"]],template:function(Ie,$e){1&Ie&&(n.F$t(et),n.YNc(0,Ut,1,1,"ng-template",null,0,n.W1O),n.TgZ(2,"div",1,2),n.NdJ("click",function(_e){return $e._control.onContainerClick(_e)}),n.YNc(4,It,1,0,"div",3),n.TgZ(5,"div",4),n.YNc(6,At,2,2,"div",5),n.YNc(7,Y,3,0,"div",6),n.YNc(8,P,3,0,"div",7),n.TgZ(9,"div",8),n.YNc(10,B,1,1,"ng-template",9),n.Hsn(11),n.qZA(),n.YNc(12,Se,2,0,"div",10),n.YNc(13,L,2,0,"div",11),n.qZA(),n.YNc(14,V,1,0,"div",12),n.qZA(),n.TgZ(15,"div",13),n.YNc(16,Pe,2,1,"div",14),n.YNc(17,je,5,2,"div",15),n.qZA()),2&Ie&&(n.xp6(2),n.ekj("mdc-text-field--filled",!$e._hasOutline())("mdc-text-field--outlined",$e._hasOutline())("mdc-text-field--no-label",!$e._hasFloatingLabel())("mdc-text-field--disabled",$e._control.disabled)("mdc-text-field--invalid",$e._control.errorState),n.xp6(2),n.Q6J("ngIf",!$e._hasOutline()&&!$e._control.disabled),n.xp6(2),n.Q6J("ngIf",$e._hasOutline()),n.xp6(1),n.Q6J("ngIf",$e._hasIconPrefix),n.xp6(1),n.Q6J("ngIf",$e._hasTextPrefix),n.xp6(2),n.Q6J("ngIf",!$e._hasOutline()||$e._forceDisplayInfixLabel()),n.xp6(2),n.Q6J("ngIf",$e._hasTextSuffix),n.xp6(1),n.Q6J("ngIf",$e._hasIconSuffix),n.xp6(1),n.Q6J("ngIf",!$e._hasOutline()),n.xp6(1),n.ekj("mat-mdc-form-field-subscript-dynamic-size","dynamic"===$e.subscriptSizing),n.Q6J("ngSwitch",$e._getDisplayedMessages()),n.xp6(1),n.Q6J("ngSwitchCase","error"),n.xp6(1),n.Q6J("ngSwitchCase","hint"))},dependencies:[ze.O5,ze.tP,ze.RF,ze.n9,rt,Mn,lt,Be],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-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{transform:translateY(-34.75px) scale(0.75)}.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-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{transform:translateY(-24.75px) scale(0.75)}.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-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{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-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{--mdc-filled-text-field-active-indicator-height:1px;--mdc-filled-text-field-focus-active-indicator-height:2px;--mdc-filled-text-field-container-shape:4px;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.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-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{--mdc-outlined-text-field-outline-width:1px;--mdc-outlined-text-field-focus-outline-width:2px;--mdc-outlined-text-field-container-shape:4px}.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.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-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-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}.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}.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-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}.mat-mdc-form-field-focus-overlay{top:0;left:0;right:0;bottom:0;position:absolute;opacity:0;pointer-events:none}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}.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}[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-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%}.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,[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-icon-prefix>.mat-icon,.mat-mdc-form-field-icon-suffix>.mat-icon{padding:12px;box-sizing:content-box}.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:[ht.transitionMessages]},changeDetection:0})}return me})(),ut=(()=>{class me{static#e=this.\u0275fac=function(Ie){return new(Ie||me)};static#t=this.\u0275mod=n.oAB({type:me});static#n=this.\u0275inj=n.cJS({imports:[N.BQ,ze.ez,oe.Q8,N.BQ]})}return me})()},617:(_t,Me,p)=>{p.d(Me,{Hw:()=>Se,Ps:()=>L,jv:()=>He});var n=p(5879),l=p(3680),w=p(2495),E=p(6814),H=p(2096),Q=p(8504),ne=p(9315),we=p(7394),ie=p(9397),J=p(7398),xe=p(6306),fe=p(4716),ce=p(3020),De=p(8180),Ae=p(9862),Le=p(6593);const se=["*"];let ue;function oe(V){return function ze(){if(void 0===ue&&(ue=null,typeof window<"u")){const V=window;void 0!==V.trustedTypes&&(ue=V.trustedTypes.createPolicy("angular#components",{createHTML:Pe=>Pe}))}return ue}()?.createHTML(V)||V}function N(V){return Error(`Unable to find icon with the name "${V}"`)}function K(V){return Error(`The URL provided to MatIconRegistry was not trusted as a resource URL via Angular's DomSanitizer. Attempted URL was "${V}".`)}function ve(V){return Error(`The literal provided to MatIconRegistry was not trusted as safe HTML by Angular's DomSanitizer. Attempted literal was "${V}".`)}class ye{constructor(Pe,re,je){this.url=Pe,this.svgText=re,this.options=je}}let He=(()=>{class V{constructor(re,je,et,st){this._httpClient=re,this._sanitizer=je,this._errorHandler=st,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=et}addSvgIcon(re,je,et){return this.addSvgIconInNamespace("",re,je,et)}addSvgIconLiteral(re,je,et){return this.addSvgIconLiteralInNamespace("",re,je,et)}addSvgIconInNamespace(re,je,et,st){return this._addSvgIconConfig(re,je,new ye(et,null,st))}addSvgIconResolver(re){return this._resolvers.push(re),this}addSvgIconLiteralInNamespace(re,je,et,st){const nt=this._sanitizer.sanitize(n.q3G.HTML,et);if(!nt)throw ve(et);const Bt=oe(nt);return this._addSvgIconConfig(re,je,new ye("",Bt,st))}addSvgIconSet(re,je){return this.addSvgIconSetInNamespace("",re,je)}addSvgIconSetLiteral(re,je){return this.addSvgIconSetLiteralInNamespace("",re,je)}addSvgIconSetInNamespace(re,je,et){return this._addSvgIconSetConfig(re,new ye(je,null,et))}addSvgIconSetLiteralInNamespace(re,je,et){const st=this._sanitizer.sanitize(n.q3G.HTML,je);if(!st)throw ve(je);const nt=oe(st);return this._addSvgIconSetConfig(re,new ye("",nt,et))}registerFontClassAlias(re,je=re){return this._fontCssClassesByAlias.set(re,je),this}classNameForFontAlias(re){return this._fontCssClassesByAlias.get(re)||re}setDefaultFontSetClass(...re){return this._defaultFontSetClass=re,this}getDefaultFontSetClass(){return this._defaultFontSetClass}getSvgIconFromUrl(re){const je=this._sanitizer.sanitize(n.q3G.RESOURCE_URL,re);if(!je)throw K(re);const et=this._cachedIconsByUrl.get(je);return et?(0,H.of)(xt(et)):this._loadSvgIconFromConfig(new ye(re,null)).pipe((0,ie.b)(st=>this._cachedIconsByUrl.set(je,st)),(0,J.U)(st=>xt(st)))}getNamedSvgIcon(re,je=""){const et=Ut(je,re);let st=this._svgIconConfigs.get(et);if(st)return this._getSvgFromConfig(st);if(st=this._getIconConfigFromResolvers(je,re),st)return this._svgIconConfigs.set(et,st),this._getSvgFromConfig(st);const nt=this._iconSetConfigs.get(je);return nt?this._getSvgFromIconSetConfigs(re,nt):(0,Q._)(N(et))}ngOnDestroy(){this._resolvers=[],this._svgIconConfigs.clear(),this._iconSetConfigs.clear(),this._cachedIconsByUrl.clear()}_getSvgFromConfig(re){return re.svgText?(0,H.of)(xt(this._svgElementFromConfig(re))):this._loadSvgIconFromConfig(re).pipe((0,J.U)(je=>xt(je)))}_getSvgFromIconSetConfigs(re,je){const et=this._extractIconWithNameFromAnySet(re,je);if(et)return(0,H.of)(et);const st=je.filter(nt=>!nt.svgText).map(nt=>this._loadSvgIconSetFromConfig(nt).pipe((0,xe.K)(Bt=>{const bt=`Loading icon set URL: ${this._sanitizer.sanitize(n.q3G.RESOURCE_URL,nt.url)} failed: ${Bt.message}`;return this._errorHandler.handleError(new Error(bt)),(0,H.of)(null)})));return(0,ne.D)(st).pipe((0,J.U)(()=>{const nt=this._extractIconWithNameFromAnySet(re,je);if(!nt)throw N(re);return nt}))}_extractIconWithNameFromAnySet(re,je){for(let et=je.length-1;et>=0;et--){const st=je[et];if(st.svgText&&st.svgText.toString().indexOf(re)>-1){const nt=this._svgElementFromConfig(st),Bt=this._extractSvgIconFromSet(nt,re,st.options);if(Bt)return Bt}}return null}_loadSvgIconFromConfig(re){return this._fetchIcon(re).pipe((0,ie.b)(je=>re.svgText=je),(0,J.U)(()=>this._svgElementFromConfig(re)))}_loadSvgIconSetFromConfig(re){return re.svgText?(0,H.of)(null):this._fetchIcon(re).pipe((0,ie.b)(je=>re.svgText=je))}_extractSvgIconFromSet(re,je,et){const st=re.querySelector(`[id="${je}"]`);if(!st)return null;const nt=st.cloneNode(!0);if(nt.removeAttribute("id"),"svg"===nt.nodeName.toLowerCase())return this._setSvgAttributes(nt,et);if("symbol"===nt.nodeName.toLowerCase())return this._setSvgAttributes(this._toSvgElement(nt),et);const Bt=this._svgElementFromString(oe(""));return Bt.appendChild(nt),this._setSvgAttributes(Bt,et)}_svgElementFromString(re){const je=this._document.createElement("DIV");je.innerHTML=re;const et=je.querySelector("svg");if(!et)throw Error(" tag not found");return et}_toSvgElement(re){const je=this._svgElementFromString(oe("")),et=re.attributes;for(let st=0;stoe(bt)),(0,fe.x)(()=>this._inProgressUrlFetches.delete(nt)),(0,ce.B)());return this._inProgressUrlFetches.set(nt,Je),Je}_addSvgIconConfig(re,je,et){return this._svgIconConfigs.set(Ut(re,je),et),this}_addSvgIconSetConfig(re,je){const et=this._iconSetConfigs.get(re);return et?et.push(je):this._iconSetConfigs.set(re,[je]),this}_svgElementFromConfig(re){if(!re.svgElement){const je=this._svgElementFromString(re.svgText);this._setSvgAttributes(je,re.options),re.svgElement=je}return re.svgElement}_getIconConfigFromResolvers(re,je){for(let et=0;etPe?Pe.pathname+Pe.search:""}}}),P=["clip-path","color-profile","src","cursor","fill","filter","marker","marker-start","marker-mid","marker-end","mask","stroke"],ae=P.map(V=>`[${V}]`).join(", "),B=/^url\(['"]?#(.*?)['"]?\)$/;let Se=(()=>{class V extends sn{get inline(){return this._inline}set inline(re){this._inline=(0,w.Ig)(re)}get svgIcon(){return this._svgIcon}set svgIcon(re){re!==this._svgIcon&&(re?this._updateSvgIcon(re):this._svgIcon&&this._clearSvgElement(),this._svgIcon=re)}get fontSet(){return this._fontSet}set fontSet(re){const je=this._cleanupFontValue(re);je!==this._fontSet&&(this._fontSet=je,this._updateFontIconClasses())}get fontIcon(){return this._fontIcon}set fontIcon(re){const je=this._cleanupFontValue(re);je!==this._fontIcon&&(this._fontIcon=je,this._updateFontIconClasses())}constructor(re,je,et,st,nt,Bt){super(re),this._iconRegistry=je,this._location=st,this._errorHandler=nt,this._inline=!1,this._previousFontSetClass=[],this._currentIconFetch=we.w0.EMPTY,Bt&&(Bt.color&&(this.color=this.defaultColor=Bt.color),Bt.fontSet&&(this.fontSet=Bt.fontSet)),et||re.nativeElement.setAttribute("aria-hidden","true")}_splitIconName(re){if(!re)return["",""];const je=re.split(":");switch(je.length){case 1:return["",je[0]];case 2:return je;default:throw Error(`Invalid icon name: "${re}"`)}}ngOnInit(){this._updateFontIconClasses()}ngAfterViewChecked(){const re=this._elementsWithExternalReferences;if(re&&re.size){const je=this._location.getPathname();je!==this._previousPath&&(this._previousPath=je,this._prependPathToReferences(je))}}ngOnDestroy(){this._currentIconFetch.unsubscribe(),this._elementsWithExternalReferences&&this._elementsWithExternalReferences.clear()}_usingFontIcon(){return!this.svgIcon}_setSvgElement(re){this._clearSvgElement();const je=this._location.getPathname();this._previousPath=je,this._cacheChildrenWithExternalReferences(re),this._prependPathToReferences(je),this._elementRef.nativeElement.appendChild(re)}_clearSvgElement(){const re=this._elementRef.nativeElement;let je=re.childNodes.length;for(this._elementsWithExternalReferences&&this._elementsWithExternalReferences.clear();je--;){const et=re.childNodes[je];(1!==et.nodeType||"svg"===et.nodeName.toLowerCase())&&et.remove()}}_updateFontIconClasses(){if(!this._usingFontIcon())return;const re=this._elementRef.nativeElement,je=(this.fontSet?this._iconRegistry.classNameForFontAlias(this.fontSet).split(/ +/):this._iconRegistry.getDefaultFontSetClass()).filter(et=>et.length>0);this._previousFontSetClass.forEach(et=>re.classList.remove(et)),je.forEach(et=>re.classList.add(et)),this._previousFontSetClass=je,this.fontIcon!==this._previousFontIconClass&&!je.includes("mat-ligature-font")&&(this._previousFontIconClass&&re.classList.remove(this._previousFontIconClass),this.fontIcon&&re.classList.add(this.fontIcon),this._previousFontIconClass=this.fontIcon)}_cleanupFontValue(re){return"string"==typeof re?re.trim().split(" ")[0]:re}_prependPathToReferences(re){const je=this._elementsWithExternalReferences;je&&je.forEach((et,st)=>{et.forEach(nt=>{st.setAttribute(nt.name,`url('${re}#${nt.value}')`)})})}_cacheChildrenWithExternalReferences(re){const je=re.querySelectorAll(ae),et=this._elementsWithExternalReferences=this._elementsWithExternalReferences||new Map;for(let st=0;st{const Bt=je[st],Je=Bt.getAttribute(nt),bt=Je?Je.match(B):null;if(bt){let Oe=et.get(Bt);Oe||(Oe=[],et.set(Bt,Oe)),Oe.push({name:nt,value:bt[1]})}})}_updateSvgIcon(re){if(this._svgNamespace=null,this._svgName=null,this._currentIconFetch.unsubscribe(),re){const[je,et]=this._splitIconName(re);je&&(this._svgNamespace=je),et&&(this._svgName=et),this._currentIconFetch=this._iconRegistry.getNamedSvgIcon(et,je).pipe((0,De.q)(1)).subscribe(st=>this._setSvgElement(st),st=>{this._errorHandler.handleError(new Error(`Error retrieving icon ${je}:${et}! ${st.message}`))})}}static#e=this.\u0275fac=function(je){return new(je||V)(n.Y36(n.SBq),n.Y36(He),n.$8M("aria-hidden"),n.Y36(At),n.Y36(n.qLn),n.Y36(Xe,8))};static#t=this.\u0275cmp=n.Xpm({type:V,selectors:[["mat-icon"]],hostAttrs:["role","img",1,"mat-icon","notranslate"],hostVars:8,hostBindings:function(je,et){2&je&&(n.uIk("data-mat-icon-type",et._usingFontIcon()?"font":"svg")("data-mat-icon-name",et._svgName||et.fontIcon)("data-mat-icon-namespace",et._svgNamespace||et.fontSet)("fontIcon",et._usingFontIcon()?et.fontIcon:null),n.ekj("mat-icon-inline",et.inline)("mat-icon-no-color","primary"!==et.color&&"accent"!==et.color&&"warn"!==et.color))},inputs:{color:"color",inline:"inline",svgIcon:"svgIcon",fontSet:"fontSet",fontIcon:"fontIcon"},exportAs:["matIcon"],features:[n.qOj],ngContentSelectors:se,decls:1,vars:0,template:function(je,et){1&je&&(n.F$t(),n.Hsn(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})}return V})(),L=(()=>{class V{static#e=this.\u0275fac=function(je){return new(je||V)};static#t=this.\u0275mod=n.oAB({type:V});static#n=this.\u0275inj=n.cJS({imports:[l.BQ,l.BQ]})}return V})()},4516:(_t,Me,p)=>{p.d(Me,{Jk:()=>J,Nt:()=>De,c:()=>Ae});var n=p(2495),l=p(2831),w=p(6263),E=p(5879),H=p(6223),Q=p(3680),ne=p(9157),we=p(8645);const J=new E.OlP("MAT_INPUT_VALUE_ACCESSOR"),xe=["button","checkbox","file","hidden","image","radio","range","reset","submit"];let fe=0;const ce=(0,Q.FD)(class{constructor(Le,se,ue,ze){this._defaultErrorStateMatcher=Le,this._parentForm=se,this._parentFormGroup=ue,this.ngControl=ze,this.stateChanges=new we.x}});let De=(()=>{class Le extends ce{get disabled(){return this._disabled}set disabled(ue){this._disabled=(0,n.Ig)(ue),this.focused&&(this.focused=!1,this.stateChanges.next())}get id(){return this._id}set id(ue){this._id=ue||this._uid}get required(){return this._required??this.ngControl?.control?.hasValidator(H.kI.required)??!1}set required(ue){this._required=(0,n.Ig)(ue)}get type(){return this._type}set type(ue){this._type=ue||"text",this._validateType(),!this._isTextarea&&(0,l.qK)().has(this._type)&&(this._elementRef.nativeElement.type=this._type)}get value(){return this._inputValueAccessor.value}set value(ue){ue!==this.value&&(this._inputValueAccessor.value=ue,this.stateChanges.next())}get readonly(){return this._readonly}set readonly(ue){this._readonly=(0,n.Ig)(ue)}constructor(ue,ze,oe,N,Ce,K,ve,ye,He,ft){super(K,N,Ce,oe),this._elementRef=ue,this._platform=ze,this._autofillMonitor=ye,this._formField=ft,this._uid="mat-input-"+fe++,this.focused=!1,this.stateChanges=new we.x,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(Ut=>(0,l.qK)().has(Ut)),this._iOSKeyupListener=Ut=>{const It=Ut.target;!It.value&&0===It.selectionStart&&0===It.selectionEnd&&(It.setSelectionRange(1,1),It.setSelectionRange(0,0))};const ct=this._elementRef.nativeElement,xt=ct.nodeName.toLowerCase();this._inputValueAccessor=ve||ct,this._previousNativeValue=this.value,this.id=this.id,ze.IOS&&He.runOutsideAngular(()=>{ue.nativeElement.addEventListener("keyup",this._iOSKeyupListener)}),this._isServer=!this._platform.isBrowser,this._isNativeSelect="select"===xt,this._isTextarea="textarea"===xt,this._isInFormField=!!ft,this._isNativeSelect&&(this.controlType=ct.multiple?"mat-native-select-multiple":"mat-native-select")}ngAfterViewInit(){this._platform.isBrowser&&this._autofillMonitor.monitor(this._elementRef.nativeElement).subscribe(ue=>{this.autofilled=ue.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(),null!==this.ngControl.disabled&&this.ngControl.disabled!==this.disabled&&(this.disabled=this.ngControl.disabled,this.stateChanges.next())),this._dirtyCheckNativeValue(),this._dirtyCheckPlaceholder()}focus(ue){this._elementRef.nativeElement.focus(ue)}_focusChanged(ue){ue!==this.focused&&(this.focused=ue,this.stateChanges.next())}_onInput(){}_dirtyCheckNativeValue(){const ue=this._elementRef.nativeElement.value;this._previousNativeValue!==ue&&(this._previousNativeValue=ue,this.stateChanges.next())}_dirtyCheckPlaceholder(){const ue=this._getPlaceholder();if(ue!==this._previousPlaceholder){const ze=this._elementRef.nativeElement;this._previousPlaceholder=ue,ue?ze.setAttribute("placeholder",ue):ze.removeAttribute("placeholder")}}_getPlaceholder(){return this.placeholder||null}_validateType(){xe.indexOf(this._type)}_isNeverEmpty(){return this._neverEmptyInputTypes.indexOf(this._type)>-1}_isBadInput(){let ue=this._elementRef.nativeElement.validity;return ue&&ue.badInput}get empty(){return!(this._isNeverEmpty()||this._elementRef.nativeElement.value||this._isBadInput()||this.autofilled)}get shouldLabelFloat(){if(this._isNativeSelect){const ue=this._elementRef.nativeElement,ze=ue.options[0];return this.focused||ue.multiple||!this.empty||!!(ue.selectedIndex>-1&&ze&&ze.label)}return this.focused||!this.empty}setDescribedByIds(ue){ue.length?this._elementRef.nativeElement.setAttribute("aria-describedby",ue.join(" ")):this._elementRef.nativeElement.removeAttribute("aria-describedby")}onContainerClick(){this.focused||this.focus()}_isInlineSelect(){const ue=this._elementRef.nativeElement;return this._isNativeSelect&&(ue.multiple||ue.size>1)}static#e=this.\u0275fac=function(ze){return new(ze||Le)(E.Y36(E.SBq),E.Y36(l.t4),E.Y36(H.a5,10),E.Y36(H.F,8),E.Y36(H.sg,8),E.Y36(Q.rD),E.Y36(J,10),E.Y36(w.Lq),E.Y36(E.R0b),E.Y36(ne.G_,8))};static#t=this.\u0275dir=E.lG2({type:Le,selectors:[["input","matInput",""],["textarea","matInput",""],["select","matNativeControl",""],["input","matNativeControl",""],["textarea","matNativeControl",""]],hostAttrs:[1,"mat-mdc-input-element"],hostVars:18,hostBindings:function(ze,oe){1&ze&&E.NdJ("focus",function(){return oe._focusChanged(!0)})("blur",function(){return oe._focusChanged(!1)})("input",function(){return oe._onInput()}),2&ze&&(E.Ikx("id",oe.id)("disabled",oe.disabled)("required",oe.required),E.uIk("name",oe.name||null)("readonly",oe.readonly&&!oe._isNativeSelect||null)("aria-invalid",oe.empty&&oe.required?null:oe.errorState)("aria-required",oe.required)("id",oe.id),E.ekj("mat-input-server",oe._isServer)("mat-mdc-form-field-textarea-control",oe._isInFormField&&oe._isTextarea)("mat-mdc-form-field-input-control",oe._isInFormField)("mdc-text-field__input",oe._isInFormField)("mat-mdc-native-select-inline",oe._isInlineSelect()))},inputs:{disabled:"disabled",id:"id",placeholder:"placeholder",name:"name",required:"required",type:"type",errorStateMatcher:"errorStateMatcher",userAriaDescribedBy:["aria-describedby","userAriaDescribedBy"],value:"value",readonly:"readonly"},exportAs:["matInput"],features:[E._Bn([{provide:ne.Eo,useExisting:Le}]),E.qOj,E.TTD]})}return Le})(),Ae=(()=>{class Le{static#e=this.\u0275fac=function(ze){return new(ze||Le)};static#t=this.\u0275mod=E.oAB({type:Le});static#n=this.\u0275inj=E.cJS({imports:[Q.BQ,ne.lN,ne.lN,w.Ky,Q.BQ]})}return Le})()},8525:(_t,Me,p)=>{p.d(Me,{LD:()=>Bt,gD:()=>nt});var n=p(3651),l=p(6814),w=p(5879),E=p(3680),H=p(9157),Q=p(6672),ne=p(4300),we=p(9388),ie=p(2495),J=p(8337),xe=p(6028),fe=p(6223),ce=p(8645),De=p(4911),Ae=p(3019),Le=p(7921),se=p(4664),ue=p(8180),ze=p(2181),oe=p(7398),N=p(3997),Ce=p(9773),K=p(6825);const ve=["trigger"],ye=["panel"];function He(Je,bt){if(1&Je&&(w.TgZ(0,"span",10),w._uU(1),w.qZA()),2&Je){const Oe=w.oxw();w.xp6(1),w.Oqu(Oe.placeholder)}}function ft(Je,bt){if(1&Je&&(w.TgZ(0,"span",14),w._uU(1),w.qZA()),2&Je){const Oe=w.oxw(2);w.xp6(1),w.Oqu(Oe.triggerValue)}}function ct(Je,bt){1&Je&&w.Hsn(0,0,["*ngSwitchCase","true"])}function xt(Je,bt){if(1&Je&&(w.TgZ(0,"span",11),w.YNc(1,ft,2,1,"span",12),w.YNc(2,ct,1,0,"ng-content",13),w.qZA()),2&Je){const Oe=w.oxw();w.Q6J("ngSwitch",!!Oe.customTrigger),w.xp6(2),w.Q6J("ngSwitchCase",!0)}}function Ut(Je,bt){if(1&Je){const Oe=w.EpF();w.O4$(),w.kcU(),w.TgZ(0,"div",15,16),w.NdJ("@transformPanel.done",function(vt){w.CHM(Oe);const en=w.oxw();return w.KtG(en._panelDoneAnimatingStream.next(vt.toState))})("keydown",function(vt){w.CHM(Oe);const en=w.oxw();return w.KtG(en._handleKeydown(vt))}),w.Hsn(2,1),w.qZA()}if(2&Je){const Oe=w.oxw();w.Gre("mat-mdc-select-panel mdc-menu-surface mdc-menu-surface--open ",Oe._getPanelTheme(),""),w.Q6J("ngClass",Oe.panelClass)("@transformPanel","showing"),w.uIk("id",Oe.id+"-panel")("aria-multiselectable",Oe.multiple)("aria-label",Oe.ariaLabel||null)("aria-labelledby",Oe._getPanelAriaLabelledby())}}const It=[[["mat-select-trigger"]],"*"],sn=["mat-select-trigger","*"],Xe={transformPanelWrap:(0,K.X$)("transformPanelWrap",[(0,K.eR)("* => void",(0,K.IO)("@transformPanel",[(0,K.pV)()],{optional:!0}))]),transformPanel:(0,K.X$)("transformPanel",[(0,K.SB)("void",(0,K.oB)({opacity:0,transform:"scale(1, 0.8)"})),(0,K.eR)("void => showing",(0,K.jt)("120ms cubic-bezier(0, 0, 0.2, 1)",(0,K.oB)({opacity:1,transform:"scale(1, 1)"}))),(0,K.eR)("* => void",(0,K.jt)("100ms linear",(0,K.oB)({opacity:0})))])};let ae=0;const B=new w.OlP("mat-select-scroll-strategy"),L=new w.OlP("MAT_SELECT_CONFIG"),V={provide:B,deps:[n.aV],useFactory:function Se(Je){return()=>Je.scrollStrategies.reposition()}},Pe=new w.OlP("MatSelectTrigger");class re{constructor(bt,Oe){this.source=bt,this.value=Oe}}const je=(0,E.Kr)((0,E.sb)((0,E.Id)((0,E.FD)(class{constructor(Je,bt,Oe,rt,vt){this._elementRef=Je,this._defaultErrorStateMatcher=bt,this._parentForm=Oe,this._parentFormGroup=rt,this.ngControl=vt,this.stateChanges=new ce.x}}))));let et=(()=>{class Je extends je{get focused(){return this._focused||this._panelOpen}get placeholder(){return this._placeholder}set placeholder(Oe){this._placeholder=Oe,this.stateChanges.next()}get required(){return this._required??this.ngControl?.control?.hasValidator(fe.kI.required)??!1}set required(Oe){this._required=(0,ie.Ig)(Oe),this.stateChanges.next()}get multiple(){return this._multiple}set multiple(Oe){this._multiple=(0,ie.Ig)(Oe)}get disableOptionCentering(){return this._disableOptionCentering}set disableOptionCentering(Oe){this._disableOptionCentering=(0,ie.Ig)(Oe)}get compareWith(){return this._compareWith}set compareWith(Oe){this._compareWith=Oe,this._selectionModel&&this._initializeSelection()}get value(){return this._value}set value(Oe){this._assignValue(Oe)&&this._onChange(Oe)}get typeaheadDebounceInterval(){return this._typeaheadDebounceInterval}set typeaheadDebounceInterval(Oe){this._typeaheadDebounceInterval=(0,ie.su)(Oe)}get id(){return this._id}set id(Oe){this._id=Oe||this._uid,this.stateChanges.next()}constructor(Oe,rt,vt,en,tn,fn,Zt,Mn,it,$,be,Be,lt,ht){super(tn,en,Zt,Mn,$),this._viewportRuler=Oe,this._changeDetectorRef=rt,this._ngZone=vt,this._dir=fn,this._parentFormField=it,this._liveAnnouncer=lt,this._defaultOptions=ht,this._panelOpen=!1,this._compareWith=(mt,Mt)=>mt===Mt,this._uid="mat-select-"+ae++,this._triggerAriaLabelledBy=null,this._destroy=new ce.x,this._onChange=()=>{},this._onTouched=()=>{},this._valueId="mat-select-value-"+ae++,this._panelDoneAnimatingStream=new ce.x,this._overlayPanelClass=this._defaultOptions?.overlayPanelClass||"",this._focused=!1,this.controlType="mat-select",this._multiple=!1,this._disableOptionCentering=this._defaultOptions?.disableOptionCentering??!1,this.ariaLabel="",this.optionSelectionChanges=(0,De.P)(()=>{const mt=this.options;return mt?mt.changes.pipe((0,Le.O)(mt),(0,se.w)(()=>(0,Ae.T)(...mt.map(Mt=>Mt.onSelectionChange)))):this._ngZone.onStable.pipe((0,ue.q)(1),(0,se.w)(()=>this.optionSelectionChanges))}),this.openedChange=new w.vpe,this._openedStream=this.openedChange.pipe((0,ze.h)(mt=>mt),(0,oe.U)(()=>{})),this._closedStream=this.openedChange.pipe((0,ze.h)(mt=>!mt),(0,oe.U)(()=>{})),this.selectionChange=new w.vpe,this.valueChange=new w.vpe,this._trackedModal=null,this.ngControl&&(this.ngControl.valueAccessor=this),null!=ht?.typeaheadDebounceInterval&&(this._typeaheadDebounceInterval=ht.typeaheadDebounceInterval),this._scrollStrategyFactory=Be,this._scrollStrategy=this._scrollStrategyFactory(),this.tabIndex=parseInt(be)||0,this.id=this.id}ngOnInit(){this._selectionModel=new J.Ov(this.multiple),this.stateChanges.next(),this._panelDoneAnimatingStream.pipe((0,N.x)(),(0,Ce.R)(this._destroy)).subscribe(()=>this._panelDoneAnimating(this.panelOpen))}ngAfterContentInit(){this._initKeyManager(),this._selectionModel.changed.pipe((0,Ce.R)(this._destroy)).subscribe(Oe=>{Oe.added.forEach(rt=>rt.select()),Oe.removed.forEach(rt=>rt.deselect())}),this.options.changes.pipe((0,Le.O)(null),(0,Ce.R)(this._destroy)).subscribe(()=>{this._resetOptions(),this._initializeSelection()})}ngDoCheck(){const Oe=this._getTriggerAriaLabelledby(),rt=this.ngControl;if(Oe!==this._triggerAriaLabelledBy){const vt=this._elementRef.nativeElement;this._triggerAriaLabelledBy=Oe,Oe?vt.setAttribute("aria-labelledby",Oe):vt.removeAttribute("aria-labelledby")}rt&&(this._previousControl!==rt.control&&(void 0!==this._previousControl&&null!==rt.disabled&&rt.disabled!==this.disabled&&(this.disabled=rt.disabled),this._previousControl=rt.control),this.updateErrorState())}ngOnChanges(Oe){(Oe.disabled||Oe.userAriaDescribedBy)&&this.stateChanges.next(),Oe.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._applyModalPanelOwnership(),this._panelOpen=!0,this._keyManager.withHorizontalOrientation(null),this._highlightCorrectOption(),this._changeDetectorRef.markForCheck())}_applyModalPanelOwnership(){const Oe=this._elementRef.nativeElement.closest('body > .cdk-overlay-container [aria-modal="true"]');if(!Oe)return;const rt=`${this.id}-panel`;this._trackedModal&&(0,ne.iD)(this._trackedModal,"aria-owns",rt),(0,ne.Zf)(Oe,"aria-owns",rt),this._trackedModal=Oe}_clearFromModal(){this._trackedModal&&((0,ne.iD)(this._trackedModal,"aria-owns",`${this.id}-panel`),this._trackedModal=null)}close(){this._panelOpen&&(this._panelOpen=!1,this._keyManager.withHorizontalOrientation(this._isRtl()?"rtl":"ltr"),this._changeDetectorRef.markForCheck(),this._onTouched())}writeValue(Oe){this._assignValue(Oe)}registerOnChange(Oe){this._onChange=Oe}registerOnTouched(Oe){this._onTouched=Oe}setDisabledState(Oe){this.disabled=Oe,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){const Oe=this._selectionModel.selected.map(rt=>rt.viewValue);return this._isRtl()&&Oe.reverse(),Oe.join(", ")}return this._selectionModel.selected[0].viewValue}_isRtl(){return!!this._dir&&"rtl"===this._dir.value}_handleKeydown(Oe){this.disabled||(this.panelOpen?this._handleOpenKeydown(Oe):this._handleClosedKeydown(Oe))}_handleClosedKeydown(Oe){const rt=Oe.keyCode,vt=rt===xe.JH||rt===xe.LH||rt===xe.oh||rt===xe.SV,en=rt===xe.K5||rt===xe.L_,tn=this._keyManager;if(!tn.isTyping()&&en&&!(0,xe.Vb)(Oe)||(this.multiple||Oe.altKey)&&vt)Oe.preventDefault(),this.open();else if(!this.multiple){const fn=this.selected;tn.onKeydown(Oe);const Zt=this.selected;Zt&&fn!==Zt&&this._liveAnnouncer.announce(Zt.viewValue,1e4)}}_handleOpenKeydown(Oe){const rt=this._keyManager,vt=Oe.keyCode,en=vt===xe.JH||vt===xe.LH,tn=rt.isTyping();if(en&&Oe.altKey)Oe.preventDefault(),this.close();else if(tn||vt!==xe.K5&&vt!==xe.L_||!rt.activeItem||(0,xe.Vb)(Oe))if(!tn&&this._multiple&&vt===xe.A&&Oe.ctrlKey){Oe.preventDefault();const fn=this.options.some(Zt=>!Zt.disabled&&!Zt.selected);this.options.forEach(Zt=>{Zt.disabled||(fn?Zt.select():Zt.deselect())})}else{const fn=rt.activeItemIndex;rt.onKeydown(Oe),this._multiple&&en&&Oe.shiftKey&&rt.activeItem&&rt.activeItemIndex!==fn&&rt.activeItem._selectViaInteraction()}else Oe.preventDefault(),rt.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((0,ue.q)(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(Oe){if(this.options.forEach(rt=>rt.setInactiveStyles()),this._selectionModel.clear(),this.multiple&&Oe)Array.isArray(Oe),Oe.forEach(rt=>this._selectOptionByValue(rt)),this._sortValues();else{const rt=this._selectOptionByValue(Oe);rt?this._keyManager.updateActiveItem(rt):this.panelOpen||this._keyManager.updateActiveItem(-1)}this._changeDetectorRef.markForCheck()}_selectOptionByValue(Oe){const rt=this.options.find(vt=>{if(this._selectionModel.isSelected(vt))return!1;try{return null!=vt.value&&this._compareWith(vt.value,Oe)}catch{return!1}});return rt&&this._selectionModel.select(rt),rt}_assignValue(Oe){return!!(Oe!==this._value||this._multiple&&Array.isArray(Oe))&&(this.options&&this._setSelectionByValue(Oe),this._value=Oe,!0)}_skipPredicate(Oe){return Oe.disabled}_initKeyManager(){this._keyManager=new ne.s1(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(){const Oe=(0,Ae.T)(this.options.changes,this._destroy);this.optionSelectionChanges.pipe((0,Ce.R)(Oe)).subscribe(rt=>{this._onSelect(rt.source,rt.isUserInput),rt.isUserInput&&!this.multiple&&this._panelOpen&&(this.close(),this.focus())}),(0,Ae.T)(...this.options.map(rt=>rt._stateChanges)).pipe((0,Ce.R)(Oe)).subscribe(()=>{this._changeDetectorRef.detectChanges(),this.stateChanges.next()})}_onSelect(Oe,rt){const vt=this._selectionModel.isSelected(Oe);null!=Oe.value||this._multiple?(vt!==Oe.selected&&(Oe.selected?this._selectionModel.select(Oe):this._selectionModel.deselect(Oe)),rt&&this._keyManager.setActiveItem(Oe),this.multiple&&(this._sortValues(),rt&&this.focus())):(Oe.deselect(),this._selectionModel.clear(),null!=this.value&&this._propagateChanges(Oe.value)),vt!==this._selectionModel.isSelected(Oe)&&this._propagateChanges(),this.stateChanges.next()}_sortValues(){if(this.multiple){const Oe=this.options.toArray();this._selectionModel.sort((rt,vt)=>this.sortComparator?this.sortComparator(rt,vt,Oe):Oe.indexOf(rt)-Oe.indexOf(vt)),this.stateChanges.next()}}_propagateChanges(Oe){let rt=null;rt=this.multiple?this.selected.map(vt=>vt.value):this.selected?this.selected.value:Oe,this._value=rt,this.valueChange.emit(rt),this._onChange(rt),this.selectionChange.emit(this._getChangeEvent(rt)),this._changeDetectorRef.markForCheck()}_highlightCorrectOption(){if(this._keyManager)if(this.empty){let Oe=-1;for(let rt=0;rt0}focus(Oe){this._elementRef.nativeElement.focus(Oe)}_getPanelAriaLabelledby(){if(this.ariaLabel)return null;const Oe=this._parentFormField?.getLabelId();return this.ariaLabelledby?(Oe?Oe+" ":"")+this.ariaLabelledby:Oe}_getAriaActiveDescendant(){return this.panelOpen&&this._keyManager&&this._keyManager.activeItem?this._keyManager.activeItem.id:null}_getTriggerAriaLabelledby(){if(this.ariaLabel)return null;const Oe=this._parentFormField?.getLabelId();let rt=(Oe?Oe+" ":"")+this._valueId;return this.ariaLabelledby&&(rt+=" "+this.ariaLabelledby),rt}_panelDoneAnimating(Oe){this.openedChange.emit(Oe)}setDescribedByIds(Oe){Oe.length?this._elementRef.nativeElement.setAttribute("aria-describedby",Oe.join(" ")):this._elementRef.nativeElement.removeAttribute("aria-describedby")}onContainerClick(){this.focus(),this.open()}get shouldLabelFloat(){return this._panelOpen||!this.empty||this._focused&&!!this._placeholder}static#e=this.\u0275fac=function(rt){return new(rt||Je)(w.Y36(Q.rL),w.Y36(w.sBO),w.Y36(w.R0b),w.Y36(E.rD),w.Y36(w.SBq),w.Y36(we.Is,8),w.Y36(fe.F,8),w.Y36(fe.sg,8),w.Y36(H.G_,8),w.Y36(fe.a5,10),w.$8M("tabindex"),w.Y36(B),w.Y36(ne.Kd),w.Y36(L,8))};static#t=this.\u0275dir=w.lG2({type:Je,viewQuery:function(rt,vt){if(1&rt&&(w.Gf(ve,5),w.Gf(ye,5),w.Gf(n.pI,5)),2&rt){let en;w.iGM(en=w.CRH())&&(vt.trigger=en.first),w.iGM(en=w.CRH())&&(vt.panel=en.first),w.iGM(en=w.CRH())&&(vt._overlayDir=en.first)}},inputs:{userAriaDescribedBy:["aria-describedby","userAriaDescribedBy"],panelClass:"panelClass",placeholder:"placeholder",required:"required",multiple:"multiple",disableOptionCentering:"disableOptionCentering",compareWith:"compareWith",value:"value",ariaLabel:["aria-label","ariaLabel"],ariaLabelledby:["aria-labelledby","ariaLabelledby"],errorStateMatcher:"errorStateMatcher",typeaheadDebounceInterval:"typeaheadDebounceInterval",sortComparator:"sortComparator",id:"id"},outputs:{openedChange:"openedChange",_openedStream:"opened",_closedStream:"closed",selectionChange:"selectionChange",valueChange:"valueChange"},features:[w.qOj,w.TTD]})}return Je})(),nt=(()=>{class Je extends et{constructor(){super(...arguments),this.panelWidth=this._defaultOptions&&typeof this._defaultOptions.panelWidth<"u"?this._defaultOptions.panelWidth:"auto",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._hideSingleSelectionIndicator=this._defaultOptions?.hideSingleSelectionIndicator??!1,this._skipPredicate=Oe=>!this.panelOpen&&Oe.disabled}get shouldLabelFloat(){return this.panelOpen||!this.empty||this.focused&&!!this.placeholder}ngOnInit(){super.ngOnInit(),this._viewportRuler.change().pipe((0,Ce.R)(this._destroy)).subscribe(()=>{this.panelOpen&&(this._overlayWidth=this._getOverlayWidth(this._preferredOverlayOrigin),this._changeDetectorRef.detectChanges())})}open(){this._parentFormField&&(this._preferredOverlayOrigin=this._parentFormField.getConnectedOverlayOrigin()),this._overlayWidth=this._getOverlayWidth(this._preferredOverlayOrigin),super.open(),this.stateChanges.next()}close(){super.close(),this.stateChanges.next()}_scrollOptionIntoView(Oe){const rt=this.options.toArray()[Oe];if(rt){const vt=this.panel.nativeElement,en=(0,E.CB)(Oe,this.options,this.optionGroups),tn=rt._getHostElement();vt.scrollTop=0===Oe&&1===en?0:(0,E.jH)(tn.offsetTop,tn.offsetHeight,vt.scrollTop,vt.offsetHeight)}}_positioningSettled(){this._scrollOptionIntoView(this._keyManager.activeItemIndex||0)}_getChangeEvent(Oe){return new re(this,Oe)}_getOverlayWidth(Oe){return"auto"===this.panelWidth?(Oe instanceof n.xu?Oe.elementRef:Oe||this._elementRef).nativeElement.getBoundingClientRect().width:null===this.panelWidth?"":this.panelWidth}get hideSingleSelectionIndicator(){return this._hideSingleSelectionIndicator}set hideSingleSelectionIndicator(Oe){this._hideSingleSelectionIndicator=(0,ie.Ig)(Oe),this._syncParentProperties()}_syncParentProperties(){if(this.options)for(const Oe of this.options)Oe._changeDetectorRef.markForCheck()}static#e=this.\u0275fac=function(){let Oe;return function(vt){return(Oe||(Oe=w.n5z(Je)))(vt||Je)}}();static#t=this.\u0275cmp=w.Xpm({type:Je,selectors:[["mat-select"]],contentQueries:function(rt,vt,en){if(1&rt&&(w.Suo(en,Pe,5),w.Suo(en,E.ey,5),w.Suo(en,E.K7,5)),2&rt){let tn;w.iGM(tn=w.CRH())&&(vt.customTrigger=tn.first),w.iGM(tn=w.CRH())&&(vt.options=tn),w.iGM(tn=w.CRH())&&(vt.optionGroups=tn)}},hostAttrs:["role","combobox","aria-autocomplete","none","aria-haspopup","listbox","ngSkipHydration","",1,"mat-mdc-select"],hostVars:19,hostBindings:function(rt,vt){1&rt&&w.NdJ("keydown",function(tn){return vt._handleKeydown(tn)})("focus",function(){return vt._onFocus()})("blur",function(){return vt._onBlur()}),2&rt&&(w.uIk("id",vt.id)("tabindex",vt.tabIndex)("aria-controls",vt.panelOpen?vt.id+"-panel":null)("aria-expanded",vt.panelOpen)("aria-label",vt.ariaLabel||null)("aria-required",vt.required.toString())("aria-disabled",vt.disabled.toString())("aria-invalid",vt.errorState)("aria-activedescendant",vt._getAriaActiveDescendant()),w.ekj("mat-mdc-select-disabled",vt.disabled)("mat-mdc-select-invalid",vt.errorState)("mat-mdc-select-required",vt.required)("mat-mdc-select-empty",vt.empty)("mat-mdc-select-multiple",vt.multiple))},inputs:{disabled:"disabled",disableRipple:"disableRipple",tabIndex:"tabIndex",panelWidth:"panelWidth",hideSingleSelectionIndicator:"hideSingleSelectionIndicator"},exportAs:["matSelect"],features:[w._Bn([{provide:H.Eo,useExisting:Je},{provide:E.HF,useExisting:Je}]),w.qOj],ngContentSelectors:sn,decls:11,vars:10,consts:[["cdk-overlay-origin","",1,"mat-mdc-select-trigger",3,"click"],["fallbackOverlayOrigin","cdkOverlayOrigin","trigger",""],[1,"mat-mdc-select-value",3,"ngSwitch"],["class","mat-mdc-select-placeholder mat-mdc-select-min-line",4,"ngSwitchCase"],["class","mat-mdc-select-value-text",3,"ngSwitch",4,"ngSwitchCase"],[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,"cdkConnectedOverlayPanelClass","cdkConnectedOverlayScrollStrategy","cdkConnectedOverlayOrigin","cdkConnectedOverlayOpen","cdkConnectedOverlayPositions","cdkConnectedOverlayWidth","backdropClick","attach","detach"],[1,"mat-mdc-select-placeholder","mat-mdc-select-min-line"],[1,"mat-mdc-select-value-text",3,"ngSwitch"],["class","mat-mdc-select-min-line",4,"ngSwitchDefault"],[4,"ngSwitchCase"],[1,"mat-mdc-select-min-line"],["role","listbox","tabindex","-1",3,"ngClass","keydown"],["panel",""]],template:function(rt,vt){if(1&rt&&(w.F$t(It),w.TgZ(0,"div",0,1),w.NdJ("click",function(){return vt.toggle()}),w.TgZ(3,"div",2),w.YNc(4,He,2,1,"span",3),w.YNc(5,xt,3,2,"span",4),w.qZA(),w.TgZ(6,"div",5)(7,"div",6),w.O4$(),w.TgZ(8,"svg",7),w._UZ(9,"path",8),w.qZA()()()(),w.YNc(10,Ut,3,9,"ng-template",9),w.NdJ("backdropClick",function(){return vt.close()})("attach",function(){return vt._onAttached()})("detach",function(){return vt.close()})),2&rt){const en=w.MAs(1);w.xp6(3),w.Q6J("ngSwitch",vt.empty),w.uIk("id",vt._valueId),w.xp6(1),w.Q6J("ngSwitchCase",!0),w.xp6(1),w.Q6J("ngSwitchCase",!1),w.xp6(5),w.Q6J("cdkConnectedOverlayPanelClass",vt._overlayPanelClass)("cdkConnectedOverlayScrollStrategy",vt._scrollStrategy)("cdkConnectedOverlayOrigin",vt._preferredOverlayOrigin||en)("cdkConnectedOverlayOpen",vt.panelOpen)("cdkConnectedOverlayPositions",vt._positions)("cdkConnectedOverlayWidth",vt._overlayWidth)}},dependencies:[l.mk,l.RF,l.n9,l.ED,n.pI,n.xu],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)}.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 .mat-mdc-select-arrow-wrapper{transform:translateY(-8px)}.mat-form-field-appearance-fill .mdc-text-field--no-label .mat-mdc-select-arrow-wrapper{transform:none}.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-invalid .mat-mdc-select-arrow{color:var(--mat-select-invalid-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{box-shadow:0px 5px 5px -3px rgba(0, 0, 0, 0.2), 0px 8px 10px 1px rgba(0, 0, 0, 0.14), 0px 3px 14px 2px rgba(0, 0, 0, 0.12);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}.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}'],encapsulation:2,data:{animation:[Xe.transformPanel]},changeDetection:0})}return Je})(),Bt=(()=>{class Je{static#e=this.\u0275fac=function(rt){return new(rt||Je)};static#t=this.\u0275mod=w.oAB({type:Je});static#n=this.\u0275inj=w.cJS({providers:[V],imports:[l.ez,n.U8,E.Ng,E.BQ,Q.ZD,H.lN,E.Ng,E.BQ]})}return Je})()},2599:(_t,Me,p)=>{p.d(Me,{Rr:()=>Le,rP:()=>oe});var n=p(5879),l=p(6223),w=p(4300),E=p(3680),H=p(2495),Q=p(6814);const ne=["switch"];function we(N,Ce){1&N&&(n.TgZ(0,"div",12),n.O4$(),n.TgZ(1,"svg",13),n._UZ(2,"path",14),n.qZA(),n.TgZ(3,"svg",15),n._UZ(4,"path",16),n.qZA()())}const ie=["*"],J=new n.OlP("mat-slide-toggle-default-options",{providedIn:"root",factory:()=>({disableToggleValue:!1,hideIcon:!1})}),xe={provide:l.JU,useExisting:(0,n.Gpc)(()=>Le),multi:!0};class fe{constructor(Ce,K){this.source=Ce,this.checked=K}}let ce=0;const De=(0,E.sb)((0,E.pj)((0,E.Kr)((0,E.Id)(class{constructor(N){this._elementRef=N}}))));let Ae=(()=>{class N extends De{get required(){return this._required}set required(K){this._required=(0,H.Ig)(K)}get checked(){return this._checked}set checked(K){this._checked=(0,H.Ig)(K),this._changeDetectorRef.markForCheck()}get hideIcon(){return this._hideIcon}set hideIcon(K){this._hideIcon=(0,H.Ig)(K)}get inputId(){return`${this.id||this._uniqueId}-input`}constructor(K,ve,ye,He,ft,ct,xt){super(K),this._focusMonitor=ve,this._changeDetectorRef=ye,this.defaults=ft,this._onChange=Ut=>{},this._onTouched=()=>{},this._required=!1,this._checked=!1,this.name=null,this.labelPosition="after",this.ariaLabel=null,this.ariaLabelledby=null,this._hideIcon=!1,this.change=new n.vpe,this.toggleChange=new n.vpe,this.tabIndex=parseInt(He)||0,this.color=this.defaultColor=ft.color||"accent",this._noopAnimations="NoopAnimations"===ct,this.id=this._uniqueId=`${xt}${++ce}`,this._hideIcon=ft.hideIcon??!1}ngAfterContentInit(){this._focusMonitor.monitor(this._elementRef,!0).subscribe(K=>{"keyboard"===K||"program"===K?(this._focused=!0,this._changeDetectorRef.markForCheck()):K||Promise.resolve().then(()=>{this._focused=!1,this._onTouched(),this._changeDetectorRef.markForCheck()})})}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef)}writeValue(K){this.checked=!!K}registerOnChange(K){this._onChange=K}registerOnTouched(K){this._onTouched=K}setDisabledState(K){this.disabled=K,this._changeDetectorRef.markForCheck()}toggle(){this.checked=!this.checked,this._onChange(this.checked)}_emitChangeEvent(){this._onChange(this.checked),this.change.emit(this._createChangeEvent(this.checked))}static#e=this.\u0275fac=function(ve){n.$Z()};static#t=this.\u0275dir=n.lG2({type:N,inputs:{name:"name",id:"id",labelPosition:"labelPosition",ariaLabel:["aria-label","ariaLabel"],ariaLabelledby:["aria-labelledby","ariaLabelledby"],ariaDescribedby:["aria-describedby","ariaDescribedby"],required:"required",checked:"checked",hideIcon:"hideIcon"},outputs:{change:"change",toggleChange:"toggleChange"},features:[n.qOj]})}return N})(),Le=(()=>{class N extends Ae{get buttonId(){return`${this.id||this._uniqueId}-button`}constructor(K,ve,ye,He,ft,ct){super(K,ve,ye,He,ft,ct,"mat-mdc-slide-toggle-"),this._labelId=this._uniqueId+"-label"}_handleClick(){this.toggleChange.emit(),this.defaults.disableToggleValue||(this.checked=!this.checked,this._onChange(this.checked),this.change.emit(new fe(this,this.checked)))}focus(){this._switchElement.nativeElement.focus()}_createChangeEvent(K){return new fe(this,K)}_getAriaLabelledBy(){return this.ariaLabelledby?this.ariaLabelledby:this.ariaLabel?null:this._labelId}static#e=this.\u0275fac=function(ve){return new(ve||N)(n.Y36(n.SBq),n.Y36(w.tE),n.Y36(n.sBO),n.$8M("tabindex"),n.Y36(J),n.Y36(n.QbO,8))};static#t=this.\u0275cmp=n.Xpm({type:N,selectors:[["mat-slide-toggle"]],viewQuery:function(ve,ye){if(1&ve&&n.Gf(ne,5),2&ve){let He;n.iGM(He=n.CRH())&&(ye._switchElement=He.first)}},hostAttrs:[1,"mat-mdc-slide-toggle"],hostVars:11,hostBindings:function(ve,ye){2&ve&&(n.Ikx("id",ye.id),n.uIk("tabindex",null)("aria-label",null)("name",null)("aria-labelledby",null),n.ekj("mat-mdc-slide-toggle-focused",ye._focused)("mat-mdc-slide-toggle-checked",ye.checked)("_mat-animation-noopable",ye._noopAnimations))},inputs:{disabled:"disabled",disableRipple:"disableRipple",color:"color",tabIndex:"tabIndex"},exportAs:["matSlideToggle"],features:[n._Bn([xe]),n.qOj],ngContentSelectors:ie,decls:13,vars:25,consts:[[1,"mdc-form-field"],["role","switch","type","button",1,"mdc-switch",3,"tabIndex","disabled","click"],["switch",""],[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"],["class","mdc-switch__icons",4,"ngIf"],[1,"mdc-label",3,"for","click"],[1,"mdc-switch__icons"],["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(ve,ye){if(1&ve&&(n.F$t(),n.TgZ(0,"div",0)(1,"button",1,2),n.NdJ("click",function(){return ye._handleClick()}),n._UZ(3,"div",3),n.TgZ(4,"div",4)(5,"div",5)(6,"div",6),n._UZ(7,"div",7),n.qZA(),n.TgZ(8,"div",8),n._UZ(9,"div",9),n.qZA(),n.YNc(10,we,5,0,"div",10),n.qZA()()(),n.TgZ(11,"label",11),n.NdJ("click",function(ft){return ft.stopPropagation()}),n.Hsn(12),n.qZA()()),2&ve){const He=n.MAs(2);n.ekj("mdc-form-field--align-end","before"==ye.labelPosition),n.xp6(1),n.ekj("mdc-switch--selected",ye.checked)("mdc-switch--unselected",!ye.checked)("mdc-switch--checked",ye.checked)("mdc-switch--disabled",ye.disabled),n.Q6J("tabIndex",ye.tabIndex)("disabled",ye.disabled),n.uIk("id",ye.buttonId)("name",ye.name)("aria-label",ye.ariaLabel)("aria-labelledby",ye._getAriaLabelledBy())("aria-describedby",ye.ariaDescribedby)("aria-required",ye.required||null)("aria-checked",ye.checked),n.xp6(8),n.Q6J("matRippleTrigger",He)("matRippleDisabled",ye.disableRipple||ye.disabled)("matRippleCentered",!0),n.xp6(1),n.Q6J("ngIf",!ye.hideIcon),n.xp6(1),n.Q6J("for",ye.buttonId),n.uIk("id",ye._labelId)}},dependencies:[E.wG,Q.O5],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}.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)}.mdc-switch{width:var(--mdc-switch-track-width);--mdc-switch-disabled-handle-opacity:0.38;--mdc-switch-disabled-selected-icon-opacity:0.38;--mdc-switch-disabled-track-opacity:0.12;--mdc-switch-disabled-unselected-icon-opacity:0.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-state-layer-size:40px;--mdc-switch-selected-focus-state-layer-opacity:0.12;--mdc-switch-selected-hover-state-layer-opacity:0.04;--mdc-switch-selected-pressed-state-layer-opacity:0.1;--mdc-switch-unselected-focus-state-layer-opacity:0.12;--mdc-switch-unselected-hover-state-layer-opacity:0.04;--mdc-switch-unselected-pressed-state-layer-opacity:0.1}.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:disabled .mdc-switch__handle::after{opacity:var(--mdc-switch-disabled-handle-opacity)}.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 .mdc-label{font-family:var(--mat-slide-toggle-label-text-font);font-size:var(--mat-slide-toggle-label-text-size);letter-spacing:var(--mat-slide-toggle-label-text-tracking);line-height:var(--mat-slide-toggle-label-text-line-height);font-weight:var(--mat-slide-toggle-label-text-weight)}.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:opacity 75ms 0ms 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}'],encapsulation:2,changeDetection:0})}return N})(),ze=(()=>{class N{static#e=this.\u0275fac=function(ve){return new(ve||N)};static#t=this.\u0275mod=n.oAB({type:N});static#n=this.\u0275inj=n.cJS({})}return N})(),oe=(()=>{class N{static#e=this.\u0275fac=function(ve){return new(ve||N)};static#t=this.\u0275mod=n.oAB({type:N});static#n=this.\u0275inj=n.cJS({imports:[ze,E.BQ,E.si,Q.ez,ze,E.BQ]})}return N})()},2202:(_t,Me,p)=>{p.d(Me,{$5:()=>Ut,KP:()=>sn,f9:()=>It,pH:()=>ye});var n=p(9388),l=p(2495),w=p(2831),E=p(5879),H=p(3680),Q=p(6814),ne=p(6223),we=p(8645);const ie=["knob"],J=["valueIndicatorContainer"];function xe(Xe,At){if(1&Xe&&(E.TgZ(0,"div",4,5)(2,"div",6)(3,"span",7),E._uU(4),E.qZA()()()),2&Xe){const Y=E.oxw();E.xp6(4),E.Oqu(Y.valueIndicatorText)}}const fe=["trackActive"];function ce(Xe,At){if(1&Xe&&E._UZ(0,"div"),2&Xe){const Y=At.$implicit,P=At.index,ae=E.oxw(3);E.Tol(0===Y?"mdc-slider__tick-mark--active":"mdc-slider__tick-mark--inactive"),E.Udp("transform",ae._calcTickMarkTransform(P))}}function De(Xe,At){if(1&Xe&&(E.ynx(0),E.YNc(1,ce,1,4,"div",11),E.BQk()),2&Xe){const Y=E.oxw(2);E.xp6(1),E.Q6J("ngForOf",Y._tickMarks)}}function Ae(Xe,At){if(1&Xe&&(E.TgZ(0,"div",8,9),E.YNc(2,De,2,1,"ng-container",10),E.qZA()),2&Xe){const Y=E.oxw();E.xp6(2),E.Q6J("ngIf",Y._cachedWidth)}}function Le(Xe,At){if(1&Xe&&E._UZ(0,"mat-slider-visual-thumb",7),2&Xe){const Y=E.oxw();E.Q6J("discrete",Y.discrete)("thumbPosition",1)("valueIndicatorText",Y.startValueIndicatorText)}}const se=["*"],ue=new E.OlP("_MatSlider"),ze=new E.OlP("_MatSliderThumb"),oe=new E.OlP("_MatSliderRangeThumb"),N=new E.OlP("_MatSliderVisualThumb");let K=(()=>{class Xe{constructor(Y,P,ae,B){this._cdr=Y,this._ngZone=P,this._slider=B,this._isHovered=!1,this._isActive=!1,this._isValueIndicatorVisible=!1,this._onPointerMove=Se=>{if(this._sliderInput._isFocused)return;const L=this._hostElement.getBoundingClientRect(),V=this._slider._isCursorOnSliderThumb(Se,L);this._isHovered=V,V?this._showHoverRipple():this._hideRipple(this._hoverRippleRef)},this._onMouseLeave=()=>{this._isHovered=!1,this._hideRipple(this._hoverRippleRef)},this._onFocus=()=>{this._hideRipple(this._hoverRippleRef),this._showFocusRipple(),this._hostElement.classList.add("mdc-slider__thumb--focused")},this._onBlur=()=>{this._isActive||this._hideRipple(this._focusRippleRef),this._isHovered&&this._showHoverRipple(),this._hostElement.classList.remove("mdc-slider__thumb--focused")},this._onDragStart=Se=>{0===Se.button&&(this._isActive=!0,this._showActiveRipple())},this._onDragEnd=()=>{this._isActive=!1,this._hideRipple(this._activeRippleRef),this._sliderInput._isFocused||this._hideRipple(this._focusRippleRef)},this._hostElement=ae.nativeElement}ngAfterViewInit(){this._ripple.radius=24,this._sliderInput=this._slider._getInput(this.thumbPosition),this._sliderInputEl=this._sliderInput._hostElement;const Y=this._sliderInputEl;this._ngZone.runOutsideAngular(()=>{Y.addEventListener("pointermove",this._onPointerMove),Y.addEventListener("pointerdown",this._onDragStart),Y.addEventListener("pointerup",this._onDragEnd),Y.addEventListener("pointerleave",this._onMouseLeave),Y.addEventListener("focus",this._onFocus),Y.addEventListener("blur",this._onBlur)})}ngOnDestroy(){const Y=this._sliderInputEl;Y.removeEventListener("pointermove",this._onPointerMove),Y.removeEventListener("pointerdown",this._onDragStart),Y.removeEventListener("pointerup",this._onDragEnd),Y.removeEventListener("pointerleave",this._onMouseLeave),Y.removeEventListener("focus",this._onFocus),Y.removeEventListener("blur",this._onBlur)}_showHoverRipple(){this._isShowingRipple(this._hoverRippleRef)||(this._hoverRippleRef=this._showRipple({enterDuration:0,exitDuration:0}),this._hoverRippleRef?.element.classList.add("mat-mdc-slider-hover-ripple"))}_showFocusRipple(){this._isShowingRipple(this._focusRippleRef)||(this._focusRippleRef=this._showRipple({enterDuration:0,exitDuration:0},!0),this._focusRippleRef?.element.classList.add("mat-mdc-slider-focus-ripple"))}_showActiveRipple(){this._isShowingRipple(this._activeRippleRef)||(this._activeRippleRef=this._showRipple({enterDuration:225,exitDuration:400}),this._activeRippleRef?.element.classList.add("mat-mdc-slider-active-ripple"))}_isShowingRipple(Y){return 0===Y?.state||1===Y?.state}_showRipple(Y,P){if(!this._slider.disabled&&(this._showValueIndicator(),this._slider._isRange&&this._slider._getThumb(1===this.thumbPosition?2:1)._showValueIndicator(),!this._slider._globalRippleOptions?.disabled||P))return this._ripple.launch({animation:this._slider._noopAnimations?{enterDuration:0,exitDuration:0}:Y,centered:!0,persistent:!0})}_hideRipple(Y){if(Y?.fadeOut(),this._isShowingAnyRipple())return;this._slider._isRange||this._hideValueIndicator();const P=this._getSibling();P._isShowingAnyRipple()||(this._hideValueIndicator(),P._hideValueIndicator())}_showValueIndicator(){this._hostElement.classList.add("mdc-slider__thumb--with-indicator")}_hideValueIndicator(){this._hostElement.classList.remove("mdc-slider__thumb--with-indicator")}_getSibling(){return this._slider._getThumb(1===this.thumbPosition?2:1)}_getValueIndicatorContainer(){return this._valueIndicatorContainer?.nativeElement}_getKnob(){return this._knob.nativeElement}_isShowingAnyRipple(){return this._isShowingRipple(this._hoverRippleRef)||this._isShowingRipple(this._focusRippleRef)||this._isShowingRipple(this._activeRippleRef)}static#e=this.\u0275fac=function(P){return new(P||Xe)(E.Y36(E.sBO),E.Y36(E.R0b),E.Y36(E.SBq),E.Y36(ue))};static#t=this.\u0275cmp=E.Xpm({type:Xe,selectors:[["mat-slider-visual-thumb"]],viewQuery:function(P,ae){if(1&P&&(E.Gf(H.wG,5),E.Gf(ie,5),E.Gf(J,5)),2&P){let B;E.iGM(B=E.CRH())&&(ae._ripple=B.first),E.iGM(B=E.CRH())&&(ae._knob=B.first),E.iGM(B=E.CRH())&&(ae._valueIndicatorContainer=B.first)}},hostAttrs:[1,"mdc-slider__thumb","mat-mdc-slider-visual-thumb"],inputs:{discrete:"discrete",thumbPosition:"thumbPosition",valueIndicatorText:"valueIndicatorText"},features:[E._Bn([{provide:N,useExisting:Xe}])],decls:4,vars:2,consts:[["class","mdc-slider__value-indicator-container",4,"ngIf"],[1,"mdc-slider__thumb-knob"],["knob",""],["matRipple","",1,"mat-mdc-focus-indicator",3,"matRippleDisabled"],[1,"mdc-slider__value-indicator-container"],["valueIndicatorContainer",""],[1,"mdc-slider__value-indicator"],[1,"mdc-slider__value-indicator-text"]],template:function(P,ae){1&P&&(E.YNc(0,xe,5,1,"div",0),E._UZ(1,"div",1,2)(3,"div",3)),2&P&&(E.Q6J("ngIf",ae.discrete),E.xp6(3),E.Q6J("matRippleDisabled",!0))},dependencies:[Q.O5,H.wG],styles:[".mat-mdc-slider-visual-thumb .mat-ripple{height:100%;width:100%}.mat-mdc-slider .mdc-slider__tick-marks{justify-content:start}.mat-mdc-slider .mdc-slider__tick-marks .mdc-slider__tick-mark--active,.mat-mdc-slider .mdc-slider__tick-marks .mdc-slider__tick-mark--inactive{position:absolute;left:2px}"],encapsulation:2,changeDetection:0})}return Xe})();const ve=(0,H.pj)((0,H.Kr)(class{constructor(Xe){this._elementRef=Xe}}),"primary");let ye=(()=>{class Xe extends ve{get disabled(){return this._disabled}set disabled(Y){this._disabled=(0,l.Ig)(Y);const P=this._getInput(2),ae=this._getInput(1);P&&(P.disabled=this._disabled),ae&&(ae.disabled=this._disabled)}get discrete(){return this._discrete}set discrete(Y){this._discrete=(0,l.Ig)(Y),this._updateValueIndicatorUIs()}get showTickMarks(){return this._showTickMarks}set showTickMarks(Y){this._showTickMarks=(0,l.Ig)(Y)}get min(){return this._min}set min(Y){const P=(0,l.su)(Y,this._min);this._min!==P&&this._updateMin(P)}_updateMin(Y){const P=this._min;this._min=Y,this._isRange?this._updateMinRange({old:P,new:Y}):this._updateMinNonRange(Y),this._onMinMaxOrStepChange()}_updateMinRange(Y){const P=this._getInput(2),ae=this._getInput(1),B=P.value,Se=ae.value;ae.min=Y.new,P.min=Math.max(Y.new,ae.value),ae.max=Math.min(P.max,P.value),ae._updateWidthInactive(),P._updateWidthInactive(),Y.newY.old?this._onTranslateXChangeBySideEffect(ae,P):this._onTranslateXChangeBySideEffect(P,ae),B!==P.value&&this._onValueChange(P),Se!==ae.value&&this._onValueChange(ae)}_updateMaxNonRange(Y){const P=this._getInput(2);if(P){const ae=P.value;P.max=Y,P._updateThumbUIByValue(),this._updateTrackUI(P),ae!==P.value&&this._onValueChange(P)}}get step(){return this._step}set step(Y){const P=(0,l.su)(Y,this._step);this._step!==P&&this._updateStep(P)}_updateStep(Y){this._step=Y,this._isRange?this._updateStepRange():this._updateStepNonRange(),this._onMinMaxOrStepChange()}_updateStepRange(){const Y=this._getInput(2),P=this._getInput(1),ae=Y.value,B=P.value,Se=P.value;Y.min=this._min,P.max=this._max,Y.step=this._step,P.step=this._step,this._platform.SAFARI&&(Y.value=Y.value,P.value=P.value),Y.min=Math.max(this._min,P.value),P.max=Math.min(this._max,Y.value),P._updateWidthInactive(),Y._updateWidthInactive(),Y.value`${V}`,this._rippleRadius=24,this.startValueIndicatorText="",this.endValueIndicatorText="",this._isRange=!1,this._isRtl=!1,this._hasViewInitialized=!1,this._tickMarkTrackWidth=0,this._hasAnimation=!1,this._resizeTimer=null,this._platform=(0,E.f3M)(w.t4),this._knobRadius=8,this._thumbsOverlap=!1,this._noopAnimations="NoopAnimations"===L,this._dirChangeSubscription=this._dir.change.subscribe(()=>this._onDirChange()),this._isRtl="rtl"===this._dir.value}ngAfterViewInit(){this._platform.isBrowser&&this._updateDimensions();const Y=this._getInput(2),P=this._getInput(1);this._isRange=!!Y&&!!P,this._cdr.detectChanges();const ae=this._getThumb(2);this._rippleRadius=ae._ripple.radius,this._inputPadding=this._rippleRadius-this._knobRadius,this._inputOffset=this._knobRadius,this._isRange?this._initUIRange(Y,P):this._initUINonRange(Y),this._updateTrackUI(Y),this._updateTickMarkUI(),this._updateTickMarkTrackUI(),this._observeHostResize(),this._cdr.detectChanges()}_initUINonRange(Y){Y.initProps(),Y.initUI(),this._updateValueIndicatorUI(Y),this._hasViewInitialized=!0,Y._updateThumbUIByValue()}_initUIRange(Y,P){Y.initProps(),Y.initUI(),P.initProps(),P.initUI(),Y._updateMinMax(),P._updateMinMax(),Y._updateStaticStyles(),P._updateStaticStyles(),this._updateValueIndicatorUIs(),this._hasViewInitialized=!0,Y._updateThumbUIByValue(),P._updateThumbUIByValue()}ngOnDestroy(){this._dirChangeSubscription.unsubscribe(),this._resizeObserver?.disconnect(),this._resizeObserver=null}_onDirChange(){this._isRtl="rtl"===this._dir.value,this._isRange?this._onDirChangeRange():this._onDirChangeNonRange(),this._updateTickMarkUI()}_onDirChangeRange(){const Y=this._getInput(2),P=this._getInput(1);Y._setIsLeftThumb(),P._setIsLeftThumb(),Y.translateX=Y._calcTranslateXByValue(),P.translateX=P._calcTranslateXByValue(),Y._updateStaticStyles(),P._updateStaticStyles(),Y._updateWidthInactive(),P._updateWidthInactive(),Y._updateThumbUIByValue(),P._updateThumbUIByValue()}_onDirChangeNonRange(){this._getInput(2)._updateThumbUIByValue()}_observeHostResize(){typeof ResizeObserver>"u"||!ResizeObserver||this._ngZone.runOutsideAngular(()=>{this._resizeObserver=new ResizeObserver(()=>{this._isActive()||(this._resizeTimer&&clearTimeout(this._resizeTimer),this._onResize())}),this._resizeObserver.observe(this._elementRef.nativeElement)})}_isActive(){return this._getThumb(1)._isActive||this._getThumb(2)._isActive}_getValue(Y=2){const P=this._getInput(Y);return P?P.value:this.min}_skipUpdate(){return!(!this._getInput(1)?._skipUIUpdate&&!this._getInput(2)?._skipUIUpdate)}_updateDimensions(){this._cachedWidth=this._elementRef.nativeElement.offsetWidth,this._cachedLeft=this._elementRef.nativeElement.getBoundingClientRect().left}_setTrackActiveStyles(Y){const P=this._trackActive.nativeElement.style;P.left=Y.left,P.right=Y.right,P.transformOrigin=Y.transformOrigin,P.transform=Y.transform}_calcTickMarkTransform(Y){return`translateX(${Y*(this._tickMarkTrackWidth/(this._tickMarks.length-1))}px`}_onTranslateXChange(Y){this._hasViewInitialized&&(this._updateThumbUI(Y),this._updateTrackUI(Y),this._updateOverlappingThumbUI(Y))}_onTranslateXChangeBySideEffect(Y,P){this._hasViewInitialized&&(Y._updateThumbUIByValue(),P._updateThumbUIByValue())}_onValueChange(Y){this._hasViewInitialized&&(this._updateValueIndicatorUI(Y),this._updateTickMarkUI(),this._cdr.detectChanges())}_onMinMaxOrStepChange(){this._hasViewInitialized&&(this._updateTickMarkUI(),this._updateTickMarkTrackUI(),this._cdr.markForCheck())}_onResize(){if(this._hasViewInitialized){if(this._updateDimensions(),this._isRange){const Y=this._getInput(2),P=this._getInput(1);Y._updateThumbUIByValue(),P._updateThumbUIByValue(),Y._updateStaticStyles(),P._updateStaticStyles(),Y._updateMinMax(),P._updateMinMax(),Y._updateWidthInactive(),P._updateWidthInactive()}else{const Y=this._getInput(2);Y&&Y._updateThumbUIByValue()}this._updateTickMarkUI(),this._updateTickMarkTrackUI(),this._cdr.detectChanges()}}_areThumbsOverlapping(){const Y=this._getInput(1),P=this._getInput(2);return!(!Y||!P)&&P.translateX-Y.translateX<20}_updateOverlappingThumbClassNames(Y){const P=Y.getSibling(),ae=this._getThumb(Y.thumbPosition);this._getThumb(P.thumbPosition)._hostElement.classList.remove("mdc-slider__thumb--top"),ae._hostElement.classList.toggle("mdc-slider__thumb--top",this._thumbsOverlap)}_updateOverlappingThumbUI(Y){!this._isRange||this._skipUpdate()||this._thumbsOverlap!==this._areThumbsOverlapping()&&(this._thumbsOverlap=!this._thumbsOverlap,this._updateOverlappingThumbClassNames(Y))}_updateThumbUI(Y){this._skipUpdate()||(this._getThumb(2===Y.thumbPosition?2:1)._hostElement.style.transform=`translateX(${Y.translateX}px)`)}_updateValueIndicatorUI(Y){if(this._skipUpdate())return;const P=this.displayWith(Y.value);if(this._hasViewInitialized?Y._valuetext=P:Y._hostElement.setAttribute("aria-valuetext",P),this.discrete){1===Y.thumbPosition?this.startValueIndicatorText=P:this.endValueIndicatorText=P;const ae=this._getThumb(Y.thumbPosition);P.length<3?ae._hostElement.classList.add("mdc-slider__thumb--short-value"):ae._hostElement.classList.remove("mdc-slider__thumb--short-value")}}_updateValueIndicatorUIs(){const Y=this._getInput(2),P=this._getInput(1);Y&&this._updateValueIndicatorUI(Y),P&&this._updateValueIndicatorUI(P)}_updateTickMarkTrackUI(){if(!this.showTickMarks||this._skipUpdate())return;const Y=this._step&&this._step>0?this._step:1,ae=(Math.floor(this.max/Y)*Y-this.min)/(this.max-this.min);this._tickMarkTrackWidth=this._cachedWidth*ae-6}_updateTrackUI(Y){this._skipUpdate()||(this._isRange?this._updateTrackUIRange(Y):this._updateTrackUINonRange(Y))}_updateTrackUIRange(Y){const P=Y.getSibling();if(!P||!this._cachedWidth)return;const ae=Math.abs(P.translateX-Y.translateX)/this._cachedWidth;this._setTrackActiveStyles(Y._isLeftThumb&&this._cachedWidth?{left:"auto",right:this._cachedWidth-P.translateX+"px",transformOrigin:"right",transform:`scaleX(${ae})`}:{left:`${P.translateX}px`,right:"auto",transformOrigin:"left",transform:`scaleX(${ae})`})}_updateTrackUINonRange(Y){this._setTrackActiveStyles(this._isRtl?{left:"auto",right:"0px",transformOrigin:"right",transform:`scaleX(${1-Y.fillPercentage})`}:{left:"0px",right:"auto",transformOrigin:"left",transform:`scaleX(${Y.fillPercentage})`})}_updateTickMarkUI(){if(!this.showTickMarks||void 0===this.step||void 0===this.min||void 0===this.max)return;const Y=this.step>0?this.step:1;this._isRange?this._updateTickMarkUIRange(Y):this._updateTickMarkUINonRange(Y),this._isRtl&&this._tickMarks.reverse()}_updateTickMarkUINonRange(Y){const P=this._getValue();let ae=Math.max(Math.round((P-this.min)/Y),0),B=Math.max(Math.round((this.max-P)/Y),0);this._isRtl?ae++:B++,this._tickMarks=Array(ae).fill(0).concat(Array(B).fill(1))}_updateTickMarkUIRange(Y){const P=this._getValue(),ae=this._getValue(1),B=Math.max(Math.floor((ae-this.min)/Y),0),Se=Math.max(Math.floor((P-ae)/Y)+1,0),L=Math.max(Math.floor((this.max-P)/Y),0);this._tickMarks=Array(B).fill(1).concat(Array(Se).fill(0),Array(L).fill(1))}_getInput(Y){return 2===Y&&this._input?this._input:this._inputs?.length?1===Y?this._inputs.first:this._inputs.last:void 0}_getThumb(Y){return 2===Y?this._thumbs?.last:this._thumbs?.first}_setTransition(Y){this._hasAnimation=!this._platform.IOS&&Y&&!this._noopAnimations,this._elementRef.nativeElement.classList.toggle("mat-mdc-slider-with-animation",this._hasAnimation)}_isCursorOnSliderThumb(Y,P){const ae=P.width/2,V=Y.clientY-(P.y+ae);return Math.pow(Y.clientX-(P.x+ae),2)+Math.pow(V,2)Ut),multi:!0},xt={provide:ne.JU,useExisting:(0,E.Gpc)(()=>It),multi:!0};let Ut=(()=>{class Xe{get value(){return(0,l.su)(this._hostElement.value)}set value(Y){const P=(0,l.su)(Y).toString();this._hasSetInitialValue?this._isActive||(this._hostElement.value=P,this._updateThumbUIByValue(),this._slider._onValueChange(this),this._cdr.detectChanges(),this._slider._cdr.markForCheck()):this._initialValue=P}get translateX(){return this._slider.min>=this._slider.max?(this._translateX=0,this._translateX):(void 0===this._translateX&&(this._translateX=this._calcTranslateXByValue()),this._translateX)}set translateX(Y){this._translateX=Y}get min(){return(0,l.su)(this._hostElement.min)}set min(Y){this._hostElement.min=(0,l.su)(Y).toString(),this._cdr.detectChanges()}get max(){return(0,l.su)(this._hostElement.max)}set max(Y){this._hostElement.max=(0,l.su)(Y).toString(),this._cdr.detectChanges()}get step(){return(0,l.su)(this._hostElement.step)}set step(Y){this._hostElement.step=(0,l.su)(Y).toString(),this._cdr.detectChanges()}get disabled(){return(0,l.Ig)(this._hostElement.disabled)}set disabled(Y){this._hostElement.disabled=(0,l.Ig)(Y),this._cdr.detectChanges(),this._slider.disabled!==this.disabled&&(this._slider.disabled=this.disabled)}get percentage(){return this._slider.min>=this._slider.max?this._slider._isRtl?1:0:(this.value-this._slider.min)/(this._slider.max-this._slider.min)}get fillPercentage(){return this._slider._cachedWidth?0===this._translateX?0:this.translateX/this._slider._cachedWidth:this._slider._isRtl?1:0}_setIsFocused(Y){this._isFocused=Y}constructor(Y,P,ae,B){this._ngZone=Y,this._elementRef=P,this._cdr=ae,this._slider=B,this.valueChange=new E.vpe,this.dragStart=new E.vpe,this.dragEnd=new E.vpe,this.thumbPosition=2,this._knobRadius=8,this._isActive=!1,this._isFocused=!1,this._hasSetInitialValue=!1,this._destroyed=new we.x,this._skipUIUpdate=!1,this._onTouchedFn=()=>{},this._isControlInitialized=!1,this._platform=(0,E.f3M)(w.t4),this._hostElement=P.nativeElement,this._ngZone.runOutsideAngular(()=>{this._hostElement.addEventListener("pointerdown",this._onPointerDown.bind(this)),this._hostElement.addEventListener("pointermove",this._onPointerMove.bind(this)),this._hostElement.addEventListener("pointerup",this._onPointerUp.bind(this))})}ngOnDestroy(){this._hostElement.removeEventListener("pointerdown",this._onPointerDown),this._hostElement.removeEventListener("pointermove",this._onPointerMove),this._hostElement.removeEventListener("pointerup",this._onPointerUp),this._destroyed.next(),this._destroyed.complete(),this.dragStart.complete(),this.dragEnd.complete()}initProps(){this._updateWidthInactive(),this.disabled!==this._slider.disabled&&(this._slider.disabled=!0),this.step=this._slider.step,this.min=this._slider.min,this.max=this._slider.max,this._initValue()}initUI(){this._updateThumbUIByValue()}_initValue(){this._hasSetInitialValue=!0,void 0===this._initialValue?this.value=this._getDefaultValue():(this._hostElement.value=this._initialValue,this._updateThumbUIByValue(),this._slider._onValueChange(this),this._cdr.detectChanges())}_getDefaultValue(){return this.min}_onBlur(){this._setIsFocused(!1),this._onTouchedFn()}_onFocus(){this._setIsFocused(!0)}_onChange(){this.valueChange.emit(this.value),this._isActive&&this._updateThumbUIByValue({withAnimation:!0})}_onInput(){this._onChangeFn?.(this.value),(this._slider.step||!this._isActive)&&this._updateThumbUIByValue({withAnimation:!0}),this._slider._onValueChange(this)}_onNgControlValueChange(){(!this._isActive||!this._isFocused)&&(this._slider._onValueChange(this),this._updateThumbUIByValue()),this._slider.disabled=this._formControl.disabled}_onPointerDown(Y){if(!this.disabled&&0===Y.button){if(this._platform.IOS){const P=this._slider._isCursorOnSliderThumb(Y,this._slider._getThumb(this.thumbPosition)._hostElement.getBoundingClientRect());return this._isActive=P,this._updateWidthActive(),void this._slider._updateDimensions()}this._isActive=!0,this._setIsFocused(!0),this._updateWidthActive(),this._slider._updateDimensions(),this._slider.step||this._updateThumbUIByPointerEvent(Y,{withAnimation:!0}),this.disabled||(this._handleValueCorrection(Y),this.dragStart.emit({source:this,parent:this._slider,value:this.value}))}}_handleValueCorrection(Y){this._skipUIUpdate=!0,setTimeout(()=>{this._skipUIUpdate=!1,this._fixValue(Y)},0)}_fixValue(Y){const P=Y.clientX-this._slider._cachedLeft,ae=this._slider._cachedWidth,B=0===this._slider.step?1:this._slider.step,Se=Math.floor((this._slider.max-this._slider.min)/B),Pe=Math.round((this._slider._isRtl?1-P/ae:P/ae)*Se)/Se*(this._slider.max-this._slider.min)+this._slider.min,re=Math.round(Pe/B)*B;if(re===this.value)return this._slider._onValueChange(this),void(this._slider.step>0?this._updateThumbUIByValue():this._updateThumbUIByPointerEvent(Y,{withAnimation:this._slider._hasAnimation}));this.value=re,this.valueChange.emit(this.value),this._onChangeFn?.(this.value),this._slider._onValueChange(this),this._slider.step>0?this._updateThumbUIByValue():this._updateThumbUIByPointerEvent(Y,{withAnimation:this._slider._hasAnimation})}_onPointerMove(Y){!this._slider.step&&this._isActive&&this._updateThumbUIByPointerEvent(Y)}_onPointerUp(){this._isActive&&(this._isActive=!1,this.dragEnd.emit({source:this,parent:this._slider,value:this.value}),setTimeout(()=>this._updateWidthInactive(),this._platform.IOS?10:0))}_clamp(Y){return Math.max(Math.min(Y,this._slider._cachedWidth),0)}_calcTranslateXByValue(){return this._slider._isRtl?(1-this.percentage)*this._slider._cachedWidth:this.percentage*this._slider._cachedWidth}_calcTranslateXByPointerEvent(Y){return Y.clientX-this._slider._cachedLeft}_updateWidthActive(){this._hostElement.style.padding=`0 ${this._slider._inputPadding}px`,this._hostElement.style.width=`calc(100% + ${this._slider._inputPadding}px)`}_updateWidthInactive(){this._hostElement.style.padding="0px",this._hostElement.style.width="calc(100% + 48px)",this._hostElement.style.left="-24px"}_updateThumbUIByValue(Y){this.translateX=this._clamp(this._calcTranslateXByValue()),this._updateThumbUI(Y)}_updateThumbUIByPointerEvent(Y,P){this.translateX=this._clamp(this._calcTranslateXByPointerEvent(Y)),this._updateThumbUI(P)}_updateThumbUI(Y){this._slider._setTransition(!!Y?.withAnimation),this._slider._onTranslateXChange(this)}writeValue(Y){(this._isControlInitialized||null!==Y)&&(this.value=Y)}registerOnChange(Y){this._onChangeFn=Y,this._isControlInitialized=!0}registerOnTouched(Y){this._onTouchedFn=Y}setDisabledState(Y){this.disabled=Y}focus(){this._hostElement.focus()}blur(){this._hostElement.blur()}static#e=this.\u0275fac=function(P){return new(P||Xe)(E.Y36(E.R0b),E.Y36(E.SBq),E.Y36(E.sBO),E.Y36(ue))};static#t=this.\u0275dir=E.lG2({type:Xe,selectors:[["input","matSliderThumb",""]],hostAttrs:["type","range",1,"mdc-slider__input"],hostVars:1,hostBindings:function(P,ae){1&P&&E.NdJ("change",function(){return ae._onChange()})("input",function(){return ae._onInput()})("blur",function(){return ae._onBlur()})("focus",function(){return ae._onFocus()}),2&P&&E.uIk("aria-valuetext",ae._valuetext)},inputs:{value:"value"},outputs:{valueChange:"valueChange",dragStart:"dragStart",dragEnd:"dragEnd"},exportAs:["matSliderThumb"],features:[E._Bn([ct,{provide:ze,useExisting:Xe}])]})}return Xe})(),It=(()=>{class Xe extends Ut{getSibling(){return this._sibling||(this._sibling=this._slider._getInput(this._isEndThumb?1:2)),this._sibling}getMinPos(){const Y=this.getSibling();return!this._isLeftThumb&&Y?Y.translateX:0}getMaxPos(){const Y=this.getSibling();return this._isLeftThumb&&Y?Y.translateX:this._slider._cachedWidth}_setIsLeftThumb(){this._isLeftThumb=this._isEndThumb&&this._slider._isRtl||!this._isEndThumb&&!this._slider._isRtl}constructor(Y,P,ae,B){super(Y,ae,B,P),this._cdr=B,this._isEndThumb=this._hostElement.hasAttribute("matSliderEndThumb"),this._setIsLeftThumb(),this.thumbPosition=this._isEndThumb?2:1}_getDefaultValue(){return this._isEndThumb&&this._slider._isRange?this.max:this.min}_onInput(){super._onInput(),this._updateSibling(),this._isActive||this._updateWidthInactive()}_onNgControlValueChange(){super._onNgControlValueChange(),this.getSibling()?._updateMinMax()}_onPointerDown(Y){this.disabled||0!==Y.button||(this._sibling&&(this._sibling._updateWidthActive(),this._sibling._hostElement.classList.add("mat-mdc-slider-input-no-pointer-events")),super._onPointerDown(Y))}_onPointerUp(){super._onPointerUp(),this._sibling&&setTimeout(()=>{this._sibling._updateWidthInactive(),this._sibling._hostElement.classList.remove("mat-mdc-slider-input-no-pointer-events")})}_onPointerMove(Y){super._onPointerMove(Y),!this._slider.step&&this._isActive&&this._updateSibling()}_fixValue(Y){super._fixValue(Y),this._sibling?._updateMinMax()}_clamp(Y){return Math.max(Math.min(Y,this.getMaxPos()),this.getMinPos())}_updateMinMax(){const Y=this.getSibling();Y&&(this._isEndThumb?(this.min=Math.max(this._slider.min,Y.value),this.max=this._slider.max):(this.min=this._slider.min,this.max=Math.min(this._slider.max,Y.value)))}_updateWidthActive(){const Y=2*this._slider._rippleRadius-2*this._slider._inputPadding;this._hostElement.style.width=`${(this._slider._cachedWidth+this._slider._inputPadding-Y)*(this._slider.min{class Xe{static#e=this.\u0275fac=function(P){return new(P||Xe)};static#t=this.\u0275mod=E.oAB({type:Xe});static#n=this.\u0275inj=E.cJS({imports:[H.BQ,Q.ez,H.si]})}return Xe})()},4104:(_t,Me,p)=>{p.d(Me,{Nh:()=>Pt,SP:()=>G,Vc:()=>rt,uD:()=>tn,uX:()=>Kt});var n=p(6814),l=p(5879),w=p(3680),E=p(8484),H=p(7131),Q=p(4300),ne=p(9388),we=p(7394),ie=p(8645),J=p(2438),xe=p(2096),fe=p(3019),ce=p(6232),De=p(5592),Ae=p(4825),Le=p(7921),se=p(3997),ue=p(9773),ze=p(8180),oe=p(4664),N=p(836),Ce=p(2181),K=p(6825),ve=p(2495),ye=p(6672),He=p(2831),ft=p(6028);function ct(at,wt){}const xt=function(at){return{animationDuration:at}},Ut=function(at,wt){return{value:at,params:wt}};function It(at,wt){1&at&&l.Hsn(0)}const sn=["*"],Xe=["tabListContainer"],At=["tabList"],Y=["tabListInner"],P=["nextPaginator"],ae=["previousPaginator"],B=["tabBodyWrapper"],Se=["tabHeader"];function L(at,wt){}function V(at,wt){if(1&at&&l.YNc(0,L,0,0,"ng-template",14),2&at){const de=l.oxw().$implicit;l.Q6J("cdkPortalOutlet",de.templateLabel)}}function Pe(at,wt){if(1&at&&l._uU(0),2&at){const de=l.oxw().$implicit;l.Oqu(de.textLabel)}}function re(at,wt){if(1&at){const de=l.EpF();l.TgZ(0,"div",6,7),l.NdJ("click",function(){const Ke=l.CHM(de),Ee=Ke.$implicit,ge=Ke.index,Ve=l.oxw(),dt=l.MAs(1);return l.KtG(Ve._handleClick(Ee,dt,ge))})("cdkFocusChange",function(Ke){const ge=l.CHM(de).index,Ve=l.oxw();return l.KtG(Ve._tabFocusChanged(Ke,ge))}),l._UZ(2,"span",8)(3,"div",9),l.TgZ(4,"span",10)(5,"span",11),l.YNc(6,V,1,1,"ng-template",12),l.YNc(7,Pe,1,1,"ng-template",null,13,l.W1O),l.qZA()()()}if(2&at){const de=wt.$implicit,ke=wt.index,Ke=l.MAs(1),Ee=l.MAs(8),ge=l.oxw();l.ekj("mdc-tab--active",ge.selectedIndex===ke),l.Q6J("id",ge._getTabLabelId(ke))("ngClass",de.labelClass)("disabled",de.disabled)("fitInkBarToContent",ge.fitInkBarToContent),l.uIk("tabIndex",ge._getTabIndex(ke))("aria-posinset",ke+1)("aria-setsize",ge._tabs.length)("aria-controls",ge._getTabContentId(ke))("aria-selected",ge.selectedIndex===ke)("aria-label",de.ariaLabel||null)("aria-labelledby",!de.ariaLabel&&de.ariaLabelledby?de.ariaLabelledby:null),l.xp6(3),l.Q6J("matRippleTrigger",Ke)("matRippleDisabled",de.disabled||ge.disableRipple),l.xp6(3),l.Q6J("ngIf",de.templateLabel)("ngIfElse",Ee)}}function je(at,wt){if(1&at){const de=l.EpF();l.TgZ(0,"mat-tab-body",15),l.NdJ("_onCentered",function(){l.CHM(de);const Ke=l.oxw();return l.KtG(Ke._removeTabBodyWrapperHeight())})("_onCentering",function(Ke){l.CHM(de);const Ee=l.oxw();return l.KtG(Ee._setTabBodyWrapperHeight(Ke))}),l.qZA()}if(2&at){const de=wt.$implicit,ke=wt.index,Ke=l.oxw();l.ekj("mat-mdc-tab-body-active",Ke.selectedIndex===ke),l.Q6J("id",Ke._getTabContentId(ke))("ngClass",de.bodyClass)("content",de.content)("position",de.position)("origin",de.origin)("animationDuration",Ke.animationDuration)("preserveContent",Ke.preserveContent),l.uIk("tabindex",null!=Ke.contentTabIndex&&Ke.selectedIndex===ke?Ke.contentTabIndex:null)("aria-labelledby",Ke._getTabLabelId(ke))("aria-hidden",Ke.selectedIndex!==ke)}}const nt={translateTab:(0,K.X$)("translateTab",[(0,K.SB)("center, void, left-origin-center, right-origin-center",(0,K.oB)({transform:"none"})),(0,K.SB)("left",(0,K.oB)({transform:"translate3d(-100%, 0, 0)",minHeight:"1px",visibility:"hidden"})),(0,K.SB)("right",(0,K.oB)({transform:"translate3d(100%, 0, 0)",minHeight:"1px",visibility:"hidden"})),(0,K.eR)("* => left, * => right, left => center, right => center",(0,K.jt)("{{animationDuration}} cubic-bezier(0.35, 0, 0.25, 1)")),(0,K.eR)("void => left-origin-center",[(0,K.oB)({transform:"translate3d(-100%, 0, 0)",visibility:"hidden"}),(0,K.jt)("{{animationDuration}} cubic-bezier(0.35, 0, 0.25, 1)")]),(0,K.eR)("void => right-origin-center",[(0,K.oB)({transform:"translate3d(100%, 0, 0)",visibility:"hidden"}),(0,K.jt)("{{animationDuration}} cubic-bezier(0.35, 0, 0.25, 1)")])])};let Bt=(()=>{class at extends E.Pl{constructor(de,ke,Ke,Ee){super(de,ke,Ee),this._host=Ke,this._centeringSub=we.w0.EMPTY,this._leavingSub=we.w0.EMPTY}ngOnInit(){super.ngOnInit(),this._centeringSub=this._host._beforeCentering.pipe((0,Le.O)(this._host._isCenterPosition(this._host._position))).subscribe(de=>{de&&!this.hasAttached()&&this.attach(this._host._content)}),this._leavingSub=this._host._afterLeavingCenter.subscribe(()=>{this._host.preserveContent||this.detach()})}ngOnDestroy(){super.ngOnDestroy(),this._centeringSub.unsubscribe(),this._leavingSub.unsubscribe()}static#e=this.\u0275fac=function(ke){return new(ke||at)(l.Y36(l._Vd),l.Y36(l.s_b),l.Y36((0,l.Gpc)(()=>bt)),l.Y36(n.K0))};static#t=this.\u0275dir=l.lG2({type:at,selectors:[["","matTabBodyHost",""]],features:[l.qOj]})}return at})(),Je=(()=>{class at{set position(de){this._positionIndex=de,this._computePositionAnimationState()}constructor(de,ke,Ke){this._elementRef=de,this._dir=ke,this._dirChangeSubscription=we.w0.EMPTY,this._translateTabComplete=new ie.x,this._onCentering=new l.vpe,this._beforeCentering=new l.vpe,this._afterLeavingCenter=new l.vpe,this._onCentered=new l.vpe(!0),this.animationDuration="500ms",this.preserveContent=!1,ke&&(this._dirChangeSubscription=ke.change.subscribe(Ee=>{this._computePositionAnimationState(Ee),Ke.markForCheck()})),this._translateTabComplete.pipe((0,se.x)((Ee,ge)=>Ee.fromState===ge.fromState&&Ee.toState===ge.toState)).subscribe(Ee=>{this._isCenterPosition(Ee.toState)&&this._isCenterPosition(this._position)&&this._onCentered.emit(),this._isCenterPosition(Ee.fromState)&&!this._isCenterPosition(this._position)&&this._afterLeavingCenter.emit()})}ngOnInit(){"center"==this._position&&null!=this.origin&&(this._position=this._computePositionFromOrigin(this.origin))}ngOnDestroy(){this._dirChangeSubscription.unsubscribe(),this._translateTabComplete.complete()}_onTranslateTabStarted(de){const ke=this._isCenterPosition(de.toState);this._beforeCentering.emit(ke),ke&&this._onCentering.emit(this._elementRef.nativeElement.clientHeight)}_getLayoutDirection(){return this._dir&&"rtl"===this._dir.value?"rtl":"ltr"}_isCenterPosition(de){return"center"==de||"left-origin-center"==de||"right-origin-center"==de}_computePositionAnimationState(de=this._getLayoutDirection()){this._position=this._positionIndex<0?"ltr"==de?"left":"right":this._positionIndex>0?"ltr"==de?"right":"left":"center"}_computePositionFromOrigin(de){const ke=this._getLayoutDirection();return"ltr"==ke&&de<=0||"rtl"==ke&&de>0?"left-origin-center":"right-origin-center"}static#e=this.\u0275fac=function(ke){return new(ke||at)(l.Y36(l.SBq),l.Y36(ne.Is,8),l.Y36(l.sBO))};static#t=this.\u0275dir=l.lG2({type:at,inputs:{_content:["content","_content"],origin:"origin",animationDuration:"animationDuration",preserveContent:"preserveContent",position:"position"},outputs:{_onCentering:"_onCentering",_beforeCentering:"_beforeCentering",_afterLeavingCenter:"_afterLeavingCenter",_onCentered:"_onCentered"}})}return at})(),bt=(()=>{class at extends Je{constructor(de,ke,Ke){super(de,ke,Ke)}static#e=this.\u0275fac=function(ke){return new(ke||at)(l.Y36(l.SBq),l.Y36(ne.Is,8),l.Y36(l.sBO))};static#t=this.\u0275cmp=l.Xpm({type:at,selectors:[["mat-tab-body"]],viewQuery:function(ke,Ke){if(1&ke&&l.Gf(E.Pl,5),2&ke){let Ee;l.iGM(Ee=l.CRH())&&(Ke._portalHost=Ee.first)}},hostAttrs:[1,"mat-mdc-tab-body"],features:[l.qOj],decls:3,vars:6,consts:[["cdkScrollable","",1,"mat-mdc-tab-body-content"],["content",""],["matTabBodyHost",""]],template:function(ke,Ke){1&ke&&(l.TgZ(0,"div",0,1),l.NdJ("@translateTab.start",function(ge){return Ke._onTranslateTabStarted(ge)})("@translateTab.done",function(ge){return Ke._translateTabComplete.next(ge)}),l.YNc(2,ct,0,0,"ng-template",2),l.qZA()),2&ke&&l.Q6J("@translateTab",l.WLB(3,Ut,Ke._position,l.VKq(1,xt,Ke.animationDuration)))},dependencies:[Bt],styles:['.mat-mdc-tab-body{top:0;left:0;right:0;bottom:0;position:absolute;display:block;overflow:hidden;outline:0;flex-basis:100%}.mat-mdc-tab-body.mat-mdc-tab-body-active{position:relative;overflow-x:hidden;overflow-y:auto;z-index:1;flex-grow:1}.mat-mdc-tab-group.mat-mdc-tab-group-dynamic-height .mat-mdc-tab-body.mat-mdc-tab-body-active{overflow-y:hidden}.mat-mdc-tab-body-content{height:100%;overflow:auto}.mat-mdc-tab-group-dynamic-height .mat-mdc-tab-body-content{overflow:hidden}.mat-mdc-tab-body-content[style*="visibility: hidden"]{display:none}'],encapsulation:2,data:{animation:[nt.translateTab]}})}return at})();const Oe=new l.OlP("MatTabContent");let rt=(()=>{class at{constructor(de){this.template=de}static#e=this.\u0275fac=function(ke){return new(ke||at)(l.Y36(l.Rgc))};static#t=this.\u0275dir=l.lG2({type:at,selectors:[["","matTabContent",""]],features:[l._Bn([{provide:Oe,useExisting:at}])]})}return at})();const vt=new l.OlP("MatTabLabel"),en=new l.OlP("MAT_TAB");let tn=(()=>{class at extends E.ig{constructor(de,ke,Ke){super(de,ke),this._closestTab=Ke}static#e=this.\u0275fac=function(ke){return new(ke||at)(l.Y36(l.Rgc),l.Y36(l.s_b),l.Y36(en,8))};static#t=this.\u0275dir=l.lG2({type:at,selectors:[["","mat-tab-label",""],["","matTabLabel",""]],features:[l._Bn([{provide:vt,useExisting:at}]),l.qOj]})}return at})();const fn="mdc-tab-indicator--active",Zt="mdc-tab-indicator--no-transition";class Mn{constructor(wt){this._items=wt}hide(){this._items.forEach(wt=>wt.deactivateInkBar())}alignToElement(wt){const de=this._items.find(Ke=>Ke.elementRef.nativeElement===wt),ke=this._currentItem;if(de!==ke&&(ke?.deactivateInkBar(),de)){const Ke=ke?.elementRef.nativeElement.getBoundingClientRect?.();de.activateInkBar(Ke),this._currentItem=de}}}function it(at){return class extends at{constructor(...wt){super(...wt),this._fitToContent=!1}get fitInkBarToContent(){return this._fitToContent}set fitInkBarToContent(wt){const de=(0,ve.Ig)(wt);this._fitToContent!==de&&(this._fitToContent=de,this._inkBarElement&&this._appendInkBarElement())}activateInkBar(wt){const de=this.elementRef.nativeElement;if(!wt||!de.getBoundingClientRect||!this._inkBarContentElement)return void de.classList.add(fn);const ke=de.getBoundingClientRect(),Ke=wt.width/ke.width,Ee=wt.left-ke.left;de.classList.add(Zt),this._inkBarContentElement.style.setProperty("transform",`translateX(${Ee}px) scaleX(${Ke})`),de.getBoundingClientRect(),de.classList.remove(Zt),de.classList.add(fn),this._inkBarContentElement.style.setProperty("transform","")}deactivateInkBar(){this.elementRef.nativeElement.classList.remove(fn)}ngOnInit(){this._createInkBarElement()}ngOnDestroy(){this._inkBarElement?.remove(),this._inkBarElement=this._inkBarContentElement=null}_createInkBarElement(){const wt=this.elementRef.nativeElement.ownerDocument||document;this._inkBarElement=wt.createElement("span"),this._inkBarContentElement=wt.createElement("span"),this._inkBarElement.className="mdc-tab-indicator",this._inkBarContentElement.className="mdc-tab-indicator__content mdc-tab-indicator__content--underline",this._inkBarElement.appendChild(this._inkBarContentElement),this._appendInkBarElement()}_appendInkBarElement(){(this._fitToContent?this.elementRef.nativeElement.querySelector(".mdc-tab__content"):this.elementRef.nativeElement).appendChild(this._inkBarElement)}}}const Be=(0,w.Id)(class{}),ht=it((()=>{class at extends Be{constructor(de){super(),this.elementRef=de}focus(){this.elementRef.nativeElement.focus()}getOffsetLeft(){return this.elementRef.nativeElement.offsetLeft}getOffsetWidth(){return this.elementRef.nativeElement.offsetWidth}static#e=this.\u0275fac=function(ke){return new(ke||at)(l.Y36(l.SBq))};static#t=this.\u0275dir=l.lG2({type:at,features:[l.qOj]})}return at})());let mt=(()=>{class at extends ht{static#e=this.\u0275fac=function(){let de;return function(Ke){return(de||(de=l.n5z(at)))(Ke||at)}}();static#t=this.\u0275dir=l.lG2({type:at,selectors:[["","matTabLabelWrapper",""]],hostVars:3,hostBindings:function(ke,Ke){2&ke&&(l.uIk("aria-disabled",!!Ke.disabled),l.ekj("mat-mdc-tab-disabled",Ke.disabled))},inputs:{disabled:"disabled",fitInkBarToContent:"fitInkBarToContent"},features:[l.qOj]})}return at})();const Mt=(0,w.Id)(class{}),ln=new l.OlP("MAT_TAB_GROUP");let Wt=(()=>{class at extends Mt{get content(){return this._contentPortal}constructor(de,ke){super(),this._viewContainerRef=de,this._closestTabGroup=ke,this.textLabel="",this._contentPortal=null,this._stateChanges=new ie.x,this.position=null,this.origin=null,this.isActive=!1}ngOnChanges(de){(de.hasOwnProperty("textLabel")||de.hasOwnProperty("disabled"))&&this._stateChanges.next()}ngOnDestroy(){this._stateChanges.complete()}ngOnInit(){this._contentPortal=new E.UE(this._explicitContent||this._implicitContent,this._viewContainerRef)}_setTemplateLabelInput(de){de&&de._closestTab===this&&(this._templateLabel=de)}static#e=this.\u0275fac=function(ke){return new(ke||at)(l.Y36(l.s_b),l.Y36(ln,8))};static#t=this.\u0275dir=l.lG2({type:at,viewQuery:function(ke,Ke){if(1&ke&&l.Gf(l.Rgc,7),2&ke){let Ee;l.iGM(Ee=l.CRH())&&(Ke._implicitContent=Ee.first)}},inputs:{textLabel:["label","textLabel"],ariaLabel:["aria-label","ariaLabel"],ariaLabelledby:["aria-labelledby","ariaLabelledby"],labelClass:"labelClass",bodyClass:"bodyClass"},features:[l.qOj,l.TTD]})}return at})(),Kt=(()=>{class at extends Wt{constructor(){super(...arguments),this._explicitContent=void 0}get templateLabel(){return this._templateLabel}set templateLabel(de){this._setTemplateLabelInput(de)}static#e=this.\u0275fac=function(){let de;return function(Ke){return(de||(de=l.n5z(at)))(Ke||at)}}();static#t=this.\u0275cmp=l.Xpm({type:at,selectors:[["mat-tab"]],contentQueries:function(ke,Ke,Ee){if(1&ke&&(l.Suo(Ee,rt,7,l.Rgc),l.Suo(Ee,tn,5)),2&ke){let ge;l.iGM(ge=l.CRH())&&(Ke._explicitContent=ge.first),l.iGM(ge=l.CRH())&&(Ke.templateLabel=ge.first)}},inputs:{disabled:"disabled"},exportAs:["matTab"],features:[l._Bn([{provide:en,useExisting:at}]),l.qOj],ngContentSelectors:sn,decls:1,vars:0,template:function(ke,Ke){1&ke&&(l.F$t(),l.YNc(0,It,1,0,"ng-template"))},encapsulation:2})}return at})();const $t=(0,He.i$)({passive:!0});let pn=(()=>{class at{get disablePagination(){return this._disablePagination}set disablePagination(de){this._disablePagination=(0,ve.Ig)(de)}get selectedIndex(){return this._selectedIndex}set selectedIndex(de){de=(0,ve.su)(de),this._selectedIndex!=de&&(this._selectedIndexChanged=!0,this._selectedIndex=de,this._keyManager&&this._keyManager.updateActiveItem(de))}constructor(de,ke,Ke,Ee,ge,Ve,dt){this._elementRef=de,this._changeDetectorRef=ke,this._viewportRuler=Ke,this._dir=Ee,this._ngZone=ge,this._platform=Ve,this._animationMode=dt,this._scrollDistance=0,this._selectedIndexChanged=!1,this._destroyed=new ie.x,this._showPaginationControls=!1,this._disableScrollAfter=!0,this._disableScrollBefore=!0,this._stopScrolling=new ie.x,this._disablePagination=!1,this._selectedIndex=0,this.selectFocusedIndex=new l.vpe,this.indexFocused=new l.vpe,ge.runOutsideAngular(()=>{(0,J.R)(de.nativeElement,"mouseleave").pipe((0,ue.R)(this._destroyed)).subscribe(()=>{this._stopInterval()})})}ngAfterViewInit(){(0,J.R)(this._previousPaginator.nativeElement,"touchstart",$t).pipe((0,ue.R)(this._destroyed)).subscribe(()=>{this._handlePaginatorPress("before")}),(0,J.R)(this._nextPaginator.nativeElement,"touchstart",$t).pipe((0,ue.R)(this._destroyed)).subscribe(()=>{this._handlePaginatorPress("after")})}ngAfterContentInit(){const de=this._dir?this._dir.change:(0,xe.of)("ltr"),ke=this._viewportRuler.change(150),Ke=()=>{this.updatePagination(),this._alignInkBarToSelectedTab()};this._keyManager=new Q.Em(this._items).withHorizontalOrientation(this._getLayoutDirection()).withHomeAndEnd().withWrap().skipPredicate(()=>!1),this._keyManager.updateActiveItem(this._selectedIndex),this._ngZone.onStable.pipe((0,ze.q)(1)).subscribe(Ke),(0,fe.T)(de,ke,this._items.changes,this._itemsResized()).pipe((0,ue.R)(this._destroyed)).subscribe(()=>{this._ngZone.run(()=>{Promise.resolve().then(()=>{this._scrollDistance=Math.max(0,Math.min(this._getMaxScrollDistance(),this._scrollDistance)),Ke()})}),this._keyManager.withHorizontalOrientation(this._getLayoutDirection())}),this._keyManager.change.subscribe(Ee=>{this.indexFocused.emit(Ee),this._setTabFocus(Ee)})}_itemsResized(){return"function"!=typeof ResizeObserver?ce.E:this._items.changes.pipe((0,Le.O)(this._items),(0,oe.w)(de=>new De.y(ke=>this._ngZone.runOutsideAngular(()=>{const Ke=new ResizeObserver(Ee=>ke.next(Ee));return de.forEach(Ee=>Ke.observe(Ee.elementRef.nativeElement)),()=>{Ke.disconnect()}}))),(0,N.T)(1),(0,Ce.h)(de=>de.some(ke=>ke.contentRect.width>0&&ke.contentRect.height>0)))}ngAfterContentChecked(){this._tabLabelCount!=this._items.length&&(this.updatePagination(),this._tabLabelCount=this._items.length,this._changeDetectorRef.markForCheck()),this._selectedIndexChanged&&(this._scrollToLabel(this._selectedIndex),this._checkScrollingControls(),this._alignInkBarToSelectedTab(),this._selectedIndexChanged=!1,this._changeDetectorRef.markForCheck()),this._scrollDistanceChanged&&(this._updateTabScrollPosition(),this._scrollDistanceChanged=!1,this._changeDetectorRef.markForCheck())}ngOnDestroy(){this._keyManager?.destroy(),this._destroyed.next(),this._destroyed.complete(),this._stopScrolling.complete()}_handleKeydown(de){if(!(0,ft.Vb)(de))switch(de.keyCode){case ft.K5:case ft.L_:if(this.focusIndex!==this.selectedIndex){const ke=this._items.get(this.focusIndex);ke&&!ke.disabled&&(this.selectFocusedIndex.emit(this.focusIndex),this._itemSelected(de))}break;default:this._keyManager.onKeydown(de)}}_onContentChanges(){const de=this._elementRef.nativeElement.textContent;de!==this._currentTextContent&&(this._currentTextContent=de||"",this._ngZone.run(()=>{this.updatePagination(),this._alignInkBarToSelectedTab(),this._changeDetectorRef.markForCheck()}))}updatePagination(){this._checkPaginationEnabled(),this._checkScrollingControls(),this._updateTabScrollPosition()}get focusIndex(){return this._keyManager?this._keyManager.activeItemIndex:0}set focusIndex(de){!this._isValidIndex(de)||this.focusIndex===de||!this._keyManager||this._keyManager.setActiveItem(de)}_isValidIndex(de){return!this._items||!!this._items.toArray()[de]}_setTabFocus(de){if(this._showPaginationControls&&this._scrollToLabel(de),this._items&&this._items.length){this._items.toArray()[de].focus();const ke=this._tabListContainer.nativeElement;ke.scrollLeft="ltr"==this._getLayoutDirection()?0:ke.scrollWidth-ke.offsetWidth}}_getLayoutDirection(){return this._dir&&"rtl"===this._dir.value?"rtl":"ltr"}_updateTabScrollPosition(){if(this.disablePagination)return;const de=this.scrollDistance,ke="ltr"===this._getLayoutDirection()?-de:de;this._tabList.nativeElement.style.transform=`translateX(${Math.round(ke)}px)`,(this._platform.TRIDENT||this._platform.EDGE)&&(this._tabListContainer.nativeElement.scrollLeft=0)}get scrollDistance(){return this._scrollDistance}set scrollDistance(de){this._scrollTo(de)}_scrollHeader(de){return this._scrollTo(this._scrollDistance+("before"==de?-1:1)*this._tabListContainer.nativeElement.offsetWidth/3)}_handlePaginatorClick(de){this._stopInterval(),this._scrollHeader(de)}_scrollToLabel(de){if(this.disablePagination)return;const ke=this._items?this._items.toArray()[de]:null;if(!ke)return;const Ke=this._tabListContainer.nativeElement.offsetWidth,{offsetLeft:Ee,offsetWidth:ge}=ke.elementRef.nativeElement;let Ve,dt;"ltr"==this._getLayoutDirection()?(Ve=Ee,dt=Ve+ge):(dt=this._tabListInner.nativeElement.offsetWidth-Ee,Ve=dt-ge);const Rt=this.scrollDistance,Ht=this.scrollDistance+Ke;VeHt&&(this.scrollDistance+=Math.min(dt-Ht,Ve-Rt))}_checkPaginationEnabled(){if(this.disablePagination)this._showPaginationControls=!1;else{const de=this._tabListInner.nativeElement.scrollWidth>this._elementRef.nativeElement.offsetWidth;de||(this.scrollDistance=0),de!==this._showPaginationControls&&this._changeDetectorRef.markForCheck(),this._showPaginationControls=de}}_checkScrollingControls(){this.disablePagination?this._disableScrollAfter=this._disableScrollBefore=!0:(this._disableScrollBefore=0==this.scrollDistance,this._disableScrollAfter=this.scrollDistance==this._getMaxScrollDistance(),this._changeDetectorRef.markForCheck())}_getMaxScrollDistance(){return this._tabListInner.nativeElement.scrollWidth-this._tabListContainer.nativeElement.offsetWidth||0}_alignInkBarToSelectedTab(){const de=this._items&&this._items.length?this._items.toArray()[this.selectedIndex]:null,ke=de?de.elementRef.nativeElement:null;ke?this._inkBar.alignToElement(ke):this._inkBar.hide()}_stopInterval(){this._stopScrolling.next()}_handlePaginatorPress(de,ke){ke&&null!=ke.button&&0!==ke.button||(this._stopInterval(),(0,Ae.H)(650,100).pipe((0,ue.R)((0,fe.T)(this._stopScrolling,this._destroyed))).subscribe(()=>{const{maxScrollDistance:Ke,distance:Ee}=this._scrollHeader(de);(0===Ee||Ee>=Ke)&&this._stopInterval()}))}_scrollTo(de){if(this.disablePagination)return{maxScrollDistance:0,distance:0};const ke=this._getMaxScrollDistance();return this._scrollDistance=Math.max(0,Math.min(ke,de)),this._scrollDistanceChanged=!0,this._checkScrollingControls(),{maxScrollDistance:ke,distance:this._scrollDistance}}static#e=this.\u0275fac=function(ke){return new(ke||at)(l.Y36(l.SBq),l.Y36(l.sBO),l.Y36(ye.rL),l.Y36(ne.Is,8),l.Y36(l.R0b),l.Y36(He.t4),l.Y36(l.QbO,8))};static#t=this.\u0275dir=l.lG2({type:at,inputs:{disablePagination:"disablePagination"}})}return at})(),gn=(()=>{class at extends pn{get disableRipple(){return this._disableRipple}set disableRipple(de){this._disableRipple=(0,ve.Ig)(de)}constructor(de,ke,Ke,Ee,ge,Ve,dt){super(de,ke,Ke,Ee,ge,Ve,dt),this._disableRipple=!1}_itemSelected(de){de.preventDefault()}static#e=this.\u0275fac=function(ke){return new(ke||at)(l.Y36(l.SBq),l.Y36(l.sBO),l.Y36(ye.rL),l.Y36(ne.Is,8),l.Y36(l.R0b),l.Y36(He.t4),l.Y36(l.QbO,8))};static#t=this.\u0275dir=l.lG2({type:at,inputs:{disableRipple:"disableRipple"},features:[l.qOj]})}return at})(),yn=(()=>{class at extends gn{constructor(de,ke,Ke,Ee,ge,Ve,dt){super(de,ke,Ke,Ee,ge,Ve,dt)}ngAfterContentInit(){this._inkBar=new Mn(this._items),super.ngAfterContentInit()}static#e=this.\u0275fac=function(ke){return new(ke||at)(l.Y36(l.SBq),l.Y36(l.sBO),l.Y36(ye.rL),l.Y36(ne.Is,8),l.Y36(l.R0b),l.Y36(He.t4),l.Y36(l.QbO,8))};static#t=this.\u0275cmp=l.Xpm({type:at,selectors:[["mat-tab-header"]],contentQueries:function(ke,Ke,Ee){if(1&ke&&l.Suo(Ee,mt,4),2&ke){let ge;l.iGM(ge=l.CRH())&&(Ke._items=ge)}},viewQuery:function(ke,Ke){if(1&ke&&(l.Gf(Xe,7),l.Gf(At,7),l.Gf(Y,7),l.Gf(P,5),l.Gf(ae,5)),2&ke){let Ee;l.iGM(Ee=l.CRH())&&(Ke._tabListContainer=Ee.first),l.iGM(Ee=l.CRH())&&(Ke._tabList=Ee.first),l.iGM(Ee=l.CRH())&&(Ke._tabListInner=Ee.first),l.iGM(Ee=l.CRH())&&(Ke._nextPaginator=Ee.first),l.iGM(Ee=l.CRH())&&(Ke._previousPaginator=Ee.first)}},hostAttrs:[1,"mat-mdc-tab-header"],hostVars:4,hostBindings:function(ke,Ke){2&ke&&l.ekj("mat-mdc-tab-header-pagination-controls-enabled",Ke._showPaginationControls)("mat-mdc-tab-header-rtl","rtl"==Ke._getLayoutDirection())},inputs:{selectedIndex:"selectedIndex"},outputs:{selectFocusedIndex:"selectFocusedIndex",indexFocused:"indexFocused"},features:[l.qOj],ngContentSelectors:sn,decls:13,vars:10,consts:[["aria-hidden","true","type","button","mat-ripple","","tabindex","-1",1,"mat-mdc-tab-header-pagination","mat-mdc-tab-header-pagination-before",3,"matRippleDisabled","disabled","click","mousedown","touchend"],["previousPaginator",""],[1,"mat-mdc-tab-header-pagination-chevron"],[1,"mat-mdc-tab-label-container",3,"keydown"],["tabListContainer",""],["role","tablist",1,"mat-mdc-tab-list",3,"cdkObserveContent"],["tabList",""],[1,"mat-mdc-tab-labels"],["tabListInner",""],["aria-hidden","true","type","button","mat-ripple","","tabindex","-1",1,"mat-mdc-tab-header-pagination","mat-mdc-tab-header-pagination-after",3,"matRippleDisabled","disabled","mousedown","click","touchend"],["nextPaginator",""]],template:function(ke,Ke){1&ke&&(l.F$t(),l.TgZ(0,"button",0,1),l.NdJ("click",function(){return Ke._handlePaginatorClick("before")})("mousedown",function(ge){return Ke._handlePaginatorPress("before",ge)})("touchend",function(){return Ke._stopInterval()}),l._UZ(2,"div",2),l.qZA(),l.TgZ(3,"div",3,4),l.NdJ("keydown",function(ge){return Ke._handleKeydown(ge)}),l.TgZ(5,"div",5,6),l.NdJ("cdkObserveContent",function(){return Ke._onContentChanges()}),l.TgZ(7,"div",7,8),l.Hsn(9),l.qZA()()(),l.TgZ(10,"button",9,10),l.NdJ("mousedown",function(ge){return Ke._handlePaginatorPress("after",ge)})("click",function(){return Ke._handlePaginatorClick("after")})("touchend",function(){return Ke._stopInterval()}),l._UZ(12,"div",2),l.qZA()),2&ke&&(l.ekj("mat-mdc-tab-header-pagination-disabled",Ke._disableScrollBefore),l.Q6J("matRippleDisabled",Ke._disableScrollBefore||Ke.disableRipple)("disabled",Ke._disableScrollBefore||null),l.xp6(3),l.ekj("_mat-animation-noopable","NoopAnimations"===Ke._animationMode),l.xp6(7),l.ekj("mat-mdc-tab-header-pagination-disabled",Ke._disableScrollAfter),l.Q6J("matRippleDisabled",Ke._disableScrollAfter||Ke.disableRipple)("disabled",Ke._disableScrollAfter||null))},dependencies:[w.wG,H.wD],styles:[".mat-mdc-tab-header{display:flex;overflow:hidden;position:relative;flex-shrink:0;--mdc-tab-indicator-active-indicator-height:2px;--mdc-tab-indicator-active-indicator-shape:0;--mdc-secondary-navigation-tab-container-height:48px}.mdc-tab-indicator .mdc-tab-indicator__content{transition-duration:var(--mat-tab-animation-duration, 250ms)}.mat-mdc-tab-header-pagination{-webkit-user-select:none;user-select:none;position:relative;display:none;justify-content:center;align-items:center;min-width:32px;cursor:pointer;z-index:2;-webkit-tap-highlight-color:rgba(0,0,0,0);touch-action:none;box-sizing:content-box;background:none;border:none;outline:0;padding:0}.mat-mdc-tab-header-pagination::-moz-focus-inner{border:0}.mat-mdc-tab-header-pagination .mat-ripple-element{opacity:.12;background-color:var(--mat-tab-header-inactive-ripple-color)}.mat-mdc-tab-header-pagination-controls-enabled .mat-mdc-tab-header-pagination{display:flex}.mat-mdc-tab-header-pagination-before,.mat-mdc-tab-header-rtl .mat-mdc-tab-header-pagination-after{padding-left:4px}.mat-mdc-tab-header-pagination-before .mat-mdc-tab-header-pagination-chevron,.mat-mdc-tab-header-rtl .mat-mdc-tab-header-pagination-after .mat-mdc-tab-header-pagination-chevron{transform:rotate(-135deg)}.mat-mdc-tab-header-rtl .mat-mdc-tab-header-pagination-before,.mat-mdc-tab-header-pagination-after{padding-right:4px}.mat-mdc-tab-header-rtl .mat-mdc-tab-header-pagination-before .mat-mdc-tab-header-pagination-chevron,.mat-mdc-tab-header-pagination-after .mat-mdc-tab-header-pagination-chevron{transform:rotate(45deg)}.mat-mdc-tab-header-pagination-chevron{border-style:solid;border-width:2px 2px 0 0;height:8px;width:8px;border-color:var(--mat-tab-header-pagination-icon-color)}.mat-mdc-tab-header-pagination-disabled{box-shadow:none;cursor:default;pointer-events:none}.mat-mdc-tab-header-pagination-disabled .mat-mdc-tab-header-pagination-chevron{opacity:.4}.mat-mdc-tab-list{flex-grow:1;position:relative;transition:transform 500ms cubic-bezier(0.35, 0, 0.25, 1)}._mat-animation-noopable .mat-mdc-tab-list{transition:none}._mat-animation-noopable span.mdc-tab-indicator__content,._mat-animation-noopable span.mdc-tab__text-label{transition:none}.mat-mdc-tab-label-container{display:flex;flex-grow:1;overflow:hidden;z-index:1}.mat-mdc-tab-labels{display:flex;flex:1 0 auto}[mat-align-tabs=center]>.mat-mdc-tab-header .mat-mdc-tab-labels{justify-content:center}[mat-align-tabs=end]>.mat-mdc-tab-header .mat-mdc-tab-labels{justify-content:flex-end}.mat-mdc-tab::before{margin:5px}.cdk-high-contrast-active .mat-mdc-tab[aria-disabled=true]{color:GrayText}"],encapsulation:2})}return at})();const kn=new l.OlP("MAT_TABS_CONFIG");let ut=0;const me=(0,w.pj)((0,w.Kr)(class{constructor(at){this._elementRef=at}}),"primary");let le=(()=>{class at extends me{get dynamicHeight(){return this._dynamicHeight}set dynamicHeight(de){this._dynamicHeight=(0,ve.Ig)(de)}get selectedIndex(){return this._selectedIndex}set selectedIndex(de){this._indexToSelect=(0,ve.su)(de,null)}get animationDuration(){return this._animationDuration}set animationDuration(de){this._animationDuration=/^\d+$/.test(de+"")?de+"ms":de}get contentTabIndex(){return this._contentTabIndex}set contentTabIndex(de){this._contentTabIndex=(0,ve.su)(de,null)}get disablePagination(){return this._disablePagination}set disablePagination(de){this._disablePagination=(0,ve.Ig)(de)}get preserveContent(){return this._preserveContent}set preserveContent(de){this._preserveContent=(0,ve.Ig)(de)}get backgroundColor(){return this._backgroundColor}set backgroundColor(de){const ke=this._elementRef.nativeElement.classList;ke.remove("mat-tabs-with-background",`mat-background-${this.backgroundColor}`),de&&ke.add("mat-tabs-with-background",`mat-background-${de}`),this._backgroundColor=de}constructor(de,ke,Ke,Ee){super(de),this._changeDetectorRef=ke,this._animationMode=Ee,this._tabs=new l.n_E,this._indexToSelect=0,this._lastFocusedTabIndex=null,this._tabBodyWrapperHeight=0,this._tabsSubscription=we.w0.EMPTY,this._tabLabelSubscription=we.w0.EMPTY,this._dynamicHeight=!1,this._selectedIndex=null,this.headerPosition="above",this._disablePagination=!1,this._preserveContent=!1,this.selectedIndexChange=new l.vpe,this.focusChange=new l.vpe,this.animationDone=new l.vpe,this.selectedTabChange=new l.vpe(!0),this._groupId=ut++,this.animationDuration=Ke&&Ke.animationDuration?Ke.animationDuration:"500ms",this.disablePagination=!(!Ke||null==Ke.disablePagination)&&Ke.disablePagination,this.dynamicHeight=!(!Ke||null==Ke.dynamicHeight)&&Ke.dynamicHeight,this.contentTabIndex=Ke?.contentTabIndex??null,this.preserveContent=!!Ke?.preserveContent}ngAfterContentChecked(){const de=this._indexToSelect=this._clampTabIndex(this._indexToSelect);if(this._selectedIndex!=de){const ke=null==this._selectedIndex;if(!ke){this.selectedTabChange.emit(this._createChangeEvent(de));const Ke=this._tabBodyWrapper.nativeElement;Ke.style.minHeight=Ke.clientHeight+"px"}Promise.resolve().then(()=>{this._tabs.forEach((Ke,Ee)=>Ke.isActive=Ee===de),ke||(this.selectedIndexChange.emit(de),this._tabBodyWrapper.nativeElement.style.minHeight="")})}this._tabs.forEach((ke,Ke)=>{ke.position=Ke-de,null!=this._selectedIndex&&0==ke.position&&!ke.origin&&(ke.origin=de-this._selectedIndex)}),this._selectedIndex!==de&&(this._selectedIndex=de,this._lastFocusedTabIndex=null,this._changeDetectorRef.markForCheck())}ngAfterContentInit(){this._subscribeToAllTabChanges(),this._subscribeToTabLabels(),this._tabsSubscription=this._tabs.changes.subscribe(()=>{const de=this._clampTabIndex(this._indexToSelect);if(de===this._selectedIndex){const ke=this._tabs.toArray();let Ke;for(let Ee=0;Ee{ke[de].isActive=!0,this.selectedTabChange.emit(this._createChangeEvent(de))})}this._changeDetectorRef.markForCheck()})}_subscribeToAllTabChanges(){this._allTabs.changes.pipe((0,Le.O)(this._allTabs)).subscribe(de=>{this._tabs.reset(de.filter(ke=>ke._closestTabGroup===this||!ke._closestTabGroup)),this._tabs.notifyOnChanges()})}ngOnDestroy(){this._tabs.destroy(),this._tabsSubscription.unsubscribe(),this._tabLabelSubscription.unsubscribe()}realignInkBar(){this._tabHeader&&this._tabHeader._alignInkBarToSelectedTab()}updatePagination(){this._tabHeader&&this._tabHeader.updatePagination()}focusTab(de){const ke=this._tabHeader;ke&&(ke.focusIndex=de)}_focusChanged(de){this._lastFocusedTabIndex=de,this.focusChange.emit(this._createChangeEvent(de))}_createChangeEvent(de){const ke=new Ie;return ke.index=de,this._tabs&&this._tabs.length&&(ke.tab=this._tabs.toArray()[de]),ke}_subscribeToTabLabels(){this._tabLabelSubscription&&this._tabLabelSubscription.unsubscribe(),this._tabLabelSubscription=(0,fe.T)(...this._tabs.map(de=>de._stateChanges)).subscribe(()=>this._changeDetectorRef.markForCheck())}_clampTabIndex(de){return Math.min(this._tabs.length-1,Math.max(de||0,0))}_getTabLabelId(de){return`mat-tab-label-${this._groupId}-${de}`}_getTabContentId(de){return`mat-tab-content-${this._groupId}-${de}`}_setTabBodyWrapperHeight(de){if(!this._dynamicHeight||!this._tabBodyWrapperHeight)return;const ke=this._tabBodyWrapper.nativeElement;ke.style.height=this._tabBodyWrapperHeight+"px",this._tabBodyWrapper.nativeElement.offsetHeight&&(ke.style.height=de+"px")}_removeTabBodyWrapperHeight(){const de=this._tabBodyWrapper.nativeElement;this._tabBodyWrapperHeight=de.clientHeight,de.style.height="",this.animationDone.emit()}_handleClick(de,ke,Ke){ke.focusIndex=Ke,de.disabled||(this.selectedIndex=Ke)}_getTabIndex(de){return de===(this._lastFocusedTabIndex??this.selectedIndex)?0:-1}_tabFocusChanged(de,ke){de&&"mouse"!==de&&"touch"!==de&&(this._tabHeader.focusIndex=ke)}static#e=this.\u0275fac=function(ke){return new(ke||at)(l.Y36(l.SBq),l.Y36(l.sBO),l.Y36(kn,8),l.Y36(l.QbO,8))};static#t=this.\u0275dir=l.lG2({type:at,inputs:{dynamicHeight:"dynamicHeight",selectedIndex:"selectedIndex",headerPosition:"headerPosition",animationDuration:"animationDuration",contentTabIndex:"contentTabIndex",disablePagination:"disablePagination",preserveContent:"preserveContent",backgroundColor:"backgroundColor"},outputs:{selectedIndexChange:"selectedIndexChange",focusChange:"focusChange",animationDone:"animationDone",selectedTabChange:"selectedTabChange"},features:[l.qOj]})}return at})(),G=(()=>{class at extends le{get fitInkBarToContent(){return this._fitInkBarToContent}set fitInkBarToContent(de){this._fitInkBarToContent=(0,ve.Ig)(de),this._changeDetectorRef.markForCheck()}get stretchTabs(){return this._stretchTabs}set stretchTabs(de){this._stretchTabs=(0,ve.Ig)(de)}constructor(de,ke,Ke,Ee){super(de,ke,Ke,Ee),this._fitInkBarToContent=!1,this._stretchTabs=!0,this.fitInkBarToContent=!(!Ke||null==Ke.fitInkBarToContent)&&Ke.fitInkBarToContent,this.stretchTabs=!Ke||null==Ke.stretchTabs||Ke.stretchTabs}static#e=this.\u0275fac=function(ke){return new(ke||at)(l.Y36(l.SBq),l.Y36(l.sBO),l.Y36(kn,8),l.Y36(l.QbO,8))};static#t=this.\u0275cmp=l.Xpm({type:at,selectors:[["mat-tab-group"]],contentQueries:function(ke,Ke,Ee){if(1&ke&&l.Suo(Ee,Kt,5),2&ke){let ge;l.iGM(ge=l.CRH())&&(Ke._allTabs=ge)}},viewQuery:function(ke,Ke){if(1&ke&&(l.Gf(B,5),l.Gf(Se,5)),2&ke){let Ee;l.iGM(Ee=l.CRH())&&(Ke._tabBodyWrapper=Ee.first),l.iGM(Ee=l.CRH())&&(Ke._tabHeader=Ee.first)}},hostAttrs:["ngSkipHydration","",1,"mat-mdc-tab-group"],hostVars:8,hostBindings:function(ke,Ke){2&ke&&(l.Udp("--mat-tab-animation-duration",Ke.animationDuration),l.ekj("mat-mdc-tab-group-dynamic-height",Ke.dynamicHeight)("mat-mdc-tab-group-inverted-header","below"===Ke.headerPosition)("mat-mdc-tab-group-stretch-tabs",Ke.stretchTabs))},inputs:{color:"color",disableRipple:"disableRipple",fitInkBarToContent:"fitInkBarToContent",stretchTabs:["mat-stretch-tabs","stretchTabs"]},exportAs:["matTabGroup"],features:[l._Bn([{provide:ln,useExisting:at}]),l.qOj],decls:6,vars:7,consts:[[3,"selectedIndex","disableRipple","disablePagination","indexFocused","selectFocusedIndex"],["tabHeader",""],["class","mdc-tab mat-mdc-tab mat-mdc-focus-indicator","role","tab","matTabLabelWrapper","","cdkMonitorElementFocus","",3,"id","mdc-tab--active","ngClass","disabled","fitInkBarToContent","click","cdkFocusChange",4,"ngFor","ngForOf"],[1,"mat-mdc-tab-body-wrapper"],["tabBodyWrapper",""],["role","tabpanel",3,"id","mat-mdc-tab-body-active","ngClass","content","position","origin","animationDuration","preserveContent","_onCentered","_onCentering",4,"ngFor","ngForOf"],["role","tab","matTabLabelWrapper","","cdkMonitorElementFocus","",1,"mdc-tab","mat-mdc-tab","mat-mdc-focus-indicator",3,"id","ngClass","disabled","fitInkBarToContent","click","cdkFocusChange"],["tabNode",""],[1,"mdc-tab__ripple"],["mat-ripple","",1,"mat-mdc-tab-ripple",3,"matRippleTrigger","matRippleDisabled"],[1,"mdc-tab__content"],[1,"mdc-tab__text-label"],[3,"ngIf","ngIfElse"],["tabTextLabel",""],[3,"cdkPortalOutlet"],["role","tabpanel",3,"id","ngClass","content","position","origin","animationDuration","preserveContent","_onCentered","_onCentering"]],template:function(ke,Ke){1&ke&&(l.TgZ(0,"mat-tab-header",0,1),l.NdJ("indexFocused",function(ge){return Ke._focusChanged(ge)})("selectFocusedIndex",function(ge){return Ke.selectedIndex=ge}),l.YNc(2,re,9,17,"div",2),l.qZA(),l.TgZ(3,"div",3,4),l.YNc(5,je,1,12,"mat-tab-body",5),l.qZA()),2&ke&&(l.Q6J("selectedIndex",Ke.selectedIndex||0)("disableRipple",Ke.disableRipple)("disablePagination",Ke.disablePagination),l.xp6(2),l.Q6J("ngForOf",Ke._tabs),l.xp6(1),l.ekj("_mat-animation-noopable","NoopAnimations"===Ke._animationMode),l.xp6(2),l.Q6J("ngForOf",Ke._tabs))},dependencies:[n.mk,n.sg,n.O5,E.Pl,w.wG,Q.kH,bt,mt,yn],styles:['.mdc-tab{min-width:90px;padding-right:24px;padding-left:24px;display:flex;flex:1 0 auto;justify-content:center;box-sizing:border-box;margin:0;padding-top:0;padding-bottom:0;border:none;outline:none;text-align:center;white-space:nowrap;cursor:pointer;-webkit-appearance:none;z-index:1}.mdc-tab::-moz-focus-inner{padding:0;border:0}.mdc-tab[hidden]{display:none}.mdc-tab--min-width{flex:0 1 auto}.mdc-tab__content{display:flex;align-items:center;justify-content:center;height:inherit;pointer-events:none}.mdc-tab__text-label{transition:150ms color linear;display:inline-block;line-height:1;z-index:2}.mdc-tab__icon{transition:150ms color linear;z-index:2}.mdc-tab--stacked .mdc-tab__content{flex-direction:column;align-items:center;justify-content:center}.mdc-tab--stacked .mdc-tab__text-label{padding-top:6px;padding-bottom:4px}.mdc-tab--active .mdc-tab__text-label,.mdc-tab--active .mdc-tab__icon{transition-delay:100ms}.mdc-tab:not(.mdc-tab--stacked) .mdc-tab__icon+.mdc-tab__text-label{padding-left:8px;padding-right:0}[dir=rtl] .mdc-tab:not(.mdc-tab--stacked) .mdc-tab__icon+.mdc-tab__text-label,.mdc-tab:not(.mdc-tab--stacked) .mdc-tab__icon+.mdc-tab__text-label[dir=rtl]{padding-left:0;padding-right:8px}.mdc-tab-indicator{display:flex;position:absolute;top:0;left:0;justify-content:center;width:100%;height:100%;pointer-events:none;z-index:1}.mdc-tab-indicator__content{transform-origin:left;opacity:0}.mdc-tab-indicator__content--underline{align-self:flex-end;box-sizing:border-box;width:100%;border-top-style:solid}.mdc-tab-indicator__content--icon{align-self:center;margin:0 auto}.mdc-tab-indicator--active .mdc-tab-indicator__content{opacity:1}.mdc-tab-indicator .mdc-tab-indicator__content{transition:250ms transform cubic-bezier(0.4, 0, 0.2, 1)}.mdc-tab-indicator--no-transition .mdc-tab-indicator__content{transition:none}.mdc-tab-indicator--fade .mdc-tab-indicator__content{transition:150ms opacity linear}.mdc-tab-indicator--active.mdc-tab-indicator--fade .mdc-tab-indicator__content{transition-delay:100ms}.mat-mdc-tab-ripple{position:absolute;top:0;left:0;bottom:0;right:0;pointer-events:none}.mat-mdc-tab{-webkit-tap-highlight-color:rgba(0,0,0,0);-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;text-decoration:none;background:none;font-family:var(--mat-tab-header-label-text-font);font-size:var(--mat-tab-header-label-text-size);letter-spacing:var(--mat-tab-header-label-text-tracking);line-height:var(--mat-tab-header-label-text-line-height);font-weight:var(--mat-tab-header-label-text-weight)}.mat-mdc-tab .mdc-tab-indicator__content--underline{border-color:var(--mdc-tab-indicator-active-indicator-color)}.mat-mdc-tab .mdc-tab-indicator__content--underline{border-top-width:var(--mdc-tab-indicator-active-indicator-height)}.mat-mdc-tab .mdc-tab-indicator__content--underline{border-radius:var(--mdc-tab-indicator-active-indicator-shape)}.mat-mdc-tab:not(.mdc-tab--stacked){height:var(--mdc-secondary-navigation-tab-container-height)}.mat-mdc-tab:not(:disabled).mdc-tab--active .mdc-tab__icon{fill:currentColor}.mat-mdc-tab:not(:disabled):hover.mdc-tab--active .mdc-tab__icon{fill:currentColor}.mat-mdc-tab:not(:disabled):focus.mdc-tab--active .mdc-tab__icon{fill:currentColor}.mat-mdc-tab:not(:disabled):active.mdc-tab--active .mdc-tab__icon{fill:currentColor}.mat-mdc-tab:disabled.mdc-tab--active .mdc-tab__icon{fill:currentColor}.mat-mdc-tab:not(:disabled):not(.mdc-tab--active) .mdc-tab__icon{fill:currentColor}.mat-mdc-tab:not(:disabled):hover:not(.mdc-tab--active) .mdc-tab__icon{fill:currentColor}.mat-mdc-tab:not(:disabled):focus:not(.mdc-tab--active) .mdc-tab__icon{fill:currentColor}.mat-mdc-tab:not(:disabled):active:not(.mdc-tab--active) .mdc-tab__icon{fill:currentColor}.mat-mdc-tab:disabled:not(.mdc-tab--active) .mdc-tab__icon{fill:currentColor}.mat-mdc-tab.mdc-tab{flex-grow:0}.mat-mdc-tab:hover .mdc-tab__text-label{color:var(--mat-tab-header-inactive-hover-label-text-color)}.mat-mdc-tab:focus .mdc-tab__text-label{color:var(--mat-tab-header-inactive-focus-label-text-color)}.mat-mdc-tab.mdc-tab--active .mdc-tab__text-label{color:var(--mat-tab-header-active-label-text-color)}.mat-mdc-tab.mdc-tab--active .mdc-tab__ripple::before,.mat-mdc-tab.mdc-tab--active .mat-ripple-element{background-color:var(--mat-tab-header-active-ripple-color)}.mat-mdc-tab.mdc-tab--active:hover .mdc-tab__text-label{color:var(--mat-tab-header-active-hover-label-text-color)}.mat-mdc-tab.mdc-tab--active:hover .mdc-tab-indicator__content--underline{border-color:var(--mat-tab-header-active-hover-indicator-color)}.mat-mdc-tab.mdc-tab--active:focus .mdc-tab__text-label{color:var(--mat-tab-header-active-focus-label-text-color)}.mat-mdc-tab.mdc-tab--active:focus .mdc-tab-indicator__content--underline{border-color:var(--mat-tab-header-active-focus-indicator-color)}.mat-mdc-tab.mat-mdc-tab-disabled{opacity:.4;pointer-events:none}.mat-mdc-tab.mat-mdc-tab-disabled .mdc-tab__content{pointer-events:none}.mat-mdc-tab.mat-mdc-tab-disabled .mdc-tab__ripple::before,.mat-mdc-tab.mat-mdc-tab-disabled .mat-ripple-element{background-color:var(--mat-tab-header-disabled-ripple-color)}.mat-mdc-tab .mdc-tab__ripple::before{content:"";display:block;position:absolute;top:0;left:0;right:0;bottom:0;opacity:0;pointer-events:none;background-color:var(--mat-tab-header-inactive-ripple-color)}.mat-mdc-tab .mdc-tab__text-label{color:var(--mat-tab-header-inactive-label-text-color);display:inline-flex;align-items:center}.mat-mdc-tab .mdc-tab__content{position:relative;pointer-events:auto}.mat-mdc-tab:hover .mdc-tab__ripple::before{opacity:.04}.mat-mdc-tab.cdk-program-focused .mdc-tab__ripple::before,.mat-mdc-tab.cdk-keyboard-focused .mdc-tab__ripple::before{opacity:.12}.mat-mdc-tab .mat-ripple-element{opacity:.12;background-color:var(--mat-tab-header-inactive-ripple-color)}.mat-mdc-tab-group.mat-mdc-tab-group-stretch-tabs>.mat-mdc-tab-header .mat-mdc-tab{flex-grow:1}.mat-mdc-tab-group{display:flex;flex-direction:column;max-width:100%}.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header,.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header-pagination{background-color:var(--mat-tab-header-with-background-background-color)}.mat-mdc-tab-group.mat-tabs-with-background.mat-primary>.mat-mdc-tab-header .mat-mdc-tab .mdc-tab__text-label{color:var(--mat-tab-header-with-background-foreground-color)}.mat-mdc-tab-group.mat-tabs-with-background.mat-primary>.mat-mdc-tab-header .mdc-tab-indicator__content--underline{border-color:var(--mat-tab-header-with-background-foreground-color)}.mat-mdc-tab-group.mat-tabs-with-background:not(.mat-primary)>.mat-mdc-tab-header .mat-mdc-tab:not(.mdc-tab--active) .mdc-tab__text-label{color:var(--mat-tab-header-with-background-foreground-color)}.mat-mdc-tab-group.mat-tabs-with-background:not(.mat-primary)>.mat-mdc-tab-header .mat-mdc-tab:not(.mdc-tab--active) .mdc-tab-indicator__content--underline{border-color:var(--mat-tab-header-with-background-foreground-color)}.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header .mat-mdc-tab-header-pagination-chevron,.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header .mat-mdc-focus-indicator::before,.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header-pagination .mat-mdc-tab-header-pagination-chevron,.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header-pagination .mat-mdc-focus-indicator::before{border-color:var(--mat-tab-header-with-background-foreground-color)}.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header .mat-ripple-element,.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header .mdc-tab__ripple::before,.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header-pagination .mat-ripple-element,.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header-pagination .mdc-tab__ripple::before{background-color:var(--mat-tab-header-with-background-foreground-color)}.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header .mat-mdc-tab-header-pagination-chevron,.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header-pagination .mat-mdc-tab-header-pagination-chevron{color:var(--mat-tab-header-with-background-foreground-color)}.mat-mdc-tab-group.mat-mdc-tab-group-inverted-header{flex-direction:column-reverse}.mat-mdc-tab-group.mat-mdc-tab-group-inverted-header .mdc-tab-indicator__content--underline{align-self:flex-start}.mat-mdc-tab-body-wrapper{position:relative;overflow:hidden;display:flex;transition:height 500ms cubic-bezier(0.35, 0, 0.25, 1)}.mat-mdc-tab-body-wrapper._mat-animation-noopable{transition:none !important;animation:none !important}'],encapsulation:2})}return at})();class Ie{}let Pt=(()=>{class at{static#e=this.\u0275fac=function(ke){return new(ke||at)};static#t=this.\u0275mod=l.oAB({type:at});static#n=this.\u0275inj=l.cJS({imports:[n.ez,w.BQ,E.eL,w.si,H.Q8,Q.rt,w.BQ]})}return at})()},2596:(_t,Me,p)=>{p.d(Me,{AV:()=>ae,gM:()=>Xe});var n=p(9773),l=p(8180),w=p(2495),E=p(6028),H=p(5879),Q=p(6814),ne=p(2831),we=p(4300),ie=p(9388),J=p(3651),xe=p(6672),fe=p(8484),ce=p(8645),Ae=(p(6825),p(3680));const Le=["tooltip"],ze=new H.OlP("mat-tooltip-scroll-strategy"),N={provide:ze,deps:[J.aV],useFactory:function oe(B){return()=>B.scrollStrategies.reposition({scrollThrottle:20})}},K=new H.OlP("mat-tooltip-default-options",{providedIn:"root",factory:function Ce(){return{showDelay:0,hideDelay:0,touchendHideDelay:1500}}}),ye="tooltip-panel",He=(0,ne.i$)({passive:!0});let sn=(()=>{class B{get position(){return this._position}set position(L){L!==this._position&&(this._position=L,this._overlayRef&&(this._updatePosition(this._overlayRef),this._tooltipInstance?.show(0),this._overlayRef.updatePosition()))}get positionAtOrigin(){return this._positionAtOrigin}set positionAtOrigin(L){this._positionAtOrigin=(0,w.Ig)(L),this._detach(),this._overlayRef=null}get disabled(){return this._disabled}set disabled(L){this._disabled=(0,w.Ig)(L),this._disabled?this.hide(0):this._setupPointerEnterEventsIfNeeded()}get showDelay(){return this._showDelay}set showDelay(L){this._showDelay=(0,w.su)(L)}get hideDelay(){return this._hideDelay}set hideDelay(L){this._hideDelay=(0,w.su)(L),this._tooltipInstance&&(this._tooltipInstance._mouseLeaveHideDelay=this._hideDelay)}get message(){return this._message}set message(L){this._ariaDescriber.removeDescription(this._elementRef.nativeElement,this._message,"tooltip"),this._message=null!=L?String(L).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(L){this._tooltipClass=L,this._tooltipInstance&&this._setTooltipClass(this._tooltipClass)}constructor(L,V,Pe,re,je,et,st,nt,Bt,Je,bt,Oe){this._overlay=L,this._elementRef=V,this._scrollDispatcher=Pe,this._viewContainerRef=re,this._ngZone=je,this._platform=et,this._ariaDescriber=st,this._focusMonitor=nt,this._dir=Je,this._defaultOptions=bt,this._position="below",this._positionAtOrigin=!1,this._disabled=!1,this._viewInitialized=!1,this._pointerExitEventsInitialized=!1,this._viewportMargin=8,this._cssClassPrefix="mat",this.touchGestures="auto",this._message="",this._passiveListeners=[],this._destroyed=new ce.x,this._scrollStrategy=Bt,this._document=Oe,bt&&(this._showDelay=bt.showDelay,this._hideDelay=bt.hideDelay,bt.position&&(this.position=bt.position),bt.positionAtOrigin&&(this.positionAtOrigin=bt.positionAtOrigin),bt.touchGestures&&(this.touchGestures=bt.touchGestures)),Je.change.pipe((0,n.R)(this._destroyed)).subscribe(()=>{this._overlayRef&&this._updatePosition(this._overlayRef)})}ngAfterViewInit(){this._viewInitialized=!0,this._setupPointerEnterEventsIfNeeded(),this._focusMonitor.monitor(this._elementRef).pipe((0,n.R)(this._destroyed)).subscribe(L=>{L?"keyboard"===L&&this._ngZone.run(()=>this.show()):this._ngZone.run(()=>this.hide(0))})}ngOnDestroy(){const L=this._elementRef.nativeElement;clearTimeout(this._touchstartTimeout),this._overlayRef&&(this._overlayRef.dispose(),this._tooltipInstance=null),this._passiveListeners.forEach(([V,Pe])=>{L.removeEventListener(V,Pe,He)}),this._passiveListeners.length=0,this._destroyed.next(),this._destroyed.complete(),this._ariaDescriber.removeDescription(L,this.message,"tooltip"),this._focusMonitor.stopMonitoring(L)}show(L=this.showDelay,V){if(this.disabled||!this.message||this._isTooltipVisible())return void this._tooltipInstance?._cancelPendingAnimations();const Pe=this._createOverlay(V);this._detach(),this._portal=this._portal||new fe.C5(this._tooltipComponent,this._viewContainerRef);const re=this._tooltipInstance=Pe.attach(this._portal).instance;re._triggerElement=this._elementRef.nativeElement,re._mouseLeaveHideDelay=this._hideDelay,re.afterHidden().pipe((0,n.R)(this._destroyed)).subscribe(()=>this._detach()),this._setTooltipClass(this._tooltipClass),this._updateTooltipMessage(),re.show(L)}hide(L=this.hideDelay){const V=this._tooltipInstance;V&&(V.isVisible()?V.hide(L):(V._cancelPendingAnimations(),this._detach()))}toggle(L){this._isTooltipVisible()?this.hide():this.show(void 0,L)}_isTooltipVisible(){return!!this._tooltipInstance&&this._tooltipInstance.isVisible()}_createOverlay(L){if(this._overlayRef){const re=this._overlayRef.getConfig().positionStrategy;if((!this.positionAtOrigin||!L)&&re._origin instanceof H.SBq)return this._overlayRef;this._detach()}const V=this._scrollDispatcher.getAncestorScrollContainers(this._elementRef),Pe=this._overlay.position().flexibleConnectedTo(this.positionAtOrigin&&L||this._elementRef).withTransformOriginOn(`.${this._cssClassPrefix}-tooltip`).withFlexibleDimensions(!1).withViewportMargin(this._viewportMargin).withScrollableContainers(V);return Pe.positionChanges.pipe((0,n.R)(this._destroyed)).subscribe(re=>{this._updateCurrentPositionClass(re.connectionPair),this._tooltipInstance&&re.scrollableViewProperties.isOverlayClipped&&this._tooltipInstance.isVisible()&&this._ngZone.run(()=>this.hide(0))}),this._overlayRef=this._overlay.create({direction:this._dir,positionStrategy:Pe,panelClass:`${this._cssClassPrefix}-${ye}`,scrollStrategy:this._scrollStrategy()}),this._updatePosition(this._overlayRef),this._overlayRef.detachments().pipe((0,n.R)(this._destroyed)).subscribe(()=>this._detach()),this._overlayRef.outsidePointerEvents().pipe((0,n.R)(this._destroyed)).subscribe(()=>this._tooltipInstance?._handleBodyInteraction()),this._overlayRef.keydownEvents().pipe((0,n.R)(this._destroyed)).subscribe(re=>{this._isTooltipVisible()&&re.keyCode===E.hY&&!(0,E.Vb)(re)&&(re.preventDefault(),re.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(L){const V=L.getConfig().positionStrategy,Pe=this._getOrigin(),re=this._getOverlayPosition();V.withPositions([this._addOffset({...Pe.main,...re.main}),this._addOffset({...Pe.fallback,...re.fallback})])}_addOffset(L){return L}_getOrigin(){const L=!this._dir||"ltr"==this._dir.value,V=this.position;let Pe;"above"==V||"below"==V?Pe={originX:"center",originY:"above"==V?"top":"bottom"}:"before"==V||"left"==V&&L||"right"==V&&!L?Pe={originX:"start",originY:"center"}:("after"==V||"right"==V&&L||"left"==V&&!L)&&(Pe={originX:"end",originY:"center"});const{x:re,y:je}=this._invertPosition(Pe.originX,Pe.originY);return{main:Pe,fallback:{originX:re,originY:je}}}_getOverlayPosition(){const L=!this._dir||"ltr"==this._dir.value,V=this.position;let Pe;"above"==V?Pe={overlayX:"center",overlayY:"bottom"}:"below"==V?Pe={overlayX:"center",overlayY:"top"}:"before"==V||"left"==V&&L||"right"==V&&!L?Pe={overlayX:"end",overlayY:"center"}:("after"==V||"right"==V&&L||"left"==V&&!L)&&(Pe={overlayX:"start",overlayY:"center"});const{x:re,y:je}=this._invertPosition(Pe.overlayX,Pe.overlayY);return{main:Pe,fallback:{overlayX:re,overlayY:je}}}_updateTooltipMessage(){this._tooltipInstance&&(this._tooltipInstance.message=this.message,this._tooltipInstance._markForCheck(),this._ngZone.onMicrotaskEmpty.pipe((0,l.q)(1),(0,n.R)(this._destroyed)).subscribe(()=>{this._tooltipInstance&&this._overlayRef.updatePosition()}))}_setTooltipClass(L){this._tooltipInstance&&(this._tooltipInstance.tooltipClass=L,this._tooltipInstance._markForCheck())}_invertPosition(L,V){return"above"===this.position||"below"===this.position?"top"===V?V="bottom":"bottom"===V&&(V="top"):"end"===L?L="start":"start"===L&&(L="end"),{x:L,y:V}}_updateCurrentPositionClass(L){const{overlayY:V,originX:Pe,originY:re}=L;let je;if(je="center"===V?this._dir&&"rtl"===this._dir.value?"end"===Pe?"left":"right":"start"===Pe?"left":"right":"bottom"===V&&"top"===re?"above":"below",je!==this._currentPosition){const et=this._overlayRef;if(et){const st=`${this._cssClassPrefix}-${ye}-`;et.removePanelClass(st+this._currentPosition),et.addPanelClass(st+je)}this._currentPosition=je}}_setupPointerEnterEventsIfNeeded(){this._disabled||!this.message||!this._viewInitialized||this._passiveListeners.length||(this._platformSupportsMouseEvents()?this._passiveListeners.push(["mouseenter",L=>{let V;this._setupPointerExitEventsIfNeeded(),void 0!==L.x&&void 0!==L.y&&(V=L),this.show(void 0,V)}]):"off"!==this.touchGestures&&(this._disableNativeGesturesIfNecessary(),this._passiveListeners.push(["touchstart",L=>{const V=L.targetTouches?.[0],Pe=V?{x:V.clientX,y:V.clientY}:void 0;this._setupPointerExitEventsIfNeeded(),clearTimeout(this._touchstartTimeout),this._touchstartTimeout=setTimeout(()=>this.show(void 0,Pe),500)}])),this._addListeners(this._passiveListeners))}_setupPointerExitEventsIfNeeded(){if(this._pointerExitEventsInitialized)return;this._pointerExitEventsInitialized=!0;const L=[];if(this._platformSupportsMouseEvents())L.push(["mouseleave",V=>{const Pe=V.relatedTarget;(!Pe||!this._overlayRef?.overlayElement.contains(Pe))&&this.hide()}],["wheel",V=>this._wheelListener(V)]);else if("off"!==this.touchGestures){this._disableNativeGesturesIfNecessary();const V=()=>{clearTimeout(this._touchstartTimeout),this.hide(this._defaultOptions.touchendHideDelay)};L.push(["touchend",V],["touchcancel",V])}this._addListeners(L),this._passiveListeners.push(...L)}_addListeners(L){L.forEach(([V,Pe])=>{this._elementRef.nativeElement.addEventListener(V,Pe,He)})}_platformSupportsMouseEvents(){return!this._platform.IOS&&!this._platform.ANDROID}_wheelListener(L){if(this._isTooltipVisible()){const V=this._document.elementFromPoint(L.clientX,L.clientY),Pe=this._elementRef.nativeElement;V!==Pe&&!Pe.contains(V)&&this.hide()}}_disableNativeGesturesIfNecessary(){const L=this.touchGestures;if("off"!==L){const V=this._elementRef.nativeElement,Pe=V.style;("on"===L||"INPUT"!==V.nodeName&&"TEXTAREA"!==V.nodeName)&&(Pe.userSelect=Pe.msUserSelect=Pe.webkitUserSelect=Pe.MozUserSelect="none"),("on"===L||!V.draggable)&&(Pe.webkitUserDrag="none"),Pe.touchAction="none",Pe.webkitTapHighlightColor="transparent"}}static#e=this.\u0275fac=function(V){H.$Z()};static#t=this.\u0275dir=H.lG2({type:B,inputs:{position:["matTooltipPosition","position"],positionAtOrigin:["matTooltipPositionAtOrigin","positionAtOrigin"],disabled:["matTooltipDisabled","disabled"],showDelay:["matTooltipShowDelay","showDelay"],hideDelay:["matTooltipHideDelay","hideDelay"],touchGestures:["matTooltipTouchGestures","touchGestures"],message:["matTooltip","message"],tooltipClass:["matTooltipClass","tooltipClass"]}})}return B})(),Xe=(()=>{class B extends sn{constructor(L,V,Pe,re,je,et,st,nt,Bt,Je,bt,Oe){super(L,V,Pe,re,je,et,st,nt,Bt,Je,bt,Oe),this._tooltipComponent=Y,this._cssClassPrefix="mat-mdc",this._viewportMargin=8}_addOffset(L){const Pe=!this._dir||"ltr"==this._dir.value;return"top"===L.originY?L.offsetY=-8:"bottom"===L.originY?L.offsetY=8:"start"===L.originX?L.offsetX=Pe?-8:8:"end"===L.originX&&(L.offsetX=Pe?8:-8),L}static#e=this.\u0275fac=function(V){return new(V||B)(H.Y36(J.aV),H.Y36(H.SBq),H.Y36(xe.mF),H.Y36(H.s_b),H.Y36(H.R0b),H.Y36(ne.t4),H.Y36(we.$s),H.Y36(we.tE),H.Y36(ze),H.Y36(ie.Is,8),H.Y36(K,8),H.Y36(Q.K0))};static#t=this.\u0275dir=H.lG2({type:B,selectors:[["","matTooltip",""]],hostAttrs:[1,"mat-mdc-tooltip-trigger"],hostVars:2,hostBindings:function(V,Pe){2&V&&H.ekj("mat-mdc-tooltip-disabled",Pe.disabled)},exportAs:["matTooltip"],features:[H.qOj]})}return B})(),At=(()=>{class B{constructor(L,V){this._changeDetectorRef=L,this._closeOnInteraction=!1,this._isVisible=!1,this._onHide=new ce.x,this._animationsDisabled="NoopAnimations"===V}show(L){null!=this._hideTimeoutId&&clearTimeout(this._hideTimeoutId),this._showTimeoutId=setTimeout(()=>{this._toggleVisibility(!0),this._showTimeoutId=void 0},L)}hide(L){null!=this._showTimeoutId&&clearTimeout(this._showTimeoutId),this._hideTimeoutId=setTimeout(()=>{this._toggleVisibility(!1),this._hideTimeoutId=void 0},L)}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:L}){(!L||!this._triggerElement.contains(L))&&(this.isVisible()?this.hide(this._mouseLeaveHideDelay):this._finalizeAnimation(!1))}_onShow(){}_handleAnimationEnd({animationName:L}){(L===this._showAnimation||L===this._hideAnimation)&&this._finalizeAnimation(L===this._showAnimation)}_cancelPendingAnimations(){null!=this._showTimeoutId&&clearTimeout(this._showTimeoutId),null!=this._hideTimeoutId&&clearTimeout(this._hideTimeoutId),this._showTimeoutId=this._hideTimeoutId=void 0}_finalizeAnimation(L){L?this._closeOnInteraction=!0:this.isVisible()||this._onHide.next()}_toggleVisibility(L){const V=this._tooltip.nativeElement,Pe=this._showAnimation,re=this._hideAnimation;if(V.classList.remove(L?re:Pe),V.classList.add(L?Pe:re),this._isVisible=L,L&&!this._animationsDisabled&&"function"==typeof getComputedStyle){const je=getComputedStyle(V);("0s"===je.getPropertyValue("animation-duration")||"none"===je.getPropertyValue("animation-name"))&&(this._animationsDisabled=!0)}L&&this._onShow(),this._animationsDisabled&&(V.classList.add("_mat-animation-noopable"),this._finalizeAnimation(L))}static#e=this.\u0275fac=function(V){return new(V||B)(H.Y36(H.sBO),H.Y36(H.QbO,8))};static#t=this.\u0275dir=H.lG2({type:B})}return B})(),Y=(()=>{class B extends At{constructor(L,V,Pe){super(L,Pe),this._elementRef=V,this._isMultiline=!1,this._showAnimation="mat-mdc-tooltip-show",this._hideAnimation="mat-mdc-tooltip-hide"}_onShow(){this._isMultiline=this._isTooltipMultiline(),this._markForCheck()}_isTooltipMultiline(){const L=this._elementRef.nativeElement.getBoundingClientRect();return L.height>24&&L.width>=200}static#e=this.\u0275fac=function(V){return new(V||B)(H.Y36(H.sBO),H.Y36(H.SBq),H.Y36(H.QbO,8))};static#t=this.\u0275cmp=H.Xpm({type:B,selectors:[["mat-tooltip-component"]],viewQuery:function(V,Pe){if(1&V&&H.Gf(Le,7),2&V){let re;H.iGM(re=H.CRH())&&(Pe._tooltip=re.first)}},hostAttrs:["aria-hidden","true"],hostVars:2,hostBindings:function(V,Pe){1&V&&H.NdJ("mouseleave",function(je){return Pe._handleMouseLeave(je)}),2&V&&H.Udp("zoom",Pe.isVisible()?1:null)},features:[H.qOj],decls:4,vars:4,consts:[[1,"mdc-tooltip","mdc-tooltip--shown","mat-mdc-tooltip",3,"ngClass","animationend"],["tooltip",""],[1,"mdc-tooltip__surface","mdc-tooltip__surface-animation"]],template:function(V,Pe){1&V&&(H.TgZ(0,"div",0,1),H.NdJ("animationend",function(je){return Pe._handleAnimationEnd(je)}),H.TgZ(2,"div",2),H._uU(3),H.qZA()()),2&V&&(H.ekj("mdc-tooltip--multiline",Pe._isMultiline),H.Q6J("ngClass",Pe.tooltipClass),H.xp6(3),H.Oqu(Pe.message))},dependencies:[Q.mk],styles:['.mdc-tooltip__surface{word-break:break-all;word-break:var(--mdc-tooltip-word-break, normal);overflow-wrap:anywhere}.mdc-tooltip--showing-transition .mdc-tooltip__surface-animation{transition:opacity 150ms 0ms cubic-bezier(0, 0, 0.2, 1),transform 150ms 0ms cubic-bezier(0, 0, 0.2, 1)}.mdc-tooltip--hide-transition .mdc-tooltip__surface-animation{transition:opacity 75ms 0ms cubic-bezier(0.4, 0, 1, 1)}.mdc-tooltip{position:fixed;display:none;z-index:9}.mdc-tooltip-wrapper--rich{position:relative}.mdc-tooltip--shown,.mdc-tooltip--showing,.mdc-tooltip--hide{display:inline-flex}.mdc-tooltip--shown.mdc-tooltip--rich,.mdc-tooltip--showing.mdc-tooltip--rich,.mdc-tooltip--hide.mdc-tooltip--rich{display:inline-block;left:-320px;position:absolute}.mdc-tooltip__surface{line-height:16px;padding:4px 8px;min-width:40px;max-width:200px;min-height:24px;max-height:40vh;box-sizing:border-box;overflow:hidden;text-align:center}.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}@media screen and (forced-colors: active){.mdc-tooltip__surface::before{border-color:CanvasText}}.mdc-tooltip--rich .mdc-tooltip__surface{align-items:flex-start;display:flex;flex-direction:column;min-height:24px;min-width:40px;max-width:320px;position:relative}.mdc-tooltip--multiline .mdc-tooltip__surface{text-align:left}[dir=rtl] .mdc-tooltip--multiline .mdc-tooltip__surface,.mdc-tooltip--multiline .mdc-tooltip__surface[dir=rtl]{text-align:right}.mdc-tooltip__surface .mdc-tooltip__title{margin:0 8px}.mdc-tooltip__surface .mdc-tooltip__content{max-width:calc(200px - (2 * 8px));margin:8px;text-align:left}[dir=rtl] .mdc-tooltip__surface .mdc-tooltip__content,.mdc-tooltip__surface .mdc-tooltip__content[dir=rtl]{text-align:right}.mdc-tooltip--rich .mdc-tooltip__surface .mdc-tooltip__content{max-width:calc(320px - (2 * 8px));align-self:stretch}.mdc-tooltip__surface .mdc-tooltip__content-link{text-decoration:none}.mdc-tooltip--rich-actions,.mdc-tooltip__content,.mdc-tooltip__title{z-index:1}.mdc-tooltip__surface-animation{opacity:0;transform:scale(0.8);will-change:transform,opacity}.mdc-tooltip--shown .mdc-tooltip__surface-animation{transform:scale(1);opacity:1}.mdc-tooltip--hide .mdc-tooltip__surface-animation{transform:scale(1)}.mdc-tooltip__caret-surface-top,.mdc-tooltip__caret-surface-bottom{position:absolute;height:24px;width:24px;transform:rotate(35deg) skewY(20deg) scaleX(0.9396926208)}.mdc-tooltip__caret-surface-top .mdc-elevation-overlay,.mdc-tooltip__caret-surface-bottom .mdc-elevation-overlay{width:100%;height:100%;top:0;left:0}.mdc-tooltip__caret-surface-bottom{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);outline:1px solid rgba(0,0,0,0);z-index:-1}@media screen and (forced-colors: active){.mdc-tooltip__caret-surface-bottom{outline-color:CanvasText}}.mat-mdc-tooltip{--mdc-plain-tooltip-container-shape:4px;--mdc-plain-tooltip-supporting-text-line-height:16px}.mat-mdc-tooltip .mdc-tooltip__surface{background-color:var(--mdc-plain-tooltip-container-color)}.mat-mdc-tooltip .mdc-tooltip__surface{border-radius:var(--mdc-plain-tooltip-container-shape)}.mat-mdc-tooltip .mdc-tooltip__caret-surface-top,.mat-mdc-tooltip .mdc-tooltip__caret-surface-bottom{border-radius:var(--mdc-plain-tooltip-container-shape)}.mat-mdc-tooltip .mdc-tooltip__surface{color:var(--mdc-plain-tooltip-supporting-text-color)}.mat-mdc-tooltip .mdc-tooltip__surface{font-family:var(--mdc-plain-tooltip-supporting-text-font);line-height:var(--mdc-plain-tooltip-supporting-text-line-height);font-size:var(--mdc-plain-tooltip-supporting-text-size);font-weight:var(--mdc-plain-tooltip-supporting-text-weight);letter-spacing:var(--mdc-plain-tooltip-supporting-text-tracking)}.mat-mdc-tooltip{position:relative;transform:scale(0)}.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-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})}return B})(),ae=(()=>{class B{static#e=this.\u0275fac=function(V){return new(V||B)};static#t=this.\u0275mod=H.oAB({type:B});static#n=this.\u0275inj=H.cJS({providers:[N],imports:[we.rt,Q.ez,J.U8,Ae.BQ,Ae.BQ,xe.ZD]})}return B})()},6593:(_t,Me,p)=>{p.d(Me,{Cg:()=>Se,Dx:()=>fn,H7:()=>pn,se:()=>He});var n=p(5879),l=p(6814);class w extends l.w_{constructor(){super(...arguments),this.supportsDOMEvents=!0}}class E extends w{static makeCurrent(){(0,l.HT)(new E)}onAndCancel(ee,S,W){return ee.addEventListener(S,W),()=>{ee.removeEventListener(S,W)}}dispatchEvent(ee,S){ee.dispatchEvent(S)}remove(ee){ee.parentNode&&ee.parentNode.removeChild(ee)}createElement(ee,S){return(S=S||this.getDefaultDocument()).createElement(ee)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(ee){return ee.nodeType===Node.ELEMENT_NODE}isShadowRoot(ee){return ee instanceof DocumentFragment}getGlobalEventTarget(ee,S){return"window"===S?window:"document"===S?ee:"body"===S?ee.body:null}getBaseHref(ee){const S=function Q(){return H=H||document.querySelector("base"),H?H.getAttribute("href"):null}();return null==S?null:function we(_e){ne=ne||document.createElement("a"),ne.setAttribute("href",_e);const ee=ne.pathname;return"/"===ee.charAt(0)?ee:`/${ee}`}(S)}resetBaseElement(){H=null}getUserAgent(){return window.navigator.userAgent}getCookie(ee){return(0,l.Mx)(document.cookie,ee)}}let ne,H=null,J=(()=>{class _e{build(){return new XMLHttpRequest}static#e=this.\u0275fac=function(W){return new(W||_e)};static#t=this.\u0275prov=n.Yz7({token:_e,factory:_e.\u0275fac})}return _e})();const xe=new n.OlP("EventManagerPlugins");let fe=(()=>{class _e{constructor(S,W){this._zone=W,this._eventNameToPlugin=new Map,S.forEach(Ne=>{Ne.manager=this}),this._plugins=S.slice().reverse()}addEventListener(S,W,Ne){return this._findPluginFor(W).addEventListener(S,W,Ne)}getZone(){return this._zone}_findPluginFor(S){let W=this._eventNameToPlugin.get(S);if(W)return W;if(W=this._plugins.find(yt=>yt.supports(S)),!W)throw new n.vHH(5101,!1);return this._eventNameToPlugin.set(S,W),W}static#e=this.\u0275fac=function(W){return new(W||_e)(n.LFG(xe),n.LFG(n.R0b))};static#t=this.\u0275prov=n.Yz7({token:_e,factory:_e.\u0275fac})}return _e})();class ce{constructor(ee){this._doc=ee}}const De="ng-app-id";let Ae=(()=>{class _e{constructor(S,W,Ne,yt={}){this.doc=S,this.appId=W,this.nonce=Ne,this.platformId=yt,this.styleRef=new Map,this.hostNodes=new Set,this.styleNodesInDOM=this.collectServerRenderedStyles(),this.platformIsServer=(0,l.PM)(yt),this.resetHostNodes()}addStyles(S){for(const W of S)1===this.changeUsageCount(W,1)&&this.onStyleAdded(W)}removeStyles(S){for(const W of S)this.changeUsageCount(W,-1)<=0&&this.onStyleRemoved(W)}ngOnDestroy(){const S=this.styleNodesInDOM;S&&(S.forEach(W=>W.remove()),S.clear());for(const W of this.getAllStyles())this.onStyleRemoved(W);this.resetHostNodes()}addHost(S){this.hostNodes.add(S);for(const W of this.getAllStyles())this.addStyleToHost(S,W)}removeHost(S){this.hostNodes.delete(S)}getAllStyles(){return this.styleRef.keys()}onStyleAdded(S){for(const W of this.hostNodes)this.addStyleToHost(W,S)}onStyleRemoved(S){const W=this.styleRef;W.get(S)?.elements?.forEach(Ne=>Ne.remove()),W.delete(S)}collectServerRenderedStyles(){const S=this.doc.head?.querySelectorAll(`style[${De}="${this.appId}"]`);if(S?.length){const W=new Map;return S.forEach(Ne=>{null!=Ne.textContent&&W.set(Ne.textContent,Ne)}),W}return null}changeUsageCount(S,W){const Ne=this.styleRef;if(Ne.has(S)){const yt=Ne.get(S);return yt.usage+=W,yt.usage}return Ne.set(S,{usage:W,elements:[]}),W}getStyleElement(S,W){const Ne=this.styleNodesInDOM,yt=Ne?.get(W);if(yt?.parentNode===S)return Ne.delete(W),yt.removeAttribute(De),yt;{const Pt=this.doc.createElement("style");return this.nonce&&Pt.setAttribute("nonce",this.nonce),Pt.textContent=W,this.platformIsServer&&Pt.setAttribute(De,this.appId),Pt}}addStyleToHost(S,W){const Ne=this.getStyleElement(S,W);S.appendChild(Ne);const yt=this.styleRef,Pt=yt.get(W)?.elements;Pt?Pt.push(Ne):yt.set(W,{elements:[Ne],usage:1})}resetHostNodes(){const S=this.hostNodes;S.clear(),S.add(this.doc.head)}static#e=this.\u0275fac=function(W){return new(W||_e)(n.LFG(l.K0),n.LFG(n.AFp),n.LFG(n.Ojb,8),n.LFG(n.Lbi))};static#t=this.\u0275prov=n.Yz7({token:_e,factory:_e.\u0275fac})}return _e})();const Le={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/MathML/"},se=/%COMP%/g,Ce=new n.OlP("RemoveStylesOnCompDestroy",{providedIn:"root",factory:()=>!1});function ye(_e,ee){return ee.map(S=>S.replace(se,_e))}let He=(()=>{class _e{constructor(S,W,Ne,yt,Pt,at,wt,de=null){this.eventManager=S,this.sharedStylesHost=W,this.appId=Ne,this.removeStylesOnCompDestroy=yt,this.doc=Pt,this.platformId=at,this.ngZone=wt,this.nonce=de,this.rendererByCompId=new Map,this.platformIsServer=(0,l.PM)(at),this.defaultRenderer=new ft(S,Pt,wt,this.platformIsServer)}createRenderer(S,W){if(!S||!W)return this.defaultRenderer;this.platformIsServer&&W.encapsulation===n.ifc.ShadowDom&&(W={...W,encapsulation:n.ifc.Emulated});const Ne=this.getOrCreateRenderer(S,W);return Ne instanceof Xe?Ne.applyToHost(S):Ne instanceof sn&&Ne.applyStyles(),Ne}getOrCreateRenderer(S,W){const Ne=this.rendererByCompId;let yt=Ne.get(W.id);if(!yt){const Pt=this.doc,at=this.ngZone,wt=this.eventManager,de=this.sharedStylesHost,ke=this.removeStylesOnCompDestroy,Ke=this.platformIsServer;switch(W.encapsulation){case n.ifc.Emulated:yt=new Xe(wt,de,W,this.appId,ke,Pt,at,Ke);break;case n.ifc.ShadowDom:return new It(wt,de,S,W,Pt,at,this.nonce,Ke);default:yt=new sn(wt,de,W,ke,Pt,at,Ke)}Ne.set(W.id,yt)}return yt}ngOnDestroy(){this.rendererByCompId.clear()}static#e=this.\u0275fac=function(W){return new(W||_e)(n.LFG(fe),n.LFG(Ae),n.LFG(n.AFp),n.LFG(Ce),n.LFG(l.K0),n.LFG(n.Lbi),n.LFG(n.R0b),n.LFG(n.Ojb))};static#t=this.\u0275prov=n.Yz7({token:_e,factory:_e.\u0275fac})}return _e})();class ft{constructor(ee,S,W,Ne){this.eventManager=ee,this.doc=S,this.ngZone=W,this.platformIsServer=Ne,this.data=Object.create(null),this.destroyNode=null}destroy(){}createElement(ee,S){return S?this.doc.createElementNS(Le[S]||S,ee):this.doc.createElement(ee)}createComment(ee){return this.doc.createComment(ee)}createText(ee){return this.doc.createTextNode(ee)}appendChild(ee,S){(Ut(ee)?ee.content:ee).appendChild(S)}insertBefore(ee,S,W){ee&&(Ut(ee)?ee.content:ee).insertBefore(S,W)}removeChild(ee,S){ee&&ee.removeChild(S)}selectRootElement(ee,S){let W="string"==typeof ee?this.doc.querySelector(ee):ee;if(!W)throw new n.vHH(-5104,!1);return S||(W.textContent=""),W}parentNode(ee){return ee.parentNode}nextSibling(ee){return ee.nextSibling}setAttribute(ee,S,W,Ne){if(Ne){S=Ne+":"+S;const yt=Le[Ne];yt?ee.setAttributeNS(yt,S,W):ee.setAttribute(S,W)}else ee.setAttribute(S,W)}removeAttribute(ee,S,W){if(W){const Ne=Le[W];Ne?ee.removeAttributeNS(Ne,S):ee.removeAttribute(`${W}:${S}`)}else ee.removeAttribute(S)}addClass(ee,S){ee.classList.add(S)}removeClass(ee,S){ee.classList.remove(S)}setStyle(ee,S,W,Ne){Ne&(n.JOm.DashCase|n.JOm.Important)?ee.style.setProperty(S,W,Ne&n.JOm.Important?"important":""):ee.style[S]=W}removeStyle(ee,S,W){W&n.JOm.DashCase?ee.style.removeProperty(S):ee.style[S]=""}setProperty(ee,S,W){ee[S]=W}setValue(ee,S){ee.nodeValue=S}listen(ee,S,W){if("string"==typeof ee&&!(ee=(0,l.q)().getGlobalEventTarget(this.doc,ee)))throw new Error(`Unsupported event target ${ee} for event ${S}`);return this.eventManager.addEventListener(ee,S,this.decoratePreventDefault(W))}decoratePreventDefault(ee){return S=>{if("__ngUnwrap__"===S)return ee;!1===(this.platformIsServer?this.ngZone.runGuarded(()=>ee(S)):ee(S))&&S.preventDefault()}}}function Ut(_e){return"TEMPLATE"===_e.tagName&&void 0!==_e.content}class It extends ft{constructor(ee,S,W,Ne,yt,Pt,at,wt){super(ee,yt,Pt,wt),this.sharedStylesHost=S,this.hostEl=W,this.shadowRoot=W.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);const de=ye(Ne.id,Ne.styles);for(const ke of de){const Ke=document.createElement("style");at&&Ke.setAttribute("nonce",at),Ke.textContent=ke,this.shadowRoot.appendChild(Ke)}}nodeOrShadowRoot(ee){return ee===this.hostEl?this.shadowRoot:ee}appendChild(ee,S){return super.appendChild(this.nodeOrShadowRoot(ee),S)}insertBefore(ee,S,W){return super.insertBefore(this.nodeOrShadowRoot(ee),S,W)}removeChild(ee,S){return super.removeChild(this.nodeOrShadowRoot(ee),S)}parentNode(ee){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(ee)))}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot)}}class sn extends ft{constructor(ee,S,W,Ne,yt,Pt,at,wt){super(ee,yt,Pt,at),this.sharedStylesHost=S,this.removeStylesOnCompDestroy=Ne,this.styles=wt?ye(wt,W.styles):W.styles}applyStyles(){this.sharedStylesHost.addStyles(this.styles)}destroy(){this.removeStylesOnCompDestroy&&this.sharedStylesHost.removeStyles(this.styles)}}class Xe extends sn{constructor(ee,S,W,Ne,yt,Pt,at,wt){const de=Ne+"-"+W.id;super(ee,S,W,yt,Pt,at,wt,de),this.contentAttr=function K(_e){return"_ngcontent-%COMP%".replace(se,_e)}(de),this.hostAttr=function ve(_e){return"_nghost-%COMP%".replace(se,_e)}(de)}applyToHost(ee){this.applyStyles(),this.setAttribute(ee,this.hostAttr,"")}createElement(ee,S){const W=super.createElement(ee,S);return super.setAttribute(W,this.contentAttr,""),W}}let At=(()=>{class _e extends ce{constructor(S){super(S)}supports(S){return!0}addEventListener(S,W,Ne){return S.addEventListener(W,Ne,!1),()=>this.removeEventListener(S,W,Ne)}removeEventListener(S,W,Ne){return S.removeEventListener(W,Ne)}static#e=this.\u0275fac=function(W){return new(W||_e)(n.LFG(l.K0))};static#t=this.\u0275prov=n.Yz7({token:_e,factory:_e.\u0275fac})}return _e})();const Y=["alt","control","meta","shift"],P={"\b":"Backspace","\t":"Tab","\x7f":"Delete","\x1b":"Escape",Del:"Delete",Esc:"Escape",Left:"ArrowLeft",Right:"ArrowRight",Up:"ArrowUp",Down:"ArrowDown",Menu:"ContextMenu",Scroll:"ScrollLock",Win:"OS"},ae={alt:_e=>_e.altKey,control:_e=>_e.ctrlKey,meta:_e=>_e.metaKey,shift:_e=>_e.shiftKey};let B=(()=>{class _e extends ce{constructor(S){super(S)}supports(S){return null!=_e.parseEventName(S)}addEventListener(S,W,Ne){const yt=_e.parseEventName(W),Pt=_e.eventCallback(yt.fullKey,Ne,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>(0,l.q)().onAndCancel(S,yt.domEventName,Pt))}static parseEventName(S){const W=S.toLowerCase().split("."),Ne=W.shift();if(0===W.length||"keydown"!==Ne&&"keyup"!==Ne)return null;const yt=_e._normalizeKey(W.pop());let Pt="",at=W.indexOf("code");if(at>-1&&(W.splice(at,1),Pt="code."),Y.forEach(de=>{const ke=W.indexOf(de);ke>-1&&(W.splice(ke,1),Pt+=de+".")}),Pt+=yt,0!=W.length||0===yt.length)return null;const wt={};return wt.domEventName=Ne,wt.fullKey=Pt,wt}static matchEventFullKeyCode(S,W){let Ne=P[S.key]||S.key,yt="";return W.indexOf("code.")>-1&&(Ne=S.code,yt="code."),!(null==Ne||!Ne)&&(Ne=Ne.toLowerCase()," "===Ne?Ne="space":"."===Ne&&(Ne="dot"),Y.forEach(Pt=>{Pt!==Ne&&(0,ae[Pt])(S)&&(yt+=Pt+".")}),yt+=Ne,yt===W)}static eventCallback(S,W,Ne){return yt=>{_e.matchEventFullKeyCode(yt,S)&&Ne.runGuarded(()=>W(yt))}}static _normalizeKey(S){return"esc"===S?"escape":S}static#e=this.\u0275fac=function(W){return new(W||_e)(n.LFG(l.K0))};static#t=this.\u0275prov=n.Yz7({token:_e,factory:_e.\u0275fac})}return _e})();function Se(_e,ee){return(0,n.iPO)({rootComponent:_e,...V(ee)})}function V(_e){return{appProviders:[...bt,..._e?.providers??[]],platformProviders:st}}const st=[{provide:n.Lbi,useValue:l.bD},{provide:n.g9A,useValue:function re(){E.makeCurrent()},multi:!0},{provide:l.K0,useFactory:function et(){return(0,n.RDi)(document),document},deps:[]}],bt=[{provide:n.zSh,useValue:"root"},{provide:n.qLn,useFactory:function je(){return new n.qLn},deps:[]},{provide:xe,useClass:At,multi:!0,deps:[l.K0,n.R0b,n.Lbi]},{provide:xe,useClass:B,multi:!0,deps:[l.K0]},He,Ae,fe,{provide:n.FYo,useExisting:He},{provide:l.JF,useClass:J,deps:[]},[]];let fn=(()=>{class _e{constructor(S){this._doc=S}getTitle(){return this._doc.title}setTitle(S){this._doc.title=S||""}static#e=this.\u0275fac=function(W){return new(W||_e)(n.LFG(l.K0))};static#t=this.\u0275prov=n.Yz7({token:_e,factory:function(W){let Ne=null;return Ne=W?new W:function tn(){return new fn((0,n.LFG)(l.K0))}(),Ne},providedIn:"root"})}return _e})();typeof window<"u"&&window;let pn=(()=>{class _e{static#e=this.\u0275fac=function(W){return new(W||_e)};static#t=this.\u0275prov=n.Yz7({token:_e,factory:function(W){let Ne=null;return Ne=W?new(W||_e):n.LFG(yn),Ne},providedIn:"root"})}return _e})(),yn=(()=>{class _e extends pn{constructor(S){super(),this._doc=S}sanitize(S,W){if(null==W)return null;switch(S){case n.q3G.NONE:return W;case n.q3G.HTML:return(0,n.qzn)(W,"HTML")?(0,n.z3N)(W):(0,n.EiD)(this._doc,String(W)).toString();case n.q3G.STYLE:return(0,n.qzn)(W,"Style")?(0,n.z3N)(W):W;case n.q3G.SCRIPT:if((0,n.qzn)(W,"Script"))return(0,n.z3N)(W);throw new n.vHH(5200,!1);case n.q3G.URL:return(0,n.qzn)(W,"URL")?(0,n.z3N)(W):(0,n.mCW)(String(W));case n.q3G.RESOURCE_URL:if((0,n.qzn)(W,"ResourceURL"))return(0,n.z3N)(W);throw new n.vHH(5201,!1);default:throw new n.vHH(5202,!1)}}bypassSecurityTrustHtml(S){return(0,n.JVY)(S)}bypassSecurityTrustStyle(S){return(0,n.L6k)(S)}bypassSecurityTrustScript(S){return(0,n.eBb)(S)}bypassSecurityTrustUrl(S){return(0,n.LAX)(S)}bypassSecurityTrustResourceUrl(S){return(0,n.pB0)(S)}static#e=this.\u0275fac=function(W){return new(W||_e)(n.LFG(l.K0))};static#t=this.\u0275prov=n.Yz7({token:_e,factory:function(W){let Ne=null;return Ne=W?new W:function gn(_e){return new yn(_e.get(l.K0))}(n.LFG(n.zs3)),Ne},providedIn:"root"})}return _e})()},4318:(_t,Me,p)=>{p.d(Me,{YK:()=>qe,zA:()=>li,tf:()=>Et,sj:()=>Tn});var n=p(6814),l=p(5879),w=p(3651),E=p(4300),H=p(8484),Q=p(2296),ne=p(2495),we=p(6028),ie=p(6223),J=p(4516),xe=p(7394),fe=p(2096),ce=p(3019),De=p(8645),Ae=p(9157),Le=p(3680),se=p(8180),ue=p(2181),ze=p(6825);function oe(A,q){(function Ce(A){return"string"==typeof A&&-1!==A.indexOf(".")&&1===parseFloat(A)})(A)&&(A="100%");var x=function K(A){return"string"==typeof A&&-1!==A.indexOf("%")}(A);return A=360===q?A:Math.min(q,Math.max(0,parseFloat(A))),x&&(A=parseInt(String(A*q),10)/100),Math.abs(A-q)<1e-6?1:A=360===q?(A<0?A%q+q:A%q)/parseFloat(String(q)):A%q/parseFloat(String(q))}function N(A){return Math.min(1,Math.max(0,A))}function ve(A){return A=parseFloat(A),(isNaN(A)||A<0||A>1)&&(A=1),A}function ye(A){return A<=1?"".concat(100*Number(A),"%"):A}function He(A){return 1===A.length?"0"+A:String(A)}function ct(A,q,x){A=oe(A,255),q=oe(q,255),x=oe(x,255);var Z=Math.max(A,q,x),he=Math.min(A,q,x),Ze=0,gt=0,Jt=(Z+he)/2;if(Z===he)gt=0,Ze=0;else{var Yt=Z-he;switch(gt=Jt>.5?Yt/(2-Z-he):Yt/(Z+he),Z){case A:Ze=(q-x)/Yt+(q1&&(x-=1),x<1/6?A+6*x*(q-A):x<.5?q:x<2/3?A+(q-A)*(2/3-x)*6:A}function It(A,q,x){A=oe(A,255),q=oe(q,255),x=oe(x,255);var Z=Math.max(A,q,x),he=Math.min(A,q,x),Ze=0,gt=Z,Jt=Z-he,Yt=0===Z?0:Jt/Z;if(Z===he)Ze=0;else{switch(Z){case A:Ze=(q-x)/Jt+(q>16,g:(65280&A)>>8,b:255&A}}(q)),this.originalInput=q;var he=function V(A){var q={r:0,g:0,b:0},x=1,Z=null,he=null,Ze=null,gt=!1,Jt=!1;return"string"==typeof A&&(A=function Bt(A){if(0===(A=A.trim().toLowerCase()).length)return!1;var q=!1;if(L[A])A=L[A],q=!0;else if("transparent"===A)return{r:0,g:0,b:0,a:0,format:"name"};var x=nt.rgb.exec(A);return x?{r:x[1],g:x[2],b:x[3]}:(x=nt.rgba.exec(A))?{r:x[1],g:x[2],b:x[3],a:x[4]}:(x=nt.hsl.exec(A))?{h:x[1],s:x[2],l:x[3]}:(x=nt.hsla.exec(A))?{h:x[1],s:x[2],l:x[3],a:x[4]}:(x=nt.hsv.exec(A))?{h:x[1],s:x[2],v:x[3]}:(x=nt.hsva.exec(A))?{h:x[1],s:x[2],v:x[3],a:x[4]}:(x=nt.hex8.exec(A))?{r:B(x[1]),g:B(x[2]),b:B(x[3]),a:ae(x[4]),format:q?"name":"hex8"}:(x=nt.hex6.exec(A))?{r:B(x[1]),g:B(x[2]),b:B(x[3]),format:q?"name":"hex"}:(x=nt.hex4.exec(A))?{r:B(x[1]+x[1]),g:B(x[2]+x[2]),b:B(x[3]+x[3]),a:ae(x[4]+x[4]),format:q?"name":"hex8"}:!!(x=nt.hex3.exec(A))&&{r:B(x[1]+x[1]),g:B(x[2]+x[2]),b:B(x[3]+x[3]),format:q?"name":"hex"}}(A)),"object"==typeof A&&(Je(A.r)&&Je(A.g)&&Je(A.b)?(q=function ft(A,q,x){return{r:255*oe(A,255),g:255*oe(q,255),b:255*oe(x,255)}}(A.r,A.g,A.b),gt=!0,Jt="%"===String(A.r).substr(-1)?"prgb":"rgb"):Je(A.h)&&Je(A.s)&&Je(A.v)?(Z=ye(A.s),he=ye(A.v),q=function sn(A,q,x){A=6*oe(A,360),q=oe(q,100),x=oe(x,100);var Z=Math.floor(A),he=A-Z,Ze=x*(1-q),gt=x*(1-he*q),Jt=x*(1-(1-he)*q),Yt=Z%6;return{r:255*[x,gt,Ze,Ze,Jt,x][Yt],g:255*[Jt,x,x,gt,Ze,Ze][Yt],b:255*[Ze,Ze,Jt,x,x,gt][Yt]}}(A.h,Z,he),gt=!0,Jt="hsv"):Je(A.h)&&Je(A.s)&&Je(A.l)&&(Z=ye(A.s),Ze=ye(A.l),q=function Ut(A,q,x){var Z,he,Ze;if(A=oe(A,360),q=oe(q,100),x=oe(x,100),0===q)he=x,Ze=x,Z=x;else{var gt=x<.5?x*(1+q):x+q-x*q,Jt=2*x-gt;Z=xt(Jt,gt,A+1/3),he=xt(Jt,gt,A),Ze=xt(Jt,gt,A-1/3)}return{r:255*Z,g:255*he,b:255*Ze}}(A.h,Z,Ze),gt=!0,Jt="hsl"),Object.prototype.hasOwnProperty.call(A,"a")&&(x=A.a)),x=ve(x),{ok:gt,format:A.format||Jt,r:Math.min(255,Math.max(q.r,0)),g:Math.min(255,Math.max(q.g,0)),b:Math.min(255,Math.max(q.b,0)),a:x}}(q);this.originalInput=q,this.r=he.r,this.g=he.g,this.b=he.b,this.a=he.a,this.roundA=Math.round(100*this.a)/100,this.format=null!==(Z=x.format)&&void 0!==Z?Z:he.format,this.gradientType=x.gradientType,this.r<1&&(this.r=Math.round(this.r)),this.g<1&&(this.g=Math.round(this.g)),this.b<1&&(this.b=Math.round(this.b)),this.isValid=he.ok}return A.prototype.isDark=function(){return this.getBrightness()<128},A.prototype.isLight=function(){return!this.isDark()},A.prototype.getBrightness=function(){var q=this.toRgb();return(299*q.r+587*q.g+114*q.b)/1e3},A.prototype.getLuminance=function(){var q=this.toRgb(),Ze=q.r/255,gt=q.g/255,Jt=q.b/255;return.2126*(Ze<=.03928?Ze/12.92:Math.pow((Ze+.055)/1.055,2.4))+.7152*(gt<=.03928?gt/12.92:Math.pow((gt+.055)/1.055,2.4))+.0722*(Jt<=.03928?Jt/12.92:Math.pow((Jt+.055)/1.055,2.4))},A.prototype.getAlpha=function(){return this.a},A.prototype.setAlpha=function(q){return this.a=ve(q),this.roundA=Math.round(100*this.a)/100,this},A.prototype.isMonochrome=function(){return 0===this.toHsl().s},A.prototype.toHsv=function(){var q=It(this.r,this.g,this.b);return{h:360*q.h,s:q.s,v:q.v,a:this.a}},A.prototype.toHsvString=function(){var q=It(this.r,this.g,this.b),x=Math.round(360*q.h),Z=Math.round(100*q.s),he=Math.round(100*q.v);return 1===this.a?"hsv(".concat(x,", ").concat(Z,"%, ").concat(he,"%)"):"hsva(".concat(x,", ").concat(Z,"%, ").concat(he,"%, ").concat(this.roundA,")")},A.prototype.toHsl=function(){var q=ct(this.r,this.g,this.b);return{h:360*q.h,s:q.s,l:q.l,a:this.a}},A.prototype.toHslString=function(){var q=ct(this.r,this.g,this.b),x=Math.round(360*q.h),Z=Math.round(100*q.s),he=Math.round(100*q.l);return 1===this.a?"hsl(".concat(x,", ").concat(Z,"%, ").concat(he,"%)"):"hsla(".concat(x,", ").concat(Z,"%, ").concat(he,"%, ").concat(this.roundA,")")},A.prototype.toHex=function(q){return void 0===q&&(q=!1),Xe(this.r,this.g,this.b,q)},A.prototype.toHexString=function(q){return void 0===q&&(q=!1),"#"+this.toHex(q)},A.prototype.toHex8=function(q){return void 0===q&&(q=!1),function At(A,q,x,Z,he){var Ze=[He(Math.round(A).toString(16)),He(Math.round(q).toString(16)),He(Math.round(x).toString(16)),He(P(Z))];return he&&Ze[0].startsWith(Ze[0].charAt(1))&&Ze[1].startsWith(Ze[1].charAt(1))&&Ze[2].startsWith(Ze[2].charAt(1))&&Ze[3].startsWith(Ze[3].charAt(1))?Ze[0].charAt(0)+Ze[1].charAt(0)+Ze[2].charAt(0)+Ze[3].charAt(0):Ze.join("")}(this.r,this.g,this.b,this.a,q)},A.prototype.toHex8String=function(q){return void 0===q&&(q=!1),"#"+this.toHex8(q)},A.prototype.toHexShortString=function(q){return void 0===q&&(q=!1),1===this.a?this.toHexString(q):this.toHex8String(q)},A.prototype.toRgb=function(){return{r:Math.round(this.r),g:Math.round(this.g),b:Math.round(this.b),a:this.a}},A.prototype.toRgbString=function(){var q=Math.round(this.r),x=Math.round(this.g),Z=Math.round(this.b);return 1===this.a?"rgb(".concat(q,", ").concat(x,", ").concat(Z,")"):"rgba(".concat(q,", ").concat(x,", ").concat(Z,", ").concat(this.roundA,")")},A.prototype.toPercentageRgb=function(){var q=function(x){return"".concat(Math.round(100*oe(x,255)),"%")};return{r:q(this.r),g:q(this.g),b:q(this.b),a:this.a}},A.prototype.toPercentageRgbString=function(){var q=function(x){return Math.round(100*oe(x,255))};return 1===this.a?"rgb(".concat(q(this.r),"%, ").concat(q(this.g),"%, ").concat(q(this.b),"%)"):"rgba(".concat(q(this.r),"%, ").concat(q(this.g),"%, ").concat(q(this.b),"%, ").concat(this.roundA,")")},A.prototype.toName=function(){if(0===this.a)return"transparent";if(this.a<1)return!1;for(var q="#"+Xe(this.r,this.g,this.b,!1),x=0,Z=Object.entries(L);x=0&&(q.startsWith("hex")||"name"===q)?"name"===q&&0===this.a?this.toName():this.toRgbString():("rgb"===q&&(Z=this.toRgbString()),"prgb"===q&&(Z=this.toPercentageRgbString()),("hex"===q||"hex6"===q)&&(Z=this.toHexString()),"hex3"===q&&(Z=this.toHexString(!0)),"hex4"===q&&(Z=this.toHex8String(!0)),"hex8"===q&&(Z=this.toHex8String()),"name"===q&&(Z=this.toName()),"hsl"===q&&(Z=this.toHslString()),"hsv"===q&&(Z=this.toHsvString()),Z||this.toHexString())},A.prototype.toNumber=function(){return(Math.round(this.r)<<16)+(Math.round(this.g)<<8)+Math.round(this.b)},A.prototype.clone=function(){return new A(this.toString())},A.prototype.lighten=function(q){void 0===q&&(q=10);var x=this.toHsl();return x.l+=q/100,x.l=N(x.l),new A(x)},A.prototype.brighten=function(q){void 0===q&&(q=10);var x=this.toRgb();return x.r=Math.max(0,Math.min(255,x.r-Math.round(-q/100*255))),x.g=Math.max(0,Math.min(255,x.g-Math.round(-q/100*255))),x.b=Math.max(0,Math.min(255,x.b-Math.round(-q/100*255))),new A(x)},A.prototype.darken=function(q){void 0===q&&(q=10);var x=this.toHsl();return x.l-=q/100,x.l=N(x.l),new A(x)},A.prototype.tint=function(q){return void 0===q&&(q=10),this.mix("white",q)},A.prototype.shade=function(q){return void 0===q&&(q=10),this.mix("black",q)},A.prototype.desaturate=function(q){void 0===q&&(q=10);var x=this.toHsl();return x.s-=q/100,x.s=N(x.s),new A(x)},A.prototype.saturate=function(q){void 0===q&&(q=10);var x=this.toHsl();return x.s+=q/100,x.s=N(x.s),new A(x)},A.prototype.greyscale=function(){return this.desaturate(100)},A.prototype.spin=function(q){var x=this.toHsl(),Z=(x.h+q)%360;return x.h=Z<0?360+Z:Z,new A(x)},A.prototype.mix=function(q,x){void 0===x&&(x=50);var Z=this.toRgb(),he=new A(q).toRgb(),Ze=x/100;return new A({r:(he.r-Z.r)*Ze+Z.r,g:(he.g-Z.g)*Ze+Z.g,b:(he.b-Z.b)*Ze+Z.b,a:(he.a-Z.a)*Ze+Z.a})},A.prototype.analogous=function(q,x){void 0===q&&(q=6),void 0===x&&(x=30);var Z=this.toHsl(),he=360/x,Ze=[this];for(Z.h=(Z.h-(he*q>>1)+720)%360;--q;)Z.h=(Z.h+he)%360,Ze.push(new A(Z));return Ze},A.prototype.complement=function(){var q=this.toHsl();return q.h=(q.h+180)%360,new A(q)},A.prototype.monochromatic=function(q){void 0===q&&(q=6);for(var x=this.toHsv(),Z=x.h,he=x.s,Ze=x.v,gt=[],Jt=1/q;q--;)gt.push(new A({h:Z,s:he,v:Ze})),Ze=(Ze+Jt)%1;return gt},A.prototype.splitcomplement=function(){var q=this.toHsl(),x=q.h;return[this,new A({h:(x+72)%360,s:q.s,l:q.l}),new A({h:(x+216)%360,s:q.s,l:q.l})]},A.prototype.onBackground=function(q){var x=this.toRgb(),Z=new A(q).toRgb(),he=x.a+Z.a*(1-x.a);return new A({r:(x.r*x.a+Z.r*Z.a*(1-x.a))/he,g:(x.g*x.a+Z.g*Z.a*(1-x.a))/he,b:(x.b*x.a+Z.b*Z.a*(1-x.a))/he,a:he})},A.prototype.triad=function(){return this.polyad(3)},A.prototype.tetrad=function(){return this.polyad(4)},A.prototype.polyad=function(q){for(var x=this.toHsl(),Z=x.h,he=[this],Ze=360/q,gt=1;gt{class A{white="transparent";size=8;grey="rgba(0,0,0,.08)";boxShadow;borderRadius;gridStyles;ngOnInit(){const x=function Be(A,q,x){const Z=`${A}-${q}-${x}`;if($[Z])return $[Z];const he=function be(A,q,x){if(typeof document>"u")return null;const Z=document.createElement("canvas");Z.width=2*x,Z.height=2*x;const he=Z.getContext("2d");return he?(he.fillStyle=A,he.fillRect(0,0,Z.width,Z.height),he.fillStyle=q,he.fillRect(0,0,x,x),he.translate(x,x),he.fillRect(0,0,x,x),Z.toDataURL()):null}(A,q,x);return he?($[Z]=he,he):null}(this.white,this.grey,this.size);this.gridStyles={borderRadius:this.borderRadius,boxShadow:this.boxShadow,background:`url(${x}) center left`}}static \u0275fac=function(Z){return new(Z||A)};static \u0275cmp=l.Xpm({type:A,selectors:[["color-checkboard"]],inputs:{white:"white",size:"size",grey:"grey",boxShadow:"boxShadow",borderRadius:"borderRadius"},decls:1,vars:1,consts:[[1,"grid",3,"ngStyle"]],template:function(Z,he){1&Z&&l._UZ(0,"div",0),2&Z&&l.Q6J("ngStyle",he.gridStyles)},dependencies:[n.PC],styles:[".grid[_ngcontent-%COMP%]{inset:0;position:absolute}"],changeDetection:0})}return A})(),ht=(()=>{class A{static \u0275fac=function(Z){return new(Z||A)};static \u0275mod=l.oAB({type:A});static \u0275inj=l.cJS({imports:[n.ez]})}return A})(),mt=(()=>{class A{el;coordinatesChange=new De.x;mousechange=new De.x;mouseListening=!1;sub;mousemove(x,Z,he,Ze=!1){this.mouseListening&&(x.preventDefault(),this.mousechange.next({$event:x,x:Z,y:he,isTouch:Ze}))}mouseup(){this.mouseListening=!1}mousedown(x,Z,he,Ze=!1){x.preventDefault(),this.mouseListening=!0,this.mousechange.next({$event:x,x:Z,y:he,isTouch:Ze})}constructor(x){this.el=x}ngOnInit(){this.sub=this.mousechange.pipe((0,vt.x)((x,Z)=>x.x===Z.x&&x.y===Z.y)).subscribe(x=>this.handleChange(x.x,x.y,x.$event,x.isTouch))}ngOnDestroy(){this.sub?.unsubscribe()}handleChange(x,Z,he,Ze){const gt=this.el.nativeElement.clientWidth,Jt=this.el.nativeElement.clientHeight,Yt=x-(this.el.nativeElement.getBoundingClientRect().left+window.pageXOffset);let Hn=Z-this.el.nativeElement.getBoundingClientRect().top;Ze||(Hn-=window.pageYOffset),this.coordinatesChange.next({x,y:Z,top:Hn,left:Yt,containerWidth:gt,containerHeight:Jt,$event:he})}static \u0275fac=function(Z){return new(Z||A)(l.Y36(l.SBq))};static \u0275dir=l.lG2({type:A,selectors:[["","ngx-color-coordinates",""]],hostBindings:function(Z,he){1&Z&&l.NdJ("mousemove",function(gt){return he.mousemove(gt,gt.pageX,gt.pageY)},!1,l.Jf7)("touchmove",function(gt){return he.mousemove(gt,gt.touches[0].clientX,gt.touches[0].clientY,!0)},!1,l.Jf7)("mouseup",function(){return he.mouseup()},!1,l.Jf7)("touchend",function(){return he.mouseup()},!1,l.Jf7)("mousedown",function(gt){return he.mousedown(gt,gt.pageX,gt.pageY)})("touchstart",function(gt){return he.mousedown(gt,gt.touches[0].clientX,gt.touches[0].clientY,!0)})},outputs:{coordinatesChange:"coordinatesChange"}})}return A})(),Mt=(()=>{class A{static \u0275fac=function(Z){return new(Z||A)};static \u0275mod=l.oAB({type:A});static \u0275inj=l.cJS({})}return A})(),ln=(()=>{class A{hsl;rgb;pointer;shadow;radius;direction="horizontal";onChange=new l.vpe;gradient;pointerLeft;pointerTop;ngOnChanges(){"vertical"===this.direction?(this.pointerLeft=0,this.pointerTop=100*this.rgb.a,this.gradient={background:`linear-gradient(to bottom, rgba(${this.rgb.r},${this.rgb.g},${this.rgb.b}, 0) 0%,\n rgba(${this.rgb.r},${this.rgb.g},${this.rgb.b}, 1) 100%)`}):(this.gradient={background:`linear-gradient(to right, rgba(${this.rgb.r},${this.rgb.g},${this.rgb.b}, 0) 0%,\n rgba(${this.rgb.r},${this.rgb.g},${this.rgb.b}, 1) 100%)`},this.pointerLeft=100*this.rgb.a)}handleChange({top:x,left:Z,containerHeight:he,containerWidth:Ze,$event:gt}){let Jt;if("vertical"===this.direction){let Yt;Yt=x<0?0:x>he?1:Math.round(100*x/he)/100,this.hsl.a!==Yt&&(Jt={h:this.hsl.h,s:this.hsl.s,l:this.hsl.l,a:Yt,source:"rgb"})}else{let Yt;Yt=Z<0?0:Z>Ze?1:Math.round(100*Z/Ze)/100,this.hsl.a!==Yt&&(Jt={h:this.hsl.h,s:this.hsl.s,l:this.hsl.l,a:Yt,source:"rgb"})}Jt&&this.onChange.emit({data:Jt,$event:gt})}static \u0275fac=function(Z){return new(Z||A)};static \u0275cmp=l.Xpm({type:A,selectors:[["color-alpha"]],inputs:{hsl:"hsl",rgb:"rgb",pointer:"pointer",shadow:"shadow",radius:"radius",direction:"direction"},outputs:{onChange:"onChange"},features:[l.TTD],decls:7,vars:15,consts:[[1,"alpha"],[1,"alpha-checkboard"],[1,"alpha-gradient",3,"ngStyle"],["ngx-color-coordinates","",3,"coordinatesChange"],[1,"alpha-pointer"],[1,"alpha-slider",3,"ngStyle"]],template:function(Z,he){1&Z&&(l.TgZ(0,"div",0)(1,"div",1),l._UZ(2,"color-checkboard"),l.qZA(),l._UZ(3,"div",2),l.TgZ(4,"div",3),l.NdJ("coordinatesChange",function(gt){return he.handleChange(gt)}),l.TgZ(5,"div",4),l._UZ(6,"div",5),l.qZA()()()),2&Z&&(l.Udp("border-radius",he.radius),l.xp6(3),l.Udp("box-shadow",he.shadow)("border-radius",he.radius),l.Q6J("ngStyle",he.gradient),l.xp6(1),l.Gre("alpha-container color-alpha-",he.direction,""),l.xp6(1),l.Udp("left",he.pointerLeft,"%")("top",he.pointerTop,"%"),l.xp6(1),l.Q6J("ngStyle",he.pointer))},dependencies:[n.PC,lt,mt],styles:[".alpha[_ngcontent-%COMP%]{position:absolute;inset:0}.alpha-checkboard[_ngcontent-%COMP%]{position:absolute;inset:0;overflow:hidden}.alpha-gradient[_ngcontent-%COMP%]{position:absolute;inset:0}.alpha-container[_ngcontent-%COMP%]{position:relative;height:100%;margin:0 3px}.alpha-pointer[_ngcontent-%COMP%]{position:absolute}.alpha-slider[_ngcontent-%COMP%]{width:4px;border-radius:1px;height:8px;box-shadow:0 0 2px #0009;background:#fff;margin-top:1px;transform:translate(-2px)}"],changeDetection:0})}return A})(),Wt=(()=>{class A{static \u0275fac=function(Z){return new(Z||A)};static \u0275mod=l.oAB({type:A});static \u0275inj=l.cJS({imports:[n.ez,ht,Mt]})}return A})();function Kt(A){let x=0,Z=0;return["r","g","b","a","h","s","l","v"].forEach(he=>{A[he]&&(x+=1,isNaN(A[he])||(Z+=1),("s"===he||"l"===he)&&/^\d+%$/.test(A[he])&&(Z+=1))}),x===Z&&A}function $t(A,q,x){const Z=new bt(A.hex?A.hex:A);x&&Z.setAlpha(1);const he=Z.toHsl(),Ze=Z.toHsv(),gt=Z.toRgb(),Jt=Z.toHex();return 0===he.s&&(he.h=q||0,Ze.h=q||0),{hsl:he,hex:"000000"===Jt&&0===gt.a?"transparent":Z.toHexString(),rgb:gt,hsv:Ze,oldHue:A.h||q||he.h,source:A.source}}var pn=function(A){return A.HEX="hex",A.HSL="hsl",A.HSV="hsv",A.RGB="rgb",A}(pn||{});let gn=(()=>{class A{className;mode=pn.HEX;color={h:250,s:.5,l:.2,a:1};colorChange=new l.vpe;onChange=new l.vpe;onChangeComplete=new l.vpe;onSwatchHover=new l.vpe;oldHue;hsl;hsv;rgb;hex;source;currentColor;changes;disableAlpha;_onChangeCompleteSubscription=new xe.w0;_onSwatchHoverSubscription=new xe.w0;ngOnInit(){this.changes=this.onChange.pipe((0,en.b)(100),(0,tn.b)(x=>{switch(this.onChangeComplete.emit(x),this.mode){case pn.HEX:this.colorChange.emit(x.color.hex);break;case pn.HSL:this.colorChange.emit(x.color.hsl);break;case pn.HSV:this.colorChange.emit(x.color.hsv);break;case pn.RGB:this.colorChange.emit(x.color.rgb);break;default:const Z=`The mode '${this.mode}' is not supported`;if((0,l.X6Q)())throw new Error(Z);console.warn(Z)}})).subscribe(),this.setState($t(this.color,0)),this.currentColor=this.hex}ngOnChanges(){this.setState($t(this.color,this.oldHue))}ngOnDestroy(){this.changes?.unsubscribe(),this._onChangeCompleteSubscription?.unsubscribe(),this._onSwatchHoverSubscription?.unsubscribe()}setState(x){this.oldHue=x.oldHue,this.hsl=x.hsl,this.hsv=x.hsv,this.rgb=x.rgb,this.hex=x.hex,this.source=x.source,this.afterValidChange()}handleChange(x,Z){if(Kt(x)){const Ze=$t(x,x.h||this.oldHue,this.disableAlpha);this.setState(Ze),this.onChange.emit({color:Ze,$event:Z}),this.afterValidChange()}}afterValidChange(){}handleSwatchHover(x,Z){if(Kt(x)){const Ze=$t(x,x.h||this.oldHue);this.setState(Ze),this.onSwatchHover.emit({color:Ze,$event:Z})}}registerOnChange(x){this._onChangeCompleteSubscription.add(this.onChangeComplete.pipe((0,tn.b)(Z=>x(Z.color.hex))).subscribe())}registerOnTouched(x){this._onSwatchHoverSubscription.add(this.onSwatchHover.pipe((0,tn.b)(()=>x())).subscribe())}setDisabledState(x){}writeValue(x){this.color=x}static \u0275fac=function(Z){return new(Z||A)};static \u0275cmp=l.Xpm({type:A,selectors:[["color-wrap"]],inputs:{className:"className",mode:"mode",color:"color"},outputs:{colorChange:"colorChange",onChange:"onChange",onChangeComplete:"onChangeComplete",onSwatchHover:"onSwatchHover"},features:[l._Bn([{provide:ie.JU,useExisting:(0,l.Gpc)(()=>A),multi:!0}]),l.TTD],decls:0,vars:0,template:function(Z,he){},encapsulation:2})}return A})(),kn=0,ut=(()=>{class A{style;label;value;arrowOffset;dragLabel;dragMax;placeholder="";onChange=new l.vpe;currentValue;blurValue;wrapStyle;inputStyle;labelStyle;focus=!1;mousemove;mouseup;uniqueId="editableInput-"+ ++kn;ngOnInit(){this.wrapStyle=this.style&&this.style.wrap?this.style.wrap:{},this.inputStyle=this.style&&this.style.input?this.style.input:{},this.labelStyle=this.style&&this.style.label?this.style.label:{},this.dragLabel&&(this.labelStyle.cursor="ew-resize")}handleFocus(x){this.focus=!0}handleFocusOut(x){this.focus=!1,this.currentValue=this.blurValue}handleKeydown(x){const Z=String(x.target.value),he=Z.indexOf("%")>-1,Ze=Number(Z.replace(/%/g,""));if(isNaN(Ze))return;const gt=this.arrowOffset||1;38===x.keyCode&&(this.onChange.emit(this.label?{data:{[this.label]:Ze+gt},$event:x}:{data:Ze+gt,$event:x}),this.currentValue=he?`${Ze+gt}%`:Ze+gt),40===x.keyCode&&(this.onChange.emit(this.label?{data:{[this.label]:Ze-gt},$event:x}:{data:Ze-gt,$event:x}),this.currentValue=he?Ze-gt+"%":Ze-gt)}handleKeyup(x){40===x.keyCode||38===x.keyCode||`${this.currentValue}`!==x.target.value&&this.onChange.emit(this.label?{data:{[this.label]:x.target.value},$event:x}:{data:x.target.value,$event:x})}ngOnChanges(){this.focus||(this.currentValue=String(this.value).toUpperCase()),this.blurValue=String(this.value).toUpperCase()}ngOnDestroy(){this.unsubscribe()}subscribe(){this.mousemove=(0,rt.R)(document,"mousemove").subscribe(x=>this.handleDrag(x)),this.mouseup=(0,rt.R)(document,"mouseup").subscribe(()=>this.unsubscribe())}unsubscribe(){this.mousemove?.unsubscribe(),this.mouseup?.unsubscribe()}handleMousedown(x){this.dragLabel&&(x.preventDefault(),this.handleDrag(x),this.subscribe())}handleDrag(x){if(this.dragLabel){const Z=Math.round(this.value+x.movementX);Z>=0&&Z<=this.dragMax&&this.onChange.emit({data:{[this.label]:Z},$event:x})}}static \u0275fac=function(Z){return new(Z||A)};static \u0275cmp=l.Xpm({type:A,selectors:[["color-editable-input"]],inputs:{style:"style",label:"label",value:"value",arrowOffset:"arrowOffset",dragLabel:"dragLabel",dragMax:"dragMax",placeholder:"placeholder"},outputs:{onChange:"onChange"},features:[l.TTD],decls:3,vars:6,consts:[[1,"wrap",3,"ngStyle"],["spellCheck","false",3,"ngStyle","value","placeholder","keydown","keyup","focus","focusout"],[3,"id","ngStyle","mousedown",4,"ngIf"],[3,"id","ngStyle","mousedown"]],template:function(Z,he){1&Z&&(l.TgZ(0,"div",0)(1,"input",1),l.NdJ("keydown",function(gt){return he.handleKeydown(gt)})("keyup",function(gt){return he.handleKeyup(gt)})("focus",function(gt){return he.handleFocus(gt)})("focusout",function(gt){return he.handleFocusOut(gt)}),l.qZA(),l.YNc(2,fn,2,3,"span",2),l.qZA()),2&Z&&(l.Q6J("ngStyle",he.wrapStyle),l.xp6(1),l.Q6J("ngStyle",he.inputStyle)("value",he.currentValue)("placeholder",he.placeholder),l.uIk("aria-labelledby",he.uniqueId),l.xp6(1),l.Q6J("ngIf",he.label))},dependencies:[n.O5,n.PC],styles:["[_nghost-%COMP%]{display:flex}.wrap[_ngcontent-%COMP%]{position:relative}"],changeDetection:0})}return A})(),me=(()=>{class A{static \u0275fac=function(Z){return new(Z||A)};static \u0275mod=l.oAB({type:A});static \u0275inj=l.cJS({imports:[n.ez]})}return A})(),le=(()=>{class A{hsl;pointer;radius;shadow;hidePointer=!1;direction="horizontal";onChange=new l.vpe;left="0px";top="";ngOnChanges(){"horizontal"===this.direction?this.left=100*this.hsl.h/360+"%":this.top=-100*this.hsl.h/360+100+"%"}handleChange({top:x,left:Z,containerHeight:he,containerWidth:Ze,$event:gt}){let Jt;if("vertical"===this.direction){let Yt;Yt=x<0?359:x>he?0:360*(-100*x/he+100)/100,this.hsl.h!==Yt&&(Jt={h:Yt,s:this.hsl.s,l:this.hsl.l,a:this.hsl.a,source:"rgb"})}else{let Yt;Yt=Z<0?0:Z>Ze?359:100*Z/Ze*360/100,this.hsl.h!==Yt&&(Jt={h:Yt,s:this.hsl.s,l:this.hsl.l,a:this.hsl.a,source:"rgb"})}Jt&&this.onChange.emit({data:Jt,$event:gt})}static \u0275fac=function(Z){return new(Z||A)};static \u0275cmp=l.Xpm({type:A,selectors:[["color-hue"]],inputs:{hsl:"hsl",pointer:"pointer",radius:"radius",shadow:"shadow",hidePointer:"hidePointer",direction:"direction"},outputs:{onChange:"onChange"},features:[l.TTD],decls:3,vars:8,consts:[["ngx-color-coordinates","",1,"color-hue-container",3,"coordinatesChange"],["class","color-hue-pointer",3,"left","top",4,"ngIf"],[1,"color-hue-pointer"],[1,"color-hue-slider",3,"ngStyle"]],template:function(Z,he){1&Z&&(l.TgZ(0,"div")(1,"div",0),l.NdJ("coordinatesChange",function(gt){return he.handleChange(gt)}),l.YNc(2,Zt,2,5,"div",1),l.qZA()()),2&Z&&(l.Gre("color-hue color-hue-",he.direction,""),l.Udp("border-radius",he.radius,"px")("box-shadow",he.shadow),l.xp6(2),l.Q6J("ngIf",!he.hidePointer))},dependencies:[n.O5,n.PC,mt],styles:[".color-hue[_ngcontent-%COMP%]{position:absolute;inset:0}.color-hue-container[_ngcontent-%COMP%]{margin:0 2px;position:relative;height:100%}.color-hue-pointer[_ngcontent-%COMP%]{position:absolute}.color-hue-slider[_ngcontent-%COMP%]{margin-top:1px;width:4px;border-radius:1px;height:8px;box-shadow:0 0 2px #0009;background:#fff;transform:translate(-2px)}.color-hue-horizontal[_ngcontent-%COMP%]{background:linear-gradient(to right,#f00 0%,#ff0 17%,#0f0 33%,#0ff 50%,#00f 67%,#f0f 83%,#f00 100%)}.color-hue-vertical[_ngcontent-%COMP%]{background:linear-gradient(to top,#f00 0%,#ff0 17%,#0f0 33%,#0ff 50%,#00f 67%,#f0f 83%,#f00 100%)}"],changeDetection:0})}return A})(),G=(()=>{class A{static \u0275fac=function(Z){return new(Z||A)};static \u0275mod=l.oAB({type:A});static \u0275inj=l.cJS({imports:[n.ez,Mt]})}return A})(),St=(()=>{class A{hsl;hsv;radius;pointer;circle;onChange=new l.vpe;background;pointerTop;pointerLeft;ngOnChanges(){this.background=`hsl(${this.hsl.h}, 100%, 50%)`,this.pointerTop=-100*this.hsv.v+1+100+"%",this.pointerLeft=100*this.hsv.s+"%"}handleChange({top:x,left:Z,containerHeight:he,containerWidth:Ze,$event:gt}){Z<0?Z=0:Z>Ze?Z=Ze:x<0?x=0:x>he&&(x=he);let Yt=-x/he+1;Yt=Yt>0?Yt:0,Yt=Yt>1?1:Yt,this.onChange.emit({data:{h:this.hsl.h,s:Z/Ze,v:Yt,a:this.hsl.a,source:"hsva"},$event:gt})}static \u0275fac=function(Z){return new(Z||A)};static \u0275cmp=l.Xpm({type:A,selectors:[["color-saturation"]],inputs:{hsl:"hsl",hsv:"hsv",radius:"radius",pointer:"pointer",circle:"circle"},outputs:{onChange:"onChange"},features:[l.TTD],decls:5,vars:8,consts:[["ngx-color-coordinates","",1,"color-saturation",3,"coordinatesChange"],[1,"saturation-white"],[1,"saturation-black"],[1,"saturation-pointer",3,"ngStyle"],[1,"saturation-circle",3,"ngStyle"]],template:function(Z,he){1&Z&&(l.TgZ(0,"div",0),l.NdJ("coordinatesChange",function(gt){return he.handleChange(gt)}),l.TgZ(1,"div",1),l._UZ(2,"div",2),l.TgZ(3,"div",3),l._UZ(4,"div",4),l.qZA()()()),2&Z&&(l.Udp("background",he.background),l.xp6(3),l.Udp("top",he.pointerTop)("left",he.pointerLeft),l.Q6J("ngStyle",he.pointer),l.xp6(1),l.Q6J("ngStyle",he.circle))},dependencies:[n.PC,mt],styles:[".saturation-white[_ngcontent-%COMP%]{background:linear-gradient(to right,#fff,rgba(255,255,255,0));position:absolute;inset:0}.saturation-black[_ngcontent-%COMP%]{background:linear-gradient(to top,#000,rgba(0,0,0,0));position:absolute;inset:0}.color-saturation[_ngcontent-%COMP%]{position:absolute;inset:0}.saturation-pointer[_ngcontent-%COMP%]{position:absolute;cursor:default}.saturation-circle[_ngcontent-%COMP%]{width:4px;height:4px;box-shadow:0 0 0 1.5px #fff,inset 0 0 1px 1px #0000004d,0 0 1px 2px #0006;border-radius:50%;cursor:hand;transform:translate(-2px,-4px)}"],changeDetection:0})}return A})(),_e=(()=>{class A{static \u0275fac=function(Z){return new(Z||A)};static \u0275mod=l.oAB({type:A});static \u0275inj=l.cJS({imports:[n.ez,Mt]})}return A})();const yt=function(A,q){return{input:A,label:q}};function Pt(A,q){if(1&A){const x=l.EpF();l.TgZ(0,"div",11)(1,"color-editable-input",12),l.NdJ("onChange",function(he){l.CHM(x);const Ze=l.oxw();return l.KtG(Ze.handleChange(he))}),l.qZA()()}if(2&A){const x=l.oxw();l.xp6(1),l.Akn(l.WLB(3,yt,x.input,x.label)),l.Q6J("value",x.hex)}}function at(A,q){if(1&A){const x=l.EpF();l.TgZ(0,"color-editable-input",17),l.NdJ("onChange",function(he){l.CHM(x);const Ze=l.oxw(2);return l.KtG(Ze.handleChange(he))}),l.qZA()}if(2&A){const x=l.oxw(2);l.Akn(l.WLB(4,yt,x.input,x.label)),l.Q6J("value",x.rgb.a)("arrowOffset",.01)}}function wt(A,q){if(1&A){const x=l.EpF();l.TgZ(0,"div",11)(1,"color-editable-input",13),l.NdJ("onChange",function(he){l.CHM(x);const Ze=l.oxw();return l.KtG(Ze.handleChange(he))}),l.qZA()(),l.TgZ(2,"div",11)(3,"color-editable-input",14),l.NdJ("onChange",function(he){l.CHM(x);const Ze=l.oxw();return l.KtG(Ze.handleChange(he))}),l.qZA()(),l.TgZ(4,"div",11)(5,"color-editable-input",15),l.NdJ("onChange",function(he){l.CHM(x);const Ze=l.oxw();return l.KtG(Ze.handleChange(he))}),l.qZA()(),l.TgZ(6,"div",11),l.YNc(7,at,1,7,"color-editable-input",16),l.qZA()}if(2&A){const x=l.oxw();l.xp6(1),l.Akn(l.WLB(10,yt,x.input,x.label)),l.Q6J("value",x.rgb.r),l.xp6(2),l.Akn(l.WLB(13,yt,x.input,x.label)),l.Q6J("value",x.rgb.g),l.xp6(2),l.Akn(l.WLB(16,yt,x.input,x.label)),l.Q6J("value",x.rgb.b),l.xp6(2),l.Q6J("ngIf",!x.disableAlpha)}}function de(A,q){if(1&A){const x=l.EpF();l.TgZ(0,"color-editable-input",17),l.NdJ("onChange",function(he){l.CHM(x);const Ze=l.oxw(2);return l.KtG(Ze.handleChange(he))}),l.qZA()}if(2&A){const x=l.oxw(2);l.Akn(l.WLB(4,yt,x.input,x.label)),l.Q6J("value",x.hsl.a)("arrowOffset",.01)}}function ke(A,q){if(1&A){const x=l.EpF();l.TgZ(0,"div",11)(1,"color-editable-input",18),l.NdJ("onChange",function(he){l.CHM(x);const Ze=l.oxw();return l.KtG(Ze.handleChange(he))}),l.qZA()(),l.TgZ(2,"div",11)(3,"color-editable-input",19),l.NdJ("onChange",function(he){l.CHM(x);const Ze=l.oxw();return l.KtG(Ze.handleChange(he))}),l.qZA()(),l.TgZ(4,"div",11)(5,"color-editable-input",20),l.NdJ("onChange",function(he){l.CHM(x);const Ze=l.oxw();return l.KtG(Ze.handleChange(he))}),l.qZA()(),l.TgZ(6,"div",11),l.YNc(7,de,1,7,"color-editable-input",16),l.qZA()}if(2&A){const x=l.oxw();l.xp6(1),l.Akn(l.WLB(10,yt,x.input,x.label)),l.Q6J("value",x.round(x.hsl.h)),l.xp6(2),l.Akn(l.WLB(13,yt,x.input,x.label)),l.Q6J("value",x.round(100*x.hsl.s)+"%"),l.xp6(2),l.Akn(l.WLB(16,yt,x.input,x.label)),l.Q6J("value",x.round(100*x.hsl.l)+"%"),l.xp6(2),l.Q6J("ngIf",!x.disableAlpha)}}function Ke(A,q){if(1&A){const x=l.EpF();l.TgZ(0,"div",12)(1,"color-alpha",13),l.NdJ("onChange",function(he){l.CHM(x);const Ze=l.oxw();return l.KtG(Ze.handleValueChange(he))}),l.qZA()()}if(2&A){const x=l.oxw();l.xp6(1),l.Q6J("radius",2)("rgb",x.rgb)("hsl",x.hsl)("pointer",x.pointer)}}let Ee=(()=>{class A{disableAlpha;hsl;rgb;hex;onChange=new l.vpe;view="";input={fontSize:"11px",color:"#333",width:"100%",borderRadius:"2px",border:"none",boxShadow:"inset 0 0 0 1px #dadada",height:"21px","text-align":"center"};label={"text-transform":"uppercase",fontSize:"11px","line-height":"11px",color:"#969696","text-align":"center",display:"block",marginTop:"12px"};ngOnInit(){1===this.hsl.a&&"hex"!==this.view?this.view="hex":"rgb"!==this.view&&"hsl"!==this.view&&(this.view="rgb")}toggleViews(){"hex"===this.view?this.view="rgb":"rgb"===this.view?this.view="hsl":"hsl"===this.view&&(this.view=1===this.hsl.a?"hex":"rgb")}round(x){return Math.round(x)}handleChange({data:x,$event:Z}){if(x.hex){if(function An(A){return new bt(A).isValid}(x.hex)){const he=new bt(x.hex);this.onChange.emit({data:{hex:this.disableAlpha?he.toHex():he.toHex8(),source:"hex"},$event:Z})}}else if(x.r||x.g||x.b)this.onChange.emit({data:{r:x.r||this.rgb.r,g:x.g||this.rgb.g,b:x.b||this.rgb.b,source:"rgb"},$event:Z});else if(x.a)x.a<0?x.a=0:x.a>1&&(x.a=1),this.disableAlpha&&(x.a=1),this.onChange.emit({data:{h:this.hsl.h,s:this.hsl.s,l:this.hsl.l,a:Math.round(100*x.a)/100,source:"rgb"},$event:Z});else if(x.h||x.s||x.l){const he=x.s&&x.s.replace("%",""),Ze=x.l&&x.l.replace("%","");this.onChange.emit({data:{h:x.h||this.hsl.h,s:Number(he||this.hsl.s),l:Number(Ze||this.hsl.l),source:"hsl"},$event:Z})}}static \u0275fac=function(Z){return new(Z||A)};static \u0275cmp=l.Xpm({type:A,selectors:[["color-chrome-fields"]],inputs:{disableAlpha:"disableAlpha",hsl:"hsl",rgb:"rgb",hex:"hex"},outputs:{onChange:"onChange"},decls:13,vars:3,consts:[[1,"chrome-wrap"],[1,"chrome-fields"],[3,"ngIf"],[1,"chrome-toggle"],[1,"chrome-icon",3,"click"],["icon",""],["viewBox","0 0 24 24",1,"chrome-toggle-svg"],["fill","#333","d","M12,5.83L15.17,9L16.58,7.59L12,3L7.41,7.59L8.83,9L12,5.83Z"],["iconUp",""],["fill","#333","d","M12,18.17L8.83,15L7.42,16.41L12,21L16.59,16.41L15.17,15Z"],["iconDown",""],[1,"chrome-field"],["label","hex",3,"value","onChange"],["label","r",3,"value","onChange"],["label","g",3,"value","onChange"],["label","b",3,"value","onChange"],["label","a",3,"style","value","arrowOffset","onChange",4,"ngIf"],["label","a",3,"value","arrowOffset","onChange"],["label","h",3,"value","onChange"],["label","s",3,"value","onChange"],["label","l",3,"value","onChange"]],template:function(Z,he){1&Z&&(l.TgZ(0,"div",0)(1,"div",1),l.YNc(2,Pt,2,6,"ng-template",2),l.YNc(3,wt,8,19,"ng-template",2),l.YNc(4,ke,8,19,"ng-template",2),l.qZA(),l.TgZ(5,"div",3)(6,"div",4,5),l.NdJ("click",function(){return he.toggleViews()}),l.O4$(),l.TgZ(8,"svg",6),l._UZ(9,"path",7,8)(11,"path",9,10),l.qZA()()()()),2&Z&&(l.xp6(2),l.Q6J("ngIf","hex"===he.view),l.xp6(1),l.Q6J("ngIf","rgb"===he.view),l.xp6(1),l.Q6J("ngIf","hsl"===he.view))},dependencies:[n.O5,ut],styles:[".chrome-wrap[_ngcontent-%COMP%]{padding-top:16px;display:flex}.chrome-fields[_ngcontent-%COMP%]{flex:1;display:flex;margin-left:-6px}.chrome-field[_ngcontent-%COMP%]{padding-left:6px;width:100%}.chrome-toggle[_ngcontent-%COMP%]{width:32px;text-align:right;position:relative}.chrome-icon[_ngcontent-%COMP%]{margin-right:-4px;margin-top:12px;cursor:pointer;position:relative}.chrome-toggle-svg[_ngcontent-%COMP%]{width:24px;height:24px;border:1px transparent solid;border-radius:5px}.chrome-toggle-svg[_ngcontent-%COMP%]:hover{background:#eee}"],changeDetection:0})}return A})(),ge=(()=>{class A extends gn{disableAlpha=!1;circle={width:"12px",height:"12px",borderRadius:"6px",boxShadow:"rgb(255, 255, 255) 0px 0px 0px 1px inset",transform:"translate(-6px, -8px)"};pointer={width:"12px",height:"12px",borderRadius:"6px",transform:"translate(-6px, -2px)",backgroundColor:"rgb(248, 248, 248)",boxShadow:"0 1px 4px 0 rgba(0, 0, 0, 0.37)"};activeBackground;constructor(){super()}afterValidChange(){this.activeBackground=`rgba(${this.rgb.r}, ${this.rgb.g}, ${this.rgb.b}, ${this.disableAlpha?1:this.rgb.a})`}handleValueChange({data:x,$event:Z}){this.handleChange(x,Z)}static \u0275fac=function(Z){return new(Z||A)};static \u0275cmp=l.Xpm({type:A,selectors:[["color-chrome"]],inputs:{disableAlpha:"disableAlpha"},features:[l._Bn([{provide:ie.JU,useExisting:(0,l.Gpc)(()=>A),multi:!0},{provide:gn,useExisting:(0,l.Gpc)(()=>A)}]),l.qOj],decls:14,vars:16,consts:[[1,"saturation"],[3,"hsl","hsv","circle","onChange"],[1,"chrome-body"],[1,"chrome-controls"],[1,"chrome-color"],[1,"chrome-swatch"],[1,"chrome-active"],[1,"chrome-toggles"],[1,"chrome-hue"],[3,"radius","hsl","pointer","onChange"],["class","chrome-alpha",4,"ngIf"],[3,"rgb","hsl","hex","disableAlpha","onChange"],[1,"chrome-alpha"],[3,"radius","rgb","hsl","pointer","onChange"]],template:function(Z,he){1&Z&&(l.TgZ(0,"div")(1,"div",0)(2,"color-saturation",1),l.NdJ("onChange",function(gt){return he.handleValueChange(gt)}),l.qZA()(),l.TgZ(3,"div",2)(4,"div",3)(5,"div",4)(6,"div",5),l._UZ(7,"div",6)(8,"color-checkboard"),l.qZA()(),l.TgZ(9,"div",7)(10,"div",8)(11,"color-hue",9),l.NdJ("onChange",function(gt){return he.handleValueChange(gt)}),l.qZA()(),l.YNc(12,Ke,2,4,"div",10),l.qZA()(),l.TgZ(13,"color-chrome-fields",11),l.NdJ("onChange",function(gt){return he.handleValueChange(gt)}),l.qZA()()()),2&Z&&(l.Gre("chrome-picker ",he.className,""),l.xp6(2),l.Q6J("hsl",he.hsl)("hsv",he.hsv)("circle",he.circle),l.xp6(5),l.Udp("background",he.activeBackground),l.xp6(4),l.Q6J("radius",2)("hsl",he.hsl)("pointer",he.pointer),l.xp6(1),l.Q6J("ngIf",!he.disableAlpha),l.xp6(1),l.Q6J("rgb",he.rgb)("hsl",he.hsl)("hex",he.hex)("disableAlpha",he.disableAlpha))},dependencies:function(){return[n.O5,ln,lt,le,St,Ee]},styles:[".chrome-picker[_ngcontent-%COMP%]{background:#fff;border-radius:2px;box-shadow:0 0 2px #0000004d,0 4px 8px #0000004d;box-sizing:initial;width:225px;font-family:Menlo}.chrome-controls[_ngcontent-%COMP%]{display:flex}.chrome-color[_ngcontent-%COMP%]{width:42px}.chrome-body[_ngcontent-%COMP%]{padding:14px 14px 12px}.chrome-active[_ngcontent-%COMP%]{position:absolute;inset:0;border-radius:20px;box-shadow:inset 0 0 0 1px #0000001a;z-index:2}.chrome-swatch[_ngcontent-%COMP%]{width:28px;height:28px;border-radius:15px;position:relative;overflow:hidden}.saturation[_ngcontent-%COMP%]{width:100%;padding-bottom:55%;position:relative;border-radius:2px 2px 0 0;overflow:hidden}.chrome-toggles[_ngcontent-%COMP%]{flex:1}.chrome-hue[_ngcontent-%COMP%]{height:10px;position:relative;margin-bottom:8px}.chrome-alpha[_ngcontent-%COMP%]{height:10px;position:relative}"],changeDetection:0})}return A})(),Ve=(()=>{class A{static \u0275fac=function(Z){return new(Z||A)};static \u0275mod=l.oAB({type:A});static \u0275inj=l.cJS({imports:[n.ez,Wt,ht,me,G,_e]})}return A})();var dt=p(9388);const Rt=["button"];function Ht(A,q){1&A&&(l.O4$(),l.TgZ(0,"svg",3),l._UZ(1,"path",4),l.qZA())}const Nt=[[["","mtxColorpickerToggleIcon",""]]],nn=["[mtxColorpickerToggleIcon]"];function cn(A,q){}function Ln(A,q){if(1&A){const x=l.EpF();l.TgZ(0,"color-chrome",2),l.NdJ("onChangeComplete",function(he){l.CHM(x);const Ze=l.oxw();return l.KtG(Ze.picker.select(Ze.getColorString(he)))}),l.qZA()}if(2&A){const x=l.oxw();l.Q6J("color",x.picker.selected)}}class jn{constructor(q,x){this.target=q,this.targetElement=x,this.value=this.target.value}}const Xn={provide:ie.JU,useExisting:(0,l.Gpc)(()=>li),multi:!0},zn={provide:ie.Cf,useExisting:(0,l.Gpc)(()=>li),multi:!0};let li=(()=>{class A{set mtxColorpicker(x){x&&(this._picker=x,this._picker.registerInput(this),this._pickerSubscription.unsubscribe(),this._pickerSubscription=this._picker._selectedChanged.subscribe(Z=>{this.value=Z,this._cvaOnChange(Z),this._onTouched(),this.colorInput.emit(new jn(this,this._elementRef.nativeElement)),this.colorChange.emit(new jn(this,this._elementRef.nativeElement))}))}get disabled(){return!!this._disabled}set disabled(x){const Z=(0,ne.Ig)(x),he=this._elementRef.nativeElement;this._disabled!==Z&&(this._disabled=Z,this._disabledChange.emit(Z)),Z&&this._isInitialized&&he.blur&&he.blur()}get value(){return this._value}set value(x){this._value=x,this._formatValue(x),this._valueChange.emit(x)}constructor(x,Z){this._elementRef=x,this._formField=Z,this.format="hex",this.colorChange=new l.vpe,this.colorInput=new l.vpe,this._disabledChange=new l.vpe,this._valueChange=new l.vpe,this._onTouched=()=>{},this._validatorOnChange=()=>{},this._cvaOnChange=()=>{},this._pickerSubscription=xe.w0.EMPTY,this._validator=ie.kI.compose([]),this._lastValueValid=!1}ngAfterViewInit(){this._isInitialized=!0}ngOnDestroy(){this._pickerSubscription.unsubscribe(),this._valueChange.complete(),this._disabledChange.complete()}registerOnValidatorChange(x){this._validatorOnChange=x}validate(x){return this._validator?this._validator(x):null}getPopupConnectionElementRef(){return this.getConnectedOverlayOrigin()}getConnectedOverlayOrigin(){return this._formField?this._formField.getConnectedOverlayOrigin():this._elementRef}getOverlayLabelId(){return this._formField?this._formField.getLabelId():this._elementRef.nativeElement.getAttribute("aria-labelledby")}writeValue(x){this.value=x}registerOnChange(x){this._cvaOnChange=x}registerOnTouched(x){this._onTouched=x}setDisabledState(x){this.disabled=x}_onKeydown(x){this._picker&&x.altKey&&x.keyCode===we.JH&&!this._elementRef.nativeElement.readOnly&&(this._picker.open(),x.preventDefault())}_onBlur(){this.value&&this._formatValue(this.value),this._onTouched()}_onInput(x){const Z=x;this._value=Z,this._cvaOnChange(Z),this._valueChange.emit(Z),this.colorInput.emit(new jn(this,this._elementRef.nativeElement))}_onChange(){this.colorChange.emit(new jn(this,this._elementRef.nativeElement))}getThemePalette(){return this._formField?this._formField.color:void 0}_formatValue(x){this._elementRef.nativeElement.value=x||""}static#e=this.\u0275fac=function(Z){return new(Z||A)(l.Y36(l.SBq),l.Y36(Ae.KE,8))};static#t=this.\u0275dir=l.lG2({type:A,selectors:[["input","mtxColorpicker",""]],hostAttrs:[1,"mtx-colorpicker-input"],hostVars:3,hostBindings:function(Z,he){1&Z&&l.NdJ("input",function(gt){return he._onInput(gt.target.value)})("change",function(){return he._onChange()})("blur",function(){return he._onBlur()})("keydown",function(gt){return he._onKeydown(gt)}),2&Z&&(l.Ikx("disabled",he.disabled),l.uIk("aria-haspopup",he._picker?"dialog":null)("aria-owns",(null==he._picker?null:he._picker.opened)&&he._picker.id||null))},inputs:{mtxColorpicker:"mtxColorpicker",disabled:"disabled",value:"value",format:"format"},outputs:{colorChange:"colorChange",colorInput:"colorInput"},exportAs:["mtxColorpickerInput"],features:[l._Bn([Xn,zn,{provide:J.Jk,useExisting:A}])]})}return A})(),gi=(()=>{class A{static#e=this.\u0275fac=function(Z){return new(Z||A)};static#t=this.\u0275dir=l.lG2({type:A,selectors:[["","mtxColorpickerToggleIcon",""]]})}return A})(),Tn=(()=>{class A{get disabled(){return null==this._disabled&&this.picker?this.picker.disabled:!!this._disabled}set disabled(x){this._disabled=(0,ne.Ig)(x)}constructor(x,Z){this._changeDetectorRef=x,this._stateChanges=xe.w0.EMPTY;const he=Number(Z);this.tabIndex=he||0===he?he:null}ngOnChanges(x){x.picker&&this._watchStateChanges()}ngOnDestroy(){this._stateChanges.unsubscribe()}ngAfterContentInit(){this._watchStateChanges()}_open(x){this.picker&&!this.disabled&&(this.picker.open(),x.stopPropagation())}_watchStateChanges(){const x=this.picker?this.picker._disabledChange:(0,fe.of)(),Z=this.picker&&this.picker.pickerInput?this.picker.pickerInput._disabledChange:(0,fe.of)(),he=this.picker?(0,ce.T)(this.picker.openedStream,this.picker.closedStream):(0,fe.of)();this._stateChanges.unsubscribe(),this._stateChanges=(0,ce.T)(x,Z,he).subscribe(()=>this._changeDetectorRef.markForCheck())}static#e=this.\u0275fac=function(Z){return new(Z||A)(l.Y36(l.sBO),l.$8M("tabindex"))};static#t=this.\u0275cmp=l.Xpm({type:A,selectors:[["mtx-colorpicker-toggle"]],contentQueries:function(Z,he,Ze){if(1&Z&&l.Suo(Ze,gi,5),2&Z){let gt;l.iGM(gt=l.CRH())&&(he._customIcon=gt.first)}},viewQuery:function(Z,he){if(1&Z&&l.Gf(Rt,5),2&Z){let Ze;l.iGM(Ze=l.CRH())&&(he._button=Ze.first)}},hostAttrs:[1,"mtx-colorpicker-toggle"],hostVars:7,hostBindings:function(Z,he){1&Z&&l.NdJ("click",function(gt){return he._open(gt)}),2&Z&&(l.uIk("tabindex",null),l.ekj("mtx-colorpicker-toggle-active",he.picker&&he.picker.opened)("mat-accent",he.picker&&"accent"===he.picker.color)("mat-warn",he.picker&&"warn"===he.picker.color))},inputs:{picker:["for","picker"],tabIndex:"tabIndex",ariaLabel:["aria-label","ariaLabel"],disabled:"disabled",disableRipple:"disableRipple"},exportAs:["mtxColorpickerToggle"],features:[l.TTD],ngContentSelectors:nn,decls:4,vars:6,consts:[["mat-icon-button","","type","button",3,"disabled","disableRipple"],["button",""],["class","mtx-colorpicker-toggle-default-icon","viewBox","0 0 24 24","width","24px","height","24px","fill","currentColor","focusable","false",4,"ngIf"],["viewBox","0 0 24 24","width","24px","height","24px","fill","currentColor","focusable","false",1,"mtx-colorpicker-toggle-default-icon"],["d","M17.5,12A1.5,1.5 0 0,1 16,10.5A1.5,1.5 0 0,1 17.5,9A1.5,1.5 0 0,1 19,10.5A1.5,1.5 0 0,1 17.5,12M14.5,8A1.5,1.5 0 0,1 13,6.5A1.5,1.5 0 0,1 14.5,5A1.5,1.5 0 0,1 16,6.5A1.5,1.5 0 0,1 14.5,8M9.5,8A1.5,1.5 0 0,1 8,6.5A1.5,1.5 0 0,1 9.5,5A1.5,1.5 0 0,1 11,6.5A1.5,1.5 0 0,1 9.5,8M6.5,12A1.5,1.5 0 0,1 5,10.5A1.5,1.5 0 0,1 6.5,9A1.5,1.5 0 0,1 8,10.5A1.5,1.5 0 0,1 6.5,12M12,3A9,9 0 0,0 3,12A9,9 0 0,0 12,21A1.5,1.5 0 0,0 13.5,19.5C13.5,19.11 13.35,18.76 13.11,18.5C12.88,18.23 12.73,17.88 12.73,17.5A1.5,1.5 0 0,1 14.23,16H16A5,5 0 0,0 21,11C21,6.58 16.97,3 12,3Z"]],template:function(Z,he){1&Z&&(l.F$t(Nt),l.TgZ(0,"button",0,1),l.YNc(2,Ht,2,0,"svg",2),l.Hsn(3),l.qZA()),2&Z&&(l.Q6J("disabled",he.disabled)("disableRipple",he.disableRipple),l.uIk("aria-haspopup",he.picker?"dialog":null)("aria-label",he.ariaLabel)("tabindex",he.disabled?-1:he.tabIndex),l.xp6(2),l.Q6J("ngIf",!he._customIcon))},dependencies:[n.O5,Q.RK],styles:[".mtx-colorpicker-toggle{pointer-events:auto;color:var(--mtx-colorpicker-toggle-icon-color)}.mtx-colorpicker-toggle-active{color:var(--mtx-colorpicker-toggle-active-state-icon-color)}.cdk-high-contrast-active .mtx-colorpicker-toggle-default-icon{color:CanvasText}\n"],encapsulation:2,changeDetection:0})}return A})();const Sn={transformPanel:(0,ze.X$)("transformPanel",[(0,ze.eR)("void => enter-dropdown",(0,ze.jt)("120ms cubic-bezier(0, 0, 0.2, 1)",(0,ze.F4)([(0,ze.oB)({opacity:0,transform:"scale(1, 0.8)"}),(0,ze.oB)({opacity:1,transform:"scale(1, 1)"})]))),(0,ze.eR)("* => void",(0,ze.jt)("100ms linear",(0,ze.oB)({opacity:0})))])};let Ci=0;const Ei=new l.OlP("mtx-colorpicker-scroll-strategy"),oi={provide:Ei,deps:[w.aV],useFactory:function Vn(A){return()=>A.scrollStrategies.reposition()}},Qe=(0,Le.pj)(class{constructor(A){this._elementRef=A}});let Dt=(()=>{class A extends Qe{constructor(x,Z){super(x),this._changeDetectorRef=Z,this._animationState="enter-dropdown",this._animationDone=new De.x}_startExitAnimation(){this._animationState="void",this._changeDetectorRef.markForCheck()}ngOnDestroy(){this._animationDone.complete()}getColorString(x){return{hex:1===x.color.rgb.a?x.color.hex:new bt(x.color.rgb).toHex8String(),rgb:new bt(x.color.rgb).toRgbString(),hsl:new bt(x.color.hsl).toHslString(),hsv:new bt(x.color.hsv).toHsvString()}[this.picker.format]}static#e=this.\u0275fac=function(Z){return new(Z||A)(l.Y36(l.SBq),l.Y36(l.sBO))};static#t=this.\u0275cmp=l.Xpm({type:A,selectors:[["mtx-colorpicker-content"]],hostAttrs:[1,"mtx-colorpicker-content"],hostVars:1,hostBindings:function(Z,he){1&Z&&l.WFA("@transformPanel.done",function(){return he._animationDone.next()}),2&Z&&l.d8E("@transformPanel",he._animationState)},inputs:{color:"color"},exportAs:["mtxColorpickerContent"],features:[l.qOj],decls:3,vars:3,consts:[[3,"ngIf","ngIfElse","ngTemplateOutlet"],["default",""],[3,"color","onChangeComplete"]],template:function(Z,he){if(1&Z&&(l.YNc(0,cn,0,0,"ng-template",0),l.YNc(1,Ln,1,1,"ng-template",null,1,l.W1O)),2&Z){const Ze=l.MAs(2);l.Q6J("ngIf",he.picker.content)("ngIfElse",Ze)("ngTemplateOutlet",he.picker.content)}},dependencies:[n.O5,n.tP,ge],styles:[".mtx-colorpicker-content{display:block;border-radius:4px}\n"],encapsulation:2,data:{animation:[Sn.transformPanel]},changeDetection:0})}return A})(),qe=(()=>{class A{get disabled(){return void 0===this._disabled&&this.pickerInput?this.pickerInput.disabled:!!this._disabled}set disabled(x){const Z=(0,ne.Ig)(x);Z!==this._disabled&&(this._disabled=Z,this._disabledChange.next(Z))}get restoreFocus(){return this._restoreFocus}set restoreFocus(x){this._restoreFocus=(0,ne.Ig)(x)}get opened(){return this._opened}set opened(x){(0,ne.Ig)(x)?this.open():this.close()}get color(){return this._color||(this.pickerInput?this.pickerInput.getThemePalette():void 0)}set color(x){this._color=x}get format(){return this._format||this.pickerInput.format}set format(x){this._format=x}get selected(){return this._validSelected}set selected(x){this._validSelected=x}constructor(x,Z,he,Ze,gt,Jt){this._overlay=x,this._ngZone=Z,this._viewContainerRef=he,this._dir=gt,this._document=Jt,this._inputStateChanges=xe.w0.EMPTY,this.openedStream=new l.vpe,this.closedStream=new l.vpe,this.xPosition="start",this.yPosition="below",this._restoreFocus=!0,this._opened=!1,this.id="mtx-colorpicker-"+Ci++,this._validSelected="",this._focusedElementBeforeOpen=null,this._backdropHarnessClass=`${this.id}-backdrop`,this._disabledChange=new De.x,this._selectedChanged=new De.x,this._scrollStrategy=Ze}ngOnChanges(){}ngOnDestroy(){this._destroyOverlay(),this.close(),this._inputStateChanges.unsubscribe(),this._disabledChange.complete()}select(x){this.selected=x,this._selectedChanged.next(x)}registerInput(x){if(this.pickerInput)throw Error("A Colorpicker can only be associated with a single input.");this.pickerInput=x,this._inputStateChanges=x._valueChange.subscribe(Z=>this.selected=Z)}open(){if(!this._opened&&!this.disabled){if(!this.pickerInput)throw Error("Attempted to open an Colorpicker with no associated input.");this._document&&(this._focusedElementBeforeOpen=this._document.activeElement),this._openOverlay(),this._opened=!0,this.openedStream.emit()}}close(){if(!this._opened)return;if(this._componentRef){const Z=this._componentRef.instance;Z._startExitAnimation(),Z._animationDone.pipe((0,se.q)(1)).subscribe(()=>this._destroyOverlay())}const x=()=>{this._opened&&(this._opened=!1,this.closedStream.emit(),this._focusedElementBeforeOpen=null)};this._restoreFocus&&this._focusedElementBeforeOpen&&"function"==typeof this._focusedElementBeforeOpen.focus?(this._focusedElementBeforeOpen.focus(),setTimeout(x)):x()}_forwardContentValues(x){x.picker=this,x.color=this.color}_openOverlay(){this._destroyOverlay();const x=this.pickerInput.getOverlayLabelId(),Z=new H.C5(Dt,this._viewContainerRef),he=this._overlayRef=this._overlay.create(new w.X_({positionStrategy:this._getDropdownStrategy(),hasBackdrop:!0,backdropClass:["mat-overlay-transparent-backdrop",this._backdropHarnessClass],direction:this._dir,scrollStrategy:this._scrollStrategy(),panelClass:"mtx-colorpicker-popup"})),Ze=he.overlayElement;Ze.setAttribute("role","dialog"),x&&Ze.setAttribute("aria-labelledby",x),this._getCloseStream(he).subscribe(gt=>{gt&>.preventDefault(),this.close()}),this._componentRef=he.attach(Z),this._forwardContentValues(this._componentRef.instance),this._ngZone.onStable.pipe((0,se.q)(1)).subscribe(()=>he.updatePosition())}_destroyOverlay(){this._overlayRef&&(this._overlayRef.dispose(),this._overlayRef=this._componentRef=null)}_getDropdownStrategy(){const x=this._overlay.position().flexibleConnectedTo(this.pickerInput.getConnectedOverlayOrigin()).withTransformOriginOn(".mtx-colorpicker-content").withFlexibleDimensions(!1).withViewportMargin(8).withLockedPosition();return this._setConnectedPositions(x)}_setConnectedPositions(x){const Z="end"===this.xPosition?"end":"start",he="start"===Z?"end":"start",Ze="above"===this.yPosition?"bottom":"top",gt="top"===Ze?"bottom":"top";return x.withPositions([{originX:Z,originY:gt,overlayX:Z,overlayY:Ze},{originX:Z,originY:Ze,overlayX:Z,overlayY:gt},{originX:he,originY:gt,overlayX:he,overlayY:Ze},{originX:he,originY:Ze,overlayX:he,overlayY:gt}])}_getCloseStream(x){return(0,ce.T)(x.backdropClick(),x.detachments(),x.keydownEvents().pipe((0,ue.h)(Z=>Z.keyCode===we.hY&&!(0,we.Vb)(Z)||this.pickerInput&&(0,we.Vb)(Z,"altKey")&&Z.keyCode===we.LH)))}static#e=this.\u0275fac=function(Z){return new(Z||A)(l.Y36(w.aV),l.Y36(l.R0b),l.Y36(l.s_b),l.Y36(Ei),l.Y36(dt.Is,8),l.Y36(n.K0,8))};static#t=this.\u0275cmp=l.Xpm({type:A,selectors:[["mtx-colorpicker"]],inputs:{content:"content",disabled:"disabled",xPosition:"xPosition",yPosition:"yPosition",restoreFocus:"restoreFocus",opened:"opened",color:"color",format:"format"},outputs:{openedStream:"opened",closedStream:"closed"},exportAs:["mtxColorpicker"],features:[l.TTD],decls:0,vars:0,template:function(Z,he){},encapsulation:2,changeDetection:0})}return A})(),Et=(()=>{class A{static#e=this.\u0275fac=function(Z){return new(Z||A)};static#t=this.\u0275mod=l.oAB({type:A});static#n=this.\u0275inj=l.cJS({providers:[oi],imports:[n.ez,w.U8,E.rt,H.eL,Q.ot,Ve]})}return A})()},6912:(_t,Me,p)=>{p.d(Me,{zP:()=>Gi,re:()=>Mi,F3:()=>Ji,lJ:()=>fi});var n=p(5879),l=p(6814),w=p(6223),E=p(9773),H=p(9028),Q=p(7921),ne=p(9397),we=p(3620),ie=p(2181),J=p(7398),xe=p(927),fe=p(6410),ce=p(8645),De=p(2438),Ae=p(3019);const Le=["content"],se=["scroll"],ue=["padding"],ze=function(b){return{searchTerm:b}};function oe(b,z){if(1&b&&(n.TgZ(0,"div",6),n.GkF(1,7),n.qZA()),2&b){const h=n.oxw();n.xp6(1),n.Q6J("ngTemplateOutlet",h.headerTemplate)("ngTemplateOutletContext",n.VKq(2,ze,h.filterValue))}}function N(b,z){if(1&b&&(n.TgZ(0,"div",8),n.GkF(1,7),n.qZA()),2&b){const h=n.oxw();n.xp6(1),n.Q6J("ngTemplateOutlet",h.footerTemplate)("ngTemplateOutletContext",n.VKq(2,ze,h.filterValue))}}const Ce=["*"],K=["searchInput"];function ve(b,z){if(1&b){const h=n.EpF();n.TgZ(0,"span",15),n.NdJ("click",function(){n.CHM(h);const T=n.oxw().$implicit,Re=n.oxw(2);return n.KtG(Re.unselect(T))}),n._uU(1,"\xd7"),n.qZA(),n._UZ(2,"span",16)}if(2&b){const h=n.oxw().$implicit,M=n.oxw(2);n.xp6(2),n.Q6J("ngItemLabel",h.label)("escape",M.escapeHTML)}}function ye(b,z){}const He=function(b,z,h){return{item:b,clear:z,label:h}};function ft(b,z){if(1&b&&(n.TgZ(0,"div",12),n.YNc(1,ve,3,2,"ng-template",null,13,n.W1O),n.YNc(3,ye,0,0,"ng-template",14),n.qZA()),2&b){const h=z.$implicit,M=n.MAs(2),T=n.oxw(2);n.ekj("ng-value-disabled",h.disabled),n.xp6(3),n.Q6J("ngTemplateOutlet",T.labelTemplate||M)("ngTemplateOutletContext",n.kEZ(4,He,h.value,T.clearItem,h.label))}}function ct(b,z){if(1&b&&(n.ynx(0),n.YNc(1,ft,4,8,"div",11),n.BQk()),2&b){const h=n.oxw();n.xp6(1),n.Q6J("ngForOf",h.selectedItems)("ngForTrackBy",h.trackByOption)}}function xt(b,z){}const Ut=function(b,z){return{items:b,clear:z}};function It(b,z){if(1&b&&n.YNc(0,xt,0,0,"ng-template",14),2&b){const h=n.oxw();n.Q6J("ngTemplateOutlet",h.multiLabelTemplate)("ngTemplateOutletContext",n.WLB(2,Ut,h.selectedValues,h.clearItem))}}function sn(b,z){1&b&&n._UZ(0,"div",19)}function Xe(b,z){}function At(b,z){if(1&b&&(n.ynx(0),n.YNc(1,sn,1,0,"ng-template",null,17,n.W1O),n.YNc(3,Xe,0,0,"ng-template",18),n.BQk()),2&b){const h=n.MAs(2),M=n.oxw();n.xp6(3),n.Q6J("ngTemplateOutlet",M.loadingSpinnerTemplate||h)}}function Y(b,z){if(1&b&&(n.TgZ(0,"span",20)(1,"span",21),n._uU(2,"\xd7"),n.qZA()()),2&b){const h=n.oxw();n.s9C("title",h.clearAllText)}}function P(b,z){if(1&b&&n._UZ(0,"span",27),2&b){const h=n.oxw().$implicit,M=n.oxw(2);n.Q6J("ngItemLabel",h.label)("escape",M.escapeHTML)}}function ae(b,z){}const B=function(b,z,h,M){return{item:b,item$:z,index:h,searchTerm:M}};function Se(b,z){if(1&b){const h=n.EpF();n.TgZ(0,"div",25),n.NdJ("click",function(){const Re=n.CHM(h).$implicit,Ge=n.oxw(2);return n.KtG(Ge.toggleItem(Re))})("mouseover",function(){const Re=n.CHM(h).$implicit,Ge=n.oxw(2);return n.KtG(Ge.onItemHover(Re))}),n.YNc(1,P,1,2,"ng-template",null,26,n.W1O),n.YNc(3,ae,0,0,"ng-template",14),n.qZA()}if(2&b){const h=z.$implicit,M=n.MAs(2),T=n.oxw(2);n.ekj("ng-option-disabled",h.disabled)("ng-option-selected",h.selected)("ng-optgroup",h.children)("ng-option",!h.children)("ng-option-child",!!h.parent)("ng-option-marked",h===T.itemsList.markedItem),n.uIk("role",h.children?"group":"option")("aria-selected",h.selected)("id",null==h?null:h.htmlId),n.xp6(3),n.Q6J("ngTemplateOutlet",h.children?T.optgroupTemplate||M:T.optionTemplate||M)("ngTemplateOutletContext",n.l5B(17,B,h.value,h,h.index,T.searchTerm))}}function L(b,z){if(1&b&&(n.TgZ(0,"span")(1,"span",30),n._uU(2),n.qZA(),n._uU(3),n.qZA()),2&b){const h=n.oxw(3);n.xp6(2),n.Oqu(h.addTagText),n.xp6(1),n.hij('"',h.searchTerm,'"')}}function V(b,z){}function Pe(b,z){if(1&b){const h=n.EpF();n.TgZ(0,"div",28),n.NdJ("mouseover",function(){n.CHM(h);const T=n.oxw(2);return n.KtG(T.itemsList.unmarkItem())})("click",function(){n.CHM(h);const T=n.oxw(2);return n.KtG(T.selectTag())}),n.YNc(1,L,4,2,"ng-template",null,29,n.W1O),n.YNc(3,V,0,0,"ng-template",14),n.qZA()}if(2&b){const h=n.MAs(2),M=n.oxw(2);n.ekj("ng-option-marked",!M.itemsList.markedItem),n.xp6(3),n.Q6J("ngTemplateOutlet",M.tagTemplate||h)("ngTemplateOutletContext",n.VKq(4,ze,M.searchTerm))}}function re(b,z){if(1&b&&(n.TgZ(0,"div",32),n._uU(1),n.qZA()),2&b){const h=n.oxw(3);n.xp6(1),n.Oqu(h.notFoundText)}}function je(b,z){}function et(b,z){if(1&b&&(n.ynx(0),n.YNc(1,re,2,1,"ng-template",null,31,n.W1O),n.YNc(3,je,0,0,"ng-template",14),n.BQk()),2&b){const h=n.MAs(2),M=n.oxw(2);n.xp6(3),n.Q6J("ngTemplateOutlet",M.notFoundTemplate||h)("ngTemplateOutletContext",n.VKq(2,ze,M.searchTerm))}}function st(b,z){if(1&b&&(n.TgZ(0,"div",32),n._uU(1),n.qZA()),2&b){const h=n.oxw(3);n.xp6(1),n.Oqu(h.typeToSearchText)}}function nt(b,z){}function Bt(b,z){if(1&b&&(n.ynx(0),n.YNc(1,st,2,1,"ng-template",null,33,n.W1O),n.YNc(3,nt,0,0,"ng-template",18),n.BQk()),2&b){const h=n.MAs(2),M=n.oxw(2);n.xp6(3),n.Q6J("ngTemplateOutlet",M.typeToSearchTemplate||h)}}function Je(b,z){if(1&b&&(n.TgZ(0,"div",32),n._uU(1),n.qZA()),2&b){const h=n.oxw(3);n.xp6(1),n.Oqu(h.loadingText)}}function bt(b,z){}function Oe(b,z){if(1&b&&(n.ynx(0),n.YNc(1,Je,2,1,"ng-template",null,34,n.W1O),n.YNc(3,bt,0,0,"ng-template",14),n.BQk()),2&b){const h=n.MAs(2),M=n.oxw(2);n.xp6(3),n.Q6J("ngTemplateOutlet",M.loadingTextTemplate||h)("ngTemplateOutletContext",n.VKq(2,ze,M.searchTerm))}}function rt(b,z){if(1&b){const h=n.EpF();n.TgZ(0,"ng-dropdown-panel",22),n.NdJ("update",function(T){n.CHM(h);const Re=n.oxw();return n.KtG(Re.viewPortItems=T)})("scroll",function(T){n.CHM(h);const Re=n.oxw();return n.KtG(Re.scroll.emit(T))})("scrollToEnd",function(T){n.CHM(h);const Re=n.oxw();return n.KtG(Re.scrollToEnd.emit(T))})("outsideClick",function(){n.CHM(h);const T=n.oxw();return n.KtG(T.close())}),n.ynx(1),n.YNc(2,Se,4,22,"div",23),n.YNc(3,Pe,4,6,"div",24),n.BQk(),n.YNc(4,et,4,4,"ng-container",3),n.YNc(5,Bt,4,1,"ng-container",3),n.YNc(6,Oe,4,4,"ng-container",3),n.qZA()}if(2&b){const h=n.oxw();n.ekj("ng-select-multiple",h.multiple),n.Q6J("virtualScroll",h.virtualScroll)("bufferAmount",h.bufferAmount)("appendTo",h.appendTo)("position",h.dropdownPosition)("headerTemplate",h.headerTemplate)("footerTemplate",h.footerTemplate)("filterValue",h.searchTerm)("items",h.itemsList.filteredItems)("markedItem",h.itemsList.markedItem)("ngClass",h.appendTo?h.classes:null)("id",h.dropdownId),n.xp6(2),n.Q6J("ngForOf",h.viewPortItems)("ngForTrackBy",h.trackByOption),n.xp6(1),n.Q6J("ngIf",h.showAddTag),n.xp6(1),n.Q6J("ngIf",h.showNoItemsFound()),n.xp6(1),n.Q6J("ngIf",h.showTypeToSearch()),n.xp6(1),n.Q6J("ngIf",h.loading&&0===h.itemsList.filteredItems.length)}}const vt=/[&<>"']/g,en=RegExp(vt.source),tn={"&":"&","<":"<",">":">",'"':""","'":"'"};function Zt(b){return null!=b}function Mn(b){return"object"==typeof b&&Zt(b)}function $(b){return b instanceof Function}let be=(()=>{class b{constructor(h){this.element=h,this.escape=!0}ngOnChanges(h){this.element.nativeElement.innerHTML=this.escape?function fn(b){return b&&en.test(b)?b.replace(vt,z=>tn[z]):b}(this.ngItemLabel):this.ngItemLabel}static#e=this.\u0275fac=function(M){return new(M||b)(n.Y36(n.SBq))};static#t=this.\u0275dir=n.lG2({type:b,selectors:[["","ngItemLabel",""]],inputs:{ngItemLabel:"ngItemLabel",escape:"escape"},features:[n.TTD]})}return b})(),Be=(()=>{class b{constructor(h){this.template=h}static#e=this.\u0275fac=function(M){return new(M||b)(n.Y36(n.Rgc))};static#t=this.\u0275dir=n.lG2({type:b,selectors:[["","ng-option-tmp",""]]})}return b})(),lt=(()=>{class b{constructor(h){this.template=h}static#e=this.\u0275fac=function(M){return new(M||b)(n.Y36(n.Rgc))};static#t=this.\u0275dir=n.lG2({type:b,selectors:[["","ng-optgroup-tmp",""]]})}return b})(),ht=(()=>{class b{constructor(h){this.template=h}static#e=this.\u0275fac=function(M){return new(M||b)(n.Y36(n.Rgc))};static#t=this.\u0275dir=n.lG2({type:b,selectors:[["","ng-label-tmp",""]]})}return b})(),mt=(()=>{class b{constructor(h){this.template=h}static#e=this.\u0275fac=function(M){return new(M||b)(n.Y36(n.Rgc))};static#t=this.\u0275dir=n.lG2({type:b,selectors:[["","ng-multi-label-tmp",""]]})}return b})(),Mt=(()=>{class b{constructor(h){this.template=h}static#e=this.\u0275fac=function(M){return new(M||b)(n.Y36(n.Rgc))};static#t=this.\u0275dir=n.lG2({type:b,selectors:[["","ng-header-tmp",""]]})}return b})(),ln=(()=>{class b{constructor(h){this.template=h}static#e=this.\u0275fac=function(M){return new(M||b)(n.Y36(n.Rgc))};static#t=this.\u0275dir=n.lG2({type:b,selectors:[["","ng-footer-tmp",""]]})}return b})(),Wt=(()=>{class b{constructor(h){this.template=h}static#e=this.\u0275fac=function(M){return new(M||b)(n.Y36(n.Rgc))};static#t=this.\u0275dir=n.lG2({type:b,selectors:[["","ng-notfound-tmp",""]]})}return b})(),Kt=(()=>{class b{constructor(h){this.template=h}static#e=this.\u0275fac=function(M){return new(M||b)(n.Y36(n.Rgc))};static#t=this.\u0275dir=n.lG2({type:b,selectors:[["","ng-typetosearch-tmp",""]]})}return b})(),$t=(()=>{class b{constructor(h){this.template=h}static#e=this.\u0275fac=function(M){return new(M||b)(n.Y36(n.Rgc))};static#t=this.\u0275dir=n.lG2({type:b,selectors:[["","ng-loadingtext-tmp",""]]})}return b})(),An=(()=>{class b{constructor(h){this.template=h}static#e=this.\u0275fac=function(M){return new(M||b)(n.Y36(n.Rgc))};static#t=this.\u0275dir=n.lG2({type:b,selectors:[["","ng-tag-tmp",""]]})}return b})(),bn=(()=>{class b{constructor(h){this.template=h}static#e=this.\u0275fac=function(M){return new(M||b)(n.Y36(n.Rgc))};static#t=this.\u0275dir=n.lG2({type:b,selectors:[["","ng-loadingspinner-tmp",""]]})}return b})();function pn(){return"axxxxxxxxxxx".replace(/[x]/g,()=>(16*Math.random()|0).toString(16))}const gn={"\u24b6":"A",\uff21:"A",\u00c0:"A",\u00c1:"A",\u00c2:"A",\u1ea6:"A",\u1ea4:"A",\u1eaa:"A",\u1ea8:"A",\u00c3:"A",\u0100:"A",\u0102:"A",\u1eb0:"A",\u1eae:"A",\u1eb4:"A",\u1eb2:"A",\u0226:"A",\u01e0:"A",\u00c4:"A",\u01de:"A",\u1ea2:"A",\u00c5:"A",\u01fa:"A",\u01cd:"A",\u0200:"A",\u0202:"A",\u1ea0:"A",\u1eac:"A",\u1eb6:"A",\u1e00:"A",\u0104:"A",\u023a:"A",\u2c6f:"A",\ua732:"AA",\u00c6:"AE",\u01fc:"AE",\u01e2:"AE",\ua734:"AO",\ua736:"AU",\ua738:"AV",\ua73a:"AV",\ua73c:"AY","\u24b7":"B",\uff22:"B",\u1e02:"B",\u1e04:"B",\u1e06:"B",\u0243:"B",\u0182:"B",\u0181:"B","\u24b8":"C",\uff23:"C",\u0106:"C",\u0108:"C",\u010a:"C",\u010c:"C",\u00c7:"C",\u1e08:"C",\u0187:"C",\u023b:"C",\ua73e:"C","\u24b9":"D",\uff24:"D",\u1e0a:"D",\u010e:"D",\u1e0c:"D",\u1e10:"D",\u1e12:"D",\u1e0e:"D",\u0110:"D",\u018b:"D",\u018a:"D",\u0189:"D",\ua779:"D",\u01f1:"DZ",\u01c4:"DZ",\u01f2:"Dz",\u01c5:"Dz","\u24ba":"E",\uff25:"E",\u00c8:"E",\u00c9:"E",\u00ca:"E",\u1ec0:"E",\u1ebe:"E",\u1ec4:"E",\u1ec2:"E",\u1ebc:"E",\u0112:"E",\u1e14:"E",\u1e16:"E",\u0114:"E",\u0116:"E",\u00cb:"E",\u1eba:"E",\u011a:"E",\u0204:"E",\u0206:"E",\u1eb8:"E",\u1ec6:"E",\u0228:"E",\u1e1c:"E",\u0118:"E",\u1e18:"E",\u1e1a:"E",\u0190:"E",\u018e:"E","\u24bb":"F",\uff26:"F",\u1e1e:"F",\u0191:"F",\ua77b:"F","\u24bc":"G",\uff27:"G",\u01f4:"G",\u011c:"G",\u1e20:"G",\u011e:"G",\u0120:"G",\u01e6:"G",\u0122:"G",\u01e4:"G",\u0193:"G",\ua7a0:"G",\ua77d:"G",\ua77e:"G","\u24bd":"H",\uff28:"H",\u0124:"H",\u1e22:"H",\u1e26:"H",\u021e:"H",\u1e24:"H",\u1e28:"H",\u1e2a:"H",\u0126:"H",\u2c67:"H",\u2c75:"H",\ua78d:"H","\u24be":"I",\uff29:"I",\u00cc:"I",\u00cd:"I",\u00ce:"I",\u0128:"I",\u012a:"I",\u012c:"I",\u0130:"I",\u00cf:"I",\u1e2e:"I",\u1ec8:"I",\u01cf:"I",\u0208:"I",\u020a:"I",\u1eca:"I",\u012e:"I",\u1e2c:"I",\u0197:"I","\u24bf":"J",\uff2a:"J",\u0134:"J",\u0248:"J","\u24c0":"K",\uff2b:"K",\u1e30:"K",\u01e8:"K",\u1e32:"K",\u0136:"K",\u1e34:"K",\u0198:"K",\u2c69:"K",\ua740:"K",\ua742:"K",\ua744:"K",\ua7a2:"K","\u24c1":"L",\uff2c:"L",\u013f:"L",\u0139:"L",\u013d:"L",\u1e36:"L",\u1e38:"L",\u013b:"L",\u1e3c:"L",\u1e3a:"L",\u0141:"L",\u023d:"L",\u2c62:"L",\u2c60:"L",\ua748:"L",\ua746:"L",\ua780:"L",\u01c7:"LJ",\u01c8:"Lj","\u24c2":"M",\uff2d:"M",\u1e3e:"M",\u1e40:"M",\u1e42:"M",\u2c6e:"M",\u019c:"M","\u24c3":"N",\uff2e:"N",\u01f8:"N",\u0143:"N",\u00d1:"N",\u1e44:"N",\u0147:"N",\u1e46:"N",\u0145:"N",\u1e4a:"N",\u1e48:"N",\u0220:"N",\u019d:"N",\ua790:"N",\ua7a4:"N",\u01ca:"NJ",\u01cb:"Nj","\u24c4":"O",\uff2f:"O",\u00d2:"O",\u00d3:"O",\u00d4:"O",\u1ed2:"O",\u1ed0:"O",\u1ed6:"O",\u1ed4:"O",\u00d5:"O",\u1e4c:"O",\u022c:"O",\u1e4e:"O",\u014c:"O",\u1e50:"O",\u1e52:"O",\u014e:"O",\u022e:"O",\u0230:"O",\u00d6:"O",\u022a:"O",\u1ece:"O",\u0150:"O",\u01d1:"O",\u020c:"O",\u020e:"O",\u01a0:"O",\u1edc:"O",\u1eda:"O",\u1ee0:"O",\u1ede:"O",\u1ee2:"O",\u1ecc:"O",\u1ed8:"O",\u01ea:"O",\u01ec:"O",\u00d8:"O",\u01fe:"O",\u0186:"O",\u019f:"O",\ua74a:"O",\ua74c:"O",\u01a2:"OI",\ua74e:"OO",\u0222:"OU","\u24c5":"P",\uff30:"P",\u1e54:"P",\u1e56:"P",\u01a4:"P",\u2c63:"P",\ua750:"P",\ua752:"P",\ua754:"P","\u24c6":"Q",\uff31:"Q",\ua756:"Q",\ua758:"Q",\u024a:"Q","\u24c7":"R",\uff32:"R",\u0154:"R",\u1e58:"R",\u0158:"R",\u0210:"R",\u0212:"R",\u1e5a:"R",\u1e5c:"R",\u0156:"R",\u1e5e:"R",\u024c:"R",\u2c64:"R",\ua75a:"R",\ua7a6:"R",\ua782:"R","\u24c8":"S",\uff33:"S",\u1e9e:"S",\u015a:"S",\u1e64:"S",\u015c:"S",\u1e60:"S",\u0160:"S",\u1e66:"S",\u1e62:"S",\u1e68:"S",\u0218:"S",\u015e:"S",\u2c7e:"S",\ua7a8:"S",\ua784:"S","\u24c9":"T",\uff34:"T",\u1e6a:"T",\u0164:"T",\u1e6c:"T",\u021a:"T",\u0162:"T",\u1e70:"T",\u1e6e:"T",\u0166:"T",\u01ac:"T",\u01ae:"T",\u023e:"T",\ua786:"T",\ua728:"TZ","\u24ca":"U",\uff35:"U",\u00d9:"U",\u00da:"U",\u00db:"U",\u0168:"U",\u1e78:"U",\u016a:"U",\u1e7a:"U",\u016c:"U",\u00dc:"U",\u01db:"U",\u01d7:"U",\u01d5:"U",\u01d9:"U",\u1ee6:"U",\u016e:"U",\u0170:"U",\u01d3:"U",\u0214:"U",\u0216:"U",\u01af:"U",\u1eea:"U",\u1ee8:"U",\u1eee:"U",\u1eec:"U",\u1ef0:"U",\u1ee4:"U",\u1e72:"U",\u0172:"U",\u1e76:"U",\u1e74:"U",\u0244:"U","\u24cb":"V",\uff36:"V",\u1e7c:"V",\u1e7e:"V",\u01b2:"V",\ua75e:"V",\u0245:"V",\ua760:"VY","\u24cc":"W",\uff37:"W",\u1e80:"W",\u1e82:"W",\u0174:"W",\u1e86:"W",\u1e84:"W",\u1e88:"W",\u2c72:"W","\u24cd":"X",\uff38:"X",\u1e8a:"X",\u1e8c:"X","\u24ce":"Y",\uff39:"Y",\u1ef2:"Y",\u00dd:"Y",\u0176:"Y",\u1ef8:"Y",\u0232:"Y",\u1e8e:"Y",\u0178:"Y",\u1ef6:"Y",\u1ef4:"Y",\u01b3:"Y",\u024e:"Y",\u1efe:"Y","\u24cf":"Z",\uff3a:"Z",\u0179:"Z",\u1e90:"Z",\u017b:"Z",\u017d:"Z",\u1e92:"Z",\u1e94:"Z",\u01b5:"Z",\u0224:"Z",\u2c7f:"Z",\u2c6b:"Z",\ua762:"Z","\u24d0":"a",\uff41:"a",\u1e9a:"a",\u00e0:"a",\u00e1:"a",\u00e2:"a",\u1ea7:"a",\u1ea5:"a",\u1eab:"a",\u1ea9:"a",\u00e3:"a",\u0101:"a",\u0103:"a",\u1eb1:"a",\u1eaf:"a",\u1eb5:"a",\u1eb3:"a",\u0227:"a",\u01e1:"a",\u00e4:"a",\u01df:"a",\u1ea3:"a",\u00e5:"a",\u01fb:"a",\u01ce:"a",\u0201:"a",\u0203:"a",\u1ea1:"a",\u1ead:"a",\u1eb7:"a",\u1e01:"a",\u0105:"a",\u2c65:"a",\u0250:"a",\ua733:"aa",\u00e6:"ae",\u01fd:"ae",\u01e3:"ae",\ua735:"ao",\ua737:"au",\ua739:"av",\ua73b:"av",\ua73d:"ay","\u24d1":"b",\uff42:"b",\u1e03:"b",\u1e05:"b",\u1e07:"b",\u0180:"b",\u0183:"b",\u0253:"b","\u24d2":"c",\uff43:"c",\u0107:"c",\u0109:"c",\u010b:"c",\u010d:"c",\u00e7:"c",\u1e09:"c",\u0188:"c",\u023c:"c",\ua73f:"c",\u2184:"c","\u24d3":"d",\uff44:"d",\u1e0b:"d",\u010f:"d",\u1e0d:"d",\u1e11:"d",\u1e13:"d",\u1e0f:"d",\u0111:"d",\u018c:"d",\u0256:"d",\u0257:"d",\ua77a:"d",\u01f3:"dz",\u01c6:"dz","\u24d4":"e",\uff45:"e",\u00e8:"e",\u00e9:"e",\u00ea:"e",\u1ec1:"e",\u1ebf:"e",\u1ec5:"e",\u1ec3:"e",\u1ebd:"e",\u0113:"e",\u1e15:"e",\u1e17:"e",\u0115:"e",\u0117:"e",\u00eb:"e",\u1ebb:"e",\u011b:"e",\u0205:"e",\u0207:"e",\u1eb9:"e",\u1ec7:"e",\u0229:"e",\u1e1d:"e",\u0119:"e",\u1e19:"e",\u1e1b:"e",\u0247:"e",\u025b:"e",\u01dd:"e","\u24d5":"f",\uff46:"f",\u1e1f:"f",\u0192:"f",\ua77c:"f","\u24d6":"g",\uff47:"g",\u01f5:"g",\u011d:"g",\u1e21:"g",\u011f:"g",\u0121:"g",\u01e7:"g",\u0123:"g",\u01e5:"g",\u0260:"g",\ua7a1:"g",\u1d79:"g",\ua77f:"g","\u24d7":"h",\uff48:"h",\u0125:"h",\u1e23:"h",\u1e27:"h",\u021f:"h",\u1e25:"h",\u1e29:"h",\u1e2b:"h",\u1e96:"h",\u0127:"h",\u2c68:"h",\u2c76:"h",\u0265:"h",\u0195:"hv","\u24d8":"i",\uff49:"i",\u00ec:"i",\u00ed:"i",\u00ee:"i",\u0129:"i",\u012b:"i",\u012d:"i",\u00ef:"i",\u1e2f:"i",\u1ec9:"i",\u01d0:"i",\u0209:"i",\u020b:"i",\u1ecb:"i",\u012f:"i",\u1e2d:"i",\u0268:"i",\u0131:"i","\u24d9":"j",\uff4a:"j",\u0135:"j",\u01f0:"j",\u0249:"j","\u24da":"k",\uff4b:"k",\u1e31:"k",\u01e9:"k",\u1e33:"k",\u0137:"k",\u1e35:"k",\u0199:"k",\u2c6a:"k",\ua741:"k",\ua743:"k",\ua745:"k",\ua7a3:"k","\u24db":"l",\uff4c:"l",\u0140:"l",\u013a:"l",\u013e:"l",\u1e37:"l",\u1e39:"l",\u013c:"l",\u1e3d:"l",\u1e3b:"l",\u017f:"l",\u0142:"l",\u019a:"l",\u026b:"l",\u2c61:"l",\ua749:"l",\ua781:"l",\ua747:"l",\u01c9:"lj","\u24dc":"m",\uff4d:"m",\u1e3f:"m",\u1e41:"m",\u1e43:"m",\u0271:"m",\u026f:"m","\u24dd":"n",\uff4e:"n",\u01f9:"n",\u0144:"n",\u00f1:"n",\u1e45:"n",\u0148:"n",\u1e47:"n",\u0146:"n",\u1e4b:"n",\u1e49:"n",\u019e:"n",\u0272:"n",\u0149:"n",\ua791:"n",\ua7a5:"n",\u01cc:"nj","\u24de":"o",\uff4f:"o",\u00f2:"o",\u00f3:"o",\u00f4:"o",\u1ed3:"o",\u1ed1:"o",\u1ed7:"o",\u1ed5:"o",\u00f5:"o",\u1e4d:"o",\u022d:"o",\u1e4f:"o",\u014d:"o",\u1e51:"o",\u1e53:"o",\u014f:"o",\u022f:"o",\u0231:"o",\u00f6:"o",\u022b:"o",\u1ecf:"o",\u0151:"o",\u01d2:"o",\u020d:"o",\u020f:"o",\u01a1:"o",\u1edd:"o",\u1edb:"o",\u1ee1:"o",\u1edf:"o",\u1ee3:"o",\u1ecd:"o",\u1ed9:"o",\u01eb:"o",\u01ed:"o",\u00f8:"o",\u01ff:"o",\u0254:"o",\ua74b:"o",\ua74d:"o",\u0275:"o",\u01a3:"oi",\u0223:"ou",\ua74f:"oo","\u24df":"p",\uff50:"p",\u1e55:"p",\u1e57:"p",\u01a5:"p",\u1d7d:"p",\ua751:"p",\ua753:"p",\ua755:"p","\u24e0":"q",\uff51:"q",\u024b:"q",\ua757:"q",\ua759:"q","\u24e1":"r",\uff52:"r",\u0155:"r",\u1e59:"r",\u0159:"r",\u0211:"r",\u0213:"r",\u1e5b:"r",\u1e5d:"r",\u0157:"r",\u1e5f:"r",\u024d:"r",\u027d:"r",\ua75b:"r",\ua7a7:"r",\ua783:"r","\u24e2":"s",\uff53:"s",\u00df:"s",\u015b:"s",\u1e65:"s",\u015d:"s",\u1e61:"s",\u0161:"s",\u1e67:"s",\u1e63:"s",\u1e69:"s",\u0219:"s",\u015f:"s",\u023f:"s",\ua7a9:"s",\ua785:"s",\u1e9b:"s","\u24e3":"t",\uff54:"t",\u1e6b:"t",\u1e97:"t",\u0165:"t",\u1e6d:"t",\u021b:"t",\u0163:"t",\u1e71:"t",\u1e6f:"t",\u0167:"t",\u01ad:"t",\u0288:"t",\u2c66:"t",\ua787:"t",\ua729:"tz","\u24e4":"u",\uff55:"u",\u00f9:"u",\u00fa:"u",\u00fb:"u",\u0169:"u",\u1e79:"u",\u016b:"u",\u1e7b:"u",\u016d:"u",\u00fc:"u",\u01dc:"u",\u01d8:"u",\u01d6:"u",\u01da:"u",\u1ee7:"u",\u016f:"u",\u0171:"u",\u01d4:"u",\u0215:"u",\u0217:"u",\u01b0:"u",\u1eeb:"u",\u1ee9:"u",\u1eef:"u",\u1eed:"u",\u1ef1:"u",\u1ee5:"u",\u1e73:"u",\u0173:"u",\u1e77:"u",\u1e75:"u",\u0289:"u","\u24e5":"v",\uff56:"v",\u1e7d:"v",\u1e7f:"v",\u028b:"v",\ua75f:"v",\u028c:"v",\ua761:"vy","\u24e6":"w",\uff57:"w",\u1e81:"w",\u1e83:"w",\u0175:"w",\u1e87:"w",\u1e85:"w",\u1e98:"w",\u1e89:"w",\u2c73:"w","\u24e7":"x",\uff58:"x",\u1e8b:"x",\u1e8d:"x","\u24e8":"y",\uff59:"y",\u1ef3:"y",\u00fd:"y",\u0177:"y",\u1ef9:"y",\u0233:"y",\u1e8f:"y",\u00ff:"y",\u1ef7:"y",\u1e99:"y",\u1ef5:"y",\u01b4:"y",\u024f:"y",\u1eff:"y","\u24e9":"z",\uff5a:"z",\u017a:"z",\u1e91:"z",\u017c:"z",\u017e:"z",\u1e93:"z",\u1e95:"z",\u01b6:"z",\u0225:"z",\u0240:"z",\u2c6c:"z",\ua763:"z",\u0386:"\u0391",\u0388:"\u0395",\u0389:"\u0397",\u038a:"\u0399",\u03aa:"\u0399",\u038c:"\u039f",\u038e:"\u03a5",\u03ab:"\u03a5",\u038f:"\u03a9",\u03ac:"\u03b1",\u03ad:"\u03b5",\u03ae:"\u03b7",\u03af:"\u03b9",\u03ca:"\u03b9",\u0390:"\u03b9",\u03cc:"\u03bf",\u03cd:"\u03c5",\u03cb:"\u03c5",\u03b0:"\u03c5",\u03c9:"\u03c9",\u03c2:"\u03c3"};function yn(b){return b.replace(/[^\u0000-\u007E]/g,h=>gn[h]||h)}class kn{constructor(z,h){this._ngSelect=z,this._selectionModel=h,this._items=[],this._filteredItems=[],this._markedIndex=-1}get items(){return this._items}get filteredItems(){return this._filteredItems}get markedIndex(){return this._markedIndex}get selectedItems(){return this._selectionModel.value}get markedItem(){return this._filteredItems[this._markedIndex]}get noItemsToSelect(){return this._ngSelect.hideSelected&&this._items.length===this.selectedItems.length}get maxItemsSelected(){return this._ngSelect.multiple&&this._ngSelect.maxSelectedItems<=this.selectedItems.length}get lastSelectedItem(){let z=this.selectedItems.length-1;for(;z>=0;z--){const h=this.selectedItems[z];if(!h.disabled)return h}return null}setItems(z){this._items=z.map((h,M)=>this.mapItem(h,M)),this._ngSelect.groupBy?(this._groups=this._groupBy(this._items,this._ngSelect.groupBy),this._items=this._flatten(this._groups)):(this._groups=new Map,this._groups.set(void 0,this._items)),this._filteredItems=[...this._items]}select(z){if(z.selected||this.maxItemsSelected)return;const h=this._ngSelect.multiple;h||this.clearSelected(),this._selectionModel.select(z,h,this._ngSelect.selectableGroupAsModel),this._ngSelect.hideSelected&&this._hideSelected(z)}unselect(z){z.selected&&(this._selectionModel.unselect(z,this._ngSelect.multiple),this._ngSelect.hideSelected&&Zt(z.index)&&this._ngSelect.multiple&&this._showSelected(z))}findItem(z){let h;return h=this._ngSelect.compareWith?M=>this._ngSelect.compareWith(M.value,z):this._ngSelect.bindValue?M=>!M.children&&this.resolveNested(M.value,this._ngSelect.bindValue)===z:M=>M.value===z||!M.children&&M.label&&M.label===this.resolveNested(z,this._ngSelect.bindLabel),this._items.find(M=>h(M))}addItem(z){const h=this.mapItem(z,this._items.length);return this._items.push(h),this._filteredItems.push(h),h}clearSelected(z=!1){this._selectionModel.clear(z),this._items.forEach(h=>{h.selected=z&&h.selected&&h.disabled,h.marked=!1}),this._ngSelect.hideSelected&&this.resetFilteredItems()}findByLabel(z){return z=yn(z).toLocaleLowerCase(),this.filteredItems.find(h=>yn(h.label).toLocaleLowerCase().substr(0,z.length)===z)}filter(z){if(!z)return void this.resetFilteredItems();this._filteredItems=[],z=this._ngSelect.searchFn?z:yn(z).toLocaleLowerCase();const h=this._ngSelect.searchFn||this._defaultSearchFn,M=this._ngSelect.hideSelected;for(const T of Array.from(this._groups.keys())){const Re=[];for(const Ge of this._groups.get(T))M&&(Ge.parent&&Ge.parent.selected||Ge.selected)||h(z,this._ngSelect.searchFn?Ge.value:Ge)&&Re.push(Ge);if(Re.length>0){const[Ge]=Re.slice(-1);if(Ge.parent){const Gt=this._items.find(wn=>wn===Ge.parent);this._filteredItems.push(Gt)}this._filteredItems.push(...Re)}}}resetFilteredItems(){this._filteredItems.length!==this._items.length&&(this._filteredItems=this._ngSelect.hideSelected&&this.selectedItems.length>0?this._items.filter(z=>!z.selected):this._items)}unmarkItem(){this._markedIndex=-1}markNextItem(){this._stepToItem(1)}markPreviousItem(){this._stepToItem(-1)}markItem(z){this._markedIndex=this._filteredItems.indexOf(z)}markSelectedOrDefault(z){if(0===this._filteredItems.length)return;const h=this._getLastMarkedIndex();this._markedIndex=h>-1?h:z?this.filteredItems.findIndex(M=>!M.disabled):-1}resolveNested(z,h){if(!Mn(z))return z;if(-1===h.indexOf("."))return z[h];{const M=h.split(".");let T=z;for(let Re=0,Ge=M.length;Re-1===this.selectedItems.indexOf(h)))}_showSelected(z){if(this._filteredItems.push(z),z.parent){const h=z.parent;this._filteredItems.find(T=>T===h)||this._filteredItems.push(h)}else if(z.children)for(const h of z.children)h.selected=!1,this._filteredItems.push(h);this._filteredItems=[...this._filteredItems.sort((h,M)=>h.index-M.index)]}_hideSelected(z){this._filteredItems=this._filteredItems.filter(h=>h!==z),z.parent?z.parent.children.every(M=>M.selected)&&(this._filteredItems=this._filteredItems.filter(M=>M!==z.parent)):z.children&&(this._filteredItems=this.filteredItems.filter(h=>h.parent!==z))}_defaultSearchFn(z,h){return yn(h.label).toLocaleLowerCase().indexOf(z)>-1}_getNextItemIndex(z){return z>0?this._markedIndex>=this._filteredItems.length-1?0:this._markedIndex+1:this._markedIndex<=0?this._filteredItems.length-1:this._markedIndex-1}_stepToItem(z){0===this._filteredItems.length||this._filteredItems.every(h=>h.disabled)||(this._markedIndex=this._getNextItemIndex(z),this.markedItem.disabled&&this._stepToItem(z))}_getLastMarkedIndex(){if(this._ngSelect.hideSelected||this._markedIndex>-1&&void 0===this.markedItem)return-1;const z=this._filteredItems.indexOf(this.lastSelectedItem);return this.lastSelectedItem&&z<0?-1:Math.max(this.markedIndex,z)}_groupBy(z,h){const M=new Map;if(0===z.length)return M;if(Array.isArray(z[0].value[h])){for(const Ge of z){const Gt=(Ge.value[h]||[]).map((wn,rn)=>this.mapItem(wn,rn));M.set(Ge,Gt)}return M}const T=$(this._ngSelect.groupBy),Re=Ge=>{const Gt=T?h(Ge.value):Ge.value[h];return Zt(Gt)?Gt:void 0};for(const Ge of z){const Gt=Re(Ge),wn=M.get(Gt);wn?wn.push(Ge):M.set(Gt,[Ge])}return M}_flatten(z){const h=$(this._ngSelect.groupBy),M=[];for(const T of Array.from(z.keys())){let Re=M.length;if(void 0===T){const ti=z.get(void 0)||[];M.push(...ti.map(Vt=>(Vt.index=Re++,Vt)));continue}const Ge=Mn(T),Gt={label:Ge?"":String(T),children:void 0,parent:null,index:Re++,disabled:!this._ngSelect.selectableGroup,htmlId:pn()},wn=h?this._ngSelect.bindLabel:this._ngSelect.groupBy,rn=this._ngSelect.groupValue||(()=>Ge?T.value:{[wn]:T}),$n=z.get(T).map(ti=>(ti.parent=Gt,ti.children=void 0,ti.index=Re++,ti));Gt.children=$n,Gt.value=rn(T,$n.map(ti=>ti.value)),M.push(Gt),M.push(...$n)}return M}}var ut=function(b){return b[b.Tab=9]="Tab",b[b.Enter=13]="Enter",b[b.Esc=27]="Esc",b[b.Space=32]="Space",b[b.ArrowUp=38]="ArrowUp",b[b.ArrowDown=40]="ArrowDown",b[b.Backspace=8]="Backspace",b}(ut||{});let me=(()=>{class b{constructor(){this._dimensions={itemHeight:0,panelHeight:0,itemsPerViewport:0}}get dimensions(){return this._dimensions}calculateItems(h,M,T){const Re=this._dimensions,Ge=Re.itemHeight*M,wn=Math.max(0,h)/Ge*M;let rn=Math.min(M,Math.ceil(wn)+(Re.itemsPerViewport+1));const ti=Math.max(0,rn-Re.itemsPerViewport);let Vt=Math.min(ti,Math.floor(wn)),Un=Re.itemHeight*Math.ceil(Vt)-Re.itemHeight*Math.min(Vt,T);return Un=isNaN(Un)?0:Un,Vt=isNaN(Vt)?-1:Vt,rn=isNaN(rn)?-1:rn,Vt-=T,Vt=Math.max(0,Vt),rn+=T,rn=Math.min(M,rn),{topPadding:Un,scrollHeight:Ge,start:Vt,end:rn}}setDimensions(h,M){const T=Math.max(1,Math.floor(M/h));this._dimensions={itemHeight:h,panelHeight:M,itemsPerViewport:T}}getScrollTo(h,M,T){const{panelHeight:Re}=this.dimensions,Ge=h+M,wn=T+Re;return Re>=Ge&&T===h?null:Ge>wn?T+Ge-wn:h<=T?h:null}static#e=this.\u0275fac=function(M){return new(M||b)};static#t=this.\u0275prov=n.Yz7({token:b,factory:b.\u0275fac})}return b})();const le=["top","right","bottom","left"],G=typeof requestAnimationFrame<"u"?xe.Z:fe.E;let Ie=(()=>{class b{constructor(h,M,T,Re,Ge){this._renderer=h,this._zone=M,this._panelService=T,this._document=Ge,this.items=[],this.position="auto",this.virtualScroll=!1,this.filterValue=null,this.update=new n.vpe,this.scroll=new n.vpe,this.scrollToEnd=new n.vpe,this.outsideClick=new n.vpe,this._destroy$=new ce.x,this._scrollToEndFired=!1,this._updateScrollHeight=!1,this._lastScrollPosition=0,this._dropdown=Re.nativeElement}get currentPosition(){return this._currentPosition}get itemsLength(){return this._itemsLength}set itemsLength(h){h!==this._itemsLength&&(this._itemsLength=h,this._onItemsLengthChanged())}get _startOffset(){if(this.markedItem){const{itemHeight:h,panelHeight:M}=this._panelService.dimensions,T=this.markedItem.index*h;return M>T?0:T}return 0}ngOnInit(){this._select=this._dropdown.parentElement,this._virtualPadding=this.paddingElementRef.nativeElement,this._scrollablePanel=this.scrollElementRef.nativeElement,this._contentPanel=this.contentElementRef.nativeElement,this._handleScroll(),this._handleOutsideClick(),this._appendDropdown(),this._setupMousedownListener()}ngOnChanges(h){if(h.items){const M=h.items;this._onItemsChange(M.currentValue,M.firstChange)}}ngOnDestroy(){this._destroy$.next(),this._destroy$.complete(),this._destroy$.unsubscribe(),this.appendTo&&this._renderer.removeChild(this._dropdown.parentNode,this._dropdown)}scrollTo(h,M=!1){if(!h)return;const T=this.items.indexOf(h);if(T<0||T>=this.itemsLength)return;let Re;if(this.virtualScroll){const Ge=this._panelService.dimensions.itemHeight;Re=this._panelService.getScrollTo(T*Ge,Ge,this._lastScrollPosition)}else{const Ge=this._dropdown.querySelector(`#${h.htmlId}`);Re=this._panelService.getScrollTo(Ge.offsetTop,Ge.clientHeight,M?Ge.offsetTop:this._lastScrollPosition)}Zt(Re)&&(this._scrollablePanel.scrollTop=Re)}scrollToTag(){const h=this._scrollablePanel;h.scrollTop=h.scrollHeight-h.clientHeight}adjustPosition(){this._updateYPosition()}_handleDropdownPosition(){this._currentPosition=this._calculateCurrentPosition(this._dropdown),le.includes(this._currentPosition)?this._updateDropdownClass(this._currentPosition):this._updateDropdownClass("bottom"),this.appendTo&&this._updateYPosition(),this._dropdown.style.opacity="1"}_updateDropdownClass(h){le.forEach(T=>{const Re=`ng-select-${T}`;this._renderer.removeClass(this._dropdown,Re),this._renderer.removeClass(this._select,Re)});const M=`ng-select-${h}`;this._renderer.addClass(this._dropdown,M),this._renderer.addClass(this._select,M)}_handleScroll(){this._zone.runOutsideAngular(()=>{(0,De.R)(this.scrollElementRef.nativeElement,"scroll").pipe((0,E.R)(this._destroy$),(0,H.e)(0,G)).subscribe(h=>{const M=h.path||h.composedPath&&h.composedPath();this._onContentScrolled(M&&0!==M.length?M[0].scrollTop:h.target.scrollTop)})})}_handleOutsideClick(){this._document&&this._zone.runOutsideAngular(()=>{(0,Ae.T)((0,De.R)(this._document,"touchstart",{capture:!0}),(0,De.R)(this._document,"mousedown",{capture:!0})).pipe((0,E.R)(this._destroy$)).subscribe(h=>this._checkToClose(h))})}_checkToClose(h){if(this._select.contains(h.target)||this._dropdown.contains(h.target))return;const M=h.path||h.composedPath&&h.composedPath();h.target&&h.target.shadowRoot&&M&&M[0]&&this._select.contains(M[0])||this._zone.run(()=>this.outsideClick.emit())}_onItemsChange(h,M){this.items=h||[],this._scrollToEndFired=!1,this.itemsLength=h.length,this.virtualScroll?this._updateItemsRange(M):(this._setVirtualHeight(),this._updateItems(M))}_updateItems(h){this.update.emit(this.items),!1!==h&&this._zone.runOutsideAngular(()=>{Promise.resolve().then(()=>{this._panelService.setDimensions(0,this._scrollablePanel.clientHeight),this._handleDropdownPosition(),this.scrollTo(this.markedItem,h)})})}_updateItemsRange(h){this._zone.runOutsideAngular(()=>{this._measureDimensions().then(()=>{h?(this._renderItemsRange(this._startOffset),this._handleDropdownPosition()):this._renderItemsRange()})})}_onContentScrolled(h){this.virtualScroll&&this._renderItemsRange(h),this._lastScrollPosition=h,this._fireScrollToEnd(h)}_updateVirtualHeight(h){this._updateScrollHeight&&(this._virtualPadding.style.height=`${h}px`,this._updateScrollHeight=!1)}_setVirtualHeight(){this._virtualPadding&&(this._virtualPadding.style.height="0px")}_onItemsLengthChanged(){this._updateScrollHeight=!0}_renderItemsRange(h=null){if(h&&this._lastScrollPosition===h)return;const M=this._panelService.calculateItems(h=h||this._scrollablePanel.scrollTop,this.itemsLength,this.bufferAmount);this._updateVirtualHeight(M.scrollHeight),this._contentPanel.style.transform=`translateY(${M.topPadding}px)`,this._zone.run(()=>{this.update.emit(this.items.slice(M.start,M.end)),this.scroll.emit({start:M.start,end:M.end})}),Zt(h)&&0===this._lastScrollPosition&&(this._scrollablePanel.scrollTop=h,this._lastScrollPosition=h)}_measureDimensions(){if(this._panelService.dimensions.itemHeight>0||0===this.itemsLength)return Promise.resolve(this._panelService.dimensions);const[h]=this.items;return this.update.emit([h]),Promise.resolve().then(()=>{const T=this._dropdown.querySelector(`#${h.htmlId}`).clientHeight;return this._virtualPadding.style.height=T*this.itemsLength+"px",this._panelService.setDimensions(T,this._scrollablePanel.clientHeight),this._panelService.dimensions})}_fireScrollToEnd(h){this._scrollToEndFired||0===h||h+this._dropdown.clientHeight>=(this.virtualScroll?this._virtualPadding:this._contentPanel).clientHeight-1&&(this._zone.run(()=>this.scrollToEnd.emit()),this._scrollToEndFired=!0)}_calculateCurrentPosition(h){if("auto"!==this.position)return this.position;const M=this._select.getBoundingClientRect(),T=document.documentElement.scrollTop||document.body.scrollTop;return M.top+window.pageYOffset+M.height+h.getBoundingClientRect().height>T+document.documentElement.clientHeight?"top":"bottom"}_appendDropdown(){if(this.appendTo){if(this._parent=document.querySelector(this.appendTo),!this._parent)throw new Error(`appendTo selector ${this.appendTo} did not found any parent element`);this._updateXPosition(),this._parent.appendChild(this._dropdown)}}_updateXPosition(){const h=this._select.getBoundingClientRect(),M=this._parent.getBoundingClientRect();this._dropdown.style.left=h.left-M.left+"px",this._dropdown.style.width=h.width+"px",this._dropdown.style.minWidth=h.width+"px"}_updateYPosition(){const h=this._select.getBoundingClientRect(),M=this._parent.getBoundingClientRect(),T=h.height;"top"===this._currentPosition?(this._dropdown.style.bottom=M.bottom-h.bottom+T+"px",this._dropdown.style.top="auto"):"bottom"===this._currentPosition&&(this._dropdown.style.top=h.top-M.top+T+"px",this._dropdown.style.bottom="auto")}_setupMousedownListener(){this._zone.runOutsideAngular(()=>{(0,De.R)(this._dropdown,"mousedown").pipe((0,E.R)(this._destroy$)).subscribe(h=>{"INPUT"!==h.target.tagName&&h.preventDefault()})})}static#e=this.\u0275fac=function(M){return new(M||b)(n.Y36(n.Qsj),n.Y36(n.R0b),n.Y36(me),n.Y36(n.SBq),n.Y36(l.K0,8))};static#t=this.\u0275cmp=n.Xpm({type:b,selectors:[["ng-dropdown-panel"]],viewQuery:function(M,T){if(1&M&&(n.Gf(Le,7,n.SBq),n.Gf(se,7,n.SBq),n.Gf(ue,7,n.SBq)),2&M){let Re;n.iGM(Re=n.CRH())&&(T.contentElementRef=Re.first),n.iGM(Re=n.CRH())&&(T.scrollElementRef=Re.first),n.iGM(Re=n.CRH())&&(T.paddingElementRef=Re.first)}},inputs:{items:"items",markedItem:"markedItem",position:"position",appendTo:"appendTo",bufferAmount:"bufferAmount",virtualScroll:"virtualScroll",headerTemplate:"headerTemplate",footerTemplate:"footerTemplate",filterValue:"filterValue"},outputs:{update:"update",scroll:"scroll",scrollToEnd:"scrollToEnd",outsideClick:"outsideClick"},features:[n.TTD],ngContentSelectors:Ce,decls:9,vars:6,consts:[["class","ng-dropdown-header",4,"ngIf"],["role","listbox",1,"ng-dropdown-panel-items","scroll-host"],["scroll",""],["padding",""],["content",""],["class","ng-dropdown-footer",4,"ngIf"],[1,"ng-dropdown-header"],[3,"ngTemplateOutlet","ngTemplateOutletContext"],[1,"ng-dropdown-footer"]],template:function(M,T){1&M&&(n.F$t(),n.YNc(0,oe,2,4,"div",0),n.TgZ(1,"div",1,2),n._UZ(3,"div",null,3),n.TgZ(5,"div",null,4),n.Hsn(7),n.qZA()(),n.YNc(8,N,2,4,"div",5)),2&M&&(n.Q6J("ngIf",T.headerTemplate),n.xp6(3),n.ekj("total-padding",T.virtualScroll),n.xp6(2),n.ekj("scrollable-content",T.virtualScroll&&T.items.length),n.xp6(3),n.Q6J("ngIf",T.footerTemplate))},dependencies:[l.O5,l.tP],encapsulation:2,changeDetection:0})}return b})(),$e=(()=>{class b{get disabled(){return this._disabled}set disabled(h){this._disabled=this._isDisabled(h)}constructor(h){this.elementRef=h,this.stateChange$=new ce.x,this._disabled=!1}get label(){return(this.elementRef.nativeElement.textContent||"").trim()}ngOnChanges(h){h.disabled&&this.stateChange$.next({value:this.value,disabled:this._disabled})}ngAfterViewChecked(){this.label!==this._previousLabel&&(this._previousLabel=this.label,this.stateChange$.next({value:this.value,disabled:this._disabled,label:this.elementRef.nativeElement.innerHTML}))}ngOnDestroy(){this.stateChange$.complete()}_isDisabled(h){return null!=h&&"false"!=`${h}`}static#e=this.\u0275fac=function(M){return new(M||b)(n.Y36(n.SBq))};static#t=this.\u0275cmp=n.Xpm({type:b,selectors:[["ng-option"]],inputs:{value:"value",disabled:"disabled"},features:[n.TTD],ngContentSelectors:Ce,decls:1,vars:0,template:function(M,T){1&M&&(n.F$t(),n.Hsn(0))},encapsulation:2,changeDetection:0})}return b})(),St=(()=>{class b{constructor(){this.notFoundText="No items found",this.typeToSearchText="Type to search",this.addTagText="Add item",this.loadingText="Loading...",this.clearAllText="Clear all",this.disableVirtualScroll=!0,this.openOnEnter=!0,this.appearance="underline"}static#e=this.\u0275fac=function(M){return new(M||b)};static#t=this.\u0275prov=n.Yz7({token:b,factory:b.\u0275fac,providedIn:"root"})}return b})(),_e=(()=>{class b{warn(h){console.warn(h)}static#e=this.\u0275fac=function(M){return new(M||b)};static#t=this.\u0275prov=n.Yz7({token:b,factory:b.\u0275fac,providedIn:"root"})}return b})();const ee=new n.OlP("ng-select-selection-model");let S=(()=>{class b{get items(){return this._items}set items(h){null===h&&(h=[]),this._itemsAreUsed=!0,this._items=h}get compareWith(){return this._compareWith}set compareWith(h){if(null!=h&&!$(h))throw Error("`compareWith` must be a function.");this._compareWith=h}get clearSearchOnAdd(){return Zt(this._clearSearchOnAdd)?this._clearSearchOnAdd:Zt(this.config.clearSearchOnAdd)?this.config.clearSearchOnAdd:this.closeOnSelect}set clearSearchOnAdd(h){this._clearSearchOnAdd=h}get deselectOnClick(){return Zt(this._deselectOnClick)?this._deselectOnClick:Zt(this.config.deselectOnClick)?this.config.deselectOnClick:this.multiple}set deselectOnClick(h){this._deselectOnClick=h}get disabled(){return this.readonly||this._disabled}get filtered(){return!!this.searchTerm&&this.searchable||this._isComposing}get single(){return!this.multiple}get _editableSearchTerm(){return this.editableSearchTerm&&!this.multiple}constructor(h,M,T,Re,Ge,Gt,wn){this.classes=h,this.autoFocus=M,this.config=T,this._cd=Gt,this._console=wn,this.markFirst=!0,this.dropdownPosition="auto",this.loading=!1,this.closeOnSelect=!0,this.hideSelected=!1,this.selectOnTab=!1,this.bufferAmount=4,this.selectableGroup=!1,this.selectableGroupAsModel=!0,this.searchFn=null,this.trackByFn=null,this.clearOnBackspace=!0,this.labelForId=null,this.inputAttrs={},this.readonly=!1,this.searchWhileComposing=!0,this.minTermLength=0,this.editableSearchTerm=!1,this.keyDownFn=rn=>!0,this.multiple=!1,this.addTag=!1,this.searchable=!0,this.clearable=!0,this.isOpen=!1,this.blurEvent=new n.vpe,this.focusEvent=new n.vpe,this.changeEvent=new n.vpe,this.openEvent=new n.vpe,this.closeEvent=new n.vpe,this.searchEvent=new n.vpe,this.clearEvent=new n.vpe,this.addEvent=new n.vpe,this.removeEvent=new n.vpe,this.scroll=new n.vpe,this.scrollToEnd=new n.vpe,this.useDefaultClass=!0,this.viewPortItems=[],this.searchTerm=null,this.dropdownId=pn(),this.escapeHTML=!0,this._items=[],this._defaultLabel="label",this._pressedKeys=[],this._isComposing=!1,this._destroy$=new ce.x,this._keyPress$=new ce.x,this._onChange=rn=>{},this._onTouched=()=>{},this.clearItem=rn=>{const $n=this.selectedItems.find(ti=>ti.value===rn);this.unselect($n)},this.trackByOption=(rn,$n)=>this.trackByFn?this.trackByFn($n.value):$n,this._mergeGlobalConfig(T),this.itemsList=new kn(this,Re()),this.element=Ge.nativeElement}get selectedItems(){return this.itemsList.selectedItems}get selectedValues(){return this.selectedItems.map(h=>h.value)}get hasValue(){return this.selectedItems.length>0}get currentPanelPosition(){if(this.dropdownPanel)return this.dropdownPanel.currentPosition}ngOnInit(){this._handleKeyPresses(),this._setInputAttributes()}ngOnChanges(h){h.multiple&&this.itemsList.clearSelected(),h.items&&this._setItems(h.items.currentValue||[]),h.isOpen&&(this._manualOpen=Zt(h.isOpen.currentValue))}ngAfterViewInit(){this._itemsAreUsed||(this.escapeHTML=!1,this._setItemsFromNgOptions()),Zt(this.autoFocus)&&this.focus()}ngOnDestroy(){this._destroy$.next(),this._destroy$.complete()}handleKeyDown(h){if(ut[h.which]){if(!1===this.keyDownFn(h))return;this.handleKeyCode(h)}else h.key&&1===h.key.length&&this._keyPress$.next(h.key.toLocaleLowerCase())}handleKeyCode(h){switch(h.which){case ut.ArrowDown:this._handleArrowDown(h);break;case ut.ArrowUp:this._handleArrowUp(h);break;case ut.Space:this._handleSpace(h);break;case ut.Enter:this._handleEnter(h);break;case ut.Tab:this._handleTab(h);break;case ut.Esc:this.close(),h.preventDefault();break;case ut.Backspace:this._handleBackspace()}}handleMousedown(h){const M=h.target;"INPUT"!==M.tagName&&h.preventDefault(),M.classList.contains("ng-clear-wrapper")?this.handleClearClick():M.classList.contains("ng-arrow-wrapper")?this.handleArrowClick():M.classList.contains("ng-value-icon")||(this.focused||this.focus(),this.searchable?this.open():this.toggle())}handleArrowClick(){this.isOpen?this.close():this.open()}handleClearClick(){this.hasValue&&(this.itemsList.clearSelected(!0),this._updateNgModel()),this._clearSearch(),this.focus(),this.clearEvent.emit(),this._onSelectionChanged()}clearModel(){this.clearable&&(this.itemsList.clearSelected(),this._updateNgModel())}writeValue(h){this.itemsList.clearSelected(),this._handleWriteValue(h),this._cd.markForCheck()}registerOnChange(h){this._onChange=h}registerOnTouched(h){this._onTouched=h}setDisabledState(h){this._disabled=h,this._cd.markForCheck()}toggle(){this.isOpen?this.close():this.open()}open(){this.disabled||this.isOpen||this._manualOpen||!this._isTypeahead&&!this.addTag&&this.itemsList.noItemsToSelect||(this.isOpen=!0,this.itemsList.markSelectedOrDefault(this.markFirst),this.openEvent.emit(),this.searchTerm||this.focus(),this.detectChanges())}close(){!this.isOpen||this._manualOpen||(this.isOpen=!1,this._isComposing=!1,this._editableSearchTerm?this.itemsList.resetFilteredItems():this._clearSearch(),this.itemsList.unmarkItem(),this._onTouched(),this.closeEvent.emit(),this._cd.markForCheck())}toggleItem(h){!h||h.disabled||this.disabled||(this.deselectOnClick&&h.selected?this.unselect(h):this.select(h),this._editableSearchTerm&&this._setSearchTermFromItems(),this._onSelectionChanged())}select(h){h.selected||(this.itemsList.select(h),this.clearSearchOnAdd&&!this._editableSearchTerm&&this._clearSearch(),this._updateNgModel(),this.multiple&&this.addEvent.emit(h.value)),(this.closeOnSelect||this.itemsList.noItemsToSelect)&&this.close()}focus(){this.searchInput.nativeElement.readOnly||this.searchInput.nativeElement.focus()}blur(){this.searchInput.nativeElement.blur()}unselect(h){h&&(this.itemsList.unselect(h),this.focus(),this._updateNgModel(),this.removeEvent.emit(h))}selectTag(){let h;h=$(this.addTag)?this.addTag(this.searchTerm):this._primitive?this.searchTerm:{[this.bindLabel]:this.searchTerm};const M=T=>this._isTypeahead||!this.isOpen?this.itemsList.mapItem(T,null):this.itemsList.addItem(T);!function it(b){return b instanceof Promise}(h)?h&&this.select(M(h)):h.then(T=>this.select(M(T))).catch(()=>{})}showClear(){return this.clearable&&(this.hasValue||this.searchTerm)&&!this.disabled}get showAddTag(){if(!this._validTerm)return!1;const h=this.searchTerm.toLowerCase().trim();return this.addTag&&!this.itemsList.filteredItems.some(M=>M.label.toLowerCase()===h)&&(!this.hideSelected&&this.isOpen||!this.selectedItems.some(M=>M.label.toLowerCase()===h))&&!this.loading}showNoItemsFound(){const h=0===this.itemsList.filteredItems.length;return(h&&!this._isTypeahead&&!this.loading||h&&this._isTypeahead&&this._validTerm&&!this.loading)&&!this.showAddTag}showTypeToSearch(){return 0===this.itemsList.filteredItems.length&&this._isTypeahead&&!this._validTerm&&!this.loading}onCompositionStart(){this._isComposing=!0}onCompositionEnd(h){this._isComposing=!1,!this.searchWhileComposing&&this.filter(h)}filter(h){this._isComposing&&!this.searchWhileComposing||(this.searchTerm=h,this._isTypeahead&&(this._validTerm||0===this.minTermLength)&&this.typeahead.next(h),this._isTypeahead||(this.itemsList.filter(this.searchTerm),this.isOpen&&this.itemsList.markSelectedOrDefault(this.markFirst)),this.searchEvent.emit({term:h,items:this.itemsList.filteredItems.map(M=>M.value)}),this.open())}onInputFocus(h){this.focused||(this._editableSearchTerm&&this._setSearchTermFromItems(),this.element.classList.add("ng-select-focused"),this.focusEvent.emit(h),this.focused=!0)}onInputBlur(h){this.element.classList.remove("ng-select-focused"),this.blurEvent.emit(h),!this.isOpen&&!this.disabled&&this._onTouched(),this._editableSearchTerm&&this._setSearchTermFromItems(),this.focused=!1}onItemHover(h){h.disabled||this.itemsList.markItem(h)}detectChanges(){this._cd.destroyed||this._cd.detectChanges()}_setSearchTermFromItems(){const h=this.selectedItems&&this.selectedItems[0];this.searchTerm=h&&h.label||null}_setItems(h){const M=h[0];this.bindLabel=this.bindLabel||this._defaultLabel,this._primitive=Zt(M)?!Mn(M):this._primitive||this.bindLabel===this._defaultLabel,this.itemsList.setItems(h),h.length>0&&this.hasValue&&this.itemsList.mapSelectedItems(),this.isOpen&&Zt(this.searchTerm)&&!this._isTypeahead&&this.itemsList.filter(this.searchTerm),(this._isTypeahead||this.isOpen)&&this.itemsList.markSelectedOrDefault(this.markFirst)}_setItemsFromNgOptions(){const h=T=>{this.items=T.map(Re=>({$ngOptionValue:Re.value,$ngOptionLabel:Re.elementRef.nativeElement.innerHTML,disabled:Re.disabled})),this.itemsList.setItems(this.items),this.hasValue&&this.itemsList.mapSelectedItems(),this.detectChanges()},M=()=>{const T=(0,Ae.T)(this.ngOptions.changes,this._destroy$);(0,Ae.T)(...this.ngOptions.map(Re=>Re.stateChange$)).pipe((0,E.R)(T)).subscribe(Re=>{const Ge=this.itemsList.findItem(Re.value);Ge.disabled=Re.disabled,Ge.label=Re.label||Ge.label,this._cd.detectChanges()})};this.ngOptions.changes.pipe((0,Q.O)(this.ngOptions),(0,E.R)(this._destroy$)).subscribe(T=>{this.bindLabel=this._defaultLabel,h(T),M()})}_isValidWriteValue(h){if(!Zt(h)||this.multiple&&""===h||Array.isArray(h)&&0===h.length)return!1;const M=T=>!(!Zt(this.compareWith)&&Mn(T)&&this.bindValue&&(this._console.warn(`Setting object(${JSON.stringify(T)}) as your model with bindValue is not allowed unless [compareWith] is used.`),1));return this.multiple?Array.isArray(h)?h.every(T=>M(T)):(this._console.warn("Multiple select ngModel should be array."),!1):M(h)}_handleWriteValue(h){if(!this._isValidWriteValue(h))return;const M=T=>{let Re=this.itemsList.findItem(T);if(Re)this.itemsList.select(Re);else{const Ge=Mn(T);Ge||!Ge&&!this.bindValue?this.itemsList.select(this.itemsList.mapItem(T,null)):this.bindValue&&(Re={[this.bindLabel]:null,[this.bindValue]:T},this.itemsList.select(this.itemsList.mapItem(Re,null)))}};this.multiple?h.forEach(T=>M(T)):M(h)}_handleKeyPresses(){this.searchable||this._keyPress$.pipe((0,E.R)(this._destroy$),(0,ne.b)(h=>this._pressedKeys.push(h)),(0,we.b)(200),(0,ie.h)(()=>this._pressedKeys.length>0),(0,J.U)(()=>this._pressedKeys.join(""))).subscribe(h=>{const M=this.itemsList.findByLabel(h);M&&(this.isOpen?(this.itemsList.markItem(M),this._scrollToMarked(),this._cd.markForCheck()):this.select(M)),this._pressedKeys=[]})}_setInputAttributes(){const h=this.searchInput.nativeElement,M={type:"text",autocorrect:"off",autocapitalize:"off",autocomplete:this.labelForId?"off":this.dropdownId,...this.inputAttrs};for(const T of Object.keys(M))h.setAttribute(T,M[T])}_updateNgModel(){const h=[];for(const T of this.selectedItems)if(this.bindValue){let Re=null;Re=T.children?T.value[(this.groupValue?this.bindValue:this.groupBy)||this.groupBy]:this.itemsList.resolveNested(T.value,this.bindValue),h.push(Re)}else h.push(T.value);const M=this.selectedItems.map(T=>T.value);this.multiple?(this._onChange(h),this.changeEvent.emit(M)):(this._onChange(Zt(h[0])?h[0]:null),this.changeEvent.emit(M[0])),this._cd.markForCheck()}_clearSearch(){this.searchTerm&&(this._changeSearch(null),this.itemsList.resetFilteredItems())}_changeSearch(h){this.searchTerm=h,this._isTypeahead&&this.typeahead.next(h)}_scrollToMarked(){!this.isOpen||!this.dropdownPanel||this.dropdownPanel.scrollTo(this.itemsList.markedItem)}_scrollToTag(){!this.isOpen||!this.dropdownPanel||this.dropdownPanel.scrollToTag()}_onSelectionChanged(){this.isOpen&&this.deselectOnClick&&this.appendTo&&(this._cd.detectChanges(),this.dropdownPanel.adjustPosition())}_handleTab(h){!1===this.isOpen&&!this.addTag||(this.selectOnTab?this.itemsList.markedItem?(this.toggleItem(this.itemsList.markedItem),h.preventDefault()):this.showAddTag?(this.selectTag(),h.preventDefault()):this.close():this.close())}_handleEnter(h){if(this.isOpen||this._manualOpen)this.itemsList.markedItem?this.toggleItem(this.itemsList.markedItem):this.showAddTag&&this.selectTag();else{if(!this.openOnEnter)return;this.open()}h.preventDefault()}_handleSpace(h){this.isOpen||this._manualOpen||(this.open(),h.preventDefault())}_handleArrowDown(h){this._nextItemIsTag(1)?(this.itemsList.unmarkItem(),this._scrollToTag()):(this.itemsList.markNextItem(),this._scrollToMarked()),this.open(),h.preventDefault()}_handleArrowUp(h){this.isOpen&&(this._nextItemIsTag(-1)?(this.itemsList.unmarkItem(),this._scrollToTag()):(this.itemsList.markPreviousItem(),this._scrollToMarked()),h.preventDefault())}_nextItemIsTag(h){const M=this.itemsList.markedIndex+h;return this.addTag&&this.searchTerm&&this.itemsList.markedItem&&(M<0||M===this.itemsList.filteredItems.length)}_handleBackspace(){this.searchTerm||!this.clearable||!this.clearOnBackspace||!this.hasValue||(this.multiple?this.unselect(this.itemsList.lastSelectedItem):this.clearModel())}get _isTypeahead(){return this.typeahead&&this.typeahead.observers.length>0}get _validTerm(){const h=this.searchTerm&&this.searchTerm.trim();return h&&h.length>=this.minTermLength}_mergeGlobalConfig(h){this.placeholder=this.placeholder||h.placeholder,this.notFoundText=this.notFoundText||h.notFoundText,this.typeToSearchText=this.typeToSearchText||h.typeToSearchText,this.addTagText=this.addTagText||h.addTagText,this.loadingText=this.loadingText||h.loadingText,this.clearAllText=this.clearAllText||h.clearAllText,this.virtualScroll=Zt(this.virtualScroll)?this.virtualScroll:!!Zt(h.disableVirtualScroll)&&!h.disableVirtualScroll,this.openOnEnter=Zt(this.openOnEnter)?this.openOnEnter:h.openOnEnter,this.appendTo=this.appendTo||h.appendTo,this.bindValue=this.bindValue||h.bindValue,this.bindLabel=this.bindLabel||h.bindLabel,this.appearance=this.appearance||h.appearance}static#e=this.\u0275fac=function(M){return new(M||b)(n.$8M("class"),n.$8M("autofocus"),n.Y36(St),n.Y36(ee),n.Y36(n.SBq),n.Y36(n.sBO),n.Y36(_e))};static#t=this.\u0275cmp=n.Xpm({type:b,selectors:[["ng-select"]],contentQueries:function(M,T,Re){if(1&M&&(n.Suo(Re,Be,5,n.Rgc),n.Suo(Re,lt,5,n.Rgc),n.Suo(Re,ht,5,n.Rgc),n.Suo(Re,mt,5,n.Rgc),n.Suo(Re,Mt,5,n.Rgc),n.Suo(Re,ln,5,n.Rgc),n.Suo(Re,Wt,5,n.Rgc),n.Suo(Re,Kt,5,n.Rgc),n.Suo(Re,$t,5,n.Rgc),n.Suo(Re,An,5,n.Rgc),n.Suo(Re,bn,5,n.Rgc),n.Suo(Re,$e,5)),2&M){let Ge;n.iGM(Ge=n.CRH())&&(T.optionTemplate=Ge.first),n.iGM(Ge=n.CRH())&&(T.optgroupTemplate=Ge.first),n.iGM(Ge=n.CRH())&&(T.labelTemplate=Ge.first),n.iGM(Ge=n.CRH())&&(T.multiLabelTemplate=Ge.first),n.iGM(Ge=n.CRH())&&(T.headerTemplate=Ge.first),n.iGM(Ge=n.CRH())&&(T.footerTemplate=Ge.first),n.iGM(Ge=n.CRH())&&(T.notFoundTemplate=Ge.first),n.iGM(Ge=n.CRH())&&(T.typeToSearchTemplate=Ge.first),n.iGM(Ge=n.CRH())&&(T.loadingTextTemplate=Ge.first),n.iGM(Ge=n.CRH())&&(T.tagTemplate=Ge.first),n.iGM(Ge=n.CRH())&&(T.loadingSpinnerTemplate=Ge.first),n.iGM(Ge=n.CRH())&&(T.ngOptions=Ge)}},viewQuery:function(M,T){if(1&M&&(n.Gf(Ie,5),n.Gf(K,7)),2&M){let Re;n.iGM(Re=n.CRH())&&(T.dropdownPanel=Re.first),n.iGM(Re=n.CRH())&&(T.searchInput=Re.first)}},hostVars:20,hostBindings:function(M,T){1&M&&n.NdJ("keydown",function(Ge){return T.handleKeyDown(Ge)}),2&M&&n.ekj("ng-select-typeahead",T.typeahead)("ng-select-multiple",T.multiple)("ng-select-taggable",T.addTag)("ng-select-searchable",T.searchable)("ng-select-clearable",T.clearable)("ng-select-opened",T.isOpen)("ng-select",T.useDefaultClass)("ng-select-disabled",T.disabled)("ng-select-filtered",T.filtered)("ng-select-single",T.single)},inputs:{bindLabel:"bindLabel",bindValue:"bindValue",markFirst:"markFirst",placeholder:"placeholder",notFoundText:"notFoundText",typeToSearchText:"typeToSearchText",addTagText:"addTagText",loadingText:"loadingText",clearAllText:"clearAllText",appearance:"appearance",dropdownPosition:"dropdownPosition",appendTo:"appendTo",loading:"loading",closeOnSelect:"closeOnSelect",hideSelected:"hideSelected",selectOnTab:"selectOnTab",openOnEnter:"openOnEnter",maxSelectedItems:"maxSelectedItems",groupBy:"groupBy",groupValue:"groupValue",bufferAmount:"bufferAmount",virtualScroll:"virtualScroll",selectableGroup:"selectableGroup",selectableGroupAsModel:"selectableGroupAsModel",searchFn:"searchFn",trackByFn:"trackByFn",clearOnBackspace:"clearOnBackspace",labelForId:"labelForId",inputAttrs:"inputAttrs",tabIndex:"tabIndex",readonly:"readonly",searchWhileComposing:"searchWhileComposing",minTermLength:"minTermLength",editableSearchTerm:"editableSearchTerm",keyDownFn:"keyDownFn",typeahead:"typeahead",multiple:"multiple",addTag:"addTag",searchable:"searchable",clearable:"clearable",isOpen:"isOpen",items:"items",compareWith:"compareWith",clearSearchOnAdd:"clearSearchOnAdd",deselectOnClick:"deselectOnClick"},outputs:{blurEvent:"blur",focusEvent:"focus",changeEvent:"change",openEvent:"open",closeEvent:"close",searchEvent:"search",clearEvent:"clear",addEvent:"add",removeEvent:"remove",scroll:"scroll",scrollToEnd:"scrollToEnd"},features:[n._Bn([{provide:w.JU,useExisting:(0,n.Gpc)(()=>b),multi:!0},me]),n.TTD],decls:14,vars:19,consts:[[1,"ng-select-container",3,"mousedown"],[1,"ng-value-container"],[1,"ng-placeholder"],[4,"ngIf"],["role","combobox","aria-haspopup","listbox",1,"ng-input"],["aria-autocomplete","list",3,"readOnly","disabled","value","input","compositionstart","compositionend","focus","blur","change"],["searchInput",""],["class","ng-clear-wrapper",3,"title",4,"ngIf"],[1,"ng-arrow-wrapper"],[1,"ng-arrow"],["class","ng-dropdown-panel","role","listbox","aria-label","Options list",3,"virtualScroll","bufferAmount","appendTo","position","headerTemplate","footerTemplate","filterValue","items","markedItem","ng-select-multiple","ngClass","id","update","scroll","scrollToEnd","outsideClick",4,"ngIf"],["class","ng-value",3,"ng-value-disabled",4,"ngFor","ngForOf","ngForTrackBy"],[1,"ng-value"],["defaultLabelTemplate",""],[3,"ngTemplateOutlet","ngTemplateOutletContext"],["aria-hidden","true",1,"ng-value-icon","left",3,"click"],[1,"ng-value-label",3,"ngItemLabel","escape"],["defaultLoadingSpinnerTemplate",""],[3,"ngTemplateOutlet"],[1,"ng-spinner-loader"],[1,"ng-clear-wrapper",3,"title"],["aria-hidden","true",1,"ng-clear"],["role","listbox","aria-label","Options list",1,"ng-dropdown-panel",3,"virtualScroll","bufferAmount","appendTo","position","headerTemplate","footerTemplate","filterValue","items","markedItem","ngClass","id","update","scroll","scrollToEnd","outsideClick"],["class","ng-option",3,"ng-option-disabled","ng-option-selected","ng-optgroup","ng-option","ng-option-child","ng-option-marked","click","mouseover",4,"ngFor","ngForOf","ngForTrackBy"],["class","ng-option","role","option",3,"ng-option-marked","mouseover","click",4,"ngIf"],[1,"ng-option",3,"click","mouseover"],["defaultOptionTemplate",""],[1,"ng-option-label",3,"ngItemLabel","escape"],["role","option",1,"ng-option",3,"mouseover","click"],["defaultTagTemplate",""],[1,"ng-tag-label"],["defaultNotFoundTemplate",""],[1,"ng-option","ng-option-disabled"],["defaultTypeToSearchTemplate",""],["defaultLoadingTextTemplate",""]],template:function(M,T){if(1&M){const Re=n.EpF();n.TgZ(0,"div",0),n.NdJ("mousedown",function(Gt){return T.handleMousedown(Gt)}),n.TgZ(1,"div",1)(2,"div",2),n._uU(3),n.qZA(),n.YNc(4,ct,2,2,"ng-container",3),n.YNc(5,It,1,5,null,3),n.TgZ(6,"div",4)(7,"input",5,6),n.NdJ("input",function(){n.CHM(Re);const Gt=n.MAs(8);return n.KtG(T.filter(Gt.value))})("compositionstart",function(){return T.onCompositionStart()})("compositionend",function(){n.CHM(Re);const Gt=n.MAs(8);return n.KtG(T.onCompositionEnd(Gt.value))})("focus",function(Gt){return T.onInputFocus(Gt)})("blur",function(Gt){return T.onInputBlur(Gt)})("change",function(Gt){return Gt.stopPropagation()}),n.qZA()()(),n.YNc(9,At,4,1,"ng-container",3),n.YNc(10,Y,3,1,"span",7),n.TgZ(11,"span",8),n._UZ(12,"span",9),n.qZA()(),n.YNc(13,rt,7,19,"ng-dropdown-panel",10)}2&M&&(n.ekj("ng-appearance-outline","outline"===T.appearance)("ng-has-value",T.hasValue),n.xp6(3),n.Oqu(T.placeholder),n.xp6(1),n.Q6J("ngIf",(!T.multiLabelTemplate||!T.multiple)&&T.selectedItems.length>0),n.xp6(1),n.Q6J("ngIf",T.multiple&&T.multiLabelTemplate&&T.selectedValues.length>0),n.xp6(1),n.uIk("aria-expanded",T.isOpen)("aria-owns",T.isOpen?T.dropdownId:null),n.xp6(1),n.Q6J("readOnly",!T.searchable||T.itemsList.maxItemsSelected)("disabled",T.disabled)("value",T.searchTerm?T.searchTerm:""),n.uIk("id",T.labelForId)("tabindex",T.tabIndex)("aria-activedescendant",T.isOpen?null==T.itemsList||null==T.itemsList.markedItem?null:T.itemsList.markedItem.htmlId:null)("aria-controls",T.isOpen?T.dropdownId:null),n.xp6(2),n.Q6J("ngIf",T.loading),n.xp6(1),n.Q6J("ngIf",T.showClear()),n.xp6(3),n.Q6J("ngIf",T.isOpen))},dependencies:[l.mk,l.sg,l.O5,l.tP,Ie,be],styles:['@charset "UTF-8";.ng-select{position:relative;display:block;box-sizing:border-box}.ng-select div,.ng-select input,.ng-select span{box-sizing:border-box}.ng-select [hidden]{display:none}.ng-select.ng-select-searchable .ng-select-container .ng-value-container .ng-input{opacity:1}.ng-select.ng-select-opened .ng-select-container{z-index:1001}.ng-select.ng-select-disabled .ng-select-container .ng-value-container .ng-placeholder,.ng-select.ng-select-disabled .ng-select-container .ng-value-container .ng-value{-webkit-user-select:none;user-select:none;cursor:default}.ng-select.ng-select-disabled .ng-arrow-wrapper{cursor:default}.ng-select.ng-select-filtered .ng-placeholder{display:none}.ng-select .ng-select-container{cursor:default;display:flex;outline:none;overflow:hidden;position:relative;width:100%}.ng-select .ng-select-container .ng-value-container{display:flex;flex:1}.ng-select .ng-select-container .ng-value-container .ng-input{opacity:0}.ng-select .ng-select-container .ng-value-container .ng-input>input{box-sizing:content-box;background:none transparent;border:0 none;box-shadow:none;outline:none;padding:0;cursor:default;width:100%}.ng-select .ng-select-container .ng-value-container .ng-input>input::-ms-clear{display:none}.ng-select .ng-select-container .ng-value-container .ng-input>input[readonly]{-webkit-user-select:none;user-select:none;width:0;padding:0}.ng-select.ng-select-single.ng-select-filtered .ng-select-container .ng-value-container .ng-value{visibility:hidden}.ng-select.ng-select-single .ng-select-container .ng-value-container,.ng-select.ng-select-single .ng-select-container .ng-value-container .ng-value{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.ng-select.ng-select-single .ng-select-container .ng-value-container .ng-value .ng-value-icon{display:none}.ng-select.ng-select-single .ng-select-container .ng-value-container .ng-input{position:absolute;left:0;width:100%}.ng-select.ng-select-multiple.ng-select-disabled>.ng-select-container .ng-value-container .ng-value .ng-value-icon{display:none}.ng-select.ng-select-multiple .ng-select-container .ng-value-container{flex-wrap:wrap}.ng-select.ng-select-multiple .ng-select-container .ng-value-container .ng-placeholder{position:absolute}.ng-select.ng-select-multiple .ng-select-container .ng-value-container .ng-value{white-space:nowrap}.ng-select.ng-select-multiple .ng-select-container .ng-value-container .ng-value.ng-value-disabled .ng-value-icon{display:none}.ng-select.ng-select-multiple .ng-select-container .ng-value-container .ng-value .ng-value-icon{cursor:pointer}.ng-select.ng-select-multiple .ng-select-container .ng-value-container .ng-input{flex:1;z-index:2}.ng-select.ng-select-multiple .ng-select-container .ng-value-container .ng-placeholder{z-index:1}.ng-select .ng-clear-wrapper{cursor:pointer;position:relative;width:17px;-webkit-user-select:none;user-select:none}.ng-select .ng-clear-wrapper .ng-clear{display:inline-block;font-size:18px;line-height:1;pointer-events:none}.ng-select .ng-spinner-loader{border-radius:50%;width:17px;height:17px;margin-right:5px;font-size:10px;position:relative;text-indent:-9999em;border-top:2px solid rgba(66,66,66,.2);border-right:2px solid rgba(66,66,66,.2);border-bottom:2px solid rgba(66,66,66,.2);border-left:2px solid #424242;transform:translateZ(0);animation:load8 .8s infinite linear}.ng-select .ng-spinner-loader:after{border-radius:50%;width:17px;height:17px}@keyframes load8{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.ng-select .ng-arrow-wrapper{cursor:pointer;position:relative;text-align:center;-webkit-user-select:none;user-select:none}.ng-select .ng-arrow-wrapper .ng-arrow{pointer-events:none;display:inline-block;height:0;width:0;position:relative}.ng-dropdown-panel{box-sizing:border-box;position:absolute;opacity:0;width:100%;z-index:1050;-webkit-overflow-scrolling:touch}.ng-dropdown-panel .ng-dropdown-panel-items{display:block;height:auto;box-sizing:border-box;max-height:240px;overflow-y:auto}.ng-dropdown-panel .ng-dropdown-panel-items .ng-optgroup{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.ng-dropdown-panel .ng-dropdown-panel-items .ng-option{box-sizing:border-box;cursor:pointer;display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.ng-dropdown-panel .ng-dropdown-panel-items .ng-option .ng-option-label:empty:before{content:"\\200b"}.ng-dropdown-panel .ng-dropdown-panel-items .ng-option .highlighted{font-weight:700;text-decoration:underline}.ng-dropdown-panel .ng-dropdown-panel-items .ng-option.disabled{cursor:default}.ng-dropdown-panel .scroll-host{overflow:hidden;overflow-y:auto;position:relative;display:block;-webkit-overflow-scrolling:touch}.ng-dropdown-panel .scrollable-content{top:0;left:0;width:100%;height:100%;position:absolute}.ng-dropdown-panel .total-padding{width:1px;opacity:0}\n'],encapsulation:2,changeDetection:0})}return b})();function W(){return new Ne}class Ne{constructor(){this._selected=[]}get value(){return this._selected}select(z,h,M){if(z.selected=!0,(!z.children||!h&&M)&&this._selected.push(z),h)if(z.parent){const T=z.parent.children.length,Re=z.parent.children.filter(Ge=>Ge.selected).length;z.parent.selected=T===Re}else z.children&&(this._setChildrenSelectedState(z.children,!0),this._removeChildren(z),this._selected=M&&this._activeChildren(z)?[...this._selected.filter(T=>T.parent!==z),z]:[...this._selected,...z.children.filter(T=>!T.disabled)])}unselect(z,h){if(this._selected=this._selected.filter(M=>M!==z),z.selected=!1,h)if(z.parent&&z.parent.selected){const M=z.parent.children;this._removeParent(z.parent),this._removeChildren(z.parent),this._selected.push(...M.filter(T=>T!==z&&!T.disabled)),z.parent.selected=!1}else z.children&&(this._setChildrenSelectedState(z.children,!1),this._removeChildren(z))}clear(z){this._selected=z?this._selected.filter(h=>h.disabled):[]}_setChildrenSelectedState(z,h){for(const M of z)M.disabled||(M.selected=h)}_removeChildren(z){this._selected=[...this._selected.filter(h=>h.parent!==z),...z.children.filter(h=>h.parent===z&&h.disabled&&h.selected)]}_removeParent(z){this._selected=this._selected.filter(h=>h!==z)}_activeChildren(z){return z.children.every(h=>!h.disabled||h.selected)}}let yt=(()=>{class b{static#e=this.\u0275fac=function(M){return new(M||b)};static#t=this.\u0275mod=n.oAB({type:b});static#n=this.\u0275inj=n.cJS({providers:[{provide:ee,useValue:W}],imports:[l.ez]})}return b})();var Pt=p(2495),at=p(3680),wt=p(9157),de=p(4300);const ke=["*"],Ke=["ngSelect"];function Ee(b,z){}const ge=function(b,z,h,M){return{item:b,item$:z,index:h,searchTerm:M}};function Ve(b,z){if(1&b&&n.YNc(0,Ee,0,0,"ng-template",4),2&b){const h=z.item,M=z.item$,T=z.index,Re=z.searchTerm,Ge=n.oxw(2);n.Q6J("ngTemplateOutlet",Ge.optionTemplate)("ngTemplateOutletContext",n.l5B(2,ge,h,M,T,Re))}}function dt(b,z){1&b&&(n.ynx(0),n.YNc(1,Ve,1,7,"ng-template",3),n.BQk())}function Rt(b,z){}function Ht(b,z){if(1&b&&n.YNc(0,Rt,0,0,"ng-template",4),2&b){const h=z.item,M=z.item$,T=z.index,Re=z.searchTerm,Ge=n.oxw(2);n.Q6J("ngTemplateOutlet",Ge.optgroupTemplate)("ngTemplateOutletContext",n.l5B(2,ge,h,M,T,Re))}}function Nt(b,z){1&b&&(n.ynx(0),n.YNc(1,Ht,1,7,"ng-template",5),n.BQk())}function nn(b,z){}const cn=function(b,z,h){return{item:b,clear:z,label:h}};function Ln(b,z){if(1&b&&n.YNc(0,nn,0,0,"ng-template",4),2&b){const h=z.item,M=z.clear,T=z.label,Re=n.oxw(2);n.Q6J("ngTemplateOutlet",Re.labelTemplate)("ngTemplateOutletContext",n.kEZ(2,cn,h,M,T))}}function jn(b,z){1&b&&(n.ynx(0),n.YNc(1,Ln,1,6,"ng-template",6),n.BQk())}function Xn(b,z){}const zn=function(b,z){return{items:b,clear:z}};function li(b,z){if(1&b&&n.YNc(0,Xn,0,0,"ng-template",4),2&b){const h=z.items,M=z.clear,T=n.oxw(2);n.Q6J("ngTemplateOutlet",T.multiLabelTemplate)("ngTemplateOutletContext",n.WLB(2,zn,h,M))}}function gi(b,z){1&b&&(n.ynx(0),n.YNc(1,li,1,5,"ng-template",7),n.BQk())}function Tn(b,z){}function Sn(b,z){if(1&b&&n.YNc(0,Tn,0,0,"ng-template",9),2&b){const h=n.oxw(2);n.Q6J("ngTemplateOutlet",h.headerTemplate)}}function Ci(b,z){1&b&&(n.ynx(0),n.YNc(1,Sn,1,1,"ng-template",8),n.BQk())}function Ei(b,z){}function Vn(b,z){if(1&b&&n.YNc(0,Ei,0,0,"ng-template",9),2&b){const h=n.oxw(2);n.Q6J("ngTemplateOutlet",h.footerTemplate)}}function oi(b,z){1&b&&(n.ynx(0),n.YNc(1,Vn,1,1,"ng-template",10),n.BQk())}function Qe(b,z){}const Dt=function(b){return{searchTerm:b}};function qe(b,z){if(1&b&&n.YNc(0,Qe,0,0,"ng-template",4),2&b){const h=z.searchTerm,M=n.oxw(2);n.Q6J("ngTemplateOutlet",M.notFoundTemplate)("ngTemplateOutletContext",n.VKq(2,Dt,h))}}function Et(b,z){1&b&&(n.ynx(0),n.YNc(1,qe,1,4,"ng-template",11),n.BQk())}function A(b,z){}function q(b,z){if(1&b&&n.YNc(0,A,0,0,"ng-template",9),2&b){const h=n.oxw(2);n.Q6J("ngTemplateOutlet",h.typeToSearchTemplate)}}function x(b,z){1&b&&(n.ynx(0),n.YNc(1,q,1,1,"ng-template",12),n.BQk())}function Z(b,z){}function he(b,z){if(1&b&&n.YNc(0,Z,0,0,"ng-template",4),2&b){const h=z.searchTerm,M=n.oxw(2);n.Q6J("ngTemplateOutlet",M.loadingTextTemplate)("ngTemplateOutletContext",n.VKq(2,Dt,h))}}function Ze(b,z){1&b&&(n.ynx(0),n.YNc(1,he,1,4,"ng-template",13),n.BQk())}function gt(b,z){}function Jt(b,z){if(1&b&&n.YNc(0,gt,0,0,"ng-template",4),2&b){const h=z.searchTerm,M=n.oxw(2);n.Q6J("ngTemplateOutlet",M.tagTemplate)("ngTemplateOutletContext",n.VKq(2,Dt,h))}}function Yt(b,z){1&b&&(n.ynx(0),n.YNc(1,Jt,1,4,"ng-template",14),n.BQk())}function Hn(b,z){}function ci(b,z){if(1&b&&n.YNc(0,Hn,0,0,"ng-template",9),2&b){const h=n.oxw(2);n.Q6J("ngTemplateOutlet",h.loadingSpinnerTemplate)}}function Fn(b,z){1&b&&(n.ynx(0),n.YNc(1,ci,1,1,"ng-template",15),n.BQk())}const xi=function(){return{standalone:!0}};let wi=(()=>{class b{get disabled(){return this._disabled}set disabled(h){this._disabled=(0,Pt.Ig)(h)}get label(){return(this.elementRef.nativeElement.textContent||"").trim()}constructor(h){this.elementRef=h,this._disabled=!1,this.stateChange$=new ce.x}ngOnChanges(h){h.disabled&&this.stateChange$.next({value:this.value,disabled:this._disabled})}ngAfterViewChecked(){this.label!==this._previousLabel&&(this._previousLabel=this.label,this.stateChange$.next({value:this.value,disabled:this._disabled,label:this.elementRef.nativeElement.innerHTML}))}ngOnDestroy(){this.stateChange$.complete()}static#e=this.\u0275fac=function(M){return new(M||b)(n.Y36(n.SBq))};static#t=this.\u0275cmp=n.Xpm({type:b,selectors:[["mtx-option"]],inputs:{value:"value",disabled:"disabled"},exportAs:["mtxOption"],features:[n.TTD],ngContentSelectors:ke,decls:1,vars:0,template:function(M,T){1&M&&(n.F$t(),n.Hsn(0))},encapsulation:2,changeDetection:0})}return b})(),fi=(()=>{class b{constructor(h){this.template=h}static#e=this.\u0275fac=function(M){return new(M||b)(n.Y36(n.Rgc))};static#t=this.\u0275dir=n.lG2({type:b,selectors:[["","ng-option-tmp",""]]})}return b})(),zi=(()=>{class b{constructor(h){this.template=h}static#e=this.\u0275fac=function(M){return new(M||b)(n.Y36(n.Rgc))};static#t=this.\u0275dir=n.lG2({type:b,selectors:[["","ng-optgroup-tmp",""]]})}return b})(),Mi=(()=>{class b{constructor(h){this.template=h}static#e=this.\u0275fac=function(M){return new(M||b)(n.Y36(n.Rgc))};static#t=this.\u0275dir=n.lG2({type:b,selectors:[["","ng-label-tmp",""]]})}return b})(),Di=(()=>{class b{constructor(h){this.template=h}static#e=this.\u0275fac=function(M){return new(M||b)(n.Y36(n.Rgc))};static#t=this.\u0275dir=n.lG2({type:b,selectors:[["","ng-multi-label-tmp",""]]})}return b})(),qn=(()=>{class b{constructor(h){this.template=h}static#e=this.\u0275fac=function(M){return new(M||b)(n.Y36(n.Rgc))};static#t=this.\u0275dir=n.lG2({type:b,selectors:[["","ng-header-tmp",""]]})}return b})(),Si=(()=>{class b{constructor(h){this.template=h}static#e=this.\u0275fac=function(M){return new(M||b)(n.Y36(n.Rgc))};static#t=this.\u0275dir=n.lG2({type:b,selectors:[["","ng-footer-tmp",""]]})}return b})(),Ti=(()=>{class b{constructor(h){this.template=h}static#e=this.\u0275fac=function(M){return new(M||b)(n.Y36(n.Rgc))};static#t=this.\u0275dir=n.lG2({type:b,selectors:[["","ng-notfound-tmp",""]]})}return b})(),En=(()=>{class b{constructor(h){this.template=h}static#e=this.\u0275fac=function(M){return new(M||b)(n.Y36(n.Rgc))};static#t=this.\u0275dir=n.lG2({type:b,selectors:[["","ng-typetosearch-tmp",""]]})}return b})(),ei=(()=>{class b{constructor(h){this.template=h}static#e=this.\u0275fac=function(M){return new(M||b)(n.Y36(n.Rgc))};static#t=this.\u0275dir=n.lG2({type:b,selectors:[["","ng-loadingtext-tmp",""]]})}return b})(),di=(()=>{class b{constructor(h){this.template=h}static#e=this.\u0275fac=function(M){return new(M||b)(n.Y36(n.Rgc))};static#t=this.\u0275dir=n.lG2({type:b,selectors:[["","ng-tag-tmp",""]]})}return b})(),_i=(()=>{class b{constructor(h){this.template=h}static#e=this.\u0275fac=function(M){return new(M||b)(n.Y36(n.Rgc))};static#t=this.\u0275dir=n.lG2({type:b,selectors:[["","ng-loadingspinner-tmp",""]]})}return b})();const ri=new n.OlP("mtx-select-default-options");let Qi=0;const yo=(0,at.Id)((0,at.FD)(class{constructor(b,z,h,M){this._defaultErrorStateMatcher=b,this._parentForm=z,this._parentFormGroup=h,this.ngControl=M,this.stateChanges=new ce.x}}));let Gi=(()=>{class b extends yo{get clearSearchOnAdd(){return this._clearSearchOnAdd??this.closeOnSelect}set clearSearchOnAdd(h){this._clearSearchOnAdd=h}get items(){return this._items}set items(h){this._itemsAreUsed=!0,this._items=h}get value(){return this._value}set value(h){this._value=h,this._onChange(h),this.stateChanges.next()}get id(){return this._id}set id(h){this._id=h||this._uid,this.stateChanges.next()}get placeholder(){return this._placeholder}set placeholder(h){this._placeholder=h,this.stateChanges.next()}get focused(){return this._focused}get empty(){return null==this.value||Array.isArray(this.value)&&0===this.value.length}get shouldLabelFloat(){return this.focused||!this.empty}get required(){return this._required??this.ngControl?.control?.hasValidator(w.kI.required)??!1}set required(h){this._required=(0,Pt.Ig)(h),this.stateChanges.next()}get panelOpen(){return!!this.ngSelect.isOpen}constructor(h,M,T,Re,Ge,Gt,wn,rn,$n){super(Re,Ge,Gt,wn),this._changeDetectorRef=h,this._elementRef=M,this._focusMonitor=T,this._parentFormField=rn,this._defaultOptions=$n,this.addTag=!1,this.addTagText=this._defaultOptions?.addTagText??"Add item",this.appearance="underline",this.appendTo=this._defaultOptions?.appendTo??"body",this.bindLabel=this._defaultOptions?.bindLabel,this.bindValue=this._defaultOptions?.bindValue,this.closeOnSelect=!0,this.clearAllText=this._defaultOptions?.clearAllText??"Clear all",this.clearable=!0,this.clearOnBackspace=!0,this.dropdownPosition="auto",this.selectableGroup=!1,this.selectableGroupAsModel=!0,this.hideSelected=!1,this.loading=!1,this.loadingText=this._defaultOptions?.loadingText??"Loading...",this.labelForId=null,this.markFirst=!0,this.multiple=!1,this.notFoundText=this._defaultOptions?.notFoundText??"No items found",this.searchable=!0,this.readonly=!1,this.searchFn=null,this.searchWhileComposing=!0,this.selectOnTab=!1,this.trackByFn=null,this.inputAttrs={},this.openOnEnter=this._defaultOptions?.openOnEnter??!0,this.minTermLength=0,this.editableSearchTerm=!1,this.keyDownFn=ti=>!0,this.virtualScroll=!1,this.typeToSearchText=this._defaultOptions?.typeToSearchText??"Type to search",this.blurEvent=new n.vpe,this.focusEvent=new n.vpe,this.changeEvent=new n.vpe,this.openEvent=new n.vpe,this.closeEvent=new n.vpe,this.searchEvent=new n.vpe,this.clearEvent=new n.vpe,this.addEvent=new n.vpe,this.removeEvent=new n.vpe,this.scroll=new n.vpe,this.scrollToEnd=new n.vpe,this._clearSearchOnAdd=this._defaultOptions?.clearSearchOnAdd,this._items=[],this._itemsAreUsed=!1,this._destroy$=new ce.x,this._value=null,this.stateChanges=new ce.x,this._uid="mtx-select-"+Qi++,this._placeholder=this._defaultOptions?.placeholder,this._focused=!1,this.ariaLabel="",this.ariaLabelledby=null,this._ariaDescribedby=null,this.controlType="mtx-select",this._onChange=()=>{},this._onTouched=()=>{},this._valueId="mtx-select-value-"+Qi++,T.monitor(this._elementRef,!0).subscribe(ti=>{this._focused&&!ti&&this._onTouched(),this._focused=!!ti,this.stateChanges.next()}),this.ngControl&&(this.ngControl.valueAccessor=this),this.id=this.id}ngOnInit(){this.compareWith&&(this.ngSelect.compareWith=this.compareWith)}ngAfterViewInit(){this._itemsAreUsed||this._setItemsFromMtxOptions()}ngDoCheck(){const h=this.ngControl;this.ngControl&&(this._previousControl!==h.control&&(void 0!==this._previousControl&&null!==h.disabled&&h.disabled!==this.disabled&&(this.disabled=h.disabled),this._previousControl=h.control),this.updateErrorState())}ngOnDestroy(){this._destroy$.next(),this._destroy$.complete(),this.stateChanges.complete(),this._focusMonitor.stopMonitoring(this._elementRef)}_getAriaLabelledby(){if(this.ariaLabel)return null;const h=this._parentFormField?.getLabelId();let M=(h?h+" ":"")+this._valueId;return this.ariaLabelledby&&(M+=" "+this.ariaLabelledby),M}setDescribedByIds(h){this._ariaDescribedby=h.length?h.join(" "):null}setDisabledState(h){this.disabled=h,this.readonly=h,this._changeDetectorRef.markForCheck(),this.stateChanges.next()}onContainerClick(h){const M=h.target;/mat-mdc-form-field|mtx-select/g.test(M.parentElement?.classList[0]||"")&&(this.focus(),this.open())}writeValue(h){this.value=h,this._changeDetectorRef.markForCheck()}registerOnChange(h){this._onChange=h}registerOnTouched(h){this._onTouched=h}_setItemsFromMtxOptions(){const h=T=>{this.items=T.map(Re=>({$ngOptionValue:Re.value,$ngOptionLabel:Re.elementRef.nativeElement.innerHTML,disabled:Re.disabled})),this.ngSelect.itemsList.setItems(this.items),this.ngSelect.hasValue&&this.ngSelect.itemsList.mapSelectedItems(),this.ngSelect.detectChanges()},M=()=>{const T=(0,Ae.T)(this.mtxOptions.changes,this._destroy$);(0,Ae.T)(...this.mtxOptions.map(Re=>Re.stateChange$)).pipe((0,E.R)(T)).subscribe(Re=>{const Ge=this.ngSelect.itemsList.findItem(Re.value);Ge.disabled=Re.disabled,Ge.label=Re.label||Ge.label,this.ngSelect.detectChanges()})};this.mtxOptions.changes.pipe((0,Q.O)(this.mtxOptions),(0,E.R)(this._destroy$)).subscribe(T=>{h(T),M()})}open(){this.ngSelect.open()}close(){this.ngSelect.close()}focus(){this.ngSelect.focus()}blur(){this.ngSelect.blur()}openChange(){this.openEvent.emit(),setTimeout(()=>{document.getElementById(this.ngSelect.dropdownId).classList.add("mat-"+this._parentFormField?.color)})}static#e=this.\u0275fac=function(M){return new(M||b)(n.Y36(n.sBO),n.Y36(n.SBq),n.Y36(de.tE),n.Y36(at.rD),n.Y36(w.F,8),n.Y36(w.sg,8),n.Y36(w.a5,10),n.Y36(wt.G_,8),n.Y36(ri,8))};static#t=this.\u0275cmp=n.Xpm({type:b,selectors:[["mtx-select"]],contentQueries:function(M,T,Re){if(1&M&&(n.Suo(Re,fi,5,n.Rgc),n.Suo(Re,zi,5,n.Rgc),n.Suo(Re,Mi,5,n.Rgc),n.Suo(Re,Di,5,n.Rgc),n.Suo(Re,qn,5,n.Rgc),n.Suo(Re,Si,5,n.Rgc),n.Suo(Re,Ti,5,n.Rgc),n.Suo(Re,En,5,n.Rgc),n.Suo(Re,ei,5,n.Rgc),n.Suo(Re,di,5,n.Rgc),n.Suo(Re,_i,5,n.Rgc),n.Suo(Re,wi,5)),2&M){let Ge;n.iGM(Ge=n.CRH())&&(T.optionTemplate=Ge.first),n.iGM(Ge=n.CRH())&&(T.optgroupTemplate=Ge.first),n.iGM(Ge=n.CRH())&&(T.labelTemplate=Ge.first),n.iGM(Ge=n.CRH())&&(T.multiLabelTemplate=Ge.first),n.iGM(Ge=n.CRH())&&(T.headerTemplate=Ge.first),n.iGM(Ge=n.CRH())&&(T.footerTemplate=Ge.first),n.iGM(Ge=n.CRH())&&(T.notFoundTemplate=Ge.first),n.iGM(Ge=n.CRH())&&(T.typeToSearchTemplate=Ge.first),n.iGM(Ge=n.CRH())&&(T.loadingTextTemplate=Ge.first),n.iGM(Ge=n.CRH())&&(T.tagTemplate=Ge.first),n.iGM(Ge=n.CRH())&&(T.loadingSpinnerTemplate=Ge.first),n.iGM(Ge=n.CRH())&&(T.mtxOptions=Ge)}},viewQuery:function(M,T){if(1&M&&n.Gf(Ke,7),2&M){let Re;n.iGM(Re=n.CRH())&&(T.ngSelect=Re.first)}},hostAttrs:["role","combobox","aria-autocomplete","none",1,"mtx-select"],hostVars:20,hostBindings:function(M,T){2&M&&(n.uIk("id",T.id)("aria-expanded",T.panelOpen)("aria-label",T.ariaLabel||null)("aria-labelledby",T._getAriaLabelledby())("aria-describedby",T._ariaDescribedby||null)("aria-required",T.required.toString())("aria-disabled",T.disabled.toString())("aria-invalid",T.errorState),n.ekj("mtx-select-floating",T.shouldLabelFloat)("mtx-select-disabled",T.disabled)("mtx-select-invalid",T.errorState)("mtx-select-required",T.required)("mtx-select-empty",T.empty)("mtx-select-multiple",T.multiple))},inputs:{disabled:"disabled",addTag:"addTag",addTagText:"addTagText",appearance:"appearance",appendTo:"appendTo",bindLabel:"bindLabel",bindValue:"bindValue",closeOnSelect:"closeOnSelect",clearAllText:"clearAllText",clearable:"clearable",clearOnBackspace:"clearOnBackspace",compareWith:"compareWith",dropdownPosition:"dropdownPosition",groupBy:"groupBy",groupValue:"groupValue",selectableGroup:"selectableGroup",selectableGroupAsModel:"selectableGroupAsModel",hideSelected:"hideSelected",isOpen:"isOpen",loading:"loading",loadingText:"loadingText",labelForId:"labelForId",markFirst:"markFirst",maxSelectedItems:"maxSelectedItems",multiple:"multiple",notFoundText:"notFoundText",searchable:"searchable",readonly:"readonly",searchFn:"searchFn",searchWhileComposing:"searchWhileComposing",selectOnTab:"selectOnTab",trackByFn:"trackByFn",inputAttrs:"inputAttrs",tabIndex:"tabIndex",openOnEnter:"openOnEnter",minTermLength:"minTermLength",editableSearchTerm:"editableSearchTerm",keyDownFn:"keyDownFn",virtualScroll:"virtualScroll",typeToSearchText:"typeToSearchText",typeahead:"typeahead",clearSearchOnAdd:"clearSearchOnAdd",items:"items",value:"value",id:"id",placeholder:"placeholder",required:"required",errorStateMatcher:"errorStateMatcher",ariaLabel:["aria-label","ariaLabel"],ariaLabelledby:["aria-labelledby","ariaLabelledby"]},outputs:{blurEvent:"blur",focusEvent:"focus",changeEvent:"change",openEvent:"open",closeEvent:"close",searchEvent:"search",clearEvent:"clear",addEvent:"add",removeEvent:"remove",scroll:"scroll",scrollToEnd:"scrollToEnd"},exportAs:["mtxSelect"],features:[n._Bn([{provide:wt.Eo,useExisting:b}]),n.qOj],decls:13,vars:58,consts:[[3,"ngModel","ngModelOptions","placeholder","items","addTag","addTagText","appendTo","appearance","bindLabel","bindValue","closeOnSelect","clearAllText","clearable","clearOnBackspace","dropdownPosition","groupBy","groupValue","hideSelected","isOpen","inputAttrs","loading","loadingText","labelForId","markFirst","maxSelectedItems","multiple","notFoundText","readonly","typeahead","typeToSearchText","trackByFn","searchable","searchFn","searchWhileComposing","clearSearchOnAdd","selectableGroup","selectableGroupAsModel","selectOnTab","tabIndex","openOnEnter","minTermLength","editableSearchTerm","keyDownFn","virtualScroll","ngModelChange","blur","focus","change","open","close","search","clear","add","remove","scroll","scrollToEnd"],["ngSelect",""],[4,"ngIf"],["ng-option-tmp",""],[3,"ngTemplateOutlet","ngTemplateOutletContext"],["ng-optgroup-tmp",""],["ng-label-tmp",""],["ng-multi-label-tmp",""],["ng-header-tmp",""],[3,"ngTemplateOutlet"],["ng-footer-tmp",""],["ng-notfound-tmp",""],["ng-typetosearch-tmp",""],["ng-loadingtext-tmp",""],["ng-tag-tmp",""],["ng-loadingspinner-tmp",""]],template:function(M,T){1&M&&(n.TgZ(0,"ng-select",0,1),n.NdJ("ngModelChange",function(Ge){return T.value=Ge})("blur",function(){return T.blurEvent.emit()})("focus",function(){return T.focusEvent.emit()})("change",function(){return T.changeEvent.emit()})("open",function(){return T.openChange()})("close",function(){return T.closeEvent.emit()})("search",function(Ge){return T.searchEvent.emit(Ge)})("clear",function(){return T.clearEvent.emit()})("add",function(){return T.addEvent.emit()})("remove",function(){return T.removeEvent.emit()})("scroll",function(Ge){return T.scroll.emit(Ge)})("scrollToEnd",function(){return T.scrollToEnd.emit()}),n.YNc(2,dt,2,0,"ng-container",2),n.YNc(3,Nt,2,0,"ng-container",2),n.YNc(4,jn,2,0,"ng-container",2),n.YNc(5,gi,2,0,"ng-container",2),n.YNc(6,Ci,2,0,"ng-container",2),n.YNc(7,oi,2,0,"ng-container",2),n.YNc(8,Et,2,0,"ng-container",2),n.YNc(9,x,2,0,"ng-container",2),n.YNc(10,Ze,2,0,"ng-container",2),n.YNc(11,Yt,2,0,"ng-container",2),n.YNc(12,Fn,2,0,"ng-container",2),n.qZA()),2&M&&(n.ekj("ng-select-invalid",T.errorState),n.Q6J("ngModel",T.value)("ngModelOptions",n.DdM(57,xi))("placeholder",T.placeholder)("items",T.items)("addTag",T.addTag)("addTagText",T.addTagText)("appendTo",T.appendTo)("appearance",T.appearance)("bindLabel",T.bindLabel)("bindValue",T.bindValue)("closeOnSelect",T.closeOnSelect)("clearAllText",T.clearAllText)("clearable",T.clearable)("clearOnBackspace",T.clearOnBackspace)("dropdownPosition",T.dropdownPosition)("groupBy",T.groupBy)("groupValue",T.groupValue)("hideSelected",T.hideSelected)("isOpen",T.isOpen)("inputAttrs",T.inputAttrs)("loading",T.loading)("loadingText",T.loadingText)("labelForId",T.labelForId)("markFirst",T.markFirst)("maxSelectedItems",T.maxSelectedItems)("multiple",T.multiple)("notFoundText",T.notFoundText)("readonly",T.readonly)("typeahead",T.typeahead)("typeToSearchText",T.typeToSearchText)("trackByFn",T.trackByFn)("searchable",T.searchable)("searchFn",T.searchFn)("searchWhileComposing",T.searchWhileComposing)("clearSearchOnAdd",T.clearSearchOnAdd)("selectableGroup",T.selectableGroup)("selectableGroupAsModel",T.selectableGroupAsModel)("selectOnTab",T.selectOnTab)("tabIndex",T.tabIndex)("openOnEnter",T.openOnEnter)("minTermLength",T.minTermLength)("editableSearchTerm",T.editableSearchTerm)("keyDownFn",T.keyDownFn)("virtualScroll",T.virtualScroll),n.xp6(2),n.Q6J("ngIf",T.optionTemplate),n.xp6(1),n.Q6J("ngIf",T.optgroupTemplate),n.xp6(1),n.Q6J("ngIf",T.labelTemplate),n.xp6(1),n.Q6J("ngIf",T.multiLabelTemplate),n.xp6(1),n.Q6J("ngIf",T.headerTemplate),n.xp6(1),n.Q6J("ngIf",T.footerTemplate),n.xp6(1),n.Q6J("ngIf",T.notFoundTemplate),n.xp6(1),n.Q6J("ngIf",T.typeToSearchTemplate),n.xp6(1),n.Q6J("ngIf",T.loadingTextTemplate),n.xp6(1),n.Q6J("ngIf",T.tagTemplate),n.xp6(1),n.Q6J("ngIf",T.loadingSpinnerTemplate))},dependencies:[l.O5,l.tP,w.JJ,w.On,S,lt,Be,ht,mt,Mt,ln,Wt,Kt,$t,An,bn,zi,fi,Mi,Di,qn,Si,Ti,En,ei,di,_i],styles:['.ng-select{padding-right:16px;padding-left:16px;margin-right:-16px;margin-left:-16px}.ng-select .ng-select-container{align-items:center;color:var(--mtx-select-container-text-color)}.ng-select .ng-select-container .ng-value-container{align-items:center}.ng-select .ng-select-container .ng-value-container .ng-input>input{padding:0;color:inherit;font:inherit}.ng-select .ng-select-container .ng-clear-wrapper{width:24px;text-align:center}.ng-select .ng-placeholder{transition:opacity .2s;opacity:1;color:var(--mtx-select-placeholder-text-color)}.mat-form-field-hide-placeholder .ng-select .ng-placeholder{opacity:0}.ng-select .ng-has-value .ng-placeholder{display:none}.ng-select .ng-clear-wrapper{color:var(--mtx-select-clear-icon-color)}.ng-select .ng-clear-wrapper:hover .ng-clear{color:var(--mtx-select-clear-icon-hover-color)}.ng-select.ng-select-disabled .ng-value{color:var(--mtx-select-disabled-text-color)}.ng-select.ng-select-opened .ng-arrow-wrapper .ng-arrow{top:-2px;border-width:0 5px 5px}.ng-select.ng-select-single.ng-select-filtered .ng-placeholder{display:initial;visibility:hidden}.ng-select.ng-select-single .ng-select-container .ng-value-container .ng-placeholder:after,.ng-select.ng-select-single .ng-select-container .ng-value-container .ng-value:after{display:inline-block;content:""}.ng-select.ng-select-multiple .ng-select-container .ng-value-container .ng-value{margin:2px 4px 2px 0;border-radius:16px;font-size:.875em;line-height:18px;background-color:var(--mtx-select-multiple-value-background-color);border:1px solid var(--mtx-select-multiple-value-border-color)}[dir=rtl] .ng-select.ng-select-multiple .ng-select-container .ng-value-container .ng-value{margin-right:auto;margin-left:4px}.ng-select.ng-select-multiple .ng-select-container .ng-value-container .ng-value.ng-value-disabled{opacity:.4}.ng-select.ng-select-multiple .ng-select-container .ng-value-container .ng-value .ng-value-label{display:inline-block;margin:0 8px}.ng-select.ng-select-multiple .ng-select-container .ng-value-container .ng-value .ng-value-icon{display:inline-block;width:18px;height:18px;border-radius:100%;text-align:center}.ng-select.ng-select-multiple .ng-select-container .ng-value-container .ng-value .ng-value-icon.left{margin-right:-4px}[dir=rtl] .ng-select.ng-select-multiple .ng-select-container .ng-value-container .ng-value .ng-value-icon.left{margin-left:-4px;margin-right:auto}.ng-select.ng-select-multiple .ng-select-container .ng-value-container .ng-value .ng-value-icon.right{margin-left:-4px}[dir=rtl] .ng-select.ng-select-multiple .ng-select-container .ng-value-container .ng-value .ng-value-icon.right{margin-right:-4px;margin-left:auto}.ng-select.ng-select-multiple .ng-select-container .ng-value-container .ng-value .ng-value-icon:hover{background-color:var(--mtx-select-multiple-value-icon-hover-background-color)}.ng-select .ng-arrow-wrapper{width:10px}.ng-select .ng-arrow{border-width:5px 5px 2px;border-style:solid;border-color:var(--mtx-select-enabled-arrow-color) transparent transparent}.ng-select.ng-select-disabled .ng-arrow{border-color:var(--mtx-select-disabled-arrow-color) transparent transparent}.ng-select.ng-select-invalid .ng-arrow{border-color:var(--mtx-select-invalid-arrow-color) transparent transparent}.ng-select.ng-select-opened .ng-arrow{border-color:transparent transparent var(--mtx-select-enabled-arrow-color)}.ng-select.ng-select-opened.ng-select-invalid .ng-arrow{border-color:transparent transparent var(--mtx-select-invalid-arrow-color)}.ng-dropdown-panel{background-color:var(--mtx-select-panel-background-color)}.ng-dropdown-panel.ng-select-bottom{top:100%;border-bottom-left-radius:4px;border-bottom-right-radius:4px;box-shadow:0 5px 5px -3px #0003,0 8px 10px 1px #00000024,0 3px 14px 2px #0000001f}.ng-dropdown-panel.ng-select-top{bottom:100%;border-top-left-radius:4px;border-top-right-radius:4px;box-shadow:0 5px 5px -3px #0003,0 8px 10px 1px #00000024,0 3px 14px 2px #0000001f}.ng-dropdown-panel .ng-dropdown-header,.ng-dropdown-panel .ng-dropdown-footer{padding:14px 16px}.ng-dropdown-panel .ng-dropdown-header{border-bottom:1px solid var(--mtx-select-panel-divider-color)}.ng-dropdown-panel .ng-dropdown-footer{border-top:1px solid var(--mtx-select-panel-divider-color)}.ng-dropdown-panel .ng-dropdown-panel-items .ng-optgroup{padding:14px 16px;font-weight:500;-webkit-user-select:none;user-select:none;cursor:pointer;color:var(--mtx-select-optgroup-label-text-color)}.ng-dropdown-panel .ng-dropdown-panel-items .ng-optgroup.ng-option-disabled{cursor:default}.ng-dropdown-panel .ng-dropdown-panel-items .ng-optgroup.ng-option-marked{background-color:var(--mtx-select-option-hover-state-background-color)}.ng-dropdown-panel .ng-dropdown-panel-items .ng-optgroup.ng-option-selected{background-color:var(--mtx-select-option-selected-state-background-color);color:var(--mtx-select-option-selected-state-text-color)}.ng-dropdown-panel .ng-dropdown-panel-items .ng-option{position:relative;padding:14px 16px;text-overflow:ellipsis;text-decoration:none;text-align:left;white-space:nowrap;overflow:hidden;color:var(--mtx-select-option-label-text-color)}.ng-dropdown-panel .ng-dropdown-panel-items .ng-option.ng-option-marked{background-color:var(--mtx-select-option-hover-state-background-color)}.ng-dropdown-panel .ng-dropdown-panel-items .ng-option.ng-option-selected{background-color:var(--mtx-select-option-selected-state-background-color);color:var(--mtx-select-option-selected-state-text-color)}.ng-dropdown-panel .ng-dropdown-panel-items .ng-option.ng-option-disabled{color:var(--mtx-select-option-disabled-state-text-color)}[dir=rtl] .ng-dropdown-panel .ng-dropdown-panel-items .ng-option{text-align:right}.ng-dropdown-panel .ng-dropdown-panel-items .ng-option.ng-option-child{padding-left:32px}[dir=rtl] .ng-dropdown-panel .ng-dropdown-panel-items .ng-option.ng-option-child{padding-right:32px;padding-left:0}.ng-dropdown-panel .ng-dropdown-panel-items .ng-option .ng-tag-label{margin-right:6px;font-size:80%}[dir=rtl] .ng-dropdown-panel .ng-dropdown-panel-items .ng-option .ng-tag-label{margin-left:6px;margin-right:0}\n'],encapsulation:2,changeDetection:0})}return b})(),Ji=(()=>{class b{static#e=this.\u0275fac=function(M){return new(M||b)};static#t=this.\u0275mod=n.oAB({type:b});static#n=this.\u0275inj=n.cJS({imports:[l.ez,w.u5,w.UX,yt]})}return b})()},7066:(_t,Me,p)=>{p.d(Me,{Z:()=>se});var w=p(8418);const H=function E(ue,ze){for(var oe=ue.length;oe--;)if((0,w.Z)(ue[oe][0],ze))return oe;return-1};var ne=Array.prototype.splice;function Le(ue){var ze=-1,oe=null==ue?0:ue.length;for(this.clear();++ze-1},Le.prototype.set=function De(ue,ze){var oe=this.__data__,N=H(oe,ue);return N<0?(++this.size,oe.push([ue,ze])):oe[N][1]=ze,this};const se=Le},2847:(_t,Me,p)=>{p.d(Me,{Z:()=>E});var n=p(2656),l=p(4131);const E=(0,n.Z)(l.Z,"Map")},8410:(_t,Me,p)=>{p.d(Me,{Z:()=>Se});const w=(0,p(2656).Z)(Object,"create");var J=Object.prototype.hasOwnProperty;var De=Object.prototype.hasOwnProperty;function oe(L){var V=-1,Pe=null==L?0:L.length;for(this.clear();++V{p.d(Me,{Z:()=>Le});var n=p(7066);var J=p(2847),xe=p(8410);function Ae(se){var ue=this.__data__=new n.Z(se);this.size=ue.size}Ae.prototype.clear=function l(){this.__data__=new n.Z,this.size=0},Ae.prototype.delete=function E(se){var ue=this.__data__,ze=ue.delete(se);return this.size=ue.size,ze},Ae.prototype.get=function Q(se){return this.__data__.get(se)},Ae.prototype.has=function we(se){return this.__data__.has(se)},Ae.prototype.set=function ce(se,ue){var ze=this.__data__;if(ze instanceof n.Z){var oe=ze.__data__;if(!J.Z||oe.length<199)return oe.push([se,ue]),this.size=++ze.size,this;ze=this.__data__=new xe.Z(oe)}return ze.set(se,ue),this.size=ze.size,this};const Le=Ae},6875:(_t,Me,p)=>{p.d(Me,{Z:()=>w});const w=p(4131).Z.Symbol},8475:(_t,Me,p)=>{p.d(Me,{Z:()=>w});const w=p(4131).Z.Uint8Array},5423:(_t,Me,p)=>{p.d(Me,{Z:()=>K});var w=p(3844),E=p(1196);const ne=function Q(ve){return(0,E.Z)(ve)&&"[object Arguments]"==(0,w.Z)(ve)};var we=Object.prototype,ie=we.hasOwnProperty,J=we.propertyIsEnumerable;const fe=ne(function(){return arguments}())?ne:function(ve){return(0,E.Z)(ve)&&ie.call(ve,"callee")&&!J.call(ve,"callee")};var ce=p(9977),De=p(9354),Le=/^(?:0|[1-9]\d*)$/;const ue=function se(ve,ye){var He=typeof ve;return!!(ye=ye??9007199254740991)&&("number"==He||"symbol"!=He&&Le.test(ve))&&ve>-1&&ve%1==0&&ve{p.d(Me,{Z:()=>l});const l=function n(w,E){for(var H=-1,Q=E.length,ne=w.length;++H{p.d(Me,{Z:()=>E});var n=p(4331),l=p(9977);const E=function w(H,Q,ne){var we=Q(H);return(0,l.Z)(H)?we:(0,n.Z)(we,ne(H))}},3844:(_t,Me,p)=>{p.d(Me,{Z:()=>Le});var n=p(6875),l=Object.prototype,w=l.hasOwnProperty,E=l.toString,H=n.Z?n.Z.toStringTag:void 0;var ie=Object.prototype.toString;var De=n.Z?n.Z.toStringTag:void 0;const Le=function Ae(se){return null==se?void 0===se?"[object Undefined]":"[object Null]":De&&De in Object(se)?function Q(se){var ue=w.call(se,H),ze=se[H];try{se[H]=void 0;var oe=!0}catch{}var N=E.call(se);return oe&&(ue?se[H]=ze:delete se[H]),N}(se):function J(se){return ie.call(se)}(se)}},8733:(_t,Me,p)=>{p.d(Me,{Z:()=>l});const l=function n(w){return function(E){return w(E)}}},7806:(_t,Me,p)=>{p.d(Me,{Z:()=>l});const l="object"==typeof global&&global&&global.Object===Object&&global},6721:(_t,Me,p)=>{p.d(Me,{Z:()=>H});var n=p(6982),l=p(3774),w=p(0);const H=function E(Q){return(0,n.Z)(Q,w.Z,l.Z)}},2656:(_t,Me,p)=>{p.d(Me,{Z:()=>Ce});var K,n=p(4842),w=p(4131).Z["__core-js_shared__"],H=(K=/[^.]+$/.exec(w&&w.keys&&w.keys.IE_PROTO||""))?"Symbol(src)_1."+K:"";var we=p(5829),ie=p(8594),xe=/^\[object .+?Constructor\]$/,Le=RegExp("^"+Function.prototype.toString.call(Object.prototype.hasOwnProperty).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");const ue=function se(K){return!(!(0,we.Z)(K)||function Q(K){return!!H&&H in K}(K))&&((0,n.Z)(K)?Le:xe).test((0,ie.Z)(K))},Ce=function N(K,ve){var ye=function ze(K,ve){return K?.[ve]}(K,ve);return ue(ye)?ye:void 0}},3774:(_t,Me,p)=>{p.d(Me,{Z:()=>we});var w=p(3534),H=Object.prototype.propertyIsEnumerable,Q=Object.getOwnPropertySymbols;const we=Q?function(ie){return null==ie?[]:(ie=Object(ie),function n(ie,J){for(var xe=-1,fe=null==ie?0:ie.length,ce=0,De=[];++xe{p.d(Me,{Z:()=>He});var n=p(2656),l=p(4131);const E=(0,n.Z)(l.Z,"DataView");var H=p(2847);const ne=(0,n.Z)(l.Z,"Promise"),ie=(0,n.Z)(l.Z,"Set"),xe=(0,n.Z)(l.Z,"WeakMap");var fe=p(3844),ce=p(8594),De="[object Map]",Le="[object Promise]",se="[object Set]",ue="[object WeakMap]",ze="[object DataView]",oe=(0,ce.Z)(E),N=(0,ce.Z)(H.Z),Ce=(0,ce.Z)(ne),K=(0,ce.Z)(ie),ve=(0,ce.Z)(xe),ye=fe.Z;(E&&ye(new E(new ArrayBuffer(1)))!=ze||H.Z&&ye(new H.Z)!=De||ne&&ye(ne.resolve())!=Le||ie&&ye(new ie)!=se||xe&&ye(new xe)!=ue)&&(ye=function(ft){var ct=(0,fe.Z)(ft),xt="[object Object]"==ct?ft.constructor:void 0,Ut=xt?(0,ce.Z)(xt):"";if(Ut)switch(Ut){case oe:return ze;case N:return De;case Ce:return Le;case K:return se;case ve:return ue}return ct});const He=ye},801:(_t,Me,p)=>{p.d(Me,{Z:()=>w});var n=Object.prototype;const w=function l(E){var H=E&&E.constructor;return E===("function"==typeof H&&H.prototype||n)}},5527:(_t,Me,p)=>{p.d(Me,{Z:()=>ne});var n=p(7806),l="object"==typeof exports&&exports&&!exports.nodeType&&exports,w=l&&"object"==typeof module&&module&&!module.nodeType&&module,H=w&&w.exports===l&&n.Z.process;const ne=function(){try{return w&&w.require&&w.require("util").types||H&&H.binding&&H.binding("util")}catch{}}()},2667:(_t,Me,p)=>{p.d(Me,{Z:()=>l});const l=function n(w,E){return function(H){return w(E(H))}}},4131:(_t,Me,p)=>{p.d(Me,{Z:()=>E});var n=p(7806),l="object"==typeof self&&self&&self.Object===Object&&self;const E=n.Z||l||Function("return this")()},8594:(_t,Me,p)=>{p.d(Me,{Z:()=>E});var l=Function.prototype.toString;const E=function w(H){if(null!=H){try{return l.call(H)}catch{}try{return H+""}catch{}}return""}},8418:(_t,Me,p)=>{p.d(Me,{Z:()=>l});const l=function n(w,E){return w===E||w!=w&&E!=E}},9977:(_t,Me,p)=>{p.d(Me,{Z:()=>l});const l=Array.isArray},6247:(_t,Me,p)=>{p.d(Me,{Z:()=>E});var n=p(4842),l=p(4018);const E=function w(H){return null!=H&&(0,l.Z)(H.length)&&!(0,n.Z)(H)}},9354:(_t,Me,p)=>{p.d(Me,{Z:()=>J});var n=p(4131),E="object"==typeof exports&&exports&&!exports.nodeType&&exports,H=E&&"object"==typeof module&&module&&!module.nodeType&&module,ne=H&&H.exports===E?n.Z.Buffer:void 0;const J=(ne?ne.isBuffer:void 0)||function l(){return!1}},4842:(_t,Me,p)=>{p.d(Me,{Z:()=>we});var n=p(3844),l=p(5829);const we=function ne(ie){if(!(0,l.Z)(ie))return!1;var J=(0,n.Z)(ie);return"[object Function]"==J||"[object GeneratorFunction]"==J||"[object AsyncFunction]"==J||"[object Proxy]"==J}},4018:(_t,Me,p)=>{p.d(Me,{Z:()=>w});const w=function l(E){return"number"==typeof E&&E>-1&&E%1==0&&E<=9007199254740991}},5829:(_t,Me,p)=>{p.d(Me,{Z:()=>l});const l=function n(w){var E=typeof w;return null!=w&&("object"==E||"function"==E)}},1196:(_t,Me,p)=>{p.d(Me,{Z:()=>l});const l=function n(w){return null!=w&&"object"==typeof w}},7227:(_t,Me,p)=>{p.d(Me,{Z:()=>Y});var n=p(3844),l=p(4018),w=p(1196),ct={};ct["[object Float32Array]"]=ct["[object Float64Array]"]=ct["[object Int8Array]"]=ct["[object Int16Array]"]=ct["[object Int32Array]"]=ct["[object Uint8Array]"]=ct["[object Uint8ClampedArray]"]=ct["[object Uint16Array]"]=ct["[object Uint32Array]"]=!0,ct["[object Arguments]"]=ct["[object Array]"]=ct["[object ArrayBuffer]"]=ct["[object Boolean]"]=ct["[object DataView]"]=ct["[object Date]"]=ct["[object Error]"]=ct["[object Function]"]=ct["[object Map]"]=ct["[object Number]"]=ct["[object Object]"]=ct["[object RegExp]"]=ct["[object Set]"]=ct["[object String]"]=ct["[object WeakMap]"]=!1;var It=p(8733),sn=p(5527),Xe=sn.Z&&sn.Z.isTypedArray;const Y=Xe?(0,It.Z)(Xe):function xt(P){return(0,w.Z)(P)&&(0,l.Z)(P.length)&&!!ct[(0,n.Z)(P)]}},0:(_t,Me,p)=>{p.d(Me,{Z:()=>fe});var n=p(5423),l=p(801);const H=(0,p(2667).Z)(Object.keys,Object);var ne=Object.prototype.hasOwnProperty;var J=p(6247);const fe=function xe(ce){return(0,J.Z)(ce)?(0,n.Z)(ce):function we(ce){if(!(0,l.Z)(ce))return H(ce);var De=[];for(var Ae in Object(ce))ne.call(ce,Ae)&&"constructor"!=Ae&&De.push(Ae);return De}(ce)}},3534:(_t,Me,p)=>{p.d(Me,{Z:()=>l});const l=function n(){return[]}},8877:(_t,Me,p)=>{function n(Qe,Dt,qe,Et,A,q,x){try{var Z=Qe[q](x),he=Z.value}catch(Ze){return void qe(Ze)}Z.done?Dt(he):Promise.resolve(he).then(Et,A)}function l(Qe){return function(){var Dt=this,qe=arguments;return new Promise(function(Et,A){var q=Qe.apply(Dt,qe);function x(he){n(q,Et,A,x,Z,"next",he)}function Z(he){n(q,Et,A,x,Z,"throw",he)}x(void 0)})}}p.d(Me,{T2:()=>Sn,nm:()=>oi});var w=p(5879),E=p(5619),H=p(5592),Q=p(8645),ne=p(6814),we=p(6223),ie=p(5829),J=p(4131);const fe=function(){return J.Z.Date.now()};var ce=/\s/;var Le=/^\s+/;const ue=function se(Qe){return Qe&&Qe.slice(0,function De(Qe){for(var Dt=Qe.length;Dt--&&ce.test(Qe.charAt(Dt)););return Dt}(Qe)+1).replace(Le,"")};var ze=p(3844),oe=p(1196);var ye=/^[-+]0x[0-9a-f]+$/i,He=/^0b[01]+$/i,ft=/^0o[0-7]+$/i,ct=parseInt;const Ut=function xt(Qe){if("number"==typeof Qe)return Qe;if(function Ce(Qe){return"symbol"==typeof Qe||(0,oe.Z)(Qe)&&"[object Symbol]"==(0,ze.Z)(Qe)}(Qe))return NaN;if((0,ie.Z)(Qe)){var Dt="function"==typeof Qe.valueOf?Qe.valueOf():Qe;Qe=(0,ie.Z)(Dt)?Dt+"":Dt}if("string"!=typeof Qe)return 0===Qe?Qe:+Qe;Qe=ue(Qe);var qe=He.test(Qe);return qe||ft.test(Qe)?ct(Qe.slice(2),qe?2:8):ye.test(Qe)?NaN:+Qe};var sn=Math.max,Xe=Math.min;var P=p(8730),ae=p(8410);function re(Qe){var Dt=-1,qe=null==Qe?0:Qe.length;for(this.__data__=new ae.Z;++DtZ))return!1;var Ze=q.get(Qe),gt=q.get(Dt);if(Ze&>)return Ze==Dt&>==Qe;var Jt=-1,Yt=!0,Hn=2&qe?new je:void 0;for(q.set(Qe,Dt),q.set(Dt,Qe);++Jt{class Qe{baseUrl;dynamicImport;defaultOptions;autoLayoutInterval;static \u0275fac=function(Et){return new(Et||Qe)};static \u0275prov=w.Yz7({token:Qe,factory:Qe.\u0275fac,providedIn:"root"})}return Qe})(),jn=(()=>{class Qe{monacoEditorConfig;_theme;_monaco;_loadingPromise;theme$$=new E.X(this.theme);theme$=this.theme$$.asObservable();get themes(){return["vs","vs-dark"]}get theme(){return this._theme}get monaco(){return this._monaco||window.monaco}get require(){return window.require}constructor(qe){this.monacoEditorConfig=qe,this._theme=this.monacoEditorConfig.defaultOptions?.theme??this.themes[0]}initMonaco(){var qe=this;return l(function*(){return qe._loadingPromise||(qe._loadingPromise=qe.loadMonaco())})()}loadModule(qe){return new Promise(Et=>this.require(qe,Et))}toggleTheme(){this.changeTheme(this.themes.find(qe=>qe!==this.theme))}changeTheme(qe){this.assertMonaco(),this._theme=qe,this.monaco.editor.setTheme(qe),this.theme$$.next(this.theme)}getEditorOptions(qe){return{...this.monacoEditorConfig.defaultOptions,theme:this.theme,...qe}}create(qe,Et){return this.assertMonaco(),this.monaco.editor.create(qe,this.getEditorOptions(Et))}createDiffEditor(qe,Et){return this.assertMonaco(),this.monaco.editor.createDiffEditor(qe,{renderSideBySide:!1,enableSplitViewResizing:!1,...this.getEditorOptions(Et)})}colorizeElement(qe,Et){return this.assertMonaco(),this.monaco.editor.colorizeElement(qe,{theme:this.theme,...Et})}getLanguageExtensionPoint(qe){return this.assertMonaco(),this.monaco.languages.getLanguages().find(({aliases:Et,id:A})=>Et?.includes(qe)||A===qe)}configAmdLoader(qe){return new Promise((Et,A)=>{if(this.monaco&&this.require)return Et();const q=document.createElement("script");q.type="text/javascript",q.src=[this.monacoEditorConfig.baseUrl,"vs/loader.js"].filter(x=>!!x).join("/"),q.addEventListener("load",()=>{this.require.config({baseUrl:qe,paths:{vs:"vs"}}),Et()}),q.addEventListener("error",A),document.body.append(q)})}assertMonaco(){if(!this.monaco)throw new Error("`monaco` has not been initialized, please call `initMonaco()` first")}loadMonaco(){var qe=this;return l(function*(){if(qe.monacoEditorConfig.dynamicImport)return qe.monacoEditorConfig.dynamicImport().then(Et=>qe._monaco=Et);if(null!=qe.monacoEditorConfig.baseUrl)return yield qe.configAmdLoader(qe.monacoEditorConfig.baseUrl),qe.loadModule(["vs/editor/editor.main"]).then(Et=>qe._monaco=Et);if(!window.monaco)throw new Error("No `monaco` found on `window`");return window.monaco})()}static \u0275fac=function(Et){return new(Et||Qe)(w.LFG(Ln))};static \u0275prov=w.Yz7({token:Qe,factory:Qe.\u0275fac,providedIn:"root"})}return Qe})(),gi=(()=>{class Qe{monacoEditorConfig;monacoProvider;cdr;options;modelUri;editorChange=new w.vpe;editorBlur=new w.vpe;modelId;monacoContainer;monacoAnchor;_rootEditor;get rootEditor(){return this._rootEditor??this.editor}set rootEditor(qe){this._rootEditor=qe}editor;model;_monacoLoaded=!1;get monacoLoaded(){return this._monacoLoaded}_destroyed=!1;get destroyed(){return this._destroyed}destroy$$=new Q.x;get value(){return this._value}_value="";_prevOptions;_disposables=[];constructor(qe,Et,A){this.monacoEditorConfig=qe,this.monacoProvider=Et,this.cdr=A}ngOnInit(){this.resetEditor()}ngAfterViewInit(){const qe=this.monacoEditorConfig.autoLayoutInterval??100;qe&&((Qe,Dt)=>new H.y(qe=>{const Et=new ResizeObserver(A=>{for(const q of A)qe.next(q.target)});return Et.observe(Qe,undefined),()=>{Et.unobserve(Qe),Et.disconnect()}}))(this.monacoContainer.nativeElement).pipe((0,dt.R)(this.destroy$$)).subscribe(function At(Qe,Dt,qe){var Et,A,q,x,Z,he,Ze=0,gt=!1,Jt=!1,Yt=!0;if("function"!=typeof Qe)throw new TypeError("Expected a function");function Hn(qn){var Si=Et,Ti=A;return Et=A=void 0,Ze=qn,x=Qe.apply(Ti,Si)}function xi(qn){var Si=qn-he;return void 0===he||Si>=Dt||Si<0||Jt&&qn-Ze>=q}function wi(){var qn=fe();if(xi(qn))return fi(qn);Z=setTimeout(wi,function Fn(qn){var En=Dt-(qn-he);return Jt?Xe(En,q-(qn-Ze)):En}(qn))}function fi(qn){return Z=void 0,Yt&&Et?Hn(qn):(Et=A=void 0,x)}function Di(){var qn=fe(),Si=xi(qn);if(Et=arguments,A=this,he=qn,Si){if(void 0===Z)return function ci(qn){return Ze=qn,Z=setTimeout(wi,Dt),gt?Hn(qn):x}(he);if(Jt)return clearTimeout(Z),Z=setTimeout(wi,Dt),Hn(he)}return void 0===Z&&(Z=setTimeout(wi,Dt)),x}return Dt=Ut(Dt)||0,(0,ie.Z)(qe)&&(gt=!!qe.leading,q=(Jt="maxWait"in qe)?sn(Ut(qe.maxWait)||0,Dt):q,Yt="trailing"in qe?!!qe.trailing:Yt),Di.cancel=function zi(){void 0!==Z&&clearTimeout(Z),Ze=0,Et=he=A=Z=void 0},Di.flush=function Mi(){return void 0===Z?x:fi(fe())},Di}(()=>{this.editor&&this.editor.layout()},qe))}ngOnChanges({modelUri:qe,options:Et}){if(qe&&!qe.isFirstChange()&&this.resetEditor(),Et){const A=Et.currentValue;this._prevOptions&&!Ve(this._prevOptions,A)&&this.rootEditor.updateOptions(A),this._prevOptions=A}}ngOnDestroy(){this.dispose(),this._destroyed=!0}dispose(){this.rootEditor?.dispose(),this.model&&!this.model.isDisposed()&&this.model.dispose(),this._disposables.forEach(qe=>qe.dispose()),this.rootEditor=this.editor=null,this.model=null,this._disposables=[]}onChange=qe=>{};onTouched=()=>{};writeValue(qe){this._value=qe||"",this.editor&&this.model.setValue(this._value)}registerOnChange(qe){this.onChange=qe}registerOnTouched(qe){this.onTouched=qe}createModel(qe,Et){const{monaco:A}=this.monacoProvider;return A.editor.createModel(qe,this.options.language,Et?A.Uri.parse(Et):void 0)}resetEditor(){var qe=this;return l(function*(){qe.monacoLoaded?qe.dispose():(yield qe.monacoProvider.initMonaco(),qe._monacoLoaded=!0),qe.destroyed||(qe.editor=qe.createEditor(),qe.listenModelChanges(),qe.editorChange.emit(qe.editor),qe.modelId=qe.model.id,qe.cdr.markForCheck())})()}listenModelChanges(){const qe=this.editor,Et=this.model;this._disposables=[Et.onDidChangeContent(()=>{const A=Et.getValue();this._value!==A&&(this.onChange(A),this._value=A,this.cdr.markForCheck())}),qe.onDidChangeModel(()=>{this.cdr.markForCheck()}),qe.onDidBlurEditorWidget(()=>{this.onTouched(),this.editorBlur.emit()})]}static \u0275fac=function(Et){return new(Et||Qe)(w.Y36(Ln),w.Y36(jn),w.Y36(w.sBO))};static \u0275dir=w.lG2({type:Qe,viewQuery:function(Et,A){if(1&Et&&(w.Gf(Rt,7),w.Gf(Ht,7)),2&Et){let q;w.iGM(q=w.CRH())&&(A.monacoContainer=q.first),w.iGM(q=w.CRH())&&(A.monacoAnchor=q.first)}},hostVars:1,hostBindings:function(Et,A){2&Et&&w.uIk("model-id",A.modelId)},inputs:{options:"options",modelUri:"modelUri"},outputs:{editorChange:"editorChange",editorBlur:"editorBlur"},features:[w.TTD]})}return Qe})(),Sn=(()=>{class Qe extends gi{createEditor(){return this.model=this.createModel(this.value,this.modelUri),this.monacoProvider.create(this.monacoAnchor.nativeElement,{...this.options,model:this.model})}static \u0275fac=function(){let qe;return function(A){return(qe||(qe=w.n5z(Qe)))(A||Qe)}}();static \u0275cmp=w.Xpm({type:Qe,selectors:[["ng-monaco-editor"]],features:[w._Bn([{provide:we.JU,useExisting:(0,w.Gpc)(()=>Qe),multi:!0}]),w.qOj],decls:5,vars:1,consts:[[1,"ng-monaco-editor-container"],["monacoContainer",""],["class","ng-monaco-editor-spinner",4,"ngIf"],[1,"ng-monaco-editor-container__monaco-anchor"],["monacoAnchor",""],[1,"ng-monaco-editor-spinner"],[1,"ng-monaco-editor-spinner__double-bounce1"],[1,"ng-monaco-editor-spinner__double-bounce2"]],template:function(Et,A){1&Et&&(w.TgZ(0,"div",0,1),w.YNc(2,nn,3,0,"div",2),w._UZ(3,"div",3,4),w.qZA()),2&Et&&(w.xp6(2),w.Q6J("ngIf",!A.monacoLoaded))},dependencies:[ne.O5],styles:["ng-monaco-editor,ng-monaco-diff-editor{display:block}.ng-monaco-editor-container{height:100%}.ng-monaco-editor-container__monaco-anchor{width:100%;height:100%}.ng-monaco-editor-container__monaco-anchor .monaco-diff-editor,.ng-monaco-editor-container__monaco-anchor .monaco-editor{flex:1}.ng-monaco-editor-container,.ng-monaco-editor-container__monaco-anchor{flex:1;display:flex;flex-flow:column}.ng-monaco-editor-spinner{width:40px;height:40px;position:absolute;top:50%;left:50%}.ng-monaco-editor-spinner__double-bounce1,.ng-monaco-editor-spinner__double-bounce2{width:100%;height:100%;border-radius:50%;background-color:#333;opacity:.6;position:absolute;top:0;left:0;animation:sk-bounce 2s infinite ease-in-out}.ng-monaco-editor-spinner__double-bounce2{animation-delay:-1s}@keyframes sk-bounce{0%,to{transform:scale(0)}50%{transform:scale(1)}}\n"],encapsulation:2,changeDetection:0})}return Qe})();const Vn={provide:jn,deps:[[new w.FiY,new w.tp0,jn],Ln],useFactory:function Ei(Qe,Dt){return Qe||new jn(Dt)}};let oi=(()=>{class Qe{static forRoot(qe={}){return{ngModule:Qe,providers:[{provide:Ln,useValue:qe}]}}static \u0275fac=function(Et){return new(Et||Qe)};static \u0275mod=w.oAB({type:Qe});static \u0275inj=w.cJS({providers:[Vn],imports:[ne.ez,we.u5,we.UX]})}return Qe})()},7326:(_t,Me,p)=>{p.d(Me,{rN:()=>Ce,y$:()=>xt,_l:()=>Ut});var n=p(5879),l=p(6814),w=p(5619),E=p(2181),H=p(8180),Q=p(4664),ne=p(9397),we=p(6232),ie=p(6306),J=p(8504),xe=p(5592),fe=p(4829);const{isArray:ce}=Array;var Ae=p(8251),Le=p(9940);var ue=p(7398),ze=p(7715),oe=p(927),N=p(6593);const Ce=new n.OlP("HIGHLIGHT_OPTIONS");let K;let He=(()=>{class It{constructor(Xe,At,Y){this.doc=Xe,this.platformId=At,this._options=Y,this._ready=new w.X(null),this.ready=this._ready.asObservable().pipe((0,E.h)(P=>!!P),(0,H.q)(1)),(0,l.NF)(At)&&(Xe.defaultView.hljs?this._ready.next(Xe.defaultView.hljs):(this._loadLibrary().pipe((0,Q.w)(P=>this._options&&this._options.lineNumbersLoader?(Xe.defaultView.hljs=P,this.loadLineNumbers().pipe((0,ne.b)(ae=>{ae.activateLineNumbers(),this._ready.next(P)}))):(this._ready.next(P),we.E)),(0,ie.K)(P=>(console.error("[HLJS] ",P),we.E))).subscribe(),this._options?.themePath&&this.loadTheme(this._options.themePath)))}_loadLibrary(){if(this._options){if(this._options.fullLibraryLoader&&this._options.coreLibraryLoader)return(0,J._)(()=>"The full library and the core library were imported, only one of them should be imported!");if(this._options.fullLibraryLoader&&this._options.languages)return(0,J._)(()=>"The highlighting languages were imported they are not needed!");if(this._options.coreLibraryLoader&&!this._options.languages)return(0,J._)(()=>"The highlighting languages were not imported!");if(!this._options.coreLibraryLoader&&this._options.languages)return(0,J._)(()=>"The core library was not imported!");if(this._options.fullLibraryLoader)return this.loadFullLibrary();if(this._options.coreLibraryLoader&&this._options.languages&&Object.keys(this._options.languages).length)return this.loadCoreLibrary().pipe((0,Q.w)(Xe=>this._loadLanguages(Xe)))}return(0,J._)(()=>"Highlight.js library was not imported!")}_loadLanguages(Xe){return function se(...It){const sn=(0,Le.jO)(It),Xe=function De(It){return 1===It.length&&ce(It[0])?It[0]:It}(It);return Xe.length?new xe.y(At=>{let Y=Xe.map(()=>[]),P=Xe.map(()=>!1);At.add(()=>{Y=P=null});for(let ae=0;!At.closed&&ae{if(Y[ae].push(B),Y.every(Se=>Se.length)){const Se=Y.map(L=>L.shift());At.next(sn?sn(...Se):Se),Y.some((L,V)=>!L.length&&P[V])&&At.complete()}},()=>{P[ae]=!0,!Y[ae].length&&At.complete()}));return()=>{Y=P=null}}):we.E}(...Object.entries(this._options.languages).map(([Y,P])=>ft(P()).pipe((0,ne.b)(ae=>Xe.registerLanguage(Y,ae))))).pipe((0,ue.U)(()=>Xe))}loadCoreLibrary(){return ft(this._options.coreLibraryLoader())}loadFullLibrary(){return ft(this._options.fullLibraryLoader())}loadLineNumbers(){return(0,ze.D)(this._options.lineNumbersLoader())}setTheme(Xe){(0,l.NF)(this.platformId)&&(this._themeLinkElement?this._themeLinkElement.href=Xe:this.loadTheme(Xe))}loadTheme(Xe){this._themeLinkElement=this.doc.createElement("link"),this._themeLinkElement.href=Xe,this._themeLinkElement.type="text/css",this._themeLinkElement.rel="stylesheet",this._themeLinkElement.media="screen,print",this.doc.head.appendChild(this._themeLinkElement)}static#e=this.\u0275fac=function(At){return new(At||It)(n.LFG(l.K0),n.LFG(n.Lbi),n.LFG(Ce,8))};static#t=this.\u0275prov=n.Yz7({token:It,factory:It.\u0275fac,providedIn:"root"})}return It})();const ft=It=>(0,ze.D)(It).pipe((0,E.h)(sn=>!!sn?.default),(0,ue.U)(sn=>sn.default));let ct=(()=>{class It{get hljs(){return this._hljs}constructor(Xe,At){this._loader=Xe,this._hljs=null,Xe.ready.subscribe(Y=>{this._hljs=Y,At&&At.config&&(Y.configure(At.config),Y.listLanguages().length<1&&console.error("[HighlightJS]: No languages were registered!"))})}highlight(Xe,{language:At,ignoreIllegals:Y}){return this._loader.ready.pipe((0,ue.U)(P=>P.highlight(Xe,{language:At,ignoreIllegals:Y})))}highlightAuto(Xe,At){return this._loader.ready.pipe((0,ue.U)(Y=>Y.highlightAuto(Xe,At)))}highlightElement(Xe){return this._loader.ready.pipe((0,ue.U)(At=>At.highlightElement(Xe)))}highlightAll(){return this._loader.ready.pipe((0,ue.U)(Xe=>Xe.highlightAll()))}configure(Xe){return this._loader.ready.pipe((0,ue.U)(At=>At.configure(Xe)))}registerLanguage(Xe,At){return this._loader.ready.pipe((0,ne.b)(Y=>Y.registerLanguage(Xe,At)))}unregisterLanguage(Xe){return this._loader.ready.pipe((0,ne.b)(At=>At.unregisterLanguage(Xe)))}registerAliases(Xe,{languageName:At}){return this._loader.ready.pipe((0,ne.b)(Y=>Y.registerAliases(Xe,{languageName:At})))}listLanguages(){return this._loader.ready.pipe((0,ue.U)(Xe=>Xe.listLanguages()))}getLanguage(Xe){return this._loader.ready.pipe((0,ue.U)(At=>At.getLanguage(Xe)))}safeMode(){return this._loader.ready.pipe((0,ue.U)(Xe=>Xe.safeMode()))}debugMode(){return this._loader.ready.pipe((0,ue.U)(Xe=>Xe.debugMode()))}lineNumbersBlock(Xe){return this._loader.ready.pipe((0,E.h)(At=>!!At.lineNumbersBlock),(0,ne.b)(At=>At.lineNumbersBlock(Xe)))}static#e=this.\u0275fac=function(At){return new(At||It)(n.LFG(He),n.LFG(Ce,8))};static#t=this.\u0275prov=n.Yz7({token:It,factory:It.\u0275fac,providedIn:"root"})}return It})(),xt=(()=>{class It{constructor(Xe,At,Y,P,ae){this._hljs=At,this._sanitizer=Y,this.platformId=P,this._options=ae,this.highlighted=new n.vpe,this._nativeElement=Xe.nativeElement}ngOnChanges(Xe){(0,l.NF)(this.platformId)&&null!==Xe?.code?.currentValue&&Xe.code.currentValue!==Xe.code.previousValue&&(this.code?this.highlightElement(this.code,this.languages):this.setTextContent(""))}highlightElement(Xe,At){this.setTextContent(Xe),this._hljs.highlightAuto(Xe,At).subscribe(Y=>{this.setInnerHTML(Y?.value),this.lineNumbers&&this._options&&this._options.lineNumbersLoader&&this.addLineNumbers(),this.highlighted.emit(Y)})}addLineNumbers(){this.destroyLineNumbersObserver(),oe.Z.schedule(()=>{this._hljs.lineNumbersBlock(this._nativeElement).subscribe(),this._lineNumbersObs=new MutationObserver(()=>{this._nativeElement.firstElementChild&&"TABLE"===this._nativeElement.firstElementChild.tagName.toUpperCase()&&this._nativeElement.classList.add("hljs-line-numbers"),this.destroyLineNumbersObserver()}),this._lineNumbersObs.observe(this._nativeElement,{childList:!0})})}destroyLineNumbersObserver(){this._lineNumbersObs&&(this._lineNumbersObs.disconnect(),this._lineNumbersObs=null)}setTextContent(Xe){oe.Z.schedule(()=>this._nativeElement.textContent=Xe)}setInnerHTML(Xe){oe.Z.schedule(()=>this._nativeElement.innerHTML=function ye(It){return function ve(){if(!K)try{K=window?.trustedTypes?.createPolicy("ngx-highlightjs",{createHTML:It=>It})}catch{}return K}()?.createHTML(It)||It}(this._sanitizer.sanitize(n.q3G.HTML,Xe)||""))}static#e=this.\u0275fac=function(At){return new(At||It)(n.Y36(n.SBq),n.Y36(ct),n.Y36(N.H7),n.Y36(n.Lbi),n.Y36(Ce,8))};static#t=this.\u0275dir=n.lG2({type:It,selectors:[["","highlight",""]],hostVars:2,hostBindings:function(At,Y){2&At&&n.ekj("hljs",!0)},inputs:{code:["highlight","code"],languages:"languages",lineNumbers:"lineNumbers"},outputs:{highlighted:"highlighted"},standalone:!0,features:[n.TTD]})}return It})(),Ut=(()=>{class It{static#e=this.\u0275fac=function(At){return new(At||It)};static#t=this.\u0275mod=n.oAB({type:It});static#n=this.\u0275inj=n.cJS({})}return It})()},7582:(_t,Me,p)=>{function fe(P,ae,B,Se){return new(B||(B=Promise))(function(V,Pe){function re(st){try{et(Se.next(st))}catch(nt){Pe(nt)}}function je(st){try{et(Se.throw(st))}catch(nt){Pe(nt)}}function et(st){st.done?V(st.value):function L(V){return V instanceof B?V:new B(function(Pe){Pe(V)})}(st.value).then(re,je)}et((Se=Se.apply(P,ae||[])).next())})}function N(P){return this instanceof N?(this.v=P,this):new N(P)}function Ce(P,ae,B){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var L,Se=B.apply(P,ae||[]),V=[];return L={},Pe("next"),Pe("throw"),Pe("return"),L[Symbol.asyncIterator]=function(){return this},L;function Pe(Bt){Se[Bt]&&(L[Bt]=function(Je){return new Promise(function(bt,Oe){V.push([Bt,Je,bt,Oe])>1||re(Bt,Je)})})}function re(Bt,Je){try{!function je(Bt){Bt.value instanceof N?Promise.resolve(Bt.value.v).then(et,st):nt(V[0][2],Bt)}(Se[Bt](Je))}catch(bt){nt(V[0][3],bt)}}function et(Bt){re("next",Bt)}function st(Bt){re("throw",Bt)}function nt(Bt,Je){Bt(Je),V.shift(),V.length&&re(V[0][0],V[0][1])}}function ve(P){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var B,ae=P[Symbol.asyncIterator];return ae?ae.call(P):(P=function Le(P){var ae="function"==typeof Symbol&&Symbol.iterator,B=ae&&P[ae],Se=0;if(B)return B.call(P);if(P&&"number"==typeof P.length)return{next:function(){return P&&Se>=P.length&&(P=void 0),{value:P&&P[Se++],done:!P}}};throw new TypeError(ae?"Object is not iterable.":"Symbol.iterator is not defined.")}(P),B={},Se("next"),Se("throw"),Se("return"),B[Symbol.asyncIterator]=function(){return this},B);function Se(V){B[V]=P[V]&&function(Pe){return new Promise(function(re,je){!function L(V,Pe,re,je){Promise.resolve(je).then(function(et){V({value:et,done:re})},Pe)}(re,je,(Pe=P[V](Pe)).done,Pe.value)})}}}p.d(Me,{FC:()=>Ce,KL:()=>ve,mG:()=>fe,qq:()=>N}),"function"==typeof SuppressedError&&SuppressedError}},_t=>{_t(_t.s=9677)}]); \ No newline at end of file diff --git a/main.5fa836a9cac923a1.js b/main.5fa836a9cac923a1.js deleted file mode 100644 index abd240f..0000000 --- a/main.5fa836a9cac923a1.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[179],{1978:(_t,Me,p)=>{p.d(Me,{Zb:()=>ie,Lq:()=>Bo,qA:()=>ce});var n=p(6814),l=p(7105),w=p(6263),E=p(4516),H=p(7326),Q=p(5879),ne=p(3383);const we=function(){return["json"]};let ie=(()=>{class tt{constructor(){this.config={},this.model={}}static#e=this.\u0275fac=function(Xt){return new(Xt||tt)};static#t=this.\u0275cmp=Q.Xpm({type:tt,selectors:[["app-example-viewer"]],inputs:{config:"config"},standalone:!0,features:[Q.jDz],decls:11,vars:10,consts:[[1,"demo-wrapper"],[1,"demo-code"],[3,"highlight","languages"],[1,"demo-result"],[3,"config","model"],[1,"demo-console"],["readonly","","matInput","","cdkTextareaAutosize","","cdkAutosizeMinRows","1","cdkAutosizeMaxRows","20"]],template:function(Xt,Kn){1&Xt&&(Q.TgZ(0,"div",0)(1,"div",1)(2,"pre"),Q._UZ(3,"code",2),Q.ALo(4,"json"),Q.qZA()(),Q.TgZ(5,"div",3),Q._UZ(6,"gui-form",4),Q.TgZ(7,"div",5)(8,"textarea",6),Q._uU(9),Q.ALo(10,"json"),Q.qZA()()()()),2&Xt&&(Q.xp6(3),Q.Q6J("highlight",Q.lcZ(4,5,Kn.config))("languages",Q.DdM(9,we)),Q.xp6(3),Q.Q6J("config",Kn.config)("model",Kn.model),Q.xp6(3),Q.Oqu(Q.lcZ(10,7,Kn.model)))},dependencies:[n.ez,n.Ts,l.i,ne.s,E.c,E.Nt,w.IC,w.Ky,H._l,H.y$],styles:[".demo-wrapper[_ngcontent-%COMP%]{position:relative;display:flex;margin:16px 0;background-color:var(--bg-secondary-color);border-radius:8px}.demo-code[_ngcontent-%COMP%]{flex:1;max-height:600px;overflow:auto}.demo-code[_ngcontent-%COMP%] pre[_ngcontent-%COMP%]{margin:0}.demo-result[_ngcontent-%COMP%]{width:320px;padding:32px;margin:0 auto}.demo-console[_ngcontent-%COMP%]{padding:4px;margin-top:16px;border:1px solid var(--border-color);border-radius:4px}.demo-console[_ngcontent-%COMP%] textarea[_ngcontent-%COMP%]{display:block;width:100%;padding:0 4px;background-color:var(--console-bg-color);color:var(--console-color);border-width:0;font-size:12px;line-height:20px;appearance:none;outline:none}@media (width < 600px){.demo-wrapper[_ngcontent-%COMP%]{flex-direction:column}}"]})}return tt})();function J(tt,kt){if(1&tt&&(Q.TgZ(0,"h1"),Q._uU(1),Q.qZA()),2&tt){const Qt=Q.oxw();Q.xp6(1),Q.Oqu(Qt.title)}}function xe(tt,kt){if(1&tt&&(Q.TgZ(0,"p"),Q._uU(1),Q.qZA()),2&tt){const Qt=Q.oxw();Q.xp6(1),Q.Oqu(Qt.subtitle)}}function fe(tt,kt){1&tt&&Q._UZ(0,"div",3)}let ce=(()=>{class tt{constructor(){this.title="",this.subtitle="",this.config=null}static#e=this.\u0275fac=function(Xt){return new(Xt||tt)};static#t=this.\u0275cmp=Q.Xpm({type:tt,selectors:[["app-page-header"]],hostAttrs:[1,"page-header"],inputs:{title:"title",subtitle:"subtitle",config:"config"},standalone:!0,features:[Q.jDz],decls:4,vars:3,consts:[[1,"page-header-text"],[4,"ngIf"],["class","page-header-demo",4,"ngIf"],[1,"page-header-demo"]],template:function(Xt,Kn){1&Xt&&(Q.TgZ(0,"div",0),Q.YNc(1,J,2,1,"h1",1),Q.YNc(2,xe,2,1,"p",1),Q.qZA(),Q.YNc(3,fe,1,0,"div",2)),2&Xt&&(Q.xp6(1),Q.Q6J("ngIf",Kn.title),Q.xp6(1),Q.Q6J("ngIf",Kn.subtitle),Q.xp6(1),Q.Q6J("ngIf",Kn.config))},dependencies:[n.ez,n.O5],styles:[".page-header{position:relative;display:flex;align-items:center;justify-content:space-between;padding:64px;background-color:var(--bg-secondary-color);border-radius:8px}.page-header-text h1{margin:0}.page-header-text p{margin-top:16px;margin-bottom:0}@media (width < 600px){.page-header{flex-direction:column;padding:64px 16px;text-align:center}}\n"],encapsulation:2})}return tt})();var De=p(2296);const Ae=[{gradients:[{type:"linear",repeating:!0,reverse:!1,angle:45,stops:[{color:"rgba(75, 75, 75, 0.5)",offset:"0%"},{color:"rgba(220, 235, 255, 0.75)",offset:"50%"}],position:{},size:{w:"100px",h:"100px"}},{type:"linear",repeating:!0,reverse:!1,angle:135,stops:[{color:"rgba(5, 30, 50, 0.75)",offset:"0%"},{color:"rgba(115, 150, 255, 0.5)",offset:"50%"}],position:{},size:{}}],blendMode:["overlay"],repeat:"repeat"},{gradients:[{type:"conic",repeating:!0,conicBase:"",stops:[{color:"#023047",offset:"0 25%"},{color:"#00000000",offset:"0 50%"}],position:{x:"0",y:"0"},size:{w:"50px",h:"86.5px"}},{type:"conic",repeating:!0,conicBase:"from -30deg",stops:[{color:"#fb8500",offset:"0 16.67%"},{color:"#023047",offset:"0 50%"}],position:{x:"0",y:"0"},size:{w:"25px",h:"43.25px"}}],blendMode:["normal"],repeat:"repeat"},{gradients:[{type:"conic",conicBase:"from -60deg at 50% 33.33%",stops:[{color:"#d9d9d9",offset:"0 120deg"},{color:"#00000000",offset:"0"}],position:{},size:{w:"142.024px",h:"82px"}},{type:"conic",conicBase:"from 120deg at 50% 66.67%",stops:[{color:"#d9d9d9",offset:"0 120deg"},{color:"#00000000",offset:"0"}],position:{},size:{}},{type:"conic",conicBase:"from 60deg at 66.67%",stops:[{color:"#d9d9d9",offset:"60deg"},{color:"#ffffff",offset:"0 120deg"},{color:"#00000000",offset:"0"}],position:{},size:{}},{type:"conic",conicBase:"from 180deg at 33.33%",stops:[{color:"#b2b2b2",offset:"60deg"},{color:"#d9d9d9",offset:"0 120deg"},{color:"#00000000",offset:"0"}],position:{},size:{}},{type:"linear",angle:90,stops:[{color:"#b2b2b2",offset:"16.7%"},{color:"#ffffff",offset:"0 50%"},{color:"#b2b2b2",offset:"0 83.33%"},{color:"#ffffff",offset:"0"}],position:{},size:{}}],blendMode:["normal"],repeat:"repeat"},{gradients:[{type:"linear",repeating:!0,angle:45,stops:[{color:"rgba(0,0,0,.2)",offset:"0"},{color:"transparent",offset:"5px 50px"}],position:{},size:{}},{type:"linear",repeating:!0,angle:-45,stops:[{color:"rgba(0,0,0,.2)",offset:"0"},{color:"transparent",offset:"5px 50px"}],position:{},size:{}},{type:"linear",repeating:!0,angle:45,stops:[{color:"#000",offset:"0 10px"},{color:"#333",offset:"0 20px"},{color:"#d79033",offset:"0 30px"},{color:"#d7d7d3",offset:"0 40px"},{color:"#e9e9ea",offset:"0 50px"}],position:{},size:{}},{type:"linear",repeating:!0,angle:-45,stops:[{color:"#000",offset:"0 10px"},{color:"#333",offset:"0 20px"},{color:"#d79033",offset:"0 30px"},{color:"#d7d7d3",offset:"0 40px"},{color:"#e9e9ea",offset:"0 50px"}],position:{},size:{}}],blendMode:["multiply","multiply","lighten"],repeat:"repeat"}];var Le=p(8730);var ze=p(2656);const N=function(){try{var tt=(0,ze.Z)(Object,"defineProperty");return tt({},"",{}),tt}catch{}}(),K=function Ce(tt,kt,Qt){"__proto__"==kt&&N?N(tt,kt,{configurable:!0,enumerable:!0,value:Qt,writable:!0}):tt[kt]=Qt};var ve=p(8418),He=Object.prototype.hasOwnProperty;const ct=function ft(tt,kt,Qt){var Xt=tt[kt];(!He.call(tt,kt)||!(0,ve.Z)(Xt,Qt)||void 0===Qt&&!(kt in tt))&&K(tt,kt,Qt)},Ut=function xt(tt,kt,Qt,Xt){var Kn=!Qt;Qt||(Qt={});for(var Qn=-1,Zn=kt.length;++Qn{class tt{constructor(){this.demoStyle={},this.config={gradients:{type:"tabs",name:"Bg gradients",template:{name:"Gradient <%= i + 1 %>",children:{type:{type:"buttonToggle",name:"Type",options:[{label:"linear",value:"linear"},{label:"radial",value:"radial"},{label:"conic",value:"conic"}]},repeating:{type:"switch",name:"Repeating"},reverse:{type:"switch",name:"Reverse"},angle:{type:"slider",name:"Angle",min:0,max:360,suffix:"deg",description:"Only support for linear-gradient"},radialBase:{type:"text",name:"Radial",placeholder:" at ",description:"Only support for radial-gradient"},conicBase:{type:"text",name:"Conic",placeholder:"from at ",description:"Only support for conic-gradient"},stops:{type:"tabs",name:"Color stops",template:{name:"Stop <%= i + 1 %>",children:{color:{type:"fill",name:"Color",default:"#000"},offset:{type:"text",name:"Offset",default:"0%"}}}},position:{type:"inline",name:"Position",children:{x:{type:"text",name:"",placeholder:"X",col:50},y:{type:"text",name:"",placeholder:"Y",col:50}}},size:{type:"inline",name:"Size",children:{w:{type:"text",name:"",placeholder:"W",col:50},h:{type:"text",name:"",placeholder:"H",col:50}}}}}},blendMode:{type:"tabs",name:"Bg blend mode",mode:"list",template:{type:"select",name:"Blend mode <%= i + 1 %>",options:[{label:"normal",value:"normal"},{label:"multiply",value:"multiply"},{label:"screen",value:"screen"},{label:"overlay",value:"overlay"},{label:"darken",value:"darken"},{label:"lighten",value:"lighten"},{label:"color-dodge",value:"color-dodge"},{label:"color-burn",value:"color-burn"},{label:"hard-light",value:"hard-light"},{label:"soft-light",value:"soft-light"},{label:"difference",value:"difference"},{label:"exclusion",value:"exclusion"},{label:"hue",value:"hue"},{label:"saturation",value:"saturation"},{label:"color",value:"color"},{label:"luminosity",value:"luminosity"}]}},repeat:{type:"select",name:"Bg repeat",options:[{label:"no-repeat",value:"no-repeat"},{label:"repeat",value:"repeat"},{label:"repeat-x",value:"repeat-x"},{label:"repeat-y",value:"repeat-y"},{label:"round",value:"round"},{label:"space",value:"space"}]}},this.model=ao(Ae[0]),this.presets=Ae,this.presetStyles=[]}ngOnInit(){this.demoStyle=this.getBgStyle(this.model),this.presetStyles=this.presets.map(Qt=>this.getBgStyle(Qt))}getBgStyle(Qt){return console.log(Qt),{"background-image":Qt.gradients.map(Xt=>{const Kn=Xt.repeating?`repeating-${Xt.type}-gradient`:`${Xt.type}-gradient`,Zn={linear:Xt.angle?`${Xt.angle}deg,`:"",radial:Xt.radialBase?`${Xt.radialBase},`:"",conic:Xt.conicBase?`${Xt.conicBase},`:""},Yn=Xt.stops?.map((bi,ui)=>({...bi,color:Xt.reverse?Xt.stops[Xt.stops.length-1-ui].color:bi.color})).map(bi=>`${bi.color} ${bi.offset}`).join(",");return Yn?`${Kn}(${Zn[Xt.type]}${Yn})`:""}).filter(Xt=>Xt.trim()).join(","),"background-position":Qt.gradients.map(Xt=>`${Xt.position?.x||""} ${Xt.position?.y||""}`).filter(Xt=>Xt.trim()).join(","),"background-size":Qt.gradients.map(Xt=>`${Xt.size?.w||""} ${Xt.size?.h||""}`).filter(Xt=>Xt.trim()).join(","),"background-blend-mode":Qt.blendMode.join(","),"background-repeat":Qt.repeat}}selectPreset(Qt){this.model=ao(Qt),this.config=ao(this.config)}static#e=this.\u0275fac=function(Xt){return new(Xt||tt)};static#t=this.\u0275cmp=Q.Xpm({type:tt,selectors:[["app-gradient-generator"]],standalone:!0,features:[Q.jDz],decls:11,vars:5,consts:[[1,"jumbotron"],[1,"text"],[1,"gui-wrapper"],[1,"gui-heading"],[3,"config","model","modelChange"],["mat-stroked-button","",3,"style","click",4,"ngFor","ngForOf"],["mat-stroked-button","",3,"click"]],template:function(Xt,Kn){1&Xt&&(Q.TgZ(0,"div",0)(1,"div",1)(2,"h1"),Q._uU(3,"Acrodata GUI"),Q.qZA(),Q.TgZ(4,"p"),Q._uU(5,"A lightweight GUI library for Angular"),Q.qZA()(),Q.TgZ(6,"div",2)(7,"div",3),Q._uU(8,"Gradient Generator"),Q.qZA(),Q.TgZ(9,"gui-form",4),Q.NdJ("modelChange",function(Zn){return Kn.demoStyle=Kn.getBgStyle(Zn)}),Q.qZA()()(),Q.YNc(10,fo,1,2,"button",5)),2&Xt&&(Q.Akn(Kn.demoStyle),Q.xp6(9),Q.Q6J("config",Kn.config)("model",Kn.model),Q.xp6(1),Q.Q6J("ngForOf",Kn.presets))},dependencies:[n.ez,n.sg,l.i,ne.s,De.ot,De.lW],styles:['.jumbotron[_ngcontent-%COMP%]{display:flex;min-height:30vw;padding:64px;margin-bottom:24px;border-radius:8px}.text[_ngcontent-%COMP%]{flex:1}h1[_ngcontent-%COMP%], p[_ngcontent-%COMP%]{color:#fff;text-shadow:4px 4px 6px rgba(0,0,0,.85)}.gui-wrapper[_ngcontent-%COMP%]{width:260px}.gui-heading[_ngcontent-%COMP%]{padding:0 12px;border-radius:4px 4px 0 0;background-color:var(--bg-color);border-bottom:1px solid var(--border-color);text-align:center;line-height:32px;font-size:12px}@media (width <= 600px){.jumbotron[_ngcontent-%COMP%]{flex-direction:column;align-items:center;padding:16px}.text[_ngcontent-%COMP%]{margin-bottom:32px;text-align:center}}button[_ngcontent-%COMP%] + button[_ngcontent-%COMP%]{margin-left:8px}[_nghost-%COMP%] .gui-form{border-top-left-radius:0;border-top-right-radius:0}[_nghost-%COMP%] .gui-form .mat-expansion-panel{position:relative;padding-left:4px}[_nghost-%COMP%] .gui-form .mat-expansion-panel:before{content:"";position:absolute;top:10px;bottom:10px;left:2px;z-index:2;display:block;width:4px;border:2px solid rgba(0,0,0,.4);border-right:none}'],changeDetection:0})}return tt})()},9677:(_t,Me,p)=>{var n=p(6593),l=p(5879),w=p(5592),E=p(4674),Q=p(7715),ne=p(2096),we=p(5619);const J=(0,p(2306).d)(u=>function(){u(this),this.name="EmptyError",this.message="no elements in sequence"});var xe=p(2572),fe=p(5211),ce=p(4911),De=p(8407),Ae=p(8504),Le=p(6232),se=p(7394),ue=p(9360),ze=p(8251);function oe(){return(0,ue.e)((u,a)=>{let s=null;u._refCount++;const d=(0,ze.x)(a,void 0,void 0,void 0,()=>{if(!u||u._refCount<=0||0<--u._refCount)return void(s=null);const m=u._connection,y=s;s=null,m&&(!y||m===y)&&m.unsubscribe(),a.unsubscribe()});u.subscribe(d),d.closed||(s=u.connect())})}class N extends w.y{constructor(a,s){super(),this.source=a,this.subjectFactory=s,this._subject=null,this._refCount=0,this._connection=null,(0,ue.A)(a)&&(this.lift=a.lift)}_subscribe(a){return this.getSubject().subscribe(a)}getSubject(){const a=this._subject;return(!a||a.isStopped)&&(this._subject=this.subjectFactory()),this._subject}_teardown(){this._refCount=0;const{_connection:a}=this;this._subject=this._connection=null,a?.unsubscribe()}connect(){let a=this._connection;if(!a){a=this._connection=new se.w0;const s=this.getSubject();a.add(this.source.subscribe((0,ze.x)(s,void 0,()=>{this._teardown(),s.complete()},d=>{this._teardown(),s.error(d)},()=>this._teardown()))),a.closed&&(this._connection=null,a=se.w0.EMPTY)}return a}refCount(){return oe()(this)}}var Ce=p(8645),K=p(6814),ve=p(7398),ye=p(4664),He=p(8180),ft=p(7921),ct=p(2181),xt=p(1631);function Ut(u){return(0,ue.e)((a,s)=>{let d=!1;a.subscribe((0,ze.x)(s,m=>{d=!0,s.next(m)},()=>{d||s.next(u),s.complete()}))})}function It(u=sn){return(0,ue.e)((a,s)=>{let d=!1;a.subscribe((0,ze.x)(s,m=>{d=!0,s.next(m)},()=>d?s.complete():s.error(u())))})}function sn(){return new J}var Xe=p(2737);function At(u,a){const s=arguments.length>=2;return d=>d.pipe(u?(0,ct.h)((m,y)=>u(m,y,d)):Xe.y,(0,He.q)(1),s?Ut(a):It(()=>new J))}var Y=p(6328),P=p(9397),ae=p(6306);function L(u){return u<=0?()=>Le.E:(0,ue.e)((a,s)=>{let d=[];a.subscribe((0,ze.x)(s,m=>{d.push(m),u{for(const m of d)s.next(m);s.complete()},void 0,()=>{d=null}))})}var re=p(4716),je=p(9773),et=p(7537);const st="primary",nt=Symbol("RouteTitle");class Bt{constructor(a){this.params=a||{}}has(a){return Object.prototype.hasOwnProperty.call(this.params,a)}get(a){if(this.has(a)){const s=this.params[a];return Array.isArray(s)?s[0]:s}return null}getAll(a){if(this.has(a)){const s=this.params[a];return Array.isArray(s)?s:[s]}return[]}get keys(){return Object.keys(this.params)}}function Je(u){return new Bt(u)}function bt(u,a,s){const d=s.path.split("/");if(d.length>u.length||"full"===s.pathMatch&&(a.hasChildren()||d.lengthd[y]===m)}return u===a}function en(u){return u.length>0?u[u.length-1]:null}function tn(u){return function H(u){return!!u&&(u instanceof w.y||(0,E.m)(u.lift)&&(0,E.m)(u.subscribe))}(u)?u:(0,l.QGY)(u)?(0,Q.D)(Promise.resolve(u)):(0,ne.of)(u)}const fn={exact:function $(u,a,s){if(!Kt(u.segments,a.segments)||!ht(u.segments,a.segments,s)||u.numberOfChildren!==a.numberOfChildren)return!1;for(const d in a.children)if(!u.children[d]||!$(u.children[d],a.children[d],s))return!1;return!0},subset:Be},Zt={exact:function it(u,a){return rt(u,a)},subset:function be(u,a){return Object.keys(a).length<=Object.keys(u).length&&Object.keys(a).every(s=>vt(u[s],a[s]))},ignored:()=>!0};function Mn(u,a,s){return fn[s.paths](u.root,a.root,s.matrixParams)&&Zt[s.queryParams](u.queryParams,a.queryParams)&&!("exact"===s.fragment&&u.fragment!==a.fragment)}function Be(u,a,s){return lt(u,a,a.segments,s)}function lt(u,a,s,d){if(u.segments.length>s.length){const m=u.segments.slice(0,s.length);return!(!Kt(m,s)||a.hasChildren()||!ht(m,s,d))}if(u.segments.length===s.length){if(!Kt(u.segments,s)||!ht(u.segments,s,d))return!1;for(const m in a.children)if(!u.children[m]||!Be(u.children[m],a.children[m],d))return!1;return!0}{const m=s.slice(0,u.segments.length),y=s.slice(u.segments.length);return!!(Kt(u.segments,m)&&ht(u.segments,m,d)&&u.children[st])&<(u.children[st],a,y,d)}}function ht(u,a,s){return a.every((d,m)=>Zt[s](u[m].parameters,d.parameters))}class mt{constructor(a=new Mt([],{}),s={},d=null){this.root=a,this.queryParams=s,this.fragment=d}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=Je(this.queryParams)),this._queryParamMap}toString(){return pn.serialize(this)}}class Mt{constructor(a,s){this.segments=a,this.children=s,this.parent=null,Object.values(s).forEach(d=>d.parent=this)}hasChildren(){return this.numberOfChildren>0}get numberOfChildren(){return Object.keys(this.children).length}toString(){return gn(this)}}class ln{constructor(a,s){this.path=a,this.parameters=s}get parameterMap(){return this._parameterMap||(this._parameterMap=Je(this.parameters)),this._parameterMap}toString(){return $e(this)}}function Kt(u,a){return u.length===a.length&&u.every((s,d)=>s.path===a[d].path)}let An=(()=>{class u{static#e=this.\u0275fac=function(d){return new(d||u)};static#t=this.\u0275prov=l.Yz7({token:u,factory:function(){return new bn},providedIn:"root"})}return u})();class bn{parse(a){const s=new de(a);return new mt(s.parseRootSegment(),s.parseQueryParams(),s.parseFragment())}serialize(a){const s=`/${yn(a.root,!0)}`,d=function _e(u){const a=Object.keys(u).map(s=>{const d=u[s];return Array.isArray(d)?d.map(m=>`${ut(s)}=${ut(m)}`).join("&"):`${ut(s)}=${ut(d)}`}).filter(s=>!!s);return a.length?`?${a.join("&")}`:""}(a.queryParams);return`${s}${d}${"string"==typeof a.fragment?`#${function me(u){return encodeURI(u)}(a.fragment)}`:""}`}}const pn=new bn;function gn(u){return u.segments.map(a=>$e(a)).join("/")}function yn(u,a){if(!u.hasChildren())return gn(u);if(a){const s=u.children[st]?yn(u.children[st],!1):"",d=[];return Object.entries(u.children).forEach(([m,y])=>{m!==st&&d.push(`${m}:${yn(y,!1)}`)}),d.length>0?`${s}(${d.join("//")})`:s}{const s=function $t(u,a){let s=[];return Object.entries(u.children).forEach(([d,m])=>{d===st&&(s=s.concat(a(m,d)))}),Object.entries(u.children).forEach(([d,m])=>{d!==st&&(s=s.concat(a(m,d)))}),s}(u,(d,m)=>m===st?[yn(u.children[st],!1)]:[`${m}:${yn(d,!1)}`]);return 1===Object.keys(u.children).length&&null!=u.children[st]?`${gn(u)}/${s[0]}`:`${gn(u)}/(${s.join("//")})`}}function kn(u){return encodeURIComponent(u).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function ut(u){return kn(u).replace(/%3B/gi,";")}function le(u){return kn(u).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function G(u){return decodeURIComponent(u)}function Ie(u){return G(u.replace(/\+/g,"%20"))}function $e(u){return`${le(u.path)}${function St(u){return Object.keys(u).map(a=>`;${le(a)}=${le(u[a])}`).join("")}(u.parameters)}`}const ee=/^[^\/()?;#]+/;function S(u){const a=u.match(ee);return a?a[0]:""}const W=/^[^\/()?;=#]+/,yt=/^[^=?&#]+/,at=/^[^&#]+/;class de{constructor(a){this.url=a,this.remaining=a}parseRootSegment(){return this.consumeOptional("/"),""===this.remaining||this.peekStartsWith("?")||this.peekStartsWith("#")?new Mt([],{}):new Mt([],this.parseChildren())}parseQueryParams(){const a={};if(this.consumeOptional("?"))do{this.parseQueryParam(a)}while(this.consumeOptional("&"));return a}parseFragment(){return this.consumeOptional("#")?decodeURIComponent(this.remaining):null}parseChildren(){if(""===this.remaining)return{};this.consumeOptional("/");const a=[];for(this.peekStartsWith("(")||a.push(this.parseSegment());this.peekStartsWith("/")&&!this.peekStartsWith("//")&&!this.peekStartsWith("/(");)this.capture("/"),a.push(this.parseSegment());let s={};this.peekStartsWith("/(")&&(this.capture("/"),s=this.parseParens(!0));let d={};return this.peekStartsWith("(")&&(d=this.parseParens(!1)),(a.length>0||Object.keys(s).length>0)&&(d[st]=new Mt(a,s)),d}parseSegment(){const a=S(this.remaining);if(""===a&&this.peekStartsWith(";"))throw new l.vHH(4009,!1);return this.capture(a),new ln(G(a),this.parseMatrixParams())}parseMatrixParams(){const a={};for(;this.consumeOptional(";");)this.parseParam(a);return a}parseParam(a){const s=function Ne(u){const a=u.match(W);return a?a[0]:""}(this.remaining);if(!s)return;this.capture(s);let d="";if(this.consumeOptional("=")){const m=S(this.remaining);m&&(d=m,this.capture(d))}a[G(s)]=G(d)}parseQueryParam(a){const s=function Pt(u){const a=u.match(yt);return a?a[0]:""}(this.remaining);if(!s)return;this.capture(s);let d="";if(this.consumeOptional("=")){const R=function wt(u){const a=u.match(at);return a?a[0]:""}(this.remaining);R&&(d=R,this.capture(d))}const m=Ie(s),y=Ie(d);if(a.hasOwnProperty(m)){let R=a[m];Array.isArray(R)||(R=[R],a[m]=R),R.push(y)}else a[m]=y}parseParens(a){const s={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){const d=S(this.remaining),m=this.remaining[d.length];if("/"!==m&&")"!==m&&";"!==m)throw new l.vHH(4010,!1);let y;d.indexOf(":")>-1?(y=d.slice(0,d.indexOf(":")),this.capture(y),this.capture(":")):a&&(y=st);const R=this.parseChildren();s[y]=1===Object.keys(R).length?R[st]:new Mt([],R),this.consumeOptional("//")}return s}peekStartsWith(a){return this.remaining.startsWith(a)}consumeOptional(a){return!!this.peekStartsWith(a)&&(this.remaining=this.remaining.substring(a.length),!0)}capture(a){if(!this.consumeOptional(a))throw new l.vHH(4011,!1)}}function ke(u){return u.segments.length>0?new Mt([],{[st]:u}):u}function Ke(u){const a={};for(const d of Object.keys(u.children)){const y=Ke(u.children[d]);if(d===st&&0===y.segments.length&&y.hasChildren())for(const[R,X]of Object.entries(y.children))a[R]=X;else(y.segments.length>0||y.hasChildren())&&(a[d]=y)}return function Ee(u){if(1===u.numberOfChildren&&u.children[st]){const a=u.children[st];return new Mt(u.segments.concat(a.segments),a.children)}return u}(new Mt(u.segments,a))}function ge(u){return u instanceof mt}function dt(u){let a;const m=ke(function s(y){const R={};for(const pe of y.children){const Ye=s(pe);R[pe.outlet]=Ye}const X=new Mt(y.url,R);return y===u&&(a=X),X}(u.root));return a??m}function Rt(u,a,s,d){let m=u;for(;m.parent;)m=m.parent;if(0===a.length)return nn(m,m,m,s,d);const y=function jn(u){if("string"==typeof u[0]&&1===u.length&&"/"===u[0])return new Ln(!0,0,u);let a=0,s=!1;const d=u.reduce((m,y,R)=>{if("object"==typeof y&&null!=y){if(y.outlets){const X={};return Object.entries(y.outlets).forEach(([pe,Ye])=>{X[pe]="string"==typeof Ye?Ye.split("/"):Ye}),[...m,{outlets:X}]}if(y.segmentPath)return[...m,y.segmentPath]}return"string"!=typeof y?[...m,y]:0===R?(y.split("/").forEach((X,pe)=>{0==pe&&"."===X||(0==pe&&""===X?s=!0:".."===X?a++:""!=X&&m.push(X))}),m):[...m,y]},[]);return new Ln(s,a,d)}(a);if(y.toRoot())return nn(m,m,new Mt([],{}),s,d);const R=function zn(u,a,s){if(u.isAbsolute)return new Xn(a,!0,0);if(!s)return new Xn(a,!1,NaN);if(null===s.parent)return new Xn(s,!0,0);const d=Ht(u.commands[0])?0:1;return function li(u,a,s){let d=u,m=a,y=s;for(;y>m;){if(y-=m,d=d.parent,!d)throw new l.vHH(4005,!1);m=d.segments.length}return new Xn(d,!1,m-y)}(s,s.segments.length-1+d,u.numberOfDoubleDots)}(y,m,u),X=R.processChildren?Sn(R.segmentGroup,R.index,y.commands):Tn(R.segmentGroup,R.index,y.commands);return nn(m,R.segmentGroup,X,s,d)}function Ht(u){return"object"==typeof u&&null!=u&&!u.outlets&&!u.segmentPath}function Nt(u){return"object"==typeof u&&null!=u&&u.outlets}function nn(u,a,s,d,m){let R,y={};d&&Object.entries(d).forEach(([pe,Ye])=>{y[pe]=Array.isArray(Ye)?Ye.map(Tt=>`${Tt}`):`${Ye}`}),R=u===a?s:cn(u,a,s);const X=ke(Ke(R));return new mt(X,y,m)}function cn(u,a,s){const d={};return Object.entries(u.children).forEach(([m,y])=>{d[m]=y===a?s:cn(y,a,s)}),new Mt(u.segments,d)}class Ln{constructor(a,s,d){if(this.isAbsolute=a,this.numberOfDoubleDots=s,this.commands=d,a&&d.length>0&&Ht(d[0]))throw new l.vHH(4003,!1);const m=d.find(Nt);if(m&&m!==en(d))throw new l.vHH(4004,!1)}toRoot(){return this.isAbsolute&&1===this.commands.length&&"/"==this.commands[0]}}class Xn{constructor(a,s,d){this.segmentGroup=a,this.processChildren=s,this.index=d}}function Tn(u,a,s){if(u||(u=new Mt([],{})),0===u.segments.length&&u.hasChildren())return Sn(u,a,s);const d=function Ci(u,a,s){let d=0,m=a;const y={match:!1,pathIndex:0,commandIndex:0};for(;m=s.length)return y;const R=u.segments[m],X=s[d];if(Nt(X))break;const pe=`${X}`,Ye=d0&&void 0===pe)break;if(pe&&Ye&&"object"==typeof Ye&&void 0===Ye.outlets){if(!Qe(pe,Ye,R))return y;d+=2}else{if(!Qe(pe,{},R))return y;d++}m++}return{match:!0,pathIndex:m,commandIndex:d}}(u,a,s),m=s.slice(d.commandIndex);if(d.match&&d.pathIndexy!==st)&&u.children[st]&&1===u.numberOfChildren&&0===u.children[st].segments.length){const y=Sn(u.children[st],a,s);return new Mt(u.segments,y.children)}return Object.entries(d).forEach(([y,R])=>{"string"==typeof R&&(R=[R]),null!==R&&(m[y]=Tn(u.children[y],a,R))}),Object.entries(u.children).forEach(([y,R])=>{void 0===d[y]&&(m[y]=R)}),new Mt(u.segments,m)}}function Ei(u,a,s){const d=u.segments.slice(0,a);let m=0;for(;m{"string"==typeof d&&(d=[d]),null!==d&&(a[s]=Ei(new Mt([],{}),0,d))}),a}function oi(u){const a={};return Object.entries(u).forEach(([s,d])=>a[s]=`${d}`),a}function Qe(u,a,s){return u==s.path&&rt(a,s.parameters)}const Dt="imperative";class qe{constructor(a,s){this.id=a,this.url=s}}class Et extends qe{constructor(a,s,d="imperative",m=null){super(a,s),this.type=0,this.navigationTrigger=d,this.restoredState=m}toString(){return`NavigationStart(id: ${this.id}, url: '${this.url}')`}}class A extends qe{constructor(a,s,d){super(a,s),this.urlAfterRedirects=d,this.type=1}toString(){return`NavigationEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}')`}}class q extends qe{constructor(a,s,d,m){super(a,s),this.reason=d,this.code=m,this.type=2}toString(){return`NavigationCancel(id: ${this.id}, url: '${this.url}')`}}class x extends qe{constructor(a,s,d,m){super(a,s),this.reason=d,this.code=m,this.type=16}}class Z extends qe{constructor(a,s,d,m){super(a,s),this.error=d,this.target=m,this.type=3}toString(){return`NavigationError(id: ${this.id}, url: '${this.url}', error: ${this.error})`}}class he extends qe{constructor(a,s,d,m){super(a,s),this.urlAfterRedirects=d,this.state=m,this.type=4}toString(){return`RoutesRecognized(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class Ze extends qe{constructor(a,s,d,m){super(a,s),this.urlAfterRedirects=d,this.state=m,this.type=7}toString(){return`GuardsCheckStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class gt extends qe{constructor(a,s,d,m,y){super(a,s),this.urlAfterRedirects=d,this.state=m,this.shouldActivate=y,this.type=8}toString(){return`GuardsCheckEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state}, shouldActivate: ${this.shouldActivate})`}}class Jt extends qe{constructor(a,s,d,m){super(a,s),this.urlAfterRedirects=d,this.state=m,this.type=5}toString(){return`ResolveStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class Yt extends qe{constructor(a,s,d,m){super(a,s),this.urlAfterRedirects=d,this.state=m,this.type=6}toString(){return`ResolveEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class Hn{constructor(a){this.route=a,this.type=9}toString(){return`RouteConfigLoadStart(path: ${this.route.path})`}}class ci{constructor(a){this.route=a,this.type=10}toString(){return`RouteConfigLoadEnd(path: ${this.route.path})`}}class Fn{constructor(a){this.snapshot=a,this.type=11}toString(){return`ChildActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class xi{constructor(a){this.snapshot=a,this.type=12}toString(){return`ChildActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class wi{constructor(a){this.snapshot=a,this.type=13}toString(){return`ActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class fi{constructor(a){this.snapshot=a,this.type=14}toString(){return`ActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class zi{constructor(a,s,d){this.routerEvent=a,this.position=s,this.anchor=d,this.type=15}toString(){return`Scroll(anchor: '${this.anchor}', position: '${this.position?`${this.position[0]}, ${this.position[1]}`:null}')`}}class Mi{}class Di{constructor(a){this.url=a}}class Si{constructor(){this.outlet=null,this.route=null,this.injector=null,this.children=new Ti,this.attachRef=null}}let Ti=(()=>{class u{constructor(){this.contexts=new Map}onChildOutletCreated(s,d){const m=this.getOrCreateContext(s);m.outlet=d,this.contexts.set(s,m)}onChildOutletDestroyed(s){const d=this.getContext(s);d&&(d.outlet=null,d.attachRef=null)}onOutletDeactivated(){const s=this.contexts;return this.contexts=new Map,s}onOutletReAttached(s){this.contexts=s}getOrCreateContext(s){let d=this.getContext(s);return d||(d=new Si,this.contexts.set(s,d)),d}getContext(s){return this.contexts.get(s)||null}static#e=this.\u0275fac=function(d){return new(d||u)};static#t=this.\u0275prov=l.Yz7({token:u,factory:u.\u0275fac,providedIn:"root"})}return u})();class En{constructor(a){this._root=a}get root(){return this._root.value}parent(a){const s=this.pathFromRoot(a);return s.length>1?s[s.length-2]:null}children(a){const s=ei(a,this._root);return s?s.children.map(d=>d.value):[]}firstChild(a){const s=ei(a,this._root);return s&&s.children.length>0?s.children[0].value:null}siblings(a){const s=di(a,this._root);return s.length<2?[]:s[s.length-2].children.map(m=>m.value).filter(m=>m!==a)}pathFromRoot(a){return di(a,this._root).map(s=>s.value)}}function ei(u,a){if(u===a.value)return a;for(const s of a.children){const d=ei(u,s);if(d)return d}return null}function di(u,a){if(u===a.value)return[a];for(const s of a.children){const d=di(u,s);if(d.length)return d.unshift(a),d}return[]}class _i{constructor(a,s){this.value=a,this.children=s}toString(){return`TreeNode(${this.value})`}}function ri(u){const a={};return u&&u.children.forEach(s=>a[s.value.outlet]=s),a}class Qi extends En{constructor(a,s){super(a),this.snapshot=s,T(this,a)}toString(){return this.snapshot.toString()}}function yo(u,a){const s=function Gi(u,a){const R=new h([],{},{},"",{},st,a,null,{});return new M("",new _i(R,[]))}(0,a),d=new we.X([new ln("",{})]),m=new we.X({}),y=new we.X({}),R=new we.X({}),X=new we.X(""),pe=new Ji(d,m,R,X,y,st,a,s.root);return pe.snapshot=s.root,new Qi(new _i(pe,[]),s)}class Ji{constructor(a,s,d,m,y,R,X,pe){this.urlSubject=a,this.paramsSubject=s,this.queryParamsSubject=d,this.fragmentSubject=m,this.dataSubject=y,this.outlet=R,this.component=X,this._futureSnapshot=pe,this.title=this.dataSubject?.pipe((0,ve.U)(Ye=>Ye[nt]))??(0,ne.of)(void 0),this.url=a,this.params=s,this.queryParams=d,this.fragment=m,this.data=y}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._paramMap=this.params.pipe((0,ve.U)(a=>Je(a)))),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=this.queryParams.pipe((0,ve.U)(a=>Je(a)))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():`Future(${this._futureSnapshot})`}}function b(u,a="emptyOnly"){const s=u.pathFromRoot;let d=0;if("always"!==a)for(d=s.length-1;d>=1;){const m=s[d],y=s[d-1];if(m.routeConfig&&""===m.routeConfig.path)d--;else{if(y.component)break;d--}}return function z(u){return u.reduce((a,s)=>({params:{...a.params,...s.params},data:{...a.data,...s.data},resolve:{...s.data,...a.resolve,...s.routeConfig?.data,...s._resolvedData}}),{params:{},data:{},resolve:{}})}(s.slice(d))}class h{get title(){return this.data?.[nt]}constructor(a,s,d,m,y,R,X,pe,Ye){this.url=a,this.params=s,this.queryParams=d,this.fragment=m,this.data=y,this.outlet=R,this.component=X,this.routeConfig=pe,this._resolve=Ye}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._paramMap=Je(this.params)),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=Je(this.queryParams)),this._queryParamMap}toString(){return`Route(url:'${this.url.map(d=>d.toString()).join("/")}', path:'${this.routeConfig?this.routeConfig.path:""}')`}}class M extends En{constructor(a,s){super(s),this.url=a,T(this,s)}toString(){return Re(this._root)}}function T(u,a){a.value._routerState=u,a.children.forEach(s=>T(u,s))}function Re(u){const a=u.children.length>0?` { ${u.children.map(Re).join(", ")} } `:"";return`${u.value}${a}`}function Ge(u){if(u.snapshot){const a=u.snapshot,s=u._futureSnapshot;u.snapshot=s,rt(a.queryParams,s.queryParams)||u.queryParamsSubject.next(s.queryParams),a.fragment!==s.fragment&&u.fragmentSubject.next(s.fragment),rt(a.params,s.params)||u.paramsSubject.next(s.params),function Oe(u,a){if(u.length!==a.length)return!1;for(let s=0;srt(s.parameters,a[d].parameters))}(u.url,a.url);return s&&!(!u.parent!=!a.parent)&&(!u.parent||Gt(u.parent,a.parent))}let wn=(()=>{class u{constructor(){this.activated=null,this._activatedRoute=null,this.name=st,this.activateEvents=new l.vpe,this.deactivateEvents=new l.vpe,this.attachEvents=new l.vpe,this.detachEvents=new l.vpe,this.parentContexts=(0,l.f3M)(Ti),this.location=(0,l.f3M)(l.s_b),this.changeDetector=(0,l.f3M)(l.sBO),this.environmentInjector=(0,l.f3M)(l.lqb),this.inputBinder=(0,l.f3M)($n,{optional:!0}),this.supportsBindingToComponentInputs=!0}get activatedComponentRef(){return this.activated}ngOnChanges(s){if(s.name){const{firstChange:d,previousValue:m}=s.name;if(d)return;this.isTrackedInParentContexts(m)&&(this.deactivate(),this.parentContexts.onChildOutletDestroyed(m)),this.initializeOutletWithName()}}ngOnDestroy(){this.isTrackedInParentContexts(this.name)&&this.parentContexts.onChildOutletDestroyed(this.name),this.inputBinder?.unsubscribeFromRouteData(this)}isTrackedInParentContexts(s){return this.parentContexts.getContext(s)?.outlet===this}ngOnInit(){this.initializeOutletWithName()}initializeOutletWithName(){if(this.parentContexts.onChildOutletCreated(this.name,this),this.activated)return;const s=this.parentContexts.getContext(this.name);s?.route&&(s.attachRef?this.attach(s.attachRef,s.route):this.activateWith(s.route,s.injector))}get isActivated(){return!!this.activated}get component(){if(!this.activated)throw new l.vHH(4012,!1);return this.activated.instance}get activatedRoute(){if(!this.activated)throw new l.vHH(4012,!1);return this._activatedRoute}get activatedRouteData(){return this._activatedRoute?this._activatedRoute.snapshot.data:{}}detach(){if(!this.activated)throw new l.vHH(4012,!1);this.location.detach();const s=this.activated;return this.activated=null,this._activatedRoute=null,this.detachEvents.emit(s.instance),s}attach(s,d){this.activated=s,this._activatedRoute=d,this.location.insert(s.hostView),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.attachEvents.emit(s.instance)}deactivate(){if(this.activated){const s=this.component;this.activated.destroy(),this.activated=null,this._activatedRoute=null,this.deactivateEvents.emit(s)}}activateWith(s,d){if(this.isActivated)throw new l.vHH(4013,!1);this._activatedRoute=s;const m=this.location,R=s.snapshot.component,X=this.parentContexts.getOrCreateContext(this.name).children,pe=new rn(s,X,m.injector);this.activated=m.createComponent(R,{index:m.length,injector:pe,environmentInjector:d??this.environmentInjector}),this.changeDetector.markForCheck(),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.activateEvents.emit(this.activated.instance)}static#e=this.\u0275fac=function(d){return new(d||u)};static#t=this.\u0275dir=l.lG2({type:u,selectors:[["router-outlet"]],inputs:{name:"name"},outputs:{activateEvents:"activate",deactivateEvents:"deactivate",attachEvents:"attach",detachEvents:"detach"},exportAs:["outlet"],standalone:!0,features:[l.TTD]})}return u})();class rn{constructor(a,s,d){this.route=a,this.childContexts=s,this.parent=d}get(a,s){return a===Ji?this.route:a===Ti?this.childContexts:this.parent.get(a,s)}}const $n=new l.OlP("");function Un(u,a,s){if(s&&u.shouldReuseRoute(a.value,s.value.snapshot)){const d=s.value;d._futureSnapshot=a.value;const m=function br(u,a,s){return a.children.map(d=>{for(const m of s.children)if(u.shouldReuseRoute(d.value,m.value.snapshot))return Un(u,d,m);return Un(u,d)})}(u,a,s);return new _i(d,m)}{if(u.shouldAttach(a.value)){const y=u.retrieve(a.value);if(null!==y){const R=y.route;return R.value._futureSnapshot=a.value,R.children=a.children.map(X=>Un(u,X)),R}}const d=function xo(u){return new Ji(new we.X(u.url),new we.X(u.params),new we.X(u.queryParams),new we.X(u.fragment),new we.X(u.data),u.outlet,u.component,u)}(a.value),m=a.children.map(y=>Un(u,y));return new _i(d,m)}}const _n="ngNavigationCancelingError";function Bi(u,a){const{redirectTo:s,navigationBehaviorOptions:d}=ge(a)?{redirectTo:a,navigationBehaviorOptions:void 0}:a,m=To(!1,0,a);return m.url=s,m.navigationBehaviorOptions=d,m}function To(u,a,s){const d=new Error("NavigationCancelingError: "+(u||""));return d[_n]=!0,d.cancellationCode=a,s&&(d.url=s),d}function Mo(u){return u&&u[_n]}let Lo=(()=>{class u{static#e=this.\u0275fac=function(d){return new(d||u)};static#t=this.\u0275cmp=l.Xpm({type:u,selectors:[["ng-component"]],standalone:!0,features:[l.jDz],decls:1,vars:0,template:function(d,m){1&d&&l._UZ(0,"router-outlet")},dependencies:[wn],encapsulation:2})}return u})();function Zn(u){const a=u.children&&u.children.map(Zn),s=a?{...u,children:a}:{...u};return!s.component&&!s.loadComponent&&(a||s.loadChildren)&&s.outlet&&s.outlet!==st&&(s.component=Lo),s}function Yn(u){return u.outlet||st}function ui(u){if(!u)return null;if(u.routeConfig?._injector)return u.routeConfig._injector;for(let a=u.parent;a;a=a.parent){const s=a.routeConfig;if(s?._loadedInjector)return s._loadedInjector;if(s?._injector)return s._injector}return null}class Ai{constructor(a,s,d,m,y){this.routeReuseStrategy=a,this.futureState=s,this.currState=d,this.forwardEvent=m,this.inputBindingEnabled=y}activate(a){const s=this.futureState._root,d=this.currState?this.currState._root:null;this.deactivateChildRoutes(s,d,a),Ge(this.futureState.root),this.activateChildRoutes(s,d,a)}deactivateChildRoutes(a,s,d){const m=ri(s);a.children.forEach(y=>{const R=y.value.outlet;this.deactivateRoutes(y,m[R],d),delete m[R]}),Object.values(m).forEach(y=>{this.deactivateRouteAndItsChildren(y,d)})}deactivateRoutes(a,s,d){const m=a.value,y=s?s.value:null;if(m===y)if(m.component){const R=d.getContext(m.outlet);R&&this.deactivateChildRoutes(a,s,R.children)}else this.deactivateChildRoutes(a,s,d);else y&&this.deactivateRouteAndItsChildren(s,d)}deactivateRouteAndItsChildren(a,s){a.value.component&&this.routeReuseStrategy.shouldDetach(a.value.snapshot)?this.detachAndStoreRouteSubtree(a,s):this.deactivateRouteAndOutlet(a,s)}detachAndStoreRouteSubtree(a,s){const d=s.getContext(a.value.outlet),m=d&&a.value.component?d.children:s,y=ri(a);for(const R of Object.keys(y))this.deactivateRouteAndItsChildren(y[R],m);if(d&&d.outlet){const R=d.outlet.detach(),X=d.children.onOutletDeactivated();this.routeReuseStrategy.store(a.value.snapshot,{componentRef:R,route:a,contexts:X})}}deactivateRouteAndOutlet(a,s){const d=s.getContext(a.value.outlet),m=d&&a.value.component?d.children:s,y=ri(a);for(const R of Object.keys(y))this.deactivateRouteAndItsChildren(y[R],m);d&&(d.outlet&&(d.outlet.deactivate(),d.children.onOutletDeactivated()),d.attachRef=null,d.route=null)}activateChildRoutes(a,s,d){const m=ri(s);a.children.forEach(y=>{this.activateRoutes(y,m[y.value.outlet],d),this.forwardEvent(new fi(y.value.snapshot))}),a.children.length&&this.forwardEvent(new xi(a.value.snapshot))}activateRoutes(a,s,d){const m=a.value,y=s?s.value:null;if(Ge(m),m===y)if(m.component){const R=d.getOrCreateContext(m.outlet);this.activateChildRoutes(a,s,R.children)}else this.activateChildRoutes(a,s,d);else if(m.component){const R=d.getOrCreateContext(m.outlet);if(this.routeReuseStrategy.shouldAttach(m.snapshot)){const X=this.routeReuseStrategy.retrieve(m.snapshot);this.routeReuseStrategy.store(m.snapshot,null),R.children.onOutletReAttached(X.contexts),R.attachRef=X.componentRef,R.route=X.route.value,R.outlet&&R.outlet.attach(X.componentRef,X.route.value),Ge(X.route.value),this.activateChildRoutes(a,null,R.children)}else{const X=ui(m.snapshot);R.attachRef=null,R.route=m,R.injector=X,R.outlet&&R.outlet.activateWith(m,R.injector),this.activateChildRoutes(a,null,R.children)}}else this.activateChildRoutes(a,null,d)}}class So{constructor(a){this.path=a,this.route=this.path[this.path.length-1]}}class lo{constructor(a,s){this.component=a,this.route=s}}function nr(u,a,s){const d=u._root;return vr(d,a?a._root:null,s,[d.value])}function Vi(u,a){const s=Symbol(),d=a.get(u,s);return d===s?"function"!=typeof u||(0,l.Z0I)(u)?a.get(u):u:d}function vr(u,a,s,d,m={canDeactivateChecks:[],canActivateChecks:[]}){const y=ri(a);return u.children.forEach(R=>{(function Qs(u,a,s,d,m={canDeactivateChecks:[],canActivateChecks:[]}){const y=u.value,R=a?a.value:null,X=s?s.getContext(u.value.outlet):null;if(R&&y.routeConfig===R.routeConfig){const pe=function yc(u,a,s){if("function"==typeof s)return s(u,a);switch(s){case"pathParamsChange":return!Kt(u.url,a.url);case"pathParamsOrQueryParamsChange":return!Kt(u.url,a.url)||!rt(u.queryParams,a.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!Gt(u,a)||!rt(u.queryParams,a.queryParams);default:return!Gt(u,a)}}(R,y,y.routeConfig.runGuardsAndResolvers);pe?m.canActivateChecks.push(new So(d)):(y.data=R.data,y._resolvedData=R._resolvedData),vr(u,a,y.component?X?X.children:null:s,d,m),pe&&X&&X.outlet&&X.outlet.isActivated&&m.canDeactivateChecks.push(new lo(X.outlet.component,R))}else R&&yr(a,X,m),m.canActivateChecks.push(new So(d)),vr(u,null,y.component?X?X.children:null:s,d,m)})(R,y[R.value.outlet],s,d.concat([R.value]),m),delete y[R.value.outlet]}),Object.entries(y).forEach(([R,X])=>yr(X,s.getContext(R),m)),m}function yr(u,a,s){const d=ri(u),m=u.value;Object.entries(d).forEach(([y,R])=>{yr(R,m.component?a?a.children.getContext(y):null:a,s)}),s.canDeactivateChecks.push(new lo(m.component&&a&&a.outlet&&a.outlet.isActivated?a.outlet.component:null,m))}function ir(u){return"function"==typeof u}function Fr(u){return u instanceof J||"EmptyError"===u?.name}const xr=Symbol("INITIAL_VALUE");function qr(){return(0,ye.w)(u=>(0,xe.a)(u.map(a=>a.pipe((0,He.q)(1),(0,ft.O)(xr)))).pipe((0,ve.U)(a=>{for(const s of a)if(!0!==s){if(s===xr)return xr;if(!1===s||s instanceof mt)return s}return!0}),(0,ct.h)(a=>a!==xr),(0,He.q)(1)))}function Nr(u){return(0,De.z)((0,P.b)(a=>{if(ge(a))throw Bi(0,a)}),(0,ve.U)(a=>!0===a))}class Cr{constructor(a){this.segmentGroup=a||null}}class no{constructor(a){this.urlTree=a}}function Yo(u){return(0,Ae._)(new Cr(u))}function qs(u){return(0,Ae._)(new no(u))}class es{constructor(a,s){this.urlSerializer=a,this.urlTree=s}noMatchError(a){return new l.vHH(4002,!1)}lineralizeSegments(a,s){let d=[],m=s.root;for(;;){if(d=d.concat(m.segments),0===m.numberOfChildren)return(0,ne.of)(d);if(m.numberOfChildren>1||!m.children[st])return(0,Ae._)(new l.vHH(4e3,!1));m=m.children[st]}}applyRedirectCommands(a,s,d){return this.applyRedirectCreateUrlTree(s,this.urlSerializer.parse(s),a,d)}applyRedirectCreateUrlTree(a,s,d,m){const y=this.createSegmentGroup(a,s.root,d,m);return new mt(y,this.createQueryParams(s.queryParams,this.urlTree.queryParams),s.fragment)}createQueryParams(a,s){const d={};return Object.entries(a).forEach(([m,y])=>{if("string"==typeof y&&y.startsWith(":")){const X=y.substring(1);d[m]=s[X]}else d[m]=y}),d}createSegmentGroup(a,s,d,m){const y=this.createSegments(a,s.segments,d,m);let R={};return Object.entries(s.children).forEach(([X,pe])=>{R[X]=this.createSegmentGroup(a,pe,d,m)}),new Mt(y,R)}createSegments(a,s,d,m){return s.map(y=>y.path.startsWith(":")?this.findPosParam(a,y,m):this.findOrReturn(y,d))}findPosParam(a,s,d){const m=d[s.path.substring(1)];if(!m)throw new l.vHH(4001,!1);return m}findOrReturn(a,s){let d=0;for(const m of s){if(m.path===a.path)return s.splice(d),m;d++}return a}}const vs={matched:!1,consumedSegments:[],remainingSegments:[],parameters:{},positionalParamSegments:{}};function ta(u,a,s,d,m){const y=ts(u,a,s);return y.matched?(d=function ao(u,a){return u.providers&&!u._injector&&(u._injector=(0,l.MMx)(u.providers,a,`Route: ${u.path}`)),u._injector??a}(a,d),function Zi(u,a,s,d){const m=a.canMatch;if(!m||0===m.length)return(0,ne.of)(!0);const y=m.map(R=>{const X=Vi(R,u);return tn(function mn(u){return u&&ir(u.canMatch)}(X)?X.canMatch(a,s):u.runInContext(()=>X(a,s)))});return(0,ne.of)(y).pipe(qr(),Nr())}(d,a,s).pipe((0,ve.U)(R=>!0===R?y:{...vs}))):(0,ne.of)(y)}function ts(u,a,s){if(""===a.path)return"full"===a.pathMatch&&(u.hasChildren()||s.length>0)?{...vs}:{matched:!0,consumedSegments:[],remainingSegments:s,parameters:{},positionalParamSegments:{}};const m=(a.matcher||bt)(s,u,a);if(!m)return{...vs};const y={};Object.entries(m.posParams??{}).forEach(([X,pe])=>{y[X]=pe.path});const R=m.consumed.length>0?{...y,...m.consumed[m.consumed.length-1].parameters}:y;return{matched:!0,consumedSegments:m.consumed,remainingSegments:s.slice(m.consumed.length),parameters:R,positionalParamSegments:m.posParams??{}}}function na(u,a,s,d){return s.length>0&&function ys(u,a,s){return s.some(d=>Ho(u,a,d)&&Yn(d)!==st)}(u,s,d)?{segmentGroup:new Mt(a,sl(d,new Mt(s,u.children))),slicedSegments:[]}:0===s.length&&function ns(u,a,s){return s.some(d=>Ho(u,a,d))}(u,s,d)?{segmentGroup:new Mt(u.segments,rl(u,0,s,d,u.children)),slicedSegments:s}:{segmentGroup:new Mt(u.segments,u.children),slicedSegments:s}}function rl(u,a,s,d,m){const y={};for(const R of d)if(Ho(u,s,R)&&!m[Yn(R)]){const X=new Mt([],{});y[Yn(R)]=X}return{...m,...y}}function sl(u,a){const s={};s[st]=a;for(const d of u)if(""===d.path&&Yn(d)!==st){const m=new Mt([],{});s[Yn(d)]=m}return s}function Ho(u,a,s){return(!(u.hasChildren()||a.length>0)||"full"!==s.pathMatch)&&""===s.path}class vu{constructor(a,s,d,m,y,R,X){this.injector=a,this.configLoader=s,this.rootComponentType=d,this.config=m,this.urlTree=y,this.paramsInheritanceStrategy=R,this.urlSerializer=X,this.allowRedirects=!0,this.applyRedirects=new es(this.urlSerializer,this.urlTree)}noMatchError(a){return new l.vHH(4002,!1)}recognize(){const a=na(this.urlTree.root,[],[],this.config).segmentGroup;return this.processSegmentGroup(this.injector,this.config,a,st).pipe((0,ae.K)(s=>{if(s instanceof no)return this.allowRedirects=!1,this.urlTree=s.urlTree,this.match(s.urlTree);throw s instanceof Cr?this.noMatchError(s):s}),(0,ve.U)(s=>{const d=new h([],Object.freeze({}),Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,{},st,this.rootComponentType,null,{}),m=new _i(d,s),y=new M("",m),R=function Ve(u,a,s=null,d=null){return Rt(dt(u),a,s,d)}(d,[],this.urlTree.queryParams,this.urlTree.fragment);return R.queryParams=this.urlTree.queryParams,y.url=this.urlSerializer.serialize(R),this.inheritParamsAndData(y._root),{state:y,tree:R}}))}match(a){return this.processSegmentGroup(this.injector,this.config,a.root,st).pipe((0,ae.K)(d=>{throw d instanceof Cr?this.noMatchError(d):d}))}inheritParamsAndData(a){const s=a.value,d=b(s,this.paramsInheritanceStrategy);s.params=Object.freeze(d.params),s.data=Object.freeze(d.data),a.children.forEach(m=>this.inheritParamsAndData(m))}processSegmentGroup(a,s,d,m){return 0===d.segments.length&&d.hasChildren()?this.processChildren(a,s,d):this.processSegment(a,s,d,d.segments,m,!0)}processChildren(a,s,d){const m=[];for(const y of Object.keys(d.children))"primary"===y?m.unshift(y):m.push(y);return(0,Q.D)(m).pipe((0,Y.b)(y=>{const R=d.children[y],X=function bi(u,a){const s=u.filter(d=>Yn(d)===a);return s.push(...u.filter(d=>Yn(d)!==a)),s}(s,y);return this.processSegmentGroup(a,X,R,y)}),function Se(u,a){return(0,ue.e)(function B(u,a,s,d,m){return(y,R)=>{let X=s,pe=a,Ye=0;y.subscribe((0,ze.x)(R,Tt=>{const zt=Ye++;pe=X?u(pe,Tt,zt):(X=!0,Tt),d&&R.next(pe)},m&&(()=>{X&&R.next(pe),R.complete()})))}}(u,a,arguments.length>=2,!0))}((y,R)=>(y.push(...R),y)),Ut(null),function V(u,a){const s=arguments.length>=2;return d=>d.pipe(u?(0,ct.h)((m,y)=>u(m,y,d)):Xe.y,L(1),s?Ut(a):It(()=>new J))}(),(0,xt.z)(y=>{if(null===y)return Yo(d);const R=Dc(y);return function Ec(u){u.sort((a,s)=>a.value.outlet===st?-1:s.value.outlet===st?1:a.value.outlet.localeCompare(s.value.outlet))}(R),(0,ne.of)(R)}))}processSegment(a,s,d,m,y,R){return(0,Q.D)(s).pipe((0,Y.b)(X=>this.processSegmentAgainstRoute(X._injector??a,s,X,d,m,y,R).pipe((0,ae.K)(pe=>{if(pe instanceof Cr)return(0,ne.of)(null);throw pe}))),At(X=>!!X),(0,ae.K)(X=>{if(Fr(X))return function xc(u,a,s){return 0===a.length&&!u.children[s]}(d,m,y)?(0,ne.of)([]):Yo(d);throw X}))}processSegmentAgainstRoute(a,s,d,m,y,R,X){return function al(u,a,s,d){return!!(Yn(u)===d||d!==st&&Ho(a,s,u))&&("**"===u.path||ts(a,u,s).matched)}(d,m,y,R)?void 0===d.redirectTo?this.matchSegmentAgainstRoute(a,m,d,y,R,X):X&&this.allowRedirects?this.expandSegmentAgainstRouteUsingRedirect(a,m,s,d,y,R):Yo(m):Yo(m)}expandSegmentAgainstRouteUsingRedirect(a,s,d,m,y,R){return"**"===m.path?this.expandWildCardWithParamsAgainstRouteUsingRedirect(a,d,m,R):this.expandRegularSegmentAgainstRouteUsingRedirect(a,s,d,m,y,R)}expandWildCardWithParamsAgainstRouteUsingRedirect(a,s,d,m){const y=this.applyRedirects.applyRedirectCommands([],d.redirectTo,{});return d.redirectTo.startsWith("/")?qs(y):this.applyRedirects.lineralizeSegments(d,y).pipe((0,xt.z)(R=>{const X=new Mt(R,{});return this.processSegment(a,s,X,R,m,!1)}))}expandRegularSegmentAgainstRouteUsingRedirect(a,s,d,m,y,R){const{matched:X,consumedSegments:pe,remainingSegments:Ye,positionalParamSegments:Tt}=ts(s,m,y);if(!X)return Yo(s);const zt=this.applyRedirects.applyRedirectCommands(pe,m.redirectTo,Tt);return m.redirectTo.startsWith("/")?qs(zt):this.applyRedirects.lineralizeSegments(m,zt).pipe((0,xt.z)(on=>this.processSegment(a,d,s,on.concat(Ye),R,!1)))}matchSegmentAgainstRoute(a,s,d,m,y,R){let X;if("**"===d.path){const pe=m.length>0?en(m).parameters:{},Ye=new h(m,pe,Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,xs(d),Yn(d),d.component??d._loadedComponent??null,d,ll(d));X=(0,ne.of)({snapshot:Ye,consumedSegments:[],remainingSegments:[]}),s.children={}}else X=ta(s,d,m,a).pipe((0,ve.U)(({matched:pe,consumedSegments:Ye,remainingSegments:Tt,parameters:zt})=>pe?{snapshot:new h(Ye,zt,Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,xs(d),Yn(d),d.component??d._loadedComponent??null,d,ll(d)),consumedSegments:Ye,remainingSegments:Tt}:null));return X.pipe((0,ye.w)(pe=>null===pe?Yo(s):this.getChildConfig(a=d._injector??a,d,m).pipe((0,ye.w)(({routes:Ye})=>{const Tt=d._loadedInjector??a,{snapshot:zt,consumedSegments:on,remainingSegments:xn}=pe,{segmentGroup:dn,slicedSegments:Cn}=na(s,on,xn,Ye);if(0===Cn.length&&dn.hasChildren())return this.processChildren(Tt,Ye,dn).pipe((0,ve.U)(pi=>null===pi?null:[new _i(zt,pi)]));if(0===Ye.length&&0===Cn.length)return(0,ne.of)([new _i(zt,[])]);const si=Yn(d)===y;return this.processSegment(Tt,Ye,dn,Cn,si?st:y,!0).pipe((0,ve.U)(pi=>[new _i(zt,pi)]))}))))}getChildConfig(a,s,d){return s.children?(0,ne.of)({routes:s.children,injector:a}):s.loadChildren?void 0!==s._loadedRoutes?(0,ne.of)({routes:s._loadedRoutes,injector:s._loadedInjector}):function Xs(u,a,s,d){const m=a.canLoad;if(void 0===m||0===m.length)return(0,ne.of)(!0);const y=m.map(R=>{const X=Vi(R,u);return tn(function k(u){return u&&ir(u.canLoad)}(X)?X.canLoad(a,s):u.runInContext(()=>X(a,s)))});return(0,ne.of)(y).pipe(qr(),Nr())}(a,s,d).pipe((0,xt.z)(m=>m?this.configLoader.loadChildren(a,s).pipe((0,P.b)(y=>{s._loadedRoutes=y.routes,s._loadedInjector=y.injector})):function ea(u){return(0,Ae._)(To(!1,3))}())):(0,ne.of)({routes:[],injector:a})}}function wc(u){const a=u.value.routeConfig;return a&&""===a.path}function Dc(u){const a=[],s=new Set;for(const d of u){if(!wc(d)){a.push(d);continue}const m=a.find(y=>d.value.routeConfig===y.value.routeConfig);void 0!==m?(m.children.push(...d.children),s.add(m)):a.push(d)}for(const d of s){const m=Dc(d.children);a.push(new _i(d.value,m))}return a.filter(d=>!s.has(d))}function xs(u){return u.data||{}}function ll(u){return u.resolve||{}}function U(u){return"string"==typeof u.title||null===u.title}function D(u){return(0,ye.w)(a=>{const s=u(a);return s?(0,Q.D)(s).pipe((0,ve.U)(()=>a)):(0,ne.of)(a)})}const F=new l.OlP("ROUTES");let Fe=(()=>{class u{constructor(){this.componentLoaders=new WeakMap,this.childrenLoaders=new WeakMap,this.compiler=(0,l.f3M)(l.Sil)}loadComponent(s){if(this.componentLoaders.get(s))return this.componentLoaders.get(s);if(s._loadedComponent)return(0,ne.of)(s._loadedComponent);this.onLoadStartListener&&this.onLoadStartListener(s);const d=tn(s.loadComponent()).pipe((0,ve.U)(an),(0,P.b)(y=>{this.onLoadEndListener&&this.onLoadEndListener(s),s._loadedComponent=y}),(0,re.x)(()=>{this.componentLoaders.delete(s)})),m=new N(d,()=>new Ce.x).pipe(oe());return this.componentLoaders.set(s,m),m}loadChildren(s,d){if(this.childrenLoaders.get(d))return this.childrenLoaders.get(d);if(d._loadedRoutes)return(0,ne.of)({routes:d._loadedRoutes,injector:d._loadedInjector});this.onLoadStartListener&&this.onLoadStartListener(d);const y=function pt(u,a,s,d){return tn(u.loadChildren()).pipe((0,ve.U)(an),(0,xt.z)(m=>m instanceof l.YKP||Array.isArray(m)?(0,ne.of)(m):(0,Q.D)(a.compileModuleAsync(m))),(0,ve.U)(m=>{d&&d(u);let y,R,X=!1;return Array.isArray(m)?(R=m,!0):(y=m.create(s).injector,R=y.get(F,[],{optional:!0,self:!0}).flat()),{routes:R.map(Zn),injector:y}}))}(d,this.compiler,s,this.onLoadEndListener).pipe((0,re.x)(()=>{this.childrenLoaders.delete(d)})),R=new N(y,()=>new Ce.x).pipe(oe());return this.childrenLoaders.set(d,R),R}static#e=this.\u0275fac=function(d){return new(d||u)};static#t=this.\u0275prov=l.Yz7({token:u,factory:u.\u0275fac,providedIn:"root"})}return u})();function an(u){return function Ot(u){return u&&"object"==typeof u&&"default"in u}(u)?u.default:u}let ni=(()=>{class u{get hasRequestedNavigation(){return 0!==this.navigationId}constructor(){this.currentNavigation=null,this.currentTransition=null,this.lastSuccessfulNavigation=null,this.events=new Ce.x,this.transitionAbortSubject=new Ce.x,this.configLoader=(0,l.f3M)(Fe),this.environmentInjector=(0,l.f3M)(l.lqb),this.urlSerializer=(0,l.f3M)(An),this.rootContexts=(0,l.f3M)(Ti),this.inputBindingEnabled=null!==(0,l.f3M)($n,{optional:!0}),this.navigationId=0,this.afterPreactivation=()=>(0,ne.of)(void 0),this.rootComponentType=null,this.configLoader.onLoadEndListener=m=>this.events.next(new ci(m)),this.configLoader.onLoadStartListener=m=>this.events.next(new Hn(m))}complete(){this.transitions?.complete()}handleNavigationRequest(s){const d=++this.navigationId;this.transitions?.next({...this.transitions.value,...s,id:d})}setupNavigations(s,d,m){return this.transitions=new we.X({id:0,currentUrlTree:d,currentRawUrl:d,currentBrowserUrl:d,extractedUrl:s.urlHandlingStrategy.extract(d),urlAfterRedirects:s.urlHandlingStrategy.extract(d),rawUrl:d,extras:{},resolve:null,reject:null,promise:Promise.resolve(!0),source:Dt,restoredState:null,currentSnapshot:m.snapshot,targetSnapshot:null,currentRouterState:m,targetRouterState:null,guards:{canActivateChecks:[],canDeactivateChecks:[]},guardsResult:null}),this.transitions.pipe((0,ct.h)(y=>0!==y.id),(0,ve.U)(y=>({...y,extractedUrl:s.urlHandlingStrategy.extract(y.rawUrl)})),(0,ye.w)(y=>{this.currentTransition=y;let R=!1,X=!1;return(0,ne.of)(y).pipe((0,P.b)(pe=>{this.currentNavigation={id:pe.id,initialUrl:pe.rawUrl,extractedUrl:pe.extractedUrl,trigger:pe.source,extras:pe.extras,previousNavigation:this.lastSuccessfulNavigation?{...this.lastSuccessfulNavigation,previousNavigation:null}:null}}),(0,ye.w)(pe=>{const Ye=pe.currentBrowserUrl.toString(),Tt=!s.navigated||pe.extractedUrl.toString()!==Ye||Ye!==pe.currentUrlTree.toString();if(!Tt&&"reload"!==(pe.extras.onSameUrlNavigation??s.onSameUrlNavigation)){const on="";return this.events.next(new x(pe.id,this.urlSerializer.serialize(pe.rawUrl),on,0)),pe.resolve(null),Le.E}if(s.urlHandlingStrategy.shouldProcessUrl(pe.rawUrl))return(0,ne.of)(pe).pipe((0,ye.w)(on=>{const xn=this.transitions?.getValue();return this.events.next(new Et(on.id,this.urlSerializer.serialize(on.extractedUrl),on.source,on.restoredState)),xn!==this.transitions?.getValue()?Le.E:Promise.resolve(on)}),function ia(u,a,s,d,m,y){return(0,xt.z)(R=>function Cc(u,a,s,d,m,y,R="emptyOnly"){return new vu(u,a,s,d,m,R,y).recognize()}(u,a,s,d,R.extractedUrl,m,y).pipe((0,ve.U)(({state:X,tree:pe})=>({...R,targetSnapshot:X,urlAfterRedirects:pe}))))}(this.environmentInjector,this.configLoader,this.rootComponentType,s.config,this.urlSerializer,s.paramsInheritanceStrategy),(0,P.b)(on=>{y.targetSnapshot=on.targetSnapshot,y.urlAfterRedirects=on.urlAfterRedirects,this.currentNavigation={...this.currentNavigation,finalUrl:on.urlAfterRedirects};const xn=new he(on.id,this.urlSerializer.serialize(on.extractedUrl),this.urlSerializer.serialize(on.urlAfterRedirects),on.targetSnapshot);this.events.next(xn)}));if(Tt&&s.urlHandlingStrategy.shouldProcessUrl(pe.currentRawUrl)){const{id:on,extractedUrl:xn,source:dn,restoredState:Cn,extras:si}=pe,pi=new Et(on,this.urlSerializer.serialize(xn),dn,Cn);this.events.next(pi);const Ni=yo(0,this.rootComponentType).snapshot;return this.currentTransition=y={...pe,targetSnapshot:Ni,urlAfterRedirects:xn,extras:{...si,skipLocationChange:!1,replaceUrl:!1}},(0,ne.of)(y)}{const on="";return this.events.next(new x(pe.id,this.urlSerializer.serialize(pe.extractedUrl),on,1)),pe.resolve(null),Le.E}}),(0,P.b)(pe=>{const Ye=new Ze(pe.id,this.urlSerializer.serialize(pe.extractedUrl),this.urlSerializer.serialize(pe.urlAfterRedirects),pe.targetSnapshot);this.events.next(Ye)}),(0,ve.U)(pe=>(this.currentTransition=y={...pe,guards:nr(pe.targetSnapshot,pe.currentSnapshot,this.rootContexts)},y)),function gu(u,a){return(0,xt.z)(s=>{const{targetSnapshot:d,currentSnapshot:m,guards:{canActivateChecks:y,canDeactivateChecks:R}}=s;return 0===R.length&&0===y.length?(0,ne.of)({...s,guardsResult:!0}):function Js(u,a,s,d){return(0,Q.D)(u).pipe((0,xt.z)(m=>function Zo(u,a,s,d,m){const y=a&&a.routeConfig?a.routeConfig.canDeactivate:null;if(!y||0===y.length)return(0,ne.of)(!0);const R=y.map(X=>{const pe=ui(a)??m,Ye=Vi(X,pe);return tn(function Ue(u){return u&&ir(u.canDeactivate)}(Ye)?Ye.canDeactivate(u,a,s,d):pe.runInContext(()=>Ye(u,a,s,d))).pipe(At())});return(0,ne.of)(R).pipe(qr())}(m.component,m.route,s,a,d)),At(m=>!0!==m,!0))}(R,d,m,u).pipe((0,xt.z)(X=>X&&function O(u){return"boolean"==typeof u}(X)?function nl(u,a,s,d){return(0,Q.D)(a).pipe((0,Y.b)(m=>(0,fe.z)(function bu(u,a){return null!==u&&a&&a(new Fn(u)),(0,ne.of)(!0)}(m.route.parent,d),function _u(u,a){return null!==u&&a&&a(new wi(u)),(0,ne.of)(!0)}(m.route,d),function or(u,a,s){const d=a[a.length-1],y=a.slice(0,a.length-1).reverse().map(R=>function ki(u){const a=u.routeConfig?u.routeConfig.canActivateChild:null;return a&&0!==a.length?{node:u,guards:a}:null}(R)).filter(R=>null!==R).map(R=>(0,ce.P)(()=>{const X=R.guards.map(pe=>{const Ye=ui(R.node)??s,Tt=Vi(pe,Ye);return tn(function te(u){return u&&ir(u.canActivateChild)}(Tt)?Tt.canActivateChild(d,u):Ye.runInContext(()=>Tt(d,u))).pipe(At())});return(0,ne.of)(X).pipe(qr())}));return(0,ne.of)(y).pipe(qr())}(u,m.path,s),function il(u,a,s){const d=a.routeConfig?a.routeConfig.canActivate:null;if(!d||0===d.length)return(0,ne.of)(!0);const m=d.map(y=>(0,ce.P)(()=>{const R=ui(a)??s,X=Vi(y,R);return tn(function C(u){return u&&ir(u.canActivate)}(X)?X.canActivate(a,u):R.runInContext(()=>X(a,u))).pipe(At())}));return(0,ne.of)(m).pipe(qr())}(u,m.route,s))),At(m=>!0!==m,!0))}(d,y,u,a):(0,ne.of)(X)),(0,ve.U)(X=>({...s,guardsResult:X})))})}(this.environmentInjector,pe=>this.events.next(pe)),(0,P.b)(pe=>{if(y.guardsResult=pe.guardsResult,ge(pe.guardsResult))throw Bi(0,pe.guardsResult);const Ye=new gt(pe.id,this.urlSerializer.serialize(pe.extractedUrl),this.urlSerializer.serialize(pe.urlAfterRedirects),pe.targetSnapshot,!!pe.guardsResult);this.events.next(Ye)}),(0,ct.h)(pe=>!!pe.guardsResult||(this.cancelNavigationTransition(pe,"",3),!1)),D(pe=>{if(pe.guards.canActivateChecks.length)return(0,ne.of)(pe).pipe((0,P.b)(Ye=>{const Tt=new Jt(Ye.id,this.urlSerializer.serialize(Ye.extractedUrl),this.urlSerializer.serialize(Ye.urlAfterRedirects),Ye.targetSnapshot);this.events.next(Tt)}),(0,ye.w)(Ye=>{let Tt=!1;return(0,ne.of)(Ye).pipe(function yu(u,a){return(0,xt.z)(s=>{const{targetSnapshot:d,guards:{canActivateChecks:m}}=s;if(!m.length)return(0,ne.of)(s);let y=0;return(0,Q.D)(m).pipe((0,Y.b)(R=>function xu(u,a,s,d){const m=u.routeConfig,y=u._resolve;return void 0!==m?.title&&!U(m)&&(y[nt]=m.title),function is(u,a,s,d){const m=function cl(u){return[...Object.keys(u),...Object.getOwnPropertySymbols(u)]}(u);if(0===m.length)return(0,ne.of)({});const y={};return(0,Q.D)(m).pipe((0,xt.z)(R=>function _(u,a,s,d){const m=ui(a)??d,y=Vi(u,m);return tn(y.resolve?y.resolve(a,s):m.runInContext(()=>y(a,s)))}(u[R],a,s,d).pipe(At(),(0,P.b)(X=>{y[R]=X}))),L(1),function Pe(u){return(0,ve.U)(()=>u)}(y),(0,ae.K)(R=>Fr(R)?Le.E:(0,Ae._)(R)))}(y,u,a,d).pipe((0,ve.U)(R=>(u._resolvedData=R,u.data=b(u,s).resolve,m&&U(m)&&(u.data[nt]=m.title),null)))}(R.route,d,u,a)),(0,P.b)(()=>y++),L(1),(0,xt.z)(R=>y===m.length?(0,ne.of)(s):Le.E))})}(s.paramsInheritanceStrategy,this.environmentInjector),(0,P.b)({next:()=>Tt=!0,complete:()=>{Tt||this.cancelNavigationTransition(Ye,"",2)}}))}),(0,P.b)(Ye=>{const Tt=new Yt(Ye.id,this.urlSerializer.serialize(Ye.extractedUrl),this.urlSerializer.serialize(Ye.urlAfterRedirects),Ye.targetSnapshot);this.events.next(Tt)}))}),D(pe=>{const Ye=Tt=>{const zt=[];Tt.routeConfig?.loadComponent&&!Tt.routeConfig._loadedComponent&&zt.push(this.configLoader.loadComponent(Tt.routeConfig).pipe((0,P.b)(on=>{Tt.component=on}),(0,ve.U)(()=>{})));for(const on of Tt.children)zt.push(...Ye(on));return zt};return(0,xe.a)(Ye(pe.targetSnapshot.root)).pipe(Ut(),(0,He.q)(1))}),D(()=>this.afterPreactivation()),(0,ve.U)(pe=>{const Ye=function Vt(u,a,s){const d=Un(u,a._root,s?s._root:void 0);return new Qi(d,a)}(s.routeReuseStrategy,pe.targetSnapshot,pe.currentRouterState);return this.currentTransition=y={...pe,targetRouterState:Ye},y}),(0,P.b)(()=>{this.events.next(new Mi)}),((u,a,s,d)=>(0,ve.U)(m=>(new Ai(a,m.targetRouterState,m.currentRouterState,s,d).activate(u),m)))(this.rootContexts,s.routeReuseStrategy,pe=>this.events.next(pe),this.inputBindingEnabled),(0,He.q)(1),(0,P.b)({next:pe=>{R=!0,this.lastSuccessfulNavigation=this.currentNavigation,this.events.next(new A(pe.id,this.urlSerializer.serialize(pe.extractedUrl),this.urlSerializer.serialize(pe.urlAfterRedirects))),s.titleStrategy?.updateTitle(pe.targetRouterState.snapshot),pe.resolve(!0)},complete:()=>{R=!0}}),(0,je.R)(this.transitionAbortSubject.pipe((0,P.b)(pe=>{throw pe}))),(0,re.x)(()=>{R||X||this.cancelNavigationTransition(y,"",1),this.currentNavigation?.id===y.id&&(this.currentNavigation=null)}),(0,ae.K)(pe=>{if(X=!0,Mo(pe))this.events.next(new q(y.id,this.urlSerializer.serialize(y.extractedUrl),pe.message,pe.cancellationCode)),function $i(u){return Mo(u)&&ge(u.url)}(pe)?this.events.next(new Di(pe.url)):y.resolve(!1);else{this.events.next(new Z(y.id,this.urlSerializer.serialize(y.extractedUrl),pe,y.targetSnapshot??void 0));try{y.resolve(s.errorHandler(pe))}catch(Ye){y.reject(Ye)}}return Le.E}))}))}cancelNavigationTransition(s,d,m){const y=new q(s.id,this.urlSerializer.serialize(s.extractedUrl),d,m);this.events.next(y),s.resolve(!1)}static#e=this.\u0275fac=function(d){return new(d||u)};static#t=this.\u0275prov=l.Yz7({token:u,factory:u.\u0275fac,providedIn:"root"})}return u})();function ii(u){return u!==Dt}let Gn=(()=>{class u{buildTitle(s){let d,m=s.root;for(;void 0!==m;)d=this.getResolvedTitleForRoute(m)??d,m=m.children.find(y=>y.outlet===st);return d}getResolvedTitleForRoute(s){return s.data[nt]}static#e=this.\u0275fac=function(d){return new(d||u)};static#t=this.\u0275prov=l.Yz7({token:u,factory:function(){return(0,l.f3M)(Pn)},providedIn:"root"})}return u})(),Pn=(()=>{class u extends Gn{constructor(s){super(),this.title=s}updateTitle(s){const d=this.buildTitle(s);void 0!==d&&this.title.setTitle(d)}static#e=this.\u0275fac=function(d){return new(d||u)(l.LFG(n.Dx))};static#t=this.\u0275prov=l.Yz7({token:u,factory:u.\u0275fac,providedIn:"root"})}return u})(),Oi=(()=>{class u{static#e=this.\u0275fac=function(d){return new(d||u)};static#t=this.\u0275prov=l.Yz7({token:u,factory:function(){return(0,l.f3M)(Fi)},providedIn:"root"})}return u})();class hi{shouldDetach(a){return!1}store(a,s){}shouldAttach(a){return!1}retrieve(a){return null}shouldReuseRoute(a,s){return a.routeConfig===s.routeConfig}}let Fi=(()=>{class u extends hi{static#e=this.\u0275fac=function(){let s;return function(m){return(s||(s=l.n5z(u)))(m||u)}}();static#t=this.\u0275prov=l.Yz7({token:u,factory:u.\u0275fac,providedIn:"root"})}return u})();const Co=new l.OlP("",{providedIn:"root",factory:()=>({})});let Uo=(()=>{class u{static#e=this.\u0275fac=function(d){return new(d||u)};static#t=this.\u0275prov=l.Yz7({token:u,factory:function(){return(0,l.f3M)(Wo)},providedIn:"root"})}return u})(),Wo=(()=>{class u{shouldProcessUrl(s){return!0}extract(s){return s}merge(s,d){return s}static#e=this.\u0275fac=function(d){return new(d||u)};static#t=this.\u0275prov=l.Yz7({token:u,factory:u.\u0275fac,providedIn:"root"})}return u})();var Xi=function(u){return u[u.COMPLETE=0]="COMPLETE",u[u.FAILED=1]="FAILED",u[u.REDIRECTING=2]="REDIRECTING",u}(Xi||{});function Ko(u){throw u}function rr(u,a,s){return a.parse("/")}const vi={paths:"exact",fragment:"ignored",matrixParams:"ignored",queryParams:"exact"},dl={paths:"subset",fragment:"ignored",matrixParams:"ignored",queryParams:"subset"};let po=(()=>{class u{get navigationId(){return this.navigationTransitions.navigationId}get browserPageId(){return"computed"!==this.canceledNavigationResolution?this.currentPageId:this.location.getState()?.\u0275routerPageId??this.currentPageId}get events(){return this._events}constructor(){this.disposed=!1,this.currentPageId=0,this.console=(0,l.f3M)(l.c2e),this.isNgZoneEnabled=!1,this._events=new Ce.x,this.options=(0,l.f3M)(Co,{optional:!0})||{},this.pendingTasks=(0,l.f3M)(l.HDt),this.errorHandler=this.options.errorHandler||Ko,this.malformedUriErrorHandler=this.options.malformedUriErrorHandler||rr,this.navigated=!1,this.lastSuccessfulId=-1,this.urlHandlingStrategy=(0,l.f3M)(Uo),this.routeReuseStrategy=(0,l.f3M)(Oi),this.titleStrategy=(0,l.f3M)(Gn),this.onSameUrlNavigation=this.options.onSameUrlNavigation||"ignore",this.paramsInheritanceStrategy=this.options.paramsInheritanceStrategy||"emptyOnly",this.urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred",this.canceledNavigationResolution=this.options.canceledNavigationResolution||"replace",this.config=(0,l.f3M)(F,{optional:!0})?.flat()??[],this.navigationTransitions=(0,l.f3M)(ni),this.urlSerializer=(0,l.f3M)(An),this.location=(0,l.f3M)(K.Ye),this.componentInputBindingEnabled=!!(0,l.f3M)($n,{optional:!0}),this.eventsSubscription=new se.w0,this.isNgZoneEnabled=(0,l.f3M)(l.R0b)instanceof l.R0b&&l.R0b.isInAngularZone(),this.resetConfig(this.config),this.currentUrlTree=new mt,this.rawUrlTree=this.currentUrlTree,this.browserUrlTree=this.currentUrlTree,this.routerState=yo(0,null),this.navigationTransitions.setupNavigations(this,this.currentUrlTree,this.routerState).subscribe(s=>{this.lastSuccessfulId=s.id,this.currentPageId=this.browserPageId},s=>{this.console.warn(`Unhandled Navigation Error: ${s}`)}),this.subscribeToNavigationEvents()}subscribeToNavigationEvents(){const s=this.navigationTransitions.events.subscribe(d=>{try{const{currentTransition:m}=this.navigationTransitions;if(null===m)return void(Mc(d)&&this._events.next(d));if(d instanceof Et)ii(m.source)&&(this.browserUrlTree=m.extractedUrl);else if(d instanceof x)this.rawUrlTree=m.rawUrl;else if(d instanceof he){if("eager"===this.urlUpdateStrategy){if(!m.extras.skipLocationChange){const y=this.urlHandlingStrategy.merge(m.urlAfterRedirects,m.rawUrl);this.setBrowserUrl(y,m)}this.browserUrlTree=m.urlAfterRedirects}}else if(d instanceof Mi)this.currentUrlTree=m.urlAfterRedirects,this.rawUrlTree=this.urlHandlingStrategy.merge(m.urlAfterRedirects,m.rawUrl),this.routerState=m.targetRouterState,"deferred"===this.urlUpdateStrategy&&(m.extras.skipLocationChange||this.setBrowserUrl(this.rawUrlTree,m),this.browserUrlTree=m.urlAfterRedirects);else if(d instanceof q)0!==d.code&&1!==d.code&&(this.navigated=!0),(3===d.code||2===d.code)&&this.restoreHistory(m);else if(d instanceof Di){const y=this.urlHandlingStrategy.merge(d.url,m.currentRawUrl),R={skipLocationChange:m.extras.skipLocationChange,replaceUrl:"eager"===this.urlUpdateStrategy||ii(m.source)};this.scheduleNavigation(y,Dt,null,R,{resolve:m.resolve,reject:m.reject,promise:m.promise})}d instanceof Z&&this.restoreHistory(m,!0),d instanceof A&&(this.navigated=!0),Mc(d)&&this._events.next(d)}catch(m){this.navigationTransitions.transitionAbortSubject.next(m)}});this.eventsSubscription.add(s)}resetRootComponentType(s){this.routerState.root.component=s,this.navigationTransitions.rootComponentType=s}initialNavigation(){if(this.setUpLocationChangeListener(),!this.navigationTransitions.hasRequestedNavigation){const s=this.location.getState();this.navigateToSyncWithBrowser(this.location.path(!0),Dt,s)}}setUpLocationChangeListener(){this.locationSubscription||(this.locationSubscription=this.location.subscribe(s=>{const d="popstate"===s.type?"popstate":"hashchange";"popstate"===d&&setTimeout(()=>{this.navigateToSyncWithBrowser(s.url,d,s.state)},0)}))}navigateToSyncWithBrowser(s,d,m){const y={replaceUrl:!0},R=m?.navigationId?m:null;if(m){const pe={...m};delete pe.navigationId,delete pe.\u0275routerPageId,0!==Object.keys(pe).length&&(y.state=pe)}const X=this.parseUrl(s);this.scheduleNavigation(X,d,R,y)}get url(){return this.serializeUrl(this.currentUrlTree)}getCurrentNavigation(){return this.navigationTransitions.currentNavigation}get lastSuccessfulNavigation(){return this.navigationTransitions.lastSuccessfulNavigation}resetConfig(s){this.config=s.map(Zn),this.navigated=!1,this.lastSuccessfulId=-1}ngOnDestroy(){this.dispose()}dispose(){this.navigationTransitions.complete(),this.locationSubscription&&(this.locationSubscription.unsubscribe(),this.locationSubscription=void 0),this.disposed=!0,this.eventsSubscription.unsubscribe()}createUrlTree(s,d={}){const{relativeTo:m,queryParams:y,fragment:R,queryParamsHandling:X,preserveFragment:pe}=d,Ye=pe?this.currentUrlTree.fragment:R;let zt,Tt=null;switch(X){case"merge":Tt={...this.currentUrlTree.queryParams,...y};break;case"preserve":Tt=this.currentUrlTree.queryParams;break;default:Tt=y||null}null!==Tt&&(Tt=this.removeEmptyProps(Tt));try{zt=dt(m?m.snapshot:this.routerState.snapshot.root)}catch{("string"!=typeof s[0]||!s[0].startsWith("/"))&&(s=[]),zt=this.currentUrlTree.root}return Rt(zt,s,Tt,Ye??null)}navigateByUrl(s,d={skipLocationChange:!1}){const m=ge(s)?s:this.parseUrl(s),y=this.urlHandlingStrategy.merge(m,this.rawUrlTree);return this.scheduleNavigation(y,Dt,null,d)}navigate(s,d={skipLocationChange:!1}){return function mo(u){for(let a=0;a{const y=s[m];return null!=y&&(d[m]=y),d},{})}scheduleNavigation(s,d,m,y,R){if(this.disposed)return Promise.resolve(!1);let X,pe,Ye;R?(X=R.resolve,pe=R.reject,Ye=R.promise):Ye=new Promise((zt,on)=>{X=zt,pe=on});const Tt=this.pendingTasks.add();return function Hi(u,a){u.events.pipe((0,ct.h)(s=>s instanceof A||s instanceof q||s instanceof Z||s instanceof x),(0,ve.U)(s=>s instanceof A||s instanceof x?Xi.COMPLETE:s instanceof q&&(0===s.code||1===s.code)?Xi.REDIRECTING:Xi.FAILED),(0,ct.h)(s=>s!==Xi.REDIRECTING),(0,He.q)(1)).subscribe(()=>{a()})}(this,()=>{queueMicrotask(()=>this.pendingTasks.remove(Tt))}),this.navigationTransitions.handleNavigationRequest({source:d,restoredState:m,currentUrlTree:this.currentUrlTree,currentRawUrl:this.currentUrlTree,currentBrowserUrl:this.browserUrlTree,rawUrl:s,extras:y,resolve:X,reject:pe,promise:Ye,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),Ye.catch(zt=>Promise.reject(zt))}setBrowserUrl(s,d){const m=this.urlSerializer.serialize(s);if(this.location.isCurrentPathEqualTo(m)||d.extras.replaceUrl){const R={...d.extras.state,...this.generateNgRouterState(d.id,this.browserPageId)};this.location.replaceState(m,"",R)}else{const y={...d.extras.state,...this.generateNgRouterState(d.id,this.browserPageId+1)};this.location.go(m,"",y)}}restoreHistory(s,d=!1){if("computed"===this.canceledNavigationResolution){const y=this.currentPageId-this.browserPageId;0!==y?this.location.historyGo(y):this.currentUrlTree===this.getCurrentNavigation()?.finalUrl&&0===y&&(this.resetState(s),this.browserUrlTree=s.currentUrlTree,this.resetUrlToCurrentUrlTree())}else"replace"===this.canceledNavigationResolution&&(d&&this.resetState(s),this.resetUrlToCurrentUrlTree())}resetState(s){this.routerState=s.currentRouterState,this.currentUrlTree=s.currentUrlTree,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,s.rawUrl)}resetUrlToCurrentUrlTree(){this.location.replaceState(this.urlSerializer.serialize(this.rawUrlTree),"",this.generateNgRouterState(this.lastSuccessfulId,this.currentPageId))}generateNgRouterState(s,d){return"computed"===this.canceledNavigationResolution?{navigationId:s,\u0275routerPageId:d}:{navigationId:s}}static#e=this.\u0275fac=function(d){return new(d||u)};static#t=this.\u0275prov=l.Yz7({token:u,factory:u.\u0275fac,providedIn:"root"})}return u})();function Mc(u){return!(u instanceof Mi||u instanceof Di)}let Cs=(()=>{class u{constructor(s,d,m,y,R,X){this.router=s,this.route=d,this.tabIndexAttribute=m,this.renderer=y,this.el=R,this.locationStrategy=X,this.href=null,this.commands=null,this.onChanges=new Ce.x,this.preserveFragment=!1,this.skipLocationChange=!1,this.replaceUrl=!1;const pe=R.nativeElement.tagName?.toLowerCase();this.isAnchorElement="a"===pe||"area"===pe,this.isAnchorElement?this.subscription=s.events.subscribe(Ye=>{Ye instanceof A&&this.updateHref()}):this.setTabIndexIfNotOnNativeEl("0")}setTabIndexIfNotOnNativeEl(s){null!=this.tabIndexAttribute||this.isAnchorElement||this.applyAttributeValue("tabindex",s)}ngOnChanges(s){this.isAnchorElement&&this.updateHref(),this.onChanges.next(this)}set routerLink(s){null!=s?(this.commands=Array.isArray(s)?s:[s],this.setTabIndexIfNotOnNativeEl("0")):(this.commands=null,this.setTabIndexIfNotOnNativeEl(null))}onClick(s,d,m,y,R){return!!(null===this.urlTree||this.isAnchorElement&&(0!==s||d||m||y||R||"string"==typeof this.target&&"_self"!=this.target))||(this.router.navigateByUrl(this.urlTree,{skipLocationChange:this.skipLocationChange,replaceUrl:this.replaceUrl,state:this.state}),!this.isAnchorElement)}ngOnDestroy(){this.subscription?.unsubscribe()}updateHref(){this.href=null!==this.urlTree&&this.locationStrategy?this.locationStrategy?.prepareExternalUrl(this.router.serializeUrl(this.urlTree)):null;const s=null===this.href?null:(0,l.P3R)(this.href,this.el.nativeElement.tagName.toLowerCase(),"href");this.applyAttributeValue("href",s)}applyAttributeValue(s,d){const m=this.renderer,y=this.el.nativeElement;null!==d?m.setAttribute(y,s,d):m.removeAttribute(y,s)}get urlTree(){return null===this.commands?null:this.router.createUrlTree(this.commands,{relativeTo:void 0!==this.relativeTo?this.relativeTo:this.route,queryParams:this.queryParams,fragment:this.fragment,queryParamsHandling:this.queryParamsHandling,preserveFragment:this.preserveFragment})}static#e=this.\u0275fac=function(d){return new(d||u)(l.Y36(po),l.Y36(Ji),l.$8M("tabindex"),l.Y36(l.Qsj),l.Y36(l.SBq),l.Y36(K.S$))};static#t=this.\u0275dir=l.lG2({type:u,selectors:[["","routerLink",""]],hostVars:1,hostBindings:function(d,m){1&d&&l.NdJ("click",function(R){return m.onClick(R.button,R.ctrlKey,R.shiftKey,R.altKey,R.metaKey)}),2&d&&l.uIk("target",m.target)},inputs:{target:"target",queryParams:"queryParams",fragment:"fragment",queryParamsHandling:"queryParamsHandling",state:"state",relativeTo:"relativeTo",preserveFragment:["preserveFragment","preserveFragment",l.VuI],skipLocationChange:["skipLocationChange","skipLocationChange",l.VuI],replaceUrl:["replaceUrl","replaceUrl",l.VuI],routerLink:"routerLink"},standalone:!0,features:[l.Xq5,l.TTD]})}return u})(),Lr=(()=>{class u{get isActive(){return this._isActive}constructor(s,d,m,y,R){this.router=s,this.element=d,this.renderer=m,this.cdr=y,this.link=R,this.classes=[],this._isActive=!1,this.routerLinkActiveOptions={exact:!1},this.isActiveChange=new l.vpe,this.routerEventsSubscription=s.events.subscribe(X=>{X instanceof A&&this.update()})}ngAfterContentInit(){(0,ne.of)(this.links.changes,(0,ne.of)(null)).pipe((0,et.J)()).subscribe(s=>{this.update(),this.subscribeToEachLinkOnChanges()})}subscribeToEachLinkOnChanges(){this.linkInputChangesSubscription?.unsubscribe();const s=[...this.links.toArray(),this.link].filter(d=>!!d).map(d=>d.onChanges);this.linkInputChangesSubscription=(0,Q.D)(s).pipe((0,et.J)()).subscribe(d=>{this._isActive!==this.isLinkActive(this.router)(d)&&this.update()})}set routerLinkActive(s){const d=Array.isArray(s)?s:s.split(" ");this.classes=d.filter(m=>!!m)}ngOnChanges(s){this.update()}ngOnDestroy(){this.routerEventsSubscription.unsubscribe(),this.linkInputChangesSubscription?.unsubscribe()}update(){!this.links||!this.router.navigated||queueMicrotask(()=>{const s=this.hasActiveLinks();this._isActive!==s&&(this._isActive=s,this.cdr.markForCheck(),this.classes.forEach(d=>{s?this.renderer.addClass(this.element.nativeElement,d):this.renderer.removeClass(this.element.nativeElement,d)}),s&&void 0!==this.ariaCurrentWhenActive?this.renderer.setAttribute(this.element.nativeElement,"aria-current",this.ariaCurrentWhenActive.toString()):this.renderer.removeAttribute(this.element.nativeElement,"aria-current"),this.isActiveChange.emit(s))})}isLinkActive(s){const d=function Eo(u){return!!u.paths}(this.routerLinkActiveOptions)?this.routerLinkActiveOptions:this.routerLinkActiveOptions.exact||!1;return m=>!!m.urlTree&&s.isActive(m.urlTree,d)}hasActiveLinks(){const s=this.isLinkActive(this.router);return this.link&&s(this.link)||this.links.some(s)}static#e=this.\u0275fac=function(d){return new(d||u)(l.Y36(po),l.Y36(l.SBq),l.Y36(l.Qsj),l.Y36(l.sBO),l.Y36(Cs,8))};static#t=this.\u0275dir=l.lG2({type:u,selectors:[["","routerLinkActive",""]],contentQueries:function(d,m,y){if(1&d&&l.Suo(y,Cs,5),2&d){let R;l.iGM(R=l.CRH())&&(m.links=R)}},inputs:{routerLinkActiveOptions:"routerLinkActiveOptions",ariaCurrentWhenActive:"ariaCurrentWhenActive",routerLinkActive:"routerLinkActive"},outputs:{isActiveChange:"isActiveChange"},exportAs:["routerLinkActive"],standalone:!0,features:[l.TTD]})}return u})();const oa=new l.OlP("");let Sc=(()=>{class u{constructor(s,d,m,y,R={}){this.urlSerializer=s,this.transitions=d,this.viewportScroller=m,this.zone=y,this.options=R,this.lastId=0,this.lastSource="imperative",this.restoredId=0,this.store={},R.scrollPositionRestoration=R.scrollPositionRestoration||"disabled",R.anchorScrolling=R.anchorScrolling||"disabled"}init(){"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.setHistoryScrollRestoration("manual"),this.routerEventsSubscription=this.createScrollEvents(),this.scrollEventsSubscription=this.consumeScrollEvents()}createScrollEvents(){return this.transitions.events.subscribe(s=>{s instanceof Et?(this.store[this.lastId]=this.viewportScroller.getScrollPosition(),this.lastSource=s.navigationTrigger,this.restoredId=s.restoredState?s.restoredState.navigationId:0):s instanceof A?(this.lastId=s.id,this.scheduleScrollEvent(s,this.urlSerializer.parse(s.urlAfterRedirects).fragment)):s instanceof x&&0===s.code&&(this.lastSource=void 0,this.restoredId=0,this.scheduleScrollEvent(s,this.urlSerializer.parse(s.url).fragment))})}consumeScrollEvents(){return this.transitions.events.subscribe(s=>{s instanceof zi&&(s.position?"top"===this.options.scrollPositionRestoration?this.viewportScroller.scrollToPosition([0,0]):"enabled"===this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition(s.position):s.anchor&&"enabled"===this.options.anchorScrolling?this.viewportScroller.scrollToAnchor(s.anchor):"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition([0,0]))})}scheduleScrollEvent(s,d){this.zone.runOutsideAngular(()=>{setTimeout(()=>{this.zone.run(()=>{this.transitions.events.next(new zi(s,"popstate"===this.lastSource?this.store[this.restoredId]:null,d))})},0)})}ngOnDestroy(){this.routerEventsSubscription?.unsubscribe(),this.scrollEventsSubscription?.unsubscribe()}static#e=this.\u0275fac=function(d){l.$Z()};static#t=this.\u0275prov=l.Yz7({token:u,factory:u.\u0275fac})}return u})();function ul(u){return u.routerState.root}function Ac(){const u=(0,l.f3M)(l.zs3);return a=>{const s=u.get(l.z2F);if(a!==s.components[0])return;const d=u.get(po),m=u.get(Oc);1===u.get(hl)&&d.initialNavigation(),u.get(Pc,null,l.XFs.Optional)?.setUpPreloading(),u.get(oa,null,l.XFs.Optional)?.init(),d.resetRootComponentType(s.componentTypes[0]),m.closed||(m.next(),m.complete(),m.unsubscribe())}}const Oc=new l.OlP("",{factory:()=>new Ce.x}),hl=new l.OlP("",{providedIn:"root",factory:()=>1}),Pc=new l.OlP("");var yi=p(6825);function sa(u){return new l.vHH(3e3,!1)}function Jo(u){switch(u.length){case 0:return new yi.ZN;case 1:return u[0];default:return new yi.ZE(u)}}function Bu(u,a,s=new Map,d=new Map){const m=[],y=[];let R=-1,X=null;if(a.forEach(pe=>{const Ye=pe.get("offset"),Tt=Ye==R,zt=Tt&&X||new Map;pe.forEach((on,xn)=>{let dn=xn,Cn=on;if("offset"!==xn)switch(dn=u.normalizePropertyName(dn,m),Cn){case yi.k1:Cn=s.get(xn);break;case yi.l3:Cn=d.get(xn);break;default:Cn=u.normalizeStyleValue(xn,dn,Cn,m)}zt.set(dn,Cn)}),Tt||y.push(zt),X=zt,R=Ye}),m.length)throw function Tr(u){return new l.vHH(3502,!1)}();return y}function bl(u,a,s,d){switch(a){case"start":u.onStart(()=>d(s&&vl(s,"start",u)));break;case"done":u.onDone(()=>d(s&&vl(s,"done",u)));break;case"destroy":u.onDestroy(()=>d(s&&vl(s,"destroy",u)))}}function vl(u,a,s){const y=Kc(u.element,u.triggerName,u.fromState,u.toState,a||u.phaseName,s.totalTime??u.totalTime,!!s.disabled),R=u._data;return null!=R&&(y._data=R),y}function Kc(u,a,s,d,m="",y=0,R){return{element:u,triggerName:a,fromState:s,toState:d,phaseName:m,totalTime:y,disabled:!!R}}function Io(u,a,s){let d=u.get(a);return d||u.set(a,d=s),d}function ha(u){const a=u.indexOf(":");return[u.substring(1,a),u.slice(a+1)]}const ws=(()=>typeof document>"u"?null:document.documentElement)();function yl(u){const a=u.parentNode||u.host||null;return a===ws?null:a}let ar=null,Ts=!1;function Jc(u,a){for(;a;){if(a===u)return!0;a=yl(a)}return!1}function jo(u,a,s){if(s)return Array.from(u.querySelectorAll(a));const d=u.querySelector(a);return d?[d]:[]}let Ms=(()=>{class u{validateStyleProperty(s){return function Pp(u){ar||(ar=function Qc(){return typeof document<"u"?document.body:null}()||{},Ts=!!ar.style&&"WebkitAppearance"in ar.style);let a=!0;return ar.style&&!function Ds(u){return"ebkit"==u.substring(1,6)}(u)&&(a=u in ar.style,!a&&Ts&&(a="Webkit"+u.charAt(0).toUpperCase()+u.slice(1)in ar.style)),a}(s)}matchesElement(s,d){return!1}containsElement(s,d){return Jc(s,d)}getParentElement(s){return yl(s)}query(s,d,m){return jo(s,d,m)}computeStyle(s,d,m){return m||""}animate(s,d,m,y,R,X=[],pe){return new yi.ZN(m,y)}static#e=this.\u0275fac=function(d){return new(d||u)};static#t=this.\u0275prov=l.Yz7({token:u,factory:u.\u0275fac})}return u})(),Ss=(()=>{class u{static#e=this.NOOP=new Ms}return u})();const Xc=1e3,Cl="ng-enter",As="ng-leave",Os="ng-trigger",Rs=".ng-trigger",El="ng-animating",wl=".ng-animating";function Ao(u){if("number"==typeof u)return u;const a=u.match(/^(-?[\.\d]+)(m?s)/);return!a||a.length<2?0:lr(parseFloat(a[1]),a[2])}function lr(u,a){return"s"===a?u*Xc:u}function fa(u,a,s){return u.hasOwnProperty("duration")?u:function qc(u,a,s){let m,y=0,R="";if("string"==typeof u){const X=u.match(/^(-?[\.\d]+)(m?s)(?:\s+(-?[\.\d]+)(m?s))?(?:\s+([-a-z]+(?:\(.+?\))?))?$/i);if(null===X)return a.push(sa()),{duration:0,delay:0,easing:""};m=lr(parseFloat(X[1]),X[2]);const pe=X[3];null!=pe&&(y=lr(parseFloat(pe),X[4]));const Ye=X[5];Ye&&(R=Ye)}else m=u;if(!s){let X=!1,pe=a.length;m<0&&(a.push(function pl(){return new l.vHH(3100,!1)}()),X=!0),y<0&&(a.push(function Nc(){return new l.vHH(3101,!1)}()),X=!0),X&&a.splice(pe,0,sa())}return{duration:m,delay:y,easing:R}}(u,a,s)}function ss(u,a={}){return Object.keys(u).forEach(s=>{a[s]=u[s]}),a}function as(u){const a=new Map;return Object.keys(u).forEach(s=>{a.set(s,u[s])}),a}function Mr(u,a=new Map,s){if(s)for(let[d,m]of s)a.set(d,m);for(let[d,m]of u)a.set(d,m);return a}function zo(u,a,s){a.forEach((d,m)=>{const y=Fs(m);s&&!s.has(m)&&s.set(m,u.style[y]),u.style[y]=d})}function cr(u,a){a.forEach((s,d)=>{const m=Fs(d);u.style[m]=""})}function Ps(u){return Array.isArray(u)?1==u.length?u[0]:(0,yi.vP)(u):u}const ks=new RegExp("{{\\s*(.+?)\\s*}}","g");function Vr(u){let a=[];if("string"==typeof u){let s;for(;s=ks.exec(u);)a.push(s[1]);ks.lastIndex=0}return a}function Xo(u,a,s){const d=u.toString(),m=d.replace(ks,(y,R)=>{let X=a[R];return null==X&&(s.push(function Au(u){return new l.vHH(3003,!1)}()),X=""),X.toString()});return m==d?u:m}function dr(u){const a=[];let s=u.next();for(;!s.done;)a.push(s.value),s=u.next();return a}const td=/-+([a-z0-9])/g;function Fs(u){return u.replace(td,(...a)=>a[1].toUpperCase())}function Oo(u,a,s){switch(a.type){case 7:return u.visitTrigger(a,s);case 0:return u.visitState(a,s);case 1:return u.visitTransition(a,s);case 2:return u.visitSequence(a,s);case 3:return u.visitGroup(a,s);case 4:return u.visitAnimate(a,s);case 5:return u.visitKeyframes(a,s);case 6:return u.visitStyle(a,s);case 8:return u.visitReference(a,s);case 9:return u.visitAnimateChild(a,s);case 10:return u.visitAnimateRef(a,s);case 11:return u.visitQuery(a,s);case 12:return u.visitStagger(a,s);default:throw function Lc(u){return new l.vHH(3004,!1)}()}}function ju(u,a){return window.getComputedStyle(u)[a]}const pa="*";function Ui(u,a){const s=[];return"string"==typeof u?u.split(/\s*,\s*/).forEach(d=>function zu(u,a,s){if(":"==u[0]){const pe=function Bs(u,a){switch(u){case":enter":return"void => *";case":leave":return"* => void";case":increment":return(s,d)=>parseFloat(d)>parseFloat(s);case":decrement":return(s,d)=>parseFloat(d) *"}}(u,s);if("function"==typeof pe)return void a.push(pe);u=pe}const d=u.match(/^(\*|[-\w]+)\s*()\s*(\*|[-\w]+)$/);if(null==d||d.length<4)return s.push(function Gc(u){return new l.vHH(3015,!1)}()),a;const m=d[1],y=d[2],R=d[3];a.push(Hr(m,R));"<"==y[0]&&!(m==pa&&R==pa)&&a.push(Hr(R,m))}(d,s,a)):s.push(u),s}const ma=new Set(["true","1"]),uo=new Set(["false","0"]);function Hr(u,a){const s=ma.has(u)||uo.has(u),d=ma.has(a)||uo.has(a);return(m,y)=>{let R=u==pa||u==m,X=a==pa||a==y;return!R&&s&&"boolean"==typeof m&&(R=m?ma.has(u):uo.has(u)),!X&&d&&"boolean"==typeof y&&(X=y?ma.has(a):uo.has(a)),R&&X}}const ga=new RegExp("s*:selfs*,?","g");function Ur(u,a,s,d){return new Lp(u).build(a,s,d)}class Lp{constructor(a){this._driver=a}build(a,s,d){const m=new wo(s);return this._resetContextStyleTimingState(m),Oo(this,Ps(a),m)}_resetContextStyleTimingState(a){a.currentQuerySelector="",a.collectedStyles=new Map,a.collectedStyles.set("",new Map),a.currentTime=0}visitTrigger(a,s){let d=s.queryCount=0,m=s.depCount=0;const y=[],R=[];return"@"==a.name.charAt(0)&&s.errors.push(function Bc(){return new l.vHH(3006,!1)}()),a.definitions.forEach(X=>{if(this._resetContextStyleTimingState(s),0==X.type){const pe=X,Ye=pe.name;Ye.toString().split(/\s*,\s*/).forEach(Tt=>{pe.name=Tt,y.push(this.visitState(pe,s))}),pe.name=Ye}else if(1==X.type){const pe=this.visitTransition(X,s);d+=pe.queryCount,m+=pe.depCount,R.push(pe)}else s.errors.push(function Vc(){return new l.vHH(3007,!1)}())}),{type:7,name:a.name,states:y,transitions:R,queryCount:d,depCount:m,options:null}}visitState(a,s){const d=this.visitStyle(a.styles,s),m=a.options&&a.options.params||null;if(d.containsDynamicStyles){const y=new Set,R=m||{};d.styles.forEach(X=>{X instanceof Map&&X.forEach(pe=>{Vr(pe).forEach(Ye=>{R.hasOwnProperty(Ye)||y.add(Ye)})})}),y.size&&(dr(y.values()),s.errors.push(function Hc(u,a){return new l.vHH(3008,!1)}()))}return{type:0,name:a.name,style:d,options:m?{params:m}:null}}visitTransition(a,s){s.queryCount=0,s.depCount=0;const d=Oo(this,Ps(a.animation),s);return{type:1,matchers:Ui(a.expr,s.errors),animation:d,queryCount:s.queryCount,depCount:s.depCount,options:cs(a.options)}}visitSequence(a,s){return{type:2,steps:a.steps.map(d=>Oo(this,d,s)),options:cs(a.options)}}visitGroup(a,s){const d=s.currentTime;let m=0;const y=a.steps.map(R=>{s.currentTime=d;const X=Oo(this,R,s);return m=Math.max(m,s.currentTime),X});return s.currentTime=m,{type:3,steps:y,options:cs(a.options)}}visitAnimate(a,s){const d=function ls(u,a){if(u.hasOwnProperty("duration"))return u;if("number"==typeof u)return _a(fa(u,a).duration,0,"");const s=u;if(s.split(/\s+/).some(y=>"{"==y.charAt(0)&&"{"==y.charAt(1))){const y=_a(0,0,"");return y.dynamic=!0,y.strValue=s,y}const m=fa(s,a);return _a(m.duration,m.delay,m.easing)}(a.timings,s.errors);s.currentAnimateTimings=d;let m,y=a.styles?a.styles:(0,yi.oB)({});if(5==y.type)m=this.visitKeyframes(y,s);else{let R=a.styles,X=!1;if(!R){X=!0;const Ye={};d.easing&&(Ye.easing=d.easing),R=(0,yi.oB)(Ye)}s.currentTime+=d.duration+d.delay;const pe=this.visitStyle(R,s);pe.isEmptyStep=X,m=pe}return s.currentAnimateTimings=null,{type:4,timings:d,style:m,options:null}}visitStyle(a,s){const d=this._makeStyleAst(a,s);return this._validateStyleAst(d,s),d}_makeStyleAst(a,s){const d=[],m=Array.isArray(a.styles)?a.styles:[a.styles];for(let X of m)"string"==typeof X?X===yi.l3?d.push(X):s.errors.push(new l.vHH(3002,!1)):d.push(as(X));let y=!1,R=null;return d.forEach(X=>{if(X instanceof Map&&(X.has("easing")&&(R=X.get("easing"),X.delete("easing")),!y))for(let pe of X.values())if(pe.toString().indexOf("{{")>=0){y=!0;break}}),{type:6,styles:d,easing:R,offset:a.offset,containsDynamicStyles:y,options:null}}_validateStyleAst(a,s){const d=s.currentAnimateTimings;let m=s.currentTime,y=s.currentTime;d&&y>0&&(y-=d.duration+d.delay),a.styles.forEach(R=>{"string"!=typeof R&&R.forEach((X,pe)=>{const Ye=s.collectedStyles.get(s.currentQuerySelector),Tt=Ye.get(pe);let zt=!0;Tt&&(y!=m&&y>=Tt.startTime&&m<=Tt.endTime&&(s.errors.push(function Ou(u,a,s,d,m){return new l.vHH(3010,!1)}()),zt=!1),y=Tt.startTime),zt&&Ye.set(pe,{startTime:y,endTime:m}),s.options&&function ed(u,a,s){const d=a.params||{},m=Vr(u);m.length&&m.forEach(y=>{d.hasOwnProperty(y)||s.push(function ml(u){return new l.vHH(3001,!1)}())})}(X,s.options,s.errors)})})}visitKeyframes(a,s){const d={type:5,styles:[],options:null};if(!s.currentAnimateTimings)return s.errors.push(function Ru(){return new l.vHH(3011,!1)}()),d;let y=0;const R=[];let X=!1,pe=!1,Ye=0;const Tt=a.steps.map(pi=>{const Ni=this._makeStyleAst(pi,s);let qi=null!=Ni.offset?Ni.offset:function Tl(u){if("string"==typeof u)return null;let a=null;if(Array.isArray(u))u.forEach(s=>{if(s instanceof Map&&s.has("offset")){const d=s;a=parseFloat(d.get("offset")),d.delete("offset")}});else if(u instanceof Map&&u.has("offset")){const s=u;a=parseFloat(s.get("offset")),s.delete("offset")}return a}(Ni.styles),Yi=0;return null!=qi&&(y++,Yi=Ni.offset=qi),pe=pe||Yi<0||Yi>1,X=X||Yi0&&y{const qi=on>0?Ni==xn?1:on*Ni:R[Ni],Yi=qi*si;s.currentTime=dn+Cn.delay+Yi,Cn.duration=Yi,this._validateStyleAst(pi,s),pi.offset=qi,d.styles.push(pi)}),d}visitReference(a,s){return{type:8,animation:Oo(this,Ps(a.animation),s),options:cs(a.options)}}visitAnimateChild(a,s){return s.depCount++,{type:9,options:cs(a.options)}}visitAnimateRef(a,s){return{type:10,animation:this.visitReference(a.animation,s),options:cs(a.options)}}visitQuery(a,s){const d=s.currentQuerySelector,m=a.options||{};s.queryCount++,s.currentQuery=a;const[y,R]=function Gu(u){const a=!!u.split(/\s*,\s*/).find(s=>":self"==s);return a&&(u=u.replace(ga,"")),u=u.replace(/@\*/g,Rs).replace(/@\w+/g,s=>Rs+"-"+s.slice(1)).replace(/:animating/g,wl),[u,a]}(a.selector);s.currentQuerySelector=d.length?d+" "+y:y,Io(s.collectedStyles,s.currentQuerySelector,new Map);const X=Oo(this,Ps(a.animation),s);return s.currentQuery=null,s.currentQuerySelector=d,{type:11,selector:y,limit:m.limit||0,optional:!!m.optional,includeSelf:R,animation:X,originalSelector:a.selector,options:cs(a.options)}}visitStagger(a,s){s.currentQuery||s.errors.push(function zc(){return new l.vHH(3013,!1)}());const d="full"===a.timings?{duration:0,delay:0,easing:"full"}:fa(a.timings,s.errors,!0);return{type:12,animation:Oo(this,Ps(a.animation),s),timings:d,options:null}}}class wo{constructor(a){this.errors=a,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 cs(u){return u?(u=ss(u)).params&&(u.params=function Bp(u){return u?ss(u):null}(u.params)):u={},u}function _a(u,a,s){return{duration:u,delay:a,easing:s}}function Ml(u,a,s,d,m,y,R=null,X=!1){return{type:1,element:u,keyframes:a,preStyleProps:s,postStyleProps:d,duration:m,delay:y,totalTime:m+y,easing:R,subTimeline:X}}class ba{constructor(){this._map=new Map}get(a){return this._map.get(a)||[]}append(a,s){let d=this._map.get(a);d||this._map.set(a,d=[]),d.push(...s)}has(a){return this._map.has(a)}clear(){this._map.clear()}}const Yu=new RegExp(":enter","g"),Sl=new RegExp(":leave","g");function ds(u,a,s,d,m,y=new Map,R=new Map,X,pe,Ye=[]){return(new Ku).buildKeyframes(u,a,s,d,m,y,R,X,pe,Ye)}class Ku{buildKeyframes(a,s,d,m,y,R,X,pe,Ye,Tt=[]){Ye=Ye||new ba;const zt=new Il(a,s,Ye,m,y,Tt,[]);zt.options=pe;const on=pe.delay?Ao(pe.delay):0;zt.currentTimeline.delayNextStep(on),zt.currentTimeline.setStyles([R],null,zt.errors,pe),Oo(this,d,zt);const xn=zt.timelines.filter(dn=>dn.containsAnimation());if(xn.length&&X.size){let dn;for(let Cn=xn.length-1;Cn>=0;Cn--){const si=xn[Cn];if(si.element===s){dn=si;break}}dn&&!dn.allowOnlyTimelineStyles()&&dn.setStyles([X],null,zt.errors,pe)}return xn.length?xn.map(dn=>dn.buildKeyframes()):[Ml(s,[],[],[],0,on,"",!1)]}visitTrigger(a,s){}visitState(a,s){}visitTransition(a,s){}visitAnimateChild(a,s){const d=s.subInstructions.get(s.element);if(d){const m=s.createSubContext(a.options),y=s.currentTimeline.currentTime,R=this._visitSubInstructions(d,m,m.options);y!=R&&s.transformIntoNewTimeline(R)}s.previousNode=a}visitAnimateRef(a,s){const d=s.createSubContext(a.options);d.transformIntoNewTimeline(),this._applyAnimationRefDelays([a.options,a.animation.options],s,d),this.visitReference(a.animation,d),s.transformIntoNewTimeline(d.currentTimeline.currentTime),s.previousNode=a}_applyAnimationRefDelays(a,s,d){for(const m of a){const y=m?.delay;if(y){const R="number"==typeof y?y:Ao(Xo(y,m?.params??{},s.errors));d.delayNextStep(R)}}}_visitSubInstructions(a,s,d){let y=s.currentTimeline.currentTime;const R=null!=d.duration?Ao(d.duration):null,X=null!=d.delay?Ao(d.delay):null;return 0!==R&&a.forEach(pe=>{const Ye=s.appendInstructionToTimeline(pe,R,X);y=Math.max(y,Ye.duration+Ye.delay)}),y}visitReference(a,s){s.updateOptions(a.options,!0),Oo(this,a.animation,s),s.previousNode=a}visitSequence(a,s){const d=s.subContextCount;let m=s;const y=a.options;if(y&&(y.params||y.delay)&&(m=s.createSubContext(y),m.transformIntoNewTimeline(),null!=y.delay)){6==m.previousNode.type&&(m.currentTimeline.snapshotCurrentStyles(),m.previousNode=jr);const R=Ao(y.delay);m.delayNextStep(R)}a.steps.length&&(a.steps.forEach(R=>Oo(this,R,m)),m.currentTimeline.applyStylesToKeyframe(),m.subContextCount>d&&m.transformIntoNewTimeline()),s.previousNode=a}visitGroup(a,s){const d=[];let m=s.currentTimeline.currentTime;const y=a.options&&a.options.delay?Ao(a.options.delay):0;a.steps.forEach(R=>{const X=s.createSubContext(a.options);y&&X.delayNextStep(y),Oo(this,R,X),m=Math.max(m,X.currentTimeline.currentTime),d.push(X.currentTimeline)}),d.forEach(R=>s.currentTimeline.mergeTimelineCollectedStyles(R)),s.transformIntoNewTimeline(m),s.previousNode=a}_visitTiming(a,s){if(a.dynamic){const d=a.strValue;return fa(s.params?Xo(d,s.params,s.errors):d,s.errors)}return{duration:a.duration,delay:a.delay,easing:a.easing}}visitAnimate(a,s){const d=s.currentAnimateTimings=this._visitTiming(a.timings,s),m=s.currentTimeline;d.delay&&(s.incrementTime(d.delay),m.snapshotCurrentStyles());const y=a.style;5==y.type?this.visitKeyframes(y,s):(s.incrementTime(d.duration),this.visitStyle(y,s),m.applyStylesToKeyframe()),s.currentAnimateTimings=null,s.previousNode=a}visitStyle(a,s){const d=s.currentTimeline,m=s.currentAnimateTimings;!m&&d.hasCurrentStyleProperties()&&d.forwardFrame();const y=m&&m.easing||a.easing;a.isEmptyStep?d.applyEmptyStep(y):d.setStyles(a.styles,y,s.errors,s.options),s.previousNode=a}visitKeyframes(a,s){const d=s.currentAnimateTimings,m=s.currentTimeline.duration,y=d.duration,X=s.createSubContext().currentTimeline;X.easing=d.easing,a.styles.forEach(pe=>{X.forwardTime((pe.offset||0)*y),X.setStyles(pe.styles,pe.easing,s.errors,s.options),X.applyStylesToKeyframe()}),s.currentTimeline.mergeTimelineCollectedStyles(X),s.transformIntoNewTimeline(m+y),s.previousNode=a}visitQuery(a,s){const d=s.currentTimeline.currentTime,m=a.options||{},y=m.delay?Ao(m.delay):0;y&&(6===s.previousNode.type||0==d&&s.currentTimeline.hasCurrentStyleProperties())&&(s.currentTimeline.snapshotCurrentStyles(),s.previousNode=jr);let R=d;const X=s.invokeQuery(a.selector,a.originalSelector,a.limit,a.includeSelf,!!m.optional,s.errors);s.currentQueryTotal=X.length;let pe=null;X.forEach((Ye,Tt)=>{s.currentQueryIndex=Tt;const zt=s.createSubContext(a.options,Ye);y&&zt.delayNextStep(y),Ye===s.element&&(pe=zt.currentTimeline),Oo(this,a.animation,zt),zt.currentTimeline.applyStylesToKeyframe(),R=Math.max(R,zt.currentTimeline.currentTime)}),s.currentQueryIndex=0,s.currentQueryTotal=0,s.transformIntoNewTimeline(R),pe&&(s.currentTimeline.mergeTimelineCollectedStyles(pe),s.currentTimeline.snapshotCurrentStyles()),s.previousNode=a}visitStagger(a,s){const d=s.parentContext,m=s.currentTimeline,y=a.timings,R=Math.abs(y.duration),X=R*(s.currentQueryTotal-1);let pe=R*s.currentQueryIndex;switch(y.duration<0?"reverse":y.easing){case"reverse":pe=X-pe;break;case"full":pe=d.currentStaggerTime}const Tt=s.currentTimeline;pe&&Tt.delayNextStep(pe);const zt=Tt.currentTime;Oo(this,a.animation,s),s.previousNode=a,d.currentStaggerTime=m.currentTime-zt+(m.startTime-d.currentTimeline.startTime)}}const jr={};class Il{constructor(a,s,d,m,y,R,X,pe){this._driver=a,this.element=s,this.subInstructions=d,this._enterClassName=m,this._leaveClassName=y,this.errors=R,this.timelines=X,this.parentContext=null,this.currentAnimateTimings=null,this.previousNode=jr,this.subContextCount=0,this.options={},this.currentQueryIndex=0,this.currentQueryTotal=0,this.currentStaggerTime=0,this.currentTimeline=pe||new zr(this._driver,s,0),X.push(this.currentTimeline)}get params(){return this.options.params}updateOptions(a,s){if(!a)return;const d=a;let m=this.options;null!=d.duration&&(m.duration=Ao(d.duration)),null!=d.delay&&(m.delay=Ao(d.delay));const y=d.params;if(y){let R=m.params;R||(R=this.options.params={}),Object.keys(y).forEach(X=>{(!s||!R.hasOwnProperty(X))&&(R[X]=Xo(y[X],R,this.errors))})}}_copyOptions(){const a={};if(this.options){const s=this.options.params;if(s){const d=a.params={};Object.keys(s).forEach(m=>{d[m]=s[m]})}}return a}createSubContext(a=null,s,d){const m=s||this.element,y=new Il(this._driver,m,this.subInstructions,this._enterClassName,this._leaveClassName,this.errors,this.timelines,this.currentTimeline.fork(m,d||0));return y.previousNode=this.previousNode,y.currentAnimateTimings=this.currentAnimateTimings,y.options=this._copyOptions(),y.updateOptions(a),y.currentQueryIndex=this.currentQueryIndex,y.currentQueryTotal=this.currentQueryTotal,y.parentContext=this,this.subContextCount++,y}transformIntoNewTimeline(a){return this.previousNode=jr,this.currentTimeline=this.currentTimeline.fork(this.element,a),this.timelines.push(this.currentTimeline),this.currentTimeline}appendInstructionToTimeline(a,s,d){const m={duration:s??a.duration,delay:this.currentTimeline.currentTime+(d??0)+a.delay,easing:""},y=new Qu(this._driver,a.element,a.keyframes,a.preStyleProps,a.postStyleProps,m,a.stretchStartingKeyframe);return this.timelines.push(y),m}incrementTime(a){this.currentTimeline.forwardTime(this.currentTimeline.duration+a)}delayNextStep(a){a>0&&this.currentTimeline.delayNextStep(a)}invokeQuery(a,s,d,m,y,R){let X=[];if(m&&X.push(this.element),a.length>0){a=(a=a.replace(Yu,"."+this._enterClassName)).replace(Sl,"."+this._leaveClassName);let Ye=this._driver.query(this.element,a,1!=d);0!==d&&(Ye=d<0?Ye.slice(Ye.length+d,Ye.length):Ye.slice(0,d)),X.push(...Ye)}return!y&&0==X.length&&R.push(function Pu(u){return new l.vHH(3014,!1)}()),X}}class zr{constructor(a,s,d,m){this._driver=a,this.element=s,this.startTime=d,this._elementTimelineStylesLookup=m,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(s),this._globalTimelineStyles||(this._globalTimelineStyles=this._localTimelineStyles,this._elementTimelineStylesLookup.set(s,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(a){const s=1===this._keyframes.size&&this._pendingStyles.size;this.duration||s?(this.forwardTime(this.currentTime+a),s&&this.snapshotCurrentStyles()):this.startTime+=a}fork(a,s){return this.applyStylesToKeyframe(),new zr(this._driver,a,s||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+=1,this._loadKeyframe()}forwardTime(a){this.applyStylesToKeyframe(),this.duration=a,this._loadKeyframe()}_updateStyle(a,s){this._localTimelineStyles.set(a,s),this._globalTimelineStyles.set(a,s),this._styleSummary.set(a,{time:this.currentTime,value:s})}allowOnlyTimelineStyles(){return this._currentEmptyStepKeyframe!==this._currentKeyframe}applyEmptyStep(a){a&&this._previousKeyframe.set("easing",a);for(let[s,d]of this._globalTimelineStyles)this._backFill.set(s,d||yi.l3),this._currentKeyframe.set(s,yi.l3);this._currentEmptyStepKeyframe=this._currentKeyframe}setStyles(a,s,d,m){s&&this._previousKeyframe.set("easing",s);const y=m&&m.params||{},R=function Ol(u,a){const s=new Map;let d;return u.forEach(m=>{if("*"===m){d=d||a.keys();for(let y of d)s.set(y,yi.l3)}else Mr(m,s)}),s}(a,this._globalTimelineStyles);for(let[X,pe]of R){const Ye=Xo(pe,y,d);this._pendingStyles.set(X,Ye),this._localTimelineStyles.has(X)||this._backFill.set(X,this._globalTimelineStyles.get(X)??yi.l3),this._updateStyle(X,Ye)}}applyStylesToKeyframe(){0!=this._pendingStyles.size&&(this._pendingStyles.forEach((a,s)=>{this._currentKeyframe.set(s,a)}),this._pendingStyles.clear(),this._localTimelineStyles.forEach((a,s)=>{this._currentKeyframe.has(s)||this._currentKeyframe.set(s,a)}))}snapshotCurrentStyles(){for(let[a,s]of this._localTimelineStyles)this._pendingStyles.set(a,s),this._updateStyle(a,s)}getFinalKeyframe(){return this._keyframes.get(this.duration)}get properties(){const a=[];for(let s in this._currentKeyframe)a.push(s);return a}mergeTimelineCollectedStyles(a){a._styleSummary.forEach((s,d)=>{const m=this._styleSummary.get(d);(!m||s.time>m.time)&&this._updateStyle(d,s.value)})}buildKeyframes(){this.applyStylesToKeyframe();const a=new Set,s=new Set,d=1===this._keyframes.size&&0===this.duration;let m=[];this._keyframes.forEach((X,pe)=>{const Ye=Mr(X,new Map,this._backFill);Ye.forEach((Tt,zt)=>{Tt===yi.k1?a.add(zt):Tt===yi.l3&&s.add(zt)}),d||Ye.set("offset",pe/this.duration),m.push(Ye)});const y=a.size?dr(a.values()):[],R=s.size?dr(s.values()):[];if(d){const X=m[0],pe=new Map(X);X.set("offset",0),pe.set("offset",1),m=[X,pe]}return Ml(this.element,m,y,R,this.duration,this.startTime,this.easing,!1)}}class Qu extends zr{constructor(a,s,d,m,y,R,X=!1){super(a,s,R.delay),this.keyframes=d,this.preStyleProps=m,this.postStyleProps=y,this._stretchStartingKeyframe=X,this.timings={duration:R.duration,delay:R.delay,easing:R.easing}}containsAnimation(){return this.keyframes.length>1}buildKeyframes(){let a=this.keyframes,{delay:s,duration:d,easing:m}=this.timings;if(this._stretchStartingKeyframe&&s){const y=[],R=d+s,X=s/R,pe=Mr(a[0]);pe.set("offset",0),y.push(pe);const Ye=Mr(a[0]);Ye.set("offset",Al(X)),y.push(Ye);const Tt=a.length-1;for(let zt=1;zt<=Tt;zt++){let on=Mr(a[zt]);const xn=on.get("offset");on.set("offset",Al((s+xn*d)/R)),y.push(on)}d=R,s=0,m="",a=y}return Ml(this.element,a,this.preStyleProps,this.postStyleProps,d,s,m,!0)}}function Al(u,a=3){const s=Math.pow(10,a-1);return Math.round(u*s)/s}class va{}const Ju=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"]);class us extends va{normalizePropertyName(a,s){return Fs(a)}normalizeStyleValue(a,s,d,m){let y="";const R=d.toString().trim();if(Ju.has(s)&&0!==d&&"0"!==d)if("number"==typeof d)y="px";else{const X=d.match(/^[+-]?[\d\.]+([a-z]*)$/);X&&0==X[1].length&&m.push(function gl(u,a){return new l.vHH(3005,!1)}())}return R+y}}function hs(u,a,s,d,m,y,R,X,pe,Ye,Tt,zt,on){return{type:0,element:u,triggerName:a,isRemovalTransition:m,fromState:s,fromStyles:y,toState:d,toStyles:R,timelines:X,queriedElements:pe,preStyleProps:Ye,postStyleProps:Tt,totalTime:zt,errors:on}}const Pl={};class Xu{constructor(a,s,d){this._triggerName=a,this.ast=s,this._stateStyles=d}match(a,s,d,m){return function eh(u,a,s,d,m){return u.some(y=>y(a,s,d,m))}(this.ast.matchers,a,s,d,m)}buildStyles(a,s,d){let m=this._stateStyles.get("*");return void 0!==a&&(m=this._stateStyles.get(a?.toString())||m),m?m.buildStyles(s,d):new Map}build(a,s,d,m,y,R,X,pe,Ye,Tt){const zt=[],on=this.ast.options&&this.ast.options.params||Pl,dn=this.buildStyles(d,X&&X.params||Pl,zt),Cn=pe&&pe.params||Pl,si=this.buildStyles(m,Cn,zt),pi=new Set,Ni=new Map,qi=new Map,Yi="void"===m,hr={params:Hp(Cn,on),delay:this.ast.options?.delay},bo=Tt?[]:ds(a,s,this.ast.animation,y,R,dn,si,hr,Ye,zt);let ro=0;if(bo.forEach(Ro=>{ro=Math.max(Ro.duration+Ro.delay,ro)}),zt.length)return hs(s,this._triggerName,d,m,Yi,dn,si,[],[],Ni,qi,ro,zt);bo.forEach(Ro=>{const er=Ro.element,Ia=Io(Ni,er,new Set);Ro.preStyleProps.forEach($r=>Ia.add($r));const fr=Io(qi,er,new Set);Ro.postStyleProps.forEach($r=>fr.add($r)),er!==s&&pi.add(er)});const Go=dr(pi.values());return hs(s,this._triggerName,d,m,Yi,dn,si,bo,Go,Ni,qi,ro)}}function Hp(u,a){const s=ss(a);for(const d in u)u.hasOwnProperty(d)&&null!=u[d]&&(s[d]=u[d]);return s}class th{constructor(a,s,d){this.styles=a,this.defaultParams=s,this.normalizer=d}buildStyles(a,s){const d=new Map,m=ss(this.defaultParams);return Object.keys(a).forEach(y=>{const R=a[y];null!==R&&(m[y]=R)}),this.styles.styles.forEach(y=>{"string"!=typeof y&&y.forEach((R,X)=>{R&&(R=Xo(R,m,s));const pe=this.normalizer.normalizePropertyName(X,s);R=this.normalizer.normalizeStyleValue(X,pe,R,s),d.set(X,R)})}),d}}class ih{constructor(a,s,d){this.name=a,this.ast=s,this._normalizer=d,this.transitionFactories=[],this.states=new Map,s.states.forEach(m=>{this.states.set(m.name,new th(m.style,m.options&&m.options.params||{},d))}),kl(this.states,"true","1"),kl(this.states,"false","0"),s.transitions.forEach(m=>{this.transitionFactories.push(new Xu(a,m,this.states))}),this.fallbackTransition=function ya(u,a,s){return new Xu(u,{type:1,animation:{type:2,steps:[],options:null},matchers:[(R,X)=>!0],options:null,queryCount:0,depCount:0},a)}(a,this.states)}get containsQueries(){return this.ast.queryCount>0}matchTransition(a,s,d,m){return this.transitionFactories.find(R=>R.match(a,s,d,m))||null}matchStyles(a,s,d){return this.fallbackTransition.buildStyles(a,s,d)}}function kl(u,a,s){u.has(a)?u.has(s)||u.set(s,u.get(a)):u.has(s)&&u.set(a,u.get(s))}const oh=new ba;class id{constructor(a,s,d){this.bodyNode=a,this._driver=s,this._normalizer=d,this._animations=new Map,this._playersById=new Map,this.players=[]}register(a,s){const d=[],y=Ur(this._driver,s,d,[]);if(d.length)throw function Fu(u){return new l.vHH(3503,!1)}();this._animations.set(a,y)}_buildPlayer(a,s,d){const m=a.element,y=Bu(this._normalizer,a.keyframes,s,d);return this._driver.animate(m,y,a.duration,a.delay,a.easing,[],!0)}create(a,s,d={}){const m=[],y=this._animations.get(a);let R;const X=new Map;if(y?(R=ds(this._driver,s,y,Cl,As,new Map,new Map,d,oh,m),R.forEach(Tt=>{const zt=Io(X,Tt.element,new Map);Tt.postStyleProps.forEach(on=>zt.set(on,null))})):(m.push(function la(){return new l.vHH(3300,!1)}()),R=[]),m.length)throw function ca(u){return new l.vHH(3504,!1)}();X.forEach((Tt,zt)=>{Tt.forEach((on,xn)=>{Tt.set(xn,this._driver.computeStyle(zt,xn,yi.l3))})});const Ye=Jo(R.map(Tt=>{const zt=X.get(Tt.element);return this._buildPlayer(Tt,new Map,zt)}));return this._playersById.set(a,Ye),Ye.onDestroy(()=>this.destroy(a)),this.players.push(Ye),Ye}destroy(a){const s=this._getPlayer(a);s.destroy(),this._playersById.delete(a);const d=this.players.indexOf(s);d>=0&&this.players.splice(d,1)}_getPlayer(a){const s=this._playersById.get(a);if(!s)throw function da(u){return new l.vHH(3301,!1)}();return s}listen(a,s,d,m){const y=Kc(s,"","","");return bl(this._getPlayer(a),d,y,m),()=>{}}command(a,s,d,m){if("register"==d)return void this.register(a,m[0]);if("create"==d)return void this.create(a,s,m[0]||{});const y=this._getPlayer(a);switch(d){case"play":y.play();break;case"pause":y.pause();break;case"reset":y.reset();break;case"restart":y.restart();break;case"finish":y.finish();break;case"init":y.init();break;case"setPosition":y.setPosition(parseFloat(m[0]));break;case"destroy":this.destroy(a)}}}const rh="ng-animate-queued",rd="ng-animate-disabled",Up=[],lh={namespaceId:"",setForRemoval:!1,setForMove:!1,hasAnimation:!1,removedBeforeQueried:!1},Nl={namespaceId:"",setForMove:!1,setForRemoval:!1,hasAnimation:!1,removedBeforeQueried:!0},qo="__ng_removed";class sd{get params(){return this.options.params}constructor(a,s=""){this.namespaceId=s;const d=a&&a.hasOwnProperty("value");if(this.value=function ld(u){return u??null}(d?a.value:a),d){const y=ss(a);delete y.value,this.options=y}else this.options={};this.options.params||(this.options.params={})}absorbOptions(a){const s=a.params;if(s){const d=this.options.params;Object.keys(s).forEach(m=>{null==d[m]&&(d[m]=s[m])})}}}const xa="void",ad=new sd(xa);class jp{constructor(a,s,d){this.id=a,this.hostElement=s,this._engine=d,this.players=[],this._triggers=new Map,this._queue=[],this._elementListeners=new Map,this._hostClassName="ng-tns-"+a,ho(s,this._hostClassName)}listen(a,s,d,m){if(!this._triggers.has(s))throw function _l(u,a){return new l.vHH(3302,!1)}();if(null==d||0==d.length)throw function Yc(u){return new l.vHH(3303,!1)}();if(!function cd(u){return"start"==u||"done"==u}(d))throw function Wc(u,a){return new l.vHH(3400,!1)}();const y=Io(this._elementListeners,a,[]),R={name:s,phase:d,callback:m};y.push(R);const X=Io(this._engine.statesByElement,a,new Map);return X.has(s)||(ho(a,Os),ho(a,Os+"-"+s),X.set(s,ad)),()=>{this._engine.afterFlush(()=>{const pe=y.indexOf(R);pe>=0&&y.splice(pe,1),this._triggers.has(s)||X.delete(s)})}}register(a,s){return!this._triggers.has(a)&&(this._triggers.set(a,s),!0)}_getTrigger(a){const s=this._triggers.get(a);if(!s)throw function Nu(u){return new l.vHH(3401,!1)}();return s}trigger(a,s,d,m=!0){const y=this._getTrigger(s),R=new fs(this.id,s,a);let X=this._engine.statesByElement.get(a);X||(ho(a,Os),ho(a,Os+"-"+s),this._engine.statesByElement.set(a,X=new Map));let pe=X.get(s);const Ye=new sd(d,this.id);if(!(d&&d.hasOwnProperty("value"))&&pe&&Ye.absorbOptions(pe.options),X.set(s,Ye),pe||(pe=ad),Ye.value!==xa&&pe.value===Ye.value){if(!function uh(u,a){const s=Object.keys(u),d=Object.keys(a);if(s.length!=d.length)return!1;for(let m=0;m{cr(a,si),zo(a,pi)})}return}const on=Io(this._engine.playersByElement,a,[]);on.forEach(Cn=>{Cn.namespaceId==this.id&&Cn.triggerName==s&&Cn.queued&&Cn.destroy()});let xn=y.matchTransition(pe.value,Ye.value,a,Ye.params),dn=!1;if(!xn){if(!m)return;xn=y.fallbackTransition,dn=!0}return this._engine.totalQueuedPlayers++,this._queue.push({element:a,triggerName:s,transition:xn,fromState:pe,toState:Ye,player:R,isFallbackTransition:dn}),dn||(ho(a,rh),R.onStart(()=>{ur(a,rh)})),R.onDone(()=>{let Cn=this.players.indexOf(R);Cn>=0&&this.players.splice(Cn,1);const si=this._engine.playersByElement.get(a);if(si){let pi=si.indexOf(R);pi>=0&&si.splice(pi,1)}}),this.players.push(R),on.push(R),R}deregister(a){this._triggers.delete(a),this._engine.statesByElement.forEach(s=>s.delete(a)),this._elementListeners.forEach((s,d)=>{this._elementListeners.set(d,s.filter(m=>m.name!=a))})}clearElementCache(a){this._engine.statesByElement.delete(a),this._elementListeners.delete(a);const s=this._engine.playersByElement.get(a);s&&(s.forEach(d=>d.destroy()),this._engine.playersByElement.delete(a))}_signalRemovalForInnerTriggers(a,s){const d=this._engine.driver.query(a,Rs,!0);d.forEach(m=>{if(m[qo])return;const y=this._engine.fetchNamespacesByElement(m);y.size?y.forEach(R=>R.triggerLeaveAnimation(m,s,!1,!0)):this.clearElementCache(m)}),this._engine.afterFlushAnimationsDone(()=>d.forEach(m=>this.clearElementCache(m)))}triggerLeaveAnimation(a,s,d,m){const y=this._engine.statesByElement.get(a),R=new Map;if(y){const X=[];if(y.forEach((pe,Ye)=>{if(R.set(Ye,pe.value),this._triggers.has(Ye)){const Tt=this.trigger(a,Ye,xa,m);Tt&&X.push(Tt)}}),X.length)return this._engine.markElementAsRemoved(this.id,a,!0,s,R),d&&Jo(X).onDone(()=>this._engine.processLeaveNode(a)),!0}return!1}prepareLeaveAnimationListeners(a){const s=this._elementListeners.get(a),d=this._engine.statesByElement.get(a);if(s&&d){const m=new Set;s.forEach(y=>{const R=y.name;if(m.has(R))return;m.add(R);const pe=this._triggers.get(R).fallbackTransition,Ye=d.get(R)||ad,Tt=new sd(xa),zt=new fs(this.id,R,a);this._engine.totalQueuedPlayers++,this._queue.push({element:a,triggerName:R,transition:pe,fromState:Ye,toState:Tt,player:zt,isFallbackTransition:!0})})}}removeNode(a,s){const d=this._engine;if(a.childElementCount&&this._signalRemovalForInnerTriggers(a,s),this.triggerLeaveAnimation(a,s,!0))return;let m=!1;if(d.totalAnimations){const y=d.players.length?d.playersByQueriedElement.get(a):[];if(y&&y.length)m=!0;else{let R=a;for(;R=R.parentNode;)if(d.statesByElement.get(R)){m=!0;break}}}if(this.prepareLeaveAnimationListeners(a),m)d.markElementAsRemoved(this.id,a,!1,s);else{const y=a[qo];(!y||y===lh)&&(d.afterFlush(()=>this.clearElementCache(a)),d.destroyInnerAnimations(a),d._onRemovalComplete(a,s))}}insertNode(a,s){ho(a,this._hostClassName)}drainQueuedTransitions(a){const s=[];return this._queue.forEach(d=>{const m=d.player;if(m.destroyed)return;const y=d.element,R=this._elementListeners.get(y);R&&R.forEach(X=>{if(X.name==d.triggerName){const pe=Kc(y,d.triggerName,d.fromState.value,d.toState.value);pe._data=a,bl(d.player,X.phase,pe,X.callback)}}),m.markedForDestroy?this._engine.afterFlush(()=>{m.destroy()}):s.push(d)}),this._queue=[],s.sort((d,m)=>{const y=d.transition.ast.depCount,R=m.transition.ast.depCount;return 0==y||0==R?y-R:this._engine.driver.containsElement(d.element,m.element)?1:-1})}destroy(a){this.players.forEach(s=>s.destroy()),this._signalRemovalForInnerTriggers(this.hostElement,a)}}class ch{_onRemovalComplete(a,s){this.onRemovalComplete(a,s)}constructor(a,s,d){this.bodyNode=a,this.driver=s,this._normalizer=d,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=(m,y)=>{}}get queuedPlayers(){const a=[];return this._namespaceList.forEach(s=>{s.players.forEach(d=>{d.queued&&a.push(d)})}),a}createNamespace(a,s){const d=new jp(a,s,this);return this.bodyNode&&this.driver.containsElement(this.bodyNode,s)?this._balanceNamespaceList(d,s):(this.newHostElements.set(s,d),this.collectEnterElement(s)),this._namespaceLookup[a]=d}_balanceNamespaceList(a,s){const d=this._namespaceList,m=this.namespacesByHostElement;if(d.length-1>=0){let R=!1,X=this.driver.getParentElement(s);for(;X;){const pe=m.get(X);if(pe){const Ye=d.indexOf(pe);d.splice(Ye+1,0,a),R=!0;break}X=this.driver.getParentElement(X)}R||d.unshift(a)}else d.push(a);return m.set(s,a),a}register(a,s){let d=this._namespaceLookup[a];return d||(d=this.createNamespace(a,s)),d}registerTrigger(a,s,d){let m=this._namespaceLookup[a];m&&m.register(s,d)&&this.totalAnimations++}destroy(a,s){a&&(this.afterFlush(()=>{}),this.afterFlushAnimationsDone(()=>{const d=this._fetchNamespace(a);this.namespacesByHostElement.delete(d.hostElement);const m=this._namespaceList.indexOf(d);m>=0&&this._namespaceList.splice(m,1),d.destroy(s),delete this._namespaceLookup[a]}))}_fetchNamespace(a){return this._namespaceLookup[a]}fetchNamespacesByElement(a){const s=new Set,d=this.statesByElement.get(a);if(d)for(let m of d.values())if(m.namespaceId){const y=this._fetchNamespace(m.namespaceId);y&&s.add(y)}return s}trigger(a,s,d,m){if(Vs(s)){const y=this._fetchNamespace(a);if(y)return y.trigger(s,d,m),!0}return!1}insertNode(a,s,d,m){if(!Vs(s))return;const y=s[qo];if(y&&y.setForRemoval){y.setForRemoval=!1,y.setForMove=!0;const R=this.collectedLeaveElements.indexOf(s);R>=0&&this.collectedLeaveElements.splice(R,1)}if(a){const R=this._fetchNamespace(a);R&&R.insertNode(s,d)}m&&this.collectEnterElement(s)}collectEnterElement(a){this.collectedEnterElements.push(a)}markElementAsDisabled(a,s){s?this.disabledNodes.has(a)||(this.disabledNodes.add(a),ho(a,rd)):this.disabledNodes.has(a)&&(this.disabledNodes.delete(a),ur(a,rd))}removeNode(a,s,d){if(Vs(s)){const m=a?this._fetchNamespace(a):null;m?m.removeNode(s,d):this.markElementAsRemoved(a,s,!1,d);const y=this.namespacesByHostElement.get(s);y&&y.id!==a&&y.removeNode(s,d)}else this._onRemovalComplete(s,d)}markElementAsRemoved(a,s,d,m,y){this.collectedLeaveElements.push(s),s[qo]={namespaceId:a,setForRemoval:m,hasAnimation:d,removedBeforeQueried:!1,previousTriggersValues:y}}listen(a,s,d,m,y){return Vs(s)?this._fetchNamespace(a).listen(s,d,m,y):()=>{}}_buildInstruction(a,s,d,m,y){return a.transition.build(this.driver,a.element,a.fromState.value,a.toState.value,d,m,a.fromState.options,a.toState.options,s,y)}destroyInnerAnimations(a){let s=this.driver.query(a,Rs,!0);s.forEach(d=>this.destroyActiveAnimationsForElement(d)),0!=this.playersByQueriedElement.size&&(s=this.driver.query(a,wl,!0),s.forEach(d=>this.finishActiveQueriedAnimationOnElement(d)))}destroyActiveAnimationsForElement(a){const s=this.playersByElement.get(a);s&&s.forEach(d=>{d.queued?d.markedForDestroy=!0:d.destroy()})}finishActiveQueriedAnimationOnElement(a){const s=this.playersByQueriedElement.get(a);s&&s.forEach(d=>d.finish())}whenRenderingDone(){return new Promise(a=>{if(this.players.length)return Jo(this.players).onDone(()=>a());a()})}processLeaveNode(a){const s=a[qo];if(s&&s.setForRemoval){if(a[qo]=lh,s.namespaceId){this.destroyInnerAnimations(a);const d=this._fetchNamespace(s.namespaceId);d&&d.clearElementCache(a)}this._onRemovalComplete(a,s.setForRemoval)}a.classList?.contains(rd)&&this.markElementAsDisabled(a,!1),this.driver.query(a,".ng-animate-disabled",!0).forEach(d=>{this.markElementAsDisabled(d,!1)})}flush(a=-1){let s=[];if(this.newHostElements.size&&(this.newHostElements.forEach((d,m)=>this._balanceNamespaceList(d,m)),this.newHostElements.clear()),this.totalAnimations&&this.collectedEnterElements.length)for(let d=0;dd()),this._flushFns=[],this._whenQuietFns.length){const d=this._whenQuietFns;this._whenQuietFns=[],s.length?Jo(s).onDone(()=>{d.forEach(m=>m())}):d.forEach(m=>m())}}reportError(a){throw function rs(u){return new l.vHH(3402,!1)}()}_flushAnimations(a,s){const d=new ba,m=[],y=new Map,R=[],X=new Map,pe=new Map,Ye=new Map,Tt=new Set;this.disabledNodes.forEach(un=>{Tt.add(un);const vn=this.driver.query(un,".ng-animate-queued",!0);for(let Dn=0;Dn{const Dn=Cl+Cn++;dn.set(vn,Dn),un.forEach(Wn=>ho(Wn,Dn))});const si=[],pi=new Set,Ni=new Set;for(let un=0;unpi.add(Wn)):Ni.add(vn))}const qi=new Map,Yi=Bl(on,Array.from(pi));Yi.forEach((un,vn)=>{const Dn=As+Cn++;qi.set(vn,Dn),un.forEach(Wn=>ho(Wn,Dn))}),a.push(()=>{xn.forEach((un,vn)=>{const Dn=dn.get(vn);un.forEach(Wn=>ur(Wn,Dn))}),Yi.forEach((un,vn)=>{const Dn=qi.get(vn);un.forEach(Wn=>ur(Wn,Dn))}),si.forEach(un=>{this.processLeaveNode(un)})});const hr=[],bo=[];for(let un=this._namespaceList.length-1;un>=0;un--)this._namespaceList[un].drainQueuedTransitions(s).forEach(Dn=>{const Wn=Dn.player,Li=Dn.element;if(hr.push(Wn),this.collectedEnterElements.length){const Ki=Li[qo];if(Ki&&Ki.setForMove){if(Ki.previousTriggersValues&&Ki.previousTriggersValues.has(Dn.triggerName)){const Zr=Ki.previousTriggersValues.get(Dn.triggerName),eo=this.statesByElement.get(Dn.element);if(eo&&eo.has(Dn.triggerName)){const Yr=eo.get(Dn.triggerName);Yr.value=Zr,eo.set(Dn.triggerName,Yr)}}return void Wn.destroy()}}const Po=!zt||!this.driver.containsElement(zt,Li),Wi=qi.get(Li),Ir=dn.get(Li),Pi=this._buildInstruction(Dn,d,Ir,Wi,Po);if(Pi.errors&&Pi.errors.length)return void bo.push(Pi);if(Po)return Wn.onStart(()=>cr(Li,Pi.fromStyles)),Wn.onDestroy(()=>zo(Li,Pi.toStyles)),void m.push(Wn);if(Dn.isFallbackTransition)return Wn.onStart(()=>cr(Li,Pi.fromStyles)),Wn.onDestroy(()=>zo(Li,Pi.toStyles)),void m.push(Wn);const wh=[];Pi.timelines.forEach(Ki=>{Ki.stretchStartingKeyframe=!0,this.disabledNodes.has(Ki.element)||wh.push(Ki)}),Pi.timelines=wh,d.append(Li,Pi.timelines),R.push({instruction:Pi,player:Wn,element:Li}),Pi.queriedElements.forEach(Ki=>Io(X,Ki,[]).push(Wn)),Pi.preStyleProps.forEach((Ki,Zr)=>{if(Ki.size){let eo=pe.get(Zr);eo||pe.set(Zr,eo=new Set),Ki.forEach((Yr,Hs)=>eo.add(Hs))}}),Pi.postStyleProps.forEach((Ki,Zr)=>{let eo=Ye.get(Zr);eo||Ye.set(Zr,eo=new Set),Ki.forEach((Yr,Hs)=>eo.add(Hs))})});if(bo.length){const un=[];bo.forEach(vn=>{un.push(function Lu(u,a){return new l.vHH(3505,!1)}())}),hr.forEach(vn=>vn.destroy()),this.reportError(un)}const ro=new Map,Go=new Map;R.forEach(un=>{const vn=un.element;d.has(vn)&&(Go.set(vn,vn),this._beforeAnimationBuild(un.player.namespaceId,un.instruction,ro))}),m.forEach(un=>{const vn=un.element;this._getPreviousPlayers(vn,!1,un.namespaceId,un.triggerName,null).forEach(Wn=>{Io(ro,vn,[]).push(Wn),Wn.destroy()})});const Ro=si.filter(un=>Vl(un,pe,Ye)),er=new Map;Ll(er,this.driver,Ni,Ye,yi.l3).forEach(un=>{Vl(un,pe,Ye)&&Ro.push(un)});const fr=new Map;xn.forEach((un,vn)=>{Ll(fr,this.driver,new Set(un),pe,yi.k1)}),Ro.forEach(un=>{const vn=er.get(un),Dn=fr.get(un);er.set(un,new Map([...vn?.entries()??[],...Dn?.entries()??[]]))});const $r=[],$l=[],Ed={};R.forEach(un=>{const{element:vn,player:Dn,instruction:Wn}=un;if(d.has(vn)){if(Tt.has(vn))return Dn.onDestroy(()=>zo(vn,Wn.toStyles)),Dn.disabled=!0,Dn.overrideTotalTime(Wn.totalTime),void m.push(Dn);let Li=Ed;if(Go.size>1){let Wi=vn;const Ir=[];for(;Wi=Wi.parentNode;){const Pi=Go.get(Wi);if(Pi){Li=Pi;break}Ir.push(Wi)}Ir.forEach(Pi=>Go.set(Pi,Li))}const Po=this._buildAnimation(Dn.namespaceId,Wn,ro,y,fr,er);if(Dn.setRealPlayer(Po),Li===Ed)$r.push(Dn);else{const Wi=this.playersByElement.get(Li);Wi&&Wi.length&&(Dn.parentPlayer=Jo(Wi)),m.push(Dn)}}else cr(vn,Wn.fromStyles),Dn.onDestroy(()=>zo(vn,Wn.toStyles)),$l.push(Dn),Tt.has(vn)&&m.push(Dn)}),$l.forEach(un=>{const vn=y.get(un.element);if(vn&&vn.length){const Dn=Jo(vn);un.setRealPlayer(Dn)}}),m.forEach(un=>{un.parentPlayer?un.syncPlayerEvents(un.parentPlayer):un.destroy()});for(let un=0;un!Po.destroyed);Li.length?Ea(this,vn,Li):this.processLeaveNode(vn)}return si.length=0,$r.forEach(un=>{this.players.push(un),un.onDone(()=>{un.destroy();const vn=this.players.indexOf(un);this.players.splice(vn,1)}),un.play()}),$r}afterFlush(a){this._flushFns.push(a)}afterFlushAnimationsDone(a){this._whenQuietFns.push(a)}_getPreviousPlayers(a,s,d,m,y){let R=[];if(s){const X=this.playersByQueriedElement.get(a);X&&(R=X)}else{const X=this.playersByElement.get(a);if(X){const pe=!y||y==xa;X.forEach(Ye=>{Ye.queued||!pe&&Ye.triggerName!=m||R.push(Ye)})}}return(d||m)&&(R=R.filter(X=>!(d&&d!=X.namespaceId||m&&m!=X.triggerName))),R}_beforeAnimationBuild(a,s,d){const y=s.element,R=s.isRemovalTransition?void 0:a,X=s.isRemovalTransition?void 0:s.triggerName;for(const pe of s.timelines){const Ye=pe.element,Tt=Ye!==y,zt=Io(d,Ye,[]);this._getPreviousPlayers(Ye,Tt,R,X,s.toState).forEach(xn=>{const dn=xn.getRealPlayer();dn.beforeDestroy&&dn.beforeDestroy(),xn.destroy(),zt.push(xn)})}cr(y,s.fromStyles)}_buildAnimation(a,s,d,m,y,R){const X=s.triggerName,pe=s.element,Ye=[],Tt=new Set,zt=new Set,on=s.timelines.map(dn=>{const Cn=dn.element;Tt.add(Cn);const si=Cn[qo];if(si&&si.removedBeforeQueried)return new yi.ZN(dn.duration,dn.delay);const pi=Cn!==pe,Ni=function dh(u){const a=[];return dd(u,a),a}((d.get(Cn)||Up).map(ro=>ro.getRealPlayer())).filter(ro=>!!ro.element&&ro.element===Cn),qi=y.get(Cn),Yi=R.get(Cn),hr=Bu(this._normalizer,dn.keyframes,qi,Yi),bo=this._buildPlayer(dn,hr,Ni);if(dn.subTimeline&&m&&zt.add(Cn),pi){const ro=new fs(a,X,Cn);ro.setRealPlayer(bo),Ye.push(ro)}return bo});Ye.forEach(dn=>{Io(this.playersByQueriedElement,dn.element,[]).push(dn),dn.onDone(()=>function Ca(u,a,s){let d=u.get(a);if(d){if(d.length){const m=d.indexOf(s);d.splice(m,1)}0==d.length&&u.delete(a)}return d}(this.playersByQueriedElement,dn.element,dn))}),Tt.forEach(dn=>ho(dn,El));const xn=Jo(on);return xn.onDestroy(()=>{Tt.forEach(dn=>ur(dn,El)),zo(pe,s.toStyles)}),zt.forEach(dn=>{Io(m,dn,[]).push(xn)}),xn}_buildPlayer(a,s,d){return s.length>0?this.driver.animate(a.element,s,a.duration,a.delay,a.easing,d):new yi.ZN(a.duration,a.delay)}}class fs{constructor(a,s,d){this.namespaceId=a,this.triggerName=s,this.element=d,this._player=new yi.ZN,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(a){this._containsRealPlayer||(this._player=a,this._queuedCallbacks.forEach((s,d)=>{s.forEach(m=>bl(a,d,void 0,m))}),this._queuedCallbacks.clear(),this._containsRealPlayer=!0,this.overrideTotalTime(a.totalTime),this.queued=!1)}getRealPlayer(){return this._player}overrideTotalTime(a){this.totalTime=a}syncPlayerEvents(a){const s=this._player;s.triggerCallback&&a.onStart(()=>s.triggerCallback("start")),a.onDone(()=>this.finish()),a.onDestroy(()=>this.destroy())}_queueEvent(a,s){Io(this._queuedCallbacks,a,[]).push(s)}onDone(a){this.queued&&this._queueEvent("done",a),this._player.onDone(a)}onStart(a){this.queued&&this._queueEvent("start",a),this._player.onStart(a)}onDestroy(a){this.queued&&this._queueEvent("destroy",a),this._player.onDestroy(a)}init(){this._player.init()}hasStarted(){return!this.queued&&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(a){this.queued||this._player.setPosition(a)}getPosition(){return this.queued?0:this._player.getPosition()}triggerCallback(a){const s=this._player;s.triggerCallback&&s.triggerCallback(a)}}function Vs(u){return u&&1===u.nodeType}function Gr(u,a){const s=u.style.display;return u.style.display=a??"none",s}function Ll(u,a,s,d,m){const y=[];s.forEach(pe=>y.push(Gr(pe)));const R=[];d.forEach((pe,Ye)=>{const Tt=new Map;pe.forEach(zt=>{const on=a.computeStyle(Ye,zt,m);Tt.set(zt,on),(!on||0==on.length)&&(Ye[qo]=Nl,R.push(Ye))}),u.set(Ye,Tt)});let X=0;return s.forEach(pe=>Gr(pe,y[X++])),R}function Bl(u,a){const s=new Map;if(u.forEach(X=>s.set(X,[])),0==a.length)return s;const m=new Set(a),y=new Map;function R(X){if(!X)return 1;let pe=y.get(X);if(pe)return pe;const Ye=X.parentNode;return pe=s.has(Ye)?Ye:m.has(Ye)?1:R(Ye),y.set(X,pe),pe}return a.forEach(X=>{const pe=R(X);1!==pe&&s.get(pe).push(X)}),s}function ho(u,a){u.classList?.add(a)}function ur(u,a){u.classList?.remove(a)}function Ea(u,a,s){Jo(s).onDone(()=>u.processLeaveNode(a))}function dd(u,a){for(let s=0;sm.add(y)):a.set(u,d),s.delete(u),!0}class ps{constructor(a,s,d){this.bodyNode=a,this._driver=s,this._normalizer=d,this._triggerCache={},this.onRemovalComplete=(m,y)=>{},this._transitionEngine=new ch(a,s,d),this._timelineEngine=new id(a,s,d),this._transitionEngine.onRemovalComplete=(m,y)=>this.onRemovalComplete(m,y)}registerTrigger(a,s,d,m,y){const R=a+"-"+m;let X=this._triggerCache[R];if(!X){const pe=[],Tt=Ur(this._driver,y,pe,[]);if(pe.length)throw function aa(u,a){return new l.vHH(3404,!1)}();X=function nh(u,a,s){return new ih(u,a,s)}(m,Tt,this._normalizer),this._triggerCache[R]=X}this._transitionEngine.registerTrigger(s,m,X)}register(a,s){this._transitionEngine.register(a,s)}destroy(a,s){this._transitionEngine.destroy(a,s)}onInsert(a,s,d,m){this._transitionEngine.insertNode(a,s,d,m)}onRemove(a,s,d){this._transitionEngine.removeNode(a,s,d)}disableAnimations(a,s){this._transitionEngine.markElementAsDisabled(a,s)}process(a,s,d,m){if("@"==d.charAt(0)){const[y,R]=ha(d);this._timelineEngine.command(y,s,R,m)}else this._transitionEngine.trigger(a,s,d,m)}listen(a,s,d,m,y){if("@"==d.charAt(0)){const[R,X]=ha(d);return this._timelineEngine.listen(R,s,X,y)}return this._transitionEngine.listen(a,s,d,m,y)}flush(a=-1){this._transitionEngine.flush(a)}get players(){return[...this._transitionEngine.players,...this._timelineEngine.players]}whenRenderingDone(){return this._transitionEngine.whenRenderingDone()}afterFlushAnimationsDone(a){this._transitionEngine.afterFlushAnimationsDone(a)}}let fh=(()=>{class u{static#e=this.initialStylesByElement=new WeakMap;constructor(s,d,m){this._element=s,this._startStyles=d,this._endStyles=m,this._state=0;let y=u.initialStylesByElement.get(s);y||u.initialStylesByElement.set(s,y=new Map),this._initialStyles=y}start(){this._state<1&&(this._startStyles&&zo(this._element,this._startStyles,this._initialStyles),this._state=1)}finish(){this.start(),this._state<2&&(zo(this._element,this._initialStyles),this._endStyles&&(zo(this._element,this._endStyles),this._endStyles=null),this._state=1)}destroy(){this.finish(),this._state<3&&(u.initialStylesByElement.delete(this._element),this._startStyles&&(cr(this._element,this._startStyles),this._endStyles=null),this._endStyles&&(cr(this._element,this._endStyles),this._endStyles=null),zo(this._element,this._initialStyles),this._state=3)}}return u})();function Hl(u){let a=null;return u.forEach((s,d)=>{(function ud(u){return"display"===u||"position"===u})(d)&&(a=a||new Map,a.set(d,s))}),a}class hd{constructor(a,s,d,m){this.element=a,this.keyframes=s,this.options=d,this._specialStyles=m,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=d.duration,this._delay=d.delay||0,this.time=this._duration+this._delay}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(a=>a()),this._onDoneFns=[])}init(){this._buildPlayer(),this._preparePlayerBeforeStart()}_buildPlayer(){if(this._initialized)return;this._initialized=!0;const a=this.keyframes;this.domPlayer=this._triggerWebAnimation(this.element,a,this.options),this._finalKeyframe=a.length?a[a.length-1]:new Map,this.domPlayer.addEventListener("finish",()=>this._onFinish())}_preparePlayerBeforeStart(){this._delay?this._resetDomPlayerState():this.domPlayer.pause()}_convertKeyframesToObject(a){const s=[];return a.forEach(d=>{s.push(Object.fromEntries(d))}),s}_triggerWebAnimation(a,s,d){return a.animate(this._convertKeyframesToObject(s),d)}onStart(a){this._originalOnStartFns.push(a),this._onStartFns.push(a)}onDone(a){this._originalOnDoneFns.push(a),this._onDoneFns.push(a)}onDestroy(a){this._onDestroyFns.push(a)}play(){this._buildPlayer(),this.hasStarted()||(this._onStartFns.forEach(a=>a()),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(a=>a()),this._onDestroyFns=[])}setPosition(a){void 0===this.domPlayer&&this.init(),this.domPlayer.currentTime=a*this.time}getPosition(){return+(this.domPlayer.currentTime??0)/this.time}get totalTime(){return this._delay+this._duration}beforeDestroy(){const a=new Map;this.hasStarted()&&this._finalKeyframe.forEach((d,m)=>{"offset"!==m&&a.set(m,this._finished?d:ju(this.element,m))}),this.currentSnapshot=a}triggerCallback(a){const s="start"===a?this._onStartFns:this._onDoneFns;s.forEach(d=>d()),s.length=0}}class ph{validateStyleProperty(a){return!0}validateAnimatableStyleProperty(a){return!0}matchesElement(a,s){return!1}containsElement(a,s){return Jc(a,s)}getParentElement(a){return yl(a)}query(a,s,d){return jo(a,s,d)}computeStyle(a,s,d){return window.getComputedStyle(a)[s]}animate(a,s,d,m,y,R=[]){const pe={duration:d,delay:m,fill:0==m?"both":"forwards"};y&&(pe.easing=y);const Ye=new Map,Tt=R.filter(xn=>xn instanceof hd);(function Fp(u,a){return 0===u||0===a})(d,m)&&Tt.forEach(xn=>{xn.currentSnapshot.forEach((dn,Cn)=>Ye.set(Cn,dn))});let zt=function Hu(u){return u.length?u[0]instanceof Map?u:u.map(a=>as(a)):[]}(s).map(xn=>Mr(xn));zt=function Uu(u,a,s){if(s.size&&a.length){let d=a[0],m=[];if(s.forEach((y,R)=>{d.has(R)||m.push(R),d.set(R,y)}),m.length)for(let y=1;yR.set(X,ju(u,X)))}}return a}(a,zt,Ye);const on=function hh(u,a){let s=null,d=null;return Array.isArray(a)&&a.length?(s=Hl(a[0]),a.length>1&&(d=Hl(a[a.length-1]))):a instanceof Map&&(s=Hl(a)),s||d?new fh(u,s,d):null}(a,zt);return new hd(a,zt,pe,on)}}let _o=(()=>{class u extends yi._j{constructor(s,d){super(),this._nextAnimationId=0,this._renderer=s.createRenderer(d.body,{id:"0",encapsulation:l.ifc.None,styles:[],data:{animation:[]}})}build(s){const d=this._nextAnimationId.toString();this._nextAnimationId++;const m=Array.isArray(s)?(0,yi.vP)(s):s;return wa(this._renderer,null,d,"register",[m]),new Ul(d,this._renderer)}static#e=this.\u0275fac=function(d){return new(d||u)(l.LFG(l.FYo),l.LFG(K.K0))};static#t=this.\u0275prov=l.Yz7({token:u,factory:u.\u0275fac})}return u})();class Ul extends yi.LC{constructor(a,s){super(),this._id=a,this._renderer=s}create(a,s){return new fd(this._id,a,s||{},this._renderer)}}class fd{constructor(a,s,d,m){this.id=a,this.element=s,this._renderer=m,this.parentPlayer=null,this._started=!1,this.totalTime=0,this._command("create",d)}_listen(a,s){return this._renderer.listen(this.element,`@@${this.id}:${a}`,s)}_command(a,...s){return wa(this._renderer,this.element,this.id,a,s)}onDone(a){this._listen("done",a)}onStart(a){this._listen("start",a)}onDestroy(a){this._listen("destroy",a)}init(){this._command("init")}hasStarted(){return this._started}play(){this._command("play"),this._started=!0}pause(){this._command("pause")}restart(){this._command("restart")}finish(){this._command("finish")}destroy(){this._command("destroy")}reset(){this._command("reset"),this._started=!1}setPosition(a){this._command("setPosition",a)}getPosition(){return this._renderer.engine.players[+this.id]?.getPosition()??0}}function wa(u,a,s,d,m){return u.setProperty(a,`@@${s}:${d}`,m)}const ms="@.disabled";let pd=(()=>{class u{constructor(s,d,m){this.delegate=s,this.engine=d,this._zone=m,this._currentId=0,this._microtaskId=1,this._animationCallbacksBuffer=[],this._rendererCache=new Map,this._cdRecurDepth=0,d.onRemovalComplete=(y,R)=>{const X=R?.parentNode(y);X&&R.removeChild(X,y)}}createRenderer(s,d){const y=this.delegate.createRenderer(s,d);if(!(s&&d&&d.data&&d.data.animation)){let Tt=this._rendererCache.get(y);return Tt||(Tt=new jl("",y,this.engine,()=>this._rendererCache.delete(y)),this._rendererCache.set(y,Tt)),Tt}const R=d.id,X=d.id+"-"+this._currentId;this._currentId++,this.engine.register(X,s);const pe=Tt=>{Array.isArray(Tt)?Tt.forEach(pe):this.engine.registerTrigger(R,X,s,Tt.name,Tt)};return d.data.animation.forEach(pe),new mh(this,X,y,this.engine)}begin(){this._cdRecurDepth++,this.delegate.begin&&this.delegate.begin()}_scheduleCountTask(){queueMicrotask(()=>{this._microtaskId++})}scheduleListenerCallback(s,d,m){s>=0&&sd(m)):(0==this._animationCallbacksBuffer.length&&queueMicrotask(()=>{this._zone.run(()=>{this._animationCallbacksBuffer.forEach(y=>{const[R,X]=y;R(X)}),this._animationCallbacksBuffer=[]})}),this._animationCallbacksBuffer.push([d,m]))}end(){this._cdRecurDepth--,0==this._cdRecurDepth&&this._zone.runOutsideAngular(()=>{this._scheduleCountTask(),this.engine.flush(this._microtaskId)}),this.delegate.end&&this.delegate.end()}whenRenderingDone(){return this.engine.whenRenderingDone()}static#e=this.\u0275fac=function(d){return new(d||u)(l.LFG(l.FYo),l.LFG(ps),l.LFG(l.R0b))};static#t=this.\u0275prov=l.Yz7({token:u,factory:u.\u0275fac})}return u})();class jl{constructor(a,s,d,m){this.namespaceId=a,this.delegate=s,this.engine=d,this._onDestroy=m}get data(){return this.delegate.data}destroyNode(a){this.delegate.destroyNode?.(a)}destroy(){this.engine.destroy(this.namespaceId,this.delegate),this.engine.afterFlushAnimationsDone(()=>{queueMicrotask(()=>{this.delegate.destroy()})}),this._onDestroy?.()}createElement(a,s){return this.delegate.createElement(a,s)}createComment(a){return this.delegate.createComment(a)}createText(a){return this.delegate.createText(a)}appendChild(a,s){this.delegate.appendChild(a,s),this.engine.onInsert(this.namespaceId,s,a,!1)}insertBefore(a,s,d,m=!0){this.delegate.insertBefore(a,s,d),this.engine.onInsert(this.namespaceId,s,a,m)}removeChild(a,s,d){this.engine.onRemove(this.namespaceId,s,this.delegate)}selectRootElement(a,s){return this.delegate.selectRootElement(a,s)}parentNode(a){return this.delegate.parentNode(a)}nextSibling(a){return this.delegate.nextSibling(a)}setAttribute(a,s,d,m){this.delegate.setAttribute(a,s,d,m)}removeAttribute(a,s,d){this.delegate.removeAttribute(a,s,d)}addClass(a,s){this.delegate.addClass(a,s)}removeClass(a,s){this.delegate.removeClass(a,s)}setStyle(a,s,d,m){this.delegate.setStyle(a,s,d,m)}removeStyle(a,s,d){this.delegate.removeStyle(a,s,d)}setProperty(a,s,d){"@"==s.charAt(0)&&s==ms?this.disableAnimations(a,!!d):this.delegate.setProperty(a,s,d)}setValue(a,s){this.delegate.setValue(a,s)}listen(a,s,d){return this.delegate.listen(a,s,d)}disableAnimations(a,s){this.engine.disableAnimations(a,s)}}class mh extends jl{constructor(a,s,d,m,y){super(s,d,m,y),this.factory=a,this.namespaceId=s}setProperty(a,s,d){"@"==s.charAt(0)?"."==s.charAt(1)&&s==ms?this.disableAnimations(a,d=void 0===d||!!d):this.engine.process(this.namespaceId,a,s.slice(1),d):this.delegate.setProperty(a,s,d)}listen(a,s,d){if("@"==s.charAt(0)){const m=function md(u){switch(u){case"body":return document.body;case"document":return document;case"window":return window;default:return u}}(a);let y=s.slice(1),R="";return"@"!=y.charAt(0)&&([y,R]=function gh(u){const a=u.indexOf(".");return[u.substring(0,a),u.slice(a+1)]}(y)),this.engine.listen(this.namespaceId,m,y,R,X=>{this.factory.scheduleListenerCallback(X._data||-1,d,X)})}return this.delegate.listen(a,s,d)}}const bd=[{provide:yi._j,useClass:_o},{provide:va,useFactory:function _h(){return new us}},{provide:ps,useClass:(()=>{class u extends ps{constructor(s,d,m,y){super(s.body,d,m)}ngOnDestroy(){this.flush()}static#e=this.\u0275fac=function(d){return new(d||u)(l.LFG(K.K0),l.LFG(Ss),l.LFG(va),l.LFG(l.z2F))};static#t=this.\u0275prov=l.Yz7({token:u,factory:u.\u0275fac})}return u})()},{provide:l.FYo,useFactory:function _d(u,a,s){return new pd(u,a,s)},deps:[n.se,ps,l.R0b]}],bh=[{provide:Ss,useFactory:()=>new ph},{provide:l.QbO,useValue:"BrowserAnimations"},...bd];var yh=p(9862),yd=p(7326),xd=p(8877),Ta=p(2296),Sr=p(617);function Ma(u,a){if(1&u&&(l.TgZ(0,"li",16)(1,"a",17),l._uU(2),l.qZA()()),2&u){const s=a.$implicit,d=l.oxw(2).$implicit;l.xp6(1),l.Q6J("routerLink",d.route)("fragment",s.route),l.xp6(1),l.hij("",s.name," ")}}function Cd(u,a){if(1&u&&(l.TgZ(0,"ul",14),l.YNc(1,Ma,3,3,"li",15),l.qZA()),2&u){const s=l.oxw().$implicit;l.xp6(1),l.Q6J("ngForOf",s.children)}}function Gl(u,a){if(1&u&&(l.TgZ(0,"li",11)(1,"a",12),l._uU(2),l.qZA(),l.YNc(3,Cd,2,1,"ul",13),l.qZA()),2&u){const s=a.$implicit;l.xp6(1),l.Q6J("routerLink",s.route),l.xp6(1),l.Oqu(s.name),l.xp6(1),l.Q6J("ngIf",s.children.length>0)}}let Sa=(()=>{class u{constructor(s){this.router=s,this.menu=[{name:"Getting started",route:"getting-started",children:[]},{name:"Basic controls",route:"basic-controls",children:[{name:"Text",route:"text"},{name:"Number",route:"number"},{name:"Switch",route:"switch"},{name:"Slider",route:"slider"},{name:"Fill",route:"fill"},{name:"Select",route:"select"},{name:"Button Toggle",route:"button_toggle"},{name:"Image Select",route:"image_select"},{name:"Textarea",route:"textarea"},{name:"Hidden",route:"hidden"}]},{name:"Group controls",route:"group-controls",children:[{name:"Group",route:"group"},{name:"Inline Group",route:"inline_group"},{name:"Tabs",route:"tabs"},{name:"Menu",route:"menu"}]},{name:"Media controls",route:"media-controls",children:[{name:"Upload Settings",route:"upload_settings"},{name:"Image",route:"image"},{name:"Video",route:"video"},{name:"Audio",route:"audio"},{name:"File",route:"file"}]},{name:"Playground",route:"playground",children:[]}],this.menuOpened=!1,this.router.events.pipe((0,ct.h)(d=>d instanceof A)).subscribe(d=>{this.menuOpened=!1})}static#e=this.\u0275fac=function(d){return new(d||u)(l.Y36(po))};static#t=this.\u0275cmp=l.Xpm({type:u,selectors:[["app-layout"]],hostAttrs:[1,"container-wrap"],standalone:!0,features:[l.jDz],decls:19,vars:5,consts:[["mat-icon-button","",1,"menu-toggle",3,"click"],["svgIcon","menu"],["routerLink","/",1,"brand"],[1,"spacer"],["mat-icon-button","","href","https://github.com/acrodata/gui","target","_blank"],["svgIcon","github"],[1,"container"],["role","navigation",1,"menu"],["class","menu-item","routerLinkActive","active",4,"ngFor","ngForOf"],["href","https://github.com/nzbin","target","_blank"],[1,"backdrop",3,"click"],["routerLinkActive","active",1,"menu-item"],["role","button",3,"routerLink"],["class","submenu",4,"ngIf"],[1,"submenu"],["class","submenu-item",4,"ngFor","ngForOf"],[1,"submenu-item"],["role","button",3,"routerLink","fragment"]],template:function(d,m){1&d&&(l.TgZ(0,"header")(1,"button",0),l.NdJ("click",function(){return m.menuOpened=!m.menuOpened}),l._UZ(2,"mat-icon",1),l.qZA(),l.TgZ(3,"a",2),l._uU(4,"Acrodata GUI"),l.qZA(),l._UZ(5,"span",3),l.TgZ(6,"a",4),l._UZ(7,"mat-icon",5),l.qZA()(),l.TgZ(8,"div",6)(9,"aside")(10,"ul",7),l.YNc(11,Gl,4,3,"li",8),l.qZA()(),l.TgZ(12,"main"),l._UZ(13,"router-outlet"),l.TgZ(14,"footer"),l._uU(15,"\xa9 2023 Made with \u2764\ufe0f by "),l.TgZ(16,"a",9),l._uU(17,"nzbin"),l.qZA()()()(),l.TgZ(18,"div",10),l.NdJ("click",function(){return m.menuOpened=!1}),l.qZA()),2&d&&(l.xp6(9),l.ekj("show",m.menuOpened),l.xp6(2),l.Q6J("ngForOf",m.menu),l.xp6(7),l.ekj("show",m.menuOpened))},dependencies:[K.ez,K.sg,K.O5,wn,Cs,Lr,Ta.ot,Ta.o6,Ta.RK,Sr.Ps,Sr.Hw],styles:['.container-wrap{display:block;max-width:1280px;padding:0 64px;margin:0 auto}.container{display:flex;gap:32px}main{flex:1;width:0;padding-top:16px}aside{position:sticky;top:0;display:block;width:240px;height:100vh;padding:16px 0 32px;overflow:auto;background-color:var(--bg-color)}header{display:flex;align-items:center;height:64px;border-bottom:1px solid var(--border-color);background-color:var(--bg-translucent-color);-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px)}footer{padding:32px 0;margin-top:64px;font-size:.75rem;text-align:center}.menu,.submenu{padding:0;margin:0;list-style-type:none}.menu a,.submenu a{position:relative;display:block;padding:8px 16px;border-radius:8px;text-decoration:none}.menu a:hover,.submenu a:hover{background-color:var(--bg-secondary-color)}.menu-item>a{margin-top:24px;font-weight:500;color:var(--fg-color)}.menu-item.active>a:before{content:"";position:absolute;top:12px;left:0;display:inline-block;width:4px;height:16px;background-color:currentColor;border-radius:2px}.menu-item:first-child>a{margin-top:0}.submenu-item>a{color:var(--fg-secondary-color)}.brand{padding:0 16px;color:var(--heading-color);font-size:20px;font-weight:600}.spacer{flex-grow:1}@media (width <= 960px){.container-wrap{padding:0 32px}aside{position:fixed;top:0;bottom:0;left:0;z-index:20;transform:translate(-100%);transition:transform .3s ease-in-out}aside.show{transform:none}.backdrop{position:fixed;top:0;left:0;z-index:19;width:100vw;height:100vh;visibility:hidden;transition-duration:.4s;transition-timing-function:cubic-bezier(.25,.8,.25,1);transition-property:background-color,visibility}.backdrop.show{background-color:#00000080;visibility:visible}header{position:sticky;top:0;z-index:10}.brand{padding:0 8px}}@media (width <= 600px){.container-wrap{padding:0 16px}}@media (width > 960px){.mat-mdc-icon-button.menu-toggle{display:none}}a.mat-mdc-icon-button{display:inline-flex}a.mat-mdc-icon-button .mat-icon{line-height:1}\n'],encapsulation:2})}return u})();var xh=p(1978);const Ch={providers:[function Ic(u,...a){return(0,l.MR2)([{provide:F,multi:!0,useValue:u},[],{provide:Ji,useFactory:ul,deps:[po]},{provide:l.tb,multi:!0,useFactory:Ac},a.map(s=>s.\u0275providers)])}([{path:"",component:Sa,children:[{path:"",redirectTo:"home",pathMatch:"full"},{path:"home",component:(()=>{class u{static#e=this.\u0275fac=function(d){return new(d||u)};static#t=this.\u0275cmp=l.Xpm({type:u,selectors:[["app-home"]],standalone:!0,features:[l.jDz],decls:19,vars:0,consts:[["id","features"],["href","home#features"],["href","https://angular.io/guide/reactive-forms","target","_blank"]],template:function(d,m){1&d&&(l._UZ(0,"app-gradient-generator"),l.TgZ(1,"h2",0)(2,"a",1),l._uU(3,"Features"),l.qZA()(),l.TgZ(4,"ul")(5,"li"),l._uU(6,"Built on top of "),l.TgZ(7,"a",2),l._uU(8,"Angular Reactive Forms"),l.qZA()(),l.TgZ(9,"li"),l._uU(10,"JSON powered config"),l.qZA(),l.TgZ(11,"li"),l._uU(12,"Easy to understand config and model"),l.qZA(),l.TgZ(13,"li"),l._uU(14,"Uses Angular Material as basic UI library"),l.qZA(),l.TgZ(15,"li"),l._uU(16,"A11y support"),l.qZA(),l.TgZ(17,"li"),l._uU(18,"RTL support"),l.qZA()())},dependencies:[xh.Lq]})}return u})()},{path:"getting-started",loadComponent:()=>p.e(923).then(p.bind(p,6923)).then(u=>u.GettingStartedComponent)},{path:"basic-controls",loadComponent:()=>p.e(254).then(p.bind(p,5254)).then(u=>u.BasicControlsComponent)},{path:"media-controls",loadComponent:()=>p.e(914).then(p.bind(p,8914)).then(u=>u.MediaControlsComponent)},{path:"group-controls",loadComponent:()=>p.e(832).then(p.bind(p,4832)).then(u=>u.GroupControlsComponent)},{path:"playground",loadComponent:()=>p.e(346).then(p.bind(p,8346)).then(u=>u.PlaygroundComponent)}]}],function wp(u={}){return function Qo(u,a){return{\u0275kind:u,\u0275providers:a}}(4,[{provide:oa,useFactory:()=>{const s=(0,l.f3M)(K.EM),d=(0,l.f3M)(l.R0b),m=(0,l.f3M)(ni),y=(0,l.f3M)(An);return new Sc(y,m,s,d,u)}}])}({scrollPositionRestoration:"enabled",anchorScrolling:"enabled"})),function vh(){return[...bh]}(),(0,yh.h_)(),(0,l.RIp)(xd.nm.forRoot({baseUrl:"assets/lib"})),{provide:yd.rN,useValue:{coreLibraryLoader:()=>p.e(373).then(p.bind(p,4373)),languages:{typescript:()=>p.e(266).then(p.bind(p,5266)),scss:()=>p.e(164).then(p.bind(p,4164)),xml:()=>p.e(668).then(p.bind(p,2668)),json:()=>p.e(576).then(p.bind(p,1576))}}}]};(0,n.Cg)((()=>{class u{constructor(s,d){this.title="docs",this.icons=["menu","github"];for(const m of this.icons)s.addSvgIcon(m,d.bypassSecurityTrustResourceUrl(`assets/icons/${m}.svg`))}static#e=this.\u0275fac=function(d){return new(d||u)(l.Y36(Sr.jv),l.Y36(n.H7))};static#t=this.\u0275cmp=l.Xpm({type:u,selectors:[["app-root"]],standalone:!0,features:[l.jDz],decls:1,vars:0,template:function(d,m){1&d&&l._UZ(0,"router-outlet")},dependencies:[K.ez,wn],encapsulation:2})}return u})(),Ch).catch(u=>console.error(u))},7836:(_t,Me,p)=>{p.d(Me,{E:()=>w});var n=p(5879),l=p(9862);let w=(()=>{class E{constructor(Q){this.http=Q,this.url="",this.params={}}upload(Q){return this.http.post(this.url,Q,{reportProgress:!0,observe:"events",params:this.params})}static#e=this.\u0275fac=function(ne){return new(ne||E)(n.LFG(l.eN))};static#t=this.\u0275prov=n.Yz7({token:E,factory:E.\u0275fac})}return E})()},3383:(_t,Me,p)=>{p.d(Me,{s:()=>Ji});var n=p(5879),l=p(6223),w=p(7394),E=p(6814),H=p(617),Q=p(2296),ne=p(4104),we=p(3305),ie=p(9157),J=p(4516);function xe(b,z){const h=new Function("obj",'var p=[],print=function(){p.push.apply(p,arguments);};with(obj){p.push("'+b.replace(/[\r\t\n]/g," ").split("<%").join("\t").replace(/((^|%>)[^\t]*)'/g,"$1\r").replace(/\t=(.*?)%>/g,'",$1,"').split("\t").join('");').split("%>").join('p.push("').split("\r").join('"')+'");}return p.join("");');return z?h(z):h}let fe=(()=>{class b{transform(h,M={}){return xe(h,M)}static#e=this.\u0275fac=function(M){return new(M||b)};static#t=this.\u0275pipe=n.Yjl({name:"ejs",type:b,pure:!0})}return b})(),ce=(()=>{class b{constructor(h){this.el=h,this.flex=100}ngOnInit(){this.el.nativeElement.style.flex=`1 1 ${this.flex}%`,this.el.nativeElement.style.maxWidth=`${this.flex}%`}static#e=this.\u0275fac=function(M){return new(M||b)(n.Y36(n.SBq))};static#t=this.\u0275dir=n.lG2({type:b,selectors:[["","flex",""]],inputs:{flex:"flex"}})}return b})();var De=p(2596);function Ae(b,z){if(1&b&&(n.TgZ(0,"span"),n._uU(1),n.qZA()),2&b){const h=n.oxw();n.xp6(1),n.Oqu(h.title)}}function Le(b,z){if(1&b&&(n.TgZ(0,"span",2),n._uU(1),n.qZA()),2&b){const h=n.oxw();n.ekj("gui-field-label-with-description",h.config.description),n.Q6J("matTooltip",h.config.description),n.xp6(1),n.Oqu(h.title)}}let se=(()=>{class b{constructor(){this.config={},this.title="",this.styless=!1}ngOnChanges(){const{index:h,name:M,parentType:T,type:Re}=this.config;this.title=null==h||isNaN(h)?M:xe(M||"",{i:h}),this.styless="inline"===T&&"inline"!==Re||"group"===Re||"tabs"===Re}static#e=this.\u0275fac=function(M){return new(M||b)};static#t=this.\u0275cmp=n.Xpm({type:b,selectors:[["gui-field-label"]],hostVars:3,hostBindings:function(M,T){2&M&&(n.Ikx("title",T.title),n.ekj("gui-field-label",!T.styless))},inputs:{config:"config",index:"index"},features:[n.TTD],decls:2,vars:2,consts:[[4,"ngIf"],["matTooltipPosition","above","matTooltipClass","gui-field-label-tooltip",3,"gui-field-label-with-description","matTooltip",4,"ngIf"],["matTooltipPosition","above","matTooltipClass","gui-field-label-tooltip",3,"matTooltip"]],template:function(M,T){1&M&&(n.YNc(0,Ae,2,1,"span",0),n.YNc(1,Le,2,4,"span",1)),2&M&&(n.Q6J("ngIf",!T.config.description),n.xp6(1),n.Q6J("ngIf",T.config.description))},dependencies:[E.O5,De.gM],styles:[".gui-field-label{display:inline-block;width:64px;height:24px;padding:0 4px;line-height:24px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.gui-field-label-with-description{-webkit-text-decoration:underline dotted;text-decoration:underline dotted;cursor:help}\n"],encapsulation:2,changeDetection:0})}return b})();function ue(b,z){if(1&b&&(n.TgZ(0,"span",4),n._uU(1),n.qZA()),2&b){const h=n.oxw();n.xp6(1),n.Oqu(h.config.prefix)}}function ze(b,z){if(1&b&&(n.TgZ(0,"span",5),n._uU(1),n.qZA()),2&b){const h=n.oxw();n.xp6(1),n.Oqu(h.config.suffix)}}function oe(b,z){if(1&b&&(n.TgZ(0,"mat-hint"),n._UZ(1,"gui-field-label",6),n.qZA()),2&b){const h=n.oxw();n.xp6(1),n.Q6J("config",h.config)}}let N=(()=>{class b{constructor(h){this.cdr=h,this.config={},this.disabled=!1,this.value="",this.onChange=()=>{},this.onTouched=()=>{}}writeValue(h){this.value=h,this.cdr.markForCheck()}registerOnChange(h){this.onChange=h}registerOnTouched(h){this.onTouched=h}setDisabledState(h){this.disabled=h,this.cdr.markForCheck()}onValueChange(){this.onChange(this.value)}static#e=this.\u0275fac=function(M){return new(M||b)(n.Y36(n.sBO))};static#t=this.\u0275cmp=n.Xpm({type:b,selectors:[["gui-input-text"]],hostAttrs:[1,"gui-field","gui-input-text"],inputs:{config:"config",disabled:"disabled"},features:[n._Bn([{provide:l.JU,useExisting:(0,n.Gpc)(()=>b),multi:!0}])],decls:5,vars:6,consts:[["matPrefix","",4,"ngIf"],["matInput","","type","text",3,"ngModel","disabled","placeholder","ngModelChange","change"],["matSuffix","",4,"ngIf"],[4,"ngIf"],["matPrefix",""],["matSuffix",""],[3,"config"]],template:function(M,T){1&M&&(n.TgZ(0,"mat-form-field"),n.YNc(1,ue,2,1,"span",0),n.TgZ(2,"input",1),n.NdJ("ngModelChange",function(Ge){return T.value=Ge})("change",function(){return T.onValueChange()}),n.qZA(),n.YNc(3,ze,2,1,"span",2),n.YNc(4,oe,2,1,"mat-hint",3),n.qZA()),2&M&&(n.xp6(1),n.Q6J("ngIf",T.config.prefix),n.xp6(1),n.Q6J("ngModel",T.value)("disabled",T.disabled)("placeholder",T.config.placeholder||""),n.xp6(1),n.Q6J("ngIf",T.config.suffix),n.xp6(1),n.Q6J("ngIf","inline"===T.config.parentType))},dependencies:[E.O5,l.Fj,l.JJ,l.On,ie.KE,ie.bx,ie.qo,ie.R9,J.Nt,se],encapsulation:2,changeDetection:0})}return b})();function Ce(b,z){if(1&b&&(n.TgZ(0,"span",4),n._uU(1),n.qZA()),2&b){const h=n.oxw();n.xp6(1),n.Oqu(h.config.prefix)}}function K(b,z){if(1&b&&(n.TgZ(0,"span",5),n._uU(1),n.qZA()),2&b){const h=n.oxw();n.xp6(1),n.Oqu(h.config.suffix)}}function ve(b,z){if(1&b&&(n.TgZ(0,"mat-hint"),n._UZ(1,"gui-field-label",6),n.qZA()),2&b){const h=n.oxw();n.xp6(1),n.Q6J("config",h.config)}}let ye=(()=>{class b{constructor(h){this.cdr=h,this.config={},this.disabled=!1,this.onChange=()=>{},this.onTouched=()=>{}}writeValue(h){this.value=h,this.cdr.markForCheck()}registerOnChange(h){this.onChange=h}registerOnTouched(h){this.onTouched=h}setDisabledState(h){this.disabled=h,this.cdr.markForCheck()}onValueChange(){this.onChange(this.value)}static#e=this.\u0275fac=function(M){return new(M||b)(n.Y36(n.sBO))};static#t=this.\u0275cmp=n.Xpm({type:b,selectors:[["gui-input-number"]],hostAttrs:[1,"gui-field","gui-input-number"],inputs:{config:"config",disabled:"disabled"},features:[n._Bn([{provide:l.JU,useExisting:(0,n.Gpc)(()=>b),multi:!0}])],decls:5,vars:9,consts:[["matPrefix","",4,"ngIf"],["matInput","","type","number",3,"ngModel","disabled","placeholder","step","min","max","ngModelChange","change"],["matSuffix","",4,"ngIf"],[4,"ngIf"],["matPrefix",""],["matSuffix",""],[3,"config"]],template:function(M,T){1&M&&(n.TgZ(0,"mat-form-field"),n.YNc(1,Ce,2,1,"span",0),n.TgZ(2,"input",1),n.NdJ("ngModelChange",function(Ge){return T.value=Ge})("change",function(){return T.onValueChange()}),n.qZA(),n.YNc(3,K,2,1,"span",2),n.YNc(4,ve,2,1,"mat-hint",3),n.qZA()),2&M&&(n.xp6(1),n.Q6J("ngIf",T.config.prefix),n.xp6(1),n.Q6J("ngModel",T.value)("disabled",T.disabled)("placeholder",T.config.placeholder||"")("step",T.config.step)("min",T.config.min)("max",T.config.max),n.xp6(1),n.Q6J("ngIf",T.config.suffix),n.xp6(1),n.Q6J("ngIf","inline"===T.config.parentType))},dependencies:[E.O5,l.Fj,l.wV,l.JJ,l.qQ,l.Fd,l.On,ie.KE,ie.bx,ie.qo,ie.R9,J.Nt,se],styles:[".gui-input-number .mat-mdc-text-field-wrapper{padding-right:0}[dir=rtl] .gui-input-number .mat-mdc-text-field-wrapper{padding-left:0}\n"],encapsulation:2,changeDetection:0})}return b})();var He=p(8525),ft=p(3680);function ct(b,z){if(1&b&&(n.TgZ(0,"span",5),n._uU(1),n.qZA()),2&b){const h=n.oxw();n.xp6(1),n.Oqu(h.config.prefix)}}const xt=function(b){return{fontFamily:b}};function Ut(b,z){if(1&b&&(n.TgZ(0,"mat-option",6)(1,"span"),n._uU(2),n.qZA()()),2&b){const h=z.$implicit,M=n.oxw();n.Q6J("value",h.value)("disabled",h.disabled),n.xp6(1),n.Akn(n.VKq(5,xt,M.config.useFont?h.value:"")),n.xp6(1),n.Oqu(h.label)}}function It(b,z){if(1&b&&(n.TgZ(0,"span",7),n._uU(1),n.qZA()),2&b){const h=n.oxw();n.xp6(1),n.Oqu(h.config.suffix)}}function sn(b,z){if(1&b&&(n.TgZ(0,"mat-hint"),n._UZ(1,"gui-field-label",8),n.qZA()),2&b){const h=n.oxw();n.xp6(1),n.Q6J("config",h.config)}}let Xe=(()=>{class b{constructor(h){this.cdr=h,this.config={},this.disabled=!1,this.value="",this.onChange=()=>{},this.onTouched=()=>{}}writeValue(h){this.value=h,this.cdr.markForCheck()}registerOnChange(h){this.onChange=h}registerOnTouched(h){this.onTouched=h}setDisabledState(h){this.disabled=h,this.cdr.markForCheck()}onValueChange(){this.onChange(this.value)}static#e=this.\u0275fac=function(M){return new(M||b)(n.Y36(n.sBO))};static#t=this.\u0275cmp=n.Xpm({type:b,selectors:[["gui-select"]],hostAttrs:[1,"gui-field","gui-select"],inputs:{config:"config",disabled:"disabled"},features:[n._Bn([{provide:l.JU,useExisting:(0,n.Gpc)(()=>b),multi:!0}])],decls:6,vars:8,consts:[["matPrefix","",4,"ngIf"],["panelClass","gui-select","hideSingleSelectionIndicator","","disableRipple","",3,"ngModel","disabled","placeholder","multiple","ngModelChange","selectionChange"],[3,"value","disabled",4,"ngFor","ngForOf"],["matSuffix","",4,"ngIf"],[4,"ngIf"],["matPrefix",""],[3,"value","disabled"],["matSuffix",""],[3,"config"]],template:function(M,T){1&M&&(n.TgZ(0,"mat-form-field"),n.YNc(1,ct,2,1,"span",0),n.TgZ(2,"mat-select",1),n.NdJ("ngModelChange",function(Ge){return T.value=Ge})("selectionChange",function(){return T.onValueChange()}),n.YNc(3,Ut,3,7,"mat-option",2),n.qZA(),n.YNc(4,It,2,1,"span",3),n.YNc(5,sn,2,1,"mat-hint",4),n.qZA()),2&M&&(n.xp6(1),n.Q6J("ngIf",T.config.prefix),n.xp6(1),n.Q6J("ngModel",T.value)("disabled",T.disabled)("placeholder",T.config.placeholder||"")("multiple",T.config.multiple||!1),n.xp6(1),n.Q6J("ngForOf",T.config.options),n.xp6(1),n.Q6J("ngIf",T.config.suffix),n.xp6(1),n.Q6J("ngIf","inline"===T.config.parentType))},dependencies:[E.sg,E.O5,l.JJ,l.On,ie.KE,ie.bx,ie.qo,ie.R9,He.gD,ft.ey,se],styles:[".gui-select{--mat-select-trigger-text-size: 12px;--mat-option-label-text-size: 12px}.gui-select .mat-mdc-option{min-height:var(--mat-option-label-text-line-height);padding:0 8px}.gui-select .mat-mdc-option .mat-pseudo-checkbox-full{margin-right:8px}.gui-select .mat-pseudo-checkbox{width:16px;height:16px;border-width:1px}\n"],encapsulation:2,changeDetection:0})}return b})();var At=p(2599);function Y(b,z){if(1&b&&(n.TgZ(0,"mat-hint"),n._UZ(1,"gui-field-label",2),n.qZA()),2&b){const h=n.oxw();n.xp6(1),n.Q6J("config",h.config)}}let P=(()=>{class b{constructor(h){this.cdr=h,this.config={},this.disabled=!1,this.value=!1,this.onChange=()=>{},this.onTouched=()=>{}}writeValue(h){this.value=h,this.cdr.markForCheck()}registerOnChange(h){this.onChange=h}registerOnTouched(h){this.onTouched=h}setDisabledState(h){this.disabled=h,this.cdr.markForCheck()}onValueChange(){this.onChange(this.value)}static#e=this.\u0275fac=function(M){return new(M||b)(n.Y36(n.sBO))};static#t=this.\u0275cmp=n.Xpm({type:b,selectors:[["gui-switch"]],hostAttrs:[1,"gui-field","gui-switch"],inputs:{config:"config",disabled:"disabled"},features:[n._Bn([{provide:l.JU,useExisting:(0,n.Gpc)(()=>b),multi:!0}])],decls:2,vars:3,consts:[["hideIcon","",3,"ngModel","disabled","ngModelChange","change"],[4,"ngIf"],[3,"config"]],template:function(M,T){1&M&&(n.TgZ(0,"mat-slide-toggle",0),n.NdJ("ngModelChange",function(Ge){return T.value=Ge})("change",function(){return T.onValueChange()}),n.qZA(),n.YNc(1,Y,2,1,"mat-hint",1)),2&M&&(n.Q6J("ngModel",T.value)("disabled",T.disabled),n.xp6(1),n.Q6J("ngIf","inline"===T.config.parentType))},dependencies:[E.O5,l.JJ,l.On,ie.bx,At.Rr,se],styles:[".gui-switch .mdc-switch{--mdc-switch-track-width: 28px;--mdc-switch-handle-width: 14px;--mdc-switch-handle-height: 14px;--mdc-switch-state-layer-size: 24px}.gui-switch .mat-mdc-slide-toggle{line-height:1}\n"],encapsulation:2,changeDetection:0})}return b})();var ae=p(2202);function B(b,z){if(1&b&&(n.TgZ(0,"span",6),n._uU(1),n.qZA()),2&b){const h=n.oxw(2);n.xp6(1),n.Oqu(h.config.prefix)}}function Se(b,z){if(1&b&&(n.TgZ(0,"span",7),n._uU(1),n.qZA()),2&b){const h=n.oxw(2);n.xp6(1),n.Oqu(h.config.suffix)}}function L(b,z){if(1&b){const h=n.EpF();n.ynx(0),n.TgZ(1,"mat-slider",1)(2,"input",2),n.NdJ("ngModelChange",function(T){n.CHM(h);const Re=n.oxw();return n.KtG(Re.value=T)})("valueChange",function(){n.CHM(h);const T=n.oxw();return n.KtG(T.onValueChange())}),n.qZA()(),n.TgZ(3,"mat-form-field"),n.YNc(4,B,2,1,"span",3),n.TgZ(5,"input",4),n.NdJ("ngModelChange",function(T){n.CHM(h);const Re=n.oxw();return n.KtG(Re.value=T)})("change",function(){n.CHM(h);const T=n.oxw();return n.KtG(T.onValueChange())}),n.qZA(),n.YNc(6,Se,2,1,"span",5),n.qZA(),n.BQk()}if(2&b){const h=n.oxw();n.xp6(1),n.Q6J("disabled",h.disabled)("step",h.config.step)("min",h.config.min)("max",h.config.max),n.xp6(1),n.Q6J("ngModel",h.value),n.xp6(2),n.Q6J("ngIf",h.config.prefix),n.xp6(1),n.Q6J("ngModel",h.value)("disabled",h.disabled)("placeholder",h.config.placeholder||"")("step",h.config.step)("min",h.config.min)("max",h.config.max),n.xp6(1),n.Q6J("ngIf",h.config.suffix)}}function V(b,z){if(1&b&&(n.TgZ(0,"span",6),n._uU(1),n.qZA()),2&b){const h=n.oxw(2);n.xp6(1),n.Oqu(h.config.prefix)}}function Pe(b,z){if(1&b&&(n.TgZ(0,"span",7),n._uU(1),n.qZA()),2&b){const h=n.oxw(2);n.xp6(1),n.Oqu(h.config.suffix)}}function re(b,z){if(1&b&&(n.TgZ(0,"span",6),n._uU(1),n.qZA()),2&b){const h=n.oxw(2);n.xp6(1),n.Oqu(h.config.prefix)}}function je(b,z){if(1&b&&(n.TgZ(0,"span",7),n._uU(1),n.qZA()),2&b){const h=n.oxw(2);n.xp6(1),n.Oqu(h.config.suffix)}}function et(b,z){if(1&b){const h=n.EpF();n.ynx(0),n.TgZ(1,"mat-slider",1)(2,"input",8),n.NdJ("ngModelChange",function(T){n.CHM(h);const Re=n.oxw();return n.KtG(Re.minValue=T)})("valueChange",function(){n.CHM(h);const T=n.oxw();return n.KtG(T.onRangeInputChange())}),n.qZA(),n.TgZ(3,"input",9),n.NdJ("ngModelChange",function(T){n.CHM(h);const Re=n.oxw();return n.KtG(Re.maxValue=T)})("valueChange",function(){n.CHM(h);const T=n.oxw();return n.KtG(T.onRangeInputChange())}),n.qZA()(),n.TgZ(4,"mat-form-field"),n.YNc(5,V,2,1,"span",3),n.TgZ(6,"input",4),n.NdJ("ngModelChange",function(T){n.CHM(h);const Re=n.oxw();return n.KtG(Re.minValue=T)})("change",function(){n.CHM(h);const T=n.oxw();return n.KtG(T.onRangeInputChange())}),n.qZA(),n.YNc(7,Pe,2,1,"span",5),n.qZA(),n.TgZ(8,"mat-form-field"),n.YNc(9,re,2,1,"span",3),n.TgZ(10,"input",4),n.NdJ("ngModelChange",function(T){n.CHM(h);const Re=n.oxw();return n.KtG(Re.maxValue=T)})("change",function(){n.CHM(h);const T=n.oxw();return n.KtG(T.onRangeInputChange())}),n.qZA(),n.YNc(11,je,2,1,"span",5),n.qZA(),n.BQk()}if(2&b){const h=n.oxw();n.xp6(1),n.Q6J("disabled",h.disabled)("step",h.config.step)("min",h.config.min)("max",h.config.max),n.xp6(1),n.Q6J("ngModel",h.minValue),n.xp6(1),n.Q6J("ngModel",h.maxValue),n.xp6(2),n.Q6J("ngIf",h.config.prefix),n.xp6(1),n.Q6J("ngModel",h.minValue)("disabled",h.disabled)("placeholder",h.config.placeholder||"")("step",h.config.step)("min",h.config.min)("max",h.config.max),n.xp6(1),n.Q6J("ngIf",h.config.suffix),n.xp6(2),n.Q6J("ngIf",h.config.prefix),n.xp6(1),n.Q6J("ngModel",h.maxValue)("disabled",h.disabled)("placeholder",h.config.placeholder||"")("step",h.config.step)("min",h.config.min)("max",h.config.max),n.xp6(1),n.Q6J("ngIf",h.config.suffix)}}function st(b,z){if(1&b&&(n.TgZ(0,"mat-hint"),n._UZ(1,"gui-field-label",10),n.qZA()),2&b){const h=n.oxw();n.xp6(1),n.Q6J("config",h.config)}}let nt=(()=>{class b{constructor(h){this.cdr=h,this.config={},this.disabled=!1,this.onChange=()=>{},this.onTouched=()=>{}}writeValue(h){this.value=h,this.setInputValue(),this.cdr.markForCheck()}registerOnChange(h){this.onChange=h}registerOnTouched(h){this.onTouched=h}setDisabledState(h){this.disabled=h,this.cdr.markForCheck()}onValueChange(){this.onChange(this.value)}onRangeSliderChange(){this.setInputValue(),this.onValueChange()}onRangeInputChange(){this.value=[this.minValue,this.maxValue],this.onValueChange()}setInputValue(){Array.isArray(this.value)&&(this.minValue=this.value[0],this.maxValue=this.value[1])}static#e=this.\u0275fac=function(M){return new(M||b)(n.Y36(n.sBO))};static#t=this.\u0275cmp=n.Xpm({type:b,selectors:[["gui-slider"]],hostAttrs:[1,"gui-field","gui-slider"],inputs:{config:"config",disabled:"disabled"},features:[n._Bn([{provide:l.JU,useExisting:(0,n.Gpc)(()=>b),multi:!0}])],decls:3,vars:3,consts:[[4,"ngIf"],[3,"disabled","step","min","max"],["matSliderThumb","",3,"ngModel","ngModelChange","valueChange"],["matPrefix","",4,"ngIf"],["matInput","","type","number",3,"ngModel","disabled","placeholder","step","min","max","ngModelChange","change"],["matSuffix","",4,"ngIf"],["matPrefix",""],["matSuffix",""],["matSliderStartThumb","",3,"ngModel","ngModelChange","valueChange"],["matSliderEndThumb","",3,"ngModel","ngModelChange","valueChange"],[3,"config"]],template:function(M,T){1&M&&(n.YNc(0,L,7,13,"ng-container",0),n.YNc(1,et,12,22,"ng-container",0),n.YNc(2,st,2,1,"mat-hint",0)),2&M&&(n.Q6J("ngIf","range"!==T.config.mode),n.xp6(1),n.Q6J("ngIf","range"===T.config.mode),n.xp6(1),n.Q6J("ngIf","inline"===T.config.parentType))},dependencies:[E.O5,l.Fj,l.wV,l.JJ,l.qQ,l.Fd,l.On,ie.KE,ie.bx,ie.qo,ie.R9,J.Nt,ae.pH,ae.$5,ae.f9,se],styles:[".gui-slider .mat-mdc-slider{--mdc-slider-handle-width: 12px;--mdc-slider-handle-height: 12px;--mdc-slider-inactive-track-height: 2px;--mdc-slider-active-track-height: 2px;flex:3;min-width:auto;height:calc(var(--mdc-slider-handle-width) * 2);margin:0 calc(var(--mdc-slider-handle-width) / 2)}.gui-slider .mat-mdc-slider+.mat-mdc-form-field{flex:2}.gui-slider .mat-mdc-slider.mdc-slider--range+.mat-mdc-form-field,.gui-slider .mat-mdc-slider.mdc-slider--range+.mat-mdc-form-field+.mat-mdc-form-field{flex:1.5}.gui-slider .mat-mdc-slider .mdc-slider__input{top:0;height:calc(var(--mdc-slider-handle-width) * 2)}.gui-slider .mat-mdc-slider .mdc-slider__thumb{left:calc(var(--mdc-slider-handle-width) * -1);width:calc(var(--mdc-slider-handle-width) * 2);height:calc(var(--mdc-slider-handle-width) * 2);border-radius:50%;overflow:hidden}.gui-slider .mat-mdc-form-field{margin-left:6px}.gui-slider .mat-mdc-form-field input::-webkit-outer-spin-button,.gui-slider .mat-mdc-form-field input::-webkit-inner-spin-button{appearance:none}.gui-slider .mat-mdc-form-field-hint{width:100%;padding:0 8px;line-height:var(--mat-form-field-subscript-text-line-height)}\n"],encapsulation:2,changeDetection:0})}return b})();var Bt=p(9488);function Je(b,z){if(1&b&&n._UZ(0,"img",2),2&b){const h=n.oxw();n.Q6J("src",h.src,n.LSH)}}function bt(b,z){if(1&b&&n._UZ(0,"i",3),2&b){const h=n.oxw();n.Q6J("ngClass",h.src)}}let Oe=(()=>{class b{constructor(){this.src=""}isUrl(){return/^(https?:\/\/|\.?\/)\w+/.test(this.src)}static#e=this.\u0275fac=function(M){return new(M||b)};static#t=this.\u0275cmp=n.Xpm({type:b,selectors:[["gui-icon"]],hostAttrs:[1,"gui-icon"],inputs:{src:"src"},decls:2,vars:2,consts:[[3,"src",4,"ngIf"],[3,"ngClass",4,"ngIf"],[3,"src"],[3,"ngClass"]],template:function(M,T){1&M&&(n.YNc(0,Je,1,1,"img",0),n.YNc(1,bt,1,1,"i",1)),2&M&&(n.Q6J("ngIf",T.isUrl()),n.xp6(1),n.Q6J("ngIf",!T.isUrl()))},dependencies:[E.mk,E.O5],styles:[".gui-icon{display:inline-flex}.gui-icon img,.gui-icon i{display:block;width:var(--mat-standard-button-toggle-height);height:var(--mat-standard-button-toggle-height);line-height:var(--mat-standard-button-toggle-height)}\n"],encapsulation:2,changeDetection:0})}return b})();function rt(b,z){if(1&b&&n._UZ(0,"gui-icon",6),2&b){const h=n.oxw().$implicit;n.Q6J("src",h.src)}}function vt(b,z){if(1&b&&n._uU(0),2&b){const h=n.oxw().$implicit;n.Oqu(h.label)}}const en=function(b){return{"gui-icon-toggle":b}};function tn(b,z){if(1&b&&(n.TgZ(0,"mat-button-toggle",3),n.YNc(1,rt,1,1,"gui-icon",4),n.YNc(2,vt,1,1,"ng-template",null,5,n.W1O),n.qZA()),2&b){const h=z.$implicit,M=n.MAs(3),T=n.oxw();n.Tol(n.VKq(8,en,T.config.useIcon)),n.Q6J("flex",h.col)("value",h.value)("disabled",h.disabled)("title",T.config.useIcon?h.label:""),n.xp6(1),n.Q6J("ngIf",T.config.useIcon)("ngIfElse",M)}}function fn(b,z){if(1&b&&(n.TgZ(0,"mat-hint"),n._UZ(1,"gui-field-label",7),n.qZA()),2&b){const h=n.oxw();n.xp6(1),n.Q6J("config",h.config)}}let Zt=(()=>{class b{constructor(h){this.cdr=h,this.config={},this.disabled=!1,this.value="",this.onChange=()=>{},this.onTouched=()=>{}}writeValue(h){this.value=h,this.cdr.markForCheck()}registerOnChange(h){this.onChange=h}registerOnTouched(h){this.onTouched=h}setDisabledState(h){this.disabled=h,this.cdr.markForCheck()}onValueChange(){this.onChange(this.value)}static#e=this.\u0275fac=function(M){return new(M||b)(n.Y36(n.sBO))};static#t=this.\u0275cmp=n.Xpm({type:b,selectors:[["gui-button-toggle"]],hostAttrs:[1,"gui-field","gui-button-toggle"],inputs:{config:"config",disabled:"disabled"},features:[n._Bn([{provide:l.JU,useExisting:(0,n.Gpc)(()=>b),multi:!0}])],decls:3,vars:5,consts:[[3,"ngModel","disabled","multiple","ngModelChange","change"],["disableRipple","",3,"class","flex","value","disabled","title",4,"ngFor","ngForOf"],[4,"ngIf"],["disableRipple","",3,"flex","value","disabled","title"],[3,"src",4,"ngIf","ngIfElse"],["textLabel",""],[3,"src"],[3,"config"]],template:function(M,T){1&M&&(n.TgZ(0,"mat-button-toggle-group",0),n.NdJ("ngModelChange",function(Ge){return T.value=Ge})("change",function(){return T.onValueChange()}),n.YNc(1,tn,4,10,"mat-button-toggle",1),n.qZA(),n.YNc(2,fn,2,1,"mat-hint",2)),2&M&&(n.Q6J("ngModel",T.value)("disabled",T.disabled)("multiple",T.config.multiple),n.xp6(1),n.Q6J("ngForOf",T.config.options),n.xp6(1),n.Q6J("ngIf","inline"===T.config.parentType))},dependencies:[E.sg,E.O5,l.JJ,l.On,ie.bx,Bt.A9,Bt.Yi,Oe,se,ce],styles:[".gui-button-toggle{--mat-standard-button-toggle-height: 24px}.gui-button-toggle .mat-button-toggle-group{flex-wrap:wrap;border-width:0}.gui-button-toggle .mat-button-toggle-appearance-standard{border-width:0!important;background-color:var(--mdc-filled-text-field-container-color)}.gui-button-toggle .mat-button-toggle-appearance-standard.mat-button-toggle-checked{background-color:var(--mat-standard-button-toggle-selected-state-background-color)}.gui-icon-toggle.mat-button-toggle .mat-button-toggle-label-content{padding:0;line-height:normal}.gui-icon-toggle.mat-button-toggle-checked img{opacity:.64}\n"],encapsulation:2,changeDetection:0})}return b})();var Mn=p(4318);function it(b,z){if(1&b&&(n.TgZ(0,"mat-hint"),n._UZ(1,"gui-field-label",7),n.qZA()),2&b){const h=n.oxw();n.xp6(1),n.Q6J("config",h.config)}}const $=function(b){return{background:b}};let be=(()=>{class b{constructor(h){this.cdr=h,this.config={},this.disabled=!1,this.value="",this.onChange=()=>{},this.onTouched=()=>{}}writeValue(h){this.value=h,this.cdr.markForCheck()}registerOnChange(h){this.onChange=h}registerOnTouched(h){this.onTouched=h}setDisabledState(h){this.disabled=h,this.cdr.markForCheck()}onValueChange(){this.onChange(this.value)}static#e=this.\u0275fac=function(M){return new(M||b)(n.Y36(n.sBO))};static#t=this.\u0275cmp=n.Xpm({type:b,selectors:[["gui-fill"]],hostAttrs:[1,"gui-field","gui-fill"],inputs:{config:"config",disabled:"disabled"},features:[n._Bn([{provide:l.JU,useExisting:(0,n.Gpc)(()=>b),multi:!0}])],decls:9,vars:10,consts:[["matPrefix",""],[1,"gui-color-block-empty"],[1,"gui-color-block"],["matInput","",3,"ngModel","disabled","placeholder","mtxColorpicker","ngModelChange","colorChange"],["cp",""],["matSuffix","",3,"for"],[4,"ngIf"],[3,"config"]],template:function(M,T){if(1&M&&(n.TgZ(0,"mat-form-field"),n.ynx(1,0),n._UZ(2,"span",1)(3,"span",2),n.BQk(),n.TgZ(4,"input",3),n.NdJ("ngModelChange",function(Ge){return T.value=Ge})("colorChange",function(){return T.onValueChange()}),n.qZA(),n._UZ(5,"mtx-colorpicker",null,4)(7,"mtx-colorpicker-toggle",5),n.YNc(8,it,2,1,"mat-hint",6),n.qZA()),2&M){const Re=n.MAs(6);n.xp6(3),n.Akn(n.VKq(8,$,T.value)),n.xp6(1),n.Q6J("ngModel",T.value)("disabled",T.disabled)("placeholder",T.config.placeholder||"")("mtxColorpicker",Re),n.xp6(3),n.Q6J("for",Re),n.xp6(1),n.Q6J("ngIf","inline"===T.config.parentType)}},dependencies:[E.O5,l.Fj,l.JJ,l.On,ie.KE,ie.bx,ie.qo,ie.R9,J.Nt,Mn.YK,Mn.zA,Mn.sj,se],styles:[".gui-color-block,.gui-color-block-empty{position:relative;display:block;width:24px;height:24px}.gui-color-block-empty{position:absolute;background-color:#fff;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-position:0 0,0 4px,4px -4px,-4px 0;background-size:8px 8px}.gui-fill .mat-mdc-icon-button{display:inline-flex;justify-content:center;align-items:center}\n"],encapsulation:2,changeDetection:0})}return b})();function Be(b,z){if(1&b&&n._UZ(0,"gui-field-label",1),2&b){const h=n.oxw();n.Q6J("config",h.config)("index",h.config.index)}}const lt=["*"];let ht=(()=>{class b{constructor(h,M){this.differs=h,this.cdr=M,this.config={}}ngOnInit(){this.configDiffer=this.differs.find(this.config).create()}ngDoCheck(){this.configDiffer?.diff(this.config)?.forEachChangedItem(M=>{this.cdr.markForCheck()})}static#e=this.\u0275fac=function(M){return new(M||b)(n.Y36(n.aQg),n.Y36(n.sBO))};static#t=this.\u0275cmp=n.Xpm({type:b,selectors:[["gui-field-group"]],hostAttrs:[1,"gui-field-group"],inputs:{config:"config"},ngContentSelectors:lt,decls:2,vars:1,consts:[[3,"config","index",4,"ngIf"],[3,"config","index"]],template:function(M,T){1&M&&(n.F$t(),n.YNc(0,Be,1,2,"gui-field-label",0),n.Hsn(1)),2&M&&n.Q6J("ngIf","inline"!==T.config.parentType&&T.config.name)},dependencies:[E.O5,se],styles:[".gui-field-group{display:flex;padding:4px 8px}.gui-field{display:inline-flex;flex:1;flex-wrap:wrap;align-items:center}.gui-field>.mat-mdc-form-field{flex:1;width:0;max-width:100%}\n"],encapsulation:2,changeDetection:0})}return b})();const mt=["*"];let Mt=(()=>{class b{constructor(){this.config={}}static#e=this.\u0275fac=function(M){return new(M||b)};static#t=this.\u0275cmp=n.Xpm({type:b,selectors:[["gui-inline-group"]],hostAttrs:[1,"gui-inline-group"],inputs:{config:"config"},ngContentSelectors:mt,decls:3,vars:1,consts:[[3,"config"],[1,"gui-inline-group-content"]],template:function(M,T){1&M&&(n.F$t(),n._UZ(0,"gui-field-label",0),n.TgZ(1,"div",1),n.Hsn(2),n.qZA()),2&M&&n.Q6J("config",T.config)},dependencies:[se],styles:[".gui-inline-group{display:flex;padding:4px 8px}.gui-inline-group-content{display:inline-flex;flex:1;flex-flow:row wrap;margin:0 -4px}.gui-inline-group-content>.gui-field-group,.gui-inline-group-content>.gui-inline-group,.gui-inline-group-content>.mat-expansion-panel,.gui-inline-group-content>.gui-menu{width:100%;padding:0 4px}\n"],encapsulation:2,changeDetection:0})}return b})();var ln=p(6912);function Wt(b,z){if(1&b&&(n.TgZ(0,"span",6),n._uU(1),n.qZA()),2&b){const h=n.oxw();n.xp6(1),n.Oqu(h.config.prefix)}}function Kt(b,z){if(1&b&&(n._UZ(0,"img",7),n.TgZ(1,"span"),n._uU(2),n.qZA()),2&b){const h=z.item;n.Q6J("src",h.src,n.LSH)("alt",h.label),n.xp6(2),n.Oqu(h.label)}}function $t(b,z){if(1&b&&(n._UZ(0,"img",7),n.TgZ(1,"span"),n._uU(2),n.qZA()),2&b){const h=z.item;n.Q6J("src",h.src,n.LSH)("alt",h.label),n.xp6(2),n.Oqu(h.label)}}function An(b,z){if(1&b&&(n.TgZ(0,"span",8),n._uU(1),n.qZA()),2&b){const h=n.oxw();n.xp6(1),n.Oqu(h.config.suffix)}}function bn(b,z){if(1&b&&(n.TgZ(0,"mat-hint"),n._UZ(1,"gui-field-label",9),n.qZA()),2&b){const h=n.oxw();n.xp6(1),n.Q6J("config",h.config)}}const pn=function(){return[]};let gn=(()=>{class b{constructor(h){this.cdr=h,this.config={},this.disabled=!1,this.onChange=()=>{},this.onTouched=()=>{}}writeValue(h){this.value=h,this.cdr.markForCheck()}registerOnChange(h){this.onChange=h}registerOnTouched(h){this.onTouched=h}setDisabledState(h){this.disabled=h,this.cdr.markForCheck()}onValueChange(){this.onChange(this.value)}onPanelOpened(){}static#e=this.\u0275fac=function(M){return new(M||b)(n.Y36(n.sBO))};static#t=this.\u0275cmp=n.Xpm({type:b,selectors:[["gui-image-select"]],hostAttrs:[1,"gui-field","gui-image-select"],inputs:{config:"config",disabled:"disabled"},features:[n._Bn([{provide:l.JU,useExisting:(0,n.Gpc)(()=>b),multi:!0}])],decls:7,vars:8,consts:[["matPrefix","",4,"ngIf"],["appendTo",".gui-form","bindValue","value",3,"items","ngModel","disabled","placeholder","ngModelChange","change","open"],["ng-label-tmp",""],["ng-option-tmp",""],["matSuffix","",4,"ngIf"],[4,"ngIf"],["matPrefix",""],[3,"src","alt"],["matSuffix",""],[3,"config"]],template:function(M,T){1&M&&(n.TgZ(0,"mat-form-field"),n.YNc(1,Wt,2,1,"span",0),n.TgZ(2,"mtx-select",1),n.NdJ("ngModelChange",function(Ge){return T.value=Ge})("change",function(){return T.onValueChange()})("open",function(){return T.onPanelOpened()}),n.YNc(3,Kt,3,3,"ng-template",2),n.YNc(4,$t,3,3,"ng-template",3),n.qZA(),n.YNc(5,An,2,1,"span",4),n.YNc(6,bn,2,1,"mat-hint",5),n.qZA()),2&M&&(n.xp6(1),n.Q6J("ngIf",T.config.prefix),n.xp6(1),n.Q6J("items",T.config.options||n.DdM(7,pn))("ngModel",T.value)("disabled",T.disabled)("placeholder",T.config.placeholder||""),n.xp6(3),n.Q6J("ngIf",T.config.suffix),n.xp6(1),n.Q6J("ngIf","inline"===T.config.parentType))},dependencies:[E.O5,l.JJ,l.On,ie.KE,ie.bx,ie.qo,ie.R9,ln.zP,ln.lJ,ln.re,se],styles:[".gui-form .ng-dropdown-panel .ng-dropdown-panel-items .ng-option img,.gui-image-select .ng-select .ng-value img{height:100%;max-width:120px;object-fit:contain;border-radius:4px;background-color:var(--mat-option-hover-state-layer-color)}.gui-image-select .ng-select{padding:0 8px;margin:0 -8px}.gui-image-select .ng-select .ng-value-container{height:64px}.gui-image-select .ng-select .ng-value{display:inline-flex;align-items:center;gap:8px;height:100%;padding:8px 0}.gui-form .ng-dropdown-panel .ng-dropdown-panel-items .ng-option{display:flex;align-items:center;gap:8px;height:64px;padding:8px}\n"],encapsulation:2,changeDetection:0})}return b})();function yn(b,z){if(1&b&&(n.TgZ(0,"span",4),n._uU(1),n.qZA()),2&b){const h=n.oxw();n.xp6(1),n.Oqu(h.config.prefix)}}function kn(b,z){if(1&b&&(n.TgZ(0,"span",5),n._uU(1),n.qZA()),2&b){const h=n.oxw();n.xp6(1),n.Oqu(h.config.suffix)}}function ut(b,z){if(1&b&&(n.TgZ(0,"mat-hint"),n._UZ(1,"gui-field-label",6),n.qZA()),2&b){const h=n.oxw();n.xp6(1),n.Q6J("config",h.config)}}let me=(()=>{class b{constructor(h){this.cdr=h,this.config={},this.disabled=!1,this.value="",this.onChange=()=>{},this.onTouched=()=>{}}writeValue(h){this.value=h,this.cdr.markForCheck()}registerOnChange(h){this.onChange=h}registerOnTouched(h){this.onTouched=h}setDisabledState(h){this.disabled=h,this.cdr.markForCheck()}onValueChange(){this.onChange(this.value)}static#e=this.\u0275fac=function(M){return new(M||b)(n.Y36(n.sBO))};static#t=this.\u0275cmp=n.Xpm({type:b,selectors:[["gui-textarea"]],hostAttrs:[1,"gui-field","gui-textarea"],inputs:{config:"config",disabled:"disabled"},features:[n._Bn([{provide:l.JU,useExisting:(0,n.Gpc)(()=>b),multi:!0}])],decls:5,vars:7,consts:[["matPrefix","",4,"ngIf"],["matInput","",3,"ngModel","disabled","placeholder","rows","ngModelChange","change"],["matSuffix","",4,"ngIf"],[4,"ngIf"],["matPrefix",""],["matSuffix",""],[3,"config"]],template:function(M,T){1&M&&(n.TgZ(0,"mat-form-field"),n.YNc(1,yn,2,1,"span",0),n.TgZ(2,"textarea",1),n.NdJ("ngModelChange",function(Ge){return T.value=Ge})("change",function(){return T.onValueChange()}),n.qZA(),n.YNc(3,kn,2,1,"span",2),n.YNc(4,ut,2,1,"mat-hint",3),n.qZA()),2&M&&(n.xp6(1),n.Q6J("ngIf",T.config.prefix),n.xp6(1),n.Q6J("ngModel",T.value)("disabled",T.disabled)("placeholder",T.config.placeholder||"")("rows",T.config.rows),n.xp6(1),n.Q6J("ngIf",T.config.suffix),n.xp6(1),n.Q6J("ngIf","inline"===T.config.parentType))},dependencies:[E.O5,l.Fj,l.JJ,l.On,ie.KE,ie.bx,ie.qo,ie.R9,J.Nt,se],encapsulation:2,changeDetection:0})}return b})();var le=p(9862),G=p(2096),Ie=p(6306),$e=p(4716),St=p(7836);const _e=["fileInput"];function ee(b,z){if(1&b){const h=n.EpF();n.TgZ(0,"button",8),n.NdJ("click",function(){n.CHM(h);const T=n.oxw();return n.KtG(T.onClear())}),n._UZ(1,"mat-icon",9),n.qZA()}if(2&b){const h=n.oxw();n.Q6J("disabled",h.disabled)}}function S(b,z){if(1&b&&n._UZ(0,"img",14),2&b){const h=n.oxw(2);n.Q6J("src",h.url,n.LSH)}}function W(b,z){if(1&b&&n._UZ(0,"video",14),2&b){const h=n.oxw(2);n.Q6J("src",h.url,n.LSH)}}function Ne(b,z){if(1&b&&n._UZ(0,"audio",15),2&b){const h=n.oxw(2);n.Q6J("src",h.url,n.LSH)}}function yt(b,z){1&b&&n._UZ(0,"mat-icon",16)}function Pt(b,z){if(1&b&&(n.ynx(0,10),n.YNc(1,S,1,1,"img",11),n.YNc(2,W,1,1,"video",11),n.YNc(3,Ne,1,1,"audio",12),n.YNc(4,yt,1,0,"mat-icon",13),n.BQk()),2&b){const h=n.oxw();n.Q6J("ngSwitch",h.type),n.xp6(1),n.Q6J("ngSwitchCase","image"),n.xp6(1),n.Q6J("ngSwitchCase","video"),n.xp6(1),n.Q6J("ngSwitchCase","audio")}}function at(b,z){1&b&&(n.TgZ(0,"div",17),n._UZ(1,"mat-icon",18),n.qZA())}let wt=(()=>{class b{constructor(h,M){this.fileUploaderCfg=h,this.cdr=M,this.config={},this.disabled=!1,this.type="*",this.name="",this.accept="",this.fileChange=new n.vpe,this.url="",this.onChange=()=>{},this.onTouched=()=>{}}ngOnChanges(h){h.type&&(this.accept=this.type+"/*")}writeValue(h){this.url=h,this.cdr.markForCheck()}registerOnChange(h){this.onChange=h}registerOnTouched(h){this.onTouched=h}setDisabledState(h){this.disabled=h,this.cdr.markForCheck()}upload(h){const M=new FormData;M.append("file",h.data||""),h.inProgress=!0,this.fileUploaderCfg.upload(M).pipe((0,Ie.K)(T=>(h.inProgress=!1,(0,G.of)(`${h.data?.name||"File"} upload failed.`))),(0,$e.x)(()=>{})).subscribe(T=>{T instanceof le.Zn&&T.body&&(this.url=T.body.data,this.onChange(this.url),this.onTouched(),this.fileChange.emit(this.url)),this.cdr.detectChanges()})}onUrlChange(h){this.url=h.target.value,this.onChange(this.url),this.fileChange.emit(this.url)}onFileChange(h){this.file={data:h.target.files[0],inProgress:!1,progress:0},this.upload(this.file),h.target.value=""}onBlur(){this.onTouched()}onClear(){this.url="",this.onChange(this.url),this.onTouched(),this.fileChange.emit(this.url)}static#e=this.\u0275fac=function(M){return new(M||b)(n.Y36(St.E),n.Y36(n.sBO))};static#t=this.\u0275cmp=n.Xpm({type:b,selectors:[["gui-file-uploader"]],viewQuery:function(M,T){if(1&M&&n.Gf(_e,5),2&M){let Re;n.iGM(Re=n.CRH())&&(T.fileInput=Re.first)}},hostAttrs:[1,"gui-file-uploader"],inputs:{config:"config",disabled:"disabled",type:"type",name:"name",accept:"accept"},outputs:{fileChange:"fileChange"},features:[n._Bn([{provide:l.JU,useExisting:(0,n.Gpc)(()=>b),multi:!0}]),n.TTD],decls:9,vars:9,consts:[["matPrefix","","svgIcon","link"],["matInput","","type","text",3,"ngModel","disabled","placeholder","change","blur"],["matSuffix","","mat-icon-button","","color","warn",3,"disabled","click",4,"ngIf"],[1,"gui-file-content"],[3,"ngSwitch",4,"ngIf"],["class","gui-file-placeholder",4,"ngIf"],["type","file","tabindex","-1",3,"accept","name","disabled","change"],["fileInput",""],["matSuffix","","mat-icon-button","","color","warn",3,"disabled","click"],["svgIcon","close"],[3,"ngSwitch"],[3,"src",4,"ngSwitchCase"],["controls","",3,"src",4,"ngSwitchCase"],["svgIcon","file_outline",4,"ngSwitchDefault"],[3,"src"],["controls","",3,"src"],["svgIcon","file_outline"],[1,"gui-file-placeholder"],["svgIcon","file_upload"]],template:function(M,T){1&M&&(n.TgZ(0,"mat-form-field"),n._UZ(1,"mat-icon",0),n.TgZ(2,"input",1),n.NdJ("change",function(Ge){return T.onUrlChange(Ge)})("blur",function(){return T.onBlur()}),n.qZA(),n.YNc(3,ee,2,1,"button",2),n.qZA(),n.TgZ(4,"figure",3),n.YNc(5,Pt,5,4,"ng-container",4),n.YNc(6,at,2,0,"div",5),n.TgZ(7,"input",6,7),n.NdJ("change",function(Ge){return T.onFileChange(Ge)}),n.qZA()()),2&M&&(n.xp6(2),n.Q6J("ngModel",T.url)("disabled",T.disabled)("placeholder",T.config.placeholder||""),n.xp6(1),n.Q6J("ngIf",T.url),n.xp6(2),n.Q6J("ngIf",T.url),n.xp6(1),n.Q6J("ngIf",!T.url),n.xp6(1),n.Q6J("accept",T.accept)("name",T.name)("disabled",T.disabled))},dependencies:[E.O5,E.RF,E.n9,E.ED,l.Fj,l.JJ,l.On,ie.KE,ie.qo,ie.R9,J.Nt,H.Hw,Q.RK],styles:[".gui-file-uploader{display:block;overflow:auto;flex:1}.gui-file-uploader .mat-mdc-form-field{width:100%}.gui-file-uploader .gui-file-content{position:relative;display:flex;align-items:center;justify-content:center;height:120px;margin:4px 0 0;padding:4px;background-color:var(--mdc-filled-text-field-container-color);border:1px solid transparent;border-radius:4px}.gui-file-uploader .gui-file-content:hover{border-color:currentColor}.gui-file-uploader .gui-file-content img,.gui-file-uploader .gui-file-content video{width:100%;height:100%;object-fit:contain}.gui-file-uploader .gui-file-content input[type=file]{position:absolute;top:0;left:0;width:100%;height:100%;opacity:0;cursor:pointer}.gui-file-uploader .gui-file-content .mat-icon svg{width:24px;height:24px}\n"],encapsulation:2,changeDetection:0})}return b})();function de(b,z){}const ke=function(b,z){return{$implicit:b,formGroup:z}};function Ke(b,z){if(1&b&&(n.TgZ(0,"div"),n.YNc(1,de,0,0,"ng-template",3),n.qZA()),2&b){const h=z.$implicit,M=n.oxw(),T=n.MAs(3);n.xp6(1),n.Q6J("ngTemplateOutlet",T)("ngTemplateOutletContext",n.WLB(2,ke,h,M.form))}}function Ee(b,z){if(1&b&&(n.TgZ(0,"gui-field-group",11),n._UZ(1,"gui-input-text",12),n.qZA()),2&b){const h=n.oxw().$implicit;n.Q6J("config",h)("flex",h.col),n.xp6(1),n.Q6J("formControlName",h.key)("config",h)}}function ge(b,z){if(1&b&&(n.TgZ(0,"gui-field-group",11),n._UZ(1,"gui-input-number",12),n.qZA()),2&b){const h=n.oxw().$implicit;n.Q6J("config",h)("flex",h.col),n.xp6(1),n.Q6J("formControlName",h.key)("config",h)}}function Ve(b,z){if(1&b&&(n.TgZ(0,"gui-field-group",11),n._UZ(1,"gui-select",12),n.qZA()),2&b){const h=n.oxw().$implicit;n.Q6J("config",h)("flex",h.col),n.xp6(1),n.Q6J("formControlName",h.key)("config",h)}}function dt(b,z){if(1&b&&(n.TgZ(0,"gui-field-group",11),n._UZ(1,"gui-switch",12),n.qZA()),2&b){const h=n.oxw().$implicit;n.Q6J("config",h)("flex",h.col),n.xp6(1),n.Q6J("formControlName",h.key)("config",h)}}function Rt(b,z){if(1&b&&(n.TgZ(0,"gui-field-group",11),n._UZ(1,"gui-slider",12),n.qZA()),2&b){const h=n.oxw().$implicit;n.Q6J("config",h)("flex",h.col),n.xp6(1),n.Q6J("formControlName",h.key)("config",h)}}function Ht(b,z){if(1&b&&(n.TgZ(0,"gui-field-group",11),n._UZ(1,"gui-button-toggle",12),n.qZA()),2&b){const h=n.oxw().$implicit;n.Q6J("config",h)("flex",h.col),n.xp6(1),n.Q6J("formControlName",h.key)("config",h)}}function Nt(b,z){if(1&b&&(n.TgZ(0,"gui-field-group",11),n._UZ(1,"gui-fill",12),n.qZA()),2&b){const h=n.oxw().$implicit;n.Q6J("config",h)("flex",h.col),n.xp6(1),n.Q6J("formControlName",h.key)("config",h)}}function nn(b,z){if(1&b&&(n.TgZ(0,"gui-field-group",11),n._UZ(1,"gui-file-uploader",12),n.qZA()),2&b){const h=n.oxw().$implicit;n.Q6J("config",h)("flex",h.col),n.xp6(1),n.Q6J("formControlName",h.key)("config",h)}}function cn(b,z){if(1&b&&(n.TgZ(0,"gui-field-group",11),n._UZ(1,"gui-file-uploader",13),n.qZA()),2&b){const h=n.oxw().$implicit;n.Q6J("config",h)("flex",h.col),n.xp6(1),n.Q6J("formControlName",h.key)("config",h)}}function Ln(b,z){if(1&b&&(n.TgZ(0,"gui-field-group",11),n._UZ(1,"gui-file-uploader",14),n.qZA()),2&b){const h=n.oxw().$implicit;n.Q6J("config",h)("flex",h.col),n.xp6(1),n.Q6J("formControlName",h.key)("config",h)}}function jn(b,z){if(1&b&&(n.TgZ(0,"gui-field-group",11),n._UZ(1,"gui-file-uploader",15),n.qZA()),2&b){const h=n.oxw().$implicit;n.Q6J("config",h)("flex",h.col),n.xp6(1),n.Q6J("formControlName",h.key)("config",h)}}function Xn(b,z){if(1&b&&(n.TgZ(0,"gui-field-group",11),n._UZ(1,"gui-image-select",12),n.qZA()),2&b){const h=n.oxw().$implicit;n.Q6J("config",h)("flex",h.col),n.xp6(1),n.Q6J("formControlName",h.key)("config",h)}}function zn(b,z){if(1&b&&(n.TgZ(0,"gui-field-group",11),n._UZ(1,"gui-textarea",12),n.qZA()),2&b){const h=n.oxw().$implicit;n.Q6J("config",h)("flex",h.col),n.xp6(1),n.Q6J("formControlName",h.key)("config",h)}}function li(b,z){if(1&b&&n._UZ(0,"input",16),2&b){const h=n.oxw().$implicit;n.Q6J("formControlName",h.key)}}function gi(b,z){}const Tn=function(b,z,h){return{$implicit:b,parent:z,formGroup:h}};function Sn(b,z){if(1&b&&(n.ynx(0),n.YNc(1,gi,0,0,"ng-template",3),n.BQk()),2&b){const h=z.$implicit,M=n.oxw(2),T=M.$implicit,Re=M.formGroup;n.oxw();const Ge=n.MAs(3);n.xp6(1),n.Q6J("ngTemplateOutlet",Ge)("ngTemplateOutletContext",n.kEZ(2,Tn,h,T,Re.get(T.key)))}}function Ci(b,z){if(1&b&&(n.TgZ(0,"gui-inline-group",17),n.YNc(1,Sn,2,6,"ng-container",1),n.qZA()),2&b){const h=n.oxw().$implicit;n.Q6J("config",h)("formGroupName",h.key),n.xp6(1),n.Q6J("ngForOf",h.children)}}function Ei(b,z){}function Vn(b,z){if(1&b&&(n.TgZ(0,"div"),n.YNc(1,Ei,0,0,"ng-template",3),n.qZA()),2&b){const h=z.$implicit,M=n.oxw(3),T=M.$implicit,Re=M.formGroup;n.oxw();const Ge=n.MAs(3);n.xp6(1),n.Q6J("ngTemplateOutlet",Ge)("ngTemplateOutletContext",n.kEZ(2,Tn,h,T,Re.get(T.key)))}}function oi(b,z){if(1&b&&n.YNc(0,Vn,2,6,"div",1),2&b){const h=n.oxw(2).$implicit;n.Q6J("ngForOf",h.children)}}function Qe(b,z){if(1&b){const h=n.EpF();n.TgZ(0,"mat-expansion-panel",18),n.NdJ("expandedChange",function(T){n.CHM(h);const Re=n.oxw().$implicit;return n.KtG(Re.expanded=T)}),n.TgZ(1,"mat-expansion-panel-header"),n._UZ(2,"gui-field-label",19),n.qZA(),n.YNc(3,oi,1,1,"ng-template",20),n.qZA()}if(2&b){const h=n.oxw().$implicit;n.Q6J("formGroupName",h.key)("expanded",h.expanded)("disabled",h.disabled),n.xp6(2),n.Q6J("config",h)}}function Dt(b,z){if(1&b){const h=n.EpF();n.ynx(0),n.TgZ(1,"button",26),n.NdJ("click",function(T){n.CHM(h);const Re=n.oxw(3),Ge=Re.$implicit,Gt=Re.formGroup,wn=n.oxw();return n.KtG(wn.addTab(T,Gt.get(Ge.key),Ge))}),n._UZ(2,"mat-icon",27),n.qZA(),n.TgZ(3,"button",26),n.NdJ("click",function(T){n.CHM(h);const Re=n.oxw(3),Ge=Re.$implicit,Gt=Re.formGroup,wn=n.oxw();return n.KtG(wn.removeTab(T,Gt.get(Ge.key),Ge))}),n._UZ(4,"mat-icon",28),n.qZA(),n.BQk()}if(2&b){const h=n.oxw(3).$implicit;n.xp6(1),n.Q6J("disabled",h.disabled),n.xp6(2),n.Q6J("disabled",h.disabled)}}function qe(b,z){if(1&b){const h=n.EpF();n.ynx(0),n.TgZ(1,"button",23),n.NdJ("click",function(T){n.CHM(h);const Re=n.oxw(2).$implicit,Ge=n.oxw();return n.KtG(Ge.changeTabsMode(T,Re,"nav"))}),n._UZ(2,"mat-icon",24),n.qZA(),n.TgZ(3,"button",23),n.NdJ("click",function(T){n.CHM(h);const Re=n.oxw(2).$implicit,Ge=n.oxw();return n.KtG(Ge.changeTabsMode(T,Re,"list"))}),n._UZ(4,"mat-icon",25),n.qZA(),n.YNc(5,Dt,5,2,"ng-container",22),n.BQk()}if(2&b){const h=n.oxw(2).$implicit;n.xp6(1),n.Q6J("color","list"!==h.mode?"primary":""),n.xp6(2),n.Q6J("color","list"===h.mode?"primary":""),n.xp6(2),n.Q6J("ngIf",h.template&&(h.addable||void 0===h.addable))}}const Et=function(b){return{i:b}};function A(b,z){if(1&b&&(n.TgZ(0,"div"),n._uU(1),n.ALo(2,"ejs"),n.qZA()),2&b){const h=n.oxw(),M=h.$implicit,T=h.index;n.xp6(1),n.Oqu(n.xi3(2,1,M.name,n.VKq(4,Et,T)))}}function q(b,z){}const x=function(b){return[b]};function Z(b,z){if(1&b&&(n.ynx(0),n.YNc(1,q,0,0,"ng-template",3),n.BQk()),2&b){const h=n.oxw().$implicit,M=n.oxw(4),T=M.$implicit,Re=M.formGroup;n.oxw();const Ge=n.MAs(3);n.xp6(1),n.Q6J("ngTemplateOutlet",Ge)("ngTemplateOutletContext",n.kEZ(4,Tn,h,T,Re.get(n.VKq(2,x,T.key))))}}function he(b,z){}const Ze=function(b,z){return[b,z]};function gt(b,z){if(1&b&&(n.TgZ(0,"div"),n.YNc(1,he,0,0,"ng-template",3),n.qZA()),2&b){const h=z.$implicit,M=n.oxw(2).index,T=n.oxw(4),Re=T.$implicit,Ge=T.formGroup;n.oxw();const Gt=n.MAs(3);n.xp6(1),n.Q6J("ngTemplateOutlet",Gt)("ngTemplateOutletContext",n.kEZ(5,Tn,h,Re,Ge.get(n.WLB(2,Ze,Re.key,M))))}}function Jt(b,z){if(1&b&&(n.ynx(0),n.YNc(1,gt,2,9,"div",1),n.BQk()),2&b){const h=n.oxw().$implicit;n.xp6(1),n.Q6J("ngForOf",h.children)}}function Yt(b,z){if(1&b&&(n.TgZ(0,"mat-tab",33),n.YNc(1,A,3,6,"ng-template",34),n.YNc(2,Z,2,8,"ng-container",22),n.YNc(3,Jt,2,1,"ng-container",22),n.qZA()),2&b){const h=z.$implicit;n.Q6J("disabled",h.disabled),n.xp6(2),n.Q6J("ngIf",!h.children||0===h.children.length||"tabs"===h.type),n.xp6(1),n.Q6J("ngIf",(null==h.children?null:h.children.length)>0&&"tabs"!==h.type)}}function Hn(b,z){if(1&b&&(n.TgZ(0,"mat-tab-group",31),n.YNc(1,Yt,4,3,"mat-tab",32),n.qZA()),2&b){const h=n.oxw(3).$implicit;n.Q6J("mat-stretch-tabs",!1),n.xp6(1),n.Q6J("ngForOf",h.children)}}function ci(b,z){if(1&b){const h=n.EpF();n.ynx(0),n.TgZ(1,"button",26),n.NdJ("click",function(T){n.CHM(h);const Re=n.oxw().index,Ge=n.oxw(4),Gt=Ge.$implicit,wn=Ge.formGroup,rn=n.oxw();return n.KtG(rn.addTab(T,wn.get(Gt.key),Gt,Re))}),n._UZ(2,"mat-icon",27),n.qZA(),n.TgZ(3,"button",26),n.NdJ("click",function(T){n.CHM(h);const Re=n.oxw().index,Ge=n.oxw(4),Gt=Ge.$implicit,wn=Ge.formGroup,rn=n.oxw();return n.KtG(rn.removeTab(T,wn.get(Gt.key),Gt,Re))}),n._UZ(4,"mat-icon",28),n.qZA(),n.BQk()}if(2&b){const h=n.oxw(5).$implicit;n.xp6(1),n.Q6J("disabled",h.disabled),n.xp6(2),n.Q6J("disabled",h.disabled)}}function Fn(b,z){}function xi(b,z){if(1&b&&(n.ynx(0),n.YNc(1,Fn,0,0,"ng-template",3),n.BQk()),2&b){const h=n.oxw().$implicit,M=n.oxw(4),T=M.$implicit,Re=M.formGroup;n.oxw();const Ge=n.MAs(3);n.xp6(1),n.Q6J("ngTemplateOutlet",Ge)("ngTemplateOutletContext",n.kEZ(4,Tn,h,T,Re.get(n.VKq(2,x,T.key))))}}function wi(b,z){}function fi(b,z){if(1&b&&(n.TgZ(0,"div"),n.YNc(1,wi,0,0,"ng-template",3),n.qZA()),2&b){const h=z.$implicit,M=n.oxw(2).index,T=n.oxw(4),Re=T.$implicit,Ge=T.formGroup;n.oxw();const Gt=n.MAs(3);n.xp6(1),n.Q6J("ngTemplateOutlet",Gt)("ngTemplateOutletContext",n.kEZ(5,Tn,h,Re,Ge.get(n.WLB(2,Ze,Re.key,M))))}}function zi(b,z){if(1&b&&(n.ynx(0),n.YNc(1,fi,2,9,"div",1),n.BQk()),2&b){const h=n.oxw().$implicit;n.xp6(1),n.Q6J("ngForOf",h.children)}}function Mi(b,z){if(1&b&&(n.TgZ(0,"div",37)(1,"div",38)(2,"span",39),n._uU(3),n.ALo(4,"ejs"),n.qZA(),n.YNc(5,ci,5,2,"ng-container",22),n.qZA(),n.TgZ(6,"div",40),n.YNc(7,xi,2,8,"ng-container",22),n.YNc(8,zi,2,1,"ng-container",22),n.qZA()()),2&b){const h=z.$implicit,M=z.index,T=n.oxw(4).$implicit;n.xp6(3),n.Oqu(n.xi3(4,4,h.name,n.VKq(7,Et,M))),n.xp6(2),n.Q6J("ngIf",T.template&&(T.addable||void 0===T.addable)),n.xp6(2),n.Q6J("ngIf",!h.children||0===h.children.length||"tabs"===h.type),n.xp6(1),n.Q6J("ngIf",(null==h.children?null:h.children.length)>0&&"tabs"!==h.type)}}function Di(b,z){if(1&b&&(n.TgZ(0,"div",35),n.YNc(1,Mi,9,9,"div",36),n.qZA()),2&b){const h=n.oxw(3).$implicit;n.xp6(1),n.Q6J("ngForOf",h.children)}}function qn(b,z){if(1&b&&(n.YNc(0,Hn,2,2,"mat-tab-group",29),n.YNc(1,Di,2,1,"div",30)),2&b){const h=n.oxw(2).$implicit;n.Q6J("ngIf","list"!==h.mode),n.xp6(1),n.Q6J("ngIf","list"===h.mode)}}function Si(b,z){if(1&b){const h=n.EpF();n.TgZ(0,"mat-expansion-panel",21),n.NdJ("expandedChange",function(T){n.CHM(h);const Re=n.oxw().$implicit;return n.KtG(Re.expanded=T)}),n.TgZ(1,"mat-expansion-panel-header"),n._UZ(2,"gui-field-label",19),n.YNc(3,qe,6,3,"ng-container",22),n.qZA(),n.YNc(4,qn,2,2,"ng-template",20),n.qZA()}if(2&b){const h=n.oxw().$implicit;n.Q6J("formArrayName",h.key)("expanded",h.expanded)("disabled",h.disabled),n.xp6(2),n.Q6J("config",h),n.xp6(1),n.Q6J("ngIf",h.expanded)}}function Ti(b,z){}function En(b,z){if(1&b&&(n.TgZ(0,"div",46),n.YNc(1,Ti,0,0,"ng-template",3),n.qZA()),2&b){const h=z.$implicit,M=n.oxw(3).$implicit,T=n.oxw(2),Re=T.$implicit,Ge=T.formGroup;n.oxw();const Gt=n.MAs(3);n.Q6J("formGroupName",M.key),n.xp6(1),n.Q6J("ngTemplateOutlet",Gt)("ngTemplateOutletContext",n.WLB(6,ke,h,Ge.get(n.WLB(3,Ze,Re.key,M.key))))}}function ei(b,z){if(1&b&&(n.ynx(0),n.YNc(1,En,2,9,"div",45),n.BQk()),2&b){const h=n.oxw(2).$implicit;n.xp6(1),n.Q6J("ngForOf",h.children)}}function di(b,z){}function _i(b,z){if(1&b&&(n.ynx(0),n.YNc(1,di,0,0,"ng-template",3),n.BQk()),2&b){const h=n.oxw(2).$implicit,M=n.oxw(2),T=M.$implicit,Re=M.formGroup;n.oxw();const Ge=n.MAs(3);n.xp6(1),n.Q6J("ngTemplateOutlet",Ge)("ngTemplateOutletContext",n.WLB(2,ke,h,Re.get(T.key)))}}function ri(b,z){if(1&b&&(n.YNc(0,ei,2,1,"ng-container",22),n.YNc(1,_i,2,5,"ng-container",22)),2&b){const h=n.oxw().$implicit;n.Q6J("ngIf","menuItem"===h.type),n.xp6(1),n.Q6J("ngIf","menu"===h.type)}}function Qi(b,z){if(1&b&&(n.TgZ(0,"mat-tab",43),n.YNc(1,ri,2,2,"ng-template",44),n.qZA()),2&b){const h=z.$implicit;n.Q6J("label",h.name)("disabled",h.disabled)}}function yo(b,z){if(1&b&&(n.TgZ(0,"mat-tab-group",41),n.YNc(1,Qi,2,2,"mat-tab",42),n.qZA()),2&b){const h=n.oxw().$implicit;n.Q6J("formGroupName",h.key),n.xp6(1),n.Q6J("ngForOf",h.children)}}function Gi(b,z){if(1&b&&(n.ynx(0,4),n.YNc(1,Ee,2,4,"gui-field-group",5),n.YNc(2,ge,2,4,"gui-field-group",5),n.YNc(3,Ve,2,4,"gui-field-group",5),n.YNc(4,dt,2,4,"gui-field-group",5),n.YNc(5,Rt,2,4,"gui-field-group",5),n.YNc(6,Ht,2,4,"gui-field-group",5),n.YNc(7,Nt,2,4,"gui-field-group",5),n.YNc(8,nn,2,4,"gui-field-group",5),n.YNc(9,cn,2,4,"gui-field-group",5),n.YNc(10,Ln,2,4,"gui-field-group",5),n.YNc(11,jn,2,4,"gui-field-group",5),n.YNc(12,Xn,2,4,"gui-field-group",5),n.YNc(13,zn,2,4,"gui-field-group",5),n.YNc(14,li,1,1,"input",6),n.YNc(15,Ci,2,3,"gui-inline-group",7),n.YNc(16,Qe,4,4,"mat-expansion-panel",8),n.YNc(17,Si,5,5,"mat-expansion-panel",9),n.YNc(18,yo,2,2,"mat-tab-group",10),n.BQk()),2&b){const M=z.formGroup;n.Q6J("ngSwitch",z.$implicit.type)("formGroup",M),n.xp6(1),n.Q6J("ngSwitchCase","text"),n.xp6(1),n.Q6J("ngSwitchCase","number"),n.xp6(1),n.Q6J("ngSwitchCase","select"),n.xp6(1),n.Q6J("ngSwitchCase","switch"),n.xp6(1),n.Q6J("ngSwitchCase","slider"),n.xp6(1),n.Q6J("ngSwitchCase","buttonToggle"),n.xp6(1),n.Q6J("ngSwitchCase","fill"),n.xp6(1),n.Q6J("ngSwitchCase","file"),n.xp6(1),n.Q6J("ngSwitchCase","image"),n.xp6(1),n.Q6J("ngSwitchCase","video"),n.xp6(1),n.Q6J("ngSwitchCase","audio"),n.xp6(1),n.Q6J("ngSwitchCase","imageSelect"),n.xp6(1),n.Q6J("ngSwitchCase","textarea"),n.xp6(1),n.Q6J("ngSwitchCase","hidden"),n.xp6(1),n.Q6J("ngSwitchCase","inline"),n.xp6(1),n.Q6J("ngSwitchCase","group"),n.xp6(1),n.Q6J("ngSwitchCase","tabs"),n.xp6(1),n.Q6J("ngSwitchCase","menu")}}let Ji=(()=>{class b{constructor(h){this.cdr=h,this.form=new l.cw({}),this.config={},this.model={},this.modelChange=new n.vpe,this.formFields=[],this.formSubscription=w.w0.EMPTY}ngOnChanges(h){h.config&&(this.form.controls={},this.formFields=this.getFormFieldArray(this.form,this.config,this.model)),h.model&&this.model&&Object.keys(this.model).length>0&&this.form.patchValue(this.model)}ngOnInit(){this.formSubscription=this.form.valueChanges.subscribe(h=>{Object.assign(this.model,h),this.modelChange.emit(h)})}ngOnDestroy(){this.formSubscription.unsubscribe()}getFormFieldArray(h,M={},T={},Re=null,Ge="group",Gt={emitEvent:!1}){const wn=[];for(const rn of Object.keys(M)){const $n=M[rn].template?[]:M[rn].children,Vt={_type:$n?Array.isArray($n)?"array":"group":"control",key:rn,parentType:Ge,model:T[rn],default:Re?.[rn],index:Number(rn),...M[rn]};if(Vt.children&&null==T[rn]&&null==Vt.default&&(Vt.model=T[rn]="array"===Vt._type?[]:{}),"object"==typeof T&&null==T[rn]&&(T[rn]=Vt.default),Vt.template&&(Array.isArray(Vt.model)&&Vt.model.length>0&&(Vt.default=Vt.model),Vt.children=Vt.default?.length?Vt.default.map(Un=>(Object.assign(Un,Vt.template?.default),{default:Un,...Vt.template})):[]),"control"===Vt._type){const Un={value:Vt.default,disabled:Vt.disabled};h instanceof l.cw?h.registerControl(Vt.key,new l.NI(Un)):h instanceof l.Oe&&h.insert(Vt.index||h.length,new l.NI(Un),Gt)}else if("array"===Vt._type){let Un=new l.Oe([]);h instanceof l.cw?Un=h.registerControl(Vt.key,new l.Oe([])):h instanceof l.Oe&&h.insert(Vt.index||h.length,Un,Gt),Vt.children=this.getFormFieldArray(Un,Vt.children,Vt.model,Vt.default,Vt.type)}else if("group"===Vt._type){let Un=new l.cw({});h instanceof l.cw?Un=h.registerControl(Vt.key,new l.cw({})):h instanceof l.Oe&&h.insert(Vt.index||h.length,Un,Gt),Vt.children=this.getFormFieldArray(Un,Vt.children,Vt.model,Vt.default,Vt.type)}wn.push(Vt)}return wn}addTab(h,M,T,Re){h.stopPropagation();const Ge=void 0===Re?T.children.length:Re+1;T.template.index=Ge,T.children.forEach((wn,rn)=>{rn>=Ge&&(wn.index+=1,wn.key=wn.index.toString())});const Gt=this.getFormFieldArray(M,{[Ge]:T.template},{},null,"tabs",{emitEvent:!0});T.children.splice(Ge,0,Gt[0])}removeTab(h,M,T,Re){h.stopPropagation();const Ge=void 0===Re?T.children.length-1:Re;T.children.forEach((Gt,wn)=>{wn>Ge&&(Gt.index-=1,Gt.key=Gt.index.toString())}),T.children.splice(Ge,1),M.removeAt(Ge)}changeTabsMode(h,M,T){h.stopPropagation(),M.mode=T}static#e=this.\u0275fac=function(M){return new(M||b)(n.Y36(n.sBO))};static#t=this.\u0275cmp=n.Xpm({type:b,selectors:[["gui-form"]],hostAttrs:[1,"gui-form"],inputs:{form:"form",config:"config",model:"model"},outputs:{modelChange:"modelChange"},features:[n.TTD],decls:4,vars:2,consts:[[3,"formGroup"],[4,"ngFor","ngForOf"],["controlType",""],[3,"ngTemplateOutlet","ngTemplateOutletContext"],[3,"ngSwitch","formGroup"],[3,"config","flex",4,"ngSwitchCase"],["type","hidden",3,"formControlName",4,"ngSwitchCase"],[3,"config","formGroupName",4,"ngSwitchCase"],[3,"formGroupName","expanded","disabled","expandedChange",4,"ngSwitchCase"],[3,"formArrayName","expanded","disabled","expandedChange",4,"ngSwitchCase"],["class","gui-menu","disableRipple","",3,"formGroupName",4,"ngSwitchCase"],[3,"config","flex"],[3,"formControlName","config"],["type","image",3,"formControlName","config"],["type","video",3,"formControlName","config"],["type","audio",3,"formControlName","config"],["type","hidden",3,"formControlName"],[3,"config","formGroupName"],[3,"formGroupName","expanded","disabled","expandedChange"],[3,"config"],["matExpansionPanelContent",""],[3,"formArrayName","expanded","disabled","expandedChange"],[4,"ngIf"],["mat-icon-button","","type","button",3,"color","click"],["svgIcon","dots_horizontal"],["svgIcon","dots_vertical"],["mat-icon-button","","type","button",3,"disabled","click"],["svgIcon","plus"],["svgIcon","delete"],["class","gui-tabs","disableRipple","",3,"mat-stretch-tabs",4,"ngIf"],["class","gui-list",4,"ngIf"],["disableRipple","",1,"gui-tabs",3,"mat-stretch-tabs"],[3,"disabled",4,"ngFor","ngForOf"],[3,"disabled"],["mat-tab-label",""],[1,"gui-list"],["class","gui-list-item",4,"ngFor","ngForOf"],[1,"gui-list-item"],[1,"gui-list-item-heading"],[1,"gui-list-item-title"],[1,"gui-list-item-content"],["disableRipple","",1,"gui-menu",3,"formGroupName"],[3,"label","disabled",4,"ngFor","ngForOf"],[3,"label","disabled"],["matTabContent",""],[3,"formGroupName",4,"ngFor","ngForOf"],[3,"formGroupName"]],template:function(M,T){1&M&&(n.TgZ(0,"form",0),n.YNc(1,Ke,2,5,"div",1),n.qZA(),n.YNc(2,Gi,19,20,"ng-template",null,2,n.W1O)),2&M&&(n.Q6J("formGroup",T.form),n.xp6(1),n.Q6J("ngForOf",T.formFields))},dependencies:[E.sg,E.O5,E.tP,E.RF,E.n9,l._Y,l.Fj,l.JJ,l.JL,l.sg,l.u,l.x0,l.CE,H.Hw,Q.RK,ne.Vc,ne.uD,ne.uX,ne.SP,we.ib,we.yz,we.HS,N,ye,Xe,P,nt,Zt,be,ht,se,Mt,gn,me,wt,ce,fe],styles:['.gui-form{--mat-form-field-container-text-size: 12px;--mat-expansion-header-text-size: 12px;--mat-expansion-container-text-size: 12px;--mat-expansion-header-collapsed-state-height: 32px;--mat-expansion-header-expanded-state-height: 32px;position:relative;font-size:12px}.gui-form .mat-expansion-panel{--mat-expansion-container-shape: 0;box-shadow:none!important}.gui-form .mat-expansion-panel-body{padding:0}.gui-form .mat-expansion-panel-header{padding:0 12px}.gui-form .mat-expansion-panel-header .mat-content{align-items:center;padding-right:8px}.gui-form .mat-expansion-panel-header .mat-content gui-field-label{flex:1}.gui-form .mat-expansion-indicator:after{vertical-align:2px}.gui-form .mat-mdc-tab-header{--mat-tab-header-label-text-size: 12px;--mdc-secondary-navigation-tab-container-height: 24px}.gui-form .mat-mdc-tab{min-width:auto;padding:0 12px}.gui-form .mat-icon{display:inline-flex;justify-content:center;align-items:center;padding:0!important}.gui-form .mat-icon svg{width:14px;height:14px}.gui-form .mat-mdc-icon-button{--mdc-icon-button-state-layer-size: 24px;--mdc-icon-button-icon-size: 14px;padding:0}.gui-form .mat-mdc-icon-button .mat-mdc-button-touch-target{width:var(--mdc-icon-button-state-layer-size);height:var(--mdc-icon-button-state-layer-size)}.gui-form .mat-mdc-text-field-wrapper,.gui-form .mat-mdc-form-field-hint-wrapper{position:relative;padding:0 8px;border-radius:var(--mdc-filled-text-field-container-shape)}[dir=rtl] .gui-form .mat-mdc-text-field-wrapper,[dir=rtl] .gui-form .mat-mdc-form-field-hint-wrapper{padding:0 8px}.gui-form .mat-mdc-form-field-infix{min-height:auto;padding:0!important}.gui-form .mat-mdc-form-field-hint-spacer,.gui-form .mat-mdc-form-field-bottom-align:before,.gui-form .mdc-line-ripple{display:none}.gui-list-item-heading{display:flex;align-items:center;position:relative;padding:0 12px;line-height:24px}.gui-list-item-heading .gui-list-item-title{flex:1}.gui-list-item-heading:before{position:absolute;left:0;width:2px;height:16px;background-color:var(--mat-expansion-header-text-color);content:""}.gui-menu .mat-mdc-tab-header{--mdc-tab-indicator-active-indicator-shape: 4px;padding:4px;background-color:var(--mdc-filled-text-field-container-color)}.gui-menu .mat-mdc-tab-header .mdc-tab__ripple:before{border-radius:var(--mdc-tab-indicator-active-indicator-shape)}.gui-menu .mat-mdc-tab-labels{gap:4px}.gui-menu .mdc-tab-indicator .mdc-tab-indicator__content{height:100%;border-width:0;border-radius:var(--mdc-tab-indicator-active-indicator-shape);background-color:var(--mdc-tab-indicator-active-indicator-color)}.gui-menu .mdc-tab-indicator--active .mdc-tab-indicator__content{opacity:.24}\n'],encapsulation:2,changeDetection:0})}return b})()},7105:(_t,Me,p)=>{p.d(Me,{i:()=>oe});var n=p(6814),l=p(6223),w=p(9157),E=p(4516),H=p(617),Q=p(8525),ne=p(2202),we=p(2599),ie=p(9488),J=p(2296),xe=p(4104),fe=p(3305),ce=p(2596),De=p(4318),Ae=p(6912),Le=p(7836);const se={dots_horizontal:'\n \n \n \n ',dots_vertical:'\n \n \n \n ',plus:'\n \n \n \n ',delete:'\n \n \n \n ',link:'\n \n \n \n ',close:'\n \n \n \n ',file_outline:'\n \n \n \n ',file_upload:'\n \n \n \n '};var ue=p(5879),ze=p(6593);let oe=(()=>{class N{constructor(K,ve){for(const ye of Object.keys(se))K.addSvgIconLiteral(ye,ve.bypassSecurityTrustHtml(se[ye]))}static#e=this.\u0275fac=function(ve){return new(ve||N)(ue.LFG(H.jv),ue.LFG(ze.H7))};static#t=this.\u0275mod=ue.oAB({type:N});static#n=this.\u0275inj=ue.cJS({providers:[Le.E],imports:[n.ez,l.UX,l.u5,w.lN,E.c,Q.LD,ne.KP,we.rP,ie.vV,H.Ps,J.ot,xe.Nh,fe.To,ce.AV,De.tf,Ae.F3]})}return N})()},5619:(_t,Me,p)=>{p.d(Me,{X:()=>l});var n=p(8645);class l extends n.x{constructor(E){super(),this._value=E}get value(){return this.getValue()}_subscribe(E){const H=super._subscribe(E);return!H.closed&&E.next(this._value),H}getValue(){const{hasError:E,thrownError:H,_value:Q}=this;if(E)throw H;return this._throwIfClosed(),Q}next(E){super.next(this._value=E)}}},5592:(_t,Me,p)=>{p.d(Me,{y:()=>we});var n=p(305),l=p(7394),w=p(4850),E=p(8407),H=p(2653),Q=p(4674),ne=p(1441);let we=(()=>{class fe{constructor(De){De&&(this._subscribe=De)}lift(De){const Ae=new fe;return Ae.source=this,Ae.operator=De,Ae}subscribe(De,Ae,Le){const se=function xe(fe){return fe&&fe instanceof n.Lv||function J(fe){return fe&&(0,Q.m)(fe.next)&&(0,Q.m)(fe.error)&&(0,Q.m)(fe.complete)}(fe)&&(0,l.Nn)(fe)}(De)?De:new n.Hp(De,Ae,Le);return(0,ne.x)(()=>{const{operator:ue,source:ze}=this;se.add(ue?ue.call(se,ze):ze?this._subscribe(se):this._trySubscribe(se))}),se}_trySubscribe(De){try{return this._subscribe(De)}catch(Ae){De.error(Ae)}}forEach(De,Ae){return new(Ae=ie(Ae))((Le,se)=>{const ue=new n.Hp({next:ze=>{try{De(ze)}catch(oe){se(oe),ue.unsubscribe()}},error:se,complete:Le});this.subscribe(ue)})}_subscribe(De){var Ae;return null===(Ae=this.source)||void 0===Ae?void 0:Ae.subscribe(De)}[w.L](){return this}pipe(...De){return(0,E.U)(De)(this)}toPromise(De){return new(De=ie(De))((Ae,Le)=>{let se;this.subscribe(ue=>se=ue,ue=>Le(ue),()=>Ae(se))})}}return fe.create=ce=>new fe(ce),fe})();function ie(fe){var ce;return null!==(ce=fe??H.config.Promise)&&void 0!==ce?ce:Promise}},8645:(_t,Me,p)=>{p.d(Me,{x:()=>ne});var n=p(5592),l=p(7394);const E=(0,p(2306).d)(ie=>function(){ie(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"});var H=p(9039),Q=p(1441);let ne=(()=>{class ie extends n.y{constructor(){super(),this.closed=!1,this.currentObservers=null,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(xe){const fe=new we(this,this);return fe.operator=xe,fe}_throwIfClosed(){if(this.closed)throw new E}next(xe){(0,Q.x)(()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(const fe of this.currentObservers)fe.next(xe)}})}error(xe){(0,Q.x)(()=>{if(this._throwIfClosed(),!this.isStopped){this.hasError=this.isStopped=!0,this.thrownError=xe;const{observers:fe}=this;for(;fe.length;)fe.shift().error(xe)}})}complete(){(0,Q.x)(()=>{if(this._throwIfClosed(),!this.isStopped){this.isStopped=!0;const{observers:xe}=this;for(;xe.length;)xe.shift().complete()}})}unsubscribe(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null}get observed(){var xe;return(null===(xe=this.observers)||void 0===xe?void 0:xe.length)>0}_trySubscribe(xe){return this._throwIfClosed(),super._trySubscribe(xe)}_subscribe(xe){return this._throwIfClosed(),this._checkFinalizedStatuses(xe),this._innerSubscribe(xe)}_innerSubscribe(xe){const{hasError:fe,isStopped:ce,observers:De}=this;return fe||ce?l.Lc:(this.currentObservers=null,De.push(xe),new l.w0(()=>{this.currentObservers=null,(0,H.P)(De,xe)}))}_checkFinalizedStatuses(xe){const{hasError:fe,thrownError:ce,isStopped:De}=this;fe?xe.error(ce):De&&xe.complete()}asObservable(){const xe=new n.y;return xe.source=this,xe}}return ie.create=(J,xe)=>new we(J,xe),ie})();class we extends ne{constructor(J,xe){super(),this.destination=J,this.source=xe}next(J){var xe,fe;null===(fe=null===(xe=this.destination)||void 0===xe?void 0:xe.next)||void 0===fe||fe.call(xe,J)}error(J){var xe,fe;null===(fe=null===(xe=this.destination)||void 0===xe?void 0:xe.error)||void 0===fe||fe.call(xe,J)}complete(){var J,xe;null===(xe=null===(J=this.destination)||void 0===J?void 0:J.complete)||void 0===xe||xe.call(J)}_subscribe(J){var xe,fe;return null!==(fe=null===(xe=this.source)||void 0===xe?void 0:xe.subscribe(J))&&void 0!==fe?fe:l.Lc}}},305:(_t,Me,p)=>{p.d(Me,{Hp:()=>Le,Lv:()=>fe});var n=p(4674),l=p(7394),w=p(2653),E=p(3894),H=p(2420);const Q=ie("C",void 0,void 0);function ie(N,Ce,K){return{kind:N,value:Ce,error:K}}var J=p(7599),xe=p(1441);class fe extends l.w0{constructor(Ce){super(),this.isStopped=!1,Ce?(this.destination=Ce,(0,l.Nn)(Ce)&&Ce.add(this)):this.destination=oe}static create(Ce,K,ve){return new Le(Ce,K,ve)}next(Ce){this.isStopped?ze(function we(N){return ie("N",N,void 0)}(Ce),this):this._next(Ce)}error(Ce){this.isStopped?ze(function ne(N){return ie("E",void 0,N)}(Ce),this):(this.isStopped=!0,this._error(Ce))}complete(){this.isStopped?ze(Q,this):(this.isStopped=!0,this._complete())}unsubscribe(){this.closed||(this.isStopped=!0,super.unsubscribe(),this.destination=null)}_next(Ce){this.destination.next(Ce)}_error(Ce){try{this.destination.error(Ce)}finally{this.unsubscribe()}}_complete(){try{this.destination.complete()}finally{this.unsubscribe()}}}const ce=Function.prototype.bind;function De(N,Ce){return ce.call(N,Ce)}class Ae{constructor(Ce){this.partialObserver=Ce}next(Ce){const{partialObserver:K}=this;if(K.next)try{K.next(Ce)}catch(ve){se(ve)}}error(Ce){const{partialObserver:K}=this;if(K.error)try{K.error(Ce)}catch(ve){se(ve)}else se(Ce)}complete(){const{partialObserver:Ce}=this;if(Ce.complete)try{Ce.complete()}catch(K){se(K)}}}class Le extends fe{constructor(Ce,K,ve){let ye;if(super(),(0,n.m)(Ce)||!Ce)ye={next:Ce??void 0,error:K??void 0,complete:ve??void 0};else{let He;this&&w.config.useDeprecatedNextContext?(He=Object.create(Ce),He.unsubscribe=()=>this.unsubscribe(),ye={next:Ce.next&&De(Ce.next,He),error:Ce.error&&De(Ce.error,He),complete:Ce.complete&&De(Ce.complete,He)}):ye=Ce}this.destination=new Ae(ye)}}function se(N){w.config.useDeprecatedSynchronousErrorHandling?(0,xe.O)(N):(0,E.h)(N)}function ze(N,Ce){const{onStoppedNotification:K}=w.config;K&&J.z.setTimeout(()=>K(N,Ce))}const oe={closed:!0,next:H.Z,error:function ue(N){throw N},complete:H.Z}},7394:(_t,Me,p)=>{p.d(Me,{Lc:()=>Q,w0:()=>H,Nn:()=>ne});var n=p(4674);const w=(0,p(2306).d)(ie=>function(xe){ie(this),this.message=xe?`${xe.length} errors occurred during unsubscription:\n${xe.map((fe,ce)=>`${ce+1}) ${fe.toString()}`).join("\n ")}`:"",this.name="UnsubscriptionError",this.errors=xe});var E=p(9039);class H{constructor(J){this.initialTeardown=J,this.closed=!1,this._parentage=null,this._finalizers=null}unsubscribe(){let J;if(!this.closed){this.closed=!0;const{_parentage:xe}=this;if(xe)if(this._parentage=null,Array.isArray(xe))for(const De of xe)De.remove(this);else xe.remove(this);const{initialTeardown:fe}=this;if((0,n.m)(fe))try{fe()}catch(De){J=De instanceof w?De.errors:[De]}const{_finalizers:ce}=this;if(ce){this._finalizers=null;for(const De of ce)try{we(De)}catch(Ae){J=J??[],Ae instanceof w?J=[...J,...Ae.errors]:J.push(Ae)}}if(J)throw new w(J)}}add(J){var xe;if(J&&J!==this)if(this.closed)we(J);else{if(J instanceof H){if(J.closed||J._hasParent(this))return;J._addParent(this)}(this._finalizers=null!==(xe=this._finalizers)&&void 0!==xe?xe:[]).push(J)}}_hasParent(J){const{_parentage:xe}=this;return xe===J||Array.isArray(xe)&&xe.includes(J)}_addParent(J){const{_parentage:xe}=this;this._parentage=Array.isArray(xe)?(xe.push(J),xe):xe?[xe,J]:J}_removeParent(J){const{_parentage:xe}=this;xe===J?this._parentage=null:Array.isArray(xe)&&(0,E.P)(xe,J)}remove(J){const{_finalizers:xe}=this;xe&&(0,E.P)(xe,J),J instanceof H&&J._removeParent(this)}}H.EMPTY=(()=>{const ie=new H;return ie.closed=!0,ie})();const Q=H.EMPTY;function ne(ie){return ie instanceof H||ie&&"closed"in ie&&(0,n.m)(ie.remove)&&(0,n.m)(ie.add)&&(0,n.m)(ie.unsubscribe)}function we(ie){(0,n.m)(ie)?ie():ie.unsubscribe()}},2653:(_t,Me,p)=>{p.d(Me,{config:()=>n});const n={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1}},2572:(_t,Me,p)=>{p.d(Me,{a:()=>J});var n=p(5592),l=p(7453),w=p(7715),E=p(2737),H=p(7400),Q=p(9940),ne=p(2714),we=p(8251),ie=p(7103);function J(...ce){const De=(0,Q.yG)(ce),Ae=(0,Q.jO)(ce),{args:Le,keys:se}=(0,l.D)(ce);if(0===Le.length)return(0,w.D)([],De);const ue=new n.y(function xe(ce,De,Ae=E.y){return Le=>{fe(De,()=>{const{length:se}=ce,ue=new Array(se);let ze=se,oe=se;for(let N=0;N{const Ce=(0,w.D)(ce[N],De);let K=!1;Ce.subscribe((0,we.x)(Le,ve=>{ue[N]=ve,K||(K=!0,oe--),oe||Le.next(Ae(ue.slice()))},()=>{--ze||Le.complete()}))},Le)},Le)}}(Le,De,se?ze=>(0,ne.n)(se,ze):E.y));return Ae?ue.pipe((0,H.Z)(Ae)):ue}function fe(ce,De,Ae){ce?(0,ie.f)(Ae,ce,De):De()}},5211:(_t,Me,p)=>{p.d(Me,{z:()=>H});var n=p(7537),w=p(9940),E=p(7715);function H(...Q){return function l(){return(0,n.J)(1)}()((0,E.D)(Q,(0,w.yG)(Q)))}},4911:(_t,Me,p)=>{p.d(Me,{P:()=>w});var n=p(5592),l=p(4829);function w(E){return new n.y(H=>{(0,l.Xf)(E()).subscribe(H)})}},6232:(_t,Me,p)=>{p.d(Me,{E:()=>l});const l=new(p(5592).y)(H=>H.complete())},9315:(_t,Me,p)=>{p.d(Me,{D:()=>we});var n=p(5592),l=p(7453),w=p(4829),E=p(9940),H=p(8251),Q=p(7400),ne=p(2714);function we(...ie){const J=(0,E.jO)(ie),{args:xe,keys:fe}=(0,l.D)(ie),ce=new n.y(De=>{const{length:Ae}=xe;if(!Ae)return void De.complete();const Le=new Array(Ae);let se=Ae,ue=Ae;for(let ze=0;ze{oe||(oe=!0,ue--),Le[ze]=N},()=>se--,void 0,()=>{(!se||!oe)&&(ue||De.next(fe?(0,ne.n)(fe,Le):Le),De.complete())}))}});return J?ce.pipe((0,Q.Z)(J)):ce}},7715:(_t,Me,p)=>{p.d(Me,{D:()=>ve});var n=p(4829),l=p(7103),w=p(9360),E=p(8251);function H(ye,He=0){return(0,w.e)((ft,ct)=>{ft.subscribe((0,E.x)(ct,xt=>(0,l.f)(ct,ye,()=>ct.next(xt),He),()=>(0,l.f)(ct,ye,()=>ct.complete(),He),xt=>(0,l.f)(ct,ye,()=>ct.error(xt),He)))})}function Q(ye,He=0){return(0,w.e)((ft,ct)=>{ct.add(ye.schedule(()=>ft.subscribe(ct),He))})}var ie=p(5592),xe=p(4971),fe=p(4674);function De(ye,He){if(!ye)throw new Error("Iterable cannot be null");return new ie.y(ft=>{(0,l.f)(ft,He,()=>{const ct=ye[Symbol.asyncIterator]();(0,l.f)(ft,He,()=>{ct.next().then(xt=>{xt.done?ft.complete():ft.next(xt.value)})},0,!0)})})}var Ae=p(8382),Le=p(4026),se=p(4266),ue=p(3664),ze=p(5726),oe=p(9853),N=p(541);function ve(ye,He){return He?function K(ye,He){if(null!=ye){if((0,Ae.c)(ye))return function ne(ye,He){return(0,n.Xf)(ye).pipe(Q(He),H(He))}(ye,He);if((0,se.z)(ye))return function J(ye,He){return new ie.y(ft=>{let ct=0;return He.schedule(function(){ct===ye.length?ft.complete():(ft.next(ye[ct++]),ft.closed||this.schedule())})})}(ye,He);if((0,Le.t)(ye))return function we(ye,He){return(0,n.Xf)(ye).pipe(Q(He),H(He))}(ye,He);if((0,ze.D)(ye))return De(ye,He);if((0,ue.T)(ye))return function ce(ye,He){return new ie.y(ft=>{let ct;return(0,l.f)(ft,He,()=>{ct=ye[xe.h](),(0,l.f)(ft,He,()=>{let xt,Ut;try{({value:xt,done:Ut}=ct.next())}catch(It){return void ft.error(It)}Ut?ft.complete():ft.next(xt)},0,!0)}),()=>(0,fe.m)(ct?.return)&&ct.return()})}(ye,He);if((0,N.L)(ye))return function Ce(ye,He){return De((0,N.Q)(ye),He)}(ye,He)}throw(0,oe.z)(ye)}(ye,He):(0,n.Xf)(ye)}},2438:(_t,Me,p)=>{p.d(Me,{R:()=>J});var n=p(4829),l=p(5592),w=p(1631),E=p(4266),H=p(4674),Q=p(7400);const ne=["addListener","removeListener"],we=["addEventListener","removeEventListener"],ie=["on","off"];function J(Ae,Le,se,ue){if((0,H.m)(se)&&(ue=se,se=void 0),ue)return J(Ae,Le,se).pipe((0,Q.Z)(ue));const[ze,oe]=function De(Ae){return(0,H.m)(Ae.addEventListener)&&(0,H.m)(Ae.removeEventListener)}(Ae)?we.map(N=>Ce=>Ae[N](Le,Ce,se)):function fe(Ae){return(0,H.m)(Ae.addListener)&&(0,H.m)(Ae.removeListener)}(Ae)?ne.map(xe(Ae,Le)):function ce(Ae){return(0,H.m)(Ae.on)&&(0,H.m)(Ae.off)}(Ae)?ie.map(xe(Ae,Le)):[];if(!ze&&(0,E.z)(Ae))return(0,w.z)(N=>J(N,Le,se))((0,n.Xf)(Ae));if(!ze)throw new TypeError("Invalid event target");return new l.y(N=>{const Ce=(...K)=>N.next(1oe(Ce)})}function xe(Ae,Le){return se=>ue=>Ae[se](Le,ue)}},4829:(_t,Me,p)=>{p.d(Me,{Xf:()=>ce});var n=p(7582),l=p(4266),w=p(4026),E=p(5592),H=p(8382),Q=p(5726),ne=p(9853),we=p(3664),ie=p(541),J=p(4674),xe=p(3894),fe=p(4850);function ce(N){if(N instanceof E.y)return N;if(null!=N){if((0,H.c)(N))return function De(N){return new E.y(Ce=>{const K=N[fe.L]();if((0,J.m)(K.subscribe))return K.subscribe(Ce);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}(N);if((0,l.z)(N))return function Ae(N){return new E.y(Ce=>{for(let K=0;K{N.then(K=>{Ce.closed||(Ce.next(K),Ce.complete())},K=>Ce.error(K)).then(null,xe.h)})}(N);if((0,Q.D)(N))return ue(N);if((0,we.T)(N))return function se(N){return new E.y(Ce=>{for(const K of N)if(Ce.next(K),Ce.closed)return;Ce.complete()})}(N);if((0,ie.L)(N))return function ze(N){return ue((0,ie.Q)(N))}(N)}throw(0,ne.z)(N)}function ue(N){return new E.y(Ce=>{(function oe(N,Ce){var K,ve,ye,He;return(0,n.mG)(this,void 0,void 0,function*(){try{for(K=(0,n.KL)(N);!(ve=yield K.next()).done;)if(Ce.next(ve.value),Ce.closed)return}catch(ft){ye={error:ft}}finally{try{ve&&!ve.done&&(He=K.return)&&(yield He.call(K))}finally{if(ye)throw ye.error}}Ce.complete()})})(N,Ce).catch(K=>Ce.error(K))})}},3019:(_t,Me,p)=>{p.d(Me,{T:()=>Q});var n=p(7537),l=p(4829),w=p(6232),E=p(9940),H=p(7715);function Q(...ne){const we=(0,E.yG)(ne),ie=(0,E._6)(ne,1/0),J=ne;return J.length?1===J.length?(0,l.Xf)(J[0]):(0,n.J)(ie)((0,H.D)(J,we)):w.E}},2096:(_t,Me,p)=>{p.d(Me,{of:()=>w});var n=p(9940),l=p(7715);function w(...E){const H=(0,n.yG)(E);return(0,l.D)(E,H)}},8504:(_t,Me,p)=>{p.d(Me,{_:()=>w});var n=p(5592),l=p(4674);function w(E,H){const Q=(0,l.m)(E)?E:()=>E,ne=we=>we.error(Q());return new n.y(H?we=>H.schedule(ne,0,we):ne)}},4825:(_t,Me,p)=>{p.d(Me,{H:()=>H});var n=p(5592),l=p(6321),w=p(671);function H(Q=0,ne,we=l.P){let ie=-1;return null!=ne&&((0,w.K)(ne)?we=ne:ie=ne),new n.y(J=>{let xe=function E(Q){return Q instanceof Date&&!isNaN(Q)}(Q)?+Q-we.now():Q;xe<0&&(xe=0);let fe=0;return we.schedule(function(){J.closed||(J.next(fe++),0<=ie?this.schedule(void 0,ie):J.complete())},xe)})}},8251:(_t,Me,p)=>{p.d(Me,{x:()=>l});var n=p(305);function l(E,H,Q,ne,we){return new w(E,H,Q,ne,we)}class w extends n.Lv{constructor(H,Q,ne,we,ie,J){super(H),this.onFinalize=ie,this.shouldUnsubscribe=J,this._next=Q?function(xe){try{Q(xe)}catch(fe){H.error(fe)}}:super._next,this._error=we?function(xe){try{we(xe)}catch(fe){H.error(fe)}finally{this.unsubscribe()}}:super._error,this._complete=ne?function(){try{ne()}catch(xe){H.error(xe)}finally{this.unsubscribe()}}:super._complete}unsubscribe(){var H;if(!this.shouldUnsubscribe||this.shouldUnsubscribe()){const{closed:Q}=this;super.unsubscribe(),!Q&&(null===(H=this.onFinalize)||void 0===H||H.call(this))}}}},9028:(_t,Me,p)=>{p.d(Me,{e:()=>ne});var n=p(6321),l=p(9360),w=p(4829),E=p(8251),Q=p(4825);function ne(we,ie=n.z){return function H(we){return(0,l.e)((ie,J)=>{let xe=!1,fe=null,ce=null,De=!1;const Ae=()=>{if(ce?.unsubscribe(),ce=null,xe){xe=!1;const se=fe;fe=null,J.next(se)}De&&J.complete()},Le=()=>{ce=null,De&&J.complete()};ie.subscribe((0,E.x)(J,se=>{xe=!0,fe=se,ce||(0,w.Xf)(we(se)).subscribe(ce=(0,E.x)(J,Ae,Le))},()=>{De=!0,(!xe||!ce||ce.closed)&&J.complete()}))})}(()=>(0,Q.H)(we,ie))}},6306:(_t,Me,p)=>{p.d(Me,{K:()=>E});var n=p(4829),l=p(8251),w=p(9360);function E(H){return(0,w.e)((Q,ne)=>{let J,we=null,ie=!1;we=Q.subscribe((0,l.x)(ne,void 0,void 0,xe=>{J=(0,n.Xf)(H(xe,E(H)(Q))),we?(we.unsubscribe(),we=null,J.subscribe(ne)):ie=!0})),ie&&(we.unsubscribe(),we=null,J.subscribe(ne))})}},6328:(_t,Me,p)=>{p.d(Me,{b:()=>w});var n=p(1631),l=p(4674);function w(E,H){return(0,l.m)(H)?(0,n.z)(E,H,1):(0,n.z)(E,1)}},3620:(_t,Me,p)=>{p.d(Me,{b:()=>E});var n=p(6321),l=p(9360),w=p(8251);function E(H,Q=n.z){return(0,l.e)((ne,we)=>{let ie=null,J=null,xe=null;const fe=()=>{if(ie){ie.unsubscribe(),ie=null;const De=J;J=null,we.next(De)}};function ce(){const De=xe+H,Ae=Q.now();if(Ae{J=De,xe=Q.now(),ie||(ie=Q.schedule(ce,H),we.add(ie))},()=>{fe(),we.complete()},void 0,()=>{J=ie=null}))})}},3997:(_t,Me,p)=>{p.d(Me,{x:()=>E});var n=p(2737),l=p(9360),w=p(8251);function E(Q,ne=n.y){return Q=Q??H,(0,l.e)((we,ie)=>{let J,xe=!0;we.subscribe((0,w.x)(ie,fe=>{const ce=ne(fe);(xe||!Q(J,ce))&&(xe=!1,J=ce,ie.next(fe))}))})}function H(Q,ne){return Q===ne}},2181:(_t,Me,p)=>{p.d(Me,{h:()=>w});var n=p(9360),l=p(8251);function w(E,H){return(0,n.e)((Q,ne)=>{let we=0;Q.subscribe((0,l.x)(ne,ie=>E.call(H,ie,we++)&&ne.next(ie)))})}},4716:(_t,Me,p)=>{p.d(Me,{x:()=>l});var n=p(9360);function l(w){return(0,n.e)((E,H)=>{try{E.subscribe(H)}finally{H.add(w)}})}},7398:(_t,Me,p)=>{p.d(Me,{U:()=>w});var n=p(9360),l=p(8251);function w(E,H){return(0,n.e)((Q,ne)=>{let we=0;Q.subscribe((0,l.x)(ne,ie=>{ne.next(E.call(H,ie,we++))}))})}},7537:(_t,Me,p)=>{p.d(Me,{J:()=>w});var n=p(1631),l=p(2737);function w(E=1/0){return(0,n.z)(l.y,E)}},1631:(_t,Me,p)=>{p.d(Me,{z:()=>we});var n=p(7398),l=p(4829),w=p(9360),E=p(7103),H=p(8251),ne=p(4674);function we(ie,J,xe=1/0){return(0,ne.m)(J)?we((fe,ce)=>(0,n.U)((De,Ae)=>J(fe,De,ce,Ae))((0,l.Xf)(ie(fe,ce))),xe):("number"==typeof J&&(xe=J),(0,w.e)((fe,ce)=>function Q(ie,J,xe,fe,ce,De,Ae,Le){const se=[];let ue=0,ze=0,oe=!1;const N=()=>{oe&&!se.length&&!ue&&J.complete()},Ce=ve=>ue{De&&J.next(ve),ue++;let ye=!1;(0,l.Xf)(xe(ve,ze++)).subscribe((0,H.x)(J,He=>{ce?.(He),De?Ce(He):J.next(He)},()=>{ye=!0},void 0,()=>{if(ye)try{for(ue--;se.length&&ueK(He)):K(He)}N()}catch(He){J.error(He)}}))};return ie.subscribe((0,H.x)(J,Ce,()=>{oe=!0,N()})),()=>{Le?.()}}(fe,ce,ie,xe)))}},3020:(_t,Me,p)=>{p.d(Me,{B:()=>H});var n=p(4829),l=p(8645),w=p(305),E=p(9360);function H(ne={}){const{connector:we=(()=>new l.x),resetOnError:ie=!0,resetOnComplete:J=!0,resetOnRefCountZero:xe=!0}=ne;return fe=>{let ce,De,Ae,Le=0,se=!1,ue=!1;const ze=()=>{De?.unsubscribe(),De=void 0},oe=()=>{ze(),ce=Ae=void 0,se=ue=!1},N=()=>{const Ce=ce;oe(),Ce?.unsubscribe()};return(0,E.e)((Ce,K)=>{Le++,!ue&&!se&&ze();const ve=Ae=Ae??we();K.add(()=>{Le--,0===Le&&!ue&&!se&&(De=Q(N,xe))}),ve.subscribe(K),!ce&&Le>0&&(ce=new w.Hp({next:ye=>ve.next(ye),error:ye=>{ue=!0,ze(),De=Q(oe,ie,ye),ve.error(ye)},complete:()=>{se=!0,ze(),De=Q(oe,J),ve.complete()}}),(0,n.Xf)(Ce).subscribe(ce))})(fe)}}function Q(ne,we,...ie){if(!0===we)return void ne();if(!1===we)return;const J=new w.Hp({next:()=>{J.unsubscribe(),ne()}});return(0,n.Xf)(we(...ie)).subscribe(J)}},836:(_t,Me,p)=>{p.d(Me,{T:()=>l});var n=p(2181);function l(w){return(0,n.h)((E,H)=>w<=H)}},7921:(_t,Me,p)=>{p.d(Me,{O:()=>E});var n=p(5211),l=p(9940),w=p(9360);function E(...H){const Q=(0,l.yG)(H);return(0,w.e)((ne,we)=>{(Q?(0,n.z)(H,ne,Q):(0,n.z)(H,ne)).subscribe(we)})}},4664:(_t,Me,p)=>{p.d(Me,{w:()=>E});var n=p(4829),l=p(9360),w=p(8251);function E(H,Q){return(0,l.e)((ne,we)=>{let ie=null,J=0,xe=!1;const fe=()=>xe&&!ie&&we.complete();ne.subscribe((0,w.x)(we,ce=>{ie?.unsubscribe();let De=0;const Ae=J++;(0,n.Xf)(H(ce,Ae)).subscribe(ie=(0,w.x)(we,Le=>we.next(Q?Q(ce,Le,Ae,De++):Le),()=>{ie=null,fe()}))},()=>{xe=!0,fe()}))})}},8180:(_t,Me,p)=>{p.d(Me,{q:()=>E});var n=p(6232),l=p(9360),w=p(8251);function E(H){return H<=0?()=>n.E:(0,l.e)((Q,ne)=>{let we=0;Q.subscribe((0,w.x)(ne,ie=>{++we<=H&&(ne.next(ie),H<=we&&ne.complete())}))})}},9773:(_t,Me,p)=>{p.d(Me,{R:()=>H});var n=p(9360),l=p(8251),w=p(4829),E=p(2420);function H(Q){return(0,n.e)((ne,we)=>{(0,w.Xf)(Q).subscribe((0,l.x)(we,()=>we.complete(),E.Z)),!we.closed&&ne.subscribe(we)})}},9397:(_t,Me,p)=>{p.d(Me,{b:()=>H});var n=p(4674),l=p(9360),w=p(8251),E=p(2737);function H(Q,ne,we){const ie=(0,n.m)(Q)||ne||we?{next:Q,error:ne,complete:we}:Q;return ie?(0,l.e)((J,xe)=>{var fe;null===(fe=ie.subscribe)||void 0===fe||fe.call(ie);let ce=!0;J.subscribe((0,w.x)(xe,De=>{var Ae;null===(Ae=ie.next)||void 0===Ae||Ae.call(ie,De),xe.next(De)},()=>{var De;ce=!1,null===(De=ie.complete)||void 0===De||De.call(ie),xe.complete()},De=>{var Ae;ce=!1,null===(Ae=ie.error)||void 0===Ae||Ae.call(ie,De),xe.error(De)},()=>{var De,Ae;ce&&(null===(De=ie.unsubscribe)||void 0===De||De.call(ie)),null===(Ae=ie.finalize)||void 0===Ae||Ae.call(ie)}))}):E.y}},1954:(_t,Me,p)=>{p.d(Me,{o:()=>H});var n=p(7394);class l extends n.w0{constructor(ne,we){super()}schedule(ne,we=0){return this}}const w={setInterval(Q,ne,...we){const{delegate:ie}=w;return ie?.setInterval?ie.setInterval(Q,ne,...we):setInterval(Q,ne,...we)},clearInterval(Q){const{delegate:ne}=w;return(ne?.clearInterval||clearInterval)(Q)},delegate:void 0};var E=p(9039);class H extends l{constructor(ne,we){super(ne,we),this.scheduler=ne,this.work=we,this.pending=!1}schedule(ne,we=0){var ie;if(this.closed)return this;this.state=ne;const J=this.id,xe=this.scheduler;return null!=J&&(this.id=this.recycleAsyncId(xe,J,we)),this.pending=!0,this.delay=we,this.id=null!==(ie=this.id)&&void 0!==ie?ie:this.requestAsyncId(xe,this.id,we),this}requestAsyncId(ne,we,ie=0){return w.setInterval(ne.flush.bind(ne,this),ie)}recycleAsyncId(ne,we,ie=0){if(null!=ie&&this.delay===ie&&!1===this.pending)return we;null!=we&&w.clearInterval(we)}execute(ne,we){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;const ie=this._execute(ne,we);if(ie)return ie;!1===this.pending&&null!=this.id&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))}_execute(ne,we){let J,ie=!1;try{this.work(ne)}catch(xe){ie=!0,J=xe||new Error("Scheduled action threw falsy error")}if(ie)return this.unsubscribe(),J}unsubscribe(){if(!this.closed){const{id:ne,scheduler:we}=this,{actions:ie}=we;this.work=this.state=this.scheduler=null,this.pending=!1,(0,E.P)(ie,this),null!=ne&&(this.id=this.recycleAsyncId(we,ne,null)),this.delay=null,super.unsubscribe()}}}},2631:(_t,Me,p)=>{p.d(Me,{v:()=>w});var n=p(4552);class l{constructor(H,Q=l.now){this.schedulerActionCtor=H,this.now=Q}schedule(H,Q=0,ne){return new this.schedulerActionCtor(this,H).schedule(ne,Q)}}l.now=n.l.now;class w extends l{constructor(H,Q=l.now){super(H,Q),this.actions=[],this._active=!1}flush(H){const{actions:Q}=this;if(this._active)return void Q.push(H);let ne;this._active=!0;do{if(ne=H.execute(H.state,H.delay))break}while(H=Q.shift());if(this._active=!1,ne){for(;H=Q.shift();)H.unsubscribe();throw ne}}}},927:(_t,Me,p)=>{p.d(Me,{Z:()=>ne});var n=p(1954),l=p(7394);const w={schedule(ie){let J=requestAnimationFrame,xe=cancelAnimationFrame;const{delegate:fe}=w;fe&&(J=fe.requestAnimationFrame,xe=fe.cancelAnimationFrame);const ce=J(De=>{xe=void 0,ie(De)});return new l.w0(()=>xe?.(ce))},requestAnimationFrame(...ie){const{delegate:J}=w;return(J?.requestAnimationFrame||requestAnimationFrame)(...ie)},cancelAnimationFrame(...ie){const{delegate:J}=w;return(J?.cancelAnimationFrame||cancelAnimationFrame)(...ie)},delegate:void 0};var H=p(2631);const ne=new class Q extends H.v{flush(J){this._active=!0;const xe=this._scheduled;this._scheduled=void 0;const{actions:fe}=this;let ce;J=J||fe.shift();do{if(ce=J.execute(J.state,J.delay))break}while((J=fe[0])&&J.id===xe&&fe.shift());if(this._active=!1,ce){for(;(J=fe[0])&&J.id===xe&&fe.shift();)J.unsubscribe();throw ce}}}(class E extends n.o{constructor(J,xe){super(J,xe),this.scheduler=J,this.work=xe}requestAsyncId(J,xe,fe=0){return null!==fe&&fe>0?super.requestAsyncId(J,xe,fe):(J.actions.push(this),J._scheduled||(J._scheduled=w.requestAnimationFrame(()=>J.flush(void 0))))}recycleAsyncId(J,xe,fe=0){var ce;if(null!=fe?fe>0:this.delay>0)return super.recycleAsyncId(J,xe,fe);const{actions:De}=J;null!=xe&&(null===(ce=De[De.length-1])||void 0===ce?void 0:ce.id)!==xe&&(w.cancelAnimationFrame(xe),J._scheduled=void 0)}})},6410:(_t,Me,p)=>{p.d(Me,{E:()=>De});var n=p(1954);let w,l=1;const E={};function H(Le){return Le in E&&(delete E[Le],!0)}const Q={setImmediate(Le){const se=l++;return E[se]=!0,w||(w=Promise.resolve()),w.then(()=>H(se)&&Le()),se},clearImmediate(Le){H(Le)}},{setImmediate:we,clearImmediate:ie}=Q,J={setImmediate(...Le){const{delegate:se}=J;return(se?.setImmediate||we)(...Le)},clearImmediate(Le){const{delegate:se}=J;return(se?.clearImmediate||ie)(Le)},delegate:void 0};var fe=p(2631);const De=new class ce extends fe.v{flush(se){this._active=!0;const ue=this._scheduled;this._scheduled=void 0;const{actions:ze}=this;let oe;se=se||ze.shift();do{if(oe=se.execute(se.state,se.delay))break}while((se=ze[0])&&se.id===ue&&ze.shift());if(this._active=!1,oe){for(;(se=ze[0])&&se.id===ue&&ze.shift();)se.unsubscribe();throw oe}}}(class xe extends n.o{constructor(se,ue){super(se,ue),this.scheduler=se,this.work=ue}requestAsyncId(se,ue,ze=0){return null!==ze&&ze>0?super.requestAsyncId(se,ue,ze):(se.actions.push(this),se._scheduled||(se._scheduled=J.setImmediate(se.flush.bind(se,void 0))))}recycleAsyncId(se,ue,ze=0){var oe;if(null!=ze?ze>0:this.delay>0)return super.recycleAsyncId(se,ue,ze);const{actions:N}=se;null!=ue&&(null===(oe=N[N.length-1])||void 0===oe?void 0:oe.id)!==ue&&(J.clearImmediate(ue),se._scheduled===ue&&(se._scheduled=void 0))}})},6321:(_t,Me,p)=>{p.d(Me,{P:()=>E,z:()=>w});var n=p(1954);const w=new(p(2631).v)(n.o),E=w},4552:(_t,Me,p)=>{p.d(Me,{l:()=>n});const n={now:()=>(n.delegate||Date).now(),delegate:void 0}},7599:(_t,Me,p)=>{p.d(Me,{z:()=>n});const n={setTimeout(l,w,...E){const{delegate:H}=n;return H?.setTimeout?H.setTimeout(l,w,...E):setTimeout(l,w,...E)},clearTimeout(l){const{delegate:w}=n;return(w?.clearTimeout||clearTimeout)(l)},delegate:void 0}},4971:(_t,Me,p)=>{p.d(Me,{h:()=>l});const l=function n(){return"function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"}()},4850:(_t,Me,p)=>{p.d(Me,{L:()=>n});const n="function"==typeof Symbol&&Symbol.observable||"@@observable"},9940:(_t,Me,p)=>{p.d(Me,{_6:()=>Q,jO:()=>E,yG:()=>H});var n=p(4674),l=p(671);function w(ne){return ne[ne.length-1]}function E(ne){return(0,n.m)(w(ne))?ne.pop():void 0}function H(ne){return(0,l.K)(w(ne))?ne.pop():void 0}function Q(ne,we){return"number"==typeof w(ne)?ne.pop():we}},7453:(_t,Me,p)=>{p.d(Me,{D:()=>H});const{isArray:n}=Array,{getPrototypeOf:l,prototype:w,keys:E}=Object;function H(ne){if(1===ne.length){const we=ne[0];if(n(we))return{args:we,keys:null};if(function Q(ne){return ne&&"object"==typeof ne&&l(ne)===w}(we)){const ie=E(we);return{args:ie.map(J=>we[J]),keys:ie}}}return{args:ne,keys:null}}},9039:(_t,Me,p)=>{function n(l,w){if(l){const E=l.indexOf(w);0<=E&&l.splice(E,1)}}p.d(Me,{P:()=>n})},2306:(_t,Me,p)=>{function n(l){const E=l(H=>{Error.call(H),H.stack=(new Error).stack});return E.prototype=Object.create(Error.prototype),E.prototype.constructor=E,E}p.d(Me,{d:()=>n})},2714:(_t,Me,p)=>{function n(l,w){return l.reduce((E,H,Q)=>(E[H]=w[Q],E),{})}p.d(Me,{n:()=>n})},1441:(_t,Me,p)=>{p.d(Me,{O:()=>E,x:()=>w});var n=p(2653);let l=null;function w(H){if(n.config.useDeprecatedSynchronousErrorHandling){const Q=!l;if(Q&&(l={errorThrown:!1,error:null}),H(),Q){const{errorThrown:ne,error:we}=l;if(l=null,ne)throw we}}else H()}function E(H){n.config.useDeprecatedSynchronousErrorHandling&&l&&(l.errorThrown=!0,l.error=H)}},7103:(_t,Me,p)=>{function n(l,w,E,H=0,Q=!1){const ne=w.schedule(function(){E(),Q?l.add(this.schedule(null,H)):this.unsubscribe()},H);if(l.add(ne),!Q)return ne}p.d(Me,{f:()=>n})},2737:(_t,Me,p)=>{function n(l){return l}p.d(Me,{y:()=>n})},4266:(_t,Me,p)=>{p.d(Me,{z:()=>n});const n=l=>l&&"number"==typeof l.length&&"function"!=typeof l},5726:(_t,Me,p)=>{p.d(Me,{D:()=>l});var n=p(4674);function l(w){return Symbol.asyncIterator&&(0,n.m)(w?.[Symbol.asyncIterator])}},4674:(_t,Me,p)=>{function n(l){return"function"==typeof l}p.d(Me,{m:()=>n})},8382:(_t,Me,p)=>{p.d(Me,{c:()=>w});var n=p(4850),l=p(4674);function w(E){return(0,l.m)(E[n.L])}},3664:(_t,Me,p)=>{p.d(Me,{T:()=>w});var n=p(4971),l=p(4674);function w(E){return(0,l.m)(E?.[n.h])}},4026:(_t,Me,p)=>{p.d(Me,{t:()=>l});var n=p(4674);function l(w){return(0,n.m)(w?.then)}},541:(_t,Me,p)=>{p.d(Me,{L:()=>E,Q:()=>w});var n=p(7582),l=p(4674);function w(H){return(0,n.FC)(this,arguments,function*(){const ne=H.getReader();try{for(;;){const{value:we,done:ie}=yield(0,n.qq)(ne.read());if(ie)return yield(0,n.qq)(void 0);yield yield(0,n.qq)(we)}}finally{ne.releaseLock()}})}function E(H){return(0,l.m)(H?.getReader)}},671:(_t,Me,p)=>{p.d(Me,{K:()=>l});var n=p(4674);function l(w){return w&&(0,n.m)(w.schedule)}},9360:(_t,Me,p)=>{p.d(Me,{A:()=>l,e:()=>w});var n=p(4674);function l(E){return(0,n.m)(E?.lift)}function w(E){return H=>{if(l(H))return H.lift(function(Q){try{return E(Q,this)}catch(ne){this.error(ne)}});throw new TypeError("Unable to lift unknown Observable type")}}},7400:(_t,Me,p)=>{p.d(Me,{Z:()=>E});var n=p(7398);const{isArray:l}=Array;function E(H){return(0,n.U)(Q=>function w(H,Q){return l(Q)?H(...Q):H(Q)}(H,Q))}},2420:(_t,Me,p)=>{function n(){}p.d(Me,{Z:()=>n})},8407:(_t,Me,p)=>{p.d(Me,{U:()=>w,z:()=>l});var n=p(2737);function l(...E){return w(E)}function w(E){return 0===E.length?n.y:1===E.length?E[0]:function(Q){return E.reduce((ne,we)=>we(ne),Q)}}},3894:(_t,Me,p)=>{p.d(Me,{h:()=>w});var n=p(2653),l=p(7599);function w(E){l.z.setTimeout(()=>{const{onUnhandledError:H}=n.config;if(!H)throw E;H(E)})}},9853:(_t,Me,p)=>{function n(l){return new TypeError(`You provided ${null!==l&&"object"==typeof l?"an invalid object":`'${l}'`} where a stream was expected. You can provide an Observable, Promise, ReadableStream, Array, AsyncIterable, or Iterable.`)}p.d(Me,{z:()=>n})},6825:(_t,Me,p)=>{p.d(Me,{F4:()=>J,IO:()=>Ae,LC:()=>l,SB:()=>ie,X$:()=>E,ZE:()=>ue,ZN:()=>se,_j:()=>n,eR:()=>xe,jt:()=>H,k1:()=>ze,l3:()=>w,oB:()=>we,pV:()=>ce,vP:()=>ne});class n{}class l{}const w="*";function E(oe,N){return{type:7,name:oe,definitions:N,options:{}}}function H(oe,N=null){return{type:4,styles:N,timings:oe}}function ne(oe,N=null){return{type:2,steps:oe,options:N}}function we(oe){return{type:6,styles:oe,offset:null}}function ie(oe,N,Ce){return{type:0,name:oe,styles:N,options:Ce}}function J(oe){return{type:5,steps:oe}}function xe(oe,N,Ce=null){return{type:1,expr:oe,animation:N,options:Ce}}function ce(oe=null){return{type:9,options:oe}}function Ae(oe,N,Ce=null){return{type:11,selector:oe,animation:N,options:Ce}}class se{constructor(N=0,Ce=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=N+Ce}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(N=>N()),this._onDoneFns=[])}onStart(N){this._originalOnStartFns.push(N),this._onStartFns.push(N)}onDone(N){this._originalOnDoneFns.push(N),this._onDoneFns.push(N)}onDestroy(N){this._onDestroyFns.push(N)}hasStarted(){return this._started}init(){}play(){this.hasStarted()||(this._onStart(),this.triggerMicrotask()),this._started=!0}triggerMicrotask(){queueMicrotask(()=>this._onFinish())}_onStart(){this._onStartFns.forEach(N=>N()),this._onStartFns=[]}pause(){}restart(){}finish(){this._onFinish()}destroy(){this._destroyed||(this._destroyed=!0,this.hasStarted()||this._onStart(),this.finish(),this._onDestroyFns.forEach(N=>N()),this._onDestroyFns=[])}reset(){this._started=!1,this._finished=!1,this._onStartFns=this._originalOnStartFns,this._onDoneFns=this._originalOnDoneFns}setPosition(N){this._position=this.totalTime?N*this.totalTime:1}getPosition(){return this.totalTime?this._position/this.totalTime:1}triggerCallback(N){const Ce="start"==N?this._onStartFns:this._onDoneFns;Ce.forEach(K=>K()),Ce.length=0}}class ue{constructor(N){this._onDoneFns=[],this._onStartFns=[],this._finished=!1,this._started=!1,this._destroyed=!1,this._onDestroyFns=[],this.parentPlayer=null,this.totalTime=0,this.players=N;let Ce=0,K=0,ve=0;const ye=this.players.length;0==ye?queueMicrotask(()=>this._onFinish()):this.players.forEach(He=>{He.onDone(()=>{++Ce==ye&&this._onFinish()}),He.onDestroy(()=>{++K==ye&&this._onDestroy()}),He.onStart(()=>{++ve==ye&&this._onStart()})}),this.totalTime=this.players.reduce((He,ft)=>Math.max(He,ft.totalTime),0)}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(N=>N()),this._onDoneFns=[])}init(){this.players.forEach(N=>N.init())}onStart(N){this._onStartFns.push(N)}_onStart(){this.hasStarted()||(this._started=!0,this._onStartFns.forEach(N=>N()),this._onStartFns=[])}onDone(N){this._onDoneFns.push(N)}onDestroy(N){this._onDestroyFns.push(N)}hasStarted(){return this._started}play(){this.parentPlayer||this.init(),this._onStart(),this.players.forEach(N=>N.play())}pause(){this.players.forEach(N=>N.pause())}restart(){this.players.forEach(N=>N.restart())}finish(){this._onFinish(),this.players.forEach(N=>N.finish())}destroy(){this._onDestroy()}_onDestroy(){this._destroyed||(this._destroyed=!0,this._onFinish(),this.players.forEach(N=>N.destroy()),this._onDestroyFns.forEach(N=>N()),this._onDestroyFns=[])}reset(){this.players.forEach(N=>N.reset()),this._destroyed=!1,this._finished=!1,this._started=!1}setPosition(N){const Ce=N*this.totalTime;this.players.forEach(K=>{const ve=K.totalTime?Math.min(1,Ce/K.totalTime):1;K.setPosition(ve)})}getPosition(){const N=this.players.reduce((Ce,K)=>null===Ce||K.totalTime>Ce.totalTime?K:Ce,null);return null!=N?N.getPosition():0}beforeDestroy(){this.players.forEach(N=>{N.beforeDestroy&&N.beforeDestroy()})}triggerCallback(N){const Ce="start"==N?this._onStartFns:this._onDoneFns;Ce.forEach(K=>K()),Ce.length=0}}const ze="!"},4300:(_t,Me,p)=>{p.d(Me,{$s:()=>ft,Em:()=>sn,Kd:()=>Mt,X6:()=>tn,Zf:()=>oe,iD:()=>N,kH:()=>An,qm:()=>yn,rt:()=>kn,s1:()=>It,tE:()=>$t,yG:()=>fn});var n=p(6814),l=p(5879),w=p(2831),E=p(8645),H=p(7394),Q=p(5619),ne=p(2096),we=p(6028),ie=p(9397),J=p(3620),xe=p(2181),fe=p(7398),ce=p(836),De=p(3997),Ae=p(9773),Le=p(2495),se=p(7131),ue=p(1088);const ze=" ";function oe(ut,me,le){const G=Ce(ut,me);G.some(Ie=>Ie.trim()==le.trim())||(G.push(le.trim()),ut.setAttribute(me,G.join(ze)))}function N(ut,me,le){const Ie=Ce(ut,me).filter($e=>$e!=le.trim());Ie.length?ut.setAttribute(me,Ie.join(ze)):ut.removeAttribute(me)}function Ce(ut,me){return(ut.getAttribute(me)||"").match(/\S+/g)||[]}const ve="cdk-describedby-message",ye="cdk-describedby-host";let He=0,ft=(()=>{class ut{constructor(le,G){this._platform=G,this._messageRegistry=new Map,this._messagesContainer=null,this._id=""+He++,this._document=le,this._id=(0,l.f3M)(l.AFp)+"-"+He++}describe(le,G,Ie){if(!this._canBeDescribed(le,G))return;const $e=ct(G,Ie);"string"!=typeof G?(xt(G,this._id),this._messageRegistry.set($e,{messageElement:G,referenceCount:0})):this._messageRegistry.has($e)||this._createMessageElement(G,Ie),this._isElementDescribedByMessage(le,$e)||this._addMessageReference(le,$e)}removeDescription(le,G,Ie){if(!G||!this._isElementNode(le))return;const $e=ct(G,Ie);if(this._isElementDescribedByMessage(le,$e)&&this._removeMessageReference(le,$e),"string"==typeof G){const St=this._messageRegistry.get($e);St&&0===St.referenceCount&&this._deleteMessageElement($e)}0===this._messagesContainer?.childNodes.length&&(this._messagesContainer.remove(),this._messagesContainer=null)}ngOnDestroy(){const le=this._document.querySelectorAll(`[${ye}="${this._id}"]`);for(let G=0;G0!=Ie.indexOf(ve));le.setAttribute("aria-describedby",G.join(" "))}_addMessageReference(le,G){const Ie=this._messageRegistry.get(G);oe(le,"aria-describedby",Ie.messageElement.id),le.setAttribute(ye,this._id),Ie.referenceCount++}_removeMessageReference(le,G){const Ie=this._messageRegistry.get(G);Ie.referenceCount--,N(le,"aria-describedby",Ie.messageElement.id),le.removeAttribute(ye)}_isElementDescribedByMessage(le,G){const Ie=Ce(le,"aria-describedby"),$e=this._messageRegistry.get(G),St=$e&&$e.messageElement.id;return!!St&&-1!=Ie.indexOf(St)}_canBeDescribed(le,G){if(!this._isElementNode(le))return!1;if(G&&"object"==typeof G)return!0;const Ie=null==G?"":`${G}`.trim(),$e=le.getAttribute("aria-label");return!(!Ie||$e&&$e.trim()===Ie)}_isElementNode(le){return le.nodeType===this._document.ELEMENT_NODE}static#e=this.\u0275fac=function(G){return new(G||ut)(l.LFG(n.K0),l.LFG(w.t4))};static#t=this.\u0275prov=l.Yz7({token:ut,factory:ut.\u0275fac,providedIn:"root"})}return ut})();function ct(ut,me){return"string"==typeof ut?`${me||""}/${ut}`:ut}function xt(ut,me){ut.id||(ut.id=`${ve}-${me}-${He++}`)}class Ut{constructor(me){this._items=me,this._activeItemIndex=-1,this._activeItem=null,this._wrap=!1,this._letterKeyStream=new E.x,this._typeaheadSubscription=H.w0.EMPTY,this._vertical=!0,this._allowedModifierKeys=[],this._homeAndEnd=!1,this._pageUpAndDown={enabled:!1,delta:10},this._skipPredicateFn=le=>le.disabled,this._pressedLetters=[],this.tabOut=new E.x,this.change=new E.x,me instanceof l.n_E&&(this._itemChangesSubscription=me.changes.subscribe(le=>{if(this._activeItem){const Ie=le.toArray().indexOf(this._activeItem);Ie>-1&&Ie!==this._activeItemIndex&&(this._activeItemIndex=Ie)}}))}skipPredicate(me){return this._skipPredicateFn=me,this}withWrap(me=!0){return this._wrap=me,this}withVerticalOrientation(me=!0){return this._vertical=me,this}withHorizontalOrientation(me){return this._horizontal=me,this}withAllowedModifierKeys(me){return this._allowedModifierKeys=me,this}withTypeAhead(me=200){return this._typeaheadSubscription.unsubscribe(),this._typeaheadSubscription=this._letterKeyStream.pipe((0,ie.b)(le=>this._pressedLetters.push(le)),(0,J.b)(me),(0,xe.h)(()=>this._pressedLetters.length>0),(0,fe.U)(()=>this._pressedLetters.join(""))).subscribe(le=>{const G=this._getItemsArray();for(let Ie=1;Ie!me[$e]||this._allowedModifierKeys.indexOf($e)>-1);switch(le){case we.Mf:return void this.tabOut.next();case we.JH:if(this._vertical&&Ie){this.setNextItemActive();break}return;case we.LH:if(this._vertical&&Ie){this.setPreviousItemActive();break}return;case we.SV:if(this._horizontal&&Ie){"rtl"===this._horizontal?this.setPreviousItemActive():this.setNextItemActive();break}return;case we.oh:if(this._horizontal&&Ie){"rtl"===this._horizontal?this.setNextItemActive():this.setPreviousItemActive();break}return;case we.Sd:if(this._homeAndEnd&&Ie){this.setFirstItemActive();break}return;case we.uR:if(this._homeAndEnd&&Ie){this.setLastItemActive();break}return;case we.Ku:if(this._pageUpAndDown.enabled&&Ie){const $e=this._activeItemIndex-this._pageUpAndDown.delta;this._setActiveItemByIndex($e>0?$e:0,1);break}return;case we.VM:if(this._pageUpAndDown.enabled&&Ie){const $e=this._activeItemIndex+this._pageUpAndDown.delta,St=this._getItemsArray().length;this._setActiveItemByIndex($e=we.A&&le<=we.Z||le>=we.xE&&le<=we.aO)&&this._letterKeyStream.next(String.fromCharCode(le))))}this._pressedLetters=[],me.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._items.length-1,-1)}setNextItemActive(){this._activeItemIndex<0?this.setFirstItemActive():this._setActiveItemByDelta(1)}setPreviousItemActive(){this._activeItemIndex<0&&this._wrap?this.setLastItemActive():this._setActiveItemByDelta(-1)}updateActiveItem(me){const le=this._getItemsArray(),G="number"==typeof me?me:le.indexOf(me);this._activeItem=le[G]??null,this._activeItemIndex=G}destroy(){this._typeaheadSubscription.unsubscribe(),this._itemChangesSubscription?.unsubscribe(),this._letterKeyStream.complete(),this.tabOut.complete(),this.change.complete(),this._pressedLetters=[]}_setActiveItemByDelta(me){this._wrap?this._setActiveInWrapMode(me):this._setActiveInDefaultMode(me)}_setActiveInWrapMode(me){const le=this._getItemsArray();for(let G=1;G<=le.length;G++){const Ie=(this._activeItemIndex+me*G+le.length)%le.length;if(!this._skipPredicateFn(le[Ie]))return void this.setActiveItem(Ie)}}_setActiveInDefaultMode(me){this._setActiveItemByIndex(this._activeItemIndex+me,me)}_setActiveItemByIndex(me,le){const G=this._getItemsArray();if(G[me]){for(;this._skipPredicateFn(G[me]);)if(!G[me+=le])return;this.setActiveItem(me)}}_getItemsArray(){return this._items instanceof l.n_E?this._items.toArray():this._items}}class It extends Ut{setActiveItem(me){this.activeItem&&this.activeItem.setInactiveStyles(),super.setActiveItem(me),this.activeItem&&this.activeItem.setActiveStyles()}}class sn extends Ut{constructor(){super(...arguments),this._origin="program"}setFocusOrigin(me){return this._origin=me,this}setActiveItem(me){super.setActiveItem(me),this.activeItem&&this.activeItem.focus(this._origin)}}function tn(ut){return 0===ut.buttons||0===ut.offsetX&&0===ut.offsetY}function fn(ut){const me=ut.touches&&ut.touches[0]||ut.changedTouches&&ut.changedTouches[0];return!(!me||-1!==me.identifier||null!=me.radiusX&&1!==me.radiusX||null!=me.radiusY&&1!==me.radiusY)}const Zt=new l.OlP("cdk-input-modality-detector-options"),Mn={ignoreKeys:[we.zL,we.jx,we.b2,we.MW,we.JU]},$=(0,w.i$)({passive:!0,capture:!0});let be=(()=>{class ut{get mostRecentModality(){return this._modality.value}constructor(le,G,Ie,$e){this._platform=le,this._mostRecentTarget=null,this._modality=new Q.X(null),this._lastTouchMs=0,this._onKeydown=St=>{this._options?.ignoreKeys?.some(_e=>_e===St.keyCode)||(this._modality.next("keyboard"),this._mostRecentTarget=(0,w.sA)(St))},this._onMousedown=St=>{Date.now()-this._lastTouchMs<650||(this._modality.next(tn(St)?"keyboard":"mouse"),this._mostRecentTarget=(0,w.sA)(St))},this._onTouchstart=St=>{fn(St)?this._modality.next("keyboard"):(this._lastTouchMs=Date.now(),this._modality.next("touch"),this._mostRecentTarget=(0,w.sA)(St))},this._options={...Mn,...$e},this.modalityDetected=this._modality.pipe((0,ce.T)(1)),this.modalityChanged=this.modalityDetected.pipe((0,De.x)()),le.isBrowser&&G.runOutsideAngular(()=>{Ie.addEventListener("keydown",this._onKeydown,$),Ie.addEventListener("mousedown",this._onMousedown,$),Ie.addEventListener("touchstart",this._onTouchstart,$)})}ngOnDestroy(){this._modality.complete(),this._platform.isBrowser&&(document.removeEventListener("keydown",this._onKeydown,$),document.removeEventListener("mousedown",this._onMousedown,$),document.removeEventListener("touchstart",this._onTouchstart,$))}static#e=this.\u0275fac=function(G){return new(G||ut)(l.LFG(w.t4),l.LFG(l.R0b),l.LFG(n.K0),l.LFG(Zt,8))};static#t=this.\u0275prov=l.Yz7({token:ut,factory:ut.\u0275fac,providedIn:"root"})}return ut})();const Be=new l.OlP("liveAnnouncerElement",{providedIn:"root",factory:function lt(){return null}}),ht=new l.OlP("LIVE_ANNOUNCER_DEFAULT_OPTIONS");let mt=0,Mt=(()=>{class ut{constructor(le,G,Ie,$e){this._ngZone=G,this._defaultOptions=$e,this._document=Ie,this._liveElement=le||this._createLiveElement()}announce(le,...G){const Ie=this._defaultOptions;let $e,St;return 1===G.length&&"number"==typeof G[0]?St=G[0]:[$e,St]=G,this.clear(),clearTimeout(this._previousTimeout),$e||($e=Ie&&Ie.politeness?Ie.politeness:"polite"),null==St&&Ie&&(St=Ie.duration),this._liveElement.setAttribute("aria-live",$e),this._liveElement.id&&this._exposeAnnouncerToModals(this._liveElement.id),this._ngZone.runOutsideAngular(()=>(this._currentPromise||(this._currentPromise=new Promise(_e=>this._currentResolve=_e)),clearTimeout(this._previousTimeout),this._previousTimeout=setTimeout(()=>{this._liveElement.textContent=le,"number"==typeof St&&(this._previousTimeout=setTimeout(()=>this.clear(),St)),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(){const le="cdk-live-announcer-element",G=this._document.getElementsByClassName(le),Ie=this._document.createElement("div");for(let $e=0;$e .cdk-overlay-container [aria-modal="true"]');for(let Ie=0;Ie{class ut{constructor(le,G,Ie,$e,St){this._ngZone=le,this._platform=G,this._inputModalityDetector=Ie,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 E.x,this._rootNodeFocusAndBlurListener=_e=>{for(let S=(0,w.sA)(_e);S;S=S.parentElement)"focus"===_e.type?this._onFocus(_e,S):this._onBlur(_e,S)},this._document=$e,this._detectionMode=St?.detectionMode||0}monitor(le,G=!1){const Ie=(0,Le.fI)(le);if(!this._platform.isBrowser||1!==Ie.nodeType)return(0,ne.of)();const $e=(0,w.kV)(Ie)||this._getDocument(),St=this._elementInfo.get(Ie);if(St)return G&&(St.checkChildren=!0),St.subject;const _e={checkChildren:G,subject:new E.x,rootNode:$e};return this._elementInfo.set(Ie,_e),this._registerGlobalListeners(_e),_e.subject}stopMonitoring(le){const G=(0,Le.fI)(le),Ie=this._elementInfo.get(G);Ie&&(Ie.subject.complete(),this._setClasses(G),this._elementInfo.delete(G),this._removeGlobalListeners(Ie))}focusVia(le,G,Ie){const $e=(0,Le.fI)(le);$e===this._getDocument().activeElement?this._getClosestElementsInfo($e).forEach(([_e,ee])=>this._originChanged(_e,G,ee)):(this._setOrigin(G),"function"==typeof $e.focus&&$e.focus(Ie))}ngOnDestroy(){this._elementInfo.forEach((le,G)=>this.stopMonitoring(G))}_getDocument(){return this._document||document}_getWindow(){return this._getDocument().defaultView||window}_getFocusOrigin(le){return this._origin?this._originFromTouchInteraction?this._shouldBeAttributedToTouch(le)?"touch":"program":this._origin:this._windowFocused&&this._lastFocusOrigin?this._lastFocusOrigin:le&&this._isLastInteractionFromInputLabel(le)?"mouse":"program"}_shouldBeAttributedToTouch(le){return 1===this._detectionMode||!!le?.contains(this._inputModalityDetector._mostRecentTarget)}_setClasses(le,G){le.classList.toggle("cdk-focused",!!G),le.classList.toggle("cdk-touch-focused","touch"===G),le.classList.toggle("cdk-keyboard-focused","keyboard"===G),le.classList.toggle("cdk-mouse-focused","mouse"===G),le.classList.toggle("cdk-program-focused","program"===G)}_setOrigin(le,G=!1){this._ngZone.runOutsideAngular(()=>{this._origin=le,this._originFromTouchInteraction="touch"===le&&G,0===this._detectionMode&&(clearTimeout(this._originTimeoutId),this._originTimeoutId=setTimeout(()=>this._origin=null,this._originFromTouchInteraction?650:1))})}_onFocus(le,G){const Ie=this._elementInfo.get(G),$e=(0,w.sA)(le);!Ie||!Ie.checkChildren&&G!==$e||this._originChanged(G,this._getFocusOrigin($e),Ie)}_onBlur(le,G){const Ie=this._elementInfo.get(G);!Ie||Ie.checkChildren&&le.relatedTarget instanceof Node&&G.contains(le.relatedTarget)||(this._setClasses(G),this._emitOrigin(Ie,null))}_emitOrigin(le,G){le.subject.observers.length&&this._ngZone.run(()=>le.subject.next(G))}_registerGlobalListeners(le){if(!this._platform.isBrowser)return;const G=le.rootNode,Ie=this._rootNodeFocusListenerCount.get(G)||0;Ie||this._ngZone.runOutsideAngular(()=>{G.addEventListener("focus",this._rootNodeFocusAndBlurListener,Kt),G.addEventListener("blur",this._rootNodeFocusAndBlurListener,Kt)}),this._rootNodeFocusListenerCount.set(G,Ie+1),1==++this._monitoredElementCount&&(this._ngZone.runOutsideAngular(()=>{this._getWindow().addEventListener("focus",this._windowFocusListener)}),this._inputModalityDetector.modalityDetected.pipe((0,Ae.R)(this._stopInputModalityDetector)).subscribe($e=>{this._setOrigin($e,!0)}))}_removeGlobalListeners(le){const G=le.rootNode;if(this._rootNodeFocusListenerCount.has(G)){const Ie=this._rootNodeFocusListenerCount.get(G);Ie>1?this._rootNodeFocusListenerCount.set(G,Ie-1):(G.removeEventListener("focus",this._rootNodeFocusAndBlurListener,Kt),G.removeEventListener("blur",this._rootNodeFocusAndBlurListener,Kt),this._rootNodeFocusListenerCount.delete(G))}--this._monitoredElementCount||(this._getWindow().removeEventListener("focus",this._windowFocusListener),this._stopInputModalityDetector.next(),clearTimeout(this._windowFocusTimeoutId),clearTimeout(this._originTimeoutId))}_originChanged(le,G,Ie){this._setClasses(le,G),this._emitOrigin(Ie,G),this._lastFocusOrigin=G}_getClosestElementsInfo(le){const G=[];return this._elementInfo.forEach((Ie,$e)=>{($e===le||Ie.checkChildren&&$e.contains(le))&&G.push([$e,Ie])}),G}_isLastInteractionFromInputLabel(le){const{_mostRecentTarget:G,mostRecentModality:Ie}=this._inputModalityDetector;if("mouse"!==Ie||!G||G===le||"INPUT"!==le.nodeName&&"TEXTAREA"!==le.nodeName||le.disabled)return!1;const $e=le.labels;if($e)for(let St=0;St<$e.length;St++)if($e[St].contains(G))return!0;return!1}static#e=this.\u0275fac=function(G){return new(G||ut)(l.LFG(l.R0b),l.LFG(w.t4),l.LFG(be),l.LFG(n.K0,8),l.LFG(Wt,8))};static#t=this.\u0275prov=l.Yz7({token:ut,factory:ut.\u0275fac,providedIn:"root"})}return ut})(),An=(()=>{class ut{constructor(le,G){this._elementRef=le,this._focusMonitor=G,this._focusOrigin=null,this.cdkFocusChange=new l.vpe}get focusOrigin(){return this._focusOrigin}ngAfterViewInit(){const le=this._elementRef.nativeElement;this._monitorSubscription=this._focusMonitor.monitor(le,1===le.nodeType&&le.hasAttribute("cdkMonitorSubtreeFocus")).subscribe(G=>{this._focusOrigin=G,this.cdkFocusChange.emit(G)})}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef),this._monitorSubscription&&this._monitorSubscription.unsubscribe()}static#e=this.\u0275fac=function(G){return new(G||ut)(l.Y36(l.SBq),l.Y36($t))};static#t=this.\u0275dir=l.lG2({type:ut,selectors:[["","cdkMonitorElementFocus",""],["","cdkMonitorSubtreeFocus",""]],outputs:{cdkFocusChange:"cdkFocusChange"},exportAs:["cdkMonitorFocus"]})}return ut})();const bn="cdk-high-contrast-black-on-white",pn="cdk-high-contrast-white-on-black",gn="cdk-high-contrast-active";let yn=(()=>{class ut{constructor(le,G){this._platform=le,this._document=G,this._breakpointSubscription=(0,l.f3M)(ue.Yg).observe("(forced-colors: active)").subscribe(()=>{this._hasCheckedHighContrastMode&&(this._hasCheckedHighContrastMode=!1,this._applyBodyHighContrastModeCssClasses())})}getHighContrastMode(){if(!this._platform.isBrowser)return 0;const le=this._document.createElement("div");le.style.backgroundColor="rgb(1,2,3)",le.style.position="absolute",this._document.body.appendChild(le);const G=this._document.defaultView||window,Ie=G&&G.getComputedStyle?G.getComputedStyle(le):null,$e=(Ie&&Ie.backgroundColor||"").replace(/ /g,"");switch(le.remove(),$e){case"rgb(0,0,0)":case"rgb(45,50,54)":case"rgb(32,32,32)":return 2;case"rgb(255,255,255)":case"rgb(255,250,239)":return 1}return 0}ngOnDestroy(){this._breakpointSubscription.unsubscribe()}_applyBodyHighContrastModeCssClasses(){if(!this._hasCheckedHighContrastMode&&this._platform.isBrowser&&this._document.body){const le=this._document.body.classList;le.remove(gn,bn,pn),this._hasCheckedHighContrastMode=!0;const G=this.getHighContrastMode();1===G?le.add(gn,bn):2===G&&le.add(gn,pn)}}static#e=this.\u0275fac=function(G){return new(G||ut)(l.LFG(w.t4),l.LFG(n.K0))};static#t=this.\u0275prov=l.Yz7({token:ut,factory:ut.\u0275fac,providedIn:"root"})}return ut})(),kn=(()=>{class ut{constructor(le){le._applyBodyHighContrastModeCssClasses()}static#e=this.\u0275fac=function(G){return new(G||ut)(l.LFG(yn))};static#t=this.\u0275mod=l.oAB({type:ut});static#n=this.\u0275inj=l.cJS({imports:[se.Q8]})}return ut})()},9388:(_t,Me,p)=>{p.d(Me,{Is:()=>ne,vT:()=>ie});var n=p(5879),l=p(6814);const w=new n.OlP("cdk-dir-doc",{providedIn:"root",factory:function E(){return(0,n.f3M)(l.K0)}}),H=/^(ar|ckb|dv|he|iw|fa|nqo|ps|sd|ug|ur|yi|.*[-_](Adlm|Arab|Hebr|Nkoo|Rohg|Thaa))(?!.*[-_](Latn|Cyrl)($|-|_))($|-|_)/i;let ne=(()=>{class J{constructor(fe){this.value="ltr",this.change=new n.vpe,fe&&(this.value=function Q(J){const xe=J?.toLowerCase()||"";return"auto"===xe&&typeof navigator<"u"&&navigator?.language?H.test(navigator.language)?"rtl":"ltr":"rtl"===xe?"rtl":"ltr"}((fe.body?fe.body.dir:null)||(fe.documentElement?fe.documentElement.dir:null)||"ltr"))}ngOnDestroy(){this.change.complete()}static#e=this.\u0275fac=function(ce){return new(ce||J)(n.LFG(w,8))};static#t=this.\u0275prov=n.Yz7({token:J,factory:J.\u0275fac,providedIn:"root"})}return J})(),ie=(()=>{class J{static#e=this.\u0275fac=function(ce){return new(ce||J)};static#t=this.\u0275mod=n.oAB({type:J});static#n=this.\u0275inj=n.cJS({})}return J})()},2495:(_t,Me,p)=>{p.d(Me,{Eq:()=>H,HM:()=>Q,Ig:()=>l,fI:()=>ne,su:()=>w});var n=p(5879);function l(ie){return null!=ie&&"false"!=`${ie}`}function w(ie,J=0){return function E(ie){return!isNaN(parseFloat(ie))&&!isNaN(Number(ie))}(ie)?Number(ie):J}function H(ie){return Array.isArray(ie)?ie:[ie]}function Q(ie){return null==ie?"":"string"==typeof ie?ie:`${ie}px`}function ne(ie){return ie instanceof n.SBq?ie.nativeElement:ie}},8337:(_t,Me,p)=>{p.d(Me,{A8:()=>J,Ov:()=>we});var n=p(8645),l=p(5879);class we{get selected(){return this._selected||(this._selected=Array.from(this._selection.values())),this._selected}constructor(ce=!1,De,Ae=!0,Le){this._multiple=ce,this._emitChanges=Ae,this.compareWith=Le,this._selection=new Set,this._deselectedToEmit=[],this._selectedToEmit=[],this.changed=new n.x,De&&De.length&&(ce?De.forEach(se=>this._markSelected(se)):this._markSelected(De[0]),this._selectedToEmit.length=0)}select(...ce){this._verifyValueAssignment(ce),ce.forEach(Ae=>this._markSelected(Ae));const De=this._hasQueuedChanges();return this._emitChangeEvent(),De}deselect(...ce){this._verifyValueAssignment(ce),ce.forEach(Ae=>this._unmarkSelected(Ae));const De=this._hasQueuedChanges();return this._emitChangeEvent(),De}setSelection(...ce){this._verifyValueAssignment(ce);const De=this.selected,Ae=new Set(ce);ce.forEach(se=>this._markSelected(se)),De.filter(se=>!Ae.has(se)).forEach(se=>this._unmarkSelected(se));const Le=this._hasQueuedChanges();return this._emitChangeEvent(),Le}toggle(ce){return this.isSelected(ce)?this.deselect(ce):this.select(ce)}clear(ce=!0){this._unmarkAll();const De=this._hasQueuedChanges();return ce&&this._emitChangeEvent(),De}isSelected(ce){return this._selection.has(this._getConcreteValue(ce))}isEmpty(){return 0===this._selection.size}hasValue(){return!this.isEmpty()}sort(ce){this._multiple&&this.selected&&this._selected.sort(ce)}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(ce){ce=this._getConcreteValue(ce),this.isSelected(ce)||(this._multiple||this._unmarkAll(),this.isSelected(ce)||this._selection.add(ce),this._emitChanges&&this._selectedToEmit.push(ce))}_unmarkSelected(ce){ce=this._getConcreteValue(ce),this.isSelected(ce)&&(this._selection.delete(ce),this._emitChanges&&this._deselectedToEmit.push(ce))}_unmarkAll(){this.isEmpty()||this._selection.forEach(ce=>this._unmarkSelected(ce))}_verifyValueAssignment(ce){}_hasQueuedChanges(){return!(!this._deselectedToEmit.length&&!this._selectedToEmit.length)}_getConcreteValue(ce){if(this.compareWith){for(let De of this._selection)if(this.compareWith(ce,De))return De;return ce}return ce}}let J=(()=>{class fe{constructor(){this._listeners=[]}notify(De,Ae){for(let Le of this._listeners)Le(De,Ae)}listen(De){return this._listeners.push(De),()=>{this._listeners=this._listeners.filter(Ae=>De!==Ae)}}ngOnDestroy(){this._listeners=[]}static#e=this.\u0275fac=function(Ae){return new(Ae||fe)};static#t=this.\u0275prov=l.Yz7({token:fe,factory:fe.\u0275fac,providedIn:"root"})}return fe})()},6028:(_t,Me,p)=>{p.d(Me,{A:()=>Se,JH:()=>oe,JU:()=>Q,K5:()=>H,Ku:()=>ce,LH:()=>ue,L_:()=>fe,MW:()=>mt,Mf:()=>w,SV:()=>ze,Sd:()=>Le,VM:()=>De,Vb:()=>Et,Z:()=>ht,aO:()=>At,b2:()=>qe,hY:()=>xe,jx:()=>ne,oh:()=>se,uR:()=>Ae,xE:()=>ye,zL:()=>we});const w=9,H=13,Q=16,ne=17,we=18,xe=27,fe=32,ce=33,De=34,Ae=35,Le=36,se=37,ue=38,ze=39,oe=40,ye=48,At=57,Se=65,ht=90,mt=91,qe=224;function Et(A,...q){return q.length?q.some(x=>A[x]):A.altKey||A.shiftKey||A.ctrlKey||A.metaKey}},1088:(_t,Me,p)=>{p.d(Me,{Yg:()=>oe,u3:()=>Ce});var n=p(5879),l=p(2495),w=p(8645),E=p(2572),H=p(5211),Q=p(5592),ne=p(8180),we=p(836),ie=p(3620),J=p(7398),xe=p(7921),fe=p(9773),ce=p(2831);const Ae=new Set;let Le,se=(()=>{class K{constructor(ye,He){this._platform=ye,this._nonce=He,this._matchMedia=this._platform.isBrowser&&window.matchMedia?window.matchMedia.bind(window):ze}matchMedia(ye){return(this._platform.WEBKIT||this._platform.BLINK)&&function ue(K,ve){if(!Ae.has(K))try{Le||(Le=document.createElement("style"),ve&&(Le.nonce=ve),Le.setAttribute("type","text/css"),document.head.appendChild(Le)),Le.sheet&&(Le.sheet.insertRule(`@media ${K} {body{ }}`,0),Ae.add(K))}catch(ye){console.error(ye)}}(ye,this._nonce),this._matchMedia(ye)}static#e=this.\u0275fac=function(He){return new(He||K)(n.LFG(ce.t4),n.LFG(n.Ojb,8))};static#t=this.\u0275prov=n.Yz7({token:K,factory:K.\u0275fac,providedIn:"root"})}return K})();function ze(K){return{matches:"all"===K||""===K,media:K,addListener:()=>{},removeListener:()=>{}}}let oe=(()=>{class K{constructor(ye,He){this._mediaMatcher=ye,this._zone=He,this._queries=new Map,this._destroySubject=new w.x}ngOnDestroy(){this._destroySubject.next(),this._destroySubject.complete()}isMatched(ye){return N((0,l.Eq)(ye)).some(ft=>this._registerQuery(ft).mql.matches)}observe(ye){const ft=N((0,l.Eq)(ye)).map(xt=>this._registerQuery(xt).observable);let ct=(0,E.a)(ft);return ct=(0,H.z)(ct.pipe((0,ne.q)(1)),ct.pipe((0,we.T)(1),(0,ie.b)(0))),ct.pipe((0,J.U)(xt=>{const Ut={matches:!1,breakpoints:{}};return xt.forEach(({matches:It,query:sn})=>{Ut.matches=Ut.matches||It,Ut.breakpoints[sn]=It}),Ut}))}_registerQuery(ye){if(this._queries.has(ye))return this._queries.get(ye);const He=this._mediaMatcher.matchMedia(ye),ct={observable:new Q.y(xt=>{const Ut=It=>this._zone.run(()=>xt.next(It));return He.addListener(Ut),()=>{He.removeListener(Ut)}}).pipe((0,xe.O)(He),(0,J.U)(({matches:xt})=>({query:ye,matches:xt})),(0,fe.R)(this._destroySubject)),mql:He};return this._queries.set(ye,ct),ct}static#e=this.\u0275fac=function(He){return new(He||K)(n.LFG(se),n.LFG(n.R0b))};static#t=this.\u0275prov=n.Yz7({token:K,factory:K.\u0275fac,providedIn:"root"})}return K})();function N(K){return K.map(ve=>ve.split(",")).reduce((ve,ye)=>ve.concat(ye)).map(ve=>ve.trim())}const Ce={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)"}},7131:(_t,Me,p)=>{p.d(Me,{Q8:()=>ie,wD:()=>we});var n=p(2495),l=p(5879),w=p(5592),E=p(8645),H=p(3620);let Q=(()=>{class J{create(fe){return typeof MutationObserver>"u"?null:new MutationObserver(fe)}static#e=this.\u0275fac=function(ce){return new(ce||J)};static#t=this.\u0275prov=l.Yz7({token:J,factory:J.\u0275fac,providedIn:"root"})}return J})(),ne=(()=>{class J{constructor(fe){this._mutationObserverFactory=fe,this._observedElements=new Map}ngOnDestroy(){this._observedElements.forEach((fe,ce)=>this._cleanupObserver(ce))}observe(fe){const ce=(0,n.fI)(fe);return new w.y(De=>{const Le=this._observeElement(ce).subscribe(De);return()=>{Le.unsubscribe(),this._unobserveElement(ce)}})}_observeElement(fe){if(this._observedElements.has(fe))this._observedElements.get(fe).count++;else{const ce=new E.x,De=this._mutationObserverFactory.create(Ae=>ce.next(Ae));De&&De.observe(fe,{characterData:!0,childList:!0,subtree:!0}),this._observedElements.set(fe,{observer:De,stream:ce,count:1})}return this._observedElements.get(fe).stream}_unobserveElement(fe){this._observedElements.has(fe)&&(this._observedElements.get(fe).count--,this._observedElements.get(fe).count||this._cleanupObserver(fe))}_cleanupObserver(fe){if(this._observedElements.has(fe)){const{observer:ce,stream:De}=this._observedElements.get(fe);ce&&ce.disconnect(),De.complete(),this._observedElements.delete(fe)}}static#e=this.\u0275fac=function(ce){return new(ce||J)(l.LFG(Q))};static#t=this.\u0275prov=l.Yz7({token:J,factory:J.\u0275fac,providedIn:"root"})}return J})(),we=(()=>{class J{get disabled(){return this._disabled}set disabled(fe){this._disabled=(0,n.Ig)(fe),this._disabled?this._unsubscribe():this._subscribe()}get debounce(){return this._debounce}set debounce(fe){this._debounce=(0,n.su)(fe),this._subscribe()}constructor(fe,ce,De){this._contentObserver=fe,this._elementRef=ce,this._ngZone=De,this.event=new l.vpe,this._disabled=!1,this._currentSubscription=null}ngAfterContentInit(){!this._currentSubscription&&!this.disabled&&this._subscribe()}ngOnDestroy(){this._unsubscribe()}_subscribe(){this._unsubscribe();const fe=this._contentObserver.observe(this._elementRef);this._ngZone.runOutsideAngular(()=>{this._currentSubscription=(this.debounce?fe.pipe((0,H.b)(this.debounce)):fe).subscribe(this.event)})}_unsubscribe(){this._currentSubscription?.unsubscribe()}static#e=this.\u0275fac=function(ce){return new(ce||J)(l.Y36(ne),l.Y36(l.SBq),l.Y36(l.R0b))};static#t=this.\u0275dir=l.lG2({type:J,selectors:[["","cdkObserveContent",""]],inputs:{disabled:["cdkObserveContentDisabled","disabled"],debounce:"debounce"},outputs:{event:"cdkObserveContent"},exportAs:["cdkObserveContent"]})}return J})(),ie=(()=>{class J{static#e=this.\u0275fac=function(ce){return new(ce||J)};static#t=this.\u0275mod=l.oAB({type:J});static#n=this.\u0275inj=l.cJS({providers:[Q]})}return J})()},3651:(_t,Me,p)=>{p.d(Me,{pI:()=>en,xu:()=>vt,aV:()=>bt,X_:()=>ft,U8:()=>Zt});var n=p(6672),l=p(6814),w=p(5879),E=p(2495),H=p(2831),Q=p(2181),ne=p(8180),we=p(9773),ie=p(9360),J=p(8251),fe=p(9388),ce=p(8484),De=p(8645),Ae=p(7394),Le=p(3019),se=p(6028);const ue=(0,H.Mq)();class ze{constructor($,be){this._viewportRuler=$,this._previousHTMLStyles={top:"",left:""},this._isEnabled=!1,this._document=be}attach(){}enable(){if(this._canBeEnabled()){const $=this._document.documentElement;this._previousScrollPosition=this._viewportRuler.getViewportScrollPosition(),this._previousHTMLStyles.left=$.style.left||"",this._previousHTMLStyles.top=$.style.top||"",$.style.left=(0,E.HM)(-this._previousScrollPosition.left),$.style.top=(0,E.HM)(-this._previousScrollPosition.top),$.classList.add("cdk-global-scrollblock"),this._isEnabled=!0}}disable(){if(this._isEnabled){const $=this._document.documentElement,Be=$.style,lt=this._document.body.style,ht=Be.scrollBehavior||"",mt=lt.scrollBehavior||"";this._isEnabled=!1,Be.left=this._previousHTMLStyles.left,Be.top=this._previousHTMLStyles.top,$.classList.remove("cdk-global-scrollblock"),ue&&(Be.scrollBehavior=lt.scrollBehavior="auto"),window.scroll(this._previousScrollPosition.left,this._previousScrollPosition.top),ue&&(Be.scrollBehavior=ht,lt.scrollBehavior=mt)}}_canBeEnabled(){if(this._document.documentElement.classList.contains("cdk-global-scrollblock")||this._isEnabled)return!1;const be=this._document.body,Be=this._viewportRuler.getViewportSize();return be.scrollHeight>Be.height||be.scrollWidth>Be.width}}class N{constructor($,be,Be,lt){this._scrollDispatcher=$,this._ngZone=be,this._viewportRuler=Be,this._config=lt,this._scrollSubscription=null,this._detach=()=>{this.disable(),this._overlayRef.hasAttached()&&this._ngZone.run(()=>this._overlayRef.detach())}}attach($){this._overlayRef=$}enable(){if(this._scrollSubscription)return;const $=this._scrollDispatcher.scrolled(0).pipe((0,Q.h)(be=>!be||!this._overlayRef.overlayElement.contains(be.getElementRef().nativeElement)));this._config&&this._config.threshold&&this._config.threshold>1?(this._initialScrollPosition=this._viewportRuler.getViewportScrollPosition().top,this._scrollSubscription=$.subscribe(()=>{const be=this._viewportRuler.getViewportScrollPosition().top;Math.abs(be-this._initialScrollPosition)>this._config.threshold?this._detach():this._overlayRef.updatePosition()})):this._scrollSubscription=$.subscribe(this._detach)}disable(){this._scrollSubscription&&(this._scrollSubscription.unsubscribe(),this._scrollSubscription=null)}detach(){this.disable(),this._overlayRef=null}}class Ce{enable(){}disable(){}attach(){}}function K(it,$){return $.some(be=>it.bottombe.bottom||it.rightbe.right)}function ve(it,$){return $.some(be=>it.topbe.bottom||it.leftbe.right)}class ye{constructor($,be,Be,lt){this._scrollDispatcher=$,this._viewportRuler=be,this._ngZone=Be,this._config=lt,this._scrollSubscription=null}attach($){this._overlayRef=$}enable(){this._scrollSubscription||(this._scrollSubscription=this._scrollDispatcher.scrolled(this._config?this._config.scrollThrottle:0).subscribe(()=>{if(this._overlayRef.updatePosition(),this._config&&this._config.autoClose){const be=this._overlayRef.overlayElement.getBoundingClientRect(),{width:Be,height:lt}=this._viewportRuler.getViewportSize();K(be,[{width:Be,height:lt,bottom:lt,right:Be,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}}let He=(()=>{class it{constructor(be,Be,lt,ht){this._scrollDispatcher=be,this._viewportRuler=Be,this._ngZone=lt,this.noop=()=>new Ce,this.close=mt=>new N(this._scrollDispatcher,this._ngZone,this._viewportRuler,mt),this.block=()=>new ze(this._viewportRuler,this._document),this.reposition=mt=>new ye(this._scrollDispatcher,this._viewportRuler,this._ngZone,mt),this._document=ht}static#e=this.\u0275fac=function(Be){return new(Be||it)(w.LFG(n.mF),w.LFG(n.rL),w.LFG(w.R0b),w.LFG(l.K0))};static#t=this.\u0275prov=w.Yz7({token:it,factory:it.\u0275fac,providedIn:"root"})}return it})();class ft{constructor($){if(this.scrollStrategy=new Ce,this.panelClass="",this.hasBackdrop=!1,this.backdropClass="cdk-overlay-dark-backdrop",this.disposeOnNavigation=!1,$){const be=Object.keys($);for(const Be of be)void 0!==$[Be]&&(this[Be]=$[Be])}}}class Ut{constructor($,be){this.connectionPair=$,this.scrollableViewProperties=be}}let Xe=(()=>{class it{constructor(be){this._attachedOverlays=[],this._document=be}ngOnDestroy(){this.detach()}add(be){this.remove(be),this._attachedOverlays.push(be)}remove(be){const Be=this._attachedOverlays.indexOf(be);Be>-1&&this._attachedOverlays.splice(Be,1),0===this._attachedOverlays.length&&this.detach()}static#e=this.\u0275fac=function(Be){return new(Be||it)(w.LFG(l.K0))};static#t=this.\u0275prov=w.Yz7({token:it,factory:it.\u0275fac,providedIn:"root"})}return it})(),At=(()=>{class it extends Xe{constructor(be,Be){super(be),this._ngZone=Be,this._keydownListener=lt=>{const ht=this._attachedOverlays;for(let mt=ht.length-1;mt>-1;mt--)if(ht[mt]._keydownEvents.observers.length>0){const Mt=ht[mt]._keydownEvents;this._ngZone?this._ngZone.run(()=>Mt.next(lt)):Mt.next(lt);break}}}add(be){super.add(be),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)}static#e=this.\u0275fac=function(Be){return new(Be||it)(w.LFG(l.K0),w.LFG(w.R0b,8))};static#t=this.\u0275prov=w.Yz7({token:it,factory:it.\u0275fac,providedIn:"root"})}return it})(),Y=(()=>{class it extends Xe{constructor(be,Be,lt){super(be),this._platform=Be,this._ngZone=lt,this._cursorStyleIsSet=!1,this._pointerDownListener=ht=>{this._pointerDownEventTarget=(0,H.sA)(ht)},this._clickListener=ht=>{const mt=(0,H.sA)(ht),Mt="click"===ht.type&&this._pointerDownEventTarget?this._pointerDownEventTarget:mt;this._pointerDownEventTarget=null;const ln=this._attachedOverlays.slice();for(let Wt=ln.length-1;Wt>-1;Wt--){const Kt=ln[Wt];if(Kt._outsidePointerEvents.observers.length<1||!Kt.hasAttached())continue;if(Kt.overlayElement.contains(mt)||Kt.overlayElement.contains(Mt))break;const $t=Kt._outsidePointerEvents;this._ngZone?this._ngZone.run(()=>$t.next(ht)):$t.next(ht)}}}add(be){if(super.add(be),!this._isAttached){const Be=this._document.body;this._ngZone?this._ngZone.runOutsideAngular(()=>this._addEventListeners(Be)):this._addEventListeners(Be),this._platform.IOS&&!this._cursorStyleIsSet&&(this._cursorOriginalValue=Be.style.cursor,Be.style.cursor="pointer",this._cursorStyleIsSet=!0),this._isAttached=!0}}detach(){if(this._isAttached){const be=this._document.body;be.removeEventListener("pointerdown",this._pointerDownListener,!0),be.removeEventListener("click",this._clickListener,!0),be.removeEventListener("auxclick",this._clickListener,!0),be.removeEventListener("contextmenu",this._clickListener,!0),this._platform.IOS&&this._cursorStyleIsSet&&(be.style.cursor=this._cursorOriginalValue,this._cursorStyleIsSet=!1),this._isAttached=!1}}_addEventListeners(be){be.addEventListener("pointerdown",this._pointerDownListener,!0),be.addEventListener("click",this._clickListener,!0),be.addEventListener("auxclick",this._clickListener,!0),be.addEventListener("contextmenu",this._clickListener,!0)}static#e=this.\u0275fac=function(Be){return new(Be||it)(w.LFG(l.K0),w.LFG(H.t4),w.LFG(w.R0b,8))};static#t=this.\u0275prov=w.Yz7({token:it,factory:it.\u0275fac,providedIn:"root"})}return it})(),P=(()=>{class it{constructor(be,Be){this._platform=Be,this._document=be}ngOnDestroy(){this._containerElement?.remove()}getContainerElement(){return this._containerElement||this._createContainer(),this._containerElement}_createContainer(){const be="cdk-overlay-container";if(this._platform.isBrowser||(0,H.Oy)()){const lt=this._document.querySelectorAll(`.${be}[platform="server"], .${be}[platform="test"]`);for(let ht=0;htthis._backdropClick.next($t),this._backdropTransitionendHandler=$t=>{this._disposeBackdrop($t.target)},this._keydownEvents=new De.x,this._outsidePointerEvents=new De.x,lt.scrollStrategy&&(this._scrollStrategy=lt.scrollStrategy,this._scrollStrategy.attach(this)),this._positionStrategy=lt.positionStrategy}get overlayElement(){return this._pane}get backdropElement(){return this._backdropElement}get hostElement(){return this._host}attach($){!this._host.parentElement&&this._previousHostParent&&this._previousHostParent.appendChild(this._host);const be=this._portalOutlet.attach($);return this._positionStrategy&&this._positionStrategy.attach(this),this._updateStackingOrder(),this._updateElementSize(),this._updateElementDirection(),this._scrollStrategy&&this._scrollStrategy.enable(),this._ngZone.onStable.pipe((0,ne.q)(1)).subscribe(()=>{this.hasAttached()&&this.updatePosition()}),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),"function"==typeof be?.onDestroy&&be.onDestroy(()=>{this.hasAttached()&&this._ngZone.runOutsideAngular(()=>Promise.resolve().then(()=>this.detach()))}),be}detach(){if(!this.hasAttached())return;this.detachBackdrop(),this._togglePointerEvents(!1),this._positionStrategy&&this._positionStrategy.detach&&this._positionStrategy.detach(),this._scrollStrategy&&this._scrollStrategy.disable();const $=this._portalOutlet.detach();return this._detachments.next(),this._keyboardDispatcher.remove(this),this._detachContentWhenStable(),this._locationChanges.unsubscribe(),this._outsideClickDispatcher.remove(this),$}dispose(){const $=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,$&&this._detachments.next(),this._detachments.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($){$!==this._positionStrategy&&(this._positionStrategy&&this._positionStrategy.dispose(),this._positionStrategy=$,this.hasAttached()&&($.attach(this),this.updatePosition()))}updateSize($){this._config={...this._config,...$},this._updateElementSize()}setDirection($){this._config={...this._config,direction:$},this._updateElementDirection()}addPanelClass($){this._pane&&this._toggleClasses(this._pane,$,!0)}removePanelClass($){this._pane&&this._toggleClasses(this._pane,$,!1)}getDirection(){const $=this._config.direction;return $?"string"==typeof $?$:$.value:"ltr"}updateScrollStrategy($){$!==this._scrollStrategy&&(this._disposeScrollStrategy(),this._scrollStrategy=$,this.hasAttached()&&($.attach(this),$.enable()))}_updateElementDirection(){this._host.setAttribute("dir",this.getDirection())}_updateElementSize(){if(!this._pane)return;const $=this._pane.style;$.width=(0,E.HM)(this._config.width),$.height=(0,E.HM)(this._config.height),$.minWidth=(0,E.HM)(this._config.minWidth),$.minHeight=(0,E.HM)(this._config.minHeight),$.maxWidth=(0,E.HM)(this._config.maxWidth),$.maxHeight=(0,E.HM)(this._config.maxHeight)}_togglePointerEvents($){this._pane.style.pointerEvents=$?"":"none"}_attachBackdrop(){const $="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($)})}):this._backdropElement.classList.add($)}_updateStackingOrder(){this._host.nextSibling&&this._host.parentNode.appendChild(this._host)}detachBackdrop(){const $=this._backdropElement;if($){if(this._animationsDisabled)return void this._disposeBackdrop($);$.classList.remove("cdk-overlay-backdrop-showing"),this._ngZone.runOutsideAngular(()=>{$.addEventListener("transitionend",this._backdropTransitionendHandler)}),$.style.pointerEvents="none",this._backdropTimeout=this._ngZone.runOutsideAngular(()=>setTimeout(()=>{this._disposeBackdrop($)},500))}}_toggleClasses($,be,Be){const lt=(0,E.Eq)(be||[]).filter(ht=>!!ht);lt.length&&(Be?$.classList.add(...lt):$.classList.remove(...lt))}_detachContentWhenStable(){this._ngZone.runOutsideAngular(()=>{const $=this._ngZone.onStable.pipe((0,we.R)((0,Le.T)(this._attachments,this._detachments))).subscribe(()=>{(!this._pane||!this._host||0===this._pane.children.length)&&(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()),$.unsubscribe())})})}_disposeScrollStrategy(){const $=this._scrollStrategy;$&&($.disable(),$.detach&&$.detach())}_disposeBackdrop($){$&&($.removeEventListener("click",this._backdropClickHandler),$.removeEventListener("transitionend",this._backdropTransitionendHandler),$.remove(),this._backdropElement===$&&(this._backdropElement=null)),this._backdropTimeout&&(clearTimeout(this._backdropTimeout),this._backdropTimeout=void 0)}}const B="cdk-overlay-connected-position-bounding-box",Se=/([A-Za-z%]+)$/;class L{get positions(){return this._preferredPositions}constructor($,be,Be,lt,ht){this._viewportRuler=be,this._document=Be,this._platform=lt,this._overlayContainer=ht,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 De.x,this._resizeSubscription=Ae.w0.EMPTY,this._offsetX=0,this._offsetY=0,this._appliedPanelClasses=[],this.positionChanges=this._positionChanges,this.setOrigin($)}attach($){this._validatePositions(),$.hostElement.classList.add(B),this._overlayRef=$,this._boundingBox=$.hostElement,this._pane=$.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)return void this.reapplyLastPosition();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();const $=this._originRect,be=this._overlayRect,Be=this._viewportRect,lt=this._containerRect,ht=[];let mt;for(let Mt of this._preferredPositions){let ln=this._getOriginPoint($,lt,Mt),Wt=this._getOverlayPoint(ln,be,Mt),Kt=this._getOverlayFit(Wt,be,Be,Mt);if(Kt.isCompletelyWithinViewport)return this._isPushed=!1,void this._applyPosition(Mt,ln);this._canFitWithFlexibleDimensions(Kt,Wt,Be)?ht.push({position:Mt,origin:ln,overlayRect:be,boundingBoxRect:this._calculateBoundingBoxRect(ln,Mt)}):(!mt||mt.overlayFit.visibleArealn&&(ln=Kt,Mt=Wt)}return this._isPushed=!1,void this._applyPosition(Mt.position,Mt.origin)}if(this._canPush)return this._isPushed=!0,void this._applyPosition(mt.position,mt.originPoint);this._applyPosition(mt.position,mt.originPoint)}detach(){this._clearPanelClasses(),this._lastPosition=null,this._previousPushAmount=null,this._resizeSubscription.unsubscribe()}dispose(){this._isDisposed||(this._boundingBox&&V(this._boundingBox.style,{top:"",left:"",right:"",bottom:"",height:"",width:"",alignItems:"",justifyContent:""}),this._pane&&this._resetOverlayElementStyles(),this._overlayRef&&this._overlayRef.hostElement.classList.remove(B),this.detach(),this._positionChanges.complete(),this._overlayRef=this._boundingBox=null,this._isDisposed=!0)}reapplyLastPosition(){if(this._isDisposed||!this._platform.isBrowser)return;const $=this._lastPosition;if($){this._originRect=this._getOriginRect(),this._overlayRect=this._pane.getBoundingClientRect(),this._viewportRect=this._getNarrowedViewportRect(),this._containerRect=this._overlayContainer.getContainerElement().getBoundingClientRect();const be=this._getOriginPoint(this._originRect,this._containerRect,$);this._applyPosition($,be)}else this.apply()}withScrollableContainers($){return this._scrollables=$,this}withPositions($){return this._preferredPositions=$,-1===$.indexOf(this._lastPosition)&&(this._lastPosition=null),this._validatePositions(),this}withViewportMargin($){return this._viewportMargin=$,this}withFlexibleDimensions($=!0){return this._hasFlexibleDimensions=$,this}withGrowAfterOpen($=!0){return this._growAfterOpen=$,this}withPush($=!0){return this._canPush=$,this}withLockedPosition($=!0){return this._positionLocked=$,this}setOrigin($){return this._origin=$,this}withDefaultOffsetX($){return this._offsetX=$,this}withDefaultOffsetY($){return this._offsetY=$,this}withTransformOriginOn($){return this._transformOriginSelector=$,this}_getOriginPoint($,be,Be){let lt,ht;if("center"==Be.originX)lt=$.left+$.width/2;else{const mt=this._isRtl()?$.right:$.left,Mt=this._isRtl()?$.left:$.right;lt="start"==Be.originX?mt:Mt}return be.left<0&&(lt-=be.left),ht="center"==Be.originY?$.top+$.height/2:"top"==Be.originY?$.top:$.bottom,be.top<0&&(ht-=be.top),{x:lt,y:ht}}_getOverlayPoint($,be,Be){let lt,ht;return lt="center"==Be.overlayX?-be.width/2:"start"===Be.overlayX?this._isRtl()?-be.width:0:this._isRtl()?0:-be.width,ht="center"==Be.overlayY?-be.height/2:"top"==Be.overlayY?0:-be.height,{x:$.x+lt,y:$.y+ht}}_getOverlayFit($,be,Be,lt){const ht=re(be);let{x:mt,y:Mt}=$,ln=this._getOffset(lt,"x"),Wt=this._getOffset(lt,"y");ln&&(mt+=ln),Wt&&(Mt+=Wt);let An=0-Mt,bn=Mt+ht.height-Be.height,pn=this._subtractOverflows(ht.width,0-mt,mt+ht.width-Be.width),gn=this._subtractOverflows(ht.height,An,bn),yn=pn*gn;return{visibleArea:yn,isCompletelyWithinViewport:ht.width*ht.height===yn,fitsInViewportVertically:gn===ht.height,fitsInViewportHorizontally:pn==ht.width}}_canFitWithFlexibleDimensions($,be,Be){if(this._hasFlexibleDimensions){const lt=Be.bottom-be.y,ht=Be.right-be.x,mt=Pe(this._overlayRef.getConfig().minHeight),Mt=Pe(this._overlayRef.getConfig().minWidth);return($.fitsInViewportVertically||null!=mt&&mt<=lt)&&($.fitsInViewportHorizontally||null!=Mt&&Mt<=ht)}return!1}_pushOverlayOnScreen($,be,Be){if(this._previousPushAmount&&this._positionLocked)return{x:$.x+this._previousPushAmount.x,y:$.y+this._previousPushAmount.y};const lt=re(be),ht=this._viewportRect,mt=Math.max($.x+lt.width-ht.width,0),Mt=Math.max($.y+lt.height-ht.height,0),ln=Math.max(ht.top-Be.top-$.y,0),Wt=Math.max(ht.left-Be.left-$.x,0);let Kt=0,$t=0;return Kt=lt.width<=ht.width?Wt||-mt:$.xpn&&!this._isInitialRender&&!this._growAfterOpen&&(mt=$.y-pn/2)}if("end"===be.overlayX&&!lt||"start"===be.overlayX&<)An=Be.width-$.x+this._viewportMargin,Kt=$.x-this._viewportMargin;else if("start"===be.overlayX&&!lt||"end"===be.overlayX&<)$t=$.x,Kt=Be.right-$.x;else{const bn=Math.min(Be.right-$.x+Be.left,$.x),pn=this._lastBoundingBoxSize.width;Kt=2*bn,$t=$.x-bn,Kt>pn&&!this._isInitialRender&&!this._growAfterOpen&&($t=$.x-pn/2)}return{top:mt,left:$t,bottom:Mt,right:An,width:Kt,height:ht}}_setBoundingBoxStyles($,be){const Be=this._calculateBoundingBoxRect($,be);!this._isInitialRender&&!this._growAfterOpen&&(Be.height=Math.min(Be.height,this._lastBoundingBoxSize.height),Be.width=Math.min(Be.width,this._lastBoundingBoxSize.width));const lt={};if(this._hasExactPosition())lt.top=lt.left="0",lt.bottom=lt.right=lt.maxHeight=lt.maxWidth="",lt.width=lt.height="100%";else{const ht=this._overlayRef.getConfig().maxHeight,mt=this._overlayRef.getConfig().maxWidth;lt.height=(0,E.HM)(Be.height),lt.top=(0,E.HM)(Be.top),lt.bottom=(0,E.HM)(Be.bottom),lt.width=(0,E.HM)(Be.width),lt.left=(0,E.HM)(Be.left),lt.right=(0,E.HM)(Be.right),lt.alignItems="center"===be.overlayX?"center":"end"===be.overlayX?"flex-end":"flex-start",lt.justifyContent="center"===be.overlayY?"center":"bottom"===be.overlayY?"flex-end":"flex-start",ht&&(lt.maxHeight=(0,E.HM)(ht)),mt&&(lt.maxWidth=(0,E.HM)(mt))}this._lastBoundingBoxSize=Be,V(this._boundingBox.style,lt)}_resetBoundingBoxStyles(){V(this._boundingBox.style,{top:"0",left:"0",right:"0",bottom:"0",height:"",width:"",alignItems:"",justifyContent:""})}_resetOverlayElementStyles(){V(this._pane.style,{top:"",left:"",bottom:"",right:"",position:"",transform:""})}_setOverlayElementStyles($,be){const Be={},lt=this._hasExactPosition(),ht=this._hasFlexibleDimensions,mt=this._overlayRef.getConfig();if(lt){const Kt=this._viewportRuler.getViewportScrollPosition();V(Be,this._getExactOverlayY(be,$,Kt)),V(Be,this._getExactOverlayX(be,$,Kt))}else Be.position="static";let Mt="",ln=this._getOffset(be,"x"),Wt=this._getOffset(be,"y");ln&&(Mt+=`translateX(${ln}px) `),Wt&&(Mt+=`translateY(${Wt}px)`),Be.transform=Mt.trim(),mt.maxHeight&&(lt?Be.maxHeight=(0,E.HM)(mt.maxHeight):ht&&(Be.maxHeight="")),mt.maxWidth&&(lt?Be.maxWidth=(0,E.HM)(mt.maxWidth):ht&&(Be.maxWidth="")),V(this._pane.style,Be)}_getExactOverlayY($,be,Be){let lt={top:"",bottom:""},ht=this._getOverlayPoint(be,this._overlayRect,$);return this._isPushed&&(ht=this._pushOverlayOnScreen(ht,this._overlayRect,Be)),"bottom"===$.overlayY?lt.bottom=this._document.documentElement.clientHeight-(ht.y+this._overlayRect.height)+"px":lt.top=(0,E.HM)(ht.y),lt}_getExactOverlayX($,be,Be){let mt,lt={left:"",right:""},ht=this._getOverlayPoint(be,this._overlayRect,$);return this._isPushed&&(ht=this._pushOverlayOnScreen(ht,this._overlayRect,Be)),mt=this._isRtl()?"end"===$.overlayX?"left":"right":"end"===$.overlayX?"right":"left","right"===mt?lt.right=this._document.documentElement.clientWidth-(ht.x+this._overlayRect.width)+"px":lt.left=(0,E.HM)(ht.x),lt}_getScrollVisibility(){const $=this._getOriginRect(),be=this._pane.getBoundingClientRect(),Be=this._scrollables.map(lt=>lt.getElementRef().nativeElement.getBoundingClientRect());return{isOriginClipped:ve($,Be),isOriginOutsideView:K($,Be),isOverlayClipped:ve(be,Be),isOverlayOutsideView:K(be,Be)}}_subtractOverflows($,...be){return be.reduce((Be,lt)=>Be-Math.max(lt,0),$)}_getNarrowedViewportRect(){const $=this._document.documentElement.clientWidth,be=this._document.documentElement.clientHeight,Be=this._viewportRuler.getViewportScrollPosition();return{top:Be.top+this._viewportMargin,left:Be.left+this._viewportMargin,right:Be.left+$-this._viewportMargin,bottom:Be.top+be-this._viewportMargin,width:$-2*this._viewportMargin,height:be-2*this._viewportMargin}}_isRtl(){return"rtl"===this._overlayRef.getDirection()}_hasExactPosition(){return!this._hasFlexibleDimensions||this._isPushed}_getOffset($,be){return"x"===be?null==$.offsetX?this._offsetX:$.offsetX:null==$.offsetY?this._offsetY:$.offsetY}_validatePositions(){}_addPanelClasses($){this._pane&&(0,E.Eq)($).forEach(be=>{""!==be&&-1===this._appliedPanelClasses.indexOf(be)&&(this._appliedPanelClasses.push(be),this._pane.classList.add(be))})}_clearPanelClasses(){this._pane&&(this._appliedPanelClasses.forEach($=>{this._pane.classList.remove($)}),this._appliedPanelClasses=[])}_getOriginRect(){const $=this._origin;if($ instanceof w.SBq)return $.nativeElement.getBoundingClientRect();if($ instanceof Element)return $.getBoundingClientRect();const be=$.width||0,Be=$.height||0;return{top:$.y,bottom:$.y+Be,left:$.x,right:$.x+be,height:Be,width:be}}}function V(it,$){for(let be in $)$.hasOwnProperty(be)&&(it[be]=$[be]);return it}function Pe(it){if("number"!=typeof it&&null!=it){const[$,be]=it.split(Se);return be&&"px"!==be?null:parseFloat($)}return it||null}function re(it){return{top:Math.floor(it.top),right:Math.floor(it.right),bottom:Math.floor(it.bottom),left:Math.floor(it.left),width:Math.floor(it.width),height:Math.floor(it.height)}}const st="cdk-global-overlay-wrapper";class nt{constructor(){this._cssPosition="static",this._topOffset="",this._bottomOffset="",this._alignItems="",this._xPosition="",this._xOffset="",this._width="",this._height="",this._isDisposed=!1}attach($){const be=$.getConfig();this._overlayRef=$,this._width&&!be.width&&$.updateSize({width:this._width}),this._height&&!be.height&&$.updateSize({height:this._height}),$.hostElement.classList.add(st),this._isDisposed=!1}top($=""){return this._bottomOffset="",this._topOffset=$,this._alignItems="flex-start",this}left($=""){return this._xOffset=$,this._xPosition="left",this}bottom($=""){return this._topOffset="",this._bottomOffset=$,this._alignItems="flex-end",this}right($=""){return this._xOffset=$,this._xPosition="right",this}start($=""){return this._xOffset=$,this._xPosition="start",this}end($=""){return this._xOffset=$,this._xPosition="end",this}width($=""){return this._overlayRef?this._overlayRef.updateSize({width:$}):this._width=$,this}height($=""){return this._overlayRef?this._overlayRef.updateSize({height:$}):this._height=$,this}centerHorizontally($=""){return this.left($),this._xPosition="center",this}centerVertically($=""){return this.top($),this._alignItems="center",this}apply(){if(!this._overlayRef||!this._overlayRef.hasAttached())return;const $=this._overlayRef.overlayElement.style,be=this._overlayRef.hostElement.style,Be=this._overlayRef.getConfig(),{width:lt,height:ht,maxWidth:mt,maxHeight:Mt}=Be,ln=!("100%"!==lt&&"100vw"!==lt||mt&&"100%"!==mt&&"100vw"!==mt),Wt=!("100%"!==ht&&"100vh"!==ht||Mt&&"100%"!==Mt&&"100vh"!==Mt),Kt=this._xPosition,$t=this._xOffset,An="rtl"===this._overlayRef.getConfig().direction;let bn="",pn="",gn="";ln?gn="flex-start":"center"===Kt?(gn="center",An?pn=$t:bn=$t):An?"left"===Kt||"end"===Kt?(gn="flex-end",bn=$t):("right"===Kt||"start"===Kt)&&(gn="flex-start",pn=$t):"left"===Kt||"start"===Kt?(gn="flex-start",bn=$t):("right"===Kt||"end"===Kt)&&(gn="flex-end",pn=$t),$.position=this._cssPosition,$.marginLeft=ln?"0":bn,$.marginTop=Wt?"0":this._topOffset,$.marginBottom=this._bottomOffset,$.marginRight=ln?"0":pn,be.justifyContent=gn,be.alignItems=Wt?"flex-start":this._alignItems}dispose(){if(this._isDisposed||!this._overlayRef)return;const $=this._overlayRef.overlayElement.style,be=this._overlayRef.hostElement,Be=be.style;be.classList.remove(st),Be.justifyContent=Be.alignItems=$.marginTop=$.marginBottom=$.marginLeft=$.marginRight=$.position="",this._overlayRef=null,this._isDisposed=!0}}let Bt=(()=>{class it{constructor(be,Be,lt,ht){this._viewportRuler=be,this._document=Be,this._platform=lt,this._overlayContainer=ht}global(){return new nt}flexibleConnectedTo(be){return new L(be,this._viewportRuler,this._document,this._platform,this._overlayContainer)}static#e=this.\u0275fac=function(Be){return new(Be||it)(w.LFG(n.rL),w.LFG(l.K0),w.LFG(H.t4),w.LFG(P))};static#t=this.\u0275prov=w.Yz7({token:it,factory:it.\u0275fac,providedIn:"root"})}return it})(),Je=0,bt=(()=>{class it{constructor(be,Be,lt,ht,mt,Mt,ln,Wt,Kt,$t,An,bn){this.scrollStrategies=be,this._overlayContainer=Be,this._componentFactoryResolver=lt,this._positionBuilder=ht,this._keyboardDispatcher=mt,this._injector=Mt,this._ngZone=ln,this._document=Wt,this._directionality=Kt,this._location=$t,this._outsideClickDispatcher=An,this._animationsModuleType=bn}create(be){const Be=this._createHostElement(),lt=this._createPaneElement(Be),ht=this._createPortalOutlet(lt),mt=new ft(be);return mt.direction=mt.direction||this._directionality.value,new ae(ht,Be,lt,mt,this._ngZone,this._keyboardDispatcher,this._document,this._location,this._outsideClickDispatcher,"NoopAnimations"===this._animationsModuleType)}position(){return this._positionBuilder}_createPaneElement(be){const Be=this._document.createElement("div");return Be.id="cdk-overlay-"+Je++,Be.classList.add("cdk-overlay-pane"),be.appendChild(Be),Be}_createHostElement(){const be=this._document.createElement("div");return this._overlayContainer.getContainerElement().appendChild(be),be}_createPortalOutlet(be){return this._appRef||(this._appRef=this._injector.get(w.z2F)),new ce.u0(be,this._componentFactoryResolver,this._appRef,this._injector,this._document)}static#e=this.\u0275fac=function(Be){return new(Be||it)(w.LFG(He),w.LFG(P),w.LFG(w._Vd),w.LFG(Bt),w.LFG(At),w.LFG(w.zs3),w.LFG(w.R0b),w.LFG(l.K0),w.LFG(fe.Is),w.LFG(l.Ye),w.LFG(Y),w.LFG(w.QbO,8))};static#t=this.\u0275prov=w.Yz7({token:it,factory:it.\u0275fac,providedIn:"root"})}return it})();const Oe=[{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"}],rt=new w.OlP("cdk-connected-overlay-scroll-strategy");let vt=(()=>{class it{constructor(be){this.elementRef=be}static#e=this.\u0275fac=function(Be){return new(Be||it)(w.Y36(w.SBq))};static#t=this.\u0275dir=w.lG2({type:it,selectors:[["","cdk-overlay-origin",""],["","overlay-origin",""],["","cdkOverlayOrigin",""]],exportAs:["cdkOverlayOrigin"],standalone:!0})}return it})(),en=(()=>{class it{get offsetX(){return this._offsetX}set offsetX(be){this._offsetX=be,this._position&&this._updatePositionStrategy(this._position)}get offsetY(){return this._offsetY}set offsetY(be){this._offsetY=be,this._position&&this._updatePositionStrategy(this._position)}get hasBackdrop(){return this._hasBackdrop}set hasBackdrop(be){this._hasBackdrop=(0,E.Ig)(be)}get lockPosition(){return this._lockPosition}set lockPosition(be){this._lockPosition=(0,E.Ig)(be)}get flexibleDimensions(){return this._flexibleDimensions}set flexibleDimensions(be){this._flexibleDimensions=(0,E.Ig)(be)}get growAfterOpen(){return this._growAfterOpen}set growAfterOpen(be){this._growAfterOpen=(0,E.Ig)(be)}get push(){return this._push}set push(be){this._push=(0,E.Ig)(be)}constructor(be,Be,lt,ht,mt){this._overlay=be,this._dir=mt,this._hasBackdrop=!1,this._lockPosition=!1,this._growAfterOpen=!1,this._flexibleDimensions=!1,this._push=!1,this._backdropSubscription=Ae.w0.EMPTY,this._attachSubscription=Ae.w0.EMPTY,this._detachSubscription=Ae.w0.EMPTY,this._positionSubscription=Ae.w0.EMPTY,this.viewportMargin=0,this.open=!1,this.disableClose=!1,this.backdropClick=new w.vpe,this.positionChange=new w.vpe,this.attach=new w.vpe,this.detach=new w.vpe,this.overlayKeydown=new w.vpe,this.overlayOutsideClick=new w.vpe,this._templatePortal=new ce.UE(Be,lt),this._scrollStrategyFactory=ht,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(be){this._position&&(this._updatePositionStrategy(this._position),this._overlayRef.updateSize({width:this.width,minWidth:this.minWidth,height:this.height,minHeight:this.minHeight}),be.origin&&this.open&&this._position.apply()),be.open&&(this.open?this._attachOverlay():this._detachOverlay())}_createOverlay(){(!this.positions||!this.positions.length)&&(this.positions=Oe);const be=this._overlayRef=this._overlay.create(this._buildConfig());this._attachSubscription=be.attachments().subscribe(()=>this.attach.emit()),this._detachSubscription=be.detachments().subscribe(()=>this.detach.emit()),be.keydownEvents().subscribe(Be=>{this.overlayKeydown.next(Be),Be.keyCode===se.hY&&!this.disableClose&&!(0,se.Vb)(Be)&&(Be.preventDefault(),this._detachOverlay())}),this._overlayRef.outsidePointerEvents().subscribe(Be=>{this.overlayOutsideClick.next(Be)})}_buildConfig(){const be=this._position=this.positionStrategy||this._createPositionStrategy(),Be=new ft({direction:this._dir,positionStrategy:be,scrollStrategy:this.scrollStrategy,hasBackdrop:this.hasBackdrop});return(this.width||0===this.width)&&(Be.width=this.width),(this.height||0===this.height)&&(Be.height=this.height),(this.minWidth||0===this.minWidth)&&(Be.minWidth=this.minWidth),(this.minHeight||0===this.minHeight)&&(Be.minHeight=this.minHeight),this.backdropClass&&(Be.backdropClass=this.backdropClass),this.panelClass&&(Be.panelClass=this.panelClass),Be}_updatePositionStrategy(be){const Be=this.positions.map(lt=>({originX:lt.originX,originY:lt.originY,overlayX:lt.overlayX,overlayY:lt.overlayY,offsetX:lt.offsetX||this.offsetX,offsetY:lt.offsetY||this.offsetY,panelClass:lt.panelClass||void 0}));return be.setOrigin(this._getFlexibleConnectedPositionStrategyOrigin()).withPositions(Be).withFlexibleDimensions(this.flexibleDimensions).withPush(this.push).withGrowAfterOpen(this.growAfterOpen).withViewportMargin(this.viewportMargin).withLockedPosition(this.lockPosition).withTransformOriginOn(this.transformOriginSelector)}_createPositionStrategy(){const be=this._overlay.position().flexibleConnectedTo(this._getFlexibleConnectedPositionStrategyOrigin());return this._updatePositionStrategy(be),be}_getFlexibleConnectedPositionStrategyOrigin(){return this.origin instanceof vt?this.origin.elementRef:this.origin}_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(be=>{this.backdropClick.emit(be)}):this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe(),this.positionChange.observers.length>0&&(this._positionSubscription=this._position.positionChanges.pipe(function xe(it,$=!1){return(0,ie.e)((be,Be)=>{let lt=0;be.subscribe((0,J.x)(Be,ht=>{const mt=it(ht,lt++);(mt||$)&&Be.next(ht),!mt&&Be.complete()}))})}(()=>this.positionChange.observers.length>0)).subscribe(be=>{this.positionChange.emit(be),0===this.positionChange.observers.length&&this._positionSubscription.unsubscribe()}))}_detachOverlay(){this._overlayRef&&this._overlayRef.detach(),this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe()}static#e=this.\u0275fac=function(Be){return new(Be||it)(w.Y36(bt),w.Y36(w.Rgc),w.Y36(w.s_b),w.Y36(rt),w.Y36(fe.Is,8))};static#t=this.\u0275dir=w.lG2({type:it,selectors:[["","cdk-connected-overlay",""],["","connected-overlay",""],["","cdkConnectedOverlay",""]],inputs:{origin:["cdkConnectedOverlayOrigin","origin"],positions:["cdkConnectedOverlayPositions","positions"],positionStrategy:["cdkConnectedOverlayPositionStrategy","positionStrategy"],offsetX:["cdkConnectedOverlayOffsetX","offsetX"],offsetY:["cdkConnectedOverlayOffsetY","offsetY"],width:["cdkConnectedOverlayWidth","width"],height:["cdkConnectedOverlayHeight","height"],minWidth:["cdkConnectedOverlayMinWidth","minWidth"],minHeight:["cdkConnectedOverlayMinHeight","minHeight"],backdropClass:["cdkConnectedOverlayBackdropClass","backdropClass"],panelClass:["cdkConnectedOverlayPanelClass","panelClass"],viewportMargin:["cdkConnectedOverlayViewportMargin","viewportMargin"],scrollStrategy:["cdkConnectedOverlayScrollStrategy","scrollStrategy"],open:["cdkConnectedOverlayOpen","open"],disableClose:["cdkConnectedOverlayDisableClose","disableClose"],transformOriginSelector:["cdkConnectedOverlayTransformOriginOn","transformOriginSelector"],hasBackdrop:["cdkConnectedOverlayHasBackdrop","hasBackdrop"],lockPosition:["cdkConnectedOverlayLockPosition","lockPosition"],flexibleDimensions:["cdkConnectedOverlayFlexibleDimensions","flexibleDimensions"],growAfterOpen:["cdkConnectedOverlayGrowAfterOpen","growAfterOpen"],push:["cdkConnectedOverlayPush","push"]},outputs:{backdropClick:"backdropClick",positionChange:"positionChange",attach:"attach",detach:"detach",overlayKeydown:"overlayKeydown",overlayOutsideClick:"overlayOutsideClick"},exportAs:["cdkConnectedOverlay"],standalone:!0,features:[w.TTD]})}return it})();const fn={provide:rt,deps:[bt],useFactory:function tn(it){return()=>it.scrollStrategies.reposition()}};let Zt=(()=>{class it{static#e=this.\u0275fac=function(Be){return new(Be||it)};static#t=this.\u0275mod=w.oAB({type:it});static#n=this.\u0275inj=w.cJS({providers:[bt,fn],imports:[fe.vT,ce.eL,n.Cl,n.Cl]})}return it})()},2831:(_t,Me,p)=>{p.d(Me,{Mq:()=>De,Oy:()=>N,i$:()=>xe,kV:()=>ue,qK:()=>we,sA:()=>oe,t4:()=>E});var n=p(5879),l=p(6814);let w;try{w=typeof Intl<"u"&&Intl.v8BreakIterator}catch{w=!1}let Q,E=(()=>{class Ce{constructor(ve){this._platformId=ve,this.isBrowser=this._platformId?(0,l.NF)(this._platformId):"object"==typeof document&&!!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&&!w)&&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}static#e=this.\u0275fac=function(ye){return new(ye||Ce)(n.LFG(n.Lbi))};static#t=this.\u0275prov=n.Yz7({token:Ce,factory:Ce.\u0275fac,providedIn:"root"})}return Ce})();const ne=["color","button","checkbox","date","datetime-local","email","file","hidden","image","month","number","password","radio","range","reset","search","submit","tel","text","time","url","week"];function we(){if(Q)return Q;if("object"!=typeof document||!document)return Q=new Set(ne),Q;let Ce=document.createElement("input");return Q=new Set(ne.filter(K=>(Ce.setAttribute("type",K),Ce.type===K))),Q}let ie,ce,Le;function xe(Ce){return function J(){if(null==ie&&typeof window<"u")try{window.addEventListener("test",null,Object.defineProperty({},"passive",{get:()=>ie=!0}))}finally{ie=ie||!1}return ie}()?Ce:!!Ce.capture}function De(){if(null==ce){if("object"!=typeof document||!document||"function"!=typeof Element||!Element)return ce=!1,ce;if("scrollBehavior"in document.documentElement.style)ce=!0;else{const Ce=Element.prototype.scrollTo;ce=!!Ce&&!/\{\s*\[native code\]\s*\}/.test(Ce.toString())}}return ce}function ue(Ce){if(function se(){if(null==Le){const Ce=typeof document<"u"?document.head:null;Le=!(!Ce||!Ce.createShadowRoot&&!Ce.attachShadow)}return Le}()){const K=Ce.getRootNode?Ce.getRootNode():null;if(typeof ShadowRoot<"u"&&ShadowRoot&&K instanceof ShadowRoot)return K}return null}function oe(Ce){return Ce.composedPath?Ce.composedPath()[0]:Ce.target}function N(){return typeof __karma__<"u"&&!!__karma__||typeof jasmine<"u"&&!!jasmine||typeof jest<"u"&&!!jest||typeof Mocha<"u"&&!!Mocha}},8484:(_t,Me,p)=>{p.d(Me,{C5:()=>J,Pl:()=>ze,UE:()=>xe,eL:()=>N,ig:()=>se,u0:()=>Ae});var n=p(5879),l=p(6814);class ie{attach(ve){return this._attachedHost=ve,ve.attach(this)}detach(){let ve=this._attachedHost;null!=ve&&(this._attachedHost=null,ve.detach())}get isAttached(){return null!=this._attachedHost}setAttachedHost(ve){this._attachedHost=ve}}class J extends ie{constructor(ve,ye,He,ft,ct){super(),this.component=ve,this.viewContainerRef=ye,this.injector=He,this.componentFactoryResolver=ft,this.projectableNodes=ct}}class xe extends ie{constructor(ve,ye,He,ft){super(),this.templateRef=ve,this.viewContainerRef=ye,this.context=He,this.injector=ft}get origin(){return this.templateRef.elementRef}attach(ve,ye=this.context){return this.context=ye,super.attach(ve)}detach(){return this.context=void 0,super.detach()}}class fe extends ie{constructor(ve){super(),this.element=ve instanceof n.SBq?ve.nativeElement:ve}}class ce{constructor(){this._isDisposed=!1,this.attachDomPortal=null}hasAttached(){return!!this._attachedPortal}attach(ve){return ve instanceof J?(this._attachedPortal=ve,this.attachComponentPortal(ve)):ve instanceof xe?(this._attachedPortal=ve,this.attachTemplatePortal(ve)):this.attachDomPortal&&ve instanceof fe?(this._attachedPortal=ve,this.attachDomPortal(ve)):void 0}detach(){this._attachedPortal&&(this._attachedPortal.setAttachedHost(null),this._attachedPortal=null),this._invokeDisposeFn()}dispose(){this.hasAttached()&&this.detach(),this._invokeDisposeFn(),this._isDisposed=!0}setDisposeFn(ve){this._disposeFn=ve}_invokeDisposeFn(){this._disposeFn&&(this._disposeFn(),this._disposeFn=null)}}class Ae extends ce{constructor(ve,ye,He,ft,ct){super(),this.outletElement=ve,this._componentFactoryResolver=ye,this._appRef=He,this._defaultInjector=ft,this.attachDomPortal=xt=>{const Ut=xt.element,It=this._document.createComment("dom-portal");Ut.parentNode.insertBefore(It,Ut),this.outletElement.appendChild(Ut),this._attachedPortal=xt,super.setDisposeFn(()=>{It.parentNode&&It.parentNode.replaceChild(Ut,It)})},this._document=ct}attachComponentPortal(ve){const He=(ve.componentFactoryResolver||this._componentFactoryResolver).resolveComponentFactory(ve.component);let ft;return ve.viewContainerRef?(ft=ve.viewContainerRef.createComponent(He,ve.viewContainerRef.length,ve.injector||ve.viewContainerRef.injector,ve.projectableNodes||void 0),this.setDisposeFn(()=>ft.destroy())):(ft=He.create(ve.injector||this._defaultInjector||n.zs3.NULL),this._appRef.attachView(ft.hostView),this.setDisposeFn(()=>{this._appRef.viewCount>0&&this._appRef.detachView(ft.hostView),ft.destroy()})),this.outletElement.appendChild(this._getComponentRootNode(ft)),this._attachedPortal=ve,ft}attachTemplatePortal(ve){let ye=ve.viewContainerRef,He=ye.createEmbeddedView(ve.templateRef,ve.context,{injector:ve.injector});return He.rootNodes.forEach(ft=>this.outletElement.appendChild(ft)),He.detectChanges(),this.setDisposeFn(()=>{let ft=ye.indexOf(He);-1!==ft&&ye.remove(ft)}),this._attachedPortal=ve,He}dispose(){super.dispose(),this.outletElement.remove()}_getComponentRootNode(ve){return ve.hostView.rootNodes[0]}}let se=(()=>{class K extends xe{constructor(ye,He){super(ye,He)}static#e=this.\u0275fac=function(He){return new(He||K)(n.Y36(n.Rgc),n.Y36(n.s_b))};static#t=this.\u0275dir=n.lG2({type:K,selectors:[["","cdkPortal",""]],exportAs:["cdkPortal"],features:[n.qOj]})}return K})(),ze=(()=>{class K extends ce{constructor(ye,He,ft){super(),this._componentFactoryResolver=ye,this._viewContainerRef=He,this._isInitialized=!1,this.attached=new n.vpe,this.attachDomPortal=ct=>{const xt=ct.element,Ut=this._document.createComment("dom-portal");ct.setAttachedHost(this),xt.parentNode.insertBefore(Ut,xt),this._getRootNode().appendChild(xt),this._attachedPortal=ct,super.setDisposeFn(()=>{Ut.parentNode&&Ut.parentNode.replaceChild(xt,Ut)})},this._document=ft}get portal(){return this._attachedPortal}set portal(ye){this.hasAttached()&&!ye&&!this._isInitialized||(this.hasAttached()&&super.detach(),ye&&super.attach(ye),this._attachedPortal=ye||null)}get attachedRef(){return this._attachedRef}ngOnInit(){this._isInitialized=!0}ngOnDestroy(){super.dispose(),this._attachedRef=this._attachedPortal=null}attachComponentPortal(ye){ye.setAttachedHost(this);const He=null!=ye.viewContainerRef?ye.viewContainerRef:this._viewContainerRef,ct=(ye.componentFactoryResolver||this._componentFactoryResolver).resolveComponentFactory(ye.component),xt=He.createComponent(ct,He.length,ye.injector||He.injector,ye.projectableNodes||void 0);return He!==this._viewContainerRef&&this._getRootNode().appendChild(xt.hostView.rootNodes[0]),super.setDisposeFn(()=>xt.destroy()),this._attachedPortal=ye,this._attachedRef=xt,this.attached.emit(xt),xt}attachTemplatePortal(ye){ye.setAttachedHost(this);const He=this._viewContainerRef.createEmbeddedView(ye.templateRef,ye.context,{injector:ye.injector});return super.setDisposeFn(()=>this._viewContainerRef.clear()),this._attachedPortal=ye,this._attachedRef=He,this.attached.emit(He),He}_getRootNode(){const ye=this._viewContainerRef.element.nativeElement;return ye.nodeType===ye.ELEMENT_NODE?ye:ye.parentNode}static#e=this.\u0275fac=function(He){return new(He||K)(n.Y36(n._Vd),n.Y36(n.s_b),n.Y36(l.K0))};static#t=this.\u0275dir=n.lG2({type:K,selectors:[["","cdkPortalOutlet",""]],inputs:{portal:["cdkPortalOutlet","portal"]},outputs:{attached:"attached"},exportAs:["cdkPortalOutlet"],features:[n.qOj]})}return K})(),N=(()=>{class K{static#e=this.\u0275fac=function(He){return new(He||K)};static#t=this.\u0275mod=n.oAB({type:K});static#n=this.\u0275inj=n.cJS({})}return K})()},6672:(_t,Me,p)=>{p.d(Me,{Cl:()=>Y,ZD:()=>At,mF:()=>N,rL:()=>ve});var n=p(2495),l=p(5879),w=p(8645),E=p(2096),H=p(5592),Q=p(2438),ie=(p(927),p(6410),p(9028)),J=p(2181),xe=p(2831),fe=p(6814),ce=p(9388);let N=(()=>{class P{constructor(B,Se,L){this._ngZone=B,this._platform=Se,this._scrolled=new w.x,this._globalSubscription=null,this._scrolledCount=0,this.scrollContainers=new Map,this._document=L}register(B){this.scrollContainers.has(B)||this.scrollContainers.set(B,B.elementScrolled().subscribe(()=>this._scrolled.next(B)))}deregister(B){const Se=this.scrollContainers.get(B);Se&&(Se.unsubscribe(),this.scrollContainers.delete(B))}scrolled(B=20){return this._platform.isBrowser?new H.y(Se=>{this._globalSubscription||this._addGlobalListener();const L=B>0?this._scrolled.pipe((0,ie.e)(B)).subscribe(Se):this._scrolled.subscribe(Se);return this._scrolledCount++,()=>{L.unsubscribe(),this._scrolledCount--,this._scrolledCount||this._removeGlobalListener()}}):(0,E.of)()}ngOnDestroy(){this._removeGlobalListener(),this.scrollContainers.forEach((B,Se)=>this.deregister(Se)),this._scrolled.complete()}ancestorScrolled(B,Se){const L=this.getAncestorScrollContainers(B);return this.scrolled(Se).pipe((0,J.h)(V=>!V||L.indexOf(V)>-1))}getAncestorScrollContainers(B){const Se=[];return this.scrollContainers.forEach((L,V)=>{this._scrollableContainsElement(V,B)&&Se.push(V)}),Se}_getWindow(){return this._document.defaultView||window}_scrollableContainsElement(B,Se){let L=(0,n.fI)(Se),V=B.getElementRef().nativeElement;do{if(L==V)return!0}while(L=L.parentElement);return!1}_addGlobalListener(){this._globalSubscription=this._ngZone.runOutsideAngular(()=>{const B=this._getWindow();return(0,Q.R)(B.document,"scroll").subscribe(()=>this._scrolled.next())})}_removeGlobalListener(){this._globalSubscription&&(this._globalSubscription.unsubscribe(),this._globalSubscription=null)}static#e=this.\u0275fac=function(Se){return new(Se||P)(l.LFG(l.R0b),l.LFG(xe.t4),l.LFG(fe.K0,8))};static#t=this.\u0275prov=l.Yz7({token:P,factory:P.\u0275fac,providedIn:"root"})}return P})(),ve=(()=>{class P{constructor(B,Se,L){this._platform=B,this._change=new w.x,this._changeListener=V=>{this._change.next(V)},this._document=L,Se.runOutsideAngular(()=>{if(B.isBrowser){const V=this._getWindow();V.addEventListener("resize",this._changeListener),V.addEventListener("orientationchange",this._changeListener)}this.change().subscribe(()=>this._viewportSize=null)})}ngOnDestroy(){if(this._platform.isBrowser){const B=this._getWindow();B.removeEventListener("resize",this._changeListener),B.removeEventListener("orientationchange",this._changeListener)}this._change.complete()}getViewportSize(){this._viewportSize||this._updateViewportSize();const B={width:this._viewportSize.width,height:this._viewportSize.height};return this._platform.isBrowser||(this._viewportSize=null),B}getViewportRect(){const B=this.getViewportScrollPosition(),{width:Se,height:L}=this.getViewportSize();return{top:B.top,left:B.left,bottom:B.top+L,right:B.left+Se,height:L,width:Se}}getViewportScrollPosition(){if(!this._platform.isBrowser)return{top:0,left:0};const B=this._document,Se=this._getWindow(),L=B.documentElement,V=L.getBoundingClientRect();return{top:-V.top||B.body.scrollTop||Se.scrollY||L.scrollTop||0,left:-V.left||B.body.scrollLeft||Se.scrollX||L.scrollLeft||0}}change(B=20){return B>0?this._change.pipe((0,ie.e)(B)):this._change}_getWindow(){return this._document.defaultView||window}_updateViewportSize(){const B=this._getWindow();this._viewportSize=this._platform.isBrowser?{width:B.innerWidth,height:B.innerHeight}:{width:0,height:0}}static#e=this.\u0275fac=function(Se){return new(Se||P)(l.LFG(xe.t4),l.LFG(l.R0b),l.LFG(fe.K0,8))};static#t=this.\u0275prov=l.Yz7({token:P,factory:P.\u0275fac,providedIn:"root"})}return P})(),At=(()=>{class P{static#e=this.\u0275fac=function(Se){return new(Se||P)};static#t=this.\u0275mod=l.oAB({type:P});static#n=this.\u0275inj=l.cJS({})}return P})(),Y=(()=>{class P{static#e=this.\u0275fac=function(Se){return new(Se||P)};static#t=this.\u0275mod=l.oAB({type:P});static#n=this.\u0275inj=l.cJS({imports:[ce.vT,At,ce.vT,At]})}return P})()},6263:(_t,Me,p)=>{p.d(Me,{IC:()=>ce,Ky:()=>De,Lq:()=>xe});var n=p(2831),l=p(5879),w=p(2495),E=p(6232),H=p(8645),Q=p(2438),ne=p(9028),we=p(9773),ie=p(6814);const J=(0,n.i$)({passive:!0});let xe=(()=>{class Ae{constructor(se,ue){this._platform=se,this._ngZone=ue,this._monitoredElements=new Map}monitor(se){if(!this._platform.isBrowser)return E.E;const ue=(0,w.fI)(se),ze=this._monitoredElements.get(ue);if(ze)return ze.subject;const oe=new H.x,N="cdk-text-field-autofilled",Ce=K=>{"cdk-text-field-autofill-start"!==K.animationName||ue.classList.contains(N)?"cdk-text-field-autofill-end"===K.animationName&&ue.classList.contains(N)&&(ue.classList.remove(N),this._ngZone.run(()=>oe.next({target:K.target,isAutofilled:!1}))):(ue.classList.add(N),this._ngZone.run(()=>oe.next({target:K.target,isAutofilled:!0})))};return this._ngZone.runOutsideAngular(()=>{ue.addEventListener("animationstart",Ce,J),ue.classList.add("cdk-text-field-autofill-monitored")}),this._monitoredElements.set(ue,{subject:oe,unlisten:()=>{ue.removeEventListener("animationstart",Ce,J)}}),oe}stopMonitoring(se){const ue=(0,w.fI)(se),ze=this._monitoredElements.get(ue);ze&&(ze.unlisten(),ze.subject.complete(),ue.classList.remove("cdk-text-field-autofill-monitored"),ue.classList.remove("cdk-text-field-autofilled"),this._monitoredElements.delete(ue))}ngOnDestroy(){this._monitoredElements.forEach((se,ue)=>this.stopMonitoring(ue))}static#e=this.\u0275fac=function(ue){return new(ue||Ae)(l.LFG(n.t4),l.LFG(l.R0b))};static#t=this.\u0275prov=l.Yz7({token:Ae,factory:Ae.\u0275fac,providedIn:"root"})}return Ae})(),ce=(()=>{class Ae{get minRows(){return this._minRows}set minRows(se){this._minRows=(0,w.su)(se),this._setMinHeight()}get maxRows(){return this._maxRows}set maxRows(se){this._maxRows=(0,w.su)(se),this._setMaxHeight()}get enabled(){return this._enabled}set enabled(se){se=(0,w.Ig)(se),this._enabled!==se&&((this._enabled=se)?this.resizeToFitContent(!0):this.reset())}get placeholder(){return this._textareaElement.placeholder}set placeholder(se){this._cachedPlaceholderHeight=void 0,se?this._textareaElement.setAttribute("placeholder",se):this._textareaElement.removeAttribute("placeholder"),this._cacheTextareaPlaceholderHeight()}constructor(se,ue,ze,oe){this._elementRef=se,this._platform=ue,this._ngZone=ze,this._destroyed=new H.x,this._enabled=!0,this._previousMinRows=-1,this._isViewInited=!1,this._handleFocusEvent=N=>{this._hasFocus="focus"===N.type},this._document=oe,this._textareaElement=this._elementRef.nativeElement}_setMinHeight(){const se=this.minRows&&this._cachedLineHeight?this.minRows*this._cachedLineHeight+"px":null;se&&(this._textareaElement.style.minHeight=se)}_setMaxHeight(){const se=this.maxRows&&this._cachedLineHeight?this.maxRows*this._cachedLineHeight+"px":null;se&&(this._textareaElement.style.maxHeight=se)}ngAfterViewInit(){this._platform.isBrowser&&(this._initialHeight=this._textareaElement.style.height,this.resizeToFitContent(),this._ngZone.runOutsideAngular(()=>{const se=this._getWindow();(0,Q.R)(se,"resize").pipe((0,ne.e)(16),(0,we.R)(this._destroyed)).subscribe(()=>this.resizeToFitContent(!0)),this._textareaElement.addEventListener("focus",this._handleFocusEvent),this._textareaElement.addEventListener("blur",this._handleFocusEvent)}),this._isViewInited=!0,this.resizeToFitContent(!0))}ngOnDestroy(){this._textareaElement.removeEventListener("focus",this._handleFocusEvent),this._textareaElement.removeEventListener("blur",this._handleFocusEvent),this._destroyed.next(),this._destroyed.complete()}_cacheTextareaLineHeight(){if(this._cachedLineHeight)return;let se=this._textareaElement.cloneNode(!1);se.rows=1,se.style.position="absolute",se.style.visibility="hidden",se.style.border="none",se.style.padding="0",se.style.height="",se.style.minHeight="",se.style.maxHeight="",se.style.overflow="hidden",this._textareaElement.parentNode.appendChild(se),this._cachedLineHeight=se.clientHeight,se.remove(),this._setMinHeight(),this._setMaxHeight()}_measureScrollHeight(){const se=this._textareaElement,ue=se.style.marginBottom||"",ze=this._platform.FIREFOX,oe=ze&&this._hasFocus,N=ze?"cdk-textarea-autosize-measuring-firefox":"cdk-textarea-autosize-measuring";oe&&(se.style.marginBottom=`${se.clientHeight}px`),se.classList.add(N);const Ce=se.scrollHeight-4;return se.classList.remove(N),oe&&(se.style.marginBottom=ue),Ce}_cacheTextareaPlaceholderHeight(){if(!this._isViewInited||null!=this._cachedPlaceholderHeight)return;if(!this.placeholder)return void(this._cachedPlaceholderHeight=0);const se=this._textareaElement.value;this._textareaElement.value=this._textareaElement.placeholder,this._cachedPlaceholderHeight=this._measureScrollHeight(),this._textareaElement.value=se}ngDoCheck(){this._platform.isBrowser&&this.resizeToFitContent()}resizeToFitContent(se=!1){if(!this._enabled||(this._cacheTextareaLineHeight(),this._cacheTextareaPlaceholderHeight(),!this._cachedLineHeight))return;const ue=this._elementRef.nativeElement,ze=ue.value;if(!se&&this._minRows===this._previousMinRows&&ze===this._previousValue)return;const oe=this._measureScrollHeight(),N=Math.max(oe,this._cachedPlaceholderHeight||0);ue.style.height=`${N}px`,this._ngZone.runOutsideAngular(()=>{typeof requestAnimationFrame<"u"?requestAnimationFrame(()=>this._scrollToCaretPosition(ue)):setTimeout(()=>this._scrollToCaretPosition(ue))}),this._previousValue=ze,this._previousMinRows=this._minRows}reset(){void 0!==this._initialHeight&&(this._textareaElement.style.height=this._initialHeight)}_noopInputHandler(){}_getDocument(){return this._document||document}_getWindow(){return this._getDocument().defaultView||window}_scrollToCaretPosition(se){const{selectionStart:ue,selectionEnd:ze}=se;!this._destroyed.isStopped&&this._hasFocus&&se.setSelectionRange(ue,ze)}static#e=this.\u0275fac=function(ue){return new(ue||Ae)(l.Y36(l.SBq),l.Y36(n.t4),l.Y36(l.R0b),l.Y36(ie.K0,8))};static#t=this.\u0275dir=l.lG2({type:Ae,selectors:[["textarea","cdkTextareaAutosize",""]],hostAttrs:["rows","1",1,"cdk-textarea-autosize"],hostBindings:function(ue,ze){1&ue&&l.NdJ("input",function(){return ze._noopInputHandler()})},inputs:{minRows:["cdkAutosizeMinRows","minRows"],maxRows:["cdkAutosizeMaxRows","maxRows"],enabled:["cdkTextareaAutosize","enabled"],placeholder:"placeholder"},exportAs:["cdkTextareaAutosize"]})}return Ae})(),De=(()=>{class Ae{static#e=this.\u0275fac=function(ue){return new(ue||Ae)};static#t=this.\u0275mod=l.oAB({type:Ae});static#n=this.\u0275inj=l.cJS({})}return Ae})()},6814:(_t,Me,p)=>{p.d(Me,{ED:()=>he,EM:()=>$i,HT:()=>E,JF:()=>fo,K0:()=>Q,Mx:()=>li,NF:()=>br,O5:()=>qe,PC:()=>Yt,PM:()=>xo,RF:()=>x,S$:()=>ce,Ts:()=>Gi,Ye:()=>se,bD:()=>$n,ez:()=>rn,mk:()=>Sn,n9:()=>Z,q:()=>w,sg:()=>oi,tP:()=>Hn,w_:()=>H});var n=p(5879);let l=null;function w(){return l}function E(_){l||(l=_)}class H{}const Q=new n.OlP("DocumentToken");let ne=(()=>{class _{historyGo(D){throw new Error("Not implemented")}static#e=this.\u0275fac=function(F){return new(F||_)};static#t=this.\u0275prov=n.Yz7({token:_,factory:function(){return(0,n.f3M)(ie)},providedIn:"platform"})}return _})(),ie=(()=>{class _ extends ne{constructor(){super(),this._doc=(0,n.f3M)(Q),this._location=window.location,this._history=window.history}getBaseHrefFromDOM(){return w().getBaseHref(this._doc)}onPopState(D){const F=w().getGlobalEventTarget(this._doc,"window");return F.addEventListener("popstate",D,!1),()=>F.removeEventListener("popstate",D)}onHashChange(D){const F=w().getGlobalEventTarget(this._doc,"window");return F.addEventListener("hashchange",D,!1),()=>F.removeEventListener("hashchange",D)}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(D){this._location.pathname=D}pushState(D,F,Fe){this._history.pushState(D,F,Fe)}replaceState(D,F,Fe){this._history.replaceState(D,F,Fe)}forward(){this._history.forward()}back(){this._history.back()}historyGo(D=0){this._history.go(D)}getState(){return this._history.state}static#e=this.\u0275fac=function(F){return new(F||_)};static#t=this.\u0275prov=n.Yz7({token:_,factory:function(){return new _},providedIn:"platform"})}return _})();function J(_,U){if(0==_.length)return U;if(0==U.length)return _;let D=0;return _.endsWith("/")&&D++,U.startsWith("/")&&D++,2==D?_+U.substring(1):1==D?_+U:_+"/"+U}function xe(_){const U=_.match(/#|\?|$/),D=U&&U.index||_.length;return _.slice(0,D-("/"===_[D-1]?1:0))+_.slice(D)}function fe(_){return _&&"?"!==_[0]?"?"+_:_}let ce=(()=>{class _{historyGo(D){throw new Error("Not implemented")}static#e=this.\u0275fac=function(F){return new(F||_)};static#t=this.\u0275prov=n.Yz7({token:_,factory:function(){return(0,n.f3M)(Ae)},providedIn:"root"})}return _})();const De=new n.OlP("appBaseHref");let Ae=(()=>{class _ extends ce{constructor(D,F){super(),this._platformLocation=D,this._removeListenerFns=[],this._baseHref=F??this._platformLocation.getBaseHrefFromDOM()??(0,n.f3M)(Q).location?.origin??""}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(D){this._removeListenerFns.push(this._platformLocation.onPopState(D),this._platformLocation.onHashChange(D))}getBaseHref(){return this._baseHref}prepareExternalUrl(D){return J(this._baseHref,D)}path(D=!1){const F=this._platformLocation.pathname+fe(this._platformLocation.search),Fe=this._platformLocation.hash;return Fe&&D?`${F}${Fe}`:F}pushState(D,F,Fe,pt){const Ot=this.prepareExternalUrl(Fe+fe(pt));this._platformLocation.pushState(D,F,Ot)}replaceState(D,F,Fe,pt){const Ot=this.prepareExternalUrl(Fe+fe(pt));this._platformLocation.replaceState(D,F,Ot)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(D=0){this._platformLocation.historyGo?.(D)}static#e=this.\u0275fac=function(F){return new(F||_)(n.LFG(ne),n.LFG(De,8))};static#t=this.\u0275prov=n.Yz7({token:_,factory:_.\u0275fac,providedIn:"root"})}return _})(),se=(()=>{class _{constructor(D){this._subject=new n.vpe,this._urlChangeListeners=[],this._urlChangeSubscription=null,this._locationStrategy=D;const F=this._locationStrategy.getBaseHref();this._basePath=function N(_){if(new RegExp("^(https?:)?//").test(_)){const[,D]=_.split(/\/\/[^\/]+/);return D}return _}(xe(oe(F))),this._locationStrategy.onPopState(Fe=>{this._subject.emit({url:this.path(!0),pop:!0,state:Fe.state,type:Fe.type})})}ngOnDestroy(){this._urlChangeSubscription?.unsubscribe(),this._urlChangeListeners=[]}path(D=!1){return this.normalize(this._locationStrategy.path(D))}getState(){return this._locationStrategy.getState()}isCurrentPathEqualTo(D,F=""){return this.path()==this.normalize(D+fe(F))}normalize(D){return _.stripTrailingSlash(function ze(_,U){if(!_||!U.startsWith(_))return U;const D=U.substring(_.length);return""===D||["/",";","?","#"].includes(D[0])?D:U}(this._basePath,oe(D)))}prepareExternalUrl(D){return D&&"/"!==D[0]&&(D="/"+D),this._locationStrategy.prepareExternalUrl(D)}go(D,F="",Fe=null){this._locationStrategy.pushState(Fe,"",D,F),this._notifyUrlChangeListeners(this.prepareExternalUrl(D+fe(F)),Fe)}replaceState(D,F="",Fe=null){this._locationStrategy.replaceState(Fe,"",D,F),this._notifyUrlChangeListeners(this.prepareExternalUrl(D+fe(F)),Fe)}forward(){this._locationStrategy.forward()}back(){this._locationStrategy.back()}historyGo(D=0){this._locationStrategy.historyGo?.(D)}onUrlChange(D){return this._urlChangeListeners.push(D),this._urlChangeSubscription||(this._urlChangeSubscription=this.subscribe(F=>{this._notifyUrlChangeListeners(F.url,F.state)})),()=>{const F=this._urlChangeListeners.indexOf(D);this._urlChangeListeners.splice(F,1),0===this._urlChangeListeners.length&&(this._urlChangeSubscription?.unsubscribe(),this._urlChangeSubscription=null)}}_notifyUrlChangeListeners(D="",F){this._urlChangeListeners.forEach(Fe=>Fe(D,F))}subscribe(D,F,Fe){return this._subject.subscribe({next:D,error:F,complete:Fe})}static#e=this.normalizeQueryParams=fe;static#t=this.joinWithSlash=J;static#n=this.stripTrailingSlash=xe;static#i=this.\u0275fac=function(F){return new(F||_)(n.LFG(ce))};static#o=this.\u0275prov=n.Yz7({token:_,factory:function(){return function ue(){return new se((0,n.LFG)(ce))}()},providedIn:"root"})}return _})();function oe(_){return _.replace(/\/index.html$/,"")}function li(_,U){U=encodeURIComponent(U);for(const D of _.split(";")){const F=D.indexOf("="),[Fe,pt]=-1==F?[D,""]:[D.slice(0,F),D.slice(F+1)];if(Fe.trim()===U)return decodeURIComponent(pt)}return null}const gi=/\s+/,Tn=[];let Sn=(()=>{class _{constructor(D,F,Fe,pt){this._iterableDiffers=D,this._keyValueDiffers=F,this._ngEl=Fe,this._renderer=pt,this.initialClasses=Tn,this.stateMap=new Map}set klass(D){this.initialClasses=null!=D?D.trim().split(gi):Tn}set ngClass(D){this.rawClass="string"==typeof D?D.trim().split(gi):D}ngDoCheck(){for(const F of this.initialClasses)this._updateState(F,!0);const D=this.rawClass;if(Array.isArray(D)||D instanceof Set)for(const F of D)this._updateState(F,!0);else if(null!=D)for(const F of Object.keys(D))this._updateState(F,!!D[F]);this._applyStateDiff()}_updateState(D,F){const Fe=this.stateMap.get(D);void 0!==Fe?(Fe.enabled!==F&&(Fe.changed=!0,Fe.enabled=F),Fe.touched=!0):this.stateMap.set(D,{enabled:F,changed:!0,touched:!0})}_applyStateDiff(){for(const D of this.stateMap){const F=D[0],Fe=D[1];Fe.changed?(this._toggleClass(F,Fe.enabled),Fe.changed=!1):Fe.touched||(Fe.enabled&&this._toggleClass(F,!1),this.stateMap.delete(F)),Fe.touched=!1}}_toggleClass(D,F){(D=D.trim()).length>0&&D.split(gi).forEach(Fe=>{F?this._renderer.addClass(this._ngEl.nativeElement,Fe):this._renderer.removeClass(this._ngEl.nativeElement,Fe)})}static#e=this.\u0275fac=function(F){return new(F||_)(n.Y36(n.ZZ4),n.Y36(n.aQg),n.Y36(n.SBq),n.Y36(n.Qsj))};static#t=this.\u0275dir=n.lG2({type:_,selectors:[["","ngClass",""]],inputs:{klass:["class","klass"],ngClass:"ngClass"},standalone:!0})}return _})();class Vn{constructor(U,D,F,Fe){this.$implicit=U,this.ngForOf=D,this.index=F,this.count=Fe}get first(){return 0===this.index}get last(){return this.index===this.count-1}get even(){return this.index%2==0}get odd(){return!this.even}}let oi=(()=>{class _{set ngForOf(D){this._ngForOf=D,this._ngForOfDirty=!0}set ngForTrackBy(D){this._trackByFn=D}get ngForTrackBy(){return this._trackByFn}constructor(D,F,Fe){this._viewContainer=D,this._template=F,this._differs=Fe,this._ngForOf=null,this._ngForOfDirty=!0,this._differ=null}set ngForTemplate(D){D&&(this._template=D)}ngDoCheck(){if(this._ngForOfDirty){this._ngForOfDirty=!1;const D=this._ngForOf;!this._differ&&D&&(this._differ=this._differs.find(D).create(this.ngForTrackBy))}if(this._differ){const D=this._differ.diff(this._ngForOf);D&&this._applyChanges(D)}}_applyChanges(D){const F=this._viewContainer;D.forEachOperation((Fe,pt,Ot)=>{if(null==Fe.previousIndex)F.createEmbeddedView(this._template,new Vn(Fe.item,this._ngForOf,-1,-1),null===Ot?void 0:Ot);else if(null==Ot)F.remove(null===pt?void 0:pt);else if(null!==pt){const an=F.get(pt);F.move(an,Ot),Qe(an,Fe)}});for(let Fe=0,pt=F.length;Fe{Qe(F.get(Fe.currentIndex),Fe)})}static ngTemplateContextGuard(D,F){return!0}static#e=this.\u0275fac=function(F){return new(F||_)(n.Y36(n.s_b),n.Y36(n.Rgc),n.Y36(n.ZZ4))};static#t=this.\u0275dir=n.lG2({type:_,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"},standalone:!0})}return _})();function Qe(_,U){_.context.$implicit=U.item}let qe=(()=>{class _{constructor(D,F){this._viewContainer=D,this._context=new Et,this._thenTemplateRef=null,this._elseTemplateRef=null,this._thenViewRef=null,this._elseViewRef=null,this._thenTemplateRef=F}set ngIf(D){this._context.$implicit=this._context.ngIf=D,this._updateView()}set ngIfThen(D){A("ngIfThen",D),this._thenTemplateRef=D,this._thenViewRef=null,this._updateView()}set ngIfElse(D){A("ngIfElse",D),this._elseTemplateRef=D,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(D,F){return!0}static#e=this.\u0275fac=function(F){return new(F||_)(n.Y36(n.s_b),n.Y36(n.Rgc))};static#t=this.\u0275dir=n.lG2({type:_,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"},standalone:!0})}return _})();class Et{constructor(){this.$implicit=null,this.ngIf=null}}function A(_,U){if(U&&!U.createEmbeddedView)throw new Error(`${_} must be a TemplateRef, but received '${(0,n.AaK)(U)}'.`)}class q{constructor(U,D){this._viewContainerRef=U,this._templateRef=D,this._created=!1}create(){this._created=!0,this._viewContainerRef.createEmbeddedView(this._templateRef)}destroy(){this._created=!1,this._viewContainerRef.clear()}enforceState(U){U&&!this._created?this.create():!U&&this._created&&this.destroy()}}let x=(()=>{class _{constructor(){this._defaultViews=[],this._defaultUsed=!1,this._caseCount=0,this._lastCaseCheckIndex=0,this._lastCasesMatched=!1}set ngSwitch(D){this._ngSwitch=D,0===this._caseCount&&this._updateDefaultCases(!0)}_addCase(){return this._caseCount++}_addDefault(D){this._defaultViews.push(D)}_matchCase(D){const F=D==this._ngSwitch;return this._lastCasesMatched=this._lastCasesMatched||F,this._lastCaseCheckIndex++,this._lastCaseCheckIndex===this._caseCount&&(this._updateDefaultCases(!this._lastCasesMatched),this._lastCaseCheckIndex=0,this._lastCasesMatched=!1),F}_updateDefaultCases(D){if(this._defaultViews.length>0&&D!==this._defaultUsed){this._defaultUsed=D;for(const F of this._defaultViews)F.enforceState(D)}}static#e=this.\u0275fac=function(F){return new(F||_)};static#t=this.\u0275dir=n.lG2({type:_,selectors:[["","ngSwitch",""]],inputs:{ngSwitch:"ngSwitch"},standalone:!0})}return _})(),Z=(()=>{class _{constructor(D,F,Fe){this.ngSwitch=Fe,Fe._addCase(),this._view=new q(D,F)}ngDoCheck(){this._view.enforceState(this.ngSwitch._matchCase(this.ngSwitchCase))}static#e=this.\u0275fac=function(F){return new(F||_)(n.Y36(n.s_b),n.Y36(n.Rgc),n.Y36(x,9))};static#t=this.\u0275dir=n.lG2({type:_,selectors:[["","ngSwitchCase",""]],inputs:{ngSwitchCase:"ngSwitchCase"},standalone:!0})}return _})(),he=(()=>{class _{constructor(D,F,Fe){Fe._addDefault(new q(D,F))}static#e=this.\u0275fac=function(F){return new(F||_)(n.Y36(n.s_b),n.Y36(n.Rgc),n.Y36(x,9))};static#t=this.\u0275dir=n.lG2({type:_,selectors:[["","ngSwitchDefault",""]],standalone:!0})}return _})(),Yt=(()=>{class _{constructor(D,F,Fe){this._ngEl=D,this._differs=F,this._renderer=Fe,this._ngStyle=null,this._differ=null}set ngStyle(D){this._ngStyle=D,!this._differ&&D&&(this._differ=this._differs.find(D).create())}ngDoCheck(){if(this._differ){const D=this._differ.diff(this._ngStyle);D&&this._applyChanges(D)}}_setStyle(D,F){const[Fe,pt]=D.split("."),Ot=-1===Fe.indexOf("-")?void 0:n.JOm.DashCase;null!=F?this._renderer.setStyle(this._ngEl.nativeElement,Fe,pt?`${F}${pt}`:F,Ot):this._renderer.removeStyle(this._ngEl.nativeElement,Fe,Ot)}_applyChanges(D){D.forEachRemovedItem(F=>this._setStyle(F.key,null)),D.forEachAddedItem(F=>this._setStyle(F.key,F.currentValue)),D.forEachChangedItem(F=>this._setStyle(F.key,F.currentValue))}static#e=this.\u0275fac=function(F){return new(F||_)(n.Y36(n.SBq),n.Y36(n.aQg),n.Y36(n.Qsj))};static#t=this.\u0275dir=n.lG2({type:_,selectors:[["","ngStyle",""]],inputs:{ngStyle:"ngStyle"},standalone:!0})}return _})(),Hn=(()=>{class _{constructor(D){this._viewContainerRef=D,this._viewRef=null,this.ngTemplateOutletContext=null,this.ngTemplateOutlet=null,this.ngTemplateOutletInjector=null}ngOnChanges(D){if(D.ngTemplateOutlet||D.ngTemplateOutletInjector){const F=this._viewContainerRef;if(this._viewRef&&F.remove(F.indexOf(this._viewRef)),this.ngTemplateOutlet){const{ngTemplateOutlet:Fe,ngTemplateOutletContext:pt,ngTemplateOutletInjector:Ot}=this;this._viewRef=F.createEmbeddedView(Fe,pt,Ot?{injector:Ot}:void 0)}else this._viewRef=null}else this._viewRef&&D.ngTemplateOutletContext&&this.ngTemplateOutletContext&&(this._viewRef.context=this.ngTemplateOutletContext)}static#e=this.\u0275fac=function(F){return new(F||_)(n.Y36(n.s_b))};static#t=this.\u0275dir=n.lG2({type:_,selectors:[["","ngTemplateOutlet",""]],inputs:{ngTemplateOutletContext:"ngTemplateOutletContext",ngTemplateOutlet:"ngTemplateOutlet",ngTemplateOutletInjector:"ngTemplateOutletInjector"},standalone:!0,features:[n.TTD]})}return _})(),Gi=(()=>{class _{transform(D){return JSON.stringify(D,null,2)}static#e=this.\u0275fac=function(F){return new(F||_)};static#t=this.\u0275pipe=n.Yjl({name:"json",type:_,pure:!1,standalone:!0})}return _})(),rn=(()=>{class _{static#e=this.\u0275fac=function(F){return new(F||_)};static#t=this.\u0275mod=n.oAB({type:_});static#n=this.\u0275inj=n.cJS({})}return _})();const $n="browser",ti="server";function br(_){return _===$n}function xo(_){return _===ti}let $i=(()=>{class _{static#e=this.\u0275prov=(0,n.Yz7)({token:_,providedIn:"root",factory:()=>new Mo((0,n.LFG)(Q),window)})}return _})();class Mo{constructor(U,D){this.document=U,this.window=D,this.offset=()=>[0,0]}setOffset(U){this.offset=Array.isArray(U)?()=>U:U}getScrollPosition(){return this.supportsScrolling()?[this.window.pageXOffset,this.window.pageYOffset]:[0,0]}scrollToPosition(U){this.supportsScrolling()&&this.window.scrollTo(U[0],U[1])}scrollToAnchor(U){if(!this.supportsScrolling())return;const D=function Lo(_,U){const D=_.getElementById(U)||_.getElementsByName(U)[0];if(D)return D;if("function"==typeof _.createTreeWalker&&_.body&&"function"==typeof _.body.attachShadow){const F=_.createTreeWalker(_.body,NodeFilter.SHOW_ELEMENT);let Fe=F.currentNode;for(;Fe;){const pt=Fe.shadowRoot;if(pt){const Ot=pt.getElementById(U)||pt.querySelector(`[name="${U}"]`);if(Ot)return Ot}Fe=F.nextNode()}}return null}(this.document,U);D&&(this.scrollToElement(D),D.focus())}setHistoryScrollRestoration(U){this.supportsScrolling()&&(this.window.history.scrollRestoration=U)}scrollToElement(U){const D=U.getBoundingClientRect(),F=D.left+this.window.pageXOffset,Fe=D.top+this.window.pageYOffset,pt=this.offset();this.window.scrollTo(F-pt[0],Fe-pt[1])}supportsScrolling(){try{return!!this.window&&!!this.window.scrollTo&&"pageXOffset"in this.window}catch{return!1}}}class fo{}},9862:(_t,Me,p)=>{p.d(Me,{Zn:()=>Xe,eN:()=>P,h_:()=>ut});var n=p(5879),l=p(2096),w=p(7715),E=p(5592),H=p(6328),Q=p(2181),ne=p(7398),we=p(4716),ie=p(4664),J=p(6814);class xe{}class fe{}class ce{constructor(ge){this.normalizedNames=new Map,this.lazyUpdate=null,ge?"string"==typeof ge?this.lazyInit=()=>{this.headers=new Map,ge.split("\n").forEach(Ve=>{const dt=Ve.indexOf(":");if(dt>0){const Rt=Ve.slice(0,dt),Ht=Rt.toLowerCase(),Nt=Ve.slice(dt+1).trim();this.maybeSetNormalizedName(Rt,Ht),this.headers.has(Ht)?this.headers.get(Ht).push(Nt):this.headers.set(Ht,[Nt])}})}:typeof Headers<"u"&&ge instanceof Headers?(this.headers=new Map,ge.forEach((Ve,dt)=>{this.setHeaderEntries(dt,Ve)})):this.lazyInit=()=>{this.headers=new Map,Object.entries(ge).forEach(([Ve,dt])=>{this.setHeaderEntries(Ve,dt)})}:this.headers=new Map}has(ge){return this.init(),this.headers.has(ge.toLowerCase())}get(ge){this.init();const Ve=this.headers.get(ge.toLowerCase());return Ve&&Ve.length>0?Ve[0]:null}keys(){return this.init(),Array.from(this.normalizedNames.values())}getAll(ge){return this.init(),this.headers.get(ge.toLowerCase())||null}append(ge,Ve){return this.clone({name:ge,value:Ve,op:"a"})}set(ge,Ve){return this.clone({name:ge,value:Ve,op:"s"})}delete(ge,Ve){return this.clone({name:ge,value:Ve,op:"d"})}maybeSetNormalizedName(ge,Ve){this.normalizedNames.has(Ve)||this.normalizedNames.set(Ve,ge)}init(){this.lazyInit&&(this.lazyInit instanceof ce?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach(ge=>this.applyUpdate(ge)),this.lazyUpdate=null))}copyFrom(ge){ge.init(),Array.from(ge.headers.keys()).forEach(Ve=>{this.headers.set(Ve,ge.headers.get(Ve)),this.normalizedNames.set(Ve,ge.normalizedNames.get(Ve))})}clone(ge){const Ve=new ce;return Ve.lazyInit=this.lazyInit&&this.lazyInit instanceof ce?this.lazyInit:this,Ve.lazyUpdate=(this.lazyUpdate||[]).concat([ge]),Ve}applyUpdate(ge){const Ve=ge.name.toLowerCase();switch(ge.op){case"a":case"s":let dt=ge.value;if("string"==typeof dt&&(dt=[dt]),0===dt.length)return;this.maybeSetNormalizedName(ge.name,Ve);const Rt=("a"===ge.op?this.headers.get(Ve):void 0)||[];Rt.push(...dt),this.headers.set(Ve,Rt);break;case"d":const Ht=ge.value;if(Ht){let Nt=this.headers.get(Ve);if(!Nt)return;Nt=Nt.filter(nn=>-1===Ht.indexOf(nn)),0===Nt.length?(this.headers.delete(Ve),this.normalizedNames.delete(Ve)):this.headers.set(Ve,Nt)}else this.headers.delete(Ve),this.normalizedNames.delete(Ve)}}setHeaderEntries(ge,Ve){const dt=(Array.isArray(Ve)?Ve:[Ve]).map(Ht=>Ht.toString()),Rt=ge.toLowerCase();this.headers.set(Rt,dt),this.maybeSetNormalizedName(ge,Rt)}forEach(ge){this.init(),Array.from(this.normalizedNames.keys()).forEach(Ve=>ge(this.normalizedNames.get(Ve),this.headers.get(Ve)))}}class Ae{encodeKey(ge){return ze(ge)}encodeValue(ge){return ze(ge)}decodeKey(ge){return decodeURIComponent(ge)}decodeValue(ge){return decodeURIComponent(ge)}}const se=/%(\d[a-f0-9])/gi,ue={40:"@","3A":":",24:"$","2C":",","3B":";","3D":"=","3F":"?","2F":"/"};function ze(Ee){return encodeURIComponent(Ee).replace(se,(ge,Ve)=>ue[Ve]??ge)}function oe(Ee){return`${Ee}`}class N{constructor(ge={}){if(this.updates=null,this.cloneFrom=null,this.encoder=ge.encoder||new Ae,ge.fromString){if(ge.fromObject)throw new Error("Cannot specify both fromString and fromObject.");this.map=function Le(Ee,ge){const Ve=new Map;return Ee.length>0&&Ee.replace(/^\?/,"").split("&").forEach(Rt=>{const Ht=Rt.indexOf("="),[Nt,nn]=-1==Ht?[ge.decodeKey(Rt),""]:[ge.decodeKey(Rt.slice(0,Ht)),ge.decodeValue(Rt.slice(Ht+1))],cn=Ve.get(Nt)||[];cn.push(nn),Ve.set(Nt,cn)}),Ve}(ge.fromString,this.encoder)}else ge.fromObject?(this.map=new Map,Object.keys(ge.fromObject).forEach(Ve=>{const dt=ge.fromObject[Ve],Rt=Array.isArray(dt)?dt.map(oe):[oe(dt)];this.map.set(Ve,Rt)})):this.map=null}has(ge){return this.init(),this.map.has(ge)}get(ge){this.init();const Ve=this.map.get(ge);return Ve?Ve[0]:null}getAll(ge){return this.init(),this.map.get(ge)||null}keys(){return this.init(),Array.from(this.map.keys())}append(ge,Ve){return this.clone({param:ge,value:Ve,op:"a"})}appendAll(ge){const Ve=[];return Object.keys(ge).forEach(dt=>{const Rt=ge[dt];Array.isArray(Rt)?Rt.forEach(Ht=>{Ve.push({param:dt,value:Ht,op:"a"})}):Ve.push({param:dt,value:Rt,op:"a"})}),this.clone(Ve)}set(ge,Ve){return this.clone({param:ge,value:Ve,op:"s"})}delete(ge,Ve){return this.clone({param:ge,value:Ve,op:"d"})}toString(){return this.init(),this.keys().map(ge=>{const Ve=this.encoder.encodeKey(ge);return this.map.get(ge).map(dt=>Ve+"="+this.encoder.encodeValue(dt)).join("&")}).filter(ge=>""!==ge).join("&")}clone(ge){const Ve=new N({encoder:this.encoder});return Ve.cloneFrom=this.cloneFrom||this,Ve.updates=(this.updates||[]).concat(ge),Ve}init(){null===this.map&&(this.map=new Map),null!==this.cloneFrom&&(this.cloneFrom.init(),this.cloneFrom.keys().forEach(ge=>this.map.set(ge,this.cloneFrom.map.get(ge))),this.updates.forEach(ge=>{switch(ge.op){case"a":case"s":const Ve=("a"===ge.op?this.map.get(ge.param):void 0)||[];Ve.push(oe(ge.value)),this.map.set(ge.param,Ve);break;case"d":if(void 0===ge.value){this.map.delete(ge.param);break}{let dt=this.map.get(ge.param)||[];const Rt=dt.indexOf(oe(ge.value));-1!==Rt&&dt.splice(Rt,1),dt.length>0?this.map.set(ge.param,dt):this.map.delete(ge.param)}}}),this.cloneFrom=this.updates=null)}}class K{constructor(){this.map=new Map}set(ge,Ve){return this.map.set(ge,Ve),this}get(ge){return this.map.has(ge)||this.map.set(ge,ge.defaultValue()),this.map.get(ge)}delete(ge){return this.map.delete(ge),this}has(ge){return this.map.has(ge)}keys(){return this.map.keys()}}function ye(Ee){return typeof ArrayBuffer<"u"&&Ee instanceof ArrayBuffer}function He(Ee){return typeof Blob<"u"&&Ee instanceof Blob}function ft(Ee){return typeof FormData<"u"&&Ee instanceof FormData}class xt{constructor(ge,Ve,dt,Rt){let Ht;if(this.url=Ve,this.body=null,this.reportProgress=!1,this.withCredentials=!1,this.responseType="json",this.method=ge.toUpperCase(),function ve(Ee){switch(Ee){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}(this.method)||Rt?(this.body=void 0!==dt?dt:null,Ht=Rt):Ht=dt,Ht&&(this.reportProgress=!!Ht.reportProgress,this.withCredentials=!!Ht.withCredentials,Ht.responseType&&(this.responseType=Ht.responseType),Ht.headers&&(this.headers=Ht.headers),Ht.context&&(this.context=Ht.context),Ht.params&&(this.params=Ht.params)),this.headers||(this.headers=new ce),this.context||(this.context=new K),this.params){const Nt=this.params.toString();if(0===Nt.length)this.urlWithParams=Ve;else{const nn=Ve.indexOf("?");this.urlWithParams=Ve+(-1===nn?"?":nnXn.set(zn,ge.setHeaders[zn]),cn)),ge.setParams&&(Ln=Object.keys(ge.setParams).reduce((Xn,zn)=>Xn.set(zn,ge.setParams[zn]),Ln)),new xt(Ve,dt,Ht,{params:Ln,headers:cn,context:jn,reportProgress:nn,responseType:Rt,withCredentials:Nt})}}var Ut=function(Ee){return Ee[Ee.Sent=0]="Sent",Ee[Ee.UploadProgress=1]="UploadProgress",Ee[Ee.ResponseHeader=2]="ResponseHeader",Ee[Ee.DownloadProgress=3]="DownloadProgress",Ee[Ee.Response=4]="Response",Ee[Ee.User=5]="User",Ee}(Ut||{});class It{constructor(ge,Ve=200,dt="OK"){this.headers=ge.headers||new ce,this.status=void 0!==ge.status?ge.status:Ve,this.statusText=ge.statusText||dt,this.url=ge.url||null,this.ok=this.status>=200&&this.status<300}}class sn extends It{constructor(ge={}){super(ge),this.type=Ut.ResponseHeader}clone(ge={}){return new sn({headers:ge.headers||this.headers,status:void 0!==ge.status?ge.status:this.status,statusText:ge.statusText||this.statusText,url:ge.url||this.url||void 0})}}class Xe extends It{constructor(ge={}){super(ge),this.type=Ut.Response,this.body=void 0!==ge.body?ge.body:null}clone(ge={}){return new Xe({body:void 0!==ge.body?ge.body:this.body,headers:ge.headers||this.headers,status:void 0!==ge.status?ge.status:this.status,statusText:ge.statusText||this.statusText,url:ge.url||this.url||void 0})}}class At extends It{constructor(ge){super(ge,0,"Unknown Error"),this.name="HttpErrorResponse",this.ok=!1,this.message=this.status>=200&&this.status<300?`Http failure during parsing for ${ge.url||"(unknown url)"}`:`Http failure response for ${ge.url||"(unknown url)"}: ${ge.status} ${ge.statusText}`,this.error=ge.error||null}}function Y(Ee,ge){return{body:ge,headers:Ee.headers,context:Ee.context,observe:Ee.observe,params:Ee.params,reportProgress:Ee.reportProgress,responseType:Ee.responseType,withCredentials:Ee.withCredentials}}let P=(()=>{class Ee{constructor(Ve){this.handler=Ve}request(Ve,dt,Rt={}){let Ht;if(Ve instanceof xt)Ht=Ve;else{let cn,Ln;cn=Rt.headers instanceof ce?Rt.headers:new ce(Rt.headers),Rt.params&&(Ln=Rt.params instanceof N?Rt.params:new N({fromObject:Rt.params})),Ht=new xt(Ve,dt,void 0!==Rt.body?Rt.body:null,{headers:cn,context:Rt.context,params:Ln,reportProgress:Rt.reportProgress,responseType:Rt.responseType||"json",withCredentials:Rt.withCredentials})}const Nt=(0,l.of)(Ht).pipe((0,H.b)(cn=>this.handler.handle(cn)));if(Ve instanceof xt||"events"===Rt.observe)return Nt;const nn=Nt.pipe((0,Q.h)(cn=>cn instanceof Xe));switch(Rt.observe||"body"){case"body":switch(Ht.responseType){case"arraybuffer":return nn.pipe((0,ne.U)(cn=>{if(null!==cn.body&&!(cn.body instanceof ArrayBuffer))throw new Error("Response is not an ArrayBuffer.");return cn.body}));case"blob":return nn.pipe((0,ne.U)(cn=>{if(null!==cn.body&&!(cn.body instanceof Blob))throw new Error("Response is not a Blob.");return cn.body}));case"text":return nn.pipe((0,ne.U)(cn=>{if(null!==cn.body&&"string"!=typeof cn.body)throw new Error("Response is not a string.");return cn.body}));default:return nn.pipe((0,ne.U)(cn=>cn.body))}case"response":return nn;default:throw new Error(`Unreachable: unhandled observe type ${Rt.observe}}`)}}delete(Ve,dt={}){return this.request("DELETE",Ve,dt)}get(Ve,dt={}){return this.request("GET",Ve,dt)}head(Ve,dt={}){return this.request("HEAD",Ve,dt)}jsonp(Ve,dt){return this.request("JSONP",Ve,{params:(new N).append(dt,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}options(Ve,dt={}){return this.request("OPTIONS",Ve,dt)}patch(Ve,dt,Rt={}){return this.request("PATCH",Ve,Y(Rt,dt))}post(Ve,dt,Rt={}){return this.request("POST",Ve,Y(Rt,dt))}put(Ve,dt,Rt={}){return this.request("PUT",Ve,Y(Rt,dt))}static#e=this.\u0275fac=function(dt){return new(dt||Ee)(n.LFG(xe))};static#t=this.\u0275prov=n.Yz7({token:Ee,factory:Ee.\u0275fac})}return Ee})();function je(Ee,ge){return ge(Ee)}const Bt=new n.OlP(""),Je=new n.OlP("");let Oe=(()=>{class Ee extends xe{constructor(Ve,dt){super(),this.backend=Ve,this.injector=dt,this.chain=null,this.pendingTasks=(0,n.f3M)(n.HDt)}handle(Ve){if(null===this.chain){const Rt=Array.from(new Set([...this.injector.get(Bt),...this.injector.get(Je,[])]));this.chain=Rt.reduceRight((Ht,Nt)=>function st(Ee,ge,Ve){return(dt,Rt)=>Ve.runInContext(()=>ge(dt,Ht=>Ee(Ht,Rt)))}(Ht,Nt,this.injector),je)}const dt=this.pendingTasks.add();return this.chain(Ve,Rt=>this.backend.handle(Rt)).pipe((0,we.x)(()=>this.pendingTasks.remove(dt)))}static#e=this.\u0275fac=function(dt){return new(dt||Ee)(n.LFG(fe),n.LFG(n.lqb))};static#t=this.\u0275prov=n.Yz7({token:Ee,factory:Ee.\u0275fac})}return Ee})();const lt=/^\)\]\}',?\n/;let mt=(()=>{class Ee{constructor(Ve){this.xhrFactory=Ve}handle(Ve){if("JSONP"===Ve.method)throw new n.vHH(-2800,!1);const dt=this.xhrFactory;return(dt.\u0275loadImpl?(0,w.D)(dt.\u0275loadImpl()):(0,l.of)(null)).pipe((0,ie.w)(()=>new E.y(Ht=>{const Nt=dt.build();if(Nt.open(Ve.method,Ve.urlWithParams),Ve.withCredentials&&(Nt.withCredentials=!0),Ve.headers.forEach((Tn,Sn)=>Nt.setRequestHeader(Tn,Sn.join(","))),Ve.headers.has("Accept")||Nt.setRequestHeader("Accept","application/json, text/plain, */*"),!Ve.headers.has("Content-Type")){const Tn=Ve.detectContentTypeHeader();null!==Tn&&Nt.setRequestHeader("Content-Type",Tn)}if(Ve.responseType){const Tn=Ve.responseType.toLowerCase();Nt.responseType="json"!==Tn?Tn:"text"}const nn=Ve.serializeBody();let cn=null;const Ln=()=>{if(null!==cn)return cn;const Tn=Nt.statusText||"OK",Sn=new ce(Nt.getAllResponseHeaders()),Ci=function ht(Ee){return"responseURL"in Ee&&Ee.responseURL?Ee.responseURL:/^X-Request-URL:/m.test(Ee.getAllResponseHeaders())?Ee.getResponseHeader("X-Request-URL"):null}(Nt)||Ve.url;return cn=new sn({headers:Sn,status:Nt.status,statusText:Tn,url:Ci}),cn},jn=()=>{let{headers:Tn,status:Sn,statusText:Ci,url:Ei}=Ln(),Vn=null;204!==Sn&&(Vn=typeof Nt.response>"u"?Nt.responseText:Nt.response),0===Sn&&(Sn=Vn?200:0);let oi=Sn>=200&&Sn<300;if("json"===Ve.responseType&&"string"==typeof Vn){const Qe=Vn;Vn=Vn.replace(lt,"");try{Vn=""!==Vn?JSON.parse(Vn):null}catch(Dt){Vn=Qe,oi&&(oi=!1,Vn={error:Dt,text:Vn})}}oi?(Ht.next(new Xe({body:Vn,headers:Tn,status:Sn,statusText:Ci,url:Ei||void 0})),Ht.complete()):Ht.error(new At({error:Vn,headers:Tn,status:Sn,statusText:Ci,url:Ei||void 0}))},Xn=Tn=>{const{url:Sn}=Ln(),Ci=new At({error:Tn,status:Nt.status||0,statusText:Nt.statusText||"Unknown Error",url:Sn||void 0});Ht.error(Ci)};let zn=!1;const li=Tn=>{zn||(Ht.next(Ln()),zn=!0);let Sn={type:Ut.DownloadProgress,loaded:Tn.loaded};Tn.lengthComputable&&(Sn.total=Tn.total),"text"===Ve.responseType&&Nt.responseText&&(Sn.partialText=Nt.responseText),Ht.next(Sn)},gi=Tn=>{let Sn={type:Ut.UploadProgress,loaded:Tn.loaded};Tn.lengthComputable&&(Sn.total=Tn.total),Ht.next(Sn)};return Nt.addEventListener("load",jn),Nt.addEventListener("error",Xn),Nt.addEventListener("timeout",Xn),Nt.addEventListener("abort",Xn),Ve.reportProgress&&(Nt.addEventListener("progress",li),null!==nn&&Nt.upload&&Nt.upload.addEventListener("progress",gi)),Nt.send(nn),Ht.next({type:Ut.Sent}),()=>{Nt.removeEventListener("error",Xn),Nt.removeEventListener("abort",Xn),Nt.removeEventListener("load",jn),Nt.removeEventListener("timeout",Xn),Ve.reportProgress&&(Nt.removeEventListener("progress",li),null!==nn&&Nt.upload&&Nt.upload.removeEventListener("progress",gi)),Nt.readyState!==Nt.DONE&&Nt.abort()}})))}static#e=this.\u0275fac=function(dt){return new(dt||Ee)(n.LFG(J.JF))};static#t=this.\u0275prov=n.Yz7({token:Ee,factory:Ee.\u0275fac})}return Ee})();const Mt=new n.OlP("XSRF_ENABLED"),Wt=new n.OlP("XSRF_COOKIE_NAME",{providedIn:"root",factory:()=>"XSRF-TOKEN"}),$t=new n.OlP("XSRF_HEADER_NAME",{providedIn:"root",factory:()=>"X-XSRF-TOKEN"});class An{}let bn=(()=>{class Ee{constructor(Ve,dt,Rt){this.doc=Ve,this.platform=dt,this.cookieName=Rt,this.lastCookieString="",this.lastToken=null,this.parseCount=0}getToken(){if("server"===this.platform)return null;const Ve=this.doc.cookie||"";return Ve!==this.lastCookieString&&(this.parseCount++,this.lastToken=(0,J.Mx)(Ve,this.cookieName),this.lastCookieString=Ve),this.lastToken}static#e=this.\u0275fac=function(dt){return new(dt||Ee)(n.LFG(J.K0),n.LFG(n.Lbi),n.LFG(Wt))};static#t=this.\u0275prov=n.Yz7({token:Ee,factory:Ee.\u0275fac})}return Ee})();function pn(Ee,ge){const Ve=Ee.url.toLowerCase();if(!(0,n.f3M)(Mt)||"GET"===Ee.method||"HEAD"===Ee.method||Ve.startsWith("http://")||Ve.startsWith("https://"))return ge(Ee);const dt=(0,n.f3M)(An).getToken(),Rt=(0,n.f3M)($t);return null!=dt&&!Ee.headers.has(Rt)&&(Ee=Ee.clone({headers:Ee.headers.set(Rt,dt)})),ge(Ee)}function ut(...Ee){const ge=[P,mt,Oe,{provide:xe,useExisting:Oe},{provide:fe,useExisting:mt},{provide:Bt,useValue:pn,multi:!0},{provide:Mt,useValue:!0},{provide:An,useClass:bn}];for(const Ve of Ee)ge.push(...Ve.\u0275providers);return(0,n.MR2)(ge)}},5879:(_t,Me,p)=>{p.d(Me,{$8M:()=>ks,$WT:()=>_i,$Z:()=>Ym,AFp:()=>hm,ALo:()=>Ab,AaK:()=>fe,Akn:()=>mr,BQk:()=>Jd,CHM:()=>Du,CRH:()=>Yb,DdM:()=>yb,EJc:()=>Jw,EiD:()=>tm,EpF:()=>Vg,F$t:()=>$g,F4k:()=>Hg,FYo:()=>vm,FiY:()=>jr,Gf:()=>$b,GfV:()=>ym,GkF:()=>Df,Gpc:()=>Ae,Gre:()=>D_,HDt:()=>mv,Hsn:()=>Zg,Ikx:()=>Bf,JOm:()=>Ea,JVY:()=>l0,JZr:()=>oe,Jf7:()=>Rm,KtG:()=>Tu,L6k:()=>c0,LAX:()=>u0,LFG:()=>Pt,LSH:()=>Ih,Lbi:()=>Bh,Lck:()=>UE,MAs:()=>Ng,MMx:()=>hb,MR2:()=>Oh,NdJ:()=>Mf,O4$:()=>zc,Ojb:()=>B0,OlP:()=>ai,Oqu:()=>Lf,P3R:()=>im,Q6J:()=>Cf,QGY:()=>Tf,QbO:()=>L0,Qsj:()=>q0,R0b:()=>so,RDi:()=>Zr,RIp:()=>sm,Rgc:()=>_c,SBq:()=>Xl,Sil:()=>eD,Suo:()=>Zb,TTD:()=>Gn,TgZ:()=>Wd,Tol:()=>l_,Udp:()=>kf,VKq:()=>xb,VuI:()=>r1,W1O:()=>Jb,WFA:()=>Sf,WLB:()=>Cb,X6Q:()=>RD,XFs:()=>it,Xpm:()=>xi,Xq5:()=>yg,Xts:()=>Wl,Y36:()=>La,YKP:()=>db,YNc:()=>Pg,Yjl:()=>Ti,Yz7:()=>nt,Z0I:()=>Oe,ZZ4:()=>bp,_Bn:()=>cb,_UZ:()=>wf,_Vd:()=>Jl,_uU:()=>m_,aQg:()=>vp,c2e:()=>pv,cJS:()=>Je,cg1:()=>Hf,d8E:()=>Vf,dDg:()=>yD,dqk:()=>mt,eBb:()=>d0,eJc:()=>np,ekj:()=>Ff,eoX:()=>xv,f3M:()=>wt,g9A:()=>fm,gHi:()=>Fd,h0i:()=>Ys,hij:()=>eu,iGM:()=>Gb,iPO:()=>TD,ifc:()=>Ht,jDz:()=>fb,kEZ:()=>Eb,kL8:()=>F_,kcU:()=>Gc,ktI:()=>ql,l5B:()=>wb,lG2:()=>Si,lcZ:()=>Ob,lqb:()=>Ar,lri:()=>vv,mCW:()=>wd,n5z:()=>zo,n_E:()=>ru,oAB:()=>Mi,oxw:()=>Gg,pB0:()=>h0,q3G:()=>js,qLn:()=>gs,qOj:()=>pf,qZA:()=>Kd,qzn:()=>Aa,rWj:()=>yv,rg0:()=>Fe,s9C:()=>If,sBO:()=>PD,s_b:()=>lu,soG:()=>du,tb:()=>hp,tp0:()=>zr,uIk:()=>gf,vHH:()=>N,vpe:()=>Or,wAp:()=>Qa,xi3:()=>Rb,xp6:()=>$m,ynx:()=>Qd,z2F:()=>el,z3N:()=>Wr,zSh:()=>kh,zs3:()=>pr});var n=p(8645),l=p(7394),w=p(5592),E=p(3019),H=p(5619),Q=p(2096),ne=p(3020),we=p(4664),ie=p(3997);function J(e){for(let t in e)if(e[t]===J)return t;throw Error("Could not find renamed property on target object.")}function xe(e,t){for(const i in t)t.hasOwnProperty(i)&&!e.hasOwnProperty(i)&&(e[i]=t[i])}function fe(e){if("string"==typeof e)return e;if(Array.isArray(e))return"["+e.map(fe).join(", ")+"]";if(null==e)return""+e;if(e.overriddenName)return`${e.overriddenName}`;if(e.name)return`${e.name}`;const t=e.toString();if(null==t)return""+t;const i=t.indexOf("\n");return-1===i?t:t.substring(0,i)}function ce(e,t){return null==e||""===e?null===t?"":t:null==t||""===t?e:e+" "+t}const De=J({__forward_ref__:J});function Ae(e){return e.__forward_ref__=Ae,e.toString=function(){return fe(this())},e}function Le(e){return se(e)?e():e}function se(e){return"function"==typeof e&&e.hasOwnProperty(De)&&e.__forward_ref__===Ae}function ue(e){return e&&!!e.\u0275providers}const oe="https://g.co/ng/security#xss";class N extends Error{constructor(t,i){super(function Ce(e,t){return`NG0${Math.abs(e)}${t?": "+t:""}`}(t,i)),this.code=t}}function K(e){return"string"==typeof e?e:null==e?"":String(e)}function ct(e,t){throw new N(-201,!1)}function Pe(e,t){null==e&&function re(e,t,i,o){throw new Error(`ASSERTION ERROR: ${e}`+(null==o?"":` [Expected=> ${i} ${o} ${t} <=Actual]`))}(t,e,null,"!=")}function nt(e){return{token:e.token,providedIn:e.providedIn||null,factory:e.factory,value:void 0}}function Je(e){return{providers:e.providers||[],imports:e.imports||[]}}function bt(e){return rt(e,tn)||rt(e,Zt)}function Oe(e){return null!==bt(e)}function rt(e,t){return e.hasOwnProperty(t)?e[t]:null}function en(e){return e&&(e.hasOwnProperty(fn)||e.hasOwnProperty(Mn))?e[fn]:null}const tn=J({\u0275prov:J}),fn=J({\u0275inj:J}),Zt=J({ngInjectableDef:J}),Mn=J({ngInjectorDef:J});var it=function(e){return e[e.Default=0]="Default",e[e.Host=1]="Host",e[e.Self=2]="Self",e[e.SkipSelf=4]="SkipSelf",e[e.Optional=8]="Optional",e}(it||{});let $;function be(){return $}function Be(e){const t=$;return $=e,t}function lt(e,t,i){const o=bt(e);return o&&"root"==o.providedIn?void 0===o.value?o.value=o.factory():o.value:i&it.Optional?null:void 0!==t?t:void ct(fe(e))}const mt=globalThis,le={},G="__NG_DI_FLAG__",Ie="ngTempTokenPath",St=/\n/gm,ee="__source";let S;function Ne(e){const t=S;return S=e,t}function yt(e,t=it.Default){if(void 0===S)throw new N(-203,!1);return null===S?lt(e,void 0,t):S.get(e,t&it.Optional?null:void 0,t)}function Pt(e,t=it.Default){return(be()||yt)(Le(e),t)}function wt(e,t=it.Default){return Pt(e,de(t))}function de(e){return typeof e>"u"||"number"==typeof e?e:0|(e.optional&&8)|(e.host&&1)|(e.self&&2)|(e.skipSelf&&4)}function ke(e){const t=[];for(let i=0;it){f=c-1;break}}}for(;cc?"":r[Te+1].toLowerCase();const ot=8&o?We:null;if(ot&&-1!==Tn(ot,I,0)||2&o&&I!==We){if(q(o))return!1;f=!0}}}}else{if(!f&&!q(o)&&!q(v))return!1;if(f&&q(v))continue;f=!1,o=v|1&o}}return q(o)||f}function q(e){return 0==(1&e)}function x(e,t,i,o){if(null===t)return-1;let r=0;if(o||!i){let c=!1;for(;r-1)for(i++;i0?'="'+g+'"':"")+"]"}else 8&o?r+="."+f:4&o&&(r+=" "+f);else""!==r&&!q(f)&&(t+=Yt(c,r),r=""),o=f,c=c||!q(o);i++}return""!==r&&(t+=Yt(c,r)),t}function xi(e){return dt(()=>{const t=Qi(e),i={...t,decls:e.decls,vars:e.vars,template:e.template,consts:e.consts||null,ngContentSelectors:e.ngContentSelectors,onPush:e.changeDetection===Rt.OnPush,directiveDefs:null,pipeDefs:null,dependencies:t.standalone&&e.dependencies||null,getStandaloneInjector:null,signals:e.signals??!1,data:e.data||{},encapsulation:e.encapsulation||Ht.Emulated,styles:e.styles||nn,_:null,schemas:e.schemas||null,tView:null,id:""};yo(i);const o=e.dependencies;return i.directiveDefs=Gi(o,!1),i.pipeDefs=Gi(o,!0),i.id=function b(e){let t=0;const i=[e.selectors,e.ngContentSelectors,e.hostVars,e.hostAttrs,e.consts,e.vars,e.decls,e.encapsulation,e.standalone,e.signals,e.exportAs,JSON.stringify(e.inputs),JSON.stringify(e.outputs),Object.getOwnPropertyNames(e.type.prototype),!!e.contentQueries,!!e.viewQuery].join("|");for(const r of i)t=Math.imul(31,t)+r.charCodeAt(0)<<0;return t+=2147483648,"c"+t}(i),i})}function fi(e){return En(e)||ei(e)}function zi(e){return null!==e}function Mi(e){return dt(()=>({type:e.type,bootstrap:e.bootstrap||nn,declarations:e.declarations||nn,imports:e.imports||nn,exports:e.exports||nn,transitiveCompileScopes:null,schemas:e.schemas||null,id:e.id||null}))}function qn(e,t){if(null==e)return Nt;const i={};for(const o in e)if(e.hasOwnProperty(o)){let r=e[o],c=r;Array.isArray(r)&&(c=r[1],r=r[0]),i[r]=o,t&&(t[r]=c)}return i}function Si(e){return dt(()=>{const t=Qi(e);return yo(t),t})}function Ti(e){return{type:e.type,name:e.name,factory:null,pure:!1!==e.pure,standalone:!0===e.standalone,onDestroy:e.type.prototype.ngOnDestroy||null}}function En(e){return e[cn]||null}function ei(e){return e[Ln]||null}function di(e){return e[jn]||null}function _i(e){const t=En(e)||ei(e)||di(e);return null!==t&&t.standalone}function ri(e,t){const i=e[Xn]||null;if(!i&&!0===t)throw new Error(`Type ${fe(e)} does not have '\u0275mod' property.`);return i}function Qi(e){const t={};return{type:e.type,providersResolver:null,factory:null,hostBindings:e.hostBindings||null,hostVars:e.hostVars||0,hostAttrs:e.hostAttrs||null,contentQueries:e.contentQueries||null,declaredInputs:t,inputTransforms:null,inputConfig:e.inputs||Nt,exportAs:e.exportAs||null,standalone:!0===e.standalone,signals:!0===e.signals,selectors:e.selectors||nn,viewQuery:e.viewQuery||null,features:e.features||null,setInput:null,findHostDirectiveDefs:null,hostDirectives:null,inputs:qn(e.inputs,t),outputs:qn(e.outputs)}}function yo(e){e.features?.forEach(t=>t(e))}function Gi(e,t){if(!e)return null;const i=t?di:fi;return()=>("function"==typeof e?e():e).map(o=>i(o)).filter(zi)}const z=0,h=1,M=2,T=3,Re=4,Ge=5,Gt=6,wn=7,rn=8,$n=9,ti=10,Vt=11,Un=12,br=13,xo=14,_n=15,Bi=16,To=17,$i=18,Mo=19,Lo=20,ao=21,fo=22,Bo=23,tt=24,kt=25,Xt=1,Kn=2,Qn=7,Yn=9,ui=11;function Ii(e){return Array.isArray(e)&&"object"==typeof e[Xt]}function Ai(e){return Array.isArray(e)&&!0===e[Xt]}function So(e){return 0!=(4&e.flags)}function lo(e){return e.componentOffset>-1}function nr(e){return 1==(1&e.flags)}function ki(e){return!!e.template}function Vi(e){return 0!=(512&e[M])}function or(e,t){return e.hasOwnProperty(zn)?e[zn]:null}let Zi=null,Cr=!1;function no(e){const t=Zi;return Zi=e,t}const Yo={version: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:()=>{}};function ol(e){if(!ns(e)||e.dirty){if(!e.producerMustRecompute(e)&&!na(e))return void(e.dirty=!1);e.producerRecomputeValue(e),e.dirty=!1}}function vs(e){e.dirty=!0,function ea(e){if(void 0===e.liveConsumerNode)return;const t=Cr;Cr=!0;try{for(const i of e.liveConsumerNode)i.dirty||vs(i)}finally{Cr=t}}(e),e.consumerMarkedDirty?.(e)}function ta(e){return e&&(e.nextProducerIndex=0),no(e)}function ts(e,t){if(no(t),e&&void 0!==e.producerNode&&void 0!==e.producerIndexOfThis&&void 0!==e.producerLastReadVersion){if(ns(e))for(let i=e.nextProducerIndex;ie.nextProducerIndex;)e.producerNode.pop(),e.producerLastReadVersion.pop(),e.producerIndexOfThis.pop()}}function na(e){Ho(e);for(let t=0;t0}function Ho(e){e.producerNode??=[],e.producerIndexOfThis??=[],e.producerLastReadVersion??=[]}let Tc=null;function Fe(e){const t=no(null);try{return e()}finally{no(t)}}const Ot=()=>{},an=(()=>({...Yo,consumerIsAlwaysLive:!0,consumerAllowSignalWrites:!1,consumerMarkedDirty:e=>{e.schedule(e.ref)},hasRun:!1,cleanupFn:Ot}))();class ii{constructor(t,i,o){this.previousValue=t,this.currentValue=i,this.firstChange=o}isFirstChange(){return this.firstChange}}function Gn(){return Pn}function Pn(e){return e.type.prototype.ngOnChanges&&(e.setInput=hi),Oi}function Oi(){const e=Co(this),t=e?.current;if(t){const i=e.previous;if(i===Nt)e.previous=t;else for(let o in t)i[o]=t[o];e.current=null,this.ngOnChanges(t)}}function hi(e,t,i,o){const r=this.declaredInputs[i],c=Co(e)||function Uo(e,t){return e[Fi]=t}(e,{previous:Nt,current:null}),f=c.current||(c.current={}),g=c.previous,v=g[r];f[r]=new ii(v&&v.currentValue,t,g===Nt),e[o]=t}Gn.ngInherit=!0;const Fi="__ngSimpleChanges__";function Co(e){return e[Fi]||null}const Hi=function(e,t,i){},Ko="svg";function vi(e){for(;Array.isArray(e);)e=e[z];return e}function po(e,t){return vi(t[e])}function mo(e,t){return vi(t[e.index])}function Cs(e,t){return e.data[t]}function Lr(e,t){return e[t]}function Eo(e,t){const i=t[e];return Ii(i)?i:i[z]}function Er(e,t){return null==t?null:e[t]}function oa(e){e[To]=0}function Sc(e){1024&e[M]||(e[M]|=1024,ul(e,1))}function Ic(e){1024&e[M]&&(e[M]&=-1025,ul(e,-1))}function ul(e,t){let i=e[T];if(null===i)return;i[Ge]+=t;let o=i;for(i=i[T];null!==i&&(1===t&&1===o[Ge]||-1===t&&0===o[Ge]);)i[Ge]+=t,o=i,i=i[T]}function Qo(e,t){if(256==(256&e[M]))throw new N(911,!1);null===e[ao]&&(e[ao]=[]),e[ao].push(t)}const In={lFrame:Vc(null),bindingsEnabled:!0,skipHydrationRootTNode:null};function Rc(){return In.bindingsEnabled}function os(){return null!==In.skipHydrationRootTNode}function Lt(){return In.lFrame.lView}function Jn(){return In.lFrame.tView}function Du(e){return In.lFrame.contextLView=e,e[rn]}function Tu(e){return In.lFrame.contextLView=null,e}function io(){let e=Mu();for(;null!==e&&64===e.type;)e=e.parent;return e}function Mu(){return In.lFrame.currentTNode}function sr(e,t){const i=In.lFrame;i.currentTNode=e,i.isParent=t}function kc(){return In.lFrame.isParent}function Fc(){In.lFrame.isParent=!1}function go(){const e=In.lFrame;let t=e.bindingRootIndex;return-1===t&&(t=e.bindingRootIndex=e.tView.bindingStartIndex),t}function Es(){return In.lFrame.bindingIndex++}function Dr(e){const t=In.lFrame,i=t.bindingIndex;return t.bindingIndex=t.bindingIndex+e,i}function yi(e,t){const i=In.lFrame;i.bindingIndex=i.bindingRootIndex=e,sa(t)}function sa(e){In.lFrame.currentDirectiveIndex=e}function pl(e){const t=In.lFrame.currentDirectiveIndex;return-1===t?null:e[t]}function Nc(){return In.lFrame.currentQueryIndex}function ml(e){In.lFrame.currentQueryIndex=e}function Au(e){const t=e[h];return 2===t.type?t.declTNode:1===t.type?e[Gt]:null}function Lc(e,t,i){if(i&it.SkipSelf){let r=t,c=e;for(;!(r=r.parent,null!==r||i&it.Host||(r=Au(c),null===r||(c=c[xo],10&r.type))););if(null===r)return!1;t=r,e=c}const o=In.lFrame=Bc();return o.currentTNode=t,o.lView=e,!0}function gl(e){const t=Bc(),i=e[h];In.lFrame=t,t.currentTNode=i.firstChild,t.lView=e,t.tView=i,t.contextLView=e,t.bindingIndex=i.bindingStartIndex,t.inI18n=!1}function Bc(){const e=In.lFrame,t=null===e?null:e.child;return null===t?Vc(e):t}function Vc(e){const t={currentTNode:null,isParent:!0,lView:null,tView:null,selectedIndex:-1,contextLView:null,elementDepthCount:0,currentNamespace:null,currentDirectiveIndex:-1,bindingRootIndex:-1,bindingIndex:-1,currentQueryIndex:0,parent:e,child:null,inI18n:!1};return null!==e&&(e.child=t),t}function Hc(){const e=In.lFrame;return In.lFrame=e.parent,e.currentTNode=null,e.lView=null,e}const Uc=Hc;function jc(){const e=Hc();e.isParent=!0,e.tView=null,e.selectedIndex=-1,e.contextLView=null,e.elementDepthCount=0,e.currentDirectiveIndex=-1,e.currentNamespace=null,e.bindingRootIndex=-1,e.bindingIndex=-1,e.currentQueryIndex=0}function co(){return In.lFrame.selectedIndex}function Br(e){In.lFrame.selectedIndex=e}function Ri(){const e=In.lFrame;return Cs(e.tView,e.selectedIndex)}function zc(){In.lFrame.currentNamespace=Ko}function Gc(){!function ku(){In.lFrame.currentNamespace=null}()}let Zc=!0;function aa(){return Zc}function Tr(e){Zc=e}function la(e,t){for(let i=t.directiveStart,o=t.directiveEnd;i=o)break}else t[v]<0&&(e[To]+=65536),(g>13>16&&(3&e[M])===t&&(e[M]+=8192,Wc(g,c)):Wc(g,c)}const rs=-1;class ua{constructor(t,i,o){this.factory=t,this.resolving=!1,this.canSeeViewProviders=i,this.injectImpl=o}}function ha(e){return e!==rs}function ws(e){return 32767&e}function Ds(e,t){let i=function yl(e){return e>>16}(e),o=t;for(;i>0;)o=o[xo],i--;return o}let ar=!0;function Ts(e){const t=ar;return ar=e,t}const Vu=255,Qc=5;let Jc=0;const jo={};function Ms(e,t){const i=Xc(e,t);if(-1!==i)return i;const o=t[h];o.firstCreatePass&&(e.injectorIndex=t.length,Ss(o.data,e),Ss(t,null),Ss(o.blueprint,null));const r=Is(e,t),c=e.injectorIndex;if(ha(r)){const f=ws(r),g=Ds(r,t),v=g[h].data;for(let I=0;I<8;I++)t[c+I]=g[f+I]|v[f+I]}return t[c+8]=r,c}function Ss(e,t){e.push(0,0,0,0,0,0,0,0,t)}function Xc(e,t){return-1===e.injectorIndex||e.parent&&e.parent.injectorIndex===e.injectorIndex||null===t[e.injectorIndex+8]?-1:e.injectorIndex}function Is(e,t){if(e.parent&&-1!==e.parent.injectorIndex)return e.parent.injectorIndex;let i=0,o=null,r=t;for(;null!==r;){if(o=ed(r),null===o)return rs;if(i++,r=r[xo],-1!==o.injectorIndex)return o.injectorIndex|i<<16}return rs}function xl(e,t,i){!function kp(e,t,i){let o;"string"==typeof i?o=i.charCodeAt(0)||0:i.hasOwnProperty(li)&&(o=i[li]),null==o&&(o=i[li]=Jc++);const r=o&Vu;t.data[e+(r>>Qc)]|=1<=0?t&Vu:Mr:t}(i);if("function"==typeof c){if(!Lc(t,e,o))return o&it.Host?As(r,0,o):Os(t,i,o,r);try{let f;if(f=c(o),null!=f||o&it.Optional)return f;ct()}finally{Uc()}}else if("number"==typeof c){let f=null,g=Xc(e,t),v=rs,I=o&it.Host?t[_n][Gt]:null;for((-1===g||o&it.SkipSelf)&&(v=-1===g?Is(e,t):t[g+8],v!==rs&&ss(o,!1)?(f=t[h],g=ws(v),t=Ds(v,t)):g=-1);-1!==g;){const j=t[h];if(qc(c,g,j.data)){const Te=wl(g,t,i,f,o,I);if(Te!==jo)return Te}v=t[g+8],v!==rs&&ss(o,t[h].data[g+8]===I)&&qc(c,g,t)?(f=j,g=ws(v),t=Ds(v,t)):g=-1}}return r}function wl(e,t,i,o,r,c){const f=t[h],g=f.data[e+8],j=Ao(g,f,i,null==o?lo(g)&&ar:o!=f&&0!=(3&g.type),r&it.Host&&c===g);return null!==j?lr(t,f,j,g):jo}function Ao(e,t,i,o,r){const c=e.providerIndexes,f=t.data,g=1048575&c,v=e.directiveStart,j=c>>20,We=r?g+j:e.directiveEnd;for(let ot=o?g:g+j;ot=v&&Ct.type===i)return ot}if(r){const ot=f[v];if(ot&&ki(ot)&&ot.type===i)return v}return null}function lr(e,t,i,o){let r=e[i];const c=t.data;if(function Lu(e){return e instanceof ua}(r)){const f=r;f.resolving&&function ye(e,t){const i=t?`. Dependency path: ${t.join(" > ")} > ${e}`:"";throw new N(-200,`Circular dependency in DI detected for ${e}${i}`)}(function ve(e){return"function"==typeof e?e.name||e.toString():"object"==typeof e&&null!=e&&"function"==typeof e.type?e.type.name||e.type.toString():K(e)}(c[i]));const g=Ts(f.canSeeViewProviders);f.resolving=!0;const I=f.injectImpl?Be(f.injectImpl):null;Lc(e,o,it.Default);try{r=e[i]=f.factory(void 0,c,e,o),t.firstCreatePass&&i>=o.directiveStart&&function Fu(e,t,i){const{ngOnChanges:o,ngOnInit:r,ngDoCheck:c}=t.type.prototype;if(o){const f=Pn(t);(i.preOrderHooks??=[]).push(e,f),(i.preOrderCheckHooks??=[]).push(e,f)}r&&(i.preOrderHooks??=[]).push(0-e,r),c&&((i.preOrderHooks??=[]).push(e,c),(i.preOrderCheckHooks??=[]).push(e,c))}(i,c[i],t)}finally{null!==I&&Be(I),Ts(g),f.resolving=!1,Uc()}}return r}function qc(e,t,i){return!!(i[t+(e>>Qc)]&1<{const t=e.prototype.constructor,i=t[zn]||cr(t),o=Object.prototype;let r=Object.getPrototypeOf(e.prototype).constructor;for(;r&&r!==o;){const c=r[zn]||cr(r);if(c&&c!==i)return c;r=Object.getPrototypeOf(r)}return c=>new c})}function cr(e){return se(e)?()=>{const t=cr(Le(e));return t&&t()}:or(e)}function ed(e){const t=e[h],i=t.type;return 2===i?t.declTNode:1===i?e[Gt]:null}function ks(e){return function Cl(e,t){if("class"===t)return e.classes;if("style"===t)return e.styles;const i=e.attrs;if(i){const o=i.length;let r=0;for(;r{const o=function Fs(e){return function(...i){if(e){const o=e(...i);for(const r in o)this[r]=o[r]}}}(t);function r(...c){if(this instanceof r)return o.apply(this,c),this;const f=new r(...c);return g.annotation=f,g;function g(v,I,j){const Te=v.hasOwnProperty(Xo)?v[Xo]:Object.defineProperty(v,Xo,{value:[]})[Xo];for(;Te.length<=j;)Te.push(null);return(Te[j]=Te[j]||[]).push(f),v}}return i&&(r.prototype=Object.create(i.prototype)),r.prototype.ngMetadataName=e,r.annotationCls=r,r})}function Hr(e,t){e.forEach(i=>Array.isArray(i)?Hr(i,t):t(i))}function Dl(e,t,i){t>=e.length?e.push(i):e.splice(t,0,i)}function ga(e,t){return t>=e.length-1?e.pop():e.splice(t,1)[0]}function Ur(e,t){const i=[];for(let o=0;o=0?e[1|o]=i:(o=~o,function Gu(e,t,i,o){let r=e.length;if(r==t)e.push(i,o);else if(1===r)e.push(o,e[0]),e[0]=i;else{for(r--,e.push(e[r-1],e[r]);r>t;)e[r]=e[r-2],r--;e[t]=i,e[t+1]=o}}(e,o,t,i)),o}function Tl(e,t){const i=ls(e,t);if(i>=0)return e[1|i]}function ls(e,t){return function _a(e,t,i){let o=0,r=e.length>>i;for(;r!==o;){const c=o+(r-o>>1),f=e[c<t?r=c:o=c+1}return~(r<|^->||--!>|)/g,uh="\u200b$1\u200b";const ps=new Map;let hh=0;const wa="__ngContext__";function ji(e,t){Ii(t)?(e[wa]=t[Mo],function Hl(e){ps.set(e[Mo],e)}(t)):e[wa]=t}let zl;function vd(e,t){return zl(e,t)}function Da(e){const t=e[T];return Ai(t)?t[T]:t}function yd(e){return Ta(e[Un])}function xd(e){return Ta(e[Re])}function Ta(e){for(;null!==e&&!Ai(e);)e=e[Re];return e}function Sr(e,t,i,o,r){if(null!=o){let c,f=!1;Ai(o)?c=o:Ii(o)&&(f=!0,o=o[z]);const g=vi(o);0===e&&null!==i?null==r?Tt(t,i,g):Ye(t,i,g,r||null,!0):1===e&&null!==i?Ye(t,i,g,r||null,!0):2===e?function Ro(e,t,i){const o=dn(e,t);o&&function on(e,t,i,o){e.removeChild(t,i,o)}(e,o,t,i)}(t,g,f):3===e&&t.destroyNode(g),null!=c&&function Ed(e,t,i,o,r){const c=i[Qn];c!==vi(i)&&Sr(t,e,o,c,r);for(let g=ui;gt.replace(dd,uh))}(t))}function Sa(e,t,i){return e.createElement(t,i)}function a(e,t){const i=e[Yn],o=i.indexOf(t);Ic(t),i.splice(o,1)}function s(e,t){if(e.length<=ui)return;const i=ui+t,o=e[i];if(o){const r=o[Bi];null!==r&&r!==e&&a(r,o),t>0&&(e[i-1][Re]=o[Re]);const c=ga(e,ui+t);!function xh(e,t){fr(e,t,t[Vt],2,null,null),t[z]=null,t[Gt]=null}(o[h],o);const f=c[$i];null!==f&&f.detachView(c[h]),o[T]=null,o[Re]=null,o[M]&=-129}return o}function d(e,t){if(!(256&t[M])){const i=t[Vt];t[Bo]&&rl(t[Bo]),t[tt]&&rl(t[tt]),i.destroyNode&&fr(e,t,i,3,null,null),function Ch(e){let t=e[Un];if(!t)return m(e[h],e);for(;t;){let i=null;if(Ii(t))i=t[Un];else{const o=t[ui];o&&(i=o)}if(!i){for(;t&&!t[Re]&&t!==e;)Ii(t)&&m(t[h],t),t=t[T];null===t&&(t=e),Ii(t)&&m(t[h],t),i=t&&t[Re]}t=i}}(t)}}function m(e,t){if(!(256&t[M])){t[M]&=-129,t[M]|=256,function R(e,t){let i;if(null!=e&&null!=(i=e.destroyHooks))for(let o=0;o=0?o[f]():o[-f].unsubscribe(),c+=2}else i[c].call(o[i[c+1]]);null!==o&&(t[wn]=null);const r=t[ao];if(null!==r){t[ao]=null;for(let c=0;c-1){const{encapsulation:c}=e.data[o.directiveStart+r];if(c===Ht.None||c===Ht.Emulated)return null}return mo(o,i)}}(e,t.parent,i)}function Ye(e,t,i,o,r){e.insertBefore(t,i,o,r)}function Tt(e,t,i){e.appendChild(t,i)}function zt(e,t,i,o,r){null!==o?Ye(e,t,i,o,r):Tt(e,t,i)}function dn(e,t){return e.parentNode(t)}function si(e,t,i){return Ni(e,t,i)}let qi,Li,Ki,Yr,Ni=function pi(e,t,i){return 40&e.type?mo(e,i):null};function hr(e,t,i,o){const r=X(e,o,t),c=t[Vt],g=si(o.parent||t[Gt],o,t);if(null!=r)if(Array.isArray(i))for(let v=0;ve,createScript:e=>e,createScriptURL:e=>e})}catch{}return Li}()?.createHTML(e)||e}function Zr(e){Ki=e}function Wp(e){return function Hs(){if(void 0===Yr&&(Yr=null,mt.trustedTypes))try{Yr=mt.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch{}return Yr}()?.createScriptURL(e)||e}class Us{constructor(t){this.changingThisBreaksApplicationSecurity=t}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see ${oe})`}}class t0 extends Us{getTypeName(){return"HTML"}}class n0 extends Us{getTypeName(){return"Style"}}class o0 extends Us{getTypeName(){return"Script"}}class r0 extends Us{getTypeName(){return"URL"}}class s0 extends Us{getTypeName(){return"ResourceURL"}}function Wr(e){return e instanceof Us?e.changingThisBreaksApplicationSecurity:e}function Aa(e,t){const i=function a0(e){return e instanceof Us&&e.getTypeName()||null}(e);if(null!=i&&i!==t){if("ResourceURL"===i&&"URL"===t)return!0;throw new Error(`Required a safe ${t}, got a ${i} (see ${oe})`)}return i===t}function l0(e){return new t0(e)}function c0(e){return new n0(e)}function d0(e){return new o0(e)}function u0(e){return new r0(e)}function h0(e){return new s0(e)}class f0{constructor(t){this.inertDocumentHelper=t}getInertBodyElement(t){t=""+t;try{const i=(new window.DOMParser).parseFromString(Wi(t),"text/html").body;return null===i?this.inertDocumentHelper.getInertBodyElement(t):(i.removeChild(i.firstChild),i)}catch{return null}}}class p0{constructor(t){this.defaultDoc=t,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert")}getInertBodyElement(t){const i=this.inertDocument.createElement("template");return i.innerHTML=Wi(t),i}}const g0=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:\/?#]*(?:[\/?#]|$))/i;function wd(e){return(e=String(e)).match(g0)?e:"unsafe:"+e}function Kr(e){const t={};for(const i of e.split(","))t[i]=!0;return t}function Zl(...e){const t={};for(const i of e)for(const o in i)i.hasOwnProperty(o)&&(t[o]=!0);return t}const Qp=Kr("area,br,col,hr,img,wbr"),Jp=Kr("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),Xp=Kr("rp,rt"),Th=Zl(Qp,Zl(Jp,Kr("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")),Zl(Xp,Kr("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")),Zl(Xp,Jp)),Mh=Kr("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),qp=Zl(Mh,Kr("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"),Kr("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")),_0=Kr("script,style,template");class b0{constructor(){this.sanitizedSomething=!1,this.buf=[]}sanitizeChildren(t){let i=t.firstChild,o=!0;for(;i;)if(i.nodeType===Node.ELEMENT_NODE?o=this.startElement(i):i.nodeType===Node.TEXT_NODE?this.chars(i.nodeValue):this.sanitizedSomething=!0,o&&i.firstChild)i=i.firstChild;else for(;i;){i.nodeType===Node.ELEMENT_NODE&&this.endElement(i);let r=this.checkClobberedElement(i,i.nextSibling);if(r){i=r;break}i=this.checkClobberedElement(i,i.parentNode)}return this.buf.join("")}startElement(t){const i=t.nodeName.toLowerCase();if(!Th.hasOwnProperty(i))return this.sanitizedSomething=!0,!_0.hasOwnProperty(i);this.buf.push("<"),this.buf.push(i);const o=t.attributes;for(let r=0;r"),!0}endElement(t){const i=t.nodeName.toLowerCase();Th.hasOwnProperty(i)&&!Qp.hasOwnProperty(i)&&(this.buf.push(""))}chars(t){this.buf.push(em(t))}checkClobberedElement(t,i){if(i&&(t.compareDocumentPosition(i)&Node.DOCUMENT_POSITION_CONTAINED_BY)===Node.DOCUMENT_POSITION_CONTAINED_BY)throw new Error(`Failed to sanitize html because the element is clobbered: ${t.outerHTML}`);return i}}const v0=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,y0=/([^\#-~ |!])/g;function em(e){return e.replace(/&/g,"&").replace(v0,function(t){return"&#"+(1024*(t.charCodeAt(0)-55296)+(t.charCodeAt(1)-56320)+65536)+";"}).replace(y0,function(t){return"&#"+t.charCodeAt(0)+";"}).replace(//g,">")}let Dd;function tm(e,t){let i=null;try{Dd=Dd||function Kp(e){const t=new p0(e);return function m0(){try{return!!(new window.DOMParser).parseFromString(Wi(""),"text/html")}catch{return!1}}()?new f0(t):t}(e);let o=t?String(t):"";i=Dd.getInertBodyElement(o);let r=5,c=o;do{if(0===r)throw new Error("Failed to sanitize html because the input is unstable");r--,o=c,c=i.innerHTML,i=Dd.getInertBodyElement(o)}while(o!==c);return Wi((new b0).sanitizeChildren(Sh(i)||i))}finally{if(i){const o=Sh(i)||i;for(;o.firstChild;)o.removeChild(o.firstChild)}}}function Sh(e){return"content"in e&&function x0(e){return e.nodeType===Node.ELEMENT_NODE&&"TEMPLATE"===e.nodeName}(e)?e.content:null}var js=function(e){return e[e.NONE=0]="NONE",e[e.HTML=1]="HTML",e[e.STYLE=2]="STYLE",e[e.SCRIPT=3]="SCRIPT",e[e.URL=4]="URL",e[e.RESOURCE_URL=5]="RESOURCE_URL",e}(js||{});function Ih(e){const t=Yl();return t?t.sanitize(js.URL,e)||"":Aa(e,"URL")?Wr(e):wd(K(e))}function nm(e){const t=Yl();if(t)return Wp(t.sanitize(js.RESOURCE_URL,e)||"");if(Aa(e,"ResourceURL"))return Wp(Wr(e));throw new N(904,!1)}function im(e,t,i){return function M0(e,t){return"src"===t&&("embed"===e||"frame"===e||"iframe"===e||"media"===e||"script"===e)||"href"===t&&("base"===e||"link"===e)?nm:Ih}(t,i)(e)}function Yl(){const e=Lt();return e&&e[ti].sanitizer}class ai{constructor(t,i){this._desc=t,this.ngMetadataName="InjectionToken",this.\u0275prov=void 0,"number"==typeof i?this.__NG_ELEMENT_ID__=i:void 0!==i&&(this.\u0275prov=nt({token:this,providedIn:i.providedIn||"root",factory:i.factory}))}get multi(){return this}toString(){return`InjectionToken ${this._desc}`}}const Wl=new ai("ENVIRONMENT_INITIALIZER"),om=new ai("INJECTOR",-1),rm=new ai("INJECTOR_DEF_TYPES");class Ah{get(t,i=le){if(i===le){const o=new Error(`NullInjectorError: No provider for ${fe(t)}!`);throw o.name="NullInjectorError",o}return i}}function Oh(e){return{\u0275providers:e}}function sm(...e){return{\u0275providers:am(0,e),\u0275fromNgModule:!0}}function am(e,...t){const i=[],o=new Set;let r;const c=f=>{i.push(f)};return Hr(t,f=>{const g=f;Td(g,c,[],o)&&(r||=[],r.push(g))}),void 0!==r&&lm(r,c),i}function lm(e,t){for(let i=0;i{t(c,o)})}}function Td(e,t,i,o){if(!(e=Le(e)))return!1;let r=null,c=en(e);const f=!c&&En(e);if(c||f){if(f&&!f.standalone)return!1;r=e}else{const v=e.ngModule;if(c=en(v),!c)return!1;r=v}const g=o.has(r);if(f){if(g)return!1;if(o.add(r),f.dependencies){const v="function"==typeof f.dependencies?f.dependencies():f.dependencies;for(const I of v)Td(I,t,i,o)}}else{if(!c)return!1;{if(null!=c.imports&&!g){let I;o.add(r);try{Hr(c.imports,j=>{Td(j,t,i,o)&&(I||=[],I.push(j))})}finally{}void 0!==I&&lm(I,t)}if(!g){const I=or(r)||(()=>new r);t({provide:r,useFactory:I,deps:nn},r),t({provide:rm,useValue:r,multi:!0},r),t({provide:Wl,useValue:()=>Pt(r),multi:!0},r)}const v=c.providers;if(null!=v&&!g){const I=e;Rh(v,j=>{t(j,I)})}}}return r!==e&&void 0!==e.providers}function Rh(e,t){for(let i of e)ue(i)&&(i=i.\u0275providers),Array.isArray(i)?Rh(i,t):t(i)}const S0=J({provide:String,useValue:J});function Ph(e){return null!==e&&"object"==typeof e&&S0 in e}function zs(e){return"function"==typeof e}const kh=new ai("Set Injector scope."),Md={},A0={};let Fh;function Sd(){return void 0===Fh&&(Fh=new Ah),Fh}class Ar{}class Id extends Ar{get destroyed(){return this._destroyed}constructor(t,i,o,r){super(),this.parent=i,this.source=o,this.scopes=r,this.records=new Map,this._ngOnDestroyHooks=new Set,this._onDestroyHooks=[],this._destroyed=!1,Lh(t,f=>this.processProvider(f)),this.records.set(om,Oa(void 0,this)),r.has("environment")&&this.records.set(Ar,Oa(void 0,this));const c=this.records.get(kh);null!=c&&"string"==typeof c.value&&this.scopes.add(c.value),this.injectorDefTypes=new Set(this.get(rm.multi,nn,it.Self))}destroy(){this.assertNotDestroyed(),this._destroyed=!0;try{for(const i of this._ngOnDestroyHooks)i.ngOnDestroy();const t=this._onDestroyHooks;this._onDestroyHooks=[];for(const i of t)i()}finally{this.records.clear(),this._ngOnDestroyHooks.clear(),this.injectorDefTypes.clear()}}onDestroy(t){return this.assertNotDestroyed(),this._onDestroyHooks.push(t),()=>this.removeOnDestroy(t)}runInContext(t){this.assertNotDestroyed();const i=Ne(this),o=Be(void 0);try{return t()}finally{Ne(i),Be(o)}}get(t,i=le,o=it.Default){if(this.assertNotDestroyed(),t.hasOwnProperty(gi))return t[gi](this);o=de(o);const c=Ne(this),f=Be(void 0);try{if(!(o&it.SkipSelf)){let v=this.records.get(t);if(void 0===v){const I=function F0(e){return"function"==typeof e||"object"==typeof e&&e instanceof ai}(t)&&bt(t);v=I&&this.injectableDefInScope(I)?Oa(Nh(t),Md):null,this.records.set(t,v)}if(null!=v)return this.hydrate(t,v)}return(o&it.Self?Sd():this.parent).get(t,i=o&it.Optional&&i===le?null:i)}catch(g){if("NullInjectorError"===g.name){if((g[Ie]=g[Ie]||[]).unshift(fe(t)),c)throw g;return function ge(e,t,i,o){const r=e[Ie];throw t[ee]&&r.unshift(t[ee]),e.message=function Ve(e,t,i,o=null){e=e&&"\n"===e.charAt(0)&&"\u0275"==e.charAt(1)?e.slice(2):e;let r=fe(t);if(Array.isArray(t))r=t.map(fe).join(" -> ");else if("object"==typeof t){let c=[];for(let f in t)if(t.hasOwnProperty(f)){let g=t[f];c.push(f+":"+("string"==typeof g?JSON.stringify(g):fe(g)))}r=`{${c.join(", ")}}`}return`${i}${o?"("+o+")":""}[${r}]: ${e.replace(St,"\n ")}`}("\n"+e.message,r,i,o),e.ngTokenPath=r,e[Ie]=null,e}(g,t,"R3InjectorError",this.source)}throw g}finally{Be(f),Ne(c)}}resolveInjectorInitializers(){const t=Ne(this),i=Be(void 0);try{const r=this.get(Wl.multi,nn,it.Self);for(const c of r)c()}finally{Ne(t),Be(i)}}toString(){const t=[],i=this.records;for(const o of i.keys())t.push(fe(o));return`R3Injector[${t.join(", ")}]`}assertNotDestroyed(){if(this._destroyed)throw new N(205,!1)}processProvider(t){let i=zs(t=Le(t))?t:Le(t&&t.provide);const o=function R0(e){return Ph(e)?Oa(void 0,e.useValue):Oa(um(e),Md)}(t);if(zs(t)||!0!==t.multi)this.records.get(i);else{let r=this.records.get(i);r||(r=Oa(void 0,Md,!0),r.factory=()=>ke(r.multi),this.records.set(i,r)),i=t,r.multi.push(t)}this.records.set(i,o)}hydrate(t,i){return i.value===Md&&(i.value=A0,i.value=i.factory()),"object"==typeof i.value&&i.value&&function k0(e){return null!==e&&"object"==typeof e&&"function"==typeof e.ngOnDestroy}(i.value)&&this._ngOnDestroyHooks.add(i.value),i.value}injectableDefInScope(t){if(!t.providedIn)return!1;const i=Le(t.providedIn);return"string"==typeof i?"any"===i||this.scopes.has(i):this.injectorDefTypes.has(i)}removeOnDestroy(t){const i=this._onDestroyHooks.indexOf(t);-1!==i&&this._onDestroyHooks.splice(i,1)}}function Nh(e){const t=bt(e),i=null!==t?t.factory:or(e);if(null!==i)return i;if(e instanceof ai)throw new N(204,!1);if(e instanceof Function)return function O0(e){const t=e.length;if(t>0)throw Ur(t,"?"),new N(204,!1);const i=function vt(e){return e&&(e[tn]||e[Zt])||null}(e);return null!==i?()=>i.factory(e):()=>new e}(e);throw new N(204,!1)}function um(e,t,i){let o;if(zs(e)){const r=Le(e);return or(r)||Nh(r)}if(Ph(e))o=()=>Le(e.useValue);else if(function dm(e){return!(!e||!e.useFactory)}(e))o=()=>e.useFactory(...ke(e.deps||[]));else if(function cm(e){return!(!e||!e.useExisting)}(e))o=()=>Pt(Le(e.useExisting));else{const r=Le(e&&(e.useClass||e.provide));if(!function P0(e){return!!e.deps}(e))return or(r)||Nh(r);o=()=>new r(...ke(e.deps))}return o}function Oa(e,t,i=!1){return{factory:e,value:t,multi:i?[]:void 0}}function Lh(e,t){for(const i of e)Array.isArray(i)?Lh(i,t):i&&ue(i)?Lh(i.\u0275providers,t):t(i)}const hm=new ai("AppId",{providedIn:"root",factory:()=>N0}),N0="ng",fm=new ai("Platform Initializer"),Bh=new ai("Platform ID",{providedIn:"platform",factory:()=>"unknown"}),L0=new ai("AnimationModuleType"),B0=new ai("CSP nonce",{providedIn:"root",factory:()=>function eo(){if(void 0!==Ki)return Ki;if(typeof document<"u")return document;throw new N(210,!1)}().body?.querySelector("[ngCspNonce]")?.getAttribute("ngCspNonce")||null});let pm=(e,t,i)=>null;function Zh(e,t,i=!1){return pm(e,t,i)}class W0{}class _m{}class Q0{resolveComponentFactory(t){throw function K0(e){const t=Error(`No component factory found for ${fe(e)}.`);return t.ngComponent=e,t}(t)}}let Jl=(()=>{class e{static#e=this.NULL=new Q0}return e})();function J0(){return ka(io(),Lt())}function ka(e,t){return new Xl(mo(e,t))}let Xl=(()=>{class e{constructor(i){this.nativeElement=i}static#e=this.__NG_ELEMENT_ID__=J0}return e})();function X0(e){return e instanceof Xl?e.nativeElement:e}class vm{}let q0=(()=>{class e{constructor(){this.destroyNode=null}static#e=this.__NG_ELEMENT_ID__=()=>function ey(){const e=Lt(),i=Eo(io().index,e);return(Ii(i)?i:e)[Vt]}()}return e})(),ty=(()=>{class e{static#e=this.\u0275prov=nt({token:e,providedIn:"root",factory:()=>null})}return e})();class ym{constructor(t){this.full=t,this.major=t.split(".")[0],this.minor=t.split(".")[1],this.patch=t.split(".").slice(2).join(".")}}const ny=new ym("16.2.8"),Kh={};function Fd(e){if(!be()&&!function W(){return S}())throw new N(-203,!1)}function wm(e,t=null,i=null,o){const r=Dm(e,t,i,o);return r.resolveInjectorInitializers(),r}function Dm(e,t=null,i=null,o,r=new Set){const c=[i||nn,sm(e)];return o=o||("object"==typeof e?void 0:fe(e)),new Id(c,t||Sd(),o||null,r)}let pr=(()=>{class e{static#e=this.THROW_IF_NOT_FOUND=le;static#t=this.NULL=new Ah;static create(i,o){if(Array.isArray(i))return wm({name:""},o,i,"");{const r=i.name??"";return wm({name:r},i.parent,i.providers,r)}}static#n=this.\u0275prov=nt({token:e,providedIn:"any",factory:()=>Pt(om)});static#i=this.__NG_ELEMENT_ID__=-1}return e})();function Qh(e){return e.ngOriginalError}class gs{constructor(){this._console=console}handleError(t){const i=this._findOriginalError(t);this._console.error("ERROR",t),i&&this._console.error("ORIGINAL ERROR",i)}_findOriginalError(t){let i=t&&Qh(t);for(;i&&Qh(i);)i=Qh(i);return i||null}}let ql=(()=>{class e{static#e=this.__NG_ELEMENT_ID__=cy;static#t=this.__NG_ENV_ID__=i=>i}return e})();class ly extends ql{constructor(t){super(),this._lView=t}onDestroy(t){return Qo(this._lView,t),()=>function Eu(e,t){if(null===e[ao])return;const i=e[ao].indexOf(t);-1!==i&&e[ao].splice(i,1)}(this._lView,t)}}function cy(){return new ly(Lt())}function Jh(e){return t=>{setTimeout(e,void 0,t)}}const Or=class dy extends n.x{constructor(t=!1){super(),this.__isAsync=t}emit(t){super.next(t)}subscribe(t,i,o){let r=t,c=i||(()=>null),f=o;if(t&&"object"==typeof t){const v=t;r=v.next?.bind(v),c=v.error?.bind(v),f=v.complete?.bind(v)}this.__isAsync&&(c=Jh(c),r&&(r=Jh(r)),f&&(f=Jh(f)));const g=super.subscribe({next:r,error:c,complete:f});return t instanceof l.w0&&t.add(g),g}};function Mm(...e){}class so{constructor({enableLongStackTrace:t=!1,shouldCoalesceEventChangeDetection:i=!1,shouldCoalesceRunChangeDetection:o=!1}){if(this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new Or(!1),this.onMicrotaskEmpty=new Or(!1),this.onStable=new Or(!1),this.onError=new Or(!1),typeof Zone>"u")throw new N(908,!1);Zone.assertZonePatched();const r=this;r._nesting=0,r._outer=r._inner=Zone.current,Zone.TaskTrackingZoneSpec&&(r._inner=r._inner.fork(new Zone.TaskTrackingZoneSpec)),t&&Zone.longStackTraceZoneSpec&&(r._inner=r._inner.fork(Zone.longStackTraceZoneSpec)),r.shouldCoalesceEventChangeDetection=!o&&i,r.shouldCoalesceRunChangeDetection=o,r.lastRequestAnimationFrameId=-1,r.nativeRequestAnimationFrame=function uy(){const e="function"==typeof mt.requestAnimationFrame;let t=mt[e?"requestAnimationFrame":"setTimeout"],i=mt[e?"cancelAnimationFrame":"clearTimeout"];if(typeof Zone<"u"&&t&&i){const o=t[Zone.__symbol__("OriginalDelegate")];o&&(t=o);const r=i[Zone.__symbol__("OriginalDelegate")];r&&(i=r)}return{nativeRequestAnimationFrame:t,nativeCancelAnimationFrame:i}}().nativeRequestAnimationFrame,function py(e){const t=()=>{!function fy(e){e.isCheckStableRunning||-1!==e.lastRequestAnimationFrameId||(e.lastRequestAnimationFrameId=e.nativeRequestAnimationFrame.call(mt,()=>{e.fakeTopEventTask||(e.fakeTopEventTask=Zone.root.scheduleEventTask("fakeTopEventTask",()=>{e.lastRequestAnimationFrameId=-1,qh(e),e.isCheckStableRunning=!0,Xh(e),e.isCheckStableRunning=!1},void 0,()=>{},()=>{})),e.fakeTopEventTask.invoke()}),qh(e))}(e)};e._inner=e._inner.fork({name:"angular",properties:{isAngularZone:!0},onInvokeTask:(i,o,r,c,f,g)=>{if(function gy(e){return!(!Array.isArray(e)||1!==e.length)&&!0===e[0].data?.__ignore_ng_zone__}(g))return i.invokeTask(r,c,f,g);try{return Sm(e),i.invokeTask(r,c,f,g)}finally{(e.shouldCoalesceEventChangeDetection&&"eventTask"===c.type||e.shouldCoalesceRunChangeDetection)&&t(),Im(e)}},onInvoke:(i,o,r,c,f,g,v)=>{try{return Sm(e),i.invoke(r,c,f,g,v)}finally{e.shouldCoalesceRunChangeDetection&&t(),Im(e)}},onHasTask:(i,o,r,c)=>{i.hasTask(r,c),o===r&&("microTask"==c.change?(e._hasPendingMicrotasks=c.microTask,qh(e),Xh(e)):"macroTask"==c.change&&(e.hasPendingMacrotasks=c.macroTask))},onHandleError:(i,o,r,c)=>(i.handleError(r,c),e.runOutsideAngular(()=>e.onError.emit(c)),!1)})}(r)}static isInAngularZone(){return typeof Zone<"u"&&!0===Zone.current.get("isAngularZone")}static assertInAngularZone(){if(!so.isInAngularZone())throw new N(909,!1)}static assertNotInAngularZone(){if(so.isInAngularZone())throw new N(909,!1)}run(t,i,o){return this._inner.run(t,i,o)}runTask(t,i,o,r){const c=this._inner,f=c.scheduleEventTask("NgZoneEvent: "+r,t,hy,Mm,Mm);try{return c.runTask(f,i,o)}finally{c.cancelTask(f)}}runGuarded(t,i,o){return this._inner.runGuarded(t,i,o)}runOutsideAngular(t){return this._outer.run(t)}}const hy={};function Xh(e){if(0==e._nesting&&!e.hasPendingMicrotasks&&!e.isStable)try{e._nesting++,e.onMicrotaskEmpty.emit(null)}finally{if(e._nesting--,!e.hasPendingMicrotasks)try{e.runOutsideAngular(()=>e.onStable.emit(null))}finally{e.isStable=!0}}}function qh(e){e.hasPendingMicrotasks=!!(e._hasPendingMicrotasks||(e.shouldCoalesceEventChangeDetection||e.shouldCoalesceRunChangeDetection)&&-1!==e.lastRequestAnimationFrameId)}function Sm(e){e._nesting++,e.isStable&&(e.isStable=!1,e.onUnstable.emit(null))}function Im(e){e._nesting--,Xh(e)}const Am=new ai("",{providedIn:"root",factory:Om});function Om(){const e=wt(so);let t=!0;const i=new w.y(r=>{t=e.isStable&&!e.hasPendingMacrotasks&&!e.hasPendingMicrotasks,e.runOutsideAngular(()=>{r.next(t),r.complete()})}),o=new w.y(r=>{let c;e.runOutsideAngular(()=>{c=e.onStable.subscribe(()=>{so.assertNotInAngularZone(),queueMicrotask(()=>{!t&&!e.hasPendingMacrotasks&&!e.hasPendingMicrotasks&&(t=!0,r.next(!0))})})});const f=e.onUnstable.subscribe(()=>{so.assertInAngularZone(),t&&(t=!1,e.runOutsideAngular(()=>{r.next(!1)}))});return()=>{c.unsubscribe(),f.unsubscribe()}});return(0,E.T)(i,o.pipe((0,ne.B)()))}function Rm(e){return e.ownerDocument.defaultView}function Qr(e){return e instanceof Function?e():e}let ef=(()=>{class e{constructor(){this.renderDepth=0,this.handler=null}begin(){this.handler?.validateBegin(),this.renderDepth++}end(){this.renderDepth--,0===this.renderDepth&&this.handler?.execute()}ngOnDestroy(){this.handler?.destroy(),this.handler=null}static#e=this.\u0275prov=nt({token:e,providedIn:"root",factory:()=>new e})}return e})();function ec(e){for(;e;){e[M]|=64;const t=Da(e);if(Vi(e)&&!t)return e;e=t}return null}const Lm=new ai("",{providedIn:"root",factory:()=>!1});let Ld=null;function Um(e,t){return e[t]??Gm()}function jm(e,t){const i=Gm();i.producerNode?.length&&(e[t]=Ld,i.lView=e,Ld=zm())}const Dy={...Yo,consumerIsAlwaysLive:!0,consumerMarkedDirty:e=>{ec(e.lView)},lView:null};function zm(){return Object.create(Dy)}function Gm(){return Ld??=zm(),Ld}const Rn={};function $m(e){Zm(Jn(),Lt(),co()+e,!1)}function Zm(e,t,i,o){if(!o)if(3==(3&t[M])){const c=e.preOrderCheckHooks;null!==c&&ca(t,c,i)}else{const c=e.preOrderHooks;null!==c&&da(t,c,0,i)}Br(i)}function La(e,t=it.Default){const i=Lt();return null===i?Pt(e,t):Rs(io(),i,Le(e),t)}function Ym(){throw new Error("invalid")}function Bd(e,t,i,o,r,c,f,g,v,I,j){const Te=t.blueprint.slice();return Te[z]=r,Te[M]=140|o,(null!==I||e&&2048&e[M])&&(Te[M]|=2048),oa(Te),Te[T]=Te[xo]=e,Te[rn]=i,Te[ti]=f||e&&e[ti],Te[Vt]=g||e&&e[Vt],Te[$n]=v||e&&e[$n]||null,Te[Gt]=c,Te[Mo]=function fh(){return hh++}(),Te[fo]=j,Te[Lo]=I,Te[_n]=2==t.type?e[_n]:Te,Te}function Ba(e,t,i,o,r){let c=e.data[t];if(null===c)c=function tf(e,t,i,o,r){const c=Mu(),f=kc(),v=e.data[t]=function Py(e,t,i,o,r,c){let f=t?t.injectorIndex:-1,g=0;return os()&&(g|=128),{type:i,index:o,insertBeforeIndex:null,injectorIndex:f,directiveStart:-1,directiveEnd:-1,directiveStylingLast:-1,componentOffset:-1,propertyBindings:null,flags:g,providerIndexes:0,value:r,attrs:c,mergedAttrs:null,localNames:null,initialInputs:void 0,inputs:null,outputs:null,tView:null,next:null,prev:null,projectionNext:null,child:null,parent:t,projection:null,styles:null,stylesWithoutHost:null,residualStyles:void 0,classes:null,classesWithoutHost:null,residualClasses:void 0,classBindings:0,styleBindings:0}}(0,f?c:c&&c.parent,i,t,o,r);return null===e.firstChild&&(e.firstChild=v),null!==c&&(f?null==c.child&&null!==v.parent&&(c.child=v):null===c.next&&(c.next=v,v.prev=c)),v}(e,t,i,o,r),function Ap(){return In.lFrame.inI18n}()&&(c.flags|=32);else if(64&c.type){c.type=i,c.value=o,c.attrs=r;const f=function ra(){const e=In.lFrame,t=e.currentTNode;return e.isParent?t:t.parent}();c.injectorIndex=null===f?-1:f.injectorIndex}return sr(c,!0),c}function tc(e,t,i,o){if(0===i)return-1;const r=t.length;for(let c=0;ckt&&Zm(e,t,kt,!1),Hi(g?2:0,r);const I=g?c:null,j=ta(I);try{null!==I&&(I.dirty=!1),i(o,r)}finally{ts(I,j)}}finally{g&&null===t[Bo]&&jm(t,Bo),Br(f),Hi(g?3:1,r)}}function nf(e,t,i){if(So(t)){const o=no(null);try{const c=t.directiveEnd;for(let f=t.directiveStart;fnull;function Jm(e,t,i,o){for(let r in e)if(e.hasOwnProperty(r)){i=null===i?{}:i;const c=e[r];null===o?Xm(i,t,r,c):o.hasOwnProperty(r)&&Xm(i,t,o[r],c)}return i}function Xm(e,t,i,o){e.hasOwnProperty(i)?e[i].push(t,o):e[i]=[t,o]}function $o(e,t,i,o,r,c,f,g){const v=mo(t,i);let j,I=t.inputs;!g&&null!=I&&(j=I[o])?(hf(e,i,j,o,r),lo(t)&&function Ny(e,t){const i=Eo(t,e);16&i[M]||(i[M]|=64)}(i,t.index)):3&t.type&&(o=function Fy(e){return"class"===e?"className":"for"===e?"htmlFor":"formaction"===e?"formAction":"innerHtml"===e?"innerHTML":"readonly"===e?"readOnly":"tabindex"===e?"tabIndex":e}(o),r=null!=f?f(r,t.value||"",o):r,c.setProperty(v,o,r))}function lf(e,t,i,o){if(Rc()){const r=null===o?null:{"":-1},c=function jy(e,t){const i=e.directiveRegistry;let o=null,r=null;if(i)for(let c=0;c0;){const i=e[--t];if("number"==typeof i&&i<0)return i}return 0})(f)!=g&&f.push(g),f.push(i,o,c)}}(e,t,o,tc(e,i,r.hostVars,Rn),r)}function Rr(e,t,i,o,r,c){const f=mo(e,t);!function df(e,t,i,o,r,c,f){if(null==c)e.removeAttribute(t,r,i);else{const g=null==f?K(c):f(c,o||"",r);e.setAttribute(t,r,g,i)}}(t[Vt],f,c,e.value,i,o,r)}function Wy(e,t,i,o,r,c){const f=c[t];if(null!==f)for(let g=0;g{class e{constructor(){this.all=new Set,this.queue=new Map}create(i,o,r){const c=typeof Zone>"u"?null:Zone.current,f=function pt(e,t,i){const o=Object.create(an);i&&(o.consumerAllowSignalWrites=!0),o.fn=e,o.schedule=t;const r=f=>{o.cleanupFn=f};return o.ref={notify:()=>vs(o),run:()=>{if(o.dirty=!1,o.hasRun&&!na(o))return;o.hasRun=!0;const f=ta(o);try{o.cleanupFn(),o.cleanupFn=Ot,o.fn(r)}finally{ts(o,f)}},cleanup:()=>o.cleanupFn()},o.ref}(i,I=>{this.all.has(I)&&this.queue.set(I,c)},r);let g;this.all.add(f),f.notify();const v=()=>{f.cleanup(),g?.(),this.all.delete(f),this.queue.delete(f)};return g=o?.onDestroy(v),{destroy:v}}flush(){if(0!==this.queue.size)for(const[i,o]of this.queue)this.queue.delete(i),o?o.run(()=>i.run()):i.run()}get isQueueEmpty(){return 0===this.queue.size}static#e=this.\u0275prov=nt({token:e,providedIn:"root",factory:()=>new e})}return e})();function Hd(e,t,i){let o=i?e.styles:null,r=i?e.classes:null,c=0;if(null!==t)for(let f=0;f0){ug(e,1);const r=i.components;null!==r&&fg(e,r,1)}}function fg(e,t,i){for(let o=0;o-1&&(s(t,o),ga(i,o))}this._attachedToViewContainer=!1}d(this._lView[h],this._lView)}onDestroy(t){Qo(this._lView,t)}markForCheck(){ec(this._cdRefInjectingView||this._lView)}detach(){this._lView[M]&=-129}reattach(){this._lView[M]|=128}detectChanges(){Ud(this._lView[h],this._lView,this.context)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new N(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null,function $p(e,t){fr(e,t,t[Vt],2,null,null)}(this._lView[h],this._lView)}attachToAppRef(t){if(this._attachedToViewContainer)throw new N(902,!1);this._appRef=t}}class ix extends ic{constructor(t){super(t),this._view=t}detectChanges(){const t=this._view;Ud(t[h],t,t[rn],!1)}checkNoChanges(){}get context(){return null}}class pg extends Jl{constructor(t){super(),this.ngModule=t}resolveComponentFactory(t){const i=En(t);return new oc(i,this.ngModule)}}function mg(e){const t=[];for(let i in e)e.hasOwnProperty(i)&&t.push({propName:e[i],templateName:i});return t}class rx{constructor(t,i){this.injector=t,this.parentInjector=i}get(t,i,o){o=de(o);const r=this.injector.get(t,Kh,o);return r!==Kh||i===Kh?r:this.parentInjector.get(t,i,o)}}class oc extends _m{get inputs(){const t=this.componentDef,i=t.inputTransforms,o=mg(t.inputs);if(null!==i)for(const r of o)i.hasOwnProperty(r.propName)&&(r.transform=i[r.propName]);return o}get outputs(){return mg(this.componentDef.outputs)}constructor(t,i){super(),this.componentDef=t,this.ngModule=i,this.componentType=t.type,this.selector=function ci(e){return e.map(Hn).join(",")}(t.selectors),this.ngContentSelectors=t.ngContentSelectors?t.ngContentSelectors:[],this.isBoundToModule=!!i}create(t,i,o,r){let c=(r=r||this.ngModule)instanceof Ar?r:r?.injector;c&&null!==this.componentDef.getStandaloneInjector&&(c=this.componentDef.getStandaloneInjector(c)||c);const f=c?new rx(t,c):t,g=f.get(vm,null);if(null===g)throw new N(407,!1);const Te={rendererFactory:g,sanitizer:f.get(ty,null),effectManager:f.get(lg,null),afterRenderEventManager:f.get(ef,null)},We=g.createRenderer(null,this.componentDef),ot=this.componentDef.selectors[0][0]||"div",Ct=o?function Sy(e,t,i,o){const c=o.get(Lm,!1)||i===Ht.ShadowDom,f=e.selectRootElement(t,c);return function Iy(e){Qm(e)}(f),f}(We,o,this.componentDef.encapsulation,f):Sa(We,ot,function ox(e){const t=e.toLowerCase();return"svg"===t?Ko:"math"===t?"math":null}(ot)),hn=this.componentDef.signals?4608:this.componentDef.onPush?576:528;let Ft=null;null!==Ct&&(Ft=Zh(Ct,f,!0));const On=af(0,null,null,1,0,null,null,null,null,null,null),Bn=Bd(null,On,null,hn,null,null,Te,We,f,null,Ft);let mi,No;gl(Bn);try{const Xr=this.componentDef;let tl,xp=null;Xr.findHostDirectiveDefs?(tl=[],xp=new Map,Xr.findHostDirectiveDefs(Xr,tl,xp),tl.push(Xr)):tl=[Xr];const a1=function ax(e,t){const i=e[h],o=kt;return e[o]=t,Ba(i,o,2,"#host",null)}(Bn,Ct),l1=function lx(e,t,i,o,r,c,f){const g=r[h];!function cx(e,t,i,o){for(const r of e)t.mergedAttrs=Vn(t.mergedAttrs,r.hostAttrs);null!==t.mergedAttrs&&(Hd(t,t.mergedAttrs,!0),null!==i&&Wn(o,i,t))}(o,e,t,f);let v=null;null!==t&&(v=Zh(t,r[$n]));const I=c.rendererFactory.createRenderer(t,i);let j=16;i.signals?j=4096:i.onPush&&(j=64);const Te=Bd(r,Km(i),null,j,r[e.index],e,c,I,null,null,v);return g.firstCreatePass&&cf(g,e,o.length-1),Vd(r,Te),r[e.index]=Te}(a1,Ct,Xr,tl,Bn,Te,We);No=Cs(On,kt),Ct&&function ux(e,t,i,o){if(o)Sn(e,i,["ng-version",ny.full]);else{const{attrs:r,classes:c}=function Fn(e){const t=[],i=[];let o=1,r=2;for(;o0&&Dn(e,i,c.join(" "))}}(We,Xr,Ct,o),void 0!==i&&function hx(e,t,i){const o=e.projection=[];for(let r=0;r=0;o--){const r=e[o];r.hostVars=t+=r.hostVars,r.hostAttrs=Vn(r.hostAttrs,i=Vn(i,r.hostAttrs))}}(o)}function jd(e){return e===Nt?{}:e===nn?[]:e}function mx(e,t){const i=e.viewQuery;e.viewQuery=i?(o,r)=>{t(o,r),i(o,r)}:t}function gx(e,t){const i=e.contentQueries;e.contentQueries=i?(o,r,c)=>{t(o,r,c),i(o,r,c)}:t}function _x(e,t){const i=e.hostBindings;e.hostBindings=i?(o,r)=>{t(o,r),i(o,r)}:t}function yg(e){const t=e.inputConfig,i={};for(const o in t)if(t.hasOwnProperty(o)){const r=t[o];Array.isArray(r)&&r[2]&&(i[o]=r[2])}e.inputTransforms=i}function zd(e){return!!mf(e)&&(Array.isArray(e)||!(e instanceof Map)&&Symbol.iterator in e)}function mf(e){return null!==e&&("function"==typeof e||"object"==typeof e)}function Pr(e,t,i){return e[t]=i}function vo(e,t,i){return!Object.is(e[t],i)&&(e[t]=i,!0)}function Gs(e,t,i,o){const r=vo(e,t,i);return vo(e,t+1,o)||r}function gf(e,t,i,o){const r=Lt();return vo(r,Es(),t)&&(Jn(),Rr(Ri(),r,e,t,i,o)),gf}function Ha(e,t,i,o){return vo(e,Es(),i)?t+K(i)+o:Rn}function Pg(e,t,i,o,r,c,f,g){const v=Lt(),I=Jn(),j=e+kt,Te=I.firstCreatePass?function jx(e,t,i,o,r,c,f,g,v){const I=t.consts,j=Ba(t,e,4,f||null,Er(I,g));lf(t,i,j,Er(I,v)),la(t,j);const Te=j.tView=af(2,j,o,r,c,t.directiveRegistry,t.pipeRegistry,null,t.schemas,I,null);return null!==t.queries&&(t.queries.template(t,j),Te.queries=t.queries.embeddedTView(j)),j}(j,I,v,t,i,o,r,c,f):I.data[j];sr(Te,!1);const We=kg(I,v,Te,e);aa()&&hr(I,v,We,Te),ji(We,v),Vd(v,v[j]=ng(We,v,We,Te)),nr(Te)&&rf(I,v,Te),null!=f&&sf(v,Te,g)}let kg=function Fg(e,t,i,o){return Tr(!0),t[Vt].createComment("")};function Ng(e){return Lr(function Ip(){return In.lFrame.contextLView}(),kt+e)}function Cf(e,t,i){const o=Lt();return vo(o,Es(),t)&&$o(Jn(),Ri(),o,e,t,o[Vt],i,!1),Cf}function Ef(e,t,i,o,r){const f=r?"class":"style";hf(e,i,t.inputs[f],f,o)}function Wd(e,t,i,o){const r=Lt(),c=Jn(),f=kt+e,g=r[Vt],v=c.firstCreatePass?function Zx(e,t,i,o,r,c){const f=t.consts,v=Ba(t,e,2,o,Er(f,r));return lf(t,i,v,Er(f,c)),null!==v.attrs&&Hd(v,v.attrs,!1),null!==v.mergedAttrs&&Hd(v,v.mergedAttrs,!0),null!==t.queries&&t.queries.elementStart(t,v),v}(f,c,r,t,i,o):c.data[f],I=Lg(c,r,v,g,t,e);r[f]=I;const j=nr(v);return sr(v,!0),Wn(g,I,v),32!=(32&v.flags)&&aa()&&hr(c,r,I,v),0===function Ac(){return In.lFrame.elementDepthCount}()&&ji(I,r),function Oc(){In.lFrame.elementDepthCount++}(),j&&(rf(c,r,v),nf(c,v,r)),null!==o&&sf(r,v),Wd}function Kd(){let e=io();kc()?Fc():(e=e.parent,sr(e,!1));const t=e;(function Dp(e){return In.skipHydrationRootTNode===e})(t)&&function Sp(){In.skipHydrationRootTNode=null}(),function hl(){In.lFrame.elementDepthCount--}();const i=Jn();return i.firstCreatePass&&(la(i,e),So(e)&&i.queries.elementEnd(e)),null!=t.classesWithoutHost&&function bl(e){return 0!=(8&e.flags)}(t)&&Ef(i,t,Lt(),t.classesWithoutHost,!0),null!=t.stylesWithoutHost&&function vl(e){return 0!=(16&e.flags)}(t)&&Ef(i,t,Lt(),t.stylesWithoutHost,!1),Kd}function wf(e,t,i,o){return Wd(e,t,i,o),Kd(),wf}let Lg=(e,t,i,o,r,c)=>(Tr(!0),Sa(o,r,function $c(){return In.lFrame.currentNamespace}()));function Qd(e,t,i){const o=Lt(),r=Jn(),c=e+kt,f=r.firstCreatePass?function Kx(e,t,i,o,r){const c=t.consts,f=Er(c,o),g=Ba(t,e,8,"ng-container",f);return null!==f&&Hd(g,f,!0),lf(t,i,g,Er(c,r)),null!==t.queries&&t.queries.elementStart(t,g),g}(c,r,o,t,i):r.data[c];sr(f,!0);const g=Bg(r,o,f,e);return o[c]=g,aa()&&hr(r,o,g,f),ji(g,o),nr(f)&&(rf(r,o,f),nf(r,f,o)),null!=i&&sf(o,f),Qd}function Jd(){let e=io();const t=Jn();return kc()?Fc():(e=e.parent,sr(e,!1)),t.firstCreatePass&&(la(t,e),So(e)&&t.queries.elementEnd(e)),Jd}function Df(e,t,i){return Qd(e,t,i),Jd(),Df}let Bg=(e,t,i,o)=>(Tr(!0),Gl(t[Vt],""));function Vg(){return Lt()}function Tf(e){return!!e&&"function"==typeof e.then}function Hg(e){return!!e&&"function"==typeof e.subscribe}function Mf(e,t,i,o){const r=Lt(),c=Jn(),f=io();return Ug(c,r,r[Vt],f,e,t,o),Mf}function Sf(e,t){const i=io(),o=Lt(),r=Jn();return Ug(r,o,sg(pl(r.data),i,o),i,e,t),Sf}function Ug(e,t,i,o,r,c,f){const g=nr(o),I=e.firstCreatePass&&rg(e),j=t[rn],Te=og(t);let We=!0;if(3&o.type||f){const jt=mo(o,t),qt=f?f(jt):jt,hn=Te.length,Ft=f?Bn=>f(vi(Bn[o.index])):o.index;let On=null;if(!f&&g&&(On=function Xx(e,t,i,o){const r=e.cleanup;if(null!=r)for(let c=0;cv?g[v]:null}"string"==typeof f&&(c+=2)}return null}(e,t,r,o.index)),null!==On)(On.__ngLastListenerFn__||On).__ngNextListenerFn__=c,On.__ngLastListenerFn__=c,We=!1;else{c=zg(o,t,j,c,!1);const Bn=i.listen(qt,r,c);Te.push(c,Bn),I&&I.push(r,Ft,hn,hn+1)}}else c=zg(o,t,j,c,!1);const ot=o.outputs;let Ct;if(We&&null!==ot&&(Ct=ot[r])){const jt=Ct.length;if(jt)for(let qt=0;qt-1?Eo(e.index,t):t);let v=jg(t,i,o,f),I=c.__ngNextListenerFn__;for(;I;)v=jg(t,i,I,f)&&v,I=I.__ngNextListenerFn__;return r&&!1===v&&f.preventDefault(),v}}function Gg(e=1){return function Ou(e){return(In.lFrame.contextLView=function Ru(e,t){for(;e>0;)t=t[xo],e--;return t}(e,In.lFrame.contextLView))[rn]}(e)}function qx(e,t){let i=null;const o=function he(e){const t=e.attrs;if(null!=t){const i=t.indexOf(5);if(!(1&i))return t[i+1]}return null}(e);for(let r=0;r>17&32767}function Of(e){return 2|e}function $s(e){return(131068&e)>>2}function Rf(e,t){return-131069&e|t<<2}function Pf(e){return 1|e}function t_(e,t,i,o,r){const c=e[i+1],f=null===t;let g=o?_s(c):$s(c),v=!1;for(;0!==g&&(!1===v||f);){const j=e[g+1];rC(e[g],t)&&(v=!0,e[g+1]=o?Pf(j):Of(j)),g=o?_s(j):$s(j)}v&&(e[i+1]=o?Of(c):Pf(c))}function rC(e,t){return null===e||null==t||(Array.isArray(e)?e[1]:e)===t||!(!Array.isArray(e)||"string"!=typeof t)&&ls(e,t)>=0}const to={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function n_(e){return e.substring(to.key,to.keyEnd)}function sC(e){return e.substring(to.value,to.valueEnd)}function i_(e,t){const i=to.textEnd;return i===t?-1:(t=to.keyEnd=function cC(e,t,i){for(;t32;)t++;return t}(e,to.key=t,i),Wa(e,t,i))}function o_(e,t){const i=to.textEnd;let o=to.key=Wa(e,t,i);return i===o?-1:(o=to.keyEnd=function dC(e,t,i){let o;for(;t=65&&(-33&o)<=90||o>=48&&o<=57);)t++;return t}(e,o,i),o=s_(e,o,i),o=to.value=Wa(e,o,i),o=to.valueEnd=function uC(e,t,i){let o=-1,r=-1,c=-1,f=t,g=f;for(;f32&&(g=f),c=r,r=o,o=-33&v}return g}(e,o,i),s_(e,o,i))}function r_(e){to.key=0,to.keyEnd=0,to.value=0,to.valueEnd=0,to.textEnd=e.length}function Wa(e,t,i){for(;t=0;i=o_(t,i))u_(e,n_(t),sC(t))}function l_(e){_r(bC,kr,e,!0)}function kr(e,t){for(let i=function aC(e){return r_(e),i_(e,Wa(e,0,to.textEnd))}(t);i>=0;i=i_(t,i))wo(e,n_(t),!0)}function gr(e,t,i,o){const r=Lt(),c=Jn(),f=Dr(2);c.firstUpdatePass&&d_(c,e,f,o),t!==Rn&&vo(r,f,t)&&h_(c,c.data[co()],r,r[Vt],e,r[f+1]=function yC(e,t){return null==e||""===e||("string"==typeof t?e+=t:"object"==typeof e&&(e=fe(Wr(e)))),e}(t,i),o,f)}function _r(e,t,i,o){const r=Jn(),c=Dr(2);r.firstUpdatePass&&d_(r,null,c,o);const f=Lt();if(i!==Rn&&vo(f,c,i)){const g=r.data[co()];if(p_(g,o)&&!c_(r,c)){let v=o?g.classesWithoutHost:g.stylesWithoutHost;null!==v&&(i=ce(v,i||"")),Ef(r,g,f,i,o)}else!function vC(e,t,i,o,r,c,f,g){r===Rn&&(r=nn);let v=0,I=0,j=0=e.expandoStartIndex}function d_(e,t,i,o){const r=e.data;if(null===r[i+1]){const c=r[co()],f=c_(e,i);p_(c,o)&&null===t&&!f&&(t=!1),t=function fC(e,t,i,o){const r=pl(e);let c=o?t.residualClasses:t.residualStyles;if(null===r)0===(o?t.classBindings:t.styleBindings)&&(i=cc(i=Nf(null,e,t,i,o),t.attrs,o),c=null);else{const f=t.directiveStylingLast;if(-1===f||e[f]!==r)if(i=Nf(r,e,t,i,o),null===c){let v=function pC(e,t,i){const o=i?t.classBindings:t.styleBindings;if(0!==$s(o))return e[_s(o)]}(e,t,o);void 0!==v&&Array.isArray(v)&&(v=Nf(null,e,t,v[1],o),v=cc(v,t.attrs,o),function mC(e,t,i,o){e[_s(i?t.classBindings:t.styleBindings)]=o}(e,t,o,v))}else c=function gC(e,t,i){let o;const r=t.directiveEnd;for(let c=1+t.directiveStylingLast;c0)&&(I=!0)):j=i,r)if(0!==v){const We=_s(e[g+1]);e[o+1]=Xd(We,g),0!==We&&(e[We+1]=Rf(e[We+1],o)),e[g+1]=function tC(e,t){return 131071&e|t<<17}(e[g+1],o)}else e[o+1]=Xd(g,0),0!==g&&(e[g+1]=Rf(e[g+1],o)),g=o;else e[o+1]=Xd(v,0),0===g?g=o:e[v+1]=Rf(e[v+1],o),v=o;I&&(e[o+1]=Of(e[o+1])),t_(e,j,o,!0),t_(e,j,o,!1),function oC(e,t,i,o,r){const c=r?e.residualClasses:e.residualStyles;null!=c&&"string"==typeof t&&ls(c,t)>=0&&(i[o+1]=Pf(i[o+1]))}(t,j,e,o,c),f=Xd(g,v),c?t.classBindings=f:t.styleBindings=f}(r,c,t,i,f,o)}}function Nf(e,t,i,o,r){let c=null;const f=i.directiveEnd;let g=i.directiveStylingLast;for(-1===g?g=i.directiveStart:g++;g0;){const v=e[r],I=Array.isArray(v),j=I?v[1]:v,Te=null===j;let We=i[r+1];We===Rn&&(We=Te?nn:void 0);let ot=Te?Tl(We,o):j===o?We:void 0;if(I&&!qd(ot)&&(ot=Tl(v,o)),qd(ot)&&(g=ot,f))return g;const Ct=e[r+1];r=f?_s(Ct):$s(Ct)}if(null!==t){let v=c?t.residualClasses:t.residualStyles;null!=v&&(g=Tl(v,o))}return g}function qd(e){return void 0!==e}function p_(e,t){return 0!=(e.flags&(t?8:16))}function m_(e,t=""){const i=Lt(),o=Jn(),r=e+kt,c=o.firstCreatePass?Ba(o,r,1,t,null):o.data[r],f=g_(o,i,c,t,e);i[r]=f,aa()&&hr(o,i,f,c),sr(c,!1)}let g_=(e,t,i,o,r)=>(Tr(!0),function Ma(e,t){return e.createText(t)}(t[Vt],o));function Lf(e){return eu("",e,""),Lf}function eu(e,t,i){const o=Lt(),r=Ha(o,e,t,i);return r!==Rn&&function Jr(e,t,i){const o=po(t,e);!function Cd(e,t,i){e.setValue(t,i)}(e[Vt],o,i)}(o,co(),r),eu}function D_(e,t,i){_r(wo,kr,Ha(Lt(),e,t,i),!0)}function Bf(e,t,i){const o=Lt();return vo(o,Es(),t)&&$o(Jn(),Ri(),o,e,t,o[Vt],i,!0),Bf}function Vf(e,t,i){const o=Lt();if(vo(o,Es(),t)){const c=Jn(),f=Ri();$o(c,f,o,e,t,sg(pl(c.data),f,o),i,!0)}return Vf}const Zs=void 0;var UC=["en",[["a","p"],["AM","PM"],Zs],[["AM","PM"],Zs,Zs],[["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"]],Zs,[["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"]],Zs,[["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}",Zs,"{1} 'at' {0}",Zs],[".",",",";","%","+","-","E","\xd7","\u2030","\u221e","NaN",":"],["#,##0.###","#,##0%","\xa4#,##0.00","#E0"],"USD","$","US Dollar",{},"ltr",function HC(e){const i=Math.floor(Math.abs(e)),o=e.toString().replace(/^[^.]*\.?/,"").length;return 1===i&&0===o?1:5}];let Ka={};function Hf(e){const t=function jC(e){return e.toLowerCase().replace(/_/g,"-")}(e);let i=N_(t);if(i)return i;const o=t.split("-")[0];if(i=N_(o),i)return i;if("en"===o)return UC;throw new N(701,!1)}function F_(e){return Hf(e)[Qa.PluralCase]}function N_(e){return e in Ka||(Ka[e]=mt.ng&&mt.ng.common&&mt.ng.common.locales&&mt.ng.common.locales[e]),Ka[e]}var Qa=function(e){return e[e.LocaleId=0]="LocaleId",e[e.DayPeriodsFormat=1]="DayPeriodsFormat",e[e.DayPeriodsStandalone=2]="DayPeriodsStandalone",e[e.DaysFormat=3]="DaysFormat",e[e.DaysStandalone=4]="DaysStandalone",e[e.MonthsFormat=5]="MonthsFormat",e[e.MonthsStandalone=6]="MonthsStandalone",e[e.Eras=7]="Eras",e[e.FirstDayOfWeek=8]="FirstDayOfWeek",e[e.WeekendRange=9]="WeekendRange",e[e.DateFormat=10]="DateFormat",e[e.TimeFormat=11]="TimeFormat",e[e.DateTimeFormat=12]="DateTimeFormat",e[e.NumberSymbols=13]="NumberSymbols",e[e.NumberFormats=14]="NumberFormats",e[e.CurrencyCode=15]="CurrencyCode",e[e.CurrencySymbol=16]="CurrencySymbol",e[e.CurrencyName=17]="CurrencyName",e[e.Currencies=18]="Currencies",e[e.Directionality=19]="Directionality",e[e.PluralCase=20]="PluralCase",e[e.ExtraData=21]="ExtraData",e}(Qa||{});const Ja="en-US";let L_=Ja;function zf(e,t,i,o,r){if(e=Le(e),Array.isArray(e))for(let c=0;c>20;if(zs(e)||!e.multi){const ot=new ua(I,r,La),Ct=$f(v,t,r?j:j+We,Te);-1===Ct?(xl(Ms(g,f),c,v),Gf(c,e,t.length),t.push(v),g.directiveStart++,g.directiveEnd++,r&&(g.providerIndexes+=1048576),i.push(ot),f.push(ot)):(i[Ct]=ot,f[Ct]=ot)}else{const ot=$f(v,t,j+We,Te),Ct=$f(v,t,j,j+We),qt=Ct>=0&&i[Ct];if(r&&!qt||!r&&!(ot>=0&&i[ot])){xl(Ms(g,f),c,v);const hn=function HE(e,t,i,o,r){const c=new ua(e,i,La);return c.multi=[],c.index=t,c.componentProviders=0,lb(c,r,o&&!i),c}(r?VE:BE,i.length,r,o,I);!r&&qt&&(i[Ct].providerFactory=hn),Gf(c,e,t.length,0),t.push(v),g.directiveStart++,g.directiveEnd++,r&&(g.providerIndexes+=1048576),i.push(hn),f.push(hn)}else Gf(c,e,ot>-1?ot:Ct,lb(i[r?Ct:ot],I,!r&&o));!r&&o&&qt&&i[Ct].componentProviders++}}}function Gf(e,t,i,o){const r=zs(t),c=function I0(e){return!!e.useClass}(t);if(r||c){const v=(c?Le(t.useClass):t).prototype.ngOnDestroy;if(v){const I=e.destroyHooks||(e.destroyHooks=[]);if(!r&&t.multi){const j=I.indexOf(i);-1===j?I.push(i,[o,v]):I[j+1].push(o,v)}else I.push(i,v)}}}function lb(e,t,i){return i&&e.componentProviders++,e.multi.push(t)-1}function $f(e,t,i,o){for(let r=i;r{i.providersResolver=(o,r)=>function LE(e,t,i){const o=Jn();if(o.firstCreatePass){const r=ki(e);zf(i,o.data,o.blueprint,r,!0),zf(t,o.data,o.blueprint,r,!1)}}(o,r?r(e):e,t)}}class Ys{}class db{}function UE(e,t){return new Yf(e,t??null,[])}class Yf extends Ys{constructor(t,i,o){super(),this._parent=i,this._bootstrapComponents=[],this.destroyCbs=[],this.componentFactoryResolver=new pg(this);const r=ri(t);this._bootstrapComponents=Qr(r.bootstrap),this._r3Injector=Dm(t,i,[{provide:Ys,useValue:this},{provide:Jl,useValue:this.componentFactoryResolver},...o],fe(t),new Set(["environment"])),this._r3Injector.resolveInjectorInitializers(),this.instance=this._r3Injector.get(t)}get injector(){return this._r3Injector}destroy(){const t=this._r3Injector;!t.destroyed&&t.destroy(),this.destroyCbs.forEach(i=>i()),this.destroyCbs=null}onDestroy(t){this.destroyCbs.push(t)}}class Wf extends db{constructor(t){super(),this.moduleType=t}create(t){return new Yf(this.moduleType,t,[])}}class ub extends Ys{constructor(t){super(),this.componentFactoryResolver=new pg(this),this.instance=null;const i=new Id([...t.providers,{provide:Ys,useValue:this},{provide:Jl,useValue:this.componentFactoryResolver}],t.parent||Sd(),t.debugName,new Set(["environment"]));this.injector=i,t.runEnvironmentInitializers&&i.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(t){this.injector.onDestroy(t)}}function hb(e,t,i=null){return new ub({providers:e,parent:t,debugName:i,runEnvironmentInitializers:!0}).injector}let zE=(()=>{class e{constructor(i){this._injector=i,this.cachedInjectors=new Map}getOrCreateStandaloneInjector(i){if(!i.standalone)return null;if(!this.cachedInjectors.has(i)){const o=am(0,i.type),r=o.length>0?hb([o],this._injector,`Standalone[${i.type.name}]`):null;this.cachedInjectors.set(i,r)}return this.cachedInjectors.get(i)}ngOnDestroy(){try{for(const i of this.cachedInjectors.values())null!==i&&i.destroy()}finally{this.cachedInjectors.clear()}}static#e=this.\u0275prov=nt({token:e,providedIn:"environment",factory:()=>new e(Pt(Ar))})}return e})();function fb(e){e.getStandaloneInjector=t=>t.get(zE).getOrCreateStandaloneInjector(e)}function yb(e,t,i){const o=go()+e,r=Lt();return r[o]===Rn?Pr(r,o,i?t.call(i):t()):function rc(e,t){return e[t]}(r,o)}function xb(e,t,i,o){return Db(Lt(),go(),e,t,i,o)}function Cb(e,t,i,o,r){return Tb(Lt(),go(),e,t,i,o,r)}function Eb(e,t,i,o,r,c){return function Mb(e,t,i,o,r,c,f,g){const v=t+i;return function Gd(e,t,i,o,r){const c=Gs(e,t,i,o);return vo(e,t+2,r)||c}(e,v,r,c,f)?Pr(e,v+3,g?o.call(g,r,c,f):o(r,c,f)):mc(e,v+3)}(Lt(),go(),e,t,i,o,r,c)}function wb(e,t,i,o,r,c,f){return function Sb(e,t,i,o,r,c,f,g,v){const I=t+i;return function tr(e,t,i,o,r,c){const f=Gs(e,t,i,o);return Gs(e,t+2,r,c)||f}(e,I,r,c,f,g)?Pr(e,I+4,v?o.call(v,r,c,f,g):o(r,c,f,g)):mc(e,I+4)}(Lt(),go(),e,t,i,o,r,c,f)}function mc(e,t){const i=e[t];return i===Rn?void 0:i}function Db(e,t,i,o,r,c){const f=t+i;return vo(e,f,r)?Pr(e,f+1,c?o.call(c,r):o(r)):mc(e,f+1)}function Tb(e,t,i,o,r,c,f){const g=t+i;return Gs(e,g,r,c)?Pr(e,g+2,f?o.call(f,r,c):o(r,c)):mc(e,g+2)}function Ab(e,t){const i=Jn();let o;const r=e+kt;i.firstCreatePass?(o=function iw(e,t){if(t)for(let i=t.length-1;i>=0;i--){const o=t[i];if(e===o.name)return o}}(t,i.pipeRegistry),i.data[r]=o,o.onDestroy&&(i.destroyHooks??=[]).push(r,o.onDestroy)):o=i.data[r];const c=o.factory||(o.factory=or(o.type)),g=Be(La);try{const v=Ts(!1),I=c();return Ts(v),function $x(e,t,i,o){i>=e.data.length&&(e.data[i]=null,e.blueprint[i]=null),t[i]=o}(i,Lt(),r,I),I}finally{Be(g)}}function Ob(e,t,i){const o=e+kt,r=Lt(),c=Lr(r,o);return gc(r,o)?Db(r,go(),t,c.transform,i,c):c.transform(i)}function Rb(e,t,i,o){const r=e+kt,c=Lt(),f=Lr(c,r);return gc(c,r)?Tb(c,go(),t,f.transform,i,o,f):f.transform(i,o)}function gc(e,t){return e[h].data[t].pure}function aw(){return this._results[Symbol.iterator]()}class ru{static#e=Symbol.iterator;get changes(){return this._changes||(this._changes=new Or)}constructor(t=!1){this._emitDistinctChangesOnly=t,this.dirty=!0,this._results=[],this._changesDetected=!1,this._changes=null,this.length=0,this.first=void 0,this.last=void 0;const i=ru.prototype;i[Symbol.iterator]||(i[Symbol.iterator]=aw)}get(t){return this._results[t]}map(t){return this._results.map(t)}filter(t){return this._results.filter(t)}find(t){return this._results.find(t)}reduce(t,i){return this._results.reduce(t,i)}forEach(t){this._results.forEach(t)}some(t){return this._results.some(t)}toArray(){return this._results.slice()}toString(){return this._results.toString()}reset(t,i){const o=this;o.dirty=!1;const r=function uo(e){return e.flat(Number.POSITIVE_INFINITY)}(t);(this._changesDetected=!function ma(e,t,i){if(e.length!==t.length)return!1;for(let o=0;o0&&(i[r-1][Re]=t),o{class e{static#e=this.__NG_ELEMENT_ID__=hw}return e})();const dw=_c,uw=class extends dw{constructor(t,i,o){super(),this._declarationLView=t,this._declarationTContainer=i,this.elementRef=o}get ssrId(){return this._declarationTContainer.tView?.ssrId||null}createEmbeddedView(t,i){return this.createEmbeddedViewImpl(t,i)}createEmbeddedViewImpl(t,i,o){const r=function lw(e,t,i,o){const r=t.tView,g=Bd(e,r,i,4096&e[M]?4096:16,null,t,null,null,null,o?.injector??null,o?.hydrationInfo??null);g[Bi]=e[t.index];const I=e[$i];return null!==I&&(g[$i]=I.createEmbeddedView(r)),ff(r,g,i),g}(this._declarationLView,this._declarationTContainer,t,{injector:i,hydrationInfo:o});return new ic(r)}};function hw(){return su(io(),Lt())}function su(e,t){return 4&e.type?new uw(t,e,ka(e,t)):null}let lu=(()=>{class e{static#e=this.__NG_ELEMENT_ID__=bw}return e})();function bw(){return Vb(io(),Lt())}const vw=lu,Lb=class extends vw{constructor(t,i,o){super(),this._lContainer=t,this._hostTNode=i,this._hostLView=o}get element(){return ka(this._hostTNode,this._hostLView)}get injector(){return new oo(this._hostTNode,this._hostLView)}get parentInjector(){const t=Is(this._hostTNode,this._hostLView);if(ha(t)){const i=Ds(t,this._hostLView),o=ws(t);return new oo(i[h].data[o+8],i)}return new oo(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(t){const i=Bb(this._lContainer);return null!==i&&i[t]||null}get length(){return this._lContainer.length-ui}createEmbeddedView(t,i,o){let r,c;"number"==typeof o?r=o:null!=o&&(r=o.index,c=o.injector);const g=t.createEmbeddedViewImpl(i||{},c,null);return this.insertImpl(g,r,false),g}createComponent(t,i,o,r,c){const f=t&&!function Bs(e){return"function"==typeof e}(t);let g;if(f)g=i;else{const jt=i||{};g=jt.index,o=jt.injector,r=jt.projectableNodes,c=jt.environmentInjector||jt.ngModuleRef}const v=f?t:new oc(En(t)),I=o||this.parentInjector;if(!c&&null==v.ngModule){const qt=(f?I:this.parentInjector).get(Ar,null);qt&&(c=qt)}En(v.componentType??{});const ot=v.create(I,r,null,c);return this.insertImpl(ot.hostView,g,false),ot}insert(t,i){return this.insertImpl(t,i,!1)}insertImpl(t,i,o){const r=t._lView;if(function Ep(e){return Ai(e[T])}(r)){const v=this.indexOf(t);if(-1!==v)this.detach(v);else{const I=r[T],j=new Lb(I,I[Gt],I[T]);j.detach(j.indexOf(t))}}const f=this._adjustIndex(i),g=this._lContainer;return cw(g,r,f,!o),t.attachToViewContainerRef(),Dl(Qf(g),f,t),t}move(t,i){return this.insert(t,i)}indexOf(t){const i=Bb(this._lContainer);return null!==i?i.indexOf(t):-1}remove(t){const i=this._adjustIndex(t,-1),o=s(this._lContainer,i);o&&(ga(Qf(this._lContainer),i),d(o[h],o))}detach(t){const i=this._adjustIndex(t,-1),o=s(this._lContainer,i);return o&&null!=ga(Qf(this._lContainer),i)?new ic(o):null}_adjustIndex(t,i=0){return t??this.length+i}};function Bb(e){return e[8]}function Qf(e){return e[8]||(e[8]=[])}function Vb(e,t){let i;const o=t[e.index];return Ai(o)?i=o:(i=ng(o,t,null,e),t[e.index]=i,Vd(t,i)),Hb(i,t,e,o),new Lb(i,e,t)}let Hb=function Ub(e,t,i,o){if(e[Qn])return;let r;r=8&i.type?vi(o):function yw(e,t){const i=e[Vt],o=i.createComment(""),r=mo(t,e);return Ye(i,dn(i,r),o,function Cn(e,t){return e.nextSibling(t)}(i,r),!1),o}(t,i),e[Qn]=r};class Jf{constructor(t){this.queryList=t,this.matches=null}clone(){return new Jf(this.queryList)}setDirty(){this.queryList.setDirty()}}class Xf{constructor(t=[]){this.queries=t}createEmbeddedView(t){const i=t.queries;if(null!==i){const o=null!==t.contentQueries?t.contentQueries[0]:i.length,r=[];for(let c=0;c0)o.push(f[g/2]);else{const I=c[g+1],j=t[-v];for(let Te=ui;Te{class e{constructor(){this.initialized=!1,this.done=!1,this.donePromise=new Promise((i,o)=>{this.resolve=i,this.reject=o}),this.appInits=wt(Kw,{optional:!0})??[]}runInitializers(){if(this.initialized)return;const i=[];for(const r of this.appInits){const c=r();if(Tf(c))i.push(c);else if(Hg(c)){const f=new Promise((g,v)=>{c.subscribe({complete:g,error:v})});i.push(f)}}const o=()=>{this.done=!0,this.resolve()};Promise.all(i).then(()=>{o()}).catch(r=>{this.reject(r)}),0===i.length&&o(),this.initialized=!0}static#e=this.\u0275fac=function(o){return new(o||e)};static#t=this.\u0275prov=nt({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),pv=(()=>{class e{log(i){console.log(i)}warn(i){console.warn(i)}static#e=this.\u0275fac=function(o){return new(o||e)};static#t=this.\u0275prov=nt({token:e,factory:e.\u0275fac,providedIn:"platform"})}return e})();const du=new ai("LocaleId",{providedIn:"root",factory:()=>wt(du,it.Optional|it.SkipSelf)||function Qw(){return typeof $localize<"u"&&$localize.locale||Ja}()}),Jw=new ai("DefaultCurrencyCode",{providedIn:"root",factory:()=>"USD"});let mv=(()=>{class e{constructor(){this.taskId=0,this.pendingTasks=new Set,this.hasPendingTasks=new H.X(!1)}add(){this.hasPendingTasks.next(!0);const i=this.taskId++;return this.pendingTasks.add(i),i}remove(i){this.pendingTasks.delete(i),0===this.pendingTasks.size&&this.hasPendingTasks.next(!1)}ngOnDestroy(){this.pendingTasks.clear(),this.hasPendingTasks.next(!1)}static#e=this.\u0275fac=function(o){return new(o||e)};static#t=this.\u0275prov=nt({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();class qw{constructor(t,i){this.ngModuleFactory=t,this.componentFactories=i}}let eD=(()=>{class e{compileModuleSync(i){return new Wf(i)}compileModuleAsync(i){return Promise.resolve(this.compileModuleSync(i))}compileModuleAndAllComponentsSync(i){const o=this.compileModuleSync(i),c=Qr(ri(i).declarations).reduce((f,g)=>{const v=En(g);return v&&f.push(new oc(v)),f},[]);return new qw(o,c)}compileModuleAndAllComponentsAsync(i){return Promise.resolve(this.compileModuleAndAllComponentsSync(i))}clearCache(){}clearCacheFor(i){}getModuleId(i){}static#e=this.\u0275fac=function(o){return new(o||e)};static#t=this.\u0275prov=nt({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();const vv=new ai(""),yv=new ai("");let dp,yD=(()=>{class e{constructor(i,o,r){this._ngZone=i,this.registry=o,this._pendingCount=0,this._isZoneStable=!0,this._didWork=!1,this._callbacks=[],this.taskTrackingZone=null,dp||(function xD(e){dp=e}(r),r.addToWindow(o)),this._watchAngularEvents(),i.run(()=>{this.taskTrackingZone=typeof Zone>"u"?null:Zone.current.get("TaskTrackingZone")})}_watchAngularEvents(){this._ngZone.onUnstable.subscribe({next:()=>{this._didWork=!0,this._isZoneStable=!1}}),this._ngZone.runOutsideAngular(()=>{this._ngZone.onStable.subscribe({next:()=>{so.assertNotInAngularZone(),queueMicrotask(()=>{this._isZoneStable=!0,this._runCallbacksIfReady()})}})})}increasePendingRequestCount(){return this._pendingCount+=1,this._didWork=!0,this._pendingCount}decreasePendingRequestCount(){if(this._pendingCount-=1,this._pendingCount<0)throw new Error("pending async requests below zero");return this._runCallbacksIfReady(),this._pendingCount}isStable(){return this._isZoneStable&&0===this._pendingCount&&!this._ngZone.hasPendingMacrotasks}_runCallbacksIfReady(){if(this.isStable())queueMicrotask(()=>{for(;0!==this._callbacks.length;){let i=this._callbacks.pop();clearTimeout(i.timeoutId),i.doneCb(this._didWork)}this._didWork=!1});else{let i=this.getPendingTasks();this._callbacks=this._callbacks.filter(o=>!o.updateCb||!o.updateCb(i)||(clearTimeout(o.timeoutId),!1)),this._didWork=!0}}getPendingTasks(){return this.taskTrackingZone?this.taskTrackingZone.macroTasks.map(i=>({source:i.source,creationLocation:i.creationLocation,data:i.data})):[]}addCallback(i,o,r){let c=-1;o&&o>0&&(c=setTimeout(()=>{this._callbacks=this._callbacks.filter(f=>f.timeoutId!==c),i(this._didWork,this.getPendingTasks())},o)),this._callbacks.push({doneCb:i,timeoutId:c,updateCb:r})}whenStable(i,o,r){if(r&&!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(i,o,r),this._runCallbacksIfReady()}getPendingRequestCount(){return this._pendingCount}registerApplication(i){this.registry.registerApplication(i,this)}unregisterApplication(i){this.registry.unregisterApplication(i)}findProviders(i,o,r){return[]}static#e=this.\u0275fac=function(o){return new(o||e)(Pt(so),Pt(xv),Pt(yv))};static#t=this.\u0275prov=nt({token:e,factory:e.\u0275fac})}return e})(),xv=(()=>{class e{constructor(){this._applications=new Map}registerApplication(i,o){this._applications.set(i,o)}unregisterApplication(i){this._applications.delete(i)}unregisterAllApplications(){this._applications.clear()}getTestability(i){return this._applications.get(i)||null}getAllTestabilities(){return Array.from(this._applications.values())}getAllRootElements(){return Array.from(this._applications.keys())}findTestabilityInTree(i,o=!0){return dp?.findTestabilityInTree(this,i,o)??null}static#e=this.\u0275fac=function(o){return new(o||e)};static#t=this.\u0275prov=nt({token:e,factory:e.\u0275fac,providedIn:"platform"})}return e})(),bs=null;const up=new ai("PlatformDestroyListeners"),hp=new ai("appBootstrapListener");function TD(e){try{const{rootComponent:t,appProviders:i,platformProviders:o}=e,r=function DD(e=[]){if(bs)return bs;const t=function Dv(e=[],t){return pr.create({name:t,providers:[{provide:kh,useValue:"platform"},{provide:up,useValue:new Set([()=>bs=null])},...e]})}(e);return bs=t,function Ev(){!function ll(e){Tc=e}(()=>{throw new N(600,!1)})}(),function wv(e){e.get(fm,null)?.forEach(i=>i())}(t),t}(o),c=[OD(),...i||[]],g=new ub({providers:c,parent:r,debugName:"",runEnvironmentInitializers:!1}).injector,v=g.get(so);return v.run(()=>{g.resolveInjectorInitializers();const I=g.get(gs,null);let j;v.runOutsideAngular(()=>{j=v.onError.subscribe({next:ot=>{I.handleError(ot)}})});const Te=()=>g.destroy(),We=r.get(up);return We.add(Te),g.onDestroy(()=>{j.unsubscribe(),We.delete(Te)}),function Sv(e,t,i){try{const o=i();return Tf(o)?o.catch(r=>{throw t.runOutsideAngular(()=>e.handleError(r)),r}):o}catch(o){throw t.runOutsideAngular(()=>e.handleError(o)),o}}(I,v,()=>{const ot=g.get(ap);return ot.runInitializers(),ot.donePromise.then(()=>{!function B_(e){Pe(e,"Expected localeId to be defined"),"string"==typeof e&&(L_=e.toLowerCase().replace(/_/g,"-"))}(g.get(du,Ja)||Ja);const jt=g.get(el);return void 0!==t&&jt.bootstrap(t),jt})})})}catch(t){return Promise.reject(t)}}let el=(()=>{class e{constructor(){this._bootstrapListeners=[],this._runningTick=!1,this._destroyed=!1,this._destroyListeners=[],this._views=[],this.internalErrorHandler=wt(Ov),this.zoneIsStable=wt(Am),this.componentTypes=[],this.components=[],this.isStable=wt(mv).hasPendingTasks.pipe((0,we.w)(i=>i?(0,Q.of)(!1):this.zoneIsStable),(0,ie.x)(),(0,ne.B)()),this._injector=wt(Ar)}get destroyed(){return this._destroyed}get injector(){return this._injector}bootstrap(i,o){const r=i instanceof _m;if(!this._injector.get(ap).done)throw!r&&_i(i),new N(405,!1);let f;f=r?i:this._injector.get(Jl).resolveComponentFactory(i),this.componentTypes.push(f.componentType);const g=function ED(e){return e.isBoundToModule}(f)?void 0:this._injector.get(Ys),I=f.create(pr.NULL,[],o||f.selector,g),j=I.location.nativeElement,Te=I.injector.get(vv,null);return Te?.registerApplication(j),I.onDestroy(()=>{this.detachView(I.hostView),hu(this.components,I),Te?.unregisterApplication(j)}),this._loadComponent(I),I}tick(){if(this._runningTick)throw new N(101,!1);try{this._runningTick=!0;for(let i of this._views)i.detectChanges()}catch(i){this.internalErrorHandler(i)}finally{this._runningTick=!1}}attachView(i){const o=i;this._views.push(o),o.attachToAppRef(this)}detachView(i){const o=i;hu(this._views,o),o.detachFromAppRef()}_loadComponent(i){this.attachView(i.hostView),this.tick(),this.components.push(i);const o=this._injector.get(hp,[]);o.push(...this._bootstrapListeners),o.forEach(r=>r(i))}ngOnDestroy(){if(!this._destroyed)try{this._destroyListeners.forEach(i=>i()),this._views.slice().forEach(i=>i.destroy())}finally{this._destroyed=!0,this._views=[],this._bootstrapListeners=[],this._destroyListeners=[]}}onDestroy(i){return this._destroyListeners.push(i),()=>hu(this._destroyListeners,i)}destroy(){if(this._destroyed)throw new N(406,!1);const i=this._injector;i.destroy&&!i.destroyed&&i.destroy()}get viewCount(){return this._views.length}warnIfDestroyed(){}static#e=this.\u0275fac=function(o){return new(o||e)};static#t=this.\u0275prov=nt({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function hu(e,t){const i=e.indexOf(t);i>-1&&e.splice(i,1)}const Ov=new ai("",{providedIn:"root",factory:()=>wt(gs).handleError.bind(void 0)});function ID(){const e=wt(so),t=wt(gs);return i=>e.runOutsideAngular(()=>t.handleError(i))}let AD=(()=>{class e{constructor(){this.zone=wt(so),this.applicationRef=wt(el)}initialize(){this._onMicrotaskEmptySubscription||(this._onMicrotaskEmptySubscription=this.zone.onMicrotaskEmpty.subscribe({next:()=>{this.zone.run(()=>{this.applicationRef.tick()})}}))}ngOnDestroy(){this._onMicrotaskEmptySubscription?.unsubscribe()}static#e=this.\u0275fac=function(o){return new(o||e)};static#t=this.\u0275prov=nt({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function Rv(e){return[{provide:so,useFactory:e},{provide:Wl,multi:!0,useFactory:()=>{const t=wt(AD,{optional:!0});return()=>t.initialize()}},{provide:Ov,useFactory:ID},{provide:Am,useFactory:Om}]}function OD(e){return Oh([[],Rv(()=>new so(function Mv(e){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:e?.eventCoalescing??!1,shouldCoalesceRunChangeDetection:e?.runCoalescing??!1}}(e)))])}function RD(){return!1}let PD=(()=>{class e{static#e=this.__NG_ELEMENT_ID__=kD}return e})();function kD(e){return function FD(e,t,i){if(lo(e)&&!i){const o=Eo(e.index,t);return new ic(o,o)}return 47&e.type?new ic(t[_n],t):null}(io(),Lt(),16==(16&e))}class Nv{constructor(){}supports(t){return zd(t)}create(t){return new UD(t)}}const HD=(e,t)=>t;class UD{constructor(t){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=t||HD}forEachItem(t){let i;for(i=this._itHead;null!==i;i=i._next)t(i)}forEachOperation(t){let i=this._itHead,o=this._removalsHead,r=0,c=null;for(;i||o;){const f=!o||i&&i.currentIndex{f=this._trackByFn(r,g),null!==i&&Object.is(i.trackById,f)?(o&&(i=this._verifyReinsertion(i,g,f,r)),Object.is(i.item,g)||this._addIdentityChange(i,g)):(i=this._mismatch(i,g,f,r),o=!0),i=i._next,r++}),this.length=r;return this._truncate(i),this.collection=t,this.isDirty}get isDirty(){return null!==this._additionsHead||null!==this._movesHead||null!==this._removalsHead||null!==this._identityChangesHead}_reset(){if(this.isDirty){let t;for(t=this._previousItHead=this._itHead;null!==t;t=t._next)t._nextPrevious=t._next;for(t=this._additionsHead;null!==t;t=t._nextAdded)t.previousIndex=t.currentIndex;for(this._additionsHead=this._additionsTail=null,t=this._movesHead;null!==t;t=t._nextMoved)t.previousIndex=t.currentIndex;this._movesHead=this._movesTail=null,this._removalsHead=this._removalsTail=null,this._identityChangesHead=this._identityChangesTail=null}}_mismatch(t,i,o,r){let c;return null===t?c=this._itTail:(c=t._prev,this._remove(t)),null!==(t=null===this._unlinkedRecords?null:this._unlinkedRecords.get(o,null))?(Object.is(t.item,i)||this._addIdentityChange(t,i),this._reinsertAfter(t,c,r)):null!==(t=null===this._linkedRecords?null:this._linkedRecords.get(o,r))?(Object.is(t.item,i)||this._addIdentityChange(t,i),this._moveAfter(t,c,r)):t=this._addAfter(new jD(i,o),c,r),t}_verifyReinsertion(t,i,o,r){let c=null===this._unlinkedRecords?null:this._unlinkedRecords.get(o,null);return null!==c?t=this._reinsertAfter(c,t._prev,r):t.currentIndex!=r&&(t.currentIndex=r,this._addToMoves(t,r)),t}_truncate(t){for(;null!==t;){const i=t._next;this._addToRemovals(this._unlink(t)),t=i}null!==this._unlinkedRecords&&this._unlinkedRecords.clear(),null!==this._additionsTail&&(this._additionsTail._nextAdded=null),null!==this._movesTail&&(this._movesTail._nextMoved=null),null!==this._itTail&&(this._itTail._next=null),null!==this._removalsTail&&(this._removalsTail._nextRemoved=null),null!==this._identityChangesTail&&(this._identityChangesTail._nextIdentityChange=null)}_reinsertAfter(t,i,o){null!==this._unlinkedRecords&&this._unlinkedRecords.remove(t);const r=t._prevRemoved,c=t._nextRemoved;return null===r?this._removalsHead=c:r._nextRemoved=c,null===c?this._removalsTail=r:c._prevRemoved=r,this._insertAfter(t,i,o),this._addToMoves(t,o),t}_moveAfter(t,i,o){return this._unlink(t),this._insertAfter(t,i,o),this._addToMoves(t,o),t}_addAfter(t,i,o){return this._insertAfter(t,i,o),this._additionsTail=null===this._additionsTail?this._additionsHead=t:this._additionsTail._nextAdded=t,t}_insertAfter(t,i,o){const r=null===i?this._itHead:i._next;return t._next=r,t._prev=i,null===r?this._itTail=t:r._prev=t,null===i?this._itHead=t:i._next=t,null===this._linkedRecords&&(this._linkedRecords=new Lv),this._linkedRecords.put(t),t.currentIndex=o,t}_remove(t){return this._addToRemovals(this._unlink(t))}_unlink(t){null!==this._linkedRecords&&this._linkedRecords.remove(t);const i=t._prev,o=t._next;return null===i?this._itHead=o:i._next=o,null===o?this._itTail=i:o._prev=i,t}_addToMoves(t,i){return t.previousIndex===i||(this._movesTail=null===this._movesTail?this._movesHead=t:this._movesTail._nextMoved=t),t}_addToRemovals(t){return null===this._unlinkedRecords&&(this._unlinkedRecords=new Lv),this._unlinkedRecords.put(t),t.currentIndex=null,t._nextRemoved=null,null===this._removalsTail?(this._removalsTail=this._removalsHead=t,t._prevRemoved=null):(t._prevRemoved=this._removalsTail,this._removalsTail=this._removalsTail._nextRemoved=t),t}_addIdentityChange(t,i){return t.item=i,this._identityChangesTail=null===this._identityChangesTail?this._identityChangesHead=t:this._identityChangesTail._nextIdentityChange=t,t}}class jD{constructor(t,i){this.item=t,this.trackById=i,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}}class zD{constructor(){this._head=null,this._tail=null}add(t){null===this._head?(this._head=this._tail=t,t._nextDup=null,t._prevDup=null):(this._tail._nextDup=t,t._prevDup=this._tail,t._nextDup=null,this._tail=t)}get(t,i){let o;for(o=this._head;null!==o;o=o._nextDup)if((null===i||i<=o.currentIndex)&&Object.is(o.trackById,t))return o;return null}remove(t){const i=t._prevDup,o=t._nextDup;return null===i?this._head=o:i._nextDup=o,null===o?this._tail=i:o._prevDup=i,null===this._head}}class Lv{constructor(){this.map=new Map}put(t){const i=t.trackById;let o=this.map.get(i);o||(o=new zD,this.map.set(i,o)),o.add(t)}get(t,i){const r=this.map.get(t);return r?r.get(t,i):null}remove(t){const i=t.trackById;return this.map.get(i).remove(t)&&this.map.delete(i),t}get isEmpty(){return 0===this.map.size}clear(){this.map.clear()}}function Bv(e,t,i){const o=e.previousIndex;if(null===o)return o;let r=0;return i&&o{if(i&&i.key===r)this._maybeAddToChanges(i,o),this._appendAfter=i,i=i._next;else{const c=this._getOrCreateRecordForKey(r,o);i=this._insertBeforeOrAppend(i,c)}}),i){i._prev&&(i._prev._next=null),this._removalsHead=i;for(let o=i;null!==o;o=o._nextRemoved)o===this._mapHead&&(this._mapHead=null),this._records.delete(o.key),o._nextRemoved=o._next,o.previousValue=o.currentValue,o.currentValue=null,o._prev=null,o._next=null}return this._changesTail&&(this._changesTail._nextChanged=null),this._additionsTail&&(this._additionsTail._nextAdded=null),this.isDirty}_insertBeforeOrAppend(t,i){if(t){const o=t._prev;return i._next=t,i._prev=o,t._prev=i,o&&(o._next=i),t===this._mapHead&&(this._mapHead=i),this._appendAfter=t,t}return this._appendAfter?(this._appendAfter._next=i,i._prev=this._appendAfter):this._mapHead=i,this._appendAfter=i,null}_getOrCreateRecordForKey(t,i){if(this._records.has(t)){const r=this._records.get(t);this._maybeAddToChanges(r,i);const c=r._prev,f=r._next;return c&&(c._next=f),f&&(f._prev=c),r._next=null,r._prev=null,r}const o=new $D(t);return this._records.set(t,o),o.currentValue=i,this._addToAdditions(o),o}_reset(){if(this.isDirty){let t;for(this._previousMapHead=this._mapHead,t=this._previousMapHead;null!==t;t=t._next)t._nextPrevious=t._next;for(t=this._changesHead;null!==t;t=t._nextChanged)t.previousValue=t.currentValue;for(t=this._additionsHead;null!=t;t=t._nextAdded)t.previousValue=t.currentValue;this._changesHead=this._changesTail=null,this._additionsHead=this._additionsTail=null,this._removalsHead=null}}_maybeAddToChanges(t,i){Object.is(i,t.currentValue)||(t.previousValue=t.currentValue,t.currentValue=i,this._addToChanges(t))}_addToAdditions(t){null===this._additionsHead?this._additionsHead=this._additionsTail=t:(this._additionsTail._nextAdded=t,this._additionsTail=t)}_addToChanges(t){null===this._changesHead?this._changesHead=this._changesTail=t:(this._changesTail._nextChanged=t,this._changesTail=t)}_forEach(t,i){t instanceof Map?t.forEach(i):Object.keys(t).forEach(o=>i(t[o],o))}}class $D{constructor(t){this.key=t,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 Hv(){return new bp([new Nv])}let bp=(()=>{class e{static#e=this.\u0275prov=nt({token:e,providedIn:"root",factory:Hv});constructor(i){this.factories=i}static create(i,o){if(null!=o){const r=o.factories.slice();i=i.concat(r)}return new e(i)}static extend(i){return{provide:e,useFactory:o=>e.create(i,o||Hv()),deps:[[e,new zr,new jr]]}}find(i){const o=this.factories.find(r=>r.supports(i));if(null!=o)return o;throw new N(901,!1)}}return e})();function Uv(){return new vp([new Vv])}let vp=(()=>{class e{static#e=this.\u0275prov=nt({token:e,providedIn:"root",factory:Uv});constructor(i){this.factories=i}static create(i,o){if(o){const r=o.factories.slice();i=i.concat(r)}return new e(i)}static extend(i){return{provide:e,useFactory:o=>e.create(i,o||Uv()),deps:[[e,new zr,new jr]]}}find(i){const o=this.factories.find(r=>r.supports(i));if(o)return o;throw new N(901,!1)}}return e})();function r1(e){return"boolean"==typeof e?e:null!=e&&"false"!==e}},6223:(_t,Me,p)=>{p.d(Me,{CE:()=>b,Cf:()=>se,F:()=>Qe,Fd:()=>$i,Fj:()=>De,JJ:()=>vt,JL:()=>en,JU:()=>we,NI:()=>Et,Oe:()=>So,On:()=>Fn,UX:()=>ir,Zs:()=>tt,_Y:()=>xi,a5:()=>Je,cw:()=>_e,kI:()=>oe,qQ:()=>Lo,sg:()=>Qi,u:()=>M,u5:()=>yr,wV:()=>fi,x0:()=>Gi});var n=p(5879),l=p(6814),w=p(7715),E=p(9315),H=p(7398);let Q=(()=>{class O{constructor(C,te){this._renderer=C,this._elementRef=te,this.onChange=Ue=>{},this.onTouched=()=>{}}setProperty(C,te){this._renderer.setProperty(this._elementRef.nativeElement,C,te)}registerOnTouched(C){this.onTouched=C}registerOnChange(C){this.onChange=C}setDisabledState(C){this.setProperty("disabled",C)}static#e=this.\u0275fac=function(te){return new(te||O)(n.Y36(n.Qsj),n.Y36(n.SBq))};static#t=this.\u0275dir=n.lG2({type:O})}return O})(),ne=(()=>{class O extends Q{static#e=this.\u0275fac=function(){let C;return function(Ue){return(C||(C=n.n5z(O)))(Ue||O)}}();static#t=this.\u0275dir=n.lG2({type:O,features:[n.qOj]})}return O})();const we=new n.OlP("NgValueAccessor"),xe={provide:we,useExisting:(0,n.Gpc)(()=>De),multi:!0},ce=new n.OlP("CompositionEventMode");let De=(()=>{class O extends Q{constructor(C,te,Ue){super(C,te),this._compositionMode=Ue,this._composing=!1,null==this._compositionMode&&(this._compositionMode=!function fe(){const O=(0,l.q)()?(0,l.q)().getUserAgent():"";return/android (\d+)/.test(O.toLowerCase())}())}writeValue(C){this.setProperty("value",C??"")}_handleInput(C){(!this._compositionMode||this._compositionMode&&!this._composing)&&this.onChange(C)}_compositionStart(){this._composing=!0}_compositionEnd(C){this._composing=!1,this._compositionMode&&this.onChange(C)}static#e=this.\u0275fac=function(te){return new(te||O)(n.Y36(n.Qsj),n.Y36(n.SBq),n.Y36(ce,8))};static#t=this.\u0275dir=n.lG2({type:O,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(te,Ue){1&te&&n.NdJ("input",function(Nn){return Ue._handleInput(Nn.target.value)})("blur",function(){return Ue.onTouched()})("compositionstart",function(){return Ue._compositionStart()})("compositionend",function(Nn){return Ue._compositionEnd(Nn.target.value)})},features:[n._Bn([xe]),n.qOj]})}return O})();function Ae(O){return null==O||("string"==typeof O||Array.isArray(O))&&0===O.length}function Le(O){return null!=O&&"number"==typeof O.length}const se=new n.OlP("NgValidators"),ue=new n.OlP("NgAsyncValidators"),ze=/^(?=.{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])?)*$/;class oe{static min(k){return N(k)}static max(k){return Ce(k)}static required(k){return K(k)}static requiredTrue(k){return ve(k)}static email(k){return function ye(O){return Ae(O.value)||ze.test(O.value)?null:{email:!0}}(k)}static minLength(k){return function He(O){return k=>Ae(k.value)||!Le(k.value)?null:k.value.lengthLe(k.value)&&k.value.length>O?{maxlength:{requiredLength:O,actualLength:k.value.length}}:null}(k)}static pattern(k){return function ct(O){if(!O)return xt;let k,C;return"string"==typeof O?(C="","^"!==O.charAt(0)&&(C+="^"),C+=O,"$"!==O.charAt(O.length-1)&&(C+="$"),k=new RegExp(C)):(C=O.toString(),k=O),te=>{if(Ae(te.value))return null;const Ue=te.value;return k.test(Ue)?null:{pattern:{requiredPattern:C,actualValue:Ue}}}}(k)}static nullValidator(k){return null}static compose(k){return P(k)}static composeAsync(k){return B(k)}}function N(O){return k=>{if(Ae(k.value)||Ae(O))return null;const C=parseFloat(k.value);return!isNaN(C)&&C{if(Ae(k.value)||Ae(O))return null;const C=parseFloat(k.value);return!isNaN(C)&&C>O?{max:{max:O,actual:k.value}}:null}}function K(O){return Ae(O.value)?{required:!0}:null}function ve(O){return!0===O.value?null:{required:!0}}function xt(O){return null}function Ut(O){return null!=O}function It(O){return(0,n.QGY)(O)?(0,w.D)(O):O}function sn(O){let k={};return O.forEach(C=>{k=null!=C?{...k,...C}:k}),0===Object.keys(k).length?null:k}function Xe(O,k){return k.map(C=>C(O))}function Y(O){return O.map(k=>function At(O){return!O.validate}(k)?k:C=>k.validate(C))}function P(O){if(!O)return null;const k=O.filter(Ut);return 0==k.length?null:function(C){return sn(Xe(C,k))}}function ae(O){return null!=O?P(Y(O)):null}function B(O){if(!O)return null;const k=O.filter(Ut);return 0==k.length?null:function(C){const te=Xe(C,k).map(It);return(0,E.D)(te).pipe((0,H.U)(sn))}}function Se(O){return null!=O?B(Y(O)):null}function L(O,k){return null===O?[k]:Array.isArray(O)?[...O,k]:[O,k]}function V(O){return O._rawValidators}function Pe(O){return O._rawAsyncValidators}function re(O){return O?Array.isArray(O)?O:[O]:[]}function je(O,k){return Array.isArray(O)?O.includes(k):O===k}function et(O,k){const C=re(k);return re(O).forEach(Ue=>{je(C,Ue)||C.push(Ue)}),C}function st(O,k){return re(k).filter(C=>!je(O,C))}class nt{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(k){this._rawValidators=k||[],this._composedValidatorFn=ae(this._rawValidators)}_setAsyncValidators(k){this._rawAsyncValidators=k||[],this._composedAsyncValidatorFn=Se(this._rawAsyncValidators)}get validator(){return this._composedValidatorFn||null}get asyncValidator(){return this._composedAsyncValidatorFn||null}_registerOnDestroy(k){this._onDestroyCallbacks.push(k)}_invokeOnDestroyCallbacks(){this._onDestroyCallbacks.forEach(k=>k()),this._onDestroyCallbacks=[]}reset(k=void 0){this.control&&this.control.reset(k)}hasError(k,C){return!!this.control&&this.control.hasError(k,C)}getError(k,C){return this.control?this.control.getError(k,C):null}}class Bt extends nt{get formDirective(){return null}get path(){return null}}class Je extends nt{constructor(){super(...arguments),this._parent=null,this.name=null,this.valueAccessor=null}}class bt{constructor(k){this._cd=k}get isTouched(){return!!this._cd?.control?.touched}get isUntouched(){return!!this._cd?.control?.untouched}get isPristine(){return!!this._cd?.control?.pristine}get isDirty(){return!!this._cd?.control?.dirty}get isValid(){return!!this._cd?.control?.valid}get isInvalid(){return!!this._cd?.control?.invalid}get isPending(){return!!this._cd?.control?.pending}get isSubmitted(){return!!this._cd?.submitted}}let vt=(()=>{class O extends bt{constructor(C){super(C)}static#e=this.\u0275fac=function(te){return new(te||O)(n.Y36(Je,2))};static#t=this.\u0275dir=n.lG2({type:O,selectors:[["","formControlName",""],["","ngModel",""],["","formControl",""]],hostVars:14,hostBindings:function(te,Ue){2&te&&n.ekj("ng-untouched",Ue.isUntouched)("ng-touched",Ue.isTouched)("ng-pristine",Ue.isPristine)("ng-dirty",Ue.isDirty)("ng-valid",Ue.isValid)("ng-invalid",Ue.isInvalid)("ng-pending",Ue.isPending)},features:[n.qOj]})}return O})(),en=(()=>{class O extends bt{constructor(C){super(C)}static#e=this.\u0275fac=function(te){return new(te||O)(n.Y36(Bt,10))};static#t=this.\u0275dir=n.lG2({type:O,selectors:[["","formGroupName",""],["","formArrayName",""],["","ngModelGroup",""],["","formGroup",""],["form",3,"ngNoForm",""],["","ngForm",""]],hostVars:16,hostBindings:function(te,Ue){2&te&&n.ekj("ng-untouched",Ue.isUntouched)("ng-touched",Ue.isTouched)("ng-pristine",Ue.isPristine)("ng-dirty",Ue.isDirty)("ng-valid",Ue.isValid)("ng-invalid",Ue.isInvalid)("ng-pending",Ue.isPending)("ng-submitted",Ue.isSubmitted)},features:[n.qOj]})}return O})();const bn="VALID",pn="INVALID",gn="PENDING",yn="DISABLED";function kn(O){return(G(O)?O.validators:O)||null}function me(O,k){return(G(k)?k.asyncValidators:O)||null}function G(O){return null!=O&&!Array.isArray(O)&&"object"==typeof O}function Ie(O,k,C){const te=O.controls;if(!(k?Object.keys(te):te).length)throw new n.vHH(1e3,"");if(!te[C])throw new n.vHH(1001,"")}function $e(O,k,C){O._forEachChild((te,Ue)=>{if(void 0===C[Ue])throw new n.vHH(1002,"")})}class St{constructor(k,C){this._pendingDirty=!1,this._hasOwnPendingAsyncValidator=!1,this._pendingTouched=!1,this._onCollectionChange=()=>{},this._parent=null,this.pristine=!0,this.touched=!1,this._onDisabledChange=[],this._assignValidators(k),this._assignAsyncValidators(C)}get validator(){return this._composedValidatorFn}set validator(k){this._rawValidators=this._composedValidatorFn=k}get asyncValidator(){return this._composedAsyncValidatorFn}set asyncValidator(k){this._rawAsyncValidators=this._composedAsyncValidatorFn=k}get parent(){return this._parent}get valid(){return this.status===bn}get invalid(){return this.status===pn}get pending(){return this.status==gn}get disabled(){return this.status===yn}get enabled(){return this.status!==yn}get dirty(){return!this.pristine}get untouched(){return!this.touched}get updateOn(){return this._updateOn?this._updateOn:this.parent?this.parent.updateOn:"change"}setValidators(k){this._assignValidators(k)}setAsyncValidators(k){this._assignAsyncValidators(k)}addValidators(k){this.setValidators(et(k,this._rawValidators))}addAsyncValidators(k){this.setAsyncValidators(et(k,this._rawAsyncValidators))}removeValidators(k){this.setValidators(st(k,this._rawValidators))}removeAsyncValidators(k){this.setAsyncValidators(st(k,this._rawAsyncValidators))}hasValidator(k){return je(this._rawValidators,k)}hasAsyncValidator(k){return je(this._rawAsyncValidators,k)}clearValidators(){this.validator=null}clearAsyncValidators(){this.asyncValidator=null}markAsTouched(k={}){this.touched=!0,this._parent&&!k.onlySelf&&this._parent.markAsTouched(k)}markAllAsTouched(){this.markAsTouched({onlySelf:!0}),this._forEachChild(k=>k.markAllAsTouched())}markAsUntouched(k={}){this.touched=!1,this._pendingTouched=!1,this._forEachChild(C=>{C.markAsUntouched({onlySelf:!0})}),this._parent&&!k.onlySelf&&this._parent._updateTouched(k)}markAsDirty(k={}){this.pristine=!1,this._parent&&!k.onlySelf&&this._parent.markAsDirty(k)}markAsPristine(k={}){this.pristine=!0,this._pendingDirty=!1,this._forEachChild(C=>{C.markAsPristine({onlySelf:!0})}),this._parent&&!k.onlySelf&&this._parent._updatePristine(k)}markAsPending(k={}){this.status=gn,!1!==k.emitEvent&&this.statusChanges.emit(this.status),this._parent&&!k.onlySelf&&this._parent.markAsPending(k)}disable(k={}){const C=this._parentMarkedDirty(k.onlySelf);this.status=yn,this.errors=null,this._forEachChild(te=>{te.disable({...k,onlySelf:!0})}),this._updateValue(),!1!==k.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors({...k,skipPristineCheck:C}),this._onDisabledChange.forEach(te=>te(!0))}enable(k={}){const C=this._parentMarkedDirty(k.onlySelf);this.status=bn,this._forEachChild(te=>{te.enable({...k,onlySelf:!0})}),this.updateValueAndValidity({onlySelf:!0,emitEvent:k.emitEvent}),this._updateAncestors({...k,skipPristineCheck:C}),this._onDisabledChange.forEach(te=>te(!1))}_updateAncestors(k){this._parent&&!k.onlySelf&&(this._parent.updateValueAndValidity(k),k.skipPristineCheck||this._parent._updatePristine(),this._parent._updateTouched())}setParent(k){this._parent=k}getRawValue(){return this.value}updateValueAndValidity(k={}){this._setInitialStatus(),this._updateValue(),this.enabled&&(this._cancelExistingSubscription(),this.errors=this._runValidator(),this.status=this._calculateStatus(),(this.status===bn||this.status===gn)&&this._runAsyncValidator(k.emitEvent)),!1!==k.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._parent&&!k.onlySelf&&this._parent.updateValueAndValidity(k)}_updateTreeValidity(k={emitEvent:!0}){this._forEachChild(C=>C._updateTreeValidity(k)),this.updateValueAndValidity({onlySelf:!0,emitEvent:k.emitEvent})}_setInitialStatus(){this.status=this._allControlsDisabled()?yn:bn}_runValidator(){return this.validator?this.validator(this):null}_runAsyncValidator(k){if(this.asyncValidator){this.status=gn,this._hasOwnPendingAsyncValidator=!0;const C=It(this.asyncValidator(this));this._asyncValidationSubscription=C.subscribe(te=>{this._hasOwnPendingAsyncValidator=!1,this.setErrors(te,{emitEvent:k})})}}_cancelExistingSubscription(){this._asyncValidationSubscription&&(this._asyncValidationSubscription.unsubscribe(),this._hasOwnPendingAsyncValidator=!1)}setErrors(k,C={}){this.errors=k,this._updateControlsErrors(!1!==C.emitEvent)}get(k){let C=k;return null==C||(Array.isArray(C)||(C=C.split(".")),0===C.length)?null:C.reduce((te,Ue)=>te&&te._find(Ue),this)}getError(k,C){const te=C?this.get(C):this;return te&&te.errors?te.errors[k]:null}hasError(k,C){return!!this.getError(k,C)}get root(){let k=this;for(;k._parent;)k=k._parent;return k}_updateControlsErrors(k){this.status=this._calculateStatus(),k&&this.statusChanges.emit(this.status),this._parent&&this._parent._updateControlsErrors(k)}_initObservables(){this.valueChanges=new n.vpe,this.statusChanges=new n.vpe}_calculateStatus(){return this._allControlsDisabled()?yn:this.errors?pn:this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus(gn)?gn:this._anyControlsHaveStatus(pn)?pn:bn}_anyControlsHaveStatus(k){return this._anyControls(C=>C.status===k)}_anyControlsDirty(){return this._anyControls(k=>k.dirty)}_anyControlsTouched(){return this._anyControls(k=>k.touched)}_updatePristine(k={}){this.pristine=!this._anyControlsDirty(),this._parent&&!k.onlySelf&&this._parent._updatePristine(k)}_updateTouched(k={}){this.touched=this._anyControlsTouched(),this._parent&&!k.onlySelf&&this._parent._updateTouched(k)}_registerOnCollectionChange(k){this._onCollectionChange=k}_setUpdateStrategy(k){G(k)&&null!=k.updateOn&&(this._updateOn=k.updateOn)}_parentMarkedDirty(k){return!k&&!(!this._parent||!this._parent.dirty)&&!this._parent._anyControlsDirty()}_find(k){return null}_assignValidators(k){this._rawValidators=Array.isArray(k)?k.slice():k,this._composedValidatorFn=function ut(O){return Array.isArray(O)?ae(O):O||null}(this._rawValidators)}_assignAsyncValidators(k){this._rawAsyncValidators=Array.isArray(k)?k.slice():k,this._composedAsyncValidatorFn=function le(O){return Array.isArray(O)?Se(O):O||null}(this._rawAsyncValidators)}}class _e extends St{constructor(k,C,te){super(kn(C),me(te,C)),this.controls=k,this._initObservables(),this._setUpdateStrategy(C),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}registerControl(k,C){return this.controls[k]?this.controls[k]:(this.controls[k]=C,C.setParent(this),C._registerOnCollectionChange(this._onCollectionChange),C)}addControl(k,C,te={}){this.registerControl(k,C),this.updateValueAndValidity({emitEvent:te.emitEvent}),this._onCollectionChange()}removeControl(k,C={}){this.controls[k]&&this.controls[k]._registerOnCollectionChange(()=>{}),delete this.controls[k],this.updateValueAndValidity({emitEvent:C.emitEvent}),this._onCollectionChange()}setControl(k,C,te={}){this.controls[k]&&this.controls[k]._registerOnCollectionChange(()=>{}),delete this.controls[k],C&&this.registerControl(k,C),this.updateValueAndValidity({emitEvent:te.emitEvent}),this._onCollectionChange()}contains(k){return this.controls.hasOwnProperty(k)&&this.controls[k].enabled}setValue(k,C={}){$e(this,0,k),Object.keys(k).forEach(te=>{Ie(this,!0,te),this.controls[te].setValue(k[te],{onlySelf:!0,emitEvent:C.emitEvent})}),this.updateValueAndValidity(C)}patchValue(k,C={}){null!=k&&(Object.keys(k).forEach(te=>{const Ue=this.controls[te];Ue&&Ue.patchValue(k[te],{onlySelf:!0,emitEvent:C.emitEvent})}),this.updateValueAndValidity(C))}reset(k={},C={}){this._forEachChild((te,Ue)=>{te.reset(k[Ue],{onlySelf:!0,emitEvent:C.emitEvent})}),this._updatePristine(C),this._updateTouched(C),this.updateValueAndValidity(C)}getRawValue(){return this._reduceChildren({},(k,C,te)=>(k[te]=C.getRawValue(),k))}_syncPendingControls(){let k=this._reduceChildren(!1,(C,te)=>!!te._syncPendingControls()||C);return k&&this.updateValueAndValidity({onlySelf:!0}),k}_forEachChild(k){Object.keys(this.controls).forEach(C=>{const te=this.controls[C];te&&k(te,C)})}_setUpControls(){this._forEachChild(k=>{k.setParent(this),k._registerOnCollectionChange(this._onCollectionChange)})}_updateValue(){this.value=this._reduceValue()}_anyControls(k){for(const[C,te]of Object.entries(this.controls))if(this.contains(C)&&k(te))return!0;return!1}_reduceValue(){return this._reduceChildren({},(C,te,Ue)=>((te.enabled||this.disabled)&&(C[Ue]=te.value),C))}_reduceChildren(k,C){let te=k;return this._forEachChild((Ue,mn)=>{te=C(te,Ue,mn)}),te}_allControlsDisabled(){for(const k of Object.keys(this.controls))if(this.controls[k].enabled)return!1;return Object.keys(this.controls).length>0||this.disabled}_find(k){return this.controls.hasOwnProperty(k)?this.controls[k]:null}}const yt=new n.OlP("CallSetDisabledState",{providedIn:"root",factory:()=>Pt}),Pt="always";function at(O,k){return[...k.path,O]}function wt(O,k,C=Pt){Ee(O,k),k.valueAccessor.writeValue(O.value),(O.disabled||"always"===C)&&k.valueAccessor.setDisabledState?.(O.disabled),function Ve(O,k){k.valueAccessor.registerOnChange(C=>{O._pendingValue=C,O._pendingChange=!0,O._pendingDirty=!0,"change"===O.updateOn&&Rt(O,k)})}(O,k),function Ht(O,k){const C=(te,Ue)=>{k.valueAccessor.writeValue(te),Ue&&k.viewToModelUpdate(te)};O.registerOnChange(C),k._registerOnDestroy(()=>{O._unregisterOnChange(C)})}(O,k),function dt(O,k){k.valueAccessor.registerOnTouched(()=>{O._pendingTouched=!0,"blur"===O.updateOn&&O._pendingChange&&Rt(O,k),"submit"!==O.updateOn&&O.markAsTouched()})}(O,k),function Ke(O,k){if(k.valueAccessor.setDisabledState){const C=te=>{k.valueAccessor.setDisabledState(te)};O.registerOnDisabledChange(C),k._registerOnDestroy(()=>{O._unregisterOnDisabledChange(C)})}}(O,k)}function de(O,k,C=!0){const te=()=>{};k.valueAccessor&&(k.valueAccessor.registerOnChange(te),k.valueAccessor.registerOnTouched(te)),ge(O,k),O&&(k._invokeOnDestroyCallbacks(),O._registerOnCollectionChange(()=>{}))}function ke(O,k){O.forEach(C=>{C.registerOnValidatorChange&&C.registerOnValidatorChange(k)})}function Ee(O,k){const C=V(O);null!==k.validator?O.setValidators(L(C,k.validator)):"function"==typeof C&&O.setValidators([C]);const te=Pe(O);null!==k.asyncValidator?O.setAsyncValidators(L(te,k.asyncValidator)):"function"==typeof te&&O.setAsyncValidators([te]);const Ue=()=>O.updateValueAndValidity();ke(k._rawValidators,Ue),ke(k._rawAsyncValidators,Ue)}function ge(O,k){let C=!1;if(null!==O){if(null!==k.validator){const Ue=V(O);if(Array.isArray(Ue)&&Ue.length>0){const mn=Ue.filter(Nn=>Nn!==k.validator);mn.length!==Ue.length&&(C=!0,O.setValidators(mn))}}if(null!==k.asyncValidator){const Ue=Pe(O);if(Array.isArray(Ue)&&Ue.length>0){const mn=Ue.filter(Nn=>Nn!==k.asyncValidator);mn.length!==Ue.length&&(C=!0,O.setAsyncValidators(mn))}}}const te=()=>{};return ke(k._rawValidators,te),ke(k._rawAsyncValidators,te),C}function Rt(O,k){O._pendingDirty&&O.markAsDirty(),O.setValue(O._pendingValue,{emitModelToViewChange:!1}),k.viewToModelUpdate(O._pendingValue),O._pendingChange=!1}function Nt(O,k){Ee(O,k)}function li(O,k){if(!O.hasOwnProperty("model"))return!1;const C=O.model;return!!C.isFirstChange()||!Object.is(k,C.currentValue)}function Tn(O,k){O._syncPendingControls(),k.forEach(C=>{const te=C.control;"submit"===te.updateOn&&te._pendingChange&&(C.viewToModelUpdate(te._pendingValue),te._pendingChange=!1)})}function Sn(O,k){if(!k)return null;let C,te,Ue;return Array.isArray(k),k.forEach(mn=>{mn.constructor===De?C=mn:function gi(O){return Object.getPrototypeOf(O.constructor)===ne}(mn)?te=mn:Ue=mn}),Ue||te||C||null}const Vn={provide:Bt,useExisting:(0,n.Gpc)(()=>Qe)},oi=(()=>Promise.resolve())();let Qe=(()=>{class O extends Bt{constructor(C,te,Ue){super(),this.callSetDisabledState=Ue,this.submitted=!1,this._directives=new Set,this.ngSubmit=new n.vpe,this.form=new _e({},ae(C),Se(te))}ngAfterViewInit(){this._setUpdateStrategy()}get formDirective(){return this}get control(){return this.form}get path(){return[]}get controls(){return this.form.controls}addControl(C){oi.then(()=>{const te=this._findContainer(C.path);C.control=te.registerControl(C.name,C.control),wt(C.control,C,this.callSetDisabledState),C.control.updateValueAndValidity({emitEvent:!1}),this._directives.add(C)})}getControl(C){return this.form.get(C.path)}removeControl(C){oi.then(()=>{const te=this._findContainer(C.path);te&&te.removeControl(C.name),this._directives.delete(C)})}addFormGroup(C){oi.then(()=>{const te=this._findContainer(C.path),Ue=new _e({});Nt(Ue,C),te.registerControl(C.name,Ue),Ue.updateValueAndValidity({emitEvent:!1})})}removeFormGroup(C){oi.then(()=>{const te=this._findContainer(C.path);te&&te.removeControl(C.name)})}getFormGroup(C){return this.form.get(C.path)}updateModel(C,te){oi.then(()=>{this.form.get(C.path).setValue(te)})}setValue(C){this.control.setValue(C)}onSubmit(C){return this.submitted=!0,Tn(this.form,this._directives),this.ngSubmit.emit(C),"dialog"===C?.target?.method}onReset(){this.resetForm()}resetForm(C=void 0){this.form.reset(C),this.submitted=!1}_setUpdateStrategy(){this.options&&null!=this.options.updateOn&&(this.form._updateOn=this.options.updateOn)}_findContainer(C){return C.pop(),C.length?this.form.get(C):this.form}static#e=this.\u0275fac=function(te){return new(te||O)(n.Y36(se,10),n.Y36(ue,10),n.Y36(yt,8))};static#t=this.\u0275dir=n.lG2({type:O,selectors:[["form",3,"ngNoForm","",3,"formGroup",""],["ng-form"],["","ngForm",""]],hostBindings:function(te,Ue){1&te&&n.NdJ("submit",function(Nn){return Ue.onSubmit(Nn)})("reset",function(){return Ue.onReset()})},inputs:{options:["ngFormOptions","options"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[n._Bn([Vn]),n.qOj]})}return O})();function Dt(O,k){const C=O.indexOf(k);C>-1&&O.splice(C,1)}function qe(O){return"object"==typeof O&&null!==O&&2===Object.keys(O).length&&"value"in O&&"disabled"in O}const Et=class extends St{constructor(k=null,C,te){super(kn(C),me(te,C)),this.defaultValue=null,this._onChange=[],this._pendingChange=!1,this._applyFormState(k),this._setUpdateStrategy(C),this._initObservables(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator}),G(C)&&(C.nonNullable||C.initialValueIsDefault)&&(this.defaultValue=qe(k)?k.value:k)}setValue(k,C={}){this.value=this._pendingValue=k,this._onChange.length&&!1!==C.emitModelToViewChange&&this._onChange.forEach(te=>te(this.value,!1!==C.emitViewToModelChange)),this.updateValueAndValidity(C)}patchValue(k,C={}){this.setValue(k,C)}reset(k=this.defaultValue,C={}){this._applyFormState(k),this.markAsPristine(C),this.markAsUntouched(C),this.setValue(this.value,C),this._pendingChange=!1}_updateValue(){}_anyControls(k){return!1}_allControlsDisabled(){return this.disabled}registerOnChange(k){this._onChange.push(k)}_unregisterOnChange(k){Dt(this._onChange,k)}registerOnDisabledChange(k){this._onDisabledChange.push(k)}_unregisterOnDisabledChange(k){Dt(this._onDisabledChange,k)}_forEachChild(k){}_syncPendingControls(){return!("submit"!==this.updateOn||(this._pendingDirty&&this.markAsDirty(),this._pendingTouched&&this.markAsTouched(),!this._pendingChange)||(this.setValue(this._pendingValue,{onlySelf:!0,emitModelToViewChange:!1}),0))}_applyFormState(k){qe(k)?(this.value=this._pendingValue=k.value,k.disabled?this.disable({onlySelf:!0,emitEvent:!1}):this.enable({onlySelf:!0,emitEvent:!1})):this.value=this._pendingValue=k}};let x=(()=>{class O extends Bt{ngOnInit(){this._checkParentType(),this.formDirective.addFormGroup(this)}ngOnDestroy(){this.formDirective&&this.formDirective.removeFormGroup(this)}get control(){return this.formDirective.getFormGroup(this)}get path(){return at(null==this.name?this.name:this.name.toString(),this._parent)}get formDirective(){return this._parent?this._parent.formDirective:null}_checkParentType(){}static#e=this.\u0275fac=function(){let C;return function(Ue){return(C||(C=n.n5z(O)))(Ue||O)}}();static#t=this.\u0275dir=n.lG2({type:O,features:[n.qOj]})}return O})();const Hn={provide:Je,useExisting:(0,n.Gpc)(()=>Fn)},ci=(()=>Promise.resolve())();let Fn=(()=>{class O extends Je{constructor(C,te,Ue,mn,Nn,Vo){super(),this._changeDetectorRef=Nn,this.callSetDisabledState=Vo,this.control=new Et,this._registered=!1,this.name="",this.update=new n.vpe,this._parent=C,this._setValidators(te),this._setAsyncValidators(Ue),this.valueAccessor=Sn(0,mn)}ngOnChanges(C){if(this._checkForErrors(),!this._registered||"name"in C){if(this._registered&&(this._checkName(),this.formDirective)){const te=C.name.previousValue;this.formDirective.removeControl({name:te,path:this._getPath(te)})}this._setUpControl()}"isDisabled"in C&&this._updateDisabled(C),li(C,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(C){this.viewModel=C,this.update.emit(C)}_setUpControl(){this._setUpdateStrategy(),this._isStandalone()?this._setUpStandalone():this.formDirective.addControl(this),this._registered=!0}_setUpdateStrategy(){this.options&&null!=this.options.updateOn&&(this.control._updateOn=this.options.updateOn)}_isStandalone(){return!this._parent||!(!this.options||!this.options.standalone)}_setUpStandalone(){wt(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()}_updateValue(C){ci.then(()=>{this.control.setValue(C,{emitViewToModelChange:!1}),this._changeDetectorRef?.markForCheck()})}_updateDisabled(C){const te=C.isDisabled.currentValue,Ue=0!==te&&(0,n.VuI)(te);ci.then(()=>{Ue&&!this.control.disabled?this.control.disable():!Ue&&this.control.disabled&&this.control.enable(),this._changeDetectorRef?.markForCheck()})}_getPath(C){return this._parent?at(C,this._parent):[C]}static#e=this.\u0275fac=function(te){return new(te||O)(n.Y36(Bt,9),n.Y36(se,10),n.Y36(ue,10),n.Y36(we,10),n.Y36(n.sBO,8),n.Y36(yt,8))};static#t=this.\u0275dir=n.lG2({type:O,selectors:[["","ngModel","",3,"formControlName","",3,"formControl",""]],inputs:{name:"name",isDisabled:["disabled","isDisabled"],model:["ngModel","model"],options:["ngModelOptions","options"]},outputs:{update:"ngModelChange"},exportAs:["ngModel"],features:[n._Bn([Hn]),n.qOj,n.TTD]})}return O})(),xi=(()=>{class O{static#e=this.\u0275fac=function(te){return new(te||O)};static#t=this.\u0275dir=n.lG2({type:O,selectors:[["form",3,"ngNoForm","",3,"ngNativeValidate",""]],hostAttrs:["novalidate",""]})}return O})();const wi={provide:we,useExisting:(0,n.Gpc)(()=>fi),multi:!0};let fi=(()=>{class O extends ne{writeValue(C){this.setProperty("value",C??"")}registerOnChange(C){this.onChange=te=>{C(""==te?null:parseFloat(te))}}static#e=this.\u0275fac=function(){let C;return function(Ue){return(C||(C=n.n5z(O)))(Ue||O)}}();static#t=this.\u0275dir=n.lG2({type:O,selectors:[["input","type","number","formControlName",""],["input","type","number","formControl",""],["input","type","number","ngModel",""]],hostBindings:function(te,Ue){1&te&&n.NdJ("input",function(Nn){return Ue.onChange(Nn.target.value)})("blur",function(){return Ue.onTouched()})},features:[n._Bn([wi]),n.qOj]})}return O})(),Di=(()=>{class O{static#e=this.\u0275fac=function(te){return new(te||O)};static#t=this.\u0275mod=n.oAB({type:O});static#n=this.\u0275inj=n.cJS({})}return O})();const ei=new n.OlP("NgModelWithFormControlWarning"),ri={provide:Bt,useExisting:(0,n.Gpc)(()=>Qi)};let Qi=(()=>{class O extends Bt{constructor(C,te,Ue){super(),this.callSetDisabledState=Ue,this.submitted=!1,this._onCollectionChange=()=>this._updateDomValue(),this.directives=[],this.form=null,this.ngSubmit=new n.vpe,this._setValidators(C),this._setAsyncValidators(te)}ngOnChanges(C){this._checkFormPresent(),C.hasOwnProperty("form")&&(this._updateValidators(),this._updateDomValue(),this._updateRegistrations(),this._oldForm=this.form)}ngOnDestroy(){this.form&&(ge(this.form,this),this.form._onCollectionChange===this._onCollectionChange&&this.form._registerOnCollectionChange(()=>{}))}get formDirective(){return this}get control(){return this.form}get path(){return[]}addControl(C){const te=this.form.get(C.path);return wt(te,C,this.callSetDisabledState),te.updateValueAndValidity({emitEvent:!1}),this.directives.push(C),te}getControl(C){return this.form.get(C.path)}removeControl(C){de(C.control||null,C,!1),function Ci(O,k){const C=O.indexOf(k);C>-1&&O.splice(C,1)}(this.directives,C)}addFormGroup(C){this._setUpFormContainer(C)}removeFormGroup(C){this._cleanUpFormContainer(C)}getFormGroup(C){return this.form.get(C.path)}addFormArray(C){this._setUpFormContainer(C)}removeFormArray(C){this._cleanUpFormContainer(C)}getFormArray(C){return this.form.get(C.path)}updateModel(C,te){this.form.get(C.path).setValue(te)}onSubmit(C){return this.submitted=!0,Tn(this.form,this.directives),this.ngSubmit.emit(C),"dialog"===C?.target?.method}onReset(){this.resetForm()}resetForm(C=void 0){this.form.reset(C),this.submitted=!1}_updateDomValue(){this.directives.forEach(C=>{const te=C.control,Ue=this.form.get(C.path);te!==Ue&&(de(te||null,C),(O=>O instanceof Et)(Ue)&&(wt(Ue,C,this.callSetDisabledState),C.control=Ue))}),this.form._updateTreeValidity({emitEvent:!1})}_setUpFormContainer(C){const te=this.form.get(C.path);Nt(te,C),te.updateValueAndValidity({emitEvent:!1})}_cleanUpFormContainer(C){if(this.form){const te=this.form.get(C.path);te&&function nn(O,k){return ge(O,k)}(te,C)&&te.updateValueAndValidity({emitEvent:!1})}}_updateRegistrations(){this.form._registerOnCollectionChange(this._onCollectionChange),this._oldForm&&this._oldForm._registerOnCollectionChange(()=>{})}_updateValidators(){Ee(this.form,this),this._oldForm&&ge(this._oldForm,this)}_checkFormPresent(){}static#e=this.\u0275fac=function(te){return new(te||O)(n.Y36(se,10),n.Y36(ue,10),n.Y36(yt,8))};static#t=this.\u0275dir=n.lG2({type:O,selectors:[["","formGroup",""]],hostBindings:function(te,Ue){1&te&&n.NdJ("submit",function(Nn){return Ue.onSubmit(Nn)})("reset",function(){return Ue.onReset()})},inputs:{form:["formGroup","form"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[n._Bn([ri]),n.qOj,n.TTD]})}return O})();const yo={provide:Bt,useExisting:(0,n.Gpc)(()=>Gi)};let Gi=(()=>{class O extends x{constructor(C,te,Ue){super(),this.name=null,this._parent=C,this._setValidators(te),this._setAsyncValidators(Ue)}_checkParentType(){z(this._parent)}static#e=this.\u0275fac=function(te){return new(te||O)(n.Y36(Bt,13),n.Y36(se,10),n.Y36(ue,10))};static#t=this.\u0275dir=n.lG2({type:O,selectors:[["","formGroupName",""]],inputs:{name:["formGroupName","name"]},features:[n._Bn([yo]),n.qOj]})}return O})();const Ji={provide:Bt,useExisting:(0,n.Gpc)(()=>b)};let b=(()=>{class O extends Bt{constructor(C,te,Ue){super(),this.name=null,this._parent=C,this._setValidators(te),this._setAsyncValidators(Ue)}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 at(null==this.name?this.name:this.name.toString(),this._parent)}_checkParentType(){z(this._parent)}static#e=this.\u0275fac=function(te){return new(te||O)(n.Y36(Bt,13),n.Y36(se,10),n.Y36(ue,10))};static#t=this.\u0275dir=n.lG2({type:O,selectors:[["","formArrayName",""]],inputs:{name:["formArrayName","name"]},features:[n._Bn([Ji]),n.qOj]})}return O})();function z(O){return!(O instanceof Gi||O instanceof Qi||O instanceof b)}const h={provide:Je,useExisting:(0,n.Gpc)(()=>M)};let M=(()=>{class O extends Je{set isDisabled(C){}static#e=this._ngModelWarningSentOnce=!1;constructor(C,te,Ue,mn,Nn){super(),this._ngModelWarningConfig=Nn,this._added=!1,this.name=null,this.update=new n.vpe,this._ngModelWarningSent=!1,this._parent=C,this._setValidators(te),this._setAsyncValidators(Ue),this.valueAccessor=Sn(0,mn)}ngOnChanges(C){this._added||this._setUpControl(),li(C,this.viewModel)&&(this.viewModel=this.model,this.formDirective.updateModel(this,this.model))}ngOnDestroy(){this.formDirective&&this.formDirective.removeControl(this)}viewToModelUpdate(C){this.viewModel=C,this.update.emit(C)}get path(){return at(null==this.name?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}static#t=this.\u0275fac=function(te){return new(te||O)(n.Y36(Bt,13),n.Y36(se,10),n.Y36(ue,10),n.Y36(we,10),n.Y36(ei,8))};static#n=this.\u0275dir=n.lG2({type:O,selectors:[["","formControlName",""]],inputs:{name:["formControlName","name"],isDisabled:["disabled","isDisabled"],model:["ngModel","model"]},outputs:{update:"ngModelChange"},features:[n._Bn([h]),n.qOj,n.TTD]})}return O})();function _n(O){return"number"==typeof O?O:parseFloat(O)}let Bi=(()=>{class O{constructor(){this._validator=xt}ngOnChanges(C){if(this.inputName in C){const te=this.normalizeInput(C[this.inputName].currentValue);this._enabled=this.enabled(te),this._validator=this._enabled?this.createValidator(te):xt,this._onChange&&this._onChange()}}validate(C){return this._validator(C)}registerOnValidatorChange(C){this._onChange=C}enabled(C){return null!=C}static#e=this.\u0275fac=function(te){return new(te||O)};static#t=this.\u0275dir=n.lG2({type:O,features:[n.TTD]})}return O})();const To={provide:se,useExisting:(0,n.Gpc)(()=>$i),multi:!0};let $i=(()=>{class O extends Bi{constructor(){super(...arguments),this.inputName="max",this.normalizeInput=C=>_n(C),this.createValidator=C=>Ce(C)}static#e=this.\u0275fac=function(){let C;return function(Ue){return(C||(C=n.n5z(O)))(Ue||O)}}();static#t=this.\u0275dir=n.lG2({type:O,selectors:[["input","type","number","max","","formControlName",""],["input","type","number","max","","formControl",""],["input","type","number","max","","ngModel",""]],hostVars:1,hostBindings:function(te,Ue){2&te&&n.uIk("max",Ue._enabled?Ue.max:null)},inputs:{max:"max"},features:[n._Bn([To]),n.qOj]})}return O})();const Mo={provide:se,useExisting:(0,n.Gpc)(()=>Lo),multi:!0};let Lo=(()=>{class O extends Bi{constructor(){super(...arguments),this.inputName="min",this.normalizeInput=C=>_n(C),this.createValidator=C=>N(C)}static#e=this.\u0275fac=function(){let C;return function(Ue){return(C||(C=n.n5z(O)))(Ue||O)}}();static#t=this.\u0275dir=n.lG2({type:O,selectors:[["input","type","number","min","","formControlName",""],["input","type","number","min","","formControl",""],["input","type","number","min","","ngModel",""]],hostVars:1,hostBindings:function(te,Ue){2&te&&n.uIk("min",Ue._enabled?Ue.min:null)},inputs:{min:"min"},features:[n._Bn([Mo]),n.qOj]})}return O})();const ao={provide:se,useExisting:(0,n.Gpc)(()=>Bo),multi:!0},fo={provide:se,useExisting:(0,n.Gpc)(()=>tt),multi:!0};let Bo=(()=>{class O extends Bi{constructor(){super(...arguments),this.inputName="required",this.normalizeInput=n.VuI,this.createValidator=C=>K}enabled(C){return C}static#e=this.\u0275fac=function(){let C;return function(Ue){return(C||(C=n.n5z(O)))(Ue||O)}}();static#t=this.\u0275dir=n.lG2({type:O,selectors:[["","required","","formControlName","",3,"type","checkbox"],["","required","","formControl","",3,"type","checkbox"],["","required","","ngModel","",3,"type","checkbox"]],hostVars:1,hostBindings:function(te,Ue){2&te&&n.uIk("required",Ue._enabled?"":null)},inputs:{required:"required"},features:[n._Bn([ao]),n.qOj]})}return O})(),tt=(()=>{class O extends Bo{constructor(){super(...arguments),this.createValidator=C=>ve}static#e=this.\u0275fac=function(){let C;return function(Ue){return(C||(C=n.n5z(O)))(Ue||O)}}();static#t=this.\u0275dir=n.lG2({type:O,selectors:[["input","type","checkbox","required","","formControlName",""],["input","type","checkbox","required","","formControl",""],["input","type","checkbox","required","","ngModel",""]],hostVars:1,hostBindings:function(te,Ue){2&te&&n.uIk("required",Ue._enabled?"":null)},features:[n._Bn([fo]),n.qOj]})}return O})(),Ai=(()=>{class O{static#e=this.\u0275fac=function(te){return new(te||O)};static#t=this.\u0275mod=n.oAB({type:O});static#n=this.\u0275inj=n.cJS({imports:[Di]})}return O})();class So extends St{constructor(k,C,te){super(kn(C),me(te,C)),this.controls=k,this._initObservables(),this._setUpdateStrategy(C),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}at(k){return this.controls[this._adjustIndex(k)]}push(k,C={}){this.controls.push(k),this._registerControl(k),this.updateValueAndValidity({emitEvent:C.emitEvent}),this._onCollectionChange()}insert(k,C,te={}){this.controls.splice(k,0,C),this._registerControl(C),this.updateValueAndValidity({emitEvent:te.emitEvent})}removeAt(k,C={}){let te=this._adjustIndex(k);te<0&&(te=0),this.controls[te]&&this.controls[te]._registerOnCollectionChange(()=>{}),this.controls.splice(te,1),this.updateValueAndValidity({emitEvent:C.emitEvent})}setControl(k,C,te={}){let Ue=this._adjustIndex(k);Ue<0&&(Ue=0),this.controls[Ue]&&this.controls[Ue]._registerOnCollectionChange(()=>{}),this.controls.splice(Ue,1),C&&(this.controls.splice(Ue,0,C),this._registerControl(C)),this.updateValueAndValidity({emitEvent:te.emitEvent}),this._onCollectionChange()}get length(){return this.controls.length}setValue(k,C={}){$e(this,0,k),k.forEach((te,Ue)=>{Ie(this,!1,Ue),this.at(Ue).setValue(te,{onlySelf:!0,emitEvent:C.emitEvent})}),this.updateValueAndValidity(C)}patchValue(k,C={}){null!=k&&(k.forEach((te,Ue)=>{this.at(Ue)&&this.at(Ue).patchValue(te,{onlySelf:!0,emitEvent:C.emitEvent})}),this.updateValueAndValidity(C))}reset(k=[],C={}){this._forEachChild((te,Ue)=>{te.reset(k[Ue],{onlySelf:!0,emitEvent:C.emitEvent})}),this._updatePristine(C),this._updateTouched(C),this.updateValueAndValidity(C)}getRawValue(){return this.controls.map(k=>k.getRawValue())}clear(k={}){this.controls.length<1||(this._forEachChild(C=>C._registerOnCollectionChange(()=>{})),this.controls.splice(0),this.updateValueAndValidity({emitEvent:k.emitEvent}))}_adjustIndex(k){return k<0?k+this.length:k}_syncPendingControls(){let k=this.controls.reduce((C,te)=>!!te._syncPendingControls()||C,!1);return k&&this.updateValueAndValidity({onlySelf:!0}),k}_forEachChild(k){this.controls.forEach((C,te)=>{k(C,te)})}_updateValue(){this.value=this.controls.filter(k=>k.enabled||this.disabled).map(k=>k.value)}_anyControls(k){return this.controls.some(C=>C.enabled&&k(C))}_setUpControls(){this._forEachChild(k=>this._registerControl(k))}_allControlsDisabled(){for(const k of this.controls)if(k.enabled)return!1;return this.controls.length>0||this.disabled}_registerControl(k){k.setParent(this),k._registerOnCollectionChange(this._onCollectionChange)}_find(k){return this.at(k)??null}}let yr=(()=>{class O{static withConfig(C){return{ngModule:O,providers:[{provide:yt,useValue:C.callSetDisabledState??Pt}]}}static#e=this.\u0275fac=function(te){return new(te||O)};static#t=this.\u0275mod=n.oAB({type:O});static#n=this.\u0275inj=n.cJS({imports:[Ai]})}return O})(),ir=(()=>{class O{static withConfig(C){return{ngModule:O,providers:[{provide:ei,useValue:C.warnOnNgModelWithFormControl??"always"},{provide:yt,useValue:C.callSetDisabledState??Pt}]}}static#e=this.\u0275fac=function(te){return new(te||O)};static#t=this.\u0275mod=n.oAB({type:O});static#n=this.\u0275inj=n.cJS({imports:[Ai]})}return O})()},9488:(_t,Me,p)=>{p.d(Me,{A9:()=>De,Yi:()=>Le,vV:()=>se});var n=p(4300),l=p(2495),w=p(8337),E=p(5879),H=p(6223),Q=p(3680);const ne=["button"],we=["*"],ie=new E.OlP("MAT_BUTTON_TOGGLE_DEFAULT_OPTIONS"),J=new E.OlP("MatButtonToggleGroup"),xe={provide:H.JU,useExisting:(0,E.Gpc)(()=>De),multi:!0};let fe=0;class ce{constructor(ze,oe){this.source=ze,this.value=oe}}let De=(()=>{class ue{get name(){return this._name}set name(oe){this._name=oe,this._markButtonsForCheck()}get vertical(){return this._vertical}set vertical(oe){this._vertical=(0,l.Ig)(oe)}get value(){const oe=this._selectionModel?this._selectionModel.selected:[];return this.multiple?oe.map(N=>N.value):oe[0]?oe[0].value:void 0}set value(oe){this._setSelectionByValue(oe),this.valueChange.emit(this.value)}get selected(){const oe=this._selectionModel?this._selectionModel.selected:[];return this.multiple?oe:oe[0]||null}get multiple(){return this._multiple}set multiple(oe){this._multiple=(0,l.Ig)(oe),this._markButtonsForCheck()}get disabled(){return this._disabled}set disabled(oe){this._disabled=(0,l.Ig)(oe),this._markButtonsForCheck()}constructor(oe,N){this._changeDetector=oe,this._vertical=!1,this._multiple=!1,this._disabled=!1,this._controlValueAccessorChangeFn=()=>{},this._onTouched=()=>{},this._name="mat-button-toggle-group-"+fe++,this.valueChange=new E.vpe,this.change=new E.vpe,this.appearance=N&&N.appearance?N.appearance:"standard"}ngOnInit(){this._selectionModel=new w.Ov(this.multiple,void 0,!1)}ngAfterContentInit(){this._selectionModel.select(...this._buttonToggles.filter(oe=>oe.checked))}writeValue(oe){this.value=oe,this._changeDetector.markForCheck()}registerOnChange(oe){this._controlValueAccessorChangeFn=oe}registerOnTouched(oe){this._onTouched=oe}setDisabledState(oe){this.disabled=oe}_emitChangeEvent(oe){const N=new ce(oe,this.value);this._rawValue=N.value,this._controlValueAccessorChangeFn(N.value),this.change.emit(N)}_syncButtonToggle(oe,N,Ce=!1,K=!1){!this.multiple&&this.selected&&!oe.checked&&(this.selected.checked=!1),this._selectionModel?N?this._selectionModel.select(oe):this._selectionModel.deselect(oe):K=!0,K?Promise.resolve().then(()=>this._updateModelValue(oe,Ce)):this._updateModelValue(oe,Ce)}_isSelected(oe){return this._selectionModel&&this._selectionModel.isSelected(oe)}_isPrechecked(oe){return!(typeof this._rawValue>"u")&&(this.multiple&&Array.isArray(this._rawValue)?this._rawValue.some(N=>null!=oe.value&&N===oe.value):oe.value===this._rawValue)}_setSelectionByValue(oe){this._rawValue=oe,this._buttonToggles&&(this.multiple&&oe?(Array.isArray(oe),this._clearSelection(),oe.forEach(N=>this._selectValue(N))):(this._clearSelection(),this._selectValue(oe)))}_clearSelection(){this._selectionModel.clear(),this._buttonToggles.forEach(oe=>oe.checked=!1)}_selectValue(oe){const N=this._buttonToggles.find(Ce=>null!=Ce.value&&Ce.value===oe);N&&(N.checked=!0,this._selectionModel.select(N))}_updateModelValue(oe,N){N&&this._emitChangeEvent(oe),this.valueChange.emit(this.value)}_markButtonsForCheck(){this._buttonToggles?.forEach(oe=>oe._markForCheck())}static#e=this.\u0275fac=function(N){return new(N||ue)(E.Y36(E.sBO),E.Y36(ie,8))};static#t=this.\u0275dir=E.lG2({type:ue,selectors:[["mat-button-toggle-group"]],contentQueries:function(N,Ce,K){if(1&N&&E.Suo(K,Le,5),2&N){let ve;E.iGM(ve=E.CRH())&&(Ce._buttonToggles=ve)}},hostAttrs:["role","group",1,"mat-button-toggle-group"],hostVars:5,hostBindings:function(N,Ce){2&N&&(E.uIk("aria-disabled",Ce.disabled),E.ekj("mat-button-toggle-vertical",Ce.vertical)("mat-button-toggle-group-appearance-standard","standard"===Ce.appearance))},inputs:{appearance:"appearance",name:"name",vertical:"vertical",value:"value",multiple:"multiple",disabled:"disabled"},outputs:{valueChange:"valueChange",change:"change"},exportAs:["matButtonToggleGroup"],features:[E._Bn([xe,{provide:J,useExisting:ue}])]})}return ue})();const Ae=(0,Q.Kr)(class{});let Le=(()=>{class ue extends Ae{get buttonId(){return`${this.id}-button`}get appearance(){return this.buttonToggleGroup?this.buttonToggleGroup.appearance:this._appearance}set appearance(oe){this._appearance=oe}get checked(){return this.buttonToggleGroup?this.buttonToggleGroup._isSelected(this):this._checked}set checked(oe){const N=(0,l.Ig)(oe);N!==this._checked&&(this._checked=N,this.buttonToggleGroup&&this.buttonToggleGroup._syncButtonToggle(this,this._checked),this._changeDetectorRef.markForCheck())}get disabled(){return this._disabled||this.buttonToggleGroup&&this.buttonToggleGroup.disabled}set disabled(oe){this._disabled=(0,l.Ig)(oe)}constructor(oe,N,Ce,K,ve,ye){super(),this._changeDetectorRef=N,this._elementRef=Ce,this._focusMonitor=K,this._checked=!1,this.ariaLabelledby=null,this._disabled=!1,this.change=new E.vpe;const He=Number(ve);this.tabIndex=He||0===He?He:null,this.buttonToggleGroup=oe,this.appearance=ye&&ye.appearance?ye.appearance:"standard"}ngOnInit(){const oe=this.buttonToggleGroup;this.id=this.id||"mat-button-toggle-"+fe++,oe&&(oe._isPrechecked(this)?this.checked=!0:oe._isSelected(this)!==this._checked&&oe._syncButtonToggle(this,this._checked))}ngAfterViewInit(){this._focusMonitor.monitor(this._elementRef,!0)}ngOnDestroy(){const oe=this.buttonToggleGroup;this._focusMonitor.stopMonitoring(this._elementRef),oe&&oe._isSelected(this)&&oe._syncButtonToggle(this,!1,!1,!0)}focus(oe){this._buttonElement.nativeElement.focus(oe)}_onButtonClick(){const oe=!!this._isSingleSelector()||!this._checked;oe!==this._checked&&(this._checked=oe,this.buttonToggleGroup&&(this.buttonToggleGroup._syncButtonToggle(this,this._checked,!0),this.buttonToggleGroup._onTouched())),this.change.emit(new ce(this,this.value))}_markForCheck(){this._changeDetectorRef.markForCheck()}_getButtonName(){return this._isSingleSelector()?this.buttonToggleGroup.name:this.name||null}_isSingleSelector(){return this.buttonToggleGroup&&!this.buttonToggleGroup.multiple}static#e=this.\u0275fac=function(N){return new(N||ue)(E.Y36(J,8),E.Y36(E.sBO),E.Y36(E.SBq),E.Y36(n.tE),E.$8M("tabindex"),E.Y36(ie,8))};static#t=this.\u0275cmp=E.Xpm({type:ue,selectors:[["mat-button-toggle"]],viewQuery:function(N,Ce){if(1&N&&E.Gf(ne,5),2&N){let K;E.iGM(K=E.CRH())&&(Ce._buttonElement=K.first)}},hostAttrs:["role","presentation",1,"mat-button-toggle"],hostVars:12,hostBindings:function(N,Ce){1&N&&E.NdJ("focus",function(){return Ce.focus()}),2&N&&(E.uIk("aria-label",null)("aria-labelledby",null)("id",Ce.id)("name",null),E.ekj("mat-button-toggle-standalone",!Ce.buttonToggleGroup)("mat-button-toggle-checked",Ce.checked)("mat-button-toggle-disabled",Ce.disabled)("mat-button-toggle-appearance-standard","standard"===Ce.appearance))},inputs:{disableRipple:"disableRipple",ariaLabel:["aria-label","ariaLabel"],ariaLabelledby:["aria-labelledby","ariaLabelledby"],id:"id",name:"name",value:"value",tabIndex:"tabIndex",appearance:"appearance",checked:"checked",disabled:"disabled"},outputs:{change:"change"},exportAs:["matButtonToggle"],features:[E.qOj],ngContentSelectors:we,decls:6,vars:9,consts:[["type","button",1,"mat-button-toggle-button","mat-focus-indicator",3,"id","disabled","click"],["button",""],[1,"mat-button-toggle-label-content"],[1,"mat-button-toggle-focus-overlay"],["matRipple","",1,"mat-button-toggle-ripple",3,"matRippleTrigger","matRippleDisabled"]],template:function(N,Ce){if(1&N&&(E.F$t(),E.TgZ(0,"button",0,1),E.NdJ("click",function(){return Ce._onButtonClick()}),E.TgZ(2,"span",2),E.Hsn(3),E.qZA()(),E._UZ(4,"span",3)(5,"span",4)),2&N){const K=E.MAs(1);E.Q6J("id",Ce.buttonId)("disabled",Ce.disabled||null),E.uIk("tabindex",Ce.disabled?-1:Ce.tabIndex)("aria-pressed",Ce.checked)("name",Ce._getButtonName())("aria-label",Ce.ariaLabel)("aria-labelledby",Ce.ariaLabelledby),E.xp6(5),E.Q6J("matRippleTrigger",K)("matRippleDisabled",Ce.disableRipple||Ce.disabled)}},dependencies:[Q.wG],styles:[".mat-button-toggle-standalone,.mat-button-toggle-group{--mat-legacy-button-toggle-height:36px;--mat-legacy-button-toggle-shape:2px;--mat-legacy-button-toggle-focus-state-layer-opacity:1;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{--mat-standard-button-toggle-shape:4px;--mat-standard-button-toggle-hover-state-layer-opacity:0.04;--mat-standard-button-toggle-focus-state-layer-opacity:0.12;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: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-text-font)}.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-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-button-toggle-disabled.mat-button-toggle-checked{background-color:var(--mat-legacy-button-toggle-disabled-selected-state-background-color)}.mat-button-toggle-appearance-standard{--mat-standard-button-toggle-shape:4px;--mat-standard-button-toggle-hover-state-layer-opacity:0.04;--mat-standard-button-toggle-focus-state-layer-opacity:0.12;color:var(--mat-standard-button-toggle-text-color);background-color:var(--mat-standard-button-toggle-background-color);font-family:var(--mat-standard-button-toggle-text-font)}.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-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}"],encapsulation:2,changeDetection:0})}return ue})(),se=(()=>{class ue{static#e=this.\u0275fac=function(N){return new(N||ue)};static#t=this.\u0275mod=E.oAB({type:ue});static#n=this.\u0275inj=E.cJS({imports:[Q.BQ,Q.si,Q.BQ]})}return ue})()},2296:(_t,Me,p)=>{p.d(Me,{RK:()=>Y,lW:()=>ye,o6:()=>P,ot:()=>ae});var n=p(2831),l=p(5879),w=p(4300),E=p(2495),H=p(3680);const Q=["mat-button",""],ne=[[["",8,"material-icons",3,"iconPositionEnd",""],["mat-icon",3,"iconPositionEnd",""],["","matButtonIcon","",3,"iconPositionEnd",""]],"*",[["","iconPositionEnd","",8,"material-icons"],["mat-icon","iconPositionEnd",""],["","matButtonIcon","","iconPositionEnd",""]]],we=[".material-icons:not([iconPositionEnd]), mat-icon:not([iconPositionEnd]), [matButtonIcon]:not([iconPositionEnd])","*",".material-icons[iconPositionEnd], mat-icon[iconPositionEnd], [matButtonIcon][iconPositionEnd]"],J=".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}",De=["mat-icon-button",""],Ae=["*"],ze=[{selector:"mat-button",mdcClasses:["mdc-button","mat-mdc-button"]},{selector:"mat-flat-button",mdcClasses:["mdc-button","mdc-button--unelevated","mat-mdc-unelevated-button"]},{selector:"mat-raised-button",mdcClasses:["mdc-button","mdc-button--raised","mat-mdc-raised-button"]},{selector:"mat-stroked-button",mdcClasses:["mdc-button","mdc-button--outlined","mat-mdc-outlined-button"]},{selector:"mat-fab",mdcClasses:["mdc-fab","mat-mdc-fab"]},{selector:"mat-mini-fab",mdcClasses:["mdc-fab","mdc-fab--mini","mat-mdc-mini-fab"]},{selector:"mat-icon-button",mdcClasses:["mdc-icon-button","mat-mdc-icon-button"]}],oe=(0,H.pj)((0,H.Id)((0,H.Kr)(class{constructor(B){this._elementRef=B}})));let N=(()=>{class B extends oe{get ripple(){return this._rippleLoader?.getRipple(this._elementRef.nativeElement)}set ripple(L){this._rippleLoader?.attachRipple(this._elementRef.nativeElement,L)}get disableRipple(){return this._disableRipple}set disableRipple(L){this._disableRipple=(0,E.Ig)(L),this._updateRippleDisabled()}get disabled(){return this._disabled}set disabled(L){this._disabled=(0,E.Ig)(L),this._updateRippleDisabled()}constructor(L,V,Pe,re){super(L),this._platform=V,this._ngZone=Pe,this._animationMode=re,this._focusMonitor=(0,l.f3M)(w.tE),this._rippleLoader=(0,l.f3M)(H.Fq),this._isFab=!1,this._disableRipple=!1,this._disabled=!1,this._rippleLoader?.configureRipple(this._elementRef.nativeElement,{className:"mat-mdc-button-ripple"});const je=L.nativeElement.classList;for(const et of ze)this._hasHostAttributes(et.selector)&&et.mdcClasses.forEach(st=>{je.add(st)})}ngAfterViewInit(){this._focusMonitor.monitor(this._elementRef,!0)}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef)}focus(L="program",V){L?this._focusMonitor.focusVia(this._elementRef.nativeElement,L,V):this._elementRef.nativeElement.focus(V)}_hasHostAttributes(...L){return L.some(V=>this._elementRef.nativeElement.hasAttribute(V))}_updateRippleDisabled(){this._rippleLoader?.setDisabled(this._elementRef.nativeElement,this.disableRipple||this.disabled)}static#e=this.\u0275fac=function(V){l.$Z()};static#t=this.\u0275dir=l.lG2({type:B,features:[l.qOj]})}return B})(),ve=(()=>{class B extends N{constructor(L,V,Pe,re){super(L,V,Pe,re),this._haltDisabledEvents=je=>{this.disabled&&(je.preventDefault(),je.stopImmediatePropagation())}}ngOnInit(){this._ngZone.runOutsideAngular(()=>{this._elementRef.nativeElement.addEventListener("click",this._haltDisabledEvents)})}ngOnDestroy(){super.ngOnDestroy(),this._elementRef.nativeElement.removeEventListener("click",this._haltDisabledEvents)}static#e=this.\u0275fac=function(V){l.$Z()};static#t=this.\u0275dir=l.lG2({type:B,features:[l.qOj]})}return B})(),ye=(()=>{class B extends N{constructor(L,V,Pe,re){super(L,V,Pe,re)}static#e=this.\u0275fac=function(V){return new(V||B)(l.Y36(l.SBq),l.Y36(n.t4),l.Y36(l.R0b),l.Y36(l.QbO,8))};static#t=this.\u0275cmp=l.Xpm({type:B,selectors:[["button","mat-button",""],["button","mat-raised-button",""],["button","mat-flat-button",""],["button","mat-stroked-button",""]],hostVars:7,hostBindings:function(V,Pe){2&V&&(l.uIk("disabled",Pe.disabled||null),l.ekj("_mat-animation-noopable","NoopAnimations"===Pe._animationMode)("mat-unthemed",!Pe.color)("mat-mdc-button-base",!0))},inputs:{disabled:"disabled",disableRipple:"disableRipple",color:"color"},exportAs:["matButton"],features:[l.qOj],attrs:Q,ngContentSelectors:we,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(V,Pe){1&V&&(l.F$t(ne),l._UZ(0,"span",0),l.Hsn(1),l.TgZ(2,"span",1),l.Hsn(3,1),l.qZA(),l.Hsn(4,2),l._UZ(5,"span",2)(6,"span",3)),2&V&&l.ekj("mdc-button__ripple",!Pe._isFab)("mdc-fab__ripple",Pe._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(\n 100% + 4px\n );width:calc(\n 100% + 4px\n );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{height:var(--mdc-text-button-container-height, 36px);border-radius:var(--mdc-text-button-container-shape, var(--mdc-shape-small, 4px))}.mat-mdc-button:not(:disabled){color:var(--mdc-text-button-label-text-color, inherit)}.mat-mdc-button:disabled{color:var(--mdc-text-button-disabled-label-text-color, rgba(0, 0, 0, 0.38))}.mat-mdc-button .mdc-button__ripple{border-radius:var(--mdc-text-button-container-shape, var(--mdc-shape-small, 4px))}.mat-mdc-unelevated-button{height:var(--mdc-filled-button-container-height, 36px);border-radius:var(--mdc-filled-button-container-shape, var(--mdc-shape-small, 4px))}.mat-mdc-unelevated-button:not(:disabled){background-color:var(--mdc-filled-button-container-color, transparent)}.mat-mdc-unelevated-button:disabled{background-color:var(--mdc-filled-button-disabled-container-color, rgba(0, 0, 0, 0.12))}.mat-mdc-unelevated-button:not(:disabled){color:var(--mdc-filled-button-label-text-color, inherit)}.mat-mdc-unelevated-button:disabled{color:var(--mdc-filled-button-disabled-label-text-color, rgba(0, 0, 0, 0.38))}.mat-mdc-unelevated-button .mdc-button__ripple{border-radius:var(--mdc-filled-button-container-shape, var(--mdc-shape-small, 4px))}.mat-mdc-raised-button{height:var(--mdc-protected-button-container-height, 36px);border-radius:var(--mdc-protected-button-container-shape, var(--mdc-shape-small, 4px));box-shadow:var(--mdc-protected-button-container-elevation, 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))}.mat-mdc-raised-button:not(:disabled){background-color:var(--mdc-protected-button-container-color, transparent)}.mat-mdc-raised-button:disabled{background-color:var(--mdc-protected-button-disabled-container-color, rgba(0, 0, 0, 0.12))}.mat-mdc-raised-button:not(:disabled){color:var(--mdc-protected-button-label-text-color, inherit)}.mat-mdc-raised-button:disabled{color:var(--mdc-protected-button-disabled-label-text-color, rgba(0, 0, 0, 0.38))}.mat-mdc-raised-button .mdc-button__ripple{border-radius:var(--mdc-protected-button-container-shape, var(--mdc-shape-small, 4px))}.mat-mdc-raised-button.mdc-ripple-upgraded--background-focused,.mat-mdc-raised-button:not(.mdc-ripple-upgraded):focus{box-shadow:var(--mdc-protected-button-focus-container-elevation, 0px 2px 4px -1px rgba(0, 0, 0, 0.2), 0px 4px 5px 0px rgba(0, 0, 0, 0.14), 0px 1px 10px 0px rgba(0, 0, 0, 0.12))}.mat-mdc-raised-button:hover{box-shadow:var(--mdc-protected-button-hover-container-elevation, 0px 2px 4px -1px rgba(0, 0, 0, 0.2), 0px 4px 5px 0px rgba(0, 0, 0, 0.14), 0px 1px 10px 0px rgba(0, 0, 0, 0.12))}.mat-mdc-raised-button:not(:disabled):active{box-shadow:var(--mdc-protected-button-pressed-container-elevation, 0px 5px 5px -3px rgba(0, 0, 0, 0.2), 0px 8px 10px 1px rgba(0, 0, 0, 0.14), 0px 3px 14px 2px rgba(0, 0, 0, 0.12))}.mat-mdc-raised-button:disabled{box-shadow:var(--mdc-protected-button-disabled-container-elevation, 0px 0px 0px 0px rgba(0, 0, 0, 0.2), 0px 0px 0px 0px rgba(0, 0, 0, 0.14), 0px 0px 0px 0px rgba(0, 0, 0, 0.12))}.mat-mdc-outlined-button{height:var(--mdc-outlined-button-container-height, 36px);border-radius:var(--mdc-outlined-button-container-shape, var(--mdc-shape-small, 4px));padding:0 15px 0 15px;border-width:var(--mdc-outlined-button-outline-width, 1px)}.mat-mdc-outlined-button:not(:disabled){color:var(--mdc-outlined-button-label-text-color, inherit)}.mat-mdc-outlined-button:disabled{color:var(--mdc-outlined-button-disabled-label-text-color, rgba(0, 0, 0, 0.38))}.mat-mdc-outlined-button .mdc-button__ripple{border-radius:var(--mdc-outlined-button-container-shape, var(--mdc-shape-small, 4px))}.mat-mdc-outlined-button:not(:disabled){border-color:var(--mdc-outlined-button-outline-color, rgba(0, 0, 0, 0.12))}.mat-mdc-outlined-button:disabled{border-color:var(--mdc-outlined-button-disabled-outline-color, rgba(0, 0, 0, 0.12))}.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, 1px)}.mat-mdc-outlined-button .mdc-button__touch{left:calc(-1 * var(--mdc-outlined-button-outline-width, 1px));width:calc(100% + 2 * var(--mdc-outlined-button-outline-width, 1px))}.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;background-color:var(--mat-mdc-button-persistent-ripple-color)}.mat-mdc-button .mat-ripple-element,.mat-mdc-unelevated-button .mat-ripple-element,.mat-mdc-raised-button .mat-ripple-element,.mat-mdc-outlined-button .mat-ripple-element{background-color:var(--mat-mdc-button-ripple-color)}.mat-mdc-button .mdc-button__label,.mat-mdc-unelevated-button .mdc-button__label,.mat-mdc-raised-button .mdc-button__label,.mat-mdc-outlined-button .mdc-button__label{z-index:1}.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[disabled],.mat-mdc-unelevated-button[disabled],.mat-mdc-raised-button[disabled],.mat-mdc-outlined-button[disabled]{cursor:default;pointer-events:none}.mat-mdc-button .mat-mdc-button-touch-target,.mat-mdc-unelevated-button .mat-mdc-button-touch-target,.mat-mdc-raised-button .mat-mdc-button-touch-target,.mat-mdc-outlined-button .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:0;right:0;transform:translateY(-50%)}.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{margin-left:0;margin-right:8px;display:inline-block;position:relative;vertical-align:top;font-size:1.125rem;height:1.125rem;width:1.125rem}[dir=rtl] .mat-mdc-button>.mat-icon,.mat-mdc-button>.mat-icon[dir=rtl]{margin-left:8px;margin-right:0}.mat-mdc-button .mdc-button__label+.mat-icon{margin-left:8px;margin-right:0}[dir=rtl] .mat-mdc-button .mdc-button__label+.mat-icon,.mat-mdc-button .mdc-button__label+.mat-icon[dir=rtl]{margin-left:0;margin-right:8px}.mat-mdc-unelevated-button>.mat-icon,.mat-mdc-raised-button>.mat-icon,.mat-mdc-outlined-button>.mat-icon{margin-left:0;margin-right:8px;display:inline-block;position:relative;vertical-align:top;font-size:1.125rem;height:1.125rem;width:1.125rem;margin-left:-4px;margin-right:8px}[dir=rtl] .mat-mdc-unelevated-button>.mat-icon,[dir=rtl] .mat-mdc-raised-button>.mat-icon,[dir=rtl] .mat-mdc-outlined-button>.mat-icon,.mat-mdc-unelevated-button>.mat-icon[dir=rtl],.mat-mdc-raised-button>.mat-icon[dir=rtl],.mat-mdc-outlined-button>.mat-icon[dir=rtl]{margin-left:8px;margin-right:0}[dir=rtl] .mat-mdc-unelevated-button>.mat-icon,[dir=rtl] .mat-mdc-raised-button>.mat-icon,[dir=rtl] .mat-mdc-outlined-button>.mat-icon,.mat-mdc-unelevated-button>.mat-icon[dir=rtl],.mat-mdc-raised-button>.mat-icon[dir=rtl],.mat-mdc-outlined-button>.mat-icon[dir=rtl]{margin-left:8px;margin-right:-4px}.mat-mdc-unelevated-button .mdc-button__label+.mat-icon,.mat-mdc-raised-button .mdc-button__label+.mat-icon,.mat-mdc-outlined-button .mdc-button__label+.mat-icon{margin-left:8px;margin-right:-4px}[dir=rtl] .mat-mdc-unelevated-button .mdc-button__label+.mat-icon,[dir=rtl] .mat-mdc-raised-button .mdc-button__label+.mat-icon,[dir=rtl] .mat-mdc-outlined-button .mdc-button__label+.mat-icon,.mat-mdc-unelevated-button .mdc-button__label+.mat-icon[dir=rtl],.mat-mdc-raised-button .mdc-button__label+.mat-icon[dir=rtl],.mat-mdc-outlined-button .mdc-button__label+.mat-icon[dir=rtl]{margin-left:-4px;margin-right:8px}.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})}return B})(),Y=(()=>{class B extends N{constructor(L,V,Pe,re){super(L,V,Pe,re),this._rippleLoader.configureRipple(this._elementRef.nativeElement,{centered:!0})}static#e=this.\u0275fac=function(V){return new(V||B)(l.Y36(l.SBq),l.Y36(n.t4),l.Y36(l.R0b),l.Y36(l.QbO,8))};static#t=this.\u0275cmp=l.Xpm({type:B,selectors:[["button","mat-icon-button",""]],hostVars:7,hostBindings:function(V,Pe){2&V&&(l.uIk("disabled",Pe.disabled||null),l.ekj("_mat-animation-noopable","NoopAnimations"===Pe._animationMode)("mat-unthemed",!Pe.color)("mat-mdc-button-base",!0))},inputs:{disabled:"disabled",disableRipple:"disableRipple",color:"color"},exportAs:["matButton"],features:[l.qOj],attrs:De,ngContentSelectors:Ae,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(V,Pe){1&V&&(l.F$t(),l._UZ(0,"span",0),l.Hsn(1),l._UZ(2,"span",1)(3,"span",2))},styles:['.mdc-icon-button{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;user-select:none;z-index:0;overflow:visible}.mdc-icon-button .mdc-icon-button__touch{position:absolute;top:50%;height:48px;left:50%;width:48px;transform:translate(-50%, -50%)}@media screen and (forced-colors: active){.mdc-icon-button.mdc-ripple-upgraded--background-focused .mdc-icon-button__focus-ring,.mdc-icon-button:not(.mdc-ripple-upgraded):focus .mdc-icon-button__focus-ring{display:block}}.mdc-icon-button:disabled{cursor:default;pointer-events:none}.mdc-icon-button[hidden]{display:none}.mdc-icon-button--display-flex{align-items:center;display:inline-flex;justify-content:center}.mdc-icon-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:100%;width:100%;display:none}@media screen and (forced-colors: active){.mdc-icon-button__focus-ring{border-color:CanvasText}}.mdc-icon-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-icon-button__focus-ring::after{border-color:CanvasText}}.mdc-icon-button__icon{display:inline-block}.mdc-icon-button__icon.mdc-icon-button__icon--on{display:none}.mdc-icon-button--on .mdc-icon-button__icon{display:none}.mdc-icon-button--on .mdc-icon-button__icon.mdc-icon-button__icon--on{display:inline-block}.mdc-icon-button__link{height:100%;left:0;outline:none;position:absolute;top:0;width:100%}.mat-mdc-icon-button{height:var(--mdc-icon-button-state-layer-size);width:var(--mdc-icon-button-state-layer-size);color:var(--mdc-icon-button-icon-color);--mdc-icon-button-state-layer-size:48px;--mdc-icon-button-icon-size:24px;--mdc-icon-button-disabled-icon-color:black;--mdc-icon-button-disabled-icon-opacity:0.38}.mat-mdc-icon-button .mdc-button__icon{font-size:var(--mdc-icon-button-icon-size)}.mat-mdc-icon-button svg,.mat-mdc-icon-button img{width:var(--mdc-icon-button-icon-size);height:var(--mdc-icon-button-icon-size)}.mat-mdc-icon-button:disabled{opacity:var(--mdc-icon-button-disabled-icon-opacity)}.mat-mdc-icon-button:disabled{color:var(--mdc-icon-button-disabled-icon-color)}.mat-mdc-icon-button{padding:12px;font-size:var(--mdc-icon-button-icon-size);border-radius:50%;flex-shrink:0;text-align:center;-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-mdc-icon-button svg{vertical-align:baseline}.mat-mdc-icon-button[disabled]{cursor:default;pointer-events:none;opacity:1}.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;background-color:var(--mat-mdc-button-persistent-ripple-color)}.mat-mdc-icon-button .mat-ripple-element{background-color:var(--mat-mdc-button-ripple-color)}.mat-mdc-icon-button .mdc-button__label{z-index:1}.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-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:50%;width:48px;transform:translate(-50%, -50%)}.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.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}',J],encapsulation:2,changeDetection:0})}return B})(),P=(()=>{class B extends ve{constructor(L,V,Pe,re){super(L,V,Pe,re)}static#e=this.\u0275fac=function(V){return new(V||B)(l.Y36(l.SBq),l.Y36(n.t4),l.Y36(l.R0b),l.Y36(l.QbO,8))};static#t=this.\u0275cmp=l.Xpm({type:B,selectors:[["a","mat-icon-button",""]],hostVars:9,hostBindings:function(V,Pe){2&V&&(l.uIk("disabled",Pe.disabled||null)("tabindex",Pe.disabled?-1:Pe.tabIndex)("aria-disabled",Pe.disabled.toString()),l.ekj("_mat-animation-noopable","NoopAnimations"===Pe._animationMode)("mat-unthemed",!Pe.color)("mat-mdc-button-base",!0))},inputs:{disabled:"disabled",disableRipple:"disableRipple",color:"color",tabIndex:"tabIndex"},exportAs:["matButton","matAnchor"],features:[l.qOj],attrs:De,ngContentSelectors:we,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(V,Pe){1&V&&(l.F$t(ne),l._UZ(0,"span",0),l.Hsn(1),l.TgZ(2,"span",1),l.Hsn(3,1),l.qZA(),l.Hsn(4,2),l._UZ(5,"span",2)(6,"span",3)),2&V&&l.ekj("mdc-button__ripple",!Pe._isFab)("mdc-fab__ripple",Pe._isFab)},styles:['.mdc-icon-button{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;user-select:none;z-index:0;overflow:visible}.mdc-icon-button .mdc-icon-button__touch{position:absolute;top:50%;height:48px;left:50%;width:48px;transform:translate(-50%, -50%)}@media screen and (forced-colors: active){.mdc-icon-button.mdc-ripple-upgraded--background-focused .mdc-icon-button__focus-ring,.mdc-icon-button:not(.mdc-ripple-upgraded):focus .mdc-icon-button__focus-ring{display:block}}.mdc-icon-button:disabled{cursor:default;pointer-events:none}.mdc-icon-button[hidden]{display:none}.mdc-icon-button--display-flex{align-items:center;display:inline-flex;justify-content:center}.mdc-icon-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:100%;width:100%;display:none}@media screen and (forced-colors: active){.mdc-icon-button__focus-ring{border-color:CanvasText}}.mdc-icon-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-icon-button__focus-ring::after{border-color:CanvasText}}.mdc-icon-button__icon{display:inline-block}.mdc-icon-button__icon.mdc-icon-button__icon--on{display:none}.mdc-icon-button--on .mdc-icon-button__icon{display:none}.mdc-icon-button--on .mdc-icon-button__icon.mdc-icon-button__icon--on{display:inline-block}.mdc-icon-button__link{height:100%;left:0;outline:none;position:absolute;top:0;width:100%}.mat-mdc-icon-button{height:var(--mdc-icon-button-state-layer-size);width:var(--mdc-icon-button-state-layer-size);color:var(--mdc-icon-button-icon-color);--mdc-icon-button-state-layer-size:48px;--mdc-icon-button-icon-size:24px;--mdc-icon-button-disabled-icon-color:black;--mdc-icon-button-disabled-icon-opacity:0.38}.mat-mdc-icon-button .mdc-button__icon{font-size:var(--mdc-icon-button-icon-size)}.mat-mdc-icon-button svg,.mat-mdc-icon-button img{width:var(--mdc-icon-button-icon-size);height:var(--mdc-icon-button-icon-size)}.mat-mdc-icon-button:disabled{opacity:var(--mdc-icon-button-disabled-icon-opacity)}.mat-mdc-icon-button:disabled{color:var(--mdc-icon-button-disabled-icon-color)}.mat-mdc-icon-button{padding:12px;font-size:var(--mdc-icon-button-icon-size);border-radius:50%;flex-shrink:0;text-align:center;-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-mdc-icon-button svg{vertical-align:baseline}.mat-mdc-icon-button[disabled]{cursor:default;pointer-events:none;opacity:1}.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;background-color:var(--mat-mdc-button-persistent-ripple-color)}.mat-mdc-icon-button .mat-ripple-element{background-color:var(--mat-mdc-button-ripple-color)}.mat-mdc-icon-button .mdc-button__label{z-index:1}.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-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:50%;width:48px;transform:translate(-50%, -50%)}.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.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}',J],encapsulation:2,changeDetection:0})}return B})(),ae=(()=>{class B{static#e=this.\u0275fac=function(V){return new(V||B)};static#t=this.\u0275mod=l.oAB({type:B});static#n=this.\u0275inj=l.cJS({imports:[H.BQ,H.si,H.BQ]})}return B})()},3680:(_t,Me,p)=>{p.d(Me,{rD:()=>je,K7:()=>Wt,HF:()=>ht,Y2:()=>it,BQ:()=>K,ey:()=>pn,Ng:()=>kn,wG:()=>$,Fq:()=>St,si:()=>be,CB:()=>gn,jH:()=>yn,pj:()=>ct,Kr:()=>xt,Id:()=>ft,FD:()=>It,sb:()=>Ut});var n=p(5879),l=p(4300),w=p(9388),H=p(6814),Q=p(2831),ne=p(2495),we=p(8645),ie=p(6028);const fe=["text"];function ce(_e,ee){if(1&_e&&n._UZ(0,"mat-pseudo-checkbox",6),2&_e){const S=n.oxw();n.Q6J("disabled",S.disabled)("state",S.selected?"checked":"unchecked")}}function De(_e,ee){if(1&_e&&n._UZ(0,"mat-pseudo-checkbox",7),2&_e){const S=n.oxw();n.Q6J("disabled",S.disabled)}}function Ae(_e,ee){if(1&_e&&(n.TgZ(0,"span",8),n._uU(1),n.qZA()),2&_e){const S=n.oxw();n.xp6(1),n.hij("(",S.group.label,")")}}const Le=[[["mat-icon"]],"*"],se=["mat-icon","*"],Ce=new n.OlP("mat-sanity-checks",{providedIn:"root",factory:function N(){return!0}});let K=(()=>{class _e{constructor(S,W,Ne){this._sanityChecks=W,this._document=Ne,this._hasDoneGlobalChecks=!1,S._applyBodyHighContrastModeCssClasses(),this._hasDoneGlobalChecks||(this._hasDoneGlobalChecks=!0)}_checkIsEnabled(S){return!(0,Q.Oy)()&&("boolean"==typeof this._sanityChecks?this._sanityChecks:!!this._sanityChecks[S])}static#e=this.\u0275fac=function(W){return new(W||_e)(n.LFG(l.qm),n.LFG(Ce,8),n.LFG(H.K0))};static#t=this.\u0275mod=n.oAB({type:_e});static#n=this.\u0275inj=n.cJS({imports:[w.vT,w.vT]})}return _e})();function ft(_e){return class extends _e{get disabled(){return this._disabled}set disabled(ee){this._disabled=(0,ne.Ig)(ee)}constructor(...ee){super(...ee),this._disabled=!1}}}function ct(_e,ee){return class extends _e{get color(){return this._color}set color(S){const W=S||this.defaultColor;W!==this._color&&(this._color&&this._elementRef.nativeElement.classList.remove(`mat-${this._color}`),W&&this._elementRef.nativeElement.classList.add(`mat-${W}`),this._color=W)}constructor(...S){super(...S),this.defaultColor=ee,this.color=ee}}}function xt(_e){return class extends _e{get disableRipple(){return this._disableRipple}set disableRipple(ee){this._disableRipple=(0,ne.Ig)(ee)}constructor(...ee){super(...ee),this._disableRipple=!1}}}function Ut(_e,ee=0){return class extends _e{get tabIndex(){return this.disabled?-1:this._tabIndex}set tabIndex(S){this._tabIndex=null!=S?(0,ne.su)(S):this.defaultTabIndex}constructor(...S){super(...S),this._tabIndex=ee,this.defaultTabIndex=ee}}}function It(_e){return class extends _e{updateErrorState(){const ee=this.errorState,yt=(this.errorStateMatcher||this._defaultErrorStateMatcher).isErrorState(this.ngControl?this.ngControl.control:null,this._parentFormGroup||this._parentForm);yt!==ee&&(this.errorState=yt,this.stateChanges.next())}constructor(...ee){super(...ee),this.errorState=!1}}}let je=(()=>{class _e{isErrorState(S,W){return!!(S&&S.invalid&&(S.touched||W&&W.submitted))}static#e=this.\u0275fac=function(W){return new(W||_e)};static#t=this.\u0275prov=n.Yz7({token:_e,factory:_e.\u0275fac,providedIn:"root"})}return _e})();class Je{constructor(ee,S,W,Ne=!1){this._renderer=ee,this.element=S,this.config=W,this._animationForciblyDisabledThroughCss=Ne,this.state=3}fadeOut(){this._renderer.fadeOutRipple(this)}}const bt=(0,Q.i$)({passive:!0,capture:!0});class Oe{constructor(){this._events=new Map,this._delegateEventHandler=ee=>{const S=(0,Q.sA)(ee);S&&this._events.get(ee.type)?.forEach((W,Ne)=>{(Ne===S||Ne.contains(S))&&W.forEach(yt=>yt.handleEvent(ee))})}}addHandler(ee,S,W,Ne){const yt=this._events.get(S);if(yt){const Pt=yt.get(W);Pt?Pt.add(Ne):yt.set(W,new Set([Ne]))}else this._events.set(S,new Map([[W,new Set([Ne])]])),ee.runOutsideAngular(()=>{document.addEventListener(S,this._delegateEventHandler,bt)})}removeHandler(ee,S,W){const Ne=this._events.get(ee);if(!Ne)return;const yt=Ne.get(S);yt&&(yt.delete(W),0===yt.size&&Ne.delete(S),0===Ne.size&&(this._events.delete(ee),document.removeEventListener(ee,this._delegateEventHandler,bt)))}}const rt={enterDuration:225,exitDuration:150},en=(0,Q.i$)({passive:!0,capture:!0}),tn=["mousedown","touchstart"],fn=["mouseup","mouseleave","touchend","touchcancel"];class Zt{static#e=this._eventManager=new Oe;constructor(ee,S,W,Ne){this._target=ee,this._ngZone=S,this._platform=Ne,this._isPointerDown=!1,this._activeRipples=new Map,this._pointerUpEventsRegistered=!1,Ne.isBrowser&&(this._containerElement=(0,ne.fI)(W))}fadeInRipple(ee,S,W={}){const Ne=this._containerRect=this._containerRect||this._containerElement.getBoundingClientRect(),yt={...rt,...W.animation};W.centered&&(ee=Ne.left+Ne.width/2,S=Ne.top+Ne.height/2);const Pt=W.radius||function Mn(_e,ee,S){const W=Math.max(Math.abs(_e-S.left),Math.abs(_e-S.right)),Ne=Math.max(Math.abs(ee-S.top),Math.abs(ee-S.bottom));return Math.sqrt(W*W+Ne*Ne)}(ee,S,Ne),at=ee-Ne.left,wt=S-Ne.top,de=yt.enterDuration,ke=document.createElement("div");ke.classList.add("mat-ripple-element"),ke.style.left=at-Pt+"px",ke.style.top=wt-Pt+"px",ke.style.height=2*Pt+"px",ke.style.width=2*Pt+"px",null!=W.color&&(ke.style.backgroundColor=W.color),ke.style.transitionDuration=`${de}ms`,this._containerElement.appendChild(ke);const Ke=window.getComputedStyle(ke),ge=Ke.transitionDuration,Ve="none"===Ke.transitionProperty||"0s"===ge||"0s, 0s"===ge||0===Ne.width&&0===Ne.height,dt=new Je(this,ke,W,Ve);ke.style.transform="scale3d(1, 1, 1)",dt.state=0,W.persistent||(this._mostRecentTransientRipple=dt);let Rt=null;return!Ve&&(de||yt.exitDuration)&&this._ngZone.runOutsideAngular(()=>{const Ht=()=>this._finishRippleTransition(dt),Nt=()=>this._destroyRipple(dt);ke.addEventListener("transitionend",Ht),ke.addEventListener("transitioncancel",Nt),Rt={onTransitionEnd:Ht,onTransitionCancel:Nt}}),this._activeRipples.set(dt,Rt),(Ve||!de)&&this._finishRippleTransition(dt),dt}fadeOutRipple(ee){if(2===ee.state||3===ee.state)return;const S=ee.element,W={...rt,...ee.config.animation};S.style.transitionDuration=`${W.exitDuration}ms`,S.style.opacity="0",ee.state=2,(ee._animationForciblyDisabledThroughCss||!W.exitDuration)&&this._finishRippleTransition(ee)}fadeOutAll(){this._getActiveRipples().forEach(ee=>ee.fadeOut())}fadeOutAllNonPersistent(){this._getActiveRipples().forEach(ee=>{ee.config.persistent||ee.fadeOut()})}setupTriggerEvents(ee){const S=(0,ne.fI)(ee);!this._platform.isBrowser||!S||S===this._triggerElement||(this._removeTriggerEvents(),this._triggerElement=S,tn.forEach(W=>{Zt._eventManager.addHandler(this._ngZone,W,S,this)}))}handleEvent(ee){"mousedown"===ee.type?this._onMousedown(ee):"touchstart"===ee.type?this._onTouchStart(ee):this._onPointerUp(),this._pointerUpEventsRegistered||(this._ngZone.runOutsideAngular(()=>{fn.forEach(S=>{this._triggerElement.addEventListener(S,this,en)})}),this._pointerUpEventsRegistered=!0)}_finishRippleTransition(ee){0===ee.state?this._startFadeOutTransition(ee):2===ee.state&&this._destroyRipple(ee)}_startFadeOutTransition(ee){const S=ee===this._mostRecentTransientRipple,{persistent:W}=ee.config;ee.state=1,!W&&(!S||!this._isPointerDown)&&ee.fadeOut()}_destroyRipple(ee){const S=this._activeRipples.get(ee)??null;this._activeRipples.delete(ee),this._activeRipples.size||(this._containerRect=null),ee===this._mostRecentTransientRipple&&(this._mostRecentTransientRipple=null),ee.state=3,null!==S&&(ee.element.removeEventListener("transitionend",S.onTransitionEnd),ee.element.removeEventListener("transitioncancel",S.onTransitionCancel)),ee.element.remove()}_onMousedown(ee){const S=(0,l.X6)(ee),W=this._lastTouchStartEvent&&Date.now(){!ee.config.persistent&&(1===ee.state||ee.config.terminateOnPointerUp&&0===ee.state)&&ee.fadeOut()}))}_getActiveRipples(){return Array.from(this._activeRipples.keys())}_removeTriggerEvents(){const ee=this._triggerElement;ee&&(tn.forEach(S=>Zt._eventManager.removeHandler(S,ee,this)),this._pointerUpEventsRegistered&&fn.forEach(S=>ee.removeEventListener(S,this,en)))}}const it=new n.OlP("mat-ripple-global-options");let $=(()=>{class _e{get disabled(){return this._disabled}set disabled(S){S&&this.fadeOutAllNonPersistent(),this._disabled=S,this._setupTriggerEventsIfEnabled()}get trigger(){return this._trigger||this._elementRef.nativeElement}set trigger(S){this._trigger=S,this._setupTriggerEventsIfEnabled()}constructor(S,W,Ne,yt,Pt){this._elementRef=S,this._animationMode=Pt,this.radius=0,this._disabled=!1,this._isInitialized=!1,this._globalOptions=yt||{},this._rippleRenderer=new Zt(this,W,S,Ne)}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:{...this._globalOptions.animation,..."NoopAnimations"===this._animationMode?{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(S,W=0,Ne){return"number"==typeof S?this._rippleRenderer.fadeInRipple(S,W,{...this.rippleConfig,...Ne}):this._rippleRenderer.fadeInRipple(0,0,{...this.rippleConfig,...S})}static#e=this.\u0275fac=function(W){return new(W||_e)(n.Y36(n.SBq),n.Y36(n.R0b),n.Y36(Q.t4),n.Y36(it,8),n.Y36(n.QbO,8))};static#t=this.\u0275dir=n.lG2({type:_e,selectors:[["","mat-ripple",""],["","matRipple",""]],hostAttrs:[1,"mat-ripple"],hostVars:2,hostBindings:function(W,Ne){2&W&&n.ekj("mat-ripple-unbounded",Ne.unbounded)},inputs:{color:["matRippleColor","color"],unbounded:["matRippleUnbounded","unbounded"],centered:["matRippleCentered","centered"],radius:["matRippleRadius","radius"],animation:["matRippleAnimation","animation"],disabled:["matRippleDisabled","disabled"],trigger:["matRippleTrigger","trigger"]},exportAs:["matRipple"]})}return _e})(),be=(()=>{class _e{static#e=this.\u0275fac=function(W){return new(W||_e)};static#t=this.\u0275mod=n.oAB({type:_e});static#n=this.\u0275inj=n.cJS({imports:[K,K]})}return _e})(),Be=(()=>{class _e{constructor(S){this._animationMode=S,this.state="unchecked",this.disabled=!1,this.appearance="full"}static#e=this.\u0275fac=function(W){return new(W||_e)(n.Y36(n.QbO,8))};static#t=this.\u0275cmp=n.Xpm({type:_e,selectors:[["mat-pseudo-checkbox"]],hostAttrs:[1,"mat-pseudo-checkbox"],hostVars:12,hostBindings:function(W,Ne){2&W&&n.ekj("mat-pseudo-checkbox-indeterminate","indeterminate"===Ne.state)("mat-pseudo-checkbox-checked","checked"===Ne.state)("mat-pseudo-checkbox-disabled",Ne.disabled)("mat-pseudo-checkbox-minimal","minimal"===Ne.appearance)("mat-pseudo-checkbox-full","full"===Ne.appearance)("_mat-animation-noopable","NoopAnimations"===Ne._animationMode)},inputs:{state:"state",disabled:"disabled",appearance:"appearance"},decls:0,vars:0,template:function(W,Ne){},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-full{border:2px solid}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-checked,.mat-pseudo-checkbox-full.mat-pseudo-checkbox-indeterminate{border-color:rgba(0,0,0,0)}.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})}return _e})(),lt=(()=>{class _e{static#e=this.\u0275fac=function(W){return new(W||_e)};static#t=this.\u0275mod=n.oAB({type:_e});static#n=this.\u0275inj=n.cJS({imports:[K]})}return _e})();const ht=new n.OlP("MAT_OPTION_PARENT_COMPONENT"),Wt=new n.OlP("MatOptgroup");let $t=0;class An{constructor(ee,S=!1){this.source=ee,this.isUserInput=S}}let bn=(()=>{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(S){this._disabled=(0,ne.Ig)(S)}get disableRipple(){return!(!this._parent||!this._parent.disableRipple)}get hideSingleSelectionIndicator(){return!(!this._parent||!this._parent.hideSingleSelectionIndicator)}constructor(S,W,Ne,yt){this._element=S,this._changeDetectorRef=W,this._parent=Ne,this.group=yt,this._selected=!1,this._active=!1,this._disabled=!1,this._mostRecentViewValue="",this.id="mat-option-"+$t++,this.onSelectionChange=new n.vpe,this._stateChanges=new we.x}get active(){return this._active}get viewValue(){return(this._text?.nativeElement.textContent||"").trim()}select(S=!0){this._selected||(this._selected=!0,this._changeDetectorRef.markForCheck(),S&&this._emitSelectionChangeEvent())}deselect(S=!0){this._selected&&(this._selected=!1,this._changeDetectorRef.markForCheck(),S&&this._emitSelectionChangeEvent())}focus(S,W){const Ne=this._getHostElement();"function"==typeof Ne.focus&&Ne.focus(W)}setActiveStyles(){this._active||(this._active=!0,this._changeDetectorRef.markForCheck())}setInactiveStyles(){this._active&&(this._active=!1,this._changeDetectorRef.markForCheck())}getLabel(){return this.viewValue}_handleKeydown(S){(S.keyCode===ie.K5||S.keyCode===ie.L_)&&!(0,ie.Vb)(S)&&(this._selectViaInteraction(),S.preventDefault())}_selectViaInteraction(){this.disabled||(this._selected=!this.multiple||!this._selected,this._changeDetectorRef.markForCheck(),this._emitSelectionChangeEvent(!0))}_getTabIndex(){return this.disabled?"-1":"0"}_getHostElement(){return this._element.nativeElement}ngAfterViewChecked(){if(this._selected){const S=this.viewValue;S!==this._mostRecentViewValue&&(this._mostRecentViewValue&&this._stateChanges.next(),this._mostRecentViewValue=S)}}ngOnDestroy(){this._stateChanges.complete()}_emitSelectionChangeEvent(S=!1){this.onSelectionChange.emit(new An(this,S))}static#e=this.\u0275fac=function(W){n.$Z()};static#t=this.\u0275dir=n.lG2({type:_e,viewQuery:function(W,Ne){if(1&W&&n.Gf(fe,7),2&W){let yt;n.iGM(yt=n.CRH())&&(Ne._text=yt.first)}},inputs:{value:"value",id:"id",disabled:"disabled"},outputs:{onSelectionChange:"onSelectionChange"}})}return _e})(),pn=(()=>{class _e extends bn{constructor(S,W,Ne,yt){super(S,W,Ne,yt)}static#e=this.\u0275fac=function(W){return new(W||_e)(n.Y36(n.SBq),n.Y36(n.sBO),n.Y36(ht,8),n.Y36(Wt,8))};static#t=this.\u0275cmp=n.Xpm({type:_e,selectors:[["mat-option"]],hostAttrs:["role","option",1,"mat-mdc-option","mdc-list-item"],hostVars:11,hostBindings:function(W,Ne){1&W&&n.NdJ("click",function(){return Ne._selectViaInteraction()})("keydown",function(Pt){return Ne._handleKeydown(Pt)}),2&W&&(n.Ikx("id",Ne.id),n.uIk("aria-selected",Ne.selected)("aria-disabled",Ne.disabled.toString()),n.ekj("mdc-list-item--selected",Ne.selected)("mat-mdc-option-multiple",Ne.multiple)("mat-mdc-option-active",Ne.active)("mdc-list-item--disabled",Ne.disabled))},exportAs:["matOption"],features:[n.qOj],ngContentSelectors:se,decls:8,vars:5,consts:[["class","mat-mdc-option-pseudo-checkbox","aria-hidden","true",3,"disabled","state",4,"ngIf"],[1,"mdc-list-item__primary-text"],["text",""],["class","mat-mdc-option-pseudo-checkbox","state","checked","aria-hidden","true","appearance","minimal",3,"disabled",4,"ngIf"],["class","cdk-visually-hidden",4,"ngIf"],["aria-hidden","true","mat-ripple","",1,"mat-mdc-option-ripple","mat-mdc-focus-indicator",3,"matRippleTrigger","matRippleDisabled"],["aria-hidden","true",1,"mat-mdc-option-pseudo-checkbox",3,"disabled","state"],["state","checked","aria-hidden","true","appearance","minimal",1,"mat-mdc-option-pseudo-checkbox",3,"disabled"],[1,"cdk-visually-hidden"]],template:function(W,Ne){1&W&&(n.F$t(Le),n.YNc(0,ce,1,2,"mat-pseudo-checkbox",0),n.Hsn(1),n.TgZ(2,"span",1,2),n.Hsn(4,1),n.qZA(),n.YNc(5,De,1,1,"mat-pseudo-checkbox",3),n.YNc(6,Ae,2,1,"span",4),n._UZ(7,"div",5)),2&W&&(n.Q6J("ngIf",Ne.multiple),n.xp6(5),n.Q6J("ngIf",!Ne.multiple&&Ne.selected&&!Ne.hideSingleSelectionIndicator),n.xp6(1),n.Q6J("ngIf",Ne.group&&Ne.group._inert),n.xp6(1),n.Q6J("matRippleTrigger",Ne._getHostElement())("matRippleDisabled",Ne.disabled||Ne.disableRipple))},dependencies:[$,H.O5,Be],styles:['.mat-mdc-option{display:flex;position:relative;align-items:center;justify-content:flex-start;overflow:hidden;padding:0;padding-left:16px;padding-right:16px;-webkit-user-select:none;user-select:none;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;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);min-height:48px}.mat-mdc-option:focus{outline:none}[dir=rtl] .mat-mdc-option,.mat-mdc-option[dir=rtl]{padding-left:16px;padding-right:16px}.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)}.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}.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-active .mat-mdc-focus-indicator::before{content:""}'],encapsulation:2,changeDetection:0})}return _e})();function gn(_e,ee,S){if(S.length){let W=ee.toArray(),Ne=S.toArray(),yt=0;for(let Pt=0;Pt<_e+1;Pt++)W[Pt].group&&W[Pt].group===Ne[yt]&&yt++;return yt}return 0}function yn(_e,ee,S,W){return _eS+W?Math.max(0,_e-W+ee):S}let kn=(()=>{class _e{static#e=this.\u0275fac=function(W){return new(W||_e)};static#t=this.\u0275mod=n.oAB({type:_e});static#n=this.\u0275inj=n.cJS({imports:[be,H.ez,K,lt]})}return _e})();const ut={capture:!0},me=["focus","click","mouseenter","touchstart"],le="mat-ripple-loader-uninitialized",G="mat-ripple-loader-class-name",Ie="mat-ripple-loader-centered",$e="mat-ripple-loader-disabled";let St=(()=>{class _e{constructor(){this._document=(0,n.f3M)(H.K0,{optional:!0}),this._animationMode=(0,n.f3M)(n.QbO,{optional:!0}),this._globalRippleOptions=(0,n.f3M)(it,{optional:!0}),this._platform=(0,n.f3M)(Q.t4),this._ngZone=(0,n.f3M)(n.R0b),this._onInteraction=S=>{if(!(S.target instanceof HTMLElement))return;const Ne=S.target.closest(`[${le}]`);Ne&&this.createRipple(Ne)},this._ngZone.runOutsideAngular(()=>{for(const S of me)this._document?.addEventListener(S,this._onInteraction,ut)})}ngOnDestroy(){for(const S of me)this._document?.removeEventListener(S,this._onInteraction,ut)}configureRipple(S,W){S.setAttribute(le,""),(W.className||!S.hasAttribute(G))&&S.setAttribute(G,W.className||""),W.centered&&S.setAttribute(Ie,""),W.disabled&&S.setAttribute($e,"")}getRipple(S){return S.matRipple?S.matRipple:this.createRipple(S)}setDisabled(S,W){const Ne=S.matRipple;Ne?Ne.disabled=W:W?S.setAttribute($e,""):S.removeAttribute($e)}createRipple(S){if(!this._document)return;S.querySelector(".mat-ripple")?.remove();const W=this._document.createElement("span");W.classList.add("mat-ripple",S.getAttribute(G)),S.append(W);const Ne=new $(new n.SBq(W),this._ngZone,this._platform,this._globalRippleOptions?this._globalRippleOptions:void 0,this._animationMode?this._animationMode:void 0);return Ne._isInitialized=!0,Ne.trigger=S,Ne.centered=S.hasAttribute(Ie),Ne.disabled=S.hasAttribute($e),this.attachRipple(S,Ne),Ne}attachRipple(S,W){S.removeAttribute(le),S.matRipple=W}static#e=this.\u0275fac=function(W){return new(W||_e)};static#t=this.\u0275prov=n.Yz7({token:_e,factory:_e.\u0275fac,providedIn:"root"})}return _e})()},3305:(_t,Me,p)=>{p.d(Me,{To:()=>st,ib:()=>B,HS:()=>Y,yz:()=>Pe});var n=p(5879),l=p(8337),w=p(2495),E=p(7394);const Q=new n.OlP("CdkAccordion");let we=0,ie=(()=>{class nt{get expanded(){return this._expanded}set expanded(Je){Je=(0,w.Ig)(Je),this._expanded!==Je&&(this._expanded=Je,this.expandedChange.emit(Je),Je?(this.opened.emit(),this._expansionDispatcher.notify(this.id,this.accordion?this.accordion.id:this.id)):this.closed.emit(),this._changeDetectorRef.markForCheck())}get disabled(){return this._disabled}set disabled(Je){this._disabled=(0,w.Ig)(Je)}constructor(Je,bt,Oe){this.accordion=Je,this._changeDetectorRef=bt,this._expansionDispatcher=Oe,this._openCloseAllSubscription=E.w0.EMPTY,this.closed=new n.vpe,this.opened=new n.vpe,this.destroyed=new n.vpe,this.expandedChange=new n.vpe,this.id="cdk-accordion-child-"+we++,this._expanded=!1,this._disabled=!1,this._removeUniqueSelectionListener=()=>{},this._removeUniqueSelectionListener=Oe.listen((rt,vt)=>{this.accordion&&!this.accordion.multi&&this.accordion.id===vt&&this.id!==rt&&(this.expanded=!1)}),this.accordion&&(this._openCloseAllSubscription=this._subscribeToOpenCloseAllActions())}ngOnDestroy(){this.opened.complete(),this.closed.complete(),this.destroyed.emit(),this.destroyed.complete(),this._removeUniqueSelectionListener(),this._openCloseAllSubscription.unsubscribe()}toggle(){this.disabled||(this.expanded=!this.expanded)}close(){this.disabled||(this.expanded=!1)}open(){this.disabled||(this.expanded=!0)}_subscribeToOpenCloseAllActions(){return this.accordion._openCloseAllActions.subscribe(Je=>{this.disabled||(this.expanded=Je)})}static#e=this.\u0275fac=function(bt){return new(bt||nt)(n.Y36(Q,12),n.Y36(n.sBO),n.Y36(l.A8))};static#t=this.\u0275dir=n.lG2({type:nt,selectors:[["cdk-accordion-item"],["","cdkAccordionItem",""]],inputs:{expanded:"expanded",disabled:"disabled"},outputs:{closed:"closed",opened:"opened",destroyed:"destroyed",expandedChange:"expandedChange"},exportAs:["cdkAccordionItem"],features:[n._Bn([{provide:Q,useValue:void 0}])]})}return nt})(),J=(()=>{class nt{static#e=this.\u0275fac=function(bt){return new(bt||nt)};static#t=this.\u0275mod=n.oAB({type:nt});static#n=this.\u0275inj=n.cJS({})}return nt})();var xe=p(8484),fe=p(6814),ce=p(3680),De=p(4300),Ae=p(3997),Le=p(7921),se=p(2181),ue=p(8180),ze=p(6028),oe=p(8645),N=p(6232),Ce=p(3019),K=p(6825);const ve=["body"];function ye(nt,Bt){}const He=[[["mat-expansion-panel-header"]],"*",[["mat-action-row"]]],ft=["mat-expansion-panel-header","*","mat-action-row"];function ct(nt,Bt){if(1&nt&&n._UZ(0,"span",2),2&nt){const Je=n.oxw();n.Q6J("@indicatorRotate",Je._getExpandedState())}}const xt=[[["mat-panel-title"]],[["mat-panel-description"]],"*"],Ut=["mat-panel-title","mat-panel-description","*"],It=new n.OlP("MAT_ACCORDION"),sn="225ms cubic-bezier(0.4,0.0,0.2,1)",Xe={indicatorRotate:(0,K.X$)("indicatorRotate",[(0,K.SB)("collapsed, void",(0,K.oB)({transform:"rotate(0deg)"})),(0,K.SB)("expanded",(0,K.oB)({transform:"rotate(180deg)"})),(0,K.eR)("expanded <=> collapsed, void => collapsed",(0,K.jt)(sn))]),bodyExpansion:(0,K.X$)("bodyExpansion",[(0,K.SB)("collapsed, void",(0,K.oB)({height:"0px",visibility:"hidden"})),(0,K.SB)("expanded",(0,K.oB)({height:"*",visibility:""})),(0,K.eR)("expanded <=> collapsed, void => collapsed",(0,K.jt)(sn))])},At=new n.OlP("MAT_EXPANSION_PANEL");let Y=(()=>{class nt{constructor(Je,bt){this._template=Je,this._expansionPanel=bt}static#e=this.\u0275fac=function(bt){return new(bt||nt)(n.Y36(n.Rgc),n.Y36(At,8))};static#t=this.\u0275dir=n.lG2({type:nt,selectors:[["ng-template","matExpansionPanelContent",""]]})}return nt})(),P=0;const ae=new n.OlP("MAT_EXPANSION_PANEL_DEFAULT_OPTIONS");let B=(()=>{class nt extends ie{get hideToggle(){return this._hideToggle||this.accordion&&this.accordion.hideToggle}set hideToggle(Je){this._hideToggle=(0,w.Ig)(Je)}get togglePosition(){return this._togglePosition||this.accordion&&this.accordion.togglePosition}set togglePosition(Je){this._togglePosition=Je}constructor(Je,bt,Oe,rt,vt,en,tn){super(Je,bt,Oe),this._viewContainerRef=rt,this._animationMode=en,this._hideToggle=!1,this.afterExpand=new n.vpe,this.afterCollapse=new n.vpe,this._inputChanges=new oe.x,this._headerId="mat-expansion-panel-header-"+P++,this._bodyAnimationDone=new oe.x,this.accordion=Je,this._document=vt,this._bodyAnimationDone.pipe((0,Ae.x)((fn,Zt)=>fn.fromState===Zt.fromState&&fn.toState===Zt.toState)).subscribe(fn=>{"void"!==fn.fromState&&("expanded"===fn.toState?this.afterExpand.emit():"collapsed"===fn.toState&&this.afterCollapse.emit())}),tn&&(this.hideToggle=tn.hideToggle)}_hasSpacing(){return!!this.accordion&&this.expanded&&"default"===this.accordion.displayMode}_getExpandedState(){return this.expanded?"expanded":"collapsed"}toggle(){this.expanded=!this.expanded}close(){this.expanded=!1}open(){this.expanded=!0}ngAfterContentInit(){this._lazyContent&&this._lazyContent._expansionPanel===this&&this.opened.pipe((0,Le.O)(null),(0,se.h)(()=>this.expanded&&!this._portal),(0,ue.q)(1)).subscribe(()=>{this._portal=new xe.UE(this._lazyContent._template,this._viewContainerRef)})}ngOnChanges(Je){this._inputChanges.next(Je)}ngOnDestroy(){super.ngOnDestroy(),this._bodyAnimationDone.complete(),this._inputChanges.complete()}_containsFocus(){if(this._body){const Je=this._document.activeElement,bt=this._body.nativeElement;return Je===bt||bt.contains(Je)}return!1}static#e=this.\u0275fac=function(bt){return new(bt||nt)(n.Y36(It,12),n.Y36(n.sBO),n.Y36(l.A8),n.Y36(n.s_b),n.Y36(fe.K0),n.Y36(n.QbO,8),n.Y36(ae,8))};static#t=this.\u0275cmp=n.Xpm({type:nt,selectors:[["mat-expansion-panel"]],contentQueries:function(bt,Oe,rt){if(1&bt&&n.Suo(rt,Y,5),2&bt){let vt;n.iGM(vt=n.CRH())&&(Oe._lazyContent=vt.first)}},viewQuery:function(bt,Oe){if(1&bt&&n.Gf(ve,5),2&bt){let rt;n.iGM(rt=n.CRH())&&(Oe._body=rt.first)}},hostAttrs:[1,"mat-expansion-panel"],hostVars:6,hostBindings:function(bt,Oe){2&bt&&n.ekj("mat-expanded",Oe.expanded)("_mat-animation-noopable","NoopAnimations"===Oe._animationMode)("mat-expansion-panel-spacing",Oe._hasSpacing())},inputs:{disabled:"disabled",expanded:"expanded",hideToggle:"hideToggle",togglePosition:"togglePosition"},outputs:{opened:"opened",closed:"closed",expandedChange:"expandedChange",afterExpand:"afterExpand",afterCollapse:"afterCollapse"},exportAs:["matExpansionPanel"],features:[n._Bn([{provide:It,useValue:void 0},{provide:At,useExisting:nt}]),n.qOj,n.TTD],ngContentSelectors:ft,decls:7,vars:4,consts:[["role","region",1,"mat-expansion-panel-content",3,"id"],["body",""],[1,"mat-expansion-panel-body"],[3,"cdkPortalOutlet"]],template:function(bt,Oe){1&bt&&(n.F$t(He),n.Hsn(0),n.TgZ(1,"div",0,1),n.NdJ("@bodyExpansion.done",function(vt){return Oe._bodyAnimationDone.next(vt)}),n.TgZ(3,"div",2),n.Hsn(4,1),n.YNc(5,ye,0,0,"ng-template",3),n.qZA(),n.Hsn(6,2),n.qZA()),2&bt&&(n.xp6(1),n.Q6J("@bodyExpansion",Oe._getExpandedState())("id",Oe.id),n.uIk("aria-labelledby",Oe._headerId),n.xp6(4),n.Q6J("cdkPortalOutlet",Oe._portal))},dependencies:[xe.Pl],styles:['.mat-expansion-panel{--mat-expansion-container-shape:4px;box-sizing:content-box;display:block;margin:0;overflow:hidden;transition:margin 225ms cubic-bezier(0.4, 0, 0.2, 1),box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);position:relative;background:var(--mat-expansion-container-background-color);color:var(--mat-expansion-container-text-color);border-radius:var(--mat-expansion-container-shape)}.mat-expansion-panel: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)}.mat-accordion .mat-expansion-panel:not(.mat-expanded),.mat-accordion .mat-expansion-panel:not(.mat-expansion-panel-spacing){border-radius:0}.mat-accordion .mat-expansion-panel:first-of-type{border-top-right-radius:var(--mat-expansion-container-shape);border-top-left-radius:var(--mat-expansion-container-shape)}.mat-accordion .mat-expansion-panel:last-of-type{border-bottom-right-radius:var(--mat-expansion-container-shape);border-bottom-left-radius:var(--mat-expansion-container-shape)}.cdk-high-contrast-active .mat-expansion-panel{outline:solid 1px}.mat-expansion-panel.ng-animate-disabled,.ng-animate-disabled .mat-expansion-panel,.mat-expansion-panel._mat-animation-noopable{transition:none}.mat-expansion-panel-content{display:flex;flex-direction:column;overflow:visible;font-family:var(--mat-expansion-container-text-font);font-size:var(--mat-expansion-container-text-size);font-weight:var(--mat-expansion-container-text-weight);line-height:var(--mat-expansion-container-text-line-height);letter-spacing:var(--mat-expansion-container-text-tracking)}.mat-expansion-panel-content[style*="visibility: hidden"] *{visibility:hidden !important}.mat-expansion-panel-body{padding:0 24px 16px}.mat-expansion-panel-spacing{margin:16px 0}.mat-accordion>.mat-expansion-panel-spacing:first-child,.mat-accordion>*:first-child:not(.mat-expansion-panel) .mat-expansion-panel-spacing{margin-top:0}.mat-accordion>.mat-expansion-panel-spacing:last-child,.mat-accordion>*:last-child:not(.mat-expansion-panel) .mat-expansion-panel-spacing{margin-bottom:0}.mat-action-row{border-top-style:solid;border-top-width:1px;display:flex;flex-direction:row;justify-content:flex-end;padding:16px 8px 16px 24px;border-top-color:var(--mat-expansion-actions-divider-color)}.mat-action-row .mat-button-base,.mat-action-row .mat-mdc-button-base{margin-left:8px}[dir=rtl] .mat-action-row .mat-button-base,[dir=rtl] .mat-action-row .mat-mdc-button-base{margin-left:0;margin-right:8px}'],encapsulation:2,data:{animation:[Xe.bodyExpansion]},changeDetection:0})}return nt})();class L{}const V=(0,ce.sb)(L);let Pe=(()=>{class nt extends V{constructor(Je,bt,Oe,rt,vt,en,tn){super(),this.panel=Je,this._element=bt,this._focusMonitor=Oe,this._changeDetectorRef=rt,this._animationMode=en,this._parentChangeSubscription=E.w0.EMPTY;const fn=Je.accordion?Je.accordion._stateChanges.pipe((0,se.h)(Zt=>!(!Zt.hideToggle&&!Zt.togglePosition))):N.E;this.tabIndex=parseInt(tn||"")||0,this._parentChangeSubscription=(0,Ce.T)(Je.opened,Je.closed,fn,Je._inputChanges.pipe((0,se.h)(Zt=>!!(Zt.hideToggle||Zt.disabled||Zt.togglePosition)))).subscribe(()=>this._changeDetectorRef.markForCheck()),Je.closed.pipe((0,se.h)(()=>Je._containsFocus())).subscribe(()=>Oe.focusVia(bt,"program")),vt&&(this.expandedHeight=vt.expandedHeight,this.collapsedHeight=vt.collapsedHeight)}get disabled(){return this.panel.disabled}_toggle(){this.disabled||this.panel.toggle()}_isExpanded(){return this.panel.expanded}_getExpandedState(){return this.panel._getExpandedState()}_getPanelId(){return this.panel.id}_getTogglePosition(){return this.panel.togglePosition}_showToggle(){return!this.panel.hideToggle&&!this.panel.disabled}_getHeaderHeight(){const Je=this._isExpanded();return Je&&this.expandedHeight?this.expandedHeight:!Je&&this.collapsedHeight?this.collapsedHeight:null}_keydown(Je){switch(Je.keyCode){case ze.L_:case ze.K5:(0,ze.Vb)(Je)||(Je.preventDefault(),this._toggle());break;default:return void(this.panel.accordion&&this.panel.accordion._handleHeaderKeydown(Je))}}focus(Je,bt){Je?this._focusMonitor.focusVia(this._element,Je,bt):this._element.nativeElement.focus(bt)}ngAfterViewInit(){this._focusMonitor.monitor(this._element).subscribe(Je=>{Je&&this.panel.accordion&&this.panel.accordion._handleHeaderFocus(this)})}ngOnDestroy(){this._parentChangeSubscription.unsubscribe(),this._focusMonitor.stopMonitoring(this._element)}static#e=this.\u0275fac=function(bt){return new(bt||nt)(n.Y36(B,1),n.Y36(n.SBq),n.Y36(De.tE),n.Y36(n.sBO),n.Y36(ae,8),n.Y36(n.QbO,8),n.$8M("tabindex"))};static#t=this.\u0275cmp=n.Xpm({type:nt,selectors:[["mat-expansion-panel-header"]],hostAttrs:["role","button",1,"mat-expansion-panel-header","mat-focus-indicator"],hostVars:15,hostBindings:function(bt,Oe){1&bt&&n.NdJ("click",function(){return Oe._toggle()})("keydown",function(vt){return Oe._keydown(vt)}),2&bt&&(n.uIk("id",Oe.panel._headerId)("tabindex",Oe.tabIndex)("aria-controls",Oe._getPanelId())("aria-expanded",Oe._isExpanded())("aria-disabled",Oe.panel.disabled),n.Udp("height",Oe._getHeaderHeight()),n.ekj("mat-expanded",Oe._isExpanded())("mat-expansion-toggle-indicator-after","after"===Oe._getTogglePosition())("mat-expansion-toggle-indicator-before","before"===Oe._getTogglePosition())("_mat-animation-noopable","NoopAnimations"===Oe._animationMode))},inputs:{tabIndex:"tabIndex",expandedHeight:"expandedHeight",collapsedHeight:"collapsedHeight"},features:[n.qOj],ngContentSelectors:Ut,decls:5,vars:3,consts:[[1,"mat-content"],["class","mat-expansion-indicator",4,"ngIf"],[1,"mat-expansion-indicator"]],template:function(bt,Oe){1&bt&&(n.F$t(xt),n.TgZ(0,"span",0),n.Hsn(1),n.Hsn(2,1),n.Hsn(3,2),n.qZA(),n.YNc(4,ct,1,1,"span",1)),2&bt&&(n.ekj("mat-content-hide-toggle",!Oe._showToggle()),n.xp6(4),n.Q6J("ngIf",Oe._showToggle()))},dependencies:[fe.O5],styles:['.mat-expansion-panel-header{display:flex;flex-direction:row;align-items:center;padding:0 24px;border-radius:inherit;transition:height 225ms cubic-bezier(0.4, 0, 0.2, 1);height:var(--mat-expansion-header-collapsed-state-height);font-family:var(--mat-expansion-header-text-font);font-size:var(--mat-expansion-header-text-size);font-weight:var(--mat-expansion-header-text-weight);line-height:var(--mat-expansion-header-text-line-height);letter-spacing:var(--mat-expansion-header-text-tracking)}.mat-expansion-panel-header.mat-expanded{height:var(--mat-expansion-header-expanded-state-height)}.mat-expansion-panel-header[aria-disabled=true]{color:var(--mat-expansion-header-disabled-state-text-color)}.mat-expansion-panel-header:not([aria-disabled=true]){cursor:pointer}.mat-expansion-panel:not(.mat-expanded) .mat-expansion-panel-header:not([aria-disabled=true]):hover{background:var(--mat-expansion-header-hover-state-layer-color)}@media(hover: none){.mat-expansion-panel:not(.mat-expanded) .mat-expansion-panel-header:not([aria-disabled=true]):hover{background:var(--mat-expansion-container-background-color)}}.mat-expansion-panel .mat-expansion-panel-header:not([aria-disabled=true]).cdk-keyboard-focused,.mat-expansion-panel .mat-expansion-panel-header:not([aria-disabled=true]).cdk-program-focused{background:var(--mat-expansion-header-focus-state-layer-color)}.mat-expansion-panel-header._mat-animation-noopable{transition:none}.mat-expansion-panel-header:focus,.mat-expansion-panel-header:hover{outline:none}.mat-expansion-panel-header.mat-expanded:focus,.mat-expansion-panel-header.mat-expanded:hover{background:inherit}.mat-expansion-panel-header.mat-expansion-toggle-indicator-before{flex-direction:row-reverse}.mat-expansion-panel-header.mat-expansion-toggle-indicator-before .mat-expansion-indicator{margin:0 16px 0 0}[dir=rtl] .mat-expansion-panel-header.mat-expansion-toggle-indicator-before .mat-expansion-indicator{margin:0 0 0 16px}.mat-content{display:flex;flex:1;flex-direction:row;overflow:hidden}.mat-content.mat-content-hide-toggle{margin-right:8px}[dir=rtl] .mat-content.mat-content-hide-toggle{margin-right:0;margin-left:8px}.mat-expansion-toggle-indicator-before .mat-content.mat-content-hide-toggle{margin-left:24px;margin-right:0}[dir=rtl] .mat-expansion-toggle-indicator-before .mat-content.mat-content-hide-toggle{margin-right:24px;margin-left:0}.mat-expansion-panel-header-title{color:var(--mat-expansion-header-text-color)}.mat-expansion-panel-header-title,.mat-expansion-panel-header-description{display:flex;flex-grow:1;flex-basis:0;margin-right:16px;align-items:center}[dir=rtl] .mat-expansion-panel-header-title,[dir=rtl] .mat-expansion-panel-header-description{margin-right:0;margin-left:16px}.mat-expansion-panel-header[aria-disabled=true] .mat-expansion-panel-header-title,.mat-expansion-panel-header[aria-disabled=true] .mat-expansion-panel-header-description{color:inherit}.mat-expansion-panel-header-description{flex-grow:2;color:var(--mat-expansion-header-description-color)}.mat-expansion-indicator::after{border-style:solid;border-width:0 2px 2px 0;content:"";display:inline-block;padding:3px;transform:rotate(45deg);vertical-align:middle;color:var(--mat-expansion-header-indicator-color)}.cdk-high-contrast-active .mat-expansion-panel-content{border-top:1px solid;border-top-left-radius:0;border-top-right-radius:0}'],encapsulation:2,data:{animation:[Xe.indicatorRotate]},changeDetection:0})}return nt})(),st=(()=>{class nt{static#e=this.\u0275fac=function(bt){return new(bt||nt)};static#t=this.\u0275mod=n.oAB({type:nt});static#n=this.\u0275inj=n.cJS({imports:[fe.ez,ce.BQ,J,xe.eL]})}return nt})()},9157:(_t,Me,p)=>{p.d(Me,{G_:()=>Kt,KE:()=>kn,Eo:()=>mt,lN:()=>ut,bx:()=>rt,qo:()=>en,R9:()=>fn});var n=p(5879),l=p(9388),w=p(2831),E=p(7394),H=p(8645),Q=p(3019),ne=p(9773),we=p(5592),ie=p(2181),J=p(4552);class xe extends H.x{constructor(le=1/0,G=1/0,Ie=J.l){super(),this._bufferSize=le,this._windowTime=G,this._timestampProvider=Ie,this._buffer=[],this._infiniteTimeWindow=!0,this._infiniteTimeWindow=G===1/0,this._bufferSize=Math.max(1,le),this._windowTime=Math.max(1,G)}next(le){const{isStopped:G,_buffer:Ie,_infiniteTimeWindow:$e,_timestampProvider:St,_windowTime:_e}=this;G||(Ie.push(le),!$e&&Ie.push(St.now()+_e)),this._trimBuffer(),super.next(le)}_subscribe(le){this._throwIfClosed(),this._trimBuffer();const G=this._innerSubscribe(le),{_infiniteTimeWindow:Ie,_buffer:$e}=this,St=$e.slice();for(let _e=0;_ethis._resizeSubject.next(G)))}observe(le){return this._elementObservables.has(le)||this._elementObservables.set(le,new we.y(G=>{const Ie=this._resizeSubject.subscribe(G);return this._resizeObserver?.observe(le,{box:this._box}),()=>{this._resizeObserver?.unobserve(le),Ie.unsubscribe(),this._elementObservables.delete(le)}}).pipe((0,ie.h)(G=>G.some(Ie=>Ie.target===le)),function ce(me,le,G){let Ie,$e=!1;return me&&"object"==typeof me?({bufferSize:Ie=1/0,windowTime:le=1/0,refCount:$e=!1,scheduler:G}=me):Ie=me??1/0,(0,fe.B)({connector:()=>new xe(Ie,le,G),resetOnError:!0,resetOnComplete:!1,resetOnRefCountZero:$e})}({bufferSize:1,refCount:!0}),(0,ne.R)(this._destroyed))),this._elementObservables.get(le)}destroy(){this._destroyed.next(),this._destroyed.complete(),this._resizeSubject.complete(),this._elementObservables.clear()}}let Le=(()=>{class me{constructor(){this._observers=new Map,this._ngZone=(0,n.f3M)(n.R0b)}ngOnDestroy(){for(const[,G]of this._observers)G.destroy();this._observers.clear()}observe(G,Ie){const $e=Ie?.box||"content-box";return this._observers.has($e)||this._observers.set($e,new Ae($e)),this._observers.get($e).observe(G)}static#e=this.\u0275fac=function(Ie){return new(Ie||me)};static#t=this.\u0275prov=n.Yz7({token:me,factory:me.\u0275fac,providedIn:"root"})}return me})();var se=p(2495),ue=p(6825),ze=p(6814),oe=p(7131),N=p(3680);const Ce=["notch"],K=["matFormFieldNotchedOutline",""],ve=["*"],ye=["textField"],He=["iconPrefixContainer"],ft=["textPrefixContainer"];function ct(me,le){1&me&&n._UZ(0,"span",19)}function xt(me,le){if(1&me&&(n.TgZ(0,"label",17),n.Hsn(1,1),n.YNc(2,ct,1,0,"span",18),n.qZA()),2&me){const G=n.oxw(2);n.Q6J("floating",G._shouldLabelFloat())("monitorResize",G._hasOutline())("id",G._labelId),n.uIk("for",G._control.id),n.xp6(2),n.Q6J("ngIf",!G.hideRequiredMarker&&G._control.required)}}function Ut(me,le){if(1&me&&n.YNc(0,xt,3,5,"label",16),2&me){const G=n.oxw();n.Q6J("ngIf",G._hasFloatingLabel())}}function It(me,le){1&me&&n._UZ(0,"div",20)}function sn(me,le){}function Xe(me,le){if(1&me&&n.YNc(0,sn,0,0,"ng-template",22),2&me){n.oxw(2);const G=n.MAs(1);n.Q6J("ngTemplateOutlet",G)}}function At(me,le){if(1&me&&(n.TgZ(0,"div",21),n.YNc(1,Xe,1,1,"ng-template",9),n.qZA()),2&me){const G=n.oxw();n.Q6J("matFormFieldNotchedOutlineOpen",G._shouldLabelFloat()),n.xp6(1),n.Q6J("ngIf",!G._forceDisplayInfixLabel())}}function Y(me,le){1&me&&(n.TgZ(0,"div",23,24),n.Hsn(2,2),n.qZA())}function P(me,le){1&me&&(n.TgZ(0,"div",25,26),n.Hsn(2,3),n.qZA())}function ae(me,le){}function B(me,le){if(1&me&&n.YNc(0,ae,0,0,"ng-template",22),2&me){n.oxw();const G=n.MAs(1);n.Q6J("ngTemplateOutlet",G)}}function Se(me,le){1&me&&(n.TgZ(0,"div",27),n.Hsn(1,4),n.qZA())}function L(me,le){1&me&&(n.TgZ(0,"div",28),n.Hsn(1,5),n.qZA())}function V(me,le){1&me&&n._UZ(0,"div",29)}function Pe(me,le){if(1&me&&(n.TgZ(0,"div",30),n.Hsn(1,6),n.qZA()),2&me){const G=n.oxw();n.Q6J("@transitionMessages",G._subscriptAnimationState)}}function re(me,le){if(1&me&&(n.TgZ(0,"mat-hint",34),n._uU(1),n.qZA()),2&me){const G=n.oxw(2);n.Q6J("id",G._hintLabelId),n.xp6(1),n.Oqu(G.hintLabel)}}function je(me,le){if(1&me&&(n.TgZ(0,"div",31),n.YNc(1,re,2,2,"mat-hint",32),n.Hsn(2,7),n._UZ(3,"div",33),n.Hsn(4,8),n.qZA()),2&me){const G=n.oxw();n.Q6J("@transitionMessages",G._subscriptAnimationState),n.xp6(1),n.Q6J("ngIf",G.hintLabel)}}const et=["*",[["mat-label"]],[["","matPrefix",""],["","matIconPrefix",""]],[["","matTextPrefix",""]],[["","matTextSuffix",""]],[["","matSuffix",""],["","matIconSuffix",""]],[["mat-error"],["","matError",""]],[["mat-hint",3,"align","end"]],[["mat-hint","align","end"]]],st=["*","mat-label","[matPrefix], [matIconPrefix]","[matTextPrefix]","[matTextSuffix]","[matSuffix], [matIconSuffix]","mat-error, [matError]","mat-hint:not([align='end'])","mat-hint[align='end']"];let nt=(()=>{class me{static#e=this.\u0275fac=function(Ie){return new(Ie||me)};static#t=this.\u0275dir=n.lG2({type:me,selectors:[["mat-label"]]})}return me})();const Je=new n.OlP("MatError");let Oe=0,rt=(()=>{class me{constructor(){this.align="start",this.id="mat-mdc-hint-"+Oe++}static#e=this.\u0275fac=function(Ie){return new(Ie||me)};static#t=this.\u0275dir=n.lG2({type:me,selectors:[["mat-hint"]],hostAttrs:[1,"mat-mdc-form-field-hint","mat-mdc-form-field-bottom-align"],hostVars:4,hostBindings:function(Ie,$e){2&Ie&&(n.Ikx("id",$e.id),n.uIk("align",null),n.ekj("mat-mdc-form-field-hint-end","end"===$e.align))},inputs:{align:"align",id:"id"}})}return me})();const vt=new n.OlP("MatPrefix");let en=(()=>{class me{constructor(){this._isText=!1}set _isTextSelector(G){this._isText=!0}static#e=this.\u0275fac=function(Ie){return new(Ie||me)};static#t=this.\u0275dir=n.lG2({type:me,selectors:[["","matPrefix",""],["","matIconPrefix",""],["","matTextPrefix",""]],inputs:{_isTextSelector:["matTextPrefix","_isTextSelector"]},features:[n._Bn([{provide:vt,useExisting:me}])]})}return me})();const tn=new n.OlP("MatSuffix");let fn=(()=>{class me{constructor(){this._isText=!1}set _isTextSelector(G){this._isText=!0}static#e=this.\u0275fac=function(Ie){return new(Ie||me)};static#t=this.\u0275dir=n.lG2({type:me,selectors:[["","matSuffix",""],["","matIconSuffix",""],["","matTextSuffix",""]],inputs:{_isTextSelector:["matTextSuffix","_isTextSelector"]},features:[n._Bn([{provide:tn,useExisting:me}])]})}return me})();const Zt=new n.OlP("FloatingLabelParent");let Mn=(()=>{class me{get floating(){return this._floating}set floating(G){this._floating=G,this.monitorResize&&this._handleResize()}get monitorResize(){return this._monitorResize}set monitorResize(G){this._monitorResize=G,this._monitorResize?this._subscribeToResize():this._resizeSubscription.unsubscribe()}constructor(G){this._elementRef=G,this._floating=!1,this._monitorResize=!1,this._resizeObserver=(0,n.f3M)(Le),this._ngZone=(0,n.f3M)(n.R0b),this._parent=(0,n.f3M)(Zt),this._resizeSubscription=new E.w0}ngOnDestroy(){this._resizeSubscription.unsubscribe()}getWidth(){return function it(me){if(null!==me.offsetParent)return me.scrollWidth;const G=me.cloneNode(!0);G.style.setProperty("position","absolute"),G.style.setProperty("transform","translate(-9999px, -9999px)"),document.documentElement.appendChild(G);const Ie=G.scrollWidth;return G.remove(),Ie}(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())})}static#e=this.\u0275fac=function(Ie){return new(Ie||me)(n.Y36(n.SBq))};static#t=this.\u0275dir=n.lG2({type:me,selectors:[["label","matFormFieldFloatingLabel",""]],hostAttrs:[1,"mdc-floating-label","mat-mdc-floating-label"],hostVars:2,hostBindings:function(Ie,$e){2&Ie&&n.ekj("mdc-floating-label--float-above",$e.floating)},inputs:{floating:"floating",monitorResize:"monitorResize"}})}return me})();const $="mdc-line-ripple--active",be="mdc-line-ripple--deactivating";let Be=(()=>{class me{constructor(G,Ie){this._elementRef=G,this._handleTransitionEnd=$e=>{const St=this._elementRef.nativeElement.classList,_e=St.contains(be);"opacity"===$e.propertyName&&_e&&St.remove($,be)},Ie.runOutsideAngular(()=>{G.nativeElement.addEventListener("transitionend",this._handleTransitionEnd)})}activate(){const G=this._elementRef.nativeElement.classList;G.remove(be),G.add($)}deactivate(){this._elementRef.nativeElement.classList.add(be)}ngOnDestroy(){this._elementRef.nativeElement.removeEventListener("transitionend",this._handleTransitionEnd)}static#e=this.\u0275fac=function(Ie){return new(Ie||me)(n.Y36(n.SBq),n.Y36(n.R0b))};static#t=this.\u0275dir=n.lG2({type:me,selectors:[["div","matFormFieldLineRipple",""]],hostAttrs:[1,"mdc-line-ripple"]})}return me})(),lt=(()=>{class me{constructor(G,Ie){this._elementRef=G,this._ngZone=Ie,this.open=!1}ngAfterViewInit(){const G=this._elementRef.nativeElement.querySelector(".mdc-floating-label");G?(this._elementRef.nativeElement.classList.add("mdc-notched-outline--upgraded"),"function"==typeof requestAnimationFrame&&(G.style.transitionDuration="0s",this._ngZone.runOutsideAngular(()=>{requestAnimationFrame(()=>G.style.transitionDuration="")}))):this._elementRef.nativeElement.classList.add("mdc-notched-outline--no-label")}_setNotchWidth(G){this._notch.nativeElement.style.width=this.open&&G?`calc(${G}px * var(--mat-mdc-form-field-floating-label-scale, 0.75) + 9px)`:""}static#e=this.\u0275fac=function(Ie){return new(Ie||me)(n.Y36(n.SBq),n.Y36(n.R0b))};static#t=this.\u0275cmp=n.Xpm({type:me,selectors:[["div","matFormFieldNotchedOutline",""]],viewQuery:function(Ie,$e){if(1&Ie&&n.Gf(Ce,5),2&Ie){let St;n.iGM(St=n.CRH())&&($e._notch=St.first)}},hostAttrs:[1,"mdc-notched-outline"],hostVars:2,hostBindings:function(Ie,$e){2&Ie&&n.ekj("mdc-notched-outline--notched",$e.open)},inputs:{open:["matFormFieldNotchedOutlineOpen","open"]},attrs:K,ngContentSelectors:ve,decls:5,vars:0,consts:[[1,"mdc-notched-outline__leading"],[1,"mdc-notched-outline__notch"],["notch",""],[1,"mdc-notched-outline__trailing"]],template:function(Ie,$e){1&Ie&&(n.F$t(),n._UZ(0,"div",0),n.TgZ(1,"div",1,2),n.Hsn(3),n.qZA(),n._UZ(4,"div",3))},encapsulation:2,changeDetection:0})}return me})();const ht={transitionMessages:(0,ue.X$)("transitionMessages",[(0,ue.SB)("enter",(0,ue.oB)({opacity:1,transform:"translateY(0%)"})),(0,ue.eR)("void => enter",[(0,ue.oB)({opacity:0,transform:"translateY(-5px)"}),(0,ue.jt)("300ms cubic-bezier(0.55, 0, 0.55, 0.2)")])])};let mt=(()=>{class me{static#e=this.\u0275fac=function(Ie){return new(Ie||me)};static#t=this.\u0275dir=n.lG2({type:me})}return me})();const Kt=new n.OlP("MatFormField"),$t=new n.OlP("MAT_FORM_FIELD_DEFAULT_OPTIONS");let An=0,kn=(()=>{class me{get hideRequiredMarker(){return this._hideRequiredMarker}set hideRequiredMarker(G){this._hideRequiredMarker=(0,se.Ig)(G)}get floatLabel(){return this._floatLabel||this._defaults?.floatLabel||"auto"}set floatLabel(G){G!==this._floatLabel&&(this._floatLabel=G,this._changeDetectorRef.markForCheck())}get appearance(){return this._appearance}set appearance(G){const Ie=this._appearance;this._appearance=G||this._defaults?.appearance||"fill","outline"===this._appearance&&this._appearance!==Ie&&(this._needsOutlineLabelOffsetUpdateOnStable=!0)}get subscriptSizing(){return this._subscriptSizing||this._defaults?.subscriptSizing||"fixed"}set subscriptSizing(G){this._subscriptSizing=G||this._defaults?.subscriptSizing||"fixed"}get hintLabel(){return this._hintLabel}set hintLabel(G){this._hintLabel=G,this._processHints()}get _control(){return this._explicitFormFieldControl||this._formFieldControl}set _control(G){this._explicitFormFieldControl=G}constructor(G,Ie,$e,St,_e,ee,S,W){this._elementRef=G,this._changeDetectorRef=Ie,this._ngZone=$e,this._dir=St,this._platform=_e,this._defaults=ee,this._animationMode=S,this._hideRequiredMarker=!1,this.color="primary",this._appearance="fill",this._subscriptSizing=null,this._hintLabel="",this._hasIconPrefix=!1,this._hasTextPrefix=!1,this._hasIconSuffix=!1,this._hasTextSuffix=!1,this._labelId="mat-mdc-form-field-label-"+An++,this._hintLabelId="mat-mdc-hint-"+An++,this._subscriptAnimationState="",this._destroyed=new H.x,this._isFocused=null,this._needsOutlineLabelOffsetUpdateOnStable=!1,ee&&(ee.appearance&&(this.appearance=ee.appearance),this._hideRequiredMarker=!!ee?.hideRequiredMarker,ee.color&&(this.color=ee.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(){const G=this._control;G.controlType&&this._elementRef.nativeElement.classList.add(`mat-mdc-form-field-type-${G.controlType}`),G.stateChanges.subscribe(()=>{this._updateFocusState(),this._syncDescribedByIds(),this._changeDetectorRef.markForCheck()}),G.ngControl&&G.ngControl.valueChanges&&G.ngControl.valueChanges.pipe((0,ne.R)(this._destroyed)).subscribe(()=>this._changeDetectorRef.markForCheck())}_checkPrefixAndSuffixTypes(){this._hasIconPrefix=!!this._prefixChildren.find(G=>!G._isText),this._hasTextPrefix=!!this._prefixChildren.find(G=>G._isText),this._hasIconSuffix=!!this._suffixChildren.find(G=>!G._isText),this._hasTextSuffix=!!this._suffixChildren.find(G=>G._isText)}_initializePrefixAndSuffix(){this._checkPrefixAndSuffixTypes(),(0,Q.T)(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(){}_updateFocusState(){this._control.focused&&!this._isFocused?(this._isFocused=!0,this._lineRipple?.activate()):!this._control.focused&&(this._isFocused||null===this._isFocused)&&(this._isFocused=!1,this._lineRipple?.deactivate()),this._textField?.nativeElement.classList.toggle("mdc-text-field--focused",this._control.focused)}_initializeOutlineLabelOffsetSubscriptions(){this._prefixChildren.changes.subscribe(()=>this._needsOutlineLabelOffsetUpdateOnStable=!0),this._ngZone.runOutsideAngular(()=>{this._ngZone.onStable.pipe((0,ne.R)(this._destroyed)).subscribe(()=>{this._needsOutlineLabelOffsetUpdateOnStable&&(this._needsOutlineLabelOffsetUpdateOnStable=!1,this._updateOutlineLabelOffset())})}),this._dir.change.pipe((0,ne.R)(this._destroyed)).subscribe(()=>this._needsOutlineLabelOffsetUpdateOnStable=!0)}_shouldAlwaysFloat(){return"always"===this.floatLabel}_hasOutline(){return"outline"===this.appearance}_forceDisplayInfixLabel(){return!this._platform.isBrowser&&this._prefixChildren.length&&!this._shouldLabelFloat()}_hasFloatingLabel(){return!!this._labelChildNonStatic||!!this._labelChildStatic}_shouldLabelFloat(){return this._control.shouldLabelFloat||this._shouldAlwaysFloat()}_shouldForward(G){const Ie=this._control?this._control.ngControl:null;return Ie&&Ie[G]}_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(this._floatingLabel.getWidth()):this._notchedOutline?._setNotchWidth(0)}_processHints(){this._validateHints(),this._syncDescribedByIds()}_validateHints(){}_syncDescribedByIds(){if(this._control){let G=[];if(this._control.userAriaDescribedBy&&"string"==typeof this._control.userAriaDescribedBy&&G.push(...this._control.userAriaDescribedBy.split(" ")),"hint"===this._getDisplayedMessages()){const Ie=this._hintChildren?this._hintChildren.find(St=>"start"===St.align):null,$e=this._hintChildren?this._hintChildren.find(St=>"end"===St.align):null;Ie?G.push(Ie.id):this._hintLabel&&G.push(this._hintLabelId),$e&&G.push($e.id)}else this._errorChildren&&G.push(...this._errorChildren.map(Ie=>Ie.id));this._control.setDescribedByIds(G)}}_updateOutlineLabelOffset(){if(!this._platform.isBrowser||!this._hasOutline()||!this._floatingLabel)return;const G=this._floatingLabel.element;if(!this._iconPrefixContainer&&!this._textPrefixContainer)return void(G.style.transform="");if(!this._isAttachedToDom())return void(this._needsOutlineLabelOffsetUpdateOnStable=!0);const Ie=this._iconPrefixContainer?.nativeElement,$e=this._textPrefixContainer?.nativeElement,St=Ie?.getBoundingClientRect().width??0,_e=$e?.getBoundingClientRect().width??0;G.style.transform=`var(\n --mat-mdc-form-field-label-transform,\n translateY(-50%) translateX(calc(${"rtl"===this._dir.value?"-1":"1"} * (${St+_e}px + var(--mat-mdc-form-field-label-offset-x, 0px))))\n )`}_isAttachedToDom(){const G=this._elementRef.nativeElement;if(G.getRootNode){const Ie=G.getRootNode();return Ie&&Ie!==G}return document.documentElement.contains(G)}static#e=this.\u0275fac=function(Ie){return new(Ie||me)(n.Y36(n.SBq),n.Y36(n.sBO),n.Y36(n.R0b),n.Y36(l.Is),n.Y36(w.t4),n.Y36($t,8),n.Y36(n.QbO,8),n.Y36(ze.K0))};static#t=this.\u0275cmp=n.Xpm({type:me,selectors:[["mat-form-field"]],contentQueries:function(Ie,$e,St){if(1&Ie&&(n.Suo(St,nt,5),n.Suo(St,nt,7),n.Suo(St,mt,5),n.Suo(St,vt,5),n.Suo(St,tn,5),n.Suo(St,Je,5),n.Suo(St,rt,5)),2&Ie){let _e;n.iGM(_e=n.CRH())&&($e._labelChildNonStatic=_e.first),n.iGM(_e=n.CRH())&&($e._labelChildStatic=_e.first),n.iGM(_e=n.CRH())&&($e._formFieldControl=_e.first),n.iGM(_e=n.CRH())&&($e._prefixChildren=_e),n.iGM(_e=n.CRH())&&($e._suffixChildren=_e),n.iGM(_e=n.CRH())&&($e._errorChildren=_e),n.iGM(_e=n.CRH())&&($e._hintChildren=_e)}},viewQuery:function(Ie,$e){if(1&Ie&&(n.Gf(ye,5),n.Gf(He,5),n.Gf(ft,5),n.Gf(Mn,5),n.Gf(lt,5),n.Gf(Be,5)),2&Ie){let St;n.iGM(St=n.CRH())&&($e._textField=St.first),n.iGM(St=n.CRH())&&($e._iconPrefixContainer=St.first),n.iGM(St=n.CRH())&&($e._textPrefixContainer=St.first),n.iGM(St=n.CRH())&&($e._floatingLabel=St.first),n.iGM(St=n.CRH())&&($e._notchedOutline=St.first),n.iGM(St=n.CRH())&&($e._lineRipple=St.first)}},hostAttrs:[1,"mat-mdc-form-field"],hostVars:42,hostBindings:function(Ie,$e){2&Ie&&n.ekj("mat-mdc-form-field-label-always-float",$e._shouldAlwaysFloat())("mat-mdc-form-field-has-icon-prefix",$e._hasIconPrefix)("mat-mdc-form-field-has-icon-suffix",$e._hasIconSuffix)("mat-form-field-invalid",$e._control.errorState)("mat-form-field-disabled",$e._control.disabled)("mat-form-field-autofilled",$e._control.autofilled)("mat-form-field-no-animations","NoopAnimations"===$e._animationMode)("mat-form-field-appearance-fill","fill"==$e.appearance)("mat-form-field-appearance-outline","outline"==$e.appearance)("mat-form-field-hide-placeholder",$e._hasFloatingLabel()&&!$e._shouldLabelFloat())("mat-focused",$e._control.focused)("mat-primary","accent"!==$e.color&&"warn"!==$e.color)("mat-accent","accent"===$e.color)("mat-warn","warn"===$e.color)("ng-untouched",$e._shouldForward("untouched"))("ng-touched",$e._shouldForward("touched"))("ng-pristine",$e._shouldForward("pristine"))("ng-dirty",$e._shouldForward("dirty"))("ng-valid",$e._shouldForward("valid"))("ng-invalid",$e._shouldForward("invalid"))("ng-pending",$e._shouldForward("pending"))},inputs:{hideRequiredMarker:"hideRequiredMarker",color:"color",floatLabel:"floatLabel",appearance:"appearance",subscriptSizing:"subscriptSizing",hintLabel:"hintLabel"},exportAs:["matFormField"],features:[n._Bn([{provide:Kt,useExisting:me},{provide:Zt,useExisting:me}])],ngContentSelectors:st,decls:18,vars:23,consts:[["labelTemplate",""],[1,"mat-mdc-text-field-wrapper","mdc-text-field",3,"click"],["textField",""],["class","mat-mdc-form-field-focus-overlay",4,"ngIf"],[1,"mat-mdc-form-field-flex"],["matFormFieldNotchedOutline","",3,"matFormFieldNotchedOutlineOpen",4,"ngIf"],["class","mat-mdc-form-field-icon-prefix",4,"ngIf"],["class","mat-mdc-form-field-text-prefix",4,"ngIf"],[1,"mat-mdc-form-field-infix"],[3,"ngIf"],["class","mat-mdc-form-field-text-suffix",4,"ngIf"],["class","mat-mdc-form-field-icon-suffix",4,"ngIf"],["matFormFieldLineRipple","",4,"ngIf"],[1,"mat-mdc-form-field-subscript-wrapper","mat-mdc-form-field-bottom-align",3,"ngSwitch"],["class","mat-mdc-form-field-error-wrapper",4,"ngSwitchCase"],["class","mat-mdc-form-field-hint-wrapper",4,"ngSwitchCase"],["matFormFieldFloatingLabel","",3,"floating","monitorResize","id",4,"ngIf"],["matFormFieldFloatingLabel","",3,"floating","monitorResize","id"],["aria-hidden","true","class","mat-mdc-form-field-required-marker mdc-floating-label--required",4,"ngIf"],["aria-hidden","true",1,"mat-mdc-form-field-required-marker","mdc-floating-label--required"],[1,"mat-mdc-form-field-focus-overlay"],["matFormFieldNotchedOutline","",3,"matFormFieldNotchedOutlineOpen"],[3,"ngTemplateOutlet"],[1,"mat-mdc-form-field-icon-prefix"],["iconPrefixContainer",""],[1,"mat-mdc-form-field-text-prefix"],["textPrefixContainer",""],[1,"mat-mdc-form-field-text-suffix"],[1,"mat-mdc-form-field-icon-suffix"],["matFormFieldLineRipple",""],[1,"mat-mdc-form-field-error-wrapper"],[1,"mat-mdc-form-field-hint-wrapper"],[3,"id",4,"ngIf"],[1,"mat-mdc-form-field-hint-spacer"],[3,"id"]],template:function(Ie,$e){1&Ie&&(n.F$t(et),n.YNc(0,Ut,1,1,"ng-template",null,0,n.W1O),n.TgZ(2,"div",1,2),n.NdJ("click",function(_e){return $e._control.onContainerClick(_e)}),n.YNc(4,It,1,0,"div",3),n.TgZ(5,"div",4),n.YNc(6,At,2,2,"div",5),n.YNc(7,Y,3,0,"div",6),n.YNc(8,P,3,0,"div",7),n.TgZ(9,"div",8),n.YNc(10,B,1,1,"ng-template",9),n.Hsn(11),n.qZA(),n.YNc(12,Se,2,0,"div",10),n.YNc(13,L,2,0,"div",11),n.qZA(),n.YNc(14,V,1,0,"div",12),n.qZA(),n.TgZ(15,"div",13),n.YNc(16,Pe,2,1,"div",14),n.YNc(17,je,5,2,"div",15),n.qZA()),2&Ie&&(n.xp6(2),n.ekj("mdc-text-field--filled",!$e._hasOutline())("mdc-text-field--outlined",$e._hasOutline())("mdc-text-field--no-label",!$e._hasFloatingLabel())("mdc-text-field--disabled",$e._control.disabled)("mdc-text-field--invalid",$e._control.errorState),n.xp6(2),n.Q6J("ngIf",!$e._hasOutline()&&!$e._control.disabled),n.xp6(2),n.Q6J("ngIf",$e._hasOutline()),n.xp6(1),n.Q6J("ngIf",$e._hasIconPrefix),n.xp6(1),n.Q6J("ngIf",$e._hasTextPrefix),n.xp6(2),n.Q6J("ngIf",!$e._hasOutline()||$e._forceDisplayInfixLabel()),n.xp6(2),n.Q6J("ngIf",$e._hasTextSuffix),n.xp6(1),n.Q6J("ngIf",$e._hasIconSuffix),n.xp6(1),n.Q6J("ngIf",!$e._hasOutline()),n.xp6(1),n.ekj("mat-mdc-form-field-subscript-dynamic-size","dynamic"===$e.subscriptSizing),n.Q6J("ngSwitch",$e._getDisplayedMessages()),n.xp6(1),n.Q6J("ngSwitchCase","error"),n.xp6(1),n.Q6J("ngSwitchCase","hint"))},dependencies:[ze.O5,ze.tP,ze.RF,ze.n9,rt,Mn,lt,Be],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-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{transform:translateY(-34.75px) scale(0.75)}.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-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{transform:translateY(-24.75px) scale(0.75)}.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-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{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-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{--mdc-filled-text-field-active-indicator-height:1px;--mdc-filled-text-field-focus-active-indicator-height:2px;--mdc-filled-text-field-container-shape:4px;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.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-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{--mdc-outlined-text-field-outline-width:1px;--mdc-outlined-text-field-focus-outline-width:2px;--mdc-outlined-text-field-container-shape:4px}.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.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-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-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}.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}.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-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}.mat-mdc-form-field-focus-overlay{top:0;left:0;right:0;bottom:0;position:absolute;opacity:0;pointer-events:none}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}.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}[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-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%}.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,[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-icon-prefix>.mat-icon,.mat-mdc-form-field-icon-suffix>.mat-icon{padding:12px;box-sizing:content-box}.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:[ht.transitionMessages]},changeDetection:0})}return me})(),ut=(()=>{class me{static#e=this.\u0275fac=function(Ie){return new(Ie||me)};static#t=this.\u0275mod=n.oAB({type:me});static#n=this.\u0275inj=n.cJS({imports:[N.BQ,ze.ez,oe.Q8,N.BQ]})}return me})()},617:(_t,Me,p)=>{p.d(Me,{Hw:()=>Se,Ps:()=>L,jv:()=>He});var n=p(5879),l=p(3680),w=p(2495),E=p(6814),H=p(2096),Q=p(8504),ne=p(9315),we=p(7394),ie=p(9397),J=p(7398),xe=p(6306),fe=p(4716),ce=p(3020),De=p(8180),Ae=p(9862),Le=p(6593);const se=["*"];let ue;function oe(V){return function ze(){if(void 0===ue&&(ue=null,typeof window<"u")){const V=window;void 0!==V.trustedTypes&&(ue=V.trustedTypes.createPolicy("angular#components",{createHTML:Pe=>Pe}))}return ue}()?.createHTML(V)||V}function N(V){return Error(`Unable to find icon with the name "${V}"`)}function K(V){return Error(`The URL provided to MatIconRegistry was not trusted as a resource URL via Angular's DomSanitizer. Attempted URL was "${V}".`)}function ve(V){return Error(`The literal provided to MatIconRegistry was not trusted as safe HTML by Angular's DomSanitizer. Attempted literal was "${V}".`)}class ye{constructor(Pe,re,je){this.url=Pe,this.svgText=re,this.options=je}}let He=(()=>{class V{constructor(re,je,et,st){this._httpClient=re,this._sanitizer=je,this._errorHandler=st,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=et}addSvgIcon(re,je,et){return this.addSvgIconInNamespace("",re,je,et)}addSvgIconLiteral(re,je,et){return this.addSvgIconLiteralInNamespace("",re,je,et)}addSvgIconInNamespace(re,je,et,st){return this._addSvgIconConfig(re,je,new ye(et,null,st))}addSvgIconResolver(re){return this._resolvers.push(re),this}addSvgIconLiteralInNamespace(re,je,et,st){const nt=this._sanitizer.sanitize(n.q3G.HTML,et);if(!nt)throw ve(et);const Bt=oe(nt);return this._addSvgIconConfig(re,je,new ye("",Bt,st))}addSvgIconSet(re,je){return this.addSvgIconSetInNamespace("",re,je)}addSvgIconSetLiteral(re,je){return this.addSvgIconSetLiteralInNamespace("",re,je)}addSvgIconSetInNamespace(re,je,et){return this._addSvgIconSetConfig(re,new ye(je,null,et))}addSvgIconSetLiteralInNamespace(re,je,et){const st=this._sanitizer.sanitize(n.q3G.HTML,je);if(!st)throw ve(je);const nt=oe(st);return this._addSvgIconSetConfig(re,new ye("",nt,et))}registerFontClassAlias(re,je=re){return this._fontCssClassesByAlias.set(re,je),this}classNameForFontAlias(re){return this._fontCssClassesByAlias.get(re)||re}setDefaultFontSetClass(...re){return this._defaultFontSetClass=re,this}getDefaultFontSetClass(){return this._defaultFontSetClass}getSvgIconFromUrl(re){const je=this._sanitizer.sanitize(n.q3G.RESOURCE_URL,re);if(!je)throw K(re);const et=this._cachedIconsByUrl.get(je);return et?(0,H.of)(xt(et)):this._loadSvgIconFromConfig(new ye(re,null)).pipe((0,ie.b)(st=>this._cachedIconsByUrl.set(je,st)),(0,J.U)(st=>xt(st)))}getNamedSvgIcon(re,je=""){const et=Ut(je,re);let st=this._svgIconConfigs.get(et);if(st)return this._getSvgFromConfig(st);if(st=this._getIconConfigFromResolvers(je,re),st)return this._svgIconConfigs.set(et,st),this._getSvgFromConfig(st);const nt=this._iconSetConfigs.get(je);return nt?this._getSvgFromIconSetConfigs(re,nt):(0,Q._)(N(et))}ngOnDestroy(){this._resolvers=[],this._svgIconConfigs.clear(),this._iconSetConfigs.clear(),this._cachedIconsByUrl.clear()}_getSvgFromConfig(re){return re.svgText?(0,H.of)(xt(this._svgElementFromConfig(re))):this._loadSvgIconFromConfig(re).pipe((0,J.U)(je=>xt(je)))}_getSvgFromIconSetConfigs(re,je){const et=this._extractIconWithNameFromAnySet(re,je);if(et)return(0,H.of)(et);const st=je.filter(nt=>!nt.svgText).map(nt=>this._loadSvgIconSetFromConfig(nt).pipe((0,xe.K)(Bt=>{const bt=`Loading icon set URL: ${this._sanitizer.sanitize(n.q3G.RESOURCE_URL,nt.url)} failed: ${Bt.message}`;return this._errorHandler.handleError(new Error(bt)),(0,H.of)(null)})));return(0,ne.D)(st).pipe((0,J.U)(()=>{const nt=this._extractIconWithNameFromAnySet(re,je);if(!nt)throw N(re);return nt}))}_extractIconWithNameFromAnySet(re,je){for(let et=je.length-1;et>=0;et--){const st=je[et];if(st.svgText&&st.svgText.toString().indexOf(re)>-1){const nt=this._svgElementFromConfig(st),Bt=this._extractSvgIconFromSet(nt,re,st.options);if(Bt)return Bt}}return null}_loadSvgIconFromConfig(re){return this._fetchIcon(re).pipe((0,ie.b)(je=>re.svgText=je),(0,J.U)(()=>this._svgElementFromConfig(re)))}_loadSvgIconSetFromConfig(re){return re.svgText?(0,H.of)(null):this._fetchIcon(re).pipe((0,ie.b)(je=>re.svgText=je))}_extractSvgIconFromSet(re,je,et){const st=re.querySelector(`[id="${je}"]`);if(!st)return null;const nt=st.cloneNode(!0);if(nt.removeAttribute("id"),"svg"===nt.nodeName.toLowerCase())return this._setSvgAttributes(nt,et);if("symbol"===nt.nodeName.toLowerCase())return this._setSvgAttributes(this._toSvgElement(nt),et);const Bt=this._svgElementFromString(oe(""));return Bt.appendChild(nt),this._setSvgAttributes(Bt,et)}_svgElementFromString(re){const je=this._document.createElement("DIV");je.innerHTML=re;const et=je.querySelector("svg");if(!et)throw Error(" tag not found");return et}_toSvgElement(re){const je=this._svgElementFromString(oe("")),et=re.attributes;for(let st=0;stoe(bt)),(0,fe.x)(()=>this._inProgressUrlFetches.delete(nt)),(0,ce.B)());return this._inProgressUrlFetches.set(nt,Je),Je}_addSvgIconConfig(re,je,et){return this._svgIconConfigs.set(Ut(re,je),et),this}_addSvgIconSetConfig(re,je){const et=this._iconSetConfigs.get(re);return et?et.push(je):this._iconSetConfigs.set(re,[je]),this}_svgElementFromConfig(re){if(!re.svgElement){const je=this._svgElementFromString(re.svgText);this._setSvgAttributes(je,re.options),re.svgElement=je}return re.svgElement}_getIconConfigFromResolvers(re,je){for(let et=0;etPe?Pe.pathname+Pe.search:""}}}),P=["clip-path","color-profile","src","cursor","fill","filter","marker","marker-start","marker-mid","marker-end","mask","stroke"],ae=P.map(V=>`[${V}]`).join(", "),B=/^url\(['"]?#(.*?)['"]?\)$/;let Se=(()=>{class V extends sn{get inline(){return this._inline}set inline(re){this._inline=(0,w.Ig)(re)}get svgIcon(){return this._svgIcon}set svgIcon(re){re!==this._svgIcon&&(re?this._updateSvgIcon(re):this._svgIcon&&this._clearSvgElement(),this._svgIcon=re)}get fontSet(){return this._fontSet}set fontSet(re){const je=this._cleanupFontValue(re);je!==this._fontSet&&(this._fontSet=je,this._updateFontIconClasses())}get fontIcon(){return this._fontIcon}set fontIcon(re){const je=this._cleanupFontValue(re);je!==this._fontIcon&&(this._fontIcon=je,this._updateFontIconClasses())}constructor(re,je,et,st,nt,Bt){super(re),this._iconRegistry=je,this._location=st,this._errorHandler=nt,this._inline=!1,this._previousFontSetClass=[],this._currentIconFetch=we.w0.EMPTY,Bt&&(Bt.color&&(this.color=this.defaultColor=Bt.color),Bt.fontSet&&(this.fontSet=Bt.fontSet)),et||re.nativeElement.setAttribute("aria-hidden","true")}_splitIconName(re){if(!re)return["",""];const je=re.split(":");switch(je.length){case 1:return["",je[0]];case 2:return je;default:throw Error(`Invalid icon name: "${re}"`)}}ngOnInit(){this._updateFontIconClasses()}ngAfterViewChecked(){const re=this._elementsWithExternalReferences;if(re&&re.size){const je=this._location.getPathname();je!==this._previousPath&&(this._previousPath=je,this._prependPathToReferences(je))}}ngOnDestroy(){this._currentIconFetch.unsubscribe(),this._elementsWithExternalReferences&&this._elementsWithExternalReferences.clear()}_usingFontIcon(){return!this.svgIcon}_setSvgElement(re){this._clearSvgElement();const je=this._location.getPathname();this._previousPath=je,this._cacheChildrenWithExternalReferences(re),this._prependPathToReferences(je),this._elementRef.nativeElement.appendChild(re)}_clearSvgElement(){const re=this._elementRef.nativeElement;let je=re.childNodes.length;for(this._elementsWithExternalReferences&&this._elementsWithExternalReferences.clear();je--;){const et=re.childNodes[je];(1!==et.nodeType||"svg"===et.nodeName.toLowerCase())&&et.remove()}}_updateFontIconClasses(){if(!this._usingFontIcon())return;const re=this._elementRef.nativeElement,je=(this.fontSet?this._iconRegistry.classNameForFontAlias(this.fontSet).split(/ +/):this._iconRegistry.getDefaultFontSetClass()).filter(et=>et.length>0);this._previousFontSetClass.forEach(et=>re.classList.remove(et)),je.forEach(et=>re.classList.add(et)),this._previousFontSetClass=je,this.fontIcon!==this._previousFontIconClass&&!je.includes("mat-ligature-font")&&(this._previousFontIconClass&&re.classList.remove(this._previousFontIconClass),this.fontIcon&&re.classList.add(this.fontIcon),this._previousFontIconClass=this.fontIcon)}_cleanupFontValue(re){return"string"==typeof re?re.trim().split(" ")[0]:re}_prependPathToReferences(re){const je=this._elementsWithExternalReferences;je&&je.forEach((et,st)=>{et.forEach(nt=>{st.setAttribute(nt.name,`url('${re}#${nt.value}')`)})})}_cacheChildrenWithExternalReferences(re){const je=re.querySelectorAll(ae),et=this._elementsWithExternalReferences=this._elementsWithExternalReferences||new Map;for(let st=0;st{const Bt=je[st],Je=Bt.getAttribute(nt),bt=Je?Je.match(B):null;if(bt){let Oe=et.get(Bt);Oe||(Oe=[],et.set(Bt,Oe)),Oe.push({name:nt,value:bt[1]})}})}_updateSvgIcon(re){if(this._svgNamespace=null,this._svgName=null,this._currentIconFetch.unsubscribe(),re){const[je,et]=this._splitIconName(re);je&&(this._svgNamespace=je),et&&(this._svgName=et),this._currentIconFetch=this._iconRegistry.getNamedSvgIcon(et,je).pipe((0,De.q)(1)).subscribe(st=>this._setSvgElement(st),st=>{this._errorHandler.handleError(new Error(`Error retrieving icon ${je}:${et}! ${st.message}`))})}}static#e=this.\u0275fac=function(je){return new(je||V)(n.Y36(n.SBq),n.Y36(He),n.$8M("aria-hidden"),n.Y36(At),n.Y36(n.qLn),n.Y36(Xe,8))};static#t=this.\u0275cmp=n.Xpm({type:V,selectors:[["mat-icon"]],hostAttrs:["role","img",1,"mat-icon","notranslate"],hostVars:8,hostBindings:function(je,et){2&je&&(n.uIk("data-mat-icon-type",et._usingFontIcon()?"font":"svg")("data-mat-icon-name",et._svgName||et.fontIcon)("data-mat-icon-namespace",et._svgNamespace||et.fontSet)("fontIcon",et._usingFontIcon()?et.fontIcon:null),n.ekj("mat-icon-inline",et.inline)("mat-icon-no-color","primary"!==et.color&&"accent"!==et.color&&"warn"!==et.color))},inputs:{color:"color",inline:"inline",svgIcon:"svgIcon",fontSet:"fontSet",fontIcon:"fontIcon"},exportAs:["matIcon"],features:[n.qOj],ngContentSelectors:se,decls:1,vars:0,template:function(je,et){1&je&&(n.F$t(),n.Hsn(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})}return V})(),L=(()=>{class V{static#e=this.\u0275fac=function(je){return new(je||V)};static#t=this.\u0275mod=n.oAB({type:V});static#n=this.\u0275inj=n.cJS({imports:[l.BQ,l.BQ]})}return V})()},4516:(_t,Me,p)=>{p.d(Me,{Jk:()=>J,Nt:()=>De,c:()=>Ae});var n=p(2495),l=p(2831),w=p(6263),E=p(5879),H=p(6223),Q=p(3680),ne=p(9157),we=p(8645);const J=new E.OlP("MAT_INPUT_VALUE_ACCESSOR"),xe=["button","checkbox","file","hidden","image","radio","range","reset","submit"];let fe=0;const ce=(0,Q.FD)(class{constructor(Le,se,ue,ze){this._defaultErrorStateMatcher=Le,this._parentForm=se,this._parentFormGroup=ue,this.ngControl=ze,this.stateChanges=new we.x}});let De=(()=>{class Le extends ce{get disabled(){return this._disabled}set disabled(ue){this._disabled=(0,n.Ig)(ue),this.focused&&(this.focused=!1,this.stateChanges.next())}get id(){return this._id}set id(ue){this._id=ue||this._uid}get required(){return this._required??this.ngControl?.control?.hasValidator(H.kI.required)??!1}set required(ue){this._required=(0,n.Ig)(ue)}get type(){return this._type}set type(ue){this._type=ue||"text",this._validateType(),!this._isTextarea&&(0,l.qK)().has(this._type)&&(this._elementRef.nativeElement.type=this._type)}get value(){return this._inputValueAccessor.value}set value(ue){ue!==this.value&&(this._inputValueAccessor.value=ue,this.stateChanges.next())}get readonly(){return this._readonly}set readonly(ue){this._readonly=(0,n.Ig)(ue)}constructor(ue,ze,oe,N,Ce,K,ve,ye,He,ft){super(K,N,Ce,oe),this._elementRef=ue,this._platform=ze,this._autofillMonitor=ye,this._formField=ft,this._uid="mat-input-"+fe++,this.focused=!1,this.stateChanges=new we.x,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(Ut=>(0,l.qK)().has(Ut)),this._iOSKeyupListener=Ut=>{const It=Ut.target;!It.value&&0===It.selectionStart&&0===It.selectionEnd&&(It.setSelectionRange(1,1),It.setSelectionRange(0,0))};const ct=this._elementRef.nativeElement,xt=ct.nodeName.toLowerCase();this._inputValueAccessor=ve||ct,this._previousNativeValue=this.value,this.id=this.id,ze.IOS&&He.runOutsideAngular(()=>{ue.nativeElement.addEventListener("keyup",this._iOSKeyupListener)}),this._isServer=!this._platform.isBrowser,this._isNativeSelect="select"===xt,this._isTextarea="textarea"===xt,this._isInFormField=!!ft,this._isNativeSelect&&(this.controlType=ct.multiple?"mat-native-select-multiple":"mat-native-select")}ngAfterViewInit(){this._platform.isBrowser&&this._autofillMonitor.monitor(this._elementRef.nativeElement).subscribe(ue=>{this.autofilled=ue.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(),null!==this.ngControl.disabled&&this.ngControl.disabled!==this.disabled&&(this.disabled=this.ngControl.disabled,this.stateChanges.next())),this._dirtyCheckNativeValue(),this._dirtyCheckPlaceholder()}focus(ue){this._elementRef.nativeElement.focus(ue)}_focusChanged(ue){ue!==this.focused&&(this.focused=ue,this.stateChanges.next())}_onInput(){}_dirtyCheckNativeValue(){const ue=this._elementRef.nativeElement.value;this._previousNativeValue!==ue&&(this._previousNativeValue=ue,this.stateChanges.next())}_dirtyCheckPlaceholder(){const ue=this._getPlaceholder();if(ue!==this._previousPlaceholder){const ze=this._elementRef.nativeElement;this._previousPlaceholder=ue,ue?ze.setAttribute("placeholder",ue):ze.removeAttribute("placeholder")}}_getPlaceholder(){return this.placeholder||null}_validateType(){xe.indexOf(this._type)}_isNeverEmpty(){return this._neverEmptyInputTypes.indexOf(this._type)>-1}_isBadInput(){let ue=this._elementRef.nativeElement.validity;return ue&&ue.badInput}get empty(){return!(this._isNeverEmpty()||this._elementRef.nativeElement.value||this._isBadInput()||this.autofilled)}get shouldLabelFloat(){if(this._isNativeSelect){const ue=this._elementRef.nativeElement,ze=ue.options[0];return this.focused||ue.multiple||!this.empty||!!(ue.selectedIndex>-1&&ze&&ze.label)}return this.focused||!this.empty}setDescribedByIds(ue){ue.length?this._elementRef.nativeElement.setAttribute("aria-describedby",ue.join(" ")):this._elementRef.nativeElement.removeAttribute("aria-describedby")}onContainerClick(){this.focused||this.focus()}_isInlineSelect(){const ue=this._elementRef.nativeElement;return this._isNativeSelect&&(ue.multiple||ue.size>1)}static#e=this.\u0275fac=function(ze){return new(ze||Le)(E.Y36(E.SBq),E.Y36(l.t4),E.Y36(H.a5,10),E.Y36(H.F,8),E.Y36(H.sg,8),E.Y36(Q.rD),E.Y36(J,10),E.Y36(w.Lq),E.Y36(E.R0b),E.Y36(ne.G_,8))};static#t=this.\u0275dir=E.lG2({type:Le,selectors:[["input","matInput",""],["textarea","matInput",""],["select","matNativeControl",""],["input","matNativeControl",""],["textarea","matNativeControl",""]],hostAttrs:[1,"mat-mdc-input-element"],hostVars:18,hostBindings:function(ze,oe){1&ze&&E.NdJ("focus",function(){return oe._focusChanged(!0)})("blur",function(){return oe._focusChanged(!1)})("input",function(){return oe._onInput()}),2&ze&&(E.Ikx("id",oe.id)("disabled",oe.disabled)("required",oe.required),E.uIk("name",oe.name||null)("readonly",oe.readonly&&!oe._isNativeSelect||null)("aria-invalid",oe.empty&&oe.required?null:oe.errorState)("aria-required",oe.required)("id",oe.id),E.ekj("mat-input-server",oe._isServer)("mat-mdc-form-field-textarea-control",oe._isInFormField&&oe._isTextarea)("mat-mdc-form-field-input-control",oe._isInFormField)("mdc-text-field__input",oe._isInFormField)("mat-mdc-native-select-inline",oe._isInlineSelect()))},inputs:{disabled:"disabled",id:"id",placeholder:"placeholder",name:"name",required:"required",type:"type",errorStateMatcher:"errorStateMatcher",userAriaDescribedBy:["aria-describedby","userAriaDescribedBy"],value:"value",readonly:"readonly"},exportAs:["matInput"],features:[E._Bn([{provide:ne.Eo,useExisting:Le}]),E.qOj,E.TTD]})}return Le})(),Ae=(()=>{class Le{static#e=this.\u0275fac=function(ze){return new(ze||Le)};static#t=this.\u0275mod=E.oAB({type:Le});static#n=this.\u0275inj=E.cJS({imports:[Q.BQ,ne.lN,ne.lN,w.Ky,Q.BQ]})}return Le})()},8525:(_t,Me,p)=>{p.d(Me,{LD:()=>Bt,gD:()=>nt});var n=p(3651),l=p(6814),w=p(5879),E=p(3680),H=p(9157),Q=p(6672),ne=p(4300),we=p(9388),ie=p(2495),J=p(8337),xe=p(6028),fe=p(6223),ce=p(8645),De=p(4911),Ae=p(3019),Le=p(7921),se=p(4664),ue=p(8180),ze=p(2181),oe=p(7398),N=p(3997),Ce=p(9773),K=p(6825);const ve=["trigger"],ye=["panel"];function He(Je,bt){if(1&Je&&(w.TgZ(0,"span",10),w._uU(1),w.qZA()),2&Je){const Oe=w.oxw();w.xp6(1),w.Oqu(Oe.placeholder)}}function ft(Je,bt){if(1&Je&&(w.TgZ(0,"span",14),w._uU(1),w.qZA()),2&Je){const Oe=w.oxw(2);w.xp6(1),w.Oqu(Oe.triggerValue)}}function ct(Je,bt){1&Je&&w.Hsn(0,0,["*ngSwitchCase","true"])}function xt(Je,bt){if(1&Je&&(w.TgZ(0,"span",11),w.YNc(1,ft,2,1,"span",12),w.YNc(2,ct,1,0,"ng-content",13),w.qZA()),2&Je){const Oe=w.oxw();w.Q6J("ngSwitch",!!Oe.customTrigger),w.xp6(2),w.Q6J("ngSwitchCase",!0)}}function Ut(Je,bt){if(1&Je){const Oe=w.EpF();w.O4$(),w.kcU(),w.TgZ(0,"div",15,16),w.NdJ("@transformPanel.done",function(vt){w.CHM(Oe);const en=w.oxw();return w.KtG(en._panelDoneAnimatingStream.next(vt.toState))})("keydown",function(vt){w.CHM(Oe);const en=w.oxw();return w.KtG(en._handleKeydown(vt))}),w.Hsn(2,1),w.qZA()}if(2&Je){const Oe=w.oxw();w.Gre("mat-mdc-select-panel mdc-menu-surface mdc-menu-surface--open ",Oe._getPanelTheme(),""),w.Q6J("ngClass",Oe.panelClass)("@transformPanel","showing"),w.uIk("id",Oe.id+"-panel")("aria-multiselectable",Oe.multiple)("aria-label",Oe.ariaLabel||null)("aria-labelledby",Oe._getPanelAriaLabelledby())}}const It=[[["mat-select-trigger"]],"*"],sn=["mat-select-trigger","*"],Xe={transformPanelWrap:(0,K.X$)("transformPanelWrap",[(0,K.eR)("* => void",(0,K.IO)("@transformPanel",[(0,K.pV)()],{optional:!0}))]),transformPanel:(0,K.X$)("transformPanel",[(0,K.SB)("void",(0,K.oB)({opacity:0,transform:"scale(1, 0.8)"})),(0,K.eR)("void => showing",(0,K.jt)("120ms cubic-bezier(0, 0, 0.2, 1)",(0,K.oB)({opacity:1,transform:"scale(1, 1)"}))),(0,K.eR)("* => void",(0,K.jt)("100ms linear",(0,K.oB)({opacity:0})))])};let ae=0;const B=new w.OlP("mat-select-scroll-strategy"),L=new w.OlP("MAT_SELECT_CONFIG"),V={provide:B,deps:[n.aV],useFactory:function Se(Je){return()=>Je.scrollStrategies.reposition()}},Pe=new w.OlP("MatSelectTrigger");class re{constructor(bt,Oe){this.source=bt,this.value=Oe}}const je=(0,E.Kr)((0,E.sb)((0,E.Id)((0,E.FD)(class{constructor(Je,bt,Oe,rt,vt){this._elementRef=Je,this._defaultErrorStateMatcher=bt,this._parentForm=Oe,this._parentFormGroup=rt,this.ngControl=vt,this.stateChanges=new ce.x}}))));let et=(()=>{class Je extends je{get focused(){return this._focused||this._panelOpen}get placeholder(){return this._placeholder}set placeholder(Oe){this._placeholder=Oe,this.stateChanges.next()}get required(){return this._required??this.ngControl?.control?.hasValidator(fe.kI.required)??!1}set required(Oe){this._required=(0,ie.Ig)(Oe),this.stateChanges.next()}get multiple(){return this._multiple}set multiple(Oe){this._multiple=(0,ie.Ig)(Oe)}get disableOptionCentering(){return this._disableOptionCentering}set disableOptionCentering(Oe){this._disableOptionCentering=(0,ie.Ig)(Oe)}get compareWith(){return this._compareWith}set compareWith(Oe){this._compareWith=Oe,this._selectionModel&&this._initializeSelection()}get value(){return this._value}set value(Oe){this._assignValue(Oe)&&this._onChange(Oe)}get typeaheadDebounceInterval(){return this._typeaheadDebounceInterval}set typeaheadDebounceInterval(Oe){this._typeaheadDebounceInterval=(0,ie.su)(Oe)}get id(){return this._id}set id(Oe){this._id=Oe||this._uid,this.stateChanges.next()}constructor(Oe,rt,vt,en,tn,fn,Zt,Mn,it,$,be,Be,lt,ht){super(tn,en,Zt,Mn,$),this._viewportRuler=Oe,this._changeDetectorRef=rt,this._ngZone=vt,this._dir=fn,this._parentFormField=it,this._liveAnnouncer=lt,this._defaultOptions=ht,this._panelOpen=!1,this._compareWith=(mt,Mt)=>mt===Mt,this._uid="mat-select-"+ae++,this._triggerAriaLabelledBy=null,this._destroy=new ce.x,this._onChange=()=>{},this._onTouched=()=>{},this._valueId="mat-select-value-"+ae++,this._panelDoneAnimatingStream=new ce.x,this._overlayPanelClass=this._defaultOptions?.overlayPanelClass||"",this._focused=!1,this.controlType="mat-select",this._multiple=!1,this._disableOptionCentering=this._defaultOptions?.disableOptionCentering??!1,this.ariaLabel="",this.optionSelectionChanges=(0,De.P)(()=>{const mt=this.options;return mt?mt.changes.pipe((0,Le.O)(mt),(0,se.w)(()=>(0,Ae.T)(...mt.map(Mt=>Mt.onSelectionChange)))):this._ngZone.onStable.pipe((0,ue.q)(1),(0,se.w)(()=>this.optionSelectionChanges))}),this.openedChange=new w.vpe,this._openedStream=this.openedChange.pipe((0,ze.h)(mt=>mt),(0,oe.U)(()=>{})),this._closedStream=this.openedChange.pipe((0,ze.h)(mt=>!mt),(0,oe.U)(()=>{})),this.selectionChange=new w.vpe,this.valueChange=new w.vpe,this._trackedModal=null,this.ngControl&&(this.ngControl.valueAccessor=this),null!=ht?.typeaheadDebounceInterval&&(this._typeaheadDebounceInterval=ht.typeaheadDebounceInterval),this._scrollStrategyFactory=Be,this._scrollStrategy=this._scrollStrategyFactory(),this.tabIndex=parseInt(be)||0,this.id=this.id}ngOnInit(){this._selectionModel=new J.Ov(this.multiple),this.stateChanges.next(),this._panelDoneAnimatingStream.pipe((0,N.x)(),(0,Ce.R)(this._destroy)).subscribe(()=>this._panelDoneAnimating(this.panelOpen))}ngAfterContentInit(){this._initKeyManager(),this._selectionModel.changed.pipe((0,Ce.R)(this._destroy)).subscribe(Oe=>{Oe.added.forEach(rt=>rt.select()),Oe.removed.forEach(rt=>rt.deselect())}),this.options.changes.pipe((0,Le.O)(null),(0,Ce.R)(this._destroy)).subscribe(()=>{this._resetOptions(),this._initializeSelection()})}ngDoCheck(){const Oe=this._getTriggerAriaLabelledby(),rt=this.ngControl;if(Oe!==this._triggerAriaLabelledBy){const vt=this._elementRef.nativeElement;this._triggerAriaLabelledBy=Oe,Oe?vt.setAttribute("aria-labelledby",Oe):vt.removeAttribute("aria-labelledby")}rt&&(this._previousControl!==rt.control&&(void 0!==this._previousControl&&null!==rt.disabled&&rt.disabled!==this.disabled&&(this.disabled=rt.disabled),this._previousControl=rt.control),this.updateErrorState())}ngOnChanges(Oe){(Oe.disabled||Oe.userAriaDescribedBy)&&this.stateChanges.next(),Oe.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._applyModalPanelOwnership(),this._panelOpen=!0,this._keyManager.withHorizontalOrientation(null),this._highlightCorrectOption(),this._changeDetectorRef.markForCheck())}_applyModalPanelOwnership(){const Oe=this._elementRef.nativeElement.closest('body > .cdk-overlay-container [aria-modal="true"]');if(!Oe)return;const rt=`${this.id}-panel`;this._trackedModal&&(0,ne.iD)(this._trackedModal,"aria-owns",rt),(0,ne.Zf)(Oe,"aria-owns",rt),this._trackedModal=Oe}_clearFromModal(){this._trackedModal&&((0,ne.iD)(this._trackedModal,"aria-owns",`${this.id}-panel`),this._trackedModal=null)}close(){this._panelOpen&&(this._panelOpen=!1,this._keyManager.withHorizontalOrientation(this._isRtl()?"rtl":"ltr"),this._changeDetectorRef.markForCheck(),this._onTouched())}writeValue(Oe){this._assignValue(Oe)}registerOnChange(Oe){this._onChange=Oe}registerOnTouched(Oe){this._onTouched=Oe}setDisabledState(Oe){this.disabled=Oe,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){const Oe=this._selectionModel.selected.map(rt=>rt.viewValue);return this._isRtl()&&Oe.reverse(),Oe.join(", ")}return this._selectionModel.selected[0].viewValue}_isRtl(){return!!this._dir&&"rtl"===this._dir.value}_handleKeydown(Oe){this.disabled||(this.panelOpen?this._handleOpenKeydown(Oe):this._handleClosedKeydown(Oe))}_handleClosedKeydown(Oe){const rt=Oe.keyCode,vt=rt===xe.JH||rt===xe.LH||rt===xe.oh||rt===xe.SV,en=rt===xe.K5||rt===xe.L_,tn=this._keyManager;if(!tn.isTyping()&&en&&!(0,xe.Vb)(Oe)||(this.multiple||Oe.altKey)&&vt)Oe.preventDefault(),this.open();else if(!this.multiple){const fn=this.selected;tn.onKeydown(Oe);const Zt=this.selected;Zt&&fn!==Zt&&this._liveAnnouncer.announce(Zt.viewValue,1e4)}}_handleOpenKeydown(Oe){const rt=this._keyManager,vt=Oe.keyCode,en=vt===xe.JH||vt===xe.LH,tn=rt.isTyping();if(en&&Oe.altKey)Oe.preventDefault(),this.close();else if(tn||vt!==xe.K5&&vt!==xe.L_||!rt.activeItem||(0,xe.Vb)(Oe))if(!tn&&this._multiple&&vt===xe.A&&Oe.ctrlKey){Oe.preventDefault();const fn=this.options.some(Zt=>!Zt.disabled&&!Zt.selected);this.options.forEach(Zt=>{Zt.disabled||(fn?Zt.select():Zt.deselect())})}else{const fn=rt.activeItemIndex;rt.onKeydown(Oe),this._multiple&&en&&Oe.shiftKey&&rt.activeItem&&rt.activeItemIndex!==fn&&rt.activeItem._selectViaInteraction()}else Oe.preventDefault(),rt.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((0,ue.q)(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(Oe){if(this.options.forEach(rt=>rt.setInactiveStyles()),this._selectionModel.clear(),this.multiple&&Oe)Array.isArray(Oe),Oe.forEach(rt=>this._selectOptionByValue(rt)),this._sortValues();else{const rt=this._selectOptionByValue(Oe);rt?this._keyManager.updateActiveItem(rt):this.panelOpen||this._keyManager.updateActiveItem(-1)}this._changeDetectorRef.markForCheck()}_selectOptionByValue(Oe){const rt=this.options.find(vt=>{if(this._selectionModel.isSelected(vt))return!1;try{return null!=vt.value&&this._compareWith(vt.value,Oe)}catch{return!1}});return rt&&this._selectionModel.select(rt),rt}_assignValue(Oe){return!!(Oe!==this._value||this._multiple&&Array.isArray(Oe))&&(this.options&&this._setSelectionByValue(Oe),this._value=Oe,!0)}_skipPredicate(Oe){return Oe.disabled}_initKeyManager(){this._keyManager=new ne.s1(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(){const Oe=(0,Ae.T)(this.options.changes,this._destroy);this.optionSelectionChanges.pipe((0,Ce.R)(Oe)).subscribe(rt=>{this._onSelect(rt.source,rt.isUserInput),rt.isUserInput&&!this.multiple&&this._panelOpen&&(this.close(),this.focus())}),(0,Ae.T)(...this.options.map(rt=>rt._stateChanges)).pipe((0,Ce.R)(Oe)).subscribe(()=>{this._changeDetectorRef.detectChanges(),this.stateChanges.next()})}_onSelect(Oe,rt){const vt=this._selectionModel.isSelected(Oe);null!=Oe.value||this._multiple?(vt!==Oe.selected&&(Oe.selected?this._selectionModel.select(Oe):this._selectionModel.deselect(Oe)),rt&&this._keyManager.setActiveItem(Oe),this.multiple&&(this._sortValues(),rt&&this.focus())):(Oe.deselect(),this._selectionModel.clear(),null!=this.value&&this._propagateChanges(Oe.value)),vt!==this._selectionModel.isSelected(Oe)&&this._propagateChanges(),this.stateChanges.next()}_sortValues(){if(this.multiple){const Oe=this.options.toArray();this._selectionModel.sort((rt,vt)=>this.sortComparator?this.sortComparator(rt,vt,Oe):Oe.indexOf(rt)-Oe.indexOf(vt)),this.stateChanges.next()}}_propagateChanges(Oe){let rt=null;rt=this.multiple?this.selected.map(vt=>vt.value):this.selected?this.selected.value:Oe,this._value=rt,this.valueChange.emit(rt),this._onChange(rt),this.selectionChange.emit(this._getChangeEvent(rt)),this._changeDetectorRef.markForCheck()}_highlightCorrectOption(){if(this._keyManager)if(this.empty){let Oe=-1;for(let rt=0;rt0}focus(Oe){this._elementRef.nativeElement.focus(Oe)}_getPanelAriaLabelledby(){if(this.ariaLabel)return null;const Oe=this._parentFormField?.getLabelId();return this.ariaLabelledby?(Oe?Oe+" ":"")+this.ariaLabelledby:Oe}_getAriaActiveDescendant(){return this.panelOpen&&this._keyManager&&this._keyManager.activeItem?this._keyManager.activeItem.id:null}_getTriggerAriaLabelledby(){if(this.ariaLabel)return null;const Oe=this._parentFormField?.getLabelId();let rt=(Oe?Oe+" ":"")+this._valueId;return this.ariaLabelledby&&(rt+=" "+this.ariaLabelledby),rt}_panelDoneAnimating(Oe){this.openedChange.emit(Oe)}setDescribedByIds(Oe){Oe.length?this._elementRef.nativeElement.setAttribute("aria-describedby",Oe.join(" ")):this._elementRef.nativeElement.removeAttribute("aria-describedby")}onContainerClick(){this.focus(),this.open()}get shouldLabelFloat(){return this._panelOpen||!this.empty||this._focused&&!!this._placeholder}static#e=this.\u0275fac=function(rt){return new(rt||Je)(w.Y36(Q.rL),w.Y36(w.sBO),w.Y36(w.R0b),w.Y36(E.rD),w.Y36(w.SBq),w.Y36(we.Is,8),w.Y36(fe.F,8),w.Y36(fe.sg,8),w.Y36(H.G_,8),w.Y36(fe.a5,10),w.$8M("tabindex"),w.Y36(B),w.Y36(ne.Kd),w.Y36(L,8))};static#t=this.\u0275dir=w.lG2({type:Je,viewQuery:function(rt,vt){if(1&rt&&(w.Gf(ve,5),w.Gf(ye,5),w.Gf(n.pI,5)),2&rt){let en;w.iGM(en=w.CRH())&&(vt.trigger=en.first),w.iGM(en=w.CRH())&&(vt.panel=en.first),w.iGM(en=w.CRH())&&(vt._overlayDir=en.first)}},inputs:{userAriaDescribedBy:["aria-describedby","userAriaDescribedBy"],panelClass:"panelClass",placeholder:"placeholder",required:"required",multiple:"multiple",disableOptionCentering:"disableOptionCentering",compareWith:"compareWith",value:"value",ariaLabel:["aria-label","ariaLabel"],ariaLabelledby:["aria-labelledby","ariaLabelledby"],errorStateMatcher:"errorStateMatcher",typeaheadDebounceInterval:"typeaheadDebounceInterval",sortComparator:"sortComparator",id:"id"},outputs:{openedChange:"openedChange",_openedStream:"opened",_closedStream:"closed",selectionChange:"selectionChange",valueChange:"valueChange"},features:[w.qOj,w.TTD]})}return Je})(),nt=(()=>{class Je extends et{constructor(){super(...arguments),this.panelWidth=this._defaultOptions&&typeof this._defaultOptions.panelWidth<"u"?this._defaultOptions.panelWidth:"auto",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._hideSingleSelectionIndicator=this._defaultOptions?.hideSingleSelectionIndicator??!1,this._skipPredicate=Oe=>!this.panelOpen&&Oe.disabled}get shouldLabelFloat(){return this.panelOpen||!this.empty||this.focused&&!!this.placeholder}ngOnInit(){super.ngOnInit(),this._viewportRuler.change().pipe((0,Ce.R)(this._destroy)).subscribe(()=>{this.panelOpen&&(this._overlayWidth=this._getOverlayWidth(this._preferredOverlayOrigin),this._changeDetectorRef.detectChanges())})}open(){this._parentFormField&&(this._preferredOverlayOrigin=this._parentFormField.getConnectedOverlayOrigin()),this._overlayWidth=this._getOverlayWidth(this._preferredOverlayOrigin),super.open(),this.stateChanges.next()}close(){super.close(),this.stateChanges.next()}_scrollOptionIntoView(Oe){const rt=this.options.toArray()[Oe];if(rt){const vt=this.panel.nativeElement,en=(0,E.CB)(Oe,this.options,this.optionGroups),tn=rt._getHostElement();vt.scrollTop=0===Oe&&1===en?0:(0,E.jH)(tn.offsetTop,tn.offsetHeight,vt.scrollTop,vt.offsetHeight)}}_positioningSettled(){this._scrollOptionIntoView(this._keyManager.activeItemIndex||0)}_getChangeEvent(Oe){return new re(this,Oe)}_getOverlayWidth(Oe){return"auto"===this.panelWidth?(Oe instanceof n.xu?Oe.elementRef:Oe||this._elementRef).nativeElement.getBoundingClientRect().width:null===this.panelWidth?"":this.panelWidth}get hideSingleSelectionIndicator(){return this._hideSingleSelectionIndicator}set hideSingleSelectionIndicator(Oe){this._hideSingleSelectionIndicator=(0,ie.Ig)(Oe),this._syncParentProperties()}_syncParentProperties(){if(this.options)for(const Oe of this.options)Oe._changeDetectorRef.markForCheck()}static#e=this.\u0275fac=function(){let Oe;return function(vt){return(Oe||(Oe=w.n5z(Je)))(vt||Je)}}();static#t=this.\u0275cmp=w.Xpm({type:Je,selectors:[["mat-select"]],contentQueries:function(rt,vt,en){if(1&rt&&(w.Suo(en,Pe,5),w.Suo(en,E.ey,5),w.Suo(en,E.K7,5)),2&rt){let tn;w.iGM(tn=w.CRH())&&(vt.customTrigger=tn.first),w.iGM(tn=w.CRH())&&(vt.options=tn),w.iGM(tn=w.CRH())&&(vt.optionGroups=tn)}},hostAttrs:["role","combobox","aria-autocomplete","none","aria-haspopup","listbox","ngSkipHydration","",1,"mat-mdc-select"],hostVars:19,hostBindings:function(rt,vt){1&rt&&w.NdJ("keydown",function(tn){return vt._handleKeydown(tn)})("focus",function(){return vt._onFocus()})("blur",function(){return vt._onBlur()}),2&rt&&(w.uIk("id",vt.id)("tabindex",vt.tabIndex)("aria-controls",vt.panelOpen?vt.id+"-panel":null)("aria-expanded",vt.panelOpen)("aria-label",vt.ariaLabel||null)("aria-required",vt.required.toString())("aria-disabled",vt.disabled.toString())("aria-invalid",vt.errorState)("aria-activedescendant",vt._getAriaActiveDescendant()),w.ekj("mat-mdc-select-disabled",vt.disabled)("mat-mdc-select-invalid",vt.errorState)("mat-mdc-select-required",vt.required)("mat-mdc-select-empty",vt.empty)("mat-mdc-select-multiple",vt.multiple))},inputs:{disabled:"disabled",disableRipple:"disableRipple",tabIndex:"tabIndex",panelWidth:"panelWidth",hideSingleSelectionIndicator:"hideSingleSelectionIndicator"},exportAs:["matSelect"],features:[w._Bn([{provide:H.Eo,useExisting:Je},{provide:E.HF,useExisting:Je}]),w.qOj],ngContentSelectors:sn,decls:11,vars:10,consts:[["cdk-overlay-origin","",1,"mat-mdc-select-trigger",3,"click"],["fallbackOverlayOrigin","cdkOverlayOrigin","trigger",""],[1,"mat-mdc-select-value",3,"ngSwitch"],["class","mat-mdc-select-placeholder mat-mdc-select-min-line",4,"ngSwitchCase"],["class","mat-mdc-select-value-text",3,"ngSwitch",4,"ngSwitchCase"],[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,"cdkConnectedOverlayPanelClass","cdkConnectedOverlayScrollStrategy","cdkConnectedOverlayOrigin","cdkConnectedOverlayOpen","cdkConnectedOverlayPositions","cdkConnectedOverlayWidth","backdropClick","attach","detach"],[1,"mat-mdc-select-placeholder","mat-mdc-select-min-line"],[1,"mat-mdc-select-value-text",3,"ngSwitch"],["class","mat-mdc-select-min-line",4,"ngSwitchDefault"],[4,"ngSwitchCase"],[1,"mat-mdc-select-min-line"],["role","listbox","tabindex","-1",3,"ngClass","keydown"],["panel",""]],template:function(rt,vt){if(1&rt&&(w.F$t(It),w.TgZ(0,"div",0,1),w.NdJ("click",function(){return vt.toggle()}),w.TgZ(3,"div",2),w.YNc(4,He,2,1,"span",3),w.YNc(5,xt,3,2,"span",4),w.qZA(),w.TgZ(6,"div",5)(7,"div",6),w.O4$(),w.TgZ(8,"svg",7),w._UZ(9,"path",8),w.qZA()()()(),w.YNc(10,Ut,3,9,"ng-template",9),w.NdJ("backdropClick",function(){return vt.close()})("attach",function(){return vt._onAttached()})("detach",function(){return vt.close()})),2&rt){const en=w.MAs(1);w.xp6(3),w.Q6J("ngSwitch",vt.empty),w.uIk("id",vt._valueId),w.xp6(1),w.Q6J("ngSwitchCase",!0),w.xp6(1),w.Q6J("ngSwitchCase",!1),w.xp6(5),w.Q6J("cdkConnectedOverlayPanelClass",vt._overlayPanelClass)("cdkConnectedOverlayScrollStrategy",vt._scrollStrategy)("cdkConnectedOverlayOrigin",vt._preferredOverlayOrigin||en)("cdkConnectedOverlayOpen",vt.panelOpen)("cdkConnectedOverlayPositions",vt._positions)("cdkConnectedOverlayWidth",vt._overlayWidth)}},dependencies:[l.mk,l.RF,l.n9,l.ED,n.pI,n.xu],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)}.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 .mat-mdc-select-arrow-wrapper{transform:translateY(-8px)}.mat-form-field-appearance-fill .mdc-text-field--no-label .mat-mdc-select-arrow-wrapper{transform:none}.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-invalid .mat-mdc-select-arrow{color:var(--mat-select-invalid-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{box-shadow:0px 5px 5px -3px rgba(0, 0, 0, 0.2), 0px 8px 10px 1px rgba(0, 0, 0, 0.14), 0px 3px 14px 2px rgba(0, 0, 0, 0.12);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}.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}'],encapsulation:2,data:{animation:[Xe.transformPanel]},changeDetection:0})}return Je})(),Bt=(()=>{class Je{static#e=this.\u0275fac=function(rt){return new(rt||Je)};static#t=this.\u0275mod=w.oAB({type:Je});static#n=this.\u0275inj=w.cJS({providers:[V],imports:[l.ez,n.U8,E.Ng,E.BQ,Q.ZD,H.lN,E.Ng,E.BQ]})}return Je})()},2599:(_t,Me,p)=>{p.d(Me,{Rr:()=>Le,rP:()=>oe});var n=p(5879),l=p(6223),w=p(4300),E=p(3680),H=p(2495),Q=p(6814);const ne=["switch"];function we(N,Ce){1&N&&(n.TgZ(0,"div",12),n.O4$(),n.TgZ(1,"svg",13),n._UZ(2,"path",14),n.qZA(),n.TgZ(3,"svg",15),n._UZ(4,"path",16),n.qZA()())}const ie=["*"],J=new n.OlP("mat-slide-toggle-default-options",{providedIn:"root",factory:()=>({disableToggleValue:!1,hideIcon:!1})}),xe={provide:l.JU,useExisting:(0,n.Gpc)(()=>Le),multi:!0};class fe{constructor(Ce,K){this.source=Ce,this.checked=K}}let ce=0;const De=(0,E.sb)((0,E.pj)((0,E.Kr)((0,E.Id)(class{constructor(N){this._elementRef=N}}))));let Ae=(()=>{class N extends De{get required(){return this._required}set required(K){this._required=(0,H.Ig)(K)}get checked(){return this._checked}set checked(K){this._checked=(0,H.Ig)(K),this._changeDetectorRef.markForCheck()}get hideIcon(){return this._hideIcon}set hideIcon(K){this._hideIcon=(0,H.Ig)(K)}get inputId(){return`${this.id||this._uniqueId}-input`}constructor(K,ve,ye,He,ft,ct,xt){super(K),this._focusMonitor=ve,this._changeDetectorRef=ye,this.defaults=ft,this._onChange=Ut=>{},this._onTouched=()=>{},this._required=!1,this._checked=!1,this.name=null,this.labelPosition="after",this.ariaLabel=null,this.ariaLabelledby=null,this._hideIcon=!1,this.change=new n.vpe,this.toggleChange=new n.vpe,this.tabIndex=parseInt(He)||0,this.color=this.defaultColor=ft.color||"accent",this._noopAnimations="NoopAnimations"===ct,this.id=this._uniqueId=`${xt}${++ce}`,this._hideIcon=ft.hideIcon??!1}ngAfterContentInit(){this._focusMonitor.monitor(this._elementRef,!0).subscribe(K=>{"keyboard"===K||"program"===K?(this._focused=!0,this._changeDetectorRef.markForCheck()):K||Promise.resolve().then(()=>{this._focused=!1,this._onTouched(),this._changeDetectorRef.markForCheck()})})}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef)}writeValue(K){this.checked=!!K}registerOnChange(K){this._onChange=K}registerOnTouched(K){this._onTouched=K}setDisabledState(K){this.disabled=K,this._changeDetectorRef.markForCheck()}toggle(){this.checked=!this.checked,this._onChange(this.checked)}_emitChangeEvent(){this._onChange(this.checked),this.change.emit(this._createChangeEvent(this.checked))}static#e=this.\u0275fac=function(ve){n.$Z()};static#t=this.\u0275dir=n.lG2({type:N,inputs:{name:"name",id:"id",labelPosition:"labelPosition",ariaLabel:["aria-label","ariaLabel"],ariaLabelledby:["aria-labelledby","ariaLabelledby"],ariaDescribedby:["aria-describedby","ariaDescribedby"],required:"required",checked:"checked",hideIcon:"hideIcon"},outputs:{change:"change",toggleChange:"toggleChange"},features:[n.qOj]})}return N})(),Le=(()=>{class N extends Ae{get buttonId(){return`${this.id||this._uniqueId}-button`}constructor(K,ve,ye,He,ft,ct){super(K,ve,ye,He,ft,ct,"mat-mdc-slide-toggle-"),this._labelId=this._uniqueId+"-label"}_handleClick(){this.toggleChange.emit(),this.defaults.disableToggleValue||(this.checked=!this.checked,this._onChange(this.checked),this.change.emit(new fe(this,this.checked)))}focus(){this._switchElement.nativeElement.focus()}_createChangeEvent(K){return new fe(this,K)}_getAriaLabelledBy(){return this.ariaLabelledby?this.ariaLabelledby:this.ariaLabel?null:this._labelId}static#e=this.\u0275fac=function(ve){return new(ve||N)(n.Y36(n.SBq),n.Y36(w.tE),n.Y36(n.sBO),n.$8M("tabindex"),n.Y36(J),n.Y36(n.QbO,8))};static#t=this.\u0275cmp=n.Xpm({type:N,selectors:[["mat-slide-toggle"]],viewQuery:function(ve,ye){if(1&ve&&n.Gf(ne,5),2&ve){let He;n.iGM(He=n.CRH())&&(ye._switchElement=He.first)}},hostAttrs:[1,"mat-mdc-slide-toggle"],hostVars:11,hostBindings:function(ve,ye){2&ve&&(n.Ikx("id",ye.id),n.uIk("tabindex",null)("aria-label",null)("name",null)("aria-labelledby",null),n.ekj("mat-mdc-slide-toggle-focused",ye._focused)("mat-mdc-slide-toggle-checked",ye.checked)("_mat-animation-noopable",ye._noopAnimations))},inputs:{disabled:"disabled",disableRipple:"disableRipple",color:"color",tabIndex:"tabIndex"},exportAs:["matSlideToggle"],features:[n._Bn([xe]),n.qOj],ngContentSelectors:ie,decls:13,vars:25,consts:[[1,"mdc-form-field"],["role","switch","type","button",1,"mdc-switch",3,"tabIndex","disabled","click"],["switch",""],[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"],["class","mdc-switch__icons",4,"ngIf"],[1,"mdc-label",3,"for","click"],[1,"mdc-switch__icons"],["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(ve,ye){if(1&ve&&(n.F$t(),n.TgZ(0,"div",0)(1,"button",1,2),n.NdJ("click",function(){return ye._handleClick()}),n._UZ(3,"div",3),n.TgZ(4,"div",4)(5,"div",5)(6,"div",6),n._UZ(7,"div",7),n.qZA(),n.TgZ(8,"div",8),n._UZ(9,"div",9),n.qZA(),n.YNc(10,we,5,0,"div",10),n.qZA()()(),n.TgZ(11,"label",11),n.NdJ("click",function(ft){return ft.stopPropagation()}),n.Hsn(12),n.qZA()()),2&ve){const He=n.MAs(2);n.ekj("mdc-form-field--align-end","before"==ye.labelPosition),n.xp6(1),n.ekj("mdc-switch--selected",ye.checked)("mdc-switch--unselected",!ye.checked)("mdc-switch--checked",ye.checked)("mdc-switch--disabled",ye.disabled),n.Q6J("tabIndex",ye.tabIndex)("disabled",ye.disabled),n.uIk("id",ye.buttonId)("name",ye.name)("aria-label",ye.ariaLabel)("aria-labelledby",ye._getAriaLabelledBy())("aria-describedby",ye.ariaDescribedby)("aria-required",ye.required||null)("aria-checked",ye.checked),n.xp6(8),n.Q6J("matRippleTrigger",He)("matRippleDisabled",ye.disableRipple||ye.disabled)("matRippleCentered",!0),n.xp6(1),n.Q6J("ngIf",!ye.hideIcon),n.xp6(1),n.Q6J("for",ye.buttonId),n.uIk("id",ye._labelId)}},dependencies:[E.wG,Q.O5],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}.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)}.mdc-switch{width:var(--mdc-switch-track-width);--mdc-switch-disabled-handle-opacity:0.38;--mdc-switch-disabled-selected-icon-opacity:0.38;--mdc-switch-disabled-track-opacity:0.12;--mdc-switch-disabled-unselected-icon-opacity:0.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-state-layer-size:40px;--mdc-switch-selected-focus-state-layer-opacity:0.12;--mdc-switch-selected-hover-state-layer-opacity:0.04;--mdc-switch-selected-pressed-state-layer-opacity:0.1;--mdc-switch-unselected-focus-state-layer-opacity:0.12;--mdc-switch-unselected-hover-state-layer-opacity:0.04;--mdc-switch-unselected-pressed-state-layer-opacity:0.1}.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:disabled .mdc-switch__handle::after{opacity:var(--mdc-switch-disabled-handle-opacity)}.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 .mdc-label{font-family:var(--mat-slide-toggle-label-text-font);font-size:var(--mat-slide-toggle-label-text-size);letter-spacing:var(--mat-slide-toggle-label-text-tracking);line-height:var(--mat-slide-toggle-label-text-line-height);font-weight:var(--mat-slide-toggle-label-text-weight)}.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:opacity 75ms 0ms 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}'],encapsulation:2,changeDetection:0})}return N})(),ze=(()=>{class N{static#e=this.\u0275fac=function(ve){return new(ve||N)};static#t=this.\u0275mod=n.oAB({type:N});static#n=this.\u0275inj=n.cJS({})}return N})(),oe=(()=>{class N{static#e=this.\u0275fac=function(ve){return new(ve||N)};static#t=this.\u0275mod=n.oAB({type:N});static#n=this.\u0275inj=n.cJS({imports:[ze,E.BQ,E.si,Q.ez,ze,E.BQ]})}return N})()},2202:(_t,Me,p)=>{p.d(Me,{$5:()=>Ut,KP:()=>sn,f9:()=>It,pH:()=>ye});var n=p(9388),l=p(2495),w=p(2831),E=p(5879),H=p(3680),Q=p(6814),ne=p(6223),we=p(8645);const ie=["knob"],J=["valueIndicatorContainer"];function xe(Xe,At){if(1&Xe&&(E.TgZ(0,"div",4,5)(2,"div",6)(3,"span",7),E._uU(4),E.qZA()()()),2&Xe){const Y=E.oxw();E.xp6(4),E.Oqu(Y.valueIndicatorText)}}const fe=["trackActive"];function ce(Xe,At){if(1&Xe&&E._UZ(0,"div"),2&Xe){const Y=At.$implicit,P=At.index,ae=E.oxw(3);E.Tol(0===Y?"mdc-slider__tick-mark--active":"mdc-slider__tick-mark--inactive"),E.Udp("transform",ae._calcTickMarkTransform(P))}}function De(Xe,At){if(1&Xe&&(E.ynx(0),E.YNc(1,ce,1,4,"div",11),E.BQk()),2&Xe){const Y=E.oxw(2);E.xp6(1),E.Q6J("ngForOf",Y._tickMarks)}}function Ae(Xe,At){if(1&Xe&&(E.TgZ(0,"div",8,9),E.YNc(2,De,2,1,"ng-container",10),E.qZA()),2&Xe){const Y=E.oxw();E.xp6(2),E.Q6J("ngIf",Y._cachedWidth)}}function Le(Xe,At){if(1&Xe&&E._UZ(0,"mat-slider-visual-thumb",7),2&Xe){const Y=E.oxw();E.Q6J("discrete",Y.discrete)("thumbPosition",1)("valueIndicatorText",Y.startValueIndicatorText)}}const se=["*"],ue=new E.OlP("_MatSlider"),ze=new E.OlP("_MatSliderThumb"),oe=new E.OlP("_MatSliderRangeThumb"),N=new E.OlP("_MatSliderVisualThumb");let K=(()=>{class Xe{constructor(Y,P,ae,B){this._cdr=Y,this._ngZone=P,this._slider=B,this._isHovered=!1,this._isActive=!1,this._isValueIndicatorVisible=!1,this._onPointerMove=Se=>{if(this._sliderInput._isFocused)return;const L=this._hostElement.getBoundingClientRect(),V=this._slider._isCursorOnSliderThumb(Se,L);this._isHovered=V,V?this._showHoverRipple():this._hideRipple(this._hoverRippleRef)},this._onMouseLeave=()=>{this._isHovered=!1,this._hideRipple(this._hoverRippleRef)},this._onFocus=()=>{this._hideRipple(this._hoverRippleRef),this._showFocusRipple(),this._hostElement.classList.add("mdc-slider__thumb--focused")},this._onBlur=()=>{this._isActive||this._hideRipple(this._focusRippleRef),this._isHovered&&this._showHoverRipple(),this._hostElement.classList.remove("mdc-slider__thumb--focused")},this._onDragStart=Se=>{0===Se.button&&(this._isActive=!0,this._showActiveRipple())},this._onDragEnd=()=>{this._isActive=!1,this._hideRipple(this._activeRippleRef),this._sliderInput._isFocused||this._hideRipple(this._focusRippleRef)},this._hostElement=ae.nativeElement}ngAfterViewInit(){this._ripple.radius=24,this._sliderInput=this._slider._getInput(this.thumbPosition),this._sliderInputEl=this._sliderInput._hostElement;const Y=this._sliderInputEl;this._ngZone.runOutsideAngular(()=>{Y.addEventListener("pointermove",this._onPointerMove),Y.addEventListener("pointerdown",this._onDragStart),Y.addEventListener("pointerup",this._onDragEnd),Y.addEventListener("pointerleave",this._onMouseLeave),Y.addEventListener("focus",this._onFocus),Y.addEventListener("blur",this._onBlur)})}ngOnDestroy(){const Y=this._sliderInputEl;Y.removeEventListener("pointermove",this._onPointerMove),Y.removeEventListener("pointerdown",this._onDragStart),Y.removeEventListener("pointerup",this._onDragEnd),Y.removeEventListener("pointerleave",this._onMouseLeave),Y.removeEventListener("focus",this._onFocus),Y.removeEventListener("blur",this._onBlur)}_showHoverRipple(){this._isShowingRipple(this._hoverRippleRef)||(this._hoverRippleRef=this._showRipple({enterDuration:0,exitDuration:0}),this._hoverRippleRef?.element.classList.add("mat-mdc-slider-hover-ripple"))}_showFocusRipple(){this._isShowingRipple(this._focusRippleRef)||(this._focusRippleRef=this._showRipple({enterDuration:0,exitDuration:0},!0),this._focusRippleRef?.element.classList.add("mat-mdc-slider-focus-ripple"))}_showActiveRipple(){this._isShowingRipple(this._activeRippleRef)||(this._activeRippleRef=this._showRipple({enterDuration:225,exitDuration:400}),this._activeRippleRef?.element.classList.add("mat-mdc-slider-active-ripple"))}_isShowingRipple(Y){return 0===Y?.state||1===Y?.state}_showRipple(Y,P){if(!this._slider.disabled&&(this._showValueIndicator(),this._slider._isRange&&this._slider._getThumb(1===this.thumbPosition?2:1)._showValueIndicator(),!this._slider._globalRippleOptions?.disabled||P))return this._ripple.launch({animation:this._slider._noopAnimations?{enterDuration:0,exitDuration:0}:Y,centered:!0,persistent:!0})}_hideRipple(Y){if(Y?.fadeOut(),this._isShowingAnyRipple())return;this._slider._isRange||this._hideValueIndicator();const P=this._getSibling();P._isShowingAnyRipple()||(this._hideValueIndicator(),P._hideValueIndicator())}_showValueIndicator(){this._hostElement.classList.add("mdc-slider__thumb--with-indicator")}_hideValueIndicator(){this._hostElement.classList.remove("mdc-slider__thumb--with-indicator")}_getSibling(){return this._slider._getThumb(1===this.thumbPosition?2:1)}_getValueIndicatorContainer(){return this._valueIndicatorContainer?.nativeElement}_getKnob(){return this._knob.nativeElement}_isShowingAnyRipple(){return this._isShowingRipple(this._hoverRippleRef)||this._isShowingRipple(this._focusRippleRef)||this._isShowingRipple(this._activeRippleRef)}static#e=this.\u0275fac=function(P){return new(P||Xe)(E.Y36(E.sBO),E.Y36(E.R0b),E.Y36(E.SBq),E.Y36(ue))};static#t=this.\u0275cmp=E.Xpm({type:Xe,selectors:[["mat-slider-visual-thumb"]],viewQuery:function(P,ae){if(1&P&&(E.Gf(H.wG,5),E.Gf(ie,5),E.Gf(J,5)),2&P){let B;E.iGM(B=E.CRH())&&(ae._ripple=B.first),E.iGM(B=E.CRH())&&(ae._knob=B.first),E.iGM(B=E.CRH())&&(ae._valueIndicatorContainer=B.first)}},hostAttrs:[1,"mdc-slider__thumb","mat-mdc-slider-visual-thumb"],inputs:{discrete:"discrete",thumbPosition:"thumbPosition",valueIndicatorText:"valueIndicatorText"},features:[E._Bn([{provide:N,useExisting:Xe}])],decls:4,vars:2,consts:[["class","mdc-slider__value-indicator-container",4,"ngIf"],[1,"mdc-slider__thumb-knob"],["knob",""],["matRipple","",1,"mat-mdc-focus-indicator",3,"matRippleDisabled"],[1,"mdc-slider__value-indicator-container"],["valueIndicatorContainer",""],[1,"mdc-slider__value-indicator"],[1,"mdc-slider__value-indicator-text"]],template:function(P,ae){1&P&&(E.YNc(0,xe,5,1,"div",0),E._UZ(1,"div",1,2)(3,"div",3)),2&P&&(E.Q6J("ngIf",ae.discrete),E.xp6(3),E.Q6J("matRippleDisabled",!0))},dependencies:[Q.O5,H.wG],styles:[".mat-mdc-slider-visual-thumb .mat-ripple{height:100%;width:100%}.mat-mdc-slider .mdc-slider__tick-marks{justify-content:start}.mat-mdc-slider .mdc-slider__tick-marks .mdc-slider__tick-mark--active,.mat-mdc-slider .mdc-slider__tick-marks .mdc-slider__tick-mark--inactive{position:absolute;left:2px}"],encapsulation:2,changeDetection:0})}return Xe})();const ve=(0,H.pj)((0,H.Kr)(class{constructor(Xe){this._elementRef=Xe}}),"primary");let ye=(()=>{class Xe extends ve{get disabled(){return this._disabled}set disabled(Y){this._disabled=(0,l.Ig)(Y);const P=this._getInput(2),ae=this._getInput(1);P&&(P.disabled=this._disabled),ae&&(ae.disabled=this._disabled)}get discrete(){return this._discrete}set discrete(Y){this._discrete=(0,l.Ig)(Y),this._updateValueIndicatorUIs()}get showTickMarks(){return this._showTickMarks}set showTickMarks(Y){this._showTickMarks=(0,l.Ig)(Y)}get min(){return this._min}set min(Y){const P=(0,l.su)(Y,this._min);this._min!==P&&this._updateMin(P)}_updateMin(Y){const P=this._min;this._min=Y,this._isRange?this._updateMinRange({old:P,new:Y}):this._updateMinNonRange(Y),this._onMinMaxOrStepChange()}_updateMinRange(Y){const P=this._getInput(2),ae=this._getInput(1),B=P.value,Se=ae.value;ae.min=Y.new,P.min=Math.max(Y.new,ae.value),ae.max=Math.min(P.max,P.value),ae._updateWidthInactive(),P._updateWidthInactive(),Y.newY.old?this._onTranslateXChangeBySideEffect(ae,P):this._onTranslateXChangeBySideEffect(P,ae),B!==P.value&&this._onValueChange(P),Se!==ae.value&&this._onValueChange(ae)}_updateMaxNonRange(Y){const P=this._getInput(2);if(P){const ae=P.value;P.max=Y,P._updateThumbUIByValue(),this._updateTrackUI(P),ae!==P.value&&this._onValueChange(P)}}get step(){return this._step}set step(Y){const P=(0,l.su)(Y,this._step);this._step!==P&&this._updateStep(P)}_updateStep(Y){this._step=Y,this._isRange?this._updateStepRange():this._updateStepNonRange(),this._onMinMaxOrStepChange()}_updateStepRange(){const Y=this._getInput(2),P=this._getInput(1),ae=Y.value,B=P.value,Se=P.value;Y.min=this._min,P.max=this._max,Y.step=this._step,P.step=this._step,this._platform.SAFARI&&(Y.value=Y.value,P.value=P.value),Y.min=Math.max(this._min,P.value),P.max=Math.min(this._max,Y.value),P._updateWidthInactive(),Y._updateWidthInactive(),Y.value`${V}`,this._rippleRadius=24,this.startValueIndicatorText="",this.endValueIndicatorText="",this._isRange=!1,this._isRtl=!1,this._hasViewInitialized=!1,this._tickMarkTrackWidth=0,this._hasAnimation=!1,this._resizeTimer=null,this._platform=(0,E.f3M)(w.t4),this._knobRadius=8,this._thumbsOverlap=!1,this._noopAnimations="NoopAnimations"===L,this._dirChangeSubscription=this._dir.change.subscribe(()=>this._onDirChange()),this._isRtl="rtl"===this._dir.value}ngAfterViewInit(){this._platform.isBrowser&&this._updateDimensions();const Y=this._getInput(2),P=this._getInput(1);this._isRange=!!Y&&!!P,this._cdr.detectChanges();const ae=this._getThumb(2);this._rippleRadius=ae._ripple.radius,this._inputPadding=this._rippleRadius-this._knobRadius,this._inputOffset=this._knobRadius,this._isRange?this._initUIRange(Y,P):this._initUINonRange(Y),this._updateTrackUI(Y),this._updateTickMarkUI(),this._updateTickMarkTrackUI(),this._observeHostResize(),this._cdr.detectChanges()}_initUINonRange(Y){Y.initProps(),Y.initUI(),this._updateValueIndicatorUI(Y),this._hasViewInitialized=!0,Y._updateThumbUIByValue()}_initUIRange(Y,P){Y.initProps(),Y.initUI(),P.initProps(),P.initUI(),Y._updateMinMax(),P._updateMinMax(),Y._updateStaticStyles(),P._updateStaticStyles(),this._updateValueIndicatorUIs(),this._hasViewInitialized=!0,Y._updateThumbUIByValue(),P._updateThumbUIByValue()}ngOnDestroy(){this._dirChangeSubscription.unsubscribe(),this._resizeObserver?.disconnect(),this._resizeObserver=null}_onDirChange(){this._isRtl="rtl"===this._dir.value,this._isRange?this._onDirChangeRange():this._onDirChangeNonRange(),this._updateTickMarkUI()}_onDirChangeRange(){const Y=this._getInput(2),P=this._getInput(1);Y._setIsLeftThumb(),P._setIsLeftThumb(),Y.translateX=Y._calcTranslateXByValue(),P.translateX=P._calcTranslateXByValue(),Y._updateStaticStyles(),P._updateStaticStyles(),Y._updateWidthInactive(),P._updateWidthInactive(),Y._updateThumbUIByValue(),P._updateThumbUIByValue()}_onDirChangeNonRange(){this._getInput(2)._updateThumbUIByValue()}_observeHostResize(){typeof ResizeObserver>"u"||!ResizeObserver||this._ngZone.runOutsideAngular(()=>{this._resizeObserver=new ResizeObserver(()=>{this._isActive()||(this._resizeTimer&&clearTimeout(this._resizeTimer),this._onResize())}),this._resizeObserver.observe(this._elementRef.nativeElement)})}_isActive(){return this._getThumb(1)._isActive||this._getThumb(2)._isActive}_getValue(Y=2){const P=this._getInput(Y);return P?P.value:this.min}_skipUpdate(){return!(!this._getInput(1)?._skipUIUpdate&&!this._getInput(2)?._skipUIUpdate)}_updateDimensions(){this._cachedWidth=this._elementRef.nativeElement.offsetWidth,this._cachedLeft=this._elementRef.nativeElement.getBoundingClientRect().left}_setTrackActiveStyles(Y){const P=this._trackActive.nativeElement.style;P.left=Y.left,P.right=Y.right,P.transformOrigin=Y.transformOrigin,P.transform=Y.transform}_calcTickMarkTransform(Y){return`translateX(${Y*(this._tickMarkTrackWidth/(this._tickMarks.length-1))}px`}_onTranslateXChange(Y){this._hasViewInitialized&&(this._updateThumbUI(Y),this._updateTrackUI(Y),this._updateOverlappingThumbUI(Y))}_onTranslateXChangeBySideEffect(Y,P){this._hasViewInitialized&&(Y._updateThumbUIByValue(),P._updateThumbUIByValue())}_onValueChange(Y){this._hasViewInitialized&&(this._updateValueIndicatorUI(Y),this._updateTickMarkUI(),this._cdr.detectChanges())}_onMinMaxOrStepChange(){this._hasViewInitialized&&(this._updateTickMarkUI(),this._updateTickMarkTrackUI(),this._cdr.markForCheck())}_onResize(){if(this._hasViewInitialized){if(this._updateDimensions(),this._isRange){const Y=this._getInput(2),P=this._getInput(1);Y._updateThumbUIByValue(),P._updateThumbUIByValue(),Y._updateStaticStyles(),P._updateStaticStyles(),Y._updateMinMax(),P._updateMinMax(),Y._updateWidthInactive(),P._updateWidthInactive()}else{const Y=this._getInput(2);Y&&Y._updateThumbUIByValue()}this._updateTickMarkUI(),this._updateTickMarkTrackUI(),this._cdr.detectChanges()}}_areThumbsOverlapping(){const Y=this._getInput(1),P=this._getInput(2);return!(!Y||!P)&&P.translateX-Y.translateX<20}_updateOverlappingThumbClassNames(Y){const P=Y.getSibling(),ae=this._getThumb(Y.thumbPosition);this._getThumb(P.thumbPosition)._hostElement.classList.remove("mdc-slider__thumb--top"),ae._hostElement.classList.toggle("mdc-slider__thumb--top",this._thumbsOverlap)}_updateOverlappingThumbUI(Y){!this._isRange||this._skipUpdate()||this._thumbsOverlap!==this._areThumbsOverlapping()&&(this._thumbsOverlap=!this._thumbsOverlap,this._updateOverlappingThumbClassNames(Y))}_updateThumbUI(Y){this._skipUpdate()||(this._getThumb(2===Y.thumbPosition?2:1)._hostElement.style.transform=`translateX(${Y.translateX}px)`)}_updateValueIndicatorUI(Y){if(this._skipUpdate())return;const P=this.displayWith(Y.value);if(this._hasViewInitialized?Y._valuetext=P:Y._hostElement.setAttribute("aria-valuetext",P),this.discrete){1===Y.thumbPosition?this.startValueIndicatorText=P:this.endValueIndicatorText=P;const ae=this._getThumb(Y.thumbPosition);P.length<3?ae._hostElement.classList.add("mdc-slider__thumb--short-value"):ae._hostElement.classList.remove("mdc-slider__thumb--short-value")}}_updateValueIndicatorUIs(){const Y=this._getInput(2),P=this._getInput(1);Y&&this._updateValueIndicatorUI(Y),P&&this._updateValueIndicatorUI(P)}_updateTickMarkTrackUI(){if(!this.showTickMarks||this._skipUpdate())return;const Y=this._step&&this._step>0?this._step:1,ae=(Math.floor(this.max/Y)*Y-this.min)/(this.max-this.min);this._tickMarkTrackWidth=this._cachedWidth*ae-6}_updateTrackUI(Y){this._skipUpdate()||(this._isRange?this._updateTrackUIRange(Y):this._updateTrackUINonRange(Y))}_updateTrackUIRange(Y){const P=Y.getSibling();if(!P||!this._cachedWidth)return;const ae=Math.abs(P.translateX-Y.translateX)/this._cachedWidth;this._setTrackActiveStyles(Y._isLeftThumb&&this._cachedWidth?{left:"auto",right:this._cachedWidth-P.translateX+"px",transformOrigin:"right",transform:`scaleX(${ae})`}:{left:`${P.translateX}px`,right:"auto",transformOrigin:"left",transform:`scaleX(${ae})`})}_updateTrackUINonRange(Y){this._setTrackActiveStyles(this._isRtl?{left:"auto",right:"0px",transformOrigin:"right",transform:`scaleX(${1-Y.fillPercentage})`}:{left:"0px",right:"auto",transformOrigin:"left",transform:`scaleX(${Y.fillPercentage})`})}_updateTickMarkUI(){if(!this.showTickMarks||void 0===this.step||void 0===this.min||void 0===this.max)return;const Y=this.step>0?this.step:1;this._isRange?this._updateTickMarkUIRange(Y):this._updateTickMarkUINonRange(Y),this._isRtl&&this._tickMarks.reverse()}_updateTickMarkUINonRange(Y){const P=this._getValue();let ae=Math.max(Math.round((P-this.min)/Y),0),B=Math.max(Math.round((this.max-P)/Y),0);this._isRtl?ae++:B++,this._tickMarks=Array(ae).fill(0).concat(Array(B).fill(1))}_updateTickMarkUIRange(Y){const P=this._getValue(),ae=this._getValue(1),B=Math.max(Math.floor((ae-this.min)/Y),0),Se=Math.max(Math.floor((P-ae)/Y)+1,0),L=Math.max(Math.floor((this.max-P)/Y),0);this._tickMarks=Array(B).fill(1).concat(Array(Se).fill(0),Array(L).fill(1))}_getInput(Y){return 2===Y&&this._input?this._input:this._inputs?.length?1===Y?this._inputs.first:this._inputs.last:void 0}_getThumb(Y){return 2===Y?this._thumbs?.last:this._thumbs?.first}_setTransition(Y){this._hasAnimation=!this._platform.IOS&&Y&&!this._noopAnimations,this._elementRef.nativeElement.classList.toggle("mat-mdc-slider-with-animation",this._hasAnimation)}_isCursorOnSliderThumb(Y,P){const ae=P.width/2,V=Y.clientY-(P.y+ae);return Math.pow(Y.clientX-(P.x+ae),2)+Math.pow(V,2)Ut),multi:!0},xt={provide:ne.JU,useExisting:(0,E.Gpc)(()=>It),multi:!0};let Ut=(()=>{class Xe{get value(){return(0,l.su)(this._hostElement.value)}set value(Y){const P=(0,l.su)(Y).toString();this._hasSetInitialValue?this._isActive||(this._hostElement.value=P,this._updateThumbUIByValue(),this._slider._onValueChange(this),this._cdr.detectChanges(),this._slider._cdr.markForCheck()):this._initialValue=P}get translateX(){return this._slider.min>=this._slider.max?(this._translateX=0,this._translateX):(void 0===this._translateX&&(this._translateX=this._calcTranslateXByValue()),this._translateX)}set translateX(Y){this._translateX=Y}get min(){return(0,l.su)(this._hostElement.min)}set min(Y){this._hostElement.min=(0,l.su)(Y).toString(),this._cdr.detectChanges()}get max(){return(0,l.su)(this._hostElement.max)}set max(Y){this._hostElement.max=(0,l.su)(Y).toString(),this._cdr.detectChanges()}get step(){return(0,l.su)(this._hostElement.step)}set step(Y){this._hostElement.step=(0,l.su)(Y).toString(),this._cdr.detectChanges()}get disabled(){return(0,l.Ig)(this._hostElement.disabled)}set disabled(Y){this._hostElement.disabled=(0,l.Ig)(Y),this._cdr.detectChanges(),this._slider.disabled!==this.disabled&&(this._slider.disabled=this.disabled)}get percentage(){return this._slider.min>=this._slider.max?this._slider._isRtl?1:0:(this.value-this._slider.min)/(this._slider.max-this._slider.min)}get fillPercentage(){return this._slider._cachedWidth?0===this._translateX?0:this.translateX/this._slider._cachedWidth:this._slider._isRtl?1:0}_setIsFocused(Y){this._isFocused=Y}constructor(Y,P,ae,B){this._ngZone=Y,this._elementRef=P,this._cdr=ae,this._slider=B,this.valueChange=new E.vpe,this.dragStart=new E.vpe,this.dragEnd=new E.vpe,this.thumbPosition=2,this._knobRadius=8,this._isActive=!1,this._isFocused=!1,this._hasSetInitialValue=!1,this._destroyed=new we.x,this._skipUIUpdate=!1,this._onTouchedFn=()=>{},this._isControlInitialized=!1,this._platform=(0,E.f3M)(w.t4),this._hostElement=P.nativeElement,this._ngZone.runOutsideAngular(()=>{this._hostElement.addEventListener("pointerdown",this._onPointerDown.bind(this)),this._hostElement.addEventListener("pointermove",this._onPointerMove.bind(this)),this._hostElement.addEventListener("pointerup",this._onPointerUp.bind(this))})}ngOnDestroy(){this._hostElement.removeEventListener("pointerdown",this._onPointerDown),this._hostElement.removeEventListener("pointermove",this._onPointerMove),this._hostElement.removeEventListener("pointerup",this._onPointerUp),this._destroyed.next(),this._destroyed.complete(),this.dragStart.complete(),this.dragEnd.complete()}initProps(){this._updateWidthInactive(),this.disabled!==this._slider.disabled&&(this._slider.disabled=!0),this.step=this._slider.step,this.min=this._slider.min,this.max=this._slider.max,this._initValue()}initUI(){this._updateThumbUIByValue()}_initValue(){this._hasSetInitialValue=!0,void 0===this._initialValue?this.value=this._getDefaultValue():(this._hostElement.value=this._initialValue,this._updateThumbUIByValue(),this._slider._onValueChange(this),this._cdr.detectChanges())}_getDefaultValue(){return this.min}_onBlur(){this._setIsFocused(!1),this._onTouchedFn()}_onFocus(){this._setIsFocused(!0)}_onChange(){this.valueChange.emit(this.value),this._isActive&&this._updateThumbUIByValue({withAnimation:!0})}_onInput(){this._onChangeFn?.(this.value),(this._slider.step||!this._isActive)&&this._updateThumbUIByValue({withAnimation:!0}),this._slider._onValueChange(this)}_onNgControlValueChange(){(!this._isActive||!this._isFocused)&&(this._slider._onValueChange(this),this._updateThumbUIByValue()),this._slider.disabled=this._formControl.disabled}_onPointerDown(Y){if(!this.disabled&&0===Y.button){if(this._platform.IOS){const P=this._slider._isCursorOnSliderThumb(Y,this._slider._getThumb(this.thumbPosition)._hostElement.getBoundingClientRect());return this._isActive=P,this._updateWidthActive(),void this._slider._updateDimensions()}this._isActive=!0,this._setIsFocused(!0),this._updateWidthActive(),this._slider._updateDimensions(),this._slider.step||this._updateThumbUIByPointerEvent(Y,{withAnimation:!0}),this.disabled||(this._handleValueCorrection(Y),this.dragStart.emit({source:this,parent:this._slider,value:this.value}))}}_handleValueCorrection(Y){this._skipUIUpdate=!0,setTimeout(()=>{this._skipUIUpdate=!1,this._fixValue(Y)},0)}_fixValue(Y){const P=Y.clientX-this._slider._cachedLeft,ae=this._slider._cachedWidth,B=0===this._slider.step?1:this._slider.step,Se=Math.floor((this._slider.max-this._slider.min)/B),Pe=Math.round((this._slider._isRtl?1-P/ae:P/ae)*Se)/Se*(this._slider.max-this._slider.min)+this._slider.min,re=Math.round(Pe/B)*B;if(re===this.value)return this._slider._onValueChange(this),void(this._slider.step>0?this._updateThumbUIByValue():this._updateThumbUIByPointerEvent(Y,{withAnimation:this._slider._hasAnimation}));this.value=re,this.valueChange.emit(this.value),this._onChangeFn?.(this.value),this._slider._onValueChange(this),this._slider.step>0?this._updateThumbUIByValue():this._updateThumbUIByPointerEvent(Y,{withAnimation:this._slider._hasAnimation})}_onPointerMove(Y){!this._slider.step&&this._isActive&&this._updateThumbUIByPointerEvent(Y)}_onPointerUp(){this._isActive&&(this._isActive=!1,this.dragEnd.emit({source:this,parent:this._slider,value:this.value}),setTimeout(()=>this._updateWidthInactive(),this._platform.IOS?10:0))}_clamp(Y){return Math.max(Math.min(Y,this._slider._cachedWidth),0)}_calcTranslateXByValue(){return this._slider._isRtl?(1-this.percentage)*this._slider._cachedWidth:this.percentage*this._slider._cachedWidth}_calcTranslateXByPointerEvent(Y){return Y.clientX-this._slider._cachedLeft}_updateWidthActive(){this._hostElement.style.padding=`0 ${this._slider._inputPadding}px`,this._hostElement.style.width=`calc(100% + ${this._slider._inputPadding}px)`}_updateWidthInactive(){this._hostElement.style.padding="0px",this._hostElement.style.width="calc(100% + 48px)",this._hostElement.style.left="-24px"}_updateThumbUIByValue(Y){this.translateX=this._clamp(this._calcTranslateXByValue()),this._updateThumbUI(Y)}_updateThumbUIByPointerEvent(Y,P){this.translateX=this._clamp(this._calcTranslateXByPointerEvent(Y)),this._updateThumbUI(P)}_updateThumbUI(Y){this._slider._setTransition(!!Y?.withAnimation),this._slider._onTranslateXChange(this)}writeValue(Y){(this._isControlInitialized||null!==Y)&&(this.value=Y)}registerOnChange(Y){this._onChangeFn=Y,this._isControlInitialized=!0}registerOnTouched(Y){this._onTouchedFn=Y}setDisabledState(Y){this.disabled=Y}focus(){this._hostElement.focus()}blur(){this._hostElement.blur()}static#e=this.\u0275fac=function(P){return new(P||Xe)(E.Y36(E.R0b),E.Y36(E.SBq),E.Y36(E.sBO),E.Y36(ue))};static#t=this.\u0275dir=E.lG2({type:Xe,selectors:[["input","matSliderThumb",""]],hostAttrs:["type","range",1,"mdc-slider__input"],hostVars:1,hostBindings:function(P,ae){1&P&&E.NdJ("change",function(){return ae._onChange()})("input",function(){return ae._onInput()})("blur",function(){return ae._onBlur()})("focus",function(){return ae._onFocus()}),2&P&&E.uIk("aria-valuetext",ae._valuetext)},inputs:{value:"value"},outputs:{valueChange:"valueChange",dragStart:"dragStart",dragEnd:"dragEnd"},exportAs:["matSliderThumb"],features:[E._Bn([ct,{provide:ze,useExisting:Xe}])]})}return Xe})(),It=(()=>{class Xe extends Ut{getSibling(){return this._sibling||(this._sibling=this._slider._getInput(this._isEndThumb?1:2)),this._sibling}getMinPos(){const Y=this.getSibling();return!this._isLeftThumb&&Y?Y.translateX:0}getMaxPos(){const Y=this.getSibling();return this._isLeftThumb&&Y?Y.translateX:this._slider._cachedWidth}_setIsLeftThumb(){this._isLeftThumb=this._isEndThumb&&this._slider._isRtl||!this._isEndThumb&&!this._slider._isRtl}constructor(Y,P,ae,B){super(Y,ae,B,P),this._cdr=B,this._isEndThumb=this._hostElement.hasAttribute("matSliderEndThumb"),this._setIsLeftThumb(),this.thumbPosition=this._isEndThumb?2:1}_getDefaultValue(){return this._isEndThumb&&this._slider._isRange?this.max:this.min}_onInput(){super._onInput(),this._updateSibling(),this._isActive||this._updateWidthInactive()}_onNgControlValueChange(){super._onNgControlValueChange(),this.getSibling()?._updateMinMax()}_onPointerDown(Y){this.disabled||0!==Y.button||(this._sibling&&(this._sibling._updateWidthActive(),this._sibling._hostElement.classList.add("mat-mdc-slider-input-no-pointer-events")),super._onPointerDown(Y))}_onPointerUp(){super._onPointerUp(),this._sibling&&setTimeout(()=>{this._sibling._updateWidthInactive(),this._sibling._hostElement.classList.remove("mat-mdc-slider-input-no-pointer-events")})}_onPointerMove(Y){super._onPointerMove(Y),!this._slider.step&&this._isActive&&this._updateSibling()}_fixValue(Y){super._fixValue(Y),this._sibling?._updateMinMax()}_clamp(Y){return Math.max(Math.min(Y,this.getMaxPos()),this.getMinPos())}_updateMinMax(){const Y=this.getSibling();Y&&(this._isEndThumb?(this.min=Math.max(this._slider.min,Y.value),this.max=this._slider.max):(this.min=this._slider.min,this.max=Math.min(this._slider.max,Y.value)))}_updateWidthActive(){const Y=2*this._slider._rippleRadius-2*this._slider._inputPadding;this._hostElement.style.width=`${(this._slider._cachedWidth+this._slider._inputPadding-Y)*(this._slider.min{class Xe{static#e=this.\u0275fac=function(P){return new(P||Xe)};static#t=this.\u0275mod=E.oAB({type:Xe});static#n=this.\u0275inj=E.cJS({imports:[H.BQ,Q.ez,H.si]})}return Xe})()},4104:(_t,Me,p)=>{p.d(Me,{Nh:()=>Pt,SP:()=>G,Vc:()=>rt,uD:()=>tn,uX:()=>Kt});var n=p(6814),l=p(5879),w=p(3680),E=p(8484),H=p(7131),Q=p(4300),ne=p(9388),we=p(7394),ie=p(8645),J=p(2438),xe=p(2096),fe=p(3019),ce=p(6232),De=p(5592),Ae=p(4825),Le=p(7921),se=p(3997),ue=p(9773),ze=p(8180),oe=p(4664),N=p(836),Ce=p(2181),K=p(6825),ve=p(2495),ye=p(6672),He=p(2831),ft=p(6028);function ct(at,wt){}const xt=function(at){return{animationDuration:at}},Ut=function(at,wt){return{value:at,params:wt}};function It(at,wt){1&at&&l.Hsn(0)}const sn=["*"],Xe=["tabListContainer"],At=["tabList"],Y=["tabListInner"],P=["nextPaginator"],ae=["previousPaginator"],B=["tabBodyWrapper"],Se=["tabHeader"];function L(at,wt){}function V(at,wt){if(1&at&&l.YNc(0,L,0,0,"ng-template",14),2&at){const de=l.oxw().$implicit;l.Q6J("cdkPortalOutlet",de.templateLabel)}}function Pe(at,wt){if(1&at&&l._uU(0),2&at){const de=l.oxw().$implicit;l.Oqu(de.textLabel)}}function re(at,wt){if(1&at){const de=l.EpF();l.TgZ(0,"div",6,7),l.NdJ("click",function(){const Ke=l.CHM(de),Ee=Ke.$implicit,ge=Ke.index,Ve=l.oxw(),dt=l.MAs(1);return l.KtG(Ve._handleClick(Ee,dt,ge))})("cdkFocusChange",function(Ke){const ge=l.CHM(de).index,Ve=l.oxw();return l.KtG(Ve._tabFocusChanged(Ke,ge))}),l._UZ(2,"span",8)(3,"div",9),l.TgZ(4,"span",10)(5,"span",11),l.YNc(6,V,1,1,"ng-template",12),l.YNc(7,Pe,1,1,"ng-template",null,13,l.W1O),l.qZA()()()}if(2&at){const de=wt.$implicit,ke=wt.index,Ke=l.MAs(1),Ee=l.MAs(8),ge=l.oxw();l.ekj("mdc-tab--active",ge.selectedIndex===ke),l.Q6J("id",ge._getTabLabelId(ke))("ngClass",de.labelClass)("disabled",de.disabled)("fitInkBarToContent",ge.fitInkBarToContent),l.uIk("tabIndex",ge._getTabIndex(ke))("aria-posinset",ke+1)("aria-setsize",ge._tabs.length)("aria-controls",ge._getTabContentId(ke))("aria-selected",ge.selectedIndex===ke)("aria-label",de.ariaLabel||null)("aria-labelledby",!de.ariaLabel&&de.ariaLabelledby?de.ariaLabelledby:null),l.xp6(3),l.Q6J("matRippleTrigger",Ke)("matRippleDisabled",de.disabled||ge.disableRipple),l.xp6(3),l.Q6J("ngIf",de.templateLabel)("ngIfElse",Ee)}}function je(at,wt){if(1&at){const de=l.EpF();l.TgZ(0,"mat-tab-body",15),l.NdJ("_onCentered",function(){l.CHM(de);const Ke=l.oxw();return l.KtG(Ke._removeTabBodyWrapperHeight())})("_onCentering",function(Ke){l.CHM(de);const Ee=l.oxw();return l.KtG(Ee._setTabBodyWrapperHeight(Ke))}),l.qZA()}if(2&at){const de=wt.$implicit,ke=wt.index,Ke=l.oxw();l.ekj("mat-mdc-tab-body-active",Ke.selectedIndex===ke),l.Q6J("id",Ke._getTabContentId(ke))("ngClass",de.bodyClass)("content",de.content)("position",de.position)("origin",de.origin)("animationDuration",Ke.animationDuration)("preserveContent",Ke.preserveContent),l.uIk("tabindex",null!=Ke.contentTabIndex&&Ke.selectedIndex===ke?Ke.contentTabIndex:null)("aria-labelledby",Ke._getTabLabelId(ke))("aria-hidden",Ke.selectedIndex!==ke)}}const nt={translateTab:(0,K.X$)("translateTab",[(0,K.SB)("center, void, left-origin-center, right-origin-center",(0,K.oB)({transform:"none"})),(0,K.SB)("left",(0,K.oB)({transform:"translate3d(-100%, 0, 0)",minHeight:"1px",visibility:"hidden"})),(0,K.SB)("right",(0,K.oB)({transform:"translate3d(100%, 0, 0)",minHeight:"1px",visibility:"hidden"})),(0,K.eR)("* => left, * => right, left => center, right => center",(0,K.jt)("{{animationDuration}} cubic-bezier(0.35, 0, 0.25, 1)")),(0,K.eR)("void => left-origin-center",[(0,K.oB)({transform:"translate3d(-100%, 0, 0)",visibility:"hidden"}),(0,K.jt)("{{animationDuration}} cubic-bezier(0.35, 0, 0.25, 1)")]),(0,K.eR)("void => right-origin-center",[(0,K.oB)({transform:"translate3d(100%, 0, 0)",visibility:"hidden"}),(0,K.jt)("{{animationDuration}} cubic-bezier(0.35, 0, 0.25, 1)")])])};let Bt=(()=>{class at extends E.Pl{constructor(de,ke,Ke,Ee){super(de,ke,Ee),this._host=Ke,this._centeringSub=we.w0.EMPTY,this._leavingSub=we.w0.EMPTY}ngOnInit(){super.ngOnInit(),this._centeringSub=this._host._beforeCentering.pipe((0,Le.O)(this._host._isCenterPosition(this._host._position))).subscribe(de=>{de&&!this.hasAttached()&&this.attach(this._host._content)}),this._leavingSub=this._host._afterLeavingCenter.subscribe(()=>{this._host.preserveContent||this.detach()})}ngOnDestroy(){super.ngOnDestroy(),this._centeringSub.unsubscribe(),this._leavingSub.unsubscribe()}static#e=this.\u0275fac=function(ke){return new(ke||at)(l.Y36(l._Vd),l.Y36(l.s_b),l.Y36((0,l.Gpc)(()=>bt)),l.Y36(n.K0))};static#t=this.\u0275dir=l.lG2({type:at,selectors:[["","matTabBodyHost",""]],features:[l.qOj]})}return at})(),Je=(()=>{class at{set position(de){this._positionIndex=de,this._computePositionAnimationState()}constructor(de,ke,Ke){this._elementRef=de,this._dir=ke,this._dirChangeSubscription=we.w0.EMPTY,this._translateTabComplete=new ie.x,this._onCentering=new l.vpe,this._beforeCentering=new l.vpe,this._afterLeavingCenter=new l.vpe,this._onCentered=new l.vpe(!0),this.animationDuration="500ms",this.preserveContent=!1,ke&&(this._dirChangeSubscription=ke.change.subscribe(Ee=>{this._computePositionAnimationState(Ee),Ke.markForCheck()})),this._translateTabComplete.pipe((0,se.x)((Ee,ge)=>Ee.fromState===ge.fromState&&Ee.toState===ge.toState)).subscribe(Ee=>{this._isCenterPosition(Ee.toState)&&this._isCenterPosition(this._position)&&this._onCentered.emit(),this._isCenterPosition(Ee.fromState)&&!this._isCenterPosition(this._position)&&this._afterLeavingCenter.emit()})}ngOnInit(){"center"==this._position&&null!=this.origin&&(this._position=this._computePositionFromOrigin(this.origin))}ngOnDestroy(){this._dirChangeSubscription.unsubscribe(),this._translateTabComplete.complete()}_onTranslateTabStarted(de){const ke=this._isCenterPosition(de.toState);this._beforeCentering.emit(ke),ke&&this._onCentering.emit(this._elementRef.nativeElement.clientHeight)}_getLayoutDirection(){return this._dir&&"rtl"===this._dir.value?"rtl":"ltr"}_isCenterPosition(de){return"center"==de||"left-origin-center"==de||"right-origin-center"==de}_computePositionAnimationState(de=this._getLayoutDirection()){this._position=this._positionIndex<0?"ltr"==de?"left":"right":this._positionIndex>0?"ltr"==de?"right":"left":"center"}_computePositionFromOrigin(de){const ke=this._getLayoutDirection();return"ltr"==ke&&de<=0||"rtl"==ke&&de>0?"left-origin-center":"right-origin-center"}static#e=this.\u0275fac=function(ke){return new(ke||at)(l.Y36(l.SBq),l.Y36(ne.Is,8),l.Y36(l.sBO))};static#t=this.\u0275dir=l.lG2({type:at,inputs:{_content:["content","_content"],origin:"origin",animationDuration:"animationDuration",preserveContent:"preserveContent",position:"position"},outputs:{_onCentering:"_onCentering",_beforeCentering:"_beforeCentering",_afterLeavingCenter:"_afterLeavingCenter",_onCentered:"_onCentered"}})}return at})(),bt=(()=>{class at extends Je{constructor(de,ke,Ke){super(de,ke,Ke)}static#e=this.\u0275fac=function(ke){return new(ke||at)(l.Y36(l.SBq),l.Y36(ne.Is,8),l.Y36(l.sBO))};static#t=this.\u0275cmp=l.Xpm({type:at,selectors:[["mat-tab-body"]],viewQuery:function(ke,Ke){if(1&ke&&l.Gf(E.Pl,5),2&ke){let Ee;l.iGM(Ee=l.CRH())&&(Ke._portalHost=Ee.first)}},hostAttrs:[1,"mat-mdc-tab-body"],features:[l.qOj],decls:3,vars:6,consts:[["cdkScrollable","",1,"mat-mdc-tab-body-content"],["content",""],["matTabBodyHost",""]],template:function(ke,Ke){1&ke&&(l.TgZ(0,"div",0,1),l.NdJ("@translateTab.start",function(ge){return Ke._onTranslateTabStarted(ge)})("@translateTab.done",function(ge){return Ke._translateTabComplete.next(ge)}),l.YNc(2,ct,0,0,"ng-template",2),l.qZA()),2&ke&&l.Q6J("@translateTab",l.WLB(3,Ut,Ke._position,l.VKq(1,xt,Ke.animationDuration)))},dependencies:[Bt],styles:['.mat-mdc-tab-body{top:0;left:0;right:0;bottom:0;position:absolute;display:block;overflow:hidden;outline:0;flex-basis:100%}.mat-mdc-tab-body.mat-mdc-tab-body-active{position:relative;overflow-x:hidden;overflow-y:auto;z-index:1;flex-grow:1}.mat-mdc-tab-group.mat-mdc-tab-group-dynamic-height .mat-mdc-tab-body.mat-mdc-tab-body-active{overflow-y:hidden}.mat-mdc-tab-body-content{height:100%;overflow:auto}.mat-mdc-tab-group-dynamic-height .mat-mdc-tab-body-content{overflow:hidden}.mat-mdc-tab-body-content[style*="visibility: hidden"]{display:none}'],encapsulation:2,data:{animation:[nt.translateTab]}})}return at})();const Oe=new l.OlP("MatTabContent");let rt=(()=>{class at{constructor(de){this.template=de}static#e=this.\u0275fac=function(ke){return new(ke||at)(l.Y36(l.Rgc))};static#t=this.\u0275dir=l.lG2({type:at,selectors:[["","matTabContent",""]],features:[l._Bn([{provide:Oe,useExisting:at}])]})}return at})();const vt=new l.OlP("MatTabLabel"),en=new l.OlP("MAT_TAB");let tn=(()=>{class at extends E.ig{constructor(de,ke,Ke){super(de,ke),this._closestTab=Ke}static#e=this.\u0275fac=function(ke){return new(ke||at)(l.Y36(l.Rgc),l.Y36(l.s_b),l.Y36(en,8))};static#t=this.\u0275dir=l.lG2({type:at,selectors:[["","mat-tab-label",""],["","matTabLabel",""]],features:[l._Bn([{provide:vt,useExisting:at}]),l.qOj]})}return at})();const fn="mdc-tab-indicator--active",Zt="mdc-tab-indicator--no-transition";class Mn{constructor(wt){this._items=wt}hide(){this._items.forEach(wt=>wt.deactivateInkBar())}alignToElement(wt){const de=this._items.find(Ke=>Ke.elementRef.nativeElement===wt),ke=this._currentItem;if(de!==ke&&(ke?.deactivateInkBar(),de)){const Ke=ke?.elementRef.nativeElement.getBoundingClientRect?.();de.activateInkBar(Ke),this._currentItem=de}}}function it(at){return class extends at{constructor(...wt){super(...wt),this._fitToContent=!1}get fitInkBarToContent(){return this._fitToContent}set fitInkBarToContent(wt){const de=(0,ve.Ig)(wt);this._fitToContent!==de&&(this._fitToContent=de,this._inkBarElement&&this._appendInkBarElement())}activateInkBar(wt){const de=this.elementRef.nativeElement;if(!wt||!de.getBoundingClientRect||!this._inkBarContentElement)return void de.classList.add(fn);const ke=de.getBoundingClientRect(),Ke=wt.width/ke.width,Ee=wt.left-ke.left;de.classList.add(Zt),this._inkBarContentElement.style.setProperty("transform",`translateX(${Ee}px) scaleX(${Ke})`),de.getBoundingClientRect(),de.classList.remove(Zt),de.classList.add(fn),this._inkBarContentElement.style.setProperty("transform","")}deactivateInkBar(){this.elementRef.nativeElement.classList.remove(fn)}ngOnInit(){this._createInkBarElement()}ngOnDestroy(){this._inkBarElement?.remove(),this._inkBarElement=this._inkBarContentElement=null}_createInkBarElement(){const wt=this.elementRef.nativeElement.ownerDocument||document;this._inkBarElement=wt.createElement("span"),this._inkBarContentElement=wt.createElement("span"),this._inkBarElement.className="mdc-tab-indicator",this._inkBarContentElement.className="mdc-tab-indicator__content mdc-tab-indicator__content--underline",this._inkBarElement.appendChild(this._inkBarContentElement),this._appendInkBarElement()}_appendInkBarElement(){(this._fitToContent?this.elementRef.nativeElement.querySelector(".mdc-tab__content"):this.elementRef.nativeElement).appendChild(this._inkBarElement)}}}const Be=(0,w.Id)(class{}),ht=it((()=>{class at extends Be{constructor(de){super(),this.elementRef=de}focus(){this.elementRef.nativeElement.focus()}getOffsetLeft(){return this.elementRef.nativeElement.offsetLeft}getOffsetWidth(){return this.elementRef.nativeElement.offsetWidth}static#e=this.\u0275fac=function(ke){return new(ke||at)(l.Y36(l.SBq))};static#t=this.\u0275dir=l.lG2({type:at,features:[l.qOj]})}return at})());let mt=(()=>{class at extends ht{static#e=this.\u0275fac=function(){let de;return function(Ke){return(de||(de=l.n5z(at)))(Ke||at)}}();static#t=this.\u0275dir=l.lG2({type:at,selectors:[["","matTabLabelWrapper",""]],hostVars:3,hostBindings:function(ke,Ke){2&ke&&(l.uIk("aria-disabled",!!Ke.disabled),l.ekj("mat-mdc-tab-disabled",Ke.disabled))},inputs:{disabled:"disabled",fitInkBarToContent:"fitInkBarToContent"},features:[l.qOj]})}return at})();const Mt=(0,w.Id)(class{}),ln=new l.OlP("MAT_TAB_GROUP");let Wt=(()=>{class at extends Mt{get content(){return this._contentPortal}constructor(de,ke){super(),this._viewContainerRef=de,this._closestTabGroup=ke,this.textLabel="",this._contentPortal=null,this._stateChanges=new ie.x,this.position=null,this.origin=null,this.isActive=!1}ngOnChanges(de){(de.hasOwnProperty("textLabel")||de.hasOwnProperty("disabled"))&&this._stateChanges.next()}ngOnDestroy(){this._stateChanges.complete()}ngOnInit(){this._contentPortal=new E.UE(this._explicitContent||this._implicitContent,this._viewContainerRef)}_setTemplateLabelInput(de){de&&de._closestTab===this&&(this._templateLabel=de)}static#e=this.\u0275fac=function(ke){return new(ke||at)(l.Y36(l.s_b),l.Y36(ln,8))};static#t=this.\u0275dir=l.lG2({type:at,viewQuery:function(ke,Ke){if(1&ke&&l.Gf(l.Rgc,7),2&ke){let Ee;l.iGM(Ee=l.CRH())&&(Ke._implicitContent=Ee.first)}},inputs:{textLabel:["label","textLabel"],ariaLabel:["aria-label","ariaLabel"],ariaLabelledby:["aria-labelledby","ariaLabelledby"],labelClass:"labelClass",bodyClass:"bodyClass"},features:[l.qOj,l.TTD]})}return at})(),Kt=(()=>{class at extends Wt{constructor(){super(...arguments),this._explicitContent=void 0}get templateLabel(){return this._templateLabel}set templateLabel(de){this._setTemplateLabelInput(de)}static#e=this.\u0275fac=function(){let de;return function(Ke){return(de||(de=l.n5z(at)))(Ke||at)}}();static#t=this.\u0275cmp=l.Xpm({type:at,selectors:[["mat-tab"]],contentQueries:function(ke,Ke,Ee){if(1&ke&&(l.Suo(Ee,rt,7,l.Rgc),l.Suo(Ee,tn,5)),2&ke){let ge;l.iGM(ge=l.CRH())&&(Ke._explicitContent=ge.first),l.iGM(ge=l.CRH())&&(Ke.templateLabel=ge.first)}},inputs:{disabled:"disabled"},exportAs:["matTab"],features:[l._Bn([{provide:en,useExisting:at}]),l.qOj],ngContentSelectors:sn,decls:1,vars:0,template:function(ke,Ke){1&ke&&(l.F$t(),l.YNc(0,It,1,0,"ng-template"))},encapsulation:2})}return at})();const $t=(0,He.i$)({passive:!0});let pn=(()=>{class at{get disablePagination(){return this._disablePagination}set disablePagination(de){this._disablePagination=(0,ve.Ig)(de)}get selectedIndex(){return this._selectedIndex}set selectedIndex(de){de=(0,ve.su)(de),this._selectedIndex!=de&&(this._selectedIndexChanged=!0,this._selectedIndex=de,this._keyManager&&this._keyManager.updateActiveItem(de))}constructor(de,ke,Ke,Ee,ge,Ve,dt){this._elementRef=de,this._changeDetectorRef=ke,this._viewportRuler=Ke,this._dir=Ee,this._ngZone=ge,this._platform=Ve,this._animationMode=dt,this._scrollDistance=0,this._selectedIndexChanged=!1,this._destroyed=new ie.x,this._showPaginationControls=!1,this._disableScrollAfter=!0,this._disableScrollBefore=!0,this._stopScrolling=new ie.x,this._disablePagination=!1,this._selectedIndex=0,this.selectFocusedIndex=new l.vpe,this.indexFocused=new l.vpe,ge.runOutsideAngular(()=>{(0,J.R)(de.nativeElement,"mouseleave").pipe((0,ue.R)(this._destroyed)).subscribe(()=>{this._stopInterval()})})}ngAfterViewInit(){(0,J.R)(this._previousPaginator.nativeElement,"touchstart",$t).pipe((0,ue.R)(this._destroyed)).subscribe(()=>{this._handlePaginatorPress("before")}),(0,J.R)(this._nextPaginator.nativeElement,"touchstart",$t).pipe((0,ue.R)(this._destroyed)).subscribe(()=>{this._handlePaginatorPress("after")})}ngAfterContentInit(){const de=this._dir?this._dir.change:(0,xe.of)("ltr"),ke=this._viewportRuler.change(150),Ke=()=>{this.updatePagination(),this._alignInkBarToSelectedTab()};this._keyManager=new Q.Em(this._items).withHorizontalOrientation(this._getLayoutDirection()).withHomeAndEnd().withWrap().skipPredicate(()=>!1),this._keyManager.updateActiveItem(this._selectedIndex),this._ngZone.onStable.pipe((0,ze.q)(1)).subscribe(Ke),(0,fe.T)(de,ke,this._items.changes,this._itemsResized()).pipe((0,ue.R)(this._destroyed)).subscribe(()=>{this._ngZone.run(()=>{Promise.resolve().then(()=>{this._scrollDistance=Math.max(0,Math.min(this._getMaxScrollDistance(),this._scrollDistance)),Ke()})}),this._keyManager.withHorizontalOrientation(this._getLayoutDirection())}),this._keyManager.change.subscribe(Ee=>{this.indexFocused.emit(Ee),this._setTabFocus(Ee)})}_itemsResized(){return"function"!=typeof ResizeObserver?ce.E:this._items.changes.pipe((0,Le.O)(this._items),(0,oe.w)(de=>new De.y(ke=>this._ngZone.runOutsideAngular(()=>{const Ke=new ResizeObserver(Ee=>ke.next(Ee));return de.forEach(Ee=>Ke.observe(Ee.elementRef.nativeElement)),()=>{Ke.disconnect()}}))),(0,N.T)(1),(0,Ce.h)(de=>de.some(ke=>ke.contentRect.width>0&&ke.contentRect.height>0)))}ngAfterContentChecked(){this._tabLabelCount!=this._items.length&&(this.updatePagination(),this._tabLabelCount=this._items.length,this._changeDetectorRef.markForCheck()),this._selectedIndexChanged&&(this._scrollToLabel(this._selectedIndex),this._checkScrollingControls(),this._alignInkBarToSelectedTab(),this._selectedIndexChanged=!1,this._changeDetectorRef.markForCheck()),this._scrollDistanceChanged&&(this._updateTabScrollPosition(),this._scrollDistanceChanged=!1,this._changeDetectorRef.markForCheck())}ngOnDestroy(){this._keyManager?.destroy(),this._destroyed.next(),this._destroyed.complete(),this._stopScrolling.complete()}_handleKeydown(de){if(!(0,ft.Vb)(de))switch(de.keyCode){case ft.K5:case ft.L_:if(this.focusIndex!==this.selectedIndex){const ke=this._items.get(this.focusIndex);ke&&!ke.disabled&&(this.selectFocusedIndex.emit(this.focusIndex),this._itemSelected(de))}break;default:this._keyManager.onKeydown(de)}}_onContentChanges(){const de=this._elementRef.nativeElement.textContent;de!==this._currentTextContent&&(this._currentTextContent=de||"",this._ngZone.run(()=>{this.updatePagination(),this._alignInkBarToSelectedTab(),this._changeDetectorRef.markForCheck()}))}updatePagination(){this._checkPaginationEnabled(),this._checkScrollingControls(),this._updateTabScrollPosition()}get focusIndex(){return this._keyManager?this._keyManager.activeItemIndex:0}set focusIndex(de){!this._isValidIndex(de)||this.focusIndex===de||!this._keyManager||this._keyManager.setActiveItem(de)}_isValidIndex(de){return!this._items||!!this._items.toArray()[de]}_setTabFocus(de){if(this._showPaginationControls&&this._scrollToLabel(de),this._items&&this._items.length){this._items.toArray()[de].focus();const ke=this._tabListContainer.nativeElement;ke.scrollLeft="ltr"==this._getLayoutDirection()?0:ke.scrollWidth-ke.offsetWidth}}_getLayoutDirection(){return this._dir&&"rtl"===this._dir.value?"rtl":"ltr"}_updateTabScrollPosition(){if(this.disablePagination)return;const de=this.scrollDistance,ke="ltr"===this._getLayoutDirection()?-de:de;this._tabList.nativeElement.style.transform=`translateX(${Math.round(ke)}px)`,(this._platform.TRIDENT||this._platform.EDGE)&&(this._tabListContainer.nativeElement.scrollLeft=0)}get scrollDistance(){return this._scrollDistance}set scrollDistance(de){this._scrollTo(de)}_scrollHeader(de){return this._scrollTo(this._scrollDistance+("before"==de?-1:1)*this._tabListContainer.nativeElement.offsetWidth/3)}_handlePaginatorClick(de){this._stopInterval(),this._scrollHeader(de)}_scrollToLabel(de){if(this.disablePagination)return;const ke=this._items?this._items.toArray()[de]:null;if(!ke)return;const Ke=this._tabListContainer.nativeElement.offsetWidth,{offsetLeft:Ee,offsetWidth:ge}=ke.elementRef.nativeElement;let Ve,dt;"ltr"==this._getLayoutDirection()?(Ve=Ee,dt=Ve+ge):(dt=this._tabListInner.nativeElement.offsetWidth-Ee,Ve=dt-ge);const Rt=this.scrollDistance,Ht=this.scrollDistance+Ke;VeHt&&(this.scrollDistance+=Math.min(dt-Ht,Ve-Rt))}_checkPaginationEnabled(){if(this.disablePagination)this._showPaginationControls=!1;else{const de=this._tabListInner.nativeElement.scrollWidth>this._elementRef.nativeElement.offsetWidth;de||(this.scrollDistance=0),de!==this._showPaginationControls&&this._changeDetectorRef.markForCheck(),this._showPaginationControls=de}}_checkScrollingControls(){this.disablePagination?this._disableScrollAfter=this._disableScrollBefore=!0:(this._disableScrollBefore=0==this.scrollDistance,this._disableScrollAfter=this.scrollDistance==this._getMaxScrollDistance(),this._changeDetectorRef.markForCheck())}_getMaxScrollDistance(){return this._tabListInner.nativeElement.scrollWidth-this._tabListContainer.nativeElement.offsetWidth||0}_alignInkBarToSelectedTab(){const de=this._items&&this._items.length?this._items.toArray()[this.selectedIndex]:null,ke=de?de.elementRef.nativeElement:null;ke?this._inkBar.alignToElement(ke):this._inkBar.hide()}_stopInterval(){this._stopScrolling.next()}_handlePaginatorPress(de,ke){ke&&null!=ke.button&&0!==ke.button||(this._stopInterval(),(0,Ae.H)(650,100).pipe((0,ue.R)((0,fe.T)(this._stopScrolling,this._destroyed))).subscribe(()=>{const{maxScrollDistance:Ke,distance:Ee}=this._scrollHeader(de);(0===Ee||Ee>=Ke)&&this._stopInterval()}))}_scrollTo(de){if(this.disablePagination)return{maxScrollDistance:0,distance:0};const ke=this._getMaxScrollDistance();return this._scrollDistance=Math.max(0,Math.min(ke,de)),this._scrollDistanceChanged=!0,this._checkScrollingControls(),{maxScrollDistance:ke,distance:this._scrollDistance}}static#e=this.\u0275fac=function(ke){return new(ke||at)(l.Y36(l.SBq),l.Y36(l.sBO),l.Y36(ye.rL),l.Y36(ne.Is,8),l.Y36(l.R0b),l.Y36(He.t4),l.Y36(l.QbO,8))};static#t=this.\u0275dir=l.lG2({type:at,inputs:{disablePagination:"disablePagination"}})}return at})(),gn=(()=>{class at extends pn{get disableRipple(){return this._disableRipple}set disableRipple(de){this._disableRipple=(0,ve.Ig)(de)}constructor(de,ke,Ke,Ee,ge,Ve,dt){super(de,ke,Ke,Ee,ge,Ve,dt),this._disableRipple=!1}_itemSelected(de){de.preventDefault()}static#e=this.\u0275fac=function(ke){return new(ke||at)(l.Y36(l.SBq),l.Y36(l.sBO),l.Y36(ye.rL),l.Y36(ne.Is,8),l.Y36(l.R0b),l.Y36(He.t4),l.Y36(l.QbO,8))};static#t=this.\u0275dir=l.lG2({type:at,inputs:{disableRipple:"disableRipple"},features:[l.qOj]})}return at})(),yn=(()=>{class at extends gn{constructor(de,ke,Ke,Ee,ge,Ve,dt){super(de,ke,Ke,Ee,ge,Ve,dt)}ngAfterContentInit(){this._inkBar=new Mn(this._items),super.ngAfterContentInit()}static#e=this.\u0275fac=function(ke){return new(ke||at)(l.Y36(l.SBq),l.Y36(l.sBO),l.Y36(ye.rL),l.Y36(ne.Is,8),l.Y36(l.R0b),l.Y36(He.t4),l.Y36(l.QbO,8))};static#t=this.\u0275cmp=l.Xpm({type:at,selectors:[["mat-tab-header"]],contentQueries:function(ke,Ke,Ee){if(1&ke&&l.Suo(Ee,mt,4),2&ke){let ge;l.iGM(ge=l.CRH())&&(Ke._items=ge)}},viewQuery:function(ke,Ke){if(1&ke&&(l.Gf(Xe,7),l.Gf(At,7),l.Gf(Y,7),l.Gf(P,5),l.Gf(ae,5)),2&ke){let Ee;l.iGM(Ee=l.CRH())&&(Ke._tabListContainer=Ee.first),l.iGM(Ee=l.CRH())&&(Ke._tabList=Ee.first),l.iGM(Ee=l.CRH())&&(Ke._tabListInner=Ee.first),l.iGM(Ee=l.CRH())&&(Ke._nextPaginator=Ee.first),l.iGM(Ee=l.CRH())&&(Ke._previousPaginator=Ee.first)}},hostAttrs:[1,"mat-mdc-tab-header"],hostVars:4,hostBindings:function(ke,Ke){2&ke&&l.ekj("mat-mdc-tab-header-pagination-controls-enabled",Ke._showPaginationControls)("mat-mdc-tab-header-rtl","rtl"==Ke._getLayoutDirection())},inputs:{selectedIndex:"selectedIndex"},outputs:{selectFocusedIndex:"selectFocusedIndex",indexFocused:"indexFocused"},features:[l.qOj],ngContentSelectors:sn,decls:13,vars:10,consts:[["aria-hidden","true","type","button","mat-ripple","","tabindex","-1",1,"mat-mdc-tab-header-pagination","mat-mdc-tab-header-pagination-before",3,"matRippleDisabled","disabled","click","mousedown","touchend"],["previousPaginator",""],[1,"mat-mdc-tab-header-pagination-chevron"],[1,"mat-mdc-tab-label-container",3,"keydown"],["tabListContainer",""],["role","tablist",1,"mat-mdc-tab-list",3,"cdkObserveContent"],["tabList",""],[1,"mat-mdc-tab-labels"],["tabListInner",""],["aria-hidden","true","type","button","mat-ripple","","tabindex","-1",1,"mat-mdc-tab-header-pagination","mat-mdc-tab-header-pagination-after",3,"matRippleDisabled","disabled","mousedown","click","touchend"],["nextPaginator",""]],template:function(ke,Ke){1&ke&&(l.F$t(),l.TgZ(0,"button",0,1),l.NdJ("click",function(){return Ke._handlePaginatorClick("before")})("mousedown",function(ge){return Ke._handlePaginatorPress("before",ge)})("touchend",function(){return Ke._stopInterval()}),l._UZ(2,"div",2),l.qZA(),l.TgZ(3,"div",3,4),l.NdJ("keydown",function(ge){return Ke._handleKeydown(ge)}),l.TgZ(5,"div",5,6),l.NdJ("cdkObserveContent",function(){return Ke._onContentChanges()}),l.TgZ(7,"div",7,8),l.Hsn(9),l.qZA()()(),l.TgZ(10,"button",9,10),l.NdJ("mousedown",function(ge){return Ke._handlePaginatorPress("after",ge)})("click",function(){return Ke._handlePaginatorClick("after")})("touchend",function(){return Ke._stopInterval()}),l._UZ(12,"div",2),l.qZA()),2&ke&&(l.ekj("mat-mdc-tab-header-pagination-disabled",Ke._disableScrollBefore),l.Q6J("matRippleDisabled",Ke._disableScrollBefore||Ke.disableRipple)("disabled",Ke._disableScrollBefore||null),l.xp6(3),l.ekj("_mat-animation-noopable","NoopAnimations"===Ke._animationMode),l.xp6(7),l.ekj("mat-mdc-tab-header-pagination-disabled",Ke._disableScrollAfter),l.Q6J("matRippleDisabled",Ke._disableScrollAfter||Ke.disableRipple)("disabled",Ke._disableScrollAfter||null))},dependencies:[w.wG,H.wD],styles:[".mat-mdc-tab-header{display:flex;overflow:hidden;position:relative;flex-shrink:0;--mdc-tab-indicator-active-indicator-height:2px;--mdc-tab-indicator-active-indicator-shape:0;--mdc-secondary-navigation-tab-container-height:48px}.mdc-tab-indicator .mdc-tab-indicator__content{transition-duration:var(--mat-tab-animation-duration, 250ms)}.mat-mdc-tab-header-pagination{-webkit-user-select:none;user-select:none;position:relative;display:none;justify-content:center;align-items:center;min-width:32px;cursor:pointer;z-index:2;-webkit-tap-highlight-color:rgba(0,0,0,0);touch-action:none;box-sizing:content-box;background:none;border:none;outline:0;padding:0}.mat-mdc-tab-header-pagination::-moz-focus-inner{border:0}.mat-mdc-tab-header-pagination .mat-ripple-element{opacity:.12;background-color:var(--mat-tab-header-inactive-ripple-color)}.mat-mdc-tab-header-pagination-controls-enabled .mat-mdc-tab-header-pagination{display:flex}.mat-mdc-tab-header-pagination-before,.mat-mdc-tab-header-rtl .mat-mdc-tab-header-pagination-after{padding-left:4px}.mat-mdc-tab-header-pagination-before .mat-mdc-tab-header-pagination-chevron,.mat-mdc-tab-header-rtl .mat-mdc-tab-header-pagination-after .mat-mdc-tab-header-pagination-chevron{transform:rotate(-135deg)}.mat-mdc-tab-header-rtl .mat-mdc-tab-header-pagination-before,.mat-mdc-tab-header-pagination-after{padding-right:4px}.mat-mdc-tab-header-rtl .mat-mdc-tab-header-pagination-before .mat-mdc-tab-header-pagination-chevron,.mat-mdc-tab-header-pagination-after .mat-mdc-tab-header-pagination-chevron{transform:rotate(45deg)}.mat-mdc-tab-header-pagination-chevron{border-style:solid;border-width:2px 2px 0 0;height:8px;width:8px;border-color:var(--mat-tab-header-pagination-icon-color)}.mat-mdc-tab-header-pagination-disabled{box-shadow:none;cursor:default;pointer-events:none}.mat-mdc-tab-header-pagination-disabled .mat-mdc-tab-header-pagination-chevron{opacity:.4}.mat-mdc-tab-list{flex-grow:1;position:relative;transition:transform 500ms cubic-bezier(0.35, 0, 0.25, 1)}._mat-animation-noopable .mat-mdc-tab-list{transition:none}._mat-animation-noopable span.mdc-tab-indicator__content,._mat-animation-noopable span.mdc-tab__text-label{transition:none}.mat-mdc-tab-label-container{display:flex;flex-grow:1;overflow:hidden;z-index:1}.mat-mdc-tab-labels{display:flex;flex:1 0 auto}[mat-align-tabs=center]>.mat-mdc-tab-header .mat-mdc-tab-labels{justify-content:center}[mat-align-tabs=end]>.mat-mdc-tab-header .mat-mdc-tab-labels{justify-content:flex-end}.mat-mdc-tab::before{margin:5px}.cdk-high-contrast-active .mat-mdc-tab[aria-disabled=true]{color:GrayText}"],encapsulation:2})}return at})();const kn=new l.OlP("MAT_TABS_CONFIG");let ut=0;const me=(0,w.pj)((0,w.Kr)(class{constructor(at){this._elementRef=at}}),"primary");let le=(()=>{class at extends me{get dynamicHeight(){return this._dynamicHeight}set dynamicHeight(de){this._dynamicHeight=(0,ve.Ig)(de)}get selectedIndex(){return this._selectedIndex}set selectedIndex(de){this._indexToSelect=(0,ve.su)(de,null)}get animationDuration(){return this._animationDuration}set animationDuration(de){this._animationDuration=/^\d+$/.test(de+"")?de+"ms":de}get contentTabIndex(){return this._contentTabIndex}set contentTabIndex(de){this._contentTabIndex=(0,ve.su)(de,null)}get disablePagination(){return this._disablePagination}set disablePagination(de){this._disablePagination=(0,ve.Ig)(de)}get preserveContent(){return this._preserveContent}set preserveContent(de){this._preserveContent=(0,ve.Ig)(de)}get backgroundColor(){return this._backgroundColor}set backgroundColor(de){const ke=this._elementRef.nativeElement.classList;ke.remove("mat-tabs-with-background",`mat-background-${this.backgroundColor}`),de&&ke.add("mat-tabs-with-background",`mat-background-${de}`),this._backgroundColor=de}constructor(de,ke,Ke,Ee){super(de),this._changeDetectorRef=ke,this._animationMode=Ee,this._tabs=new l.n_E,this._indexToSelect=0,this._lastFocusedTabIndex=null,this._tabBodyWrapperHeight=0,this._tabsSubscription=we.w0.EMPTY,this._tabLabelSubscription=we.w0.EMPTY,this._dynamicHeight=!1,this._selectedIndex=null,this.headerPosition="above",this._disablePagination=!1,this._preserveContent=!1,this.selectedIndexChange=new l.vpe,this.focusChange=new l.vpe,this.animationDone=new l.vpe,this.selectedTabChange=new l.vpe(!0),this._groupId=ut++,this.animationDuration=Ke&&Ke.animationDuration?Ke.animationDuration:"500ms",this.disablePagination=!(!Ke||null==Ke.disablePagination)&&Ke.disablePagination,this.dynamicHeight=!(!Ke||null==Ke.dynamicHeight)&&Ke.dynamicHeight,this.contentTabIndex=Ke?.contentTabIndex??null,this.preserveContent=!!Ke?.preserveContent}ngAfterContentChecked(){const de=this._indexToSelect=this._clampTabIndex(this._indexToSelect);if(this._selectedIndex!=de){const ke=null==this._selectedIndex;if(!ke){this.selectedTabChange.emit(this._createChangeEvent(de));const Ke=this._tabBodyWrapper.nativeElement;Ke.style.minHeight=Ke.clientHeight+"px"}Promise.resolve().then(()=>{this._tabs.forEach((Ke,Ee)=>Ke.isActive=Ee===de),ke||(this.selectedIndexChange.emit(de),this._tabBodyWrapper.nativeElement.style.minHeight="")})}this._tabs.forEach((ke,Ke)=>{ke.position=Ke-de,null!=this._selectedIndex&&0==ke.position&&!ke.origin&&(ke.origin=de-this._selectedIndex)}),this._selectedIndex!==de&&(this._selectedIndex=de,this._lastFocusedTabIndex=null,this._changeDetectorRef.markForCheck())}ngAfterContentInit(){this._subscribeToAllTabChanges(),this._subscribeToTabLabels(),this._tabsSubscription=this._tabs.changes.subscribe(()=>{const de=this._clampTabIndex(this._indexToSelect);if(de===this._selectedIndex){const ke=this._tabs.toArray();let Ke;for(let Ee=0;Ee{ke[de].isActive=!0,this.selectedTabChange.emit(this._createChangeEvent(de))})}this._changeDetectorRef.markForCheck()})}_subscribeToAllTabChanges(){this._allTabs.changes.pipe((0,Le.O)(this._allTabs)).subscribe(de=>{this._tabs.reset(de.filter(ke=>ke._closestTabGroup===this||!ke._closestTabGroup)),this._tabs.notifyOnChanges()})}ngOnDestroy(){this._tabs.destroy(),this._tabsSubscription.unsubscribe(),this._tabLabelSubscription.unsubscribe()}realignInkBar(){this._tabHeader&&this._tabHeader._alignInkBarToSelectedTab()}updatePagination(){this._tabHeader&&this._tabHeader.updatePagination()}focusTab(de){const ke=this._tabHeader;ke&&(ke.focusIndex=de)}_focusChanged(de){this._lastFocusedTabIndex=de,this.focusChange.emit(this._createChangeEvent(de))}_createChangeEvent(de){const ke=new Ie;return ke.index=de,this._tabs&&this._tabs.length&&(ke.tab=this._tabs.toArray()[de]),ke}_subscribeToTabLabels(){this._tabLabelSubscription&&this._tabLabelSubscription.unsubscribe(),this._tabLabelSubscription=(0,fe.T)(...this._tabs.map(de=>de._stateChanges)).subscribe(()=>this._changeDetectorRef.markForCheck())}_clampTabIndex(de){return Math.min(this._tabs.length-1,Math.max(de||0,0))}_getTabLabelId(de){return`mat-tab-label-${this._groupId}-${de}`}_getTabContentId(de){return`mat-tab-content-${this._groupId}-${de}`}_setTabBodyWrapperHeight(de){if(!this._dynamicHeight||!this._tabBodyWrapperHeight)return;const ke=this._tabBodyWrapper.nativeElement;ke.style.height=this._tabBodyWrapperHeight+"px",this._tabBodyWrapper.nativeElement.offsetHeight&&(ke.style.height=de+"px")}_removeTabBodyWrapperHeight(){const de=this._tabBodyWrapper.nativeElement;this._tabBodyWrapperHeight=de.clientHeight,de.style.height="",this.animationDone.emit()}_handleClick(de,ke,Ke){ke.focusIndex=Ke,de.disabled||(this.selectedIndex=Ke)}_getTabIndex(de){return de===(this._lastFocusedTabIndex??this.selectedIndex)?0:-1}_tabFocusChanged(de,ke){de&&"mouse"!==de&&"touch"!==de&&(this._tabHeader.focusIndex=ke)}static#e=this.\u0275fac=function(ke){return new(ke||at)(l.Y36(l.SBq),l.Y36(l.sBO),l.Y36(kn,8),l.Y36(l.QbO,8))};static#t=this.\u0275dir=l.lG2({type:at,inputs:{dynamicHeight:"dynamicHeight",selectedIndex:"selectedIndex",headerPosition:"headerPosition",animationDuration:"animationDuration",contentTabIndex:"contentTabIndex",disablePagination:"disablePagination",preserveContent:"preserveContent",backgroundColor:"backgroundColor"},outputs:{selectedIndexChange:"selectedIndexChange",focusChange:"focusChange",animationDone:"animationDone",selectedTabChange:"selectedTabChange"},features:[l.qOj]})}return at})(),G=(()=>{class at extends le{get fitInkBarToContent(){return this._fitInkBarToContent}set fitInkBarToContent(de){this._fitInkBarToContent=(0,ve.Ig)(de),this._changeDetectorRef.markForCheck()}get stretchTabs(){return this._stretchTabs}set stretchTabs(de){this._stretchTabs=(0,ve.Ig)(de)}constructor(de,ke,Ke,Ee){super(de,ke,Ke,Ee),this._fitInkBarToContent=!1,this._stretchTabs=!0,this.fitInkBarToContent=!(!Ke||null==Ke.fitInkBarToContent)&&Ke.fitInkBarToContent,this.stretchTabs=!Ke||null==Ke.stretchTabs||Ke.stretchTabs}static#e=this.\u0275fac=function(ke){return new(ke||at)(l.Y36(l.SBq),l.Y36(l.sBO),l.Y36(kn,8),l.Y36(l.QbO,8))};static#t=this.\u0275cmp=l.Xpm({type:at,selectors:[["mat-tab-group"]],contentQueries:function(ke,Ke,Ee){if(1&ke&&l.Suo(Ee,Kt,5),2&ke){let ge;l.iGM(ge=l.CRH())&&(Ke._allTabs=ge)}},viewQuery:function(ke,Ke){if(1&ke&&(l.Gf(B,5),l.Gf(Se,5)),2&ke){let Ee;l.iGM(Ee=l.CRH())&&(Ke._tabBodyWrapper=Ee.first),l.iGM(Ee=l.CRH())&&(Ke._tabHeader=Ee.first)}},hostAttrs:["ngSkipHydration","",1,"mat-mdc-tab-group"],hostVars:8,hostBindings:function(ke,Ke){2&ke&&(l.Udp("--mat-tab-animation-duration",Ke.animationDuration),l.ekj("mat-mdc-tab-group-dynamic-height",Ke.dynamicHeight)("mat-mdc-tab-group-inverted-header","below"===Ke.headerPosition)("mat-mdc-tab-group-stretch-tabs",Ke.stretchTabs))},inputs:{color:"color",disableRipple:"disableRipple",fitInkBarToContent:"fitInkBarToContent",stretchTabs:["mat-stretch-tabs","stretchTabs"]},exportAs:["matTabGroup"],features:[l._Bn([{provide:ln,useExisting:at}]),l.qOj],decls:6,vars:7,consts:[[3,"selectedIndex","disableRipple","disablePagination","indexFocused","selectFocusedIndex"],["tabHeader",""],["class","mdc-tab mat-mdc-tab mat-mdc-focus-indicator","role","tab","matTabLabelWrapper","","cdkMonitorElementFocus","",3,"id","mdc-tab--active","ngClass","disabled","fitInkBarToContent","click","cdkFocusChange",4,"ngFor","ngForOf"],[1,"mat-mdc-tab-body-wrapper"],["tabBodyWrapper",""],["role","tabpanel",3,"id","mat-mdc-tab-body-active","ngClass","content","position","origin","animationDuration","preserveContent","_onCentered","_onCentering",4,"ngFor","ngForOf"],["role","tab","matTabLabelWrapper","","cdkMonitorElementFocus","",1,"mdc-tab","mat-mdc-tab","mat-mdc-focus-indicator",3,"id","ngClass","disabled","fitInkBarToContent","click","cdkFocusChange"],["tabNode",""],[1,"mdc-tab__ripple"],["mat-ripple","",1,"mat-mdc-tab-ripple",3,"matRippleTrigger","matRippleDisabled"],[1,"mdc-tab__content"],[1,"mdc-tab__text-label"],[3,"ngIf","ngIfElse"],["tabTextLabel",""],[3,"cdkPortalOutlet"],["role","tabpanel",3,"id","ngClass","content","position","origin","animationDuration","preserveContent","_onCentered","_onCentering"]],template:function(ke,Ke){1&ke&&(l.TgZ(0,"mat-tab-header",0,1),l.NdJ("indexFocused",function(ge){return Ke._focusChanged(ge)})("selectFocusedIndex",function(ge){return Ke.selectedIndex=ge}),l.YNc(2,re,9,17,"div",2),l.qZA(),l.TgZ(3,"div",3,4),l.YNc(5,je,1,12,"mat-tab-body",5),l.qZA()),2&ke&&(l.Q6J("selectedIndex",Ke.selectedIndex||0)("disableRipple",Ke.disableRipple)("disablePagination",Ke.disablePagination),l.xp6(2),l.Q6J("ngForOf",Ke._tabs),l.xp6(1),l.ekj("_mat-animation-noopable","NoopAnimations"===Ke._animationMode),l.xp6(2),l.Q6J("ngForOf",Ke._tabs))},dependencies:[n.mk,n.sg,n.O5,E.Pl,w.wG,Q.kH,bt,mt,yn],styles:['.mdc-tab{min-width:90px;padding-right:24px;padding-left:24px;display:flex;flex:1 0 auto;justify-content:center;box-sizing:border-box;margin:0;padding-top:0;padding-bottom:0;border:none;outline:none;text-align:center;white-space:nowrap;cursor:pointer;-webkit-appearance:none;z-index:1}.mdc-tab::-moz-focus-inner{padding:0;border:0}.mdc-tab[hidden]{display:none}.mdc-tab--min-width{flex:0 1 auto}.mdc-tab__content{display:flex;align-items:center;justify-content:center;height:inherit;pointer-events:none}.mdc-tab__text-label{transition:150ms color linear;display:inline-block;line-height:1;z-index:2}.mdc-tab__icon{transition:150ms color linear;z-index:2}.mdc-tab--stacked .mdc-tab__content{flex-direction:column;align-items:center;justify-content:center}.mdc-tab--stacked .mdc-tab__text-label{padding-top:6px;padding-bottom:4px}.mdc-tab--active .mdc-tab__text-label,.mdc-tab--active .mdc-tab__icon{transition-delay:100ms}.mdc-tab:not(.mdc-tab--stacked) .mdc-tab__icon+.mdc-tab__text-label{padding-left:8px;padding-right:0}[dir=rtl] .mdc-tab:not(.mdc-tab--stacked) .mdc-tab__icon+.mdc-tab__text-label,.mdc-tab:not(.mdc-tab--stacked) .mdc-tab__icon+.mdc-tab__text-label[dir=rtl]{padding-left:0;padding-right:8px}.mdc-tab-indicator{display:flex;position:absolute;top:0;left:0;justify-content:center;width:100%;height:100%;pointer-events:none;z-index:1}.mdc-tab-indicator__content{transform-origin:left;opacity:0}.mdc-tab-indicator__content--underline{align-self:flex-end;box-sizing:border-box;width:100%;border-top-style:solid}.mdc-tab-indicator__content--icon{align-self:center;margin:0 auto}.mdc-tab-indicator--active .mdc-tab-indicator__content{opacity:1}.mdc-tab-indicator .mdc-tab-indicator__content{transition:250ms transform cubic-bezier(0.4, 0, 0.2, 1)}.mdc-tab-indicator--no-transition .mdc-tab-indicator__content{transition:none}.mdc-tab-indicator--fade .mdc-tab-indicator__content{transition:150ms opacity linear}.mdc-tab-indicator--active.mdc-tab-indicator--fade .mdc-tab-indicator__content{transition-delay:100ms}.mat-mdc-tab-ripple{position:absolute;top:0;left:0;bottom:0;right:0;pointer-events:none}.mat-mdc-tab{-webkit-tap-highlight-color:rgba(0,0,0,0);-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;text-decoration:none;background:none;font-family:var(--mat-tab-header-label-text-font);font-size:var(--mat-tab-header-label-text-size);letter-spacing:var(--mat-tab-header-label-text-tracking);line-height:var(--mat-tab-header-label-text-line-height);font-weight:var(--mat-tab-header-label-text-weight)}.mat-mdc-tab .mdc-tab-indicator__content--underline{border-color:var(--mdc-tab-indicator-active-indicator-color)}.mat-mdc-tab .mdc-tab-indicator__content--underline{border-top-width:var(--mdc-tab-indicator-active-indicator-height)}.mat-mdc-tab .mdc-tab-indicator__content--underline{border-radius:var(--mdc-tab-indicator-active-indicator-shape)}.mat-mdc-tab:not(.mdc-tab--stacked){height:var(--mdc-secondary-navigation-tab-container-height)}.mat-mdc-tab:not(:disabled).mdc-tab--active .mdc-tab__icon{fill:currentColor}.mat-mdc-tab:not(:disabled):hover.mdc-tab--active .mdc-tab__icon{fill:currentColor}.mat-mdc-tab:not(:disabled):focus.mdc-tab--active .mdc-tab__icon{fill:currentColor}.mat-mdc-tab:not(:disabled):active.mdc-tab--active .mdc-tab__icon{fill:currentColor}.mat-mdc-tab:disabled.mdc-tab--active .mdc-tab__icon{fill:currentColor}.mat-mdc-tab:not(:disabled):not(.mdc-tab--active) .mdc-tab__icon{fill:currentColor}.mat-mdc-tab:not(:disabled):hover:not(.mdc-tab--active) .mdc-tab__icon{fill:currentColor}.mat-mdc-tab:not(:disabled):focus:not(.mdc-tab--active) .mdc-tab__icon{fill:currentColor}.mat-mdc-tab:not(:disabled):active:not(.mdc-tab--active) .mdc-tab__icon{fill:currentColor}.mat-mdc-tab:disabled:not(.mdc-tab--active) .mdc-tab__icon{fill:currentColor}.mat-mdc-tab.mdc-tab{flex-grow:0}.mat-mdc-tab:hover .mdc-tab__text-label{color:var(--mat-tab-header-inactive-hover-label-text-color)}.mat-mdc-tab:focus .mdc-tab__text-label{color:var(--mat-tab-header-inactive-focus-label-text-color)}.mat-mdc-tab.mdc-tab--active .mdc-tab__text-label{color:var(--mat-tab-header-active-label-text-color)}.mat-mdc-tab.mdc-tab--active .mdc-tab__ripple::before,.mat-mdc-tab.mdc-tab--active .mat-ripple-element{background-color:var(--mat-tab-header-active-ripple-color)}.mat-mdc-tab.mdc-tab--active:hover .mdc-tab__text-label{color:var(--mat-tab-header-active-hover-label-text-color)}.mat-mdc-tab.mdc-tab--active:hover .mdc-tab-indicator__content--underline{border-color:var(--mat-tab-header-active-hover-indicator-color)}.mat-mdc-tab.mdc-tab--active:focus .mdc-tab__text-label{color:var(--mat-tab-header-active-focus-label-text-color)}.mat-mdc-tab.mdc-tab--active:focus .mdc-tab-indicator__content--underline{border-color:var(--mat-tab-header-active-focus-indicator-color)}.mat-mdc-tab.mat-mdc-tab-disabled{opacity:.4;pointer-events:none}.mat-mdc-tab.mat-mdc-tab-disabled .mdc-tab__content{pointer-events:none}.mat-mdc-tab.mat-mdc-tab-disabled .mdc-tab__ripple::before,.mat-mdc-tab.mat-mdc-tab-disabled .mat-ripple-element{background-color:var(--mat-tab-header-disabled-ripple-color)}.mat-mdc-tab .mdc-tab__ripple::before{content:"";display:block;position:absolute;top:0;left:0;right:0;bottom:0;opacity:0;pointer-events:none;background-color:var(--mat-tab-header-inactive-ripple-color)}.mat-mdc-tab .mdc-tab__text-label{color:var(--mat-tab-header-inactive-label-text-color);display:inline-flex;align-items:center}.mat-mdc-tab .mdc-tab__content{position:relative;pointer-events:auto}.mat-mdc-tab:hover .mdc-tab__ripple::before{opacity:.04}.mat-mdc-tab.cdk-program-focused .mdc-tab__ripple::before,.mat-mdc-tab.cdk-keyboard-focused .mdc-tab__ripple::before{opacity:.12}.mat-mdc-tab .mat-ripple-element{opacity:.12;background-color:var(--mat-tab-header-inactive-ripple-color)}.mat-mdc-tab-group.mat-mdc-tab-group-stretch-tabs>.mat-mdc-tab-header .mat-mdc-tab{flex-grow:1}.mat-mdc-tab-group{display:flex;flex-direction:column;max-width:100%}.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header,.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header-pagination{background-color:var(--mat-tab-header-with-background-background-color)}.mat-mdc-tab-group.mat-tabs-with-background.mat-primary>.mat-mdc-tab-header .mat-mdc-tab .mdc-tab__text-label{color:var(--mat-tab-header-with-background-foreground-color)}.mat-mdc-tab-group.mat-tabs-with-background.mat-primary>.mat-mdc-tab-header .mdc-tab-indicator__content--underline{border-color:var(--mat-tab-header-with-background-foreground-color)}.mat-mdc-tab-group.mat-tabs-with-background:not(.mat-primary)>.mat-mdc-tab-header .mat-mdc-tab:not(.mdc-tab--active) .mdc-tab__text-label{color:var(--mat-tab-header-with-background-foreground-color)}.mat-mdc-tab-group.mat-tabs-with-background:not(.mat-primary)>.mat-mdc-tab-header .mat-mdc-tab:not(.mdc-tab--active) .mdc-tab-indicator__content--underline{border-color:var(--mat-tab-header-with-background-foreground-color)}.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header .mat-mdc-tab-header-pagination-chevron,.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header .mat-mdc-focus-indicator::before,.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header-pagination .mat-mdc-tab-header-pagination-chevron,.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header-pagination .mat-mdc-focus-indicator::before{border-color:var(--mat-tab-header-with-background-foreground-color)}.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header .mat-ripple-element,.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header .mdc-tab__ripple::before,.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header-pagination .mat-ripple-element,.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header-pagination .mdc-tab__ripple::before{background-color:var(--mat-tab-header-with-background-foreground-color)}.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header .mat-mdc-tab-header-pagination-chevron,.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header-pagination .mat-mdc-tab-header-pagination-chevron{color:var(--mat-tab-header-with-background-foreground-color)}.mat-mdc-tab-group.mat-mdc-tab-group-inverted-header{flex-direction:column-reverse}.mat-mdc-tab-group.mat-mdc-tab-group-inverted-header .mdc-tab-indicator__content--underline{align-self:flex-start}.mat-mdc-tab-body-wrapper{position:relative;overflow:hidden;display:flex;transition:height 500ms cubic-bezier(0.35, 0, 0.25, 1)}.mat-mdc-tab-body-wrapper._mat-animation-noopable{transition:none !important;animation:none !important}'],encapsulation:2})}return at})();class Ie{}let Pt=(()=>{class at{static#e=this.\u0275fac=function(ke){return new(ke||at)};static#t=this.\u0275mod=l.oAB({type:at});static#n=this.\u0275inj=l.cJS({imports:[n.ez,w.BQ,E.eL,w.si,H.Q8,Q.rt,w.BQ]})}return at})()},2596:(_t,Me,p)=>{p.d(Me,{AV:()=>ae,gM:()=>Xe});var n=p(9773),l=p(8180),w=p(2495),E=p(6028),H=p(5879),Q=p(6814),ne=p(2831),we=p(4300),ie=p(9388),J=p(3651),xe=p(6672),fe=p(8484),ce=p(8645),Ae=(p(6825),p(3680));const Le=["tooltip"],ze=new H.OlP("mat-tooltip-scroll-strategy"),N={provide:ze,deps:[J.aV],useFactory:function oe(B){return()=>B.scrollStrategies.reposition({scrollThrottle:20})}},K=new H.OlP("mat-tooltip-default-options",{providedIn:"root",factory:function Ce(){return{showDelay:0,hideDelay:0,touchendHideDelay:1500}}}),ye="tooltip-panel",He=(0,ne.i$)({passive:!0});let sn=(()=>{class B{get position(){return this._position}set position(L){L!==this._position&&(this._position=L,this._overlayRef&&(this._updatePosition(this._overlayRef),this._tooltipInstance?.show(0),this._overlayRef.updatePosition()))}get positionAtOrigin(){return this._positionAtOrigin}set positionAtOrigin(L){this._positionAtOrigin=(0,w.Ig)(L),this._detach(),this._overlayRef=null}get disabled(){return this._disabled}set disabled(L){this._disabled=(0,w.Ig)(L),this._disabled?this.hide(0):this._setupPointerEnterEventsIfNeeded()}get showDelay(){return this._showDelay}set showDelay(L){this._showDelay=(0,w.su)(L)}get hideDelay(){return this._hideDelay}set hideDelay(L){this._hideDelay=(0,w.su)(L),this._tooltipInstance&&(this._tooltipInstance._mouseLeaveHideDelay=this._hideDelay)}get message(){return this._message}set message(L){this._ariaDescriber.removeDescription(this._elementRef.nativeElement,this._message,"tooltip"),this._message=null!=L?String(L).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(L){this._tooltipClass=L,this._tooltipInstance&&this._setTooltipClass(this._tooltipClass)}constructor(L,V,Pe,re,je,et,st,nt,Bt,Je,bt,Oe){this._overlay=L,this._elementRef=V,this._scrollDispatcher=Pe,this._viewContainerRef=re,this._ngZone=je,this._platform=et,this._ariaDescriber=st,this._focusMonitor=nt,this._dir=Je,this._defaultOptions=bt,this._position="below",this._positionAtOrigin=!1,this._disabled=!1,this._viewInitialized=!1,this._pointerExitEventsInitialized=!1,this._viewportMargin=8,this._cssClassPrefix="mat",this.touchGestures="auto",this._message="",this._passiveListeners=[],this._destroyed=new ce.x,this._scrollStrategy=Bt,this._document=Oe,bt&&(this._showDelay=bt.showDelay,this._hideDelay=bt.hideDelay,bt.position&&(this.position=bt.position),bt.positionAtOrigin&&(this.positionAtOrigin=bt.positionAtOrigin),bt.touchGestures&&(this.touchGestures=bt.touchGestures)),Je.change.pipe((0,n.R)(this._destroyed)).subscribe(()=>{this._overlayRef&&this._updatePosition(this._overlayRef)})}ngAfterViewInit(){this._viewInitialized=!0,this._setupPointerEnterEventsIfNeeded(),this._focusMonitor.monitor(this._elementRef).pipe((0,n.R)(this._destroyed)).subscribe(L=>{L?"keyboard"===L&&this._ngZone.run(()=>this.show()):this._ngZone.run(()=>this.hide(0))})}ngOnDestroy(){const L=this._elementRef.nativeElement;clearTimeout(this._touchstartTimeout),this._overlayRef&&(this._overlayRef.dispose(),this._tooltipInstance=null),this._passiveListeners.forEach(([V,Pe])=>{L.removeEventListener(V,Pe,He)}),this._passiveListeners.length=0,this._destroyed.next(),this._destroyed.complete(),this._ariaDescriber.removeDescription(L,this.message,"tooltip"),this._focusMonitor.stopMonitoring(L)}show(L=this.showDelay,V){if(this.disabled||!this.message||this._isTooltipVisible())return void this._tooltipInstance?._cancelPendingAnimations();const Pe=this._createOverlay(V);this._detach(),this._portal=this._portal||new fe.C5(this._tooltipComponent,this._viewContainerRef);const re=this._tooltipInstance=Pe.attach(this._portal).instance;re._triggerElement=this._elementRef.nativeElement,re._mouseLeaveHideDelay=this._hideDelay,re.afterHidden().pipe((0,n.R)(this._destroyed)).subscribe(()=>this._detach()),this._setTooltipClass(this._tooltipClass),this._updateTooltipMessage(),re.show(L)}hide(L=this.hideDelay){const V=this._tooltipInstance;V&&(V.isVisible()?V.hide(L):(V._cancelPendingAnimations(),this._detach()))}toggle(L){this._isTooltipVisible()?this.hide():this.show(void 0,L)}_isTooltipVisible(){return!!this._tooltipInstance&&this._tooltipInstance.isVisible()}_createOverlay(L){if(this._overlayRef){const re=this._overlayRef.getConfig().positionStrategy;if((!this.positionAtOrigin||!L)&&re._origin instanceof H.SBq)return this._overlayRef;this._detach()}const V=this._scrollDispatcher.getAncestorScrollContainers(this._elementRef),Pe=this._overlay.position().flexibleConnectedTo(this.positionAtOrigin&&L||this._elementRef).withTransformOriginOn(`.${this._cssClassPrefix}-tooltip`).withFlexibleDimensions(!1).withViewportMargin(this._viewportMargin).withScrollableContainers(V);return Pe.positionChanges.pipe((0,n.R)(this._destroyed)).subscribe(re=>{this._updateCurrentPositionClass(re.connectionPair),this._tooltipInstance&&re.scrollableViewProperties.isOverlayClipped&&this._tooltipInstance.isVisible()&&this._ngZone.run(()=>this.hide(0))}),this._overlayRef=this._overlay.create({direction:this._dir,positionStrategy:Pe,panelClass:`${this._cssClassPrefix}-${ye}`,scrollStrategy:this._scrollStrategy()}),this._updatePosition(this._overlayRef),this._overlayRef.detachments().pipe((0,n.R)(this._destroyed)).subscribe(()=>this._detach()),this._overlayRef.outsidePointerEvents().pipe((0,n.R)(this._destroyed)).subscribe(()=>this._tooltipInstance?._handleBodyInteraction()),this._overlayRef.keydownEvents().pipe((0,n.R)(this._destroyed)).subscribe(re=>{this._isTooltipVisible()&&re.keyCode===E.hY&&!(0,E.Vb)(re)&&(re.preventDefault(),re.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(L){const V=L.getConfig().positionStrategy,Pe=this._getOrigin(),re=this._getOverlayPosition();V.withPositions([this._addOffset({...Pe.main,...re.main}),this._addOffset({...Pe.fallback,...re.fallback})])}_addOffset(L){return L}_getOrigin(){const L=!this._dir||"ltr"==this._dir.value,V=this.position;let Pe;"above"==V||"below"==V?Pe={originX:"center",originY:"above"==V?"top":"bottom"}:"before"==V||"left"==V&&L||"right"==V&&!L?Pe={originX:"start",originY:"center"}:("after"==V||"right"==V&&L||"left"==V&&!L)&&(Pe={originX:"end",originY:"center"});const{x:re,y:je}=this._invertPosition(Pe.originX,Pe.originY);return{main:Pe,fallback:{originX:re,originY:je}}}_getOverlayPosition(){const L=!this._dir||"ltr"==this._dir.value,V=this.position;let Pe;"above"==V?Pe={overlayX:"center",overlayY:"bottom"}:"below"==V?Pe={overlayX:"center",overlayY:"top"}:"before"==V||"left"==V&&L||"right"==V&&!L?Pe={overlayX:"end",overlayY:"center"}:("after"==V||"right"==V&&L||"left"==V&&!L)&&(Pe={overlayX:"start",overlayY:"center"});const{x:re,y:je}=this._invertPosition(Pe.overlayX,Pe.overlayY);return{main:Pe,fallback:{overlayX:re,overlayY:je}}}_updateTooltipMessage(){this._tooltipInstance&&(this._tooltipInstance.message=this.message,this._tooltipInstance._markForCheck(),this._ngZone.onMicrotaskEmpty.pipe((0,l.q)(1),(0,n.R)(this._destroyed)).subscribe(()=>{this._tooltipInstance&&this._overlayRef.updatePosition()}))}_setTooltipClass(L){this._tooltipInstance&&(this._tooltipInstance.tooltipClass=L,this._tooltipInstance._markForCheck())}_invertPosition(L,V){return"above"===this.position||"below"===this.position?"top"===V?V="bottom":"bottom"===V&&(V="top"):"end"===L?L="start":"start"===L&&(L="end"),{x:L,y:V}}_updateCurrentPositionClass(L){const{overlayY:V,originX:Pe,originY:re}=L;let je;if(je="center"===V?this._dir&&"rtl"===this._dir.value?"end"===Pe?"left":"right":"start"===Pe?"left":"right":"bottom"===V&&"top"===re?"above":"below",je!==this._currentPosition){const et=this._overlayRef;if(et){const st=`${this._cssClassPrefix}-${ye}-`;et.removePanelClass(st+this._currentPosition),et.addPanelClass(st+je)}this._currentPosition=je}}_setupPointerEnterEventsIfNeeded(){this._disabled||!this.message||!this._viewInitialized||this._passiveListeners.length||(this._platformSupportsMouseEvents()?this._passiveListeners.push(["mouseenter",L=>{let V;this._setupPointerExitEventsIfNeeded(),void 0!==L.x&&void 0!==L.y&&(V=L),this.show(void 0,V)}]):"off"!==this.touchGestures&&(this._disableNativeGesturesIfNecessary(),this._passiveListeners.push(["touchstart",L=>{const V=L.targetTouches?.[0],Pe=V?{x:V.clientX,y:V.clientY}:void 0;this._setupPointerExitEventsIfNeeded(),clearTimeout(this._touchstartTimeout),this._touchstartTimeout=setTimeout(()=>this.show(void 0,Pe),500)}])),this._addListeners(this._passiveListeners))}_setupPointerExitEventsIfNeeded(){if(this._pointerExitEventsInitialized)return;this._pointerExitEventsInitialized=!0;const L=[];if(this._platformSupportsMouseEvents())L.push(["mouseleave",V=>{const Pe=V.relatedTarget;(!Pe||!this._overlayRef?.overlayElement.contains(Pe))&&this.hide()}],["wheel",V=>this._wheelListener(V)]);else if("off"!==this.touchGestures){this._disableNativeGesturesIfNecessary();const V=()=>{clearTimeout(this._touchstartTimeout),this.hide(this._defaultOptions.touchendHideDelay)};L.push(["touchend",V],["touchcancel",V])}this._addListeners(L),this._passiveListeners.push(...L)}_addListeners(L){L.forEach(([V,Pe])=>{this._elementRef.nativeElement.addEventListener(V,Pe,He)})}_platformSupportsMouseEvents(){return!this._platform.IOS&&!this._platform.ANDROID}_wheelListener(L){if(this._isTooltipVisible()){const V=this._document.elementFromPoint(L.clientX,L.clientY),Pe=this._elementRef.nativeElement;V!==Pe&&!Pe.contains(V)&&this.hide()}}_disableNativeGesturesIfNecessary(){const L=this.touchGestures;if("off"!==L){const V=this._elementRef.nativeElement,Pe=V.style;("on"===L||"INPUT"!==V.nodeName&&"TEXTAREA"!==V.nodeName)&&(Pe.userSelect=Pe.msUserSelect=Pe.webkitUserSelect=Pe.MozUserSelect="none"),("on"===L||!V.draggable)&&(Pe.webkitUserDrag="none"),Pe.touchAction="none",Pe.webkitTapHighlightColor="transparent"}}static#e=this.\u0275fac=function(V){H.$Z()};static#t=this.\u0275dir=H.lG2({type:B,inputs:{position:["matTooltipPosition","position"],positionAtOrigin:["matTooltipPositionAtOrigin","positionAtOrigin"],disabled:["matTooltipDisabled","disabled"],showDelay:["matTooltipShowDelay","showDelay"],hideDelay:["matTooltipHideDelay","hideDelay"],touchGestures:["matTooltipTouchGestures","touchGestures"],message:["matTooltip","message"],tooltipClass:["matTooltipClass","tooltipClass"]}})}return B})(),Xe=(()=>{class B extends sn{constructor(L,V,Pe,re,je,et,st,nt,Bt,Je,bt,Oe){super(L,V,Pe,re,je,et,st,nt,Bt,Je,bt,Oe),this._tooltipComponent=Y,this._cssClassPrefix="mat-mdc",this._viewportMargin=8}_addOffset(L){const Pe=!this._dir||"ltr"==this._dir.value;return"top"===L.originY?L.offsetY=-8:"bottom"===L.originY?L.offsetY=8:"start"===L.originX?L.offsetX=Pe?-8:8:"end"===L.originX&&(L.offsetX=Pe?8:-8),L}static#e=this.\u0275fac=function(V){return new(V||B)(H.Y36(J.aV),H.Y36(H.SBq),H.Y36(xe.mF),H.Y36(H.s_b),H.Y36(H.R0b),H.Y36(ne.t4),H.Y36(we.$s),H.Y36(we.tE),H.Y36(ze),H.Y36(ie.Is,8),H.Y36(K,8),H.Y36(Q.K0))};static#t=this.\u0275dir=H.lG2({type:B,selectors:[["","matTooltip",""]],hostAttrs:[1,"mat-mdc-tooltip-trigger"],hostVars:2,hostBindings:function(V,Pe){2&V&&H.ekj("mat-mdc-tooltip-disabled",Pe.disabled)},exportAs:["matTooltip"],features:[H.qOj]})}return B})(),At=(()=>{class B{constructor(L,V){this._changeDetectorRef=L,this._closeOnInteraction=!1,this._isVisible=!1,this._onHide=new ce.x,this._animationsDisabled="NoopAnimations"===V}show(L){null!=this._hideTimeoutId&&clearTimeout(this._hideTimeoutId),this._showTimeoutId=setTimeout(()=>{this._toggleVisibility(!0),this._showTimeoutId=void 0},L)}hide(L){null!=this._showTimeoutId&&clearTimeout(this._showTimeoutId),this._hideTimeoutId=setTimeout(()=>{this._toggleVisibility(!1),this._hideTimeoutId=void 0},L)}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:L}){(!L||!this._triggerElement.contains(L))&&(this.isVisible()?this.hide(this._mouseLeaveHideDelay):this._finalizeAnimation(!1))}_onShow(){}_handleAnimationEnd({animationName:L}){(L===this._showAnimation||L===this._hideAnimation)&&this._finalizeAnimation(L===this._showAnimation)}_cancelPendingAnimations(){null!=this._showTimeoutId&&clearTimeout(this._showTimeoutId),null!=this._hideTimeoutId&&clearTimeout(this._hideTimeoutId),this._showTimeoutId=this._hideTimeoutId=void 0}_finalizeAnimation(L){L?this._closeOnInteraction=!0:this.isVisible()||this._onHide.next()}_toggleVisibility(L){const V=this._tooltip.nativeElement,Pe=this._showAnimation,re=this._hideAnimation;if(V.classList.remove(L?re:Pe),V.classList.add(L?Pe:re),this._isVisible=L,L&&!this._animationsDisabled&&"function"==typeof getComputedStyle){const je=getComputedStyle(V);("0s"===je.getPropertyValue("animation-duration")||"none"===je.getPropertyValue("animation-name"))&&(this._animationsDisabled=!0)}L&&this._onShow(),this._animationsDisabled&&(V.classList.add("_mat-animation-noopable"),this._finalizeAnimation(L))}static#e=this.\u0275fac=function(V){return new(V||B)(H.Y36(H.sBO),H.Y36(H.QbO,8))};static#t=this.\u0275dir=H.lG2({type:B})}return B})(),Y=(()=>{class B extends At{constructor(L,V,Pe){super(L,Pe),this._elementRef=V,this._isMultiline=!1,this._showAnimation="mat-mdc-tooltip-show",this._hideAnimation="mat-mdc-tooltip-hide"}_onShow(){this._isMultiline=this._isTooltipMultiline(),this._markForCheck()}_isTooltipMultiline(){const L=this._elementRef.nativeElement.getBoundingClientRect();return L.height>24&&L.width>=200}static#e=this.\u0275fac=function(V){return new(V||B)(H.Y36(H.sBO),H.Y36(H.SBq),H.Y36(H.QbO,8))};static#t=this.\u0275cmp=H.Xpm({type:B,selectors:[["mat-tooltip-component"]],viewQuery:function(V,Pe){if(1&V&&H.Gf(Le,7),2&V){let re;H.iGM(re=H.CRH())&&(Pe._tooltip=re.first)}},hostAttrs:["aria-hidden","true"],hostVars:2,hostBindings:function(V,Pe){1&V&&H.NdJ("mouseleave",function(je){return Pe._handleMouseLeave(je)}),2&V&&H.Udp("zoom",Pe.isVisible()?1:null)},features:[H.qOj],decls:4,vars:4,consts:[[1,"mdc-tooltip","mdc-tooltip--shown","mat-mdc-tooltip",3,"ngClass","animationend"],["tooltip",""],[1,"mdc-tooltip__surface","mdc-tooltip__surface-animation"]],template:function(V,Pe){1&V&&(H.TgZ(0,"div",0,1),H.NdJ("animationend",function(je){return Pe._handleAnimationEnd(je)}),H.TgZ(2,"div",2),H._uU(3),H.qZA()()),2&V&&(H.ekj("mdc-tooltip--multiline",Pe._isMultiline),H.Q6J("ngClass",Pe.tooltipClass),H.xp6(3),H.Oqu(Pe.message))},dependencies:[Q.mk],styles:['.mdc-tooltip__surface{word-break:break-all;word-break:var(--mdc-tooltip-word-break, normal);overflow-wrap:anywhere}.mdc-tooltip--showing-transition .mdc-tooltip__surface-animation{transition:opacity 150ms 0ms cubic-bezier(0, 0, 0.2, 1),transform 150ms 0ms cubic-bezier(0, 0, 0.2, 1)}.mdc-tooltip--hide-transition .mdc-tooltip__surface-animation{transition:opacity 75ms 0ms cubic-bezier(0.4, 0, 1, 1)}.mdc-tooltip{position:fixed;display:none;z-index:9}.mdc-tooltip-wrapper--rich{position:relative}.mdc-tooltip--shown,.mdc-tooltip--showing,.mdc-tooltip--hide{display:inline-flex}.mdc-tooltip--shown.mdc-tooltip--rich,.mdc-tooltip--showing.mdc-tooltip--rich,.mdc-tooltip--hide.mdc-tooltip--rich{display:inline-block;left:-320px;position:absolute}.mdc-tooltip__surface{line-height:16px;padding:4px 8px;min-width:40px;max-width:200px;min-height:24px;max-height:40vh;box-sizing:border-box;overflow:hidden;text-align:center}.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}@media screen and (forced-colors: active){.mdc-tooltip__surface::before{border-color:CanvasText}}.mdc-tooltip--rich .mdc-tooltip__surface{align-items:flex-start;display:flex;flex-direction:column;min-height:24px;min-width:40px;max-width:320px;position:relative}.mdc-tooltip--multiline .mdc-tooltip__surface{text-align:left}[dir=rtl] .mdc-tooltip--multiline .mdc-tooltip__surface,.mdc-tooltip--multiline .mdc-tooltip__surface[dir=rtl]{text-align:right}.mdc-tooltip__surface .mdc-tooltip__title{margin:0 8px}.mdc-tooltip__surface .mdc-tooltip__content{max-width:calc(200px - (2 * 8px));margin:8px;text-align:left}[dir=rtl] .mdc-tooltip__surface .mdc-tooltip__content,.mdc-tooltip__surface .mdc-tooltip__content[dir=rtl]{text-align:right}.mdc-tooltip--rich .mdc-tooltip__surface .mdc-tooltip__content{max-width:calc(320px - (2 * 8px));align-self:stretch}.mdc-tooltip__surface .mdc-tooltip__content-link{text-decoration:none}.mdc-tooltip--rich-actions,.mdc-tooltip__content,.mdc-tooltip__title{z-index:1}.mdc-tooltip__surface-animation{opacity:0;transform:scale(0.8);will-change:transform,opacity}.mdc-tooltip--shown .mdc-tooltip__surface-animation{transform:scale(1);opacity:1}.mdc-tooltip--hide .mdc-tooltip__surface-animation{transform:scale(1)}.mdc-tooltip__caret-surface-top,.mdc-tooltip__caret-surface-bottom{position:absolute;height:24px;width:24px;transform:rotate(35deg) skewY(20deg) scaleX(0.9396926208)}.mdc-tooltip__caret-surface-top .mdc-elevation-overlay,.mdc-tooltip__caret-surface-bottom .mdc-elevation-overlay{width:100%;height:100%;top:0;left:0}.mdc-tooltip__caret-surface-bottom{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);outline:1px solid rgba(0,0,0,0);z-index:-1}@media screen and (forced-colors: active){.mdc-tooltip__caret-surface-bottom{outline-color:CanvasText}}.mat-mdc-tooltip{--mdc-plain-tooltip-container-shape:4px;--mdc-plain-tooltip-supporting-text-line-height:16px}.mat-mdc-tooltip .mdc-tooltip__surface{background-color:var(--mdc-plain-tooltip-container-color)}.mat-mdc-tooltip .mdc-tooltip__surface{border-radius:var(--mdc-plain-tooltip-container-shape)}.mat-mdc-tooltip .mdc-tooltip__caret-surface-top,.mat-mdc-tooltip .mdc-tooltip__caret-surface-bottom{border-radius:var(--mdc-plain-tooltip-container-shape)}.mat-mdc-tooltip .mdc-tooltip__surface{color:var(--mdc-plain-tooltip-supporting-text-color)}.mat-mdc-tooltip .mdc-tooltip__surface{font-family:var(--mdc-plain-tooltip-supporting-text-font);line-height:var(--mdc-plain-tooltip-supporting-text-line-height);font-size:var(--mdc-plain-tooltip-supporting-text-size);font-weight:var(--mdc-plain-tooltip-supporting-text-weight);letter-spacing:var(--mdc-plain-tooltip-supporting-text-tracking)}.mat-mdc-tooltip{position:relative;transform:scale(0)}.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-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})}return B})(),ae=(()=>{class B{static#e=this.\u0275fac=function(V){return new(V||B)};static#t=this.\u0275mod=H.oAB({type:B});static#n=this.\u0275inj=H.cJS({providers:[N],imports:[we.rt,Q.ez,J.U8,Ae.BQ,Ae.BQ,xe.ZD]})}return B})()},6593:(_t,Me,p)=>{p.d(Me,{Cg:()=>Se,Dx:()=>fn,H7:()=>pn,se:()=>He});var n=p(5879),l=p(6814);class w extends l.w_{constructor(){super(...arguments),this.supportsDOMEvents=!0}}class E extends w{static makeCurrent(){(0,l.HT)(new E)}onAndCancel(ee,S,W){return ee.addEventListener(S,W),()=>{ee.removeEventListener(S,W)}}dispatchEvent(ee,S){ee.dispatchEvent(S)}remove(ee){ee.parentNode&&ee.parentNode.removeChild(ee)}createElement(ee,S){return(S=S||this.getDefaultDocument()).createElement(ee)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(ee){return ee.nodeType===Node.ELEMENT_NODE}isShadowRoot(ee){return ee instanceof DocumentFragment}getGlobalEventTarget(ee,S){return"window"===S?window:"document"===S?ee:"body"===S?ee.body:null}getBaseHref(ee){const S=function Q(){return H=H||document.querySelector("base"),H?H.getAttribute("href"):null}();return null==S?null:function we(_e){ne=ne||document.createElement("a"),ne.setAttribute("href",_e);const ee=ne.pathname;return"/"===ee.charAt(0)?ee:`/${ee}`}(S)}resetBaseElement(){H=null}getUserAgent(){return window.navigator.userAgent}getCookie(ee){return(0,l.Mx)(document.cookie,ee)}}let ne,H=null,J=(()=>{class _e{build(){return new XMLHttpRequest}static#e=this.\u0275fac=function(W){return new(W||_e)};static#t=this.\u0275prov=n.Yz7({token:_e,factory:_e.\u0275fac})}return _e})();const xe=new n.OlP("EventManagerPlugins");let fe=(()=>{class _e{constructor(S,W){this._zone=W,this._eventNameToPlugin=new Map,S.forEach(Ne=>{Ne.manager=this}),this._plugins=S.slice().reverse()}addEventListener(S,W,Ne){return this._findPluginFor(W).addEventListener(S,W,Ne)}getZone(){return this._zone}_findPluginFor(S){let W=this._eventNameToPlugin.get(S);if(W)return W;if(W=this._plugins.find(yt=>yt.supports(S)),!W)throw new n.vHH(5101,!1);return this._eventNameToPlugin.set(S,W),W}static#e=this.\u0275fac=function(W){return new(W||_e)(n.LFG(xe),n.LFG(n.R0b))};static#t=this.\u0275prov=n.Yz7({token:_e,factory:_e.\u0275fac})}return _e})();class ce{constructor(ee){this._doc=ee}}const De="ng-app-id";let Ae=(()=>{class _e{constructor(S,W,Ne,yt={}){this.doc=S,this.appId=W,this.nonce=Ne,this.platformId=yt,this.styleRef=new Map,this.hostNodes=new Set,this.styleNodesInDOM=this.collectServerRenderedStyles(),this.platformIsServer=(0,l.PM)(yt),this.resetHostNodes()}addStyles(S){for(const W of S)1===this.changeUsageCount(W,1)&&this.onStyleAdded(W)}removeStyles(S){for(const W of S)this.changeUsageCount(W,-1)<=0&&this.onStyleRemoved(W)}ngOnDestroy(){const S=this.styleNodesInDOM;S&&(S.forEach(W=>W.remove()),S.clear());for(const W of this.getAllStyles())this.onStyleRemoved(W);this.resetHostNodes()}addHost(S){this.hostNodes.add(S);for(const W of this.getAllStyles())this.addStyleToHost(S,W)}removeHost(S){this.hostNodes.delete(S)}getAllStyles(){return this.styleRef.keys()}onStyleAdded(S){for(const W of this.hostNodes)this.addStyleToHost(W,S)}onStyleRemoved(S){const W=this.styleRef;W.get(S)?.elements?.forEach(Ne=>Ne.remove()),W.delete(S)}collectServerRenderedStyles(){const S=this.doc.head?.querySelectorAll(`style[${De}="${this.appId}"]`);if(S?.length){const W=new Map;return S.forEach(Ne=>{null!=Ne.textContent&&W.set(Ne.textContent,Ne)}),W}return null}changeUsageCount(S,W){const Ne=this.styleRef;if(Ne.has(S)){const yt=Ne.get(S);return yt.usage+=W,yt.usage}return Ne.set(S,{usage:W,elements:[]}),W}getStyleElement(S,W){const Ne=this.styleNodesInDOM,yt=Ne?.get(W);if(yt?.parentNode===S)return Ne.delete(W),yt.removeAttribute(De),yt;{const Pt=this.doc.createElement("style");return this.nonce&&Pt.setAttribute("nonce",this.nonce),Pt.textContent=W,this.platformIsServer&&Pt.setAttribute(De,this.appId),Pt}}addStyleToHost(S,W){const Ne=this.getStyleElement(S,W);S.appendChild(Ne);const yt=this.styleRef,Pt=yt.get(W)?.elements;Pt?Pt.push(Ne):yt.set(W,{elements:[Ne],usage:1})}resetHostNodes(){const S=this.hostNodes;S.clear(),S.add(this.doc.head)}static#e=this.\u0275fac=function(W){return new(W||_e)(n.LFG(l.K0),n.LFG(n.AFp),n.LFG(n.Ojb,8),n.LFG(n.Lbi))};static#t=this.\u0275prov=n.Yz7({token:_e,factory:_e.\u0275fac})}return _e})();const Le={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/MathML/"},se=/%COMP%/g,Ce=new n.OlP("RemoveStylesOnCompDestroy",{providedIn:"root",factory:()=>!1});function ye(_e,ee){return ee.map(S=>S.replace(se,_e))}let He=(()=>{class _e{constructor(S,W,Ne,yt,Pt,at,wt,de=null){this.eventManager=S,this.sharedStylesHost=W,this.appId=Ne,this.removeStylesOnCompDestroy=yt,this.doc=Pt,this.platformId=at,this.ngZone=wt,this.nonce=de,this.rendererByCompId=new Map,this.platformIsServer=(0,l.PM)(at),this.defaultRenderer=new ft(S,Pt,wt,this.platformIsServer)}createRenderer(S,W){if(!S||!W)return this.defaultRenderer;this.platformIsServer&&W.encapsulation===n.ifc.ShadowDom&&(W={...W,encapsulation:n.ifc.Emulated});const Ne=this.getOrCreateRenderer(S,W);return Ne instanceof Xe?Ne.applyToHost(S):Ne instanceof sn&&Ne.applyStyles(),Ne}getOrCreateRenderer(S,W){const Ne=this.rendererByCompId;let yt=Ne.get(W.id);if(!yt){const Pt=this.doc,at=this.ngZone,wt=this.eventManager,de=this.sharedStylesHost,ke=this.removeStylesOnCompDestroy,Ke=this.platformIsServer;switch(W.encapsulation){case n.ifc.Emulated:yt=new Xe(wt,de,W,this.appId,ke,Pt,at,Ke);break;case n.ifc.ShadowDom:return new It(wt,de,S,W,Pt,at,this.nonce,Ke);default:yt=new sn(wt,de,W,ke,Pt,at,Ke)}Ne.set(W.id,yt)}return yt}ngOnDestroy(){this.rendererByCompId.clear()}static#e=this.\u0275fac=function(W){return new(W||_e)(n.LFG(fe),n.LFG(Ae),n.LFG(n.AFp),n.LFG(Ce),n.LFG(l.K0),n.LFG(n.Lbi),n.LFG(n.R0b),n.LFG(n.Ojb))};static#t=this.\u0275prov=n.Yz7({token:_e,factory:_e.\u0275fac})}return _e})();class ft{constructor(ee,S,W,Ne){this.eventManager=ee,this.doc=S,this.ngZone=W,this.platformIsServer=Ne,this.data=Object.create(null),this.destroyNode=null}destroy(){}createElement(ee,S){return S?this.doc.createElementNS(Le[S]||S,ee):this.doc.createElement(ee)}createComment(ee){return this.doc.createComment(ee)}createText(ee){return this.doc.createTextNode(ee)}appendChild(ee,S){(Ut(ee)?ee.content:ee).appendChild(S)}insertBefore(ee,S,W){ee&&(Ut(ee)?ee.content:ee).insertBefore(S,W)}removeChild(ee,S){ee&&ee.removeChild(S)}selectRootElement(ee,S){let W="string"==typeof ee?this.doc.querySelector(ee):ee;if(!W)throw new n.vHH(-5104,!1);return S||(W.textContent=""),W}parentNode(ee){return ee.parentNode}nextSibling(ee){return ee.nextSibling}setAttribute(ee,S,W,Ne){if(Ne){S=Ne+":"+S;const yt=Le[Ne];yt?ee.setAttributeNS(yt,S,W):ee.setAttribute(S,W)}else ee.setAttribute(S,W)}removeAttribute(ee,S,W){if(W){const Ne=Le[W];Ne?ee.removeAttributeNS(Ne,S):ee.removeAttribute(`${W}:${S}`)}else ee.removeAttribute(S)}addClass(ee,S){ee.classList.add(S)}removeClass(ee,S){ee.classList.remove(S)}setStyle(ee,S,W,Ne){Ne&(n.JOm.DashCase|n.JOm.Important)?ee.style.setProperty(S,W,Ne&n.JOm.Important?"important":""):ee.style[S]=W}removeStyle(ee,S,W){W&n.JOm.DashCase?ee.style.removeProperty(S):ee.style[S]=""}setProperty(ee,S,W){ee[S]=W}setValue(ee,S){ee.nodeValue=S}listen(ee,S,W){if("string"==typeof ee&&!(ee=(0,l.q)().getGlobalEventTarget(this.doc,ee)))throw new Error(`Unsupported event target ${ee} for event ${S}`);return this.eventManager.addEventListener(ee,S,this.decoratePreventDefault(W))}decoratePreventDefault(ee){return S=>{if("__ngUnwrap__"===S)return ee;!1===(this.platformIsServer?this.ngZone.runGuarded(()=>ee(S)):ee(S))&&S.preventDefault()}}}function Ut(_e){return"TEMPLATE"===_e.tagName&&void 0!==_e.content}class It extends ft{constructor(ee,S,W,Ne,yt,Pt,at,wt){super(ee,yt,Pt,wt),this.sharedStylesHost=S,this.hostEl=W,this.shadowRoot=W.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);const de=ye(Ne.id,Ne.styles);for(const ke of de){const Ke=document.createElement("style");at&&Ke.setAttribute("nonce",at),Ke.textContent=ke,this.shadowRoot.appendChild(Ke)}}nodeOrShadowRoot(ee){return ee===this.hostEl?this.shadowRoot:ee}appendChild(ee,S){return super.appendChild(this.nodeOrShadowRoot(ee),S)}insertBefore(ee,S,W){return super.insertBefore(this.nodeOrShadowRoot(ee),S,W)}removeChild(ee,S){return super.removeChild(this.nodeOrShadowRoot(ee),S)}parentNode(ee){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(ee)))}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot)}}class sn extends ft{constructor(ee,S,W,Ne,yt,Pt,at,wt){super(ee,yt,Pt,at),this.sharedStylesHost=S,this.removeStylesOnCompDestroy=Ne,this.styles=wt?ye(wt,W.styles):W.styles}applyStyles(){this.sharedStylesHost.addStyles(this.styles)}destroy(){this.removeStylesOnCompDestroy&&this.sharedStylesHost.removeStyles(this.styles)}}class Xe extends sn{constructor(ee,S,W,Ne,yt,Pt,at,wt){const de=Ne+"-"+W.id;super(ee,S,W,yt,Pt,at,wt,de),this.contentAttr=function K(_e){return"_ngcontent-%COMP%".replace(se,_e)}(de),this.hostAttr=function ve(_e){return"_nghost-%COMP%".replace(se,_e)}(de)}applyToHost(ee){this.applyStyles(),this.setAttribute(ee,this.hostAttr,"")}createElement(ee,S){const W=super.createElement(ee,S);return super.setAttribute(W,this.contentAttr,""),W}}let At=(()=>{class _e extends ce{constructor(S){super(S)}supports(S){return!0}addEventListener(S,W,Ne){return S.addEventListener(W,Ne,!1),()=>this.removeEventListener(S,W,Ne)}removeEventListener(S,W,Ne){return S.removeEventListener(W,Ne)}static#e=this.\u0275fac=function(W){return new(W||_e)(n.LFG(l.K0))};static#t=this.\u0275prov=n.Yz7({token:_e,factory:_e.\u0275fac})}return _e})();const Y=["alt","control","meta","shift"],P={"\b":"Backspace","\t":"Tab","\x7f":"Delete","\x1b":"Escape",Del:"Delete",Esc:"Escape",Left:"ArrowLeft",Right:"ArrowRight",Up:"ArrowUp",Down:"ArrowDown",Menu:"ContextMenu",Scroll:"ScrollLock",Win:"OS"},ae={alt:_e=>_e.altKey,control:_e=>_e.ctrlKey,meta:_e=>_e.metaKey,shift:_e=>_e.shiftKey};let B=(()=>{class _e extends ce{constructor(S){super(S)}supports(S){return null!=_e.parseEventName(S)}addEventListener(S,W,Ne){const yt=_e.parseEventName(W),Pt=_e.eventCallback(yt.fullKey,Ne,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>(0,l.q)().onAndCancel(S,yt.domEventName,Pt))}static parseEventName(S){const W=S.toLowerCase().split("."),Ne=W.shift();if(0===W.length||"keydown"!==Ne&&"keyup"!==Ne)return null;const yt=_e._normalizeKey(W.pop());let Pt="",at=W.indexOf("code");if(at>-1&&(W.splice(at,1),Pt="code."),Y.forEach(de=>{const ke=W.indexOf(de);ke>-1&&(W.splice(ke,1),Pt+=de+".")}),Pt+=yt,0!=W.length||0===yt.length)return null;const wt={};return wt.domEventName=Ne,wt.fullKey=Pt,wt}static matchEventFullKeyCode(S,W){let Ne=P[S.key]||S.key,yt="";return W.indexOf("code.")>-1&&(Ne=S.code,yt="code."),!(null==Ne||!Ne)&&(Ne=Ne.toLowerCase()," "===Ne?Ne="space":"."===Ne&&(Ne="dot"),Y.forEach(Pt=>{Pt!==Ne&&(0,ae[Pt])(S)&&(yt+=Pt+".")}),yt+=Ne,yt===W)}static eventCallback(S,W,Ne){return yt=>{_e.matchEventFullKeyCode(yt,S)&&Ne.runGuarded(()=>W(yt))}}static _normalizeKey(S){return"esc"===S?"escape":S}static#e=this.\u0275fac=function(W){return new(W||_e)(n.LFG(l.K0))};static#t=this.\u0275prov=n.Yz7({token:_e,factory:_e.\u0275fac})}return _e})();function Se(_e,ee){return(0,n.iPO)({rootComponent:_e,...V(ee)})}function V(_e){return{appProviders:[...bt,..._e?.providers??[]],platformProviders:st}}const st=[{provide:n.Lbi,useValue:l.bD},{provide:n.g9A,useValue:function re(){E.makeCurrent()},multi:!0},{provide:l.K0,useFactory:function et(){return(0,n.RDi)(document),document},deps:[]}],bt=[{provide:n.zSh,useValue:"root"},{provide:n.qLn,useFactory:function je(){return new n.qLn},deps:[]},{provide:xe,useClass:At,multi:!0,deps:[l.K0,n.R0b,n.Lbi]},{provide:xe,useClass:B,multi:!0,deps:[l.K0]},He,Ae,fe,{provide:n.FYo,useExisting:He},{provide:l.JF,useClass:J,deps:[]},[]];let fn=(()=>{class _e{constructor(S){this._doc=S}getTitle(){return this._doc.title}setTitle(S){this._doc.title=S||""}static#e=this.\u0275fac=function(W){return new(W||_e)(n.LFG(l.K0))};static#t=this.\u0275prov=n.Yz7({token:_e,factory:function(W){let Ne=null;return Ne=W?new W:function tn(){return new fn((0,n.LFG)(l.K0))}(),Ne},providedIn:"root"})}return _e})();typeof window<"u"&&window;let pn=(()=>{class _e{static#e=this.\u0275fac=function(W){return new(W||_e)};static#t=this.\u0275prov=n.Yz7({token:_e,factory:function(W){let Ne=null;return Ne=W?new(W||_e):n.LFG(yn),Ne},providedIn:"root"})}return _e})(),yn=(()=>{class _e extends pn{constructor(S){super(),this._doc=S}sanitize(S,W){if(null==W)return null;switch(S){case n.q3G.NONE:return W;case n.q3G.HTML:return(0,n.qzn)(W,"HTML")?(0,n.z3N)(W):(0,n.EiD)(this._doc,String(W)).toString();case n.q3G.STYLE:return(0,n.qzn)(W,"Style")?(0,n.z3N)(W):W;case n.q3G.SCRIPT:if((0,n.qzn)(W,"Script"))return(0,n.z3N)(W);throw new n.vHH(5200,!1);case n.q3G.URL:return(0,n.qzn)(W,"URL")?(0,n.z3N)(W):(0,n.mCW)(String(W));case n.q3G.RESOURCE_URL:if((0,n.qzn)(W,"ResourceURL"))return(0,n.z3N)(W);throw new n.vHH(5201,!1);default:throw new n.vHH(5202,!1)}}bypassSecurityTrustHtml(S){return(0,n.JVY)(S)}bypassSecurityTrustStyle(S){return(0,n.L6k)(S)}bypassSecurityTrustScript(S){return(0,n.eBb)(S)}bypassSecurityTrustUrl(S){return(0,n.LAX)(S)}bypassSecurityTrustResourceUrl(S){return(0,n.pB0)(S)}static#e=this.\u0275fac=function(W){return new(W||_e)(n.LFG(l.K0))};static#t=this.\u0275prov=n.Yz7({token:_e,factory:function(W){let Ne=null;return Ne=W?new W:function gn(_e){return new yn(_e.get(l.K0))}(n.LFG(n.zs3)),Ne},providedIn:"root"})}return _e})()},4318:(_t,Me,p)=>{p.d(Me,{YK:()=>qe,zA:()=>li,tf:()=>Et,sj:()=>Tn});var n=p(6814),l=p(5879),w=p(3651),E=p(4300),H=p(8484),Q=p(2296),ne=p(2495),we=p(6028),ie=p(6223),J=p(4516),xe=p(7394),fe=p(2096),ce=p(3019),De=p(8645),Ae=p(9157),Le=p(3680),se=p(8180),ue=p(2181),ze=p(6825);function oe(A,q){(function Ce(A){return"string"==typeof A&&-1!==A.indexOf(".")&&1===parseFloat(A)})(A)&&(A="100%");var x=function K(A){return"string"==typeof A&&-1!==A.indexOf("%")}(A);return A=360===q?A:Math.min(q,Math.max(0,parseFloat(A))),x&&(A=parseInt(String(A*q),10)/100),Math.abs(A-q)<1e-6?1:A=360===q?(A<0?A%q+q:A%q)/parseFloat(String(q)):A%q/parseFloat(String(q))}function N(A){return Math.min(1,Math.max(0,A))}function ve(A){return A=parseFloat(A),(isNaN(A)||A<0||A>1)&&(A=1),A}function ye(A){return A<=1?"".concat(100*Number(A),"%"):A}function He(A){return 1===A.length?"0"+A:String(A)}function ct(A,q,x){A=oe(A,255),q=oe(q,255),x=oe(x,255);var Z=Math.max(A,q,x),he=Math.min(A,q,x),Ze=0,gt=0,Jt=(Z+he)/2;if(Z===he)gt=0,Ze=0;else{var Yt=Z-he;switch(gt=Jt>.5?Yt/(2-Z-he):Yt/(Z+he),Z){case A:Ze=(q-x)/Yt+(q1&&(x-=1),x<1/6?A+6*x*(q-A):x<.5?q:x<2/3?A+(q-A)*(2/3-x)*6:A}function It(A,q,x){A=oe(A,255),q=oe(q,255),x=oe(x,255);var Z=Math.max(A,q,x),he=Math.min(A,q,x),Ze=0,gt=Z,Jt=Z-he,Yt=0===Z?0:Jt/Z;if(Z===he)Ze=0;else{switch(Z){case A:Ze=(q-x)/Jt+(q>16,g:(65280&A)>>8,b:255&A}}(q)),this.originalInput=q;var he=function V(A){var q={r:0,g:0,b:0},x=1,Z=null,he=null,Ze=null,gt=!1,Jt=!1;return"string"==typeof A&&(A=function Bt(A){if(0===(A=A.trim().toLowerCase()).length)return!1;var q=!1;if(L[A])A=L[A],q=!0;else if("transparent"===A)return{r:0,g:0,b:0,a:0,format:"name"};var x=nt.rgb.exec(A);return x?{r:x[1],g:x[2],b:x[3]}:(x=nt.rgba.exec(A))?{r:x[1],g:x[2],b:x[3],a:x[4]}:(x=nt.hsl.exec(A))?{h:x[1],s:x[2],l:x[3]}:(x=nt.hsla.exec(A))?{h:x[1],s:x[2],l:x[3],a:x[4]}:(x=nt.hsv.exec(A))?{h:x[1],s:x[2],v:x[3]}:(x=nt.hsva.exec(A))?{h:x[1],s:x[2],v:x[3],a:x[4]}:(x=nt.hex8.exec(A))?{r:B(x[1]),g:B(x[2]),b:B(x[3]),a:ae(x[4]),format:q?"name":"hex8"}:(x=nt.hex6.exec(A))?{r:B(x[1]),g:B(x[2]),b:B(x[3]),format:q?"name":"hex"}:(x=nt.hex4.exec(A))?{r:B(x[1]+x[1]),g:B(x[2]+x[2]),b:B(x[3]+x[3]),a:ae(x[4]+x[4]),format:q?"name":"hex8"}:!!(x=nt.hex3.exec(A))&&{r:B(x[1]+x[1]),g:B(x[2]+x[2]),b:B(x[3]+x[3]),format:q?"name":"hex"}}(A)),"object"==typeof A&&(Je(A.r)&&Je(A.g)&&Je(A.b)?(q=function ft(A,q,x){return{r:255*oe(A,255),g:255*oe(q,255),b:255*oe(x,255)}}(A.r,A.g,A.b),gt=!0,Jt="%"===String(A.r).substr(-1)?"prgb":"rgb"):Je(A.h)&&Je(A.s)&&Je(A.v)?(Z=ye(A.s),he=ye(A.v),q=function sn(A,q,x){A=6*oe(A,360),q=oe(q,100),x=oe(x,100);var Z=Math.floor(A),he=A-Z,Ze=x*(1-q),gt=x*(1-he*q),Jt=x*(1-(1-he)*q),Yt=Z%6;return{r:255*[x,gt,Ze,Ze,Jt,x][Yt],g:255*[Jt,x,x,gt,Ze,Ze][Yt],b:255*[Ze,Ze,Jt,x,x,gt][Yt]}}(A.h,Z,he),gt=!0,Jt="hsv"):Je(A.h)&&Je(A.s)&&Je(A.l)&&(Z=ye(A.s),Ze=ye(A.l),q=function Ut(A,q,x){var Z,he,Ze;if(A=oe(A,360),q=oe(q,100),x=oe(x,100),0===q)he=x,Ze=x,Z=x;else{var gt=x<.5?x*(1+q):x+q-x*q,Jt=2*x-gt;Z=xt(Jt,gt,A+1/3),he=xt(Jt,gt,A),Ze=xt(Jt,gt,A-1/3)}return{r:255*Z,g:255*he,b:255*Ze}}(A.h,Z,Ze),gt=!0,Jt="hsl"),Object.prototype.hasOwnProperty.call(A,"a")&&(x=A.a)),x=ve(x),{ok:gt,format:A.format||Jt,r:Math.min(255,Math.max(q.r,0)),g:Math.min(255,Math.max(q.g,0)),b:Math.min(255,Math.max(q.b,0)),a:x}}(q);this.originalInput=q,this.r=he.r,this.g=he.g,this.b=he.b,this.a=he.a,this.roundA=Math.round(100*this.a)/100,this.format=null!==(Z=x.format)&&void 0!==Z?Z:he.format,this.gradientType=x.gradientType,this.r<1&&(this.r=Math.round(this.r)),this.g<1&&(this.g=Math.round(this.g)),this.b<1&&(this.b=Math.round(this.b)),this.isValid=he.ok}return A.prototype.isDark=function(){return this.getBrightness()<128},A.prototype.isLight=function(){return!this.isDark()},A.prototype.getBrightness=function(){var q=this.toRgb();return(299*q.r+587*q.g+114*q.b)/1e3},A.prototype.getLuminance=function(){var q=this.toRgb(),Ze=q.r/255,gt=q.g/255,Jt=q.b/255;return.2126*(Ze<=.03928?Ze/12.92:Math.pow((Ze+.055)/1.055,2.4))+.7152*(gt<=.03928?gt/12.92:Math.pow((gt+.055)/1.055,2.4))+.0722*(Jt<=.03928?Jt/12.92:Math.pow((Jt+.055)/1.055,2.4))},A.prototype.getAlpha=function(){return this.a},A.prototype.setAlpha=function(q){return this.a=ve(q),this.roundA=Math.round(100*this.a)/100,this},A.prototype.isMonochrome=function(){return 0===this.toHsl().s},A.prototype.toHsv=function(){var q=It(this.r,this.g,this.b);return{h:360*q.h,s:q.s,v:q.v,a:this.a}},A.prototype.toHsvString=function(){var q=It(this.r,this.g,this.b),x=Math.round(360*q.h),Z=Math.round(100*q.s),he=Math.round(100*q.v);return 1===this.a?"hsv(".concat(x,", ").concat(Z,"%, ").concat(he,"%)"):"hsva(".concat(x,", ").concat(Z,"%, ").concat(he,"%, ").concat(this.roundA,")")},A.prototype.toHsl=function(){var q=ct(this.r,this.g,this.b);return{h:360*q.h,s:q.s,l:q.l,a:this.a}},A.prototype.toHslString=function(){var q=ct(this.r,this.g,this.b),x=Math.round(360*q.h),Z=Math.round(100*q.s),he=Math.round(100*q.l);return 1===this.a?"hsl(".concat(x,", ").concat(Z,"%, ").concat(he,"%)"):"hsla(".concat(x,", ").concat(Z,"%, ").concat(he,"%, ").concat(this.roundA,")")},A.prototype.toHex=function(q){return void 0===q&&(q=!1),Xe(this.r,this.g,this.b,q)},A.prototype.toHexString=function(q){return void 0===q&&(q=!1),"#"+this.toHex(q)},A.prototype.toHex8=function(q){return void 0===q&&(q=!1),function At(A,q,x,Z,he){var Ze=[He(Math.round(A).toString(16)),He(Math.round(q).toString(16)),He(Math.round(x).toString(16)),He(P(Z))];return he&&Ze[0].startsWith(Ze[0].charAt(1))&&Ze[1].startsWith(Ze[1].charAt(1))&&Ze[2].startsWith(Ze[2].charAt(1))&&Ze[3].startsWith(Ze[3].charAt(1))?Ze[0].charAt(0)+Ze[1].charAt(0)+Ze[2].charAt(0)+Ze[3].charAt(0):Ze.join("")}(this.r,this.g,this.b,this.a,q)},A.prototype.toHex8String=function(q){return void 0===q&&(q=!1),"#"+this.toHex8(q)},A.prototype.toHexShortString=function(q){return void 0===q&&(q=!1),1===this.a?this.toHexString(q):this.toHex8String(q)},A.prototype.toRgb=function(){return{r:Math.round(this.r),g:Math.round(this.g),b:Math.round(this.b),a:this.a}},A.prototype.toRgbString=function(){var q=Math.round(this.r),x=Math.round(this.g),Z=Math.round(this.b);return 1===this.a?"rgb(".concat(q,", ").concat(x,", ").concat(Z,")"):"rgba(".concat(q,", ").concat(x,", ").concat(Z,", ").concat(this.roundA,")")},A.prototype.toPercentageRgb=function(){var q=function(x){return"".concat(Math.round(100*oe(x,255)),"%")};return{r:q(this.r),g:q(this.g),b:q(this.b),a:this.a}},A.prototype.toPercentageRgbString=function(){var q=function(x){return Math.round(100*oe(x,255))};return 1===this.a?"rgb(".concat(q(this.r),"%, ").concat(q(this.g),"%, ").concat(q(this.b),"%)"):"rgba(".concat(q(this.r),"%, ").concat(q(this.g),"%, ").concat(q(this.b),"%, ").concat(this.roundA,")")},A.prototype.toName=function(){if(0===this.a)return"transparent";if(this.a<1)return!1;for(var q="#"+Xe(this.r,this.g,this.b,!1),x=0,Z=Object.entries(L);x=0&&(q.startsWith("hex")||"name"===q)?"name"===q&&0===this.a?this.toName():this.toRgbString():("rgb"===q&&(Z=this.toRgbString()),"prgb"===q&&(Z=this.toPercentageRgbString()),("hex"===q||"hex6"===q)&&(Z=this.toHexString()),"hex3"===q&&(Z=this.toHexString(!0)),"hex4"===q&&(Z=this.toHex8String(!0)),"hex8"===q&&(Z=this.toHex8String()),"name"===q&&(Z=this.toName()),"hsl"===q&&(Z=this.toHslString()),"hsv"===q&&(Z=this.toHsvString()),Z||this.toHexString())},A.prototype.toNumber=function(){return(Math.round(this.r)<<16)+(Math.round(this.g)<<8)+Math.round(this.b)},A.prototype.clone=function(){return new A(this.toString())},A.prototype.lighten=function(q){void 0===q&&(q=10);var x=this.toHsl();return x.l+=q/100,x.l=N(x.l),new A(x)},A.prototype.brighten=function(q){void 0===q&&(q=10);var x=this.toRgb();return x.r=Math.max(0,Math.min(255,x.r-Math.round(-q/100*255))),x.g=Math.max(0,Math.min(255,x.g-Math.round(-q/100*255))),x.b=Math.max(0,Math.min(255,x.b-Math.round(-q/100*255))),new A(x)},A.prototype.darken=function(q){void 0===q&&(q=10);var x=this.toHsl();return x.l-=q/100,x.l=N(x.l),new A(x)},A.prototype.tint=function(q){return void 0===q&&(q=10),this.mix("white",q)},A.prototype.shade=function(q){return void 0===q&&(q=10),this.mix("black",q)},A.prototype.desaturate=function(q){void 0===q&&(q=10);var x=this.toHsl();return x.s-=q/100,x.s=N(x.s),new A(x)},A.prototype.saturate=function(q){void 0===q&&(q=10);var x=this.toHsl();return x.s+=q/100,x.s=N(x.s),new A(x)},A.prototype.greyscale=function(){return this.desaturate(100)},A.prototype.spin=function(q){var x=this.toHsl(),Z=(x.h+q)%360;return x.h=Z<0?360+Z:Z,new A(x)},A.prototype.mix=function(q,x){void 0===x&&(x=50);var Z=this.toRgb(),he=new A(q).toRgb(),Ze=x/100;return new A({r:(he.r-Z.r)*Ze+Z.r,g:(he.g-Z.g)*Ze+Z.g,b:(he.b-Z.b)*Ze+Z.b,a:(he.a-Z.a)*Ze+Z.a})},A.prototype.analogous=function(q,x){void 0===q&&(q=6),void 0===x&&(x=30);var Z=this.toHsl(),he=360/x,Ze=[this];for(Z.h=(Z.h-(he*q>>1)+720)%360;--q;)Z.h=(Z.h+he)%360,Ze.push(new A(Z));return Ze},A.prototype.complement=function(){var q=this.toHsl();return q.h=(q.h+180)%360,new A(q)},A.prototype.monochromatic=function(q){void 0===q&&(q=6);for(var x=this.toHsv(),Z=x.h,he=x.s,Ze=x.v,gt=[],Jt=1/q;q--;)gt.push(new A({h:Z,s:he,v:Ze})),Ze=(Ze+Jt)%1;return gt},A.prototype.splitcomplement=function(){var q=this.toHsl(),x=q.h;return[this,new A({h:(x+72)%360,s:q.s,l:q.l}),new A({h:(x+216)%360,s:q.s,l:q.l})]},A.prototype.onBackground=function(q){var x=this.toRgb(),Z=new A(q).toRgb(),he=x.a+Z.a*(1-x.a);return new A({r:(x.r*x.a+Z.r*Z.a*(1-x.a))/he,g:(x.g*x.a+Z.g*Z.a*(1-x.a))/he,b:(x.b*x.a+Z.b*Z.a*(1-x.a))/he,a:he})},A.prototype.triad=function(){return this.polyad(3)},A.prototype.tetrad=function(){return this.polyad(4)},A.prototype.polyad=function(q){for(var x=this.toHsl(),Z=x.h,he=[this],Ze=360/q,gt=1;gt{class A{white="transparent";size=8;grey="rgba(0,0,0,.08)";boxShadow;borderRadius;gridStyles;ngOnInit(){const x=function Be(A,q,x){const Z=`${A}-${q}-${x}`;if($[Z])return $[Z];const he=function be(A,q,x){if(typeof document>"u")return null;const Z=document.createElement("canvas");Z.width=2*x,Z.height=2*x;const he=Z.getContext("2d");return he?(he.fillStyle=A,he.fillRect(0,0,Z.width,Z.height),he.fillStyle=q,he.fillRect(0,0,x,x),he.translate(x,x),he.fillRect(0,0,x,x),Z.toDataURL()):null}(A,q,x);return he?($[Z]=he,he):null}(this.white,this.grey,this.size);this.gridStyles={borderRadius:this.borderRadius,boxShadow:this.boxShadow,background:`url(${x}) center left`}}static \u0275fac=function(Z){return new(Z||A)};static \u0275cmp=l.Xpm({type:A,selectors:[["color-checkboard"]],inputs:{white:"white",size:"size",grey:"grey",boxShadow:"boxShadow",borderRadius:"borderRadius"},decls:1,vars:1,consts:[[1,"grid",3,"ngStyle"]],template:function(Z,he){1&Z&&l._UZ(0,"div",0),2&Z&&l.Q6J("ngStyle",he.gridStyles)},dependencies:[n.PC],styles:[".grid[_ngcontent-%COMP%]{inset:0;position:absolute}"],changeDetection:0})}return A})(),ht=(()=>{class A{static \u0275fac=function(Z){return new(Z||A)};static \u0275mod=l.oAB({type:A});static \u0275inj=l.cJS({imports:[n.ez]})}return A})(),mt=(()=>{class A{el;coordinatesChange=new De.x;mousechange=new De.x;mouseListening=!1;sub;mousemove(x,Z,he,Ze=!1){this.mouseListening&&(x.preventDefault(),this.mousechange.next({$event:x,x:Z,y:he,isTouch:Ze}))}mouseup(){this.mouseListening=!1}mousedown(x,Z,he,Ze=!1){x.preventDefault(),this.mouseListening=!0,this.mousechange.next({$event:x,x:Z,y:he,isTouch:Ze})}constructor(x){this.el=x}ngOnInit(){this.sub=this.mousechange.pipe((0,vt.x)((x,Z)=>x.x===Z.x&&x.y===Z.y)).subscribe(x=>this.handleChange(x.x,x.y,x.$event,x.isTouch))}ngOnDestroy(){this.sub?.unsubscribe()}handleChange(x,Z,he,Ze){const gt=this.el.nativeElement.clientWidth,Jt=this.el.nativeElement.clientHeight,Yt=x-(this.el.nativeElement.getBoundingClientRect().left+window.pageXOffset);let Hn=Z-this.el.nativeElement.getBoundingClientRect().top;Ze||(Hn-=window.pageYOffset),this.coordinatesChange.next({x,y:Z,top:Hn,left:Yt,containerWidth:gt,containerHeight:Jt,$event:he})}static \u0275fac=function(Z){return new(Z||A)(l.Y36(l.SBq))};static \u0275dir=l.lG2({type:A,selectors:[["","ngx-color-coordinates",""]],hostBindings:function(Z,he){1&Z&&l.NdJ("mousemove",function(gt){return he.mousemove(gt,gt.pageX,gt.pageY)},!1,l.Jf7)("touchmove",function(gt){return he.mousemove(gt,gt.touches[0].clientX,gt.touches[0].clientY,!0)},!1,l.Jf7)("mouseup",function(){return he.mouseup()},!1,l.Jf7)("touchend",function(){return he.mouseup()},!1,l.Jf7)("mousedown",function(gt){return he.mousedown(gt,gt.pageX,gt.pageY)})("touchstart",function(gt){return he.mousedown(gt,gt.touches[0].clientX,gt.touches[0].clientY,!0)})},outputs:{coordinatesChange:"coordinatesChange"}})}return A})(),Mt=(()=>{class A{static \u0275fac=function(Z){return new(Z||A)};static \u0275mod=l.oAB({type:A});static \u0275inj=l.cJS({})}return A})(),ln=(()=>{class A{hsl;rgb;pointer;shadow;radius;direction="horizontal";onChange=new l.vpe;gradient;pointerLeft;pointerTop;ngOnChanges(){"vertical"===this.direction?(this.pointerLeft=0,this.pointerTop=100*this.rgb.a,this.gradient={background:`linear-gradient(to bottom, rgba(${this.rgb.r},${this.rgb.g},${this.rgb.b}, 0) 0%,\n rgba(${this.rgb.r},${this.rgb.g},${this.rgb.b}, 1) 100%)`}):(this.gradient={background:`linear-gradient(to right, rgba(${this.rgb.r},${this.rgb.g},${this.rgb.b}, 0) 0%,\n rgba(${this.rgb.r},${this.rgb.g},${this.rgb.b}, 1) 100%)`},this.pointerLeft=100*this.rgb.a)}handleChange({top:x,left:Z,containerHeight:he,containerWidth:Ze,$event:gt}){let Jt;if("vertical"===this.direction){let Yt;Yt=x<0?0:x>he?1:Math.round(100*x/he)/100,this.hsl.a!==Yt&&(Jt={h:this.hsl.h,s:this.hsl.s,l:this.hsl.l,a:Yt,source:"rgb"})}else{let Yt;Yt=Z<0?0:Z>Ze?1:Math.round(100*Z/Ze)/100,this.hsl.a!==Yt&&(Jt={h:this.hsl.h,s:this.hsl.s,l:this.hsl.l,a:Yt,source:"rgb"})}Jt&&this.onChange.emit({data:Jt,$event:gt})}static \u0275fac=function(Z){return new(Z||A)};static \u0275cmp=l.Xpm({type:A,selectors:[["color-alpha"]],inputs:{hsl:"hsl",rgb:"rgb",pointer:"pointer",shadow:"shadow",radius:"radius",direction:"direction"},outputs:{onChange:"onChange"},features:[l.TTD],decls:7,vars:15,consts:[[1,"alpha"],[1,"alpha-checkboard"],[1,"alpha-gradient",3,"ngStyle"],["ngx-color-coordinates","",3,"coordinatesChange"],[1,"alpha-pointer"],[1,"alpha-slider",3,"ngStyle"]],template:function(Z,he){1&Z&&(l.TgZ(0,"div",0)(1,"div",1),l._UZ(2,"color-checkboard"),l.qZA(),l._UZ(3,"div",2),l.TgZ(4,"div",3),l.NdJ("coordinatesChange",function(gt){return he.handleChange(gt)}),l.TgZ(5,"div",4),l._UZ(6,"div",5),l.qZA()()()),2&Z&&(l.Udp("border-radius",he.radius),l.xp6(3),l.Udp("box-shadow",he.shadow)("border-radius",he.radius),l.Q6J("ngStyle",he.gradient),l.xp6(1),l.Gre("alpha-container color-alpha-",he.direction,""),l.xp6(1),l.Udp("left",he.pointerLeft,"%")("top",he.pointerTop,"%"),l.xp6(1),l.Q6J("ngStyle",he.pointer))},dependencies:[n.PC,lt,mt],styles:[".alpha[_ngcontent-%COMP%]{position:absolute;inset:0}.alpha-checkboard[_ngcontent-%COMP%]{position:absolute;inset:0;overflow:hidden}.alpha-gradient[_ngcontent-%COMP%]{position:absolute;inset:0}.alpha-container[_ngcontent-%COMP%]{position:relative;height:100%;margin:0 3px}.alpha-pointer[_ngcontent-%COMP%]{position:absolute}.alpha-slider[_ngcontent-%COMP%]{width:4px;border-radius:1px;height:8px;box-shadow:0 0 2px #0009;background:#fff;margin-top:1px;transform:translate(-2px)}"],changeDetection:0})}return A})(),Wt=(()=>{class A{static \u0275fac=function(Z){return new(Z||A)};static \u0275mod=l.oAB({type:A});static \u0275inj=l.cJS({imports:[n.ez,ht,Mt]})}return A})();function Kt(A){let x=0,Z=0;return["r","g","b","a","h","s","l","v"].forEach(he=>{A[he]&&(x+=1,isNaN(A[he])||(Z+=1),("s"===he||"l"===he)&&/^\d+%$/.test(A[he])&&(Z+=1))}),x===Z&&A}function $t(A,q,x){const Z=new bt(A.hex?A.hex:A);x&&Z.setAlpha(1);const he=Z.toHsl(),Ze=Z.toHsv(),gt=Z.toRgb(),Jt=Z.toHex();return 0===he.s&&(he.h=q||0,Ze.h=q||0),{hsl:he,hex:"000000"===Jt&&0===gt.a?"transparent":Z.toHexString(),rgb:gt,hsv:Ze,oldHue:A.h||q||he.h,source:A.source}}var pn=function(A){return A.HEX="hex",A.HSL="hsl",A.HSV="hsv",A.RGB="rgb",A}(pn||{});let gn=(()=>{class A{className;mode=pn.HEX;color={h:250,s:.5,l:.2,a:1};colorChange=new l.vpe;onChange=new l.vpe;onChangeComplete=new l.vpe;onSwatchHover=new l.vpe;oldHue;hsl;hsv;rgb;hex;source;currentColor;changes;disableAlpha;_onChangeCompleteSubscription=new xe.w0;_onSwatchHoverSubscription=new xe.w0;ngOnInit(){this.changes=this.onChange.pipe((0,en.b)(100),(0,tn.b)(x=>{switch(this.onChangeComplete.emit(x),this.mode){case pn.HEX:this.colorChange.emit(x.color.hex);break;case pn.HSL:this.colorChange.emit(x.color.hsl);break;case pn.HSV:this.colorChange.emit(x.color.hsv);break;case pn.RGB:this.colorChange.emit(x.color.rgb);break;default:const Z=`The mode '${this.mode}' is not supported`;if((0,l.X6Q)())throw new Error(Z);console.warn(Z)}})).subscribe(),this.setState($t(this.color,0)),this.currentColor=this.hex}ngOnChanges(){this.setState($t(this.color,this.oldHue))}ngOnDestroy(){this.changes?.unsubscribe(),this._onChangeCompleteSubscription?.unsubscribe(),this._onSwatchHoverSubscription?.unsubscribe()}setState(x){this.oldHue=x.oldHue,this.hsl=x.hsl,this.hsv=x.hsv,this.rgb=x.rgb,this.hex=x.hex,this.source=x.source,this.afterValidChange()}handleChange(x,Z){if(Kt(x)){const Ze=$t(x,x.h||this.oldHue,this.disableAlpha);this.setState(Ze),this.onChange.emit({color:Ze,$event:Z}),this.afterValidChange()}}afterValidChange(){}handleSwatchHover(x,Z){if(Kt(x)){const Ze=$t(x,x.h||this.oldHue);this.setState(Ze),this.onSwatchHover.emit({color:Ze,$event:Z})}}registerOnChange(x){this._onChangeCompleteSubscription.add(this.onChangeComplete.pipe((0,tn.b)(Z=>x(Z.color.hex))).subscribe())}registerOnTouched(x){this._onSwatchHoverSubscription.add(this.onSwatchHover.pipe((0,tn.b)(()=>x())).subscribe())}setDisabledState(x){}writeValue(x){this.color=x}static \u0275fac=function(Z){return new(Z||A)};static \u0275cmp=l.Xpm({type:A,selectors:[["color-wrap"]],inputs:{className:"className",mode:"mode",color:"color"},outputs:{colorChange:"colorChange",onChange:"onChange",onChangeComplete:"onChangeComplete",onSwatchHover:"onSwatchHover"},features:[l._Bn([{provide:ie.JU,useExisting:(0,l.Gpc)(()=>A),multi:!0}]),l.TTD],decls:0,vars:0,template:function(Z,he){},encapsulation:2})}return A})(),kn=0,ut=(()=>{class A{style;label;value;arrowOffset;dragLabel;dragMax;placeholder="";onChange=new l.vpe;currentValue;blurValue;wrapStyle;inputStyle;labelStyle;focus=!1;mousemove;mouseup;uniqueId="editableInput-"+ ++kn;ngOnInit(){this.wrapStyle=this.style&&this.style.wrap?this.style.wrap:{},this.inputStyle=this.style&&this.style.input?this.style.input:{},this.labelStyle=this.style&&this.style.label?this.style.label:{},this.dragLabel&&(this.labelStyle.cursor="ew-resize")}handleFocus(x){this.focus=!0}handleFocusOut(x){this.focus=!1,this.currentValue=this.blurValue}handleKeydown(x){const Z=String(x.target.value),he=Z.indexOf("%")>-1,Ze=Number(Z.replace(/%/g,""));if(isNaN(Ze))return;const gt=this.arrowOffset||1;38===x.keyCode&&(this.onChange.emit(this.label?{data:{[this.label]:Ze+gt},$event:x}:{data:Ze+gt,$event:x}),this.currentValue=he?`${Ze+gt}%`:Ze+gt),40===x.keyCode&&(this.onChange.emit(this.label?{data:{[this.label]:Ze-gt},$event:x}:{data:Ze-gt,$event:x}),this.currentValue=he?Ze-gt+"%":Ze-gt)}handleKeyup(x){40===x.keyCode||38===x.keyCode||`${this.currentValue}`!==x.target.value&&this.onChange.emit(this.label?{data:{[this.label]:x.target.value},$event:x}:{data:x.target.value,$event:x})}ngOnChanges(){this.focus||(this.currentValue=String(this.value).toUpperCase()),this.blurValue=String(this.value).toUpperCase()}ngOnDestroy(){this.unsubscribe()}subscribe(){this.mousemove=(0,rt.R)(document,"mousemove").subscribe(x=>this.handleDrag(x)),this.mouseup=(0,rt.R)(document,"mouseup").subscribe(()=>this.unsubscribe())}unsubscribe(){this.mousemove?.unsubscribe(),this.mouseup?.unsubscribe()}handleMousedown(x){this.dragLabel&&(x.preventDefault(),this.handleDrag(x),this.subscribe())}handleDrag(x){if(this.dragLabel){const Z=Math.round(this.value+x.movementX);Z>=0&&Z<=this.dragMax&&this.onChange.emit({data:{[this.label]:Z},$event:x})}}static \u0275fac=function(Z){return new(Z||A)};static \u0275cmp=l.Xpm({type:A,selectors:[["color-editable-input"]],inputs:{style:"style",label:"label",value:"value",arrowOffset:"arrowOffset",dragLabel:"dragLabel",dragMax:"dragMax",placeholder:"placeholder"},outputs:{onChange:"onChange"},features:[l.TTD],decls:3,vars:6,consts:[[1,"wrap",3,"ngStyle"],["spellCheck","false",3,"ngStyle","value","placeholder","keydown","keyup","focus","focusout"],[3,"id","ngStyle","mousedown",4,"ngIf"],[3,"id","ngStyle","mousedown"]],template:function(Z,he){1&Z&&(l.TgZ(0,"div",0)(1,"input",1),l.NdJ("keydown",function(gt){return he.handleKeydown(gt)})("keyup",function(gt){return he.handleKeyup(gt)})("focus",function(gt){return he.handleFocus(gt)})("focusout",function(gt){return he.handleFocusOut(gt)}),l.qZA(),l.YNc(2,fn,2,3,"span",2),l.qZA()),2&Z&&(l.Q6J("ngStyle",he.wrapStyle),l.xp6(1),l.Q6J("ngStyle",he.inputStyle)("value",he.currentValue)("placeholder",he.placeholder),l.uIk("aria-labelledby",he.uniqueId),l.xp6(1),l.Q6J("ngIf",he.label))},dependencies:[n.O5,n.PC],styles:["[_nghost-%COMP%]{display:flex}.wrap[_ngcontent-%COMP%]{position:relative}"],changeDetection:0})}return A})(),me=(()=>{class A{static \u0275fac=function(Z){return new(Z||A)};static \u0275mod=l.oAB({type:A});static \u0275inj=l.cJS({imports:[n.ez]})}return A})(),le=(()=>{class A{hsl;pointer;radius;shadow;hidePointer=!1;direction="horizontal";onChange=new l.vpe;left="0px";top="";ngOnChanges(){"horizontal"===this.direction?this.left=100*this.hsl.h/360+"%":this.top=-100*this.hsl.h/360+100+"%"}handleChange({top:x,left:Z,containerHeight:he,containerWidth:Ze,$event:gt}){let Jt;if("vertical"===this.direction){let Yt;Yt=x<0?359:x>he?0:360*(-100*x/he+100)/100,this.hsl.h!==Yt&&(Jt={h:Yt,s:this.hsl.s,l:this.hsl.l,a:this.hsl.a,source:"rgb"})}else{let Yt;Yt=Z<0?0:Z>Ze?359:100*Z/Ze*360/100,this.hsl.h!==Yt&&(Jt={h:Yt,s:this.hsl.s,l:this.hsl.l,a:this.hsl.a,source:"rgb"})}Jt&&this.onChange.emit({data:Jt,$event:gt})}static \u0275fac=function(Z){return new(Z||A)};static \u0275cmp=l.Xpm({type:A,selectors:[["color-hue"]],inputs:{hsl:"hsl",pointer:"pointer",radius:"radius",shadow:"shadow",hidePointer:"hidePointer",direction:"direction"},outputs:{onChange:"onChange"},features:[l.TTD],decls:3,vars:8,consts:[["ngx-color-coordinates","",1,"color-hue-container",3,"coordinatesChange"],["class","color-hue-pointer",3,"left","top",4,"ngIf"],[1,"color-hue-pointer"],[1,"color-hue-slider",3,"ngStyle"]],template:function(Z,he){1&Z&&(l.TgZ(0,"div")(1,"div",0),l.NdJ("coordinatesChange",function(gt){return he.handleChange(gt)}),l.YNc(2,Zt,2,5,"div",1),l.qZA()()),2&Z&&(l.Gre("color-hue color-hue-",he.direction,""),l.Udp("border-radius",he.radius,"px")("box-shadow",he.shadow),l.xp6(2),l.Q6J("ngIf",!he.hidePointer))},dependencies:[n.O5,n.PC,mt],styles:[".color-hue[_ngcontent-%COMP%]{position:absolute;inset:0}.color-hue-container[_ngcontent-%COMP%]{margin:0 2px;position:relative;height:100%}.color-hue-pointer[_ngcontent-%COMP%]{position:absolute}.color-hue-slider[_ngcontent-%COMP%]{margin-top:1px;width:4px;border-radius:1px;height:8px;box-shadow:0 0 2px #0009;background:#fff;transform:translate(-2px)}.color-hue-horizontal[_ngcontent-%COMP%]{background:linear-gradient(to right,#f00 0%,#ff0 17%,#0f0 33%,#0ff 50%,#00f 67%,#f0f 83%,#f00 100%)}.color-hue-vertical[_ngcontent-%COMP%]{background:linear-gradient(to top,#f00 0%,#ff0 17%,#0f0 33%,#0ff 50%,#00f 67%,#f0f 83%,#f00 100%)}"],changeDetection:0})}return A})(),G=(()=>{class A{static \u0275fac=function(Z){return new(Z||A)};static \u0275mod=l.oAB({type:A});static \u0275inj=l.cJS({imports:[n.ez,Mt]})}return A})(),St=(()=>{class A{hsl;hsv;radius;pointer;circle;onChange=new l.vpe;background;pointerTop;pointerLeft;ngOnChanges(){this.background=`hsl(${this.hsl.h}, 100%, 50%)`,this.pointerTop=-100*this.hsv.v+1+100+"%",this.pointerLeft=100*this.hsv.s+"%"}handleChange({top:x,left:Z,containerHeight:he,containerWidth:Ze,$event:gt}){Z<0?Z=0:Z>Ze?Z=Ze:x<0?x=0:x>he&&(x=he);let Yt=-x/he+1;Yt=Yt>0?Yt:0,Yt=Yt>1?1:Yt,this.onChange.emit({data:{h:this.hsl.h,s:Z/Ze,v:Yt,a:this.hsl.a,source:"hsva"},$event:gt})}static \u0275fac=function(Z){return new(Z||A)};static \u0275cmp=l.Xpm({type:A,selectors:[["color-saturation"]],inputs:{hsl:"hsl",hsv:"hsv",radius:"radius",pointer:"pointer",circle:"circle"},outputs:{onChange:"onChange"},features:[l.TTD],decls:5,vars:8,consts:[["ngx-color-coordinates","",1,"color-saturation",3,"coordinatesChange"],[1,"saturation-white"],[1,"saturation-black"],[1,"saturation-pointer",3,"ngStyle"],[1,"saturation-circle",3,"ngStyle"]],template:function(Z,he){1&Z&&(l.TgZ(0,"div",0),l.NdJ("coordinatesChange",function(gt){return he.handleChange(gt)}),l.TgZ(1,"div",1),l._UZ(2,"div",2),l.TgZ(3,"div",3),l._UZ(4,"div",4),l.qZA()()()),2&Z&&(l.Udp("background",he.background),l.xp6(3),l.Udp("top",he.pointerTop)("left",he.pointerLeft),l.Q6J("ngStyle",he.pointer),l.xp6(1),l.Q6J("ngStyle",he.circle))},dependencies:[n.PC,mt],styles:[".saturation-white[_ngcontent-%COMP%]{background:linear-gradient(to right,#fff,rgba(255,255,255,0));position:absolute;inset:0}.saturation-black[_ngcontent-%COMP%]{background:linear-gradient(to top,#000,rgba(0,0,0,0));position:absolute;inset:0}.color-saturation[_ngcontent-%COMP%]{position:absolute;inset:0}.saturation-pointer[_ngcontent-%COMP%]{position:absolute;cursor:default}.saturation-circle[_ngcontent-%COMP%]{width:4px;height:4px;box-shadow:0 0 0 1.5px #fff,inset 0 0 1px 1px #0000004d,0 0 1px 2px #0006;border-radius:50%;cursor:hand;transform:translate(-2px,-4px)}"],changeDetection:0})}return A})(),_e=(()=>{class A{static \u0275fac=function(Z){return new(Z||A)};static \u0275mod=l.oAB({type:A});static \u0275inj=l.cJS({imports:[n.ez,Mt]})}return A})();const yt=function(A,q){return{input:A,label:q}};function Pt(A,q){if(1&A){const x=l.EpF();l.TgZ(0,"div",11)(1,"color-editable-input",12),l.NdJ("onChange",function(he){l.CHM(x);const Ze=l.oxw();return l.KtG(Ze.handleChange(he))}),l.qZA()()}if(2&A){const x=l.oxw();l.xp6(1),l.Akn(l.WLB(3,yt,x.input,x.label)),l.Q6J("value",x.hex)}}function at(A,q){if(1&A){const x=l.EpF();l.TgZ(0,"color-editable-input",17),l.NdJ("onChange",function(he){l.CHM(x);const Ze=l.oxw(2);return l.KtG(Ze.handleChange(he))}),l.qZA()}if(2&A){const x=l.oxw(2);l.Akn(l.WLB(4,yt,x.input,x.label)),l.Q6J("value",x.rgb.a)("arrowOffset",.01)}}function wt(A,q){if(1&A){const x=l.EpF();l.TgZ(0,"div",11)(1,"color-editable-input",13),l.NdJ("onChange",function(he){l.CHM(x);const Ze=l.oxw();return l.KtG(Ze.handleChange(he))}),l.qZA()(),l.TgZ(2,"div",11)(3,"color-editable-input",14),l.NdJ("onChange",function(he){l.CHM(x);const Ze=l.oxw();return l.KtG(Ze.handleChange(he))}),l.qZA()(),l.TgZ(4,"div",11)(5,"color-editable-input",15),l.NdJ("onChange",function(he){l.CHM(x);const Ze=l.oxw();return l.KtG(Ze.handleChange(he))}),l.qZA()(),l.TgZ(6,"div",11),l.YNc(7,at,1,7,"color-editable-input",16),l.qZA()}if(2&A){const x=l.oxw();l.xp6(1),l.Akn(l.WLB(10,yt,x.input,x.label)),l.Q6J("value",x.rgb.r),l.xp6(2),l.Akn(l.WLB(13,yt,x.input,x.label)),l.Q6J("value",x.rgb.g),l.xp6(2),l.Akn(l.WLB(16,yt,x.input,x.label)),l.Q6J("value",x.rgb.b),l.xp6(2),l.Q6J("ngIf",!x.disableAlpha)}}function de(A,q){if(1&A){const x=l.EpF();l.TgZ(0,"color-editable-input",17),l.NdJ("onChange",function(he){l.CHM(x);const Ze=l.oxw(2);return l.KtG(Ze.handleChange(he))}),l.qZA()}if(2&A){const x=l.oxw(2);l.Akn(l.WLB(4,yt,x.input,x.label)),l.Q6J("value",x.hsl.a)("arrowOffset",.01)}}function ke(A,q){if(1&A){const x=l.EpF();l.TgZ(0,"div",11)(1,"color-editable-input",18),l.NdJ("onChange",function(he){l.CHM(x);const Ze=l.oxw();return l.KtG(Ze.handleChange(he))}),l.qZA()(),l.TgZ(2,"div",11)(3,"color-editable-input",19),l.NdJ("onChange",function(he){l.CHM(x);const Ze=l.oxw();return l.KtG(Ze.handleChange(he))}),l.qZA()(),l.TgZ(4,"div",11)(5,"color-editable-input",20),l.NdJ("onChange",function(he){l.CHM(x);const Ze=l.oxw();return l.KtG(Ze.handleChange(he))}),l.qZA()(),l.TgZ(6,"div",11),l.YNc(7,de,1,7,"color-editable-input",16),l.qZA()}if(2&A){const x=l.oxw();l.xp6(1),l.Akn(l.WLB(10,yt,x.input,x.label)),l.Q6J("value",x.round(x.hsl.h)),l.xp6(2),l.Akn(l.WLB(13,yt,x.input,x.label)),l.Q6J("value",x.round(100*x.hsl.s)+"%"),l.xp6(2),l.Akn(l.WLB(16,yt,x.input,x.label)),l.Q6J("value",x.round(100*x.hsl.l)+"%"),l.xp6(2),l.Q6J("ngIf",!x.disableAlpha)}}function Ke(A,q){if(1&A){const x=l.EpF();l.TgZ(0,"div",12)(1,"color-alpha",13),l.NdJ("onChange",function(he){l.CHM(x);const Ze=l.oxw();return l.KtG(Ze.handleValueChange(he))}),l.qZA()()}if(2&A){const x=l.oxw();l.xp6(1),l.Q6J("radius",2)("rgb",x.rgb)("hsl",x.hsl)("pointer",x.pointer)}}let Ee=(()=>{class A{disableAlpha;hsl;rgb;hex;onChange=new l.vpe;view="";input={fontSize:"11px",color:"#333",width:"100%",borderRadius:"2px",border:"none",boxShadow:"inset 0 0 0 1px #dadada",height:"21px","text-align":"center"};label={"text-transform":"uppercase",fontSize:"11px","line-height":"11px",color:"#969696","text-align":"center",display:"block",marginTop:"12px"};ngOnInit(){1===this.hsl.a&&"hex"!==this.view?this.view="hex":"rgb"!==this.view&&"hsl"!==this.view&&(this.view="rgb")}toggleViews(){"hex"===this.view?this.view="rgb":"rgb"===this.view?this.view="hsl":"hsl"===this.view&&(this.view=1===this.hsl.a?"hex":"rgb")}round(x){return Math.round(x)}handleChange({data:x,$event:Z}){if(x.hex){if(function An(A){return new bt(A).isValid}(x.hex)){const he=new bt(x.hex);this.onChange.emit({data:{hex:this.disableAlpha?he.toHex():he.toHex8(),source:"hex"},$event:Z})}}else if(x.r||x.g||x.b)this.onChange.emit({data:{r:x.r||this.rgb.r,g:x.g||this.rgb.g,b:x.b||this.rgb.b,source:"rgb"},$event:Z});else if(x.a)x.a<0?x.a=0:x.a>1&&(x.a=1),this.disableAlpha&&(x.a=1),this.onChange.emit({data:{h:this.hsl.h,s:this.hsl.s,l:this.hsl.l,a:Math.round(100*x.a)/100,source:"rgb"},$event:Z});else if(x.h||x.s||x.l){const he=x.s&&x.s.replace("%",""),Ze=x.l&&x.l.replace("%","");this.onChange.emit({data:{h:x.h||this.hsl.h,s:Number(he||this.hsl.s),l:Number(Ze||this.hsl.l),source:"hsl"},$event:Z})}}static \u0275fac=function(Z){return new(Z||A)};static \u0275cmp=l.Xpm({type:A,selectors:[["color-chrome-fields"]],inputs:{disableAlpha:"disableAlpha",hsl:"hsl",rgb:"rgb",hex:"hex"},outputs:{onChange:"onChange"},decls:13,vars:3,consts:[[1,"chrome-wrap"],[1,"chrome-fields"],[3,"ngIf"],[1,"chrome-toggle"],[1,"chrome-icon",3,"click"],["icon",""],["viewBox","0 0 24 24",1,"chrome-toggle-svg"],["fill","#333","d","M12,5.83L15.17,9L16.58,7.59L12,3L7.41,7.59L8.83,9L12,5.83Z"],["iconUp",""],["fill","#333","d","M12,18.17L8.83,15L7.42,16.41L12,21L16.59,16.41L15.17,15Z"],["iconDown",""],[1,"chrome-field"],["label","hex",3,"value","onChange"],["label","r",3,"value","onChange"],["label","g",3,"value","onChange"],["label","b",3,"value","onChange"],["label","a",3,"style","value","arrowOffset","onChange",4,"ngIf"],["label","a",3,"value","arrowOffset","onChange"],["label","h",3,"value","onChange"],["label","s",3,"value","onChange"],["label","l",3,"value","onChange"]],template:function(Z,he){1&Z&&(l.TgZ(0,"div",0)(1,"div",1),l.YNc(2,Pt,2,6,"ng-template",2),l.YNc(3,wt,8,19,"ng-template",2),l.YNc(4,ke,8,19,"ng-template",2),l.qZA(),l.TgZ(5,"div",3)(6,"div",4,5),l.NdJ("click",function(){return he.toggleViews()}),l.O4$(),l.TgZ(8,"svg",6),l._UZ(9,"path",7,8)(11,"path",9,10),l.qZA()()()()),2&Z&&(l.xp6(2),l.Q6J("ngIf","hex"===he.view),l.xp6(1),l.Q6J("ngIf","rgb"===he.view),l.xp6(1),l.Q6J("ngIf","hsl"===he.view))},dependencies:[n.O5,ut],styles:[".chrome-wrap[_ngcontent-%COMP%]{padding-top:16px;display:flex}.chrome-fields[_ngcontent-%COMP%]{flex:1;display:flex;margin-left:-6px}.chrome-field[_ngcontent-%COMP%]{padding-left:6px;width:100%}.chrome-toggle[_ngcontent-%COMP%]{width:32px;text-align:right;position:relative}.chrome-icon[_ngcontent-%COMP%]{margin-right:-4px;margin-top:12px;cursor:pointer;position:relative}.chrome-toggle-svg[_ngcontent-%COMP%]{width:24px;height:24px;border:1px transparent solid;border-radius:5px}.chrome-toggle-svg[_ngcontent-%COMP%]:hover{background:#eee}"],changeDetection:0})}return A})(),ge=(()=>{class A extends gn{disableAlpha=!1;circle={width:"12px",height:"12px",borderRadius:"6px",boxShadow:"rgb(255, 255, 255) 0px 0px 0px 1px inset",transform:"translate(-6px, -8px)"};pointer={width:"12px",height:"12px",borderRadius:"6px",transform:"translate(-6px, -2px)",backgroundColor:"rgb(248, 248, 248)",boxShadow:"0 1px 4px 0 rgba(0, 0, 0, 0.37)"};activeBackground;constructor(){super()}afterValidChange(){this.activeBackground=`rgba(${this.rgb.r}, ${this.rgb.g}, ${this.rgb.b}, ${this.disableAlpha?1:this.rgb.a})`}handleValueChange({data:x,$event:Z}){this.handleChange(x,Z)}static \u0275fac=function(Z){return new(Z||A)};static \u0275cmp=l.Xpm({type:A,selectors:[["color-chrome"]],inputs:{disableAlpha:"disableAlpha"},features:[l._Bn([{provide:ie.JU,useExisting:(0,l.Gpc)(()=>A),multi:!0},{provide:gn,useExisting:(0,l.Gpc)(()=>A)}]),l.qOj],decls:14,vars:16,consts:[[1,"saturation"],[3,"hsl","hsv","circle","onChange"],[1,"chrome-body"],[1,"chrome-controls"],[1,"chrome-color"],[1,"chrome-swatch"],[1,"chrome-active"],[1,"chrome-toggles"],[1,"chrome-hue"],[3,"radius","hsl","pointer","onChange"],["class","chrome-alpha",4,"ngIf"],[3,"rgb","hsl","hex","disableAlpha","onChange"],[1,"chrome-alpha"],[3,"radius","rgb","hsl","pointer","onChange"]],template:function(Z,he){1&Z&&(l.TgZ(0,"div")(1,"div",0)(2,"color-saturation",1),l.NdJ("onChange",function(gt){return he.handleValueChange(gt)}),l.qZA()(),l.TgZ(3,"div",2)(4,"div",3)(5,"div",4)(6,"div",5),l._UZ(7,"div",6)(8,"color-checkboard"),l.qZA()(),l.TgZ(9,"div",7)(10,"div",8)(11,"color-hue",9),l.NdJ("onChange",function(gt){return he.handleValueChange(gt)}),l.qZA()(),l.YNc(12,Ke,2,4,"div",10),l.qZA()(),l.TgZ(13,"color-chrome-fields",11),l.NdJ("onChange",function(gt){return he.handleValueChange(gt)}),l.qZA()()()),2&Z&&(l.Gre("chrome-picker ",he.className,""),l.xp6(2),l.Q6J("hsl",he.hsl)("hsv",he.hsv)("circle",he.circle),l.xp6(5),l.Udp("background",he.activeBackground),l.xp6(4),l.Q6J("radius",2)("hsl",he.hsl)("pointer",he.pointer),l.xp6(1),l.Q6J("ngIf",!he.disableAlpha),l.xp6(1),l.Q6J("rgb",he.rgb)("hsl",he.hsl)("hex",he.hex)("disableAlpha",he.disableAlpha))},dependencies:function(){return[n.O5,ln,lt,le,St,Ee]},styles:[".chrome-picker[_ngcontent-%COMP%]{background:#fff;border-radius:2px;box-shadow:0 0 2px #0000004d,0 4px 8px #0000004d;box-sizing:initial;width:225px;font-family:Menlo}.chrome-controls[_ngcontent-%COMP%]{display:flex}.chrome-color[_ngcontent-%COMP%]{width:42px}.chrome-body[_ngcontent-%COMP%]{padding:14px 14px 12px}.chrome-active[_ngcontent-%COMP%]{position:absolute;inset:0;border-radius:20px;box-shadow:inset 0 0 0 1px #0000001a;z-index:2}.chrome-swatch[_ngcontent-%COMP%]{width:28px;height:28px;border-radius:15px;position:relative;overflow:hidden}.saturation[_ngcontent-%COMP%]{width:100%;padding-bottom:55%;position:relative;border-radius:2px 2px 0 0;overflow:hidden}.chrome-toggles[_ngcontent-%COMP%]{flex:1}.chrome-hue[_ngcontent-%COMP%]{height:10px;position:relative;margin-bottom:8px}.chrome-alpha[_ngcontent-%COMP%]{height:10px;position:relative}"],changeDetection:0})}return A})(),Ve=(()=>{class A{static \u0275fac=function(Z){return new(Z||A)};static \u0275mod=l.oAB({type:A});static \u0275inj=l.cJS({imports:[n.ez,Wt,ht,me,G,_e]})}return A})();var dt=p(9388);const Rt=["button"];function Ht(A,q){1&A&&(l.O4$(),l.TgZ(0,"svg",3),l._UZ(1,"path",4),l.qZA())}const Nt=[[["","mtxColorpickerToggleIcon",""]]],nn=["[mtxColorpickerToggleIcon]"];function cn(A,q){}function Ln(A,q){if(1&A){const x=l.EpF();l.TgZ(0,"color-chrome",2),l.NdJ("onChangeComplete",function(he){l.CHM(x);const Ze=l.oxw();return l.KtG(Ze.picker.select(Ze.getColorString(he)))}),l.qZA()}if(2&A){const x=l.oxw();l.Q6J("color",x.picker.selected)}}class jn{constructor(q,x){this.target=q,this.targetElement=x,this.value=this.target.value}}const Xn={provide:ie.JU,useExisting:(0,l.Gpc)(()=>li),multi:!0},zn={provide:ie.Cf,useExisting:(0,l.Gpc)(()=>li),multi:!0};let li=(()=>{class A{set mtxColorpicker(x){x&&(this._picker=x,this._picker.registerInput(this),this._pickerSubscription.unsubscribe(),this._pickerSubscription=this._picker._selectedChanged.subscribe(Z=>{this.value=Z,this._cvaOnChange(Z),this._onTouched(),this.colorInput.emit(new jn(this,this._elementRef.nativeElement)),this.colorChange.emit(new jn(this,this._elementRef.nativeElement))}))}get disabled(){return!!this._disabled}set disabled(x){const Z=(0,ne.Ig)(x),he=this._elementRef.nativeElement;this._disabled!==Z&&(this._disabled=Z,this._disabledChange.emit(Z)),Z&&this._isInitialized&&he.blur&&he.blur()}get value(){return this._value}set value(x){this._value=x,this._formatValue(x),this._valueChange.emit(x)}constructor(x,Z){this._elementRef=x,this._formField=Z,this.format="hex",this.colorChange=new l.vpe,this.colorInput=new l.vpe,this._disabledChange=new l.vpe,this._valueChange=new l.vpe,this._onTouched=()=>{},this._validatorOnChange=()=>{},this._cvaOnChange=()=>{},this._pickerSubscription=xe.w0.EMPTY,this._validator=ie.kI.compose([]),this._lastValueValid=!1}ngAfterViewInit(){this._isInitialized=!0}ngOnDestroy(){this._pickerSubscription.unsubscribe(),this._valueChange.complete(),this._disabledChange.complete()}registerOnValidatorChange(x){this._validatorOnChange=x}validate(x){return this._validator?this._validator(x):null}getPopupConnectionElementRef(){return this.getConnectedOverlayOrigin()}getConnectedOverlayOrigin(){return this._formField?this._formField.getConnectedOverlayOrigin():this._elementRef}getOverlayLabelId(){return this._formField?this._formField.getLabelId():this._elementRef.nativeElement.getAttribute("aria-labelledby")}writeValue(x){this.value=x}registerOnChange(x){this._cvaOnChange=x}registerOnTouched(x){this._onTouched=x}setDisabledState(x){this.disabled=x}_onKeydown(x){this._picker&&x.altKey&&x.keyCode===we.JH&&!this._elementRef.nativeElement.readOnly&&(this._picker.open(),x.preventDefault())}_onBlur(){this.value&&this._formatValue(this.value),this._onTouched()}_onInput(x){const Z=x;this._value=Z,this._cvaOnChange(Z),this._valueChange.emit(Z),this.colorInput.emit(new jn(this,this._elementRef.nativeElement))}_onChange(){this.colorChange.emit(new jn(this,this._elementRef.nativeElement))}getThemePalette(){return this._formField?this._formField.color:void 0}_formatValue(x){this._elementRef.nativeElement.value=x||""}static#e=this.\u0275fac=function(Z){return new(Z||A)(l.Y36(l.SBq),l.Y36(Ae.KE,8))};static#t=this.\u0275dir=l.lG2({type:A,selectors:[["input","mtxColorpicker",""]],hostAttrs:[1,"mtx-colorpicker-input"],hostVars:3,hostBindings:function(Z,he){1&Z&&l.NdJ("input",function(gt){return he._onInput(gt.target.value)})("change",function(){return he._onChange()})("blur",function(){return he._onBlur()})("keydown",function(gt){return he._onKeydown(gt)}),2&Z&&(l.Ikx("disabled",he.disabled),l.uIk("aria-haspopup",he._picker?"dialog":null)("aria-owns",(null==he._picker?null:he._picker.opened)&&he._picker.id||null))},inputs:{mtxColorpicker:"mtxColorpicker",disabled:"disabled",value:"value",format:"format"},outputs:{colorChange:"colorChange",colorInput:"colorInput"},exportAs:["mtxColorpickerInput"],features:[l._Bn([Xn,zn,{provide:J.Jk,useExisting:A}])]})}return A})(),gi=(()=>{class A{static#e=this.\u0275fac=function(Z){return new(Z||A)};static#t=this.\u0275dir=l.lG2({type:A,selectors:[["","mtxColorpickerToggleIcon",""]]})}return A})(),Tn=(()=>{class A{get disabled(){return null==this._disabled&&this.picker?this.picker.disabled:!!this._disabled}set disabled(x){this._disabled=(0,ne.Ig)(x)}constructor(x,Z){this._changeDetectorRef=x,this._stateChanges=xe.w0.EMPTY;const he=Number(Z);this.tabIndex=he||0===he?he:null}ngOnChanges(x){x.picker&&this._watchStateChanges()}ngOnDestroy(){this._stateChanges.unsubscribe()}ngAfterContentInit(){this._watchStateChanges()}_open(x){this.picker&&!this.disabled&&(this.picker.open(),x.stopPropagation())}_watchStateChanges(){const x=this.picker?this.picker._disabledChange:(0,fe.of)(),Z=this.picker&&this.picker.pickerInput?this.picker.pickerInput._disabledChange:(0,fe.of)(),he=this.picker?(0,ce.T)(this.picker.openedStream,this.picker.closedStream):(0,fe.of)();this._stateChanges.unsubscribe(),this._stateChanges=(0,ce.T)(x,Z,he).subscribe(()=>this._changeDetectorRef.markForCheck())}static#e=this.\u0275fac=function(Z){return new(Z||A)(l.Y36(l.sBO),l.$8M("tabindex"))};static#t=this.\u0275cmp=l.Xpm({type:A,selectors:[["mtx-colorpicker-toggle"]],contentQueries:function(Z,he,Ze){if(1&Z&&l.Suo(Ze,gi,5),2&Z){let gt;l.iGM(gt=l.CRH())&&(he._customIcon=gt.first)}},viewQuery:function(Z,he){if(1&Z&&l.Gf(Rt,5),2&Z){let Ze;l.iGM(Ze=l.CRH())&&(he._button=Ze.first)}},hostAttrs:[1,"mtx-colorpicker-toggle"],hostVars:7,hostBindings:function(Z,he){1&Z&&l.NdJ("click",function(gt){return he._open(gt)}),2&Z&&(l.uIk("tabindex",null),l.ekj("mtx-colorpicker-toggle-active",he.picker&&he.picker.opened)("mat-accent",he.picker&&"accent"===he.picker.color)("mat-warn",he.picker&&"warn"===he.picker.color))},inputs:{picker:["for","picker"],tabIndex:"tabIndex",ariaLabel:["aria-label","ariaLabel"],disabled:"disabled",disableRipple:"disableRipple"},exportAs:["mtxColorpickerToggle"],features:[l.TTD],ngContentSelectors:nn,decls:4,vars:6,consts:[["mat-icon-button","","type","button",3,"disabled","disableRipple"],["button",""],["class","mtx-colorpicker-toggle-default-icon","viewBox","0 0 24 24","width","24px","height","24px","fill","currentColor","focusable","false",4,"ngIf"],["viewBox","0 0 24 24","width","24px","height","24px","fill","currentColor","focusable","false",1,"mtx-colorpicker-toggle-default-icon"],["d","M17.5,12A1.5,1.5 0 0,1 16,10.5A1.5,1.5 0 0,1 17.5,9A1.5,1.5 0 0,1 19,10.5A1.5,1.5 0 0,1 17.5,12M14.5,8A1.5,1.5 0 0,1 13,6.5A1.5,1.5 0 0,1 14.5,5A1.5,1.5 0 0,1 16,6.5A1.5,1.5 0 0,1 14.5,8M9.5,8A1.5,1.5 0 0,1 8,6.5A1.5,1.5 0 0,1 9.5,5A1.5,1.5 0 0,1 11,6.5A1.5,1.5 0 0,1 9.5,8M6.5,12A1.5,1.5 0 0,1 5,10.5A1.5,1.5 0 0,1 6.5,9A1.5,1.5 0 0,1 8,10.5A1.5,1.5 0 0,1 6.5,12M12,3A9,9 0 0,0 3,12A9,9 0 0,0 12,21A1.5,1.5 0 0,0 13.5,19.5C13.5,19.11 13.35,18.76 13.11,18.5C12.88,18.23 12.73,17.88 12.73,17.5A1.5,1.5 0 0,1 14.23,16H16A5,5 0 0,0 21,11C21,6.58 16.97,3 12,3Z"]],template:function(Z,he){1&Z&&(l.F$t(Nt),l.TgZ(0,"button",0,1),l.YNc(2,Ht,2,0,"svg",2),l.Hsn(3),l.qZA()),2&Z&&(l.Q6J("disabled",he.disabled)("disableRipple",he.disableRipple),l.uIk("aria-haspopup",he.picker?"dialog":null)("aria-label",he.ariaLabel)("tabindex",he.disabled?-1:he.tabIndex),l.xp6(2),l.Q6J("ngIf",!he._customIcon))},dependencies:[n.O5,Q.RK],styles:[".mtx-colorpicker-toggle{pointer-events:auto;color:var(--mtx-colorpicker-toggle-icon-color)}.mtx-colorpicker-toggle-active{color:var(--mtx-colorpicker-toggle-active-state-icon-color)}.cdk-high-contrast-active .mtx-colorpicker-toggle-default-icon{color:CanvasText}\n"],encapsulation:2,changeDetection:0})}return A})();const Sn={transformPanel:(0,ze.X$)("transformPanel",[(0,ze.eR)("void => enter-dropdown",(0,ze.jt)("120ms cubic-bezier(0, 0, 0.2, 1)",(0,ze.F4)([(0,ze.oB)({opacity:0,transform:"scale(1, 0.8)"}),(0,ze.oB)({opacity:1,transform:"scale(1, 1)"})]))),(0,ze.eR)("* => void",(0,ze.jt)("100ms linear",(0,ze.oB)({opacity:0})))])};let Ci=0;const Ei=new l.OlP("mtx-colorpicker-scroll-strategy"),oi={provide:Ei,deps:[w.aV],useFactory:function Vn(A){return()=>A.scrollStrategies.reposition()}},Qe=(0,Le.pj)(class{constructor(A){this._elementRef=A}});let Dt=(()=>{class A extends Qe{constructor(x,Z){super(x),this._changeDetectorRef=Z,this._animationState="enter-dropdown",this._animationDone=new De.x}_startExitAnimation(){this._animationState="void",this._changeDetectorRef.markForCheck()}ngOnDestroy(){this._animationDone.complete()}getColorString(x){return{hex:1===x.color.rgb.a?x.color.hex:new bt(x.color.rgb).toHex8String(),rgb:new bt(x.color.rgb).toRgbString(),hsl:new bt(x.color.hsl).toHslString(),hsv:new bt(x.color.hsv).toHsvString()}[this.picker.format]}static#e=this.\u0275fac=function(Z){return new(Z||A)(l.Y36(l.SBq),l.Y36(l.sBO))};static#t=this.\u0275cmp=l.Xpm({type:A,selectors:[["mtx-colorpicker-content"]],hostAttrs:[1,"mtx-colorpicker-content"],hostVars:1,hostBindings:function(Z,he){1&Z&&l.WFA("@transformPanel.done",function(){return he._animationDone.next()}),2&Z&&l.d8E("@transformPanel",he._animationState)},inputs:{color:"color"},exportAs:["mtxColorpickerContent"],features:[l.qOj],decls:3,vars:3,consts:[[3,"ngIf","ngIfElse","ngTemplateOutlet"],["default",""],[3,"color","onChangeComplete"]],template:function(Z,he){if(1&Z&&(l.YNc(0,cn,0,0,"ng-template",0),l.YNc(1,Ln,1,1,"ng-template",null,1,l.W1O)),2&Z){const Ze=l.MAs(2);l.Q6J("ngIf",he.picker.content)("ngIfElse",Ze)("ngTemplateOutlet",he.picker.content)}},dependencies:[n.O5,n.tP,ge],styles:[".mtx-colorpicker-content{display:block;border-radius:4px}\n"],encapsulation:2,data:{animation:[Sn.transformPanel]},changeDetection:0})}return A})(),qe=(()=>{class A{get disabled(){return void 0===this._disabled&&this.pickerInput?this.pickerInput.disabled:!!this._disabled}set disabled(x){const Z=(0,ne.Ig)(x);Z!==this._disabled&&(this._disabled=Z,this._disabledChange.next(Z))}get restoreFocus(){return this._restoreFocus}set restoreFocus(x){this._restoreFocus=(0,ne.Ig)(x)}get opened(){return this._opened}set opened(x){(0,ne.Ig)(x)?this.open():this.close()}get color(){return this._color||(this.pickerInput?this.pickerInput.getThemePalette():void 0)}set color(x){this._color=x}get format(){return this._format||this.pickerInput.format}set format(x){this._format=x}get selected(){return this._validSelected}set selected(x){this._validSelected=x}constructor(x,Z,he,Ze,gt,Jt){this._overlay=x,this._ngZone=Z,this._viewContainerRef=he,this._dir=gt,this._document=Jt,this._inputStateChanges=xe.w0.EMPTY,this.openedStream=new l.vpe,this.closedStream=new l.vpe,this.xPosition="start",this.yPosition="below",this._restoreFocus=!0,this._opened=!1,this.id="mtx-colorpicker-"+Ci++,this._validSelected="",this._focusedElementBeforeOpen=null,this._backdropHarnessClass=`${this.id}-backdrop`,this._disabledChange=new De.x,this._selectedChanged=new De.x,this._scrollStrategy=Ze}ngOnChanges(){}ngOnDestroy(){this._destroyOverlay(),this.close(),this._inputStateChanges.unsubscribe(),this._disabledChange.complete()}select(x){this.selected=x,this._selectedChanged.next(x)}registerInput(x){if(this.pickerInput)throw Error("A Colorpicker can only be associated with a single input.");this.pickerInput=x,this._inputStateChanges=x._valueChange.subscribe(Z=>this.selected=Z)}open(){if(!this._opened&&!this.disabled){if(!this.pickerInput)throw Error("Attempted to open an Colorpicker with no associated input.");this._document&&(this._focusedElementBeforeOpen=this._document.activeElement),this._openOverlay(),this._opened=!0,this.openedStream.emit()}}close(){if(!this._opened)return;if(this._componentRef){const Z=this._componentRef.instance;Z._startExitAnimation(),Z._animationDone.pipe((0,se.q)(1)).subscribe(()=>this._destroyOverlay())}const x=()=>{this._opened&&(this._opened=!1,this.closedStream.emit(),this._focusedElementBeforeOpen=null)};this._restoreFocus&&this._focusedElementBeforeOpen&&"function"==typeof this._focusedElementBeforeOpen.focus?(this._focusedElementBeforeOpen.focus(),setTimeout(x)):x()}_forwardContentValues(x){x.picker=this,x.color=this.color}_openOverlay(){this._destroyOverlay();const x=this.pickerInput.getOverlayLabelId(),Z=new H.C5(Dt,this._viewContainerRef),he=this._overlayRef=this._overlay.create(new w.X_({positionStrategy:this._getDropdownStrategy(),hasBackdrop:!0,backdropClass:["mat-overlay-transparent-backdrop",this._backdropHarnessClass],direction:this._dir,scrollStrategy:this._scrollStrategy(),panelClass:"mtx-colorpicker-popup"})),Ze=he.overlayElement;Ze.setAttribute("role","dialog"),x&&Ze.setAttribute("aria-labelledby",x),this._getCloseStream(he).subscribe(gt=>{gt&>.preventDefault(),this.close()}),this._componentRef=he.attach(Z),this._forwardContentValues(this._componentRef.instance),this._ngZone.onStable.pipe((0,se.q)(1)).subscribe(()=>he.updatePosition())}_destroyOverlay(){this._overlayRef&&(this._overlayRef.dispose(),this._overlayRef=this._componentRef=null)}_getDropdownStrategy(){const x=this._overlay.position().flexibleConnectedTo(this.pickerInput.getConnectedOverlayOrigin()).withTransformOriginOn(".mtx-colorpicker-content").withFlexibleDimensions(!1).withViewportMargin(8).withLockedPosition();return this._setConnectedPositions(x)}_setConnectedPositions(x){const Z="end"===this.xPosition?"end":"start",he="start"===Z?"end":"start",Ze="above"===this.yPosition?"bottom":"top",gt="top"===Ze?"bottom":"top";return x.withPositions([{originX:Z,originY:gt,overlayX:Z,overlayY:Ze},{originX:Z,originY:Ze,overlayX:Z,overlayY:gt},{originX:he,originY:gt,overlayX:he,overlayY:Ze},{originX:he,originY:Ze,overlayX:he,overlayY:gt}])}_getCloseStream(x){return(0,ce.T)(x.backdropClick(),x.detachments(),x.keydownEvents().pipe((0,ue.h)(Z=>Z.keyCode===we.hY&&!(0,we.Vb)(Z)||this.pickerInput&&(0,we.Vb)(Z,"altKey")&&Z.keyCode===we.LH)))}static#e=this.\u0275fac=function(Z){return new(Z||A)(l.Y36(w.aV),l.Y36(l.R0b),l.Y36(l.s_b),l.Y36(Ei),l.Y36(dt.Is,8),l.Y36(n.K0,8))};static#t=this.\u0275cmp=l.Xpm({type:A,selectors:[["mtx-colorpicker"]],inputs:{content:"content",disabled:"disabled",xPosition:"xPosition",yPosition:"yPosition",restoreFocus:"restoreFocus",opened:"opened",color:"color",format:"format"},outputs:{openedStream:"opened",closedStream:"closed"},exportAs:["mtxColorpicker"],features:[l.TTD],decls:0,vars:0,template:function(Z,he){},encapsulation:2,changeDetection:0})}return A})(),Et=(()=>{class A{static#e=this.\u0275fac=function(Z){return new(Z||A)};static#t=this.\u0275mod=l.oAB({type:A});static#n=this.\u0275inj=l.cJS({providers:[oi],imports:[n.ez,w.U8,E.rt,H.eL,Q.ot,Ve]})}return A})()},6912:(_t,Me,p)=>{p.d(Me,{zP:()=>Gi,re:()=>Mi,F3:()=>Ji,lJ:()=>fi});var n=p(5879),l=p(6814),w=p(6223),E=p(9773),H=p(9028),Q=p(7921),ne=p(9397),we=p(3620),ie=p(2181),J=p(7398),xe=p(927),fe=p(6410),ce=p(8645),De=p(2438),Ae=p(3019);const Le=["content"],se=["scroll"],ue=["padding"],ze=function(b){return{searchTerm:b}};function oe(b,z){if(1&b&&(n.TgZ(0,"div",6),n.GkF(1,7),n.qZA()),2&b){const h=n.oxw();n.xp6(1),n.Q6J("ngTemplateOutlet",h.headerTemplate)("ngTemplateOutletContext",n.VKq(2,ze,h.filterValue))}}function N(b,z){if(1&b&&(n.TgZ(0,"div",8),n.GkF(1,7),n.qZA()),2&b){const h=n.oxw();n.xp6(1),n.Q6J("ngTemplateOutlet",h.footerTemplate)("ngTemplateOutletContext",n.VKq(2,ze,h.filterValue))}}const Ce=["*"],K=["searchInput"];function ve(b,z){if(1&b){const h=n.EpF();n.TgZ(0,"span",15),n.NdJ("click",function(){n.CHM(h);const T=n.oxw().$implicit,Re=n.oxw(2);return n.KtG(Re.unselect(T))}),n._uU(1,"\xd7"),n.qZA(),n._UZ(2,"span",16)}if(2&b){const h=n.oxw().$implicit,M=n.oxw(2);n.xp6(2),n.Q6J("ngItemLabel",h.label)("escape",M.escapeHTML)}}function ye(b,z){}const He=function(b,z,h){return{item:b,clear:z,label:h}};function ft(b,z){if(1&b&&(n.TgZ(0,"div",12),n.YNc(1,ve,3,2,"ng-template",null,13,n.W1O),n.YNc(3,ye,0,0,"ng-template",14),n.qZA()),2&b){const h=z.$implicit,M=n.MAs(2),T=n.oxw(2);n.ekj("ng-value-disabled",h.disabled),n.xp6(3),n.Q6J("ngTemplateOutlet",T.labelTemplate||M)("ngTemplateOutletContext",n.kEZ(4,He,h.value,T.clearItem,h.label))}}function ct(b,z){if(1&b&&(n.ynx(0),n.YNc(1,ft,4,8,"div",11),n.BQk()),2&b){const h=n.oxw();n.xp6(1),n.Q6J("ngForOf",h.selectedItems)("ngForTrackBy",h.trackByOption)}}function xt(b,z){}const Ut=function(b,z){return{items:b,clear:z}};function It(b,z){if(1&b&&n.YNc(0,xt,0,0,"ng-template",14),2&b){const h=n.oxw();n.Q6J("ngTemplateOutlet",h.multiLabelTemplate)("ngTemplateOutletContext",n.WLB(2,Ut,h.selectedValues,h.clearItem))}}function sn(b,z){1&b&&n._UZ(0,"div",19)}function Xe(b,z){}function At(b,z){if(1&b&&(n.ynx(0),n.YNc(1,sn,1,0,"ng-template",null,17,n.W1O),n.YNc(3,Xe,0,0,"ng-template",18),n.BQk()),2&b){const h=n.MAs(2),M=n.oxw();n.xp6(3),n.Q6J("ngTemplateOutlet",M.loadingSpinnerTemplate||h)}}function Y(b,z){if(1&b&&(n.TgZ(0,"span",20)(1,"span",21),n._uU(2,"\xd7"),n.qZA()()),2&b){const h=n.oxw();n.s9C("title",h.clearAllText)}}function P(b,z){if(1&b&&n._UZ(0,"span",27),2&b){const h=n.oxw().$implicit,M=n.oxw(2);n.Q6J("ngItemLabel",h.label)("escape",M.escapeHTML)}}function ae(b,z){}const B=function(b,z,h,M){return{item:b,item$:z,index:h,searchTerm:M}};function Se(b,z){if(1&b){const h=n.EpF();n.TgZ(0,"div",25),n.NdJ("click",function(){const Re=n.CHM(h).$implicit,Ge=n.oxw(2);return n.KtG(Ge.toggleItem(Re))})("mouseover",function(){const Re=n.CHM(h).$implicit,Ge=n.oxw(2);return n.KtG(Ge.onItemHover(Re))}),n.YNc(1,P,1,2,"ng-template",null,26,n.W1O),n.YNc(3,ae,0,0,"ng-template",14),n.qZA()}if(2&b){const h=z.$implicit,M=n.MAs(2),T=n.oxw(2);n.ekj("ng-option-disabled",h.disabled)("ng-option-selected",h.selected)("ng-optgroup",h.children)("ng-option",!h.children)("ng-option-child",!!h.parent)("ng-option-marked",h===T.itemsList.markedItem),n.uIk("role",h.children?"group":"option")("aria-selected",h.selected)("id",null==h?null:h.htmlId),n.xp6(3),n.Q6J("ngTemplateOutlet",h.children?T.optgroupTemplate||M:T.optionTemplate||M)("ngTemplateOutletContext",n.l5B(17,B,h.value,h,h.index,T.searchTerm))}}function L(b,z){if(1&b&&(n.TgZ(0,"span")(1,"span",30),n._uU(2),n.qZA(),n._uU(3),n.qZA()),2&b){const h=n.oxw(3);n.xp6(2),n.Oqu(h.addTagText),n.xp6(1),n.hij('"',h.searchTerm,'"')}}function V(b,z){}function Pe(b,z){if(1&b){const h=n.EpF();n.TgZ(0,"div",28),n.NdJ("mouseover",function(){n.CHM(h);const T=n.oxw(2);return n.KtG(T.itemsList.unmarkItem())})("click",function(){n.CHM(h);const T=n.oxw(2);return n.KtG(T.selectTag())}),n.YNc(1,L,4,2,"ng-template",null,29,n.W1O),n.YNc(3,V,0,0,"ng-template",14),n.qZA()}if(2&b){const h=n.MAs(2),M=n.oxw(2);n.ekj("ng-option-marked",!M.itemsList.markedItem),n.xp6(3),n.Q6J("ngTemplateOutlet",M.tagTemplate||h)("ngTemplateOutletContext",n.VKq(4,ze,M.searchTerm))}}function re(b,z){if(1&b&&(n.TgZ(0,"div",32),n._uU(1),n.qZA()),2&b){const h=n.oxw(3);n.xp6(1),n.Oqu(h.notFoundText)}}function je(b,z){}function et(b,z){if(1&b&&(n.ynx(0),n.YNc(1,re,2,1,"ng-template",null,31,n.W1O),n.YNc(3,je,0,0,"ng-template",14),n.BQk()),2&b){const h=n.MAs(2),M=n.oxw(2);n.xp6(3),n.Q6J("ngTemplateOutlet",M.notFoundTemplate||h)("ngTemplateOutletContext",n.VKq(2,ze,M.searchTerm))}}function st(b,z){if(1&b&&(n.TgZ(0,"div",32),n._uU(1),n.qZA()),2&b){const h=n.oxw(3);n.xp6(1),n.Oqu(h.typeToSearchText)}}function nt(b,z){}function Bt(b,z){if(1&b&&(n.ynx(0),n.YNc(1,st,2,1,"ng-template",null,33,n.W1O),n.YNc(3,nt,0,0,"ng-template",18),n.BQk()),2&b){const h=n.MAs(2),M=n.oxw(2);n.xp6(3),n.Q6J("ngTemplateOutlet",M.typeToSearchTemplate||h)}}function Je(b,z){if(1&b&&(n.TgZ(0,"div",32),n._uU(1),n.qZA()),2&b){const h=n.oxw(3);n.xp6(1),n.Oqu(h.loadingText)}}function bt(b,z){}function Oe(b,z){if(1&b&&(n.ynx(0),n.YNc(1,Je,2,1,"ng-template",null,34,n.W1O),n.YNc(3,bt,0,0,"ng-template",14),n.BQk()),2&b){const h=n.MAs(2),M=n.oxw(2);n.xp6(3),n.Q6J("ngTemplateOutlet",M.loadingTextTemplate||h)("ngTemplateOutletContext",n.VKq(2,ze,M.searchTerm))}}function rt(b,z){if(1&b){const h=n.EpF();n.TgZ(0,"ng-dropdown-panel",22),n.NdJ("update",function(T){n.CHM(h);const Re=n.oxw();return n.KtG(Re.viewPortItems=T)})("scroll",function(T){n.CHM(h);const Re=n.oxw();return n.KtG(Re.scroll.emit(T))})("scrollToEnd",function(T){n.CHM(h);const Re=n.oxw();return n.KtG(Re.scrollToEnd.emit(T))})("outsideClick",function(){n.CHM(h);const T=n.oxw();return n.KtG(T.close())}),n.ynx(1),n.YNc(2,Se,4,22,"div",23),n.YNc(3,Pe,4,6,"div",24),n.BQk(),n.YNc(4,et,4,4,"ng-container",3),n.YNc(5,Bt,4,1,"ng-container",3),n.YNc(6,Oe,4,4,"ng-container",3),n.qZA()}if(2&b){const h=n.oxw();n.ekj("ng-select-multiple",h.multiple),n.Q6J("virtualScroll",h.virtualScroll)("bufferAmount",h.bufferAmount)("appendTo",h.appendTo)("position",h.dropdownPosition)("headerTemplate",h.headerTemplate)("footerTemplate",h.footerTemplate)("filterValue",h.searchTerm)("items",h.itemsList.filteredItems)("markedItem",h.itemsList.markedItem)("ngClass",h.appendTo?h.classes:null)("id",h.dropdownId),n.xp6(2),n.Q6J("ngForOf",h.viewPortItems)("ngForTrackBy",h.trackByOption),n.xp6(1),n.Q6J("ngIf",h.showAddTag),n.xp6(1),n.Q6J("ngIf",h.showNoItemsFound()),n.xp6(1),n.Q6J("ngIf",h.showTypeToSearch()),n.xp6(1),n.Q6J("ngIf",h.loading&&0===h.itemsList.filteredItems.length)}}const vt=/[&<>"']/g,en=RegExp(vt.source),tn={"&":"&","<":"<",">":">",'"':""","'":"'"};function Zt(b){return null!=b}function Mn(b){return"object"==typeof b&&Zt(b)}function $(b){return b instanceof Function}let be=(()=>{class b{constructor(h){this.element=h,this.escape=!0}ngOnChanges(h){this.element.nativeElement.innerHTML=this.escape?function fn(b){return b&&en.test(b)?b.replace(vt,z=>tn[z]):b}(this.ngItemLabel):this.ngItemLabel}static#e=this.\u0275fac=function(M){return new(M||b)(n.Y36(n.SBq))};static#t=this.\u0275dir=n.lG2({type:b,selectors:[["","ngItemLabel",""]],inputs:{ngItemLabel:"ngItemLabel",escape:"escape"},features:[n.TTD]})}return b})(),Be=(()=>{class b{constructor(h){this.template=h}static#e=this.\u0275fac=function(M){return new(M||b)(n.Y36(n.Rgc))};static#t=this.\u0275dir=n.lG2({type:b,selectors:[["","ng-option-tmp",""]]})}return b})(),lt=(()=>{class b{constructor(h){this.template=h}static#e=this.\u0275fac=function(M){return new(M||b)(n.Y36(n.Rgc))};static#t=this.\u0275dir=n.lG2({type:b,selectors:[["","ng-optgroup-tmp",""]]})}return b})(),ht=(()=>{class b{constructor(h){this.template=h}static#e=this.\u0275fac=function(M){return new(M||b)(n.Y36(n.Rgc))};static#t=this.\u0275dir=n.lG2({type:b,selectors:[["","ng-label-tmp",""]]})}return b})(),mt=(()=>{class b{constructor(h){this.template=h}static#e=this.\u0275fac=function(M){return new(M||b)(n.Y36(n.Rgc))};static#t=this.\u0275dir=n.lG2({type:b,selectors:[["","ng-multi-label-tmp",""]]})}return b})(),Mt=(()=>{class b{constructor(h){this.template=h}static#e=this.\u0275fac=function(M){return new(M||b)(n.Y36(n.Rgc))};static#t=this.\u0275dir=n.lG2({type:b,selectors:[["","ng-header-tmp",""]]})}return b})(),ln=(()=>{class b{constructor(h){this.template=h}static#e=this.\u0275fac=function(M){return new(M||b)(n.Y36(n.Rgc))};static#t=this.\u0275dir=n.lG2({type:b,selectors:[["","ng-footer-tmp",""]]})}return b})(),Wt=(()=>{class b{constructor(h){this.template=h}static#e=this.\u0275fac=function(M){return new(M||b)(n.Y36(n.Rgc))};static#t=this.\u0275dir=n.lG2({type:b,selectors:[["","ng-notfound-tmp",""]]})}return b})(),Kt=(()=>{class b{constructor(h){this.template=h}static#e=this.\u0275fac=function(M){return new(M||b)(n.Y36(n.Rgc))};static#t=this.\u0275dir=n.lG2({type:b,selectors:[["","ng-typetosearch-tmp",""]]})}return b})(),$t=(()=>{class b{constructor(h){this.template=h}static#e=this.\u0275fac=function(M){return new(M||b)(n.Y36(n.Rgc))};static#t=this.\u0275dir=n.lG2({type:b,selectors:[["","ng-loadingtext-tmp",""]]})}return b})(),An=(()=>{class b{constructor(h){this.template=h}static#e=this.\u0275fac=function(M){return new(M||b)(n.Y36(n.Rgc))};static#t=this.\u0275dir=n.lG2({type:b,selectors:[["","ng-tag-tmp",""]]})}return b})(),bn=(()=>{class b{constructor(h){this.template=h}static#e=this.\u0275fac=function(M){return new(M||b)(n.Y36(n.Rgc))};static#t=this.\u0275dir=n.lG2({type:b,selectors:[["","ng-loadingspinner-tmp",""]]})}return b})();function pn(){return"axxxxxxxxxxx".replace(/[x]/g,()=>(16*Math.random()|0).toString(16))}const gn={"\u24b6":"A",\uff21:"A",\u00c0:"A",\u00c1:"A",\u00c2:"A",\u1ea6:"A",\u1ea4:"A",\u1eaa:"A",\u1ea8:"A",\u00c3:"A",\u0100:"A",\u0102:"A",\u1eb0:"A",\u1eae:"A",\u1eb4:"A",\u1eb2:"A",\u0226:"A",\u01e0:"A",\u00c4:"A",\u01de:"A",\u1ea2:"A",\u00c5:"A",\u01fa:"A",\u01cd:"A",\u0200:"A",\u0202:"A",\u1ea0:"A",\u1eac:"A",\u1eb6:"A",\u1e00:"A",\u0104:"A",\u023a:"A",\u2c6f:"A",\ua732:"AA",\u00c6:"AE",\u01fc:"AE",\u01e2:"AE",\ua734:"AO",\ua736:"AU",\ua738:"AV",\ua73a:"AV",\ua73c:"AY","\u24b7":"B",\uff22:"B",\u1e02:"B",\u1e04:"B",\u1e06:"B",\u0243:"B",\u0182:"B",\u0181:"B","\u24b8":"C",\uff23:"C",\u0106:"C",\u0108:"C",\u010a:"C",\u010c:"C",\u00c7:"C",\u1e08:"C",\u0187:"C",\u023b:"C",\ua73e:"C","\u24b9":"D",\uff24:"D",\u1e0a:"D",\u010e:"D",\u1e0c:"D",\u1e10:"D",\u1e12:"D",\u1e0e:"D",\u0110:"D",\u018b:"D",\u018a:"D",\u0189:"D",\ua779:"D",\u01f1:"DZ",\u01c4:"DZ",\u01f2:"Dz",\u01c5:"Dz","\u24ba":"E",\uff25:"E",\u00c8:"E",\u00c9:"E",\u00ca:"E",\u1ec0:"E",\u1ebe:"E",\u1ec4:"E",\u1ec2:"E",\u1ebc:"E",\u0112:"E",\u1e14:"E",\u1e16:"E",\u0114:"E",\u0116:"E",\u00cb:"E",\u1eba:"E",\u011a:"E",\u0204:"E",\u0206:"E",\u1eb8:"E",\u1ec6:"E",\u0228:"E",\u1e1c:"E",\u0118:"E",\u1e18:"E",\u1e1a:"E",\u0190:"E",\u018e:"E","\u24bb":"F",\uff26:"F",\u1e1e:"F",\u0191:"F",\ua77b:"F","\u24bc":"G",\uff27:"G",\u01f4:"G",\u011c:"G",\u1e20:"G",\u011e:"G",\u0120:"G",\u01e6:"G",\u0122:"G",\u01e4:"G",\u0193:"G",\ua7a0:"G",\ua77d:"G",\ua77e:"G","\u24bd":"H",\uff28:"H",\u0124:"H",\u1e22:"H",\u1e26:"H",\u021e:"H",\u1e24:"H",\u1e28:"H",\u1e2a:"H",\u0126:"H",\u2c67:"H",\u2c75:"H",\ua78d:"H","\u24be":"I",\uff29:"I",\u00cc:"I",\u00cd:"I",\u00ce:"I",\u0128:"I",\u012a:"I",\u012c:"I",\u0130:"I",\u00cf:"I",\u1e2e:"I",\u1ec8:"I",\u01cf:"I",\u0208:"I",\u020a:"I",\u1eca:"I",\u012e:"I",\u1e2c:"I",\u0197:"I","\u24bf":"J",\uff2a:"J",\u0134:"J",\u0248:"J","\u24c0":"K",\uff2b:"K",\u1e30:"K",\u01e8:"K",\u1e32:"K",\u0136:"K",\u1e34:"K",\u0198:"K",\u2c69:"K",\ua740:"K",\ua742:"K",\ua744:"K",\ua7a2:"K","\u24c1":"L",\uff2c:"L",\u013f:"L",\u0139:"L",\u013d:"L",\u1e36:"L",\u1e38:"L",\u013b:"L",\u1e3c:"L",\u1e3a:"L",\u0141:"L",\u023d:"L",\u2c62:"L",\u2c60:"L",\ua748:"L",\ua746:"L",\ua780:"L",\u01c7:"LJ",\u01c8:"Lj","\u24c2":"M",\uff2d:"M",\u1e3e:"M",\u1e40:"M",\u1e42:"M",\u2c6e:"M",\u019c:"M","\u24c3":"N",\uff2e:"N",\u01f8:"N",\u0143:"N",\u00d1:"N",\u1e44:"N",\u0147:"N",\u1e46:"N",\u0145:"N",\u1e4a:"N",\u1e48:"N",\u0220:"N",\u019d:"N",\ua790:"N",\ua7a4:"N",\u01ca:"NJ",\u01cb:"Nj","\u24c4":"O",\uff2f:"O",\u00d2:"O",\u00d3:"O",\u00d4:"O",\u1ed2:"O",\u1ed0:"O",\u1ed6:"O",\u1ed4:"O",\u00d5:"O",\u1e4c:"O",\u022c:"O",\u1e4e:"O",\u014c:"O",\u1e50:"O",\u1e52:"O",\u014e:"O",\u022e:"O",\u0230:"O",\u00d6:"O",\u022a:"O",\u1ece:"O",\u0150:"O",\u01d1:"O",\u020c:"O",\u020e:"O",\u01a0:"O",\u1edc:"O",\u1eda:"O",\u1ee0:"O",\u1ede:"O",\u1ee2:"O",\u1ecc:"O",\u1ed8:"O",\u01ea:"O",\u01ec:"O",\u00d8:"O",\u01fe:"O",\u0186:"O",\u019f:"O",\ua74a:"O",\ua74c:"O",\u01a2:"OI",\ua74e:"OO",\u0222:"OU","\u24c5":"P",\uff30:"P",\u1e54:"P",\u1e56:"P",\u01a4:"P",\u2c63:"P",\ua750:"P",\ua752:"P",\ua754:"P","\u24c6":"Q",\uff31:"Q",\ua756:"Q",\ua758:"Q",\u024a:"Q","\u24c7":"R",\uff32:"R",\u0154:"R",\u1e58:"R",\u0158:"R",\u0210:"R",\u0212:"R",\u1e5a:"R",\u1e5c:"R",\u0156:"R",\u1e5e:"R",\u024c:"R",\u2c64:"R",\ua75a:"R",\ua7a6:"R",\ua782:"R","\u24c8":"S",\uff33:"S",\u1e9e:"S",\u015a:"S",\u1e64:"S",\u015c:"S",\u1e60:"S",\u0160:"S",\u1e66:"S",\u1e62:"S",\u1e68:"S",\u0218:"S",\u015e:"S",\u2c7e:"S",\ua7a8:"S",\ua784:"S","\u24c9":"T",\uff34:"T",\u1e6a:"T",\u0164:"T",\u1e6c:"T",\u021a:"T",\u0162:"T",\u1e70:"T",\u1e6e:"T",\u0166:"T",\u01ac:"T",\u01ae:"T",\u023e:"T",\ua786:"T",\ua728:"TZ","\u24ca":"U",\uff35:"U",\u00d9:"U",\u00da:"U",\u00db:"U",\u0168:"U",\u1e78:"U",\u016a:"U",\u1e7a:"U",\u016c:"U",\u00dc:"U",\u01db:"U",\u01d7:"U",\u01d5:"U",\u01d9:"U",\u1ee6:"U",\u016e:"U",\u0170:"U",\u01d3:"U",\u0214:"U",\u0216:"U",\u01af:"U",\u1eea:"U",\u1ee8:"U",\u1eee:"U",\u1eec:"U",\u1ef0:"U",\u1ee4:"U",\u1e72:"U",\u0172:"U",\u1e76:"U",\u1e74:"U",\u0244:"U","\u24cb":"V",\uff36:"V",\u1e7c:"V",\u1e7e:"V",\u01b2:"V",\ua75e:"V",\u0245:"V",\ua760:"VY","\u24cc":"W",\uff37:"W",\u1e80:"W",\u1e82:"W",\u0174:"W",\u1e86:"W",\u1e84:"W",\u1e88:"W",\u2c72:"W","\u24cd":"X",\uff38:"X",\u1e8a:"X",\u1e8c:"X","\u24ce":"Y",\uff39:"Y",\u1ef2:"Y",\u00dd:"Y",\u0176:"Y",\u1ef8:"Y",\u0232:"Y",\u1e8e:"Y",\u0178:"Y",\u1ef6:"Y",\u1ef4:"Y",\u01b3:"Y",\u024e:"Y",\u1efe:"Y","\u24cf":"Z",\uff3a:"Z",\u0179:"Z",\u1e90:"Z",\u017b:"Z",\u017d:"Z",\u1e92:"Z",\u1e94:"Z",\u01b5:"Z",\u0224:"Z",\u2c7f:"Z",\u2c6b:"Z",\ua762:"Z","\u24d0":"a",\uff41:"a",\u1e9a:"a",\u00e0:"a",\u00e1:"a",\u00e2:"a",\u1ea7:"a",\u1ea5:"a",\u1eab:"a",\u1ea9:"a",\u00e3:"a",\u0101:"a",\u0103:"a",\u1eb1:"a",\u1eaf:"a",\u1eb5:"a",\u1eb3:"a",\u0227:"a",\u01e1:"a",\u00e4:"a",\u01df:"a",\u1ea3:"a",\u00e5:"a",\u01fb:"a",\u01ce:"a",\u0201:"a",\u0203:"a",\u1ea1:"a",\u1ead:"a",\u1eb7:"a",\u1e01:"a",\u0105:"a",\u2c65:"a",\u0250:"a",\ua733:"aa",\u00e6:"ae",\u01fd:"ae",\u01e3:"ae",\ua735:"ao",\ua737:"au",\ua739:"av",\ua73b:"av",\ua73d:"ay","\u24d1":"b",\uff42:"b",\u1e03:"b",\u1e05:"b",\u1e07:"b",\u0180:"b",\u0183:"b",\u0253:"b","\u24d2":"c",\uff43:"c",\u0107:"c",\u0109:"c",\u010b:"c",\u010d:"c",\u00e7:"c",\u1e09:"c",\u0188:"c",\u023c:"c",\ua73f:"c",\u2184:"c","\u24d3":"d",\uff44:"d",\u1e0b:"d",\u010f:"d",\u1e0d:"d",\u1e11:"d",\u1e13:"d",\u1e0f:"d",\u0111:"d",\u018c:"d",\u0256:"d",\u0257:"d",\ua77a:"d",\u01f3:"dz",\u01c6:"dz","\u24d4":"e",\uff45:"e",\u00e8:"e",\u00e9:"e",\u00ea:"e",\u1ec1:"e",\u1ebf:"e",\u1ec5:"e",\u1ec3:"e",\u1ebd:"e",\u0113:"e",\u1e15:"e",\u1e17:"e",\u0115:"e",\u0117:"e",\u00eb:"e",\u1ebb:"e",\u011b:"e",\u0205:"e",\u0207:"e",\u1eb9:"e",\u1ec7:"e",\u0229:"e",\u1e1d:"e",\u0119:"e",\u1e19:"e",\u1e1b:"e",\u0247:"e",\u025b:"e",\u01dd:"e","\u24d5":"f",\uff46:"f",\u1e1f:"f",\u0192:"f",\ua77c:"f","\u24d6":"g",\uff47:"g",\u01f5:"g",\u011d:"g",\u1e21:"g",\u011f:"g",\u0121:"g",\u01e7:"g",\u0123:"g",\u01e5:"g",\u0260:"g",\ua7a1:"g",\u1d79:"g",\ua77f:"g","\u24d7":"h",\uff48:"h",\u0125:"h",\u1e23:"h",\u1e27:"h",\u021f:"h",\u1e25:"h",\u1e29:"h",\u1e2b:"h",\u1e96:"h",\u0127:"h",\u2c68:"h",\u2c76:"h",\u0265:"h",\u0195:"hv","\u24d8":"i",\uff49:"i",\u00ec:"i",\u00ed:"i",\u00ee:"i",\u0129:"i",\u012b:"i",\u012d:"i",\u00ef:"i",\u1e2f:"i",\u1ec9:"i",\u01d0:"i",\u0209:"i",\u020b:"i",\u1ecb:"i",\u012f:"i",\u1e2d:"i",\u0268:"i",\u0131:"i","\u24d9":"j",\uff4a:"j",\u0135:"j",\u01f0:"j",\u0249:"j","\u24da":"k",\uff4b:"k",\u1e31:"k",\u01e9:"k",\u1e33:"k",\u0137:"k",\u1e35:"k",\u0199:"k",\u2c6a:"k",\ua741:"k",\ua743:"k",\ua745:"k",\ua7a3:"k","\u24db":"l",\uff4c:"l",\u0140:"l",\u013a:"l",\u013e:"l",\u1e37:"l",\u1e39:"l",\u013c:"l",\u1e3d:"l",\u1e3b:"l",\u017f:"l",\u0142:"l",\u019a:"l",\u026b:"l",\u2c61:"l",\ua749:"l",\ua781:"l",\ua747:"l",\u01c9:"lj","\u24dc":"m",\uff4d:"m",\u1e3f:"m",\u1e41:"m",\u1e43:"m",\u0271:"m",\u026f:"m","\u24dd":"n",\uff4e:"n",\u01f9:"n",\u0144:"n",\u00f1:"n",\u1e45:"n",\u0148:"n",\u1e47:"n",\u0146:"n",\u1e4b:"n",\u1e49:"n",\u019e:"n",\u0272:"n",\u0149:"n",\ua791:"n",\ua7a5:"n",\u01cc:"nj","\u24de":"o",\uff4f:"o",\u00f2:"o",\u00f3:"o",\u00f4:"o",\u1ed3:"o",\u1ed1:"o",\u1ed7:"o",\u1ed5:"o",\u00f5:"o",\u1e4d:"o",\u022d:"o",\u1e4f:"o",\u014d:"o",\u1e51:"o",\u1e53:"o",\u014f:"o",\u022f:"o",\u0231:"o",\u00f6:"o",\u022b:"o",\u1ecf:"o",\u0151:"o",\u01d2:"o",\u020d:"o",\u020f:"o",\u01a1:"o",\u1edd:"o",\u1edb:"o",\u1ee1:"o",\u1edf:"o",\u1ee3:"o",\u1ecd:"o",\u1ed9:"o",\u01eb:"o",\u01ed:"o",\u00f8:"o",\u01ff:"o",\u0254:"o",\ua74b:"o",\ua74d:"o",\u0275:"o",\u01a3:"oi",\u0223:"ou",\ua74f:"oo","\u24df":"p",\uff50:"p",\u1e55:"p",\u1e57:"p",\u01a5:"p",\u1d7d:"p",\ua751:"p",\ua753:"p",\ua755:"p","\u24e0":"q",\uff51:"q",\u024b:"q",\ua757:"q",\ua759:"q","\u24e1":"r",\uff52:"r",\u0155:"r",\u1e59:"r",\u0159:"r",\u0211:"r",\u0213:"r",\u1e5b:"r",\u1e5d:"r",\u0157:"r",\u1e5f:"r",\u024d:"r",\u027d:"r",\ua75b:"r",\ua7a7:"r",\ua783:"r","\u24e2":"s",\uff53:"s",\u00df:"s",\u015b:"s",\u1e65:"s",\u015d:"s",\u1e61:"s",\u0161:"s",\u1e67:"s",\u1e63:"s",\u1e69:"s",\u0219:"s",\u015f:"s",\u023f:"s",\ua7a9:"s",\ua785:"s",\u1e9b:"s","\u24e3":"t",\uff54:"t",\u1e6b:"t",\u1e97:"t",\u0165:"t",\u1e6d:"t",\u021b:"t",\u0163:"t",\u1e71:"t",\u1e6f:"t",\u0167:"t",\u01ad:"t",\u0288:"t",\u2c66:"t",\ua787:"t",\ua729:"tz","\u24e4":"u",\uff55:"u",\u00f9:"u",\u00fa:"u",\u00fb:"u",\u0169:"u",\u1e79:"u",\u016b:"u",\u1e7b:"u",\u016d:"u",\u00fc:"u",\u01dc:"u",\u01d8:"u",\u01d6:"u",\u01da:"u",\u1ee7:"u",\u016f:"u",\u0171:"u",\u01d4:"u",\u0215:"u",\u0217:"u",\u01b0:"u",\u1eeb:"u",\u1ee9:"u",\u1eef:"u",\u1eed:"u",\u1ef1:"u",\u1ee5:"u",\u1e73:"u",\u0173:"u",\u1e77:"u",\u1e75:"u",\u0289:"u","\u24e5":"v",\uff56:"v",\u1e7d:"v",\u1e7f:"v",\u028b:"v",\ua75f:"v",\u028c:"v",\ua761:"vy","\u24e6":"w",\uff57:"w",\u1e81:"w",\u1e83:"w",\u0175:"w",\u1e87:"w",\u1e85:"w",\u1e98:"w",\u1e89:"w",\u2c73:"w","\u24e7":"x",\uff58:"x",\u1e8b:"x",\u1e8d:"x","\u24e8":"y",\uff59:"y",\u1ef3:"y",\u00fd:"y",\u0177:"y",\u1ef9:"y",\u0233:"y",\u1e8f:"y",\u00ff:"y",\u1ef7:"y",\u1e99:"y",\u1ef5:"y",\u01b4:"y",\u024f:"y",\u1eff:"y","\u24e9":"z",\uff5a:"z",\u017a:"z",\u1e91:"z",\u017c:"z",\u017e:"z",\u1e93:"z",\u1e95:"z",\u01b6:"z",\u0225:"z",\u0240:"z",\u2c6c:"z",\ua763:"z",\u0386:"\u0391",\u0388:"\u0395",\u0389:"\u0397",\u038a:"\u0399",\u03aa:"\u0399",\u038c:"\u039f",\u038e:"\u03a5",\u03ab:"\u03a5",\u038f:"\u03a9",\u03ac:"\u03b1",\u03ad:"\u03b5",\u03ae:"\u03b7",\u03af:"\u03b9",\u03ca:"\u03b9",\u0390:"\u03b9",\u03cc:"\u03bf",\u03cd:"\u03c5",\u03cb:"\u03c5",\u03b0:"\u03c5",\u03c9:"\u03c9",\u03c2:"\u03c3"};function yn(b){return b.replace(/[^\u0000-\u007E]/g,h=>gn[h]||h)}class kn{constructor(z,h){this._ngSelect=z,this._selectionModel=h,this._items=[],this._filteredItems=[],this._markedIndex=-1}get items(){return this._items}get filteredItems(){return this._filteredItems}get markedIndex(){return this._markedIndex}get selectedItems(){return this._selectionModel.value}get markedItem(){return this._filteredItems[this._markedIndex]}get noItemsToSelect(){return this._ngSelect.hideSelected&&this._items.length===this.selectedItems.length}get maxItemsSelected(){return this._ngSelect.multiple&&this._ngSelect.maxSelectedItems<=this.selectedItems.length}get lastSelectedItem(){let z=this.selectedItems.length-1;for(;z>=0;z--){const h=this.selectedItems[z];if(!h.disabled)return h}return null}setItems(z){this._items=z.map((h,M)=>this.mapItem(h,M)),this._ngSelect.groupBy?(this._groups=this._groupBy(this._items,this._ngSelect.groupBy),this._items=this._flatten(this._groups)):(this._groups=new Map,this._groups.set(void 0,this._items)),this._filteredItems=[...this._items]}select(z){if(z.selected||this.maxItemsSelected)return;const h=this._ngSelect.multiple;h||this.clearSelected(),this._selectionModel.select(z,h,this._ngSelect.selectableGroupAsModel),this._ngSelect.hideSelected&&this._hideSelected(z)}unselect(z){z.selected&&(this._selectionModel.unselect(z,this._ngSelect.multiple),this._ngSelect.hideSelected&&Zt(z.index)&&this._ngSelect.multiple&&this._showSelected(z))}findItem(z){let h;return h=this._ngSelect.compareWith?M=>this._ngSelect.compareWith(M.value,z):this._ngSelect.bindValue?M=>!M.children&&this.resolveNested(M.value,this._ngSelect.bindValue)===z:M=>M.value===z||!M.children&&M.label&&M.label===this.resolveNested(z,this._ngSelect.bindLabel),this._items.find(M=>h(M))}addItem(z){const h=this.mapItem(z,this._items.length);return this._items.push(h),this._filteredItems.push(h),h}clearSelected(z=!1){this._selectionModel.clear(z),this._items.forEach(h=>{h.selected=z&&h.selected&&h.disabled,h.marked=!1}),this._ngSelect.hideSelected&&this.resetFilteredItems()}findByLabel(z){return z=yn(z).toLocaleLowerCase(),this.filteredItems.find(h=>yn(h.label).toLocaleLowerCase().substr(0,z.length)===z)}filter(z){if(!z)return void this.resetFilteredItems();this._filteredItems=[],z=this._ngSelect.searchFn?z:yn(z).toLocaleLowerCase();const h=this._ngSelect.searchFn||this._defaultSearchFn,M=this._ngSelect.hideSelected;for(const T of Array.from(this._groups.keys())){const Re=[];for(const Ge of this._groups.get(T))M&&(Ge.parent&&Ge.parent.selected||Ge.selected)||h(z,this._ngSelect.searchFn?Ge.value:Ge)&&Re.push(Ge);if(Re.length>0){const[Ge]=Re.slice(-1);if(Ge.parent){const Gt=this._items.find(wn=>wn===Ge.parent);this._filteredItems.push(Gt)}this._filteredItems.push(...Re)}}}resetFilteredItems(){this._filteredItems.length!==this._items.length&&(this._filteredItems=this._ngSelect.hideSelected&&this.selectedItems.length>0?this._items.filter(z=>!z.selected):this._items)}unmarkItem(){this._markedIndex=-1}markNextItem(){this._stepToItem(1)}markPreviousItem(){this._stepToItem(-1)}markItem(z){this._markedIndex=this._filteredItems.indexOf(z)}markSelectedOrDefault(z){if(0===this._filteredItems.length)return;const h=this._getLastMarkedIndex();this._markedIndex=h>-1?h:z?this.filteredItems.findIndex(M=>!M.disabled):-1}resolveNested(z,h){if(!Mn(z))return z;if(-1===h.indexOf("."))return z[h];{const M=h.split(".");let T=z;for(let Re=0,Ge=M.length;Re-1===this.selectedItems.indexOf(h)))}_showSelected(z){if(this._filteredItems.push(z),z.parent){const h=z.parent;this._filteredItems.find(T=>T===h)||this._filteredItems.push(h)}else if(z.children)for(const h of z.children)h.selected=!1,this._filteredItems.push(h);this._filteredItems=[...this._filteredItems.sort((h,M)=>h.index-M.index)]}_hideSelected(z){this._filteredItems=this._filteredItems.filter(h=>h!==z),z.parent?z.parent.children.every(M=>M.selected)&&(this._filteredItems=this._filteredItems.filter(M=>M!==z.parent)):z.children&&(this._filteredItems=this.filteredItems.filter(h=>h.parent!==z))}_defaultSearchFn(z,h){return yn(h.label).toLocaleLowerCase().indexOf(z)>-1}_getNextItemIndex(z){return z>0?this._markedIndex>=this._filteredItems.length-1?0:this._markedIndex+1:this._markedIndex<=0?this._filteredItems.length-1:this._markedIndex-1}_stepToItem(z){0===this._filteredItems.length||this._filteredItems.every(h=>h.disabled)||(this._markedIndex=this._getNextItemIndex(z),this.markedItem.disabled&&this._stepToItem(z))}_getLastMarkedIndex(){if(this._ngSelect.hideSelected||this._markedIndex>-1&&void 0===this.markedItem)return-1;const z=this._filteredItems.indexOf(this.lastSelectedItem);return this.lastSelectedItem&&z<0?-1:Math.max(this.markedIndex,z)}_groupBy(z,h){const M=new Map;if(0===z.length)return M;if(Array.isArray(z[0].value[h])){for(const Ge of z){const Gt=(Ge.value[h]||[]).map((wn,rn)=>this.mapItem(wn,rn));M.set(Ge,Gt)}return M}const T=$(this._ngSelect.groupBy),Re=Ge=>{const Gt=T?h(Ge.value):Ge.value[h];return Zt(Gt)?Gt:void 0};for(const Ge of z){const Gt=Re(Ge),wn=M.get(Gt);wn?wn.push(Ge):M.set(Gt,[Ge])}return M}_flatten(z){const h=$(this._ngSelect.groupBy),M=[];for(const T of Array.from(z.keys())){let Re=M.length;if(void 0===T){const ti=z.get(void 0)||[];M.push(...ti.map(Vt=>(Vt.index=Re++,Vt)));continue}const Ge=Mn(T),Gt={label:Ge?"":String(T),children:void 0,parent:null,index:Re++,disabled:!this._ngSelect.selectableGroup,htmlId:pn()},wn=h?this._ngSelect.bindLabel:this._ngSelect.groupBy,rn=this._ngSelect.groupValue||(()=>Ge?T.value:{[wn]:T}),$n=z.get(T).map(ti=>(ti.parent=Gt,ti.children=void 0,ti.index=Re++,ti));Gt.children=$n,Gt.value=rn(T,$n.map(ti=>ti.value)),M.push(Gt),M.push(...$n)}return M}}var ut=function(b){return b[b.Tab=9]="Tab",b[b.Enter=13]="Enter",b[b.Esc=27]="Esc",b[b.Space=32]="Space",b[b.ArrowUp=38]="ArrowUp",b[b.ArrowDown=40]="ArrowDown",b[b.Backspace=8]="Backspace",b}(ut||{});let me=(()=>{class b{constructor(){this._dimensions={itemHeight:0,panelHeight:0,itemsPerViewport:0}}get dimensions(){return this._dimensions}calculateItems(h,M,T){const Re=this._dimensions,Ge=Re.itemHeight*M,wn=Math.max(0,h)/Ge*M;let rn=Math.min(M,Math.ceil(wn)+(Re.itemsPerViewport+1));const ti=Math.max(0,rn-Re.itemsPerViewport);let Vt=Math.min(ti,Math.floor(wn)),Un=Re.itemHeight*Math.ceil(Vt)-Re.itemHeight*Math.min(Vt,T);return Un=isNaN(Un)?0:Un,Vt=isNaN(Vt)?-1:Vt,rn=isNaN(rn)?-1:rn,Vt-=T,Vt=Math.max(0,Vt),rn+=T,rn=Math.min(M,rn),{topPadding:Un,scrollHeight:Ge,start:Vt,end:rn}}setDimensions(h,M){const T=Math.max(1,Math.floor(M/h));this._dimensions={itemHeight:h,panelHeight:M,itemsPerViewport:T}}getScrollTo(h,M,T){const{panelHeight:Re}=this.dimensions,Ge=h+M,wn=T+Re;return Re>=Ge&&T===h?null:Ge>wn?T+Ge-wn:h<=T?h:null}static#e=this.\u0275fac=function(M){return new(M||b)};static#t=this.\u0275prov=n.Yz7({token:b,factory:b.\u0275fac})}return b})();const le=["top","right","bottom","left"],G=typeof requestAnimationFrame<"u"?xe.Z:fe.E;let Ie=(()=>{class b{constructor(h,M,T,Re,Ge){this._renderer=h,this._zone=M,this._panelService=T,this._document=Ge,this.items=[],this.position="auto",this.virtualScroll=!1,this.filterValue=null,this.update=new n.vpe,this.scroll=new n.vpe,this.scrollToEnd=new n.vpe,this.outsideClick=new n.vpe,this._destroy$=new ce.x,this._scrollToEndFired=!1,this._updateScrollHeight=!1,this._lastScrollPosition=0,this._dropdown=Re.nativeElement}get currentPosition(){return this._currentPosition}get itemsLength(){return this._itemsLength}set itemsLength(h){h!==this._itemsLength&&(this._itemsLength=h,this._onItemsLengthChanged())}get _startOffset(){if(this.markedItem){const{itemHeight:h,panelHeight:M}=this._panelService.dimensions,T=this.markedItem.index*h;return M>T?0:T}return 0}ngOnInit(){this._select=this._dropdown.parentElement,this._virtualPadding=this.paddingElementRef.nativeElement,this._scrollablePanel=this.scrollElementRef.nativeElement,this._contentPanel=this.contentElementRef.nativeElement,this._handleScroll(),this._handleOutsideClick(),this._appendDropdown(),this._setupMousedownListener()}ngOnChanges(h){if(h.items){const M=h.items;this._onItemsChange(M.currentValue,M.firstChange)}}ngOnDestroy(){this._destroy$.next(),this._destroy$.complete(),this._destroy$.unsubscribe(),this.appendTo&&this._renderer.removeChild(this._dropdown.parentNode,this._dropdown)}scrollTo(h,M=!1){if(!h)return;const T=this.items.indexOf(h);if(T<0||T>=this.itemsLength)return;let Re;if(this.virtualScroll){const Ge=this._panelService.dimensions.itemHeight;Re=this._panelService.getScrollTo(T*Ge,Ge,this._lastScrollPosition)}else{const Ge=this._dropdown.querySelector(`#${h.htmlId}`);Re=this._panelService.getScrollTo(Ge.offsetTop,Ge.clientHeight,M?Ge.offsetTop:this._lastScrollPosition)}Zt(Re)&&(this._scrollablePanel.scrollTop=Re)}scrollToTag(){const h=this._scrollablePanel;h.scrollTop=h.scrollHeight-h.clientHeight}adjustPosition(){this._updateYPosition()}_handleDropdownPosition(){this._currentPosition=this._calculateCurrentPosition(this._dropdown),le.includes(this._currentPosition)?this._updateDropdownClass(this._currentPosition):this._updateDropdownClass("bottom"),this.appendTo&&this._updateYPosition(),this._dropdown.style.opacity="1"}_updateDropdownClass(h){le.forEach(T=>{const Re=`ng-select-${T}`;this._renderer.removeClass(this._dropdown,Re),this._renderer.removeClass(this._select,Re)});const M=`ng-select-${h}`;this._renderer.addClass(this._dropdown,M),this._renderer.addClass(this._select,M)}_handleScroll(){this._zone.runOutsideAngular(()=>{(0,De.R)(this.scrollElementRef.nativeElement,"scroll").pipe((0,E.R)(this._destroy$),(0,H.e)(0,G)).subscribe(h=>{const M=h.path||h.composedPath&&h.composedPath();this._onContentScrolled(M&&0!==M.length?M[0].scrollTop:h.target.scrollTop)})})}_handleOutsideClick(){this._document&&this._zone.runOutsideAngular(()=>{(0,Ae.T)((0,De.R)(this._document,"touchstart",{capture:!0}),(0,De.R)(this._document,"mousedown",{capture:!0})).pipe((0,E.R)(this._destroy$)).subscribe(h=>this._checkToClose(h))})}_checkToClose(h){if(this._select.contains(h.target)||this._dropdown.contains(h.target))return;const M=h.path||h.composedPath&&h.composedPath();h.target&&h.target.shadowRoot&&M&&M[0]&&this._select.contains(M[0])||this._zone.run(()=>this.outsideClick.emit())}_onItemsChange(h,M){this.items=h||[],this._scrollToEndFired=!1,this.itemsLength=h.length,this.virtualScroll?this._updateItemsRange(M):(this._setVirtualHeight(),this._updateItems(M))}_updateItems(h){this.update.emit(this.items),!1!==h&&this._zone.runOutsideAngular(()=>{Promise.resolve().then(()=>{this._panelService.setDimensions(0,this._scrollablePanel.clientHeight),this._handleDropdownPosition(),this.scrollTo(this.markedItem,h)})})}_updateItemsRange(h){this._zone.runOutsideAngular(()=>{this._measureDimensions().then(()=>{h?(this._renderItemsRange(this._startOffset),this._handleDropdownPosition()):this._renderItemsRange()})})}_onContentScrolled(h){this.virtualScroll&&this._renderItemsRange(h),this._lastScrollPosition=h,this._fireScrollToEnd(h)}_updateVirtualHeight(h){this._updateScrollHeight&&(this._virtualPadding.style.height=`${h}px`,this._updateScrollHeight=!1)}_setVirtualHeight(){this._virtualPadding&&(this._virtualPadding.style.height="0px")}_onItemsLengthChanged(){this._updateScrollHeight=!0}_renderItemsRange(h=null){if(h&&this._lastScrollPosition===h)return;const M=this._panelService.calculateItems(h=h||this._scrollablePanel.scrollTop,this.itemsLength,this.bufferAmount);this._updateVirtualHeight(M.scrollHeight),this._contentPanel.style.transform=`translateY(${M.topPadding}px)`,this._zone.run(()=>{this.update.emit(this.items.slice(M.start,M.end)),this.scroll.emit({start:M.start,end:M.end})}),Zt(h)&&0===this._lastScrollPosition&&(this._scrollablePanel.scrollTop=h,this._lastScrollPosition=h)}_measureDimensions(){if(this._panelService.dimensions.itemHeight>0||0===this.itemsLength)return Promise.resolve(this._panelService.dimensions);const[h]=this.items;return this.update.emit([h]),Promise.resolve().then(()=>{const T=this._dropdown.querySelector(`#${h.htmlId}`).clientHeight;return this._virtualPadding.style.height=T*this.itemsLength+"px",this._panelService.setDimensions(T,this._scrollablePanel.clientHeight),this._panelService.dimensions})}_fireScrollToEnd(h){this._scrollToEndFired||0===h||h+this._dropdown.clientHeight>=(this.virtualScroll?this._virtualPadding:this._contentPanel).clientHeight-1&&(this._zone.run(()=>this.scrollToEnd.emit()),this._scrollToEndFired=!0)}_calculateCurrentPosition(h){if("auto"!==this.position)return this.position;const M=this._select.getBoundingClientRect(),T=document.documentElement.scrollTop||document.body.scrollTop;return M.top+window.pageYOffset+M.height+h.getBoundingClientRect().height>T+document.documentElement.clientHeight?"top":"bottom"}_appendDropdown(){if(this.appendTo){if(this._parent=document.querySelector(this.appendTo),!this._parent)throw new Error(`appendTo selector ${this.appendTo} did not found any parent element`);this._updateXPosition(),this._parent.appendChild(this._dropdown)}}_updateXPosition(){const h=this._select.getBoundingClientRect(),M=this._parent.getBoundingClientRect();this._dropdown.style.left=h.left-M.left+"px",this._dropdown.style.width=h.width+"px",this._dropdown.style.minWidth=h.width+"px"}_updateYPosition(){const h=this._select.getBoundingClientRect(),M=this._parent.getBoundingClientRect(),T=h.height;"top"===this._currentPosition?(this._dropdown.style.bottom=M.bottom-h.bottom+T+"px",this._dropdown.style.top="auto"):"bottom"===this._currentPosition&&(this._dropdown.style.top=h.top-M.top+T+"px",this._dropdown.style.bottom="auto")}_setupMousedownListener(){this._zone.runOutsideAngular(()=>{(0,De.R)(this._dropdown,"mousedown").pipe((0,E.R)(this._destroy$)).subscribe(h=>{"INPUT"!==h.target.tagName&&h.preventDefault()})})}static#e=this.\u0275fac=function(M){return new(M||b)(n.Y36(n.Qsj),n.Y36(n.R0b),n.Y36(me),n.Y36(n.SBq),n.Y36(l.K0,8))};static#t=this.\u0275cmp=n.Xpm({type:b,selectors:[["ng-dropdown-panel"]],viewQuery:function(M,T){if(1&M&&(n.Gf(Le,7,n.SBq),n.Gf(se,7,n.SBq),n.Gf(ue,7,n.SBq)),2&M){let Re;n.iGM(Re=n.CRH())&&(T.contentElementRef=Re.first),n.iGM(Re=n.CRH())&&(T.scrollElementRef=Re.first),n.iGM(Re=n.CRH())&&(T.paddingElementRef=Re.first)}},inputs:{items:"items",markedItem:"markedItem",position:"position",appendTo:"appendTo",bufferAmount:"bufferAmount",virtualScroll:"virtualScroll",headerTemplate:"headerTemplate",footerTemplate:"footerTemplate",filterValue:"filterValue"},outputs:{update:"update",scroll:"scroll",scrollToEnd:"scrollToEnd",outsideClick:"outsideClick"},features:[n.TTD],ngContentSelectors:Ce,decls:9,vars:6,consts:[["class","ng-dropdown-header",4,"ngIf"],["role","listbox",1,"ng-dropdown-panel-items","scroll-host"],["scroll",""],["padding",""],["content",""],["class","ng-dropdown-footer",4,"ngIf"],[1,"ng-dropdown-header"],[3,"ngTemplateOutlet","ngTemplateOutletContext"],[1,"ng-dropdown-footer"]],template:function(M,T){1&M&&(n.F$t(),n.YNc(0,oe,2,4,"div",0),n.TgZ(1,"div",1,2),n._UZ(3,"div",null,3),n.TgZ(5,"div",null,4),n.Hsn(7),n.qZA()(),n.YNc(8,N,2,4,"div",5)),2&M&&(n.Q6J("ngIf",T.headerTemplate),n.xp6(3),n.ekj("total-padding",T.virtualScroll),n.xp6(2),n.ekj("scrollable-content",T.virtualScroll&&T.items.length),n.xp6(3),n.Q6J("ngIf",T.footerTemplate))},dependencies:[l.O5,l.tP],encapsulation:2,changeDetection:0})}return b})(),$e=(()=>{class b{get disabled(){return this._disabled}set disabled(h){this._disabled=this._isDisabled(h)}constructor(h){this.elementRef=h,this.stateChange$=new ce.x,this._disabled=!1}get label(){return(this.elementRef.nativeElement.textContent||"").trim()}ngOnChanges(h){h.disabled&&this.stateChange$.next({value:this.value,disabled:this._disabled})}ngAfterViewChecked(){this.label!==this._previousLabel&&(this._previousLabel=this.label,this.stateChange$.next({value:this.value,disabled:this._disabled,label:this.elementRef.nativeElement.innerHTML}))}ngOnDestroy(){this.stateChange$.complete()}_isDisabled(h){return null!=h&&"false"!=`${h}`}static#e=this.\u0275fac=function(M){return new(M||b)(n.Y36(n.SBq))};static#t=this.\u0275cmp=n.Xpm({type:b,selectors:[["ng-option"]],inputs:{value:"value",disabled:"disabled"},features:[n.TTD],ngContentSelectors:Ce,decls:1,vars:0,template:function(M,T){1&M&&(n.F$t(),n.Hsn(0))},encapsulation:2,changeDetection:0})}return b})(),St=(()=>{class b{constructor(){this.notFoundText="No items found",this.typeToSearchText="Type to search",this.addTagText="Add item",this.loadingText="Loading...",this.clearAllText="Clear all",this.disableVirtualScroll=!0,this.openOnEnter=!0,this.appearance="underline"}static#e=this.\u0275fac=function(M){return new(M||b)};static#t=this.\u0275prov=n.Yz7({token:b,factory:b.\u0275fac,providedIn:"root"})}return b})(),_e=(()=>{class b{warn(h){console.warn(h)}static#e=this.\u0275fac=function(M){return new(M||b)};static#t=this.\u0275prov=n.Yz7({token:b,factory:b.\u0275fac,providedIn:"root"})}return b})();const ee=new n.OlP("ng-select-selection-model");let S=(()=>{class b{get items(){return this._items}set items(h){null===h&&(h=[]),this._itemsAreUsed=!0,this._items=h}get compareWith(){return this._compareWith}set compareWith(h){if(null!=h&&!$(h))throw Error("`compareWith` must be a function.");this._compareWith=h}get clearSearchOnAdd(){return Zt(this._clearSearchOnAdd)?this._clearSearchOnAdd:Zt(this.config.clearSearchOnAdd)?this.config.clearSearchOnAdd:this.closeOnSelect}set clearSearchOnAdd(h){this._clearSearchOnAdd=h}get deselectOnClick(){return Zt(this._deselectOnClick)?this._deselectOnClick:Zt(this.config.deselectOnClick)?this.config.deselectOnClick:this.multiple}set deselectOnClick(h){this._deselectOnClick=h}get disabled(){return this.readonly||this._disabled}get filtered(){return!!this.searchTerm&&this.searchable||this._isComposing}get single(){return!this.multiple}get _editableSearchTerm(){return this.editableSearchTerm&&!this.multiple}constructor(h,M,T,Re,Ge,Gt,wn){this.classes=h,this.autoFocus=M,this.config=T,this._cd=Gt,this._console=wn,this.markFirst=!0,this.dropdownPosition="auto",this.loading=!1,this.closeOnSelect=!0,this.hideSelected=!1,this.selectOnTab=!1,this.bufferAmount=4,this.selectableGroup=!1,this.selectableGroupAsModel=!0,this.searchFn=null,this.trackByFn=null,this.clearOnBackspace=!0,this.labelForId=null,this.inputAttrs={},this.readonly=!1,this.searchWhileComposing=!0,this.minTermLength=0,this.editableSearchTerm=!1,this.keyDownFn=rn=>!0,this.multiple=!1,this.addTag=!1,this.searchable=!0,this.clearable=!0,this.isOpen=!1,this.blurEvent=new n.vpe,this.focusEvent=new n.vpe,this.changeEvent=new n.vpe,this.openEvent=new n.vpe,this.closeEvent=new n.vpe,this.searchEvent=new n.vpe,this.clearEvent=new n.vpe,this.addEvent=new n.vpe,this.removeEvent=new n.vpe,this.scroll=new n.vpe,this.scrollToEnd=new n.vpe,this.useDefaultClass=!0,this.viewPortItems=[],this.searchTerm=null,this.dropdownId=pn(),this.escapeHTML=!0,this._items=[],this._defaultLabel="label",this._pressedKeys=[],this._isComposing=!1,this._destroy$=new ce.x,this._keyPress$=new ce.x,this._onChange=rn=>{},this._onTouched=()=>{},this.clearItem=rn=>{const $n=this.selectedItems.find(ti=>ti.value===rn);this.unselect($n)},this.trackByOption=(rn,$n)=>this.trackByFn?this.trackByFn($n.value):$n,this._mergeGlobalConfig(T),this.itemsList=new kn(this,Re()),this.element=Ge.nativeElement}get selectedItems(){return this.itemsList.selectedItems}get selectedValues(){return this.selectedItems.map(h=>h.value)}get hasValue(){return this.selectedItems.length>0}get currentPanelPosition(){if(this.dropdownPanel)return this.dropdownPanel.currentPosition}ngOnInit(){this._handleKeyPresses(),this._setInputAttributes()}ngOnChanges(h){h.multiple&&this.itemsList.clearSelected(),h.items&&this._setItems(h.items.currentValue||[]),h.isOpen&&(this._manualOpen=Zt(h.isOpen.currentValue))}ngAfterViewInit(){this._itemsAreUsed||(this.escapeHTML=!1,this._setItemsFromNgOptions()),Zt(this.autoFocus)&&this.focus()}ngOnDestroy(){this._destroy$.next(),this._destroy$.complete()}handleKeyDown(h){if(ut[h.which]){if(!1===this.keyDownFn(h))return;this.handleKeyCode(h)}else h.key&&1===h.key.length&&this._keyPress$.next(h.key.toLocaleLowerCase())}handleKeyCode(h){switch(h.which){case ut.ArrowDown:this._handleArrowDown(h);break;case ut.ArrowUp:this._handleArrowUp(h);break;case ut.Space:this._handleSpace(h);break;case ut.Enter:this._handleEnter(h);break;case ut.Tab:this._handleTab(h);break;case ut.Esc:this.close(),h.preventDefault();break;case ut.Backspace:this._handleBackspace()}}handleMousedown(h){const M=h.target;"INPUT"!==M.tagName&&h.preventDefault(),M.classList.contains("ng-clear-wrapper")?this.handleClearClick():M.classList.contains("ng-arrow-wrapper")?this.handleArrowClick():M.classList.contains("ng-value-icon")||(this.focused||this.focus(),this.searchable?this.open():this.toggle())}handleArrowClick(){this.isOpen?this.close():this.open()}handleClearClick(){this.hasValue&&(this.itemsList.clearSelected(!0),this._updateNgModel()),this._clearSearch(),this.focus(),this.clearEvent.emit(),this._onSelectionChanged()}clearModel(){this.clearable&&(this.itemsList.clearSelected(),this._updateNgModel())}writeValue(h){this.itemsList.clearSelected(),this._handleWriteValue(h),this._cd.markForCheck()}registerOnChange(h){this._onChange=h}registerOnTouched(h){this._onTouched=h}setDisabledState(h){this._disabled=h,this._cd.markForCheck()}toggle(){this.isOpen?this.close():this.open()}open(){this.disabled||this.isOpen||this._manualOpen||!this._isTypeahead&&!this.addTag&&this.itemsList.noItemsToSelect||(this.isOpen=!0,this.itemsList.markSelectedOrDefault(this.markFirst),this.openEvent.emit(),this.searchTerm||this.focus(),this.detectChanges())}close(){!this.isOpen||this._manualOpen||(this.isOpen=!1,this._isComposing=!1,this._editableSearchTerm?this.itemsList.resetFilteredItems():this._clearSearch(),this.itemsList.unmarkItem(),this._onTouched(),this.closeEvent.emit(),this._cd.markForCheck())}toggleItem(h){!h||h.disabled||this.disabled||(this.deselectOnClick&&h.selected?this.unselect(h):this.select(h),this._editableSearchTerm&&this._setSearchTermFromItems(),this._onSelectionChanged())}select(h){h.selected||(this.itemsList.select(h),this.clearSearchOnAdd&&!this._editableSearchTerm&&this._clearSearch(),this._updateNgModel(),this.multiple&&this.addEvent.emit(h.value)),(this.closeOnSelect||this.itemsList.noItemsToSelect)&&this.close()}focus(){this.searchInput.nativeElement.readOnly||this.searchInput.nativeElement.focus()}blur(){this.searchInput.nativeElement.blur()}unselect(h){h&&(this.itemsList.unselect(h),this.focus(),this._updateNgModel(),this.removeEvent.emit(h))}selectTag(){let h;h=$(this.addTag)?this.addTag(this.searchTerm):this._primitive?this.searchTerm:{[this.bindLabel]:this.searchTerm};const M=T=>this._isTypeahead||!this.isOpen?this.itemsList.mapItem(T,null):this.itemsList.addItem(T);!function it(b){return b instanceof Promise}(h)?h&&this.select(M(h)):h.then(T=>this.select(M(T))).catch(()=>{})}showClear(){return this.clearable&&(this.hasValue||this.searchTerm)&&!this.disabled}get showAddTag(){if(!this._validTerm)return!1;const h=this.searchTerm.toLowerCase().trim();return this.addTag&&!this.itemsList.filteredItems.some(M=>M.label.toLowerCase()===h)&&(!this.hideSelected&&this.isOpen||!this.selectedItems.some(M=>M.label.toLowerCase()===h))&&!this.loading}showNoItemsFound(){const h=0===this.itemsList.filteredItems.length;return(h&&!this._isTypeahead&&!this.loading||h&&this._isTypeahead&&this._validTerm&&!this.loading)&&!this.showAddTag}showTypeToSearch(){return 0===this.itemsList.filteredItems.length&&this._isTypeahead&&!this._validTerm&&!this.loading}onCompositionStart(){this._isComposing=!0}onCompositionEnd(h){this._isComposing=!1,!this.searchWhileComposing&&this.filter(h)}filter(h){this._isComposing&&!this.searchWhileComposing||(this.searchTerm=h,this._isTypeahead&&(this._validTerm||0===this.minTermLength)&&this.typeahead.next(h),this._isTypeahead||(this.itemsList.filter(this.searchTerm),this.isOpen&&this.itemsList.markSelectedOrDefault(this.markFirst)),this.searchEvent.emit({term:h,items:this.itemsList.filteredItems.map(M=>M.value)}),this.open())}onInputFocus(h){this.focused||(this._editableSearchTerm&&this._setSearchTermFromItems(),this.element.classList.add("ng-select-focused"),this.focusEvent.emit(h),this.focused=!0)}onInputBlur(h){this.element.classList.remove("ng-select-focused"),this.blurEvent.emit(h),!this.isOpen&&!this.disabled&&this._onTouched(),this._editableSearchTerm&&this._setSearchTermFromItems(),this.focused=!1}onItemHover(h){h.disabled||this.itemsList.markItem(h)}detectChanges(){this._cd.destroyed||this._cd.detectChanges()}_setSearchTermFromItems(){const h=this.selectedItems&&this.selectedItems[0];this.searchTerm=h&&h.label||null}_setItems(h){const M=h[0];this.bindLabel=this.bindLabel||this._defaultLabel,this._primitive=Zt(M)?!Mn(M):this._primitive||this.bindLabel===this._defaultLabel,this.itemsList.setItems(h),h.length>0&&this.hasValue&&this.itemsList.mapSelectedItems(),this.isOpen&&Zt(this.searchTerm)&&!this._isTypeahead&&this.itemsList.filter(this.searchTerm),(this._isTypeahead||this.isOpen)&&this.itemsList.markSelectedOrDefault(this.markFirst)}_setItemsFromNgOptions(){const h=T=>{this.items=T.map(Re=>({$ngOptionValue:Re.value,$ngOptionLabel:Re.elementRef.nativeElement.innerHTML,disabled:Re.disabled})),this.itemsList.setItems(this.items),this.hasValue&&this.itemsList.mapSelectedItems(),this.detectChanges()},M=()=>{const T=(0,Ae.T)(this.ngOptions.changes,this._destroy$);(0,Ae.T)(...this.ngOptions.map(Re=>Re.stateChange$)).pipe((0,E.R)(T)).subscribe(Re=>{const Ge=this.itemsList.findItem(Re.value);Ge.disabled=Re.disabled,Ge.label=Re.label||Ge.label,this._cd.detectChanges()})};this.ngOptions.changes.pipe((0,Q.O)(this.ngOptions),(0,E.R)(this._destroy$)).subscribe(T=>{this.bindLabel=this._defaultLabel,h(T),M()})}_isValidWriteValue(h){if(!Zt(h)||this.multiple&&""===h||Array.isArray(h)&&0===h.length)return!1;const M=T=>!(!Zt(this.compareWith)&&Mn(T)&&this.bindValue&&(this._console.warn(`Setting object(${JSON.stringify(T)}) as your model with bindValue is not allowed unless [compareWith] is used.`),1));return this.multiple?Array.isArray(h)?h.every(T=>M(T)):(this._console.warn("Multiple select ngModel should be array."),!1):M(h)}_handleWriteValue(h){if(!this._isValidWriteValue(h))return;const M=T=>{let Re=this.itemsList.findItem(T);if(Re)this.itemsList.select(Re);else{const Ge=Mn(T);Ge||!Ge&&!this.bindValue?this.itemsList.select(this.itemsList.mapItem(T,null)):this.bindValue&&(Re={[this.bindLabel]:null,[this.bindValue]:T},this.itemsList.select(this.itemsList.mapItem(Re,null)))}};this.multiple?h.forEach(T=>M(T)):M(h)}_handleKeyPresses(){this.searchable||this._keyPress$.pipe((0,E.R)(this._destroy$),(0,ne.b)(h=>this._pressedKeys.push(h)),(0,we.b)(200),(0,ie.h)(()=>this._pressedKeys.length>0),(0,J.U)(()=>this._pressedKeys.join(""))).subscribe(h=>{const M=this.itemsList.findByLabel(h);M&&(this.isOpen?(this.itemsList.markItem(M),this._scrollToMarked(),this._cd.markForCheck()):this.select(M)),this._pressedKeys=[]})}_setInputAttributes(){const h=this.searchInput.nativeElement,M={type:"text",autocorrect:"off",autocapitalize:"off",autocomplete:this.labelForId?"off":this.dropdownId,...this.inputAttrs};for(const T of Object.keys(M))h.setAttribute(T,M[T])}_updateNgModel(){const h=[];for(const T of this.selectedItems)if(this.bindValue){let Re=null;Re=T.children?T.value[(this.groupValue?this.bindValue:this.groupBy)||this.groupBy]:this.itemsList.resolveNested(T.value,this.bindValue),h.push(Re)}else h.push(T.value);const M=this.selectedItems.map(T=>T.value);this.multiple?(this._onChange(h),this.changeEvent.emit(M)):(this._onChange(Zt(h[0])?h[0]:null),this.changeEvent.emit(M[0])),this._cd.markForCheck()}_clearSearch(){this.searchTerm&&(this._changeSearch(null),this.itemsList.resetFilteredItems())}_changeSearch(h){this.searchTerm=h,this._isTypeahead&&this.typeahead.next(h)}_scrollToMarked(){!this.isOpen||!this.dropdownPanel||this.dropdownPanel.scrollTo(this.itemsList.markedItem)}_scrollToTag(){!this.isOpen||!this.dropdownPanel||this.dropdownPanel.scrollToTag()}_onSelectionChanged(){this.isOpen&&this.deselectOnClick&&this.appendTo&&(this._cd.detectChanges(),this.dropdownPanel.adjustPosition())}_handleTab(h){!1===this.isOpen&&!this.addTag||(this.selectOnTab?this.itemsList.markedItem?(this.toggleItem(this.itemsList.markedItem),h.preventDefault()):this.showAddTag?(this.selectTag(),h.preventDefault()):this.close():this.close())}_handleEnter(h){if(this.isOpen||this._manualOpen)this.itemsList.markedItem?this.toggleItem(this.itemsList.markedItem):this.showAddTag&&this.selectTag();else{if(!this.openOnEnter)return;this.open()}h.preventDefault()}_handleSpace(h){this.isOpen||this._manualOpen||(this.open(),h.preventDefault())}_handleArrowDown(h){this._nextItemIsTag(1)?(this.itemsList.unmarkItem(),this._scrollToTag()):(this.itemsList.markNextItem(),this._scrollToMarked()),this.open(),h.preventDefault()}_handleArrowUp(h){this.isOpen&&(this._nextItemIsTag(-1)?(this.itemsList.unmarkItem(),this._scrollToTag()):(this.itemsList.markPreviousItem(),this._scrollToMarked()),h.preventDefault())}_nextItemIsTag(h){const M=this.itemsList.markedIndex+h;return this.addTag&&this.searchTerm&&this.itemsList.markedItem&&(M<0||M===this.itemsList.filteredItems.length)}_handleBackspace(){this.searchTerm||!this.clearable||!this.clearOnBackspace||!this.hasValue||(this.multiple?this.unselect(this.itemsList.lastSelectedItem):this.clearModel())}get _isTypeahead(){return this.typeahead&&this.typeahead.observers.length>0}get _validTerm(){const h=this.searchTerm&&this.searchTerm.trim();return h&&h.length>=this.minTermLength}_mergeGlobalConfig(h){this.placeholder=this.placeholder||h.placeholder,this.notFoundText=this.notFoundText||h.notFoundText,this.typeToSearchText=this.typeToSearchText||h.typeToSearchText,this.addTagText=this.addTagText||h.addTagText,this.loadingText=this.loadingText||h.loadingText,this.clearAllText=this.clearAllText||h.clearAllText,this.virtualScroll=Zt(this.virtualScroll)?this.virtualScroll:!!Zt(h.disableVirtualScroll)&&!h.disableVirtualScroll,this.openOnEnter=Zt(this.openOnEnter)?this.openOnEnter:h.openOnEnter,this.appendTo=this.appendTo||h.appendTo,this.bindValue=this.bindValue||h.bindValue,this.bindLabel=this.bindLabel||h.bindLabel,this.appearance=this.appearance||h.appearance}static#e=this.\u0275fac=function(M){return new(M||b)(n.$8M("class"),n.$8M("autofocus"),n.Y36(St),n.Y36(ee),n.Y36(n.SBq),n.Y36(n.sBO),n.Y36(_e))};static#t=this.\u0275cmp=n.Xpm({type:b,selectors:[["ng-select"]],contentQueries:function(M,T,Re){if(1&M&&(n.Suo(Re,Be,5,n.Rgc),n.Suo(Re,lt,5,n.Rgc),n.Suo(Re,ht,5,n.Rgc),n.Suo(Re,mt,5,n.Rgc),n.Suo(Re,Mt,5,n.Rgc),n.Suo(Re,ln,5,n.Rgc),n.Suo(Re,Wt,5,n.Rgc),n.Suo(Re,Kt,5,n.Rgc),n.Suo(Re,$t,5,n.Rgc),n.Suo(Re,An,5,n.Rgc),n.Suo(Re,bn,5,n.Rgc),n.Suo(Re,$e,5)),2&M){let Ge;n.iGM(Ge=n.CRH())&&(T.optionTemplate=Ge.first),n.iGM(Ge=n.CRH())&&(T.optgroupTemplate=Ge.first),n.iGM(Ge=n.CRH())&&(T.labelTemplate=Ge.first),n.iGM(Ge=n.CRH())&&(T.multiLabelTemplate=Ge.first),n.iGM(Ge=n.CRH())&&(T.headerTemplate=Ge.first),n.iGM(Ge=n.CRH())&&(T.footerTemplate=Ge.first),n.iGM(Ge=n.CRH())&&(T.notFoundTemplate=Ge.first),n.iGM(Ge=n.CRH())&&(T.typeToSearchTemplate=Ge.first),n.iGM(Ge=n.CRH())&&(T.loadingTextTemplate=Ge.first),n.iGM(Ge=n.CRH())&&(T.tagTemplate=Ge.first),n.iGM(Ge=n.CRH())&&(T.loadingSpinnerTemplate=Ge.first),n.iGM(Ge=n.CRH())&&(T.ngOptions=Ge)}},viewQuery:function(M,T){if(1&M&&(n.Gf(Ie,5),n.Gf(K,7)),2&M){let Re;n.iGM(Re=n.CRH())&&(T.dropdownPanel=Re.first),n.iGM(Re=n.CRH())&&(T.searchInput=Re.first)}},hostVars:20,hostBindings:function(M,T){1&M&&n.NdJ("keydown",function(Ge){return T.handleKeyDown(Ge)}),2&M&&n.ekj("ng-select-typeahead",T.typeahead)("ng-select-multiple",T.multiple)("ng-select-taggable",T.addTag)("ng-select-searchable",T.searchable)("ng-select-clearable",T.clearable)("ng-select-opened",T.isOpen)("ng-select",T.useDefaultClass)("ng-select-disabled",T.disabled)("ng-select-filtered",T.filtered)("ng-select-single",T.single)},inputs:{bindLabel:"bindLabel",bindValue:"bindValue",markFirst:"markFirst",placeholder:"placeholder",notFoundText:"notFoundText",typeToSearchText:"typeToSearchText",addTagText:"addTagText",loadingText:"loadingText",clearAllText:"clearAllText",appearance:"appearance",dropdownPosition:"dropdownPosition",appendTo:"appendTo",loading:"loading",closeOnSelect:"closeOnSelect",hideSelected:"hideSelected",selectOnTab:"selectOnTab",openOnEnter:"openOnEnter",maxSelectedItems:"maxSelectedItems",groupBy:"groupBy",groupValue:"groupValue",bufferAmount:"bufferAmount",virtualScroll:"virtualScroll",selectableGroup:"selectableGroup",selectableGroupAsModel:"selectableGroupAsModel",searchFn:"searchFn",trackByFn:"trackByFn",clearOnBackspace:"clearOnBackspace",labelForId:"labelForId",inputAttrs:"inputAttrs",tabIndex:"tabIndex",readonly:"readonly",searchWhileComposing:"searchWhileComposing",minTermLength:"minTermLength",editableSearchTerm:"editableSearchTerm",keyDownFn:"keyDownFn",typeahead:"typeahead",multiple:"multiple",addTag:"addTag",searchable:"searchable",clearable:"clearable",isOpen:"isOpen",items:"items",compareWith:"compareWith",clearSearchOnAdd:"clearSearchOnAdd",deselectOnClick:"deselectOnClick"},outputs:{blurEvent:"blur",focusEvent:"focus",changeEvent:"change",openEvent:"open",closeEvent:"close",searchEvent:"search",clearEvent:"clear",addEvent:"add",removeEvent:"remove",scroll:"scroll",scrollToEnd:"scrollToEnd"},features:[n._Bn([{provide:w.JU,useExisting:(0,n.Gpc)(()=>b),multi:!0},me]),n.TTD],decls:14,vars:19,consts:[[1,"ng-select-container",3,"mousedown"],[1,"ng-value-container"],[1,"ng-placeholder"],[4,"ngIf"],["role","combobox","aria-haspopup","listbox",1,"ng-input"],["aria-autocomplete","list",3,"readOnly","disabled","value","input","compositionstart","compositionend","focus","blur","change"],["searchInput",""],["class","ng-clear-wrapper",3,"title",4,"ngIf"],[1,"ng-arrow-wrapper"],[1,"ng-arrow"],["class","ng-dropdown-panel","role","listbox","aria-label","Options list",3,"virtualScroll","bufferAmount","appendTo","position","headerTemplate","footerTemplate","filterValue","items","markedItem","ng-select-multiple","ngClass","id","update","scroll","scrollToEnd","outsideClick",4,"ngIf"],["class","ng-value",3,"ng-value-disabled",4,"ngFor","ngForOf","ngForTrackBy"],[1,"ng-value"],["defaultLabelTemplate",""],[3,"ngTemplateOutlet","ngTemplateOutletContext"],["aria-hidden","true",1,"ng-value-icon","left",3,"click"],[1,"ng-value-label",3,"ngItemLabel","escape"],["defaultLoadingSpinnerTemplate",""],[3,"ngTemplateOutlet"],[1,"ng-spinner-loader"],[1,"ng-clear-wrapper",3,"title"],["aria-hidden","true",1,"ng-clear"],["role","listbox","aria-label","Options list",1,"ng-dropdown-panel",3,"virtualScroll","bufferAmount","appendTo","position","headerTemplate","footerTemplate","filterValue","items","markedItem","ngClass","id","update","scroll","scrollToEnd","outsideClick"],["class","ng-option",3,"ng-option-disabled","ng-option-selected","ng-optgroup","ng-option","ng-option-child","ng-option-marked","click","mouseover",4,"ngFor","ngForOf","ngForTrackBy"],["class","ng-option","role","option",3,"ng-option-marked","mouseover","click",4,"ngIf"],[1,"ng-option",3,"click","mouseover"],["defaultOptionTemplate",""],[1,"ng-option-label",3,"ngItemLabel","escape"],["role","option",1,"ng-option",3,"mouseover","click"],["defaultTagTemplate",""],[1,"ng-tag-label"],["defaultNotFoundTemplate",""],[1,"ng-option","ng-option-disabled"],["defaultTypeToSearchTemplate",""],["defaultLoadingTextTemplate",""]],template:function(M,T){if(1&M){const Re=n.EpF();n.TgZ(0,"div",0),n.NdJ("mousedown",function(Gt){return T.handleMousedown(Gt)}),n.TgZ(1,"div",1)(2,"div",2),n._uU(3),n.qZA(),n.YNc(4,ct,2,2,"ng-container",3),n.YNc(5,It,1,5,null,3),n.TgZ(6,"div",4)(7,"input",5,6),n.NdJ("input",function(){n.CHM(Re);const Gt=n.MAs(8);return n.KtG(T.filter(Gt.value))})("compositionstart",function(){return T.onCompositionStart()})("compositionend",function(){n.CHM(Re);const Gt=n.MAs(8);return n.KtG(T.onCompositionEnd(Gt.value))})("focus",function(Gt){return T.onInputFocus(Gt)})("blur",function(Gt){return T.onInputBlur(Gt)})("change",function(Gt){return Gt.stopPropagation()}),n.qZA()()(),n.YNc(9,At,4,1,"ng-container",3),n.YNc(10,Y,3,1,"span",7),n.TgZ(11,"span",8),n._UZ(12,"span",9),n.qZA()(),n.YNc(13,rt,7,19,"ng-dropdown-panel",10)}2&M&&(n.ekj("ng-appearance-outline","outline"===T.appearance)("ng-has-value",T.hasValue),n.xp6(3),n.Oqu(T.placeholder),n.xp6(1),n.Q6J("ngIf",(!T.multiLabelTemplate||!T.multiple)&&T.selectedItems.length>0),n.xp6(1),n.Q6J("ngIf",T.multiple&&T.multiLabelTemplate&&T.selectedValues.length>0),n.xp6(1),n.uIk("aria-expanded",T.isOpen)("aria-owns",T.isOpen?T.dropdownId:null),n.xp6(1),n.Q6J("readOnly",!T.searchable||T.itemsList.maxItemsSelected)("disabled",T.disabled)("value",T.searchTerm?T.searchTerm:""),n.uIk("id",T.labelForId)("tabindex",T.tabIndex)("aria-activedescendant",T.isOpen?null==T.itemsList||null==T.itemsList.markedItem?null:T.itemsList.markedItem.htmlId:null)("aria-controls",T.isOpen?T.dropdownId:null),n.xp6(2),n.Q6J("ngIf",T.loading),n.xp6(1),n.Q6J("ngIf",T.showClear()),n.xp6(3),n.Q6J("ngIf",T.isOpen))},dependencies:[l.mk,l.sg,l.O5,l.tP,Ie,be],styles:['@charset "UTF-8";.ng-select{position:relative;display:block;box-sizing:border-box}.ng-select div,.ng-select input,.ng-select span{box-sizing:border-box}.ng-select [hidden]{display:none}.ng-select.ng-select-searchable .ng-select-container .ng-value-container .ng-input{opacity:1}.ng-select.ng-select-opened .ng-select-container{z-index:1001}.ng-select.ng-select-disabled .ng-select-container .ng-value-container .ng-placeholder,.ng-select.ng-select-disabled .ng-select-container .ng-value-container .ng-value{-webkit-user-select:none;user-select:none;cursor:default}.ng-select.ng-select-disabled .ng-arrow-wrapper{cursor:default}.ng-select.ng-select-filtered .ng-placeholder{display:none}.ng-select .ng-select-container{cursor:default;display:flex;outline:none;overflow:hidden;position:relative;width:100%}.ng-select .ng-select-container .ng-value-container{display:flex;flex:1}.ng-select .ng-select-container .ng-value-container .ng-input{opacity:0}.ng-select .ng-select-container .ng-value-container .ng-input>input{box-sizing:content-box;background:none transparent;border:0 none;box-shadow:none;outline:none;padding:0;cursor:default;width:100%}.ng-select .ng-select-container .ng-value-container .ng-input>input::-ms-clear{display:none}.ng-select .ng-select-container .ng-value-container .ng-input>input[readonly]{-webkit-user-select:none;user-select:none;width:0;padding:0}.ng-select.ng-select-single.ng-select-filtered .ng-select-container .ng-value-container .ng-value{visibility:hidden}.ng-select.ng-select-single .ng-select-container .ng-value-container,.ng-select.ng-select-single .ng-select-container .ng-value-container .ng-value{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.ng-select.ng-select-single .ng-select-container .ng-value-container .ng-value .ng-value-icon{display:none}.ng-select.ng-select-single .ng-select-container .ng-value-container .ng-input{position:absolute;left:0;width:100%}.ng-select.ng-select-multiple.ng-select-disabled>.ng-select-container .ng-value-container .ng-value .ng-value-icon{display:none}.ng-select.ng-select-multiple .ng-select-container .ng-value-container{flex-wrap:wrap}.ng-select.ng-select-multiple .ng-select-container .ng-value-container .ng-placeholder{position:absolute}.ng-select.ng-select-multiple .ng-select-container .ng-value-container .ng-value{white-space:nowrap}.ng-select.ng-select-multiple .ng-select-container .ng-value-container .ng-value.ng-value-disabled .ng-value-icon{display:none}.ng-select.ng-select-multiple .ng-select-container .ng-value-container .ng-value .ng-value-icon{cursor:pointer}.ng-select.ng-select-multiple .ng-select-container .ng-value-container .ng-input{flex:1;z-index:2}.ng-select.ng-select-multiple .ng-select-container .ng-value-container .ng-placeholder{z-index:1}.ng-select .ng-clear-wrapper{cursor:pointer;position:relative;width:17px;-webkit-user-select:none;user-select:none}.ng-select .ng-clear-wrapper .ng-clear{display:inline-block;font-size:18px;line-height:1;pointer-events:none}.ng-select .ng-spinner-loader{border-radius:50%;width:17px;height:17px;margin-right:5px;font-size:10px;position:relative;text-indent:-9999em;border-top:2px solid rgba(66,66,66,.2);border-right:2px solid rgba(66,66,66,.2);border-bottom:2px solid rgba(66,66,66,.2);border-left:2px solid #424242;transform:translateZ(0);animation:load8 .8s infinite linear}.ng-select .ng-spinner-loader:after{border-radius:50%;width:17px;height:17px}@keyframes load8{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.ng-select .ng-arrow-wrapper{cursor:pointer;position:relative;text-align:center;-webkit-user-select:none;user-select:none}.ng-select .ng-arrow-wrapper .ng-arrow{pointer-events:none;display:inline-block;height:0;width:0;position:relative}.ng-dropdown-panel{box-sizing:border-box;position:absolute;opacity:0;width:100%;z-index:1050;-webkit-overflow-scrolling:touch}.ng-dropdown-panel .ng-dropdown-panel-items{display:block;height:auto;box-sizing:border-box;max-height:240px;overflow-y:auto}.ng-dropdown-panel .ng-dropdown-panel-items .ng-optgroup{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.ng-dropdown-panel .ng-dropdown-panel-items .ng-option{box-sizing:border-box;cursor:pointer;display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.ng-dropdown-panel .ng-dropdown-panel-items .ng-option .ng-option-label:empty:before{content:"\\200b"}.ng-dropdown-panel .ng-dropdown-panel-items .ng-option .highlighted{font-weight:700;text-decoration:underline}.ng-dropdown-panel .ng-dropdown-panel-items .ng-option.disabled{cursor:default}.ng-dropdown-panel .scroll-host{overflow:hidden;overflow-y:auto;position:relative;display:block;-webkit-overflow-scrolling:touch}.ng-dropdown-panel .scrollable-content{top:0;left:0;width:100%;height:100%;position:absolute}.ng-dropdown-panel .total-padding{width:1px;opacity:0}\n'],encapsulation:2,changeDetection:0})}return b})();function W(){return new Ne}class Ne{constructor(){this._selected=[]}get value(){return this._selected}select(z,h,M){if(z.selected=!0,(!z.children||!h&&M)&&this._selected.push(z),h)if(z.parent){const T=z.parent.children.length,Re=z.parent.children.filter(Ge=>Ge.selected).length;z.parent.selected=T===Re}else z.children&&(this._setChildrenSelectedState(z.children,!0),this._removeChildren(z),this._selected=M&&this._activeChildren(z)?[...this._selected.filter(T=>T.parent!==z),z]:[...this._selected,...z.children.filter(T=>!T.disabled)])}unselect(z,h){if(this._selected=this._selected.filter(M=>M!==z),z.selected=!1,h)if(z.parent&&z.parent.selected){const M=z.parent.children;this._removeParent(z.parent),this._removeChildren(z.parent),this._selected.push(...M.filter(T=>T!==z&&!T.disabled)),z.parent.selected=!1}else z.children&&(this._setChildrenSelectedState(z.children,!1),this._removeChildren(z))}clear(z){this._selected=z?this._selected.filter(h=>h.disabled):[]}_setChildrenSelectedState(z,h){for(const M of z)M.disabled||(M.selected=h)}_removeChildren(z){this._selected=[...this._selected.filter(h=>h.parent!==z),...z.children.filter(h=>h.parent===z&&h.disabled&&h.selected)]}_removeParent(z){this._selected=this._selected.filter(h=>h!==z)}_activeChildren(z){return z.children.every(h=>!h.disabled||h.selected)}}let yt=(()=>{class b{static#e=this.\u0275fac=function(M){return new(M||b)};static#t=this.\u0275mod=n.oAB({type:b});static#n=this.\u0275inj=n.cJS({providers:[{provide:ee,useValue:W}],imports:[l.ez]})}return b})();var Pt=p(2495),at=p(3680),wt=p(9157),de=p(4300);const ke=["*"],Ke=["ngSelect"];function Ee(b,z){}const ge=function(b,z,h,M){return{item:b,item$:z,index:h,searchTerm:M}};function Ve(b,z){if(1&b&&n.YNc(0,Ee,0,0,"ng-template",4),2&b){const h=z.item,M=z.item$,T=z.index,Re=z.searchTerm,Ge=n.oxw(2);n.Q6J("ngTemplateOutlet",Ge.optionTemplate)("ngTemplateOutletContext",n.l5B(2,ge,h,M,T,Re))}}function dt(b,z){1&b&&(n.ynx(0),n.YNc(1,Ve,1,7,"ng-template",3),n.BQk())}function Rt(b,z){}function Ht(b,z){if(1&b&&n.YNc(0,Rt,0,0,"ng-template",4),2&b){const h=z.item,M=z.item$,T=z.index,Re=z.searchTerm,Ge=n.oxw(2);n.Q6J("ngTemplateOutlet",Ge.optgroupTemplate)("ngTemplateOutletContext",n.l5B(2,ge,h,M,T,Re))}}function Nt(b,z){1&b&&(n.ynx(0),n.YNc(1,Ht,1,7,"ng-template",5),n.BQk())}function nn(b,z){}const cn=function(b,z,h){return{item:b,clear:z,label:h}};function Ln(b,z){if(1&b&&n.YNc(0,nn,0,0,"ng-template",4),2&b){const h=z.item,M=z.clear,T=z.label,Re=n.oxw(2);n.Q6J("ngTemplateOutlet",Re.labelTemplate)("ngTemplateOutletContext",n.kEZ(2,cn,h,M,T))}}function jn(b,z){1&b&&(n.ynx(0),n.YNc(1,Ln,1,6,"ng-template",6),n.BQk())}function Xn(b,z){}const zn=function(b,z){return{items:b,clear:z}};function li(b,z){if(1&b&&n.YNc(0,Xn,0,0,"ng-template",4),2&b){const h=z.items,M=z.clear,T=n.oxw(2);n.Q6J("ngTemplateOutlet",T.multiLabelTemplate)("ngTemplateOutletContext",n.WLB(2,zn,h,M))}}function gi(b,z){1&b&&(n.ynx(0),n.YNc(1,li,1,5,"ng-template",7),n.BQk())}function Tn(b,z){}function Sn(b,z){if(1&b&&n.YNc(0,Tn,0,0,"ng-template",9),2&b){const h=n.oxw(2);n.Q6J("ngTemplateOutlet",h.headerTemplate)}}function Ci(b,z){1&b&&(n.ynx(0),n.YNc(1,Sn,1,1,"ng-template",8),n.BQk())}function Ei(b,z){}function Vn(b,z){if(1&b&&n.YNc(0,Ei,0,0,"ng-template",9),2&b){const h=n.oxw(2);n.Q6J("ngTemplateOutlet",h.footerTemplate)}}function oi(b,z){1&b&&(n.ynx(0),n.YNc(1,Vn,1,1,"ng-template",10),n.BQk())}function Qe(b,z){}const Dt=function(b){return{searchTerm:b}};function qe(b,z){if(1&b&&n.YNc(0,Qe,0,0,"ng-template",4),2&b){const h=z.searchTerm,M=n.oxw(2);n.Q6J("ngTemplateOutlet",M.notFoundTemplate)("ngTemplateOutletContext",n.VKq(2,Dt,h))}}function Et(b,z){1&b&&(n.ynx(0),n.YNc(1,qe,1,4,"ng-template",11),n.BQk())}function A(b,z){}function q(b,z){if(1&b&&n.YNc(0,A,0,0,"ng-template",9),2&b){const h=n.oxw(2);n.Q6J("ngTemplateOutlet",h.typeToSearchTemplate)}}function x(b,z){1&b&&(n.ynx(0),n.YNc(1,q,1,1,"ng-template",12),n.BQk())}function Z(b,z){}function he(b,z){if(1&b&&n.YNc(0,Z,0,0,"ng-template",4),2&b){const h=z.searchTerm,M=n.oxw(2);n.Q6J("ngTemplateOutlet",M.loadingTextTemplate)("ngTemplateOutletContext",n.VKq(2,Dt,h))}}function Ze(b,z){1&b&&(n.ynx(0),n.YNc(1,he,1,4,"ng-template",13),n.BQk())}function gt(b,z){}function Jt(b,z){if(1&b&&n.YNc(0,gt,0,0,"ng-template",4),2&b){const h=z.searchTerm,M=n.oxw(2);n.Q6J("ngTemplateOutlet",M.tagTemplate)("ngTemplateOutletContext",n.VKq(2,Dt,h))}}function Yt(b,z){1&b&&(n.ynx(0),n.YNc(1,Jt,1,4,"ng-template",14),n.BQk())}function Hn(b,z){}function ci(b,z){if(1&b&&n.YNc(0,Hn,0,0,"ng-template",9),2&b){const h=n.oxw(2);n.Q6J("ngTemplateOutlet",h.loadingSpinnerTemplate)}}function Fn(b,z){1&b&&(n.ynx(0),n.YNc(1,ci,1,1,"ng-template",15),n.BQk())}const xi=function(){return{standalone:!0}};let wi=(()=>{class b{get disabled(){return this._disabled}set disabled(h){this._disabled=(0,Pt.Ig)(h)}get label(){return(this.elementRef.nativeElement.textContent||"").trim()}constructor(h){this.elementRef=h,this._disabled=!1,this.stateChange$=new ce.x}ngOnChanges(h){h.disabled&&this.stateChange$.next({value:this.value,disabled:this._disabled})}ngAfterViewChecked(){this.label!==this._previousLabel&&(this._previousLabel=this.label,this.stateChange$.next({value:this.value,disabled:this._disabled,label:this.elementRef.nativeElement.innerHTML}))}ngOnDestroy(){this.stateChange$.complete()}static#e=this.\u0275fac=function(M){return new(M||b)(n.Y36(n.SBq))};static#t=this.\u0275cmp=n.Xpm({type:b,selectors:[["mtx-option"]],inputs:{value:"value",disabled:"disabled"},exportAs:["mtxOption"],features:[n.TTD],ngContentSelectors:ke,decls:1,vars:0,template:function(M,T){1&M&&(n.F$t(),n.Hsn(0))},encapsulation:2,changeDetection:0})}return b})(),fi=(()=>{class b{constructor(h){this.template=h}static#e=this.\u0275fac=function(M){return new(M||b)(n.Y36(n.Rgc))};static#t=this.\u0275dir=n.lG2({type:b,selectors:[["","ng-option-tmp",""]]})}return b})(),zi=(()=>{class b{constructor(h){this.template=h}static#e=this.\u0275fac=function(M){return new(M||b)(n.Y36(n.Rgc))};static#t=this.\u0275dir=n.lG2({type:b,selectors:[["","ng-optgroup-tmp",""]]})}return b})(),Mi=(()=>{class b{constructor(h){this.template=h}static#e=this.\u0275fac=function(M){return new(M||b)(n.Y36(n.Rgc))};static#t=this.\u0275dir=n.lG2({type:b,selectors:[["","ng-label-tmp",""]]})}return b})(),Di=(()=>{class b{constructor(h){this.template=h}static#e=this.\u0275fac=function(M){return new(M||b)(n.Y36(n.Rgc))};static#t=this.\u0275dir=n.lG2({type:b,selectors:[["","ng-multi-label-tmp",""]]})}return b})(),qn=(()=>{class b{constructor(h){this.template=h}static#e=this.\u0275fac=function(M){return new(M||b)(n.Y36(n.Rgc))};static#t=this.\u0275dir=n.lG2({type:b,selectors:[["","ng-header-tmp",""]]})}return b})(),Si=(()=>{class b{constructor(h){this.template=h}static#e=this.\u0275fac=function(M){return new(M||b)(n.Y36(n.Rgc))};static#t=this.\u0275dir=n.lG2({type:b,selectors:[["","ng-footer-tmp",""]]})}return b})(),Ti=(()=>{class b{constructor(h){this.template=h}static#e=this.\u0275fac=function(M){return new(M||b)(n.Y36(n.Rgc))};static#t=this.\u0275dir=n.lG2({type:b,selectors:[["","ng-notfound-tmp",""]]})}return b})(),En=(()=>{class b{constructor(h){this.template=h}static#e=this.\u0275fac=function(M){return new(M||b)(n.Y36(n.Rgc))};static#t=this.\u0275dir=n.lG2({type:b,selectors:[["","ng-typetosearch-tmp",""]]})}return b})(),ei=(()=>{class b{constructor(h){this.template=h}static#e=this.\u0275fac=function(M){return new(M||b)(n.Y36(n.Rgc))};static#t=this.\u0275dir=n.lG2({type:b,selectors:[["","ng-loadingtext-tmp",""]]})}return b})(),di=(()=>{class b{constructor(h){this.template=h}static#e=this.\u0275fac=function(M){return new(M||b)(n.Y36(n.Rgc))};static#t=this.\u0275dir=n.lG2({type:b,selectors:[["","ng-tag-tmp",""]]})}return b})(),_i=(()=>{class b{constructor(h){this.template=h}static#e=this.\u0275fac=function(M){return new(M||b)(n.Y36(n.Rgc))};static#t=this.\u0275dir=n.lG2({type:b,selectors:[["","ng-loadingspinner-tmp",""]]})}return b})();const ri=new n.OlP("mtx-select-default-options");let Qi=0;const yo=(0,at.Id)((0,at.FD)(class{constructor(b,z,h,M){this._defaultErrorStateMatcher=b,this._parentForm=z,this._parentFormGroup=h,this.ngControl=M,this.stateChanges=new ce.x}}));let Gi=(()=>{class b extends yo{get clearSearchOnAdd(){return this._clearSearchOnAdd??this.closeOnSelect}set clearSearchOnAdd(h){this._clearSearchOnAdd=h}get items(){return this._items}set items(h){this._itemsAreUsed=!0,this._items=h}get value(){return this._value}set value(h){this._value=h,this._onChange(h),this.stateChanges.next()}get id(){return this._id}set id(h){this._id=h||this._uid,this.stateChanges.next()}get placeholder(){return this._placeholder}set placeholder(h){this._placeholder=h,this.stateChanges.next()}get focused(){return this._focused}get empty(){return null==this.value||Array.isArray(this.value)&&0===this.value.length}get shouldLabelFloat(){return this.focused||!this.empty}get required(){return this._required??this.ngControl?.control?.hasValidator(w.kI.required)??!1}set required(h){this._required=(0,Pt.Ig)(h),this.stateChanges.next()}get panelOpen(){return!!this.ngSelect.isOpen}constructor(h,M,T,Re,Ge,Gt,wn,rn,$n){super(Re,Ge,Gt,wn),this._changeDetectorRef=h,this._elementRef=M,this._focusMonitor=T,this._parentFormField=rn,this._defaultOptions=$n,this.addTag=!1,this.addTagText=this._defaultOptions?.addTagText??"Add item",this.appearance="underline",this.appendTo=this._defaultOptions?.appendTo??"body",this.bindLabel=this._defaultOptions?.bindLabel,this.bindValue=this._defaultOptions?.bindValue,this.closeOnSelect=!0,this.clearAllText=this._defaultOptions?.clearAllText??"Clear all",this.clearable=!0,this.clearOnBackspace=!0,this.dropdownPosition="auto",this.selectableGroup=!1,this.selectableGroupAsModel=!0,this.hideSelected=!1,this.loading=!1,this.loadingText=this._defaultOptions?.loadingText??"Loading...",this.labelForId=null,this.markFirst=!0,this.multiple=!1,this.notFoundText=this._defaultOptions?.notFoundText??"No items found",this.searchable=!0,this.readonly=!1,this.searchFn=null,this.searchWhileComposing=!0,this.selectOnTab=!1,this.trackByFn=null,this.inputAttrs={},this.openOnEnter=this._defaultOptions?.openOnEnter??!0,this.minTermLength=0,this.editableSearchTerm=!1,this.keyDownFn=ti=>!0,this.virtualScroll=!1,this.typeToSearchText=this._defaultOptions?.typeToSearchText??"Type to search",this.blurEvent=new n.vpe,this.focusEvent=new n.vpe,this.changeEvent=new n.vpe,this.openEvent=new n.vpe,this.closeEvent=new n.vpe,this.searchEvent=new n.vpe,this.clearEvent=new n.vpe,this.addEvent=new n.vpe,this.removeEvent=new n.vpe,this.scroll=new n.vpe,this.scrollToEnd=new n.vpe,this._clearSearchOnAdd=this._defaultOptions?.clearSearchOnAdd,this._items=[],this._itemsAreUsed=!1,this._destroy$=new ce.x,this._value=null,this.stateChanges=new ce.x,this._uid="mtx-select-"+Qi++,this._placeholder=this._defaultOptions?.placeholder,this._focused=!1,this.ariaLabel="",this.ariaLabelledby=null,this._ariaDescribedby=null,this.controlType="mtx-select",this._onChange=()=>{},this._onTouched=()=>{},this._valueId="mtx-select-value-"+Qi++,T.monitor(this._elementRef,!0).subscribe(ti=>{this._focused&&!ti&&this._onTouched(),this._focused=!!ti,this.stateChanges.next()}),this.ngControl&&(this.ngControl.valueAccessor=this),this.id=this.id}ngOnInit(){this.compareWith&&(this.ngSelect.compareWith=this.compareWith)}ngAfterViewInit(){this._itemsAreUsed||this._setItemsFromMtxOptions()}ngDoCheck(){const h=this.ngControl;this.ngControl&&(this._previousControl!==h.control&&(void 0!==this._previousControl&&null!==h.disabled&&h.disabled!==this.disabled&&(this.disabled=h.disabled),this._previousControl=h.control),this.updateErrorState())}ngOnDestroy(){this._destroy$.next(),this._destroy$.complete(),this.stateChanges.complete(),this._focusMonitor.stopMonitoring(this._elementRef)}_getAriaLabelledby(){if(this.ariaLabel)return null;const h=this._parentFormField?.getLabelId();let M=(h?h+" ":"")+this._valueId;return this.ariaLabelledby&&(M+=" "+this.ariaLabelledby),M}setDescribedByIds(h){this._ariaDescribedby=h.length?h.join(" "):null}setDisabledState(h){this.disabled=h,this.readonly=h,this._changeDetectorRef.markForCheck(),this.stateChanges.next()}onContainerClick(h){const M=h.target;/mat-mdc-form-field|mtx-select/g.test(M.parentElement?.classList[0]||"")&&(this.focus(),this.open())}writeValue(h){this.value=h,this._changeDetectorRef.markForCheck()}registerOnChange(h){this._onChange=h}registerOnTouched(h){this._onTouched=h}_setItemsFromMtxOptions(){const h=T=>{this.items=T.map(Re=>({$ngOptionValue:Re.value,$ngOptionLabel:Re.elementRef.nativeElement.innerHTML,disabled:Re.disabled})),this.ngSelect.itemsList.setItems(this.items),this.ngSelect.hasValue&&this.ngSelect.itemsList.mapSelectedItems(),this.ngSelect.detectChanges()},M=()=>{const T=(0,Ae.T)(this.mtxOptions.changes,this._destroy$);(0,Ae.T)(...this.mtxOptions.map(Re=>Re.stateChange$)).pipe((0,E.R)(T)).subscribe(Re=>{const Ge=this.ngSelect.itemsList.findItem(Re.value);Ge.disabled=Re.disabled,Ge.label=Re.label||Ge.label,this.ngSelect.detectChanges()})};this.mtxOptions.changes.pipe((0,Q.O)(this.mtxOptions),(0,E.R)(this._destroy$)).subscribe(T=>{h(T),M()})}open(){this.ngSelect.open()}close(){this.ngSelect.close()}focus(){this.ngSelect.focus()}blur(){this.ngSelect.blur()}openChange(){this.openEvent.emit(),setTimeout(()=>{document.getElementById(this.ngSelect.dropdownId).classList.add("mat-"+this._parentFormField?.color)})}static#e=this.\u0275fac=function(M){return new(M||b)(n.Y36(n.sBO),n.Y36(n.SBq),n.Y36(de.tE),n.Y36(at.rD),n.Y36(w.F,8),n.Y36(w.sg,8),n.Y36(w.a5,10),n.Y36(wt.G_,8),n.Y36(ri,8))};static#t=this.\u0275cmp=n.Xpm({type:b,selectors:[["mtx-select"]],contentQueries:function(M,T,Re){if(1&M&&(n.Suo(Re,fi,5,n.Rgc),n.Suo(Re,zi,5,n.Rgc),n.Suo(Re,Mi,5,n.Rgc),n.Suo(Re,Di,5,n.Rgc),n.Suo(Re,qn,5,n.Rgc),n.Suo(Re,Si,5,n.Rgc),n.Suo(Re,Ti,5,n.Rgc),n.Suo(Re,En,5,n.Rgc),n.Suo(Re,ei,5,n.Rgc),n.Suo(Re,di,5,n.Rgc),n.Suo(Re,_i,5,n.Rgc),n.Suo(Re,wi,5)),2&M){let Ge;n.iGM(Ge=n.CRH())&&(T.optionTemplate=Ge.first),n.iGM(Ge=n.CRH())&&(T.optgroupTemplate=Ge.first),n.iGM(Ge=n.CRH())&&(T.labelTemplate=Ge.first),n.iGM(Ge=n.CRH())&&(T.multiLabelTemplate=Ge.first),n.iGM(Ge=n.CRH())&&(T.headerTemplate=Ge.first),n.iGM(Ge=n.CRH())&&(T.footerTemplate=Ge.first),n.iGM(Ge=n.CRH())&&(T.notFoundTemplate=Ge.first),n.iGM(Ge=n.CRH())&&(T.typeToSearchTemplate=Ge.first),n.iGM(Ge=n.CRH())&&(T.loadingTextTemplate=Ge.first),n.iGM(Ge=n.CRH())&&(T.tagTemplate=Ge.first),n.iGM(Ge=n.CRH())&&(T.loadingSpinnerTemplate=Ge.first),n.iGM(Ge=n.CRH())&&(T.mtxOptions=Ge)}},viewQuery:function(M,T){if(1&M&&n.Gf(Ke,7),2&M){let Re;n.iGM(Re=n.CRH())&&(T.ngSelect=Re.first)}},hostAttrs:["role","combobox","aria-autocomplete","none",1,"mtx-select"],hostVars:20,hostBindings:function(M,T){2&M&&(n.uIk("id",T.id)("aria-expanded",T.panelOpen)("aria-label",T.ariaLabel||null)("aria-labelledby",T._getAriaLabelledby())("aria-describedby",T._ariaDescribedby||null)("aria-required",T.required.toString())("aria-disabled",T.disabled.toString())("aria-invalid",T.errorState),n.ekj("mtx-select-floating",T.shouldLabelFloat)("mtx-select-disabled",T.disabled)("mtx-select-invalid",T.errorState)("mtx-select-required",T.required)("mtx-select-empty",T.empty)("mtx-select-multiple",T.multiple))},inputs:{disabled:"disabled",addTag:"addTag",addTagText:"addTagText",appearance:"appearance",appendTo:"appendTo",bindLabel:"bindLabel",bindValue:"bindValue",closeOnSelect:"closeOnSelect",clearAllText:"clearAllText",clearable:"clearable",clearOnBackspace:"clearOnBackspace",compareWith:"compareWith",dropdownPosition:"dropdownPosition",groupBy:"groupBy",groupValue:"groupValue",selectableGroup:"selectableGroup",selectableGroupAsModel:"selectableGroupAsModel",hideSelected:"hideSelected",isOpen:"isOpen",loading:"loading",loadingText:"loadingText",labelForId:"labelForId",markFirst:"markFirst",maxSelectedItems:"maxSelectedItems",multiple:"multiple",notFoundText:"notFoundText",searchable:"searchable",readonly:"readonly",searchFn:"searchFn",searchWhileComposing:"searchWhileComposing",selectOnTab:"selectOnTab",trackByFn:"trackByFn",inputAttrs:"inputAttrs",tabIndex:"tabIndex",openOnEnter:"openOnEnter",minTermLength:"minTermLength",editableSearchTerm:"editableSearchTerm",keyDownFn:"keyDownFn",virtualScroll:"virtualScroll",typeToSearchText:"typeToSearchText",typeahead:"typeahead",clearSearchOnAdd:"clearSearchOnAdd",items:"items",value:"value",id:"id",placeholder:"placeholder",required:"required",errorStateMatcher:"errorStateMatcher",ariaLabel:["aria-label","ariaLabel"],ariaLabelledby:["aria-labelledby","ariaLabelledby"]},outputs:{blurEvent:"blur",focusEvent:"focus",changeEvent:"change",openEvent:"open",closeEvent:"close",searchEvent:"search",clearEvent:"clear",addEvent:"add",removeEvent:"remove",scroll:"scroll",scrollToEnd:"scrollToEnd"},exportAs:["mtxSelect"],features:[n._Bn([{provide:wt.Eo,useExisting:b}]),n.qOj],decls:13,vars:58,consts:[[3,"ngModel","ngModelOptions","placeholder","items","addTag","addTagText","appendTo","appearance","bindLabel","bindValue","closeOnSelect","clearAllText","clearable","clearOnBackspace","dropdownPosition","groupBy","groupValue","hideSelected","isOpen","inputAttrs","loading","loadingText","labelForId","markFirst","maxSelectedItems","multiple","notFoundText","readonly","typeahead","typeToSearchText","trackByFn","searchable","searchFn","searchWhileComposing","clearSearchOnAdd","selectableGroup","selectableGroupAsModel","selectOnTab","tabIndex","openOnEnter","minTermLength","editableSearchTerm","keyDownFn","virtualScroll","ngModelChange","blur","focus","change","open","close","search","clear","add","remove","scroll","scrollToEnd"],["ngSelect",""],[4,"ngIf"],["ng-option-tmp",""],[3,"ngTemplateOutlet","ngTemplateOutletContext"],["ng-optgroup-tmp",""],["ng-label-tmp",""],["ng-multi-label-tmp",""],["ng-header-tmp",""],[3,"ngTemplateOutlet"],["ng-footer-tmp",""],["ng-notfound-tmp",""],["ng-typetosearch-tmp",""],["ng-loadingtext-tmp",""],["ng-tag-tmp",""],["ng-loadingspinner-tmp",""]],template:function(M,T){1&M&&(n.TgZ(0,"ng-select",0,1),n.NdJ("ngModelChange",function(Ge){return T.value=Ge})("blur",function(){return T.blurEvent.emit()})("focus",function(){return T.focusEvent.emit()})("change",function(){return T.changeEvent.emit()})("open",function(){return T.openChange()})("close",function(){return T.closeEvent.emit()})("search",function(Ge){return T.searchEvent.emit(Ge)})("clear",function(){return T.clearEvent.emit()})("add",function(){return T.addEvent.emit()})("remove",function(){return T.removeEvent.emit()})("scroll",function(Ge){return T.scroll.emit(Ge)})("scrollToEnd",function(){return T.scrollToEnd.emit()}),n.YNc(2,dt,2,0,"ng-container",2),n.YNc(3,Nt,2,0,"ng-container",2),n.YNc(4,jn,2,0,"ng-container",2),n.YNc(5,gi,2,0,"ng-container",2),n.YNc(6,Ci,2,0,"ng-container",2),n.YNc(7,oi,2,0,"ng-container",2),n.YNc(8,Et,2,0,"ng-container",2),n.YNc(9,x,2,0,"ng-container",2),n.YNc(10,Ze,2,0,"ng-container",2),n.YNc(11,Yt,2,0,"ng-container",2),n.YNc(12,Fn,2,0,"ng-container",2),n.qZA()),2&M&&(n.ekj("ng-select-invalid",T.errorState),n.Q6J("ngModel",T.value)("ngModelOptions",n.DdM(57,xi))("placeholder",T.placeholder)("items",T.items)("addTag",T.addTag)("addTagText",T.addTagText)("appendTo",T.appendTo)("appearance",T.appearance)("bindLabel",T.bindLabel)("bindValue",T.bindValue)("closeOnSelect",T.closeOnSelect)("clearAllText",T.clearAllText)("clearable",T.clearable)("clearOnBackspace",T.clearOnBackspace)("dropdownPosition",T.dropdownPosition)("groupBy",T.groupBy)("groupValue",T.groupValue)("hideSelected",T.hideSelected)("isOpen",T.isOpen)("inputAttrs",T.inputAttrs)("loading",T.loading)("loadingText",T.loadingText)("labelForId",T.labelForId)("markFirst",T.markFirst)("maxSelectedItems",T.maxSelectedItems)("multiple",T.multiple)("notFoundText",T.notFoundText)("readonly",T.readonly)("typeahead",T.typeahead)("typeToSearchText",T.typeToSearchText)("trackByFn",T.trackByFn)("searchable",T.searchable)("searchFn",T.searchFn)("searchWhileComposing",T.searchWhileComposing)("clearSearchOnAdd",T.clearSearchOnAdd)("selectableGroup",T.selectableGroup)("selectableGroupAsModel",T.selectableGroupAsModel)("selectOnTab",T.selectOnTab)("tabIndex",T.tabIndex)("openOnEnter",T.openOnEnter)("minTermLength",T.minTermLength)("editableSearchTerm",T.editableSearchTerm)("keyDownFn",T.keyDownFn)("virtualScroll",T.virtualScroll),n.xp6(2),n.Q6J("ngIf",T.optionTemplate),n.xp6(1),n.Q6J("ngIf",T.optgroupTemplate),n.xp6(1),n.Q6J("ngIf",T.labelTemplate),n.xp6(1),n.Q6J("ngIf",T.multiLabelTemplate),n.xp6(1),n.Q6J("ngIf",T.headerTemplate),n.xp6(1),n.Q6J("ngIf",T.footerTemplate),n.xp6(1),n.Q6J("ngIf",T.notFoundTemplate),n.xp6(1),n.Q6J("ngIf",T.typeToSearchTemplate),n.xp6(1),n.Q6J("ngIf",T.loadingTextTemplate),n.xp6(1),n.Q6J("ngIf",T.tagTemplate),n.xp6(1),n.Q6J("ngIf",T.loadingSpinnerTemplate))},dependencies:[l.O5,l.tP,w.JJ,w.On,S,lt,Be,ht,mt,Mt,ln,Wt,Kt,$t,An,bn,zi,fi,Mi,Di,qn,Si,Ti,En,ei,di,_i],styles:['.ng-select{padding-right:16px;padding-left:16px;margin-right:-16px;margin-left:-16px}.ng-select .ng-select-container{align-items:center;color:var(--mtx-select-container-text-color)}.ng-select .ng-select-container .ng-value-container{align-items:center}.ng-select .ng-select-container .ng-value-container .ng-input>input{padding:0;color:inherit;font:inherit}.ng-select .ng-select-container .ng-clear-wrapper{width:24px;text-align:center}.ng-select .ng-placeholder{transition:opacity .2s;opacity:1;color:var(--mtx-select-placeholder-text-color)}.mat-form-field-hide-placeholder .ng-select .ng-placeholder{opacity:0}.ng-select .ng-has-value .ng-placeholder{display:none}.ng-select .ng-clear-wrapper{color:var(--mtx-select-clear-icon-color)}.ng-select .ng-clear-wrapper:hover .ng-clear{color:var(--mtx-select-clear-icon-hover-color)}.ng-select.ng-select-disabled .ng-value{color:var(--mtx-select-disabled-text-color)}.ng-select.ng-select-opened .ng-arrow-wrapper .ng-arrow{top:-2px;border-width:0 5px 5px}.ng-select.ng-select-single.ng-select-filtered .ng-placeholder{display:initial;visibility:hidden}.ng-select.ng-select-single .ng-select-container .ng-value-container .ng-placeholder:after,.ng-select.ng-select-single .ng-select-container .ng-value-container .ng-value:after{display:inline-block;content:""}.ng-select.ng-select-multiple .ng-select-container .ng-value-container .ng-value{margin:2px 4px 2px 0;border-radius:16px;font-size:.875em;line-height:18px;background-color:var(--mtx-select-multiple-value-background-color);border:1px solid var(--mtx-select-multiple-value-border-color)}[dir=rtl] .ng-select.ng-select-multiple .ng-select-container .ng-value-container .ng-value{margin-right:auto;margin-left:4px}.ng-select.ng-select-multiple .ng-select-container .ng-value-container .ng-value.ng-value-disabled{opacity:.4}.ng-select.ng-select-multiple .ng-select-container .ng-value-container .ng-value .ng-value-label{display:inline-block;margin:0 8px}.ng-select.ng-select-multiple .ng-select-container .ng-value-container .ng-value .ng-value-icon{display:inline-block;width:18px;height:18px;border-radius:100%;text-align:center}.ng-select.ng-select-multiple .ng-select-container .ng-value-container .ng-value .ng-value-icon.left{margin-right:-4px}[dir=rtl] .ng-select.ng-select-multiple .ng-select-container .ng-value-container .ng-value .ng-value-icon.left{margin-left:-4px;margin-right:auto}.ng-select.ng-select-multiple .ng-select-container .ng-value-container .ng-value .ng-value-icon.right{margin-left:-4px}[dir=rtl] .ng-select.ng-select-multiple .ng-select-container .ng-value-container .ng-value .ng-value-icon.right{margin-right:-4px;margin-left:auto}.ng-select.ng-select-multiple .ng-select-container .ng-value-container .ng-value .ng-value-icon:hover{background-color:var(--mtx-select-multiple-value-icon-hover-background-color)}.ng-select .ng-arrow-wrapper{width:10px}.ng-select .ng-arrow{border-width:5px 5px 2px;border-style:solid;border-color:var(--mtx-select-enabled-arrow-color) transparent transparent}.ng-select.ng-select-disabled .ng-arrow{border-color:var(--mtx-select-disabled-arrow-color) transparent transparent}.ng-select.ng-select-invalid .ng-arrow{border-color:var(--mtx-select-invalid-arrow-color) transparent transparent}.ng-select.ng-select-opened .ng-arrow{border-color:transparent transparent var(--mtx-select-enabled-arrow-color)}.ng-select.ng-select-opened.ng-select-invalid .ng-arrow{border-color:transparent transparent var(--mtx-select-invalid-arrow-color)}.ng-dropdown-panel{background-color:var(--mtx-select-panel-background-color)}.ng-dropdown-panel.ng-select-bottom{top:100%;border-bottom-left-radius:4px;border-bottom-right-radius:4px;box-shadow:0 5px 5px -3px #0003,0 8px 10px 1px #00000024,0 3px 14px 2px #0000001f}.ng-dropdown-panel.ng-select-top{bottom:100%;border-top-left-radius:4px;border-top-right-radius:4px;box-shadow:0 5px 5px -3px #0003,0 8px 10px 1px #00000024,0 3px 14px 2px #0000001f}.ng-dropdown-panel .ng-dropdown-header,.ng-dropdown-panel .ng-dropdown-footer{padding:14px 16px}.ng-dropdown-panel .ng-dropdown-header{border-bottom:1px solid var(--mtx-select-panel-divider-color)}.ng-dropdown-panel .ng-dropdown-footer{border-top:1px solid var(--mtx-select-panel-divider-color)}.ng-dropdown-panel .ng-dropdown-panel-items .ng-optgroup{padding:14px 16px;font-weight:500;-webkit-user-select:none;user-select:none;cursor:pointer;color:var(--mtx-select-optgroup-label-text-color)}.ng-dropdown-panel .ng-dropdown-panel-items .ng-optgroup.ng-option-disabled{cursor:default}.ng-dropdown-panel .ng-dropdown-panel-items .ng-optgroup.ng-option-marked{background-color:var(--mtx-select-option-hover-state-background-color)}.ng-dropdown-panel .ng-dropdown-panel-items .ng-optgroup.ng-option-selected{background-color:var(--mtx-select-option-selected-state-background-color);color:var(--mtx-select-option-selected-state-text-color)}.ng-dropdown-panel .ng-dropdown-panel-items .ng-option{position:relative;padding:14px 16px;text-overflow:ellipsis;text-decoration:none;text-align:left;white-space:nowrap;overflow:hidden;color:var(--mtx-select-option-label-text-color)}.ng-dropdown-panel .ng-dropdown-panel-items .ng-option.ng-option-marked{background-color:var(--mtx-select-option-hover-state-background-color)}.ng-dropdown-panel .ng-dropdown-panel-items .ng-option.ng-option-selected{background-color:var(--mtx-select-option-selected-state-background-color);color:var(--mtx-select-option-selected-state-text-color)}.ng-dropdown-panel .ng-dropdown-panel-items .ng-option.ng-option-disabled{color:var(--mtx-select-option-disabled-state-text-color)}[dir=rtl] .ng-dropdown-panel .ng-dropdown-panel-items .ng-option{text-align:right}.ng-dropdown-panel .ng-dropdown-panel-items .ng-option.ng-option-child{padding-left:32px}[dir=rtl] .ng-dropdown-panel .ng-dropdown-panel-items .ng-option.ng-option-child{padding-right:32px;padding-left:0}.ng-dropdown-panel .ng-dropdown-panel-items .ng-option .ng-tag-label{margin-right:6px;font-size:80%}[dir=rtl] .ng-dropdown-panel .ng-dropdown-panel-items .ng-option .ng-tag-label{margin-left:6px;margin-right:0}\n'],encapsulation:2,changeDetection:0})}return b})(),Ji=(()=>{class b{static#e=this.\u0275fac=function(M){return new(M||b)};static#t=this.\u0275mod=n.oAB({type:b});static#n=this.\u0275inj=n.cJS({imports:[l.ez,w.u5,w.UX,yt]})}return b})()},7066:(_t,Me,p)=>{p.d(Me,{Z:()=>se});var w=p(8418);const H=function E(ue,ze){for(var oe=ue.length;oe--;)if((0,w.Z)(ue[oe][0],ze))return oe;return-1};var ne=Array.prototype.splice;function Le(ue){var ze=-1,oe=null==ue?0:ue.length;for(this.clear();++ze-1},Le.prototype.set=function De(ue,ze){var oe=this.__data__,N=H(oe,ue);return N<0?(++this.size,oe.push([ue,ze])):oe[N][1]=ze,this};const se=Le},2847:(_t,Me,p)=>{p.d(Me,{Z:()=>E});var n=p(2656),l=p(4131);const E=(0,n.Z)(l.Z,"Map")},8410:(_t,Me,p)=>{p.d(Me,{Z:()=>Se});const w=(0,p(2656).Z)(Object,"create");var J=Object.prototype.hasOwnProperty;var De=Object.prototype.hasOwnProperty;function oe(L){var V=-1,Pe=null==L?0:L.length;for(this.clear();++V{p.d(Me,{Z:()=>Le});var n=p(7066);var J=p(2847),xe=p(8410);function Ae(se){var ue=this.__data__=new n.Z(se);this.size=ue.size}Ae.prototype.clear=function l(){this.__data__=new n.Z,this.size=0},Ae.prototype.delete=function E(se){var ue=this.__data__,ze=ue.delete(se);return this.size=ue.size,ze},Ae.prototype.get=function Q(se){return this.__data__.get(se)},Ae.prototype.has=function we(se){return this.__data__.has(se)},Ae.prototype.set=function ce(se,ue){var ze=this.__data__;if(ze instanceof n.Z){var oe=ze.__data__;if(!J.Z||oe.length<199)return oe.push([se,ue]),this.size=++ze.size,this;ze=this.__data__=new xe.Z(oe)}return ze.set(se,ue),this.size=ze.size,this};const Le=Ae},6875:(_t,Me,p)=>{p.d(Me,{Z:()=>w});const w=p(4131).Z.Symbol},8475:(_t,Me,p)=>{p.d(Me,{Z:()=>w});const w=p(4131).Z.Uint8Array},5423:(_t,Me,p)=>{p.d(Me,{Z:()=>K});var w=p(3844),E=p(1196);const ne=function Q(ve){return(0,E.Z)(ve)&&"[object Arguments]"==(0,w.Z)(ve)};var we=Object.prototype,ie=we.hasOwnProperty,J=we.propertyIsEnumerable;const fe=ne(function(){return arguments}())?ne:function(ve){return(0,E.Z)(ve)&&ie.call(ve,"callee")&&!J.call(ve,"callee")};var ce=p(9977),De=p(9354),Le=/^(?:0|[1-9]\d*)$/;const ue=function se(ve,ye){var He=typeof ve;return!!(ye=ye??9007199254740991)&&("number"==He||"symbol"!=He&&Le.test(ve))&&ve>-1&&ve%1==0&&ve{p.d(Me,{Z:()=>l});const l=function n(w,E){for(var H=-1,Q=E.length,ne=w.length;++H{p.d(Me,{Z:()=>E});var n=p(4331),l=p(9977);const E=function w(H,Q,ne){var we=Q(H);return(0,l.Z)(H)?we:(0,n.Z)(we,ne(H))}},3844:(_t,Me,p)=>{p.d(Me,{Z:()=>Le});var n=p(6875),l=Object.prototype,w=l.hasOwnProperty,E=l.toString,H=n.Z?n.Z.toStringTag:void 0;var ie=Object.prototype.toString;var De=n.Z?n.Z.toStringTag:void 0;const Le=function Ae(se){return null==se?void 0===se?"[object Undefined]":"[object Null]":De&&De in Object(se)?function Q(se){var ue=w.call(se,H),ze=se[H];try{se[H]=void 0;var oe=!0}catch{}var N=E.call(se);return oe&&(ue?se[H]=ze:delete se[H]),N}(se):function J(se){return ie.call(se)}(se)}},8733:(_t,Me,p)=>{p.d(Me,{Z:()=>l});const l=function n(w){return function(E){return w(E)}}},7806:(_t,Me,p)=>{p.d(Me,{Z:()=>l});const l="object"==typeof global&&global&&global.Object===Object&&global},6721:(_t,Me,p)=>{p.d(Me,{Z:()=>H});var n=p(6982),l=p(3774),w=p(0);const H=function E(Q){return(0,n.Z)(Q,w.Z,l.Z)}},2656:(_t,Me,p)=>{p.d(Me,{Z:()=>Ce});var K,n=p(4842),w=p(4131).Z["__core-js_shared__"],H=(K=/[^.]+$/.exec(w&&w.keys&&w.keys.IE_PROTO||""))?"Symbol(src)_1."+K:"";var we=p(5829),ie=p(8594),xe=/^\[object .+?Constructor\]$/,Le=RegExp("^"+Function.prototype.toString.call(Object.prototype.hasOwnProperty).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");const ue=function se(K){return!(!(0,we.Z)(K)||function Q(K){return!!H&&H in K}(K))&&((0,n.Z)(K)?Le:xe).test((0,ie.Z)(K))},Ce=function N(K,ve){var ye=function ze(K,ve){return K?.[ve]}(K,ve);return ue(ye)?ye:void 0}},3774:(_t,Me,p)=>{p.d(Me,{Z:()=>we});var w=p(3534),H=Object.prototype.propertyIsEnumerable,Q=Object.getOwnPropertySymbols;const we=Q?function(ie){return null==ie?[]:(ie=Object(ie),function n(ie,J){for(var xe=-1,fe=null==ie?0:ie.length,ce=0,De=[];++xe{p.d(Me,{Z:()=>He});var n=p(2656),l=p(4131);const E=(0,n.Z)(l.Z,"DataView");var H=p(2847);const ne=(0,n.Z)(l.Z,"Promise"),ie=(0,n.Z)(l.Z,"Set"),xe=(0,n.Z)(l.Z,"WeakMap");var fe=p(3844),ce=p(8594),De="[object Map]",Le="[object Promise]",se="[object Set]",ue="[object WeakMap]",ze="[object DataView]",oe=(0,ce.Z)(E),N=(0,ce.Z)(H.Z),Ce=(0,ce.Z)(ne),K=(0,ce.Z)(ie),ve=(0,ce.Z)(xe),ye=fe.Z;(E&&ye(new E(new ArrayBuffer(1)))!=ze||H.Z&&ye(new H.Z)!=De||ne&&ye(ne.resolve())!=Le||ie&&ye(new ie)!=se||xe&&ye(new xe)!=ue)&&(ye=function(ft){var ct=(0,fe.Z)(ft),xt="[object Object]"==ct?ft.constructor:void 0,Ut=xt?(0,ce.Z)(xt):"";if(Ut)switch(Ut){case oe:return ze;case N:return De;case Ce:return Le;case K:return se;case ve:return ue}return ct});const He=ye},801:(_t,Me,p)=>{p.d(Me,{Z:()=>w});var n=Object.prototype;const w=function l(E){var H=E&&E.constructor;return E===("function"==typeof H&&H.prototype||n)}},5527:(_t,Me,p)=>{p.d(Me,{Z:()=>ne});var n=p(7806),l="object"==typeof exports&&exports&&!exports.nodeType&&exports,w=l&&"object"==typeof module&&module&&!module.nodeType&&module,H=w&&w.exports===l&&n.Z.process;const ne=function(){try{return w&&w.require&&w.require("util").types||H&&H.binding&&H.binding("util")}catch{}}()},2667:(_t,Me,p)=>{p.d(Me,{Z:()=>l});const l=function n(w,E){return function(H){return w(E(H))}}},4131:(_t,Me,p)=>{p.d(Me,{Z:()=>E});var n=p(7806),l="object"==typeof self&&self&&self.Object===Object&&self;const E=n.Z||l||Function("return this")()},8594:(_t,Me,p)=>{p.d(Me,{Z:()=>E});var l=Function.prototype.toString;const E=function w(H){if(null!=H){try{return l.call(H)}catch{}try{return H+""}catch{}}return""}},8418:(_t,Me,p)=>{p.d(Me,{Z:()=>l});const l=function n(w,E){return w===E||w!=w&&E!=E}},9977:(_t,Me,p)=>{p.d(Me,{Z:()=>l});const l=Array.isArray},6247:(_t,Me,p)=>{p.d(Me,{Z:()=>E});var n=p(4842),l=p(4018);const E=function w(H){return null!=H&&(0,l.Z)(H.length)&&!(0,n.Z)(H)}},9354:(_t,Me,p)=>{p.d(Me,{Z:()=>J});var n=p(4131),E="object"==typeof exports&&exports&&!exports.nodeType&&exports,H=E&&"object"==typeof module&&module&&!module.nodeType&&module,ne=H&&H.exports===E?n.Z.Buffer:void 0;const J=(ne?ne.isBuffer:void 0)||function l(){return!1}},4842:(_t,Me,p)=>{p.d(Me,{Z:()=>we});var n=p(3844),l=p(5829);const we=function ne(ie){if(!(0,l.Z)(ie))return!1;var J=(0,n.Z)(ie);return"[object Function]"==J||"[object GeneratorFunction]"==J||"[object AsyncFunction]"==J||"[object Proxy]"==J}},4018:(_t,Me,p)=>{p.d(Me,{Z:()=>w});const w=function l(E){return"number"==typeof E&&E>-1&&E%1==0&&E<=9007199254740991}},5829:(_t,Me,p)=>{p.d(Me,{Z:()=>l});const l=function n(w){var E=typeof w;return null!=w&&("object"==E||"function"==E)}},1196:(_t,Me,p)=>{p.d(Me,{Z:()=>l});const l=function n(w){return null!=w&&"object"==typeof w}},7227:(_t,Me,p)=>{p.d(Me,{Z:()=>Y});var n=p(3844),l=p(4018),w=p(1196),ct={};ct["[object Float32Array]"]=ct["[object Float64Array]"]=ct["[object Int8Array]"]=ct["[object Int16Array]"]=ct["[object Int32Array]"]=ct["[object Uint8Array]"]=ct["[object Uint8ClampedArray]"]=ct["[object Uint16Array]"]=ct["[object Uint32Array]"]=!0,ct["[object Arguments]"]=ct["[object Array]"]=ct["[object ArrayBuffer]"]=ct["[object Boolean]"]=ct["[object DataView]"]=ct["[object Date]"]=ct["[object Error]"]=ct["[object Function]"]=ct["[object Map]"]=ct["[object Number]"]=ct["[object Object]"]=ct["[object RegExp]"]=ct["[object Set]"]=ct["[object String]"]=ct["[object WeakMap]"]=!1;var It=p(8733),sn=p(5527),Xe=sn.Z&&sn.Z.isTypedArray;const Y=Xe?(0,It.Z)(Xe):function xt(P){return(0,w.Z)(P)&&(0,l.Z)(P.length)&&!!ct[(0,n.Z)(P)]}},0:(_t,Me,p)=>{p.d(Me,{Z:()=>fe});var n=p(5423),l=p(801);const H=(0,p(2667).Z)(Object.keys,Object);var ne=Object.prototype.hasOwnProperty;var J=p(6247);const fe=function xe(ce){return(0,J.Z)(ce)?(0,n.Z)(ce):function we(ce){if(!(0,l.Z)(ce))return H(ce);var De=[];for(var Ae in Object(ce))ne.call(ce,Ae)&&"constructor"!=Ae&&De.push(Ae);return De}(ce)}},3534:(_t,Me,p)=>{p.d(Me,{Z:()=>l});const l=function n(){return[]}},8877:(_t,Me,p)=>{function n(Qe,Dt,qe,Et,A,q,x){try{var Z=Qe[q](x),he=Z.value}catch(Ze){return void qe(Ze)}Z.done?Dt(he):Promise.resolve(he).then(Et,A)}function l(Qe){return function(){var Dt=this,qe=arguments;return new Promise(function(Et,A){var q=Qe.apply(Dt,qe);function x(he){n(q,Et,A,x,Z,"next",he)}function Z(he){n(q,Et,A,x,Z,"throw",he)}x(void 0)})}}p.d(Me,{T2:()=>Sn,nm:()=>oi});var w=p(5879),E=p(5619),H=p(5592),Q=p(8645),ne=p(6814),we=p(6223),ie=p(5829),J=p(4131);const fe=function(){return J.Z.Date.now()};var ce=/\s/;var Le=/^\s+/;const ue=function se(Qe){return Qe&&Qe.slice(0,function De(Qe){for(var Dt=Qe.length;Dt--&&ce.test(Qe.charAt(Dt)););return Dt}(Qe)+1).replace(Le,"")};var ze=p(3844),oe=p(1196);var ye=/^[-+]0x[0-9a-f]+$/i,He=/^0b[01]+$/i,ft=/^0o[0-7]+$/i,ct=parseInt;const Ut=function xt(Qe){if("number"==typeof Qe)return Qe;if(function Ce(Qe){return"symbol"==typeof Qe||(0,oe.Z)(Qe)&&"[object Symbol]"==(0,ze.Z)(Qe)}(Qe))return NaN;if((0,ie.Z)(Qe)){var Dt="function"==typeof Qe.valueOf?Qe.valueOf():Qe;Qe=(0,ie.Z)(Dt)?Dt+"":Dt}if("string"!=typeof Qe)return 0===Qe?Qe:+Qe;Qe=ue(Qe);var qe=He.test(Qe);return qe||ft.test(Qe)?ct(Qe.slice(2),qe?2:8):ye.test(Qe)?NaN:+Qe};var sn=Math.max,Xe=Math.min;var P=p(8730),ae=p(8410);function re(Qe){var Dt=-1,qe=null==Qe?0:Qe.length;for(this.__data__=new ae.Z;++DtZ))return!1;var Ze=q.get(Qe),gt=q.get(Dt);if(Ze&>)return Ze==Dt&>==Qe;var Jt=-1,Yt=!0,Hn=2&qe?new je:void 0;for(q.set(Qe,Dt),q.set(Dt,Qe);++Jt{class Qe{baseUrl;dynamicImport;defaultOptions;autoLayoutInterval;static \u0275fac=function(Et){return new(Et||Qe)};static \u0275prov=w.Yz7({token:Qe,factory:Qe.\u0275fac,providedIn:"root"})}return Qe})(),jn=(()=>{class Qe{monacoEditorConfig;_theme;_monaco;_loadingPromise;theme$$=new E.X(this.theme);theme$=this.theme$$.asObservable();get themes(){return["vs","vs-dark"]}get theme(){return this._theme}get monaco(){return this._monaco||window.monaco}get require(){return window.require}constructor(qe){this.monacoEditorConfig=qe,this._theme=this.monacoEditorConfig.defaultOptions?.theme??this.themes[0]}initMonaco(){var qe=this;return l(function*(){return qe._loadingPromise||(qe._loadingPromise=qe.loadMonaco())})()}loadModule(qe){return new Promise(Et=>this.require(qe,Et))}toggleTheme(){this.changeTheme(this.themes.find(qe=>qe!==this.theme))}changeTheme(qe){this.assertMonaco(),this._theme=qe,this.monaco.editor.setTheme(qe),this.theme$$.next(this.theme)}getEditorOptions(qe){return{...this.monacoEditorConfig.defaultOptions,theme:this.theme,...qe}}create(qe,Et){return this.assertMonaco(),this.monaco.editor.create(qe,this.getEditorOptions(Et))}createDiffEditor(qe,Et){return this.assertMonaco(),this.monaco.editor.createDiffEditor(qe,{renderSideBySide:!1,enableSplitViewResizing:!1,...this.getEditorOptions(Et)})}colorizeElement(qe,Et){return this.assertMonaco(),this.monaco.editor.colorizeElement(qe,{theme:this.theme,...Et})}getLanguageExtensionPoint(qe){return this.assertMonaco(),this.monaco.languages.getLanguages().find(({aliases:Et,id:A})=>Et?.includes(qe)||A===qe)}configAmdLoader(qe){return new Promise((Et,A)=>{if(this.monaco&&this.require)return Et();const q=document.createElement("script");q.type="text/javascript",q.src=[this.monacoEditorConfig.baseUrl,"vs/loader.js"].filter(x=>!!x).join("/"),q.addEventListener("load",()=>{this.require.config({baseUrl:qe,paths:{vs:"vs"}}),Et()}),q.addEventListener("error",A),document.body.append(q)})}assertMonaco(){if(!this.monaco)throw new Error("`monaco` has not been initialized, please call `initMonaco()` first")}loadMonaco(){var qe=this;return l(function*(){if(qe.monacoEditorConfig.dynamicImport)return qe.monacoEditorConfig.dynamicImport().then(Et=>qe._monaco=Et);if(null!=qe.monacoEditorConfig.baseUrl)return yield qe.configAmdLoader(qe.monacoEditorConfig.baseUrl),qe.loadModule(["vs/editor/editor.main"]).then(Et=>qe._monaco=Et);if(!window.monaco)throw new Error("No `monaco` found on `window`");return window.monaco})()}static \u0275fac=function(Et){return new(Et||Qe)(w.LFG(Ln))};static \u0275prov=w.Yz7({token:Qe,factory:Qe.\u0275fac,providedIn:"root"})}return Qe})(),gi=(()=>{class Qe{monacoEditorConfig;monacoProvider;cdr;options;modelUri;editorChange=new w.vpe;editorBlur=new w.vpe;modelId;monacoContainer;monacoAnchor;_rootEditor;get rootEditor(){return this._rootEditor??this.editor}set rootEditor(qe){this._rootEditor=qe}editor;model;_monacoLoaded=!1;get monacoLoaded(){return this._monacoLoaded}_destroyed=!1;get destroyed(){return this._destroyed}destroy$$=new Q.x;get value(){return this._value}_value="";_prevOptions;_disposables=[];constructor(qe,Et,A){this.monacoEditorConfig=qe,this.monacoProvider=Et,this.cdr=A}ngOnInit(){this.resetEditor()}ngAfterViewInit(){const qe=this.monacoEditorConfig.autoLayoutInterval??100;qe&&((Qe,Dt)=>new H.y(qe=>{const Et=new ResizeObserver(A=>{for(const q of A)qe.next(q.target)});return Et.observe(Qe,undefined),()=>{Et.unobserve(Qe),Et.disconnect()}}))(this.monacoContainer.nativeElement).pipe((0,dt.R)(this.destroy$$)).subscribe(function At(Qe,Dt,qe){var Et,A,q,x,Z,he,Ze=0,gt=!1,Jt=!1,Yt=!0;if("function"!=typeof Qe)throw new TypeError("Expected a function");function Hn(qn){var Si=Et,Ti=A;return Et=A=void 0,Ze=qn,x=Qe.apply(Ti,Si)}function xi(qn){var Si=qn-he;return void 0===he||Si>=Dt||Si<0||Jt&&qn-Ze>=q}function wi(){var qn=fe();if(xi(qn))return fi(qn);Z=setTimeout(wi,function Fn(qn){var En=Dt-(qn-he);return Jt?Xe(En,q-(qn-Ze)):En}(qn))}function fi(qn){return Z=void 0,Yt&&Et?Hn(qn):(Et=A=void 0,x)}function Di(){var qn=fe(),Si=xi(qn);if(Et=arguments,A=this,he=qn,Si){if(void 0===Z)return function ci(qn){return Ze=qn,Z=setTimeout(wi,Dt),gt?Hn(qn):x}(he);if(Jt)return clearTimeout(Z),Z=setTimeout(wi,Dt),Hn(he)}return void 0===Z&&(Z=setTimeout(wi,Dt)),x}return Dt=Ut(Dt)||0,(0,ie.Z)(qe)&&(gt=!!qe.leading,q=(Jt="maxWait"in qe)?sn(Ut(qe.maxWait)||0,Dt):q,Yt="trailing"in qe?!!qe.trailing:Yt),Di.cancel=function zi(){void 0!==Z&&clearTimeout(Z),Ze=0,Et=he=A=Z=void 0},Di.flush=function Mi(){return void 0===Z?x:fi(fe())},Di}(()=>{this.editor&&this.editor.layout()},qe))}ngOnChanges({modelUri:qe,options:Et}){if(qe&&!qe.isFirstChange()&&this.resetEditor(),Et){const A=Et.currentValue;this._prevOptions&&!Ve(this._prevOptions,A)&&this.rootEditor.updateOptions(A),this._prevOptions=A}}ngOnDestroy(){this.dispose(),this._destroyed=!0}dispose(){this.rootEditor?.dispose(),this.model&&!this.model.isDisposed()&&this.model.dispose(),this._disposables.forEach(qe=>qe.dispose()),this.rootEditor=this.editor=null,this.model=null,this._disposables=[]}onChange=qe=>{};onTouched=()=>{};writeValue(qe){this._value=qe||"",this.editor&&this.model.setValue(this._value)}registerOnChange(qe){this.onChange=qe}registerOnTouched(qe){this.onTouched=qe}createModel(qe,Et){const{monaco:A}=this.monacoProvider;return A.editor.createModel(qe,this.options.language,Et?A.Uri.parse(Et):void 0)}resetEditor(){var qe=this;return l(function*(){qe.monacoLoaded?qe.dispose():(yield qe.monacoProvider.initMonaco(),qe._monacoLoaded=!0),qe.destroyed||(qe.editor=qe.createEditor(),qe.listenModelChanges(),qe.editorChange.emit(qe.editor),qe.modelId=qe.model.id,qe.cdr.markForCheck())})()}listenModelChanges(){const qe=this.editor,Et=this.model;this._disposables=[Et.onDidChangeContent(()=>{const A=Et.getValue();this._value!==A&&(this.onChange(A),this._value=A,this.cdr.markForCheck())}),qe.onDidChangeModel(()=>{this.cdr.markForCheck()}),qe.onDidBlurEditorWidget(()=>{this.onTouched(),this.editorBlur.emit()})]}static \u0275fac=function(Et){return new(Et||Qe)(w.Y36(Ln),w.Y36(jn),w.Y36(w.sBO))};static \u0275dir=w.lG2({type:Qe,viewQuery:function(Et,A){if(1&Et&&(w.Gf(Rt,7),w.Gf(Ht,7)),2&Et){let q;w.iGM(q=w.CRH())&&(A.monacoContainer=q.first),w.iGM(q=w.CRH())&&(A.monacoAnchor=q.first)}},hostVars:1,hostBindings:function(Et,A){2&Et&&w.uIk("model-id",A.modelId)},inputs:{options:"options",modelUri:"modelUri"},outputs:{editorChange:"editorChange",editorBlur:"editorBlur"},features:[w.TTD]})}return Qe})(),Sn=(()=>{class Qe extends gi{createEditor(){return this.model=this.createModel(this.value,this.modelUri),this.monacoProvider.create(this.monacoAnchor.nativeElement,{...this.options,model:this.model})}static \u0275fac=function(){let qe;return function(A){return(qe||(qe=w.n5z(Qe)))(A||Qe)}}();static \u0275cmp=w.Xpm({type:Qe,selectors:[["ng-monaco-editor"]],features:[w._Bn([{provide:we.JU,useExisting:(0,w.Gpc)(()=>Qe),multi:!0}]),w.qOj],decls:5,vars:1,consts:[[1,"ng-monaco-editor-container"],["monacoContainer",""],["class","ng-monaco-editor-spinner",4,"ngIf"],[1,"ng-monaco-editor-container__monaco-anchor"],["monacoAnchor",""],[1,"ng-monaco-editor-spinner"],[1,"ng-monaco-editor-spinner__double-bounce1"],[1,"ng-monaco-editor-spinner__double-bounce2"]],template:function(Et,A){1&Et&&(w.TgZ(0,"div",0,1),w.YNc(2,nn,3,0,"div",2),w._UZ(3,"div",3,4),w.qZA()),2&Et&&(w.xp6(2),w.Q6J("ngIf",!A.monacoLoaded))},dependencies:[ne.O5],styles:["ng-monaco-editor,ng-monaco-diff-editor{display:block}.ng-monaco-editor-container{height:100%}.ng-monaco-editor-container__monaco-anchor{width:100%;height:100%}.ng-monaco-editor-container__monaco-anchor .monaco-diff-editor,.ng-monaco-editor-container__monaco-anchor .monaco-editor{flex:1}.ng-monaco-editor-container,.ng-monaco-editor-container__monaco-anchor{flex:1;display:flex;flex-flow:column}.ng-monaco-editor-spinner{width:40px;height:40px;position:absolute;top:50%;left:50%}.ng-monaco-editor-spinner__double-bounce1,.ng-monaco-editor-spinner__double-bounce2{width:100%;height:100%;border-radius:50%;background-color:#333;opacity:.6;position:absolute;top:0;left:0;animation:sk-bounce 2s infinite ease-in-out}.ng-monaco-editor-spinner__double-bounce2{animation-delay:-1s}@keyframes sk-bounce{0%,to{transform:scale(0)}50%{transform:scale(1)}}\n"],encapsulation:2,changeDetection:0})}return Qe})();const Vn={provide:jn,deps:[[new w.FiY,new w.tp0,jn],Ln],useFactory:function Ei(Qe,Dt){return Qe||new jn(Dt)}};let oi=(()=>{class Qe{static forRoot(qe={}){return{ngModule:Qe,providers:[{provide:Ln,useValue:qe}]}}static \u0275fac=function(Et){return new(Et||Qe)};static \u0275mod=w.oAB({type:Qe});static \u0275inj=w.cJS({providers:[Vn],imports:[ne.ez,we.u5,we.UX]})}return Qe})()},7326:(_t,Me,p)=>{p.d(Me,{rN:()=>Ce,y$:()=>xt,_l:()=>Ut});var n=p(5879),l=p(6814),w=p(5619),E=p(2181),H=p(8180),Q=p(4664),ne=p(9397),we=p(6232),ie=p(6306),J=p(8504),xe=p(5592),fe=p(4829);const{isArray:ce}=Array;var Ae=p(8251),Le=p(9940);var ue=p(7398),ze=p(7715),oe=p(927),N=p(6593);const Ce=new n.OlP("HIGHLIGHT_OPTIONS");let K;let He=(()=>{class It{constructor(Xe,At,Y){this.doc=Xe,this.platformId=At,this._options=Y,this._ready=new w.X(null),this.ready=this._ready.asObservable().pipe((0,E.h)(P=>!!P),(0,H.q)(1)),(0,l.NF)(At)&&(Xe.defaultView.hljs?this._ready.next(Xe.defaultView.hljs):(this._loadLibrary().pipe((0,Q.w)(P=>this._options&&this._options.lineNumbersLoader?(Xe.defaultView.hljs=P,this.loadLineNumbers().pipe((0,ne.b)(ae=>{ae.activateLineNumbers(),this._ready.next(P)}))):(this._ready.next(P),we.E)),(0,ie.K)(P=>(console.error("[HLJS] ",P),we.E))).subscribe(),this._options?.themePath&&this.loadTheme(this._options.themePath)))}_loadLibrary(){if(this._options){if(this._options.fullLibraryLoader&&this._options.coreLibraryLoader)return(0,J._)(()=>"The full library and the core library were imported, only one of them should be imported!");if(this._options.fullLibraryLoader&&this._options.languages)return(0,J._)(()=>"The highlighting languages were imported they are not needed!");if(this._options.coreLibraryLoader&&!this._options.languages)return(0,J._)(()=>"The highlighting languages were not imported!");if(!this._options.coreLibraryLoader&&this._options.languages)return(0,J._)(()=>"The core library was not imported!");if(this._options.fullLibraryLoader)return this.loadFullLibrary();if(this._options.coreLibraryLoader&&this._options.languages&&Object.keys(this._options.languages).length)return this.loadCoreLibrary().pipe((0,Q.w)(Xe=>this._loadLanguages(Xe)))}return(0,J._)(()=>"Highlight.js library was not imported!")}_loadLanguages(Xe){return function se(...It){const sn=(0,Le.jO)(It),Xe=function De(It){return 1===It.length&&ce(It[0])?It[0]:It}(It);return Xe.length?new xe.y(At=>{let Y=Xe.map(()=>[]),P=Xe.map(()=>!1);At.add(()=>{Y=P=null});for(let ae=0;!At.closed&&ae{if(Y[ae].push(B),Y.every(Se=>Se.length)){const Se=Y.map(L=>L.shift());At.next(sn?sn(...Se):Se),Y.some((L,V)=>!L.length&&P[V])&&At.complete()}},()=>{P[ae]=!0,!Y[ae].length&&At.complete()}));return()=>{Y=P=null}}):we.E}(...Object.entries(this._options.languages).map(([Y,P])=>ft(P()).pipe((0,ne.b)(ae=>Xe.registerLanguage(Y,ae))))).pipe((0,ue.U)(()=>Xe))}loadCoreLibrary(){return ft(this._options.coreLibraryLoader())}loadFullLibrary(){return ft(this._options.fullLibraryLoader())}loadLineNumbers(){return(0,ze.D)(this._options.lineNumbersLoader())}setTheme(Xe){(0,l.NF)(this.platformId)&&(this._themeLinkElement?this._themeLinkElement.href=Xe:this.loadTheme(Xe))}loadTheme(Xe){this._themeLinkElement=this.doc.createElement("link"),this._themeLinkElement.href=Xe,this._themeLinkElement.type="text/css",this._themeLinkElement.rel="stylesheet",this._themeLinkElement.media="screen,print",this.doc.head.appendChild(this._themeLinkElement)}static#e=this.\u0275fac=function(At){return new(At||It)(n.LFG(l.K0),n.LFG(n.Lbi),n.LFG(Ce,8))};static#t=this.\u0275prov=n.Yz7({token:It,factory:It.\u0275fac,providedIn:"root"})}return It})();const ft=It=>(0,ze.D)(It).pipe((0,E.h)(sn=>!!sn?.default),(0,ue.U)(sn=>sn.default));let ct=(()=>{class It{get hljs(){return this._hljs}constructor(Xe,At){this._loader=Xe,this._hljs=null,Xe.ready.subscribe(Y=>{this._hljs=Y,At&&At.config&&(Y.configure(At.config),Y.listLanguages().length<1&&console.error("[HighlightJS]: No languages were registered!"))})}highlight(Xe,{language:At,ignoreIllegals:Y}){return this._loader.ready.pipe((0,ue.U)(P=>P.highlight(Xe,{language:At,ignoreIllegals:Y})))}highlightAuto(Xe,At){return this._loader.ready.pipe((0,ue.U)(Y=>Y.highlightAuto(Xe,At)))}highlightElement(Xe){return this._loader.ready.pipe((0,ue.U)(At=>At.highlightElement(Xe)))}highlightAll(){return this._loader.ready.pipe((0,ue.U)(Xe=>Xe.highlightAll()))}configure(Xe){return this._loader.ready.pipe((0,ue.U)(At=>At.configure(Xe)))}registerLanguage(Xe,At){return this._loader.ready.pipe((0,ne.b)(Y=>Y.registerLanguage(Xe,At)))}unregisterLanguage(Xe){return this._loader.ready.pipe((0,ne.b)(At=>At.unregisterLanguage(Xe)))}registerAliases(Xe,{languageName:At}){return this._loader.ready.pipe((0,ne.b)(Y=>Y.registerAliases(Xe,{languageName:At})))}listLanguages(){return this._loader.ready.pipe((0,ue.U)(Xe=>Xe.listLanguages()))}getLanguage(Xe){return this._loader.ready.pipe((0,ue.U)(At=>At.getLanguage(Xe)))}safeMode(){return this._loader.ready.pipe((0,ue.U)(Xe=>Xe.safeMode()))}debugMode(){return this._loader.ready.pipe((0,ue.U)(Xe=>Xe.debugMode()))}lineNumbersBlock(Xe){return this._loader.ready.pipe((0,E.h)(At=>!!At.lineNumbersBlock),(0,ne.b)(At=>At.lineNumbersBlock(Xe)))}static#e=this.\u0275fac=function(At){return new(At||It)(n.LFG(He),n.LFG(Ce,8))};static#t=this.\u0275prov=n.Yz7({token:It,factory:It.\u0275fac,providedIn:"root"})}return It})(),xt=(()=>{class It{constructor(Xe,At,Y,P,ae){this._hljs=At,this._sanitizer=Y,this.platformId=P,this._options=ae,this.highlighted=new n.vpe,this._nativeElement=Xe.nativeElement}ngOnChanges(Xe){(0,l.NF)(this.platformId)&&null!==Xe?.code?.currentValue&&Xe.code.currentValue!==Xe.code.previousValue&&(this.code?this.highlightElement(this.code,this.languages):this.setTextContent(""))}highlightElement(Xe,At){this.setTextContent(Xe),this._hljs.highlightAuto(Xe,At).subscribe(Y=>{this.setInnerHTML(Y?.value),this.lineNumbers&&this._options&&this._options.lineNumbersLoader&&this.addLineNumbers(),this.highlighted.emit(Y)})}addLineNumbers(){this.destroyLineNumbersObserver(),oe.Z.schedule(()=>{this._hljs.lineNumbersBlock(this._nativeElement).subscribe(),this._lineNumbersObs=new MutationObserver(()=>{this._nativeElement.firstElementChild&&"TABLE"===this._nativeElement.firstElementChild.tagName.toUpperCase()&&this._nativeElement.classList.add("hljs-line-numbers"),this.destroyLineNumbersObserver()}),this._lineNumbersObs.observe(this._nativeElement,{childList:!0})})}destroyLineNumbersObserver(){this._lineNumbersObs&&(this._lineNumbersObs.disconnect(),this._lineNumbersObs=null)}setTextContent(Xe){oe.Z.schedule(()=>this._nativeElement.textContent=Xe)}setInnerHTML(Xe){oe.Z.schedule(()=>this._nativeElement.innerHTML=function ye(It){return function ve(){if(!K)try{K=window?.trustedTypes?.createPolicy("ngx-highlightjs",{createHTML:It=>It})}catch{}return K}()?.createHTML(It)||It}(this._sanitizer.sanitize(n.q3G.HTML,Xe)||""))}static#e=this.\u0275fac=function(At){return new(At||It)(n.Y36(n.SBq),n.Y36(ct),n.Y36(N.H7),n.Y36(n.Lbi),n.Y36(Ce,8))};static#t=this.\u0275dir=n.lG2({type:It,selectors:[["","highlight",""]],hostVars:2,hostBindings:function(At,Y){2&At&&n.ekj("hljs",!0)},inputs:{code:["highlight","code"],languages:"languages",lineNumbers:"lineNumbers"},outputs:{highlighted:"highlighted"},standalone:!0,features:[n.TTD]})}return It})(),Ut=(()=>{class It{static#e=this.\u0275fac=function(At){return new(At||It)};static#t=this.\u0275mod=n.oAB({type:It});static#n=this.\u0275inj=n.cJS({})}return It})()},7582:(_t,Me,p)=>{function fe(P,ae,B,Se){return new(B||(B=Promise))(function(V,Pe){function re(st){try{et(Se.next(st))}catch(nt){Pe(nt)}}function je(st){try{et(Se.throw(st))}catch(nt){Pe(nt)}}function et(st){st.done?V(st.value):function L(V){return V instanceof B?V:new B(function(Pe){Pe(V)})}(st.value).then(re,je)}et((Se=Se.apply(P,ae||[])).next())})}function N(P){return this instanceof N?(this.v=P,this):new N(P)}function Ce(P,ae,B){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var L,Se=B.apply(P,ae||[]),V=[];return L={},Pe("next"),Pe("throw"),Pe("return"),L[Symbol.asyncIterator]=function(){return this},L;function Pe(Bt){Se[Bt]&&(L[Bt]=function(Je){return new Promise(function(bt,Oe){V.push([Bt,Je,bt,Oe])>1||re(Bt,Je)})})}function re(Bt,Je){try{!function je(Bt){Bt.value instanceof N?Promise.resolve(Bt.value.v).then(et,st):nt(V[0][2],Bt)}(Se[Bt](Je))}catch(bt){nt(V[0][3],bt)}}function et(Bt){re("next",Bt)}function st(Bt){re("throw",Bt)}function nt(Bt,Je){Bt(Je),V.shift(),V.length&&re(V[0][0],V[0][1])}}function ve(P){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var B,ae=P[Symbol.asyncIterator];return ae?ae.call(P):(P=function Le(P){var ae="function"==typeof Symbol&&Symbol.iterator,B=ae&&P[ae],Se=0;if(B)return B.call(P);if(P&&"number"==typeof P.length)return{next:function(){return P&&Se>=P.length&&(P=void 0),{value:P&&P[Se++],done:!P}}};throw new TypeError(ae?"Object is not iterable.":"Symbol.iterator is not defined.")}(P),B={},Se("next"),Se("throw"),Se("return"),B[Symbol.asyncIterator]=function(){return this},B);function Se(V){B[V]=P[V]&&function(Pe){return new Promise(function(re,je){!function L(V,Pe,re,je){Promise.resolve(je).then(function(et){V({value:et,done:re})},Pe)}(re,je,(Pe=P[V](Pe)).done,Pe.value)})}}}p.d(Me,{FC:()=>Ce,KL:()=>ve,mG:()=>fe,qq:()=>N}),"function"==typeof SuppressedError&&SuppressedError}},_t=>{_t(_t.s=9677)}]); \ No newline at end of file diff --git a/styles.9eef4627bf9497f0.css b/styles.9eef4627bf9497f0.css deleted file mode 100644 index 3c131f6..0000000 --- a/styles.9eef4627bf9497f0.css +++ /dev/null @@ -1 +0,0 @@ -:root{--bg-color: white;--bg-translucent-color: rgba(255, 255, 255, .9);--bg-secondary-color: rgba(240, 240, 240, 1);--fg-color: rgba(85, 85, 90, 1);--fg-secondary-color: rgba(85, 85, 90, .7);--border-color: rgba(0, 0, 0, .1);--heading-color: rgba(50, 50, 55, 1);--console-color: rgba(0, 0, 0, .4);--console-bg-color: rgba(0, 0, 0, .04);--a-color: rgba(65, 105, 190, 1);--hl-keyword: rgb(85, 140, 180);--hl-string: rgb(115, 105, 175);--hl-number: rgb(50, 160, 85);--hl-comment: rgba(100, 100, 100);--hl-title: rgb(165, 120, 20);--mat-standard-button-toggle-height: 32px}*,*:before,*:after{box-sizing:border-box}body{padding:0;margin:0;color:var(--fg-color);background-color:var(--bg-color);line-height:1.5;font-family:system-ui,-apple-system,Helvetica Neue,sans-serif}h1,h2,h3,h4,h5,h6,h1 a,h2 a,h3 a,h4 a,h5 a,h6 a{color:var(--heading-color)}a{color:var(--a-color);text-decoration:none}a:hover{text-decoration:underline}code,kbd,pre,samp{font-family:Roboto Mono,monospace}pre{padding:32px;border-radius:8px;background-color:var(--bg-secondary-color);line-height:1.2}pre code{display:inline;padding:0}@media (width < 600px){pre{padding:16px}}code{display:inline-block;padding:0 4px;font-size:.75rem;word-wrap:break-word;background-color:var(--bg-secondary-color);border-radius:4px}table{width:100%;caption-side:bottom;border-collapse:collapse}table th,table td{padding:8px;border:1px solid var(--border-color)}.gui-form{display:block;background-color:var(--bg-color);box-shadow:0 2px 4px #0003;border-radius:4px;overflow:hidden}.hljs-keyword{color:var(--hl-keyword)}.hljs-number{color:var(--hl-number)}.hljs-string{color:var(--hl-string)}.hljs-comment,.hljs-quote{color:var(--hl-comment)}.hljs-title{color:var(--hl-title)}.mat-button-loading .mdc-button__label,.mat-button-loading .mat-icon{visibility:hidden}.mat-button-loading .mat-mdc-progress-spinner{position:absolute;top:calc(50% - 12px);left:calc(50% - 12px)}.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)}.cdk-high-contrast-active .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:rgba(0,0,0,.32)}.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-ripple-element{background-color:#0000001a}html{--mat-option-selected-state-label-text-color: #3f51b5;--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: #ff4081}.mat-warn{--mat-option-selected-state-label-text-color: #f44336}html{--mat-optgroup-label-text-color: rgba(0, 0, 0, .87)}.mat-pseudo-checkbox-full{color:#0000008a}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-disabled{color:#b0b0b0}.mat-primary .mat-pseudo-checkbox-checked.mat-pseudo-checkbox-minimal:after,.mat-primary .mat-pseudo-checkbox-indeterminate.mat-pseudo-checkbox-minimal:after{color:#3f51b5}.mat-primary .mat-pseudo-checkbox-checked.mat-pseudo-checkbox-full,.mat-primary .mat-pseudo-checkbox-indeterminate.mat-pseudo-checkbox-full{background:#3f51b5}.mat-primary .mat-pseudo-checkbox-checked.mat-pseudo-checkbox-full:after,.mat-primary .mat-pseudo-checkbox-indeterminate.mat-pseudo-checkbox-full:after{color:#fafafa}.mat-pseudo-checkbox-checked.mat-pseudo-checkbox-minimal:after,.mat-pseudo-checkbox-indeterminate.mat-pseudo-checkbox-minimal:after{color:#ff4081}.mat-pseudo-checkbox-checked.mat-pseudo-checkbox-full,.mat-pseudo-checkbox-indeterminate.mat-pseudo-checkbox-full{background:#ff4081}.mat-pseudo-checkbox-checked.mat-pseudo-checkbox-full:after,.mat-pseudo-checkbox-indeterminate.mat-pseudo-checkbox-full:after{color:#fafafa}.mat-accent .mat-pseudo-checkbox-checked.mat-pseudo-checkbox-minimal:after,.mat-accent .mat-pseudo-checkbox-indeterminate.mat-pseudo-checkbox-minimal:after{color:#ff4081}.mat-accent .mat-pseudo-checkbox-checked.mat-pseudo-checkbox-full,.mat-accent .mat-pseudo-checkbox-indeterminate.mat-pseudo-checkbox-full{background:#ff4081}.mat-accent .mat-pseudo-checkbox-checked.mat-pseudo-checkbox-full:after,.mat-accent .mat-pseudo-checkbox-indeterminate.mat-pseudo-checkbox-full:after{color:#fafafa}.mat-warn .mat-pseudo-checkbox-checked.mat-pseudo-checkbox-minimal:after,.mat-warn .mat-pseudo-checkbox-indeterminate.mat-pseudo-checkbox-minimal:after{color:#f44336}.mat-warn .mat-pseudo-checkbox-checked.mat-pseudo-checkbox-full,.mat-warn .mat-pseudo-checkbox-indeterminate.mat-pseudo-checkbox-full{background:#f44336}.mat-warn .mat-pseudo-checkbox-checked.mat-pseudo-checkbox-full:after,.mat-warn .mat-pseudo-checkbox-indeterminate.mat-pseudo-checkbox-full:after{color:#fafafa}.mat-pseudo-checkbox-disabled.mat-pseudo-checkbox-checked.mat-pseudo-checkbox-minimal:after,.mat-pseudo-checkbox-disabled.mat-pseudo-checkbox-indeterminate.mat-pseudo-checkbox-minimal:after{color:#b0b0b0}.mat-pseudo-checkbox-disabled.mat-pseudo-checkbox-checked.mat-pseudo-checkbox-full,.mat-pseudo-checkbox-disabled.mat-pseudo-checkbox-indeterminate.mat-pseudo-checkbox-full{background:#b0b0b0}.mat-app-background{background-color:#fafafa;color:#000000de}.mat-elevation-z0,.mat-mdc-elevation-specific.mat-elevation-z0{box-shadow:0 0 #0003,0 0 #00000024,0 0 #0000001f}.mat-elevation-z1,.mat-mdc-elevation-specific.mat-elevation-z1{box-shadow:0 2px 1px -1px #0003,0 1px 1px #00000024,0 1px 3px #0000001f}.mat-elevation-z2,.mat-mdc-elevation-specific.mat-elevation-z2{box-shadow:0 3px 1px -2px #0003,0 2px 2px #00000024,0 1px 5px #0000001f}.mat-elevation-z3,.mat-mdc-elevation-specific.mat-elevation-z3{box-shadow:0 3px 3px -2px #0003,0 3px 4px #00000024,0 1px 8px #0000001f}.mat-elevation-z4,.mat-mdc-elevation-specific.mat-elevation-z4{box-shadow:0 2px 4px -1px #0003,0 4px 5px #00000024,0 1px 10px #0000001f}.mat-elevation-z5,.mat-mdc-elevation-specific.mat-elevation-z5{box-shadow:0 3px 5px -1px #0003,0 5px 8px #00000024,0 1px 14px #0000001f}.mat-elevation-z6,.mat-mdc-elevation-specific.mat-elevation-z6{box-shadow:0 3px 5px -1px #0003,0 6px 10px #00000024,0 1px 18px #0000001f}.mat-elevation-z7,.mat-mdc-elevation-specific.mat-elevation-z7{box-shadow:0 4px 5px -2px #0003,0 7px 10px 1px #00000024,0 2px 16px 1px #0000001f}.mat-elevation-z8,.mat-mdc-elevation-specific.mat-elevation-z8{box-shadow:0 5px 5px -3px #0003,0 8px 10px 1px #00000024,0 3px 14px 2px #0000001f}.mat-elevation-z9,.mat-mdc-elevation-specific.mat-elevation-z9{box-shadow:0 5px 6px -3px #0003,0 9px 12px 1px #00000024,0 3px 16px 2px #0000001f}.mat-elevation-z10,.mat-mdc-elevation-specific.mat-elevation-z10{box-shadow:0 6px 6px -3px #0003,0 10px 14px 1px #00000024,0 4px 18px 3px #0000001f}.mat-elevation-z11,.mat-mdc-elevation-specific.mat-elevation-z11{box-shadow:0 6px 7px -4px #0003,0 11px 15px 1px #00000024,0 4px 20px 3px #0000001f}.mat-elevation-z12,.mat-mdc-elevation-specific.mat-elevation-z12{box-shadow:0 7px 8px -4px #0003,0 12px 17px 2px #00000024,0 5px 22px 4px #0000001f}.mat-elevation-z13,.mat-mdc-elevation-specific.mat-elevation-z13{box-shadow:0 7px 8px -4px #0003,0 13px 19px 2px #00000024,0 5px 24px 4px #0000001f}.mat-elevation-z14,.mat-mdc-elevation-specific.mat-elevation-z14{box-shadow:0 7px 9px -4px #0003,0 14px 21px 2px #00000024,0 5px 26px 4px #0000001f}.mat-elevation-z15,.mat-mdc-elevation-specific.mat-elevation-z15{box-shadow:0 8px 9px -5px #0003,0 15px 22px 2px #00000024,0 6px 28px 5px #0000001f}.mat-elevation-z16,.mat-mdc-elevation-specific.mat-elevation-z16{box-shadow:0 8px 10px -5px #0003,0 16px 24px 2px #00000024,0 6px 30px 5px #0000001f}.mat-elevation-z17,.mat-mdc-elevation-specific.mat-elevation-z17{box-shadow:0 8px 11px -5px #0003,0 17px 26px 2px #00000024,0 6px 32px 5px #0000001f}.mat-elevation-z18,.mat-mdc-elevation-specific.mat-elevation-z18{box-shadow:0 9px 11px -5px #0003,0 18px 28px 2px #00000024,0 7px 34px 6px #0000001f}.mat-elevation-z19,.mat-mdc-elevation-specific.mat-elevation-z19{box-shadow:0 9px 12px -6px #0003,0 19px 29px 2px #00000024,0 7px 36px 6px #0000001f}.mat-elevation-z20,.mat-mdc-elevation-specific.mat-elevation-z20{box-shadow:0 10px 13px -6px #0003,0 20px 31px 3px #00000024,0 8px 38px 7px #0000001f}.mat-elevation-z21,.mat-mdc-elevation-specific.mat-elevation-z21{box-shadow:0 10px 13px -6px #0003,0 21px 33px 3px #00000024,0 8px 40px 7px #0000001f}.mat-elevation-z22,.mat-mdc-elevation-specific.mat-elevation-z22{box-shadow:0 10px 14px -6px #0003,0 22px 35px 3px #00000024,0 8px 42px 7px #0000001f}.mat-elevation-z23,.mat-mdc-elevation-specific.mat-elevation-z23{box-shadow:0 11px 14px -7px #0003,0 23px 36px 3px #00000024,0 9px 44px 8px #0000001f}.mat-elevation-z24,.mat-mdc-elevation-specific.mat-elevation-z24{box-shadow:0 11px 15px -7px #0003,0 24px 38px 3px #00000024,0 9px 46px 8px #0000001f}.mat-theme-loaded-marker{display:none}html{--mat-option-label-text-font: Roboto, sans-serif;--mat-option-label-text-line-height: 24px;--mat-option-label-text-size: 16px;--mat-option-label-text-tracking: .03125em;--mat-option-label-text-weight: 400}html{--mat-optgroup-label-text-font: Roboto, sans-serif;--mat-optgroup-label-text-line-height: 24px;--mat-optgroup-label-text-size: 16px;--mat-optgroup-label-text-tracking: .03125em;--mat-optgroup-label-text-weight: 400}.mat-mdc-card{--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)}.mat-mdc-card{--mat-card-title-text-font: Roboto, sans-serif;--mat-card-title-text-line-height: 32px;--mat-card-title-text-size: 20px;--mat-card-title-text-tracking: .0125em;--mat-card-title-text-weight: 500;--mat-card-subtitle-text-font: Roboto, sans-serif;--mat-card-subtitle-text-line-height: 22px;--mat-card-subtitle-text-size: 14px;--mat-card-subtitle-text-tracking: .0071428571em;--mat-card-subtitle-text-weight: 500}.mat-mdc-progress-bar{--mdc-linear-progress-active-indicator-color: #3f51b5;--mdc-linear-progress-track-color: rgba(63, 81, 181, .25)}.mat-mdc-progress-bar .mdc-linear-progress__buffer-dots{background-color:#3f51b540;background-color:var(--mdc-linear-progress-track-color, rgba(63, 81, 181, .25))}@media (forced-colors: active){.mat-mdc-progress-bar .mdc-linear-progress__buffer-dots{background-color:ButtonBorder}}@media all and (-ms-high-contrast: none),(-ms-high-contrast: active){.mat-mdc-progress-bar .mdc-linear-progress__buffer-dots{background-color:transparent;background-image:url("data:image/svg+xml,%3Csvg version='1.1' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' x='0px' y='0px' enable-background='new 0 0 5 2' xml:space='preserve' viewBox='0 0 5 2' preserveAspectRatio='none slice'%3E%3Ccircle cx='1' cy='1' r='1' fill='rgba(63, 81, 181, 0.25)'/%3E%3C/svg%3E")}}.mat-mdc-progress-bar .mdc-linear-progress__buffer-bar{background-color:#3f51b540;background-color:var(--mdc-linear-progress-track-color, rgba(63, 81, 181, .25))}.mat-mdc-progress-bar.mat-accent{--mdc-linear-progress-active-indicator-color: #ff4081;--mdc-linear-progress-track-color: rgba(255, 64, 129, .25)}.mat-mdc-progress-bar.mat-accent .mdc-linear-progress__buffer-dots{background-color:#ff408140;background-color:var(--mdc-linear-progress-track-color, rgba(255, 64, 129, .25))}@media (forced-colors: active){.mat-mdc-progress-bar.mat-accent .mdc-linear-progress__buffer-dots{background-color:ButtonBorder}}@media all and (-ms-high-contrast: none),(-ms-high-contrast: active){.mat-mdc-progress-bar.mat-accent .mdc-linear-progress__buffer-dots{background-color:transparent;background-image:url("data:image/svg+xml,%3Csvg version='1.1' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' x='0px' y='0px' enable-background='new 0 0 5 2' xml:space='preserve' viewBox='0 0 5 2' preserveAspectRatio='none slice'%3E%3Ccircle cx='1' cy='1' r='1' fill='rgba(255, 64, 129, 0.25)'/%3E%3C/svg%3E")}}.mat-mdc-progress-bar.mat-accent .mdc-linear-progress__buffer-bar{background-color:#ff408140;background-color:var(--mdc-linear-progress-track-color, rgba(255, 64, 129, .25))}.mat-mdc-progress-bar.mat-warn{--mdc-linear-progress-active-indicator-color: #f44336;--mdc-linear-progress-track-color: rgba(244, 67, 54, .25)}@keyframes mdc-linear-progress-buffering{}.mat-mdc-progress-bar.mat-warn .mdc-linear-progress__buffer-dots{background-color:#f4433640;background-color:var(--mdc-linear-progress-track-color, rgba(244, 67, 54, .25))}@media (forced-colors: active){.mat-mdc-progress-bar.mat-warn .mdc-linear-progress__buffer-dots{background-color:ButtonBorder}}@media all and (-ms-high-contrast: none),(-ms-high-contrast: active){.mat-mdc-progress-bar.mat-warn .mdc-linear-progress__buffer-dots{background-color:transparent;background-image:url("data:image/svg+xml,%3Csvg version='1.1' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' x='0px' y='0px' enable-background='new 0 0 5 2' xml:space='preserve' viewBox='0 0 5 2' preserveAspectRatio='none slice'%3E%3Ccircle cx='1' cy='1' r='1' fill='rgba(244, 67, 54, 0.25)'/%3E%3C/svg%3E")}}.mat-mdc-progress-bar.mat-warn .mdc-linear-progress__buffer-bar{background-color:#f4433640;background-color:var(--mdc-linear-progress-track-color, rgba(244, 67, 54, .25))}.mat-mdc-tooltip{--mdc-plain-tooltip-container-color: #616161;--mdc-plain-tooltip-supporting-text-color: #fff}.mat-mdc-tooltip{--mdc-plain-tooltip-supporting-text-font: Roboto, sans-serif;--mdc-plain-tooltip-supporting-text-size: 12px;--mdc-plain-tooltip-supporting-text-weight: 400;--mdc-plain-tooltip-supporting-text-tracking: .0333333333em}html{--mdc-filled-text-field-caret-color: #3f51b5;--mdc-filled-text-field-focus-active-indicator-color: #3f51b5;--mdc-filled-text-field-focus-label-text-color: rgba(63, 81, 181, .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-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-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: #3f51b5;--mdc-outlined-text-field-focus-outline-color: #3f51b5;--mdc-outlined-text-field-focus-label-text-color: rgba(63, 81, 181, .87);--mdc-outlined-text-field-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-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-disabled-input-text-placeholder-color: rgba(0, 0, 0, .38)}.mat-mdc-form-field-error{color:var(--mdc-theme-error, #f44336)}.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{background-color:#000000de}.mat-mdc-form-field:hover .mat-mdc-form-field-focus-overlay{opacity:.04}.mat-mdc-form-field.mat-focused .mat-mdc-form-field-focus-overlay{opacity:.12}.mat-mdc-form-field-type-mat-native-select .mat-mdc-form-field-infix:after{color:#0000008a}.mat-mdc-form-field-type-mat-native-select.mat-focused.mat-primary .mat-mdc-form-field-infix:after{color:#3f51b5de}.mat-mdc-form-field-type-mat-native-select.mat-focused.mat-accent .mat-mdc-form-field-infix:after{color:#ff4081de}.mat-mdc-form-field-type-mat-native-select.mat-focused.mat-warn .mat-mdc-form-field-infix:after{color:#f44336de}.mat-mdc-form-field-type-mat-native-select.mat-form-field-disabled .mat-mdc-form-field-infix:after{color:#00000061}.mat-mdc-form-field.mat-accent{--mdc-filled-text-field-caret-color: #ff4081;--mdc-filled-text-field-focus-active-indicator-color: #ff4081;--mdc-filled-text-field-focus-label-text-color: rgba(255, 64, 129, .87);--mdc-outlined-text-field-caret-color: #ff4081;--mdc-outlined-text-field-focus-outline-color: #ff4081;--mdc-outlined-text-field-focus-label-text-color: rgba(255, 64, 129, .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-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 transparent}[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 transparent}.mat-mdc-form-field-infix{min-height:56px}.mat-mdc-text-field-wrapper .mat-mdc-form-field-flex .mat-mdc-floating-label{top:28px}.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( -34.75px) scale(var(--mat-mdc-form-field-floating-label-scale, .75));transform:var(--mat-mdc-form-field-label-transform)}.mat-mdc-text-field-wrapper.mdc-text-field--outlined .mat-mdc-form-field-infix{padding-top:16px;padding-bottom:16px}.mat-mdc-text-field-wrapper:not(.mdc-text-field--outlined) .mat-mdc-form-field-infix{padding-top:24px;padding-bottom:8px}.mdc-text-field--no-label:not(.mdc-text-field--outlined):not(.mdc-text-field--textarea) .mat-mdc-form-field-infix{padding-top:16px;padding-bottom:16px}html{--mdc-filled-text-field-label-text-font: Roboto, sans-serif;--mdc-filled-text-field-label-text-size: 16px;--mdc-filled-text-field-label-text-tracking: .03125em;--mdc-filled-text-field-label-text-weight: 400;--mdc-outlined-text-field-label-text-font: Roboto, sans-serif;--mdc-outlined-text-field-label-text-size: 16px;--mdc-outlined-text-field-label-text-tracking: .03125em;--mdc-outlined-text-field-label-text-weight: 400;--mat-form-field-container-text-font: Roboto, sans-serif;--mat-form-field-container-text-line-height: 24px;--mat-form-field-container-text-size: 16px;--mat-form-field-container-text-tracking: .03125em;--mat-form-field-container-text-weight: 400;--mat-form-field-outlined-label-text-populated-size: 16px;--mat-form-field-subscript-text-font: Roboto, sans-serif;--mat-form-field-subscript-text-line-height: 20px;--mat-form-field-subscript-text-size: 12px;--mat-form-field-subscript-text-tracking: .0333333333em;--mat-form-field-subscript-text-weight: 400}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(63, 81, 181, .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(255, 64, 129, .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-trigger-text-font: Roboto, sans-serif;--mat-select-trigger-text-line-height: 24px;--mat-select-trigger-text-size: 16px;--mat-select-trigger-text-tracking: .03125em;--mat-select-trigger-text-weight: 400}html{--mat-autocomplete-background-color: white}.mat-mdc-dialog-container{--mdc-dialog-container-color: white;--mdc-dialog-subhead-color: rgba(0, 0, 0, .87);--mdc-dialog-supporting-text-color: rgba(0, 0, 0, .6)}.mat-mdc-dialog-container{--mdc-dialog-subhead-font: Roboto, sans-serif;--mdc-dialog-subhead-line-height: 32px;--mdc-dialog-subhead-size: 20px;--mdc-dialog-subhead-weight: 500;--mdc-dialog-subhead-tracking: .0125em;--mdc-dialog-supporting-text-font: Roboto, sans-serif;--mdc-dialog-supporting-text-line-height: 24px;--mdc-dialog-supporting-text-size: 16px;--mdc-dialog-supporting-text-weight: 400;--mdc-dialog-supporting-text-tracking: .03125em}.mat-mdc-standard-chip{--mdc-chip-disabled-label-text-color: #212121;--mdc-chip-elevated-container-color: #e0e0e0;--mdc-chip-elevated-disabled-container-color: #e0e0e0;--mdc-chip-focus-state-layer-color: black;--mdc-chip-focus-state-layer-opacity: .12;--mdc-chip-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-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: #3f51b5;--mdc-chip-elevated-disabled-container-color: #3f51b5;--mdc-chip-focus-state-layer-color: black;--mdc-chip-focus-state-layer-opacity: .12;--mdc-chip-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-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: #ff4081;--mdc-chip-elevated-disabled-container-color: #ff4081;--mdc-chip-focus-state-layer-color: black;--mdc-chip-focus-state-layer-opacity: .12;--mdc-chip-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-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-disabled-container-color: #f44336;--mdc-chip-focus-state-layer-color: black;--mdc-chip-focus-state-layer-opacity: .12;--mdc-chip-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-mdc-chip.mat-mdc-standard-chip{--mdc-chip-container-height: 32px}.mat-mdc-standard-chip{--mdc-chip-label-text-font: Roboto, sans-serif;--mdc-chip-label-text-line-height: 20px;--mdc-chip-label-text-size: 14px;--mdc-chip-label-text-tracking: .0178571429em;--mdc-chip-label-text-weight: 400}.mat-mdc-slide-toggle{--mdc-switch-selected-focus-state-layer-color: #3949ab;--mdc-switch-selected-handle-color: #3949ab;--mdc-switch-selected-hover-state-layer-color: #3949ab;--mdc-switch-selected-pressed-state-layer-color: #3949ab;--mdc-switch-selected-focus-handle-color: #1a237e;--mdc-switch-selected-hover-handle-color: #1a237e;--mdc-switch-selected-pressed-handle-color: #1a237e;--mdc-switch-selected-focus-track-color: #7986cb;--mdc-switch-selected-hover-track-color: #7986cb;--mdc-switch-selected-pressed-track-color: #7986cb;--mdc-switch-selected-track-color: #7986cb;--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}.mat-mdc-slide-toggle .mdc-form-field{color:var(--mdc-theme-text-primary-on-background, rgba(0, 0, 0, .87))}.mat-mdc-slide-toggle .mdc-switch--disabled+label{color:#00000061}.mat-mdc-slide-toggle.mat-accent{--mdc-switch-selected-focus-state-layer-color: #d81b60;--mdc-switch-selected-handle-color: #d81b60;--mdc-switch-selected-hover-state-layer-color: #d81b60;--mdc-switch-selected-pressed-state-layer-color: #d81b60;--mdc-switch-selected-focus-handle-color: #880e4f;--mdc-switch-selected-hover-handle-color: #880e4f;--mdc-switch-selected-pressed-handle-color: #880e4f;--mdc-switch-selected-focus-track-color: #f06292;--mdc-switch-selected-hover-track-color: #f06292;--mdc-switch-selected-pressed-track-color: #f06292;--mdc-switch-selected-track-color: #f06292}.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}.mat-mdc-slide-toggle{--mdc-switch-state-layer-size: 48px}.mat-mdc-slide-toggle{--mat-slide-toggle-label-text-font: Roboto, sans-serif;--mat-slide-toggle-label-text-size: 14px;--mat-slide-toggle-label-text-tracking: .0178571429em;--mat-slide-toggle-label-text-line-height: 20px;--mat-slide-toggle-label-text-weight: 400}.mat-mdc-slide-toggle .mdc-form-field{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:Roboto,sans-serif;font-family:var(--mdc-typography-body2-font-family, var(--mdc-typography-font-family, Roboto, sans-serif));font-size:.875rem;font-size:var(--mdc-typography-body2-font-size, .875rem);line-height:1.25rem;line-height:var(--mdc-typography-body2-line-height, 1.25rem);font-weight:400;font-weight:var(--mdc-typography-body2-font-weight, 400);letter-spacing:.0178571429em;letter-spacing:var(--mdc-typography-body2-letter-spacing, .0178571429em);text-decoration:inherit;-webkit-text-decoration:var(--mdc-typography-body2-text-decoration, inherit);text-decoration:var(--mdc-typography-body2-text-decoration, inherit);text-transform:inherit;text-transform:var(--mdc-typography-body2-text-transform, inherit)}.mat-mdc-radio-button .mdc-form-field{color:var(--mdc-theme-text-primary-on-background, rgba(0, 0, 0, .87))}.mat-mdc-radio-button.mat-primary{--mdc-radio-disabled-selected-icon-color: #000;--mdc-radio-disabled-unselected-icon-color: #000;--mdc-radio-unselected-hover-icon-color: #212121;--mdc-radio-unselected-icon-color: rgba(0, 0, 0, .54);--mdc-radio-unselected-pressed-icon-color: rgba(0, 0, 0, .54);--mdc-radio-selected-focus-icon-color: #3f51b5;--mdc-radio-selected-hover-icon-color: #3f51b5;--mdc-radio-selected-icon-color: #3f51b5;--mdc-radio-selected-pressed-icon-color: #3f51b5;--mat-radio-ripple-color: #000;--mat-radio-checked-ripple-color: #3f51b5;--mat-radio-disabled-label-color: rgba(0, 0, 0, .38)}.mat-mdc-radio-button.mat-accent{--mdc-radio-disabled-selected-icon-color: #000;--mdc-radio-disabled-unselected-icon-color: #000;--mdc-radio-unselected-hover-icon-color: #212121;--mdc-radio-unselected-icon-color: rgba(0, 0, 0, .54);--mdc-radio-unselected-pressed-icon-color: rgba(0, 0, 0, .54);--mdc-radio-selected-focus-icon-color: #ff4081;--mdc-radio-selected-hover-icon-color: #ff4081;--mdc-radio-selected-icon-color: #ff4081;--mdc-radio-selected-pressed-icon-color: #ff4081;--mat-radio-ripple-color: #000;--mat-radio-checked-ripple-color: #ff4081;--mat-radio-disabled-label-color: rgba(0, 0, 0, .38)}.mat-mdc-radio-button.mat-warn{--mdc-radio-disabled-selected-icon-color: #000;--mdc-radio-disabled-unselected-icon-color: #000;--mdc-radio-unselected-hover-icon-color: #212121;--mdc-radio-unselected-icon-color: rgba(0, 0, 0, .54);--mdc-radio-unselected-pressed-icon-color: rgba(0, 0, 0, .54);--mdc-radio-selected-focus-icon-color: #f44336;--mdc-radio-selected-hover-icon-color: #f44336;--mdc-radio-selected-icon-color: #f44336;--mdc-radio-selected-pressed-icon-color: #f44336;--mat-radio-ripple-color: #000;--mat-radio-checked-ripple-color: #f44336;--mat-radio-disabled-label-color: rgba(0, 0, 0, .38)}.mat-mdc-radio-button .mdc-radio{--mdc-radio-state-layer-size: 40px}.mat-mdc-radio-button .mdc-form-field{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:var(--mdc-typography-body2-font-family, var(--mdc-typography-font-family, Roboto, sans-serif));font-size:var(--mdc-typography-body2-font-size, 14px);line-height:var(--mdc-typography-body2-line-height, 20px);font-weight:var(--mdc-typography-body2-font-weight, 400);letter-spacing:var(--mdc-typography-body2-letter-spacing, .0178571429em);-webkit-text-decoration:var(--mdc-typography-body2-text-decoration, inherit);text-decoration:var(--mdc-typography-body2-text-decoration, inherit);text-transform:var(--mdc-typography-body2-text-transform, none)}.mat-mdc-slider{--mdc-slider-label-container-color: black;--mdc-slider-label-label-text-color: white;--mdc-slider-disabled-handle-color: #000;--mdc-slider-disabled-active-track-color: #000;--mdc-slider-disabled-inactive-track-color: #000;--mdc-slider-with-tick-marks-disabled-container-color: #000;--mat-mdc-slider-value-indicator-opacity: .6}.mat-mdc-slider.mat-primary{--mdc-slider-handle-color: #3f51b5;--mdc-slider-focus-handle-color: #3f51b5;--mdc-slider-hover-handle-color: #3f51b5;--mdc-slider-active-track-color: #3f51b5;--mdc-slider-inactive-track-color: #3f51b5;--mdc-slider-with-tick-marks-active-container-color: #fff;--mdc-slider-with-tick-marks-inactive-container-color: #3f51b5;--mat-mdc-slider-ripple-color: #3f51b5;--mat-mdc-slider-hover-ripple-color: rgba(63, 81, 181, .05);--mat-mdc-slider-focus-ripple-color: rgba(63, 81, 181, .2)}.mat-mdc-slider.mat-accent{--mdc-slider-handle-color: #ff4081;--mdc-slider-focus-handle-color: #ff4081;--mdc-slider-hover-handle-color: #ff4081;--mdc-slider-active-track-color: #ff4081;--mdc-slider-inactive-track-color: #ff4081;--mdc-slider-with-tick-marks-active-container-color: #fff;--mdc-slider-with-tick-marks-inactive-container-color: #ff4081;--mat-mdc-slider-ripple-color: #ff4081;--mat-mdc-slider-hover-ripple-color: rgba(255, 64, 129, .05);--mat-mdc-slider-focus-ripple-color: rgba(255, 64, 129, .2)}.mat-mdc-slider.mat-warn{--mdc-slider-handle-color: #f44336;--mdc-slider-focus-handle-color: #f44336;--mdc-slider-hover-handle-color: #f44336;--mdc-slider-active-track-color: #f44336;--mdc-slider-inactive-track-color: #f44336;--mdc-slider-with-tick-marks-active-container-color: #fff;--mdc-slider-with-tick-marks-inactive-container-color: #f44336;--mat-mdc-slider-ripple-color: #f44336;--mat-mdc-slider-hover-ripple-color: rgba(244, 67, 54, .05);--mat-mdc-slider-focus-ripple-color: rgba(244, 67, 54, .2)}.mat-mdc-slider{--mdc-slider-label-label-text-font: Roboto, sans-serif;--mdc-slider-label-label-text-size: 14px;--mdc-slider-label-label-text-line-height: 22px;--mdc-slider-label-label-text-tracking: .0071428571em;--mdc-slider-label-label-text-weight: 500}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}html{--mat-menu-item-label-text-font: Roboto, sans-serif;--mat-menu-item-label-text-size: 16px;--mat-menu-item-label-text-tracking: .03125em;--mat-menu-item-label-text-line-height: 24px;--mat-menu-item-label-text-weight: 400}.mat-mdc-list-base{--mdc-list-list-item-label-text-color: rgba(0, 0, 0, .87);--mdc-list-list-item-supporting-text-color: rgba(0, 0, 0, .54);--mdc-list-list-item-leading-icon-color: rgba(0, 0, 0, .38);--mdc-list-list-item-trailing-supporting-text-color: rgba(0, 0, 0, .38);--mdc-list-list-item-trailing-icon-color: rgba(0, 0, 0, .38);--mdc-list-list-item-selected-trailing-icon-color: rgba(0, 0, 0, .38);--mdc-list-list-item-disabled-label-text-color: black;--mdc-list-list-item-disabled-leading-icon-color: black;--mdc-list-list-item-disabled-trailing-icon-color: black;--mdc-list-list-item-hover-label-text-color: rgba(0, 0, 0, .87);--mdc-list-list-item-hover-leading-icon-color: rgba(0, 0, 0, .38);--mdc-list-list-item-hover-trailing-icon-color: rgba(0, 0, 0, .38);--mdc-list-list-item-focus-label-text-color: rgba(0, 0, 0, .87);--mdc-list-list-item-hover-state-layer-color: black;--mdc-list-list-item-hover-state-layer-opacity: .04;--mdc-list-list-item-focus-state-layer-color: black;--mdc-list-list-item-focus-state-layer-opacity: .12}.mdc-list-item__start,.mdc-list-item__end{--mdc-radio-disabled-selected-icon-color: #000;--mdc-radio-disabled-unselected-icon-color: #000;--mdc-radio-unselected-hover-icon-color: #212121;--mdc-radio-unselected-icon-color: rgba(0, 0, 0, .54);--mdc-radio-unselected-pressed-icon-color: rgba(0, 0, 0, .54);--mdc-radio-selected-focus-icon-color: #3f51b5;--mdc-radio-selected-hover-icon-color: #3f51b5;--mdc-radio-selected-icon-color: #3f51b5;--mdc-radio-selected-pressed-icon-color: #3f51b5}.mat-accent .mdc-list-item__start,.mat-accent .mdc-list-item__end{--mdc-radio-disabled-selected-icon-color: #000;--mdc-radio-disabled-unselected-icon-color: #000;--mdc-radio-unselected-hover-icon-color: #212121;--mdc-radio-unselected-icon-color: rgba(0, 0, 0, .54);--mdc-radio-unselected-pressed-icon-color: rgba(0, 0, 0, .54);--mdc-radio-selected-focus-icon-color: #ff4081;--mdc-radio-selected-hover-icon-color: #ff4081;--mdc-radio-selected-icon-color: #ff4081;--mdc-radio-selected-pressed-icon-color: #ff4081}.mat-warn .mdc-list-item__start,.mat-warn .mdc-list-item__end{--mdc-radio-disabled-selected-icon-color: #000;--mdc-radio-disabled-unselected-icon-color: #000;--mdc-radio-unselected-hover-icon-color: #212121;--mdc-radio-unselected-icon-color: rgba(0, 0, 0, .54);--mdc-radio-unselected-pressed-icon-color: rgba(0, 0, 0, .54);--mdc-radio-selected-focus-icon-color: #f44336;--mdc-radio-selected-hover-icon-color: #f44336;--mdc-radio-selected-icon-color: #f44336;--mdc-radio-selected-pressed-icon-color: #f44336}.mat-mdc-list-option{--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: #fff;--mdc-checkbox-selected-focus-icon-color: #3f51b5;--mdc-checkbox-selected-hover-icon-color: #3f51b5;--mdc-checkbox-selected-icon-color: #3f51b5;--mdc-checkbox-selected-pressed-icon-color: #3f51b5;--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-unselected-pressed-icon-color: rgba(0, 0, 0, .54);--mdc-checkbox-selected-focus-state-layer-color: #3f51b5;--mdc-checkbox-selected-hover-state-layer-color: #3f51b5;--mdc-checkbox-selected-pressed-state-layer-color: #3f51b5;--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-list-option.mat-accent{--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: #fff;--mdc-checkbox-selected-focus-icon-color: #ff4081;--mdc-checkbox-selected-hover-icon-color: #ff4081;--mdc-checkbox-selected-icon-color: #ff4081;--mdc-checkbox-selected-pressed-icon-color: #ff4081;--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-unselected-pressed-icon-color: rgba(0, 0, 0, .54);--mdc-checkbox-selected-focus-state-layer-color: #ff4081;--mdc-checkbox-selected-hover-state-layer-color: #ff4081;--mdc-checkbox-selected-pressed-state-layer-color: #ff4081;--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-list-option.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: #fff;--mdc-checkbox-selected-focus-icon-color: #f44336;--mdc-checkbox-selected-hover-icon-color: #f44336;--mdc-checkbox-selected-icon-color: #f44336;--mdc-checkbox-selected-pressed-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-unselected-pressed-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}.mat-mdc-list-base.mat-mdc-list-base .mdc-list-item--selected .mdc-list-item__primary-text,.mat-mdc-list-base.mat-mdc-list-base .mdc-list-item--activated .mdc-list-item__primary-text,.mat-mdc-list-base.mat-mdc-list-base .mdc-list-item--selected.mdc-list-item--with-leading-icon .mdc-list-item__start,.mat-mdc-list-base.mat-mdc-list-base .mdc-list-item--activated.mdc-list-item--with-leading-icon .mdc-list-item__start{color:#3f51b5}.mat-mdc-list-base .mdc-list-item--disabled .mdc-list-item__start,.mat-mdc-list-base .mdc-list-item--disabled .mdc-list-item__content,.mat-mdc-list-base .mdc-list-item--disabled .mdc-list-item__end{opacity:1}.mat-mdc-list-base{--mdc-list-list-item-one-line-container-height: 48px;--mdc-list-list-item-two-line-container-height: 64px;--mdc-list-list-item-three-line-container-height: 88px}.mat-mdc-list-item.mdc-list-item--with-leading-avatar.mdc-list-item--with-one-line,.mat-mdc-list-item.mdc-list-item--with-leading-checkbox.mdc-list-item--with-one-line,.mat-mdc-list-item.mdc-list-item--with-leading-icon.mdc-list-item--with-one-line{height:56px}.mat-mdc-list-item.mdc-list-item--with-leading-avatar.mdc-list-item--with-two-lines,.mat-mdc-list-item.mdc-list-item--with-leading-checkbox.mdc-list-item--with-two-lines,.mat-mdc-list-item.mdc-list-item--with-leading-icon.mdc-list-item--with-two-lines{height:72px}.mat-mdc-list-base{--mdc-list-list-item-label-text-font: Roboto, sans-serif;--mdc-list-list-item-label-text-line-height: 24px;--mdc-list-list-item-label-text-size: 16px;--mdc-list-list-item-label-text-tracking: .03125em;--mdc-list-list-item-label-text-weight: 400;--mdc-list-list-item-supporting-text-font: Roboto, sans-serif;--mdc-list-list-item-supporting-text-line-height: 20px;--mdc-list-list-item-supporting-text-size: 14px;--mdc-list-list-item-supporting-text-tracking: .0178571429em;--mdc-list-list-item-supporting-text-weight: 400;--mdc-list-list-item-trailing-supporting-text-font: Roboto, sans-serif;--mdc-list-list-item-trailing-supporting-text-line-height: 20px;--mdc-list-list-item-trailing-supporting-text-size: 12px;--mdc-list-list-item-trailing-supporting-text-tracking: .0333333333em;--mdc-list-list-item-trailing-supporting-text-weight: 400}.mdc-list-group__subheader{font-size:16px;font-weight:400;line-height:28px;font-family:Roboto,sans-serif;letter-spacing:.009375em}html{--mat-paginator-container-text-color: rgba(0, 0, 0, .87);--mat-paginator-container-background-color: white;--mat-paginator-enabled-icon-color: rgba(0, 0, 0, .54);--mat-paginator-disabled-icon-color: rgba(0, 0, 0, .12)}html{--mat-paginator-container-size: 56px}.mat-mdc-paginator .mat-mdc-form-field-infix{min-height:40px}.mat-mdc-paginator .mat-mdc-text-field-wrapper .mat-mdc-form-field-flex .mat-mdc-floating-label{top:20px}.mat-mdc-paginator .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( -26.75px) scale(var(--mat-mdc-form-field-floating-label-scale, .75));transform:var(--mat-mdc-form-field-label-transform)}.mat-mdc-paginator .mat-mdc-text-field-wrapper.mdc-text-field--outlined .mat-mdc-form-field-infix{padding-top:8px;padding-bottom:8px}.mat-mdc-paginator .mat-mdc-text-field-wrapper:not(.mdc-text-field--outlined) .mat-mdc-form-field-infix{padding-top:8px;padding-bottom:8px}.mat-mdc-paginator .mdc-text-field--no-label:not(.mdc-text-field--outlined):not(.mdc-text-field--textarea) .mat-mdc-form-field-infix{padding-top:8px;padding-bottom:8px}.mat-mdc-paginator .mat-mdc-text-field-wrapper:not(.mdc-text-field--outlined) .mat-mdc-floating-label{display:none}html{--mat-paginator-container-text-font: Roboto, sans-serif;--mat-paginator-container-text-line-height: 20px;--mat-paginator-container-text-size: 12px;--mat-paginator-container-text-tracking: .0333333333em;--mat-paginator-container-text-weight: 400;--mat-paginator-select-trigger-text-size: 12px}.mat-mdc-tab-group,.mat-mdc-tab-nav-bar{--mdc-tab-indicator-active-indicator-color: #3f51b5;--mat-tab-header-disabled-ripple-color: rgba(0, 0, 0, .38);--mat-tab-header-pagination-icon-color: #000;--mat-tab-header-inactive-label-text-color: rgba(0, 0, 0, .6);--mat-tab-header-active-label-text-color: #3f51b5;--mat-tab-header-active-ripple-color: #3f51b5;--mat-tab-header-inactive-ripple-color: #3f51b5;--mat-tab-header-inactive-focus-label-text-color: rgba(0, 0, 0, .6);--mat-tab-header-inactive-hover-label-text-color: rgba(0, 0, 0, .6);--mat-tab-header-active-focus-label-text-color: #3f51b5;--mat-tab-header-active-hover-label-text-color: #3f51b5;--mat-tab-header-active-focus-indicator-color: #3f51b5;--mat-tab-header-active-hover-indicator-color: #3f51b5}.mat-mdc-tab-group.mat-accent,.mat-mdc-tab-nav-bar.mat-accent{--mdc-tab-indicator-active-indicator-color: #ff4081;--mat-tab-header-disabled-ripple-color: rgba(0, 0, 0, .38);--mat-tab-header-pagination-icon-color: #000;--mat-tab-header-inactive-label-text-color: rgba(0, 0, 0, .6);--mat-tab-header-active-label-text-color: #ff4081;--mat-tab-header-active-ripple-color: #ff4081;--mat-tab-header-inactive-ripple-color: #ff4081;--mat-tab-header-inactive-focus-label-text-color: rgba(0, 0, 0, .6);--mat-tab-header-inactive-hover-label-text-color: rgba(0, 0, 0, .6);--mat-tab-header-active-focus-label-text-color: #ff4081;--mat-tab-header-active-hover-label-text-color: #ff4081;--mat-tab-header-active-focus-indicator-color: #ff4081;--mat-tab-header-active-hover-indicator-color: #ff4081}.mat-mdc-tab-group.mat-warn,.mat-mdc-tab-nav-bar.mat-warn{--mdc-tab-indicator-active-indicator-color: #f44336;--mat-tab-header-disabled-ripple-color: rgba(0, 0, 0, .38);--mat-tab-header-pagination-icon-color: #000;--mat-tab-header-inactive-label-text-color: rgba(0, 0, 0, .6);--mat-tab-header-active-label-text-color: #f44336;--mat-tab-header-active-ripple-color: #f44336;--mat-tab-header-inactive-ripple-color: #f44336;--mat-tab-header-inactive-focus-label-text-color: rgba(0, 0, 0, .6);--mat-tab-header-inactive-hover-label-text-color: rgba(0, 0, 0, .6);--mat-tab-header-active-focus-label-text-color: #f44336;--mat-tab-header-active-hover-label-text-color: #f44336;--mat-tab-header-active-focus-indicator-color: #f44336;--mat-tab-header-active-hover-indicator-color: #f44336}.mat-mdc-tab-group.mat-background-primary,.mat-mdc-tab-nav-bar.mat-background-primary{--mat-tab-header-with-background-background-color: #3f51b5;--mat-tab-header-with-background-foreground-color: white}.mat-mdc-tab-group.mat-background-accent,.mat-mdc-tab-nav-bar.mat-background-accent{--mat-tab-header-with-background-background-color: #ff4081;--mat-tab-header-with-background-foreground-color: white}.mat-mdc-tab-group.mat-background-warn,.mat-mdc-tab-nav-bar.mat-background-warn{--mat-tab-header-with-background-background-color: #f44336;--mat-tab-header-with-background-foreground-color: white}.mat-mdc-tab-header{--mdc-secondary-navigation-tab-container-height: 48px}.mat-mdc-tab-header{--mat-tab-header-label-text-font: Roboto, sans-serif;--mat-tab-header-label-text-size: 14px;--mat-tab-header-label-text-tracking: .0892857143em;--mat-tab-header-label-text-line-height: 36px;--mat-tab-header-label-text-weight: 500}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: #fff;--mdc-checkbox-selected-focus-icon-color: #ff4081;--mdc-checkbox-selected-hover-icon-color: #ff4081;--mdc-checkbox-selected-icon-color: #ff4081;--mdc-checkbox-selected-pressed-icon-color: #ff4081;--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-unselected-pressed-icon-color: rgba(0, 0, 0, .54);--mdc-checkbox-selected-focus-state-layer-color: #ff4081;--mdc-checkbox-selected-hover-state-layer-color: #ff4081;--mdc-checkbox-selected-pressed-state-layer-color: #ff4081;--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-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: #fff;--mdc-checkbox-selected-focus-icon-color: #3f51b5;--mdc-checkbox-selected-hover-icon-color: #3f51b5;--mdc-checkbox-selected-icon-color: #3f51b5;--mdc-checkbox-selected-pressed-icon-color: #3f51b5;--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-unselected-pressed-icon-color: rgba(0, 0, 0, .54);--mdc-checkbox-selected-focus-state-layer-color: #3f51b5;--mdc-checkbox-selected-hover-state-layer-color: #3f51b5;--mdc-checkbox-selected-pressed-state-layer-color: #3f51b5;--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: #fff;--mdc-checkbox-selected-focus-icon-color: #f44336;--mdc-checkbox-selected-hover-icon-color: #f44336;--mdc-checkbox-selected-icon-color: #f44336;--mdc-checkbox-selected-pressed-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-unselected-pressed-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}.mat-mdc-checkbox .mdc-form-field{color:var(--mdc-theme-text-primary-on-background, rgba(0, 0, 0, .87))}.mat-mdc-checkbox.mat-mdc-checkbox-disabled label{color:#00000061}html{--mdc-checkbox-state-layer-size: 40px}.mat-mdc-checkbox .mdc-form-field{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:var(--mdc-typography-body2-font-family, var(--mdc-typography-font-family, Roboto, sans-serif));font-size:var(--mdc-typography-body2-font-size, 14px);line-height:var(--mdc-typography-body2-line-height, 20px);font-weight:var(--mdc-typography-body2-font-weight, 400);letter-spacing:var(--mdc-typography-body2-letter-spacing, .0178571429em);-webkit-text-decoration:var(--mdc-typography-body2-text-decoration, inherit);text-decoration:var(--mdc-typography-body2-text-decoration, inherit);text-transform:var(--mdc-typography-body2-text-transform, none)}.mat-mdc-button.mat-unthemed{--mdc-text-button-label-text-color: #000}.mat-mdc-button.mat-primary{--mdc-text-button-label-text-color: #3f51b5}.mat-mdc-button.mat-accent{--mdc-text-button-label-text-color: #ff4081}.mat-mdc-button.mat-warn{--mdc-text-button-label-text-color: #f44336}.mat-mdc-button[disabled][disabled]{--mdc-text-button-disabled-label-text-color: rgba(0, 0, 0, .38);--mdc-text-button-label-text-color: rgba(0, 0, 0, .38)}.mat-mdc-unelevated-button.mat-unthemed{--mdc-filled-button-container-color: #fff;--mdc-filled-button-label-text-color: #000}.mat-mdc-unelevated-button.mat-primary{--mdc-filled-button-container-color: #3f51b5;--mdc-filled-button-label-text-color: #fff}.mat-mdc-unelevated-button.mat-accent{--mdc-filled-button-container-color: #ff4081;--mdc-filled-button-label-text-color: #fff}.mat-mdc-unelevated-button.mat-warn{--mdc-filled-button-container-color: #f44336;--mdc-filled-button-label-text-color: #fff}.mat-mdc-unelevated-button[disabled][disabled]{--mdc-filled-button-disabled-container-color: rgba(0, 0, 0, .12);--mdc-filled-button-disabled-label-text-color: rgba(0, 0, 0, .38);--mdc-filled-button-container-color: rgba(0, 0, 0, .12);--mdc-filled-button-label-text-color: rgba(0, 0, 0, .38)}.mat-mdc-raised-button.mat-unthemed{--mdc-protected-button-container-color: #fff;--mdc-protected-button-label-text-color: #000}.mat-mdc-raised-button.mat-primary{--mdc-protected-button-container-color: #3f51b5;--mdc-protected-button-label-text-color: #fff}.mat-mdc-raised-button.mat-accent{--mdc-protected-button-container-color: #ff4081;--mdc-protected-button-label-text-color: #fff}.mat-mdc-raised-button.mat-warn{--mdc-protected-button-container-color: #f44336;--mdc-protected-button-label-text-color: #fff}.mat-mdc-raised-button[disabled][disabled]{--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-color: rgba(0, 0, 0, .12);--mdc-protected-button-label-text-color: rgba(0, 0, 0, .38);--mdc-protected-button-container-elevation: 0}.mat-mdc-outlined-button{--mdc-outlined-button-outline-color: rgba(0, 0, 0, .12)}.mat-mdc-outlined-button.mat-unthemed{--mdc-outlined-button-label-text-color: #000}.mat-mdc-outlined-button.mat-primary{--mdc-outlined-button-label-text-color: #3f51b5}.mat-mdc-outlined-button.mat-accent{--mdc-outlined-button-label-text-color: #ff4081}.mat-mdc-outlined-button.mat-warn{--mdc-outlined-button-label-text-color: #f44336}.mat-mdc-outlined-button[disabled][disabled]{--mdc-outlined-button-label-text-color: rgba(0, 0, 0, .38);--mdc-outlined-button-disabled-label-text-color: rgba(0, 0, 0, .38);--mdc-outlined-button-outline-color: rgba(0, 0, 0, .12);--mdc-outlined-button-disabled-outline-color: rgba(0, 0, 0, .12)}.mat-mdc-button,.mat-mdc-outlined-button{--mat-mdc-button-persistent-ripple-color: #000;--mat-mdc-button-ripple-color: rgba(0, 0, 0, .1)}.mat-mdc-button:hover .mat-mdc-button-persistent-ripple:before,.mat-mdc-outlined-button:hover .mat-mdc-button-persistent-ripple:before{opacity:.04}.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-outlined-button.cdk-program-focused .mat-mdc-button-persistent-ripple:before,.mat-mdc-outlined-button.cdk-keyboard-focused .mat-mdc-button-persistent-ripple:before{opacity:.12}.mat-mdc-button:active .mat-mdc-button-persistent-ripple:before,.mat-mdc-outlined-button:active .mat-mdc-button-persistent-ripple:before{opacity:.12}.mat-mdc-button.mat-primary,.mat-mdc-outlined-button.mat-primary{--mat-mdc-button-persistent-ripple-color: #3f51b5;--mat-mdc-button-ripple-color: rgba(63, 81, 181, .1)}.mat-mdc-button.mat-accent,.mat-mdc-outlined-button.mat-accent{--mat-mdc-button-persistent-ripple-color: #ff4081;--mat-mdc-button-ripple-color: rgba(255, 64, 129, .1)}.mat-mdc-button.mat-warn,.mat-mdc-outlined-button.mat-warn{--mat-mdc-button-persistent-ripple-color: #f44336;--mat-mdc-button-ripple-color: rgba(244, 67, 54, .1)}.mat-mdc-raised-button,.mat-mdc-unelevated-button{--mat-mdc-button-persistent-ripple-color: #000;--mat-mdc-button-ripple-color: rgba(0, 0, 0, .1)}.mat-mdc-raised-button:hover .mat-mdc-button-persistent-ripple:before,.mat-mdc-unelevated-button:hover .mat-mdc-button-persistent-ripple:before{opacity:.04}.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-unelevated-button.cdk-program-focused .mat-mdc-button-persistent-ripple:before,.mat-mdc-unelevated-button.cdk-keyboard-focused .mat-mdc-button-persistent-ripple:before{opacity:.12}.mat-mdc-raised-button:active .mat-mdc-button-persistent-ripple:before,.mat-mdc-unelevated-button:active .mat-mdc-button-persistent-ripple:before{opacity:.12}.mat-mdc-raised-button.mat-primary,.mat-mdc-unelevated-button.mat-primary,.mat-mdc-raised-button.mat-accent,.mat-mdc-unelevated-button.mat-accent,.mat-mdc-raised-button.mat-warn,.mat-mdc-unelevated-button.mat-warn{--mat-mdc-button-persistent-ripple-color: #fff;--mat-mdc-button-ripple-color: rgba(255, 255, 255, .1)}.mat-mdc-button.mat-mdc-button-base,.mat-mdc-raised-button.mat-mdc-button-base,.mat-mdc-unelevated-button.mat-mdc-button-base,.mat-mdc-outlined-button.mat-mdc-button-base{height:36px}.mdc-button{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:var(--mdc-typography-button-font-family, var(--mdc-typography-font-family, Roboto, sans-serif));font-size:var(--mdc-typography-button-font-size, 14px);line-height:var(--mdc-typography-button-line-height, 36px);font-weight:var(--mdc-typography-button-font-weight, 500);letter-spacing:var(--mdc-typography-button-letter-spacing, .0892857143em);-webkit-text-decoration:var(--mdc-typography-button-text-decoration, none);text-decoration:var(--mdc-typography-button-text-decoration, none);text-transform:var(--mdc-typography-button-text-transform, none)}.mat-mdc-icon-button{--mdc-icon-button-icon-color: inherit;--mat-mdc-button-persistent-ripple-color: #000;--mat-mdc-button-ripple-color: rgba(0, 0, 0, .1)}.mat-mdc-icon-button:hover .mat-mdc-button-persistent-ripple:before{opacity:.04}.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{opacity:.12}.mat-mdc-icon-button:active .mat-mdc-button-persistent-ripple:before{opacity:.12}.mat-mdc-icon-button.mat-primary{--mat-mdc-button-persistent-ripple-color: #6200ee;--mat-mdc-button-ripple-color: rgba(98, 0, 238, .1)}.mat-mdc-icon-button.mat-accent{--mat-mdc-button-persistent-ripple-color: #018786;--mat-mdc-button-ripple-color: rgba(1, 135, 134, .1)}.mat-mdc-icon-button.mat-warn{--mat-mdc-button-persistent-ripple-color: #b00020;--mat-mdc-button-ripple-color: rgba(176, 0, 32, .1)}.mat-mdc-icon-button.mat-primary{--mdc-icon-button-icon-color: #3f51b5;--mat-mdc-button-persistent-ripple-color: #3f51b5;--mat-mdc-button-ripple-color: rgba(63, 81, 181, .1)}.mat-mdc-icon-button.mat-accent{--mdc-icon-button-icon-color: #ff4081;--mat-mdc-button-persistent-ripple-color: #ff4081;--mat-mdc-button-ripple-color: rgba(255, 64, 129, .1)}.mat-mdc-icon-button.mat-warn{--mdc-icon-button-icon-color: #f44336;--mat-mdc-button-persistent-ripple-color: #f44336;--mat-mdc-button-ripple-color: rgba(244, 67, 54, .1)}.mat-mdc-icon-button[disabled][disabled]{--mdc-icon-button-icon-color: rgba(0, 0, 0, .38);--mdc-icon-button-disabled-icon-color: rgba(0, 0, 0, .38)}.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}.mat-mdc-fab,.mat-mdc-mini-fab{--mat-mdc-button-persistent-ripple-color: #000;--mat-mdc-button-ripple-color: rgba(0, 0, 0, .1)}.mat-mdc-fab:hover .mat-mdc-button-persistent-ripple:before,.mat-mdc-mini-fab:hover .mat-mdc-button-persistent-ripple:before{opacity:.04}.mat-mdc-fab.cdk-program-focused .mat-mdc-button-persistent-ripple:before,.mat-mdc-fab.cdk-keyboard-focused .mat-mdc-button-persistent-ripple:before,.mat-mdc-mini-fab.cdk-program-focused .mat-mdc-button-persistent-ripple:before,.mat-mdc-mini-fab.cdk-keyboard-focused .mat-mdc-button-persistent-ripple:before{opacity:.12}.mat-mdc-fab:active .mat-mdc-button-persistent-ripple:before,.mat-mdc-mini-fab:active .mat-mdc-button-persistent-ripple:before{opacity:.12}.mat-mdc-fab.mat-primary,.mat-mdc-mini-fab.mat-primary,.mat-mdc-fab.mat-accent,.mat-mdc-mini-fab.mat-accent,.mat-mdc-fab.mat-warn,.mat-mdc-mini-fab.mat-warn{--mat-mdc-button-persistent-ripple-color: #fff;--mat-mdc-button-ripple-color: rgba(255, 255, 255, .1)}.mat-mdc-fab[disabled][disabled],.mat-mdc-mini-fab[disabled][disabled]{--mdc-fab-container-color: rgba(0, 0, 0, .12);--mdc-fab-icon-color: rgba(0, 0, 0, .38);--mat-mdc-fab-color: rgba(0, 0, 0, .38)}.mat-mdc-fab.mat-unthemed,.mat-mdc-mini-fab.mat-unthemed{--mdc-fab-container-color: white;--mdc-fab-icon-color: black;--mat-mdc-fab-color: #000}.mat-mdc-fab.mat-primary,.mat-mdc-mini-fab.mat-primary{--mdc-fab-container-color: #3f51b5;--mdc-fab-icon-color: white;--mat-mdc-fab-color: #fff}.mat-mdc-fab.mat-accent,.mat-mdc-mini-fab.mat-accent{--mdc-fab-container-color: #ff4081;--mdc-fab-icon-color: white;--mat-mdc-fab-color: #fff}.mat-mdc-fab.mat-warn,.mat-mdc-mini-fab.mat-warn{--mdc-fab-container-color: #f44336;--mdc-fab-icon-color: white;--mat-mdc-fab-color: #fff}.mdc-fab--extended{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:var(--mdc-typography-button-font-family, var(--mdc-typography-font-family, Roboto, sans-serif));font-size:var(--mdc-typography-button-font-size, 14px);line-height:var(--mdc-typography-button-line-height, 36px);font-weight:var(--mdc-typography-button-font-weight, 500);letter-spacing:var(--mdc-typography-button-letter-spacing, .0892857143em);-webkit-text-decoration:var(--mdc-typography-button-text-decoration, none);text-decoration:var(--mdc-typography-button-text-decoration, none);text-transform:var(--mdc-typography-button-text-transform, none)}.mat-mdc-extended-fab{--mdc-extended-fab-label-text-font: Roboto, sans-serif;--mdc-extended-fab-label-text-size: 14px;--mdc-extended-fab-label-text-tracking: .0892857143em;--mdc-extended-fab-label-text-weight: 500}.mat-mdc-snack-bar-container{--mdc-snackbar-container-color: #333333;--mdc-snackbar-supporting-text-color: rgba(255, 255, 255, .87);--mat-snack-bar-button-color: #ff4081}.mat-mdc-snack-bar-container{--mdc-snackbar-supporting-text-font: Roboto, sans-serif;--mdc-snackbar-supporting-text-line-height: 20px;--mdc-snackbar-supporting-text-size: 14px;--mdc-snackbar-supporting-text-weight: 400}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: Roboto, sans-serif;--mat-table-header-headline-line-height: 22px;--mat-table-header-headline-size: 14px;--mat-table-header-headline-weight: 500;--mat-table-header-headline-tracking: .0071428571em;--mat-table-row-item-label-text-font: Roboto, sans-serif;--mat-table-row-item-label-text-line-height: 20px;--mat-table-row-item-label-text-size: 14px;--mat-table-row-item-label-text-weight: 400;--mat-table-row-item-label-text-tracking: .0178571429em;--mat-table-footer-supporting-text-font: Roboto, sans-serif;--mat-table-footer-supporting-text-line-height: 20px;--mat-table-footer-supporting-text-size: 14px;--mat-table-footer-supporting-text-weight: 400;--mat-table-footer-supporting-text-tracking: .0178571429em}.mat-mdc-progress-spinner{--mdc-circular-progress-active-indicator-color: #3f51b5}.mat-mdc-progress-spinner.mat-accent{--mdc-circular-progress-active-indicator-color: #ff4081}.mat-mdc-progress-spinner.mat-warn{--mdc-circular-progress-active-indicator-color: #f44336}.mat-badge{position:relative}.mat-badge.mat-badge{overflow:visible}.mat-badge-content{position:absolute;text-align:center;display:inline-block;border-radius:50%;transition:transform .2s ease-in-out;transform:scale(.6);overflow:hidden;white-space:nowrap;text-overflow:ellipsis;pointer-events:none;background-color:var(--mat-badge-background-color);color:var(--mat-badge-text-color);font-family:Roboto,sans-serif;font-family:var(--mat-badge-text-font, Roboto, sans-serif);font-size:12px;font-size:var(--mat-badge-text-size, 12px);font-weight:600;font-weight:var(--mat-badge-text-weight, 600)}.cdk-high-contrast-active .mat-badge-content{outline:solid 1px;border-radius:0}.mat-badge-disabled .mat-badge-content{background-color:var(--mat-badge-disabled-state-background-color);color:var(--mat-badge-disabled-state-text-color)}.mat-badge-hidden .mat-badge-content{display:none}.ng-animate-disabled .mat-badge-content,.mat-badge-content._mat-animation-noopable{transition:none}.mat-badge-content.mat-badge-active{transform:none}.mat-badge-small .mat-badge-content{width:16px;height:16px;line-height:16px;font-size:9px;font-size:var(--mat-badge-small-size-text-size, 9px)}.mat-badge-small.mat-badge-above .mat-badge-content{top:-8px}.mat-badge-small.mat-badge-below .mat-badge-content{bottom:-8px}.mat-badge-small.mat-badge-before .mat-badge-content{left:-16px}[dir=rtl] .mat-badge-small.mat-badge-before .mat-badge-content{left:auto;right:-16px}.mat-badge-small.mat-badge-after .mat-badge-content{right:-16px}[dir=rtl] .mat-badge-small.mat-badge-after .mat-badge-content{right:auto;left:-16px}.mat-badge-small.mat-badge-overlap.mat-badge-before .mat-badge-content{left:-8px}[dir=rtl] .mat-badge-small.mat-badge-overlap.mat-badge-before .mat-badge-content{left:auto;right:-8px}.mat-badge-small.mat-badge-overlap.mat-badge-after .mat-badge-content{right:-8px}[dir=rtl] .mat-badge-small.mat-badge-overlap.mat-badge-after .mat-badge-content{right:auto;left:-8px}.mat-badge-medium .mat-badge-content{width:22px;height:22px;line-height:22px}.mat-badge-medium.mat-badge-above .mat-badge-content{top:-11px}.mat-badge-medium.mat-badge-below .mat-badge-content{bottom:-11px}.mat-badge-medium.mat-badge-before .mat-badge-content{left:-22px}[dir=rtl] .mat-badge-medium.mat-badge-before .mat-badge-content{left:auto;right:-22px}.mat-badge-medium.mat-badge-after .mat-badge-content{right:-22px}[dir=rtl] .mat-badge-medium.mat-badge-after .mat-badge-content{right:auto;left:-22px}.mat-badge-medium.mat-badge-overlap.mat-badge-before .mat-badge-content{left:-11px}[dir=rtl] .mat-badge-medium.mat-badge-overlap.mat-badge-before .mat-badge-content{left:auto;right:-11px}.mat-badge-medium.mat-badge-overlap.mat-badge-after .mat-badge-content{right:-11px}[dir=rtl] .mat-badge-medium.mat-badge-overlap.mat-badge-after .mat-badge-content{right:auto;left:-11px}.mat-badge-large .mat-badge-content{width:28px;height:28px;line-height:28px;font-size:24px;font-size:var(--mat-badge-large-size-text-size, 24px)}.mat-badge-large.mat-badge-above .mat-badge-content{top:-14px}.mat-badge-large.mat-badge-below .mat-badge-content{bottom:-14px}.mat-badge-large.mat-badge-before .mat-badge-content{left:-28px}[dir=rtl] .mat-badge-large.mat-badge-before .mat-badge-content{left:auto;right:-28px}.mat-badge-large.mat-badge-after .mat-badge-content{right:-28px}[dir=rtl] .mat-badge-large.mat-badge-after .mat-badge-content{right:auto;left:-28px}.mat-badge-large.mat-badge-overlap.mat-badge-before .mat-badge-content{left:-14px}[dir=rtl] .mat-badge-large.mat-badge-overlap.mat-badge-before .mat-badge-content{left:auto;right:-14px}.mat-badge-large.mat-badge-overlap.mat-badge-after .mat-badge-content{right:-14px}[dir=rtl] .mat-badge-large.mat-badge-overlap.mat-badge-after .mat-badge-content{right:auto;left:-14px}html{--mat-badge-background-color: #3f51b5;--mat-badge-text-color: white;--mat-badge-disabled-state-background-color: #b9b9b9;--mat-badge-disabled-state-text-color: rgba(0, 0, 0, .38)}.mat-badge-accent{--mat-badge-background-color: #ff4081;--mat-badge-text-color: white}.mat-badge-warn{--mat-badge-background-color: #f44336;--mat-badge-text-color: white}html{--mat-badge-text-font: Roboto, sans-serif;--mat-badge-text-size: 12px;--mat-badge-text-weight: 600;--mat-badge-small-size-text-size: 9px;--mat-badge-large-size-text-size: 24px}html{--mat-bottom-sheet-container-text-color: rgba(0, 0, 0, .87);--mat-bottom-sheet-container-background-color: white}html{--mat-bottom-sheet-container-text-font: Roboto, sans-serif;--mat-bottom-sheet-container-text-line-height: 20px;--mat-bottom-sheet-container-text-size: 14px;--mat-bottom-sheet-container-text-tracking: .0178571429em;--mat-bottom-sheet-container-text-weight: 400}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-text-font: Roboto, sans-serif;--mat-standard-button-toggle-text-font: Roboto, sans-serif}html{--mat-datepicker-calendar-date-selected-state-text-color: white;--mat-datepicker-calendar-date-selected-state-background-color: #3f51b5;--mat-datepicker-calendar-date-selected-disabled-state-background-color: rgba(63, 81, 181, .4);--mat-datepicker-calendar-date-today-selected-state-outline-color: white;--mat-datepicker-calendar-date-focus-state-background-color: rgba(63, 81, 181, .3);--mat-datepicker-calendar-date-hover-state-background-color: rgba(63, 81, 181, .3);--mat-datepicker-toggle-active-state-icon-color: #3f51b5;--mat-datepicker-calendar-date-in-range-state-background-color: rgba(63, 81, 181, .2);--mat-datepicker-calendar-date-in-comparison-range-state-background-color: rgba(249, 171, 0, .2);--mat-datepicker-calendar-date-in-overlap-range-state-background-color: #a8dab5;--mat-datepicker-calendar-date-in-overlap-range-selected-state-background-color: #46a35e;--mat-datepicker-toggle-icon-color: rgba(0, 0, 0, .54);--mat-datepicker-calendar-body-label-text-color: rgba(0, 0, 0, .54);--mat-datepicker-calendar-period-button-icon-color: rgba(0, 0, 0, .54);--mat-datepicker-calendar-navigation-button-icon-color: rgba(0, 0, 0, .54);--mat-datepicker-calendar-header-divider-color: rgba(0, 0, 0, .12);--mat-datepicker-calendar-header-text-color: rgba(0, 0, 0, .54);--mat-datepicker-calendar-date-today-outline-color: rgba(0, 0, 0, .38);--mat-datepicker-calendar-date-today-disabled-state-outline-color: rgba(0, 0, 0, .18);--mat-datepicker-calendar-date-text-color: rgba(0, 0, 0, .87);--mat-datepicker-calendar-date-outline-color: transparent;--mat-datepicker-calendar-date-disabled-state-text-color: rgba(0, 0, 0, .38);--mat-datepicker-calendar-date-preview-state-outline-color: rgba(0, 0, 0, .24);--mat-datepicker-range-input-separator-color: rgba(0, 0, 0, .87);--mat-datepicker-range-input-disabled-state-separator-color: rgba(0, 0, 0, .38);--mat-datepicker-range-input-disabled-state-text-color: rgba(0, 0, 0, .38);--mat-datepicker-calendar-container-background-color: white;--mat-datepicker-calendar-container-text-color: rgba(0, 0, 0, .87)}.mat-datepicker-content.mat-accent{--mat-datepicker-calendar-date-selected-state-text-color: white;--mat-datepicker-calendar-date-selected-state-background-color: #ff4081;--mat-datepicker-calendar-date-selected-disabled-state-background-color: rgba(255, 64, 129, .4);--mat-datepicker-calendar-date-today-selected-state-outline-color: white;--mat-datepicker-calendar-date-focus-state-background-color: rgba(255, 64, 129, .3);--mat-datepicker-calendar-date-hover-state-background-color: rgba(255, 64, 129, .3);--mat-datepicker-calendar-date-in-range-state-background-color: rgba(255, 64, 129, .2);--mat-datepicker-calendar-date-in-comparison-range-state-background-color: rgba(249, 171, 0, .2);--mat-datepicker-calendar-date-in-overlap-range-state-background-color: #a8dab5;--mat-datepicker-calendar-date-in-overlap-range-selected-state-background-color: #46a35e}.mat-datepicker-content.mat-warn{--mat-datepicker-calendar-date-selected-state-text-color: white;--mat-datepicker-calendar-date-selected-state-background-color: #f44336;--mat-datepicker-calendar-date-selected-disabled-state-background-color: rgba(244, 67, 54, .4);--mat-datepicker-calendar-date-today-selected-state-outline-color: white;--mat-datepicker-calendar-date-focus-state-background-color: rgba(244, 67, 54, .3);--mat-datepicker-calendar-date-hover-state-background-color: rgba(244, 67, 54, .3);--mat-datepicker-calendar-date-in-range-state-background-color: rgba(244, 67, 54, .2);--mat-datepicker-calendar-date-in-comparison-range-state-background-color: rgba(249, 171, 0, .2);--mat-datepicker-calendar-date-in-overlap-range-state-background-color: #a8dab5;--mat-datepicker-calendar-date-in-overlap-range-selected-state-background-color: #46a35e}.mat-datepicker-toggle-active.mat-accent{--mat-datepicker-toggle-active-state-icon-color: #ff4081}.mat-datepicker-toggle-active.mat-warn{--mat-datepicker-toggle-active-state-icon-color: #f44336}.mat-calendar-controls .mat-mdc-icon-button.mat-mdc-button-base{--mdc-icon-button-state-layer-size: 40px;width:var(--mdc-icon-button-state-layer-size);height:var(--mdc-icon-button-state-layer-size);padding:8px}.mat-calendar-controls .mat-mdc-icon-button.mat-mdc-button-base .mat-mdc-button-touch-target{display:none}html{--mat-datepicker-calendar-text-font: Roboto, sans-serif;--mat-datepicker-calendar-text-size: 13px;--mat-datepicker-calendar-body-label-text-size: 14px;--mat-datepicker-calendar-body-label-text-weight: 500;--mat-datepicker-calendar-period-button-text-size: 14px;--mat-datepicker-calendar-period-button-text-weight: 500;--mat-datepicker-calendar-header-text-size: 11px;--mat-datepicker-calendar-header-text-weight: 400}html{--mat-divider-color: rgba(0, 0, 0, .12)}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: Roboto, sans-serif;--mat-expansion-header-text-size: 14px;--mat-expansion-header-text-weight: 500;--mat-expansion-header-text-line-height: inherit;--mat-expansion-header-text-tracking: inherit;--mat-expansion-container-text-font: Roboto, sans-serif;--mat-expansion-container-text-line-height: 20px;--mat-expansion-container-text-size: 14px;--mat-expansion-container-text-tracking: .0178571429em;--mat-expansion-container-text-weight: 400}html{--mat-grid-list-tile-header-primary-text-size: 14px;--mat-grid-list-tile-header-secondary-text-size: 12px;--mat-grid-list-tile-footer-primary-text-size: 14px;--mat-grid-list-tile-footer-secondary-text-size: 12px}html{--mat-icon-color: inherit}.mat-icon.mat-primary{--mat-icon-color: #3f51b5}.mat-icon.mat-accent{--mat-icon-color: #ff4081}.mat-icon.mat-warn{--mat-icon-color: #f44336}html{--mat-sidenav-container-divider-color: rgba(0, 0, 0, .12);--mat-sidenav-container-background-color: white;--mat-sidenav-container-text-color: rgba(0, 0, 0, .87);--mat-sidenav-content-background-color: #fafafa;--mat-sidenav-content-text-color: rgba(0, 0, 0, .87);--mat-sidenav-scrim-color: rgba(0, 0, 0, .6)}html{--mat-stepper-header-icon-foreground-color: white;--mat-stepper-header-selected-state-icon-background-color: #3f51b5;--mat-stepper-header-selected-state-icon-foreground-color: white;--mat-stepper-header-done-state-icon-background-color: #3f51b5;--mat-stepper-header-done-state-icon-foreground-color: white;--mat-stepper-header-edit-state-icon-background-color: #3f51b5;--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: #ff4081;--mat-stepper-header-selected-state-icon-foreground-color: white;--mat-stepper-header-done-state-icon-background-color: #ff4081;--mat-stepper-header-done-state-icon-foreground-color: white;--mat-stepper-header-edit-state-icon-background-color: #ff4081;--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: Roboto, sans-serif;--mat-stepper-header-label-text-font: Roboto, sans-serif;--mat-stepper-header-label-text-size: 14px;--mat-stepper-header-label-text-weight: 400;--mat-stepper-header-error-state-label-text-size: 16px;--mat-stepper-header-selected-state-label-text-size: 16px;--mat-stepper-header-selected-state-label-text-weight: 400}.mat-sort-header-arrow{color:#757575}html{--mat-toolbar-container-background-color: whitesmoke;--mat-toolbar-container-text-color: rgba(0, 0, 0, .87)}.mat-toolbar.mat-primary{--mat-toolbar-container-background-color: #3f51b5;--mat-toolbar-container-text-color: white}.mat-toolbar.mat-accent{--mat-toolbar-container-background-color: #ff4081;--mat-toolbar-container-text-color: white}.mat-toolbar.mat-warn{--mat-toolbar-container-background-color: #f44336;--mat-toolbar-container-text-color: white}html{--mat-toolbar-standard-height: 64px;--mat-toolbar-mobile-height: 56px}html{--mat-toolbar-title-text-font: Roboto, sans-serif;--mat-toolbar-title-text-line-height: 32px;--mat-toolbar-title-text-size: 20px;--mat-toolbar-title-text-tracking: .0125em;--mat-toolbar-title-text-weight: 500}.mat-tree{background:white}.mat-tree-node,.mat-nested-tree-node{color:#000000de}.mat-tree-node{min-height:48px}.mat-tree{font-family:Roboto,sans-serif}.mat-tree-node,.mat-nested-tree-node{font-weight:400;font-size:14px}html{--mtx-alert-background-color: white;--mtx-alert-text-color: rgba(0, 0, 0, .87);--mtx-alert-info-background-color: #2196f3;--mtx-alert-info-text-color: white;--mtx-alert-success-background-color: #4caf50;--mtx-alert-success-text-color: white;--mtx-alert-warning-background-color: #ff9800;--mtx-alert-warning-text-color: white;--mtx-alert-danger-background-color: #f44336;--mtx-alert-danger-text-color: white}html{--mtx-colorpicker-toggle-active-state-icon-color: #3f51b5;--mtx-colorpicker-toggle-icon-color: rgba(0, 0, 0, .54)}.mtx-colorpicker-toggle-active.mat-accent{--mtx-colorpicker-toggle-active-state-icon-color: #ff4081}.mtx-colorpicker-toggle-active.mat-warn{--mtx-colorpicker-toggle-active-state-icon-color: #f44336}html{--mtx-datetimepicker-calendar-header-background-color: #3f51b5;--mtx-datetimepicker-calendar-date-selected-state-text-color: white;--mtx-datetimepicker-calendar-date-selected-state-background-color: #3f51b5;--mtx-datetimepicker-calendar-date-selected-disabled-state-background-color: rgba(63, 81, 181, .4);--mtx-datetimepicker-calendar-date-today-selected-state-outline-color: white;--mtx-datetimepicker-calendar-date-focus-state-background-color: rgba(63, 81, 181, .3);--mtx-datetimepicker-calendar-date-hover-state-background-color: rgba(63, 81, 181, .3);--mtx-datetimepicker-clock-hand-background-color: #3f51b5;--mtx-datetimepicker-clock-cell-selected-state-background-color: #3f51b5;--mtx-datetimepicker-time-input-active-state-text-color: #3f51b5;--mtx-datetimepicker-time-input-active-state-background-color: rgba(63, 81, 181, .2);--mtx-datetimepicker-time-input-focus-state-border-color: #3f51b5;--mtx-datetimepicker-time-input-focus-state-placeholder-text-color: rgba(63, 81, 181, .6);--mtx-datetimepicker-toggle-active-state-icon-color: #3f51b5;--mtx-datetimepicker-toggle-icon-color: rgba(0, 0, 0, .54);--mtx-datetimepicker-calendar-body-label-text-color: rgba(0, 0, 0, .54);--mtx-datetimepicker-calendar-header-text-color: white;--mtx-datetimepicker-calendar-header-divider-color: rgba(0, 0, 0, .12);--mtx-datetimepicker-calendar-table-header-text-color: rgba(0, 0, 0, .54);--mtx-datetimepicker-calendar-date-today-outline-color: rgba(0, 0, 0, .38);--mtx-datetimepicker-calendar-date-text-color: rgba(0, 0, 0, .87);--mtx-datetimepicker-calendar-date-outline-color: transparent;--mtx-datetimepicker-calendar-date-disabled-state-text-color: rgba(0, 0, 0, .38);--mtx-datetimepicker-calendar-container-background-color: white;--mtx-datetimepicker-calendar-container-text-color: rgba(0, 0, 0, .87);--mtx-datetimepicker-clock-dial-background-color: rgba(0, 0, 0, .12);--mtx-datetimepicker-clock-cell-text-color: rgba(0, 0, 0, .87);--mtx-datetimepicker-clock-cell-hover-state-background-color: rgba(0, 0, 0, .04);--mtx-datetimepicker-clock-cell-disabled-state-text-color: rgba(0, 0, 0, .38);--mtx-datetimepicker-time-input-text-color: rgba(0, 0, 0, .87);--mtx-datetimepicker-time-input-background-color: rgba(0, 0, 0, .12);--mtx-datetimepicker-time-input-focus-state-background-color: #fafafa;--mtx-datetimepicker-time-input-warn-state-border-color: #f44336;--mtx-datetimepicker-time-ampm-text-color: rgba(0, 0, 0, .75);--mtx-datetimepicker-time-ampm-border-color: rgba(0, 0, 0, .38);--mtx-datetimepicker-time-ampm-selected-state-text-color: rgba(0, 0, 0, .87);--mtx-datetimepicker-time-ampm-selected-state-background-color: rgba(255, 64, 129, .2)}.mtx-datetimepicker-content.mat-accent{--mtx-datetimepicker-calendar-header-background-color: #ff4081;--mtx-datetimepicker-calendar-date-selected-state-text-color: white;--mtx-datetimepicker-calendar-date-selected-state-background-color: #ff4081;--mtx-datetimepicker-calendar-date-selected-disabled-state-background-color: rgba(255, 64, 129, .4);--mtx-datetimepicker-calendar-date-today-selected-state-outline-color: white;--mtx-datetimepicker-calendar-date-focus-state-background-color: rgba(255, 64, 129, .3);--mtx-datetimepicker-calendar-date-hover-state-background-color: rgba(255, 64, 129, .3);--mtx-datetimepicker-clock-hand-background-color: #ff4081;--mtx-datetimepicker-clock-cell-selected-state-background-color: #ff4081;--mtx-datetimepicker-time-input-active-state-text-color: #ff4081;--mtx-datetimepicker-time-input-active-state-background-color: rgba(255, 64, 129, .2);--mtx-datetimepicker-time-input-focus-state-border-color: #ff4081;--mtx-datetimepicker-time-input-focus-state-placeholder-text-color: rgba(255, 64, 129, .6)}.mtx-datetimepicker-content.mat-warn{--mtx-datetimepicker-calendar-header-background-color: #f44336;--mtx-datetimepicker-calendar-date-selected-state-text-color: white;--mtx-datetimepicker-calendar-date-selected-state-background-color: #f44336;--mtx-datetimepicker-calendar-date-selected-disabled-state-background-color: rgba(244, 67, 54, .4);--mtx-datetimepicker-calendar-date-today-selected-state-outline-color: white;--mtx-datetimepicker-calendar-date-focus-state-background-color: rgba(244, 67, 54, .3);--mtx-datetimepicker-calendar-date-hover-state-background-color: rgba(244, 67, 54, .3);--mtx-datetimepicker-clock-hand-background-color: #f44336;--mtx-datetimepicker-clock-cell-selected-state-background-color: #f44336;--mtx-datetimepicker-time-input-active-state-text-color: #f44336;--mtx-datetimepicker-time-input-active-state-background-color: rgba(244, 67, 54, .2);--mtx-datetimepicker-time-input-focus-state-border-color: #f44336;--mtx-datetimepicker-time-input-focus-state-placeholder-text-color: rgba(244, 67, 54, .6)}.mtx-datetimepicker-toggle-active.mat-accent{--mtx-datetimepicker-toggle-active-state-icon-color: #ff4081}.mtx-datetimepicker-toggle-active.mat-warn{--mtx-datetimepicker-toggle-active-state-icon-color: #f44336}html{--mtx-datetimepicker-calendar-text-font: Roboto, sans-serif;--mtx-datetimepicker-calendar-text-size: 13px;--mtx-datetimepicker-calendar-body-label-text-size: 14px;--mtx-datetimepicker-calendar-body-label-text-weight: 500;--mtx-datetimepicker-calendar-period-button-text-size: 14px;--mtx-datetimepicker-calendar-period-button-text-weight: 500;--mtx-datetimepicker-calendar-table-header-text-size: 11px;--mtx-datetimepicker-calendar-table-header-text-weight: 400;--mtx-datetimepicker-clock-text-size: 14px}html{--mtx-drawer-container-background-color: white;--mtx-drawer-container-text-color: rgba(0, 0, 0, .87)}html{--mtx-grid-outline-color: rgba(0, 0, 0, .2);--mtx-grid-column-menu-text-color: rgba(0, 0, 0, .87);--mtx-grid-column-menu-divider-color: rgba(0, 0, 0, .12);--mtx-grid-table-footer-background-color: whitesmoke;--mtx-grid-table-row-striped-background-color: #f5f5f5;--mtx-grid-table-row-hover-background-color: #e5e5e5;--mtx-grid-table-row-selected-background-color: #e5e5e5;--mtx-grid-table-cell-selected-outline-color: #ff4081}.mat-column-resize-table.cdk-column-resize-with-resized-column{table-layout:fixed}.mat-column-resize-flex .mat-mdc-header-cell,.mat-column-resize-flex .mat-mdc-cell{box-sizing:border-box;min-width:32px}.mat-mdc-header-cell{position:relative}.mat-resizable{box-sizing:border-box}.mat-mdc-header-cell:not(.mat-resizable):after,.mat-resizable-handle{position:absolute;bottom:0;top:0;right:0;width:1px;background:transparent;transition:background .3s cubic-bezier(.55,0,.55,.2)}.mat-mdc-header-cell:not(.mat-resizable):after{content:""}[dir=rtl] .mat-mdc-header-cell:not(.mat-resizable):after,[dir=rtl] .mat-resizable-handle{left:0;right:auto}.mat-mdc-header-row.cdk-column-resize-hover-or-active .mat-mdc-header-cell:not(.mat-resizable):after{background:rgba(0,0,0,.12)}.mat-mdc-header-row.cdk-column-resize-hover-or-active .mat-resizable-handle{background:#9fa8da}.mat-resizable.cdk-resizable-overlay-thumb-active>.mat-resizable-handle{opacity:0;transition:none}.mat-resizable-handle:focus,.mat-mdc-header-row.cdk-column-resize-hover-or-active .mat-resizable-handle:focus{background:#3f51b5;outline:none}.mat-column-resize-overlay-thumb{background:transparent;cursor:col-resize;height:100%;transition:background .3s cubic-bezier(.55,0,.55,.2);width:100%;-webkit-user-select:none;user-select:none}.mat-column-resize-overlay-thumb:active{background:linear-gradient(90deg,transparent,transparent 7px,#3f51b5,#3f51b5 1px,transparent 8px,transparent);will-change:transform}html{--mtx-loader-backdrop-background-color: rgba(250, 250, 250, .75)}html{--mtx-popover-background-color: white;--mtx-popover-text-color: rgba(0, 0, 0, .87);--mtx-popover-arrow-outline-color: rgba(0, 0, 0, .12)}html{--mtx-progress-track-color: rgba(0, 0, 0, .04);--mtx-progress-indicator-color: rgba(0, 0, 0, .12);--mtx-progress-text-color: rgba(0, 0, 0, .87);--mtx-progress-info-indicator-color: #2196f3;--mtx-progress-info-text-color: white;--mtx-progress-success-indicator-color: #4caf50;--mtx-progress-success-text-color: white;--mtx-progress-warning-indicator-color: #ff9800;--mtx-progress-warning-text-color: white;--mtx-progress-danger-indicator-color: #f44336;--mtx-progress-danger-text-color: white}html{--mtx-select-option-selected-state-text-color: #3f51b5;--mtx-select-container-text-color: rgba(0, 0, 0, .87);--mtx-select-placeholder-text-color: rgba(0, 0, 0, .38);--mtx-select-disabled-text-color: rgba(0, 0, 0, .38);--mtx-select-multiple-value-background-color: #e0e0e0;--mtx-select-multiple-value-border-color: rgba(0, 0, 0, .12);--mtx-select-multiple-value-icon-hover-background-color: rgba(0, 0, 0, .12);--mtx-select-clear-icon-color: rgba(0, 0, 0, .54);--mtx-select-clear-icon-hover-color: #f44336;--mtx-select-enabled-arrow-color: rgba(0, 0, 0, .54);--mtx-select-disabled-arrow-color: rgba(0, 0, 0, .38);--mtx-select-invalid-arrow-color: #f44336;--mtx-select-panel-background-color: white;--mtx-select-panel-divider-color: rgba(0, 0, 0, .12);--mtx-select-optgroup-label-text-color: rgba(0, 0, 0, .54);--mtx-select-option-label-text-color: rgba(0, 0, 0, .87);--mtx-select-option-selected-state-background-color: rgba(0, 0, 0, .04);--mtx-select-option-hover-state-background-color: rgba(0, 0, 0, .04);--mtx-select-option-disabled-state-text-color: rgba(0, 0, 0, .38)}.ng-dropdown-panel.mat-accent{--mtx-select-option-selected-state-text-color: #ff4081}.ng-dropdown-panel.mat-warn{--mtx-select-option-selected-state-text-color: #f44336}.mdc-text-field--outlined .ng-select{padding-top:16px;padding-bottom:16px;margin-top:-16px;margin-bottom:-16px}.ng-select{padding-top:24px;padding-bottom:8px;margin-top:-24px;margin-bottom:-8px}.mdc-text-field--no-label .ng-select{padding-top:16px;padding-bottom:16px;margin-top:-16px;margin-bottom:-16px}html{--mtx-split-gutter-hover-state-background-color: #3f51b5;--mtx-split-gutter-background-color: rgba(0, 0, 0, .12)}.mtx-split>.mtx-split-gutter.mat-accent:hover{--mtx-split-gutter-hover-state-background-color: #ff4081}.mtx-split>.mtx-split-gutter.mat-warn:hover{--mtx-split-gutter-hover-state-background-color: #f44336}.mtx-mdc-tooltip{--mdc-plain-tooltip-container-color: #616161;--mdc-plain-tooltip-supporting-text-color: #fff}.mtx-mdc-tooltip{--mdc-plain-tooltip-supporting-text-font: Roboto, sans-serif;--mdc-plain-tooltip-supporting-text-size: 12px;--mdc-plain-tooltip-supporting-text-weight: 400;--mdc-plain-tooltip-supporting-text-tracking: .0333333333em} diff --git a/styles.e8ca5b032d5b33cf.css b/styles.e8ca5b032d5b33cf.css new file mode 100644 index 0000000..0999de6 --- /dev/null +++ b/styles.e8ca5b032d5b33cf.css @@ -0,0 +1 @@ +:root{--bg-color: white;--bg-translucent-color: rgba(255, 255, 255, .9);--bg-secondary-color: rgba(240, 240, 240, 1);--fg-color: rgba(85, 85, 90, 1);--fg-secondary-color: rgba(85, 85, 90, .7);--border-color: rgba(0, 0, 0, .1);--heading-color: rgba(50, 50, 55, 1);--console-color: rgba(0, 0, 0, .4);--console-bg-color: rgba(0, 0, 0, .04);--a-color: rgba(65, 105, 190, 1);--hl-keyword: rgb(85, 140, 180);--hl-string: rgb(115, 105, 175);--hl-number: rgb(50, 160, 85);--hl-comment: rgba(100, 100, 100);--hl-title: rgb(165, 120, 20);--mat-standard-button-toggle-height: 32px}*,*:before,*:after{box-sizing:border-box}body{padding:0;margin:0;color:var(--fg-color);background-color:var(--bg-color);line-height:1.5;font-family:system-ui,-apple-system,Helvetica Neue,sans-serif}h1,h2,h3,h4,h5,h6,h1 a,h2 a,h3 a,h4 a,h5 a,h6 a{color:var(--heading-color)}a{color:var(--a-color);text-decoration:none}a:hover{text-decoration:underline}code,kbd,pre,samp{font-family:Roboto Mono,monospace}pre{padding:32px;border-radius:8px;background-color:var(--bg-secondary-color);line-height:1.2;overflow:auto}pre code{display:inline;padding:0}@media (width < 600px){pre{padding:16px}}code{display:inline-block;padding:0 4px;font-size:.75rem;word-wrap:break-word;background-color:var(--bg-secondary-color);border-radius:4px}table{width:100%;caption-side:bottom;border-collapse:collapse}table th,table td{padding:8px;border:1px solid var(--border-color)}.gui-form{display:block;background-color:var(--bg-color);box-shadow:0 2px 4px #0003;border-radius:4px}.gui-form .mat-expansion-panel{border-radius:4px}.hljs-keyword{color:var(--hl-keyword)}.hljs-number{color:var(--hl-number)}.hljs-string{color:var(--hl-string)}.hljs-comment,.hljs-quote{color:var(--hl-comment)}.hljs-title{color:var(--hl-title)}.mat-button-loading .mdc-button__label,.mat-button-loading .mat-icon{visibility:hidden}.mat-button-loading .mat-mdc-progress-spinner{position:absolute;top:calc(50% - 12px);left:calc(50% - 12px)}.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)}.cdk-high-contrast-active .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:rgba(0,0,0,.32)}.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-ripple-element{background-color:#0000001a}html{--mat-option-selected-state-label-text-color: #3f51b5;--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: #ff4081}.mat-warn{--mat-option-selected-state-label-text-color: #f44336}html{--mat-optgroup-label-text-color: rgba(0, 0, 0, .87)}.mat-pseudo-checkbox-full{color:#0000008a}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-disabled{color:#b0b0b0}.mat-primary .mat-pseudo-checkbox-checked.mat-pseudo-checkbox-minimal:after,.mat-primary .mat-pseudo-checkbox-indeterminate.mat-pseudo-checkbox-minimal:after{color:#3f51b5}.mat-primary .mat-pseudo-checkbox-checked.mat-pseudo-checkbox-full,.mat-primary .mat-pseudo-checkbox-indeterminate.mat-pseudo-checkbox-full{background:#3f51b5}.mat-primary .mat-pseudo-checkbox-checked.mat-pseudo-checkbox-full:after,.mat-primary .mat-pseudo-checkbox-indeterminate.mat-pseudo-checkbox-full:after{color:#fafafa}.mat-pseudo-checkbox-checked.mat-pseudo-checkbox-minimal:after,.mat-pseudo-checkbox-indeterminate.mat-pseudo-checkbox-minimal:after{color:#ff4081}.mat-pseudo-checkbox-checked.mat-pseudo-checkbox-full,.mat-pseudo-checkbox-indeterminate.mat-pseudo-checkbox-full{background:#ff4081}.mat-pseudo-checkbox-checked.mat-pseudo-checkbox-full:after,.mat-pseudo-checkbox-indeterminate.mat-pseudo-checkbox-full:after{color:#fafafa}.mat-accent .mat-pseudo-checkbox-checked.mat-pseudo-checkbox-minimal:after,.mat-accent .mat-pseudo-checkbox-indeterminate.mat-pseudo-checkbox-minimal:after{color:#ff4081}.mat-accent .mat-pseudo-checkbox-checked.mat-pseudo-checkbox-full,.mat-accent .mat-pseudo-checkbox-indeterminate.mat-pseudo-checkbox-full{background:#ff4081}.mat-accent .mat-pseudo-checkbox-checked.mat-pseudo-checkbox-full:after,.mat-accent .mat-pseudo-checkbox-indeterminate.mat-pseudo-checkbox-full:after{color:#fafafa}.mat-warn .mat-pseudo-checkbox-checked.mat-pseudo-checkbox-minimal:after,.mat-warn .mat-pseudo-checkbox-indeterminate.mat-pseudo-checkbox-minimal:after{color:#f44336}.mat-warn .mat-pseudo-checkbox-checked.mat-pseudo-checkbox-full,.mat-warn .mat-pseudo-checkbox-indeterminate.mat-pseudo-checkbox-full{background:#f44336}.mat-warn .mat-pseudo-checkbox-checked.mat-pseudo-checkbox-full:after,.mat-warn .mat-pseudo-checkbox-indeterminate.mat-pseudo-checkbox-full:after{color:#fafafa}.mat-pseudo-checkbox-disabled.mat-pseudo-checkbox-checked.mat-pseudo-checkbox-minimal:after,.mat-pseudo-checkbox-disabled.mat-pseudo-checkbox-indeterminate.mat-pseudo-checkbox-minimal:after{color:#b0b0b0}.mat-pseudo-checkbox-disabled.mat-pseudo-checkbox-checked.mat-pseudo-checkbox-full,.mat-pseudo-checkbox-disabled.mat-pseudo-checkbox-indeterminate.mat-pseudo-checkbox-full{background:#b0b0b0}.mat-app-background{background-color:#fafafa;color:#000000de}.mat-elevation-z0,.mat-mdc-elevation-specific.mat-elevation-z0{box-shadow:0 0 #0003,0 0 #00000024,0 0 #0000001f}.mat-elevation-z1,.mat-mdc-elevation-specific.mat-elevation-z1{box-shadow:0 2px 1px -1px #0003,0 1px 1px #00000024,0 1px 3px #0000001f}.mat-elevation-z2,.mat-mdc-elevation-specific.mat-elevation-z2{box-shadow:0 3px 1px -2px #0003,0 2px 2px #00000024,0 1px 5px #0000001f}.mat-elevation-z3,.mat-mdc-elevation-specific.mat-elevation-z3{box-shadow:0 3px 3px -2px #0003,0 3px 4px #00000024,0 1px 8px #0000001f}.mat-elevation-z4,.mat-mdc-elevation-specific.mat-elevation-z4{box-shadow:0 2px 4px -1px #0003,0 4px 5px #00000024,0 1px 10px #0000001f}.mat-elevation-z5,.mat-mdc-elevation-specific.mat-elevation-z5{box-shadow:0 3px 5px -1px #0003,0 5px 8px #00000024,0 1px 14px #0000001f}.mat-elevation-z6,.mat-mdc-elevation-specific.mat-elevation-z6{box-shadow:0 3px 5px -1px #0003,0 6px 10px #00000024,0 1px 18px #0000001f}.mat-elevation-z7,.mat-mdc-elevation-specific.mat-elevation-z7{box-shadow:0 4px 5px -2px #0003,0 7px 10px 1px #00000024,0 2px 16px 1px #0000001f}.mat-elevation-z8,.mat-mdc-elevation-specific.mat-elevation-z8{box-shadow:0 5px 5px -3px #0003,0 8px 10px 1px #00000024,0 3px 14px 2px #0000001f}.mat-elevation-z9,.mat-mdc-elevation-specific.mat-elevation-z9{box-shadow:0 5px 6px -3px #0003,0 9px 12px 1px #00000024,0 3px 16px 2px #0000001f}.mat-elevation-z10,.mat-mdc-elevation-specific.mat-elevation-z10{box-shadow:0 6px 6px -3px #0003,0 10px 14px 1px #00000024,0 4px 18px 3px #0000001f}.mat-elevation-z11,.mat-mdc-elevation-specific.mat-elevation-z11{box-shadow:0 6px 7px -4px #0003,0 11px 15px 1px #00000024,0 4px 20px 3px #0000001f}.mat-elevation-z12,.mat-mdc-elevation-specific.mat-elevation-z12{box-shadow:0 7px 8px -4px #0003,0 12px 17px 2px #00000024,0 5px 22px 4px #0000001f}.mat-elevation-z13,.mat-mdc-elevation-specific.mat-elevation-z13{box-shadow:0 7px 8px -4px #0003,0 13px 19px 2px #00000024,0 5px 24px 4px #0000001f}.mat-elevation-z14,.mat-mdc-elevation-specific.mat-elevation-z14{box-shadow:0 7px 9px -4px #0003,0 14px 21px 2px #00000024,0 5px 26px 4px #0000001f}.mat-elevation-z15,.mat-mdc-elevation-specific.mat-elevation-z15{box-shadow:0 8px 9px -5px #0003,0 15px 22px 2px #00000024,0 6px 28px 5px #0000001f}.mat-elevation-z16,.mat-mdc-elevation-specific.mat-elevation-z16{box-shadow:0 8px 10px -5px #0003,0 16px 24px 2px #00000024,0 6px 30px 5px #0000001f}.mat-elevation-z17,.mat-mdc-elevation-specific.mat-elevation-z17{box-shadow:0 8px 11px -5px #0003,0 17px 26px 2px #00000024,0 6px 32px 5px #0000001f}.mat-elevation-z18,.mat-mdc-elevation-specific.mat-elevation-z18{box-shadow:0 9px 11px -5px #0003,0 18px 28px 2px #00000024,0 7px 34px 6px #0000001f}.mat-elevation-z19,.mat-mdc-elevation-specific.mat-elevation-z19{box-shadow:0 9px 12px -6px #0003,0 19px 29px 2px #00000024,0 7px 36px 6px #0000001f}.mat-elevation-z20,.mat-mdc-elevation-specific.mat-elevation-z20{box-shadow:0 10px 13px -6px #0003,0 20px 31px 3px #00000024,0 8px 38px 7px #0000001f}.mat-elevation-z21,.mat-mdc-elevation-specific.mat-elevation-z21{box-shadow:0 10px 13px -6px #0003,0 21px 33px 3px #00000024,0 8px 40px 7px #0000001f}.mat-elevation-z22,.mat-mdc-elevation-specific.mat-elevation-z22{box-shadow:0 10px 14px -6px #0003,0 22px 35px 3px #00000024,0 8px 42px 7px #0000001f}.mat-elevation-z23,.mat-mdc-elevation-specific.mat-elevation-z23{box-shadow:0 11px 14px -7px #0003,0 23px 36px 3px #00000024,0 9px 44px 8px #0000001f}.mat-elevation-z24,.mat-mdc-elevation-specific.mat-elevation-z24{box-shadow:0 11px 15px -7px #0003,0 24px 38px 3px #00000024,0 9px 46px 8px #0000001f}.mat-theme-loaded-marker{display:none}html{--mat-option-label-text-font: Roboto, sans-serif;--mat-option-label-text-line-height: 24px;--mat-option-label-text-size: 16px;--mat-option-label-text-tracking: .03125em;--mat-option-label-text-weight: 400}html{--mat-optgroup-label-text-font: Roboto, sans-serif;--mat-optgroup-label-text-line-height: 24px;--mat-optgroup-label-text-size: 16px;--mat-optgroup-label-text-tracking: .03125em;--mat-optgroup-label-text-weight: 400}.mat-mdc-card{--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)}.mat-mdc-card{--mat-card-title-text-font: Roboto, sans-serif;--mat-card-title-text-line-height: 32px;--mat-card-title-text-size: 20px;--mat-card-title-text-tracking: .0125em;--mat-card-title-text-weight: 500;--mat-card-subtitle-text-font: Roboto, sans-serif;--mat-card-subtitle-text-line-height: 22px;--mat-card-subtitle-text-size: 14px;--mat-card-subtitle-text-tracking: .0071428571em;--mat-card-subtitle-text-weight: 500}.mat-mdc-progress-bar{--mdc-linear-progress-active-indicator-color: #3f51b5;--mdc-linear-progress-track-color: rgba(63, 81, 181, .25)}.mat-mdc-progress-bar .mdc-linear-progress__buffer-dots{background-color:#3f51b540;background-color:var(--mdc-linear-progress-track-color, rgba(63, 81, 181, .25))}@media (forced-colors: active){.mat-mdc-progress-bar .mdc-linear-progress__buffer-dots{background-color:ButtonBorder}}@media all and (-ms-high-contrast: none),(-ms-high-contrast: active){.mat-mdc-progress-bar .mdc-linear-progress__buffer-dots{background-color:transparent;background-image:url("data:image/svg+xml,%3Csvg version='1.1' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' x='0px' y='0px' enable-background='new 0 0 5 2' xml:space='preserve' viewBox='0 0 5 2' preserveAspectRatio='none slice'%3E%3Ccircle cx='1' cy='1' r='1' fill='rgba(63, 81, 181, 0.25)'/%3E%3C/svg%3E")}}.mat-mdc-progress-bar .mdc-linear-progress__buffer-bar{background-color:#3f51b540;background-color:var(--mdc-linear-progress-track-color, rgba(63, 81, 181, .25))}.mat-mdc-progress-bar.mat-accent{--mdc-linear-progress-active-indicator-color: #ff4081;--mdc-linear-progress-track-color: rgba(255, 64, 129, .25)}.mat-mdc-progress-bar.mat-accent .mdc-linear-progress__buffer-dots{background-color:#ff408140;background-color:var(--mdc-linear-progress-track-color, rgba(255, 64, 129, .25))}@media (forced-colors: active){.mat-mdc-progress-bar.mat-accent .mdc-linear-progress__buffer-dots{background-color:ButtonBorder}}@media all and (-ms-high-contrast: none),(-ms-high-contrast: active){.mat-mdc-progress-bar.mat-accent .mdc-linear-progress__buffer-dots{background-color:transparent;background-image:url("data:image/svg+xml,%3Csvg version='1.1' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' x='0px' y='0px' enable-background='new 0 0 5 2' xml:space='preserve' viewBox='0 0 5 2' preserveAspectRatio='none slice'%3E%3Ccircle cx='1' cy='1' r='1' fill='rgba(255, 64, 129, 0.25)'/%3E%3C/svg%3E")}}.mat-mdc-progress-bar.mat-accent .mdc-linear-progress__buffer-bar{background-color:#ff408140;background-color:var(--mdc-linear-progress-track-color, rgba(255, 64, 129, .25))}.mat-mdc-progress-bar.mat-warn{--mdc-linear-progress-active-indicator-color: #f44336;--mdc-linear-progress-track-color: rgba(244, 67, 54, .25)}@keyframes mdc-linear-progress-buffering{}.mat-mdc-progress-bar.mat-warn .mdc-linear-progress__buffer-dots{background-color:#f4433640;background-color:var(--mdc-linear-progress-track-color, rgba(244, 67, 54, .25))}@media (forced-colors: active){.mat-mdc-progress-bar.mat-warn .mdc-linear-progress__buffer-dots{background-color:ButtonBorder}}@media all and (-ms-high-contrast: none),(-ms-high-contrast: active){.mat-mdc-progress-bar.mat-warn .mdc-linear-progress__buffer-dots{background-color:transparent;background-image:url("data:image/svg+xml,%3Csvg version='1.1' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' x='0px' y='0px' enable-background='new 0 0 5 2' xml:space='preserve' viewBox='0 0 5 2' preserveAspectRatio='none slice'%3E%3Ccircle cx='1' cy='1' r='1' fill='rgba(244, 67, 54, 0.25)'/%3E%3C/svg%3E")}}.mat-mdc-progress-bar.mat-warn .mdc-linear-progress__buffer-bar{background-color:#f4433640;background-color:var(--mdc-linear-progress-track-color, rgba(244, 67, 54, .25))}.mat-mdc-tooltip{--mdc-plain-tooltip-container-color: #616161;--mdc-plain-tooltip-supporting-text-color: #fff}.mat-mdc-tooltip{--mdc-plain-tooltip-supporting-text-font: Roboto, sans-serif;--mdc-plain-tooltip-supporting-text-size: 12px;--mdc-plain-tooltip-supporting-text-weight: 400;--mdc-plain-tooltip-supporting-text-tracking: .0333333333em}html{--mdc-filled-text-field-caret-color: #3f51b5;--mdc-filled-text-field-focus-active-indicator-color: #3f51b5;--mdc-filled-text-field-focus-label-text-color: rgba(63, 81, 181, .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-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-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: #3f51b5;--mdc-outlined-text-field-focus-outline-color: #3f51b5;--mdc-outlined-text-field-focus-label-text-color: rgba(63, 81, 181, .87);--mdc-outlined-text-field-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-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-disabled-input-text-placeholder-color: rgba(0, 0, 0, .38)}.mat-mdc-form-field-error{color:var(--mdc-theme-error, #f44336)}.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{background-color:#000000de}.mat-mdc-form-field:hover .mat-mdc-form-field-focus-overlay{opacity:.04}.mat-mdc-form-field.mat-focused .mat-mdc-form-field-focus-overlay{opacity:.12}.mat-mdc-form-field-type-mat-native-select .mat-mdc-form-field-infix:after{color:#0000008a}.mat-mdc-form-field-type-mat-native-select.mat-focused.mat-primary .mat-mdc-form-field-infix:after{color:#3f51b5de}.mat-mdc-form-field-type-mat-native-select.mat-focused.mat-accent .mat-mdc-form-field-infix:after{color:#ff4081de}.mat-mdc-form-field-type-mat-native-select.mat-focused.mat-warn .mat-mdc-form-field-infix:after{color:#f44336de}.mat-mdc-form-field-type-mat-native-select.mat-form-field-disabled .mat-mdc-form-field-infix:after{color:#00000061}.mat-mdc-form-field.mat-accent{--mdc-filled-text-field-caret-color: #ff4081;--mdc-filled-text-field-focus-active-indicator-color: #ff4081;--mdc-filled-text-field-focus-label-text-color: rgba(255, 64, 129, .87);--mdc-outlined-text-field-caret-color: #ff4081;--mdc-outlined-text-field-focus-outline-color: #ff4081;--mdc-outlined-text-field-focus-label-text-color: rgba(255, 64, 129, .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-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 transparent}[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 transparent}.mat-mdc-form-field-infix{min-height:56px}.mat-mdc-text-field-wrapper .mat-mdc-form-field-flex .mat-mdc-floating-label{top:28px}.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( -34.75px) scale(var(--mat-mdc-form-field-floating-label-scale, .75));transform:var(--mat-mdc-form-field-label-transform)}.mat-mdc-text-field-wrapper.mdc-text-field--outlined .mat-mdc-form-field-infix{padding-top:16px;padding-bottom:16px}.mat-mdc-text-field-wrapper:not(.mdc-text-field--outlined) .mat-mdc-form-field-infix{padding-top:24px;padding-bottom:8px}.mdc-text-field--no-label:not(.mdc-text-field--outlined):not(.mdc-text-field--textarea) .mat-mdc-form-field-infix{padding-top:16px;padding-bottom:16px}html{--mdc-filled-text-field-label-text-font: Roboto, sans-serif;--mdc-filled-text-field-label-text-size: 16px;--mdc-filled-text-field-label-text-tracking: .03125em;--mdc-filled-text-field-label-text-weight: 400;--mdc-outlined-text-field-label-text-font: Roboto, sans-serif;--mdc-outlined-text-field-label-text-size: 16px;--mdc-outlined-text-field-label-text-tracking: .03125em;--mdc-outlined-text-field-label-text-weight: 400;--mat-form-field-container-text-font: Roboto, sans-serif;--mat-form-field-container-text-line-height: 24px;--mat-form-field-container-text-size: 16px;--mat-form-field-container-text-tracking: .03125em;--mat-form-field-container-text-weight: 400;--mat-form-field-outlined-label-text-populated-size: 16px;--mat-form-field-subscript-text-font: Roboto, sans-serif;--mat-form-field-subscript-text-line-height: 20px;--mat-form-field-subscript-text-size: 12px;--mat-form-field-subscript-text-tracking: .0333333333em;--mat-form-field-subscript-text-weight: 400}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(63, 81, 181, .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(255, 64, 129, .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-trigger-text-font: Roboto, sans-serif;--mat-select-trigger-text-line-height: 24px;--mat-select-trigger-text-size: 16px;--mat-select-trigger-text-tracking: .03125em;--mat-select-trigger-text-weight: 400}html{--mat-autocomplete-background-color: white}.mat-mdc-dialog-container{--mdc-dialog-container-color: white;--mdc-dialog-subhead-color: rgba(0, 0, 0, .87);--mdc-dialog-supporting-text-color: rgba(0, 0, 0, .6)}.mat-mdc-dialog-container{--mdc-dialog-subhead-font: Roboto, sans-serif;--mdc-dialog-subhead-line-height: 32px;--mdc-dialog-subhead-size: 20px;--mdc-dialog-subhead-weight: 500;--mdc-dialog-subhead-tracking: .0125em;--mdc-dialog-supporting-text-font: Roboto, sans-serif;--mdc-dialog-supporting-text-line-height: 24px;--mdc-dialog-supporting-text-size: 16px;--mdc-dialog-supporting-text-weight: 400;--mdc-dialog-supporting-text-tracking: .03125em}.mat-mdc-standard-chip{--mdc-chip-disabled-label-text-color: #212121;--mdc-chip-elevated-container-color: #e0e0e0;--mdc-chip-elevated-disabled-container-color: #e0e0e0;--mdc-chip-focus-state-layer-color: black;--mdc-chip-focus-state-layer-opacity: .12;--mdc-chip-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-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: #3f51b5;--mdc-chip-elevated-disabled-container-color: #3f51b5;--mdc-chip-focus-state-layer-color: black;--mdc-chip-focus-state-layer-opacity: .12;--mdc-chip-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-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: #ff4081;--mdc-chip-elevated-disabled-container-color: #ff4081;--mdc-chip-focus-state-layer-color: black;--mdc-chip-focus-state-layer-opacity: .12;--mdc-chip-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-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-disabled-container-color: #f44336;--mdc-chip-focus-state-layer-color: black;--mdc-chip-focus-state-layer-opacity: .12;--mdc-chip-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-mdc-chip.mat-mdc-standard-chip{--mdc-chip-container-height: 32px}.mat-mdc-standard-chip{--mdc-chip-label-text-font: Roboto, sans-serif;--mdc-chip-label-text-line-height: 20px;--mdc-chip-label-text-size: 14px;--mdc-chip-label-text-tracking: .0178571429em;--mdc-chip-label-text-weight: 400}.mat-mdc-slide-toggle{--mdc-switch-selected-focus-state-layer-color: #3949ab;--mdc-switch-selected-handle-color: #3949ab;--mdc-switch-selected-hover-state-layer-color: #3949ab;--mdc-switch-selected-pressed-state-layer-color: #3949ab;--mdc-switch-selected-focus-handle-color: #1a237e;--mdc-switch-selected-hover-handle-color: #1a237e;--mdc-switch-selected-pressed-handle-color: #1a237e;--mdc-switch-selected-focus-track-color: #7986cb;--mdc-switch-selected-hover-track-color: #7986cb;--mdc-switch-selected-pressed-track-color: #7986cb;--mdc-switch-selected-track-color: #7986cb;--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}.mat-mdc-slide-toggle .mdc-form-field{color:var(--mdc-theme-text-primary-on-background, rgba(0, 0, 0, .87))}.mat-mdc-slide-toggle .mdc-switch--disabled+label{color:#00000061}.mat-mdc-slide-toggle.mat-accent{--mdc-switch-selected-focus-state-layer-color: #d81b60;--mdc-switch-selected-handle-color: #d81b60;--mdc-switch-selected-hover-state-layer-color: #d81b60;--mdc-switch-selected-pressed-state-layer-color: #d81b60;--mdc-switch-selected-focus-handle-color: #880e4f;--mdc-switch-selected-hover-handle-color: #880e4f;--mdc-switch-selected-pressed-handle-color: #880e4f;--mdc-switch-selected-focus-track-color: #f06292;--mdc-switch-selected-hover-track-color: #f06292;--mdc-switch-selected-pressed-track-color: #f06292;--mdc-switch-selected-track-color: #f06292}.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}.mat-mdc-slide-toggle{--mdc-switch-state-layer-size: 48px}.mat-mdc-slide-toggle{--mat-slide-toggle-label-text-font: Roboto, sans-serif;--mat-slide-toggle-label-text-size: 14px;--mat-slide-toggle-label-text-tracking: .0178571429em;--mat-slide-toggle-label-text-line-height: 20px;--mat-slide-toggle-label-text-weight: 400}.mat-mdc-slide-toggle .mdc-form-field{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:Roboto,sans-serif;font-family:var(--mdc-typography-body2-font-family, var(--mdc-typography-font-family, Roboto, sans-serif));font-size:.875rem;font-size:var(--mdc-typography-body2-font-size, .875rem);line-height:1.25rem;line-height:var(--mdc-typography-body2-line-height, 1.25rem);font-weight:400;font-weight:var(--mdc-typography-body2-font-weight, 400);letter-spacing:.0178571429em;letter-spacing:var(--mdc-typography-body2-letter-spacing, .0178571429em);text-decoration:inherit;-webkit-text-decoration:var(--mdc-typography-body2-text-decoration, inherit);text-decoration:var(--mdc-typography-body2-text-decoration, inherit);text-transform:inherit;text-transform:var(--mdc-typography-body2-text-transform, inherit)}.mat-mdc-radio-button .mdc-form-field{color:var(--mdc-theme-text-primary-on-background, rgba(0, 0, 0, .87))}.mat-mdc-radio-button.mat-primary{--mdc-radio-disabled-selected-icon-color: #000;--mdc-radio-disabled-unselected-icon-color: #000;--mdc-radio-unselected-hover-icon-color: #212121;--mdc-radio-unselected-icon-color: rgba(0, 0, 0, .54);--mdc-radio-unselected-pressed-icon-color: rgba(0, 0, 0, .54);--mdc-radio-selected-focus-icon-color: #3f51b5;--mdc-radio-selected-hover-icon-color: #3f51b5;--mdc-radio-selected-icon-color: #3f51b5;--mdc-radio-selected-pressed-icon-color: #3f51b5;--mat-radio-ripple-color: #000;--mat-radio-checked-ripple-color: #3f51b5;--mat-radio-disabled-label-color: rgba(0, 0, 0, .38)}.mat-mdc-radio-button.mat-accent{--mdc-radio-disabled-selected-icon-color: #000;--mdc-radio-disabled-unselected-icon-color: #000;--mdc-radio-unselected-hover-icon-color: #212121;--mdc-radio-unselected-icon-color: rgba(0, 0, 0, .54);--mdc-radio-unselected-pressed-icon-color: rgba(0, 0, 0, .54);--mdc-radio-selected-focus-icon-color: #ff4081;--mdc-radio-selected-hover-icon-color: #ff4081;--mdc-radio-selected-icon-color: #ff4081;--mdc-radio-selected-pressed-icon-color: #ff4081;--mat-radio-ripple-color: #000;--mat-radio-checked-ripple-color: #ff4081;--mat-radio-disabled-label-color: rgba(0, 0, 0, .38)}.mat-mdc-radio-button.mat-warn{--mdc-radio-disabled-selected-icon-color: #000;--mdc-radio-disabled-unselected-icon-color: #000;--mdc-radio-unselected-hover-icon-color: #212121;--mdc-radio-unselected-icon-color: rgba(0, 0, 0, .54);--mdc-radio-unselected-pressed-icon-color: rgba(0, 0, 0, .54);--mdc-radio-selected-focus-icon-color: #f44336;--mdc-radio-selected-hover-icon-color: #f44336;--mdc-radio-selected-icon-color: #f44336;--mdc-radio-selected-pressed-icon-color: #f44336;--mat-radio-ripple-color: #000;--mat-radio-checked-ripple-color: #f44336;--mat-radio-disabled-label-color: rgba(0, 0, 0, .38)}.mat-mdc-radio-button .mdc-radio{--mdc-radio-state-layer-size: 40px}.mat-mdc-radio-button .mdc-form-field{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:var(--mdc-typography-body2-font-family, var(--mdc-typography-font-family, Roboto, sans-serif));font-size:var(--mdc-typography-body2-font-size, 14px);line-height:var(--mdc-typography-body2-line-height, 20px);font-weight:var(--mdc-typography-body2-font-weight, 400);letter-spacing:var(--mdc-typography-body2-letter-spacing, .0178571429em);-webkit-text-decoration:var(--mdc-typography-body2-text-decoration, inherit);text-decoration:var(--mdc-typography-body2-text-decoration, inherit);text-transform:var(--mdc-typography-body2-text-transform, none)}.mat-mdc-slider{--mdc-slider-label-container-color: black;--mdc-slider-label-label-text-color: white;--mdc-slider-disabled-handle-color: #000;--mdc-slider-disabled-active-track-color: #000;--mdc-slider-disabled-inactive-track-color: #000;--mdc-slider-with-tick-marks-disabled-container-color: #000;--mat-mdc-slider-value-indicator-opacity: .6}.mat-mdc-slider.mat-primary{--mdc-slider-handle-color: #3f51b5;--mdc-slider-focus-handle-color: #3f51b5;--mdc-slider-hover-handle-color: #3f51b5;--mdc-slider-active-track-color: #3f51b5;--mdc-slider-inactive-track-color: #3f51b5;--mdc-slider-with-tick-marks-active-container-color: #fff;--mdc-slider-with-tick-marks-inactive-container-color: #3f51b5;--mat-mdc-slider-ripple-color: #3f51b5;--mat-mdc-slider-hover-ripple-color: rgba(63, 81, 181, .05);--mat-mdc-slider-focus-ripple-color: rgba(63, 81, 181, .2)}.mat-mdc-slider.mat-accent{--mdc-slider-handle-color: #ff4081;--mdc-slider-focus-handle-color: #ff4081;--mdc-slider-hover-handle-color: #ff4081;--mdc-slider-active-track-color: #ff4081;--mdc-slider-inactive-track-color: #ff4081;--mdc-slider-with-tick-marks-active-container-color: #fff;--mdc-slider-with-tick-marks-inactive-container-color: #ff4081;--mat-mdc-slider-ripple-color: #ff4081;--mat-mdc-slider-hover-ripple-color: rgba(255, 64, 129, .05);--mat-mdc-slider-focus-ripple-color: rgba(255, 64, 129, .2)}.mat-mdc-slider.mat-warn{--mdc-slider-handle-color: #f44336;--mdc-slider-focus-handle-color: #f44336;--mdc-slider-hover-handle-color: #f44336;--mdc-slider-active-track-color: #f44336;--mdc-slider-inactive-track-color: #f44336;--mdc-slider-with-tick-marks-active-container-color: #fff;--mdc-slider-with-tick-marks-inactive-container-color: #f44336;--mat-mdc-slider-ripple-color: #f44336;--mat-mdc-slider-hover-ripple-color: rgba(244, 67, 54, .05);--mat-mdc-slider-focus-ripple-color: rgba(244, 67, 54, .2)}.mat-mdc-slider{--mdc-slider-label-label-text-font: Roboto, sans-serif;--mdc-slider-label-label-text-size: 14px;--mdc-slider-label-label-text-line-height: 22px;--mdc-slider-label-label-text-tracking: .0071428571em;--mdc-slider-label-label-text-weight: 500}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}html{--mat-menu-item-label-text-font: Roboto, sans-serif;--mat-menu-item-label-text-size: 16px;--mat-menu-item-label-text-tracking: .03125em;--mat-menu-item-label-text-line-height: 24px;--mat-menu-item-label-text-weight: 400}.mat-mdc-list-base{--mdc-list-list-item-label-text-color: rgba(0, 0, 0, .87);--mdc-list-list-item-supporting-text-color: rgba(0, 0, 0, .54);--mdc-list-list-item-leading-icon-color: rgba(0, 0, 0, .38);--mdc-list-list-item-trailing-supporting-text-color: rgba(0, 0, 0, .38);--mdc-list-list-item-trailing-icon-color: rgba(0, 0, 0, .38);--mdc-list-list-item-selected-trailing-icon-color: rgba(0, 0, 0, .38);--mdc-list-list-item-disabled-label-text-color: black;--mdc-list-list-item-disabled-leading-icon-color: black;--mdc-list-list-item-disabled-trailing-icon-color: black;--mdc-list-list-item-hover-label-text-color: rgba(0, 0, 0, .87);--mdc-list-list-item-hover-leading-icon-color: rgba(0, 0, 0, .38);--mdc-list-list-item-hover-trailing-icon-color: rgba(0, 0, 0, .38);--mdc-list-list-item-focus-label-text-color: rgba(0, 0, 0, .87);--mdc-list-list-item-hover-state-layer-color: black;--mdc-list-list-item-hover-state-layer-opacity: .04;--mdc-list-list-item-focus-state-layer-color: black;--mdc-list-list-item-focus-state-layer-opacity: .12}.mdc-list-item__start,.mdc-list-item__end{--mdc-radio-disabled-selected-icon-color: #000;--mdc-radio-disabled-unselected-icon-color: #000;--mdc-radio-unselected-hover-icon-color: #212121;--mdc-radio-unselected-icon-color: rgba(0, 0, 0, .54);--mdc-radio-unselected-pressed-icon-color: rgba(0, 0, 0, .54);--mdc-radio-selected-focus-icon-color: #3f51b5;--mdc-radio-selected-hover-icon-color: #3f51b5;--mdc-radio-selected-icon-color: #3f51b5;--mdc-radio-selected-pressed-icon-color: #3f51b5}.mat-accent .mdc-list-item__start,.mat-accent .mdc-list-item__end{--mdc-radio-disabled-selected-icon-color: #000;--mdc-radio-disabled-unselected-icon-color: #000;--mdc-radio-unselected-hover-icon-color: #212121;--mdc-radio-unselected-icon-color: rgba(0, 0, 0, .54);--mdc-radio-unselected-pressed-icon-color: rgba(0, 0, 0, .54);--mdc-radio-selected-focus-icon-color: #ff4081;--mdc-radio-selected-hover-icon-color: #ff4081;--mdc-radio-selected-icon-color: #ff4081;--mdc-radio-selected-pressed-icon-color: #ff4081}.mat-warn .mdc-list-item__start,.mat-warn .mdc-list-item__end{--mdc-radio-disabled-selected-icon-color: #000;--mdc-radio-disabled-unselected-icon-color: #000;--mdc-radio-unselected-hover-icon-color: #212121;--mdc-radio-unselected-icon-color: rgba(0, 0, 0, .54);--mdc-radio-unselected-pressed-icon-color: rgba(0, 0, 0, .54);--mdc-radio-selected-focus-icon-color: #f44336;--mdc-radio-selected-hover-icon-color: #f44336;--mdc-radio-selected-icon-color: #f44336;--mdc-radio-selected-pressed-icon-color: #f44336}.mat-mdc-list-option{--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: #fff;--mdc-checkbox-selected-focus-icon-color: #3f51b5;--mdc-checkbox-selected-hover-icon-color: #3f51b5;--mdc-checkbox-selected-icon-color: #3f51b5;--mdc-checkbox-selected-pressed-icon-color: #3f51b5;--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-unselected-pressed-icon-color: rgba(0, 0, 0, .54);--mdc-checkbox-selected-focus-state-layer-color: #3f51b5;--mdc-checkbox-selected-hover-state-layer-color: #3f51b5;--mdc-checkbox-selected-pressed-state-layer-color: #3f51b5;--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-list-option.mat-accent{--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: #fff;--mdc-checkbox-selected-focus-icon-color: #ff4081;--mdc-checkbox-selected-hover-icon-color: #ff4081;--mdc-checkbox-selected-icon-color: #ff4081;--mdc-checkbox-selected-pressed-icon-color: #ff4081;--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-unselected-pressed-icon-color: rgba(0, 0, 0, .54);--mdc-checkbox-selected-focus-state-layer-color: #ff4081;--mdc-checkbox-selected-hover-state-layer-color: #ff4081;--mdc-checkbox-selected-pressed-state-layer-color: #ff4081;--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-list-option.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: #fff;--mdc-checkbox-selected-focus-icon-color: #f44336;--mdc-checkbox-selected-hover-icon-color: #f44336;--mdc-checkbox-selected-icon-color: #f44336;--mdc-checkbox-selected-pressed-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-unselected-pressed-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}.mat-mdc-list-base.mat-mdc-list-base .mdc-list-item--selected .mdc-list-item__primary-text,.mat-mdc-list-base.mat-mdc-list-base .mdc-list-item--activated .mdc-list-item__primary-text,.mat-mdc-list-base.mat-mdc-list-base .mdc-list-item--selected.mdc-list-item--with-leading-icon .mdc-list-item__start,.mat-mdc-list-base.mat-mdc-list-base .mdc-list-item--activated.mdc-list-item--with-leading-icon .mdc-list-item__start{color:#3f51b5}.mat-mdc-list-base .mdc-list-item--disabled .mdc-list-item__start,.mat-mdc-list-base .mdc-list-item--disabled .mdc-list-item__content,.mat-mdc-list-base .mdc-list-item--disabled .mdc-list-item__end{opacity:1}.mat-mdc-list-base{--mdc-list-list-item-one-line-container-height: 48px;--mdc-list-list-item-two-line-container-height: 64px;--mdc-list-list-item-three-line-container-height: 88px}.mat-mdc-list-item.mdc-list-item--with-leading-avatar.mdc-list-item--with-one-line,.mat-mdc-list-item.mdc-list-item--with-leading-checkbox.mdc-list-item--with-one-line,.mat-mdc-list-item.mdc-list-item--with-leading-icon.mdc-list-item--with-one-line{height:56px}.mat-mdc-list-item.mdc-list-item--with-leading-avatar.mdc-list-item--with-two-lines,.mat-mdc-list-item.mdc-list-item--with-leading-checkbox.mdc-list-item--with-two-lines,.mat-mdc-list-item.mdc-list-item--with-leading-icon.mdc-list-item--with-two-lines{height:72px}.mat-mdc-list-base{--mdc-list-list-item-label-text-font: Roboto, sans-serif;--mdc-list-list-item-label-text-line-height: 24px;--mdc-list-list-item-label-text-size: 16px;--mdc-list-list-item-label-text-tracking: .03125em;--mdc-list-list-item-label-text-weight: 400;--mdc-list-list-item-supporting-text-font: Roboto, sans-serif;--mdc-list-list-item-supporting-text-line-height: 20px;--mdc-list-list-item-supporting-text-size: 14px;--mdc-list-list-item-supporting-text-tracking: .0178571429em;--mdc-list-list-item-supporting-text-weight: 400;--mdc-list-list-item-trailing-supporting-text-font: Roboto, sans-serif;--mdc-list-list-item-trailing-supporting-text-line-height: 20px;--mdc-list-list-item-trailing-supporting-text-size: 12px;--mdc-list-list-item-trailing-supporting-text-tracking: .0333333333em;--mdc-list-list-item-trailing-supporting-text-weight: 400}.mdc-list-group__subheader{font-size:16px;font-weight:400;line-height:28px;font-family:Roboto,sans-serif;letter-spacing:.009375em}html{--mat-paginator-container-text-color: rgba(0, 0, 0, .87);--mat-paginator-container-background-color: white;--mat-paginator-enabled-icon-color: rgba(0, 0, 0, .54);--mat-paginator-disabled-icon-color: rgba(0, 0, 0, .12)}html{--mat-paginator-container-size: 56px}.mat-mdc-paginator .mat-mdc-form-field-infix{min-height:40px}.mat-mdc-paginator .mat-mdc-text-field-wrapper .mat-mdc-form-field-flex .mat-mdc-floating-label{top:20px}.mat-mdc-paginator .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( -26.75px) scale(var(--mat-mdc-form-field-floating-label-scale, .75));transform:var(--mat-mdc-form-field-label-transform)}.mat-mdc-paginator .mat-mdc-text-field-wrapper.mdc-text-field--outlined .mat-mdc-form-field-infix{padding-top:8px;padding-bottom:8px}.mat-mdc-paginator .mat-mdc-text-field-wrapper:not(.mdc-text-field--outlined) .mat-mdc-form-field-infix{padding-top:8px;padding-bottom:8px}.mat-mdc-paginator .mdc-text-field--no-label:not(.mdc-text-field--outlined):not(.mdc-text-field--textarea) .mat-mdc-form-field-infix{padding-top:8px;padding-bottom:8px}.mat-mdc-paginator .mat-mdc-text-field-wrapper:not(.mdc-text-field--outlined) .mat-mdc-floating-label{display:none}html{--mat-paginator-container-text-font: Roboto, sans-serif;--mat-paginator-container-text-line-height: 20px;--mat-paginator-container-text-size: 12px;--mat-paginator-container-text-tracking: .0333333333em;--mat-paginator-container-text-weight: 400;--mat-paginator-select-trigger-text-size: 12px}.mat-mdc-tab-group,.mat-mdc-tab-nav-bar{--mdc-tab-indicator-active-indicator-color: #3f51b5;--mat-tab-header-disabled-ripple-color: rgba(0, 0, 0, .38);--mat-tab-header-pagination-icon-color: #000;--mat-tab-header-inactive-label-text-color: rgba(0, 0, 0, .6);--mat-tab-header-active-label-text-color: #3f51b5;--mat-tab-header-active-ripple-color: #3f51b5;--mat-tab-header-inactive-ripple-color: #3f51b5;--mat-tab-header-inactive-focus-label-text-color: rgba(0, 0, 0, .6);--mat-tab-header-inactive-hover-label-text-color: rgba(0, 0, 0, .6);--mat-tab-header-active-focus-label-text-color: #3f51b5;--mat-tab-header-active-hover-label-text-color: #3f51b5;--mat-tab-header-active-focus-indicator-color: #3f51b5;--mat-tab-header-active-hover-indicator-color: #3f51b5}.mat-mdc-tab-group.mat-accent,.mat-mdc-tab-nav-bar.mat-accent{--mdc-tab-indicator-active-indicator-color: #ff4081;--mat-tab-header-disabled-ripple-color: rgba(0, 0, 0, .38);--mat-tab-header-pagination-icon-color: #000;--mat-tab-header-inactive-label-text-color: rgba(0, 0, 0, .6);--mat-tab-header-active-label-text-color: #ff4081;--mat-tab-header-active-ripple-color: #ff4081;--mat-tab-header-inactive-ripple-color: #ff4081;--mat-tab-header-inactive-focus-label-text-color: rgba(0, 0, 0, .6);--mat-tab-header-inactive-hover-label-text-color: rgba(0, 0, 0, .6);--mat-tab-header-active-focus-label-text-color: #ff4081;--mat-tab-header-active-hover-label-text-color: #ff4081;--mat-tab-header-active-focus-indicator-color: #ff4081;--mat-tab-header-active-hover-indicator-color: #ff4081}.mat-mdc-tab-group.mat-warn,.mat-mdc-tab-nav-bar.mat-warn{--mdc-tab-indicator-active-indicator-color: #f44336;--mat-tab-header-disabled-ripple-color: rgba(0, 0, 0, .38);--mat-tab-header-pagination-icon-color: #000;--mat-tab-header-inactive-label-text-color: rgba(0, 0, 0, .6);--mat-tab-header-active-label-text-color: #f44336;--mat-tab-header-active-ripple-color: #f44336;--mat-tab-header-inactive-ripple-color: #f44336;--mat-tab-header-inactive-focus-label-text-color: rgba(0, 0, 0, .6);--mat-tab-header-inactive-hover-label-text-color: rgba(0, 0, 0, .6);--mat-tab-header-active-focus-label-text-color: #f44336;--mat-tab-header-active-hover-label-text-color: #f44336;--mat-tab-header-active-focus-indicator-color: #f44336;--mat-tab-header-active-hover-indicator-color: #f44336}.mat-mdc-tab-group.mat-background-primary,.mat-mdc-tab-nav-bar.mat-background-primary{--mat-tab-header-with-background-background-color: #3f51b5;--mat-tab-header-with-background-foreground-color: white}.mat-mdc-tab-group.mat-background-accent,.mat-mdc-tab-nav-bar.mat-background-accent{--mat-tab-header-with-background-background-color: #ff4081;--mat-tab-header-with-background-foreground-color: white}.mat-mdc-tab-group.mat-background-warn,.mat-mdc-tab-nav-bar.mat-background-warn{--mat-tab-header-with-background-background-color: #f44336;--mat-tab-header-with-background-foreground-color: white}.mat-mdc-tab-header{--mdc-secondary-navigation-tab-container-height: 48px}.mat-mdc-tab-header{--mat-tab-header-label-text-font: Roboto, sans-serif;--mat-tab-header-label-text-size: 14px;--mat-tab-header-label-text-tracking: .0892857143em;--mat-tab-header-label-text-line-height: 36px;--mat-tab-header-label-text-weight: 500}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: #fff;--mdc-checkbox-selected-focus-icon-color: #ff4081;--mdc-checkbox-selected-hover-icon-color: #ff4081;--mdc-checkbox-selected-icon-color: #ff4081;--mdc-checkbox-selected-pressed-icon-color: #ff4081;--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-unselected-pressed-icon-color: rgba(0, 0, 0, .54);--mdc-checkbox-selected-focus-state-layer-color: #ff4081;--mdc-checkbox-selected-hover-state-layer-color: #ff4081;--mdc-checkbox-selected-pressed-state-layer-color: #ff4081;--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-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: #fff;--mdc-checkbox-selected-focus-icon-color: #3f51b5;--mdc-checkbox-selected-hover-icon-color: #3f51b5;--mdc-checkbox-selected-icon-color: #3f51b5;--mdc-checkbox-selected-pressed-icon-color: #3f51b5;--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-unselected-pressed-icon-color: rgba(0, 0, 0, .54);--mdc-checkbox-selected-focus-state-layer-color: #3f51b5;--mdc-checkbox-selected-hover-state-layer-color: #3f51b5;--mdc-checkbox-selected-pressed-state-layer-color: #3f51b5;--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: #fff;--mdc-checkbox-selected-focus-icon-color: #f44336;--mdc-checkbox-selected-hover-icon-color: #f44336;--mdc-checkbox-selected-icon-color: #f44336;--mdc-checkbox-selected-pressed-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-unselected-pressed-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}.mat-mdc-checkbox .mdc-form-field{color:var(--mdc-theme-text-primary-on-background, rgba(0, 0, 0, .87))}.mat-mdc-checkbox.mat-mdc-checkbox-disabled label{color:#00000061}html{--mdc-checkbox-state-layer-size: 40px}.mat-mdc-checkbox .mdc-form-field{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:var(--mdc-typography-body2-font-family, var(--mdc-typography-font-family, Roboto, sans-serif));font-size:var(--mdc-typography-body2-font-size, 14px);line-height:var(--mdc-typography-body2-line-height, 20px);font-weight:var(--mdc-typography-body2-font-weight, 400);letter-spacing:var(--mdc-typography-body2-letter-spacing, .0178571429em);-webkit-text-decoration:var(--mdc-typography-body2-text-decoration, inherit);text-decoration:var(--mdc-typography-body2-text-decoration, inherit);text-transform:var(--mdc-typography-body2-text-transform, none)}.mat-mdc-button.mat-unthemed{--mdc-text-button-label-text-color: #000}.mat-mdc-button.mat-primary{--mdc-text-button-label-text-color: #3f51b5}.mat-mdc-button.mat-accent{--mdc-text-button-label-text-color: #ff4081}.mat-mdc-button.mat-warn{--mdc-text-button-label-text-color: #f44336}.mat-mdc-button[disabled][disabled]{--mdc-text-button-disabled-label-text-color: rgba(0, 0, 0, .38);--mdc-text-button-label-text-color: rgba(0, 0, 0, .38)}.mat-mdc-unelevated-button.mat-unthemed{--mdc-filled-button-container-color: #fff;--mdc-filled-button-label-text-color: #000}.mat-mdc-unelevated-button.mat-primary{--mdc-filled-button-container-color: #3f51b5;--mdc-filled-button-label-text-color: #fff}.mat-mdc-unelevated-button.mat-accent{--mdc-filled-button-container-color: #ff4081;--mdc-filled-button-label-text-color: #fff}.mat-mdc-unelevated-button.mat-warn{--mdc-filled-button-container-color: #f44336;--mdc-filled-button-label-text-color: #fff}.mat-mdc-unelevated-button[disabled][disabled]{--mdc-filled-button-disabled-container-color: rgba(0, 0, 0, .12);--mdc-filled-button-disabled-label-text-color: rgba(0, 0, 0, .38);--mdc-filled-button-container-color: rgba(0, 0, 0, .12);--mdc-filled-button-label-text-color: rgba(0, 0, 0, .38)}.mat-mdc-raised-button.mat-unthemed{--mdc-protected-button-container-color: #fff;--mdc-protected-button-label-text-color: #000}.mat-mdc-raised-button.mat-primary{--mdc-protected-button-container-color: #3f51b5;--mdc-protected-button-label-text-color: #fff}.mat-mdc-raised-button.mat-accent{--mdc-protected-button-container-color: #ff4081;--mdc-protected-button-label-text-color: #fff}.mat-mdc-raised-button.mat-warn{--mdc-protected-button-container-color: #f44336;--mdc-protected-button-label-text-color: #fff}.mat-mdc-raised-button[disabled][disabled]{--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-color: rgba(0, 0, 0, .12);--mdc-protected-button-label-text-color: rgba(0, 0, 0, .38);--mdc-protected-button-container-elevation: 0}.mat-mdc-outlined-button{--mdc-outlined-button-outline-color: rgba(0, 0, 0, .12)}.mat-mdc-outlined-button.mat-unthemed{--mdc-outlined-button-label-text-color: #000}.mat-mdc-outlined-button.mat-primary{--mdc-outlined-button-label-text-color: #3f51b5}.mat-mdc-outlined-button.mat-accent{--mdc-outlined-button-label-text-color: #ff4081}.mat-mdc-outlined-button.mat-warn{--mdc-outlined-button-label-text-color: #f44336}.mat-mdc-outlined-button[disabled][disabled]{--mdc-outlined-button-label-text-color: rgba(0, 0, 0, .38);--mdc-outlined-button-disabled-label-text-color: rgba(0, 0, 0, .38);--mdc-outlined-button-outline-color: rgba(0, 0, 0, .12);--mdc-outlined-button-disabled-outline-color: rgba(0, 0, 0, .12)}.mat-mdc-button,.mat-mdc-outlined-button{--mat-mdc-button-persistent-ripple-color: #000;--mat-mdc-button-ripple-color: rgba(0, 0, 0, .1)}.mat-mdc-button:hover .mat-mdc-button-persistent-ripple:before,.mat-mdc-outlined-button:hover .mat-mdc-button-persistent-ripple:before{opacity:.04}.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-outlined-button.cdk-program-focused .mat-mdc-button-persistent-ripple:before,.mat-mdc-outlined-button.cdk-keyboard-focused .mat-mdc-button-persistent-ripple:before{opacity:.12}.mat-mdc-button:active .mat-mdc-button-persistent-ripple:before,.mat-mdc-outlined-button:active .mat-mdc-button-persistent-ripple:before{opacity:.12}.mat-mdc-button.mat-primary,.mat-mdc-outlined-button.mat-primary{--mat-mdc-button-persistent-ripple-color: #3f51b5;--mat-mdc-button-ripple-color: rgba(63, 81, 181, .1)}.mat-mdc-button.mat-accent,.mat-mdc-outlined-button.mat-accent{--mat-mdc-button-persistent-ripple-color: #ff4081;--mat-mdc-button-ripple-color: rgba(255, 64, 129, .1)}.mat-mdc-button.mat-warn,.mat-mdc-outlined-button.mat-warn{--mat-mdc-button-persistent-ripple-color: #f44336;--mat-mdc-button-ripple-color: rgba(244, 67, 54, .1)}.mat-mdc-raised-button,.mat-mdc-unelevated-button{--mat-mdc-button-persistent-ripple-color: #000;--mat-mdc-button-ripple-color: rgba(0, 0, 0, .1)}.mat-mdc-raised-button:hover .mat-mdc-button-persistent-ripple:before,.mat-mdc-unelevated-button:hover .mat-mdc-button-persistent-ripple:before{opacity:.04}.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-unelevated-button.cdk-program-focused .mat-mdc-button-persistent-ripple:before,.mat-mdc-unelevated-button.cdk-keyboard-focused .mat-mdc-button-persistent-ripple:before{opacity:.12}.mat-mdc-raised-button:active .mat-mdc-button-persistent-ripple:before,.mat-mdc-unelevated-button:active .mat-mdc-button-persistent-ripple:before{opacity:.12}.mat-mdc-raised-button.mat-primary,.mat-mdc-unelevated-button.mat-primary,.mat-mdc-raised-button.mat-accent,.mat-mdc-unelevated-button.mat-accent,.mat-mdc-raised-button.mat-warn,.mat-mdc-unelevated-button.mat-warn{--mat-mdc-button-persistent-ripple-color: #fff;--mat-mdc-button-ripple-color: rgba(255, 255, 255, .1)}.mat-mdc-button.mat-mdc-button-base,.mat-mdc-raised-button.mat-mdc-button-base,.mat-mdc-unelevated-button.mat-mdc-button-base,.mat-mdc-outlined-button.mat-mdc-button-base{height:36px}.mdc-button{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:var(--mdc-typography-button-font-family, var(--mdc-typography-font-family, Roboto, sans-serif));font-size:var(--mdc-typography-button-font-size, 14px);line-height:var(--mdc-typography-button-line-height, 36px);font-weight:var(--mdc-typography-button-font-weight, 500);letter-spacing:var(--mdc-typography-button-letter-spacing, .0892857143em);-webkit-text-decoration:var(--mdc-typography-button-text-decoration, none);text-decoration:var(--mdc-typography-button-text-decoration, none);text-transform:var(--mdc-typography-button-text-transform, none)}.mat-mdc-icon-button{--mdc-icon-button-icon-color: inherit;--mat-mdc-button-persistent-ripple-color: #000;--mat-mdc-button-ripple-color: rgba(0, 0, 0, .1)}.mat-mdc-icon-button:hover .mat-mdc-button-persistent-ripple:before{opacity:.04}.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{opacity:.12}.mat-mdc-icon-button:active .mat-mdc-button-persistent-ripple:before{opacity:.12}.mat-mdc-icon-button.mat-primary{--mat-mdc-button-persistent-ripple-color: #6200ee;--mat-mdc-button-ripple-color: rgba(98, 0, 238, .1)}.mat-mdc-icon-button.mat-accent{--mat-mdc-button-persistent-ripple-color: #018786;--mat-mdc-button-ripple-color: rgba(1, 135, 134, .1)}.mat-mdc-icon-button.mat-warn{--mat-mdc-button-persistent-ripple-color: #b00020;--mat-mdc-button-ripple-color: rgba(176, 0, 32, .1)}.mat-mdc-icon-button.mat-primary{--mdc-icon-button-icon-color: #3f51b5;--mat-mdc-button-persistent-ripple-color: #3f51b5;--mat-mdc-button-ripple-color: rgba(63, 81, 181, .1)}.mat-mdc-icon-button.mat-accent{--mdc-icon-button-icon-color: #ff4081;--mat-mdc-button-persistent-ripple-color: #ff4081;--mat-mdc-button-ripple-color: rgba(255, 64, 129, .1)}.mat-mdc-icon-button.mat-warn{--mdc-icon-button-icon-color: #f44336;--mat-mdc-button-persistent-ripple-color: #f44336;--mat-mdc-button-ripple-color: rgba(244, 67, 54, .1)}.mat-mdc-icon-button[disabled][disabled]{--mdc-icon-button-icon-color: rgba(0, 0, 0, .38);--mdc-icon-button-disabled-icon-color: rgba(0, 0, 0, .38)}.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}.mat-mdc-fab,.mat-mdc-mini-fab{--mat-mdc-button-persistent-ripple-color: #000;--mat-mdc-button-ripple-color: rgba(0, 0, 0, .1)}.mat-mdc-fab:hover .mat-mdc-button-persistent-ripple:before,.mat-mdc-mini-fab:hover .mat-mdc-button-persistent-ripple:before{opacity:.04}.mat-mdc-fab.cdk-program-focused .mat-mdc-button-persistent-ripple:before,.mat-mdc-fab.cdk-keyboard-focused .mat-mdc-button-persistent-ripple:before,.mat-mdc-mini-fab.cdk-program-focused .mat-mdc-button-persistent-ripple:before,.mat-mdc-mini-fab.cdk-keyboard-focused .mat-mdc-button-persistent-ripple:before{opacity:.12}.mat-mdc-fab:active .mat-mdc-button-persistent-ripple:before,.mat-mdc-mini-fab:active .mat-mdc-button-persistent-ripple:before{opacity:.12}.mat-mdc-fab.mat-primary,.mat-mdc-mini-fab.mat-primary,.mat-mdc-fab.mat-accent,.mat-mdc-mini-fab.mat-accent,.mat-mdc-fab.mat-warn,.mat-mdc-mini-fab.mat-warn{--mat-mdc-button-persistent-ripple-color: #fff;--mat-mdc-button-ripple-color: rgba(255, 255, 255, .1)}.mat-mdc-fab[disabled][disabled],.mat-mdc-mini-fab[disabled][disabled]{--mdc-fab-container-color: rgba(0, 0, 0, .12);--mdc-fab-icon-color: rgba(0, 0, 0, .38);--mat-mdc-fab-color: rgba(0, 0, 0, .38)}.mat-mdc-fab.mat-unthemed,.mat-mdc-mini-fab.mat-unthemed{--mdc-fab-container-color: white;--mdc-fab-icon-color: black;--mat-mdc-fab-color: #000}.mat-mdc-fab.mat-primary,.mat-mdc-mini-fab.mat-primary{--mdc-fab-container-color: #3f51b5;--mdc-fab-icon-color: white;--mat-mdc-fab-color: #fff}.mat-mdc-fab.mat-accent,.mat-mdc-mini-fab.mat-accent{--mdc-fab-container-color: #ff4081;--mdc-fab-icon-color: white;--mat-mdc-fab-color: #fff}.mat-mdc-fab.mat-warn,.mat-mdc-mini-fab.mat-warn{--mdc-fab-container-color: #f44336;--mdc-fab-icon-color: white;--mat-mdc-fab-color: #fff}.mdc-fab--extended{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:var(--mdc-typography-button-font-family, var(--mdc-typography-font-family, Roboto, sans-serif));font-size:var(--mdc-typography-button-font-size, 14px);line-height:var(--mdc-typography-button-line-height, 36px);font-weight:var(--mdc-typography-button-font-weight, 500);letter-spacing:var(--mdc-typography-button-letter-spacing, .0892857143em);-webkit-text-decoration:var(--mdc-typography-button-text-decoration, none);text-decoration:var(--mdc-typography-button-text-decoration, none);text-transform:var(--mdc-typography-button-text-transform, none)}.mat-mdc-extended-fab{--mdc-extended-fab-label-text-font: Roboto, sans-serif;--mdc-extended-fab-label-text-size: 14px;--mdc-extended-fab-label-text-tracking: .0892857143em;--mdc-extended-fab-label-text-weight: 500}.mat-mdc-snack-bar-container{--mdc-snackbar-container-color: #333333;--mdc-snackbar-supporting-text-color: rgba(255, 255, 255, .87);--mat-snack-bar-button-color: #ff4081}.mat-mdc-snack-bar-container{--mdc-snackbar-supporting-text-font: Roboto, sans-serif;--mdc-snackbar-supporting-text-line-height: 20px;--mdc-snackbar-supporting-text-size: 14px;--mdc-snackbar-supporting-text-weight: 400}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: Roboto, sans-serif;--mat-table-header-headline-line-height: 22px;--mat-table-header-headline-size: 14px;--mat-table-header-headline-weight: 500;--mat-table-header-headline-tracking: .0071428571em;--mat-table-row-item-label-text-font: Roboto, sans-serif;--mat-table-row-item-label-text-line-height: 20px;--mat-table-row-item-label-text-size: 14px;--mat-table-row-item-label-text-weight: 400;--mat-table-row-item-label-text-tracking: .0178571429em;--mat-table-footer-supporting-text-font: Roboto, sans-serif;--mat-table-footer-supporting-text-line-height: 20px;--mat-table-footer-supporting-text-size: 14px;--mat-table-footer-supporting-text-weight: 400;--mat-table-footer-supporting-text-tracking: .0178571429em}.mat-mdc-progress-spinner{--mdc-circular-progress-active-indicator-color: #3f51b5}.mat-mdc-progress-spinner.mat-accent{--mdc-circular-progress-active-indicator-color: #ff4081}.mat-mdc-progress-spinner.mat-warn{--mdc-circular-progress-active-indicator-color: #f44336}.mat-badge{position:relative}.mat-badge.mat-badge{overflow:visible}.mat-badge-content{position:absolute;text-align:center;display:inline-block;border-radius:50%;transition:transform .2s ease-in-out;transform:scale(.6);overflow:hidden;white-space:nowrap;text-overflow:ellipsis;pointer-events:none;background-color:var(--mat-badge-background-color);color:var(--mat-badge-text-color);font-family:Roboto,sans-serif;font-family:var(--mat-badge-text-font, Roboto, sans-serif);font-size:12px;font-size:var(--mat-badge-text-size, 12px);font-weight:600;font-weight:var(--mat-badge-text-weight, 600)}.cdk-high-contrast-active .mat-badge-content{outline:solid 1px;border-radius:0}.mat-badge-disabled .mat-badge-content{background-color:var(--mat-badge-disabled-state-background-color);color:var(--mat-badge-disabled-state-text-color)}.mat-badge-hidden .mat-badge-content{display:none}.ng-animate-disabled .mat-badge-content,.mat-badge-content._mat-animation-noopable{transition:none}.mat-badge-content.mat-badge-active{transform:none}.mat-badge-small .mat-badge-content{width:16px;height:16px;line-height:16px;font-size:9px;font-size:var(--mat-badge-small-size-text-size, 9px)}.mat-badge-small.mat-badge-above .mat-badge-content{top:-8px}.mat-badge-small.mat-badge-below .mat-badge-content{bottom:-8px}.mat-badge-small.mat-badge-before .mat-badge-content{left:-16px}[dir=rtl] .mat-badge-small.mat-badge-before .mat-badge-content{left:auto;right:-16px}.mat-badge-small.mat-badge-after .mat-badge-content{right:-16px}[dir=rtl] .mat-badge-small.mat-badge-after .mat-badge-content{right:auto;left:-16px}.mat-badge-small.mat-badge-overlap.mat-badge-before .mat-badge-content{left:-8px}[dir=rtl] .mat-badge-small.mat-badge-overlap.mat-badge-before .mat-badge-content{left:auto;right:-8px}.mat-badge-small.mat-badge-overlap.mat-badge-after .mat-badge-content{right:-8px}[dir=rtl] .mat-badge-small.mat-badge-overlap.mat-badge-after .mat-badge-content{right:auto;left:-8px}.mat-badge-medium .mat-badge-content{width:22px;height:22px;line-height:22px}.mat-badge-medium.mat-badge-above .mat-badge-content{top:-11px}.mat-badge-medium.mat-badge-below .mat-badge-content{bottom:-11px}.mat-badge-medium.mat-badge-before .mat-badge-content{left:-22px}[dir=rtl] .mat-badge-medium.mat-badge-before .mat-badge-content{left:auto;right:-22px}.mat-badge-medium.mat-badge-after .mat-badge-content{right:-22px}[dir=rtl] .mat-badge-medium.mat-badge-after .mat-badge-content{right:auto;left:-22px}.mat-badge-medium.mat-badge-overlap.mat-badge-before .mat-badge-content{left:-11px}[dir=rtl] .mat-badge-medium.mat-badge-overlap.mat-badge-before .mat-badge-content{left:auto;right:-11px}.mat-badge-medium.mat-badge-overlap.mat-badge-after .mat-badge-content{right:-11px}[dir=rtl] .mat-badge-medium.mat-badge-overlap.mat-badge-after .mat-badge-content{right:auto;left:-11px}.mat-badge-large .mat-badge-content{width:28px;height:28px;line-height:28px;font-size:24px;font-size:var(--mat-badge-large-size-text-size, 24px)}.mat-badge-large.mat-badge-above .mat-badge-content{top:-14px}.mat-badge-large.mat-badge-below .mat-badge-content{bottom:-14px}.mat-badge-large.mat-badge-before .mat-badge-content{left:-28px}[dir=rtl] .mat-badge-large.mat-badge-before .mat-badge-content{left:auto;right:-28px}.mat-badge-large.mat-badge-after .mat-badge-content{right:-28px}[dir=rtl] .mat-badge-large.mat-badge-after .mat-badge-content{right:auto;left:-28px}.mat-badge-large.mat-badge-overlap.mat-badge-before .mat-badge-content{left:-14px}[dir=rtl] .mat-badge-large.mat-badge-overlap.mat-badge-before .mat-badge-content{left:auto;right:-14px}.mat-badge-large.mat-badge-overlap.mat-badge-after .mat-badge-content{right:-14px}[dir=rtl] .mat-badge-large.mat-badge-overlap.mat-badge-after .mat-badge-content{right:auto;left:-14px}html{--mat-badge-background-color: #3f51b5;--mat-badge-text-color: white;--mat-badge-disabled-state-background-color: #b9b9b9;--mat-badge-disabled-state-text-color: rgba(0, 0, 0, .38)}.mat-badge-accent{--mat-badge-background-color: #ff4081;--mat-badge-text-color: white}.mat-badge-warn{--mat-badge-background-color: #f44336;--mat-badge-text-color: white}html{--mat-badge-text-font: Roboto, sans-serif;--mat-badge-text-size: 12px;--mat-badge-text-weight: 600;--mat-badge-small-size-text-size: 9px;--mat-badge-large-size-text-size: 24px}html{--mat-bottom-sheet-container-text-color: rgba(0, 0, 0, .87);--mat-bottom-sheet-container-background-color: white}html{--mat-bottom-sheet-container-text-font: Roboto, sans-serif;--mat-bottom-sheet-container-text-line-height: 20px;--mat-bottom-sheet-container-text-size: 14px;--mat-bottom-sheet-container-text-tracking: .0178571429em;--mat-bottom-sheet-container-text-weight: 400}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-text-font: Roboto, sans-serif;--mat-standard-button-toggle-text-font: Roboto, sans-serif}html{--mat-datepicker-calendar-date-selected-state-text-color: white;--mat-datepicker-calendar-date-selected-state-background-color: #3f51b5;--mat-datepicker-calendar-date-selected-disabled-state-background-color: rgba(63, 81, 181, .4);--mat-datepicker-calendar-date-today-selected-state-outline-color: white;--mat-datepicker-calendar-date-focus-state-background-color: rgba(63, 81, 181, .3);--mat-datepicker-calendar-date-hover-state-background-color: rgba(63, 81, 181, .3);--mat-datepicker-toggle-active-state-icon-color: #3f51b5;--mat-datepicker-calendar-date-in-range-state-background-color: rgba(63, 81, 181, .2);--mat-datepicker-calendar-date-in-comparison-range-state-background-color: rgba(249, 171, 0, .2);--mat-datepicker-calendar-date-in-overlap-range-state-background-color: #a8dab5;--mat-datepicker-calendar-date-in-overlap-range-selected-state-background-color: #46a35e;--mat-datepicker-toggle-icon-color: rgba(0, 0, 0, .54);--mat-datepicker-calendar-body-label-text-color: rgba(0, 0, 0, .54);--mat-datepicker-calendar-period-button-icon-color: rgba(0, 0, 0, .54);--mat-datepicker-calendar-navigation-button-icon-color: rgba(0, 0, 0, .54);--mat-datepicker-calendar-header-divider-color: rgba(0, 0, 0, .12);--mat-datepicker-calendar-header-text-color: rgba(0, 0, 0, .54);--mat-datepicker-calendar-date-today-outline-color: rgba(0, 0, 0, .38);--mat-datepicker-calendar-date-today-disabled-state-outline-color: rgba(0, 0, 0, .18);--mat-datepicker-calendar-date-text-color: rgba(0, 0, 0, .87);--mat-datepicker-calendar-date-outline-color: transparent;--mat-datepicker-calendar-date-disabled-state-text-color: rgba(0, 0, 0, .38);--mat-datepicker-calendar-date-preview-state-outline-color: rgba(0, 0, 0, .24);--mat-datepicker-range-input-separator-color: rgba(0, 0, 0, .87);--mat-datepicker-range-input-disabled-state-separator-color: rgba(0, 0, 0, .38);--mat-datepicker-range-input-disabled-state-text-color: rgba(0, 0, 0, .38);--mat-datepicker-calendar-container-background-color: white;--mat-datepicker-calendar-container-text-color: rgba(0, 0, 0, .87)}.mat-datepicker-content.mat-accent{--mat-datepicker-calendar-date-selected-state-text-color: white;--mat-datepicker-calendar-date-selected-state-background-color: #ff4081;--mat-datepicker-calendar-date-selected-disabled-state-background-color: rgba(255, 64, 129, .4);--mat-datepicker-calendar-date-today-selected-state-outline-color: white;--mat-datepicker-calendar-date-focus-state-background-color: rgba(255, 64, 129, .3);--mat-datepicker-calendar-date-hover-state-background-color: rgba(255, 64, 129, .3);--mat-datepicker-calendar-date-in-range-state-background-color: rgba(255, 64, 129, .2);--mat-datepicker-calendar-date-in-comparison-range-state-background-color: rgba(249, 171, 0, .2);--mat-datepicker-calendar-date-in-overlap-range-state-background-color: #a8dab5;--mat-datepicker-calendar-date-in-overlap-range-selected-state-background-color: #46a35e}.mat-datepicker-content.mat-warn{--mat-datepicker-calendar-date-selected-state-text-color: white;--mat-datepicker-calendar-date-selected-state-background-color: #f44336;--mat-datepicker-calendar-date-selected-disabled-state-background-color: rgba(244, 67, 54, .4);--mat-datepicker-calendar-date-today-selected-state-outline-color: white;--mat-datepicker-calendar-date-focus-state-background-color: rgba(244, 67, 54, .3);--mat-datepicker-calendar-date-hover-state-background-color: rgba(244, 67, 54, .3);--mat-datepicker-calendar-date-in-range-state-background-color: rgba(244, 67, 54, .2);--mat-datepicker-calendar-date-in-comparison-range-state-background-color: rgba(249, 171, 0, .2);--mat-datepicker-calendar-date-in-overlap-range-state-background-color: #a8dab5;--mat-datepicker-calendar-date-in-overlap-range-selected-state-background-color: #46a35e}.mat-datepicker-toggle-active.mat-accent{--mat-datepicker-toggle-active-state-icon-color: #ff4081}.mat-datepicker-toggle-active.mat-warn{--mat-datepicker-toggle-active-state-icon-color: #f44336}.mat-calendar-controls .mat-mdc-icon-button.mat-mdc-button-base{--mdc-icon-button-state-layer-size: 40px;width:var(--mdc-icon-button-state-layer-size);height:var(--mdc-icon-button-state-layer-size);padding:8px}.mat-calendar-controls .mat-mdc-icon-button.mat-mdc-button-base .mat-mdc-button-touch-target{display:none}html{--mat-datepicker-calendar-text-font: Roboto, sans-serif;--mat-datepicker-calendar-text-size: 13px;--mat-datepicker-calendar-body-label-text-size: 14px;--mat-datepicker-calendar-body-label-text-weight: 500;--mat-datepicker-calendar-period-button-text-size: 14px;--mat-datepicker-calendar-period-button-text-weight: 500;--mat-datepicker-calendar-header-text-size: 11px;--mat-datepicker-calendar-header-text-weight: 400}html{--mat-divider-color: rgba(0, 0, 0, .12)}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: Roboto, sans-serif;--mat-expansion-header-text-size: 14px;--mat-expansion-header-text-weight: 500;--mat-expansion-header-text-line-height: inherit;--mat-expansion-header-text-tracking: inherit;--mat-expansion-container-text-font: Roboto, sans-serif;--mat-expansion-container-text-line-height: 20px;--mat-expansion-container-text-size: 14px;--mat-expansion-container-text-tracking: .0178571429em;--mat-expansion-container-text-weight: 400}html{--mat-grid-list-tile-header-primary-text-size: 14px;--mat-grid-list-tile-header-secondary-text-size: 12px;--mat-grid-list-tile-footer-primary-text-size: 14px;--mat-grid-list-tile-footer-secondary-text-size: 12px}html{--mat-icon-color: inherit}.mat-icon.mat-primary{--mat-icon-color: #3f51b5}.mat-icon.mat-accent{--mat-icon-color: #ff4081}.mat-icon.mat-warn{--mat-icon-color: #f44336}html{--mat-sidenav-container-divider-color: rgba(0, 0, 0, .12);--mat-sidenav-container-background-color: white;--mat-sidenav-container-text-color: rgba(0, 0, 0, .87);--mat-sidenav-content-background-color: #fafafa;--mat-sidenav-content-text-color: rgba(0, 0, 0, .87);--mat-sidenav-scrim-color: rgba(0, 0, 0, .6)}html{--mat-stepper-header-icon-foreground-color: white;--mat-stepper-header-selected-state-icon-background-color: #3f51b5;--mat-stepper-header-selected-state-icon-foreground-color: white;--mat-stepper-header-done-state-icon-background-color: #3f51b5;--mat-stepper-header-done-state-icon-foreground-color: white;--mat-stepper-header-edit-state-icon-background-color: #3f51b5;--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: #ff4081;--mat-stepper-header-selected-state-icon-foreground-color: white;--mat-stepper-header-done-state-icon-background-color: #ff4081;--mat-stepper-header-done-state-icon-foreground-color: white;--mat-stepper-header-edit-state-icon-background-color: #ff4081;--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: Roboto, sans-serif;--mat-stepper-header-label-text-font: Roboto, sans-serif;--mat-stepper-header-label-text-size: 14px;--mat-stepper-header-label-text-weight: 400;--mat-stepper-header-error-state-label-text-size: 16px;--mat-stepper-header-selected-state-label-text-size: 16px;--mat-stepper-header-selected-state-label-text-weight: 400}.mat-sort-header-arrow{color:#757575}html{--mat-toolbar-container-background-color: whitesmoke;--mat-toolbar-container-text-color: rgba(0, 0, 0, .87)}.mat-toolbar.mat-primary{--mat-toolbar-container-background-color: #3f51b5;--mat-toolbar-container-text-color: white}.mat-toolbar.mat-accent{--mat-toolbar-container-background-color: #ff4081;--mat-toolbar-container-text-color: white}.mat-toolbar.mat-warn{--mat-toolbar-container-background-color: #f44336;--mat-toolbar-container-text-color: white}html{--mat-toolbar-standard-height: 64px;--mat-toolbar-mobile-height: 56px}html{--mat-toolbar-title-text-font: Roboto, sans-serif;--mat-toolbar-title-text-line-height: 32px;--mat-toolbar-title-text-size: 20px;--mat-toolbar-title-text-tracking: .0125em;--mat-toolbar-title-text-weight: 500}.mat-tree{background:white}.mat-tree-node,.mat-nested-tree-node{color:#000000de}.mat-tree-node{min-height:48px}.mat-tree{font-family:Roboto,sans-serif}.mat-tree-node,.mat-nested-tree-node{font-weight:400;font-size:14px}html{--mtx-alert-background-color: white;--mtx-alert-text-color: rgba(0, 0, 0, .87);--mtx-alert-info-background-color: #2196f3;--mtx-alert-info-text-color: white;--mtx-alert-success-background-color: #4caf50;--mtx-alert-success-text-color: white;--mtx-alert-warning-background-color: #ff9800;--mtx-alert-warning-text-color: white;--mtx-alert-danger-background-color: #f44336;--mtx-alert-danger-text-color: white}html{--mtx-colorpicker-toggle-active-state-icon-color: #3f51b5;--mtx-colorpicker-toggle-icon-color: rgba(0, 0, 0, .54)}.mtx-colorpicker-toggle-active.mat-accent{--mtx-colorpicker-toggle-active-state-icon-color: #ff4081}.mtx-colorpicker-toggle-active.mat-warn{--mtx-colorpicker-toggle-active-state-icon-color: #f44336}html{--mtx-datetimepicker-calendar-header-background-color: #3f51b5;--mtx-datetimepicker-calendar-date-selected-state-text-color: white;--mtx-datetimepicker-calendar-date-selected-state-background-color: #3f51b5;--mtx-datetimepicker-calendar-date-selected-disabled-state-background-color: rgba(63, 81, 181, .4);--mtx-datetimepicker-calendar-date-today-selected-state-outline-color: white;--mtx-datetimepicker-calendar-date-focus-state-background-color: rgba(63, 81, 181, .3);--mtx-datetimepicker-calendar-date-hover-state-background-color: rgba(63, 81, 181, .3);--mtx-datetimepicker-clock-hand-background-color: #3f51b5;--mtx-datetimepicker-clock-cell-selected-state-background-color: #3f51b5;--mtx-datetimepicker-time-input-active-state-text-color: #3f51b5;--mtx-datetimepicker-time-input-active-state-background-color: rgba(63, 81, 181, .2);--mtx-datetimepicker-time-input-focus-state-border-color: #3f51b5;--mtx-datetimepicker-time-input-focus-state-placeholder-text-color: rgba(63, 81, 181, .6);--mtx-datetimepicker-toggle-active-state-icon-color: #3f51b5;--mtx-datetimepicker-toggle-icon-color: rgba(0, 0, 0, .54);--mtx-datetimepicker-calendar-body-label-text-color: rgba(0, 0, 0, .54);--mtx-datetimepicker-calendar-header-text-color: white;--mtx-datetimepicker-calendar-header-divider-color: rgba(0, 0, 0, .12);--mtx-datetimepicker-calendar-table-header-text-color: rgba(0, 0, 0, .54);--mtx-datetimepicker-calendar-date-today-outline-color: rgba(0, 0, 0, .38);--mtx-datetimepicker-calendar-date-text-color: rgba(0, 0, 0, .87);--mtx-datetimepicker-calendar-date-outline-color: transparent;--mtx-datetimepicker-calendar-date-disabled-state-text-color: rgba(0, 0, 0, .38);--mtx-datetimepicker-calendar-container-background-color: white;--mtx-datetimepicker-calendar-container-text-color: rgba(0, 0, 0, .87);--mtx-datetimepicker-clock-dial-background-color: rgba(0, 0, 0, .12);--mtx-datetimepicker-clock-cell-text-color: rgba(0, 0, 0, .87);--mtx-datetimepicker-clock-cell-hover-state-background-color: rgba(0, 0, 0, .04);--mtx-datetimepicker-clock-cell-disabled-state-text-color: rgba(0, 0, 0, .38);--mtx-datetimepicker-time-input-text-color: rgba(0, 0, 0, .87);--mtx-datetimepicker-time-input-background-color: rgba(0, 0, 0, .12);--mtx-datetimepicker-time-input-focus-state-background-color: #fafafa;--mtx-datetimepicker-time-input-warn-state-border-color: #f44336;--mtx-datetimepicker-time-ampm-text-color: rgba(0, 0, 0, .75);--mtx-datetimepicker-time-ampm-border-color: rgba(0, 0, 0, .38);--mtx-datetimepicker-time-ampm-selected-state-text-color: rgba(0, 0, 0, .87);--mtx-datetimepicker-time-ampm-selected-state-background-color: rgba(255, 64, 129, .2)}.mtx-datetimepicker-content.mat-accent{--mtx-datetimepicker-calendar-header-background-color: #ff4081;--mtx-datetimepicker-calendar-date-selected-state-text-color: white;--mtx-datetimepicker-calendar-date-selected-state-background-color: #ff4081;--mtx-datetimepicker-calendar-date-selected-disabled-state-background-color: rgba(255, 64, 129, .4);--mtx-datetimepicker-calendar-date-today-selected-state-outline-color: white;--mtx-datetimepicker-calendar-date-focus-state-background-color: rgba(255, 64, 129, .3);--mtx-datetimepicker-calendar-date-hover-state-background-color: rgba(255, 64, 129, .3);--mtx-datetimepicker-clock-hand-background-color: #ff4081;--mtx-datetimepicker-clock-cell-selected-state-background-color: #ff4081;--mtx-datetimepicker-time-input-active-state-text-color: #ff4081;--mtx-datetimepicker-time-input-active-state-background-color: rgba(255, 64, 129, .2);--mtx-datetimepicker-time-input-focus-state-border-color: #ff4081;--mtx-datetimepicker-time-input-focus-state-placeholder-text-color: rgba(255, 64, 129, .6)}.mtx-datetimepicker-content.mat-warn{--mtx-datetimepicker-calendar-header-background-color: #f44336;--mtx-datetimepicker-calendar-date-selected-state-text-color: white;--mtx-datetimepicker-calendar-date-selected-state-background-color: #f44336;--mtx-datetimepicker-calendar-date-selected-disabled-state-background-color: rgba(244, 67, 54, .4);--mtx-datetimepicker-calendar-date-today-selected-state-outline-color: white;--mtx-datetimepicker-calendar-date-focus-state-background-color: rgba(244, 67, 54, .3);--mtx-datetimepicker-calendar-date-hover-state-background-color: rgba(244, 67, 54, .3);--mtx-datetimepicker-clock-hand-background-color: #f44336;--mtx-datetimepicker-clock-cell-selected-state-background-color: #f44336;--mtx-datetimepicker-time-input-active-state-text-color: #f44336;--mtx-datetimepicker-time-input-active-state-background-color: rgba(244, 67, 54, .2);--mtx-datetimepicker-time-input-focus-state-border-color: #f44336;--mtx-datetimepicker-time-input-focus-state-placeholder-text-color: rgba(244, 67, 54, .6)}.mtx-datetimepicker-toggle-active.mat-accent{--mtx-datetimepicker-toggle-active-state-icon-color: #ff4081}.mtx-datetimepicker-toggle-active.mat-warn{--mtx-datetimepicker-toggle-active-state-icon-color: #f44336}html{--mtx-datetimepicker-calendar-text-font: Roboto, sans-serif;--mtx-datetimepicker-calendar-text-size: 13px;--mtx-datetimepicker-calendar-body-label-text-size: 14px;--mtx-datetimepicker-calendar-body-label-text-weight: 500;--mtx-datetimepicker-calendar-period-button-text-size: 14px;--mtx-datetimepicker-calendar-period-button-text-weight: 500;--mtx-datetimepicker-calendar-table-header-text-size: 11px;--mtx-datetimepicker-calendar-table-header-text-weight: 400;--mtx-datetimepicker-clock-text-size: 14px}html{--mtx-drawer-container-background-color: white;--mtx-drawer-container-text-color: rgba(0, 0, 0, .87)}html{--mtx-grid-outline-color: rgba(0, 0, 0, .2);--mtx-grid-column-menu-text-color: rgba(0, 0, 0, .87);--mtx-grid-column-menu-divider-color: rgba(0, 0, 0, .12);--mtx-grid-table-footer-background-color: whitesmoke;--mtx-grid-table-row-striped-background-color: #f5f5f5;--mtx-grid-table-row-hover-background-color: #e5e5e5;--mtx-grid-table-row-selected-background-color: #e5e5e5;--mtx-grid-table-cell-selected-outline-color: #ff4081}.mat-column-resize-table.cdk-column-resize-with-resized-column{table-layout:fixed}.mat-column-resize-flex .mat-mdc-header-cell,.mat-column-resize-flex .mat-mdc-cell{box-sizing:border-box;min-width:32px}.mat-mdc-header-cell{position:relative}.mat-resizable{box-sizing:border-box}.mat-mdc-header-cell:not(.mat-resizable):after,.mat-resizable-handle{position:absolute;bottom:0;top:0;right:0;width:1px;background:transparent;transition:background .3s cubic-bezier(.55,0,.55,.2)}.mat-mdc-header-cell:not(.mat-resizable):after{content:""}[dir=rtl] .mat-mdc-header-cell:not(.mat-resizable):after,[dir=rtl] .mat-resizable-handle{left:0;right:auto}.mat-mdc-header-row.cdk-column-resize-hover-or-active .mat-mdc-header-cell:not(.mat-resizable):after{background:rgba(0,0,0,.12)}.mat-mdc-header-row.cdk-column-resize-hover-or-active .mat-resizable-handle{background:#9fa8da}.mat-resizable.cdk-resizable-overlay-thumb-active>.mat-resizable-handle{opacity:0;transition:none}.mat-resizable-handle:focus,.mat-mdc-header-row.cdk-column-resize-hover-or-active .mat-resizable-handle:focus{background:#3f51b5;outline:none}.mat-column-resize-overlay-thumb{background:transparent;cursor:col-resize;height:100%;transition:background .3s cubic-bezier(.55,0,.55,.2);width:100%;-webkit-user-select:none;user-select:none}.mat-column-resize-overlay-thumb:active{background:linear-gradient(90deg,transparent,transparent 7px,#3f51b5,#3f51b5 1px,transparent 8px,transparent);will-change:transform}html{--mtx-loader-backdrop-background-color: rgba(250, 250, 250, .75)}html{--mtx-popover-background-color: white;--mtx-popover-text-color: rgba(0, 0, 0, .87);--mtx-popover-arrow-outline-color: rgba(0, 0, 0, .12)}html{--mtx-progress-track-color: rgba(0, 0, 0, .04);--mtx-progress-indicator-color: rgba(0, 0, 0, .12);--mtx-progress-text-color: rgba(0, 0, 0, .87);--mtx-progress-info-indicator-color: #2196f3;--mtx-progress-info-text-color: white;--mtx-progress-success-indicator-color: #4caf50;--mtx-progress-success-text-color: white;--mtx-progress-warning-indicator-color: #ff9800;--mtx-progress-warning-text-color: white;--mtx-progress-danger-indicator-color: #f44336;--mtx-progress-danger-text-color: white}html{--mtx-select-option-selected-state-text-color: #3f51b5;--mtx-select-container-text-color: rgba(0, 0, 0, .87);--mtx-select-placeholder-text-color: rgba(0, 0, 0, .38);--mtx-select-disabled-text-color: rgba(0, 0, 0, .38);--mtx-select-multiple-value-background-color: #e0e0e0;--mtx-select-multiple-value-border-color: rgba(0, 0, 0, .12);--mtx-select-multiple-value-icon-hover-background-color: rgba(0, 0, 0, .12);--mtx-select-clear-icon-color: rgba(0, 0, 0, .54);--mtx-select-clear-icon-hover-color: #f44336;--mtx-select-enabled-arrow-color: rgba(0, 0, 0, .54);--mtx-select-disabled-arrow-color: rgba(0, 0, 0, .38);--mtx-select-invalid-arrow-color: #f44336;--mtx-select-panel-background-color: white;--mtx-select-panel-divider-color: rgba(0, 0, 0, .12);--mtx-select-optgroup-label-text-color: rgba(0, 0, 0, .54);--mtx-select-option-label-text-color: rgba(0, 0, 0, .87);--mtx-select-option-selected-state-background-color: rgba(0, 0, 0, .04);--mtx-select-option-hover-state-background-color: rgba(0, 0, 0, .04);--mtx-select-option-disabled-state-text-color: rgba(0, 0, 0, .38)}.ng-dropdown-panel.mat-accent{--mtx-select-option-selected-state-text-color: #ff4081}.ng-dropdown-panel.mat-warn{--mtx-select-option-selected-state-text-color: #f44336}.mdc-text-field--outlined .ng-select{padding-top:16px;padding-bottom:16px;margin-top:-16px;margin-bottom:-16px}.ng-select{padding-top:24px;padding-bottom:8px;margin-top:-24px;margin-bottom:-8px}.mdc-text-field--no-label .ng-select{padding-top:16px;padding-bottom:16px;margin-top:-16px;margin-bottom:-16px}html{--mtx-split-gutter-hover-state-background-color: #3f51b5;--mtx-split-gutter-background-color: rgba(0, 0, 0, .12)}.mtx-split>.mtx-split-gutter.mat-accent:hover{--mtx-split-gutter-hover-state-background-color: #ff4081}.mtx-split>.mtx-split-gutter.mat-warn:hover{--mtx-split-gutter-hover-state-background-color: #f44336}.mtx-mdc-tooltip{--mdc-plain-tooltip-container-color: #616161;--mdc-plain-tooltip-supporting-text-color: #fff}.mtx-mdc-tooltip{--mdc-plain-tooltip-supporting-text-font: Roboto, sans-serif;--mdc-plain-tooltip-supporting-text-size: 12px;--mdc-plain-tooltip-supporting-text-weight: 400;--mdc-plain-tooltip-supporting-text-tracking: .0333333333em}