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.21.125.27
Domains :
Cant Read [ /etc/named.conf ]
User : web
Terminal
Auto Root
Create File
Create Folder
Localroot Suggester
Backdoor Destroyer
Readme
/
usr /
lib /
node_modules /
npm /
node_modules /
gauge /
Delete
Unzip
Name
Size
Permission
Date
Action
node_modules
[ DIR ]
drwxr-xr-x
2022-01-26 16:43
CHANGELOG.md
6.23
KB
-rw-r--r--
2022-01-10 12:20
LICENSE
751
B
-rw-r--r--
2022-01-10 12:20
README.md
14.72
KB
-rw-r--r--
2022-01-10 12:20
base-theme.js
395
B
-rw-r--r--
2022-01-10 12:20
error.js
616
B
-rw-r--r--
2022-01-10 12:20
has-color.js
292
B
-rw-r--r--
2022-01-10 12:20
index.js
6.83
KB
-rw-r--r--
2022-01-10 12:20
package.json
2.13
KB
-rw-r--r--
2022-01-10 12:20
plumbing.js
1.24
KB
-rw-r--r--
2022-01-10 12:20
process.js
89
B
-rw-r--r--
2022-01-10 12:20
progress-bar.js
998
B
-rw-r--r--
2022-01-10 12:20
render-template.js
5.6
KB
-rw-r--r--
2022-01-10 12:20
set-immediate.js
139
B
-rw-r--r--
2022-01-10 12:20
set-interval.js
93
B
-rw-r--r--
2022-01-10 12:20
spin.js
105
B
-rw-r--r--
2022-01-10 12:20
template-item.js
1.86
KB
-rw-r--r--
2022-01-10 12:20
theme-set.js
3.61
KB
-rw-r--r--
2022-01-10 12:20
themes.js
1.51
KB
-rw-r--r--
2022-01-10 12:20
wide-truncate.js
828
B
-rw-r--r--
2022-01-10 12:20
Save
Rename
'use strict' var validate = require('aproba') var renderTemplate = require('./render-template.js') var wideTruncate = require('./wide-truncate') var stringWidth = require('string-width') module.exports = function (theme, width, completed) { validate('ONN', [theme, width, completed]) if (completed < 0) completed = 0 if (completed > 1) completed = 1 if (width <= 0) return '' var sofar = Math.round(width * completed) var rest = width - sofar var template = [ {type: 'complete', value: repeat(theme.complete, sofar), length: sofar}, {type: 'remaining', value: repeat(theme.remaining, rest), length: rest} ] return renderTemplate(width, template, theme) } // lodash's way of repeating function repeat (string, width) { var result = '' var n = width do { if (n % 2) { result += string } n = Math.floor(n / 2) /*eslint no-self-assign: 0*/ string += string } while (n && stringWidth(result) < width) return wideTruncate(result, width) }