angular-t9n
Version:
A translation tool for Angular i18n
2 lines (1 loc) • 49.3 kB
JavaScript
import{$ as Q,$d as ne,Bd as rt,Db as y,Eb as w,Ed as nt,Fb as ke,Gd as st,Hd as at,Ib as m,Id as re,Jb as Ze,Ka as Ke,Ld as ct,Pb as xe,Qc as V,Rb as K,Rc as E,Sb as G,Tb as M,Uc as u,V as ae,Vb as O,Vc as g,Wc as oe,Xb as A,Xc as S,Ya as v,Yb as I,Yc as Je,Za as Ge,Zc as et,Zd as ue,_ as ce,_a as F,_d as lt,ae as he,ba as U,bd as tt,dc as D,ea as a,eb as x,fa as Ue,fb as Y,fe as dt,g as te,ga as We,gb as l,he as ut,i as ze,id as it,j as Ve,la as W,lc as de,m as ve,ma as Se,mb as $,mc as Z,na as Re,o as je,oc as _,pb as h,qa as C,rb as T,sa as Ye,sb as q,ta as $e,tb as be,ub as ie,va as le,vd as ot,wa as qe,wb as z,xc as Xe,y as Qe,za as k,zb as P}from"./chunk-XN5ZPBP6.js";var St=["mat-sort-header",""],Rt=["*"];function bt(i,s){if(i&1){let e=Ze();y(0,"div",2),xe("@arrowPosition.start",function(){Se(e);let o=K();return Re(o._disableViewStateAnimation=!0)})("@arrowPosition.done",function(){Se(e);let o=K();return Re(o._disableViewStateAnimation=!1)}),ke(1,"div",3),y(2,"div",4),ke(3,"div",5)(4,"div",6)(5,"div",7),w()()}if(i&2){let e=K();ie("@arrowOpacity",e._getArrowViewState())("@arrowPosition",e._getArrowViewState())("@allowChildren",e._getArrowDirectionState()),v(2),ie("@indicator",e._getArrowDirectionState()),v(),ie("@leftPointer",e._getArrowDirectionState()),v(),ie("@rightPointer",e._getArrowDirectionState())}}var ft=new U("MAT_SORT_DEFAULT_OPTIONS"),kt=(()=>{class i{_defaultOptions;_initializedStream=new Ve(1);sortables=new Map;_stateChanges=new te;active;start="asc";get direction(){return this._direction}set direction(e){this._direction=e}_direction="";disableClear;disabled=!1;sortChange=new le;initialized=this._initializedStream;constructor(e){this._defaultOptions=e}register(e){this.sortables.set(e.id,e)}deregister(e){this.sortables.delete(e.id)}sort(e){this.active!=e.id?(this.active=e.id,this.direction=e.start?e.start:this.start):this.direction=this.getNextSortDirection(e),this.sortChange.emit({active:this.active,direction:this.direction})}getNextSortDirection(e){if(!e)return"";let t=e?.disableClear??this.disableClear??!!this._defaultOptions?.disableClear,o=xt(e.start||this.start,t),r=o.indexOf(this.direction)+1;return r>=o.length&&(r=0),o[r]}ngOnInit(){this._initializedStream.next()}ngOnChanges(){this._stateChanges.next()}ngOnDestroy(){this._stateChanges.complete(),this._initializedStream.complete()}static \u0275fac=function(t){return new(t||i)(Ge(ft,8))};static \u0275dir=l({type:i,selectors:[["","matSort",""]],hostAttrs:[1,"mat-sort"],inputs:{active:[0,"matSortActive","active"],start:[0,"matSortStart","start"],direction:[0,"matSortDirection","direction"],disableClear:[2,"matSortDisableClear","disableClear",_],disabled:[2,"matSortDisabled","disabled",_]},outputs:{sortChange:"matSortChange"},exportAs:["matSort"],features:[T,W]})}return i})();function xt(i,s){let e=["asc","desc"];return i=="desc"&&e.reverse(),s||e.push(""),e}var H=at.ENTERING+" "+st.STANDARD_CURVE,X={indicator:V("indicator",[g("active-asc, asc",u({transform:"translateY(0px)"})),g("active-desc, desc",u({transform:"translateY(10px)"})),S("active-asc <=> active-desc",E(H))]),leftPointer:V("leftPointer",[g("active-asc, asc",u({transform:"rotate(-45deg)"})),g("active-desc, desc",u({transform:"rotate(45deg)"})),S("active-asc <=> active-desc",E(H))]),rightPointer:V("rightPointer",[g("active-asc, asc",u({transform:"rotate(45deg)"})),g("active-desc, desc",u({transform:"rotate(-45deg)"})),S("active-asc <=> active-desc",E(H))]),arrowOpacity:V("arrowOpacity",[g("desc-to-active, asc-to-active, active",u({opacity:1})),g("desc-to-hint, asc-to-hint, hint",u({opacity:.54})),g("hint-to-desc, active-to-desc, desc, hint-to-asc, active-to-asc, asc, void",u({opacity:0})),S("* => asc, * => desc, * => active, * => hint, * => void",E("0ms")),S("* <=> *",E(H))]),arrowPosition:V("arrowPosition",[S("* => desc-to-hint, * => desc-to-active",E(H,oe([u({transform:"translateY(-25%)"}),u({transform:"translateY(0)"})]))),S("* => hint-to-desc, * => active-to-desc",E(H,oe([u({transform:"translateY(0)"}),u({transform:"translateY(25%)"})]))),S("* => asc-to-hint, * => asc-to-active",E(H,oe([u({transform:"translateY(25%)"}),u({transform:"translateY(0)"})]))),S("* => hint-to-asc, * => active-to-asc",E(H,oe([u({transform:"translateY(0)"}),u({transform:"translateY(-25%)"})]))),g("desc-to-hint, asc-to-hint, hint, desc-to-active, asc-to-active, active",u({transform:"translateY(0)"})),g("hint-to-desc, active-to-desc, desc",u({transform:"translateY(-25%)"})),g("hint-to-asc, active-to-asc, asc",u({transform:"translateY(25%)"}))]),allowChildren:V("allowChildren",[S("* <=> *",[et("@*",Je(),{optional:!0})])])},fe=(()=>{class i{changes=new te;static \u0275fac=function(t){return new(t||i)};static \u0275prov=ce({token:i,factory:i.\u0275fac,providedIn:"root"})}return i})();function Tt(i){return i||new fe}var Mt={provide:fe,deps:[[new Ue,new We,fe]],useFactory:Tt},di=(()=>{class i{_intl=a(fe);_changeDetectorRef=a(de);_sort=a(kt,{optional:!0});_columnDef=a("MAT_SORT_HEADER_COLUMN_DEF",{optional:!0});_focusMonitor=a(rt);_elementRef=a(k);_ariaDescriber=a(ot,{optional:!0});_rerenderSubscription;_sortButton;_showIndicatorHint=!1;_viewState={};_arrowDirection="";_disableViewStateAnimation=!1;id;arrowPosition="after";start;disabled=!1;get sortActionDescription(){return this._sortActionDescription}set sortActionDescription(e){this._updateSortActionDescription(e)}_sortActionDescription="Sort";disableClear;constructor(){a(it).load(ct);let e=a(ft,{optional:!0});this._sort,e?.arrowPosition&&(this.arrowPosition=e?.arrowPosition),this._handleStateChanges()}ngOnInit(){!this.id&&this._columnDef&&(this.id=this._columnDef.name),this._updateArrowDirection(),this._setAnimationTransitionState({toState:this._isSorted()?"active":this._arrowDirection}),this._sort.register(this),this._sortButton=this._elementRef.nativeElement.querySelector(".mat-sort-header-container"),this._updateSortActionDescription(this._sortActionDescription)}ngAfterViewInit(){this._focusMonitor.monitor(this._elementRef,!0).subscribe(e=>{let t=!!e;t!==this._showIndicatorHint&&(this._setIndicatorHintVisible(t),this._changeDetectorRef.markForCheck())})}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef),this._sort.deregister(this),this._rerenderSubscription.unsubscribe(),this._sortButton&&this._ariaDescriber?.removeDescription(this._sortButton,this._sortActionDescription)}_setIndicatorHintVisible(e){this._isDisabled()&&e||(this._showIndicatorHint=e,this._isSorted()||(this._updateArrowDirection(),this._showIndicatorHint?this._setAnimationTransitionState({fromState:this._arrowDirection,toState:"hint"}):this._setAnimationTransitionState({fromState:"hint",toState:this._arrowDirection})))}_setAnimationTransitionState(e){this._viewState=e||{},this._disableViewStateAnimation&&(this._viewState={toState:e.toState})}_toggleOnInteraction(){this._sort.sort(this),(this._viewState.toState==="hint"||this._viewState.toState==="active")&&(this._disableViewStateAnimation=!0)}_handleClick(){this._isDisabled()||this._sort.sort(this)}_handleKeydown(e){!this._isDisabled()&&(e.keyCode===32||e.keyCode===13)&&(e.preventDefault(),this._toggleOnInteraction())}_isSorted(){return this._sort.active==this.id&&(this._sort.direction==="asc"||this._sort.direction==="desc")}_getArrowDirectionState(){return`${this._isSorted()?"active-":""}${this._arrowDirection}`}_getArrowViewState(){let e=this._viewState.fromState;return(e?`${e}-to-`:"")+this._viewState.toState}_updateArrowDirection(){this._arrowDirection=this._isSorted()?this._sort.direction:this.start||this._sort.start}_isDisabled(){return this._sort.disabled||this.disabled}_getAriaSortAttribute(){return this._isSorted()?this._sort.direction=="asc"?"ascending":"descending":"none"}_renderArrow(){return!this._isDisabled()||this._isSorted()}_updateSortActionDescription(e){this._sortButton&&(this._ariaDescriber?.removeDescription(this._sortButton,this._sortActionDescription),this._ariaDescriber?.describe(this._sortButton,e)),this._sortActionDescription=e}_handleStateChanges(){this._rerenderSubscription=Qe(this._sort.sortChange,this._sort._stateChanges,this._intl.changes).subscribe(()=>{this._isSorted()&&(this._updateArrowDirection(),(this._viewState.toState==="hint"||this._viewState.toState==="active")&&(this._disableViewStateAnimation=!0),this._setAnimationTransitionState({fromState:this._arrowDirection,toState:"active"}),this._showIndicatorHint=!1),!this._isSorted()&&this._viewState&&this._viewState.toState==="active"&&(this._disableViewStateAnimation=!1,this._setAnimationTransitionState({fromState:"active",toState:this._arrowDirection})),this._changeDetectorRef.markForCheck()})}static \u0275fac=function(t){return new(t||i)};static \u0275cmp=x({type:i,selectors:[["","mat-sort-header",""]],hostAttrs:[1,"mat-sort-header"],hostVars:3,hostBindings:function(t,o){t&1&&xe("click",function(){return o._handleClick()})("keydown",function(n){return o._handleKeydown(n)})("mouseenter",function(){return o._setIndicatorHintVisible(!0)})("mouseleave",function(){return o._setIndicatorHintVisible(!1)}),t&2&&(be("aria-sort",o._getAriaSortAttribute()),z("mat-sort-header-disabled",o._isDisabled()))},inputs:{id:[0,"mat-sort-header","id"],arrowPosition:"arrowPosition",start:"start",disabled:[2,"disabled","disabled",_],sortActionDescription:"sortActionDescription",disableClear:[2,"disableClear","disableClear",_]},exportAs:["matSortHeader"],features:[T],attrs:St,ngContentSelectors:Rt,decls:4,vars:7,consts:[[1,"mat-sort-header-container","mat-focus-indicator"],[1,"mat-sort-header-content"],[1,"mat-sort-header-arrow"],[1,"mat-sort-header-stem"],[1,"mat-sort-header-indicator"],[1,"mat-sort-header-pointer-left"],[1,"mat-sort-header-pointer-right"],[1,"mat-sort-header-pointer-middle"]],template:function(t,o){t&1&&(G(),y(0,"div",0)(1,"div",1),M(2),w(),q(3,bt,6,6,"div",2),w()),t&2&&(z("mat-sort-header-sorted",o._isSorted())("mat-sort-header-position-before",o.arrowPosition==="before"),be("tabindex",o._isDisabled()?null:0)("role",o._isDisabled()?null:"button"),v(3),P(o._renderArrow()?3:-1))},styles:[".mat-sort-header-container{display:flex;cursor:pointer;align-items:center;letter-spacing:normal;outline:0}[mat-sort-header].cdk-keyboard-focused .mat-sort-header-container,[mat-sort-header].cdk-program-focused .mat-sort-header-container{border-bottom:solid 1px currentColor}.mat-sort-header-disabled .mat-sort-header-container{cursor:default}.mat-sort-header-container::before{margin:calc(calc(var(--mat-focus-indicator-border-width, 3px) + 2px)*-1)}.mat-sort-header-content{text-align:center;display:flex;align-items:center}.mat-sort-header-position-before{flex-direction:row-reverse}.mat-sort-header-arrow{height:12px;width:12px;min-width:12px;position:relative;display:flex;color:var(--mat-sort-arrow-color, var(--mat-sys-on-surface));opacity:0}.mat-sort-header-arrow,[dir=rtl] .mat-sort-header-position-before .mat-sort-header-arrow{margin:0 0 0 6px}.mat-sort-header-position-before .mat-sort-header-arrow,[dir=rtl] .mat-sort-header-arrow{margin:0 6px 0 0}.mat-sort-header-stem{background:currentColor;height:10px;width:2px;margin:auto;display:flex;align-items:center}@media(forced-colors: active){.mat-sort-header-stem{width:0;border-left:solid 2px}}.mat-sort-header-indicator{width:100%;height:2px;display:flex;align-items:center;position:absolute;top:0;left:0}.mat-sort-header-pointer-middle{margin:auto;height:2px;width:2px;background:currentColor;transform:rotate(45deg)}@media(forced-colors: active){.mat-sort-header-pointer-middle{width:0;height:0;border-top:solid 2px;border-left:solid 2px}}.mat-sort-header-pointer-left,.mat-sort-header-pointer-right{background:currentColor;width:6px;height:2px;position:absolute;top:0}@media(forced-colors: active){.mat-sort-header-pointer-left,.mat-sort-header-pointer-right{width:0;height:0;border-left:solid 6px;border-top:solid 2px}}.mat-sort-header-pointer-left{transform-origin:right;left:0}.mat-sort-header-pointer-right{transform-origin:left;right:0}"],encapsulation:2,data:{animation:[X.indicator,X.leftPointer,X.rightPointer,X.arrowOpacity,X.arrowPosition,X.allowChildren]},changeDetection:0})}return i})(),ui=(()=>{class i{static \u0275fac=function(t){return new(t||i)};static \u0275mod=Y({type:i});static \u0275inj=Q({providers:[Mt],imports:[re]})}return i})();var Pt=[[["caption"]],[["colgroup"],["col"]],"*"],Ht=["caption","colgroup, col","*"];function Bt(i,s){i&1&&M(0,2)}function Lt(i,s){i&1&&(y(0,"thead",0),m(1,1),w(),y(2,"tbody",0),m(3,2)(4,3),w(),y(5,"tfoot",0),m(6,4),w())}function zt(i,s){i&1&&m(0,1)(1,2)(2,3)(3,4)}var R=new U("CDK_TABLE");var we=(()=>{class i{template=a(F);constructor(){}static \u0275fac=function(t){return new(t||i)};static \u0275dir=l({type:i,selectors:[["","cdkCellDef",""]]})}return i})(),De=(()=>{class i{template=a(F);constructor(){}static \u0275fac=function(t){return new(t||i)};static \u0275dir=l({type:i,selectors:[["","cdkHeaderCellDef",""]]})}return i})(),pt=(()=>{class i{template=a(F);constructor(){}static \u0275fac=function(t){return new(t||i)};static \u0275dir=l({type:i,selectors:[["","cdkFooterCellDef",""]]})}return i})(),J=(()=>{class i{_table=a(R,{optional:!0});_hasStickyChanged=!1;get name(){return this._name}set name(e){this._setNameInput(e)}_name;get sticky(){return this._sticky}set sticky(e){e!==this._sticky&&(this._sticky=e,this._hasStickyChanged=!0)}_sticky=!1;get stickyEnd(){return this._stickyEnd}set stickyEnd(e){e!==this._stickyEnd&&(this._stickyEnd=e,this._hasStickyChanged=!0)}_stickyEnd=!1;cell;headerCell;footerCell;cssClassFriendlyName;_columnCssClassName;constructor(){}hasStickyChanged(){let e=this._hasStickyChanged;return this.resetStickyChanged(),e}resetStickyChanged(){this._hasStickyChanged=!1}_updateColumnCssClassName(){this._columnCssClassName=[`cdk-column-${this.cssClassFriendlyName}`]}_setNameInput(e){e&&(this._name=e,this.cssClassFriendlyName=e.replace(/[^a-z0-9_-]/gi,"-"),this._updateColumnCssClassName())}static \u0275fac=function(t){return new(t||i)};static \u0275dir=l({type:i,selectors:[["","cdkColumnDef",""]],contentQueries:function(t,o,r){if(t&1&&(O(r,we,5),O(r,De,5),O(r,pt,5)),t&2){let n;A(n=I())&&(o.cell=n.first),A(n=I())&&(o.headerCell=n.first),A(n=I())&&(o.footerCell=n.first)}},inputs:{name:[0,"cdkColumnDef","name"],sticky:[2,"sticky","sticky",_],stickyEnd:[2,"stickyEnd","stickyEnd",_]},features:[D([{provide:"MAT_SORT_HEADER_COLUMN_DEF",useExisting:i}]),T]})}return i})(),_e=class{constructor(s,e){e.nativeElement.classList.add(...s._columnCssClassName)}},gt=(()=>{class i extends _e{constructor(){super(a(J),a(k))}static \u0275fac=function(t){return new(t||i)};static \u0275dir=l({type:i,selectors:[["cdk-header-cell"],["th","cdk-header-cell",""]],hostAttrs:["role","columnheader",1,"cdk-header-cell"],features:[h]})}return i})();var yt=(()=>{class i extends _e{constructor(){let e=a(J),t=a(k);super(e,t);let o=e._table?._getCellRole();o&&t.nativeElement.setAttribute("role",o)}static \u0275fac=function(t){return new(t||i)};static \u0275dir=l({type:i,selectors:[["cdk-cell"],["td","cdk-cell",""]],hostAttrs:[1,"cdk-cell"],features:[h]})}return i})(),pe=class{tasks=[];endTasks=[]},ge=new U("_COALESCED_STYLE_SCHEDULER"),Me=(()=>{class i{_currentSchedule=null;_ngZone=a(qe);constructor(){}schedule(e){this._createScheduleIfNeeded(),this._currentSchedule.tasks.push(e)}scheduleEnd(e){this._createScheduleIfNeeded(),this._currentSchedule.endTasks.push(e)}_createScheduleIfNeeded(){this._currentSchedule||(this._currentSchedule=new pe,this._ngZone.runOutsideAngular(()=>queueMicrotask(()=>{for(;this._currentSchedule.tasks.length||this._currentSchedule.endTasks.length;){let e=this._currentSchedule;this._currentSchedule=new pe;for(let t of e.tasks)t();for(let t of e.endTasks)t()}this._currentSchedule=null})))}static \u0275fac=function(t){return new(t||i)};static \u0275prov=ce({token:i,factory:i.\u0275fac})}return i})();var Ee=(()=>{class i{template=a(F);_differs=a(Z);columns;_columnsDiffer;constructor(){}ngOnChanges(e){if(!this._columnsDiffer){let t=e.columns&&e.columns.currentValue||[];this._columnsDiffer=this._differs.find(t).create(),this._columnsDiffer.diff(t)}}getColumnsDiff(){return this._columnsDiffer.diff(this.columns)}extractCellTemplate(e){return this instanceof se?e.headerCell.template:this instanceof Fe?e.footerCell.template:e.cell.template}static \u0275fac=function(t){return new(t||i)};static \u0275dir=l({type:i,features:[W]})}return i})(),se=(()=>{class i extends Ee{_table=a(R,{optional:!0});_hasStickyChanged=!1;get sticky(){return this._sticky}set sticky(e){e!==this._sticky&&(this._sticky=e,this._hasStickyChanged=!0)}_sticky=!1;constructor(){super(a(F),a(Z))}ngOnChanges(e){super.ngOnChanges(e)}hasStickyChanged(){let e=this._hasStickyChanged;return this.resetStickyChanged(),e}resetStickyChanged(){this._hasStickyChanged=!1}static \u0275fac=function(t){return new(t||i)};static \u0275dir=l({type:i,selectors:[["","cdkHeaderRowDef",""]],inputs:{columns:[0,"cdkHeaderRowDef","columns"],sticky:[2,"cdkHeaderRowDefSticky","sticky",_]},features:[T,h,W]})}return i})(),Fe=(()=>{class i extends Ee{_table=a(R,{optional:!0});_hasStickyChanged=!1;get sticky(){return this._sticky}set sticky(e){e!==this._sticky&&(this._sticky=e,this._hasStickyChanged=!0)}_sticky=!1;constructor(){super(a(F),a(Z))}ngOnChanges(e){super.ngOnChanges(e)}hasStickyChanged(){let e=this._hasStickyChanged;return this.resetStickyChanged(),e}resetStickyChanged(){this._hasStickyChanged=!1}static \u0275fac=function(t){return new(t||i)};static \u0275dir=l({type:i,selectors:[["","cdkFooterRowDef",""]],inputs:{columns:[0,"cdkFooterRowDef","columns"],sticky:[2,"cdkFooterRowDefSticky","sticky",_]},features:[T,h,W]})}return i})(),Ce=(()=>{class i extends Ee{_table=a(R,{optional:!0});when;constructor(){super(a(F),a(Z))}static \u0275fac=function(t){return new(t||i)};static \u0275dir=l({type:i,selectors:[["","cdkRowDef",""]],inputs:{columns:[0,"cdkRowDefColumns","columns"],when:[0,"cdkRowDefWhen","when"]},features:[h]})}return i})(),j=(()=>{class i{_viewContainer=a($);cells;context;static mostRecentCellOutlet=null;constructor(){i.mostRecentCellOutlet=this}ngOnDestroy(){i.mostRecentCellOutlet===this&&(i.mostRecentCellOutlet=null)}static \u0275fac=function(t){return new(t||i)};static \u0275dir=l({type:i,selectors:[["","cdkCellOutlet",""]]})}return i})(),Oe=(()=>{class i{static \u0275fac=function(t){return new(t||i)};static \u0275cmp=x({type:i,selectors:[["cdk-header-row"],["tr","cdk-header-row",""]],hostAttrs:["role","row",1,"cdk-header-row"],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(t,o){t&1&&m(0,0)},dependencies:[j],encapsulation:2})}return i})();var Ae=(()=>{class i{static \u0275fac=function(t){return new(t||i)};static \u0275cmp=x({type:i,selectors:[["cdk-row"],["tr","cdk-row",""]],hostAttrs:["role","row",1,"cdk-row"],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(t,o){t&1&&m(0,0)},dependencies:[j],encapsulation:2})}return i})(),wt=(()=>{class i{templateRef=a(F);_contentClassName="cdk-no-data-row";constructor(){}static \u0275fac=function(t){return new(t||i)};static \u0275dir=l({type:i,selectors:[["ng-template","cdkNoDataRow",""]]})}return i})(),mt=["top","bottom","left","right"],Te=class{_isNativeHtmlTable;_stickCellCss;direction;_coalescedStyleScheduler;_isBrowser;_needsPositionStickyOnElement;_positionListener;_elemSizeCache=new WeakMap;_resizeObserver=globalThis?.ResizeObserver?new globalThis.ResizeObserver(s=>this._updateCachedSizes(s)):null;_updatedStickyColumnsParamsToReplay=[];_stickyColumnsReplayTimeout=null;_cachedCellWidths=[];_borderCellCss;constructor(s,e,t,o,r=!0,n=!0,c){this._isNativeHtmlTable=s,this._stickCellCss=e,this.direction=t,this._coalescedStyleScheduler=o,this._isBrowser=r,this._needsPositionStickyOnElement=n,this._positionListener=c,this._borderCellCss={top:`${e}-border-elem-top`,bottom:`${e}-border-elem-bottom`,left:`${e}-border-elem-left`,right:`${e}-border-elem-right`}}clearStickyPositioning(s,e){(e.includes("left")||e.includes("right"))&&this._removeFromStickyColumnReplayQueue(s);let t=[];for(let o of s)if(o.nodeType===o.ELEMENT_NODE){t.push(o);for(let r=0;r<o.children.length;r++)t.push(o.children[r])}this._coalescedStyleScheduler.schedule(()=>{for(let o of t)this._removeStickyStyle(o,e)})}updateStickyColumns(s,e,t,o=!0,r=!0){if(r&&this._updateStickyColumnReplayQueue({rows:[...s],stickyStartStates:[...e],stickyEndStates:[...t]}),!s.length||!this._isBrowser||!(e.some(n=>n)||t.some(n=>n))){this._positionListener&&(this._positionListener.stickyColumnsUpdated({sizes:[]}),this._positionListener.stickyEndColumnsUpdated({sizes:[]}));return}this._coalescedStyleScheduler.schedule(()=>{let n=s[0],c=n.children.length,d=this._getCellWidths(n,o),B=this._getStickyStartColumnPositions(d,e),f=this._getStickyEndColumnPositions(d,t),N=e.lastIndexOf(!0),b=t.indexOf(!0),L=this.direction==="rtl",Ct=L?"right":"left",vt=L?"left":"right";for(let ee of s)for(let p=0;p<c;p++){let Le=ee.children[p];e[p]&&this._addStickyStyle(Le,Ct,B[p],p===N),t[p]&&this._addStickyStyle(Le,vt,f[p],p===b)}this._positionListener&&(this._positionListener.stickyColumnsUpdated({sizes:N===-1?[]:d.slice(0,N+1).map((ee,p)=>e[p]?ee:null)}),this._positionListener.stickyEndColumnsUpdated({sizes:b===-1?[]:d.slice(b).map((ee,p)=>t[p+b]?ee:null).reverse()}))})}stickRows(s,e,t){this._isBrowser&&this._coalescedStyleScheduler.schedule(()=>{let o=t==="bottom"?s.slice().reverse():s,r=t==="bottom"?e.slice().reverse():e,n=[],c=[],d=[];for(let f=0,N=0;f<o.length;f++){if(!r[f])continue;n[f]=N;let b=o[f];d[f]=this._isNativeHtmlTable?Array.from(b.children):[b];let L=this._retrieveElementSize(b).height;N+=L,c[f]=L}let B=r.lastIndexOf(!0);for(let f=0;f<o.length;f++){if(!r[f])continue;let N=n[f],b=f===B;for(let L of d[f])this._addStickyStyle(L,t,N,b)}t==="top"?this._positionListener?.stickyHeaderRowsUpdated({sizes:c,offsets:n,elements:d}):this._positionListener?.stickyFooterRowsUpdated({sizes:c,offsets:n,elements:d})})}updateStickyFooterContainer(s,e){this._isNativeHtmlTable&&this._coalescedStyleScheduler.schedule(()=>{let t=s.querySelector("tfoot");t&&(e.some(o=>!o)?this._removeStickyStyle(t,["bottom"]):this._addStickyStyle(t,"bottom",0,!1))})}_removeStickyStyle(s,e){for(let o of e)s.style[o]="",s.classList.remove(this._borderCellCss[o]);mt.some(o=>e.indexOf(o)===-1&&s.style[o])?s.style.zIndex=this._getCalculatedZIndex(s):(s.style.zIndex="",this._needsPositionStickyOnElement&&(s.style.position=""),s.classList.remove(this._stickCellCss))}_addStickyStyle(s,e,t,o){s.classList.add(this._stickCellCss),o&&s.classList.add(this._borderCellCss[e]),s.style[e]=`${t}px`,s.style.zIndex=this._getCalculatedZIndex(s),this._needsPositionStickyOnElement&&(s.style.cssText+="position: -webkit-sticky; position: sticky; ")}_getCalculatedZIndex(s){let e={top:100,bottom:10,left:1,right:1},t=0;for(let o of mt)s.style[o]&&(t+=e[o]);return t?`${t}`:""}_getCellWidths(s,e=!0){if(!e&&this._cachedCellWidths.length)return this._cachedCellWidths;let t=[],o=s.children;for(let r=0;r<o.length;r++){let n=o[r];t.push(this._retrieveElementSize(n).width)}return this._cachedCellWidths=t,t}_getStickyStartColumnPositions(s,e){let t=[],o=0;for(let r=0;r<s.length;r++)e[r]&&(t[r]=o,o+=s[r]);return t}_getStickyEndColumnPositions(s,e){let t=[],o=0;for(let r=s.length;r>0;r--)e[r]&&(t[r]=o,o+=s[r]);return t}_retrieveElementSize(s){let e=this._elemSizeCache.get(s);if(e)return e;let t=s.getBoundingClientRect(),o={width:t.width,height:t.height};return this._resizeObserver&&(this._elemSizeCache.set(s,o),this._resizeObserver.observe(s,{box:"border-box"})),o}_updateStickyColumnReplayQueue(s){this._removeFromStickyColumnReplayQueue(s.rows),!this._stickyColumnsReplayTimeout&&this._updatedStickyColumnsParamsToReplay.push(s)}_removeFromStickyColumnReplayQueue(s){let e=new Set(s);for(let t of this._updatedStickyColumnsParamsToReplay)t.rows=t.rows.filter(o=>!e.has(o));this._updatedStickyColumnsParamsToReplay=this._updatedStickyColumnsParamsToReplay.filter(t=>!!t.rows.length)}_updateCachedSizes(s){let e=!1;for(let t of s){let o=t.borderBoxSize?.length?{width:t.borderBoxSize[0].inlineSize,height:t.borderBoxSize[0].blockSize}:{width:t.contentRect.width,height:t.contentRect.height};o.width!==this._elemSizeCache.get(t.target)?.width&&Vt(t.target)&&(e=!0),this._elemSizeCache.set(t.target,o)}e&&this._updatedStickyColumnsParamsToReplay.length&&(this._stickyColumnsReplayTimeout&&clearTimeout(this._stickyColumnsReplayTimeout),this._stickyColumnsReplayTimeout=setTimeout(()=>{for(let t of this._updatedStickyColumnsParamsToReplay)this.updateStickyColumns(t.rows,t.stickyStartStates,t.stickyEndStates,!0,!1);this._updatedStickyColumnsParamsToReplay=[],this._stickyColumnsReplayTimeout=null},0))}};function Vt(i){return["cdk-cell","cdk-header-cell","cdk-footer-cell"].some(s=>i.classList.contains(s))}var ye=new U("CDK_SPL");var Ie=(()=>{class i{viewContainer=a($);elementRef=a(k);constructor(){let e=a(R);e._rowOutlet=this,e._outletAssigned()}static \u0275fac=function(t){return new(t||i)};static \u0275dir=l({type:i,selectors:[["","rowOutlet",""]]})}return i})(),Ne=(()=>{class i{viewContainer=a($);elementRef=a(k);constructor(){let e=a(R);e._headerRowOutlet=this,e._outletAssigned()}static \u0275fac=function(t){return new(t||i)};static \u0275dir=l({type:i,selectors:[["","headerRowOutlet",""]]})}return i})(),Pe=(()=>{class i{viewContainer=a($);elementRef=a(k);constructor(){let e=a(R);e._footerRowOutlet=this,e._outletAssigned()}static \u0275fac=function(t){return new(t||i)};static \u0275dir=l({type:i,selectors:[["","footerRowOutlet",""]]})}return i})(),He=(()=>{class i{viewContainer=a($);elementRef=a(k);constructor(){let e=a(R);e._noDataRowOutlet=this,e._outletAssigned()}static \u0275fac=function(t){return new(t||i)};static \u0275dir=l({type:i,selectors:[["","noDataRowOutlet",""]]})}return i})();var Be=(()=>{class i{_differs=a(Z);_changeDetectorRef=a(de);_elementRef=a(k);_dir=a(nt,{optional:!0});_platform=a(tt);_viewRepeater=a(ne);_coalescedStyleScheduler=a(ge);_viewportRuler=a(dt);_stickyPositioningListener=a(ye,{optional:!0,skipSelf:!0});_document=a(Xe);_data;_onDestroy=new te;_renderRows;_renderChangeSubscription;_columnDefsByName=new Map;_rowDefs;_headerRowDefs;_footerRowDefs;_dataDiffer;_defaultRowDef;_customColumnDefs=new Set;_customRowDefs=new Set;_customHeaderRowDefs=new Set;_customFooterRowDefs=new Set;_customNoDataRow;_headerRowDefChanged=!0;_footerRowDefChanged=!0;_stickyColumnStylesNeedReset=!0;_forceRecalculateCellWidths=!0;_cachedRenderRowsMap=new Map;_isNativeHtmlTable;_stickyStyler;stickyCssClass="cdk-table-sticky";needsPositionStickyOnElement=!0;_isServer;_isShowingNoDataRow=!1;_hasAllOutlets=!1;_hasInitialized=!1;_getCellRole(){if(this._cellRoleInternal===void 0){let e=this._elementRef.nativeElement.getAttribute("role");return e==="grid"||e==="treegrid"?"gridcell":"cell"}return this._cellRoleInternal}_cellRoleInternal=void 0;get trackBy(){return this._trackByFn}set trackBy(e){this._trackByFn=e}_trackByFn;get dataSource(){return this._dataSource}set dataSource(e){this._dataSource!==e&&this._switchDataSource(e)}_dataSource;get multiTemplateDataRows(){return this._multiTemplateDataRows}set multiTemplateDataRows(e){this._multiTemplateDataRows=e,this._rowOutlet&&this._rowOutlet.viewContainer.length&&(this._forceRenderDataRows(),this.updateStickyColumnStyles())}_multiTemplateDataRows=!1;get fixedLayout(){return this._fixedLayout}set fixedLayout(e){this._fixedLayout=e,this._forceRecalculateCellWidths=!0,this._stickyColumnStylesNeedReset=!0}_fixedLayout=!1;contentChanged=new le;viewChange=new ze({start:0,end:Number.MAX_VALUE});_rowOutlet;_headerRowOutlet;_footerRowOutlet;_noDataRowOutlet;_contentColumnDefs;_contentRowDefs;_contentHeaderRowDefs;_contentFooterRowDefs;_noDataRow;_injector=a(Ye);constructor(){a(new $e("role"),{optional:!0})||this._elementRef.nativeElement.setAttribute("role","table"),this._isServer=!this._platform.isBrowser,this._isNativeHtmlTable=this._elementRef.nativeElement.nodeName==="TABLE"}ngOnInit(){this._setupStickyStyler(),this._dataDiffer=this._differs.find([]).create((e,t)=>this.trackBy?this.trackBy(t.dataIndex,t.data):t),this._viewportRuler.change().pipe(ae(this._onDestroy)).subscribe(()=>{this._forceRecalculateCellWidths=!0})}ngAfterContentInit(){this._hasInitialized=!0}ngAfterContentChecked(){this._canRender()&&this._render()}ngOnDestroy(){[this._rowOutlet?.viewContainer,this._headerRowOutlet?.viewContainer,this._footerRowOutlet?.viewContainer,this._cachedRenderRowsMap,this._customColumnDefs,this._customRowDefs,this._customHeaderRowDefs,this._customFooterRowDefs,this._columnDefsByName].forEach(e=>{e?.clear()}),this._headerRowDefs=[],this._footerRowDefs=[],this._defaultRowDef=null,this._onDestroy.next(),this._onDestroy.complete(),ue(this.dataSource)&&this.dataSource.disconnect(this)}renderRows(){this._renderRows=this._getAllRenderRows();let e=this._dataDiffer.diff(this._renderRows);if(!e){this._updateNoDataRow(),this.contentChanged.next();return}let t=this._rowOutlet.viewContainer;this._viewRepeater.applyChanges(e,t,(o,r,n)=>this._getEmbeddedViewArgs(o.item,n),o=>o.item.data,o=>{o.operation===lt.INSERTED&&o.context&&this._renderCellTemplateForItem(o.record.item.rowDef,o.context)}),this._updateRowIndexContext(),e.forEachIdentityChange(o=>{let r=t.get(o.currentIndex);r.context.$implicit=o.item.data}),this._updateNoDataRow(),Ke(()=>{this.updateStickyColumnStyles()},{injector:this._injector}),this.contentChanged.next()}addColumnDef(e){this._customColumnDefs.add(e)}removeColumnDef(e){this._customColumnDefs.delete(e)}addRowDef(e){this._customRowDefs.add(e)}removeRowDef(e){this._customRowDefs.delete(e)}addHeaderRowDef(e){this._customHeaderRowDefs.add(e),this._headerRowDefChanged=!0}removeHeaderRowDef(e){this._customHeaderRowDefs.delete(e),this._headerRowDefChanged=!0}addFooterRowDef(e){this._customFooterRowDefs.add(e),this._footerRowDefChanged=!0}removeFooterRowDef(e){this._customFooterRowDefs.delete(e),this._footerRowDefChanged=!0}setNoDataRow(e){this._customNoDataRow=e}updateStickyHeaderRowStyles(){let e=this._getRenderedRows(this._headerRowOutlet);if(this._isNativeHtmlTable){let o=_t(this._headerRowOutlet,"thead");o&&(o.style.display=e.length?"":"none")}let t=this._headerRowDefs.map(o=>o.sticky);this._stickyStyler.clearStickyPositioning(e,["top"]),this._stickyStyler.stickRows(e,t,"top"),this._headerRowDefs.forEach(o=>o.resetStickyChanged())}updateStickyFooterRowStyles(){let e=this._getRenderedRows(this._footerRowOutlet);if(this._isNativeHtmlTable){let o=_t(this._footerRowOutlet,"tfoot");o&&(o.style.display=e.length?"":"none")}let t=this._footerRowDefs.map(o=>o.sticky);this._stickyStyler.clearStickyPositioning(e,["bottom"]),this._stickyStyler.stickRows(e,t,"bottom"),this._stickyStyler.updateStickyFooterContainer(this._elementRef.nativeElement,t),this._footerRowDefs.forEach(o=>o.resetStickyChanged())}updateStickyColumnStyles(){let e=this._getRenderedRows(this._headerRowOutlet),t=this._getRenderedRows(this._rowOutlet),o=this._getRenderedRows(this._footerRowOutlet);(this._isNativeHtmlTable&&!this._fixedLayout||this._stickyColumnStylesNeedReset)&&(this._stickyStyler.clearStickyPositioning([...e,...t,...o],["left","right"]),this._stickyColumnStylesNeedReset=!1),e.forEach((r,n)=>{this._addStickyColumnStyles([r],this._headerRowDefs[n])}),this._rowDefs.forEach(r=>{let n=[];for(let c=0;c<t.length;c++)this._renderRows[c].rowDef===r&&n.push(t[c]);this._addStickyColumnStyles(n,r)}),o.forEach((r,n)=>{this._addStickyColumnStyles([r],this._footerRowDefs[n])}),Array.from(this._columnDefsByName.values()).forEach(r=>r.resetStickyChanged())}_outletAssigned(){!this._hasAllOutlets&&this._rowOutlet&&this._headerRowOutlet&&this._footerRowOutlet&&this._noDataRowOutlet&&(this._hasAllOutlets=!0,this._canRender()&&this._render())}_canRender(){return this._hasAllOutlets&&this._hasInitialized}_render(){this._cacheRowDefs(),this._cacheColumnDefs(),!this._headerRowDefs.length&&!this._footerRowDefs.length&&this._rowDefs.length;let t=this._renderUpdatedColumns()||this._headerRowDefChanged||this._footerRowDefChanged;this._stickyColumnStylesNeedReset=this._stickyColumnStylesNeedReset||t,this._forceRecalculateCellWidths=t,this._headerRowDefChanged&&(this._forceRenderHeaderRows(),this._headerRowDefChanged=!1),this._footerRowDefChanged&&(this._forceRenderFooterRows(),this._footerRowDefChanged=!1),this.dataSource&&this._rowDefs.length>0&&!this._renderChangeSubscription?this._observeRenderChanges():this._stickyColumnStylesNeedReset&&this.updateStickyColumnStyles(),this._checkStickyStates()}_getAllRenderRows(){let e=[],t=this._cachedRenderRowsMap;this._cachedRenderRowsMap=new Map;for(let o=0;o<this._data.length;o++){let r=this._data[o],n=this._getRenderRowsForData(r,o,t.get(r));this._cachedRenderRowsMap.has(r)||this._cachedRenderRowsMap.set(r,new WeakMap);for(let c=0;c<n.length;c++){let d=n[c],B=this._cachedRenderRowsMap.get(d.data);B.has(d.rowDef)?B.get(d.rowDef).push(d):B.set(d.rowDef,[d]),e.push(d)}}return e}_getRenderRowsForData(e,t,o){return this._getRowDefs(e,t).map(n=>{let c=o&&o.has(n)?o.get(n):[];if(c.length){let d=c.shift();return d.dataIndex=t,d}else return{data:e,rowDef:n,dataIndex:t}})}_cacheColumnDefs(){this._columnDefsByName.clear(),me(this._getOwnDefs(this._contentColumnDefs),this._customColumnDefs).forEach(t=>{this._columnDefsByName.has(t.name),this._columnDefsByName.set(t.name,t)})}_cacheRowDefs(){this._headerRowDefs=me(this._getOwnDefs(this._contentHeaderRowDefs),this._customHeaderRowDefs),this._footerRowDefs=me(this._getOwnDefs(this._contentFooterRowDefs),this._customFooterRowDefs),this._rowDefs=me(this._getOwnDefs(this._contentRowDefs),this._customRowDefs);let e=this._rowDefs.filter(t=>!t.when);!this.multiTemplateDataRows&&e.length>1,this._defaultRowDef=e[0]}_renderUpdatedColumns(){let e=(n,c)=>{let d=!!c.getColumnsDiff();return n||d},t=this._rowDefs.reduce(e,!1);t&&this._forceRenderDataRows();let o=this._headerRowDefs.reduce(e,!1);o&&this._forceRenderHeaderRows();let r=this._footerRowDefs.reduce(e,!1);return r&&this._forceRenderFooterRows(),t||o||r}_switchDataSource(e){this._data=[],ue(this.dataSource)&&this.dataSource.disconnect(this),this._renderChangeSubscription&&(this._renderChangeSubscription.unsubscribe(),this._renderChangeSubscription=null),e||(this._dataDiffer&&this._dataDiffer.diff([]),this._rowOutlet&&this._rowOutlet.viewContainer.clear()),this._dataSource=e}_observeRenderChanges(){if(!this.dataSource)return;let e;ue(this.dataSource)?e=this.dataSource.connect(this):je(this.dataSource)?e=this.dataSource:Array.isArray(this.dataSource)&&(e=ve(this.dataSource)),this._renderChangeSubscription=e.pipe(ae(this._onDestroy)).subscribe(t=>{this._data=t||[],this.renderRows()})}_forceRenderHeaderRows(){this._headerRowOutlet.viewContainer.length>0&&this._headerRowOutlet.viewContainer.clear(),this._headerRowDefs.forEach((e,t)=>this._renderRow(this._headerRowOutlet,e,t)),this.updateStickyHeaderRowStyles()}_forceRenderFooterRows(){this._footerRowOutlet.viewContainer.length>0&&this._footerRowOutlet.viewContainer.clear(),this._footerRowDefs.forEach((e,t)=>this._renderRow(this._footerRowOutlet,e,t)),this.updateStickyFooterRowStyles()}_addStickyColumnStyles(e,t){let o=Array.from(t.columns||[]).map(c=>{let d=this._columnDefsByName.get(c);return d}),r=o.map(c=>c.sticky),n=o.map(c=>c.stickyEnd);this._stickyStyler.updateStickyColumns(e,r,n,!this._fixedLayout||this._forceRecalculateCellWidths)}_getRenderedRows(e){let t=[];for(let o=0;o<e.viewContainer.length;o++){let r=e.viewContainer.get(o);t.push(r.rootNodes[0])}return t}_getRowDefs(e,t){if(this._rowDefs.length==1)return[this._rowDefs[0]];let o=[];if(this.multiTemplateDataRows)o=this._rowDefs.filter(r=>!r.when||r.when(t,e));else{let r=this._rowDefs.find(n=>n.when&&n.when(t,e))||this._defaultRowDef;r&&o.push(r)}return o.length,o}_getEmbeddedViewArgs(e,t){let o=e.rowDef,r={$implicit:e.data};return{templateRef:o.template,context:r,index:t}}_renderRow(e,t,o,r={}){let n=e.viewContainer.createEmbeddedView(t.template,r,o);return this._renderCellTemplateForItem(t,r),n}_renderCellTemplateForItem(e,t){for(let o of this._getCellTemplates(e))j.mostRecentCellOutlet&&j.mostRecentCellOutlet._viewContainer.createEmbeddedView(o,t);this._changeDetectorRef.markForCheck()}_updateRowIndexContext(){let e=this._rowOutlet.viewContainer;for(let t=0,o=e.length;t<o;t++){let n=e.get(t).context;n.count=o,n.first=t===0,n.last=t===o-1,n.even=t%2===0,n.odd=!n.even,this.multiTemplateDataRows?(n.dataIndex=this._renderRows[t].dataIndex,n.renderIndex=t):n.index=this._renderRows[t].dataIndex}}_getCellTemplates(e){return!e||!e.columns?[]:Array.from(e.columns,t=>{let o=this._columnDefsByName.get(t);return e.extractCellTemplate(o)})}_forceRenderDataRows(){this._dataDiffer.diff([]),this._rowOutlet.viewContainer.clear(),this.renderRows()}_checkStickyStates(){let e=(t,o)=>t||o.hasStickyChanged();this._headerRowDefs.reduce(e,!1)&&this.updateStickyHeaderRowStyles(),this._footerRowDefs.reduce(e,!1)&&this.updateStickyFooterRowStyles(),Array.from(this._columnDefsByName.values()).reduce(e,!1)&&(this._stickyColumnStylesNeedReset=!0,this.updateStickyColumnStyles())}_setupStickyStyler(){let e=this._dir?this._dir.value:"ltr";this._stickyStyler=new Te(this._isNativeHtmlTable,this.stickyCssClass,e,this._coalescedStyleScheduler,this._platform.isBrowser,this.needsPositionStickyOnElement,this._stickyPositioningListener),(this._dir?this._dir.change:ve()).pipe(ae(this._onDestroy)).subscribe(t=>{this._stickyStyler.direction=t,this.updateStickyColumnStyles()})}_getOwnDefs(e){return e.filter(t=>!t._table||t._table===this)}_updateNoDataRow(){let e=this._customNoDataRow||this._noDataRow;if(!e)return;let t=this._rowOutlet.viewContainer.length===0;if(t===this._isShowingNoDataRow)return;let o=this._noDataRowOutlet.viewContainer;if(t){let r=o.createEmbeddedView(e.templateRef),n=r.rootNodes[0];r.rootNodes.length===1&&n?.nodeType===this._document.ELEMENT_NODE&&(n.setAttribute("role","row"),n.classList.add(e._contentClassName))}else o.clear();this._isShowingNoDataRow=t,this._changeDetectorRef.markForCheck()}static \u0275fac=function(t){return new(t||i)};static \u0275cmp=x({type:i,selectors:[["cdk-table"],["table","cdk-table",""]],contentQueries:function(t,o,r){if(t&1&&(O(r,wt,5),O(r,J,5),O(r,Ce,5),O(r,se,5),O(r,Fe,5)),t&2){let n;A(n=I())&&(o._noDataRow=n.first),A(n=I())&&(o._contentColumnDefs=n),A(n=I())&&(o._contentRowDefs=n),A(n=I())&&(o._contentHeaderRowDefs=n),A(n=I())&&(o._contentFooterRowDefs=n)}},hostAttrs:[1,"cdk-table"],hostVars:2,hostBindings:function(t,o){t&2&&z("cdk-table-fixed-layout",o.fixedLayout)},inputs:{trackBy:"trackBy",dataSource:"dataSource",multiTemplateDataRows:[2,"multiTemplateDataRows","multiTemplateDataRows",_],fixedLayout:[2,"fixedLayout","fixedLayout",_]},outputs:{contentChanged:"contentChanged"},exportAs:["cdkTable"],features:[D([{provide:R,useExisting:i},{provide:ne,useClass:he},{provide:ge,useClass:Me},{provide:ye,useValue:null}]),T],ngContentSelectors:Ht,decls:5,vars:2,consts:[["role","rowgroup"],["headerRowOutlet",""],["rowOutlet",""],["noDataRowOutlet",""],["footerRowOutlet",""]],template:function(t,o){t&1&&(G(Pt),M(0),M(1,1),q(2,Bt,1,0)(3,Lt,7,0)(4,zt,4,0)),t&2&&(v(2),P(o._isServer?2:-1),v(),P(o._isNativeHtmlTable?3:4))},dependencies:[Ne,Ie,He,Pe],styles:[".cdk-table-fixed-layout{table-layout:fixed}"],encapsulation:2})}return i})();function me(i,s){return i.concat(Array.from(s))}function _t(i,s){let e=s.toUpperCase(),t=i.viewContainer.element.nativeElement;for(;t;){let o=t.nodeType===1?t.nodeName:null;if(o===e)return t;if(o==="TABLE")break;t=t.parentNode}return null}var Dt=(()=>{class i{static \u0275fac=function(t){return new(t||i)};static \u0275mod=Y({type:i});static \u0275inj=Q({imports:[ut]})}return i})();var jt=[[["caption"]],[["colgroup"],["col"]],"*"],Qt=["caption","colgroup, col","*"];function Ut(i,s){i&1&&M(0,2)}function Wt(i,s){i&1&&(y(0,"thead",0),m(1,1),w(),y(2,"tbody",2),m(3,3)(4,4),w(),y(5,"tfoot",0),m(6,5),w())}function Yt(i,s){i&1&&m(0,1)(1,3)(2,4)(3,5)}var Ki=(()=>{class i extends Be{stickyCssClass="mat-mdc-table-sticky";needsPositionStickyOnElement=!1;static \u0275fac=(()=>{let e;return function(o){return(e||(e=C(i)))(o||i)}})();static \u0275cmp=x({type:i,selectors:[["mat-table"],["table","mat-table",""]],hostAttrs:[1,"mat-mdc-table","mdc-data-table__table"],hostVars:2,hostBindings:function(t,o){t&2&&z("mdc-table-fixed-layout",o.fixedLayout)},exportAs:["matTable"],features:[D([{provide:Be,useExisting:i},{provide:R,useExisting:i},{provide:ge,useClass:Me},{provide:ne,useClass:he},{provide:ye,useValue:null}]),h],ngContentSelectors:Qt,decls:5,vars:2,consts:[["role","rowgroup"],["headerRowOutlet",""],["role","rowgroup",1,"mdc-data-table__content"],["rowOutlet",""],["noDataRowOutlet",""],["footerRowOutlet",""]],template:function(t,o){t&1&&(G(jt),M(0),M(1,1),q(2,Ut,1,0)(3,Wt,7,0)(4,Yt,4,0)),t&2&&(v(2),P(o._isServer?2:-1),v(),P(o._isNativeHtmlTable?3:4))},dependencies:[Ne,Ie,He,Pe],styles:[".mat-mdc-table-sticky{position:sticky !important}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{min-width:100%;border:0;border-spacing:0;table-layout:auto;white-space:normal;background-color:var(--mat-table-background-color, var(--mat-sys-surface))}.mdc-data-table__cell{box-sizing:border-box;overflow:hidden;text-align:left;text-overflow:ellipsis}[dir=rtl] .mdc-data-table__cell{text-align:right}.mdc-data-table__cell,.mdc-data-table__header-cell{padding:0 16px}.mat-mdc-header-row{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;height:var(--mat-table-header-container-height, 56px);color:var(--mat-table-header-headline-color, var(--mat-sys-on-surface, rgba(0, 0, 0, 0.87)));font-family:var(--mat-table-header-headline-font, var(--mat-sys-title-small-font, Roboto, sans-serif));line-height:var(--mat-table-header-headline-line-height, var(--mat-sys-title-small-line-height));font-size:var(--mat-table-header-headline-size, var(--mat-sys-title-small-size, 14px));font-weight:var(--mat-table-header-headline-weight, var(--mat-sys-title-small-weight, 500))}.mat-mdc-row{height:var(--mat-table-row-item-container-height, 52px);color:var(--mat-table-row-item-label-text-color, var(--mat-sys-on-surface, rgba(0, 0, 0, 0.87)))}.mat-mdc-row,.mdc-data-table__content{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:var(--mat-table-row-item-label-text-font, var(--mat-sys-body-medium-font, Roboto, sans-serif));line-height:var(--mat-table-row-item-label-text-line-height, var(--mat-sys-body-medium-line-height));font-size:var(--mat-table-row-item-label-text-size, var(--mat-sys-body-medium-size, 14px));font-weight:var(--mat-table-row-item-label-text-weight, var(--mat-sys-body-medium-weight))}.mat-mdc-footer-row{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;height:var(--mat-table-footer-container-height, 52px);color:var(--mat-table-row-item-label-text-color, var(--mat-sys-on-surface, rgba(0, 0, 0, 0.87)));font-family:var(--mat-table-footer-supporting-text-font, var(--mat-sys-body-medium-font, Roboto, sans-serif));line-height:var(--mat-table-footer-supporting-text-line-height, var(--mat-sys-body-medium-line-height));font-size:var(--mat-table-footer-supporting-text-size, var(--mat-sys-body-medium-size, 14px));font-weight:var(--mat-table-footer-supporting-text-weight, var(--mat-sys-body-medium-weight));letter-spacing:var(--mat-table-footer-supporting-text-tracking, var(--mat-sys-body-medium-tracking))}.mat-mdc-header-cell{border-bottom-color:var(--mat-table-row-item-outline-color, var(--mat-sys-outline, rgba(0, 0, 0, 0.12)));border-bottom-width:var(--mat-table-row-item-outline-width, 1px);border-bottom-style:solid;letter-spacing:var(--mat-table-header-headline-tracking, var(--mat-sys-title-small-tracking));font-weight:inherit;line-height:inherit;box-sizing:border-box;text-overflow:ellipsis;overflow:hidden;outline:none;text-align:left}[dir=rtl] .mat-mdc-header-cell{text-align:right}.mat-mdc-cell{border-bottom-color:var(--mat-table-row-item-outline-color, var(--mat-sys-outline, rgba(0, 0, 0, 0.12)));border-bottom-width:var(--mat-table-row-item-outline-width, 1px);border-bottom-style:solid;letter-spacing:var(--mat-table-row-item-label-text-tracking, var(--mat-sys-body-medium-tracking));line-height:inherit}.mdc-data-table__row:last-child .mat-mdc-cell{border-bottom:none}.mat-mdc-footer-cell{letter-spacing:var(--mat-table-row-item-label-text-tracking, var(--mat-sys-body-medium-tracking))}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-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})}return i})(),Gi=(()=>{class i extends we{static \u0275fac=(()=>{let e;return function(o){return(e||(e=C(i)))(o||i)}})();static \u0275dir=l({type:i,selectors:[["","matCellDef",""]],features:[D([{provide:we,useExisting:i}]),h]})}return i})(),Zi=(()=>{class i extends De{static \u0275fac=(()=>{let e;return function(o){return(e||(e=C(i)))(o||i)}})();static \u0275dir=l({type:i,selectors:[["","matHeaderCellDef",""]],features:[D([{provide:De,useExisting:i}]),h]})}return i})();var Xi=(()=>{class i extends J{get name(){return this._name}set name(e){this._setNameInput(e)}_updateColumnCssClassName(){super._updateColumnCssClassName(),this._columnCssClassName.push(`mat-column-${this.cssClassFriendlyName}`)}static \u0275fac=(()=>{let e;return function(o){return(e||(e=C(i)))(o||i)}})();static \u0275dir=l({type:i,selectors:[["","matColumnDef",""]],inputs:{name:[0,"matColumnDef","name"]},features:[D([{provide:J,useExisting:i},{provide:"MAT_SORT_HEADER_COLUMN_DEF",useExisting:i}]),h]})}return i})(),Ji=(()=>{class i extends gt{static \u0275fac=(()=>{let e;return function(o){return(e||(e=C(i)))(o||i)}})();static \u0275dir=l({type:i,selectors:[["mat-header-cell"],["th","mat-header-cell",""]],hostAttrs:["role","columnheader",1,"mat-mdc-header-cell","mdc-data-table__header-cell"],features:[h]})}return i})();var eo=(()=>{class i extends yt{static \u0275fac=(()=>{let e;return function(o){return(e||(e=C(i)))(o||i)}})();static \u0275dir=l({type:i,selectors:[["mat-cell"],["td","mat-cell",""]],hostAttrs:[1,"mat-mdc-cell","mdc-data-table__cell"],features:[h]})}return i})();var to=(()=>{class i extends se{static \u0275fac=(()=>{let e;return function(o){return(e||(e=C(i)))(o||i)}})();static \u0275dir=l({type:i,selectors:[["","matHeaderRowDef",""]],inputs:{columns:[0,"matHeaderRowDef","columns"],sticky:[2,"matHeaderRowDefSticky","sticky",_]},features:[D([{provide:se,useExisting:i}]),T,h]})}return i})();var io=(()=>{class i extends Ce{static \u0275fac=(()=>{let e;return function(o){return(e||(e=C(i)))(o||i)}})();static \u0275dir=l({type:i,selectors:[["","matRowDef",""]],inputs:{columns:[0,"matRowDefColumns","columns"],when:[0,"matRowDefWhen","when"]},features:[D([{provide:Ce,useExisting:i}]),h]})}return i})(),oo=(()=>{class i extends Oe{static \u0275fac=(()=>{let e;return function(o){return(e||(e=C(i)))(o||i)}})();static \u0275cmp=x({type:i,selectors:[["mat-header-row"],["tr","mat-header-row",""]],hostAttrs:["role","row",1,"mat-mdc-header-row","mdc-data-table__header-row"],exportAs:["matHeaderRow"],features:[D([{provide:Oe,useExisting:i}]),h],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(t,o){t&1&&m(0,0)},dependencies:[j],encapsulation:2})}return i})();var ro=(()=>{class i extends Ae{static \u0275fac=(()=>{let e;return function(o){return(e||(e=C(i)))(o||i)}})();static \u0275cmp=x({type:i,selectors:[["mat-row"],["tr","mat-row",""]],hostAttrs:["role","row",1,"mat-mdc-row","mdc-data-table__row"],exportAs:["matRow"],features:[D([{provide:Ae,useExisting:i}]),h],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(t,o){t&1&&m(0,0)},dependencies:[j],encapsulation:2})}return i})();var no=(()=>{class i{static \u0275fac=function(t){return new(t||i)};static \u0275mod=Y({type:i});static \u0275inj=Q({imports:[re,Dt,re]})}return i})();export{kt as a,di as b,ui as c,Ki as d,Gi as e,Zi as f,Xi as g,Ji as h,eo as i,to as j,io as k,oo as l,ro as m,no as n};