Comparing version 0.0.0-experimental-71d16750c-20211202 to 0.0.0-experimental-720de7f81a-20241220
@@ -1,5 +0,6 @@ | ||
/** @license React vundefined | ||
/** | ||
* @license React | ||
* react-jsx-dev-runtime.development.js | ||
* | ||
* Copyright (c) Facebook, Inc. and its affiliates. | ||
* Copyright (c) Meta Platforms, Inc. and affiliates. | ||
* | ||
@@ -17,3 +18,2 @@ * This source code is licensed under the MIT license found in the | ||
var React = require('react'); | ||
var _assign = require('object-assign'); | ||
@@ -23,44 +23,19 @@ // ATTENTION | ||
// Please consider also adding to 'react-devtools-shared/src/backend/ReactSymbols' | ||
// The Symbol used to tag the ReactElement-like types. If there is no native Symbol | ||
// nor polyfill, then a plain number is used for performance. | ||
var REACT_ELEMENT_TYPE = 0xeac7; | ||
var REACT_PORTAL_TYPE = 0xeaca; | ||
exports.Fragment = 0xeacb; | ||
var REACT_STRICT_MODE_TYPE = 0xeacc; | ||
var REACT_PROFILER_TYPE = 0xead2; | ||
var REACT_PROVIDER_TYPE = 0xeacd; | ||
var REACT_CONTEXT_TYPE = 0xeace; | ||
var REACT_FORWARD_REF_TYPE = 0xead0; | ||
var REACT_SUSPENSE_TYPE = 0xead1; | ||
var REACT_SUSPENSE_LIST_TYPE = 0xead8; | ||
var REACT_MEMO_TYPE = 0xead3; | ||
var REACT_LAZY_TYPE = 0xead4; | ||
var REACT_SCOPE_TYPE = 0xead7; | ||
var REACT_DEBUG_TRACING_MODE_TYPE = 0xeae1; | ||
var REACT_OFFSCREEN_TYPE = 0xeae2; | ||
var REACT_LEGACY_HIDDEN_TYPE = 0xeae3; | ||
var REACT_CACHE_TYPE = 0xeae4; | ||
if (typeof Symbol === 'function' && Symbol.for) { | ||
var symbolFor = Symbol.for; | ||
REACT_ELEMENT_TYPE = symbolFor('react.element'); | ||
REACT_PORTAL_TYPE = symbolFor('react.portal'); | ||
exports.Fragment = symbolFor('react.fragment'); | ||
REACT_STRICT_MODE_TYPE = symbolFor('react.strict_mode'); | ||
REACT_PROFILER_TYPE = symbolFor('react.profiler'); | ||
REACT_PROVIDER_TYPE = symbolFor('react.provider'); | ||
REACT_CONTEXT_TYPE = symbolFor('react.context'); | ||
REACT_FORWARD_REF_TYPE = symbolFor('react.forward_ref'); | ||
REACT_SUSPENSE_TYPE = symbolFor('react.suspense'); | ||
REACT_SUSPENSE_LIST_TYPE = symbolFor('react.suspense_list'); | ||
REACT_MEMO_TYPE = symbolFor('react.memo'); | ||
REACT_LAZY_TYPE = symbolFor('react.lazy'); | ||
REACT_SCOPE_TYPE = symbolFor('react.scope'); | ||
REACT_DEBUG_TRACING_MODE_TYPE = symbolFor('react.debug_trace_mode'); | ||
REACT_OFFSCREEN_TYPE = symbolFor('react.offscreen'); | ||
REACT_LEGACY_HIDDEN_TYPE = symbolFor('react.legacy_hidden'); | ||
REACT_CACHE_TYPE = symbolFor('react.cache'); | ||
} | ||
var MAYBE_ITERATOR_SYMBOL = typeof Symbol === 'function' && Symbol.iterator; | ||
// The Symbol used to tag the ReactElement-like types. | ||
var REACT_ELEMENT_TYPE = Symbol.for('react.element'); | ||
var REACT_PORTAL_TYPE = Symbol.for('react.portal'); | ||
var REACT_FRAGMENT_TYPE = Symbol.for('react.fragment'); | ||
var REACT_STRICT_MODE_TYPE = Symbol.for('react.strict_mode'); | ||
var REACT_PROFILER_TYPE = Symbol.for('react.profiler'); | ||
var REACT_PROVIDER_TYPE = Symbol.for('react.provider'); | ||
var REACT_CONTEXT_TYPE = Symbol.for('react.context'); | ||
var REACT_SERVER_CONTEXT_TYPE = Symbol.for('react.server_context'); | ||
var REACT_FORWARD_REF_TYPE = Symbol.for('react.forward_ref'); | ||
var REACT_SUSPENSE_TYPE = Symbol.for('react.suspense'); | ||
var REACT_SUSPENSE_LIST_TYPE = Symbol.for('react.suspense_list'); | ||
var REACT_MEMO_TYPE = Symbol.for('react.memo'); | ||
var REACT_LAZY_TYPE = Symbol.for('react.lazy'); | ||
var REACT_OFFSCREEN_TYPE = Symbol.for('react.offscreen'); | ||
var REACT_CACHE_TYPE = Symbol.for('react.cache'); | ||
var MAYBE_ITERATOR_SYMBOL = Symbol.iterator; | ||
var FAUX_ITERATOR_SYMBOL = '@@iterator'; | ||
@@ -120,12 +95,14 @@ function getIteratorFn(maybeIterable) { | ||
// Filter certain DOM attributes (e.g. src, href) if their values are empty strings. | ||
// ----------------------------------------------------------------------------- | ||
var enableScopeAPI = false; // Experimental Create Event Handle API. | ||
var enableTransitionTracing = false; // No known bugs, but needs performance testing | ||
var REACT_MODULE_REFERENCE = 0; | ||
var enableLegacyHidden = false; // Enables unstable_avoidThisFallback feature in Fiber | ||
// stuff. Intended to enable React core members to more easily debug scheduling | ||
// issues in DEV builds. | ||
if (typeof Symbol === 'function') { | ||
REACT_MODULE_REFERENCE = Symbol.for('react.module.reference'); | ||
} | ||
var enableDebugTracing = false; // Track which Fiber(s) schedule render work. | ||
var REACT_CLIENT_REFERENCE$1 = Symbol.for('react.client.reference'); | ||
function isValidElementType(type) { | ||
@@ -137,3 +114,3 @@ if (typeof type === 'string' || typeof type === 'function') { | ||
if (type === exports.Fragment || type === REACT_PROFILER_TYPE || type === REACT_DEBUG_TRACING_MODE_TYPE || type === REACT_STRICT_MODE_TYPE || type === REACT_SUSPENSE_TYPE || type === REACT_SUSPENSE_LIST_TYPE || type === REACT_LEGACY_HIDDEN_TYPE || type === REACT_OFFSCREEN_TYPE || enableScopeAPI || type === REACT_CACHE_TYPE) { | ||
if (type === REACT_FRAGMENT_TYPE || type === REACT_PROFILER_TYPE || enableDebugTracing || type === REACT_STRICT_MODE_TYPE || type === REACT_SUSPENSE_TYPE || type === REACT_SUSPENSE_LIST_TYPE || enableLegacyHidden || type === REACT_OFFSCREEN_TYPE || enableScopeAPI || type === REACT_CACHE_TYPE || enableTransitionTracing ) { | ||
return true; | ||
@@ -147,3 +124,3 @@ } | ||
// with. | ||
type.$$typeof === REACT_MODULE_REFERENCE || type.getModuleId !== undefined) { | ||
type.$$typeof === REACT_CLIENT_REFERENCE$1 || type.getModuleId !== undefined) { | ||
return true; | ||
@@ -194,3 +171,3 @@ } | ||
switch (type) { | ||
case exports.Fragment: | ||
case REACT_FRAGMENT_TYPE: | ||
return 'Fragment'; | ||
@@ -214,3 +191,6 @@ | ||
case REACT_CACHE_TYPE: | ||
return 'Cache'; | ||
{ | ||
return 'Cache'; | ||
} | ||
} | ||
@@ -252,2 +232,9 @@ | ||
} | ||
case REACT_SERVER_CONTEXT_TYPE: | ||
{ | ||
var context2 = type; | ||
return (context2.displayName || context2._globalName) + '.Provider'; | ||
} | ||
} | ||
@@ -259,2 +246,4 @@ } | ||
var assign = Object.assign; | ||
// Helpers to patch console.logs to avoid logging during side-effect free | ||
@@ -293,3 +282,3 @@ // replaying on render function. This currently only patches the object | ||
writable: true | ||
}; // $FlowFixMe Flow thinks console is immutable. | ||
}; // $FlowFixMe[cannot-write] Flow thinks console is immutable. | ||
@@ -321,24 +310,24 @@ Object.defineProperties(console, { | ||
writable: true | ||
}; // $FlowFixMe Flow thinks console is immutable. | ||
}; // $FlowFixMe[cannot-write] Flow thinks console is immutable. | ||
Object.defineProperties(console, { | ||
log: _assign({}, props, { | ||
log: assign({}, props, { | ||
value: prevLog | ||
}), | ||
info: _assign({}, props, { | ||
info: assign({}, props, { | ||
value: prevInfo | ||
}), | ||
warn: _assign({}, props, { | ||
warn: assign({}, props, { | ||
value: prevWarn | ||
}), | ||
error: _assign({}, props, { | ||
error: assign({}, props, { | ||
value: prevError | ||
}), | ||
group: _assign({}, props, { | ||
group: assign({}, props, { | ||
value: prevGroup | ||
}), | ||
groupCollapsed: _assign({}, props, { | ||
groupCollapsed: assign({}, props, { | ||
value: prevGroupCollapsed | ||
}), | ||
groupEnd: _assign({}, props, { | ||
groupEnd: assign({}, props, { | ||
value: prevGroupEnd | ||
@@ -384,3 +373,3 @@ }) | ||
// If something asked for a stack inside a fake render, it should get ignored. | ||
if ( !fn || reentry) { | ||
if (!fn || reentry) { | ||
return ''; | ||
@@ -399,3 +388,3 @@ } | ||
reentry = true; | ||
var previousPrepareStackTrace = Error.prepareStackTrace; // $FlowFixMe It does accept undefined. | ||
var previousPrepareStackTrace = Error.prepareStackTrace; // $FlowFixMe[incompatible-type] It does accept undefined. | ||
@@ -419,3 +408,3 @@ Error.prepareStackTrace = undefined; | ||
throw Error(); | ||
}; // $FlowFixMe | ||
}; // $FlowFixMe[prop-missing] | ||
@@ -446,4 +435,5 @@ | ||
control = x; | ||
} | ||
} // $FlowFixMe[prop-missing] found when upgrading Flow | ||
fn.call(Fake.prototype); | ||
@@ -456,5 +446,15 @@ } | ||
control = x; | ||
} // TODO(luna): This will currently only throw if the function component | ||
// tries to access React/ReactDOM/props. We should probably make this throw | ||
// in simple components too | ||
var maybePromise = fn(); // If the function component returns a promise, it's likely an async | ||
// component, which we don't yet support. Attach a noop catch handler to | ||
// silence the error. | ||
// TODO: Implement component stacks for async client components? | ||
if (maybePromise && typeof maybePromise.catch === 'function') { | ||
maybePromise.catch(function () {}); | ||
} | ||
fn(); | ||
} | ||
@@ -607,8 +607,9 @@ } catch (sample) { | ||
// $FlowFixMe[method-unbinding] | ||
var hasOwnProperty = Object.prototype.hasOwnProperty; | ||
var loggedTypeFailures = {}; | ||
var ReactDebugCurrentFrame = ReactSharedInternals.ReactDebugCurrentFrame; | ||
var ReactDebugCurrentFrame$1 = ReactSharedInternals.ReactDebugCurrentFrame; | ||
function setCurrentlyValidatingElement(element) { | ||
function setCurrentlyValidatingElement$1(element) { | ||
{ | ||
@@ -618,5 +619,5 @@ if (element) { | ||
var stack = describeUnknownElementTypeFrameInDEV(element.type, element._source, owner ? owner.type : null); | ||
ReactDebugCurrentFrame.setExtraStackFrame(stack); | ||
ReactDebugCurrentFrame$1.setExtraStackFrame(stack); | ||
} else { | ||
ReactDebugCurrentFrame.setExtraStackFrame(null); | ||
ReactDebugCurrentFrame$1.setExtraStackFrame(null); | ||
} | ||
@@ -628,3 +629,3 @@ } | ||
{ | ||
// $FlowFixMe This is okay but Flow doesn't know it. | ||
// $FlowFixMe[incompatible-use] This is okay but Flow doesn't know it. | ||
var has = Function.call.bind(hasOwnProperty); | ||
@@ -654,7 +655,7 @@ | ||
if (error$1 && !(error$1 instanceof Error)) { | ||
setCurrentlyValidatingElement(element); | ||
setCurrentlyValidatingElement$1(element); | ||
error('%s: type specification of %s' + ' `%s` is invalid; the type checker ' + 'function must return `null` or an `Error` but returned a %s. ' + 'You may have forgotten to pass an argument to the type checker ' + 'creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and ' + 'shape all require an argument).', componentName || 'React class', location, typeSpecName, typeof error$1); | ||
setCurrentlyValidatingElement(null); | ||
setCurrentlyValidatingElement$1(null); | ||
} | ||
@@ -666,7 +667,7 @@ | ||
loggedTypeFailures[error$1.message] = true; | ||
setCurrentlyValidatingElement(element); | ||
setCurrentlyValidatingElement$1(element); | ||
error('Failed %s type: %s', location, error$1.message); | ||
setCurrentlyValidatingElement(null); | ||
setCurrentlyValidatingElement$1(null); | ||
} | ||
@@ -685,3 +686,3 @@ } | ||
/* | ||
* The `'' + value` pattern (used in in perf-sensitive code) throws for Symbol | ||
* The `'' + value` pattern (used in perf-sensitive code) throws for Symbol | ||
* and Temporal.* types. See https://github.com/facebook/react/pull/22064. | ||
@@ -694,3 +695,3 @@ * | ||
*/ | ||
// $FlowFixMe only called in DEV, so void return is not possible. | ||
// $FlowFixMe[incompatible-return] only called in DEV, so void return is not possible. | ||
function typeName(value) { | ||
@@ -700,6 +701,7 @@ { | ||
var hasToStringTag = typeof Symbol === 'function' && Symbol.toStringTag; | ||
var type = hasToStringTag && value[Symbol.toStringTag] || value.constructor.name || 'Object'; | ||
var type = hasToStringTag && value[Symbol.toStringTag] || value.constructor.name || 'Object'; // $FlowFixMe[incompatible-return] | ||
return type; | ||
} | ||
} // $FlowFixMe only called in DEV, so void return is not possible. | ||
} // $FlowFixMe[incompatible-return] only called in DEV, so void return is not possible. | ||
@@ -754,3 +756,3 @@ | ||
var ReactCurrentOwner = ReactSharedInternals.ReactCurrentOwner; | ||
var ReactCurrentOwner$1 = ReactSharedInternals.ReactCurrentOwner; | ||
var RESERVED_PROPS = { | ||
@@ -800,7 +802,7 @@ key: true, | ||
{ | ||
if (typeof config.ref === 'string' && ReactCurrentOwner.current && self && ReactCurrentOwner.current.stateNode !== self) { | ||
var componentName = getComponentNameFromType(ReactCurrentOwner.current.type); | ||
if (typeof config.ref === 'string' && ReactCurrentOwner$1.current && self && ReactCurrentOwner$1.current.stateNode !== self) { | ||
var componentName = getComponentNameFromType(ReactCurrentOwner$1.current.type); | ||
if (!didWarnAboutStringRefs[componentName]) { | ||
error('Component "%s" contains the string ref "%s". ' + 'Support for string refs will be removed in a future major release. ' + 'This case cannot be automatically converted to an arrow function. ' + 'We ask you to manually fix this case by using useRef() or createRef() instead. ' + 'Learn more about using refs safely here: ' + 'https://reactjs.org/link/strict-mode-string-ref', getComponentNameFromType(ReactCurrentOwner.current.type), config.ref); | ||
error('Component "%s" contains the string ref "%s". ' + 'Support for string refs will be removed in a future major release. ' + 'This case cannot be automatically converted to an arrow function. ' + 'We ask you to manually fix this case by using useRef() or createRef() instead. ' + 'Learn more about using refs safely here: ' + 'https://reactjs.org/link/strict-mode-string-ref', getComponentNameFromType(ReactCurrentOwner$1.current.type), config.ref); | ||
@@ -870,3 +872,3 @@ didWarnAboutStringRefs[componentName] = true; | ||
var ReactElement = function (type, key, ref, self, source, owner, props) { | ||
function ReactElement(type, key, ref, self, source, owner, props) { | ||
var element = { | ||
@@ -923,3 +925,3 @@ // This tag allows us to uniquely identify this as a React Element | ||
return element; | ||
}; | ||
} | ||
/** | ||
@@ -932,3 +934,3 @@ * https://github.com/reactjs/rfcs/pull/107 | ||
function jsxDEV(type, config, maybeKey, source, self) { | ||
function jsxDEV$1(type, config, maybeKey, source, self) { | ||
{ | ||
@@ -997,10 +999,11 @@ var propName; // Reserved names are extracted | ||
return ReactElement(type, key, ref, self, source, ReactCurrentOwner.current, props); | ||
return ReactElement(type, key, ref, self, source, ReactCurrentOwner$1.current, props); | ||
} | ||
} | ||
var ReactCurrentOwner$1 = ReactSharedInternals.ReactCurrentOwner; | ||
var ReactDebugCurrentFrame$1 = ReactSharedInternals.ReactDebugCurrentFrame; | ||
var ReactCurrentOwner = ReactSharedInternals.ReactCurrentOwner; | ||
var ReactDebugCurrentFrame = ReactSharedInternals.ReactDebugCurrentFrame; | ||
var REACT_CLIENT_REFERENCE = Symbol.for('react.client.reference'); | ||
function setCurrentlyValidatingElement$1(element) { | ||
function setCurrentlyValidatingElement(element) { | ||
{ | ||
@@ -1010,5 +1013,5 @@ if (element) { | ||
var stack = describeUnknownElementTypeFrameInDEV(element.type, element._source, owner ? owner.type : null); | ||
ReactDebugCurrentFrame$1.setExtraStackFrame(stack); | ||
ReactDebugCurrentFrame.setExtraStackFrame(stack); | ||
} else { | ||
ReactDebugCurrentFrame$1.setExtraStackFrame(null); | ||
ReactDebugCurrentFrame.setExtraStackFrame(null); | ||
} | ||
@@ -1040,4 +1043,4 @@ } | ||
{ | ||
if (ReactCurrentOwner$1.current) { | ||
var name = getComponentNameFromType(ReactCurrentOwner$1.current.type); | ||
if (ReactCurrentOwner.current) { | ||
var name = getComponentNameFromType(ReactCurrentOwner.current.type); | ||
@@ -1120,3 +1123,3 @@ if (name) { | ||
if (element && element._owner && element._owner !== ReactCurrentOwner$1.current) { | ||
if (element && element._owner && element._owner !== ReactCurrentOwner.current) { | ||
// Give the component that originally created this child. | ||
@@ -1126,7 +1129,7 @@ childOwner = " It was passed a child from " + getComponentNameFromType(element._owner.type) + "."; | ||
setCurrentlyValidatingElement$1(element); | ||
setCurrentlyValidatingElement(element); | ||
error('Each child in a list should have a unique "key" prop.' + '%s%s See https://reactjs.org/link/warning-keys for more information.', currentComponentErrorInfo, childOwner); | ||
setCurrentlyValidatingElement$1(null); | ||
setCurrentlyValidatingElement(null); | ||
} | ||
@@ -1147,7 +1150,7 @@ } | ||
{ | ||
if (typeof node !== 'object') { | ||
if (typeof node !== 'object' || !node) { | ||
return; | ||
} | ||
if (isArray(node)) { | ||
if (node.$$typeof === REACT_CLIENT_REFERENCE) ; else if (isArray(node)) { | ||
for (var i = 0; i < node.length; i++) { | ||
@@ -1165,3 +1168,3 @@ var child = node[i]; | ||
} | ||
} else if (node) { | ||
} else { | ||
var iteratorFn = getIteratorFn(node); | ||
@@ -1202,2 +1205,6 @@ | ||
if (type.$$typeof === REACT_CLIENT_REFERENCE) { | ||
return; | ||
} | ||
var propTypes; | ||
@@ -1246,7 +1253,7 @@ | ||
if (key !== 'children' && key !== 'key') { | ||
setCurrentlyValidatingElement$1(fragment); | ||
setCurrentlyValidatingElement(fragment); | ||
error('Invalid prop `%s` supplied to `React.Fragment`. ' + 'React.Fragment can only have `key` and `children` props.', key); | ||
setCurrentlyValidatingElement$1(null); | ||
setCurrentlyValidatingElement(null); | ||
break; | ||
@@ -1257,7 +1264,7 @@ } | ||
if (fragment.ref !== null) { | ||
setCurrentlyValidatingElement$1(fragment); | ||
setCurrentlyValidatingElement(fragment); | ||
error('Invalid attribute `ref` supplied to `React.Fragment`.'); | ||
setCurrentlyValidatingElement$1(null); | ||
setCurrentlyValidatingElement(null); | ||
} | ||
@@ -1267,2 +1274,3 @@ } | ||
var didWarnAboutKeySpread = {}; | ||
function jsxWithValidation(type, props, key, isStaticChildren, source, self) { | ||
@@ -1304,3 +1312,3 @@ { | ||
var element = jsxDEV(type, props, key, source, self); // The result can be nullish if a mock or a custom function is used. | ||
var element = jsxDEV$1(type, props, key, source, self); // The result can be nullish if a mock or a custom function is used. | ||
// TODO: Drop this when these are no longer allowed as the type argument. | ||
@@ -1339,3 +1347,19 @@ | ||
if (type === exports.Fragment) { | ||
if (hasOwnProperty.call(props, 'key')) { | ||
var componentName = getComponentNameFromType(type); | ||
var keys = Object.keys(props).filter(function (k) { | ||
return k !== 'key'; | ||
}); | ||
var beforeExample = keys.length > 0 ? '{key: someKey, ' + keys.join(': ..., ') + ': ...}' : '{key: someKey}'; | ||
if (!didWarnAboutKeySpread[componentName + beforeExample]) { | ||
var afterExample = keys.length > 0 ? '{' + keys.join(': ..., ') + ': ...}' : '{}'; | ||
error('A props object containing a "key" prop is being spread into JSX:\n' + ' let props = %s;\n' + ' <%s {...props} />\n' + 'React keys must be passed directly to JSX without using spread:\n' + ' let props = %s;\n' + ' <%s key={someKey} {...props} />', beforeExample, componentName, afterExample, componentName); | ||
didWarnAboutKeySpread[componentName + beforeExample] = true; | ||
} | ||
} | ||
if (type === REACT_FRAGMENT_TYPE) { | ||
validateFragmentProps(element); | ||
@@ -1350,6 +1374,7 @@ } else { | ||
var jsxDEV$1 = jsxWithValidation ; | ||
var jsxDEV = jsxWithValidation ; | ||
exports.jsxDEV = jsxDEV$1; | ||
exports.Fragment = REACT_FRAGMENT_TYPE; | ||
exports.jsxDEV = jsxDEV; | ||
})(); | ||
} |
@@ -1,5 +0,6 @@ | ||
/** @license React vundefined | ||
/** | ||
* @license React | ||
* react-jsx-dev-runtime.production.min.js | ||
* | ||
* Copyright (c) Facebook, Inc. and its affiliates. | ||
* Copyright (c) Meta Platforms, Inc. and affiliates. | ||
* | ||
@@ -9,2 +10,2 @@ * This source code is licensed under the MIT license found in the | ||
*/ | ||
'use strict';require("object-assign");exports.Fragment=60107;if("function"===typeof Symbol&&Symbol.for){var a=Symbol.for;exports.Fragment=a("react.fragment")}exports.jsxDEV=void 0; | ||
'use strict';var a=Symbol.for("react.fragment");exports.Fragment=a;exports.jsxDEV=void 0; |
@@ -1,5 +0,6 @@ | ||
/** @license React vundefined | ||
/** | ||
* @license React | ||
* react-jsx-dev-runtime.profiling.min.js | ||
* | ||
* Copyright (c) Facebook, Inc. and its affiliates. | ||
* Copyright (c) Meta Platforms, Inc. and affiliates. | ||
* | ||
@@ -9,2 +10,2 @@ * This source code is licensed under the MIT license found in the | ||
*/ | ||
'use strict';require("object-assign");exports.Fragment=60107;if("function"===typeof Symbol&&Symbol.for){var a=Symbol.for;exports.Fragment=a("react.fragment")}exports.jsxDEV=void 0; | ||
'use strict';var a=Symbol.for("react.fragment");exports.Fragment=a;exports.jsxDEV=void 0; |
@@ -1,5 +0,6 @@ | ||
/** @license React vundefined | ||
/** | ||
* @license React | ||
* react-jsx-runtime.development.js | ||
* | ||
* Copyright (c) Facebook, Inc. and its affiliates. | ||
* Copyright (c) Meta Platforms, Inc. and affiliates. | ||
* | ||
@@ -17,3 +18,2 @@ * This source code is licensed under the MIT license found in the | ||
var React = require('react'); | ||
var _assign = require('object-assign'); | ||
@@ -23,44 +23,19 @@ // ATTENTION | ||
// Please consider also adding to 'react-devtools-shared/src/backend/ReactSymbols' | ||
// The Symbol used to tag the ReactElement-like types. If there is no native Symbol | ||
// nor polyfill, then a plain number is used for performance. | ||
var REACT_ELEMENT_TYPE = 0xeac7; | ||
var REACT_PORTAL_TYPE = 0xeaca; | ||
exports.Fragment = 0xeacb; | ||
var REACT_STRICT_MODE_TYPE = 0xeacc; | ||
var REACT_PROFILER_TYPE = 0xead2; | ||
var REACT_PROVIDER_TYPE = 0xeacd; | ||
var REACT_CONTEXT_TYPE = 0xeace; | ||
var REACT_FORWARD_REF_TYPE = 0xead0; | ||
var REACT_SUSPENSE_TYPE = 0xead1; | ||
var REACT_SUSPENSE_LIST_TYPE = 0xead8; | ||
var REACT_MEMO_TYPE = 0xead3; | ||
var REACT_LAZY_TYPE = 0xead4; | ||
var REACT_SCOPE_TYPE = 0xead7; | ||
var REACT_DEBUG_TRACING_MODE_TYPE = 0xeae1; | ||
var REACT_OFFSCREEN_TYPE = 0xeae2; | ||
var REACT_LEGACY_HIDDEN_TYPE = 0xeae3; | ||
var REACT_CACHE_TYPE = 0xeae4; | ||
if (typeof Symbol === 'function' && Symbol.for) { | ||
var symbolFor = Symbol.for; | ||
REACT_ELEMENT_TYPE = symbolFor('react.element'); | ||
REACT_PORTAL_TYPE = symbolFor('react.portal'); | ||
exports.Fragment = symbolFor('react.fragment'); | ||
REACT_STRICT_MODE_TYPE = symbolFor('react.strict_mode'); | ||
REACT_PROFILER_TYPE = symbolFor('react.profiler'); | ||
REACT_PROVIDER_TYPE = symbolFor('react.provider'); | ||
REACT_CONTEXT_TYPE = symbolFor('react.context'); | ||
REACT_FORWARD_REF_TYPE = symbolFor('react.forward_ref'); | ||
REACT_SUSPENSE_TYPE = symbolFor('react.suspense'); | ||
REACT_SUSPENSE_LIST_TYPE = symbolFor('react.suspense_list'); | ||
REACT_MEMO_TYPE = symbolFor('react.memo'); | ||
REACT_LAZY_TYPE = symbolFor('react.lazy'); | ||
REACT_SCOPE_TYPE = symbolFor('react.scope'); | ||
REACT_DEBUG_TRACING_MODE_TYPE = symbolFor('react.debug_trace_mode'); | ||
REACT_OFFSCREEN_TYPE = symbolFor('react.offscreen'); | ||
REACT_LEGACY_HIDDEN_TYPE = symbolFor('react.legacy_hidden'); | ||
REACT_CACHE_TYPE = symbolFor('react.cache'); | ||
} | ||
var MAYBE_ITERATOR_SYMBOL = typeof Symbol === 'function' && Symbol.iterator; | ||
// The Symbol used to tag the ReactElement-like types. | ||
var REACT_ELEMENT_TYPE = Symbol.for('react.element'); | ||
var REACT_PORTAL_TYPE = Symbol.for('react.portal'); | ||
var REACT_FRAGMENT_TYPE = Symbol.for('react.fragment'); | ||
var REACT_STRICT_MODE_TYPE = Symbol.for('react.strict_mode'); | ||
var REACT_PROFILER_TYPE = Symbol.for('react.profiler'); | ||
var REACT_PROVIDER_TYPE = Symbol.for('react.provider'); | ||
var REACT_CONTEXT_TYPE = Symbol.for('react.context'); | ||
var REACT_SERVER_CONTEXT_TYPE = Symbol.for('react.server_context'); | ||
var REACT_FORWARD_REF_TYPE = Symbol.for('react.forward_ref'); | ||
var REACT_SUSPENSE_TYPE = Symbol.for('react.suspense'); | ||
var REACT_SUSPENSE_LIST_TYPE = Symbol.for('react.suspense_list'); | ||
var REACT_MEMO_TYPE = Symbol.for('react.memo'); | ||
var REACT_LAZY_TYPE = Symbol.for('react.lazy'); | ||
var REACT_OFFSCREEN_TYPE = Symbol.for('react.offscreen'); | ||
var REACT_CACHE_TYPE = Symbol.for('react.cache'); | ||
var MAYBE_ITERATOR_SYMBOL = Symbol.iterator; | ||
var FAUX_ITERATOR_SYMBOL = '@@iterator'; | ||
@@ -120,12 +95,14 @@ function getIteratorFn(maybeIterable) { | ||
// Filter certain DOM attributes (e.g. src, href) if their values are empty strings. | ||
// ----------------------------------------------------------------------------- | ||
var enableScopeAPI = false; // Experimental Create Event Handle API. | ||
var enableTransitionTracing = false; // No known bugs, but needs performance testing | ||
var REACT_MODULE_REFERENCE = 0; | ||
var enableLegacyHidden = false; // Enables unstable_avoidThisFallback feature in Fiber | ||
// stuff. Intended to enable React core members to more easily debug scheduling | ||
// issues in DEV builds. | ||
if (typeof Symbol === 'function') { | ||
REACT_MODULE_REFERENCE = Symbol.for('react.module.reference'); | ||
} | ||
var enableDebugTracing = false; // Track which Fiber(s) schedule render work. | ||
var REACT_CLIENT_REFERENCE$1 = Symbol.for('react.client.reference'); | ||
function isValidElementType(type) { | ||
@@ -137,3 +114,3 @@ if (typeof type === 'string' || typeof type === 'function') { | ||
if (type === exports.Fragment || type === REACT_PROFILER_TYPE || type === REACT_DEBUG_TRACING_MODE_TYPE || type === REACT_STRICT_MODE_TYPE || type === REACT_SUSPENSE_TYPE || type === REACT_SUSPENSE_LIST_TYPE || type === REACT_LEGACY_HIDDEN_TYPE || type === REACT_OFFSCREEN_TYPE || enableScopeAPI || type === REACT_CACHE_TYPE) { | ||
if (type === REACT_FRAGMENT_TYPE || type === REACT_PROFILER_TYPE || enableDebugTracing || type === REACT_STRICT_MODE_TYPE || type === REACT_SUSPENSE_TYPE || type === REACT_SUSPENSE_LIST_TYPE || enableLegacyHidden || type === REACT_OFFSCREEN_TYPE || enableScopeAPI || type === REACT_CACHE_TYPE || enableTransitionTracing ) { | ||
return true; | ||
@@ -147,3 +124,3 @@ } | ||
// with. | ||
type.$$typeof === REACT_MODULE_REFERENCE || type.getModuleId !== undefined) { | ||
type.$$typeof === REACT_CLIENT_REFERENCE$1 || type.getModuleId !== undefined) { | ||
return true; | ||
@@ -194,3 +171,3 @@ } | ||
switch (type) { | ||
case exports.Fragment: | ||
case REACT_FRAGMENT_TYPE: | ||
return 'Fragment'; | ||
@@ -214,3 +191,6 @@ | ||
case REACT_CACHE_TYPE: | ||
return 'Cache'; | ||
{ | ||
return 'Cache'; | ||
} | ||
} | ||
@@ -252,2 +232,9 @@ | ||
} | ||
case REACT_SERVER_CONTEXT_TYPE: | ||
{ | ||
var context2 = type; | ||
return (context2.displayName || context2._globalName) + '.Provider'; | ||
} | ||
} | ||
@@ -259,2 +246,4 @@ } | ||
var assign = Object.assign; | ||
// Helpers to patch console.logs to avoid logging during side-effect free | ||
@@ -293,3 +282,3 @@ // replaying on render function. This currently only patches the object | ||
writable: true | ||
}; // $FlowFixMe Flow thinks console is immutable. | ||
}; // $FlowFixMe[cannot-write] Flow thinks console is immutable. | ||
@@ -321,24 +310,24 @@ Object.defineProperties(console, { | ||
writable: true | ||
}; // $FlowFixMe Flow thinks console is immutable. | ||
}; // $FlowFixMe[cannot-write] Flow thinks console is immutable. | ||
Object.defineProperties(console, { | ||
log: _assign({}, props, { | ||
log: assign({}, props, { | ||
value: prevLog | ||
}), | ||
info: _assign({}, props, { | ||
info: assign({}, props, { | ||
value: prevInfo | ||
}), | ||
warn: _assign({}, props, { | ||
warn: assign({}, props, { | ||
value: prevWarn | ||
}), | ||
error: _assign({}, props, { | ||
error: assign({}, props, { | ||
value: prevError | ||
}), | ||
group: _assign({}, props, { | ||
group: assign({}, props, { | ||
value: prevGroup | ||
}), | ||
groupCollapsed: _assign({}, props, { | ||
groupCollapsed: assign({}, props, { | ||
value: prevGroupCollapsed | ||
}), | ||
groupEnd: _assign({}, props, { | ||
groupEnd: assign({}, props, { | ||
value: prevGroupEnd | ||
@@ -384,3 +373,3 @@ }) | ||
// If something asked for a stack inside a fake render, it should get ignored. | ||
if ( !fn || reentry) { | ||
if (!fn || reentry) { | ||
return ''; | ||
@@ -399,3 +388,3 @@ } | ||
reentry = true; | ||
var previousPrepareStackTrace = Error.prepareStackTrace; // $FlowFixMe It does accept undefined. | ||
var previousPrepareStackTrace = Error.prepareStackTrace; // $FlowFixMe[incompatible-type] It does accept undefined. | ||
@@ -419,3 +408,3 @@ Error.prepareStackTrace = undefined; | ||
throw Error(); | ||
}; // $FlowFixMe | ||
}; // $FlowFixMe[prop-missing] | ||
@@ -446,4 +435,5 @@ | ||
control = x; | ||
} | ||
} // $FlowFixMe[prop-missing] found when upgrading Flow | ||
fn.call(Fake.prototype); | ||
@@ -456,5 +446,15 @@ } | ||
control = x; | ||
} // TODO(luna): This will currently only throw if the function component | ||
// tries to access React/ReactDOM/props. We should probably make this throw | ||
// in simple components too | ||
var maybePromise = fn(); // If the function component returns a promise, it's likely an async | ||
// component, which we don't yet support. Attach a noop catch handler to | ||
// silence the error. | ||
// TODO: Implement component stacks for async client components? | ||
if (maybePromise && typeof maybePromise.catch === 'function') { | ||
maybePromise.catch(function () {}); | ||
} | ||
fn(); | ||
} | ||
@@ -607,8 +607,9 @@ } catch (sample) { | ||
// $FlowFixMe[method-unbinding] | ||
var hasOwnProperty = Object.prototype.hasOwnProperty; | ||
var loggedTypeFailures = {}; | ||
var ReactDebugCurrentFrame = ReactSharedInternals.ReactDebugCurrentFrame; | ||
var ReactDebugCurrentFrame$1 = ReactSharedInternals.ReactDebugCurrentFrame; | ||
function setCurrentlyValidatingElement(element) { | ||
function setCurrentlyValidatingElement$1(element) { | ||
{ | ||
@@ -618,5 +619,5 @@ if (element) { | ||
var stack = describeUnknownElementTypeFrameInDEV(element.type, element._source, owner ? owner.type : null); | ||
ReactDebugCurrentFrame.setExtraStackFrame(stack); | ||
ReactDebugCurrentFrame$1.setExtraStackFrame(stack); | ||
} else { | ||
ReactDebugCurrentFrame.setExtraStackFrame(null); | ||
ReactDebugCurrentFrame$1.setExtraStackFrame(null); | ||
} | ||
@@ -628,3 +629,3 @@ } | ||
{ | ||
// $FlowFixMe This is okay but Flow doesn't know it. | ||
// $FlowFixMe[incompatible-use] This is okay but Flow doesn't know it. | ||
var has = Function.call.bind(hasOwnProperty); | ||
@@ -654,7 +655,7 @@ | ||
if (error$1 && !(error$1 instanceof Error)) { | ||
setCurrentlyValidatingElement(element); | ||
setCurrentlyValidatingElement$1(element); | ||
error('%s: type specification of %s' + ' `%s` is invalid; the type checker ' + 'function must return `null` or an `Error` but returned a %s. ' + 'You may have forgotten to pass an argument to the type checker ' + 'creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and ' + 'shape all require an argument).', componentName || 'React class', location, typeSpecName, typeof error$1); | ||
setCurrentlyValidatingElement(null); | ||
setCurrentlyValidatingElement$1(null); | ||
} | ||
@@ -666,7 +667,7 @@ | ||
loggedTypeFailures[error$1.message] = true; | ||
setCurrentlyValidatingElement(element); | ||
setCurrentlyValidatingElement$1(element); | ||
error('Failed %s type: %s', location, error$1.message); | ||
setCurrentlyValidatingElement(null); | ||
setCurrentlyValidatingElement$1(null); | ||
} | ||
@@ -685,3 +686,3 @@ } | ||
/* | ||
* The `'' + value` pattern (used in in perf-sensitive code) throws for Symbol | ||
* The `'' + value` pattern (used in perf-sensitive code) throws for Symbol | ||
* and Temporal.* types. See https://github.com/facebook/react/pull/22064. | ||
@@ -694,3 +695,3 @@ * | ||
*/ | ||
// $FlowFixMe only called in DEV, so void return is not possible. | ||
// $FlowFixMe[incompatible-return] only called in DEV, so void return is not possible. | ||
function typeName(value) { | ||
@@ -700,6 +701,7 @@ { | ||
var hasToStringTag = typeof Symbol === 'function' && Symbol.toStringTag; | ||
var type = hasToStringTag && value[Symbol.toStringTag] || value.constructor.name || 'Object'; | ||
var type = hasToStringTag && value[Symbol.toStringTag] || value.constructor.name || 'Object'; // $FlowFixMe[incompatible-return] | ||
return type; | ||
} | ||
} // $FlowFixMe only called in DEV, so void return is not possible. | ||
} // $FlowFixMe[incompatible-return] only called in DEV, so void return is not possible. | ||
@@ -754,3 +756,3 @@ | ||
var ReactCurrentOwner = ReactSharedInternals.ReactCurrentOwner; | ||
var ReactCurrentOwner$1 = ReactSharedInternals.ReactCurrentOwner; | ||
var RESERVED_PROPS = { | ||
@@ -800,7 +802,7 @@ key: true, | ||
{ | ||
if (typeof config.ref === 'string' && ReactCurrentOwner.current && self && ReactCurrentOwner.current.stateNode !== self) { | ||
var componentName = getComponentNameFromType(ReactCurrentOwner.current.type); | ||
if (typeof config.ref === 'string' && ReactCurrentOwner$1.current && self && ReactCurrentOwner$1.current.stateNode !== self) { | ||
var componentName = getComponentNameFromType(ReactCurrentOwner$1.current.type); | ||
if (!didWarnAboutStringRefs[componentName]) { | ||
error('Component "%s" contains the string ref "%s". ' + 'Support for string refs will be removed in a future major release. ' + 'This case cannot be automatically converted to an arrow function. ' + 'We ask you to manually fix this case by using useRef() or createRef() instead. ' + 'Learn more about using refs safely here: ' + 'https://reactjs.org/link/strict-mode-string-ref', getComponentNameFromType(ReactCurrentOwner.current.type), config.ref); | ||
error('Component "%s" contains the string ref "%s". ' + 'Support for string refs will be removed in a future major release. ' + 'This case cannot be automatically converted to an arrow function. ' + 'We ask you to manually fix this case by using useRef() or createRef() instead. ' + 'Learn more about using refs safely here: ' + 'https://reactjs.org/link/strict-mode-string-ref', getComponentNameFromType(ReactCurrentOwner$1.current.type), config.ref); | ||
@@ -870,3 +872,3 @@ didWarnAboutStringRefs[componentName] = true; | ||
var ReactElement = function (type, key, ref, self, source, owner, props) { | ||
function ReactElement(type, key, ref, self, source, owner, props) { | ||
var element = { | ||
@@ -923,3 +925,3 @@ // This tag allows us to uniquely identify this as a React Element | ||
return element; | ||
}; | ||
} | ||
/** | ||
@@ -996,10 +998,11 @@ * https://github.com/reactjs/rfcs/pull/107 | ||
return ReactElement(type, key, ref, self, source, ReactCurrentOwner.current, props); | ||
return ReactElement(type, key, ref, self, source, ReactCurrentOwner$1.current, props); | ||
} | ||
} | ||
var ReactCurrentOwner$1 = ReactSharedInternals.ReactCurrentOwner; | ||
var ReactDebugCurrentFrame$1 = ReactSharedInternals.ReactDebugCurrentFrame; | ||
var ReactCurrentOwner = ReactSharedInternals.ReactCurrentOwner; | ||
var ReactDebugCurrentFrame = ReactSharedInternals.ReactDebugCurrentFrame; | ||
var REACT_CLIENT_REFERENCE = Symbol.for('react.client.reference'); | ||
function setCurrentlyValidatingElement$1(element) { | ||
function setCurrentlyValidatingElement(element) { | ||
{ | ||
@@ -1009,5 +1012,5 @@ if (element) { | ||
var stack = describeUnknownElementTypeFrameInDEV(element.type, element._source, owner ? owner.type : null); | ||
ReactDebugCurrentFrame$1.setExtraStackFrame(stack); | ||
ReactDebugCurrentFrame.setExtraStackFrame(stack); | ||
} else { | ||
ReactDebugCurrentFrame$1.setExtraStackFrame(null); | ||
ReactDebugCurrentFrame.setExtraStackFrame(null); | ||
} | ||
@@ -1039,4 +1042,4 @@ } | ||
{ | ||
if (ReactCurrentOwner$1.current) { | ||
var name = getComponentNameFromType(ReactCurrentOwner$1.current.type); | ||
if (ReactCurrentOwner.current) { | ||
var name = getComponentNameFromType(ReactCurrentOwner.current.type); | ||
@@ -1119,3 +1122,3 @@ if (name) { | ||
if (element && element._owner && element._owner !== ReactCurrentOwner$1.current) { | ||
if (element && element._owner && element._owner !== ReactCurrentOwner.current) { | ||
// Give the component that originally created this child. | ||
@@ -1125,7 +1128,7 @@ childOwner = " It was passed a child from " + getComponentNameFromType(element._owner.type) + "."; | ||
setCurrentlyValidatingElement$1(element); | ||
setCurrentlyValidatingElement(element); | ||
error('Each child in a list should have a unique "key" prop.' + '%s%s See https://reactjs.org/link/warning-keys for more information.', currentComponentErrorInfo, childOwner); | ||
setCurrentlyValidatingElement$1(null); | ||
setCurrentlyValidatingElement(null); | ||
} | ||
@@ -1146,7 +1149,7 @@ } | ||
{ | ||
if (typeof node !== 'object') { | ||
if (typeof node !== 'object' || !node) { | ||
return; | ||
} | ||
if (isArray(node)) { | ||
if (node.$$typeof === REACT_CLIENT_REFERENCE) ; else if (isArray(node)) { | ||
for (var i = 0; i < node.length; i++) { | ||
@@ -1164,3 +1167,3 @@ var child = node[i]; | ||
} | ||
} else if (node) { | ||
} else { | ||
var iteratorFn = getIteratorFn(node); | ||
@@ -1201,2 +1204,6 @@ | ||
if (type.$$typeof === REACT_CLIENT_REFERENCE) { | ||
return; | ||
} | ||
var propTypes; | ||
@@ -1245,7 +1252,7 @@ | ||
if (key !== 'children' && key !== 'key') { | ||
setCurrentlyValidatingElement$1(fragment); | ||
setCurrentlyValidatingElement(fragment); | ||
error('Invalid prop `%s` supplied to `React.Fragment`. ' + 'React.Fragment can only have `key` and `children` props.', key); | ||
setCurrentlyValidatingElement$1(null); | ||
setCurrentlyValidatingElement(null); | ||
break; | ||
@@ -1256,7 +1263,7 @@ } | ||
if (fragment.ref !== null) { | ||
setCurrentlyValidatingElement$1(fragment); | ||
setCurrentlyValidatingElement(fragment); | ||
error('Invalid attribute `ref` supplied to `React.Fragment`.'); | ||
setCurrentlyValidatingElement$1(null); | ||
setCurrentlyValidatingElement(null); | ||
} | ||
@@ -1266,2 +1273,3 @@ } | ||
var didWarnAboutKeySpread = {}; | ||
function jsxWithValidation(type, props, key, isStaticChildren, source, self) { | ||
@@ -1337,3 +1345,19 @@ { | ||
if (type === exports.Fragment) { | ||
if (hasOwnProperty.call(props, 'key')) { | ||
var componentName = getComponentNameFromType(type); | ||
var keys = Object.keys(props).filter(function (k) { | ||
return k !== 'key'; | ||
}); | ||
var beforeExample = keys.length > 0 ? '{key: someKey, ' + keys.join(': ..., ') + ': ...}' : '{key: someKey}'; | ||
if (!didWarnAboutKeySpread[componentName + beforeExample]) { | ||
var afterExample = keys.length > 0 ? '{' + keys.join(': ..., ') + ': ...}' : '{}'; | ||
error('A props object containing a "key" prop is being spread into JSX:\n' + ' let props = %s;\n' + ' <%s {...props} />\n' + 'React keys must be passed directly to JSX without using spread:\n' + ' let props = %s;\n' + ' <%s key={someKey} {...props} />', beforeExample, componentName, afterExample, componentName); | ||
didWarnAboutKeySpread[componentName + beforeExample] = true; | ||
} | ||
} | ||
if (type === REACT_FRAGMENT_TYPE) { | ||
validateFragmentProps(element); | ||
@@ -1362,7 +1386,8 @@ } else { | ||
var jsx = jsxWithValidationDynamic ; // we may want to special case jsxs internally to take advantage of static children. | ||
var jsx = jsxWithValidationDynamic ; // we may want to special case jsxs internally to take advantage of static children. | ||
// for now we can ship identical prod functions | ||
var jsxs = jsxWithValidationStatic ; | ||
var jsxs = jsxWithValidationStatic ; | ||
exports.Fragment = REACT_FRAGMENT_TYPE; | ||
exports.jsx = jsx; | ||
@@ -1369,0 +1394,0 @@ exports.jsxs = jsxs; |
@@ -1,5 +0,6 @@ | ||
/** @license React vundefined | ||
/** | ||
* @license React | ||
* react-jsx-runtime.production.min.js | ||
* | ||
* Copyright (c) Facebook, Inc. and its affiliates. | ||
* Copyright (c) Meta Platforms, Inc. and affiliates. | ||
* | ||
@@ -9,3 +10,3 @@ * This source code is licensed under the MIT license found in the | ||
*/ | ||
'use strict';require("object-assign");var f=require("react"),g=60103;exports.Fragment=60107;if("function"===typeof Symbol&&Symbol.for){var h=Symbol.for;g=h("react.element");exports.Fragment=h("react.fragment")}var m=Object.prototype.hasOwnProperty,n=f.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,p={key:!0,ref:!0,__self:!0,__source:!0}; | ||
function q(c,a,k){var b,d={},e=null,l=null;void 0!==k&&(e=""+k);void 0!==a.key&&(e=""+a.key);void 0!==a.ref&&(l=a.ref);for(b in a)m.call(a,b)&&!p.hasOwnProperty(b)&&(d[b]=a[b]);if(c&&c.defaultProps)for(b in a=c.defaultProps,a)void 0===d[b]&&(d[b]=a[b]);return{$$typeof:g,type:c,key:e,ref:l,props:d,_owner:n.current}}exports.jsx=q;exports.jsxs=q; | ||
'use strict';var f=require("react"),k=Symbol.for("react.element"),l=Symbol.for("react.fragment"),m=Object.prototype.hasOwnProperty,n=f.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,p={key:!0,ref:!0,__self:!0,__source:!0}; | ||
function q(c,a,g){var b,d={},e=null,h=null;void 0!==g&&(e=""+g);void 0!==a.key&&(e=""+a.key);void 0!==a.ref&&(h=a.ref);for(b in a)m.call(a,b)&&!p.hasOwnProperty(b)&&(d[b]=a[b]);if(c&&c.defaultProps)for(b in a=c.defaultProps,a)void 0===d[b]&&(d[b]=a[b]);return{$$typeof:k,type:c,key:e,ref:h,props:d,_owner:n.current}}exports.Fragment=l;exports.jsx=q;exports.jsxs=q; |
@@ -1,5 +0,6 @@ | ||
/** @license React vundefined | ||
/** | ||
* @license React | ||
* react-jsx-runtime.profiling.min.js | ||
* | ||
* Copyright (c) Facebook, Inc. and its affiliates. | ||
* Copyright (c) Meta Platforms, Inc. and affiliates. | ||
* | ||
@@ -9,3 +10,3 @@ * This source code is licensed under the MIT license found in the | ||
*/ | ||
'use strict';require("object-assign");var f=require("react"),g=60103;exports.Fragment=60107;if("function"===typeof Symbol&&Symbol.for){var h=Symbol.for;g=h("react.element");exports.Fragment=h("react.fragment")}var m=Object.prototype.hasOwnProperty,n=f.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,p={key:!0,ref:!0,__self:!0,__source:!0}; | ||
function q(c,a,k){var b,d={},e=null,l=null;void 0!==k&&(e=""+k);void 0!==a.key&&(e=""+a.key);void 0!==a.ref&&(l=a.ref);for(b in a)m.call(a,b)&&!p.hasOwnProperty(b)&&(d[b]=a[b]);if(c&&c.defaultProps)for(b in a=c.defaultProps,a)void 0===d[b]&&(d[b]=a[b]);return{$$typeof:g,type:c,key:e,ref:l,props:d,_owner:n.current}}exports.jsx=q;exports.jsxs=q; | ||
'use strict';var f=require("react"),k=Symbol.for("react.element"),l=Symbol.for("react.fragment"),m=Object.prototype.hasOwnProperty,n=f.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,p={key:!0,ref:!0,__self:!0,__source:!0}; | ||
function q(c,a,g){var b,d={},e=null,h=null;void 0!==g&&(e=""+g);void 0!==a.key&&(e=""+a.key);void 0!==a.ref&&(h=a.ref);for(b in a)m.call(a,b)&&!p.hasOwnProperty(b)&&(d[b]=a[b]);if(c&&c.defaultProps)for(b in a=c.defaultProps,a)void 0===d[b]&&(d[b]=a[b]);return{$$typeof:k,type:c,key:e,ref:h,props:d,_owner:n.current}}exports.Fragment=l;exports.jsx=q;exports.jsxs=q; |
@@ -1,5 +0,6 @@ | ||
/** @license React vundefined | ||
/** | ||
* @license React | ||
* react.production.min.js | ||
* | ||
* Copyright (c) Facebook, Inc. and its affiliates. | ||
* Copyright (c) Meta Platforms, Inc. and affiliates. | ||
* | ||
@@ -9,19 +10,24 @@ * This source code is licensed under the MIT license found in the | ||
*/ | ||
'use strict';var l=require("object-assign"),m=60103,p=60106;exports.Fragment=60107;exports.StrictMode=60108;exports.Profiler=60114;var q=60109,r=60110,t=60112;exports.Suspense=60113;exports.SuspenseList=60120;var u=60115,v=60116;exports.unstable_DebugTracingMode=60129;exports.unstable_Offscreen=60130;exports.unstable_LegacyHidden=60131;exports.unstable_Cache=60132; | ||
if("function"===typeof Symbol&&Symbol.for){var w=Symbol.for;m=w("react.element");p=w("react.portal");exports.Fragment=w("react.fragment");exports.StrictMode=w("react.strict_mode");exports.Profiler=w("react.profiler");q=w("react.provider");r=w("react.context");t=w("react.forward_ref");exports.Suspense=w("react.suspense");exports.SuspenseList=w("react.suspense_list");u=w("react.memo");v=w("react.lazy");exports.unstable_DebugTracingMode=w("react.debug_trace_mode");exports.unstable_Offscreen=w("react.offscreen"); | ||
exports.unstable_LegacyHidden=w("react.legacy_hidden");exports.unstable_Cache=w("react.cache")}var x="function"===typeof Symbol&&Symbol.iterator;function y(a){if(null===a||"object"!==typeof a)return null;a=x&&a[x]||a["@@iterator"];return"function"===typeof a?a:null}var z={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},A={};function B(a,b,e){this.props=a;this.context=b;this.refs=A;this.updater=e||z} | ||
B.prototype.isReactComponent={};B.prototype.setState=function(a,b){if("object"!==typeof a&&"function"!==typeof a&&null!=a)throw Error("setState(...): takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,a,b,"setState")};B.prototype.forceUpdate=function(a){this.updater.enqueueForceUpdate(this,a,"forceUpdate")};function C(){}C.prototype=B.prototype; | ||
function D(a,b,e){this.props=a;this.context=b;this.refs=A;this.updater=e||z}var E=D.prototype=new C;E.constructor=D;l(E,B.prototype);E.isPureReactComponent=!0;var F=Array.isArray,G=Object.prototype.hasOwnProperty,H={current:null},I={key:!0,ref:!0,__self:!0,__source:!0}; | ||
function J(a,b,e){var d,c={},k=null,h=null;if(null!=b)for(d in void 0!==b.ref&&(h=b.ref),void 0!==b.key&&(k=""+b.key),b)G.call(b,d)&&!I.hasOwnProperty(d)&&(c[d]=b[d]);var g=arguments.length-2;if(1===g)c.children=e;else if(1<g){for(var f=Array(g),n=0;n<g;n++)f[n]=arguments[n+2];c.children=f}if(a&&a.defaultProps)for(d in g=a.defaultProps,g)void 0===c[d]&&(c[d]=g[d]);return{$$typeof:m,type:a,key:k,ref:h,props:c,_owner:H.current}} | ||
function K(a,b){return{$$typeof:m,type:a.type,key:b,ref:a.ref,props:a.props,_owner:a._owner}}function L(a){return"object"===typeof a&&null!==a&&a.$$typeof===m}function escape(a){var b={"=":"=0",":":"=2"};return"$"+a.replace(/[=:]/g,function(a){return b[a]})}var M=/\/+/g;function N(a,b){return"object"===typeof a&&null!==a&&null!=a.key?escape(""+a.key):b.toString(36)} | ||
function O(a,b,e,d,c){var k=typeof a;if("undefined"===k||"boolean"===k)a=null;var h=!1;if(null===a)h=!0;else switch(k){case "string":case "number":h=!0;break;case "object":switch(a.$$typeof){case m:case p:h=!0}}if(h)return h=a,c=c(h),a=""===d?"."+N(h,0):d,F(c)?(e="",null!=a&&(e=a.replace(M,"$&/")+"/"),O(c,b,e,"",function(a){return a})):null!=c&&(L(c)&&(c=K(c,e+(!c.key||h&&h.key===c.key?"":(""+c.key).replace(M,"$&/")+"/")+a)),b.push(c)),1;h=0;d=""===d?".":d+":";if(F(a))for(var g=0;g<a.length;g++){k= | ||
a[g];var f=d+N(k,g);h+=O(k,b,e,f,c)}else if(f=y(a),"function"===typeof f)for(a=f.call(a),g=0;!(k=a.next()).done;)k=k.value,f=d+N(k,g++),h+=O(k,b,e,f,c);else if("object"===k)throw b=String(a),Error("Objects are not valid as a React child (found: "+("[object Object]"===b?"object with keys {"+Object.keys(a).join(", ")+"}":b)+"). If you meant to render a collection of children, use an array instead.");return h} | ||
function P(a,b,e){if(null==a)return a;var d=[],c=0;O(a,d,"","",function(a){return b.call(e,a,c++)});return d}function Q(a){if(-1===a._status){var b=a._result;b=b();b.then(function(b){if(0===a._status||-1===a._status)a._status=1,a._result=b},function(b){if(0===a._status||-1===a._status)a._status=2,a._result=b});-1===a._status&&(a._status=0,a._result=b)}if(1===a._status)return a._result.default;throw a._result;} | ||
var R={current:null},S={transition:0},T={ReactCurrentDispatcher:R,ReactCurrentBatchConfig:S,ReactCurrentOwner:H,assign:l};exports.Children={map:P,forEach:function(a,b,e){P(a,function(){b.apply(this,arguments)},e)},count:function(a){var b=0;P(a,function(){b++});return b},toArray:function(a){return P(a,function(a){return a})||[]},only:function(a){if(!L(a))throw Error("React.Children.only expected to receive a single React element child.");return a}};exports.Component=B;exports.PureComponent=D; | ||
exports.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=T; | ||
exports.cloneElement=function(a,b,e){if(null===a||void 0===a)throw Error("React.cloneElement(...): The argument must be a React element, but you passed "+a+".");var d=l({},a.props),c=a.key,k=a.ref,h=a._owner;if(null!=b){void 0!==b.ref&&(k=b.ref,h=H.current);void 0!==b.key&&(c=""+b.key);if(a.type&&a.type.defaultProps)var g=a.type.defaultProps;for(f in b)G.call(b,f)&&!I.hasOwnProperty(f)&&(d[f]=void 0===b[f]&&void 0!==g?g[f]:b[f])}var f=arguments.length-2;if(1===f)d.children=e;else if(1<f){g=Array(f); | ||
for(var n=0;n<f;n++)g[n]=arguments[n+2];d.children=g}return{$$typeof:m,type:a.type,key:c,ref:k,props:d,_owner:h}};exports.createContext=function(a){a={$$typeof:r,_currentValue:a,_currentValue2:a,_threadCount:0,Provider:null,Consumer:null};a.Provider={$$typeof:q,_context:a};return a.Consumer=a};exports.createElement=J;exports.createFactory=function(a){var b=J.bind(null,a);b.type=a;return b};exports.createRef=function(){return{current:null}};exports.forwardRef=function(a){return{$$typeof:t,render:a}}; | ||
exports.isValidElement=L;exports.lazy=function(a){return{$$typeof:v,_payload:{_status:-1,_result:a},_init:Q}};exports.memo=function(a,b){return{$$typeof:u,type:a,compare:void 0===b?null:b}};exports.startTransition=function(a){var b=S.transition;S.transition=1;try{a()}finally{S.transition=b}};exports.unstable_act=function(){throw Error("act(...) is not supported in production builds of React.");}; | ||
exports.unstable_createMutableSource=function(a,b){return{_getVersion:b,_source:a,_workInProgressVersionPrimary:null,_workInProgressVersionSecondary:null}};exports.unstable_getCacheForType=function(a){return R.current.getCacheForType(a)};exports.unstable_getCacheSignal=function(){return R.current.getCacheSignal()};exports.unstable_useCacheRefresh=function(){return R.current.useCacheRefresh()};exports.useCallback=function(a,b){return R.current.useCallback(a,b)};exports.useContext=function(a){return R.current.useContext(a)}; | ||
exports.useDebugValue=function(){};exports.useDeferredValue=function(a){return R.current.useDeferredValue(a)};exports.useEffect=function(a,b){return R.current.useEffect(a,b)};exports.useId=function(){return R.current.useId()};exports.useImperativeHandle=function(a,b,e){return R.current.useImperativeHandle(a,b,e)};exports.useInsertionEffect=function(a,b){return R.current.useInsertionEffect(a,b)};exports.useLayoutEffect=function(a,b){return R.current.useLayoutEffect(a,b)}; | ||
exports.useMemo=function(a,b){return R.current.useMemo(a,b)};exports.useReducer=function(a,b,e){return R.current.useReducer(a,b,e)};exports.useRef=function(a){return R.current.useRef(a)};exports.useState=function(a){return R.current.useState(a)};exports.useSyncExternalStore=function(a,b,e){return R.current.useSyncExternalStore(a,b,e)};exports.useTransition=function(){return R.current.useTransition()};exports.version="18.0.0-experimental-71d16750c-20211202"; | ||
'use strict';var l=Symbol.for("react.element"),n=Symbol.for("react.portal"),p=Symbol.for("react.fragment"),q=Symbol.for("react.strict_mode"),r=Symbol.for("react.profiler"),t=Symbol.for("react.provider"),u=Symbol.for("react.context"),v=Symbol.for("react.server_context"),w=Symbol.for("react.forward_ref"),x=Symbol.for("react.suspense"),y=Symbol.for("react.suspense_list"),z=Symbol.for("react.memo"),A=Symbol.for("react.lazy"),aa=Symbol.for("react.debug_trace_mode"),ba=Symbol.for("react.offscreen"),ca= | ||
Symbol.for("react.cache"),B=Symbol.for("react.default_value"),da=Symbol.for("react.postpone"),C=Symbol.iterator;function ea(a){if(null===a||"object"!==typeof a)return null;a=C&&a[C]||a["@@iterator"];return"function"===typeof a?a:null}var D={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},E=Object.assign,F={};function G(a,b,c){this.props=a;this.context=b;this.refs=F;this.updater=c||D}G.prototype.isReactComponent={}; | ||
G.prototype.setState=function(a,b){if("object"!==typeof a&&"function"!==typeof a&&null!=a)throw Error("setState(...): takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,a,b,"setState")};G.prototype.forceUpdate=function(a){this.updater.enqueueForceUpdate(this,a,"forceUpdate")};function H(){}H.prototype=G.prototype;function I(a,b,c){this.props=a;this.context=b;this.refs=F;this.updater=c||D}var J=I.prototype=new H; | ||
J.constructor=I;E(J,G.prototype);J.isPureReactComponent=!0;var K=Array.isArray,L=Object.prototype.hasOwnProperty,M={current:null},N={key:!0,ref:!0,__self:!0,__source:!0}; | ||
function O(a,b,c){var d,e={},f=null,g=null;if(null!=b)for(d in void 0!==b.ref&&(g=b.ref),void 0!==b.key&&(f=""+b.key),b)L.call(b,d)&&!N.hasOwnProperty(d)&&(e[d]=b[d]);var h=arguments.length-2;if(1===h)e.children=c;else if(1<h){for(var k=Array(h),m=0;m<h;m++)k[m]=arguments[m+2];e.children=k}if(a&&a.defaultProps)for(d in h=a.defaultProps,h)void 0===e[d]&&(e[d]=h[d]);return{$$typeof:l,type:a,key:f,ref:g,props:e,_owner:M.current}} | ||
function fa(a,b){return{$$typeof:l,type:a.type,key:b,ref:a.ref,props:a.props,_owner:a._owner}}function P(a){return"object"===typeof a&&null!==a&&a.$$typeof===l}function escape(a){var b={"=":"=0",":":"=2"};return"$"+a.replace(/[=:]/g,function(c){return b[c]})}var Q=/\/+/g;function R(a,b){return"object"===typeof a&&null!==a&&null!=a.key?escape(""+a.key):b.toString(36)} | ||
function S(a,b,c,d,e){var f=typeof a;if("undefined"===f||"boolean"===f)a=null;var g=!1;if(null===a)g=!0;else switch(f){case "string":case "number":g=!0;break;case "object":switch(a.$$typeof){case l:case n:g=!0}}if(g)return g=a,e=e(g),a=""===d?"."+R(g,0):d,K(e)?(c="",null!=a&&(c=a.replace(Q,"$&/")+"/"),S(e,b,c,"",function(m){return m})):null!=e&&(P(e)&&(e=fa(e,c+(!e.key||g&&g.key===e.key?"":(""+e.key).replace(Q,"$&/")+"/")+a)),b.push(e)),1;g=0;d=""===d?".":d+":";if(K(a))for(var h=0;h<a.length;h++){f= | ||
a[h];var k=d+R(f,h);g+=S(f,b,c,k,e)}else if(k=ea(a),"function"===typeof k)for(a=k.call(a),h=0;!(f=a.next()).done;)f=f.value,k=d+R(f,h++),g+=S(f,b,c,k,e);else if("object"===f)throw b=String(a),Error("Objects are not valid as a React child (found: "+("[object Object]"===b?"object with keys {"+Object.keys(a).join(", ")+"}":b)+"). If you meant to render a collection of children, use an array instead.");return g} | ||
function T(a,b,c){if(null==a)return a;var d=[],e=0;S(a,d,"","",function(f){return b.call(c,f,e++)});return d}function ha(a){if(-1===a._status){var b=a._result;b=b();b.then(function(c){if(0===a._status||-1===a._status)a._status=1,a._result=c},function(c){if(0===a._status||-1===a._status)a._status=2,a._result=c});-1===a._status&&(a._status=0,a._result=b)}if(1===a._status)return a._result.default;throw a._result;}var U={current:null};function ia(){return new WeakMap} | ||
function V(){return{s:0,v:void 0,o:null,p:null}}var W={current:null},X={transition:null},Y={ReactCurrentDispatcher:W,ReactCurrentCache:U,ReactCurrentBatchConfig:X,ReactCurrentOwner:M,ContextRegistry:{}},Z=Y.ContextRegistry; | ||
exports.Children={map:T,forEach:function(a,b,c){T(a,function(){b.apply(this,arguments)},c)},count:function(a){var b=0;T(a,function(){b++});return b},toArray:function(a){return T(a,function(b){return b})||[]},only:function(a){if(!P(a))throw Error("React.Children.only expected to receive a single React element child.");return a}};exports.Component=G;exports.Fragment=p;exports.Profiler=r;exports.PureComponent=I;exports.StrictMode=q;exports.Suspense=x; | ||
exports.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=Y; | ||
exports.cache=function(a){return function(){var b=U.current;if(!b)return a.apply(null,arguments);var c=b.getCacheForType(ia);b=c.get(a);void 0===b&&(b=V(),c.set(a,b));c=0;for(var d=arguments.length;c<d;c++){var e=arguments[c];if("function"===typeof e||"object"===typeof e&&null!==e){var f=b.o;null===f&&(b.o=f=new WeakMap);b=f.get(e);void 0===b&&(b=V(),f.set(e,b))}else f=b.p,null===f&&(b.p=f=new Map),b=f.get(e),void 0===b&&(b=V(),f.set(e,b))}if(1===b.s)return b.v;if(2===b.s)throw b.v;try{var g=a.apply(null, | ||
arguments);c=b;c.s=1;return c.v=g}catch(h){throw g=b,g.s=2,g.v=h,h;}}}; | ||
exports.cloneElement=function(a,b,c){if(null===a||void 0===a)throw Error("React.cloneElement(...): The argument must be a React element, but you passed "+a+".");var d=E({},a.props),e=a.key,f=a.ref,g=a._owner;if(null!=b){void 0!==b.ref&&(f=b.ref,g=M.current);void 0!==b.key&&(e=""+b.key);if(a.type&&a.type.defaultProps)var h=a.type.defaultProps;for(k in b)L.call(b,k)&&!N.hasOwnProperty(k)&&(d[k]=void 0===b[k]&&void 0!==h?h[k]:b[k])}var k=arguments.length-2;if(1===k)d.children=c;else if(1<k){h=Array(k); | ||
for(var m=0;m<k;m++)h[m]=arguments[m+2];d.children=h}return{$$typeof:l,type:a.type,key:e,ref:f,props:d,_owner:g}};exports.createContext=function(a){a={$$typeof:u,_currentValue:a,_currentValue2:a,_threadCount:0,Provider:null,Consumer:null,_defaultValue:null,_globalName:null};a.Provider={$$typeof:t,_context:a};return a.Consumer=a};exports.createElement=O;exports.createFactory=function(a){var b=O.bind(null,a);b.type=a;return b};exports.createRef=function(){return{current:null}}; | ||
exports.createServerContext=function(a,b){var c=!0;if(!Z[a]){c=!1;var d={$$typeof:v,_currentValue:b,_currentValue2:b,_defaultValue:b,_threadCount:0,Provider:null,Consumer:null,_globalName:a};d.Provider={$$typeof:t,_context:d};Z[a]=d}d=Z[a];if(d._defaultValue===B)d._defaultValue=b,d._currentValue===B&&(d._currentValue=b),d._currentValue2===B&&(d._currentValue2=b);else if(c)throw Error("ServerContext: "+a+" already defined");return d};exports.experimental_useEffectEvent=function(a){return W.current.useEffectEvent(a)}; | ||
exports.experimental_useOptimistic=function(a,b){return W.current.useOptimistic(a,b)};exports.forwardRef=function(a){return{$$typeof:w,render:a}};exports.isValidElement=P;exports.lazy=function(a){return{$$typeof:A,_payload:{_status:-1,_result:a},_init:ha}};exports.memo=function(a,b){return{$$typeof:z,type:a,compare:void 0===b?null:b}};exports.startTransition=function(a){var b=X.transition;X.transition={};try{a()}finally{X.transition=b}};exports.unstable_Cache=ca; | ||
exports.unstable_DebugTracingMode=aa;exports.unstable_Offscreen=ba;exports.unstable_SuspenseList=y;exports.unstable_act=function(){throw Error("act(...) is not supported in production builds of React.");};exports.unstable_getCacheForType=function(a){var b=U.current;return b?b.getCacheForType(a):a()}; | ||
exports.unstable_getCacheSignal=function(){var a=U.current;return a?a.getCacheSignal():(a=new AbortController,a.abort(Error("This CacheSignal was requested outside React which means that it is immediately aborted.")),a.signal)};exports.unstable_postpone=function(a){a=Error(a);a.$$typeof=da;throw a;};exports.unstable_useCacheRefresh=function(){return W.current.useCacheRefresh()};exports.unstable_useMemoCache=function(a){return W.current.useMemoCache(a)};exports.use=function(a){return W.current.use(a)}; | ||
exports.useCallback=function(a,b){return W.current.useCallback(a,b)};exports.useContext=function(a){return W.current.useContext(a)};exports.useDebugValue=function(){};exports.useDeferredValue=function(a){return W.current.useDeferredValue(a)};exports.useEffect=function(a,b){return W.current.useEffect(a,b)};exports.useId=function(){return W.current.useId()};exports.useImperativeHandle=function(a,b,c){return W.current.useImperativeHandle(a,b,c)}; | ||
exports.useInsertionEffect=function(a,b){return W.current.useInsertionEffect(a,b)};exports.useLayoutEffect=function(a,b){return W.current.useLayoutEffect(a,b)};exports.useMemo=function(a,b){return W.current.useMemo(a,b)};exports.useReducer=function(a,b,c){return W.current.useReducer(a,b,c)};exports.useRef=function(a){return W.current.useRef(a)};exports.useState=function(a){return W.current.useState(a)};exports.useSyncExternalStore=function(a,b,c){return W.current.useSyncExternalStore(a,b,c)}; | ||
exports.useTransition=function(){return W.current.useTransition()};exports.version="18.3.0-experimental-720de7f81a-20241220"; |
@@ -7,3 +7,3 @@ { | ||
], | ||
"version": "0.0.0-experimental-71d16750c-20211202", | ||
"version": "0.0.0-experimental-720de7f81a-20241220", | ||
"homepage": "https://reactjs.org/", | ||
@@ -15,3 +15,2 @@ "bugs": "https://github.com/facebook/react/issues", | ||
"README.md", | ||
"build-info.json", | ||
"index.js", | ||
@@ -22,3 +21,3 @@ "cjs/", | ||
"jsx-dev-runtime.js", | ||
"unstable-shared-subset.js" | ||
"react.shared-subset.js" | ||
], | ||
@@ -28,13 +27,8 @@ "main": "index.js", | ||
".": { | ||
"react-server": "./unstable-shared-subset.js", | ||
"react-server": "./react.shared-subset.js", | ||
"default": "./index.js" | ||
}, | ||
"./index": { | ||
"react-server": "./unstable-shared-subset.js", | ||
"default": "./index.js" | ||
}, | ||
"./build-info.json": "./build-info.json", | ||
"./package.json": "./package.json", | ||
"./jsx-runtime": "./jsx-runtime.js", | ||
"./jsx-dev-runtime": "./jsx-dev-runtime.js", | ||
"./": "./" | ||
"./jsx-dev-runtime": "./jsx-dev-runtime.js" | ||
}, | ||
@@ -50,4 +44,3 @@ "repository": { | ||
"dependencies": { | ||
"loose-envify": "^1.1.0", | ||
"object-assign": "^4.1.1" | ||
"loose-envify": "^1.1.0" | ||
}, | ||
@@ -54,0 +47,0 @@ "browserify": { |
@@ -9,6 +9,30 @@ # `react` | ||
## Example Usage | ||
## Usage | ||
```js | ||
var React = require('react'); | ||
import { useState } from 'react'; | ||
import { createRoot } from 'react-dom/client'; | ||
function Counter() { | ||
const [count, setCount] = useState(0); | ||
return ( | ||
<> | ||
<h1>{count}</h1> | ||
<button onClick={() => setCount(count + 1)}> | ||
Increment | ||
</button> | ||
</> | ||
); | ||
} | ||
const root = createRoot(document.getElementById('root')); | ||
root.render(<Counter />); | ||
``` | ||
## Documentation | ||
See https://react.dev/ | ||
## API | ||
See https://react.dev/reference/react |
@@ -1,5 +0,6 @@ | ||
/** @license React vundefined | ||
/** | ||
* @license React | ||
* react.production.min.js | ||
* | ||
* Copyright (c) Facebook, Inc. and its affiliates. | ||
* Copyright (c) Meta Platforms, Inc. and affiliates. | ||
* | ||
@@ -9,25 +10,27 @@ * This source code is licensed under the MIT license found in the | ||
*/ | ||
(function(){'use strict';(function(b,w){"object"===typeof exports&&"undefined"!==typeof module?w(exports):"function"===typeof define&&define.amd?define(["exports"],w):(b=b||self,w(b.React={}))})(this,function(b){function w(a){if(null===a||"object"!==typeof a)return null;a=V&&a[V]||a["@@iterator"];return"function"===typeof a?a:null}function u(a,c,l){this.props=a;this.context=c;this.refs=W;this.updater=l||X}function Y(){}function J(a,c,l){this.props=a;this.context=c;this.refs=W;this.updater=l||X}function Z(a,c, | ||
l){var b,e={},aa=null,x=null;if(null!=c)for(b in void 0!==c.ref&&(x=c.ref),void 0!==c.key&&(aa=""+c.key),c)ba.call(c,b)&&!ca.hasOwnProperty(b)&&(e[b]=c[b]);var d=arguments.length-2;if(1===d)e.children=l;else if(1<d){for(var g=Array(d),f=0;f<d;f++)g[f]=arguments[f+2];e.children=g}if(a&&a.defaultProps)for(b in d=a.defaultProps,d)void 0===e[b]&&(e[b]=d[b]);return{$$typeof:v,type:a,key:aa,ref:x,props:e,_owner:K.current}}function ta(a,c){return{$$typeof:v,type:a.type,key:c,ref:a.ref,props:a.props,_owner:a._owner}} | ||
function L(a){return"object"===typeof a&&null!==a&&a.$$typeof===v}function ua(a){var c={"=":"=0",":":"=2"};return"$"+a.replace(/[=:]/g,function(a){return c[a]})}function M(a,c){return"object"===typeof a&&null!==a&&null!=a.key?ua(""+a.key):c.toString(36)}function A(a,c,l,b,e){var n=typeof a;if("undefined"===n||"boolean"===n)a=null;var d=!1;if(null===a)d=!0;else switch(n){case "string":case "number":d=!0;break;case "object":switch(a.$$typeof){case v:case da:d=!0}}if(d)return d=a,e=e(d),a=""===b?"."+ | ||
M(d,0):b,ea(e)?(l="",null!=a&&(l=a.replace(fa,"$&/")+"/"),A(e,c,l,"",function(a){return a})):null!=e&&(L(e)&&(e=ta(e,l+(!e.key||d&&d.key===e.key?"":(""+e.key).replace(fa,"$&/")+"/")+a)),c.push(e)),1;d=0;b=""===b?".":b+":";if(ea(a))for(var f=0;f<a.length;f++){n=a[f];var g=b+M(n,f);d+=A(n,c,l,g,e)}else if(g=w(a),"function"===typeof g)for(a=g.call(a),f=0;!(n=a.next()).done;)n=n.value,g=b+M(n,f++),d+=A(n,c,l,g,e);else if("object"===n)throw c=String(a),Error("Objects are not valid as a React child (found: "+ | ||
("[object Object]"===c?"object with keys {"+Object.keys(a).join(", ")+"}":c)+"). If you meant to render a collection of children, use an array instead.");return d}function B(a,c,b){if(null==a)return a;var l=[],e=0;A(a,l,"","",function(a){return c.call(b,a,e++)});return l}function va(a){if(-1===a._status){var c=a._result;c=c();c.then(function(c){if(0===a._status||-1===a._status)a._status=1,a._result=c},function(c){if(0===a._status||-1===a._status)a._status=2,a._result=c});-1===a._status&&(a._status= | ||
0,a._result=c)}if(1===a._status)return a._result.default;throw a._result;}function N(a,c){var b=a.length;a.push(c);a:for(;0<b;){var d=b-1>>>1,e=a[d];if(0<C(e,c))a[d]=c,a[b]=e,b=d;else break a}}function k(a){return 0===a.length?null:a[0]}function D(a){if(0===a.length)return null;var c=a[0],b=a.pop();if(b!==c){a[0]=b;a:for(var d=0,e=a.length,f=e>>>1;d<f;){var h=2*(d+1)-1,m=a[h],g=h+1,k=a[g];if(0>C(m,b))g<e&&0>C(k,m)?(a[d]=k,a[g]=b,d=g):(a[d]=m,a[h]=b,d=h);else if(g<e&&0>C(k,b))a[d]=k,a[g]=b,d=g;else break a}}return c} | ||
function C(a,c){var b=a.sortIndex-c.sortIndex;return 0!==b?b:a.id-c.id}function O(a){for(var c=k(q);null!==c;){if(null===c.callback)D(q);else if(c.startTime<=a)D(q),c.sortIndex=c.expirationTime,N(p,c);else break;c=k(q)}}function P(a){y=!1;O(a);if(!r)if(null!==k(p))r=!0,Q(R);else{var c=k(q);null!==c&&S(P,c.startTime-a)}}function R(a,c){r=!1;y&&(y=!1,ha(z),z=-1);E=!0;var b=h;try{O(c);for(m=k(p);null!==m&&(!(m.expirationTime>c)||a&&!ia());){var d=m.callback;if("function"===typeof d){m.callback=null; | ||
h=m.priorityLevel;var e=d(m.expirationTime<=c);c=t();"function"===typeof e?m.callback=e:m===k(p)&&D(p);O(c)}else D(p);m=k(p)}if(null!==m)var f=!0;else{var x=k(q);null!==x&&S(P,x.startTime-c);f=!1}return f}finally{m=null,h=b,E=!1}}function ia(){return t()-ja<ka?!1:!0}function Q(a){F=a;G||(G=!0,H())}function S(a,c){z=la(function(){a(t())},c)}var v=60103,da=60106;b.Fragment=60107;b.StrictMode=60108;b.Profiler=60114;var ma=60109,na=60110,oa=60112;b.Suspense=60113;b.SuspenseList=60120;var pa=60115,qa= | ||
60116;b.unstable_DebugTracingMode=60129;b.unstable_Offscreen=60130;b.unstable_LegacyHidden=60131;b.unstable_Cache=60132;if("function"===typeof Symbol&&Symbol.for){var d=Symbol.for;v=d("react.element");da=d("react.portal");b.Fragment=d("react.fragment");b.StrictMode=d("react.strict_mode");b.Profiler=d("react.profiler");ma=d("react.provider");na=d("react.context");oa=d("react.forward_ref");b.Suspense=d("react.suspense");b.SuspenseList=d("react.suspense_list");pa=d("react.memo");qa=d("react.lazy");b.unstable_DebugTracingMode= | ||
d("react.debug_trace_mode");b.unstable_Offscreen=d("react.offscreen");b.unstable_LegacyHidden=d("react.legacy_hidden");b.unstable_Cache=d("react.cache")}var V="function"===typeof Symbol&&Symbol.iterator,wa=Object.prototype.hasOwnProperty,T=Object.assign||function(a,c){if(null==a)throw new TypeError("Object.assign target cannot be null or undefined");for(var b=Object(a),d=1;d<arguments.length;d++){var e=arguments[d];if(null!=e){var f=void 0;e=Object(e);for(f in e)wa.call(e,f)&&(b[f]=e[f])}}return b}, | ||
X={isMounted:function(a){return!1},enqueueForceUpdate:function(a,c,b){},enqueueReplaceState:function(a,c,b,d){},enqueueSetState:function(a,c,b,d){}},W={};u.prototype.isReactComponent={};u.prototype.setState=function(a,c){if("object"!==typeof a&&"function"!==typeof a&&null!=a)throw Error("setState(...): takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,a,c,"setState")};u.prototype.forceUpdate=function(a){this.updater.enqueueForceUpdate(this, | ||
a,"forceUpdate")};Y.prototype=u.prototype;d=J.prototype=new Y;d.constructor=J;T(d,u.prototype);d.isPureReactComponent=!0;var ea=Array.isArray,ba=Object.prototype.hasOwnProperty,K={current:null},ca={key:!0,ref:!0,__self:!0,__source:!0},fa=/\/+/g,f={current:null},I={transition:0};if("object"===typeof performance&&"function"===typeof performance.now){var xa=performance;var t=function(){return xa.now()}}else{var ra=Date,ya=ra.now();t=function(){return ra.now()-ya}}var p=[],q=[],za=1,m=null,h=3,E=!1,r= | ||
!1,y=!1,la="function"===typeof setTimeout?setTimeout:null,ha="function"===typeof clearTimeout?clearTimeout:null,sa="undefined"!==typeof setImmediate?setImmediate:null;"undefined"!==typeof navigator&&void 0!==navigator.scheduling&&void 0!==navigator.scheduling.isInputPending&&navigator.scheduling.isInputPending.bind(navigator.scheduling);var G=!1,F=null,z=-1,ka=5,ja=-1,U=function(){if(null!==F){var a=t();ja=a;var c=!0;try{c=F(!0,a)}finally{c?H():(G=!1,F=null)}}else G=!1};if("function"===typeof sa)var H= | ||
function(){sa(U)};else if("undefined"!==typeof MessageChannel){d=new MessageChannel;var Aa=d.port2;d.port1.onmessage=U;H=function(){Aa.postMessage(null)}}else H=function(){la(U,0)};d={ReactCurrentDispatcher:f,ReactCurrentOwner:K,ReactCurrentBatchConfig:I,assign:T,Scheduler:{__proto__:null,unstable_ImmediatePriority:1,unstable_UserBlockingPriority:2,unstable_NormalPriority:3,unstable_IdlePriority:5,unstable_LowPriority:4,unstable_runWithPriority:function(a,c){switch(a){case 1:case 2:case 3:case 4:case 5:break; | ||
default:a=3}var b=h;h=a;try{return c()}finally{h=b}},unstable_next:function(a){switch(h){case 1:case 2:case 3:var c=3;break;default:c=h}var b=h;h=c;try{return a()}finally{h=b}},unstable_scheduleCallback:function(a,c,b){var d=t();"object"===typeof b&&null!==b?(b=b.delay,b="number"===typeof b&&0<b?d+b:d):b=d;switch(a){case 1:var e=-1;break;case 2:e=250;break;case 5:e=1073741823;break;case 4:e=1E4;break;default:e=5E3}e=b+e;a={id:za++,callback:c,priorityLevel:a,startTime:b,expirationTime:e,sortIndex:-1}; | ||
b>d?(a.sortIndex=b,N(q,a),null===k(p)&&a===k(q)&&(y?(ha(z),z=-1):y=!0,S(P,b-d))):(a.sortIndex=e,N(p,a),r||E||(r=!0,Q(R)));return a},unstable_cancelCallback:function(a){a.callback=null},unstable_wrapCallback:function(a){var c=h;return function(){var b=h;h=c;try{return a.apply(this,arguments)}finally{h=b}}},unstable_getCurrentPriorityLevel:function(){return h},unstable_shouldYield:ia,unstable_requestPaint:function(){},unstable_continueExecution:function(){r||E||(r=!0,Q(R))},unstable_pauseExecution:function(){}, | ||
unstable_getFirstCallbackNode:function(){return k(p)},get unstable_now(){return t},unstable_forceFrameRate:function(a){0>a||125<a?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):ka=0<a?Math.floor(1E3/a):5},unstable_Profiling:null}};b.Children={map:B,forEach:function(a,c,b){B(a,function(){c.apply(this,arguments)},b)},count:function(a){var c=0;B(a,function(){c++});return c},toArray:function(a){return B(a,function(a){return a})|| | ||
[]},only:function(a){if(!L(a))throw Error("React.Children.only expected to receive a single React element child.");return a}};b.Component=u;b.PureComponent=J;b.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=d;b.cloneElement=function(a,c,b){if(null===a||void 0===a)throw Error("React.cloneElement(...): The argument must be a React element, but you passed "+a+".");var d=T({},a.props),e=a.key,f=a.ref,l=a._owner;if(null!=c){void 0!==c.ref&&(f=c.ref,l=K.current);void 0!==c.key&&(e=""+c.key);if(a.type&& | ||
a.type.defaultProps)var h=a.type.defaultProps;for(g in c)ba.call(c,g)&&!ca.hasOwnProperty(g)&&(d[g]=void 0===c[g]&&void 0!==h?h[g]:c[g])}var g=arguments.length-2;if(1===g)d.children=b;else if(1<g){h=Array(g);for(var k=0;k<g;k++)h[k]=arguments[k+2];d.children=h}return{$$typeof:v,type:a.type,key:e,ref:f,props:d,_owner:l}};b.createContext=function(a){a={$$typeof:na,_currentValue:a,_currentValue2:a,_threadCount:0,Provider:null,Consumer:null};a.Provider={$$typeof:ma,_context:a};return a.Consumer=a};b.createElement= | ||
Z;b.createFactory=function(a){var c=Z.bind(null,a);c.type=a;return c};b.createRef=function(){return{current:null}};b.forwardRef=function(a){return{$$typeof:oa,render:a}};b.isValidElement=L;b.lazy=function(a){return{$$typeof:qa,_payload:{_status:-1,_result:a},_init:va}};b.memo=function(a,c){return{$$typeof:pa,type:a,compare:void 0===c?null:c}};b.startTransition=function(a){var c=I.transition;I.transition=1;try{a()}finally{I.transition=c}};b.unstable_act=function(a){throw Error("act(...) is not supported in production builds of React."); | ||
};b.unstable_createMutableSource=function(a,c){return{_getVersion:c,_source:a,_workInProgressVersionPrimary:null,_workInProgressVersionSecondary:null}};b.unstable_getCacheForType=function(a){return f.current.getCacheForType(a)};b.unstable_getCacheSignal=function(){return f.current.getCacheSignal()};b.unstable_useCacheRefresh=function(){return f.current.useCacheRefresh()};b.useCallback=function(a,c){return f.current.useCallback(a,c)};b.useContext=function(a){return f.current.useContext(a)};b.useDebugValue= | ||
function(a,c){};b.useDeferredValue=function(a){return f.current.useDeferredValue(a)};b.useEffect=function(a,c){return f.current.useEffect(a,c)};b.useId=function(){return f.current.useId()};b.useImperativeHandle=function(a,c,b){return f.current.useImperativeHandle(a,c,b)};b.useInsertionEffect=function(a,b){return f.current.useInsertionEffect(a,b)};b.useLayoutEffect=function(a,b){return f.current.useLayoutEffect(a,b)};b.useMemo=function(a,b){return f.current.useMemo(a,b)};b.useReducer=function(a,b, | ||
d){return f.current.useReducer(a,b,d)};b.useRef=function(a){return f.current.useRef(a)};b.useState=function(a){return f.current.useState(a)};b.useSyncExternalStore=function(a,b,d){return f.current.useSyncExternalStore(a,b,d)};b.useTransition=function(){return f.current.useTransition()};b.version="18.0.0-experimental-71d16750c-20211202"}); | ||
(function(){'use strict';(function(e,z){"object"===typeof exports&&"undefined"!==typeof module?z(exports):"function"===typeof define&&define.amd?define(["exports"],z):(e="undefined"!==typeof globalThis?globalThis:e||self,z(e.React={}))})(this,function(e){function z(a){if(null===a||"object"!==typeof a)return null;a=Z&&a[Z]||a["@@iterator"];return"function"===typeof a?a:null}function y(a,b,c){this.props=a;this.context=b;this.refs=aa;this.updater=c||ba}function ca(){}function O(a,b,c){this.props=a;this.context= | ||
b;this.refs=aa;this.updater=c||ba}function da(a,b,c){var d,f={},g=null,h=null;if(null!=b)for(d in void 0!==b.ref&&(h=b.ref),void 0!==b.key&&(g=""+b.key),b)ea.call(b,d)&&!fa.hasOwnProperty(d)&&(f[d]=b[d]);var l=arguments.length-2;if(1===l)f.children=c;else if(1<l){for(var k=Array(l),n=0;n<l;n++)k[n]=arguments[n+2];f.children=k}if(a&&a.defaultProps)for(d in l=a.defaultProps,l)void 0===f[d]&&(f[d]=l[d]);return{$$typeof:A,type:a,key:g,ref:h,props:f,_owner:P.current}}function sa(a,b){return{$$typeof:A, | ||
type:a.type,key:b,ref:a.ref,props:a.props,_owner:a._owner}}function Q(a){return"object"===typeof a&&null!==a&&a.$$typeof===A}function ta(a){var b={"=":"=0",":":"=2"};return"$"+a.replace(/[=:]/g,function(c){return b[c]})}function R(a,b){return"object"===typeof a&&null!==a&&null!=a.key?ta(""+a.key):b.toString(36)}function D(a,b,c,d,f){var g=typeof a;if("undefined"===g||"boolean"===g)a=null;var h=!1;if(null===a)h=!0;else switch(g){case "string":case "number":h=!0;break;case "object":switch(a.$$typeof){case A:case ua:h= | ||
!0}}if(h)return h=a,f=f(h),a=""===d?"."+R(h,0):d,ha(f)?(c="",null!=a&&(c=a.replace(ia,"$&/")+"/"),D(f,b,c,"",function(n){return n})):null!=f&&(Q(f)&&(f=sa(f,c+(!f.key||h&&h.key===f.key?"":(""+f.key).replace(ia,"$&/")+"/")+a)),b.push(f)),1;h=0;d=""===d?".":d+":";if(ha(a))for(var l=0;l<a.length;l++){g=a[l];var k=d+R(g,l);h+=D(g,b,c,k,f)}else if(k=z(a),"function"===typeof k)for(a=k.call(a),l=0;!(g=a.next()).done;)g=g.value,k=d+R(g,l++),h+=D(g,b,c,k,f);else if("object"===g)throw b=String(a),Error("Objects are not valid as a React child (found: "+ | ||
("[object Object]"===b?"object with keys {"+Object.keys(a).join(", ")+"}":b)+"). If you meant to render a collection of children, use an array instead.");return h}function E(a,b,c){if(null==a)return a;var d=[],f=0;D(a,d,"","",function(g){return b.call(c,g,f++)});return d}function va(a){if(-1===a._status){var b=a._result;b=b();b.then(function(c){if(0===a._status||-1===a._status)a._status=1,a._result=c},function(c){if(0===a._status||-1===a._status)a._status=2,a._result=c});-1===a._status&&(a._status= | ||
0,a._result=b)}if(1===a._status)return a._result.default;throw a._result;}function wa(){return new WeakMap}function S(){return{s:0,v:void 0,o:null,p:null}}function T(a,b){var c=a.length;a.push(b);a:for(;0<c;){var d=c-1>>>1,f=a[d];if(0<F(f,b))a[d]=b,a[c]=f,c=d;else break a}}function r(a){return 0===a.length?null:a[0]}function G(a){if(0===a.length)return null;var b=a[0],c=a.pop();if(c!==b){a[0]=c;a:for(var d=0,f=a.length,g=f>>>1;d<g;){var h=2*(d+1)-1,l=a[h],k=h+1,n=a[k];if(0>F(l,c))k<f&&0>F(n,l)?(a[d]= | ||
n,a[k]=c,d=k):(a[d]=l,a[h]=c,d=h);else if(k<f&&0>F(n,c))a[d]=n,a[k]=c,d=k;else break a}}return b}function F(a,b){var c=a.sortIndex-b.sortIndex;return 0!==c?c:a.id-b.id}function H(a){for(var b=r(u);null!==b;){if(null===b.callback)G(u);else if(b.startTime<=a)G(u),b.sortIndex=b.expirationTime,T(t,b);else break;b=r(u)}}function U(a){B=!1;H(a);if(!w)if(null!==r(t))w=!0,V();else{var b=r(u);null!==b&&W(U,b.startTime-a)}}function ja(){return x()-ka<la?!1:!0}function V(){I||(I=!0,J())}function W(a,b){C=ma(function(){a(x())}, | ||
b)}var A=Symbol.for("react.element"),ua=Symbol.for("react.portal"),xa=Symbol.for("react.fragment"),ya=Symbol.for("react.strict_mode"),za=Symbol.for("react.profiler"),na=Symbol.for("react.provider"),Aa=Symbol.for("react.context"),Ba=Symbol.for("react.server_context"),Ca=Symbol.for("react.forward_ref"),Da=Symbol.for("react.suspense"),Ea=Symbol.for("react.suspense_list"),Fa=Symbol.for("react.memo"),Ga=Symbol.for("react.lazy"),Ha=Symbol.for("react.debug_trace_mode"),Ia=Symbol.for("react.offscreen"),Ja= | ||
Symbol.for("react.cache"),X=Symbol.for("react.default_value"),Ka=Symbol.for("react.postpone"),Z=Symbol.iterator,ba={isMounted:function(a){return!1},enqueueForceUpdate:function(a,b,c){},enqueueReplaceState:function(a,b,c,d){},enqueueSetState:function(a,b,c,d){}},oa=Object.assign,aa={};y.prototype.isReactComponent={};y.prototype.setState=function(a,b){if("object"!==typeof a&&"function"!==typeof a&&null!=a)throw Error("setState(...): takes an object of state variables to update or a function which returns an object of state variables."); | ||
this.updater.enqueueSetState(this,a,b,"setState")};y.prototype.forceUpdate=function(a){this.updater.enqueueForceUpdate(this,a,"forceUpdate")};ca.prototype=y.prototype;var v=O.prototype=new ca;v.constructor=O;oa(v,y.prototype);v.isPureReactComponent=!0;var ha=Array.isArray,ea=Object.prototype.hasOwnProperty,P={current:null},fa={key:!0,ref:!0,__self:!0,__source:!0},ia=/\/+/g,K={current:null},m={current:null},L={transition:null},M={};if("object"===typeof performance&&"function"===typeof performance.now){var La= | ||
performance;var x=function(){return La.now()}}else{var pa=Date,Ma=pa.now();x=function(){return pa.now()-Ma}}var t=[],u=[],Na=1,q=null,p=3,N=!1,w=!1,B=!1,ma="function"===typeof setTimeout?setTimeout:null,qa="function"===typeof clearTimeout?clearTimeout:null,ra="undefined"!==typeof setImmediate?setImmediate:null;"undefined"!==typeof navigator&&void 0!==navigator.scheduling&&void 0!==navigator.scheduling.isInputPending?navigator.scheduling.isInputPending.bind(navigator.scheduling):null;var I=!1,C=-1, | ||
la=5,ka=-1,Y=function(){if(I){var a=x();ka=a;var b=!0;try{a:{w=!1;B&&(B=!1,qa(C),C=-1);N=!0;var c=p;try{b:{H(a);for(q=r(t);null!==q&&!(q.expirationTime>a&&ja());){var d=q.callback;if("function"===typeof d){q.callback=null;p=q.priorityLevel;var f=d(q.expirationTime<=a);a=x();if("function"===typeof f){q.callback=f;H(a);b=!0;break b}q===r(t)&&G(t);H(a)}else G(t);q=r(t)}if(null!==q)b=!0;else{var g=r(u);null!==g&&W(U,g.startTime-a);b=!1}}break a}finally{q=null,p=c,N=!1}b=void 0}}finally{b?J():I=!1}}}; | ||
if("function"===typeof ra)var J=function(){ra(Y)};else if("undefined"!==typeof MessageChannel){v=new MessageChannel;var Oa=v.port2;v.port1.onmessage=Y;J=function(){Oa.postMessage(null)}}else J=function(){ma(Y,0)};v={ReactCurrentDispatcher:m,ReactCurrentCache:K,ReactCurrentOwner:P,ReactCurrentBatchConfig:L,Scheduler:{__proto__:null,unstable_IdlePriority:5,unstable_ImmediatePriority:1,unstable_LowPriority:4,unstable_NormalPriority:3,unstable_Profiling:null,unstable_UserBlockingPriority:2,unstable_cancelCallback:function(a){a.callback= | ||
null},unstable_continueExecution:function(){w||N||(w=!0,V())},unstable_forceFrameRate:function(a){0>a||125<a?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):la=0<a?Math.floor(1E3/a):5},unstable_getCurrentPriorityLevel:function(){return p},unstable_getFirstCallbackNode:function(){return r(t)},unstable_next:function(a){switch(p){case 1:case 2:case 3:var b=3;break;default:b=p}var c=p;p=b;try{return a()}finally{p=c}},get unstable_now(){return x}, | ||
unstable_pauseExecution:function(){},unstable_requestPaint:function(){},unstable_runWithPriority:function(a,b){switch(a){case 1:case 2:case 3:case 4:case 5:break;default:a=3}var c=p;p=a;try{return b()}finally{p=c}},unstable_scheduleCallback:function(a,b,c){var d=x();"object"===typeof c&&null!==c?(c=c.delay,c="number"===typeof c&&0<c?d+c:d):c=d;switch(a){case 1:var f=-1;break;case 2:f=250;break;case 5:f=1073741823;break;case 4:f=1E4;break;default:f=5E3}f=c+f;a={id:Na++,callback:b,priorityLevel:a,startTime:c, | ||
expirationTime:f,sortIndex:-1};c>d?(a.sortIndex=c,T(u,a),null===r(t)&&a===r(u)&&(B?(qa(C),C=-1):B=!0,W(U,c-d))):(a.sortIndex=f,T(t,a),w||N||(w=!0,V()));return a},unstable_shouldYield:ja,unstable_wrapCallback:function(a){var b=p;return function(){var c=p;p=b;try{return a.apply(this,arguments)}finally{p=c}}}},ContextRegistry:M};e.Children={map:E,forEach:function(a,b,c){E(a,function(){b.apply(this,arguments)},c)},count:function(a){var b=0;E(a,function(){b++});return b},toArray:function(a){return E(a, | ||
function(b){return b})||[]},only:function(a){if(!Q(a))throw Error("React.Children.only expected to receive a single React element child.");return a}};e.Component=y;e.Fragment=xa;e.Profiler=za;e.PureComponent=O;e.StrictMode=ya;e.Suspense=Da;e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=v;e.cache=function(a){return function(){var b=K.current;if(!b)return a.apply(null,arguments);var c=b.getCacheForType(wa);b=c.get(a);void 0===b&&(b=S(),c.set(a,b));c=0;for(var d=arguments.length;c<d;c++){var f= | ||
arguments[c];if("function"===typeof f||"object"===typeof f&&null!==f){var g=b.o;null===g&&(b.o=g=new WeakMap);b=g.get(f);void 0===b&&(b=S(),g.set(f,b))}else g=b.p,null===g&&(b.p=g=new Map),b=g.get(f),void 0===b&&(b=S(),g.set(f,b))}if(1===b.s)return b.v;if(2===b.s)throw b.v;try{var h=a.apply(null,arguments);c=b;c.s=1;return c.v=h}catch(l){throw h=b,h.s=2,h.v=l,l;}}};e.cloneElement=function(a,b,c){if(null===a||void 0===a)throw Error("React.cloneElement(...): The argument must be a React element, but you passed "+ | ||
a+".");var d=oa({},a.props),f=a.key,g=a.ref,h=a._owner;if(null!=b){void 0!==b.ref&&(g=b.ref,h=P.current);void 0!==b.key&&(f=""+b.key);if(a.type&&a.type.defaultProps)var l=a.type.defaultProps;for(k in b)ea.call(b,k)&&!fa.hasOwnProperty(k)&&(d[k]=void 0===b[k]&&void 0!==l?l[k]:b[k])}var k=arguments.length-2;if(1===k)d.children=c;else if(1<k){l=Array(k);for(var n=0;n<k;n++)l[n]=arguments[n+2];d.children=l}return{$$typeof:A,type:a.type,key:f,ref:g,props:d,_owner:h}};e.createContext=function(a){a={$$typeof:Aa, | ||
_currentValue:a,_currentValue2:a,_threadCount:0,Provider:null,Consumer:null,_defaultValue:null,_globalName:null};a.Provider={$$typeof:na,_context:a};return a.Consumer=a};e.createElement=da;e.createFactory=function(a){var b=da.bind(null,a);b.type=a;return b};e.createRef=function(){return{current:null}};e.createServerContext=function(a,b){var c=!0;if(!M[a]){c=!1;var d={$$typeof:Ba,_currentValue:b,_currentValue2:b,_defaultValue:b,_threadCount:0,Provider:null,Consumer:null,_globalName:a};d.Provider={$$typeof:na, | ||
_context:d};M[a]=d}d=M[a];if(d._defaultValue===X)d._defaultValue=b,d._currentValue===X&&(d._currentValue=b),d._currentValue2===X&&(d._currentValue2=b);else if(c)throw Error("ServerContext: "+a+" already defined");return d};e.experimental_useEffectEvent=function(a){return m.current.useEffectEvent(a)};e.experimental_useOptimistic=function(a,b){return m.current.useOptimistic(a,b)};e.forwardRef=function(a){return{$$typeof:Ca,render:a}};e.isValidElement=Q;e.lazy=function(a){return{$$typeof:Ga,_payload:{_status:-1, | ||
_result:a},_init:va}};e.memo=function(a,b){return{$$typeof:Fa,type:a,compare:void 0===b?null:b}};e.startTransition=function(a,b){b=L.transition;L.transition={};try{a()}finally{L.transition=b}};e.unstable_Cache=Ja;e.unstable_DebugTracingMode=Ha;e.unstable_Offscreen=Ia;e.unstable_SuspenseList=Ea;e.unstable_act=function(a){throw Error("act(...) is not supported in production builds of React.");};e.unstable_getCacheForType=function(a){var b=K.current;return b?b.getCacheForType(a):a()};e.unstable_getCacheSignal= | ||
function(){var a=K.current;return a?a.getCacheSignal():(a=new AbortController,a.abort(Error("This CacheSignal was requested outside React which means that it is immediately aborted.")),a.signal)};e.unstable_postpone=function(a){a=Error(a);a.$$typeof=Ka;throw a;};e.unstable_useCacheRefresh=function(){return m.current.useCacheRefresh()};e.unstable_useMemoCache=function(a){return m.current.useMemoCache(a)};e.use=function(a){return m.current.use(a)};e.useCallback=function(a,b){return m.current.useCallback(a, | ||
b)};e.useContext=function(a){return m.current.useContext(a)};e.useDebugValue=function(a,b){};e.useDeferredValue=function(a){return m.current.useDeferredValue(a)};e.useEffect=function(a,b){return m.current.useEffect(a,b)};e.useId=function(){return m.current.useId()};e.useImperativeHandle=function(a,b,c){return m.current.useImperativeHandle(a,b,c)};e.useInsertionEffect=function(a,b){return m.current.useInsertionEffect(a,b)};e.useLayoutEffect=function(a,b){return m.current.useLayoutEffect(a,b)};e.useMemo= | ||
function(a,b){return m.current.useMemo(a,b)};e.useReducer=function(a,b,c){return m.current.useReducer(a,b,c)};e.useRef=function(a){return m.current.useRef(a)};e.useState=function(a){return m.current.useState(a)};e.useSyncExternalStore=function(a,b,c){return m.current.useSyncExternalStore(a,b,c)};e.useTransition=function(){return m.current.useTransition()};e.version="18.3.0-experimental-720de7f81a-20241220"}); | ||
})(); |
@@ -1,5 +0,6 @@ | ||
/** @license React vundefined | ||
/** | ||
* @license React | ||
* react.profiling.min.js | ||
* | ||
* Copyright (c) Facebook, Inc. and its affiliates. | ||
* Copyright (c) Meta Platforms, Inc. and affiliates. | ||
* | ||
@@ -9,25 +10,27 @@ * This source code is licensed under the MIT license found in the | ||
*/ | ||
(function(){'use strict';(function(b,w){"object"===typeof exports&&"undefined"!==typeof module?w(exports):"function"===typeof define&&define.amd?define(["exports"],w):(b=b||self,w(b.React={}))})(this,function(b){function w(a){if(null===a||"object"!==typeof a)return null;a=V&&a[V]||a["@@iterator"];return"function"===typeof a?a:null}function u(a,c,l){this.props=a;this.context=c;this.refs=W;this.updater=l||X}function Y(){}function J(a,c,l){this.props=a;this.context=c;this.refs=W;this.updater=l||X}function Z(a,c, | ||
l){var b,e={},aa=null,x=null;if(null!=c)for(b in void 0!==c.ref&&(x=c.ref),void 0!==c.key&&(aa=""+c.key),c)ba.call(c,b)&&!ca.hasOwnProperty(b)&&(e[b]=c[b]);var d=arguments.length-2;if(1===d)e.children=l;else if(1<d){for(var g=Array(d),f=0;f<d;f++)g[f]=arguments[f+2];e.children=g}if(a&&a.defaultProps)for(b in d=a.defaultProps,d)void 0===e[b]&&(e[b]=d[b]);return{$$typeof:v,type:a,key:aa,ref:x,props:e,_owner:K.current}}function ta(a,c){return{$$typeof:v,type:a.type,key:c,ref:a.ref,props:a.props,_owner:a._owner}} | ||
function L(a){return"object"===typeof a&&null!==a&&a.$$typeof===v}function ua(a){var c={"=":"=0",":":"=2"};return"$"+a.replace(/[=:]/g,function(a){return c[a]})}function M(a,c){return"object"===typeof a&&null!==a&&null!=a.key?ua(""+a.key):c.toString(36)}function A(a,c,l,b,e){var n=typeof a;if("undefined"===n||"boolean"===n)a=null;var d=!1;if(null===a)d=!0;else switch(n){case "string":case "number":d=!0;break;case "object":switch(a.$$typeof){case v:case da:d=!0}}if(d)return d=a,e=e(d),a=""===b?"."+ | ||
M(d,0):b,ea(e)?(l="",null!=a&&(l=a.replace(fa,"$&/")+"/"),A(e,c,l,"",function(a){return a})):null!=e&&(L(e)&&(e=ta(e,l+(!e.key||d&&d.key===e.key?"":(""+e.key).replace(fa,"$&/")+"/")+a)),c.push(e)),1;d=0;b=""===b?".":b+":";if(ea(a))for(var f=0;f<a.length;f++){n=a[f];var g=b+M(n,f);d+=A(n,c,l,g,e)}else if(g=w(a),"function"===typeof g)for(a=g.call(a),f=0;!(n=a.next()).done;)n=n.value,g=b+M(n,f++),d+=A(n,c,l,g,e);else if("object"===n)throw c=String(a),Error("Objects are not valid as a React child (found: "+ | ||
("[object Object]"===c?"object with keys {"+Object.keys(a).join(", ")+"}":c)+"). If you meant to render a collection of children, use an array instead.");return d}function B(a,c,b){if(null==a)return a;var l=[],e=0;A(a,l,"","",function(a){return c.call(b,a,e++)});return l}function va(a){if(-1===a._status){var c=a._result;c=c();c.then(function(c){if(0===a._status||-1===a._status)a._status=1,a._result=c},function(c){if(0===a._status||-1===a._status)a._status=2,a._result=c});-1===a._status&&(a._status= | ||
0,a._result=c)}if(1===a._status)return a._result.default;throw a._result;}function N(a,c){var b=a.length;a.push(c);a:for(;0<b;){var d=b-1>>>1,e=a[d];if(0<C(e,c))a[d]=c,a[b]=e,b=d;else break a}}function k(a){return 0===a.length?null:a[0]}function D(a){if(0===a.length)return null;var c=a[0],b=a.pop();if(b!==c){a[0]=b;a:for(var d=0,e=a.length,f=e>>>1;d<f;){var h=2*(d+1)-1,m=a[h],g=h+1,k=a[g];if(0>C(m,b))g<e&&0>C(k,m)?(a[d]=k,a[g]=b,d=g):(a[d]=m,a[h]=b,d=h);else if(g<e&&0>C(k,b))a[d]=k,a[g]=b,d=g;else break a}}return c} | ||
function C(a,c){var b=a.sortIndex-c.sortIndex;return 0!==b?b:a.id-c.id}function O(a){for(var c=k(q);null!==c;){if(null===c.callback)D(q);else if(c.startTime<=a)D(q),c.sortIndex=c.expirationTime,N(p,c);else break;c=k(q)}}function P(a){y=!1;O(a);if(!r)if(null!==k(p))r=!0,Q(R);else{var c=k(q);null!==c&&S(P,c.startTime-a)}}function R(a,c){r=!1;y&&(y=!1,ha(z),z=-1);E=!0;var b=h;try{O(c);for(m=k(p);null!==m&&(!(m.expirationTime>c)||a&&!ia());){var d=m.callback;if("function"===typeof d){m.callback=null; | ||
h=m.priorityLevel;var e=d(m.expirationTime<=c);c=t();"function"===typeof e?m.callback=e:m===k(p)&&D(p);O(c)}else D(p);m=k(p)}if(null!==m)var f=!0;else{var x=k(q);null!==x&&S(P,x.startTime-c);f=!1}return f}finally{m=null,h=b,E=!1}}function ia(){return t()-ja<ka?!1:!0}function Q(a){F=a;G||(G=!0,H())}function S(a,c){z=la(function(){a(t())},c)}var v=60103,da=60106;b.Fragment=60107;b.StrictMode=60108;b.Profiler=60114;var ma=60109,na=60110,oa=60112;b.Suspense=60113;b.SuspenseList=60120;var pa=60115,qa= | ||
60116;b.unstable_DebugTracingMode=60129;b.unstable_Offscreen=60130;b.unstable_LegacyHidden=60131;b.unstable_Cache=60132;if("function"===typeof Symbol&&Symbol.for){var d=Symbol.for;v=d("react.element");da=d("react.portal");b.Fragment=d("react.fragment");b.StrictMode=d("react.strict_mode");b.Profiler=d("react.profiler");ma=d("react.provider");na=d("react.context");oa=d("react.forward_ref");b.Suspense=d("react.suspense");b.SuspenseList=d("react.suspense_list");pa=d("react.memo");qa=d("react.lazy");b.unstable_DebugTracingMode= | ||
d("react.debug_trace_mode");b.unstable_Offscreen=d("react.offscreen");b.unstable_LegacyHidden=d("react.legacy_hidden");b.unstable_Cache=d("react.cache")}var V="function"===typeof Symbol&&Symbol.iterator,wa=Object.prototype.hasOwnProperty,T=Object.assign||function(a,c){if(null==a)throw new TypeError("Object.assign target cannot be null or undefined");for(var b=Object(a),d=1;d<arguments.length;d++){var e=arguments[d];if(null!=e){var f=void 0;e=Object(e);for(f in e)wa.call(e,f)&&(b[f]=e[f])}}return b}, | ||
X={isMounted:function(a){return!1},enqueueForceUpdate:function(a,c,b){},enqueueReplaceState:function(a,c,b,d){},enqueueSetState:function(a,c,b,d){}},W={};u.prototype.isReactComponent={};u.prototype.setState=function(a,c){if("object"!==typeof a&&"function"!==typeof a&&null!=a)throw Error("setState(...): takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,a,c,"setState")};u.prototype.forceUpdate=function(a){this.updater.enqueueForceUpdate(this, | ||
a,"forceUpdate")};Y.prototype=u.prototype;d=J.prototype=new Y;d.constructor=J;T(d,u.prototype);d.isPureReactComponent=!0;var ea=Array.isArray,ba=Object.prototype.hasOwnProperty,K={current:null},ca={key:!0,ref:!0,__self:!0,__source:!0},fa=/\/+/g,f={current:null},I={transition:0};if("object"===typeof performance&&"function"===typeof performance.now){var xa=performance;var t=function(){return xa.now()}}else{var ra=Date,ya=ra.now();t=function(){return ra.now()-ya}}var p=[],q=[],za=1,m=null,h=3,E=!1,r= | ||
!1,y=!1,la="function"===typeof setTimeout?setTimeout:null,ha="function"===typeof clearTimeout?clearTimeout:null,sa="undefined"!==typeof setImmediate?setImmediate:null;"undefined"!==typeof navigator&&void 0!==navigator.scheduling&&void 0!==navigator.scheduling.isInputPending&&navigator.scheduling.isInputPending.bind(navigator.scheduling);var G=!1,F=null,z=-1,ka=5,ja=-1,U=function(){if(null!==F){var a=t();ja=a;var c=!0;try{c=F(!0,a)}finally{c?H():(G=!1,F=null)}}else G=!1};if("function"===typeof sa)var H= | ||
function(){sa(U)};else if("undefined"!==typeof MessageChannel){d=new MessageChannel;var Aa=d.port2;d.port1.onmessage=U;H=function(){Aa.postMessage(null)}}else H=function(){la(U,0)};d={ReactCurrentDispatcher:f,ReactCurrentOwner:K,ReactCurrentBatchConfig:I,assign:T,Scheduler:{__proto__:null,unstable_ImmediatePriority:1,unstable_UserBlockingPriority:2,unstable_NormalPriority:3,unstable_IdlePriority:5,unstable_LowPriority:4,unstable_runWithPriority:function(a,c){switch(a){case 1:case 2:case 3:case 4:case 5:break; | ||
default:a=3}var b=h;h=a;try{return c()}finally{h=b}},unstable_next:function(a){switch(h){case 1:case 2:case 3:var c=3;break;default:c=h}var b=h;h=c;try{return a()}finally{h=b}},unstable_scheduleCallback:function(a,c,b){var d=t();"object"===typeof b&&null!==b?(b=b.delay,b="number"===typeof b&&0<b?d+b:d):b=d;switch(a){case 1:var e=-1;break;case 2:e=250;break;case 5:e=1073741823;break;case 4:e=1E4;break;default:e=5E3}e=b+e;a={id:za++,callback:c,priorityLevel:a,startTime:b,expirationTime:e,sortIndex:-1}; | ||
b>d?(a.sortIndex=b,N(q,a),null===k(p)&&a===k(q)&&(y?(ha(z),z=-1):y=!0,S(P,b-d))):(a.sortIndex=e,N(p,a),r||E||(r=!0,Q(R)));return a},unstable_cancelCallback:function(a){a.callback=null},unstable_wrapCallback:function(a){var c=h;return function(){var b=h;h=c;try{return a.apply(this,arguments)}finally{h=b}}},unstable_getCurrentPriorityLevel:function(){return h},unstable_shouldYield:ia,unstable_requestPaint:function(){},unstable_continueExecution:function(){r||E||(r=!0,Q(R))},unstable_pauseExecution:function(){}, | ||
unstable_getFirstCallbackNode:function(){return k(p)},get unstable_now(){return t},unstable_forceFrameRate:function(a){0>a||125<a?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):ka=0<a?Math.floor(1E3/a):5},unstable_Profiling:null}};b.Children={map:B,forEach:function(a,c,b){B(a,function(){c.apply(this,arguments)},b)},count:function(a){var c=0;B(a,function(){c++});return c},toArray:function(a){return B(a,function(a){return a})|| | ||
[]},only:function(a){if(!L(a))throw Error("React.Children.only expected to receive a single React element child.");return a}};b.Component=u;b.PureComponent=J;b.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=d;b.cloneElement=function(a,c,b){if(null===a||void 0===a)throw Error("React.cloneElement(...): The argument must be a React element, but you passed "+a+".");var d=T({},a.props),e=a.key,f=a.ref,l=a._owner;if(null!=c){void 0!==c.ref&&(f=c.ref,l=K.current);void 0!==c.key&&(e=""+c.key);if(a.type&& | ||
a.type.defaultProps)var h=a.type.defaultProps;for(g in c)ba.call(c,g)&&!ca.hasOwnProperty(g)&&(d[g]=void 0===c[g]&&void 0!==h?h[g]:c[g])}var g=arguments.length-2;if(1===g)d.children=b;else if(1<g){h=Array(g);for(var k=0;k<g;k++)h[k]=arguments[k+2];d.children=h}return{$$typeof:v,type:a.type,key:e,ref:f,props:d,_owner:l}};b.createContext=function(a){a={$$typeof:na,_currentValue:a,_currentValue2:a,_threadCount:0,Provider:null,Consumer:null};a.Provider={$$typeof:ma,_context:a};return a.Consumer=a};b.createElement= | ||
Z;b.createFactory=function(a){var c=Z.bind(null,a);c.type=a;return c};b.createRef=function(){return{current:null}};b.forwardRef=function(a){return{$$typeof:oa,render:a}};b.isValidElement=L;b.lazy=function(a){return{$$typeof:qa,_payload:{_status:-1,_result:a},_init:va}};b.memo=function(a,c){return{$$typeof:pa,type:a,compare:void 0===c?null:c}};b.startTransition=function(a){var c=I.transition;I.transition=1;try{a()}finally{I.transition=c}};b.unstable_act=function(a){throw Error("act(...) is not supported in production builds of React."); | ||
};b.unstable_createMutableSource=function(a,c){return{_getVersion:c,_source:a,_workInProgressVersionPrimary:null,_workInProgressVersionSecondary:null}};b.unstable_getCacheForType=function(a){return f.current.getCacheForType(a)};b.unstable_getCacheSignal=function(){return f.current.getCacheSignal()};b.unstable_useCacheRefresh=function(){return f.current.useCacheRefresh()};b.useCallback=function(a,c){return f.current.useCallback(a,c)};b.useContext=function(a){return f.current.useContext(a)};b.useDebugValue= | ||
function(a,c){};b.useDeferredValue=function(a){return f.current.useDeferredValue(a)};b.useEffect=function(a,c){return f.current.useEffect(a,c)};b.useId=function(){return f.current.useId()};b.useImperativeHandle=function(a,c,b){return f.current.useImperativeHandle(a,c,b)};b.useInsertionEffect=function(a,b){return f.current.useInsertionEffect(a,b)};b.useLayoutEffect=function(a,b){return f.current.useLayoutEffect(a,b)};b.useMemo=function(a,b){return f.current.useMemo(a,b)};b.useReducer=function(a,b, | ||
d){return f.current.useReducer(a,b,d)};b.useRef=function(a){return f.current.useRef(a)};b.useState=function(a){return f.current.useState(a)};b.useSyncExternalStore=function(a,b,d){return f.current.useSyncExternalStore(a,b,d)};b.useTransition=function(){return f.current.useTransition()};b.version="18.0.0-experimental-71d16750c-20211202"}); | ||
(function(){'use strict';(function(e,z){"object"===typeof exports&&"undefined"!==typeof module?z(exports):"function"===typeof define&&define.amd?define(["exports"],z):(e="undefined"!==typeof globalThis?globalThis:e||self,z(e.React={}))})(this,function(e){function z(a){if(null===a||"object"!==typeof a)return null;a=Z&&a[Z]||a["@@iterator"];return"function"===typeof a?a:null}function y(a,b,c){this.props=a;this.context=b;this.refs=aa;this.updater=c||ba}function ca(){}function O(a,b,c){this.props=a;this.context= | ||
b;this.refs=aa;this.updater=c||ba}function da(a,b,c){var d,f={},g=null,h=null;if(null!=b)for(d in void 0!==b.ref&&(h=b.ref),void 0!==b.key&&(g=""+b.key),b)ea.call(b,d)&&!fa.hasOwnProperty(d)&&(f[d]=b[d]);var l=arguments.length-2;if(1===l)f.children=c;else if(1<l){for(var k=Array(l),n=0;n<l;n++)k[n]=arguments[n+2];f.children=k}if(a&&a.defaultProps)for(d in l=a.defaultProps,l)void 0===f[d]&&(f[d]=l[d]);return{$$typeof:A,type:a,key:g,ref:h,props:f,_owner:P.current}}function sa(a,b){return{$$typeof:A, | ||
type:a.type,key:b,ref:a.ref,props:a.props,_owner:a._owner}}function Q(a){return"object"===typeof a&&null!==a&&a.$$typeof===A}function ta(a){var b={"=":"=0",":":"=2"};return"$"+a.replace(/[=:]/g,function(c){return b[c]})}function R(a,b){return"object"===typeof a&&null!==a&&null!=a.key?ta(""+a.key):b.toString(36)}function D(a,b,c,d,f){var g=typeof a;if("undefined"===g||"boolean"===g)a=null;var h=!1;if(null===a)h=!0;else switch(g){case "string":case "number":h=!0;break;case "object":switch(a.$$typeof){case A:case ua:h= | ||
!0}}if(h)return h=a,f=f(h),a=""===d?"."+R(h,0):d,ha(f)?(c="",null!=a&&(c=a.replace(ia,"$&/")+"/"),D(f,b,c,"",function(n){return n})):null!=f&&(Q(f)&&(f=sa(f,c+(!f.key||h&&h.key===f.key?"":(""+f.key).replace(ia,"$&/")+"/")+a)),b.push(f)),1;h=0;d=""===d?".":d+":";if(ha(a))for(var l=0;l<a.length;l++){g=a[l];var k=d+R(g,l);h+=D(g,b,c,k,f)}else if(k=z(a),"function"===typeof k)for(a=k.call(a),l=0;!(g=a.next()).done;)g=g.value,k=d+R(g,l++),h+=D(g,b,c,k,f);else if("object"===g)throw b=String(a),Error("Objects are not valid as a React child (found: "+ | ||
("[object Object]"===b?"object with keys {"+Object.keys(a).join(", ")+"}":b)+"). If you meant to render a collection of children, use an array instead.");return h}function E(a,b,c){if(null==a)return a;var d=[],f=0;D(a,d,"","",function(g){return b.call(c,g,f++)});return d}function va(a){if(-1===a._status){var b=a._result;b=b();b.then(function(c){if(0===a._status||-1===a._status)a._status=1,a._result=c},function(c){if(0===a._status||-1===a._status)a._status=2,a._result=c});-1===a._status&&(a._status= | ||
0,a._result=b)}if(1===a._status)return a._result.default;throw a._result;}function wa(){return new WeakMap}function S(){return{s:0,v:void 0,o:null,p:null}}function T(a,b){var c=a.length;a.push(b);a:for(;0<c;){var d=c-1>>>1,f=a[d];if(0<F(f,b))a[d]=b,a[c]=f,c=d;else break a}}function r(a){return 0===a.length?null:a[0]}function G(a){if(0===a.length)return null;var b=a[0],c=a.pop();if(c!==b){a[0]=c;a:for(var d=0,f=a.length,g=f>>>1;d<g;){var h=2*(d+1)-1,l=a[h],k=h+1,n=a[k];if(0>F(l,c))k<f&&0>F(n,l)?(a[d]= | ||
n,a[k]=c,d=k):(a[d]=l,a[h]=c,d=h);else if(k<f&&0>F(n,c))a[d]=n,a[k]=c,d=k;else break a}}return b}function F(a,b){var c=a.sortIndex-b.sortIndex;return 0!==c?c:a.id-b.id}function H(a){for(var b=r(u);null!==b;){if(null===b.callback)G(u);else if(b.startTime<=a)G(u),b.sortIndex=b.expirationTime,T(t,b);else break;b=r(u)}}function U(a){B=!1;H(a);if(!w)if(null!==r(t))w=!0,V();else{var b=r(u);null!==b&&W(U,b.startTime-a)}}function ja(){return x()-ka<la?!1:!0}function V(){I||(I=!0,J())}function W(a,b){C=ma(function(){a(x())}, | ||
b)}var A=Symbol.for("react.element"),ua=Symbol.for("react.portal"),xa=Symbol.for("react.fragment"),ya=Symbol.for("react.strict_mode"),za=Symbol.for("react.profiler"),na=Symbol.for("react.provider"),Aa=Symbol.for("react.context"),Ba=Symbol.for("react.server_context"),Ca=Symbol.for("react.forward_ref"),Da=Symbol.for("react.suspense"),Ea=Symbol.for("react.suspense_list"),Fa=Symbol.for("react.memo"),Ga=Symbol.for("react.lazy"),Ha=Symbol.for("react.debug_trace_mode"),Ia=Symbol.for("react.offscreen"),Ja= | ||
Symbol.for("react.cache"),X=Symbol.for("react.default_value"),Ka=Symbol.for("react.postpone"),Z=Symbol.iterator,ba={isMounted:function(a){return!1},enqueueForceUpdate:function(a,b,c){},enqueueReplaceState:function(a,b,c,d){},enqueueSetState:function(a,b,c,d){}},oa=Object.assign,aa={};y.prototype.isReactComponent={};y.prototype.setState=function(a,b){if("object"!==typeof a&&"function"!==typeof a&&null!=a)throw Error("setState(...): takes an object of state variables to update or a function which returns an object of state variables."); | ||
this.updater.enqueueSetState(this,a,b,"setState")};y.prototype.forceUpdate=function(a){this.updater.enqueueForceUpdate(this,a,"forceUpdate")};ca.prototype=y.prototype;var v=O.prototype=new ca;v.constructor=O;oa(v,y.prototype);v.isPureReactComponent=!0;var ha=Array.isArray,ea=Object.prototype.hasOwnProperty,P={current:null},fa={key:!0,ref:!0,__self:!0,__source:!0},ia=/\/+/g,K={current:null},m={current:null},L={transition:null},M={};if("object"===typeof performance&&"function"===typeof performance.now){var La= | ||
performance;var x=function(){return La.now()}}else{var pa=Date,Ma=pa.now();x=function(){return pa.now()-Ma}}var t=[],u=[],Na=1,q=null,p=3,N=!1,w=!1,B=!1,ma="function"===typeof setTimeout?setTimeout:null,qa="function"===typeof clearTimeout?clearTimeout:null,ra="undefined"!==typeof setImmediate?setImmediate:null;"undefined"!==typeof navigator&&void 0!==navigator.scheduling&&void 0!==navigator.scheduling.isInputPending?navigator.scheduling.isInputPending.bind(navigator.scheduling):null;var I=!1,C=-1, | ||
la=5,ka=-1,Y=function(){if(I){var a=x();ka=a;var b=!0;try{a:{w=!1;B&&(B=!1,qa(C),C=-1);N=!0;var c=p;try{b:{H(a);for(q=r(t);null!==q&&!(q.expirationTime>a&&ja());){var d=q.callback;if("function"===typeof d){q.callback=null;p=q.priorityLevel;var f=d(q.expirationTime<=a);a=x();if("function"===typeof f){q.callback=f;H(a);b=!0;break b}q===r(t)&&G(t);H(a)}else G(t);q=r(t)}if(null!==q)b=!0;else{var g=r(u);null!==g&&W(U,g.startTime-a);b=!1}}break a}finally{q=null,p=c,N=!1}b=void 0}}finally{b?J():I=!1}}}; | ||
if("function"===typeof ra)var J=function(){ra(Y)};else if("undefined"!==typeof MessageChannel){v=new MessageChannel;var Oa=v.port2;v.port1.onmessage=Y;J=function(){Oa.postMessage(null)}}else J=function(){ma(Y,0)};v={ReactCurrentDispatcher:m,ReactCurrentCache:K,ReactCurrentOwner:P,ReactCurrentBatchConfig:L,Scheduler:{__proto__:null,unstable_IdlePriority:5,unstable_ImmediatePriority:1,unstable_LowPriority:4,unstable_NormalPriority:3,unstable_Profiling:null,unstable_UserBlockingPriority:2,unstable_cancelCallback:function(a){a.callback= | ||
null},unstable_continueExecution:function(){w||N||(w=!0,V())},unstable_forceFrameRate:function(a){0>a||125<a?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):la=0<a?Math.floor(1E3/a):5},unstable_getCurrentPriorityLevel:function(){return p},unstable_getFirstCallbackNode:function(){return r(t)},unstable_next:function(a){switch(p){case 1:case 2:case 3:var b=3;break;default:b=p}var c=p;p=b;try{return a()}finally{p=c}},get unstable_now(){return x}, | ||
unstable_pauseExecution:function(){},unstable_requestPaint:function(){},unstable_runWithPriority:function(a,b){switch(a){case 1:case 2:case 3:case 4:case 5:break;default:a=3}var c=p;p=a;try{return b()}finally{p=c}},unstable_scheduleCallback:function(a,b,c){var d=x();"object"===typeof c&&null!==c?(c=c.delay,c="number"===typeof c&&0<c?d+c:d):c=d;switch(a){case 1:var f=-1;break;case 2:f=250;break;case 5:f=1073741823;break;case 4:f=1E4;break;default:f=5E3}f=c+f;a={id:Na++,callback:b,priorityLevel:a,startTime:c, | ||
expirationTime:f,sortIndex:-1};c>d?(a.sortIndex=c,T(u,a),null===r(t)&&a===r(u)&&(B?(qa(C),C=-1):B=!0,W(U,c-d))):(a.sortIndex=f,T(t,a),w||N||(w=!0,V()));return a},unstable_shouldYield:ja,unstable_wrapCallback:function(a){var b=p;return function(){var c=p;p=b;try{return a.apply(this,arguments)}finally{p=c}}}},ContextRegistry:M};e.Children={map:E,forEach:function(a,b,c){E(a,function(){b.apply(this,arguments)},c)},count:function(a){var b=0;E(a,function(){b++});return b},toArray:function(a){return E(a, | ||
function(b){return b})||[]},only:function(a){if(!Q(a))throw Error("React.Children.only expected to receive a single React element child.");return a}};e.Component=y;e.Fragment=xa;e.Profiler=za;e.PureComponent=O;e.StrictMode=ya;e.Suspense=Da;e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=v;e.cache=function(a){return function(){var b=K.current;if(!b)return a.apply(null,arguments);var c=b.getCacheForType(wa);b=c.get(a);void 0===b&&(b=S(),c.set(a,b));c=0;for(var d=arguments.length;c<d;c++){var f= | ||
arguments[c];if("function"===typeof f||"object"===typeof f&&null!==f){var g=b.o;null===g&&(b.o=g=new WeakMap);b=g.get(f);void 0===b&&(b=S(),g.set(f,b))}else g=b.p,null===g&&(b.p=g=new Map),b=g.get(f),void 0===b&&(b=S(),g.set(f,b))}if(1===b.s)return b.v;if(2===b.s)throw b.v;try{var h=a.apply(null,arguments);c=b;c.s=1;return c.v=h}catch(l){throw h=b,h.s=2,h.v=l,l;}}};e.cloneElement=function(a,b,c){if(null===a||void 0===a)throw Error("React.cloneElement(...): The argument must be a React element, but you passed "+ | ||
a+".");var d=oa({},a.props),f=a.key,g=a.ref,h=a._owner;if(null!=b){void 0!==b.ref&&(g=b.ref,h=P.current);void 0!==b.key&&(f=""+b.key);if(a.type&&a.type.defaultProps)var l=a.type.defaultProps;for(k in b)ea.call(b,k)&&!fa.hasOwnProperty(k)&&(d[k]=void 0===b[k]&&void 0!==l?l[k]:b[k])}var k=arguments.length-2;if(1===k)d.children=c;else if(1<k){l=Array(k);for(var n=0;n<k;n++)l[n]=arguments[n+2];d.children=l}return{$$typeof:A,type:a.type,key:f,ref:g,props:d,_owner:h}};e.createContext=function(a){a={$$typeof:Aa, | ||
_currentValue:a,_currentValue2:a,_threadCount:0,Provider:null,Consumer:null,_defaultValue:null,_globalName:null};a.Provider={$$typeof:na,_context:a};return a.Consumer=a};e.createElement=da;e.createFactory=function(a){var b=da.bind(null,a);b.type=a;return b};e.createRef=function(){return{current:null}};e.createServerContext=function(a,b){var c=!0;if(!M[a]){c=!1;var d={$$typeof:Ba,_currentValue:b,_currentValue2:b,_defaultValue:b,_threadCount:0,Provider:null,Consumer:null,_globalName:a};d.Provider={$$typeof:na, | ||
_context:d};M[a]=d}d=M[a];if(d._defaultValue===X)d._defaultValue=b,d._currentValue===X&&(d._currentValue=b),d._currentValue2===X&&(d._currentValue2=b);else if(c)throw Error("ServerContext: "+a+" already defined");return d};e.experimental_useEffectEvent=function(a){return m.current.useEffectEvent(a)};e.experimental_useOptimistic=function(a,b){return m.current.useOptimistic(a,b)};e.forwardRef=function(a){return{$$typeof:Ca,render:a}};e.isValidElement=Q;e.lazy=function(a){return{$$typeof:Ga,_payload:{_status:-1, | ||
_result:a},_init:va}};e.memo=function(a,b){return{$$typeof:Fa,type:a,compare:void 0===b?null:b}};e.startTransition=function(a,b){b=L.transition;L.transition={};try{a()}finally{L.transition=b}};e.unstable_Cache=Ja;e.unstable_DebugTracingMode=Ha;e.unstable_Offscreen=Ia;e.unstable_SuspenseList=Ea;e.unstable_act=function(a){throw Error("act(...) is not supported in production builds of React.");};e.unstable_getCacheForType=function(a){var b=K.current;return b?b.getCacheForType(a):a()};e.unstable_getCacheSignal= | ||
function(){var a=K.current;return a?a.getCacheSignal():(a=new AbortController,a.abort(Error("This CacheSignal was requested outside React which means that it is immediately aborted.")),a.signal)};e.unstable_postpone=function(a){a=Error(a);a.$$typeof=Ka;throw a;};e.unstable_useCacheRefresh=function(){return m.current.useCacheRefresh()};e.unstable_useMemoCache=function(a){return m.current.useMemoCache(a)};e.use=function(a){return m.current.use(a)};e.useCallback=function(a,b){return m.current.useCallback(a, | ||
b)};e.useContext=function(a){return m.current.useContext(a)};e.useDebugValue=function(a,b){};e.useDeferredValue=function(a){return m.current.useDeferredValue(a)};e.useEffect=function(a,b){return m.current.useEffect(a,b)};e.useId=function(){return m.current.useId()};e.useImperativeHandle=function(a,b,c){return m.current.useImperativeHandle(a,b,c)};e.useInsertionEffect=function(a,b){return m.current.useInsertionEffect(a,b)};e.useLayoutEffect=function(a,b){return m.current.useLayoutEffect(a,b)};e.useMemo= | ||
function(a,b){return m.current.useMemo(a,b)};e.useReducer=function(a,b,c){return m.current.useReducer(a,b,c)};e.useRef=function(a){return m.current.useRef(a)};e.useState=function(a){return m.current.useState(a)};e.useSyncExternalStore=function(a,b,c){return m.current.useSyncExternalStore(a,b,c)};e.useTransition=function(){return m.current.useTransition()};e.version="18.3.0-experimental-720de7f81a-20241220"}); | ||
})(); |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Network access
Supply chain riskThis module accesses the network.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Minified code
QualityThis package contains minified code. This may be harmless in some cases where minified code is included in packaged libraries, however packages on npm should not minify code.
Found 1 instance in 1 package
452371
1
10440
3
38
6
4
- Removedobject-assign@^4.1.1
- Removedobject-assign@4.1.1(transitive)