1 |
|
2 |
|
3 |
|
4 |
|
5 |
|
6 |
|
7 |
|
8 |
|
9 |
|
10 |
|
11 | "use strict";
|
12 | var React = require("react"),
|
13 | REACT_ELEMENT_TYPE = Symbol.for("react.transitional.element"),
|
14 | REACT_FRAGMENT_TYPE = Symbol.for("react.fragment");
|
15 | if (!React.__SERVER_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE)
|
16 | throw Error(
|
17 | 'The "react" package in this environment is not configured correctly. The "react-server" condition must be enabled in any environment that runs React Server Components.'
|
18 | );
|
19 | function jsxProd(type, config, maybeKey) {
|
20 | var key = null;
|
21 | void 0 !== maybeKey && (key = "" + maybeKey);
|
22 | void 0 !== config.key && (key = "" + config.key);
|
23 | if ("key" in config) {
|
24 | maybeKey = {};
|
25 | for (var propName in config)
|
26 | "key" !== propName && (maybeKey[propName] = config[propName]);
|
27 | } else maybeKey = config;
|
28 | config = maybeKey.ref;
|
29 | return {
|
30 | $$typeof: REACT_ELEMENT_TYPE,
|
31 | type: type,
|
32 | key: key,
|
33 | ref: void 0 !== config ? config : null,
|
34 | props: maybeKey
|
35 | };
|
36 | }
|
37 | exports.Fragment = REACT_FRAGMENT_TYPE;
|
38 | exports.jsx = jsxProd;
|
39 | exports.jsxDEV = void 0;
|
40 | exports.jsxs = jsxProd;
|