@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,934 @@
1
+ require('../../../../../tinyrainbow@2.0.0/node_modules/tinyrainbow/dist/node.cjs');
2
+
3
+ //#region node_modules/.pnpm/@vitest+pretty-format@3.2.4/node_modules/@vitest/pretty-format/dist/index.js
4
+ function _mergeNamespaces(n, m) {
5
+ m.forEach(function(e) {
6
+ e && typeof e !== "string" && !Array.isArray(e) && Object.keys(e).forEach(function(k) {
7
+ if (k !== "default" && !(k in n)) {
8
+ var d = Object.getOwnPropertyDescriptor(e, k);
9
+ Object.defineProperty(n, k, d.get ? d : {
10
+ enumerable: true,
11
+ get: function() {
12
+ return e[k];
13
+ }
14
+ });
15
+ }
16
+ });
17
+ });
18
+ return Object.freeze(n);
19
+ }
20
+ function getKeysOfEnumerableProperties(object, compareKeys) {
21
+ const rawKeys = Object.keys(object);
22
+ const keys = compareKeys === null ? rawKeys : rawKeys.sort(compareKeys);
23
+ if (Object.getOwnPropertySymbols) {
24
+ for (const symbol of Object.getOwnPropertySymbols(object)) if (Object.getOwnPropertyDescriptor(object, symbol).enumerable) keys.push(symbol);
25
+ }
26
+ return keys;
27
+ }
28
+ /**
29
+ * Return entries (for example, of a map)
30
+ * with spacing, indentation, and comma
31
+ * without surrounding punctuation (for example, braces)
32
+ */
33
+ function printIteratorEntries(iterator, config, indentation, depth, refs, printer, separator = ": ") {
34
+ let result = "";
35
+ let width = 0;
36
+ let current = iterator.next();
37
+ if (!current.done) {
38
+ result += config.spacingOuter;
39
+ const indentationNext = indentation + config.indent;
40
+ while (!current.done) {
41
+ result += indentationNext;
42
+ if (width++ === config.maxWidth) {
43
+ result += "…";
44
+ break;
45
+ }
46
+ const name = printer(current.value[0], config, indentationNext, depth, refs);
47
+ const value = printer(current.value[1], config, indentationNext, depth, refs);
48
+ result += name + separator + value;
49
+ current = iterator.next();
50
+ if (!current.done) result += `,${config.spacingInner}`;
51
+ else if (!config.min) result += ",";
52
+ }
53
+ result += config.spacingOuter + indentation;
54
+ }
55
+ return result;
56
+ }
57
+ /**
58
+ * Return values (for example, of a set)
59
+ * with spacing, indentation, and comma
60
+ * without surrounding punctuation (braces or brackets)
61
+ */
62
+ function printIteratorValues(iterator, config, indentation, depth, refs, printer) {
63
+ let result = "";
64
+ let width = 0;
65
+ let current = iterator.next();
66
+ if (!current.done) {
67
+ result += config.spacingOuter;
68
+ const indentationNext = indentation + config.indent;
69
+ while (!current.done) {
70
+ result += indentationNext;
71
+ if (width++ === config.maxWidth) {
72
+ result += "…";
73
+ break;
74
+ }
75
+ result += printer(current.value, config, indentationNext, depth, refs);
76
+ current = iterator.next();
77
+ if (!current.done) result += `,${config.spacingInner}`;
78
+ else if (!config.min) result += ",";
79
+ }
80
+ result += config.spacingOuter + indentation;
81
+ }
82
+ return result;
83
+ }
84
+ /**
85
+ * Return items (for example, of an array)
86
+ * with spacing, indentation, and comma
87
+ * without surrounding punctuation (for example, brackets)
88
+ */
89
+ function printListItems(list, config, indentation, depth, refs, printer) {
90
+ let result = "";
91
+ list = list instanceof ArrayBuffer ? new DataView(list) : list;
92
+ const isDataView = (l) => l instanceof DataView;
93
+ const length = isDataView(list) ? list.byteLength : list.length;
94
+ if (length > 0) {
95
+ result += config.spacingOuter;
96
+ const indentationNext = indentation + config.indent;
97
+ for (let i = 0; i < length; i++) {
98
+ result += indentationNext;
99
+ if (i === config.maxWidth) {
100
+ result += "…";
101
+ break;
102
+ }
103
+ if (isDataView(list) || i in list) result += printer(isDataView(list) ? list.getInt8(i) : list[i], config, indentationNext, depth, refs);
104
+ if (i < length - 1) result += `,${config.spacingInner}`;
105
+ else if (!config.min) result += ",";
106
+ }
107
+ result += config.spacingOuter + indentation;
108
+ }
109
+ return result;
110
+ }
111
+ /**
112
+ * Return properties of an object
113
+ * with spacing, indentation, and comma
114
+ * without surrounding punctuation (for example, braces)
115
+ */
116
+ function printObjectProperties(val, config, indentation, depth, refs, printer) {
117
+ let result = "";
118
+ const keys = getKeysOfEnumerableProperties(val, config.compareKeys);
119
+ if (keys.length > 0) {
120
+ result += config.spacingOuter;
121
+ const indentationNext = indentation + config.indent;
122
+ for (let i = 0; i < keys.length; i++) {
123
+ const key = keys[i];
124
+ const name = printer(key, config, indentationNext, depth, refs);
125
+ const value = printer(val[key], config, indentationNext, depth, refs);
126
+ result += `${indentationNext + name}: ${value}`;
127
+ if (i < keys.length - 1) result += `,${config.spacingInner}`;
128
+ else if (!config.min) result += ",";
129
+ }
130
+ result += config.spacingOuter + indentation;
131
+ }
132
+ return result;
133
+ }
134
+ const asymmetricMatcher = typeof Symbol === "function" && Symbol.for ? Symbol.for("jest.asymmetricMatcher") : 1267621;
135
+ const SPACE$2 = " ";
136
+ const serialize$5 = (val, config, indentation, depth, refs, printer) => {
137
+ const stringedValue = val.toString();
138
+ if (stringedValue === "ArrayContaining" || stringedValue === "ArrayNotContaining") {
139
+ if (++depth > config.maxDepth) return `[${stringedValue}]`;
140
+ return `${stringedValue + SPACE$2}[${printListItems(val.sample, config, indentation, depth, refs, printer)}]`;
141
+ }
142
+ if (stringedValue === "ObjectContaining" || stringedValue === "ObjectNotContaining") {
143
+ if (++depth > config.maxDepth) return `[${stringedValue}]`;
144
+ return `${stringedValue + SPACE$2}{${printObjectProperties(val.sample, config, indentation, depth, refs, printer)}}`;
145
+ }
146
+ if (stringedValue === "StringMatching" || stringedValue === "StringNotMatching") return stringedValue + SPACE$2 + printer(val.sample, config, indentation, depth, refs);
147
+ if (stringedValue === "StringContaining" || stringedValue === "StringNotContaining") return stringedValue + SPACE$2 + printer(val.sample, config, indentation, depth, refs);
148
+ if (typeof val.toAsymmetricMatcher !== "function") throw new TypeError(`Asymmetric matcher ${val.constructor.name} does not implement toAsymmetricMatcher()`);
149
+ return val.toAsymmetricMatcher();
150
+ };
151
+ const test$5 = (val) => val && val.$$typeof === asymmetricMatcher;
152
+ const plugin$5 = {
153
+ serialize: serialize$5,
154
+ test: test$5
155
+ };
156
+ const SPACE$1 = " ";
157
+ const OBJECT_NAMES = new Set(["DOMStringMap", "NamedNodeMap"]);
158
+ const ARRAY_REGEXP = /^(?:HTML\w*Collection|NodeList)$/;
159
+ function testName(name) {
160
+ return OBJECT_NAMES.has(name) || ARRAY_REGEXP.test(name);
161
+ }
162
+ const test$4 = (val) => val && val.constructor && !!val.constructor.name && testName(val.constructor.name);
163
+ function isNamedNodeMap(collection) {
164
+ return collection.constructor.name === "NamedNodeMap";
165
+ }
166
+ const serialize$4 = (collection, config, indentation, depth, refs, printer) => {
167
+ const name = collection.constructor.name;
168
+ if (++depth > config.maxDepth) return `[${name}]`;
169
+ return (config.min ? "" : name + SPACE$1) + (OBJECT_NAMES.has(name) ? `{${printObjectProperties(isNamedNodeMap(collection) ? [...collection].reduce((props, attribute) => {
170
+ props[attribute.name] = attribute.value;
171
+ return props;
172
+ }, {}) : { ...collection }, config, indentation, depth, refs, printer)}}` : `[${printListItems([...collection], config, indentation, depth, refs, printer)}]`);
173
+ };
174
+ const plugin$4 = {
175
+ serialize: serialize$4,
176
+ test: test$4
177
+ };
178
+ /**
179
+ * Copyright (c) Meta Platforms, Inc. and affiliates.
180
+ *
181
+ * This source code is licensed under the MIT license found in the
182
+ * LICENSE file in the root directory of this source tree.
183
+ */
184
+ function escapeHTML(str) {
185
+ return str.replaceAll("<", "&lt;").replaceAll(">", "&gt;");
186
+ }
187
+ function printProps(keys, props, config, indentation, depth, refs, printer) {
188
+ const indentationNext = indentation + config.indent;
189
+ const colors = config.colors;
190
+ return keys.map((key) => {
191
+ const value = props[key];
192
+ let printed = printer(value, config, indentationNext, depth, refs);
193
+ if (typeof value !== "string") {
194
+ if (printed.includes("\n")) printed = config.spacingOuter + indentationNext + printed + config.spacingOuter + indentation;
195
+ printed = `{${printed}}`;
196
+ }
197
+ return `${config.spacingInner + indentation + colors.prop.open + key + colors.prop.close}=${colors.value.open}${printed}${colors.value.close}`;
198
+ }).join("");
199
+ }
200
+ function printChildren(children, config, indentation, depth, refs, printer) {
201
+ return children.map((child) => config.spacingOuter + indentation + (typeof child === "string" ? printText(child, config) : printer(child, config, indentation, depth, refs))).join("");
202
+ }
203
+ function printText(text, config) {
204
+ const contentColor = config.colors.content;
205
+ return contentColor.open + escapeHTML(text) + contentColor.close;
206
+ }
207
+ function printComment(comment, config) {
208
+ const commentColor = config.colors.comment;
209
+ return `${commentColor.open}<!--${escapeHTML(comment)}-->${commentColor.close}`;
210
+ }
211
+ function printElement(type, printedProps, printedChildren, config, indentation) {
212
+ const tagColor = config.colors.tag;
213
+ return `${tagColor.open}<${type}${printedProps && tagColor.close + printedProps + config.spacingOuter + indentation + tagColor.open}${printedChildren ? `>${tagColor.close}${printedChildren}${config.spacingOuter}${indentation}${tagColor.open}</${type}` : `${printedProps && !config.min ? "" : " "}/`}>${tagColor.close}`;
214
+ }
215
+ function printElementAsLeaf(type, config) {
216
+ const tagColor = config.colors.tag;
217
+ return `${tagColor.open}<${type}${tagColor.close} …${tagColor.open} />${tagColor.close}`;
218
+ }
219
+ const ELEMENT_NODE = 1;
220
+ const TEXT_NODE = 3;
221
+ const COMMENT_NODE = 8;
222
+ const FRAGMENT_NODE = 11;
223
+ const ELEMENT_REGEXP = /^(?:(?:HTML|SVG)\w*)?Element$/;
224
+ function testHasAttribute(val) {
225
+ try {
226
+ return typeof val.hasAttribute === "function" && val.hasAttribute("is");
227
+ } catch {
228
+ return false;
229
+ }
230
+ }
231
+ function testNode(val) {
232
+ const constructorName = val.constructor.name;
233
+ const { nodeType, tagName } = val;
234
+ const isCustomElement = typeof tagName === "string" && tagName.includes("-") || testHasAttribute(val);
235
+ return nodeType === ELEMENT_NODE && (ELEMENT_REGEXP.test(constructorName) || isCustomElement) || nodeType === TEXT_NODE && constructorName === "Text" || nodeType === COMMENT_NODE && constructorName === "Comment" || nodeType === FRAGMENT_NODE && constructorName === "DocumentFragment";
236
+ }
237
+ const test$3 = (val) => {
238
+ var _val$constructor;
239
+ return (val === null || val === void 0 || (_val$constructor = val.constructor) === null || _val$constructor === void 0 ? void 0 : _val$constructor.name) && testNode(val);
240
+ };
241
+ function nodeIsText(node) {
242
+ return node.nodeType === TEXT_NODE;
243
+ }
244
+ function nodeIsComment(node) {
245
+ return node.nodeType === COMMENT_NODE;
246
+ }
247
+ function nodeIsFragment(node) {
248
+ return node.nodeType === FRAGMENT_NODE;
249
+ }
250
+ const serialize$3 = (node, config, indentation, depth, refs, printer) => {
251
+ if (nodeIsText(node)) return printText(node.data, config);
252
+ if (nodeIsComment(node)) return printComment(node.data, config);
253
+ const type = nodeIsFragment(node) ? "DocumentFragment" : node.tagName.toLowerCase();
254
+ if (++depth > config.maxDepth) return printElementAsLeaf(type, config);
255
+ return printElement(type, printProps(nodeIsFragment(node) ? [] : Array.from(node.attributes, (attr) => attr.name).sort(), nodeIsFragment(node) ? {} : [...node.attributes].reduce((props, attribute) => {
256
+ props[attribute.name] = attribute.value;
257
+ return props;
258
+ }, {}), config, indentation + config.indent, depth, refs, printer), printChildren(Array.prototype.slice.call(node.childNodes || node.children), config, indentation + config.indent, depth, refs, printer), config, indentation);
259
+ };
260
+ const plugin$3 = {
261
+ serialize: serialize$3,
262
+ test: test$3
263
+ };
264
+ const IS_ITERABLE_SENTINEL = "@@__IMMUTABLE_ITERABLE__@@";
265
+ const IS_LIST_SENTINEL = "@@__IMMUTABLE_LIST__@@";
266
+ const IS_KEYED_SENTINEL = "@@__IMMUTABLE_KEYED__@@";
267
+ const IS_MAP_SENTINEL = "@@__IMMUTABLE_MAP__@@";
268
+ const IS_ORDERED_SENTINEL = "@@__IMMUTABLE_ORDERED__@@";
269
+ const IS_RECORD_SENTINEL = "@@__IMMUTABLE_RECORD__@@";
270
+ const IS_SEQ_SENTINEL = "@@__IMMUTABLE_SEQ__@@";
271
+ const IS_SET_SENTINEL = "@@__IMMUTABLE_SET__@@";
272
+ const IS_STACK_SENTINEL = "@@__IMMUTABLE_STACK__@@";
273
+ const getImmutableName = (name) => `Immutable.${name}`;
274
+ const printAsLeaf = (name) => `[${name}]`;
275
+ const SPACE = " ";
276
+ const LAZY = "…";
277
+ function printImmutableEntries(val, config, indentation, depth, refs, printer, type) {
278
+ return ++depth > config.maxDepth ? printAsLeaf(getImmutableName(type)) : `${getImmutableName(type) + SPACE}{${printIteratorEntries(val.entries(), config, indentation, depth, refs, printer)}}`;
279
+ }
280
+ function getRecordEntries(val) {
281
+ let i = 0;
282
+ return { next() {
283
+ if (i < val._keys.length) {
284
+ const key = val._keys[i++];
285
+ return {
286
+ done: false,
287
+ value: [key, val.get(key)]
288
+ };
289
+ }
290
+ return {
291
+ done: true,
292
+ value: void 0
293
+ };
294
+ } };
295
+ }
296
+ function printImmutableRecord(val, config, indentation, depth, refs, printer) {
297
+ const name = getImmutableName(val._name || "Record");
298
+ return ++depth > config.maxDepth ? printAsLeaf(name) : `${name + SPACE}{${printIteratorEntries(getRecordEntries(val), config, indentation, depth, refs, printer)}}`;
299
+ }
300
+ function printImmutableSeq(val, config, indentation, depth, refs, printer) {
301
+ const name = getImmutableName("Seq");
302
+ if (++depth > config.maxDepth) return printAsLeaf(name);
303
+ if (val[IS_KEYED_SENTINEL]) return `${name + SPACE}{${val._iter || val._object ? printIteratorEntries(val.entries(), config, indentation, depth, refs, printer) : LAZY}}`;
304
+ return `${name + SPACE}[${val._iter || val._array || val._collection || val._iterable ? printIteratorValues(val.values(), config, indentation, depth, refs, printer) : LAZY}]`;
305
+ }
306
+ function printImmutableValues(val, config, indentation, depth, refs, printer, type) {
307
+ return ++depth > config.maxDepth ? printAsLeaf(getImmutableName(type)) : `${getImmutableName(type) + SPACE}[${printIteratorValues(val.values(), config, indentation, depth, refs, printer)}]`;
308
+ }
309
+ const serialize$2 = (val, config, indentation, depth, refs, printer) => {
310
+ if (val[IS_MAP_SENTINEL]) return printImmutableEntries(val, config, indentation, depth, refs, printer, val[IS_ORDERED_SENTINEL] ? "OrderedMap" : "Map");
311
+ if (val[IS_LIST_SENTINEL]) return printImmutableValues(val, config, indentation, depth, refs, printer, "List");
312
+ if (val[IS_SET_SENTINEL]) return printImmutableValues(val, config, indentation, depth, refs, printer, val[IS_ORDERED_SENTINEL] ? "OrderedSet" : "Set");
313
+ if (val[IS_STACK_SENTINEL]) return printImmutableValues(val, config, indentation, depth, refs, printer, "Stack");
314
+ if (val[IS_SEQ_SENTINEL]) return printImmutableSeq(val, config, indentation, depth, refs, printer);
315
+ return printImmutableRecord(val, config, indentation, depth, refs, printer);
316
+ };
317
+ const test$2 = (val) => val && (val[IS_ITERABLE_SENTINEL] === true || val[IS_RECORD_SENTINEL] === true);
318
+ const plugin$2 = {
319
+ serialize: serialize$2,
320
+ test: test$2
321
+ };
322
+ function getDefaultExportFromCjs(x) {
323
+ return x && x.__esModule && Object.prototype.hasOwnProperty.call(x, "default") ? x["default"] : x;
324
+ }
325
+ var reactIs$1 = { exports: {} };
326
+ var reactIs_production = {};
327
+ /**
328
+ * @license React
329
+ * react-is.production.js
330
+ *
331
+ * Copyright (c) Meta Platforms, Inc. and affiliates.
332
+ *
333
+ * This source code is licensed under the MIT license found in the
334
+ * LICENSE file in the root directory of this source tree.
335
+ */
336
+ var hasRequiredReactIs_production;
337
+ function requireReactIs_production() {
338
+ if (hasRequiredReactIs_production) return reactIs_production;
339
+ hasRequiredReactIs_production = 1;
340
+ var REACT_ELEMENT_TYPE = Symbol.for("react.transitional.element"), REACT_PORTAL_TYPE = Symbol.for("react.portal"), REACT_FRAGMENT_TYPE = Symbol.for("react.fragment"), REACT_STRICT_MODE_TYPE = Symbol.for("react.strict_mode"), REACT_PROFILER_TYPE = Symbol.for("react.profiler");
341
+ var REACT_CONSUMER_TYPE = Symbol.for("react.consumer"), REACT_CONTEXT_TYPE = Symbol.for("react.context"), REACT_FORWARD_REF_TYPE = Symbol.for("react.forward_ref"), REACT_SUSPENSE_TYPE = Symbol.for("react.suspense"), REACT_SUSPENSE_LIST_TYPE = Symbol.for("react.suspense_list"), REACT_MEMO_TYPE = Symbol.for("react.memo"), REACT_LAZY_TYPE = Symbol.for("react.lazy"), REACT_VIEW_TRANSITION_TYPE = Symbol.for("react.view_transition"), REACT_CLIENT_REFERENCE = Symbol.for("react.client.reference");
342
+ function typeOf(object) {
343
+ if ("object" === typeof object && null !== object) {
344
+ var $$typeof = object.$$typeof;
345
+ switch ($$typeof) {
346
+ case REACT_ELEMENT_TYPE: switch (object = object.type, object) {
347
+ case REACT_FRAGMENT_TYPE:
348
+ case REACT_PROFILER_TYPE:
349
+ case REACT_STRICT_MODE_TYPE:
350
+ case REACT_SUSPENSE_TYPE:
351
+ case REACT_SUSPENSE_LIST_TYPE:
352
+ case REACT_VIEW_TRANSITION_TYPE: return object;
353
+ default: switch (object = object && object.$$typeof, object) {
354
+ case REACT_CONTEXT_TYPE:
355
+ case REACT_FORWARD_REF_TYPE:
356
+ case REACT_LAZY_TYPE:
357
+ case REACT_MEMO_TYPE: return object;
358
+ case REACT_CONSUMER_TYPE: return object;
359
+ default: return $$typeof;
360
+ }
361
+ }
362
+ case REACT_PORTAL_TYPE: return $$typeof;
363
+ }
364
+ }
365
+ }
366
+ reactIs_production.ContextConsumer = REACT_CONSUMER_TYPE;
367
+ reactIs_production.ContextProvider = REACT_CONTEXT_TYPE;
368
+ reactIs_production.Element = REACT_ELEMENT_TYPE;
369
+ reactIs_production.ForwardRef = REACT_FORWARD_REF_TYPE;
370
+ reactIs_production.Fragment = REACT_FRAGMENT_TYPE;
371
+ reactIs_production.Lazy = REACT_LAZY_TYPE;
372
+ reactIs_production.Memo = REACT_MEMO_TYPE;
373
+ reactIs_production.Portal = REACT_PORTAL_TYPE;
374
+ reactIs_production.Profiler = REACT_PROFILER_TYPE;
375
+ reactIs_production.StrictMode = REACT_STRICT_MODE_TYPE;
376
+ reactIs_production.Suspense = REACT_SUSPENSE_TYPE;
377
+ reactIs_production.SuspenseList = REACT_SUSPENSE_LIST_TYPE;
378
+ reactIs_production.isContextConsumer = function(object) {
379
+ return typeOf(object) === REACT_CONSUMER_TYPE;
380
+ };
381
+ reactIs_production.isContextProvider = function(object) {
382
+ return typeOf(object) === REACT_CONTEXT_TYPE;
383
+ };
384
+ reactIs_production.isElement = function(object) {
385
+ return "object" === typeof object && null !== object && object.$$typeof === REACT_ELEMENT_TYPE;
386
+ };
387
+ reactIs_production.isForwardRef = function(object) {
388
+ return typeOf(object) === REACT_FORWARD_REF_TYPE;
389
+ };
390
+ reactIs_production.isFragment = function(object) {
391
+ return typeOf(object) === REACT_FRAGMENT_TYPE;
392
+ };
393
+ reactIs_production.isLazy = function(object) {
394
+ return typeOf(object) === REACT_LAZY_TYPE;
395
+ };
396
+ reactIs_production.isMemo = function(object) {
397
+ return typeOf(object) === REACT_MEMO_TYPE;
398
+ };
399
+ reactIs_production.isPortal = function(object) {
400
+ return typeOf(object) === REACT_PORTAL_TYPE;
401
+ };
402
+ reactIs_production.isProfiler = function(object) {
403
+ return typeOf(object) === REACT_PROFILER_TYPE;
404
+ };
405
+ reactIs_production.isStrictMode = function(object) {
406
+ return typeOf(object) === REACT_STRICT_MODE_TYPE;
407
+ };
408
+ reactIs_production.isSuspense = function(object) {
409
+ return typeOf(object) === REACT_SUSPENSE_TYPE;
410
+ };
411
+ reactIs_production.isSuspenseList = function(object) {
412
+ return typeOf(object) === REACT_SUSPENSE_LIST_TYPE;
413
+ };
414
+ reactIs_production.isValidElementType = function(type) {
415
+ return "string" === typeof type || "function" === typeof type || type === REACT_FRAGMENT_TYPE || type === REACT_PROFILER_TYPE || type === REACT_STRICT_MODE_TYPE || type === REACT_SUSPENSE_TYPE || type === REACT_SUSPENSE_LIST_TYPE || "object" === typeof type && null !== type && (type.$$typeof === REACT_LAZY_TYPE || type.$$typeof === REACT_MEMO_TYPE || type.$$typeof === REACT_CONTEXT_TYPE || type.$$typeof === REACT_CONSUMER_TYPE || type.$$typeof === REACT_FORWARD_REF_TYPE || type.$$typeof === REACT_CLIENT_REFERENCE || void 0 !== type.getModuleId) ? true : false;
416
+ };
417
+ reactIs_production.typeOf = typeOf;
418
+ return reactIs_production;
419
+ }
420
+ var reactIs_development$1 = {};
421
+ /**
422
+ * @license React
423
+ * react-is.development.js
424
+ *
425
+ * Copyright (c) Meta Platforms, Inc. and affiliates.
426
+ *
427
+ * This source code is licensed under the MIT license found in the
428
+ * LICENSE file in the root directory of this source tree.
429
+ */
430
+ var hasRequiredReactIs_development$1;
431
+ function requireReactIs_development$1() {
432
+ if (hasRequiredReactIs_development$1) return reactIs_development$1;
433
+ hasRequiredReactIs_development$1 = 1;
434
+ "production" !== process.env.NODE_ENV && (function() {
435
+ function typeOf(object) {
436
+ if ("object" === typeof object && null !== object) {
437
+ var $$typeof = object.$$typeof;
438
+ switch ($$typeof) {
439
+ case REACT_ELEMENT_TYPE: switch (object = object.type, object) {
440
+ case REACT_FRAGMENT_TYPE:
441
+ case REACT_PROFILER_TYPE:
442
+ case REACT_STRICT_MODE_TYPE:
443
+ case REACT_SUSPENSE_TYPE:
444
+ case REACT_SUSPENSE_LIST_TYPE:
445
+ case REACT_VIEW_TRANSITION_TYPE: return object;
446
+ default: switch (object = object && object.$$typeof, object) {
447
+ case REACT_CONTEXT_TYPE:
448
+ case REACT_FORWARD_REF_TYPE:
449
+ case REACT_LAZY_TYPE:
450
+ case REACT_MEMO_TYPE: return object;
451
+ case REACT_CONSUMER_TYPE: return object;
452
+ default: return $$typeof;
453
+ }
454
+ }
455
+ case REACT_PORTAL_TYPE: return $$typeof;
456
+ }
457
+ }
458
+ }
459
+ var REACT_ELEMENT_TYPE = Symbol.for("react.transitional.element"), REACT_PORTAL_TYPE = Symbol.for("react.portal"), REACT_FRAGMENT_TYPE = Symbol.for("react.fragment"), REACT_STRICT_MODE_TYPE = Symbol.for("react.strict_mode"), REACT_PROFILER_TYPE = Symbol.for("react.profiler");
460
+ var REACT_CONSUMER_TYPE = Symbol.for("react.consumer"), REACT_CONTEXT_TYPE = Symbol.for("react.context"), REACT_FORWARD_REF_TYPE = Symbol.for("react.forward_ref"), REACT_SUSPENSE_TYPE = Symbol.for("react.suspense"), REACT_SUSPENSE_LIST_TYPE = Symbol.for("react.suspense_list"), REACT_MEMO_TYPE = Symbol.for("react.memo"), REACT_LAZY_TYPE = Symbol.for("react.lazy"), REACT_VIEW_TRANSITION_TYPE = Symbol.for("react.view_transition"), REACT_CLIENT_REFERENCE = Symbol.for("react.client.reference");
461
+ reactIs_development$1.ContextConsumer = REACT_CONSUMER_TYPE;
462
+ reactIs_development$1.ContextProvider = REACT_CONTEXT_TYPE;
463
+ reactIs_development$1.Element = REACT_ELEMENT_TYPE;
464
+ reactIs_development$1.ForwardRef = REACT_FORWARD_REF_TYPE;
465
+ reactIs_development$1.Fragment = REACT_FRAGMENT_TYPE;
466
+ reactIs_development$1.Lazy = REACT_LAZY_TYPE;
467
+ reactIs_development$1.Memo = REACT_MEMO_TYPE;
468
+ reactIs_development$1.Portal = REACT_PORTAL_TYPE;
469
+ reactIs_development$1.Profiler = REACT_PROFILER_TYPE;
470
+ reactIs_development$1.StrictMode = REACT_STRICT_MODE_TYPE;
471
+ reactIs_development$1.Suspense = REACT_SUSPENSE_TYPE;
472
+ reactIs_development$1.SuspenseList = REACT_SUSPENSE_LIST_TYPE;
473
+ reactIs_development$1.isContextConsumer = function(object) {
474
+ return typeOf(object) === REACT_CONSUMER_TYPE;
475
+ };
476
+ reactIs_development$1.isContextProvider = function(object) {
477
+ return typeOf(object) === REACT_CONTEXT_TYPE;
478
+ };
479
+ reactIs_development$1.isElement = function(object) {
480
+ return "object" === typeof object && null !== object && object.$$typeof === REACT_ELEMENT_TYPE;
481
+ };
482
+ reactIs_development$1.isForwardRef = function(object) {
483
+ return typeOf(object) === REACT_FORWARD_REF_TYPE;
484
+ };
485
+ reactIs_development$1.isFragment = function(object) {
486
+ return typeOf(object) === REACT_FRAGMENT_TYPE;
487
+ };
488
+ reactIs_development$1.isLazy = function(object) {
489
+ return typeOf(object) === REACT_LAZY_TYPE;
490
+ };
491
+ reactIs_development$1.isMemo = function(object) {
492
+ return typeOf(object) === REACT_MEMO_TYPE;
493
+ };
494
+ reactIs_development$1.isPortal = function(object) {
495
+ return typeOf(object) === REACT_PORTAL_TYPE;
496
+ };
497
+ reactIs_development$1.isProfiler = function(object) {
498
+ return typeOf(object) === REACT_PROFILER_TYPE;
499
+ };
500
+ reactIs_development$1.isStrictMode = function(object) {
501
+ return typeOf(object) === REACT_STRICT_MODE_TYPE;
502
+ };
503
+ reactIs_development$1.isSuspense = function(object) {
504
+ return typeOf(object) === REACT_SUSPENSE_TYPE;
505
+ };
506
+ reactIs_development$1.isSuspenseList = function(object) {
507
+ return typeOf(object) === REACT_SUSPENSE_LIST_TYPE;
508
+ };
509
+ reactIs_development$1.isValidElementType = function(type) {
510
+ return "string" === typeof type || "function" === typeof type || type === REACT_FRAGMENT_TYPE || type === REACT_PROFILER_TYPE || type === REACT_STRICT_MODE_TYPE || type === REACT_SUSPENSE_TYPE || type === REACT_SUSPENSE_LIST_TYPE || "object" === typeof type && null !== type && (type.$$typeof === REACT_LAZY_TYPE || type.$$typeof === REACT_MEMO_TYPE || type.$$typeof === REACT_CONTEXT_TYPE || type.$$typeof === REACT_CONSUMER_TYPE || type.$$typeof === REACT_FORWARD_REF_TYPE || type.$$typeof === REACT_CLIENT_REFERENCE || void 0 !== type.getModuleId) ? true : false;
511
+ };
512
+ reactIs_development$1.typeOf = typeOf;
513
+ })();
514
+ return reactIs_development$1;
515
+ }
516
+ var hasRequiredReactIs$1;
517
+ function requireReactIs$1() {
518
+ if (hasRequiredReactIs$1) return reactIs$1.exports;
519
+ hasRequiredReactIs$1 = 1;
520
+ if (process.env.NODE_ENV === "production") reactIs$1.exports = requireReactIs_production();
521
+ else reactIs$1.exports = requireReactIs_development$1();
522
+ return reactIs$1.exports;
523
+ }
524
+ var reactIsExports$1 = requireReactIs$1();
525
+ var ReactIs19 = /* @__PURE__ */ _mergeNamespaces({
526
+ __proto__: null,
527
+ default: /* @__PURE__ */ getDefaultExportFromCjs(reactIsExports$1)
528
+ }, [reactIsExports$1]);
529
+ var reactIs = { exports: {} };
530
+ var reactIs_production_min = {};
531
+ /**
532
+ * @license React
533
+ * react-is.production.min.js
534
+ *
535
+ * Copyright (c) Facebook, Inc. and its affiliates.
536
+ *
537
+ * This source code is licensed under the MIT license found in the
538
+ * LICENSE file in the root directory of this source tree.
539
+ */
540
+ var hasRequiredReactIs_production_min;
541
+ function requireReactIs_production_min() {
542
+ if (hasRequiredReactIs_production_min) return reactIs_production_min;
543
+ hasRequiredReactIs_production_min = 1;
544
+ var b = Symbol.for("react.element"), c = Symbol.for("react.portal"), d = Symbol.for("react.fragment"), e = Symbol.for("react.strict_mode"), f = Symbol.for("react.profiler"), g = Symbol.for("react.provider"), h = Symbol.for("react.context"), k = Symbol.for("react.server_context"), l = Symbol.for("react.forward_ref"), m = Symbol.for("react.suspense"), n = Symbol.for("react.suspense_list"), p = Symbol.for("react.memo"), q = Symbol.for("react.lazy"), t = Symbol.for("react.offscreen"), u = Symbol.for("react.module.reference");
545
+ function v(a) {
546
+ if ("object" === typeof a && null !== a) {
547
+ var r = a.$$typeof;
548
+ switch (r) {
549
+ case b: switch (a = a.type, a) {
550
+ case d:
551
+ case f:
552
+ case e:
553
+ case m:
554
+ case n: return a;
555
+ default: switch (a = a && a.$$typeof, a) {
556
+ case k:
557
+ case h:
558
+ case l:
559
+ case q:
560
+ case p:
561
+ case g: return a;
562
+ default: return r;
563
+ }
564
+ }
565
+ case c: return r;
566
+ }
567
+ }
568
+ }
569
+ reactIs_production_min.ContextConsumer = h;
570
+ reactIs_production_min.ContextProvider = g;
571
+ reactIs_production_min.Element = b;
572
+ reactIs_production_min.ForwardRef = l;
573
+ reactIs_production_min.Fragment = d;
574
+ reactIs_production_min.Lazy = q;
575
+ reactIs_production_min.Memo = p;
576
+ reactIs_production_min.Portal = c;
577
+ reactIs_production_min.Profiler = f;
578
+ reactIs_production_min.StrictMode = e;
579
+ reactIs_production_min.Suspense = m;
580
+ reactIs_production_min.SuspenseList = n;
581
+ reactIs_production_min.isAsyncMode = function() {
582
+ return false;
583
+ };
584
+ reactIs_production_min.isConcurrentMode = function() {
585
+ return false;
586
+ };
587
+ reactIs_production_min.isContextConsumer = function(a) {
588
+ return v(a) === h;
589
+ };
590
+ reactIs_production_min.isContextProvider = function(a) {
591
+ return v(a) === g;
592
+ };
593
+ reactIs_production_min.isElement = function(a) {
594
+ return "object" === typeof a && null !== a && a.$$typeof === b;
595
+ };
596
+ reactIs_production_min.isForwardRef = function(a) {
597
+ return v(a) === l;
598
+ };
599
+ reactIs_production_min.isFragment = function(a) {
600
+ return v(a) === d;
601
+ };
602
+ reactIs_production_min.isLazy = function(a) {
603
+ return v(a) === q;
604
+ };
605
+ reactIs_production_min.isMemo = function(a) {
606
+ return v(a) === p;
607
+ };
608
+ reactIs_production_min.isPortal = function(a) {
609
+ return v(a) === c;
610
+ };
611
+ reactIs_production_min.isProfiler = function(a) {
612
+ return v(a) === f;
613
+ };
614
+ reactIs_production_min.isStrictMode = function(a) {
615
+ return v(a) === e;
616
+ };
617
+ reactIs_production_min.isSuspense = function(a) {
618
+ return v(a) === m;
619
+ };
620
+ reactIs_production_min.isSuspenseList = function(a) {
621
+ return v(a) === n;
622
+ };
623
+ reactIs_production_min.isValidElementType = function(a) {
624
+ return "string" === typeof a || "function" === typeof a || a === d || a === f || a === e || a === m || a === n || a === t || "object" === typeof a && null !== a && (a.$$typeof === q || a.$$typeof === p || a.$$typeof === g || a.$$typeof === h || a.$$typeof === l || a.$$typeof === u || void 0 !== a.getModuleId) ? true : false;
625
+ };
626
+ reactIs_production_min.typeOf = v;
627
+ return reactIs_production_min;
628
+ }
629
+ var reactIs_development = {};
630
+ /**
631
+ * @license React
632
+ * react-is.development.js
633
+ *
634
+ * Copyright (c) Facebook, Inc. and its affiliates.
635
+ *
636
+ * This source code is licensed under the MIT license found in the
637
+ * LICENSE file in the root directory of this source tree.
638
+ */
639
+ var hasRequiredReactIs_development;
640
+ function requireReactIs_development() {
641
+ if (hasRequiredReactIs_development) return reactIs_development;
642
+ hasRequiredReactIs_development = 1;
643
+ if (process.env.NODE_ENV !== "production") (function() {
644
+ var REACT_ELEMENT_TYPE = Symbol.for("react.element");
645
+ var REACT_PORTAL_TYPE = Symbol.for("react.portal");
646
+ var REACT_FRAGMENT_TYPE = Symbol.for("react.fragment");
647
+ var REACT_STRICT_MODE_TYPE = Symbol.for("react.strict_mode");
648
+ var REACT_PROFILER_TYPE = Symbol.for("react.profiler");
649
+ var REACT_PROVIDER_TYPE = Symbol.for("react.provider");
650
+ var REACT_CONTEXT_TYPE = Symbol.for("react.context");
651
+ var REACT_SERVER_CONTEXT_TYPE = Symbol.for("react.server_context");
652
+ var REACT_FORWARD_REF_TYPE = Symbol.for("react.forward_ref");
653
+ var REACT_SUSPENSE_TYPE = Symbol.for("react.suspense");
654
+ var REACT_SUSPENSE_LIST_TYPE = Symbol.for("react.suspense_list");
655
+ var REACT_MEMO_TYPE = Symbol.for("react.memo");
656
+ var REACT_LAZY_TYPE = Symbol.for("react.lazy");
657
+ var REACT_OFFSCREEN_TYPE = Symbol.for("react.offscreen");
658
+ var enableScopeAPI = false;
659
+ var enableCacheElement = false;
660
+ var enableTransitionTracing = false;
661
+ var enableLegacyHidden = false;
662
+ var enableDebugTracing = false;
663
+ var REACT_MODULE_REFERENCE = Symbol.for("react.module.reference");
664
+ function isValidElementType(type) {
665
+ if (typeof type === "string" || typeof type === "function") return true;
666
+ if (type === REACT_FRAGMENT_TYPE || type === REACT_PROFILER_TYPE || enableDebugTracing || type === REACT_STRICT_MODE_TYPE || type === REACT_SUSPENSE_TYPE || type === REACT_SUSPENSE_LIST_TYPE || enableLegacyHidden || type === REACT_OFFSCREEN_TYPE || enableScopeAPI || enableCacheElement || enableTransitionTracing) return true;
667
+ if (typeof type === "object" && type !== null) {
668
+ if (type.$$typeof === REACT_LAZY_TYPE || type.$$typeof === REACT_MEMO_TYPE || type.$$typeof === REACT_PROVIDER_TYPE || type.$$typeof === REACT_CONTEXT_TYPE || type.$$typeof === REACT_FORWARD_REF_TYPE || type.$$typeof === REACT_MODULE_REFERENCE || type.getModuleId !== void 0) return true;
669
+ }
670
+ return false;
671
+ }
672
+ function typeOf(object) {
673
+ if (typeof object === "object" && object !== null) {
674
+ var $$typeof = object.$$typeof;
675
+ switch ($$typeof) {
676
+ case REACT_ELEMENT_TYPE:
677
+ var type = object.type;
678
+ switch (type) {
679
+ case REACT_FRAGMENT_TYPE:
680
+ case REACT_PROFILER_TYPE:
681
+ case REACT_STRICT_MODE_TYPE:
682
+ case REACT_SUSPENSE_TYPE:
683
+ case REACT_SUSPENSE_LIST_TYPE: return type;
684
+ default:
685
+ var $$typeofType = type && type.$$typeof;
686
+ switch ($$typeofType) {
687
+ case REACT_SERVER_CONTEXT_TYPE:
688
+ case REACT_CONTEXT_TYPE:
689
+ case REACT_FORWARD_REF_TYPE:
690
+ case REACT_LAZY_TYPE:
691
+ case REACT_MEMO_TYPE:
692
+ case REACT_PROVIDER_TYPE: return $$typeofType;
693
+ default: return $$typeof;
694
+ }
695
+ }
696
+ case REACT_PORTAL_TYPE: return $$typeof;
697
+ }
698
+ }
699
+ }
700
+ var ContextConsumer = REACT_CONTEXT_TYPE;
701
+ var ContextProvider = REACT_PROVIDER_TYPE;
702
+ var Element = REACT_ELEMENT_TYPE;
703
+ var ForwardRef = REACT_FORWARD_REF_TYPE;
704
+ var Fragment = REACT_FRAGMENT_TYPE;
705
+ var Lazy = REACT_LAZY_TYPE;
706
+ var Memo = REACT_MEMO_TYPE;
707
+ var Portal = REACT_PORTAL_TYPE;
708
+ var Profiler = REACT_PROFILER_TYPE;
709
+ var StrictMode = REACT_STRICT_MODE_TYPE;
710
+ var Suspense = REACT_SUSPENSE_TYPE;
711
+ var SuspenseList = REACT_SUSPENSE_LIST_TYPE;
712
+ var hasWarnedAboutDeprecatedIsAsyncMode = false;
713
+ var hasWarnedAboutDeprecatedIsConcurrentMode = false;
714
+ function isAsyncMode(object) {
715
+ if (!hasWarnedAboutDeprecatedIsAsyncMode) {
716
+ hasWarnedAboutDeprecatedIsAsyncMode = true;
717
+ console["warn"]("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 18+.");
718
+ }
719
+ return false;
720
+ }
721
+ function isConcurrentMode(object) {
722
+ if (!hasWarnedAboutDeprecatedIsConcurrentMode) {
723
+ hasWarnedAboutDeprecatedIsConcurrentMode = true;
724
+ console["warn"]("The ReactIs.isConcurrentMode() alias has been deprecated, and will be removed in React 18+.");
725
+ }
726
+ return false;
727
+ }
728
+ function isContextConsumer(object) {
729
+ return typeOf(object) === REACT_CONTEXT_TYPE;
730
+ }
731
+ function isContextProvider(object) {
732
+ return typeOf(object) === REACT_PROVIDER_TYPE;
733
+ }
734
+ function isElement(object) {
735
+ return typeof object === "object" && object !== null && object.$$typeof === REACT_ELEMENT_TYPE;
736
+ }
737
+ function isForwardRef(object) {
738
+ return typeOf(object) === REACT_FORWARD_REF_TYPE;
739
+ }
740
+ function isFragment(object) {
741
+ return typeOf(object) === REACT_FRAGMENT_TYPE;
742
+ }
743
+ function isLazy(object) {
744
+ return typeOf(object) === REACT_LAZY_TYPE;
745
+ }
746
+ function isMemo(object) {
747
+ return typeOf(object) === REACT_MEMO_TYPE;
748
+ }
749
+ function isPortal(object) {
750
+ return typeOf(object) === REACT_PORTAL_TYPE;
751
+ }
752
+ function isProfiler(object) {
753
+ return typeOf(object) === REACT_PROFILER_TYPE;
754
+ }
755
+ function isStrictMode(object) {
756
+ return typeOf(object) === REACT_STRICT_MODE_TYPE;
757
+ }
758
+ function isSuspense(object) {
759
+ return typeOf(object) === REACT_SUSPENSE_TYPE;
760
+ }
761
+ function isSuspenseList(object) {
762
+ return typeOf(object) === REACT_SUSPENSE_LIST_TYPE;
763
+ }
764
+ reactIs_development.ContextConsumer = ContextConsumer;
765
+ reactIs_development.ContextProvider = ContextProvider;
766
+ reactIs_development.Element = Element;
767
+ reactIs_development.ForwardRef = ForwardRef;
768
+ reactIs_development.Fragment = Fragment;
769
+ reactIs_development.Lazy = Lazy;
770
+ reactIs_development.Memo = Memo;
771
+ reactIs_development.Portal = Portal;
772
+ reactIs_development.Profiler = Profiler;
773
+ reactIs_development.StrictMode = StrictMode;
774
+ reactIs_development.Suspense = Suspense;
775
+ reactIs_development.SuspenseList = SuspenseList;
776
+ reactIs_development.isAsyncMode = isAsyncMode;
777
+ reactIs_development.isConcurrentMode = isConcurrentMode;
778
+ reactIs_development.isContextConsumer = isContextConsumer;
779
+ reactIs_development.isContextProvider = isContextProvider;
780
+ reactIs_development.isElement = isElement;
781
+ reactIs_development.isForwardRef = isForwardRef;
782
+ reactIs_development.isFragment = isFragment;
783
+ reactIs_development.isLazy = isLazy;
784
+ reactIs_development.isMemo = isMemo;
785
+ reactIs_development.isPortal = isPortal;
786
+ reactIs_development.isProfiler = isProfiler;
787
+ reactIs_development.isStrictMode = isStrictMode;
788
+ reactIs_development.isSuspense = isSuspense;
789
+ reactIs_development.isSuspenseList = isSuspenseList;
790
+ reactIs_development.isValidElementType = isValidElementType;
791
+ reactIs_development.typeOf = typeOf;
792
+ })();
793
+ return reactIs_development;
794
+ }
795
+ var hasRequiredReactIs;
796
+ function requireReactIs() {
797
+ if (hasRequiredReactIs) return reactIs.exports;
798
+ hasRequiredReactIs = 1;
799
+ if (process.env.NODE_ENV === "production") reactIs.exports = requireReactIs_production_min();
800
+ else reactIs.exports = requireReactIs_development();
801
+ return reactIs.exports;
802
+ }
803
+ var reactIsExports = requireReactIs();
804
+ var ReactIs18 = /* @__PURE__ */ _mergeNamespaces({
805
+ __proto__: null,
806
+ default: /* @__PURE__ */ getDefaultExportFromCjs(reactIsExports)
807
+ }, [reactIsExports]);
808
+ const ReactIs = Object.fromEntries([
809
+ "isAsyncMode",
810
+ "isConcurrentMode",
811
+ "isContextConsumer",
812
+ "isContextProvider",
813
+ "isElement",
814
+ "isForwardRef",
815
+ "isFragment",
816
+ "isLazy",
817
+ "isMemo",
818
+ "isPortal",
819
+ "isProfiler",
820
+ "isStrictMode",
821
+ "isSuspense",
822
+ "isSuspenseList",
823
+ "isValidElementType"
824
+ ].map((m) => [m, (v) => ReactIs18[m](v) || ReactIs19[m](v)]));
825
+ function getChildren(arg, children = []) {
826
+ if (Array.isArray(arg)) for (const item of arg) getChildren(item, children);
827
+ else if (arg != null && arg !== false && arg !== "") children.push(arg);
828
+ return children;
829
+ }
830
+ function getType(element) {
831
+ const type = element.type;
832
+ if (typeof type === "string") return type;
833
+ if (typeof type === "function") return type.displayName || type.name || "Unknown";
834
+ if (ReactIs.isFragment(element)) return "React.Fragment";
835
+ if (ReactIs.isSuspense(element)) return "React.Suspense";
836
+ if (typeof type === "object" && type !== null) {
837
+ if (ReactIs.isContextProvider(element)) return "Context.Provider";
838
+ if (ReactIs.isContextConsumer(element)) return "Context.Consumer";
839
+ if (ReactIs.isForwardRef(element)) {
840
+ if (type.displayName) return type.displayName;
841
+ const functionName = type.render.displayName || type.render.name || "";
842
+ return functionName === "" ? "ForwardRef" : `ForwardRef(${functionName})`;
843
+ }
844
+ if (ReactIs.isMemo(element)) {
845
+ const functionName = type.displayName || type.type.displayName || type.type.name || "";
846
+ return functionName === "" ? "Memo" : `Memo(${functionName})`;
847
+ }
848
+ }
849
+ return "UNDEFINED";
850
+ }
851
+ function getPropKeys$1(element) {
852
+ const { props } = element;
853
+ return Object.keys(props).filter((key) => key !== "children" && props[key] !== void 0).sort();
854
+ }
855
+ const serialize$1 = (element, config, indentation, depth, refs, printer) => ++depth > config.maxDepth ? printElementAsLeaf(getType(element), config) : printElement(getType(element), printProps(getPropKeys$1(element), element.props, config, indentation + config.indent, depth, refs, printer), printChildren(getChildren(element.props.children), config, indentation + config.indent, depth, refs, printer), config, indentation);
856
+ const test$1 = (val) => val != null && ReactIs.isElement(val);
857
+ const plugin$1 = {
858
+ serialize: serialize$1,
859
+ test: test$1
860
+ };
861
+ const testSymbol = typeof Symbol === "function" && Symbol.for ? Symbol.for("react.test.json") : 245830487;
862
+ function getPropKeys(object) {
863
+ const { props } = object;
864
+ return props ? Object.keys(props).filter((key) => props[key] !== void 0).sort() : [];
865
+ }
866
+ const serialize = (object, config, indentation, depth, refs, printer) => ++depth > config.maxDepth ? printElementAsLeaf(object.type, config) : printElement(object.type, object.props ? printProps(getPropKeys(object), object.props, config, indentation + config.indent, depth, refs, printer) : "", object.children ? printChildren(object.children, config, indentation + config.indent, depth, refs, printer) : "", config, indentation);
867
+ const test = (val) => val && val.$$typeof === testSymbol;
868
+ const plugin = {
869
+ serialize,
870
+ test
871
+ };
872
+ const toISOString = Date.prototype.toISOString;
873
+ const errorToString = Error.prototype.toString;
874
+ const regExpToString = RegExp.prototype.toString;
875
+ /**
876
+ * Explicitly comparing typeof constructor to function avoids undefined as name
877
+ * when mock identity-obj-proxy returns the key as the value for any key.
878
+ */
879
+ function getConstructorName(val) {
880
+ return typeof val.constructor === "function" && val.constructor.name || "Object";
881
+ }
882
+ const ErrorPlugin = {
883
+ test: (val) => val && val instanceof Error,
884
+ serialize(val, config, indentation, depth, refs, printer) {
885
+ if (refs.includes(val)) return "[Circular]";
886
+ refs = [...refs, val];
887
+ const hitMaxDepth = ++depth > config.maxDepth;
888
+ const { message, cause, ...rest } = val;
889
+ const entries = {
890
+ message,
891
+ ...typeof cause !== "undefined" ? { cause } : {},
892
+ ...val instanceof AggregateError ? { errors: val.errors } : {},
893
+ ...rest
894
+ };
895
+ const name = val.name !== "Error" ? val.name : getConstructorName(val);
896
+ return hitMaxDepth ? `[${name}]` : `${name} {${printIteratorEntries(Object.entries(entries).values(), config, indentation, depth, refs, printer)}}`;
897
+ }
898
+ };
899
+ const DEFAULT_THEME = {
900
+ comment: "gray",
901
+ content: "reset",
902
+ prop: "yellow",
903
+ tag: "cyan",
904
+ value: "green"
905
+ };
906
+ const DEFAULT_THEME_KEYS = Object.keys(DEFAULT_THEME);
907
+ const DEFAULT_OPTIONS = {
908
+ callToJSON: true,
909
+ compareKeys: void 0,
910
+ escapeRegex: false,
911
+ escapeString: true,
912
+ highlight: false,
913
+ indent: 2,
914
+ maxDepth: Number.POSITIVE_INFINITY,
915
+ maxWidth: Number.POSITIVE_INFINITY,
916
+ min: false,
917
+ plugins: [],
918
+ printBasicPrototype: true,
919
+ printFunctionName: true,
920
+ theme: DEFAULT_THEME
921
+ };
922
+ const plugins = {
923
+ AsymmetricMatcher: plugin$5,
924
+ DOMCollection: plugin$4,
925
+ DOMElement: plugin$3,
926
+ Immutable: plugin$2,
927
+ ReactElement: plugin$1,
928
+ ReactTestComponent: plugin,
929
+ Error: ErrorPlugin
930
+ };
931
+
932
+ //#endregion
933
+ exports.plugins = plugins;
934
+ //# sourceMappingURL=index.cjs.map