@contember/logger 2.2.0-alpha.18 → 2.2.0-alpha.19

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.
@@ -1,15 +1,30 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
3
- const chalk = require("chalk");
4
3
  const node_util = require("node:util");
5
4
  const levels = require("../levels.cjs");
6
5
  var __defProp = Object.defineProperty;
7
6
  var __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
8
- var __publicField = (obj, key, value) => __defNormalProp(obj, key + "", value);
7
+ var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "symbol" ? key + "" : key, value);
8
+ const detectColorSupport = () => {
9
+ const forceColor = process.env.FORCE_COLOR;
10
+ if (forceColor !== void 0) {
11
+ return forceColor !== "0" && forceColor !== "false";
12
+ }
13
+ const stdout = process.stdout;
14
+ return stdout.isTTY === true && (typeof stdout.hasColors !== "function" || stdout.hasColors());
15
+ };
16
+ const createStyler = (colors) => (styles, text) => {
17
+ if (!colors) {
18
+ return text;
19
+ }
20
+ const list = typeof styles === "string" ? [styles] : styles;
21
+ return list.reduceRight((result, current) => node_util.styleText(current, result, { validateStream: false }), text);
22
+ };
9
23
  class PrettyPrintLoggerHandler {
10
24
  constructor(stream, options = {}) {
11
25
  this.stream = stream;
12
26
  __publicField(this, "options");
27
+ __publicField(this, "style", createStyler(detectColorSupport()));
13
28
  this.options = {
14
29
  logLevel: levels.LogLevels.debug,
15
30
  formatters: {},
@@ -37,12 +52,12 @@ class PrettyPrintLoggerHandler {
37
52
  const formattedValue = node_util.inspect(value, {
38
53
  depth: 5
39
54
  }).replaceAll(/\n/g, "\n" + indent);
40
- const formattedValue2 = this.options.formatters[key] ? this.options.formatters[key]({ value, key, formattedValue, chalk, attributes: allAttributes }) : formattedValue;
55
+ const formattedValue2 = this.options.formatters[key] ? this.options.formatters[key]({ value, key, formattedValue, style: this.style, attributes: allAttributes }) : formattedValue;
41
56
  if (formattedValue2 === void 0) {
42
57
  continue;
43
58
  }
44
59
  if (typeof formattedValue2 === "string") {
45
- this.stream.write(indent + chalk.dim(`${key}: ${formattedValue2}
60
+ this.stream.write(indent + this.style("dim", `${key}: ${formattedValue2}
46
61
  `));
47
62
  } else {
48
63
  this.stream.write(indent + formattedValue2.line + "\n");
@@ -57,20 +72,17 @@ class PrettyPrintLoggerHandler {
57
72
  if (!result) {
58
73
  return date;
59
74
  }
60
- return chalk.dim(result[1] + "T") + result[2] + chalk.dim("." + result[3] + "Z");
75
+ return this.style("dim", result[1] + "T") + result[2] + this.style("dim", "." + result[3] + "Z");
61
76
  }
62
77
  formatLevel(level) {
63
78
  const levelText = `${level.name}${" ".repeat(5 - level.name.length)}`;
64
- let color = chalk;
65
79
  if (level.value <= 10) {
66
- color = color.dim;
67
- } else if (level.value <= 20) ;
68
- else if (level.value <= 30) {
69
- color = color.yellowBright;
70
- } else {
71
- color = color.redBright;
80
+ return this.style("dim", levelText);
81
+ }
82
+ if (level.value <= 20) {
83
+ return levelText;
72
84
  }
73
- return color(levelText);
85
+ return this.style(level.value <= 30 ? "yellowBright" : "redBright", levelText);
74
86
  }
75
87
  close() {
76
88
  }
@@ -1 +1 @@
1
- {"version":3,"file":"PrettyPrintLoggerHandler.cjs","sources":["../../../../../packages/logger/src/handlers/PrettyPrintLoggerHandler.ts"],"sourcesContent":["import chalk from 'chalk'\nimport { inspect } from 'node:util'\nimport { LogEntry, LoggerAttributes, LoggerHandler, LogLevel } from '../types.js'\nimport { LogLevels } from '../levels.js'\n\nexport interface PrettyPrintLoggerHandlerOptions {\n\tlogLevel: LogLevel\n\tformatters: {\n\t\t[key: string]: (\n\t\t\targs: { value: any; formattedValue: string; key: string; chalk: typeof chalk; attributes: LoggerAttributes },\n\t\t) => undefined | string | { line: string }\n\t}\n}\n\nexport class PrettyPrintLoggerHandler implements LoggerHandler {\n\tprivate readonly options: PrettyPrintLoggerHandlerOptions\n\n\tconstructor(\n\t\tprivate readonly stream: NodeJS.WritableStream,\n\t\toptions: Partial<PrettyPrintLoggerHandlerOptions> = {},\n\t) {\n\t\tthis.options = {\n\t\t\tlogLevel: LogLevels.debug,\n\t\t\tformatters: {},\n\t\t\t...options,\n\t\t}\n\t}\n\n\tgetMinLevel(): number {\n\t\treturn this.options.logLevel.value\n\t}\n\n\thandle(entry: LogEntry) {\n\t\tif (entry.level.value < this.options.logLevel.value) {\n\t\t\treturn\n\t\t}\n\t\tconst startLength = entry.isoTime.length + 7\n\n\t\tthis.stream.write(`${this.formatTime(entry.isoTime)} ${this.formatLevel(entry.level)} `)\n\n\t\tconst indent = ' '.repeat(startLength)\n\t\tthis.stream.write(`${entry.message.replaceAll(/\\n/g, '\\n' + indent)}\\n`)\n\t\tconst allAttributes = { ...entry.loggerAttributes, ...entry.ownAttributes }\n\t\tfor (const key in allAttributes) {\n\t\t\tconst value = allAttributes[key]\n\t\t\tif (typeof key !== 'string' || value === undefined) {\n\t\t\t\tcontinue\n\t\t\t}\n\t\t\tconst formattedValue = inspect(value, {\n\t\t\t\tdepth: 5,\n\t\t\t}).replaceAll(/\\n/g, '\\n' + indent)\n\t\t\tconst formattedValue2 = this.options.formatters[key]\n\t\t\t\t? (this.options.formatters[key]({ value, key, formattedValue, chalk, attributes: allAttributes }))\n\t\t\t\t: formattedValue\n\t\t\tif (formattedValue2 === undefined) {\n\t\t\t\tcontinue\n\t\t\t}\n\t\t\tif (typeof formattedValue2 === 'string') {\n\t\t\t\tthis.stream.write(indent + chalk.dim(`${key}: ${formattedValue2}\\n`))\n\t\t\t} else {\n\t\t\t\tthis.stream.write(indent + formattedValue2.line + '\\n')\n\t\t\t}\n\t\t}\n\t\tif (entry.error) {\n\t\t\tthis.stream.write(inspect(entry.error).replaceAll(/^/gm, indent) + '\\n')\n\t\t}\n\t}\n\n\tprivate formatTime(date: string): string {\n\t\tconst result = date.match(/^([0-9-]+)T([0-9:]+)\\.(\\d+)Z$/)\n\t\tif (!result) {\n\t\t\treturn date\n\t\t}\n\t\treturn chalk.dim(result[1] + 'T') + result[2] + chalk.dim('.' + result[3] + 'Z')\n\t}\n\n\tprivate formatLevel(level: LogLevel): string {\n\t\tconst levelText = `${level.name}${' '.repeat(5 - level.name.length)}`\n\t\tlet color = chalk\n\t\tif (level.value <= 10) {\n\t\t\tcolor = color.dim\n\t\t} else if (level.value <= 20) {\n\t\t\t// nothing\n\t\t} else if (level.value <= 30) {\n\t\t\tcolor = color.yellowBright\n\t\t} else {\n\t\t\tcolor = color.redBright\n\t\t}\n\t\treturn color(levelText)\n\t}\n\n\tclose(): void {\n\t}\n}\n"],"names":["LogLevels","inspect"],"mappings":";;;;;;;;AAcO,MAAM,yBAAkD;AAAA,EAG9D,YACkB,QACjB,UAAoD,IACnD;AAFgB,SAAA,SAAA;AAHlB,kBAAA,MAAiB,SAAA;AAMhB,SAAK,UAAU;AAAA,MACd,UAAUA,OAAAA,UAAU;AAAA,MACpB,YAAY,CAAA;AAAA,MACZ,GAAG;AAAA,IAAA;AAAA,EAEL;AAAA,EAEA,cAAsB;AACrB,WAAO,KAAK,QAAQ,SAAS;AAAA,EAC9B;AAAA,EAEA,OAAO,OAAiB;AACvB,QAAI,MAAM,MAAM,QAAQ,KAAK,QAAQ,SAAS,OAAO;AACpD;AAAA,IACD;AACA,UAAM,cAAc,MAAM,QAAQ,SAAS;AAE3C,SAAK,OAAO,MAAM,GAAG,KAAK,WAAW,MAAM,OAAO,CAAC,IAAI,KAAK,YAAY,MAAM,KAAK,CAAC,GAAG;AAEvF,UAAM,SAAS,IAAI,OAAO,WAAW;AACrC,SAAK,OAAO,MAAM,GAAG,MAAM,QAAQ,WAAW,OAAO,OAAO,MAAM,CAAC;AAAA,CAAI;AACvE,UAAM,gBAAgB,EAAE,GAAG,MAAM,kBAAkB,GAAG,MAAM,cAAA;AAC5D,eAAW,OAAO,eAAe;AAChC,YAAM,QAAQ,cAAc,GAAG;AAC/B,UAAI,OAAO,QAAQ,YAAY,UAAU,QAAW;AACnD;AAAA,MACD;AACA,YAAM,iBAAiBC,UAAAA,QAAQ,OAAO;AAAA,QACrC,OAAO;AAAA,MAAA,CACP,EAAE,WAAW,OAAO,OAAO,MAAM;AAClC,YAAM,kBAAkB,KAAK,QAAQ,WAAW,GAAG,IAC/C,KAAK,QAAQ,WAAW,GAAG,EAAE,EAAE,OAAO,KAAK,gBAAgB,OAAO,YAAY,cAAA,CAAe,IAC9F;AACH,UAAI,oBAAoB,QAAW;AAClC;AAAA,MACD;AACA,UAAI,OAAO,oBAAoB,UAAU;AACxC,aAAK,OAAO,MAAM,SAAS,MAAM,IAAI,GAAG,GAAG,KAAK,eAAe;AAAA,CAAI,CAAC;AAAA,MACrE,OAAO;AACN,aAAK,OAAO,MAAM,SAAS,gBAAgB,OAAO,IAAI;AAAA,MACvD;AAAA,IACD;AACA,QAAI,MAAM,OAAO;AAChB,WAAK,OAAO,MAAMA,UAAAA,QAAQ,MAAM,KAAK,EAAE,WAAW,OAAO,MAAM,IAAI,IAAI;AAAA,IACxE;AAAA,EACD;AAAA,EAEQ,WAAW,MAAsB;AACxC,UAAM,SAAS,KAAK,MAAM,+BAA+B;AACzD,QAAI,CAAC,QAAQ;AACZ,aAAO;AAAA,IACR;AACA,WAAO,MAAM,IAAI,OAAO,CAAC,IAAI,GAAG,IAAI,OAAO,CAAC,IAAI,MAAM,IAAI,MAAM,OAAO,CAAC,IAAI,GAAG;AAAA,EAChF;AAAA,EAEQ,YAAY,OAAyB;AAC5C,UAAM,YAAY,GAAG,MAAM,IAAI,GAAG,IAAI,OAAO,IAAI,MAAM,KAAK,MAAM,CAAC;AACnE,QAAI,QAAQ;AACZ,QAAI,MAAM,SAAS,IAAI;AACtB,cAAQ,MAAM;AAAA,IACf,WAAW,MAAM,SAAS,GAAI;AAAA,aAEnB,MAAM,SAAS,IAAI;AAC7B,cAAQ,MAAM;AAAA,IACf,OAAO;AACN,cAAQ,MAAM;AAAA,IACf;AACA,WAAO,MAAM,SAAS;AAAA,EACvB;AAAA,EAEA,QAAc;AAAA,EACd;AACD;;"}
1
+ {"version":3,"file":"PrettyPrintLoggerHandler.cjs","sources":["../../../../../packages/logger/src/handlers/PrettyPrintLoggerHandler.ts"],"sourcesContent":["import { inspect, styleText } from 'node:util'\nimport { LogEntry, LoggerAttributes, LoggerHandler, LogLevel } from '../types.js'\nimport { LogLevels } from '../levels.js'\n\nexport type LogTextStyle = Exclude<Parameters<typeof styleText>[0], readonly unknown[]>\n\n/** Styles `text` with the given styles (outermost first); returns it unchanged when the terminal has no colors. */\nexport type LogTextStyler = (styles: LogTextStyle | readonly LogTextStyle[], text: string) => string\n\nexport interface PrettyPrintLoggerHandlerOptions {\n\tlogLevel: LogLevel\n\tformatters: {\n\t\t[key: string]: (\n\t\t\targs: { value: any; formattedValue: string; key: string; style: LogTextStyler; attributes: LoggerAttributes },\n\t\t) => undefined | string | { line: string }\n\t}\n}\n\n// Same detection as in @contember/cli-common colors.ts (logger cannot depend on it); keep them in sync.\nconst detectColorSupport = (): boolean => {\n\tconst forceColor = process.env.FORCE_COLOR\n\tif (forceColor !== undefined) {\n\t\treturn forceColor !== '0' && forceColor !== 'false'\n\t}\n\t// hasColors() honours NO_COLOR, NODE_DISABLE_COLORS and TERM=dumb; Bun's non-TTY stdout has no hasColors.\n\tconst stdout = process.stdout\n\treturn stdout.isTTY === true && (typeof stdout.hasColors !== 'function' || stdout.hasColors())\n}\n\nconst createStyler = (colors: boolean): LogTextStyler => (styles, text) => {\n\tif (!colors) {\n\t\treturn text\n\t}\n\tconst list: readonly LogTextStyle[] = typeof styles === 'string' ? [styles] : styles\n\t// validateStream is off because the decision is ours; Bun ignores the option and Node < 22.13 lacks it.\n\treturn list.reduceRight((result, current) => styleText(current, result, { validateStream: false }), text)\n}\n\nexport class PrettyPrintLoggerHandler implements LoggerHandler {\n\tprivate readonly options: PrettyPrintLoggerHandlerOptions\n\tprivate readonly style: LogTextStyler = createStyler(detectColorSupport())\n\n\tconstructor(\n\t\tprivate readonly stream: NodeJS.WritableStream,\n\t\toptions: Partial<PrettyPrintLoggerHandlerOptions> = {},\n\t) {\n\t\tthis.options = {\n\t\t\tlogLevel: LogLevels.debug,\n\t\t\tformatters: {},\n\t\t\t...options,\n\t\t}\n\t}\n\n\tgetMinLevel(): number {\n\t\treturn this.options.logLevel.value\n\t}\n\n\thandle(entry: LogEntry) {\n\t\tif (entry.level.value < this.options.logLevel.value) {\n\t\t\treturn\n\t\t}\n\t\tconst startLength = entry.isoTime.length + 7\n\n\t\tthis.stream.write(`${this.formatTime(entry.isoTime)} ${this.formatLevel(entry.level)} `)\n\n\t\tconst indent = ' '.repeat(startLength)\n\t\tthis.stream.write(`${entry.message.replaceAll(/\\n/g, '\\n' + indent)}\\n`)\n\t\tconst allAttributes = { ...entry.loggerAttributes, ...entry.ownAttributes }\n\t\tfor (const key in allAttributes) {\n\t\t\tconst value = allAttributes[key]\n\t\t\tif (typeof key !== 'string' || value === undefined) {\n\t\t\t\tcontinue\n\t\t\t}\n\t\t\tconst formattedValue = inspect(value, {\n\t\t\t\tdepth: 5,\n\t\t\t}).replaceAll(/\\n/g, '\\n' + indent)\n\t\t\tconst formattedValue2 = this.options.formatters[key]\n\t\t\t\t? (this.options.formatters[key]({ value, key, formattedValue, style: this.style, attributes: allAttributes }))\n\t\t\t\t: formattedValue\n\t\t\tif (formattedValue2 === undefined) {\n\t\t\t\tcontinue\n\t\t\t}\n\t\t\tif (typeof formattedValue2 === 'string') {\n\t\t\t\tthis.stream.write(indent + this.style('dim', `${key}: ${formattedValue2}\\n`))\n\t\t\t} else {\n\t\t\t\tthis.stream.write(indent + formattedValue2.line + '\\n')\n\t\t\t}\n\t\t}\n\t\tif (entry.error) {\n\t\t\tthis.stream.write(inspect(entry.error).replaceAll(/^/gm, indent) + '\\n')\n\t\t}\n\t}\n\n\tprivate formatTime(date: string): string {\n\t\tconst result = date.match(/^([0-9-]+)T([0-9:]+)\\.(\\d+)Z$/)\n\t\tif (!result) {\n\t\t\treturn date\n\t\t}\n\t\treturn this.style('dim', result[1] + 'T') + result[2] + this.style('dim', '.' + result[3] + 'Z')\n\t}\n\n\tprivate formatLevel(level: LogLevel): string {\n\t\tconst levelText = `${level.name}${' '.repeat(5 - level.name.length)}`\n\t\tif (level.value <= 10) {\n\t\t\treturn this.style('dim', levelText)\n\t\t}\n\t\tif (level.value <= 20) {\n\t\t\treturn levelText\n\t\t}\n\t\treturn this.style(level.value <= 30 ? 'yellowBright' : 'redBright', levelText)\n\t}\n\n\tclose(): void {\n\t}\n}\n"],"names":["styleText","LogLevels","inspect"],"mappings":"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"}
@@ -1,13 +1,28 @@
1
- import chalk from "chalk";
2
- import { inspect } from "node:util";
1
+ import { inspect, styleText } from "node:util";
3
2
  import { LogLevels } from "../levels.js";
4
3
  var __defProp = Object.defineProperty;
5
4
  var __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
6
- var __publicField = (obj, key, value) => __defNormalProp(obj, key + "", value);
5
+ var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "symbol" ? key + "" : key, value);
6
+ const detectColorSupport = () => {
7
+ const forceColor = process.env.FORCE_COLOR;
8
+ if (forceColor !== void 0) {
9
+ return forceColor !== "0" && forceColor !== "false";
10
+ }
11
+ const stdout = process.stdout;
12
+ return stdout.isTTY === true && (typeof stdout.hasColors !== "function" || stdout.hasColors());
13
+ };
14
+ const createStyler = (colors) => (styles, text) => {
15
+ if (!colors) {
16
+ return text;
17
+ }
18
+ const list = typeof styles === "string" ? [styles] : styles;
19
+ return list.reduceRight((result, current) => styleText(current, result, { validateStream: false }), text);
20
+ };
7
21
  class PrettyPrintLoggerHandler {
8
22
  constructor(stream, options = {}) {
9
23
  this.stream = stream;
10
24
  __publicField(this, "options");
25
+ __publicField(this, "style", createStyler(detectColorSupport()));
11
26
  this.options = {
12
27
  logLevel: LogLevels.debug,
13
28
  formatters: {},
@@ -35,12 +50,12 @@ class PrettyPrintLoggerHandler {
35
50
  const formattedValue = inspect(value, {
36
51
  depth: 5
37
52
  }).replaceAll(/\n/g, "\n" + indent);
38
- const formattedValue2 = this.options.formatters[key] ? this.options.formatters[key]({ value, key, formattedValue, chalk, attributes: allAttributes }) : formattedValue;
53
+ const formattedValue2 = this.options.formatters[key] ? this.options.formatters[key]({ value, key, formattedValue, style: this.style, attributes: allAttributes }) : formattedValue;
39
54
  if (formattedValue2 === void 0) {
40
55
  continue;
41
56
  }
42
57
  if (typeof formattedValue2 === "string") {
43
- this.stream.write(indent + chalk.dim(`${key}: ${formattedValue2}
58
+ this.stream.write(indent + this.style("dim", `${key}: ${formattedValue2}
44
59
  `));
45
60
  } else {
46
61
  this.stream.write(indent + formattedValue2.line + "\n");
@@ -55,20 +70,17 @@ class PrettyPrintLoggerHandler {
55
70
  if (!result) {
56
71
  return date;
57
72
  }
58
- return chalk.dim(result[1] + "T") + result[2] + chalk.dim("." + result[3] + "Z");
73
+ return this.style("dim", result[1] + "T") + result[2] + this.style("dim", "." + result[3] + "Z");
59
74
  }
60
75
  formatLevel(level) {
61
76
  const levelText = `${level.name}${" ".repeat(5 - level.name.length)}`;
62
- let color = chalk;
63
77
  if (level.value <= 10) {
64
- color = color.dim;
65
- } else if (level.value <= 20) ;
66
- else if (level.value <= 30) {
67
- color = color.yellowBright;
68
- } else {
69
- color = color.redBright;
78
+ return this.style("dim", levelText);
79
+ }
80
+ if (level.value <= 20) {
81
+ return levelText;
70
82
  }
71
- return color(levelText);
83
+ return this.style(level.value <= 30 ? "yellowBright" : "redBright", levelText);
72
84
  }
73
85
  close() {
74
86
  }
@@ -1 +1 @@
1
- {"version":3,"file":"PrettyPrintLoggerHandler.js","sources":["../../../../../packages/logger/src/handlers/PrettyPrintLoggerHandler.ts"],"sourcesContent":["import chalk from 'chalk'\nimport { inspect } from 'node:util'\nimport { LogEntry, LoggerAttributes, LoggerHandler, LogLevel } from '../types.js'\nimport { LogLevels } from '../levels.js'\n\nexport interface PrettyPrintLoggerHandlerOptions {\n\tlogLevel: LogLevel\n\tformatters: {\n\t\t[key: string]: (\n\t\t\targs: { value: any; formattedValue: string; key: string; chalk: typeof chalk; attributes: LoggerAttributes },\n\t\t) => undefined | string | { line: string }\n\t}\n}\n\nexport class PrettyPrintLoggerHandler implements LoggerHandler {\n\tprivate readonly options: PrettyPrintLoggerHandlerOptions\n\n\tconstructor(\n\t\tprivate readonly stream: NodeJS.WritableStream,\n\t\toptions: Partial<PrettyPrintLoggerHandlerOptions> = {},\n\t) {\n\t\tthis.options = {\n\t\t\tlogLevel: LogLevels.debug,\n\t\t\tformatters: {},\n\t\t\t...options,\n\t\t}\n\t}\n\n\tgetMinLevel(): number {\n\t\treturn this.options.logLevel.value\n\t}\n\n\thandle(entry: LogEntry) {\n\t\tif (entry.level.value < this.options.logLevel.value) {\n\t\t\treturn\n\t\t}\n\t\tconst startLength = entry.isoTime.length + 7\n\n\t\tthis.stream.write(`${this.formatTime(entry.isoTime)} ${this.formatLevel(entry.level)} `)\n\n\t\tconst indent = ' '.repeat(startLength)\n\t\tthis.stream.write(`${entry.message.replaceAll(/\\n/g, '\\n' + indent)}\\n`)\n\t\tconst allAttributes = { ...entry.loggerAttributes, ...entry.ownAttributes }\n\t\tfor (const key in allAttributes) {\n\t\t\tconst value = allAttributes[key]\n\t\t\tif (typeof key !== 'string' || value === undefined) {\n\t\t\t\tcontinue\n\t\t\t}\n\t\t\tconst formattedValue = inspect(value, {\n\t\t\t\tdepth: 5,\n\t\t\t}).replaceAll(/\\n/g, '\\n' + indent)\n\t\t\tconst formattedValue2 = this.options.formatters[key]\n\t\t\t\t? (this.options.formatters[key]({ value, key, formattedValue, chalk, attributes: allAttributes }))\n\t\t\t\t: formattedValue\n\t\t\tif (formattedValue2 === undefined) {\n\t\t\t\tcontinue\n\t\t\t}\n\t\t\tif (typeof formattedValue2 === 'string') {\n\t\t\t\tthis.stream.write(indent + chalk.dim(`${key}: ${formattedValue2}\\n`))\n\t\t\t} else {\n\t\t\t\tthis.stream.write(indent + formattedValue2.line + '\\n')\n\t\t\t}\n\t\t}\n\t\tif (entry.error) {\n\t\t\tthis.stream.write(inspect(entry.error).replaceAll(/^/gm, indent) + '\\n')\n\t\t}\n\t}\n\n\tprivate formatTime(date: string): string {\n\t\tconst result = date.match(/^([0-9-]+)T([0-9:]+)\\.(\\d+)Z$/)\n\t\tif (!result) {\n\t\t\treturn date\n\t\t}\n\t\treturn chalk.dim(result[1] + 'T') + result[2] + chalk.dim('.' + result[3] + 'Z')\n\t}\n\n\tprivate formatLevel(level: LogLevel): string {\n\t\tconst levelText = `${level.name}${' '.repeat(5 - level.name.length)}`\n\t\tlet color = chalk\n\t\tif (level.value <= 10) {\n\t\t\tcolor = color.dim\n\t\t} else if (level.value <= 20) {\n\t\t\t// nothing\n\t\t} else if (level.value <= 30) {\n\t\t\tcolor = color.yellowBright\n\t\t} else {\n\t\t\tcolor = color.redBright\n\t\t}\n\t\treturn color(levelText)\n\t}\n\n\tclose(): void {\n\t}\n}\n"],"names":[],"mappings":";;;;;;AAcO,MAAM,yBAAkD;AAAA,EAG9D,YACkB,QACjB,UAAoD,IACnD;AAFgB,SAAA,SAAA;AAHlB,kBAAA,MAAiB,SAAA;AAMhB,SAAK,UAAU;AAAA,MACd,UAAU,UAAU;AAAA,MACpB,YAAY,CAAA;AAAA,MACZ,GAAG;AAAA,IAAA;AAAA,EAEL;AAAA,EAEA,cAAsB;AACrB,WAAO,KAAK,QAAQ,SAAS;AAAA,EAC9B;AAAA,EAEA,OAAO,OAAiB;AACvB,QAAI,MAAM,MAAM,QAAQ,KAAK,QAAQ,SAAS,OAAO;AACpD;AAAA,IACD;AACA,UAAM,cAAc,MAAM,QAAQ,SAAS;AAE3C,SAAK,OAAO,MAAM,GAAG,KAAK,WAAW,MAAM,OAAO,CAAC,IAAI,KAAK,YAAY,MAAM,KAAK,CAAC,GAAG;AAEvF,UAAM,SAAS,IAAI,OAAO,WAAW;AACrC,SAAK,OAAO,MAAM,GAAG,MAAM,QAAQ,WAAW,OAAO,OAAO,MAAM,CAAC;AAAA,CAAI;AACvE,UAAM,gBAAgB,EAAE,GAAG,MAAM,kBAAkB,GAAG,MAAM,cAAA;AAC5D,eAAW,OAAO,eAAe;AAChC,YAAM,QAAQ,cAAc,GAAG;AAC/B,UAAI,OAAO,QAAQ,YAAY,UAAU,QAAW;AACnD;AAAA,MACD;AACA,YAAM,iBAAiB,QAAQ,OAAO;AAAA,QACrC,OAAO;AAAA,MAAA,CACP,EAAE,WAAW,OAAO,OAAO,MAAM;AAClC,YAAM,kBAAkB,KAAK,QAAQ,WAAW,GAAG,IAC/C,KAAK,QAAQ,WAAW,GAAG,EAAE,EAAE,OAAO,KAAK,gBAAgB,OAAO,YAAY,cAAA,CAAe,IAC9F;AACH,UAAI,oBAAoB,QAAW;AAClC;AAAA,MACD;AACA,UAAI,OAAO,oBAAoB,UAAU;AACxC,aAAK,OAAO,MAAM,SAAS,MAAM,IAAI,GAAG,GAAG,KAAK,eAAe;AAAA,CAAI,CAAC;AAAA,MACrE,OAAO;AACN,aAAK,OAAO,MAAM,SAAS,gBAAgB,OAAO,IAAI;AAAA,MACvD;AAAA,IACD;AACA,QAAI,MAAM,OAAO;AAChB,WAAK,OAAO,MAAM,QAAQ,MAAM,KAAK,EAAE,WAAW,OAAO,MAAM,IAAI,IAAI;AAAA,IACxE;AAAA,EACD;AAAA,EAEQ,WAAW,MAAsB;AACxC,UAAM,SAAS,KAAK,MAAM,+BAA+B;AACzD,QAAI,CAAC,QAAQ;AACZ,aAAO;AAAA,IACR;AACA,WAAO,MAAM,IAAI,OAAO,CAAC,IAAI,GAAG,IAAI,OAAO,CAAC,IAAI,MAAM,IAAI,MAAM,OAAO,CAAC,IAAI,GAAG;AAAA,EAChF;AAAA,EAEQ,YAAY,OAAyB;AAC5C,UAAM,YAAY,GAAG,MAAM,IAAI,GAAG,IAAI,OAAO,IAAI,MAAM,KAAK,MAAM,CAAC;AACnE,QAAI,QAAQ;AACZ,QAAI,MAAM,SAAS,IAAI;AACtB,cAAQ,MAAM;AAAA,IACf,WAAW,MAAM,SAAS,GAAI;AAAA,aAEnB,MAAM,SAAS,IAAI;AAC7B,cAAQ,MAAM;AAAA,IACf,OAAO;AACN,cAAQ,MAAM;AAAA,IACf;AACA,WAAO,MAAM,SAAS;AAAA,EACvB;AAAA,EAEA,QAAc;AAAA,EACd;AACD;"}
1
+ {"version":3,"file":"PrettyPrintLoggerHandler.js","sources":["../../../../../packages/logger/src/handlers/PrettyPrintLoggerHandler.ts"],"sourcesContent":["import { inspect, styleText } from 'node:util'\nimport { LogEntry, LoggerAttributes, LoggerHandler, LogLevel } from '../types.js'\nimport { LogLevels } from '../levels.js'\n\nexport type LogTextStyle = Exclude<Parameters<typeof styleText>[0], readonly unknown[]>\n\n/** Styles `text` with the given styles (outermost first); returns it unchanged when the terminal has no colors. */\nexport type LogTextStyler = (styles: LogTextStyle | readonly LogTextStyle[], text: string) => string\n\nexport interface PrettyPrintLoggerHandlerOptions {\n\tlogLevel: LogLevel\n\tformatters: {\n\t\t[key: string]: (\n\t\t\targs: { value: any; formattedValue: string; key: string; style: LogTextStyler; attributes: LoggerAttributes },\n\t\t) => undefined | string | { line: string }\n\t}\n}\n\n// Same detection as in @contember/cli-common colors.ts (logger cannot depend on it); keep them in sync.\nconst detectColorSupport = (): boolean => {\n\tconst forceColor = process.env.FORCE_COLOR\n\tif (forceColor !== undefined) {\n\t\treturn forceColor !== '0' && forceColor !== 'false'\n\t}\n\t// hasColors() honours NO_COLOR, NODE_DISABLE_COLORS and TERM=dumb; Bun's non-TTY stdout has no hasColors.\n\tconst stdout = process.stdout\n\treturn stdout.isTTY === true && (typeof stdout.hasColors !== 'function' || stdout.hasColors())\n}\n\nconst createStyler = (colors: boolean): LogTextStyler => (styles, text) => {\n\tif (!colors) {\n\t\treturn text\n\t}\n\tconst list: readonly LogTextStyle[] = typeof styles === 'string' ? [styles] : styles\n\t// validateStream is off because the decision is ours; Bun ignores the option and Node < 22.13 lacks it.\n\treturn list.reduceRight((result, current) => styleText(current, result, { validateStream: false }), text)\n}\n\nexport class PrettyPrintLoggerHandler implements LoggerHandler {\n\tprivate readonly options: PrettyPrintLoggerHandlerOptions\n\tprivate readonly style: LogTextStyler = createStyler(detectColorSupport())\n\n\tconstructor(\n\t\tprivate readonly stream: NodeJS.WritableStream,\n\t\toptions: Partial<PrettyPrintLoggerHandlerOptions> = {},\n\t) {\n\t\tthis.options = {\n\t\t\tlogLevel: LogLevels.debug,\n\t\t\tformatters: {},\n\t\t\t...options,\n\t\t}\n\t}\n\n\tgetMinLevel(): number {\n\t\treturn this.options.logLevel.value\n\t}\n\n\thandle(entry: LogEntry) {\n\t\tif (entry.level.value < this.options.logLevel.value) {\n\t\t\treturn\n\t\t}\n\t\tconst startLength = entry.isoTime.length + 7\n\n\t\tthis.stream.write(`${this.formatTime(entry.isoTime)} ${this.formatLevel(entry.level)} `)\n\n\t\tconst indent = ' '.repeat(startLength)\n\t\tthis.stream.write(`${entry.message.replaceAll(/\\n/g, '\\n' + indent)}\\n`)\n\t\tconst allAttributes = { ...entry.loggerAttributes, ...entry.ownAttributes }\n\t\tfor (const key in allAttributes) {\n\t\t\tconst value = allAttributes[key]\n\t\t\tif (typeof key !== 'string' || value === undefined) {\n\t\t\t\tcontinue\n\t\t\t}\n\t\t\tconst formattedValue = inspect(value, {\n\t\t\t\tdepth: 5,\n\t\t\t}).replaceAll(/\\n/g, '\\n' + indent)\n\t\t\tconst formattedValue2 = this.options.formatters[key]\n\t\t\t\t? (this.options.formatters[key]({ value, key, formattedValue, style: this.style, attributes: allAttributes }))\n\t\t\t\t: formattedValue\n\t\t\tif (formattedValue2 === undefined) {\n\t\t\t\tcontinue\n\t\t\t}\n\t\t\tif (typeof formattedValue2 === 'string') {\n\t\t\t\tthis.stream.write(indent + this.style('dim', `${key}: ${formattedValue2}\\n`))\n\t\t\t} else {\n\t\t\t\tthis.stream.write(indent + formattedValue2.line + '\\n')\n\t\t\t}\n\t\t}\n\t\tif (entry.error) {\n\t\t\tthis.stream.write(inspect(entry.error).replaceAll(/^/gm, indent) + '\\n')\n\t\t}\n\t}\n\n\tprivate formatTime(date: string): string {\n\t\tconst result = date.match(/^([0-9-]+)T([0-9:]+)\\.(\\d+)Z$/)\n\t\tif (!result) {\n\t\t\treturn date\n\t\t}\n\t\treturn this.style('dim', result[1] + 'T') + result[2] + this.style('dim', '.' + result[3] + 'Z')\n\t}\n\n\tprivate formatLevel(level: LogLevel): string {\n\t\tconst levelText = `${level.name}${' '.repeat(5 - level.name.length)}`\n\t\tif (level.value <= 10) {\n\t\t\treturn this.style('dim', levelText)\n\t\t}\n\t\tif (level.value <= 20) {\n\t\t\treturn levelText\n\t\t}\n\t\treturn this.style(level.value <= 30 ? 'yellowBright' : 'redBright', levelText)\n\t}\n\n\tclose(): void {\n\t}\n}\n"],"names":[],"mappings":"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"}
@@ -1,15 +1,30 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
3
- const chalk = require("chalk");
4
3
  const node_util = require("node:util");
5
4
  const levels = require("../levels.cjs");
6
5
  var __defProp = Object.defineProperty;
7
6
  var __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
8
- var __publicField = (obj, key, value) => __defNormalProp(obj, key + "", value);
7
+ var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "symbol" ? key + "" : key, value);
8
+ const detectColorSupport = () => {
9
+ const forceColor = process.env.FORCE_COLOR;
10
+ if (forceColor !== void 0) {
11
+ return forceColor !== "0" && forceColor !== "false";
12
+ }
13
+ const stdout = process.stdout;
14
+ return stdout.isTTY === true && (typeof stdout.hasColors !== "function" || stdout.hasColors());
15
+ };
16
+ const createStyler = (colors) => (styles, text) => {
17
+ if (!colors) {
18
+ return text;
19
+ }
20
+ const list = typeof styles === "string" ? [styles] : styles;
21
+ return list.reduceRight((result, current) => node_util.styleText(current, result, { validateStream: false }), text);
22
+ };
9
23
  class PrettyPrintLoggerHandler {
10
24
  constructor(stream, options = {}) {
11
25
  this.stream = stream;
12
26
  __publicField(this, "options");
27
+ __publicField(this, "style", createStyler(detectColorSupport()));
13
28
  this.options = {
14
29
  logLevel: levels.LogLevels.debug,
15
30
  formatters: {},
@@ -37,12 +52,12 @@ class PrettyPrintLoggerHandler {
37
52
  const formattedValue = node_util.inspect(value, {
38
53
  depth: 5
39
54
  }).replaceAll(/\n/g, "\n" + indent);
40
- const formattedValue2 = this.options.formatters[key] ? this.options.formatters[key]({ value, key, formattedValue, chalk, attributes: allAttributes }) : formattedValue;
55
+ const formattedValue2 = this.options.formatters[key] ? this.options.formatters[key]({ value, key, formattedValue, style: this.style, attributes: allAttributes }) : formattedValue;
41
56
  if (formattedValue2 === void 0) {
42
57
  continue;
43
58
  }
44
59
  if (typeof formattedValue2 === "string") {
45
- this.stream.write(indent + chalk.dim(`${key}: ${formattedValue2}
60
+ this.stream.write(indent + this.style("dim", `${key}: ${formattedValue2}
46
61
  `));
47
62
  } else {
48
63
  this.stream.write(indent + formattedValue2.line + "\n");
@@ -57,20 +72,17 @@ class PrettyPrintLoggerHandler {
57
72
  if (!result) {
58
73
  return date;
59
74
  }
60
- return chalk.dim(result[1] + "T") + result[2] + chalk.dim("." + result[3] + "Z");
75
+ return this.style("dim", result[1] + "T") + result[2] + this.style("dim", "." + result[3] + "Z");
61
76
  }
62
77
  formatLevel(level) {
63
78
  const levelText = `${level.name}${" ".repeat(5 - level.name.length)}`;
64
- let color = chalk;
65
79
  if (level.value <= 10) {
66
- color = color.dim;
67
- } else if (level.value <= 20) ;
68
- else if (level.value <= 30) {
69
- color = color.yellowBright;
70
- } else {
71
- color = color.redBright;
80
+ return this.style("dim", levelText);
81
+ }
82
+ if (level.value <= 20) {
83
+ return levelText;
72
84
  }
73
- return color(levelText);
85
+ return this.style(level.value <= 30 ? "yellowBright" : "redBright", levelText);
74
86
  }
75
87
  close() {
76
88
  }
@@ -1 +1 @@
1
- {"version":3,"file":"PrettyPrintLoggerHandler.cjs","sources":["../../../../../packages/logger/src/handlers/PrettyPrintLoggerHandler.ts"],"sourcesContent":["import chalk from 'chalk'\nimport { inspect } from 'node:util'\nimport { LogEntry, LoggerAttributes, LoggerHandler, LogLevel } from '../types.js'\nimport { LogLevels } from '../levels.js'\n\nexport interface PrettyPrintLoggerHandlerOptions {\n\tlogLevel: LogLevel\n\tformatters: {\n\t\t[key: string]: (\n\t\t\targs: { value: any; formattedValue: string; key: string; chalk: typeof chalk; attributes: LoggerAttributes },\n\t\t) => undefined | string | { line: string }\n\t}\n}\n\nexport class PrettyPrintLoggerHandler implements LoggerHandler {\n\tprivate readonly options: PrettyPrintLoggerHandlerOptions\n\n\tconstructor(\n\t\tprivate readonly stream: NodeJS.WritableStream,\n\t\toptions: Partial<PrettyPrintLoggerHandlerOptions> = {},\n\t) {\n\t\tthis.options = {\n\t\t\tlogLevel: LogLevels.debug,\n\t\t\tformatters: {},\n\t\t\t...options,\n\t\t}\n\t}\n\n\tgetMinLevel(): number {\n\t\treturn this.options.logLevel.value\n\t}\n\n\thandle(entry: LogEntry) {\n\t\tif (entry.level.value < this.options.logLevel.value) {\n\t\t\treturn\n\t\t}\n\t\tconst startLength = entry.isoTime.length + 7\n\n\t\tthis.stream.write(`${this.formatTime(entry.isoTime)} ${this.formatLevel(entry.level)} `)\n\n\t\tconst indent = ' '.repeat(startLength)\n\t\tthis.stream.write(`${entry.message.replaceAll(/\\n/g, '\\n' + indent)}\\n`)\n\t\tconst allAttributes = { ...entry.loggerAttributes, ...entry.ownAttributes }\n\t\tfor (const key in allAttributes) {\n\t\t\tconst value = allAttributes[key]\n\t\t\tif (typeof key !== 'string' || value === undefined) {\n\t\t\t\tcontinue\n\t\t\t}\n\t\t\tconst formattedValue = inspect(value, {\n\t\t\t\tdepth: 5,\n\t\t\t}).replaceAll(/\\n/g, '\\n' + indent)\n\t\t\tconst formattedValue2 = this.options.formatters[key]\n\t\t\t\t? (this.options.formatters[key]({ value, key, formattedValue, chalk, attributes: allAttributes }))\n\t\t\t\t: formattedValue\n\t\t\tif (formattedValue2 === undefined) {\n\t\t\t\tcontinue\n\t\t\t}\n\t\t\tif (typeof formattedValue2 === 'string') {\n\t\t\t\tthis.stream.write(indent + chalk.dim(`${key}: ${formattedValue2}\\n`))\n\t\t\t} else {\n\t\t\t\tthis.stream.write(indent + formattedValue2.line + '\\n')\n\t\t\t}\n\t\t}\n\t\tif (entry.error) {\n\t\t\tthis.stream.write(inspect(entry.error).replaceAll(/^/gm, indent) + '\\n')\n\t\t}\n\t}\n\n\tprivate formatTime(date: string): string {\n\t\tconst result = date.match(/^([0-9-]+)T([0-9:]+)\\.(\\d+)Z$/)\n\t\tif (!result) {\n\t\t\treturn date\n\t\t}\n\t\treturn chalk.dim(result[1] + 'T') + result[2] + chalk.dim('.' + result[3] + 'Z')\n\t}\n\n\tprivate formatLevel(level: LogLevel): string {\n\t\tconst levelText = `${level.name}${' '.repeat(5 - level.name.length)}`\n\t\tlet color = chalk\n\t\tif (level.value <= 10) {\n\t\t\tcolor = color.dim\n\t\t} else if (level.value <= 20) {\n\t\t\t// nothing\n\t\t} else if (level.value <= 30) {\n\t\t\tcolor = color.yellowBright\n\t\t} else {\n\t\t\tcolor = color.redBright\n\t\t}\n\t\treturn color(levelText)\n\t}\n\n\tclose(): void {\n\t}\n}\n"],"names":["LogLevels","inspect"],"mappings":";;;;;;;;AAcO,MAAM,yBAAkD;AAAA,EAG9D,YACkB,QACjB,UAAoD,IACnD;AAFgB,SAAA,SAAA;AAHlB,kBAAA,MAAiB,SAAA;AAMhB,SAAK,UAAU;AAAA,MACd,UAAUA,OAAAA,UAAU;AAAA,MACpB,YAAY,CAAA;AAAA,MACZ,GAAG;AAAA,IAAA;AAAA,EAEL;AAAA,EAEA,cAAsB;AACrB,WAAO,KAAK,QAAQ,SAAS;AAAA,EAC9B;AAAA,EAEA,OAAO,OAAiB;AACvB,QAAI,MAAM,MAAM,QAAQ,KAAK,QAAQ,SAAS,OAAO;AACpD;AAAA,IACD;AACA,UAAM,cAAc,MAAM,QAAQ,SAAS;AAE3C,SAAK,OAAO,MAAM,GAAG,KAAK,WAAW,MAAM,OAAO,CAAC,IAAI,KAAK,YAAY,MAAM,KAAK,CAAC,GAAG;AAEvF,UAAM,SAAS,IAAI,OAAO,WAAW;AACrC,SAAK,OAAO,MAAM,GAAG,MAAM,QAAQ,WAAW,OAAO,OAAO,MAAM,CAAC;AAAA,CAAI;AACvE,UAAM,gBAAgB,EAAE,GAAG,MAAM,kBAAkB,GAAG,MAAM,cAAA;AAC5D,eAAW,OAAO,eAAe;AAChC,YAAM,QAAQ,cAAc,GAAG;AAC/B,UAAI,OAAO,QAAQ,YAAY,UAAU,QAAW;AACnD;AAAA,MACD;AACA,YAAM,iBAAiBC,UAAAA,QAAQ,OAAO;AAAA,QACrC,OAAO;AAAA,MAAA,CACP,EAAE,WAAW,OAAO,OAAO,MAAM;AAClC,YAAM,kBAAkB,KAAK,QAAQ,WAAW,GAAG,IAC/C,KAAK,QAAQ,WAAW,GAAG,EAAE,EAAE,OAAO,KAAK,gBAAgB,OAAO,YAAY,cAAA,CAAe,IAC9F;AACH,UAAI,oBAAoB,QAAW;AAClC;AAAA,MACD;AACA,UAAI,OAAO,oBAAoB,UAAU;AACxC,aAAK,OAAO,MAAM,SAAS,MAAM,IAAI,GAAG,GAAG,KAAK,eAAe;AAAA,CAAI,CAAC;AAAA,MACrE,OAAO;AACN,aAAK,OAAO,MAAM,SAAS,gBAAgB,OAAO,IAAI;AAAA,MACvD;AAAA,IACD;AACA,QAAI,MAAM,OAAO;AAChB,WAAK,OAAO,MAAMA,UAAAA,QAAQ,MAAM,KAAK,EAAE,WAAW,OAAO,MAAM,IAAI,IAAI;AAAA,IACxE;AAAA,EACD;AAAA,EAEQ,WAAW,MAAsB;AACxC,UAAM,SAAS,KAAK,MAAM,+BAA+B;AACzD,QAAI,CAAC,QAAQ;AACZ,aAAO;AAAA,IACR;AACA,WAAO,MAAM,IAAI,OAAO,CAAC,IAAI,GAAG,IAAI,OAAO,CAAC,IAAI,MAAM,IAAI,MAAM,OAAO,CAAC,IAAI,GAAG;AAAA,EAChF;AAAA,EAEQ,YAAY,OAAyB;AAC5C,UAAM,YAAY,GAAG,MAAM,IAAI,GAAG,IAAI,OAAO,IAAI,MAAM,KAAK,MAAM,CAAC;AACnE,QAAI,QAAQ;AACZ,QAAI,MAAM,SAAS,IAAI;AACtB,cAAQ,MAAM;AAAA,IACf,WAAW,MAAM,SAAS,GAAI;AAAA,aAEnB,MAAM,SAAS,IAAI;AAC7B,cAAQ,MAAM;AAAA,IACf,OAAO;AACN,cAAQ,MAAM;AAAA,IACf;AACA,WAAO,MAAM,SAAS;AAAA,EACvB;AAAA,EAEA,QAAc;AAAA,EACd;AACD;;"}
1
+ {"version":3,"file":"PrettyPrintLoggerHandler.cjs","sources":["../../../../../packages/logger/src/handlers/PrettyPrintLoggerHandler.ts"],"sourcesContent":["import { inspect, styleText } from 'node:util'\nimport { LogEntry, LoggerAttributes, LoggerHandler, LogLevel } from '../types.js'\nimport { LogLevels } from '../levels.js'\n\nexport type LogTextStyle = Exclude<Parameters<typeof styleText>[0], readonly unknown[]>\n\n/** Styles `text` with the given styles (outermost first); returns it unchanged when the terminal has no colors. */\nexport type LogTextStyler = (styles: LogTextStyle | readonly LogTextStyle[], text: string) => string\n\nexport interface PrettyPrintLoggerHandlerOptions {\n\tlogLevel: LogLevel\n\tformatters: {\n\t\t[key: string]: (\n\t\t\targs: { value: any; formattedValue: string; key: string; style: LogTextStyler; attributes: LoggerAttributes },\n\t\t) => undefined | string | { line: string }\n\t}\n}\n\n// Same detection as in @contember/cli-common colors.ts (logger cannot depend on it); keep them in sync.\nconst detectColorSupport = (): boolean => {\n\tconst forceColor = process.env.FORCE_COLOR\n\tif (forceColor !== undefined) {\n\t\treturn forceColor !== '0' && forceColor !== 'false'\n\t}\n\t// hasColors() honours NO_COLOR, NODE_DISABLE_COLORS and TERM=dumb; Bun's non-TTY stdout has no hasColors.\n\tconst stdout = process.stdout\n\treturn stdout.isTTY === true && (typeof stdout.hasColors !== 'function' || stdout.hasColors())\n}\n\nconst createStyler = (colors: boolean): LogTextStyler => (styles, text) => {\n\tif (!colors) {\n\t\treturn text\n\t}\n\tconst list: readonly LogTextStyle[] = typeof styles === 'string' ? [styles] : styles\n\t// validateStream is off because the decision is ours; Bun ignores the option and Node < 22.13 lacks it.\n\treturn list.reduceRight((result, current) => styleText(current, result, { validateStream: false }), text)\n}\n\nexport class PrettyPrintLoggerHandler implements LoggerHandler {\n\tprivate readonly options: PrettyPrintLoggerHandlerOptions\n\tprivate readonly style: LogTextStyler = createStyler(detectColorSupport())\n\n\tconstructor(\n\t\tprivate readonly stream: NodeJS.WritableStream,\n\t\toptions: Partial<PrettyPrintLoggerHandlerOptions> = {},\n\t) {\n\t\tthis.options = {\n\t\t\tlogLevel: LogLevels.debug,\n\t\t\tformatters: {},\n\t\t\t...options,\n\t\t}\n\t}\n\n\tgetMinLevel(): number {\n\t\treturn this.options.logLevel.value\n\t}\n\n\thandle(entry: LogEntry) {\n\t\tif (entry.level.value < this.options.logLevel.value) {\n\t\t\treturn\n\t\t}\n\t\tconst startLength = entry.isoTime.length + 7\n\n\t\tthis.stream.write(`${this.formatTime(entry.isoTime)} ${this.formatLevel(entry.level)} `)\n\n\t\tconst indent = ' '.repeat(startLength)\n\t\tthis.stream.write(`${entry.message.replaceAll(/\\n/g, '\\n' + indent)}\\n`)\n\t\tconst allAttributes = { ...entry.loggerAttributes, ...entry.ownAttributes }\n\t\tfor (const key in allAttributes) {\n\t\t\tconst value = allAttributes[key]\n\t\t\tif (typeof key !== 'string' || value === undefined) {\n\t\t\t\tcontinue\n\t\t\t}\n\t\t\tconst formattedValue = inspect(value, {\n\t\t\t\tdepth: 5,\n\t\t\t}).replaceAll(/\\n/g, '\\n' + indent)\n\t\t\tconst formattedValue2 = this.options.formatters[key]\n\t\t\t\t? (this.options.formatters[key]({ value, key, formattedValue, style: this.style, attributes: allAttributes }))\n\t\t\t\t: formattedValue\n\t\t\tif (formattedValue2 === undefined) {\n\t\t\t\tcontinue\n\t\t\t}\n\t\t\tif (typeof formattedValue2 === 'string') {\n\t\t\t\tthis.stream.write(indent + this.style('dim', `${key}: ${formattedValue2}\\n`))\n\t\t\t} else {\n\t\t\t\tthis.stream.write(indent + formattedValue2.line + '\\n')\n\t\t\t}\n\t\t}\n\t\tif (entry.error) {\n\t\t\tthis.stream.write(inspect(entry.error).replaceAll(/^/gm, indent) + '\\n')\n\t\t}\n\t}\n\n\tprivate formatTime(date: string): string {\n\t\tconst result = date.match(/^([0-9-]+)T([0-9:]+)\\.(\\d+)Z$/)\n\t\tif (!result) {\n\t\t\treturn date\n\t\t}\n\t\treturn this.style('dim', result[1] + 'T') + result[2] + this.style('dim', '.' + result[3] + 'Z')\n\t}\n\n\tprivate formatLevel(level: LogLevel): string {\n\t\tconst levelText = `${level.name}${' '.repeat(5 - level.name.length)}`\n\t\tif (level.value <= 10) {\n\t\t\treturn this.style('dim', levelText)\n\t\t}\n\t\tif (level.value <= 20) {\n\t\t\treturn levelText\n\t\t}\n\t\treturn this.style(level.value <= 30 ? 'yellowBright' : 'redBright', levelText)\n\t}\n\n\tclose(): void {\n\t}\n}\n"],"names":["styleText","LogLevels","inspect"],"mappings":"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"}
@@ -1,13 +1,28 @@
1
- import chalk from "chalk";
2
- import { inspect } from "node:util";
1
+ import { inspect, styleText } from "node:util";
3
2
  import { LogLevels } from "../levels.js";
4
3
  var __defProp = Object.defineProperty;
5
4
  var __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
6
- var __publicField = (obj, key, value) => __defNormalProp(obj, key + "", value);
5
+ var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "symbol" ? key + "" : key, value);
6
+ const detectColorSupport = () => {
7
+ const forceColor = process.env.FORCE_COLOR;
8
+ if (forceColor !== void 0) {
9
+ return forceColor !== "0" && forceColor !== "false";
10
+ }
11
+ const stdout = process.stdout;
12
+ return stdout.isTTY === true && (typeof stdout.hasColors !== "function" || stdout.hasColors());
13
+ };
14
+ const createStyler = (colors) => (styles, text) => {
15
+ if (!colors) {
16
+ return text;
17
+ }
18
+ const list = typeof styles === "string" ? [styles] : styles;
19
+ return list.reduceRight((result, current) => styleText(current, result, { validateStream: false }), text);
20
+ };
7
21
  class PrettyPrintLoggerHandler {
8
22
  constructor(stream, options = {}) {
9
23
  this.stream = stream;
10
24
  __publicField(this, "options");
25
+ __publicField(this, "style", createStyler(detectColorSupport()));
11
26
  this.options = {
12
27
  logLevel: LogLevels.debug,
13
28
  formatters: {},
@@ -35,12 +50,12 @@ class PrettyPrintLoggerHandler {
35
50
  const formattedValue = inspect(value, {
36
51
  depth: 5
37
52
  }).replaceAll(/\n/g, "\n" + indent);
38
- const formattedValue2 = this.options.formatters[key] ? this.options.formatters[key]({ value, key, formattedValue, chalk, attributes: allAttributes }) : formattedValue;
53
+ const formattedValue2 = this.options.formatters[key] ? this.options.formatters[key]({ value, key, formattedValue, style: this.style, attributes: allAttributes }) : formattedValue;
39
54
  if (formattedValue2 === void 0) {
40
55
  continue;
41
56
  }
42
57
  if (typeof formattedValue2 === "string") {
43
- this.stream.write(indent + chalk.dim(`${key}: ${formattedValue2}
58
+ this.stream.write(indent + this.style("dim", `${key}: ${formattedValue2}
44
59
  `));
45
60
  } else {
46
61
  this.stream.write(indent + formattedValue2.line + "\n");
@@ -55,20 +70,17 @@ class PrettyPrintLoggerHandler {
55
70
  if (!result) {
56
71
  return date;
57
72
  }
58
- return chalk.dim(result[1] + "T") + result[2] + chalk.dim("." + result[3] + "Z");
73
+ return this.style("dim", result[1] + "T") + result[2] + this.style("dim", "." + result[3] + "Z");
59
74
  }
60
75
  formatLevel(level) {
61
76
  const levelText = `${level.name}${" ".repeat(5 - level.name.length)}`;
62
- let color = chalk;
63
77
  if (level.value <= 10) {
64
- color = color.dim;
65
- } else if (level.value <= 20) ;
66
- else if (level.value <= 30) {
67
- color = color.yellowBright;
68
- } else {
69
- color = color.redBright;
78
+ return this.style("dim", levelText);
79
+ }
80
+ if (level.value <= 20) {
81
+ return levelText;
70
82
  }
71
- return color(levelText);
83
+ return this.style(level.value <= 30 ? "yellowBright" : "redBright", levelText);
72
84
  }
73
85
  close() {
74
86
  }
@@ -1 +1 @@
1
- {"version":3,"file":"PrettyPrintLoggerHandler.js","sources":["../../../../../packages/logger/src/handlers/PrettyPrintLoggerHandler.ts"],"sourcesContent":["import chalk from 'chalk'\nimport { inspect } from 'node:util'\nimport { LogEntry, LoggerAttributes, LoggerHandler, LogLevel } from '../types.js'\nimport { LogLevels } from '../levels.js'\n\nexport interface PrettyPrintLoggerHandlerOptions {\n\tlogLevel: LogLevel\n\tformatters: {\n\t\t[key: string]: (\n\t\t\targs: { value: any; formattedValue: string; key: string; chalk: typeof chalk; attributes: LoggerAttributes },\n\t\t) => undefined | string | { line: string }\n\t}\n}\n\nexport class PrettyPrintLoggerHandler implements LoggerHandler {\n\tprivate readonly options: PrettyPrintLoggerHandlerOptions\n\n\tconstructor(\n\t\tprivate readonly stream: NodeJS.WritableStream,\n\t\toptions: Partial<PrettyPrintLoggerHandlerOptions> = {},\n\t) {\n\t\tthis.options = {\n\t\t\tlogLevel: LogLevels.debug,\n\t\t\tformatters: {},\n\t\t\t...options,\n\t\t}\n\t}\n\n\tgetMinLevel(): number {\n\t\treturn this.options.logLevel.value\n\t}\n\n\thandle(entry: LogEntry) {\n\t\tif (entry.level.value < this.options.logLevel.value) {\n\t\t\treturn\n\t\t}\n\t\tconst startLength = entry.isoTime.length + 7\n\n\t\tthis.stream.write(`${this.formatTime(entry.isoTime)} ${this.formatLevel(entry.level)} `)\n\n\t\tconst indent = ' '.repeat(startLength)\n\t\tthis.stream.write(`${entry.message.replaceAll(/\\n/g, '\\n' + indent)}\\n`)\n\t\tconst allAttributes = { ...entry.loggerAttributes, ...entry.ownAttributes }\n\t\tfor (const key in allAttributes) {\n\t\t\tconst value = allAttributes[key]\n\t\t\tif (typeof key !== 'string' || value === undefined) {\n\t\t\t\tcontinue\n\t\t\t}\n\t\t\tconst formattedValue = inspect(value, {\n\t\t\t\tdepth: 5,\n\t\t\t}).replaceAll(/\\n/g, '\\n' + indent)\n\t\t\tconst formattedValue2 = this.options.formatters[key]\n\t\t\t\t? (this.options.formatters[key]({ value, key, formattedValue, chalk, attributes: allAttributes }))\n\t\t\t\t: formattedValue\n\t\t\tif (formattedValue2 === undefined) {\n\t\t\t\tcontinue\n\t\t\t}\n\t\t\tif (typeof formattedValue2 === 'string') {\n\t\t\t\tthis.stream.write(indent + chalk.dim(`${key}: ${formattedValue2}\\n`))\n\t\t\t} else {\n\t\t\t\tthis.stream.write(indent + formattedValue2.line + '\\n')\n\t\t\t}\n\t\t}\n\t\tif (entry.error) {\n\t\t\tthis.stream.write(inspect(entry.error).replaceAll(/^/gm, indent) + '\\n')\n\t\t}\n\t}\n\n\tprivate formatTime(date: string): string {\n\t\tconst result = date.match(/^([0-9-]+)T([0-9:]+)\\.(\\d+)Z$/)\n\t\tif (!result) {\n\t\t\treturn date\n\t\t}\n\t\treturn chalk.dim(result[1] + 'T') + result[2] + chalk.dim('.' + result[3] + 'Z')\n\t}\n\n\tprivate formatLevel(level: LogLevel): string {\n\t\tconst levelText = `${level.name}${' '.repeat(5 - level.name.length)}`\n\t\tlet color = chalk\n\t\tif (level.value <= 10) {\n\t\t\tcolor = color.dim\n\t\t} else if (level.value <= 20) {\n\t\t\t// nothing\n\t\t} else if (level.value <= 30) {\n\t\t\tcolor = color.yellowBright\n\t\t} else {\n\t\t\tcolor = color.redBright\n\t\t}\n\t\treturn color(levelText)\n\t}\n\n\tclose(): void {\n\t}\n}\n"],"names":[],"mappings":";;;;;;AAcO,MAAM,yBAAkD;AAAA,EAG9D,YACkB,QACjB,UAAoD,IACnD;AAFgB,SAAA,SAAA;AAHlB,kBAAA,MAAiB,SAAA;AAMhB,SAAK,UAAU;AAAA,MACd,UAAU,UAAU;AAAA,MACpB,YAAY,CAAA;AAAA,MACZ,GAAG;AAAA,IAAA;AAAA,EAEL;AAAA,EAEA,cAAsB;AACrB,WAAO,KAAK,QAAQ,SAAS;AAAA,EAC9B;AAAA,EAEA,OAAO,OAAiB;AACvB,QAAI,MAAM,MAAM,QAAQ,KAAK,QAAQ,SAAS,OAAO;AACpD;AAAA,IACD;AACA,UAAM,cAAc,MAAM,QAAQ,SAAS;AAE3C,SAAK,OAAO,MAAM,GAAG,KAAK,WAAW,MAAM,OAAO,CAAC,IAAI,KAAK,YAAY,MAAM,KAAK,CAAC,GAAG;AAEvF,UAAM,SAAS,IAAI,OAAO,WAAW;AACrC,SAAK,OAAO,MAAM,GAAG,MAAM,QAAQ,WAAW,OAAO,OAAO,MAAM,CAAC;AAAA,CAAI;AACvE,UAAM,gBAAgB,EAAE,GAAG,MAAM,kBAAkB,GAAG,MAAM,cAAA;AAC5D,eAAW,OAAO,eAAe;AAChC,YAAM,QAAQ,cAAc,GAAG;AAC/B,UAAI,OAAO,QAAQ,YAAY,UAAU,QAAW;AACnD;AAAA,MACD;AACA,YAAM,iBAAiB,QAAQ,OAAO;AAAA,QACrC,OAAO;AAAA,MAAA,CACP,EAAE,WAAW,OAAO,OAAO,MAAM;AAClC,YAAM,kBAAkB,KAAK,QAAQ,WAAW,GAAG,IAC/C,KAAK,QAAQ,WAAW,GAAG,EAAE,EAAE,OAAO,KAAK,gBAAgB,OAAO,YAAY,cAAA,CAAe,IAC9F;AACH,UAAI,oBAAoB,QAAW;AAClC;AAAA,MACD;AACA,UAAI,OAAO,oBAAoB,UAAU;AACxC,aAAK,OAAO,MAAM,SAAS,MAAM,IAAI,GAAG,GAAG,KAAK,eAAe;AAAA,CAAI,CAAC;AAAA,MACrE,OAAO;AACN,aAAK,OAAO,MAAM,SAAS,gBAAgB,OAAO,IAAI;AAAA,MACvD;AAAA,IACD;AACA,QAAI,MAAM,OAAO;AAChB,WAAK,OAAO,MAAM,QAAQ,MAAM,KAAK,EAAE,WAAW,OAAO,MAAM,IAAI,IAAI;AAAA,IACxE;AAAA,EACD;AAAA,EAEQ,WAAW,MAAsB;AACxC,UAAM,SAAS,KAAK,MAAM,+BAA+B;AACzD,QAAI,CAAC,QAAQ;AACZ,aAAO;AAAA,IACR;AACA,WAAO,MAAM,IAAI,OAAO,CAAC,IAAI,GAAG,IAAI,OAAO,CAAC,IAAI,MAAM,IAAI,MAAM,OAAO,CAAC,IAAI,GAAG;AAAA,EAChF;AAAA,EAEQ,YAAY,OAAyB;AAC5C,UAAM,YAAY,GAAG,MAAM,IAAI,GAAG,IAAI,OAAO,IAAI,MAAM,KAAK,MAAM,CAAC;AACnE,QAAI,QAAQ;AACZ,QAAI,MAAM,SAAS,IAAI;AACtB,cAAQ,MAAM;AAAA,IACf,WAAW,MAAM,SAAS,GAAI;AAAA,aAEnB,MAAM,SAAS,IAAI;AAC7B,cAAQ,MAAM;AAAA,IACf,OAAO;AACN,cAAQ,MAAM;AAAA,IACf;AACA,WAAO,MAAM,SAAS;AAAA,EACvB;AAAA,EAEA,QAAc;AAAA,EACd;AACD;"}
1
+ {"version":3,"file":"PrettyPrintLoggerHandler.js","sources":["../../../../../packages/logger/src/handlers/PrettyPrintLoggerHandler.ts"],"sourcesContent":["import { inspect, styleText } from 'node:util'\nimport { LogEntry, LoggerAttributes, LoggerHandler, LogLevel } from '../types.js'\nimport { LogLevels } from '../levels.js'\n\nexport type LogTextStyle = Exclude<Parameters<typeof styleText>[0], readonly unknown[]>\n\n/** Styles `text` with the given styles (outermost first); returns it unchanged when the terminal has no colors. */\nexport type LogTextStyler = (styles: LogTextStyle | readonly LogTextStyle[], text: string) => string\n\nexport interface PrettyPrintLoggerHandlerOptions {\n\tlogLevel: LogLevel\n\tformatters: {\n\t\t[key: string]: (\n\t\t\targs: { value: any; formattedValue: string; key: string; style: LogTextStyler; attributes: LoggerAttributes },\n\t\t) => undefined | string | { line: string }\n\t}\n}\n\n// Same detection as in @contember/cli-common colors.ts (logger cannot depend on it); keep them in sync.\nconst detectColorSupport = (): boolean => {\n\tconst forceColor = process.env.FORCE_COLOR\n\tif (forceColor !== undefined) {\n\t\treturn forceColor !== '0' && forceColor !== 'false'\n\t}\n\t// hasColors() honours NO_COLOR, NODE_DISABLE_COLORS and TERM=dumb; Bun's non-TTY stdout has no hasColors.\n\tconst stdout = process.stdout\n\treturn stdout.isTTY === true && (typeof stdout.hasColors !== 'function' || stdout.hasColors())\n}\n\nconst createStyler = (colors: boolean): LogTextStyler => (styles, text) => {\n\tif (!colors) {\n\t\treturn text\n\t}\n\tconst list: readonly LogTextStyle[] = typeof styles === 'string' ? [styles] : styles\n\t// validateStream is off because the decision is ours; Bun ignores the option and Node < 22.13 lacks it.\n\treturn list.reduceRight((result, current) => styleText(current, result, { validateStream: false }), text)\n}\n\nexport class PrettyPrintLoggerHandler implements LoggerHandler {\n\tprivate readonly options: PrettyPrintLoggerHandlerOptions\n\tprivate readonly style: LogTextStyler = createStyler(detectColorSupport())\n\n\tconstructor(\n\t\tprivate readonly stream: NodeJS.WritableStream,\n\t\toptions: Partial<PrettyPrintLoggerHandlerOptions> = {},\n\t) {\n\t\tthis.options = {\n\t\t\tlogLevel: LogLevels.debug,\n\t\t\tformatters: {},\n\t\t\t...options,\n\t\t}\n\t}\n\n\tgetMinLevel(): number {\n\t\treturn this.options.logLevel.value\n\t}\n\n\thandle(entry: LogEntry) {\n\t\tif (entry.level.value < this.options.logLevel.value) {\n\t\t\treturn\n\t\t}\n\t\tconst startLength = entry.isoTime.length + 7\n\n\t\tthis.stream.write(`${this.formatTime(entry.isoTime)} ${this.formatLevel(entry.level)} `)\n\n\t\tconst indent = ' '.repeat(startLength)\n\t\tthis.stream.write(`${entry.message.replaceAll(/\\n/g, '\\n' + indent)}\\n`)\n\t\tconst allAttributes = { ...entry.loggerAttributes, ...entry.ownAttributes }\n\t\tfor (const key in allAttributes) {\n\t\t\tconst value = allAttributes[key]\n\t\t\tif (typeof key !== 'string' || value === undefined) {\n\t\t\t\tcontinue\n\t\t\t}\n\t\t\tconst formattedValue = inspect(value, {\n\t\t\t\tdepth: 5,\n\t\t\t}).replaceAll(/\\n/g, '\\n' + indent)\n\t\t\tconst formattedValue2 = this.options.formatters[key]\n\t\t\t\t? (this.options.formatters[key]({ value, key, formattedValue, style: this.style, attributes: allAttributes }))\n\t\t\t\t: formattedValue\n\t\t\tif (formattedValue2 === undefined) {\n\t\t\t\tcontinue\n\t\t\t}\n\t\t\tif (typeof formattedValue2 === 'string') {\n\t\t\t\tthis.stream.write(indent + this.style('dim', `${key}: ${formattedValue2}\\n`))\n\t\t\t} else {\n\t\t\t\tthis.stream.write(indent + formattedValue2.line + '\\n')\n\t\t\t}\n\t\t}\n\t\tif (entry.error) {\n\t\t\tthis.stream.write(inspect(entry.error).replaceAll(/^/gm, indent) + '\\n')\n\t\t}\n\t}\n\n\tprivate formatTime(date: string): string {\n\t\tconst result = date.match(/^([0-9-]+)T([0-9:]+)\\.(\\d+)Z$/)\n\t\tif (!result) {\n\t\t\treturn date\n\t\t}\n\t\treturn this.style('dim', result[1] + 'T') + result[2] + this.style('dim', '.' + result[3] + 'Z')\n\t}\n\n\tprivate formatLevel(level: LogLevel): string {\n\t\tconst levelText = `${level.name}${' '.repeat(5 - level.name.length)}`\n\t\tif (level.value <= 10) {\n\t\t\treturn this.style('dim', levelText)\n\t\t}\n\t\tif (level.value <= 20) {\n\t\t\treturn levelText\n\t\t}\n\t\treturn this.style(level.value <= 30 ? 'yellowBright' : 'redBright', levelText)\n\t}\n\n\tclose(): void {\n\t}\n}\n"],"names":[],"mappings":"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"}
@@ -1,5 +1,8 @@
1
- import chalk from 'chalk';
1
+ import { styleText } from 'node:util';
2
2
  import { LogEntry, LoggerAttributes, LoggerHandler, LogLevel } from '../types.js';
3
+ export type LogTextStyle = Exclude<Parameters<typeof styleText>[0], readonly unknown[]>;
4
+ /** Styles `text` with the given styles (outermost first); returns it unchanged when the terminal has no colors. */
5
+ export type LogTextStyler = (styles: LogTextStyle | readonly LogTextStyle[], text: string) => string;
3
6
  export interface PrettyPrintLoggerHandlerOptions {
4
7
  logLevel: LogLevel;
5
8
  formatters: {
@@ -7,7 +10,7 @@ export interface PrettyPrintLoggerHandlerOptions {
7
10
  value: any;
8
11
  formattedValue: string;
9
12
  key: string;
10
- chalk: typeof chalk;
13
+ style: LogTextStyler;
11
14
  attributes: LoggerAttributes;
12
15
  }) => undefined | string | {
13
16
  line: string;
@@ -17,6 +20,7 @@ export interface PrettyPrintLoggerHandlerOptions {
17
20
  export declare class PrettyPrintLoggerHandler implements LoggerHandler {
18
21
  private readonly stream;
19
22
  private readonly options;
23
+ private readonly style;
20
24
  constructor(stream: NodeJS.WritableStream, options?: Partial<PrettyPrintLoggerHandlerOptions>);
21
25
  getMinLevel(): number;
22
26
  handle(entry: LogEntry): void;
@@ -1 +1 @@
1
- {"version":3,"file":"PrettyPrintLoggerHandler.d.ts","sourceRoot":"","sources":["../../../src/handlers/PrettyPrintLoggerHandler.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAA;AAEzB,OAAO,EAAE,QAAQ,EAAE,gBAAgB,EAAE,aAAa,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAA;AAGjF,MAAM,WAAW,+BAA+B;IAC/C,QAAQ,EAAE,QAAQ,CAAA;IAClB,UAAU,EAAE;QACX,CAAC,GAAG,EAAE,MAAM,GAAG,CACd,IAAI,EAAE;YAAE,KAAK,EAAE,GAAG,CAAC;YAAC,cAAc,EAAE,MAAM,CAAC;YAAC,GAAG,EAAE,MAAM,CAAC;YAAC,KAAK,EAAE,OAAO,KAAK,CAAC;YAAC,UAAU,EAAE,gBAAgB,CAAA;SAAE,KACxG,SAAS,GAAG,MAAM,GAAG;YAAE,IAAI,EAAE,MAAM,CAAA;SAAE,CAAA;KAC1C,CAAA;CACD;AAED,qBAAa,wBAAyB,YAAW,aAAa;IAI5D,OAAO,CAAC,QAAQ,CAAC,MAAM;IAHxB,OAAO,CAAC,QAAQ,CAAC,OAAO,CAAiC;IAEzD,YACkB,MAAM,EAAE,MAAM,CAAC,cAAc,EAC9C,OAAO,GAAE,OAAO,CAAC,+BAA+B,CAAM,EAOtD;IAED,WAAW,IAAI,MAAM,CAEpB;IAED,MAAM,CAAC,KAAK,EAAE,QAAQ,QAkCrB;IAED,OAAO,CAAC,UAAU;IAQlB,OAAO,CAAC,WAAW;IAenB,KAAK,IAAI,IAAI,CACZ;CACD"}
1
+ {"version":3,"file":"PrettyPrintLoggerHandler.d.ts","sourceRoot":"","sources":["../../../src/handlers/PrettyPrintLoggerHandler.ts"],"names":[],"mappings":"AAAA,OAAO,EAAW,SAAS,EAAE,MAAM,WAAW,CAAA;AAC9C,OAAO,EAAE,QAAQ,EAAE,gBAAgB,EAAE,aAAa,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAA;AAGjF,MAAM,MAAM,YAAY,GAAG,OAAO,CAAC,UAAU,CAAC,OAAO,SAAS,CAAC,CAAC,CAAC,CAAC,EAAE,SAAS,OAAO,EAAE,CAAC,CAAA;AAEvF,mHAAmH;AACnH,MAAM,MAAM,aAAa,GAAG,CAAC,MAAM,EAAE,YAAY,GAAG,SAAS,YAAY,EAAE,EAAE,IAAI,EAAE,MAAM,KAAK,MAAM,CAAA;AAEpG,MAAM,WAAW,+BAA+B;IAC/C,QAAQ,EAAE,QAAQ,CAAA;IAClB,UAAU,EAAE;QACX,CAAC,GAAG,EAAE,MAAM,GAAG,CACd,IAAI,EAAE;YAAE,KAAK,EAAE,GAAG,CAAC;YAAC,cAAc,EAAE,MAAM,CAAC;YAAC,GAAG,EAAE,MAAM,CAAC;YAAC,KAAK,EAAE,aAAa,CAAC;YAAC,UAAU,EAAE,gBAAgB,CAAA;SAAE,KACzG,SAAS,GAAG,MAAM,GAAG;YAAE,IAAI,EAAE,MAAM,CAAA;SAAE,CAAA;KAC1C,CAAA;CACD;AAsBD,qBAAa,wBAAyB,YAAW,aAAa;IAK5D,OAAO,CAAC,QAAQ,CAAC,MAAM;IAJxB,OAAO,CAAC,QAAQ,CAAC,OAAO,CAAiC;IACzD,OAAO,CAAC,QAAQ,CAAC,KAAK,CAAoD;IAE1E,YACkB,MAAM,EAAE,MAAM,CAAC,cAAc,EAC9C,OAAO,GAAE,OAAO,CAAC,+BAA+B,CAAM,EAOtD;IAED,WAAW,IAAI,MAAM,CAEpB;IAED,MAAM,CAAC,KAAK,EAAE,QAAQ,QAkCrB;IAED,OAAO,CAAC,UAAU;IAQlB,OAAO,CAAC,WAAW;IAWnB,KAAK,IAAI,IAAI,CACZ;CACD"}
@@ -1 +1 @@
1
- {"version":"7.0.1-rc","root":[[90,97],[101,104]],"fileNames":["lib.es5.d.ts","lib.es2015.d.ts","lib.es2016.d.ts","lib.es2017.d.ts","lib.es2018.d.ts","lib.es2019.d.ts","lib.es2020.d.ts","lib.es2021.d.ts","lib.es2022.d.ts","lib.es2023.d.ts","lib.es2024.d.ts","lib.es2025.d.ts","lib.esnext.d.ts","lib.dom.d.ts","lib.dom.iterable.d.ts","lib.es2015.core.d.ts","lib.es2015.collection.d.ts","lib.es2015.generator.d.ts","lib.es2015.iterable.d.ts","lib.es2015.promise.d.ts","lib.es2015.proxy.d.ts","lib.es2015.reflect.d.ts","lib.es2015.symbol.d.ts","lib.es2015.symbol.wellknown.d.ts","lib.es2016.array.include.d.ts","lib.es2016.intl.d.ts","lib.es2017.arraybuffer.d.ts","lib.es2017.date.d.ts","lib.es2017.object.d.ts","lib.es2017.sharedmemory.d.ts","lib.es2017.string.d.ts","lib.es2017.intl.d.ts","lib.es2017.typedarrays.d.ts","lib.es2018.asyncgenerator.d.ts","lib.es2018.asynciterable.d.ts","lib.es2018.intl.d.ts","lib.es2018.promise.d.ts","lib.es2018.regexp.d.ts","lib.es2019.array.d.ts","lib.es2019.object.d.ts","lib.es2019.string.d.ts","lib.es2019.symbol.d.ts","lib.es2019.intl.d.ts","lib.es2020.bigint.d.ts","lib.es2020.date.d.ts","lib.es2020.promise.d.ts","lib.es2020.sharedmemory.d.ts","lib.es2020.string.d.ts","lib.es2020.symbol.wellknown.d.ts","lib.es2020.intl.d.ts","lib.es2020.number.d.ts","lib.es2021.promise.d.ts","lib.es2021.string.d.ts","lib.es2021.weakref.d.ts","lib.es2021.intl.d.ts","lib.es2022.array.d.ts","lib.es2022.error.d.ts","lib.es2022.intl.d.ts","lib.es2022.object.d.ts","lib.es2022.string.d.ts","lib.es2022.regexp.d.ts","lib.es2023.array.d.ts","lib.es2023.collection.d.ts","lib.es2023.intl.d.ts","lib.es2024.arraybuffer.d.ts","lib.es2024.collection.d.ts","lib.es2024.object.d.ts","lib.es2024.promise.d.ts","lib.es2024.regexp.d.ts","lib.es2024.sharedmemory.d.ts","lib.es2024.string.d.ts","lib.es2025.collection.d.ts","lib.es2025.float16.d.ts","lib.es2025.intl.d.ts","lib.es2025.iterator.d.ts","lib.es2025.promise.d.ts","lib.es2025.regexp.d.ts","lib.esnext.array.d.ts","lib.esnext.collection.d.ts","lib.esnext.date.d.ts","lib.esnext.decorators.d.ts","lib.esnext.disposable.d.ts","lib.esnext.error.d.ts","lib.esnext.intl.d.ts","lib.esnext.sharedmemory.d.ts","lib.esnext.temporal.d.ts","lib.esnext.typedarrays.d.ts","lib.decorators.d.ts","lib.decorators.legacy.d.ts","../../src/levels.ts","../../src/handlers/FingerCrossedLoggerHandler.ts","../../src/types.ts","../../src/formatting.ts","../../src/handlers/LoggerHandlerList.ts","../../src/proxy.ts","../../src/impl.ts","../../src/handlers/JsonStreamLoggerHandler.ts","../../../../node_modules/chalk/source/vendor/ansi-styles/index.d.ts","../../../../node_modules/chalk/source/vendor/supports-color/index.d.ts","../../../../node_modules/chalk/source/index.d.ts","../../src/handlers/PrettyPrintLoggerHandler.ts","../../src/handlers/NullLoggerHandler.ts","../../src/handlers/TestLoggerHandler.ts","../../src/index.ts","../../../../node_modules/@types/node/compatibility/iterators.d.ts","../../../../node_modules/@types/node/globals.typedarray.d.ts","../../../../node_modules/@types/node/buffer.buffer.d.ts","../../../../node_modules/@types/node/globals.d.ts","../../../../node_modules/@types/node/web-globals/abortcontroller.d.ts","../../../../node_modules/@types/node/web-globals/crypto.d.ts","../../../../node_modules/@types/node/web-globals/domexception.d.ts","../../../../node_modules/@types/node/web-globals/events.d.ts","../../../../node_modules/buffer/index.d.ts","../../../../node_modules/undici-types/utility.d.ts","../../../../node_modules/undici-types/header.d.ts","../../../../node_modules/undici-types/readable.d.ts","../../../../node_modules/undici-types/fetch.d.ts","../../../../node_modules/undici-types/formdata.d.ts","../../../../node_modules/undici-types/connector.d.ts","../../../../node_modules/undici-types/client-stats.d.ts","../../../../node_modules/undici-types/client.d.ts","../../../../node_modules/undici-types/errors.d.ts","../../../../node_modules/undici-types/dispatcher.d.ts","../../../../node_modules/undici-types/global-dispatcher.d.ts","../../../../node_modules/undici-types/global-origin.d.ts","../../../../node_modules/undici-types/pool-stats.d.ts","../../../../node_modules/undici-types/pool.d.ts","../../../../node_modules/undici-types/handlers.d.ts","../../../../node_modules/undici-types/balanced-pool.d.ts","../../../../node_modules/undici-types/h2c-client.d.ts","../../../../node_modules/undici-types/agent.d.ts","../../../../node_modules/undici-types/mock-interceptor.d.ts","../../../../node_modules/undici-types/mock-call-history.d.ts","../../../../node_modules/undici-types/mock-agent.d.ts","../../../../node_modules/undici-types/mock-client.d.ts","../../../../node_modules/undici-types/mock-pool.d.ts","../../../../node_modules/undici-types/snapshot-agent.d.ts","../../../../node_modules/undici-types/mock-errors.d.ts","../../../../node_modules/undici-types/proxy-agent.d.ts","../../../../node_modules/undici-types/env-http-proxy-agent.d.ts","../../../../node_modules/undici-types/retry-handler.d.ts","../../../../node_modules/undici-types/retry-agent.d.ts","../../../../node_modules/undici-types/api.d.ts","../../../../node_modules/undici-types/cache-interceptor.d.ts","../../../../node_modules/undici-types/interceptors.d.ts","../../../../node_modules/undici-types/util.d.ts","../../../../node_modules/undici-types/cookies.d.ts","../../../../node_modules/undici-types/patch.d.ts","../../../../node_modules/undici-types/websocket.d.ts","../../../../node_modules/undici-types/eventsource.d.ts","../../../../node_modules/undici-types/diagnostics-channel.d.ts","../../../../node_modules/undici-types/content-type.d.ts","../../../../node_modules/undici-types/cache.d.ts","../../../../node_modules/undici-types/index.d.ts","../../../../node_modules/@types/node/web-globals/fetch.d.ts","../../../../node_modules/@types/node/web-globals/navigator.d.ts","../../../../node_modules/@types/node/web-globals/storage.d.ts","../../../../node_modules/@types/node/web-globals/streams.d.ts","../../../../node_modules/@types/node/assert.d.ts","../../../../node_modules/@types/node/assert/strict.d.ts","../../../../node_modules/@types/node/async_hooks.d.ts","../../../../node_modules/@types/node/buffer.d.ts","../../../../node_modules/@types/node/child_process.d.ts","../../../../node_modules/@types/node/cluster.d.ts","../../../../node_modules/@types/node/console.d.ts","../../../../node_modules/@types/node/constants.d.ts","../../../../node_modules/@types/node/crypto.d.ts","../../../../node_modules/@types/node/dgram.d.ts","../../../../node_modules/@types/node/diagnostics_channel.d.ts","../../../../node_modules/@types/node/dns.d.ts","../../../../node_modules/@types/node/dns/promises.d.ts","../../../../node_modules/@types/node/domain.d.ts","../../../../node_modules/@types/node/events.d.ts","../../../../node_modules/@types/node/fs.d.ts","../../../../node_modules/@types/node/fs/promises.d.ts","../../../../node_modules/@types/node/http.d.ts","../../../../node_modules/@types/node/http2.d.ts","../../../../node_modules/@types/node/https.d.ts","../../../../node_modules/@types/node/inspector.d.ts","../../../../node_modules/@types/node/inspector.generated.d.ts","../../../../node_modules/@types/node/module.d.ts","../../../../node_modules/@types/node/net.d.ts","../../../../node_modules/@types/node/os.d.ts","../../../../node_modules/@types/node/path.d.ts","../../../../node_modules/@types/node/perf_hooks.d.ts","../../../../node_modules/@types/node/process.d.ts","../../../../node_modules/@types/node/punycode.d.ts","../../../../node_modules/@types/node/querystring.d.ts","../../../../node_modules/@types/node/readline.d.ts","../../../../node_modules/@types/node/readline/promises.d.ts","../../../../node_modules/@types/node/repl.d.ts","../../../../node_modules/@types/node/sea.d.ts","../../../../node_modules/@types/node/sqlite.d.ts","../../../../node_modules/@types/node/stream.d.ts","../../../../node_modules/@types/node/stream/promises.d.ts","../../../../node_modules/@types/node/stream/consumers.d.ts","../../../../node_modules/@types/node/stream/web.d.ts","../../../../node_modules/@types/node/string_decoder.d.ts","../../../../node_modules/@types/node/test.d.ts","../../../../node_modules/@types/node/timers.d.ts","../../../../node_modules/@types/node/timers/promises.d.ts","../../../../node_modules/@types/node/tls.d.ts","../../../../node_modules/@types/node/trace_events.d.ts","../../../../node_modules/@types/node/tty.d.ts","../../../../node_modules/@types/node/url.d.ts","../../../../node_modules/@types/node/util.d.ts","../../../../node_modules/@types/node/v8.d.ts","../../../../node_modules/@types/node/vm.d.ts","../../../../node_modules/@types/node/wasi.d.ts","../../../../node_modules/@types/node/worker_threads.d.ts","../../../../node_modules/@types/node/zlib.d.ts","../../../../node_modules/@types/node/index.d.ts","../../../../node_modules/bun-types/globals.d.ts","../../../../node_modules/bun-types/s3.d.ts","../../../../node_modules/bun-types/fetch.d.ts","../../../../node_modules/bun-types/jsx.d.ts","../../../../node_modules/bun-types/bun.d.ts","../../../../node_modules/bun-types/extensions.d.ts","../../../../node_modules/bun-types/devserver.d.ts","../../../../node_modules/bun-types/ffi.d.ts","../../../../node_modules/bun-types/html-rewriter.d.ts","../../../../node_modules/bun-types/jsc.d.ts","../../../../node_modules/bun-types/sqlite.d.ts","../../../../node_modules/bun-types/vendor/expect-type/utils.d.ts","../../../../node_modules/bun-types/vendor/expect-type/overloads.d.ts","../../../../node_modules/bun-types/vendor/expect-type/branding.d.ts","../../../../node_modules/bun-types/vendor/expect-type/messages.d.ts","../../../../node_modules/bun-types/vendor/expect-type/index.d.ts","../../../../node_modules/bun-types/test.d.ts","../../../../node_modules/bun-types/wasm.d.ts","../../../../node_modules/bun-types/overrides.d.ts","../../../../node_modules/bun-types/deprecated.d.ts","../../../../node_modules/bun-types/redis.d.ts","../../../../node_modules/bun-types/shell.d.ts","../../../../node_modules/bun-types/serve.d.ts","../../../../node_modules/bun-types/sql.d.ts","../../../../node_modules/bun-types/security.d.ts","../../../../node_modules/bun-types/bundle.d.ts","../../../../node_modules/bun-types/bun.ns.d.ts","../../../../node_modules/bun-types/index.d.ts","../../../../node_modules/@types/bun/index.d.ts"],"fileInfos":[{"version":"a1aa1a5e065d48ef5c7bb99e38412f96","affectsGlobalScope":true,"impliedNodeFormat":1},"d4306fb2e47f74835e8674ffac07d76f","e437c5c1302869326c3bb93da85bbbcf","e4324975a566567b21d350615f1fc6ac","333b1b9a2a9ac3b8497dba5c63b5ba50","6cffacd662b6eb5fa7a36aa2ea366bfa","b4c34f9c23304dbef2d23698637ed638","e5cb86a5fc491796ecd1d2dd348d208f","feb6c6fb19cdb246a5d8acb36a6901c7","9443a7f109277ffaa79d893ed2549995","793cee405385076e27c24f409659dccd","09f69c6610266eaee1ac9e3e30df2c71","62bad718844246b8e17547f37bad6085",{"version":"aae8996e8b5684814785a42cbbefcd79","affectsGlobalScope":true,"impliedNodeFormat":1},"abad6dd56cc8caf095c165df8124d237",{"version":"01ac052ec4a79e87229f90466a9645f8","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"edba5df642941aa062a62f6328c6df3d","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"6344b55f26a4e81d9608777dbfb877dd","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"3c0ed28e53d3695b363e256ec1c023fd","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"4c2761daba7f17141c25baa0821ac5da","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"b87656acabd63e69379ff6ffcfe52fc7","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"597469522da047a5af5222cc6989f405","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"bb3a710cbcda0533bb127712927cbe37","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"55d97a8c6fbf34a30450a7b1e5f7a298","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"0ee05eb59426d33e374226d8dcfa708b","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"e347c14030993906efcfbb88915b6a05","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"b0231263857c9b6a03641acdc9280ceb","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"3b15c4a83b598cacb4067676e6f0abed","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"b417d97b7934cef63b1889abec0bbfbf","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"09a6cf4032ebba60ce22a501e663f881","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"7a42de379b489e8f7b647455bebfc576","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"e22cc07e3f3cc242ba52fa3f8ea1fc58","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"2c45da767a1bfbb220848df1bc4029e4","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"b44c3e0fbaf2130cdcf6ac38b120ffa1","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"b612fb5cf8e5d964b92063a75207632a","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"02705151a5e1551b9162a9ed8ab763f7","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"41025e398be9215d32e4337335da8f0b","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"52684c2b1f353a5538e4f275182a54cd","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"6dedb6a4f90d1df3a6fbe5693e44886c","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"ca3f36fe3562c07e0f0d71c2bebd3f6d","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"409974d6129befbb8226ddd1c6558568","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"4d9cfde2a1ae1b4925f1f9bc10848e5d","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"7e1daecc66dd564144e3bb1a0266b5fd","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"a8e1d9bb35fd0637f2f9fd2b2a54f2ec","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"4f168501772a6543182765bfd5f2fbfe","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"a19c80aad1b2162103496f5ba293a732","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"b69afa63cd5d059851c78adb2856ee09","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"ae2fc5d954e9b0f5feee3d481b953c27","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"1cfd3091a071d8b6feec15277643bafe","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"692bcd75364db0f65d428801c7884466","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"a0d87491913d843139e0c993650a3235","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"4ef72aa378127e7b7abba915b0110b1e","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"3ec74c6a7d4463f0254db3a74cf75646","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"84c2bdfa470d075526cce6322d81b0b6","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"0b3844c2b8c73e4e1ab91431411cad11","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"4fc71cf4a15b8d99675a31df77f26e07","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"d1b49564ddaeca3df5b6dbae925d2242","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"6a25be566d60ccfc2d6e8b7bfdeefa83","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"8a20e27646985dfd58c57ca6566553dd","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"9969f02ad3cdcbf4f709405cda44167f","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"9c9be4792a7a4f42c15ae7360bf28779","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"8cf777fe00349b71ee9c4b6f3fe7fd19","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"74f96bc192530c9723f572bfff3d3078","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"1df91c56b25955c56387426f378173c5","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"38856f70edcd2115c355d96ec77cc09e","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"de8700156c1275465bcd473c28b359aa","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"d47cfdb6ede40518357bb5a4cd7cd9fb","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"6e5773860cd9e5b15e683113f642ab47","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"30ff5fe1682f7fcd629880476ca3c2e0","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"bf23d7d1b40b9015b694ddc2f011752f","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"2cc585d42e2c548f9f24a30a1989fd33","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"713906ce9d332d2242b7f05ed9304be3","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"0219894bfe5042c7e1aa2d22e4a91ed0","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"6009ffff7e43c93318804d2d28e37fe3","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"03be89b227587594fbb50509fc1c2e45","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"b30df52dc24740c0bad7c55c3511df7d","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"ab8d3c9b5ed5c2ab8f383607eef439f0","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"d950ec671d0a8e07f3c1a31e94abed86","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"1abef2ace5eccb02d60dd73cd5a5ee4c","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"f5f0a3044029d1cc081b5887eb4deb07","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"d57c697f1446940ec4bfe669c962e2c4","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"be41035d7b941482a1e1ae6a5c5dcca5","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"10f7d9da7564f27f8ddf4a162b6da6d3","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"1d0520af549e0c3581f15173cc713ca1","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"d65083f97fd741cff028472563eddb79","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"da7f24f00653ebac660ac1c0821ed33d","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"7cb5ae9e65516ea2235f0721f6aac43c","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"f64453cbf9671f28158677fa5c43967a","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"33f317af5428801f944a478d2c1e38e5","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"b1ef14e2aba631791b08870a8b90e26b","signature":"6360adf29ce1b0e026f7b396f1759839","impliedNodeFormat":1},{"version":"366d2aed64e6e5f929845472da2c2550","signature":"f0ad4738daed6b9a9ab2957514c1e621","impliedNodeFormat":1},{"version":"a16b6e695e6fb262fc62e0a70cd257e7","signature":"c9d592861dde35e122b95ca8069c26c0","impliedNodeFormat":1},{"version":"515a3129188976c955d675dae4aa2bf9","signature":"50e767818450511ca88c81cc9f12181f","impliedNodeFormat":1},{"version":"6b44d2f29015130f466a456b2480a45f","signature":"68cdcba97e22481eb7623cf088091f45","impliedNodeFormat":1},{"version":"3c38e0b7d9842df37ca18ab785e91b1f","signature":"b23728a00b18b1d22afd723d8931038e","impliedNodeFormat":1},{"version":"4ef66bc69f9aa819acb498eac5c0f810","signature":"47dd356409efba2c28155cda4fd7bdd0","impliedNodeFormat":1},{"version":"1a3428645a2b680a0e16bae3b1522bb9","signature":"c2d91f9402f1f35c560ccf2e49236082","impliedNodeFormat":1},{"version":"a37fd350b6509fd0ff581ff3af3466eb","impliedNodeFormat":99},{"version":"504f4ee233c3468d53b420bc78fbaff0","impliedNodeFormat":99},{"version":"13f46a1ecb38682e78f9743987e7cd41","impliedNodeFormat":99},{"version":"b1395d1232148711111ebee7a734dcdd","signature":"839006f9a8cd72f518a951987ff94bb7","impliedNodeFormat":1},{"version":"25380554be8f3fea1a9154068eb17a81","signature":"2de5e85fdd62dc88b61f4dd22e90d80e","impliedNodeFormat":1},{"version":"7ac072b9511c9616f12a23519cca6b9d","signature":"6797883b6d60890f1d4c3f37a3db309e","impliedNodeFormat":1},{"version":"740fc43223216bbf8d40f7e0319c8675","signature":"4de29617cf853ce87cdd1f2d7efdf332","impliedNodeFormat":1},{"version":"2514e9a2749c0fc18d2f478e9e1e641e","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"6ae4c332ecb24e76c1e47c0e21d4663d","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"69ee0752d1e70c56ca160360425752a9","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"bf33440030f0a0fae7d1efd6c293a8d2","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"9af0a7e3ef1c42cd066b9f8d365cc1ba","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"7b772cebc7136c34fc77954aef70519d","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"9eca652586205dc5b07f9ba57b1c8500","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"ec5f75939754ce94652189ec7d0d3058","affectsGlobalScope":true,"impliedNodeFormat":1},"8e91e7228778516936913f666d057c19","49133c0dfbc32ab95668c3443dea49e5","85c2cf74d24d4069fac4686501a2d7e3","83f416ded62bb31c035580c3b5a8d334","d261ae135609468365bc2d32742d3e0d","60c67c092ae78d2e7858ca0a88f54659","9508c917bd7e458745e222a82dd24ef0","fcd1a513c1e5802916fa602e8b8e64bc","9cf55e98366383279869ace31be98079","8e2bc11d0328ba95e490a741c44a215d","f36661bccb8b9a0b5ccb8539ae751cb3","705645fe223430c696f47b708d592ca8","28d57c837c94adb42add03d499793cab","8c01a9bbae8449be21b3e018d59a74ac","705c3696b9d9681bf22181718bb08ffc","679024f8e9f58a112f4badf119c4d612","16f740a706028e841b09fb8b1aa8faaf","e6828eaf960f006eb1adb6e7df8913c0","6fdde11403da5129f4388a489f361535","d7e5f7a0f1f883f28458f684106e7643","c2364011a80b6a9e3cc0e77895bad577","38da5c670190f4a35cbc204ca6c616bf","d95cc0eb29beed58f5ce72db21398f53","ecd53256b1ec7379c73316eaf392a69c","db5a9211b779628398011a5b8f5b8b5d","69c7bb9c3befe9ae37eed0e6a6310fee","1cba93fafccb7b2655f0e75229185e83","094ecadae30f65a82b77343dde77a666","f75df12d75dd783b03a0329b95abdb25","b438b08b2f0ed94a95a75c8990d9021b","771a77c9bec862600c95f7a563871b5e","c665284a9cb3dd886b14663cd04742e0","1c3833453f6ed0acab1b4663ccdbd310","0468c0ccd0ec7770b76481b165564d62","188234d616a4f50ed9b14c8f84a39f33","4c116bcf0a47ea8fbf4072f380925fa7","1948703c2f27e582e0a0cc37bd67a868","add85ec26ba695fc99c698dbec065f8c","73ba12091cff7d4499df83bbe40d777b","b744265d8ad12b7d4d5c5dc35d18d44e","eff32168b8348b822afeed9cbf61afa7","af51e27e980746d79714b72188b3ee40",{"version":"dd1cf1cc3aa21cd78b4869a44d98c6d9","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"292c9398a407b33b1d9c9812b673387a","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"45df94b3c51b898624bacc2bcd6d9eb2","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"7d352f71d1b1bcc12c79dd0e4597537c","affectsGlobalScope":true,"impliedNodeFormat":1},"db11b80743ed5356b81d763a708788e6","39078ea063fcaf72bd3cca7e0d13d017","f81aa09811fa65ac6f354ab0018d3c38",{"version":"282318b178d190157a4deacb14f3040a","affectsGlobalScope":true,"impliedNodeFormat":1},"aafe512c4216100fd65028f9b2afce83","54c5c3dcfdb5f7cf5fbbccfff6ead3fa",{"version":"dc14f078230582a2f8fb2138bfcf4f85","affectsGlobalScope":true,"impliedNodeFormat":1},"b2b472cd0bf0f8d5f022e00ca1c401f4","370d966b810b687a9e58851208cb3d4c","39b3089f3df8d14e0f2ddac0479872d9","cc7a57e86f908c313649aea8d90377e1","5c271f10d8a9b9a1206bc82a4fe5b84d","fbe31979333ec391d8b59e8f42236e8e","6f97553fd1690f568365155d4c51a3b5",{"version":"a3f111d2a29b6cdd04fc4b41aa560c86","affectsGlobalScope":true,"impliedNodeFormat":1},"5f4ac576bcdc670a8489c881b23a2b17","84c4165c4499465304988f5db8d9940a","02a1ccf1ef65bfbf65865ac4ce346974","86978b8f91524043f71ff8dfaf83288b","dbe700f7f1fa52fd220c7ee2c6617ebc","579675a2c3b0f8c532a82ad9cbd5d384","9b44005377cec9487e5f0d900bc5db46",{"version":"22dcb64768a46f60b07af6ec5e7752bb","affectsGlobalScope":true,"impliedNodeFormat":1},"b59cb5a2a891b4a59040eecaa4e4fd92","c9053dbbe4fa2853f2d3f73b9a2fee81","4e458316a6083cbd2bba2fd29f674dd5",{"version":"3cccee1f2c106192d18ac4e08119f872","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"077a5affac1af2f5defdb142842fb031","affectsGlobalScope":true,"impliedNodeFormat":1},"6b26581aa2587701d570206a0db8c9ee","88a29e2aac8082c0910733950159e1ca","609d3ac6ba921e6e83c5da182c204fb8","0f80958d77cd6301b43c1d7904e3e4bc","3bdc645524ab0d2f6795d3a008833bd7","deb50b47eb75a5566532a763fa1324fa","0a463424e0a2a59373805ee224327d85","7e470eddc0bd0486dc2a8ab902de79b7","c8206d568b54e5ea06131963eecd576a","15878f4f50c2e562c0768eb735c2aed5",{"version":"98d7074a05f2d388bfaa708af5660466","affectsGlobalScope":true,"impliedNodeFormat":1},"dd404118e8bd70aff746f7d31e46270b","4b9ff1cc38cc2243605ecef78c80ef8b",{"version":"6b8649a280031d9e86955db721cfad87","affectsGlobalScope":true,"impliedNodeFormat":1},"4bc8f13c472858fb74f77388c0c5d885","eec349e50f6da0bc900cd9b243dadbc6","c72d2516d1e8910caca33c4dff75fcd4","f0231f36cb7117fbe9271ff19ef0f5f4",{"version":"acca246ee319503493a0a5f9d7db7fd8","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"1aee62839c1ac0986904f19bdb93e3d8","affectsGlobalScope":true,"impliedNodeFormat":1},"a4a335f8e124cd5346b4579b47beec32","e9bc5b1de50e48fa9857b64091673883","9268959cff1006c82e6abbd73824db97",{"version":"7f738a67dc535e5476c63bf4ff0b9759","affectsGlobalScope":true,"impliedNodeFormat":1},"6b1f3649b0eabeaca20c778fcc5f270c","eb567c7b5824aab578f75bbccf9f4b05",{"version":"8df710e56bd27406fc117fb7433ae55c","affectsGlobalScope":true,"impliedNodeFormat":1},"c3dc85be36ae67b5371ca1e4270e7f46","d92ae047ecefd1ea6f15d92508c96cf7","13dffe6cbb50dd11b8ca76114e9b8975","912b0dbbb6bb4ad6fd6fe2cfa1fdf109","9aae89803f470f3f639dbfbb26d67eb5",{"version":"803b0e4e42d25332e9f22f1b5f31e50d","affectsGlobalScope":true,"impliedNodeFormat":1},"ca4dd245f2032f512d1330de2593acd9",{"version":"3585cc524c08b2eb40ab817052f89462","affectsGlobalScope":true,"impliedNodeFormat":1},"bb3aaf40646363c84e7f812662701116","af1e2149c50363a8e411f28cf33f26bd","f54c29ade8d0c2940399d6ce4c07f4d8","ed4ce0ea67836b63d1620265be339a88","25d3d41f8140ef5f43c8793a0e21a8e5","704e32e377e486f16b2694b56868448f","67fd4c2cdeac0ac2b2f81f5a4e5412a1","2ea95e525a73b274e90fcf3cc8007a3e",{"version":"77689727e0d7f721c301adf335d33c20","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"ab6f5c9037273b86bca0524fa3e203fb","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"4c7176d955002d7f1bf12f6f63b45843","affectsGlobalScope":true,"impliedNodeFormat":1},"75d8cc60a79ae5d8a9c9594b304a257e","88f4b91b3c8db819c38b9b146d3fde91","d43268f7a239fb3eacfdee00e48b953d","b6b079b1f78ec10c992182bad5ca395a","2f2991fcd85839574abe82038a21cc1a","6d84cddfb4b94eb6a020d1cba106eae4",{"version":"461a5f8e20bef2a3713a72a7e4916df1","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"b883f72bd7ab8c483d628ec63b4abd4a","affectsGlobalScope":true,"impliedNodeFormat":1},"b210cf73199ba01431d4c87407e1deea"],"fileIdsList":[[107,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209,210,211,213,214,215,217,218,219,220,222,223,229,230,231,232,233,234,235,236,237,238,240],[107,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209,210,211,213,214,215,217,218,219,220,222,223,229,230,231,232,233,234,235,236,237,238],[107,159,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209,210,211,213,214,215,217,218,219,220,222,223,229,230,231,232,233,234,235,236,237,238],[107,159,160,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209,210,211,213,214,215,217,218,219,220,222,223,229,230,231,232,233,234,235,236,237,238],[159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209,210,211,213,214,215,217,218,219,220,222,223,229,230,231,232,233,234,235,236,237,238],[107,159,160,161,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209,210,211,213,214,215,217,218,219,220,222,223,229,230,231,232,233,234,235,236,237,238],[107,159,160,161,162,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209,210,211,213,214,215,217,218,219,220,222,223,229,230,231,232,233,234,235,236,237,238],[107,159,160,161,162,163,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209,210,211,213,214,215,217,218,219,220,222,223,229,230,231,232,233,234,235,236,237,238],[107,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209,210,211,213,214,215,217,218,219,220,222,223,229,230,231,232,233,234,235,236,237,238],[107,159,160,161,162,163,164,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209,210,211,213,214,215,217,218,219,220,222,223,229,230,231,232,233,234,235,236,237,238],[107,159,160,161,162,163,164,165,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209,210,211,213,214,215,217,218,219,220,222,223,229,230,231,232,233,234,235,236,237,238],[107,159,160,161,162,163,164,165,166,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209,210,211,213,214,215,217,218,219,220,222,223,229,230,231,232,233,234,235,236,237,238],[107,159,160,161,162,163,164,165,166,167,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209,210,211,213,214,215,217,218,219,220,222,223,229,230,231,232,233,234,235,236,237,238],[107,159,160,161,162,163,164,165,166,167,168,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209,210,211,213,214,215,217,218,219,220,222,223,229,230,231,232,233,234,235,236,237,238],[107,159,160,161,162,163,164,165,166,167,168,169,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209,210,211,213,214,215,217,218,219,220,222,223,229,230,231,232,233,234,235,236,237,238],[107,159,160,161,162,163,164,165,166,167,168,169,170,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209,210,211,213,214,215,217,218,219,220,222,223,229,230,231,232,233,234,235,236,237,238],[107,159,160,161,162,163,164,165,166,167,168,169,170,171,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209,210,211,213,214,215,217,218,219,220,222,223,229,230,231,232,233,234,235,236,237,238],[107,159,160,161,162,163,164,165,166,167,168,169,170,171,172,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209,210,211,213,214,215,217,218,219,220,222,223,229,230,231,232,233,234,235,236,237,238],[107,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209,210,211,213,214,215,217,218,219,220,222,223,229,230,231,232,233,234,235,236,237,238],[107,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209,210,211,213,214,215,217,218,219,220,222,223,229,230,231,232,233,234,235,236,237,238],[107,154,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209,210,211,213,214,215,217,218,219,220,222,223,229,230,231,232,233,234,235,236,237,238],[107,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209,210,211,213,214,215,217,218,219,220,222,223,229,230,231,232,233,234,235,236,237,238],[107,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209,210,211,213,214,215,217,218,219,220,222,223,229,230,231,232,233,234,235,236,237,238],[105,106,107,108,109,110,111,112,155,156,157,158,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209,210,211,213,214,215,217,218,219,220,222,223,229,230,231,232,233,234,235,236,237,238],[107,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209,210,211,213,214,215,217,218,219,220,222,223,229,230,231,232,233,234,235,236,237,238],[107,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209,210,211,213,214,215,217,218,219,220,222,223,229,230,231,232,233,234,235,236,237,238],[107,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209,210,211,213,214,215,217,218,219,220,222,223,229,230,231,232,233,234,235,236,237,238],[107,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209,210,211,213,214,215,217,218,219,220,222,223,229,230,231,232,233,234,235,236,237,238],[107,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209,210,211,213,214,215,217,218,219,220,222,223,229,230,231,232,233,234,235,236,237,238],[107,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209,210,211,213,214,215,217,218,219,220,222,223,229,230,231,232,233,234,235,236,237,238],[107,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209,210,211,213,214,215,217,218,219,220,222,223,229,230,231,232,233,234,235,236,237,238],[107,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209,210,211,213,214,215,217,218,219,220,222,223,229,230,231,232,233,234,235,236,237,238],[107,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209,210,211,213,214,215,217,218,219,220,222,223,229,230,231,232,233,234,235,236,237,238],[107,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209,210,211,213,214,215,217,218,219,220,222,223,229,230,231,232,233,234,235,236,237,238],[107,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209,210,211,213,214,215,217,218,219,220,222,223,229,230,231,232,233,234,235,236,237,238],[107,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209,210,211,213,214,215,217,218,219,220,222,223,229,230,231,232,233,234,235,236,237,238],[107,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209,210,211,213,214,215,217,218,219,220,222,223,229,230,231,232,233,234,235,236,237,238],[107,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209,210,211,213,214,215,217,218,219,220,222,223,229,230,231,232,233,234,235,236,237,238],[107,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209,210,211,213,214,215,217,218,219,220,222,223,229,230,231,232,233,234,235,236,237,238],[107,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209,210,211,213,214,215,217,218,219,220,222,223,229,230,231,232,233,234,235,236,237,238],[107,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,197,198,199,200,201,202,203,204,205,206,207,208,209,210,211,213,214,215,217,218,219,220,222,223,229,230,231,232,233,234,235,236,237,238],[107,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,196,197,198,199,200,201,202,203,204,205,206,207,208,209,210,211,213,214,215,217,218,219,220,222,223,229,230,231,232,233,234,235,236,237,238],[107,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,198,199,200,201,202,203,204,205,206,207,208,209,210,211,213,214,215,217,218,219,220,222,223,229,230,231,232,233,234,235,236,237,238],[107,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,199,200,201,202,203,204,205,206,207,208,209,210,211,213,214,215,217,218,219,220,222,223,229,230,231,232,233,234,235,236,237,238],[107,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,200,201,202,203,204,205,206,207,208,209,210,211,213,214,215,217,218,219,220,222,223,229,230,231,232,233,234,235,236,237,238],[107,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,201,202,203,204,205,206,207,208,209,210,211,213,214,215,217,218,219,220,222,223,229,230,231,232,233,234,235,236,237,238],[107,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,202,203,204,205,206,207,208,209,210,211,213,214,215,217,218,219,220,222,223,229,230,231,232,233,234,235,236,237,238],[107,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,203,204,205,206,207,208,209,210,211,213,214,215,217,218,219,220,222,223,229,230,231,232,233,234,235,236,237,238],[107,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,204,205,206,207,208,209,210,211,213,214,215,217,218,219,220,222,223,229,230,231,232,233,234,235,236,237,238],[107,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,205,206,207,208,209,210,211,213,214,215,217,218,219,220,222,223,229,230,231,232,233,234,235,236,237,238],[107,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,206,207,208,209,210,211,213,214,215,217,218,219,220,222,223,229,230,231,232,233,234,235,236,237,238],[107,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,207,208,209,210,211,213,214,215,217,218,219,220,222,223,229,230,231,232,233,234,235,236,237,238],[107,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,208,209,210,211,213,214,215,217,218,219,220,222,223,229,230,231,232,233,234,235,236,237,238],[107,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,209,210,211,213,214,215,217,218,219,220,222,223,229,230,231,232,233,234,235,236,237,238],[107,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,210,211,213,214,215,217,218,219,220,222,223,229,230,231,232,233,234,235,236,237,238],[107,154,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209,210,211,213,214,215,217,218,219,220,222,223,229,230,231,232,233,234,235,236,237,238],[107,154,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209,211,213,214,215,217,218,219,220,222,223,229,230,231,232,233,234,235,236,237,238],[107,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209,210,213,214,215,217,218,219,220,222,223,229,230,231,232,233,234,235,236,237,238],[107,154,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209,210,211,213,214,215,216,218,219,220,222,223,229,230,231,232,233,234,235,236,237,238],[107,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209,210,211,213,214,215,217,218,219,220,222,223,229,230,231,232,233,234,235,236,237],[107,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209,210,211,213,214,215,217,218,219,220,222,223,229,230,231,233,234,235,236,237,238],[107,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209,210,211,213,214,215,217,218,220,222,223,229,230,231,232,233,234,235,236,237,238],[107,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209,210,211,213,214,215,217,219,220,222,223,229,230,231,232,233,234,235,236,237,238],[107,154,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209,210,211,213,214,217,218,219,220,222,223,229,230,231,232,233,234,235,236,237,238],[107,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209,210,211,213,214,215,217,218,219,222,223,229,230,231,232,233,234,235,236,237,238],[107,154,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209,210,211,214,215,217,218,219,220,222,223,229,230,231,232,233,234,235,236,237,238],[107,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209,210,211,212,213,214,215,217,218,219,220,221,222,223,229,230,231,232,233,234,235,236,237,238,239],[107,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209,210,211,213,214,215,217,218,219,220,223,229,230,231,232,233,234,235,236,237,238],[14,107,108,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209,210,211,213,214,215,217,218,219,220,222,223,229,230,232,233,234,235,236,237,238],[107,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209,210,211,213,214,215,217,218,219,220,222,223,229,230,231,232,234,235,236,237,238],[107,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209,210,211,213,215,217,218,219,220,222,223,229,230,231,232,233,234,235,236,237,238],[107,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209,210,211,213,214,215,217,218,219,220,222,223,229,230,231,232,233,234,235,236,238],[107,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209,210,211,213,214,215,217,218,219,220,222,223,229,230,231,232,233,234,236,237,238],[107,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209,210,211,213,214,215,217,218,219,220,222,223,229,230,231,232,233,235,236,237,238],[107,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209,210,211,213,214,215,217,218,219,220,222,223,229,230,231,232,233,234,235,237,238],[107,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209,210,211,213,214,215,217,218,219,220,222,229,230,231,232,233,234,235,236,237,238],[107,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209,210,211,213,214,215,217,218,219,220,222,223,228,230,231,232,233,234,235,236,237,238],[107,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209,210,211,213,214,215,217,218,219,220,222,223,224,225,229,230,231,232,233,234,235,236,237,238],[107,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209,210,211,213,214,215,217,218,219,220,222,223,224,225,226,227,229,230,231,232,233,234,235,236,237,238],[107,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209,210,211,213,214,215,217,218,219,220,222,223,224,226,229,230,231,232,233,234,235,236,237,238],[107,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209,210,211,213,214,215,217,218,219,220,222,223,224,229,230,231,232,233,234,235,236,237,238],[107,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209,210,211,213,214,215,217,218,219,220,222,223,229,231,232,233,234,235,236,237,238],[98,99,107,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209,210,211,213,214,215,217,218,219,220,222,223,229,230,231,232,233,234,235,236,237,238],[107,120,123,126,127,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209,210,211,213,214,215,217,218,219,220,222,223,229,230,231,232,233,234,235,236,237,238],[107,123,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209,210,211,213,214,215,217,218,219,220,222,223,229,230,231,232,233,234,235,236,237,238],[107,123,127,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209,210,211,213,214,215,217,218,219,220,222,223,229,230,231,232,233,234,235,236,237,238],[107,117,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209,210,211,213,214,215,217,218,219,220,222,223,229,230,231,232,233,234,235,236,237,238],[107,121,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209,210,211,213,214,215,217,218,219,220,222,223,229,230,231,232,233,234,235,236,237,238],[107,119,120,123,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209,210,211,213,214,215,217,218,219,220,222,223,229,230,231,232,233,234,235,236,237,238],[107,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209,210,211,212,213,214,215,217,218,219,220,222,223,229,230,231,232,233,234,235,236,237,238],[107,117,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209,210,211,212,213,214,215,217,218,219,220,222,223,229,230,231,232,233,234,235,236,237,238],[107,119,123,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209,210,211,213,214,215,217,218,219,220,222,223,229,230,231,232,233,234,235,236,237,238],[107,114,115,116,118,122,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209,210,211,213,214,215,217,218,219,220,222,223,229,230,231,232,233,234,235,236,237,238],[107,123,131,139,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209,210,211,213,214,215,217,218,219,220,222,223,229,230,231,232,233,234,235,236,237,238],[107,115,121,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209,210,211,213,214,215,217,218,219,220,222,223,229,230,231,232,233,234,235,236,237,238],[107,123,148,149,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209,210,211,213,214,215,217,218,219,220,222,223,229,230,231,232,233,234,235,236,237,238],[107,115,118,123,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209,210,211,212,213,214,215,217,218,219,220,222,223,229,230,231,232,233,234,235,236,237,238],[107,114,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209,210,211,213,214,215,217,218,219,220,222,223,229,230,231,232,233,234,235,236,237,238],[107,117,118,119,121,122,123,124,125,127,128,129,130,131,132,133,134,135,136,137,138,139,140,141,142,143,144,145,146,147,149,150,151,152,153,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209,210,211,213,214,215,217,218,219,220,222,223,229,230,231,232,233,234,235,236,237,238],[107,123,141,144,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209,210,211,213,214,215,217,218,219,220,222,223,229,230,231,232,233,234,235,236,237,238],[107,123,131,132,133,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209,210,211,213,214,215,217,218,219,220,222,223,229,230,231,232,233,234,235,236,237,238],[107,121,123,132,134,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209,210,211,213,214,215,217,218,219,220,222,223,229,230,231,232,233,234,235,236,237,238],[107,122,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209,210,211,213,214,215,217,218,219,220,222,223,229,230,231,232,233,234,235,236,237,238],[107,115,117,123,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209,210,211,213,214,215,217,218,219,220,222,223,229,230,231,232,233,234,235,236,237,238],[107,123,127,132,134,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209,210,211,213,214,215,217,218,219,220,222,223,229,230,231,232,233,234,235,236,237,238],[107,127,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209,210,211,213,214,215,217,218,219,220,222,223,229,230,231,232,233,234,235,236,237,238],[107,121,123,126,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209,210,211,213,214,215,217,218,219,220,222,223,229,230,231,232,233,234,235,236,237,238],[107,115,119,123,131,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209,210,211,213,214,215,217,218,219,220,222,223,229,230,231,232,233,234,235,236,237,238],[107,123,141,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209,210,211,213,214,215,217,218,219,220,222,223,229,230,231,232,233,234,235,236,237,238],[107,134,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209,210,211,213,214,215,217,218,219,220,222,223,229,230,231,232,233,234,235,236,237,238],[107,117,123,148,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209,210,211,212,213,214,215,217,218,219,220,222,223,229,230,231,232,233,234,235,236,237,238],[92,107,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209,210,211,213,214,215,217,218,219,220,222,223,229,230,231,232,233,234,235,236,237,238],[90,92,107,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209,210,211,213,214,215,217,218,219,220,222,223,229,230,231,232,233,234,235,236,237,238],[90,92,100,107,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209,210,211,213,214,215,217,218,219,220,222,223,229,230,231,232,233,234,235,236,237,238],[90,92,93,94,95,107,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209,210,211,213,214,215,217,218,219,220,222,223,229,230,231,232,233,234,235,236,237,238],[90,91,92,94,95,96,97,101,102,103,107,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209,210,211,213,214,215,217,218,219,220,222,223,229,230,231,232,233,234,235,236,237,238],[91,107,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209,210,211,213,214,215,217,218,219,220,222,223,229,230,231,232,233,234,235,236,237,238]],"options":{"composite":true,"emitDeclarationOnly":true,"declaration":true,"declarationMap":true,"experimentalDecorators":true,"jsx":4,"module":99,"noEmitOnError":true,"noImplicitOverride":true,"outDir":"./","skipLibCheck":true,"strict":true,"sourceMap":true,"target":7,"useDefineForClassFields":true,"allowSyntheticDefaultImports":true,"esModuleInterop":true},"referencedMap":[[241,1],[159,2],[160,3],[161,4],[107,5],[162,6],[163,7],[164,8],[105,9],[165,10],[166,11],[167,12],[168,13],[169,14],[170,15],[171,16],[172,17],[173,18],[174,19],[175,20],[108,9],[106,9],[176,21],[177,22],[178,23],[212,24],[179,25],[180,26],[181,27],[182,28],[183,29],[184,30],[185,31],[186,32],[187,33],[188,34],[189,35],[190,36],[191,37],[192,38],[193,39],[194,40],[196,41],[195,42],[197,43],[198,44],[199,45],[200,46],[201,47],[202,48],[203,49],[204,50],[205,51],[206,52],[207,53],[208,54],[209,55],[109,9],[110,9],[111,9],[112,9],[155,56],[156,9],[157,9],[158,9],[210,57],[211,58],[88,9],[89,9],[14,9],[15,9],[17,9],[16,9],[2,9],[18,9],[19,9],[20,9],[21,9],[22,9],[23,9],[24,9],[25,9],[3,9],[26,9],[27,9],[4,9],[28,9],[32,9],[29,9],[30,9],[31,9],[33,9],[34,9],[35,9],[5,9],[36,9],[37,9],[38,9],[39,9],[6,9],[43,9],[40,9],[41,9],[42,9],[44,9],[7,9],[45,9],[50,9],[51,9],[46,9],[47,9],[48,9],[49,9],[8,9],[55,9],[52,9],[53,9],[54,9],[56,9],[9,9],[57,9],[58,9],[59,9],[61,9],[60,9],[62,9],[63,9],[10,9],[64,9],[65,9],[66,9],[11,9],[67,9],[68,9],[69,9],[70,9],[71,9],[72,9],[12,9],[73,9],[74,9],[75,9],[76,9],[77,9],[1,9],[78,9],[79,9],[13,9],[80,9],[81,9],[82,9],[83,9],[84,9],[85,9],[86,9],[87,9],[113,9],[217,59],[239,9],[238,60],[232,61],[219,62],[218,63],[215,64],[220,65],[213,66],[221,9],[240,67],[222,68],[216,9],[231,69],[233,70],[214,71],[237,72],[235,73],[234,74],[236,75],[223,76],[229,77],[226,78],[228,79],[227,80],[225,81],[224,9],[230,82],[100,83],[98,9],[99,9],[131,84],[143,85],[129,86],[144,9],[153,87],[120,88],[121,89],[119,9],[152,90],[147,91],[151,92],[123,93],[140,94],[122,95],[150,96],[117,97],[118,91],[124,85],[125,9],[130,92],[128,85],[115,98],[154,99],[145,100],[134,101],[133,85],[135,102],[138,103],[132,104],[136,105],[148,90],[126,106],[127,107],[139,108],[116,9],[142,109],[141,85],[137,110],[146,9],[114,9],[149,111],[93,112],[91,113],[97,113],[94,112],[102,112],[101,114],[103,112],[96,115],[104,116],[90,112],[95,112],[92,117]],"latestChangedDtsFile":"./index.d.ts"}
1
+ {"version":"7.0.1-rc","root":[[90,101]],"fileNames":["lib.es5.d.ts","lib.es2015.d.ts","lib.es2016.d.ts","lib.es2017.d.ts","lib.es2018.d.ts","lib.es2019.d.ts","lib.es2020.d.ts","lib.es2021.d.ts","lib.es2022.d.ts","lib.es2023.d.ts","lib.es2024.d.ts","lib.es2025.d.ts","lib.esnext.d.ts","lib.dom.d.ts","lib.dom.iterable.d.ts","lib.es2015.core.d.ts","lib.es2015.collection.d.ts","lib.es2015.generator.d.ts","lib.es2015.iterable.d.ts","lib.es2015.promise.d.ts","lib.es2015.proxy.d.ts","lib.es2015.reflect.d.ts","lib.es2015.symbol.d.ts","lib.es2015.symbol.wellknown.d.ts","lib.es2016.array.include.d.ts","lib.es2016.intl.d.ts","lib.es2017.arraybuffer.d.ts","lib.es2017.date.d.ts","lib.es2017.object.d.ts","lib.es2017.sharedmemory.d.ts","lib.es2017.string.d.ts","lib.es2017.intl.d.ts","lib.es2017.typedarrays.d.ts","lib.es2018.asyncgenerator.d.ts","lib.es2018.asynciterable.d.ts","lib.es2018.intl.d.ts","lib.es2018.promise.d.ts","lib.es2018.regexp.d.ts","lib.es2019.array.d.ts","lib.es2019.object.d.ts","lib.es2019.string.d.ts","lib.es2019.symbol.d.ts","lib.es2019.intl.d.ts","lib.es2020.bigint.d.ts","lib.es2020.date.d.ts","lib.es2020.promise.d.ts","lib.es2020.sharedmemory.d.ts","lib.es2020.string.d.ts","lib.es2020.symbol.wellknown.d.ts","lib.es2020.intl.d.ts","lib.es2020.number.d.ts","lib.es2021.promise.d.ts","lib.es2021.string.d.ts","lib.es2021.weakref.d.ts","lib.es2021.intl.d.ts","lib.es2022.array.d.ts","lib.es2022.error.d.ts","lib.es2022.intl.d.ts","lib.es2022.object.d.ts","lib.es2022.string.d.ts","lib.es2022.regexp.d.ts","lib.es2023.array.d.ts","lib.es2023.collection.d.ts","lib.es2023.intl.d.ts","lib.es2024.arraybuffer.d.ts","lib.es2024.collection.d.ts","lib.es2024.object.d.ts","lib.es2024.promise.d.ts","lib.es2024.regexp.d.ts","lib.es2024.sharedmemory.d.ts","lib.es2024.string.d.ts","lib.es2025.collection.d.ts","lib.es2025.float16.d.ts","lib.es2025.intl.d.ts","lib.es2025.iterator.d.ts","lib.es2025.promise.d.ts","lib.es2025.regexp.d.ts","lib.esnext.array.d.ts","lib.esnext.collection.d.ts","lib.esnext.date.d.ts","lib.esnext.decorators.d.ts","lib.esnext.disposable.d.ts","lib.esnext.error.d.ts","lib.esnext.intl.d.ts","lib.esnext.sharedmemory.d.ts","lib.esnext.temporal.d.ts","lib.esnext.typedarrays.d.ts","lib.decorators.d.ts","lib.decorators.legacy.d.ts","../../src/levels.ts","../../src/handlers/FingerCrossedLoggerHandler.ts","../../src/types.ts","../../src/formatting.ts","../../src/handlers/LoggerHandlerList.ts","../../src/proxy.ts","../../src/impl.ts","../../src/handlers/JsonStreamLoggerHandler.ts","../../src/handlers/PrettyPrintLoggerHandler.ts","../../src/handlers/NullLoggerHandler.ts","../../src/handlers/TestLoggerHandler.ts","../../src/index.ts","../../../../node_modules/@types/node/compatibility/iterators.d.ts","../../../../node_modules/@types/node/globals.typedarray.d.ts","../../../../node_modules/@types/node/buffer.buffer.d.ts","../../../../node_modules/@types/node/globals.d.ts","../../../../node_modules/@types/node/web-globals/abortcontroller.d.ts","../../../../node_modules/@types/node/web-globals/crypto.d.ts","../../../../node_modules/@types/node/web-globals/domexception.d.ts","../../../../node_modules/@types/node/web-globals/events.d.ts","../../../../node_modules/undici-types/utility.d.ts","../../../../node_modules/undici-types/header.d.ts","../../../../node_modules/undici-types/readable.d.ts","../../../../node_modules/undici-types/fetch.d.ts","../../../../node_modules/undici-types/formdata.d.ts","../../../../node_modules/undici-types/connector.d.ts","../../../../node_modules/undici-types/client-stats.d.ts","../../../../node_modules/undici-types/client.d.ts","../../../../node_modules/undici-types/errors.d.ts","../../../../node_modules/undici-types/dispatcher.d.ts","../../../../node_modules/undici-types/global-dispatcher.d.ts","../../../../node_modules/undici-types/global-origin.d.ts","../../../../node_modules/undici-types/pool-stats.d.ts","../../../../node_modules/undici-types/pool.d.ts","../../../../node_modules/undici-types/handlers.d.ts","../../../../node_modules/undici-types/balanced-pool.d.ts","../../../../node_modules/undici-types/h2c-client.d.ts","../../../../node_modules/undici-types/agent.d.ts","../../../../node_modules/undici-types/mock-interceptor.d.ts","../../../../node_modules/undici-types/mock-call-history.d.ts","../../../../node_modules/undici-types/mock-agent.d.ts","../../../../node_modules/undici-types/mock-client.d.ts","../../../../node_modules/undici-types/mock-pool.d.ts","../../../../node_modules/undici-types/snapshot-agent.d.ts","../../../../node_modules/undici-types/mock-errors.d.ts","../../../../node_modules/undici-types/proxy-agent.d.ts","../../../../node_modules/undici-types/env-http-proxy-agent.d.ts","../../../../node_modules/undici-types/retry-handler.d.ts","../../../../node_modules/undici-types/retry-agent.d.ts","../../../../node_modules/undici-types/api.d.ts","../../../../node_modules/undici-types/cache-interceptor.d.ts","../../../../node_modules/undici-types/interceptors.d.ts","../../../../node_modules/undici-types/util.d.ts","../../../../node_modules/undici-types/cookies.d.ts","../../../../node_modules/undici-types/patch.d.ts","../../../../node_modules/undici-types/websocket.d.ts","../../../../node_modules/undici-types/eventsource.d.ts","../../../../node_modules/undici-types/diagnostics-channel.d.ts","../../../../node_modules/undici-types/content-type.d.ts","../../../../node_modules/undici-types/cache.d.ts","../../../../node_modules/undici-types/index.d.ts","../../../../node_modules/@types/node/web-globals/fetch.d.ts","../../../../node_modules/@types/node/web-globals/navigator.d.ts","../../../../node_modules/@types/node/web-globals/storage.d.ts","../../../../node_modules/@types/node/web-globals/streams.d.ts","../../../../node_modules/@types/node/assert.d.ts","../../../../node_modules/@types/node/assert/strict.d.ts","../../../../node_modules/@types/node/async_hooks.d.ts","../../../../node_modules/@types/node/buffer.d.ts","../../../../node_modules/@types/node/child_process.d.ts","../../../../node_modules/@types/node/cluster.d.ts","../../../../node_modules/@types/node/console.d.ts","../../../../node_modules/@types/node/constants.d.ts","../../../../node_modules/@types/node/crypto.d.ts","../../../../node_modules/@types/node/dgram.d.ts","../../../../node_modules/@types/node/diagnostics_channel.d.ts","../../../../node_modules/@types/node/dns.d.ts","../../../../node_modules/@types/node/dns/promises.d.ts","../../../../node_modules/@types/node/domain.d.ts","../../../../node_modules/@types/node/events.d.ts","../../../../node_modules/@types/node/fs.d.ts","../../../../node_modules/@types/node/fs/promises.d.ts","../../../../node_modules/@types/node/http.d.ts","../../../../node_modules/@types/node/http2.d.ts","../../../../node_modules/@types/node/https.d.ts","../../../../node_modules/@types/node/inspector.d.ts","../../../../node_modules/@types/node/inspector.generated.d.ts","../../../../node_modules/@types/node/module.d.ts","../../../../node_modules/@types/node/net.d.ts","../../../../node_modules/@types/node/os.d.ts","../../../../node_modules/@types/node/path.d.ts","../../../../node_modules/@types/node/perf_hooks.d.ts","../../../../node_modules/@types/node/process.d.ts","../../../../node_modules/@types/node/punycode.d.ts","../../../../node_modules/@types/node/querystring.d.ts","../../../../node_modules/@types/node/readline.d.ts","../../../../node_modules/@types/node/readline/promises.d.ts","../../../../node_modules/@types/node/repl.d.ts","../../../../node_modules/@types/node/sea.d.ts","../../../../node_modules/@types/node/sqlite.d.ts","../../../../node_modules/@types/node/stream.d.ts","../../../../node_modules/@types/node/stream/promises.d.ts","../../../../node_modules/@types/node/stream/consumers.d.ts","../../../../node_modules/@types/node/stream/web.d.ts","../../../../node_modules/@types/node/string_decoder.d.ts","../../../../node_modules/@types/node/test.d.ts","../../../../node_modules/@types/node/timers.d.ts","../../../../node_modules/@types/node/timers/promises.d.ts","../../../../node_modules/@types/node/tls.d.ts","../../../../node_modules/@types/node/trace_events.d.ts","../../../../node_modules/@types/node/tty.d.ts","../../../../node_modules/@types/node/url.d.ts","../../../../node_modules/@types/node/util.d.ts","../../../../node_modules/@types/node/v8.d.ts","../../../../node_modules/@types/node/vm.d.ts","../../../../node_modules/@types/node/wasi.d.ts","../../../../node_modules/@types/node/worker_threads.d.ts","../../../../node_modules/@types/node/zlib.d.ts","../../../../node_modules/@types/node/index.d.ts","../../../../node_modules/bun-types/globals.d.ts","../../../../node_modules/bun-types/s3.d.ts","../../../../node_modules/bun-types/fetch.d.ts","../../../../node_modules/bun-types/jsx.d.ts","../../../../node_modules/bun-types/bun.d.ts","../../../../node_modules/bun-types/extensions.d.ts","../../../../node_modules/bun-types/devserver.d.ts","../../../../node_modules/bun-types/ffi.d.ts","../../../../node_modules/bun-types/html-rewriter.d.ts","../../../../node_modules/bun-types/jsc.d.ts","../../../../node_modules/bun-types/sqlite.d.ts","../../../../node_modules/bun-types/vendor/expect-type/utils.d.ts","../../../../node_modules/bun-types/vendor/expect-type/overloads.d.ts","../../../../node_modules/bun-types/vendor/expect-type/branding.d.ts","../../../../node_modules/bun-types/vendor/expect-type/messages.d.ts","../../../../node_modules/bun-types/vendor/expect-type/index.d.ts","../../../../node_modules/bun-types/test.d.ts","../../../../node_modules/bun-types/wasm.d.ts","../../../../node_modules/bun-types/overrides.d.ts","../../../../node_modules/bun-types/deprecated.d.ts","../../../../node_modules/bun-types/redis.d.ts","../../../../node_modules/bun-types/shell.d.ts","../../../../node_modules/bun-types/serve.d.ts","../../../../node_modules/bun-types/sql.d.ts","../../../../node_modules/bun-types/security.d.ts","../../../../node_modules/bun-types/bundle.d.ts","../../../../node_modules/bun-types/bun.ns.d.ts","../../../../node_modules/bun-types/index.d.ts","../../../../node_modules/@types/bun/index.d.ts"],"fileInfos":[{"version":"a1aa1a5e065d48ef5c7bb99e38412f96","affectsGlobalScope":true,"impliedNodeFormat":1},"d4306fb2e47f74835e8674ffac07d76f","e437c5c1302869326c3bb93da85bbbcf","e4324975a566567b21d350615f1fc6ac","333b1b9a2a9ac3b8497dba5c63b5ba50","6cffacd662b6eb5fa7a36aa2ea366bfa","b4c34f9c23304dbef2d23698637ed638","e5cb86a5fc491796ecd1d2dd348d208f","feb6c6fb19cdb246a5d8acb36a6901c7","9443a7f109277ffaa79d893ed2549995","793cee405385076e27c24f409659dccd","09f69c6610266eaee1ac9e3e30df2c71","62bad718844246b8e17547f37bad6085",{"version":"aae8996e8b5684814785a42cbbefcd79","affectsGlobalScope":true,"impliedNodeFormat":1},"abad6dd56cc8caf095c165df8124d237",{"version":"01ac052ec4a79e87229f90466a9645f8","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"edba5df642941aa062a62f6328c6df3d","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"6344b55f26a4e81d9608777dbfb877dd","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"3c0ed28e53d3695b363e256ec1c023fd","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"4c2761daba7f17141c25baa0821ac5da","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"b87656acabd63e69379ff6ffcfe52fc7","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"597469522da047a5af5222cc6989f405","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"bb3a710cbcda0533bb127712927cbe37","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"55d97a8c6fbf34a30450a7b1e5f7a298","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"0ee05eb59426d33e374226d8dcfa708b","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"e347c14030993906efcfbb88915b6a05","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"b0231263857c9b6a03641acdc9280ceb","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"3b15c4a83b598cacb4067676e6f0abed","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"b417d97b7934cef63b1889abec0bbfbf","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"09a6cf4032ebba60ce22a501e663f881","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"7a42de379b489e8f7b647455bebfc576","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"e22cc07e3f3cc242ba52fa3f8ea1fc58","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"2c45da767a1bfbb220848df1bc4029e4","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"b44c3e0fbaf2130cdcf6ac38b120ffa1","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"b612fb5cf8e5d964b92063a75207632a","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"02705151a5e1551b9162a9ed8ab763f7","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"41025e398be9215d32e4337335da8f0b","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"52684c2b1f353a5538e4f275182a54cd","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"6dedb6a4f90d1df3a6fbe5693e44886c","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"ca3f36fe3562c07e0f0d71c2bebd3f6d","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"409974d6129befbb8226ddd1c6558568","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"4d9cfde2a1ae1b4925f1f9bc10848e5d","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"7e1daecc66dd564144e3bb1a0266b5fd","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"a8e1d9bb35fd0637f2f9fd2b2a54f2ec","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"4f168501772a6543182765bfd5f2fbfe","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"a19c80aad1b2162103496f5ba293a732","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"b69afa63cd5d059851c78adb2856ee09","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"ae2fc5d954e9b0f5feee3d481b953c27","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"1cfd3091a071d8b6feec15277643bafe","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"692bcd75364db0f65d428801c7884466","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"a0d87491913d843139e0c993650a3235","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"4ef72aa378127e7b7abba915b0110b1e","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"3ec74c6a7d4463f0254db3a74cf75646","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"84c2bdfa470d075526cce6322d81b0b6","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"0b3844c2b8c73e4e1ab91431411cad11","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"4fc71cf4a15b8d99675a31df77f26e07","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"d1b49564ddaeca3df5b6dbae925d2242","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"6a25be566d60ccfc2d6e8b7bfdeefa83","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"8a20e27646985dfd58c57ca6566553dd","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"9969f02ad3cdcbf4f709405cda44167f","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"9c9be4792a7a4f42c15ae7360bf28779","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"8cf777fe00349b71ee9c4b6f3fe7fd19","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"74f96bc192530c9723f572bfff3d3078","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"1df91c56b25955c56387426f378173c5","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"38856f70edcd2115c355d96ec77cc09e","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"de8700156c1275465bcd473c28b359aa","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"d47cfdb6ede40518357bb5a4cd7cd9fb","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"6e5773860cd9e5b15e683113f642ab47","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"30ff5fe1682f7fcd629880476ca3c2e0","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"bf23d7d1b40b9015b694ddc2f011752f","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"2cc585d42e2c548f9f24a30a1989fd33","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"713906ce9d332d2242b7f05ed9304be3","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"0219894bfe5042c7e1aa2d22e4a91ed0","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"6009ffff7e43c93318804d2d28e37fe3","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"03be89b227587594fbb50509fc1c2e45","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"b30df52dc24740c0bad7c55c3511df7d","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"ab8d3c9b5ed5c2ab8f383607eef439f0","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"d950ec671d0a8e07f3c1a31e94abed86","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"1abef2ace5eccb02d60dd73cd5a5ee4c","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"f5f0a3044029d1cc081b5887eb4deb07","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"d57c697f1446940ec4bfe669c962e2c4","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"be41035d7b941482a1e1ae6a5c5dcca5","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"10f7d9da7564f27f8ddf4a162b6da6d3","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"1d0520af549e0c3581f15173cc713ca1","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"d65083f97fd741cff028472563eddb79","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"da7f24f00653ebac660ac1c0821ed33d","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"7cb5ae9e65516ea2235f0721f6aac43c","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"f64453cbf9671f28158677fa5c43967a","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"33f317af5428801f944a478d2c1e38e5","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"b1ef14e2aba631791b08870a8b90e26b","signature":"6360adf29ce1b0e026f7b396f1759839","impliedNodeFormat":1},{"version":"366d2aed64e6e5f929845472da2c2550","signature":"f0ad4738daed6b9a9ab2957514c1e621","impliedNodeFormat":1},{"version":"a16b6e695e6fb262fc62e0a70cd257e7","signature":"c9d592861dde35e122b95ca8069c26c0","impliedNodeFormat":1},{"version":"515a3129188976c955d675dae4aa2bf9","signature":"50e767818450511ca88c81cc9f12181f","impliedNodeFormat":1},{"version":"6b44d2f29015130f466a456b2480a45f","signature":"68cdcba97e22481eb7623cf088091f45","impliedNodeFormat":1},{"version":"3c38e0b7d9842df37ca18ab785e91b1f","signature":"b23728a00b18b1d22afd723d8931038e","impliedNodeFormat":1},{"version":"4ef66bc69f9aa819acb498eac5c0f810","signature":"47dd356409efba2c28155cda4fd7bdd0","impliedNodeFormat":1},{"version":"1a3428645a2b680a0e16bae3b1522bb9","signature":"c2d91f9402f1f35c560ccf2e49236082","impliedNodeFormat":1},{"version":"b587cafb9199a5a74180666d437f3f17","signature":"a87258832f17e369ca81f81c942bff1e","impliedNodeFormat":1},{"version":"25380554be8f3fea1a9154068eb17a81","signature":"2de5e85fdd62dc88b61f4dd22e90d80e","impliedNodeFormat":1},{"version":"7ac072b9511c9616f12a23519cca6b9d","signature":"6797883b6d60890f1d4c3f37a3db309e","impliedNodeFormat":1},{"version":"740fc43223216bbf8d40f7e0319c8675","signature":"4de29617cf853ce87cdd1f2d7efdf332","impliedNodeFormat":1},{"version":"2514e9a2749c0fc18d2f478e9e1e641e","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"6ae4c332ecb24e76c1e47c0e21d4663d","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"69ee0752d1e70c56ca160360425752a9","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"bf33440030f0a0fae7d1efd6c293a8d2","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"9af0a7e3ef1c42cd066b9f8d365cc1ba","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"7b772cebc7136c34fc77954aef70519d","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"9eca652586205dc5b07f9ba57b1c8500","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"ec5f75939754ce94652189ec7d0d3058","affectsGlobalScope":true,"impliedNodeFormat":1},"49133c0dfbc32ab95668c3443dea49e5","85c2cf74d24d4069fac4686501a2d7e3","83f416ded62bb31c035580c3b5a8d334","d261ae135609468365bc2d32742d3e0d","60c67c092ae78d2e7858ca0a88f54659","9508c917bd7e458745e222a82dd24ef0","fcd1a513c1e5802916fa602e8b8e64bc","9cf55e98366383279869ace31be98079","8e2bc11d0328ba95e490a741c44a215d","f36661bccb8b9a0b5ccb8539ae751cb3","705645fe223430c696f47b708d592ca8","28d57c837c94adb42add03d499793cab","8c01a9bbae8449be21b3e018d59a74ac","705c3696b9d9681bf22181718bb08ffc","679024f8e9f58a112f4badf119c4d612","16f740a706028e841b09fb8b1aa8faaf","e6828eaf960f006eb1adb6e7df8913c0","6fdde11403da5129f4388a489f361535","d7e5f7a0f1f883f28458f684106e7643","c2364011a80b6a9e3cc0e77895bad577","38da5c670190f4a35cbc204ca6c616bf","d95cc0eb29beed58f5ce72db21398f53","ecd53256b1ec7379c73316eaf392a69c","db5a9211b779628398011a5b8f5b8b5d","69c7bb9c3befe9ae37eed0e6a6310fee","1cba93fafccb7b2655f0e75229185e83","094ecadae30f65a82b77343dde77a666","f75df12d75dd783b03a0329b95abdb25","b438b08b2f0ed94a95a75c8990d9021b","771a77c9bec862600c95f7a563871b5e","c665284a9cb3dd886b14663cd04742e0","1c3833453f6ed0acab1b4663ccdbd310","0468c0ccd0ec7770b76481b165564d62","188234d616a4f50ed9b14c8f84a39f33","4c116bcf0a47ea8fbf4072f380925fa7","1948703c2f27e582e0a0cc37bd67a868","add85ec26ba695fc99c698dbec065f8c","73ba12091cff7d4499df83bbe40d777b","b744265d8ad12b7d4d5c5dc35d18d44e","eff32168b8348b822afeed9cbf61afa7","af51e27e980746d79714b72188b3ee40",{"version":"dd1cf1cc3aa21cd78b4869a44d98c6d9","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"292c9398a407b33b1d9c9812b673387a","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"45df94b3c51b898624bacc2bcd6d9eb2","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"7d352f71d1b1bcc12c79dd0e4597537c","affectsGlobalScope":true,"impliedNodeFormat":1},"db11b80743ed5356b81d763a708788e6","39078ea063fcaf72bd3cca7e0d13d017","f81aa09811fa65ac6f354ab0018d3c38",{"version":"282318b178d190157a4deacb14f3040a","affectsGlobalScope":true,"impliedNodeFormat":1},"aafe512c4216100fd65028f9b2afce83","54c5c3dcfdb5f7cf5fbbccfff6ead3fa",{"version":"dc14f078230582a2f8fb2138bfcf4f85","affectsGlobalScope":true,"impliedNodeFormat":1},"b2b472cd0bf0f8d5f022e00ca1c401f4","370d966b810b687a9e58851208cb3d4c","39b3089f3df8d14e0f2ddac0479872d9","cc7a57e86f908c313649aea8d90377e1","5c271f10d8a9b9a1206bc82a4fe5b84d","fbe31979333ec391d8b59e8f42236e8e","6f97553fd1690f568365155d4c51a3b5",{"version":"a3f111d2a29b6cdd04fc4b41aa560c86","affectsGlobalScope":true,"impliedNodeFormat":1},"5f4ac576bcdc670a8489c881b23a2b17","84c4165c4499465304988f5db8d9940a","02a1ccf1ef65bfbf65865ac4ce346974","86978b8f91524043f71ff8dfaf83288b","dbe700f7f1fa52fd220c7ee2c6617ebc","579675a2c3b0f8c532a82ad9cbd5d384","9b44005377cec9487e5f0d900bc5db46",{"version":"22dcb64768a46f60b07af6ec5e7752bb","affectsGlobalScope":true,"impliedNodeFormat":1},"b59cb5a2a891b4a59040eecaa4e4fd92","c9053dbbe4fa2853f2d3f73b9a2fee81","4e458316a6083cbd2bba2fd29f674dd5",{"version":"3cccee1f2c106192d18ac4e08119f872","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"077a5affac1af2f5defdb142842fb031","affectsGlobalScope":true,"impliedNodeFormat":1},"6b26581aa2587701d570206a0db8c9ee","88a29e2aac8082c0910733950159e1ca","609d3ac6ba921e6e83c5da182c204fb8","0f80958d77cd6301b43c1d7904e3e4bc","3bdc645524ab0d2f6795d3a008833bd7","deb50b47eb75a5566532a763fa1324fa","0a463424e0a2a59373805ee224327d85","7e470eddc0bd0486dc2a8ab902de79b7","c8206d568b54e5ea06131963eecd576a","15878f4f50c2e562c0768eb735c2aed5",{"version":"98d7074a05f2d388bfaa708af5660466","affectsGlobalScope":true,"impliedNodeFormat":1},"dd404118e8bd70aff746f7d31e46270b","4b9ff1cc38cc2243605ecef78c80ef8b",{"version":"6b8649a280031d9e86955db721cfad87","affectsGlobalScope":true,"impliedNodeFormat":1},"4bc8f13c472858fb74f77388c0c5d885","eec349e50f6da0bc900cd9b243dadbc6","c72d2516d1e8910caca33c4dff75fcd4","f0231f36cb7117fbe9271ff19ef0f5f4",{"version":"acca246ee319503493a0a5f9d7db7fd8","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"1aee62839c1ac0986904f19bdb93e3d8","affectsGlobalScope":true,"impliedNodeFormat":1},"a4a335f8e124cd5346b4579b47beec32","e9bc5b1de50e48fa9857b64091673883","9268959cff1006c82e6abbd73824db97",{"version":"7f738a67dc535e5476c63bf4ff0b9759","affectsGlobalScope":true,"impliedNodeFormat":1},"6b1f3649b0eabeaca20c778fcc5f270c","eb567c7b5824aab578f75bbccf9f4b05",{"version":"8df710e56bd27406fc117fb7433ae55c","affectsGlobalScope":true,"impliedNodeFormat":1},"c3dc85be36ae67b5371ca1e4270e7f46","d92ae047ecefd1ea6f15d92508c96cf7","13dffe6cbb50dd11b8ca76114e9b8975","912b0dbbb6bb4ad6fd6fe2cfa1fdf109","9aae89803f470f3f639dbfbb26d67eb5",{"version":"803b0e4e42d25332e9f22f1b5f31e50d","affectsGlobalScope":true,"impliedNodeFormat":1},"ca4dd245f2032f512d1330de2593acd9",{"version":"3585cc524c08b2eb40ab817052f89462","affectsGlobalScope":true,"impliedNodeFormat":1},"bb3aaf40646363c84e7f812662701116","af1e2149c50363a8e411f28cf33f26bd","f54c29ade8d0c2940399d6ce4c07f4d8","ed4ce0ea67836b63d1620265be339a88","25d3d41f8140ef5f43c8793a0e21a8e5","704e32e377e486f16b2694b56868448f","67fd4c2cdeac0ac2b2f81f5a4e5412a1","2ea95e525a73b274e90fcf3cc8007a3e",{"version":"77689727e0d7f721c301adf335d33c20","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"ab6f5c9037273b86bca0524fa3e203fb","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"4c7176d955002d7f1bf12f6f63b45843","affectsGlobalScope":true,"impliedNodeFormat":1},"75d8cc60a79ae5d8a9c9594b304a257e","88f4b91b3c8db819c38b9b146d3fde91","d43268f7a239fb3eacfdee00e48b953d","b6b079b1f78ec10c992182bad5ca395a","2f2991fcd85839574abe82038a21cc1a","6d84cddfb4b94eb6a020d1cba106eae4",{"version":"461a5f8e20bef2a3713a72a7e4916df1","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"b883f72bd7ab8c483d628ec63b4abd4a","affectsGlobalScope":true,"impliedNodeFormat":1},"b210cf73199ba01431d4c87407e1deea"],"fileIdsList":[[104,155,156,157,158,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,209,210,211,213,214,215,216,218,219,225,226,227,228,229,230,231,232,233,234,236],[104,156,157,158,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,209,210,211,213,214,215,216,218,219,225,226,227,228,229,230,231,232,233,234],[104,155,157,158,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,209,210,211,213,214,215,216,218,219,225,226,227,228,229,230,231,232,233,234],[104,155,156,158,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,209,210,211,213,214,215,216,218,219,225,226,227,228,229,230,231,232,233,234],[155,156,157,158,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,209,210,211,213,214,215,216,218,219,225,226,227,228,229,230,231,232,233,234],[104,155,156,157,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,209,210,211,213,214,215,216,218,219,225,226,227,228,229,230,231,232,233,234],[104,155,156,157,158,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,209,210,211,213,214,215,216,218,219,225,226,227,228,229,230,231,232,233,234],[104,155,156,157,158,159,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,209,210,211,213,214,215,216,218,219,225,226,227,228,229,230,231,232,233,234],[104,155,156,157,158,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,209,210,211,213,214,215,216,218,219,225,226,227,228,229,230,231,232,233,234],[104,155,156,157,158,159,160,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,209,210,211,213,214,215,216,218,219,225,226,227,228,229,230,231,232,233,234],[104,155,156,157,158,159,160,161,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,209,210,211,213,214,215,216,218,219,225,226,227,228,229,230,231,232,233,234],[104,155,156,157,158,159,160,161,162,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,209,210,211,213,214,215,216,218,219,225,226,227,228,229,230,231,232,233,234],[104,155,156,157,158,159,160,161,162,163,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,209,210,211,213,214,215,216,218,219,225,226,227,228,229,230,231,232,233,234],[104,155,156,157,158,159,160,161,162,163,164,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,209,210,211,213,214,215,216,218,219,225,226,227,228,229,230,231,232,233,234],[104,155,156,157,158,159,160,161,162,163,164,165,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,209,210,211,213,214,215,216,218,219,225,226,227,228,229,230,231,232,233,234],[104,155,156,157,158,159,160,161,162,163,164,165,166,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,209,210,211,213,214,215,216,218,219,225,226,227,228,229,230,231,232,233,234],[104,155,156,157,158,159,160,161,162,163,164,165,166,167,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,209,210,211,213,214,215,216,218,219,225,226,227,228,229,230,231,232,233,234],[104,155,156,157,158,159,160,161,162,163,164,165,166,167,168,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,209,210,211,213,214,215,216,218,219,225,226,227,228,229,230,231,232,233,234],[104,155,156,157,158,159,160,161,162,163,164,165,166,167,168,169,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,209,210,211,213,214,215,216,218,219,225,226,227,228,229,230,231,232,233,234],[104,155,156,157,158,159,160,161,162,163,164,165,166,167,168,169,170,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,209,210,211,213,214,215,216,218,219,225,226,227,228,229,230,231,232,233,234],[104,150,155,156,157,158,159,160,161,162,163,164,165,166,167,168,169,170,171,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,209,210,211,213,214,215,216,218,219,225,226,227,228,229,230,231,232,233,234],[104,155,156,157,158,159,160,161,162,163,164,165,166,167,168,169,170,171,172,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,209,210,211,213,214,215,216,218,219,225,226,227,228,229,230,231,232,233,234],[104,155,156,157,158,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,209,210,211,213,214,215,216,218,219,225,226,227,228,229,230,231,232,233,234],[102,103,104,105,106,107,108,109,151,152,153,154,155,156,157,158,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,209,210,211,213,214,215,216,218,219,225,226,227,228,229,230,231,232,233,234],[104,155,156,157,158,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,209,210,211,213,214,215,216,218,219,225,226,227,228,229,230,231,232,233,234],[104,155,156,157,158,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,209,210,211,213,214,215,216,218,219,225,226,227,228,229,230,231,232,233,234],[104,155,156,157,158,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,209,210,211,213,214,215,216,218,219,225,226,227,228,229,230,231,232,233,234],[104,155,156,157,158,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,209,210,211,213,214,215,216,218,219,225,226,227,228,229,230,231,232,233,234],[104,155,156,157,158,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,209,210,211,213,214,215,216,218,219,225,226,227,228,229,230,231,232,233,234],[104,155,156,157,158,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,209,210,211,213,214,215,216,218,219,225,226,227,228,229,230,231,232,233,234],[104,155,156,157,158,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,209,210,211,213,214,215,216,218,219,225,226,227,228,229,230,231,232,233,234],[104,155,156,157,158,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,209,210,211,213,214,215,216,218,219,225,226,227,228,229,230,231,232,233,234],[104,155,156,157,158,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,209,210,211,213,214,215,216,218,219,225,226,227,228,229,230,231,232,233,234],[104,155,156,157,158,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,209,210,211,213,214,215,216,218,219,225,226,227,228,229,230,231,232,233,234],[104,155,156,157,158,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,209,210,211,213,214,215,216,218,219,225,226,227,228,229,230,231,232,233,234],[104,155,156,157,158,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,209,210,211,213,214,215,216,218,219,225,226,227,228,229,230,231,232,233,234],[104,155,156,157,158,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,209,210,211,213,214,215,216,218,219,225,226,227,228,229,230,231,232,233,234],[104,155,156,157,158,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,209,210,211,213,214,215,216,218,219,225,226,227,228,229,230,231,232,233,234],[104,155,156,157,158,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,209,210,211,213,214,215,216,218,219,225,226,227,228,229,230,231,232,233,234],[104,155,156,157,158,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,209,210,211,213,214,215,216,218,219,225,226,227,228,229,230,231,232,233,234],[104,155,156,157,158,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,209,210,211,213,214,215,216,218,219,225,226,227,228,229,230,231,232,233,234],[104,155,156,157,158,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,209,210,211,213,214,215,216,218,219,225,226,227,228,229,230,231,232,233,234],[104,155,156,157,158,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,194,195,196,197,198,199,200,201,202,203,204,205,206,207,209,210,211,213,214,215,216,218,219,225,226,227,228,229,230,231,232,233,234],[104,155,156,157,158,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,195,196,197,198,199,200,201,202,203,204,205,206,207,209,210,211,213,214,215,216,218,219,225,226,227,228,229,230,231,232,233,234],[104,155,156,157,158,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,196,197,198,199,200,201,202,203,204,205,206,207,209,210,211,213,214,215,216,218,219,225,226,227,228,229,230,231,232,233,234],[104,155,156,157,158,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,197,198,199,200,201,202,203,204,205,206,207,209,210,211,213,214,215,216,218,219,225,226,227,228,229,230,231,232,233,234],[104,155,156,157,158,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,198,199,200,201,202,203,204,205,206,207,209,210,211,213,214,215,216,218,219,225,226,227,228,229,230,231,232,233,234],[104,155,156,157,158,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,199,200,201,202,203,204,205,206,207,209,210,211,213,214,215,216,218,219,225,226,227,228,229,230,231,232,233,234],[104,155,156,157,158,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,200,201,202,203,204,205,206,207,209,210,211,213,214,215,216,218,219,225,226,227,228,229,230,231,232,233,234],[104,155,156,157,158,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,201,202,203,204,205,206,207,209,210,211,213,214,215,216,218,219,225,226,227,228,229,230,231,232,233,234],[104,155,156,157,158,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,202,203,204,205,206,207,209,210,211,213,214,215,216,218,219,225,226,227,228,229,230,231,232,233,234],[104,155,156,157,158,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,203,204,205,206,207,209,210,211,213,214,215,216,218,219,225,226,227,228,229,230,231,232,233,234],[104,155,156,157,158,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,204,205,206,207,209,210,211,213,214,215,216,218,219,225,226,227,228,229,230,231,232,233,234],[104,155,156,157,158,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,205,206,207,209,210,211,213,214,215,216,218,219,225,226,227,228,229,230,231,232,233,234],[104,155,156,157,158,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,206,207,209,210,211,213,214,215,216,218,219,225,226,227,228,229,230,231,232,233,234],[104,150,155,156,157,158,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,209,210,211,213,214,215,216,218,219,225,226,227,228,229,230,231,232,233,234],[104,150,155,156,157,158,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,207,209,210,211,213,214,215,216,218,219,225,226,227,228,229,230,231,232,233,234],[104,155,156,157,158,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,209,210,211,213,214,215,216,218,219,225,226,227,228,229,230,231,232,233,234],[104,150,155,156,157,158,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,209,210,211,212,214,215,216,218,219,225,226,227,228,229,230,231,232,233,234],[104,155,156,157,158,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,209,210,211,213,214,215,216,218,219,225,226,227,228,229,230,231,232,233],[104,155,156,157,158,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,209,210,211,213,214,215,216,218,219,225,226,227,229,230,231,232,233,234],[104,155,156,157,158,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,209,210,211,213,214,216,218,219,225,226,227,228,229,230,231,232,233,234],[104,155,156,157,158,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,209,210,211,213,215,216,218,219,225,226,227,228,229,230,231,232,233,234],[104,150,155,156,157,158,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,209,210,213,214,215,216,218,219,225,226,227,228,229,230,231,232,233,234],[104,155,156,157,158,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,209,210,211,213,214,215,218,219,225,226,227,228,229,230,231,232,233,234],[104,150,155,156,157,158,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,210,211,213,214,215,216,218,219,225,226,227,228,229,230,231,232,233,234],[104,155,156,157,158,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209,210,211,213,214,215,216,217,218,219,225,226,227,228,229,230,231,232,233,234,235],[104,155,156,157,158,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,209,210,211,213,214,215,216,219,225,226,227,228,229,230,231,232,233,234],[14,104,105,155,156,157,158,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,209,210,211,213,214,215,216,218,219,225,226,228,229,230,231,232,233,234],[104,155,156,157,158,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,209,210,211,213,214,215,216,218,219,225,226,227,228,230,231,232,233,234],[104,155,156,157,158,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,209,211,213,214,215,216,218,219,225,226,227,228,229,230,231,232,233,234],[104,155,156,157,158,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,209,210,211,213,214,215,216,218,219,225,226,227,228,229,230,231,232,234],[104,155,156,157,158,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,209,210,211,213,214,215,216,218,219,225,226,227,228,229,230,232,233,234],[104,155,156,157,158,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,209,210,211,213,214,215,216,218,219,225,226,227,228,229,231,232,233,234],[104,155,156,157,158,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,209,210,211,213,214,215,216,218,219,225,226,227,228,229,230,231,233,234],[104,155,156,157,158,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,209,210,211,213,214,215,216,218,225,226,227,228,229,230,231,232,233,234],[104,155,156,157,158,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,209,210,211,213,214,215,216,218,219,224,226,227,228,229,230,231,232,233,234],[104,155,156,157,158,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,209,210,211,213,214,215,216,218,219,220,221,225,226,227,228,229,230,231,232,233,234],[104,155,156,157,158,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,209,210,211,213,214,215,216,218,219,220,221,222,223,225,226,227,228,229,230,231,232,233,234],[104,155,156,157,158,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,209,210,211,213,214,215,216,218,219,220,222,225,226,227,228,229,230,231,232,233,234],[104,155,156,157,158,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,209,210,211,213,214,215,216,218,219,220,225,226,227,228,229,230,231,232,233,234],[104,155,156,157,158,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,209,210,211,213,214,215,216,218,219,225,227,228,229,230,231,232,233,234],[104,116,119,122,123,155,156,157,158,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,209,210,211,213,214,215,216,218,219,225,226,227,228,229,230,231,232,233,234],[104,119,155,156,157,158,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,209,210,211,213,214,215,216,218,219,225,226,227,228,229,230,231,232,233,234],[104,119,123,155,156,157,158,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,209,210,211,213,214,215,216,218,219,225,226,227,228,229,230,231,232,233,234],[104,113,155,156,157,158,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,209,210,211,213,214,215,216,218,219,225,226,227,228,229,230,231,232,233,234],[104,117,155,156,157,158,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,209,210,211,213,214,215,216,218,219,225,226,227,228,229,230,231,232,233,234],[104,115,116,119,155,156,157,158,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,209,210,211,213,214,215,216,218,219,225,226,227,228,229,230,231,232,233,234],[104,155,156,157,158,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209,210,211,213,214,215,216,218,219,225,226,227,228,229,230,231,232,233,234],[104,113,155,156,157,158,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209,210,211,213,214,215,216,218,219,225,226,227,228,229,230,231,232,233,234],[104,115,119,155,156,157,158,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,209,210,211,213,214,215,216,218,219,225,226,227,228,229,230,231,232,233,234],[104,110,111,112,114,118,155,156,157,158,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,209,210,211,213,214,215,216,218,219,225,226,227,228,229,230,231,232,233,234],[104,119,127,135,155,156,157,158,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,209,210,211,213,214,215,216,218,219,225,226,227,228,229,230,231,232,233,234],[104,111,117,155,156,157,158,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,209,210,211,213,214,215,216,218,219,225,226,227,228,229,230,231,232,233,234],[104,119,144,145,155,156,157,158,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,209,210,211,213,214,215,216,218,219,225,226,227,228,229,230,231,232,233,234],[104,111,114,119,155,156,157,158,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209,210,211,213,214,215,216,218,219,225,226,227,228,229,230,231,232,233,234],[104,110,155,156,157,158,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,209,210,211,213,214,215,216,218,219,225,226,227,228,229,230,231,232,233,234],[104,113,114,115,117,118,119,120,121,123,124,125,126,127,128,129,130,131,132,133,134,135,136,137,138,139,140,141,142,143,145,146,147,148,149,155,156,157,158,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,209,210,211,213,214,215,216,218,219,225,226,227,228,229,230,231,232,233,234],[104,119,137,140,155,156,157,158,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,209,210,211,213,214,215,216,218,219,225,226,227,228,229,230,231,232,233,234],[104,119,127,128,129,155,156,157,158,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,209,210,211,213,214,215,216,218,219,225,226,227,228,229,230,231,232,233,234],[104,117,119,128,130,155,156,157,158,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,209,210,211,213,214,215,216,218,219,225,226,227,228,229,230,231,232,233,234],[104,118,155,156,157,158,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,209,210,211,213,214,215,216,218,219,225,226,227,228,229,230,231,232,233,234],[104,111,113,119,155,156,157,158,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,209,210,211,213,214,215,216,218,219,225,226,227,228,229,230,231,232,233,234],[104,119,123,128,130,155,156,157,158,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,209,210,211,213,214,215,216,218,219,225,226,227,228,229,230,231,232,233,234],[104,123,155,156,157,158,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,209,210,211,213,214,215,216,218,219,225,226,227,228,229,230,231,232,233,234],[104,117,119,122,155,156,157,158,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,209,210,211,213,214,215,216,218,219,225,226,227,228,229,230,231,232,233,234],[104,111,115,119,127,155,156,157,158,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,209,210,211,213,214,215,216,218,219,225,226,227,228,229,230,231,232,233,234],[104,119,137,155,156,157,158,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,209,210,211,213,214,215,216,218,219,225,226,227,228,229,230,231,232,233,234],[104,130,155,156,157,158,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,209,210,211,213,214,215,216,218,219,225,226,227,228,229,230,231,232,233,234],[104,113,119,144,155,156,157,158,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209,210,211,213,214,215,216,218,219,225,226,227,228,229,230,231,232,233,234],[92,104,155,156,157,158,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,209,210,211,213,214,215,216,218,219,225,226,227,228,229,230,231,232,233,234],[90,92,104,155,156,157,158,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,209,210,211,213,214,215,216,218,219,225,226,227,228,229,230,231,232,233,234],[90,92,93,94,95,104,155,156,157,158,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,209,210,211,213,214,215,216,218,219,225,226,227,228,229,230,231,232,233,234],[90,91,92,94,95,96,97,98,99,100,104,155,156,157,158,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,209,210,211,213,214,215,216,218,219,225,226,227,228,229,230,231,232,233,234],[91,104,155,156,157,158,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,209,210,211,213,214,215,216,218,219,225,226,227,228,229,230,231,232,233,234]],"options":{"composite":true,"emitDeclarationOnly":true,"declaration":true,"declarationMap":true,"experimentalDecorators":true,"jsx":4,"module":99,"noEmitOnError":true,"noImplicitOverride":true,"outDir":"./","skipLibCheck":true,"strict":true,"sourceMap":true,"target":7,"useDefineForClassFields":true,"allowSyntheticDefaultImports":true,"esModuleInterop":true},"referencedMap":[[237,1],[155,2],[156,3],[157,4],[104,5],[158,6],[159,7],[160,8],[102,9],[161,10],[162,11],[163,12],[164,13],[165,14],[166,15],[167,16],[168,17],[169,18],[170,19],[171,20],[105,9],[103,9],[172,21],[173,22],[174,23],[208,24],[175,25],[176,26],[177,27],[178,28],[179,29],[180,30],[181,31],[182,32],[183,33],[184,34],[185,35],[186,36],[187,37],[188,38],[189,39],[190,40],[192,41],[191,42],[193,43],[194,44],[195,45],[196,46],[197,47],[198,48],[199,49],[200,50],[201,51],[202,52],[203,53],[204,54],[205,55],[106,9],[107,9],[108,9],[109,9],[151,56],[152,9],[153,9],[154,9],[206,57],[207,58],[88,9],[89,9],[14,9],[15,9],[17,9],[16,9],[2,9],[18,9],[19,9],[20,9],[21,9],[22,9],[23,9],[24,9],[25,9],[3,9],[26,9],[27,9],[4,9],[28,9],[32,9],[29,9],[30,9],[31,9],[33,9],[34,9],[35,9],[5,9],[36,9],[37,9],[38,9],[39,9],[6,9],[43,9],[40,9],[41,9],[42,9],[44,9],[7,9],[45,9],[50,9],[51,9],[46,9],[47,9],[48,9],[49,9],[8,9],[55,9],[52,9],[53,9],[54,9],[56,9],[9,9],[57,9],[58,9],[59,9],[61,9],[60,9],[62,9],[63,9],[10,9],[64,9],[65,9],[66,9],[11,9],[67,9],[68,9],[69,9],[70,9],[71,9],[72,9],[12,9],[73,9],[74,9],[75,9],[76,9],[77,9],[1,9],[78,9],[79,9],[13,9],[80,9],[81,9],[82,9],[83,9],[84,9],[85,9],[86,9],[87,9],[213,59],[235,9],[234,60],[228,61],[215,62],[214,63],[211,64],[216,65],[209,66],[217,9],[236,67],[218,68],[212,9],[227,69],[229,70],[210,71],[233,72],[231,73],[230,74],[232,75],[219,76],[225,77],[222,78],[224,79],[223,80],[221,81],[220,9],[226,82],[127,83],[139,84],[125,85],[140,9],[149,86],[116,87],[117,88],[115,9],[148,89],[143,90],[147,91],[119,92],[136,93],[118,94],[146,95],[113,96],[114,90],[120,84],[121,9],[126,91],[124,84],[111,97],[150,98],[141,99],[130,100],[129,84],[131,101],[134,102],[128,103],[132,104],[144,89],[122,105],[123,106],[135,107],[112,9],[138,108],[137,84],[133,109],[142,9],[110,9],[145,110],[93,111],[91,112],[97,112],[94,111],[99,111],[98,112],[100,111],[96,113],[101,114],[90,111],[95,111],[92,115]],"latestChangedDtsFile":"./index.d.ts"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@contember/logger",
3
- "version": "2.2.0-alpha.18",
3
+ "version": "2.2.0-alpha.19",
4
4
  "license": "Apache-2.0",
5
5
  "sideEffects": false,
6
6
  "main": "./dist/production/index.js",
@@ -26,9 +26,6 @@
26
26
  "devDependencies": {
27
27
  "@types/node": "^24.12.0"
28
28
  },
29
- "dependencies": {
30
- "chalk": "^5.6.2"
31
- },
32
29
  "type": "module",
33
30
  "repository": {
34
31
  "type": "git",
@@ -1,19 +1,44 @@
1
- import chalk from 'chalk'
2
- import { inspect } from 'node:util'
1
+ import { inspect, styleText } from 'node:util'
3
2
  import { LogEntry, LoggerAttributes, LoggerHandler, LogLevel } from '../types.js'
4
3
  import { LogLevels } from '../levels.js'
5
4
 
5
+ export type LogTextStyle = Exclude<Parameters<typeof styleText>[0], readonly unknown[]>
6
+
7
+ /** Styles `text` with the given styles (outermost first); returns it unchanged when the terminal has no colors. */
8
+ export type LogTextStyler = (styles: LogTextStyle | readonly LogTextStyle[], text: string) => string
9
+
6
10
  export interface PrettyPrintLoggerHandlerOptions {
7
11
  logLevel: LogLevel
8
12
  formatters: {
9
13
  [key: string]: (
10
- args: { value: any; formattedValue: string; key: string; chalk: typeof chalk; attributes: LoggerAttributes },
14
+ args: { value: any; formattedValue: string; key: string; style: LogTextStyler; attributes: LoggerAttributes },
11
15
  ) => undefined | string | { line: string }
12
16
  }
13
17
  }
14
18
 
19
+ // Same detection as in @contember/cli-common colors.ts (logger cannot depend on it); keep them in sync.
20
+ const detectColorSupport = (): boolean => {
21
+ const forceColor = process.env.FORCE_COLOR
22
+ if (forceColor !== undefined) {
23
+ return forceColor !== '0' && forceColor !== 'false'
24
+ }
25
+ // hasColors() honours NO_COLOR, NODE_DISABLE_COLORS and TERM=dumb; Bun's non-TTY stdout has no hasColors.
26
+ const stdout = process.stdout
27
+ return stdout.isTTY === true && (typeof stdout.hasColors !== 'function' || stdout.hasColors())
28
+ }
29
+
30
+ const createStyler = (colors: boolean): LogTextStyler => (styles, text) => {
31
+ if (!colors) {
32
+ return text
33
+ }
34
+ const list: readonly LogTextStyle[] = typeof styles === 'string' ? [styles] : styles
35
+ // validateStream is off because the decision is ours; Bun ignores the option and Node < 22.13 lacks it.
36
+ return list.reduceRight((result, current) => styleText(current, result, { validateStream: false }), text)
37
+ }
38
+
15
39
  export class PrettyPrintLoggerHandler implements LoggerHandler {
16
40
  private readonly options: PrettyPrintLoggerHandlerOptions
41
+ private readonly style: LogTextStyler = createStyler(detectColorSupport())
17
42
 
18
43
  constructor(
19
44
  private readonly stream: NodeJS.WritableStream,
@@ -50,13 +75,13 @@ export class PrettyPrintLoggerHandler implements LoggerHandler {
50
75
  depth: 5,
51
76
  }).replaceAll(/\n/g, '\n' + indent)
52
77
  const formattedValue2 = this.options.formatters[key]
53
- ? (this.options.formatters[key]({ value, key, formattedValue, chalk, attributes: allAttributes }))
78
+ ? (this.options.formatters[key]({ value, key, formattedValue, style: this.style, attributes: allAttributes }))
54
79
  : formattedValue
55
80
  if (formattedValue2 === undefined) {
56
81
  continue
57
82
  }
58
83
  if (typeof formattedValue2 === 'string') {
59
- this.stream.write(indent + chalk.dim(`${key}: ${formattedValue2}\n`))
84
+ this.stream.write(indent + this.style('dim', `${key}: ${formattedValue2}\n`))
60
85
  } else {
61
86
  this.stream.write(indent + formattedValue2.line + '\n')
62
87
  }
@@ -71,22 +96,18 @@ export class PrettyPrintLoggerHandler implements LoggerHandler {
71
96
  if (!result) {
72
97
  return date
73
98
  }
74
- return chalk.dim(result[1] + 'T') + result[2] + chalk.dim('.' + result[3] + 'Z')
99
+ return this.style('dim', result[1] + 'T') + result[2] + this.style('dim', '.' + result[3] + 'Z')
75
100
  }
76
101
 
77
102
  private formatLevel(level: LogLevel): string {
78
103
  const levelText = `${level.name}${' '.repeat(5 - level.name.length)}`
79
- let color = chalk
80
104
  if (level.value <= 10) {
81
- color = color.dim
82
- } else if (level.value <= 20) {
83
- // nothing
84
- } else if (level.value <= 30) {
85
- color = color.yellowBright
86
- } else {
87
- color = color.redBright
105
+ return this.style('dim', levelText)
106
+ }
107
+ if (level.value <= 20) {
108
+ return levelText
88
109
  }
89
- return color(levelText)
110
+ return this.style(level.value <= 30 ? 'yellowBright' : 'redBright', levelText)
90
111
  }
91
112
 
92
113
  close(): void {
@@ -0,0 +1,60 @@
1
+ import { afterEach, describe, expect, test } from 'bun:test'
2
+ import { Writable } from 'node:stream'
3
+ import { createLogger, LogTextStyler, PrettyPrintLoggerHandler } from '../../../src/index.js'
4
+
5
+ const originalForceColor = process.env.FORCE_COLOR
6
+
7
+ afterEach(() => {
8
+ if (originalForceColor === undefined) {
9
+ delete process.env.FORCE_COLOR
10
+ } else {
11
+ process.env.FORCE_COLOR = originalForceColor
12
+ }
13
+ })
14
+
15
+ const capture = () => {
16
+ const chunks: string[] = []
17
+ const stream = new Writable({
18
+ write(chunk, _encoding, callback) {
19
+ chunks.push(String(chunk))
20
+ callback()
21
+ },
22
+ })
23
+ return { stream, text: () => chunks.join('') }
24
+ }
25
+
26
+ const logWithFormatter = () => {
27
+ const { stream, text } = capture()
28
+ let receivedStyle: LogTextStyler | undefined
29
+ const handler = new PrettyPrintLoggerHandler(stream, {
30
+ formatters: {
31
+ uri: ({ attributes, style }) => {
32
+ receivedStyle = style
33
+ return { line: style('green', `GET ${attributes.uri}`) }
34
+ },
35
+ },
36
+ })
37
+ createLogger(handler).warn('hello', { uri: '/x', other: 1 })
38
+ return { text: text(), receivedStyle }
39
+ }
40
+
41
+ describe('PrettyPrintLoggerHandler', () => {
42
+ test('writes plain text when colors are off', () => {
43
+ process.env.FORCE_COLOR = '0'
44
+ const { text, receivedStyle } = logWithFormatter()
45
+ expect(text).toMatch(/^\d{4}-\d\d-\d\dT[\d:]+\.\d+Z warn {2}hello\n/)
46
+ expect(text).toContain('GET /x\n')
47
+ expect(text).toContain('other: 1\n')
48
+ expect(text).not.toContain('\u001b[')
49
+ expect(receivedStyle?.(['bold', 'red'], 'x')).toBe('x')
50
+ })
51
+
52
+ test('styles the level, attributes and formatter output when colors are forced', () => {
53
+ process.env.FORCE_COLOR = '1'
54
+ const { text, receivedStyle } = logWithFormatter()
55
+ expect(text).toContain('\u001b[93mwarn \u001b[39m')
56
+ expect(text).toContain('\u001b[32mGET /x\u001b[39m\n')
57
+ expect(text).toContain('\u001b[2mother: 1\n\u001b[22m')
58
+ expect(receivedStyle?.(['bold', 'red'], 'x')).toBe('\u001b[1m\u001b[31mx\u001b[39m\u001b[22m')
59
+ })
60
+ })
@@ -1,27 +1,26 @@
1
1
  import { describe, expect, test } from 'bun:test'
2
2
  import { fileURLToPath } from 'node:url'
3
3
 
4
- // chalk stays external so the bundler cannot see whether it is side-effect free, as with chalk 4 (CommonJS)
5
4
  const bundle = async (fixture: string): Promise<string> => {
6
5
  const result = await Bun.build({
7
6
  entrypoints: [fileURLToPath(new URL(`./fixtures/${fixture}`, import.meta.url))],
8
7
  target: 'node',
9
- external: ['chalk'],
10
8
  })
11
9
  expect(result.success).toBe(true)
12
10
  return await result.outputs[0].text()
13
11
  }
14
12
 
15
13
  describe('tree shaking', () => {
16
- test('a bundle without the pretty print handler does not import chalk', async () => {
14
+ test('a bundle without the pretty print handler drops it and its color detection', async () => {
17
15
  const code = await bundle('jsonHandlerConsumer.ts')
18
16
  expect(code).toContain('JsonStreamLoggerHandler')
19
- expect(code).not.toContain('chalk')
17
+ expect(code).not.toContain('PrettyPrintLoggerHandler')
18
+ expect(code).not.toContain('styleText')
20
19
  })
21
20
 
22
- test('a bundle with the pretty print handler imports chalk', async () => {
21
+ test('a bundle with the pretty print handler keeps it', async () => {
23
22
  const code = await bundle('prettyPrintHandlerConsumer.ts')
24
23
  expect(code).toContain('PrettyPrintLoggerHandler')
25
- expect(code).toContain('chalk')
24
+ expect(code).toContain('styleText')
26
25
  })
27
26
  })