Viewing File: /usr/local/cpanel/whostmgr/docroot/templates/accounts-manager/main.69585f0d5c00fab6.js

"use strict";(self.webpackChunkaccounts_manager=self.webpackChunkaccounts_manager||[]).push([[179],{2923:(m,L,c)=>{var f=c(1481),t=c(3071),x=c(6895),q=c(4719),b=c(4514),N=c(348),r=c(8738),A=c(9245),M=c(9079),w=c(537),v=c(269),l=c(755),_=(()=>{return(e=_||(_={})).up="icon-arrow-up",e.down="icon-arrow-down",_;var e})(),D=c(7489),C=c.n(D),p=c(8635);const O=new t.OlP("AppConfigInjectionToken"),J=window&&window.PAGE?window.PAGE.acl:{},S=new t.OlP("AppConfigInjectionToken"),Q=window&&window.PAGE?window.PAGE.accounts:[];var u=(()=>{return(e=u||(u={})).suspended="suspended",e.distributed="isDistributed",e.reseller="isReseller",e.all="All",u;var e})();let U=(()=>{class e{constructor(n,i){this.locale=n,this._accounts=i}listAccounts(n,i,s,a){return this._allAccounts||(this._allAccounts=this._formatAccountData(),this._allAccounts=this._allAccounts.sort((h,T)=>h.user<T.user?-1:1)),this._resetList(),s&&s!==u.all&&(this._accountsChunk=this._filterAccounts(s,this._accountsChunk)),i&&(this._accountsChunk=this._searchAccounts(i,this._accountsChunk)),this._accountsChunk=this._sortAccounts(a,this._accountsChunk),n.totalAccounts=this._accountsChunk.length,this._getAccountListChunk(n)}_filterAccounts(n,i){return i.filter(s=>{if(s[n])return s})}_formatAccountData(){if(!this._accounts)return[];let n;return this._accounts.map(i=>(n=0,"none"!==i.diskused&&(n=parseInt(i.diskused.split("M")[0],10)),{backup:(0,p.s)(i.backup)?this.locale.maketext("Yes"):this.locale.maketext("No"),childNode:i.child_nodes.length?i.child_nodes[0]:null,detailsVisible:!1,diskLimit:i.disklimit,diskUsed:i.diskused,diskUsedSort:n,domain:i.domain,email:i.email,hasBackup:(0,p.s)(i.has_backup)?this.locale.maketext("Yes"):this.locale.maketext("No"),hasEmail:!i.email.includes("*unknown*"),isDistributed:!!i.child_nodes.length,isDistributedText:this.locale.maketext(i.child_nodes.length?"Yes":"No"),ip:i.ip,ipv6:i.ipv6,isReseller:(0,p.s)(i.is_reseller),isLocked:(0,p.s)(i.is_locked),owner:i.owner,plan:i.plan,readableSuspendTime:i.suspendtime?this.locale.maketext("[local_datetime,_1,datetime_format_short][comment,date and time an account was suspended]",i.suspendtime):"",suspended:(0,p.s)(i.suspended),suspendReason:i.suspendreason?i.suspendreason:this.locale.maketext("None"),uriEmail:encodeURIComponent(i.email),uriUser:encodeURIComponent(i.user),uriIP:encodeURIComponent(i.ip),user:i.user}))}_getAccountListChunk(n){return this._accountsChunk.slice((n.page-1)*n.accountsPerPage,n.page*n.accountsPerPage)}_resetList(){this._accountsChunk=this._allAccounts}_searchAccounts(n,i){let s;return i.filter(a=>{if(s=a,C().includes(s,n))return a})}_sortAccounts(n,i){const s=C().sortBy(i,[n.headerKey,"user"]);return n.direction===l.Sr.Ascending?s:C().reverse(s)}}return e.\u0275fac=function(n){return new(n||e)(t.LFG(v.g),t.LFG(S))},e.\u0275prov=t.Yz7({token:e,factory:e.\u0275fac,providedIn:"root"}),e})(),Y=(()=>{class e{constructor(n){this._acl=n}getACLPermissions(){return C().mapValues(this._acl,p.s)}}return e.\u0275fac=function(n){return new(n||e)(t.LFG(O))},e.\u0275prov=t.Yz7({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();var k=c(4850),d=c(3576),g=c(7709),B=c(1737);const Z=e=>{if(e.hasErrors){const o=e.errors.pop();e.data&&e.data.type&&(o.type=e.data.type,o.data=e.data),(0,B._)(o)}return e};let I=(()=>{class e{constructor(n){this._apiClient=n}goToCPInterface(n){const i=new d.r(d.N.JsonApi,{method:"create_user_session",arguments:[new g.h("user",n),new g.h("service","cpaneld")]});return this._apiClient.post(i).pipe((0,k.U)(Z))}}return e.\u0275fac=function(n){return new(n||e)(t.LFG(b.A4))},e.\u0275prov=t.Yz7({token:e,factory:e.\u0275fac,providedIn:"root"}),e})(),y=(()=>{class e{constructor(n){this._apiClient=n}getPersonalizationData(){const n=new d.r(d.N.JsonApi,{method:"personalization_get",arguments:[new g.h("store","accounts_manager"),new g.h("names",["pagination"])]});return n.config.json=!0,this._apiClient.post(n).pipe((0,k.U)(Z),(0,k.U)(this._parseGetPersonalizationData))}setPersonalizationData(n){const i=new d.r(d.N.JsonApi,{method:"personalization_set",arguments:[new g.h("personalization",{pagination:n}),new g.h("store","accounts_manager")]});return i.config.json=!0,this._apiClient.post(i).pipe((0,k.U)(Z))}_parseGetPersonalizationData(n){return{isPaginationSet:(0,p.s)(n.data.personalization?.pagination.success)||!1,accountsPerPage:n.data.personalization?.pagination?.value?.accountsPerPage||0}}}return e.\u0275fac=function(n){return new(n||e)(t.LFG(b.A4))},e.\u0275prov=t.Yz7({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();const j=["goToCreateAccountLink"],E=["searchAccountsInput"];function z(e,o){if(1&e){const n=t.EpF();t.TgZ(0,"cp-pagination",27),t.NdJ("pageChanged",function(s){return t.CHM(n),t.oxw().changePage(s.page)}),t.qZA()}if(2&e){const n=t.oxw();t.Q6J("totalItems",n.pagination.totalAccounts)("pageSize",n.pagination.accountsPerPage)("maxPagesVisible",5)("disabled",n.isListLoading)}}function G(e,o){if(1&e&&(t.TgZ(0,"a",28,29),t._UZ(2,"i",30),t._uU(3),t.qZA()),2&e){const n=t.oxw();t.xp6(3),t.hij(" ",n.locale.maketext("Create Account")," ")}}function $(e,o){if(1&e){const n=t.EpF();t.TgZ(0,"ul",31)(1,"li",32)(2,"cp-page-size-selector",33),t.NdJ("optionSelected",function(s){return t.CHM(n),t.oxw().changePageSize(s)}),t.qZA()()()}if(2&e){const n=t.oxw();t.xp6(2),t.Q6J("selectedPageSize",n.pagination.accountsPerPage)("pageSizeOptions",n.pagination.pageSizeOptions)}}function F(e,o){if(1&e&&t._UZ(0,"i",34),2&e){const n=t.oxw().$implicit;t.Q6J("ngClass",n.caretClass)}}const H=function(e,o,n){return{"hidden-xs":e,"hidden-sm":o,"name-column":n}};function V(e,o){if(1&e){const n=t.EpF();t.ynx(0),t.TgZ(1,"th",34)(2,"button",35),t.NdJ("click",function(){const a=t.CHM(n).$implicit;return t.oxw().sortTable(a)}),t._uU(3),t.YNc(4,F,1,1,"i",36),t.qZA()(),t.BQk()}if(2&e){const n=o.$implicit;t.xp6(1),t.Q6J("ngClass",t.kEZ(4,H,"user"!==n.sortByName,"user"!==n.sortByName,"user"===n.sortByName)),t.xp6(1),t.MGl("id","sortTableByHeaderBtn_",n.sortByName,""),t.xp6(1),t.hij(" ",n.name," "),t.xp6(1),t.Q6J("ngIf",n.isActiveSort)}}function R(e,o){if(1&e&&(t.TgZ(0,"tr",37)(1,"td",38),t._UZ(2,"i",39),t._uU(3),t.qZA()()),2&e){const n=t.oxw();t.xp6(3),t.hij(" ",n.locale.maketext("Fetching your account list.")," ")}}function K(e,o){if(1&e&&(t.TgZ(0,"tr",37),t._UZ(1,"td",40),t.qZA()),2&e){const n=t.oxw();t.xp6(1),t.Q6J("innerHTML",n.noAccountsText,t.oJD)}}function W(e,o){if(1&e&&(t.TgZ(0,"a",65),t._UZ(1,"i",66),t.qZA()),2&e){const n=t.oxw().$implicit,i=t.oxw(2);t.MGl("id","suspendedAccountLink_",n.user,""),t.xp6(1),t.s9C("tooltip",i.locale.maketext("This account is suspended. Click the icon to manage account suspension."))}}function X(e,o){if(1&e&&t._UZ(0,"i",66),2&e){const n=t.oxw(3);t.s9C("tooltip",n.locale.maketext("This account is suspended."))}}function tt(e,o){if(1&e&&(t.TgZ(0,"a",67),t._UZ(1,"i",68),t.qZA()),2&e){const n=t.oxw().$implicit,i=t.oxw(2);t.MGl("id","resllerAccountLink_",n.user,"")("href","../../scripts2/editres?user=",n.user,"",t.LSH),t.xp6(1),t.s9C("tooltip",i.locale.maketext("This account is a reseller. Click the icon to manage reseller permissions."))}}function nt(e,o){if(1&e&&t._UZ(0,"i",68),2&e){const n=t.oxw(3);t.s9C("tooltip",n.locale.maketext("This account is a reseller."))}}function et(e,o){if(1&e&&(t.TgZ(0,"a",69),t._UZ(1,"i",70),t.qZA()),2&e){const n=t.oxw().$implicit;t.MGl("id","distributedAccountLink_",n.user,"")}}function it(e,o){1&e&&t._UZ(0,"i",71)}function ot(e,o){if(1&e&&(t.TgZ(0,"a",72),t._uU(1),t.qZA()),2&e){const n=t.oxw().$implicit;t.MGl("id","goToAccountPlanLink_",n.user,"")("href","../../scripts/editpkg2?pkg=",n.plan,"",t.LSH),t.Q6J("title",n.plan),t.xp6(1),t.hij(" ",n.plan," ")}}function st(e,o){if(1&e&&(t.TgZ(0,"p"),t._uU(1),t.qZA()),2&e){const n=t.oxw().$implicit;t.xp6(1),t.hij(" ",n.plan," ")}}function ct(e,o){if(1&e&&(t.TgZ(0,"a",77),t._UZ(1,"i",78),t._uU(2),t.qZA()),2&e){const n=t.oxw(2).$implicit,i=t.oxw(2);t.MGl("id","manageAccountBtn_",n.user,"")("href","../../scripts/edituser?user=",n.user,"",t.LSH),t.xp6(2),t.hij(" ",i.locale.maketext("Manage")," ")}}function at(e,o){if(1&e){const n=t.EpF();t.TgZ(0,"a",79),t.NdJ("click",function(){t.CHM(n);const s=t.oxw(2).$implicit;return t.oxw(2).goToCPInterface(s)}),t._uU(1),t.qZA()}if(2&e){const n=t.oxw(2).$implicit,i=t.oxw(2);t.MGl("id","goToCPInterfaceBtn_",n.user,""),t.xp6(1),t.hij(" ",i.locale.maketext("Go to [asis,cPanel]")," ")}}function rt(e,o){if(1&e&&(t.TgZ(0,"a",80),t._UZ(1,"i",81),t._uU(2),t.qZA()),2&e){const n=t.oxw(2).$implicit,i=t.oxw(2);t.MGl("id","deleteeAccountBtn_",n.user,"")("href","../../scripts4/multikillacct/",n.user,"",t.LSH),t.xp6(2),t.hij(" ",i.locale.maketext("Delete")," ")}}function lt(e,o){if(1&e&&(t.TgZ(0,"td",73),t.YNc(1,ct,3,3,"a",74),t.YNc(2,at,2,2,"a",75),t.YNc(3,rt,3,3,"a",76),t.qZA()),2&e){const n=t.oxw(3);t.xp6(1),t.Q6J("ngIf",n.permissions.editAccount),t.xp6(1),t.Q6J("ngIf",n.permissions.createUserSession),t.xp6(1),t.Q6J("ngIf",n.permissions.deleteAccount)}}function _t(e,o){if(1&e&&(t.TgZ(0,"a",67),t._uU(1),t.qZA()),2&e){const n=t.oxw(2).$implicit;t.MGl("id","goToAccountPlanLinkMobile_",n.user,"")("href","../../scripts/editpkg2?pkg=",n.plan,"",t.LSH),t.xp6(1),t.hij(" ",n.plan," ")}}function ut(e,o){if(1&e&&(t.TgZ(0,"p"),t._uU(1),t.qZA()),2&e){const n=t.oxw(2).$implicit;t.xp6(1),t.hij(" ",n.plan," ")}}function pt(e,o){if(1&e&&(t.TgZ(0,"a",87),t._uU(1),t.qZA()),2&e){const n=t.oxw(2).$implicit,i=t.oxw(2);t.MGl("id","manageResellerBtn_",n.user,"")("href","../../scripts2/editres?user=",n.user,"",t.LSH),t.xp6(1),t.hij(" ",i.locale.maketext("Edit reseller permissions[comment,button directing user to the interface where account reseller permissions can be updated]")," ")}}function dt(e,o){if(1&e&&(t.TgZ(0,"p"),t._uU(1),t.TgZ(2,"a",88),t._uU(3),t.qZA()()),2&e){const n=t.oxw(2).$implicit,i=t.oxw(2);t.xp6(1),t.hij(" ",i.locale.maketext("Email Address:")," "),t.xp6(1),t.MGl("id","userContactEmailLink_",n.user,"")("href","mailto:",n.uriEmail,"",t.LSH),t.xp6(1),t.hij(" ",n.email," ")}}function gt(e,o){if(1&e&&(t.TgZ(0,"a",90),t._uU(1),t.qZA()),2&e){const n=t.oxw(3).$implicit,i=t.oxw(2);t.MGl("id","setUserContactEmailBtn_",n.user,"")("href","../../scripts/edituser?user=",n.user,"",t.LSH),t.xp6(1),t.hij(" ",i.locale.maketext("Set the user\u2019s contact email[comment,button directing user to the interface to set a contact email address]")," ")}}function mt(e,o){if(1&e&&(t.TgZ(0,"p"),t.YNc(1,gt,2,3,"a",89),t.qZA()),2&e){const n=t.oxw(4);t.xp6(1),t.Q6J("ngIf",n.permissions.editAccount)}}function ht(e,o){if(1&e&&(t.TgZ(0,"a",92),t._uU(1),t.qZA()),2&e){const n=t.oxw(3).$implicit,i=t.oxw(2);t.MGl("id","distributedAccountLinkDetails_",n.user,""),t.xp6(1),t.hij(" ",i.locale.maketext("Manage server node linkage[comment,button directing the user to the Link Server Node interface]")," ")}}function ft(e,o){if(1&e&&(t.TgZ(0,"span",83)(1,"label"),t._uU(2),t.qZA(),t.TgZ(3,"p"),t._uU(4),t.qZA(),t.TgZ(5,"p"),t._uU(6),t.qZA(),t.YNc(7,ht,2,2,"a",91),t.qZA()),2&e){const n=t.oxw(2).$implicit,i=t.oxw(2);t.xp6(2),t.hij(" ",i.locale.maketext("Distribution Information:")," "),t.xp6(2),t.AsE(" ",i.locale.maketext("Distributed Service:")," ",n.childNode.workload," "),t.xp6(2),t.AsE(" ",i.locale.maketext("Distributed Server:")," ",n.childNode.alias," "),t.xp6(1),t.Q6J("ngIf",i.permissions.all)}}function xt(e,o){if(1&e&&(t.TgZ(0,"a",94),t._uU(1),t.qZA()),2&e){const n=t.oxw(3).$implicit,i=t.oxw(2);t.MGl("id","accountSuspensionBtn_",n.user,""),t.xp6(1),t.hij(" ",i.locale.maketext("Manage account suspension[comment,button directing user to the interface where account suspensions can be managed]")," ")}}function At(e,o){if(1&e&&(t.TgZ(0,"span",83)(1,"label"),t._uU(2),t.qZA(),t.TgZ(3,"p"),t._uU(4),t.qZA(),t.TgZ(5,"p"),t._uU(6),t.qZA(),t.TgZ(7,"p"),t._uU(8),t.qZA(),t.YNc(9,xt,2,2,"a",93),t.qZA()),2&e){const n=t.oxw(2).$implicit,i=t.oxw(2);t.xp6(2),t.hij(" ",i.locale.maketext("Suspension Information:")," "),t.xp6(2),t.AsE(" ",i.locale.maketext("Suspended Since")," ",n.readableSuspendTime," "),t.xp6(2),t.AsE(" ",i.locale.maketext("Suspended Reason")," ",n.suspendReason," "),t.xp6(2),t.AsE(" ",i.locale.maketext("Is suspension locked?")," ",i.locale.maketext(n.isLocked?"Yes":"No")," "),t.xp6(1),t.Q6J("ngIf",i.permissions.suspendAccount)}}const P=function(e){return{danger:e}};function Ct(e,o){if(1&e&&(t.TgZ(0,"tr",82)(1,"td",38)(2,"span",83)(3,"label"),t._uU(4),t.qZA(),t.TgZ(5,"p"),t._uU(6),t.TgZ(7,"a",84),t._uU(8),t.qZA()(),t.TgZ(9,"p"),t._uU(10),t.qZA(),t.TgZ(11,"p"),t._uU(12),t.qZA(),t.TgZ(13,"p"),t._uU(14),t.YNc(15,_t,2,3,"a",50),t.qZA(),t.YNc(16,ut,2,1,"p",26),t.TgZ(17,"p"),t._uU(18),t.qZA(),t.YNc(19,pt,2,3,"a",85),t.qZA(),t.TgZ(20,"span",83)(21,"label"),t._uU(22),t.qZA(),t.YNc(23,dt,4,4,"p",26),t.YNc(24,mt,2,1,"p",26),t.qZA(),t.TgZ(25,"span",83)(26,"label"),t._uU(27),t.qZA(),t.TgZ(28,"p"),t._uU(29),t.TgZ(30,"strong"),t._uU(31),t.qZA()(),t.TgZ(32,"p"),t._uU(33),t.TgZ(34,"strong"),t._uU(35),t.qZA()()(),t.YNc(36,ft,8,6,"span",86),t.YNc(37,At,10,8,"span",86),t.qZA()()),2&e){const n=t.oxw().$implicit,i=t.oxw(2);t.Q6J("ngClass",t.VKq(28,P,n.suspended)),t.xp6(4),t.hij(" ",i.locale.maketext("Account Information:")," "),t.xp6(2),t.hij(" ",i.locale.maketext("Domain:")," "),t.xp6(1),t.MGl("id","liveDomainLinkDetailsMobile_",n.user,"")("href","http://",n.domain,"",t.LSH),t.s9C("title",i.locale.maketext("Browse to the site hosted at: [_1]",n.domain)),t.xp6(1),t.hij(" ",n.domain," "),t.xp6(2),t.AsE(" ",i.locale.maketext("[asis,IP] Address:")," ",n.ip," "),t.xp6(2),t.lnq(" ",i.locale.maketext("Disk Usage:")," ",n.diskUsed," / ",n.diskLimit," "),t.xp6(2),t.hij(" ",i.locale.maketext("Package:")," "),t.xp6(1),t.Q6J("ngIf",i.permissions.editPackage),t.xp6(1),t.Q6J("ngIf",!i.permissions.editPackage),t.xp6(2),t.AsE(" ",i.locale.maketext("Reseller/Owner:")," ",n.owner," "),t.xp6(1),t.Q6J("ngIf",n.isReseller&&i.permissions.all),t.xp6(3),t.hij(" ",i.locale.maketext("Contact Information:")," "),t.xp6(1),t.Q6J("ngIf",n.hasEmail),t.xp6(1),t.Q6J("ngIf",!n.hasEmail),t.xp6(3),t.hij(" ",i.locale.maketext("Backups Information:")," "),t.xp6(2),t.hij(" ",i.locale.maketext("Are Backups enabled?")," "),t.xp6(2),t.Oqu(n.backup),t.xp6(2),t.hij(" ",i.locale.maketext("Is account backed up?")," "),t.xp6(2),t.Oqu(n.has_backup),t.xp6(1),t.Q6J("ngIf",n.isDistributed),t.xp6(1),t.Q6J("ngIf",n.suspended)}}function kt(e,o){if(1&e&&(t.TgZ(0,"a",67),t._uU(1),t.qZA()),2&e){const n=t.oxw(2).$implicit;t.MGl("id","goToAccountPlanLinkMobile_",n.user,"")("href","../../scripts/editpkg2?pkg=",n.plan,"",t.LSH),t.xp6(1),t.hij(" ",n.plan," ")}}function bt(e,o){if(1&e&&(t.TgZ(0,"p"),t._uU(1),t.qZA()),2&e){const n=t.oxw(2).$implicit;t.xp6(1),t.hij(" ",n.plan," ")}}function wt(e,o){if(1&e&&(t.TgZ(0,"a",87),t._uU(1),t.qZA()),2&e){const n=t.oxw(2).$implicit,i=t.oxw(2);t.MGl("id","manageResellerBtnMobile_",n.user,"")("href","../../scripts2/editres?user=",n.user,"",t.LSH),t.xp6(1),t.hij(" ",i.locale.maketext("Edit reseller permissions[comment,button directing user to the interface where account reseller permissions can be updated]")," ")}}function Zt(e,o){if(1&e&&(t.TgZ(0,"p"),t._uU(1),t.TgZ(2,"a",88),t._uU(3),t.qZA()()),2&e){const n=t.oxw(2).$implicit,i=t.oxw(2);t.xp6(1),t.hij(" ",i.locale.maketext("Email Address")," "),t.xp6(1),t.MGl("id","userContactEmailLinkMobile_",n.user,"")("href","mailto:",n.uriEmail,"",t.LSH),t.xp6(1),t.hij(" ",n.email," ")}}function Pt(e,o){if(1&e&&(t.TgZ(0,"a",90),t._uU(1),t.qZA()),2&e){const n=t.oxw(3).$implicit,i=t.oxw(2);t.MGl("id","setUserContactEmailBtnMobile_",n.user,"")("href","../../scripts/edituser?user=",n.user,"",t.LSH),t.xp6(1),t.hij(" ",i.locale.maketext("Set the user\u2019s contact email[comment,button directing user to the interface to set a contact email address]")," ")}}function Tt(e,o){if(1&e&&(t.TgZ(0,"p"),t.YNc(1,Pt,2,3,"a",89),t.qZA()),2&e){const n=t.oxw(4);t.xp6(1),t.Q6J("ngIf",n.permissions.editAccount)}}function Lt(e,o){if(1&e&&(t.TgZ(0,"a",92),t._uU(1),t.qZA()),2&e){const n=t.oxw(3).$implicit,i=t.oxw(2);t.MGl("id","distributedAccountLinkDetailsMobile_",n.user,""),t.xp6(1),t.hij(" ",i.locale.maketext("Manage server node linkage[comment,button directing the user to the Link Server Node interface]")," ")}}function Mt(e,o){if(1&e&&(t.TgZ(0,"div")(1,"label"),t._uU(2),t.qZA(),t.TgZ(3,"p"),t._uU(4),t.qZA(),t.TgZ(5,"p"),t._uU(6),t.qZA(),t.YNc(7,Lt,2,2,"a",91),t.qZA()),2&e){const n=t.oxw(2).$implicit,i=t.oxw(2);t.xp6(2),t.hij(" ",i.locale.maketext("Distribution Information:")," "),t.xp6(2),t.AsE(" ",i.locale.maketext("Distributed Service")," ",n.childNode.workload," "),t.xp6(2),t.AsE(" ",i.locale.maketext("Distributed Server")," ",n.childNode.alias," "),t.xp6(1),t.Q6J("ngIf",i.permissions.all)}}function vt(e,o){if(1&e&&(t.TgZ(0,"a",94),t._uU(1),t.qZA()),2&e){const n=t.oxw(3).$implicit,i=t.oxw(2);t.MGl("id","accountSuspensionBtnMobile_",n.user,""),t.xp6(1),t.hij(" ",i.locale.maketext("Manage account suspension[comment,button directing user to the interface where account suspensions can be managed]")," ")}}function Ot(e,o){if(1&e&&(t.TgZ(0,"div")(1,"label"),t._uU(2),t.qZA(),t.TgZ(3,"p"),t._uU(4),t.qZA(),t.TgZ(5,"p"),t._uU(6),t.qZA(),t.TgZ(7,"p"),t._uU(8),t.qZA(),t.YNc(9,vt,2,2,"a",93),t.qZA()),2&e){const n=t.oxw(2).$implicit,i=t.oxw(2);t.xp6(2),t.hij(" ",i.locale.maketext("Suspension Information:")," "),t.xp6(2),t.AsE(" ",i.locale.maketext("Suspended Since")," ",n.readableSuspendTime," "),t.xp6(2),t.AsE(" ",i.locale.maketext("Suspended Reason")," ",n.suspendreason," "),t.xp6(2),t.AsE(" ",i.locale.maketext("Suspension Locked")," ",n.isLocked," "),t.xp6(1),t.Q6J("ngIf",i.permissions.suspendAccount)}}function St(e,o){if(1&e&&(t.TgZ(0,"tr",95)(1,"td",96)(2,"div")(3,"label"),t._uU(4),t.qZA(),t.TgZ(5,"p"),t._uU(6),t.TgZ(7,"a",55),t._uU(8),t._UZ(9,"i",56),t.qZA()(),t.TgZ(10,"p"),t._uU(11),t.qZA(),t.TgZ(12,"p"),t._uU(13),t.qZA(),t.TgZ(14,"p"),t._uU(15),t.YNc(16,kt,2,3,"a",50),t.qZA(),t.YNc(17,bt,2,1,"p",26),t.TgZ(18,"p"),t._uU(19),t.qZA(),t.YNc(20,wt,2,3,"a",85),t.qZA(),t.TgZ(21,"div")(22,"label"),t._uU(23),t.qZA(),t.YNc(24,Zt,4,4,"p",26),t.YNc(25,Tt,2,1,"p",26),t.qZA(),t.TgZ(26,"div")(27,"label"),t._uU(28),t.qZA(),t.TgZ(29,"p"),t._uU(30),t.qZA(),t.TgZ(31,"p"),t._uU(32),t.qZA()(),t.YNc(33,Mt,8,6,"div",26),t.YNc(34,Ot,10,8,"div",26),t.qZA()()),2&e){const n=t.oxw().$implicit,i=t.oxw(2);t.Q6J("ngClass",t.VKq(28,P,n.suspended)),t.xp6(4),t.hij(" ",i.locale.maketext("Account Information:")," "),t.xp6(2),t.hij(" ",i.locale.maketext("Domain")," "),t.xp6(1),t.MGl("id","liveDomainLinkDetailsDetails_",n.user,"")("href","http://",n.domain,"",t.LSH),t.s9C("title",i.locale.maketext("Browse to the site hosted at: [_1]",n.domain)),t.xp6(1),t.hij(" ",n.domain," "),t.xp6(3),t.AsE(" ",i.locale.maketext("[asis,IP] Address")," ",n.ip," "),t.xp6(2),t.lnq(" ",i.locale.maketext("Disk Usage")," ",n.diskUsed," / ",n.diskLimit," "),t.xp6(2),t.hij(" ",i.locale.maketext("Package")," "),t.xp6(1),t.Q6J("ngIf",i.permissions.editPackage),t.xp6(1),t.Q6J("ngIf",!i.permissions.editPackage),t.xp6(2),t.AsE(" ",i.locale.maketext("Reseller/Owner")," ",n.owner," "),t.xp6(1),t.Q6J("ngIf",n.isReseller&&i.permissions.all),t.xp6(3),t.hij(" ",i.locale.maketext("Contact Information:")," "),t.xp6(1),t.Q6J("ngIf",n.hasEmail),t.xp6(1),t.Q6J("ngIf",!n.hasEmail),t.xp6(3),t.hij(" ",i.locale.maketext("Backups information:")," "),t.xp6(2),t.AsE(" ",i.locale.maketext("Are Backups enabled?")," ",n.backup," "),t.xp6(2),t.AsE(" ",i.locale.maketext("Is account backed up?")," ",n.hasBackup," "),t.xp6(1),t.Q6J("ngIf",n.isDistributed),t.xp6(1),t.Q6J("ngIf",n.suspended)}}const Ut=function(e,o){return{"fa-chevron-down":e,"fa-chevron-right":o}};function It(e,o){if(1&e){const n=t.EpF();t.ynx(0),t.TgZ(1,"tr",41)(2,"td",42)(3,"div",43)(4,"button",44),t.NdJ("click",function(){const a=t.CHM(n).$implicit;return t.oxw(2).toggleAcctDetails(a)}),t.TgZ(5,"span",45),t._uU(6,"Expand row"),t.qZA(),t._UZ(7,"i",46),t.qZA()(),t.TgZ(8,"span",47),t._uU(9),t.YNc(10,W,2,2,"a",48),t.YNc(11,X,1,1,"i",49),t.YNc(12,tt,2,3,"a",50),t.YNc(13,nt,1,1,"i",51),t.YNc(14,et,2,1,"a",52),t.YNc(15,it,1,0,"i",53),t.qZA()(),t.TgZ(16,"td",54)(17,"a",55),t._uU(18),t._UZ(19,"i",56),t.qZA()(),t.TgZ(20,"td",57),t._uU(21),t.qZA(),t.TgZ(22,"td",58),t._uU(23),t.qZA(),t.TgZ(24,"td",59),t.YNc(25,ot,2,4,"a",60),t.YNc(26,st,2,1,"p",26),t.qZA(),t.TgZ(27,"td",61),t._uU(28),t.qZA(),t.YNc(29,lt,4,3,"td",62),t.qZA(),t.YNc(30,Ct,38,30,"tr",63),t.YNc(31,St,35,30,"tr",64),t.BQk()}if(2&e){const n=o.$implicit,i=t.oxw(2);t.xp6(1),t.Q6J("ngClass",t.VKq(24,P,n.suspended)),t.xp6(3),t.MGl("id","toggleRollDown_",n.user,""),t.xp6(3),t.Q6J("ngClass",t.WLB(26,Ut,n.detailsVisible,!n.detailsVisible)),t.xp6(2),t.hij(" ",n.user," "),t.xp6(1),t.Q6J("ngIf",n.suspended&&i.permissions.suspendAccount),t.xp6(1),t.Q6J("ngIf",n.suspended&&!i.permissions.suspendAccount),t.xp6(1),t.Q6J("ngIf",n.isReseller&&i.permissions.all),t.xp6(1),t.Q6J("ngIf",n.isReseller&&!i.permissions.all),t.xp6(1),t.Q6J("ngIf",n.isDistributed&&i.permissions.all),t.xp6(1),t.Q6J("ngIf",n.isDistributed&&!i.permissions.all),t.xp6(2),t.MGl("id","liveDomainLinkDetails_",n.user,"")("href","http://",n.domain,"",t.LSH),t.s9C("title",i.locale.maketext("Browse to the site hosted at: [_1]",n.domain)),t.xp6(1),t.hij(" ",n.domain," "),t.xp6(2),t.Q6J("title",n.ip),t.xp6(1),t.hij(" ",n.ip," "),t.xp6(2),t.AsE(" ",n.diskUsed," / ",n.diskLimit," "),t.xp6(2),t.Q6J("ngIf",i.permissions.editPackage),t.xp6(1),t.Q6J("ngIf",!i.permissions.editPackage),t.xp6(2),t.hij(" ",n.owner," "),t.xp6(1),t.Q6J("ngIf",i.showActionsColumn),t.xp6(1),t.Q6J("ngIf",n.detailsVisible),t.xp6(1),t.Q6J("ngIf",n.detailsVisible)}}function yt(e,o){if(1&e&&(t.ynx(0),t.YNc(1,It,32,29,"ng-container",24),t.BQk()),2&e){const n=t.oxw();t.xp6(1),t.Q6J("ngForOf",n.accountsList)("ngForTrackBy",n.trackByIdx)}}const qt=function(e){return{disabled:e}};let Nt=(()=>{class e{constructor(n,i,s,a,h,T){this._aclService=n,this._alertService=i,this._impersonationService=s,this._listAcctsService=a,this.locale=h,this._personalizationService=T,this.quickFilterList=[{filter:u.suspended,filterText:this.locale.maketext("Suspended Accounts")},{filter:u.distributed,filterText:this.locale.maketext("Distributed Accounts")},{filter:u.reseller,filterText:this.locale.maketext("Reseller Accounts")}],this.searchValue="",this.tableHeaderList=[{name:this.locale.maketext("Username"),sortByName:"user",sortDirection:l.Sr.Ascending,caretClass:_.up,isActiveSort:!0},{name:this.locale.maketext("Domain"),sortByName:"domain",sortDirection:l.Sr.Ascending,caretClass:_.up,isActiveSort:!1},{name:this.locale.maketext("[asis,IP] Address"),sortByName:"ip",sortDirection:l.Sr.Ascending,caretClass:_.up,isActiveSort:!1},{name:this.locale.maketext("Disk Usage"),sortByName:"diskUsedSort",sortDirection:l.Sr.Ascending,caretClass:_.up,isActiveSort:!1},{name:this.locale.maketext("Package"),sortByName:"plan",sortDirection:l.Sr.Ascending,caretClass:_.up,isActiveSort:!1},{name:this.locale.maketext("Reseller/Owner"),sortByName:"owner",sortDirection:l.Sr.Ascending,caretClass:_.up,isActiveSort:!1}],this._quickFilter=u.all,this._sortByConfiguration={headerKey:"user",direction:l.Sr.Ascending},this._pageSizeSelections=[50,100,500,1e3],this._initialPagination={page:1,accountsPerPage:50,totalAccounts:0,pageSizeOptions:this._pageSizeSelections}}get csvText(){return this.locale.maketext("Download all records to a [output,acronym,CSV,Comma Separated Values] file.")}get permissions(){return{create:this._acl["create-acct"],editAccount:this._acl["edit-account"],deleteAccount:this._acl["kill-acct"],createUserSession:this._acl["create-user-session"],editPackage:this._acl["edit-pkg"],suspendAccount:this._acl["suspend-acct"],all:this._acl.all}}get showActionsColumn(){return this.permissions.editAccount||this.permissions.deleteAccount||this.permissions.createUserSession}changePage(n){this.pagination.page!==n&&(this.pagination.page=n,this._getAccountList())}changePageSize(n){this.pagination.accountsPerPage!==n&&(this.pagination.accountsPerPage=n,this._setPaginationAndListAccounts())}goToCPInterface(n){let i;i=this._impersonationService.goToCPInterface(n.user).pipe((0,w.x)(()=>{i&&i.unsubscribe()})).subscribe({next:s=>{window.open(s.data.url,"_blank")},error:s=>{this._alertService.error(s.message)}})}searchAccounts(n){(n||this.searchValue)&&(this.searchValue=n,this._getAccountList())}sortTable(n){n.sortByName!==this._sortByConfiguration.headerKey?(this._sortByConfiguration.direction=n.sortDirection=l.Sr.Ascending,this._sortByConfiguration.headerKey=n.sortByName,n.caretClass=_.up):(this._sortByConfiguration.direction=n.sortDirection=n.sortDirection===l.Sr.Ascending?l.Sr.Descending:l.Sr.Ascending,n.caretClass=n.sortDirection===l.Sr.Ascending?_.up:_.down),this._resetActiveSortColumn(n),this._getAccountList()}trackByIdx(n){return n}toggleAcctDetails(n){n.detailsVisible=!n.detailsVisible}updateQuickFilter(n){this._quickFilter=n,this._getAccountList()}ngOnInit(){this._acl=this._aclService.getACLPermissions(),this._getPersonalizationData()}_setNoAccountsText(n){return n?`${this.locale.maketext("The account \u201c[_1]\u201d does not exist.",n)} ${this.locale.maketext("Would you like to [output,url,_1,create one]?","../../scripts5/wwwacctform")}`:this.permissions.create?`${this.locale.maketext("We didn\u2019t find any user accounts.")} ${this.locale.maketext("Would you like to [output,url,_1,create one]?","../../scripts5/wwwacctform")}`:this.locale.maketext("We didn\u2019t find any user accounts.")}_getAccountList(){this.accountsList=this._listAcctsService.listAccounts(this.pagination,this.searchValue,this._quickFilter,this._sortByConfiguration),this.accountsList.length||(this.noAccountsText=this.searchValue?this._setNoAccountsText(this.searchValue):this._setNoAccountsText()),this._setElementFocus()}_getPersonalizationData(){let n,i;this.isListLoading=!0,n=this._personalizationService.getPersonalizationData().pipe((0,w.x)(()=>{i.isPaginationSet?(this.pagination={...this._initialPagination,accountsPerPage:i.accountsPerPage},this._getAccountList()):(this.pagination=this._initialPagination,this._setPaginationAndListAccounts()),n&&n.unsubscribe(),this.isListLoading=!1})).subscribe({next:s=>{i=s},error:s=>{this._alertService.error(s.message)}})}_resetActiveSortColumn(n){this.tableHeaderList.forEach(i=>{i.isActiveSort=!1}),n.isActiveSort=!0}_setPaginationAndListAccounts(){let n;this.isListLoading=!0,n=this._personalizationService.setPersonalizationData({accountsPerPage:this.pagination.accountsPerPage}).pipe((0,w.x)(()=>{this._getAccountList(),this.isListLoading=!1,n&&n.unsubscribe(),this._setElementFocus()})).subscribe({error:s=>{this._alertService.error(s)}})}_setElementFocus(){this.searchAccountsInput&&!this.searchValue&&(this.accountsList.length||!this.goToCreateAccountLink?this.searchAccountsInput.searchInput.nativeElement.focus():this.goToCreateAccountLink.nativeElement.focus())}}return e.\u0275fac=function(n){return new(n||e)(t.Y36(Y),t.Y36(r.c9),t.Y36(I),t.Y36(U),t.Y36(v.g),t.Y36(y))},e.\u0275cmp=t.Xpm({type:e,selectors:[["cp-accounts-manager-list-accounts"]],viewQuery:function(n,i){if(1&n&&(t.Gf(j,5),t.Gf(E,5)),2&n){let s;t.iGM(s=t.CRH())&&(i.goToCreateAccountLink=s.first),t.iGM(s=t.CRH())&&(i.searchAccountsInput=s.first)}},decls:35,vars:15,consts:[[1,"row"],[1,"col-xs-12","col-md-9"],["id","interfaceInformationCallout"],["href","../../scripts4/listaccts","id","goToListAccountsLink"],[1,"section"],[1,"row","search-page-container"],[1,"col-xs-12","col-md-6","pull-left","text-left"],["id","searchAccountsInput",3,"label","valueChange"],["searchAccountsInput",""],["id","accountQuickFilters",1,"hidden-xs",3,"filterList","filterValueChange"],[1,"col-xs-12","col-md-6","pull-right","text-right"],["id","listAccountsPagintion","name","listAccountsPagination",3,"totalItems","pageSize","maxPagesVisible","disabled","pageChanged",4,"ngIf"],[1,"row","action-bar"],[1,"col-xs-12"],[1,"pull-right","text-right","flip"],[1,"controls","hidden-xs"],["id","downloadCSVDataLink","href","../../scripts/fetchcsv","target","_blank",3,"innerHTML"],["href","../../scripts5/wwwacctform","class","btn btn-primary","id","goToCreateAccountLink","target","_self",4,"ngIf"],["dropdown","",1,"btn-group"],["id","pageSizeDropdownBtn","dropdownToggle","","type","button",1,"btn","btn-default","dropdown-toggle",3,"ngClass"],[1,"fas","fa-cog"],[1,"caret"],["id","paginationDropdownList","class","dropdown-menu","role","menu","aria-labelledby","pageSizeDropdownBtn",4,"dropdownMenu"],["id","accountsListTable",1,"table","table-striped","details-table"],[4,"ngFor","ngForOf","ngForTrackBy"],["class","info empty-row",4,"ngIf"],[4,"ngIf"],["id","listAccountsPagintion","name","listAccountsPagination",3,"totalItems","pageSize","maxPagesVisible","disabled","pageChanged"],["href","../../scripts5/wwwacctform","id","goToCreateAccountLink","target","_self",1,"btn","btn-primary"],["goToCreateAccountLink",""],["aria-hidden","true",1,"fas","fa-plus"],["id","paginationDropdownList","role","menu","aria-labelledby","pageSizeDropdownBtn",1,"dropdown-menu"],["role","menuitem"],["id","listAccountsPageSizeSelector",3,"selectedPageSize","pageSizeOptions","optionSelected"],[3,"ngClass"],[1,"btn","btn-link","tableHeaderBtn",3,"id","click"],[3,"ngClass",4,"ngIf"],[1,"info","empty-row"],["colspan","7"],["aria-hidden","true",1,"fas","fa-spinner","fa-spin"],["colspan","7",3,"innerHTML"],[1,"list-accounts__table-main-row","data-row",3,"ngClass"],[1,"username-column"],[1,"row-expand-container"],[1,"btn","btn-sm","btn-link",3,"id","click"],[1,"sr-only"],["aria-hidden","true",1,"fas",3,"ngClass"],[1,"collapse-text"],["href","../../scripts2/suspendacctlist","target","_self",3,"id",4,"ngIf"],["class","fas fa-exclamation-triangle","aria-hidden","true",3,"tooltip",4,"ngIf"],["target","_self",3,"id","href",4,"ngIf"],["class","fas fa-user-tag","aria-hidden","true",3,"tooltip",4,"ngIf"],["href","../../scripts7/link-server-nodes","target","_self",3,"id",4,"ngIf"],["class","fas fa-exchange-alt","aria-hidden","true","tooltip","This account has distributed services.",4,"ngIf"],[1,"domain-column","hidden-xs","hidden-sm"],["target","_blank",3,"id","href","title"],["aria-hidden","true",1,"fas","fa-fw","fa-external-link-alt"],[1,"ip-column","hidden-xs","hidden-sm",3,"title"],[1,"disk-usage-column","hidden-xs","hidden-sm"],[1,"plan-column","hidden-xs","hidden-sm"],["target","_self",3,"id","title","href",4,"ngIf"],[1,"owner-column","hidden-xs","hidden-sm"],["class","actions-column",4,"ngIf"],["class","list-accounts__table-details-row--large wordbreak hidden-sm hidden-xs",3,"ngClass",4,"ngIf"],["class","list-accounts__table-details-row--small wordbreak hidden-md hidden-lg",3,"ngClass",4,"ngIf"],["href","../../scripts2/suspendacctlist","target","_self",3,"id"],["aria-hidden","true",1,"fas","fa-exclamation-triangle",3,"tooltip"],["target","_self",3,"id","href"],["aria-hidden","true",1,"fas","fa-user-tag",3,"tooltip"],["href","../../scripts7/link-server-nodes","target","_self",3,"id"],["aria-hidden","true","tooltip","This account has distributed services. Click the icon to manage the server node linkage.",1,"fas","fa-exchange-alt"],["aria-hidden","true","tooltip","This account has distributed services.",1,"fas","fa-exchange-alt"],["target","_self",3,"id","title","href"],[1,"actions-column"],["class","btn btn-sm btn-outline-primary","target","_self",3,"id","href",4,"ngIf"],["class","btn btn-sm btn-outline-primary go-to-cp-link","href","javascript:void(0)",3,"id","click",4,"ngIf"],["class","btn btn-sm btn-outline-danger","target","_self",3,"id","href",4,"ngIf"],["target","_self",1,"btn","btn-sm","btn-outline-primary",3,"id","href"],["aria-hidden","true",1,"fas","fa-wrench"],["href","javascript:void(0)",1,"btn","btn-sm","btn-outline-primary","go-to-cp-link",3,"id","click"],["target","_self",1,"btn","btn-sm","btn-outline-danger",3,"id","href"],["aria-hidden","true",1,"fas","fa-trash"],[1,"list-accounts__table-details-row--large","wordbreak","hidden-sm","hidden-xs",3,"ngClass"],[1,"account-details-block"],["target","_self",3,"id","href","title"],["class","btn btn-sm btn-outline-primary account-details-link",3,"id","href",4,"ngIf"],["class","account-details-block",4,"ngIf"],[1,"btn","btn-sm","btn-outline-primary","account-details-link",3,"id","href"],["target","_blank",3,"id","href"],["class","btn btn-sm btn-outline-primary account-details-link","target","_self",3,"id","href",4,"ngIf"],["target","_self",1,"btn","btn-sm","btn-outline-primary","account-details-link",3,"id","href"],["class","btn btn-sm btn-outline-primary account-details-link","href","../../scripts7/link-server-nodes","target","_self",3,"id",4,"ngIf"],["href","../../scripts7/link-server-nodes","target","_self",1,"btn","btn-sm","btn-outline-primary","account-details-link",3,"id"],["class","btn btn-sm btn-outline-primary account-details-link","href","../../scripts2/suspendacctlist","target","_self",3,"id",4,"ngIf"],["href","../../scripts2/suspendacctlist","target","_self",1,"btn","btn-sm","btn-outline-primary","account-details-link",3,"id"],[1,"list-accounts__table-details-row--small","wordbreak","hidden-md","hidden-lg",3,"ngClass"],["colspan","2"]],template:function(n,i){1&n&&(t._UZ(0,"cp-alert-list"),t.TgZ(1,"div",0)(2,"div",1)(3,"cp-callout",2),t._uU(4),t.TgZ(5,"a",3),t._uU(6),t.qZA()()()(),t.TgZ(7,"div",4)(8,"div",5)(9,"div",6)(10,"cp-search",7,8),t.NdJ("valueChange",function(a){return i.searchAccounts(a)}),t.qZA(),t.TgZ(12,"cp-quick-filter",9),t.NdJ("filterValueChange",function(a){return i.updateQuickFilter(a)}),t.qZA()(),t.TgZ(13,"div",10),t.YNc(14,z,1,4,"cp-pagination",11),t.qZA()(),t.TgZ(15,"div",12)(16,"div",13)(17,"div",14)(18,"span",15),t._UZ(19,"a",16),t.qZA(),t.YNc(20,G,4,1,"a",17),t.TgZ(21,"div",18)(22,"button",19),t._UZ(23,"i",20)(24,"span",21),t.qZA(),t.YNc(25,$,3,2,"ul",22),t.qZA()()()(),t.TgZ(26,"table",23)(27,"thead")(28,"tr"),t.YNc(29,V,5,8,"ng-container",24),t._UZ(30,"th"),t.qZA()(),t.TgZ(31,"tbody"),t.YNc(32,R,4,1,"tr",25),t.YNc(33,K,2,1,"tr",25),t.YNc(34,yt,2,2,"ng-container",26),t.qZA()()()),2&n&&(t.xp6(4),t.hij(" ",i.locale.maketext("The Accounts Manager interface replaces the List Accounts interface. It will be the starting point for all workflows that begin by selecting an account.")," "),t.xp6(2),t.Oqu(i.locale.maketext("Click here to use the List Accounts interface.")),t.xp6(4),t.s9C("label",i.locale.maketext("Search for an account by username or domain.")),t.xp6(2),t.Q6J("filterList",i.quickFilterList),t.xp6(2),t.Q6J("ngIf",i.pagination&&0!==i.pagination.totalAccounts&&!i.isListLoading),t.xp6(5),t.Q6J("innerHTML",i.csvText,t.oJD),t.xp6(1),t.Q6J("ngIf",i.permissions.create),t.xp6(2),t.Q6J("ngClass",t.VKq(13,qt,i.isListLoading)),t.xp6(7),t.Q6J("ngForOf",i.tableHeaderList)("ngForTrackBy",i.trackByIdx),t.xp6(3),t.Q6J("ngIf",i.isListLoading),t.xp6(1),t.Q6J("ngIf",i.accountsList&&!i.accountsList.length&&!i.isListLoading),t.xp6(1),t.Q6J("ngIf",!i.isListLoading))},directives:[r.hF,r.Oc,r.gS,r.QG,x.O5,r.Qt,A.TO,A.Mq,x.mk,A.Hz,r.k6,x.sg,M.i9],styles:["table[_ngcontent-%COMP%]{width:100%}.domain-column[_ngcontent-%COMP%], .ip-column[_ngcontent-%COMP%], .owner-column[_ngcontent-%COMP%], .plan-column[_ngcontent-%COMP%]{max-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.tableHeaderBtn[_ngcontent-%COMP%]{padding:0}.row-expand-container[_ngcontent-%COMP%]{display:inline}.account-details-block[_ngcontent-%COMP%]{display:inline-block;vertical-align:top}html[dir=ltr][_ngcontent-%COMP%]   .account-details-block[_ngcontent-%COMP%], [dir=ltr][_ngcontent-%COMP%]   .account-details-block[_ngcontent-%COMP%], [dir=ltr][_nghost-%COMP%]   .account-details-block[_ngcontent-%COMP%], html[dir=ltr][_nghost-%COMP%]   .account-details-block[_ngcontent-%COMP%], html[dir=ltr]   [_nghost-%COMP%]   .account-details-block[_ngcontent-%COMP%], [dir=ltr][_nghost-%COMP%]   .account-details-block[_ngcontent-%COMP%], [dir=ltr]   [_nghost-%COMP%]   .account-details-block[_ngcontent-%COMP%]{padding:0 3rem 0 0}html[dir=rtl][_ngcontent-%COMP%]   .account-details-block[_ngcontent-%COMP%], [dir=rtl][_ngcontent-%COMP%]   .account-details-block[_ngcontent-%COMP%], [dir=rtl][_nghost-%COMP%]   .account-details-block[_ngcontent-%COMP%], html[dir=rtl][_nghost-%COMP%]   .account-details-block[_ngcontent-%COMP%], html[dir=rtl]   [_nghost-%COMP%]   .account-details-block[_ngcontent-%COMP%], [dir=rtl][_nghost-%COMP%]   .account-details-block[_ngcontent-%COMP%], [dir=rtl]   [_nghost-%COMP%]   .account-details-block[_ngcontent-%COMP%]{padding:0 0 0 3rem}.account-details-block[_ngcontent-%COMP%] > p[_ngcontent-%COMP%], .account-details-block[_ngcontent-%COMP%] > label[_ngcontent-%COMP%]{display:block}.account-details-link[_ngcontent-%COMP%]{margin:0}.collapse-text[_ngcontent-%COMP%]   i[_ngcontent-%COMP%]{padding:0 3px}html[dir=ltr][_ngcontent-%COMP%]   #paginationDropdownList[_ngcontent-%COMP%], [dir=ltr][_ngcontent-%COMP%]   #paginationDropdownList[_ngcontent-%COMP%], [dir=ltr][_nghost-%COMP%]   #paginationDropdownList[_ngcontent-%COMP%], html[dir=ltr][_nghost-%COMP%]   #paginationDropdownList[_ngcontent-%COMP%], html[dir=ltr]   [_nghost-%COMP%]   #paginationDropdownList[_ngcontent-%COMP%], [dir=ltr][_nghost-%COMP%]   #paginationDropdownList[_ngcontent-%COMP%], [dir=ltr]   [_nghost-%COMP%]   #paginationDropdownList[_ngcontent-%COMP%]{left:-8em}html[dir=rtl][_ngcontent-%COMP%]   #paginationDropdownList[_ngcontent-%COMP%], [dir=rtl][_ngcontent-%COMP%]   #paginationDropdownList[_ngcontent-%COMP%], [dir=rtl][_nghost-%COMP%]   #paginationDropdownList[_ngcontent-%COMP%], html[dir=rtl][_nghost-%COMP%]   #paginationDropdownList[_ngcontent-%COMP%], html[dir=rtl]   [_nghost-%COMP%]   #paginationDropdownList[_ngcontent-%COMP%], [dir=rtl][_nghost-%COMP%]   #paginationDropdownList[_ngcontent-%COMP%], [dir=rtl]   [_nghost-%COMP%]   #paginationDropdownList[_ngcontent-%COMP%]{right:-8em}#paginationDropdownList[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]{margin:0 5px}#goToCreateAccountLink[_ngcontent-%COMP%]{margin:0 15px}.wordbreak[_ngcontent-%COMP%]   td[_ngcontent-%COMP%]{vertical-align:top}.go-to-cp-link[_ngcontent-%COMP%]{text-transform:none}.search-page-container[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(1){margin-top:20px}.btn-outline-danger[_ngcontent-%COMP%]:hover{background-color:#dc3545;color:#fff}.table-striped[_ngcontent-%COMP%] > tbody[_ngcontent-%COMP%] > .list-accounts__table-main-row[_ngcontent-%COMP%]:nth-child(2n+1) > td[_ngcontent-%COMP%], .table-striped[_ngcontent-%COMP%] > tbody[_ngcontent-%COMP%] > .list-accounts__table-details-row--large[_ngcontent-%COMP%]:nth-child(2n) > td[_ngcontent-%COMP%], .table-striped[_ngcontent-%COMP%] > tbody[_ngcontent-%COMP%] > .list-accounts__table-details-row--small[_ngcontent-%COMP%]:nth-child(2n+1) > td[_ngcontent-%COMP%]{background-color:#f4f4f4;box-shadow:none}.table-striped[_ngcontent-%COMP%] > tbody[_ngcontent-%COMP%] > .list-accounts__table-main-row[_ngcontent-%COMP%]:nth-child(2n) > td[_ngcontent-%COMP%], .table-striped[_ngcontent-%COMP%] > tbody[_ngcontent-%COMP%] > .list-accounts__table-details-row--large[_ngcontent-%COMP%]:nth-child(2n+1) > td[_ngcontent-%COMP%], .table-striped[_ngcontent-%COMP%] > tbody[_ngcontent-%COMP%] > .list-accounts__table-details-row--small[_ngcontent-%COMP%]:nth-child(2n) > td[_ngcontent-%COMP%]{background-color:#fff;box-shadow:none}@media only screen and (max-width: 767px){.actions-column[_ngcontent-%COMP%] > a[_ngcontent-%COMP%], .actions-column[_ngcontent-%COMP%] > button[_ngcontent-%COMP%]{display:block}}@media only screen and (max-width: 991px){.wordbreak[_ngcontent-%COMP%]   div[_ngcontent-%COMP%]{padding:.75rem 0}}"]}),e})(),Dt=(()=>{class e{constructor(){}}return e.\u0275fac=function(n){return new(n||e)},e.\u0275cmp=t.Xpm({type:e,selectors:[["cp-accounts-manager-root"]],decls:1,vars:0,template:function(n,i){1&n&&t._UZ(0,"cp-accounts-manager-list-accounts")},directives:[Nt],styles:[""]}),e})(),Jt=(()=>{class e{}return e.\u0275fac=function(n){return new(n||e)},e.\u0275mod=t.oAB({type:e,bootstrap:[Dt]}),e.\u0275inj=t.cJS({providers:[I,U,y,{provide:O,useValue:J},{provide:S,useValue:Q}],imports:[[r.zr,r.CQ,b.au,N.m,f.b2,A.mr.forRoot(),r.df,x.ez,r.kM,q.u5,r.RV,r.u3,M.z8.forRoot(),r.t8,r._z]]}),e})();(0,t.G48)(),f.q6().bootstrapModule(Jt).catch(e=>console.error(e))}},m=>{m.O(0,[736],()=>m(m.s=2923)),m.O()}]);
Back to Directory File Manager