@shell-shock/plugin-console 0.2.6 → 0.2.8

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.
@@ -324,17 +324,18 @@ function AnsiStyleFunctionsDeclaration() {
324
324
  doubleHardline: true,
325
325
  enderPunctuation: true,
326
326
  children: (modifier) => [(0, _alloy_js_core_jsx_runtime.createComponent)(_powerlines_plugin_alloy_typescript_components_tsdoc.TSDoc, {
327
- heading: `A function that applies ${modifier} styling to provided console text.`,
327
+ get heading() {
328
+ return `A function that applies ${(0, _stryke_string_format_vowels.getIndefiniteArticle)((0, _stryke_string_format.titleCase)(modifier))} ${(0, _stryke_string_format.titleCase)(modifier)} text-style to provided console text.`;
329
+ },
328
330
  get children() {
329
- return [
330
- (0, _alloy_js_core_jsx_runtime.createComponent)(_powerlines_plugin_alloy_typescript_components_tsdoc.TSDocRemarks, { children: `This function takes a string and an optional boolean indicating whether to apply the color as a background. It returns the input string wrapped in the appropriate ANSI escape codes for the specified color, based on the terminal's color support level. If colors are not supported, it simply returns the input text as a string.` }),
331
- (0, _alloy_js_core_jsx_runtime.createIntrinsic)("hbr", {}),
332
- (0, _alloy_js_core_jsx_runtime.createComponent)(_powerlines_plugin_alloy_typescript_components_tsdoc.TSDocParam, {
333
- name: "text",
334
- children: `The console text to which the ${modifier} styling should be applied.`
335
- }),
336
- (0, _alloy_js_core_jsx_runtime.createComponent)(_powerlines_plugin_alloy_typescript_components_tsdoc.TSDocReturns, { children: `A string with ANSI escape codes applied for ${modifier} styling, or the original text if the style is not supported in the current terminal.` })
337
- ];
331
+ return [(0, _alloy_js_core_jsx_runtime.createComponent)(_powerlines_plugin_alloy_typescript_components_tsdoc.TSDocParam, {
332
+ name: "text",
333
+ get children() {
334
+ return `The console text to which the ${(0, _stryke_string_format.titleCase)(modifier)} text-style should be applied.`;
335
+ }
336
+ }), (0, _alloy_js_core_jsx_runtime.createComponent)(_powerlines_plugin_alloy_typescript_components_tsdoc.TSDocReturns, { get children() {
337
+ return `A string with ANSI escape codes applied for ${(0, _stryke_string_format.titleCase)(modifier)} text-style, or the original text if the style is not supported in the current terminal.`;
338
+ } })];
338
339
  }
339
340
  }), (0, _alloy_js_core_jsx_runtime.createComponent)(_alloy_js_typescript.VarDeclaration, {
340
341
  "const": true,
@@ -365,16 +366,28 @@ function AnsiStyleFunctionsDeclaration() {
365
366
  doubleHardline: true,
366
367
  enderPunctuation: true,
367
368
  children: (color) => [(0, _alloy_js_core_jsx_runtime.createComponent)(_powerlines_plugin_alloy_typescript_components_tsdoc.TSDoc, {
368
- heading: `A helper function to color the provided text as ${color}.`,
369
+ get heading() {
370
+ return `A function that applies ${(0, _stryke_string_format_vowels.getIndefiniteArticle)((0, _stryke_string_format.titleCase)(color))} ${(0, _stryke_string_format.titleCase)(color)} color styling to provided console text.`;
371
+ },
369
372
  get children() {
370
373
  return [
371
- (0, _alloy_js_core_jsx_runtime.createComponent)(_powerlines_plugin_alloy_typescript_components_tsdoc.TSDocRemarks, { children: `This function takes a string and an optional boolean indicating whether to apply the color as a background. It returns the input string wrapped in the appropriate ANSI escape codes for the specified color, based on the terminal's color support level. If colors are not supported, it simply returns the input text as a string.` }),
374
+ (0, _alloy_js_core_jsx_runtime.createComponent)(_powerlines_plugin_alloy_typescript_components_tsdoc.TSDocRemarks, { get children() {
375
+ return `This function takes a string and an optional boolean indicating whether to apply the color as a background. It returns the input string wrapped in the appropriate ANSI escape codes for ${(0, _stryke_string_format_vowels.getIndefiniteArticle)((0, _stryke_string_format.titleCase)(color))} ${(0, _stryke_string_format.titleCase)(color)} color styling, based on the terminal's color support level. If colors are not supported, it simply returns the input text as a string.`;
376
+ } }),
372
377
  (0, _alloy_js_core_jsx_runtime.createIntrinsic)("hbr", {}),
373
378
  (0, _alloy_js_core_jsx_runtime.createComponent)(_powerlines_plugin_alloy_typescript_components_tsdoc.TSDocParam, {
374
379
  name: "text",
375
- children: `The console text to which the ${color} color should be applied.`
380
+ get children() {
381
+ return `The console text to which the ${(0, _stryke_string_format.titleCase)(color)} color styling should be applied.`;
382
+ }
376
383
  }),
377
- (0, _alloy_js_core_jsx_runtime.createComponent)(_powerlines_plugin_alloy_typescript_components_tsdoc.TSDocReturns, { children: `A string with ANSI escape codes applied for ${color} color, or the original text if the color is not supported in the current terminal.` })
384
+ (0, _alloy_js_core_jsx_runtime.createComponent)(_powerlines_plugin_alloy_typescript_components_tsdoc.TSDocParam, {
385
+ name: "background",
386
+ children: `A boolean indicating whether to apply the color as a background. Defaults to \`false\`.`
387
+ }),
388
+ (0, _alloy_js_core_jsx_runtime.createComponent)(_powerlines_plugin_alloy_typescript_components_tsdoc.TSDocReturns, { get children() {
389
+ return `A string with ANSI escape codes applied for ${(0, _stryke_string_format.titleCase)(color)} color styling, or the original text if the style is not supported in the current terminal.`;
390
+ } })
378
391
  ];
379
392
  }
380
393
  }), (0, _alloy_js_core_jsx_runtime.createComponent)(_alloy_js_typescript.VarDeclaration, {
@@ -535,6 +548,54 @@ function SplitTextFunctionDeclaration() {
535
548
  const openSequence = openCodes.join("");
536
549
 
537
550
  return [first.replace(/^\\s+/, "").replace(/\\s+$/, "") + closeSequence, openSequence + second.replace(/^\\s+/, "").replace(/\\s+$/, "")]; `
551
+ }),
552
+ (0, _alloy_js_core_jsx_runtime.createComponent)(_powerlines_plugin_alloy_core_components_spacing.Spacing, {}),
553
+ (0, _alloy_js_core_jsx_runtime.createComponent)(_alloy_js_typescript.FunctionDeclaration, {
554
+ name: "innerSplitText",
555
+ parameters: [{
556
+ name: "text",
557
+ type: "string"
558
+ }, {
559
+ name: "maxLength",
560
+ type: "number | SizeToken"
561
+ }],
562
+ children: _alloy_js_core.code`let line = text;
563
+ let result = [] as string[];
564
+
565
+ const calculatedMaxLength = isSizeToken(maxLength) ? calculateWidth(maxLength) : maxLength;
566
+ while (stripAnsi(line).length > calculatedMaxLength || line.indexOf("\\n") !== -1) {
567
+ if (line.indexOf("\\n") !== -1) {
568
+ result.push(...innerSplitText(line.slice(0, line.indexOf("\\n")).replace(/(\\r)?\\n/, ""), calculatedMaxLength));
569
+ line = line.indexOf("\\n") + 1 < line.length
570
+ ? line.slice(line.indexOf("\\n") + 1)
571
+ : "";
572
+ } else {
573
+ const index = [" ", "/", ".", ",", "-", ":", "|", "@", "+"].reduce((ret, split) => {
574
+ let current = ret;
575
+ while (stripAnsi(line).indexOf(split, current + 1) !== -1 && stripAnsi(line).indexOf(split, current + 1) <= calculatedMaxLength) {
576
+ current = line.indexOf(split, adjustIndex(line, current + 1));
577
+ }
578
+
579
+ return current;
580
+ }, -1);
581
+ if (index === -1) {
582
+ break;
583
+ }
584
+
585
+ const lines = breakLine(line, index);
586
+ result.push(lines[0]);
587
+ line = lines[1];
588
+ }
589
+ }
590
+
591
+ while (stripAnsi(line).length > calculatedMaxLength) {
592
+ const lines = breakLine(line, calculatedMaxLength);
593
+ result.push(lines[0]);
594
+ line = lines[1];
595
+ }
596
+
597
+ result.push(line);
598
+ return result; `
538
599
  }),
539
600
  (0, _alloy_js_core_jsx_runtime.createComponent)(_powerlines_plugin_alloy_core_components_spacing.Spacing, {}),
540
601
  (0, _alloy_js_core_jsx_runtime.createComponent)(_powerlines_plugin_alloy_typescript_components_tsdoc.TSDoc, {
@@ -564,45 +625,16 @@ function SplitTextFunctionDeclaration() {
564
625
  name: "maxLength",
565
626
  type: "number | SizeToken"
566
627
  }],
567
- children: _alloy_js_core.code`
568
- let line = text;
569
- let result = [] as string[];
570
-
571
- const calculatedMaxLength = isSizeToken(maxLength) ? calculateWidth(maxLength) : maxLength;
572
- while (stripAnsi(line).length > calculatedMaxLength || line.indexOf("\\n") !== -1) {
573
- if (line.indexOf("\\n") !== -1) {
574
- result.push(...splitText(line.slice(0, line.indexOf("\\n")).replace(/(\\r)?\\n/, ""), calculatedMaxLength));
575
- line = line.indexOf("\\n") + 1 < line.length
576
- ? line.slice(line.indexOf("\\n") + 1)
577
- : "";
578
- } else {
579
- const index = [" ", "/", ".", ",", "-", ":", "|", "@", "+"].reduce((ret, split) => {
580
- let current = ret;
581
- while (stripAnsi(line).indexOf(split, current + 1) !== -1 && stripAnsi(line).indexOf(split, current + 1) <= calculatedMaxLength) {
582
- current = line.indexOf(split, adjustIndex(line, current + 1));
628
+ children: _alloy_js_core.code`const timeout = setTimeout(() => {
629
+ throw new Error("Text splitting took too long, likely due to a very long line without spaces or a very small maxLength. Please ensure that the input text contains reasonable break points and that maxLength is set to a reasonable value.");
630
+ }, 1000);
631
+
632
+ try {
633
+ return innerSplitText(text, maxLength);
634
+ } finally {
635
+ clearTimeout(timeout);
583
636
  }
584
-
585
- return current;
586
- }, -1);
587
- if (index === -1) {
588
- break;
589
- }
590
-
591
- const lines = breakLine(line, index);
592
- result.push(lines[0]);
593
- line = lines[1];
594
- }
595
- }
596
-
597
- while (stripAnsi(line).length > calculatedMaxLength) {
598
- const lines = breakLine(line, calculatedMaxLength);
599
- result.push(lines[0]);
600
- line = lines[1];
601
- }
602
-
603
- result.push(line);
604
- return result;
605
- `
637
+ `
606
638
  })
607
639
  ];
608
640
  }
@@ -1027,65 +1059,86 @@ function DividerFunctionDeclaration() {
1027
1059
  */
1028
1060
  function LinkFunctionDeclaration() {
1029
1061
  const theme = (0, _shell_shock_plugin_theme_contexts_theme.useTheme)();
1030
- return [(0, _alloy_js_core_jsx_runtime.createComponent)(_powerlines_plugin_alloy_typescript_components_tsdoc.TSDoc, {
1031
- heading: "Render a hyperlink in the console.",
1032
- get children() {
1033
- return [
1034
- (0, _alloy_js_core_jsx_runtime.createComponent)(_powerlines_plugin_alloy_typescript_components_tsdoc.TSDocParam, {
1035
- name: "url",
1036
- children: `The URL to render as a hyperlink.`
1037
- }),
1038
- (0, _alloy_js_core_jsx_runtime.createComponent)(_powerlines_plugin_alloy_typescript_components_tsdoc.TSDocParam, {
1039
- name: "textOrExternal",
1040
- children: `The text to display for the link or a boolean indicating whether the link is external. If no text is provided, the URL will be used as the text. If a boolean is provided and is true, the URL will be used as the text and the link will be rendered as an external link.`
1041
- }),
1042
- (0, _alloy_js_core_jsx_runtime.createComponent)(_powerlines_plugin_alloy_typescript_components_tsdoc.TSDocParam, {
1043
- name: "external",
1044
- children: `A boolean indicating whether the link is external. If true, the link will be rendered as an external link.`
1045
- }),
1046
- (0, _alloy_js_core_jsx_runtime.createComponent)(_powerlines_plugin_alloy_typescript_components_tsdoc.TSDocReturns, { children: `The formatted hyperlink string.` })
1047
- ];
1048
- }
1049
- }), (0, _alloy_js_core_jsx_runtime.createComponent)(_alloy_js_typescript.FunctionDeclaration, {
1050
- "export": true,
1051
- name: "link",
1052
- parameters: [
1053
- {
1062
+ return [
1063
+ (0, _alloy_js_core_jsx_runtime.createComponent)(_alloy_js_typescript.InterfaceDeclaration, {
1064
+ "export": true,
1065
+ name: "LinkOptions",
1066
+ doc: "Options for formatting a hyperlink in the console.",
1067
+ get children() {
1068
+ return [
1069
+ (0, _alloy_js_core_jsx_runtime.createComponent)(_alloy_js_typescript.InterfaceMember, {
1070
+ name: "external",
1071
+ optional: true,
1072
+ type: "boolean",
1073
+ doc: "Whether the link is external. If true, an external link icon will be displayed next to the link text (if supported by the terminal) and the link may be styled differently based on the current theme configuration."
1074
+ }),
1075
+ (0, _alloy_js_core_jsx_runtime.createComponent)(_powerlines_plugin_alloy_core_components_spacing.Spacing, {}),
1076
+ (0, _alloy_js_core_jsx_runtime.createComponent)(_alloy_js_typescript.InterfaceMember, {
1077
+ name: "text",
1078
+ optional: true,
1079
+ type: "string",
1080
+ doc: "The text to display for the link. If not provided, the URL will be used as the text."
1081
+ }),
1082
+ (0, _alloy_js_core_jsx_runtime.createComponent)(_powerlines_plugin_alloy_core_components_spacing.Spacing, {}),
1083
+ (0, _alloy_js_core_jsx_runtime.createComponent)(_alloy_js_typescript.InterfaceMember, {
1084
+ name: "useTextWhenUnsupported",
1085
+ optional: true,
1086
+ type: "boolean",
1087
+ doc: "Whether to use the text when the hyperlink is not supported. If true, the text will be displayed even if the terminal does not support hyperlinks."
1088
+ })
1089
+ ];
1090
+ }
1091
+ }),
1092
+ (0, _alloy_js_core_jsx_runtime.createComponent)(_powerlines_plugin_alloy_core_components_spacing.Spacing, {}),
1093
+ (0, _alloy_js_core_jsx_runtime.createComponent)(_powerlines_plugin_alloy_typescript_components_tsdoc.TSDoc, {
1094
+ heading: "Render a hyperlink in the console.",
1095
+ get children() {
1096
+ return [
1097
+ (0, _alloy_js_core_jsx_runtime.createComponent)(_powerlines_plugin_alloy_typescript_components_tsdoc.TSDocParam, {
1098
+ name: "url",
1099
+ children: `The URL to render as a hyperlink.`
1100
+ }),
1101
+ (0, _alloy_js_core_jsx_runtime.createComponent)(_powerlines_plugin_alloy_typescript_components_tsdoc.TSDocParam, {
1102
+ name: "options",
1103
+ children: `Options for formatting the hyperlink.`
1104
+ }),
1105
+ (0, _alloy_js_core_jsx_runtime.createComponent)(_powerlines_plugin_alloy_typescript_components_tsdoc.TSDocReturns, { children: `The formatted hyperlink string for display in the console.` })
1106
+ ];
1107
+ }
1108
+ }),
1109
+ (0, _alloy_js_core_jsx_runtime.createComponent)(_alloy_js_typescript.FunctionDeclaration, {
1110
+ "export": true,
1111
+ name: "link",
1112
+ parameters: [{
1054
1113
  name: "url",
1055
1114
  type: "string",
1056
1115
  optional: false
1057
- },
1058
- {
1059
- name: "textOrExternal",
1060
- type: "string | boolean",
1061
- optional: true
1062
- },
1063
- {
1064
- name: "external",
1065
- type: "boolean",
1066
- optional: true
1116
+ }, {
1117
+ name: "options",
1118
+ type: "LinkOptions",
1119
+ default: "{}"
1120
+ }],
1121
+ get children() {
1122
+ return [
1123
+ (0, _alloy_js_core_jsx_runtime.createComponent)(_alloy_js_typescript.IfStatement, {
1124
+ condition: _alloy_js_core.code`isHyperlinkSupported()`,
1125
+ get children() {
1126
+ return _alloy_js_core.code`return \`\\x1b]8;;\${url}\\u0007\${options.text ? options.text : url}\\x1b]8;;\\u0007\${options.external === true ? "${theme.icons.link.external}" : ""}\`;`;
1127
+ }
1128
+ }),
1129
+ (0, _alloy_js_core_jsx_runtime.createIntrinsic)("hbr", {}),
1130
+ (0, _alloy_js_core_jsx_runtime.createComponent)(_alloy_js_typescript.IfStatement, {
1131
+ condition: _alloy_js_core.code`isColorSupported`,
1132
+ get children() {
1133
+ return _alloy_js_core.code`return \`\${underline(textColors.body.link(\`\${options.useTextWhenUnsupported && options.text ? options.text : url}\`))}\${options.external === true ? "${theme.icons.link.external}" : ""}\`;`;
1134
+ }
1135
+ }),
1136
+ (0, _alloy_js_core_jsx_runtime.createIntrinsic)("hbr", {}),
1137
+ (0, _alloy_js_core_jsx_runtime.memo)(() => _alloy_js_core.code`return \`\${options.useTextWhenUnsupported && options.text ? options.text : url}\${options.external === true ? "${theme.icons.link.external}" : ""}\`;`)
1138
+ ];
1067
1139
  }
1068
- ],
1069
- get children() {
1070
- return [
1071
- (0, _alloy_js_core_jsx_runtime.createComponent)(_alloy_js_typescript.IfStatement, {
1072
- condition: _alloy_js_core.code`isHyperlinkSupported()`,
1073
- get children() {
1074
- return _alloy_js_core.code`return \`\\x1b]8;;\${url}\\u0007\${typeof textOrExternal === "string" && textOrExternal ? textOrExternal : url}\\x1b]8;;\\u0007\${external === true || textOrExternal === true ? "${theme.icons.link.external}" : ""}\`;`;
1075
- }
1076
- }),
1077
- (0, _alloy_js_core_jsx_runtime.createIntrinsic)("hbr", {}),
1078
- (0, _alloy_js_core_jsx_runtime.createComponent)(_alloy_js_typescript.IfStatement, {
1079
- condition: _alloy_js_core.code`isColorSupported`,
1080
- get children() {
1081
- return _alloy_js_core.code`return \`\${underline(textColors.body.link(\`\${url}\`))}\${external === true || textOrExternal === true ? "${theme.icons.link.external}" : ""}\`;`;
1082
- }
1083
- }),
1084
- (0, _alloy_js_core_jsx_runtime.createIntrinsic)("hbr", {}),
1085
- (0, _alloy_js_core_jsx_runtime.memo)(() => _alloy_js_core.code`return \`\${url}\${external === true || textOrExternal === true ? "${theme.icons.link.external}" : ""}\`;`)
1086
- ];
1087
- }
1088
- })];
1140
+ })
1141
+ ];
1089
1142
  }
1090
1143
  /**
1091
1144
  * A component to generate the `blockquote` function declaration
@@ -2452,25 +2505,14 @@ function ConsoleBuiltin(props) {
2452
2505
  description: "A collection of helper utilities to assist in generating content meant for display in the console.",
2453
2506
  get imports() {
2454
2507
  return (0, defu.defu)(imports, {
2455
- "@shell-shock/plugin-theme/types/theme": [{
2456
- name: "ThemeColorsResolvedConfig",
2457
- type: true
2458
- }, {
2459
- name: "ThemeSpinnerResolvedConfig",
2460
- type: true
2461
- }],
2462
- "@shell-shock/plugin-theme/helpers/spinners": [{
2463
- name: "SpinnerPreset",
2464
- type: true
2465
- }, { name: "resolveSpinner" }],
2466
- "node:buffer": ["WithImplicitCoercion"],
2508
+ "@shell-shock/plugin-theme/types/theme": ["ThemeSpinnerResolvedConfig"],
2509
+ "@shell-shock/plugin-theme/helpers/spinners": ["SpinnerPreset", "resolveSpinner"],
2467
2510
  "node:util": ["stripVTControlCharacters"]
2468
2511
  });
2469
2512
  },
2470
2513
  get builtinImports() {
2471
2514
  return (0, defu.defu)(builtinImports, {
2472
2515
  utils: [
2473
- "isMinimal",
2474
2516
  "isInteractive",
2475
2517
  "isColorSupported",
2476
2518
  "colorSupportLevels",
@@ -2584,7 +2626,7 @@ function ConsoleBuiltin(props) {
2584
2626
  timestamp: true,
2585
2627
  parameters: [{
2586
2628
  name: "err",
2587
- type: "string | Error",
2629
+ type: "string | { message: string; stack?: string }",
2588
2630
  optional: false
2589
2631
  }, {
2590
2632
  name: "header",
@@ -2600,19 +2642,26 @@ function ConsoleBuiltin(props) {
2600
2642
  }),
2601
2643
  (0, _alloy_js_core_jsx_runtime.createComponent)(_powerlines_plugin_alloy_core_components_spacing.Spacing, {}),
2602
2644
  (0, _alloy_js_core_jsx_runtime.createComponent)(_alloy_js_typescript.IfStatement, {
2603
- condition: _alloy_js_core.code`(err as Error)?.message`,
2604
- children: _alloy_js_core.code`message = (err as Error).message;`
2645
+ condition: _alloy_js_core.code`(err as { message: string; stack?: string })?.message`,
2646
+ children: _alloy_js_core.code`message = (err as { message: string; stack?: string }).message;`
2605
2647
  }),
2606
2648
  (0, _alloy_js_core_jsx_runtime.createComponent)(_alloy_js_typescript.ElseClause, { children: _alloy_js_core.code`message = String(err);` }),
2607
2649
  (0, _alloy_js_core_jsx_runtime.createComponent)(_powerlines_plugin_alloy_core_components_spacing.Spacing, {}),
2608
2650
  (0, _alloy_js_core_jsx_runtime.createComponent)(_alloy_js_typescript.IfStatement, {
2609
- condition: _alloy_js_core.code`env.STACKTRACE`,
2610
- get children() {
2611
- return [(0, _alloy_js_core_jsx_runtime.createComponent)(_alloy_js_typescript.IfStatement, {
2612
- condition: _alloy_js_core.code`(err as Error)?.stack`,
2613
- children: _alloy_js_core.code`message += " \\n\\n" + ((err as Error).stack || "");`
2614
- }), (0, _alloy_js_core_jsx_runtime.createComponent)(_alloy_js_typescript.ElseClause, { children: _alloy_js_core.code`message += " \\n\\n" + ((new Error(" ")).stack || "").split("\\n").slice(2).map(line => line.trim()).join("\\n");` })];
2615
- }
2651
+ condition: _alloy_js_core.code`env.STACKTRACE && typeof err === "object" && (err as { stack?: string })?.stack`,
2652
+ children: _alloy_js_core.code`message += " \\n\\n" + (err as { stack?: string })?.stack
2653
+ .split("\\n")
2654
+ .slice(1)
2655
+ .map(line => {
2656
+ const match = line.match(/at (?:(.+?)\\s+\\()?(?:(.+?):(\\d+)(?::(\\d+))?|([^)]+))\\)?/);
2657
+ if (match) {
2658
+ const filePath = match[2] || match[5] || "<unknown>";
2659
+ return \`at \${match[1] || "<anonymous>"} (\${filePath === "<anonymous>" || filePath === "<unknown>" ? filePath : link(filePath, { text: \`\${filePath.replace(/^.*file:\\/\\//, "")}\${match[3] ? \`:\${match[3]}\${match[4] ? \`:\${match[4]}\` : ""}\` : ""}\`, useTextWhenUnsupported: true })})\`;
2660
+ }
2661
+
2662
+ return line.trim();
2663
+ })
2664
+ .join("\\n"); `
2616
2665
  })
2617
2666
  ];
2618
2667
  }
@@ -1 +1 @@
1
- {"version":3,"file":"console-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