babavoss 0.0.0-stage → 0.0.2

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 (159) hide show
  1. package/LICENSE +202 -0
  2. package/NOTICE +7 -0
  3. package/bin/voss.ts +48 -0
  4. package/gui/babavoss-web.js +234 -0
  5. package/gui/chunk-5hpp1ypv.js +11710 -0
  6. package/gui/chunk-9rq662fd.js +8627 -0
  7. package/gui/chunk-k3cm8j6r.js +433 -0
  8. package/gui/chunk-pk09y98y.js +50 -0
  9. package/gui/chunk-smz02qa6.js +186 -0
  10. package/gui/chunk-wwqypxre.js +49 -0
  11. package/gui/gui.js +2015 -0
  12. package/gui/react-compiler-runtime.js +39 -0
  13. package/gui/react-dom-client.js +21 -0
  14. package/gui/react-dom.js +44 -0
  15. package/gui/react-jsx-runtime.js +19 -0
  16. package/gui/react.js +105 -0
  17. package/gui/theme.css +3053 -0
  18. package/index.ts +15 -0
  19. package/package.json +52 -4
  20. package/src/baba/check.ts +90 -0
  21. package/src/baba/config.ts +261 -0
  22. package/src/baba/find.ts +12 -0
  23. package/src/baba/init.ts +176 -0
  24. package/src/baba/node.ts +483 -0
  25. package/src/baba/project.ts +63 -0
  26. package/src/baba/registry.ts +35 -0
  27. package/src/baba/worker.ts +55 -0
  28. package/src/bench/index.ts +6 -0
  29. package/src/bench/measure.ts +132 -0
  30. package/src/bench/scenarios.ts +136 -0
  31. package/src/build/builder.ts +74 -0
  32. package/src/build/failure.ts +78 -0
  33. package/src/build/guard.ts +85 -0
  34. package/src/build/mdx-register.ts +3 -0
  35. package/src/build/mdx.ts +38 -0
  36. package/src/build/project.ts +38 -0
  37. package/src/build/views.ts +146 -0
  38. package/src/builder/main.ts +29 -0
  39. package/src/desktop/bob.ts +76 -0
  40. package/src/desktop/desktop.css +111 -0
  41. package/src/desktop/icons.ts +50 -0
  42. package/src/desktop/index.ts +323 -0
  43. package/src/desktop/routes.ts +98 -0
  44. package/src/desktop/view.tsx +673 -0
  45. package/src/door/core.ts +384 -0
  46. package/src/ecs/baba.ts +431 -0
  47. package/src/ecs/codec.ts +334 -0
  48. package/src/ecs/handles.ts +91 -0
  49. package/src/ecs/replica.ts +150 -0
  50. package/src/ecs/runtime.ts +603 -0
  51. package/src/ecs/scheduler.ts +75 -0
  52. package/src/ecs/snapshot.ts +102 -0
  53. package/src/ecs/state.ts +759 -0
  54. package/src/ecs/system.ts +256 -0
  55. package/src/ecs/table.ts +420 -0
  56. package/src/ecs/testbed.ts +97 -0
  57. package/src/exec/host.ts +177 -0
  58. package/src/exec/main.ts +98 -0
  59. package/src/exec/watch.ts +7 -0
  60. package/src/exec/wire.ts +29 -0
  61. package/src/generated/build.ts +4 -0
  62. package/src/gui/css.d.ts +1 -0
  63. package/src/gui/gui.tsx +245 -0
  64. package/src/gui/index.ts +51 -0
  65. package/src/gui/inspector.tsx +47 -0
  66. package/src/gui/levels.tsx +73 -0
  67. package/src/gui/promptware.tsx +68 -0
  68. package/src/gui/runner.tsx +118 -0
  69. package/src/gui/theme.css +498 -0
  70. package/src/gui/theme.ts +25 -0
  71. package/src/gui/wizard.tsx +227 -0
  72. package/src/guide/add-a-desktop.mdx +100 -0
  73. package/src/guide/compose-an-interface.mdx +84 -0
  74. package/src/guide/index.ts +13 -0
  75. package/src/guide/reach-outside.mdx +112 -0
  76. package/src/guide/spec-a-system.mdx +93 -0
  77. package/src/guide/systems-together.mdx +72 -0
  78. package/src/guide/write-a-system.mdx +183 -0
  79. package/src/guide/write-promptware.mdx +90 -0
  80. package/src/http/server.ts +310 -0
  81. package/src/kernel/build.ts +21 -0
  82. package/src/kernel/builder.ts +105 -0
  83. package/src/kernel/children.ts +117 -0
  84. package/src/kernel/context.ts +90 -0
  85. package/src/kernel/lock.ts +46 -0
  86. package/src/kernel/names.ts +14 -0
  87. package/src/kernel/schema.ts +130 -0
  88. package/src/kernel/where.ts +12 -0
  89. package/src/kit/index.ts +232 -0
  90. package/src/maker/system.ts +213 -0
  91. package/src/mcp/daemon.ts +61 -0
  92. package/src/mcp/main.ts +208 -0
  93. package/src/mcp/rpc.ts +64 -0
  94. package/src/mcp/tools.ts +125 -0
  95. package/src/prompt/evals.ts +42 -0
  96. package/src/prompt/index.ts +242 -0
  97. package/src/prompt/jsx-dev-runtime.ts +1 -0
  98. package/src/prompt/jsx-runtime.ts +49 -0
  99. package/src/prompt/mdx.d.ts +1 -0
  100. package/src/promptware/compile.ts +183 -0
  101. package/src/promptware/define.ts +16 -0
  102. package/src/promptware/disk.ts +72 -0
  103. package/src/promptware/markdown.d.ts +6 -0
  104. package/src/promptware/sync.ts +437 -0
  105. package/src/promptware/system.ts +215 -0
  106. package/src/runtime/bridge.ts +85 -0
  107. package/src/runtime/connect.ts +54 -0
  108. package/src/runtime/env.ts +35 -0
  109. package/src/runtime/harness.ts +80 -0
  110. package/src/runtime/main.ts +119 -0
  111. package/src/runtime/worker.ts +33 -0
  112. package/src/server/edge.ts +332 -0
  113. package/src/server/main.ts +45 -0
  114. package/src/server/messages.ts +97 -0
  115. package/src/server/protocol.ts +37 -0
  116. package/src/services/args.ts +45 -0
  117. package/src/services/exec.ts +69 -0
  118. package/src/services/fs.ts +139 -0
  119. package/src/services/http.ts +30 -0
  120. package/src/services/index.ts +113 -0
  121. package/src/services/secrets.ts +18 -0
  122. package/src/shell/address.ts +21 -0
  123. package/src/shell/args.ts +219 -0
  124. package/src/shell/client.ts +107 -0
  125. package/src/shell/codes.ts +26 -0
  126. package/src/shell/positional.ts +20 -0
  127. package/src/shell/run.ts +470 -0
  128. package/src/shell/service.ts +167 -0
  129. package/src/shell/state.ts +204 -0
  130. package/src/spec/adapters.ts +72 -0
  131. package/src/spec/diff.ts +26 -0
  132. package/src/spec/files.ts +17 -0
  133. package/src/spec/index.ts +155 -0
  134. package/src/spec/run.ts +97 -0
  135. package/src/spec/take.ts +54 -0
  136. package/src/test/index.ts +8 -0
  137. package/src/test/prove.ts +56 -0
  138. package/src/test/records.ts +23 -0
  139. package/src/test/specs.ts +56 -0
  140. package/src/test/steps.ts +100 -0
  141. package/src/test/voss-dir.ts +17 -0
  142. package/src/transport/messages.ts +110 -0
  143. package/src/transport/transport.ts +62 -0
  144. package/src/wall/probe.ts +67 -0
  145. package/src/wall/profile.ts +103 -0
  146. package/src/wall/spawn.ts +59 -0
  147. package/src/web/app.tsx +53 -0
  148. package/src/web/core.tsx +140 -0
  149. package/src/web/form.ts +155 -0
  150. package/src/web/hooks.ts +135 -0
  151. package/src/web/index.tsx +17 -0
  152. package/src/web/list.ts +19 -0
  153. package/src/web/maker.tsx +766 -0
  154. package/src/web/objects.tsx +213 -0
  155. package/src/web/socket.ts +84 -0
  156. package/src/web/state.tsx +69 -0
  157. package/src/web/store.ts +221 -0
  158. package/src/web/ui.tsx +135 -0
  159. package/README.md +0 -4
@@ -0,0 +1,433 @@
1
+ import {
2
+ __commonJS,
3
+ __esm,
4
+ __export
5
+ } from "./chunk-wwqypxre.js";
6
+
7
+ // ../../node_modules/.bun/react@19.3.0/node_modules/react/cjs/react.production.js
8
+ var exports_react_production = {};
9
+ __export(exports_react_production, {
10
+ Activity: () => $Activity,
11
+ Children: () => $Children,
12
+ Component: () => $Component,
13
+ Fragment: () => $Fragment,
14
+ Profiler: () => $Profiler,
15
+ PureComponent: () => $PureComponent,
16
+ StrictMode: () => $StrictMode,
17
+ Suspense: () => $Suspense,
18
+ ViewTransition: () => $ViewTransition,
19
+ __CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE: () => $__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,
20
+ __COMPILER_RUNTIME: () => $__COMPILER_RUNTIME,
21
+ addTransitionType: () => $addTransitionType,
22
+ cache: () => $cache,
23
+ cacheSignal: () => $cacheSignal,
24
+ cloneElement: () => $cloneElement,
25
+ createContext: () => $createContext,
26
+ createElement: () => $createElement,
27
+ createRef: () => $createRef,
28
+ forwardRef: () => $forwardRef,
29
+ isValidElement: () => $isValidElement,
30
+ lazy: () => $lazy,
31
+ memo: () => $memo,
32
+ startTransition: () => $startTransition,
33
+ unstable_useCacheRefresh: () => $unstable_useCacheRefresh,
34
+ use: () => $use,
35
+ useActionState: () => $useActionState,
36
+ useCallback: () => $useCallback,
37
+ useContext: () => $useContext,
38
+ useDebugValue: () => $useDebugValue,
39
+ useDeferredValue: () => $useDeferredValue,
40
+ useEffect: () => $useEffect,
41
+ useEffectEvent: () => $useEffectEvent,
42
+ useId: () => $useId,
43
+ useImperativeHandle: () => $useImperativeHandle,
44
+ useInsertionEffect: () => $useInsertionEffect,
45
+ useLayoutEffect: () => $useLayoutEffect,
46
+ useMemo: () => $useMemo,
47
+ useOptimistic: () => $useOptimistic,
48
+ useReducer: () => $useReducer,
49
+ useRef: () => $useRef,
50
+ useState: () => $useState,
51
+ useSyncExternalStore: () => $useSyncExternalStore,
52
+ useTransition: () => $useTransition,
53
+ version: () => $version
54
+ });
55
+ function getIteratorFn(maybeIterable) {
56
+ if (maybeIterable === null || typeof maybeIterable !== "object")
57
+ return null;
58
+ maybeIterable = MAYBE_ITERATOR_SYMBOL && maybeIterable[MAYBE_ITERATOR_SYMBOL] || maybeIterable["@@iterator"];
59
+ return typeof maybeIterable === "function" ? maybeIterable : null;
60
+ }
61
+ function Component(props, context, updater) {
62
+ this.props = props;
63
+ this.context = context;
64
+ this.refs = emptyObject;
65
+ this.updater = updater || ReactNoopUpdateQueue;
66
+ }
67
+ function ComponentDummy() {}
68
+ function PureComponent(props, context, updater) {
69
+ this.props = props;
70
+ this.context = context;
71
+ this.refs = emptyObject;
72
+ this.updater = updater || ReactNoopUpdateQueue;
73
+ }
74
+ function noop() {}
75
+ function ReactElement(type, key, props) {
76
+ var refProp = props.ref;
77
+ return {
78
+ $$typeof: REACT_ELEMENT_TYPE,
79
+ type,
80
+ key,
81
+ ref: refProp !== undefined ? refProp : null,
82
+ props
83
+ };
84
+ }
85
+ function cloneAndReplaceKey(oldElement, newKey) {
86
+ return ReactElement(oldElement.type, newKey, oldElement.props);
87
+ }
88
+ function isValidElement(object) {
89
+ return typeof object === "object" && object !== null && object.$$typeof === REACT_ELEMENT_TYPE;
90
+ }
91
+ function escape(key) {
92
+ var escaperLookup = { "=": "=0", ":": "=2" };
93
+ return "$" + key.replace(/[=:]/g, function(match) {
94
+ return escaperLookup[match];
95
+ });
96
+ }
97
+ function getElementKey(element, index) {
98
+ return typeof element === "object" && element !== null && element.key != null ? escape("" + element.key) : index.toString(36);
99
+ }
100
+ function resolveThenable(thenable) {
101
+ switch (thenable.status) {
102
+ case "fulfilled":
103
+ return thenable.value;
104
+ case "rejected":
105
+ throw thenable.reason;
106
+ default:
107
+ switch (typeof thenable.status === "string" ? thenable.then(noop, noop) : (thenable.status = "pending", thenable.then(function(fulfilledValue) {
108
+ thenable.status === "pending" && (thenable.status = "fulfilled", thenable.value = fulfilledValue);
109
+ }, function(error) {
110
+ thenable.status === "pending" && (thenable.status = "rejected", thenable.reason = error);
111
+ })), thenable.status) {
112
+ case "fulfilled":
113
+ return thenable.value;
114
+ case "rejected":
115
+ throw thenable.reason;
116
+ }
117
+ }
118
+ throw thenable;
119
+ }
120
+ function mapIntoArray(children, array, escapedPrefix, nameSoFar, callback) {
121
+ var type = typeof children;
122
+ if (type === "undefined" || type === "boolean")
123
+ children = null;
124
+ var invokeCallback = false;
125
+ if (children === null)
126
+ invokeCallback = true;
127
+ else
128
+ switch (type) {
129
+ case "bigint":
130
+ case "string":
131
+ case "number":
132
+ invokeCallback = true;
133
+ break;
134
+ case "object":
135
+ switch (children.$$typeof) {
136
+ case REACT_ELEMENT_TYPE:
137
+ case REACT_PORTAL_TYPE:
138
+ invokeCallback = true;
139
+ break;
140
+ case REACT_LAZY_TYPE:
141
+ return invokeCallback = children._init, mapIntoArray(invokeCallback(children._payload), array, escapedPrefix, nameSoFar, callback);
142
+ }
143
+ }
144
+ if (invokeCallback)
145
+ return callback = callback(children), invokeCallback = nameSoFar === "" ? "." + getElementKey(children, 0) : nameSoFar, isArrayImpl(callback) ? (escapedPrefix = "", invokeCallback != null && (escapedPrefix = invokeCallback.replace(userProvidedKeyEscapeRegex, "$&/") + "/"), mapIntoArray(callback, array, escapedPrefix, "", function(c) {
146
+ return c;
147
+ })) : callback != null && (isValidElement(callback) && (callback = cloneAndReplaceKey(callback, escapedPrefix + (callback.key == null || children && children.key === callback.key ? "" : ("" + callback.key).replace(userProvidedKeyEscapeRegex, "$&/") + "/") + invokeCallback)), array.push(callback)), 1;
148
+ invokeCallback = 0;
149
+ var nextNamePrefix = nameSoFar === "" ? "." : nameSoFar + ":";
150
+ if (isArrayImpl(children))
151
+ for (var i = 0;i < children.length; i++)
152
+ nameSoFar = children[i], type = nextNamePrefix + getElementKey(nameSoFar, i), invokeCallback += mapIntoArray(nameSoFar, array, escapedPrefix, type, callback);
153
+ else if (i = getIteratorFn(children), typeof i === "function")
154
+ for (children = i.call(children), i = 0;!(nameSoFar = children.next()).done; )
155
+ nameSoFar = nameSoFar.value, type = nextNamePrefix + getElementKey(nameSoFar, i++), invokeCallback += mapIntoArray(nameSoFar, array, escapedPrefix, type, callback);
156
+ else if (type === "object") {
157
+ if (typeof children.then === "function")
158
+ return mapIntoArray(resolveThenable(children), array, escapedPrefix, nameSoFar, callback);
159
+ array = String(children);
160
+ throw Error("Objects are not valid as a React child (found: " + (array === "[object Object]" ? "object with keys {" + Object.keys(children).join(", ") + "}" : array) + "). If you meant to render a collection of children, use an array instead.");
161
+ }
162
+ return invokeCallback;
163
+ }
164
+ function mapChildren(children, func, context) {
165
+ if (children == null)
166
+ return children;
167
+ var result = [], count = 0;
168
+ mapIntoArray(children, result, "", "", function(child) {
169
+ return func.call(context, child, count++);
170
+ });
171
+ return result;
172
+ }
173
+ function lazyInitializer(payload) {
174
+ if (payload._status === -1) {
175
+ var ctor = payload._result, thenable = ctor();
176
+ thenable.then(function(moduleObject) {
177
+ if (payload._status === 0 || payload._status === -1)
178
+ payload._status = 1, payload._result = moduleObject, thenable.status === undefined && (thenable.status = "fulfilled", thenable.value = moduleObject);
179
+ }, function(error) {
180
+ if (payload._status === 0 || payload._status === -1)
181
+ payload._status = 2, payload._result = error, thenable.status === undefined && (thenable.status = "rejected", thenable.reason = error);
182
+ });
183
+ payload._status === -1 && (payload._status = 0, payload._result = thenable);
184
+ }
185
+ if (payload._status === 1)
186
+ return payload._result.default;
187
+ throw payload._result;
188
+ }
189
+ function startTransition(scope) {
190
+ var prevTransition = ReactSharedInternals.T, currentTransition = {};
191
+ currentTransition.types = prevTransition !== null ? prevTransition.types : null;
192
+ ReactSharedInternals.T = currentTransition;
193
+ try {
194
+ var returnValue = scope(), onStartTransitionFinish = ReactSharedInternals.S;
195
+ onStartTransitionFinish !== null && onStartTransitionFinish(currentTransition, returnValue);
196
+ typeof returnValue === "object" && returnValue !== null && typeof returnValue.then === "function" && returnValue.then(noop, reportGlobalError);
197
+ } catch (error) {
198
+ reportGlobalError(error);
199
+ } finally {
200
+ prevTransition !== null && currentTransition.types !== null && (prevTransition.types = currentTransition.types), ReactSharedInternals.T = prevTransition;
201
+ }
202
+ }
203
+ function addTransitionType(type) {
204
+ var transition = ReactSharedInternals.T;
205
+ if (transition !== null) {
206
+ var transitionTypes = transition.types;
207
+ transitionTypes === null ? transition.types = [type] : transitionTypes.indexOf(type) === -1 && transitionTypes.push(type);
208
+ } else
209
+ startTransition(addTransitionType.bind(null, type));
210
+ }
211
+ var REACT_ELEMENT_TYPE, REACT_PORTAL_TYPE, REACT_FRAGMENT_TYPE, REACT_STRICT_MODE_TYPE, REACT_PROFILER_TYPE, REACT_CONSUMER_TYPE, REACT_CONTEXT_TYPE, REACT_FORWARD_REF_TYPE, REACT_SUSPENSE_TYPE, REACT_MEMO_TYPE, REACT_LAZY_TYPE, REACT_ACTIVITY_TYPE, REACT_VIEW_TRANSITION_TYPE, MAYBE_ITERATOR_SYMBOL, ReactNoopUpdateQueue, assign, emptyObject, pureComponentPrototype, isArrayImpl, ReactSharedInternals, hasOwnProperty, userProvidedKeyEscapeRegex, reportGlobalError, Children, $Activity, $Children, $Component, $Fragment, $Profiler, $PureComponent, $StrictMode, $Suspense, $ViewTransition, $__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE, $__COMPILER_RUNTIME, $addTransitionType, $cache = function(fn) {
212
+ return function() {
213
+ return fn.apply(null, arguments);
214
+ };
215
+ }, $cacheSignal = function() {
216
+ return null;
217
+ }, $cloneElement = function(element, config, children) {
218
+ if (element === null || element === undefined)
219
+ throw Error("The argument must be a React element, but you passed " + element + ".");
220
+ var props = assign({}, element.props), key = element.key;
221
+ if (config != null)
222
+ for (propName in config.key !== undefined && (key = "" + config.key), config)
223
+ !hasOwnProperty.call(config, propName) || propName === "key" || propName === "__self" || propName === "__source" || propName === "ref" && config.ref === undefined || (props[propName] = config[propName]);
224
+ var propName = arguments.length - 2;
225
+ if (propName === 1)
226
+ props.children = children;
227
+ else if (1 < propName) {
228
+ for (var childArray = Array(propName), i = 0;i < propName; i++)
229
+ childArray[i] = arguments[i + 2];
230
+ props.children = childArray;
231
+ }
232
+ return ReactElement(element.type, key, props);
233
+ }, $createContext = function(defaultValue) {
234
+ defaultValue = {
235
+ $$typeof: REACT_CONTEXT_TYPE,
236
+ _currentValue: defaultValue,
237
+ _currentValue2: defaultValue,
238
+ _threadCount: 0,
239
+ Provider: null,
240
+ Consumer: null
241
+ };
242
+ defaultValue.Provider = defaultValue;
243
+ defaultValue.Consumer = {
244
+ $$typeof: REACT_CONSUMER_TYPE,
245
+ _context: defaultValue
246
+ };
247
+ return defaultValue;
248
+ }, $createElement = function(type, config, children) {
249
+ var propName, props = {}, key = null;
250
+ if (config != null)
251
+ for (propName in config.key !== undefined && (key = "" + config.key), config)
252
+ hasOwnProperty.call(config, propName) && propName !== "key" && propName !== "__self" && propName !== "__source" && (props[propName] = config[propName]);
253
+ var childrenLength = arguments.length - 2;
254
+ if (childrenLength === 1)
255
+ props.children = children;
256
+ else if (1 < childrenLength) {
257
+ for (var childArray = Array(childrenLength), i = 0;i < childrenLength; i++)
258
+ childArray[i] = arguments[i + 2];
259
+ props.children = childArray;
260
+ }
261
+ if (type && type.defaultProps)
262
+ for (propName in childrenLength = type.defaultProps, childrenLength)
263
+ props[propName] === undefined && (props[propName] = childrenLength[propName]);
264
+ return ReactElement(type, key, props);
265
+ }, $createRef = function() {
266
+ return { current: null };
267
+ }, $forwardRef = function(render) {
268
+ return { $$typeof: REACT_FORWARD_REF_TYPE, render };
269
+ }, $isValidElement, $lazy = function(ctor) {
270
+ return {
271
+ $$typeof: REACT_LAZY_TYPE,
272
+ _payload: { _status: -1, _result: ctor },
273
+ _init: lazyInitializer
274
+ };
275
+ }, $memo = function(type, compare) {
276
+ return {
277
+ $$typeof: REACT_MEMO_TYPE,
278
+ type,
279
+ compare: compare === undefined ? null : compare
280
+ };
281
+ }, $startTransition, $unstable_useCacheRefresh = function() {
282
+ return ReactSharedInternals.H.useCacheRefresh();
283
+ }, $use = function(usable) {
284
+ return ReactSharedInternals.H.use(usable);
285
+ }, $useActionState = function(action, initialState, permalink) {
286
+ return ReactSharedInternals.H.useActionState(action, initialState, permalink);
287
+ }, $useCallback = function(callback, deps) {
288
+ return ReactSharedInternals.H.useCallback(callback, deps);
289
+ }, $useContext = function(Context) {
290
+ return ReactSharedInternals.H.useContext(Context);
291
+ }, $useDebugValue = function() {}, $useDeferredValue = function(value, initialValue) {
292
+ return ReactSharedInternals.H.useDeferredValue(value, initialValue);
293
+ }, $useEffect = function(create, deps) {
294
+ return ReactSharedInternals.H.useEffect(create, deps);
295
+ }, $useEffectEvent = function(callback) {
296
+ return ReactSharedInternals.H.useEffectEvent(callback);
297
+ }, $useId = function() {
298
+ return ReactSharedInternals.H.useId();
299
+ }, $useImperativeHandle = function(ref, create, deps) {
300
+ return ReactSharedInternals.H.useImperativeHandle(ref, create, deps);
301
+ }, $useInsertionEffect = function(create, deps) {
302
+ return ReactSharedInternals.H.useInsertionEffect(create, deps);
303
+ }, $useLayoutEffect = function(create, deps) {
304
+ return ReactSharedInternals.H.useLayoutEffect(create, deps);
305
+ }, $useMemo = function(create, deps) {
306
+ return ReactSharedInternals.H.useMemo(create, deps);
307
+ }, $useOptimistic = function(passthrough, reducer) {
308
+ return ReactSharedInternals.H.useOptimistic(passthrough, reducer);
309
+ }, $useReducer = function(reducer, initialArg, init) {
310
+ return ReactSharedInternals.H.useReducer(reducer, initialArg, init);
311
+ }, $useRef = function(initialValue) {
312
+ return ReactSharedInternals.H.useRef(initialValue);
313
+ }, $useState = function(initialState) {
314
+ return ReactSharedInternals.H.useState(initialState);
315
+ }, $useSyncExternalStore = function(subscribe, getSnapshot, getServerSnapshot) {
316
+ return ReactSharedInternals.H.useSyncExternalStore(subscribe, getSnapshot, getServerSnapshot);
317
+ }, $useTransition = function() {
318
+ return ReactSharedInternals.H.useTransition();
319
+ }, $version = "19.3.0";
320
+ var init_react_production = __esm(() => {
321
+ REACT_ELEMENT_TYPE = Symbol.for("react.transitional.element");
322
+ REACT_PORTAL_TYPE = Symbol.for("react.portal");
323
+ REACT_FRAGMENT_TYPE = Symbol.for("react.fragment");
324
+ REACT_STRICT_MODE_TYPE = Symbol.for("react.strict_mode");
325
+ REACT_PROFILER_TYPE = Symbol.for("react.profiler");
326
+ REACT_CONSUMER_TYPE = Symbol.for("react.consumer");
327
+ REACT_CONTEXT_TYPE = Symbol.for("react.context");
328
+ REACT_FORWARD_REF_TYPE = Symbol.for("react.forward_ref");
329
+ REACT_SUSPENSE_TYPE = Symbol.for("react.suspense");
330
+ REACT_MEMO_TYPE = Symbol.for("react.memo");
331
+ REACT_LAZY_TYPE = Symbol.for("react.lazy");
332
+ REACT_ACTIVITY_TYPE = Symbol.for("react.activity");
333
+ REACT_VIEW_TRANSITION_TYPE = Symbol.for("react.view_transition");
334
+ MAYBE_ITERATOR_SYMBOL = Symbol.iterator;
335
+ ReactNoopUpdateQueue = {
336
+ isMounted: function() {
337
+ return false;
338
+ },
339
+ enqueueForceUpdate: function() {},
340
+ enqueueReplaceState: function() {},
341
+ enqueueSetState: function() {}
342
+ };
343
+ assign = Object.assign;
344
+ emptyObject = {};
345
+ Component.prototype.isReactComponent = {};
346
+ Component.prototype.setState = function(partialState, callback) {
347
+ if (typeof partialState !== "object" && typeof partialState !== "function" && partialState != null)
348
+ throw Error("takes an object of state variables to update or a function which returns an object of state variables.");
349
+ this.updater.enqueueSetState(this, partialState, callback, "setState");
350
+ };
351
+ Component.prototype.forceUpdate = function(callback) {
352
+ this.updater.enqueueForceUpdate(this, callback, "forceUpdate");
353
+ };
354
+ ComponentDummy.prototype = Component.prototype;
355
+ pureComponentPrototype = PureComponent.prototype = new ComponentDummy;
356
+ pureComponentPrototype.constructor = PureComponent;
357
+ assign(pureComponentPrototype, Component.prototype);
358
+ pureComponentPrototype.isPureReactComponent = true;
359
+ isArrayImpl = Array.isArray;
360
+ ReactSharedInternals = { H: null, A: null, T: null, S: null };
361
+ hasOwnProperty = Object.prototype.hasOwnProperty;
362
+ userProvidedKeyEscapeRegex = /\/+/g;
363
+ reportGlobalError = typeof reportError === "function" ? reportError : function(error) {
364
+ if (typeof window === "object" && typeof window.ErrorEvent === "function") {
365
+ var event = new window.ErrorEvent("error", {
366
+ bubbles: true,
367
+ cancelable: true,
368
+ message: typeof error === "object" && error !== null && typeof error.message === "string" ? String(error.message) : String(error),
369
+ error
370
+ });
371
+ if (!window.dispatchEvent(event))
372
+ return;
373
+ } else if (typeof process === "object" && typeof process.emit === "function") {
374
+ process.emit("uncaughtException", error);
375
+ return;
376
+ }
377
+ console.error(error);
378
+ };
379
+ Children = {
380
+ map: mapChildren,
381
+ forEach: function(children, forEachFunc, forEachContext) {
382
+ mapChildren(children, function() {
383
+ forEachFunc.apply(this, arguments);
384
+ }, forEachContext);
385
+ },
386
+ count: function(children) {
387
+ var n = 0;
388
+ mapChildren(children, function() {
389
+ n++;
390
+ });
391
+ return n;
392
+ },
393
+ toArray: function(children) {
394
+ return mapChildren(children, function(child) {
395
+ return child;
396
+ }) || [];
397
+ },
398
+ only: function(children) {
399
+ if (!isValidElement(children))
400
+ throw Error("React.Children.only expected to receive a single React element child.");
401
+ return children;
402
+ }
403
+ };
404
+ $Activity = REACT_ACTIVITY_TYPE;
405
+ $Children = Children;
406
+ $Component = Component;
407
+ $Fragment = REACT_FRAGMENT_TYPE;
408
+ $Profiler = REACT_PROFILER_TYPE;
409
+ $PureComponent = PureComponent;
410
+ $StrictMode = REACT_STRICT_MODE_TYPE;
411
+ $Suspense = REACT_SUSPENSE_TYPE;
412
+ $ViewTransition = REACT_VIEW_TRANSITION_TYPE;
413
+ $__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE = ReactSharedInternals;
414
+ $__COMPILER_RUNTIME = {
415
+ __proto__: null,
416
+ c: function(size) {
417
+ return ReactSharedInternals.H.useMemoCache(size);
418
+ }
419
+ };
420
+ $addTransitionType = addTransitionType;
421
+ $isValidElement = isValidElement;
422
+ $startTransition = startTransition;
423
+ });
424
+
425
+ // ../../node_modules/.bun/react@19.3.0/node_modules/react/index.js
426
+ var require_react = __commonJS(function(exports, module) {
427
+ init_react_production();
428
+ if (true) {
429
+ module.exports = exports_react_production;
430
+ }
431
+ });
432
+
433
+ export { require_react };
@@ -0,0 +1,50 @@
1
+ import {
2
+ __commonJS,
3
+ __esm,
4
+ __export
5
+ } from "./chunk-wwqypxre.js";
6
+
7
+ // ../../node_modules/.bun/react@19.3.0/node_modules/react/cjs/react-jsx-runtime.production.js
8
+ var exports_react_jsx_runtime_production = {};
9
+ __export(exports_react_jsx_runtime_production, {
10
+ Fragment: () => $Fragment,
11
+ jsx: () => $jsx,
12
+ jsxs: () => $jsxs
13
+ });
14
+ function jsxProd(type, config, maybeKey) {
15
+ var key = null;
16
+ maybeKey !== undefined && (key = "" + maybeKey);
17
+ config.key !== undefined && (key = "" + config.key);
18
+ if ("key" in config) {
19
+ maybeKey = {};
20
+ for (var propName in config)
21
+ propName !== "key" && (maybeKey[propName] = config[propName]);
22
+ } else
23
+ maybeKey = config;
24
+ config = maybeKey.ref;
25
+ return {
26
+ $$typeof: REACT_ELEMENT_TYPE,
27
+ type,
28
+ key,
29
+ ref: config !== undefined ? config : null,
30
+ props: maybeKey
31
+ };
32
+ }
33
+ var REACT_ELEMENT_TYPE, REACT_FRAGMENT_TYPE, $Fragment, $jsx, $jsxs;
34
+ var init_react_jsx_runtime_production = __esm(() => {
35
+ REACT_ELEMENT_TYPE = Symbol.for("react.transitional.element");
36
+ REACT_FRAGMENT_TYPE = Symbol.for("react.fragment");
37
+ $Fragment = REACT_FRAGMENT_TYPE;
38
+ $jsx = jsxProd;
39
+ $jsxs = jsxProd;
40
+ });
41
+
42
+ // ../../node_modules/.bun/react@19.3.0/node_modules/react/jsx-runtime.js
43
+ var require_jsx_runtime = __commonJS(function(exports, module) {
44
+ init_react_jsx_runtime_production();
45
+ if (true) {
46
+ module.exports = exports_react_jsx_runtime_production;
47
+ }
48
+ });
49
+
50
+ export { require_jsx_runtime };
@@ -0,0 +1,186 @@
1
+ import {
2
+ require_react
3
+ } from "./chunk-k3cm8j6r.js";
4
+ import {
5
+ __commonJS,
6
+ __esm,
7
+ __export,
8
+ __toESM
9
+ } from "./chunk-wwqypxre.js";
10
+
11
+ // ../../node_modules/.bun/react-dom@19.3.0+62547eec5a2188e3/node_modules/react-dom/cjs/react-dom.production.js
12
+ var exports_react_dom_production = {};
13
+ __export(exports_react_dom_production, {
14
+ __DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE: () => $__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,
15
+ browser: () => $browser,
16
+ createPortal: () => $createPortal,
17
+ flushSync: () => $flushSync,
18
+ preconnect: () => $preconnect,
19
+ prefetchDNS: () => $prefetchDNS,
20
+ preinit: () => $preinit,
21
+ preinitModule: () => $preinitModule,
22
+ preload: () => $preload,
23
+ preloadModule: () => $preloadModule,
24
+ requestFormReset: () => $requestFormReset,
25
+ unstable_batchedUpdates: () => $unstable_batchedUpdates,
26
+ useFormState: () => $useFormState,
27
+ useFormStatus: () => $useFormStatus,
28
+ version: () => $version
29
+ });
30
+ function formatProdErrorMessage(code) {
31
+ var url = "https://react.dev/errors/" + code;
32
+ if (1 < arguments.length) {
33
+ url += "?args[]=" + encodeURIComponent(arguments[1]);
34
+ for (var i = 2;i < arguments.length; i++)
35
+ url += "&args[]=" + encodeURIComponent(arguments[i]);
36
+ }
37
+ return "Minified React error #" + code + "; visit " + url + " for the full message or use the non-minified dev environment for full errors and additional helpful warnings.";
38
+ }
39
+ function noop() {}
40
+ function createPortal$1(children, containerInfo, implementation) {
41
+ var key = 3 < arguments.length && arguments[3] !== undefined ? arguments[3] : null;
42
+ return {
43
+ $$typeof: REACT_PORTAL_TYPE,
44
+ key: key == null ? null : key === REACT_OPTIMISTIC_KEY ? REACT_OPTIMISTIC_KEY : "" + key,
45
+ children,
46
+ containerInfo,
47
+ implementation
48
+ };
49
+ }
50
+ function getCrossOriginStringAs(as, input) {
51
+ if (as === "font")
52
+ return "";
53
+ if (typeof input === "string")
54
+ return input === "use-credentials" ? input : "";
55
+ }
56
+ var React, Internals, REACT_PORTAL_TYPE, REACT_RECOVERABLE_TYPE, REACT_OPTIMISTIC_KEY, ReactSharedInternals, $__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE, $browser = function(reason) {
57
+ return { $$typeof: REACT_RECOVERABLE_TYPE, _reason: reason };
58
+ }, $createPortal = function(children, container) {
59
+ var key = 2 < arguments.length && arguments[2] !== undefined ? arguments[2] : null;
60
+ if (!container || container.nodeType !== 1 && container.nodeType !== 9 && container.nodeType !== 11)
61
+ throw Error(formatProdErrorMessage(299));
62
+ return createPortal$1(children, container, null, key);
63
+ }, $flushSync = function(fn) {
64
+ var previousTransition = ReactSharedInternals.T, previousUpdatePriority = Internals.p;
65
+ try {
66
+ if (ReactSharedInternals.T = null, Internals.p = 2, fn)
67
+ return fn();
68
+ } finally {
69
+ ReactSharedInternals.T = previousTransition, Internals.p = previousUpdatePriority, Internals.d.f();
70
+ }
71
+ }, $preconnect = function(href, options) {
72
+ typeof href === "string" && (options ? (options = options.crossOrigin, options = typeof options === "string" ? options === "use-credentials" ? options : "" : undefined) : options = null, Internals.d.C(href, options));
73
+ }, $prefetchDNS = function(href) {
74
+ typeof href === "string" && Internals.d.D(href);
75
+ }, $preinit = function(href, options) {
76
+ if (typeof href === "string" && options && typeof options.as === "string") {
77
+ var as = options.as, crossOrigin = getCrossOriginStringAs(as, options.crossOrigin), integrity = typeof options.integrity === "string" ? options.integrity : undefined, fetchPriority = typeof options.fetchPriority === "string" ? options.fetchPriority : undefined;
78
+ as === "style" ? Internals.d.S(href, typeof options.precedence === "string" ? options.precedence : undefined, {
79
+ crossOrigin,
80
+ integrity,
81
+ fetchPriority
82
+ }) : as === "script" && Internals.d.X(href, {
83
+ crossOrigin,
84
+ integrity,
85
+ fetchPriority,
86
+ nonce: typeof options.nonce === "string" ? options.nonce : undefined
87
+ });
88
+ }
89
+ }, $preinitModule = function(href, options) {
90
+ if (typeof href === "string")
91
+ if (typeof options === "object" && options !== null) {
92
+ if (options.as == null || options.as === "script") {
93
+ var crossOrigin = getCrossOriginStringAs(options.as, options.crossOrigin);
94
+ Internals.d.M(href, {
95
+ crossOrigin,
96
+ integrity: typeof options.integrity === "string" ? options.integrity : undefined,
97
+ nonce: typeof options.nonce === "string" ? options.nonce : undefined,
98
+ fetchPriority: typeof options.fetchPriority === "string" ? options.fetchPriority : undefined
99
+ });
100
+ }
101
+ } else
102
+ options == null && Internals.d.M(href);
103
+ }, $preload = function(href, options) {
104
+ if (typeof href === "string" && typeof options === "object" && options !== null && typeof options.as === "string") {
105
+ var as = options.as, crossOrigin = getCrossOriginStringAs(as, options.crossOrigin);
106
+ Internals.d.L(href, as, {
107
+ crossOrigin,
108
+ integrity: typeof options.integrity === "string" ? options.integrity : undefined,
109
+ nonce: typeof options.nonce === "string" ? options.nonce : undefined,
110
+ type: typeof options.type === "string" ? options.type : undefined,
111
+ fetchPriority: typeof options.fetchPriority === "string" ? options.fetchPriority : undefined,
112
+ referrerPolicy: typeof options.referrerPolicy === "string" ? options.referrerPolicy : undefined,
113
+ imageSrcSet: typeof options.imageSrcSet === "string" ? options.imageSrcSet : undefined,
114
+ imageSizes: typeof options.imageSizes === "string" ? options.imageSizes : undefined,
115
+ media: typeof options.media === "string" ? options.media : undefined
116
+ });
117
+ }
118
+ }, $preloadModule = function(href, options) {
119
+ if (typeof href === "string")
120
+ if (options) {
121
+ var crossOrigin = getCrossOriginStringAs(options.as, options.crossOrigin);
122
+ Internals.d.m(href, {
123
+ as: typeof options.as === "string" && options.as !== "script" ? options.as : undefined,
124
+ crossOrigin,
125
+ integrity: typeof options.integrity === "string" ? options.integrity : undefined,
126
+ nonce: typeof options.nonce === "string" ? options.nonce : undefined,
127
+ fetchPriority: typeof options.fetchPriority === "string" ? options.fetchPriority : undefined
128
+ });
129
+ } else
130
+ Internals.d.m(href);
131
+ }, $requestFormReset = function(form) {
132
+ Internals.d.r(form);
133
+ }, $unstable_batchedUpdates = function(fn, a) {
134
+ return fn(a);
135
+ }, $useFormState = function(action, initialState, permalink) {
136
+ return ReactSharedInternals.H.useFormState(action, initialState, permalink);
137
+ }, $useFormStatus = function() {
138
+ return ReactSharedInternals.H.useHostTransitionStatus();
139
+ }, $version = "19.3.0";
140
+ var init_react_dom_production = __esm(() => {
141
+ React = __toESM(require_react(), 1);
142
+ Internals = {
143
+ d: {
144
+ f: noop,
145
+ r: function() {
146
+ throw Error(formatProdErrorMessage(522));
147
+ },
148
+ D: noop,
149
+ C: noop,
150
+ L: noop,
151
+ m: noop,
152
+ X: noop,
153
+ S: noop,
154
+ M: noop
155
+ },
156
+ p: 0,
157
+ findDOMNode: null
158
+ };
159
+ REACT_PORTAL_TYPE = Symbol.for("react.portal");
160
+ REACT_RECOVERABLE_TYPE = Symbol.for("react.recoverable");
161
+ REACT_OPTIMISTIC_KEY = Symbol.for("react.optimistic_key");
162
+ ReactSharedInternals = React.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE;
163
+ $__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE = Internals;
164
+ });
165
+
166
+ // ../../node_modules/.bun/react-dom@19.3.0+62547eec5a2188e3/node_modules/react-dom/index.js
167
+ var require_react_dom = __commonJS(function(exports, module) {
168
+ init_react_dom_production();
169
+ function checkDCE() {
170
+ if (typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ === "undefined" || typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE !== "function") {
171
+ return;
172
+ }
173
+ if (false) {}
174
+ try {
175
+ __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(checkDCE);
176
+ } catch (err) {
177
+ console.error(err);
178
+ }
179
+ }
180
+ if (true) {
181
+ checkDCE();
182
+ module.exports = exports_react_dom_production;
183
+ }
184
+ });
185
+
186
+ export { require_react_dom };