UNPKG

seti-ramesesv1

Version:

Reusable components and context for Next.js apps

144 lines (139 loc) 5.82 kB
import { __exports as reactIs_development } from '../../../_virtual/react-is.development2.js'; /** * @license React * react-is.development.js * * Copyright (c) Meta Platforms, Inc. and affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ var hasRequiredReactIs_development; function requireReactIs_development () { if (hasRequiredReactIs_development) return reactIs_development; hasRequiredReactIs_development = 1; "production" !== process.env.NODE_ENV && (function () { function typeOf(object) { if ("object" === typeof object && null !== object) { var $$typeof = object.$$typeof; switch ($$typeof) { case REACT_ELEMENT_TYPE: switch (((object = object.type), object)) { case REACT_FRAGMENT_TYPE: case REACT_PROFILER_TYPE: case REACT_STRICT_MODE_TYPE: case REACT_SUSPENSE_TYPE: case REACT_SUSPENSE_LIST_TYPE: case REACT_VIEW_TRANSITION_TYPE: return object; default: switch (((object = object && object.$$typeof), object)) { case REACT_CONTEXT_TYPE: case REACT_FORWARD_REF_TYPE: case REACT_LAZY_TYPE: case REACT_MEMO_TYPE: return object; case REACT_CONSUMER_TYPE: return object; default: return $$typeof; } } case REACT_PORTAL_TYPE: return $$typeof; } } } var 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"); 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_VIEW_TRANSITION_TYPE = Symbol.for("react.view_transition"), REACT_CLIENT_REFERENCE = Symbol.for("react.client.reference"); reactIs_development.ContextConsumer = REACT_CONSUMER_TYPE; reactIs_development.ContextProvider = REACT_CONTEXT_TYPE; reactIs_development.Element = REACT_ELEMENT_TYPE; reactIs_development.ForwardRef = REACT_FORWARD_REF_TYPE; reactIs_development.Fragment = REACT_FRAGMENT_TYPE; reactIs_development.Lazy = REACT_LAZY_TYPE; reactIs_development.Memo = REACT_MEMO_TYPE; reactIs_development.Portal = REACT_PORTAL_TYPE; reactIs_development.Profiler = REACT_PROFILER_TYPE; reactIs_development.StrictMode = REACT_STRICT_MODE_TYPE; reactIs_development.Suspense = REACT_SUSPENSE_TYPE; reactIs_development.SuspenseList = REACT_SUSPENSE_LIST_TYPE; reactIs_development.isContextConsumer = function (object) { return typeOf(object) === REACT_CONSUMER_TYPE; }; reactIs_development.isContextProvider = function (object) { return typeOf(object) === REACT_CONTEXT_TYPE; }; reactIs_development.isElement = function (object) { return ( "object" === typeof object && null !== object && object.$$typeof === REACT_ELEMENT_TYPE ); }; reactIs_development.isForwardRef = function (object) { return typeOf(object) === REACT_FORWARD_REF_TYPE; }; reactIs_development.isFragment = function (object) { return typeOf(object) === REACT_FRAGMENT_TYPE; }; reactIs_development.isLazy = function (object) { return typeOf(object) === REACT_LAZY_TYPE; }; reactIs_development.isMemo = function (object) { return typeOf(object) === REACT_MEMO_TYPE; }; reactIs_development.isPortal = function (object) { return typeOf(object) === REACT_PORTAL_TYPE; }; reactIs_development.isProfiler = function (object) { return typeOf(object) === REACT_PROFILER_TYPE; }; reactIs_development.isStrictMode = function (object) { return typeOf(object) === REACT_STRICT_MODE_TYPE; }; reactIs_development.isSuspense = function (object) { return typeOf(object) === REACT_SUSPENSE_TYPE; }; reactIs_development.isSuspenseList = function (object) { return typeOf(object) === REACT_SUSPENSE_LIST_TYPE; }; reactIs_development.isValidElementType = function (type) { return "string" === typeof type || "function" === typeof type || type === REACT_FRAGMENT_TYPE || type === REACT_PROFILER_TYPE || type === REACT_STRICT_MODE_TYPE || type === REACT_SUSPENSE_TYPE || type === REACT_SUSPENSE_LIST_TYPE || ("object" === typeof type && null !== type && (type.$$typeof === REACT_LAZY_TYPE || type.$$typeof === REACT_MEMO_TYPE || type.$$typeof === REACT_CONTEXT_TYPE || type.$$typeof === REACT_CONSUMER_TYPE || type.$$typeof === REACT_FORWARD_REF_TYPE || type.$$typeof === REACT_CLIENT_REFERENCE || void 0 !== type.getModuleId)) ? true : false; }; reactIs_development.typeOf = typeOf; })(); return reactIs_development; } export { requireReactIs_development as __require }; //# sourceMappingURL=react-is.development.js.map