-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy path799.1cf17a0c9e4ebad0.js
1 lines (1 loc) · 129 KB
/
799.1cf17a0c9e4ebad0.js
1
"use strict";(self.webpackChunkmaterial_angular_io=self.webpackChunkmaterial_angular_io||[]).push([[799],{799:(Ke,Q,x)=>{x.r(Q),x.d(Q,{FocusMonitorDirectivesExample:()=>$,FocusMonitorFocusViaExample:()=>k,FocusMonitorOverviewExample:()=>z});var n=x(4300),u=x(5879),c=x(8525),F=x(4170),G=x(3680);const q=["monitored"],w=["element"],I=["subtree"];let $=(()=>{class D{constructor(p,v){this._ngZone=p,this._cdr=v,this.elementOrigin=this.formatOrigin(null),this.subtreeOrigin=this.formatOrigin(null)}formatOrigin(p){return p?p+" focused":"blurred"}markForCheck(){this._ngZone.run(()=>this._cdr.markForCheck())}}return D.\u0275fac=function(p){return new(p||D)(u.Y36(u.R0b),u.Y36(u.sBO))},D.\u0275cmp=u.Xpm({type:D,selectors:[["focus-monitor-directives-example"]],standalone:!0,features:[u.jDz],decls:11,vars:2,consts:[[1,"example-focus-monitor"],["cdkMonitorSubtreeFocus","",3,"cdkFocusChange"]],template:function(p,v){1&p&&(u.TgZ(0,"div",0)(1,"button",1),u.NdJ("cdkFocusChange",function(A){return v.elementOrigin=v.formatOrigin(A),v.markForCheck()}),u._uU(2),u.qZA()(),u.TgZ(3,"div",0)(4,"div",1),u.NdJ("cdkFocusChange",function(A){return v.subtreeOrigin=v.formatOrigin(A),v.markForCheck()}),u.TgZ(5,"p"),u._uU(6),u.qZA(),u.TgZ(7,"button"),u._uU(8,"Child Button 1"),u.qZA(),u.TgZ(9,"button"),u._uU(10,"Child Button 2"),u.qZA()()()),2&p&&(u.xp6(2),u.hij(" Focus Monitored Element (",v.elementOrigin,") "),u.xp6(4),u.hij("Focus Monitored Subtree (",v.subtreeOrigin,")"))},dependencies:[n.rt,n.kH],styles:[".example-focus-monitor[_ngcontent-%COMP%] {\n padding: 20px;\n}\n\n.example-focus-monitor[_ngcontent-%COMP%] .cdk-mouse-focused[_ngcontent-%COMP%] {\n background: rgba(255, 0, 0, 0.5);\n}\n\n.example-focus-monitor[_ngcontent-%COMP%] .cdk-keyboard-focused[_ngcontent-%COMP%] {\n background: rgba(0, 255, 0, 0.5);\n}\n\n.example-focus-monitor[_ngcontent-%COMP%] .cdk-touch-focused[_ngcontent-%COMP%] {\n background: rgba(0, 0, 255, 0.5);\n}\n\n.example-focus-monitor[_ngcontent-%COMP%] .cdk-program-focused[_ngcontent-%COMP%] {\n background: rgba(255, 0, 255, 0.5);\n}\n\nbutton[_ngcontent-%COMP%] {\n margin-right: 12px;\n}"]}),D})(),k=(()=>{class D{constructor(p,v,y){this.focusMonitor=p,this._cdr=v,this._ngZone=y,this.origin=this.formatOrigin(null)}ngAfterViewInit(){this.focusMonitor.monitor(this.monitoredEl).subscribe(p=>this._ngZone.run(()=>{this.origin=this.formatOrigin(p),this._cdr.markForCheck()}))}ngOnDestroy(){this.focusMonitor.stopMonitoring(this.monitoredEl)}formatOrigin(p){return p?p+" focused":"blurred"}}return D.\u0275fac=function(p){return new(p||D)(u.Y36(n.tE),u.Y36(u.sBO),u.Y36(u.R0b))},D.\u0275cmp=u.Xpm({type:D,selectors:[["focus-monitor-focus-via-example"]],viewQuery:function(p,v){if(1&p&&u.Gf(q,5),2&p){let y;u.iGM(y=u.CRH())&&(v.monitoredEl=y.first)}},standalone:!0,features:[u.jDz],decls:24,vars:1,consts:[[1,"example-focus-monitor"],["monitored",""],["unmonitored",""],["value","mouse"],["simulatedOrigin",""],["value","keyboard"],["value","touch"],["value","program"],[3,"click"]],template:function(p,v){if(1&p){const y=u.EpF();u.TgZ(0,"div",0)(1,"button",null,1),u._uU(3),u.qZA(),u.TgZ(4,"button",null,2),u._uU(6,"2. Not Monitored"),u.qZA()(),u.TgZ(7,"mat-form-field")(8,"mat-label"),u._uU(9,"Simulated focus origin"),u.qZA(),u.TgZ(10,"mat-select",3,4)(12,"mat-option",3),u._uU(13,"Mouse"),u.qZA(),u.TgZ(14,"mat-option",5),u._uU(15,"Keyboard"),u.qZA(),u.TgZ(16,"mat-option",6),u._uU(17,"Touch"),u.qZA(),u.TgZ(18,"mat-option",7),u._uU(19,"Programmatic"),u.qZA()()(),u.TgZ(20,"button",8),u.NdJ("click",function(){u.CHM(y);const Y=u.MAs(2),W=u.MAs(11);return u.KtG(v.focusMonitor.focusVia(Y,W.value))}),u._uU(21," Focus button #1\n"),u.qZA(),u.TgZ(22,"button",8),u.NdJ("click",function(){u.CHM(y);const Y=u.MAs(5),W=u.MAs(11);return u.KtG(v.focusMonitor.focusVia(Y,W.value))}),u._uU(23," Focus button #2\n"),u.qZA()}2&p&&(u.xp6(3),u.hij("1. Focus Monitored Element (",v.origin,")"))},dependencies:[F.lN,F.KE,F.hX,c.LD,c.gD,G.ey],styles:[".example-focus-monitor[_ngcontent-%COMP%] {\n padding: 20px;\n}\n\n.example-focus-monitor[_ngcontent-%COMP%] .cdk-mouse-focused[_ngcontent-%COMP%] {\n background: rgba(255, 0, 0, 0.5);\n}\n\n.example-focus-monitor[_ngcontent-%COMP%] .cdk-keyboard-focused[_ngcontent-%COMP%] {\n background: rgba(0, 255, 0, 0.5);\n}\n\n.example-focus-monitor[_ngcontent-%COMP%] .cdk-touch-focused[_ngcontent-%COMP%] {\n background: rgba(0, 0, 255, 0.5);\n}\n\n.example-focus-monitor[_ngcontent-%COMP%] .cdk-program-focused[_ngcontent-%COMP%] {\n background: rgba(255, 0, 255, 0.5);\n}\n\n.example-focus-monitor[_ngcontent-%COMP%] button[_ngcontent-%COMP%]:focus {\n box-shadow: 0 0 30px cyan;\n}\n\nmat-form-field[_ngcontent-%COMP%], button[_ngcontent-%COMP%] {\n margin-right: 12px;\n}"]}),D})(),z=(()=>{class D{constructor(p,v,y){this._focusMonitor=p,this._cdr=v,this._ngZone=y,this.elementOrigin=this.formatOrigin(null),this.subtreeOrigin=this.formatOrigin(null)}ngAfterViewInit(){this._focusMonitor.monitor(this.element).subscribe(p=>this._ngZone.run(()=>{this.elementOrigin=this.formatOrigin(p),this._cdr.markForCheck()})),this._focusMonitor.monitor(this.subtree,!0).subscribe(p=>this._ngZone.run(()=>{this.subtreeOrigin=this.formatOrigin(p),this._cdr.markForCheck()}))}ngOnDestroy(){this._focusMonitor.stopMonitoring(this.element),this._focusMonitor.stopMonitoring(this.subtree)}formatOrigin(p){return p?p+" focused":"blurred"}}return D.\u0275fac=function(p){return new(p||D)(u.Y36(n.tE),u.Y36(u.sBO),u.Y36(u.R0b))},D.\u0275cmp=u.Xpm({type:D,selectors:[["focus-monitor-overview-example"]],viewQuery:function(p,v){if(1&p&&(u.Gf(w,5),u.Gf(I,5)),2&p){let y;u.iGM(y=u.CRH())&&(v.element=y.first),u.iGM(y=u.CRH())&&(v.subtree=y.first)}},standalone:!0,features:[u.jDz],decls:13,vars:2,consts:[[1,"example-focus-monitor"],["element",""],["subtree",""]],template:function(p,v){1&p&&(u.TgZ(0,"div",0)(1,"button",null,1),u._uU(3),u.qZA()(),u.TgZ(4,"div",0)(5,"div",null,2)(7,"p"),u._uU(8),u.qZA(),u.TgZ(9,"button"),u._uU(10,"Child Button 1"),u.qZA(),u.TgZ(11,"button"),u._uU(12,"Child Button 2"),u.qZA()()()),2&p&&(u.xp6(3),u.hij("Focus Monitored Element (",v.elementOrigin,")"),u.xp6(5),u.hij("Focus Monitored Subtree (",v.subtreeOrigin,")"))},styles:[".example-focus-monitor[_ngcontent-%COMP%] {\n padding: 20px;\n}\n\n.example-focus-monitor[_ngcontent-%COMP%] .cdk-mouse-focused[_ngcontent-%COMP%] {\n background: rgba(255, 0, 0, 0.5);\n}\n\n.example-focus-monitor[_ngcontent-%COMP%] .cdk-keyboard-focused[_ngcontent-%COMP%] {\n background: rgba(0, 255, 0, 0.5);\n}\n\n.example-focus-monitor[_ngcontent-%COMP%] .cdk-touch-focused[_ngcontent-%COMP%] {\n background: rgba(0, 0, 255, 0.5);\n}\n\n.example-focus-monitor[_ngcontent-%COMP%] .cdk-program-focused[_ngcontent-%COMP%] {\n background: rgba(255, 0, 255, 0.5);\n}\n\nbutton[_ngcontent-%COMP%] {\n margin-right: 12px;\n}"]}),D})()},6223:(Ke,Q,x)=>{x.d(Q,{Cf:()=>y,EJ:()=>Ze,F:()=>We,Fj:()=>E,JJ:()=>_,JL:()=>O,JU:()=>I,Kr:()=>It,NI:()=>Ve,On:()=>rt,Q7:()=>qe,UX:()=>wi,Wl:()=>$,YN:()=>kt,Zs:()=>ht,_Y:()=>wt,a5:()=>g,cw:()=>ne,eT:()=>lt,gN:()=>V,kI:()=>W,oH:()=>dt,qu:()=>Di,sg:()=>je,u:()=>ft,u5:()=>Fi,wV:()=>at});var n=x(5879),u=x(6814),c=x(5253),F=x(7504),G=x(6124);let q=(()=>{class i{constructor(e,o){this._renderer=e,this._elementRef=o,this.onChange=l=>{},this.onTouched=()=>{}}setProperty(e,o){this._renderer.setProperty(this._elementRef.nativeElement,e,o)}registerOnTouched(e){this.onTouched=e}registerOnChange(e){this.onChange=e}setDisabledState(e){this.setProperty("disabled",e)}}return i.\u0275fac=function(e){return new(e||i)(n.Y36(n.Qsj),n.Y36(n.SBq))},i.\u0275dir=n.lG2({type:i}),i})(),w=(()=>{class i extends q{}return i.\u0275fac=function(){let t;return function(o){return(t||(t=n.n5z(i)))(o||i)}}(),i.\u0275dir=n.lG2({type:i,features:[n.qOj]}),i})();const I=new n.OlP("NgValueAccessor"),H={provide:I,useExisting:(0,n.Gpc)(()=>$),multi:!0};let $=(()=>{class i extends w{writeValue(e){this.setProperty("checked",e)}}return i.\u0275fac=function(){let t;return function(o){return(t||(t=n.n5z(i)))(o||i)}}(),i.\u0275dir=n.lG2({type:i,selectors:[["input","type","checkbox","formControlName",""],["input","type","checkbox","formControl",""],["input","type","checkbox","ngModel",""]],hostBindings:function(e,o){1&e&&n.NdJ("change",function(h){return o.onChange(h.target.checked)})("blur",function(){return o.onTouched()})},features:[n._Bn([H]),n.qOj]}),i})();const k={provide:I,useExisting:(0,n.Gpc)(()=>E),multi:!0},D=new n.OlP("CompositionEventMode");let E=(()=>{class i extends q{constructor(e,o,l){super(e,o),this._compositionMode=l,this._composing=!1,null==this._compositionMode&&(this._compositionMode=!function z(){const i=(0,u.q)()?(0,u.q)().getUserAgent():"";return/android (\d+)/.test(i.toLowerCase())}())}writeValue(e){this.setProperty("value",e??"")}_handleInput(e){(!this._compositionMode||this._compositionMode&&!this._composing)&&this.onChange(e)}_compositionStart(){this._composing=!0}_compositionEnd(e){this._composing=!1,this._compositionMode&&this.onChange(e)}}return i.\u0275fac=function(e){return new(e||i)(n.Y36(n.Qsj),n.Y36(n.SBq),n.Y36(D,8))},i.\u0275dir=n.lG2({type:i,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(e,o){1&e&&n.NdJ("input",function(h){return o._handleInput(h.target.value)})("blur",function(){return o.onTouched()})("compositionstart",function(){return o._compositionStart()})("compositionend",function(h){return o._compositionEnd(h.target.value)})},features:[n._Bn([k]),n.qOj]}),i})();function p(i){return null==i||("string"==typeof i||Array.isArray(i))&&0===i.length}function v(i){return null!=i&&"number"==typeof i.length}const y=new n.OlP("NgValidators"),A=new n.OlP("NgAsyncValidators"),Y=/^(?=.{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 W{static min(t){return function me(i){return t=>{if(p(t.value)||p(i))return null;const e=parseFloat(t.value);return!isNaN(e)&&e<i?{min:{min:i,actual:t.value}}:null}}(t)}static max(t){return function U(i){return t=>{if(p(t.value)||p(i))return null;const e=parseFloat(t.value);return!isNaN(e)&&e>i?{max:{max:i,actual:t.value}}:null}}(t)}static required(t){return T(t)}static requiredTrue(t){return he(t)}static email(t){return function pe(i){return p(i.value)||Y.test(i.value)?null:{email:!0}}(t)}static minLength(t){return function ge(i){return t=>p(t.value)||!v(t.value)?null:t.value.length<i?{minlength:{requiredLength:i,actualLength:t.value.length}}:null}(t)}static maxLength(t){return function _e(i){return t=>v(t.value)&&t.value.length>i?{maxlength:{requiredLength:i,actualLength:t.value.length}}:null}(t)}static pattern(t){return function xe(i){if(!i)return J;let t,e;return"string"==typeof i?(e="","^"!==i.charAt(0)&&(e+="^"),e+=i,"$"!==i.charAt(i.length-1)&&(e+="$"),t=new RegExp(e)):(e=i.toString(),t=i),o=>{if(p(o.value))return null;const l=o.value;return t.test(l)?null:{pattern:{requiredPattern:e,actualValue:l}}}}(t)}static nullValidator(t){return null}static compose(t){return Se(t)}static composeAsync(t){return oe(t)}}function T(i){return p(i.value)?{required:!0}:null}function he(i){return!0===i.value?null:{required:!0}}function J(i){return null}function be(i){return null!=i}function ve(i){return(0,n.QGY)(i)?(0,c.D)(i):i}function ye(i){let t={};return i.forEach(e=>{t=null!=e?{...t,...e}:t}),0===Object.keys(t).length?null:t}function Ce(i,t){return t.map(e=>e(i))}function Ee(i){return i.map(t=>function Le(i){return!i.validate}(t)?t:e=>t.validate(e))}function Se(i){if(!i)return null;const t=i.filter(be);return 0==t.length?null:function(e){return ye(Ce(e,t))}}function X(i){return null!=i?Se(Ee(i)):null}function oe(i){if(!i)return null;const t=i.filter(be);return 0==t.length?null:function(e){const o=Ce(e,t).map(ve);return(0,F.D)(o).pipe((0,G.U)(ye))}}function re(i){return null!=i?oe(Ee(i)):null}function Me(i,t){return null===i?[t]:Array.isArray(i)?[...i,t]:[i,t]}function Oe(i){return i._rawValidators}function ae(i){return i._rawAsyncValidators}function le(i){return i?Array.isArray(i)?i:[i]:[]}function j(i,t){return Array.isArray(i)?i.includes(t):i===t}function De(i,t){const e=le(t);return le(i).forEach(l=>{j(e,l)||e.push(l)}),e}function se(i,t){return le(t).filter(e=>!j(i,e))}class Fe{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(t){this._rawValidators=t||[],this._composedValidatorFn=X(this._rawValidators)}_setAsyncValidators(t){this._rawAsyncValidators=t||[],this._composedAsyncValidatorFn=re(this._rawAsyncValidators)}get validator(){return this._composedValidatorFn||null}get asyncValidator(){return this._composedAsyncValidatorFn||null}_registerOnDestroy(t){this._onDestroyCallbacks.push(t)}_invokeOnDestroyCallbacks(){this._onDestroyCallbacks.forEach(t=>t()),this._onDestroyCallbacks=[]}reset(t=void 0){this.control&&this.control.reset(t)}hasError(t,e){return!!this.control&&this.control.hasError(t,e)}getError(t,e){return this.control?this.control.getError(t,e):null}}class V extends Fe{get formDirective(){return null}get path(){return null}}class g extends Fe{constructor(){super(...arguments),this._parent=null,this.name=null,this.valueAccessor=null}}class M{constructor(t){this._cd=t}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 _=(()=>{class i extends M{constructor(e){super(e)}}return i.\u0275fac=function(e){return new(e||i)(n.Y36(g,2))},i.\u0275dir=n.lG2({type:i,selectors:[["","formControlName",""],["","ngModel",""],["","formControl",""]],hostVars:14,hostBindings:function(e,o){2&e&&n.ekj("ng-untouched",o.isUntouched)("ng-touched",o.isTouched)("ng-pristine",o.isPristine)("ng-dirty",o.isDirty)("ng-valid",o.isValid)("ng-invalid",o.isInvalid)("ng-pending",o.isPending)},features:[n.qOj]}),i})(),O=(()=>{class i extends M{constructor(e){super(e)}}return i.\u0275fac=function(e){return new(e||i)(n.Y36(V,10))},i.\u0275dir=n.lG2({type:i,selectors:[["","formGroupName",""],["","formArrayName",""],["","ngModelGroup",""],["","formGroup",""],["form",3,"ngNoForm",""],["","ngForm",""]],hostVars:16,hostBindings:function(e,o){2&e&&n.ekj("ng-untouched",o.isUntouched)("ng-touched",o.isTouched)("ng-pristine",o.isPristine)("ng-dirty",o.isDirty)("ng-valid",o.isValid)("ng-invalid",o.isInvalid)("ng-pending",o.isPending)("ng-submitted",o.isSubmitted)},features:[n.qOj]}),i})();const ce="VALID",Ae="INVALID",ee="PENDING",s="DISABLED";function m(i){return(C(i)?i.validators:i)||null}function f(i,t){return(C(t)?t.asyncValidators:i)||null}function C(i){return null!=i&&!Array.isArray(i)&&"object"==typeof i}function te(i,t,e){const o=i.controls;if(!(t?Object.keys(o):o).length)throw new n.vHH(1e3,"");if(!o[e])throw new n.vHH(1001,"")}function L(i,t,e){i._forEachChild((o,l)=>{if(void 0===e[l])throw new n.vHH(1002,"")})}class ie{constructor(t,e){this._pendingDirty=!1,this._hasOwnPendingAsyncValidator=!1,this._pendingTouched=!1,this._onCollectionChange=()=>{},this._parent=null,this.pristine=!0,this.touched=!1,this._onDisabledChange=[],this._assignValidators(t),this._assignAsyncValidators(e)}get validator(){return this._composedValidatorFn}set validator(t){this._rawValidators=this._composedValidatorFn=t}get asyncValidator(){return this._composedAsyncValidatorFn}set asyncValidator(t){this._rawAsyncValidators=this._composedAsyncValidatorFn=t}get parent(){return this._parent}get valid(){return this.status===ce}get invalid(){return this.status===Ae}get pending(){return this.status==ee}get disabled(){return this.status===s}get enabled(){return this.status!==s}get dirty(){return!this.pristine}get untouched(){return!this.touched}get updateOn(){return this._updateOn?this._updateOn:this.parent?this.parent.updateOn:"change"}setValidators(t){this._assignValidators(t)}setAsyncValidators(t){this._assignAsyncValidators(t)}addValidators(t){this.setValidators(De(t,this._rawValidators))}addAsyncValidators(t){this.setAsyncValidators(De(t,this._rawAsyncValidators))}removeValidators(t){this.setValidators(se(t,this._rawValidators))}removeAsyncValidators(t){this.setAsyncValidators(se(t,this._rawAsyncValidators))}hasValidator(t){return j(this._rawValidators,t)}hasAsyncValidator(t){return j(this._rawAsyncValidators,t)}clearValidators(){this.validator=null}clearAsyncValidators(){this.asyncValidator=null}markAsTouched(t={}){this.touched=!0,this._parent&&!t.onlySelf&&this._parent.markAsTouched(t)}markAllAsTouched(){this.markAsTouched({onlySelf:!0}),this._forEachChild(t=>t.markAllAsTouched())}markAsUntouched(t={}){this.touched=!1,this._pendingTouched=!1,this._forEachChild(e=>{e.markAsUntouched({onlySelf:!0})}),this._parent&&!t.onlySelf&&this._parent._updateTouched(t)}markAsDirty(t={}){this.pristine=!1,this._parent&&!t.onlySelf&&this._parent.markAsDirty(t)}markAsPristine(t={}){this.pristine=!0,this._pendingDirty=!1,this._forEachChild(e=>{e.markAsPristine({onlySelf:!0})}),this._parent&&!t.onlySelf&&this._parent._updatePristine(t)}markAsPending(t={}){this.status=ee,!1!==t.emitEvent&&this.statusChanges.emit(this.status),this._parent&&!t.onlySelf&&this._parent.markAsPending(t)}disable(t={}){const e=this._parentMarkedDirty(t.onlySelf);this.status=s,this.errors=null,this._forEachChild(o=>{o.disable({...t,onlySelf:!0})}),this._updateValue(),!1!==t.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors({...t,skipPristineCheck:e}),this._onDisabledChange.forEach(o=>o(!0))}enable(t={}){const e=this._parentMarkedDirty(t.onlySelf);this.status=ce,this._forEachChild(o=>{o.enable({...t,onlySelf:!0})}),this.updateValueAndValidity({onlySelf:!0,emitEvent:t.emitEvent}),this._updateAncestors({...t,skipPristineCheck:e}),this._onDisabledChange.forEach(o=>o(!1))}_updateAncestors(t){this._parent&&!t.onlySelf&&(this._parent.updateValueAndValidity(t),t.skipPristineCheck||this._parent._updatePristine(),this._parent._updateTouched())}setParent(t){this._parent=t}getRawValue(){return this.value}updateValueAndValidity(t={}){this._setInitialStatus(),this._updateValue(),this.enabled&&(this._cancelExistingSubscription(),this.errors=this._runValidator(),this.status=this._calculateStatus(),(this.status===ce||this.status===ee)&&this._runAsyncValidator(t.emitEvent)),!1!==t.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._parent&&!t.onlySelf&&this._parent.updateValueAndValidity(t)}_updateTreeValidity(t={emitEvent:!0}){this._forEachChild(e=>e._updateTreeValidity(t)),this.updateValueAndValidity({onlySelf:!0,emitEvent:t.emitEvent})}_setInitialStatus(){this.status=this._allControlsDisabled()?s:ce}_runValidator(){return this.validator?this.validator(this):null}_runAsyncValidator(t){if(this.asyncValidator){this.status=ee,this._hasOwnPendingAsyncValidator=!0;const e=ve(this.asyncValidator(this));this._asyncValidationSubscription=e.subscribe(o=>{this._hasOwnPendingAsyncValidator=!1,this.setErrors(o,{emitEvent:t})})}}_cancelExistingSubscription(){this._asyncValidationSubscription&&(this._asyncValidationSubscription.unsubscribe(),this._hasOwnPendingAsyncValidator=!1)}setErrors(t,e={}){this.errors=t,this._updateControlsErrors(!1!==e.emitEvent)}get(t){let e=t;return null==e||(Array.isArray(e)||(e=e.split(".")),0===e.length)?null:e.reduce((o,l)=>o&&o._find(l),this)}getError(t,e){const o=e?this.get(e):this;return o&&o.errors?o.errors[t]:null}hasError(t,e){return!!this.getError(t,e)}get root(){let t=this;for(;t._parent;)t=t._parent;return t}_updateControlsErrors(t){this.status=this._calculateStatus(),t&&this.statusChanges.emit(this.status),this._parent&&this._parent._updateControlsErrors(t)}_initObservables(){this.valueChanges=new n.vpe,this.statusChanges=new n.vpe}_calculateStatus(){return this._allControlsDisabled()?s:this.errors?Ae:this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus(ee)?ee:this._anyControlsHaveStatus(Ae)?Ae:ce}_anyControlsHaveStatus(t){return this._anyControls(e=>e.status===t)}_anyControlsDirty(){return this._anyControls(t=>t.dirty)}_anyControlsTouched(){return this._anyControls(t=>t.touched)}_updatePristine(t={}){this.pristine=!this._anyControlsDirty(),this._parent&&!t.onlySelf&&this._parent._updatePristine(t)}_updateTouched(t={}){this.touched=this._anyControlsTouched(),this._parent&&!t.onlySelf&&this._parent._updateTouched(t)}_registerOnCollectionChange(t){this._onCollectionChange=t}_setUpdateStrategy(t){C(t)&&null!=t.updateOn&&(this._updateOn=t.updateOn)}_parentMarkedDirty(t){return!t&&!(!this._parent||!this._parent.dirty)&&!this._parent._anyControlsDirty()}_find(t){return null}_assignValidators(t){this._rawValidators=Array.isArray(t)?t.slice():t,this._composedValidatorFn=function a(i){return Array.isArray(i)?X(i):i||null}(this._rawValidators)}_assignAsyncValidators(t){this._rawAsyncValidators=Array.isArray(t)?t.slice():t,this._composedAsyncValidatorFn=function b(i){return Array.isArray(i)?re(i):i||null}(this._rawAsyncValidators)}}class ne extends ie{constructor(t,e,o){super(m(e),f(o,e)),this.controls=t,this._initObservables(),this._setUpdateStrategy(e),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}registerControl(t,e){return this.controls[t]?this.controls[t]:(this.controls[t]=e,e.setParent(this),e._registerOnCollectionChange(this._onCollectionChange),e)}addControl(t,e,o={}){this.registerControl(t,e),this.updateValueAndValidity({emitEvent:o.emitEvent}),this._onCollectionChange()}removeControl(t,e={}){this.controls[t]&&this.controls[t]._registerOnCollectionChange(()=>{}),delete this.controls[t],this.updateValueAndValidity({emitEvent:e.emitEvent}),this._onCollectionChange()}setControl(t,e,o={}){this.controls[t]&&this.controls[t]._registerOnCollectionChange(()=>{}),delete this.controls[t],e&&this.registerControl(t,e),this.updateValueAndValidity({emitEvent:o.emitEvent}),this._onCollectionChange()}contains(t){return this.controls.hasOwnProperty(t)&&this.controls[t].enabled}setValue(t,e={}){L(this,0,t),Object.keys(t).forEach(o=>{te(this,!0,o),this.controls[o].setValue(t[o],{onlySelf:!0,emitEvent:e.emitEvent})}),this.updateValueAndValidity(e)}patchValue(t,e={}){null!=t&&(Object.keys(t).forEach(o=>{const l=this.controls[o];l&&l.patchValue(t[o],{onlySelf:!0,emitEvent:e.emitEvent})}),this.updateValueAndValidity(e))}reset(t={},e={}){this._forEachChild((o,l)=>{o.reset(t[l],{onlySelf:!0,emitEvent:e.emitEvent})}),this._updatePristine(e),this._updateTouched(e),this.updateValueAndValidity(e)}getRawValue(){return this._reduceChildren({},(t,e,o)=>(t[o]=e.getRawValue(),t))}_syncPendingControls(){let t=this._reduceChildren(!1,(e,o)=>!!o._syncPendingControls()||e);return t&&this.updateValueAndValidity({onlySelf:!0}),t}_forEachChild(t){Object.keys(this.controls).forEach(e=>{const o=this.controls[e];o&&t(o,e)})}_setUpControls(){this._forEachChild(t=>{t.setParent(this),t._registerOnCollectionChange(this._onCollectionChange)})}_updateValue(){this.value=this._reduceValue()}_anyControls(t){for(const[e,o]of Object.entries(this.controls))if(this.contains(e)&&t(o))return!0;return!1}_reduceValue(){return this._reduceChildren({},(e,o,l)=>((o.enabled||this.disabled)&&(e[l]=o.value),e))}_reduceChildren(t,e){let o=t;return this._forEachChild((l,h)=>{o=e(o,l,h)}),o}_allControlsDisabled(){for(const t of Object.keys(this.controls))if(this.controls[t].enabled)return!1;return Object.keys(this.controls).length>0||this.disabled}_find(t){return this.controls.hasOwnProperty(t)?this.controls[t]:null}}class xt extends ne{}const ue=new n.OlP("CallSetDisabledState",{providedIn:"root",factory:()=>Re}),Re="always";function He(i,t){return[...t.path,i]}function Ne(i,t,e=Re){tt(i,t),t.valueAccessor.writeValue(i.value),(i.disabled||"always"===e)&&t.valueAccessor.setDisabledState?.(i.disabled),function Zt(i,t){t.valueAccessor.registerOnChange(e=>{i._pendingValue=e,i._pendingChange=!0,i._pendingDirty=!0,"change"===i.updateOn&&bt(i,t)})}(i,t),function $t(i,t){const e=(o,l)=>{t.valueAccessor.writeValue(o),l&&t.viewToModelUpdate(o)};i.registerOnChange(e),t._registerOnDestroy(()=>{i._unregisterOnChange(e)})}(i,t),function qt(i,t){t.valueAccessor.registerOnTouched(()=>{i._pendingTouched=!0,"blur"===i.updateOn&&i._pendingChange&&bt(i,t),"submit"!==i.updateOn&&i.markAsTouched()})}(i,t),function jt(i,t){if(t.valueAccessor.setDisabledState){const e=o=>{t.valueAccessor.setDisabledState(o)};i.registerOnDisabledChange(e),t._registerOnDestroy(()=>{i._unregisterOnDisabledChange(e)})}}(i,t)}function Ue(i,t,e=!0){const o=()=>{};t.valueAccessor&&(t.valueAccessor.registerOnChange(o),t.valueAccessor.registerOnTouched(o)),Ye(i,t),i&&(t._invokeOnDestroyCallbacks(),i._registerOnCollectionChange(()=>{}))}function ze(i,t){i.forEach(e=>{e.registerOnValidatorChange&&e.registerOnValidatorChange(t)})}function tt(i,t){const e=Oe(i);null!==t.validator?i.setValidators(Me(e,t.validator)):"function"==typeof e&&i.setValidators([e]);const o=ae(i);null!==t.asyncValidator?i.setAsyncValidators(Me(o,t.asyncValidator)):"function"==typeof o&&i.setAsyncValidators([o]);const l=()=>i.updateValueAndValidity();ze(t._rawValidators,l),ze(t._rawAsyncValidators,l)}function Ye(i,t){let e=!1;if(null!==i){if(null!==t.validator){const l=Oe(i);if(Array.isArray(l)&&l.length>0){const h=l.filter(S=>S!==t.validator);h.length!==l.length&&(e=!0,i.setValidators(h))}}if(null!==t.asyncValidator){const l=ae(i);if(Array.isArray(l)&&l.length>0){const h=l.filter(S=>S!==t.asyncValidator);h.length!==l.length&&(e=!0,i.setAsyncValidators(h))}}}const o=()=>{};return ze(t._rawValidators,o),ze(t._rawAsyncValidators,o),e}function bt(i,t){i._pendingDirty&&i.markAsDirty(),i.setValue(i._pendingValue,{emitModelToViewChange:!1}),t.viewToModelUpdate(i._pendingValue),i._pendingChange=!1}function vt(i,t){tt(i,t)}function nt(i,t){if(!i.hasOwnProperty("model"))return!1;const e=i.model;return!!e.isFirstChange()||!Object.is(t,e.currentValue)}function yt(i,t){i._syncPendingControls(),t.forEach(e=>{const o=e.control;"submit"===o.updateOn&&o._pendingChange&&(e.viewToModelUpdate(o._pendingValue),o._pendingChange=!1)})}function ot(i,t){if(!t)return null;let e,o,l;return Array.isArray(t),t.forEach(h=>{h.constructor===E?e=h:function Jt(i){return Object.getPrototypeOf(i.constructor)===w}(h)?o=h:l=h}),l||o||e||null}const ei={provide:V,useExisting:(0,n.Gpc)(()=>We)},Be=(()=>Promise.resolve())();let We=(()=>{class i extends V{constructor(e,o,l){super(),this.callSetDisabledState=l,this.submitted=!1,this._directives=new Set,this.ngSubmit=new n.vpe,this.form=new ne({},X(e),re(o))}ngAfterViewInit(){this._setUpdateStrategy()}get formDirective(){return this}get control(){return this.form}get path(){return[]}get controls(){return this.form.controls}addControl(e){Be.then(()=>{const o=this._findContainer(e.path);e.control=o.registerControl(e.name,e.control),Ne(e.control,e,this.callSetDisabledState),e.control.updateValueAndValidity({emitEvent:!1}),this._directives.add(e)})}getControl(e){return this.form.get(e.path)}removeControl(e){Be.then(()=>{const o=this._findContainer(e.path);o&&o.removeControl(e.name),this._directives.delete(e)})}addFormGroup(e){Be.then(()=>{const o=this._findContainer(e.path),l=new ne({});vt(l,e),o.registerControl(e.name,l),l.updateValueAndValidity({emitEvent:!1})})}removeFormGroup(e){Be.then(()=>{const o=this._findContainer(e.path);o&&o.removeControl(e.name)})}getFormGroup(e){return this.form.get(e.path)}updateModel(e,o){Be.then(()=>{this.form.get(e.path).setValue(o)})}setValue(e){this.control.setValue(e)}onSubmit(e){return this.submitted=!0,yt(this.form,this._directives),this.ngSubmit.emit(e),"dialog"===e?.target?.method}onReset(){this.resetForm()}resetForm(e=void 0){this.form.reset(e),this.submitted=!1}_setUpdateStrategy(){this.options&&null!=this.options.updateOn&&(this.form._updateOn=this.options.updateOn)}_findContainer(e){return e.pop(),e.length?this.form.get(e):this.form}}return i.\u0275fac=function(e){return new(e||i)(n.Y36(y,10),n.Y36(A,10),n.Y36(ue,8))},i.\u0275dir=n.lG2({type:i,selectors:[["form",3,"ngNoForm","",3,"formGroup",""],["ng-form"],["","ngForm",""]],hostBindings:function(e,o){1&e&&n.NdJ("submit",function(h){return o.onSubmit(h)})("reset",function(){return o.onReset()})},inputs:{options:["ngFormOptions","options"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[n._Bn([ei]),n.qOj]}),i})();function Ct(i,t){const e=i.indexOf(t);e>-1&&i.splice(e,1)}function Mt(i){return"object"==typeof i&&null!==i&&2===Object.keys(i).length&&"value"in i&&"disabled"in i}const Ve=class extends ie{constructor(t=null,e,o){super(m(e),f(o,e)),this.defaultValue=null,this._onChange=[],this._pendingChange=!1,this._applyFormState(t),this._setUpdateStrategy(e),this._initObservables(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator}),C(e)&&(e.nonNullable||e.initialValueIsDefault)&&(this.defaultValue=Mt(t)?t.value:t)}setValue(t,e={}){this.value=this._pendingValue=t,this._onChange.length&&!1!==e.emitModelToViewChange&&this._onChange.forEach(o=>o(this.value,!1!==e.emitViewToModelChange)),this.updateValueAndValidity(e)}patchValue(t,e={}){this.setValue(t,e)}reset(t=this.defaultValue,e={}){this._applyFormState(t),this.markAsPristine(e),this.markAsUntouched(e),this.setValue(this.value,e),this._pendingChange=!1}_updateValue(){}_anyControls(t){return!1}_allControlsDisabled(){return this.disabled}registerOnChange(t){this._onChange.push(t)}_unregisterOnChange(t){Ct(this._onChange,t)}registerOnDisabledChange(t){this._onDisabledChange.push(t)}_unregisterOnDisabledChange(t){Ct(this._onDisabledChange,t)}_forEachChild(t){}_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(t){Mt(t)?(this.value=this._pendingValue=t.value,t.disabled?this.disable({onlySelf:!0,emitEvent:!1}):this.enable({onlySelf:!0,emitEvent:!1})):this.value=this._pendingValue=t}},ni={provide:g,useExisting:(0,n.Gpc)(()=>rt)},Ft=(()=>Promise.resolve())();let rt=(()=>{class i extends g{constructor(e,o,l,h,S,K){super(),this._changeDetectorRef=S,this.callSetDisabledState=K,this.control=new Ve,this._registered=!1,this.name="",this.update=new n.vpe,this._parent=e,this._setValidators(o),this._setAsyncValidators(l),this.valueAccessor=ot(0,h)}ngOnChanges(e){if(this._checkForErrors(),!this._registered||"name"in e){if(this._registered&&(this._checkName(),this.formDirective)){const o=e.name.previousValue;this.formDirective.removeControl({name:o,path:this._getPath(o)})}this._setUpControl()}"isDisabled"in e&&this._updateDisabled(e),nt(e,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(e){this.viewModel=e,this.update.emit(e)}_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(){Ne(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(e){Ft.then(()=>{this.control.setValue(e,{emitViewToModelChange:!1}),this._changeDetectorRef?.markForCheck()})}_updateDisabled(e){const o=e.isDisabled.currentValue,l=0!==o&&(0,n.VuI)(o);Ft.then(()=>{l&&!this.control.disabled?this.control.disable():!l&&this.control.disabled&&this.control.enable(),this._changeDetectorRef?.markForCheck()})}_getPath(e){return this._parent?He(e,this._parent):[e]}}return i.\u0275fac=function(e){return new(e||i)(n.Y36(V,9),n.Y36(y,10),n.Y36(A,10),n.Y36(I,10),n.Y36(n.sBO,8),n.Y36(ue,8))},i.\u0275dir=n.lG2({type:i,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([ni]),n.qOj,n.TTD]}),i})(),wt=(()=>{class i{}return i.\u0275fac=function(e){return new(e||i)},i.\u0275dir=n.lG2({type:i,selectors:[["form",3,"ngNoForm","",3,"ngNativeValidate",""]],hostAttrs:["novalidate",""]}),i})();const oi={provide:I,useExisting:(0,n.Gpc)(()=>at),multi:!0};let at=(()=>{class i extends w{writeValue(e){this.setProperty("value",e??"")}registerOnChange(e){this.onChange=o=>{e(""==o?null:parseFloat(o))}}}return i.\u0275fac=function(){let t;return function(o){return(t||(t=n.n5z(i)))(o||i)}}(),i.\u0275dir=n.lG2({type:i,selectors:[["input","type","number","formControlName",""],["input","type","number","formControl",""],["input","type","number","ngModel",""]],hostBindings:function(e,o){1&e&&n.NdJ("input",function(h){return o.onChange(h.target.value)})("blur",function(){return o.onTouched()})},features:[n._Bn([oi]),n.qOj]}),i})(),At=(()=>{class i{}return i.\u0275fac=function(e){return new(e||i)},i.\u0275mod=n.oAB({type:i}),i.\u0275inj=n.cJS({}),i})();const li={provide:I,useExisting:(0,n.Gpc)(()=>lt),multi:!0};let lt=(()=>{class i extends w{writeValue(e){this.setProperty("value",parseFloat(e))}registerOnChange(e){this.onChange=o=>{e(""==o?null:parseFloat(o))}}}return i.\u0275fac=function(){let t;return function(o){return(t||(t=n.n5z(i)))(o||i)}}(),i.\u0275dir=n.lG2({type:i,selectors:[["input","type","range","formControlName",""],["input","type","range","formControl",""],["input","type","range","ngModel",""]],hostBindings:function(e,o){1&e&&n.NdJ("change",function(h){return o.onChange(h.target.value)})("input",function(h){return o.onChange(h.target.value)})("blur",function(){return o.onTouched()})},features:[n._Bn([li]),n.qOj]}),i})();const st=new n.OlP("NgModelWithFormControlWarning"),si={provide:g,useExisting:(0,n.Gpc)(()=>dt)};let dt=(()=>{class i extends g{set isDisabled(e){}constructor(e,o,l,h,S){super(),this._ngModelWarningConfig=h,this.callSetDisabledState=S,this.update=new n.vpe,this._ngModelWarningSent=!1,this._setValidators(e),this._setAsyncValidators(o),this.valueAccessor=ot(0,l)}ngOnChanges(e){if(this._isControlChanged(e)){const o=e.form.previousValue;o&&Ue(o,this,!1),Ne(this.form,this,this.callSetDisabledState),this.form.updateValueAndValidity({emitEvent:!1})}nt(e,this.viewModel)&&(this.form.setValue(this.model),this.viewModel=this.model)}ngOnDestroy(){this.form&&Ue(this.form,this,!1)}get path(){return[]}get control(){return this.form}viewToModelUpdate(e){this.viewModel=e,this.update.emit(e)}_isControlChanged(e){return e.hasOwnProperty("form")}}return i._ngModelWarningSentOnce=!1,i.\u0275fac=function(e){return new(e||i)(n.Y36(y,10),n.Y36(A,10),n.Y36(I,10),n.Y36(st,8),n.Y36(ue,8))},i.\u0275dir=n.lG2({type:i,selectors:[["","formControl",""]],inputs:{form:["formControl","form"],isDisabled:["disabled","isDisabled"],model:["ngModel","model"]},outputs:{update:"ngModelChange"},exportAs:["ngForm"],features:[n._Bn([si]),n.qOj,n.TTD]}),i})();const di={provide:V,useExisting:(0,n.Gpc)(()=>je)};let je=(()=>{class i extends V{constructor(e,o,l){super(),this.callSetDisabledState=l,this.submitted=!1,this._onCollectionChange=()=>this._updateDomValue(),this.directives=[],this.form=null,this.ngSubmit=new n.vpe,this._setValidators(e),this._setAsyncValidators(o)}ngOnChanges(e){this._checkFormPresent(),e.hasOwnProperty("form")&&(this._updateValidators(),this._updateDomValue(),this._updateRegistrations(),this._oldForm=this.form)}ngOnDestroy(){this.form&&(Ye(this.form,this),this.form._onCollectionChange===this._onCollectionChange&&this.form._registerOnCollectionChange(()=>{}))}get formDirective(){return this}get control(){return this.form}get path(){return[]}addControl(e){const o=this.form.get(e.path);return Ne(o,e,this.callSetDisabledState),o.updateValueAndValidity({emitEvent:!1}),this.directives.push(e),o}getControl(e){return this.form.get(e.path)}removeControl(e){Ue(e.control||null,e,!1),function Xt(i,t){const e=i.indexOf(t);e>-1&&i.splice(e,1)}(this.directives,e)}addFormGroup(e){this._setUpFormContainer(e)}removeFormGroup(e){this._cleanUpFormContainer(e)}getFormGroup(e){return this.form.get(e.path)}addFormArray(e){this._setUpFormContainer(e)}removeFormArray(e){this._cleanUpFormContainer(e)}getFormArray(e){return this.form.get(e.path)}updateModel(e,o){this.form.get(e.path).setValue(o)}onSubmit(e){return this.submitted=!0,yt(this.form,this.directives),this.ngSubmit.emit(e),"dialog"===e?.target?.method}onReset(){this.resetForm()}resetForm(e=void 0){this.form.reset(e),this.submitted=!1}_updateDomValue(){this.directives.forEach(e=>{const o=e.control,l=this.form.get(e.path);o!==l&&(Ue(o||null,e),(i=>i instanceof Ve)(l)&&(Ne(l,e,this.callSetDisabledState),e.control=l))}),this.form._updateTreeValidity({emitEvent:!1})}_setUpFormContainer(e){const o=this.form.get(e.path);vt(o,e),o.updateValueAndValidity({emitEvent:!1})}_cleanUpFormContainer(e){if(this.form){const o=this.form.get(e.path);o&&function Kt(i,t){return Ye(i,t)}(o,e)&&o.updateValueAndValidity({emitEvent:!1})}}_updateRegistrations(){this.form._registerOnCollectionChange(this._onCollectionChange),this._oldForm&&this._oldForm._registerOnCollectionChange(()=>{})}_updateValidators(){tt(this.form,this),this._oldForm&&Ye(this._oldForm,this)}_checkFormPresent(){}}return i.\u0275fac=function(e){return new(e||i)(n.Y36(y,10),n.Y36(A,10),n.Y36(ue,8))},i.\u0275dir=n.lG2({type:i,selectors:[["","formGroup",""]],hostBindings:function(e,o){1&e&&n.NdJ("submit",function(h){return o.onSubmit(h)})("reset",function(){return o.onReset()})},inputs:{form:["formGroup","form"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[n._Bn([di]),n.qOj,n.TTD]}),i})();const fi={provide:g,useExisting:(0,n.Gpc)(()=>ft)};let ft=(()=>{class i extends g{set isDisabled(e){}constructor(e,o,l,h,S){super(),this._ngModelWarningConfig=S,this._added=!1,this.name=null,this.update=new n.vpe,this._ngModelWarningSent=!1,this._parent=e,this._setValidators(o),this._setAsyncValidators(l),this.valueAccessor=ot(0,h)}ngOnChanges(e){this._added||this._setUpControl(),nt(e,this.viewModel)&&(this.viewModel=this.model,this.formDirective.updateModel(this,this.model))}ngOnDestroy(){this.formDirective&&this.formDirective.removeControl(this)}viewToModelUpdate(e){this.viewModel=e,this.update.emit(e)}get path(){return He(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}}return i._ngModelWarningSentOnce=!1,i.\u0275fac=function(e){return new(e||i)(n.Y36(V,13),n.Y36(y,10),n.Y36(A,10),n.Y36(I,10),n.Y36(st,8))},i.\u0275dir=n.lG2({type:i,selectors:[["","formControlName",""]],inputs:{name:["formControlName","name"],isDisabled:["disabled","isDisabled"],model:["ngModel","model"]},outputs:{update:"ngModelChange"},features:[n._Bn([fi]),n.qOj,n.TTD]}),i})();const mi={provide:I,useExisting:(0,n.Gpc)(()=>Ze),multi:!0};function St(i,t){return null==i?`${t}`:(t&&"object"==typeof t&&(t="Object"),`${i}: ${t}`.slice(0,50))}let Ze=(()=>{class i extends w{constructor(){super(...arguments),this._optionMap=new Map,this._idCounter=0,this._compareWith=Object.is}set compareWith(e){this._compareWith=e}writeValue(e){this.value=e;const l=St(this._getOptionId(e),e);this.setProperty("value",l)}registerOnChange(e){this.onChange=o=>{this.value=this._getOptionValue(o),e(this.value)}}_registerOption(){return(this._idCounter++).toString()}_getOptionId(e){for(const o of this._optionMap.keys())if(this._compareWith(this._optionMap.get(o),e))return o;return null}_getOptionValue(e){const o=function hi(i){return i.split(":")[0]}(e);return this._optionMap.has(o)?this._optionMap.get(o):e}}return i.\u0275fac=function(){let t;return function(o){return(t||(t=n.n5z(i)))(o||i)}}(),i.\u0275dir=n.lG2({type:i,selectors:[["select","formControlName","",3,"multiple",""],["select","formControl","",3,"multiple",""],["select","ngModel","",3,"multiple",""]],hostBindings:function(e,o){1&e&&n.NdJ("change",function(h){return o.onChange(h.target.value)})("blur",function(){return o.onTouched()})},inputs:{compareWith:"compareWith"},features:[n._Bn([mi]),n.qOj]}),i})(),kt=(()=>{class i{constructor(e,o,l){this._element=e,this._renderer=o,this._select=l,this._select&&(this.id=this._select._registerOption())}set ngValue(e){null!=this._select&&(this._select._optionMap.set(this.id,e),this._setElementValue(St(this.id,e)),this._select.writeValue(this._select.value))}set value(e){this._setElementValue(e),this._select&&this._select.writeValue(this._select.value)}_setElementValue(e){this._renderer.setProperty(this._element.nativeElement,"value",e)}ngOnDestroy(){this._select&&(this._select._optionMap.delete(this.id),this._select.writeValue(this._select.value))}}return i.\u0275fac=function(e){return new(e||i)(n.Y36(n.SBq),n.Y36(n.Qsj),n.Y36(Ze,9))},i.\u0275dir=n.lG2({type:i,selectors:[["option"]],inputs:{ngValue:"ngValue",value:"value"}}),i})();const pi={provide:I,useExisting:(0,n.Gpc)(()=>mt),multi:!0};function Tt(i,t){return null==i?`${t}`:("string"==typeof t&&(t=`'${t}'`),t&&"object"==typeof t&&(t="Object"),`${i}: ${t}`.slice(0,50))}let mt=(()=>{class i extends w{constructor(){super(...arguments),this._optionMap=new Map,this._idCounter=0,this._compareWith=Object.is}set compareWith(e){this._compareWith=e}writeValue(e){let o;if(this.value=e,Array.isArray(e)){const l=e.map(h=>this._getOptionId(h));o=(h,S)=>{h._setSelected(l.indexOf(S.toString())>-1)}}else o=(l,h)=>{l._setSelected(!1)};this._optionMap.forEach(o)}registerOnChange(e){this.onChange=o=>{const l=[],h=o.selectedOptions;if(void 0!==h){const S=h;for(let K=0;K<S.length;K++){const pt=this._getOptionValue(S[K].value);l.push(pt)}}else{const S=o.options;for(let K=0;K<S.length;K++){const $e=S[K];if($e.selected){const pt=this._getOptionValue($e.value);l.push(pt)}}}this.value=l,e(l)}}_registerOption(e){const o=(this._idCounter++).toString();return this._optionMap.set(o,e),o}_getOptionId(e){for(const o of this._optionMap.keys())if(this._compareWith(this._optionMap.get(o)._value,e))return o;return null}_getOptionValue(e){const o=function gi(i){return i.split(":")[0]}(e);return this._optionMap.has(o)?this._optionMap.get(o)._value:e}}return i.\u0275fac=function(){let t;return function(o){return(t||(t=n.n5z(i)))(o||i)}}(),i.\u0275dir=n.lG2({type:i,selectors:[["select","multiple","","formControlName",""],["select","multiple","","formControl",""],["select","multiple","","ngModel",""]],hostBindings:function(e,o){1&e&&n.NdJ("change",function(h){return o.onChange(h.target)})("blur",function(){return o.onTouched()})},inputs:{compareWith:"compareWith"},features:[n._Bn([pi]),n.qOj]}),i})(),It=(()=>{class i{constructor(e,o,l){this._element=e,this._renderer=o,this._select=l,this._select&&(this.id=this._select._registerOption(this))}set ngValue(e){null!=this._select&&(this._value=e,this._setElementValue(Tt(this.id,e)),this._select.writeValue(this._select.value))}set value(e){this._select?(this._value=e,this._setElementValue(Tt(this.id,e)),this._select.writeValue(this._select.value)):this._setElementValue(e)}_setElementValue(e){this._renderer.setProperty(this._element.nativeElement,"value",e)}_setSelected(e){this._renderer.setProperty(this._element.nativeElement,"selected",e)}ngOnDestroy(){this._select&&(this._select._optionMap.delete(this.id),this._select.writeValue(this._select.value))}}return i.\u0275fac=function(e){return new(e||i)(n.Y36(n.SBq),n.Y36(n.Qsj),n.Y36(mt,9))},i.\u0275dir=n.lG2({type:i,selectors:[["option"]],inputs:{ngValue:"ngValue",value:"value"}}),i})(),fe=(()=>{class i{constructor(){this._validator=J}ngOnChanges(e){if(this.inputName in e){const o=this.normalizeInput(e[this.inputName].currentValue);this._enabled=this.enabled(o),this._validator=this._enabled?this.createValidator(o):J,this._onChange&&this._onChange()}}validate(e){return this._validator(e)}registerOnValidatorChange(e){this._onChange=e}enabled(e){return null!=e}}return i.\u0275fac=function(e){return new(e||i)},i.\u0275dir=n.lG2({type:i,features:[n.TTD]}),i})();const bi={provide:y,useExisting:(0,n.Gpc)(()=>qe),multi:!0},vi={provide:y,useExisting:(0,n.Gpc)(()=>ht),multi:!0};let qe=(()=>{class i extends fe{constructor(){super(...arguments),this.inputName="required",this.normalizeInput=n.VuI,this.createValidator=e=>T}enabled(e){return e}}return i.\u0275fac=function(){let t;return function(o){return(t||(t=n.n5z(i)))(o||i)}}(),i.\u0275dir=n.lG2({type:i,selectors:[["","required","","formControlName","",3,"type","checkbox"],["","required","","formControl","",3,"type","checkbox"],["","required","","ngModel","",3,"type","checkbox"]],hostVars:1,hostBindings:function(e,o){2&e&&n.uIk("required",o._enabled?"":null)},inputs:{required:"required"},features:[n._Bn([bi]),n.qOj]}),i})(),ht=(()=>{class i extends qe{constructor(){super(...arguments),this.createValidator=e=>he}}return i.\u0275fac=function(){let t;return function(o){return(t||(t=n.n5z(i)))(o||i)}}(),i.\u0275dir=n.lG2({type:i,selectors:[["input","type","checkbox","required","","formControlName",""],["input","type","checkbox","required","","formControl",""],["input","type","checkbox","required","","ngModel",""]],hostVars:1,hostBindings:function(e,o){2&e&&n.uIk("required",o._enabled?"":null)},features:[n._Bn([vi]),n.qOj]}),i})(),zt=(()=>{class i{}return i.\u0275fac=function(e){return new(e||i)},i.\u0275mod=n.oAB({type:i}),i.\u0275inj=n.cJS({imports:[At]}),i})();class Yt extends ie{constructor(t,e,o){super(m(e),f(o,e)),this.controls=t,this._initObservables(),this._setUpdateStrategy(e),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}at(t){return this.controls[this._adjustIndex(t)]}push(t,e={}){this.controls.push(t),this._registerControl(t),this.updateValueAndValidity({emitEvent:e.emitEvent}),this._onCollectionChange()}insert(t,e,o={}){this.controls.splice(t,0,e),this._registerControl(e),this.updateValueAndValidity({emitEvent:o.emitEvent})}removeAt(t,e={}){let o=this._adjustIndex(t);o<0&&(o=0),this.controls[o]&&this.controls[o]._registerOnCollectionChange(()=>{}),this.controls.splice(o,1),this.updateValueAndValidity({emitEvent:e.emitEvent})}setControl(t,e,o={}){let l=this._adjustIndex(t);l<0&&(l=0),this.controls[l]&&this.controls[l]._registerOnCollectionChange(()=>{}),this.controls.splice(l,1),e&&(this.controls.splice(l,0,e),this._registerControl(e)),this.updateValueAndValidity({emitEvent:o.emitEvent}),this._onCollectionChange()}get length(){return this.controls.length}setValue(t,e={}){L(this,0,t),t.forEach((o,l)=>{te(this,!1,l),this.at(l).setValue(o,{onlySelf:!0,emitEvent:e.emitEvent})}),this.updateValueAndValidity(e)}patchValue(t,e={}){null!=t&&(t.forEach((o,l)=>{this.at(l)&&this.at(l).patchValue(o,{onlySelf:!0,emitEvent:e.emitEvent})}),this.updateValueAndValidity(e))}reset(t=[],e={}){this._forEachChild((o,l)=>{o.reset(t[l],{onlySelf:!0,emitEvent:e.emitEvent})}),this._updatePristine(e),this._updateTouched(e),this.updateValueAndValidity(e)}getRawValue(){return this.controls.map(t=>t.getRawValue())}clear(t={}){this.controls.length<1||(this._forEachChild(e=>e._registerOnCollectionChange(()=>{})),this.controls.splice(0),this.updateValueAndValidity({emitEvent:t.emitEvent}))}_adjustIndex(t){return t<0?t+this.length:t}_syncPendingControls(){let t=this.controls.reduce((e,o)=>!!o._syncPendingControls()||e,!1);return t&&this.updateValueAndValidity({onlySelf:!0}),t}_forEachChild(t){this.controls.forEach((e,o)=>{t(e,o)})}_updateValue(){this.value=this.controls.filter(t=>t.enabled||this.disabled).map(t=>t.value)}_anyControls(t){return this.controls.some(e=>e.enabled&&t(e))}_setUpControls(){this._forEachChild(t=>this._registerControl(t))}_allControlsDisabled(){for(const t of this.controls)if(t.enabled)return!1;return this.controls.length>0||this.disabled}_registerControl(t){t.setParent(this),t._registerOnCollectionChange(this._onCollectionChange)}_find(t){return this.at(t)??null}}function Wt(i){return!!i&&(void 0!==i.asyncValidators||void 0!==i.validators||void 0!==i.updateOn)}let Di=(()=>{class i{constructor(){this.useNonNullable=!1}get nonNullable(){const e=new i;return e.useNonNullable=!0,e}group(e,o=null){const l=this._reduceControls(e);let h={};return Wt(o)?h=o:null!==o&&(h.validators=o.validator,h.asyncValidators=o.asyncValidator),new ne(l,h)}record(e,o=null){const l=this._reduceControls(e);return new xt(l,o)}control(e,o,l){let h={};return this.useNonNullable?(Wt(o)?h=o:(h.validators=o,h.asyncValidators=l),new Ve(e,{...h,nonNullable:!0})):new Ve(e,o,l)}array(e,o,l){const h=e.map(S=>this._createControl(S));return new Yt(h,o,l)}_reduceControls(e){const o={};return Object.keys(e).forEach(l=>{o[l]=this._createControl(e[l])}),o}_createControl(e){return e instanceof Ve||e instanceof ie?e:Array.isArray(e)?this.control(e[0],e.length>1?e[1]:null,e.length>2?e[2]:null):this.control(e)}}return i.\u0275fac=function(e){return new(e||i)},i.\u0275prov=n.Yz7({token:i,factory:i.\u0275fac,providedIn:"root"}),i})(),Fi=(()=>{class i{static withConfig(e){return{ngModule:i,providers:[{provide:ue,useValue:e.callSetDisabledState??Re}]}}}return i.\u0275fac=function(e){return new(e||i)},i.\u0275mod=n.oAB({type:i}),i.\u0275inj=n.cJS({imports:[zt]}),i})(),wi=(()=>{class i{static withConfig(e){return{ngModule:i,providers:[{provide:st,useValue:e.warnOnNgModelWithFormControl??"always"},{provide:ue,useValue:e.callSetDisabledState??Re}]}}}return i.\u0275fac=function(e){return new(e||i)},i.\u0275mod=n.oAB({type:i}),i.\u0275inj=n.cJS({imports:[zt]}),i})()},4170:(Ke,Q,x)=>{x.d(Q,{G_:()=>de,TO:()=>Fe,KE:()=>Ae,Eo:()=>Te,lN:()=>ee,bx:()=>g,hX:()=>j,qo:()=>r,R9:()=>_});var n=x(5879),u=x(9388),c=x(2831),F=x(7902),G=x(2079),q=x(7354),w=x(9352),I=x(4699),H=x(7734),$=x(9185);class z{constructor(m){this._box=m,this._destroyed=new G.xQ,this._resizeSubject=new G.xQ,this._elementObservables=new Map,typeof ResizeObserver<"u"&&(this._resizeObserver=new ResizeObserver(a=>this._resizeSubject.next(a)))}observe(m){return this._elementObservables.has(m)||this._elementObservables.set(m,new I.y(a=>{const f=this._resizeSubject.subscribe(a);return this._resizeObserver?.observe(m,{box:this._box}),()=>{this._resizeObserver?.unobserve(m),f.unsubscribe(),this._elementObservables.delete(m)}}).pipe((0,H.h)(a=>a.some(f=>f.target===m)),(0,$.d)({bufferSize:1,refCount:!0}),(0,w.R)(this._destroyed))),this._elementObservables.get(m)}destroy(){this._destroyed.next(),this._destroyed.complete(),this._resizeSubject.complete(),this._elementObservables.clear()}}let D=(()=>{class s{constructor(){this._observers=new Map,this._ngZone=(0,n.f3M)(n.R0b)}ngOnDestroy(){for(const[,a]of this._observers)a.destroy();this._observers.clear()}observe(a,f){const b=f?.box||"content-box";return this._observers.has(b)||this._observers.set(b,new z(b)),this._observers.get(b).observe(a)}}return s.\u0275fac=function(a){return new(a||s)},s.\u0275prov=n.Yz7({token:s,factory:s.\u0275fac,providedIn:"root"}),s})();var E=x(2495),p=x(6825),v=x(6814),y=x(7131),A=x(3680);const Y=["notch"],W=["matFormFieldNotchedOutline",""],me=["*"],U=["textField"],T=["iconPrefixContainer"],he=["textPrefixContainer"];function pe(s,m){1&s&&n._UZ(0,"span",19)}function ge(s,m){if(1&s&&(n.TgZ(0,"label",17),n.Hsn(1,1),n.YNc(2,pe,1,0,"span",18),n.qZA()),2&s){const a=n.oxw(2);n.Q6J("floating",a._shouldLabelFloat())("monitorResize",a._hasOutline())("id",a._labelId),n.uIk("for",a._control.id)("aria-owns",a._control.id),n.xp6(2),n.Q6J("ngIf",!a.hideRequiredMarker&&a._control.required)}}function _e(s,m){if(1&s&&n.YNc(0,ge,3,6,"label",16),2&s){const a=n.oxw();n.Q6J("ngIf",a._hasFloatingLabel())}}function xe(s,m){1&s&&n._UZ(0,"div",20)}function J(s,m){}function be(s,m){if(1&s&&n.YNc(0,J,0,0,"ng-template",22),2&s){n.oxw(2);const a=n.MAs(1);n.Q6J("ngTemplateOutlet",a)}}function ve(s,m){if(1&s&&(n.TgZ(0,"div",21),n.YNc(1,be,1,1,"ng-template",9),n.qZA()),2&s){const a=n.oxw();n.Q6J("matFormFieldNotchedOutlineOpen",a._shouldLabelFloat()),n.xp6(1),n.Q6J("ngIf",!a._forceDisplayInfixLabel())}}function ye(s,m){1&s&&(n.TgZ(0,"div",23,24),n.Hsn(2,2),n.qZA())}function Ce(s,m){1&s&&(n.TgZ(0,"div",25,26),n.Hsn(2,3),n.qZA())}function Le(s,m){}function Ee(s,m){if(1&s&&n.YNc(0,Le,0,0,"ng-template",22),2&s){n.oxw();const a=n.MAs(1);n.Q6J("ngTemplateOutlet",a)}}function Se(s,m){1&s&&(n.TgZ(0,"div",27),n.Hsn(1,4),n.qZA())}function X(s,m){1&s&&(n.TgZ(0,"div",28),n.Hsn(1,5),n.qZA())}function oe(s,m){1&s&&n._UZ(0,"div",29)}function re(s,m){if(1&s&&(n.TgZ(0,"div",30),n.Hsn(1,6),n.qZA()),2&s){const a=n.oxw();n.Q6J("@transitionMessages",a._subscriptAnimationState)}}function Me(s,m){if(1&s&&(n.TgZ(0,"mat-hint",34),n._uU(1),n.qZA()),2&s){const a=n.oxw(2);n.Q6J("id",a._hintLabelId),n.xp6(1),n.Oqu(a.hintLabel)}}function Oe(s,m){if(1&s&&(n.TgZ(0,"div",31),n.YNc(1,Me,2,2,"mat-hint",32),n.Hsn(2,7),n._UZ(3,"div",33),n.Hsn(4,8),n.qZA()),2&s){const a=n.oxw();n.Q6J("@transitionMessages",a._subscriptAnimationState),n.xp6(1),n.Q6J("ngIf",a.hintLabel)}}const ae=["*",[["mat-label"]],[["","matPrefix",""],["","matIconPrefix",""]],[["","matTextPrefix",""]],[["","matTextSuffix",""]],[["","matSuffix",""],["","matIconSuffix",""]],[["mat-error"],["","matError",""]],[["mat-hint",3,"align","end"]],[["mat-hint","align","end"]]],le=["*","mat-label","[matPrefix], [matIconPrefix]","[matTextPrefix]","[matTextSuffix]","[matSuffix], [matIconSuffix]","mat-error, [matError]","mat-hint:not([align='end'])","mat-hint[align='end']"];let j=(()=>{class s{}return s.\u0275fac=function(a){return new(a||s)},s.\u0275dir=n.lG2({type:s,selectors:[["mat-label"]]}),s})(),De=0;const se=new n.OlP("MatError");let Fe=(()=>{class s{constructor(a,f){this.id="mat-mdc-error-"+De++,a||f.nativeElement.setAttribute("aria-live","polite")}}return s.\u0275fac=function(a){return new(a||s)(n.$8M("aria-live"),n.Y36(n.SBq))},s.\u0275dir=n.lG2({type:s,selectors:[["mat-error"],["","matError",""]],hostAttrs:["aria-atomic","true",1,"mat-mdc-form-field-error","mat-mdc-form-field-bottom-align"],hostVars:1,hostBindings:function(a,f){2&a&&n.Ikx("id",f.id)},inputs:{id:"id"},features:[n._Bn([{provide:se,useExisting:s}])]}),s})(),V=0,g=(()=>{class s{constructor(){this.align="start",this.id="mat-mdc-hint-"+V++}}return s.\u0275fac=function(a){return new(a||s)},s.\u0275dir=n.lG2({type:s,selectors:[["mat-hint"]],hostAttrs:[1,"mat-mdc-form-field-hint","mat-mdc-form-field-bottom-align"],hostVars:4,hostBindings:function(a,f){2&a&&(n.Ikx("id",f.id),n.uIk("align",null),n.ekj("mat-mdc-form-field-hint-end","end"===f.align))},inputs:{align:"align",id:"id"}}),s})();const M=new n.OlP("MatPrefix");let r=(()=>{class s{constructor(){this._isText=!1}set _isTextSelector(a){this._isText=!0}}return s.\u0275fac=function(a){return new(a||s)},s.\u0275dir=n.lG2({type:s,selectors:[["","matPrefix",""],["","matIconPrefix",""],["","matTextPrefix",""]],inputs:{_isTextSelector:["matTextPrefix","_isTextSelector"]},features:[n._Bn([{provide:M,useExisting:s}])]}),s})();const d=new n.OlP("MatSuffix");let _=(()=>{class s{constructor(){this._isText=!1}set _isTextSelector(a){this._isText=!0}}return s.\u0275fac=function(a){return new(a||s)},s.\u0275dir=n.lG2({type:s,selectors:[["","matSuffix",""],["","matIconSuffix",""],["","matTextSuffix",""]],inputs:{_isTextSelector:["matTextSuffix","_isTextSelector"]},features:[n._Bn([{provide:d,useExisting:s}])]}),s})();const O=new n.OlP("FloatingLabelParent");let P=(()=>{class s{get floating(){return this._floating}set floating(a){this._floating=a,this.monitorResize&&this._handleResize()}get monitorResize(){return this._monitorResize}set monitorResize(a){this._monitorResize=a,this._monitorResize?this._subscribeToResize():this._resizeSubscription.unsubscribe()}constructor(a){this._elementRef=a,this._floating=!1,this._monitorResize=!1,this._resizeObserver=(0,n.f3M)(D),this._ngZone=(0,n.f3M)(n.R0b),this._parent=(0,n.f3M)(O),this._resizeSubscription=new F.w}ngOnDestroy(){this._resizeSubscription.unsubscribe()}getWidth(){return function N(s){if(null!==s.offsetParent)return s.scrollWidth;const a=s.cloneNode(!0);a.style.setProperty("position","absolute"),a.style.setProperty("transform","translate(-9999px, -9999px)"),document.documentElement.appendChild(a);const f=a.scrollWidth;return a.remove(),f}(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())})}}return s.\u0275fac=function(a){return new(a||s)(n.Y36(n.SBq))},s.\u0275dir=n.lG2({type:s,selectors:[["label","matFormFieldFloatingLabel",""]],hostAttrs:[1,"mdc-floating-label","mat-mdc-floating-label"],hostVars:2,hostBindings:function(a,f){2&a&&n.ekj("mdc-floating-label--float-above",f.floating)},inputs:{floating:"floating",monitorResize:"monitorResize"}}),s})();const R="mdc-line-ripple--active",Z="mdc-line-ripple--deactivating";let we=(()=>{class s{constructor(a,f){this._elementRef=a,this._handleTransitionEnd=b=>{const C=this._elementRef.nativeElement.classList,te=C.contains(Z);"opacity"===b.propertyName&&te&&C.remove(R,Z)},f.runOutsideAngular(()=>{a.nativeElement.addEventListener("transitionend",this._handleTransitionEnd)})}activate(){const a=this._elementRef.nativeElement.classList;a.remove(Z),a.add(R)}deactivate(){this._elementRef.nativeElement.classList.add(Z)}ngOnDestroy(){this._elementRef.nativeElement.removeEventListener("transitionend",this._handleTransitionEnd)}}return s.\u0275fac=function(a){return new(a||s)(n.Y36(n.SBq),n.Y36(n.R0b))},s.\u0275dir=n.lG2({type:s,selectors:[["div","matFormFieldLineRipple",""]],hostAttrs:[1,"mdc-line-ripple"]}),s})(),ke=(()=>{class s{constructor(a,f){this._elementRef=a,this._ngZone=f,this.open=!1}ngAfterViewInit(){const a=this._elementRef.nativeElement.querySelector(".mdc-floating-label");a?(this._elementRef.nativeElement.classList.add("mdc-notched-outline--upgraded"),"function"==typeof requestAnimationFrame&&(a.style.transitionDuration="0s",this._ngZone.runOutsideAngular(()=>{requestAnimationFrame(()=>a.style.transitionDuration="")}))):this._elementRef.nativeElement.classList.add("mdc-notched-outline--no-label")}_setNotchWidth(a){this._notch.nativeElement.style.width=this.open&&a?`calc(${a}px * var(--mat-mdc-form-field-floating-label-scale, 0.75) + 9px)`:""}}return s.\u0275fac=function(a){return new(a||s)(n.Y36(n.SBq),n.Y36(n.R0b))},s.\u0275cmp=n.Xpm({type:s,selectors:[["div","matFormFieldNotchedOutline",""]],viewQuery:function(a,f){if(1&a&&n.Gf(Y,5),2&a){let b;n.iGM(b=n.CRH())&&(f._notch=b.first)}},hostAttrs:[1,"mdc-notched-outline"],hostVars:2,hostBindings:function(a,f){2&a&&n.ekj("mdc-notched-outline--notched",f.open)},inputs:{open:["matFormFieldNotchedOutlineOpen","open"]},attrs:W,ngContentSelectors:me,decls:5,vars:0,consts:[[1,"mdc-notched-outline__leading"],[1,"mdc-notched-outline__notch"],["notch",""],[1,"mdc-notched-outline__trailing"]],template:function(a,f){1&a&&(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}),s})();const Ge={transitionMessages:(0,p.X$)("transitionMessages",[(0,p.SB)("enter",(0,p.oB)({opacity:1,transform:"translateY(0%)"})),(0,p.eR)("void => enter",[(0,p.oB)({opacity:0,transform:"translateY(-5px)"}),(0,p.jt)("300ms cubic-bezier(0.55, 0, 0.55, 0.2)")])])};let Te=(()=>{class s{}return s.\u0275fac=function(a){return new(a||s)},s.\u0275dir=n.lG2({type:s}),s})();const de=new n.OlP("MatFormField"),Je=new n.OlP("MAT_FORM_FIELD_DEFAULT_OPTIONS");let Pe=0,Ae=(()=>{class s{get hideRequiredMarker(){return this._hideRequiredMarker}set hideRequiredMarker(a){this._hideRequiredMarker=(0,E.Ig)(a)}get floatLabel(){return this._floatLabel||this._defaults?.floatLabel||"auto"}set floatLabel(a){a!==this._floatLabel&&(this._floatLabel=a,this._changeDetectorRef.markForCheck())}get appearance(){return this._appearance}set appearance(a){const f=this._appearance;this._appearance=a||this._defaults?.appearance||"fill","outline"===this._appearance&&this._appearance!==f&&(this._needsOutlineLabelOffsetUpdateOnStable=!0)}get subscriptSizing(){return this._subscriptSizing||this._defaults?.subscriptSizing||"fixed"}set subscriptSizing(a){this._subscriptSizing=a||this._defaults?.subscriptSizing||"fixed"}get hintLabel(){return this._hintLabel}set hintLabel(a){this._hintLabel=a,this._processHints()}get _control(){return this._explicitFormFieldControl||this._formFieldControl}set _control(a){this._explicitFormFieldControl=a}constructor(a,f,b,C,te,L,ie,ne){this._elementRef=a,this._changeDetectorRef=f,this._ngZone=b,this._dir=C,this._platform=te,this._defaults=L,this._animationMode=ie,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-"+Pe++,this._hintLabelId="mat-mdc-hint-"+Pe++,this._subscriptAnimationState="",this._destroyed=new G.xQ,this._isFocused=null,this._needsOutlineLabelOffsetUpdateOnStable=!1,L&&(L.appearance&&(this.appearance=L.appearance),this._hideRequiredMarker=!!L?.hideRequiredMarker,L.color&&(this.color=L.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 a=this._control;a.controlType&&this._elementRef.nativeElement.classList.add(`mat-mdc-form-field-type-${a.controlType}`),a.stateChanges.subscribe(()=>{this._updateFocusState(),this._syncDescribedByIds(),this._changeDetectorRef.markForCheck()}),a.ngControl&&a.ngControl.valueChanges&&a.ngControl.valueChanges.pipe((0,w.R)(this._destroyed)).subscribe(()=>this._changeDetectorRef.markForCheck())}_checkPrefixAndSuffixTypes(){this._hasIconPrefix=!!this._prefixChildren.find(a=>!a._isText),this._hasTextPrefix=!!this._prefixChildren.find(a=>a._isText),this._hasIconSuffix=!!this._suffixChildren.find(a=>!a._isText),this._hasTextSuffix=!!this._suffixChildren.find(a=>a._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,w.R)(this._destroyed)).subscribe(()=>{this._needsOutlineLabelOffsetUpdateOnStable&&(this._needsOutlineLabelOffsetUpdateOnStable=!1,this._updateOutlineLabelOffset())})}),this._dir.change.pipe((0,w.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(a){const f=this._control?this._control.ngControl:null;return f&&f[a]}_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 a=[];if(this._control.userAriaDescribedBy&&"string"==typeof this._control.userAriaDescribedBy&&a.push(...this._control.userAriaDescribedBy.split(" ")),"hint"===this._getDisplayedMessages()){const f=this._hintChildren?this._hintChildren.find(C=>"start"===C.align):null,b=this._hintChildren?this._hintChildren.find(C=>"end"===C.align):null;f?a.push(f.id):this._hintLabel&&a.push(this._hintLabelId),b&&a.push(b.id)}else this._errorChildren&&a.push(...this._errorChildren.map(f=>f.id));this._control.setDescribedByIds(a)}}_updateOutlineLabelOffset(){if(!this._platform.isBrowser||!this._hasOutline()||!this._floatingLabel)return;const a=this._floatingLabel.element;if(!this._iconPrefixContainer&&!this._textPrefixContainer)return void(a.style.transform="");if(!this._isAttachedToDom())return void(this._needsOutlineLabelOffsetUpdateOnStable=!0);const f=this._iconPrefixContainer?.nativeElement,b=this._textPrefixContainer?.nativeElement,C=f?.getBoundingClientRect().width??0,te=b?.getBoundingClientRect().width??0;a.style.transform=`var(\n --mat-mdc-form-field-label-transform,\n translateY(-50%) translateX(calc(${"rtl"===this._dir.value?"-1":"1"} * (${C+te}px + var(--mat-mdc-form-field-label-offset-x, 0px))))\n )`}_isAttachedToDom(){const a=this._elementRef.nativeElement;if(a.getRootNode){const f=a.getRootNode();return f&&f!==a}return document.documentElement.contains(a)}}return s.\u0275fac=function(a){return new(a||s)(n.Y36(n.SBq),n.Y36(n.sBO),n.Y36(n.R0b),n.Y36(u.Is),n.Y36(c.t4),n.Y36(Je,8),n.Y36(n.QbO,8),n.Y36(v.K0))},s.\u0275cmp=n.Xpm({type:s,selectors:[["mat-form-field"]],contentQueries:function(a,f,b){if(1&a&&(n.Suo(b,j,5),n.Suo(b,j,7),n.Suo(b,Te,5),n.Suo(b,M,5),n.Suo(b,d,5),n.Suo(b,se,5),n.Suo(b,g,5)),2&a){let C;n.iGM(C=n.CRH())&&(f._labelChildNonStatic=C.first),n.iGM(C=n.CRH())&&(f._labelChildStatic=C.first),n.iGM(C=n.CRH())&&(f._formFieldControl=C.first),n.iGM(C=n.CRH())&&(f._prefixChildren=C),n.iGM(C=n.CRH())&&(f._suffixChildren=C),n.iGM(C=n.CRH())&&(f._errorChildren=C),n.iGM(C=n.CRH())&&(f._hintChildren=C)}},viewQuery:function(a,f){if(1&a&&(n.Gf(U,5),n.Gf(T,5),n.Gf(he,5),n.Gf(P,5),n.Gf(ke,5),n.Gf(we,5)),2&a){let b;n.iGM(b=n.CRH())&&(f._textField=b.first),n.iGM(b=n.CRH())&&(f._iconPrefixContainer=b.first),n.iGM(b=n.CRH())&&(f._textPrefixContainer=b.first),n.iGM(b=n.CRH())&&(f._floatingLabel=b.first),n.iGM(b=n.CRH())&&(f._notchedOutline=b.first),n.iGM(b=n.CRH())&&(f._lineRipple=b.first)}},hostAttrs:[1,"mat-mdc-form-field"],hostVars:42,hostBindings:function(a,f){2&a&&n.ekj("mat-mdc-form-field-label-always-float",f._shouldAlwaysFloat())("mat-mdc-form-field-has-icon-prefix",f._hasIconPrefix)("mat-mdc-form-field-has-icon-suffix",f._hasIconSuffix)("mat-form-field-invalid",f._control.errorState)("mat-form-field-disabled",f._control.disabled)("mat-form-field-autofilled",f._control.autofilled)("mat-form-field-no-animations","NoopAnimations"===f._animationMode)("mat-form-field-appearance-fill","fill"==f.appearance)("mat-form-field-appearance-outline","outline"==f.appearance)("mat-form-field-hide-placeholder",f._hasFloatingLabel()&&!f._shouldLabelFloat())("mat-focused",f._control.focused)("mat-primary","accent"!==f.color&&"warn"!==f.color)("mat-accent","accent"===f.color)("mat-warn","warn"===f.color)("ng-untouched",f._shouldForward("untouched"))("ng-touched",f._shouldForward("touched"))("ng-pristine",f._shouldForward("pristine"))("ng-dirty",f._shouldForward("dirty"))("ng-valid",f._shouldForward("valid"))("ng-invalid",f._shouldForward("invalid"))("ng-pending",f._shouldForward("pending"))},inputs:{hideRequiredMarker:"hideRequiredMarker",color:"color",floatLabel:"floatLabel",appearance:"appearance",subscriptSizing:"subscriptSizing",hintLabel:"hintLabel"},exportAs:["matFormField"],features:[n._Bn([{provide:de,useExisting:s},{provide:O,useExisting:s}])],ngContentSelectors:le,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(a,f){1&a&&(n.F$t(ae),n.YNc(0,_e,1,1,"ng-template",null,0,n.W1O),n.TgZ(2,"div",1,2),n.NdJ("click",function(C){return f._control.onContainerClick(C)}),n.YNc(4,xe,1,0,"div",3),n.TgZ(5,"div",4),n.YNc(6,ve,2,2,"div",5),n.YNc(7,ye,3,0,"div",6),n.YNc(8,Ce,3,0,"div",7),n.TgZ(9,"div",8),n.YNc(10,Ee,1,1,"ng-template",9),n.Hsn(11),n.qZA(),n.YNc(12,Se,2,0,"div",10),n.YNc(13,X,2,0,"div",11),n.qZA(),n.YNc(14,oe,1,0,"div",12),n.qZA(),n.TgZ(15,"div",13),n.YNc(16,re,2,1,"div",14),n.YNc(17,Oe,5,2,"div",15),n.qZA()),2&a&&(n.xp6(2),n.ekj("mdc-text-field--filled",!f._hasOutline())("mdc-text-field--outlined",f._hasOutline())("mdc-text-field--no-label",!f._hasFloatingLabel())("mdc-text-field--disabled",f._control.disabled)("mdc-text-field--invalid",f._control.errorState),n.xp6(2),n.Q6J("ngIf",!f._hasOutline()&&!f._control.disabled),n.xp6(2),n.Q6J("ngIf",f._hasOutline()),n.xp6(1),n.Q6J("ngIf",f._hasIconPrefix),n.xp6(1),n.Q6J("ngIf",f._hasTextPrefix),n.xp6(2),n.Q6J("ngIf",!f._hasOutline()||f._forceDisplayInfixLabel()),n.xp6(2),n.Q6J("ngIf",f._hasTextSuffix),n.xp6(1),n.Q6J("ngIf",f._hasIconSuffix),n.xp6(1),n.Q6J("ngIf",!f._hasOutline()),n.xp6(1),n.ekj("mat-mdc-form-field-subscript-dynamic-size","dynamic"===f.subscriptSizing),n.Q6J("ngSwitch",f._getDisplayedMessages()),n.xp6(1),n.Q6J("ngSwitchCase","error"),n.xp6(1),n.Q6J("ngSwitchCase","hint"))},dependencies:[v.O5,v.tP,v.RF,v.n9,g,P,ke,we],styles:['.mdc-text-field{border-top-left-radius:var(--mdc-shape-small, 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:var(--mdc-shape-small, 4px);border-top-right-radius:0;border-bottom-right-radius:0;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:var(--mdc-shape-small, 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:var(--mdc-shape-small, 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:var(--mdc-shape-small, 4px);border-top-right-radius:0;border-bottom-right-radius:0;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-floating-label--float-above{transform:translateY(-106%) scale(0.75)}.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-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,.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-line-ripple::before{border-bottom-width:1px}.mdc-line-ripple::after{border-bottom-width:2px}.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{font:inherit;letter-spacing:inherit;text-decoration:inherit;text-transform:inherit;border:none}.mat-mdc-form-field .mat-mdc-floating-label.mdc-floating-label{line-height:normal;pointer-events:all}.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-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}[dir=rtl] .mat-mdc-form-field{text-align:right}.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:[Ge.transitionMessages]},changeDetection:0}),s})(),ee=(()=>{class s{}return s.\u0275fac=function(a){return new(a||s)},s.\u0275mod=n.oAB({type:s}),s.\u0275inj=n.cJS({imports:[A.BQ,v.ez,y.Q8,A.BQ]}),s})()},8525:(Ke,Q,x)=>{x.d(Q,{$L:()=>se,LD:()=>V,gD:()=>Fe});var n=x(748),u=x(6814),c=x(5879),F=x(3680),G=x(4170),q=x(6672),w=x(4300),I=x(9388),H=x(2495),$=x(8337),k=x(6028),z=x(6223),D=x(2079),E=x(4917),p=x(7354),v=x(3075),y=x(5222),A=x(1418),Y=x(7734),W=x(6124),me=x(2068),U=x(9352),T=x(6825);const he=["trigger"],pe=["panel"];function ge(g,M){if(1&g&&(c.TgZ(0,"span",10),c._uU(1),c.qZA()),2&g){const r=c.oxw();c.xp6(1),c.Oqu(r.placeholder)}}function _e(g,M){if(1&g&&(c.TgZ(0,"span",14),c._uU(1),c.qZA()),2&g){const r=c.oxw(2);c.xp6(1),c.Oqu(r.triggerValue)}}function xe(g,M){1&g&&c.Hsn(0,0,["*ngSwitchCase","true"])}function J(g,M){if(1&g&&(c.TgZ(0,"span",11),c.YNc(1,_e,2,1,"span",12),c.YNc(2,xe,1,0,"ng-content",13),c.qZA()),2&g){const r=c.oxw();c.Q6J("ngSwitch",!!r.customTrigger),c.xp6(2),c.Q6J("ngSwitchCase",!0)}}function be(g,M){if(1&g){const r=c.EpF();c.O4$(),c.kcU(),c.TgZ(0,"div",15,16),c.NdJ("@transformPanel.done",function(_){c.CHM(r);const O=c.oxw();return c.KtG(O._panelDoneAnimatingStream.next(_.toState))})("keydown",function(_){c.CHM(r);const O=c.oxw();return c.KtG(O._handleKeydown(_))}),c.Hsn(2,1),c.qZA()}if(2&g){const r=c.oxw();c.Gre("mat-mdc-select-panel mdc-menu-surface mdc-menu-surface--open ",r._getPanelTheme(),""),c.Q6J("ngClass",r.panelClass)("@transformPanel","showing"),c.uIk("id",r.id+"-panel")("aria-multiselectable",r.multiple)("aria-label",r.ariaLabel||null)("aria-labelledby",r._getPanelAriaLabelledby())}}const ve=[[["mat-select-trigger"]],"*"],ye=["mat-select-trigger","*"],Ce={transformPanelWrap:(0,T.X$)("transformPanelWrap",[(0,T.eR)("* => void",(0,T.IO)("@transformPanel",[(0,T.pV)()],{optional:!0}))]),transformPanel:(0,T.X$)("transformPanel",[(0,T.SB)("void",(0,T.oB)({opacity:0,transform:"scale(1, 0.8)"})),(0,T.eR)("void => showing",(0,T.jt)("120ms cubic-bezier(0, 0, 0.2, 1)",(0,T.oB)({opacity:1,transform:"scale(1, 1)"}))),(0,T.eR)("* => void",(0,T.jt)("100ms linear",(0,T.oB)({opacity:0})))])};let X=0;const oe=new c.OlP("mat-select-scroll-strategy"),Me=new c.OlP("MAT_SELECT_CONFIG"),Oe={provide:oe,deps:[n.aV],useFactory:function re(g){return()=>g.scrollStrategies.reposition()}},ae=new c.OlP("MatSelectTrigger");class le{constructor(M,r){this.source=M,this.value=r}}const j=(0,F.Kr)((0,F.sb)((0,F.Id)((0,F.FD)(class{constructor(g,M,r,d,_){this._elementRef=g,this._defaultErrorStateMatcher=M,this._parentForm=r,this._parentFormGroup=d,this.ngControl=_,this.stateChanges=new D.xQ}}))));let De=(()=>{class g extends j{get focused(){return this._focused||this._panelOpen}get placeholder(){return this._placeholder}set placeholder(r){this._placeholder=r,this.stateChanges.next()}get required(){return this._required??this.ngControl?.control?.hasValidator(z.kI.required)??!1}set required(r){this._required=(0,H.Ig)(r),this.stateChanges.next()}get multiple(){return this._multiple}set multiple(r){this._multiple=(0,H.Ig)(r)}get disableOptionCentering(){return this._disableOptionCentering}set disableOptionCentering(r){this._disableOptionCentering=(0,H.Ig)(r)}get compareWith(){return this._compareWith}set compareWith(r){this._compareWith=r,this._selectionModel&&this._initializeSelection()}get value(){return this._value}set value(r){this._assignValue(r)&&this._onChange(r)}get typeaheadDebounceInterval(){return this._typeaheadDebounceInterval}set typeaheadDebounceInterval(r){this._typeaheadDebounceInterval=(0,H.su)(r)}get id(){return this._id}set id(r){this._id=r||this._uid,this.stateChanges.next()}constructor(r,d,_,O,P,N,R,Z,we,ke,Ge,Te,Qe,Ie){super(P,O,R,Z,ke),this._viewportRuler=r,this._changeDetectorRef=d,this._ngZone=_,this._dir=N,this._parentFormField=we,this._liveAnnouncer=Qe,this._defaultOptions=Ie,this._panelOpen=!1,this._compareWith=(B,de)=>B===de,this._uid="mat-select-"+X++,this._triggerAriaLabelledBy=null,this._destroy=new D.xQ,this._onChange=()=>{},this._onTouched=()=>{},this._valueId="mat-select-value-"+X++,this._panelDoneAnimatingStream=new D.xQ,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,E.P)(()=>{const B=this.options;return B?B.changes.pipe((0,v.O)(B),(0,y.w)(()=>(0,p.T)(...B.map(de=>de.onSelectionChange)))):this._ngZone.onStable.pipe((0,A.q)(1),(0,y.w)(()=>this.optionSelectionChanges))}),this.openedChange=new c.vpe,this._openedStream=this.openedChange.pipe((0,Y.h)(B=>B),(0,W.U)(()=>{})),this._closedStream=this.openedChange.pipe((0,Y.h)(B=>!B),(0,W.U)(()=>{})),this.selectionChange=new c.vpe,this.valueChange=new c.vpe,this._trackedModal=null,this.ngControl&&(this.ngControl.valueAccessor=this),null!=Ie?.typeaheadDebounceInterval&&(this._typeaheadDebounceInterval=Ie.typeaheadDebounceInterval),this._scrollStrategyFactory=Te,this._scrollStrategy=this._scrollStrategyFactory(),this.tabIndex=parseInt(Ge)||0,this.id=this.id}ngOnInit(){this._selectionModel=new $.Ov(this.multiple),this.stateChanges.next(),this._panelDoneAnimatingStream.pipe((0,me.x)(),(0,U.R)(this._destroy)).subscribe(()=>this._panelDoneAnimating(this.panelOpen))}ngAfterContentInit(){this._initKeyManager(),this._selectionModel.changed.pipe((0,U.R)(this._destroy)).subscribe(r=>{r.added.forEach(d=>d.select()),r.removed.forEach(d=>d.deselect())}),this.options.changes.pipe((0,v.O)(null),(0,U.R)(this._destroy)).subscribe(()=>{this._resetOptions(),this._initializeSelection()})}ngDoCheck(){const r=this._getTriggerAriaLabelledby(),d=this.ngControl;if(r!==this._triggerAriaLabelledBy){const _=this._elementRef.nativeElement;this._triggerAriaLabelledBy=r,r?_.setAttribute("aria-labelledby",r):_.removeAttribute("aria-labelledby")}d&&(this._previousControl!==d.control&&(void 0!==this._previousControl&&null!==d.disabled&&d.disabled!==this.disabled&&(this.disabled=d.disabled),this._previousControl=d.control),this.updateErrorState())}ngOnChanges(r){(r.disabled||r.userAriaDescribedBy)&&this.stateChanges.next(),r.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 r=this._elementRef.nativeElement.closest('body > .cdk-overlay-container [aria-modal="true"]');if(!r)return;const d=`${this.id}-panel`;this._trackedModal&&(0,w.iD)(this._trackedModal,"aria-owns",d),(0,w.Zf)(r,"aria-owns",d),this._trackedModal=r}_clearFromModal(){this._trackedModal&&((0,w.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(r){this._assignValue(r)}registerOnChange(r){this._onChange=r}registerOnTouched(r){this._onTouched=r}setDisabledState(r){this.disabled=r,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 r=this._selectionModel.selected.map(d=>d.viewValue);return this._isRtl()&&r.reverse(),r.join(", ")}return this._selectionModel.selected[0].viewValue}_isRtl(){return!!this._dir&&"rtl"===this._dir.value}_handleKeydown(r){this.disabled||(this.panelOpen?this._handleOpenKeydown(r):this._handleClosedKeydown(r))}_handleClosedKeydown(r){const d=r.keyCode,_=d===k.JH||d===k.LH||d===k.oh||d===k.SV,O=d===k.K5||d===k.L_,P=this._keyManager;if(!P.isTyping()&&O&&!(0,k.Vb)(r)||(this.multiple||r.altKey)&&_)r.preventDefault(),this.open();else if(!this.multiple){const N=this.selected;P.onKeydown(r);const R=this.selected;R&&N!==R&&this._liveAnnouncer.announce(R.viewValue,1e4)}}_handleOpenKeydown(r){const d=this._keyManager,_=r.keyCode,O=_===k.JH||_===k.LH,P=d.isTyping();if(O&&r.altKey)r.preventDefault(),this.close();else if(P||_!==k.K5&&_!==k.L_||!d.activeItem||(0,k.Vb)(r))if(!P&&this._multiple&&_===k.A&&r.ctrlKey){r.preventDefault();const N=this.options.some(R=>!R.disabled&&!R.selected);this.options.forEach(R=>{R.disabled||(N?R.select():R.deselect())})}else{const N=d.activeItemIndex;d.onKeydown(r),this._multiple&&O&&r.shiftKey&&d.activeItem&&d.activeItemIndex!==N&&d.activeItem._selectViaInteraction()}else r.preventDefault(),d.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,A.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(r){if(this.options.forEach(d=>d.setInactiveStyles()),this._selectionModel.clear(),this.multiple&&r)Array.isArray(r),r.forEach(d=>this._selectOptionByValue(d)),this._sortValues();else{const d=this._selectOptionByValue(r);d?this._keyManager.updateActiveItem(d):this.panelOpen||this._keyManager.updateActiveItem(-1)}this._changeDetectorRef.markForCheck()}_selectOptionByValue(r){const d=this.options.find(_=>{if(this._selectionModel.isSelected(_))return!1;try{return null!=_.value&&this._compareWith(_.value,r)}catch{return!1}});return d&&this._selectionModel.select(d),d}_assignValue(r){return!!(r!==this._value||this._multiple&&Array.isArray(r))&&(this.options&&this._setSelectionByValue(r),this._value=r,!0)}_skipPredicate(r){return r.disabled}_initKeyManager(){this._keyManager=new w.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 r=(0,p.T)(this.options.changes,this._destroy);this.optionSelectionChanges.pipe((0,U.R)(r)).subscribe(d=>{this._onSelect(d.source,d.isUserInput),d.isUserInput&&!this.multiple&&this._panelOpen&&(this.close(),this.focus())}),(0,p.T)(...this.options.map(d=>d._stateChanges)).pipe((0,U.R)(r)).subscribe(()=>{this._changeDetectorRef.detectChanges(),this.stateChanges.next()})}_onSelect(r,d){const _=this._selectionModel.isSelected(r);null!=r.value||this._multiple?(_!==r.selected&&(r.selected?this._selectionModel.select(r):this._selectionModel.deselect(r)),d&&this._keyManager.setActiveItem(r),this.multiple&&(this._sortValues(),d&&this.focus())):(r.deselect(),this._selectionModel.clear(),null!=this.value&&this._propagateChanges(r.value)),_!==this._selectionModel.isSelected(r)&&this._propagateChanges(),this.stateChanges.next()}_sortValues(){if(this.multiple){const r=this.options.toArray();this._selectionModel.sort((d,_)=>this.sortComparator?this.sortComparator(d,_,r):r.indexOf(d)-r.indexOf(_)),this.stateChanges.next()}}_propagateChanges(r){let d=null;d=this.multiple?this.selected.map(_=>_.value):this.selected?this.selected.value:r,this._value=d,this.valueChange.emit(d),this._onChange(d),this.selectionChange.emit(this._getChangeEvent(d)),this._changeDetectorRef.markForCheck()}_highlightCorrectOption(){if(this._keyManager)if(this.empty){let r=-1;for(let d=0;d<this.options.length;d++)if(!this.options.get(d).disabled){r=d;break}this._keyManager.setActiveItem(r)}else this._keyManager.setActiveItem(this._selectionModel.selected[0])}_canOpen(){return!this._panelOpen&&!this.disabled&&this.options?.length>0}focus(r){this._elementRef.nativeElement.focus(r)}_getPanelAriaLabelledby(){if(this.ariaLabel)return null;const r=this._parentFormField?.getLabelId();return this.ariaLabelledby?(r?r+" ":"")+this.ariaLabelledby:r}_getAriaActiveDescendant(){return this.panelOpen&&this._keyManager&&this._keyManager.activeItem?this._keyManager.activeItem.id:null}_getTriggerAriaLabelledby(){if(this.ariaLabel)return null;const r=this._parentFormField?.getLabelId();let d=(r?r+" ":"")+this._valueId;return this.ariaLabelledby&&(d+=" "+this.ariaLabelledby),d}_panelDoneAnimating(r){this.openedChange.emit(r)}setDescribedByIds(r){r.length?this._elementRef.nativeElement.setAttribute("aria-describedby",r.join(" ")):this._elementRef.nativeElement.removeAttribute("aria-describedby")}onContainerClick(){this.focus(),this.open()}get shouldLabelFloat(){return this._panelOpen||!this.empty||this._focused&&!!this._placeholder}}return g.\u0275fac=function(r){return new(r||g)(c.Y36(q.rL),c.Y36(c.sBO),c.Y36(c.R0b),c.Y36(F.rD),c.Y36(c.SBq),c.Y36(I.Is,8),c.Y36(z.F,8),c.Y36(z.sg,8),c.Y36(G.G_,8),c.Y36(z.a5,10),c.$8M("tabindex"),c.Y36(oe),c.Y36(w.Kd),c.Y36(Me,8))},g.\u0275dir=c.lG2({type:g,viewQuery:function(r,d){if(1&r&&(c.Gf(he,5),c.Gf(pe,5),c.Gf(n.pI,5)),2&r){let _;c.iGM(_=c.CRH())&&(d.trigger=_.first),c.iGM(_=c.CRH())&&(d.panel=_.first),c.iGM(_=c.CRH())&&(d._overlayDir=_.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:[c.qOj,c.TTD]}),g})(),se=(()=>{class g{}return g.\u0275fac=function(r){return new(r||g)},g.\u0275dir=c.lG2({type:g,selectors:[["mat-select-trigger"]],features:[c._Bn([{provide:ae,useExisting:g}])]}),g})(),Fe=(()=>{class g extends De{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=r=>!this.panelOpen&&r.disabled}get shouldLabelFloat(){return this.panelOpen||!this.empty||this.focused&&!!this.placeholder}ngOnInit(){super.ngOnInit(),this._viewportRuler.change().pipe((0,U.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(r){const d=this.options.toArray()[r];if(d){const _=this.panel.nativeElement,O=(0,F.CB)(r,this.options,this.optionGroups),P=d._getHostElement();_.scrollTop=0===r&&1===O?0:(0,F.jH)(P.offsetTop,P.offsetHeight,_.scrollTop,_.offsetHeight)}}_positioningSettled(){this._scrollOptionIntoView(this._keyManager.activeItemIndex||0)}_getChangeEvent(r){return new le(this,r)}_getOverlayWidth(r){return"auto"===this.panelWidth?(r instanceof n.xu?r.elementRef:r||this._elementRef).nativeElement.getBoundingClientRect().width:null===this.panelWidth?"":this.panelWidth}get hideSingleSelectionIndicator(){return this._hideSingleSelectionIndicator}set hideSingleSelectionIndicator(r){this._hideSingleSelectionIndicator=(0,H.Ig)(r),this._syncParentProperties()}_syncParentProperties(){if(this.options)for(const r of this.options)r._changeDetectorRef.markForCheck()}}return g.\u0275fac=function(){let M;return function(d){return(M||(M=c.n5z(g)))(d||g)}}(),g.\u0275cmp=c.Xpm({type:g,selectors:[["mat-select"]],contentQueries:function(r,d,_){if(1&r&&(c.Suo(_,ae,5),c.Suo(_,F.ey,5),c.Suo(_,F.K7,5)),2&r){let O;c.iGM(O=c.CRH())&&(d.customTrigger=O.first),c.iGM(O=c.CRH())&&(d.options=O),c.iGM(O=c.CRH())&&(d.optionGroups=O)}},hostAttrs:["role","combobox","aria-autocomplete","none","aria-haspopup","listbox","ngSkipHydration","",1,"mat-mdc-select"],hostVars:19,hostBindings:function(r,d){1&r&&c.NdJ("keydown",function(O){return d._handleKeydown(O)})("focus",function(){return d._onFocus()})("blur",function(){return d._onBlur()}),2&r&&(c.uIk("id",d.id)("tabindex",d.tabIndex)("aria-controls",d.panelOpen?d.id+"-panel":null)("aria-expanded",d.panelOpen)("aria-label",d.ariaLabel||null)("aria-required",d.required.toString())("aria-disabled",d.disabled.toString())("aria-invalid",d.errorState)("aria-activedescendant",d._getAriaActiveDescendant()),c.ekj("mat-mdc-select-disabled",d.disabled)("mat-mdc-select-invalid",d.errorState)("mat-mdc-select-required",d.required)("mat-mdc-select-empty",d.empty)("mat-mdc-select-multiple",d.multiple))},inputs:{disabled:"disabled",disableRipple:"disableRipple",tabIndex:"tabIndex",panelWidth:"panelWidth",hideSingleSelectionIndicator:"hideSingleSelectionIndicator"},exportAs:["matSelect"],features:[c._Bn([{provide:G.Eo,useExisting:g},{provide:F.HF,useExisting:g}]),c.qOj],ngContentSelectors:ye,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(r,d){if(1&r&&(c.F$t(ve),c.TgZ(0,"div",0,1),c.NdJ("click",function(){return d.toggle()}),c.TgZ(3,"div",2),c.YNc(4,ge,2,1,"span",3),c.YNc(5,J,3,2,"span",4),c.qZA(),c.TgZ(6,"div",5)(7,"div",6),c.O4$(),c.TgZ(8,"svg",7),c._UZ(9,"path",8),c.qZA()()()(),c.YNc(10,be,3,9,"ng-template",9),c.NdJ("backdropClick",function(){return d.close()})("attach",function(){return d._onAttached()})("detach",function(){return d.close()})),2&r){const _=c.MAs(1);c.xp6(3),c.Q6J("ngSwitch",d.empty),c.uIk("id",d._valueId),c.xp6(1),c.Q6J("ngSwitchCase",!0),c.xp6(1),c.Q6J("ngSwitchCase",!1),c.xp6(5),c.Q6J("cdkConnectedOverlayPanelClass",d._overlayPanelClass)("cdkConnectedOverlayScrollStrategy",d._scrollStrategy)("cdkConnectedOverlayOrigin",d._preferredOverlayOrigin||_)("cdkConnectedOverlayOpen",d.panelOpen)("cdkConnectedOverlayPositions",d._positions)("cdkConnectedOverlayWidth",d._overlayWidth)}},dependencies:[u.mk,u.RF,u.n9,u.ED,n.pI,n.xu],styles:['.mdc-menu-surface{display:none;position:absolute;box-sizing:border-box;margin:0;padding:0;transform:scale(1);transform-origin:top left;opacity:0;overflow:auto;will-change:transform,opacity;transform-origin-left:top left;transform-origin-right:top right}.mdc-menu-surface:focus{outline:none}.mdc-menu-surface--animating-open{display:inline-block;transform:scale(0.8);opacity:0}.mdc-menu-surface--open{display:inline-block;transform:scale(1);opacity:1}.mdc-menu-surface--animating-closed{display:inline-block;opacity:0}[dir=rtl] .mdc-menu-surface,.mdc-menu-surface[dir=rtl]{transform-origin-left:top right;transform-origin-right:top left}.mdc-menu-surface--anchor{position:relative;overflow:visible}.mdc-menu-surface--fixed{position:fixed}.mdc-menu-surface--fullwidth{width:100%}.mdc-menu-surface{max-width:calc(100vw - 32px);max-width:var(--mdc-menu-max-width, calc(100vw - 32px));max-height:calc(100vh - 32px);max-height:var(--mdc-menu-max-height, calc(100vh - 32px));z-index:8;border-radius:4px;border-radius:var(--mdc-shape-medium, 4px)}.mat-mdc-select{display:inline-block;width:100%;outline:none}.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}.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}.mdc-menu-surface.mat-mdc-select-panel{width:100%;max-height:275px;position:static;outline:0;margin:0;padding:8px 0;list-style-type:none}.mdc-menu-surface.mat-mdc-select-panel:focus{outline:none}.cdk-high-contrast-active .mdc-menu-surface.mat-mdc-select-panel{outline:solid 1px}.cdk-overlay-pane:not(.mat-mdc-select-panel-above) .mdc-menu-surface.mat-mdc-select-panel{border-top-left-radius:0;border-top-right-radius:0;transform-origin:top center}.mat-mdc-select-panel-above .mdc-menu-surface.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)}._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.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:[Ce.transformPanel]},changeDetection:0}),g})(),V=(()=>{class g{}return g.\u0275fac=function(r){return new(r||g)},g.\u0275mod=c.oAB({type:g}),g.\u0275inj=c.cJS({providers:[Oe],imports:[u.ez,n.U8,F.Ng,F.BQ,q.ZD,G.lN,F.Ng,F.BQ]}),g})()}}]);