likec4 1.58.0 → 1.59.1

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 (64) hide show
  1. package/__app__/codegen/webcomponent.mjs +14 -14
  2. package/__app__/src/chunks/AIChat.mjs +153 -156
  3. package/__app__/src/chunks/LikeC4Styles.mjs +1553 -1255
  4. package/__app__/src/chunks/ProjectsOverview.mjs +127 -130
  5. package/__app__/src/chunks/hooks.mjs +419 -106
  6. package/__app__/src/chunks/libs/@floating-ui.mjs +8 -8
  7. package/__app__/src/chunks/libs/@mantine.mjs +3039 -2135
  8. package/__app__/src/chunks/libs/@tanstack-ai.mjs +4 -4
  9. package/__app__/src/chunks/libs/@tanstack.mjs +93 -118
  10. package/__app__/src/chunks/libs/@xstate/react.mjs +30 -16
  11. package/__app__/src/chunks/libs/@xyflow/react.mjs +50 -26
  12. package/__app__/src/chunks/libs/bezier-js.mjs +11 -8
  13. package/__app__/src/chunks/libs/framer.mjs +1188 -1155
  14. package/__app__/src/chunks/libs/zod.mjs +191 -188
  15. package/__app__/src/chunks/rolldown-runtime.mjs +8 -1
  16. package/__app__/src/chunks/styled-system.mjs +23 -16
  17. package/__app__/src/main.mjs +23331 -10467
  18. package/__app__/src/style.css +1 -1
  19. package/dist/chunks/dist.mjs +10 -0
  20. package/dist/chunks/enableServer.mjs +1 -1
  21. package/dist/chunks/index.d.mts +9 -9
  22. package/dist/chunks/index2.d.mts +386 -229
  23. package/dist/chunks/libs/@chevrotain/gast.mjs +1 -1
  24. package/dist/chunks/libs/@chevrotain/regexp-to-ast.mjs +1 -1
  25. package/dist/chunks/libs/@logtape/logtape.mjs +3 -3
  26. package/dist/chunks/libs/@ts-graphviz/common.d.mts +1 -2
  27. package/dist/chunks/libs/@ts-graphviz/core.mjs +1 -1
  28. package/dist/chunks/libs/chevrotain-allstar.mjs +1 -1
  29. package/dist/chunks/libs/chevrotain.mjs +4 -4
  30. package/dist/chunks/libs/json5.mjs +1 -1
  31. package/dist/chunks/libs/langium.d.mts +2940 -2914
  32. package/dist/chunks/libs/langium.mjs +9 -9
  33. package/dist/chunks/libs/merge-error-cause.mjs +1 -1
  34. package/dist/chunks/libs/p-queue.mjs +1 -1
  35. package/dist/chunks/libs/package-manager-detector.mjs +1 -1
  36. package/dist/chunks/libs/pako.mjs +1 -1
  37. package/dist/chunks/libs/picomatch.mjs +1 -1
  38. package/dist/chunks/libs/remeda.mjs +1 -1
  39. package/dist/chunks/libs/ufo.mjs +1 -1
  40. package/dist/chunks/libs/unstorage.d.mts +1 -0
  41. package/dist/chunks/libs/which.mjs +1 -1
  42. package/dist/chunks/libs/zod.d.mts +48 -36
  43. package/dist/chunks/libs/zod.mjs +4 -4
  44. package/dist/chunks/logger.mjs +1 -0
  45. package/dist/chunks/node.mjs +57 -66
  46. package/dist/chunks/rolldown-runtime.mjs +1 -1
  47. package/dist/chunks/sequence-view.mjs +1 -1
  48. package/dist/chunks/vite-plugin.mjs +43 -43
  49. package/dist/cli/index.mjs +159 -157
  50. package/dist/index.d.mts +2 -3
  51. package/dist/index.mjs +1 -1
  52. package/dist/model/index.d.mts +5 -4
  53. package/dist/vite-plugin/index.d.mts +6 -9
  54. package/dist/vite-plugin/internal/index.d.mts +15 -10
  55. package/package.json +38 -38
  56. package/react/index.d.mts +761 -111
  57. package/react/index.mjs +13997 -10234
  58. package/__app__/src/chunks/DiagramActorProvider.mjs +0 -7638
  59. package/__app__/src/chunks/Markdown.mjs +0 -146
  60. package/__app__/src/chunks/NavigationPanel.mjs +0 -61
  61. package/__app__/src/chunks/adhoc-editor.mjs +0 -3386
  62. package/__app__/src/chunks/libs/@dagrejs/dagre.mjs +0 -1894
  63. package/__app__/src/chunks/libs/@tabler/icons-react.mjs +0 -252
  64. package/__app__/src/chunks/libs/remeda.mjs +0 -642
@@ -1,642 +0,0 @@
1
- import { i as s } from "../rolldown-runtime.mjs";
2
- //#region ../../node_modules/.pnpm/remeda@2.37.0/node_modules/remeda/dist/lazyDataLastImpl-DtF3cihj.js
3
- function e$16(s, c, l) {
4
- let r = (l) => s(l, ...c);
5
- return l === void 0 ? r : Object.assign(r, {
6
- lazy: l,
7
- lazyArgs: c
8
- });
9
- }
10
- s(e$16, "e");
11
- //#endregion
12
- //#region ../../node_modules/.pnpm/remeda@2.37.0/node_modules/remeda/dist/purry.js
13
- function t$29(s, c, l) {
14
- let u = s.length - c.length;
15
- if (u === 0) return s(...c);
16
- if (u === 1) return e$16(s, c, l);
17
- throw Error("Wrong number of arguments");
18
- }
19
- s(t$29, "t");
20
- //#endregion
21
- //#region ../../node_modules/.pnpm/remeda@2.37.0/node_modules/remeda/dist/clamp.js
22
- function t$28(...s) {
23
- return t$29(c, s);
24
- }
25
- s(t$28, "t");
26
- var c = /* @__PURE__ */ s((s, { min: c, max: l }) => c !== void 0 && s < c ? c : l !== void 0 && s > l ? l : s, "n");
27
- //#endregion
28
- //#region ../../node_modules/.pnpm/remeda@2.37.0/node_modules/remeda/dist/concat.js
29
- function t$27(...s) {
30
- return t$29(l, s);
31
- }
32
- s(t$27, "t");
33
- var l = /* @__PURE__ */ s((s, c) => [...s, ...c], "n"), u = {
34
- done: !1,
35
- hasNext: !1
36
- }, d = /* @__PURE__ */ s((s) => ({
37
- hasNext: !0,
38
- next: s,
39
- done: !1
40
- }), "r");
41
- //#endregion
42
- //#region ../../node_modules/.pnpm/remeda@2.37.0/node_modules/remeda/dist/pipe.js
43
- function t$25(s, ...c) {
44
- let l = s, u = c.map((s) => "lazy" in s ? r$13(s) : void 0), d = 0;
45
- for (; d < c.length;) {
46
- if (u[d] === void 0 || !i$7(l)) {
47
- let s = c[d];
48
- l = s(l), d += 1;
49
- continue;
50
- }
51
- let s = [];
52
- for (let l = d; l < c.length; l++) {
53
- let c = u[l];
54
- if (c === void 0 || (s.push(c), c.isSingle)) break;
55
- }
56
- let f = [];
57
- for (let c of l) if (n$26(c, f, s)) break;
58
- let { isSingle: p } = s.at(-1);
59
- l = p ? f[0] : f, d += s.length;
60
- }
61
- return l;
62
- }
63
- s(t$25, "t");
64
- function n$26(s, c, l) {
65
- if (l.length === 0) return c.push(s), !1;
66
- let d = s, f = u, p = !1;
67
- for (let [s, u] of l.entries()) {
68
- let { index: m, items: h } = u;
69
- if (h.push(d), f = u(d, m, h), u.index += 1, f.hasNext) {
70
- if (f.hasMany ?? !1) {
71
- for (let u of f.next) if (n$26(u, c, l.slice(s + 1))) return !0;
72
- return p;
73
- }
74
- d = f.next;
75
- }
76
- if (!f.hasNext) break;
77
- f.done && (p = !0);
78
- }
79
- return f.hasNext && c.push(d), p;
80
- }
81
- s(n$26, "n");
82
- function r$13(s) {
83
- let { lazy: c, lazyArgs: l } = s, u = c(...l);
84
- return Object.assign(u, {
85
- isSingle: c.single ?? !1,
86
- index: 0,
87
- items: []
88
- });
89
- }
90
- s(r$13, "r");
91
- function i$7(s) {
92
- return typeof s == "string" || typeof s == "object" && !!s && Symbol.iterator in s;
93
- }
94
- s(i$7, "i");
95
- //#endregion
96
- //#region ../../node_modules/.pnpm/remeda@2.37.0/node_modules/remeda/dist/purryFromLazy-DELFL6Wm.js
97
- function t$24(s, c) {
98
- let l = c.length - s.length;
99
- if (l === 1) {
100
- let [l, ...u] = c;
101
- return t$25(l, {
102
- lazy: s,
103
- lazyArgs: u
104
- });
105
- }
106
- if (l === 0) {
107
- let l = {
108
- lazy: s,
109
- lazyArgs: c
110
- };
111
- return Object.assign((s) => t$25(s, l), l);
112
- }
113
- throw Error("Wrong number of arguments");
114
- }
115
- s(t$24, "t");
116
- //#endregion
117
- //#region ../../node_modules/.pnpm/remeda@2.37.0/node_modules/remeda/dist/difference.js
118
- function r$12(...s) {
119
- return t$24(i$6, s);
120
- }
121
- s(r$12, "r");
122
- function i$6(s) {
123
- if (s.length === 0) return d;
124
- let c = /* @__PURE__ */ new Map();
125
- for (let l of s) c.set(l, (c.get(l) ?? 0) + 1);
126
- return (s) => {
127
- let l = c.get(s);
128
- return l === void 0 || l === 0 ? {
129
- done: !1,
130
- hasNext: !0,
131
- next: s
132
- } : (c.set(s, l - 1), u);
133
- };
134
- }
135
- s(i$6, "i");
136
- //#endregion
137
- //#region ../../node_modules/.pnpm/remeda@2.37.0/node_modules/remeda/dist/hasAtLeast.js
138
- function t$23(...s) {
139
- return t$29(f, s);
140
- }
141
- s(t$23, "t");
142
- var f = /* @__PURE__ */ s((s, c) => s.length >= c, "n"), p = {
143
- asc: (s, c) => s > c,
144
- desc: (s, c) => s < c
145
- };
146
- function t$22(s, c) {
147
- let [l, ...u] = c;
148
- if (!i$5(l)) return s(l, r$11(...u));
149
- let d = r$11(l, ...u);
150
- return (c) => s(c, d);
151
- }
152
- s(t$22, "t");
153
- function r$11(s, c, ...l) {
154
- let u = typeof s == "function" ? s : s[0], d = typeof s == "function" ? "asc" : s[1], { [d]: f } = p, m = c === void 0 ? void 0 : r$11(c, ...l);
155
- return (s, c) => {
156
- let l = u(s), d = u(c);
157
- return f(l, d) ? 1 : f(d, l) ? -1 : m?.(s, c) ?? 0;
158
- };
159
- }
160
- s(r$11, "r");
161
- function i$5(s) {
162
- if (m(s)) return !0;
163
- if (typeof s != "object" || !Array.isArray(s)) return !1;
164
- let [c, l, ...u] = s;
165
- return m(c) && typeof l == "string" && l in p && u.length === 0;
166
- }
167
- s(i$5, "i");
168
- var m = /* @__PURE__ */ s((s) => typeof s == "function" && s.length === 1, "a");
169
- //#endregion
170
- //#region ../../node_modules/.pnpm/remeda@2.37.0/node_modules/remeda/dist/entries.js
171
- function t$21(...s) {
172
- return t$29(Object.entries, s);
173
- }
174
- s(t$21, "t");
175
- //#endregion
176
- //#region ../../node_modules/.pnpm/remeda@2.37.0/node_modules/remeda/dist/filter.js
177
- function n$24(...s) {
178
- return t$29(h, s, g);
179
- }
180
- s(n$24, "n");
181
- var h = /* @__PURE__ */ s((s, c) => s.filter(c), "r"), g = /* @__PURE__ */ s((s) => (c, l, d) => s(c, l, d) ? {
182
- done: !1,
183
- hasNext: !0,
184
- next: c
185
- } : u, "i"), _ = /* @__PURE__ */ s((s) => Object.assign(s, { single: !0 }), "e");
186
- //#endregion
187
- //#region ../../node_modules/.pnpm/remeda@2.37.0/node_modules/remeda/dist/find.js
188
- function r$9(...s) {
189
- return t$29(v, s, _(y));
190
- }
191
- s(r$9, "r");
192
- var v = /* @__PURE__ */ s((s, c) => s.find(c), "i"), y = /* @__PURE__ */ s((s) => (c, l, d) => s(c, l, d) ? {
193
- done: !0,
194
- hasNext: !0,
195
- next: c
196
- } : u, "a");
197
- //#endregion
198
- //#region ../../node_modules/.pnpm/remeda@2.37.0/node_modules/remeda/dist/findLast.js
199
- function t$20(...s) {
200
- return t$29(b, s);
201
- }
202
- s(t$20, "t");
203
- var b = /* @__PURE__ */ s((s, c) => {
204
- for (let l = s.length - 1; l >= 0; l--) {
205
- let u = s[l];
206
- if (c(u, l, s)) return u;
207
- }
208
- }, "n");
209
- //#endregion
210
- //#region ../../node_modules/.pnpm/remeda@2.37.0/node_modules/remeda/dist/first.js
211
- function n$22(...s) {
212
- return t$29(x, s, _(S));
213
- }
214
- s(n$22, "n");
215
- var x = /* @__PURE__ */ s(([s]) => s, "r"), S = /* @__PURE__ */ s(() => C, "i"), C = /* @__PURE__ */ s((s) => ({
216
- hasNext: !0,
217
- next: s,
218
- done: !0
219
- }), "a");
220
- //#endregion
221
- //#region ../../node_modules/.pnpm/remeda@2.37.0/node_modules/remeda/dist/flatMap.js
222
- function t$19(...s) {
223
- return t$29(w, s, T);
224
- }
225
- s(t$19, "t");
226
- var w = /* @__PURE__ */ s((s, c) => s.flatMap(c), "n"), T = /* @__PURE__ */ s((s) => (c, l, u) => {
227
- let d = s(c, l, u);
228
- return Array.isArray(d) ? {
229
- done: !1,
230
- hasNext: !0,
231
- hasMany: !0,
232
- next: d
233
- } : {
234
- done: !1,
235
- hasNext: !0,
236
- next: d
237
- };
238
- }, "r");
239
- //#endregion
240
- //#region ../../node_modules/.pnpm/remeda@2.37.0/node_modules/remeda/dist/forEachObj.js
241
- function t$18(...s) {
242
- return t$29(n$20, s);
243
- }
244
- s(t$18, "t");
245
- function n$20(s, c) {
246
- for (let [l, u] of Object.entries(s)) c(u, l, s);
247
- return s;
248
- }
249
- s(n$20, "n");
250
- //#endregion
251
- //#region ../../node_modules/.pnpm/remeda@2.37.0/node_modules/remeda/dist/groupBy.js
252
- function t$17(...s) {
253
- return t$29(E, s);
254
- }
255
- s(t$17, "t");
256
- var E = /* @__PURE__ */ s((s, c) => {
257
- let l = Object.create(null);
258
- for (let u = 0; u < s.length; u++) {
259
- let d = s[u], f = c(d, u, s);
260
- if (f !== void 0) {
261
- let s = l[f];
262
- s === void 0 ? l[f] = [d] : s.push(d);
263
- }
264
- }
265
- return Object.setPrototypeOf(l, Object.prototype), l;
266
- }, "n");
267
- //#endregion
268
- //#region ../../node_modules/.pnpm/remeda@2.37.0/node_modules/remeda/dist/isDeepEqual.js
269
- function t$16(...s) {
270
- return t$29(n$18, s);
271
- }
272
- s(t$16, "t");
273
- function n$18(s, c) {
274
- if (s === c || Object.is(s, c)) return !0;
275
- if (typeof s != "object" || typeof c != "object" || s === null || c === null || !r$6(s, c)) return !1;
276
- if (Array.isArray(s)) return i$1(s, c);
277
- if (s instanceof Map) return a(s, c);
278
- if (s instanceof Set) return o(s, c);
279
- if (s instanceof Date) return s.getTime() === c.getTime();
280
- if (s instanceof RegExp) return s.toString() === c.toString();
281
- if (Object.keys(s).length !== Object.keys(c).length) return !1;
282
- for (let [l, u] of Object.entries(s)) if (!(l in c) || !n$18(u, c[l])) return !1;
283
- return !0;
284
- }
285
- s(n$18, "n");
286
- function r$6(s, c) {
287
- let l = Object.getPrototypeOf(s), u = Object.getPrototypeOf(c);
288
- return l === u ? !0 : l === null ? u === Object.prototype : l === Object.prototype && u === null;
289
- }
290
- s(r$6, "r");
291
- function i$1(s, c) {
292
- if (s.length !== c.length) return !1;
293
- for (let [l, u] of s.entries()) if (!n$18(u, c[l])) return !1;
294
- return !0;
295
- }
296
- s(i$1, "i");
297
- function a(s, c) {
298
- if (s.size !== c.size) return !1;
299
- for (let [l, u] of s.entries()) if (!c.has(l) || !n$18(u, c.get(l))) return !1;
300
- return !0;
301
- }
302
- function o(s, c) {
303
- if (s.size !== c.size) return !1;
304
- let l = [...c];
305
- for (let c of s) {
306
- let s = !1;
307
- for (let [u, d] of l.entries()) if (n$18(c, d)) {
308
- s = !0, l.splice(u, 1);
309
- break;
310
- }
311
- if (!s) return !1;
312
- }
313
- return !0;
314
- }
315
- //#endregion
316
- //#region ../../node_modules/.pnpm/remeda@2.37.0/node_modules/remeda/dist/hasSubObject.js
317
- function n$17(...s) {
318
- return t$29(r$5, s);
319
- }
320
- s(n$17, "n");
321
- function r$5(s, c) {
322
- for (let [l, u] of Object.entries(c)) if (!Object.hasOwn(s, l) || !t$16(u, s[l])) return !1;
323
- return !0;
324
- }
325
- s(r$5, "r");
326
- //#endregion
327
- //#region ../../node_modules/.pnpm/remeda@2.37.0/node_modules/remeda/dist/isArray.js
328
- function e$13(s) {
329
- return Array.isArray(s);
330
- }
331
- s(e$13, "e");
332
- //#endregion
333
- //#region ../../node_modules/.pnpm/remeda@2.37.0/node_modules/remeda/dist/isBoolean.js
334
- function e$12(s) {
335
- return typeof s == "boolean";
336
- }
337
- s(e$12, "e");
338
- //#endregion
339
- //#region ../../node_modules/.pnpm/remeda@2.37.0/node_modules/remeda/dist/isDefined.js
340
- function e$11(s) {
341
- return s !== void 0;
342
- }
343
- s(e$11, "e");
344
- //#endregion
345
- //#region ../../node_modules/.pnpm/remeda@2.37.0/node_modules/remeda/dist/isEmpty.js
346
- function e$10(s) {
347
- return s === "" || s === void 0 ? !0 : Array.isArray(s) ? s.length === 0 : Object.keys(s).length === 0;
348
- }
349
- s(e$10, "e");
350
- //#endregion
351
- //#region ../../node_modules/.pnpm/remeda@2.37.0/node_modules/remeda/dist/isEmptyish.js
352
- function e$9(s) {
353
- if (s == null || s === "") return !0;
354
- if (typeof s != "object") return !1;
355
- if ("length" in s && typeof s.length == "number") return s.length === 0;
356
- if ("size" in s && typeof s.size == "number") return s.size === 0;
357
- for (let c in s) return !1;
358
- return Object.getOwnPropertySymbols(s).length === 0;
359
- }
360
- s(e$9, "e");
361
- //#endregion
362
- //#region ../../node_modules/.pnpm/remeda@2.37.0/node_modules/remeda/dist/isFunction.js
363
- var D = /* @__PURE__ */ s((s) => typeof s == "function", "e");
364
- //#endregion
365
- //#region ../../node_modules/.pnpm/remeda@2.37.0/node_modules/remeda/dist/isNonNullish.js
366
- function e$7(s) {
367
- return s != null;
368
- }
369
- s(e$7, "e");
370
- //#endregion
371
- //#region ../../node_modules/.pnpm/remeda@2.37.0/node_modules/remeda/dist/isNot.js
372
- function e$6(s) {
373
- return (c) => !s(c);
374
- }
375
- s(e$6, "e");
376
- //#endregion
377
- //#region ../../node_modules/.pnpm/remeda@2.37.0/node_modules/remeda/dist/isNullish.js
378
- function e$5(s) {
379
- return s == null;
380
- }
381
- s(e$5, "e");
382
- //#endregion
383
- //#region ../../node_modules/.pnpm/remeda@2.37.0/node_modules/remeda/dist/isNumber.js
384
- function e$4(s) {
385
- return typeof s == "number" && !Number.isNaN(s);
386
- }
387
- s(e$4, "e");
388
- //#endregion
389
- //#region ../../node_modules/.pnpm/remeda@2.37.0/node_modules/remeda/dist/isPlainObject.js
390
- function e$3(s) {
391
- if (typeof s != "object" || !s) return !1;
392
- let c = Object.getPrototypeOf(s);
393
- return c === null || c === Object.prototype;
394
- }
395
- s(e$3, "e");
396
- //#endregion
397
- //#region ../../node_modules/.pnpm/remeda@2.37.0/node_modules/remeda/dist/isShallowEqual.js
398
- function t$15(...s) {
399
- return t$29(n$16, s);
400
- }
401
- s(t$15, "t");
402
- function n$16(s, c) {
403
- if (s === c || Object.is(s, c)) return !0;
404
- if (typeof s != "object" || !s || typeof c != "object" || !c) return !1;
405
- if (s instanceof Map && c instanceof Map) return r$4(s, c);
406
- if (s instanceof Set && c instanceof Set) return i(s, c);
407
- let l = Object.keys(s);
408
- if (l.length !== Object.keys(c).length) return !1;
409
- for (let u of l) {
410
- if (!Object.hasOwn(c, u)) return !1;
411
- let { [u]: l } = s, { [u]: d } = c;
412
- if (l !== d || !Object.is(l, d)) return !1;
413
- }
414
- return !0;
415
- }
416
- s(n$16, "n");
417
- function r$4(s, c) {
418
- if (s.size !== c.size) return !1;
419
- for (let [l, u] of s) {
420
- let s = c.get(l);
421
- if (u !== s || !Object.is(u, s)) return !1;
422
- }
423
- return !0;
424
- }
425
- s(r$4, "r");
426
- function i(s, c) {
427
- if (s.size !== c.size) return !1;
428
- for (let l of s) if (!c.has(l)) return !1;
429
- return !0;
430
- }
431
- //#endregion
432
- //#region ../../node_modules/.pnpm/remeda@2.37.0/node_modules/remeda/dist/isString.js
433
- function e$2(s) {
434
- return typeof s == "string";
435
- }
436
- s(e$2, "e");
437
- //#endregion
438
- //#region ../../node_modules/.pnpm/remeda@2.37.0/node_modules/remeda/dist/isTruthy.js
439
- function e$1(s) {
440
- return !!s;
441
- }
442
- s(e$1, "e");
443
- //#endregion
444
- //#region ../../node_modules/.pnpm/remeda@2.37.0/node_modules/remeda/dist/join.js
445
- function t$14(...s) {
446
- return t$29(O, s);
447
- }
448
- s(t$14, "t");
449
- var O = /* @__PURE__ */ s((s, c) => s.join(c), "n");
450
- //#endregion
451
- //#region ../../node_modules/.pnpm/remeda@2.37.0/node_modules/remeda/dist/keys.js
452
- function t$13(...s) {
453
- return t$29(Object.keys, s);
454
- }
455
- s(t$13, "t");
456
- //#endregion
457
- //#region ../../node_modules/.pnpm/remeda@2.37.0/node_modules/remeda/dist/last.js
458
- function t$12(...s) {
459
- return t$29(k, s);
460
- }
461
- s(t$12, "t");
462
- var k = /* @__PURE__ */ s((s) => s.at(-1), "n");
463
- //#endregion
464
- //#region ../../node_modules/.pnpm/remeda@2.37.0/node_modules/remeda/dist/map.js
465
- function t$11(...s) {
466
- return t$29(A, s, j);
467
- }
468
- s(t$11, "t");
469
- var A = /* @__PURE__ */ s((s, c) => s.map(c), "n"), j = /* @__PURE__ */ s((s) => (c, l, u) => ({
470
- done: !1,
471
- hasNext: !0,
472
- next: s(c, l, u)
473
- }), "r");
474
- //#endregion
475
- //#region ../../node_modules/.pnpm/remeda@2.37.0/node_modules/remeda/dist/mapToObj.js
476
- function t$10(...s) {
477
- return t$29(n$12, s);
478
- }
479
- s(t$10, "t");
480
- function n$12(s, c) {
481
- let l = {};
482
- for (let [u, d] of s.entries()) {
483
- let [f, p] = c(d, u, s);
484
- l[f] = p;
485
- }
486
- return l;
487
- }
488
- s(n$12, "n");
489
- //#endregion
490
- //#region ../../node_modules/.pnpm/remeda@2.37.0/node_modules/remeda/dist/mapValues.js
491
- function t$9(...s) {
492
- return t$29(n$11, s);
493
- }
494
- s(t$9, "t");
495
- function n$11(s, c) {
496
- let l = {};
497
- for (let [u, d] of Object.entries(s)) l[u] = c(d, u, s);
498
- return l;
499
- }
500
- s(n$11, "n");
501
- //#endregion
502
- //#region ../../node_modules/.pnpm/remeda@2.37.0/node_modules/remeda/dist/mergeDeep.js
503
- function n$10(...s) {
504
- return t$29(r$2, s);
505
- }
506
- s(n$10, "n");
507
- function r$2(s, c) {
508
- let l = {
509
- ...s,
510
- ...c
511
- };
512
- for (let u in c) {
513
- if (!(u in s)) continue;
514
- let { [u]: d } = s;
515
- if (!e$3(d)) continue;
516
- let { [u]: f } = c;
517
- e$3(f) && (l[u] = r$2(d, f));
518
- }
519
- return l;
520
- }
521
- s(r$2, "r");
522
- //#endregion
523
- //#region ../../node_modules/.pnpm/remeda@2.37.0/node_modules/remeda/dist/omit.js
524
- function n$9(...s) {
525
- return t$29(r$1, s);
526
- }
527
- s(n$9, "n");
528
- function r$1(s, c) {
529
- if (!t$23(c, 1)) return { ...s };
530
- if (!t$23(c, 2)) {
531
- let { [c[0]]: l, ...u } = s;
532
- return u;
533
- }
534
- let l = { ...s };
535
- for (let s of c) delete l[s];
536
- return l;
537
- }
538
- s(r$1, "r");
539
- //#endregion
540
- //#region ../../node_modules/.pnpm/remeda@2.37.0/node_modules/remeda/dist/only.js
541
- function t$8(...s) {
542
- return t$29(M, s);
543
- }
544
- s(t$8, "t");
545
- var M = /* @__PURE__ */ s((s) => s.length === 1 ? s[0] : void 0, "n");
546
- //#endregion
547
- //#region ../../node_modules/.pnpm/remeda@2.37.0/node_modules/remeda/dist/pick.js
548
- function t$7(...s) {
549
- return t$29(n$7, s);
550
- }
551
- s(t$7, "t");
552
- function n$7(s, c) {
553
- let l = {};
554
- for (let u of c) u in s && (l[u] = s[u]);
555
- return l;
556
- }
557
- s(n$7, "n");
558
- //#endregion
559
- //#region ../../node_modules/.pnpm/remeda@2.37.0/node_modules/remeda/dist/pickBy.js
560
- function t$6(...s) {
561
- return t$29(n$6, s);
562
- }
563
- s(t$6, "t");
564
- function n$6(s, c) {
565
- let l = {};
566
- for (let [u, d] of Object.entries(s)) c(d, u, s) && (l[u] = d);
567
- return l;
568
- }
569
- s(n$6, "n");
570
- //#endregion
571
- //#region ../../node_modules/.pnpm/remeda@2.37.0/node_modules/remeda/dist/prop.js
572
- function e(s, ...c) {
573
- return typeof s == "string" || typeof s == "number" || typeof s == "symbol" ? (l) => t$5(l, s, ...c) : t$5(s, ...c);
574
- }
575
- function t$5(s, ...c) {
576
- let l = s;
577
- for (let s of c) {
578
- if (l == null) return;
579
- l = l[s];
580
- }
581
- return l;
582
- }
583
- s(t$5, "t");
584
- //#endregion
585
- //#region ../../node_modules/.pnpm/remeda@2.37.0/node_modules/remeda/dist/reduce.js
586
- function t$4(...s) {
587
- return t$29(N, s);
588
- }
589
- s(t$4, "t");
590
- var N = /* @__PURE__ */ s((s, c, l) => s.reduce(c, l), "n");
591
- //#endregion
592
- //#region ../../node_modules/.pnpm/remeda@2.37.0/node_modules/remeda/dist/reverse.js
593
- function t$3(...s) {
594
- return t$29(n$4, s);
595
- }
596
- s(t$3, "t");
597
- function n$4(s) {
598
- return [...s].reverse();
599
- }
600
- s(n$4, "n");
601
- //#endregion
602
- //#region ../../node_modules/.pnpm/remeda@2.37.0/node_modules/remeda/dist/sort.js
603
- function t$2(...s) {
604
- return t$29(n$3, s);
605
- }
606
- s(t$2, "t");
607
- function n$3(s, c) {
608
- let l = [...s];
609
- return l.sort(c), l;
610
- }
611
- s(n$3, "n");
612
- //#endregion
613
- //#region ../../node_modules/.pnpm/remeda@2.37.0/node_modules/remeda/dist/sortBy.js
614
- function t$1(...s) {
615
- return t$22(P, s);
616
- }
617
- s(t$1, "t");
618
- var P = /* @__PURE__ */ s((s, c) => [...s].sort(c), "n");
619
- //#endregion
620
- //#region ../../node_modules/.pnpm/remeda@2.37.0/node_modules/remeda/dist/tap.js
621
- function t(...s) {
622
- return t$29(n$1, s);
623
- }
624
- function n$1(s, c) {
625
- return c(s), s;
626
- }
627
- s(n$1, "n");
628
- //#endregion
629
- //#region ../../node_modules/.pnpm/remeda@2.37.0/node_modules/remeda/dist/unique.js
630
- function n(...s) {
631
- return t$24(r, s);
632
- }
633
- function r() {
634
- let s = /* @__PURE__ */ new Set();
635
- return (c) => s.has(c) ? u : (s.add(c), {
636
- done: !1,
637
- hasNext: !0,
638
- next: c
639
- });
640
- }
641
- //#endregion
642
- export { e$11 as A, n$24 as B, e$4 as C, D, e$7 as E, t$18 as F, t$27 as G, t$23 as H, t$19 as I, t$28 as K, n$22 as L, e$13 as M, n$17 as N, e$9 as O, t$17 as P, t$20 as R, e$3 as S, e$6 as T, r$12 as U, t$21 as V, t$25 as W, t$13 as _, t$3 as a, e$2 as b, t$6 as c, n$9 as d, n$10 as f, t$12 as g, t$11 as h, t$2 as i, e$12 as j, e$10 as k, t$7 as l, t$10 as m, t as n, t$4 as o, t$9 as p, t$29 as q, t$1 as r, e as s, n as t, t$8 as u, t$14 as v, e$5 as w, t$15 as x, e$1 as y, r$9 as z };