moi-computer 0.0.3 → 0.1.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (216) hide show
  1. package/README.md +2 -2
  2. package/bunfig.toml +4 -0
  3. package/client/api/workspaces.ts +277 -6
  4. package/client/assets/mcp/agentation.png +0 -0
  5. package/client/assets/mcp/airtable.png +0 -0
  6. package/client/assets/mcp/apollo.png +0 -0
  7. package/client/assets/mcp/asana.png +0 -0
  8. package/client/assets/mcp/box.png +0 -0
  9. package/client/assets/mcp/chrome.svg +33 -0
  10. package/client/assets/mcp/clickup.png +0 -0
  11. package/client/assets/mcp/cloudflare.png +0 -0
  12. package/client/assets/mcp/context7.png +0 -0
  13. package/client/assets/mcp/datadog.png +0 -0
  14. package/client/assets/mcp/dropbox.png +0 -0
  15. package/client/assets/mcp/elevenlabs.png +0 -0
  16. package/client/assets/mcp/exa.png +0 -0
  17. package/client/assets/mcp/firecrawl.png +0 -0
  18. package/client/assets/mcp/gmail.png +0 -0
  19. package/client/assets/mcp/googlecalendar.png +0 -0
  20. package/client/assets/mcp/googledrive.png +0 -0
  21. package/client/assets/mcp/grafana.png +0 -0
  22. package/client/assets/mcp/huggingface.png +0 -0
  23. package/client/assets/mcp/intercom.png +0 -0
  24. package/client/assets/mcp/monday.png +0 -0
  25. package/client/assets/mcp/mongodb.png +0 -0
  26. package/client/assets/mcp/paper.png +0 -0
  27. package/client/assets/mcp/paypal.png +0 -0
  28. package/client/assets/mcp/perplexity.png +0 -0
  29. package/client/assets/mcp/postgresql.png +0 -0
  30. package/client/assets/mcp/posthog.png +0 -0
  31. package/client/assets/mcp/puppeteer.png +0 -0
  32. package/client/assets/mcp/railway.png +0 -0
  33. package/client/assets/mcp/redis.png +0 -0
  34. package/client/assets/mcp/salesforce.png +0 -0
  35. package/client/assets/mcp/shopify.png +0 -0
  36. package/client/assets/mcp/snowflake.png +0 -0
  37. package/client/assets/mcp/telegram.png +0 -0
  38. package/client/assets/mcp/twilio.png +0 -0
  39. package/client/assets/mcp/zapier.png +0 -0
  40. package/client/components/App.tsx +7 -1
  41. package/client/components/ChatInput.tsx +194 -13
  42. package/client/components/ChatPanel.tsx +116 -47
  43. package/client/components/ChatPopup.tsx +1 -1
  44. package/client/components/IconMcp.tsx +21 -0
  45. package/client/components/McpMenu.tsx +125 -0
  46. package/client/components/ModelPicker.tsx +147 -0
  47. package/client/components/Scratchpad.tsx +775 -0
  48. package/client/components/ShimmerText.tsx +20 -0
  49. package/client/components/ThreadSelector.tsx +2 -2
  50. package/client/components/TurnView.tsx +111 -531
  51. package/client/components/WidgetShell.tsx +1 -1
  52. package/client/components/WorkspacesPage.tsx +12 -4
  53. package/client/components/layout/SidebarLayout.tsx +18 -9
  54. package/client/components/playground/ToolCallsPage.tsx +81 -0
  55. package/client/components/routes/workspace/[id].tsx +534 -141
  56. package/client/components/routes/workspace/create.tsx +155 -0
  57. package/client/components/settings/IconPicker.tsx +590 -0
  58. package/client/components/settings/SettingsPages.tsx +307 -0
  59. package/client/components/settings/WorkspaceSettings.tsx +92 -0
  60. package/client/components/tool-group/CodeBlock.tsx +41 -0
  61. package/client/components/tool-group/Collapse.tsx +28 -0
  62. package/client/components/tool-group/ReadImagePreview.tsx +46 -0
  63. package/client/components/tool-group/SubagentCard.tsx +135 -0
  64. package/client/components/tool-group/TimelineRow.tsx +147 -0
  65. package/client/components/tool-group/ToolCallGroup.tsx +231 -0
  66. package/client/components/tool-group/ToolOutput.tsx +139 -0
  67. package/client/components/tool-group/detect.ts +93 -0
  68. package/client/components/tool-group/fixtures.ts +315 -0
  69. package/client/components/tool-group/format.ts +211 -0
  70. package/client/components/tool-group/index.ts +9 -0
  71. package/client/components/ui/dialog.tsx +58 -0
  72. package/client/components/ui/hover-card.tsx +44 -0
  73. package/client/components/ui/switch.tsx +23 -0
  74. package/client/components/ui/tooltip.tsx +54 -0
  75. package/client/externalize-react.ts +6 -0
  76. package/client/hooks/useApplet.ts +117 -0
  77. package/client/hooks/useChat.ts +162 -62
  78. package/client/hooks/useMeiEvents.ts +9 -2
  79. package/client/hooks/useStickToBottom.ts +86 -0
  80. package/client/hooks/useWorkspaceTheme.ts +8 -2
  81. package/client/index.css +48 -2
  82. package/client/index.html +9 -5
  83. package/client/index.tsx +29 -2
  84. package/client/lib/WorkspaceContext.tsx +5 -8
  85. package/client/lib/WorkspaceLayoutContext.tsx +30 -10
  86. package/client/lib/applet-cache.ts +54 -0
  87. package/client/lib/connection.ts +237 -0
  88. package/client/lib/flags.ts +10 -0
  89. package/client/lib/mcp-icons.ts +142 -10
  90. package/client/lib/preview-turn.ts +37 -0
  91. package/client/lib/render-icon.ts +173 -0
  92. package/client/lib/scratch-executor.ts +20 -0
  93. package/client/lib/uploads.ts +18 -0
  94. package/client/main.tsx +5 -0
  95. package/client/store/live.ts +282 -0
  96. package/client/structured-clone-shim.ts +14 -0
  97. package/client/theme.css +2 -2
  98. package/client/vendor/emojibase/en/data.json +1 -0
  99. package/client/vendor/emojibase/en/messages.json +1 -0
  100. package/client/vendor/react/development/_impl/react-dom-client.js +15871 -0
  101. package/client/vendor/react/development/_impl/react-dom.js +223 -0
  102. package/client/vendor/react/development/_impl/react-jsx-dev-runtime.js +256 -0
  103. package/client/vendor/react/development/_impl/react-jsx-runtime.js +260 -0
  104. package/client/vendor/react/development/_impl/react.js +863 -0
  105. package/client/vendor/react/development/react-dom-client.js +6 -0
  106. package/client/vendor/react/development/react-dom.js +17 -0
  107. package/client/vendor/react/development/react-jsx-dev-runtime.js +5 -0
  108. package/client/vendor/react/development/react-jsx-runtime.js +6 -0
  109. package/client/vendor/react/development/react.js +47 -0
  110. package/client/vendor/react/production/_impl/react-dom-client.js +10361 -0
  111. package/client/vendor/react/production/_impl/react-dom.js +184 -0
  112. package/client/vendor/react/production/_impl/react-jsx-dev-runtime.js +37 -0
  113. package/client/vendor/react/production/_impl/react-jsx-runtime.js +60 -0
  114. package/client/vendor/react/production/_impl/react.js +428 -0
  115. package/client/vendor/react/production/react-dom-client.js +6 -0
  116. package/client/vendor/react/production/react-dom.js +17 -0
  117. package/client/vendor/react/production/react-jsx-dev-runtime.js +5 -0
  118. package/client/vendor/react/production/react-jsx-runtime.js +6 -0
  119. package/client/vendor/react/production/react.js +47 -0
  120. package/dist/agentation-4s0nn45p.png +0 -0
  121. package/dist/airtable-hsa66v6q.png +0 -0
  122. package/dist/apollo-2ed5dy2d.png +0 -0
  123. package/dist/asana-tvgtwbx2.png +0 -0
  124. package/dist/box-w3n36t5g.png +0 -0
  125. package/dist/chrome-tspm94rw.svg +33 -0
  126. package/dist/chunk-kc6e9nd4.css +1 -0
  127. package/dist/chunk-yf3p7qg7.js +673 -0
  128. package/dist/clickup-qqrqqvqb.png +0 -0
  129. package/dist/cloudflare-j9p931v6.png +0 -0
  130. package/dist/context7-8ht0xjfy.png +0 -0
  131. package/dist/datadog-70ne3yzt.png +0 -0
  132. package/dist/dropbox-4m5s9mgr.png +0 -0
  133. package/dist/elevenlabs-2nzzej1t.png +0 -0
  134. package/dist/exa-qqj3vr0x.png +0 -0
  135. package/dist/firecrawl-w2t8nehx.png +0 -0
  136. package/dist/gmail-sg6a5v3x.png +0 -0
  137. package/dist/googlecalendar-nqhh2v7r.png +0 -0
  138. package/dist/googledrive-6s8xyab7.png +0 -0
  139. package/dist/grafana-1yfsnwr6.png +0 -0
  140. package/dist/huggingface-kxzaxj83.png +0 -0
  141. package/dist/index.html +10 -6
  142. package/dist/intercom-td763jt8.png +0 -0
  143. package/dist/monday-jdbs4wwf.png +0 -0
  144. package/dist/mongodb-emzxvhd5.png +0 -0
  145. package/dist/paper-zbt34fab.png +0 -0
  146. package/dist/paypal-kwwf7xsc.png +0 -0
  147. package/dist/perplexity-4y63rxvj.png +0 -0
  148. package/dist/postgresql-qsspbsr1.png +0 -0
  149. package/dist/posthog-sphppc4w.png +0 -0
  150. package/dist/puppeteer-2xjt1a9b.png +0 -0
  151. package/dist/railway-834de8d2.png +0 -0
  152. package/dist/redis-spm6w2m1.png +0 -0
  153. package/dist/salesforce-1mk56v4z.png +0 -0
  154. package/dist/shopify-90dadaav.png +0 -0
  155. package/dist/snowflake-hfpykpgy.png +0 -0
  156. package/dist/telegram-v6tjyrs7.png +0 -0
  157. package/dist/twilio-dpyjdwpj.png +0 -0
  158. package/dist/zapier-p67qfch0.png +0 -0
  159. package/lib/attachment-note.ts +48 -0
  160. package/lib/claude-adapter.ts +219 -29
  161. package/lib/format.ts +32 -0
  162. package/lib/types.ts +314 -6
  163. package/package.json +11 -5
  164. package/server/CLAUDE.md +4 -1
  165. package/server/agent.ts +25 -118
  166. package/server/api.ts +593 -0
  167. package/server/applets.ts +396 -0
  168. package/server/build-applet.ts +580 -0
  169. package/server/cc-session.ts +611 -0
  170. package/server/cli-colors.ts +17 -0
  171. package/server/cli-ui.ts +52 -0
  172. package/server/cli.ts +965 -73
  173. package/server/constants.ts +1 -1
  174. package/server/control.ts +166 -19
  175. package/server/debug.ts +10 -0
  176. package/server/events.ts +24 -0
  177. package/server/functions-worker.ts +18 -2
  178. package/server/functions.ts +59 -12
  179. package/server/icon.ts +13 -0
  180. package/server/layout.ts +25 -3
  181. package/server/mcp.ts +125 -0
  182. package/server/moi-scaffold.ts +85 -0
  183. package/server/openclaw-session.ts +41 -10
  184. package/server/openclaw.ts +22 -0
  185. package/server/preview.ts +70 -0
  186. package/server/registry.ts +32 -2
  187. package/server/scratchpad-executor.ts +380 -0
  188. package/server/scratchpad-relay.ts +45 -0
  189. package/server/scratchpad.ts +171 -0
  190. package/server/skill-version.ts +146 -0
  191. package/server/skills-template.ts +6 -1
  192. package/server/state.ts +22 -36
  193. package/server/static.ts +23 -0
  194. package/server/status.ts +94 -0
  195. package/server/thread-config.ts +125 -0
  196. package/server/uploads.ts +0 -0
  197. package/server/vendor.ts +63 -0
  198. package/server/views.ts +0 -0
  199. package/server/web.ts +108 -253
  200. package/server/widgets.ts +52 -142
  201. package/server/workspace-config.ts +37 -0
  202. package/server/workspace-env.ts +407 -0
  203. package/server/workspace-init.ts +66 -0
  204. package/workspace/.claude/skills/moi-workspace/DESIGN.md +109 -0
  205. package/workspace/.claude/skills/moi-workspace/SCRATCHPAD.md +57 -0
  206. package/workspace/.claude/skills/moi-workspace/SKILL.md +252 -0
  207. package/workspace/.claude/skills/moi-workspace/VIEW-DESIGN.md +22 -0
  208. package/client/hooks/useWidget.ts +0 -72
  209. package/client/hooks/useWidgetList.ts +0 -30
  210. package/client/lib/ws.ts +0 -129
  211. package/client/store/chat.tsx +0 -162
  212. package/dist/chunk-4615fa69.js +0 -67
  213. package/dist/chunk-582xmy05.css +0 -1
  214. package/server/build-widget.ts +0 -343
  215. package/workspace/.claude/skills/widgets/DESIGN.md +0 -630
  216. package/workspace/.claude/skills/widgets/SKILL.md +0 -176
@@ -0,0 +1,223 @@
1
+ var __create = Object.create;
2
+ var __getProtoOf = Object.getPrototypeOf;
3
+ var __defProp = Object.defineProperty;
4
+ var __getOwnPropNames = Object.getOwnPropertyNames;
5
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
6
+ function __accessProp(key) {
7
+ return this[key];
8
+ }
9
+ var __toESMCache_node;
10
+ var __toESMCache_esm;
11
+ var __toESM = (mod, isNodeMode, target) => {
12
+ var canCache = mod != null && typeof mod === "object";
13
+ if (canCache) {
14
+ var cache = isNodeMode ? __toESMCache_node ??= new WeakMap : __toESMCache_esm ??= new WeakMap;
15
+ var cached = cache.get(mod);
16
+ if (cached)
17
+ return cached;
18
+ }
19
+ target = mod != null ? __create(__getProtoOf(mod)) : {};
20
+ const to = isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target;
21
+ for (let key of __getOwnPropNames(mod))
22
+ if (!__hasOwnProp.call(to, key))
23
+ __defProp(to, key, {
24
+ get: __accessProp.bind(mod, key),
25
+ enumerable: true
26
+ });
27
+ if (canCache)
28
+ cache.set(mod, to);
29
+ return to;
30
+ };
31
+ var __commonJS = (cb, mod) => () => (mod || cb((mod = { exports: {} }).exports, mod), mod.exports);
32
+
33
+ // node_modules/react-dom/cjs/react-dom.development.js
34
+ import * as React from "react";
35
+ var require_react_dom_development = __commonJS((exports) => {
36
+ (function() {
37
+ function noop() {}
38
+ function testStringCoercion(value) {
39
+ return "" + value;
40
+ }
41
+ function createPortal$1(children, containerInfo, implementation) {
42
+ var key = 3 < arguments.length && arguments[3] !== undefined ? arguments[3] : null;
43
+ try {
44
+ testStringCoercion(key);
45
+ var JSCompiler_inline_result = false;
46
+ } catch (e) {
47
+ JSCompiler_inline_result = true;
48
+ }
49
+ JSCompiler_inline_result && (console.error("The provided key is an unsupported type %s. This value must be coerced to a string before using it here.", typeof Symbol === "function" && Symbol.toStringTag && key[Symbol.toStringTag] || key.constructor.name || "Object"), testStringCoercion(key));
50
+ return {
51
+ $$typeof: REACT_PORTAL_TYPE,
52
+ key: key == null ? null : "" + key,
53
+ children,
54
+ containerInfo,
55
+ implementation
56
+ };
57
+ }
58
+ function getCrossOriginStringAs(as, input) {
59
+ if (as === "font")
60
+ return "";
61
+ if (typeof input === "string")
62
+ return input === "use-credentials" ? input : "";
63
+ }
64
+ function getValueDescriptorExpectingObjectForWarning(thing) {
65
+ return thing === null ? "`null`" : thing === undefined ? "`undefined`" : thing === "" ? "an empty string" : 'something with type "' + typeof thing + '"';
66
+ }
67
+ function getValueDescriptorExpectingEnumForWarning(thing) {
68
+ return thing === null ? "`null`" : thing === undefined ? "`undefined`" : thing === "" ? "an empty string" : typeof thing === "string" ? JSON.stringify(thing) : typeof thing === "number" ? "`" + thing + "`" : 'something with type "' + typeof thing + '"';
69
+ }
70
+ function resolveDispatcher() {
71
+ var dispatcher = ReactSharedInternals.H;
72
+ dispatcher === null && console.error(`Invalid hook call. Hooks can only be called inside of the body of a function component. This could happen for one of the following reasons:
73
+ 1. You might have mismatching versions of React and the renderer (such as React DOM)
74
+ 2. You might be breaking the Rules of Hooks
75
+ 3. You might have more than one copy of React in the same app
76
+ See https://react.dev/link/invalid-hook-call for tips about how to debug and fix this problem.`);
77
+ return dispatcher;
78
+ }
79
+ typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ !== "undefined" && typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart === "function" && __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(Error());
80
+ var Internals = {
81
+ d: {
82
+ f: noop,
83
+ r: function() {
84
+ throw Error("Invalid form element. requestFormReset must be passed a form that was rendered by React.");
85
+ },
86
+ D: noop,
87
+ C: noop,
88
+ L: noop,
89
+ m: noop,
90
+ X: noop,
91
+ S: noop,
92
+ M: noop
93
+ },
94
+ p: 0,
95
+ findDOMNode: null
96
+ }, REACT_PORTAL_TYPE = Symbol.for("react.portal"), ReactSharedInternals = React.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE;
97
+ typeof Map === "function" && Map.prototype != null && typeof Map.prototype.forEach === "function" && typeof Set === "function" && Set.prototype != null && typeof Set.prototype.clear === "function" && typeof Set.prototype.forEach === "function" || console.error("React depends on Map and Set built-in types. Make sure that you load a polyfill in older browsers. https://reactjs.org/link/react-polyfills");
98
+ exports.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE = Internals;
99
+ exports.createPortal = function(children, container) {
100
+ var key = 2 < arguments.length && arguments[2] !== undefined ? arguments[2] : null;
101
+ if (!container || container.nodeType !== 1 && container.nodeType !== 9 && container.nodeType !== 11)
102
+ throw Error("Target container is not a DOM element.");
103
+ return createPortal$1(children, container, null, key);
104
+ };
105
+ exports.flushSync = function(fn) {
106
+ var previousTransition = ReactSharedInternals.T, previousUpdatePriority = Internals.p;
107
+ try {
108
+ if (ReactSharedInternals.T = null, Internals.p = 2, fn)
109
+ return fn();
110
+ } finally {
111
+ ReactSharedInternals.T = previousTransition, Internals.p = previousUpdatePriority, Internals.d.f() && console.error("flushSync was called from inside a lifecycle method. React cannot flush when React is already rendering. Consider moving this call to a scheduler task or micro task.");
112
+ }
113
+ };
114
+ exports.preconnect = function(href, options) {
115
+ typeof href === "string" && href ? options != null && typeof options !== "object" ? console.error("ReactDOM.preconnect(): Expected the `options` argument (second) to be an object but encountered %s instead. The only supported option at this time is `crossOrigin` which accepts a string.", getValueDescriptorExpectingEnumForWarning(options)) : options != null && typeof options.crossOrigin !== "string" && console.error("ReactDOM.preconnect(): Expected the `crossOrigin` option (second argument) to be a string but encountered %s instead. Try removing this option or passing a string value instead.", getValueDescriptorExpectingObjectForWarning(options.crossOrigin)) : console.error("ReactDOM.preconnect(): Expected the `href` argument (first) to be a non-empty string but encountered %s instead.", getValueDescriptorExpectingObjectForWarning(href));
116
+ typeof href === "string" && (options ? (options = options.crossOrigin, options = typeof options === "string" ? options === "use-credentials" ? options : "" : undefined) : options = null, Internals.d.C(href, options));
117
+ };
118
+ exports.prefetchDNS = function(href) {
119
+ if (typeof href !== "string" || !href)
120
+ console.error("ReactDOM.prefetchDNS(): Expected the `href` argument (first) to be a non-empty string but encountered %s instead.", getValueDescriptorExpectingObjectForWarning(href));
121
+ else if (1 < arguments.length) {
122
+ var options = arguments[1];
123
+ typeof options === "object" && options.hasOwnProperty("crossOrigin") ? console.error("ReactDOM.prefetchDNS(): Expected only one argument, `href`, but encountered %s as a second argument instead. This argument is reserved for future options and is currently disallowed. It looks like the you are attempting to set a crossOrigin property for this DNS lookup hint. Browsers do not perform DNS queries using CORS and setting this attribute on the resource hint has no effect. Try calling ReactDOM.prefetchDNS() with just a single string argument, `href`.", getValueDescriptorExpectingEnumForWarning(options)) : console.error("ReactDOM.prefetchDNS(): Expected only one argument, `href`, but encountered %s as a second argument instead. This argument is reserved for future options and is currently disallowed. Try calling ReactDOM.prefetchDNS() with just a single string argument, `href`.", getValueDescriptorExpectingEnumForWarning(options));
124
+ }
125
+ typeof href === "string" && Internals.d.D(href);
126
+ };
127
+ exports.preinit = function(href, options) {
128
+ typeof href === "string" && href ? options == null || typeof options !== "object" ? console.error("ReactDOM.preinit(): Expected the `options` argument (second) to be an object with an `as` property describing the type of resource to be preinitialized but encountered %s instead.", getValueDescriptorExpectingEnumForWarning(options)) : options.as !== "style" && options.as !== "script" && console.error('ReactDOM.preinit(): Expected the `as` property in the `options` argument (second) to contain a valid value describing the type of resource to be preinitialized but encountered %s instead. Valid values for `as` are "style" and "script".', getValueDescriptorExpectingEnumForWarning(options.as)) : console.error("ReactDOM.preinit(): Expected the `href` argument (first) to be a non-empty string but encountered %s instead.", getValueDescriptorExpectingObjectForWarning(href));
129
+ if (typeof href === "string" && options && typeof options.as === "string") {
130
+ 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;
131
+ as === "style" ? Internals.d.S(href, typeof options.precedence === "string" ? options.precedence : undefined, {
132
+ crossOrigin,
133
+ integrity,
134
+ fetchPriority
135
+ }) : as === "script" && Internals.d.X(href, {
136
+ crossOrigin,
137
+ integrity,
138
+ fetchPriority,
139
+ nonce: typeof options.nonce === "string" ? options.nonce : undefined
140
+ });
141
+ }
142
+ };
143
+ exports.preinitModule = function(href, options) {
144
+ var encountered = "";
145
+ typeof href === "string" && href || (encountered += " The `href` argument encountered was " + getValueDescriptorExpectingObjectForWarning(href) + ".");
146
+ options !== undefined && typeof options !== "object" ? encountered += " The `options` argument encountered was " + getValueDescriptorExpectingObjectForWarning(options) + "." : options && ("as" in options) && options.as !== "script" && (encountered += " The `as` option encountered was " + getValueDescriptorExpectingEnumForWarning(options.as) + ".");
147
+ if (encountered)
148
+ console.error("ReactDOM.preinitModule(): Expected up to two arguments, a non-empty `href` string and, optionally, an `options` object with a valid `as` property.%s", encountered);
149
+ else
150
+ switch (encountered = options && typeof options.as === "string" ? options.as : "script", encountered) {
151
+ case "script":
152
+ break;
153
+ default:
154
+ encountered = getValueDescriptorExpectingEnumForWarning(encountered), console.error('ReactDOM.preinitModule(): Currently the only supported "as" type for this function is "script" but received "%s" instead. This warning was generated for `href` "%s". In the future other module types will be supported, aligning with the import-attributes proposal. Learn more here: (https://github.com/tc39/proposal-import-attributes)', encountered, href);
155
+ }
156
+ if (typeof href === "string")
157
+ if (typeof options === "object" && options !== null) {
158
+ if (options.as == null || options.as === "script")
159
+ encountered = getCrossOriginStringAs(options.as, options.crossOrigin), Internals.d.M(href, {
160
+ crossOrigin: encountered,
161
+ integrity: typeof options.integrity === "string" ? options.integrity : undefined,
162
+ nonce: typeof options.nonce === "string" ? options.nonce : undefined
163
+ });
164
+ } else
165
+ options == null && Internals.d.M(href);
166
+ };
167
+ exports.preload = function(href, options) {
168
+ var encountered = "";
169
+ typeof href === "string" && href || (encountered += " The `href` argument encountered was " + getValueDescriptorExpectingObjectForWarning(href) + ".");
170
+ options == null || typeof options !== "object" ? encountered += " The `options` argument encountered was " + getValueDescriptorExpectingObjectForWarning(options) + "." : typeof options.as === "string" && options.as || (encountered += " The `as` option encountered was " + getValueDescriptorExpectingObjectForWarning(options.as) + ".");
171
+ encountered && console.error('ReactDOM.preload(): Expected two arguments, a non-empty `href` string and an `options` object with an `as` property valid for a `<link rel="preload" as="..." />` tag.%s', encountered);
172
+ if (typeof href === "string" && typeof options === "object" && options !== null && typeof options.as === "string") {
173
+ encountered = options.as;
174
+ var crossOrigin = getCrossOriginStringAs(encountered, options.crossOrigin);
175
+ Internals.d.L(href, encountered, {
176
+ crossOrigin,
177
+ integrity: typeof options.integrity === "string" ? options.integrity : undefined,
178
+ nonce: typeof options.nonce === "string" ? options.nonce : undefined,
179
+ type: typeof options.type === "string" ? options.type : undefined,
180
+ fetchPriority: typeof options.fetchPriority === "string" ? options.fetchPriority : undefined,
181
+ referrerPolicy: typeof options.referrerPolicy === "string" ? options.referrerPolicy : undefined,
182
+ imageSrcSet: typeof options.imageSrcSet === "string" ? options.imageSrcSet : undefined,
183
+ imageSizes: typeof options.imageSizes === "string" ? options.imageSizes : undefined,
184
+ media: typeof options.media === "string" ? options.media : undefined
185
+ });
186
+ }
187
+ };
188
+ exports.preloadModule = function(href, options) {
189
+ var encountered = "";
190
+ typeof href === "string" && href || (encountered += " The `href` argument encountered was " + getValueDescriptorExpectingObjectForWarning(href) + ".");
191
+ options !== undefined && typeof options !== "object" ? encountered += " The `options` argument encountered was " + getValueDescriptorExpectingObjectForWarning(options) + "." : options && ("as" in options) && typeof options.as !== "string" && (encountered += " The `as` option encountered was " + getValueDescriptorExpectingObjectForWarning(options.as) + ".");
192
+ encountered && console.error('ReactDOM.preloadModule(): Expected two arguments, a non-empty `href` string and, optionally, an `options` object with an `as` property valid for a `<link rel="modulepreload" as="..." />` tag.%s', encountered);
193
+ typeof href === "string" && (options ? (encountered = getCrossOriginStringAs(options.as, options.crossOrigin), Internals.d.m(href, {
194
+ as: typeof options.as === "string" && options.as !== "script" ? options.as : undefined,
195
+ crossOrigin: encountered,
196
+ integrity: typeof options.integrity === "string" ? options.integrity : undefined
197
+ })) : Internals.d.m(href));
198
+ };
199
+ exports.requestFormReset = function(form) {
200
+ Internals.d.r(form);
201
+ };
202
+ exports.unstable_batchedUpdates = function(fn, a) {
203
+ return fn(a);
204
+ };
205
+ exports.useFormState = function(action, initialState, permalink) {
206
+ return resolveDispatcher().useFormState(action, initialState, permalink);
207
+ };
208
+ exports.useFormStatus = function() {
209
+ return resolveDispatcher().useHostTransitionStatus();
210
+ };
211
+ exports.version = "19.2.4";
212
+ typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ !== "undefined" && typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop === "function" && __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error());
213
+ })();
214
+ });
215
+
216
+ // node_modules/react-dom/index.js
217
+ var require_react_dom = __commonJS((exports, module) => {
218
+ var react_dom_development = __toESM(require_react_dom_development());
219
+ if (false) {} else {
220
+ module.exports = react_dom_development;
221
+ }
222
+ });
223
+ export default require_react_dom();
@@ -0,0 +1,256 @@
1
+ var __create = Object.create;
2
+ var __getProtoOf = Object.getPrototypeOf;
3
+ var __defProp = Object.defineProperty;
4
+ var __getOwnPropNames = Object.getOwnPropertyNames;
5
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
6
+ function __accessProp(key) {
7
+ return this[key];
8
+ }
9
+ var __toESMCache_node;
10
+ var __toESMCache_esm;
11
+ var __toESM = (mod, isNodeMode, target) => {
12
+ var canCache = mod != null && typeof mod === "object";
13
+ if (canCache) {
14
+ var cache = isNodeMode ? __toESMCache_node ??= new WeakMap : __toESMCache_esm ??= new WeakMap;
15
+ var cached = cache.get(mod);
16
+ if (cached)
17
+ return cached;
18
+ }
19
+ target = mod != null ? __create(__getProtoOf(mod)) : {};
20
+ const to = isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target;
21
+ for (let key of __getOwnPropNames(mod))
22
+ if (!__hasOwnProp.call(to, key))
23
+ __defProp(to, key, {
24
+ get: __accessProp.bind(mod, key),
25
+ enumerable: true
26
+ });
27
+ if (canCache)
28
+ cache.set(mod, to);
29
+ return to;
30
+ };
31
+ var __commonJS = (cb, mod) => () => (mod || cb((mod = { exports: {} }).exports, mod), mod.exports);
32
+
33
+ // node_modules/react/cjs/react-jsx-dev-runtime.development.js
34
+ import * as React$ext from "react";
35
+ let React = React$ext;
36
+ var require_react_jsx_dev_runtime_development = __commonJS((exports) => {
37
+ (function() {
38
+ function getComponentNameFromType(type) {
39
+ if (type == null)
40
+ return null;
41
+ if (typeof type === "function")
42
+ return type.$$typeof === REACT_CLIENT_REFERENCE ? null : type.displayName || type.name || null;
43
+ if (typeof type === "string")
44
+ return type;
45
+ switch (type) {
46
+ case REACT_FRAGMENT_TYPE:
47
+ return "Fragment";
48
+ case REACT_PROFILER_TYPE:
49
+ return "Profiler";
50
+ case REACT_STRICT_MODE_TYPE:
51
+ return "StrictMode";
52
+ case REACT_SUSPENSE_TYPE:
53
+ return "Suspense";
54
+ case REACT_SUSPENSE_LIST_TYPE:
55
+ return "SuspenseList";
56
+ case REACT_ACTIVITY_TYPE:
57
+ return "Activity";
58
+ }
59
+ if (typeof type === "object")
60
+ switch (typeof type.tag === "number" && console.error("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."), type.$$typeof) {
61
+ case REACT_PORTAL_TYPE:
62
+ return "Portal";
63
+ case REACT_CONTEXT_TYPE:
64
+ return type.displayName || "Context";
65
+ case REACT_CONSUMER_TYPE:
66
+ return (type._context.displayName || "Context") + ".Consumer";
67
+ case REACT_FORWARD_REF_TYPE:
68
+ var innerType = type.render;
69
+ type = type.displayName;
70
+ type || (type = innerType.displayName || innerType.name || "", type = type !== "" ? "ForwardRef(" + type + ")" : "ForwardRef");
71
+ return type;
72
+ case REACT_MEMO_TYPE:
73
+ return innerType = type.displayName || null, innerType !== null ? innerType : getComponentNameFromType(type.type) || "Memo";
74
+ case REACT_LAZY_TYPE:
75
+ innerType = type._payload;
76
+ type = type._init;
77
+ try {
78
+ return getComponentNameFromType(type(innerType));
79
+ } catch (x) {}
80
+ }
81
+ return null;
82
+ }
83
+ function testStringCoercion(value) {
84
+ return "" + value;
85
+ }
86
+ function checkKeyStringCoercion(value) {
87
+ try {
88
+ testStringCoercion(value);
89
+ var JSCompiler_inline_result = false;
90
+ } catch (e) {
91
+ JSCompiler_inline_result = true;
92
+ }
93
+ if (JSCompiler_inline_result) {
94
+ JSCompiler_inline_result = console;
95
+ var JSCompiler_temp_const = JSCompiler_inline_result.error;
96
+ var JSCompiler_inline_result$jscomp$0 = typeof Symbol === "function" && Symbol.toStringTag && value[Symbol.toStringTag] || value.constructor.name || "Object";
97
+ JSCompiler_temp_const.call(JSCompiler_inline_result, "The provided key is an unsupported type %s. This value must be coerced to a string before using it here.", JSCompiler_inline_result$jscomp$0);
98
+ return testStringCoercion(value);
99
+ }
100
+ }
101
+ function getTaskName(type) {
102
+ if (type === REACT_FRAGMENT_TYPE)
103
+ return "<>";
104
+ if (typeof type === "object" && type !== null && type.$$typeof === REACT_LAZY_TYPE)
105
+ return "<...>";
106
+ try {
107
+ var name = getComponentNameFromType(type);
108
+ return name ? "<" + name + ">" : "<...>";
109
+ } catch (x) {
110
+ return "<...>";
111
+ }
112
+ }
113
+ function getOwner() {
114
+ var dispatcher = ReactSharedInternals.A;
115
+ return dispatcher === null ? null : dispatcher.getOwner();
116
+ }
117
+ function UnknownOwner() {
118
+ return Error("react-stack-top-frame");
119
+ }
120
+ function hasValidKey(config) {
121
+ if (hasOwnProperty.call(config, "key")) {
122
+ var getter = Object.getOwnPropertyDescriptor(config, "key").get;
123
+ if (getter && getter.isReactWarning)
124
+ return false;
125
+ }
126
+ return config.key !== undefined;
127
+ }
128
+ function defineKeyPropWarningGetter(props, displayName) {
129
+ function warnAboutAccessingKey() {
130
+ specialPropKeyWarningShown || (specialPropKeyWarningShown = true, console.error("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://react.dev/link/special-props)", displayName));
131
+ }
132
+ warnAboutAccessingKey.isReactWarning = true;
133
+ Object.defineProperty(props, "key", {
134
+ get: warnAboutAccessingKey,
135
+ configurable: true
136
+ });
137
+ }
138
+ function elementRefGetterWithDeprecationWarning() {
139
+ var componentName = getComponentNameFromType(this.type);
140
+ didWarnAboutElementRef[componentName] || (didWarnAboutElementRef[componentName] = true, console.error("Accessing element.ref was removed in React 19. ref is now a regular prop. It will be removed from the JSX Element type in a future release."));
141
+ componentName = this.props.ref;
142
+ return componentName !== undefined ? componentName : null;
143
+ }
144
+ function ReactElement(type, key, props, owner, debugStack, debugTask) {
145
+ var refProp = props.ref;
146
+ type = {
147
+ $$typeof: REACT_ELEMENT_TYPE,
148
+ type,
149
+ key,
150
+ props,
151
+ _owner: owner
152
+ };
153
+ (refProp !== undefined ? refProp : null) !== null ? Object.defineProperty(type, "ref", {
154
+ enumerable: false,
155
+ get: elementRefGetterWithDeprecationWarning
156
+ }) : Object.defineProperty(type, "ref", { enumerable: false, value: null });
157
+ type._store = {};
158
+ Object.defineProperty(type._store, "validated", {
159
+ configurable: false,
160
+ enumerable: false,
161
+ writable: true,
162
+ value: 0
163
+ });
164
+ Object.defineProperty(type, "_debugInfo", {
165
+ configurable: false,
166
+ enumerable: false,
167
+ writable: true,
168
+ value: null
169
+ });
170
+ Object.defineProperty(type, "_debugStack", {
171
+ configurable: false,
172
+ enumerable: false,
173
+ writable: true,
174
+ value: debugStack
175
+ });
176
+ Object.defineProperty(type, "_debugTask", {
177
+ configurable: false,
178
+ enumerable: false,
179
+ writable: true,
180
+ value: debugTask
181
+ });
182
+ Object.freeze && (Object.freeze(type.props), Object.freeze(type));
183
+ return type;
184
+ }
185
+ function jsxDEVImpl(type, config, maybeKey, isStaticChildren, debugStack, debugTask) {
186
+ var children = config.children;
187
+ if (children !== undefined)
188
+ if (isStaticChildren)
189
+ if (isArrayImpl(children)) {
190
+ for (isStaticChildren = 0;isStaticChildren < children.length; isStaticChildren++)
191
+ validateChildKeys(children[isStaticChildren]);
192
+ Object.freeze && Object.freeze(children);
193
+ } else
194
+ console.error("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");
195
+ else
196
+ validateChildKeys(children);
197
+ if (hasOwnProperty.call(config, "key")) {
198
+ children = getComponentNameFromType(type);
199
+ var keys = Object.keys(config).filter(function(k) {
200
+ return k !== "key";
201
+ });
202
+ isStaticChildren = 0 < keys.length ? "{key: someKey, " + keys.join(": ..., ") + ": ...}" : "{key: someKey}";
203
+ didWarnAboutKeySpread[children + isStaticChildren] || (keys = 0 < keys.length ? "{" + keys.join(": ..., ") + ": ...}" : "{}", console.error(`A props object containing a "key" prop is being spread into JSX:
204
+ let props = %s;
205
+ <%s {...props} />
206
+ React keys must be passed directly to JSX without using spread:
207
+ let props = %s;
208
+ <%s key={someKey} {...props} />`, isStaticChildren, children, keys, children), didWarnAboutKeySpread[children + isStaticChildren] = true);
209
+ }
210
+ children = null;
211
+ maybeKey !== undefined && (checkKeyStringCoercion(maybeKey), children = "" + maybeKey);
212
+ hasValidKey(config) && (checkKeyStringCoercion(config.key), children = "" + config.key);
213
+ if ("key" in config) {
214
+ maybeKey = {};
215
+ for (var propName in config)
216
+ propName !== "key" && (maybeKey[propName] = config[propName]);
217
+ } else
218
+ maybeKey = config;
219
+ children && defineKeyPropWarningGetter(maybeKey, typeof type === "function" ? type.displayName || type.name || "Unknown" : type);
220
+ return ReactElement(type, children, maybeKey, getOwner(), debugStack, debugTask);
221
+ }
222
+ function validateChildKeys(node) {
223
+ isValidElement(node) ? node._store && (node._store.validated = 1) : typeof node === "object" && node !== null && node.$$typeof === REACT_LAZY_TYPE && (node._payload.status === "fulfilled" ? isValidElement(node._payload.value) && node._payload.value._store && (node._payload.value._store.validated = 1) : node._store && (node._store.validated = 1));
224
+ }
225
+ function isValidElement(object) {
226
+ return typeof object === "object" && object !== null && object.$$typeof === REACT_ELEMENT_TYPE;
227
+ }
228
+ var REACT_ELEMENT_TYPE = Symbol.for("react.transitional.element"), REACT_PORTAL_TYPE = Symbol.for("react.portal"), REACT_FRAGMENT_TYPE = Symbol.for("react.fragment"), REACT_STRICT_MODE_TYPE = Symbol.for("react.strict_mode"), REACT_PROFILER_TYPE = Symbol.for("react.profiler"), REACT_CONSUMER_TYPE = Symbol.for("react.consumer"), REACT_CONTEXT_TYPE = Symbol.for("react.context"), REACT_FORWARD_REF_TYPE = Symbol.for("react.forward_ref"), REACT_SUSPENSE_TYPE = Symbol.for("react.suspense"), REACT_SUSPENSE_LIST_TYPE = Symbol.for("react.suspense_list"), REACT_MEMO_TYPE = Symbol.for("react.memo"), REACT_LAZY_TYPE = Symbol.for("react.lazy"), REACT_ACTIVITY_TYPE = Symbol.for("react.activity"), REACT_CLIENT_REFERENCE = Symbol.for("react.client.reference"), ReactSharedInternals = React.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE, hasOwnProperty = Object.prototype.hasOwnProperty, isArrayImpl = Array.isArray, createTask = console.createTask ? console.createTask : function() {
229
+ return null;
230
+ };
231
+ React = {
232
+ react_stack_bottom_frame: function(callStackForError) {
233
+ return callStackForError();
234
+ }
235
+ };
236
+ var specialPropKeyWarningShown;
237
+ var didWarnAboutElementRef = {};
238
+ var unknownOwnerDebugStack = React.react_stack_bottom_frame.bind(React, UnknownOwner)();
239
+ var unknownOwnerDebugTask = createTask(getTaskName(UnknownOwner));
240
+ var didWarnAboutKeySpread = {};
241
+ exports.Fragment = REACT_FRAGMENT_TYPE;
242
+ exports.jsxDEV = function(type, config, maybeKey, isStaticChildren) {
243
+ var trackActualOwner = 1e4 > ReactSharedInternals.recentlyCreatedOwnerStacks++;
244
+ return jsxDEVImpl(type, config, maybeKey, isStaticChildren, trackActualOwner ? Error("react-stack-top-frame") : unknownOwnerDebugStack, trackActualOwner ? createTask(getTaskName(type)) : unknownOwnerDebugTask);
245
+ };
246
+ })();
247
+ });
248
+
249
+ // node_modules/react/jsx-dev-runtime.js
250
+ var require_jsx_dev_runtime = __commonJS((exports, module) => {
251
+ var react_jsx_dev_runtime_development = __toESM(require_react_jsx_dev_runtime_development());
252
+ if (false) {} else {
253
+ module.exports = react_jsx_dev_runtime_development;
254
+ }
255
+ });
256
+ export default require_jsx_dev_runtime();