Viewing File: /usr/local/cpanel/base/frontend/jupiter/imunify/assets/static/common-es2015.bbd602d0ee84e7d67eff.js
(window.webpackJsonpImunify360=window.webpackJsonpImunify360||[]).push([[0],{"0tbc":function(n,t,e){"use strict";e.d(t,"a",(function(){return l}));class l{constructor(n,t){this.route=n,this.licenseService=t,this.description=null,this.title=null}buy(){window.open(this.licenseService.license.upgrade_url_360)}}},"4myE":function(n,t,e){"use strict";e.d(t,"a",(function(){return l}));class l{set log(n){this._log=n,setTimeout(()=>this.scrollToBottom())}get log(){return this._log}scrollToBottom(){this.logOutput.nativeElement.scrollTop=this.logOutput.nativeElement.scrollHeight}}},D7ET:function(n,t,e){"use strict";e.d(t,"a",(function(){return h})),e.d(t,"c",(function(){return m})),e.d(t,"b",(function(){return _}));var l=e("8Y7J"),o=e("XE/z"),s=e("Tj54"),u=e("SVse"),c=e("TSSN"),i=e("dsMX"),a=e("kaJQ"),r=e("YEUz"),d=e("0tbc"),p=e("iInd"),g=e("ec2V"),b=[['@charset "UTF-8";\n\n.upgrade-needed_component[_ngcontent-%COMP%] mat-icon[_ngcontent-%COMP%] {\n margin: 127px auto 42px;\n width: 179px;\n height: 168px;\n}\n.upgrade-needed_component[_ngcontent-%COMP%] .title[_ngcontent-%COMP%] {\n font-style: normal;\n font-weight: 700;\n font-size: 24px;\n line-height: 31px;\n color: #535353;\n}\n.upgrade-needed_component[_ngcontent-%COMP%] .description[_ngcontent-%COMP%] {\n font-size: 14px;\n line-height: 24px;\n color: #535353;\n}\n.upgrade-needed_component[_ngcontent-%COMP%] .upgrade-button[_ngcontent-%COMP%] {\n margin-top: 20px;\n width: 174px;\n box-shadow: 0 6px 9px 2px #92fad2;\n}\n.upgrade-needed_component[_ngcontent-%COMP%] .upgrade-button[_ngcontent-%COMP%]:hover {\n color: white;\n text-decoration: none;\n}\n.upgrade-needed_component[_ngcontent-%COMP%] .upgrade-button[_ngcontent-%COMP%] div {\n height: 40px;\n}\n.col-sm-12[_ngcontent-%COMP%] {\n display: flex;\n align-items: center;\n flex-direction: column;\n}']],h=l.xb({encapsulation:0,styles:b,data:{}});function m(n){return l.bc(0,[(n()(),l.zb(0,0,null,null,20,"div",[["class","card-container upgrade-needed_component"]],null,null,null,null,null)),(n()(),l.zb(1,0,null,null,19,"div",[["class","row text-center"]],null,null,null,null,null)),(n()(),l.zb(2,0,null,null,18,"div",[["class","col-sm-12"]],null,null,null,null,null)),(n()(),l.zb(3,0,null,null,1,"mat-icon",[["class","mat-icon notranslate"],["role","img"],["svgIcon","rocket"]],[[1,"data-mat-icon-type",0],[1,"data-mat-icon-name",0],[1,"data-mat-icon-namespace",0],[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],null,null,o.b,o.a)),l.yb(4,8634368,null,0,s.b,[l.l,s.d,[8,null],s.a,l.m],{svgIcon:[0,"svgIcon"]},null),(n()(),l.zb(5,0,null,null,4,"p",[["class","title"]],null,null,null,null,null)),(n()(),l.Yb(6,null,["",""])),l.Qb(131072,u.b,[l.h]),l.Rb(8,{name:0}),l.Qb(131072,c.k,[c.l,l.h]),(n()(),l.zb(10,0,null,null,3,"p",[["class","description"],["translate",""]],null,null,null,null,null)),l.yb(11,8536064,null,0,c.f,[c.l,l.l,l.h],{translate:[0,"translate"]},null),(n()(),l.Yb(12,null,["",""])),l.Qb(131072,u.b,[l.h]),(n()(),l.zb(14,0,null,null,6,"a",[["class","upgrade-button"],["i360-button",""],["target","_blank"]],[[8,"href",4],[1,"disabled",0]],null,null,i.b,i.a)),l.yb(15,1622016,null,3,a.a,[r.h,l.F,l.l],{primary:[0,"primary"],round:[1,"round"]},null),l.Ub(335544320,1,{prefix:0}),l.Ub(335544320,2,{suffix:0}),l.Ub(335544320,3,{icon:0}),(n()(),l.Yb(19,0,[" "," "])),l.Qb(131072,c.k,[c.l,l.h])],(function(n,t){n(t,4,0,"rocket");n(t,11,0,"");n(t,15,0,!0,!0)}),(function(n,t){var e=t.component;n(t,3,0,l.Ob(t,4)._usingFontIcon()?"font":"svg",l.Ob(t,4)._svgName||l.Ob(t,4).fontIcon,l.Ob(t,4)._svgNamespace||l.Ob(t,4).fontSet,l.Ob(t,4).inline,"primary"!==l.Ob(t,4).color&&"accent"!==l.Ob(t,4).color&&"warn"!==l.Ob(t,4).color);var o,s=l.Zb(t,6,0,l.Ob(t,9).transform(e.title||"upgradeNeeded.title",n(t,8,0,null==(o=l.Zb(t,6,0,l.Ob(t,7).transform(e.route.data)))?null:o.name)));n(t,6,0,s);var u=null;n(t,12,0,e.description||"upgradeNeeded."+(null==(u=l.Zb(t,12,0,l.Ob(t,13).transform(e.route.data)))?null:u.name)),n(t,14,0,l.Gb(1,"",e.licenseService.license.upgrade_url_360,""),l.Ob(t,15).disabled||null),n(t,19,0,l.Zb(t,19,0,l.Ob(t,20).transform("upgradeNeeded.upgrade")))}))}function f(n){return l.bc(0,[(n()(),l.zb(0,0,null,null,1,"upgrade-needed",[],null,null,null,m,h)),l.yb(1,49152,null,0,d.a,[p.a,g.LicenseService],null,null)],null,null)}var _=l.vb("upgrade-needed",d.a,f,{description:"description",title:"title"},{},[])},GsuZ:function(n,t,e){"use strict";e.d(t,"a",(function(){return l}));class l{constructor(){this.title=""}}},J7q6:function(n,t,e){"use strict";e.d(t,"a",(function(){return l}));class l{constructor(n,t){this.authService=n,this.router=t}canActivate(n,t){return!this.authService.isClient||(this.router.navigate(["/","AV","malware","files"]),!1)}}},LGgT:function(n,t,e){"use strict";e.d(t,"a",(function(){return l}));class l{}},U7V5:function(n,t,e){"use strict";e.d(t,"a",(function(){return l}));class l{}},Xtn7:function(n,t,e){"use strict";e.d(t,"a",(function(){return u})),e.d(t,"b",(function(){return c}));var l=e("8Y7J"),o=e("GjBp"),s=[['@charset "UTF-8";\n\n[_nghost-%COMP%] {\n height: 23px;\n display: inline-block;\n}\n[_nghost-%COMP%] span[_ngcontent-%COMP%] {\n min-width: 106px;\n display: inline-block;\n height: 23px;\n margin: 0;\n padding-right: 14px;\n padding-left: 14px;\n border-radius: 100px;\n color: #fff;\n line-height: 23px;\n text-align: center;\n}\n[_nghost-%COMP%]:not([color]) span[_ngcontent-%COMP%] {\n background-color: #299aed;\n}\n[color=black][_nghost-%COMP%] span[_ngcontent-%COMP%], [color=drop][_nghost-%COMP%] span[_ngcontent-%COMP%] {\n background-color: #000;\n}\n[color=white][_nghost-%COMP%] span[_ngcontent-%COMP%] {\n color: #000;\n background-color: #fff;\n box-shadow: 0 0 4px 0 rgba(0, 0, 0, 0.27);\n}\n[color=gray][_nghost-%COMP%] span[_ngcontent-%COMP%], [color=captcha][_nghost-%COMP%] span[_ngcontent-%COMP%], [color=splashscreen][_nghost-%COMP%] span[_ngcontent-%COMP%] {\n background-color: #9f9f9f;\n}\na[_nghost-%COMP%]:hover span[_ngcontent-%COMP%], a [_nghost-%COMP%]:hover span[_ngcontent-%COMP%] {\n text-decoration: underline;\n}']],u=l.xb({encapsulation:0,styles:s,data:{}});function c(n){return l.bc(0,[(n()(),l.zb(0,0,null,null,1,"span",[["class","text-nowrap"]],null,null,null,null,null)),l.Nb(null,0)],null,null)}function i(n){return l.bc(0,[(n()(),l.zb(0,0,null,null,1,"i360-colored-ip",[],[[1,"color",0]],null,null,c,u)),l.yb(1,49152,null,0,o.a,[],null,null)],null,(function(n,t){n(t,0,0,l.Ob(t,1).listName)}))}o.a},cXmL:function(n,t,e){"use strict";e.d(t,"a",(function(){return i})),e.d(t,"b",(function(){return a}));var l=e("8Y7J"),o=e("XE/z"),s=e("Tj54"),u=e("GsuZ"),c=[['@charset "UTF-8";\n\n.blocked-ui-message[_ngcontent-%COMP%] {\n text-align: center;\n max-width: 100%;\n}\n.blocked-ui-message[_ngcontent-%COMP%] div[role=heading][_ngcontent-%COMP%] {\n font-size: 22px;\n margin: 0;\n line-height: 2.44;\n}\n.blocked-ui-message[_ngcontent-%COMP%] .logo-grey[_ngcontent-%COMP%] {\n margin: 0 auto;\n width: 80px;\n height: 80px;\n}']],i=l.xb({encapsulation:0,styles:c,data:{}});function a(n){return l.bc(0,[(n()(),l.zb(0,0,null,null,5,"div",[["class","blocked-ui-message"]],null,null,null,null,null)),(n()(),l.zb(1,0,null,null,1,"mat-icon",[["class","logo-grey mat-icon notranslate"],["role","img"],["svgIcon","logo-grey"]],[[1,"data-mat-icon-type",0],[1,"data-mat-icon-name",0],[1,"data-mat-icon-namespace",0],[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],null,null,o.b,o.a)),l.yb(2,8634368,null,0,s.b,[l.l,s.d,[8,null],s.a,l.m],{svgIcon:[0,"svgIcon"]},null),(n()(),l.zb(3,0,null,null,1,"div",[["aria-level","1"],["role","heading"]],null,null,null,null,null)),(n()(),l.Yb(4,null,["",""])),l.Nb(null,0)],(function(n,t){n(t,2,0,"logo-grey")}),(function(n,t){var e=t.component;n(t,1,0,l.Ob(t,2)._usingFontIcon()?"font":"svg",l.Ob(t,2)._svgName||l.Ob(t,2).fontIcon,l.Ob(t,2)._svgNamespace||l.Ob(t,2).fontSet,l.Ob(t,2).inline,"primary"!==l.Ob(t,2).color&&"accent"!==l.Ob(t,2).color&&"warn"!==l.Ob(t,2).color),n(t,4,0,e.title)}))}function r(n){return l.bc(0,[(n()(),l.zb(0,0,null,null,1,"blocked-ui-message",[],null,null,null,a,i)),l.yb(1,49152,null,0,u.a,[],null,null)],null,null)}u.a},ihAH:function(n,t,e){"use strict";e.d(t,"a",(function(){return l}));class l{}},p00b:function(n,t,e){"use strict";e.d(t,"a",(function(){return u}));var l=e("vkgz"),o=e("lJxs"),s=e("Au5I");class u{constructor(n,t){this.userFeaturesStatusService=n,this.router=t}canActivate(n,t){return this.userFeaturesStatusService.hasEnabledFeatures.pipe(Object(l.a)(n=>{n||this.router.navigate(this.userFeaturesStatusService.featuresDisabledCommands)}))}canActivateChild(n,t){return this.userFeaturesStatusService.clientFeatures.pipe(Object(o.a)(t=>{const e=n.data.feature;if(!(t[e]!==s.a.na)){const e=(n.parent.routeConfig.children||[]).find(n=>!!n.data&&t[n.data.feature]!==s.a.na);return e&&this.router.navigate(this.userFeaturesStatusService.getDisabledRouteCommands(e)),!1}return!0}))}}},pu9V:function(n,t,e){"use strict";e.d(t,"a",(function(){return l}));class l{constructor(n){this.appState=n,this.screenshotName=""}}},tZw9:function(n,t,e){"use strict";e.d(t,"a",(function(){return c})),e.d(t,"b",(function(){return a}));var l=e("8Y7J"),o=e("SVse"),s=e("4myE"),u=[['@charset "UTF-8";\n\n\n\n.log_output[_ngcontent-%COMP%] {\n border: solid 1px #e8e8e8;\n margin-bottom: 29px;\n height: 290px;\n overflow-y: scroll;\n overflow-x: hidden;\n scroll-behavior: smooth;\n}\n.ltr[_nghost-%COMP%] .log_output[_ngcontent-%COMP%], .ltr [_nghost-%COMP%] .log_output[_ngcontent-%COMP%] {\n padding: 16px 29px 22px 20px;\n}\n.rtl[_nghost-%COMP%] .log_output[_ngcontent-%COMP%], .rtl [_nghost-%COMP%] .log_output[_ngcontent-%COMP%] {\n padding: 16px 20px 22px 29px;\n}\n.inner_log_output[_ngcontent-%COMP%] {\n font-family: monospace, monospace;\n font-size: 13px;\n color: #333333;\n white-space: pre-line;\n word-break: break-word;\n}']],c=l.xb({encapsulation:0,styles:u,data:{}});function i(n){return l.bc(0,[(n()(),l.zb(0,0,null,null,0,"span",[],[[8,"innerHTML",1]],null,null,null,null))],null,(function(n,t){n(t,0,0,t.context.$implicit.text)}))}function a(n){return l.bc(0,[l.Ub(402653184,1,{logOutput:0}),(n()(),l.zb(1,0,[[1,0],["logOutput",1]],null,3,"div",[["class","log_output"]],null,null,null,null,null)),(n()(),l.zb(2,0,null,null,2,"div",[["class","inner_log_output"]],null,null,null,null,null)),(n()(),l.ib(16777216,null,null,1,null,i)),l.yb(4,278528,null,0,o.n,[l.Q,l.N,l.t],{ngForOf:[0,"ngForOf"]},null)],(function(n,t){n(t,4,0,t.component.log)}),null)}function r(n){return l.bc(0,[(n()(),l.zb(0,0,null,null,1,"i360-log-box",[],null,null,null,a,c)),l.yb(1,49152,null,0,s.a,[],null,null)],null,null)}s.a},tnPm:function(n,t,e){"use strict";e.d(t,"a",(function(){return c})),e.d(t,"b",(function(){return i}));var l=e("8Y7J"),o=e("pu9V"),s=e("lgOS"),u=[['@charset "UTF-8";\n\n\n[_nghost-%COMP%] {\n display: inline-block;\n}\n.buy_license_screenshot[_ngcontent-%COMP%] {\n border: 1px solid #f4f5f7;\n border-radius: 10px 10px 0 0;\n}\n.buy_license_screenshot[_ngcontent-%COMP%] .screenshot_toolbar[_ngcontent-%COMP%] {\n display: block;\n height: 29px;\n background: #f4f5f7;\n border-radius: 10px 10px 0 0;\n margin-bottom: 20px;\n}\n.buy_license_screenshot[_ngcontent-%COMP%] .screenshot_toolbar[_ngcontent-%COMP%] .screenshot_button[_ngcontent-%COMP%] {\n display: inline-block;\n width: 8px;\n height: 8px;\n margin: 10px 2px;\n border-radius: 8px;\n}\n.buy_license_screenshot[_ngcontent-%COMP%] .screenshot_toolbar[_ngcontent-%COMP%] .screenshot_button[_ngcontent-%COMP%]:nth-child(1) {\n margin-left: 15px;\n background: #ff635a;\n}\n.buy_license_screenshot[_ngcontent-%COMP%] .screenshot_toolbar[_ngcontent-%COMP%] .screenshot_button[_ngcontent-%COMP%]:nth-child(2) {\n background: #febb2e;\n}\n.buy_license_screenshot[_ngcontent-%COMP%] .screenshot_toolbar[_ngcontent-%COMP%] .screenshot_button[_ngcontent-%COMP%]:nth-child(3) {\n background: #2fc843;\n}\n.buy_license_screenshot[_ngcontent-%COMP%] img[_ngcontent-%COMP%] {\n box-sizing: border-box;\n width: 100%;\n padding: 0 5px;\n}']],c=l.xb({encapsulation:0,styles:u,data:{}});function i(n){return l.bc(0,[(n()(),l.zb(0,0,null,null,5,"div",[["class","buy_license_screenshot"]],null,null,null,null,null)),(n()(),l.zb(1,0,null,null,3,"div",[["class","screenshot_toolbar"]],null,null,null,null,null)),(n()(),l.zb(2,0,null,null,0,"span",[["class","screenshot_button"]],null,null,null,null,null)),(n()(),l.zb(3,0,null,null,0,"span",[["class","screenshot_button"]],null,null,null,null,null)),(n()(),l.zb(4,0,null,null,0,"span",[["class","screenshot_button"]],null,null,null,null,null)),(n()(),l.zb(5,0,null,null,0,"img",[],[[8,"src",4]],null,null,null,null))],null,(function(n,t){var e=t.component;n(t,5,0,e.appState.imagePath+"/"+e.screenshotName+".png")}))}function a(n){return l.bc(0,[(n()(),l.zb(0,0,null,null,1,"preview-screenshot",[],null,null,null,i,c)),l.yb(1,49152,null,0,o.a,[s.a],null,null)],null,null)}o.a},xJY0:function(n,t,e){"use strict";e.d(t,"b",(function(){return u})),e.d(t,"a",(function(){return c}));var l=e("mrSG"),o=e("l5pG"),s=e("njtI");e("dG3u"),e("zDAv");const u={white:"utils.table.widgets.content.purpose.values.white",drop:"utils.table.widgets.content.purpose.values.drop",captcha:"utils.table.widgets.content.purpose.values.captcha",splashscreen:"utils.table.widgets.content.purpose.values.splashscreen"};class c extends s.a{constructor(n,t,e){super(n),this.xhr=n,this.modalService=t,this.notifications=e,this.get=this.wrap(this.rxServiceRequest(o.d.getList,!1),o.c),this.getALL=this.wrap(this.rxServiceRequest(o.d.getAllList),o.c),this.addOrUpdateItems=this.serviceRequest(o.d.addOrUpdateItem,!1),this.deleteItems=this.serviceRequest(o.d.deleteItems),this.editItem=this.serviceRequest(o.d.editItem)}changeListWithConfirm(n,t,e){const l=this.getActionAndRequest(n,t,e);return this.confirmListChangeAndNotify(l.request,l.action,n,l.confirmName)}changeListWithConfirmFromIncidents(n,t,e){return Object(l.a)(this,void 0,void 0,(function*(){const l=this.getActionAndRequest([],n[0].list,t,e);if(!l)return!1;const o=Array.from(new Set(n.map(n=>n.ip))),s=yield this.modalService.confirm(l.confirmName,o);if(s){for(let[e,l]of this.sortIps(n)){const o=Array.from(l),s=this.getActionAndRequest(o,e,t);try{yield this.confirmListChangeAndNotify(s.request,s.action,o,null)}catch(n){}}e&&t&&(yield this.addOrUpdateItems({value:o,scope:e,list:t}))}return s}))}getDefaultMockList(){return[]}sortIps(n){let t=new Map;for(let{list:e,ip:l}of n){let n=t.get(e)||new Set;n.add(l),t.set(e,n)}return t}getActionAndRequest(n,t,e,l){let o,s,u;if(null===t||null!==e){if(u=`add-to-${e}`,null===t&&null!==e)o="added";else{if(null===e)throw new Error("impossible");o="moved"}s=()=>this.addOrUpdateItems({value:n,list:e})}else o="deleted",u="delete-ip-from-list",s=()=>this.deleteItems({itemType:"ip",items:n,list:t});return l&&(u+=`-${l}-scope`),{action:o,confirmName:u,request:s}}confirmListChangeAndNotify(n,t,e,o){return Object(l.a)(this,void 0,void 0,(function*(){return!(o&&!(yield this.modalService.confirm(o,e)))&&(yield n(),this.notifications.success("notifications.ipAction",null,{count:e.length,action:t}),!0)}))}}},zDAv:function(n,t,e){"use strict";e.d(t,"a",(function(){return c}));var l=e("wK6y"),o=e("l5pG");o.b.group;const s={no_captcha:!1,ip:"1.1.210.66",ctime:1522908698,deep:4,purpose:"WHITE",manual:!0,auto_whitelisted:!1,comment:"Special for blacklist",country:{name:"Thailand",code:"TH"},version:4,scope:null,full_access:null,network_address:16896578,netmask:4294967295,imported_from:null,expiration:1523037066},u=[Object.assign(Object.assign({},s),{comment:null,scope:o.b.group,manual:!1}),Object.assign(Object.assign({},s),{comment:null,scope:o.b.local,manual:!1}),Object.assign(Object.assign({},s),{ip:"1234:5678:9abc::",country:{},purpose:"WHITE",scope:o.b.local}),Object.assign(Object.assign({},s),{ip:"1234:5678:9abc:def0::",full_access:!0,country:{},purpose:"WHITE"}),Object.assign(Object.assign({},s),{ip:"10.101.1.14",purpose:"CAPTCHA",comment:"Special for blacklist",country:{name:"Thailand",code:"TH",id:"1605651"}}),Object.assign(Object.assign({},s),{ip:"10.101.1.15",country:null,purpose:"CAPTCHA",comment:"Special for blacklist"}),Object.assign(Object.assign({},s),{ip:"10.101.1.58",country:{name:"Brazil",code:"BR"},purpose:"CAPTCHA"}),Object.assign(Object.assign({},s),{ip:"11.11.11.11",country:{name:"United States of America",code:"US"},purpose:"CAPTCHA"}),Object.assign(Object.assign({},s),{ip:"11.11.11.11/32",country:{name:"Ukraine",code:"UA"},purpose:"drop"})],c={ipAlreadyExists:{data:{messages:["IP 1.162.36.148 is already in captcha list","Imunify360 protection is running concurrently with cPHulk"],result:"warnings"}},groupId:{status:"ok",group_id:"groupId"},list:{data:Object.assign(Object.assign({},l.a),{max_count:11,items:u,counts:{server:{white:23,captcha:434,drop:34,splashscreen:34},cloud:{white:23,captcha:434,drop:34,splashscreen:34}}})},listsPagination:{data:Object.assign(Object.assign({},l.a),{max_count:999,items:[...u,...u,...u,...u],counts:{server:{white:23,captcha:434,drop:34,splashscreen:34},cloud:{white:23,captcha:434,drop:34,splashscreen:34}}})},blacklist:{data:Object.assign(Object.assign({},l.a),{max_count:11,items:[{imported_from:null,ip:"10.101.1.58",no_captcha:!1,ctime:1522908698,deep:4,manual:!0,purpose:"captcha",auto_whitelisted:!1,comment:"Special for blacklist",country:{name:"Thailand",code:"TH",id:"1605651"},version:4,full_access:null,network_address:16896578,netmask:4294967295,expiration:1523037066}],counts:{server:{all:100,white:23,captcha:434,black:34,splashscreen:34},cloud:{white:23,captcha:434,black:34,splashscreen:34}}})}}}}]);
Back to Directory
File Manager