Viewing File: /usr/local/cpanel/base/frontend/jupiter/imunify/assets/static/common-es5.26f9be364fadb4d81267.js

!function(){function n(){"use strict";/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */n=function(){return t};var t={},e=Object.prototype,r=e.hasOwnProperty,o="function"==typeof Symbol?Symbol:{},i=o.iterator||"@@iterator",l=o.asyncIterator||"@@asyncIterator",u=o.toStringTag||"@@toStringTag";function a(n,t,e){return Object.defineProperty(n,t,{value:e,enumerable:!0,configurable:!0,writable:!0}),n[t]}try{a({},"")}catch(k){a=function(n,t,e){return n[t]=e}}function c(n,t,e,r){var o=t&&t.prototype instanceof h?t:h,i=Object.create(o.prototype),l=new C(r||[]);return i._invoke=function(n,t,e){var r="suspendedStart";return function(o,i){if("executing"===r)throw new Error("Generator is already running");if("completed"===r){if("throw"===o)throw i;return M()}for(e.method=o,e.arg=i;;){var l=e.delegate;if(l){var u=x(l,e);if(u){if(u===f)continue;return u}}if("next"===e.method)e.sent=e._sent=e.arg;else if("throw"===e.method){if("suspendedStart"===r)throw r="completed",e.arg;e.dispatchException(e.arg)}else"return"===e.method&&e.abrupt("return",e.arg);r="executing";var a=s(n,t,e);if("normal"===a.type){if(r=e.done?"completed":"suspendedYield",a.arg===f)continue;return{value:a.arg,done:e.done}}"throw"===a.type&&(r="completed",e.method="throw",e.arg=a.arg)}}}(n,e,l),i}function s(n,t,e){try{return{type:"normal",arg:n.call(t,e)}}catch(k){return{type:"throw",arg:k}}}t.wrap=c;var f={};function h(){}function d(){}function p(){}var g={};a(g,i,(function(){return this}));var b=Object.getPrototypeOf,v=b&&b(b(P([])));v&&v!==e&&r.call(v,i)&&(g=v);var m=p.prototype=h.prototype=Object.create(g);function y(n){["next","throw","return"].forEach((function(t){a(n,t,(function(n){return this._invoke(t,n)}))}))}function _(n,t){var e;this._invoke=function(o,i){function l(){return new t((function(e,l){!function e(o,i,l,u){var a=s(n[o],n,i);if("throw"!==a.type){var c=a.arg,f=c.value;return f&&"object"==typeof f&&r.call(f,"__await")?t.resolve(f.__await).then((function(n){e("next",n,l,u)}),(function(n){e("throw",n,l,u)})):t.resolve(f).then((function(n){c.value=n,l(c)}),(function(n){return e("throw",n,l,u)}))}u(a.arg)}(o,i,e,l)}))}return e=e?e.then(l,l):l()}}function x(n,t){var e=n.iterator[t.method];if(void 0===e){if(t.delegate=null,"throw"===t.method){if(n.iterator.return&&(t.method="return",t.arg=void 0,x(n,t),"throw"===t.method))return f;t.method="throw",t.arg=new TypeError("The iterator does not provide a 'throw' method")}return f}var r=s(e,n.iterator,t.arg);if("throw"===r.type)return t.method="throw",t.arg=r.arg,t.delegate=null,f;var o=r.arg;return o?o.done?(t[n.resultName]=o.value,t.next=n.nextLoc,"return"!==t.method&&(t.method="next",t.arg=void 0),t.delegate=null,f):o:(t.method="throw",t.arg=new TypeError("iterator result is not an object"),t.delegate=null,f)}function O(n){var t={tryLoc:n[0]};1 in n&&(t.catchLoc=n[1]),2 in n&&(t.finallyLoc=n[2],t.afterLoc=n[3]),this.tryEntries.push(t)}function w(n){var t=n.completion||{};t.type="normal",delete t.arg,n.completion=t}function C(n){this.tryEntries=[{tryLoc:"root"}],n.forEach(O,this),this.reset(!0)}function P(n){if(n){var t=n[i];if(t)return t.call(n);if("function"==typeof n.next)return n;if(!isNaN(n.length)){var e=-1,o=function t(){for(;++e<n.length;)if(r.call(n,e))return t.value=n[e],t.done=!1,t;return t.value=void 0,t.done=!0,t};return o.next=o}}return{next:M}}function M(){return{value:void 0,done:!0}}return d.prototype=p,a(m,"constructor",p),a(p,"constructor",d),d.displayName=a(p,u,"GeneratorFunction"),t.isGeneratorFunction=function(n){var t="function"==typeof n&&n.constructor;return!!t&&(t===d||"GeneratorFunction"===(t.displayName||t.name))},t.mark=function(n){return Object.setPrototypeOf?Object.setPrototypeOf(n,p):(n.__proto__=p,a(n,u,"GeneratorFunction")),n.prototype=Object.create(m),n},t.awrap=function(n){return{__await:n}},y(_.prototype),a(_.prototype,l,(function(){return this})),t.AsyncIterator=_,t.async=function(n,e,r,o,i){void 0===i&&(i=Promise);var l=new _(c(n,e,r,o),i);return t.isGeneratorFunction(e)?l:l.next().then((function(n){return n.done?n.value:l.next()}))},y(m),a(m,u,"Generator"),a(m,i,(function(){return this})),a(m,"toString",(function(){return"[object Generator]"})),t.keys=function(n){var t=[];for(var e in n)t.push(e);return t.reverse(),function e(){for(;t.length;){var r=t.pop();if(r in n)return e.value=r,e.done=!1,e}return e.done=!0,e}},t.values=P,C.prototype={constructor:C,reset:function(n){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,this.tryEntries.forEach(w),!n)for(var t in this)"t"===t.charAt(0)&&r.call(this,t)&&!isNaN(+t.slice(1))&&(this[t]=void 0)},stop:function(){this.done=!0;var n=this.tryEntries[0].completion;if("throw"===n.type)throw n.arg;return this.rval},dispatchException:function(n){if(this.done)throw n;var t=this;function e(e,r){return l.type="throw",l.arg=n,t.next=e,r&&(t.method="next",t.arg=void 0),!!r}for(var o=this.tryEntries.length-1;o>=0;--o){var i=this.tryEntries[o],l=i.completion;if("root"===i.tryLoc)return e("end");if(i.tryLoc<=this.prev){var u=r.call(i,"catchLoc"),a=r.call(i,"finallyLoc");if(u&&a){if(this.prev<i.catchLoc)return e(i.catchLoc,!0);if(this.prev<i.finallyLoc)return e(i.finallyLoc)}else if(u){if(this.prev<i.catchLoc)return e(i.catchLoc,!0)}else{if(!a)throw new Error("try statement without catch or finally");if(this.prev<i.finallyLoc)return e(i.finallyLoc)}}}},abrupt:function(n,t){for(var e=this.tryEntries.length-1;e>=0;--e){var o=this.tryEntries[e];if(o.tryLoc<=this.prev&&r.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var i=o;break}}i&&("break"===n||"continue"===n)&&i.tryLoc<=t&&t<=i.finallyLoc&&(i=null);var l=i?i.completion:{};return l.type=n,l.arg=t,i?(this.method="next",this.next=i.finallyLoc,f):this.complete(l)},complete:function(n,t){if("throw"===n.type)throw n.arg;return"break"===n.type||"continue"===n.type?this.next=n.arg:"return"===n.type?(this.rval=this.arg=n.arg,this.method="return",this.next="end"):"normal"===n.type&&t&&(this.next=t),f},finish:function(n){for(var t=this.tryEntries.length-1;t>=0;--t){var e=this.tryEntries[t];if(e.finallyLoc===n)return this.complete(e.completion,e.afterLoc),w(e),f}},catch:function(n){for(var t=this.tryEntries.length-1;t>=0;--t){var e=this.tryEntries[t];if(e.tryLoc===n){var r=e.completion;if("throw"===r.type){var o=r.arg;w(e)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(n,t,e){return this.delegate={iterator:P(n),resultName:t,nextLoc:e},"next"===this.method&&(this.arg=void 0),f}},t}function t(n,t){return function(n){if(Array.isArray(n))return n}(n)||function(n,t){var e=null==n?null:"undefined"!=typeof Symbol&&n[Symbol.iterator]||n["@@iterator"];if(null==e)return;var r,o,i=[],l=!0,u=!1;try{for(e=e.call(n);!(l=(r=e.next()).done)&&(i.push(r.value),!t||i.length!==t);l=!0);}catch(a){u=!0,o=a}finally{try{l||null==e.return||e.return()}finally{if(u)throw o}}return i}(n,t)||r(n,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function e(n,t){var e="undefined"!=typeof Symbol&&n[Symbol.iterator]||n["@@iterator"];if(!e){if(Array.isArray(n)||(e=r(n))||t&&n&&"number"==typeof n.length){e&&(n=e);var o=0,i=function(){};return{s:i,n:function(){return o>=n.length?{done:!0}:{done:!1,value:n[o++]}},e:function(n){throw n},f:i}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var l,u=!0,a=!1;return{s:function(){e=e.call(n)},n:function(){var n=e.next();return u=n.done,n},e:function(n){a=!0,l=n},f:function(){try{u||null==e.return||e.return()}finally{if(a)throw l}}}}function r(n,t){if(n){if("string"==typeof n)return o(n,t);var e=Object.prototype.toString.call(n).slice(8,-1);return"Object"===e&&n.constructor&&(e=n.constructor.name),"Map"===e||"Set"===e?Array.from(n):"Arguments"===e||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(e)?o(n,t):void 0}}function o(n,t){(null==t||t>n.length)&&(t=n.length);for(var e=0,r=new Array(t);e<t;e++)r[e]=n[e];return r}function i(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function")}function l(n,t){for(var e=0;e<t.length;e++){var r=t[e];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(n,r.key,r)}}function u(n,t,e){return t&&l(n.prototype,t),e&&l(n,e),Object.defineProperty(n,"prototype",{writable:!1}),n}(window.webpackJsonpImunify360=window.webpackJsonpImunify360||[]).push([[0],{"0tbc":function(n,t,e){"use strict";e.d(t,"a",(function(){return r}));var r=function(){function n(t,e){i(this,n),this.route=t,this.licenseService=e,this.description=null,this.title=null}return u(n,[{key:"buy",value:function(){window.open(this.licenseService.license.upgrade_url_360)}}]),n}()},"4myE":function(n,t,e){"use strict";e.d(t,"a",(function(){return r}));var r=function(){function n(){i(this,n)}return u(n,[{key:"log",get:function(){return this._log},set:function(n){var t=this;this._log=n,setTimeout((function(){return t.scrollToBottom()}))}},{key:"scrollToBottom",value:function(){this.logOutput.nativeElement.scrollTop=this.logOutput.nativeElement.scrollHeight}}]),n}()},D7ET:function(n,t,e){"use strict";e.d(t,"a",(function(){return p})),e.d(t,"c",(function(){return g})),e.d(t,"b",(function(){return b}));var r=e("8Y7J"),o=e("XE/z"),i=e("Tj54"),l=e("SVse"),u=e("TSSN"),a=e("dsMX"),c=e("kaJQ"),s=e("YEUz"),f=e("0tbc"),h=e("iInd"),d=e("ec2V"),p=r.xb({encapsulation:0,styles:[['@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.text-center[_ngcontent-%COMP%] {\n  display: flex;\n  align-items: center;\n  flex-direction: column;\n}']],data:{}});function g(n){return r.bc(0,[(n()(),r.zb(0,0,null,null,19,"div",[["class","card-container upgrade-needed_component"]],null,null,null,null,null)),(n()(),r.zb(1,0,null,null,18,"div",[["class","text-center"]],null,null,null,null,null)),(n()(),r.zb(2,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)),r.yb(3,8634368,null,0,i.b,[r.l,i.d,[8,null],i.a,r.m],{svgIcon:[0,"svgIcon"]},null),(n()(),r.zb(4,0,null,null,4,"p",[["class","title"]],null,null,null,null,null)),(n()(),r.Yb(5,null,["",""])),r.Qb(131072,l.b,[r.h]),r.Rb(7,{name:0}),r.Qb(131072,u.k,[u.l,r.h]),(n()(),r.zb(9,0,null,null,3,"p",[["class","description"],["translate",""]],null,null,null,null,null)),r.yb(10,8536064,null,0,u.f,[u.l,r.l,r.h],{translate:[0,"translate"]},null),(n()(),r.Yb(11,null,["",""])),r.Qb(131072,l.b,[r.h]),(n()(),r.zb(13,0,null,null,6,"a",[["class","upgrade-button"],["i360-button",""],["target","_blank"]],[[8,"href",4],[1,"disabled",0]],null,null,a.b,a.a)),r.yb(14,1622016,null,3,c.a,[s.h,r.F,r.l],{primary:[0,"primary"],round:[1,"round"]},null),r.Ub(335544320,1,{prefix:0}),r.Ub(335544320,2,{suffix:0}),r.Ub(335544320,3,{icon:0}),(n()(),r.Yb(18,0,[" "," "])),r.Qb(131072,u.k,[u.l,r.h])],(function(n,t){n(t,3,0,"rocket"),n(t,10,0,""),n(t,14,0,!0,!0)}),(function(n,t){var e=t.component;n(t,2,0,r.Ob(t,3)._usingFontIcon()?"font":"svg",r.Ob(t,3)._svgName||r.Ob(t,3).fontIcon,r.Ob(t,3)._svgNamespace||r.Ob(t,3).fontSet,r.Ob(t,3).inline,"primary"!==r.Ob(t,3).color&&"accent"!==r.Ob(t,3).color&&"warn"!==r.Ob(t,3).color);var o,i=r.Zb(t,5,0,r.Ob(t,8).transform(e.title||"upgradeNeeded.title",n(t,7,0,null==(o=r.Zb(t,5,0,r.Ob(t,6).transform(e.route.data)))?null:o.name)));n(t,5,0,i);var l=null;n(t,11,0,e.description||"upgradeNeeded."+(null==(l=r.Zb(t,11,0,r.Ob(t,12).transform(e.route.data)))?null:l.name)),n(t,13,0,r.Gb(1,"",e.licenseService.license.upgrade_url_360,""),r.Ob(t,14).disabled||null),n(t,18,0,r.Zb(t,18,0,r.Ob(t,19).transform("upgradeNeeded.upgrade")))}))}var b=r.vb("upgrade-needed",f.a,(function(n){return r.bc(0,[(n()(),r.zb(0,0,null,null,1,"upgrade-needed",[],null,null,null,g,p)),r.yb(1,49152,null,0,f.a,[h.a,d.LicenseService],null,null)],null,null)}),{description:"description",title:"title"},{},[])},GsuZ:function(n,t,e){"use strict";e.d(t,"a",(function(){return r}));var r=u((function n(){i(this,n),this.title=""}))},J7q6:function(n,t,e){"use strict";e.d(t,"a",(function(){return r}));var r=function(){function n(t,e){i(this,n),this.authService=t,this.router=e}return u(n,[{key:"canActivate",value:function(n,t){return!this.authService.isClient||(this.router.navigate(["/","AV","malware","files"]),!1)}}]),n}()},LGgT:function(n,t,e){"use strict";e.d(t,"a",(function(){return r}));var r=u((function n(){i(this,n)}))},U7V5:function(n,t,e){"use strict";e.d(t,"a",(function(){return r}));var r=u((function n(){i(this,n)}))},Xtn7:function(n,t,e){"use strict";e.d(t,"a",(function(){return i})),e.d(t,"b",(function(){return l}));var r=e("8Y7J"),o=e("GjBp"),i=r.xb({encapsulation:0,styles:[['@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}']],data:{}});function l(n){return r.bc(0,[(n()(),r.zb(0,0,null,null,1,"span",[["class","text-nowrap"]],null,null,null,null,null)),r.Nb(null,0)],null,null)}o.a},cXmL:function(n,t,e){"use strict";e.d(t,"a",(function(){return u})),e.d(t,"b",(function(){return a}));var r=e("8Y7J"),o=e("XE/z"),i=e("Tj54"),l=e("GsuZ"),u=r.xb({encapsulation:0,styles:[['@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}']],data:{}});function a(n){return r.bc(0,[(n()(),r.zb(0,0,null,null,5,"div",[["class","blocked-ui-message"]],null,null,null,null,null)),(n()(),r.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)),r.yb(2,8634368,null,0,i.b,[r.l,i.d,[8,null],i.a,r.m],{svgIcon:[0,"svgIcon"]},null),(n()(),r.zb(3,0,null,null,1,"div",[["aria-level","1"],["role","heading"]],null,null,null,null,null)),(n()(),r.Yb(4,null,["",""])),r.Nb(null,0)],(function(n,t){n(t,2,0,"logo-grey")}),(function(n,t){var e=t.component;n(t,1,0,r.Ob(t,2)._usingFontIcon()?"font":"svg",r.Ob(t,2)._svgName||r.Ob(t,2).fontIcon,r.Ob(t,2)._svgNamespace||r.Ob(t,2).fontSet,r.Ob(t,2).inline,"primary"!==r.Ob(t,2).color&&"accent"!==r.Ob(t,2).color&&"warn"!==r.Ob(t,2).color),n(t,4,0,e.title)}))}l.a},ihAH:function(n,t,e){"use strict";e.d(t,"a",(function(){return r}));var r=u((function n(){i(this,n)}))},p00b:function(n,t,e){"use strict";e.d(t,"a",(function(){return a}));var r=e("vkgz"),o=e("lJxs"),l=e("Au5I"),a=function(){function n(t,e){i(this,n),this.userFeaturesStatusService=t,this.router=e}return u(n,[{key:"canActivate",value:function(n,t){var e=this;return this.userFeaturesStatusService.hasEnabledFeatures.pipe(Object(r.a)((function(n){n||e.router.navigate(e.userFeaturesStatusService.featuresDisabledCommands)})))}},{key:"canActivateChild",value:function(n,t){var e=this;return this.userFeaturesStatusService.clientFeatures.pipe(Object(o.a)((function(t){var r=n.data.feature;if(t[r]===l.a.na){var o=(n.parent.routeConfig.children||[]).find((function(n){return!!n.data&&t[n.data.feature]!==l.a.na}));return o&&e.router.navigate(e.userFeaturesStatusService.getDisabledRouteCommands(o)),!1}return!0})))}}]),n}()},pu9V:function(n,t,e){"use strict";e.d(t,"a",(function(){return r}));var r=u((function n(t){i(this,n),this.appState=t,this.screenshotName=""}))},tZw9:function(n,t,e){"use strict";e.d(t,"a",(function(){return l})),e.d(t,"b",(function(){return a}));var r=e("8Y7J"),o=e("SVse"),i=e("4myE"),l=r.xb({encapsulation:0,styles:[['@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}']],data:{}});function u(n){return r.bc(0,[(n()(),r.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 r.bc(0,[r.Ub(402653184,1,{logOutput:0}),(n()(),r.zb(1,0,[[1,0],["logOutput",1]],null,3,"div",[["class","log_output"]],null,null,null,null,null)),(n()(),r.zb(2,0,null,null,2,"div",[["class","inner_log_output"]],null,null,null,null,null)),(n()(),r.ib(16777216,null,null,1,null,u)),r.yb(4,278528,null,0,o.n,[r.Q,r.N,r.t],{ngForOf:[0,"ngForOf"]},null)],(function(n,t){n(t,4,0,t.component.log)}),null)}i.a},tnPm:function(n,t,e){"use strict";e.d(t,"a",(function(){return i})),e.d(t,"b",(function(){return l}));var r=e("8Y7J"),o=e("pu9V"),i=(e("lgOS"),r.xb({encapsulation:0,styles:[['@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}']],data:{}}));function l(n){return r.bc(0,[(n()(),r.zb(0,0,null,null,5,"div",[["class","buy_license_screenshot"]],null,null,null,null,null)),(n()(),r.zb(1,0,null,null,3,"div",[["class","screenshot_toolbar"]],null,null,null,null,null)),(n()(),r.zb(2,0,null,null,0,"span",[["class","screenshot_button"]],null,null,null,null,null)),(n()(),r.zb(3,0,null,null,0,"span",[["class","screenshot_button"]],null,null,null,null,null)),(n()(),r.zb(4,0,null,null,0,"span",[["class","screenshot_button"]],null,null,null,null,null)),(n()(),r.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")}))}o.a},xJY0:function(r,o,l){"use strict";l.d(o,"b",(function(){return s})),l.d(o,"a",(function(){return f}));var a=l("mrSG"),c=l("l5pG"),s={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"},f=function(){function r(n,t,e){i(this,r),this.modalService=n,this.notifications=t,this.xhr=e,this.get=this.xhr.wrap(this.xhr.rx(c.d.getList,!1),c.c),this.getALL=this.xhr.wrap(this.xhr.rx(c.d.getAllList),c.c),this.addOrUpdateItems=this.xhr.request(c.d.addOrUpdateItem,!1),this.deleteItems=this.xhr.request(c.d.deleteItems),this.editItem=this.xhr.request(c.d.editItem)}return u(r,[{key:"changeListWithConfirm",value:function(n,t,e){var r=this.getActionAndRequest(n,t,e);return this.confirmListChangeAndNotify(r.request,r.action,n,r.confirmName)}},{key:"changeListWithConfirmFromIncidents",value:function(r,o,i){return Object(a.a)(this,void 0,void 0,n().mark((function l(){var u,a,c,s,f,h,d,p,g,b;return n().wrap((function(n){for(;;)switch(n.prev=n.next){case 0:if(u=this.getActionAndRequest([],r[0].list,o,i)){n.next=3;break}return n.abrupt("return",!1);case 3:return a=Array.from(new Set(r.map((function(n){return n.ip})))),n.next=6,this.modalService.confirm(u.confirmName,a);case 6:if(!(c=n.sent)){n.next=35;break}s=e(this.sortIps(r)),n.prev=9,s.s();case 11:if((f=s.n()).done){n.next=23;break}return h=t(f.value,2),d=h[0],p=h[1],g=Array.from(p),b=this.getActionAndRequest(g,d,o),n.prev=14,n.next=17,this.confirmListChangeAndNotify(b.request,b.action,g,null);case 17:n.next=21;break;case 19:n.prev=19,n.t0=n.catch(14);case 21:n.next=11;break;case 23:n.next=28;break;case 25:n.prev=25,n.t1=n.catch(9),s.e(n.t1);case 28:return n.prev=28,s.f(),n.finish(28);case 31:if(n.t2=i&&o,!n.t2){n.next=35;break}return n.next=35,this.addOrUpdateItems({value:a,scope:i,list:o});case 35:return n.abrupt("return",c);case 36:case"end":return n.stop()}}),l,this,[[9,25,28,31],[14,19]])})))}},{key:"sortIps",value:function(n){var t,r=new Map,o=e(n);try{for(o.s();!(t=o.n()).done;){var i=t.value,l=i.list,u=i.ip,a=r.get(l)||new Set;a.add(u),r.set(l,a)}}catch(c){o.e(c)}finally{o.f()}return r}},{key:"getActionAndRequest",value:function(n,t,e,r){var o,i,l,u=this;if(null===t||null!==e){if(l="add-to-".concat(e),null===t&&null!==e)o="added";else{if(null===e)throw new Error("impossible");o="moved"}i=function(){return u.addOrUpdateItems({value:n,list:e})}}else o="deleted",l="delete-ip-from-list",i=function(){return u.deleteItems({itemType:"ip",items:n,list:t})};return r&&(l+="-".concat(r,"-scope")),{action:o,confirmName:l,request:i}}},{key:"confirmListChangeAndNotify",value:function(t,e,r,o){return Object(a.a)(this,void 0,void 0,n().mark((function i(){return n().wrap((function(n){for(;;)switch(n.prev=n.next){case 0:if(n.t1=o,!n.t1){n.next=5;break}return n.next=4,this.modalService.confirm(o,r);case 4:n.t1=!n.sent;case 5:if(n.t0=!n.t1,!n.t0){n.next=11;break}return n.next=9,t();case 9:this.notifications.success("notifications.ipAction",null,{count:r.length,action:e}),n.t0=!0;case 11:return n.abrupt("return",n.t0);case 12:case"end":return n.stop()}}),i,this)})))}}]),r}()}}])}();
Back to Directory File Manager