📅 You're Invited: Meet the Socket team at RSAC (April 28 – May 1).RSVP
Socket
Sign inDemoInstall
Socket

react

Package Overview
Dependencies
Maintainers
2
Versions
2300
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react - npm Package Compare versions

Comparing version

to
0.0.0-experimental-143d3e1b-20250425

23

cjs/react-compiler-runtime.development.js

@@ -14,27 +14,8 @@ /**

(function () {
function error(format) {
for (
var _len2 = arguments.length,
args = Array(1 < _len2 ? _len2 - 1 : 0),
_key2 = 1;
_key2 < _len2;
_key2++
)
args[_key2 - 1] = arguments[_key2];
_len2 = format;
_key2 = Error("react-stack-top-frame");
!supportsCreateTask &&
ReactSharedInternals.getCurrentStack &&
((_key2 = ReactSharedInternals.getCurrentStack(_key2)),
"" !== _key2 && ((_len2 += "%s"), (args = args.concat([_key2]))));
args.unshift(_len2);
Function.prototype.apply.call(console.error, console, args);
}
var ReactSharedInternals =
require("react").__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,
supportsCreateTask = !!console.createTask;
require("react").__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE;
exports.c = function (size) {
var dispatcher = ReactSharedInternals.H;
null === dispatcher &&
error(
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:\n1. You might have mismatching versions of React and the renderer (such as React DOM)\n2. You might be breaking the Rules of Hooks\n3. You might have more than one copy of React in the same app\nSee https://react.dev/link/invalid-hook-call for tips about how to debug and fix this problem."

@@ -41,0 +22,0 @@ );

229

cjs/react-jsx-dev-runtime.development.js

@@ -14,24 +14,6 @@ /**

(function () {
function error(format) {
for (
var _len2 = arguments.length,
args = Array(1 < _len2 ? _len2 - 1 : 0),
_key2 = 1;
_key2 < _len2;
_key2++
)
args[_key2 - 1] = arguments[_key2];
_len2 = format;
_key2 = Error("react-stack-top-frame");
!supportsCreateTask &&
ReactSharedInternals.getCurrentStack &&
((_key2 = ReactSharedInternals.getCurrentStack(_key2)),
"" !== _key2 && ((_len2 += "%s"), (args = args.concat([_key2]))));
args.unshift(_len2);
Function.prototype.apply.call(console.error, console, args);
}
function getComponentNameFromType(type) {
if (null == type) return null;
if ("function" === typeof type)
return type.$$typeof === REACT_CLIENT_REFERENCE$2
return type.$$typeof === REACT_CLIENT_REFERENCE
? null

@@ -43,4 +25,2 @@ : type.displayName || type.name || null;

return "Fragment";
case REACT_PORTAL_TYPE:
return "Portal";
case REACT_PROFILER_TYPE:

@@ -54,2 +34,6 @@ return "Profiler";

return "SuspenseList";
case REACT_ACTIVITY_TYPE:
return "Activity";
case REACT_VIEW_TRANSITION_TYPE:
return "ViewTransition";
}

@@ -59,3 +43,3 @@ if ("object" === typeof type)

("number" === typeof type.tag &&
error(
console.error(
"Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."

@@ -65,2 +49,4 @@ ),

) {
case REACT_PORTAL_TYPE:
return "Portal";
case REACT_CONTEXT_TYPE:

@@ -103,16 +89,18 @@ return (type.displayName || "Context") + ".Provider";

}
if (JSCompiler_inline_result)
return (
(JSCompiler_inline_result =
("function" === typeof Symbol &&
Symbol.toStringTag &&
value[Symbol.toStringTag]) ||
value.constructor.name ||
"Object"),
error(
"The provided key is an unsupported type %s. This value must be coerced to a string before using it here.",
JSCompiler_inline_result
),
testStringCoercion(value)
if (JSCompiler_inline_result) {
JSCompiler_inline_result = console;
var JSCompiler_temp_const = JSCompiler_inline_result.error;
var JSCompiler_inline_result$jscomp$0 =
("function" === typeof Symbol &&
Symbol.toStringTag &&
value[Symbol.toStringTag]) ||
value.constructor.name ||
"Object";
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
);
return testStringCoercion(value);
}
}

@@ -138,8 +126,4 @@ function getTaskName(type) {

}
function hasValidRef(config) {
if (hasOwnProperty.call(config, "ref")) {
var getter = Object.getOwnPropertyDescriptor(config, "ref").get;
if (getter && getter.isReactWarning) return !1;
}
return void 0 !== config.ref;
function UnknownOwner() {
return Error("react-stack-top-frame");
}

@@ -157,3 +141,3 @@ function hasValidKey(config) {

((specialPropKeyWarningShown = !0),
error(
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)",

@@ -173,3 +157,3 @@ displayName

((didWarnAboutElementRef[componentName] = !0),
error(
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."

@@ -183,3 +167,2 @@ ));

key,
_ref,
self,

@@ -192,3 +175,3 @@ source,

) {
_ref = props.ref;
self = props.ref;
type = {

@@ -201,3 +184,3 @@ $$typeof: REACT_ELEMENT_TYPE,

};
null !== (void 0 !== _ref ? _ref : null)
null !== (void 0 !== self ? self : null)
? Object.defineProperty(type, "ref", {

@@ -246,63 +229,18 @@ enumerable: !1,

) {
if (
"string" === typeof type ||
"function" === typeof type ||
type === REACT_FRAGMENT_TYPE ||
type === REACT_PROFILER_TYPE ||
type === REACT_STRICT_MODE_TYPE ||
type === REACT_SUSPENSE_TYPE ||
type === REACT_SUSPENSE_LIST_TYPE ||
type === REACT_OFFSCREEN_TYPE ||
("object" === typeof type &&
null !== type &&
(type.$$typeof === REACT_LAZY_TYPE ||
type.$$typeof === REACT_MEMO_TYPE ||
type.$$typeof === REACT_CONTEXT_TYPE ||
type.$$typeof === REACT_CONSUMER_TYPE ||
type.$$typeof === REACT_FORWARD_REF_TYPE ||
type.$$typeof === REACT_CLIENT_REFERENCE$1 ||
void 0 !== type.getModuleId))
) {
var children = config.children;
if (void 0 !== children)
if (isStaticChildren)
if (isArrayImpl(children)) {
for (
isStaticChildren = 0;
isStaticChildren < children.length;
isStaticChildren++
)
validateChildKeys(children[isStaticChildren]);
Object.freeze && Object.freeze(children);
} else
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."
);
else validateChildKeys(children);
} else {
children = "";
if (
void 0 === type ||
("object" === typeof type &&
null !== type &&
0 === Object.keys(type).length)
)
children +=
" You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.";
null === type
? (isStaticChildren = "null")
: isArrayImpl(type)
? (isStaticChildren = "array")
: void 0 !== type && type.$$typeof === REACT_ELEMENT_TYPE
? ((isStaticChildren =
"<" + (getComponentNameFromType(type.type) || "Unknown") + " />"),
(children =
" Did you accidentally export a JSX literal instead of a component?"))
: (isStaticChildren = typeof type);
error(
"React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s",
isStaticChildren,
children
);
}
var children = config.children;
if (void 0 !== children)
if (isStaticChildren)
if (isArrayImpl(children)) {
for (
isStaticChildren = 0;
isStaticChildren < children.length;
isStaticChildren++
)
validateChildKeys(children[isStaticChildren]);
Object.freeze && Object.freeze(children);
} else
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."
);
else validateChildKeys(children);
if (hasOwnProperty.call(config, "key")) {

@@ -320,3 +258,3 @@ children = getComponentNameFromType(type);

0 < keys.length ? "{" + keys.join(": ..., ") + ": ...}" : "{}"),
error(
console.error(
'A props object containing a "key" prop is being spread into JSX:\n let props = %s;\n <%s {...props} />\nReact keys must be passed directly to JSX without using spread:\n let props = %s;\n <%s key={someKey} {...props} />',

@@ -335,3 +273,2 @@ isStaticChildren,

(checkKeyStringCoercion(config.key), (children = "" + config.key));
hasValidRef(config);
if ("key" in config) {

@@ -343,11 +280,11 @@ maybeKey = {};

children &&
((config =
defineKeyPropWarningGetter(
maybeKey,
"function" === typeof type
? type.displayName || type.name || "Unknown"
: type),
children && defineKeyPropWarningGetter(maybeKey, config));
: type
);
return ReactElement(
type,
children,
null,
self,

@@ -362,29 +299,7 @@ source,

function validateChildKeys(node) {
if (
"object" === typeof node &&
node &&
node.$$typeof !== REACT_CLIENT_REFERENCE &&
!isArrayImpl(node)
)
if (
"object" === typeof node &&
null !== node &&
node.$$typeof === REACT_ELEMENT_TYPE
)
node._store && (node._store.validated = 1);
else {
if (null === node || "object" !== typeof node) var iteratorFn = null;
else
(iteratorFn =
(MAYBE_ITERATOR_SYMBOL && node[MAYBE_ITERATOR_SYMBOL]) ||
node["@@iterator"]),
(iteratorFn =
"function" === typeof iteratorFn ? iteratorFn : null);
if (
"function" === typeof iteratorFn &&
iteratorFn !== node.entries &&
((iteratorFn = iteratorFn.call(node)), iteratorFn !== node)
)
for (; !iteratorFn.next().done; );
}
"object" === typeof node &&
null !== node &&
node.$$typeof === REACT_ELEMENT_TYPE &&
node._store &&
(node._store.validated = 1);
}

@@ -405,13 +320,9 @@ var React = require("react"),

REACT_LAZY_TYPE = Symbol.for("react.lazy"),
REACT_OFFSCREEN_TYPE = Symbol.for("react.offscreen"),
MAYBE_ITERATOR_SYMBOL = Symbol.iterator,
REACT_ACTIVITY_TYPE = Symbol.for("react.activity"),
REACT_VIEW_TRANSITION_TYPE = Symbol.for("react.view_transition"),
REACT_CLIENT_REFERENCE = Symbol.for("react.client.reference"),
ReactSharedInternals =
React.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,
supportsCreateTask = !!console.createTask,
REACT_CLIENT_REFERENCE$2 = Symbol.for("react.client.reference"),
hasOwnProperty = Object.prototype.hasOwnProperty,
REACT_CLIENT_REFERENCE$1 = Symbol.for("react.client.reference"),
isArrayImpl = Array.isArray;
new ("function" === typeof WeakMap ? WeakMap : Map)();
var REACT_CLIENT_REFERENCE = Symbol.for("react.client.reference"),
isArrayImpl = Array.isArray,
createTask = console.createTask

@@ -421,5 +332,15 @@ ? console.createTask

return null;
},
specialPropKeyWarningShown;
};
React = {
"react-stack-bottom-frame": function (callStackForError) {
return callStackForError();
}
};
var specialPropKeyWarningShown;
var didWarnAboutElementRef = {};
var unknownOwnerDebugStack = React["react-stack-bottom-frame"].bind(
React,
UnknownOwner
)();
var unknownOwnerDebugTask = createTask(getTaskName(UnknownOwner));
var didWarnAboutKeySpread = {};

@@ -435,2 +356,4 @@ exports.Fragment = REACT_FRAGMENT_TYPE;

) {
var trackActualOwner =
1e4 > ReactSharedInternals.recentlyCreatedOwnerStacks++;
return jsxDEVImpl(

@@ -443,6 +366,8 @@ type,

self,
Error("react-stack-top-frame"),
createTask(getTaskName(type))
trackActualOwner
? Error("react-stack-top-frame")
: unknownOwnerDebugStack,
trackActualOwner ? createTask(getTaskName(type)) : unknownOwnerDebugTask
);
};
})();

@@ -14,24 +14,6 @@ /**

(function () {
function error(format) {
for (
var _len2 = arguments.length,
args = Array(1 < _len2 ? _len2 - 1 : 0),
_key2 = 1;
_key2 < _len2;
_key2++
)
args[_key2 - 1] = arguments[_key2];
_len2 = format;
_key2 = Error("react-stack-top-frame");
!supportsCreateTask &&
ReactSharedInternalsServer.getCurrentStack &&
((_key2 = ReactSharedInternalsServer.getCurrentStack(_key2)),
"" !== _key2 && ((_len2 += "%s"), (args = args.concat([_key2]))));
args.unshift(_len2);
Function.prototype.apply.call(console.error, console, args);
}
function getComponentNameFromType(type) {
if (null == type) return null;
if ("function" === typeof type)
return type.$$typeof === REACT_CLIENT_REFERENCE$2
return type.$$typeof === REACT_CLIENT_REFERENCE
? null

@@ -43,4 +25,2 @@ : type.displayName || type.name || null;

return "Fragment";
case REACT_PORTAL_TYPE:
return "Portal";
case REACT_PROFILER_TYPE:

@@ -54,2 +34,6 @@ return "Profiler";

return "SuspenseList";
case REACT_ACTIVITY_TYPE:
return "Activity";
case REACT_VIEW_TRANSITION_TYPE:
return "ViewTransition";
}

@@ -59,3 +43,3 @@ if ("object" === typeof type)

("number" === typeof type.tag &&
error(
console.error(
"Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."

@@ -65,2 +49,4 @@ ),

) {
case REACT_PORTAL_TYPE:
return "Portal";
case REACT_CONTEXT_TYPE:

@@ -103,16 +89,18 @@ return (type.displayName || "Context") + ".Provider";

}
if (JSCompiler_inline_result)
return (
(JSCompiler_inline_result =
("function" === typeof Symbol &&
Symbol.toStringTag &&
value[Symbol.toStringTag]) ||
value.constructor.name ||
"Object"),
error(
"The provided key is an unsupported type %s. This value must be coerced to a string before using it here.",
JSCompiler_inline_result
),
testStringCoercion(value)
if (JSCompiler_inline_result) {
JSCompiler_inline_result = console;
var JSCompiler_temp_const = JSCompiler_inline_result.error;
var JSCompiler_inline_result$jscomp$0 =
("function" === typeof Symbol &&
Symbol.toStringTag &&
value[Symbol.toStringTag]) ||
value.constructor.name ||
"Object";
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
);
return testStringCoercion(value);
}
}

@@ -138,8 +126,4 @@ function getTaskName(type) {

}
function hasValidRef(config) {
if (hasOwnProperty.call(config, "ref")) {
var getter = Object.getOwnPropertyDescriptor(config, "ref").get;
if (getter && getter.isReactWarning) return !1;
}
return void 0 !== config.ref;
function UnknownOwner() {
return Error("react-stack-top-frame");
}

@@ -157,3 +141,3 @@ function hasValidKey(config) {

((specialPropKeyWarningShown = !0),
error(
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)",

@@ -173,3 +157,3 @@ displayName

((didWarnAboutElementRef[componentName] = !0),
error(
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."

@@ -183,3 +167,2 @@ ));

key,
_ref,
self,

@@ -192,3 +175,3 @@ source,

) {
_ref = props.ref;
self = props.ref;
type = {

@@ -201,3 +184,3 @@ $$typeof: REACT_ELEMENT_TYPE,

};
null !== (void 0 !== _ref ? _ref : null)
null !== (void 0 !== self ? self : null)
? Object.defineProperty(type, "ref", {

@@ -246,63 +229,18 @@ enumerable: !1,

) {
if (
"string" === typeof type ||
"function" === typeof type ||
type === REACT_FRAGMENT_TYPE ||
type === REACT_PROFILER_TYPE ||
type === REACT_STRICT_MODE_TYPE ||
type === REACT_SUSPENSE_TYPE ||
type === REACT_SUSPENSE_LIST_TYPE ||
type === REACT_OFFSCREEN_TYPE ||
("object" === typeof type &&
null !== type &&
(type.$$typeof === REACT_LAZY_TYPE ||
type.$$typeof === REACT_MEMO_TYPE ||
type.$$typeof === REACT_CONTEXT_TYPE ||
type.$$typeof === REACT_CONSUMER_TYPE ||
type.$$typeof === REACT_FORWARD_REF_TYPE ||
type.$$typeof === REACT_CLIENT_REFERENCE$1 ||
void 0 !== type.getModuleId))
) {
var children = config.children;
if (void 0 !== children)
if (isStaticChildren)
if (isArrayImpl(children)) {
for (
isStaticChildren = 0;
isStaticChildren < children.length;
isStaticChildren++
)
validateChildKeys(children[isStaticChildren]);
Object.freeze && Object.freeze(children);
} else
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."
);
else validateChildKeys(children);
} else {
children = "";
if (
void 0 === type ||
("object" === typeof type &&
null !== type &&
0 === Object.keys(type).length)
)
children +=
" You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.";
null === type
? (isStaticChildren = "null")
: isArrayImpl(type)
? (isStaticChildren = "array")
: void 0 !== type && type.$$typeof === REACT_ELEMENT_TYPE
? ((isStaticChildren =
"<" + (getComponentNameFromType(type.type) || "Unknown") + " />"),
(children =
" Did you accidentally export a JSX literal instead of a component?"))
: (isStaticChildren = typeof type);
error(
"React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s",
isStaticChildren,
children
);
}
var children = config.children;
if (void 0 !== children)
if (isStaticChildren)
if (isArrayImpl(children)) {
for (
isStaticChildren = 0;
isStaticChildren < children.length;
isStaticChildren++
)
validateChildKeys(children[isStaticChildren]);
Object.freeze && Object.freeze(children);
} else
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."
);
else validateChildKeys(children);
if (hasOwnProperty.call(config, "key")) {

@@ -320,3 +258,3 @@ children = getComponentNameFromType(type);

0 < keys.length ? "{" + keys.join(": ..., ") + ": ...}" : "{}"),
error(
console.error(
'A props object containing a "key" prop is being spread into JSX:\n let props = %s;\n <%s {...props} />\nReact keys must be passed directly to JSX without using spread:\n let props = %s;\n <%s key={someKey} {...props} />',

@@ -335,3 +273,2 @@ isStaticChildren,

(checkKeyStringCoercion(config.key), (children = "" + config.key));
hasValidRef(config);
if ("key" in config) {

@@ -343,11 +280,11 @@ maybeKey = {};

children &&
((config =
defineKeyPropWarningGetter(
maybeKey,
"function" === typeof type
? type.displayName || type.name || "Unknown"
: type),
children && defineKeyPropWarningGetter(maybeKey, config));
: type
);
return ReactElement(
type,
children,
null,
self,

@@ -362,29 +299,7 @@ source,

function validateChildKeys(node) {
if (
"object" === typeof node &&
node &&
node.$$typeof !== REACT_CLIENT_REFERENCE &&
!isArrayImpl(node)
)
if (
"object" === typeof node &&
null !== node &&
node.$$typeof === REACT_ELEMENT_TYPE
)
node._store && (node._store.validated = 1);
else {
if (null === node || "object" !== typeof node) var iteratorFn = null;
else
(iteratorFn =
(MAYBE_ITERATOR_SYMBOL && node[MAYBE_ITERATOR_SYMBOL]) ||
node["@@iterator"]),
(iteratorFn =
"function" === typeof iteratorFn ? iteratorFn : null);
if (
"function" === typeof iteratorFn &&
iteratorFn !== node.entries &&
((iteratorFn = iteratorFn.call(node)), iteratorFn !== node)
)
for (; !iteratorFn.next().done; );
}
"object" === typeof node &&
null !== node &&
node.$$typeof === REACT_ELEMENT_TYPE &&
node._store &&
(node._store.validated = 1);
}

@@ -405,4 +320,5 @@ var React = require("react"),

REACT_LAZY_TYPE = Symbol.for("react.lazy"),
REACT_OFFSCREEN_TYPE = Symbol.for("react.offscreen"),
MAYBE_ITERATOR_SYMBOL = Symbol.iterator,
REACT_ACTIVITY_TYPE = Symbol.for("react.activity"),
REACT_VIEW_TRANSITION_TYPE = Symbol.for("react.view_transition"),
REACT_CLIENT_REFERENCE = Symbol.for("react.client.reference"),
ReactSharedInternalsServer =

@@ -414,9 +330,4 @@ React.__SERVER_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE;

);
var supportsCreateTask = !!console.createTask,
REACT_CLIENT_REFERENCE$2 = Symbol.for("react.client.reference"),
hasOwnProperty = Object.prototype.hasOwnProperty,
REACT_CLIENT_REFERENCE$1 = Symbol.for("react.client.reference"),
isArrayImpl = Array.isArray;
new ("function" === typeof WeakMap ? WeakMap : Map)();
var REACT_CLIENT_REFERENCE = Symbol.for("react.client.reference"),
var hasOwnProperty = Object.prototype.hasOwnProperty,
isArrayImpl = Array.isArray,
createTask = console.createTask

@@ -426,8 +337,20 @@ ? console.createTask

return null;
},
specialPropKeyWarningShown;
};
React = {
"react-stack-bottom-frame": function (callStackForError) {
return callStackForError();
}
};
var specialPropKeyWarningShown;
var didWarnAboutElementRef = {};
var unknownOwnerDebugStack = React["react-stack-bottom-frame"].bind(
React,
UnknownOwner
)();
var unknownOwnerDebugTask = createTask(getTaskName(UnknownOwner));
var didWarnAboutKeySpread = {};
exports.Fragment = REACT_FRAGMENT_TYPE;
exports.jsx = function (type, config, maybeKey, source, self) {
var trackActualOwner =
1e4 > ReactSharedInternalsServer.recentlyCreatedOwnerStacks++;
return jsxDEVImpl(

@@ -440,4 +363,6 @@ type,

self,
Error("react-stack-top-frame"),
createTask(getTaskName(type))
trackActualOwner
? Error("react-stack-top-frame")
: unknownOwnerDebugStack,
trackActualOwner ? createTask(getTaskName(type)) : unknownOwnerDebugTask
);

@@ -453,2 +378,4 @@ };

) {
var trackActualOwner =
1e4 > ReactSharedInternalsServer.recentlyCreatedOwnerStacks++;
return jsxDEVImpl(

@@ -461,7 +388,11 @@ type,

self,
Error("react-stack-top-frame"),
createTask(getTaskName(type))
trackActualOwner
? Error("react-stack-top-frame")
: unknownOwnerDebugStack,
trackActualOwner ? createTask(getTaskName(type)) : unknownOwnerDebugTask
);
};
exports.jsxs = function (type, config, maybeKey, source, self) {
var trackActualOwner =
1e4 > ReactSharedInternalsServer.recentlyCreatedOwnerStacks++;
return jsxDEVImpl(

@@ -474,6 +405,8 @@ type,

self,
Error("react-stack-top-frame"),
createTask(getTaskName(type))
trackActualOwner
? Error("react-stack-top-frame")
: unknownOwnerDebugStack,
trackActualOwner ? createTask(getTaskName(type)) : unknownOwnerDebugTask
);
};
})();

@@ -14,24 +14,6 @@ /**

(function () {
function error(format) {
for (
var _len2 = arguments.length,
args = Array(1 < _len2 ? _len2 - 1 : 0),
_key2 = 1;
_key2 < _len2;
_key2++
)
args[_key2 - 1] = arguments[_key2];
_len2 = format;
_key2 = Error("react-stack-top-frame");
!supportsCreateTask &&
ReactSharedInternals.getCurrentStack &&
((_key2 = ReactSharedInternals.getCurrentStack(_key2)),
"" !== _key2 && ((_len2 += "%s"), (args = args.concat([_key2]))));
args.unshift(_len2);
Function.prototype.apply.call(console.error, console, args);
}
function getComponentNameFromType(type) {
if (null == type) return null;
if ("function" === typeof type)
return type.$$typeof === REACT_CLIENT_REFERENCE$2
return type.$$typeof === REACT_CLIENT_REFERENCE
? null

@@ -43,4 +25,2 @@ : type.displayName || type.name || null;

return "Fragment";
case REACT_PORTAL_TYPE:
return "Portal";
case REACT_PROFILER_TYPE:

@@ -54,2 +34,6 @@ return "Profiler";

return "SuspenseList";
case REACT_ACTIVITY_TYPE:
return "Activity";
case REACT_VIEW_TRANSITION_TYPE:
return "ViewTransition";
}

@@ -59,3 +43,3 @@ if ("object" === typeof type)

("number" === typeof type.tag &&
error(
console.error(
"Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."

@@ -65,2 +49,4 @@ ),

) {
case REACT_PORTAL_TYPE:
return "Portal";
case REACT_CONTEXT_TYPE:

@@ -103,16 +89,18 @@ return (type.displayName || "Context") + ".Provider";

}
if (JSCompiler_inline_result)
return (
(JSCompiler_inline_result =
("function" === typeof Symbol &&
Symbol.toStringTag &&
value[Symbol.toStringTag]) ||
value.constructor.name ||
"Object"),
error(
"The provided key is an unsupported type %s. This value must be coerced to a string before using it here.",
JSCompiler_inline_result
),
testStringCoercion(value)
if (JSCompiler_inline_result) {
JSCompiler_inline_result = console;
var JSCompiler_temp_const = JSCompiler_inline_result.error;
var JSCompiler_inline_result$jscomp$0 =
("function" === typeof Symbol &&
Symbol.toStringTag &&
value[Symbol.toStringTag]) ||
value.constructor.name ||
"Object";
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
);
return testStringCoercion(value);
}
}

@@ -138,8 +126,4 @@ function getTaskName(type) {

}
function hasValidRef(config) {
if (hasOwnProperty.call(config, "ref")) {
var getter = Object.getOwnPropertyDescriptor(config, "ref").get;
if (getter && getter.isReactWarning) return !1;
}
return void 0 !== config.ref;
function UnknownOwner() {
return Error("react-stack-top-frame");
}

@@ -157,3 +141,3 @@ function hasValidKey(config) {

((specialPropKeyWarningShown = !0),
error(
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)",

@@ -173,3 +157,3 @@ displayName

((didWarnAboutElementRef[componentName] = !0),
error(
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."

@@ -183,3 +167,2 @@ ));

key,
_ref,
self,

@@ -192,3 +175,3 @@ source,

) {
_ref = props.ref;
self = props.ref;
type = {

@@ -201,3 +184,3 @@ $$typeof: REACT_ELEMENT_TYPE,

};
null !== (void 0 !== _ref ? _ref : null)
null !== (void 0 !== self ? self : null)
? Object.defineProperty(type, "ref", {

@@ -246,63 +229,18 @@ enumerable: !1,

) {
if (
"string" === typeof type ||
"function" === typeof type ||
type === REACT_FRAGMENT_TYPE ||
type === REACT_PROFILER_TYPE ||
type === REACT_STRICT_MODE_TYPE ||
type === REACT_SUSPENSE_TYPE ||
type === REACT_SUSPENSE_LIST_TYPE ||
type === REACT_OFFSCREEN_TYPE ||
("object" === typeof type &&
null !== type &&
(type.$$typeof === REACT_LAZY_TYPE ||
type.$$typeof === REACT_MEMO_TYPE ||
type.$$typeof === REACT_CONTEXT_TYPE ||
type.$$typeof === REACT_CONSUMER_TYPE ||
type.$$typeof === REACT_FORWARD_REF_TYPE ||
type.$$typeof === REACT_CLIENT_REFERENCE$1 ||
void 0 !== type.getModuleId))
) {
var children = config.children;
if (void 0 !== children)
if (isStaticChildren)
if (isArrayImpl(children)) {
for (
isStaticChildren = 0;
isStaticChildren < children.length;
isStaticChildren++
)
validateChildKeys(children[isStaticChildren]);
Object.freeze && Object.freeze(children);
} else
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."
);
else validateChildKeys(children);
} else {
children = "";
if (
void 0 === type ||
("object" === typeof type &&
null !== type &&
0 === Object.keys(type).length)
)
children +=
" You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.";
null === type
? (isStaticChildren = "null")
: isArrayImpl(type)
? (isStaticChildren = "array")
: void 0 !== type && type.$$typeof === REACT_ELEMENT_TYPE
? ((isStaticChildren =
"<" + (getComponentNameFromType(type.type) || "Unknown") + " />"),
(children =
" Did you accidentally export a JSX literal instead of a component?"))
: (isStaticChildren = typeof type);
error(
"React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s",
isStaticChildren,
children
);
}
var children = config.children;
if (void 0 !== children)
if (isStaticChildren)
if (isArrayImpl(children)) {
for (
isStaticChildren = 0;
isStaticChildren < children.length;
isStaticChildren++
)
validateChildKeys(children[isStaticChildren]);
Object.freeze && Object.freeze(children);
} else
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."
);
else validateChildKeys(children);
if (hasOwnProperty.call(config, "key")) {

@@ -320,3 +258,3 @@ children = getComponentNameFromType(type);

0 < keys.length ? "{" + keys.join(": ..., ") + ": ...}" : "{}"),
error(
console.error(
'A props object containing a "key" prop is being spread into JSX:\n let props = %s;\n <%s {...props} />\nReact keys must be passed directly to JSX without using spread:\n let props = %s;\n <%s key={someKey} {...props} />',

@@ -335,3 +273,2 @@ isStaticChildren,

(checkKeyStringCoercion(config.key), (children = "" + config.key));
hasValidRef(config);
if ("key" in config) {

@@ -343,11 +280,11 @@ maybeKey = {};

children &&
((config =
defineKeyPropWarningGetter(
maybeKey,
"function" === typeof type
? type.displayName || type.name || "Unknown"
: type),
children && defineKeyPropWarningGetter(maybeKey, config));
: type
);
return ReactElement(
type,
children,
null,
self,

@@ -362,29 +299,7 @@ source,

function validateChildKeys(node) {
if (
"object" === typeof node &&
node &&
node.$$typeof !== REACT_CLIENT_REFERENCE &&
!isArrayImpl(node)
)
if (
"object" === typeof node &&
null !== node &&
node.$$typeof === REACT_ELEMENT_TYPE
)
node._store && (node._store.validated = 1);
else {
if (null === node || "object" !== typeof node) var iteratorFn = null;
else
(iteratorFn =
(MAYBE_ITERATOR_SYMBOL && node[MAYBE_ITERATOR_SYMBOL]) ||
node["@@iterator"]),
(iteratorFn =
"function" === typeof iteratorFn ? iteratorFn : null);
if (
"function" === typeof iteratorFn &&
iteratorFn !== node.entries &&
((iteratorFn = iteratorFn.call(node)), iteratorFn !== node)
)
for (; !iteratorFn.next().done; );
}
"object" === typeof node &&
null !== node &&
node.$$typeof === REACT_ELEMENT_TYPE &&
node._store &&
(node._store.validated = 1);
}

@@ -405,13 +320,9 @@ var React = require("react"),

REACT_LAZY_TYPE = Symbol.for("react.lazy"),
REACT_OFFSCREEN_TYPE = Symbol.for("react.offscreen"),
MAYBE_ITERATOR_SYMBOL = Symbol.iterator,
REACT_ACTIVITY_TYPE = Symbol.for("react.activity"),
REACT_VIEW_TRANSITION_TYPE = Symbol.for("react.view_transition"),
REACT_CLIENT_REFERENCE = Symbol.for("react.client.reference"),
ReactSharedInternals =
React.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,
supportsCreateTask = !!console.createTask,
REACT_CLIENT_REFERENCE$2 = Symbol.for("react.client.reference"),
hasOwnProperty = Object.prototype.hasOwnProperty,
REACT_CLIENT_REFERENCE$1 = Symbol.for("react.client.reference"),
isArrayImpl = Array.isArray;
new ("function" === typeof WeakMap ? WeakMap : Map)();
var REACT_CLIENT_REFERENCE = Symbol.for("react.client.reference"),
isArrayImpl = Array.isArray,
createTask = console.createTask

@@ -421,8 +332,20 @@ ? console.createTask

return null;
},
specialPropKeyWarningShown;
};
React = {
"react-stack-bottom-frame": function (callStackForError) {
return callStackForError();
}
};
var specialPropKeyWarningShown;
var didWarnAboutElementRef = {};
var unknownOwnerDebugStack = React["react-stack-bottom-frame"].bind(
React,
UnknownOwner
)();
var unknownOwnerDebugTask = createTask(getTaskName(UnknownOwner));
var didWarnAboutKeySpread = {};
exports.Fragment = REACT_FRAGMENT_TYPE;
exports.jsx = function (type, config, maybeKey, source, self) {
var trackActualOwner =
1e4 > ReactSharedInternals.recentlyCreatedOwnerStacks++;
return jsxDEVImpl(

@@ -435,7 +358,11 @@ type,

self,
Error("react-stack-top-frame"),
createTask(getTaskName(type))
trackActualOwner
? Error("react-stack-top-frame")
: unknownOwnerDebugStack,
trackActualOwner ? createTask(getTaskName(type)) : unknownOwnerDebugTask
);
};
exports.jsxs = function (type, config, maybeKey, source, self) {
var trackActualOwner =
1e4 > ReactSharedInternals.recentlyCreatedOwnerStacks++;
return jsxDEVImpl(

@@ -448,6 +375,8 @@ type,

self,
Error("react-stack-top-frame"),
createTask(getTaskName(type))
trackActualOwner
? Error("react-stack-top-frame")
: unknownOwnerDebugStack,
trackActualOwner ? createTask(getTaskName(type)) : unknownOwnerDebugTask
);
};
})();

@@ -14,24 +14,6 @@ /**

(function () {
function error(format) {
for (
var _len2 = arguments.length,
args = Array(1 < _len2 ? _len2 - 1 : 0),
_key2 = 1;
_key2 < _len2;
_key2++
)
args[_key2 - 1] = arguments[_key2];
_len2 = format;
_key2 = Error("react-stack-top-frame");
!supportsCreateTask &&
ReactSharedInternalsServer.getCurrentStack &&
((_key2 = ReactSharedInternalsServer.getCurrentStack(_key2)),
"" !== _key2 && ((_len2 += "%s"), (args = args.concat([_key2]))));
args.unshift(_len2);
Function.prototype.apply.call(console.error, console, args);
}
function getComponentNameFromType(type) {
if (null == type) return null;
if ("function" === typeof type)
return type.$$typeof === REACT_CLIENT_REFERENCE$2
return type.$$typeof === REACT_CLIENT_REFERENCE
? null

@@ -43,4 +25,2 @@ : type.displayName || type.name || null;

return "Fragment";
case REACT_PORTAL_TYPE:
return "Portal";
case REACT_PROFILER_TYPE:

@@ -54,2 +34,6 @@ return "Profiler";

return "SuspenseList";
case REACT_ACTIVITY_TYPE:
return "Activity";
case REACT_VIEW_TRANSITION_TYPE:
return "ViewTransition";
}

@@ -59,3 +43,3 @@ if ("object" === typeof type)

("number" === typeof type.tag &&
error(
console.error(
"Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."

@@ -65,2 +49,4 @@ ),

) {
case REACT_PORTAL_TYPE:
return "Portal";
case REACT_CONTEXT_TYPE:

@@ -103,16 +89,18 @@ return (type.displayName || "Context") + ".Provider";

}
if (JSCompiler_inline_result)
return (
(JSCompiler_inline_result =
("function" === typeof Symbol &&
Symbol.toStringTag &&
value[Symbol.toStringTag]) ||
value.constructor.name ||
"Object"),
error(
"The provided key is an unsupported type %s. This value must be coerced to a string before using it here.",
JSCompiler_inline_result
),
testStringCoercion(value)
if (JSCompiler_inline_result) {
JSCompiler_inline_result = console;
var JSCompiler_temp_const = JSCompiler_inline_result.error;
var JSCompiler_inline_result$jscomp$0 =
("function" === typeof Symbol &&
Symbol.toStringTag &&
value[Symbol.toStringTag]) ||
value.constructor.name ||
"Object";
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
);
return testStringCoercion(value);
}
}

@@ -138,8 +126,4 @@ function getTaskName(type) {

}
function hasValidRef(config) {
if (hasOwnProperty.call(config, "ref")) {
var getter = Object.getOwnPropertyDescriptor(config, "ref").get;
if (getter && getter.isReactWarning) return !1;
}
return void 0 !== config.ref;
function UnknownOwner() {
return Error("react-stack-top-frame");
}

@@ -157,3 +141,3 @@ function hasValidKey(config) {

((specialPropKeyWarningShown = !0),
error(
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)",

@@ -173,3 +157,3 @@ displayName

((didWarnAboutElementRef[componentName] = !0),
error(
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."

@@ -183,3 +167,2 @@ ));

key,
_ref,
self,

@@ -192,3 +175,3 @@ source,

) {
_ref = props.ref;
self = props.ref;
type = {

@@ -201,3 +184,3 @@ $$typeof: REACT_ELEMENT_TYPE,

};
null !== (void 0 !== _ref ? _ref : null)
null !== (void 0 !== self ? self : null)
? Object.defineProperty(type, "ref", {

@@ -246,63 +229,18 @@ enumerable: !1,

) {
if (
"string" === typeof type ||
"function" === typeof type ||
type === REACT_FRAGMENT_TYPE ||
type === REACT_PROFILER_TYPE ||
type === REACT_STRICT_MODE_TYPE ||
type === REACT_SUSPENSE_TYPE ||
type === REACT_SUSPENSE_LIST_TYPE ||
type === REACT_OFFSCREEN_TYPE ||
("object" === typeof type &&
null !== type &&
(type.$$typeof === REACT_LAZY_TYPE ||
type.$$typeof === REACT_MEMO_TYPE ||
type.$$typeof === REACT_CONTEXT_TYPE ||
type.$$typeof === REACT_CONSUMER_TYPE ||
type.$$typeof === REACT_FORWARD_REF_TYPE ||
type.$$typeof === REACT_CLIENT_REFERENCE$1 ||
void 0 !== type.getModuleId))
) {
var children = config.children;
if (void 0 !== children)
if (isStaticChildren)
if (isArrayImpl(children)) {
for (
isStaticChildren = 0;
isStaticChildren < children.length;
isStaticChildren++
)
validateChildKeys(children[isStaticChildren]);
Object.freeze && Object.freeze(children);
} else
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."
);
else validateChildKeys(children);
} else {
children = "";
if (
void 0 === type ||
("object" === typeof type &&
null !== type &&
0 === Object.keys(type).length)
)
children +=
" You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.";
null === type
? (isStaticChildren = "null")
: isArrayImpl(type)
? (isStaticChildren = "array")
: void 0 !== type && type.$$typeof === REACT_ELEMENT_TYPE
? ((isStaticChildren =
"<" + (getComponentNameFromType(type.type) || "Unknown") + " />"),
(children =
" Did you accidentally export a JSX literal instead of a component?"))
: (isStaticChildren = typeof type);
error(
"React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s",
isStaticChildren,
children
);
}
var children = config.children;
if (void 0 !== children)
if (isStaticChildren)
if (isArrayImpl(children)) {
for (
isStaticChildren = 0;
isStaticChildren < children.length;
isStaticChildren++
)
validateChildKeys(children[isStaticChildren]);
Object.freeze && Object.freeze(children);
} else
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."
);
else validateChildKeys(children);
if (hasOwnProperty.call(config, "key")) {

@@ -320,3 +258,3 @@ children = getComponentNameFromType(type);

0 < keys.length ? "{" + keys.join(": ..., ") + ": ...}" : "{}"),
error(
console.error(
'A props object containing a "key" prop is being spread into JSX:\n let props = %s;\n <%s {...props} />\nReact keys must be passed directly to JSX without using spread:\n let props = %s;\n <%s key={someKey} {...props} />',

@@ -335,3 +273,2 @@ isStaticChildren,

(checkKeyStringCoercion(config.key), (children = "" + config.key));
hasValidRef(config);
if ("key" in config) {

@@ -343,11 +280,11 @@ maybeKey = {};

children &&
((config =
defineKeyPropWarningGetter(
maybeKey,
"function" === typeof type
? type.displayName || type.name || "Unknown"
: type),
children && defineKeyPropWarningGetter(maybeKey, config));
: type
);
return ReactElement(
type,
children,
null,
self,

@@ -362,29 +299,7 @@ source,

function validateChildKeys(node) {
if (
"object" === typeof node &&
node &&
node.$$typeof !== REACT_CLIENT_REFERENCE &&
!isArrayImpl(node)
)
if (
"object" === typeof node &&
null !== node &&
node.$$typeof === REACT_ELEMENT_TYPE
)
node._store && (node._store.validated = 1);
else {
if (null === node || "object" !== typeof node) var iteratorFn = null;
else
(iteratorFn =
(MAYBE_ITERATOR_SYMBOL && node[MAYBE_ITERATOR_SYMBOL]) ||
node["@@iterator"]),
(iteratorFn =
"function" === typeof iteratorFn ? iteratorFn : null);
if (
"function" === typeof iteratorFn &&
iteratorFn !== node.entries &&
((iteratorFn = iteratorFn.call(node)), iteratorFn !== node)
)
for (; !iteratorFn.next().done; );
}
"object" === typeof node &&
null !== node &&
node.$$typeof === REACT_ELEMENT_TYPE &&
node._store &&
(node._store.validated = 1);
}

@@ -405,4 +320,5 @@ var React = require("react"),

REACT_LAZY_TYPE = Symbol.for("react.lazy"),
REACT_OFFSCREEN_TYPE = Symbol.for("react.offscreen"),
MAYBE_ITERATOR_SYMBOL = Symbol.iterator,
REACT_ACTIVITY_TYPE = Symbol.for("react.activity"),
REACT_VIEW_TRANSITION_TYPE = Symbol.for("react.view_transition"),
REACT_CLIENT_REFERENCE = Symbol.for("react.client.reference"),
ReactSharedInternalsServer =

@@ -414,9 +330,4 @@ React.__SERVER_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE;

);
var supportsCreateTask = !!console.createTask,
REACT_CLIENT_REFERENCE$2 = Symbol.for("react.client.reference"),
hasOwnProperty = Object.prototype.hasOwnProperty,
REACT_CLIENT_REFERENCE$1 = Symbol.for("react.client.reference"),
isArrayImpl = Array.isArray;
new ("function" === typeof WeakMap ? WeakMap : Map)();
var REACT_CLIENT_REFERENCE = Symbol.for("react.client.reference"),
var hasOwnProperty = Object.prototype.hasOwnProperty,
isArrayImpl = Array.isArray,
createTask = console.createTask

@@ -426,8 +337,20 @@ ? console.createTask

return null;
},
specialPropKeyWarningShown;
};
React = {
"react-stack-bottom-frame": function (callStackForError) {
return callStackForError();
}
};
var specialPropKeyWarningShown;
var didWarnAboutElementRef = {};
var unknownOwnerDebugStack = React["react-stack-bottom-frame"].bind(
React,
UnknownOwner
)();
var unknownOwnerDebugTask = createTask(getTaskName(UnknownOwner));
var didWarnAboutKeySpread = {};
exports.Fragment = REACT_FRAGMENT_TYPE;
exports.jsx = function (type, config, maybeKey, source, self) {
var trackActualOwner =
1e4 > ReactSharedInternalsServer.recentlyCreatedOwnerStacks++;
return jsxDEVImpl(

@@ -440,4 +363,6 @@ type,

self,
Error("react-stack-top-frame"),
createTask(getTaskName(type))
trackActualOwner
? Error("react-stack-top-frame")
: unknownOwnerDebugStack,
trackActualOwner ? createTask(getTaskName(type)) : unknownOwnerDebugTask
);

@@ -453,2 +378,4 @@ };

) {
var trackActualOwner =
1e4 > ReactSharedInternalsServer.recentlyCreatedOwnerStacks++;
return jsxDEVImpl(

@@ -461,7 +388,11 @@ type,

self,
Error("react-stack-top-frame"),
createTask(getTaskName(type))
trackActualOwner
? Error("react-stack-top-frame")
: unknownOwnerDebugStack,
trackActualOwner ? createTask(getTaskName(type)) : unknownOwnerDebugTask
);
};
exports.jsxs = function (type, config, maybeKey, source, self) {
var trackActualOwner =
1e4 > ReactSharedInternalsServer.recentlyCreatedOwnerStacks++;
return jsxDEVImpl(

@@ -474,6 +405,8 @@ type,

self,
Error("react-stack-top-frame"),
createTask(getTaskName(type))
trackActualOwner
? Error("react-stack-top-frame")
: unknownOwnerDebugStack,
trackActualOwner ? createTask(getTaskName(type)) : unknownOwnerDebugTask
);
};
})();

@@ -17,3 +17,3 @@ /**

get: function () {
warn(
console.warn(
"%s(...) is deprecated in plain JavaScript React classes. %s",

@@ -26,33 +26,2 @@ info[0],

}
function warn(format) {
for (
var _len = arguments.length,
args = Array(1 < _len ? _len - 1 : 0),
_key = 1;
_key < _len;
_key++
)
args[_key - 1] = arguments[_key];
printWarning("warn", format, args, Error("react-stack-top-frame"));
}
function error$jscomp$0(format) {
for (
var _len2 = arguments.length,
args = Array(1 < _len2 ? _len2 - 1 : 0),
_key2 = 1;
_key2 < _len2;
_key2++
)
args[_key2 - 1] = arguments[_key2];
printWarning("error", format, args, Error("react-stack-top-frame"));
}
function printWarning(level, format, args, currentStack) {
!supportsCreateTask &&
ReactSharedInternals.getCurrentStack &&
((currentStack = ReactSharedInternals.getCurrentStack(currentStack)),
"" !== currentStack &&
((format += "%s"), (args = args.concat([currentStack]))));
args.unshift(format);
Function.prototype.apply.call(console[level], console, args);
}
function getIteratorFn(maybeIterable) {

@@ -73,3 +42,3 @@ if (null === maybeIterable || "object" !== typeof maybeIterable)

didWarnStateUpdateForUnmountedComponent[warningKey] ||
(error$jscomp$0(
(console.error(
"Can't call %s on a component that is not yet mounted. This is a no-op, but it might indicate a bug in your application. Instead, assign to `this.state` directly or define a `state = {};` class property with the desired state in the %s component.",

@@ -104,16 +73,18 @@ callerName,

}
if (JSCompiler_inline_result)
return (
(JSCompiler_inline_result =
("function" === typeof Symbol &&
Symbol.toStringTag &&
value[Symbol.toStringTag]) ||
value.constructor.name ||
"Object"),
error$jscomp$0(
"The provided key is an unsupported type %s. This value must be coerced to a string before using it here.",
JSCompiler_inline_result
),
testStringCoercion(value)
if (JSCompiler_inline_result) {
JSCompiler_inline_result = console;
var JSCompiler_temp_const = JSCompiler_inline_result.error;
var JSCompiler_inline_result$jscomp$0 =
("function" === typeof Symbol &&
Symbol.toStringTag &&
value[Symbol.toStringTag]) ||
value.constructor.name ||
"Object";
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
);
return testStringCoercion(value);
}
}

@@ -123,3 +94,3 @@ function getComponentNameFromType(type) {

if ("function" === typeof type)
return type.$$typeof === REACT_CLIENT_REFERENCE$2
return type.$$typeof === REACT_CLIENT_REFERENCE
? null

@@ -131,4 +102,2 @@ : type.displayName || type.name || null;

return "Fragment";
case REACT_PORTAL_TYPE:
return "Portal";
case REACT_PROFILER_TYPE:

@@ -142,2 +111,6 @@ return "Profiler";

return "SuspenseList";
case REACT_ACTIVITY_TYPE:
return "Activity";
case REACT_VIEW_TRANSITION_TYPE:
return "ViewTransition";
}

@@ -147,3 +120,3 @@ if ("object" === typeof type)

("number" === typeof type.tag &&
error$jscomp$0(
console.error(
"Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."

@@ -153,2 +126,4 @@ ),

) {
case REACT_PORTAL_TYPE:
return "Portal";
case REACT_CONTEXT_TYPE:

@@ -200,8 +175,4 @@ return (type.displayName || "Context") + ".Provider";

}
function hasValidRef(config) {
if (hasOwnProperty.call(config, "ref")) {
var getter = Object.getOwnPropertyDescriptor(config, "ref").get;
if (getter && getter.isReactWarning) return !1;
}
return void 0 !== config.ref;
function UnknownOwner() {
return Error("react-stack-top-frame");
}

@@ -219,3 +190,3 @@ function hasValidKey(config) {

((specialPropKeyWarningShown = !0),
error$jscomp$0(
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)",

@@ -235,3 +206,3 @@ displayName

((didWarnAboutElementRef[componentName] = !0),
error$jscomp$0(
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."

@@ -245,3 +216,2 @@ ));

key,
_ref,
self,

@@ -254,3 +224,3 @@ source,

) {
_ref = props.ref;
self = props.ref;
type = {

@@ -263,3 +233,3 @@ $$typeof: REACT_ELEMENT_TYPE,

};
null !== (void 0 !== _ref ? _ref : null)
null !== (void 0 !== self ? self : null)
? Object.defineProperty(type, "ref", {

@@ -302,3 +272,2 @@ enumerable: !1,

newKey,
null,
void 0,

@@ -311,23 +280,6 @@ void 0,

);
newKey._store.validated = oldElement._store.validated;
oldElement._store &&
(newKey._store.validated = oldElement._store.validated);
return newKey;
}
function validateChildKeys(node) {
if (
"object" === typeof node &&
node &&
node.$$typeof !== REACT_CLIENT_REFERENCE &&
!isArrayImpl(node)
)
if (isValidElement(node)) node._store && (node._store.validated = 1);
else {
var iteratorFn = getIteratorFn(node);
if (
"function" === typeof iteratorFn &&
iteratorFn !== node.entries &&
((iteratorFn = iteratorFn.call(node)), iteratorFn !== node)
)
for (; !iteratorFn.next().done; );
}
}
function isValidElement(object) {

@@ -479,3 +431,3 @@ return (

(didWarnAboutMaps ||
warn(
console.warn(
"Using Maps as children is not supported. Use an array of keyed ReactElements instead."

@@ -548,3 +500,3 @@ ),

void 0 === ctor &&
error$jscomp$0(
console.error(
"lazy: Expected the result of a dynamic import() call. Instead received: %s\n\nYour code should look like: \n const MyComponent = lazy(() => import('./MyComponent'))\n\nDid you accidentally put curly braces around the import?",

@@ -554,3 +506,3 @@ ctor

"default" in ctor ||
error$jscomp$0(
console.error(
"lazy: Expected the result of a dynamic import() call. Instead received: %s\n\nYour code should look like: \n const MyComponent = lazy(() => import('./MyComponent'))",

@@ -566,3 +518,3 @@ ctor

null === dispatcher &&
error$jscomp$0(
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:\n1. You might have mismatching versions of React and the renderer (such as React DOM)\n2. You might be breaking the Rules of Hooks\n3. You might have more than one copy of React in the same app\nSee https://react.dev/link/invalid-hook-call for tips about how to debug and fix this problem."

@@ -575,3 +527,61 @@ );

}
function releaseAsyncTransition() {
ReactSharedInternals.asyncTransitions--;
}
function startTransition(scope) {
var prevTransition = ReactSharedInternals.T,
currentTransition = {};
currentTransition.types =
null !== prevTransition ? prevTransition.types : null;
currentTransition.gesture = null;
currentTransition._updatedFibers = new Set();
ReactSharedInternals.T = currentTransition;
try {
var returnValue = scope(),
onStartTransitionFinish = ReactSharedInternals.S;
null !== onStartTransitionFinish &&
onStartTransitionFinish(currentTransition, returnValue);
"object" === typeof returnValue &&
null !== returnValue &&
"function" === typeof returnValue.then &&
(ReactSharedInternals.asyncTransitions++,
returnValue.then(releaseAsyncTransition, releaseAsyncTransition),
returnValue.then(noop, reportGlobalError));
} catch (error) {
reportGlobalError(error);
} finally {
null === prevTransition &&
currentTransition._updatedFibers &&
((scope = currentTransition._updatedFibers.size),
currentTransition._updatedFibers.clear(),
10 < scope &&
console.warn(
"Detected a large number of updates inside startTransition. If this is due to a subscription please re-write it to use React provided hooks. Otherwise concurrent mode guarantees are off the table."
)),
null !== prevTransition &&
null !== currentTransition.types &&
(null !== prevTransition.types &&
prevTransition.types !== currentTransition.types &&
console.error(
"We expected inner Transitions to have transferred the outer types set and that you cannot add to the outer Transition while inside the inner.This is a bug in React."
),
(prevTransition.types = currentTransition.types)),
(ReactSharedInternals.T = prevTransition);
}
}
function noop() {}
function addTransitionType(type) {
var transition = ReactSharedInternals.T;
if (null !== transition) {
var transitionTypes = transition.types;
null === transitionTypes
? (transition.types = [type])
: -1 === transitionTypes.indexOf(type) && transitionTypes.push(type);
} else
0 === ReactSharedInternals.asyncTransitions &&
console.error(
"addTransitionType can only be called inside a `startTransition()` or `startGestureTransition()` callback. It must be associated with a specific Transition."
),
startTransition(addTransitionType.bind(null, type));
}
function enqueueTask(task) {

@@ -590,3 +600,3 @@ if (null === enqueueTaskImpl)

"undefined" === typeof MessageChannel &&
error$jscomp$0(
console.error(
"This browser does not have a MessageChannel implementation, so enqueuing tasks via await act(async () => ...) will fail. Please file an issue at https://github.com/facebook/react/issues if you encounter this warning."

@@ -608,3 +618,3 @@ ));

prevActScopeDepth !== actScopeDepth - 1 &&
error$jscomp$0(
console.error(
"You seem to have overlapping act() calls, this is not supported. Be sure to await previous act() calls before making a new one. "

@@ -624,4 +634,4 @@ );

return;
} catch (error$3) {
ReactSharedInternals.thrownErrors.push(error$3);
} catch (error) {
ReactSharedInternals.thrownErrors.push(error);
}

@@ -656,5 +666,4 @@ else ReactSharedInternals.actQueue = null;

queue.length = 0;
} catch (error$4) {
queue.splice(0, i + 1),
ReactSharedInternals.thrownErrors.push(error$4);
} catch (error) {
queue.splice(0, i + 1), ReactSharedInternals.thrownErrors.push(error);
} finally {

@@ -669,16 +678,3 @@ isFlushing = !1;

__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(Error());
var ReactSharedInternals = {
H: null,
A: null,
T: null,
S: null,
actQueue: null,
isBatchingLegacy: !1,
didScheduleLegacyUpdate: !1,
didUsePromise: !1,
thrownErrors: [],
getCurrentStack: null
},
supportsCreateTask = !!console.createTask,
REACT_ELEMENT_TYPE = Symbol.for("react.transitional.element"),
var REACT_ELEMENT_TYPE = Symbol.for("react.transitional.element"),
REACT_PORTAL_TYPE = Symbol.for("react.portal"),

@@ -696,5 +692,5 @@ REACT_FRAGMENT_TYPE = Symbol.for("react.fragment"),

REACT_LAZY_TYPE = Symbol.for("react.lazy"),
REACT_DEBUG_TRACING_MODE_TYPE = Symbol.for("react.debug_trace_mode"),
REACT_OFFSCREEN_TYPE = Symbol.for("react.offscreen"),
REACT_ACTIVITY_TYPE = Symbol.for("react.activity"),
REACT_POSTPONE_TYPE = Symbol.for("react.postpone"),
REACT_VIEW_TRANSITION_TYPE = Symbol.for("react.view_transition"),
MAYBE_ITERATOR_SYMBOL = Symbol.iterator,

@@ -754,7 +750,19 @@ didWarnStateUpdateForUnmountedComponent = {},

var isArrayImpl = Array.isArray,
REACT_CLIENT_REFERENCE$2 = Symbol.for("react.client.reference"),
REACT_CLIENT_REFERENCE = Symbol.for("react.client.reference"),
ReactSharedInternals = {
H: null,
A: null,
T: null,
S: null,
G: null,
actQueue: null,
asyncTransitions: 0,
isBatchingLegacy: !1,
didScheduleLegacyUpdate: !1,
didUsePromise: !1,
thrownErrors: [],
getCurrentStack: null,
recentlyCreatedOwnerStacks: 0
},
hasOwnProperty = Object.prototype.hasOwnProperty,
REACT_CLIENT_REFERENCE$1 = Symbol.for("react.client.reference");
new ("function" === typeof WeakMap ? WeakMap : Map)();
var REACT_CLIENT_REFERENCE = Symbol.for("react.client.reference"),
createTask = console.createTask

@@ -764,6 +772,14 @@ ? console.createTask

return null;
},
specialPropKeyWarningShown,
didWarnAboutOldJSXRuntime;
};
deprecatedAPIs = {
"react-stack-bottom-frame": function (callStackForError) {
return callStackForError();
}
};
var specialPropKeyWarningShown, didWarnAboutOldJSXRuntime;
var didWarnAboutElementRef = {};
var unknownOwnerDebugStack = deprecatedAPIs[
"react-stack-bottom-frame"
].bind(deprecatedAPIs, UnknownOwner)();
var unknownOwnerDebugTask = createTask(getTaskName(UnknownOwner));
var didWarnAboutMaps = !1,

@@ -813,2 +829,8 @@ userProvidedKeyEscapeRegex = /\/+/g,

: enqueueTask;
deprecatedAPIs = Object.freeze({
__proto__: null,
c: function (size) {
return resolveDispatcher().useMemoCache(size);
}
});
exports.Children = {

@@ -855,2 +877,3 @@ map: mapChildren,

ReactSharedInternals;
exports.__COMPILER_RUNTIME = deprecatedAPIs;
exports.act = function (callback) {

@@ -865,4 +888,4 @@ var prevActQueue = ReactSharedInternals.actQueue,

var result = callback();
} catch (error$1) {
ReactSharedInternals.thrownErrors.push(error$1);
} catch (error) {
ReactSharedInternals.thrownErrors.push(error);
}

@@ -886,3 +909,3 @@ if (0 < ReactSharedInternals.thrownErrors.length)

((didWarnNoAwaitAct = !0),
error$jscomp$0(
console.error(
"You called act(async () => ...) without await. This could lead to unexpected testing behaviour, interleaving multiple act calls and mixing their scopes. You should - await act(async () => ...);"

@@ -907,4 +930,4 @@ ));

});
} catch (error$2) {
ReactSharedInternals.thrownErrors.push(error$2);
} catch (error$0) {
ReactSharedInternals.thrownErrors.push(error$0);
}

@@ -943,3 +966,3 @@ if (0 < ReactSharedInternals.thrownErrors.length) {

((didWarnNoAwaitAct = !0),
error$jscomp$0(
console.error(
"A component suspended inside an `act` scope, but the `act` call was not awaited. When testing React components that depend on asynchronous data, you must await the result:\n\nawait act(() => ...)"

@@ -976,2 +999,6 @@ ));

};
exports.captureOwnerStack = function () {
var getCurrentStack = ReactSharedInternals.getCurrentStack;
return null === getCurrentStack ? null : getCurrentStack();
};
exports.cloneElement = function (element, config, children) {

@@ -987,7 +1014,22 @@ if (null === element || void 0 === element)

owner = element._owner;
if (null != config)
for (propName in (hasValidRef(config) && (owner = getOwner()),
if (null != config) {
var JSCompiler_inline_result;
a: {
if (
hasOwnProperty.call(config, "ref") &&
(JSCompiler_inline_result = Object.getOwnPropertyDescriptor(
config,
"ref"
).get) &&
JSCompiler_inline_result.isReactWarning
) {
JSCompiler_inline_result = !1;
break a;
}
JSCompiler_inline_result = void 0 !== config.ref;
}
JSCompiler_inline_result && (owner = getOwner());
hasValidKey(config) &&
(checkKeyStringCoercion(config.key), (key = "" + config.key)),
config))
(checkKeyStringCoercion(config.key), (key = "" + config.key));
for (propName in config)
!hasOwnProperty.call(config, propName) ||

@@ -999,8 +1041,10 @@ "key" === propName ||

(props[propName] = config[propName]);
}
var propName = arguments.length - 2;
if (1 === propName) props.children = children;
else if (1 < propName) {
for (var childArray = Array(propName), i = 0; i < propName; i++)
childArray[i] = arguments[i + 2];
props.children = childArray;
JSCompiler_inline_result = Array(propName);
for (var i = 0; i < propName; i++)
JSCompiler_inline_result[i] = arguments[i + 2];
props.children = JSCompiler_inline_result;
}

@@ -1010,3 +1054,2 @@ props = ReactElement(

key,
null,
void 0,

@@ -1020,3 +1063,4 @@ void 0,

for (key = 2; key < arguments.length; key++)
validateChildKeys(arguments[key]);
(owner = arguments[key]),
isValidElement(owner) && owner._store && (owner._store.validated = 1);
return props;

@@ -1043,6 +1087,8 @@ };

exports.createElement = function (type, config, children) {
for (var i = 2; i < arguments.length; i++)
validateChildKeys(arguments[i]);
for (var i = 2; i < arguments.length; i++) {
var node = arguments[i];
isValidElement(node) && node._store && (node._store.validated = 1);
}
i = {};
var key = null;
node = null;
if (null != config)

@@ -1053,8 +1099,7 @@ for (propName in (didWarnAboutOldJSXRuntime ||

((didWarnAboutOldJSXRuntime = !0),
warn(
console.warn(
"Your app (or one of its dependencies) is using an outdated JSX transform. Update to the modern JSX transform for faster performance: https://react.dev/link/new-jsx-transform"
)),
hasValidRef(config),
hasValidKey(config) &&
(checkKeyStringCoercion(config.key), (key = "" + config.key)),
(checkKeyStringCoercion(config.key), (node = "" + config.key)),
config))

@@ -1081,13 +1126,13 @@ hasOwnProperty.call(config, propName) &&

void 0 === i[propName] && (i[propName] = childrenLength[propName]);
if (key) {
var propName =
node &&
defineKeyPropWarningGetter(
i,
"function" === typeof type
? type.displayName || type.name || "Unknown"
: type;
key && defineKeyPropWarningGetter(i, propName);
}
: type
);
var propName = 1e4 > ReactSharedInternals.recentlyCreatedOwnerStacks++;
return ReactElement(
type,
key,
null,
node,
void 0,

@@ -1097,4 +1142,4 @@ void 0,

i,
Error("react-stack-top-frame"),
createTask(getTaskName(type))
propName ? Error("react-stack-top-frame") : unknownOwnerDebugStack,
propName ? createTask(getTaskName(type)) : unknownOwnerDebugTask
);

@@ -1111,3 +1156,3 @@ };

exports.experimental_useOptimistic = function (passthrough, reducer) {
error$jscomp$0(
console.error(
"useOptimistic is now in canary. Remove the experimental_ prefix. The prefixed alias will be removed in an upcoming release."

@@ -1119,21 +1164,21 @@ );

null != render && render.$$typeof === REACT_MEMO_TYPE
? error$jscomp$0(
? console.error(
"forwardRef requires a render function but received a `memo` component. Instead of forwardRef(memo(...)), use memo(forwardRef(...))."
)
: "function" !== typeof render
? error$jscomp$0(
"forwardRef requires a render function but was given %s.",
null === render ? "null" : typeof render
)
: 0 !== render.length &&
2 !== render.length &&
error$jscomp$0(
"forwardRef render functions accept exactly two parameters: props and ref. %s",
1 === render.length
? "Did you forget to use the ref parameter?"
: "Any additional parameter will be undefined."
);
? console.error(
"forwardRef requires a render function but was given %s.",
null === render ? "null" : typeof render
)
: 0 !== render.length &&
2 !== render.length &&
console.error(
"forwardRef render functions accept exactly two parameters: props and ref. %s",
1 === render.length
? "Did you forget to use the ref parameter?"
: "Any additional parameter will be undefined."
);
null != render &&
null != render.defaultProps &&
error$jscomp$0(
console.error(
"forwardRef render functions do not support defaultProps. Did you accidentally pass a React component?"

@@ -1168,20 +1213,4 @@ );

exports.memo = function (type, compare) {
"string" === typeof type ||
"function" === typeof type ||
type === REACT_FRAGMENT_TYPE ||
type === REACT_PROFILER_TYPE ||
type === REACT_STRICT_MODE_TYPE ||
type === REACT_SUSPENSE_TYPE ||
type === REACT_SUSPENSE_LIST_TYPE ||
type === REACT_OFFSCREEN_TYPE ||
("object" === typeof type &&
null !== type &&
(type.$$typeof === REACT_LAZY_TYPE ||
type.$$typeof === REACT_MEMO_TYPE ||
type.$$typeof === REACT_CONTEXT_TYPE ||
type.$$typeof === REACT_CONSUMER_TYPE ||
type.$$typeof === REACT_FORWARD_REF_TYPE ||
type.$$typeof === REACT_CLIENT_REFERENCE$1 ||
void 0 !== type.getModuleId)) ||
error$jscomp$0(
null == type &&
console.error(
"memo: The first argument must be a component. Instead received: %s",

@@ -1212,34 +1241,7 @@ null === type ? "null" : typeof type

};
exports.startTransition = function (scope) {
var prevTransition = ReactSharedInternals.T,
transition = {};
ReactSharedInternals.T = transition;
var currentTransition = ReactSharedInternals.T;
ReactSharedInternals.T._updatedFibers = new Set();
try {
var returnValue = scope(),
onStartTransitionFinish = ReactSharedInternals.S;
null !== onStartTransitionFinish &&
onStartTransitionFinish(transition, returnValue);
"object" === typeof returnValue &&
null !== returnValue &&
"function" === typeof returnValue.then &&
returnValue.then(noop, reportGlobalError);
} catch (error$0) {
reportGlobalError(error$0);
} finally {
null === prevTransition &&
currentTransition._updatedFibers &&
((scope = currentTransition._updatedFibers.size),
currentTransition._updatedFibers.clear(),
10 < scope &&
warn(
"Detected a large number of updates inside startTransition. If this is due to a subscription please re-write it to use React provided hooks. Otherwise concurrent mode guarantees are off the table."
)),
(ReactSharedInternals.T = prevTransition);
}
};
exports.unstable_Activity = REACT_OFFSCREEN_TYPE;
exports.unstable_DebugTracingMode = REACT_DEBUG_TRACING_MODE_TYPE;
exports.startTransition = startTransition;
exports.unstable_Activity = REACT_ACTIVITY_TYPE;
exports.unstable_SuspenseList = REACT_SUSPENSE_LIST_TYPE;
exports.unstable_ViewTransition = REACT_VIEW_TRANSITION_TYPE;
exports.unstable_addTransitionType = addTransitionType;
exports.unstable_getCacheForType = function (resourceType) {

@@ -1256,2 +1258,38 @@ var dispatcher = ReactSharedInternals.A;

};
exports.unstable_startGestureTransition = function (
provider,
scope,
options
) {
if (null == provider)
throw Error(
"A Timeline is required as the first argument to startGestureTransition."
);
var prevTransition = ReactSharedInternals.T,
currentTransition = { types: null };
currentTransition.gesture = provider;
currentTransition._updatedFibers = new Set();
ReactSharedInternals.T = currentTransition;
try {
var returnValue = scope();
"object" === typeof returnValue &&
null !== returnValue &&
"function" === typeof returnValue.then &&
console.error(
"Cannot use an async function in startGestureTransition. It must be able to start immediately."
);
var onStartGestureTransitionFinish = ReactSharedInternals.G;
if (null !== onStartGestureTransitionFinish)
return onStartGestureTransitionFinish(
currentTransition,
provider,
options
);
} catch (error) {
reportGlobalError(error);
} finally {
ReactSharedInternals.T = prevTransition;
}
return function () {};
};
exports.unstable_useCacheRefresh = function () {

@@ -1276,3 +1314,3 @@ return resolveDispatcher().useCacheRefresh();

Context.$$typeof === REACT_CONSUMER_TYPE &&
error$jscomp$0(
console.error(
"Calling useContext(Context.Consumer) is not supported and will cause bugs. Did you mean to call useContext(Context) instead?"

@@ -1289,2 +1327,6 @@ );

exports.useEffect = function (create, deps) {
null == create &&
console.warn(
"React Hook useEffect requires an effect callback. Did you forget to pass a callback to the hook?"
);
return resolveDispatcher().useEffect(create, deps);

@@ -1299,5 +1341,13 @@ };

exports.useInsertionEffect = function (create, deps) {
null == create &&
console.warn(
"React Hook useInsertionEffect requires an effect callback. Did you forget to pass a callback to the hook?"
);
return resolveDispatcher().useInsertionEffect(create, deps);
};
exports.useLayoutEffect = function (create, deps) {
null == create &&
console.warn(
"React Hook useLayoutEffect requires an effect callback. Did you forget to pass a callback to the hook?"
);
return resolveDispatcher().useLayoutEffect(create, deps);

@@ -1332,3 +1382,3 @@ };

};
exports.version = "19.0.0-experimental-1434af3d22-20240618";
exports.version = "19.2.0-experimental-143d3e1b-20250425";
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&

@@ -1335,0 +1385,0 @@ "function" ===

@@ -24,5 +24,5 @@ /**

REACT_LAZY_TYPE = Symbol.for("react.lazy"),
REACT_DEBUG_TRACING_MODE_TYPE = Symbol.for("react.debug_trace_mode"),
REACT_OFFSCREEN_TYPE = Symbol.for("react.offscreen"),
REACT_ACTIVITY_TYPE = Symbol.for("react.activity"),
REACT_POSTPONE_TYPE = Symbol.for("react.postpone"),
REACT_VIEW_TRANSITION_TYPE = Symbol.for("react.view_transition"),
MAYBE_ITERATOR_SYMBOL = Symbol.iterator;

@@ -80,6 +80,6 @@ function getIteratorFn(maybeIterable) {

var isArrayImpl = Array.isArray,
ReactSharedInternals = { H: null, A: null, T: null, S: null },
ReactSharedInternals = { H: null, A: null, T: null, S: null, G: null },
hasOwnProperty = Object.prototype.hasOwnProperty;
function ReactElement(type, key, _ref, self, source, owner, props) {
_ref = props.ref;
function ReactElement(type, key, self, source, owner, props) {
self = props.ref;
return {

@@ -89,3 +89,3 @@ $$typeof: REACT_ELEMENT_TYPE,

key: key,
ref: void 0 !== _ref ? _ref : null,
ref: void 0 !== self ? self : null,
props: props

@@ -98,3 +98,2 @@ };

newKey,
null,
void 0,

@@ -330,3 +329,37 @@ void 0,

};
function startTransition(scope) {
var prevTransition = ReactSharedInternals.T,
currentTransition = {};
currentTransition.types =
null !== prevTransition ? prevTransition.types : null;
currentTransition.gesture = null;
ReactSharedInternals.T = currentTransition;
try {
var returnValue = scope(),
onStartTransitionFinish = ReactSharedInternals.S;
null !== onStartTransitionFinish &&
onStartTransitionFinish(currentTransition, returnValue);
"object" === typeof returnValue &&
null !== returnValue &&
"function" === typeof returnValue.then &&
returnValue.then(noop, reportGlobalError);
} catch (error) {
reportGlobalError(error);
} finally {
null !== prevTransition &&
null !== currentTransition.types &&
(prevTransition.types = currentTransition.types),
(ReactSharedInternals.T = prevTransition);
}
}
function noop() {}
function addTransitionType(type) {
var transition = ReactSharedInternals.T;
if (null !== transition) {
var transitionTypes = transition.types;
null === transitionTypes
? (transition.types = [type])
: -1 === transitionTypes.indexOf(type) && transitionTypes.push(type);
} else startTransition(addTransitionType.bind(null, type));
}
exports.Children = {

@@ -373,4 +406,7 @@ map: mapChildren,

ReactSharedInternals;
exports.act = function () {
throw Error("act(...) is not supported in production builds of React.");
exports.__COMPILER_RUNTIME = {
__proto__: null,
c: function (size) {
return ReactSharedInternals.H.useMemoCache(size);
}
};

@@ -407,3 +443,3 @@ exports.cache = function (fn) {

}
return ReactElement(element.type, key, null, void 0, void 0, owner, props);
return ReactElement(element.type, key, void 0, void 0, owner, props);
};

@@ -448,3 +484,3 @@ exports.createContext = function (defaultValue) {

(props[propName] = childrenLength[propName]);
return ReactElement(type, key, null, void 0, void 0, null, props);
return ReactElement(type, key, void 0, void 0, null, props);
};

@@ -478,24 +514,7 @@ exports.createRef = function () {

};
exports.startTransition = function (scope) {
var prevTransition = ReactSharedInternals.T,
transition = {};
ReactSharedInternals.T = transition;
try {
var returnValue = scope(),
onStartTransitionFinish = ReactSharedInternals.S;
null !== onStartTransitionFinish &&
onStartTransitionFinish(transition, returnValue);
"object" === typeof returnValue &&
null !== returnValue &&
"function" === typeof returnValue.then &&
returnValue.then(noop, reportGlobalError);
} catch (error) {
reportGlobalError(error);
} finally {
ReactSharedInternals.T = prevTransition;
}
};
exports.unstable_Activity = REACT_OFFSCREEN_TYPE;
exports.unstable_DebugTracingMode = REACT_DEBUG_TRACING_MODE_TYPE;
exports.startTransition = startTransition;
exports.unstable_Activity = REACT_ACTIVITY_TYPE;
exports.unstable_SuspenseList = REACT_SUSPENSE_LIST_TYPE;
exports.unstable_ViewTransition = REACT_VIEW_TRANSITION_TYPE;
exports.unstable_addTransitionType = addTransitionType;
exports.unstable_getCacheForType = function (resourceType) {

@@ -510,2 +529,27 @@ var dispatcher = ReactSharedInternals.A;

};
exports.unstable_startGestureTransition = function (provider, scope, options) {
if (null == provider)
throw Error(
"A Timeline is required as the first argument to startGestureTransition."
);
var prevTransition = ReactSharedInternals.T,
currentTransition = { types: null };
currentTransition.gesture = provider;
ReactSharedInternals.T = currentTransition;
try {
scope();
var onStartGestureTransitionFinish = ReactSharedInternals.G;
if (null !== onStartGestureTransitionFinish)
return onStartGestureTransitionFinish(
currentTransition,
provider,
options
);
} catch (error) {
reportGlobalError(error);
} finally {
ReactSharedInternals.T = prevTransition;
}
return function () {};
};
exports.unstable_useCacheRefresh = function () {

@@ -572,2 +616,2 @@ return ReactSharedInternals.H.useCacheRefresh();

};
exports.version = "19.0.0-experimental-1434af3d22-20240618";
exports.version = "19.2.0-experimental-143d3e1b-20250425";

@@ -14,33 +14,2 @@ /**

(function () {
function warn(format) {
for (
var _len = arguments.length,
args = Array(1 < _len ? _len - 1 : 0),
_key = 1;
_key < _len;
_key++
)
args[_key - 1] = arguments[_key];
printWarning("warn", format, args, Error("react-stack-top-frame"));
}
function error$jscomp$0(format) {
for (
var _len2 = arguments.length,
args = Array(1 < _len2 ? _len2 - 1 : 0),
_key2 = 1;
_key2 < _len2;
_key2++
)
args[_key2 - 1] = arguments[_key2];
printWarning("error", format, args, Error("react-stack-top-frame"));
}
function printWarning(level, format, args, currentStack) {
!supportsCreateTask &&
ReactSharedInternals.getCurrentStack &&
((currentStack = ReactSharedInternals.getCurrentStack(currentStack)),
"" !== currentStack &&
((format += "%s"), (args = args.concat([currentStack]))));
args.unshift(format);
Function.prototype.apply.call(console[level], console, args);
}
function getIteratorFn(maybeIterable) {

@@ -64,16 +33,18 @@ if (null === maybeIterable || "object" !== typeof maybeIterable)

}
if (JSCompiler_inline_result)
return (
(JSCompiler_inline_result =
("function" === typeof Symbol &&
Symbol.toStringTag &&
value[Symbol.toStringTag]) ||
value.constructor.name ||
"Object"),
error$jscomp$0(
"The provided key is an unsupported type %s. This value must be coerced to a string before using it here.",
JSCompiler_inline_result
),
testStringCoercion(value)
if (JSCompiler_inline_result) {
JSCompiler_inline_result = console;
var JSCompiler_temp_const = JSCompiler_inline_result.error;
var JSCompiler_inline_result$jscomp$0 =
("function" === typeof Symbol &&
Symbol.toStringTag &&
value[Symbol.toStringTag]) ||
value.constructor.name ||
"Object";
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
);
return testStringCoercion(value);
}
}

@@ -83,3 +54,3 @@ function getComponentNameFromType(type) {

if ("function" === typeof type)
return type.$$typeof === REACT_CLIENT_REFERENCE$2
return type.$$typeof === REACT_CLIENT_REFERENCE
? null

@@ -91,4 +62,2 @@ : type.displayName || type.name || null;

return "Fragment";
case REACT_PORTAL_TYPE:
return "Portal";
case REACT_PROFILER_TYPE:

@@ -102,2 +71,6 @@ return "Profiler";

return "SuspenseList";
case REACT_ACTIVITY_TYPE:
return "Activity";
case REACT_VIEW_TRANSITION_TYPE:
return "ViewTransition";
}

@@ -107,3 +80,3 @@ if ("object" === typeof type)

("number" === typeof type.tag &&
error$jscomp$0(
console.error(
"Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."

@@ -113,2 +86,4 @@ ),

) {
case REACT_PORTAL_TYPE:
return "Portal";
case REACT_CONTEXT_TYPE:

@@ -160,8 +135,4 @@ return (type.displayName || "Context") + ".Provider";

}
function hasValidRef(config) {
if (hasOwnProperty.call(config, "ref")) {
var getter = Object.getOwnPropertyDescriptor(config, "ref").get;
if (getter && getter.isReactWarning) return !1;
}
return void 0 !== config.ref;
function UnknownOwner() {
return Error("react-stack-top-frame");
}

@@ -179,3 +150,3 @@ function hasValidKey(config) {

((specialPropKeyWarningShown = !0),
error$jscomp$0(
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)",

@@ -195,3 +166,3 @@ displayName

((didWarnAboutElementRef[componentName] = !0),
error$jscomp$0(
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."

@@ -205,3 +176,2 @@ ));

key,
_ref,
self,

@@ -214,3 +184,3 @@ source,

) {
_ref = props.ref;
self = props.ref;
type = {

@@ -223,3 +193,3 @@ $$typeof: REACT_ELEMENT_TYPE,

};
null !== (void 0 !== _ref ? _ref : null)
null !== (void 0 !== self ? self : null)
? Object.defineProperty(type, "ref", {

@@ -262,3 +232,2 @@ enumerable: !1,

newKey,
null,
void 0,

@@ -271,23 +240,6 @@ void 0,

);
newKey._store.validated = oldElement._store.validated;
oldElement._store &&
(newKey._store.validated = oldElement._store.validated);
return newKey;
}
function validateChildKeys(node) {
if (
"object" === typeof node &&
node &&
node.$$typeof !== REACT_CLIENT_REFERENCE &&
!isArrayImpl(node)
)
if (isValidElement(node)) node._store && (node._store.validated = 1);
else {
var iteratorFn = getIteratorFn(node);
if (
"function" === typeof iteratorFn &&
iteratorFn !== node.entries &&
((iteratorFn = iteratorFn.call(node)), iteratorFn !== node)
)
for (; !iteratorFn.next().done; );
}
}
function isValidElement(object) {

@@ -439,3 +391,3 @@ return (

(didWarnAboutMaps ||
warn(
console.warn(
"Using Maps as children is not supported. Use an array of keyed ReactElements instead."

@@ -490,3 +442,3 @@ ),

null === dispatcher &&
error$jscomp$0(
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:\n1. You might have mismatching versions of React and the renderer (such as React DOM)\n2. You might be breaking the Rules of Hooks\n3. You might have more than one copy of React in the same app\nSee https://react.dev/link/invalid-hook-call for tips about how to debug and fix this problem."

@@ -517,3 +469,3 @@ );

void 0 === ctor &&
error$jscomp$0(
console.error(
"lazy: Expected the result of a dynamic import() call. Instead received: %s\n\nYour code should look like: \n const MyComponent = lazy(() => import('./MyComponent'))\n\nDid you accidentally put curly braces around the import?",

@@ -523,3 +475,3 @@ ctor

"default" in ctor ||
error$jscomp$0(
console.error(
"lazy: Expected the result of a dynamic import() call. Instead received: %s\n\nYour code should look like: \n const MyComponent = lazy(() => import('./MyComponent'))",

@@ -538,2 +490,5 @@ ctor

}
function releaseAsyncTransition() {
ReactSharedInternals.asyncTransitions--;
}
function noop() {}

@@ -562,4 +517,4 @@ function cleanup(entryValue) {

ReactSharedInternals.getCurrentStack = null;
var supportsCreateTask = !!console.createTask,
isArrayImpl = Array.isArray,
ReactSharedInternals.recentlyCreatedOwnerStacks = 0;
var isArrayImpl = Array.isArray,
REACT_ELEMENT_TYPE = Symbol.for("react.transitional.element"),

@@ -577,13 +532,10 @@ REACT_PORTAL_TYPE = Symbol.for("react.portal"),

REACT_MEMO_TYPE = Symbol.for("react.memo"),
REACT_LAZY_TYPE = Symbol.for("react.lazy");
TaintRegistryObjects$1 = Symbol.for("react.debug_trace_mode");
var REACT_OFFSCREEN_TYPE = Symbol.for("react.offscreen"),
REACT_LAZY_TYPE = Symbol.for("react.lazy"),
REACT_ACTIVITY_TYPE = Symbol.for("react.activity"),
REACT_POSTPONE_TYPE = Symbol.for("react.postpone"),
REACT_VIEW_TRANSITION_TYPE = Symbol.for("react.view_transition"),
MAYBE_ITERATOR_SYMBOL = Symbol.iterator,
REACT_CLIENT_REFERENCE$2 = Symbol.for("react.client.reference"),
REACT_CLIENT_REFERENCE = Symbol.for("react.client.reference"),
hasOwnProperty = Object.prototype.hasOwnProperty,
assign = Object.assign,
REACT_CLIENT_REFERENCE$1 = Symbol.for("react.client.reference");
new ("function" === typeof WeakMap ? WeakMap : Map)();
var REACT_CLIENT_REFERENCE = Symbol.for("react.client.reference"),
createTask = console.createTask

@@ -593,6 +545,14 @@ ? console.createTask

return null;
},
specialPropKeyWarningShown,
didWarnAboutOldJSXRuntime;
};
TaintRegistryObjects$1 = {
"react-stack-bottom-frame": function (callStackForError) {
return callStackForError();
}
};
var specialPropKeyWarningShown, didWarnAboutOldJSXRuntime;
var didWarnAboutElementRef = {};
var unknownOwnerDebugStack = TaintRegistryObjects$1[
"react-stack-bottom-frame"
].bind(TaintRegistryObjects$1, UnknownOwner)();
var unknownOwnerDebugTask = createTask(getTaskName(UnknownOwner));
var didWarnAboutMaps = !1,

@@ -629,3 +589,3 @@ userProvidedKeyEscapeRegex = /\/+/g,

};
TaintRegistryValues$1 = Object.getPrototypeOf;
TaintRegistryObjects$1 = Object.getPrototypeOf;
var TaintRegistryObjects = ReactSharedInternals.TaintRegistryObjects,

@@ -636,3 +596,3 @@ TaintRegistryValues = ReactSharedInternals.TaintRegistryValues,

ReactSharedInternals.TaintRegistryPendingRequests,
TypedArrayConstructor = TaintRegistryValues$1(
TypedArrayConstructor = TaintRegistryObjects$1(
Uint32Array.prototype

@@ -720,8 +680,5 @@ ).constructor,

return (fnMap.v = result);
} catch (error$0) {
} catch (error) {
throw (
((result = dispatcher),
(result.s = 2),
(result.v = error$0),
error$0)
((result = dispatcher), (result.s = 2), (result.v = error), error)
);

@@ -731,2 +688,6 @@ }

};
exports.captureOwnerStack = function () {
var getCurrentStack = ReactSharedInternals.getCurrentStack;
return null === getCurrentStack ? null : getCurrentStack();
};
exports.cloneElement = function (element, config, children) {

@@ -742,7 +703,22 @@ if (null === element || void 0 === element)

owner = element._owner;
if (null != config)
for (propName in (hasValidRef(config) && (owner = getOwner()),
if (null != config) {
var JSCompiler_inline_result;
a: {
if (
hasOwnProperty.call(config, "ref") &&
(JSCompiler_inline_result = Object.getOwnPropertyDescriptor(
config,
"ref"
).get) &&
JSCompiler_inline_result.isReactWarning
) {
JSCompiler_inline_result = !1;
break a;
}
JSCompiler_inline_result = void 0 !== config.ref;
}
JSCompiler_inline_result && (owner = getOwner());
hasValidKey(config) &&
(checkKeyStringCoercion(config.key), (key = "" + config.key)),
config))
(checkKeyStringCoercion(config.key), (key = "" + config.key));
for (propName in config)
!hasOwnProperty.call(config, propName) ||

@@ -754,8 +730,10 @@ "key" === propName ||

(props[propName] = config[propName]);
}
var propName = arguments.length - 2;
if (1 === propName) props.children = children;
else if (1 < propName) {
for (var childArray = Array(propName), i = 0; i < propName; i++)
childArray[i] = arguments[i + 2];
props.children = childArray;
JSCompiler_inline_result = Array(propName);
for (var i = 0; i < propName; i++)
JSCompiler_inline_result[i] = arguments[i + 2];
props.children = JSCompiler_inline_result;
}

@@ -765,3 +743,2 @@ props = ReactElement(

key,
null,
void 0,

@@ -775,10 +752,13 @@ void 0,

for (key = 2; key < arguments.length; key++)
validateChildKeys(arguments[key]);
(owner = arguments[key]),
isValidElement(owner) && owner._store && (owner._store.validated = 1);
return props;
};
exports.createElement = function (type, config, children) {
for (var i = 2; i < arguments.length; i++)
validateChildKeys(arguments[i]);
for (var i = 2; i < arguments.length; i++) {
var node = arguments[i];
isValidElement(node) && node._store && (node._store.validated = 1);
}
i = {};
var key = null;
node = null;
if (null != config)

@@ -789,8 +769,7 @@ for (propName in (didWarnAboutOldJSXRuntime ||

((didWarnAboutOldJSXRuntime = !0),
warn(
console.warn(
"Your app (or one of its dependencies) is using an outdated JSX transform. Update to the modern JSX transform for faster performance: https://react.dev/link/new-jsx-transform"
)),
hasValidRef(config),
hasValidKey(config) &&
(checkKeyStringCoercion(config.key), (key = "" + config.key)),
(checkKeyStringCoercion(config.key), (node = "" + config.key)),
config))

@@ -817,13 +796,13 @@ hasOwnProperty.call(config, propName) &&

void 0 === i[propName] && (i[propName] = childrenLength[propName]);
if (key) {
var propName =
node &&
defineKeyPropWarningGetter(
i,
"function" === typeof type
? type.displayName || type.name || "Unknown"
: type;
key && defineKeyPropWarningGetter(i, propName);
}
: type
);
var propName = 1e4 > ReactSharedInternals.recentlyCreatedOwnerStacks++;
return ReactElement(
type,
key,
null,
node,
void 0,

@@ -833,4 +812,4 @@ void 0,

i,
Error("react-stack-top-frame"),
createTask(getTaskName(type))
propName ? Error("react-stack-top-frame") : unknownOwnerDebugStack,
propName ? createTask(getTaskName(type)) : unknownOwnerDebugTask
);

@@ -906,21 +885,21 @@ };

null != render && render.$$typeof === REACT_MEMO_TYPE
? error$jscomp$0(
? console.error(
"forwardRef requires a render function but received a `memo` component. Instead of forwardRef(memo(...)), use memo(forwardRef(...))."
)
: "function" !== typeof render
? error$jscomp$0(
"forwardRef requires a render function but was given %s.",
null === render ? "null" : typeof render
)
: 0 !== render.length &&
2 !== render.length &&
error$jscomp$0(
"forwardRef render functions accept exactly two parameters: props and ref. %s",
1 === render.length
? "Did you forget to use the ref parameter?"
: "Any additional parameter will be undefined."
);
? console.error(
"forwardRef requires a render function but was given %s.",
null === render ? "null" : typeof render
)
: 0 !== render.length &&
2 !== render.length &&
console.error(
"forwardRef render functions accept exactly two parameters: props and ref. %s",
1 === render.length
? "Did you forget to use the ref parameter?"
: "Any additional parameter will be undefined."
);
null != render &&
null != render.defaultProps &&
error$jscomp$0(
console.error(
"forwardRef render functions do not support defaultProps. Did you accidentally pass a React component?"

@@ -955,20 +934,4 @@ );

exports.memo = function (type, compare) {
"string" === typeof type ||
"function" === typeof type ||
type === REACT_FRAGMENT_TYPE ||
type === REACT_PROFILER_TYPE ||
type === REACT_STRICT_MODE_TYPE ||
type === REACT_SUSPENSE_TYPE ||
type === REACT_SUSPENSE_LIST_TYPE ||
type === REACT_OFFSCREEN_TYPE ||
("object" === typeof type &&
null !== type &&
(type.$$typeof === REACT_LAZY_TYPE ||
type.$$typeof === REACT_MEMO_TYPE ||
type.$$typeof === REACT_CONTEXT_TYPE ||
type.$$typeof === REACT_CONSUMER_TYPE ||
type.$$typeof === REACT_FORWARD_REF_TYPE ||
type.$$typeof === REACT_CLIENT_REFERENCE$1 ||
void 0 !== type.getModuleId)) ||
error$jscomp$0(
null == type &&
console.error(
"memo: The first argument must be a component. Instead received: %s",

@@ -1001,6 +964,8 @@ null === type ? "null" : typeof type

var prevTransition = ReactSharedInternals.T,
transition = {};
ReactSharedInternals.T = transition;
var currentTransition = ReactSharedInternals.T;
ReactSharedInternals.T._updatedFibers = new Set();
currentTransition = {};
currentTransition.types =
null !== prevTransition ? prevTransition.types : null;
currentTransition.gesture = null;
currentTransition._updatedFibers = new Set();
ReactSharedInternals.T = currentTransition;
try {

@@ -1010,9 +975,11 @@ var returnValue = scope(),

null !== onStartTransitionFinish &&
onStartTransitionFinish(transition, returnValue);
onStartTransitionFinish(currentTransition, returnValue);
"object" === typeof returnValue &&
null !== returnValue &&
"function" === typeof returnValue.then &&
returnValue.then(noop, reportGlobalError);
} catch (error$1) {
reportGlobalError(error$1);
(ReactSharedInternals.asyncTransitions++,
returnValue.then(releaseAsyncTransition, releaseAsyncTransition),
returnValue.then(noop, reportGlobalError));
} catch (error) {
reportGlobalError(error);
} finally {

@@ -1024,10 +991,18 @@ null === prevTransition &&

10 < scope &&
warn(
console.warn(
"Detected a large number of updates inside startTransition. If this is due to a subscription please re-write it to use React provided hooks. Otherwise concurrent mode guarantees are off the table."
)),
null !== prevTransition &&
null !== currentTransition.types &&
(null !== prevTransition.types &&
prevTransition.types !== currentTransition.types &&
console.error(
"We expected inner Transitions to have transferred the outer types set and that you cannot add to the outer Transition while inside the inner.This is a bug in React."
),
(prevTransition.types = currentTransition.types)),
(ReactSharedInternals.T = prevTransition);
}
};
exports.unstable_DebugTracingMode = TaintRegistryObjects$1;
exports.unstable_SuspenseList = REACT_SUSPENSE_TYPE;
exports.unstable_SuspenseList = REACT_SUSPENSE_LIST_TYPE;
exports.unstable_ViewTransition = REACT_VIEW_TRANSITION_TYPE;
exports.unstable_getCacheForType = function (resourceType) {

@@ -1047,9 +1022,2 @@ var dispatcher = ReactSharedInternals.A;

};
exports.useActionState = function (action, initialState, permalink) {
return resolveDispatcher().useActionState(
action,
initialState,
permalink
);
};
exports.useCallback = function (callback, deps) {

@@ -1067,3 +1035,3 @@ return resolveDispatcher().useCallback(callback, deps);

};
exports.version = "19.0.0-experimental-1434af3d22-20240618";
exports.version = "19.2.0-experimental-143d3e1b-20250425";
})();

@@ -47,6 +47,8 @@ /**

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_DEBUG_TRACING_MODE_TYPE = Symbol.for("react.debug_trace_mode"),
REACT_ACTIVITY_TYPE = Symbol.for("react.activity"),
REACT_POSTPONE_TYPE = Symbol.for("react.postpone"),
REACT_VIEW_TRANSITION_TYPE = Symbol.for("react.view_transition"),
MAYBE_ITERATOR_SYMBOL = Symbol.iterator;

@@ -62,4 +64,4 @@ function getIteratorFn(maybeIterable) {

assign = Object.assign;
function ReactElement(type, key, _ref, self, source, owner, props) {
_ref = props.ref;
function ReactElement(type, key, self, source, owner, props) {
self = props.ref;
return {

@@ -69,3 +71,3 @@ $$typeof: REACT_ELEMENT_TYPE,

key: key,
ref: void 0 !== _ref ? _ref : null,
ref: void 0 !== self ? self : null,
props: props

@@ -78,3 +80,2 @@ };

newKey,
null,
void 0,

@@ -434,3 +435,3 @@ void 0,

}
return ReactElement(element.type, key, null, void 0, void 0, owner, props);
return ReactElement(element.type, key, void 0, void 0, owner, props);
};

@@ -459,3 +460,3 @@ exports.createElement = function (type, config, children) {

(props[propName] = childrenLength[propName]);
return ReactElement(type, key, null, void 0, void 0, null, props);
return ReactElement(type, key, void 0, void 0, null, props);
};

@@ -529,4 +530,7 @@ exports.createRef = function () {

var prevTransition = ReactSharedInternals.T,
transition = {};
ReactSharedInternals.T = transition;
currentTransition = {};
currentTransition.types =
null !== prevTransition ? prevTransition.types : null;
currentTransition.gesture = null;
ReactSharedInternals.T = currentTransition;
try {

@@ -536,3 +540,3 @@ var returnValue = scope(),

null !== onStartTransitionFinish &&
onStartTransitionFinish(transition, returnValue);
onStartTransitionFinish(currentTransition, returnValue);
"object" === typeof returnValue &&

@@ -545,7 +549,11 @@ null !== returnValue &&

} finally {
ReactSharedInternals.T = prevTransition;
null !== prevTransition &&
null !== currentTransition.types &&
(prevTransition.types = currentTransition.types),
(ReactSharedInternals.T = prevTransition);
}
};
exports.unstable_DebugTracingMode = REACT_DEBUG_TRACING_MODE_TYPE;
exports.unstable_SuspenseList = REACT_SUSPENSE_TYPE;
exports.unstable_Activity = REACT_ACTIVITY_TYPE;
exports.unstable_SuspenseList = REACT_SUSPENSE_LIST_TYPE;
exports.unstable_ViewTransition = REACT_VIEW_TRANSITION_TYPE;
exports.unstable_getCacheForType = function (resourceType) {

@@ -563,5 +571,2 @@ var dispatcher = ReactSharedInternals.A;

};
exports.useActionState = function (action, initialState, permalink) {
return ReactSharedInternals.H.useActionState(action, initialState, permalink);
};
exports.useCallback = function (callback, deps) {

@@ -577,2 +582,2 @@ return ReactSharedInternals.H.useCallback(callback, deps);

};
exports.version = "19.0.0-experimental-1434af3d22-20240618";
exports.version = "19.2.0-experimental-143d3e1b-20250425";

@@ -7,3 +7,3 @@ {

],
"version": "0.0.0-experimental-1434af3d22-20240618",
"version": "0.0.0-experimental-143d3e1b-20250425",
"homepage": "https://react.dev/",

@@ -10,0 +10,0 @@ "bugs": "https://github.com/facebook/react/issues",