-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy path4261.832387952ce2cdda.js
1 lines (1 loc) · 121 KB
/
4261.832387952ce2cdda.js
1
"use strict";(self.webpackChunkmaterial_angular_io=self.webpackChunkmaterial_angular_io||[]).push([[4261],{180:(Ae,Z,w)=>{w.d(Z,{DQ:()=>D,PR:()=>k,XI:()=>z,ax:()=>F,dM:()=>ae,lb:()=>S});var i=w(4085),c=w(5024),g=w(4438),$=w(5286),ee=w(5817),l=w(4421),W=w(7605),I=w(9090),R=w(522),Q=w(9417),N=w(5887),te=w(177);function ne(_,C){if(1&_){const m=g.RV6();g.j41(0,"input",7,0),g.nI1(2,"async"),g.nI1(3,"async"),g.bIt("click",function(x){g.eBV(m);const y=g.sdS(1);return g.Njj(y.toggle(x))}),g.k0s()}if(2&_){const m=g.sdS(1);g.Y8G("checked",g.bMT(2,2,m.checked))("indeterminate",g.bMT(3,4,m.indeterminate))}}function Y(_,C){if(1&_&&(g.j41(0,"th",5),g.DNE(1,ne,4,6,"input",6),g.k0s()),2&_){const m=g.XpG();g.R7$(),g.vxM(m.selection.multiple?1:-1)}}function q(_,C){if(1&_){const m=g.RV6();g.j41(0,"td",8)(1,"input",9,1),g.nI1(3,"async"),g.bIt("click",function(){g.eBV(m);const x=g.sdS(2);return g.Njj(x.toggle())}),g.k0s()()}if(2&_){const m=C.$implicit,u=C.$index,x=g.sdS(2);g.R7$(),g.Y8G("cdkSelectionToggleValue",m)("cdkSelectionToggleIndex",u)("checked",g.bMT(3,3,x.checked))}}class G{constructor(C=!1,m){this._multiple=C,this._trackByFn=m,this._selectionMap=new Map,this.changed=new $.B7}isSelected(C){return this._selectionMap.has(this._getTrackedByValue(C))}select(...C){const m=this._getCurrentSelection();this._multiple||this._selectionMap.clear();const u=[];for(const y of C)this.isSelected(y)||(u.push(y),this._markSelected(this._getTrackedByValue(y),y));const x=this._getCurrentSelection();this.changed.next({before:m,after:x})}deselect(...C){const m=this._getCurrentSelection(),u=[];for(const y of C)this.isSelected(y)&&(u.push(y),this._markDeselected(this._getTrackedByValue(y)));const x=this._getCurrentSelection();this.changed.next({before:m,after:x})}_markSelected(C,m){this._selectionMap.set(C,m)}_markDeselected(C){this._selectionMap.delete(C)}_getTrackedByValue(C){return this._trackByFn?this._trackByFn(C.index,C.value):C.value}_getCurrentSelection(){return Array.from(this._selectionMap.values())}}let z=(()=>{class _{constructor(){this.change=new g.bkB,this._destroyed=new $.B7,this.selectAllState="none"}get dataSource(){return this._dataSource}set dataSource(m){this._dataSource!==m&&this._switchDataSource(m)}get multiple(){return this._multiple}set multiple(m){this._multiple=(0,i.he)(m)}_switchDataSource(m){this._data=[],(0,c.y4)(this._dataSource)&&this._dataSource.disconnect(this),this._renderChangeSubscription&&(this._renderChangeSubscription.unsubscribe(),this._renderChangeSubscription=null),this._dataSource=m}_observeRenderChanges(){if(!this._dataSource)return;let m;(0,c.y4)(this._dataSource)?m=this._dataSource.connect(this):this._dataSource instanceof ee.c?m=this._dataSource:Array.isArray(this._dataSource)&&(m=(0,l.of)(this._dataSource)),this._renderChangeSubscription=m.pipe((0,W.Q)(this._destroyed)).subscribe(u=>{this._data=u||[]})}ngOnInit(){this._selection=new G(this._multiple,this.trackByFn),this._selection.changed.pipe((0,W.Q)(this._destroyed)).subscribe(m=>{this._updateSelectAllState(),this.change.emit(m)})}ngAfterContentChecked(){this._dataSource&&!this._renderChangeSubscription&&this._observeRenderChanges()}ngOnDestroy(){this._destroyed.next(),this._destroyed.complete(),(0,c.y4)(this._dataSource)&&this._dataSource.disconnect(this)}toggleSelection(m,u){this.isSelected(m,u)?this._selection.deselect({value:m,index:u}):this._selection.select({value:m,index:u})}toggleSelectAll(){"none"===this.selectAllState?this._selectAll():this._clearAll()}isSelected(m,u){return this._selection.isSelected({value:m,index:u})}isAllSelected(){return this._data.every((m,u)=>this._selection.isSelected({value:m,index:u}))}isPartialSelected(){return!this.isAllSelected()&&this._data.some((m,u)=>this._selection.isSelected({value:m,index:u}))}_selectAll(){const m=[];this._data.forEach((u,x)=>{m.push({value:u,index:x})}),this._selection.select(...m)}_clearAll(){const m=[];this._data.forEach((u,x)=>{m.push({value:u,index:x})}),this._selection.deselect(...m)}_updateSelectAllState(){this.selectAllState=this.isAllSelected()?"all":this.isPartialSelected()?"partial":"none"}static#e=this.\u0275fac=function(u){return new(u||_)};static#t=this.\u0275dir=g.FsC({type:_,selectors:[["","cdkSelection",""]],inputs:{dataSource:"dataSource",trackByFn:[0,"trackBy","trackByFn"],multiple:[0,"cdkSelectionMultiple","multiple"]},outputs:{change:"cdkSelectionChange"},exportAs:["cdkSelection"],standalone:!0})}return _})(),F=(()=>{class _{toggle(m){m&&m.preventDefault(),setTimeout(()=>{this._selection.toggleSelectAll()})}constructor(m,u){this._selection=m,this._controlValueAccessor=u,this._destroyed=new $.B7,this.checked=m.change.pipe((0,I.n)(()=>(0,l.of)(m.isAllSelected()))),this.indeterminate=m.change.pipe((0,I.n)(()=>(0,l.of)(m.isPartialSelected())))}ngOnInit(){this._assertValidParentSelection(),this._configureControlValueAccessor()}_configureControlValueAccessor(){this._controlValueAccessor&&this._controlValueAccessor.length&&(this._controlValueAccessor[0].registerOnChange(m=>{(!0===m||!1===m)&&this.toggle()}),this.checked.pipe((0,W.Q)(this._destroyed)).subscribe(m=>{this._controlValueAccessor[0].writeValue(m)}))}_assertValidParentSelection(){}ngOnDestroy(){this._destroyed.next(),this._destroyed.complete()}static#e=this.\u0275fac=function(u){return new(u||_)(g.rXU(z,8),g.rXU(Q.kq,10))};static#t=this.\u0275dir=g.FsC({type:_,selectors:[["","cdkSelectAll",""]],exportAs:["cdkSelectAll"],standalone:!0})}return _})(),D=(()=>{class _{get index(){return this._index}set index(m){this._index=(0,i.OE)(m)}toggle(){this._selection.toggleSelection(this.value,this.index)}constructor(m,u){this._selection=m,this._controlValueAccessors=u,this._destroyed=new $.B7,this.checked=m.change.pipe((0,I.n)(()=>(0,l.of)(this._isSelected())),(0,R.F)())}ngOnInit(){this._assertValidParentSelection(),this._configureControlValueAccessor()}ngOnDestroy(){this._destroyed.next(),this._destroyed.complete()}_assertValidParentSelection(){}_configureControlValueAccessor(){this._controlValueAccessors&&this._controlValueAccessors.length&&(this._controlValueAccessors[0].registerOnChange(m=>{"boolean"==typeof m&&this.toggle()}),this.checked.pipe((0,W.Q)(this._destroyed)).subscribe(m=>{this._controlValueAccessors[0].writeValue(m)}))}_isSelected(){return this._selection.isSelected(this.value,this.index)}static#e=this.\u0275fac=function(u){return new(u||_)(g.rXU(z,8),g.rXU(Q.kq,10))};static#t=this.\u0275dir=g.FsC({type:_,selectors:[["","cdkSelectionToggle",""]],inputs:{value:[0,"cdkSelectionToggleValue","value"],index:[0,"cdkSelectionToggleIndex","index"]},exportAs:["cdkSelectionToggle"],standalone:!0})}return _})(),ae=(()=>{class _{get name(){return this._name}set name(m){this._name=m,this._syncColumnDefName()}constructor(m,u){this._table=m,this.selection=u}ngOnInit(){this._syncColumnDefName(),this._table&&(this._columnDef.cell=this._cell,this._columnDef.headerCell=this._headerCell,this._table.addColumnDef(this._columnDef))}ngOnDestroy(){this._table&&this._table.removeColumnDef(this._columnDef)}_syncColumnDefName(){this._columnDef&&(this._columnDef.name=this._name)}static#e=this.\u0275fac=function(u){return new(u||_)(g.rXU(N.Rk,8),g.rXU(z,8))};static#t=this.\u0275cmp=g.VBU({type:_,selectors:[["cdk-selection-column"]],viewQuery:function(u,x){if(1&u&&(g.GBs(N.AL,7),g.GBs(N.cO,7),g.GBs(N.n5,7)),2&u){let y;g.mGM(y=g.lsd())&&(x._columnDef=y.first),g.mGM(y=g.lsd())&&(x._cell=y.first),g.mGM(y=g.lsd())&&(x._headerCell=y.first)}},inputs:{name:[0,"cdkSelectionColumnName","name"]},standalone:!0,features:[g.aNF],decls:3,vars:0,consts:[["allToggler","cdkSelectAll"],["toggler","cdkSelectionToggle"],["cdkColumnDef",""],["cdkHeaderCell","",4,"cdkHeaderCellDef"],["cdkCell","",4,"cdkCellDef"],["cdkHeaderCell",""],["type","checkbox","cdkSelectAll","",3,"checked","indeterminate"],["type","checkbox","cdkSelectAll","",3,"click","checked","indeterminate"],["cdkCell",""],["type","checkbox","cdkSelectionToggle","",3,"click","cdkSelectionToggleValue","cdkSelectionToggleIndex","checked"]],template:function(u,x){1&u&&(g.qex(0,2),g.DNE(1,Y,2,1,"th",3)(2,q,4,5,"td",4),g.bVm())},dependencies:[N.AL,N.n5,F,N.cO,D,te.Jj],encapsulation:2,changeDetection:0})}return _})(),k=(()=>{class _{get index(){return this._index}set index(m){this._index=(0,i.OE)(m)}constructor(m){this._selection=m,this.value=void 0}static#e=this.\u0275fac=function(u){return new(u||_)(g.rXU(z))};static#t=this.\u0275dir=g.FsC({type:_,selectors:[["","cdkRowSelection",""]],hostVars:3,hostBindings:function(u,x){2&u&&(g.BMQ("aria-selected",x._selection.isSelected(x.value,x.index)),g.AVh("cdk-selected",x._selection.isSelected(x.value,x.index)))},inputs:{value:[0,"cdkRowSelectionValue","value"],index:[0,"cdkRowSelectionIndex","index"]},standalone:!0})}return _})(),S=(()=>{class _{static#e=this.\u0275fac=function(u){return new(u||_)};static#t=this.\u0275mod=g.$C({type:_});static#n=this.\u0275inj=g.G2t({imports:[te.MD,N.N0]})}return _})()},5887:(Ae,Z,w)=>{w.d(Z,{AL:()=>C,EZ:()=>D,F6:()=>Ze,I8:()=>oe,L_:()=>_,N0:()=>bt,RT:()=>le,Rk:()=>we,To:()=>E,VP:()=>y,Y$:()=>ve,ZM:()=>Te,c7:()=>x,cO:()=>k,df:()=>me,hc:()=>ge,hi:()=>se,ki:()=>et,lH:()=>de,lQ:()=>P,n5:()=>S,oh:()=>_e,pe:()=>be,sY:()=>u,u4:()=>pe,wA:()=>fe,yT:()=>ke});var i=w(8203),c=w(5024),g=w(6860),$=w(5478),ee=w(177),l=w(4438),W=w(5286),I=w(9928),R=w(8982),Q=w(4421),N=w(7605);const te=[[["caption"]],[["colgroup"],["col"]],"*"],ne=["caption","colgroup, col","*"];function Y(h,v){1&h&&l.SdG(0,2)}function q(h,v){1&h&&(l.j41(0,"thead",0),l.eu8(1,1),l.k0s(),l.j41(2,"tbody",0),l.eu8(3,2)(4,3),l.k0s(),l.j41(5,"tfoot",0),l.eu8(6,4),l.k0s())}function G(h,v){1&h&&l.eu8(0,1)(1,2)(2,3)(3,4)}function z(h,v){if(1&h&&(l.j41(0,"th",3),l.EFF(1),l.k0s()),2&h){const r=l.XpG();l.xc7("text-align",r.justify),l.R7$(),l.SpI(" ",r.headerText," ")}}function F(h,v){if(1&h&&(l.j41(0,"td",4),l.EFF(1),l.k0s()),2&h){const r=v.$implicit,s=l.XpG();l.xc7("text-align",s.justify),l.R7$(),l.SpI(" ",s.dataAccessor(r,s.name)," ")}}const D=new l.nKC("CDK_TABLE"),ae=new l.nKC("text-column-options");let k=(()=>{class h{constructor(r){this.template=r}static#e=this.\u0275fac=function(s){return new(s||h)(l.rXU(l.C4Q))};static#t=this.\u0275dir=l.FsC({type:h,selectors:[["","cdkCellDef",""]],standalone:!0})}return h})(),S=(()=>{class h{constructor(r){this.template=r}static#e=this.\u0275fac=function(s){return new(s||h)(l.rXU(l.C4Q))};static#t=this.\u0275dir=l.FsC({type:h,selectors:[["","cdkHeaderCellDef",""]],standalone:!0})}return h})(),_=(()=>{class h{constructor(r){this.template=r}static#e=this.\u0275fac=function(s){return new(s||h)(l.rXU(l.C4Q))};static#t=this.\u0275dir=l.FsC({type:h,selectors:[["","cdkFooterCellDef",""]],standalone:!0})}return h})(),C=(()=>{class h{get name(){return this._name}set name(r){this._setNameInput(r)}get sticky(){return this._sticky}set sticky(r){r!==this._sticky&&(this._sticky=r,this._hasStickyChanged=!0)}get stickyEnd(){return this._stickyEnd}set stickyEnd(r){r!==this._stickyEnd&&(this._stickyEnd=r,this._hasStickyChanged=!0)}constructor(r){this._table=r,this._hasStickyChanged=!1,this._sticky=!1,this._stickyEnd=!1}hasStickyChanged(){const r=this._hasStickyChanged;return this.resetStickyChanged(),r}resetStickyChanged(){this._hasStickyChanged=!1}_updateColumnCssClassName(){this._columnCssClassName=[`cdk-column-${this.cssClassFriendlyName}`]}_setNameInput(r){r&&(this._name=r,this.cssClassFriendlyName=r.replace(/[^a-z0-9_-]/gi,"-"),this._updateColumnCssClassName())}static#e=this.\u0275fac=function(s){return new(s||h)(l.rXU(D,8))};static#t=this.\u0275dir=l.FsC({type:h,selectors:[["","cdkColumnDef",""]],contentQueries:function(s,d,f){if(1&s&&(l.wni(f,k,5),l.wni(f,S,5),l.wni(f,_,5)),2&s){let p;l.mGM(p=l.lsd())&&(d.cell=p.first),l.mGM(p=l.lsd())&&(d.headerCell=p.first),l.mGM(p=l.lsd())&&(d.footerCell=p.first)}},inputs:{name:[0,"cdkColumnDef","name"],sticky:[2,"sticky","sticky",l.L39],stickyEnd:[2,"stickyEnd","stickyEnd",l.L39]},standalone:!0,features:[l.Jv_([{provide:"MAT_SORT_HEADER_COLUMN_DEF",useExisting:h}]),l.GFd]})}return h})();class m{constructor(v,r){r.nativeElement.classList.add(...v._columnCssClassName)}}let u=(()=>{class h extends m{constructor(r,s){super(r,s)}static#e=this.\u0275fac=function(s){return new(s||h)(l.rXU(C),l.rXU(l.aKT))};static#t=this.\u0275dir=l.FsC({type:h,selectors:[["cdk-header-cell"],["th","cdk-header-cell",""]],hostAttrs:["role","columnheader",1,"cdk-header-cell"],standalone:!0,features:[l.Vt3]})}return h})(),x=(()=>{class h extends m{constructor(r,s){super(r,s);const d=r._table?._getCellRole();d&&s.nativeElement.setAttribute("role",d)}static#e=this.\u0275fac=function(s){return new(s||h)(l.rXU(C),l.rXU(l.aKT))};static#t=this.\u0275dir=l.FsC({type:h,selectors:[["cdk-footer-cell"],["td","cdk-footer-cell",""]],hostAttrs:[1,"cdk-footer-cell"],standalone:!0,features:[l.Vt3]})}return h})(),y=(()=>{class h extends m{constructor(r,s){super(r,s);const d=r._table?._getCellRole();d&&s.nativeElement.setAttribute("role",d)}static#e=this.\u0275fac=function(s){return new(s||h)(l.rXU(C),l.rXU(l.aKT))};static#t=this.\u0275dir=l.FsC({type:h,selectors:[["cdk-cell"],["td","cdk-cell",""]],hostAttrs:[1,"cdk-cell"],standalone:!0,features:[l.Vt3]})}return h})();class T{constructor(){this.tasks=[],this.endTasks=[]}}const E=new l.nKC("_COALESCED_STYLE_SCHEDULER");let P=(()=>{class h{constructor(r){this._currentSchedule=null,this._ngZone=(0,l.WQX)(l.SKi)}schedule(r){this._createScheduleIfNeeded(),this._currentSchedule.tasks.push(r)}scheduleEnd(r){this._createScheduleIfNeeded(),this._currentSchedule.endTasks.push(r)}_createScheduleIfNeeded(){this._currentSchedule||(this._currentSchedule=new T,this._ngZone.runOutsideAngular(()=>queueMicrotask(()=>{for(;this._currentSchedule.tasks.length||this._currentSchedule.endTasks.length;){const r=this._currentSchedule;this._currentSchedule=new T;for(const s of r.tasks)s();for(const s of r.endTasks)s()}this._currentSchedule=null})))}static#e=this.\u0275fac=function(s){return new(s||h)(l.KVO(l.SKi))};static#t=this.\u0275prov=l.jDH({token:h,factory:h.\u0275fac})}return h})(),B=(()=>{class h{constructor(r,s){this.template=r,this._differs=s}ngOnChanges(r){if(!this._columnsDiffer){const s=r.columns&&r.columns.currentValue||[];this._columnsDiffer=this._differs.find(s).create(),this._columnsDiffer.diff(s)}}getColumnsDiff(){return this._columnsDiffer.diff(this.columns)}extractCellTemplate(r){return this instanceof se?r.headerCell.template:this instanceof me?r.footerCell.template:r.cell.template}static#e=this.\u0275fac=function(s){return new(s||h)(l.rXU(l.C4Q),l.rXU(l._q3))};static#t=this.\u0275dir=l.FsC({type:h,features:[l.OA$]})}return h})(),se=(()=>{class h extends B{get sticky(){return this._sticky}set sticky(r){r!==this._sticky&&(this._sticky=r,this._hasStickyChanged=!0)}constructor(r,s,d){super(r,s),this._table=d,this._hasStickyChanged=!1,this._sticky=!1}ngOnChanges(r){super.ngOnChanges(r)}hasStickyChanged(){const r=this._hasStickyChanged;return this.resetStickyChanged(),r}resetStickyChanged(){this._hasStickyChanged=!1}static#e=this.\u0275fac=function(s){return new(s||h)(l.rXU(l.C4Q),l.rXU(l._q3),l.rXU(D,8))};static#t=this.\u0275dir=l.FsC({type:h,selectors:[["","cdkHeaderRowDef",""]],inputs:{columns:[0,"cdkHeaderRowDef","columns"],sticky:[2,"cdkHeaderRowDefSticky","sticky",l.L39]},standalone:!0,features:[l.GFd,l.Vt3,l.OA$]})}return h})(),me=(()=>{class h extends B{get sticky(){return this._sticky}set sticky(r){r!==this._sticky&&(this._sticky=r,this._hasStickyChanged=!0)}constructor(r,s,d){super(r,s),this._table=d,this._hasStickyChanged=!1,this._sticky=!1}ngOnChanges(r){super.ngOnChanges(r)}hasStickyChanged(){const r=this._hasStickyChanged;return this.resetStickyChanged(),r}resetStickyChanged(){this._hasStickyChanged=!1}static#e=this.\u0275fac=function(s){return new(s||h)(l.rXU(l.C4Q),l.rXU(l._q3),l.rXU(D,8))};static#t=this.\u0275dir=l.FsC({type:h,selectors:[["","cdkFooterRowDef",""]],inputs:{columns:[0,"cdkFooterRowDef","columns"],sticky:[2,"cdkFooterRowDefSticky","sticky",l.L39]},standalone:!0,features:[l.GFd,l.Vt3,l.OA$]})}return h})(),_e=(()=>{class h extends B{constructor(r,s,d){super(r,s),this._table=d}static#e=this.\u0275fac=function(s){return new(s||h)(l.rXU(l.C4Q),l.rXU(l._q3),l.rXU(D,8))};static#t=this.\u0275dir=l.FsC({type:h,selectors:[["","cdkRowDef",""]],inputs:{columns:[0,"cdkRowDefColumns","columns"],when:[0,"cdkRowDefWhen","when"]},standalone:!0,features:[l.Vt3]})}return h})(),oe=(()=>{class h{static#e=this.mostRecentCellOutlet=null;constructor(r){this._viewContainer=r,h.mostRecentCellOutlet=this}ngOnDestroy(){h.mostRecentCellOutlet===this&&(h.mostRecentCellOutlet=null)}static#t=this.\u0275fac=function(s){return new(s||h)(l.rXU(l.c1b))};static#n=this.\u0275dir=l.FsC({type:h,selectors:[["","cdkCellOutlet",""]],standalone:!0})}return h})(),fe=(()=>{class h{static#e=this.\u0275fac=function(s){return new(s||h)};static#t=this.\u0275cmp=l.VBU({type:h,selectors:[["cdk-header-row"],["tr","cdk-header-row",""]],hostAttrs:["role","row",1,"cdk-header-row"],standalone:!0,features:[l.aNF],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(s,d){1&s&&l.eu8(0,0)},dependencies:[oe],encapsulation:2})}return h})(),ve=(()=>{class h{static#e=this.\u0275fac=function(s){return new(s||h)};static#t=this.\u0275cmp=l.VBU({type:h,selectors:[["cdk-footer-row"],["tr","cdk-footer-row",""]],hostAttrs:["role","row",1,"cdk-footer-row"],standalone:!0,features:[l.aNF],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(s,d){1&s&&l.eu8(0,0)},dependencies:[oe],encapsulation:2})}return h})(),ge=(()=>{class h{static#e=this.\u0275fac=function(s){return new(s||h)};static#t=this.\u0275cmp=l.VBU({type:h,selectors:[["cdk-row"],["tr","cdk-row",""]],hostAttrs:["role","row",1,"cdk-row"],standalone:!0,features:[l.aNF],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(s,d){1&s&&l.eu8(0,0)},dependencies:[oe],encapsulation:2})}return h})(),pe=(()=>{class h{constructor(r){this.templateRef=r,this._contentClassName="cdk-no-data-row"}static#e=this.\u0275fac=function(s){return new(s||h)(l.rXU(l.C4Q))};static#t=this.\u0275dir=l.FsC({type:h,selectors:[["ng-template","cdkNoDataRow",""]],standalone:!0})}return h})();const xe=["top","bottom","left","right"];class Fe{constructor(v,r,s,d,f=!0,p=!0,V){this._isNativeHtmlTable=v,this._stickCellCss=r,this.direction=s,this._coalescedStyleScheduler=d,this._isBrowser=f,this._needsPositionStickyOnElement=p,this._positionListener=V,this._cachedCellWidths=[],this._borderCellCss={top:`${r}-border-elem-top`,bottom:`${r}-border-elem-bottom`,left:`${r}-border-elem-left`,right:`${r}-border-elem-right`}}clearStickyPositioning(v,r){const s=[];for(const d of v)if(d.nodeType===d.ELEMENT_NODE){s.push(d);for(let f=0;f<d.children.length;f++)s.push(d.children[f])}this._coalescedStyleScheduler.schedule(()=>{for(const d of s)this._removeStickyStyle(d,r)})}updateStickyColumns(v,r,s,d=!0){v.length&&this._isBrowser&&(r.some(f=>f)||s.some(f=>f))?this._coalescedStyleScheduler.schedule(()=>{const f=v[0],p=f.children.length,V=this._getCellWidths(f,d),A=this._getStickyStartColumnPositions(V,r),j=this._getStickyEndColumnPositions(V,s),O=r.lastIndexOf(!0),U=s.indexOf(!0),K="rtl"===this.direction,J=K?"right":"left",Ee=K?"left":"right";for(const re of v)for(let H=0;H<p;H++){const Be=re.children[H];r[H]&&this._addStickyStyle(Be,J,A[H],H===O),s[H]&&this._addStickyStyle(Be,Ee,j[H],H===U)}this._positionListener&&(this._positionListener.stickyColumnsUpdated({sizes:-1===O?[]:V.slice(0,O+1).map((re,H)=>r[H]?re:null)}),this._positionListener.stickyEndColumnsUpdated({sizes:-1===U?[]:V.slice(U).map((re,H)=>s[H+U]?re:null).reverse()}))}):this._positionListener&&(this._positionListener.stickyColumnsUpdated({sizes:[]}),this._positionListener.stickyEndColumnsUpdated({sizes:[]}))}stickRows(v,r,s){this._isBrowser&&this._coalescedStyleScheduler.schedule(()=>{const d="bottom"===s?v.slice().reverse():v,f="bottom"===s?r.slice().reverse():r,p=[],V=[],A=[];for(let O=0,U=0;O<d.length;O++){if(!f[O])continue;p[O]=U;const K=d[O];A[O]=this._isNativeHtmlTable?Array.from(K.children):[K];const J=K.getBoundingClientRect().height;U+=J,V[O]=J}const j=f.lastIndexOf(!0);for(let O=0;O<d.length;O++){if(!f[O])continue;const U=p[O],K=O===j;for(const J of A[O])this._addStickyStyle(J,s,U,K)}"top"===s?this._positionListener?.stickyHeaderRowsUpdated({sizes:V,offsets:p,elements:A}):this._positionListener?.stickyFooterRowsUpdated({sizes:V,offsets:p,elements:A})})}updateStickyFooterContainer(v,r){this._isNativeHtmlTable&&this._coalescedStyleScheduler.schedule(()=>{const s=v.querySelector("tfoot");s&&(r.some(d=>!d)?this._removeStickyStyle(s,["bottom"]):this._addStickyStyle(s,"bottom",0,!1))})}_removeStickyStyle(v,r){for(const d of r)v.style[d]="",v.classList.remove(this._borderCellCss[d]);xe.some(d=>-1===r.indexOf(d)&&v.style[d])?v.style.zIndex=this._getCalculatedZIndex(v):(v.style.zIndex="",this._needsPositionStickyOnElement&&(v.style.position=""),v.classList.remove(this._stickCellCss))}_addStickyStyle(v,r,s,d){v.classList.add(this._stickCellCss),d&&v.classList.add(this._borderCellCss[r]),v.style[r]=`${s}px`,v.style.zIndex=this._getCalculatedZIndex(v),this._needsPositionStickyOnElement&&(v.style.cssText+="position: -webkit-sticky; position: sticky; ")}_getCalculatedZIndex(v){const r={top:100,bottom:10,left:1,right:1};let s=0;for(const d of xe)v.style[d]&&(s+=r[d]);return s?`${s}`:""}_getCellWidths(v,r=!0){if(!r&&this._cachedCellWidths.length)return this._cachedCellWidths;const s=[],d=v.children;for(let f=0;f<d.length;f++)s.push(d[f].getBoundingClientRect().width);return this._cachedCellWidths=s,s}_getStickyStartColumnPositions(v,r){const s=[];let d=0;for(let f=0;f<v.length;f++)r[f]&&(s[f]=d,d+=v[f]);return s}_getStickyEndColumnPositions(v,r){const s=[];let d=0;for(let f=v.length;f>0;f--)r[f]&&(s[f]=d,d+=v[f]);return s}}const Te=new l.nKC("CDK_SPL");let Ze=(()=>{class h{static#e=this.\u0275fac=function(s){return new(s||h)};static#t=this.\u0275dir=l.FsC({type:h,selectors:[["cdk-table","recycleRows",""],["table","cdk-table","","recycleRows",""]],standalone:!0,features:[l.Jv_([{provide:c.sL,useClass:c.DQ}])]})}return h})(),ke=(()=>{class h{constructor(r,s){this.viewContainer=r,this.elementRef=s;const d=(0,l.WQX)(D);d._rowOutlet=this,d._outletAssigned()}static#e=this.\u0275fac=function(s){return new(s||h)(l.rXU(l.c1b),l.rXU(l.aKT))};static#t=this.\u0275dir=l.FsC({type:h,selectors:[["","rowOutlet",""]],standalone:!0})}return h})(),be=(()=>{class h{constructor(r,s){this.viewContainer=r,this.elementRef=s;const d=(0,l.WQX)(D);d._headerRowOutlet=this,d._outletAssigned()}static#e=this.\u0275fac=function(s){return new(s||h)(l.rXU(l.c1b),l.rXU(l.aKT))};static#t=this.\u0275dir=l.FsC({type:h,selectors:[["","headerRowOutlet",""]],standalone:!0})}return h})(),de=(()=>{class h{constructor(r,s){this.viewContainer=r,this.elementRef=s;const d=(0,l.WQX)(D);d._footerRowOutlet=this,d._outletAssigned()}static#e=this.\u0275fac=function(s){return new(s||h)(l.rXU(l.c1b),l.rXU(l.aKT))};static#t=this.\u0275dir=l.FsC({type:h,selectors:[["","footerRowOutlet",""]],standalone:!0})}return h})(),le=(()=>{class h{constructor(r,s){this.viewContainer=r,this.elementRef=s;const d=(0,l.WQX)(D);d._noDataRowOutlet=this,d._outletAssigned()}static#e=this.\u0275fac=function(s){return new(s||h)(l.rXU(l.c1b),l.rXU(l.aKT))};static#t=this.\u0275dir=l.FsC({type:h,selectors:[["","noDataRowOutlet",""]],standalone:!0})}return h})(),we=(()=>{class h{_getCellRole(){if(void 0===this._cellRoleInternal){const r=this._elementRef.nativeElement.getAttribute("role"),s="grid"===r||"treegrid"===r?"gridcell":"cell";this._cellRoleInternal=this._isNativeHtmlTable&&"cell"===s?null:s}return this._cellRoleInternal}get trackBy(){return this._trackByFn}set trackBy(r){this._trackByFn=r}get dataSource(){return this._dataSource}set dataSource(r){this._dataSource!==r&&this._switchDataSource(r)}get multiTemplateDataRows(){return this._multiTemplateDataRows}set multiTemplateDataRows(r){this._multiTemplateDataRows=r,this._rowOutlet&&this._rowOutlet.viewContainer.length&&(this._forceRenderDataRows(),this.updateStickyColumnStyles())}get fixedLayout(){return this._fixedLayout}set fixedLayout(r){this._fixedLayout=r,this._forceRecalculateCellWidths=!0,this._stickyColumnStylesNeedReset=!0}constructor(r,s,d,f,p,V,A,j,O,U,K,J){this._differs=r,this._changeDetectorRef=s,this._elementRef=d,this._dir=p,this._platform=A,this._viewRepeater=j,this._coalescedStyleScheduler=O,this._viewportRuler=U,this._stickyPositioningListener=K,this._onDestroy=new W.B7,this._columnDefsByName=new Map,this._customColumnDefs=new Set,this._customRowDefs=new Set,this._customHeaderRowDefs=new Set,this._customFooterRowDefs=new Set,this._headerRowDefChanged=!0,this._footerRowDefChanged=!0,this._stickyColumnStylesNeedReset=!0,this._forceRecalculateCellWidths=!0,this._cachedRenderRowsMap=new Map,this.stickyCssClass="cdk-table-sticky",this.needsPositionStickyOnElement=!0,this._isShowingNoDataRow=!1,this._hasAllOutlets=!1,this._hasInitialized=!1,this._cellRoleInternal=void 0,this._multiTemplateDataRows=!1,this._fixedLayout=!1,this.contentChanged=new l.bkB,this.viewChange=new I.t({start:0,end:Number.MAX_VALUE}),this._injector=(0,l.WQX)(l.zZn),f||d.nativeElement.setAttribute("role","table"),this._document=V,this._isServer=!A.isBrowser,this._isNativeHtmlTable="TABLE"===d.nativeElement.nodeName}ngOnInit(){this._setupStickyStyler(),this._dataDiffer=this._differs.find([]).create((r,s)=>this.trackBy?this.trackBy(s.dataIndex,s.data):s),this._viewportRuler.change().pipe((0,N.Q)(this._onDestroy)).subscribe(()=>{this._forceRecalculateCellWidths=!0})}ngAfterContentInit(){this._hasInitialized=!0}ngAfterContentChecked(){this._canRender()&&this._render()}ngOnDestroy(){[this._rowOutlet?.viewContainer,this._headerRowOutlet?.viewContainer,this._footerRowOutlet?.viewContainer,this._cachedRenderRowsMap,this._customColumnDefs,this._customRowDefs,this._customHeaderRowDefs,this._customFooterRowDefs,this._columnDefsByName].forEach(r=>{r?.clear()}),this._headerRowDefs=[],this._footerRowDefs=[],this._defaultRowDef=null,this._onDestroy.next(),this._onDestroy.complete(),(0,c.y4)(this.dataSource)&&this.dataSource.disconnect(this)}renderRows(){this._renderRows=this._getAllRenderRows();const r=this._dataDiffer.diff(this._renderRows);if(!r)return this._updateNoDataRow(),void this.contentChanged.next();const s=this._rowOutlet.viewContainer;this._viewRepeater.applyChanges(r,s,(d,f,p)=>this._getEmbeddedViewArgs(d.item,p),d=>d.item.data,d=>{d.operation===c.Q3.INSERTED&&d.context&&this._renderCellTemplateForItem(d.record.item.rowDef,d.context)}),this._updateRowIndexContext(),r.forEachIdentityChange(d=>{s.get(d.currentIndex).context.$implicit=d.item.data}),this._updateNoDataRow(),(0,l.mal)(()=>{this.updateStickyColumnStyles()},{injector:this._injector}),this.contentChanged.next()}addColumnDef(r){this._customColumnDefs.add(r)}removeColumnDef(r){this._customColumnDefs.delete(r)}addRowDef(r){this._customRowDefs.add(r)}removeRowDef(r){this._customRowDefs.delete(r)}addHeaderRowDef(r){this._customHeaderRowDefs.add(r),this._headerRowDefChanged=!0}removeHeaderRowDef(r){this._customHeaderRowDefs.delete(r),this._headerRowDefChanged=!0}addFooterRowDef(r){this._customFooterRowDefs.add(r),this._footerRowDefChanged=!0}removeFooterRowDef(r){this._customFooterRowDefs.delete(r),this._footerRowDefChanged=!0}setNoDataRow(r){this._customNoDataRow=r}updateStickyHeaderRowStyles(){const r=this._getRenderedRows(this._headerRowOutlet);if(this._isNativeHtmlTable){const d=Ie(this._headerRowOutlet,"thead");d&&(d.style.display=r.length?"":"none")}const s=this._headerRowDefs.map(d=>d.sticky);this._stickyStyler.clearStickyPositioning(r,["top"]),this._stickyStyler.stickRows(r,s,"top"),this._headerRowDefs.forEach(d=>d.resetStickyChanged())}updateStickyFooterRowStyles(){const r=this._getRenderedRows(this._footerRowOutlet);if(this._isNativeHtmlTable){const d=Ie(this._footerRowOutlet,"tfoot");d&&(d.style.display=r.length?"":"none")}const s=this._footerRowDefs.map(d=>d.sticky);this._stickyStyler.clearStickyPositioning(r,["bottom"]),this._stickyStyler.stickRows(r,s,"bottom"),this._stickyStyler.updateStickyFooterContainer(this._elementRef.nativeElement,s),this._footerRowDefs.forEach(d=>d.resetStickyChanged())}updateStickyColumnStyles(){const r=this._getRenderedRows(this._headerRowOutlet),s=this._getRenderedRows(this._rowOutlet),d=this._getRenderedRows(this._footerRowOutlet);(this._isNativeHtmlTable&&!this._fixedLayout||this._stickyColumnStylesNeedReset)&&(this._stickyStyler.clearStickyPositioning([...r,...s,...d],["left","right"]),this._stickyColumnStylesNeedReset=!1),r.forEach((f,p)=>{this._addStickyColumnStyles([f],this._headerRowDefs[p])}),this._rowDefs.forEach(f=>{const p=[];for(let V=0;V<s.length;V++)this._renderRows[V].rowDef===f&&p.push(s[V]);this._addStickyColumnStyles(p,f)}),d.forEach((f,p)=>{this._addStickyColumnStyles([f],this._footerRowDefs[p])}),Array.from(this._columnDefsByName.values()).forEach(f=>f.resetStickyChanged())}_outletAssigned(){!this._hasAllOutlets&&this._rowOutlet&&this._headerRowOutlet&&this._footerRowOutlet&&this._noDataRowOutlet&&(this._hasAllOutlets=!0,this._canRender()&&this._render())}_canRender(){return this._hasAllOutlets&&this._hasInitialized}_render(){this._cacheRowDefs(),this._cacheColumnDefs();const s=this._renderUpdatedColumns()||this._headerRowDefChanged||this._footerRowDefChanged;this._stickyColumnStylesNeedReset=this._stickyColumnStylesNeedReset||s,this._forceRecalculateCellWidths=s,this._headerRowDefChanged&&(this._forceRenderHeaderRows(),this._headerRowDefChanged=!1),this._footerRowDefChanged&&(this._forceRenderFooterRows(),this._footerRowDefChanged=!1),this.dataSource&&this._rowDefs.length>0&&!this._renderChangeSubscription?this._observeRenderChanges():this._stickyColumnStylesNeedReset&&this.updateStickyColumnStyles(),this._checkStickyStates()}_getAllRenderRows(){const r=[],s=this._cachedRenderRowsMap;this._cachedRenderRowsMap=new Map;for(let d=0;d<this._data.length;d++){let f=this._data[d];const p=this._getRenderRowsForData(f,d,s.get(f));this._cachedRenderRowsMap.has(f)||this._cachedRenderRowsMap.set(f,new WeakMap);for(let V=0;V<p.length;V++){let A=p[V];const j=this._cachedRenderRowsMap.get(A.data);j.has(A.rowDef)?j.get(A.rowDef).push(A):j.set(A.rowDef,[A]),r.push(A)}}return r}_getRenderRowsForData(r,s,d){return this._getRowDefs(r,s).map(p=>{const V=d&&d.has(p)?d.get(p):[];if(V.length){const A=V.shift();return A.dataIndex=s,A}return{data:r,rowDef:p,dataIndex:s}})}_cacheColumnDefs(){this._columnDefsByName.clear(),Se(this._getOwnDefs(this._contentColumnDefs),this._customColumnDefs).forEach(s=>{this._columnDefsByName.has(s.name),this._columnDefsByName.set(s.name,s)})}_cacheRowDefs(){this._headerRowDefs=Se(this._getOwnDefs(this._contentHeaderRowDefs),this._customHeaderRowDefs),this._footerRowDefs=Se(this._getOwnDefs(this._contentFooterRowDefs),this._customFooterRowDefs),this._rowDefs=Se(this._getOwnDefs(this._contentRowDefs),this._customRowDefs);const r=this._rowDefs.filter(s=>!s.when);this._defaultRowDef=r[0]}_renderUpdatedColumns(){const r=(p,V)=>p||!!V.getColumnsDiff(),s=this._rowDefs.reduce(r,!1);s&&this._forceRenderDataRows();const d=this._headerRowDefs.reduce(r,!1);d&&this._forceRenderHeaderRows();const f=this._footerRowDefs.reduce(r,!1);return f&&this._forceRenderFooterRows(),s||d||f}_switchDataSource(r){this._data=[],(0,c.y4)(this.dataSource)&&this.dataSource.disconnect(this),this._renderChangeSubscription&&(this._renderChangeSubscription.unsubscribe(),this._renderChangeSubscription=null),r||(this._dataDiffer&&this._dataDiffer.diff([]),this._rowOutlet&&this._rowOutlet.viewContainer.clear()),this._dataSource=r}_observeRenderChanges(){if(!this.dataSource)return;let r;(0,c.y4)(this.dataSource)?r=this.dataSource.connect(this):(0,R.A)(this.dataSource)?r=this.dataSource:Array.isArray(this.dataSource)&&(r=(0,Q.of)(this.dataSource)),this._renderChangeSubscription=r.pipe((0,N.Q)(this._onDestroy)).subscribe(s=>{this._data=s||[],this.renderRows()})}_forceRenderHeaderRows(){this._headerRowOutlet.viewContainer.length>0&&this._headerRowOutlet.viewContainer.clear(),this._headerRowDefs.forEach((r,s)=>this._renderRow(this._headerRowOutlet,r,s)),this.updateStickyHeaderRowStyles()}_forceRenderFooterRows(){this._footerRowOutlet.viewContainer.length>0&&this._footerRowOutlet.viewContainer.clear(),this._footerRowDefs.forEach((r,s)=>this._renderRow(this._footerRowOutlet,r,s)),this.updateStickyFooterRowStyles()}_addStickyColumnStyles(r,s){const d=Array.from(s.columns||[]).map(V=>this._columnDefsByName.get(V)),f=d.map(V=>V.sticky),p=d.map(V=>V.stickyEnd);this._stickyStyler.updateStickyColumns(r,f,p,!this._fixedLayout||this._forceRecalculateCellWidths)}_getRenderedRows(r){const s=[];for(let d=0;d<r.viewContainer.length;d++){const f=r.viewContainer.get(d);s.push(f.rootNodes[0])}return s}_getRowDefs(r,s){if(1==this._rowDefs.length)return[this._rowDefs[0]];let d=[];if(this.multiTemplateDataRows)d=this._rowDefs.filter(f=>!f.when||f.when(s,r));else{let f=this._rowDefs.find(p=>p.when&&p.when(s,r))||this._defaultRowDef;f&&d.push(f)}return d}_getEmbeddedViewArgs(r,s){return{templateRef:r.rowDef.template,context:{$implicit:r.data},index:s}}_renderRow(r,s,d,f={}){const p=r.viewContainer.createEmbeddedView(s.template,f,d);return this._renderCellTemplateForItem(s,f),p}_renderCellTemplateForItem(r,s){for(let d of this._getCellTemplates(r))oe.mostRecentCellOutlet&&oe.mostRecentCellOutlet._viewContainer.createEmbeddedView(d,s);this._changeDetectorRef.markForCheck()}_updateRowIndexContext(){const r=this._rowOutlet.viewContainer;for(let s=0,d=r.length;s<d;s++){const p=r.get(s).context;p.count=d,p.first=0===s,p.last=s===d-1,p.even=s%2==0,p.odd=!p.even,this.multiTemplateDataRows?(p.dataIndex=this._renderRows[s].dataIndex,p.renderIndex=s):p.index=this._renderRows[s].dataIndex}}_getCellTemplates(r){return r&&r.columns?Array.from(r.columns,s=>{const d=this._columnDefsByName.get(s);return r.extractCellTemplate(d)}):[]}_forceRenderDataRows(){this._dataDiffer.diff([]),this._rowOutlet.viewContainer.clear(),this.renderRows()}_checkStickyStates(){const r=(s,d)=>s||d.hasStickyChanged();this._headerRowDefs.reduce(r,!1)&&this.updateStickyHeaderRowStyles(),this._footerRowDefs.reduce(r,!1)&&this.updateStickyFooterRowStyles(),Array.from(this._columnDefsByName.values()).reduce(r,!1)&&(this._stickyColumnStylesNeedReset=!0,this.updateStickyColumnStyles())}_setupStickyStyler(){this._stickyStyler=new Fe(this._isNativeHtmlTable,this.stickyCssClass,this._dir?this._dir.value:"ltr",this._coalescedStyleScheduler,this._platform.isBrowser,this.needsPositionStickyOnElement,this._stickyPositioningListener),(this._dir?this._dir.change:(0,Q.of)()).pipe((0,N.Q)(this._onDestroy)).subscribe(s=>{this._stickyStyler.direction=s,this.updateStickyColumnStyles()})}_getOwnDefs(r){return r.filter(s=>!s._table||s._table===this)}_updateNoDataRow(){const r=this._customNoDataRow||this._noDataRow;if(!r)return;const s=0===this._rowOutlet.viewContainer.length;if(s===this._isShowingNoDataRow)return;const d=this._noDataRowOutlet.viewContainer;if(s){const f=d.createEmbeddedView(r.templateRef),p=f.rootNodes[0];1===f.rootNodes.length&&p?.nodeType===this._document.ELEMENT_NODE&&(p.setAttribute("role","row"),p.classList.add(r._contentClassName))}else d.clear();this._isShowingNoDataRow=s,this._changeDetectorRef.markForCheck()}static#e=this.\u0275fac=function(s){return new(s||h)(l.rXU(l._q3),l.rXU(l.gRc),l.rXU(l.aKT),l.kS0("role"),l.rXU(i.dS,8),l.rXU(ee.qQ),l.rXU(g.OD),l.rXU(c.sL),l.rXU(E),l.rXU($.Xj),l.rXU(Te,12),l.rXU(l.SKi,8))};static#t=this.\u0275cmp=l.VBU({type:h,selectors:[["cdk-table"],["table","cdk-table",""]],contentQueries:function(s,d,f){if(1&s&&(l.wni(f,pe,5),l.wni(f,C,5),l.wni(f,_e,5),l.wni(f,se,5),l.wni(f,me,5)),2&s){let p;l.mGM(p=l.lsd())&&(d._noDataRow=p.first),l.mGM(p=l.lsd())&&(d._contentColumnDefs=p),l.mGM(p=l.lsd())&&(d._contentRowDefs=p),l.mGM(p=l.lsd())&&(d._contentHeaderRowDefs=p),l.mGM(p=l.lsd())&&(d._contentFooterRowDefs=p)}},hostAttrs:[1,"cdk-table"],hostVars:2,hostBindings:function(s,d){2&s&&l.AVh("cdk-table-fixed-layout",d.fixedLayout)},inputs:{trackBy:"trackBy",dataSource:"dataSource",multiTemplateDataRows:[2,"multiTemplateDataRows","multiTemplateDataRows",l.L39],fixedLayout:[2,"fixedLayout","fixedLayout",l.L39]},outputs:{contentChanged:"contentChanged"},exportAs:["cdkTable"],standalone:!0,features:[l.Jv_([{provide:D,useExisting:h},{provide:c.sL,useClass:c.xn},{provide:E,useClass:P},{provide:Te,useValue:null}]),l.GFd,l.aNF],ngContentSelectors:ne,decls:5,vars:2,consts:[["role","rowgroup"],["headerRowOutlet",""],["rowOutlet",""],["noDataRowOutlet",""],["footerRowOutlet",""]],template:function(s,d){1&s&&(l.NAR(te),l.SdG(0),l.SdG(1,1),l.DNE(2,Y,1,0)(3,q,7,0)(4,G,4,0)),2&s&&(l.R7$(2),l.vxM(d._isServer?2:-1),l.R7$(),l.vxM(d._isNativeHtmlTable?3:4))},dependencies:[be,ke,le,de],styles:[".cdk-table-fixed-layout{table-layout:fixed}"],encapsulation:2})}return h})();function Se(h,v){return h.concat(Array.from(v))}function Ie(h,v){const r=v.toUpperCase();let s=h.viewContainer.element.nativeElement;for(;s;){const d=1===s.nodeType?s.nodeName:null;if(d===r)return s;if("TABLE"===d)break;s=s.parentNode}return null}let et=(()=>{class h{get name(){return this._name}set name(r){this._name=r,this._syncColumnDefName()}constructor(r,s){this._table=r,this._options=s,this.justify="start",this._options=s||{}}ngOnInit(){this._syncColumnDefName(),void 0===this.headerText&&(this.headerText=this._createDefaultHeaderText()),this.dataAccessor||(this.dataAccessor=this._options.defaultDataAccessor||((r,s)=>r[s])),this._table&&(this.columnDef.cell=this.cell,this.columnDef.headerCell=this.headerCell,this._table.addColumnDef(this.columnDef))}ngOnDestroy(){this._table&&this._table.removeColumnDef(this.columnDef)}_createDefaultHeaderText(){const r=this.name;return this._options&&this._options.defaultHeaderTextTransform?this._options.defaultHeaderTextTransform(r):r[0].toUpperCase()+r.slice(1)}_syncColumnDefName(){this.columnDef&&(this.columnDef.name=this.name)}static#e=this.\u0275fac=function(s){return new(s||h)(l.rXU(we,8),l.rXU(ae,8))};static#t=this.\u0275cmp=l.VBU({type:h,selectors:[["cdk-text-column"]],viewQuery:function(s,d){if(1&s&&(l.GBs(C,7),l.GBs(k,7),l.GBs(S,7)),2&s){let f;l.mGM(f=l.lsd())&&(d.columnDef=f.first),l.mGM(f=l.lsd())&&(d.cell=f.first),l.mGM(f=l.lsd())&&(d.headerCell=f.first)}},inputs:{name:"name",headerText:"headerText",dataAccessor:"dataAccessor",justify:"justify"},standalone:!0,features:[l.aNF],decls:3,vars:0,consts:[["cdkColumnDef",""],["cdk-header-cell","",3,"text-align",4,"cdkHeaderCellDef"],["cdk-cell","",3,"text-align",4,"cdkCellDef"],["cdk-header-cell",""],["cdk-cell",""]],template:function(s,d){1&s&&(l.qex(0,0),l.DNE(1,z,2,3,"th",1)(2,F,2,3,"td",2),l.bVm())},dependencies:[C,S,u,k,y],encapsulation:2})}return h})(),bt=(()=>{class h{static#e=this.\u0275fac=function(s){return new(s||h)};static#t=this.\u0275mod=l.$C({type:h});static#n=this.\u0275inj=l.G2t({imports:[$.E9]})}return h})()},4261:(Ae,Z,w)=>{w.r(Z),w.d(Z,{CdkSelectionColumnExample:()=>k,CdkSelectionListExample:()=>_});var i=w(180),c=w(4438),g=w(5887),$=w(177),ee=w(2765);function l(u,x){1&u&&(c.j41(0,"th",10),c.EFF(1," No. "),c.k0s())}function W(u,x){if(1&u&&(c.j41(0,"td",11),c.EFF(1),c.k0s()),2&u){const y=x.$implicit;c.R7$(),c.SpI(" ",y.position," ")}}function I(u,x){1&u&&(c.j41(0,"th",10),c.EFF(1," Name "),c.k0s())}function R(u,x){if(1&u&&(c.j41(0,"td",11),c.EFF(1),c.k0s()),2&u){const y=x.$implicit;c.R7$(),c.SpI(" ",y.name," ")}}function Q(u,x){1&u&&(c.j41(0,"th",10),c.EFF(1," Weight "),c.k0s())}function N(u,x){if(1&u&&(c.j41(0,"td",11),c.EFF(1),c.k0s()),2&u){const y=x.$implicit;c.R7$(),c.SpI(" ",y.weight," ")}}function te(u,x){1&u&&(c.j41(0,"th",10),c.EFF(1," Symbol "),c.k0s())}function ne(u,x){if(1&u&&(c.j41(0,"td",11),c.EFF(1),c.k0s()),2&u){const y=x.$implicit;c.R7$(),c.SpI(" ",y.symbol," ")}}function Y(u,x){1&u&&c.nrm(0,"tr",12)}function q(u,x){1&u&&c.nrm(0,"tr",13),2&u&&c.Y8G("cdkRowSelectionValue",x.$implicit)}function G(u,x){return this.trackByFn(u)}function z(u,x){if(1&u){const y=c.RV6();c.j41(0,"li")(1,"input",9,3),c.nI1(3,"async"),c.bIt("click",function(){c.eBV(y);const E=c.sdS(2);return c.Njj(E.toggle())}),c.k0s(),c.EFF(4),c.k0s()}if(2&u){const y=x.$implicit,T=c.sdS(2);c.R7$(),c.Y8G("cdkSelectionToggleValue",y)("checked",c.bMT(3,3,T.checked)),c.R7$(3),c.SpI(" ",y," ")}}function F(u,x){if(1&u&&(c.j41(0,"li"),c.nrm(1,"mat-checkbox",10),c.EFF(2),c.k0s()),2&u){const y=x.$implicit;c.R7$(),c.Y8G("cdkSelectionToggleValue",y),c.R7$(),c.SpI(" ",y," ")}}function D(u,x){if(1&u&&(c.j41(0,"li"),c.nrm(1,"mat-checkbox",10),c.EFF(2),c.k0s()),2&u){const y=x.$implicit;c.R7$(),c.Y8G("cdkSelectionToggleValue",y),c.R7$(),c.SpI(" ",y," ")}}function ae(u,x){if(1&u&&(c.j41(0,"li"),c.nrm(1,"mat-checkbox",11),c.EFF(2),c.k0s()),2&u){const y=x.$implicit,T=x.$index;c.R7$(),c.Y8G("cdkSelectionToggleValue",y)("cdkSelectionToggleIndex",T),c.R7$(),c.SpI(" ",y," ")}}let k=(()=>{class u{constructor(){this.displayedColumns=["select","position","name","weight","symbol"],this.dataSource=S,this.selected=[]}selectionChanged(y){this.selected=y.after.map(T=>T.value.name)}static#e=this.\u0275fac=function(T){return new(T||u)};static#t=this.\u0275cmp=c.VBU({type:u,selectors:[["cdk-selection-column-example"]],standalone:!0,features:[c.aNF],decls:17,vars:5,consts:[["cdk-table","","cdkSelection","",1,"example-table",3,"cdkSelectionChange","dataSource","cdkSelectionMultiple"],["cdkSelectionColumnName","select"],["cdkColumnDef","position"],["cdk-header-cell","",4,"cdkHeaderCellDef"],["cdk-cell","",4,"cdkCellDef"],["cdkColumnDef","name"],["cdkColumnDef","weight"],["cdkColumnDef","symbol"],["cdk-header-row","",4,"cdkHeaderRowDef"],["cdk-row","","cdkRowSelection","",3,"cdkRowSelectionValue",4,"cdkRowDef","cdkRowDefColumns"],["cdk-header-cell",""],["cdk-cell",""],["cdk-header-row",""],["cdk-row","","cdkRowSelection","",3,"cdkRowSelectionValue"]],template:function(T,E){1&T&&(c.EFF(0),c.j41(1,"table",0),c.bIt("cdkSelectionChange",function(X){return E.selectionChanged(X)}),c.nrm(2,"cdk-selection-column",1),c.qex(3,2),c.DNE(4,l,2,0,"th",3)(5,W,2,1,"td",4),c.bVm(),c.qex(6,5),c.DNE(7,I,2,0,"th",3)(8,R,2,1,"td",4),c.bVm(),c.qex(9,6),c.DNE(10,Q,2,0,"th",3)(11,N,2,1,"td",4),c.bVm(),c.qex(12,7),c.DNE(13,te,2,0,"th",3)(14,ne,2,1,"td",4),c.bVm(),c.DNE(15,Y,1,0,"tr",8)(16,q,1,1,"tr",9),c.k0s()),2&T&&(c.SpI("Selected: ",E.selected,"\n"),c.R7$(),c.Y8G("dataSource",E.dataSource)("cdkSelectionMultiple",!0),c.R7$(14),c.Y8G("cdkHeaderRowDef",E.displayedColumns),c.R7$(),c.Y8G("cdkRowDefColumns",E.displayedColumns))},dependencies:[g.N0,g.Rk,g.oh,g.cO,g.n5,g.AL,g.VP,g.hc,g.sY,g.wA,g.hi,i.lb,i.XI,i.dM,i.PR],styles:[".example-table[_ngcontent-%COMP%] {\n border-collapse: collapse;\n}\n\ntr.cdk-selected[_ngcontent-%COMP%] {\n background-color: yellow;\n}"]})}return u})();const S=[{position:1,name:"Hydrogen",weight:1.0079,symbol:"H"},{position:2,name:"Helium",weight:4.0026,symbol:"He"},{position:3,name:"Lithium",weight:6.941,symbol:"Li"},{position:4,name:"Beryllium",weight:9.0122,symbol:"Be"},{position:5,name:"Boron",weight:10.811,symbol:"B"},{position:6,name:"Carbon",weight:12.0107,symbol:"C"},{position:7,name:"Nitrogen",weight:14.0067,symbol:"N"},{position:8,name:"Oxygen",weight:15.9994,symbol:"O"},{position:9,name:"Fluorine",weight:18.9984,symbol:"F"},{position:10,name:"Neon",weight:20.1797,symbol:"Ne"},{position:11,name:"Sodium",weight:22.9897,symbol:"Na"},{position:12,name:"Magnesium",weight:24.305,symbol:"Mg"},{position:13,name:"Aluminum",weight:26.9815,symbol:"Al"},{position:14,name:"Silicon",weight:28.0855,symbol:"Si"},{position:15,name:"Phosphorus",weight:30.9738,symbol:"P"},{position:16,name:"Sulfur",weight:32.065,symbol:"S"},{position:17,name:"Chlorine",weight:35.453,symbol:"Cl"},{position:18,name:"Argon",weight:39.948,symbol:"Ar"},{position:19,name:"Potassium",weight:39.0983,symbol:"K"},{position:20,name:"Calcium",weight:40.078,symbol:"Ca"}];let _=(()=>{class u{constructor(){this.data=C,this.selected1=[],this.selected2=[],this.selected3=[],this.selected4=[]}getCurrentSelected(y){return y.after.map(T=>T.value)}trackByFn(y){return y}changeElementName(){this.data=m}reset(){this.data=C}static#e=this.\u0275fac=function(T){return new(T||u)};static#t=this.\u0275cmp=c.VBU({type:u,selectors:[["cdk-selection-list-example"]],standalone:!0,features:[c.aNF],decls:42,vars:25,consts:[["allToggler","cdkSelectAll"],["toggle1","cdkSelectAll"],["toggle2","cdkSelectAll"],["toggler","cdkSelectionToggle"],["cdkSelection","",3,"cdkSelectionChange","dataSource","cdkSelectionMultiple"],["type","checkbox","cdkSelectAll","",3,"click","checked","indeterminate"],["cdkSelectAll","",3,"indeterminate"],["cdkSelection","",3,"cdkSelectionChange","dataSource","cdkSelectionMultiple","trackBy"],[3,"click"],["type","checkbox","cdkSelectionToggle","",3,"click","cdkSelectionToggleValue","checked"],["cdkSelectionToggle","",3,"cdkSelectionToggleValue"],["cdkSelectionToggle","",3,"cdkSelectionToggleValue","cdkSelectionToggleIndex"]],template:function(T,E){if(1&T){const P=c.RV6();c.j41(0,"h3")(1,"code"),c.EFF(2,"native input"),c.k0s()(),c.EFF(3),c.j41(4,"ul",4),c.bIt("cdkSelectionChange",function(B){return c.eBV(P),c.Njj(E.selected1=E.getCurrentSelected(B))}),c.j41(5,"input",5,0),c.nI1(7,"async"),c.nI1(8,"async"),c.bIt("click",function(B){c.eBV(P);const se=c.sdS(6);return c.Njj(se.toggle(B))}),c.k0s(),c.Z7z(9,z,5,5,"li",null,c.fX1),c.k0s(),c.j41(11,"h3")(12,"code"),c.EFF(13,"mat-checkbox"),c.k0s()(),c.EFF(14),c.j41(15,"ul",4),c.bIt("cdkSelectionChange",function(B){return c.eBV(P),c.Njj(E.selected2=E.getCurrentSelected(B))}),c.nrm(16,"mat-checkbox",6,1),c.nI1(18,"async"),c.Z7z(19,F,3,2,"li",null,c.fX1),c.k0s(),c.j41(21,"h3")(22,"code"),c.EFF(23,"Single select with mat-checkbox"),c.k0s()(),c.EFF(24),c.j41(25,"ul",4),c.bIt("cdkSelectionChange",function(B){return c.eBV(P),c.Njj(E.selected3=E.getCurrentSelected(B))}),c.Z7z(26,D,3,2,"li",null,c.fX1),c.k0s(),c.j41(28,"h3")(29,"code"),c.EFF(30,"with trackBy"),c.k0s()(),c.EFF(31),c.j41(32,"ul",7),c.bIt("cdkSelectionChange",function(B){return c.eBV(P),c.Njj(E.selected4=E.getCurrentSelected(B))}),c.nrm(33,"mat-checkbox",6,2),c.nI1(35,"async"),c.Z7z(36,ae,3,3,"li",null,G,!0),c.k0s(),c.j41(38,"button",8),c.bIt("click",function(){return c.eBV(P),c.Njj(E.changeElementName())}),c.EFF(39,"Change element names and the already selected stays"),c.k0s(),c.j41(40,"button",8),c.bIt("click",function(){return c.eBV(P),c.Njj(E.reset())}),c.EFF(41,"reset"),c.k0s()}if(2&T){const P=c.sdS(6),X=c.sdS(17),B=c.sdS(34);c.R7$(3),c.SpI("\nSelected: ",E.selected1,"\n"),c.R7$(),c.Y8G("dataSource",E.data)("cdkSelectionMultiple",!0),c.R7$(),c.Y8G("checked",c.bMT(7,17,P.checked))("indeterminate",c.bMT(8,19,P.indeterminate)),c.R7$(4),c.Dyx(E.data),c.R7$(5),c.SpI("\nSelected: ",E.selected2,"\n"),c.R7$(),c.Y8G("dataSource",E.data)("cdkSelectionMultiple",!0),c.R7$(),c.Y8G("indeterminate",c.bMT(18,21,X.indeterminate)),c.R7$(3),c.Dyx(E.data),c.R7$(5),c.SpI("\nSelected: ",E.selected3,"\n"),c.R7$(),c.Y8G("dataSource",E.data)("cdkSelectionMultiple",!1),c.R7$(),c.Dyx(E.data),c.R7$(5),c.SpI("\nSelected: ",E.selected4,"\n"),c.R7$(),c.Y8G("dataSource",E.data)("cdkSelectionMultiple",!0)("trackBy",E.trackByFn),c.R7$(),c.Y8G("indeterminate",c.bMT(35,23,B.indeterminate)),c.R7$(3),c.Dyx(E.data)}},dependencies:[i.lb,i.XI,i.DQ,i.ax,ee.g7,ee.So,$.Jj],encapsulation:2})}return u})();const C=["Hydrogen","Helium","Lithium","Beryllium","Boron","Carbon","Nitrogen","Oxygen","Fluorine","Neon","Sodium","Magnesium","Aluminum","Silicon","Phosphorus","Sulfur","Chlorine","Argon","Potassium","Calcium"],m=["H","He","Li","Be","B","C","N","O","F","Ne","Na","Mg","Al","Si","P","S","Cl","Ar","K","Ca"]},9417:(Ae,Z,w)=>{w.d(Z,{BC:()=>ke,JD:()=>_t,MJ:()=>Ce,MR:()=>lt,Q0:()=>at,X1:()=>Nn,YN:()=>Tn,YS:()=>ze,ZU:()=>L,Zm:()=>N,cV:()=>Xe,cb:()=>be,cz:()=>F,gE:()=>ye,j4:()=>$e,k0:()=>k,kq:()=>R,l_:()=>ht,me:()=>q,ok:()=>On,qT:()=>At,vO:()=>ie,vS:()=>ct,wz:()=>We,xH:()=>Nt,xq:()=>gt,y7:()=>Bt});var i=w(4438),c=w(177),g=w(4787),$=w(696),ee=w(5286),l=w(5006);let W=(()=>{class t{constructor(e,o){this._renderer=e,this._elementRef=o,this.onChange=a=>{},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)}static#e=this.\u0275fac=function(o){return new(o||t)(i.rXU(i.sFG),i.rXU(i.aKT))};static#t=this.\u0275dir=i.FsC({type:t})}return t})(),I=(()=>{class t extends W{static#e=this.\u0275fac=(()=>{let e;return function(a){return(e||(e=i.xGo(t)))(a||t)}})();static#t=this.\u0275dir=i.FsC({type:t,features:[i.Vt3]})}return t})();const R=new i.nKC(""),Q={provide:R,useExisting:(0,i.Rfq)(()=>N),multi:!0};let N=(()=>{class t extends I{writeValue(e){this.setProperty("checked",e)}static#e=this.\u0275fac=(()=>{let e;return function(a){return(e||(e=i.xGo(t)))(a||t)}})();static#t=this.\u0275dir=i.FsC({type:t,selectors:[["input","type","checkbox","formControlName",""],["input","type","checkbox","formControl",""],["input","type","checkbox","ngModel",""]],hostBindings:function(o,a){1&o&&i.bIt("change",function(M){return a.onChange(M.target.checked)})("blur",function(){return a.onTouched()})},features:[i.Jv_([Q]),i.Vt3]})}return t})();const te={provide:R,useExisting:(0,i.Rfq)(()=>q),multi:!0},Y=new i.nKC("");let q=(()=>{class t extends W{constructor(e,o,a){super(e,o),this._compositionMode=a,this._composing=!1,null==this._compositionMode&&(this._compositionMode=!function ne(){const t=(0,c.QT)()?(0,c.QT)().getUserAgent():"";return/android (\d+)/.test(t.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)}static#e=this.\u0275fac=function(o){return new(o||t)(i.rXU(i.sFG),i.rXU(i.aKT),i.rXU(Y,8))};static#t=this.\u0275dir=i.FsC({type:t,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(o,a){1&o&&i.bIt("input",function(M){return a._handleInput(M.target.value)})("blur",function(){return a.onTouched()})("compositionstart",function(){return a._compositionStart()})("compositionend",function(M){return a._compositionEnd(M.target.value)})},features:[i.Jv_([te]),i.Vt3]})}return t})();function G(t){return null==t||("string"==typeof t||Array.isArray(t))&&0===t.length}function z(t){return null!=t&&"number"==typeof t.length}const F=new i.nKC(""),D=new i.nKC(""),ae=/^(?=.{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 k{static min(n){return function S(t){return n=>{if(G(n.value)||G(t))return null;const e=parseFloat(n.value);return!isNaN(e)&&e<t?{min:{min:t,actual:n.value}}:null}}(n)}static max(n){return function _(t){return n=>{if(G(n.value)||G(t))return null;const e=parseFloat(n.value);return!isNaN(e)&&e>t?{max:{max:t,actual:n.value}}:null}}(n)}static required(n){return C(n)}static requiredTrue(n){return m(n)}static email(n){return function u(t){return G(t.value)||ae.test(t.value)?null:{email:!0}}(n)}static minLength(n){return function x(t){return n=>G(n.value)||!z(n.value)?null:n.value.length<t?{minlength:{requiredLength:t,actualLength:n.value.length}}:null}(n)}static maxLength(n){return function y(t){return n=>z(n.value)&&n.value.length>t?{maxlength:{requiredLength:t,actualLength:n.value.length}}:null}(n)}static pattern(n){return function T(t){if(!t)return E;let n,e;return"string"==typeof t?(e="","^"!==t.charAt(0)&&(e+="^"),e+=t,"$"!==t.charAt(t.length-1)&&(e+="$"),n=new RegExp(e)):(e=t.toString(),n=t),o=>{if(G(o.value))return null;const a=o.value;return n.test(a)?null:{pattern:{requiredPattern:e,actualValue:a}}}}(n)}static nullValidator(n){return null}static compose(n){return oe(n)}static composeAsync(n){return ve(n)}}function C(t){return G(t.value)?{required:!0}:null}function m(t){return!0===t.value?null:{required:!0}}function E(t){return null}function P(t){return null!=t}function X(t){return(0,i.jNT)(t)?(0,g.H)(t):t}function B(t){let n={};return t.forEach(e=>{n=null!=e?{...n,...e}:n}),0===Object.keys(n).length?null:n}function se(t,n){return n.map(e=>e(t))}function _e(t){return t.map(n=>function me(t){return!t.validate}(n)?n:e=>n.validate(e))}function oe(t){if(!t)return null;const n=t.filter(P);return 0==n.length?null:function(e){return B(se(e,n))}}function fe(t){return null!=t?oe(_e(t)):null}function ve(t){if(!t)return null;const n=t.filter(P);return 0==n.length?null:function(e){const o=se(e,n).map(X);return(0,$.p)(o).pipe((0,l.T)(B))}}function ge(t){return null!=t?ve(_e(t)):null}function pe(t,n){return null===t?[n]:Array.isArray(t)?[...t,n]:[t,n]}function xe(t){return t._rawValidators}function Fe(t){return t._rawAsyncValidators}function Oe(t){return t?Array.isArray(t)?t:[t]:[]}function De(t,n){return Array.isArray(t)?t.includes(n):t===n}function qe(t,n){const e=Oe(n);return Oe(t).forEach(a=>{De(e,a)||e.push(a)}),e}function Qe(t,n){return Oe(n).filter(e=>!De(t,e))}class Ye{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(n){this._rawValidators=n||[],this._composedValidatorFn=fe(this._rawValidators)}_setAsyncValidators(n){this._rawAsyncValidators=n||[],this._composedAsyncValidatorFn=ge(this._rawAsyncValidators)}get validator(){return this._composedValidatorFn||null}get asyncValidator(){return this._composedAsyncValidatorFn||null}_registerOnDestroy(n){this._onDestroyCallbacks.push(n)}_invokeOnDestroyCallbacks(){this._onDestroyCallbacks.forEach(n=>n()),this._onDestroyCallbacks=[]}reset(n=void 0){this.control&&this.control.reset(n)}hasError(n,e){return!!this.control&&this.control.hasError(n,e)}getError(n,e){return this.control?this.control.getError(n,e):null}}class L extends Ye{get formDirective(){return null}get path(){return null}}class ie extends Ye{constructor(){super(...arguments),this._parent=null,this.name=null,this.valueAccessor=null}}class Je{constructor(n){this._cd=n}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 ke=(()=>{class t extends Je{constructor(e){super(e)}static#e=this.\u0275fac=function(o){return new(o||t)(i.rXU(ie,2))};static#t=this.\u0275dir=i.FsC({type:t,selectors:[["","formControlName",""],["","ngModel",""],["","formControl",""]],hostVars:14,hostBindings:function(o,a){2&o&&i.AVh("ng-untouched",a.isUntouched)("ng-touched",a.isTouched)("ng-pristine",a.isPristine)("ng-dirty",a.isDirty)("ng-valid",a.isValid)("ng-invalid",a.isInvalid)("ng-pending",a.isPending)},features:[i.Vt3]})}return t})(),be=(()=>{class t extends Je{constructor(e){super(e)}static#e=this.\u0275fac=function(o){return new(o||t)(i.rXU(L,10))};static#t=this.\u0275dir=i.FsC({type:t,selectors:[["","formGroupName",""],["","formArrayName",""],["","ngModelGroup",""],["","formGroup",""],["form",3,"ngNoForm",""],["","ngForm",""]],hostVars:16,hostBindings:function(o,a){2&o&&i.AVh("ng-untouched",a.isUntouched)("ng-touched",a.isTouched)("ng-pristine",a.isPristine)("ng-dirty",a.isDirty)("ng-valid",a.isValid)("ng-invalid",a.isInvalid)("ng-pending",a.isPending)("ng-submitted",a.isSubmitted)},features:[i.Vt3]})}return t})();const V="VALID",A="INVALID",j="PENDING",O="DISABLED";class U{}class K extends U{constructor(n,e){super(),this.value=n,this.source=e}}class J extends U{constructor(n,e){super(),this.pristine=n,this.source=e}}class Ee extends U{constructor(n,e){super(),this.touched=n,this.source=e}}class re extends U{constructor(n,e){super(),this.status=n,this.source=e}}class H extends U{constructor(n){super(),this.source=n}}class Be extends U{constructor(n){super(),this.source=n}}function tt(t){return(Ue(t)?t.validators:t)||null}function nt(t,n){return(Ue(n)?n.asyncValidators:t)||null}function Ue(t){return null!=t&&!Array.isArray(t)&&"object"==typeof t}function yt(t,n,e){const o=t.controls;if(!(n?Object.keys(o):o).length)throw new i.wOt(1e3,"");if(!o[e])throw new i.wOt(1001,"")}function Ct(t,n,e){t._forEachChild((o,a)=>{if(void 0===e[a])throw new i.wOt(1002,"")})}class Pe{constructor(n,e){this._pendingDirty=!1,this._hasOwnPendingAsyncValidator=null,this._pendingTouched=!1,this._onCollectionChange=()=>{},this._parent=null,this.pristine=!0,this.touched=!1,this._events=new ee.B7,this.events=this._events.asObservable(),this._onDisabledChange=[],this._assignValidators(n),this._assignAsyncValidators(e)}get validator(){return this._composedValidatorFn}set validator(n){this._rawValidators=this._composedValidatorFn=n}get asyncValidator(){return this._composedAsyncValidatorFn}set asyncValidator(n){this._rawAsyncValidators=this._composedAsyncValidatorFn=n}get parent(){return this._parent}get valid(){return this.status===V}get invalid(){return this.status===A}get pending(){return this.status==j}get disabled(){return this.status===O}get enabled(){return this.status!==O}get dirty(){return!this.pristine}get untouched(){return!this.touched}get updateOn(){return this._updateOn?this._updateOn:this.parent?this.parent.updateOn:"change"}setValidators(n){this._assignValidators(n)}setAsyncValidators(n){this._assignAsyncValidators(n)}addValidators(n){this.setValidators(qe(n,this._rawValidators))}addAsyncValidators(n){this.setAsyncValidators(qe(n,this._rawAsyncValidators))}removeValidators(n){this.setValidators(Qe(n,this._rawValidators))}removeAsyncValidators(n){this.setAsyncValidators(Qe(n,this._rawAsyncValidators))}hasValidator(n){return De(this._rawValidators,n)}hasAsyncValidator(n){return De(this._rawAsyncValidators,n)}clearValidators(){this.validator=null}clearAsyncValidators(){this.asyncValidator=null}markAsTouched(n={}){const e=!1===this.touched;this.touched=!0;const o=n.sourceControl??this;this._parent&&!n.onlySelf&&this._parent.markAsTouched({...n,sourceControl:o}),e&&!1!==n.emitEvent&&this._events.next(new Ee(!0,o))}markAllAsTouched(n={}){this.markAsTouched({onlySelf:!0,emitEvent:n.emitEvent,sourceControl:this}),this._forEachChild(e=>e.markAllAsTouched(n))}markAsUntouched(n={}){const e=!0===this.touched;this.touched=!1,this._pendingTouched=!1;const o=n.sourceControl??this;this._forEachChild(a=>{a.markAsUntouched({onlySelf:!0,emitEvent:n.emitEvent,sourceControl:o})}),this._parent&&!n.onlySelf&&this._parent._updateTouched(n,o),e&&!1!==n.emitEvent&&this._events.next(new Ee(!1,o))}markAsDirty(n={}){const e=!0===this.pristine;this.pristine=!1;const o=n.sourceControl??this;this._parent&&!n.onlySelf&&this._parent.markAsDirty({...n,sourceControl:o}),e&&!1!==n.emitEvent&&this._events.next(new J(!1,o))}markAsPristine(n={}){const e=!1===this.pristine;this.pristine=!0,this._pendingDirty=!1;const o=n.sourceControl??this;this._forEachChild(a=>{a.markAsPristine({onlySelf:!0,emitEvent:n.emitEvent})}),this._parent&&!n.onlySelf&&this._parent._updatePristine(n,o),e&&!1!==n.emitEvent&&this._events.next(new J(!0,o))}markAsPending(n={}){this.status=j;const e=n.sourceControl??this;!1!==n.emitEvent&&(this._events.next(new re(this.status,e)),this.statusChanges.emit(this.status)),this._parent&&!n.onlySelf&&this._parent.markAsPending({...n,sourceControl:e})}disable(n={}){const e=this._parentMarkedDirty(n.onlySelf);this.status=O,this.errors=null,this._forEachChild(a=>{a.disable({...n,onlySelf:!0})}),this._updateValue();const o=n.sourceControl??this;!1!==n.emitEvent&&(this._events.next(new K(this.value,o)),this._events.next(new re(this.status,o)),this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors({...n,skipPristineCheck:e},this),this._onDisabledChange.forEach(a=>a(!0))}enable(n={}){const e=this._parentMarkedDirty(n.onlySelf);this.status=V,this._forEachChild(o=>{o.enable({...n,onlySelf:!0})}),this.updateValueAndValidity({onlySelf:!0,emitEvent:n.emitEvent}),this._updateAncestors({...n,skipPristineCheck:e},this),this._onDisabledChange.forEach(o=>o(!1))}_updateAncestors(n,e){this._parent&&!n.onlySelf&&(this._parent.updateValueAndValidity(n),n.skipPristineCheck||this._parent._updatePristine({},e),this._parent._updateTouched({},e))}setParent(n){this._parent=n}getRawValue(){return this.value}updateValueAndValidity(n={}){if(this._setInitialStatus(),this._updateValue(),this.enabled){const o=this._cancelExistingSubscription();this.errors=this._runValidator(),this.status=this._calculateStatus(),(this.status===V||this.status===j)&&this._runAsyncValidator(o,n.emitEvent)}const e=n.sourceControl??this;!1!==n.emitEvent&&(this._events.next(new K(this.value,e)),this._events.next(new re(this.status,e)),this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._parent&&!n.onlySelf&&this._parent.updateValueAndValidity({...n,sourceControl:e})}_updateTreeValidity(n={emitEvent:!0}){this._forEachChild(e=>e._updateTreeValidity(n)),this.updateValueAndValidity({onlySelf:!0,emitEvent:n.emitEvent})}_setInitialStatus(){this.status=this._allControlsDisabled()?O:V}_runValidator(){return this.validator?this.validator(this):null}_runAsyncValidator(n,e){if(this.asyncValidator){this.status=j,this._hasOwnPendingAsyncValidator={emitEvent:!1!==e};const o=X(this.asyncValidator(this));this._asyncValidationSubscription=o.subscribe(a=>{this._hasOwnPendingAsyncValidator=null,this.setErrors(a,{emitEvent:e,shouldHaveEmitted:n})})}}_cancelExistingSubscription(){if(this._asyncValidationSubscription){this._asyncValidationSubscription.unsubscribe();const n=this._hasOwnPendingAsyncValidator?.emitEvent??!1;return this._hasOwnPendingAsyncValidator=null,n}return!1}setErrors(n,e={}){this.errors=n,this._updateControlsErrors(!1!==e.emitEvent,this,e.shouldHaveEmitted)}get(n){let e=n;return null==e||(Array.isArray(e)||(e=e.split(".")),0===e.length)?null:e.reduce((o,a)=>o&&o._find(a),this)}getError(n,e){const o=e?this.get(e):this;return o&&o.errors?o.errors[n]:null}hasError(n,e){return!!this.getError(n,e)}get root(){let n=this;for(;n._parent;)n=n._parent;return n}_updateControlsErrors(n,e,o){this.status=this._calculateStatus(),n&&this.statusChanges.emit(this.status),(n||o)&&this._events.next(new re(this.status,e)),this._parent&&this._parent._updateControlsErrors(n,e,o)}_initObservables(){this.valueChanges=new i.bkB,this.statusChanges=new i.bkB}_calculateStatus(){return this._allControlsDisabled()?O:this.errors?A:this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus(j)?j:this._anyControlsHaveStatus(A)?A:V}_anyControlsHaveStatus(n){return this._anyControls(e=>e.status===n)}_anyControlsDirty(){return this._anyControls(n=>n.dirty)}_anyControlsTouched(){return this._anyControls(n=>n.touched)}_updatePristine(n,e){const o=!this._anyControlsDirty(),a=this.pristine!==o;this.pristine=o,this._parent&&!n.onlySelf&&this._parent._updatePristine(n,e),a&&this._events.next(new J(this.pristine,e))}_updateTouched(n={},e){this.touched=this._anyControlsTouched(),this._events.next(new Ee(this.touched,e)),this._parent&&!n.onlySelf&&this._parent._updateTouched(n,e)}_registerOnCollectionChange(n){this._onCollectionChange=n}_setUpdateStrategy(n){Ue(n)&&null!=n.updateOn&&(this._updateOn=n.updateOn)}_parentMarkedDirty(n){return!n&&!(!this._parent||!this._parent.dirty)&&!this._parent._anyControlsDirty()}_find(n){return null}_assignValidators(n){this._rawValidators=Array.isArray(n)?n.slice():n,this._composedValidatorFn=function Yt(t){return Array.isArray(t)?fe(t):t||null}(this._rawValidators)}_assignAsyncValidators(n){this._rawAsyncValidators=Array.isArray(n)?n.slice():n,this._composedAsyncValidatorFn=function Jt(t){return Array.isArray(t)?ge(t):t||null}(this._rawAsyncValidators)}}class ye extends Pe{constructor(n,e,o){super(tt(e),nt(o,e)),this.controls=n,this._initObservables(),this._setUpdateStrategy(e),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}registerControl(n,e){return this.controls[n]?this.controls[n]:(this.controls[n]=e,e.setParent(this),e._registerOnCollectionChange(this._onCollectionChange),e)}addControl(n,e,o={}){this.registerControl(n,e),this.updateValueAndValidity({emitEvent:o.emitEvent}),this._onCollectionChange()}removeControl(n,e={}){this.controls[n]&&this.controls[n]._registerOnCollectionChange(()=>{}),delete this.controls[n],this.updateValueAndValidity({emitEvent:e.emitEvent}),this._onCollectionChange()}setControl(n,e,o={}){this.controls[n]&&this.controls[n]._registerOnCollectionChange(()=>{}),delete this.controls[n],e&&this.registerControl(n,e),this.updateValueAndValidity({emitEvent:o.emitEvent}),this._onCollectionChange()}contains(n){return this.controls.hasOwnProperty(n)&&this.controls[n].enabled}setValue(n,e={}){Ct(this,0,n),Object.keys(n).forEach(o=>{yt(this,!0,o),this.controls[o].setValue(n[o],{onlySelf:!0,emitEvent:e.emitEvent})}),this.updateValueAndValidity(e)}patchValue(n,e={}){null!=n&&(Object.keys(n).forEach(o=>{const a=this.controls[o];a&&a.patchValue(n[o],{onlySelf:!0,emitEvent:e.emitEvent})}),this.updateValueAndValidity(e))}reset(n={},e={}){this._forEachChild((o,a)=>{o.reset(n?n[a]:null,{onlySelf:!0,emitEvent:e.emitEvent})}),this._updatePristine(e,this),this._updateTouched(e,this),this.updateValueAndValidity(e)}getRawValue(){return this._reduceChildren({},(n,e,o)=>(n[o]=e.getRawValue(),n))}_syncPendingControls(){let n=this._reduceChildren(!1,(e,o)=>!!o._syncPendingControls()||e);return n&&this.updateValueAndValidity({onlySelf:!0}),n}_forEachChild(n){Object.keys(this.controls).forEach(e=>{const o=this.controls[e];o&&n(o,e)})}_setUpControls(){this._forEachChild(n=>{n.setParent(this),n._registerOnCollectionChange(this._onCollectionChange)})}_updateValue(){this.value=this._reduceValue()}_anyControls(n){for(const[e,o]of Object.entries(this.controls))if(this.contains(e)&&n(o))return!0;return!1}_reduceValue(){return this._reduceChildren({},(e,o,a)=>((o.enabled||this.disabled)&&(e[a]=o.value),e))}_reduceChildren(n,e){let o=n;return this._forEachChild((a,b)=>{o=e(o,a,b)}),o}_allControlsDisabled(){for(const n of Object.keys(this.controls))if(this.controls[n].enabled)return!1;return Object.keys(this.controls).length>0||this.disabled}_find(n){return this.controls.hasOwnProperty(n)?this.controls[n]:null}}class vt extends ye{}const he=new i.nKC("CallSetDisabledState",{providedIn:"root",factory:()=>Me}),Me="always";function Le(t,n){return[...n.path,t]}function Ve(t,n,e=Me){ot(t,n),n.valueAccessor.writeValue(t.value),(t.disabled||"always"===e)&&n.valueAccessor.setDisabledState?.(t.disabled),function en(t,n){n.valueAccessor.registerOnChange(e=>{t._pendingValue=e,t._pendingChange=!0,t._pendingDirty=!0,"change"===t.updateOn&&xt(t,n)})}(t,n),function nn(t,n){const e=(o,a)=>{n.valueAccessor.writeValue(o),a&&n.viewToModelUpdate(o)};t.registerOnChange(e),n._registerOnDestroy(()=>{t._unregisterOnChange(e)})}(t,n),function tn(t,n){n.valueAccessor.registerOnTouched(()=>{t._pendingTouched=!0,"blur"===t.updateOn&&t._pendingChange&&xt(t,n),"submit"!==t.updateOn&&t.markAsTouched()})}(t,n),function Zt(t,n){if(n.valueAccessor.setDisabledState){const e=o=>{n.valueAccessor.setDisabledState(o)};t.registerOnDisabledChange(e),n._registerOnDestroy(()=>{t._unregisterOnDisabledChange(e)})}}(t,n)}function Ge(t,n,e=!0){const o=()=>{};n.valueAccessor&&(n.valueAccessor.registerOnChange(o),n.valueAccessor.registerOnTouched(o)),He(t,n),t&&(n._invokeOnDestroyCallbacks(),t._registerOnCollectionChange(()=>{}))}function je(t,n){t.forEach(e=>{e.registerOnValidatorChange&&e.registerOnValidatorChange(n)})}function ot(t,n){const e=xe(t);null!==n.validator?t.setValidators(pe(e,n.validator)):"function"==typeof e&&t.setValidators([e]);const o=Fe(t);null!==n.asyncValidator?t.setAsyncValidators(pe(o,n.asyncValidator)):"function"==typeof o&&t.setAsyncValidators([o]);const a=()=>t.updateValueAndValidity();je(n._rawValidators,a),je(n._rawAsyncValidators,a)}function He(t,n){let e=!1;if(null!==t){if(null!==n.validator){const a=xe(t);if(Array.isArray(a)&&a.length>0){const b=a.filter(M=>M!==n.validator);b.length!==a.length&&(e=!0,t.setValidators(b))}}if(null!==n.asyncValidator){const a=Fe(t);if(Array.isArray(a)&&a.length>0){const b=a.filter(M=>M!==n.asyncValidator);b.length!==a.length&&(e=!0,t.setAsyncValidators(b))}}}const o=()=>{};return je(n._rawValidators,o),je(n._rawAsyncValidators,o),e}function xt(t,n){t._pendingDirty&&t.markAsDirty(),t.setValue(t._pendingValue,{emitModelToViewChange:!1}),n.viewToModelUpdate(t._pendingValue),t._pendingChange=!1}function Dt(t,n){ot(t,n)}function rt(t,n){if(!t.hasOwnProperty("model"))return!1;const e=t.model;return!!e.isFirstChange()||!Object.is(n,e.currentValue)}function wt(t,n){t._syncPendingControls(),n.forEach(e=>{const o=e.control;"submit"===o.updateOn&&o._pendingChange&&(e.viewToModelUpdate(o._pendingValue),o._pendingChange=!1)})}function st(t,n){if(!n)return null;let e,o,a;return Array.isArray(n),n.forEach(b=>{b.constructor===q?e=b:function sn(t){return Object.getPrototypeOf(t.constructor)===I}(b)?o=b:a=b}),a||o||e||null}const an={provide:L,useExisting:(0,i.Rfq)(()=>Xe)},Re=Promise.resolve();let Xe=(()=>{class t extends L{constructor(e,o,a){super(),this.callSetDisabledState=a,this.submitted=!1,this._directives=new Set,this.ngSubmit=new i.bkB,this.form=new ye({},fe(e),ge(o))}ngAfterViewInit(){this._setUpdateStrategy()}get formDirective(){return this}get control(){return this.form}get path(){return[]}get controls(){return this.form.controls}addControl(e){Re.then(()=>{const o=this._findContainer(e.path);e.control=o.registerControl(e.name,e.control),Ve(e.control,e,this.callSetDisabledState),e.control.updateValueAndValidity({emitEvent:!1}),this._directives.add(e)})}getControl(e){return this.form.get(e.path)}removeControl(e){Re.then(()=>{const o=this._findContainer(e.path);o&&o.removeControl(e.name),this._directives.delete(e)})}addFormGroup(e){Re.then(()=>{const o=this._findContainer(e.path),a=new ye({});Dt(a,e),o.registerControl(e.name,a),a.updateValueAndValidity({emitEvent:!1})})}removeFormGroup(e){Re.then(()=>{const o=this._findContainer(e.path);o&&o.removeControl(e.name)})}getFormGroup(e){return this.form.get(e.path)}updateModel(e,o){Re.then(()=>{this.form.get(e.path).setValue(o)})}setValue(e){this.control.setValue(e)}onSubmit(e){return this.submitted=!0,wt(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}static#e=this.\u0275fac=function(o){return new(o||t)(i.rXU(F,10),i.rXU(D,10),i.rXU(he,8))};static#t=this.\u0275dir=i.FsC({type:t,selectors:[["form",3,"ngNoForm","",3,"formGroup",""],["ng-form"],["","ngForm",""]],hostBindings:function(o,a){1&o&&i.bIt("submit",function(M){return a.onSubmit(M)})("reset",function(){return a.onReset()})},inputs:{options:[0,"ngFormOptions","options"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[i.Jv_([an]),i.Vt3]})}return t})();function St(t,n){const e=t.indexOf(n);e>-1&&t.splice(e,1)}function Et(t){return"object"==typeof t&&null!==t&&2===Object.keys(t).length&&"value"in t&&"disabled"in t}const Ce=class extends Pe{constructor(n=null,e,o){super(tt(e),nt(o,e)),this.defaultValue=null,this._onChange=[],this._pendingChange=!1,this._applyFormState(n),this._setUpdateStrategy(e),this._initObservables(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator}),Ue(e)&&(e.nonNullable||e.initialValueIsDefault)&&(this.defaultValue=Et(n)?n.value:n)}setValue(n,e={}){this.value=this._pendingValue=n,this._onChange.length&&!1!==e.emitModelToViewChange&&this._onChange.forEach(o=>o(this.value,!1!==e.emitViewToModelChange)),this.updateValueAndValidity(e)}patchValue(n,e={}){this.setValue(n,e)}reset(n=this.defaultValue,e={}){this._applyFormState(n),this.markAsPristine(e),this.markAsUntouched(e),this.setValue(this.value,e),this._pendingChange=!1}_updateValue(){}_anyControls(n){return!1}_allControlsDisabled(){return this.disabled}registerOnChange(n){this._onChange.push(n)}_unregisterOnChange(n){St(this._onChange,n)}registerOnDisabledChange(n){this._onDisabledChange.push(n)}_unregisterOnDisabledChange(n){St(this._onDisabledChange,n)}_forEachChild(n){}_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(n){Et(n)?(this.value=this._pendingValue=n.value,n.disabled?this.disable({onlySelf:!0,emitEvent:!1}):this.enable({onlySelf:!0,emitEvent:!1})):this.value=this._pendingValue=n}},hn={provide:ie,useExisting:(0,i.Rfq)(()=>ct)},Rt=Promise.resolve();let ct=(()=>{class t extends ie{constructor(e,o,a,b,M,ce){super(),this._changeDetectorRef=M,this.callSetDisabledState=ce,this.control=new Ce,this._registered=!1,this.name="",this.update=new i.bkB,this._parent=e,this._setValidators(o),this._setAsyncValidators(a),this.valueAccessor=st(0,b)}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),rt(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(){Ve(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){Rt.then(()=>{this.control.setValue(e,{emitViewToModelChange:!1}),this._changeDetectorRef?.markForCheck()})}_updateDisabled(e){const o=e.isDisabled.currentValue,a=0!==o&&(0,i.L39)(o);Rt.then(()=>{a&&!this.control.disabled?this.control.disable():!a&&this.control.disabled&&this.control.enable(),this._changeDetectorRef?.markForCheck()})}_getPath(e){return this._parent?Le(e,this._parent):[e]}static#e=this.\u0275fac=function(o){return new(o||t)(i.rXU(L,9),i.rXU(F,10),i.rXU(D,10),i.rXU(R,10),i.rXU(i.gRc,8),i.rXU(he,8))};static#t=this.\u0275dir=i.FsC({type:t,selectors:[["","ngModel","",3,"formControlName","",3,"formControl",""]],inputs:{name:"name",isDisabled:[0,"disabled","isDisabled"],model:[0,"ngModel","model"],options:[0,"ngModelOptions","options"]},outputs:{update:"ngModelChange"},exportAs:["ngModel"],features:[i.Jv_([hn]),i.Vt3,i.OA$]})}return t})(),At=(()=>{class t{static#e=this.\u0275fac=function(o){return new(o||t)};static#t=this.\u0275dir=i.FsC({type:t,selectors:[["form",3,"ngNoForm","",3,"ngNativeValidate",""]],hostAttrs:["novalidate",""]})}return t})();const un={provide:R,useExisting:(0,i.Rfq)(()=>at),multi:!0};let at=(()=>{class t extends I{writeValue(e){this.setProperty("value",e??"")}registerOnChange(e){this.onChange=o=>{e(""==o?null:parseFloat(o))}}static#e=this.\u0275fac=(()=>{let e;return function(a){return(e||(e=i.xGo(t)))(a||t)}})();static#t=this.\u0275dir=i.FsC({type:t,selectors:[["input","type","number","formControlName",""],["input","type","number","formControl",""],["input","type","number","ngModel",""]],hostBindings:function(o,a){1&o&&i.bIt("input",function(M){return a.onChange(M.target.value)})("blur",function(){return a.onTouched()})},features:[i.Jv_([un]),i.Vt3]})}return t})();const fn={provide:R,useExisting:(0,i.Rfq)(()=>lt),multi:!0};let lt=(()=>{class t extends I{writeValue(e){this.setProperty("value",parseFloat(e))}registerOnChange(e){this.onChange=o=>{e(""==o?null:parseFloat(o))}}static#e=this.\u0275fac=(()=>{let e;return function(a){return(e||(e=i.xGo(t)))(a||t)}})();static#t=this.\u0275dir=i.FsC({type:t,selectors:[["input","type","range","formControlName",""],["input","type","range","formControl",""],["input","type","range","ngModel",""]],hostBindings:function(o,a){1&o&&i.bIt("change",function(M){return a.onChange(M.target.value)})("input",function(M){return a.onChange(M.target.value)})("blur",function(){return a.onTouched()})},features:[i.Jv_([fn]),i.Vt3]})}return t})();const dt=new i.nKC(""),gn={provide:ie,useExisting:(0,i.Rfq)(()=>ht)};let ht=(()=>{class t extends ie{set isDisabled(e){}static#e=this._ngModelWarningSentOnce=!1;constructor(e,o,a,b,M){super(),this._ngModelWarningConfig=b,this.callSetDisabledState=M,this.update=new i.bkB,this._ngModelWarningSent=!1,this._setValidators(e),this._setAsyncValidators(o),this.valueAccessor=st(0,a)}ngOnChanges(e){if(this._isControlChanged(e)){const o=e.form.previousValue;o&&Ge(o,this,!1),Ve(this.form,this,this.callSetDisabledState),this.form.updateValueAndValidity({emitEvent:!1})}rt(e,this.viewModel)&&(this.form.setValue(this.model),this.viewModel=this.model)}ngOnDestroy(){this.form&&Ge(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")}static#t=this.\u0275fac=function(o){return new(o||t)(i.rXU(F,10),i.rXU(D,10),i.rXU(R,10),i.rXU(dt,8),i.rXU(he,8))};static#n=this.\u0275dir=i.FsC({type:t,selectors:[["","formControl",""]],inputs:{form:[0,"formControl","form"],isDisabled:[0,"disabled","isDisabled"],model:[0,"ngModel","model"]},outputs:{update:"ngModelChange"},exportAs:["ngForm"],features:[i.Jv_([gn]),i.Vt3,i.OA$]})}return t})();const pn={provide:L,useExisting:(0,i.Rfq)(()=>$e)};let $e=(()=>{class t extends L{constructor(e,o,a){super(),this.callSetDisabledState=a,this.submitted=!1,this._onCollectionChange=()=>this._updateDomValue(),this.directives=[],this.form=null,this.ngSubmit=new i.bkB,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&&(He(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 Ve(o,e,this.callSetDisabledState),o.updateValueAndValidity({emitEvent:!1}),this.directives.push(e),o}getControl(e){return this.form.get(e.path)}removeControl(e){Ge(e.control||null,e,!1),function cn(t,n){const e=t.indexOf(n);e>-1&&t.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,wt(this.form,this.directives),this.ngSubmit.emit(e),this.form._events.next(new H(this.control)),"dialog"===e?.target?.method}onReset(){this.resetForm()}resetForm(e=void 0){this.form.reset(e),this.submitted=!1,this.form._events.next(new Be(this.form))}_updateDomValue(){this.directives.forEach(e=>{const o=e.control,a=this.form.get(e.path);o!==a&&(Ge(o||null,e),(t=>t instanceof Ce)(a)&&(Ve(a,e,this.callSetDisabledState),e.control=a))}),this.form._updateTreeValidity({emitEvent:!1})}_setUpFormContainer(e){const o=this.form.get(e.path);Dt(o,e),o.updateValueAndValidity({emitEvent:!1})}_cleanUpFormContainer(e){if(this.form){const o=this.form.get(e.path);o&&function on(t,n){return He(t,n)}(o,e)&&o.updateValueAndValidity({emitEvent:!1})}}_updateRegistrations(){this.form._registerOnCollectionChange(this._onCollectionChange),this._oldForm&&this._oldForm._registerOnCollectionChange(()=>{})}_updateValidators(){ot(this.form,this),this._oldForm&&He(this._oldForm,this)}_checkFormPresent(){}static#e=this.\u0275fac=function(o){return new(o||t)(i.rXU(F,10),i.rXU(D,10),i.rXU(he,8))};static#t=this.\u0275dir=i.FsC({type:t,selectors:[["","formGroup",""]],hostBindings:function(o,a){1&o&&i.bIt("submit",function(M){return a.onSubmit(M)})("reset",function(){return a.onReset()})},inputs:{form:[0,"formGroup","form"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[i.Jv_([pn]),i.Vt3,i.OA$]})}return t})();const yn={provide:ie,useExisting:(0,i.Rfq)(()=>_t)};let _t=(()=>{class t extends ie{set isDisabled(e){}static#e=this._ngModelWarningSentOnce=!1;constructor(e,o,a,b,M){super(),this._ngModelWarningConfig=M,this._added=!1,this.name=null,this.update=new i.bkB,this._ngModelWarningSent=!1,this._parent=e,this._setValidators(o),this._setAsyncValidators(a),this.valueAccessor=st(0,b)}ngOnChanges(e){this._added||this._setUpControl(),rt(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 Le(null==this.name?this.name:this.name.toString(),this._parent)}get formDirective(){return this._parent?this._parent.formDirective:null}_checkParentType(){}_setUpControl(){this._checkParentType(),this.control=this.formDirective.addControl(this),this._added=!0}static#t=this.\u0275fac=function(o){return new(o||t)(i.rXU(L,13),i.rXU(F,10),i.rXU(D,10),i.rXU(R,10),i.rXU(dt,8))};static#n=this.\u0275dir=i.FsC({type:t,selectors:[["","formControlName",""]],inputs:{name:[0,"formControlName","name"],isDisabled:[0,"disabled","isDisabled"],model:[0,"ngModel","model"]},outputs:{update:"ngModelChange"},features:[i.Jv_([yn]),i.Vt3,i.OA$]})}return t})();const Cn={provide:R,useExisting:(0,i.Rfq)(()=>We),multi:!0};function Tt(t,n){return null==t?`${n}`:(n&&"object"==typeof n&&(n="Object"),`${t}: ${n}`.slice(0,50))}let We=(()=>{class t extends I{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 a=Tt(this._getOptionId(e),e);this.setProperty("value",a)}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 vn(t){return t.split(":")[0]}(e);return this._optionMap.has(o)?this._optionMap.get(o):e}static#e=this.\u0275fac=(()=>{let e;return function(a){return(e||(e=i.xGo(t)))(a||t)}})();static#t=this.\u0275dir=i.FsC({type:t,selectors:[["select","formControlName","",3,"multiple",""],["select","formControl","",3,"multiple",""],["select","ngModel","",3,"multiple",""]],hostBindings:function(o,a){1&o&&i.bIt("change",function(M){return a.onChange(M.target.value)})("blur",function(){return a.onTouched()})},inputs:{compareWith:"compareWith"},features:[i.Jv_([Cn]),i.Vt3]})}return t})(),Nt=(()=>{class t{constructor(e,o,a){this._element=e,this._renderer=o,this._select=a,this._select&&(this.id=this._select._registerOption())}set ngValue(e){null!=this._select&&(this._select._optionMap.set(this.id,e),this._setElementValue(Tt(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))}static#e=this.\u0275fac=function(o){return new(o||t)(i.rXU(i.aKT),i.rXU(i.sFG),i.rXU(We,9))};static#t=this.\u0275dir=i.FsC({type:t,selectors:[["option"]],inputs:{ngValue:"ngValue",value:"value"}})}return t})();const xn={provide:R,useExisting:(0,i.Rfq)(()=>ft),multi:!0};function It(t,n){return null==t?`${n}`:("string"==typeof n&&(n=`'${n}'`),n&&"object"==typeof n&&(n="Object"),`${t}: ${n}`.slice(0,50))}let ft=(()=>{class t extends I{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 a=e.map(b=>this._getOptionId(b));o=(b,M)=>{b._setSelected(a.indexOf(M.toString())>-1)}}else o=(a,b)=>{a._setSelected(!1)};this._optionMap.forEach(o)}registerOnChange(e){this.onChange=o=>{const a=[],b=o.selectedOptions;if(void 0!==b){const M=b;for(let ce=0;ce<M.length;ce++){const pt=this._getOptionValue(M[ce].value);a.push(pt)}}else{const M=o.options;for(let ce=0;ce<M.length;ce++){const Ke=M[ce];if(Ke.selected){const pt=this._getOptionValue(Ke.value);a.push(pt)}}}this.value=a,e(a)}}_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 Dn(t){return t.split(":")[0]}(e);return this._optionMap.has(o)?this._optionMap.get(o)._value:e}static#e=this.\u0275fac=(()=>{let e;return function(a){return(e||(e=i.xGo(t)))(a||t)}})();static#t=this.\u0275dir=i.FsC({type:t,selectors:[["select","multiple","","formControlName",""],["select","multiple","","formControl",""],["select","multiple","","ngModel",""]],hostBindings:function(o,a){1&o&&i.bIt("change",function(M){return a.onChange(M.target)})("blur",function(){return a.onTouched()})},inputs:{compareWith:"compareWith"},features:[i.Jv_([xn]),i.Vt3]})}return t})(),Bt=(()=>{class t{constructor(e,o,a){this._element=e,this._renderer=o,this._select=a,this._select&&(this.id=this._select._registerOption(this))}set ngValue(e){null!=this._select&&(this._value=e,this._setElementValue(It(this.id,e)),this._select.writeValue(this._select.value))}set value(e){this._select?(this._value=e,this._setElementValue(It(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))}static#e=this.\u0275fac=function(o){return new(o||t)(i.rXU(i.aKT),i.rXU(i.sFG),i.rXU(ft,9))};static#t=this.\u0275dir=i.FsC({type:t,selectors:[["option"]],inputs:{ngValue:"ngValue",value:"value"}})}return t})(),ue=(()=>{class t{constructor(){this._validator=E}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):E,this._onChange&&this._onChange()}}validate(e){return this._validator(e)}registerOnValidatorChange(e){this._onChange=e}enabled(e){return null!=e}static#e=this.\u0275fac=function(o){return new(o||t)};static#t=this.\u0275dir=i.FsC({type:t,features:[i.OA$]})}return t})();const En={provide:F,useExisting:(0,i.Rfq)(()=>ze),multi:!0},Mn={provide:F,useExisting:(0,i.Rfq)(()=>gt),multi:!0};let ze=(()=>{class t extends ue{constructor(){super(...arguments),this.inputName="required",this.normalizeInput=i.L39,this.createValidator=e=>C}enabled(e){return e}static#e=this.\u0275fac=(()=>{let e;return function(a){return(e||(e=i.xGo(t)))(a||t)}})();static#t=this.\u0275dir=i.FsC({type:t,selectors:[["","required","","formControlName","",3,"type","checkbox"],["","required","","formControl","",3,"type","checkbox"],["","required","","ngModel","",3,"type","checkbox"]],hostVars:1,hostBindings:function(o,a){2&o&&i.BMQ("required",a._enabled?"":null)},inputs:{required:"required"},features:[i.Jv_([En]),i.Vt3]})}return t})(),gt=(()=>{class t extends ze{constructor(){super(...arguments),this.createValidator=e=>m}static#e=this.\u0275fac=(()=>{let e;return function(a){return(e||(e=i.xGo(t)))(a||t)}})();static#t=this.\u0275dir=i.FsC({type:t,selectors:[["input","type","checkbox","required","","formControlName",""],["input","type","checkbox","required","","formControl",""],["input","type","checkbox","required","","ngModel",""]],hostVars:1,hostBindings:function(o,a){2&o&&i.BMQ("required",a._enabled?"":null)},features:[i.Jv_([Mn]),i.Vt3]})}return t})(),Wt=(()=>{class t{static#e=this.\u0275fac=function(o){return new(o||t)};static#t=this.\u0275mod=i.$C({type:t});static#n=this.\u0275inj=i.G2t({})}return t})();class zt extends Pe{constructor(n,e,o){super(tt(e),nt(o,e)),this.controls=n,this._initObservables(),this._setUpdateStrategy(e),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}at(n){return this.controls[this._adjustIndex(n)]}push(n,e={}){this.controls.push(n),this._registerControl(n),this.updateValueAndValidity({emitEvent:e.emitEvent}),this._onCollectionChange()}insert(n,e,o={}){this.controls.splice(n,0,e),this._registerControl(e),this.updateValueAndValidity({emitEvent:o.emitEvent})}removeAt(n,e={}){let o=this._adjustIndex(n);o<0&&(o=0),this.controls[o]&&this.controls[o]._registerOnCollectionChange(()=>{}),this.controls.splice(o,1),this.updateValueAndValidity({emitEvent:e.emitEvent})}setControl(n,e,o={}){let a=this._adjustIndex(n);a<0&&(a=0),this.controls[a]&&this.controls[a]._registerOnCollectionChange(()=>{}),this.controls.splice(a,1),e&&(this.controls.splice(a,0,e),this._registerControl(e)),this.updateValueAndValidity({emitEvent:o.emitEvent}),this._onCollectionChange()}get length(){return this.controls.length}setValue(n,e={}){Ct(this,0,n),n.forEach((o,a)=>{yt(this,!1,a),this.at(a).setValue(o,{onlySelf:!0,emitEvent:e.emitEvent})}),this.updateValueAndValidity(e)}patchValue(n,e={}){null!=n&&(n.forEach((o,a)=>{this.at(a)&&this.at(a).patchValue(o,{onlySelf:!0,emitEvent:e.emitEvent})}),this.updateValueAndValidity(e))}reset(n=[],e={}){this._forEachChild((o,a)=>{o.reset(n[a],{onlySelf:!0,emitEvent:e.emitEvent})}),this._updatePristine(e,this),this._updateTouched(e,this),this.updateValueAndValidity(e)}getRawValue(){return this.controls.map(n=>n.getRawValue())}clear(n={}){this.controls.length<1||(this._forEachChild(e=>e._registerOnCollectionChange(()=>{})),this.controls.splice(0),this.updateValueAndValidity({emitEvent:n.emitEvent}))}_adjustIndex(n){return n<0?n+this.length:n}_syncPendingControls(){let n=this.controls.reduce((e,o)=>!!o._syncPendingControls()||e,!1);return n&&this.updateValueAndValidity({onlySelf:!0}),n}_forEachChild(n){this.controls.forEach((e,o)=>{n(e,o)})}_updateValue(){this.value=this.controls.filter(n=>n.enabled||this.disabled).map(n=>n.value)}_anyControls(n){return this.controls.some(e=>e.enabled&&n(e))}_setUpControls(){this._forEachChild(n=>this._registerControl(n))}_allControlsDisabled(){for(const n of this.controls)if(n.enabled)return!1;return this.controls.length>0||this.disabled}_registerControl(n){n.setParent(this),n._registerOnCollectionChange(this._onCollectionChange)}_find(n){return this.at(n)??null}}function Kt(t){return!!t&&(void 0!==t.asyncValidators||void 0!==t.validators||void 0!==t.updateOn)}let On=(()=>{class t{constructor(){this.useNonNullable=!1}get nonNullable(){const e=new t;return e.useNonNullable=!0,e}group(e,o=null){const a=this._reduceControls(e);let b={};return Kt(o)?b=o:null!==o&&(b.validators=o.validator,b.asyncValidators=o.asyncValidator),new ye(a,b)}record(e,o=null){const a=this._reduceControls(e);return new vt(a,o)}control(e,o,a){let b={};return this.useNonNullable?(Kt(o)?b=o:(b.validators=o,b.asyncValidators=a),new Ce(e,{...b,nonNullable:!0})):new Ce(e,o,a)}array(e,o,a){const b=e.map(M=>this._createControl(M));return new zt(b,o,a)}_reduceControls(e){const o={};return Object.keys(e).forEach(a=>{o[a]=this._createControl(e[a])}),o}_createControl(e){return e instanceof Ce||e instanceof Pe?e:Array.isArray(e)?this.control(e[0],e.length>1?e[1]:null,e.length>2?e[2]:null):this.control(e)}static#e=this.\u0275fac=function(o){return new(o||t)};static#t=this.\u0275prov=i.jDH({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),Tn=(()=>{class t{static withConfig(e){return{ngModule:t,providers:[{provide:he,useValue:e.callSetDisabledState??Me}]}}static#e=this.\u0275fac=function(o){return new(o||t)};static#t=this.\u0275mod=i.$C({type:t});static#n=this.\u0275inj=i.G2t({imports:[Wt]})}return t})(),Nn=(()=>{class t{static withConfig(e){return{ngModule:t,providers:[{provide:dt,useValue:e.warnOnNgModelWithFormControl??"always"},{provide:he,useValue:e.callSetDisabledState??Me}]}}static#e=this.\u0275fac=function(o){return new(o||t)};static#t=this.\u0275mod=i.$C({type:t});static#n=this.\u0275inj=i.G2t({imports:[Wt]})}return t})()},2765:(Ae,Z,w)=>{w.d(Z,{So:()=>Y,g7:()=>F});var i=w(4438),c=w(9417),g=w(6600);const $=["input"],ee=["label"],l=["*"],W=new i.nKC("mat-checkbox-default-options",{providedIn:"root",factory:I});function I(){return{color:"accent",clickAction:"check-indeterminate"}}var R=function(D){return D[D.Init=0]="Init",D[D.Checked=1]="Checked",D[D.Unchecked=2]="Unchecked",D[D.Indeterminate=3]="Indeterminate",D}(R||{});const Q={provide:c.kq,useExisting:(0,i.Rfq)(()=>Y),multi:!0};class N{}let te=0;const ne=I();let Y=(()=>{class D{focus(){this._inputElement.nativeElement.focus()}_createChangeEvent(k){const S=new N;return S.source=this,S.checked=k,S}_getAnimationTargetElement(){return this._inputElement?.nativeElement}get inputId(){return`${this.id||this._uniqueId}-input`}constructor(k,S,_,C,m,u){this._elementRef=k,this._changeDetectorRef=S,this._ngZone=_,this._animationMode=m,this._options=u,this._animationClasses={uncheckedToChecked:"mdc-checkbox--anim-unchecked-checked",uncheckedToIndeterminate:"mdc-checkbox--anim-unchecked-indeterminate",checkedToUnchecked:"mdc-checkbox--anim-checked-unchecked",checkedToIndeterminate:"mdc-checkbox--anim-checked-indeterminate",indeterminateToChecked:"mdc-checkbox--anim-indeterminate-checked",indeterminateToUnchecked:"mdc-checkbox--anim-indeterminate-unchecked"},this.ariaLabel="",this.ariaLabelledby=null,this.labelPosition="after",this.name=null,this.change=new i.bkB,this.indeterminateChange=new i.bkB,this._onTouched=()=>{},this._currentAnimationClass="",this._currentCheckState=R.Init,this._controlValueAccessorChangeFn=()=>{},this._validatorChangeFn=()=>{},this._checked=!1,this._disabled=!1,this._indeterminate=!1,this._options=this._options||ne,this.color=this._options.color||ne.color,this.tabIndex=parseInt(C)||0,this.id=this._uniqueId="mat-mdc-checkbox-"+ ++te}ngOnChanges(k){k.required&&this._validatorChangeFn()}ngAfterViewInit(){this._syncIndeterminate(this._indeterminate)}get checked(){return this._checked}set checked(k){k!=this.checked&&(this._checked=k,this._changeDetectorRef.markForCheck())}get disabled(){return this._disabled}set disabled(k){k!==this.disabled&&(this._disabled=k,this._changeDetectorRef.markForCheck())}get indeterminate(){return this._indeterminate}set indeterminate(k){const S=k!=this._indeterminate;this._indeterminate=k,S&&(this._transitionCheckState(this._indeterminate?R.Indeterminate:this.checked?R.Checked:R.Unchecked),this.indeterminateChange.emit(this._indeterminate)),this._syncIndeterminate(this._indeterminate)}_isRippleDisabled(){return this.disableRipple||this.disabled}_onLabelTextChange(){this._changeDetectorRef.detectChanges()}writeValue(k){this.checked=!!k}registerOnChange(k){this._controlValueAccessorChangeFn=k}registerOnTouched(k){this._onTouched=k}setDisabledState(k){this.disabled=k}validate(k){return this.required&&!0!==k.value?{required:!0}:null}registerOnValidatorChange(k){this._validatorChangeFn=k}_transitionCheckState(k){let S=this._currentCheckState,_=this._getAnimationTargetElement();if(S!==k&&_&&(this._currentAnimationClass&&_.classList.remove(this._currentAnimationClass),this._currentAnimationClass=this._getAnimationClassForCheckStateTransition(S,k),this._currentCheckState=k,this._currentAnimationClass.length>0)){_.classList.add(this._currentAnimationClass);const C=this._currentAnimationClass;this._ngZone.runOutsideAngular(()=>{setTimeout(()=>{_.classList.remove(C)},1e3)})}}_emitChangeEvent(){this._controlValueAccessorChangeFn(this.checked),this.change.emit(this._createChangeEvent(this.checked)),this._inputElement&&(this._inputElement.nativeElement.checked=this.checked)}toggle(){this.checked=!this.checked,this._controlValueAccessorChangeFn(this.checked)}_handleInputClick(){const k=this._options?.clickAction;this.disabled||"noop"===k?!this.disabled&&"noop"===k&&(this._inputElement.nativeElement.checked=this.checked,this._inputElement.nativeElement.indeterminate=this.indeterminate):(this.indeterminate&&"check"!==k&&Promise.resolve().then(()=>{this._indeterminate=!1,this.indeterminateChange.emit(this._indeterminate)}),this._checked=!this._checked,this._transitionCheckState(this._checked?R.Checked:R.Unchecked),this._emitChangeEvent())}_onInteractionEvent(k){k.stopPropagation()}_onBlur(){Promise.resolve().then(()=>{this._onTouched(),this._changeDetectorRef.markForCheck()})}_getAnimationClassForCheckStateTransition(k,S){if("NoopAnimations"===this._animationMode)return"";switch(k){case R.Init:if(S===R.Checked)return this._animationClasses.uncheckedToChecked;if(S==R.Indeterminate)return this._checked?this._animationClasses.checkedToIndeterminate:this._animationClasses.uncheckedToIndeterminate;break;case R.Unchecked:return S===R.Checked?this._animationClasses.uncheckedToChecked:this._animationClasses.uncheckedToIndeterminate;case R.Checked:return S===R.Unchecked?this._animationClasses.checkedToUnchecked:this._animationClasses.checkedToIndeterminate;case R.Indeterminate:return S===R.Checked?this._animationClasses.indeterminateToChecked:this._animationClasses.indeterminateToUnchecked}return""}_syncIndeterminate(k){const S=this._inputElement;S&&(S.nativeElement.indeterminate=k)}_onInputClick(){this._handleInputClick()}_onTouchTargetClick(){this._handleInputClick(),this.disabled||this._inputElement.nativeElement.focus()}_preventBubblingFromLabel(k){k.target&&this._labelElement.nativeElement.contains(k.target)&&k.stopPropagation()}static#e=this.\u0275fac=function(S){return new(S||D)(i.rXU(i.aKT),i.rXU(i.gRc),i.rXU(i.SKi),i.kS0("tabindex"),i.rXU(i.bc$,8),i.rXU(W,8))};static#t=this.\u0275cmp=i.VBU({type:D,selectors:[["mat-checkbox"]],viewQuery:function(S,_){if(1&S&&(i.GBs($,5),i.GBs(ee,5),i.GBs(g.r6,5)),2&S){let C;i.mGM(C=i.lsd())&&(_._inputElement=C.first),i.mGM(C=i.lsd())&&(_._labelElement=C.first),i.mGM(C=i.lsd())&&(_.ripple=C.first)}},hostAttrs:[1,"mat-mdc-checkbox"],hostVars:14,hostBindings:function(S,_){2&S&&(i.Mr5("id",_.id),i.BMQ("tabindex",null)("aria-label",null)("aria-labelledby",null),i.HbH(_.color?"mat-"+_.color:"mat-accent"),i.AVh("_mat-animation-noopable","NoopAnimations"===_._animationMode)("mdc-checkbox--disabled",_.disabled)("mat-mdc-checkbox-disabled",_.disabled)("mat-mdc-checkbox-checked",_.checked))},inputs:{ariaLabel:[0,"aria-label","ariaLabel"],ariaLabelledby:[0,"aria-labelledby","ariaLabelledby"],ariaDescribedby:[0,"aria-describedby","ariaDescribedby"],id:"id",required:[2,"required","required",i.L39],labelPosition:"labelPosition",name:"name",value:"value",disableRipple:[2,"disableRipple","disableRipple",i.L39],tabIndex:[2,"tabIndex","tabIndex",k=>null==k?void 0:(0,i.Udg)(k)],color:"color",checked:[2,"checked","checked",i.L39],disabled:[2,"disabled","disabled",i.L39],indeterminate:[2,"indeterminate","indeterminate",i.L39]},outputs:{change:"change",indeterminateChange:"indeterminateChange"},exportAs:["matCheckbox"],standalone:!0,features:[i.Jv_([Q,{provide:c.cz,useExisting:D,multi:!0}]),i.GFd,i.OA$,i.aNF],ngContentSelectors:l,decls:15,vars:19,consts:[["checkbox",""],["input",""],["label",""],["mat-internal-form-field","",3,"click","labelPosition"],[1,"mdc-checkbox"],[1,"mat-mdc-checkbox-touch-target",3,"click"],["type","checkbox",1,"mdc-checkbox__native-control",3,"blur","click","change","checked","indeterminate","disabled","id","required","tabIndex"],[1,"mdc-checkbox__ripple"],[1,"mdc-checkbox__background"],["focusable","false","viewBox","0 0 24 24","aria-hidden","true",1,"mdc-checkbox__checkmark"],["fill","none","d","M1.73,12.91 8.1,19.28 22.79,4.59",1,"mdc-checkbox__checkmark-path"],[1,"mdc-checkbox__mixedmark"],["mat-ripple","",1,"mat-mdc-checkbox-ripple","mat-mdc-focus-indicator",3,"matRippleTrigger","matRippleDisabled","matRippleCentered"],[1,"mdc-label",3,"for"]],template:function(S,_){if(1&S){const C=i.RV6();i.NAR(),i.j41(0,"div",3),i.bIt("click",function(u){return i.eBV(C),i.Njj(_._preventBubblingFromLabel(u))}),i.j41(1,"div",4,0)(3,"div",5),i.bIt("click",function(){return i.eBV(C),i.Njj(_._onTouchTargetClick())}),i.k0s(),i.j41(4,"input",6,1),i.bIt("blur",function(){return i.eBV(C),i.Njj(_._onBlur())})("click",function(){return i.eBV(C),i.Njj(_._onInputClick())})("change",function(u){return i.eBV(C),i.Njj(_._onInteractionEvent(u))}),i.k0s(),i.nrm(6,"div",7),i.j41(7,"div",8),i.qSk(),i.j41(8,"svg",9),i.nrm(9,"path",10),i.k0s(),i.joV(),i.nrm(10,"div",11),i.k0s(),i.nrm(11,"div",12),i.k0s(),i.j41(12,"label",13,2),i.SdG(14),i.k0s()()}if(2&S){const C=i.sdS(2);i.Y8G("labelPosition",_.labelPosition),i.R7$(4),i.AVh("mdc-checkbox--selected",_.checked),i.Y8G("checked",_.checked)("indeterminate",_.indeterminate)("disabled",_.disabled)("id",_.inputId)("required",_.required)("tabIndex",_.disabled?-1:_.tabIndex),i.BMQ("aria-label",_.ariaLabel||null)("aria-labelledby",_.ariaLabelledby)("aria-describedby",_.ariaDescribedby)("aria-checked",_.indeterminate?"mixed":null)("name",_.name)("value",_.value),i.R7$(7),i.Y8G("matRippleTrigger",C)("matRippleDisabled",_.disableRipple||_.disabled)("matRippleCentered",!0),i.R7$(),i.Y8G("for",_.inputId)}},dependencies:[g.r6,g.tO],styles:['.mdc-touch-target-wrapper{display:inline}@keyframes mdc-checkbox-unchecked-checked-checkmark-path{0%,50%{stroke-dashoffset:29.7833385}50%{animation-timing-function:cubic-bezier(0, 0, 0.2, 1)}100%{stroke-dashoffset:0}}@keyframes mdc-checkbox-unchecked-indeterminate-mixedmark{0%,68.2%{transform:scaleX(0)}68.2%{animation-timing-function:cubic-bezier(0, 0, 0, 1)}100%{transform:scaleX(1)}}@keyframes mdc-checkbox-checked-unchecked-checkmark-path{from{animation-timing-function:cubic-bezier(0.4, 0, 1, 1);opacity:1;stroke-dashoffset:0}to{opacity:0;stroke-dashoffset:-29.7833385}}@keyframes mdc-checkbox-checked-indeterminate-checkmark{from{animation-timing-function:cubic-bezier(0, 0, 0.2, 1);transform:rotate(0deg);opacity:1}to{transform:rotate(45deg);opacity:0}}@keyframes mdc-checkbox-indeterminate-checked-checkmark{from{animation-timing-function:cubic-bezier(0.14, 0, 0, 1);transform:rotate(45deg);opacity:0}to{transform:rotate(360deg);opacity:1}}@keyframes mdc-checkbox-checked-indeterminate-mixedmark{from{animation-timing-function:mdc-animation-deceleration-curve-timing-function;transform:rotate(-45deg);opacity:0}to{transform:rotate(0deg);opacity:1}}@keyframes mdc-checkbox-indeterminate-checked-mixedmark{from{animation-timing-function:cubic-bezier(0.14, 0, 0, 1);transform:rotate(0deg);opacity:1}to{transform:rotate(315deg);opacity:0}}@keyframes mdc-checkbox-indeterminate-unchecked-mixedmark{0%{animation-timing-function:linear;transform:scaleX(1);opacity:1}32.8%,100%{transform:scaleX(0);opacity:0}}.mdc-checkbox{display:inline-block;position:relative;flex:0 0 18px;box-sizing:content-box;width:18px;height:18px;line-height:0;white-space:nowrap;cursor:pointer;vertical-align:bottom}.mdc-checkbox[hidden]{display:none}.mdc-checkbox.mdc-ripple-upgraded--background-focused .mdc-checkbox__focus-ring,.mdc-checkbox:not(.mdc-ripple-upgraded):focus .mdc-checkbox__focus-ring{pointer-events:none;border:2px solid rgba(0,0,0,0);border-radius:6px;box-sizing:content-box;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);height:100%;width:100%}@media screen and (forced-colors: active){.mdc-checkbox.mdc-ripple-upgraded--background-focused .mdc-checkbox__focus-ring,.mdc-checkbox:not(.mdc-ripple-upgraded):focus .mdc-checkbox__focus-ring{border-color:CanvasText}}.mdc-checkbox.mdc-ripple-upgraded--background-focused .mdc-checkbox__focus-ring::after,.mdc-checkbox:not(.mdc-ripple-upgraded):focus .mdc-checkbox__focus-ring::after{content:"";border:2px solid rgba(0,0,0,0);border-radius:8px;display:block;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);height:calc(100% + 4px);width:calc(100% + 4px)}@media screen and (forced-colors: active){.mdc-checkbox.mdc-ripple-upgraded--background-focused .mdc-checkbox__focus-ring::after,.mdc-checkbox:not(.mdc-ripple-upgraded):focus .mdc-checkbox__focus-ring::after{border-color:CanvasText}}@media all and (-ms-high-contrast: none){.mdc-checkbox .mdc-checkbox__focus-ring{display:none}}@media screen and (forced-colors: active),(-ms-high-contrast: active){.mdc-checkbox__mixedmark{margin:0 1px}}.mdc-checkbox--disabled{cursor:default;pointer-events:none}.mdc-checkbox__background{display:inline-flex;position:absolute;align-items:center;justify-content:center;box-sizing:border-box;width:18px;height:18px;border:2px solid currentColor;border-radius:2px;background-color:rgba(0,0,0,0);pointer-events:none;will-change:background-color,border-color;transition:background-color 90ms 0ms cubic-bezier(0.4, 0, 0.6, 1),border-color 90ms 0ms cubic-bezier(0.4, 0, 0.6, 1)}.mdc-checkbox__checkmark{position:absolute;top:0;right:0;bottom:0;left:0;width:100%;opacity:0;transition:opacity 180ms 0ms cubic-bezier(0.4, 0, 0.6, 1)}.mdc-checkbox--upgraded .mdc-checkbox__checkmark{opacity:1}.mdc-checkbox__checkmark-path{transition:stroke-dashoffset 180ms 0ms cubic-bezier(0.4, 0, 0.6, 1);stroke:currentColor;stroke-width:3.12px;stroke-dashoffset:29.7833385;stroke-dasharray:29.7833385}.mdc-checkbox__mixedmark{width:100%;height:0;transform:scaleX(0) rotate(0deg);border-width:1px;border-style:solid;opacity:0;transition:opacity 90ms 0ms cubic-bezier(0.4, 0, 0.6, 1),transform 90ms 0ms cubic-bezier(0.4, 0, 0.6, 1)}.mdc-checkbox--anim-unchecked-checked .mdc-checkbox__background,.mdc-checkbox--anim-unchecked-indeterminate .mdc-checkbox__background,.mdc-checkbox--anim-checked-unchecked .mdc-checkbox__background,.mdc-checkbox--anim-indeterminate-unchecked .mdc-checkbox__background{animation-duration:180ms;animation-timing-function:linear}.mdc-checkbox--anim-unchecked-checked .mdc-checkbox__checkmark-path{animation:mdc-checkbox-unchecked-checked-checkmark-path 180ms linear 0s;transition:none}.mdc-checkbox--anim-unchecked-indeterminate .mdc-checkbox__mixedmark{animation:mdc-checkbox-unchecked-indeterminate-mixedmark 90ms linear 0s;transition:none}.mdc-checkbox--anim-checked-unchecked .mdc-checkbox__checkmark-path{animation:mdc-checkbox-checked-unchecked-checkmark-path 90ms linear 0s;transition:none}.mdc-checkbox--anim-checked-indeterminate .mdc-checkbox__checkmark{animation:mdc-checkbox-checked-indeterminate-checkmark 90ms linear 0s;transition:none}.mdc-checkbox--anim-checked-indeterminate .mdc-checkbox__mixedmark{animation:mdc-checkbox-checked-indeterminate-mixedmark 90ms linear 0s;transition:none}.mdc-checkbox--anim-indeterminate-checked .mdc-checkbox__checkmark{animation:mdc-checkbox-indeterminate-checked-checkmark 500ms linear 0s;transition:none}.mdc-checkbox--anim-indeterminate-checked .mdc-checkbox__mixedmark{animation:mdc-checkbox-indeterminate-checked-mixedmark 500ms linear 0s;transition:none}.mdc-checkbox--anim-indeterminate-unchecked .mdc-checkbox__mixedmark{animation:mdc-checkbox-indeterminate-unchecked-mixedmark 300ms linear 0s;transition:none}.mdc-checkbox__native-control:checked~.mdc-checkbox__background,.mdc-checkbox__native-control:indeterminate~.mdc-checkbox__background,.mdc-checkbox__native-control[data-indeterminate=true]~.mdc-checkbox__background{transition:border-color 90ms 0ms cubic-bezier(0, 0, 0.2, 1),background-color 90ms 0ms cubic-bezier(0, 0, 0.2, 1)}.mdc-checkbox__native-control:checked~.mdc-checkbox__background .mdc-checkbox__checkmark-path,.mdc-checkbox__native-control:indeterminate~.mdc-checkbox__background .mdc-checkbox__checkmark-path,.mdc-checkbox__native-control[data-indeterminate=true]~.mdc-checkbox__background .mdc-checkbox__checkmark-path{stroke-dashoffset:0}.mdc-checkbox__native-control{position:absolute;margin:0;padding:0;opacity:0;cursor:inherit}.mdc-checkbox__native-control:disabled{cursor:default;pointer-events:none}.mdc-checkbox--touch{margin:calc((var(--mdc-checkbox-state-layer-size) - var(--mdc-checkbox-state-layer-size)) / 2)}.mdc-checkbox--touch .mdc-checkbox__native-control{top:calc((var(--mdc-checkbox-state-layer-size) - var(--mdc-checkbox-state-layer-size)) / 2);right:calc((var(--mdc-checkbox-state-layer-size) - var(--mdc-checkbox-state-layer-size)) / 2);left:calc((var(--mdc-checkbox-state-layer-size) - var(--mdc-checkbox-state-layer-size)) / 2);width:var(--mdc-checkbox-state-layer-size);height:var(--mdc-checkbox-state-layer-size)}.mdc-checkbox__native-control:checked~.mdc-checkbox__background .mdc-checkbox__checkmark{transition:opacity 180ms 0ms cubic-bezier(0, 0, 0.2, 1),transform 180ms 0ms cubic-bezier(0, 0, 0.2, 1);opacity:1}.mdc-checkbox__native-control:checked~.mdc-checkbox__background .mdc-checkbox__mixedmark{transform:scaleX(1) rotate(-45deg)}.mdc-checkbox__native-control:indeterminate~.mdc-checkbox__background .mdc-checkbox__checkmark,.mdc-checkbox__native-control[data-indeterminate=true]~.mdc-checkbox__background .mdc-checkbox__checkmark{transform:rotate(45deg);opacity:0;transition:opacity 90ms 0ms cubic-bezier(0.4, 0, 0.6, 1),transform 90ms 0ms cubic-bezier(0.4, 0, 0.6, 1)}.mdc-checkbox__native-control:indeterminate~.mdc-checkbox__background .mdc-checkbox__mixedmark,.mdc-checkbox__native-control[data-indeterminate=true]~.mdc-checkbox__background .mdc-checkbox__mixedmark{transform:scaleX(1) rotate(0deg);opacity:1}.mdc-checkbox.mdc-checkbox--upgraded .mdc-checkbox__background,.mdc-checkbox.mdc-checkbox--upgraded .mdc-checkbox__checkmark,.mdc-checkbox.mdc-checkbox--upgraded .mdc-checkbox__checkmark-path,.mdc-checkbox.mdc-checkbox--upgraded .mdc-checkbox__mixedmark{transition:none}.mdc-checkbox{padding:calc((var(--mdc-checkbox-state-layer-size) - 18px) / 2);margin:calc((var(--mdc-checkbox-state-layer-size) - var(--mdc-checkbox-state-layer-size)) / 2)}.mdc-checkbox .mdc-checkbox__native-control[disabled]:not(:checked):not(:indeterminate):not([data-indeterminate=true])~.mdc-checkbox__background{border-color:var(--mdc-checkbox-disabled-unselected-icon-color);background-color:transparent}.mdc-checkbox .mdc-checkbox__native-control[disabled]:checked~.mdc-checkbox__background,.mdc-checkbox .mdc-checkbox__native-control[disabled]:indeterminate~.mdc-checkbox__background,.mdc-checkbox .mdc-checkbox__native-control[data-indeterminate=true][disabled]~.mdc-checkbox__background{border-color:transparent;background-color:var(--mdc-checkbox-disabled-selected-icon-color)}.mdc-checkbox .mdc-checkbox__native-control:enabled~.mdc-checkbox__background .mdc-checkbox__checkmark{color:var(--mdc-checkbox-selected-checkmark-color)}.mdc-checkbox .mdc-checkbox__native-control:enabled~.mdc-checkbox__background .mdc-checkbox__mixedmark{border-color:var(--mdc-checkbox-selected-checkmark-color)}.mdc-checkbox .mdc-checkbox__native-control:disabled~.mdc-checkbox__background .mdc-checkbox__checkmark{color:var(--mdc-checkbox-disabled-selected-checkmark-color)}.mdc-checkbox .mdc-checkbox__native-control:disabled~.mdc-checkbox__background .mdc-checkbox__mixedmark{border-color:var(--mdc-checkbox-disabled-selected-checkmark-color)}.mdc-checkbox .mdc-checkbox__native-control:enabled:not(:checked):not(:indeterminate):not([data-indeterminate=true])~.mdc-checkbox__background{border-color:var(--mdc-checkbox-unselected-icon-color);background-color:transparent}.mdc-checkbox .mdc-checkbox__native-control:enabled:checked~.mdc-checkbox__background,.mdc-checkbox .mdc-checkbox__native-control:enabled:indeterminate~.mdc-checkbox__background,.mdc-checkbox .mdc-checkbox__native-control[data-indeterminate=true]:enabled~.mdc-checkbox__background{border-color:var(--mdc-checkbox-selected-icon-color);background-color:var(--mdc-checkbox-selected-icon-color)}@keyframes mdc-checkbox-fade-in-background-8A000000FFF4433600000000FFF44336{0%{border-color:var(--mdc-checkbox-unselected-icon-color);background-color:transparent}50%{border-color:var(--mdc-checkbox-selected-icon-color);background-color:var(--mdc-checkbox-selected-icon-color)}}@keyframes mdc-checkbox-fade-out-background-8A000000FFF4433600000000FFF44336{0%,80%{border-color:var(--mdc-checkbox-selected-icon-color);background-color:var(--mdc-checkbox-selected-icon-color)}100%{border-color:var(--mdc-checkbox-unselected-icon-color);background-color:transparent}}.mdc-checkbox.mdc-checkbox--anim-unchecked-checked .mdc-checkbox__native-control:enabled~.mdc-checkbox__background,.mdc-checkbox.mdc-checkbox--anim-unchecked-indeterminate .mdc-checkbox__native-control:enabled~.mdc-checkbox__background{animation-name:mdc-checkbox-fade-in-background-8A000000FFF4433600000000FFF44336}.mdc-checkbox.mdc-checkbox--anim-checked-unchecked .mdc-checkbox__native-control:enabled~.mdc-checkbox__background,.mdc-checkbox.mdc-checkbox--anim-indeterminate-unchecked .mdc-checkbox__native-control:enabled~.mdc-checkbox__background{animation-name:mdc-checkbox-fade-out-background-8A000000FFF4433600000000FFF44336}.mdc-checkbox:hover .mdc-checkbox__native-control:enabled:not(:checked):not(:indeterminate):not([data-indeterminate=true])~.mdc-checkbox__background{border-color:var(--mdc-checkbox-unselected-hover-icon-color);background-color:transparent}.mdc-checkbox:hover .mdc-checkbox__native-control:enabled:checked~.mdc-checkbox__background,.mdc-checkbox:hover .mdc-checkbox__native-control:enabled:indeterminate~.mdc-checkbox__background,.mdc-checkbox:hover .mdc-checkbox__native-control[data-indeterminate=true]:enabled~.mdc-checkbox__background{border-color:var(--mdc-checkbox-selected-hover-icon-color);background-color:var(--mdc-checkbox-selected-hover-icon-color)}@keyframes mdc-checkbox-fade-in-background-FF212121FFF4433600000000FFF44336{0%{border-color:var(--mdc-checkbox-unselected-hover-icon-color);background-color:transparent}50%{border-color:var(--mdc-checkbox-selected-hover-icon-color);background-color:var(--mdc-checkbox-selected-hover-icon-color)}}@keyframes mdc-checkbox-fade-out-background-FF212121FFF4433600000000FFF44336{0%,80%{border-color:var(--mdc-checkbox-selected-hover-icon-color);background-color:var(--mdc-checkbox-selected-hover-icon-color)}100%{border-color:var(--mdc-checkbox-unselected-hover-icon-color);background-color:transparent}}.mdc-checkbox:hover.mdc-checkbox--anim-unchecked-checked .mdc-checkbox__native-control:enabled~.mdc-checkbox__background,.mdc-checkbox:hover.mdc-checkbox--anim-unchecked-indeterminate .mdc-checkbox__native-control:enabled~.mdc-checkbox__background{animation-name:mdc-checkbox-fade-in-background-FF212121FFF4433600000000FFF44336}.mdc-checkbox:hover.mdc-checkbox--anim-checked-unchecked .mdc-checkbox__native-control:enabled~.mdc-checkbox__background,.mdc-checkbox:hover.mdc-checkbox--anim-indeterminate-unchecked .mdc-checkbox__native-control:enabled~.mdc-checkbox__background{animation-name:mdc-checkbox-fade-out-background-FF212121FFF4433600000000FFF44336}.mdc-checkbox:not(:disabled):active .mdc-checkbox__native-control:enabled:not(:checked):not(:indeterminate):not([data-indeterminate=true])~.mdc-checkbox__background{border-color:var(--mdc-checkbox-unselected-pressed-icon-color);background-color:transparent}.mdc-checkbox:not(:disabled):active .mdc-checkbox__native-control:enabled:checked~.mdc-checkbox__background,.mdc-checkbox:not(:disabled):active .mdc-checkbox__native-control:enabled:indeterminate~.mdc-checkbox__background,.mdc-checkbox:not(:disabled):active .mdc-checkbox__native-control[data-indeterminate=true]:enabled~.mdc-checkbox__background{border-color:var(--mdc-checkbox-selected-pressed-icon-color);background-color:var(--mdc-checkbox-selected-pressed-icon-color)}@keyframes mdc-checkbox-fade-in-background-8A000000FFF4433600000000FFF44336{0%{border-color:var(--mdc-checkbox-unselected-pressed-icon-color);background-color:transparent}50%{border-color:var(--mdc-checkbox-selected-pressed-icon-color);background-color:var(--mdc-checkbox-selected-pressed-icon-color)}}@keyframes mdc-checkbox-fade-out-background-8A000000FFF4433600000000FFF44336{0%,80%{border-color:var(--mdc-checkbox-selected-pressed-icon-color);background-color:var(--mdc-checkbox-selected-pressed-icon-color)}100%{border-color:var(--mdc-checkbox-unselected-pressed-icon-color);background-color:transparent}}.mdc-checkbox:not(:disabled):active.mdc-checkbox--anim-unchecked-checked .mdc-checkbox__native-control:enabled~.mdc-checkbox__background,.mdc-checkbox:not(:disabled):active.mdc-checkbox--anim-unchecked-indeterminate .mdc-checkbox__native-control:enabled~.mdc-checkbox__background{animation-name:mdc-checkbox-fade-in-background-8A000000FFF4433600000000FFF44336}.mdc-checkbox:not(:disabled):active.mdc-checkbox--anim-checked-unchecked .mdc-checkbox__native-control:enabled~.mdc-checkbox__background,.mdc-checkbox:not(:disabled):active.mdc-checkbox--anim-indeterminate-unchecked .mdc-checkbox__native-control:enabled~.mdc-checkbox__background{animation-name:mdc-checkbox-fade-out-background-8A000000FFF4433600000000FFF44336}.mdc-checkbox .mdc-checkbox__background{top:calc((var(--mdc-checkbox-state-layer-size) - 18px) / 2);left:calc((var(--mdc-checkbox-state-layer-size) - 18px) / 2)}.mdc-checkbox .mdc-checkbox__native-control{top:calc((var(--mdc-checkbox-state-layer-size) - var(--mdc-checkbox-state-layer-size)) / 2);right:calc((var(--mdc-checkbox-state-layer-size) - var(--mdc-checkbox-state-layer-size)) / 2);left:calc((var(--mdc-checkbox-state-layer-size) - var(--mdc-checkbox-state-layer-size)) / 2);width:var(--mdc-checkbox-state-layer-size);height:var(--mdc-checkbox-state-layer-size)}.mdc-checkbox .mdc-checkbox__native-control:enabled:focus:focus:not(:checked):not(:indeterminate)~.mdc-checkbox__background{border-color:var(--mdc-checkbox-unselected-focus-icon-color)}.mdc-checkbox .mdc-checkbox__native-control:enabled:focus:checked~.mdc-checkbox__background,.mdc-checkbox .mdc-checkbox__native-control:enabled:focus:indeterminate~.mdc-checkbox__background{border-color:var(--mdc-checkbox-selected-focus-icon-color);background-color:var(--mdc-checkbox-selected-focus-icon-color)}.mdc-checkbox:hover .mdc-checkbox__ripple{opacity:var(--mdc-checkbox-unselected-hover-state-layer-opacity);background-color:var(--mdc-checkbox-unselected-hover-state-layer-color)}.mdc-checkbox:hover .mat-mdc-checkbox-ripple .mat-ripple-element{background-color:var(--mdc-checkbox-unselected-hover-state-layer-color)}.mdc-checkbox .mdc-checkbox__native-control:focus~.mdc-checkbox__ripple{opacity:var(--mdc-checkbox-unselected-focus-state-layer-opacity);background-color:var(--mdc-checkbox-unselected-focus-state-layer-color)}.mdc-checkbox .mdc-checkbox__native-control:focus~.mat-mdc-checkbox-ripple .mat-ripple-element{background-color:var(--mdc-checkbox-unselected-focus-state-layer-color)}.mdc-checkbox:active .mdc-checkbox__native-control~.mdc-checkbox__ripple{opacity:var(--mdc-checkbox-unselected-pressed-state-layer-opacity);background-color:var(--mdc-checkbox-unselected-pressed-state-layer-color)}.mdc-checkbox:active .mdc-checkbox__native-control~.mat-mdc-checkbox-ripple .mat-ripple-element{background-color:var(--mdc-checkbox-unselected-pressed-state-layer-color)}.mdc-checkbox:hover .mdc-checkbox__native-control:checked~.mdc-checkbox__ripple{opacity:var(--mdc-checkbox-selected-hover-state-layer-opacity);background-color:var(--mdc-checkbox-selected-hover-state-layer-color)}.mdc-checkbox:hover .mdc-checkbox__native-control:checked~.mat-mdc-checkbox-ripple .mat-ripple-element{background-color:var(--mdc-checkbox-selected-hover-state-layer-color)}.mdc-checkbox .mdc-checkbox__native-control:focus:checked~.mdc-checkbox__ripple{opacity:var(--mdc-checkbox-selected-focus-state-layer-opacity);background-color:var(--mdc-checkbox-selected-focus-state-layer-color)}.mdc-checkbox .mdc-checkbox__native-control:focus:checked~.mat-mdc-checkbox-ripple .mat-ripple-element{background-color:var(--mdc-checkbox-selected-focus-state-layer-color)}.mdc-checkbox:active .mdc-checkbox__native-control:checked~.mdc-checkbox__ripple{opacity:var(--mdc-checkbox-selected-pressed-state-layer-opacity);background-color:var(--mdc-checkbox-selected-pressed-state-layer-color)}.mdc-checkbox:active .mdc-checkbox__native-control:checked~.mat-mdc-checkbox-ripple .mat-ripple-element{background-color:var(--mdc-checkbox-selected-pressed-state-layer-color)}.mat-mdc-checkbox{display:inline-block;position:relative;-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-mdc-checkbox .mdc-checkbox__background{-webkit-print-color-adjust:exact;color-adjust:exact}.mat-mdc-checkbox._mat-animation-noopable *,.mat-mdc-checkbox._mat-animation-noopable *::before{transition:none !important;animation:none !important}.mat-mdc-checkbox label{cursor:pointer}.mat-mdc-checkbox .mat-internal-form-field{color:var(--mat-checkbox-label-text-color);font-family:var(--mat-checkbox-label-text-font);line-height:var(--mat-checkbox-label-text-line-height);font-size:var(--mat-checkbox-label-text-size);letter-spacing:var(--mat-checkbox-label-text-tracking);font-weight:var(--mat-checkbox-label-text-weight)}.mat-mdc-checkbox.mat-mdc-checkbox-disabled label{cursor:default;color:var(--mat-checkbox-disabled-label-color)}.mat-mdc-checkbox label:empty{display:none}.cdk-high-contrast-active .mat-mdc-checkbox.mat-mdc-checkbox-disabled{opacity:.5}.cdk-high-contrast-active .mat-mdc-checkbox .mdc-checkbox__checkmark{--mdc-checkbox-selected-checkmark-color: CanvasText;--mdc-checkbox-disabled-selected-checkmark-color: CanvasText}.mat-mdc-checkbox .mdc-checkbox__ripple{opacity:0}.mat-mdc-checkbox-ripple,.mdc-checkbox__ripple{top:0;left:0;right:0;bottom:0;position:absolute;border-radius:50%;pointer-events:none}.mat-mdc-checkbox-ripple:not(:empty),.mdc-checkbox__ripple:not(:empty){transform:translateZ(0)}.mat-mdc-checkbox-ripple .mat-ripple-element{opacity:.1}.mat-mdc-checkbox-touch-target{position:absolute;top:50%;height:48px;left:50%;width:48px;transform:translate(-50%, -50%);display:var(--mat-checkbox-touch-target-display)}.mat-mdc-checkbox-ripple::before{border-radius:50%}.mdc-checkbox__native-control:focus~.mat-mdc-focus-indicator::before{content:""}'],encapsulation:2,changeDetection:0})}return D})(),F=(()=>{class D{static#e=this.\u0275fac=function(S){return new(S||D)};static#t=this.\u0275mod=i.$C({type:D});static#n=this.\u0275inj=i.G2t({imports:[Y,g.yE,g.yE]})}return D})()}}]);