-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy path1244.7a1697fbf4597e81.js
1 lines (1 loc) · 109 KB
/
1244.7a1697fbf4597e81.js
1
"use strict";(self.webpackChunkmaterial_angular_io=self.webpackChunkmaterial_angular_io||[]).push([[1244],{8967:(Me,ne,x)=>{x.d(ne,{$i:()=>H,HM:()=>T,Jn:()=>L,RQ:()=>D,Y9:()=>U,sE:()=>X});var i=x(1281),k=x(5017),e=x(4650),w=x(8929),Z=x(6498),Y=x(1086),c=x(7625),q=x(7545),$=x(5778),ae=x(4006),O=x(5013),V=x(6895);function B(m,_){if(1&m){const s=e.EpF();e.TgZ(0,"input",5,6),e.NdJ("click",function(M){e.CHM(s);const E=e.MAs(1);return e.KtG(E.toggle(M))}),e.ALo(2,"async"),e.ALo(3,"async"),e.qZA()}if(2&m){const s=e.MAs(1);e.Q6J("checked",e.lcZ(2,2,s.checked))("indeterminate",e.lcZ(3,4,s.indeterminate))}}function Q(m,_){if(1&m&&(e.TgZ(0,"th",3),e.YNc(1,B,4,6,"input",4),e.qZA()),2&m){const s=e.oxw();e.xp6(1),e.Q6J("ngIf",s.selection.multiple)}}function le(m,_){if(1&m){const s=e.EpF();e.TgZ(0,"td",7)(1,"input",8,9),e.NdJ("click",function(){e.CHM(s);const M=e.MAs(2);return e.KtG(M.toggle())}),e.ALo(3,"async"),e.qZA()()}if(2&m){const s=_.$implicit,C=_.$index,M=e.MAs(2);e.xp6(1),e.Q6J("cdkSelectionToggleValue",s)("cdkSelectionToggleIndex",C)("checked",e.lcZ(3,3,M.checked))}}class j{constructor(_=!1,s){this._multiple=_,this._trackByFn=s,this._selectionMap=new Map,this.changed=new w.xQ}isSelected(_){return this._selectionMap.has(this._getTrackedByValue(_))}select(..._){const s=this._getCurrentSelection();this._multiple||this._selectionMap.clear();const C=[];for(const E of _)this.isSelected(E)||(C.push(E),this._markSelected(this._getTrackedByValue(E),E));const M=this._getCurrentSelection();this.changed.next({before:s,after:M})}deselect(..._){const s=this._getCurrentSelection(),C=[];for(const E of _)!this.isSelected(E)||(C.push(E),this._markDeselected(this._getTrackedByValue(E)));const M=this._getCurrentSelection();this.changed.next({before:s,after:M})}_markSelected(_,s){this._selectionMap.set(_,s)}_markDeselected(_){this._selectionMap.delete(_)}_getTrackedByValue(_){return this._trackByFn?this._trackByFn(_.index,_.value):_.value}_getCurrentSelection(){return Array.from(this._selectionMap.values())}}let H=(()=>{class m{constructor(){this.change=new e.vpe,this._destroyed=new w.xQ,this.selectAllState="none"}get dataSource(){return this._dataSource}set dataSource(s){this._dataSource!==s&&this._switchDataSource(s)}get multiple(){return this._multiple}set multiple(s){this._multiple=(0,i.Ig)(s)}_switchDataSource(s){this._data=[],(0,k.Z9)(this._dataSource)&&this._dataSource.disconnect(this),this._renderChangeSubscription&&(this._renderChangeSubscription.unsubscribe(),this._renderChangeSubscription=null),this._dataSource=s}_observeRenderChanges(){if(!this._dataSource)return;let s;(0,k.Z9)(this._dataSource)?s=this._dataSource.connect(this):this._dataSource instanceof Z.y?s=this._dataSource:Array.isArray(this._dataSource)&&(s=(0,Y.of)(this._dataSource)),this._renderChangeSubscription=s.pipe((0,c.R)(this._destroyed)).subscribe(C=>{this._data=C||[]})}ngOnInit(){this._selection=new j(this._multiple,this.trackByFn),this._selection.changed.pipe((0,c.R)(this._destroyed)).subscribe(s=>{this._updateSelectAllState(),this.change.emit(s)})}ngAfterContentChecked(){this._dataSource&&!this._renderChangeSubscription&&this._observeRenderChanges()}ngOnDestroy(){this._destroyed.next(),this._destroyed.complete(),(0,k.Z9)(this._dataSource)&&this._dataSource.disconnect(this)}toggleSelection(s,C){this.isSelected(s,C)?this._selection.deselect({value:s,index:C}):this._selection.select({value:s,index:C})}toggleSelectAll(){"none"===this.selectAllState?this._selectAll():this._clearAll()}isSelected(s,C){return this._selection.isSelected({value:s,index:C})}isAllSelected(){return this._data.every((s,C)=>this._selection.isSelected({value:s,index:C}))}isPartialSelected(){return!this.isAllSelected()&&this._data.some((s,C)=>this._selection.isSelected({value:s,index:C}))}_selectAll(){const s=[];this._data.forEach((C,M)=>{s.push({value:C,index:M})}),this._selection.select(...s)}_clearAll(){const s=[];this._data.forEach((C,M)=>{s.push({value:C,index:M})}),this._selection.deselect(...s)}_updateSelectAllState(){this.selectAllState=this.isAllSelected()?"all":this.isPartialSelected()?"partial":"none"}}return m.\u0275fac=function(s){return new(s||m)},m.\u0275dir=e.lG2({type:m,selectors:[["","cdkSelection",""]],inputs:{dataSource:"dataSource",trackByFn:["trackBy","trackByFn"],multiple:["cdkSelectionMultiple","multiple"]},outputs:{change:"cdkSelectionChange"},exportAs:["cdkSelection"]}),m})(),X=(()=>{class m{constructor(s,C){this._selection=s,this._controlValueAccessor=C,this.checked=this._selection.change.pipe((0,q.w)(()=>(0,Y.of)(this._selection.isAllSelected()))),this.indeterminate=this._selection.change.pipe((0,q.w)(()=>(0,Y.of)(this._selection.isPartialSelected()))),this._destroyed=new w.xQ}toggle(s){s&&s.preventDefault(),setTimeout(()=>{this._selection.toggleSelectAll()})}ngOnInit(){this._assertValidParentSelection(),this._configureControlValueAccessor()}_configureControlValueAccessor(){this._controlValueAccessor&&this._controlValueAccessor.length&&(this._controlValueAccessor[0].registerOnChange(s=>{(!0===s||!1===s)&&this.toggle()}),this.checked.pipe((0,c.R)(this._destroyed)).subscribe(s=>{this._controlValueAccessor[0].writeValue(s)}))}_assertValidParentSelection(){}ngOnDestroy(){this._destroyed.next(),this._destroyed.complete()}}return m.\u0275fac=function(s){return new(s||m)(e.Y36(H,8),e.Y36(ae.JU,10))},m.\u0275dir=e.lG2({type:m,selectors:[["","cdkSelectAll",""]],exportAs:["cdkSelectAll"]}),m})(),L=(()=>{class m{constructor(s,C){this._selection=s,this._controlValueAccessors=C,this.checked=this._selection.change.pipe((0,q.w)(()=>(0,Y.of)(this._isSelected())),(0,$.x)()),this._destroyed=new w.xQ}get index(){return this._index}set index(s){this._index=(0,i.su)(s)}toggle(){this._selection.toggleSelection(this.value,this.index)}ngOnInit(){this._assertValidParentSelection(),this._configureControlValueAccessor()}ngOnDestroy(){this._destroyed.next(),this._destroyed.complete()}_assertValidParentSelection(){}_configureControlValueAccessor(){this._controlValueAccessors&&this._controlValueAccessors.length&&(this._controlValueAccessors[0].registerOnChange(s=>{"boolean"==typeof s&&this.toggle()}),this.checked.pipe((0,c.R)(this._destroyed)).subscribe(s=>{this._controlValueAccessors[0].writeValue(s)}))}_isSelected(){return this._selection.isSelected(this.value,this.index)}}return m.\u0275fac=function(s){return new(s||m)(e.Y36(H,8),e.Y36(ae.JU,10))},m.\u0275dir=e.lG2({type:m,selectors:[["","cdkSelectionToggle",""]],inputs:{value:["cdkSelectionToggleValue","value"],index:["cdkSelectionToggleIndex","index"]},exportAs:["cdkSelectionToggle"]}),m})(),U=(()=>{class m{constructor(s,C){this._table=s,this.selection=C}get name(){return this._name}set name(s){this._name=s,this._syncColumnDefName()}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)}}return m.\u0275fac=function(s){return new(s||m)(e.Y36(O.zC,8),e.Y36(H,8))},m.\u0275cmp=e.Xpm({type:m,selectors:[["cdk-selection-column"]],viewQuery:function(s,C){if(1&s&&(e.Gf(O.fo,7),e.Gf(O.O_,7),e.Gf(O.D5,7)),2&s){let M;e.iGM(M=e.CRH())&&(C._columnDef=M.first),e.iGM(M=e.CRH())&&(C._cell=M.first),e.iGM(M=e.CRH())&&(C._headerCell=M.first)}},inputs:{name:["cdkSelectionColumnName","name"]},decls:3,vars:0,consts:[["cdkColumnDef",""],["cdkHeaderCell","",4,"cdkHeaderCellDef"],["cdkCell","",4,"cdkCellDef"],["cdkHeaderCell",""],["type","checkbox","cdkSelectAll","",3,"checked","indeterminate","click",4,"ngIf"],["type","checkbox","cdkSelectAll","",3,"checked","indeterminate","click"],["allToggler","cdkSelectAll"],["cdkCell",""],["type","checkbox","cdkSelectionToggle","",3,"cdkSelectionToggleValue","cdkSelectionToggleIndex","checked","click"],["toggler","cdkSelectionToggle"]],template:function(s,C){1&s&&(e.ynx(0,0),e.YNc(1,Q,2,1,"th",1),e.YNc(2,le,4,5,"td",2),e.BQk())},dependencies:[V.O5,O.O_,O.D5,O.fo,L,X,V.Ov],encapsulation:2,changeDetection:0}),m})(),D=(()=>{class m{constructor(s){this._selection=s}get index(){return this._index}set index(s){this._index=(0,i.su)(s)}}return m.\u0275fac=function(s){return new(s||m)(e.Y36(H))},m.\u0275dir=e.lG2({type:m,selectors:[["","cdkRowSelection",""]],hostVars:3,hostBindings:function(s,C){2&s&&(e.uIk("aria-selected",C._selection.isSelected(C.value,C.index)),e.ekj("cdk-selected",C._selection.isSelected(C.value,C.index)))},inputs:{value:["cdkRowSelectionValue","value"],index:["cdkRowSelectionIndex","index"]}}),m})(),T=(()=>{class m{}return m.\u0275fac=function(s){return new(s||m)},m.\u0275mod=e.oAB({type:m}),m.\u0275inj=e.cJS({imports:[V.ez,O.HT]}),m})()},5013:(Me,ne,x)=>{x.d(ne,{$E:()=>we,Af:()=>ie,D5:()=>m,FT:()=>xe,HT:()=>J,Hx:()=>N,Kb:()=>z,O_:()=>T,QJ:()=>pe,Sq:()=>I,T$:()=>fe,Z4:()=>_,_J:()=>te,bH:()=>ye,fe:()=>R,fo:()=>M,hD:()=>K,m$:()=>ve,nl:()=>ge,oF:()=>be,pF:()=>Ce,pN:()=>U,qM:()=>ee,r2:()=>he,s$:()=>f,xN:()=>P,zC:()=>u});var i=x(445),k=x(1281),e=x(5017),w=x(3353),Z=x(7376),Y=x(6895),c=x(4650),q=x(8929),$=x(5254),ae=x(591),O=x(4715),V=x(1086),B=x(7625),Q=x(2986);const le=[[["caption"]],[["colgroup"],["col"]]],j=["caption","colgroup, col"];function H(n,p){if(1&n&&(c.TgZ(0,"th",3),c._uU(1),c.qZA()),2&n){const t=c.oxw();c.Udp("text-align",t.justify),c.xp6(1),c.hij(" ",t.headerText," ")}}function X(n,p){if(1&n&&(c.TgZ(0,"td",4),c._uU(1),c.qZA()),2&n){const t=p.$implicit,a=c.oxw();c.Udp("text-align",a.justify),c.xp6(1),c.hij(" ",a.dataAccessor(t,a.name)," ")}}function L(n){return class extends n{constructor(...p){super(...p),this._sticky=!1,this._hasStickyChanged=!1}get sticky(){return this._sticky}set sticky(p){const t=this._sticky;this._sticky=(0,k.Ig)(p),this._hasStickyChanged=t!==this._sticky}hasStickyChanged(){const p=this._hasStickyChanged;return this._hasStickyChanged=!1,p}resetStickyChanged(){this._hasStickyChanged=!1}}}const U=new c.OlP("CDK_TABLE"),D=new c.OlP("text-column-options");let T=(()=>{class n{constructor(t){this.template=t}}return n.\u0275fac=function(t){return new(t||n)(c.Y36(c.Rgc))},n.\u0275dir=c.lG2({type:n,selectors:[["","cdkCellDef",""]]}),n})(),m=(()=>{class n{constructor(t){this.template=t}}return n.\u0275fac=function(t){return new(t||n)(c.Y36(c.Rgc))},n.\u0275dir=c.lG2({type:n,selectors:[["","cdkHeaderCellDef",""]]}),n})(),_=(()=>{class n{constructor(t){this.template=t}}return n.\u0275fac=function(t){return new(t||n)(c.Y36(c.Rgc))},n.\u0275dir=c.lG2({type:n,selectors:[["","cdkFooterCellDef",""]]}),n})();class s{}const C=L(s);let M=(()=>{class n extends C{constructor(t){super(),this._table=t,this._stickyEnd=!1}get name(){return this._name}set name(t){this._setNameInput(t)}get stickyEnd(){return this._stickyEnd}set stickyEnd(t){const a=this._stickyEnd;this._stickyEnd=(0,k.Ig)(t),this._hasStickyChanged=a!==this._stickyEnd}_updateColumnCssClassName(){this._columnCssClassName=[`cdk-column-${this.cssClassFriendlyName}`]}_setNameInput(t){t&&(this._name=t,this.cssClassFriendlyName=t.replace(/[^a-z0-9_-]/gi,"-"),this._updateColumnCssClassName())}}return n.\u0275fac=function(t){return new(t||n)(c.Y36(U,8))},n.\u0275dir=c.lG2({type:n,selectors:[["","cdkColumnDef",""]],contentQueries:function(t,a,l){if(1&t&&(c.Suo(l,T,5),c.Suo(l,m,5),c.Suo(l,_,5)),2&t){let g;c.iGM(g=c.CRH())&&(a.cell=g.first),c.iGM(g=c.CRH())&&(a.headerCell=g.first),c.iGM(g=c.CRH())&&(a.footerCell=g.first)}},inputs:{sticky:"sticky",name:["cdkColumnDef","name"],stickyEnd:"stickyEnd"},features:[c._Bn([{provide:"MAT_SORT_HEADER_COLUMN_DEF",useExisting:n}]),c.qOj]}),n})();class E{constructor(p,t){t.nativeElement.classList.add(...p._columnCssClassName)}}let ie=(()=>{class n extends E{constructor(t,a){super(t,a)}}return n.\u0275fac=function(t){return new(t||n)(c.Y36(M),c.Y36(c.SBq))},n.\u0275dir=c.lG2({type:n,selectors:[["cdk-header-cell"],["th","cdk-header-cell",""]],hostAttrs:["role","columnheader",1,"cdk-header-cell"],features:[c.qOj]}),n})(),pe=(()=>{class n extends E{constructor(t,a){if(super(t,a),1===t._table?._elementRef.nativeElement.nodeType){const l=t._table._elementRef.nativeElement.getAttribute("role");a.nativeElement.setAttribute("role","grid"===l||"treegrid"===l?"gridcell":"cell")}}}return n.\u0275fac=function(t){return new(t||n)(c.Y36(M),c.Y36(c.SBq))},n.\u0275dir=c.lG2({type:n,selectors:[["cdk-footer-cell"],["td","cdk-footer-cell",""]],hostAttrs:[1,"cdk-footer-cell"],features:[c.qOj]}),n})(),K=(()=>{class n extends E{constructor(t,a){if(super(t,a),1===t._table?._elementRef.nativeElement.nodeType){const l=t._table._elementRef.nativeElement.getAttribute("role");a.nativeElement.setAttribute("role","grid"===l||"treegrid"===l?"gridcell":"cell")}}}return n.\u0275fac=function(t){return new(t||n)(c.Y36(M),c.Y36(c.SBq))},n.\u0275dir=c.lG2({type:n,selectors:[["cdk-cell"],["td","cdk-cell",""]],hostAttrs:[1,"cdk-cell"],features:[c.qOj]}),n})();class re{constructor(){this.tasks=[],this.endTasks=[]}}const ge=new c.OlP("_COALESCED_STYLE_SCHEDULER");let be=(()=>{class n{constructor(t){this._ngZone=t,this._currentSchedule=null,this._destroyed=new q.xQ}schedule(t){this._createScheduleIfNeeded(),this._currentSchedule.tasks.push(t)}scheduleEnd(t){this._createScheduleIfNeeded(),this._currentSchedule.endTasks.push(t)}ngOnDestroy(){this._destroyed.next(),this._destroyed.complete()}_createScheduleIfNeeded(){this._currentSchedule||(this._currentSchedule=new re,this._getScheduleObservable().pipe((0,B.R)(this._destroyed)).subscribe(()=>{for(;this._currentSchedule.tasks.length||this._currentSchedule.endTasks.length;){const t=this._currentSchedule;this._currentSchedule=new re;for(const a of t.tasks)a();for(const a of t.endTasks)a()}this._currentSchedule=null}))}_getScheduleObservable(){return this._ngZone.isStable?(0,$.D)(Promise.resolve(void 0)):this._ngZone.onStable.pipe((0,Q.q)(1))}}return n.\u0275fac=function(t){return new(t||n)(c.LFG(c.R0b))},n.\u0275prov=c.Yz7({token:n,factory:n.\u0275fac}),n})(),de=(()=>{class n{constructor(t,a){this.template=t,this._differs=a}ngOnChanges(t){if(!this._columnsDiffer){const a=t.columns&&t.columns.currentValue||[];this._columnsDiffer=this._differs.find(a).create(),this._columnsDiffer.diff(a)}}getColumnsDiff(){return this._columnsDiffer.diff(this.columns)}extractCellTemplate(t){return this instanceof f?t.headerCell.template:this instanceof R?t.footerCell.template:t.cell.template}}return n.\u0275fac=function(t){return new(t||n)(c.Y36(c.Rgc),c.Y36(c.ZZ4))},n.\u0275dir=c.lG2({type:n,features:[c.TTD]}),n})();class ke extends de{}const r=L(ke);let f=(()=>{class n extends r{constructor(t,a,l){super(t,a),this._table=l}ngOnChanges(t){super.ngOnChanges(t)}}return n.\u0275fac=function(t){return new(t||n)(c.Y36(c.Rgc),c.Y36(c.ZZ4),c.Y36(U,8))},n.\u0275dir=c.lG2({type:n,selectors:[["","cdkHeaderRowDef",""]],inputs:{columns:["cdkHeaderRowDef","columns"],sticky:["cdkHeaderRowDefSticky","sticky"]},features:[c.qOj,c.TTD]}),n})();class b extends de{}const v=L(b);let R=(()=>{class n extends v{constructor(t,a,l){super(t,a),this._table=l}ngOnChanges(t){super.ngOnChanges(t)}}return n.\u0275fac=function(t){return new(t||n)(c.Y36(c.Rgc),c.Y36(c.ZZ4),c.Y36(U,8))},n.\u0275dir=c.lG2({type:n,selectors:[["","cdkFooterRowDef",""]],inputs:{columns:["cdkFooterRowDef","columns"],sticky:["cdkFooterRowDefSticky","sticky"]},features:[c.qOj,c.TTD]}),n})(),I=(()=>{class n extends de{constructor(t,a,l){super(t,a),this._table=l}}return n.\u0275fac=function(t){return new(t||n)(c.Y36(c.Rgc),c.Y36(c.ZZ4),c.Y36(U,8))},n.\u0275dir=c.lG2({type:n,selectors:[["","cdkRowDef",""]],inputs:{columns:["cdkRowDefColumns","columns"],when:["cdkRowDefWhen","when"]},features:[c.qOj]}),n})(),z=(()=>{class n{constructor(t){this._viewContainer=t,n.mostRecentCellOutlet=this}ngOnDestroy(){n.mostRecentCellOutlet===this&&(n.mostRecentCellOutlet=null)}}return n.mostRecentCellOutlet=null,n.\u0275fac=function(t){return new(t||n)(c.Y36(c.s_b))},n.\u0275dir=c.lG2({type:n,selectors:[["","cdkCellOutlet",""]]}),n})(),P=(()=>{class n{}return n.\u0275fac=function(t){return new(t||n)},n.\u0275cmp=c.Xpm({type:n,selectors:[["cdk-header-row"],["tr","cdk-header-row",""]],hostAttrs:["role","row",1,"cdk-header-row"],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(t,a){1&t&&c.GkF(0,0)},dependencies:[z],encapsulation:2}),n})(),ee=(()=>{class n{}return n.\u0275fac=function(t){return new(t||n)},n.\u0275cmp=c.Xpm({type:n,selectors:[["cdk-footer-row"],["tr","cdk-footer-row",""]],hostAttrs:["role","row",1,"cdk-footer-row"],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(t,a){1&t&&c.GkF(0,0)},dependencies:[z],encapsulation:2}),n})(),te=(()=>{class n{}return n.\u0275fac=function(t){return new(t||n)},n.\u0275cmp=c.Xpm({type:n,selectors:[["cdk-row"],["tr","cdk-row",""]],hostAttrs:["role","row",1,"cdk-row"],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(t,a){1&t&&c.GkF(0,0)},dependencies:[z],encapsulation:2}),n})(),he=(()=>{class n{constructor(t){this.templateRef=t,this._contentClassName="cdk-no-data-row"}}return n.\u0275fac=function(t){return new(t||n)(c.Y36(c.Rgc))},n.\u0275dir=c.lG2({type:n,selectors:[["ng-template","cdkNoDataRow",""]]}),n})();const _e=["top","bottom","left","right"];class se{constructor(p,t,a,l,g=!0,y=!0,S){this._isNativeHtmlTable=p,this._stickCellCss=t,this.direction=a,this._coalescedStyleScheduler=l,this._isBrowser=g,this._needsPositionStickyOnElement=y,this._positionListener=S,this._cachedCellWidths=[],this._borderCellCss={top:`${t}-border-elem-top`,bottom:`${t}-border-elem-bottom`,left:`${t}-border-elem-left`,right:`${t}-border-elem-right`}}clearStickyPositioning(p,t){const a=[];for(const l of p)if(l.nodeType===l.ELEMENT_NODE){a.push(l);for(let g=0;g<l.children.length;g++)a.push(l.children[g])}this._coalescedStyleScheduler.schedule(()=>{for(const l of a)this._removeStickyStyle(l,t)})}updateStickyColumns(p,t,a,l=!0){if(!p.length||!this._isBrowser||!t.some(G=>G)&&!a.some(G=>G))return void(this._positionListener&&(this._positionListener.stickyColumnsUpdated({sizes:[]}),this._positionListener.stickyEndColumnsUpdated({sizes:[]})));const g=p[0],y=g.children.length,S=this._getCellWidths(g,l),F=this._getStickyStartColumnPositions(S,t),me=this._getStickyEndColumnPositions(S,a),A=t.lastIndexOf(!0),ce=a.indexOf(!0);this._coalescedStyleScheduler.schedule(()=>{const G="rtl"===this.direction,ue=G?"right":"left",He=G?"left":"right";for(const De of p)for(let W=0;W<y;W++){const Ne=De.children[W];t[W]&&this._addStickyStyle(Ne,ue,F[W],W===A),a[W]&&this._addStickyStyle(Ne,He,me[W],W===ce)}this._positionListener&&(this._positionListener.stickyColumnsUpdated({sizes:-1===A?[]:S.slice(0,A+1).map((De,W)=>t[W]?De:null)}),this._positionListener.stickyEndColumnsUpdated({sizes:-1===ce?[]:S.slice(ce).map((De,W)=>a[W+ce]?De:null).reverse()}))})}stickRows(p,t,a){if(!this._isBrowser)return;const l="bottom"===a?p.slice().reverse():p,g="bottom"===a?t.slice().reverse():t,y=[],S=[],F=[];for(let A=0,ce=0;A<l.length;A++){if(!g[A])continue;y[A]=ce;const G=l[A];F[A]=this._isNativeHtmlTable?Array.from(G.children):[G];const ue=G.getBoundingClientRect().height;ce+=ue,S[A]=ue}const me=g.lastIndexOf(!0);this._coalescedStyleScheduler.schedule(()=>{for(let A=0;A<l.length;A++){if(!g[A])continue;const ce=y[A],G=A===me;for(const ue of F[A])this._addStickyStyle(ue,a,ce,G)}"top"===a?this._positionListener?.stickyHeaderRowsUpdated({sizes:S,offsets:y,elements:F}):this._positionListener?.stickyFooterRowsUpdated({sizes:S,offsets:y,elements:F})})}updateStickyFooterContainer(p,t){if(!this._isNativeHtmlTable)return;const a=p.querySelector("tfoot");this._coalescedStyleScheduler.schedule(()=>{t.some(l=>!l)?this._removeStickyStyle(a,["bottom"]):this._addStickyStyle(a,"bottom",0,!1)})}_removeStickyStyle(p,t){for(const l of t)p.style[l]="",p.classList.remove(this._borderCellCss[l]);_e.some(l=>-1===t.indexOf(l)&&p.style[l])?p.style.zIndex=this._getCalculatedZIndex(p):(p.style.zIndex="",this._needsPositionStickyOnElement&&(p.style.position=""),p.classList.remove(this._stickCellCss))}_addStickyStyle(p,t,a,l){p.classList.add(this._stickCellCss),l&&p.classList.add(this._borderCellCss[t]),p.style[t]=`${a}px`,p.style.zIndex=this._getCalculatedZIndex(p),this._needsPositionStickyOnElement&&(p.style.cssText+="position: -webkit-sticky; position: sticky; ")}_getCalculatedZIndex(p){const t={top:100,bottom:10,left:1,right:1};let a=0;for(const l of _e)p.style[l]&&(a+=t[l]);return a?`${a}`:""}_getCellWidths(p,t=!0){if(!t&&this._cachedCellWidths.length)return this._cachedCellWidths;const a=[],l=p.children;for(let g=0;g<l.length;g++)a.push(l[g].getBoundingClientRect().width);return this._cachedCellWidths=a,a}_getStickyStartColumnPositions(p,t){const a=[];let l=0;for(let g=0;g<p.length;g++)t[g]&&(a[g]=l,l+=p[g]);return a}_getStickyEndColumnPositions(p,t){const a=[];let l=0;for(let g=p.length;g>0;g--)t[g]&&(a[g]=l,l+=p[g]);return a}}const Ce=new c.OlP("CDK_SPL");let ve=(()=>{class n{}return n.\u0275fac=function(t){return new(t||n)},n.\u0275dir=c.lG2({type:n,selectors:[["cdk-table","recycleRows",""],["table","cdk-table","","recycleRows",""]],features:[c._Bn([{provide:e.k,useClass:e.eX}])]}),n})(),fe=(()=>{class n{constructor(t,a){this.viewContainer=t,this.elementRef=a}}return n.\u0275fac=function(t){return new(t||n)(c.Y36(c.s_b),c.Y36(c.SBq))},n.\u0275dir=c.lG2({type:n,selectors:[["","rowOutlet",""]]}),n})(),xe=(()=>{class n{constructor(t,a){this.viewContainer=t,this.elementRef=a}}return n.\u0275fac=function(t){return new(t||n)(c.Y36(c.s_b),c.Y36(c.SBq))},n.\u0275dir=c.lG2({type:n,selectors:[["","headerRowOutlet",""]]}),n})(),we=(()=>{class n{constructor(t,a){this.viewContainer=t,this.elementRef=a}}return n.\u0275fac=function(t){return new(t||n)(c.Y36(c.s_b),c.Y36(c.SBq))},n.\u0275dir=c.lG2({type:n,selectors:[["","footerRowOutlet",""]]}),n})(),ye=(()=>{class n{constructor(t,a){this.viewContainer=t,this.elementRef=a}}return n.\u0275fac=function(t){return new(t||n)(c.Y36(c.s_b),c.Y36(c.SBq))},n.\u0275dir=c.lG2({type:n,selectors:[["","noDataRowOutlet",""]]}),n})(),u=(()=>{class n{constructor(t,a,l,g,y,S,F,me,A,ce,G,ue){this._differs=t,this._changeDetectorRef=a,this._elementRef=l,this._dir=y,this._platform=F,this._viewRepeater=me,this._coalescedStyleScheduler=A,this._viewportRuler=ce,this._stickyPositioningListener=G,this._ngZone=ue,this._onDestroy=new q.xQ,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._multiTemplateDataRows=!1,this._fixedLayout=!1,this.contentChanged=new c.vpe,this.viewChange=new ae.X({start:0,end:Number.MAX_VALUE}),g||this._elementRef.nativeElement.setAttribute("role","table"),this._document=S,this._isNativeHtmlTable="TABLE"===this._elementRef.nativeElement.nodeName}get trackBy(){return this._trackByFn}set trackBy(t){this._trackByFn=t}get dataSource(){return this._dataSource}set dataSource(t){this._dataSource!==t&&this._switchDataSource(t)}get multiTemplateDataRows(){return this._multiTemplateDataRows}set multiTemplateDataRows(t){this._multiTemplateDataRows=(0,k.Ig)(t),this._rowOutlet&&this._rowOutlet.viewContainer.length&&(this._forceRenderDataRows(),this.updateStickyColumnStyles())}get fixedLayout(){return this._fixedLayout}set fixedLayout(t){this._fixedLayout=(0,k.Ig)(t),this._forceRecalculateCellWidths=!0,this._stickyColumnStylesNeedReset=!0}ngOnInit(){this._setupStickyStyler(),this._isNativeHtmlTable&&this._applyNativeTableSections(),this._dataDiffer=this._differs.find([]).create((t,a)=>this.trackBy?this.trackBy(a.dataIndex,a.data):a),this._viewportRuler.change().pipe((0,B.R)(this._onDestroy)).subscribe(()=>{this._forceRecalculateCellWidths=!0})}ngAfterContentChecked(){this._cacheRowDefs(),this._cacheColumnDefs();const a=this._renderUpdatedColumns()||this._headerRowDefChanged||this._footerRowDefChanged;this._stickyColumnStylesNeedReset=this._stickyColumnStylesNeedReset||a,this._forceRecalculateCellWidths=a,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()}ngOnDestroy(){[this._rowOutlet.viewContainer,this._headerRowOutlet.viewContainer,this._footerRowOutlet.viewContainer,this._cachedRenderRowsMap,this._customColumnDefs,this._customRowDefs,this._customHeaderRowDefs,this._customFooterRowDefs,this._columnDefsByName].forEach(t=>{t.clear()}),this._headerRowDefs=[],this._footerRowDefs=[],this._defaultRowDef=null,this._onDestroy.next(),this._onDestroy.complete(),(0,e.Z9)(this.dataSource)&&this.dataSource.disconnect(this)}renderRows(){this._renderRows=this._getAllRenderRows();const t=this._dataDiffer.diff(this._renderRows);if(!t)return this._updateNoDataRow(),void this.contentChanged.next();const a=this._rowOutlet.viewContainer;this._viewRepeater.applyChanges(t,a,(l,g,y)=>this._getEmbeddedViewArgs(l.item,y),l=>l.item.data,l=>{1===l.operation&&l.context&&this._renderCellTemplateForItem(l.record.item.rowDef,l.context)}),this._updateRowIndexContext(),t.forEachIdentityChange(l=>{a.get(l.currentIndex).context.$implicit=l.item.data}),this._updateNoDataRow(),this._ngZone&&c.R0b.isInAngularZone()?this._ngZone.onStable.pipe((0,Q.q)(1),(0,B.R)(this._onDestroy)).subscribe(()=>{this.updateStickyColumnStyles()}):this.updateStickyColumnStyles(),this.contentChanged.next()}addColumnDef(t){this._customColumnDefs.add(t)}removeColumnDef(t){this._customColumnDefs.delete(t)}addRowDef(t){this._customRowDefs.add(t)}removeRowDef(t){this._customRowDefs.delete(t)}addHeaderRowDef(t){this._customHeaderRowDefs.add(t),this._headerRowDefChanged=!0}removeHeaderRowDef(t){this._customHeaderRowDefs.delete(t),this._headerRowDefChanged=!0}addFooterRowDef(t){this._customFooterRowDefs.add(t),this._footerRowDefChanged=!0}removeFooterRowDef(t){this._customFooterRowDefs.delete(t),this._footerRowDefChanged=!0}setNoDataRow(t){this._customNoDataRow=t}updateStickyHeaderRowStyles(){const t=this._getRenderedRows(this._headerRowOutlet),l=this._elementRef.nativeElement.querySelector("thead");l&&(l.style.display=t.length?"":"none");const g=this._headerRowDefs.map(y=>y.sticky);this._stickyStyler.clearStickyPositioning(t,["top"]),this._stickyStyler.stickRows(t,g,"top"),this._headerRowDefs.forEach(y=>y.resetStickyChanged())}updateStickyFooterRowStyles(){const t=this._getRenderedRows(this._footerRowOutlet),l=this._elementRef.nativeElement.querySelector("tfoot");l&&(l.style.display=t.length?"":"none");const g=this._footerRowDefs.map(y=>y.sticky);this._stickyStyler.clearStickyPositioning(t,["bottom"]),this._stickyStyler.stickRows(t,g,"bottom"),this._stickyStyler.updateStickyFooterContainer(this._elementRef.nativeElement,g),this._footerRowDefs.forEach(y=>y.resetStickyChanged())}updateStickyColumnStyles(){const t=this._getRenderedRows(this._headerRowOutlet),a=this._getRenderedRows(this._rowOutlet),l=this._getRenderedRows(this._footerRowOutlet);(this._isNativeHtmlTable&&!this._fixedLayout||this._stickyColumnStylesNeedReset)&&(this._stickyStyler.clearStickyPositioning([...t,...a,...l],["left","right"]),this._stickyColumnStylesNeedReset=!1),t.forEach((g,y)=>{this._addStickyColumnStyles([g],this._headerRowDefs[y])}),this._rowDefs.forEach(g=>{const y=[];for(let S=0;S<a.length;S++)this._renderRows[S].rowDef===g&&y.push(a[S]);this._addStickyColumnStyles(y,g)}),l.forEach((g,y)=>{this._addStickyColumnStyles([g],this._footerRowDefs[y])}),Array.from(this._columnDefsByName.values()).forEach(g=>g.resetStickyChanged())}_getAllRenderRows(){const t=[],a=this._cachedRenderRowsMap;this._cachedRenderRowsMap=new Map;for(let l=0;l<this._data.length;l++){let g=this._data[l];const y=this._getRenderRowsForData(g,l,a.get(g));this._cachedRenderRowsMap.has(g)||this._cachedRenderRowsMap.set(g,new WeakMap);for(let S=0;S<y.length;S++){let F=y[S];const me=this._cachedRenderRowsMap.get(F.data);me.has(F.rowDef)?me.get(F.rowDef).push(F):me.set(F.rowDef,[F]),t.push(F)}}return t}_getRenderRowsForData(t,a,l){return this._getRowDefs(t,a).map(y=>{const S=l&&l.has(y)?l.get(y):[];if(S.length){const F=S.shift();return F.dataIndex=a,F}return{data:t,rowDef:y,dataIndex:a}})}_cacheColumnDefs(){this._columnDefsByName.clear(),h(this._getOwnDefs(this._contentColumnDefs),this._customColumnDefs).forEach(a=>{this._columnDefsByName.has(a.name),this._columnDefsByName.set(a.name,a)})}_cacheRowDefs(){this._headerRowDefs=h(this._getOwnDefs(this._contentHeaderRowDefs),this._customHeaderRowDefs),this._footerRowDefs=h(this._getOwnDefs(this._contentFooterRowDefs),this._customFooterRowDefs),this._rowDefs=h(this._getOwnDefs(this._contentRowDefs),this._customRowDefs);const t=this._rowDefs.filter(a=>!a.when);this._defaultRowDef=t[0]}_renderUpdatedColumns(){const t=(y,S)=>y||!!S.getColumnsDiff(),a=this._rowDefs.reduce(t,!1);a&&this._forceRenderDataRows();const l=this._headerRowDefs.reduce(t,!1);l&&this._forceRenderHeaderRows();const g=this._footerRowDefs.reduce(t,!1);return g&&this._forceRenderFooterRows(),a||l||g}_switchDataSource(t){this._data=[],(0,e.Z9)(this.dataSource)&&this.dataSource.disconnect(this),this._renderChangeSubscription&&(this._renderChangeSubscription.unsubscribe(),this._renderChangeSubscription=null),t||(this._dataDiffer&&this._dataDiffer.diff([]),this._rowOutlet.viewContainer.clear()),this._dataSource=t}_observeRenderChanges(){if(!this.dataSource)return;let t;(0,e.Z9)(this.dataSource)?t=this.dataSource.connect(this):(0,O.b)(this.dataSource)?t=this.dataSource:Array.isArray(this.dataSource)&&(t=(0,V.of)(this.dataSource)),this._renderChangeSubscription=t.pipe((0,B.R)(this._onDestroy)).subscribe(a=>{this._data=a||[],this.renderRows()})}_forceRenderHeaderRows(){this._headerRowOutlet.viewContainer.length>0&&this._headerRowOutlet.viewContainer.clear(),this._headerRowDefs.forEach((t,a)=>this._renderRow(this._headerRowOutlet,t,a)),this.updateStickyHeaderRowStyles()}_forceRenderFooterRows(){this._footerRowOutlet.viewContainer.length>0&&this._footerRowOutlet.viewContainer.clear(),this._footerRowDefs.forEach((t,a)=>this._renderRow(this._footerRowOutlet,t,a)),this.updateStickyFooterRowStyles()}_addStickyColumnStyles(t,a){const l=Array.from(a.columns||[]).map(S=>this._columnDefsByName.get(S)),g=l.map(S=>S.sticky),y=l.map(S=>S.stickyEnd);this._stickyStyler.updateStickyColumns(t,g,y,!this._fixedLayout||this._forceRecalculateCellWidths)}_getRenderedRows(t){const a=[];for(let l=0;l<t.viewContainer.length;l++){const g=t.viewContainer.get(l);a.push(g.rootNodes[0])}return a}_getRowDefs(t,a){if(1==this._rowDefs.length)return[this._rowDefs[0]];let l=[];if(this.multiTemplateDataRows)l=this._rowDefs.filter(g=>!g.when||g.when(a,t));else{let g=this._rowDefs.find(y=>y.when&&y.when(a,t))||this._defaultRowDef;g&&l.push(g)}return l}_getEmbeddedViewArgs(t,a){return{templateRef:t.rowDef.template,context:{$implicit:t.data},index:a}}_renderRow(t,a,l,g={}){const y=t.viewContainer.createEmbeddedView(a.template,g,l);return this._renderCellTemplateForItem(a,g),y}_renderCellTemplateForItem(t,a){for(let l of this._getCellTemplates(t))z.mostRecentCellOutlet&&z.mostRecentCellOutlet._viewContainer.createEmbeddedView(l,a);this._changeDetectorRef.markForCheck()}_updateRowIndexContext(){const t=this._rowOutlet.viewContainer;for(let a=0,l=t.length;a<l;a++){const y=t.get(a).context;y.count=l,y.first=0===a,y.last=a===l-1,y.even=a%2==0,y.odd=!y.even,this.multiTemplateDataRows?(y.dataIndex=this._renderRows[a].dataIndex,y.renderIndex=a):y.index=this._renderRows[a].dataIndex}}_getCellTemplates(t){return t&&t.columns?Array.from(t.columns,a=>{const l=this._columnDefsByName.get(a);return t.extractCellTemplate(l)}):[]}_applyNativeTableSections(){const t=this._document.createDocumentFragment(),a=[{tag:"thead",outlets:[this._headerRowOutlet]},{tag:"tbody",outlets:[this._rowOutlet,this._noDataRowOutlet]},{tag:"tfoot",outlets:[this._footerRowOutlet]}];for(const l of a){const g=this._document.createElement(l.tag);g.setAttribute("role","rowgroup");for(const y of l.outlets)g.appendChild(y.elementRef.nativeElement);t.appendChild(g)}this._elementRef.nativeElement.appendChild(t)}_forceRenderDataRows(){this._dataDiffer.diff([]),this._rowOutlet.viewContainer.clear(),this.renderRows()}_checkStickyStates(){const t=(a,l)=>a||l.hasStickyChanged();this._headerRowDefs.reduce(t,!1)&&this.updateStickyHeaderRowStyles(),this._footerRowDefs.reduce(t,!1)&&this.updateStickyFooterRowStyles(),Array.from(this._columnDefsByName.values()).reduce(t,!1)&&(this._stickyColumnStylesNeedReset=!0,this.updateStickyColumnStyles())}_setupStickyStyler(){this._stickyStyler=new se(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,V.of)()).pipe((0,B.R)(this._onDestroy)).subscribe(a=>{this._stickyStyler.direction=a,this.updateStickyColumnStyles()})}_getOwnDefs(t){return t.filter(a=>!a._table||a._table===this)}_updateNoDataRow(){const t=this._customNoDataRow||this._noDataRow;if(!t)return;const a=0===this._rowOutlet.viewContainer.length;if(a===this._isShowingNoDataRow)return;const l=this._noDataRowOutlet.viewContainer;if(a){const g=l.createEmbeddedView(t.templateRef),y=g.rootNodes[0];1===g.rootNodes.length&&y?.nodeType===this._document.ELEMENT_NODE&&(y.setAttribute("role","row"),y.classList.add(t._contentClassName))}else l.clear();this._isShowingNoDataRow=a}}return n.\u0275fac=function(t){return new(t||n)(c.Y36(c.ZZ4),c.Y36(c.sBO),c.Y36(c.SBq),c.$8M("role"),c.Y36(i.Is,8),c.Y36(Y.K0),c.Y36(w.t4),c.Y36(e.k),c.Y36(ge),c.Y36(Z.rL),c.Y36(Ce,12),c.Y36(c.R0b,8))},n.\u0275cmp=c.Xpm({type:n,selectors:[["cdk-table"],["table","cdk-table",""]],contentQueries:function(t,a,l){if(1&t&&(c.Suo(l,he,5),c.Suo(l,M,5),c.Suo(l,I,5),c.Suo(l,f,5),c.Suo(l,R,5)),2&t){let g;c.iGM(g=c.CRH())&&(a._noDataRow=g.first),c.iGM(g=c.CRH())&&(a._contentColumnDefs=g),c.iGM(g=c.CRH())&&(a._contentRowDefs=g),c.iGM(g=c.CRH())&&(a._contentHeaderRowDefs=g),c.iGM(g=c.CRH())&&(a._contentFooterRowDefs=g)}},viewQuery:function(t,a){if(1&t&&(c.Gf(fe,7),c.Gf(xe,7),c.Gf(we,7),c.Gf(ye,7)),2&t){let l;c.iGM(l=c.CRH())&&(a._rowOutlet=l.first),c.iGM(l=c.CRH())&&(a._headerRowOutlet=l.first),c.iGM(l=c.CRH())&&(a._footerRowOutlet=l.first),c.iGM(l=c.CRH())&&(a._noDataRowOutlet=l.first)}},hostAttrs:[1,"cdk-table"],hostVars:2,hostBindings:function(t,a){2&t&&c.ekj("cdk-table-fixed-layout",a.fixedLayout)},inputs:{trackBy:"trackBy",dataSource:"dataSource",multiTemplateDataRows:"multiTemplateDataRows",fixedLayout:"fixedLayout"},outputs:{contentChanged:"contentChanged"},exportAs:["cdkTable"],features:[c._Bn([{provide:U,useExisting:n},{provide:e.k,useClass:e.yy},{provide:ge,useClass:be},{provide:Ce,useValue:null}])],ngContentSelectors:j,decls:6,vars:0,consts:[["headerRowOutlet",""],["rowOutlet",""],["noDataRowOutlet",""],["footerRowOutlet",""]],template:function(t,a){1&t&&(c.F$t(le),c.Hsn(0),c.Hsn(1,1),c.GkF(2,0)(3,1)(4,2)(5,3))},dependencies:[fe,xe,we,ye],styles:[".cdk-table-fixed-layout{table-layout:fixed}"],encapsulation:2}),n})();function h(n,p){return n.concat(Array.from(p))}let N=(()=>{class n{constructor(t,a){this._table=t,this._options=a,this.justify="start",this._options=a||{}}get name(){return this._name}set name(t){this._name=t,this._syncColumnDefName()}ngOnInit(){this._syncColumnDefName(),void 0===this.headerText&&(this.headerText=this._createDefaultHeaderText()),this.dataAccessor||(this.dataAccessor=this._options.defaultDataAccessor||((t,a)=>t[a])),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 t=this.name;return this._options&&this._options.defaultHeaderTextTransform?this._options.defaultHeaderTextTransform(t):t[0].toUpperCase()+t.slice(1)}_syncColumnDefName(){this.columnDef&&(this.columnDef.name=this.name)}}return n.\u0275fac=function(t){return new(t||n)(c.Y36(u,8),c.Y36(D,8))},n.\u0275cmp=c.Xpm({type:n,selectors:[["cdk-text-column"]],viewQuery:function(t,a){if(1&t&&(c.Gf(M,7),c.Gf(T,7),c.Gf(m,7)),2&t){let l;c.iGM(l=c.CRH())&&(a.columnDef=l.first),c.iGM(l=c.CRH())&&(a.cell=l.first),c.iGM(l=c.CRH())&&(a.headerCell=l.first)}},inputs:{name:"name",headerText:"headerText",dataAccessor:"dataAccessor",justify:"justify"},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(t,a){1&t&&(c.ynx(0,0),c.YNc(1,H,2,3,"th",1),c.YNc(2,X,2,3,"td",2),c.BQk())},dependencies:[T,m,M,K,ie],encapsulation:2}),n})(),J=(()=>{class n{}return n.\u0275fac=function(t){return new(t||n)},n.\u0275mod=c.oAB({type:n}),n.\u0275inj=c.cJS({imports:[Z.Cl]}),n})()},1244:(Me,ne,x)=>{x.r(ne),x.d(ne,{MatSelectionColumnExample:()=>Se,MatSelectionExamplesModule:()=>ye,MatSelectionListExample:()=>ve});var i=x(1281),k=x(8967),e=x(4650),w=x(5013),Z=x(5017),Y=x(3238);const c=[[["caption"]],[["colgroup"],["col"]]],q=["caption","colgroup, col"];let V=(()=>{class o extends w.zC{constructor(){super(...arguments),this.stickyCssClass="mat-table-sticky",this.needsPositionStickyOnElement=!1}}return o.\u0275fac=function(){let d;return function(h){return(d||(d=e.n5z(o)))(h||o)}}(),o.\u0275cmp=e.Xpm({type:o,selectors:[["mat-table"],["table","mat-table",""]],hostAttrs:[1,"mat-table"],hostVars:2,hostBindings:function(u,h){2&u&&e.ekj("mat-table-fixed-layout",h.fixedLayout)},exportAs:["matTable"],features:[e._Bn([{provide:Z.k,useClass:Z.yy},{provide:w.zC,useExisting:o},{provide:w.pN,useExisting:o},{provide:w.nl,useClass:w.oF},{provide:w.pF,useValue:null}]),e.qOj],ngContentSelectors:q,decls:6,vars:0,consts:[["headerRowOutlet",""],["rowOutlet",""],["noDataRowOutlet",""],["footerRowOutlet",""]],template:function(u,h){1&u&&(e.F$t(c),e.Hsn(0),e.Hsn(1,1),e.GkF(2,0)(3,1)(4,2)(5,3))},dependencies:[w.T$,w.FT,w.$E,w.bH],styles:["mat-table{display:block}mat-header-row{min-height:56px}mat-row,mat-footer-row{min-height:48px}mat-row,mat-header-row,mat-footer-row{display:flex;border-width:0;border-bottom-width:1px;border-style:solid;align-items:center;box-sizing:border-box}mat-cell:first-of-type,mat-header-cell:first-of-type,mat-footer-cell:first-of-type{padding-left:24px}[dir=rtl] mat-cell:first-of-type:not(:only-of-type),[dir=rtl] mat-header-cell:first-of-type:not(:only-of-type),[dir=rtl] mat-footer-cell:first-of-type:not(:only-of-type){padding-left:0;padding-right:24px}mat-cell:last-of-type,mat-header-cell:last-of-type,mat-footer-cell:last-of-type{padding-right:24px}[dir=rtl] mat-cell:last-of-type:not(:only-of-type),[dir=rtl] mat-header-cell:last-of-type:not(:only-of-type),[dir=rtl] mat-footer-cell:last-of-type:not(:only-of-type){padding-right:0;padding-left:24px}mat-cell,mat-header-cell,mat-footer-cell{flex:1;display:flex;align-items:center;overflow:hidden;word-wrap:break-word;min-height:inherit}table.mat-table{border-spacing:0}tr.mat-header-row{height:56px}tr.mat-row,tr.mat-footer-row{height:48px}th.mat-header-cell{text-align:left}[dir=rtl] th.mat-header-cell{text-align:right}th.mat-header-cell,td.mat-cell,td.mat-footer-cell{padding:0;border-bottom-width:1px;border-bottom-style:solid}th.mat-header-cell:first-of-type,td.mat-cell:first-of-type,td.mat-footer-cell:first-of-type{padding-left:24px}[dir=rtl] th.mat-header-cell:first-of-type:not(:only-of-type),[dir=rtl] td.mat-cell:first-of-type:not(:only-of-type),[dir=rtl] td.mat-footer-cell:first-of-type:not(:only-of-type){padding-left:0;padding-right:24px}th.mat-header-cell:last-of-type,td.mat-cell:last-of-type,td.mat-footer-cell:last-of-type{padding-right:24px}[dir=rtl] th.mat-header-cell:last-of-type:not(:only-of-type),[dir=rtl] td.mat-cell:last-of-type:not(:only-of-type),[dir=rtl] td.mat-footer-cell:last-of-type:not(:only-of-type){padding-right:0;padding-left:24px}.mat-table-sticky{position:sticky !important}.mat-table-fixed-layout{table-layout:fixed}"],encapsulation:2}),o})(),B=(()=>{class o extends w.O_{}return o.\u0275fac=function(){let d;return function(h){return(d||(d=e.n5z(o)))(h||o)}}(),o.\u0275dir=e.lG2({type:o,selectors:[["","matCellDef",""]],features:[e._Bn([{provide:w.O_,useExisting:o}]),e.qOj]}),o})(),Q=(()=>{class o extends w.D5{}return o.\u0275fac=function(){let d;return function(h){return(d||(d=e.n5z(o)))(h||o)}}(),o.\u0275dir=e.lG2({type:o,selectors:[["","matHeaderCellDef",""]],features:[e._Bn([{provide:w.D5,useExisting:o}]),e.qOj]}),o})(),j=(()=>{class o extends w.fo{get name(){return this._name}set name(u){this._setNameInput(u)}_updateColumnCssClassName(){super._updateColumnCssClassName(),this._columnCssClassName.push(`mat-column-${this.cssClassFriendlyName}`)}}return o.\u0275fac=function(){let d;return function(h){return(d||(d=e.n5z(o)))(h||o)}}(),o.\u0275dir=e.lG2({type:o,selectors:[["","matColumnDef",""]],inputs:{sticky:"sticky",name:["matColumnDef","name"]},features:[e._Bn([{provide:w.fo,useExisting:o},{provide:"MAT_SORT_HEADER_COLUMN_DEF",useExisting:o}]),e.qOj]}),o})(),H=(()=>{class o extends w.Af{}return o.\u0275fac=function(){let d;return function(h){return(d||(d=e.n5z(o)))(h||o)}}(),o.\u0275dir=e.lG2({type:o,selectors:[["mat-header-cell"],["th","mat-header-cell",""]],hostAttrs:["role","columnheader",1,"mat-header-cell"],features:[e.qOj]}),o})(),L=(()=>{class o extends w.hD{}return o.\u0275fac=function(){let d;return function(h){return(d||(d=e.n5z(o)))(h||o)}}(),o.\u0275dir=e.lG2({type:o,selectors:[["mat-cell"],["td","mat-cell",""]],hostAttrs:["role","gridcell",1,"mat-cell"],features:[e.qOj]}),o})(),ie=(()=>{class o{}return o.\u0275fac=function(u){return new(u||o)},o.\u0275mod=e.oAB({type:o}),o.\u0275inj=e.cJS({imports:[w.HT,Y.BQ,Y.BQ]}),o})();var K=x(6895),re=x(6709);function ge(o,d){if(1&o&&(e._UZ(0,"mat-checkbox",5,6),e.ALo(2,"async")),2&o){const u=e.MAs(1);e.Q6J("indeterminate",e.lcZ(2,1,u.indeterminate))}}function be(o,d){if(1&o&&(e.TgZ(0,"th",3),e.YNc(1,ge,3,3,"mat-checkbox",4),e.qZA()),2&o){const u=e.oxw();e.xp6(1),e.Q6J("ngIf",u.selection.multiple)}}function Re(o,d){if(1&o&&(e.TgZ(0,"td",7),e._UZ(1,"mat-checkbox",8),e.qZA()),2&o){const u=d.$implicit,h=d.$index;e.xp6(1),e.Q6J("matSelectionToggleValue",u)("matSelectionToggleIndex",h)}}let de=(()=>{class o extends k.$i{constructor(){super(...arguments),this.change=new e.vpe}get multiple(){return this._multiple}set multiple(u){this._multiple=(0,i.Ig)(u)}}return o.\u0275fac=function(){let d;return function(h){return(d||(d=e.n5z(o)))(h||o)}}(),o.\u0275dir=e.lG2({type:o,selectors:[["","matSelection",""]],inputs:{multiple:["matSelectionMultiple","multiple"]},outputs:{change:"matSelectionChange"},exportAs:["matSelection"],features:[e._Bn([{provide:k.$i,useExisting:o}]),e.qOj]}),o})(),ke=(()=>{class o extends k.sE{}return o.\u0275fac=function(){let d;return function(h){return(d||(d=e.n5z(o)))(h||o)}}(),o.\u0275dir=e.lG2({type:o,selectors:[["","matSelectAll",""]],exportAs:["matSelectAll"],features:[e._Bn([{provide:k.sE,useExisting:o}]),e.qOj]}),o})(),r=(()=>{class o extends k.Jn{}return o.\u0275fac=function(){let d;return function(h){return(d||(d=e.n5z(o)))(h||o)}}(),o.\u0275dir=e.lG2({type:o,selectors:[["","matSelectionToggle",""]],inputs:{index:["matSelectionToggleIndex","index"],value:["matSelectionToggleValue","value"]},exportAs:["matSelectionToggle"],features:[e._Bn([{provide:k.Jn,useExisting:o}]),e.qOj]}),o})(),f=(()=>{class o{constructor(u,h){this._table=u,this.selection=h}get name(){return this._name}set name(u){this._name=u,this._syncColumnDefName()}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)}}return o.\u0275fac=function(u){return new(u||o)(e.Y36(V,8),e.Y36(de,8))},o.\u0275cmp=e.Xpm({type:o,selectors:[["mat-selection-column"]],viewQuery:function(u,h){if(1&u&&(e.Gf(j,7),e.Gf(B,7),e.Gf(Q,7)),2&u){let N;e.iGM(N=e.CRH())&&(h._columnDef=N.first),e.iGM(N=e.CRH())&&(h._cell=N.first),e.iGM(N=e.CRH())&&(h._headerCell=N.first)}},inputs:{name:"name"},decls:3,vars:0,consts:[["matColumnDef",""],["mat-header-cell","","class","mat-selection-column-header",4,"matHeaderCellDef"],["mat-cell","","class","mat-selection-column-cell",4,"matCellDef"],["mat-header-cell","",1,"mat-selection-column-header"],["matSelectAll","",3,"indeterminate",4,"ngIf"],["matSelectAll","",3,"indeterminate"],["allToggler","matSelectAll"],["mat-cell","",1,"mat-selection-column-cell"],["matSelectionToggle","",3,"matSelectionToggleValue","matSelectionToggleIndex"]],template:function(u,h){1&u&&(e.ynx(0,0),e.YNc(1,be,2,1,"th",1),e.YNc(2,Re,2,2,"td",2),e.BQk())},dependencies:[K.O5,Q,j,B,H,L,re.oG,ke,r,K.Ov],styles:["th.mat-selection-column-header,td.mat-selection-column-cell{text-align:center;width:48px}"],encapsulation:2,changeDetection:0}),o})(),b=(()=>{class o extends k.RQ{}return o.\u0275fac=function(){let d;return function(h){return(d||(d=e.n5z(o)))(h||o)}}(),o.\u0275dir=e.lG2({type:o,selectors:[["","matRowSelection",""]],hostVars:3,hostBindings:function(u,h){2&u&&(e.uIk("aria-selected",h._selection.isSelected(h.value,h.index)),e.ekj("mat-selected",h._selection.isSelected(h.value,h.index)))},inputs:{index:["matRowSelectionIndex","index"],value:["matRowSelectionValue","value"]},features:[e._Bn([{provide:k.RQ,useExisting:o}]),e.qOj]}),o})(),v=(()=>{class o{}return o.\u0275fac=function(u){return new(u||o)},o.\u0275mod=e.oAB({type:o}),o.\u0275inj=e.cJS({imports:[K.ez,ie,re.p9]}),o})();var R=x(3626),I=x(4006);function z(o,d){1&o&&(e.TgZ(0,"th",10),e._uU(1," No. "),e.qZA())}function P(o,d){if(1&o&&(e.TgZ(0,"td",11),e._uU(1),e.qZA()),2&o){const u=d.$implicit;e.xp6(1),e.hij(" ",u.position," ")}}function ee(o,d){1&o&&(e.TgZ(0,"th",10),e._uU(1," Name "),e.qZA())}function te(o,d){if(1&o&&(e.TgZ(0,"td",11),e._uU(1),e.qZA()),2&o){const u=d.$implicit;e.xp6(1),e.hij(" ",u.name," ")}}function he(o,d){1&o&&(e.TgZ(0,"th",10),e._uU(1," Weight "),e.qZA())}function _e(o,d){if(1&o&&(e.TgZ(0,"td",11),e._uU(1),e.qZA()),2&o){const u=d.$implicit;e.xp6(1),e.hij(" ",u.weight," ")}}function se(o,d){1&o&&(e.TgZ(0,"th",10),e._uU(1," Symbol "),e.qZA())}function Te(o,d){if(1&o&&(e.TgZ(0,"td",11),e._uU(1),e.qZA()),2&o){const u=d.$implicit;e.xp6(1),e.hij(" ",u.symbol," ")}}function Ee(o,d){1&o&&e._UZ(0,"tr",12)}function Fe(o,d){1&o&&e._UZ(0,"tr",13),2&o&&e.Q6J("matRowSelectionValue",d.$implicit)}function Ae(o,d){if(1&o){const u=e.EpF();e.TgZ(0,"li")(1,"input",10,11),e.NdJ("click",function(){e.CHM(u);const N=e.MAs(2);return e.KtG(N.toggle())}),e.ALo(3,"async"),e.qZA(),e._uU(4),e.qZA()}if(2&o){const u=d.$implicit,h=e.MAs(2);e.xp6(1),e.Q6J("matSelectionToggleValue",u)("checked",e.lcZ(3,3,h.checked)),e.xp6(3),e.hij(" ",u," ")}}function Oe(o,d){if(1&o&&(e.TgZ(0,"li"),e._UZ(1,"mat-checkbox",12),e._uU(2),e.qZA()),2&o){const u=d.$implicit;e.xp6(1),e.Q6J("matSelectionToggleValue",u),e.xp6(1),e.hij(" ",u," ")}}function Be(o,d){if(1&o&&(e.TgZ(0,"li"),e._UZ(1,"mat-checkbox",12),e._uU(2),e.qZA()),2&o){const u=d.$implicit;e.xp6(1),e.Q6J("matSelectionToggleValue",u),e.xp6(1),e.hij(" ",u," ")}}function Le(o,d){if(1&o&&(e.TgZ(0,"li"),e._UZ(1,"mat-checkbox",13),e._uU(2),e.qZA()),2&o){const u=d.$implicit,h=d.index;e.xp6(1),e.Q6J("matSelectionToggleValue",u)("matSelectionToggleIndex",h),e.xp6(1),e.hij(" ",u," ")}}let Se=(()=>{class o{constructor(){this.displayedColumns=["select","position","name","weight","symbol"],this.dataSource=Ce,this.selected=[]}selectionChanged(u){this.selected=u.after.map(h=>h.value.name)}}return o.\u0275fac=function(u){return new(u||o)},o.\u0275cmp=e.Xpm({type:o,selectors:[["mat-selection-column-example"]],decls:17,vars:5,consts:[["mat-table","","matSelection","",1,"example-table",3,"dataSource","matSelectionMultiple","matSelectionChange"],["name","select"],["matColumnDef","position"],["mat-header-cell","",4,"matHeaderCellDef"],["mat-cell","",4,"matCellDef"],["matColumnDef","name"],["matColumnDef","weight"],["matColumnDef","symbol"],["mat-header-row","",4,"matHeaderRowDef"],["mat-row","","matRowSelection","",3,"matRowSelectionValue",4,"matRowDef","matRowDefColumns"],["mat-header-cell",""],["mat-cell",""],["mat-header-row",""],["mat-row","","matRowSelection","",3,"matRowSelectionValue"]],template:function(u,h){1&u&&(e._uU(0),e.TgZ(1,"table",0),e.NdJ("matSelectionChange",function(oe){return h.selectionChanged(oe)}),e._UZ(2,"mat-selection-column",1),e.ynx(3,2),e.YNc(4,z,2,0,"th",3),e.YNc(5,P,2,1,"td",4),e.BQk(),e.ynx(6,5),e.YNc(7,ee,2,0,"th",3),e.YNc(8,te,2,1,"td",4),e.BQk(),e.ynx(9,6),e.YNc(10,he,2,0,"th",3),e.YNc(11,_e,2,1,"td",4),e.BQk(),e.ynx(12,7),e.YNc(13,se,2,0,"th",3),e.YNc(14,Te,2,1,"td",4),e.BQk(),e.YNc(15,Ee,1,0,"tr",8),e.YNc(16,Fe,1,1,"tr",9),e.qZA()),2&u&&(e.hij("Selected: ",h.selected,"\n"),e.xp6(1),e.Q6J("dataSource",h.dataSource)("matSelectionMultiple",!0),e.xp6(14),e.Q6J("matHeaderRowDef",h.displayedColumns),e.xp6(1),e.Q6J("matRowDefColumns",h.displayedColumns))},dependencies:[de,f,b,R.BZ,R.fO,R.as,R.w1,R.Dz,R.nj,R.ge,R.ev,R.XQ,R.Gk],styles:[".example-table[_ngcontent-%COMP%] {\n width: 100%;\n}"]}),o})();const Ce=[{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 ve=(()=>{class o{constructor(){this.data=fe,this.selected1=[],this.selected2=[],this.selected3=[],this.selected4=[]}getCurrentSelected(u){return u.after.map(h=>h.value)}trackByFn(u,h){return u}changeElementName(){this.data=xe}reset(){this.data=fe}}return o.\u0275fac=function(u){return new(u||o)},o.\u0275cmp=e.Xpm({type:o,selectors:[["mat-selection-list-example"]],decls:38,vars:30,consts:[["matSelection","",3,"dataSource","matSelectionMultiple","matSelectionChange"],["type","checkbox","matSelectAll","",3,"checked","indeterminate","click"],["allToggler","matSelectAll"],[4,"ngFor","ngForOf"],["matSelectAll","",3,"indeterminate"],["toggle1","matSelectAll"],["matSelection","",3,"dataSource","matSelectionMultiple","trackBy","matSelectionChange"],["toggle2","matSelectAll"],[4,"ngFor","ngForOf","ngForTrackBy"],[3,"click"],["type","checkbox","matSelectionToggle","",3,"matSelectionToggleValue","checked","click"],["toggler","matSelectionToggle"],["matSelectionToggle","",3,"matSelectionToggleValue"],["matSelectionToggle","",3,"matSelectionToggleValue","matSelectionToggleIndex"]],template:function(u,h){if(1&u){const N=e.EpF();e.TgZ(0,"h3")(1,"code"),e._uU(2,"native input"),e.qZA()(),e._uU(3),e.TgZ(4,"ul",0),e.NdJ("matSelectionChange",function(J){return h.selected1=h.getCurrentSelected(J)}),e.TgZ(5,"input",1,2),e.NdJ("click",function(J){e.CHM(N);const n=e.MAs(6);return e.KtG(n.toggle(J))}),e.ALo(7,"async"),e.ALo(8,"async"),e.qZA(),e.YNc(9,Ae,5,5,"li",3),e.qZA(),e.TgZ(10,"h3")(11,"code"),e._uU(12,"mat-checkbox"),e.qZA()(),e._uU(13),e.TgZ(14,"ul",0),e.NdJ("matSelectionChange",function(J){return h.selected2=h.getCurrentSelected(J)}),e._UZ(15,"mat-checkbox",4,5),e.ALo(17,"async"),e.YNc(18,Oe,3,2,"li",3),e.qZA(),e.TgZ(19,"h3")(20,"code"),e._uU(21,"Single select with mat-checkbox"),e.qZA()(),e._uU(22),e.TgZ(23,"ul",0),e.NdJ("matSelectionChange",function(J){return h.selected3=h.getCurrentSelected(J)}),e.YNc(24,Be,3,2,"li",3),e.qZA(),e.TgZ(25,"h3")(26,"code"),e._uU(27,"with trackBy"),e.qZA()(),e._uU(28),e.TgZ(29,"ul",6),e.NdJ("matSelectionChange",function(J){return h.selected4=h.getCurrentSelected(J)}),e._UZ(30,"mat-checkbox",4,7),e.ALo(32,"async"),e.YNc(33,Le,3,3,"li",8),e.qZA(),e.TgZ(34,"button",9),e.NdJ("click",function(){return h.changeElementName()}),e._uU(35,"Change element names and the already selected stays"),e.qZA(),e.TgZ(36,"button",9),e.NdJ("click",function(){return h.reset()}),e._uU(37,"reset"),e.qZA()}if(2&u){const N=e.MAs(6),oe=e.MAs(16),J=e.MAs(31);e.xp6(3),e.hij("\nSelected: ",h.selected1,"\n"),e.xp6(1),e.Q6J("dataSource",h.data)("matSelectionMultiple",!0),e.xp6(1),e.Q6J("checked",e.lcZ(7,22,N.checked))("indeterminate",e.lcZ(8,24,N.indeterminate)),e.xp6(4),e.Q6J("ngForOf",h.data),e.xp6(4),e.hij("\nSelected: ",h.selected2,"\n"),e.xp6(1),e.Q6J("dataSource",h.data)("matSelectionMultiple",!0),e.xp6(1),e.Q6J("indeterminate",e.lcZ(17,26,oe.indeterminate)),e.xp6(3),e.Q6J("ngForOf",h.data),e.xp6(4),e.hij("\nSelected: ",h.selected3,"\n"),e.xp6(1),e.Q6J("dataSource",h.data)("matSelectionMultiple",!1),e.xp6(1),e.Q6J("ngForOf",h.data),e.xp6(4),e.hij("\nSelected: ",h.selected4,"\n"),e.xp6(1),e.Q6J("dataSource",h.data)("matSelectionMultiple",!0)("trackBy",h.trackByFn),e.xp6(1),e.Q6J("indeterminate",e.lcZ(32,28,J.indeterminate)),e.xp6(3),e.Q6J("ngForOf",h.data)("ngForTrackBy",h.trackByFn)}},dependencies:[ke,de,r,K.sg,re.oG,K.Ov],encapsulation:2}),o})();const fe=["Hydrogen","Helium","Lithium","Beryllium","Boron","Carbon","Nitrogen","Oxygen","Fluorine","Neon","Sodium","Magnesium","Aluminum","Silicon","Phosphorus","Sulfur","Chlorine","Argon","Potassium","Calcium"],xe=["H","He","Li","Be","B","C","N","O","F","Ne","Na","Mg","Al","Si","P","S","Cl","Ar","K","Ca"];let ye=(()=>{class o{}return o.\u0275fac=function(u){return new(u||o)},o.\u0275mod=e.oAB({type:o}),o.\u0275inj=e.cJS({imports:[v,R.p0,K.ez,I.u5,I.UX,re.p9]}),o})()},6709:(Me,ne,x)=>{x.d(ne,{oG:()=>j,p9:()=>U});var i=x(4650),k=x(4006),e=x(3238),w=x(1281);const Z=["input"],Y=["label"],c=["*"],q=new i.OlP("mat-checkbox-default-options",{providedIn:"root",factory:$});function $(){return{color:"accent",clickAction:"check-indeterminate"}}const ae={provide:k.JU,useExisting:(0,i.Gpc)(()=>j),multi:!0};class O{}let V=0;const B=$(),Q=(0,e.sb)((0,e.pj)((0,e.Kr)((0,e.Id)(class{constructor(D){this._elementRef=D}}))));let le=(()=>{class D extends Q{constructor(m,_,s,C,M,E,ie){super(_),this._changeDetectorRef=s,this._ngZone=C,this._animationMode=E,this._options=ie,this.ariaLabel="",this.ariaLabelledby=null,this.labelPosition="after",this.name=null,this.change=new i.vpe,this.indeterminateChange=new i.vpe,this._onTouched=()=>{},this._currentAnimationClass="",this._currentCheckState=0,this._controlValueAccessorChangeFn=()=>{},this._checked=!1,this._disabled=!1,this._indeterminate=!1,this._options=this._options||B,this.color=this.defaultColor=this._options.color||B.color,this.tabIndex=parseInt(M)||0,this.id=this._uniqueId=`${m}${++V}`}get inputId(){return`${this.id||this._uniqueId}-input`}get required(){return this._required}set required(m){this._required=(0,w.Ig)(m)}ngAfterViewInit(){this._syncIndeterminate(this._indeterminate)}get checked(){return this._checked}set checked(m){const _=(0,w.Ig)(m);_!=this.checked&&(this._checked=_,this._changeDetectorRef.markForCheck())}get disabled(){return this._disabled}set disabled(m){const _=(0,w.Ig)(m);_!==this.disabled&&(this._disabled=_,this._changeDetectorRef.markForCheck())}get indeterminate(){return this._indeterminate}set indeterminate(m){const _=m!=this._indeterminate;this._indeterminate=(0,w.Ig)(m),_&&(this._transitionCheckState(this._indeterminate?3:this.checked?1:2),this.indeterminateChange.emit(this._indeterminate)),this._syncIndeterminate(this._indeterminate)}_isRippleDisabled(){return this.disableRipple||this.disabled}_onLabelTextChange(){this._changeDetectorRef.detectChanges()}writeValue(m){this.checked=!!m}registerOnChange(m){this._controlValueAccessorChangeFn=m}registerOnTouched(m){this._onTouched=m}setDisabledState(m){this.disabled=m}_getAriaChecked(){return this.checked?"true":this.indeterminate?"mixed":"false"}_transitionCheckState(m){let _=this._currentCheckState,s=this._getAnimationTargetElement();if(_!==m&&s&&(this._currentAnimationClass&&s.classList.remove(this._currentAnimationClass),this._currentAnimationClass=this._getAnimationClassForCheckStateTransition(_,m),this._currentCheckState=m,this._currentAnimationClass.length>0)){s.classList.add(this._currentAnimationClass);const C=this._currentAnimationClass;this._ngZone.runOutsideAngular(()=>{setTimeout(()=>{s.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 m=this._options?.clickAction;this.disabled||"noop"===m?!this.disabled&&"noop"===m&&(this._inputElement.nativeElement.checked=this.checked,this._inputElement.nativeElement.indeterminate=this.indeterminate):(this.indeterminate&&"check"!==m&&Promise.resolve().then(()=>{this._indeterminate=!1,this.indeterminateChange.emit(this._indeterminate)}),this._checked=!this._checked,this._transitionCheckState(this._checked?1:2),this._emitChangeEvent())}_onInteractionEvent(m){m.stopPropagation()}_onBlur(){Promise.resolve().then(()=>{this._onTouched(),this._changeDetectorRef.markForCheck()})}_getAnimationClassForCheckStateTransition(m,_){if("NoopAnimations"===this._animationMode)return"";switch(m){case 0:if(1===_)return this._animationClasses.uncheckedToChecked;if(3==_)return this._checked?this._animationClasses.checkedToIndeterminate:this._animationClasses.uncheckedToIndeterminate;break;case 2:return 1===_?this._animationClasses.uncheckedToChecked:this._animationClasses.uncheckedToIndeterminate;case 1:return 2===_?this._animationClasses.checkedToUnchecked:this._animationClasses.checkedToIndeterminate;case 3:return 1===_?this._animationClasses.indeterminateToChecked:this._animationClasses.indeterminateToUnchecked}return""}_syncIndeterminate(m){const _=this._inputElement;_&&(_.nativeElement.indeterminate=m)}}return D.\u0275fac=function(m){i.$Z()},D.\u0275dir=i.lG2({type:D,viewQuery:function(m,_){if(1&m&&(i.Gf(Z,5),i.Gf(Y,5),i.Gf(e.wG,5)),2&m){let s;i.iGM(s=i.CRH())&&(_._inputElement=s.first),i.iGM(s=i.CRH())&&(_._labelElement=s.first),i.iGM(s=i.CRH())&&(_.ripple=s.first)}},inputs:{ariaLabel:["aria-label","ariaLabel"],ariaLabelledby:["aria-labelledby","ariaLabelledby"],ariaDescribedby:["aria-describedby","ariaDescribedby"],id:"id",required:"required",labelPosition:"labelPosition",name:"name",value:"value",checked:"checked",disabled:"disabled",indeterminate:"indeterminate"},outputs:{change:"change",indeterminateChange:"indeterminateChange"},features:[i.qOj]}),D})(),j=(()=>{class D extends le{constructor(m,_,s,C,M,E){super("mat-mdc-checkbox-",m,_,s,C,M,E),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"}}focus(){this._inputElement.nativeElement.focus()}_createChangeEvent(m){const _=new O;return _.source=this,_.checked=m,_}_getAnimationTargetElement(){return this._inputElement?.nativeElement}_onInputClick(){super._handleInputClick()}_preventBubblingFromLabel(m){m.target&&this._labelElement.nativeElement.contains(m.target)&&m.stopPropagation()}}return D.\u0275fac=function(m){return new(m||D)(i.Y36(i.SBq),i.Y36(i.sBO),i.Y36(i.R0b),i.$8M("tabindex"),i.Y36(i.QbO,8),i.Y36(q,8))},D.\u0275cmp=i.Xpm({type:D,selectors:[["mat-checkbox"]],hostAttrs:[1,"mat-mdc-checkbox"],hostVars:12,hostBindings:function(m,_){2&m&&(i.Ikx("id",_.id),i.uIk("tabindex",null)("aria-label",null)("aria-labelledby",null),i.ekj("_mat-animation-noopable","NoopAnimations"===_._animationMode)("mdc-checkbox--disabled",_.disabled)("mat-mdc-checkbox-disabled",_.disabled)("mat-mdc-checkbox-checked",_.checked))},inputs:{disableRipple:"disableRipple",color:"color",tabIndex:"tabIndex"},exportAs:["matCheckbox"],features:[i._Bn([ae]),i.qOj],ngContentSelectors:c,decls:15,vars:19,consts:[[1,"mdc-form-field",3,"click"],[1,"mdc-checkbox"],["checkbox",""],[1,"mat-mdc-checkbox-touch-target",3,"click"],["type","checkbox",1,"mdc-checkbox__native-control",3,"checked","disabled","id","required","tabIndex","blur","click","change"],["input",""],[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"],[3,"for"],["label",""]],template:function(m,_){if(1&m&&(i.F$t(),i.TgZ(0,"div",0),i.NdJ("click",function(C){return _._preventBubblingFromLabel(C)}),i.TgZ(1,"div",1,2)(3,"div",3),i.NdJ("click",function(){return _._onInputClick()}),i.qZA(),i.TgZ(4,"input",4,5),i.NdJ("blur",function(){return _._onBlur()})("click",function(){return _._onInputClick()})("change",function(C){return _._onInteractionEvent(C)}),i.qZA(),i._UZ(6,"div",6),i.TgZ(7,"div",7),i.O4$(),i.TgZ(8,"svg",8),i._UZ(9,"path",9),i.qZA(),i.kcU(),i._UZ(10,"div",10),i.qZA(),i._UZ(11,"div",11),i.qZA(),i.TgZ(12,"label",12,13),i.Hsn(14),i.qZA()()),2&m){const s=i.MAs(2);i.ekj("mdc-form-field--align-end","before"==_.labelPosition),i.xp6(4),i.ekj("mdc-checkbox--selected",_.checked),i.Q6J("checked",_.checked)("disabled",_.disabled)("id",_.inputId)("required",_.required)("tabIndex",_.tabIndex),i.uIk("aria-checked",_._getAriaChecked())("aria-label",_.ariaLabel||null)("aria-labelledby",_.ariaLabelledby)("aria-describedby",_.ariaDescribedby)("name",_.name)("value",_.value),i.xp6(7),i.Q6J("matRippleTrigger",s)("matRippleDisabled",_.disableRipple||_.disabled)("matRippleCentered",!0),i.xp6(1),i.Q6J("for",_.inputId)}},dependencies:[e.wG],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, 48px) - var(--mdc-checkbox-state-layer-size, 40px)) / 2)}.mdc-checkbox--touch .mdc-checkbox__native-control{top:calc((var(--mdc-checkbox-state-layer-size, 40px) - var(--mdc-checkbox-state-layer-size, 48px)) / 2);right:calc((var(--mdc-checkbox-state-layer-size, 40px) - var(--mdc-checkbox-state-layer-size, 48px)) / 2);left:calc((var(--mdc-checkbox-state-layer-size, 40px) - var(--mdc-checkbox-state-layer-size, 48px)) / 2);width:var(--mdc-checkbox-state-layer-size, 48px);height:var(--mdc-checkbox-state-layer-size, 48px)}.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-form-field{display:inline-flex;align-items:center;vertical-align:middle}.mdc-form-field[hidden]{display:none}.mdc-form-field>label{margin-left:0;margin-right:auto;padding-left:4px;padding-right:0;order:0}[dir=rtl] .mdc-form-field>label,.mdc-form-field>label[dir=rtl]{margin-left:auto;margin-right:0}[dir=rtl] .mdc-form-field>label,.mdc-form-field>label[dir=rtl]{padding-left:0;padding-right:4px}.mdc-form-field--nowrap>label{text-overflow:ellipsis;overflow:hidden;white-space:nowrap}.mdc-form-field--align-end>label{margin-left:auto;margin-right:0;padding-left:0;padding-right:4px;order:-1}[dir=rtl] .mdc-form-field--align-end>label,.mdc-form-field--align-end>label[dir=rtl]{margin-left:0;margin-right:auto}[dir=rtl] .mdc-form-field--align-end>label,.mdc-form-field--align-end>label[dir=rtl]{padding-left:4px;padding-right:0}.mdc-form-field--space-between{justify-content:space-between}.mdc-form-field--space-between>label{margin:0}[dir=rtl] .mdc-form-field--space-between>label,.mdc-form-field--space-between>label[dir=rtl]{margin:0}.mat-mdc-checkbox{display:inline-block;position:relative}.mat-mdc-checkbox .mdc-checkbox{padding:calc((var(--mdc-checkbox-state-layer-size, 40px) - 18px) / 2);margin:calc((var(--mdc-checkbox-state-layer-size, 40px) - var(--mdc-checkbox-state-layer-size, 40px)) / 2)}.mat-mdc-checkbox .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, rgba(0, 0, 0, 0.38));background-color:transparent}.mat-mdc-checkbox .mdc-checkbox .mdc-checkbox__native-control[disabled]:checked~.mdc-checkbox__background,.mat-mdc-checkbox .mdc-checkbox .mdc-checkbox__native-control[disabled]:indeterminate~.mdc-checkbox__background,.mat-mdc-checkbox .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, rgba(0, 0, 0, 0.38))}.mat-mdc-checkbox .mdc-checkbox .mdc-checkbox__native-control:enabled~.mdc-checkbox__background .mdc-checkbox__checkmark{color:var(--mdc-checkbox-selected-checkmark-color, #fff)}.mat-mdc-checkbox .mdc-checkbox .mdc-checkbox__native-control:enabled~.mdc-checkbox__background .mdc-checkbox__mixedmark{border-color:var(--mdc-checkbox-selected-checkmark-color, #fff)}.mat-mdc-checkbox .mdc-checkbox .mdc-checkbox__native-control:disabled~.mdc-checkbox__background .mdc-checkbox__checkmark{color:var(--mdc-checkbox-disabled-selected-checkmark-color, #fff)}.mat-mdc-checkbox .mdc-checkbox .mdc-checkbox__native-control:disabled~.mdc-checkbox__background .mdc-checkbox__mixedmark{border-color:var(--mdc-checkbox-disabled-selected-checkmark-color, #fff)}.mat-mdc-checkbox .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, rgba(0, 0, 0, 0.54));background-color:transparent}.mat-mdc-checkbox .mdc-checkbox .mdc-checkbox__native-control:enabled:checked~.mdc-checkbox__background,.mat-mdc-checkbox .mdc-checkbox .mdc-checkbox__native-control:enabled:indeterminate~.mdc-checkbox__background,.mat-mdc-checkbox .mdc-checkbox .mdc-checkbox__native-control[data-indeterminate=true]:enabled~.mdc-checkbox__background{border-color:var(--mdc-checkbox-selected-icon-color, var(--mdc-theme-secondary, #018786));background-color:var(--mdc-checkbox-selected-icon-color, var(--mdc-theme-secondary, #018786))}@keyframes mdc-checkbox-fade-in-background-8A000000FF01878600000000FF018786{0%{border-color:var(--mdc-checkbox-unselected-icon-color, rgba(0, 0, 0, 0.54));background-color:transparent}50%{border-color:var(--mdc-checkbox-selected-icon-color, var(--mdc-theme-secondary, #018786));background-color:var(--mdc-checkbox-selected-icon-color, var(--mdc-theme-secondary, #018786))}}@keyframes mdc-checkbox-fade-out-background-8A000000FF01878600000000FF018786{0%,80%{border-color:var(--mdc-checkbox-selected-icon-color, var(--mdc-theme-secondary, #018786));background-color:var(--mdc-checkbox-selected-icon-color, var(--mdc-theme-secondary, #018786))}100%{border-color:var(--mdc-checkbox-unselected-icon-color, rgba(0, 0, 0, 0.54));background-color:transparent}}.mat-mdc-checkbox .mdc-checkbox.mdc-checkbox--anim-unchecked-checked .mdc-checkbox__native-control:enabled~.mdc-checkbox__background,.mat-mdc-checkbox .mdc-checkbox.mdc-checkbox--anim-unchecked-indeterminate .mdc-checkbox__native-control:enabled~.mdc-checkbox__background{animation-name:mdc-checkbox-fade-in-background-8A000000FF01878600000000FF018786}.mat-mdc-checkbox .mdc-checkbox.mdc-checkbox--anim-checked-unchecked .mdc-checkbox__native-control:enabled~.mdc-checkbox__background,.mat-mdc-checkbox .mdc-checkbox.mdc-checkbox--anim-indeterminate-unchecked .mdc-checkbox__native-control:enabled~.mdc-checkbox__background{animation-name:mdc-checkbox-fade-out-background-8A000000FF01878600000000FF018786}.mat-mdc-checkbox .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, var(--mdc-theme-secondary, #018786));background-color:transparent}.mat-mdc-checkbox .mdc-checkbox:hover .mdc-checkbox__native-control:enabled:checked~.mdc-checkbox__background,.mat-mdc-checkbox .mdc-checkbox:hover .mdc-checkbox__native-control:enabled:indeterminate~.mdc-checkbox__background,.mat-mdc-checkbox .mdc-checkbox:hover .mdc-checkbox__native-control[data-indeterminate=true]:enabled~.mdc-checkbox__background{border-color:var(--mdc-checkbox-selected-hover-icon-color, var(--mdc-theme-secondary, #018786));background-color:var(--mdc-checkbox-selected-hover-icon-color, var(--mdc-theme-secondary, #018786))}@keyframes mdc-checkbox-fade-in-background-FF018786FF01878600000000FF018786{0%{border-color:var(--mdc-checkbox-unselected-hover-icon-color, var(--mdc-theme-secondary, #018786));background-color:transparent}50%{border-color:var(--mdc-checkbox-selected-hover-icon-color, var(--mdc-theme-secondary, #018786));background-color:var(--mdc-checkbox-selected-hover-icon-color, var(--mdc-theme-secondary, #018786))}}@keyframes mdc-checkbox-fade-out-background-FF018786FF01878600000000FF018786{0%,80%{border-color:var(--mdc-checkbox-selected-hover-icon-color, var(--mdc-theme-secondary, #018786));background-color:var(--mdc-checkbox-selected-hover-icon-color, var(--mdc-theme-secondary, #018786))}100%{border-color:var(--mdc-checkbox-unselected-hover-icon-color, var(--mdc-theme-secondary, #018786));background-color:transparent}}.mat-mdc-checkbox .mdc-checkbox:hover.mdc-checkbox--anim-unchecked-checked .mdc-checkbox__native-control:enabled~.mdc-checkbox__background,.mat-mdc-checkbox .mdc-checkbox:hover.mdc-checkbox--anim-unchecked-indeterminate .mdc-checkbox__native-control:enabled~.mdc-checkbox__background{animation-name:mdc-checkbox-fade-in-background-FF018786FF01878600000000FF018786}.mat-mdc-checkbox .mdc-checkbox:hover.mdc-checkbox--anim-checked-unchecked .mdc-checkbox__native-control:enabled~.mdc-checkbox__background,.mat-mdc-checkbox .mdc-checkbox:hover.mdc-checkbox--anim-indeterminate-unchecked .mdc-checkbox__native-control:enabled~.mdc-checkbox__background{animation-name:mdc-checkbox-fade-out-background-FF018786FF01878600000000FF018786}.mat-mdc-checkbox .mdc-checkbox.mdc-ripple-upgraded--background-focused .mdc-checkbox__native-control:enabled:not(:checked):not(:indeterminate):not([data-indeterminate=true])~.mdc-checkbox__background,.mat-mdc-checkbox .mdc-checkbox:not(.mdc-ripple-upgraded):focus .mdc-checkbox__native-control:enabled:not(:checked):not(:indeterminate):not([data-indeterminate=true])~.mdc-checkbox__background{border-color:var(--mdc-checkbox-unselected-focus-icon-color, var(--mdc-theme-secondary, #018786));background-color:transparent}.mat-mdc-checkbox .mdc-checkbox.mdc-ripple-upgraded--background-focused .mdc-checkbox__native-control:enabled:checked~.mdc-checkbox__background,.mat-mdc-checkbox .mdc-checkbox.mdc-ripple-upgraded--background-focused .mdc-checkbox__native-control:enabled:indeterminate~.mdc-checkbox__background,.mat-mdc-checkbox .mdc-checkbox.mdc-ripple-upgraded--background-focused .mdc-checkbox__native-control[data-indeterminate=true]:enabled~.mdc-checkbox__background,.mat-mdc-checkbox .mdc-checkbox:not(.mdc-ripple-upgraded):focus .mdc-checkbox__native-control:enabled:checked~.mdc-checkbox__background,.mat-mdc-checkbox .mdc-checkbox:not(.mdc-ripple-upgraded):focus .mdc-checkbox__native-control:enabled:indeterminate~.mdc-checkbox__background,.mat-mdc-checkbox .mdc-checkbox:not(.mdc-ripple-upgraded):focus .mdc-checkbox__native-control[data-indeterminate=true]:enabled~.mdc-checkbox__background{border-color:var(--mdc-checkbox-selected-focus-icon-color, var(--mdc-theme-secondary, #018786));background-color:var(--mdc-checkbox-selected-focus-icon-color, var(--mdc-theme-secondary, #018786))}@keyframes mdc-checkbox-fade-in-background-FF018786FF01878600000000FF018786{0%{border-color:var(--mdc-checkbox-unselected-focus-icon-color, var(--mdc-theme-secondary, #018786));background-color:transparent}50%{border-color:var(--mdc-checkbox-selected-focus-icon-color, var(--mdc-theme-secondary, #018786));background-color:var(--mdc-checkbox-selected-focus-icon-color, var(--mdc-theme-secondary, #018786))}}@keyframes mdc-checkbox-fade-out-background-FF018786FF01878600000000FF018786{0%,80%{border-color:var(--mdc-checkbox-selected-focus-icon-color, var(--mdc-theme-secondary, #018786));background-color:var(--mdc-checkbox-selected-focus-icon-color, var(--mdc-theme-secondary, #018786))}100%{border-color:var(--mdc-checkbox-unselected-focus-icon-color, var(--mdc-theme-secondary, #018786));background-color:transparent}}.mat-mdc-checkbox .mdc-checkbox.mdc-ripple-upgraded--background-focused.mdc-checkbox--anim-unchecked-checked .mdc-checkbox__native-control:enabled~.mdc-checkbox__background,.mat-mdc-checkbox .mdc-checkbox.mdc-ripple-upgraded--background-focused.mdc-checkbox--anim-unchecked-indeterminate .mdc-checkbox__native-control:enabled~.mdc-checkbox__background,.mat-mdc-checkbox .mdc-checkbox:not(.mdc-ripple-upgraded):focus.mdc-checkbox--anim-unchecked-checked .mdc-checkbox__native-control:enabled~.mdc-checkbox__background,.mat-mdc-checkbox .mdc-checkbox:not(.mdc-ripple-upgraded):focus.mdc-checkbox--anim-unchecked-indeterminate .mdc-checkbox__native-control:enabled~.mdc-checkbox__background{animation-name:mdc-checkbox-fade-in-background-FF018786FF01878600000000FF018786}.mat-mdc-checkbox .mdc-checkbox.mdc-ripple-upgraded--background-focused.mdc-checkbox--anim-checked-unchecked .mdc-checkbox__native-control:enabled~.mdc-checkbox__background,.mat-mdc-checkbox .mdc-checkbox.mdc-ripple-upgraded--background-focused.mdc-checkbox--anim-indeterminate-unchecked .mdc-checkbox__native-control:enabled~.mdc-checkbox__background,.mat-mdc-checkbox .mdc-checkbox:not(.mdc-ripple-upgraded):focus.mdc-checkbox--anim-checked-unchecked .mdc-checkbox__native-control:enabled~.mdc-checkbox__background,.mat-mdc-checkbox .mdc-checkbox:not(.mdc-ripple-upgraded):focus.mdc-checkbox--anim-indeterminate-unchecked .mdc-checkbox__native-control:enabled~.mdc-checkbox__background{animation-name:mdc-checkbox-fade-out-background-FF018786FF01878600000000FF018786}.mat-mdc-checkbox .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, rgba(0, 0, 0, 0.54));background-color:transparent}.mat-mdc-checkbox .mdc-checkbox:not(:disabled):active .mdc-checkbox__native-control:enabled:checked~.mdc-checkbox__background,.mat-mdc-checkbox .mdc-checkbox:not(:disabled):active .mdc-checkbox__native-control:enabled:indeterminate~.mdc-checkbox__background,.mat-mdc-checkbox .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, var(--mdc-theme-secondary, #018786));background-color:var(--mdc-checkbox-selected-pressed-icon-color, var(--mdc-theme-secondary, #018786))}@keyframes mdc-checkbox-fade-in-background-8A000000FF01878600000000FF018786{0%{border-color:var(--mdc-checkbox-unselected-pressed-icon-color, rgba(0, 0, 0, 0.54));background-color:transparent}50%{border-color:var(--mdc-checkbox-selected-pressed-icon-color, var(--mdc-theme-secondary, #018786));background-color:var(--mdc-checkbox-selected-pressed-icon-color, var(--mdc-theme-secondary, #018786))}}@keyframes mdc-checkbox-fade-out-background-8A000000FF01878600000000FF018786{0%,80%{border-color:var(--mdc-checkbox-selected-pressed-icon-color, var(--mdc-theme-secondary, #018786));background-color:var(--mdc-checkbox-selected-pressed-icon-color, var(--mdc-theme-secondary, #018786))}100%{border-color:var(--mdc-checkbox-unselected-pressed-icon-color, rgba(0, 0, 0, 0.54));background-color:transparent}}.mat-mdc-checkbox .mdc-checkbox:not(:disabled):active.mdc-checkbox--anim-unchecked-checked .mdc-checkbox__native-control:enabled~.mdc-checkbox__background,.mat-mdc-checkbox .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-8A000000FF01878600000000FF018786}.mat-mdc-checkbox .mdc-checkbox:not(:disabled):active.mdc-checkbox--anim-checked-unchecked .mdc-checkbox__native-control:enabled~.mdc-checkbox__background,.mat-mdc-checkbox .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-8A000000FF01878600000000FF018786}.mat-mdc-checkbox .mdc-checkbox .mdc-checkbox__background{top:calc((var(--mdc-checkbox-state-layer-size, 40px) - 18px) / 2);left:calc((var(--mdc-checkbox-state-layer-size, 40px) - 18px) / 2)}.mat-mdc-checkbox .mdc-checkbox .mdc-checkbox__native-control{top:calc((var(--mdc-checkbox-state-layer-size, 40px) - var(--mdc-checkbox-state-layer-size, 40px)) / 2);right:calc((var(--mdc-checkbox-state-layer-size, 40px) - var(--mdc-checkbox-state-layer-size, 40px)) / 2);left:calc((var(--mdc-checkbox-state-layer-size, 40px) - var(--mdc-checkbox-state-layer-size, 40px)) / 2);width:var(--mdc-checkbox-state-layer-size, 40px);height:var(--mdc-checkbox-state-layer-size, 40px)}.mat-mdc-checkbox .mdc-checkbox:hover .mdc-checkbox__native-control:not([disabled])~.mdc-checkbox__ripple{opacity:.04;transform:scale(1);transition:opacity 80ms 0 cubic-bezier(0, 0, 0.2, 1),transform 80ms 0 cubic-bezier(0, 0, 0.2, 1)}.mat-mdc-checkbox .mdc-checkbox .mdc-checkbox__native-control:not([disabled]):focus~.mdc-checkbox__ripple{opacity:.16}.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-mdc-checkbox-disabled label{cursor:default}.mat-mdc-checkbox label:empty{display:none}.mat-mdc-checkbox .mdc-checkbox__native-control:focus:enabled:not(:checked):not(:indeterminate):not([data-indeterminate=true])~.mdc-checkbox__background{border-color:var(--mdc-checkbox-unselected-focus-icon-color, black)}.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-touch-target{position:absolute;top:50%;height:48px;left:50%;width:48px;transform:translate(-50%, -50%)}.mat-mdc-checkbox-ripple::before{border-radius:50%}.mdc-checkbox__native-control:focus~.mat-mdc-focus-indicator::before{content:""}'],encapsulation:2,changeDetection:0}),D})(),L=(()=>{class D{}return D.\u0275fac=function(m){return new(m||D)},D.\u0275mod=i.oAB({type:D}),D.\u0275inj=i.cJS({}),D})(),U=(()=>{class D{}return D.\u0275fac=function(m){return new(m||D)},D.\u0275mod=i.oAB({type:D}),D.\u0275inj=i.cJS({imports:[e.BQ,e.si,L,e.BQ,L]}),D})()},3626:(Me,ne,x)=>{x.d(ne,{AE:()=>j,BZ:()=>H,Dz:()=>X,Ee:()=>K,Gk:()=>pe,Ke:()=>C,Q2:()=>ie,XQ:()=>E,as:()=>s,by:()=>ke,dW:()=>re,ev:()=>_,fO:()=>L,ge:()=>T,mD:()=>U,nj:()=>M,p0:()=>be,w1:()=>D,yh:()=>m});var i=x(4650),k=x(5013),e=x(5017),w=x(3238),Z=x(591),Y=x(8929),c=x(6787),q=x(1086),$=x(6053),ae=x(1281),O=x(4850);const V=[[["caption"]],[["colgroup"],["col"]]],B=["caption","colgroup, col"];function Q(r,f){if(1&r&&(i.TgZ(0,"th",3),i._uU(1),i.qZA()),2&r){const b=i.oxw();i.Udp("text-align",b.justify),i.xp6(1),i.hij(" ",b.headerText," ")}}function le(r,f){if(1&r&&(i.TgZ(0,"td",4),i._uU(1),i.qZA()),2&r){const b=f.$implicit,v=i.oxw();i.Udp("text-align",v.justify),i.xp6(1),i.hij(" ",v.dataAccessor(b,v.name)," ")}}let j=(()=>{class r{}return r.\u0275fac=function(b){return new(b||r)},r.\u0275dir=i.lG2({type:r,selectors:[["mat-table","recycleRows",""],["table","mat-table","","recycleRows",""]],features:[i._Bn([{provide:e.k,useClass:e.eX}])]}),r})(),H=(()=>{class r extends k.zC{constructor(){super(...arguments),this.stickyCssClass="mat-mdc-table-sticky",this.needsPositionStickyOnElement=!1}ngOnInit(){super.ngOnInit(),this._isNativeHtmlTable&&this._elementRef.nativeElement.querySelector("tbody").classList.add("mdc-data-table__content")}}return r.\u0275fac=function(){let f;return function(v){return(f||(f=i.n5z(r)))(v||r)}}(),r.\u0275cmp=i.Xpm({type:r,selectors:[["mat-table"],["table","mat-table",""]],hostAttrs:[1,"mat-mdc-table","mdc-data-table__table"],hostVars:2,hostBindings:function(b,v){2&b&&i.ekj("mdc-table-fixed-layout",v.fixedLayout)},exportAs:["matTable"],features:[i._Bn([{provide:k.zC,useExisting:r},{provide:k.pN,useExisting:r},{provide:k.nl,useClass:k.oF},{provide:e.k,useClass:e.yy},{provide:k.pF,useValue:null}]),i.qOj],ngContentSelectors:B,decls:6,vars:0,consts:[["headerRowOutlet",""],["rowOutlet",""],["noDataRowOutlet",""],["footerRowOutlet",""]],template:function(b,v){1&b&&(i.F$t(V),i.Hsn(0),i.Hsn(1,1),i.GkF(2,0)(3,1)(4,2)(5,3))},dependencies:[k.T$,k.FT,k.$E,k.bH],styles:[".mdc-data-table{border-radius:var(--mdc-shape-medium, 4px);border-width:1px;border-style:solid}.mdc-data-table .mdc-data-table__header-cell:first-child{border-top-left-radius:var(--mdc-shape-medium, 4px)}[dir=rtl] .mdc-data-table .mdc-data-table__header-cell:first-child,.mdc-data-table .mdc-data-table__header-cell:first-child[dir=rtl]{border-top-right-radius:var(--mdc-shape-medium, 4px);border-top-left-radius:0}.mdc-data-table .mdc-data-table__header-cell:last-child{border-top-right-radius:var(--mdc-shape-medium, 4px)}[dir=rtl] .mdc-data-table .mdc-data-table__header-cell:last-child,.mdc-data-table .mdc-data-table__header-cell:last-child[dir=rtl]{border-top-left-radius:var(--mdc-shape-medium, 4px);border-top-right-radius:0}.mdc-data-table.mdc-data-table--without-footer .mdc-data-table__row:last-child .mdc-data-table__cell:first-child{border-bottom-left-radius:var(--mdc-shape-medium, 4px)}[dir=rtl] .mdc-data-table.mdc-data-table--without-footer .mdc-data-table__row:last-child .mdc-data-table__cell:first-child,.mdc-data-table.mdc-data-table--without-footer .mdc-data-table__row:last-child .mdc-data-table__cell:first-child[dir=rtl]{border-bottom-right-radius:var(--mdc-shape-medium, 4px);border-bottom-left-radius:0}.mdc-data-table.mdc-data-table--without-footer .mdc-data-table__row:last-child .mdc-data-table__cell:last-child{border-bottom-right-radius:var(--mdc-shape-medium, 4px)}[dir=rtl] .mdc-data-table.mdc-data-table--without-footer .mdc-data-table__row:last-child .mdc-data-table__cell:last-child,.mdc-data-table.mdc-data-table--without-footer .mdc-data-table__row:last-child .mdc-data-table__cell:last-child[dir=rtl]{border-bottom-left-radius:var(--mdc-shape-medium, 4px);border-bottom-right-radius:0}.mdc-data-table__cell,.mdc-data-table__header-cell{border-bottom-width:1px;border-bottom-style:solid}.mdc-data-table__pagination{border-top-width:1px;border-top-style:solid}.mdc-data-table__row:last-child .mdc-data-table__cell{border-bottom:none}.mdc-data-table__row{height:52px}.mdc-data-table__pagination{min-height:52px}.mdc-data-table__header-row{height:56px}.mdc-data-table__cell,.mdc-data-table__header-cell{padding:0 16px 0 16px}.mdc-data-table__header-cell--checkbox,.mdc-data-table__cell--checkbox{padding-left:4px;padding-right:0}[dir=rtl] .mdc-data-table__header-cell--checkbox,[dir=rtl] .mdc-data-table__cell--checkbox,.mdc-data-table__header-cell--checkbox[dir=rtl],.mdc-data-table__cell--checkbox[dir=rtl]{padding-left:0;padding-right:4px}.mdc-data-table__cell{box-sizing:border-box;overflow:hidden;text-align:left;text-overflow:ellipsis}[dir=rtl] .mdc-data-table__cell,.mdc-data-table__cell[dir=rtl]{text-align:right}.mdc-data-table__cell--numeric{text-align:right}[dir=rtl] .mdc-data-table__cell--numeric,.mdc-data-table__cell--numeric[dir=rtl]{text-align:left}.mdc-data-table__cell--checkbox{width:1px}.mdc-data-table__header-cell{box-sizing:border-box;text-overflow:ellipsis;overflow:hidden;outline:none;text-align:left}[dir=rtl] .mdc-data-table__header-cell,.mdc-data-table__header-cell[dir=rtl]{text-align:right}.mdc-data-table__header-cell--checkbox{width:1px}.mdc-data-table__header-cell--numeric{text-align:right}[dir=rtl] .mdc-data-table__header-cell--numeric,.mdc-data-table__header-cell--numeric[dir=rtl]{text-align:left}.mdc-data-table__sort-icon-button{width:28px;height:28px;padding:2px;transform:rotate(0.0001deg);margin-left:4px;margin-right:0;opacity:0}.mdc-data-table__sort-icon-button .mdc-icon-button__focus-ring{max-height:28px;max-width:28px}.mdc-data-table__sort-icon-button.mdc-icon-button--reduced-size .mdc-icon-button__ripple{width:28px;height:28px;margin-top:0px;margin-bottom:0px;margin-right:0px;margin-left:0px}.mdc-data-table__sort-icon-button.mdc-icon-button--reduced-size .mdc-icon-button__focus-ring{max-height:28px;max-width:28px}.mdc-data-table__sort-icon-button .mdc-icon-button__touch{position:absolute;top:50%;height:28px;left:50%;width:28px;transform:translate(-50%, -50%)}[dir=rtl] .mdc-data-table__sort-icon-button,.mdc-data-table__sort-icon-button[dir=rtl]{margin-left:0;margin-right:4px}.mdc-data-table__header-cell--numeric .mdc-data-table__sort-icon-button{margin-left:0;margin-right:4px}[dir=rtl] .mdc-data-table__header-cell--numeric .mdc-data-table__sort-icon-button,.mdc-data-table__header-cell--numeric .mdc-data-table__sort-icon-button[dir=rtl]{margin-left:4px;margin-right:0}.mdc-data-table__header-cell--sorted-descending .mdc-data-table__sort-icon-button{transform:rotate(-180deg)}.mdc-data-table__sort-icon-button:focus,.mdc-data-table__header-cell:hover .mdc-data-table__sort-icon-button,.mdc-data-table__header-cell--sorted .mdc-data-table__sort-icon-button{opacity:1}.mdc-data-table__header-cell-wrapper{align-items:center;display:inline-flex;vertical-align:middle}.mdc-data-table__header-cell--with-sort{cursor:pointer}.mdc-data-table__sort-status-label{clip:rect(1px, 1px, 1px, 1px);height:1px;overflow:hidden;position:absolute;white-space:nowrap;width:1px}.mdc-data-table--sticky-header .mdc-data-table__header-cell{position:sticky;top:0;z-index:1}.mdc-data-table{-webkit-overflow-scrolling:touch;display:inline-flex;flex-direction:column;box-sizing:border-box;position:relative}.mdc-data-table__table-container{-webkit-overflow-scrolling:touch;overflow-x:auto;width:100%}.mdc-data-table__table{min-width:100%;border:0;white-space:nowrap;border-spacing:0;table-layout:fixed}.mdc-data-table__header-cell{box-sizing:border-box;text-overflow:ellipsis;overflow:hidden;outline:none;text-align:left}[dir=rtl] .mdc-data-table__header-cell,.mdc-data-table__header-cell[dir=rtl]{text-align:right}.mdc-data-table__header-cell--checkbox{width:1px}.mdc-data-table__header-cell--numeric{text-align:right}[dir=rtl] .mdc-data-table__header-cell--numeric,.mdc-data-table__header-cell--numeric[dir=rtl]{text-align:left}.mdc-data-table__sort-icon-button{width:28px;height:28px;padding:2px;transform:rotate(0.0001deg);margin-left:4px;margin-right:0;opacity:0}.mdc-data-table__sort-icon-button .mdc-icon-button__focus-ring{max-height:28px;max-width:28px}.mdc-data-table__sort-icon-button.mdc-icon-button--reduced-size .mdc-icon-button__ripple{width:28px;height:28px;margin-top:0px;margin-bottom:0px;margin-right:0px;margin-left:0px}.mdc-data-table__sort-icon-button.mdc-icon-button--reduced-size .mdc-icon-button__focus-ring{max-height:28px;max-width:28px}.mdc-data-table__sort-icon-button .mdc-icon-button__touch{position:absolute;top:50%;height:28px;left:50%;width:28px;transform:translate(-50%, -50%)}[dir=rtl] .mdc-data-table__sort-icon-button,.mdc-data-table__sort-icon-button[dir=rtl]{margin-left:0;margin-right:4px}.mdc-data-table__header-cell--numeric .mdc-data-table__sort-icon-button{margin-left:0;margin-right:4px}[dir=rtl] .mdc-data-table__header-cell--numeric .mdc-data-table__sort-icon-button,.mdc-data-table__header-cell--numeric .mdc-data-table__sort-icon-button[dir=rtl]{margin-left:4px;margin-right:0}.mdc-data-table__header-cell--sorted-descending .mdc-data-table__sort-icon-button{transform:rotate(-180deg)}.mdc-data-table__sort-icon-button:focus,.mdc-data-table__header-cell:hover .mdc-data-table__sort-icon-button,.mdc-data-table__header-cell--sorted .mdc-data-table__sort-icon-button{opacity:1}.mdc-data-table__header-cell-wrapper{align-items:center;display:inline-flex;vertical-align:middle}.mdc-data-table__header-cell--with-sort{cursor:pointer}.mdc-data-table__sort-status-label{clip:rect(1px, 1px, 1px, 1px);height:1px;overflow:hidden;position:absolute;white-space:nowrap;width:1px}.mdc-data-table__cell{box-sizing:border-box;overflow:hidden;text-align:left;text-overflow:ellipsis}[dir=rtl] .mdc-data-table__cell,.mdc-data-table__cell[dir=rtl]{text-align:right}.mdc-data-table__cell--numeric{text-align:right}[dir=rtl] .mdc-data-table__cell--numeric,.mdc-data-table__cell--numeric[dir=rtl]{text-align:left}.mdc-data-table__cell--checkbox{width:1px}.mdc-data-table__pagination{box-sizing:border-box;display:flex;justify-content:flex-end}.mdc-data-table__pagination-trailing{margin-left:4px;margin-right:0;align-items:center;display:flex;flex-wrap:wrap;justify-content:flex-end}[dir=rtl] .mdc-data-table__pagination-trailing,.mdc-data-table__pagination-trailing[dir=rtl]{margin-left:0;margin-right:4px}.mdc-data-table__pagination-navigation{align-items:center;display:flex}.mdc-data-table__pagination-button{margin-left:0;margin-right:4px}[dir=rtl] .mdc-data-table__pagination-button .mdc-button__icon,.mdc-data-table__pagination-button .mdc-button__icon[dir=rtl]{transform:rotate(180deg)}[dir=rtl] .mdc-data-table__pagination-button,.mdc-data-table__pagination-button[dir=rtl]{margin-left:4px;margin-right:0}.mdc-data-table__pagination-total{margin-left:14px;margin-right:36px;white-space:nowrap}[dir=rtl] .mdc-data-table__pagination-total,.mdc-data-table__pagination-total[dir=rtl]{margin-left:36px;margin-right:14px}.mdc-data-table__pagination-rows-per-page{margin-left:0;margin-right:22px;align-items:center;display:inline-flex}[dir=rtl] .mdc-data-table__pagination-rows-per-page,.mdc-data-table__pagination-rows-per-page[dir=rtl]{margin-left:22px;margin-right:0}.mdc-data-table__pagination-rows-per-page-label{margin-left:0;margin-right:12px;white-space:nowrap}[dir=rtl] .mdc-data-table__pagination-rows-per-page-label,.mdc-data-table__pagination-rows-per-page-label[dir=rtl]{margin-left:12px;margin-right:0}.mdc-data-table__pagination-rows-per-page-select{min-width:var(--mdc-menu-min-width, 80px);margin:8px 0}.mdc-data-table__pagination-rows-per-page-select .mdc-select__anchor{width:100%;min-width:80px}.mdc-data-table__pagination-rows-per-page-select .mdc-select__anchor{height:36px}.mdc-data-table__pagination-rows-per-page-select .mdc-select__anchor .mdc-floating-label--float-above{transform:translateY(-27.25px) scale(1)}.mdc-data-table__pagination-rows-per-page-select .mdc-select__anchor .mdc-floating-label--float-above{font-size:.75rem}.mdc-data-table__pagination-rows-per-page-select .mdc-select__anchor.mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-data-table__pagination-rows-per-page-select .mdc-select__anchor .mdc-notched-outline--upgraded .mdc-floating-label--float-above{transform:translateY(-24.75px) scale(0.75)}.mdc-data-table__pagination-rows-per-page-select .mdc-select__anchor.mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-data-table__pagination-rows-per-page-select .mdc-select__anchor .mdc-notched-outline--upgraded .mdc-floating-label--float-above{font-size:1rem}.mdc-data-table__pagination-rows-per-page-select .mdc-select__dropdown-icon{width:20px;height:20px}.mdc-data-table__pagination-rows-per-page-select.mdc-select--outlined .mdc-select__anchor :not(.mdc-notched-outline--notched) .mdc-notched-outline__notch{max-width:calc(100% - 56px)}.mdc-data-table__pagination-rows-per-page-select .mdc-list-item.mdc-list-item--with-one-line{height:36px}.mdc-data-table__progress-indicator{display:none;position:absolute;width:100%}.mdc-data-table--in-progress .mdc-data-table__progress-indicator{display:block}.mdc-data-table__scrim{background-color:var(--mdc-theme-surface, #fff);height:100%;opacity:.32;position:absolute;top:0;width:100%}mat-table{display:block}mat-header-row{min-height:56px}mat-row,mat-footer-row{min-height:48px}mat-row,mat-header-row,mat-footer-row{display:flex;border-width:0;border-bottom-width:1px;border-style:solid;align-items:center;box-sizing:border-box}mat-cell:first-of-type,mat-header-cell:first-of-type,mat-footer-cell:first-of-type{padding-left:24px}[dir=rtl] mat-cell:first-of-type:not(:only-of-type),[dir=rtl] mat-header-cell:first-of-type:not(:only-of-type),[dir=rtl] mat-footer-cell:first-of-type:not(:only-of-type){padding-left:0;padding-right:24px}mat-cell:last-of-type,mat-header-cell:last-of-type,mat-footer-cell:last-of-type{padding-right:24px}[dir=rtl] mat-cell:last-of-type:not(:only-of-type),[dir=rtl] mat-header-cell:last-of-type:not(:only-of-type),[dir=rtl] mat-footer-cell:last-of-type:not(:only-of-type){padding-right:0;padding-left:24px}mat-cell,mat-header-cell,mat-footer-cell{flex:1;display:flex;align-items:center;overflow:hidden;word-wrap:break-word;min-height:inherit}.mat-mdc-table-sticky{position:sticky !important}.mat-mdc-table{table-layout:auto;white-space:normal}mat-row.mat-mdc-row,mat-header-row.mat-mdc-header-row,mat-footer-row.mat-mdc-footer-row{border-bottom:none}.mat-mdc-table tbody,.mat-mdc-table tfoot,.mat-mdc-table thead,.mat-mdc-cell,.mat-mdc-footer-cell,.mat-mdc-header-row,.mat-mdc-row,.mat-mdc-footer-row,.mat-mdc-table .mat-mdc-header-cell{background:inherit}.mat-mdc-table .mat-mdc-row:hover,.mat-mdc-table .mat-mdc-footer-row:hover{background-color:inherit}.mat-mdc-table mat-header-row.mat-mdc-header-row,.mat-mdc-table mat-row.mat-mdc-row,.mat-mdc-table mat-footer-row.mat-mdc-footer-cell{height:unset}mat-header-cell.mat-mdc-header-cell,mat-cell.mat-mdc-cell,mat-footer-cell.mat-mdc-footer-cell{align-self:stretch}"],encapsulation:2}),r})(),X=(()=>{class r extends k.O_{}return r.\u0275fac=function(){let f;return function(v){return(f||(f=i.n5z(r)))(v||r)}}(),r.\u0275dir=i.lG2({type:r,selectors:[["","matCellDef",""]],features:[i._Bn([{provide:k.O_,useExisting:r}]),i.qOj]}),r})(),L=(()=>{class r extends k.D5{}return r.\u0275fac=function(){let f;return function(v){return(f||(f=i.n5z(r)))(v||r)}}(),r.\u0275dir=i.lG2({type:r,selectors:[["","matHeaderCellDef",""]],features:[i._Bn([{provide:k.D5,useExisting:r}]),i.qOj]}),r})(),U=(()=>{class r extends k.Z4{}return r.\u0275fac=function(){let f;return function(v){return(f||(f=i.n5z(r)))(v||r)}}(),r.\u0275dir=i.lG2({type:r,selectors:[["","matFooterCellDef",""]],features:[i._Bn([{provide:k.Z4,useExisting:r}]),i.qOj]}),r})(),D=(()=>{class r extends k.fo{get name(){return this._name}set name(b){this._setNameInput(b)}_updateColumnCssClassName(){super._updateColumnCssClassName(),this._columnCssClassName.push(`mat-column-${this.cssClassFriendlyName}`)}}return r.\u0275fac=function(){let f;return function(v){return(f||(f=i.n5z(r)))(v||r)}}(),r.\u0275dir=i.lG2({type:r,selectors:[["","matColumnDef",""]],inputs:{sticky:"sticky",name:["matColumnDef","name"]},features:[i._Bn([{provide:k.fo,useExisting:r},{provide:"MAT_SORT_HEADER_COLUMN_DEF",useExisting:r}]),i.qOj]}),r})(),T=(()=>{class r extends k.Af{}return r.\u0275fac=function(){let f;return function(v){return(f||(f=i.n5z(r)))(v||r)}}(),r.\u0275dir=i.lG2({type:r,selectors:[["mat-header-cell"],["th","mat-header-cell",""]],hostAttrs:["role","columnheader",1,"mat-mdc-header-cell","mdc-data-table__header-cell"],features:[i.qOj]}),r})(),m=(()=>{class r extends k.QJ{}return r.\u0275fac=function(){let f;return function(v){return(f||(f=i.n5z(r)))(v||r)}}(),r.\u0275dir=i.lG2({type:r,selectors:[["mat-footer-cell"],["td","mat-footer-cell",""]],hostAttrs:[1,"mat-mdc-footer-cell","mdc-data-table__cell"],features:[i.qOj]}),r})(),_=(()=>{class r extends k.hD{}return r.\u0275fac=function(){let f;return function(v){return(f||(f=i.n5z(r)))(v||r)}}(),r.\u0275dir=i.lG2({type:r,selectors:[["mat-cell"],["td","mat-cell",""]],hostAttrs:[1,"mat-mdc-cell","mdc-data-table__cell"],features:[i.qOj]}),r})(),s=(()=>{class r extends k.s${}return r.\u0275fac=function(){let f;return function(v){return(f||(f=i.n5z(r)))(v||r)}}(),r.\u0275dir=i.lG2({type:r,selectors:[["","matHeaderRowDef",""]],inputs:{columns:["matHeaderRowDef","columns"],sticky:["matHeaderRowDefSticky","sticky"]},features:[i._Bn([{provide:k.s$,useExisting:r}]),i.qOj]}),r})(),C=(()=>{class r extends k.fe{}return r.\u0275fac=function(){let f;return function(v){return(f||(f=i.n5z(r)))(v||r)}}(),r.\u0275dir=i.lG2({type:r,selectors:[["","matFooterRowDef",""]],inputs:{columns:["matFooterRowDef","columns"],sticky:["matFooterRowDefSticky","sticky"]},features:[i._Bn([{provide:k.fe,useExisting:r}]),i.qOj]}),r})(),M=(()=>{class r extends k.Sq{}return r.\u0275fac=function(){let f;return function(v){return(f||(f=i.n5z(r)))(v||r)}}(),r.\u0275dir=i.lG2({type:r,selectors:[["","matRowDef",""]],inputs:{columns:["matRowDefColumns","columns"],when:["matRowDefWhen","when"]},features:[i._Bn([{provide:k.Sq,useExisting:r}]),i.qOj]}),r})(),E=(()=>{class r extends k.xN{}return r.\u0275fac=function(){let f;return function(v){return(f||(f=i.n5z(r)))(v||r)}}(),r.\u0275cmp=i.Xpm({type:r,selectors:[["mat-header-row"],["tr","mat-header-row",""]],hostAttrs:["role","row",1,"mat-mdc-header-row","mdc-data-table__header-row"],exportAs:["matHeaderRow"],features:[i._Bn([{provide:k.xN,useExisting:r}]),i.qOj],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(b,v){1&b&&i.GkF(0,0)},dependencies:[k.Kb],encapsulation:2}),r})(),ie=(()=>{class r extends k.qM{}return r.\u0275fac=function(){let f;return function(v){return(f||(f=i.n5z(r)))(v||r)}}(),r.\u0275cmp=i.Xpm({type:r,selectors:[["mat-footer-row"],["tr","mat-footer-row",""]],hostAttrs:["role","row",1,"mat-mdc-footer-row","mdc-data-table__row"],exportAs:["matFooterRow"],features:[i._Bn([{provide:k.qM,useExisting:r}]),i.qOj],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(b,v){1&b&&i.GkF(0,0)},dependencies:[k.Kb],encapsulation:2}),r})(),pe=(()=>{class r extends k._J{}return r.\u0275fac=function(){let f;return function(v){return(f||(f=i.n5z(r)))(v||r)}}(),r.\u0275cmp=i.Xpm({type:r,selectors:[["mat-row"],["tr","mat-row",""]],hostAttrs:["role","row",1,"mat-mdc-row","mdc-data-table__row"],exportAs:["matRow"],features:[i._Bn([{provide:k._J,useExisting:r}]),i.qOj],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(b,v){1&b&&i.GkF(0,0)},dependencies:[k.Kb],encapsulation:2}),r})(),K=(()=>{class r extends k.r2{constructor(){super(...arguments),this._contentClassName="mat-mdc-no-data-row"}}return r.\u0275fac=function(){let f;return function(v){return(f||(f=i.n5z(r)))(v||r)}}(),r.\u0275dir=i.lG2({type:r,selectors:[["ng-template","matNoDataRow",""]],features:[i._Bn([{provide:k.r2,useExisting:r}]),i.qOj]}),r})(),re=(()=>{class r extends k.Hx{}return r.\u0275fac=function(){let f;return function(v){return(f||(f=i.n5z(r)))(v||r)}}(),r.\u0275cmp=i.Xpm({type:r,selectors:[["mat-text-column"]],features:[i.qOj],decls:3,vars:0,consts:[["matColumnDef",""],["mat-header-cell","",3,"text-align",4,"matHeaderCellDef"],["mat-cell","",3,"text-align",4,"matCellDef"],["mat-header-cell",""],["mat-cell",""]],template:function(b,v){1&b&&(i.ynx(0,0),i.YNc(1,Q,2,3,"th",1),i.YNc(2,le,2,3,"td",2),i.BQk())},dependencies:[L,D,X,T,_],encapsulation:2}),r})(),be=(()=>{class r{}return r.\u0275fac=function(b){return new(b||r)},r.\u0275mod=i.oAB({type:r}),r.\u0275inj=i.cJS({imports:[w.BQ,k.HT,w.BQ]}),r})();class de extends e.o2{constructor(f=[]){super(),this._renderData=new Z.X([]),this._filter=new Z.X(""),this._internalPageChanges=new Y.xQ,this._renderChangesSubscription=null,this.sortingDataAccessor=(b,v)=>{const R=b[v];if((0,ae.t6)(R)){const I=Number(R);return I<9007199254740991?I:R}return R},this.sortData=(b,v)=>{const R=v.active,I=v.direction;return R&&""!=I?b.sort((z,P)=>{let ee=this.sortingDataAccessor(z,R),te=this.sortingDataAccessor(P,R);const he=typeof ee,_e=typeof te;he!==_e&&("number"===he&&(ee+=""),"number"===_e&&(te+=""));let se=0;return null!=ee&&null!=te?ee>te?se=1:ee<te&&(se=-1):null!=ee?se=1:null!=te&&(se=-1),se*("asc"==I?1:-1)}):b},this.filterPredicate=(b,v)=>{const R=Object.keys(b).reduce((z,P)=>z+b[P]+"\u25ec","").toLowerCase(),I=v.trim().toLowerCase();return-1!=R.indexOf(I)},this._data=new Z.X(f),this._updateChangeSubscription()}get data(){return this._data.value}set data(f){f=Array.isArray(f)?f:[],this._data.next(f),this._renderChangesSubscription||this._filterData(f)}get filter(){return this._filter.value}set filter(f){this._filter.next(f),this._renderChangesSubscription||this._filterData(this.data)}get sort(){return this._sort}set sort(f){this._sort=f,this._updateChangeSubscription()}get paginator(){return this._paginator}set paginator(f){this._paginator=f,this._updateChangeSubscription()}_updateChangeSubscription(){const f=this._sort?(0,c.T)(this._sort.sortChange,this._sort.initialized):(0,q.of)(null),b=this._paginator?(0,c.T)(this._paginator.page,this._internalPageChanges,this._paginator.initialized):(0,q.of)(null),R=(0,$.aj)([this._data,this._filter]).pipe((0,O.U)(([P])=>this._filterData(P))),I=(0,$.aj)([R,f]).pipe((0,O.U)(([P])=>this._orderData(P))),z=(0,$.aj)([I,b]).pipe((0,O.U)(([P])=>this._pageData(P)));this._renderChangesSubscription?.unsubscribe(),this._renderChangesSubscription=z.subscribe(P=>this._renderData.next(P))}_filterData(f){return this.filteredData=null==this.filter||""===this.filter?f:f.filter(b=>this.filterPredicate(b,this.filter)),this.paginator&&this._updatePaginator(this.filteredData.length),this.filteredData}_orderData(f){return this.sort?this.sortData(f.slice(),this.sort):f}_pageData(f){if(!this.paginator)return f;const b=this.paginator.pageIndex*this.paginator.pageSize;return f.slice(b,b+this.paginator.pageSize)}_updatePaginator(f){Promise.resolve().then(()=>{const b=this.paginator;if(b&&(b.length=f,b.pageIndex>0)){const v=Math.ceil(b.length/b.pageSize)-1||0,R=Math.min(b.pageIndex,v);R!==b.pageIndex&&(b.pageIndex=R,this._internalPageChanges.next())}})}connect(){return this._renderChangesSubscription||this._updateChangeSubscription(),this._renderData}disconnect(){this._renderChangesSubscription?.unsubscribe(),this._renderChangesSubscription=null}}class ke extends de{}}}]);