GoScrobble/web/node_modules/.cache/babel-loader/3ac5cb3f70efd6a99726f81f4230ffdf.json

1 line
2.5 MiB
JSON
Raw Permalink Normal View History

2022-04-25 02:47:15 +00:00
{"ast":null,"code":"/** @license React v17.0.2\n * react-dom.development.js\n *\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n'use strict';\n\nif (process.env.NODE_ENV !== \"production\") {\n (function () {\n 'use strict';\n\n var React = require('react');\n\n var _assign = require('object-assign');\n\n var Scheduler = require('scheduler');\n\n var tracing = require('scheduler/tracing');\n\n var ReactSharedInternals = React.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED; // by calls to these methods by a Babel plugin.\n //\n // In PROD (or in packages without access to React internals),\n // they are left as they are instead.\n\n function warn(format) {\n {\n for (var _len = arguments.length, args = new Array(_len > 1 ? _len - 1 : 0), _key = 1; _key < _len; _key++) {\n args[_key - 1] = arguments[_key];\n }\n\n printWarning('warn', format, args);\n }\n }\n\n function error(format) {\n {\n for (var _len2 = arguments.length, args = new Array(_len2 > 1 ? _len2 - 1 : 0), _key2 = 1; _key2 < _len2; _key2++) {\n args[_key2 - 1] = arguments[_key2];\n }\n\n printWarning('error', format, args);\n }\n }\n\n function printWarning(level, format, args) {\n // When changing this logic, you might want to also\n // update consoleWithStackDev.www.js as well.\n {\n var ReactDebugCurrentFrame = ReactSharedInternals.ReactDebugCurrentFrame;\n var stack = ReactDebugCurrentFrame.getStackAddendum();\n\n if (stack !== '') {\n format += '%s';\n args = args.concat([stack]);\n }\n\n var argsWithFormat = args.map(function (item) {\n return '' + item;\n }); // Careful: RN currently depends on this prefix\n\n argsWithFormat.unshift('Warning: ' + format); // We intentionally don't use spread (or .apply) directly because it\n // breaks IE9: https://github.com/facebook/react/issues/13610\n // eslint-disable-next-line react-internal/no-production-logging\n\n Function.prototype.apply.call(console[level], console, argsWithFormat);\n }\n }\n\n if (!React) {\n {\n throw Error(\"ReactDOM was loaded before React. Make sure you load the React package before loading ReactDOM.\");\n }\n }\n\n var FunctionComponent = 0;\n var ClassComponent = 1;\n var IndeterminateComponent = 2; // Before we know whether it is function or class\n\n var HostRoot = 3; // Root of a host tree. Could be nested inside another node.\n\n var HostPortal = 4; // A subtree. Could be an entry point to a different renderer.\n\n var HostComponent = 5;\n var HostText = 6;\n var Fragment = 7;\n var Mode = 8;\n var ContextConsumer = 9;\n var ContextProvider = 10;\n var ForwardRef = 11;\n var Profiler = 12;\n var SuspenseComponent = 13;\n var MemoComponent = 14;\n var SimpleMemoComponent = 15;\n var LazyComponent = 16;\n var IncompleteClassComponent = 17;\n var DehydratedFragment = 18;\n var SuspenseListComponent = 19;\n var FundamentalComponent = 20;\n var ScopeComponent = 21;\n var Block = 22;\n var OffscreenComponent = 23;\n var LegacyHiddenComponent = 24; // Filter certain DOM attributes (e.g. src, href) if their values are empty strings.\n\n var enableProfilerTimer = true; // Record durations for commit and passive effects phases.\n\n var enableFundamentalAPI = false; // Experimental Scope support.\n\n var enableNewReconciler = false; // Errors that are thrown while unmounting (or after in the case of passive effects)\n\n var warnAboutStringRefs = false;\n var allNativeEvents = new Set();\n /**\n * Mapping from registration name to event name\n */\n\n var registrationNameDependencies = {};\n /**\n * Mapping from lowercase registration names to the properly cased version,\n *