| 1 | |
| 2 | * @license React
|
| 3 | * react-jsx-runtime.production.js
|
| 4 | *
|
| 5 | * Copyright (c) Meta Platforms, Inc. and affiliates.
|
| 6 | *
|
| 7 | * This source code is licensed under the MIT license found in the
|
| 8 | * LICENSE file in the root directory of this source tree.
|
| 9 | */
|
| 10 |
|
| 11 | "use strict";
|
| 12 | var REACT_ELEMENT_TYPE = Symbol.for("react.transitional.element"),
|
| 13 | REACT_FRAGMENT_TYPE = Symbol.for("react.fragment");
|
| 14 | function jsxProd(type, config, maybeKey) {
|
| 15 | var key = null;
|
| 16 | void 0 !== maybeKey && (key = "" + maybeKey);
|
| 17 | void 0 !== config.key && (key = "" + config.key);
|
| 18 | if ("key" in config) {
|
| 19 | maybeKey = {};
|
| 20 | for (var propName in config)
|
| 21 | "key" !== propName && (maybeKey[propName] = config[propName]);
|
| 22 | } else maybeKey = config;
|
| 23 | config = maybeKey.ref;
|
| 24 | return {
|
| 25 | $$typeof: REACT_ELEMENT_TYPE,
|
| 26 | type: type,
|
| 27 | key: key,
|
| 28 | ref: void 0 !== config ? config : null,
|
| 29 | props: maybeKey
|
| 30 | };
|
| 31 | }
|
| 32 | exports.Fragment = REACT_FRAGMENT_TYPE;
|
| 33 | exports.jsx = jsxProd;
|
| 34 | exports.jsxs = jsxProd;
|