Create New Item
Item Type
File
Folder
Item Name
Search file in folder and subfolders...
Are you sure want to rename?
overpastor
/
wp
/
wp.
/
wp-content
/
plugins
/
imunify-security
/
assets
/
ui-app
/
assets
/
static
/
shared-dependencies
:
grid-list.min.59600b43bfe3.js
Advanced Search
Upload
New Item
Settings
Back
Back Up
Advanced Editor
Save
System.register(["@angular/core","@angular/material/core","@angular/cdk/coercion","@angular/cdk/bidi"],(function(t){"use strict";var e,i,r,s,n,o,a,l;return{setters:[function(t){e=t.InjectionToken,i=t,t.Component,t.ViewEncapsulation,t.ChangeDetectionStrategy,t.Optional,t.Inject,t.Input,t.ContentChildren,t.Directive,t.NgModule},function(t){r=t.setLines,s=t.MatLine,n=t.MatLineModule,o=t.MatCommonModule},function(t){a=t.coerceNumberProperty},function(t){l=t}],execute:function(){const d=["*"],h=[[["","mat-grid-avatar",""],["","matGridAvatar",""]],[["","mat-line",""],["","matLine",""]],"*"],g=["[mat-grid-avatar], [matGridAvatar]","[mat-line], [matLine]","*"];class c{constructor(){this.columnIndex=0,this.rowIndex=0}get rowCount(){return this.rowIndex+1}get rowspan(){const t=Math.max(...this.tracker);return t>1?this.rowCount+t-1:this.rowCount}update(t,e){this.columnIndex=0,this.rowIndex=0,this.tracker=new Array(t),this.tracker.fill(0,0,this.tracker.length),this.positions=e.map((t=>this._trackTile(t)))}_trackTile(t){const e=this._findMatchingGap(t.colspan);return this._markTilePosition(e,t),this.columnIndex=e+t.colspan,new m(this.rowIndex,e)}_findMatchingGap(t){this.tracker.length;let e=-1,i=-1;do{this.columnIndex+t>this.tracker.length?(this._nextRow(),e=this.tracker.indexOf(0,this.columnIndex),i=this._findGapEndIndex(e)):(e=this.tracker.indexOf(0,this.columnIndex),-1!=e?(i=this._findGapEndIndex(e),this.columnIndex=e+1):(this._nextRow(),e=this.tracker.indexOf(0,this.columnIndex),i=this._findGapEndIndex(e)))}while(i-e<t||0==i);return Math.max(e,0)}_nextRow(){this.columnIndex=0,this.rowIndex++;for(let t=0;t<this.tracker.length;t++)this.tracker[t]=Math.max(0,this.tracker[t]-1)}_findGapEndIndex(t){for(let e=t+1;e<this.tracker.length;e++)if(0!=this.tracker[e])return e;return this.tracker.length}_markTilePosition(t,e){for(let i=0;i<e.colspan;i++)this.tracker[t+i]=e.rowspan}}class m{constructor(t,e){this.row=t,this.col=e}}const p=new e("MAT_GRID_LIST");class u{constructor(t,e){this._element=t,this._gridList=e,this._rowspan=1,this._colspan=1}get rowspan(){return this._rowspan}set rowspan(t){this._rowspan=Math.round(a(t))}get colspan(){return this._colspan}set colspan(t){this._colspan=Math.round(a(t))}_setStyle(t,e){this._element.nativeElement.style[t]=e}static{this.\u0275fac=function(t){return new(t||u)(i.\u0275\u0275directiveInject(i.ElementRef),i.\u0275\u0275directiveInject(p,8))}}static{this.\u0275cmp=i.\u0275\u0275defineComponent({type:u,selectors:[["mat-grid-tile"]],hostAttrs:[1,"mat-grid-tile"],hostVars:2,hostBindings:function(t,e){2&t&&i.\u0275\u0275attribute("rowspan",e.rowspan)("colspan",e.colspan)},inputs:{rowspan:"rowspan",colspan:"colspan"},exportAs:["matGridTile"],ngContentSelectors:d,decls:2,vars:0,consts:[[1,"mat-grid-tile-content"]],template:function(t,e){1&t&&(i.\u0275\u0275projectionDef(),i.\u0275\u0275elementStart(0,"div",0),i.\u0275\u0275projection(1),i.\u0275\u0275elementEnd())},styles:[".mat-grid-list{display:block;position:relative}.mat-grid-tile{display:block;position:absolute;overflow:hidden}.mat-grid-tile .mat-grid-tile-header,.mat-grid-tile .mat-grid-tile-footer{display:flex;align-items:center;height:48px;color:#fff;background:rgba(0,0,0,.38);overflow:hidden;padding:0 16px;position:absolute;left:0;right:0}.mat-grid-tile .mat-grid-tile-header>*,.mat-grid-tile .mat-grid-tile-footer>*{margin:0;padding:0;font-weight:normal;font-size:inherit}.mat-grid-tile .mat-grid-tile-header.mat-2-line,.mat-grid-tile .mat-grid-tile-footer.mat-2-line{height:68px}.mat-grid-tile .mat-grid-list-text{display:flex;flex-direction:column;flex:auto;box-sizing:border-box;overflow:hidden}.mat-grid-tile .mat-grid-list-text>*{margin:0;padding:0;font-weight:normal;font-size:inherit}.mat-grid-tile .mat-grid-list-text:empty{display:none}.mat-grid-tile .mat-grid-tile-header{top:0}.mat-grid-tile .mat-grid-tile-footer{bottom:0}.mat-grid-tile .mat-grid-avatar{padding-right:16px}[dir=rtl] .mat-grid-tile .mat-grid-avatar{padding-right:0;padding-left:16px}.mat-grid-tile .mat-grid-avatar:empty{display:none}.mat-grid-tile-header{font-size:var(--mat-grid-list-tile-header-primary-text-size)}.mat-grid-tile-header .mat-line{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;box-sizing:border-box}.mat-grid-tile-header .mat-line:nth-child(n+2){font-size:var(--mat-grid-list-tile-header-secondary-text-size)}.mat-grid-tile-footer{font-size:var(--mat-grid-list-tile-footer-primary-text-size)}.mat-grid-tile-footer .mat-line{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;box-sizing:border-box}.mat-grid-tile-footer .mat-line:nth-child(n+2){font-size:var(--mat-grid-list-tile-footer-secondary-text-size)}.mat-grid-tile-content{top:0;left:0;right:0;bottom:0;position:absolute;display:flex;align-items:center;justify-content:center;height:100%;padding:0;margin:0}"],encapsulation:2,changeDetection:0})}}t("MatGridTile",u);class f{constructor(t){this._element=t}ngAfterContentInit(){r(this._lines,this._element)}static{this.\u0275fac=function(t){return new(t||f)(i.\u0275\u0275directiveInject(i.ElementRef))}}static{this.\u0275cmp=i.\u0275\u0275defineComponent({type:f,selectors:[["mat-grid-tile-header"],["mat-grid-tile-footer"]],contentQueries:function(t,e,r){if(1&t&&i.\u0275\u0275contentQuery(r,s,5),2&t){let t;i.\u0275\u0275queryRefresh(t=i.\u0275\u0275loadQuery())&&(e._lines=t)}},ngContentSelectors:g,decls:4,vars:0,consts:[[1,"mat-grid-list-text"]],template:function(t,e){1&t&&(i.\u0275\u0275projectionDef(h),i.\u0275\u0275projection(0),i.\u0275\u0275elementStart(1,"div",0),i.\u0275\u0275projection(2,1),i.\u0275\u0275elementEnd(),i.\u0275\u0275projection(3,2))},encapsulation:2,changeDetection:0})}}t("MatGridTileText",f);class _{static{this.\u0275fac=function(t){return new(t||_)}}static{this.\u0275dir=i.\u0275\u0275defineDirective({type:_,selectors:[["","mat-grid-avatar",""],["","matGridAvatar",""]],hostAttrs:[1,"mat-grid-avatar"]})}}t("MatGridAvatarCssMatStyler",_);class w{static{this.\u0275fac=function(t){return new(t||w)}}static{this.\u0275dir=i.\u0275\u0275defineDirective({type:w,selectors:[["mat-grid-tile-header"]],hostAttrs:[1,"mat-grid-tile-header"]})}}t("MatGridTileHeaderCssMatStyler",w);class x{static{this.\u0275fac=function(t){return new(t||x)}}static{this.\u0275dir=i.\u0275\u0275defineDirective({type:x,selectors:[["mat-grid-tile-footer"]],hostAttrs:[1,"mat-grid-tile-footer"]})}}t("MatGridTileFooterCssMatStyler",x);const y=/^-?\d+((\.\d+)?[A-Za-z%$]?)+$/;class S{constructor(){this._rows=0,this._rowspan=0}init(t,e,i,r){this._gutterSize=k(t),this._rows=e.rowCount,this._rowspan=e.rowspan,this._cols=i,this._direction=r}getBaseTileSize(t,e){return`(${t}% - (${this._gutterSize} * ${e}))`}getTilePosition(t,e){return 0===e?"0":T(`(${t} + ${this._gutterSize}) * ${e}`)}getTileSize(t,e){return`(${t} * ${e}) + (${e-1} * ${this._gutterSize})`}setStyle(t,e,i){let r=100/this._cols,s=(this._cols-1)/this._cols;this.setColStyles(t,i,r,s),this.setRowStyles(t,e,r,s)}setColStyles(t,e,i,r){let s=this.getBaseTileSize(i,r),n="rtl"===this._direction?"right":"left";t._setStyle(n,this.getTilePosition(s,e)),t._setStyle("width",T(this.getTileSize(s,t.colspan)))}getGutterSpan(){return`${this._gutterSize} * (${this._rowspan} - 1)`}getTileSpan(t){return`${this._rowspan} * ${this.getTileSize(t,1)}`}getComputedHeight(){return null}}class v extends S{constructor(t){super(),this.fixedRowHeight=t}init(t,e,i,r){super.init(t,e,i,r),this.fixedRowHeight=k(this.fixedRowHeight),y.test(this.fixedRowHeight)}setRowStyles(t,e){t._setStyle("top",this.getTilePosition(this.fixedRowHeight,e)),t._setStyle("height",T(this.getTileSize(this.fixedRowHeight,t.rowspan)))}getComputedHeight(){return["height",T(`${this.getTileSpan(this.fixedRowHeight)} + ${this.getGutterSpan()}`)]}reset(t){t._setListStyle(["height",null]),t._tiles&&t._tiles.forEach((t=>{t._setStyle("top",null),t._setStyle("height",null)}))}}class b extends S{constructor(t){super(),this._parseRatio(t)}setRowStyles(t,e,i,r){let s=i/this.rowHeightRatio;this.baseTileHeight=this.getBaseTileSize(s,r),t._setStyle("marginTop",this.getTilePosition(this.baseTileHeight,e)),t._setStyle("paddingTop",T(this.getTileSize(this.baseTileHeight,t.rowspan)))}getComputedHeight(){return["paddingBottom",T(`${this.getTileSpan(this.baseTileHeight)} + ${this.getGutterSpan()}`)]}reset(t){t._setListStyle(["paddingBottom",null]),t._tiles.forEach((t=>{t._setStyle("marginTop",null),t._setStyle("paddingTop",null)}))}_parseRatio(t){const e=t.split(":");e.length,this.rowHeightRatio=parseFloat(e[0])/parseFloat(e[1])}}class z extends S{setRowStyles(t,e){let i=100/this._rowspan,r=(this._rows-1)/this._rows,s=this.getBaseTileSize(i,r);t._setStyle("top",this.getTilePosition(s,e)),t._setStyle("height",T(this.getTileSize(s,t.rowspan)))}reset(t){t._tiles&&t._tiles.forEach((t=>{t._setStyle("top",null),t._setStyle("height",null)}))}}function T(t){return`calc(${t})`}function k(t){return t.match(/([A-Za-z%]+)$/)?t:`${t}px`}class C{constructor(t,e){this._element=t,this._dir=e,this._gutter="1px"}get cols(){return this._cols}set cols(t){this._cols=Math.max(1,Math.round(a(t)))}get gutterSize(){return this._gutter}set gutterSize(t){this._gutter=`${null==t?"":t}`}get rowHeight(){return this._rowHeight}set rowHeight(t){const e=`${null==t?"":t}`;e!==this._rowHeight&&(this._rowHeight=e,this._setTileStyler(this._rowHeight))}ngOnInit(){this._checkCols(),this._checkRowHeight()}ngAfterContentChecked(){this._layoutTiles()}_checkCols(){this.cols,0}_checkRowHeight(){this._rowHeight||this._setTileStyler("1:1")}_setTileStyler(t){this._tileStyler&&this._tileStyler.reset(this),"fit"===t?this._tileStyler=new z:t&&t.indexOf(":")>-1?this._tileStyler=new b(t):this._tileStyler=new v(t)}_layoutTiles(){this._tileCoordinator||(this._tileCoordinator=new c);const t=this._tileCoordinator,e=this._tiles.filter((t=>!t._gridList||t._gridList===this)),i=this._dir?this._dir.value:"ltr";this._tileCoordinator.update(this.cols,e),this._tileStyler.init(this.gutterSize,t,this.cols,i),e.forEach(((e,i)=>{const r=t.positions[i];this._tileStyler.setStyle(e,r.row,r.col)})),this._setListStyle(this._tileStyler.getComputedHeight())}_setListStyle(t){t&&(this._element.nativeElement.style[t[0]]=t[1])}static{this.\u0275fac=function(t){return new(t||C)(i.\u0275\u0275directiveInject(i.ElementRef),i.\u0275\u0275directiveInject(l.Directionality,8))}}static{this.\u0275cmp=i.\u0275\u0275defineComponent({type:C,selectors:[["mat-grid-list"]],contentQueries:function(t,e,r){if(1&t&&i.\u0275\u0275contentQuery(r,u,5),2&t){let t;i.\u0275\u0275queryRefresh(t=i.\u0275\u0275loadQuery())&&(e._tiles=t)}},hostAttrs:[1,"mat-grid-list"],hostVars:1,hostBindings:function(t,e){2&t&&i.\u0275\u0275attribute("cols",e.cols)},inputs:{cols:"cols",gutterSize:"gutterSize",rowHeight:"rowHeight"},exportAs:["matGridList"],features:[i.\u0275\u0275ProvidersFeature([{provide:p,useExisting:C}])],ngContentSelectors:d,decls:2,vars:0,template:function(t,e){1&t&&(i.\u0275\u0275projectionDef(),i.\u0275\u0275elementStart(0,"div"),i.\u0275\u0275projection(1),i.\u0275\u0275elementEnd())},styles:[".mat-grid-list{display:block;position:relative}.mat-grid-tile{display:block;position:absolute;overflow:hidden}.mat-grid-tile .mat-grid-tile-header,.mat-grid-tile .mat-grid-tile-footer{display:flex;align-items:center;height:48px;color:#fff;background:rgba(0,0,0,.38);overflow:hidden;padding:0 16px;position:absolute;left:0;right:0}.mat-grid-tile .mat-grid-tile-header>*,.mat-grid-tile .mat-grid-tile-footer>*{margin:0;padding:0;font-weight:normal;font-size:inherit}.mat-grid-tile .mat-grid-tile-header.mat-2-line,.mat-grid-tile .mat-grid-tile-footer.mat-2-line{height:68px}.mat-grid-tile .mat-grid-list-text{display:flex;flex-direction:column;flex:auto;box-sizing:border-box;overflow:hidden}.mat-grid-tile .mat-grid-list-text>*{margin:0;padding:0;font-weight:normal;font-size:inherit}.mat-grid-tile .mat-grid-list-text:empty{display:none}.mat-grid-tile .mat-grid-tile-header{top:0}.mat-grid-tile .mat-grid-tile-footer{bottom:0}.mat-grid-tile .mat-grid-avatar{padding-right:16px}[dir=rtl] .mat-grid-tile .mat-grid-avatar{padding-right:0;padding-left:16px}.mat-grid-tile .mat-grid-avatar:empty{display:none}.mat-grid-tile-header{font-size:var(--mat-grid-list-tile-header-primary-text-size)}.mat-grid-tile-header .mat-line{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;box-sizing:border-box}.mat-grid-tile-header .mat-line:nth-child(n+2){font-size:var(--mat-grid-list-tile-header-secondary-text-size)}.mat-grid-tile-footer{font-size:var(--mat-grid-list-tile-footer-primary-text-size)}.mat-grid-tile-footer .mat-line{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;box-sizing:border-box}.mat-grid-tile-footer .mat-line:nth-child(n+2){font-size:var(--mat-grid-list-tile-footer-secondary-text-size)}.mat-grid-tile-content{top:0;left:0;right:0;bottom:0;position:absolute;display:flex;align-items:center;justify-content:center;height:100%;padding:0;margin:0}"],encapsulation:2,changeDetection:0})}}t("MatGridList",C);class I{static{this.\u0275fac=function(t){return new(t||I)}}static{this.\u0275mod=i.\u0275\u0275defineNgModule({type:I})}static{this.\u0275inj=i.\u0275\u0275defineInjector({imports:[n,o,n,o]})}}t("MatGridListModule",I);t("\u0275TileCoordinator",c)}}}));