@1agh/maude 0.27.0 → 0.28.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 (143) hide show
  1. package/cli/commands/design-link.test.mjs +46 -0
  2. package/cli/commands/design.mjs +69 -3
  3. package/cli/commands/design.test.mjs +97 -1
  4. package/cli/commands/doctor.mjs +110 -5
  5. package/cli/commands/doctor.test.mjs +52 -0
  6. package/cli/lib/cache.mjs +1 -1
  7. package/cli/lib/config-lint.mjs +1 -1
  8. package/cli/lib/copy-tree.mjs +1 -1
  9. package/cli/lib/design-link.mjs +39 -9
  10. package/cli/lib/flow-design-integration.test.mjs +1 -1
  11. package/cli/lib/gitignore-block.test.mjs +2 -2
  12. package/cli/lib/stack-detect.mjs +1 -1
  13. package/package.json +9 -9
  14. package/plugins/design/dev-server/activity.ts +256 -0
  15. package/plugins/design/dev-server/ai-banner.tsx +4 -0
  16. package/plugins/design/dev-server/annotations-context-toolbar.tsx +1 -1
  17. package/plugins/design/dev-server/annotations-layer.tsx +3 -3
  18. package/plugins/design/dev-server/api.ts +1 -1
  19. package/plugins/design/dev-server/artboard-activity-overlay.tsx +67 -0
  20. package/plugins/design/dev-server/bin/scenario-report.mjs +1 -1
  21. package/plugins/design/dev-server/bin/server-up.sh +102 -9
  22. package/plugins/design/dev-server/bin/visual-sanity.sh +19 -3
  23. package/plugins/design/dev-server/canvas-comment-mount.tsx +165 -10
  24. package/plugins/design/dev-server/canvas-cursors.ts +1 -1
  25. package/plugins/design/dev-server/canvas-lib.tsx +72 -36
  26. package/plugins/design/dev-server/canvas-shell.tsx +1 -1
  27. package/plugins/design/dev-server/collab/awareness-bridge.ts +1 -1
  28. package/plugins/design/dev-server/collab/index.ts +4 -4
  29. package/plugins/design/dev-server/collab/persistence.ts +1 -1
  30. package/plugins/design/dev-server/config.schema.json +2 -1
  31. package/plugins/design/dev-server/context-menu.tsx +1 -1
  32. package/plugins/design/dev-server/dist/client.bundle.js +19 -19
  33. package/plugins/design/dev-server/dist/comment-mount.js +84 -6
  34. package/plugins/design/dev-server/dist/runtime/lib0_decoding.js +1 -620
  35. package/plugins/design/dev-server/dist/runtime/lib0_encoding.js +1 -604
  36. package/plugins/design/dev-server/dist/runtime/motion.js +4 -4944
  37. package/plugins/design/dev-server/dist/runtime/motion_react.js +10 -10054
  38. package/plugins/design/dev-server/dist/runtime/pixi-js.js +2775 -52482
  39. package/plugins/design/dev-server/dist/runtime/react-dom.js +1 -231
  40. package/plugins/design/dev-server/dist/runtime/react-dom_client.js +9 -10357
  41. package/plugins/design/dev-server/dist/runtime/react.js +1 -535
  42. package/plugins/design/dev-server/dist/runtime/react_jsx-dev-runtime.js +1 -60
  43. package/plugins/design/dev-server/dist/runtime/react_jsx-runtime.js +1 -85
  44. package/plugins/design/dev-server/dist/runtime/y-protocols_awareness.js +1 -376
  45. package/plugins/design/dev-server/dist/runtime/y-protocols_sync.js +1 -100
  46. package/plugins/design/dev-server/dist/runtime/yjs.js +5 -6687
  47. package/plugins/design/dev-server/draw/brush.ts +3 -3
  48. package/plugins/design/dev-server/draw/index.ts +5 -5
  49. package/plugins/design/dev-server/draw/layout.ts +1 -1
  50. package/plugins/design/dev-server/draw/test/geometry.test.ts +1 -1
  51. package/plugins/design/dev-server/draw/test/layout.test.ts +1 -1
  52. package/plugins/design/dev-server/draw/test/primitives.test.ts +1 -1
  53. package/plugins/design/dev-server/draw/test/serialize.test.ts +1 -1
  54. package/plugins/design/dev-server/equal-spacing-handles.tsx +1 -1
  55. package/plugins/design/dev-server/examples/perf-100-artboards.tsx +1 -2
  56. package/plugins/design/dev-server/export-dialog.tsx +1 -1
  57. package/plugins/design/dev-server/exporters/html.ts +1 -1
  58. package/plugins/design/dev-server/exporters/index.ts +2 -2
  59. package/plugins/design/dev-server/exporters/pdf.ts +1 -1
  60. package/plugins/design/dev-server/exporters/png.ts +1 -1
  61. package/plugins/design/dev-server/exporters/pptx.ts +1 -1
  62. package/plugins/design/dev-server/exporters/svg.ts +1 -1
  63. package/plugins/design/dev-server/http.ts +1 -1
  64. package/plugins/design/dev-server/inspect.ts +31 -1
  65. package/plugins/design/dev-server/marquee-overlay.tsx +1 -1
  66. package/plugins/design/dev-server/participants-chrome.tsx +86 -1
  67. package/plugins/design/dev-server/server.ts +11 -2
  68. package/plugins/design/dev-server/sync/agent.ts +1 -1
  69. package/plugins/design/dev-server/sync/index.ts +29 -24
  70. package/plugins/design/dev-server/sync/materialize.ts +2 -2
  71. package/plugins/design/dev-server/sync/migrate-seed.ts +1 -1
  72. package/plugins/design/dev-server/sync/projection.ts +3 -3
  73. package/plugins/design/dev-server/test/activity.test.ts +195 -0
  74. package/plugins/design/dev-server/test/ai-activity.test.ts +1 -1
  75. package/plugins/design/dev-server/test/annotations-api.test.ts +1 -2
  76. package/plugins/design/dev-server/test/annotations-draw-modifiers.test.ts +2 -2
  77. package/plugins/design/dev-server/test/annotations-layer.test.ts +6 -6
  78. package/plugins/design/dev-server/test/annotations-roundtrip.test.ts +1 -1
  79. package/plugins/design/dev-server/test/artboard-activity-overlay.test.tsx +56 -0
  80. package/plugins/design/dev-server/test/boot-self-heal.test.ts +1 -1
  81. package/plugins/design/dev-server/test/canvas-cursors.test.ts +1 -1
  82. package/plugins/design/dev-server/test/canvas-edit.test.ts +1 -1
  83. package/plugins/design/dev-server/test/canvas-header.test.ts +1 -1
  84. package/plugins/design/dev-server/test/canvas-hmr-runtime.test.tsx +114 -0
  85. package/plugins/design/dev-server/test/canvas-lib-inline.test.ts +1 -1
  86. package/plugins/design/dev-server/test/canvas-lib-resolver.test.ts +1 -2
  87. package/plugins/design/dev-server/test/canvas-meta-api.test.ts +1 -2
  88. package/plugins/design/dev-server/test/canvas-origin-gate.test.ts +1 -2
  89. package/plugins/design/dev-server/test/collab-annotations-bridge.test.ts +1 -1
  90. package/plugins/design/dev-server/test/collab-bridge.test.ts +1 -1
  91. package/plugins/design/dev-server/test/collab-protocol.test.ts +2 -2
  92. package/plugins/design/dev-server/test/collab-room.test.ts +1 -1
  93. package/plugins/design/dev-server/test/collab-stress.test.ts +1 -1
  94. package/plugins/design/dev-server/test/comments-api.test.ts +1 -2
  95. package/plugins/design/dev-server/test/compile-entry.test.ts +1 -2
  96. package/plugins/design/dev-server/test/exporters/canva.test.ts +1 -2
  97. package/plugins/design/dev-server/test/exporters/history.test.ts +1 -2
  98. package/plugins/design/dev-server/test/exporters/pw-launch.test.ts +1 -1
  99. package/plugins/design/dev-server/test/exporters/scope.test.ts +1 -2
  100. package/plugins/design/dev-server/test/exporters/zip.test.ts +1 -2
  101. package/plugins/design/dev-server/test/git-lifecycle.test.ts +1 -2
  102. package/plugins/design/dev-server/test/handoff-static-frames.test.ts +1 -1
  103. package/plugins/design/dev-server/test/handoff.test.ts +1 -1
  104. package/plugins/design/dev-server/test/hmr-broadcast.test.ts +1 -1
  105. package/plugins/design/dev-server/test/input-router.test.ts +2 -2
  106. package/plugins/design/dev-server/test/locator.test.ts +1 -1
  107. package/plugins/design/dev-server/test/runtime-bundle.test.ts +1 -1
  108. package/plugins/design/dev-server/test/shared-doc-convergence.test.ts +1 -1
  109. package/plugins/design/dev-server/test/shared-doc-migrate.test.ts +2 -3
  110. package/plugins/design/dev-server/test/shared-doc-projection.test.ts +1 -1
  111. package/plugins/design/dev-server/test/snap-distance-pill.test.ts +1 -1
  112. package/plugins/design/dev-server/test/sync-agent.test.ts +2 -3
  113. package/plugins/design/dev-server/test/sync-atomic-write.test.ts +2 -3
  114. package/plugins/design/dev-server/test/sync-codec.test.ts +1 -1
  115. package/plugins/design/dev-server/test/sync-connection-state.test.ts +1 -1
  116. package/plugins/design/dev-server/test/sync-echo-guard.test.ts +1 -1
  117. package/plugins/design/dev-server/test/sync-fs-mirror.test.ts +1 -2
  118. package/plugins/design/dev-server/test/sync-hardening.test.ts +4 -5
  119. package/plugins/design/dev-server/test/sync-hubs-config.test.ts +1 -2
  120. package/plugins/design/dev-server/test/sync-meta-codec.test.ts +1 -1
  121. package/plugins/design/dev-server/test/sync-runtime.test.ts +37 -14
  122. package/plugins/design/dev-server/test/sync-status.test.ts +1 -1
  123. package/plugins/design/dev-server/test/sync-untrusted.test.ts +1 -2
  124. package/plugins/design/dev-server/test/undo-stack.test.ts +2 -2
  125. package/plugins/design/dev-server/test/use-agent-presence.test.tsx +117 -0
  126. package/plugins/design/dev-server/test/use-artboard-drag.test.ts +3 -3
  127. package/plugins/design/dev-server/test/use-canvas-activity.test.tsx +206 -0
  128. package/plugins/design/dev-server/test/use-selection-set.test.tsx +1 -1
  129. package/plugins/design/dev-server/test/use-snap-guides.test.ts +1 -1
  130. package/plugins/design/dev-server/test/use-undo-stack.test.tsx +2 -2
  131. package/plugins/design/dev-server/use-agent-presence.tsx +244 -0
  132. package/plugins/design/dev-server/use-annotation-resize.tsx +1 -5
  133. package/plugins/design/dev-server/use-annotation-selection.tsx +2 -6
  134. package/plugins/design/dev-server/use-annotations-visibility.tsx +1 -1
  135. package/plugins/design/dev-server/use-artboard-drag.tsx +1 -1
  136. package/plugins/design/dev-server/use-canvas-activity.tsx +252 -0
  137. package/plugins/design/dev-server/use-collab.tsx +3 -4
  138. package/plugins/design/dev-server/use-selection-set.tsx +1 -1
  139. package/plugins/design/dev-server/use-tool-mode.tsx +1 -1
  140. package/plugins/design/dev-server/use-undo-stack.tsx +4 -5
  141. package/plugins/design/dev-server/ws.ts +21 -2
  142. package/plugins/design/templates/_shell.html +108 -3
  143. package/plugins/design/templates/design-system-inspiration/SUB-AGENT-PROMPTS.md +18 -3
@@ -1,231 +1 @@
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
- var __toESM = (mod, isNodeMode, target) => {
7
- target = mod != null ? __create(__getProtoOf(mod)) : {};
8
- const to = isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target;
9
- for (let key of __getOwnPropNames(mod))
10
- if (!__hasOwnProp.call(to, key))
11
- __defProp(to, key, {
12
- get: () => mod[key],
13
- enumerable: true
14
- });
15
- return to;
16
- };
17
- var __commonJS = (cb, mod) => () => (mod || cb((mod = { exports: {} }).exports, mod), mod.exports);
18
- var __export = (target, all) => {
19
- for (var name in all)
20
- __defProp(target, name, {
21
- get: all[name],
22
- enumerable: true,
23
- configurable: true,
24
- set: (newValue) => all[name] = () => newValue
25
- });
26
- };
27
- var __esm = (fn, res) => () => (fn && (res = fn(fn = 0)), res);
28
-
29
- // ../../../node_modules/.pnpm/react-dom@19.2.6_react@19.2.6/node_modules/react-dom/cjs/react-dom.production.js
30
- var exports_react_dom_production = {};
31
- __export(exports_react_dom_production, {
32
- version: () => $version,
33
- useFormStatus: () => $useFormStatus,
34
- useFormState: () => $useFormState,
35
- unstable_batchedUpdates: () => $unstable_batchedUpdates,
36
- requestFormReset: () => $requestFormReset,
37
- preloadModule: () => $preloadModule,
38
- preload: () => $preload,
39
- preinitModule: () => $preinitModule,
40
- preinit: () => $preinit,
41
- prefetchDNS: () => $prefetchDNS,
42
- preconnect: () => $preconnect,
43
- flushSync: () => $flushSync,
44
- createPortal: () => $createPortal,
45
- __DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE: () => $__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE
46
- });
47
- import * as React from "react";
48
- function formatProdErrorMessage(code) {
49
- var url = "https://react.dev/errors/" + code;
50
- if (1 < arguments.length) {
51
- url += "?args[]=" + encodeURIComponent(arguments[1]);
52
- for (var i = 2;i < arguments.length; i++)
53
- url += "&args[]=" + encodeURIComponent(arguments[i]);
54
- }
55
- 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.";
56
- }
57
- function noop() {}
58
- function createPortal$1(children, containerInfo, implementation) {
59
- var key = 3 < arguments.length && arguments[3] !== undefined ? arguments[3] : null;
60
- return {
61
- $$typeof: REACT_PORTAL_TYPE,
62
- key: key == null ? null : "" + key,
63
- children,
64
- containerInfo,
65
- implementation
66
- };
67
- }
68
- function getCrossOriginStringAs(as, input) {
69
- if (as === "font")
70
- return "";
71
- if (typeof input === "string")
72
- return input === "use-credentials" ? input : "";
73
- }
74
- var Internals, REACT_PORTAL_TYPE, ReactSharedInternals, $__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE, $createPortal = function(children, container) {
75
- var key = 2 < arguments.length && arguments[2] !== undefined ? arguments[2] : null;
76
- if (!container || container.nodeType !== 1 && container.nodeType !== 9 && container.nodeType !== 11)
77
- throw Error(formatProdErrorMessage(299));
78
- return createPortal$1(children, container, null, key);
79
- }, $flushSync = function(fn) {
80
- var previousTransition = ReactSharedInternals.T, previousUpdatePriority = Internals.p;
81
- try {
82
- if (ReactSharedInternals.T = null, Internals.p = 2, fn)
83
- return fn();
84
- } finally {
85
- ReactSharedInternals.T = previousTransition, Internals.p = previousUpdatePriority, Internals.d.f();
86
- }
87
- }, $preconnect = function(href, options) {
88
- typeof href === "string" && (options ? (options = options.crossOrigin, options = typeof options === "string" ? options === "use-credentials" ? options : "" : undefined) : options = null, Internals.d.C(href, options));
89
- }, $prefetchDNS = function(href) {
90
- typeof href === "string" && Internals.d.D(href);
91
- }, $preinit = function(href, options) {
92
- if (typeof href === "string" && options && typeof options.as === "string") {
93
- 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;
94
- as === "style" ? Internals.d.S(href, typeof options.precedence === "string" ? options.precedence : undefined, {
95
- crossOrigin,
96
- integrity,
97
- fetchPriority
98
- }) : as === "script" && Internals.d.X(href, {
99
- crossOrigin,
100
- integrity,
101
- fetchPriority,
102
- nonce: typeof options.nonce === "string" ? options.nonce : undefined
103
- });
104
- }
105
- }, $preinitModule = function(href, options) {
106
- if (typeof href === "string")
107
- if (typeof options === "object" && options !== null) {
108
- if (options.as == null || options.as === "script") {
109
- var crossOrigin = getCrossOriginStringAs(options.as, options.crossOrigin);
110
- Internals.d.M(href, {
111
- crossOrigin,
112
- integrity: typeof options.integrity === "string" ? options.integrity : undefined,
113
- nonce: typeof options.nonce === "string" ? options.nonce : undefined
114
- });
115
- }
116
- } else
117
- options == null && Internals.d.M(href);
118
- }, $preload = function(href, options) {
119
- if (typeof href === "string" && typeof options === "object" && options !== null && typeof options.as === "string") {
120
- var as = options.as, crossOrigin = getCrossOriginStringAs(as, options.crossOrigin);
121
- Internals.d.L(href, as, {
122
- crossOrigin,
123
- integrity: typeof options.integrity === "string" ? options.integrity : undefined,
124
- nonce: typeof options.nonce === "string" ? options.nonce : undefined,
125
- type: typeof options.type === "string" ? options.type : undefined,
126
- fetchPriority: typeof options.fetchPriority === "string" ? options.fetchPriority : undefined,
127
- referrerPolicy: typeof options.referrerPolicy === "string" ? options.referrerPolicy : undefined,
128
- imageSrcSet: typeof options.imageSrcSet === "string" ? options.imageSrcSet : undefined,
129
- imageSizes: typeof options.imageSizes === "string" ? options.imageSizes : undefined,
130
- media: typeof options.media === "string" ? options.media : undefined
131
- });
132
- }
133
- }, $preloadModule = function(href, options) {
134
- if (typeof href === "string")
135
- if (options) {
136
- var crossOrigin = getCrossOriginStringAs(options.as, options.crossOrigin);
137
- Internals.d.m(href, {
138
- as: typeof options.as === "string" && options.as !== "script" ? options.as : undefined,
139
- crossOrigin,
140
- integrity: typeof options.integrity === "string" ? options.integrity : undefined
141
- });
142
- } else
143
- Internals.d.m(href);
144
- }, $requestFormReset = function(form) {
145
- Internals.d.r(form);
146
- }, $unstable_batchedUpdates = function(fn, a) {
147
- return fn(a);
148
- }, $useFormState = function(action, initialState, permalink) {
149
- return ReactSharedInternals.H.useFormState(action, initialState, permalink);
150
- }, $useFormStatus = function() {
151
- return ReactSharedInternals.H.useHostTransitionStatus();
152
- }, $version = "19.2.6";
153
- var init_react_dom_production = __esm(() => {
154
- Internals = {
155
- d: {
156
- f: noop,
157
- r: function() {
158
- throw Error(formatProdErrorMessage(522));
159
- },
160
- D: noop,
161
- C: noop,
162
- L: noop,
163
- m: noop,
164
- X: noop,
165
- S: noop,
166
- M: noop
167
- },
168
- p: 0,
169
- findDOMNode: null
170
- };
171
- REACT_PORTAL_TYPE = Symbol.for("react.portal");
172
- ReactSharedInternals = React.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE;
173
- $__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE = Internals;
174
- });
175
-
176
- // ../../../node_modules/.pnpm/react-dom@19.2.6_react@19.2.6/node_modules/react-dom/index.js
177
- var require_react_dom = __commonJS((exports, module) => {
178
- init_react_dom_production();
179
- function checkDCE() {
180
- if (typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ === "undefined" || typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE !== "function") {
181
- return;
182
- }
183
- if (false) {}
184
- try {
185
- __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(checkDCE);
186
- } catch (err) {
187
- console.error(err);
188
- }
189
- }
190
- if (true) {
191
- checkDCE();
192
- module.exports = exports_react_dom_production;
193
- } else {}
194
- });
195
-
196
- // synth:/Users/iagh/git/claude-design/plugins/design/dev-server/.runtime-bundle-react-dom-entry.tsx
197
- var __mod__ = __toESM(require_react_dom(), 1);
198
- var {
199
- __DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,
200
- createPortal,
201
- flushSync,
202
- preconnect,
203
- prefetchDNS,
204
- preinit,
205
- preinitModule,
206
- preload,
207
- preloadModule,
208
- requestFormReset,
209
- unstable_batchedUpdates,
210
- useFormState,
211
- useFormStatus,
212
- version
213
- } = __mod__;
214
- var __runtime_bundle_react_dom_entry_default = __mod__;
215
- export {
216
- version,
217
- useFormStatus,
218
- useFormState,
219
- unstable_batchedUpdates,
220
- requestFormReset,
221
- preloadModule,
222
- preload,
223
- preinitModule,
224
- preinit,
225
- prefetchDNS,
226
- preconnect,
227
- flushSync,
228
- __runtime_bundle_react_dom_entry_default as default,
229
- createPortal,
230
- __DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE
231
- };
1
+ var U=Object.create;var{getPrototypeOf:F,defineProperty:c,getOwnPropertyNames:H}=Object;var w=Object.prototype.hasOwnProperty;var z=(r,e,t)=>{t=r!=null?U(F(r)):{};let n=e||!r||!r.__esModule?c(t,"default",{value:r,enumerable:!0}):t;for(let a of H(r))if(!w.call(n,a))c(n,a,{get:()=>r[a],enumerable:!0});return n};var $=(r,e)=>()=>(e||r((e={exports:{}}).exports,e),e.exports);var b=(r,e)=>{for(var t in e)c(r,t,{get:e[t],enumerable:!0,configurable:!0,set:(n)=>e[t]=()=>n})};var q=(r,e)=>()=>(r&&(e=r(r=0)),e);var u={};b(u,{version:()=>I,useFormStatus:()=>E,useFormState:()=>p,unstable_batchedUpdates:()=>h,requestFormReset:()=>_,preloadModule:()=>x,preload:()=>R,preinitModule:()=>O,preinit:()=>T,prefetchDNS:()=>P,preconnect:()=>S,flushSync:()=>m,createPortal:()=>v,__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE:()=>o});import*as d from"react";function l(r){var e="https://react.dev/errors/"+r;if(1<arguments.length){e+="?args[]="+encodeURIComponent(arguments[1]);for(var t=2;t<arguments.length;t++)e+="&args[]="+encodeURIComponent(arguments[t])}return"Minified React error #"+r+"; visit "+e+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}function f(){}function X(r,e,t){var n=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:D,key:n==null?null:""+n,children:r,containerInfo:e,implementation:t}}function s(r,e){if(r==="font")return"";if(typeof e==="string")return e==="use-credentials"?e:""}var i,D,g,o,v=function(r,e){var t=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11)throw Error(l(299));return X(r,e,null,t)},m=function(r){var e=g.T,t=i.p;try{if(g.T=null,i.p=2,r)return r()}finally{g.T=e,i.p=t,i.d.f()}},S=function(r,e){typeof r==="string"&&(e?(e=e.crossOrigin,e=typeof e==="string"?e==="use-credentials"?e:"":void 0):e=null,i.d.C(r,e))},P=function(r){typeof r==="string"&&i.d.D(r)},T=function(r,e){if(typeof r==="string"&&e&&typeof e.as==="string"){var t=e.as,n=s(t,e.crossOrigin),a=typeof e.integrity==="string"?e.integrity:void 0,y=typeof e.fetchPriority==="string"?e.fetchPriority:void 0;t==="style"?i.d.S(r,typeof e.precedence==="string"?e.precedence:void 0,{crossOrigin:n,integrity:a,fetchPriority:y}):t==="script"&&i.d.X(r,{crossOrigin:n,integrity:a,fetchPriority:y,nonce:typeof e.nonce==="string"?e.nonce:void 0})}},O=function(r,e){if(typeof r==="string")if(typeof e==="object"&&e!==null){if(e.as==null||e.as==="script"){var t=s(e.as,e.crossOrigin);i.d.M(r,{crossOrigin:t,integrity:typeof e.integrity==="string"?e.integrity:void 0,nonce:typeof e.nonce==="string"?e.nonce:void 0})}}else e==null&&i.d.M(r)},R=function(r,e){if(typeof r==="string"&&typeof e==="object"&&e!==null&&typeof e.as==="string"){var t=e.as,n=s(t,e.crossOrigin);i.d.L(r,t,{crossOrigin:n,integrity:typeof e.integrity==="string"?e.integrity:void 0,nonce:typeof e.nonce==="string"?e.nonce:void 0,type:typeof e.type==="string"?e.type:void 0,fetchPriority:typeof e.fetchPriority==="string"?e.fetchPriority:void 0,referrerPolicy:typeof e.referrerPolicy==="string"?e.referrerPolicy:void 0,imageSrcSet:typeof e.imageSrcSet==="string"?e.imageSrcSet:void 0,imageSizes:typeof e.imageSizes==="string"?e.imageSizes:void 0,media:typeof e.media==="string"?e.media:void 0})}},x=function(r,e){if(typeof r==="string")if(e){var t=s(e.as,e.crossOrigin);i.d.m(r,{as:typeof e.as==="string"&&e.as!=="script"?e.as:void 0,crossOrigin:t,integrity:typeof e.integrity==="string"?e.integrity:void 0})}else i.d.m(r)},_=function(r){i.d.r(r)},h=function(r,e){return r(e)},p=function(r,e,t){return g.H.useFormState(r,e,t)},E=function(){return g.H.useHostTransitionStatus()},I="19.2.7";var N=q(()=>{i={d:{f,r:function(){throw Error(l(522))},D:f,C:f,L:f,m:f,X:f,S:f,M:f},p:0,findDOMNode:null},D=Symbol.for("react.portal");g=d.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE;o=i});var A=$((k,M)=>{N();function C(){if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!=="function")return;try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(C)}catch(r){console.error(r)}}C(),M.exports=u});var L=z(A(),1),{__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE:G,createPortal:W,flushSync:j,preconnect:B,prefetchDNS:J,preinit:K,preinitModule:Q,preload:V,preloadModule:Z,requestFormReset:ee,unstable_batchedUpdates:re,useFormState:te,useFormStatus:ie,version:ne}=L;var ae=L;export{ne as version,ie as useFormStatus,te as useFormState,re as unstable_batchedUpdates,ee as requestFormReset,Z as preloadModule,V as preload,Q as preinitModule,K as preinit,J as prefetchDNS,B as preconnect,j as flushSync,ae as default,W as createPortal,G as __DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE};