likec4 1.57.0 → 1.59.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/__app__/codegen/react.mjs +7 -8
  2. package/__app__/codegen/webcomponent.mjs +78 -889
  3. package/__app__/src/aichat/index.mjs +8 -1
  4. package/__app__/src/chunks/AIChat.mjs +956 -0
  5. package/__app__/src/chunks/LikeC4Styles.mjs +2164 -0
  6. package/__app__/src/chunks/ProjectsOverview.mjs +537 -0
  7. package/__app__/src/chunks/es.mjs +439 -0
  8. package/__app__/src/chunks/hooks.mjs +458 -0
  9. package/__app__/src/chunks/libs/@floating-ui.mjs +2218 -0
  10. package/__app__/src/chunks/libs/@mantine.mjs +12974 -0
  11. package/__app__/src/chunks/libs/@tanstack-ai.mjs +1768 -0
  12. package/__app__/src/chunks/libs/@tanstack.mjs +2693 -0
  13. package/__app__/src/chunks/libs/@xstate/react.mjs +1996 -0
  14. package/__app__/src/chunks/libs/@xyflow/react.mjs +5280 -0
  15. package/__app__/src/chunks/libs/bezier-js.mjs +1006 -0
  16. package/__app__/src/chunks/libs/d3.mjs +2842 -0
  17. package/__app__/src/chunks/libs/fast-equals.mjs +268 -0
  18. package/__app__/src/chunks/libs/framer.mjs +5905 -0
  19. package/__app__/src/chunks/libs/zod.mjs +3173 -0
  20. package/__app__/src/chunks/rolldown-runtime.mjs +30 -0
  21. package/__app__/src/chunks/styled-system.mjs +1047 -0
  22. package/__app__/src/fonts.css +1 -1
  23. package/__app__/src/main.mjs +27659 -14
  24. package/__app__/src/style.css +1 -1
  25. package/dist/chunks/dist.mjs +10 -0
  26. package/dist/chunks/enableServer.mjs +1 -1
  27. package/dist/chunks/filenames.mjs +2 -2
  28. package/dist/chunks/index.d.mts +9 -9
  29. package/dist/chunks/index2.d.mts +2167 -867
  30. package/dist/chunks/libs/@chevrotain/gast.mjs +1 -1
  31. package/dist/chunks/libs/@chevrotain/regexp-to-ast.mjs +1 -1
  32. package/dist/chunks/libs/@logtape/logtape.mjs +4 -3
  33. package/dist/chunks/libs/@ts-graphviz/common.d.mts +1 -2
  34. package/dist/chunks/libs/@ts-graphviz/core.mjs +1 -1
  35. package/dist/chunks/libs/chevrotain-allstar.mjs +2 -2
  36. package/dist/chunks/libs/chevrotain.mjs +25 -25
  37. package/dist/chunks/libs/json5.mjs +1 -1
  38. package/dist/chunks/libs/langium.d.mts +2940 -2914
  39. package/dist/chunks/libs/langium.mjs +9 -9
  40. package/dist/chunks/libs/merge-error-cause.mjs +1 -1
  41. package/dist/chunks/libs/p-queue.mjs +1 -1
  42. package/dist/chunks/libs/package-manager-detector.mjs +1 -1
  43. package/dist/chunks/libs/pako.mjs +1 -1
  44. package/dist/chunks/libs/picomatch.mjs +1 -1
  45. package/dist/chunks/libs/pretty-ms.mjs +1 -1
  46. package/dist/chunks/libs/remeda.mjs +1 -1
  47. package/dist/chunks/libs/ufo.mjs +1 -1
  48. package/dist/chunks/libs/unstorage.d.mts +1 -0
  49. package/dist/chunks/libs/unstorage.mjs +1 -1
  50. package/dist/chunks/libs/which.mjs +1 -1
  51. package/dist/chunks/libs/zod.d.mts +48 -36
  52. package/dist/chunks/libs/zod.mjs +65 -0
  53. package/dist/chunks/logger.mjs +1 -0
  54. package/dist/chunks/node.mjs +65 -63
  55. package/dist/chunks/rolldown-runtime.mjs +1 -1
  56. package/dist/chunks/sequence-view.mjs +1 -1
  57. package/dist/chunks/{plugin.mjs → vite-plugin.mjs} +41 -41
  58. package/dist/cli/index.mjs +186 -144
  59. package/dist/index.d.mts +3 -4
  60. package/dist/index.mjs +1 -1
  61. package/dist/model/index.d.mts +6 -5
  62. package/dist/vite-plugin/index.d.mts +6 -9
  63. package/dist/vite-plugin/index.mjs +1 -1
  64. package/dist/vite-plugin/internal/index.d.mts +64 -64
  65. package/dist/vite-plugin/internal/index.mjs +946 -1
  66. package/package.json +51 -52
  67. package/react/index.d.mts +853 -134
  68. package/react/index.mjs +49718 -44030
  69. package/__app__/chunks/AIChat2.mjs +0 -2
  70. package/__app__/chunks/DiagramActorProvider.mjs +0 -10
  71. package/__app__/chunks/EmbedPage.mjs +0 -1
  72. package/__app__/chunks/ExportPage.mjs +0 -2
  73. package/__app__/chunks/LikeC4Diagram.mjs +0 -19
  74. package/__app__/chunks/LikeC4Styles.mjs +0 -48
  75. package/__app__/chunks/Markdown.mjs +0 -1
  76. package/__app__/chunks/NavigationPanel.mjs +0 -1
  77. package/__app__/chunks/ViewReact.mjs +0 -1
  78. package/__app__/chunks/adhoc-editor.mjs +0 -1
  79. package/__app__/chunks/aichat.mjs +0 -1
  80. package/__app__/chunks/box.mjs +0 -1
  81. package/__app__/chunks/create-style-context.mjs +0 -1
  82. package/__app__/chunks/css.mjs +0 -1
  83. package/__app__/chunks/factory.mjs +0 -1
  84. package/__app__/chunks/hooks.mjs +0 -1
  85. package/__app__/chunks/hstack.mjs +0 -1
  86. package/__app__/chunks/libs/@dagrejs/dagre.mjs +0 -1
  87. package/__app__/chunks/libs/@floating-ui/core.mjs +0 -1
  88. package/__app__/chunks/libs/@floating-ui/dom.mjs +0 -1
  89. package/__app__/chunks/libs/@floating-ui/react.mjs +0 -1
  90. package/__app__/chunks/libs/@mantine/core.mjs +0 -41
  91. package/__app__/chunks/libs/@mantine/hooks.mjs +0 -1
  92. package/__app__/chunks/libs/@nanostores/react.mjs +0 -1
  93. package/__app__/chunks/libs/@react-hookz/web.mjs +0 -1
  94. package/__app__/chunks/libs/@tabler/icons-react.mjs +0 -358
  95. package/__app__/chunks/libs/@tanstack/ai-client.mjs +0 -2
  96. package/__app__/chunks/libs/@tanstack/ai-react-ui.mjs +0 -1
  97. package/__app__/chunks/libs/@tanstack/ai-react.mjs +0 -1
  98. package/__app__/chunks/libs/@tanstack/ai.mjs +0 -2
  99. package/__app__/chunks/libs/@tanstack/history.mjs +0 -1
  100. package/__app__/chunks/libs/@tanstack/react-router.mjs +0 -3
  101. package/__app__/chunks/libs/@tanstack/router-core.mjs +0 -1
  102. package/__app__/chunks/libs/@xstate/react.mjs +0 -1
  103. package/__app__/chunks/libs/@xstate/store.mjs +0 -1
  104. package/__app__/chunks/libs/@xyflow/react.mjs +0 -7
  105. package/__app__/chunks/libs/@zag-js/anatomy.mjs +0 -1
  106. package/__app__/chunks/libs/@zag-js/collection.mjs +0 -1
  107. package/__app__/chunks/libs/@zag-js/core.mjs +0 -1
  108. package/__app__/chunks/libs/@zag-js/react.mjs +0 -1
  109. package/__app__/chunks/libs/@zag-js/tree-view.mjs +0 -1
  110. package/__app__/chunks/libs/bezier-js.mjs +0 -1
  111. package/__app__/chunks/libs/copy-anything.mjs +0 -1
  112. package/__app__/chunks/libs/d3-path.mjs +0 -1
  113. package/__app__/chunks/libs/d3-shape.mjs +0 -1
  114. package/__app__/chunks/libs/fast-equals.mjs +0 -1
  115. package/__app__/chunks/libs/framer-motion.mjs +0 -9
  116. package/__app__/chunks/libs/html-to-image.mjs +0 -2
  117. package/__app__/chunks/libs/motion-dom.mjs +0 -1
  118. package/__app__/chunks/libs/nanostores.mjs +0 -1
  119. package/__app__/chunks/libs/react-error-boundary.mjs +0 -1
  120. package/__app__/chunks/libs/react-resizable-panels.mjs +0 -1
  121. package/__app__/chunks/libs/remeda.mjs +0 -1
  122. package/__app__/chunks/libs/superjson.mjs +0 -1
  123. package/__app__/chunks/libs/zod.mjs +0 -64
  124. package/__app__/chunks/rolldown-runtime.mjs +0 -1
  125. package/__app__/chunks/styles.css.mjs +0 -1
  126. package/__app__/chunks/txt.mjs +0 -1
  127. package/__app__/chunks/useLikeC4Project.mjs +0 -1
  128. package/__app__/src/pages/AdHocViewEditor.mjs +0 -1
  129. package/__app__/src/pages/EmbedPage.mjs +0 -1
  130. package/__app__/src/pages/ExportPage.mjs +0 -1
  131. package/__app__/src/pages/ProjectsOverview.mjs +0 -1
  132. package/__app__/src/pages/ViewAsD2.mjs +0 -1
  133. package/__app__/src/pages/ViewAsDot.mjs +0 -1
  134. package/__app__/src/pages/ViewAsMmd.mjs +0 -1
  135. package/__app__/src/pages/ViewAsPuml.mjs +0 -1
  136. package/__app__/src/pages/ViewEditor.mjs +0 -1
  137. package/__app__/src/pages/ViewReact.mjs +0 -1
  138. package/dist/chunks/libs/@chevrotain/utils.mjs +0 -1
  139. package/dist/chunks/libs/@hono/mcp.mjs +0 -70
  140. package/dist/chunks/libs/@hono/node-server.mjs +0 -1
  141. package/dist/chunks/libs/@logtape/logtape.d.mts +0 -1023
  142. package/dist/chunks/libs/@modelcontextprotocol/sdk.mjs +0 -12
  143. package/dist/chunks/libs/ajv.mjs +0 -1
  144. package/dist/chunks/libs/ansi-align.mjs +0 -2
  145. package/dist/chunks/libs/ansi-regex.mjs +0 -1
  146. package/dist/chunks/libs/ansi-styles.mjs +0 -1
  147. package/dist/chunks/libs/atomically.mjs +0 -1
  148. package/dist/chunks/libs/boxen.mjs +0 -22
  149. package/dist/chunks/libs/conf.mjs +0 -1
  150. package/dist/chunks/libs/defu.mjs +0 -1
  151. package/dist/chunks/libs/destr.mjs +0 -1
  152. package/dist/chunks/libs/find-up-simple.mjs +0 -1
  153. package/dist/chunks/libs/get-port.mjs +0 -1
  154. package/dist/chunks/libs/hono.mjs +0 -1
  155. package/dist/chunks/libs/is-docker.mjs +0 -1
  156. package/dist/chunks/libs/is-error-instance.mjs +0 -1
  157. package/dist/chunks/libs/is-inside-container.mjs +0 -1
  158. package/dist/chunks/libs/is-plain-obj.mjs +0 -1
  159. package/dist/chunks/libs/isexe.mjs +0 -1
  160. package/dist/chunks/libs/ky.mjs +0 -3
  161. package/dist/chunks/libs/p-debounce.mjs +0 -1
  162. package/dist/chunks/libs/p-limit.mjs +0 -1
  163. package/dist/chunks/libs/p-timeout.mjs +0 -1
  164. package/dist/chunks/libs/package-up.mjs +0 -1
  165. package/dist/chunks/libs/parse-ms.mjs +0 -1
  166. package/dist/chunks/libs/safe-stringify.mjs +0 -1
  167. package/dist/chunks/libs/strip-indent.mjs +0 -1
  168. package/dist/chunks/libs/tinyrainbow.mjs +0 -1
  169. package/dist/chunks/libs/ts-graphviz.mjs +0 -1
  170. package/dist/chunks/libs/unctx.mjs +0 -1
  171. package/dist/chunks/libs/vscode-languageserver.mjs +0 -1
  172. package/dist/chunks/libs/word-wrap.mjs +0 -12
  173. package/dist/vite-plugin/internal/chunks/libs/@nanostores/react.mjs +0 -1
  174. package/dist/vite-plugin/internal/chunks/libs/birpc.mjs +0 -1
  175. package/dist/vite-plugin/internal/chunks/libs/fast-equals.mjs +0 -1
  176. package/dist/vite-plugin/internal/chunks/libs/nanostores.mjs +0 -1
  177. package/dist/vite-plugin/internal/chunks/libs/remeda.mjs +0 -1
  178. package/dist/vite-plugin/internal/chunks/rolldown-runtime.mjs +0 -1
@@ -0,0 +1,1047 @@
1
+ import { i as e } from "./rolldown-runtime.mjs";
2
+ import { createContext as t, createElement as n, forwardRef as r, useContext as i, useMemo as a } from "react";
3
+ //#region styled-system/helpers.mjs
4
+ function isObject(e) {
5
+ return typeof e == "object" && !!e && !Array.isArray(e);
6
+ }
7
+ var isObjectOrArray = (e) => typeof e == "object" && !!e;
8
+ function compact(e) {
9
+ return Object.fromEntries(Object.entries(e ?? {}).filter(([e, t]) => t !== void 0));
10
+ }
11
+ var isBaseCondition = (e) => e === "base";
12
+ function filterBaseConditions(e) {
13
+ return e.slice().filter((e) => !isBaseCondition(e));
14
+ }
15
+ function toChar(e) {
16
+ return String.fromCharCode(e + (e > 25 ? 39 : 97));
17
+ }
18
+ function toName(e) {
19
+ let t = "", n;
20
+ for (n = Math.abs(e); n > 52; n = n / 52 | 0) t = toChar(n % 52) + t;
21
+ return toChar(n % 52) + t;
22
+ }
23
+ function toPhash(e, t) {
24
+ let n = t.length;
25
+ for (; n;) e = e * 33 ^ t.charCodeAt(--n);
26
+ return e;
27
+ }
28
+ function toHash(e) {
29
+ return toName(toPhash(5381, e) >>> 0);
30
+ }
31
+ var o = /\s*!(important)?/i;
32
+ function isImportant(e) {
33
+ return typeof e == "string" ? o.test(e) : !1;
34
+ }
35
+ function withoutImportant(e) {
36
+ return typeof e == "string" ? e.replace(o, "").trim() : e;
37
+ }
38
+ function withoutSpace(e) {
39
+ return typeof e == "string" ? e.replaceAll(" ", "_") : e;
40
+ }
41
+ var s = /* @__PURE__ */ e((e) => {
42
+ let t = /* @__PURE__ */ new Map(), get = (...n) => {
43
+ let r = JSON.stringify(n);
44
+ if (t.has(r)) return t.get(r);
45
+ let i = e(...n);
46
+ return t.set(r, i), i;
47
+ };
48
+ return get;
49
+ }, "memo"), c = /* @__PURE__ */ new Set([
50
+ "__proto__",
51
+ "constructor",
52
+ "prototype"
53
+ ]);
54
+ function mergeProps(...e) {
55
+ return e.reduce((e, t) => (t && Object.keys(t).forEach((n) => {
56
+ if (c.has(n)) return;
57
+ let r = e[n], i = t[n];
58
+ isObject(r) && isObject(i) ? e[n] = mergeProps(r, i) : e[n] = i;
59
+ }), e), {});
60
+ }
61
+ var isNotNullish = (e) => e != null;
62
+ function walkObject(e, t, n = {}) {
63
+ let { stop: r, getKey: i } = n;
64
+ function inner(e, n = []) {
65
+ if (isObjectOrArray(e)) {
66
+ let a = {};
67
+ for (let [o, s] of Object.entries(e)) {
68
+ let c = i?.(o, s) ?? o, l = [...n, c];
69
+ if (r?.(e, l)) return t(e, n);
70
+ let u = inner(s, l);
71
+ isNotNullish(u) && (a[c] = u);
72
+ }
73
+ return a;
74
+ }
75
+ return t(e, n);
76
+ }
77
+ return inner(e);
78
+ }
79
+ function mapObject(e, t) {
80
+ return Array.isArray(e) ? e.map((e) => t(e)) : isObject(e) ? walkObject(e, (e) => t(e)) : t(e);
81
+ }
82
+ function toResponsiveObject(e, t) {
83
+ return e.reduce((e, n, r) => {
84
+ let i = t[r];
85
+ return n != null && (e[i] = n), e;
86
+ }, {});
87
+ }
88
+ function normalizeStyleObject(e, t, n = !0) {
89
+ let { utility: r, conditions: i } = t, { hasShorthand: a, resolveShorthand: o } = r;
90
+ return walkObject(e, (e) => Array.isArray(e) ? toResponsiveObject(e, i.breakpoints.keys) : e, {
91
+ stop: (e) => Array.isArray(e),
92
+ getKey: n ? (e) => a ? o(e) : e : void 0
93
+ });
94
+ }
95
+ var l = {
96
+ shift: (e) => e,
97
+ finalize: (e) => e,
98
+ breakpoints: { keys: [] }
99
+ }, sanitize = (e) => typeof e == "string" ? e.replaceAll(/[\n\s]+/g, " ") : e;
100
+ function createCss(e) {
101
+ let { utility: t, hash: n, conditions: r = l } = e, formatClassName = (e) => [t.prefix, e].filter(Boolean).join("-"), hashFn = (e, i) => {
102
+ let a;
103
+ if (n) {
104
+ let n = [...r.finalize(e), i];
105
+ a = formatClassName(t.toHash(n, toHash));
106
+ } else a = [...r.finalize(e), formatClassName(i)].join(":");
107
+ return a;
108
+ };
109
+ return s(({ base: n, ...i } = {}) => {
110
+ let a = normalizeStyleObject(Object.assign(i, n), e), o = /* @__PURE__ */ new Set();
111
+ return walkObject(a, (e, n) => {
112
+ if (e == null) return;
113
+ let i = isImportant(e), [a, ...s] = r.shift(n), c = filterBaseConditions(s), l = t.transform(a, withoutImportant(sanitize(e))), u = hashFn(c, l.className);
114
+ i && (u = `${u}!`), o.add(u);
115
+ }), Array.from(o).join(" ");
116
+ });
117
+ }
118
+ function compactStyles(...e) {
119
+ return e.flat().filter((e) => isObject(e) && Object.keys(compact(e)).length > 0);
120
+ }
121
+ function createMergeCss(e) {
122
+ function resolve(t) {
123
+ let n = compactStyles(...t);
124
+ return n.length === 1 ? n : n.map((t) => normalizeStyleObject(t, e));
125
+ }
126
+ function mergeCss(...e) {
127
+ return mergeProps(...resolve(e));
128
+ }
129
+ function assignCss(...e) {
130
+ return Object.assign({}, ...resolve(e));
131
+ }
132
+ return {
133
+ mergeCss: s(mergeCss),
134
+ assignCss
135
+ };
136
+ }
137
+ var u = /([A-Z])/g, d = /^ms-/, f = s((e) => e.startsWith("--") ? e : e.replace(u, "-$1").replace(d, "-ms-").toLowerCase()), p = RegExp(`^(${[
138
+ "min",
139
+ "max",
140
+ "clamp",
141
+ "calc"
142
+ ].join("|")})\\(.*\\)`), isCssFunction = (e) => typeof e == "string" && p.test(e), ee = `(?:${"cm,mm,Q,in,pc,pt,px,em,ex,ch,rem,lh,rlh,vw,vh,vmin,vmax,vb,vi,svw,svh,lvw,lvh,dvw,dvh,cqw,cqh,cqi,cqb,cqmin,cqmax,%".split(",").join("|")})`, te = RegExp(`^[+-]?[0-9]*.?[0-9]+(?:[eE][+-]?[0-9]+)?${ee}$`), isCssUnit = (e) => typeof e == "string" && te.test(e), isCssVar = (e) => typeof e == "string" && /^var\(--.+\)$/.test(e), m = {
143
+ map: mapObject,
144
+ isCssFunction,
145
+ isCssVar,
146
+ isCssUnit
147
+ }, getPatternStyles = (e, t) => {
148
+ if (!e?.defaultValues) return t;
149
+ let n = typeof e.defaultValues == "function" ? e.defaultValues(t) : e.defaultValues;
150
+ return Object.assign({}, n, compact(t));
151
+ }, getSlotRecipes = (e = {}) => {
152
+ let init = (t) => ({
153
+ className: [e.className, t].filter(Boolean).join("__"),
154
+ base: e.base?.[t] ?? {},
155
+ variants: {},
156
+ defaultVariants: e.defaultVariants ?? {},
157
+ compoundVariants: e.compoundVariants ? getSlotCompoundVariant(e.compoundVariants, t) : []
158
+ }), t = (e.slots ?? []).map((e) => [e, init(e)]);
159
+ for (let [n, r] of Object.entries(e.variants ?? {})) for (let [e, i] of Object.entries(r)) t.forEach(([t, r]) => {
160
+ r.variants[n] ??= {}, r.variants[n][e] = i[t] ?? {};
161
+ });
162
+ return Object.fromEntries(t);
163
+ }, getSlotCompoundVariant = (e, t) => e.filter((e) => e.css[t]).map((e) => ({
164
+ ...e,
165
+ css: e.css[t]
166
+ }));
167
+ function splitProps(e, ...t) {
168
+ let n = Object.getOwnPropertyDescriptors(e), r = Object.keys(n), split = (e) => {
169
+ let t = {};
170
+ for (let r = 0; r < e.length; r++) {
171
+ let i = e[r];
172
+ n[i] && (Object.defineProperty(t, i, n[i]), delete n[i]);
173
+ }
174
+ return t;
175
+ }, fn = (e) => split(Array.isArray(e) ? e : r.filter(e));
176
+ return t.map(fn).concat(split(r));
177
+ }
178
+ var uniq = (...e) => {
179
+ let t = e.reduce((e, t) => (t && t.forEach((t) => e.add(t)), e), /* @__PURE__ */ new Set([]));
180
+ return Array.from(t);
181
+ }, h = [
182
+ "htmlSize",
183
+ "htmlTranslate",
184
+ "htmlWidth",
185
+ "htmlHeight"
186
+ ];
187
+ function convert(e) {
188
+ return h.includes(e) ? e.replace("html", "").toLowerCase() : e;
189
+ }
190
+ function normalizeHTMLProps(e) {
191
+ return Object.fromEntries(Object.entries(e).map(([e, t]) => [convert(e), t]));
192
+ }
193
+ normalizeHTMLProps.keys = h;
194
+ //#endregion
195
+ //#region styled-system/css/conditions.mjs
196
+ var g = new Set("_hover,_focus,_focusWithin,_focusVisible,_disabled,_active,_visited,_target,_readOnly,_readWrite,_empty,_checked,_enabled,_expanded,_highlighted,_complete,_incomplete,_dragging,_before,_after,_firstLetter,_firstLine,_marker,_selection,_file,_backdrop,_first,_last,_only,_even,_odd,_firstOfType,_lastOfType,_onlyOfType,_peerFocus,_peerHover,_peerActive,_peerFocusWithin,_peerFocusVisible,_peerDisabled,_peerChecked,_peerInvalid,_peerExpanded,_peerPlaceholderShown,_groupFocus,_groupHover,_groupActive,_groupFocusWithin,_groupFocusVisible,_groupDisabled,_groupChecked,_groupExpanded,_groupInvalid,_indeterminate,_required,_valid,_invalid,_autofill,_inRange,_outOfRange,_placeholder,_placeholderShown,_pressed,_selected,_grabbed,_underValue,_overValue,_atValue,_default,_optional,_open,_closed,_fullscreen,_loading,_hidden,_current,_currentPage,_currentStep,_today,_unavailable,_rangeStart,_rangeEnd,_now,_topmost,_motionReduce,_motionSafe,_print,_landscape,_portrait,_dark,_light,_osDark,_osLight,_highContrast,_lessContrast,_moreContrast,_ltr,_rtl,_scrollbar,_scrollbarThumb,_scrollbarTrack,_horizontal,_vertical,_icon,_starting,_noscript,_invertedColors,_shapeSizeXs,_shapeSizeSm,_shapeSizeMd,_shapeSizeLg,_shapeSizeXl,_shapeRectangle,_shapePerson,_shapeBrowser,_shapeMobile,_shapeCylinder,_shapeStorage,_shapeQueue,_shapeBucket,_shapeDocument,_shapeComponent,_notDisabled,_reduceGraphics,_reduceGraphicsOnPan,_noReduceGraphics,_whenPanning,_smallZoom,_compoundTransparent,_edgeActive,_whenHovered,_whenSelectable,_whenSelected,_whenDimmed,_whenFocused,xs,xsOnly,xsDown,sm,smOnly,smDown,md,mdOnly,mdDown,lg,lgOnly,lgDown,xl,xlOnly,xlDown,xsToSm,xsToMd,xsToLg,xsToXl,smToMd,smToLg,smToXl,mdToLg,mdToXl,lgToXl,@/xs,@/sm,@/md,@/lg,@likec4-root/xs,@likec4-root/sm,@likec4-root/md,@likec4-root/lg,@likec4-dialog/xs,@likec4-dialog/sm,@likec4-dialog/md,@likec4-dialog/lg,base".split(",")), ne = /^@|&|&$/;
197
+ function isCondition(e) {
198
+ return g.has(e) || ne.test(e);
199
+ }
200
+ var re = /^_/, ie = /&|@/;
201
+ function finalizeConditions(e) {
202
+ return e.map((e) => g.has(e) ? e.replace(re, "") : ie.test(e) ? `[${withoutSpace(e.trim())}]` : e);
203
+ }
204
+ function sortConditions(e) {
205
+ return e.sort((e, t) => {
206
+ let n = isCondition(e), r = isCondition(t);
207
+ return n && !r ? 1 : !n && r ? -1 : 0;
208
+ });
209
+ }
210
+ //#endregion
211
+ //#region styled-system/css/css.mjs
212
+ var ae = "aspectRatio:asp,boxDecorationBreak:bx-db,zIndex:z,boxSizing:bx-s,objectPosition:obj-p,objectFit:obj-f,overscrollBehavior:ovs-b,overscrollBehaviorX:ovs-bx,overscrollBehaviorY:ovs-by,position:pos/1,top:top,left:left,inset:inset,insetInline:inset-x/insetX,insetBlock:inset-y/insetY,insetBlockEnd:inset-be,insetBlockStart:inset-bs,insetInlineEnd:inset-e/insetEnd/end,insetInlineStart:inset-s/insetStart/start,right:right,bottom:bottom,float:float,visibility:vis,display:d,hideFrom:hide,hideBelow:show,flexBasis:flex-b,flex:flex,flexDirection:flex-d/flexDir,flexGrow:flex-g,flexShrink:flex-sh,gridTemplateColumns:grid-tc,gridTemplateRows:grid-tr,gridColumn:grid-c,gridRow:grid-r,gridColumnStart:grid-cs,gridColumnEnd:grid-ce,gridAutoFlow:grid-af,gridAutoColumns:grid-ac,gridAutoRows:grid-ar,gap:gap,gridGap:grid-g,gridRowGap:grid-rg,gridColumnGap:grid-cg,rowGap:rg,columnGap:cg,justifyContent:jc,alignContent:ac,alignItems:ai,alignSelf:as,padding:p/1,paddingLeft:pl/1,paddingRight:pr/1,paddingTop:pt/1,paddingBottom:pb/1,paddingBlock:py/1/paddingY,paddingBlockEnd:pbe,paddingBlockStart:pbs,paddingInline:px/paddingX/1,paddingInlineEnd:pe/1/paddingEnd,paddingInlineStart:ps/1/paddingStart,marginLeft:ml/1,marginRight:mr/1,marginTop:mt/1,marginBottom:mb/1,margin:m/1,marginBlock:my/1/marginY,marginBlockEnd:mbe,marginBlockStart:mbs,marginInline:mx/1/marginX,marginInlineEnd:me/1/marginEnd,marginInlineStart:ms/1/marginStart,spaceX:sx,spaceY:sy,outlineWidth:ring-w/ringWidth,outlineColor:ring-c/ringColor,outline:ring/1,outlineOffset:ring-o/ringOffset,focusRing:focus-ring,focusVisibleRing:focus-v-ring,focusRingColor:focus-ring-c,focusRingOffset:focus-ring-o,focusRingWidth:focus-ring-w,focusRingStyle:focus-ring-s,divideX:dvd-x,divideY:dvd-y,divideColor:dvd-c,divideStyle:dvd-s,width:w/1,inlineSize:w-is,minWidth:min-w/minW,minInlineSize:min-w-is,maxWidth:max-w/maxW,maxInlineSize:max-w-is,height:h/1,blockSize:h-bs,minHeight:min-h/minH,minBlockSize:min-h-bs,maxHeight:max-h/maxH,maxBlockSize:max-b,boxSize:size,color:c,fontFamily:ff,fontSize:fs,fontSizeAdjust:fs-a,fontPalette:fp,fontKerning:fk,fontFeatureSettings:ff-s,fontWeight:fw,fontSmoothing:fsmt,fontVariant:fv,fontVariantAlternates:fv-alt,fontVariantCaps:fv-caps,fontVariationSettings:fv-s,fontVariantNumeric:fv-num,letterSpacing:ls,lineHeight:lh,textAlign:ta,textDecoration:td,textDecorationColor:td-c,textEmphasisColor:te-c,textDecorationStyle:td-s,textDecorationThickness:td-t,textUnderlineOffset:tu-o,textTransform:tt,textIndent:ti,textShadow:tsh,textShadowColor:tsh-c/textShadowColor,WebkitTextFillColor:wktf-c,textOverflow:tov,verticalAlign:va,wordBreak:wb,textWrap:tw,truncate:trunc,lineClamp:lc,listStyleType:li-t,listStylePosition:li-pos,listStyleImage:li-img,listStyle:li-s,backgroundPosition:bg-p/bgPosition,backgroundPositionX:bg-p-x/bgPositionX,backgroundPositionY:bg-p-y/bgPositionY,backgroundAttachment:bg-a/bgAttachment,backgroundClip:bg-cp/bgClip,background:bg/1,backgroundColor:bg-c/bgColor,backgroundOrigin:bg-o/bgOrigin,backgroundImage:bg-i/bgImage,backgroundRepeat:bg-r/bgRepeat,backgroundBlendMode:bg-bm/bgBlendMode,backgroundSize:bg-s/bgSize,backgroundGradient:bg-grad/bgGradient,backgroundLinear:bg-linear/bgLinear,backgroundRadial:bg-radial/bgRadial,backgroundConic:bg-conic/bgConic,textGradient:txt-grad,gradientFromPosition:grad-from-pos,gradientToPosition:grad-to-pos,gradientFrom:grad-from,gradientTo:grad-to,gradientVia:grad-via,gradientViaPosition:grad-via-pos,borderRadius:bdr/rounded,borderTopLeftRadius:bdr-tl/roundedTopLeft,borderTopRightRadius:bdr-tr/roundedTopRight,borderBottomRightRadius:bdr-br/roundedBottomRight,borderBottomLeftRadius:bdr-bl/roundedBottomLeft,borderTopRadius:bdr-t/roundedTop,borderRightRadius:bdr-r/roundedRight,borderBottomRadius:bdr-b/roundedBottom,borderLeftRadius:bdr-l/roundedLeft,borderStartStartRadius:bdr-ss/roundedStartStart,borderStartEndRadius:bdr-se/roundedStartEnd,borderStartRadius:bdr-s/roundedStart,borderEndStartRadius:bdr-es/roundedEndStart,borderEndEndRadius:bdr-ee/roundedEndEnd,borderEndRadius:bdr-e/roundedEnd,border:bd,borderWidth:bd-w,borderTopWidth:bd-t-w,borderLeftWidth:bd-l-w,borderRightWidth:bd-r-w,borderBottomWidth:bd-b-w,borderBlockStartWidth:bd-bs-w,borderBlockEndWidth:bd-be-w,borderColor:bd-c,borderInline:bd-x/borderX,borderInlineWidth:bd-x-w/borderXWidth,borderInlineColor:bd-x-c/borderXColor,borderBlock:bd-y/borderY,borderBlockWidth:bd-y-w/borderYWidth,borderBlockColor:bd-y-c/borderYColor,borderLeft:bd-l,borderLeftColor:bd-l-c,borderInlineStart:bd-s/borderStart,borderInlineStartWidth:bd-s-w/borderStartWidth,borderInlineStartColor:bd-s-c/borderStartColor,borderRight:bd-r,borderRightColor:bd-r-c,borderInlineEnd:bd-e/borderEnd,borderInlineEndWidth:bd-e-w/borderEndWidth,borderInlineEndColor:bd-e-c/borderEndColor,borderTop:bd-t,borderTopColor:bd-t-c,borderBottom:bd-b,borderBottomColor:bd-b-c,borderBlockEnd:bd-be,borderBlockEndColor:bd-be-c,borderBlockStart:bd-bs,borderBlockStartColor:bd-bs-c,opacity:op,boxShadow:bx-sh/shadow,boxShadowColor:bx-sh-c/shadowColor,mixBlendMode:mix-bm,filter:filter,brightness:brightness,contrast:contrast,grayscale:grayscale,hueRotate:hue-rotate,invert:invert,saturate:saturate,sepia:sepia,dropShadow:drop-shadow,blur:blur,backdropFilter:bkdp,backdropBlur:bkdp-blur,backdropBrightness:bkdp-brightness,backdropContrast:bkdp-contrast,backdropGrayscale:bkdp-grayscale,backdropHueRotate:bkdp-hue-rotate,backdropInvert:bkdp-invert,backdropOpacity:bkdp-opacity,backdropSaturate:bkdp-saturate,backdropSepia:bkdp-sepia,borderCollapse:bd-cl,borderSpacing:bd-sp,borderSpacingX:bd-sx,borderSpacingY:bd-sy,tableLayout:tbl,transitionTimingFunction:trs-tmf,transitionDelay:trs-dly,transitionDuration:trs-dur,transitionProperty:trs-prop,transition:transition,animation:anim,animationName:anim-n,animationTimingFunction:anim-tmf,animationDuration:anim-dur,animationDelay:anim-dly,animationPlayState:anim-ps,animationComposition:anim-comp,animationFillMode:anim-fm,animationDirection:anim-dir,animationIterationCount:anim-ic,animationRange:anim-r,animationState:anim-s,animationRangeStart:anim-rs,animationRangeEnd:anim-re,animationTimeline:anim-tl,transformOrigin:trf-o,transformBox:trf-b,transformStyle:trf-s,transform:trf,rotate:rotate,rotateX:rotate-x,rotateY:rotate-y,rotateZ:rotate-z,scale:scale,scaleX:scale-x,scaleY:scale-y,translate:translate,translateX:translate-x/x,translateY:translate-y/y,translateZ:translate-z/z,accentColor:ac-c,caretColor:ca-c,scrollBehavior:scr-bhv,scrollbar:scr-bar,scrollbarColor:scr-bar-c,scrollbarGutter:scr-bar-g,scrollbarWidth:scr-bar-w,scrollMargin:scr-m,scrollMarginLeft:scr-ml,scrollMarginRight:scr-mr,scrollMarginTop:scr-mt,scrollMarginBottom:scr-mb,scrollMarginBlock:scr-my/scrollMarginY,scrollMarginBlockEnd:scr-mbe,scrollMarginBlockStart:scr-mbt,scrollMarginInline:scr-mx/scrollMarginX,scrollMarginInlineEnd:scr-me,scrollMarginInlineStart:scr-ms,scrollPadding:scr-p,scrollPaddingBlock:scr-py/scrollPaddingY,scrollPaddingBlockStart:scr-pbs,scrollPaddingBlockEnd:scr-pbe,scrollPaddingInline:scr-px/scrollPaddingX,scrollPaddingInlineEnd:scr-pe,scrollPaddingInlineStart:scr-ps,scrollPaddingLeft:scr-pl,scrollPaddingRight:scr-pr,scrollPaddingTop:scr-pt,scrollPaddingBottom:scr-pb,scrollSnapAlign:scr-sa,scrollSnapStop:scrs-s,scrollSnapType:scrs-t,scrollSnapStrictness:scrs-strt,scrollSnapMargin:scrs-m,scrollSnapMarginTop:scrs-mt,scrollSnapMarginBottom:scrs-mb,scrollSnapMarginLeft:scrs-ml,scrollSnapMarginRight:scrs-mr,scrollSnapCoordinate:scrs-c,scrollSnapDestination:scrs-d,scrollSnapPointsX:scrs-px,scrollSnapPointsY:scrs-py,scrollSnapTypeX:scrs-tx,scrollSnapTypeY:scrs-ty,scrollTimeline:scrtl,scrollTimelineAxis:scrtl-a,scrollTimelineName:scrtl-n,touchAction:tch-a,userSelect:us,overflow:ov,overflowWrap:ov-wrap,overflowX:ov-x,overflowY:ov-y,overflowAnchor:ov-a,overflowBlock:ov-b,overflowInline:ov-i,overflowClipBox:ovcp-bx,overflowClipMargin:ovcp-m,overscrollBehaviorBlock:ovs-bb,overscrollBehaviorInline:ovs-bi,fill:fill,stroke:stk,strokeWidth:stk-w,strokeDasharray:stk-dsh,strokeDashoffset:stk-do,strokeLinecap:stk-lc,strokeLinejoin:stk-lj,strokeMiterlimit:stk-ml,strokeOpacity:stk-op,srOnly:sr,debug:debug,appearance:ap,backfaceVisibility:bfv,clipPath:cp-path,hyphens:hy,mask:msk,maskImage:msk-i,maskSize:msk-s,textSizeAdjust:txt-adj,container:cq,containerName:cq-n,containerType:cq-t,cursor:cursor,textStyle:textStyle,layerStyle:layerStyle,animationStyle:animationStyle", _ = /* @__PURE__ */ new Map(), v = /* @__PURE__ */ new Map();
213
+ ae.split(",").forEach((e) => {
214
+ let [t, n] = e.split(":"), [r, ...i] = n.split("/");
215
+ _.set(t, r), i.length && i.forEach((e) => {
216
+ v.set(e === "1" ? r : e, t);
217
+ });
218
+ });
219
+ var resolveShorthand = (e) => v.get(e) || e, oe = {
220
+ conditions: {
221
+ shift: sortConditions,
222
+ finalize: finalizeConditions,
223
+ breakpoints: { keys: [
224
+ "base",
225
+ "xs",
226
+ "sm",
227
+ "md",
228
+ "lg",
229
+ "xl"
230
+ ] }
231
+ },
232
+ utility: {
233
+ transform: (e, t) => {
234
+ let n = resolveShorthand(e);
235
+ return { className: `${_.get(n) || f(n)}_${withoutSpace(t)}` };
236
+ },
237
+ hasShorthand: !0,
238
+ toHash: (e, t) => t(e.join(":")),
239
+ resolveShorthand
240
+ }
241
+ }, se = createCss(oe), css = (...e) => se(y(...e));
242
+ css.raw = (...e) => y(...e);
243
+ var { mergeCss: y, assignCss: ce } = createMergeCss(oe);
244
+ //#endregion
245
+ //#region styled-system/css/cx.mjs
246
+ function cx() {
247
+ let e = "", t = 0, n;
248
+ for (; t < arguments.length;) (n = arguments[t++]) && typeof n == "string" && (e && (e += " "), e += n);
249
+ return e;
250
+ }
251
+ //#endregion
252
+ //#region styled-system/css/cva.mjs
253
+ var defaults = (e) => ({
254
+ base: {},
255
+ variants: {},
256
+ defaultVariants: {},
257
+ compoundVariants: [],
258
+ ...e
259
+ });
260
+ function cva(e) {
261
+ let { base: t, variants: n, defaultVariants: r, compoundVariants: i } = defaults(e), getVariantProps = (e) => ({
262
+ ...r,
263
+ ...compact(e)
264
+ });
265
+ function resolve(e = {}) {
266
+ let r = getVariantProps(e), a = { ...t };
267
+ for (let [e, t] of Object.entries(r)) n[e]?.[t] && (a = y(a, n[e][t]));
268
+ let o = getCompoundVariantCss(i, r);
269
+ return y(a, o);
270
+ }
271
+ function merge(e) {
272
+ let a = defaults(e.config), o = uniq(e.variantKeys, Object.keys(n));
273
+ return cva({
274
+ base: y(t, a.base),
275
+ variants: Object.fromEntries(o.map((e) => [e, y(n[e], a.variants[e])])),
276
+ defaultVariants: mergeProps(r, a.defaultVariants),
277
+ compoundVariants: [...i, ...a.compoundVariants]
278
+ });
279
+ }
280
+ function cvaFn(e) {
281
+ return css(resolve(e));
282
+ }
283
+ let a = Object.keys(n);
284
+ function splitVariantProps(e) {
285
+ return splitProps(e, a);
286
+ }
287
+ let o = Object.fromEntries(Object.entries(n).map(([e, t]) => [e, Object.keys(t)]));
288
+ return Object.assign(s(cvaFn), {
289
+ __cva__: !0,
290
+ variantMap: o,
291
+ variantKeys: a,
292
+ raw: resolve,
293
+ config: e,
294
+ merge,
295
+ splitVariantProps,
296
+ getVariantProps
297
+ });
298
+ }
299
+ function getCompoundVariantCss(e, t) {
300
+ let n = {};
301
+ return e.forEach((e) => {
302
+ Object.entries(e).every(([e, n]) => e === "css" ? !0 : (Array.isArray(n) ? n : [n]).some((n) => t[e] === n)) && (n = y(n, e.css));
303
+ }), n;
304
+ }
305
+ function assertCompoundVariant(e, t, n, r) {
306
+ if (t.length > 0 && typeof n?.[r] == "object") throw Error(`[recipe:${e}:${r}] Conditions are not supported when using compound variants.`);
307
+ }
308
+ //#endregion
309
+ //#region styled-system/css/sva.mjs
310
+ function sva(e) {
311
+ let t = Object.entries(getSlotRecipes(e)).map(([e, t]) => [e, cva(t)]), n = e.defaultVariants ?? {}, r = t.reduce((t, [n, r]) => (e.className && (t[n] = r.config.className), t), {});
312
+ function svaFn(e) {
313
+ let n = t.map(([t, n]) => [t, cx(n(e), r[t])]);
314
+ return Object.fromEntries(n);
315
+ }
316
+ function raw(e) {
317
+ let n = t.map(([t, n]) => [t, n.raw(e)]);
318
+ return Object.fromEntries(n);
319
+ }
320
+ let i = e.variants ?? {}, a = Object.keys(i);
321
+ function splitVariantProps(e) {
322
+ return splitProps(e, a);
323
+ }
324
+ let getVariantProps = (e) => ({
325
+ ...n,
326
+ ...compact(e)
327
+ }), o = Object.fromEntries(Object.entries(i).map(([e, t]) => [e, Object.keys(t)]));
328
+ return Object.assign(s(svaFn), {
329
+ __cva__: !1,
330
+ raw,
331
+ config: e,
332
+ variantMap: o,
333
+ variantKeys: a,
334
+ classNameMap: r,
335
+ splitVariantProps,
336
+ getVariantProps
337
+ });
338
+ }
339
+ //#endregion
340
+ //#region styled-system/jsx/is-valid-prop.mjs
341
+ var le = "css,pos,insetX,insetY,insetEnd,end,insetStart,start,flexDir,p,pl,pr,pt,pb,py,paddingY,paddingX,px,pe,paddingEnd,ps,paddingStart,ml,mr,mt,mb,m,my,marginY,mx,marginX,me,marginEnd,ms,marginStart,ringWidth,ringColor,ring,ringOffset,w,minW,maxW,h,minH,maxH,textShadowColor,bgPosition,bgPositionX,bgPositionY,bgAttachment,bgClip,bg,bgColor,bgOrigin,bgImage,bgRepeat,bgBlendMode,bgSize,bgGradient,bgLinear,bgRadial,bgConic,rounded,roundedTopLeft,roundedTopRight,roundedBottomRight,roundedBottomLeft,roundedTop,roundedRight,roundedBottom,roundedLeft,roundedStartStart,roundedStartEnd,roundedStart,roundedEndStart,roundedEndEnd,roundedEnd,borderX,borderXWidth,borderXColor,borderY,borderYWidth,borderYColor,borderStart,borderStartWidth,borderStartColor,borderEnd,borderEndWidth,borderEndColor,shadow,shadowColor,x,y,z,scrollMarginY,scrollMarginX,scrollPaddingY,scrollPaddingX,aspectRatio,boxDecorationBreak,zIndex,boxSizing,objectPosition,objectFit,overscrollBehavior,overscrollBehaviorX,overscrollBehaviorY,position,top,left,inset,insetInline,insetBlock,insetBlockEnd,insetBlockStart,insetInlineEnd,insetInlineStart,right,bottom,float,visibility,display,hideFrom,hideBelow,flexBasis,flex,flexDirection,flexGrow,flexShrink,gridTemplateColumns,gridTemplateRows,gridColumn,gridRow,gridColumnStart,gridColumnEnd,gridAutoFlow,gridAutoColumns,gridAutoRows,gap,gridGap,gridRowGap,gridColumnGap,rowGap,columnGap,justifyContent,alignContent,alignItems,alignSelf,padding,paddingLeft,paddingRight,paddingTop,paddingBottom,paddingBlock,paddingBlockEnd,paddingBlockStart,paddingInline,paddingInlineEnd,paddingInlineStart,marginLeft,marginRight,marginTop,marginBottom,margin,marginBlock,marginBlockEnd,marginBlockStart,marginInline,marginInlineEnd,marginInlineStart,spaceX,spaceY,outlineWidth,outlineColor,outline,outlineOffset,focusRing,focusVisibleRing,focusRingColor,focusRingOffset,focusRingWidth,focusRingStyle,divideX,divideY,divideColor,divideStyle,width,inlineSize,minWidth,minInlineSize,maxWidth,maxInlineSize,height,blockSize,minHeight,minBlockSize,maxHeight,maxBlockSize,boxSize,color,fontFamily,fontSize,fontSizeAdjust,fontPalette,fontKerning,fontFeatureSettings,fontWeight,fontSmoothing,fontVariant,fontVariantAlternates,fontVariantCaps,fontVariationSettings,fontVariantNumeric,letterSpacing,lineHeight,textAlign,textDecoration,textDecorationColor,textEmphasisColor,textDecorationStyle,textDecorationThickness,textUnderlineOffset,textTransform,textIndent,textShadow,WebkitTextFillColor,textOverflow,verticalAlign,wordBreak,textWrap,truncate,lineClamp,listStyleType,listStylePosition,listStyleImage,listStyle,backgroundPosition,backgroundPositionX,backgroundPositionY,backgroundAttachment,backgroundClip,background,backgroundColor,backgroundOrigin,backgroundImage,backgroundRepeat,backgroundBlendMode,backgroundSize,backgroundGradient,backgroundLinear,backgroundRadial,backgroundConic,textGradient,gradientFromPosition,gradientToPosition,gradientFrom,gradientTo,gradientVia,gradientViaPosition,borderRadius,borderTopLeftRadius,borderTopRightRadius,borderBottomRightRadius,borderBottomLeftRadius,borderTopRadius,borderRightRadius,borderBottomRadius,borderLeftRadius,borderStartStartRadius,borderStartEndRadius,borderStartRadius,borderEndStartRadius,borderEndEndRadius,borderEndRadius,border,borderWidth,borderTopWidth,borderLeftWidth,borderRightWidth,borderBottomWidth,borderBlockStartWidth,borderBlockEndWidth,borderColor,borderInline,borderInlineWidth,borderInlineColor,borderBlock,borderBlockWidth,borderBlockColor,borderLeft,borderLeftColor,borderInlineStart,borderInlineStartWidth,borderInlineStartColor,borderRight,borderRightColor,borderInlineEnd,borderInlineEndWidth,borderInlineEndColor,borderTop,borderTopColor,borderBottom,borderBottomColor,borderBlockEnd,borderBlockEndColor,borderBlockStart,borderBlockStartColor,opacity,boxShadow,boxShadowColor,mixBlendMode,filter,brightness,contrast,grayscale,hueRotate,invert,saturate,sepia,dropShadow,blur,backdropFilter,backdropBlur,backdropBrightness,backdropContrast,backdropGrayscale,backdropHueRotate,backdropInvert,backdropOpacity,backdropSaturate,backdropSepia,borderCollapse,borderSpacing,borderSpacingX,borderSpacingY,tableLayout,transitionTimingFunction,transitionDelay,transitionDuration,transitionProperty,transition,animation,animationName,animationTimingFunction,animationDuration,animationDelay,animationPlayState,animationComposition,animationFillMode,animationDirection,animationIterationCount,animationRange,animationState,animationRangeStart,animationRangeEnd,animationTimeline,transformOrigin,transformBox,transformStyle,transform,rotate,rotateX,rotateY,rotateZ,scale,scaleX,scaleY,translate,translateX,translateY,translateZ,accentColor,caretColor,scrollBehavior,scrollbar,scrollbarColor,scrollbarGutter,scrollbarWidth,scrollMargin,scrollMarginLeft,scrollMarginRight,scrollMarginTop,scrollMarginBottom,scrollMarginBlock,scrollMarginBlockEnd,scrollMarginBlockStart,scrollMarginInline,scrollMarginInlineEnd,scrollMarginInlineStart,scrollPadding,scrollPaddingBlock,scrollPaddingBlockStart,scrollPaddingBlockEnd,scrollPaddingInline,scrollPaddingInlineEnd,scrollPaddingInlineStart,scrollPaddingLeft,scrollPaddingRight,scrollPaddingTop,scrollPaddingBottom,scrollSnapAlign,scrollSnapStop,scrollSnapType,scrollSnapStrictness,scrollSnapMargin,scrollSnapMarginTop,scrollSnapMarginBottom,scrollSnapMarginLeft,scrollSnapMarginRight,scrollSnapCoordinate,scrollSnapDestination,scrollSnapPointsX,scrollSnapPointsY,scrollSnapTypeX,scrollSnapTypeY,scrollTimeline,scrollTimelineAxis,scrollTimelineName,touchAction,userSelect,overflow,overflowWrap,overflowX,overflowY,overflowAnchor,overflowBlock,overflowInline,overflowClipBox,overflowClipMargin,overscrollBehaviorBlock,overscrollBehaviorInline,fill,stroke,strokeWidth,strokeDasharray,strokeDashoffset,strokeLinecap,strokeLinejoin,strokeMiterlimit,strokeOpacity,srOnly,debug,appearance,backfaceVisibility,clipPath,hyphens,mask,maskImage,maskSize,textSizeAdjust,container,containerName,containerType,cursor,colorPalette,_hover,_focus,_focusWithin,_focusVisible,_disabled,_active,_visited,_target,_readOnly,_readWrite,_empty,_checked,_enabled,_expanded,_highlighted,_complete,_incomplete,_dragging,_before,_after,_firstLetter,_firstLine,_marker,_selection,_file,_backdrop,_first,_last,_only,_even,_odd,_firstOfType,_lastOfType,_onlyOfType,_peerFocus,_peerHover,_peerActive,_peerFocusWithin,_peerFocusVisible,_peerDisabled,_peerChecked,_peerInvalid,_peerExpanded,_peerPlaceholderShown,_groupFocus,_groupHover,_groupActive,_groupFocusWithin,_groupFocusVisible,_groupDisabled,_groupChecked,_groupExpanded,_groupInvalid,_indeterminate,_required,_valid,_invalid,_autofill,_inRange,_outOfRange,_placeholder,_placeholderShown,_pressed,_selected,_grabbed,_underValue,_overValue,_atValue,_default,_optional,_open,_closed,_fullscreen,_loading,_hidden,_current,_currentPage,_currentStep,_today,_unavailable,_rangeStart,_rangeEnd,_now,_topmost,_motionReduce,_motionSafe,_print,_landscape,_portrait,_dark,_light,_osDark,_osLight,_highContrast,_lessContrast,_moreContrast,_ltr,_rtl,_scrollbar,_scrollbarThumb,_scrollbarTrack,_horizontal,_vertical,_icon,_starting,_noscript,_invertedColors,_shapeSizeXs,_shapeSizeSm,_shapeSizeMd,_shapeSizeLg,_shapeSizeXl,_shapeRectangle,_shapePerson,_shapeBrowser,_shapeMobile,_shapeCylinder,_shapeStorage,_shapeQueue,_shapeBucket,_shapeDocument,_shapeComponent,_notDisabled,_reduceGraphics,_reduceGraphicsOnPan,_noReduceGraphics,_whenPanning,_smallZoom,_compoundTransparent,_edgeActive,_whenHovered,_whenSelectable,_whenSelected,_whenDimmed,_whenFocused,xs,xsOnly,xsDown,sm,smOnly,smDown,md,mdOnly,mdDown,lg,lgOnly,lgDown,xl,xlOnly,xlDown,xsToSm,xsToMd,xsToLg,xsToXl,smToMd,smToLg,smToXl,mdToLg,mdToXl,lgToXl,@/xs,@/sm,@/md,@/lg,@likec4-root/xs,@likec4-root/sm,@likec4-root/md,@likec4-root/lg,@likec4-dialog/xs,@likec4-dialog/sm,@likec4-dialog/md,@likec4-dialog/lg,textStyle,layerStyle,animationStyle".split(","), ue = "WebkitAppearance,WebkitBorderBefore,WebkitBorderBeforeColor,WebkitBorderBeforeStyle,WebkitBorderBeforeWidth,WebkitBoxReflect,WebkitLineClamp,WebkitMask,WebkitMaskAttachment,WebkitMaskClip,WebkitMaskComposite,WebkitMaskImage,WebkitMaskOrigin,WebkitMaskPosition,WebkitMaskPositionX,WebkitMaskPositionY,WebkitMaskRepeat,WebkitMaskRepeatX,WebkitMaskRepeatY,WebkitMaskSize,WebkitOverflowScrolling,WebkitTapHighlightColor,WebkitTextFillColor,WebkitTextStroke,WebkitTextStrokeColor,WebkitTextStrokeWidth,WebkitTouchCallout,WebkitUserModify,WebkitUserSelect,accentColor,alignContent,alignItems,alignSelf,alignTracks,all,anchorName,anchorScope,animation,animationComposition,animationDelay,animationDirection,animationDuration,animationFillMode,animationIterationCount,animationName,animationPlayState,animationRange,animationRangeEnd,animationRangeStart,animationTimeline,animationTimingFunction,appearance,aspectRatio,backdropFilter,backfaceVisibility,background,backgroundAttachment,backgroundBlendMode,backgroundClip,backgroundColor,backgroundImage,backgroundOrigin,backgroundPosition,backgroundPositionX,backgroundPositionY,backgroundRepeat,backgroundSize,blockSize,border,borderBlock,borderBlockColor,borderBlockEnd,borderBlockEndColor,borderBlockEndStyle,borderBlockEndWidth,borderBlockStart,borderBlockStartColor,borderBlockStartStyle,borderBlockStartWidth,borderBlockStyle,borderBlockWidth,borderBottom,borderBottomColor,borderBottomLeftRadius,borderBottomRightRadius,borderBottomStyle,borderBottomWidth,borderCollapse,borderColor,borderEndEndRadius,borderEndStartRadius,borderImage,borderImageOutset,borderImageRepeat,borderImageSlice,borderImageSource,borderImageWidth,borderInline,borderInlineColor,borderInlineEnd,borderInlineEndColor,borderInlineEndStyle,borderInlineEndWidth,borderInlineStart,borderInlineStartColor,borderInlineStartStyle,borderInlineStartWidth,borderInlineStyle,borderInlineWidth,borderLeft,borderLeftColor,borderLeftStyle,borderLeftWidth,borderRadius,borderRight,borderRightColor,borderRightStyle,borderRightWidth,borderSpacing,borderStartEndRadius,borderStartStartRadius,borderStyle,borderTop,borderTopColor,borderTopLeftRadius,borderTopRightRadius,borderTopStyle,borderTopWidth,borderWidth,bottom,boxAlign,boxDecorationBreak,boxDirection,boxFlex,boxFlexGroup,boxLines,boxOrdinalGroup,boxOrient,boxPack,boxShadow,boxSizing,breakAfter,breakBefore,breakInside,captionSide,caret,caretColor,caretShape,clear,clip,clipPath,clipRule,color,colorInterpolationFilters,colorScheme,columnCount,columnFill,columnGap,columnRule,columnRuleColor,columnRuleStyle,columnRuleWidth,columnSpan,columnWidth,columns,contain,containIntrinsicBlockSize,containIntrinsicHeight,containIntrinsicInlineSize,containIntrinsicSize,containIntrinsicWidth,container,containerName,containerType,content,contentVisibility,cornerShape,counterIncrement,counterReset,counterSet,cursor,cx,cy,d,direction,display,dominantBaseline,emptyCells,fieldSizing,fill,fillOpacity,fillRule,filter,flex,flexBasis,flexDirection,flexFlow,flexGrow,flexShrink,flexWrap,float,floodColor,floodOpacity,font,fontFamily,fontFeatureSettings,fontKerning,fontLanguageOverride,fontOpticalSizing,fontPalette,fontSize,fontSizeAdjust,fontSmooth,fontStretch,fontStyle,fontSynthesis,fontSynthesisPosition,fontSynthesisSmallCaps,fontSynthesisStyle,fontSynthesisWeight,fontVariant,fontVariantAlternates,fontVariantCaps,fontVariantEastAsian,fontVariantEmoji,fontVariantLigatures,fontVariantNumeric,fontVariantPosition,fontVariationSettings,fontWeight,forcedColorAdjust,gap,grid,gridArea,gridAutoColumns,gridAutoFlow,gridAutoRows,gridColumn,gridColumnEnd,gridColumnGap,gridColumnStart,gridGap,gridRow,gridRowEnd,gridRowGap,gridRowStart,gridTemplate,gridTemplateAreas,gridTemplateColumns,gridTemplateRows,hangingPunctuation,height,hyphenateCharacter,hyphenateLimitChars,hyphens,imageOrientation,imageRendering,imageResolution,imeMode,initialLetter,initialLetterAlign,inlineSize,inset,insetBlock,insetBlockEnd,insetBlockStart,insetInline,insetInlineEnd,insetInlineStart,interpolateSize,isolation,justifyContent,justifyItems,justifySelf,justifyTracks,left,letterSpacing,lightingColor,lineBreak,lineClamp,lineHeight,lineHeightStep,listStyle,listStyleImage,listStylePosition,listStyleType,margin,marginBlock,marginBlockEnd,marginBlockStart,marginBottom,marginInline,marginInlineEnd,marginInlineStart,marginLeft,marginRight,marginTop,marginTrim,marker,markerEnd,markerMid,markerStart,mask,maskBorder,maskBorderMode,maskBorderOutset,maskBorderRepeat,maskBorderSlice,maskBorderSource,maskBorderWidth,maskClip,maskComposite,maskImage,maskMode,maskOrigin,maskPosition,maskRepeat,maskSize,maskType,masonryAutoFlow,mathDepth,mathShift,mathStyle,maxBlockSize,maxHeight,maxInlineSize,maxLines,maxWidth,minBlockSize,minHeight,minInlineSize,minWidth,mixBlendMode,objectFit,objectPosition,offset,offsetAnchor,offsetDistance,offsetPath,offsetPosition,offsetRotate,opacity,order,orphans,outline,outlineColor,outlineOffset,outlineStyle,outlineWidth,overflow,overflowAnchor,overflowBlock,overflowClipBox,overflowClipMargin,overflowInline,overflowWrap,overflowX,overflowY,overlay,overscrollBehavior,overscrollBehaviorBlock,overscrollBehaviorInline,overscrollBehaviorX,overscrollBehaviorY,padding,paddingBlock,paddingBlockEnd,paddingBlockStart,paddingBottom,paddingInline,paddingInlineEnd,paddingInlineStart,paddingLeft,paddingRight,paddingTop,page,pageBreakAfter,pageBreakBefore,pageBreakInside,paintOrder,perspective,perspectiveOrigin,placeContent,placeItems,placeSelf,pointerEvents,position,positionAnchor,positionArea,positionTry,positionTryFallbacks,positionTryOrder,positionVisibility,printColorAdjust,quotes,r,resize,right,rotate,rowGap,rubyAlign,rubyMerge,rubyPosition,rx,ry,scale,scrollBehavior,scrollMargin,scrollMarginBlock,scrollMarginBlockEnd,scrollMarginBlockStart,scrollMarginBottom,scrollMarginInline,scrollMarginInlineEnd,scrollMarginInlineStart,scrollMarginLeft,scrollMarginRight,scrollMarginTop,scrollPadding,scrollPaddingBlock,scrollPaddingBlockEnd,scrollPaddingBlockStart,scrollPaddingBottom,scrollPaddingInline,scrollPaddingInlineEnd,scrollPaddingInlineStart,scrollPaddingLeft,scrollPaddingRight,scrollPaddingTop,scrollSnapAlign,scrollSnapCoordinate,scrollSnapDestination,scrollSnapPointsX,scrollSnapPointsY,scrollSnapStop,scrollSnapType,scrollSnapTypeX,scrollSnapTypeY,scrollTimeline,scrollTimelineAxis,scrollTimelineName,scrollbarColor,scrollbarGutter,scrollbarWidth,shapeImageThreshold,shapeMargin,shapeOutside,shapeRendering,stopColor,stopOpacity,stroke,strokeDasharray,strokeDashoffset,strokeLinecap,strokeLinejoin,strokeMiterlimit,strokeOpacity,strokeWidth,tabSize,tableLayout,textAlign,textAlignLast,textAnchor,textBox,textBoxEdge,textBoxTrim,textCombineUpright,textDecoration,textDecorationColor,textDecorationLine,textDecorationSkip,textDecorationSkipInk,textDecorationStyle,textDecorationThickness,textEmphasis,textEmphasisColor,textEmphasisPosition,textEmphasisStyle,textIndent,textJustify,textOrientation,textOverflow,textRendering,textShadow,textSizeAdjust,textSpacingTrim,textTransform,textUnderlineOffset,textUnderlinePosition,textWrap,textWrapMode,textWrapStyle,timelineScope,top,touchAction,transform,transformBox,transformOrigin,transformStyle,transition,transitionBehavior,transitionDelay,transitionDuration,transitionProperty,transitionTimingFunction,translate,unicodeBidi,userSelect,vectorEffect,verticalAlign,viewTimeline,viewTimelineAxis,viewTimelineInset,viewTimelineName,viewTransitionName,visibility,whiteSpace,whiteSpaceCollapse,widows,width,willChange,wordBreak,wordSpacing,wordWrap,writingMode,x,y,zIndex,zoom,alignmentBaseline,baselineShift,colorInterpolation,colorRendering,glyphOrientationVertical".split(",").concat(le), de = new Map(ue.map((e) => [e, !0])), fe = /&|@/, b = /* @__PURE__ */ s((e) => de.has(e) || e.startsWith("--") || fe.test(e)), defaultShouldForwardProp = (e, t) => !t.includes(e) && !b(e), composeShouldForwardProps = (e, t) => e.__shouldForwardProps__ && t ? (n) => e.__shouldForwardProps__(n) && t(n) : t, composeCvaFn = (e, t) => {
342
+ if (e && !t) return e;
343
+ if (!e && t) return t;
344
+ if (e.__cva__ && t.__cva__ || e.__recipe__ && t.__recipe__) return e.merge(t);
345
+ let n = /* @__PURE__ */ TypeError("Cannot merge cva with recipe. Please use either cva or recipe.");
346
+ throw TypeError.captureStackTrace?.(n), n;
347
+ }, getDisplayName = (e) => typeof e == "string" ? e : e?.displayName || e?.name || "Component";
348
+ //#endregion
349
+ //#region styled-system/jsx/factory.mjs
350
+ function styledFn(e, t = {}, i = {}) {
351
+ let o = t.__cva__ || t.__recipe__ ? t : cva(t), s = i.shouldForwardProp || defaultShouldForwardProp, shouldForwardProp = (e) => i.forwardProps?.includes(e) ? !0 : s(e, o.variantKeys), c = Object.assign(i.dataAttr && t.__name__ ? { "data-recipe": t.__name__ } : {}, i.defaultProps), l = composeCvaFn(e.__cva__, o), u = composeShouldForwardProps(e, shouldForwardProp), d = e.__base__ || e, f = /* @__PURE__ */ r(function StyledComponent(e, r) {
352
+ let { as: i = d, unstyled: o, children: s, ...f } = e, p = a(() => Object.assign({}, c, f), [f]), [ee, te, m, h, g] = a(() => splitProps(p, normalizeHTMLProps.keys, u, l.variantKeys, b), [p]);
353
+ function recipeClass() {
354
+ let { css: e, ...t } = h, n = l.__getCompoundVariantCss__?.(m);
355
+ return cx(l(m, !1), css(n, t, e), p.className);
356
+ }
357
+ function cvaClass() {
358
+ let { css: e, ...t } = h;
359
+ return cx(css(l.raw(m), t, e), p.className);
360
+ }
361
+ let classes = () => {
362
+ if (o) {
363
+ let { css: e, ...t } = h;
364
+ return cx(css(t, e), p.className);
365
+ }
366
+ return t.__recipe__ ? recipeClass() : cvaClass();
367
+ };
368
+ return n(i, {
369
+ ref: r,
370
+ ...te,
371
+ ...g,
372
+ ...normalizeHTMLProps(ee),
373
+ className: classes()
374
+ }, s ?? p.children);
375
+ });
376
+ return f.displayName = `styled.${getDisplayName(d)}`, f.__cva__ = l, f.__base__ = d, f.__shouldForwardProps__ = shouldForwardProp, f;
377
+ }
378
+ function createJsxFactory() {
379
+ let e = /* @__PURE__ */ new Map();
380
+ return new Proxy(styledFn, {
381
+ apply(e, t, n) {
382
+ return styledFn(...n);
383
+ },
384
+ get(t, n) {
385
+ return e.has(n) || e.set(n, styledFn(n)), e.get(n);
386
+ }
387
+ });
388
+ }
389
+ var x = /* @__PURE__ */ createJsxFactory();
390
+ //#endregion
391
+ //#region styled-system/jsx/create-style-context.mjs
392
+ function createSafeContext(e) {
393
+ let n = t(void 0), useStyleContext = (t, r) => {
394
+ let a = i(n);
395
+ if (a === void 0) {
396
+ let n = t ? `Component "${t}"` : "A component", i = r ? ` (slot: "${r}")` : "";
397
+ throw Error(`${n}${i} cannot access ${e} because it's missing its Provider.`);
398
+ }
399
+ return a;
400
+ };
401
+ return [n, useStyleContext];
402
+ }
403
+ function createStyleContext(e) {
404
+ let t = "__recipe__" in e, i = t && e.__name__ ? e.__name__ : void 0, [a, o] = createSafeContext(i ? `createStyleContext("${i}")` : "createStyleContext"), s = t ? e : sva(e.config), getResolvedProps = (e, n) => {
405
+ let { unstyled: r, ...i } = e;
406
+ return r ? i : t ? {
407
+ ...i,
408
+ className: cx(n, i.className)
409
+ } : {
410
+ ...n,
411
+ ...i
412
+ };
413
+ }, withRootProvider = (e, r) => {
414
+ let WithRootProvider = (i) => {
415
+ let [o, c] = s.splitVariantProps(i), l = t ? s(o) : s.raw(o);
416
+ l._classNameMap = s.classNameMap;
417
+ let u = r?.defaultProps ? {
418
+ ...r.defaultProps,
419
+ ...c
420
+ } : c;
421
+ return n(a.Provider, {
422
+ value: l,
423
+ children: n(e, u)
424
+ });
425
+ };
426
+ return WithRootProvider.displayName = `withRootProvider(${getDisplayName(e)})`, WithRootProvider;
427
+ }, withProvider = (e, i, o) => {
428
+ let c = x(e, {}, o), l = r((e, r) => {
429
+ let [l, u] = s.splitVariantProps(e);
430
+ o?.forwardProps?.forEach((e) => {
431
+ e in l && (u[e] = l[e]);
432
+ });
433
+ let d = t ? s(l) : s.raw(l);
434
+ d._classNameMap = s.classNameMap;
435
+ let f = {
436
+ ...u,
437
+ className: u.className ?? o?.defaultProps?.className
438
+ }, p = getResolvedProps(f, d[i]);
439
+ return n(a.Provider, {
440
+ value: d,
441
+ children: n(c, {
442
+ ...p,
443
+ className: cx(p.className, d._classNameMap[i]),
444
+ ref: r
445
+ })
446
+ });
447
+ });
448
+ return l.displayName = `withProvider(${getDisplayName(e)})`, l;
449
+ }, withContext = (e, t, i) => {
450
+ let a = x(e, {}, i), s = getDisplayName(e), c = r((e, r) => {
451
+ let c = o(s, t), l = {
452
+ ...e,
453
+ className: e.className ?? i?.defaultProps?.className
454
+ }, u = getResolvedProps(l, c[t]);
455
+ return n(a, {
456
+ ...u,
457
+ className: cx(u.className, c._classNameMap[t]),
458
+ ref: r
459
+ });
460
+ });
461
+ return c.displayName = `withContext(${s})`, c;
462
+ };
463
+ return {
464
+ withRootProvider,
465
+ withProvider,
466
+ withContext
467
+ };
468
+ }
469
+ //#endregion
470
+ //#region styled-system/patterns/box.mjs
471
+ var S = { transform(e) {
472
+ return e;
473
+ } }, getBoxStyle = (e = {}) => {
474
+ let t = getPatternStyles(S, e);
475
+ return S.transform(t, m);
476
+ }, box = (e) => css(getBoxStyle(e));
477
+ box.raw = getBoxStyle;
478
+ //#endregion
479
+ //#region styled-system/jsx/box.mjs
480
+ var pe = /* @__PURE__ */ r(function Box(e, t) {
481
+ let [r, i] = splitProps(e, []), a = {
482
+ ref: t,
483
+ ...getBoxStyle(r),
484
+ ...i
485
+ };
486
+ return n(x.div, a);
487
+ }), C = { transform(e) {
488
+ let { direction: t, align: n, justify: r, wrap: i, basis: a, grow: o, shrink: s, ...c } = e;
489
+ return {
490
+ display: "flex",
491
+ flexDirection: t,
492
+ alignItems: n,
493
+ justifyContent: r,
494
+ flexWrap: i,
495
+ flexBasis: a,
496
+ flexGrow: o,
497
+ flexShrink: s,
498
+ ...c
499
+ };
500
+ } }, getFlexStyle = (e = {}) => {
501
+ let t = getPatternStyles(C, e);
502
+ return C.transform(t, m);
503
+ }, flex = (e) => css(getFlexStyle(e));
504
+ flex.raw = getFlexStyle;
505
+ //#endregion
506
+ //#region styled-system/jsx/flex.mjs
507
+ var me = /* @__PURE__ */ r(function Flex(e, t) {
508
+ let [r, i] = splitProps(e, [
509
+ "align",
510
+ "justify",
511
+ "direction",
512
+ "wrap",
513
+ "basis",
514
+ "grow",
515
+ "shrink"
516
+ ]), a = {
517
+ ref: t,
518
+ ...getFlexStyle(r),
519
+ ...i
520
+ };
521
+ return n(x.div, a);
522
+ }), w = {
523
+ transform(e) {
524
+ let { justify: t, gap: n, ...r } = e;
525
+ return {
526
+ display: "flex",
527
+ alignItems: "center",
528
+ justifyContent: t,
529
+ gap: n,
530
+ flexDirection: "column",
531
+ ...r
532
+ };
533
+ },
534
+ defaultValues: {
535
+ alignItems: "stretch",
536
+ gap: "sm"
537
+ }
538
+ }, getVstackStyle = (e = {}) => {
539
+ let t = getPatternStyles(w, e);
540
+ return w.transform(t, m);
541
+ }, vstack = (e) => css(getVstackStyle(e));
542
+ vstack.raw = getVstackStyle;
543
+ //#endregion
544
+ //#region styled-system/jsx/vstack.mjs
545
+ var he = /* @__PURE__ */ r(function VStack(e, t) {
546
+ let [r, i] = splitProps(e, ["justify", "gap"]), a = {
547
+ ref: t,
548
+ ...getVstackStyle(r),
549
+ ...i
550
+ };
551
+ return n(x.div, a);
552
+ }), T = {
553
+ transform(e) {
554
+ let { justify: t, gap: n, ...r } = e;
555
+ return {
556
+ display: "flex",
557
+ alignItems: "center",
558
+ justifyContent: t,
559
+ gap: n,
560
+ flexDirection: "row",
561
+ ...r
562
+ };
563
+ },
564
+ defaultValues: { gap: "sm" }
565
+ }, getHstackStyle = (e = {}) => {
566
+ let t = getPatternStyles(T, e);
567
+ return T.transform(t, m);
568
+ }, hstack = (e) => css(getHstackStyle(e));
569
+ hstack.raw = getHstackStyle;
570
+ //#endregion
571
+ //#region styled-system/jsx/hstack.mjs
572
+ var ge = /* @__PURE__ */ r(function HStack(e, t) {
573
+ let [r, i] = splitProps(e, ["justify", "gap"]), a = {
574
+ ref: t,
575
+ ...getHstackStyle(r),
576
+ ...i
577
+ };
578
+ return n(x.div, a);
579
+ }), E = { transform(e) {
580
+ return {
581
+ position: "relative",
582
+ maxWidth: "8xl",
583
+ mx: "auto",
584
+ px: {
585
+ base: "4",
586
+ md: "6",
587
+ lg: "8"
588
+ },
589
+ ...e
590
+ };
591
+ } }, getContainerStyle = (e = {}) => {
592
+ let t = getPatternStyles(E, e);
593
+ return E.transform(t, m);
594
+ }, container = (e) => css(getContainerStyle(e));
595
+ container.raw = getContainerStyle;
596
+ //#endregion
597
+ //#region styled-system/patterns/bleed.mjs
598
+ var D = {
599
+ transform(e, { map: t, isCssUnit: n, isCssVar: r }) {
600
+ let { inline: i, block: a, ...o } = e, valueFn = (e) => n(e) || r(e) ? e : `token(spacing.${e}, ${e})`;
601
+ return {
602
+ "--bleed-x": t(i, valueFn),
603
+ "--bleed-y": t(a, valueFn),
604
+ marginInline: "calc(var(--bleed-x, 0) * -1)",
605
+ marginBlock: "calc(var(--bleed-y, 0) * -1)",
606
+ ...o
607
+ };
608
+ },
609
+ defaultValues: {
610
+ inline: "0",
611
+ block: "0"
612
+ }
613
+ }, getBleedStyle = (e = {}) => {
614
+ let t = getPatternStyles(D, e);
615
+ return D.transform(t, m);
616
+ }, bleed = (e) => css(getBleedStyle(e));
617
+ bleed.raw = getBleedStyle;
618
+ //#endregion
619
+ //#region styled-system/patterns/txt.mjs
620
+ var O = {
621
+ transform(e, t) {
622
+ let { inline: n, size: r, dimmed: i, lh: a, likec4color: o, noUserSelect: s, ...c } = e;
623
+ if (i && o) throw Error("dimmed and likec4color are mutually exclusive");
624
+ let l = c.textStyle == null;
625
+ return {
626
+ cursor: "default",
627
+ ...n && { display: "inline-block" },
628
+ ...o && { "data-likec4-color": o },
629
+ ...s && { userSelect: "none" },
630
+ ...a && { lineHeight: a },
631
+ ...l ? { textStyle: i ? `dimmed.${r}` : r } : {
632
+ fontSize: r,
633
+ color: i ? "text.dimmed" : "text"
634
+ },
635
+ ...c
636
+ };
637
+ },
638
+ defaultValues: {
639
+ inline: !1,
640
+ dimmed: !1,
641
+ size: "md",
642
+ noUserSelect: !1
643
+ }
644
+ }, getTxtStyle = (e = {}) => {
645
+ let t = getPatternStyles(O, e);
646
+ return O.transform(t, m);
647
+ }, txt = (e) => css(getTxtStyle(e));
648
+ txt.raw = getTxtStyle;
649
+ //#endregion
650
+ //#region styled-system/jsx/txt.mjs
651
+ var _e = /* @__PURE__ */ r(function Txt(e, t) {
652
+ let [r, i] = splitProps(e, [
653
+ "inline",
654
+ "dimmed",
655
+ "noUserSelect",
656
+ "lh",
657
+ "size",
658
+ "likec4color"
659
+ ]), a = {
660
+ ref: t,
661
+ ...getTxtStyle(r),
662
+ ...i
663
+ };
664
+ return n(x.div, a);
665
+ }), createRecipe = (e, t, n) => {
666
+ let getVariantProps = (n) => ({
667
+ [e]: "__ignore__",
668
+ ...t,
669
+ ...compact(n)
670
+ }), recipeFn = (t, r = !0) => {
671
+ let transform = (r, i) => (assertCompoundVariant(e, n, t, r), i === "__ignore__" ? { className: e } : (i = withoutSpace(i), { className: `${e}--${r}_${i}` })), i = createCss({
672
+ conditions: {
673
+ shift: sortConditions,
674
+ finalize: finalizeConditions,
675
+ breakpoints: { keys: [
676
+ "base",
677
+ "xs",
678
+ "sm",
679
+ "md",
680
+ "lg",
681
+ "xl"
682
+ ] }
683
+ },
684
+ utility: {
685
+ toHash: (e, t) => t(e.join(":")),
686
+ transform
687
+ }
688
+ }), a = getVariantProps(t);
689
+ if (r) {
690
+ let e = getCompoundVariantCss(n, a);
691
+ return cx(i(a), css(e));
692
+ }
693
+ return i(a);
694
+ };
695
+ return {
696
+ recipeFn,
697
+ getVariantProps,
698
+ __getCompoundVariantCss__: (e) => getCompoundVariantCss(n, getVariantProps(e))
699
+ };
700
+ }, mergeRecipes = (e, t) => {
701
+ if (e && !t) return e;
702
+ if (!e && t) return t;
703
+ let recipeFn = (...n) => cx(e(...n), t(...n)), n = uniq(e.variantKeys, t.variantKeys), r = n.reduce((n, r) => (n[r] = uniq(e.variantMap[r], t.variantMap[r]), n), {});
704
+ return Object.assign(recipeFn, {
705
+ __recipe__: !0,
706
+ __name__: `${e.__name__} ${t.__name__}`,
707
+ raw: (e) => e,
708
+ variantKeys: n,
709
+ variantMap: r,
710
+ splitVariantProps(e) {
711
+ return splitProps(e, n);
712
+ }
713
+ });
714
+ }, k = /* @__PURE__ */ createRecipe("action-btn", {
715
+ size: "md",
716
+ radius: "md",
717
+ variant: "filled"
718
+ }, []), A = {
719
+ variant: ["transparent", "filled"],
720
+ size: ["sm", "md"],
721
+ radius: ["sm", "md"]
722
+ }, j = Object.keys(A), ve = /* @__PURE__ */ Object.assign(s(k.recipeFn), {
723
+ __recipe__: !0,
724
+ __name__: "actionBtn",
725
+ __getCompoundVariantCss__: k.__getCompoundVariantCss__,
726
+ raw: (e) => e,
727
+ variantKeys: j,
728
+ variantMap: A,
729
+ merge(e) {
730
+ return mergeRecipes(this, e);
731
+ },
732
+ splitVariantProps(e) {
733
+ return splitProps(e, j);
734
+ },
735
+ getVariantProps: k.getVariantProps
736
+ }), M = /* @__PURE__ */ createRecipe("action-buttons", {}, []), N = {}, P = Object.keys(N), ye = /* @__PURE__ */ Object.assign(s(M.recipeFn), {
737
+ __recipe__: !0,
738
+ __name__: "actionButtons",
739
+ __getCompoundVariantCss__: M.__getCompoundVariantCss__,
740
+ raw: (e) => e,
741
+ variantKeys: P,
742
+ variantMap: N,
743
+ merge(e) {
744
+ return mergeRecipes(this, e);
745
+ },
746
+ splitVariantProps(e) {
747
+ return splitProps(e, P);
748
+ },
749
+ getVariantProps: M.getVariantProps
750
+ }), F = /* @__PURE__ */ createRecipe("likec4-compound-node", {
751
+ isTransparent: !1,
752
+ inverseColor: !1,
753
+ borderStyle: "none"
754
+ }, []), I = {
755
+ isTransparent: ["false", "true"],
756
+ inverseColor: ["true", "false"],
757
+ borderStyle: [
758
+ "solid",
759
+ "dashed",
760
+ "dotted",
761
+ "none"
762
+ ]
763
+ }, L = Object.keys(I), be = /* @__PURE__ */ Object.assign(s(F.recipeFn), {
764
+ __recipe__: !0,
765
+ __name__: "compoundNode",
766
+ __getCompoundVariantCss__: F.__getCompoundVariantCss__,
767
+ raw: (e) => e,
768
+ variantKeys: L,
769
+ variantMap: I,
770
+ merge(e) {
771
+ return mergeRecipes(this, e);
772
+ },
773
+ splitVariantProps(e) {
774
+ return splitProps(e, L);
775
+ },
776
+ getVariantProps: F.getVariantProps
777
+ }), R = /* @__PURE__ */ createRecipe("likec4-edge-action-btn", {}, []), z = {}, B = Object.keys(z), xe = /* @__PURE__ */ Object.assign(s(R.recipeFn), {
778
+ __recipe__: !0,
779
+ __name__: "edgeActionBtn",
780
+ __getCompoundVariantCss__: R.__getCompoundVariantCss__,
781
+ raw: (e) => e,
782
+ variantKeys: B,
783
+ variantMap: z,
784
+ merge(e) {
785
+ return mergeRecipes(this, e);
786
+ },
787
+ splitVariantProps(e) {
788
+ return splitProps(e, B);
789
+ },
790
+ getVariantProps: R.getVariantProps
791
+ }), V = /* @__PURE__ */ createRecipe("likec4-edge-label", {
792
+ pointerEvents: "all",
793
+ isStepEdge: !1,
794
+ cursor: "default"
795
+ }, []), H = {
796
+ pointerEvents: ["none", "all"],
797
+ cursor: ["pointer", "default"],
798
+ isStepEdge: ["false", "true"]
799
+ }, U = Object.keys(H), Se = /* @__PURE__ */ Object.assign(s(V.recipeFn), {
800
+ __recipe__: !0,
801
+ __name__: "edgeLabel",
802
+ __getCompoundVariantCss__: V.__getCompoundVariantCss__,
803
+ raw: (e) => e,
804
+ variantKeys: U,
805
+ variantMap: H,
806
+ merge(e) {
807
+ return mergeRecipes(this, e);
808
+ },
809
+ splitVariantProps(e) {
810
+ return splitProps(e, U);
811
+ },
812
+ getVariantProps: V.getVariantProps
813
+ }), W = {}, Ce = [], we = /* @__PURE__ */ [
814
+ ["path", "likec4-edge__path"],
815
+ ["pathBg", "likec4-edge__pathBg"],
816
+ ["markersCtx", "likec4-edge__markersCtx"],
817
+ ["middlePoint", "likec4-edge__middlePoint"]
818
+ ].map(([e, t]) => [e, createRecipe(t, W, getSlotCompoundVariant(Ce, e))]), Te = s((e = {}) => Object.fromEntries(we.map(([t, n]) => [t, n.recipeFn(e)]))), Ee = [], De = /* @__PURE__ */ Object.assign(Te, {
819
+ __recipe__: !1,
820
+ __name__: "edgePath",
821
+ raw: (e) => e,
822
+ classNameMap: {},
823
+ variantKeys: Ee,
824
+ variantMap: {},
825
+ splitVariantProps(e) {
826
+ return splitProps(e, Ee);
827
+ },
828
+ getVariantProps: /* @__PURE__ */ e((e) => ({
829
+ ...W,
830
+ ...compact(e)
831
+ }), "getVariantProps")
832
+ }), G = /* @__PURE__ */ createRecipe("likec4-element-node", {}, []), Oe = {}, ke = Object.keys(Oe), Ae = /* @__PURE__ */ Object.assign(s(G.recipeFn), {
833
+ __recipe__: !0,
834
+ __name__: "elementNode",
835
+ __getCompoundVariantCss__: G.__getCompoundVariantCss__,
836
+ raw: (e) => e,
837
+ variantKeys: ke,
838
+ variantMap: Oe,
839
+ merge(e) {
840
+ return mergeRecipes(this, e);
841
+ },
842
+ splitVariantProps(e) {
843
+ return splitProps(e, ke);
844
+ },
845
+ getVariantProps: G.getVariantProps
846
+ }), K = /* @__PURE__ */ createRecipe("likec4-element-node-data", {
847
+ iconPosition: "left",
848
+ withIconColor: !1
849
+ }, []), je = {
850
+ iconPosition: [
851
+ "left",
852
+ "right",
853
+ "top",
854
+ "bottom"
855
+ ],
856
+ withIconColor: ["true", "false"]
857
+ }, Me = Object.keys(je), Ne = /* @__PURE__ */ Object.assign(s(K.recipeFn), {
858
+ __recipe__: !0,
859
+ __name__: "elementNodeData",
860
+ __getCompoundVariantCss__: K.__getCompoundVariantCss__,
861
+ raw: (e) => e,
862
+ variantKeys: Me,
863
+ variantMap: je,
864
+ merge(e) {
865
+ return mergeRecipes(this, e);
866
+ },
867
+ splitVariantProps(e) {
868
+ return splitProps(e, Me);
869
+ },
870
+ getVariantProps: K.getVariantProps
871
+ }), q = /* @__PURE__ */ createRecipe("likec4-element-shape", {
872
+ withBorder: !1,
873
+ withOutline: !1
874
+ }, [{
875
+ shapetype: "html",
876
+ withBorder: !0,
877
+ css: {
878
+ "&": {
879
+ borderStyle: "solid",
880
+ borderWidth: "3px",
881
+ borderColor: "var(--likec4-palette-stroke)",
882
+ "--likec4-outline-size": "6px"
883
+ },
884
+ "& .likec4-shape-outline": { borderRadius: "10px" }
885
+ }
886
+ }]), Pe = {
887
+ shapetype: ["html", "svg"],
888
+ withBorder: ["true", "false"],
889
+ withOutline: ["true", "false"]
890
+ }, Fe = Object.keys(Pe), Ie = /* @__PURE__ */ Object.assign(s(q.recipeFn), {
891
+ __recipe__: !0,
892
+ __name__: "elementShapeRecipe",
893
+ __getCompoundVariantCss__: q.__getCompoundVariantCss__,
894
+ raw: (e) => e,
895
+ variantKeys: Fe,
896
+ variantMap: Pe,
897
+ merge(e) {
898
+ return mergeRecipes(this, e);
899
+ },
900
+ splitVariantProps(e) {
901
+ return splitProps(e, Fe);
902
+ },
903
+ getVariantProps: q.getVariantProps
904
+ }), J = /* @__PURE__ */ createRecipe("likec4-tag", {}, []), Le = {}, Re = Object.keys(Le), ze = /* @__PURE__ */ Object.assign(s(J.recipeFn), {
905
+ __recipe__: !0,
906
+ __name__: "likec4tag",
907
+ __getCompoundVariantCss__: J.__getCompoundVariantCss__,
908
+ raw: (e) => e,
909
+ variantKeys: Re,
910
+ variantMap: Le,
911
+ merge(e) {
912
+ return mergeRecipes(this, e);
913
+ },
914
+ splitVariantProps(e) {
915
+ return splitProps(e, Re);
916
+ },
917
+ getVariantProps: J.getVariantProps
918
+ }), Y = /* @__PURE__ */ createRecipe("likec4-markdown-block", {
919
+ uselikec4palette: !1,
920
+ value: "markdown"
921
+ }, []), Be = {
922
+ uselikec4palette: ["true", "false"],
923
+ value: ["markdown", "plaintext"]
924
+ }, Ve = Object.keys(Be), He = /* @__PURE__ */ Object.assign(s(Y.recipeFn), {
925
+ __recipe__: !0,
926
+ __name__: "markdownBlock",
927
+ __getCompoundVariantCss__: Y.__getCompoundVariantCss__,
928
+ raw: (e) => e,
929
+ variantKeys: Ve,
930
+ variantMap: Be,
931
+ merge(e) {
932
+ return mergeRecipes(this, e);
933
+ },
934
+ splitVariantProps(e) {
935
+ return splitProps(e, Ve);
936
+ },
937
+ getVariantProps: Y.getVariantProps
938
+ }), X = /* @__PURE__ */ createRecipe("likec4-navigation-panel-icon", {
939
+ variant: "default",
940
+ type: "default"
941
+ }, [{
942
+ type: "warning",
943
+ variant: "filled",
944
+ css: { backgroundColor: {
945
+ base: "likec4.panel.action.warning.bg",
946
+ _hover: "likec4.panel.action.warning.bg.hover"
947
+ } }
948
+ }]), Ue = {
949
+ variant: ["default", "filled"],
950
+ type: ["default", "warning"]
951
+ }, We = Object.keys(Ue), Ge = /* @__PURE__ */ Object.assign(s(X.recipeFn), {
952
+ __recipe__: !0,
953
+ __name__: "navigationPanelActionIcon",
954
+ __getCompoundVariantCss__: X.__getCompoundVariantCss__,
955
+ raw: (e) => e,
956
+ variantKeys: We,
957
+ variantMap: Ue,
958
+ merge(e) {
959
+ return mergeRecipes(this, e);
960
+ },
961
+ splitVariantProps(e) {
962
+ return splitProps(e, We);
963
+ },
964
+ getVariantProps: X.getVariantProps
965
+ }), Z = /* @__PURE__ */ createRecipe("likec4-node-notes", { opened: !1 }, []), Ke = { opened: ["false", "true"] }, qe = Object.keys(Ke), Je = /* @__PURE__ */ Object.assign(s(Z.recipeFn), {
966
+ __recipe__: !0,
967
+ __name__: "nodeNotes",
968
+ __getCompoundVariantCss__: Z.__getCompoundVariantCss__,
969
+ raw: (e) => e,
970
+ variantKeys: qe,
971
+ variantMap: Ke,
972
+ merge(e) {
973
+ return mergeRecipes(this, e);
974
+ },
975
+ splitVariantProps(e) {
976
+ return splitProps(e, qe);
977
+ },
978
+ getVariantProps: Z.getVariantProps
979
+ }), Q = /* @__PURE__ */ createRecipe("likec4-overlay", {
980
+ fullscreen: !1,
981
+ withBackdrop: !0
982
+ }, []), $ = {
983
+ fullscreen: ["false", "true"],
984
+ withBackdrop: ["false", "true"]
985
+ }, Ye = Object.keys($), Xe = /* @__PURE__ */ Object.assign(s(Q.recipeFn), {
986
+ __recipe__: !0,
987
+ __name__: "overlay",
988
+ __getCompoundVariantCss__: Q.__getCompoundVariantCss__,
989
+ raw: (e) => e,
990
+ variantKeys: Ye,
991
+ variantMap: $,
992
+ merge(e) {
993
+ return mergeRecipes(this, e);
994
+ },
995
+ splitVariantProps(e) {
996
+ return splitProps(e, Ye);
997
+ },
998
+ getVariantProps: Q.getVariantProps
999
+ }), Ze = { truncateLabel: !1 }, Qe = [], $e = /* @__PURE__ */ [
1000
+ ["root", "likec4-navlink__root"],
1001
+ ["body", "likec4-navlink__body"],
1002
+ ["section", "likec4-navlink__section"],
1003
+ ["label", "likec4-navlink__label"],
1004
+ ["description", "likec4-navlink__description"]
1005
+ ].map(([e, t]) => [e, createRecipe(t, Ze, getSlotCompoundVariant(Qe, e))]), et = s((e = {}) => Object.fromEntries($e.map(([t, n]) => [t, n.recipeFn(e)]))), tt = ["truncateLabel"], nt = /* @__PURE__ */ Object.assign(et, {
1006
+ __recipe__: !1,
1007
+ __name__: "navigationLink",
1008
+ raw: (e) => e,
1009
+ classNameMap: {},
1010
+ variantKeys: tt,
1011
+ variantMap: { truncateLabel: ["true", "false"] },
1012
+ splitVariantProps(e) {
1013
+ return splitProps(e, tt);
1014
+ },
1015
+ getVariantProps: /* @__PURE__ */ e((e) => ({
1016
+ ...Ze,
1017
+ ...compact(e)
1018
+ }), "getVariantProps")
1019
+ }), rt = {
1020
+ size: "md",
1021
+ panelPosition: "left"
1022
+ }, it = [], at = /* @__PURE__ */ [
1023
+ ["root", "likec4-navigation-panel__root"],
1024
+ ["body", "likec4-navigation-panel__body"],
1025
+ ["logo", "likec4-navigation-panel__logo"],
1026
+ ["label", "likec4-navigation-panel__label"],
1027
+ ["dropdown", "likec4-navigation-panel__dropdown"]
1028
+ ].map(([e, t]) => [e, createRecipe(t, rt, getSlotCompoundVariant(it, e))]), ot = s((e = {}) => Object.fromEntries(at.map(([t, n]) => [t, n.recipeFn(e)]))), st = ["size", "panelPosition"], getVariantProps = (e) => ({
1029
+ ...rt,
1030
+ ...compact(e)
1031
+ }), ct = /* @__PURE__ */ Object.assign(ot, {
1032
+ __recipe__: !1,
1033
+ __name__: "navigationPanel",
1034
+ raw: (e) => e,
1035
+ classNameMap: {},
1036
+ variantKeys: st,
1037
+ variantMap: {
1038
+ size: ["md", "lg"],
1039
+ panelPosition: ["left", "right"]
1040
+ },
1041
+ splitVariantProps(e) {
1042
+ return splitProps(e, st);
1043
+ },
1044
+ getVariantProps
1045
+ });
1046
+ //#endregion
1047
+ export { sva as A, he as C, createStyleContext as D, pe as E, cx as M, css as N, x as O, hstack as S, me as T, _e as _, Ge as a, container as b, Ie as c, De as d, Se as f, ve as g, ye as h, Je as i, cva as j, b as k, Ne as l, be as m, nt as n, He as o, xe as p, Xe as r, ze as s, ct as t, Ae as u, txt as v, vstack as w, ge as x, bleed as y };