@copilotkit/aimock 1.12.0 → 1.13.0

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.
Files changed (178) hide show
  1. package/.claude-plugin/marketplace.json +1 -1
  2. package/.claude-plugin/plugin.json +1 -1
  3. package/README.md +20 -2
  4. package/dist/_virtual/_rolldown/runtime.cjs +2 -0
  5. package/dist/_virtual/_rolldown/runtime.js +29 -0
  6. package/dist/a2a-types.d.cts.map +1 -1
  7. package/dist/a2a-types.d.ts.map +1 -1
  8. package/dist/aimock-cli.cjs +16 -0
  9. package/dist/aimock-cli.cjs.map +1 -1
  10. package/dist/aimock-cli.d.cts +2 -0
  11. package/dist/aimock-cli.d.cts.map +1 -1
  12. package/dist/aimock-cli.d.ts +2 -0
  13. package/dist/aimock-cli.d.ts.map +1 -1
  14. package/dist/aimock-cli.js +16 -0
  15. package/dist/aimock-cli.js.map +1 -1
  16. package/dist/config-loader.d.cts.map +1 -1
  17. package/dist/convert-mockllm.cjs +232 -0
  18. package/dist/convert-mockllm.cjs.map +1 -0
  19. package/dist/convert-mockllm.js +230 -0
  20. package/dist/convert-mockllm.js.map +1 -0
  21. package/dist/convert-vidaimock.cjs +110 -0
  22. package/dist/convert-vidaimock.cjs.map +1 -0
  23. package/dist/convert-vidaimock.js +108 -0
  24. package/dist/convert-vidaimock.js.map +1 -0
  25. package/dist/convert.cjs +158 -0
  26. package/dist/convert.cjs.map +1 -0
  27. package/dist/convert.d.cts +16 -0
  28. package/dist/convert.d.cts.map +1 -0
  29. package/dist/convert.d.ts +16 -0
  30. package/dist/convert.d.ts.map +1 -0
  31. package/dist/convert.js +157 -0
  32. package/dist/convert.js.map +1 -0
  33. package/dist/jest.cjs +70 -0
  34. package/dist/jest.cjs.map +1 -0
  35. package/dist/jest.d.cts +33 -0
  36. package/dist/jest.d.cts.map +1 -0
  37. package/dist/jest.d.ts +33 -0
  38. package/dist/jest.d.ts.map +1 -0
  39. package/dist/jest.js +67 -0
  40. package/dist/jest.js.map +1 -0
  41. package/dist/node_modules/.pnpm/@vitest_pretty-format@3.2.4/node_modules/@vitest/pretty-format/dist/index.cjs +934 -0
  42. package/dist/node_modules/.pnpm/@vitest_pretty-format@3.2.4/node_modules/@vitest/pretty-format/dist/index.cjs.map +1 -0
  43. package/dist/node_modules/.pnpm/@vitest_pretty-format@3.2.4/node_modules/@vitest/pretty-format/dist/index.js +934 -0
  44. package/dist/node_modules/.pnpm/@vitest_pretty-format@3.2.4/node_modules/@vitest/pretty-format/dist/index.js.map +1 -0
  45. package/dist/node_modules/.pnpm/@vitest_runner@3.2.4/node_modules/@vitest/runner/dist/chunk-hooks.cjs +1051 -0
  46. package/dist/node_modules/.pnpm/@vitest_runner@3.2.4/node_modules/@vitest/runner/dist/chunk-hooks.cjs.map +1 -0
  47. package/dist/node_modules/.pnpm/@vitest_runner@3.2.4/node_modules/@vitest/runner/dist/chunk-hooks.js +1042 -0
  48. package/dist/node_modules/.pnpm/@vitest_runner@3.2.4/node_modules/@vitest/runner/dist/chunk-hooks.js.map +1 -0
  49. package/dist/node_modules/.pnpm/@vitest_runner@3.2.4/node_modules/@vitest/runner/dist/index.cjs +1 -0
  50. package/dist/node_modules/.pnpm/@vitest_runner@3.2.4/node_modules/@vitest/runner/dist/index.js +3 -0
  51. package/dist/node_modules/.pnpm/@vitest_utils@3.2.4/node_modules/@vitest/utils/dist/chunk-_commonjsHelpers.cjs +96 -0
  52. package/dist/node_modules/.pnpm/@vitest_utils@3.2.4/node_modules/@vitest/utils/dist/chunk-_commonjsHelpers.cjs.map +1 -0
  53. package/dist/node_modules/.pnpm/@vitest_utils@3.2.4/node_modules/@vitest/utils/dist/chunk-_commonjsHelpers.js +93 -0
  54. package/dist/node_modules/.pnpm/@vitest_utils@3.2.4/node_modules/@vitest/utils/dist/chunk-_commonjsHelpers.js.map +1 -0
  55. package/dist/node_modules/.pnpm/@vitest_utils@3.2.4/node_modules/@vitest/utils/dist/helpers.cjs +49 -0
  56. package/dist/node_modules/.pnpm/@vitest_utils@3.2.4/node_modules/@vitest/utils/dist/helpers.cjs.map +1 -0
  57. package/dist/node_modules/.pnpm/@vitest_utils@3.2.4/node_modules/@vitest/utils/dist/helpers.js +43 -0
  58. package/dist/node_modules/.pnpm/@vitest_utils@3.2.4/node_modules/@vitest/utils/dist/helpers.js.map +1 -0
  59. package/dist/node_modules/.pnpm/@vitest_utils@3.2.4/node_modules/@vitest/utils/dist/index.cjs +456 -0
  60. package/dist/node_modules/.pnpm/@vitest_utils@3.2.4/node_modules/@vitest/utils/dist/index.cjs.map +1 -0
  61. package/dist/node_modules/.pnpm/@vitest_utils@3.2.4/node_modules/@vitest/utils/dist/index.js +456 -0
  62. package/dist/node_modules/.pnpm/@vitest_utils@3.2.4/node_modules/@vitest/utils/dist/index.js.map +1 -0
  63. package/dist/node_modules/.pnpm/@vitest_utils@3.2.4/node_modules/@vitest/utils/dist/source-map.cjs +170 -0
  64. package/dist/node_modules/.pnpm/@vitest_utils@3.2.4/node_modules/@vitest/utils/dist/source-map.cjs.map +1 -0
  65. package/dist/node_modules/.pnpm/@vitest_utils@3.2.4/node_modules/@vitest/utils/dist/source-map.js +169 -0
  66. package/dist/node_modules/.pnpm/@vitest_utils@3.2.4/node_modules/@vitest/utils/dist/source-map.js.map +1 -0
  67. package/dist/node_modules/.pnpm/js-tokens@9.0.1/node_modules/js-tokens/index.cjs +388 -0
  68. package/dist/node_modules/.pnpm/js-tokens@9.0.1/node_modules/js-tokens/index.cjs.map +1 -0
  69. package/dist/node_modules/.pnpm/js-tokens@9.0.1/node_modules/js-tokens/index.js +385 -0
  70. package/dist/node_modules/.pnpm/js-tokens@9.0.1/node_modules/js-tokens/index.js.map +1 -0
  71. package/dist/node_modules/.pnpm/loupe@3.2.1/node_modules/loupe/lib/arguments.cjs +12 -0
  72. package/dist/node_modules/.pnpm/loupe@3.2.1/node_modules/loupe/lib/arguments.cjs.map +1 -0
  73. package/dist/node_modules/.pnpm/loupe@3.2.1/node_modules/loupe/lib/arguments.js +12 -0
  74. package/dist/node_modules/.pnpm/loupe@3.2.1/node_modules/loupe/lib/arguments.js.map +1 -0
  75. package/dist/node_modules/.pnpm/loupe@3.2.1/node_modules/loupe/lib/array.cjs +17 -0
  76. package/dist/node_modules/.pnpm/loupe@3.2.1/node_modules/loupe/lib/array.cjs.map +1 -0
  77. package/dist/node_modules/.pnpm/loupe@3.2.1/node_modules/loupe/lib/array.js +17 -0
  78. package/dist/node_modules/.pnpm/loupe@3.2.1/node_modules/loupe/lib/array.js.map +1 -0
  79. package/dist/node_modules/.pnpm/loupe@3.2.1/node_modules/loupe/lib/bigint.cjs +12 -0
  80. package/dist/node_modules/.pnpm/loupe@3.2.1/node_modules/loupe/lib/bigint.cjs.map +1 -0
  81. package/dist/node_modules/.pnpm/loupe@3.2.1/node_modules/loupe/lib/bigint.js +12 -0
  82. package/dist/node_modules/.pnpm/loupe@3.2.1/node_modules/loupe/lib/bigint.js.map +1 -0
  83. package/dist/node_modules/.pnpm/loupe@3.2.1/node_modules/loupe/lib/class.cjs +16 -0
  84. package/dist/node_modules/.pnpm/loupe@3.2.1/node_modules/loupe/lib/class.cjs.map +1 -0
  85. package/dist/node_modules/.pnpm/loupe@3.2.1/node_modules/loupe/lib/class.js +16 -0
  86. package/dist/node_modules/.pnpm/loupe@3.2.1/node_modules/loupe/lib/class.js.map +1 -0
  87. package/dist/node_modules/.pnpm/loupe@3.2.1/node_modules/loupe/lib/date.cjs +14 -0
  88. package/dist/node_modules/.pnpm/loupe@3.2.1/node_modules/loupe/lib/date.cjs.map +1 -0
  89. package/dist/node_modules/.pnpm/loupe@3.2.1/node_modules/loupe/lib/date.js +14 -0
  90. package/dist/node_modules/.pnpm/loupe@3.2.1/node_modules/loupe/lib/date.js.map +1 -0
  91. package/dist/node_modules/.pnpm/loupe@3.2.1/node_modules/loupe/lib/error.cjs +35 -0
  92. package/dist/node_modules/.pnpm/loupe@3.2.1/node_modules/loupe/lib/error.cjs.map +1 -0
  93. package/dist/node_modules/.pnpm/loupe@3.2.1/node_modules/loupe/lib/error.js +35 -0
  94. package/dist/node_modules/.pnpm/loupe@3.2.1/node_modules/loupe/lib/error.js.map +1 -0
  95. package/dist/node_modules/.pnpm/loupe@3.2.1/node_modules/loupe/lib/function.cjs +13 -0
  96. package/dist/node_modules/.pnpm/loupe@3.2.1/node_modules/loupe/lib/function.cjs.map +1 -0
  97. package/dist/node_modules/.pnpm/loupe@3.2.1/node_modules/loupe/lib/function.js +13 -0
  98. package/dist/node_modules/.pnpm/loupe@3.2.1/node_modules/loupe/lib/function.js.map +1 -0
  99. package/dist/node_modules/.pnpm/loupe@3.2.1/node_modules/loupe/lib/helpers.cjs +128 -0
  100. package/dist/node_modules/.pnpm/loupe@3.2.1/node_modules/loupe/lib/helpers.cjs.map +1 -0
  101. package/dist/node_modules/.pnpm/loupe@3.2.1/node_modules/loupe/lib/helpers.js +123 -0
  102. package/dist/node_modules/.pnpm/loupe@3.2.1/node_modules/loupe/lib/helpers.js.map +1 -0
  103. package/dist/node_modules/.pnpm/loupe@3.2.1/node_modules/loupe/lib/html.cjs +41 -0
  104. package/dist/node_modules/.pnpm/loupe@3.2.1/node_modules/loupe/lib/html.cjs.map +1 -0
  105. package/dist/node_modules/.pnpm/loupe@3.2.1/node_modules/loupe/lib/html.js +40 -0
  106. package/dist/node_modules/.pnpm/loupe@3.2.1/node_modules/loupe/lib/html.js.map +1 -0
  107. package/dist/node_modules/.pnpm/loupe@3.2.1/node_modules/loupe/lib/index.cjs +100 -0
  108. package/dist/node_modules/.pnpm/loupe@3.2.1/node_modules/loupe/lib/index.cjs.map +1 -0
  109. package/dist/node_modules/.pnpm/loupe@3.2.1/node_modules/loupe/lib/index.js +100 -0
  110. package/dist/node_modules/.pnpm/loupe@3.2.1/node_modules/loupe/lib/index.js.map +1 -0
  111. package/dist/node_modules/.pnpm/loupe@3.2.1/node_modules/loupe/lib/map.cjs +26 -0
  112. package/dist/node_modules/.pnpm/loupe@3.2.1/node_modules/loupe/lib/map.cjs.map +1 -0
  113. package/dist/node_modules/.pnpm/loupe@3.2.1/node_modules/loupe/lib/map.js +26 -0
  114. package/dist/node_modules/.pnpm/loupe@3.2.1/node_modules/loupe/lib/map.js.map +1 -0
  115. package/dist/node_modules/.pnpm/loupe@3.2.1/node_modules/loupe/lib/number.cjs +15 -0
  116. package/dist/node_modules/.pnpm/loupe@3.2.1/node_modules/loupe/lib/number.cjs.map +1 -0
  117. package/dist/node_modules/.pnpm/loupe@3.2.1/node_modules/loupe/lib/number.js +15 -0
  118. package/dist/node_modules/.pnpm/loupe@3.2.1/node_modules/loupe/lib/number.js.map +1 -0
  119. package/dist/node_modules/.pnpm/loupe@3.2.1/node_modules/loupe/lib/object.cjs +22 -0
  120. package/dist/node_modules/.pnpm/loupe@3.2.1/node_modules/loupe/lib/object.cjs.map +1 -0
  121. package/dist/node_modules/.pnpm/loupe@3.2.1/node_modules/loupe/lib/object.js +22 -0
  122. package/dist/node_modules/.pnpm/loupe@3.2.1/node_modules/loupe/lib/object.js.map +1 -0
  123. package/dist/node_modules/.pnpm/loupe@3.2.1/node_modules/loupe/lib/promise.cjs +7 -0
  124. package/dist/node_modules/.pnpm/loupe@3.2.1/node_modules/loupe/lib/promise.cjs.map +1 -0
  125. package/dist/node_modules/.pnpm/loupe@3.2.1/node_modules/loupe/lib/promise.js +6 -0
  126. package/dist/node_modules/.pnpm/loupe@3.2.1/node_modules/loupe/lib/promise.js.map +1 -0
  127. package/dist/node_modules/.pnpm/loupe@3.2.1/node_modules/loupe/lib/regexp.cjs +13 -0
  128. package/dist/node_modules/.pnpm/loupe@3.2.1/node_modules/loupe/lib/regexp.cjs.map +1 -0
  129. package/dist/node_modules/.pnpm/loupe@3.2.1/node_modules/loupe/lib/regexp.js +13 -0
  130. package/dist/node_modules/.pnpm/loupe@3.2.1/node_modules/loupe/lib/regexp.js.map +1 -0
  131. package/dist/node_modules/.pnpm/loupe@3.2.1/node_modules/loupe/lib/set.cjs +19 -0
  132. package/dist/node_modules/.pnpm/loupe@3.2.1/node_modules/loupe/lib/set.cjs.map +1 -0
  133. package/dist/node_modules/.pnpm/loupe@3.2.1/node_modules/loupe/lib/set.js +19 -0
  134. package/dist/node_modules/.pnpm/loupe@3.2.1/node_modules/loupe/lib/set.js.map +1 -0
  135. package/dist/node_modules/.pnpm/loupe@3.2.1/node_modules/loupe/lib/string.cjs +26 -0
  136. package/dist/node_modules/.pnpm/loupe@3.2.1/node_modules/loupe/lib/string.cjs.map +1 -0
  137. package/dist/node_modules/.pnpm/loupe@3.2.1/node_modules/loupe/lib/string.js +26 -0
  138. package/dist/node_modules/.pnpm/loupe@3.2.1/node_modules/loupe/lib/string.js.map +1 -0
  139. package/dist/node_modules/.pnpm/loupe@3.2.1/node_modules/loupe/lib/symbol.cjs +10 -0
  140. package/dist/node_modules/.pnpm/loupe@3.2.1/node_modules/loupe/lib/symbol.cjs.map +1 -0
  141. package/dist/node_modules/.pnpm/loupe@3.2.1/node_modules/loupe/lib/symbol.js +9 -0
  142. package/dist/node_modules/.pnpm/loupe@3.2.1/node_modules/loupe/lib/symbol.js.map +1 -0
  143. package/dist/node_modules/.pnpm/loupe@3.2.1/node_modules/loupe/lib/typedarray.cjs +31 -0
  144. package/dist/node_modules/.pnpm/loupe@3.2.1/node_modules/loupe/lib/typedarray.cjs.map +1 -0
  145. package/dist/node_modules/.pnpm/loupe@3.2.1/node_modules/loupe/lib/typedarray.js +31 -0
  146. package/dist/node_modules/.pnpm/loupe@3.2.1/node_modules/loupe/lib/typedarray.js.map +1 -0
  147. package/dist/node_modules/.pnpm/strip-literal@3.1.0/node_modules/strip-literal/dist/index.cjs +52 -0
  148. package/dist/node_modules/.pnpm/strip-literal@3.1.0/node_modules/strip-literal/dist/index.cjs.map +1 -0
  149. package/dist/node_modules/.pnpm/strip-literal@3.1.0/node_modules/strip-literal/dist/index.js +52 -0
  150. package/dist/node_modules/.pnpm/strip-literal@3.1.0/node_modules/strip-literal/dist/index.js.map +1 -0
  151. package/dist/node_modules/.pnpm/tinyrainbow@2.0.0/node_modules/tinyrainbow/dist/chunk-BVHSVHOK.cjs +83 -0
  152. package/dist/node_modules/.pnpm/tinyrainbow@2.0.0/node_modules/tinyrainbow/dist/chunk-BVHSVHOK.cjs.map +1 -0
  153. package/dist/node_modules/.pnpm/tinyrainbow@2.0.0/node_modules/tinyrainbow/dist/chunk-BVHSVHOK.js +82 -0
  154. package/dist/node_modules/.pnpm/tinyrainbow@2.0.0/node_modules/tinyrainbow/dist/chunk-BVHSVHOK.js.map +1 -0
  155. package/dist/node_modules/.pnpm/tinyrainbow@2.0.0/node_modules/tinyrainbow/dist/node.cjs +10 -0
  156. package/dist/node_modules/.pnpm/tinyrainbow@2.0.0/node_modules/tinyrainbow/dist/node.cjs.map +1 -0
  157. package/dist/node_modules/.pnpm/tinyrainbow@2.0.0/node_modules/tinyrainbow/dist/node.js +10 -0
  158. package/dist/node_modules/.pnpm/tinyrainbow@2.0.0/node_modules/tinyrainbow/dist/node.js.map +1 -0
  159. package/dist/vitest.cjs +80 -0
  160. package/dist/vitest.cjs.map +1 -0
  161. package/dist/vitest.d.cts +30 -0
  162. package/dist/vitest.d.cts.map +1 -0
  163. package/dist/vitest.d.ts +30 -0
  164. package/dist/vitest.d.ts.map +1 -0
  165. package/dist/vitest.js +77 -0
  166. package/dist/vitest.js.map +1 -0
  167. package/fixtures/examples/a2a/a2a-config.json +42 -0
  168. package/fixtures/examples/agui/agui-text-response.json +35 -0
  169. package/fixtures/examples/chaos/chaos-config.json +10 -0
  170. package/fixtures/examples/full-suite.json +116 -0
  171. package/fixtures/examples/llm/embeddings.json +10 -0
  172. package/fixtures/examples/llm/error-injection.json +15 -0
  173. package/fixtures/examples/llm/sequential-responses.json +20 -0
  174. package/fixtures/examples/llm/streaming-physics.json +15 -0
  175. package/fixtures/examples/mcp/mcp-config.json +26 -0
  176. package/fixtures/examples/record-replay/record-config.json +11 -0
  177. package/fixtures/examples/vector/vector-config.json +34 -0
  178. package/package.json +59 -1
@@ -0,0 +1,385 @@
1
+ import { __commonJSMin } from "../../../../../_virtual/_rolldown/runtime.js";
2
+
3
+ //#region node_modules/.pnpm/js-tokens@9.0.1/node_modules/js-tokens/index.js
4
+ var require_js_tokens = /* @__PURE__ */ __commonJSMin(((exports, module) => {
5
+ var HashbangComment, Identifier, JSXIdentifier, JSXPunctuator, JSXString, JSXText, KeywordsWithExpressionAfter, KeywordsWithNoLineTerminatorAfter, LineTerminatorSequence, MultiLineComment, Newline, NumericLiteral, Punctuator, RegularExpressionLiteral = /\/(?![*\/])(?:\[(?:[^\]\\\n\r\u2028\u2029]+|\\.)*\]?|[^\/[\\\n\r\u2028\u2029]+|\\.)*(\/[$_\u200C\u200D\p{ID_Continue}]*|\\)?/uy, SingleLineComment, StringLiteral, Template, TokensNotPrecedingObjectLiteral, TokensPrecedingExpression, WhiteSpace;
6
+ Punctuator = /--|\+\+|=>|\.{3}|\??\.(?!\d)|(?:&&|\|\||\?\?|[+\-%&|^]|\*{1,2}|<{1,2}|>{1,3}|!=?|={1,2}|\/(?![\/*]))=?|[?~,:;[\](){}]/y;
7
+ Identifier = /(\x23?)(?=[$_\p{ID_Start}\\])(?:[$_\u200C\u200D\p{ID_Continue}]+|\\u[\da-fA-F]{4}|\\u\{[\da-fA-F]+\})+/uy;
8
+ StringLiteral = /(['"])(?:[^'"\\\n\r]+|(?!\1)['"]|\\(?:\r\n|[^]))*(\1)?/y;
9
+ NumericLiteral = /(?:0[xX][\da-fA-F](?:_?[\da-fA-F])*|0[oO][0-7](?:_?[0-7])*|0[bB][01](?:_?[01])*)n?|0n|[1-9](?:_?\d)*n|(?:(?:0(?!\d)|0\d*[89]\d*|[1-9](?:_?\d)*)(?:\.(?:\d(?:_?\d)*)?)?|\.\d(?:_?\d)*)(?:[eE][+-]?\d(?:_?\d)*)?|0[0-7]+/y;
10
+ Template = /[`}](?:[^`\\$]+|\\[^]|\$(?!\{))*(`|\$\{)?/y;
11
+ WhiteSpace = /[\t\v\f\ufeff\p{Zs}]+/uy;
12
+ LineTerminatorSequence = /\r?\n|[\r\u2028\u2029]/y;
13
+ MultiLineComment = /\/\*(?:[^*]+|\*(?!\/))*(\*\/)?/y;
14
+ SingleLineComment = /\/\/.*/y;
15
+ HashbangComment = /^#!.*/;
16
+ JSXPunctuator = /[<>.:={}]|\/(?![\/*])/y;
17
+ JSXIdentifier = /[$_\p{ID_Start}][$_\u200C\u200D\p{ID_Continue}-]*/uy;
18
+ JSXString = /(['"])(?:[^'"]+|(?!\1)['"])*(\1)?/y;
19
+ JSXText = /[^<>{}]+/y;
20
+ TokensPrecedingExpression = /^(?:[\/+-]|\.{3}|\?(?:InterpolationIn(?:JSX|Template)|NoLineTerminatorHere|NonExpressionParenEnd|UnaryIncDec))?$|[{}([,;<>=*%&|^!~?:]$/;
21
+ TokensNotPrecedingObjectLiteral = /^(?:=>|[;\]){}]|else|\?(?:NoLineTerminatorHere|NonExpressionParenEnd))?$/;
22
+ KeywordsWithExpressionAfter = /^(?:await|case|default|delete|do|else|instanceof|new|return|throw|typeof|void|yield)$/;
23
+ KeywordsWithNoLineTerminatorAfter = /^(?:return|throw|yield)$/;
24
+ Newline = RegExp(LineTerminatorSequence.source);
25
+ module.exports = function* (input, { jsx = false } = {}) {
26
+ var braces, firstCodePoint, isExpression, lastIndex, lastSignificantToken, length, match, mode, nextLastIndex, nextLastSignificantToken, parenNesting, postfixIncDec, punctuator, stack;
27
+ ({length} = input);
28
+ lastIndex = 0;
29
+ lastSignificantToken = "";
30
+ stack = [{ tag: "JS" }];
31
+ braces = [];
32
+ parenNesting = 0;
33
+ postfixIncDec = false;
34
+ if (match = HashbangComment.exec(input)) {
35
+ yield {
36
+ type: "HashbangComment",
37
+ value: match[0]
38
+ };
39
+ lastIndex = match[0].length;
40
+ }
41
+ while (lastIndex < length) {
42
+ mode = stack[stack.length - 1];
43
+ switch (mode.tag) {
44
+ case "JS":
45
+ case "JSNonExpressionParen":
46
+ case "InterpolationInTemplate":
47
+ case "InterpolationInJSX":
48
+ if (input[lastIndex] === "/" && (TokensPrecedingExpression.test(lastSignificantToken) || KeywordsWithExpressionAfter.test(lastSignificantToken))) {
49
+ RegularExpressionLiteral.lastIndex = lastIndex;
50
+ if (match = RegularExpressionLiteral.exec(input)) {
51
+ lastIndex = RegularExpressionLiteral.lastIndex;
52
+ lastSignificantToken = match[0];
53
+ postfixIncDec = true;
54
+ yield {
55
+ type: "RegularExpressionLiteral",
56
+ value: match[0],
57
+ closed: match[1] !== void 0 && match[1] !== "\\"
58
+ };
59
+ continue;
60
+ }
61
+ }
62
+ Punctuator.lastIndex = lastIndex;
63
+ if (match = Punctuator.exec(input)) {
64
+ punctuator = match[0];
65
+ nextLastIndex = Punctuator.lastIndex;
66
+ nextLastSignificantToken = punctuator;
67
+ switch (punctuator) {
68
+ case "(":
69
+ if (lastSignificantToken === "?NonExpressionParenKeyword") stack.push({
70
+ tag: "JSNonExpressionParen",
71
+ nesting: parenNesting
72
+ });
73
+ parenNesting++;
74
+ postfixIncDec = false;
75
+ break;
76
+ case ")":
77
+ parenNesting--;
78
+ postfixIncDec = true;
79
+ if (mode.tag === "JSNonExpressionParen" && parenNesting === mode.nesting) {
80
+ stack.pop();
81
+ nextLastSignificantToken = "?NonExpressionParenEnd";
82
+ postfixIncDec = false;
83
+ }
84
+ break;
85
+ case "{":
86
+ Punctuator.lastIndex = 0;
87
+ isExpression = !TokensNotPrecedingObjectLiteral.test(lastSignificantToken) && (TokensPrecedingExpression.test(lastSignificantToken) || KeywordsWithExpressionAfter.test(lastSignificantToken));
88
+ braces.push(isExpression);
89
+ postfixIncDec = false;
90
+ break;
91
+ case "}":
92
+ switch (mode.tag) {
93
+ case "InterpolationInTemplate":
94
+ if (braces.length === mode.nesting) {
95
+ Template.lastIndex = lastIndex;
96
+ match = Template.exec(input);
97
+ lastIndex = Template.lastIndex;
98
+ lastSignificantToken = match[0];
99
+ if (match[1] === "${") {
100
+ lastSignificantToken = "?InterpolationInTemplate";
101
+ postfixIncDec = false;
102
+ yield {
103
+ type: "TemplateMiddle",
104
+ value: match[0]
105
+ };
106
+ } else {
107
+ stack.pop();
108
+ postfixIncDec = true;
109
+ yield {
110
+ type: "TemplateTail",
111
+ value: match[0],
112
+ closed: match[1] === "`"
113
+ };
114
+ }
115
+ continue;
116
+ }
117
+ break;
118
+ case "InterpolationInJSX": if (braces.length === mode.nesting) {
119
+ stack.pop();
120
+ lastIndex += 1;
121
+ lastSignificantToken = "}";
122
+ yield {
123
+ type: "JSXPunctuator",
124
+ value: "}"
125
+ };
126
+ continue;
127
+ }
128
+ }
129
+ postfixIncDec = braces.pop();
130
+ nextLastSignificantToken = postfixIncDec ? "?ExpressionBraceEnd" : "}";
131
+ break;
132
+ case "]":
133
+ postfixIncDec = true;
134
+ break;
135
+ case "++":
136
+ case "--":
137
+ nextLastSignificantToken = postfixIncDec ? "?PostfixIncDec" : "?UnaryIncDec";
138
+ break;
139
+ case "<":
140
+ if (jsx && (TokensPrecedingExpression.test(lastSignificantToken) || KeywordsWithExpressionAfter.test(lastSignificantToken))) {
141
+ stack.push({ tag: "JSXTag" });
142
+ lastIndex += 1;
143
+ lastSignificantToken = "<";
144
+ yield {
145
+ type: "JSXPunctuator",
146
+ value: punctuator
147
+ };
148
+ continue;
149
+ }
150
+ postfixIncDec = false;
151
+ break;
152
+ default: postfixIncDec = false;
153
+ }
154
+ lastIndex = nextLastIndex;
155
+ lastSignificantToken = nextLastSignificantToken;
156
+ yield {
157
+ type: "Punctuator",
158
+ value: punctuator
159
+ };
160
+ continue;
161
+ }
162
+ Identifier.lastIndex = lastIndex;
163
+ if (match = Identifier.exec(input)) {
164
+ lastIndex = Identifier.lastIndex;
165
+ nextLastSignificantToken = match[0];
166
+ switch (match[0]) {
167
+ case "for":
168
+ case "if":
169
+ case "while":
170
+ case "with": if (lastSignificantToken !== "." && lastSignificantToken !== "?.") nextLastSignificantToken = "?NonExpressionParenKeyword";
171
+ }
172
+ lastSignificantToken = nextLastSignificantToken;
173
+ postfixIncDec = !KeywordsWithExpressionAfter.test(match[0]);
174
+ yield {
175
+ type: match[1] === "#" ? "PrivateIdentifier" : "IdentifierName",
176
+ value: match[0]
177
+ };
178
+ continue;
179
+ }
180
+ StringLiteral.lastIndex = lastIndex;
181
+ if (match = StringLiteral.exec(input)) {
182
+ lastIndex = StringLiteral.lastIndex;
183
+ lastSignificantToken = match[0];
184
+ postfixIncDec = true;
185
+ yield {
186
+ type: "StringLiteral",
187
+ value: match[0],
188
+ closed: match[2] !== void 0
189
+ };
190
+ continue;
191
+ }
192
+ NumericLiteral.lastIndex = lastIndex;
193
+ if (match = NumericLiteral.exec(input)) {
194
+ lastIndex = NumericLiteral.lastIndex;
195
+ lastSignificantToken = match[0];
196
+ postfixIncDec = true;
197
+ yield {
198
+ type: "NumericLiteral",
199
+ value: match[0]
200
+ };
201
+ continue;
202
+ }
203
+ Template.lastIndex = lastIndex;
204
+ if (match = Template.exec(input)) {
205
+ lastIndex = Template.lastIndex;
206
+ lastSignificantToken = match[0];
207
+ if (match[1] === "${") {
208
+ lastSignificantToken = "?InterpolationInTemplate";
209
+ stack.push({
210
+ tag: "InterpolationInTemplate",
211
+ nesting: braces.length
212
+ });
213
+ postfixIncDec = false;
214
+ yield {
215
+ type: "TemplateHead",
216
+ value: match[0]
217
+ };
218
+ } else {
219
+ postfixIncDec = true;
220
+ yield {
221
+ type: "NoSubstitutionTemplate",
222
+ value: match[0],
223
+ closed: match[1] === "`"
224
+ };
225
+ }
226
+ continue;
227
+ }
228
+ break;
229
+ case "JSXTag":
230
+ case "JSXTagEnd":
231
+ JSXPunctuator.lastIndex = lastIndex;
232
+ if (match = JSXPunctuator.exec(input)) {
233
+ lastIndex = JSXPunctuator.lastIndex;
234
+ nextLastSignificantToken = match[0];
235
+ switch (match[0]) {
236
+ case "<":
237
+ stack.push({ tag: "JSXTag" });
238
+ break;
239
+ case ">":
240
+ stack.pop();
241
+ if (lastSignificantToken === "/" || mode.tag === "JSXTagEnd") {
242
+ nextLastSignificantToken = "?JSX";
243
+ postfixIncDec = true;
244
+ } else stack.push({ tag: "JSXChildren" });
245
+ break;
246
+ case "{":
247
+ stack.push({
248
+ tag: "InterpolationInJSX",
249
+ nesting: braces.length
250
+ });
251
+ nextLastSignificantToken = "?InterpolationInJSX";
252
+ postfixIncDec = false;
253
+ break;
254
+ case "/": if (lastSignificantToken === "<") {
255
+ stack.pop();
256
+ if (stack[stack.length - 1].tag === "JSXChildren") stack.pop();
257
+ stack.push({ tag: "JSXTagEnd" });
258
+ }
259
+ }
260
+ lastSignificantToken = nextLastSignificantToken;
261
+ yield {
262
+ type: "JSXPunctuator",
263
+ value: match[0]
264
+ };
265
+ continue;
266
+ }
267
+ JSXIdentifier.lastIndex = lastIndex;
268
+ if (match = JSXIdentifier.exec(input)) {
269
+ lastIndex = JSXIdentifier.lastIndex;
270
+ lastSignificantToken = match[0];
271
+ yield {
272
+ type: "JSXIdentifier",
273
+ value: match[0]
274
+ };
275
+ continue;
276
+ }
277
+ JSXString.lastIndex = lastIndex;
278
+ if (match = JSXString.exec(input)) {
279
+ lastIndex = JSXString.lastIndex;
280
+ lastSignificantToken = match[0];
281
+ yield {
282
+ type: "JSXString",
283
+ value: match[0],
284
+ closed: match[2] !== void 0
285
+ };
286
+ continue;
287
+ }
288
+ break;
289
+ case "JSXChildren":
290
+ JSXText.lastIndex = lastIndex;
291
+ if (match = JSXText.exec(input)) {
292
+ lastIndex = JSXText.lastIndex;
293
+ lastSignificantToken = match[0];
294
+ yield {
295
+ type: "JSXText",
296
+ value: match[0]
297
+ };
298
+ continue;
299
+ }
300
+ switch (input[lastIndex]) {
301
+ case "<":
302
+ stack.push({ tag: "JSXTag" });
303
+ lastIndex++;
304
+ lastSignificantToken = "<";
305
+ yield {
306
+ type: "JSXPunctuator",
307
+ value: "<"
308
+ };
309
+ continue;
310
+ case "{":
311
+ stack.push({
312
+ tag: "InterpolationInJSX",
313
+ nesting: braces.length
314
+ });
315
+ lastIndex++;
316
+ lastSignificantToken = "?InterpolationInJSX";
317
+ postfixIncDec = false;
318
+ yield {
319
+ type: "JSXPunctuator",
320
+ value: "{"
321
+ };
322
+ continue;
323
+ }
324
+ }
325
+ WhiteSpace.lastIndex = lastIndex;
326
+ if (match = WhiteSpace.exec(input)) {
327
+ lastIndex = WhiteSpace.lastIndex;
328
+ yield {
329
+ type: "WhiteSpace",
330
+ value: match[0]
331
+ };
332
+ continue;
333
+ }
334
+ LineTerminatorSequence.lastIndex = lastIndex;
335
+ if (match = LineTerminatorSequence.exec(input)) {
336
+ lastIndex = LineTerminatorSequence.lastIndex;
337
+ postfixIncDec = false;
338
+ if (KeywordsWithNoLineTerminatorAfter.test(lastSignificantToken)) lastSignificantToken = "?NoLineTerminatorHere";
339
+ yield {
340
+ type: "LineTerminatorSequence",
341
+ value: match[0]
342
+ };
343
+ continue;
344
+ }
345
+ MultiLineComment.lastIndex = lastIndex;
346
+ if (match = MultiLineComment.exec(input)) {
347
+ lastIndex = MultiLineComment.lastIndex;
348
+ if (Newline.test(match[0])) {
349
+ postfixIncDec = false;
350
+ if (KeywordsWithNoLineTerminatorAfter.test(lastSignificantToken)) lastSignificantToken = "?NoLineTerminatorHere";
351
+ }
352
+ yield {
353
+ type: "MultiLineComment",
354
+ value: match[0],
355
+ closed: match[1] !== void 0
356
+ };
357
+ continue;
358
+ }
359
+ SingleLineComment.lastIndex = lastIndex;
360
+ if (match = SingleLineComment.exec(input)) {
361
+ lastIndex = SingleLineComment.lastIndex;
362
+ postfixIncDec = false;
363
+ yield {
364
+ type: "SingleLineComment",
365
+ value: match[0]
366
+ };
367
+ continue;
368
+ }
369
+ firstCodePoint = String.fromCodePoint(input.codePointAt(lastIndex));
370
+ lastIndex += firstCodePoint.length;
371
+ lastSignificantToken = firstCodePoint;
372
+ postfixIncDec = false;
373
+ yield {
374
+ type: mode.tag.startsWith("JSX") ? "JSXInvalid" : "Invalid",
375
+ value: firstCodePoint
376
+ };
377
+ }
378
+ };
379
+ }));
380
+
381
+ //#endregion
382
+ export default require_js_tokens();
383
+
384
+ export { require_js_tokens };
385
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","names":[],"sources":["../../../../../../node_modules/.pnpm/js-tokens@9.0.1/node_modules/js-tokens/index.js"],"sourcesContent":["// Copyright 2014, 2015, 2016, 2017, 2018, 2019, 2020, 2021, 2022, 2023 Simon Lydell\n// License: MIT.\nvar HashbangComment, Identifier, JSXIdentifier, JSXPunctuator, JSXString, JSXText, KeywordsWithExpressionAfter, KeywordsWithNoLineTerminatorAfter, LineTerminatorSequence, MultiLineComment, Newline, NumericLiteral, Punctuator, RegularExpressionLiteral, SingleLineComment, StringLiteral, Template, TokensNotPrecedingObjectLiteral, TokensPrecedingExpression, WhiteSpace, jsTokens;\nRegularExpressionLiteral = /\\/(?![*\\/])(?:\\[(?:[^\\]\\\\\\n\\r\\u2028\\u2029]+|\\\\.)*\\]?|[^\\/[\\\\\\n\\r\\u2028\\u2029]+|\\\\.)*(\\/[$_\\u200C\\u200D\\p{ID_Continue}]*|\\\\)?/yu;\nPunctuator = /--|\\+\\+|=>|\\.{3}|\\??\\.(?!\\d)|(?:&&|\\|\\||\\?\\?|[+\\-%&|^]|\\*{1,2}|<{1,2}|>{1,3}|!=?|={1,2}|\\/(?![\\/*]))=?|[?~,:;[\\](){}]/y;\nIdentifier = /(\\x23?)(?=[$_\\p{ID_Start}\\\\])(?:[$_\\u200C\\u200D\\p{ID_Continue}]+|\\\\u[\\da-fA-F]{4}|\\\\u\\{[\\da-fA-F]+\\})+/yu;\nStringLiteral = /(['\"])(?:[^'\"\\\\\\n\\r]+|(?!\\1)['\"]|\\\\(?:\\r\\n|[^]))*(\\1)?/y;\nNumericLiteral = /(?:0[xX][\\da-fA-F](?:_?[\\da-fA-F])*|0[oO][0-7](?:_?[0-7])*|0[bB][01](?:_?[01])*)n?|0n|[1-9](?:_?\\d)*n|(?:(?:0(?!\\d)|0\\d*[89]\\d*|[1-9](?:_?\\d)*)(?:\\.(?:\\d(?:_?\\d)*)?)?|\\.\\d(?:_?\\d)*)(?:[eE][+-]?\\d(?:_?\\d)*)?|0[0-7]+/y;\nTemplate = /[`}](?:[^`\\\\$]+|\\\\[^]|\\$(?!\\{))*(`|\\$\\{)?/y;\nWhiteSpace = /[\\t\\v\\f\\ufeff\\p{Zs}]+/yu;\nLineTerminatorSequence = /\\r?\\n|[\\r\\u2028\\u2029]/y;\nMultiLineComment = /\\/\\*(?:[^*]+|\\*(?!\\/))*(\\*\\/)?/y;\nSingleLineComment = /\\/\\/.*/y;\nHashbangComment = /^#!.*/;\nJSXPunctuator = /[<>.:={}]|\\/(?![\\/*])/y;\nJSXIdentifier = /[$_\\p{ID_Start}][$_\\u200C\\u200D\\p{ID_Continue}-]*/yu;\nJSXString = /(['\"])(?:[^'\"]+|(?!\\1)['\"])*(\\1)?/y;\nJSXText = /[^<>{}]+/y;\nTokensPrecedingExpression = /^(?:[\\/+-]|\\.{3}|\\?(?:InterpolationIn(?:JSX|Template)|NoLineTerminatorHere|NonExpressionParenEnd|UnaryIncDec))?$|[{}([,;<>=*%&|^!~?:]$/;\nTokensNotPrecedingObjectLiteral = /^(?:=>|[;\\]){}]|else|\\?(?:NoLineTerminatorHere|NonExpressionParenEnd))?$/;\nKeywordsWithExpressionAfter = /^(?:await|case|default|delete|do|else|instanceof|new|return|throw|typeof|void|yield)$/;\nKeywordsWithNoLineTerminatorAfter = /^(?:return|throw|yield)$/;\nNewline = RegExp(LineTerminatorSequence.source);\nmodule.exports = jsTokens = function*(input, {jsx = false} = {}) {\n\tvar braces, firstCodePoint, isExpression, lastIndex, lastSignificantToken, length, match, mode, nextLastIndex, nextLastSignificantToken, parenNesting, postfixIncDec, punctuator, stack;\n\t({length} = input);\n\tlastIndex = 0;\n\tlastSignificantToken = \"\";\n\tstack = [\n\t\t{tag: \"JS\"}\n\t];\n\tbraces = [];\n\tparenNesting = 0;\n\tpostfixIncDec = false;\n\tif (match = HashbangComment.exec(input)) {\n\t\tyield ({\n\t\t\ttype: \"HashbangComment\",\n\t\t\tvalue: match[0]\n\t\t});\n\t\tlastIndex = match[0].length;\n\t}\n\twhile (lastIndex < length) {\n\t\tmode = stack[stack.length - 1];\n\t\tswitch (mode.tag) {\n\t\t\tcase \"JS\":\n\t\t\tcase \"JSNonExpressionParen\":\n\t\t\tcase \"InterpolationInTemplate\":\n\t\t\tcase \"InterpolationInJSX\":\n\t\t\t\tif (input[lastIndex] === \"/\" && (TokensPrecedingExpression.test(lastSignificantToken) || KeywordsWithExpressionAfter.test(lastSignificantToken))) {\n\t\t\t\t\tRegularExpressionLiteral.lastIndex = lastIndex;\n\t\t\t\t\tif (match = RegularExpressionLiteral.exec(input)) {\n\t\t\t\t\t\tlastIndex = RegularExpressionLiteral.lastIndex;\n\t\t\t\t\t\tlastSignificantToken = match[0];\n\t\t\t\t\t\tpostfixIncDec = true;\n\t\t\t\t\t\tyield ({\n\t\t\t\t\t\t\ttype: \"RegularExpressionLiteral\",\n\t\t\t\t\t\t\tvalue: match[0],\n\t\t\t\t\t\t\tclosed: match[1] !== void 0 && match[1] !== \"\\\\\"\n\t\t\t\t\t\t});\n\t\t\t\t\t\tcontinue;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\tPunctuator.lastIndex = lastIndex;\n\t\t\t\tif (match = Punctuator.exec(input)) {\n\t\t\t\t\tpunctuator = match[0];\n\t\t\t\t\tnextLastIndex = Punctuator.lastIndex;\n\t\t\t\t\tnextLastSignificantToken = punctuator;\n\t\t\t\t\tswitch (punctuator) {\n\t\t\t\t\t\tcase \"(\":\n\t\t\t\t\t\t\tif (lastSignificantToken === \"?NonExpressionParenKeyword\") {\n\t\t\t\t\t\t\t\tstack.push({\n\t\t\t\t\t\t\t\t\ttag: \"JSNonExpressionParen\",\n\t\t\t\t\t\t\t\t\tnesting: parenNesting\n\t\t\t\t\t\t\t\t});\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tparenNesting++;\n\t\t\t\t\t\t\tpostfixIncDec = false;\n\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\tcase \")\":\n\t\t\t\t\t\t\tparenNesting--;\n\t\t\t\t\t\t\tpostfixIncDec = true;\n\t\t\t\t\t\t\tif (mode.tag === \"JSNonExpressionParen\" && parenNesting === mode.nesting) {\n\t\t\t\t\t\t\t\tstack.pop();\n\t\t\t\t\t\t\t\tnextLastSignificantToken = \"?NonExpressionParenEnd\";\n\t\t\t\t\t\t\t\tpostfixIncDec = false;\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\tcase \"{\":\n\t\t\t\t\t\t\tPunctuator.lastIndex = 0;\n\t\t\t\t\t\t\tisExpression = !TokensNotPrecedingObjectLiteral.test(lastSignificantToken) && (TokensPrecedingExpression.test(lastSignificantToken) || KeywordsWithExpressionAfter.test(lastSignificantToken));\n\t\t\t\t\t\t\tbraces.push(isExpression);\n\t\t\t\t\t\t\tpostfixIncDec = false;\n\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\tcase \"}\":\n\t\t\t\t\t\t\tswitch (mode.tag) {\n\t\t\t\t\t\t\t\tcase \"InterpolationInTemplate\":\n\t\t\t\t\t\t\t\t\tif (braces.length === mode.nesting) {\n\t\t\t\t\t\t\t\t\t\tTemplate.lastIndex = lastIndex;\n\t\t\t\t\t\t\t\t\t\tmatch = Template.exec(input);\n\t\t\t\t\t\t\t\t\t\tlastIndex = Template.lastIndex;\n\t\t\t\t\t\t\t\t\t\tlastSignificantToken = match[0];\n\t\t\t\t\t\t\t\t\t\tif (match[1] === \"${\") {\n\t\t\t\t\t\t\t\t\t\t\tlastSignificantToken = \"?InterpolationInTemplate\";\n\t\t\t\t\t\t\t\t\t\t\tpostfixIncDec = false;\n\t\t\t\t\t\t\t\t\t\t\tyield ({\n\t\t\t\t\t\t\t\t\t\t\t\ttype: \"TemplateMiddle\",\n\t\t\t\t\t\t\t\t\t\t\t\tvalue: match[0]\n\t\t\t\t\t\t\t\t\t\t\t});\n\t\t\t\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\t\t\t\tstack.pop();\n\t\t\t\t\t\t\t\t\t\t\tpostfixIncDec = true;\n\t\t\t\t\t\t\t\t\t\t\tyield ({\n\t\t\t\t\t\t\t\t\t\t\t\ttype: \"TemplateTail\",\n\t\t\t\t\t\t\t\t\t\t\t\tvalue: match[0],\n\t\t\t\t\t\t\t\t\t\t\t\tclosed: match[1] === \"`\"\n\t\t\t\t\t\t\t\t\t\t\t});\n\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t\tcontinue;\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\t\t\tcase \"InterpolationInJSX\":\n\t\t\t\t\t\t\t\t\tif (braces.length === mode.nesting) {\n\t\t\t\t\t\t\t\t\t\tstack.pop();\n\t\t\t\t\t\t\t\t\t\tlastIndex += 1;\n\t\t\t\t\t\t\t\t\t\tlastSignificantToken = \"}\";\n\t\t\t\t\t\t\t\t\t\tyield ({\n\t\t\t\t\t\t\t\t\t\t\ttype: \"JSXPunctuator\",\n\t\t\t\t\t\t\t\t\t\t\tvalue: \"}\"\n\t\t\t\t\t\t\t\t\t\t});\n\t\t\t\t\t\t\t\t\t\tcontinue;\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tpostfixIncDec = braces.pop();\n\t\t\t\t\t\t\tnextLastSignificantToken = postfixIncDec ? \"?ExpressionBraceEnd\" : \"}\";\n\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\tcase \"]\":\n\t\t\t\t\t\t\tpostfixIncDec = true;\n\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\tcase \"++\":\n\t\t\t\t\t\tcase \"--\":\n\t\t\t\t\t\t\tnextLastSignificantToken = postfixIncDec ? \"?PostfixIncDec\" : \"?UnaryIncDec\";\n\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\tcase \"<\":\n\t\t\t\t\t\t\tif (jsx && (TokensPrecedingExpression.test(lastSignificantToken) || KeywordsWithExpressionAfter.test(lastSignificantToken))) {\n\t\t\t\t\t\t\t\tstack.push({tag: \"JSXTag\"});\n\t\t\t\t\t\t\t\tlastIndex += 1;\n\t\t\t\t\t\t\t\tlastSignificantToken = \"<\";\n\t\t\t\t\t\t\t\tyield ({\n\t\t\t\t\t\t\t\t\ttype: \"JSXPunctuator\",\n\t\t\t\t\t\t\t\t\tvalue: punctuator\n\t\t\t\t\t\t\t\t});\n\t\t\t\t\t\t\t\tcontinue;\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tpostfixIncDec = false;\n\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\tdefault:\n\t\t\t\t\t\t\tpostfixIncDec = false;\n\t\t\t\t\t}\n\t\t\t\t\tlastIndex = nextLastIndex;\n\t\t\t\t\tlastSignificantToken = nextLastSignificantToken;\n\t\t\t\t\tyield ({\n\t\t\t\t\t\ttype: \"Punctuator\",\n\t\t\t\t\t\tvalue: punctuator\n\t\t\t\t\t});\n\t\t\t\t\tcontinue;\n\t\t\t\t}\n\t\t\t\tIdentifier.lastIndex = lastIndex;\n\t\t\t\tif (match = Identifier.exec(input)) {\n\t\t\t\t\tlastIndex = Identifier.lastIndex;\n\t\t\t\t\tnextLastSignificantToken = match[0];\n\t\t\t\t\tswitch (match[0]) {\n\t\t\t\t\t\tcase \"for\":\n\t\t\t\t\t\tcase \"if\":\n\t\t\t\t\t\tcase \"while\":\n\t\t\t\t\t\tcase \"with\":\n\t\t\t\t\t\t\tif (lastSignificantToken !== \".\" && lastSignificantToken !== \"?.\") {\n\t\t\t\t\t\t\t\tnextLastSignificantToken = \"?NonExpressionParenKeyword\";\n\t\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t\tlastSignificantToken = nextLastSignificantToken;\n\t\t\t\t\tpostfixIncDec = !KeywordsWithExpressionAfter.test(match[0]);\n\t\t\t\t\tyield ({\n\t\t\t\t\t\ttype: match[1] === \"#\" ? \"PrivateIdentifier\" : \"IdentifierName\",\n\t\t\t\t\t\tvalue: match[0]\n\t\t\t\t\t});\n\t\t\t\t\tcontinue;\n\t\t\t\t}\n\t\t\t\tStringLiteral.lastIndex = lastIndex;\n\t\t\t\tif (match = StringLiteral.exec(input)) {\n\t\t\t\t\tlastIndex = StringLiteral.lastIndex;\n\t\t\t\t\tlastSignificantToken = match[0];\n\t\t\t\t\tpostfixIncDec = true;\n\t\t\t\t\tyield ({\n\t\t\t\t\t\ttype: \"StringLiteral\",\n\t\t\t\t\t\tvalue: match[0],\n\t\t\t\t\t\tclosed: match[2] !== void 0\n\t\t\t\t\t});\n\t\t\t\t\tcontinue;\n\t\t\t\t}\n\t\t\t\tNumericLiteral.lastIndex = lastIndex;\n\t\t\t\tif (match = NumericLiteral.exec(input)) {\n\t\t\t\t\tlastIndex = NumericLiteral.lastIndex;\n\t\t\t\t\tlastSignificantToken = match[0];\n\t\t\t\t\tpostfixIncDec = true;\n\t\t\t\t\tyield ({\n\t\t\t\t\t\ttype: \"NumericLiteral\",\n\t\t\t\t\t\tvalue: match[0]\n\t\t\t\t\t});\n\t\t\t\t\tcontinue;\n\t\t\t\t}\n\t\t\t\tTemplate.lastIndex = lastIndex;\n\t\t\t\tif (match = Template.exec(input)) {\n\t\t\t\t\tlastIndex = Template.lastIndex;\n\t\t\t\t\tlastSignificantToken = match[0];\n\t\t\t\t\tif (match[1] === \"${\") {\n\t\t\t\t\t\tlastSignificantToken = \"?InterpolationInTemplate\";\n\t\t\t\t\t\tstack.push({\n\t\t\t\t\t\t\ttag: \"InterpolationInTemplate\",\n\t\t\t\t\t\t\tnesting: braces.length\n\t\t\t\t\t\t});\n\t\t\t\t\t\tpostfixIncDec = false;\n\t\t\t\t\t\tyield ({\n\t\t\t\t\t\t\ttype: \"TemplateHead\",\n\t\t\t\t\t\t\tvalue: match[0]\n\t\t\t\t\t\t});\n\t\t\t\t\t} else {\n\t\t\t\t\t\tpostfixIncDec = true;\n\t\t\t\t\t\tyield ({\n\t\t\t\t\t\t\ttype: \"NoSubstitutionTemplate\",\n\t\t\t\t\t\t\tvalue: match[0],\n\t\t\t\t\t\t\tclosed: match[1] === \"`\"\n\t\t\t\t\t\t});\n\t\t\t\t\t}\n\t\t\t\t\tcontinue;\n\t\t\t\t}\n\t\t\t\tbreak;\n\t\t\tcase \"JSXTag\":\n\t\t\tcase \"JSXTagEnd\":\n\t\t\t\tJSXPunctuator.lastIndex = lastIndex;\n\t\t\t\tif (match = JSXPunctuator.exec(input)) {\n\t\t\t\t\tlastIndex = JSXPunctuator.lastIndex;\n\t\t\t\t\tnextLastSignificantToken = match[0];\n\t\t\t\t\tswitch (match[0]) {\n\t\t\t\t\t\tcase \"<\":\n\t\t\t\t\t\t\tstack.push({tag: \"JSXTag\"});\n\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\tcase \">\":\n\t\t\t\t\t\t\tstack.pop();\n\t\t\t\t\t\t\tif (lastSignificantToken === \"/\" || mode.tag === \"JSXTagEnd\") {\n\t\t\t\t\t\t\t\tnextLastSignificantToken = \"?JSX\";\n\t\t\t\t\t\t\t\tpostfixIncDec = true;\n\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\tstack.push({tag: \"JSXChildren\"});\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\tcase \"{\":\n\t\t\t\t\t\t\tstack.push({\n\t\t\t\t\t\t\t\ttag: \"InterpolationInJSX\",\n\t\t\t\t\t\t\t\tnesting: braces.length\n\t\t\t\t\t\t\t});\n\t\t\t\t\t\t\tnextLastSignificantToken = \"?InterpolationInJSX\";\n\t\t\t\t\t\t\tpostfixIncDec = false;\n\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\tcase \"/\":\n\t\t\t\t\t\t\tif (lastSignificantToken === \"<\") {\n\t\t\t\t\t\t\t\tstack.pop();\n\t\t\t\t\t\t\t\tif (stack[stack.length - 1].tag === \"JSXChildren\") {\n\t\t\t\t\t\t\t\t\tstack.pop();\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\tstack.push({tag: \"JSXTagEnd\"});\n\t\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t\tlastSignificantToken = nextLastSignificantToken;\n\t\t\t\t\tyield ({\n\t\t\t\t\t\ttype: \"JSXPunctuator\",\n\t\t\t\t\t\tvalue: match[0]\n\t\t\t\t\t});\n\t\t\t\t\tcontinue;\n\t\t\t\t}\n\t\t\t\tJSXIdentifier.lastIndex = lastIndex;\n\t\t\t\tif (match = JSXIdentifier.exec(input)) {\n\t\t\t\t\tlastIndex = JSXIdentifier.lastIndex;\n\t\t\t\t\tlastSignificantToken = match[0];\n\t\t\t\t\tyield ({\n\t\t\t\t\t\ttype: \"JSXIdentifier\",\n\t\t\t\t\t\tvalue: match[0]\n\t\t\t\t\t});\n\t\t\t\t\tcontinue;\n\t\t\t\t}\n\t\t\t\tJSXString.lastIndex = lastIndex;\n\t\t\t\tif (match = JSXString.exec(input)) {\n\t\t\t\t\tlastIndex = JSXString.lastIndex;\n\t\t\t\t\tlastSignificantToken = match[0];\n\t\t\t\t\tyield ({\n\t\t\t\t\t\ttype: \"JSXString\",\n\t\t\t\t\t\tvalue: match[0],\n\t\t\t\t\t\tclosed: match[2] !== void 0\n\t\t\t\t\t});\n\t\t\t\t\tcontinue;\n\t\t\t\t}\n\t\t\t\tbreak;\n\t\t\tcase \"JSXChildren\":\n\t\t\t\tJSXText.lastIndex = lastIndex;\n\t\t\t\tif (match = JSXText.exec(input)) {\n\t\t\t\t\tlastIndex = JSXText.lastIndex;\n\t\t\t\t\tlastSignificantToken = match[0];\n\t\t\t\t\tyield ({\n\t\t\t\t\t\ttype: \"JSXText\",\n\t\t\t\t\t\tvalue: match[0]\n\t\t\t\t\t});\n\t\t\t\t\tcontinue;\n\t\t\t\t}\n\t\t\t\tswitch (input[lastIndex]) {\n\t\t\t\t\tcase \"<\":\n\t\t\t\t\t\tstack.push({tag: \"JSXTag\"});\n\t\t\t\t\t\tlastIndex++;\n\t\t\t\t\t\tlastSignificantToken = \"<\";\n\t\t\t\t\t\tyield ({\n\t\t\t\t\t\t\ttype: \"JSXPunctuator\",\n\t\t\t\t\t\t\tvalue: \"<\"\n\t\t\t\t\t\t});\n\t\t\t\t\t\tcontinue;\n\t\t\t\t\tcase \"{\":\n\t\t\t\t\t\tstack.push({\n\t\t\t\t\t\t\ttag: \"InterpolationInJSX\",\n\t\t\t\t\t\t\tnesting: braces.length\n\t\t\t\t\t\t});\n\t\t\t\t\t\tlastIndex++;\n\t\t\t\t\t\tlastSignificantToken = \"?InterpolationInJSX\";\n\t\t\t\t\t\tpostfixIncDec = false;\n\t\t\t\t\t\tyield ({\n\t\t\t\t\t\t\ttype: \"JSXPunctuator\",\n\t\t\t\t\t\t\tvalue: \"{\"\n\t\t\t\t\t\t});\n\t\t\t\t\t\tcontinue;\n\t\t\t\t}\n\t\t}\n\t\tWhiteSpace.lastIndex = lastIndex;\n\t\tif (match = WhiteSpace.exec(input)) {\n\t\t\tlastIndex = WhiteSpace.lastIndex;\n\t\t\tyield ({\n\t\t\t\ttype: \"WhiteSpace\",\n\t\t\t\tvalue: match[0]\n\t\t\t});\n\t\t\tcontinue;\n\t\t}\n\t\tLineTerminatorSequence.lastIndex = lastIndex;\n\t\tif (match = LineTerminatorSequence.exec(input)) {\n\t\t\tlastIndex = LineTerminatorSequence.lastIndex;\n\t\t\tpostfixIncDec = false;\n\t\t\tif (KeywordsWithNoLineTerminatorAfter.test(lastSignificantToken)) {\n\t\t\t\tlastSignificantToken = \"?NoLineTerminatorHere\";\n\t\t\t}\n\t\t\tyield ({\n\t\t\t\ttype: \"LineTerminatorSequence\",\n\t\t\t\tvalue: match[0]\n\t\t\t});\n\t\t\tcontinue;\n\t\t}\n\t\tMultiLineComment.lastIndex = lastIndex;\n\t\tif (match = MultiLineComment.exec(input)) {\n\t\t\tlastIndex = MultiLineComment.lastIndex;\n\t\t\tif (Newline.test(match[0])) {\n\t\t\t\tpostfixIncDec = false;\n\t\t\t\tif (KeywordsWithNoLineTerminatorAfter.test(lastSignificantToken)) {\n\t\t\t\t\tlastSignificantToken = \"?NoLineTerminatorHere\";\n\t\t\t\t}\n\t\t\t}\n\t\t\tyield ({\n\t\t\t\ttype: \"MultiLineComment\",\n\t\t\t\tvalue: match[0],\n\t\t\t\tclosed: match[1] !== void 0\n\t\t\t});\n\t\t\tcontinue;\n\t\t}\n\t\tSingleLineComment.lastIndex = lastIndex;\n\t\tif (match = SingleLineComment.exec(input)) {\n\t\t\tlastIndex = SingleLineComment.lastIndex;\n\t\t\tpostfixIncDec = false;\n\t\t\tyield ({\n\t\t\t\ttype: \"SingleLineComment\",\n\t\t\t\tvalue: match[0]\n\t\t\t});\n\t\t\tcontinue;\n\t\t}\n\t\tfirstCodePoint = String.fromCodePoint(input.codePointAt(lastIndex));\n\t\tlastIndex += firstCodePoint.length;\n\t\tlastSignificantToken = firstCodePoint;\n\t\tpostfixIncDec = false;\n\t\tyield ({\n\t\t\ttype: mode.tag.startsWith(\"JSX\") ? \"JSXInvalid\" : \"Invalid\",\n\t\t\tvalue: firstCodePoint\n\t\t});\n\t}\n\treturn void 0;\n};\n"],"x_google_ignoreList":[0],"mappings":";;;;CAEA,IAAI,iBAAiB,YAAY,eAAe,eAAe,WAAW,SAAS,6BAA6B,mCAAmC,wBAAwB,kBAAkB,SAAS,gBAAgB,YAAY,2BACvM,kIADiO,mBAAmB,eAAe,UAAU,iCAAiC,2BAA2B;AAEpW,cAAa;AACb,cAAa;AACb,iBAAgB;AAChB,kBAAiB;AACjB,YAAW;AACX,cAAa;AACb,0BAAyB;AACzB,oBAAmB;AACnB,qBAAoB;AACpB,mBAAkB;AAClB,iBAAgB;AAChB,iBAAgB;AAChB,aAAY;AACZ,WAAU;AACV,6BAA4B;AAC5B,mCAAkC;AAClC,+BAA8B;AAC9B,qCAAoC;AACpC,WAAU,OAAO,uBAAuB,OAAO;AAC/C,QAAO,UAAqB,WAA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;AACA,8BAAuB;AACvB,uBAAgB;AAChB,aAAO;QACN,MAAM;QACN,OAAO;QACP;AACD;;;AAGJ,cAAW,YAAY;AACvB,OAAI,QAAQ,WAAW,KAAK,MAAM,EAAE;AACnC,gBAAY,WAAW;AACvB,UAAO;KACN,MAAM;KACN,OAAO,MAAM;KACb;AACD;;AAED,0BAAuB,YAAY;AACnC,OAAI,QAAQ,uBAAuB,KAAK,MAAM,EAAE;AAC/C,gBAAY,uBAAuB;AACnC,oBAAgB;AAChB,QAAI,kCAAkC,KAAK,qBAAqB,CAC/D,wBAAuB;AAExB,UAAO;KACN,MAAM;KACN,OAAO,MAAM;KACb;AACD;;AAED,oBAAiB,YAAY;AAC7B,OAAI,QAAQ,iBAAiB,KAAK,MAAM,EAAE;AACzC,gBAAY,iBAAiB;AAC7B,QAAI,QAAQ,KAAK,MAAM,GAAG,EAAE;AAC3B,qBAAgB;AAChB,SAAI,kCAAkC,KAAK,qBAAqB,CAC/D,wBAAuB;;AAGzB,UAAO;KACN,MAAM;KACN,OAAO,MAAM;KACb,QAAQ,MAAM,OAAO,KAAK;KAC1B;AACD;;AAED,qBAAkB,YAAY;AAC9B,OAAI,QAAQ,kBAAkB,KAAK,MAAM,EAAE;AAC1C,gBAAY,kBAAkB;AAC9B,oBAAgB;AAChB,UAAO;KACN,MAAM;KACN,OAAO,MAAM;KACb;AACD;;AAED,oBAAiB,OAAO,cAAc,MAAM,YAAY,UAAU,CAAC;AACnE,gBAAa,eAAe;AAC5B,0BAAuB;AACvB,mBAAgB;AAChB,SAAO;IACN,MAAM,KAAK,IAAI,WAAW,MAAM,GAAG,eAAe;IAClD,OAAO;IACP"}
@@ -0,0 +1,12 @@
1
+ const require_helpers = require('./helpers.cjs');
2
+
3
+ //#region node_modules/.pnpm/loupe@3.2.1/node_modules/loupe/lib/arguments.js
4
+ function inspectArguments(args, options) {
5
+ if (args.length === 0) return "Arguments[]";
6
+ options.truncate -= 13;
7
+ return `Arguments[ ${require_helpers.inspectList(args, options)} ]`;
8
+ }
9
+
10
+ //#endregion
11
+ exports.default = inspectArguments;
12
+ //# sourceMappingURL=arguments.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"arguments.cjs","names":["inspectList"],"sources":["../../../../../../../node_modules/.pnpm/loupe@3.2.1/node_modules/loupe/lib/arguments.js"],"sourcesContent":["import { inspectList } from './helpers.js';\nexport default function inspectArguments(args, options) {\n if (args.length === 0)\n return 'Arguments[]';\n options.truncate -= 13;\n return `Arguments[ ${inspectList(args, options)} ]`;\n}\n"],"x_google_ignoreList":[0],"mappings":";;;AACA,SAAwB,iBAAiB,MAAM,SAAS;AACpD,KAAI,KAAK,WAAW,EAChB,QAAO;AACX,SAAQ,YAAY;AACpB,QAAO,cAAcA,4BAAY,MAAM,QAAQ,CAAC"}
@@ -0,0 +1,12 @@
1
+ import { inspectList } from "./helpers.js";
2
+
3
+ //#region node_modules/.pnpm/loupe@3.2.1/node_modules/loupe/lib/arguments.js
4
+ function inspectArguments(args, options) {
5
+ if (args.length === 0) return "Arguments[]";
6
+ options.truncate -= 13;
7
+ return `Arguments[ ${inspectList(args, options)} ]`;
8
+ }
9
+
10
+ //#endregion
11
+ export { inspectArguments as default };
12
+ //# sourceMappingURL=arguments.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"arguments.js","names":[],"sources":["../../../../../../../node_modules/.pnpm/loupe@3.2.1/node_modules/loupe/lib/arguments.js"],"sourcesContent":["import { inspectList } from './helpers.js';\nexport default function inspectArguments(args, options) {\n if (args.length === 0)\n return 'Arguments[]';\n options.truncate -= 13;\n return `Arguments[ ${inspectList(args, options)} ]`;\n}\n"],"x_google_ignoreList":[0],"mappings":";;;AACA,SAAwB,iBAAiB,MAAM,SAAS;AACpD,KAAI,KAAK,WAAW,EAChB,QAAO;AACX,SAAQ,YAAY;AACpB,QAAO,cAAc,YAAY,MAAM,QAAQ,CAAC"}
@@ -0,0 +1,17 @@
1
+ const require_helpers = require('./helpers.cjs');
2
+
3
+ //#region node_modules/.pnpm/loupe@3.2.1/node_modules/loupe/lib/array.js
4
+ function inspectArray(array, options) {
5
+ const nonIndexProperties = Object.keys(array).slice(array.length);
6
+ if (!array.length && !nonIndexProperties.length) return "[]";
7
+ options.truncate -= 4;
8
+ const listContents = require_helpers.inspectList(array, options);
9
+ options.truncate -= listContents.length;
10
+ let propertyContents = "";
11
+ if (nonIndexProperties.length) propertyContents = require_helpers.inspectList(nonIndexProperties.map((key) => [key, array[key]]), options, require_helpers.inspectProperty);
12
+ return `[ ${listContents}${propertyContents ? `, ${propertyContents}` : ""} ]`;
13
+ }
14
+
15
+ //#endregion
16
+ exports.default = inspectArray;
17
+ //# sourceMappingURL=array.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"array.cjs","names":["inspectList","inspectProperty"],"sources":["../../../../../../../node_modules/.pnpm/loupe@3.2.1/node_modules/loupe/lib/array.js"],"sourcesContent":["import { inspectList, inspectProperty } from './helpers.js';\nexport default function inspectArray(array, options) {\n // Object.keys will always output the Array indices first, so we can slice by\n // `array.length` to get non-index properties\n const nonIndexProperties = Object.keys(array).slice(array.length);\n if (!array.length && !nonIndexProperties.length)\n return '[]';\n options.truncate -= 4;\n const listContents = inspectList(array, options);\n options.truncate -= listContents.length;\n let propertyContents = '';\n if (nonIndexProperties.length) {\n propertyContents = inspectList(nonIndexProperties.map(key => [key, array[key]]), options, inspectProperty);\n }\n return `[ ${listContents}${propertyContents ? `, ${propertyContents}` : ''} ]`;\n}\n"],"x_google_ignoreList":[0],"mappings":";;;AACA,SAAwB,aAAa,OAAO,SAAS;CAGjD,MAAM,qBAAqB,OAAO,KAAK,MAAM,CAAC,MAAM,MAAM,OAAO;AACjE,KAAI,CAAC,MAAM,UAAU,CAAC,mBAAmB,OACrC,QAAO;AACX,SAAQ,YAAY;CACpB,MAAM,eAAeA,4BAAY,OAAO,QAAQ;AAChD,SAAQ,YAAY,aAAa;CACjC,IAAI,mBAAmB;AACvB,KAAI,mBAAmB,OACnB,oBAAmBA,4BAAY,mBAAmB,KAAI,QAAO,CAAC,KAAK,MAAM,KAAK,CAAC,EAAE,SAASC,gCAAgB;AAE9G,QAAO,KAAK,eAAe,mBAAmB,KAAK,qBAAqB,GAAG"}
@@ -0,0 +1,17 @@
1
+ import { inspectList, inspectProperty } from "./helpers.js";
2
+
3
+ //#region node_modules/.pnpm/loupe@3.2.1/node_modules/loupe/lib/array.js
4
+ function inspectArray(array, options) {
5
+ const nonIndexProperties = Object.keys(array).slice(array.length);
6
+ if (!array.length && !nonIndexProperties.length) return "[]";
7
+ options.truncate -= 4;
8
+ const listContents = inspectList(array, options);
9
+ options.truncate -= listContents.length;
10
+ let propertyContents = "";
11
+ if (nonIndexProperties.length) propertyContents = inspectList(nonIndexProperties.map((key) => [key, array[key]]), options, inspectProperty);
12
+ return `[ ${listContents}${propertyContents ? `, ${propertyContents}` : ""} ]`;
13
+ }
14
+
15
+ //#endregion
16
+ export { inspectArray as default };
17
+ //# sourceMappingURL=array.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"array.js","names":[],"sources":["../../../../../../../node_modules/.pnpm/loupe@3.2.1/node_modules/loupe/lib/array.js"],"sourcesContent":["import { inspectList, inspectProperty } from './helpers.js';\nexport default function inspectArray(array, options) {\n // Object.keys will always output the Array indices first, so we can slice by\n // `array.length` to get non-index properties\n const nonIndexProperties = Object.keys(array).slice(array.length);\n if (!array.length && !nonIndexProperties.length)\n return '[]';\n options.truncate -= 4;\n const listContents = inspectList(array, options);\n options.truncate -= listContents.length;\n let propertyContents = '';\n if (nonIndexProperties.length) {\n propertyContents = inspectList(nonIndexProperties.map(key => [key, array[key]]), options, inspectProperty);\n }\n return `[ ${listContents}${propertyContents ? `, ${propertyContents}` : ''} ]`;\n}\n"],"x_google_ignoreList":[0],"mappings":";;;AACA,SAAwB,aAAa,OAAO,SAAS;CAGjD,MAAM,qBAAqB,OAAO,KAAK,MAAM,CAAC,MAAM,MAAM,OAAO;AACjE,KAAI,CAAC,MAAM,UAAU,CAAC,mBAAmB,OACrC,QAAO;AACX,SAAQ,YAAY;CACpB,MAAM,eAAe,YAAY,OAAO,QAAQ;AAChD,SAAQ,YAAY,aAAa;CACjC,IAAI,mBAAmB;AACvB,KAAI,mBAAmB,OACnB,oBAAmB,YAAY,mBAAmB,KAAI,QAAO,CAAC,KAAK,MAAM,KAAK,CAAC,EAAE,SAAS,gBAAgB;AAE9G,QAAO,KAAK,eAAe,mBAAmB,KAAK,qBAAqB,GAAG"}
@@ -0,0 +1,12 @@
1
+ const require_helpers = require('./helpers.cjs');
2
+
3
+ //#region node_modules/.pnpm/loupe@3.2.1/node_modules/loupe/lib/bigint.js
4
+ function inspectBigInt(number, options) {
5
+ let nums = require_helpers.truncate(number.toString(), options.truncate - 1);
6
+ if (nums !== require_helpers.truncator) nums += "n";
7
+ return options.stylize(nums, "bigint");
8
+ }
9
+
10
+ //#endregion
11
+ exports.default = inspectBigInt;
12
+ //# sourceMappingURL=bigint.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"bigint.cjs","names":["truncate","truncator"],"sources":["../../../../../../../node_modules/.pnpm/loupe@3.2.1/node_modules/loupe/lib/bigint.js"],"sourcesContent":["import { truncate, truncator } from './helpers.js';\nexport default function inspectBigInt(number, options) {\n let nums = truncate(number.toString(), options.truncate - 1);\n if (nums !== truncator)\n nums += 'n';\n return options.stylize(nums, 'bigint');\n}\n"],"x_google_ignoreList":[0],"mappings":";;;AACA,SAAwB,cAAc,QAAQ,SAAS;CACnD,IAAI,OAAOA,yBAAS,OAAO,UAAU,EAAE,QAAQ,WAAW,EAAE;AAC5D,KAAI,SAASC,0BACT,SAAQ;AACZ,QAAO,QAAQ,QAAQ,MAAM,SAAS"}
@@ -0,0 +1,12 @@
1
+ import { truncate, truncator } from "./helpers.js";
2
+
3
+ //#region node_modules/.pnpm/loupe@3.2.1/node_modules/loupe/lib/bigint.js
4
+ function inspectBigInt(number, options) {
5
+ let nums = truncate(number.toString(), options.truncate - 1);
6
+ if (nums !== truncator) nums += "n";
7
+ return options.stylize(nums, "bigint");
8
+ }
9
+
10
+ //#endregion
11
+ export { inspectBigInt as default };
12
+ //# sourceMappingURL=bigint.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"bigint.js","names":[],"sources":["../../../../../../../node_modules/.pnpm/loupe@3.2.1/node_modules/loupe/lib/bigint.js"],"sourcesContent":["import { truncate, truncator } from './helpers.js';\nexport default function inspectBigInt(number, options) {\n let nums = truncate(number.toString(), options.truncate - 1);\n if (nums !== truncator)\n nums += 'n';\n return options.stylize(nums, 'bigint');\n}\n"],"x_google_ignoreList":[0],"mappings":";;;AACA,SAAwB,cAAc,QAAQ,SAAS;CACnD,IAAI,OAAO,SAAS,OAAO,UAAU,EAAE,QAAQ,WAAW,EAAE;AAC5D,KAAI,SAAS,UACT,SAAQ;AACZ,QAAO,QAAQ,QAAQ,MAAM,SAAS"}
@@ -0,0 +1,16 @@
1
+ const require_object = require('./object.cjs');
2
+
3
+ //#region node_modules/.pnpm/loupe@3.2.1/node_modules/loupe/lib/class.js
4
+ const toStringTag = typeof Symbol !== "undefined" && Symbol.toStringTag ? Symbol.toStringTag : false;
5
+ function inspectClass(value, options) {
6
+ let name = "";
7
+ if (toStringTag && toStringTag in value) name = value[toStringTag];
8
+ name = name || value.constructor.name;
9
+ if (!name || name === "_class") name = "<Anonymous Class>";
10
+ options.truncate -= name.length;
11
+ return `${name}${require_object.default(value, options)}`;
12
+ }
13
+
14
+ //#endregion
15
+ exports.default = inspectClass;
16
+ //# sourceMappingURL=class.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"class.cjs","names":["inspectObject"],"sources":["../../../../../../../node_modules/.pnpm/loupe@3.2.1/node_modules/loupe/lib/class.js"],"sourcesContent":["import inspectObject from './object.js';\nconst toStringTag = typeof Symbol !== 'undefined' && Symbol.toStringTag ? Symbol.toStringTag : false;\nexport default function inspectClass(value, options) {\n let name = '';\n if (toStringTag && toStringTag in value) {\n name = value[toStringTag];\n }\n name = name || value.constructor.name;\n // Babel transforms anonymous classes to the name `_class`\n if (!name || name === '_class') {\n name = '<Anonymous Class>';\n }\n options.truncate -= name.length;\n return `${name}${inspectObject(value, options)}`;\n}\n"],"x_google_ignoreList":[0],"mappings":";;;AACA,MAAM,cAAc,OAAO,WAAW,eAAe,OAAO,cAAc,OAAO,cAAc;AAC/F,SAAwB,aAAa,OAAO,SAAS;CACjD,IAAI,OAAO;AACX,KAAI,eAAe,eAAe,MAC9B,QAAO,MAAM;AAEjB,QAAO,QAAQ,MAAM,YAAY;AAEjC,KAAI,CAAC,QAAQ,SAAS,SAClB,QAAO;AAEX,SAAQ,YAAY,KAAK;AACzB,QAAO,GAAG,OAAOA,uBAAc,OAAO,QAAQ"}
@@ -0,0 +1,16 @@
1
+ import inspectObject from "./object.js";
2
+
3
+ //#region node_modules/.pnpm/loupe@3.2.1/node_modules/loupe/lib/class.js
4
+ const toStringTag = typeof Symbol !== "undefined" && Symbol.toStringTag ? Symbol.toStringTag : false;
5
+ function inspectClass(value, options) {
6
+ let name = "";
7
+ if (toStringTag && toStringTag in value) name = value[toStringTag];
8
+ name = name || value.constructor.name;
9
+ if (!name || name === "_class") name = "<Anonymous Class>";
10
+ options.truncate -= name.length;
11
+ return `${name}${inspectObject(value, options)}`;
12
+ }
13
+
14
+ //#endregion
15
+ export { inspectClass as default };
16
+ //# sourceMappingURL=class.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"class.js","names":[],"sources":["../../../../../../../node_modules/.pnpm/loupe@3.2.1/node_modules/loupe/lib/class.js"],"sourcesContent":["import inspectObject from './object.js';\nconst toStringTag = typeof Symbol !== 'undefined' && Symbol.toStringTag ? Symbol.toStringTag : false;\nexport default function inspectClass(value, options) {\n let name = '';\n if (toStringTag && toStringTag in value) {\n name = value[toStringTag];\n }\n name = name || value.constructor.name;\n // Babel transforms anonymous classes to the name `_class`\n if (!name || name === '_class') {\n name = '<Anonymous Class>';\n }\n options.truncate -= name.length;\n return `${name}${inspectObject(value, options)}`;\n}\n"],"x_google_ignoreList":[0],"mappings":";;;AACA,MAAM,cAAc,OAAO,WAAW,eAAe,OAAO,cAAc,OAAO,cAAc;AAC/F,SAAwB,aAAa,OAAO,SAAS;CACjD,IAAI,OAAO;AACX,KAAI,eAAe,eAAe,MAC9B,QAAO,MAAM;AAEjB,QAAO,QAAQ,MAAM,YAAY;AAEjC,KAAI,CAAC,QAAQ,SAAS,SAClB,QAAO;AAEX,SAAQ,YAAY,KAAK;AACzB,QAAO,GAAG,OAAO,cAAc,OAAO,QAAQ"}
@@ -0,0 +1,14 @@
1
+ const require_helpers = require('./helpers.cjs');
2
+
3
+ //#region node_modules/.pnpm/loupe@3.2.1/node_modules/loupe/lib/date.js
4
+ function inspectDate(dateObject, options) {
5
+ const stringRepresentation = dateObject.toJSON();
6
+ if (stringRepresentation === null) return "Invalid Date";
7
+ const split = stringRepresentation.split("T");
8
+ const date = split[0];
9
+ return options.stylize(`${date}T${require_helpers.truncate(split[1], options.truncate - date.length - 1)}`, "date");
10
+ }
11
+
12
+ //#endregion
13
+ exports.default = inspectDate;
14
+ //# sourceMappingURL=date.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"date.cjs","names":["truncate"],"sources":["../../../../../../../node_modules/.pnpm/loupe@3.2.1/node_modules/loupe/lib/date.js"],"sourcesContent":["import { truncate } from './helpers.js';\nexport default function inspectDate(dateObject, options) {\n const stringRepresentation = dateObject.toJSON();\n if (stringRepresentation === null) {\n return 'Invalid Date';\n }\n const split = stringRepresentation.split('T');\n const date = split[0];\n // If we need to - truncate the time portion, but never the date\n return options.stylize(`${date}T${truncate(split[1], options.truncate - date.length - 1)}`, 'date');\n}\n"],"x_google_ignoreList":[0],"mappings":";;;AACA,SAAwB,YAAY,YAAY,SAAS;CACrD,MAAM,uBAAuB,WAAW,QAAQ;AAChD,KAAI,yBAAyB,KACzB,QAAO;CAEX,MAAM,QAAQ,qBAAqB,MAAM,IAAI;CAC7C,MAAM,OAAO,MAAM;AAEnB,QAAO,QAAQ,QAAQ,GAAG,KAAK,GAAGA,yBAAS,MAAM,IAAI,QAAQ,WAAW,KAAK,SAAS,EAAE,IAAI,OAAO"}
@@ -0,0 +1,14 @@
1
+ import { truncate } from "./helpers.js";
2
+
3
+ //#region node_modules/.pnpm/loupe@3.2.1/node_modules/loupe/lib/date.js
4
+ function inspectDate(dateObject, options) {
5
+ const stringRepresentation = dateObject.toJSON();
6
+ if (stringRepresentation === null) return "Invalid Date";
7
+ const split = stringRepresentation.split("T");
8
+ const date = split[0];
9
+ return options.stylize(`${date}T${truncate(split[1], options.truncate - date.length - 1)}`, "date");
10
+ }
11
+
12
+ //#endregion
13
+ export { inspectDate as default };
14
+ //# sourceMappingURL=date.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"date.js","names":[],"sources":["../../../../../../../node_modules/.pnpm/loupe@3.2.1/node_modules/loupe/lib/date.js"],"sourcesContent":["import { truncate } from './helpers.js';\nexport default function inspectDate(dateObject, options) {\n const stringRepresentation = dateObject.toJSON();\n if (stringRepresentation === null) {\n return 'Invalid Date';\n }\n const split = stringRepresentation.split('T');\n const date = split[0];\n // If we need to - truncate the time portion, but never the date\n return options.stylize(`${date}T${truncate(split[1], options.truncate - date.length - 1)}`, 'date');\n}\n"],"x_google_ignoreList":[0],"mappings":";;;AACA,SAAwB,YAAY,YAAY,SAAS;CACrD,MAAM,uBAAuB,WAAW,QAAQ;AAChD,KAAI,yBAAyB,KACzB,QAAO;CAEX,MAAM,QAAQ,qBAAqB,MAAM,IAAI;CAC7C,MAAM,OAAO,MAAM;AAEnB,QAAO,QAAQ,QAAQ,GAAG,KAAK,GAAG,SAAS,MAAM,IAAI,QAAQ,WAAW,KAAK,SAAS,EAAE,IAAI,OAAO"}