Linux unitednationsplay.com 3.10.0-1160.45.1.el7.x86_64 #1 SMP Wed Oct 13 17:20:51 UTC 2021 x86_64
nginx/1.20.1
Server IP : 188.130.139.92 & Your IP : 3.137.152.81
Domains :
Cant Read [ /etc/named.conf ]
User : web
Terminal
Auto Root
Create File
Create Folder
Localroot Suggester
Backdoor Destroyer
Readme
/
home /
www /
unp_probe /
node_modules /
svgo /
plugins /
Delete
Unzip
Name
Size
Permission
Date
Action
_collections.js
56.33
KB
-rw-r--r--
2016-12-25 15:17
_path.js
29.8
KB
-rw-r--r--
2017-01-29 15:46
_transforms.js
9.9
KB
-rw-r--r--
2016-08-20 17:44
addAttributesToSVGElement.js
1.34
KB
-rw-r--r--
2016-08-25 19:35
addClassesToSVGElement.js
1.58
KB
-rw-r--r--
2016-08-25 19:56
cleanupAttrs.js
1.28
KB
-rw-r--r--
2016-08-20 17:44
cleanupEnableBackground.js
2.25
KB
-rw-r--r--
2016-08-20 17:44
cleanupIDs.js
5.42
KB
-rw-r--r--
2016-11-21 19:50
cleanupListOfValues.js
3.45
KB
-rw-r--r--
2016-08-20 17:44
cleanupNumericValues.js
2.01
KB
-rw-r--r--
2016-08-20 17:44
collapseGroups.js
2.76
KB
-rw-r--r--
2016-12-25 15:17
convertColors.js
3.47
KB
-rw-r--r--
2016-12-25 15:17
convertPathData.js
29.66
KB
-rw-r--r--
2017-01-29 15:46
convertShapeToPath.js
2.82
KB
-rw-r--r--
2016-08-20 17:44
convertStyleToAttrs.js
3.93
KB
-rw-r--r--
2016-08-20 17:44
convertTransform.js
10.65
KB
-rw-r--r--
2016-08-20 17:44
mergePaths.js
2.01
KB
-rw-r--r--
2016-08-20 17:44
minifyStyles.js
1.19
KB
-rw-r--r--
2016-08-20 17:44
moveElemsAttrsToGroup.js
3.31
KB
-rw-r--r--
2016-08-20 17:44
moveGroupAttrsToElems.js
1.81
KB
-rw-r--r--
2016-08-20 17:44
removeAttrs.js
2.49
KB
-rw-r--r--
2016-08-20 17:44
removeComments.js
508
B
-rw-r--r--
2016-08-20 17:44
removeDesc.js
785
B
-rw-r--r--
2016-08-20 17:44
removeDimensions.js
662
B
-rw-r--r--
2016-08-20 17:44
removeDoctype.js
1.01
KB
-rw-r--r--
2016-08-20 17:44
removeEditorsNSData.js
1.51
KB
-rw-r--r--
2016-08-20 17:44
removeElementsByAttr.js
1.89
KB
-rw-r--r--
2016-08-20 17:44
removeEmptyAttrs.js
509
B
-rw-r--r--
2016-08-20 17:44
removeEmptyContainers.js
690
B
-rw-r--r--
2016-08-20 17:44
removeEmptyText.js
1.1
KB
-rw-r--r--
2016-08-20 17:44
removeHiddenElems.js
6.23
KB
-rw-r--r--
2016-08-20 17:44
removeMetadata.js
392
B
-rw-r--r--
2016-08-20 17:44
removeNonInheritableGroupAttrs.js
1.08
KB
-rw-r--r--
2016-11-20 10:56
removeRasterImages.js
558
B
-rw-r--r--
2016-08-20 17:44
removeStyleElement.js
426
B
-rw-r--r--
2016-08-20 17:44
removeTitle.js
497
B
-rw-r--r--
2016-08-20 17:44
removeUnknownsAndDefaults.js
4.48
KB
-rw-r--r--
2016-12-25 15:17
removeUnusedNS.js
2.33
KB
-rw-r--r--
2016-08-20 17:44
removeUselessDefs.js
1.01
KB
-rw-r--r--
2016-08-24 19:21
removeUselessStrokeAndFill.js
2.37
KB
-rw-r--r--
2016-08-20 17:44
removeViewBox.js
1.15
KB
-rw-r--r--
2016-08-20 17:44
removeXMLNS.js
591
B
-rw-r--r--
2016-08-25 19:56
removeXMLProcInst.js
487
B
-rw-r--r--
2016-08-20 17:44
sortAttrs.js
1.5
KB
-rw-r--r--
2016-08-25 19:35
transformsWithOnePath.js
10.57
KB
-rw-r--r--
2016-08-20 17:44
Save
Rename
'use strict'; exports.type = 'perItem'; exports.active = true; exports.description = 'converts colors: rgb() to #rrggbb and #rrggbb to #rgb'; exports.params = { currentColor: false, names2hex: true, rgb2hex: true, shorthex: true, shortname: true }; var collections = require('./_collections'), rNumber = '([+-]?(?:\\d*\\.\\d+|\\d+\\.?)%?)', rComma = '\\s*,\\s*', regRGB = new RegExp('^rgb\\(\\s*' + rNumber + rComma + rNumber + rComma + rNumber + '\\s*\\)$'), regHEX = /^\#(([a-fA-F0-9])\2){3}$/, none = /\bnone\b/i; /** * Convert different colors formats in element attributes to hex. * * @see http://www.w3.org/TR/SVG/types.html#DataTypeColor * @see http://www.w3.org/TR/SVG/single-page.html#types-ColorKeywords * * @example * Convert color name keyword to long hex: * fuchsia ➡ #ff00ff * * Convert rgb() to long hex: * rgb(255, 0, 255) ➡ #ff00ff * rgb(50%, 100, 100%) ➡ #7f64ff * * Convert long hex to short hex: * #aabbcc ➡ #abc * * Convert hex to short name * #000080 ➡ navy * * @param {Object} item current iteration item * @param {Object} params plugin params * @return {Boolean} if false, item will be filtered out * * @author Kir Belevich */ exports.fn = function(item, params) { if (item.elem) { item.eachAttr(function(attr) { if (collections.colorsProps.indexOf(attr.name) > -1) { var val = attr.value, match; // Convert colors to currentColor if (params.currentColor) { if (typeof params.currentColor === 'string') { match = val === params.currentColor; } else if (params.currentColor.exec) { match = params.currentColor.exec(val); } else { match = !val.match(none); } if (match) { val = 'currentColor'; } } // Convert color name keyword to long hex if (params.names2hex && val.toLowerCase() in collections.colorsNames) { val = collections.colorsNames[val.toLowerCase()]; } // Convert rgb() to long hex if (params.rgb2hex && (match = val.match(regRGB))) { match = match.slice(1, 4).map(function(m) { if (m.indexOf('%') > -1) m = Math.round(parseFloat(m) * 2.55); return Math.max(0, Math.min(m, 255)); }); val = rgb2hex(match); } // Convert long hex to short hex if (params.shorthex && (match = val.match(regHEX))) { val = '#' + match[0][1] + match[0][3] + match[0][5]; } // Convert hex to short name if (params.shortname && val in collections.colorsShortNames) { val = collections.colorsShortNames[val]; } attr.value = val; } }); } }; /** * Convert [r, g, b] to #rrggbb. * * @see https://gist.github.com/983535 * * @example * rgb2hex([255, 255, 255]) // '#ffffff' * * @param {Array} rgb [r, g, b] * @return {String} #rrggbb * * @author Jed Schmidt */ function rgb2hex(rgb) { return '#' + ('00000' + (rgb[0] << 16 | rgb[1] << 8 | rgb[2]).toString(16)).slice(-6).toUpperCase(); }