You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
1 lines
14 KiB
1 lines
14 KiB
{"ast":null,"code":"'use strict';\n\nconst colorConvert = require('color-convert');\n\nconst wrapAnsi16 = (fn, offset) => function () {\n const code = fn.apply(colorConvert, arguments);\n return `\\u001B[${code + offset}m`;\n};\n\nconst wrapAnsi256 = (fn, offset) => function () {\n const code = fn.apply(colorConvert, arguments);\n return `\\u001B[${38 + offset};5;${code}m`;\n};\n\nconst wrapAnsi16m = (fn, offset) => function () {\n const rgb = fn.apply(colorConvert, arguments);\n return `\\u001B[${38 + offset};2;${rgb[0]};${rgb[1]};${rgb[2]}m`;\n};\n\nfunction assembleStyles() {\n const codes = new Map();\n const styles = {\n modifier: {\n reset: [0, 0],\n // 21 isn't widely supported and 22 does the same thing\n bold: [1, 22],\n dim: [2, 22],\n italic: [3, 23],\n underline: [4, 24],\n inverse: [7, 27],\n hidden: [8, 28],\n strikethrough: [9, 29]\n },\n color: {\n black: [30, 39],\n red: [31, 39],\n green: [32, 39],\n yellow: [33, 39],\n blue: [34, 39],\n magenta: [35, 39],\n cyan: [36, 39],\n white: [37, 39],\n gray: [90, 39],\n // Bright color\n redBright: [91, 39],\n greenBright: [92, 39],\n yellowBright: [93, 39],\n blueBright: [94, 39],\n magentaBright: [95, 39],\n cyanBright: [96, 39],\n whiteBright: [97, 39]\n },\n bgColor: {\n bgBlack: [40, 49],\n bgRed: [41, 49],\n bgGreen: [42, 49],\n bgYellow: [43, 49],\n bgBlue: [44, 49],\n bgMagenta: [45, 49],\n bgCyan: [46, 49],\n bgWhite: [47, 49],\n // Bright color\n bgBlackBright: [100, 49],\n bgRedBright: [101, 49],\n bgGreenBright: [102, 49],\n bgYellowBright: [103, 49],\n bgBlueBright: [104, 49],\n bgMagentaBright: [105, 49],\n bgCyanBright: [106, 49],\n bgWhiteBright: [107, 49]\n }\n }; // Fix humans\n\n styles.color.grey = styles.color.gray;\n\n for (const groupName of Object.keys(styles)) {\n const group = styles[groupName];\n\n for (const styleName of Object.keys(group)) {\n const style = group[styleName];\n styles[styleName] = {\n open: `\\u001B[${style[0]}m`,\n close: `\\u001B[${style[1]}m`\n };\n group[styleName] = styles[styleName];\n codes.set(style[0], style[1]);\n }\n\n Object.defineProperty(styles, groupName, {\n value: group,\n enumerable: false\n });\n Object.defineProperty(styles, 'codes', {\n value: codes,\n enumerable: false\n });\n }\n\n const ansi2ansi = n => n;\n\n const rgb2rgb = (r, g, b) => [r, g, b];\n\n styles.color.close = '\\u001B[39m';\n styles.bgColor.close = '\\u001B[49m';\n styles.color.ansi = {\n ansi: wrapAnsi16(ansi2ansi, 0)\n };\n styles.color.ansi256 = {\n ansi256: wrapAnsi256(ansi2ansi, 0)\n };\n styles.color.ansi16m = {\n rgb: wrapAnsi16m(rgb2rgb, 0)\n };\n styles.bgColor.ansi = {\n ansi: wrapAnsi16(ansi2ansi, 10)\n };\n styles.bgColor.ansi256 = {\n ansi256: wrapAnsi256(ansi2ansi, 10)\n };\n styles.bgColor.ansi16m = {\n rgb: wrapAnsi16m(rgb2rgb, 10)\n };\n\n for (let key of Object.keys(colorConvert)) {\n if (typeof colorConvert[key] !== 'object') {\n continue;\n }\n\n const suite = colorConvert[key];\n\n if (key === 'ansi16') {\n key = 'ansi';\n }\n\n if ('ansi16' in suite) {\n styles.color.ansi[key] = wrapAnsi16(suite.ansi16, 0);\n styles.bgColor.ansi[key] = wrapAnsi16(suite.ansi16, 10);\n }\n\n if ('ansi256' in suite) {\n styles.color.ansi256[key] = wrapAnsi256(suite.ansi256, 0);\n styles.bgColor.ansi256[key] = wrapAnsi256(suite.ansi256, 10);\n }\n\n if ('rgb' in suite) {\n styles.color.ansi16m[key] = wrapAnsi16m(suite.rgb, 0);\n styles.bgColor.ansi16m[key] = wrapAnsi16m(suite.rgb, 10);\n }\n }\n\n return styles;\n} // Make the export immutable\n\n\nObject.defineProperty(module, 'exports', {\n enumerable: true,\n get: assembleStyles\n});","map":{"version":3,"sources":["C:/Users/user/Documents/myapp/node_modules/ansi-styles/index.js"],"names":["colorConvert","require","wrapAnsi16","fn","offset","code","apply","arguments","wrapAnsi256","wrapAnsi16m","rgb","assembleStyles","codes","Map","styles","modifier","reset","bold","dim","italic","underline","inverse","hidden","strikethrough","color","black","red","green","yellow","blue","magenta","cyan","white","gray","redBright","greenBright","yellowBright","blueBright","magentaBright","cyanBright","whiteBright","bgColor","bgBlack","bgRed","bgGreen","bgYellow","bgBlue","bgMagenta","bgCyan","bgWhite","bgBlackBright","bgRedBright","bgGreenBright","bgYellowBright","bgBlueBright","bgMagentaBright","bgCyanBright","bgWhiteBright","grey","groupName","Object","keys","group","styleName","style","open","close","set","defineProperty","value","enumerable","ansi2ansi","n","rgb2rgb","r","g","b","ansi","ansi256","ansi16m","key","suite","ansi16","module","get"],"mappings":"AAAA;;AACA,MAAMA,YAAY,GAAGC,OAAO,CAAC,eAAD,CAA5B;;AAEA,MAAMC,UAAU,GAAG,CAACC,EAAD,EAAKC,MAAL,KAAgB,YAAY;AAC9C,QAAMC,IAAI,GAAGF,EAAE,CAACG,KAAH,CAASN,YAAT,EAAuBO,SAAvB,CAAb;AACA,SAAQ,UAASF,IAAI,GAAGD,MAAO,GAA/B;AACA,CAHD;;AAKA,MAAMI,WAAW,GAAG,CAACL,EAAD,EAAKC,MAAL,KAAgB,YAAY;AAC/C,QAAMC,IAAI,GAAGF,EAAE,CAACG,KAAH,CAASN,YAAT,EAAuBO,SAAvB,CAAb;AACA,SAAQ,UAAS,KAAKH,MAAO,MAAKC,IAAK,GAAvC;AACA,CAHD;;AAKA,MAAMI,WAAW,GAAG,CAACN,EAAD,EAAKC,MAAL,KAAgB,YAAY;AAC/C,QAAMM,GAAG,GAAGP,EAAE,CAACG,KAAH,CAASN,YAAT,EAAuBO,SAAvB,CAAZ;AACA,SAAQ,UAAS,KAAKH,MAAO,MAAKM,GAAG,CAAC,CAAD,CAAI,IAAGA,GAAG,CAAC,CAAD,CAAI,IAAGA,GAAG,CAAC,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,KAAhB,EAAuB;AACtBnE,MAAAA,MAAM,CAACU,KAAP,CAAaqD,IAAb,CAAkBG,GAAlB,IAAyB9E,UAAU,CAAC+E,KAAK,CAACC,MAAP,EAAe,CAAf,CAAnC;AACApE,MAAAA,MAAM,CAAC2B,OAAP,CAAeoC,IAAf,CAAoBG,GAApB,IAA2B9E,UAAU,CAAC+E,KAAK,CAACC,MAAP,EAAe,EAAf,CAArC;AACA;;AAED,QAAI,aAAaD,KAAjB,EAAwB;AACvBnE,MAAAA,MAAM,CAACU,KAAP,CAAasD,OAAb,CAAqBE,GAArB,IAA4BxE,WAAW,CAACyE,KAAK,CAACH,OAAP,EAAgB,CAAhB,CAAvC;AACAhE,MAAAA,MAAM,CAAC2B,OAAP,CAAeqC,OAAf,CAAuBE,GAAvB,IAA8BxE,WAAW,CAACyE,KAAK,CAACH,OAAP,EAAgB,EAAhB,CAAzC;AACA;;AAED,QAAI,SAASG,KAAb,EAAoB;AACnBnE,MAAAA,MAAM,CAACU,KAAP,CAAauD,OAAb,CAAqBC,GAArB,IAA4BvE,WAAW,CAACwE,KAAK,CAACvE,GAAP,EAAY,CAAZ,CAAvC;AACAI,MAAAA,MAAM,CAAC2B,OAAP,CAAesC,OAAf,CAAuBC,GAAvB,IAA8BvE,WAAW,CAACwE,KAAK,CAACvE,GAAP,EAAY,EAAZ,CAAzC;AACA;AACD;;AAED,SAAOI,MAAP;AACA,C,CAED;;;AACA8C,MAAM,CAACQ,cAAP,CAAsBe,MAAtB,EAA8B,SAA9B,EAAyC;AACxCb,EAAAA,UAAU,EAAE,IAD4B;AAExCc,EAAAA,GAAG,EAAEzE;AAFmC,CAAzC","sourcesContent":["'use strict';\nconst colorConvert = require('color-convert');\n\nconst wrapAnsi16 = (fn, offset) => function () {\n\tconst code = fn.apply(colorConvert, arguments);\n\treturn `\\u001B[${code + offset}m`;\n};\n\nconst wrapAnsi256 = (fn, offset) => function () {\n\tconst code = fn.apply(colorConvert, arguments);\n\treturn `\\u001B[${38 + offset};5;${code}m`;\n};\n\nconst wrapAnsi16m = (fn, offset) => function () {\n\tconst rgb = fn.apply(colorConvert, arguments);\n\treturn `\\u001B[${38 + offset};2;${rgb[0]};${rgb[1]};${rgb[2]}m`;\n};\n\nfunction assembleStyles() {\n\tconst codes = new Map();\n\tconst styles = {\n\t\tmodifier: {\n\t\t\treset: [0, 0],\n\t\t\t// 21 isn't widely supported and 22 does the same thing\n\t\t\tbold: [1, 22],\n\t\t\tdim: [2, 22],\n\t\t\titalic: [3, 23],\n\t\t\tunderline: [4, 24],\n\t\t\tinverse: [7, 27],\n\t\t\thidden: [8, 28],\n\t\t\tstrikethrough: [9, 29]\n\t\t},\n\t\tcolor: {\n\t\t\tblack: [30, 39],\n\t\t\tred: [31, 39],\n\t\t\tgreen: [32, 39],\n\t\t\tyellow: [33, 39],\n\t\t\tblue: [34, 39],\n\t\t\tmagenta: [35, 39],\n\t\t\tcyan: [36, 39],\n\t\t\twhite: [37, 39],\n\t\t\tgray: [90, 39],\n\n\t\t\t// Bright color\n\t\t\tredBright: [91, 39],\n\t\t\tgreenBright: [92, 39],\n\t\t\tyellowBright: [93, 39],\n\t\t\tblueBright: [94, 39],\n\t\t\tmagentaBright: [95, 39],\n\t\t\tcyanBright: [96, 39],\n\t\t\twhiteBright: [97, 39]\n\t\t},\n\t\tbgColor: {\n\t\t\tbgBlack: [40, 49],\n\t\t\tbgRed: [41, 49],\n\t\t\tbgGreen: [42, 49],\n\t\t\tbgYellow: [43, 49],\n\t\t\tbgBlue: [44, 49],\n\t\t\tbgMagenta: [45, 49],\n\t\t\tbgCyan: [46, 49],\n\t\t\tbgWhite: [47, 49],\n\n\t\t\t// Bright color\n\t\t\tbgBlackBright: [100, 49],\n\t\t\tbgRedBright: [101, 49],\n\t\t\tbgGreenBright: [102, 49],\n\t\t\tbgYellowBright: [103, 49],\n\t\t\tbgBlueBright: [104, 49],\n\t\t\tbgMagentaBright: [105, 49],\n\t\t\tbgCyanBright: [106, 49],\n\t\t\tbgWhiteBright: [107, 49]\n\t\t}\n\t};\n\n\t// Fix humans\n\tstyles.color.grey = styles.color.gray;\n\n\tfor (const groupName of Object.keys(styles)) {\n\t\tconst group = styles[groupName];\n\n\t\tfor (const styleName of Object.keys(group)) {\n\t\t\tconst style = group[styleName];\n\n\t\t\tstyles[styleName] = {\n\t\t\t\topen: `\\u001B[${style[0]}m`,\n\t\t\t\tclose: `\\u001B[${style[1]}m`\n\t\t\t};\n\n\t\t\tgroup[styleName] = styles[styleName];\n\n\t\t\tcodes.set(style[0], style[1]);\n\t\t}\n\n\t\tObject.defineProperty(styles, groupName, {\n\t\t\tvalue: group,\n\t\t\tenumerable: false\n\t\t});\n\n\t\tObject.defineProperty(styles, 'codes', {\n\t\t\tvalue: codes,\n\t\t\tenumerable: false\n\t\t});\n\t}\n\n\tconst ansi2ansi = n => n;\n\tconst rgb2rgb = (r, g, b) => [r, g, b];\n\n\tstyles.color.close = '\\u001B[39m';\n\tstyles.bgColor.close = '\\u001B[49m';\n\n\tstyles.color.ansi = {\n\t\tansi: wrapAnsi16(ansi2ansi, 0)\n\t};\n\tstyles.color.ansi256 = {\n\t\tansi256: wrapAnsi256(ansi2ansi, 0)\n\t};\n\tstyles.color.ansi16m = {\n\t\trgb: wrapAnsi16m(rgb2rgb, 0)\n\t};\n\n\tstyles.bgColor.ansi = {\n\t\tansi: wrapAnsi16(ansi2ansi, 10)\n\t};\n\tstyles.bgColor.ansi256 = {\n\t\tansi256: wrapAnsi256(ansi2ansi, 10)\n\t};\n\tstyles.bgColor.ansi16m = {\n\t\trgb: wrapAnsi16m(rgb2rgb, 10)\n\t};\n\n\tfor (let key of Object.keys(colorConvert)) {\n\t\tif (typeof colorConvert[key] !== 'object') {\n\t\t\tcontinue;\n\t\t}\n\n\t\tconst suite = colorConvert[key];\n\n\t\tif (key === 'ansi16') {\n\t\t\tkey = 'ansi';\n\t\t}\n\n\t\tif ('ansi16' in suite) {\n\t\t\tstyles.color.ansi[key] = wrapAnsi16(suite.ansi16, 0);\n\t\t\tstyles.bgColor.ansi[key] = wrapAnsi16(suite.ansi16, 10);\n\t\t}\n\n\t\tif ('ansi256' in suite) {\n\t\t\tstyles.color.ansi256[key] = wrapAnsi256(suite.ansi256, 0);\n\t\t\tstyles.bgColor.ansi256[key] = wrapAnsi256(suite.ansi256, 10);\n\t\t}\n\n\t\tif ('rgb' in suite) {\n\t\t\tstyles.color.ansi16m[key] = wrapAnsi16m(suite.rgb, 0);\n\t\t\tstyles.bgColor.ansi16m[key] = wrapAnsi16m(suite.rgb, 10);\n\t\t}\n\t}\n\n\treturn styles;\n}\n\n// Make the export immutable\nObject.defineProperty(module, 'exports', {\n\tenumerable: true,\n\tget: assembleStyles\n});\n"]},"metadata":{},"sourceType":"script"}
|