{"version":3,"file":"index.js","names":[],"sources":["esm/index.js"],"sourcesContent":["const Color = {\n  Reset: \"\\x1B[0m\",\n  Bright: \"\\x1B[1m\",\n  Dim: \"\\x1B[2m\",\n  Underscore: \"\\x1B[4m\",\n  Blink: \"\\x1B[5m\",\n  Reverse: \"\\x1B[7m\",\n  Hidden: \"\\x1B[8m\",\n  FgBlack: \"\\x1B[30m\",\n  FgRed: \"\\x1B[31m\",\n  FgGreen: \"\\x1B[32m\",\n  FgYellow: \"\\x1B[33m\",\n  FgBlue: \"\\x1B[34m\",\n  FgMagenta: \"\\x1B[35m\",\n  FgCyan: \"\\x1B[36m\",\n  FgWhite: \"\\x1B[37m\",\n  BgBlack: \"\\x1B[40m\",\n  BgRed: \"\\x1B[41m\",\n  BgGreen: \"\\x1B[42m\",\n  BgYellow: \"\\x1B[43m\",\n  BgBlue: \"\\x1B[44m\",\n  BgMagenta: \"\\x1B[45m\",\n  BgCyan: \"\\x1B[46m\",\n  BgWhite: \"\\x1B[47m\"\n};\nfunction colorString(color, string) {\n  return `${color}${string}${Color.Reset}`;\n}\nfunction colorLog(color, ...args) {\n  console.info(\n    ...args.map((it) => typeof it === \"string\" ? colorString(color, it) : it)\n  );\n}\nexport {\n  Color,\n  colorLog,\n  colorString\n};\n//# sourceMappingURL=index.js.map\n"],"mappings":";AAAA,MAAM,QAAQ;CACZ,OAAO;CACP,QAAQ;CACR,KAAK;CACL,YAAY;CACZ,OAAO;CACP,SAAS;CACT,QAAQ;CACR,SAAS;CACT,OAAO;CACP,SAAS;CACT,UAAU;CACV,QAAQ;CACR,WAAW;CACX,QAAQ;CACR,SAAS;CACT,SAAS;CACT,OAAO;CACP,SAAS;CACT,UAAU;CACV,QAAQ;CACR,WAAW;CACX,QAAQ;CACR,SAAS;AACX;AACA,SAAS,YAAY,OAAO,QAAQ;CAClC,OAAO,GAAG,QAAQ,SAAS,MAAM;AACnC;AACA,SAAS,SAAS,OAAO,GAAG,MAAM;CAChC,QAAQ,KACN,GAAG,KAAK,KAAK,OAAO,OAAO,OAAO,WAAW,YAAY,OAAO,EAAE,IAAI,EAAE,CAC1E;AACF"}