UNPKG

p3x-redis-ui-material

Version:

💿 The p3x-redis-ui-material web interface that connects to the p3x-redis-ui-server via http and socket.io

1 lines 57.5 kB
"use strict";(self.webpackChunkp3x_redis_ui_material=self.webpackChunkp3x_redis_ui_material||[]).push([[8215],{35630(e,t,a){a.d(t,{A:()=>n});var i=a(87521);class n extends i.l{setActiveItem(e){this.activeItem&&this.activeItem.setInactiveStyles(),super.setActiveItem(e),this.activeItem&&this.activeItem.setActiveStyles()}}},79481(e,t,a){a.d(t,{D7:()=>O,MI:()=>S,QC:()=>C,TL:()=>M,is:()=>w,jb:()=>D,wT:()=>I});var i=a(33074),n=a(76079),o=a(30592),l=a(51218),r=a(11228),s=a(24698),c=a(30372),d=a(35412),m=a(23826),p=a(79614),h=a(64475),g=a(77056);const u=["*",[["mat-option"],["ng-container"]]],b=["*","mat-option, ng-container"],f=["text"],v=[[["mat-icon"]],"*"],y=["mat-icon","*"];function _(e,t){if(1&e&&l.nrm(0,"mat-pseudo-checkbox",1),2&e){const e=l.XpG();l.Y8G("disabled",e.disabled)("state",e.selected?"checked":"unchecked")}}function x(e,t){if(1&e&&l.nrm(0,"mat-pseudo-checkbox",3),2&e){const e=l.XpG();l.Y8G("disabled",e.disabled)}}function k(e,t){if(1&e&&(l.j41(0,"span",4),l.EFF(1),l.k0s()),2&e){const e=l.XpG();l.R7$(),l.SpI("(",e.group.label,")")}}const w=new s.nKC("MAT_OPTION_PARENT_COMPONENT"),C=new s.nKC("MatOptgroup");class O{label;disabled=!1;_labelId=(0,s.WQX)(i.g).getId("mat-optgroup-label-");_inert;constructor(){const e=(0,s.WQX)(w,{optional:!0});this._inert=e?.inertGroups??!1}static ɵfac=function(e){return new(e||O)};static ɵcmp=l.VBU({type:O,selectors:[["mat-optgroup"]],hostAttrs:[1,"mat-mdc-optgroup"],hostVars:3,hostBindings:function(e,t){2&e&&l.BMQ("role",t._inert?null:"group")("aria-disabled",t._inert?null:t.disabled.toString())("aria-labelledby",t._inert?null:t._labelId)},inputs:{label:"label",disabled:[2,"disabled","disabled",r.L39]},exportAs:["matOptgroup"],features:[l.Jv_([{provide:C,useExisting:O}])],ngContentSelectors:b,decls:5,vars:4,consts:[["role","presentation",1,"mat-mdc-optgroup-label",3,"id"],[1,"mdc-list-item__primary-text"]],template:function(e,t){1&e&&(l.NAR(u),l.rj2(0,"span",0)(1,"span",1),l.EFF(2),l.SdG(3),l.eux()(),l.SdG(4,1)),2&e&&(l.AVh("mdc-list-item--disabled",t.disabled),l.Avn("id",t._labelId),l.R7$(2),l.SpI("",t.label," "))},styles:[".mat-mdc-optgroup{color:var(--mat-optgroup-label-text-color, var(--mat-sys-on-surface-variant));font-family:var(--mat-optgroup-label-text-font, var(--mat-sys-title-small-font));line-height:var(--mat-optgroup-label-text-line-height, var(--mat-sys-title-small-line-height));font-size:var(--mat-optgroup-label-text-size, var(--mat-sys-title-small-size));letter-spacing:var(--mat-optgroup-label-text-tracking, var(--mat-sys-title-small-tracking));font-weight:var(--mat-optgroup-label-text-weight, var(--mat-sys-title-small-weight))}.mat-mdc-optgroup-label{display:flex;position:relative;align-items:center;justify-content:flex-start;overflow:hidden;min-height:48px;padding:0 16px;outline:none}.mat-mdc-optgroup-label.mdc-list-item--disabled{opacity:.38}.mat-mdc-optgroup-label .mdc-list-item__primary-text{font-size:inherit;font-weight:inherit;letter-spacing:inherit;line-height:inherit;font-family:inherit;text-decoration:inherit;text-transform:inherit;white-space:normal;color:inherit}\n"],encapsulation:2,changeDetection:0})}("undefined"==typeof ngDevMode||ngDevMode)&&l.cDI(O,[{type:l.uAl,args:[{selector:"mat-optgroup",exportAs:"matOptgroup",encapsulation:l.gXe.None,changeDetection:l.Ngq.OnPush,host:{class:"mat-mdc-optgroup","[attr.role]":'_inert ? null : "group"',"[attr.aria-disabled]":"_inert ? null : disabled.toString()","[attr.aria-labelledby]":"_inert ? null : _labelId"},providers:[{provide:C,useExisting:O}],template:'<span\n  class="mat-mdc-optgroup-label"\n  role="presentation"\n  [class.mdc-list-item--disabled]="disabled"\n  [id]="_labelId">\n  <span class="mdc-list-item__primary-text">{{ label }} <ng-content></ng-content></span>\n</span>\n\n<ng-content select="mat-option, ng-container"></ng-content>\n',styles:[".mat-mdc-optgroup{color:var(--mat-optgroup-label-text-color, var(--mat-sys-on-surface-variant));font-family:var(--mat-optgroup-label-text-font, var(--mat-sys-title-small-font));line-height:var(--mat-optgroup-label-text-line-height, var(--mat-sys-title-small-line-height));font-size:var(--mat-optgroup-label-text-size, var(--mat-sys-title-small-size));letter-spacing:var(--mat-optgroup-label-text-tracking, var(--mat-sys-title-small-tracking));font-weight:var(--mat-optgroup-label-text-weight, var(--mat-sys-title-small-weight))}.mat-mdc-optgroup-label{display:flex;position:relative;align-items:center;justify-content:flex-start;overflow:hidden;min-height:48px;padding:0 16px;outline:none}.mat-mdc-optgroup-label.mdc-list-item--disabled{opacity:.38}.mat-mdc-optgroup-label .mdc-list-item__primary-text{font-size:inherit;font-weight:inherit;letter-spacing:inherit;line-height:inherit;font-family:inherit;text-decoration:inherit;text-transform:inherit;white-space:normal;color:inherit}\n"]}]}],(()=>[]),{label:[{type:l.pde}],disabled:[{type:l.pde,args:[{transform:r.L39}]}]});class S{source;isUserInput;constructor(e,t=!1){this.source=e,this.isUserInput=t}}class I{_element=(0,s.WQX)(l.aKT);_changeDetectorRef=(0,s.WQX)(r.gRc);_parent=(0,s.WQX)(w,{optional:!0});group=(0,s.WQX)(C,{optional:!0});_signalDisableRipple=!1;_selected=!1;_active=!1;_mostRecentViewValue="";get multiple(){return this._parent&&this._parent.multiple}get selected(){return this._selected}value;id=(0,s.WQX)(i.g).getId("mat-option-");get disabled(){return this.group&&this.group.disabled||this._disabled()}set disabled(e){this._disabled.set(e)}_disabled=(0,s.vPA)(!1,...ngDevMode?[{debugName:"_disabled"}]:[]);get disableRipple(){return this._signalDisableRipple?this._parent.disableRipple():!!this._parent?.disableRipple}get hideSingleSelectionIndicator(){return!(!this._parent||!this._parent.hideSingleSelectionIndicator)}onSelectionChange=new s.bkB;_text;_stateChanges=new c.B;constructor(){const e=(0,s.WQX)(g.l);e.load(p.A),e.load(h.Yc),this._signalDisableRipple=!!this._parent&&(0,l.Hps)(this._parent.disableRipple)}get active(){return this._active}get viewValue(){return(this._text?.nativeElement.textContent||"").trim()}select(e=!0){this._selected||(this._selected=!0,this._changeDetectorRef.markForCheck(),e&&this._emitSelectionChangeEvent())}deselect(e=!0){this._selected&&(this._selected=!1,this._changeDetectorRef.markForCheck(),e&&this._emitSelectionChangeEvent())}focus(e,t){const a=this._getHostElement();"function"==typeof a.focus&&a.focus(t)}setActiveStyles(){this._active||(this._active=!0,this._changeDetectorRef.markForCheck())}setInactiveStyles(){this._active&&(this._active=!1,this._changeDetectorRef.markForCheck())}getLabel(){return this.viewValue}_handleKeydown(e){e.keyCode!==o.Fm&&e.keyCode!==o.t6||(0,n.rp)(e)||(this._selectViaInteraction(),e.preventDefault())}_selectViaInteraction(){this.disabled||(this._selected=!this.multiple||!this._selected,this._changeDetectorRef.markForCheck(),this._emitSelectionChangeEvent(!0))}_getTabIndex(){return this.disabled?"-1":"0"}_getHostElement(){return this._element.nativeElement}ngAfterViewChecked(){if(this._selected){const e=this.viewValue;e!==this._mostRecentViewValue&&(this._mostRecentViewValue&&this._stateChanges.next(),this._mostRecentViewValue=e)}}ngOnDestroy(){this._stateChanges.complete()}_emitSelectionChangeEvent(e=!1){this.onSelectionChange.emit(new S(this,e))}static ɵfac=function(e){return new(e||I)};static ɵcmp=l.VBU({type:I,selectors:[["mat-option"]],viewQuery:function(e,t){if(1&e&&l.GBs(f,7),2&e){let e;l.mGM(e=l.lsd())&&(t._text=e.first)}},hostAttrs:["role","option",1,"mat-mdc-option","mdc-list-item"],hostVars:11,hostBindings:function(e,t){1&e&&l.bIt("click",(function(){return t._selectViaInteraction()}))("keydown",(function(e){return t._handleKeydown(e)})),2&e&&(l.Avn("id",t.id),l.BMQ("aria-selected",t.selected)("aria-disabled",t.disabled.toString()),l.AVh("mdc-list-item--selected",t.selected)("mat-mdc-option-multiple",t.multiple)("mat-mdc-option-active",t.active)("mdc-list-item--disabled",t.disabled))},inputs:{value:"value",id:"id",disabled:[2,"disabled","disabled",r.L39]},outputs:{onSelectionChange:"onSelectionChange"},exportAs:["matOption"],ngContentSelectors:y,decls:8,vars:5,consts:[["text",""],["aria-hidden","true",1,"mat-mdc-option-pseudo-checkbox",3,"disabled","state"],[1,"mdc-list-item__primary-text"],["state","checked","aria-hidden","true","appearance","minimal",1,"mat-mdc-option-pseudo-checkbox",3,"disabled"],[1,"cdk-visually-hidden"],["aria-hidden","true","mat-ripple","",1,"mat-mdc-option-ripple","mat-focus-indicator",3,"matRippleTrigger","matRippleDisabled"]],template:function(e,t){1&e&&(l.NAR(v),l.nVh(0,_,1,2,"mat-pseudo-checkbox",1),l.SdG(1),l.j41(2,"span",2,0),l.SdG(4,1),l.k0s(),l.nVh(5,x,1,1,"mat-pseudo-checkbox",3),l.nVh(6,k,2,1,"span",4),l.nrm(7,"div",5)),2&e&&(l.vxM(t.multiple?0:-1),l.R7$(5),l.vxM(t.multiple||!t.selected||t.hideSingleSelectionIndicator?-1:5),l.R7$(),l.vxM(t.group&&t.group._inert?6:-1),l.R7$(),l.Y8G("matRippleTrigger",t._getHostElement())("matRippleDisabled",t.disabled||t.disableRipple))},dependencies:[m.w,d.r6],styles:['.mat-mdc-option{-webkit-user-select:none;user-select:none;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;display:flex;position:relative;align-items:center;justify-content:flex-start;overflow:hidden;min-height:48px;padding:0 16px;cursor:pointer;-webkit-tap-highlight-color:rgba(0,0,0,0);color:var(--mat-option-label-text-color, var(--mat-sys-on-surface));font-family:var(--mat-option-label-text-font, var(--mat-sys-label-large-font));line-height:var(--mat-option-label-text-line-height, var(--mat-sys-label-large-line-height));font-size:var(--mat-option-label-text-size, var(--mat-sys-body-large-size));letter-spacing:var(--mat-option-label-text-tracking, var(--mat-sys-label-large-tracking));font-weight:var(--mat-option-label-text-weight, var(--mat-sys-body-large-weight))}.mat-mdc-option:hover:not(.mdc-list-item--disabled){background-color:var(--mat-option-hover-state-layer-color, color-mix(in srgb, var(--mat-sys-on-surface) calc(var(--mat-sys-hover-state-layer-opacity) * 100%), transparent))}.mat-mdc-option:focus.mdc-list-item,.mat-mdc-option.mat-mdc-option-active.mdc-list-item{background-color:var(--mat-option-focus-state-layer-color, color-mix(in srgb, var(--mat-sys-on-surface) calc(var(--mat-sys-focus-state-layer-opacity) * 100%), transparent));outline:0}.mat-mdc-option.mdc-list-item--selected:not(.mdc-list-item--disabled):not(.mat-mdc-option-active,.mat-mdc-option-multiple,:focus,:hover){background-color:var(--mat-option-selected-state-layer-color, var(--mat-sys-secondary-container))}.mat-mdc-option.mdc-list-item--selected:not(.mdc-list-item--disabled):not(.mat-mdc-option-active,.mat-mdc-option-multiple,:focus,:hover) .mdc-list-item__primary-text{color:var(--mat-option-selected-state-label-text-color, var(--mat-sys-on-secondary-container))}.mat-mdc-option .mat-pseudo-checkbox{--mat-pseudo-checkbox-minimal-selected-checkmark-color: var(--mat-option-selected-state-label-text-color, var(--mat-sys-on-secondary-container))}.mat-mdc-option.mdc-list-item{align-items:center;background:rgba(0,0,0,0)}.mat-mdc-option.mdc-list-item--disabled{cursor:default;pointer-events:none}.mat-mdc-option.mdc-list-item--disabled .mat-mdc-option-pseudo-checkbox,.mat-mdc-option.mdc-list-item--disabled .mdc-list-item__primary-text,.mat-mdc-option.mdc-list-item--disabled>mat-icon{opacity:.38}.mat-mdc-optgroup .mat-mdc-option:not(.mat-mdc-option-multiple){padding-left:32px}[dir=rtl] .mat-mdc-optgroup .mat-mdc-option:not(.mat-mdc-option-multiple){padding-left:16px;padding-right:32px}.mat-mdc-option .mat-icon,.mat-mdc-option .mat-pseudo-checkbox-full{margin-right:16px;flex-shrink:0}[dir=rtl] .mat-mdc-option .mat-icon,[dir=rtl] .mat-mdc-option .mat-pseudo-checkbox-full{margin-right:0;margin-left:16px}.mat-mdc-option .mat-pseudo-checkbox-minimal{margin-left:16px;flex-shrink:0}[dir=rtl] .mat-mdc-option .mat-pseudo-checkbox-minimal{margin-right:16px;margin-left:0}.mat-mdc-option .mat-mdc-option-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}.mat-mdc-option .mdc-list-item__primary-text{white-space:normal;font-size:inherit;font-weight:inherit;letter-spacing:inherit;line-height:inherit;font-family:inherit;text-decoration:inherit;text-transform:inherit;margin-right:auto}[dir=rtl] .mat-mdc-option .mdc-list-item__primary-text{margin-right:0;margin-left:auto}@media(forced-colors: active){.mat-mdc-option.mdc-list-item--selected:not(:has(.mat-mdc-option-pseudo-checkbox))::after{content:"";position:absolute;top:50%;right:16px;transform:translateY(-50%);width:10px;height:0;border-bottom:solid 10px;border-radius:10px}[dir=rtl] .mat-mdc-option.mdc-list-item--selected:not(:has(.mat-mdc-option-pseudo-checkbox))::after{right:auto;left:16px}}.mat-mdc-option-multiple{--mat-list-list-item-selected-container-color: var(--mat-list-list-item-container-color, transparent)}.mat-mdc-option-active .mat-focus-indicator::before{content:""}\n'],encapsulation:2,changeDetection:0})}function D(e,t,a){if(a.length){let i=t.toArray(),n=a.toArray(),o=0;for(let t=0;t<e+1;t++)i[t].group&&i[t].group===n[o]&&o++;return o}return 0}function M(e,t,a,i){return e<a?e:e+t>a+i?Math.max(0,e-i+t):a}("undefined"==typeof ngDevMode||ngDevMode)&&l.cDI(I,[{type:l.uAl,args:[{selector:"mat-option",exportAs:"matOption",host:{role:"option","[class.mdc-list-item--selected]":"selected","[class.mat-mdc-option-multiple]":"multiple","[class.mat-mdc-option-active]":"active","[class.mdc-list-item--disabled]":"disabled","[id]":"id","[attr.aria-selected]":"selected","[attr.aria-disabled]":"disabled.toString()","(click)":"_selectViaInteraction()","(keydown)":"_handleKeydown($event)",class:"mat-mdc-option mdc-list-item"},encapsulation:l.gXe.None,changeDetection:l.Ngq.OnPush,imports:[m.w,d.r6],template:'\x3c!-- Set aria-hidden="true" to this DOM node and other decorative nodes in this file. This might\n be contributing to issue where sometimes VoiceOver focuses on a TextNode in the a11y tree instead\n of the Option node (#23202). Most assistive technology will generally ignore non-role,\n non-text-content elements. Adding aria-hidden seems to make VoiceOver behave more consistently. --\x3e\n@if (multiple) {\n    <mat-pseudo-checkbox\n        class="mat-mdc-option-pseudo-checkbox"\n        [disabled]="disabled"\n        [state]="selected ? \'checked\' : \'unchecked\'"\n        aria-hidden="true"></mat-pseudo-checkbox>\n}\n\n<ng-content select="mat-icon"></ng-content>\n\n<span class="mdc-list-item__primary-text" #text><ng-content></ng-content></span>\n\n\x3c!-- Render checkmark at the end for single-selection. --\x3e\n@if (!multiple && selected && !hideSingleSelectionIndicator) {\n    <mat-pseudo-checkbox\n        class="mat-mdc-option-pseudo-checkbox"\n        [disabled]="disabled"\n        state="checked"\n        aria-hidden="true"\n        appearance="minimal"></mat-pseudo-checkbox>\n}\n\n\x3c!-- See a11y notes inside optgroup.ts for context behind this element. --\x3e\n@if (group && group._inert) {\n    <span class="cdk-visually-hidden">({{ group.label }})</span>\n}\n\n<div class="mat-mdc-option-ripple mat-focus-indicator" aria-hidden="true" mat-ripple\n     [matRippleTrigger]="_getHostElement()" [matRippleDisabled]="disabled || disableRipple">\n</div>\n',styles:['.mat-mdc-option{-webkit-user-select:none;user-select:none;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;display:flex;position:relative;align-items:center;justify-content:flex-start;overflow:hidden;min-height:48px;padding:0 16px;cursor:pointer;-webkit-tap-highlight-color:rgba(0,0,0,0);color:var(--mat-option-label-text-color, var(--mat-sys-on-surface));font-family:var(--mat-option-label-text-font, var(--mat-sys-label-large-font));line-height:var(--mat-option-label-text-line-height, var(--mat-sys-label-large-line-height));font-size:var(--mat-option-label-text-size, var(--mat-sys-body-large-size));letter-spacing:var(--mat-option-label-text-tracking, var(--mat-sys-label-large-tracking));font-weight:var(--mat-option-label-text-weight, var(--mat-sys-body-large-weight))}.mat-mdc-option:hover:not(.mdc-list-item--disabled){background-color:var(--mat-option-hover-state-layer-color, color-mix(in srgb, var(--mat-sys-on-surface) calc(var(--mat-sys-hover-state-layer-opacity) * 100%), transparent))}.mat-mdc-option:focus.mdc-list-item,.mat-mdc-option.mat-mdc-option-active.mdc-list-item{background-color:var(--mat-option-focus-state-layer-color, color-mix(in srgb, var(--mat-sys-on-surface) calc(var(--mat-sys-focus-state-layer-opacity) * 100%), transparent));outline:0}.mat-mdc-option.mdc-list-item--selected:not(.mdc-list-item--disabled):not(.mat-mdc-option-active,.mat-mdc-option-multiple,:focus,:hover){background-color:var(--mat-option-selected-state-layer-color, var(--mat-sys-secondary-container))}.mat-mdc-option.mdc-list-item--selected:not(.mdc-list-item--disabled):not(.mat-mdc-option-active,.mat-mdc-option-multiple,:focus,:hover) .mdc-list-item__primary-text{color:var(--mat-option-selected-state-label-text-color, var(--mat-sys-on-secondary-container))}.mat-mdc-option .mat-pseudo-checkbox{--mat-pseudo-checkbox-minimal-selected-checkmark-color: var(--mat-option-selected-state-label-text-color, var(--mat-sys-on-secondary-container))}.mat-mdc-option.mdc-list-item{align-items:center;background:rgba(0,0,0,0)}.mat-mdc-option.mdc-list-item--disabled{cursor:default;pointer-events:none}.mat-mdc-option.mdc-list-item--disabled .mat-mdc-option-pseudo-checkbox,.mat-mdc-option.mdc-list-item--disabled .mdc-list-item__primary-text,.mat-mdc-option.mdc-list-item--disabled>mat-icon{opacity:.38}.mat-mdc-optgroup .mat-mdc-option:not(.mat-mdc-option-multiple){padding-left:32px}[dir=rtl] .mat-mdc-optgroup .mat-mdc-option:not(.mat-mdc-option-multiple){padding-left:16px;padding-right:32px}.mat-mdc-option .mat-icon,.mat-mdc-option .mat-pseudo-checkbox-full{margin-right:16px;flex-shrink:0}[dir=rtl] .mat-mdc-option .mat-icon,[dir=rtl] .mat-mdc-option .mat-pseudo-checkbox-full{margin-right:0;margin-left:16px}.mat-mdc-option .mat-pseudo-checkbox-minimal{margin-left:16px;flex-shrink:0}[dir=rtl] .mat-mdc-option .mat-pseudo-checkbox-minimal{margin-right:16px;margin-left:0}.mat-mdc-option .mat-mdc-option-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}.mat-mdc-option .mdc-list-item__primary-text{white-space:normal;font-size:inherit;font-weight:inherit;letter-spacing:inherit;line-height:inherit;font-family:inherit;text-decoration:inherit;text-transform:inherit;margin-right:auto}[dir=rtl] .mat-mdc-option .mdc-list-item__primary-text{margin-right:0;margin-left:auto}@media(forced-colors: active){.mat-mdc-option.mdc-list-item--selected:not(:has(.mat-mdc-option-pseudo-checkbox))::after{content:"";position:absolute;top:50%;right:16px;transform:translateY(-50%);width:10px;height:0;border-bottom:solid 10px;border-radius:10px}[dir=rtl] .mat-mdc-option.mdc-list-item--selected:not(:has(.mat-mdc-option-pseudo-checkbox))::after{right:auto;left:16px}}.mat-mdc-option-multiple{--mat-list-list-item-selected-container-color: var(--mat-list-list-item-container-color, transparent)}.mat-mdc-option-active .mat-focus-indicator::before{content:""}\n']}]}],(()=>[]),{value:[{type:l.pde}],id:[{type:l.pde}],disabled:[{type:l.pde,args:[{transform:r.L39}]}],onSelectionChange:[{type:l.k7i}],_text:[{type:r.Uct,args:["text",{static:!0}]}]})},78186(e,t,a){a.d(t,{S:()=>c});var i=a(42864),n=a(51218),o=a(24698),l=a(6861),r=a(43467),s=a(79481);class c{static ɵfac=function(e){return new(e||c)};static ɵmod=n.$C({type:c});static ɵinj=o.G2t({imports:[l.p,r.O,s.wT,i.jI]})}("undefined"==typeof ngDevMode||ngDevMode)&&n.cDI(c,[{type:n.UQu,args:[{imports:[l.p,r.O,s.wT,s.D7],exports:[s.wT,s.D7,i.jI]}]}],null,null)},18215(e,t,a){a.d(t,{$2:()=>U,VO:()=>$,Ve:()=>Y});var i=a(79481),n=a(3735),o=a(26676),l=a(51218),r=a(24698),s=a(11228),c=a(197),d=a(74006),m=a(76954),p=a(33074),h=a(35630),g=a(42864),u=a(39545),b=a(46213),f=a(76079),v=a(30592),y=a(71016),_=a(71878),x=a(30372),k=a(3426),w=a(31430),C=a(71872),O=a(8726),S=a(40528),I=a(99258),D=a(95213),M=a(3677),A=a(22712),R=a(80649),F=a(30532),V=a(78186),T=a(90918);const L=["trigger"],W=["panel"],E=[[["mat-select-trigger"]],"*"],B=["mat-select-trigger","*"];function z(e,t){if(1&e&&(l.j41(0,"span",4),l.EFF(1),l.k0s()),2&e){const e=l.XpG();l.R7$(),l.JRh(e.placeholder)}}function Q(e,t){1&e&&l.SdG(0)}function G(e,t){if(1&e&&(l.j41(0,"span",11),l.EFF(1),l.k0s()),2&e){const e=l.XpG(2);l.R7$(),l.JRh(e.triggerValue)}}function X(e,t){if(1&e&&(l.j41(0,"span",5),l.nVh(1,Q,1,0)(2,G,2,1,"span",11),l.k0s()),2&e){const e=l.XpG();l.R7$(),l.vxM(e.customTrigger?1:2)}}function P(e,t){if(1&e){const e=l.RV6();l.j41(0,"div",12,1),l.bIt("keydown",(function(t){r.eBV(e);const a=l.XpG();return r.Njj(a._handleKeydown(t))})),l.SdG(2,1),l.k0s()}if(2&e){const e=l.XpG();l.HbH(e.panelClass),l.AVh("mat-select-panel-animations-enabled",!e._animationsDisabled)("mat-primary","primary"===(null==e._parentFormField?null:e._parentFormField.color))("mat-accent","accent"===(null==e._parentFormField?null:e._parentFormField.color))("mat-warn","warn"===(null==e._parentFormField?null:e._parentFormField.color))("mat-undefined",!(null!=e._parentFormField&&e._parentFormField.color)),l.BMQ("id",e.id+"-panel")("aria-multiselectable",e.multiple)("aria-label",e.ariaLabel||null)("aria-labelledby",e._getPanelAriaLabelledby())}}const K=new r.nKC("mat-select-scroll-strategy",{providedIn:"root",factory:()=>{const e=(0,r.WQX)(r.zZn);return()=>(0,o.RH)(e)}}),j=new r.nKC("MAT_SELECT_CONFIG"),N=new r.nKC("MatSelectTrigger");class q{source;value;constructor(e,t){this.source=e,this.value=t}}class ${_viewportRuler=(0,r.WQX)(c.Xj);_changeDetectorRef=(0,r.WQX)(s.gRc);_elementRef=(0,r.WQX)(l.aKT);_dir=(0,r.WQX)(u.dS,{optional:!0});_idGenerator=(0,r.WQX)(p.g);_renderer=(0,r.WQX)(l.sFG);_parentFormField=(0,r.WQX)(n.xb,{optional:!0});ngControl=(0,r.WQX)(y.vO,{self:!0,optional:!0});_liveAnnouncer=(0,r.WQX)(m.Ai);_defaultOptions=(0,r.WQX)(j,{optional:!0});_animationsDisabled=(0,A.Rc)();_popoverLocation;_initialized=new x.B;_cleanupDetach;options;optionGroups;customTrigger;_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"}];_scrollOptionIntoView(e){const t=this.options.toArray()[e];if(t){const a=this.panel.nativeElement,n=(0,i.jb)(e,this.options,this.optionGroups),o=t._getHostElement();a.scrollTop=0===e&&1===n?0:(0,i.TL)(o.offsetTop,o.offsetHeight,a.scrollTop,a.offsetHeight)}}_positioningSettled(){this._scrollOptionIntoView(this._keyManager.activeItemIndex||0)}_getChangeEvent(e){return new q(this,e)}_scrollStrategyFactory=(0,r.WQX)(K);_panelOpen=!1;_compareWith=(e,t)=>e===t;_uid=this._idGenerator.getId("mat-select-");_triggerAriaLabelledBy=null;_previousControl;_destroy=new x.B;_errorStateTracker;stateChanges=new x.B;disableAutomaticLabeling=!0;userAriaDescribedBy;_selectionModel;_keyManager;_preferredOverlayOrigin;_overlayWidth;_onChange=()=>{};_onTouched=()=>{};_valueId=this._idGenerator.getId("mat-select-value-");_scrollStrategy;_overlayPanelClass=this._defaultOptions?.overlayPanelClass||"";get focused(){return this._focused||this._panelOpen}_focused=!1;controlType="mat-select";trigger;panel;_overlayDir;panelClass;disabled=!1;get disableRipple(){return this._disableRipple()}set disableRipple(e){this._disableRipple.set(e)}_disableRipple=(0,r.vPA)(!1,...ngDevMode?[{debugName:"_disableRipple"}]:[]);tabIndex=0;get hideSingleSelectionIndicator(){return this._hideSingleSelectionIndicator}set hideSingleSelectionIndicator(e){this._hideSingleSelectionIndicator=e,this._syncParentProperties()}_hideSingleSelectionIndicator=this._defaultOptions?.hideSingleSelectionIndicator??!1;get placeholder(){return this._placeholder}set placeholder(e){this._placeholder=e,this.stateChanges.next()}_placeholder;get required(){return this._required??this.ngControl?.control?.hasValidator(y.k0.required)??!1}set required(e){this._required=e,this.stateChanges.next()}_required;get multiple(){return this._multiple}set multiple(e){if(this._selectionModel&&("undefined"==typeof ngDevMode||ngDevMode))throw Error("Cannot change `multiple` mode of select after initialization.");this._multiple=e}_multiple=!1;disableOptionCentering=this._defaultOptions?.disableOptionCentering??!1;get compareWith(){return this._compareWith}set compareWith(e){if("function"!=typeof e&&("undefined"==typeof ngDevMode||ngDevMode))throw Error("`compareWith` must be a function.");this._compareWith=e,this._selectionModel&&this._initializeSelection()}get value(){return this._value}set value(e){this._assignValue(e)&&this._onChange(e)}_value;ariaLabel="";ariaLabelledby;get errorStateMatcher(){return this._errorStateTracker.matcher}set errorStateMatcher(e){this._errorStateTracker.matcher=e}typeaheadDebounceInterval;sortComparator;get id(){return this._id}set id(e){this._id=e||this._uid,this.stateChanges.next()}_id;get errorState(){return this._errorStateTracker.errorState}set errorState(e){this._errorStateTracker.errorState=e}panelWidth=this._defaultOptions&&void 0!==this._defaultOptions.panelWidth?this._defaultOptions.panelWidth:"auto";canSelectNullableOptions=this._defaultOptions?.canSelectNullableOptions??!1;optionSelectionChanges=(0,k.v)((()=>{const e=this.options;return e?e.changes.pipe((0,S.Z)(e),(0,I.n)((()=>(0,w.h)(...e.map((e=>e.onSelectionChange)))))):this._initialized.pipe((0,I.n)((()=>this.optionSelectionChanges)))}));openedChange=new r.bkB;_openedStream=this.openedChange.pipe((0,C.p)((e=>e)),(0,O.T)((()=>{})));_closedStream=this.openedChange.pipe((0,C.p)((e=>!e)),(0,O.T)((()=>{})));selectionChange=new r.bkB;valueChange=new r.bkB;constructor(){const e=(0,r.WQX)(R.e),t=(0,r.WQX)(y.cV,{optional:!0}),a=(0,r.WQX)(y.j4,{optional:!0}),i=(0,r.WQX)(new s.ES_("tabindex"),{optional:!0}),n=(0,r.WQX)(o.ao,{optional:!0});this.ngControl&&(this.ngControl.valueAccessor=this),null!=this._defaultOptions?.typeaheadDebounceInterval&&(this.typeaheadDebounceInterval=this._defaultOptions.typeaheadDebounceInterval),this._errorStateTracker=new F.X(e,this.ngControl,a,t,this.stateChanges),this._scrollStrategy=this._scrollStrategyFactory(),this.tabIndex=null==i?0:parseInt(i)||0,this._popoverLocation=!1===n?.usePopover?null:"inline",this.id=this.id}ngOnInit(){this._selectionModel=new b.C(this.multiple),this.stateChanges.next(),this._viewportRuler.change().pipe((0,M.Q)(this._destroy)).subscribe((()=>{this.panelOpen&&(this._overlayWidth=this._getOverlayWidth(this._preferredOverlayOrigin),this._changeDetectorRef.detectChanges())}))}ngAfterContentInit(){this._initialized.next(),this._initialized.complete(),this._initKeyManager(),this._selectionModel.changed.pipe((0,M.Q)(this._destroy)).subscribe((e=>{e.added.forEach((e=>e.select())),e.removed.forEach((e=>e.deselect()))})),this.options.changes.pipe((0,S.Z)(null),(0,M.Q)(this._destroy)).subscribe((()=>{this._resetOptions(),this._initializeSelection()}))}ngDoCheck(){const e=this._getTriggerAriaLabelledby(),t=this.ngControl;if(e!==this._triggerAriaLabelledBy){const t=this._elementRef.nativeElement;this._triggerAriaLabelledBy=e,e?t.setAttribute("aria-labelledby",e):t.removeAttribute("aria-labelledby")}t&&(this._previousControl!==t.control&&(void 0!==this._previousControl&&null!==t.disabled&&t.disabled!==this.disabled&&(this.disabled=t.disabled),this._previousControl=t.control),this.updateErrorState())}ngOnChanges(e){(e.disabled||e.userAriaDescribedBy)&&this.stateChanges.next(),e.typeaheadDebounceInterval&&this._keyManager&&this._keyManager.withTypeAhead(this.typeaheadDebounceInterval),e.panelClass&&this.panelClass instanceof Set&&(this.panelClass=Array.from(this.panelClass))}ngOnDestroy(){this._cleanupDetach?.(),this._keyManager?.destroy(),this._destroy.next(),this._destroy.complete(),this.stateChanges.complete(),this._clearFromModal()}toggle(){this.panelOpen?this.close():this.open()}open(){this._canOpen()&&(this._parentFormField&&(this._preferredOverlayOrigin=this._parentFormField.getConnectedOverlayOrigin()),this._cleanupDetach?.(),this._overlayWidth=this._getOverlayWidth(this._preferredOverlayOrigin),this._applyModalPanelOwnership(),this._panelOpen=!0,this._overlayDir.positionChange.pipe((0,D.s)(1)).subscribe((()=>{this._changeDetectorRef.detectChanges(),this._positioningSettled()})),this._overlayDir.attachOverlay(),this._keyManager.withHorizontalOrientation(null),this._highlightCorrectOption(),this._changeDetectorRef.markForCheck(),this.stateChanges.next(),Promise.resolve().then((()=>this.openedChange.emit(!0))))}_trackedModal=null;_applyModalPanelOwnership(){const e=this._elementRef.nativeElement.closest('body > .cdk-overlay-container [aria-modal="true"]');if(!e)return;const t=`${this.id}-panel`;this._trackedModal&&(0,d.Ae)(this._trackedModal,"aria-owns",t),(0,d.px)(e,"aria-owns",t),this._trackedModal=e}_clearFromModal(){if(!this._trackedModal)return;const e=`${this.id}-panel`;(0,d.Ae)(this._trackedModal,"aria-owns",e),this._trackedModal=null}close(){this._panelOpen&&(this._panelOpen=!1,this._exitAndDetach(),this._keyManager.withHorizontalOrientation(this._isRtl()?"rtl":"ltr"),this._changeDetectorRef.markForCheck(),this._onTouched(),this.stateChanges.next(),Promise.resolve().then((()=>this.openedChange.emit(!1))))}_exitAndDetach(){if(this._animationsDisabled||!this.panel)return void this._detachOverlay();this._cleanupDetach?.(),this._cleanupDetach=()=>{t(),clearTimeout(a),this._cleanupDetach=void 0};const e=this.panel.nativeElement,t=this._renderer.listen(e,"animationend",(e=>{"_mat-select-exit"===e.animationName&&(this._cleanupDetach?.(),this._detachOverlay())})),a=setTimeout((()=>{this._cleanupDetach?.(),this._detachOverlay()}),200);e.classList.add("mat-select-panel-exit")}_detachOverlay(){this._overlayDir.detachOverlay(),this._changeDetectorRef.markForCheck()}writeValue(e){this._assignValue(e)}registerOnChange(e){this._onChange=e}registerOnTouched(e){this._onTouched=e}setDisabledState(e){this.disabled=e,this._changeDetectorRef.markForCheck(),this.stateChanges.next()}get panelOpen(){return this._panelOpen}get selected(){return this.multiple?this._selectionModel?.selected||[]:this._selectionModel?.selected[0]}get triggerValue(){if(this.empty)return"";if(this._multiple){const e=this._selectionModel.selected.map((e=>e.viewValue));return this._isRtl()&&e.reverse(),e.join(", ")}return this._selectionModel.selected[0].viewValue}updateErrorState(){this._errorStateTracker.updateErrorState()}_isRtl(){return!!this._dir&&"rtl"===this._dir.value}_handleKeydown(e){this.disabled||(this.panelOpen?this._handleOpenKeydown(e):this._handleClosedKeydown(e))}_handleClosedKeydown(e){const t=e.keyCode,a=t===v.n6||t===v.i7||t===v.UQ||t===v.LE,i=t===v.Fm||t===v.t6,n=this._keyManager;if(!n.isTyping()&&i&&!(0,f.rp)(e)||(this.multiple||e.altKey)&&a)e.preventDefault(),this.open();else if(!this.multiple){const t=this.selected;n.onKeydown(e);const a=this.selected;a&&t!==a&&this._liveAnnouncer.announce(a.viewValue,1e4)}}_handleOpenKeydown(e){const t=this._keyManager,a=e.keyCode,i=a===v.n6||a===v.i7,n=t.isTyping();if(i&&e.altKey)e.preventDefault(),this.close();else if(n||a!==v.Fm&&a!==v.t6||!t.activeItem||(0,f.rp)(e))if(!n&&this._multiple&&a===v.A&&e.ctrlKey){e.preventDefault();const t=this.options.some((e=>!e.disabled&&!e.selected));this.options.forEach((e=>{e.disabled||(t?e.select():e.deselect())}))}else{const a=t.activeItemIndex;t.onKeydown(e),this._multiple&&i&&e.shiftKey&&t.activeItem&&t.activeItemIndex!==a&&t.activeItem._selectViaInteraction()}else e.preventDefault(),t.activeItem._selectViaInteraction()}_handleOverlayKeydown(e){e.keyCode!==v._f||(0,f.rp)(e)||(e.preventDefault(),this.close())}_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())}get empty(){return!this._selectionModel||this._selectionModel.isEmpty()}_initializeSelection(){Promise.resolve().then((()=>{this.ngControl&&(this._value=this.ngControl.value),this._setSelectionByValue(this._value),this.stateChanges.next()}))}_setSelectionByValue(e){if(this.options.forEach((e=>e.setInactiveStyles())),this._selectionModel.clear(),this.multiple&&e){if(!Array.isArray(e)&&("undefined"==typeof ngDevMode||ngDevMode))throw Error("Value must be an array in multiple-selection mode.");e.forEach((e=>this._selectOptionByValue(e))),this._sortValues()}else{const t=this._selectOptionByValue(e);t?this._keyManager.updateActiveItem(t):this.panelOpen||this._keyManager.updateActiveItem(-1)}this._changeDetectorRef.markForCheck()}_selectOptionByValue(e){const t=this.options.find((t=>{if(this._selectionModel.isSelected(t))return!1;try{return(null!=t.value||this.canSelectNullableOptions)&&this._compareWith(t.value,e)}catch(e){return("undefined"==typeof ngDevMode||ngDevMode)&&console.warn(e),!1}}));return t&&this._selectionModel.select(t),t}_assignValue(e){return!!(e!==this._value||this._multiple&&Array.isArray(e))&&(this.options&&this._setSelectionByValue(e),this._value=e,!0)}_skipPredicate=e=>!this.panelOpen&&e.disabled;_getOverlayWidth(e){if("auto"===this.panelWidth){return(e instanceof o.$Q?e.elementRef:e||this._elementRef).nativeElement.getBoundingClientRect().width}return null===this.panelWidth?"":this.panelWidth}_syncParentProperties(){if(this.options)for(const e of this.options)e._changeDetectorRef.markForCheck()}_initKeyManager(){this._keyManager=new h.A(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 e=(0,w.h)(this.options.changes,this._destroy);this.optionSelectionChanges.pipe((0,M.Q)(e)).subscribe((e=>{this._onSelect(e.source,e.isUserInput),e.isUserInput&&!this.multiple&&this._panelOpen&&(this.close(),this.focus())})),(0,w.h)(...this.options.map((e=>e._stateChanges))).pipe((0,M.Q)(e)).subscribe((()=>{this._changeDetectorRef.detectChanges(),this.stateChanges.next()}))}_onSelect(e,t){const a=this._selectionModel.isSelected(e);this.canSelectNullableOptions||null!=e.value||this._multiple?(a!==e.selected&&(e.selected?this._selectionModel.select(e):this._selectionModel.deselect(e)),t&&this._keyManager.setActiveItem(e),this.multiple&&(this._sortValues(),t&&this.focus())):(e.deselect(),this._selectionModel.clear(),null!=this.value&&this._propagateChanges(e.value)),a!==this._selectionModel.isSelected(e)&&this._propagateChanges(),this.stateChanges.next()}_sortValues(){if(this.multiple){const e=this.options.toArray();this._selectionModel.sort(((t,a)=>this.sortComparator?this.sortComparator(t,a,e):e.indexOf(t)-e.indexOf(a))),this.stateChanges.next()}}_propagateChanges(e){let t;t=this.multiple?this.selected.map((e=>e.value)):this.selected?this.selected.value:e,this._value=t,this.valueChange.emit(t),this._onChange(t),this.selectionChange.emit(this._getChangeEvent(t)),this._changeDetectorRef.markForCheck()}_highlightCorrectOption(){if(this._keyManager)if(this.empty){let e=-1;for(let t=0;t<this.options.length;t++){if(!this.options.get(t).disabled){e=t;break}}this._keyManager.setActiveItem(e)}else this._keyManager.setActiveItem(this._selectionModel.selected[0])}_canOpen(){return!this._panelOpen&&!this.disabled&&this.options?.length>0&&!!this._overlayDir}focus(e){this._elementRef.nativeElement.focus(e)}_getPanelAriaLabelledby(){if(this.ariaLabel)return null;const e=this._parentFormField?.getLabelId()||null,t=e?e+" ":"";return this.ariaLabelledby?t+this.ariaLabelledby:e}_getAriaActiveDescendant(){return this.panelOpen&&this._keyManager&&this._keyManager.activeItem?this._keyManager.activeItem.id:null}_getTriggerAriaLabelledby(){if(this.ariaLabel)return null;let e=this._parentFormField?.getLabelId()||"";return this.ariaLabelledby&&(e+=" "+this.ariaLabelledby),e||(e=this._valueId),e}get describedByIds(){const e=this._elementRef.nativeElement.getAttribute("aria-describedby");return e?.split(" ")||[]}setDescribedByIds(e){const t=this._elementRef.nativeElement;e.length?t.setAttribute("aria-describedby",e.join(" ")):t.removeAttribute("aria-describedby")}onContainerClick(e){const t=(0,_.Fb)(e);t&&("MAT-OPTION"===t.tagName||t.classList.contains("cdk-overlay-backdrop")||t.closest(".mat-mdc-select-panel"))||(this.focus(),this.open())}get shouldLabelFloat(){return this.panelOpen||!this.empty||this.focused&&!!this.placeholder}static ɵfac=function(e){return new(e||$)};static ɵcmp=l.VBU({type:$,selectors:[["mat-select"]],contentQueries:function(e,t,a){if(1&e&&l.wni(a,N,5)(a,i.wT,5)(a,i.QC,5),2&e){let e;l.mGM(e=l.lsd())&&(t.customTrigger=e.first),l.mGM(e=l.lsd())&&(t.options=e),l.mGM(e=l.lsd())&&(t.optionGroups=e)}},viewQuery:function(e,t){if(1&e&&l.GBs(L,5)(W,5)(o.WB,5),2&e){let e;l.mGM(e=l.lsd())&&(t.trigger=e.first),l.mGM(e=l.lsd())&&(t.panel=e.first),l.mGM(e=l.lsd())&&(t._overlayDir=e.first)}},hostAttrs:["role","combobox","aria-haspopup","listbox",1,"mat-mdc-select"],hostVars:21,hostBindings:function(e,t){1&e&&l.bIt("keydown",(function(e){return t._handleKeydown(e)}))("focus",(function(){return t._onFocus()}))("blur",(function(){return t._onBlur()})),2&e&&(l.BMQ("id",t.id)("tabindex",t.disabled?-1:t.tabIndex)("aria-controls",t.panelOpen?t.id+"-panel":null)("aria-expanded",t.panelOpen)("aria-label",t.ariaLabel||null)("aria-required",t.required.toString())("aria-disabled",t.disabled.toString())("aria-invalid",t.errorState)("aria-activedescendant",t._getAriaActiveDescendant()),l.AVh("mat-mdc-select-disabled",t.disabled)("mat-mdc-select-invalid",t.errorState)("mat-mdc-select-required",t.required)("mat-mdc-select-empty",t.empty)("mat-mdc-select-multiple",t.multiple)("mat-select-open",t.panelOpen))},inputs:{userAriaDescribedBy:[0,"aria-describedby","userAriaDescribedBy"],panelClass:"panelClass",disabled:[2,"disabled","disabled",s.L39],disableRipple:[2,"disableRipple","disableRipple",s.L39],tabIndex:[2,"tabIndex","tabIndex",e=>null==e?0:(0,s.Udg)(e)],hideSingleSelectionIndicator:[2,"hideSingleSelectionIndicator","hideSingleSelectionIndicator",s.L39],placeholder:"placeholder",required:[2,"required","required",s.L39],multiple:[2,"multiple","multiple",s.L39],disableOptionCentering:[2,"disableOptionCentering","disableOptionCentering",s.L39],compareWith:"compareWith",value:"value",ariaLabel:[0,"aria-label","ariaLabel"],ariaLabelledby:[0,"aria-labelledby","ariaLabelledby"],errorStateMatcher:"errorStateMatcher",typeaheadDebounceInterval:[2,"typeaheadDebounceInterval","typeaheadDebounceInterval",s.Udg],sortComparator:"sortComparator",id:"id",panelWidth:"panelWidth",canSelectNullableOptions:[2,"canSelectNullableOptions","canSelectNullableOptions",s.L39]},outputs:{openedChange:"openedChange",_openedStream:"opened",_closedStream:"closed",selectionChange:"selectionChange",valueChange:"valueChange"},exportAs:["matSelect"],features:[l.Jv_([{provide:n.qT,useExisting:$},{provide:i.is,useExisting:$}]),l.OA$],ngContentSelectors:B,decls:11,vars:10,consts:[["fallbackOverlayOrigin","cdkOverlayOrigin","trigger",""],["panel",""],["cdk-overlay-origin","",1,"mat-mdc-select-trigger",3,"click"],[1,"mat-mdc-select-value"],[1,"mat-mdc-select-placeholder","mat-mdc-select-min-line"],[1,"mat-mdc-select-value-text"],[1,"mat-mdc-select-arrow-wrapper"],[1,"mat-mdc-select-arrow"],["viewBox","0 0 24 24","width","24px","height","24px","focusable","false","aria-hidden","true"],["d","M7 10l5 5 5-5z"],["cdk-connected-overlay","","cdkConnectedOverlayHasBackdrop","","cdkConnectedOverlayBackdropClass","cdk-overlay-transparent-backdrop",3,"detach","backdropClick","overlayKeydown","cdkConnectedOverlayDisableClose","cdkConnectedOverlayPanelClass","cdkConnectedOverlayScrollStrategy","cdkConnectedOverlayOrigin","cdkConnectedOverlayPositions","cdkConnectedOverlayWidth","cdkConnectedOverlayFlexibleDimensions","cdkConnectedOverlayUsePopover"],[1,"mat-mdc-select-min-line"],["role","listbox","tabindex","-1",1,"mat-mdc-select-panel","mdc-menu-surface","mdc-menu-surface--open",3,"keydown"]],template:function(e,t){if(1&e&&(l.NAR(E),l.j41(0,"div",2,0),l.bIt("click",(function(){return t.open()})),l.j41(3,"div",3),l.nVh(4,z,2,1,"span",4)(5,X,3,1,"span",5),l.k0s(),l.j41(6,"div",6)(7,"div",7),r.qSk(),l.j41(8,"svg",8),l.nrm(9,"path",9),l.k0s()()()(),l.DNE(10,P,3,16,"ng-template",10),l.bIt("detach",(function(){return t.close()}))("backdropClick",(function(){return t.close()}))("overlayKeydown",(function(e){return t._handleOverlayKeydown(e)}))),2&e){const e=l.sdS(1);l.R7$(3),l.BMQ("id",t._valueId),l.R7$(),l.vxM(t.empty?4:5),l.R7$(6),l.Y8G("cdkConnectedOverlayDisableClose",!0)("cdkConnectedOverlayPanelClass",t._overlayPanelClass)("cdkConnectedOverlayScrollStrategy",t._scrollStrategy)("cdkConnectedOverlayOrigin",t._preferredOverlayOrigin||e)("cdkConnectedOverlayPositions",t._positions)("cdkConnectedOverlayWidth",t._overlayWidth)("cdkConnectedOverlayFlexibleDimensions",!0)("cdkConnectedOverlayUsePopover",t._popoverLocation)}},dependencies:[o.$Q,o.WB],styles:['@keyframes _mat-select-enter{from{opacity:0;transform:scaleY(0.8)}to{opacity:1;transform:none}}@keyframes _mat-select-exit{from{opacity:1}to{opacity:0}}.mat-mdc-select{display:inline-block;width:100%;outline:none;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;color:var(--mat-select-enabled-trigger-text-color, var(--mat-sys-on-surface));font-family:var(--mat-select-trigger-text-font, var(--mat-sys-body-large-font));line-height:var(--mat-select-trigger-text-line-height, var(--mat-sys-body-large-line-height));font-size:var(--mat-select-trigger-text-size, var(--mat-sys-body-large-size));font-weight:var(--mat-select-trigger-text-weight, var(--mat-sys-body-large-weight));letter-spacing:var(--mat-select-trigger-text-tracking, var(--mat-sys-body-large-tracking))}div.mat-mdc-select-panel{box-shadow:var(--mat-select-container-elevation-shadow, 0px 3px 1px -2px rgba(0, 0, 0, 0.2), 0px 2px 2px 0px rgba(0, 0, 0, 0.14), 0px 1px 5px 0px rgba(0, 0, 0, 0.12))}.mat-mdc-select-disabled{color:var(--mat-select-disabled-trigger-text-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mat-mdc-select-disabled .mat-mdc-select-placeholder{color:var(--mat-select-disabled-trigger-text-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mat-mdc-select-trigger{display:inline-flex;align-items:center;cursor:pointer;position:relative;box-sizing:border-box;width:100%}.mat-mdc-select-disabled .mat-mdc-select-trigger{-webkit-user-select:none;user-select:none;cursor:default}.mat-mdc-select-value{width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.mat-mdc-select-value-text{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.mat-mdc-select-arrow-wrapper{height:24px;flex-shrink:0;display:inline-flex;align-items:center}.mat-form-field-appearance-fill .mdc-text-field--no-label .mat-mdc-select-arrow-wrapper{transform:none}.mat-mdc-form-field .mat-mdc-select.mat-mdc-select-invalid .mat-mdc-select-arrow,.mat-form-field-invalid:not(.mat-form-field-disabled) .mat-mdc-form-field-infix::after{color:var(--mat-select-invalid-arrow-color, var(--mat-sys-error))}.mat-mdc-select-arrow{width:10px;height:5px;position:relative;color:var(--mat-select-enabled-arrow-color, var(--mat-sys-on-surface-variant))}.mat-mdc-form-field.mat-focused .mat-mdc-select-arrow{color:var(--mat-select-focused-arrow-color, var(--mat-sys-primary))}.mat-mdc-form-field .mat-mdc-select.mat-mdc-select-disabled .mat-mdc-select-arrow{color:var(--mat-select-disabled-arrow-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mat-select-open .mat-mdc-select-arrow{transform:rotate(180deg)}.mat-form-field-animations-enabled .mat-mdc-select-arrow{transition:transform 80ms linear}.mat-mdc-select-arrow svg{fill:currentColor;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%)}@media(forced-colors: active){.mat-mdc-select-arrow svg{fill:CanvasText}.mat-mdc-select-disabled .mat-mdc-select-arrow svg{fill:GrayText}}div.mat-mdc-select-panel{width:100%;max-height:275px;outline:0;overflow:auto;padding:8px 0;border-radius:4px;box-sizing:border-box;position:relative;background-color:var(--mat-select-panel-background-color, var(--mat-sys-surface-container))}@media(forced-colors: active){div.mat-mdc-select-panel{outline:solid 1px}}.cdk-overlay-pane:not(.mat-mdc-select-panel-above) div.mat-mdc-select-panel{border-top-left-radius:0;border-top-right-radius:0;transform-origin:top center}.mat-mdc-select-panel-above div.mat-mdc-select-panel{border-bottom-left-radius:0;border-bottom-right-radius:0;transform-origin:bottom center}.mat-select-panel-animations-enabled{animation:_mat-select-enter 120ms cubic-bezier(0, 0, 0.2, 1)}.mat-select-panel-animations-enabled.mat-select-panel-exit{animation:_mat-select-exit 100ms linear}.mat-mdc-select-placeholder{transition:color 400ms 133.3333333333ms cubic-bezier(0.25, 0.8, 0.25, 1);color:var(--mat-select-placeholder-text-color, var(--mat-sys-on-surface-variant))}.mat-mdc-form-field:not(.mat-form-field-animations-enabled) .mat-mdc-select-placeholder,._mat-animation-noopable .mat-mdc-select-placeholder{transition:none}.mat-form-field-hide-placeholder .mat-mdc-select-placeholder{color:rgba(0,0,0,0);-webkit-text-fill-color:rgba(0,0,0,0);transition:none;display:block}.mat-mdc-form-field-type-mat-select:not(.mat-form-field-disabled) .mat-mdc-text-field-wrapper{cursor:pointer}.mat-mdc-form-field-type-mat-select.mat-form-field-appearance-fill .mat-mdc-floating-label{max-width:calc(100% - 18px)}.mat-mdc-form-field-type-mat-select.mat-form-field-appearance-fill .mdc-floating-label--float-above{max-width:calc(100%/0.75 - 24px)}.mat-mdc-form-field-type-mat-select.mat-form-field-appearance-outline .mdc-notched-outline__notch{max-width:calc(100% - 60px)}.mat-mdc-form-field-type-mat-select.mat-form-field-appearance-outline .mdc-text-field--label-floating .mdc-notched-outline__notch{max-width:calc(100% - 24px)}.mat-mdc-select-min-line:empty::before{content:" ";white-space:pre;width:1px;display:inline-block;visibility:hidden}.mat-form-field-appearance-fill .mat-mdc-select-arrow-wrapper{transform:var(--mat-select-arrow-transform, translateY(-8px))}\n'],encapsulation:2,changeDetection:0})}("undefined"==typeof ngDevMode||ngDevMode)&&l.cDI($,[{type:l.uAl,args:[{selector:"mat-select",exportAs:"matSelect",encapsulation:l.gXe.None,changeDetection:l.Ngq.OnPush,host:{role:"combobox","aria-haspopup":"listbox",class:"mat-mdc-select","[attr.id]":"id","[attr.tabindex]":"disabled ? -1 : tabIndex","[attr.aria-controls]":'panelOpen ? id + "-panel" : null',"[attr.aria-expanded]":"panelOpen","[attr.aria-label]":"ariaLabel || null","[attr.aria-required]":"required.toString()","[attr.aria-disabled]":"disabled.toString()","[attr.aria-invalid]":"errorState","[attr.aria-activedescendant]":"_getAriaActiveDescendant()","[class.mat-mdc-select-disabled]":"disabled","[class.mat-mdc-select-invalid]":"errorState","[class.mat-mdc-select-required]":"required","[class.mat-mdc-select-empty]":"empty","[class.mat-mdc-select-multiple]":"multiple","[class.mat-select-open]":"panelOpen","(keydown)":"_handleKeydown($event)","(focus)":"_onFocus()","(blur)":"_onBlur()"},providers:[{provide:n.qT,useExisting:$},{provide:i.is,useExisting:$}],imports:[o.$Q,o.WB],template:'<div\n  cdk-overlay-origin\n  class="mat-mdc-select-trigger"\n  (click)="open()"\n  #fallbackOverlayOrigin="cdkOverlayOrigin"\n  #trigger\n>\n  <div class="mat-mdc-select-value" [attr.id]="_valueId">\n    @if (empty) {\n      <span class="mat-mdc-select-placeholder mat-mdc-select-min-line">{{placeholder}}</span>\n    } @else {\n      <span class="mat-mdc-select-value-text">\n        @if (customTrigger) {\n          <ng-content select="mat-select-trigger"></ng-content>\n        } @else {\n          <span class="mat-mdc-select-min-line">{{triggerValue}}</span>\n        }\n      </span>\n    }\n  </div>\n\n  <div class="mat-mdc-select-arrow-wrapper">\n    <div class="mat-mdc-select-arrow">\n      \x3c!-- Use an inline SVG, because it works better than a CSS triangle in high contrast mode. --\x3e\n      <svg viewBox="0 0 24 24" width="24px" height="24px" focusable="false" aria-hidden="true">\n        <path d="M7 10l5 5 5-5z" />\n      </svg>\n    </div>\n  </div>\n</div>\n\n<ng-template\n  cdk-connected-overlay\n  cdkConnectedOverlayHasBackdrop\n  cdkConnectedOverlayBackdropClass="cdk-overlay-transparent-backdrop"\n  [cdkConnectedOverlayDisableClose]="true"\n  [cdkConnectedOverlayPanelClass]="_overlayPanelClass"\n  [cdkConnectedOverlayScrollStrategy]="_scrollStrategy"\n  [cdkConnectedOverlayOrigin]="_preferredOverlayOrigin || fallbackOverlayOrigin"\n  [cdkConnectedOverlayPositions]="_positions"\n  [cdkConnectedOverlayWidth]="_overlayWidth"\n  [cdkConnectedOverlayFlexibleDimensions]="true"\n  [cdkConnectedOverlayUsePopover]="_popoverLocation"\n  (detach)="close()"\n  (backdropClick)="close()"\n  (overlayKeydown)="_handleOverlayKeydown($event)">\n  \x3c!-- `mat-undefined` is weird, but we were using it internally --\x3e\n  <div\n    #panel\n    role="listbox"\n    tabindex="-1"\n    class="mat-mdc-select-panel mdc-menu-surface mdc-menu-surface--open"\n    [class]="panelClass"\n    [class.mat-select-panel-animations-enabled]="!_animationsDisabled"\n    [class.mat-primary]="_parentFormField?.color === \'primary\'"\n    [class.mat-accent]="_parentFormField?.color === \'accent\'"\n    [class.mat-warn]="_parentFormField?.color === \'warn\'"\n    [class.mat-undefined]="!_parentFormField?.color"\n    [attr.id]="id + \'-panel\'"\n    [attr.aria-multiselectable]="multiple"\n    [attr.aria-label]="ariaLabel || null"\n    [attr.aria-labelledby]="_getPanelAriaLabelledby()"\n    (keydown)="_handleKeydown($event)">\n    <ng-content></ng-content>\n  </div>\n</ng-template>\n',styles:['@keyframes _mat-select-enter{from{opacity:0;transform:scaleY(0.8)}to{opacity:1;transform:none}}@keyframes _mat-select-exit{from{opacity:1}to{opacity:0}}.mat-mdc-select{display:inline-block;width:100%;outline:none;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;color:var(--mat-select-enabled-trigger-text-color, var(--mat-sys-on-surface));font-family:var(--mat-select-trigger-text-font, var(--mat-sys-body-large-font));line-height:var(--mat-select-trigger-text-line-height, var(--mat-sys-body-large-line-height));font-size:var(--mat-select-trigger-text-size, var(--mat-sys-body-large-size));font-weight:var(--mat-select-trigger-text-weight, var(--mat-sys-body-large-weight));letter-spacing:var(--mat-select-trigger-text-tracking, var(--mat-sys-body-large-tracking))}div.mat-mdc-select-panel{box-shadow:var(--mat-select-container-elevation-shadow, 0px 3px 1px -2px rgba(0, 0, 0, 0.2), 0px 2px 2px 0px rgba(0, 0, 0, 0.14), 0px 1px 5px 0px rgba(0, 0, 0, 0.12))}.mat-mdc-select-disabled{color:var(--mat-select-disabled-trigger-text-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mat-mdc-select-disabled .mat-mdc-select-placeholder{color:var(--mat-select-disabled-trigger-text-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mat-mdc-select-trigger{display:inline-flex;align-items:center;cursor:pointer;position:relative;box-sizing:border-box;width:100%}.mat-mdc-select-disabled .mat-mdc-select-trigger{-webkit-user-select:none;user-select:none;cursor:default}.mat-mdc-select-value{width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.mat-mdc-select-value-text{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.mat-mdc-select-arrow-wrapper{height:24px;flex-shrink:0;display:inline-flex;align-items:center}.mat-form-field-appearance-fill .mdc-text-field--no-label .mat-mdc-select-arrow-wrapper{transform:none}.mat-mdc-form-field .mat-mdc-select.mat-mdc-select-invalid .mat-mdc-select-arrow,.mat-form-field-invalid:not(.mat-form-field-disabled) .mat-mdc-form-field-infix::after{color:var(--mat-select-invalid-arrow-color, var(--mat-sys-error))}.mat-mdc-select-arrow{width:10px;height:5px;position:relative;color:var(--mat-select-enabled-arrow-color, var(--mat-sys-on-surface-variant))}.mat-mdc-form-field.mat-focused .mat-mdc-select-arrow{color:var(--mat-select-focused-arrow-color, var(--mat-sys-primary))}.mat-mdc-form-field .mat-mdc-select.mat-mdc-select-disabled .mat-mdc-select-arrow{color:var(--mat-select-disabled-arrow-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mat-select-open .mat-mdc-select-arrow{transform:rotate(180deg)}.mat-form-field-animations-enabled .mat-mdc-select-arrow{transition:transform 80ms linear}.mat-mdc-select-arrow svg{fill:currentColor;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%)}@media(forced-colors: active){.mat-mdc-select-arrow svg{fill:CanvasText}.mat-mdc-select-disabled .mat-mdc-select-arrow svg{fill:GrayText}}div.mat-mdc-select-panel{width:100%;max-height:275px;outline:0;overflow:auto;padding:8px 0;border-radius:4px;box-sizing:border-box;position:relative;background-color:var(--mat-select-panel-background-color, var(--mat-sys-surface-container))}@media(forced-colors: active){div.mat-mdc-select-panel{outline:solid 1px}}.cdk-overlay-pane:not(.mat-mdc-select-panel-above) div.mat-mdc-select-panel{border-top-left-radius:0;border-top-right-radius:0;transform-origin:top center}.mat-mdc-select-panel-above div.mat-mdc-select-panel{border-bottom-left-radius:0;border-bottom-right-radius:0;transform-origin:bottom center}.mat-select-panel-animations-enabled{animation:_mat-select-enter 120ms cubic-bezier(0, 0, 0.2, 1)}.mat-select-panel-animations-enabled.mat-select-panel-exit{animation:_mat-select-exit 100ms linear}.mat-mdc-select-placeholder{transition:color 400ms 133.3333333333ms cubic-bezier(0.25, 0.8, 0.25, 1);color:var(--mat-select-placeholder-text-color, var(--mat-sys-on-surface-variant))}.mat-mdc-form-field:not(.mat-form-field-animations-enabled) .mat-mdc-select-placeholder,._mat-animation-noopable .mat-mdc-select-placeholder{transition:none}.mat-form-field-hide-placeholder .mat-mdc-select-placeholder{color:rgba(0,0,0,0);-webkit-text-fill-color:rgba(0,0,0,0);transition:none;display:block}.mat-mdc-form-field-type-mat-select:not(.mat-form-field-disabled) .mat-mdc-text-field-wrapper{cursor:pointer}.mat-mdc-form-field-type-mat-select.mat-form-field-appearance-fill .mat-mdc-floating-label{max-width:calc(100% - 18px)}.mat-mdc-form-field-type-mat-select.mat-form-field-appearance-fill .mdc-floating-label--float-above{max-width:calc(100%/0.75 - 24px)}.mat-mdc-form-field-type-mat-select.mat-form-field-appearance-outline .mdc-notched-outline__notch{max-width:calc(100% - 60px)}.mat-mdc-form-field-type-mat-select.mat-form-field-appearance-outline .mdc-text-field--label-floating .mdc-notched-outline__notch{max-width:calc(100% - 24px)}.mat-mdc-select-min-line:empty::before{content:" ";white-space:pre;width:1px;display:inline-block;visibility:hidden}.mat-form-field-appearance-fill .mat-mdc-select-arrow-wrapper{transform:var(--mat-select-arrow-transform, translateY(-8px))}\n']}]}],(()=>[]),{options:[{type:s.F8v,args:[i.wT,{descendants:!0}]}],optionGroups:[{type:s.F8v,args:[i.QC,{descendants:!0}]}],customTrigger:[{type:s.kDq,args:[N]}],userAriaDescribedBy:[{type:l.pde,args:["aria-describedby"]}],trigger:[{type:s.Uct,args:["trigger"]}],panel:[{type:s.Uct,args:["panel"]}],_overlayDir:[{type:s.Uct,args:[o.WB]}],panelClass:[{type:l.pde}],disabled:[{type:l.pde,args:[{transform:s.L39}]}],disableRipple:[{type:l.pde,args:[{transform:s.L39}]}],tabIndex:[{type:l.pde,args:[{transform:e=>null==e?0:(0,s.Udg)(e)}]}],hideSingleSelectionIndicator:[{type:l.pde,args:[{transform:s.L39}]}],placeholder:[{type:l.pde}],required:[{type:l.pde,args:[{transform:s.L39}]}],multiple:[{type:l.pde,args:[{transform:s.L39}]}],disableOptionCentering:[{type:l.pde,args:[{transform:s.L39}]}],compareWith:[{type:l.pde}],value:[{type:l.pde}],ariaLabel:[{type:l.pde,args:["aria-label"]}],ariaLabelledby:[{type:l.pde,args:["aria-labelledby"]}],errorStateMatcher:[{type:l.pde}],typeaheadDebounceInterval:[{type:l.pde,args:[{transform:s.Udg}]}],sortComparator:[{type:l.pde}],id:[{type:l.pde}],panelWidth:[{type:l.pde}],canSelectNullableOptions:[{type:l.pde,args:[{transform:s.L39}]}],openedChange:[{type:l.k7i}],_openedStream:[{type:l.k7i,args:["opened"]}],_closedStream:[{type:l.k7i,args:["closed"]}],selectionChange:[{type:l.k7i}],valueChange:[{type:l.k7i}]});class U{static ɵfac=function(e){return new(e||U)};static ɵdir=l.FsC({type:U,selectors:[["mat-select-trigger"]],features:[l.Jv_([{provide:N,useExisting:U}])]})}("undefined"==typeof ngDevMode||ngDevMode)&&l.cDI(U,[{type:l.WLR,args:[{selector:"mat-select-trigger",providers:[{provide:N,useExisting:U}]}]}],null,null);class Y{static ɵfac=function(e){return new(e||Y)};static ɵmod=l.$C({type:Y});static ɵinj=r.G2t({imports:[o.z_,V.S,g.jI,c.Gj,T.RG,V.S]})}("undefined"==typeof ngDevMode||ngDevMode)&&l.cDI(Y,[{type:l.UQu,args:[{imports:[o.z_,V.S,$,U],exports:[g.jI,c.Gj,T.RG,$,U,V.S]}]}],null,null)}}]);