- GRAYBYTE UNDETECTABLE CODES -

403Webshell
Server IP : 184.154.167.98  /  Your IP : 3.137.186.186
Web Server : Apache
System : Linux pink.dnsnetservice.com 4.18.0-553.22.1.lve.1.el8.x86_64 #1 SMP Tue Oct 8 15:52:54 UTC 2024 x86_64
User : puertode ( 1767)
PHP Version : 8.2.26
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : ON  |  Pkexec : ON
Directory :  /usr/share/l.v.e-manager/commons/spa-resources/static/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /usr/share/l.v.e-manager/commons/spa-resources/static/resource_usage.bundle.min.js
/*! For license information please see resource_usage.bundle.min.js.LICENSE.txt */
!function(e){function t(t){for(var a,i,r=t[0],l=t[1],p=t[2],d=0,u=[];d<r.length;d++)i=r[d],o[i]&&u.push(o[i][0]),o[i]=0;for(a in l)Object.prototype.hasOwnProperty.call(l,a)&&(e[a]=l[a]);for(c&&c(t);u.length;)u.shift()();return s.push.apply(s,p||[]),n()}function n(){for(var e,t=0;t<s.length;t++){for(var n=s[t],a=!0,r=1;r<n.length;r++){var l=n[r];0!==o[l]&&(a=!1)}a&&(s.splice(t--,1),e=i(i.s=n[0]))}return e}var a={},o={8:0},s=[];function i(t){if(a[t])return a[t].exports;var n=a[t]={i:t,l:!1,exports:{}};return e[t].call(n.exports,n,n.exports,i),n.l=!0,n.exports}i.m=e,i.c=a,i.d=function(e,t,n){i.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:n})},i.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},i.t=function(e,t){if(1&t&&(e=i(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var n=Object.create(null);if(i.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var a in e)i.d(n,a,function(t){return e[t]}.bind(null,a));return n},i.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return i.d(t,"a",t),t},i.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},i.p="";var r=window.wpJsonpCloudLinuxLveManager=window.wpJsonpCloudLinuxLveManager||[],l=r.push.bind(r);r.push=t,r=r.slice();for(var p=0;p<r.length;p++)t(r[p]);var c=l;s.push([1993,1,0]),n()}({1993:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.main=void 0;const a=n(240),o=n(241),s=n(1994),i=n(831);function r(){return a.platformBrowserDynamic().bootstrapModule(s.AppModule).then(i.decorateModuleRef).catch((e=>{}))}t.main=r,o.bootloader(r)},1994:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.initAppConfig=t.AppModule=void 0;const a=n(1),o=n(0),s=n(18),i=n(831),r=n(832),l=n(2011),p=n(10),c=n(152),d=n(227),u=n(194),m=n(123),g=n(106),h=n(366),f=n(249),C=n(250),D=n(833),v=n(134),b=n(247),F=n(154),E=n(834),S=n(806),_=n(2014),A=n(2016),y=n(838),x=n(839),w=n(840),k=n(841),B=n(306),T=n(252),L=n(2),M=n(2018),O=n(2019),R=n(102),U=n(164),I=[p.AppState,U.SentryInitializerService];let P=class extends C.BaseAppModule{constructor(e,t){super(),this.appRef=e,this.appState=t}};function G(e,t){return()=>t.loadConfig()}P=a.__decorate([o.NgModule({bootstrap:[l.App],declarations:[l.App,D.ResourceDashboardComponent,_.SeTimeFrame,A.SeTimeUnit,E.CurrentUsageComponent,y.SnapshotComponent,x.ProcessListComponent,w.DatabaseQueriesComponent,k.HttpQueriesComponent,M.OptionsComponent],imports:[...C.COMMON_MODULES,S.CalendarModule,b.TemplateDirectiveModule,v.AngularMaterialModules,s.RouterModule.forRoot(r.ROUTES,{useHash:!0,preloadingStrategy:s.PreloadAllModules,onSameUrlNavigation:"reload"})],entryComponents:[u.UnavailableComponent],providers:[i.ENV_PROVIDERS,I,g.WindowRef,c.UsersRepo,d.MockService,m.UnavailableService,h.PingRepo,F.StatsRepo,B.SnapshotService,{provide:L.PlatformLocation,useClass:T.IframePlatformLocation},L.\u0275BrowserPlatformLocation,O.AppResourceUsageConfig,R.ConfigRepo,{provide:o.APP_INITIALIZER,useFactory:G,deps:[o.Injector,O.AppResourceUsageConfig],multi:!0}].concat([{provide:o.ErrorHandler,useClass:f.SentryErrorHandler}])}),a.__metadata("design:paramtypes",[o.ApplicationRef,p.AppState])],P),t.AppModule=P,t.initAppConfig=G},1995:function(e,t){e.exports='\x3c!--\n    Copyright \xa9 Cloud Linux GmbH & Cloud Linux Software, Inc 2010-2019 All Rights Reserved\n\n    Licensed under CLOUD LINUX LICENSE AGREEMENT\n    http://cloudlinux.com/docs/LICENSE.TXT\n--\x3e\n<div class="lvemanager-content lvemanager-faults-problems" *ngIf="problems.length">\n    <span class="lvemanager-has-limited">{{ \'You have reached the limits within the past 24 hours\' | translate }}</span>\n    <ul class="lvemanager-problems">\n        <li *ngFor="let text of problems" class="lvemanager-problem-item">\n            <span>{{ text | translate}}</span>\n        </li>\n    </ul>\n</div>\n<div class="lvemanager-content lvemanager-soon-problems" *ngIf="soonProblems.length">\n    <span class="lvemanager-has-limited">{{ \'Your site might reach the resource limits soon\' | translate }}</span>\n    <ul class="lvemanager-problems">\n        <li *ngFor="let text of soonProblems" class="lvemanager-problem-item">\n            <span>{{ text | translate}}</span>\n        </li>\n    </ul>\n</div>\n<div class="lvemanager-content lvemanager-no-problems" *ngIf="noProblems">\n    <span class="lvemanager-has-limited">{{ \'Your site had no issues in the past 24 hours\' | translate }}</span>\n    <span class="lvemanager-no-problem-image"></span>\n</div>\n<div class="lvemanager-content">\n    <span class="lvemanager-button">\n        <ui-button class="lvemanager-details-button" (clickAction)="goToStatistic()">Details</ui-button>\n    </span>\n</div>\n'},1996:function(e,t){e.exports='.lvemanager-content{margin-bottom:25px;text-align:center}.lvemanager-content.lvemanager-soon-problems:nth-child(2){margin-top:50px}@media (min-width:768px){.lvemanager-content{margin-left:auto;margin-right:auto;max-width:687px}}.lvemanager-content .lvemanager-has-limited{font-size:26px;font-weight:bold;width:100%;display:block;line-height:1.2}.lvemanager-content .lvemanager-problems{margin-top:52px;width:100%}.lvemanager-content .lvemanager-problem-item{min-height:40px;text-align:left;vertical-align:middle}.lvemanager-content .lvemanager-problem-item:nth-child(odd){background-color:#f3f3f3}.lvemanager-content .lvemanager-problem-item span{line-height:40px;list-style:disc;display:list-item;margin-left:42px}.lvemanager-content .lvemanager-button{display:block}.lvemanager-content .lvemanager-no-problem-image{display:inline-block;height:227px;width:250px;margin-top:43px;margin-bottom:25px;background-position:center;background-repeat:no-repeat;background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%22250%22%20height%3D%22227%22%20viewBox%3D%220%200%20250%20227%22%3E%0A%20%20%20%20%3Cdefs%3E%0A%20%20%20%20%20%20%20%20%3ClinearGradient%20id%3D%22a%22%20x1%3D%224619%25%22%20x2%3D%228554%25%22%20y1%3D%2210628%25%22%20y2%3D%2210628%25%22%3E%0A%20%20%20%20%20%20%20%20%20%20%20%20%3Cstop%20offset%3D%220%25%22%20stop-color%3D%22%23EDEFF6%22%2F%3E%0A%20%20%20%20%20%20%20%20%20%20%20%20%3Cstop%20offset%3D%223%25%22%20stop-color%3D%22%232E2384%22%2F%3E%0A%20%20%20%20%20%20%20%20%20%20%20%20%3Cstop%20offset%3D%227%25%22%20stop-color%3D%22%23534C9C%22%2F%3E%0A%20%20%20%20%20%20%20%20%20%20%20%20%3Cstop%20offset%3D%2212%25%22%20stop-color%3D%22%237572B2%22%2F%3E%0A%20%20%20%20%20%20%20%20%20%20%20%20%3Cstop%20offset%3D%2218%25%22%20stop-color%3D%22%239292C5%22%2F%3E%0A%20%20%20%20%20%20%20%20%20%20%20%20%3Cstop%20offset%3D%2224%25%22%20stop-color%3D%22%23AAAED5%22%2F%3E%0A%20%20%20%20%20%20%20%20%20%20%20%20%3Cstop%20offset%3D%2230%25%22%20stop-color%3D%22%23BEC4E2%22%2F%3E%0A%20%20%20%20%20%20%20%20%20%20%20%20%3Cstop%20offset%3D%2238%25%22%20stop-color%3D%22%23CDD4EC%22%2F%3E%0A%20%20%20%20%20%20%20%20%20%20%20%20%3Cstop%20offset%3D%2248%25%22%20stop-color%3D%22%23D7E0F3%22%2F%3E%0A%20%20%20%20%20%20%20%20%20%20%20%20%3Cstop%20offset%3D%2262%25%22%20stop-color%3D%22%23DDE7F7%22%2F%3E%0A%20%20%20%20%20%20%20%20%20%20%20%20%3Cstop%20offset%3D%22100%25%22%20stop-color%3D%22%23DFE9F8%22%2F%3E%0A%20%20%20%20%20%20%20%20%3C%2FlinearGradient%3E%0A%20%20%20%20%20%20%20%20%3ClinearGradient%20id%3D%22b%22%20x1%3D%224619%25%22%20x2%3D%228554%25%22%20y1%3D%2210628%25%22%20y2%3D%2210628%25%22%3E%0A%20%20%20%20%20%20%20%20%20%20%20%20%3Cstop%20offset%3D%220%25%22%20stop-color%3D%22%23EDEFF6%22%2F%3E%0A%20%20%20%20%20%20%20%20%20%20%20%20%3Cstop%20offset%3D%223%25%22%20stop-color%3D%22%232E2384%22%2F%3E%0A%20%20%20%20%20%20%20%20%20%20%20%20%3Cstop%20offset%3D%227%25%22%20stop-color%3D%22%23534C9C%22%2F%3E%0A%20%20%20%20%20%20%20%20%20%20%20%20%3Cstop%20offset%3D%2212%25%22%20stop-color%3D%22%237572B2%22%2F%3E%0A%20%20%20%20%20%20%20%20%20%20%20%20%3Cstop%20offset%3D%2218%25%22%20stop-color%3D%22%239292C5%22%2F%3E%0A%20%20%20%20%20%20%20%20%20%20%20%20%3Cstop%20offset%3D%2224%25%22%20stop-color%3D%22%23AAAED5%22%2F%3E%0A%20%20%20%20%20%20%20%20%20%20%20%20%3Cstop%20offset%3D%2230%25%22%20stop-color%3D%22%23BEC4E2%22%2F%3E%0A%20%20%20%20%20%20%20%20%20%20%20%20%3Cstop%20offset%3D%2238%25%22%20stop-color%3D%22%23CDD4EC%22%2F%3E%0A%20%20%20%20%20%20%20%20%20%20%20%20%3Cstop%20offset%3D%2248%25%22%20stop-color%3D%22%23D7E0F3%22%2F%3E%0A%20%20%20%20%20%20%20%20%20%20%20%20%3Cstop%20offset%3D%2262%25%22%20stop-color%3D%22%23DDE7F7%22%2F%3E%0A%20%20%20%20%20%20%20%20%20%20%20%20%3Cstop%20offset%3D%22100%25%22%20stop-color%3D%22%23DFE9F8%22%2F%3E%0A%20%20%20%20%20%20%20%20%3C%2FlinearGradient%3E%0A%20%20%20%20%20%20%20%20%3ClinearGradient%20id%3D%22c%22%20x1%3D%224619%25%22%20x2%3D%228554%25%22%20y1%3D%2210628%25%22%20y2%3D%2210628%25%22%3E%0A%20%20%20%20%20%20%20%20%20%20%20%20%3Cstop%20offset%3D%220%25%22%20stop-color%3D%22%23EDEFF6%22%2F%3E%0A%20%20%20%20%20%20%20%20%20%20%20%20%3Cstop%20offset%3D%223%25%22%20stop-color%3D%22%232E2384%22%2F%3E%0A%20%20%20%20%20%20%20%20%20%20%20%20%3Cstop%20offset%3D%227%25%22%20stop-color%3D%22%23534C9C%22%2F%3E%0A%20%20%20%20%20%20%20%20%20%20%20%20%3Cstop%20offset%3D%2212%25%22%20stop-color%3D%22%237572B2%22%2F%3E%0A%20%20%20%20%20%20%20%20%20%20%20%20%3Cstop%20offset%3D%2218%25%22%20stop-color%3D%22%239292C5%22%2F%3E%0A%20%20%20%20%20%20%20%20%20%20%20%20%3Cstop%20offset%3D%2224%25%22%20stop-color%3D%22%23AAAED5%22%2F%3E%0A%20%20%20%20%20%20%20%20%20%20%20%20%3Cstop%20offset%3D%2230%25%22%20stop-color%3D%22%23BEC4E2%22%2F%3E%0A%20%20%20%20%20%20%20%20%20%20%20%20%3Cstop%20offset%3D%2238%25%22%20stop-color%3D%22%23CDD4EC%22%2F%3E%0A%20%20%20%20%20%20%20%20%20%20%20%20%3Cstop%20offset%3D%2248%25%22%20stop-color%3D%22%23D7E0F3%22%2F%3E%0A%20%20%20%20%20%20%20%20%20%20%20%20%3Cstop%20offset%3D%2262%25%22%20stop-color%3D%22%23DDE7F7%22%2F%3E%0A%20%20%20%20%20%20%20%20%20%20%20%20%3Cstop%20offset%3D%22100%25%22%20stop-color%3D%22%23DFE9F8%22%2F%3E%0A%20%20%20%20%20%20%20%20%3C%2FlinearGradient%3E%0A%20%20%20%20%20%20%20%20%3ClinearGradient%20id%3D%22d%22%20x1%3D%224619%25%22%20x2%3D%228554%25%22%20y1%3D%2210628%25%22%20y2%3D%2210628%25%22%3E%0A%20%20%20%20%20%20%20%20%20%20%20%20%3Cstop%20offset%3D%220%25%22%20stop-color%3D%22%23EDEFF6%22%2F%3E%0A%20%20%20%20%20%20%20%20%20%20%20%20%3Cstop%20offset%3D%223%25%22%20stop-color%3D%22%232E2384%22%2F%3E%0A%20%20%20%20%20%20%20%20%20%20%20%20%3Cstop%20offset%3D%227%25%22%20stop-color%3D%22%23534C9C%22%2F%3E%0A%20%20%20%20%20%20%20%20%20%20%20%20%3Cstop%20offset%3D%2212%25%22%20stop-color%3D%22%237572B2%22%2F%3E%0A%20%20%20%20%20%20%20%20%20%20%20%20%3Cstop%20offset%3D%2218%25%22%20stop-color%3D%22%239292C5%22%2F%3E%0A%20%20%20%20%20%20%20%20%20%20%20%20%3Cstop%20offset%3D%2224%25%22%20stop-color%3D%22%23AAAED5%22%2F%3E%0A%20%20%20%20%20%20%20%20%20%20%20%20%3Cstop%20offset%3D%2230%25%22%20stop-color%3D%22%23BEC4E2%22%2F%3E%0A%20%20%20%20%20%20%20%20%20%20%20%20%3Cstop%20offset%3D%2238%25%22%20stop-color%3D%22%23CDD4EC%22%2F%3E%0A%20%20%20%20%20%20%20%20%20%20%20%20%3Cstop%20offset%3D%2248%25%22%20stop-color%3D%22%23D7E0F3%22%2F%3E%0A%20%20%20%20%20%20%20%20%20%20%20%20%3Cstop%20offset%3D%2262%25%22%20stop-color%3D%22%23DDE7F7%22%2F%3E%0A%20%20%20%20%20%20%20%20%20%20%20%20%3Cstop%20offset%3D%22100%25%22%20stop-color%3D%22%23DFE9F8%22%2F%3E%0A%20%20%20%20%20%20%20%20%3C%2FlinearGradient%3E%0A%20%20%20%20%20%20%20%20%3ClinearGradient%20id%3D%22e%22%20x1%3D%224619%25%22%20x2%3D%228554%25%22%20y1%3D%2210628%25%22%20y2%3D%2210628%25%22%3E%0A%20%20%20%20%20%20%20%20%20%20%20%20%3Cstop%20offset%3D%220%25%22%20stop-color%3D%22%23EDEFF6%22%2F%3E%0A%20%20%20%20%20%20%20%20%20%20%20%20%3Cstop%20offset%3D%223%25%22%20stop-color%3D%22%232E2384%22%2F%3E%0A%20%20%20%20%20%20%20%20%20%20%20%20%3Cstop%20offset%3D%227%25%22%20stop-color%3D%22%23534C9C%22%2F%3E%0A%20%20%20%20%20%20%20%20%20%20%20%20%3Cstop%20offset%3D%2212%25%22%20stop-color%3D%22%237572B2%22%2F%3E%0A%20%20%20%20%20%20%20%20%20%20%20%20%3Cstop%20offset%3D%2218%25%22%20stop-color%3D%22%239292C5%22%2F%3E%0A%20%20%20%20%20%20%20%20%20%20%20%20%3Cstop%20offset%3D%2224%25%22%20stop-color%3D%22%23AAAED5%22%2F%3E%0A%20%20%20%20%20%20%20%20%20%20%20%20%3Cstop%20offset%3D%2230%25%22%20stop-color%3D%22%23BEC4E2%22%2F%3E%0A%20%20%20%20%20%20%20%20%20%20%20%20%3Cstop%20offset%3D%2238%25%22%20stop-color%3D%22%23CDD4EC%22%2F%3E%0A%20%20%20%20%20%20%20%20%20%20%20%20%3Cstop%20offset%3D%2248%25%22%20stop-color%3D%22%23D7E0F3%22%2F%3E%0A%20%20%20%20%20%20%20%20%20%20%20%20%3Cstop%20offset%3D%2262%25%22%20stop-color%3D%22%23DDE7F7%22%2F%3E%0A%20%20%20%20%20%20%20%20%20%20%20%20%3Cstop%20offset%3D%22100%25%22%20stop-color%3D%22%23DFE9F8%22%2F%3E%0A%20%20%20%20%20%20%20%20%3C%2FlinearGradient%3E%0A%20%20%20%20%20%20%20%20%3ClinearGradient%20id%3D%22f%22%20x1%3D%224619%25%22%20x2%3D%228554%25%22%20y1%3D%2210628%25%22%20y2%3D%2210628%25%22%3E%0A%20%20%20%20%20%20%20%20%20%20%20%20%3Cstop%20offset%3D%220%25%22%20stop-color%3D%22%23EDEFF6%22%2F%3E%0A%20%20%20%20%20%20%20%20%20%20%20%20%3Cstop%20offset%3D%223%25%22%20stop-color%3D%22%232E2384%22%2F%3E%0A%20%20%20%20%20%20%20%20%20%20%20%20%3Cstop%20offset%3D%227%25%22%20stop-color%3D%22%23534C9C%22%2F%3E%0A%20%20%20%20%20%20%20%20%20%20%20%20%3Cstop%20offset%3D%2212%25%22%20stop-color%3D%22%237572B2%22%2F%3E%0A%20%20%20%20%20%20%20%20%20%20%20%20%3Cstop%20offset%3D%2218%25%22%20stop-color%3D%22%239292C5%22%2F%3E%0A%20%20%20%20%20%20%20%20%20%20%20%20%3Cstop%20offset%3D%2224%25%22%20stop-color%3D%22%23AAAED5%22%2F%3E%0A%20%20%20%20%20%20%20%20%20%20%20%20%3Cstop%20offset%3D%2230%25%22%20stop-color%3D%22%23BEC4E2%22%2F%3E%0A%20%20%20%20%20%20%20%20%20%20%20%20%3Cstop%20offset%3D%2238%25%22%20stop-color%3D%22%23CDD4EC%22%2F%3E%0A%20%20%20%20%20%20%20%20%20%20%20%20%3Cstop%20offset%3D%2248%25%22%20stop-color%3D%22%23D7E0F3%22%2F%3E%0A%20%20%20%20%20%20%20%20%20%20%20%20%3Cstop%20offset%3D%2262%25%22%20stop-color%3D%22%23DDE7F7%22%2F%3E%0A%20%20%20%20%20%20%20%20%20%20%20%20%3Cstop%20offset%3D%22100%25%22%20stop-color%3D%22%23DFE9F8%22%2F%3E%0A%20%20%20%20%20%20%20%20%3C%2FlinearGradient%3E%0A%20%20%20%20%3C%2Fdefs%3E%0A%20%20%20%20%3Cg%20fill%3D%22none%22%20fill-rule%3D%22evenodd%22%3E%0A%20%20%20%20%20%20%20%20%3Cpath%20fill%3D%22%23E3E6F2%22%20fill-rule%3D%22nonzero%22%20d%3D%22M244%20205.624C244%20217.429%20187.909%20227%20118.716%20227%2049.524%20227%200%20196.053%200%20184.247c0-11.806%2049.524%200%20118.716%200%2069.193%200%20125.284%209.57%20125.284%2021.377z%22%2F%3E%0A%20%20%20%20%20%20%20%20%3Cg%20opacity%3D%22.7%22%20transform%3D%22translate(198)%22%3E%0A%20%20%20%20%20%20%20%20%20%20%20%20%3Cpath%20fill%3D%22%230087BD%22%20d%3D%22M41.234%2026.28c-4.538%208.729-18.92%2019.014-27.729%2014.517C4.698%2036.3%204.8%2018.724%209.338%209.995%2013.877%201.268%2024.694-2.161%2033.5%202.335c8.806%204.497%2012.268%2015.217%207.733%2023.945z%22%2F%3E%0A%20%20%20%20%20%20%20%20%20%20%20%20%3Cpath%20fill%3D%22%236C63FF%22%20fill-rule%3D%22nonzero%22%20d%3D%22M14.25%2043.105a2.98%202.98%200%200%200-3.074-1.57l1.584-3.046%203.075%201.57-1.584%203.046z%22%2F%3E%0A%20%20%20%20%20%20%20%20%20%20%20%20%3Cpath%20stroke%3D%22%232F2E41%22%20stroke-width%3D%222%22%20d%3D%22M12.01%2039.952a3.815%203.815%200%200%200%203.086%201.56%22%2F%3E%0A%20%20%20%20%20%20%20%20%20%20%20%20%3Cellipse%20cx%3D%2235.379%22%20cy%3D%2214.858%22%20fill%3D%22%23FFF%22%20fill-rule%3D%22nonzero%22%20opacity%3D%22.4%22%20rx%3D%224.507%22%20ry%3D%223.775%22%20transform%3D%22rotate(-62.742%2035.38%2014.858)%22%2F%3E%0A%20%20%20%20%20%20%20%20%20%20%20%20%3Cpath%20stroke%3D%22%232F2E41%22%20stroke-width%3D%222%22%20d%3D%22M13.423%2040.907L.039%2074.284%22%2F%3E%0A%20%20%20%20%20%20%20%20%3C%2Fg%3E%0A%20%20%20%20%20%20%20%20%3Cpath%20fill%3D%22%230087BD%22%20d%3D%22M242.604%2079.435c-9.932%2010-33.905%2017.924-43.924%208.012-10.02-9.912-2.291-33.907%207.64-43.907%209.933-9.994%2026.102-10.062%2036.119-.152s10.09%2026.046.165%2036.047z%22%20opacity%3D%22.879%22%2F%3E%0A%20%20%20%20%20%20%20%20%3Cpath%20fill%3D%22%23A4AEC5%22%20fill-rule%3D%22nonzero%22%20d%3D%22M198.515%2091A4.254%204.254%200%200%200%20195%2087.515L198.485%2084%20202%2087.485%20198.515%2091z%22%2F%3E%0A%20%20%20%20%20%20%20%20%3Cpath%20stroke%3D%22%23C4CCE5%22%20stroke-width%3D%222%22%20d%3D%22M198%2089l-33%2033%22%2F%3E%0A%20%20%20%20%20%20%20%20%3Cellipse%20cx%3D%22239.455%22%20cy%3D%2261.717%22%20fill%3D%22%23FFF%22%20fill-rule%3D%22nonzero%22%20opacity%3D%22.4%22%20rx%3D%226.455%22%20ry%3D%225.379%22%20transform%3D%22rotate(-45.252%20239.455%2061.717)%22%2F%3E%0A%20%20%20%20%20%20%20%20%3Cpath%20fill%3D%22%230087BD%22%20d%3D%22M211.305%2047.19c-3.255%2013.605-19.514%2032.69-33.163%2029.445-13.649-3.245-19.518-27.59-16.263-41.195%203.262-13.597%2016.96-21.987%2030.603-18.743%2013.642%203.243%2022.067%2016.892%2018.823%2030.493z%22%2F%3E%0A%20%20%20%20%20%20%20%20%3Cpath%20fill%3D%22%23A4AEC5%22%20fill-rule%3D%22nonzero%22%20d%3D%22M179.845%2080A4.28%204.28%200%200%200%20175%2078.845L176.155%2074%20181%2075.155%20179.845%2080z%22%2F%3E%0A%20%20%20%20%20%20%20%20%3Cellipse%20cx%3D%22199.384%22%20cy%3D%2233.564%22%20fill%3D%22%23FFF%22%20fill-rule%3D%22nonzero%22%20opacity%3D%22.4%22%20rx%3D%226.444%22%20ry%3D%225.388%22%20transform%3D%22rotate(-76.587%20199.384%2033.564)%22%2F%3E%0A%20%20%20%20%20%20%20%20%3Cpath%20stroke%3D%22%23C4CCE5%22%20stroke-width%3D%222%22%20d%3D%22M178%2078l-11%2045%22%2F%3E%0A%20%20%20%20%20%20%20%20%3Cpath%20fill%3D%22%230A0B09%22%20d%3D%22M136.478%2021h5.044C148.413%2021%20154%2026.587%20154%2033.478V51h-30V33.478A12.478%2012.478%200%200%201%20136.478%2021z%22%2F%3E%0A%20%20%20%20%20%20%20%20%3Cpath%20fill%3D%22%23FFB9B9%22%20fill-rule%3D%22nonzero%22%20d%3D%22M122.191%2099l-3.897%208.011s-3.176%2010.762.423%2011.912c3.6%201.15%204.302-11.043%204.302-11.043L126%2099.805%20122.191%2099z%22%2F%3E%0A%20%20%20%20%20%20%20%20%3Cpath%20fill%3D%22%23D0CDE1%22%20fill-rule%3D%22nonzero%22%20d%3D%22M122.191%2099l-3.897%208.011s-3.176%2010.762.423%2011.912c3.6%201.15%204.302-11.043%204.302-11.043L126%2099.805%20122.191%2099z%22%2F%3E%0A%20%20%20%20%20%20%20%20%3Cpath%20fill%3D%22%230087BD%22%20d%3D%22M123.053%2086L118%20102.962l8%204.038V86.808z%22%2F%3E%0A%20%20%20%20%20%20%20%20%3Cpath%20fill%3D%22url(%23a)%22%20fill-rule%3D%22nonzero%22%20d%3D%22M136.553%2043.041s-.395%206.247-1.185%206.247S133%2056.705%20133%2056.705L139.71%2061l8.29-7.418-2.368-5.856s-1.185-2.342-.79-4.685c.395-2.342-8.29%200-8.29%200z%22%2F%3E%0A%20%20%20%20%20%20%20%20%3Cpath%20fill%3D%22%23D0CDE1%22%20fill-rule%3D%22nonzero%22%20d%3D%22M160%20105.197l.761%208.782s2.665%2010.777%206.09%209.979c3.426-.799-1.903-11.576-1.903-11.576L163.426%20104%20160%20105.197z%22%2F%3E%0A%20%20%20%20%20%20%20%20%3Cpath%20fill%3D%22url(%23b)%22%20fill-rule%3D%22nonzero%22%20d%3D%22M144%20191.377s2.4%2014.674.8%2017.45c-1.6%202.776%201.6%203.173%201.6%203.173l9.6-2.38v-4.362s-3.2-14.278-3.2-15.07c0-.794-8.8%201.19-8.8%201.19z%22%2F%3E%0A%20%20%20%20%20%20%20%20%3Cpath%20fill%3D%22%230A0B09%22%20d%3D%22M124%20125.849s2.802%2028.528%207.204%2037.641c4.403%209.113%208.406%2034.075%2010.407%2034.472%202.001.396%2017.21-2.378%2019.212-3.963%202.001-1.584-13.609-40.018-13.609-40.414%200-.397-3.602-35.66-3.602-35.66L138.81%20110%20124%20125.849z%22%2F%3E%0A%20%20%20%20%20%20%20%20%3Cpath%20fill%3D%22%230087BD%22%20d%3D%22M147.687%20207.237s-3.968-1.994-4.762-.797l-3.175%204.785s-13.495%206.38-8.732%207.177c4.763.797%2013.891.797%2015.082%200%201.19-.798%2014.288-7.975%2013.891-8.374-.397-.398-3.572-8.772-3.969-7.974-.397.797-5.953%206.778-8.335%205.183z%22%2F%3E%0A%20%20%20%20%20%20%20%20%3Cpath%20fill%3D%22url(%23c)%22%20fill-rule%3D%22nonzero%22%20d%3D%22M80.549%20174s-9.196%206.26-13.594%205.087c-4.398-1.174%200%208.609%200%208.609L74.95%20192l2.4-1.957s8.395-10.956%2011.994-11.347c3.598-.392-8.796-4.696-8.796-4.696z%22%2F%3E%0A%20%20%20%20%20%20%20%20%3Cpath%20fill%3D%22%230A0B09%22%20d%3D%22M122.46%20101.73l1.585%208.314-29.706%2045.134s-17.824%2017.816-16.24%2019.795c1.585%201.98%2011.487%2013.461%2013.863%2011.878%202.377-1.584%2057.432-60.97%2057.036-68.888C148.602%20110.044%20135.53%2095%20135.53%2095l-13.07%205.939v.791z%22%2F%3E%0A%20%20%20%20%20%20%20%20%3Cpath%20fill%3D%22%230087BD%22%20d%3D%22M69.583%20181.985s3.58-3.893%201.591-4.283a60.653%2060.653%200%200%200-6.764-.778c-.795%200-11.537-5.45-12.333-3.504-.796%201.947%204.774%2012.069%207.957%2013.237%203.183%201.167%2014.72%209.343%2014.72%209.343s5.969-5.061%205.173-6.229c-.796-1.168-11.936-3.504-10.344-7.786z%22%2F%3E%0A%20%20%20%20%20%20%20%20%3Ccircle%20cx%3D%22139.5%22%20cy%3D%2237.5%22%20r%3D%229.5%22%20fill%3D%22url(%23d)%22%20fill-rule%3D%22nonzero%22%2F%3E%0A%20%20%20%20%20%20%20%20%3Cpath%20fill%3D%22%23FFF%22%20fill-rule%3D%22nonzero%22%20d%3D%22M141.494%2050.978s-6.715.395-8.69-.791c-1.976-1.187-6.321%2016.217-6.321%2016.217l-2.765%2022.942s-.395%202.769%200%204.35c.395%201.583-3.95-.79-2.37%203.56%201.58%204.352-1.186%206.33%201.58%206.725%202.765.396%2017.381-5.538%2017.381-5.538l6.716-35.203L149%2049l-7.506%201.978z%22%2F%3E%0A%20%20%20%20%20%20%20%20%3Cpath%20fill%3D%22%230087BD%22%20d%3D%22M135%2048.315s-3.606-.74-4.78.049c-1.174.789-5.48%206.707-5.48%208.285%200%201.579-1.566%2018.94-1.566%2020.517%200%201.579-1.174%209.864-1.174%2010.653%200%20.79%201.004%204.181%201.004%204.181l2.519-4.575s-.783-5.919%201.957-15.388c2.74-9.47%207.52-23.722%207.52-23.722zM159.208%2058s4.268%208.323%203.492%209.512c-.776%201.19%202.716%208.324%202.716%208.324a2.8%202.8%200%200%200%200%201.981c.388%201.19%202.715%206.342%202.715%208.324%200%201.981-.388%208.323%200%2011.097.388%202.775%205.432%209.513%201.164%209.909-4.267.396-11.251%203.963-10.863%200%20.388-3.963%201.552-13.476%200-15.061-1.552-1.586-2.716-1.586-1.94-3.567.776-1.982-3.492-7.135-3.492-7.135L159.208%2058z%22%2F%3E%0A%20%20%20%20%20%20%20%20%3Cpath%20fill%3D%22%230087BD%22%20d%3D%22M139.274%2054.537s5.267-8.272%205.59-7.484c.324.788%206.238%201.97%206.238%201.97s10.645%207.484%209.856%2010.635c-.788%203.151-6.308%2026.786-6.308%2026.786s-5.126%2012.211-1.183%2020.877c3.943%208.666-.788%2011.818-.788%2011.818s-3.155%201.575-2.366%203.15c.789%201.576-9.068%207.485-10.25%203.152-1.184-4.333-15.772-30.331-12.618-39.785%203.155-9.454%2011.829-31.119%2011.829-31.119z%22%2F%3E%0A%20%20%20%20%20%20%20%20%3Cpath%20fill%3D%22%230A0B09%22%20d%3D%22M147.446%2035h-15.04L129%2027h21z%22%2F%3E%0A%20%20%20%20%20%20%20%20%3Cellipse%20cx%3D%22129.581%22%20cy%3D%2238.453%22%20fill%3D%22url(%23e)%22%20fill-rule%3D%22nonzero%22%20rx%3D%221%22%20ry%3D%222.015%22%20transform%3D%22rotate(-16.16%20129.581%2038.453)%22%2F%3E%0A%20%20%20%20%20%20%20%20%3Cellipse%20cx%3D%22148.538%22%20cy%3D%2238.453%22%20fill%3D%22url(%23f)%22%20fill-rule%3D%22nonzero%22%20rx%3D%222.015%22%20ry%3D%221%22%20transform%3D%22rotate(-73.84%20148.538%2038.453)%22%2F%3E%0A%20%20%20%20%3C%2Fg%3E%0A%3C%2Fsvg%3E%0A")}'},1997:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.parseUsageStatRow=t.getUsageStatColumns=t.usageStatColumnsPercentMode=t.usageStatColumnsDefaultMode=t.faultsColumn=t.limitColumn=t.usageColumn=t.descriptionColumn=void 0;const a=n(42),o=n(450);t.descriptionColumn={name:"description",descr:"Description",convertToFormat:"string"},t.usageColumn={name:"usage",descr:"Usage",convertToFormat:"string",sortable:!1},t.limitColumn={name:"limit",descr:"Limit",convertToFormat:"string",sortable:!1},t.faultsColumn={name:"fault",descr:"Fault",convertToFormat:"number"},t.usageStatColumnsDefaultMode=[t.descriptionColumn,t.usageColumn,t.limitColumn,t.faultsColumn],t.usageStatColumnsPercentMode=[t.descriptionColumn,t.usageColumn,t.faultsColumn];const s=[{title:"SPEED Usage",id:"cpu",format:"percents"},{title:"I/O Usage",id:"io",format:"byteinsec"},{title:"IOPS",id:"iops",format:""},{title:"NPROC",id:"pno",format:""},{title:"Entry Processes",id:"ep",format:""},{title:"Physical Memory Usage",id:"mem",format:"bytes"}];t.getUsageStatColumns=function(e="default"){return e===o.EUserStatMode.percent?t.usageStatColumnsPercentMode:t.usageStatColumnsDefaultMode},t.parseUsageStatRow=function(e,t="default"){return s.map((n=>{let s=n.format,i=(t,n,o)=>{let s=e[t][n];return"object"==typeof s&&s.hasOwnProperty("lve")?s=s.lve:"object"==typeof s&&s.hasOwnProperty("all")&&(s=s.all),a.Helper.reformatValue(o,s)||{value:"0"}};if(t===o.EUserStatMode.percent){const t=i("limit",n.id,""),a=i("usage",n.id,"").value/t.value*100;t.value&&(e.usage[n.id]=Math.round(a)+"%",s="")}return{description:n.title,usage:i("usage",n.id,s),limit:i("limit",n.id,n.format),fault:i("fault",n.id,"")}}))}},1998:function(e,t){e.exports='\x3c!--\n    Copyright \xa9 Cloud Linux GmbH & Cloud Linux Software, Inc 2010-2019 All Rights Reserved\n\n    Licensed under CLOUD LINUX LICENSE AGREEMENT\n    http://cloudlinux.com/docs/LICENSE.TXT\n--\x3e\n<h2 class="lvemanager-current-usage-header" translate>Current usage</h2>\n\n<section class="lvemanager-current-usage-table">\n    <grid\n        *ngIf="!loading"\n        [rows]="usageRows"\n        [columns]="usageColumns"\n        [rowsOnPage]="0"\n        [context]="this"\n        [noFoundText]="noFoundText"\n    >\n    </grid>\n</section>\n\n<ng-container *ngIf="withLVE">\n    <section class="lvemanager-current-usage-filters">\n        <div class="lvemanager-current-usage-filter">\n            <se-timeframe\n                [timeFrame]="timeFrame"\n                (changed)="onInputChange()"\n                valueInside="false">\n            </se-timeframe>\n            <span class="lvemanager-filter_button" translate>\n            {{ timeFrame.stringValue }}\n        </span>\n        </div>\n        <div class="lvemanager-current-usage-filter">\n            <se-timeunit\n                [timeUnit]="timeUnit"\n                (changed)="onInputChange()"\n                valueInside="false">\n            </se-timeunit>\n            <span class="lvemanager-filter_button" translate>\n            {{ timeUnit.stringValue }}\n        </span>\n        </div>\n    </section>\n    <section class="lvemanager-current-usage-stats">\n        <div *ngIf="chart" class="lvemanager-stat_chart" [innerHtml]="chart"></div>\n        <h2 class="lvemanager-current-usage-header" translate>Usage</h2>\n        <grid\n            [id]="\'resource-usage-current-grid\'"\n            [rows]="rows"\n            [columns]="columns"\n            [grouped_header]="true"\n            [rowsOnPage]="rowsOnPage"\n            [enablePageSizer]="true"\n            [oddEven]="false"\n            [context]="this">\n        </grid>\n    </section>\n</ng-container>\n'},1999:function(e,t){e.exports=".lvemanager-current-usage-header{font-size:22px;margin-top:47px;font-family:NotoSans,sans-serif;color:#1d1d1d;margin-bottom:0;padding:0;border:0}.lvemanager-current-usage-table{margin-top:44px;width:1063px}.lvemanager-current-usage-table-row{padding:17px 0 16px 36px;border-bottom:1px solid #dcdcdc;display:grid;grid-template-columns:22% 22% 20% auto}.lvemanager-current-usage-table-row:nth-child(even){background-color:white}.lvemanager-current-usage-table-row:hover{background-color:#e0f0fe}.lvemanager-current-usage-table-row:last-child{border:none}.lvemanager-current-usage-table>header.lvemanager-current-usage-table-row{padding-top:25px;padding-bottom:23px}.lvemanager-current-usage-table>header.lvemanager-current-usage-table-row:hover{background-color:inherit}.lvemanager-current-usage-filters{margin-top:53px;display:flex;flex-direction:row}.lvemanager-current-usage-filter{display:flex;flex-direction:column;justify-content:stretch}.lvemanager-current-usage-filter:not(:first-child){margin-left:10px}.lvemanager-current-usage-filter>span.lvemanager-filter_button{margin:0}.lvemanager-current-usage-stats{margin-top:21px;max-width:1063px}.lvemanager-current-usage-stats>.lvemanager-current-usage-header{margin-top:45px;margin-bottom:31px}"},2e3:function(e,t){e.exports='\x3c!--\n    Copyright \xa9 Cloud Linux GmbH & Cloud Linux Software, Inc 2010-2019 All Rights Reserved\n\n    Licensed under CLOUD LINUX LICENSE AGREEMENT\n    http://cloudlinux.com/docs/LICENSE.TXT\n--\x3e\n<div class="lvemanager-snapshot">\n    <div class="lvemanager-snapshot-header">\n        <h2 translate>Snapshots</h2>\n        <div class="snapshot-header-pagination">\n            <button type="button"\n                    class="snapshot-header-pagination-left"\n                    (click)="previousSnapshot()"\n                    [disabled]="getCurrentIndex() === 0 || !timestampsList.length">\n                <i class="pagination-icon-holder"></i>\n            </button>\n            <button type="button"\n                    class="snapshot-header-pagination-right"\n                    (click)="nextSnapshot()"\n                    [disabled]="getCurrentIndex() === (timestampsList.length - 1) || !timestampsList.length"   >\n                <i class="pagination-icon-holder"></i>\n            </button>\n        </div>\n    </div>\n\n    <div class="lvemanager-snapshot-selectors">\n        <div dropdown class="dropdown" #dateDropdown="bs-dropdown">\n            <button dropdownToggle class="dropdown-toggle selector-dropdown-button lvemanager-single-date-selector"\n                    type="button" name="period"\n                    aria-haspopup="true" aria-expanded="false">\n                <span class="lvemanager-date-picker-icon"></span>\n                <span id="selectedDate"> {{selectedDate.format(\'MMMM, D\')}} </span>\n                <span class="caret"></span>\n            </button>\n            <ul *dropdownMenu class="b_dropdown-menu">\n                <li>\n                    <ui-single-date (changed)="onDateChange($event); dateDropdown.hide()"\n                                    [disableFutureDates]="true"></ui-single-date>\n                </li>\n            </ul>\n        </div>\n        <div dropdown class="dropdown" id="snapshotsListDropdown">\n            <button dropdownToggle\n                    class="dropdown-toggle selector-dropdown-button"\n                    type="button"\n                    aria-haspopup="true"\n                    aria-expanded="false"\n                    [disabled]="selectedTimestamp === null">\n                <span>{{\'Choose snapshot\' | translate}}: {{selectedTimestamp ? timestampToDate(selectedTimestamp, \'HH:mm:ss\') : (\'no snapshots\' | translate) }} </span>\n                <span class="caret"></span>\n            </button>\n            <ul *dropdownMenu class="b_dropdown-menu lvemanager-right-floated">\n                 <li *ngFor="let timestamp of timestampsList">\n                    <a (click)="onSnapshotChange(timestamp)"\n                       [class.lvemanager-selected]="timestamp === selectedTimestamp"\n                       [attr.id]="\'snapshot_\' + timestamp">\n                        {{timestampToDate(timestamp, \'HH:mm:ss\')}}\n                    </a>\n                </li>\n            </ul>\n        </div>\n        <div class="lvemanager-clearfix"></div>\n    </div>\n\n    <div class="lvemanager-snapshot-statistics-container">\n        <nav #tabHeader class="lvemanager-tabs-header">\n            <div class="lvemanager-menu-wrapper lvemanager-collapse navbar-collapse"\n                 id="ui-navigation"\n                 ui-navigation>\n                <ng-container *ngFor="let tab of tabs">\n                    <li *templateDirective id="snapshot-{{tab.id}}"\n                        [class.lvemanager-active]="isActive(tab.link) || (tab.hasOwnProperty(\'altLink\') && isActive(tab.altLink))">\n                        <a [routerLink]="[\'./\'+tab.link]">{{ tab.text | translate}}</a>\n                    </li>\n                </ng-container>\n            </div>\n\n        </nav>\n\n        <div class="lvemanager-main_content_block">\n            <router-outlet></router-outlet>\n        </div>\n\n    </div>\n</div>\n'},2001:function(e,t){e.exports='.lvemanager-snapshot .lvemanager-centered-bg-image{background-repeat:no-repeat;background-position:center}.lvemanager-snapshot-header{margin-top:47px;display:flex;align-items:center}.lvemanager-snapshot-header h2{font-size:22px;font-family:NotoSans,sans-serif;color:#1d1d1d;float:left;margin-right:22px;margin-bottom:0;padding:0;border:0}.snapshot-header-pagination button{width:39px;height:39px;box-shadow:0 2px 4px 0 rgba(0,0,0,0.27);background-color:#ffffff;border:none;border-radius:19.5px;margin-right:8px}.snapshot-header-pagination button i{width:14px;height:14px;object-fit:contain;display:block;margin:0 auto;background-repeat:no-repeat;background-position:center}.snapshot-header-pagination button:enabled:hover{background-color:#2b98f0}.snapshot-header-pagination button:focus{outline:none}.snapshot-header-pagination-left i{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2214%22%20height%3D%2213%22%20viewBox%3D%220%200%2014%2013%22%3E%0A%20%20%20%20%3Cg%20fill%3D%22%23535353%22%20fill-rule%3D%22evenodd%22%3E%0A%20%20%20%20%20%20%20%20%3Cpath%20d%3D%22M13.705%202.115l-4.58%204.59%204.58%204.59-1.41%201.41-6-6%206-6z%22%2F%3E%0A%20%20%20%20%20%20%20%20%3Cpath%20d%3D%22M7.705%202.115l-4.58%204.59%204.58%204.59-1.41%201.41-6-6%206-6z%22%2F%3E%0A%20%20%20%20%3C%2Fg%3E%0A%3C%2Fsvg%3E%0A")}.snapshot-header-pagination-right i{background-image:url("data:image/svg+xml;charset=utf-8,%3C%3Fxml%20version%3D%221.0%22%20encoding%3D%22UTF-8%22%3F%3E%0A%3Csvg%20width%3D%2214px%22%20height%3D%2213px%22%20viewBox%3D%220%200%2014%2013%22%20version%3D%221.1%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20xmlns%3Axlink%3D%22http%3A%2F%2Fwww.w3.org%2F1999%2Fxlink%22%3E%0A%20%20%20%20%3C!--%20Generator%3A%20Sketch%2054%20(76480)%20-%20https%3A%2F%2Fsketchapp.com%20--%3E%0A%20%20%20%20%3Ctitle%3Eright-double-arrow%3C%2Ftitle%3E%0A%20%20%20%20%3Cdesc%3ECreated%20with%20Sketch.%3C%2Fdesc%3E%0A%20%20%20%20%3Cg%20id%3D%22Page-1%22%20stroke%3D%22none%22%20stroke-width%3D%221%22%20fill%3D%22none%22%20fill-rule%3D%22evenodd%22%3E%0A%20%20%20%20%20%20%20%20%3Cg%20id%3D%22right-double-arrow%22%20fill%3D%22%23535353%22%3E%0A%20%20%20%20%20%20%20%20%20%20%20%20%3Cpolygon%20id%3D%22Path%22%20points%3D%220.295%202.115%204.875%206.705%200.295%2011.295%201.705%2012.705%207.705%206.705%201.705%200.705%22%3E%3C%2Fpolygon%3E%0A%20%20%20%20%20%20%20%20%20%20%20%20%3Cpolygon%20id%3D%22Path%22%20points%3D%226.295%202.115%2010.875%206.705%206.295%2011.295%207.705%2012.705%2013.705%206.705%207.705%200.705%22%3E%3C%2Fpolygon%3E%0A%20%20%20%20%20%20%20%20%3C%2Fg%3E%0A%20%20%20%20%3C%2Fg%3E%0A%3C%2Fsvg%3E")}.snapshot-header-pagination-left:enabled:hover i{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg%20width%3D%2214px%22%20height%3D%2213px%22%20viewBox%3D%220%200%2014%2013%22%20version%3D%221.1%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20xmlns%3Axlink%3D%22http%3A%2F%2Fwww.w3.org%2F1999%2Fxlink%22%3E%0A%20%20%20%20%3Cg%20id%3D%22Page-1%22%20stroke%3D%22none%22%20stroke-width%3D%221%22%20fill%3D%22none%22%20fill-rule%3D%22evenodd%22%3E%0A%20%20%20%20%20%20%20%20%3Cg%20id%3D%22left-double-arrow-white%22%20transform%3D%22translate(7.000000%2C%206.500000)%20scale(-1%2C%201)%20translate(-7.000000%2C%20-6.500000)%20%22%20fill%3D%22%23FFFFFF%22%20fill-rule%3D%22nonzero%22%3E%0A%20%20%20%20%20%20%20%20%20%20%20%20%3Cg%20transform%3D%22translate(7.000000%2C%206.500000)%20scale(-1%2C%201)%20translate(-7.000000%2C%20-6.500000)%20%22%20id%3D%22Path%22%3E%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Cpolygon%20points%3D%2213.705%202.115%209.125%206.705%2013.705%2011.295%2012.295%2012.705%206.295%206.705%2012.295%200.705%22%3E%3C%2Fpolygon%3E%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Cpolygon%20points%3D%227.705%202.115%203.125%206.705%207.705%2011.295%206.295%2012.705%200.295%206.705%206.295%200.705%22%3E%3C%2Fpolygon%3E%0A%20%20%20%20%20%20%20%20%20%20%20%20%3C%2Fg%3E%0A%20%20%20%20%20%20%20%20%3C%2Fg%3E%0A%20%20%20%20%3C%2Fg%3E%0A%3C%2Fsvg%3E")}.snapshot-header-pagination-right:enabled:hover i{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2214%22%20height%3D%2213%22%20viewBox%3D%220%200%2014%2013%22%3E%0A%20%20%20%20%3Cg%20fill%3D%22%23FFF%22%20fill-rule%3D%22evenodd%22%3E%0A%20%20%20%20%20%20%20%20%3Cpath%20d%3D%22M.295%202.115l4.58%204.59-4.58%204.59%201.41%201.41%206-6-6-6z%22%2F%3E%0A%20%20%20%20%20%20%20%20%3Cpath%20d%3D%22M6.295%202.115l4.58%204.59-4.58%204.59%201.41%201.41%206-6-6-6z%22%2F%3E%0A%20%20%20%20%3C%2Fg%3E%0A%3C%2Fsvg%3E%0A")}.lvemanager-snapshot-selectors{display:flex;flex-direction:row;margin-top:33px}.lvemanager-snapshot-selectors .dropdown .dropdown-toggle{margin-right:5px;padding:0 15px}.lvemanager-snapshot-selectors .dropdown .b_dropdown-menu{margin-top:-4px}.lvemanager-snapshot-selectors .dropdown .lvemanager-right-floated{right:5px;left:auto;max-height:320px;overflow-x:hidden}.lvemanager-snapshot-selectors .dropdown .lvemanager-single-date-selector{display:flex;align-items:center}.lvemanager-snapshot-selectors .dropdown .lvemanager-single-date-selector #selectedDate{margin:0 10px;text-transform:capitalize}.lvemanager-snapshot-selectors .dropdown .lvemanager-date-picker-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2217%22%20height%3D%2219%22%20viewBox%3D%220%200%2017%2019%22%3E%0A%20%20%20%20%3Cpath%20fill%3D%22%236F7276%22%20fill-rule%3D%22nonzero%22%20d%3D%22M5.875%208.625h-1.75v1.75h1.75v-1.75zm3.5%200h-1.75v1.75h1.75v-1.75zm3.5%200h-1.75v1.75h1.75v-1.75zm1.75-6.125h-.875V.75H12V2.5H5V.75H3.25V2.5h-.875c-.971%200-1.741.788-1.741%201.75L.625%2016.5c0%20.962.779%201.75%201.75%201.75h12.25c.963%200%201.75-.788%201.75-1.75V4.25c0-.962-.787-1.75-1.75-1.75zm0%2014H2.375V6.875h12.25V16.5z%22%2F%3E%0A%3C%2Fsvg%3E%0A");width:17px;height:19px;background-repeat:no-repeat;background-position:center}.lvemanager-snapshot-statistics-container .navbar-collapse{padding:0}.lvemanager-snapshot-statistics-container .navbar-collapse li{margin-left:5px;margin-right:37px}@media screen and (max-width:767px){.lvemanager-snapshot-statistics-container .navbar-collapse{padding-left:10px}}.lvemanager-snapshot-statistics-container #ui-navigation{margin-top:19px;border-top:solid 1px #eceef1;border-bottom:solid 1px #eceef1}.lvemanager-snapshot-statistics-container #ui-navigation li.lvemanager-active a{color:#2b98f0}.lvemanager-snapshot-statistics-container #ui-navigation li a{height:auto;padding-top:8px;padding-bottom:15px;line-height:28px;font-weight:600;font-size:13px}.lvemanager-snapshot ::ng-deep .lvemanager-snapshot-info-table{width:91%;margin-top:19px}.lvemanager-snapshot ::ng-deep .lvemanager-snapshot-info-table table{table-layout:fixed}.lvemanager-snapshot ::ng-deep .lvemanager-snapshot-info-table .lvemanager-text-truncating{max-width:0}.lvemanager-snapshot ::ng-deep .lvemanager-snapshot-info-table .lvemanager-text-truncating span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.lvemanager-snapshot ::ng-deep .lvemanager-snapshot-info-table .lvemanager-text-truncating .tooltip{opacity:1 !important}.lvemanager-snapshot ::ng-deep .lvemanager-snapshot-info-table .lvemanager-text-truncating .tooltip .tooltip-arrow{border-top-color:#004f9a}.lvemanager-snapshot ::ng-deep .lvemanager-snapshot-info-table .lvemanager-text-truncating .tooltip .tooltip-inner{font-size:13px;background-color:#004f9a;color:#fff}'},2002:function(e,t){e.exports='\x3c!--\n    Copyright \xa9 Cloud Linux GmbH & Cloud Linux Software, Inc 2010-2019 All Rights Reserved\n\n    Licensed under CLOUD LINUX LICENSE AGREEMENT\n    http://cloudlinux.com/docs/LICENSE.TXT\n--\x3e\n\n<section class="lvemanager-snapshot-info-table">\n    <grid\n            [rows]="usageRows"\n            [columns]="usageColumns"\n            [context]="this"\n    >\n    </grid>\n</section>'},2003:function(e,t){e.exports=""},2004:function(e,t){e.exports='\x3c!--\n    Copyright \xa9 Cloud Linux GmbH & Cloud Linux Software, Inc 2010-2019 All Rights Reserved\n\n    Licensed under CLOUD LINUX LICENSE AGREEMENT\n    http://cloudlinux.com/docs/LICENSE.TXT\n--\x3e\n\n<section class="lvemanager-snapshot-info-table">\n    <grid\n            [rows]="usageRows"\n            [columns]="usageColumns"\n            [context]="this"\n    >\n    </grid>\n</section>'},2005:function(e,t){e.exports=""},2006:function(e,t){e.exports='\x3c!--\n    Copyright \xa9 Cloud Linux GmbH & Cloud Linux Software, Inc 2010-2019 All Rights Reserved\n\n    Licensed under CLOUD LINUX LICENSE AGREEMENT\n    http://cloudlinux.com/docs/LICENSE.TXT\n--\x3e\n\n<section class="lvemanager-snapshot-info-table">\n    <grid\n            [rows]="usageRows"\n            [columns]="usageColumns"\n            [context]="this"\n    >\n    </grid>\n</section>'},2007:function(e,t){e.exports=""},2008:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.UserStatOptions=void 0;const a=n(1),o=n(65),s=n(297);class i{}a.__decorate([o.Transform((function(e){return o.plainToClass(s.UiOption,{value:e})})),a.__metadata("design:type",s.UiOption)],i.prototype,"notifyUser",void 0),t.UserStatOptions=i},2009:function(e,t){e.exports='\x3c!--\n    Copyright \xa9 Cloud Linux GmbH & Cloud Linux Software, Inc 2010-2021 All Rights Reserved\n\n    Licensed under CLOUD LINUX LICENSE AGREEMENT\n    http://cloudlinux.com/docs/LICENSE.TXT\n--\x3e\n<h2 class="lvemanager-page-title" translate>Options</h2>\n\n<div class="lvemanager-user-email-notifications">\n    <h3 class="lvemanager-user-email-notifications__title">LVE Stats Email Notifications</h3>\n    <div class="lvemanager-user-email-notifications__control">\n        <fe-checkbox *ngIf="userStatsOptions?.notifyUser" class="lvemanager-user-email-notifications__control--checkbox"\n                     [title]="\'Notify me when I hit my resource limits\'"\n                     [id]="\'turnLveStatsEmailNotification\'"\n                     [disabled]="userStatsOptions.notifyUser.loading || !userStatsOptions.notificationsAllowed"\n                     [(ngModel)]="userStatsOptions.notifyUser.value">\n            <ui-spinner [show]="userStatsOptions.notifyUser.loading"></ui-spinner>\n        </fe-checkbox>\n        <ui-simple-info *ngIf="!userStatsOptions?.notificationsAllowed"\n                        [icon]="\'error\'"\n                        [message]="\'WARNING.manage_user_option_disabled_by_admin\' | translate"\n        ></ui-simple-info>\n    </div>\n</div>\n'},2010:function(e,t){e.exports='.lvemanager-page-title{font-family:"Noto Sans",sans-serif;font-style:normal;font-weight:normal;font-size:22px;line-height:30px;color:#1D1D1D}.lvemanager-user-email-notifications{background:#FFFFFF;box-shadow:0 0 2px rgba(0,0,0,0.12),0 2px 2px rgba(0,0,0,0.24);padding:30px}.lvemanager-user-email-notifications__title{font-family:"Noto Sans",sans-serif;font-style:normal;font-weight:bold;font-size:14px;line-height:19px}.lvemanager-user-email-notifications__control{display:flex;align-items:center}.lvemanager-user-email-notifications__control--checkbox{font-family:"Noto Sans",sans-serif;font-style:normal;font-weight:normal;font-size:14px;line-height:19px;color:#1D1D1D}.lvemanager-user-email-notifications__control ui-simple-info{margin-left:15px}.lvemanager-user-email-notifications ::ng-deep .lvemanager-control-wrapper{display:flex;align-items:center;margin-left:0}'},2011:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.App=t.RESOURCE_USAGE_TABS=void 0;const a=n(1),o=n(0),s=n(18),i=n(804);t.RESOURCE_USAGE_TABS={withLVE:[{link:"/",altLink:"/",text:"Dashboard"},{link:"/current",text:"Current usage"},{link:"/snapshot",altLink:"/snapshot",text:"Snapshot"},{link:"/options",altLink:"/options",text:"Options"}],noLVE:[{link:"/",altLink:"/",text:"Current usage"}]};let r=class extends i.BaseApplicationComponent{get oneMoreTabs(){return this.tabs.length>1}getTabs(){return this.appState.get("IS_LVE_SUPPORTED")?t.RESOURCE_USAGE_TABS.withLVE:t.RESOURCE_USAGE_TABS.noLVE}ngOnInit(){this.tabs=this.getTabs()}};a.__decorate([o.ViewChild(s.RouterOutlet),a.__metadata("design:type",s.RouterOutlet)],r.prototype,"routerOutlet",void 0),a.__decorate([o.ViewChild("tabHeader"),a.__metadata("design:type",Object)],r.prototype,"tabHeader",void 0),r=a.__decorate([o.Component({selector:"lvemanager",template:a.__importDefault(n(2012)).default,styles:[a.__importDefault(n(2013)).default,a.__importDefault(n(805)).default]})],r),t.App=r},2012:function(e,t){e.exports='\x3c!--\n    Copyright \xa9 Cloud Linux GmbH & Cloud Linux Software, Inc 2010-2019 All Rights Reserved\n\n    Licensed under CLOUD LINUX LICENSE AGREEMENT\n    http://cloudlinux.com/docs/LICENSE.TXT\n--\x3e\n<link href="https://fonts.googleapis.com/css?family=Noto+Sans:400,700&amp;subset=cyrillic" rel="stylesheet">\n<link href="https://fonts.googleapis.com/icon?family=Material+Icons|Material+Icons+Outlined" rel="stylesheet">\n<link href="https://fonts.googleapis.com/css?family=Roboto" rel="stylesheet">\n<nav #tabHeader class="lvemanager-tabs-header">\n    <div class="navbar-header">\n        <button type="button"\n                class="navbar-toggle lvemanager-collapsed"\n                data-toggle="collapse"\n                data-target="#uiNavigation"\n                aria-expanded="false">\n            <span class="lvemanager-sr-only">Toggle navigation</span>\n            <i class="material-icons"></i>\n        </button>\n        <a [routerLink]="[\'/\']" class="lvemanager-logo" translate>Resource Usage</a>\n    </div>\n\n    <div *ngIf="oneMoreTabs" class="lvemanager-menu-wrapper lvemanager-collapse navbar-collapse"\n         id="uiNavigation"\n         ui-navigation>\n        <ng-container *ngFor="let tab of tabs">\n            <li  *templateDirective [class.lvemanager-active]="isActive(tab.link) || (tab.hasOwnProperty(\'altLink\') && isActive(tab.altLink))" >\n                <a [routerLink]="[\'./\'+tab.link]">{{ tab.text | translate}}</a>\n            </li>\n        </ng-container>\n    </div>\n\n    <div class="lvemanager-progress-bar-wrapper" [class.hidden]="appState.get(\'isHiddenProgressBar\')">\n        <mat-progress-bar mode="determinate" [value]="loadingBar.progress$|async"></mat-progress-bar>\n    </div>\n</nav>\n\n<div class="lvemanager-main_content_block lvemanager-app-resource-usage-content">\n    <router-outlet #route></router-outlet>\n</div>\n<span id="language-code-translate-check" style="display: none;" translate>LANG_CODE</span>\n'},2013:function(e,t){e.exports=".lvemanager-ui-scroll::-webkit-scrollbar{width:12px;height:12px}.lvemanager-ui-scroll::-webkit-scrollbar-button{width:0;height:0}.lvemanager-ui-scroll::-webkit-scrollbar-thumb{-webkit-border-radius:0;-moz-border-radius:0;border-radius:0;-moz-background-clip:padding;-webkit-background-clip:padding-box;background-clip:padding-box;background:#2b98f0;border:0 none transparent}.lvemanager-ui-scroll::-webkit-scrollbar-thumb:hover{background:#2b98f0}.lvemanager-ui-scroll::-webkit-scrollbar-thumb:active{background:#2b98f0}.lvemanager-ui-scroll::-webkit-scrollbar-track{-webkit-border-radius:0;-moz-border-radius:0;border-radius:0;-moz-background-clip:padding;-webkit-background-clip:padding-box;background-clip:padding-box;background:#ffffff;border:0 none #ffffff}.lvemanager-ui-scroll::-webkit-scrollbar-track:hover{background:#ffffff}.lvemanager-ui-scroll::-webkit-scrollbar-track:active{background:#ffffff}.lvemanager-ui-scroll::-webkit-scrollbar-corner{background:transparent}.lvemanager-clearboth{zoom:1}.lvemanager-clearboth:before,.lvemanager-clearboth:after{content:\"\";display:table}.lvemanager-clearboth:after{clear:both}@keyframes spin{from{-webkit-transform:rotate(0deg);-moz-transform:rotate(0deg);-ms-transform:rotate(0deg);-o-transform:rotate(0deg);transform:rotate(0deg)}to{-webkit-transform:rotate(360deg);-moz-transform:rotate(360deg);-ms-transform:rotate(360deg);-o-transform:rotate(360deg);transform:rotate(360deg)}}.lvemanager-tabs-header{margin-bottom:30px}.lvemanager-tabs-header .navbar-header{margin-top:15px}.lvemanager-tabs-header .navbar-header .navbar-toggle{padding:4px 10px !important}.lvemanager-tabs-header .navbar-header .navbar-toggle .material-icons::before{color:#2b98f0;content:'close';-webkit-transition:all .2s ease-out;-moz-transition:all .2s ease-out;-ms-transition:all .2s ease-out;-o-transition:all .2s ease-out;transition:all .2s ease-out}.lvemanager-tabs-header .navbar-header .navbar-toggle.lvemanager-collapsed .material-icons::before{content:'menu'}.lvemanager-tabs-header .navbar-header .navbar-toggle:hover,.lvemanager-tabs-header .navbar-header .navbar-toggle:active,.lvemanager-tabs-header .navbar-header .navbar-toggle:focus{background-color:#f1f1f1;border-radius:2px}@media (max-width:767px){.lvemanager-tabs-header{background-color:#f7f8f9}}.lvemanager-tabs-header .lvemanager-menu-wrapper{border-radius:6px}@media (min-width:768px){.lvemanager-tabs-header .lvemanager-menu-wrapper{background-color:#f7f8f9}}.lvemanager-tabs-header .lvemanager-progress-bar-wrapper{height:4px}:host/deep/mat-progress-bar{padding-bottom:1px;margin-bottom:30px}:host/deep/mat-progress-bar .mat-progress-bar-fill:after{background-color:#2b98f0}:host/deep/mat-progress-bar .mat-progress-bar-buffer{display:none}:host/deep/mat-progress-bar .mat-progress-bar-background{display:none}a em{font-style:normal}ul.navbar-nav{display:flex;margin-right:24px}ul.navbar-nav li.lvemanager-static{position:static}.nav-item-divider{position:relative}.nav-item-divider::after{content:'';position:absolute;top:50%;right:-13px;width:1px;height:27px;background-color:#eeeeee;transform:translateY(-50%)}.lvemanager-logo{background-image:url(\"data:image/svg+xml;charset=utf-8,%3Csvg%20width%3D%2248%22%20height%3D%2248%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%0A%20%3Cstyle%20type%3D%22text%2Fcss%22%3E%0A%20%20%3C!%5BCDATA%5B.CSSGicon1%7Bfill%3A%23E0E0E0%3B%7D.CSSGicon2%7Bfill%3A%23262626%3B%7D.CSSGicon3%7Bfill%3A%234F5B94%3B%7D.CSSGicon4%7Bfill%3A%2315587C%3B%7D.CSSGicon5%7Bfill%3Anone%3B%7D.CSSGicon6%7Bfill%3A%23BCBCBC%3B%7D.CSSGicon7%7Bfill%3A%23FFFFFF%3B%7D.CSSGicon8%7Bfill%3A%23D34231%3B%7D.CSSGicon9%7Bfill%3A%23666666%3B%7D.CSSGicon10%7Bfill%3A%23EDA72B%3B%7D.CSSGicon11%7Bfill%3A%2325323C%3B%7D.CSSGicon12%7Bfill%3A%23336792%3B%7D.CSSGicon13%7Bfill%3A%2332415B%3B%7D.CSSGicon14%7Bfill%3A%2384B556%3B%7D.CSSGicon15%7Bfill%3A%236A9638%3B%7D.CSSGicon16%7Bfill%3A%23189BD8%3B%7D.CSSGicon17%7Bfill%3A%23BA342A%3B%7D.CSSGicon18%7Bfill%3A%23FF6C2C%3B%7D.CSSGicon19%7Bfill%3A%238892BF%3B%7D.CSSGicon20%7Bfill%3A%23FFFFFF%3Bstroke%3A%23FFFFFF%3Bstroke-miterlimit%3A10%3Bstroke-width%3A0.25%3B%7D.CSSGicon21%7Bfill%3A%23FFFFFF%3Bstroke%3A%23FFFFFF%3Bstroke-miterlimit%3A10%3B%7D.CSSGicon22%7Bfill%3A%23FF6A1A%3B%7D.CSSGicon23%7Bfill%3A%2300AA17%3B%7D.CSSGicon24%7Bfill%3A%23FA741D%3B%7D.CSSGicon25%7Bfill%3Anone%3Bstroke%3A%2315587C%3Bstroke-miterlimit%3A10%3B%7D.CSSGicon26%7Bfill%3Anone%3Bstroke%3A%2315587C%3Bstroke-miterlimit%3A10%3Bstroke-width%3A1.5%3B%7D.CSSGicon27%7Bfill%3Anone%3Bstroke%3A%23BA342A%3Bstroke-miterlimit%3A10%3Bstroke-width%3A5%3B%7D.CSSGicon28%7Bfill%3A%23000004%3B%7D.CSSGicon29%7Bfill%3A%23000004%3Bstroke%3A%23FFFFFF%3Bstroke-miterlimit%3A10%3Bstroke-width%3A0.5%3B%7D.CSSGicon30%7Bfill%3A%23017F00%3B%7D.CSSGicon31%7Bfill%3Anone%3Bstroke%3A%23BCBCBC%3Bstroke-miterlimit%3A10%3B%7D.CSSGicon32%7Bfill%3A%2339FF2A%3B%7D.CSSGicon33%7Bfill%3A%23FF00B3%3B%7D.CSSGicon34%7Bfill%3A%234DFF00%3B%7D.CSSGicon35%7Bfill%3A%23FFFFFF%3Bstroke%3A%23FFFFFF%3Bstroke-miterlimit%3A10%3Bstroke-width%3A1.5%3B%7D.CSSGicon36%7Bfill%3A%23FFFFFF%3Bstroke%3A%23FFFFFF%3Bstroke-miterlimit%3A10%3Bstroke-width%3A0.5%3B%7D.CSSGicon37%7Bfill%3A%23FFFFFF%3Bstroke%3A%23BCBCBC%3Bstroke-miterlimit%3A10%3B%7D.CSSGicon38%7Bfill%3A%23ededed%3B%7D.CSSGicon39%7Bfill%3A%23374751%3B%7D.CSSGicon40%7Bfill%3A%23666%3B%7D%5D%5D%3E%0A%20%3C%2Fstyle%3E%0A%0A%20%3Cg%3E%0A%20%20%3Ctitle%3Ebackground%3C%2Ftitle%3E%0A%20%20%3Crect%20fill%3D%22none%22%20id%3D%22canvas_background%22%20height%3D%2250%22%20width%3D%2250%22%20y%3D%22-1%22%20x%3D%22-1%22%2F%3E%0A%20%3C%2Fg%3E%0A%20%3Cg%3E%0A%20%20%3Ctitle%3ELayer%201%3C%2Ftitle%3E%0A%20%20%3Cg%20id%3D%22svg_285%22%3E%0A%20%20%20%3Ccircle%20id%3D%22svg_286%22%20r%3D%2224%22%20cy%3D%2224%22%20cx%3D%2223.999953%22%20class%3D%22CSSGicon6%22%2F%3E%0A%20%20%20%3Cpath%20id%3D%22svg_287%22%20d%3D%22m7.070953%2C13.299c0%2C0%20-2.483%2C3.271%20-3.103%2C8.392l12.103%2C0c0%2C0%200.908%2C-2.739%203.225%2C-4.415c0.259%2C-0.188%200.536%2C-0.361%200.832%2C-0.517l-8.09%2C-8.449c-1.636%2C1.216%20-3.358%2C2.834%20-4.967%2C4.989z%22%20class%3D%22CSSGicon15%22%2F%3E%0A%20%20%20%3Cpath%20id%3D%22svg_288%22%20d%3D%22m35.774953%2C8.347c-0.053%2C-0.04%20-0.105%2C-0.079%20-0.158%2C-0.118c-7.515%2C-5.642%20-16.134%2C-3.45%20-16.134%2C-3.45s-3.452%2C0.561%20-7.432%2C3.52c-0.005%2C0.004%20-0.01%2C0.007%20-0.014%2C0.011l8.09%2C8.449c1.652%2C-0.871%203.879%2C-1.159%206.805%2C0.071l0.847%2C-0.168l8.25%2C-8.113c-0.086%2C-0.068%20-0.167%2C-0.136%20-0.254%2C-0.202z%22%20class%3D%22CSSGicon10%22%2F%3E%0A%20%20%20%3Cpath%20id%3D%22svg_289%22%20d%3D%22m41.257953%2C18.38c-1.034%2C0.879%20-4.655%2C3.31%20-4.655%2C3.31l7.448%2C0c0%2C0%20-0.712%2C-7.378%20-8.022%2C-13.142l-8.25%2C8.113l10.893%2C-2.159c0%2C0%202.483%2C-0.569%203.051%2C1.552c0%2C-0.001%200.569%2C1.447%20-0.465%2C2.326z%22%20class%3D%22CSSGicon8%22%2F%3E%0A%20%20%20%3Ccircle%20id%3D%22svg_290%22%20r%3D%223.439%22%20cy%3D%2223.371%22%20cx%3D%2223.930953%22%20class%3D%22CSSGicon9%22%2F%3E%0A%20%20%20%3Cpolygon%20id%3D%22svg_291%22%20points%3D%2223.0919189453125%2C20.035999298095703%2039.0849609375%2C16.82900047302246%2025.47998046875%2C26.441999435424805%20%22%20class%3D%22CSSGicon9%22%2F%3E%0A%20%20%20%3Ccircle%20id%3D%22svg_292%22%20r%3D%222.146%22%20cy%3D%2235.267%22%20cx%3D%2212.914953%22%20class%3D%22CSSGicon1%22%2F%3E%0A%20%20%20%3Ccircle%20id%3D%22svg_293%22%20r%3D%222.146%22%20cy%3D%2235.267%22%20cx%3D%2234.898953%22%20class%3D%22CSSGicon1%22%2F%3E%0A%20%20%20%3Crect%20id%3D%22svg_294%22%20y%3D%2232.81%22%20x%3D%2217.051953%22%20width%3D%222.845%22%20height%3D%224.983%22%20class%3D%22CSSGicon9%22%2F%3E%0A%20%20%20%3Crect%20id%3D%22svg_295%22%20y%3D%2232.81%22%20x%3D%2228.016953%22%20width%3D%222.845%22%20height%3D%224.983%22%20class%3D%22CSSGicon9%22%2F%3E%0A%20%20%20%3Crect%20id%3D%22svg_296%22%20y%3D%2232.81%22%20x%3D%2221.187953%22%20width%3D%222.123%22%20height%3D%224.983%22%20class%3D%22CSSGicon9%22%2F%3E%0A%20%20%20%3Crect%20id%3D%22svg_297%22%20y%3D%2232.775%22%20x%3D%2224.704953%22%20width%3D%222.123%22%20height%3D%224.983%22%20class%3D%22CSSGicon9%22%2F%3E%0A%20%20%20%3Cpath%20id%3D%22svg_298%22%20d%3D%22m9.364953%2C28.87l-0.827%2C0l0%2C-2.297c0%2C-0.248%200.01%2C-0.522%200.03%2C-0.822l-0.02%2C0c-0.043%2C0.235%20-0.082%2C0.405%20-0.116%2C0.509l-0.872%2C2.61l-0.685%2C0l-0.887%2C-2.584c-0.024%2C-0.069%20-0.062%2C-0.248%20-0.116%2C-0.535l-0.023%2C0c0.022%2C0.379%200.033%2C0.711%200.033%2C0.996l0%2C2.123l-0.754%2C0l0%2C-3.839l1.227%2C0l0.76%2C2.275c0.061%2C0.182%200.104%2C0.365%200.132%2C0.549l0.015%2C0c0.047%2C-0.212%200.096%2C-0.397%200.147%2C-0.555l0.761%2C-2.27l1.195%2C0l0%2C3.84z%22%20class%3D%22CSSGicon9%22%2F%3E%0A%20%20%20%3Cpath%20id%3D%22svg_299%22%20d%3D%22m11.047953%2C28.87l-0.837%2C0l0%2C-3.839l0.837%2C0l0%2C3.839z%22%20class%3D%22CSSGicon9%22%2F%3E%0A%20%20%20%3Cpath%20id%3D%22svg_300%22%20d%3D%22m15.237953%2C28.87l-0.846%2C0l-1.532%2C-2.412c-0.09%2C-0.141%20-0.152%2C-0.247%20-0.187%2C-0.318l-0.011%2C0c0.014%2C0.136%200.021%2C0.343%200.021%2C0.621l0%2C2.109l-0.79%2C0l0%2C-3.839l0.902%2C0l1.476%2C2.337c0.067%2C0.105%200.129%2C0.21%200.187%2C0.313l0.011%2C0c-0.015%2C-0.09%20-0.021%2C-0.266%20-0.021%2C-0.527l0%2C-2.123l0.791%2C0l0%2C3.839l-0.001%2C0z%22%20class%3D%22CSSGicon9%22%2F%3E%0A%20%20%20%3Cpath%20id%3D%22svg_301%22%20d%3D%22m36.260953%2C28.87l-0.827%2C0l0%2C-2.297c0%2C-0.248%200.01%2C-0.522%200.03%2C-0.822l-0.021%2C0c-0.043%2C0.235%20-0.082%2C0.405%20-0.116%2C0.509l-0.872%2C2.61l-0.685%2C0l-0.887%2C-2.584c-0.024%2C-0.069%20-0.062%2C-0.248%20-0.116%2C-0.535l-0.023%2C0c0.022%2C0.379%200.033%2C0.711%200.033%2C0.996l0%2C2.123l-0.754%2C0l0%2C-3.839l1.227%2C0l0.76%2C2.275c0.061%2C0.182%200.104%2C0.365%200.132%2C0.549l0.016%2C0c0.047%2C-0.212%200.096%2C-0.397%200.147%2C-0.555l0.761%2C-2.27l1.195%2C0l0%2C3.84z%22%20class%3D%22CSSGicon9%22%2F%3E%0A%20%20%20%3Cpath%20id%3D%22svg_302%22%20d%3D%22m40.375953%2C28.87l-0.913%2C0l-0.264%2C-0.854l-1.323%2C0l-0.262%2C0.854l-0.907%2C0l1.354%2C-3.839l0.993%2C0l1.322%2C3.839zm-1.369%2C-1.517l-0.399%2C-1.291c-0.029%2C-0.097%20-0.05%2C-0.211%20-0.062%2C-0.345l-0.021%2C0c-0.009%2C0.112%20-0.03%2C0.224%20-0.064%2C0.334l-0.405%2C1.302l0.951%2C0z%22%20class%3D%22CSSGicon9%22%2F%3E%0A%20%20%20%3Cpath%20id%3D%22svg_303%22%20d%3D%22m43.876953%2C28.87l-0.993%2C0l-0.641%2C-1.25c-0.024%2C-0.047%20-0.049%2C-0.133%20-0.075%2C-0.257l-0.01%2C0c-0.013%2C0.059%20-0.041%2C0.147%20-0.086%2C0.268l-0.644%2C1.239l-0.998%2C0l1.186%2C-1.92l-1.084%2C-1.919l1.019%2C0l0.532%2C1.151c0.041%2C0.091%200.078%2C0.198%200.111%2C0.323l0.01%2C0c0.021%2C-0.074%200.06%2C-0.187%200.117%2C-0.334l0.591%2C-1.141l0.934%2C0l-1.115%2C1.903l1.146%2C1.937z%22%20class%3D%22CSSGicon9%22%2F%3E%0A%20%20%3C%2Fg%3E%0A%20%3C%2Fg%3E%0A%3C%2Fsvg%3E\");background-size:60px 60px;background-position:left;display:flex;align-items:center;font-size:22px;font-family:\"Open Sans\",sans-serif;color:black;text-decoration:none;font-weight:bold;height:60px;margin-left:25px;margin-top:0px;padding-left:80px;background-repeat:no-repeat}@media (max-width:767px){.lvemanager-logo{height:40px;margin-top:9px}}.lvemanager-app-resource-usage-content{box-sizing:border-box;margin-left:22px}.lvemanager-tabs-header{display:flex;flex-direction:column}"},2014:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.SeTimeFrame=void 0;const a=n(1),o=n(0),s=n(835);let i=class{constructor(){this.valueInside=!1,this.timeFrame=new s.TimeFrameInfo,this.actionEmitter=new o.EventEmitter,this.timeframesAvailable=s.availableTimeFrames}TimeFrameChanged(e){"string"==typeof e&&e===this.timeFrame.period||(this.timeFrame.value=e,this.timeFrame.detectChanges(),this.actionEmitter.emit(this.timeFrame))}};a.__decorate([o.Input(),a.__metadata("design:type",Boolean)],i.prototype,"valueInside",void 0),a.__decorate([o.Input(),a.__metadata("design:type",s.TimeFrameInfo)],i.prototype,"timeFrame",void 0),a.__decorate([o.Output("changed"),a.__metadata("design:type",o.EventEmitter)],i.prototype,"actionEmitter",void 0),i=a.__decorate([o.Component({selector:"se-timeframe",template:a.__importDefault(n(2015)).default,styles:[a.__importDefault(n(843)).default]})],i),t.SeTimeFrame=i},2015:function(e,t){e.exports='\x3c!--\n    Copyright \xa9 Cloud Linux GmbH & Cloud Linux Software, Inc 2010-2019 All Rights Reserved\n\n    Licensed under CLOUD LINUX LICENSE AGREEMENT\n    http://cloudlinux.com/docs/LICENSE.TXT\n--\x3e\n<div dropdown class="dropdown" #periodDropdown="bs-dropdown">\n    <label *ngIf="!valueInside" class="lvemanager-selector-label">>\n        {{ \'Timeframe\'|translate }}\n    </label>\n    <button dropdownToggle class="dropdown-toggle selector-dropdown-button"\n            type="button" name="period"\n            aria-haspopup="true" aria-expanded="false">\n        <span> {{  valueInside ?  (\'Timeframe\'|translate) : timeFrame.toString() }}</span>\n        <span class="caret"></span>\n    </button>\n    <ul *dropdownMenu class="b_dropdown-menu">\n        <li *ngFor="let period of (timeframesAvailable | keys)">\n            <a (click)="TimeFrameChanged(period.key)"\n               [class.lvemanager-selected]="period.key === timeFrame.value"\n               [attr.id]="\'period_\' + period.key">\n                {{ period.value | translate }}\n            </a>\n        </li>\n        <li class="dropdown-submenu">\n            <a [class.lvemanager-selected]="timeFrame.type === \'range\'" id="period_date_range">\n                {{ \'Date range\' | translate }}</a>\n            <ul class="b_dropdown-menu">\n                <li>\n                    <ui-date-range #periodPicker\n                                   id="periodPicker"\n                                   [range]="timeFrame.range"\n                                   (rangeChange)="TimeFrameChanged($event); periodDropdown.hide();"></ui-date-range>\n                </li>\n            </ul>\n        </li>\n    </ul>\n</div>\n'},2016:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.SeTimeUnit=void 0;const a=n(1),o=n(837),s=n(0);let i=class{constructor(){this.valueInside=!1,this.timeUnit=new o.TimeUnitInfo,this.actionEmitter=new s.EventEmitter,this.timeUnitsAvailable=o.availableTimeUnit}TimeUnitChanged(e){e!==this.timeUnit.value&&(this.timeUnit.value=e,this.timeUnit.detectChanges(),this.actionEmitter.emit(this.timeUnit))}};a.__decorate([s.Input(),a.__metadata("design:type",Boolean)],i.prototype,"valueInside",void 0),a.__decorate([s.Input(),a.__metadata("design:type",o.TimeUnitInfo)],i.prototype,"timeUnit",void 0),a.__decorate([s.Output("changed"),a.__metadata("design:type",s.EventEmitter)],i.prototype,"actionEmitter",void 0),i=a.__decorate([s.Component({selector:"se-timeunit",template:a.__importDefault(n(2017)).default,styles:[a.__importDefault(n(843)).default]})],i),t.SeTimeUnit=i},2017:function(e,t){e.exports='\x3c!--\n    Copyright \xa9 Cloud Linux GmbH & Cloud Linux Software, Inc 2010-2019 All Rights Reserved\n\n    Licensed under CLOUD LINUX LICENSE AGREEMENT\n    http://cloudlinux.com/docs/LICENSE.TXT\n--\x3e\n<div dropdown class="dropdown">\n    <label *ngIf="!valueInside" class="lvemanager-selector-label">{{ \'Time Unit\'|translate }}</label>\n    <button dropdownToggle class="dropdown-toggle selector-dropdown-button"\n            type="button" name="timeUnit"\n            aria-haspopup="true" aria-expanded="false">\n        <span> {{  (valueInside ?  \'Time Unit\' : timeUnitsAvailable[timeUnit.toString()].toString()) | translate }}</span>\n        <span class="caret"></span>\n    </button>\n    <ul *dropdownMenu class="b_dropdown-menu">\n        <li *ngFor="let timeUnit of (timeUnitsAvailable | keys)">\n            <a (click)="TimeUnitChanged(timeUnit.key)"\n               [class.lvemanager-selected]="timeUnit.key == useTimeUnit"\n               [attr.id]="\'timeUnit_\'+timeUnit.key"\n               translate>\n                {{ timeUnit.value }}\n            </a>\n        </li>\n    </ul>\n</div>\n'},2018:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});n(1).__exportStar(n(842),t)},2019:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.AppResourceUsageConfig=void 0;const a=n(1),o=n(0),s=n(10),i=n(102),r=n(18),l=n(832),p=n(164);let c=class{constructor(e){this._injector=e}get _appConfig(){return this._injector.get(i.ConfigRepo)}get _appState(){return this._injector.get(s.AppState)}get _router(){return this._injector.get(r.Router)}get _sentryInitializer(){return this._injector.get(p.SentryInitializerService)}loadConfig(){return new Promise(((e,t)=>{this._appConfig.getUserInfo().then((t=>{const n=!0===t.is_lve_supported,a=t.user_stats_mode,o=t.server_ip;this._appState.set("IS_LVE_SUPPORTED",n),this._appState.set("SERVER_IP",o),this._appState.set("STATS_MODE",a),n||this._router.resetConfig(l.NO_LVE_ROUTES),this._sentryInitializer.initSentry(),e(t)}),(e=>{t(e)}))}))}};c=a.__decorate([o.Injectable(),a.__metadata("design:paramtypes",[o.Injector])],c),t.AppResourceUsageConfig=c},306:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.SnapshotService=void 0;const a=n(1),o=n(0),s=n(154),i=n(6);let r=class{constructor(e){this.statsRepo=e,this.snapshotFetched=new o.EventEmitter,this._snapshots=new Map,this._timestamps=new Map}setSnapshot(e){return a.__awaiter(this,void 0,void 0,(function*(){this._snapshots.has(e)?this._currentSnapshot=this._snapshots.get(e):null===e?this._currentSnapshot={}:(this._currentSnapshot=(yield this._fetchSnapshots({timestamp:e})).snapshots[0],this._snapshots.set(e,this._currentSnapshot)),this.snapshotFetched.emit()}))}getSnapshot(){return this._currentSnapshot}getTimestamps(e){return a.__awaiter(this,void 0,void 0,(function*(){const t=e.clone().format("YYYY-MM-DD");if(this._timestamps.has(t)&&!e.isSame(i(),"day"))return this._timestamps.get(t);const n=yield this._fetchTimestamps(e);return this._timestamps.set(t,n),n}))}_fetchSnapshots(e){return a.__awaiter(this,void 0,void 0,(function*(){return(yield Promise.resolve(this.statsRepo.getSnapshots(e))).data}))}_fetchTimestamps(e){return a.__awaiter(this,void 0,void 0,(function*(){return(yield Promise.resolve(yield Promise.resolve(this.statsRepo.getSnapshots(Object.assign({list:"",from:e.locale("en").format("YYYY-MM-DD 00:00"),to:e.locale("en").clone().add("1","days").format("YYYY-MM-DD 00:00")},{}))))).data}))}};r=a.__decorate([o.Injectable(),a.__metadata("design:paramtypes",[s.StatsRepo])],r),t.SnapshotService=r},503:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.appendUnit=t.mapColumnInfo=t.parseSqlQueriesRow=t.parseHttpQueriesRow=t.parseProcessListRow=t.httpQueriesListColumns=t.databaseQueriesListColumns=t.processListColumns=void 0;const a=n(124);function o(e,t){return e+t}t.processListColumns=[{name:"pid",descr:"PID",convertToFormat:"number"},{name:"cmd",descr:"CMD",convertToFormat:"string",additionalCssClass:"text-truncating"},{name:"cpu",descr:"CPU",convertToFormat:"string",units:"percents"},{name:"mem",descr:"MEM",convertToFormat:"string"}],t.databaseQueriesListColumns=[{name:"cmd",descr:"CMD",convertToFormat:"string",additionalCssClass:"text-truncating"},{name:"duration",descr:"Duration",convertToFormat:"number"},{name:"sql_query",descr:"SQL-query",convertToFormat:"string",additionalCssClass:"text-truncating"}],t.httpQueriesListColumns=[{name:"method",descr:"Method",convertToFormat:"string"},{name:"duration",descr:"Duration",convertToFormat:"number"},{name:"url",descr:"URL",convertToFormat:"string",additionalCssClass:"text-truncating"}],t.parseProcessListRow=function(e){const t=[];for(const n in e)e.hasOwnProperty(n)&&t.push({tooltips:{cmd:e[n].CMD},pid:{value:e[n].PID},cmd:{value:e[n].CMD},cpu:{value:e[n].CPU},mem:{value:e[n].MEM}});return t},t.parseHttpQueriesRow=function(e){const t=[];for(const n of e)t.push({tooltips:{url:n[1]+n[3]},method:{value:n[2]},duration:{value:o(n[5],"s")},url:{value:n[1]+n[3]}});return t},t.parseSqlQueriesRow=function(e){const t=[];for(const n of e)t.push({tooltips:{sql_query:n[2]},cmd:{value:n[0]},duration:{value:n[1]},sql_query:{value:n[2]}});return t},t.mapColumnInfo=function(e){return e.map((e=>{const t=new a.Column(e);return e.additionalCssClass&&t.setAdditionCssClass(e.additionalCssClass),e.hasOwnProperty("sortable")&&!e.sortable&&t.sortableDisable(),t}))},t.appendUnit=o},831:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ENV_PROVIDERS=t.decorateModuleRef=void 0;const a=n(40),o=n(0),s=n(35),i=n(74),r=n(352);let l=[s.XHR,{provide:i.HTTP_INTERCEPTORS,useClass:r.RequestInterceptor,multi:!0}],p=function(e){return e};o.enableProdMode(),p=e=>(a.disableDebugTools(),e),l=[...l],t.decorateModuleRef=p,t.ENV_PROVIDERS=[...l]},832:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.NO_LVE_ROUTES=t.ROUTES=void 0;const a=n(833),o=n(834),s=n(838),i=n(839),r=n(840),l=n(841),p=n(842);t.ROUTES=[{path:"",component:a.ResourceDashboardComponent},{path:"current",component:o.CurrentUsageComponent},{path:"snapshot",component:s.SnapshotComponent,children:[{path:"",component:i.ProcessListComponent},{path:"process-list",component:i.ProcessListComponent},{path:"database-queries",component:r.DatabaseQueriesComponent},{path:"http-queries",component:l.HttpQueriesComponent}]},{path:"options",component:p.OptionsComponent}],t.NO_LVE_ROUTES=[{path:"",component:o.CurrentUsageComponent}]},833:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ResourceDashboardComponent=void 0;const a=n(1),o=n(0),s=n(34),i=n(10),r=n(154),l=n(18),p=n(33),c=n(24),d=n(42);let u=class extends s.BaseComponent{constructor(e,t,n,a,o){super(o),this.appState=e,this.statsRepo=t,this.router=n,this.translateService=a,this.injector=o,this.problems=[],this.soonProblems=[],this.noProblems=!1}goToStatistic(){this.router.navigateByUrl("/current")}ngOnInit(){this.load()}checkSoonLimit(e,t,n){0===this.data.faults[e].lve&&this.data.limits[e].lve&&this.data.usage[e].lve>.9*this.data.limits[e].lve&&this.translateService.get(`RESOURCE_USAGE.${e}_soon_limited`,{usage:d.Helper.reformatValue(t,this.data.usage[e].lve).value,limit:d.Helper.reformatValue(t,this.data.limits[e].lve).value}).subscribe((e=>n.push(e)))}checkLimit(e,t){this.data.faults[e].lve&&this.translateService.get(`RESOURCE_USAGE.${e}_limited`,{faults:this.data.faults[e].lve}).subscribe((e=>{t.push(e)}))}load(){return a.__awaiter(this,void 0,void 0,(function*(){try{let e=yield this.statsRepo.getStatistics({period:"1d","time-unit":"1d"});if(!e.user.length)return void(this.noProblems=!0);this.data=e.user[0]}catch(e){return void(this.loading=!0)}let e={cpu:"percents",vmem:"bytes",pmem:"bytes",ep:null,nproc:null,io:"byteinsec",iops:null};for(let t in e)this.checkLimit(t,this.problems);for(let t in e)this.checkSoonLimit(t,e[t],this.soonProblems);this.noProblems=!this.problems.length&&!this.soonProblems.length}))}};a.__decorate([p.loading,a.__metadata("design:type",Function),a.__metadata("design:paramtypes",[]),a.__metadata("design:returntype",Promise)],u.prototype,"load",null),u=a.__decorate([o.Component({selector:"resource-dashboard",template:a.__importDefault(n(1995)).default,styles:[a.__importDefault(n(1996)).default]}),a.__metadata("design:paramtypes",[i.AppState,r.StatsRepo,l.Router,c.TranslateService,o.Injector])],u),t.ResourceDashboardComponent=u},834:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.CurrentUsageComponent=void 0;const a=n(1),o=n(0),s=n(34),i=n(10),r=n(42),l=n(835),p=n(837),c=n(154),d=n(450),u=n(124),m=n(248),g=n(6),h=n(29),f=n(40),C=n(35),D=n(33),v=n(1997);let b=class extends s.BaseComponent{constructor(e,t,n,a,o){super(o),this.appState=e,this.statsRepo=t,this._sanitizer=n,this.request=a,this.injector=o,this.statsMode=d.EUserStatMode.default,this.rows=[],this.noFoundText="NO RESULT FOUND",this.withLVE=this.appState.get("IS_LVE_SUPPORTED"),this.loaderSettings={type:h.LoadingTypes.spin},this.possibleColumnsArray=[{name:"from",descr:"From",convertToFormat:"string"},{name:"to",descr:"To",convertToFormat:"string"}].concat(m.commonColumnsArray.filter((e=>e.name.split("_").every((e=>"vmem"!==e&&"mysql"!==e))))),this.columns=this.possibleColumnsArray.map((e=>new u.Column(e))),this.timeFrame=new l.TimeFrameInfo,this.timeUnit=new p.TimeUnitInfo,this.usageRows=[],this.statsMode=this.appState.get("STATS_MODE"),this.usageColumns=v.getUsageStatColumns(this.statsMode).map((e=>{const t=new u.Column(e);return e.hasOwnProperty("sortable")&&!e.sortable&&t.sortableDisable(),t})),this.withLVE?this.fetchFullData(!0):this.fetchInodesUsage()}onInputChange(){this.fetchFullData()}fetchFullData(e=!1){return a.__awaiter(this,void 0,void 0,(function*(){const t=[this.fetchStatistics()];e&&t.push(this.fetchCurrentUsage()),yield Promise.all(t)}))}parseStats(e){const t=e=>g(e,"X").format("DD-MM HH:mm"),n=(e,t)=>{let n=e;return this.statsMode===d.EUserStatMode.percent&&Object.keys(e).forEach((a=>{const o=e[a].lve,s=t[a].lve;s&&(n[a].lve=Math.round(o/s*100)+"%",n[a].skipReformat=!0)})),n};return e.map((e=>{const a=new d.Stat;a.rowId=e.from,a.faults=e.faults,a.limits=e.limits,a.usage=n(e.usage,e.limits),a.from=t(e.from),a.to=t(e.to);for(let e of this.possibleColumnsArray){let t=r.Helper.getValueFromObjectRecursively(a,e.name);void 0===e.units||t.skipReformat?a[e.name]={value:"number"==typeof t?t.toString():t}:a[e.name]=r.Helper.reformatValue(e.units,t)}return a}))}defineDisplayedColumns(){this.statsMode===d.EUserStatMode.percent&&(this.possibleColumnsArray=this.possibleColumnsArray.filter((e=>!e.name.includes("limit")))),this.columns=this.possibleColumnsArray.map((e=>new u.Column(e)))}fetchStatistics(){return a.__awaiter(this,void 0,void 0,(function*(){const e=r.Helper.timeFrameToParam(this.timeFrame),[{user:t},{chart:n}]=yield Promise.all([this.requestHandler(this.statsRepo.getStatistics(Object.assign({"time-unit":this.timeUnit.value},e))),this.requestHandler(this.statsRepo.chart(null,Object.assign({format:"svg",style:"user"},e)))]);this.defineDisplayedColumns(),this.rows=this.parseStats(t),this.chart=this._sanitizer.bypassSecurityTrustHtml(n)}))}fetchCurrentUsage(){return a.__awaiter(this,void 0,void 0,(function*(){yield this.fetchLVEUsage(),yield this.fetchInodesUsage()}))}fetchLVEUsage(){return a.__awaiter(this,void 0,void 0,(function*(){let e=yield this.request.post({command:"cloudlinux-top"}).catch((()=>{this.noFoundText="Current usage unavailable"}));const t=e.users.length?e.users[0]:null;t&&(t.fault={ep:0,iops:0,mem:0,pno:0,cpu:{lve:0},io:{lve:0}},this.usageRows=v.parseUsageStatRow(t,this.statsMode))}))}fetchInodesUsage(){return a.__awaiter(this,void 0,void 0,(function*(){let e=yield this.statsRepo.getQuota().catch((()=>{}));if(e){let t=Object.keys(e.items)[0],n=e.items[t];e.quota_show&&parseInt(n.inodes_hard,10)&&this.usageRows.push({description:"Inodes usage",usage:{value:parseInt(n.inodes_used,10)},limit:{value:parseInt(n.inodes_soft,10)},faults:{value:0}})}}))}requestHandler(e){return new Promise((t=>{e.then((e=>t(e))).catch((e=>t(e)))}))}};a.__decorate([D.loading,a.__metadata("design:type",Function),a.__metadata("design:paramtypes",[Boolean]),a.__metadata("design:returntype",Promise)],b.prototype,"fetchFullData",null),b=a.__decorate([o.Component({selector:"current-usage",template:a.__importDefault(n(1998)).default,styles:[a.__importDefault(n(1999)).default]}),a.__metadata("design:paramtypes",[i.AppState,c.StatsRepo,f.DomSanitizer,C.XHR,o.Injector])],b),t.CurrentUsageComponent=b},835:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.TimeFrameInfo=t.availableTimeFrames=t.TimeFrameKeys=void 0;const a=n(42),o=n(836);var s;!function(e){e.TenMinutes="10m",e.ThirtyMinutes="30m",e.OneHour="1h",e.FourHours="4h",e.Today="today",e.Yesterday="yesterday"}(s=t.TimeFrameKeys||(t.TimeFrameKeys={})),t.availableTimeFrames={[s.TenMinutes]:"Last 10 minutes",[s.ThirtyMinutes]:"Last 30 minutes",[s.OneHour]:"Last hour",[s.FourHours]:"Last 4 hours",[s.Today]:"Today",[s.Yesterday]:"Yesterday"};class i extends o.ChangeableSelector{constructor(e="period",t=s.Today,n={}){super(),this.type=e,this.period=t,this.range=n,this.detectChanges()}get value(){return"period"===this.type?this.period:this.range}set value(e){this.type="string"==typeof e?"period":"range","range"===this.type?this.range=e:this.period=e}rangeFormat(){return{from:this.range.start.format("YYYY-MM-DD 00:00"),to:this.range.end.format("YYYY-MM-DD 23:59")}}toString(){return"period"===this.type?t.availableTimeFrames[this.period]:a.Helper.formatDateRange(this.rangeFormat())}}t.TimeFrameInfo=i},836:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ChangeableSelector=void 0;t.ChangeableSelector=class{detectChanges(){this.stringValue=this.toString()}}},837:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.TimeUnitInfo=t.availableTimeUnit=t.TimeUnitKeys=void 0;const a=n(836);var o;!function(e){e.OneMinute="1m",e.OneHour="1h",e.OneDay="1d"}(o=t.TimeUnitKeys||(t.TimeUnitKeys={})),t.availableTimeUnit={[o.OneDay]:"Day",[o.OneHour]:"Hour",[o.OneMinute]:"Minute"};class s extends a.ChangeableSelector{constructor(e=o.OneHour){super(),this.value=e,this.detectChanges()}toString(){return t.availableTimeUnit[this.value]}}t.TimeUnitInfo=s},838:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.SnapshotComponent=void 0;const a=n(1),o=n(0),s=n(18),i=n(34),r=n(6),l=n(10),p=n(33),c=n(35),d=n(154),u=n(306),m=n(29),g=n(24),h=n(63),f=n(177),C=n(8);let D=class extends i.BaseComponent{constructor(e,t,n,a,o,s,i,l){super(l),this.router=e,this.appState=t,this.request=n,this.statsRepo=a,this.snapshotService=o,this.translateService=s,this.notifications=i,this.injector=l,this.loaderSettings={type:m.LoadingTypes.spin},this.tabs=this.getTabs(),this.selectedDate=r(),this.timestampsList=[],this.fetchData(!0)}getTabs(){let e=[];return e.push({link:"/process-list",altLink:"",text:"Process list",id:"link-to-proc"}),this.appState.get("panelName")===f.Panel.CPanel&&e.push({link:"/database-queries",text:"Database Queries",id:"link-to-sql"}),e.push({link:"/http-queries",text:"HTTP Queries",id:"link-to-http"}),e}ngAfterViewInit(){super.ngAfterViewInit(),this.router.events.pipe(C.filter((e=>e instanceof s.NavigationEnd))).subscribe((e=>{this.fetchData()}))}isActive(e){return"/snapshot"+e===this.router.url}previousSnapshot(){this.selectedTimestamp=this.timestampsList[this.getCurrentIndex()-1],this.fetchData()}nextSnapshot(){this.selectedTimestamp=this.timestampsList[this.getCurrentIndex()+1],this.fetchData()}onDateChange(e){e.isSame(this.selectedDate,"day")||(this.selectedDate=e.clone(),this.fetchData(!0))}onSnapshotChange(e){e!==this.selectedTimestamp&&(this.selectedTimestamp=e,this.fetchData())}fetchData(e=!1){return a.__awaiter(this,void 0,void 0,(function*(){try{e&&(this.timestampsList=yield this.snapshotService.getTimestamps(this.selectedDate),this.selectedTimestamp=this.timestampsList.length?this.timestampsList[0]:null),this.selectedTimestamp?yield this.snapshotService.setSnapshot(this.selectedTimestamp):yield this.snapshotService.setSnapshot(null)}catch(e){this.notifications.error("Error","Snapshot is unavailable",e.details)}}))}timestampToDate(e,t){return r.unix(e).format(t)}getCurrentIndex(){return this.timestampsList.indexOf(this.selectedTimestamp)}};a.__decorate([p.loading,a.__metadata("design:type",Function),a.__metadata("design:paramtypes",[Boolean]),a.__metadata("design:returntype",Promise)],D.prototype,"fetchData",null),D=a.__decorate([o.Component({selector:"snapshot",template:a.__importDefault(n(2e3)).default,styles:[a.__importDefault(n(2001)).default]}),a.__metadata("design:paramtypes",[s.Router,l.AppState,c.XHR,d.StatsRepo,u.SnapshotService,g.TranslateService,h.ActionNotificationService,o.Injector])],D),t.SnapshotComponent=D},839:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ProcessListComponent=void 0;const a=n(1),o=n(0),s=n(503),i=n(306),r=n(24);let l=class{constructor(e,t){this.snapshotService=e,this.translateService=t,this.usageColumns=s.mapColumnInfo(s.processListColumns),this._snapshotSubscription=this.snapshotService.snapshotFetched.subscribe((()=>{this.usageRows=s.parseProcessListRow(this.snapshotService.getSnapshot().hasOwnProperty("snap_proc")?this.snapshotService.getSnapshot().snap_proc:[])}))}ngOnDestroy(){this._snapshotSubscription.unsubscribe()}};l=a.__decorate([o.Component({selector:"process-list",template:a.__importDefault(n(2002)).default,styles:[a.__importDefault(n(2003)).default]}),a.__metadata("design:paramtypes",[i.SnapshotService,r.TranslateService])],l),t.ProcessListComponent=l},840:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.DatabaseQueriesComponent=void 0;const a=n(1),o=n(0),s=n(503),i=n(306),r=n(24);let l=class{constructor(e,t){this.snapshotService=e,this.translateService=t,this.usageColumns=s.mapColumnInfo(s.databaseQueriesListColumns),this._snapshotSubscription=this.snapshotService.snapshotFetched.subscribe((()=>{this.usageRows=s.parseSqlQueriesRow(this.snapshotService.getSnapshot().hasOwnProperty("snap_sql")?this.snapshotService.getSnapshot().snap_sql:[])}))}ngOnDestroy(){this._snapshotSubscription.unsubscribe()}};l=a.__decorate([o.Component({selector:"database-queries",template:a.__importDefault(n(2004)).default,styles:[a.__importDefault(n(2005)).default]}),a.__metadata("design:paramtypes",[i.SnapshotService,r.TranslateService])],l),t.DatabaseQueriesComponent=l},841:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.HttpQueriesComponent=void 0;const a=n(1),o=n(0),s=n(503),i=n(306),r=n(24);let l=class{constructor(e,t){this.snapshotService=e,this.translateService=t,this.usageColumns=s.mapColumnInfo(s.httpQueriesListColumns),this._snapshotSubscription=this.snapshotService.snapshotFetched.subscribe((()=>{this.usageRows=s.parseHttpQueriesRow(this.snapshotService.getSnapshot().hasOwnProperty("snap_http")?this.snapshotService.getSnapshot().snap_http:[])}))}ngOnDestroy(){this._snapshotSubscription.unsubscribe()}};l=a.__decorate([o.Component({selector:"http-queries",template:a.__importDefault(n(2006)).default,styles:[a.__importDefault(n(2007)).default]}),a.__metadata("design:paramtypes",[i.SnapshotService,r.TranslateService])],l),t.HttpQueriesComponent=l},842:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.OptionsComponent=void 0;const a=n(1),o=n(0),s=n(34),i=n(10),r=n(154),l=n(29),p=n(33),c=n(2008),d=n(65),u=n(63);let m=class extends s.BaseComponent{constructor(e,t,n,a){super(a),this.appState=e,this.statsRepo=t,this.notifications=n,this.injector=a,this.userStatsOptions=null,this.loaderSettings={type:l.LoadingTypes.spin}}ngOnInit(){return a.__awaiter(this,void 0,void 0,(function*(){yield this.fetchData(),yield this.subscribeOnOptionChange()}))}fetchData(){return a.__awaiter(this,void 0,void 0,(function*(){const e=yield this.statsRepo.getStatsNotifier();this.userStatsOptions=d.plainToClass(c.UserStatOptions,e)}))}subscribeOnOptionChange(){return a.__awaiter(this,void 0,void 0,(function*(){Object.entries(this.userStatsOptions).forEach((([e,t])=>{"object"==typeof t&&t.onChange.subscribe((t=>a.__awaiter(this,void 0,void 0,(function*(){t.loading=!0;try{yield this.save({[e]:t.value})}catch(e){t.revertValue()}finally{t.loading=!1}}))))}))}))}save(e){return a.__awaiter(this,void 0,void 0,(function*(){yield this.statsRepo.setStatsNotifierOptions(e),this.translateService.get("optionSaved",{option:Object.keys(e)}).subscribe((e=>{this.notifications.success("Success",e)}))}))}};a.__decorate([p.loading,a.__metadata("design:type",Function),a.__metadata("design:paramtypes",[]),a.__metadata("design:returntype",Promise)],m.prototype,"ngOnInit",null),m=a.__decorate([o.Component({selector:"resource-usage-options",template:a.__importDefault(n(2009)).default,styles:[a.__importDefault(n(2010)).default]}),a.__metadata("design:paramtypes",[i.AppState,r.StatsRepo,u.ActionNotificationService,o.Injector])],m),t.OptionsComponent=m},843:function(e,t){e.exports=".lvemanager-selector-label{padding-right:8px;font-weight:normal}.selector-dropdown-button{display:flex;justify-content:space-evenly;align-items:center;width:100%}.selector-dropdown-button>.caret{margin-top:3px}"}});

Youez - 2016 - github.com/yon3zu
LinuXploit