@trycourier/courier-react 8.0.6-beta → 8.0.8-beta

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.mjs CHANGED
@@ -1,4 +1,5 @@
1
1
  import React, { useRef, useEffect } from "react";
2
+ import require$$1 from "object-assign";
2
3
  import ReactDOM, { flushSync } from "react-dom";
3
4
  var __defProp$1 = Object.defineProperty;
4
5
  var __defNormalProp$1 = (obj, key, value) => key in obj ? __defProp$1(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
@@ -5558,50 +5559,45 @@ const useCourier = () => {
5558
5559
  };
5559
5560
  };
5560
5561
  var jsxRuntime = { exports: {} };
5561
- var reactJsxRuntime_production = {};
5562
- /**
5563
- * @license React
5564
- * react-jsx-runtime.production.js
5562
+ var reactJsxRuntime_production_min = {};
5563
+ /** @license React v17.0.2
5564
+ * react-jsx-runtime.production.min.js
5565
5565
  *
5566
- * Copyright (c) Meta Platforms, Inc. and affiliates.
5566
+ * Copyright (c) Facebook, Inc. and its affiliates.
5567
5567
  *
5568
5568
  * This source code is licensed under the MIT license found in the
5569
5569
  * LICENSE file in the root directory of this source tree.
5570
5570
  */
5571
- var hasRequiredReactJsxRuntime_production;
5572
- function requireReactJsxRuntime_production() {
5573
- if (hasRequiredReactJsxRuntime_production) return reactJsxRuntime_production;
5574
- hasRequiredReactJsxRuntime_production = 1;
5575
- var REACT_ELEMENT_TYPE = Symbol.for("react.transitional.element"), REACT_FRAGMENT_TYPE = Symbol.for("react.fragment");
5576
- function jsxProd(type, config, maybeKey) {
5577
- var key = null;
5578
- void 0 !== maybeKey && (key = "" + maybeKey);
5579
- void 0 !== config.key && (key = "" + config.key);
5580
- if ("key" in config) {
5581
- maybeKey = {};
5582
- for (var propName in config)
5583
- "key" !== propName && (maybeKey[propName] = config[propName]);
5584
- } else maybeKey = config;
5585
- config = maybeKey.ref;
5586
- return {
5587
- $$typeof: REACT_ELEMENT_TYPE,
5588
- type,
5589
- key,
5590
- ref: void 0 !== config ? config : null,
5591
- props: maybeKey
5592
- };
5593
- }
5594
- reactJsxRuntime_production.Fragment = REACT_FRAGMENT_TYPE;
5595
- reactJsxRuntime_production.jsx = jsxProd;
5596
- reactJsxRuntime_production.jsxs = jsxProd;
5597
- return reactJsxRuntime_production;
5571
+ var hasRequiredReactJsxRuntime_production_min;
5572
+ function requireReactJsxRuntime_production_min() {
5573
+ if (hasRequiredReactJsxRuntime_production_min) return reactJsxRuntime_production_min;
5574
+ hasRequiredReactJsxRuntime_production_min = 1;
5575
+ var f = React, g = 60103;
5576
+ reactJsxRuntime_production_min.Fragment = 60107;
5577
+ if ("function" === typeof Symbol && Symbol.for) {
5578
+ var h = Symbol.for;
5579
+ g = h("react.element");
5580
+ reactJsxRuntime_production_min.Fragment = h("react.fragment");
5581
+ }
5582
+ var m = f.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, n = Object.prototype.hasOwnProperty, p = { key: true, ref: true, __self: true, __source: true };
5583
+ function q(c, a, k) {
5584
+ var b, d = {}, e = null, l = null;
5585
+ void 0 !== k && (e = "" + k);
5586
+ void 0 !== a.key && (e = "" + a.key);
5587
+ void 0 !== a.ref && (l = a.ref);
5588
+ for (b in a) n.call(a, b) && !p.hasOwnProperty(b) && (d[b] = a[b]);
5589
+ if (c && c.defaultProps) for (b in a = c.defaultProps, a) void 0 === d[b] && (d[b] = a[b]);
5590
+ return { $$typeof: g, type: c, key: e, ref: l, props: d, _owner: m.current };
5591
+ }
5592
+ reactJsxRuntime_production_min.jsx = q;
5593
+ reactJsxRuntime_production_min.jsxs = q;
5594
+ return reactJsxRuntime_production_min;
5598
5595
  }
5599
5596
  var reactJsxRuntime_development = {};
5600
- /**
5601
- * @license React
5597
+ /** @license React v17.0.2
5602
5598
  * react-jsx-runtime.development.js
5603
5599
  *
5604
- * Copyright (c) Meta Platforms, Inc. and affiliates.
5600
+ * Copyright (c) Facebook, Inc. and its affiliates.
5605
5601
  *
5606
5602
  * This source code is licensed under the MIT license found in the
5607
5603
  * LICENSE file in the root directory of this source tree.
@@ -5610,260 +5606,830 @@ var hasRequiredReactJsxRuntime_development;
5610
5606
  function requireReactJsxRuntime_development() {
5611
5607
  if (hasRequiredReactJsxRuntime_development) return reactJsxRuntime_development;
5612
5608
  hasRequiredReactJsxRuntime_development = 1;
5613
- "production" !== process.env.NODE_ENV && function() {
5614
- function getComponentNameFromType(type) {
5615
- if (null == type) return null;
5616
- if ("function" === typeof type)
5617
- return type.$$typeof === REACT_CLIENT_REFERENCE ? null : type.displayName || type.name || null;
5618
- if ("string" === typeof type) return type;
5619
- switch (type) {
5620
- case REACT_FRAGMENT_TYPE:
5621
- return "Fragment";
5622
- case REACT_PROFILER_TYPE:
5623
- return "Profiler";
5624
- case REACT_STRICT_MODE_TYPE:
5625
- return "StrictMode";
5626
- case REACT_SUSPENSE_TYPE:
5627
- return "Suspense";
5628
- case REACT_SUSPENSE_LIST_TYPE:
5629
- return "SuspenseList";
5630
- case REACT_ACTIVITY_TYPE:
5631
- return "Activity";
5632
- }
5633
- if ("object" === typeof type)
5634
- switch ("number" === typeof type.tag && console.error(
5635
- "Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."
5636
- ), type.$$typeof) {
5637
- case REACT_PORTAL_TYPE:
5638
- return "Portal";
5639
- case REACT_CONTEXT_TYPE:
5640
- return (type.displayName || "Context") + ".Provider";
5641
- case REACT_CONSUMER_TYPE:
5642
- return (type._context.displayName || "Context") + ".Consumer";
5643
- case REACT_FORWARD_REF_TYPE:
5644
- var innerType = type.render;
5645
- type = type.displayName;
5646
- type || (type = innerType.displayName || innerType.name || "", type = "" !== type ? "ForwardRef(" + type + ")" : "ForwardRef");
5609
+ (function(exports) {
5610
+ if (process.env.NODE_ENV !== "production") {
5611
+ (function() {
5612
+ var React$1 = React;
5613
+ var _assign = require$$1;
5614
+ var REACT_ELEMENT_TYPE = 60103;
5615
+ var REACT_PORTAL_TYPE = 60106;
5616
+ exports.Fragment = 60107;
5617
+ var REACT_STRICT_MODE_TYPE = 60108;
5618
+ var REACT_PROFILER_TYPE = 60114;
5619
+ var REACT_PROVIDER_TYPE = 60109;
5620
+ var REACT_CONTEXT_TYPE = 60110;
5621
+ var REACT_FORWARD_REF_TYPE = 60112;
5622
+ var REACT_SUSPENSE_TYPE = 60113;
5623
+ var REACT_SUSPENSE_LIST_TYPE = 60120;
5624
+ var REACT_MEMO_TYPE = 60115;
5625
+ var REACT_LAZY_TYPE = 60116;
5626
+ var REACT_BLOCK_TYPE = 60121;
5627
+ var REACT_SERVER_BLOCK_TYPE = 60122;
5628
+ var REACT_FUNDAMENTAL_TYPE = 60117;
5629
+ var REACT_DEBUG_TRACING_MODE_TYPE = 60129;
5630
+ var REACT_LEGACY_HIDDEN_TYPE = 60131;
5631
+ if (typeof Symbol === "function" && Symbol.for) {
5632
+ var symbolFor = Symbol.for;
5633
+ REACT_ELEMENT_TYPE = symbolFor("react.element");
5634
+ REACT_PORTAL_TYPE = symbolFor("react.portal");
5635
+ exports.Fragment = symbolFor("react.fragment");
5636
+ REACT_STRICT_MODE_TYPE = symbolFor("react.strict_mode");
5637
+ REACT_PROFILER_TYPE = symbolFor("react.profiler");
5638
+ REACT_PROVIDER_TYPE = symbolFor("react.provider");
5639
+ REACT_CONTEXT_TYPE = symbolFor("react.context");
5640
+ REACT_FORWARD_REF_TYPE = symbolFor("react.forward_ref");
5641
+ REACT_SUSPENSE_TYPE = symbolFor("react.suspense");
5642
+ REACT_SUSPENSE_LIST_TYPE = symbolFor("react.suspense_list");
5643
+ REACT_MEMO_TYPE = symbolFor("react.memo");
5644
+ REACT_LAZY_TYPE = symbolFor("react.lazy");
5645
+ REACT_BLOCK_TYPE = symbolFor("react.block");
5646
+ REACT_SERVER_BLOCK_TYPE = symbolFor("react.server.block");
5647
+ REACT_FUNDAMENTAL_TYPE = symbolFor("react.fundamental");
5648
+ symbolFor("react.scope");
5649
+ symbolFor("react.opaque.id");
5650
+ REACT_DEBUG_TRACING_MODE_TYPE = symbolFor("react.debug_trace_mode");
5651
+ symbolFor("react.offscreen");
5652
+ REACT_LEGACY_HIDDEN_TYPE = symbolFor("react.legacy_hidden");
5653
+ }
5654
+ var MAYBE_ITERATOR_SYMBOL = typeof Symbol === "function" && Symbol.iterator;
5655
+ var FAUX_ITERATOR_SYMBOL = "@@iterator";
5656
+ function getIteratorFn(maybeIterable) {
5657
+ if (maybeIterable === null || typeof maybeIterable !== "object") {
5658
+ return null;
5659
+ }
5660
+ var maybeIterator = MAYBE_ITERATOR_SYMBOL && maybeIterable[MAYBE_ITERATOR_SYMBOL] || maybeIterable[FAUX_ITERATOR_SYMBOL];
5661
+ if (typeof maybeIterator === "function") {
5662
+ return maybeIterator;
5663
+ }
5664
+ return null;
5665
+ }
5666
+ var ReactSharedInternals = React$1.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
5667
+ function error(format) {
5668
+ {
5669
+ for (var _len2 = arguments.length, args = new Array(_len2 > 1 ? _len2 - 1 : 0), _key2 = 1; _key2 < _len2; _key2++) {
5670
+ args[_key2 - 1] = arguments[_key2];
5671
+ }
5672
+ printWarning("error", format, args);
5673
+ }
5674
+ }
5675
+ function printWarning(level, format, args) {
5676
+ {
5677
+ var ReactDebugCurrentFrame2 = ReactSharedInternals.ReactDebugCurrentFrame;
5678
+ var stack = ReactDebugCurrentFrame2.getStackAddendum();
5679
+ if (stack !== "") {
5680
+ format += "%s";
5681
+ args = args.concat([stack]);
5682
+ }
5683
+ var argsWithFormat = args.map(function(item) {
5684
+ return "" + item;
5685
+ });
5686
+ argsWithFormat.unshift("Warning: " + format);
5687
+ Function.prototype.apply.call(console[level], console, argsWithFormat);
5688
+ }
5689
+ }
5690
+ var enableScopeAPI = false;
5691
+ function isValidElementType(type) {
5692
+ if (typeof type === "string" || typeof type === "function") {
5693
+ return true;
5694
+ }
5695
+ 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 || enableScopeAPI) {
5696
+ return true;
5697
+ }
5698
+ if (typeof type === "object" && type !== null) {
5699
+ if (type.$$typeof === REACT_LAZY_TYPE || type.$$typeof === REACT_MEMO_TYPE || type.$$typeof === REACT_PROVIDER_TYPE || type.$$typeof === REACT_CONTEXT_TYPE || type.$$typeof === REACT_FORWARD_REF_TYPE || type.$$typeof === REACT_FUNDAMENTAL_TYPE || type.$$typeof === REACT_BLOCK_TYPE || type[0] === REACT_SERVER_BLOCK_TYPE) {
5700
+ return true;
5701
+ }
5702
+ }
5703
+ return false;
5704
+ }
5705
+ function getWrappedName(outerType, innerType, wrapperName) {
5706
+ var functionName = innerType.displayName || innerType.name || "";
5707
+ return outerType.displayName || (functionName !== "" ? wrapperName + "(" + functionName + ")" : wrapperName);
5708
+ }
5709
+ function getContextName(type) {
5710
+ return type.displayName || "Context";
5711
+ }
5712
+ function getComponentName(type) {
5713
+ if (type == null) {
5714
+ return null;
5715
+ }
5716
+ {
5717
+ if (typeof type.tag === "number") {
5718
+ error("Received an unexpected object in getComponentName(). This is likely a bug in React. Please file an issue.");
5719
+ }
5720
+ }
5721
+ if (typeof type === "function") {
5722
+ return type.displayName || type.name || null;
5723
+ }
5724
+ if (typeof type === "string") {
5647
5725
  return type;
5648
- case REACT_MEMO_TYPE:
5649
- return innerType = type.displayName || null, null !== innerType ? innerType : getComponentNameFromType(type.type) || "Memo";
5650
- case REACT_LAZY_TYPE:
5651
- innerType = type._payload;
5652
- type = type._init;
5653
- try {
5654
- return getComponentNameFromType(type(innerType));
5655
- } catch (x) {
5726
+ }
5727
+ switch (type) {
5728
+ case exports.Fragment:
5729
+ return "Fragment";
5730
+ case REACT_PORTAL_TYPE:
5731
+ return "Portal";
5732
+ case REACT_PROFILER_TYPE:
5733
+ return "Profiler";
5734
+ case REACT_STRICT_MODE_TYPE:
5735
+ return "StrictMode";
5736
+ case REACT_SUSPENSE_TYPE:
5737
+ return "Suspense";
5738
+ case REACT_SUSPENSE_LIST_TYPE:
5739
+ return "SuspenseList";
5740
+ }
5741
+ if (typeof type === "object") {
5742
+ switch (type.$$typeof) {
5743
+ case REACT_CONTEXT_TYPE:
5744
+ var context = type;
5745
+ return getContextName(context) + ".Consumer";
5746
+ case REACT_PROVIDER_TYPE:
5747
+ var provider = type;
5748
+ return getContextName(provider._context) + ".Provider";
5749
+ case REACT_FORWARD_REF_TYPE:
5750
+ return getWrappedName(type, type.render, "ForwardRef");
5751
+ case REACT_MEMO_TYPE:
5752
+ return getComponentName(type.type);
5753
+ case REACT_BLOCK_TYPE:
5754
+ return getComponentName(type._render);
5755
+ case REACT_LAZY_TYPE: {
5756
+ var lazyComponent = type;
5757
+ var payload = lazyComponent._payload;
5758
+ var init = lazyComponent._init;
5759
+ try {
5760
+ return getComponentName(init(payload));
5761
+ } catch (x) {
5762
+ return null;
5763
+ }
5764
+ }
5656
5765
  }
5766
+ }
5767
+ return null;
5657
5768
  }
5658
- return null;
5659
- }
5660
- function testStringCoercion(value) {
5661
- return "" + value;
5662
- }
5663
- function checkKeyStringCoercion(value) {
5664
- try {
5665
- testStringCoercion(value);
5666
- var JSCompiler_inline_result = false;
5667
- } catch (e) {
5668
- JSCompiler_inline_result = true;
5669
- }
5670
- if (JSCompiler_inline_result) {
5671
- JSCompiler_inline_result = console;
5672
- var JSCompiler_temp_const = JSCompiler_inline_result.error;
5673
- var JSCompiler_inline_result$jscomp$0 = "function" === typeof Symbol && Symbol.toStringTag && value[Symbol.toStringTag] || value.constructor.name || "Object";
5674
- JSCompiler_temp_const.call(
5675
- JSCompiler_inline_result,
5676
- "The provided key is an unsupported type %s. This value must be coerced to a string before using it here.",
5677
- JSCompiler_inline_result$jscomp$0
5678
- );
5679
- return testStringCoercion(value);
5680
- }
5681
- }
5682
- function getTaskName(type) {
5683
- if (type === REACT_FRAGMENT_TYPE) return "<>";
5684
- if ("object" === typeof type && null !== type && type.$$typeof === REACT_LAZY_TYPE)
5685
- return "<...>";
5686
- try {
5687
- var name = getComponentNameFromType(type);
5688
- return name ? "<" + name + ">" : "<...>";
5689
- } catch (x) {
5690
- return "<...>";
5691
- }
5692
- }
5693
- function getOwner() {
5694
- var dispatcher = ReactSharedInternals.A;
5695
- return null === dispatcher ? null : dispatcher.getOwner();
5696
- }
5697
- function UnknownOwner() {
5698
- return Error("react-stack-top-frame");
5699
- }
5700
- function hasValidKey(config) {
5701
- if (hasOwnProperty.call(config, "key")) {
5702
- var getter = Object.getOwnPropertyDescriptor(config, "key").get;
5703
- if (getter && getter.isReactWarning) return false;
5704
- }
5705
- return void 0 !== config.key;
5706
- }
5707
- function defineKeyPropWarningGetter(props, displayName) {
5708
- function warnAboutAccessingKey() {
5709
- specialPropKeyWarningShown || (specialPropKeyWarningShown = true, console.error(
5710
- "%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://react.dev/link/special-props)",
5711
- displayName
5712
- ));
5713
- }
5714
- warnAboutAccessingKey.isReactWarning = true;
5715
- Object.defineProperty(props, "key", {
5716
- get: warnAboutAccessingKey,
5717
- configurable: true
5718
- });
5719
- }
5720
- function elementRefGetterWithDeprecationWarning() {
5721
- var componentName = getComponentNameFromType(this.type);
5722
- didWarnAboutElementRef[componentName] || (didWarnAboutElementRef[componentName] = true, console.error(
5723
- "Accessing element.ref was removed in React 19. ref is now a regular prop. It will be removed from the JSX Element type in a future release."
5724
- ));
5725
- componentName = this.props.ref;
5726
- return void 0 !== componentName ? componentName : null;
5727
- }
5728
- function ReactElement(type, key, self, source, owner, props, debugStack, debugTask) {
5729
- self = props.ref;
5730
- type = {
5731
- $$typeof: REACT_ELEMENT_TYPE,
5732
- type,
5733
- key,
5734
- props,
5735
- _owner: owner
5736
- };
5737
- null !== (void 0 !== self ? self : null) ? Object.defineProperty(type, "ref", {
5738
- enumerable: false,
5739
- get: elementRefGetterWithDeprecationWarning
5740
- }) : Object.defineProperty(type, "ref", { enumerable: false, value: null });
5741
- type._store = {};
5742
- Object.defineProperty(type._store, "validated", {
5743
- configurable: false,
5744
- enumerable: false,
5745
- writable: true,
5746
- value: 0
5747
- });
5748
- Object.defineProperty(type, "_debugInfo", {
5749
- configurable: false,
5750
- enumerable: false,
5751
- writable: true,
5752
- value: null
5753
- });
5754
- Object.defineProperty(type, "_debugStack", {
5755
- configurable: false,
5756
- enumerable: false,
5757
- writable: true,
5758
- value: debugStack
5759
- });
5760
- Object.defineProperty(type, "_debugTask", {
5761
- configurable: false,
5762
- enumerable: false,
5763
- writable: true,
5764
- value: debugTask
5765
- });
5766
- Object.freeze && (Object.freeze(type.props), Object.freeze(type));
5767
- return type;
5768
- }
5769
- function jsxDEVImpl(type, config, maybeKey, isStaticChildren, source, self, debugStack, debugTask) {
5770
- var children = config.children;
5771
- if (void 0 !== children)
5772
- if (isStaticChildren)
5773
- if (isArrayImpl(children)) {
5774
- for (isStaticChildren = 0; isStaticChildren < children.length; isStaticChildren++)
5775
- validateChildKeys(children[isStaticChildren]);
5776
- Object.freeze && Object.freeze(children);
5777
- } else
5778
- console.error(
5779
- "React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead."
5780
- );
5781
- else validateChildKeys(children);
5782
- if (hasOwnProperty.call(config, "key")) {
5783
- children = getComponentNameFromType(type);
5784
- var keys = Object.keys(config).filter(function(k) {
5785
- return "key" !== k;
5786
- });
5787
- isStaticChildren = 0 < keys.length ? "{key: someKey, " + keys.join(": ..., ") + ": ...}" : "{key: someKey}";
5788
- didWarnAboutKeySpread[children + isStaticChildren] || (keys = 0 < keys.length ? "{" + keys.join(": ..., ") + ": ...}" : "{}", console.error(
5789
- 'A props object containing a "key" prop is being spread into JSX:\n let props = %s;\n <%s {...props} />\nReact keys must be passed directly to JSX without using spread:\n let props = %s;\n <%s key={someKey} {...props} />',
5790
- isStaticChildren,
5791
- children,
5792
- keys,
5793
- children
5794
- ), didWarnAboutKeySpread[children + isStaticChildren] = true);
5795
- }
5796
- children = null;
5797
- void 0 !== maybeKey && (checkKeyStringCoercion(maybeKey), children = "" + maybeKey);
5798
- hasValidKey(config) && (checkKeyStringCoercion(config.key), children = "" + config.key);
5799
- if ("key" in config) {
5800
- maybeKey = {};
5801
- for (var propName in config)
5802
- "key" !== propName && (maybeKey[propName] = config[propName]);
5803
- } else maybeKey = config;
5804
- children && defineKeyPropWarningGetter(
5805
- maybeKey,
5806
- "function" === typeof type ? type.displayName || type.name || "Unknown" : type
5807
- );
5808
- return ReactElement(
5809
- type,
5810
- children,
5811
- self,
5812
- source,
5813
- getOwner(),
5814
- maybeKey,
5815
- debugStack,
5816
- debugTask
5817
- );
5818
- }
5819
- function validateChildKeys(node) {
5820
- "object" === typeof node && null !== node && node.$$typeof === REACT_ELEMENT_TYPE && node._store && (node._store.validated = 1);
5769
+ var disabledDepth = 0;
5770
+ var prevLog;
5771
+ var prevInfo;
5772
+ var prevWarn;
5773
+ var prevError;
5774
+ var prevGroup;
5775
+ var prevGroupCollapsed;
5776
+ var prevGroupEnd;
5777
+ function disabledLog() {
5778
+ }
5779
+ disabledLog.__reactDisabledLog = true;
5780
+ function disableLogs() {
5781
+ {
5782
+ if (disabledDepth === 0) {
5783
+ prevLog = console.log;
5784
+ prevInfo = console.info;
5785
+ prevWarn = console.warn;
5786
+ prevError = console.error;
5787
+ prevGroup = console.group;
5788
+ prevGroupCollapsed = console.groupCollapsed;
5789
+ prevGroupEnd = console.groupEnd;
5790
+ var props = {
5791
+ configurable: true,
5792
+ enumerable: true,
5793
+ value: disabledLog,
5794
+ writable: true
5795
+ };
5796
+ Object.defineProperties(console, {
5797
+ info: props,
5798
+ log: props,
5799
+ warn: props,
5800
+ error: props,
5801
+ group: props,
5802
+ groupCollapsed: props,
5803
+ groupEnd: props
5804
+ });
5805
+ }
5806
+ disabledDepth++;
5807
+ }
5808
+ }
5809
+ function reenableLogs() {
5810
+ {
5811
+ disabledDepth--;
5812
+ if (disabledDepth === 0) {
5813
+ var props = {
5814
+ configurable: true,
5815
+ enumerable: true,
5816
+ writable: true
5817
+ };
5818
+ Object.defineProperties(console, {
5819
+ log: _assign({}, props, {
5820
+ value: prevLog
5821
+ }),
5822
+ info: _assign({}, props, {
5823
+ value: prevInfo
5824
+ }),
5825
+ warn: _assign({}, props, {
5826
+ value: prevWarn
5827
+ }),
5828
+ error: _assign({}, props, {
5829
+ value: prevError
5830
+ }),
5831
+ group: _assign({}, props, {
5832
+ value: prevGroup
5833
+ }),
5834
+ groupCollapsed: _assign({}, props, {
5835
+ value: prevGroupCollapsed
5836
+ }),
5837
+ groupEnd: _assign({}, props, {
5838
+ value: prevGroupEnd
5839
+ })
5840
+ });
5841
+ }
5842
+ if (disabledDepth < 0) {
5843
+ error("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
5844
+ }
5845
+ }
5846
+ }
5847
+ var ReactCurrentDispatcher = ReactSharedInternals.ReactCurrentDispatcher;
5848
+ var prefix;
5849
+ function describeBuiltInComponentFrame(name, source, ownerFn) {
5850
+ {
5851
+ if (prefix === void 0) {
5852
+ try {
5853
+ throw Error();
5854
+ } catch (x) {
5855
+ var match = x.stack.trim().match(/\n( *(at )?)/);
5856
+ prefix = match && match[1] || "";
5857
+ }
5858
+ }
5859
+ return "\n" + prefix + name;
5860
+ }
5861
+ }
5862
+ var reentry = false;
5863
+ var componentFrameCache;
5864
+ {
5865
+ var PossiblyWeakMap = typeof WeakMap === "function" ? WeakMap : Map;
5866
+ componentFrameCache = new PossiblyWeakMap();
5867
+ }
5868
+ function describeNativeComponentFrame(fn, construct) {
5869
+ if (!fn || reentry) {
5870
+ return "";
5871
+ }
5872
+ {
5873
+ var frame = componentFrameCache.get(fn);
5874
+ if (frame !== void 0) {
5875
+ return frame;
5876
+ }
5877
+ }
5878
+ var control;
5879
+ reentry = true;
5880
+ var previousPrepareStackTrace = Error.prepareStackTrace;
5881
+ Error.prepareStackTrace = void 0;
5882
+ var previousDispatcher;
5883
+ {
5884
+ previousDispatcher = ReactCurrentDispatcher.current;
5885
+ ReactCurrentDispatcher.current = null;
5886
+ disableLogs();
5887
+ }
5888
+ try {
5889
+ if (construct) {
5890
+ var Fake = function() {
5891
+ throw Error();
5892
+ };
5893
+ Object.defineProperty(Fake.prototype, "props", {
5894
+ set: function() {
5895
+ throw Error();
5896
+ }
5897
+ });
5898
+ if (typeof Reflect === "object" && Reflect.construct) {
5899
+ try {
5900
+ Reflect.construct(Fake, []);
5901
+ } catch (x) {
5902
+ control = x;
5903
+ }
5904
+ Reflect.construct(fn, [], Fake);
5905
+ } else {
5906
+ try {
5907
+ Fake.call();
5908
+ } catch (x) {
5909
+ control = x;
5910
+ }
5911
+ fn.call(Fake.prototype);
5912
+ }
5913
+ } else {
5914
+ try {
5915
+ throw Error();
5916
+ } catch (x) {
5917
+ control = x;
5918
+ }
5919
+ fn();
5920
+ }
5921
+ } catch (sample) {
5922
+ if (sample && control && typeof sample.stack === "string") {
5923
+ var sampleLines = sample.stack.split("\n");
5924
+ var controlLines = control.stack.split("\n");
5925
+ var s = sampleLines.length - 1;
5926
+ var c = controlLines.length - 1;
5927
+ while (s >= 1 && c >= 0 && sampleLines[s] !== controlLines[c]) {
5928
+ c--;
5929
+ }
5930
+ for (; s >= 1 && c >= 0; s--, c--) {
5931
+ if (sampleLines[s] !== controlLines[c]) {
5932
+ if (s !== 1 || c !== 1) {
5933
+ do {
5934
+ s--;
5935
+ c--;
5936
+ if (c < 0 || sampleLines[s] !== controlLines[c]) {
5937
+ var _frame = "\n" + sampleLines[s].replace(" at new ", " at ");
5938
+ {
5939
+ if (typeof fn === "function") {
5940
+ componentFrameCache.set(fn, _frame);
5941
+ }
5942
+ }
5943
+ return _frame;
5944
+ }
5945
+ } while (s >= 1 && c >= 0);
5946
+ }
5947
+ break;
5948
+ }
5949
+ }
5950
+ }
5951
+ } finally {
5952
+ reentry = false;
5953
+ {
5954
+ ReactCurrentDispatcher.current = previousDispatcher;
5955
+ reenableLogs();
5956
+ }
5957
+ Error.prepareStackTrace = previousPrepareStackTrace;
5958
+ }
5959
+ var name = fn ? fn.displayName || fn.name : "";
5960
+ var syntheticFrame = name ? describeBuiltInComponentFrame(name) : "";
5961
+ {
5962
+ if (typeof fn === "function") {
5963
+ componentFrameCache.set(fn, syntheticFrame);
5964
+ }
5965
+ }
5966
+ return syntheticFrame;
5967
+ }
5968
+ function describeFunctionComponentFrame(fn, source, ownerFn) {
5969
+ {
5970
+ return describeNativeComponentFrame(fn, false);
5971
+ }
5972
+ }
5973
+ function shouldConstruct(Component) {
5974
+ var prototype = Component.prototype;
5975
+ return !!(prototype && prototype.isReactComponent);
5976
+ }
5977
+ function describeUnknownElementTypeFrameInDEV(type, source, ownerFn) {
5978
+ if (type == null) {
5979
+ return "";
5980
+ }
5981
+ if (typeof type === "function") {
5982
+ {
5983
+ return describeNativeComponentFrame(type, shouldConstruct(type));
5984
+ }
5985
+ }
5986
+ if (typeof type === "string") {
5987
+ return describeBuiltInComponentFrame(type);
5988
+ }
5989
+ switch (type) {
5990
+ case REACT_SUSPENSE_TYPE:
5991
+ return describeBuiltInComponentFrame("Suspense");
5992
+ case REACT_SUSPENSE_LIST_TYPE:
5993
+ return describeBuiltInComponentFrame("SuspenseList");
5994
+ }
5995
+ if (typeof type === "object") {
5996
+ switch (type.$$typeof) {
5997
+ case REACT_FORWARD_REF_TYPE:
5998
+ return describeFunctionComponentFrame(type.render);
5999
+ case REACT_MEMO_TYPE:
6000
+ return describeUnknownElementTypeFrameInDEV(type.type, source, ownerFn);
6001
+ case REACT_BLOCK_TYPE:
6002
+ return describeFunctionComponentFrame(type._render);
6003
+ case REACT_LAZY_TYPE: {
6004
+ var lazyComponent = type;
6005
+ var payload = lazyComponent._payload;
6006
+ var init = lazyComponent._init;
6007
+ try {
6008
+ return describeUnknownElementTypeFrameInDEV(init(payload), source, ownerFn);
6009
+ } catch (x) {
6010
+ }
6011
+ }
6012
+ }
6013
+ }
6014
+ return "";
6015
+ }
6016
+ var loggedTypeFailures = {};
6017
+ var ReactDebugCurrentFrame = ReactSharedInternals.ReactDebugCurrentFrame;
6018
+ function setCurrentlyValidatingElement(element) {
6019
+ {
6020
+ if (element) {
6021
+ var owner = element._owner;
6022
+ var stack = describeUnknownElementTypeFrameInDEV(element.type, element._source, owner ? owner.type : null);
6023
+ ReactDebugCurrentFrame.setExtraStackFrame(stack);
6024
+ } else {
6025
+ ReactDebugCurrentFrame.setExtraStackFrame(null);
6026
+ }
6027
+ }
6028
+ }
6029
+ function checkPropTypes(typeSpecs, values, location, componentName, element) {
6030
+ {
6031
+ var has = Function.call.bind(Object.prototype.hasOwnProperty);
6032
+ for (var typeSpecName in typeSpecs) {
6033
+ if (has(typeSpecs, typeSpecName)) {
6034
+ var error$1 = void 0;
6035
+ try {
6036
+ if (typeof typeSpecs[typeSpecName] !== "function") {
6037
+ var err = Error((componentName || "React class") + ": " + location + " type `" + typeSpecName + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof typeSpecs[typeSpecName] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
6038
+ err.name = "Invariant Violation";
6039
+ throw err;
6040
+ }
6041
+ error$1 = typeSpecs[typeSpecName](values, typeSpecName, componentName, location, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
6042
+ } catch (ex) {
6043
+ error$1 = ex;
6044
+ }
6045
+ if (error$1 && !(error$1 instanceof Error)) {
6046
+ setCurrentlyValidatingElement(element);
6047
+ 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);
6048
+ setCurrentlyValidatingElement(null);
6049
+ }
6050
+ if (error$1 instanceof Error && !(error$1.message in loggedTypeFailures)) {
6051
+ loggedTypeFailures[error$1.message] = true;
6052
+ setCurrentlyValidatingElement(element);
6053
+ error("Failed %s type: %s", location, error$1.message);
6054
+ setCurrentlyValidatingElement(null);
6055
+ }
6056
+ }
6057
+ }
6058
+ }
6059
+ }
6060
+ var ReactCurrentOwner = ReactSharedInternals.ReactCurrentOwner;
6061
+ var hasOwnProperty = Object.prototype.hasOwnProperty;
6062
+ var RESERVED_PROPS = {
6063
+ key: true,
6064
+ ref: true,
6065
+ __self: true,
6066
+ __source: true
6067
+ };
6068
+ var specialPropKeyWarningShown;
6069
+ var specialPropRefWarningShown;
6070
+ function hasValidRef(config) {
6071
+ {
6072
+ if (hasOwnProperty.call(config, "ref")) {
6073
+ var getter = Object.getOwnPropertyDescriptor(config, "ref").get;
6074
+ if (getter && getter.isReactWarning) {
6075
+ return false;
6076
+ }
6077
+ }
6078
+ }
6079
+ return config.ref !== void 0;
6080
+ }
6081
+ function hasValidKey(config) {
6082
+ {
6083
+ if (hasOwnProperty.call(config, "key")) {
6084
+ var getter = Object.getOwnPropertyDescriptor(config, "key").get;
6085
+ if (getter && getter.isReactWarning) {
6086
+ return false;
6087
+ }
6088
+ }
6089
+ }
6090
+ return config.key !== void 0;
6091
+ }
6092
+ function warnIfStringRefCannotBeAutoConverted(config, self) {
6093
+ {
6094
+ if (typeof config.ref === "string" && ReactCurrentOwner.current && self) ;
6095
+ }
6096
+ }
6097
+ function defineKeyPropWarningGetter(props, displayName) {
6098
+ {
6099
+ var warnAboutAccessingKey = function() {
6100
+ if (!specialPropKeyWarningShown) {
6101
+ specialPropKeyWarningShown = true;
6102
+ error("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", displayName);
6103
+ }
6104
+ };
6105
+ warnAboutAccessingKey.isReactWarning = true;
6106
+ Object.defineProperty(props, "key", {
6107
+ get: warnAboutAccessingKey,
6108
+ configurable: true
6109
+ });
6110
+ }
6111
+ }
6112
+ function defineRefPropWarningGetter(props, displayName) {
6113
+ {
6114
+ var warnAboutAccessingRef = function() {
6115
+ if (!specialPropRefWarningShown) {
6116
+ specialPropRefWarningShown = true;
6117
+ error("%s: `ref` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", displayName);
6118
+ }
6119
+ };
6120
+ warnAboutAccessingRef.isReactWarning = true;
6121
+ Object.defineProperty(props, "ref", {
6122
+ get: warnAboutAccessingRef,
6123
+ configurable: true
6124
+ });
6125
+ }
6126
+ }
6127
+ var ReactElement = function(type, key, ref, self, source, owner, props) {
6128
+ var element = {
6129
+ // This tag allows us to uniquely identify this as a React Element
6130
+ $$typeof: REACT_ELEMENT_TYPE,
6131
+ // Built-in properties that belong on the element
6132
+ type,
6133
+ key,
6134
+ ref,
6135
+ props,
6136
+ // Record the component responsible for creating this element.
6137
+ _owner: owner
6138
+ };
6139
+ {
6140
+ element._store = {};
6141
+ Object.defineProperty(element._store, "validated", {
6142
+ configurable: false,
6143
+ enumerable: false,
6144
+ writable: true,
6145
+ value: false
6146
+ });
6147
+ Object.defineProperty(element, "_self", {
6148
+ configurable: false,
6149
+ enumerable: false,
6150
+ writable: false,
6151
+ value: self
6152
+ });
6153
+ Object.defineProperty(element, "_source", {
6154
+ configurable: false,
6155
+ enumerable: false,
6156
+ writable: false,
6157
+ value: source
6158
+ });
6159
+ if (Object.freeze) {
6160
+ Object.freeze(element.props);
6161
+ Object.freeze(element);
6162
+ }
6163
+ }
6164
+ return element;
6165
+ };
6166
+ function jsxDEV(type, config, maybeKey, source, self) {
6167
+ {
6168
+ var propName;
6169
+ var props = {};
6170
+ var key = null;
6171
+ var ref = null;
6172
+ if (maybeKey !== void 0) {
6173
+ key = "" + maybeKey;
6174
+ }
6175
+ if (hasValidKey(config)) {
6176
+ key = "" + config.key;
6177
+ }
6178
+ if (hasValidRef(config)) {
6179
+ ref = config.ref;
6180
+ warnIfStringRefCannotBeAutoConverted(config, self);
6181
+ }
6182
+ for (propName in config) {
6183
+ if (hasOwnProperty.call(config, propName) && !RESERVED_PROPS.hasOwnProperty(propName)) {
6184
+ props[propName] = config[propName];
6185
+ }
6186
+ }
6187
+ if (type && type.defaultProps) {
6188
+ var defaultProps = type.defaultProps;
6189
+ for (propName in defaultProps) {
6190
+ if (props[propName] === void 0) {
6191
+ props[propName] = defaultProps[propName];
6192
+ }
6193
+ }
6194
+ }
6195
+ if (key || ref) {
6196
+ var displayName = typeof type === "function" ? type.displayName || type.name || "Unknown" : type;
6197
+ if (key) {
6198
+ defineKeyPropWarningGetter(props, displayName);
6199
+ }
6200
+ if (ref) {
6201
+ defineRefPropWarningGetter(props, displayName);
6202
+ }
6203
+ }
6204
+ return ReactElement(type, key, ref, self, source, ReactCurrentOwner.current, props);
6205
+ }
6206
+ }
6207
+ var ReactCurrentOwner$1 = ReactSharedInternals.ReactCurrentOwner;
6208
+ var ReactDebugCurrentFrame$1 = ReactSharedInternals.ReactDebugCurrentFrame;
6209
+ function setCurrentlyValidatingElement$1(element) {
6210
+ {
6211
+ if (element) {
6212
+ var owner = element._owner;
6213
+ var stack = describeUnknownElementTypeFrameInDEV(element.type, element._source, owner ? owner.type : null);
6214
+ ReactDebugCurrentFrame$1.setExtraStackFrame(stack);
6215
+ } else {
6216
+ ReactDebugCurrentFrame$1.setExtraStackFrame(null);
6217
+ }
6218
+ }
6219
+ }
6220
+ var propTypesMisspellWarningShown;
6221
+ {
6222
+ propTypesMisspellWarningShown = false;
6223
+ }
6224
+ function isValidElement(object) {
6225
+ {
6226
+ return typeof object === "object" && object !== null && object.$$typeof === REACT_ELEMENT_TYPE;
6227
+ }
6228
+ }
6229
+ function getDeclarationErrorAddendum() {
6230
+ {
6231
+ if (ReactCurrentOwner$1.current) {
6232
+ var name = getComponentName(ReactCurrentOwner$1.current.type);
6233
+ if (name) {
6234
+ return "\n\nCheck the render method of `" + name + "`.";
6235
+ }
6236
+ }
6237
+ return "";
6238
+ }
6239
+ }
6240
+ function getSourceInfoErrorAddendum(source) {
6241
+ {
6242
+ return "";
6243
+ }
6244
+ }
6245
+ var ownerHasKeyUseWarning = {};
6246
+ function getCurrentComponentErrorInfo(parentType) {
6247
+ {
6248
+ var info = getDeclarationErrorAddendum();
6249
+ if (!info) {
6250
+ var parentName = typeof parentType === "string" ? parentType : parentType.displayName || parentType.name;
6251
+ if (parentName) {
6252
+ info = "\n\nCheck the top-level render call using <" + parentName + ">.";
6253
+ }
6254
+ }
6255
+ return info;
6256
+ }
6257
+ }
6258
+ function validateExplicitKey(element, parentType) {
6259
+ {
6260
+ if (!element._store || element._store.validated || element.key != null) {
6261
+ return;
6262
+ }
6263
+ element._store.validated = true;
6264
+ var currentComponentErrorInfo = getCurrentComponentErrorInfo(parentType);
6265
+ if (ownerHasKeyUseWarning[currentComponentErrorInfo]) {
6266
+ return;
6267
+ }
6268
+ ownerHasKeyUseWarning[currentComponentErrorInfo] = true;
6269
+ var childOwner = "";
6270
+ if (element && element._owner && element._owner !== ReactCurrentOwner$1.current) {
6271
+ childOwner = " It was passed a child from " + getComponentName(element._owner.type) + ".";
6272
+ }
6273
+ setCurrentlyValidatingElement$1(element);
6274
+ 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);
6275
+ setCurrentlyValidatingElement$1(null);
6276
+ }
6277
+ }
6278
+ function validateChildKeys(node, parentType) {
6279
+ {
6280
+ if (typeof node !== "object") {
6281
+ return;
6282
+ }
6283
+ if (Array.isArray(node)) {
6284
+ for (var i = 0; i < node.length; i++) {
6285
+ var child = node[i];
6286
+ if (isValidElement(child)) {
6287
+ validateExplicitKey(child, parentType);
6288
+ }
6289
+ }
6290
+ } else if (isValidElement(node)) {
6291
+ if (node._store) {
6292
+ node._store.validated = true;
6293
+ }
6294
+ } else if (node) {
6295
+ var iteratorFn = getIteratorFn(node);
6296
+ if (typeof iteratorFn === "function") {
6297
+ if (iteratorFn !== node.entries) {
6298
+ var iterator = iteratorFn.call(node);
6299
+ var step;
6300
+ while (!(step = iterator.next()).done) {
6301
+ if (isValidElement(step.value)) {
6302
+ validateExplicitKey(step.value, parentType);
6303
+ }
6304
+ }
6305
+ }
6306
+ }
6307
+ }
6308
+ }
6309
+ }
6310
+ function validatePropTypes(element) {
6311
+ {
6312
+ var type = element.type;
6313
+ if (type === null || type === void 0 || typeof type === "string") {
6314
+ return;
6315
+ }
6316
+ var propTypes;
6317
+ if (typeof type === "function") {
6318
+ propTypes = type.propTypes;
6319
+ } else if (typeof type === "object" && (type.$$typeof === REACT_FORWARD_REF_TYPE || // Note: Memo only checks outer props here.
6320
+ // Inner props are checked in the reconciler.
6321
+ type.$$typeof === REACT_MEMO_TYPE)) {
6322
+ propTypes = type.propTypes;
6323
+ } else {
6324
+ return;
6325
+ }
6326
+ if (propTypes) {
6327
+ var name = getComponentName(type);
6328
+ checkPropTypes(propTypes, element.props, "prop", name, element);
6329
+ } else if (type.PropTypes !== void 0 && !propTypesMisspellWarningShown) {
6330
+ propTypesMisspellWarningShown = true;
6331
+ var _name = getComponentName(type);
6332
+ error("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", _name || "Unknown");
6333
+ }
6334
+ if (typeof type.getDefaultProps === "function" && !type.getDefaultProps.isReactClassApproved) {
6335
+ error("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.");
6336
+ }
6337
+ }
6338
+ }
6339
+ function validateFragmentProps(fragment) {
6340
+ {
6341
+ var keys = Object.keys(fragment.props);
6342
+ for (var i = 0; i < keys.length; i++) {
6343
+ var key = keys[i];
6344
+ if (key !== "children" && key !== "key") {
6345
+ setCurrentlyValidatingElement$1(fragment);
6346
+ error("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", key);
6347
+ setCurrentlyValidatingElement$1(null);
6348
+ break;
6349
+ }
6350
+ }
6351
+ if (fragment.ref !== null) {
6352
+ setCurrentlyValidatingElement$1(fragment);
6353
+ error("Invalid attribute `ref` supplied to `React.Fragment`.");
6354
+ setCurrentlyValidatingElement$1(null);
6355
+ }
6356
+ }
6357
+ }
6358
+ function jsxWithValidation(type, props, key, isStaticChildren, source, self) {
6359
+ {
6360
+ var validType = isValidElementType(type);
6361
+ if (!validType) {
6362
+ var info = "";
6363
+ if (type === void 0 || typeof type === "object" && type !== null && Object.keys(type).length === 0) {
6364
+ info += " You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.";
6365
+ }
6366
+ var sourceInfo = getSourceInfoErrorAddendum();
6367
+ if (sourceInfo) {
6368
+ info += sourceInfo;
6369
+ } else {
6370
+ info += getDeclarationErrorAddendum();
6371
+ }
6372
+ var typeString;
6373
+ if (type === null) {
6374
+ typeString = "null";
6375
+ } else if (Array.isArray(type)) {
6376
+ typeString = "array";
6377
+ } else if (type !== void 0 && type.$$typeof === REACT_ELEMENT_TYPE) {
6378
+ typeString = "<" + (getComponentName(type.type) || "Unknown") + " />";
6379
+ info = " Did you accidentally export a JSX literal instead of a component?";
6380
+ } else {
6381
+ typeString = typeof type;
6382
+ }
6383
+ error("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", typeString, info);
6384
+ }
6385
+ var element = jsxDEV(type, props, key, source, self);
6386
+ if (element == null) {
6387
+ return element;
6388
+ }
6389
+ if (validType) {
6390
+ var children = props.children;
6391
+ if (children !== void 0) {
6392
+ if (isStaticChildren) {
6393
+ if (Array.isArray(children)) {
6394
+ for (var i = 0; i < children.length; i++) {
6395
+ validateChildKeys(children[i], type);
6396
+ }
6397
+ if (Object.freeze) {
6398
+ Object.freeze(children);
6399
+ }
6400
+ } else {
6401
+ error("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");
6402
+ }
6403
+ } else {
6404
+ validateChildKeys(children, type);
6405
+ }
6406
+ }
6407
+ }
6408
+ if (type === exports.Fragment) {
6409
+ validateFragmentProps(element);
6410
+ } else {
6411
+ validatePropTypes(element);
6412
+ }
6413
+ return element;
6414
+ }
6415
+ }
6416
+ function jsxWithValidationStatic(type, props, key) {
6417
+ {
6418
+ return jsxWithValidation(type, props, key, true);
6419
+ }
6420
+ }
6421
+ function jsxWithValidationDynamic(type, props, key) {
6422
+ {
6423
+ return jsxWithValidation(type, props, key, false);
6424
+ }
6425
+ }
6426
+ var jsx = jsxWithValidationDynamic;
6427
+ var jsxs = jsxWithValidationStatic;
6428
+ exports.jsx = jsx;
6429
+ exports.jsxs = jsxs;
6430
+ })();
5821
6431
  }
5822
- var React$1 = React, REACT_ELEMENT_TYPE = Symbol.for("react.transitional.element"), REACT_PORTAL_TYPE = Symbol.for("react.portal"), REACT_FRAGMENT_TYPE = Symbol.for("react.fragment"), REACT_STRICT_MODE_TYPE = Symbol.for("react.strict_mode"), REACT_PROFILER_TYPE = Symbol.for("react.profiler");
5823
- var REACT_CONSUMER_TYPE = Symbol.for("react.consumer"), REACT_CONTEXT_TYPE = Symbol.for("react.context"), REACT_FORWARD_REF_TYPE = Symbol.for("react.forward_ref"), REACT_SUSPENSE_TYPE = Symbol.for("react.suspense"), REACT_SUSPENSE_LIST_TYPE = Symbol.for("react.suspense_list"), REACT_MEMO_TYPE = Symbol.for("react.memo"), REACT_LAZY_TYPE = Symbol.for("react.lazy"), REACT_ACTIVITY_TYPE = Symbol.for("react.activity"), REACT_CLIENT_REFERENCE = Symbol.for("react.client.reference"), ReactSharedInternals = React$1.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE, hasOwnProperty = Object.prototype.hasOwnProperty, isArrayImpl = Array.isArray, createTask = console.createTask ? console.createTask : function() {
5824
- return null;
5825
- };
5826
- React$1 = {
5827
- "react-stack-bottom-frame": function(callStackForError) {
5828
- return callStackForError();
5829
- }
5830
- };
5831
- var specialPropKeyWarningShown;
5832
- var didWarnAboutElementRef = {};
5833
- var unknownOwnerDebugStack = React$1["react-stack-bottom-frame"].bind(
5834
- React$1,
5835
- UnknownOwner
5836
- )();
5837
- var unknownOwnerDebugTask = createTask(getTaskName(UnknownOwner));
5838
- var didWarnAboutKeySpread = {};
5839
- reactJsxRuntime_development.Fragment = REACT_FRAGMENT_TYPE;
5840
- reactJsxRuntime_development.jsx = function(type, config, maybeKey, source, self) {
5841
- var trackActualOwner = 1e4 > ReactSharedInternals.recentlyCreatedOwnerStacks++;
5842
- return jsxDEVImpl(
5843
- type,
5844
- config,
5845
- maybeKey,
5846
- false,
5847
- source,
5848
- self,
5849
- trackActualOwner ? Error("react-stack-top-frame") : unknownOwnerDebugStack,
5850
- trackActualOwner ? createTask(getTaskName(type)) : unknownOwnerDebugTask
5851
- );
5852
- };
5853
- reactJsxRuntime_development.jsxs = function(type, config, maybeKey, source, self) {
5854
- var trackActualOwner = 1e4 > ReactSharedInternals.recentlyCreatedOwnerStacks++;
5855
- return jsxDEVImpl(
5856
- type,
5857
- config,
5858
- maybeKey,
5859
- true,
5860
- source,
5861
- self,
5862
- trackActualOwner ? Error("react-stack-top-frame") : unknownOwnerDebugStack,
5863
- trackActualOwner ? createTask(getTaskName(type)) : unknownOwnerDebugTask
5864
- );
5865
- };
5866
- }();
6432
+ })(reactJsxRuntime_development);
5867
6433
  return reactJsxRuntime_development;
5868
6434
  }
5869
6435
  var hasRequiredJsxRuntime;
@@ -5871,7 +6437,7 @@ function requireJsxRuntime() {
5871
6437
  if (hasRequiredJsxRuntime) return jsxRuntime.exports;
5872
6438
  hasRequiredJsxRuntime = 1;
5873
6439
  if (process.env.NODE_ENV === "production") {
5874
- jsxRuntime.exports = requireReactJsxRuntime_production();
6440
+ jsxRuntime.exports = requireReactJsxRuntime_production_min();
5875
6441
  } else {
5876
6442
  jsxRuntime.exports = requireReactJsxRuntime_development();
5877
6443
  }
@@ -5881,7 +6447,7 @@ var jsxRuntimeExports = requireJsxRuntime();
5881
6447
  function reactNodeToHTMLElement(node) {
5882
6448
  const container = document.createElement("div");
5883
6449
  flushSync(() => {
5884
- render(/* @__PURE__ */ jsxRuntimeExports.jsx(jsxRuntimeExports.Fragment, { children: node }), container);
6450
+ render(node, container);
5885
6451
  });
5886
6452
  return container;
5887
6453
  }