pandorafms/pandora_console/include/visual-console-client/vc.main.131a9bb7.min.js

2 lines
71 KiB
JavaScript
Raw Normal View History

!function(t){var e={};function n(i){if(e[i])return e[i].exports;var r=e[i]={i:i,l:!1,exports:{}};return t[i].call(r.exports,r,r.exports,n),r.l=!0,r.exports}n.m=t,n.c=e,n.d=function(t,e,i){n.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:i})},n.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},n.t=function(t,e){if(1&e&&(t=n(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var i=Object.create(null);if(n.r(i),Object.defineProperty(i,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var r in t)n.d(i,r,function(e){return t[e]}.bind(null,r));return i},n.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return n.d(e,"a",e),e},n.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},n.p="",n(n.s=9)}([function(t,e,n){"use strict";n.d(e,"h",function(){return r}),n.d(e,"g",function(){return s}),n.d(e,"l",function(){return o}),n.d(e,"d",function(){return a}),n.d(e,"f",function(){return c}),n.d(e,"e",function(){return l}),n.d(e,"i",function(){return h}),n.d(e,"k",function(){return u}),n.d(e,"c",function(){return _}),n.d(e,"b",function(){return p}),n.d(e,"j",function(){return f}),n.d(e,"a",function(){return y});var i=function(){return(i=Object.assign||function(t){for(var e,n=1,i=arguments.length;n<i;n++)for(var r in e=arguments[n])Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t}).apply(this,arguments)};function r(t,e){return"number"==typeof t?t:"string"==typeof t&&t.length>0&&!isNaN(parseInt(t))?parseInt(t):e}function s(t,e){return"number"==typeof t?t:"string"==typeof t&&t.length>0&&!isNaN(parseFloat(t))?parseFloat(t):e}function o(t){return null==t||0===t.length}function a(t,e){return"string"==typeof t&&t.length>0?t:e}function c(t){return"boolean"==typeof t?t:"number"==typeof t?t>0:"string"==typeof t&&("1"===t||"true"===t)}function l(t,e,n){void 0===n&&(n=" "),"number"==typeof t&&(t=""+t),"number"==typeof n&&(n=""+n);var i=e-t.length;if(0===i)return t;if(i<0)return t.substr(Math.abs(i));if(i===n.length)return""+n+t;if(i<n.length)return""+n.substring(0,i)+t;for(var r=Math.floor(i/n.length),s=i-n.length*r,o="",a=0;a<r;a++)o+=n;return 0===s?""+o+t:""+o+n.substring(0,s)+t}function h(t){return{x:r(t.x,0),y:r(t.y,0)}}function u(t){if(null==t.width||isNaN(parseInt(t.width))||null==t.height||isNaN(parseInt(t.height)))throw new TypeError("invalid size.");return{width:parseInt(t.width),height:parseInt(t.height)}}function _(t){var e=t.moduleId,n=t.moduleName;return i({moduleId:r(e,null),moduleName:"string"==typeof n&&n.length>0?n:null},function(t){var e=t.metaconsoleId,n=t.agentId,s=t.agentName,o={agentId:r(n,null),agentName:"string"==typeof s&&s.length>0?s:null};return null!=e?i({metaconsoleId:e},o):o}(t))}function p(t){var e=t.metaconsoleId,n=t.linkedLayoutId,s=t.linkedLayoutAgentId,o={linkedLayoutStatusType:"default"};switch(t.linkedLayoutStatusType){case"weight":var a=r(t.linkedLayoutStatusTypeWeight,null);if(null==a)throw new TypeError("invalid status calculation properties.");t.linkedLayoutStatusTypeWeight&&(o={linkedLayoutStatusType:"weight",linkedLayoutStatusTypeWeight:a});break;case"service":var c=r(t.linkedLayoutStatusTypeWarningThreshold,null),l=r(t.linkedLayoutStatusTypeCriticalThreshold,null);if(null==c||null==l)throw new TypeError("invalid status calculation properties.");o={linkedLayoutStatusType:"service",linkedLayoutStatusTypeWarningThreshold:c,linkedLayoutStatusTypeCriticalThreshold:l}}var h=i({linkedLayoutId:r(n,null),linkedLayoutAgentId:r(s,null)},o);return null!=e?i({metaconsoleId:e},h):h}function f(t,e){var n=t+": "+e+";";return["-webkit-"+n,"-moz-"+n,"-ms-"+n,"-o-"+n,""+n]}function y(t){return decodeURIComponent(escape(window.atob(t)))}},function(t,e,n){"use strict";n.d(e,"b",function(){return a});var i=n(0),r=n(2),s=function(){return(s=Object.assign||function(t){for(var e,n=1,i=arguments.length;n<i;n++)for(var r in e=arguments[n])Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t}).appl
//# sourceMappingURL=vc.main.131a9bb7.min.js.map