storybook 10.1.0-alpha.10 → 10.1.0-alpha.12

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 (192) hide show
  1. package/dist/_browser-chunks/Color-FTG7SQDA.js +1097 -0
  2. package/dist/_browser-chunks/WithTooltip-LMROHDUP.js +1651 -0
  3. package/dist/_browser-chunks/chunk-2FRVAXCZ.js +7 -0
  4. package/dist/_browser-chunks/chunk-3IAH5M2U.js +171 -0
  5. package/dist/_browser-chunks/chunk-3OXGAGBE.js +779 -0
  6. package/dist/_browser-chunks/{chunk-TMDZCWME.js → chunk-3PJE6VLG.js} +1 -3
  7. package/dist/_browser-chunks/{chunk-VAMFPZY3.js → chunk-45UGUKRX.js} +2 -7
  8. package/dist/_browser-chunks/chunk-6XWLIJQL.js +11 -0
  9. package/dist/_browser-chunks/{chunk-FDWKXLBI.js → chunk-74YHFU5B.js} +44 -109
  10. package/dist/_browser-chunks/{chunk-MM7DTO55.js → chunk-A242L54C.js} +10 -16
  11. package/dist/_browser-chunks/chunk-AIOS4NGK.js +252 -0
  12. package/dist/_browser-chunks/chunk-AS2HQEYC.js +14 -0
  13. package/dist/_browser-chunks/chunk-AXG2BOBL.js +836 -0
  14. package/dist/_browser-chunks/chunk-BE2DAXKJ.js +2966 -0
  15. package/dist/_browser-chunks/{chunk-MH6AXFXB.js → chunk-CHUV5WSW.js} +0 -5
  16. package/dist/_browser-chunks/chunk-EBHB6RPS.js +61 -0
  17. package/dist/_browser-chunks/chunk-EUVGDK4H.js +93 -0
  18. package/dist/_browser-chunks/chunk-EZSQOHRI.js +18 -0
  19. package/dist/_browser-chunks/{chunk-CADGRH3P.js → chunk-FNXWN6IK.js} +3 -8
  20. package/dist/_browser-chunks/chunk-GFLS4VP3.js +64 -0
  21. package/dist/_browser-chunks/{chunk-L2D73C6Z.js → chunk-H6XK3RSC.js} +13 -21
  22. package/dist/_browser-chunks/chunk-IPA5A322.js +71 -0
  23. package/dist/_browser-chunks/chunk-JP7NCOJX.js +37 -0
  24. package/dist/_browser-chunks/chunk-KJHJLCBK.js +11 -0
  25. package/dist/_browser-chunks/{chunk-QMY4G4R2.js → chunk-L4RMQ7D7.js} +17 -64
  26. package/dist/_browser-chunks/{chunk-AB7OOPUX.js → chunk-QKODTO7K.js} +0 -5
  27. package/dist/_browser-chunks/chunk-RP5RXKFU.js +2491 -0
  28. package/dist/_browser-chunks/chunk-SL75JR6Y.js +9 -0
  29. package/dist/_browser-chunks/chunk-UD6FQLAF.js +1481 -0
  30. package/dist/_browser-chunks/chunk-VYJQ7RU5.js +2853 -0
  31. package/dist/_browser-chunks/chunk-WJYERY3R.js +136 -0
  32. package/dist/_browser-chunks/chunk-WXP2XJ3O.js +950 -0
  33. package/dist/_browser-chunks/chunk-X3DUQ5RA.js +47 -0
  34. package/dist/_browser-chunks/chunk-XJNX76GA.js +85 -0
  35. package/dist/_browser-chunks/{chunk-F4Q6SGTB.js → chunk-YKE5S47A.js} +177 -399
  36. package/dist/_browser-chunks/{chunk-SN4J4IQ3.js → chunk-ZUWEVLDX.js} +1 -7
  37. package/dist/_browser-chunks/{formatter-OMEEQ6HG.js → formatter-QJ4M4OGQ.js} +4 -9
  38. package/dist/_browser-chunks/{syntaxhighlighter-RJZASWHL.js → syntaxhighlighter-WKBQ5RC7.js} +704 -1848
  39. package/dist/_node-chunks/{builder-manager-HA7CYFCK.js → builder-manager-YUOHSIUB.js} +475 -1013
  40. package/dist/_node-chunks/camelcase-JREIL7NV.js +18 -0
  41. package/dist/_node-chunks/{chunk-RMHAL25C.js → chunk-2D2IODUU.js} +88 -228
  42. package/dist/_node-chunks/chunk-2DMESZFJ.js +943 -0
  43. package/dist/_node-chunks/chunk-4FT2DHGE.js +3009 -0
  44. package/dist/_node-chunks/chunk-5HV3B5OP.js +45571 -0
  45. package/dist/_node-chunks/{chunk-OVXB5GGT.js → chunk-5KLIDWFN.js} +292 -688
  46. package/dist/_node-chunks/chunk-A4APXFQ2.js +759 -0
  47. package/dist/_node-chunks/chunk-B6JWY6PC.js +37 -0
  48. package/dist/_node-chunks/chunk-CZ5GHJCC.js +603 -0
  49. package/dist/_node-chunks/chunk-DUXPWBOK.js +61 -0
  50. package/dist/_node-chunks/chunk-DWXTZT3D.js +58 -0
  51. package/dist/_node-chunks/chunk-E5FJS66Z.js +20 -0
  52. package/dist/_node-chunks/chunk-EZWWR7AR.js +936 -0
  53. package/dist/_node-chunks/chunk-FDXFVHIL.js +1114 -0
  54. package/dist/_node-chunks/{chunk-F3XOPI6H.js → chunk-FZLRAH4N.js} +469 -983
  55. package/dist/_node-chunks/chunk-HZG65SU3.js +34 -0
  56. package/dist/_node-chunks/chunk-IXVYNBMD.js +18 -0
  57. package/dist/_node-chunks/chunk-JARUEMEP.js +4523 -0
  58. package/dist/_node-chunks/chunk-LIH7MTP7.js +3214 -0
  59. package/dist/_node-chunks/chunk-N5GIRUP5.js +1047 -0
  60. package/dist/_node-chunks/{chunk-X4XU27M6.js → chunk-NAOYEL54.js} +15 -24
  61. package/dist/_node-chunks/chunk-O5DA7YLO.js +3171 -0
  62. package/dist/_node-chunks/chunk-OP3INKUD.js +54 -0
  63. package/dist/_node-chunks/chunk-QCO2ZM7F.js +209 -0
  64. package/dist/_node-chunks/chunk-QYQIZBS6.js +26 -0
  65. package/dist/_node-chunks/chunk-SEMIAAWG.js +1564 -0
  66. package/dist/_node-chunks/chunk-TS2UUH2J.js +301 -0
  67. package/dist/_node-chunks/chunk-WA6KZQZ2.js +119 -0
  68. package/dist/_node-chunks/{chunk-ZHSCUGNP.js → chunk-WFLWJO24.js} +3799 -7849
  69. package/dist/_node-chunks/chunk-WUXQMQCB.js +72 -0
  70. package/dist/_node-chunks/{chunk-VPR5IBMG.js → chunk-XXPJ7XR3.js} +8 -10
  71. package/dist/_node-chunks/chunk-Y4E6IGQF.js +61 -0
  72. package/dist/_node-chunks/chunk-ZL3AFKRX.js +1029 -0
  73. package/dist/_node-chunks/chunk-ZXSD6L3S.js +756 -0
  74. package/dist/_node-chunks/dist-DS2B5A3J.js +121 -0
  75. package/dist/_node-chunks/globby-6THB7HVX.js +3452 -0
  76. package/dist/_node-chunks/lib-5NKX4YGG.js +366 -0
  77. package/dist/_node-chunks/mdx-N42X6CFJ-ZLT3QOFF.js +14329 -0
  78. package/dist/_node-chunks/p-limit-PDMWNG7W.js +116 -0
  79. package/dist/_node-chunks/plugin-6XMWOGPO.js +123 -0
  80. package/dist/_node-chunks/{plugin-6ZPCS4LI.js → plugin-LTOXVT6A.js} +36 -56
  81. package/dist/_node-chunks/webpack-inject-mocker-runtime-plugin-2SFE5LQS.js +46582 -0
  82. package/dist/_node-chunks/webpack-mock-plugin-CX5J2U56.js +92 -0
  83. package/dist/actions/decorator.js +21 -42
  84. package/dist/actions/index.js +3 -3
  85. package/dist/babel/index.d.ts +671 -335
  86. package/dist/babel/index.js +11 -11
  87. package/dist/bin/core.js +592 -1546
  88. package/dist/bin/dispatcher.js +26 -37
  89. package/dist/bin/loader.js +23 -34
  90. package/dist/channels/index.js +98 -234
  91. package/dist/cli/index.js +1951 -5308
  92. package/dist/client-logger/index.js +31 -61
  93. package/dist/common/index.js +20 -20
  94. package/dist/components/index.js +4211 -8586
  95. package/dist/core-events/index.js +2 -66
  96. package/dist/core-server/index.js +3054 -7290
  97. package/dist/core-server/presets/common-manager.css +2 -2
  98. package/dist/core-server/presets/common-manager.js +1806 -3427
  99. package/dist/core-server/presets/common-override-preset.js +31 -60
  100. package/dist/core-server/presets/common-preset.js +434 -924
  101. package/dist/core-server/presets/webpack/loaders/storybook-mock-transform-loader.js +15 -19
  102. package/dist/core-server/presets/webpack/loaders/webpack-automock-loader.js +12 -17
  103. package/dist/csf/index.js +534 -1179
  104. package/dist/csf-tools/index.js +9 -9
  105. package/dist/docs-tools/index.js +6 -6
  106. package/dist/highlight/index.js +2 -2
  107. package/dist/instrumenter/index.js +199 -415
  108. package/dist/manager/globals-runtime.js +24150 -47364
  109. package/dist/manager/globals.js +2 -3
  110. package/dist/manager/runtime.js +3961 -8373
  111. package/dist/manager-api/index.js +1231 -2425
  112. package/dist/manager-errors.d.ts +3 -0
  113. package/dist/manager-errors.js +3 -3
  114. package/dist/node-logger/index.js +1253 -2601
  115. package/dist/preview/globals.js +2 -3
  116. package/dist/preview/runtime.js +10364 -21990
  117. package/dist/preview-api/index.d.ts +67 -68
  118. package/dist/preview-api/index.js +13 -13
  119. package/dist/preview-errors.d.ts +3 -0
  120. package/dist/preview-errors.js +4 -4
  121. package/dist/router/index.js +347 -899
  122. package/dist/server-errors.d.ts +3 -0
  123. package/dist/server-errors.js +10 -10
  124. package/dist/telemetry/index.js +24 -24
  125. package/dist/test/index.js +5860 -11645
  126. package/dist/theming/create.js +4 -4
  127. package/dist/theming/index.d.ts +3363 -2597
  128. package/dist/theming/index.js +490 -1086
  129. package/dist/types/index.js +2 -11
  130. package/dist/viewport/index.js +3 -3
  131. package/package.json +5 -5
  132. package/dist/_browser-chunks/Color-FQNEU7YS.js +0 -1695
  133. package/dist/_browser-chunks/WithTooltip-6NHN2GXF.js +0 -2343
  134. package/dist/_browser-chunks/chunk-6A7OIVEL.js +0 -66
  135. package/dist/_browser-chunks/chunk-AW46NMGV.js +0 -1308
  136. package/dist/_browser-chunks/chunk-B4A3ADP3.js +0 -3816
  137. package/dist/_browser-chunks/chunk-FSBVR7H5.js +0 -106
  138. package/dist/_browser-chunks/chunk-FUOHXXZT.js +0 -23
  139. package/dist/_browser-chunks/chunk-GTKOCWCT.js +0 -17
  140. package/dist/_browser-chunks/chunk-HHW4FUMO.js +0 -12
  141. package/dist/_browser-chunks/chunk-JVSKG4YS.js +0 -4052
  142. package/dist/_browser-chunks/chunk-LASUB7TL.js +0 -76
  143. package/dist/_browser-chunks/chunk-LYCSRYYR.js +0 -101
  144. package/dist/_browser-chunks/chunk-NVV6MIOE.js +0 -243
  145. package/dist/_browser-chunks/chunk-OBXWFEPB.js +0 -852
  146. package/dist/_browser-chunks/chunk-OPCDBBL3.js +0 -48
  147. package/dist/_browser-chunks/chunk-PB6FZ3WE.js +0 -130
  148. package/dist/_browser-chunks/chunk-RW5PKMWM.js +0 -4182
  149. package/dist/_browser-chunks/chunk-SYS437NN.js +0 -122
  150. package/dist/_browser-chunks/chunk-U46RQHA4.js +0 -12
  151. package/dist/_browser-chunks/chunk-UTNZYD2N.js +0 -311
  152. package/dist/_browser-chunks/chunk-VUAFL5XK.js +0 -20
  153. package/dist/_browser-chunks/chunk-XDGMHOV7.js +0 -2197
  154. package/dist/_browser-chunks/chunk-XW6KSYKF.js +0 -16
  155. package/dist/_browser-chunks/chunk-Y3M7TW6K.js +0 -1041
  156. package/dist/_browser-chunks/chunk-ZNRFDIVA.js +0 -233
  157. package/dist/_node-chunks/camelcase-QALD4XFE.js +0 -18
  158. package/dist/_node-chunks/chunk-2XY53ALL.js +0 -420
  159. package/dist/_node-chunks/chunk-3CBQMG2A.js +0 -6712
  160. package/dist/_node-chunks/chunk-3WDAPZYQ.js +0 -28
  161. package/dist/_node-chunks/chunk-4ZB555EJ.js +0 -697
  162. package/dist/_node-chunks/chunk-52DXKXY3.js +0 -4272
  163. package/dist/_node-chunks/chunk-5OVB4A6F.js +0 -69
  164. package/dist/_node-chunks/chunk-AGHGNXGH.js +0 -18
  165. package/dist/_node-chunks/chunk-B23X5ZCK.js +0 -1531
  166. package/dist/_node-chunks/chunk-B2DAHWJK.js +0 -220
  167. package/dist/_node-chunks/chunk-CC4PW5MJ.js +0 -34
  168. package/dist/_node-chunks/chunk-D7NIZELR.js +0 -2256
  169. package/dist/_node-chunks/chunk-DO5Q3H4L.js +0 -1250
  170. package/dist/_node-chunks/chunk-ECK7WVFX.js +0 -304
  171. package/dist/_node-chunks/chunk-EUH3NHXA.js +0 -79
  172. package/dist/_node-chunks/chunk-FOQHPHCV.js +0 -1657
  173. package/dist/_node-chunks/chunk-G6EL47NS.js +0 -111
  174. package/dist/_node-chunks/chunk-GFLS4TJB.js +0 -90
  175. package/dist/_node-chunks/chunk-J3XZKWHE.js +0 -1586
  176. package/dist/_node-chunks/chunk-LE63EHJ5.js +0 -1518
  177. package/dist/_node-chunks/chunk-M47XA42S.js +0 -4741
  178. package/dist/_node-chunks/chunk-OOI74AL3.js +0 -61
  179. package/dist/_node-chunks/chunk-PRJHT3GJ.js +0 -61
  180. package/dist/_node-chunks/chunk-Q52PVUSU.js +0 -101
  181. package/dist/_node-chunks/chunk-SDCF5RNN.js +0 -1198
  182. package/dist/_node-chunks/chunk-UJ5SJ23M.js +0 -5029
  183. package/dist/_node-chunks/chunk-UPHK4ETU.js +0 -64658
  184. package/dist/_node-chunks/chunk-V7VURIPB.js +0 -1544
  185. package/dist/_node-chunks/dist-6TXHNR5C.js +0 -175
  186. package/dist/_node-chunks/globby-PBTV6PX6.js +0 -5222
  187. package/dist/_node-chunks/lib-4RTDZVGX.js +0 -518
  188. package/dist/_node-chunks/mdx-N42X6CFJ-COWEH7KR.js +0 -22017
  189. package/dist/_node-chunks/p-limit-PBVZQOFY.js +0 -168
  190. package/dist/_node-chunks/plugin-EOZKYZAG.js +0 -159
  191. package/dist/_node-chunks/webpack-inject-mocker-runtime-plugin-35HMSMR5.js +0 -69102
  192. package/dist/_node-chunks/webpack-mock-plugin-GT3MA5E2.js +0 -124
@@ -1,122 +0,0 @@
1
- import {
2
- __name
3
- } from "./chunk-MM7DTO55.js";
4
-
5
- // ../node_modules/dequal/dist/index.mjs
6
- var has = Object.prototype.hasOwnProperty;
7
- function find(iter, tar, key) {
8
- for (key of iter.keys()) {
9
- if (dequal(key, tar)) return key;
10
- }
11
- }
12
- __name(find, "find");
13
- function dequal(foo, bar) {
14
- var ctor, len, tmp;
15
- if (foo === bar) return true;
16
- if (foo && bar && (ctor = foo.constructor) === bar.constructor) {
17
- if (ctor === Date) return foo.getTime() === bar.getTime();
18
- if (ctor === RegExp) return foo.toString() === bar.toString();
19
- if (ctor === Array) {
20
- if ((len = foo.length) === bar.length) {
21
- while (len-- && dequal(foo[len], bar[len])) ;
22
- }
23
- return len === -1;
24
- }
25
- if (ctor === Set) {
26
- if (foo.size !== bar.size) {
27
- return false;
28
- }
29
- for (len of foo) {
30
- tmp = len;
31
- if (tmp && typeof tmp === "object") {
32
- tmp = find(bar, tmp);
33
- if (!tmp) return false;
34
- }
35
- if (!bar.has(tmp)) return false;
36
- }
37
- return true;
38
- }
39
- if (ctor === Map) {
40
- if (foo.size !== bar.size) {
41
- return false;
42
- }
43
- for (len of foo) {
44
- tmp = len[0];
45
- if (tmp && typeof tmp === "object") {
46
- tmp = find(bar, tmp);
47
- if (!tmp) return false;
48
- }
49
- if (!dequal(len[1], bar.get(tmp))) {
50
- return false;
51
- }
52
- }
53
- return true;
54
- }
55
- if (ctor === ArrayBuffer) {
56
- foo = new Uint8Array(foo);
57
- bar = new Uint8Array(bar);
58
- } else if (ctor === DataView) {
59
- if ((len = foo.byteLength) === bar.byteLength) {
60
- while (len-- && foo.getInt8(len) === bar.getInt8(len)) ;
61
- }
62
- return len === -1;
63
- }
64
- if (ArrayBuffer.isView(foo)) {
65
- if ((len = foo.byteLength) === bar.byteLength) {
66
- while (len-- && foo[len] === bar[len]) ;
67
- }
68
- return len === -1;
69
- }
70
- if (!ctor || typeof foo === "object") {
71
- len = 0;
72
- for (ctor in foo) {
73
- if (has.call(foo, ctor) && ++len && !has.call(bar, ctor)) return false;
74
- if (!(ctor in bar) || !dequal(foo[ctor], bar[ctor])) return false;
75
- }
76
- return Object.keys(bar).length === len;
77
- }
78
- }
79
- return foo !== foo && bar !== bar;
80
- }
81
- __name(dequal, "dequal");
82
-
83
- // ../node_modules/es-toolkit/dist/array/partition.mjs
84
- function partition(arr, isInTruthy) {
85
- const truthy = [];
86
- const falsy = [];
87
- for (let i = 0; i < arr.length; i++) {
88
- const item = arr[i];
89
- if (isInTruthy(item)) {
90
- truthy.push(item);
91
- } else {
92
- falsy.push(item);
93
- }
94
- }
95
- return [truthy, falsy];
96
- }
97
- __name(partition, "partition");
98
-
99
- // ../node_modules/es-toolkit/dist/array/countBy.mjs
100
- function countBy(arr, mapper) {
101
- const result = {};
102
- for (let i = 0; i < arr.length; i++) {
103
- const item = arr[i];
104
- const key = mapper(item);
105
- result[key] = (result[key] ?? 0) + 1;
106
- }
107
- return result;
108
- }
109
- __name(countBy, "countBy");
110
-
111
- // ../node_modules/es-toolkit/dist/array/uniq.mjs
112
- function uniq(arr) {
113
- return Array.from(new Set(arr));
114
- }
115
- __name(uniq, "uniq");
116
-
117
- export {
118
- dequal,
119
- countBy,
120
- partition,
121
- uniq
122
- };
@@ -1,12 +0,0 @@
1
- import {
2
- __name
3
- } from "./chunk-MM7DTO55.js";
4
-
5
- // ../addons/docs/src/blocks/controls/helpers.ts
6
- var getControlId = /* @__PURE__ */ __name((value) => `control-${value.replace(/\s+/g, "-")}`, "getControlId");
7
- var getControlSetterButtonId = /* @__PURE__ */ __name((value) => `set-${value.replace(/\s+/g, "-")}`, "getControlSetterButtonId");
8
-
9
- export {
10
- getControlId,
11
- getControlSetterButtonId
12
- };
@@ -1,311 +0,0 @@
1
- import {
2
- argumentsTag,
3
- arrayBufferTag,
4
- arrayTag,
5
- booleanTag,
6
- dataViewTag,
7
- dateTag,
8
- float32ArrayTag,
9
- float64ArrayTag,
10
- getSymbols,
11
- getTag,
12
- int16ArrayTag,
13
- int32ArrayTag,
14
- int8ArrayTag,
15
- isPlainObject,
16
- isPrimitive,
17
- isTypedArray,
18
- mapTag,
19
- numberTag,
20
- objectTag,
21
- regexpTag,
22
- setTag,
23
- stringTag,
24
- symbolTag,
25
- uint16ArrayTag,
26
- uint32ArrayTag,
27
- uint8ArrayTag,
28
- uint8ClampedArrayTag
29
- } from "./chunk-FSBVR7H5.js";
30
- import {
31
- __name
32
- } from "./chunk-MM7DTO55.js";
33
-
34
- // ../node_modules/es-toolkit/dist/object/mapValues.mjs
35
- function mapValues(object, getNewValue) {
36
- const result = {};
37
- const keys = Object.keys(object);
38
- for (let i = 0; i < keys.length; i++) {
39
- const key = keys[i];
40
- const value = object[key];
41
- result[key] = getNewValue(value, key, object);
42
- }
43
- return result;
44
- }
45
- __name(mapValues, "mapValues");
46
-
47
- // ../node_modules/es-toolkit/dist/_internal/isUnsafeProperty.mjs
48
- function isUnsafeProperty(key) {
49
- return key === "__proto__";
50
- }
51
- __name(isUnsafeProperty, "isUnsafeProperty");
52
-
53
- // ../node_modules/es-toolkit/dist/compat/predicate/isObjectLike.mjs
54
- function isObjectLike(value) {
55
- return typeof value === "object" && value !== null;
56
- }
57
- __name(isObjectLike, "isObjectLike");
58
-
59
- // ../node_modules/es-toolkit/dist/object/mergeWith.mjs
60
- function mergeWith(target, source, merge2) {
61
- const sourceKeys = Object.keys(source);
62
- for (let i = 0; i < sourceKeys.length; i++) {
63
- const key = sourceKeys[i];
64
- if (isUnsafeProperty(key)) {
65
- continue;
66
- }
67
- const sourceValue = source[key];
68
- const targetValue = target[key];
69
- const merged = merge2(targetValue, sourceValue, key, target, source);
70
- if (merged !== void 0) {
71
- target[key] = merged;
72
- } else if (Array.isArray(sourceValue)) {
73
- target[key] = mergeWith(targetValue ?? [], sourceValue, merge2);
74
- } else if (isObjectLike(targetValue) && isObjectLike(sourceValue)) {
75
- target[key] = mergeWith(targetValue ?? {}, sourceValue, merge2);
76
- } else if (targetValue === void 0 || sourceValue !== void 0) {
77
- target[key] = sourceValue;
78
- }
79
- }
80
- return target;
81
- }
82
- __name(mergeWith, "mergeWith");
83
-
84
- // ../node_modules/es-toolkit/dist/object/pick.mjs
85
- function pick(obj, keys) {
86
- const result = {};
87
- for (let i = 0; i < keys.length; i++) {
88
- const key = keys[i];
89
- if (Object.hasOwn(obj, key)) {
90
- result[key] = obj[key];
91
- }
92
- }
93
- return result;
94
- }
95
- __name(pick, "pick");
96
-
97
- // ../node_modules/es-toolkit/dist/object/pickBy.mjs
98
- function pickBy(obj, shouldPick) {
99
- const result = {};
100
- const keys = Object.keys(obj);
101
- for (let i = 0; i < keys.length; i++) {
102
- const key = keys[i];
103
- const value = obj[key];
104
- if (shouldPick(value, key)) {
105
- result[key] = value;
106
- }
107
- }
108
- return result;
109
- }
110
- __name(pickBy, "pickBy");
111
-
112
- // ../node_modules/es-toolkit/dist/object/cloneDeepWith.mjs
113
- function cloneDeepWithImpl(valueToClone, keyToClone, objectToClone, stack = /* @__PURE__ */ new Map(), cloneValue = void 0) {
114
- const cloned = cloneValue?.(valueToClone, keyToClone, objectToClone, stack);
115
- if (cloned !== void 0) {
116
- return cloned;
117
- }
118
- if (isPrimitive(valueToClone)) {
119
- return valueToClone;
120
- }
121
- if (stack.has(valueToClone)) {
122
- return stack.get(valueToClone);
123
- }
124
- if (Array.isArray(valueToClone)) {
125
- const result = new Array(valueToClone.length);
126
- stack.set(valueToClone, result);
127
- for (let i = 0; i < valueToClone.length; i++) {
128
- result[i] = cloneDeepWithImpl(valueToClone[i], i, objectToClone, stack, cloneValue);
129
- }
130
- if (Object.hasOwn(valueToClone, "index")) {
131
- result.index = valueToClone.index;
132
- }
133
- if (Object.hasOwn(valueToClone, "input")) {
134
- result.input = valueToClone.input;
135
- }
136
- return result;
137
- }
138
- if (valueToClone instanceof Date) {
139
- return new Date(valueToClone.getTime());
140
- }
141
- if (valueToClone instanceof RegExp) {
142
- const result = new RegExp(valueToClone.source, valueToClone.flags);
143
- result.lastIndex = valueToClone.lastIndex;
144
- return result;
145
- }
146
- if (valueToClone instanceof Map) {
147
- const result = /* @__PURE__ */ new Map();
148
- stack.set(valueToClone, result);
149
- for (const [key, value] of valueToClone) {
150
- result.set(key, cloneDeepWithImpl(value, key, objectToClone, stack, cloneValue));
151
- }
152
- return result;
153
- }
154
- if (valueToClone instanceof Set) {
155
- const result = /* @__PURE__ */ new Set();
156
- stack.set(valueToClone, result);
157
- for (const value of valueToClone) {
158
- result.add(cloneDeepWithImpl(value, void 0, objectToClone, stack, cloneValue));
159
- }
160
- return result;
161
- }
162
- if (typeof Buffer !== "undefined" && Buffer.isBuffer(valueToClone)) {
163
- return valueToClone.subarray();
164
- }
165
- if (isTypedArray(valueToClone)) {
166
- const result = new (Object.getPrototypeOf(valueToClone)).constructor(valueToClone.length);
167
- stack.set(valueToClone, result);
168
- for (let i = 0; i < valueToClone.length; i++) {
169
- result[i] = cloneDeepWithImpl(valueToClone[i], i, objectToClone, stack, cloneValue);
170
- }
171
- return result;
172
- }
173
- if (valueToClone instanceof ArrayBuffer || typeof SharedArrayBuffer !== "undefined" && valueToClone instanceof SharedArrayBuffer) {
174
- return valueToClone.slice(0);
175
- }
176
- if (valueToClone instanceof DataView) {
177
- const result = new DataView(valueToClone.buffer.slice(0), valueToClone.byteOffset, valueToClone.byteLength);
178
- stack.set(valueToClone, result);
179
- copyProperties(result, valueToClone, objectToClone, stack, cloneValue);
180
- return result;
181
- }
182
- if (typeof File !== "undefined" && valueToClone instanceof File) {
183
- const result = new File([valueToClone], valueToClone.name, {
184
- type: valueToClone.type
185
- });
186
- stack.set(valueToClone, result);
187
- copyProperties(result, valueToClone, objectToClone, stack, cloneValue);
188
- return result;
189
- }
190
- if (valueToClone instanceof Blob) {
191
- const result = new Blob([valueToClone], { type: valueToClone.type });
192
- stack.set(valueToClone, result);
193
- copyProperties(result, valueToClone, objectToClone, stack, cloneValue);
194
- return result;
195
- }
196
- if (valueToClone instanceof Error) {
197
- const result = new valueToClone.constructor();
198
- stack.set(valueToClone, result);
199
- result.message = valueToClone.message;
200
- result.name = valueToClone.name;
201
- result.stack = valueToClone.stack;
202
- result.cause = valueToClone.cause;
203
- copyProperties(result, valueToClone, objectToClone, stack, cloneValue);
204
- return result;
205
- }
206
- if (typeof valueToClone === "object" && isCloneableObject(valueToClone)) {
207
- const result = Object.create(Object.getPrototypeOf(valueToClone));
208
- stack.set(valueToClone, result);
209
- copyProperties(result, valueToClone, objectToClone, stack, cloneValue);
210
- return result;
211
- }
212
- return valueToClone;
213
- }
214
- __name(cloneDeepWithImpl, "cloneDeepWithImpl");
215
- function copyProperties(target, source, objectToClone = target, stack, cloneValue) {
216
- const keys = [...Object.keys(source), ...getSymbols(source)];
217
- for (let i = 0; i < keys.length; i++) {
218
- const key = keys[i];
219
- const descriptor = Object.getOwnPropertyDescriptor(target, key);
220
- if (descriptor == null || descriptor.writable) {
221
- target[key] = cloneDeepWithImpl(source[key], key, objectToClone, stack, cloneValue);
222
- }
223
- }
224
- }
225
- __name(copyProperties, "copyProperties");
226
- function isCloneableObject(object) {
227
- switch (getTag(object)) {
228
- case argumentsTag:
229
- case arrayTag:
230
- case arrayBufferTag:
231
- case dataViewTag:
232
- case booleanTag:
233
- case dateTag:
234
- case float32ArrayTag:
235
- case float64ArrayTag:
236
- case int8ArrayTag:
237
- case int16ArrayTag:
238
- case int32ArrayTag:
239
- case mapTag:
240
- case numberTag:
241
- case objectTag:
242
- case regexpTag:
243
- case setTag:
244
- case stringTag:
245
- case symbolTag:
246
- case uint8ArrayTag:
247
- case uint8ClampedArrayTag:
248
- case uint16ArrayTag:
249
- case uint32ArrayTag: {
250
- return true;
251
- }
252
- default: {
253
- return false;
254
- }
255
- }
256
- }
257
- __name(isCloneableObject, "isCloneableObject");
258
-
259
- // ../node_modules/es-toolkit/dist/object/cloneDeep.mjs
260
- function cloneDeep(obj) {
261
- return cloneDeepWithImpl(obj, void 0, obj, /* @__PURE__ */ new Map(), void 0);
262
- }
263
- __name(cloneDeep, "cloneDeep");
264
-
265
- // ../node_modules/es-toolkit/dist/object/merge.mjs
266
- function merge(target, source) {
267
- const sourceKeys = Object.keys(source);
268
- for (let i = 0; i < sourceKeys.length; i++) {
269
- const key = sourceKeys[i];
270
- if (isUnsafeProperty(key)) {
271
- continue;
272
- }
273
- const sourceValue = source[key];
274
- const targetValue = target[key];
275
- if (Array.isArray(sourceValue)) {
276
- if (Array.isArray(targetValue)) {
277
- target[key] = merge(targetValue, sourceValue);
278
- } else {
279
- target[key] = merge([], sourceValue);
280
- }
281
- } else if (isPlainObject(sourceValue)) {
282
- if (isPlainObject(targetValue)) {
283
- target[key] = merge(targetValue, sourceValue);
284
- } else {
285
- target[key] = merge({}, sourceValue);
286
- }
287
- } else if (targetValue === void 0 || sourceValue !== void 0) {
288
- target[key] = sourceValue;
289
- }
290
- }
291
- return target;
292
- }
293
- __name(merge, "merge");
294
-
295
- // ../node_modules/es-toolkit/dist/string/words.mjs
296
- var CASE_SPLIT_PATTERN = new RegExp("\\p{Lu}?\\p{Ll}+|[0-9]+|\\p{Lu}+(?!\\p{Ll})|\\p{Emoji_Presentation}|\\p{Extended_Pictographic}|\\p{L}+", "gu");
297
-
298
- // ../node_modules/es-toolkit/dist/object/toMerged.mjs
299
- function toMerged(target, source) {
300
- return merge(cloneDeep(target), source);
301
- }
302
- __name(toMerged, "toMerged");
303
-
304
- export {
305
- cloneDeep,
306
- mapValues,
307
- mergeWith,
308
- pick,
309
- pickBy,
310
- toMerged
311
- };
@@ -1,20 +0,0 @@
1
- import {
2
- __commonJS,
3
- __name
4
- } from "./chunk-MM7DTO55.js";
5
-
6
- // ../node_modules/picocolors/picocolors.browser.js
7
- var require_picocolors_browser = __commonJS({
8
- "../node_modules/picocolors/picocolors.browser.js"(exports, module) {
9
- var x = String;
10
- var create = /* @__PURE__ */ __name(function() {
11
- return { isColorSupported: false, reset: x, bold: x, dim: x, italic: x, underline: x, inverse: x, hidden: x, strikethrough: x, black: x, red: x, green: x, yellow: x, blue: x, magenta: x, cyan: x, white: x, gray: x, bgBlack: x, bgRed: x, bgGreen: x, bgYellow: x, bgBlue: x, bgMagenta: x, bgCyan: x, bgWhite: x, blackBright: x, redBright: x, greenBright: x, yellowBright: x, blueBright: x, magentaBright: x, cyanBright: x, whiteBright: x, bgBlackBright: x, bgRedBright: x, bgGreenBright: x, bgYellowBright: x, bgBlueBright: x, bgMagentaBright: x, bgCyanBright: x, bgWhiteBright: x };
12
- }, "create");
13
- module.exports = create();
14
- module.exports.createColors = create;
15
- }
16
- });
17
-
18
- export {
19
- require_picocolors_browser
20
- };