1 | {"version":3,"file":"index.js","sources":["../../taro-utils/src/shallow-equal.js","../../taro-utils/src/simple-map.js","../../taro-utils/src/index.js","../src/next-tick.js","../node_modules/react-is/cjs/react-is.production.min.js","../node_modules/react-is/cjs/react-is.development.js","../node_modules/react-is/index.js","../node_modules/object-assign/index.js","../node_modules/prop-types/lib/ReactPropTypesSecret.js","../node_modules/prop-types/checkPropTypes.js","../node_modules/prop-types/factoryWithTypeCheckers.js","../node_modules/prop-types/factoryWithThrowingShims.js","../node_modules/prop-types/index.js","../node_modules/lodash/_freeGlobal.js","../node_modules/lodash/_root.js","../node_modules/lodash/_Symbol.js","../node_modules/lodash/_getRawTag.js","../node_modules/lodash/_objectToString.js","../node_modules/lodash/_baseGetTag.js","../node_modules/lodash/_overArg.js","../node_modules/lodash/_getPrototype.js","../node_modules/lodash/isObjectLike.js","../node_modules/lodash/isPlainObject.js","../src/util.js","../src/data-cache.js","../src/propsManager.js","../src/create-component.js","../src/lifecycle.js","../src/render-queue.js","../src/component.js","../src/pure-component.js","../src/create-app.js","../src/native-api.js","../src/index.js"],"sourcesContent":["/* eslint-disable */\nconst objectIs = Object.is || function (x, y) {\n if (x === y) {\n return x !== 0 || 1 / x === 1 / y\n }\n return x !== x && y !== y\n}\n\nexport default function shallowEqual (obj1, obj2) {\n if (typeof obj1 !== 'object' && typeof obj2 !== 'object') {\n return obj1 === obj2\n }\n\n if (obj1 === null && obj2 === null) {\n return true\n }\n if (obj1 === null || obj2 === null) {\n return false\n }\n if (objectIs(obj1, obj2)) {\n return true\n }\n const obj1Keys = obj1 ? Object.keys(obj1) : []\n const obj2Keys = obj2 ? Object.keys(obj2) : []\n if (obj1Keys.length !== obj2Keys.length) {\n return false\n }\n\n for (let i = 0; i < obj1Keys.length; i++) {\n const obj1KeyItem = obj1Keys[i]\n if (!obj2.hasOwnProperty(obj1KeyItem) || !objectIs(obj1[obj1KeyItem], obj2[obj1KeyItem])) {\n return false\n }\n }\n\n return true\n}\n","export default class SimpleMap {\n constructor () {\n this.cache = []\n this.size = 0\n }\n\n set (k, v) {\n const len = this.cache.length\n if (!len) {\n this.cache.push({ k, v })\n this.size += 1\n return\n }\n for (let i = 0; i < len; i++) {\n const item = this.cache[i]\n if (item.k === k) {\n item.v = v\n return\n }\n }\n this.cache.push({ k, v })\n this.size += 1\n }\n\n get (k) {\n const len = this.cache.length\n if (!len) {\n return\n }\n for (let i = 0; i < len; i++) {\n const item = this.cache[i]\n if (item.k === k) {\n return item.v\n }\n }\n }\n\n has (k) {\n const len = this.cache.length\n if (!len) {\n return false\n }\n for (let i = 0; i < len; i++) {\n const item = this.cache[i]\n if (item.k === k) {\n return true\n }\n }\n return false\n }\n\n delete (k) {\n const len = this.cache.length\n for (let i = 0; i < len; i++) {\n const item = this.cache[i]\n if (item.k === k) {\n this.cache.splice(i, 1)\n this.size -= 1\n return true\n }\n }\n return false\n }\n\n clear () {\n let len = this.cache.length\n this.size = 0\n if (!len) {\n return\n }\n while (len) {\n this.cache.pop()\n len--\n }\n }\n}\n","import shallowEqual from './shallow-equal'\nimport SimpleMap from './simple-map'\n\nfunction addLeadingSlash (path) {\n return path.charAt(0) === '/' ? path : '/' + path\n}\n\nfunction getCurrentPageUrl () {\n const pages = getCurrentPages()\n const currentPage = pages[pages.length - 1]\n return addLeadingSlash(currentPage.route || currentPage.__route__)\n}\n\nexport default {\n shallowEqual,\n getCurrentPageUrl,\n SimpleMap\n}\n\nexport {\n shallowEqual,\n getCurrentPageUrl,\n SimpleMap\n}\n","const nextTick = (fn, ...args) => {\n fn = typeof fn === 'function' ? fn.bind(null, ...args) : fn\n const timerFunc = wx.nextTick ? wx.nextTick : setTimeout\n timerFunc(fn)\n}\n\nexport default nextTick\n","/** @license React v16.13.1\n * react-is.production.min.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\n'use strict';var b=\"function\"===typeof Symbol&&Symbol.for,c=b?Symbol.for(\"react.element\"):60103,d=b?Symbol.for(\"react.portal\"):60106,e=b?Symbol.for(\"react.fragment\"):60107,f=b?Symbol.for(\"react.strict_mode\"):60108,g=b?Symbol.for(\"react.profiler\"):60114,h=b?Symbol.for(\"react.provider\"):60109,k=b?Symbol.for(\"react.context\"):60110,l=b?Symbol.for(\"react.async_mode\"):60111,m=b?Symbol.for(\"react.concurrent_mode\"):60111,n=b?Symbol.for(\"react.forward_ref\"):60112,p=b?Symbol.for(\"react.suspense\"):60113,q=b?\nSymbol.for(\"react.suspense_list\"):60120,r=b?Symbol.for(\"react.memo\"):60115,t=b?Symbol.for(\"react.lazy\"):60116,v=b?Symbol.for(\"react.block\"):60121,w=b?Symbol.for(\"react.fundamental\"):60117,x=b?Symbol.for(\"react.responder\"):60118,y=b?Symbol.for(\"react.scope\"):60119;\nfunction z(a){if(\"object\"===typeof a&&null!==a){var u=a.$$typeof;switch(u){case c:switch(a=a.type,a){case l:case m:case e:case g:case f:case p:return a;default:switch(a=a&&a.$$typeof,a){case k:case n:case t:case r:case h:return a;default:return u}}case d:return u}}}function A(a){return z(a)===m}exports.AsyncMode=l;exports.ConcurrentMode=m;exports.ContextConsumer=k;exports.ContextProvider=h;exports.Element=c;exports.ForwardRef=n;exports.Fragment=e;exports.Lazy=t;exports.Memo=r;exports.Portal=d;\nexports.Profiler=g;exports.StrictMode=f;exports.Suspense=p;exports.isAsyncMode=function(a){return A(a)||z(a)===l};exports.isConcurrentMode=A;exports.isContextConsumer=function(a){return z(a)===k};exports.isContextProvider=function(a){return z(a)===h};exports.isElement=function(a){return\"object\"===typeof a&&null!==a&&a.$$typeof===c};exports.isForwardRef=function(a){return z(a)===n};exports.isFragment=function(a){return z(a)===e};exports.isLazy=function(a){return z(a)===t};\nexports.isMemo=function(a){return z(a)===r};exports.isPortal=function(a){return z(a)===d};exports.isProfiler=function(a){return z(a)===g};exports.isStrictMode=function(a){return z(a)===f};exports.isSuspense=function(a){return z(a)===p};\nexports.isValidElementType=function(a){return\"string\"===typeof a||\"function\"===typeof a||a===e||a===m||a===g||a===f||a===p||a===q||\"object\"===typeof a&&null!==a&&(a.$$typeof===t||a.$$typeof===r||a.$$typeof===h||a.$$typeof===k||a.$$typeof===n||a.$$typeof===w||a.$$typeof===x||a.$$typeof===y||a.$$typeof===v)};exports.typeOf=z;\n","/** @license React v16.13.1\n * react-is.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\n'use strict';\n\n\n\nif (process.env.NODE_ENV !== \"production\") {\n (function() {\n'use strict';\n\n// The Symbol used to tag the ReactElement-like types. If there is no native Symbol\n// nor polyfill, then a plain number is used for performance.\nvar hasSymbol = typeof Symbol === 'function' && Symbol.for;\nvar REACT_ELEMENT_TYPE = hasSymbol ? Symbol.for('react.element') : 0xeac7;\nvar REACT_PORTAL_TYPE = hasSymbol ? Symbol.for('react.portal') : 0xeaca;\nvar REACT_FRAGMENT_TYPE = hasSymbol ? Symbol.for('react.fragment') : 0xeacb;\nvar REACT_STRICT_MODE_TYPE = hasSymbol ? Symbol.for('react.strict_mode') : 0xeacc;\nvar REACT_PROFILER_TYPE = hasSymbol ? Symbol.for('react.profiler') : 0xead2;\nvar REACT_PROVIDER_TYPE = hasSymbol ? Symbol.for('react.provider') : 0xeacd;\nvar REACT_CONTEXT_TYPE = hasSymbol ? Symbol.for('react.context') : 0xeace; // TODO: We don't use AsyncMode or ConcurrentMode anymore. They were temporary\n// (unstable) APIs that have been removed. Can we remove the symbols?\n\nvar REACT_ASYNC_MODE_TYPE = hasSymbol ? Symbol.for('react.async_mode') : 0xeacf;\nvar REACT_CONCURRENT_MODE_TYPE = hasSymbol ? Symbol.for('react.concurrent_mode') : 0xeacf;\nvar REACT_FORWARD_REF_TYPE = hasSymbol ? Symbol.for('react.forward_ref') : 0xead0;\nvar REACT_SUSPENSE_TYPE = hasSymbol ? Symbol.for('react.suspense') : 0xead1;\nvar REACT_SUSPENSE_LIST_TYPE = hasSymbol ? Symbol.for('react.suspense_list') : 0xead8;\nvar REACT_MEMO_TYPE = hasSymbol ? Symbol.for('react.memo') : 0xead3;\nvar REACT_LAZY_TYPE = hasSymbol ? Symbol.for('react.lazy') : 0xead4;\nvar REACT_BLOCK_TYPE = hasSymbol ? Symbol.for('react.block') : 0xead9;\nvar REACT_FUNDAMENTAL_TYPE = hasSymbol ? Symbol.for('react.fundamental') : 0xead5;\nvar REACT_RESPONDER_TYPE = hasSymbol ? Symbol.for('react.responder') : 0xead6;\nvar REACT_SCOPE_TYPE = hasSymbol ? Symbol.for('react.scope') : 0xead7;\n\nfunction isValidElementType(type) {\n return typeof type === 'string' || typeof type === 'function' || // Note: its typeof might be other than 'symbol' or 'number' if it's a polyfill.\n type === REACT_FRAGMENT_TYPE || type === REACT_CONCURRENT_MODE_TYPE || type === REACT_PROFILER_TYPE || type === REACT_STRICT_MODE_TYPE || type === REACT_SUSPENSE_TYPE || type === REACT_SUSPENSE_LIST_TYPE || typeof type === 'object' && type !== null && (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_RESPONDER_TYPE || type.$$typeof === REACT_SCOPE_TYPE || type.$$typeof === REACT_BLOCK_TYPE);\n}\n\nfunction typeOf(object) {\n if (typeof object === 'object' && object !== null) {\n var $$typeof = object.$$typeof;\n\n switch ($$typeof) {\n case REACT_ELEMENT_TYPE:\n var type = object.type;\n\n switch (type) {\n case REACT_ASYNC_MODE_TYPE:\n case REACT_CONCURRENT_MODE_TYPE:\n case REACT_FRAGMENT_TYPE:\n case REACT_PROFILER_TYPE:\n case REACT_STRICT_MODE_TYPE:\n case REACT_SUSPENSE_TYPE:\n return type;\n\n default:\n var $$typeofType = type && type.$$typeof;\n\n switch ($$typeofType) {\n case REACT_CONTEXT_TYPE:\n case REACT_FORWARD_REF_TYPE:\n case REACT_LAZY_TYPE:\n case REACT_MEMO_TYPE:\n case REACT_PROVIDER_TYPE:\n return $$typeofType;\n\n default:\n return $$typeof;\n }\n\n }\n\n case REACT_PORTAL_TYPE:\n return $$typeof;\n }\n }\n\n return undefined;\n} // AsyncMode is deprecated along with isAsyncMode\n\nvar AsyncMode = REACT_ASYNC_MODE_TYPE;\nvar ConcurrentMode = REACT_CONCURRENT_MODE_TYPE;\nvar ContextConsumer = REACT_CONTEXT_TYPE;\nvar ContextProvider = REACT_PROVIDER_TYPE;\nvar Element = REACT_ELEMENT_TYPE;\nvar ForwardRef = REACT_FORWARD_REF_TYPE;\nvar Fragment = REACT_FRAGMENT_TYPE;\nvar Lazy = REACT_LAZY_TYPE;\nvar Memo = REACT_MEMO_TYPE;\nvar Portal = REACT_PORTAL_TYPE;\nvar Profiler = REACT_PROFILER_TYPE;\nvar StrictMode = REACT_STRICT_MODE_TYPE;\nvar Suspense = REACT_SUSPENSE_TYPE;\nvar hasWarnedAboutDeprecatedIsAsyncMode = false; // AsyncMode should be deprecated\n\nfunction isAsyncMode(object) {\n {\n if (!hasWarnedAboutDeprecatedIsAsyncMode) {\n hasWarnedAboutDeprecatedIsAsyncMode = true; // Using console['warn'] to evade Babel and ESLint\n\n console['warn']('The ReactIs.isAsyncMode() alias has been deprecated, ' + 'and will be removed in React 17+. Update your code to use ' + 'ReactIs.isConcurrentMode() instead. It has the exact same API.');\n }\n }\n\n return isConcurrentMode(object) || typeOf(object) === REACT_ASYNC_MODE_TYPE;\n}\nfunction isConcurrentMode(object) {\n return typeOf(object) === REACT_CONCURRENT_MODE_TYPE;\n}\nfunction isContextConsumer(object) {\n return typeOf(object) === REACT_CONTEXT_TYPE;\n}\nfunction isContextProvider(object) {\n return typeOf(object) === REACT_PROVIDER_TYPE;\n}\nfunction isElement(object) {\n return typeof object === 'object' && object !== null && object.$$typeof === REACT_ELEMENT_TYPE;\n}\nfunction isForwardRef(object) {\n return typeOf(object) === REACT_FORWARD_REF_TYPE;\n}\nfunction isFragment(object) {\n return typeOf(object) === REACT_FRAGMENT_TYPE;\n}\nfunction isLazy(object) {\n return typeOf(object) === REACT_LAZY_TYPE;\n}\nfunction isMemo(object) {\n return typeOf(object) === REACT_MEMO_TYPE;\n}\nfunction isPortal(object) {\n return typeOf(object) === REACT_PORTAL_TYPE;\n}\nfunction isProfiler(object) {\n return typeOf(object) === REACT_PROFILER_TYPE;\n}\nfunction isStrictMode(object) {\n return typeOf(object) === REACT_STRICT_MODE_TYPE;\n}\nfunction isSuspense(object) {\n return typeOf(object) === REACT_SUSPENSE_TYPE;\n}\n\nexports.AsyncMode = AsyncMode;\nexports.ConcurrentMode = ConcurrentMode;\nexports.ContextConsumer = ContextConsumer;\nexports.ContextProvider = ContextProvider;\nexports.Element = Element;\nexports.ForwardRef = ForwardRef;\nexports.Fragment = Fragment;\nexports.Lazy = Lazy;\nexports.Memo = Memo;\nexports.Portal = Portal;\nexports.Profiler = Profiler;\nexports.StrictMode = StrictMode;\nexports.Suspense = Suspense;\nexports.isAsyncMode = isAsyncMode;\nexports.isConcurrentMode = isConcurrentMode;\nexports.isContextConsumer = isContextConsumer;\nexports.isContextProvider = isContextProvider;\nexports.isElement = isElement;\nexports.isForwardRef = isForwardRef;\nexports.isFragment = isFragment;\nexports.isLazy = isLazy;\nexports.isMemo = isMemo;\nexports.isPortal = isPortal;\nexports.isProfiler = isProfiler;\nexports.isStrictMode = isStrictMode;\nexports.isSuspense = isSuspense;\nexports.isValidElementType = isValidElementType;\nexports.typeOf = typeOf;\n })();\n}\n","'use strict';\n\nif (process.env.NODE_ENV === 'production') {\n module.exports = require('./cjs/react-is.production.min.js');\n} else {\n module.exports = require('./cjs/react-is.development.js');\n}\n","/*\nobject-assign\n(c) Sindre Sorhus\n@license MIT\n*/\n\n'use strict';\n/* eslint-disable no-unused-vars */\nvar getOwnPropertySymbols = Object.getOwnPropertySymbols;\nvar hasOwnProperty = Object.prototype.hasOwnProperty;\nvar propIsEnumerable = Object.prototype.propertyIsEnumerable;\n\nfunction toObject(val) {\n\tif (val === null || val === undefined) {\n\t\tthrow new TypeError('Object.assign cannot be called with null or undefined');\n\t}\n\n\treturn Object(val);\n}\n\nfunction shouldUseNative() {\n\ttry {\n\t\tif (!Object.assign) {\n\t\t\treturn false;\n\t\t}\n\n\t\t// Detect buggy property enumeration order in older V8 versions.\n\n\t\t// https://bugs.chromium.org/p/v8/issues/detail?id=4118\n\t\tvar test1 = new String('abc'); // eslint-disable-line no-new-wrappers\n\t\ttest1[5] = 'de';\n\t\tif (Object.getOwnPropertyNames(test1)[0] === '5') {\n\t\t\treturn false;\n\t\t}\n\n\t\t// https://bugs.chromium.org/p/v8/issues/detail?id=3056\n\t\tvar test2 = {};\n\t\tfor (var i = 0; i < 10; i++) {\n\t\t\ttest2['_' + String.fromCharCode(i)] = i;\n\t\t}\n\t\tvar order2 = Object.getOwnPropertyNames(test2).map(function (n) {\n\t\t\treturn test2[n];\n\t\t});\n\t\tif (order2.join('') !== '0123456789') {\n\t\t\treturn false;\n\t\t}\n\n\t\t// https://bugs.chromium.org/p/v8/issues/detail?id=3056\n\t\tvar test3 = {};\n\t\t'abcdefghijklmnopqrst'.split('').forEach(function (letter) {\n\t\t\ttest3[letter] = letter;\n\t\t});\n\t\tif (Object.keys(Object.assign({}, test3)).join('') !==\n\t\t\t\t'abcdefghijklmnopqrst') {\n\t\t\treturn false;\n\t\t}\n\n\t\treturn true;\n\t} catch (err) {\n\t\t// We don't expect any of the above to throw, but better to be safe.\n\t\treturn false;\n\t}\n}\n\nmodule.exports = shouldUseNative() ? Object.assign : function (target, source) {\n\tvar from;\n\tvar to = toObject(target);\n\tvar symbols;\n\n\tfor (var s = 1; s < arguments.length; s++) {\n\t\tfrom = Object(arguments[s]);\n\n\t\tfor (var key in from) {\n\t\t\tif (hasOwnProperty.call(from, key)) {\n\t\t\t\tto[key] = from[key];\n\t\t\t}\n\t\t}\n\n\t\tif (getOwnPropertySymbols) {\n\t\t\tsymbols = getOwnPropertySymbols(from);\n\t\t\tfor (var i = 0; i < symbols.length; i++) {\n\t\t\t\tif (propIsEnumerable.call(from, symbols[i])) {\n\t\t\t\t\tto[symbols[i]] = from[symbols[i]];\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}\n\n\treturn to;\n};\n","/**\n * Copyright (c) 2013-present, Facebook, Inc.\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\n'use strict';\n\nvar ReactPropTypesSecret = 'SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED';\n\nmodule.exports = ReactPropTypesSecret;\n","/**\n * Copyright (c) 2013-present, Facebook, Inc.\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\n'use strict';\n\nvar printWarning = function() {};\n\nif (process.env.NODE_ENV !== 'production') {\n var ReactPropTypesSecret = require('./lib/ReactPropTypesSecret');\n var loggedTypeFailures = {};\n var has = Function.call.bind(Object.prototype.hasOwnProperty);\n\n printWarning = function(text) {\n var message = 'Warning: ' + text;\n if (typeof console !== 'undefined') {\n console.error(message);\n }\n try {\n // --- Welcome to debugging React ---\n // This error was thrown as a convenience so that you can use this stack\n // to find the callsite that caused this warning to fire.\n throw new Error(message);\n } catch (x) {}\n };\n}\n\n/**\n * Assert that the values match with the type specs.\n * Error messages are memorized and will only be shown once.\n *\n * @param {object} typeSpecs Map of name to a ReactPropType\n * @param {object} values Runtime values that need to be type-checked\n * @param {string} location e.g. \"prop\", \"context\", \"child context\"\n * @param {string} componentName Name of the component for error messages.\n * @param {?Function} getStack Returns the component stack.\n * @private\n */\nfunction checkPropTypes(typeSpecs, values, location, componentName, getStack) {\n if (process.env.NODE_ENV !== 'production') {\n for (var typeSpecName in typeSpecs) {\n if (has(typeSpecs, typeSpecName)) {\n var error;\n // Prop type validation may throw. In case they do, we don't want to\n // fail the render phase where it didn't fail before. So we log it.\n // After these have been cleaned up, we'll let them throw.\n try {\n // This is intentionally an invariant that gets caught. It's the same\n // behavior as without this statement except with a better message.\n if (typeof typeSpecs[typeSpecName] !== 'function') {\n var err = Error(\n (componentName || 'React class') + ': ' + location + ' type `' + typeSpecName + '` is invalid; ' +\n 'it must be a function, usually from the `prop-types` package, but received `' + typeof typeSpecs[typeSpecName] + '`.'\n );\n err.name = 'Invariant Violation';\n throw err;\n }\n error = typeSpecs[typeSpecName](values, typeSpecName, componentName, location, null, ReactPropTypesSecret);\n } catch (ex) {\n error = ex;\n }\n if (error && !(error instanceof Error)) {\n printWarning(\n (componentName || 'React class') + ': type specification of ' +\n location + ' `' + typeSpecName + '` is invalid; the type checker ' +\n 'function must return `null` or an `Error` but returned a ' + typeof error + '. ' +\n 'You may have forgotten to pass an argument to the type checker ' +\n 'creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and ' +\n 'shape all require an argument).'\n );\n }\n if (error instanceof Error && !(error.message in loggedTypeFailures)) {\n // Only monitor this failure once because there tends to be a lot of the\n // same error.\n loggedTypeFailures[error.message] = true;\n\n var stack = getStack ? getStack() : '';\n\n printWarning(\n 'Failed ' + location + ' type: ' + error.message + (stack != null ? stack : '')\n );\n }\n }\n }\n }\n}\n\n/**\n * Resets warning cache when testing.\n *\n * @private\n */\ncheckPropTypes.resetWarningCache = function() {\n if (process.env.NODE_ENV !== 'production') {\n loggedTypeFailures = {};\n }\n}\n\nmodule.exports = checkPropTypes;\n","/**\n * Copyright (c) 2013-present, Facebook, Inc.\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\n'use strict';\n\nvar ReactIs = require('react-is');\nvar assign = require('object-assign');\n\nvar ReactPropTypesSecret = require('./lib/ReactPropTypesSecret');\nvar checkPropTypes = require('./checkPropTypes');\n\nvar has = Function.call.bind(Object.prototype.hasOwnProperty);\nvar printWarning = function() {};\n\nif (process.env.NODE_ENV !== 'production') {\n printWarning = function(text) {\n var message = 'Warning: ' + text;\n if (typeof console !== 'undefined') {\n console.error(message);\n }\n try {\n // --- Welcome to debugging React ---\n // This error was thrown as a convenience so that you can use this stack\n // to find the callsite that caused this warning to fire.\n throw new Error(message);\n } catch (x) {}\n };\n}\n\nfunction emptyFunctionThatReturnsNull() {\n return null;\n}\n\nmodule.exports = function(isValidElement, throwOnDirectAccess) {\n /* global Symbol */\n var ITERATOR_SYMBOL = typeof Symbol === 'function' && Symbol.iterator;\n var FAUX_ITERATOR_SYMBOL = '@@iterator'; // Before Symbol spec.\n\n /**\n * Returns the iterator method function contained on the iterable object.\n *\n * Be sure to invoke the function with the iterable as context:\n *\n * var iteratorFn = getIteratorFn(myIterable);\n * if (iteratorFn) {\n * var iterator = iteratorFn.call(myIterable);\n * ...\n * }\n *\n * @param {?object} maybeIterable\n * @return {?function}\n */\n function getIteratorFn(maybeIterable) {\n var iteratorFn = maybeIterable && (ITERATOR_SYMBOL && maybeIterable[ITERATOR_SYMBOL] || maybeIterable[FAUX_ITERATOR_SYMBOL]);\n if (typeof iteratorFn === 'function') {\n return iteratorFn;\n }\n }\n\n /**\n * Collection of methods that allow declaration and validation of props that are\n * supplied to React components. Example usage:\n *\n * var Props = require('ReactPropTypes');\n * var MyArticle = React.createClass({\n * propTypes: {\n * // An optional string prop named \"description\".\n * description: Props.string,\n *\n * // A required enum prop named \"category\".\n * category: Props.oneOf(['News','Photos']).isRequired,\n *\n * // A prop named \"dialog\" that requires an instance of Dialog.\n * dialog: Props.instanceOf(Dialog).isRequired\n * },\n * render: function() { ... }\n * });\n *\n * A more formal specification of how these methods are used:\n *\n * type := array|bool|func|object|number|string|oneOf([...])|instanceOf(...)\n * decl := ReactPropTypes.{type}(.isRequired)?\n *\n * Each and every declaration produces a function with the same signature. This\n * allows the creation of custom validation functions. For example:\n *\n * var MyLink = React.createClass({\n * propTypes: {\n * // An optional string or URI prop named \"href\".\n * href: function(props, propName, componentName) {\n * var propValue = props[propName];\n * if (propValue != null && typeof propValue !== 'string' &&\n * !(propValue instanceof URI)) {\n * return new Error(\n * 'Expected a string or an URI for ' + propName + ' in ' +\n * componentName\n * );\n * }\n * }\n * },\n * render: function() {...}\n * });\n *\n * @internal\n */\n\n var ANONYMOUS = '<<anonymous>>';\n\n // Important!\n // Keep this list in sync with production version in `./factoryWithThrowingShims.js`.\n var ReactPropTypes = {\n array: createPrimitiveTypeChecker('array'),\n bool: createPrimitiveTypeChecker('boolean'),\n func: createPrimitiveTypeChecker('function'),\n number: createPrimitiveTypeChecker('number'),\n object: createPrimitiveTypeChecker('object'),\n string: createPrimitiveTypeChecker('string'),\n symbol: createPrimitiveTypeChecker('symbol'),\n\n any: createAnyTypeChecker(),\n arrayOf: createArrayOfTypeChecker,\n element: createElementTypeChecker(),\n elementType: createElementTypeTypeChecker(),\n instanceOf: createInstanceTypeChecker,\n node: createNodeChecker(),\n objectOf: createObjectOfTypeChecker,\n oneOf: createEnumTypeChecker,\n oneOfType: createUnionTypeChecker,\n shape: createShapeTypeChecker,\n exact: createStrictShapeTypeChecker,\n };\n\n /**\n * inlined Object.is polyfill to avoid requiring consumers ship their own\n * https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object/is\n */\n /*eslint-disable no-self-compare*/\n function is(x, y) {\n // SameValue algorithm\n if (x === y) {\n // Steps 1-5, 7-10\n // Steps 6.b-6.e: +0 != -0\n return x !== 0 || 1 / x === 1 / y;\n } else {\n // Step 6.a: NaN == NaN\n return x !== x && y !== y;\n }\n }\n /*eslint-enable no-self-compare*/\n\n /**\n * We use an Error-like object for backward compatibility as people may call\n * PropTypes directly and inspect their output. However, we don't use real\n * Errors anymore. We don't inspect their stack anyway, and creating them\n * is prohibitively expensive if they are created too often, such as what\n * happens in oneOfType() for any type before the one that matched.\n */\n function PropTypeError(message) {\n this.message = message;\n this.stack = '';\n }\n // Make `instanceof Error` still work for returned errors.\n PropTypeError.prototype = Error.prototype;\n\n function createChainableTypeChecker(validate) {\n if (process.env.NODE_ENV !== 'production') {\n var manualPropTypeCallCache = {};\n var manualPropTypeWarningCount = 0;\n }\n function checkType(isRequired, props, propName, componentName, location, propFullName, secret) {\n componentName = componentName || ANONYMOUS;\n propFullName = propFullName || propName;\n\n if (secret !== ReactPropTypesSecret) {\n if (throwOnDirectAccess) {\n // New behavior only for users of `prop-types` package\n var err = new Error(\n 'Calling PropTypes validators directly is not supported by the `prop-types` package. ' +\n 'Use `PropTypes.checkPropTypes()` to call them. ' +\n 'Read more at http://fb.me/use-check-prop-types'\n );\n err.name = 'Invariant Violation';\n throw err;\n } else if (process.env.NODE_ENV !== 'production' && typeof console !== 'undefined') {\n // Old behavior for people using React.PropTypes\n var cacheKey = componentName + ':' + propName;\n if (\n !manualPropTypeCallCache[cacheKey] &&\n // Avoid spamming the console because they are often not actionable except for lib authors\n manualPropTypeWarningCount < 3\n ) {\n printWarning(\n 'You are manually calling a React.PropTypes validation ' +\n 'function for the `' + propFullName + '` prop on `' + componentName + '`. This is deprecated ' +\n 'and will throw in the standalone `prop-types` package. ' +\n 'You may be seeing this warning due to a third-party PropTypes ' +\n 'library. See https://fb.me/react-warning-dont-call-proptypes ' + 'for details.'\n );\n manualPropTypeCallCache[cacheKey] = true;\n manualPropTypeWarningCount++;\n }\n }\n }\n if (props[propName] == null) {\n if (isRequired) {\n if (props[propName] === null) {\n return new PropTypeError('The ' + location + ' `' + propFullName + '` is marked as required ' + ('in `' + componentName + '`, but its value is `null`.'));\n }\n return new PropTypeError('The ' + location + ' `' + propFullName + '` is marked as required in ' + ('`' + componentName + '`, but its value is `undefined`.'));\n }\n return null;\n } else {\n return validate(props, propName, componentName, location, propFullName);\n }\n }\n\n var chainedCheckType = checkType.bind(null, false);\n chainedCheckType.isRequired = checkType.bind(null, true);\n\n return chainedCheckType;\n }\n\n function createPrimitiveTypeChecker(expectedType) {\n function validate(props, propName, componentName, location, propFullName, secret) {\n var propValue = props[propName];\n var propType = getPropType(propValue);\n if (propType !== expectedType) {\n // `propValue` being instance of, say, date/regexp, pass the 'object'\n // check, but we can offer a more precise error message here rather than\n // 'of type `object`'.\n var preciseType = getPreciseType(propValue);\n\n return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` of type ' + ('`' + preciseType + '` supplied to `' + componentName + '`, expected ') + ('`' + expectedType + '`.'));\n }\n return null;\n }\n return createChainableTypeChecker(validate);\n }\n\n function createAnyTypeChecker() {\n return createChainableTypeChecker(emptyFunctionThatReturnsNull);\n }\n\n function createArrayOfTypeChecker(typeChecker) {\n function validate(props, propName, componentName, location, propFullName) {\n if (typeof typeChecker !== 'function') {\n return new PropTypeError('Property `' + propFullName + '` of component `' + componentName + '` has invalid PropType notation inside arrayOf.');\n }\n var propValue = props[propName];\n if (!Array.isArray(propValue)) {\n var propType = getPropType(propValue);\n return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` of type ' + ('`' + propType + '` supplied to `' + componentName + '`, expected an array.'));\n }\n for (var i = 0; i < propValue.length; i++) {\n var error = typeChecker(propValue, i, componentName, location, propFullName + '[' + i + ']', ReactPropTypesSecret);\n if (error instanceof Error) {\n return error;\n }\n }\n return null;\n }\n return createChainableTypeChecker(validate);\n }\n\n function createElementTypeChecker() {\n function validate(props, propName, componentName, location, propFullName) {\n var propValue = props[propName];\n if (!isValidElement(propValue)) {\n var propType = getPropType(propValue);\n return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` of type ' + ('`' + propType + '` supplied to `' + componentName + '`, expected a single ReactElement.'));\n }\n return null;\n }\n return createChainableTypeChecker(validate);\n }\n\n function createElementTypeTypeChecker() {\n function validate(props, propName, componentName, location, propFullName) {\n var propValue = props[propName];\n if (!ReactIs.isValidElementType(propValue)) {\n var propType = getPropType(propValue);\n return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` of type ' + ('`' + propType + '` supplied to `' + componentName + '`, expected a single ReactElement type.'));\n }\n return null;\n }\n return createChainableTypeChecker(validate);\n }\n\n function createInstanceTypeChecker(expectedClass) {\n function validate(props, propName, componentName, location, propFullName) {\n if (!(props[propName] instanceof expectedClass)) {\n var expectedClassName = expectedClass.name || ANONYMOUS;\n var actualClassName = getClassName(props[propName]);\n return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` of type ' + ('`' + actualClassName + '` supplied to `' + componentName + '`, expected ') + ('instance of `' + expectedClassName + '`.'));\n }\n return null;\n }\n return createChainableTypeChecker(validate);\n }\n\n function createEnumTypeChecker(expectedValues) {\n if (!Array.isArray(expectedValues)) {\n if (process.env.NODE_ENV !== 'production') {\n if (arguments.length > 1) {\n printWarning(\n 'Invalid arguments supplied to oneOf, expected an array, got ' + arguments.length + ' arguments. ' +\n 'A common mistake is to write oneOf(x, y, z) instead of oneOf([x, y, z]).'\n );\n } else {\n printWarning('Invalid argument supplied to oneOf, expected an array.');\n }\n }\n return emptyFunctionThatReturnsNull;\n }\n\n function validate(props, propName, componentName, location, propFullName) {\n var propValue = props[propName];\n for (var i = 0; i < expectedValues.length; i++) {\n if (is(propValue, expectedValues[i])) {\n return null;\n }\n }\n\n var valuesString = JSON.stringify(expectedValues, function replacer(key, value) {\n var type = getPreciseType(value);\n if (type === 'symbol') {\n return String(value);\n }\n return value;\n });\n return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` of value `' + String(propValue) + '` ' + ('supplied to `' + componentName + '`, expected one of ' + valuesString + '.'));\n }\n return createChainableTypeChecker(validate);\n }\n\n function createObjectOfTypeChecker(typeChecker) {\n function validate(props, propName, componentName, location, propFullName) {\n if (typeof typeChecker !== 'function') {\n return new PropTypeError('Property `' + propFullName + '` of component `' + componentName + '` has invalid PropType notation inside objectOf.');\n }\n var propValue = props[propName];\n var propType = getPropType(propValue);\n if (propType !== 'object') {\n return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` of type ' + ('`' + propType + '` supplied to `' + componentName + '`, expected an object.'));\n }\n for (var key in propValue) {\n if (has(propValue, key)) {\n var error = typeChecker(propValue, key, componentName, location, propFullName + '.' + key, ReactPropTypesSecret);\n if (error instanceof Error) {\n return error;\n }\n }\n }\n return null;\n }\n return createChainableTypeChecker(validate);\n }\n\n function createUnionTypeChecker(arrayOfTypeCheckers) {\n if (!Array.isArray(arrayOfTypeCheckers)) {\n process.env.NODE_ENV !== 'production' ? printWarning('Invalid argument supplied to oneOfType, expected an instance of array.') : void 0;\n return emptyFunctionThatReturnsNull;\n }\n\n for (var i = 0; i < arrayOfTypeCheckers.length; i++) {\n var checker = arrayOfTypeCheckers[i];\n if (typeof checker !== 'function') {\n printWarning(\n 'Invalid argument supplied to oneOfType. Expected an array of check functions, but ' +\n 'received ' + getPostfixForTypeWarning(checker) + ' at index ' + i + '.'\n );\n return emptyFunctionThatReturnsNull;\n }\n }\n\n function validate(props, propName, componentName, location, propFullName) {\n for (var i = 0; i < arrayOfTypeCheckers.length; i++) {\n var checker = arrayOfTypeCheckers[i];\n if (checker(props, propName, componentName, location, propFullName, ReactPropTypesSecret) == null) {\n return null;\n }\n }\n\n return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` supplied to ' + ('`' + componentName + '`.'));\n }\n return createChainableTypeChecker(validate);\n }\n\n function createNodeChecker() {\n function validate(props, propName, componentName, location, propFullName) {\n if (!isNode(props[propName])) {\n return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` supplied to ' + ('`' + componentName + '`, expected a ReactNode.'));\n }\n return null;\n }\n return createChainableTypeChecker(validate);\n }\n\n function createShapeTypeChecker(shapeTypes) {\n function validate(props, propName, componentName, location, propFullName) {\n var propValue = props[propName];\n var propType = getPropType(propValue);\n if (propType !== 'object') {\n return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` of type `' + propType + '` ' + ('supplied to `' + componentName + '`, expected `object`.'));\n }\n for (var key in shapeTypes) {\n var checker = shapeTypes[key];\n if (!checker) {\n continue;\n }\n var error = checker(propValue, key, componentName, location, propFullName + '.' + key, ReactPropTypesSecret);\n if (error) {\n return error;\n }\n }\n return null;\n }\n return createChainableTypeChecker(validate);\n }\n\n function createStrictShapeTypeChecker(shapeTypes) {\n function validate(props, propName, componentName, location, propFullName) {\n var propValue = props[propName];\n var propType = getPropType(propValue);\n if (propType !== 'object') {\n return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` of type `' + propType + '` ' + ('supplied to `' + componentName + '`, expected `object`.'));\n }\n // We need to check all keys in case some are required but missing from\n // props.\n var allKeys = assign({}, props[propName], shapeTypes);\n for (var key in allKeys) {\n var checker = shapeTypes[key];\n if (!checker) {\n return new PropTypeError(\n 'Invalid ' + location + ' `' + propFullName + '` key `' + key + '` supplied to `' + componentName + '`.' +\n '\\nBad object: ' + JSON.stringify(props[propName], null, ' ') +\n '\\nValid keys: ' + JSON.stringify(Object.keys(shapeTypes), null, ' ')\n );\n }\n var error = checker(propValue, key, componentName, location, propFullName + '.' + key, ReactPropTypesSecret);\n if (error) {\n return error;\n }\n }\n return null;\n }\n\n return createChainableTypeChecker(validate);\n }\n\n function isNode(propValue) {\n switch (typeof propValue) {\n case 'number':\n case 'string':\n case 'undefined':\n return true;\n case 'boolean':\n return !propValue;\n case 'object':\n if (Array.isArray(propValue)) {\n return propValue.every(isNode);\n }\n if (propValue === null || isValidElement(propValue)) {\n return true;\n }\n\n var iteratorFn = getIteratorFn(propValue);\n if (iteratorFn) {\n var iterator = iteratorFn.call(propValue);\n var step;\n if (iteratorFn !== propValue.entries) {\n while (!(step = iterator.next()).done) {\n if (!isNode(step.value)) {\n return false;\n }\n }\n } else {\n // Iterator will provide entry [k,v] tuples rather than values.\n while (!(step = iterator.next()).done) {\n var entry = step.value;\n if (entry) {\n if (!isNode(entry[1])) {\n return false;\n }\n }\n }\n }\n } else {\n return false;\n }\n\n return true;\n default:\n return false;\n }\n }\n\n function isSymbol(propType, propValue) {\n // Native Symbol.\n if (propType === 'symbol') {\n return true;\n }\n\n // falsy value can't be a Symbol\n if (!propValue) {\n return false;\n }\n\n // 19.4.3.5 Symbol.prototype[@@toStringTag] === 'Symbol'\n if (propValue['@@toStringTag'] === 'Symbol') {\n return true;\n }\n\n // Fallback for non-spec compliant Symbols which are polyfilled.\n if (typeof Symbol === 'function' && propValue instanceof Symbol) {\n return true;\n }\n\n return false;\n }\n\n // Equivalent of `typeof` but with special handling for array and regexp.\n function getPropType(propValue) {\n var propType = typeof propValue;\n if (Array.isArray(propValue)) {\n return 'array';\n }\n if (propValue instanceof RegExp) {\n // Old webkits (at least until Android 4.0) return 'function' rather than\n // 'object' for typeof a RegExp. We'll normalize this here so that /bla/\n // passes PropTypes.object.\n return 'object';\n }\n if (isSymbol(propType, propValue)) {\n return 'symbol';\n }\n return propType;\n }\n\n // This handles more types than `getPropType`. Only used for error messages.\n // See `createPrimitiveTypeChecker`.\n function getPreciseType(propValue) {\n if (typeof propValue === 'undefined' || propValue === null) {\n return '' + propValue;\n }\n var propType = getPropType(propValue);\n if (propType === 'object') {\n if (propValue instanceof Date) {\n return 'date';\n } else if (propValue instanceof RegExp) {\n return 'regexp';\n }\n }\n return propType;\n }\n\n // Returns a string that is postfixed to a warning about an invalid type.\n // For example, \"undefined\" or \"of type array\"\n function getPostfixForTypeWarning(value) {\n var type = getPreciseType(value);\n switch (type) {\n case 'array':\n case 'object':\n return 'an ' + type;\n case 'boolean':\n case 'date':\n case 'regexp':\n return 'a ' + type;\n default:\n return type;\n }\n }\n\n // Returns class name of the object, if any.\n function getClassName(propValue) {\n if (!propValue.constructor || !propValue.constructor.name) {\n return ANONYMOUS;\n }\n return propValue.constructor.name;\n }\n\n ReactPropTypes.checkPropTypes = checkPropTypes;\n ReactPropTypes.resetWarningCache = checkPropTypes.resetWarningCache;\n ReactPropTypes.PropTypes = ReactPropTypes;\n\n return ReactPropTypes;\n};\n","/**\n * Copyright (c) 2013-present, Facebook, Inc.\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\n'use strict';\n\nvar ReactPropTypesSecret = require('./lib/ReactPropTypesSecret');\n\nfunction emptyFunction() {}\nfunction emptyFunctionWithReset() {}\nemptyFunctionWithReset.resetWarningCache = emptyFunction;\n\nmodule.exports = function() {\n function shim(props, propName, componentName, location, propFullName, secret) {\n if (secret === ReactPropTypesSecret) {\n // It is still safe when called from React.\n return;\n }\n var err = new Error(\n 'Calling PropTypes validators directly is not supported by the `prop-types` package. ' +\n 'Use PropTypes.checkPropTypes() to call them. ' +\n 'Read more at http://fb.me/use-check-prop-types'\n );\n err.name = 'Invariant Violation';\n throw err;\n };\n shim.isRequired = shim;\n function getShim() {\n return shim;\n };\n // Important!\n // Keep this list in sync with production version in `./factoryWithTypeCheckers.js`.\n var ReactPropTypes = {\n array: shim,\n bool: shim,\n func: shim,\n number: shim,\n object: shim,\n string: shim,\n symbol: shim,\n\n any: shim,\n arrayOf: getShim,\n element: shim,\n elementType: shim,\n instanceOf: getShim,\n node: shim,\n objectOf: getShim,\n oneOf: getShim,\n oneOfType: getShim,\n shape: getShim,\n exact: getShim,\n\n checkPropTypes: emptyFunctionWithReset,\n resetWarningCache: emptyFunction\n };\n\n ReactPropTypes.PropTypes = ReactPropTypes;\n\n return ReactPropTypes;\n};\n","/**\n * Copyright (c) 2013-present, Facebook, Inc.\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\nif (process.env.NODE_ENV !== 'production') {\n var ReactIs = require('react-is');\n\n // By explicitly using `prop-types` you are opting into new development behavior.\n // http://fb.me/prop-types-in-prod\n var throwOnDirectAccess = true;\n module.exports = require('./factoryWithTypeCheckers')(ReactIs.isElement, throwOnDirectAccess);\n} else {\n // By explicitly using `prop-types` you are opting into new production behavior.\n // http://fb.me/prop-types-in-prod\n module.exports = require('./factoryWithThrowingShims')();\n}\n","/** Detect free variable `global` from Node.js. */\nvar freeGlobal = typeof global == 'object' && global && global.Object === Object && global;\n\nmodule.exports = freeGlobal;\n","var freeGlobal = require('./_freeGlobal');\n\n/** Detect free variable `self`. */\nvar freeSelf = typeof self == 'object' && self && self.Object === Object && self;\n\n/** Used as a reference to the global object. */\nvar root = freeGlobal || freeSelf || Function('return this')();\n\nmodule.exports = root;\n","var root = require('./_root');\n\n/** Built-in value references. */\nvar Symbol = root.Symbol;\n\nmodule.exports = Symbol;\n","var Symbol = require('./_Symbol');\n\n/** Used for built-in method references. */\nvar objectProto = Object.prototype;\n\n/** Used to check objects for own properties. */\nvar hasOwnProperty = objectProto.hasOwnProperty;\n\n/**\n * Used to resolve the\n * [`toStringTag`](http://ecma-international.org/ecma-262/7.0/#sec-object.prototype.tostring)\n * of values.\n */\nvar nativeObjectToString = objectProto.toString;\n\n/** Built-in value references. */\nvar symToStringTag = Symbol ? Symbol.toStringTag : undefined;\n\n/**\n * A specialized version of `baseGetTag` which ignores `Symbol.toStringTag` values.\n *\n * @private\n * @param {*} value The value to query.\n * @returns {string} Returns the raw `toStringTag`.\n */\nfunction getRawTag(value) {\n var isOwn = hasOwnProperty.call(value, symToStringTag),\n tag = value[symToStringTag];\n\n try {\n value[symToStringTag] = undefined;\n var unmasked = true;\n } catch (e) {}\n\n var result = nativeObjectToString.call(value);\n if (unmasked) {\n if (isOwn) {\n value[symToStringTag] = tag;\n } else {\n delete value[symToStringTag];\n }\n }\n return result;\n}\n\nmodule.exports = getRawTag;\n","/** Used for built-in method references. */\nvar objectProto = Object.prototype;\n\n/**\n * Used to resolve the\n * [`toStringTag`](http://ecma-international.org/ecma-262/7.0/#sec-object.prototype.tostring)\n * of values.\n */\nvar nativeObjectToString = objectProto.toString;\n\n/**\n * Converts `value` to a string using `Object.prototype.toString`.\n *\n * @private\n * @param {*} value The value to convert.\n * @returns {string} Returns the converted string.\n */\nfunction objectToString(value) {\n return nativeObjectToString.call(value);\n}\n\nmodule.exports = objectToString;\n","var Symbol = require('./_Symbol'),\n getRawTag = require('./_getRawTag'),\n objectToString = require('./_objectToString');\n\n/** `Object#toString` result references. */\nvar nullTag = '[object Null]',\n undefinedTag = '[object Undefined]';\n\n/** Built-in value references. */\nvar symToStringTag = Symbol ? Symbol.toStringTag : undefined;\n\n/**\n * The base implementation of `getTag` without fallbacks for buggy environments.\n *\n * @private\n * @param {*} value The value to query.\n * @returns {string} Returns the `toStringTag`.\n */\nfunction baseGetTag(value) {\n if (value == null) {\n return value === undefined ? undefinedTag : nullTag;\n }\n return (symToStringTag && symToStringTag in Object(value))\n ? getRawTag(value)\n : objectToString(value);\n}\n\nmodule.exports = baseGetTag;\n","/**\n * Creates a unary function that invokes `func` with its argument transformed.\n *\n * @private\n * @param {Function} func The function to wrap.\n * @param {Function} transform The argument transform.\n * @returns {Function} Returns the new function.\n */\nfunction overArg(func, transform) {\n return function(arg) {\n return func(transform(arg));\n };\n}\n\nmodule.exports = overArg;\n","var overArg = require('./_overArg');\n\n/** Built-in value references. */\nvar getPrototype = overArg(Object.getPrototypeOf, Object);\n\nmodule.exports = getPrototype;\n","/**\n * Checks if `value` is object-like. A value is object-like if it's not `null`\n * and has a `typeof` result of \"object\".\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is object-like, else `false`.\n * @example\n *\n * _.isObjectLike({});\n * // => true\n *\n * _.isObjectLike([1, 2, 3]);\n * // => true\n *\n * _.isObjectLike(_.noop);\n * // => false\n *\n * _.isObjectLike(null);\n * // => false\n */\nfunction isObjectLike(value) {\n return value != null && typeof value == 'object';\n}\n\nmodule.exports = isObjectLike;\n","var baseGetTag = require('./_baseGetTag'),\n getPrototype = require('./_getPrototype'),\n isObjectLike = require('./isObjectLike');\n\n/** `Object#toString` result references. */\nvar objectTag = '[object Object]';\n\n/** Used for built-in method references. */\nvar funcProto = Function.prototype,\n objectProto = Object.prototype;\n\n/** Used to resolve the decompiled source of functions. */\nvar funcToString = funcProto.toString;\n\n/** Used to check objects for own properties. */\nvar hasOwnProperty = objectProto.hasOwnProperty;\n\n/** Used to infer the `Object` constructor. */\nvar objectCtorString = funcToString.call(Object);\n\n/**\n * Checks if `value` is a plain object, that is, an object created by the\n * `Object` constructor or one with a `[[Prototype]]` of `null`.\n *\n * @static\n * @memberOf _\n * @since 0.8.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a plain object, else `false`.\n * @example\n *\n * function Foo() {\n * this.a = 1;\n * }\n *\n * _.isPlainObject(new Foo);\n * // => false\n *\n * _.isPlainObject([1, 2, 3]);\n * // => false\n *\n * _.isPlainObject({ 'x': 0, 'y': 0 });\n * // => true\n *\n * _.isPlainObject(Object.create(null));\n * // => true\n */\nfunction isPlainObject(value) {\n if (!isObjectLike(value) || baseGetTag(value) != objectTag) {\n return false;\n }\n var proto = getPrototype(value);\n if (proto === null) {\n return true;\n }\n var Ctor = hasOwnProperty.call(proto, 'constructor') && proto.constructor;\n return typeof Ctor == 'function' && Ctor instanceof Ctor &&\n funcToString.call(Ctor) == objectCtorString;\n}\n\nmodule.exports = isPlainObject;\n","import isPlainObject from 'lodash/isPlainObject'\nimport { Current } from '@tarojs/taro'\nimport { SimpleMap } from '@tarojs/utils'\n\nexport function isEmptyObject (obj) {\n if (!obj || !isPlainObject(obj)) {\n return false\n }\n for (const n in obj) {\n if (obj.hasOwnProperty(n)) {\n return false\n }\n }\n return true\n}\n\nexport function isUndefined (o) {\n return o === undefined\n}\n\nexport function isNullOrUndef (o) {\n return isUndefined(o) || o === null\n}\n\n/**\n * JSON 克隆\n * @param {Object | Json} jsonObj json对象\n * @return {Object | Json} 新的json对象\n */\nexport function objClone (jsonObj) {\n let buf\n if (Array.isArray(jsonObj)) {\n buf = []\n let i = jsonObj.length\n while (i--) {\n buf[i] = objClone(jsonObj[i])\n }\n return buf\n } else if (isPlainObject(jsonObj)) {\n buf = {}\n for (const k in jsonObj) {\n buf[k] = objClone(jsonObj[k])\n }\n return buf\n } else {\n return jsonObj\n }\n}\n\nexport function getPrototype (obj) {\n /* eslint-disable */\n if (Object.getPrototypeOf) {\n return Object.getPrototypeOf(obj)\n } else if (obj.__proto__) {\n return obj.__proto__\n }\n /* eslint-enable */\n return obj.constructor.prototype\n}\n\nexport function getPrototypeChain (obj) {\n const protoChain = []\n while ((obj = getPrototype(obj))) {\n protoChain.push(obj)\n }\n return protoChain\n}\n\nexport function noop () {}\n\nexport function isFunction (arg) {\n return typeof arg === 'function'\n}\n\nexport function isArray (arg) {\n return Array.isArray(arg)\n}\n\nexport function cloneDeep (obj) {\n let newObj\n if (isArray(obj)) {\n newObj = []\n const len = obj.length\n for (let i = 0; i < len; i++) {\n newObj.push(cloneDeep(obj[i]))\n }\n } else if (isPlainObject(obj)) {\n newObj = {}\n for (const key in obj) {\n const ret = cloneDeep(obj[key])\n newObj[key] = ret\n }\n } else {\n return obj\n }\n return newObj\n}\n\nconst keyList = Object.keys\nconst hasProp = Object.prototype.hasOwnProperty\n\nfunction diffArrToPath (to, from, res = {}, keyPrev = '') {\n const len = to.length\n for (let i = 0; i < len; i++) {\n const toItem = to[i]\n const fromItem = from[i]\n const targetKey = `${keyPrev}[${i}]`\n if (toItem === fromItem) {\n continue\n } else if (typeof toItem !== typeof fromItem) {\n res[targetKey] = toItem\n } else {\n if (typeof toItem !== 'object') {\n res[targetKey] = toItem\n } else {\n const arrTo = isArray(toItem)\n const arrFrom = isArray(fromItem)\n if (arrTo !== arrFrom) {\n res[targetKey] = toItem\n } else if (arrTo && arrFrom) {\n if (toItem.length < fromItem.length) {\n res[targetKey] = toItem\n } else {\n // 数组\n diffArrToPath(toItem, fromItem, res, `${targetKey}`)\n }\n } else {\n if (!toItem || !fromItem || keyList(toItem).length < keyList(fromItem).length) {\n res[targetKey] = toItem\n } else {\n // 对象\n let shouldDiffObject = isPlainObject(toItem)\n\n shouldDiffObject &&\n Object.keys(fromItem).some(key => {\n if (typeof toItem[key] === 'undefined' && typeof fromItem[key] !== 'undefined') {\n shouldDiffObject = false\n return true\n }\n })\n\n if (shouldDiffObject) {\n diffObjToPath(toItem, fromItem, res, `${targetKey}.`)\n } else {\n res[targetKey] = toItem\n }\n }\n }\n }\n }\n }\n return res\n}\n\n// 比较的对象均为plainObject,且函数已被过滤\nexport function diffObjToPath (to, from, res = {}, keyPrev = '') {\n const keys = keyList(to)\n const len = keys.length\n\n for (let i = 0; i < len; i++) {\n const key = keys[i]\n const toItem = to[key]\n const fromItem = from[key]\n const targetKey = `${keyPrev}${key}`\n if (/^\\$compid__/.test(key)) {\n res[targetKey] = toItem\n } else if (toItem === fromItem) {\n continue\n } else if (!hasProp.call(from, key)) {\n res[targetKey] = toItem\n } else if (typeof toItem !== typeof fromItem) {\n res[targetKey] = toItem\n } else {\n if (typeof toItem !== 'object') {\n res[targetKey] = toItem\n } else {\n const arrTo = isArray(toItem)\n const arrFrom = isArray(fromItem)\n if (arrTo !== arrFrom) {\n res[targetKey] = toItem\n } else if (arrTo && arrFrom) {\n if (toItem.length < fromItem.length) {\n res[targetKey] = toItem\n } else {\n // 数组\n diffArrToPath(toItem, fromItem, res, `${targetKey}`)\n }\n } else {\n // null\n if (!toItem || !fromItem) {\n res[targetKey] = toItem\n } else {\n // 对象\n let shouldDiffObject = isPlainObject(toItem)\n\n shouldDiffObject &&\n Object.keys(fromItem).some(key => {\n if (typeof toItem[key] === 'undefined' && typeof fromItem[key] !== 'undefined') {\n shouldDiffObject = false\n return true\n }\n })\n\n if (shouldDiffObject) {\n diffObjToPath(toItem, fromItem, res, `${targetKey}.`)\n } else {\n res[targetKey] = toItem\n }\n }\n }\n }\n }\n }\n return res\n}\n\nexport function queryToJson (str) {\n const dec = decodeURIComponent\n const qp = str.split('&')\n let ret = {}\n let name\n let val\n for (let i = 0, l = qp.length, item; i < l; ++i) {\n item = qp[i]\n if (item.length) {\n const s = item.indexOf('=')\n if (s < 0) {\n name = dec(item)\n val = ''\n } else {\n name = dec(item.slice(0, s))\n val = dec(item.slice(s + 1))\n }\n if (typeof ret[name] === 'string') { // inline'd type check\n ret[name] = [ret[name]]\n }\n\n if (isArray(ret[name])) {\n ret[name].push(val)\n } else {\n ret[name] = val\n }\n }\n }\n return ret // Object\n}\n\nconst _loadTime = (new Date()).getTime().toString()\nlet _i = 1\nexport function getUniqueKey () {\n return _loadTime + (_i++)\n}\n\nexport function getElementById (component, id, type) {\n if (!component) return null\n\n let res\n if (type === 'component') {\n res = component.selectComponent(id)\n res = res ? (res.$component || res) : null\n } else {\n const query = wx.createSelectorQuery().in(component)\n res = query.select(id)\n }\n\n if (res) return res\n\n return null\n}\n\nlet id = 0\nfunction genId () {\n return String(id++)\n}\n\nlet compIdsMapper\ntry {\n compIdsMapper = new Map()\n} catch (error) {\n compIdsMapper = new SimpleMap()\n}\nexport function genCompid (key, isNeedCreate) {\n if (!Current || !Current.current || !Current.current.$scope) return []\n\n const prevId = compIdsMapper.get(key)\n if (isNeedCreate) {\n const id = genId()\n compIdsMapper.set(key, id)\n return [prevId, id]\n } else {\n const id = prevId || genId()\n !prevId && compIdsMapper.set(key, id)\n return [null, id]\n }\n}\n\nlet prefix = 0\nexport function genCompPrefix () {\n return String(prefix++)\n}\n","const data = {}\n\nexport function cacheDataSet (key, val) {\n data[key] = val\n}\n\nexport function cacheDataGet (key, delelteAfterGet) {\n const temp = data[key]\n delelteAfterGet && delete data[key]\n return temp\n}\n\nexport function cacheDataHas (key) {\n return key in data\n}\n","import { updateComponent } from './lifecycle'\nimport { filterProps } from './create-component'\nimport nextTick from './next-tick'\n\nclass Manager {\n map = {}\n observers = {}\n\n set (props = {}, compid, previd) {\n if (!compid) return\n\n if (previd) {\n this.delete(previd)\n }\n\n const { observers } = this\n if (!this.map[compid]) {\n Object.defineProperty(this.map, compid, {\n configurable: true,\n get () {\n return this[`__${compid}`]\n },\n set (props) {\n this[`__${compid}`] = props\n\n const component = observers[compid] && observers[compid].component\n const ComponentClass = observers[compid] && observers[compid].ComponentClass\n if (!component || !ComponentClass || !component.__isReady) return\n\n const extraProps = (component.$scope && component.$scope.data && component.$scope.data.extraProps) || null\n const nextProps = filterProps(ComponentClass.defaultProps, props, component.props, extraProps)\n component.props = nextProps\n nextTick(() => {\n component._unsafeCallUpdate = true\n updateComponent(component)\n component._unsafeCallUpdate = false\n })\n }\n })\n }\n this.map[compid] = props\n }\n\n delete (compid) {\n delete this.map[compid]\n delete this.map[`__${compid}`]\n delete this.observers[compid]\n }\n}\n\nexport default new Manager()\n","import { getCurrentPageUrl } from '@tarojs/utils'\nimport { commitAttachRef, detachAllRef, Current, eventCenter } from '@tarojs/taro'\nimport { isEmptyObject, isFunction, isArray } from './util'\nimport { mountComponent, updateComponent } from './lifecycle'\nimport { cacheDataSet, cacheDataGet, cacheDataHas } from './data-cache'\nimport nextTick from './next-tick'\nimport propsManager from './propsManager'\n\nconst anonymousFnNamePreffix = 'funPrivate'\nconst routerParamsPrivateKey = '__key_'\nconst preloadPrivateKey = '__preload_'\nconst PRELOAD_DATA_KEY = 'preload'\nconst preloadInitedComponent = '$preloadComponent'\nconst pageExtraFns = ['onPullDownRefresh', 'onReachBottom', 'onShareAppMessage', 'onPageScroll', 'onTabItemTap', 'onResize']\n\nfunction bindProperties (weappComponentConf, ComponentClass, isPage) {\n weappComponentConf.properties = {}\n if (isPage) {\n weappComponentConf.properties[routerParamsPrivateKey] = {\n type: null,\n value: null\n }\n weappComponentConf.properties[preloadPrivateKey] = {\n type: null,\n value: null\n }\n const defaultParams = ComponentClass.defaultParams || {}\n for (const key in defaultParams) {\n if (defaultParams.hasOwnProperty(key)) {\n weappComponentConf.properties[key] = {\n type: null,\n value: null\n }\n }\n }\n }\n weappComponentConf.properties.compid = {\n type: null,\n value: null,\n observer (newVal, oldVal) {\n initComponent.apply(this, [ComponentClass, isPage])\n if (oldVal && oldVal !== newVal) {\n const { extraProps } = this.data\n const component = this.$component\n propsManager.observers[newVal] = {\n component,\n ComponentClass: component.constructor\n }\n const nextProps = filterProps(component.constructor.defaultProps, propsManager.map[newVal], component.props, extraProps || null)\n this.$component.props = nextProps\n nextTick(() => {\n this.$component._unsafeCallUpdate = true\n updateComponent(this.$component)\n this.$component._unsafeCallUpdate = false\n })\n }\n }\n }\n weappComponentConf.properties.extraProps = {\n type: null,\n value: null,\n observer () {\n // update Component\n if (!this.$component || !this.$component.__isReady) return\n\n const nextProps = filterProps(ComponentClass.defaultProps, {}, this.$component.props, this.data.extraProps)\n this.$component.props = nextProps\n nextTick(() => {\n this.$component._unsafeCallUpdate = true\n updateComponent(this.$component)\n this.$component._unsafeCallUpdate = false\n })\n }\n }\n}\n\nfunction bindBehaviors (weappComponentConf, ComponentClass) {\n if (ComponentClass.behaviors) {\n weappComponentConf.behaviors = ComponentClass.behaviors\n }\n}\n\nfunction bindStaticOptions (weappComponentConf, ComponentClass) {\n if (ComponentClass.options) {\n weappComponentConf.options = ComponentClass.options\n }\n}\n\nfunction bindMultipleSlots (weappComponentConf, ComponentClass) {\n const multipleSlots = ComponentClass.multipleSlots\n if (!multipleSlots) {\n return\n }\n weappComponentConf.options = {\n ...weappComponentConf.options,\n ...{ multipleSlots }\n }\n}\n\nfunction bindStaticFns (weappComponentConf, ComponentClass) {\n for (const key in ComponentClass) {\n typeof ComponentClass[key] === 'function' && (weappComponentConf[key] = ComponentClass[key])\n }\n // 低版本 IOS 下部分属性不能直接访问\n Object.getOwnPropertyNames(ComponentClass).forEach(key => {\n const excludes = ['arguments', 'caller', 'length', 'name', 'prototype']\n if (excludes.indexOf(key) < 0) {\n typeof ComponentClass[key] === 'function' && (weappComponentConf[key] = ComponentClass[key])\n }\n })\n}\n\nfunction processEvent (eventHandlerName, obj) {\n if (obj[eventHandlerName]) return\n\n obj[eventHandlerName] = function (event) {\n if (event) {\n event.preventDefault = function () {}\n event.stopPropagation = function () {}\n event.currentTarget = event.currentTarget || event.target || {}\n if (event.target) {\n Object.assign(event.target, event.detail)\n }\n Object.assign(event.currentTarget, event.detail)\n }\n\n const scope = this.$component\n if (!scope || !scope[eventHandlerName]) return\n\n let callScope = scope\n const isAnonymousFn = eventHandlerName.indexOf(anonymousFnNamePreffix) > -1\n let realArgs = []\n let detailArgs = []\n let datasetArgs = []\n let isScopeBinded = false\n // 解析从dataset中传过来的参数\n const dataset = event.currentTarget.dataset || {}\n const bindArgs = {}\n const eventType = event.type.toLocaleLowerCase()\n Object.keys(dataset).forEach(key => {\n let keyLower = key.toLocaleLowerCase()\n if (/^e/.test(keyLower)) {\n // 小程序属性里中划线后跟一个下划线会解析成不同的结果\n keyLower = keyLower.replace(/^e/, '')\n if (keyLower.indexOf(eventType) >= 0) {\n const argName = keyLower.replace(eventType, '')\n if (/^(a[a-z]|so)$/.test(argName)) {\n bindArgs[argName] = dataset[key]\n }\n }\n }\n })\n // 如果是通过triggerEvent触发,并且带有参数\n if (event.detail && event.detail.__arguments && event.detail.__arguments.length > 0) {\n detailArgs = event.detail.__arguments\n }\n // 普通的事件(非匿名函数),会直接call\n if (!isAnonymousFn) {\n if ('so' in bindArgs) {\n if (bindArgs['so'] !== 'this') {\n callScope = bindArgs['so']\n }\n isScopeBinded = true\n delete bindArgs['so']\n }\n if (detailArgs.length > 0) {\n !isScopeBinded && detailArgs[0] && (callScope = detailArgs[0])\n detailArgs.shift()\n }\n if (!isEmptyObject(bindArgs)) {\n datasetArgs = Object.keys(bindArgs)\n .sort()\n .map(key => bindArgs[key])\n }\n realArgs = [...datasetArgs, ...detailArgs, event]\n } else {\n // 匿名函数,会将scope作为第一个参数\n let _scope = null\n if ('so' in bindArgs) {\n if (bindArgs['so'] !== 'this') {\n _scope = bindArgs['so']\n }\n isScopeBinded = true\n delete bindArgs['so']\n }\n if (detailArgs.length > 0) {\n !isScopeBinded && detailArgs[0] && (callScope = detailArgs[0])\n detailArgs.shift()\n }\n if (!isEmptyObject(bindArgs)) {\n datasetArgs = Object.keys(bindArgs)\n .sort()\n .map(key => bindArgs[key])\n }\n realArgs = [_scope, ...datasetArgs, ...detailArgs, event]\n }\n return scope[eventHandlerName].apply(callScope, realArgs)\n }\n}\n\nfunction bindEvents (weappComponentConf, events, isPage) {\n weappComponentConf.methods = weappComponentConf.methods || {}\n const target = weappComponentConf.methods\n events.forEach(name => {\n processEvent(name, target)\n })\n}\n\nexport function filterProps (defaultProps = {}, propsFromPropsManager = {}, curAllProps = {}, extraProps) {\n let newProps = Object.assign({}, curAllProps, propsFromPropsManager)\n\n if (!isEmptyObject(defaultProps)) {\n for (const propName in defaultProps) {\n if (newProps[propName] === undefined) {\n newProps[propName] = defaultProps[propName]\n }\n }\n }\n\n if (extraProps) {\n newProps = Object.assign({}, newProps, extraProps)\n }\n\n return newProps\n}\n\nfunction filterParams (data, defaultParams = {}) {\n let res = {}\n for (const paramName in defaultParams) {\n res[paramName] = paramName in data ? data[paramName] : defaultParams[paramName]\n }\n return res\n}\n\nexport function componentTrigger (component, key, args) {\n args = args || []\n\n if (key === 'componentDidMount') {\n if (component['$$refs'] && component['$$refs'].length > 0) {\n let refs = {}\n component['$$refs'].forEach(ref => {\n let target\n if (ref.type === 'component') {\n target = component.$scope.selectComponent(`#${ref.id}`)\n target = target ? (target.$component || target) : null\n } else {\n const query = wx.createSelectorQuery().in(component.$scope)\n target = query.select(`#${ref.id}`)\n }\n commitAttachRef(ref, target, component, refs, true)\n ref.target = target\n })\n component.refs = Object.assign({}, component.refs || {}, refs)\n }\n if (component['$$hasLoopRef']) {\n Current.current = component\n Current.index = 0\n component._disableEffect = true\n component._createData(component.state, component.props, true)\n component._disableEffect = false\n Current.current = null\n }\n }\n\n if (key === 'componentWillUnmount') {\n const compid = component.$scope.data.compid\n if (compid) propsManager.delete(compid)\n }\n\n // eslint-disable-next-line no-useless-call\n component[key] && typeof component[key] === 'function' && component[key].call(component, ...args)\n if (key === 'componentWillMount') {\n component._dirty = false\n component._disable = false\n component.state = component.getState()\n }\n if (key === 'componentWillUnmount') {\n component._dirty = true\n component._disable = true\n component.$router = {\n params: {},\n path: ''\n }\n component._pendingStates = []\n component._pendingCallbacks = []\n // refs\n detachAllRef(component)\n }\n}\n\nfunction initComponent (ComponentClass, isPage) {\n if (this.$component.__isReady) return\n // ready之后才可以setData,\n // ready之前,小程序组件初始化时仍然会触发observer,__isReady为否的时候放弃处理observer\n this.$component.__isReady = true\n // 页面Ready的时候setData更新,此时并未didMount,触发observer但不会触发子组件更新\n // 小程序组件ready,但是数据并没有ready,需要通过updateComponent来初始化数据,setData完成之后才是真正意义上的组件ready\n // 动态组件执行改造函数副本的时,在初始化数据前计算好props\n if (!isPage) {\n const compid = this.data.compid\n if (compid) {\n propsManager.observers[compid] = {\n component: this.$component,\n ComponentClass\n }\n }\n const nextProps = filterProps(ComponentClass.defaultProps, propsManager.map[compid], this.$component.props, this.data.extraProps)\n this.$component.props = nextProps\n } else {\n this.$component.$router.path = getCurrentPageUrl()\n }\n mountComponent(this.$component)\n}\n\nfunction createComponent (ComponentClass, isPage) {\n let initData = {}\n const componentProps = filterProps(ComponentClass.defaultProps)\n const componentInstance = new ComponentClass(componentProps)\n componentInstance._constructor && componentInstance._constructor(componentProps)\n try {\n Current.current = componentInstance\n Current.index = 0\n componentInstance.state = componentInstance._createData() || componentInstance.state\n } catch (err) {\n if (isPage) {\n console.warn(`[Taro warn] 请给页面提供初始 \\`state\\` 以提高初次渲染性能!`)\n } else {\n console.warn(`[Taro warn] 请给组件提供一个 \\`defaultProps\\` 以提高初次渲染性能!`)\n }\n console.warn(err)\n }\n initData = Object.assign({}, initData, componentInstance.props, componentInstance.state)\n\n const weappComponentConf = {\n data: initData,\n created (options = {}) {\n if (isPage && cacheDataHas(preloadInitedComponent)) {\n this.$component = cacheDataGet(preloadInitedComponent, true)\n this.$component.$componentType = 'PAGE'\n } else {\n this.$component = new ComponentClass({}, isPage)\n }\n this.$component._init(this)\n this.$component.render = this.$component._createData\n this.$component.__propTypes = ComponentClass.propTypes\n Object.assign(this.$component.$router.params, options)\n },\n attached () {\n let hasParamsCache\n if (isPage) {\n // params\n let params = {}\n hasParamsCache = cacheDataHas(this.data[routerParamsPrivateKey])\n if (hasParamsCache) {\n params = Object.assign({}, ComponentClass.defaultParams, cacheDataGet(this.data[routerParamsPrivateKey], true))\n } else {\n // 直接启动,非内部跳转\n params = filterParams(this.data, ComponentClass.defaultParams)\n }\n if (cacheDataHas(PRELOAD_DATA_KEY)) {\n const data = cacheDataGet(PRELOAD_DATA_KEY, true)\n this.$component.$router.preload = data\n }\n Object.assign(this.$component.$router.params, params)\n // preload\n if (cacheDataHas(this.data[preloadPrivateKey])) {\n this.$component.$preloadData = cacheDataGet(this.data[preloadPrivateKey], true)\n } else {\n this.$component.$preloadData = null\n }\n }\n if (hasParamsCache || !isPage) {\n initComponent.apply(this, [ComponentClass, isPage])\n }\n },\n ready () {\n if (!isPage && !this.$component.__mounted) {\n this.$component.__mounted = true\n componentTrigger(this.$component, 'componentDidMount')\n }\n },\n detached () {\n const component = this.$component\n componentTrigger(component, 'componentWillUnmount')\n component.hooks.forEach((hook) => {\n if (isFunction(hook.cleanup)) {\n hook.cleanup()\n }\n })\n const events = component.$$renderPropsEvents\n if (isArray(events)) {\n events.forEach(e => eventCenter.off(e))\n }\n }\n }\n if (isPage) {\n weappComponentConf.methods = weappComponentConf.methods || {}\n weappComponentConf.methods['onLoad'] = function (options = {}) {\n if (this.$component.__isReady) return\n Object.assign(this.$component.$router.params, options)\n initComponent.apply(this, [ComponentClass, isPage])\n }\n weappComponentConf.methods['onReady'] = function () {\n this.$component.__mounted = true\n componentTrigger(this.$component, 'componentDidMount')\n }\n weappComponentConf.methods['onShow'] = function () {\n componentTrigger(this.$component, 'componentDidShow')\n }\n weappComponentConf.methods['onHide'] = function () {\n componentTrigger(this.$component, 'componentDidHide')\n }\n pageExtraFns.forEach(fn => {\n if (componentInstance[fn] && typeof componentInstance[fn] === 'function') {\n weappComponentConf.methods[fn] = function () {\n const component = this.$component\n if (component && component[fn] && typeof component[fn] === 'function') {\n // eslint-disable-next-line no-useless-call\n return component[fn].call(component, ...arguments)\n }\n }\n }\n })\n __wxRoute && cacheDataSet(__wxRoute, ComponentClass)\n } else {\n weappComponentConf.pageLifetimes = weappComponentConf.pageLifetimes || {}\n\n weappComponentConf.pageLifetimes['show'] = function () {\n componentTrigger(this.$component, 'componentDidShow')\n }\n\n weappComponentConf.pageLifetimes['hide'] = function () {\n componentTrigger(this.$component, 'componentDidHide')\n }\n\n weappComponentConf.pageLifetimes['resize'] = function () {\n componentTrigger(this.$component, 'onResize')\n }\n }\n bindProperties(weappComponentConf, ComponentClass, isPage)\n bindBehaviors(weappComponentConf, ComponentClass)\n bindStaticFns(weappComponentConf, ComponentClass)\n bindStaticOptions(weappComponentConf, ComponentClass)\n bindMultipleSlots(weappComponentConf, ComponentClass)\n ComponentClass['$$events'] && bindEvents(weappComponentConf, ComponentClass['$$events'], isPage)\n if (ComponentClass['externalClasses'] && ComponentClass['externalClasses'].length) {\n weappComponentConf['externalClasses'] = ComponentClass['externalClasses']\n }\n return weappComponentConf\n}\n\nexport default createComponent\n","import {\n internal_safe_get as safeGet,\n internal_safe_set as safeSet,\n commitAttachRef,\n Current,\n invokeEffects,\n getIsUsingDiff\n} from '@tarojs/taro'\nimport PropTypes from 'prop-types'\nimport { componentTrigger } from './create-component'\nimport { cloneDeep, isEmptyObject, diffObjToPath, isFunction, isUndefined, isArray } from './util'\nimport { enqueueRender } from './render-queue'\n\nconst isDEV = typeof process === 'undefined' ||\n !process.env ||\n process.env.NODE_ENV !== 'production'\n\nfunction hasNewLifecycle (component) {\n const { constructor: { getDerivedStateFromProps }, getSnapshotBeforeUpdate } = component\n return isFunction(getDerivedStateFromProps) || isFunction(getSnapshotBeforeUpdate)\n}\n\nfunction callGetDerivedStateFromProps (component, props, state) {\n const { getDerivedStateFromProps } = component.constructor\n let newState\n if (isFunction(getDerivedStateFromProps)) {\n const partialState = getDerivedStateFromProps(props, state)\n if (!isUndefined(partialState)) {\n newState = Object.assign({}, state, partialState)\n } else {\n console.warn('getDerivedStateFromProps 没有返回任何内容,这个生命周期必须返回 null 或一个新对象。')\n }\n }\n return newState\n}\n\nfunction callGetSnapshotBeforeUpdate (component, props, state) {\n const { getSnapshotBeforeUpdate } = component\n let snapshot\n if (isFunction(getSnapshotBeforeUpdate)) {\n snapshot = getSnapshotBeforeUpdate.call(component, props, state)\n }\n return snapshot\n}\n\nexport function updateComponent (component) {\n const { props, __propTypes } = component\n if (isDEV && __propTypes) {\n let componentName = component.constructor.name\n if (isUndefined(componentName)) {\n const names = component.constructor.toString().match(/^function\\s*([^\\s(]+)/)\n componentName = isArray(names) ? names[0] : 'Component'\n }\n PropTypes.checkPropTypes(__propTypes, props, 'prop', componentName)\n }\n const prevProps = component.prevProps || props\n component.props = prevProps\n if (component.__mounted && component._unsafeCallUpdate === true && !hasNewLifecycle(component) && component.componentWillReceiveProps) {\n component._disable = true\n component.componentWillReceiveProps(props)\n component._disable = false\n }\n let state = component.getState()\n\n const prevState = component.prevState || state\n\n const stateFromProps = callGetDerivedStateFromProps(component, props, state)\n\n if (!isUndefined(stateFromProps)) {\n state = stateFromProps\n }\n\n let skip = false\n if (component.__mounted) {\n if (typeof component.shouldComponentUpdate === 'function' &&\n !component._isForceUpdate &&\n component.shouldComponentUpdate(props, state) === false) {\n skip = true\n } else if (!hasNewLifecycle(component) && isFunction(component.componentWillUpdate)) {\n component.componentWillUpdate(props, state)\n }\n }\n\n component.props = props\n component.state = state\n component._dirty = false\n component._isForceUpdate = false\n if (!skip) {\n doUpdate(component, prevProps, prevState)\n }\n component.prevProps = component.props\n component.prevState = component.state\n}\n\nexport function mountComponent (component) {\n const { props } = component\n // 在willMount前执行构造函数的副本\n if (!component.__componentWillMountTriggered) {\n component._constructor && component._constructor(props)\n }\n\n const newState = callGetDerivedStateFromProps(component, props, component.state)\n\n if (!isUndefined(newState)) {\n component.state = newState\n }\n\n component._dirty = false\n component._disable = false\n component._isForceUpdate = false\n if (!component.__componentWillMountTriggered) {\n component.__componentWillMountTriggered = true\n if (!hasNewLifecycle(component)) {\n componentTrigger(component, 'componentWillMount')\n }\n }\n doUpdate(component, props, component.state)\n component.prevProps = component.props\n component.prevState = component.state\n}\n\nfunction injectContextType (component) {\n const ctxType = component.constructor.contextType\n if (ctxType) {\n const context = ctxType.context\n const emitter = context.emitter\n if (emitter === null) {\n component.context = context._defaultValue\n return\n }\n if (!component._hasContext) {\n component._hasContext = true\n emitter.on(_ => enqueueRender(component))\n }\n component.context = emitter.value\n }\n}\n\nfunction doUpdate (component, prevProps, prevState) {\n const { state, props = {} } = component\n let data = state || {}\n if (component._createData) {\n if (component.__isReady) {\n injectContextType(component)\n Current.current = component\n Current.index = 0\n invokeEffects(component, true)\n }\n data = component._createData(state, props) || data\n if (component.__isReady) {\n Current.current = null\n }\n }\n\n data = Object.assign({}, props, data)\n if (component.$usedState && component.$usedState.length) {\n const _data = {}\n component.$usedState.forEach(key => {\n let val = safeGet(data, key)\n if (typeof val === 'undefined') {\n return\n }\n if (typeof val === 'object') {\n if (isEmptyObject(val)) return safeSet(_data, key, {})\n\n val = cloneDeep(val)\n\n if (!isEmptyObject(val)) safeSet(_data, key, val)\n } else {\n safeSet(_data, key, val)\n }\n })\n data = _data\n }\n data['$taroCompReady'] = true\n\n const dataDiff = getIsUsingDiff() ? diffObjToPath(data, component.$scope.data) : data\n const __mounted = component.__mounted\n let snapshot\n if (__mounted) {\n snapshot = callGetSnapshotBeforeUpdate(component, prevProps, prevState)\n }\n\n // 每次 setData 都独立生成一个 callback 数组\n let cbs = []\n if (component._pendingCallbacks && component._pendingCallbacks.length) {\n cbs = component._pendingCallbacks\n component._pendingCallbacks = []\n }\n\n const cb = function () {\n invokeEffects(component)\n if (__mounted) {\n if (component['$$refs'] && component['$$refs'].length > 0) {\n component['$$refs'].forEach(ref => {\n // 只有 component 类型能做判断。因为 querySelector 每次调用都一定返回 nodeRefs,无法得知 dom 类型的挂载状态。\n if (ref.type !== 'component') return\n\n let target = component.$scope.selectComponent(`#${ref.id}`)\n target = target ? (target.$component || target) : null\n\n const prevRef = ref.target\n if (target !== prevRef) {\n commitAttachRef(ref, target, component, component.refs)\n ref.target = target\n }\n })\n }\n\n if (component['$$hasLoopRef']) {\n Current.current = component\n Current.index = 0\n component._disableEffect = true\n component._createData(component.state, component.props, true)\n component._disableEffect = false\n Current.current = null\n }\n if (isFunction(component.componentDidUpdate)) {\n component.componentDidUpdate(prevProps, prevState, snapshot)\n }\n }\n\n if (cbs.length) {\n let i = cbs.length\n while (--i >= 0) {\n typeof cbs[i] === 'function' && cbs[i].call(component)\n }\n }\n }\n if (Object.keys(dataDiff).length === 0) {\n cb()\n invokeEffects(component)\n } else {\n component.$scope.setData(dataDiff, cb)\n }\n}\n","import nextTick from './next-tick'\nimport { updateComponent } from './lifecycle'\n\nlet items = []\n\nexport function enqueueRender (component, isForceUpdate = false) {\n // tslint:disable-next-line:no-conditional-assignment\n component._isForceUpdate = isForceUpdate\n if (!component._dirty && (component._dirty = true) && items.push(component) === 1) {\n nextTick(() => {\n rerender()\n })\n }\n}\n\nexport function rerender () {\n let p\n const list = items\n items = []\n // tslint:disable-next-line:no-conditional-assignment\n while ((p = list.pop())) {\n if (p._dirty) {\n updateComponent(p, true)\n }\n }\n}\n","import { enqueueRender } from './render-queue'\nimport { updateComponent } from './lifecycle'\nimport { isFunction, genCompPrefix } from './util'\nimport {\n internal_safe_get as safeGet,\n internal_force_update as forceUpdateCallback\n} from '@tarojs/taro'\nimport { cacheDataSet, cacheDataGet } from './data-cache'\n// #组件state对应小程序组件data\n// #私有的__componentProps更新用于触发子组件中对应obsever,生命周期componentWillReceiveProps,componentShouldUpdate在这里处理\n// #父组件传过来的props放到data.__props中供模板使用,这么做的目的是模拟receiveProps生命周期\n// 执行顺序:组件setState -> 组件_createData() -> 对应的小程序组件setData(组件更新)-> 子组件的__componentProps.observer执行\n// -> 触发子组件componentWillReceiveProps,更新子组件props,componentShouldUpdate -> 子组件_createData -> 子组件setData\n\nconst PRELOAD_DATA_KEY = 'preload'\n\nclass BaseComponent {\n // _createData的时候生成,小程序中通过data.__createData访问\n __computed = {}\n // this.props,小程序中通过data.__props访问\n __props = {}\n __isReady = false\n // 会在componentDidMount后置为true\n __mounted = false\n context = {}\n _dirty = true\n _disable = true\n _isForceUpdate = false\n _pendingStates = []\n _pendingCallbacks = []\n $componentType = ''\n $router = {\n params: {},\n path: ''\n }\n\n _afterScheduleEffect = false\n _disableEffect = false\n hooks = []\n effects = []\n layoutEffects = []\n\n constructor (props = {}, isPage) {\n this.state = {}\n this.props = props\n this.$componentType = isPage ? 'PAGE' : 'COMPONENT'\n this.$prefix = genCompPrefix()\n this.isTaroComponent = this.$componentType && this.$router && this._pendingStates\n }\n _constructor (props) {\n this.props = props || {}\n }\n _init (scope) {\n this.$scope = scope\n }\n setState (state, callback) {\n if (state) {\n (this._pendingStates = this._pendingStates || []).push(state)\n }\n if (isFunction(callback)) {\n (this._pendingCallbacks = this._pendingCallbacks || []).push(callback)\n }\n if (!this._disable) {\n enqueueRender(this, callback === forceUpdateCallback)\n }\n }\n\n getState () {\n const { _pendingStates, state, props } = this\n const stateClone = Object.assign({}, state)\n delete stateClone.__data\n if (!_pendingStates.length) {\n return stateClone\n }\n const queue = _pendingStates.concat()\n this._pendingStates.length = 0\n queue.forEach((nextState) => {\n if (isFunction(nextState)) {\n nextState = nextState.call(this, stateClone, props)\n }\n Object.assign(stateClone, nextState)\n })\n return stateClone\n }\n\n forceUpdate (callback) {\n if (isFunction(callback)) {\n (this._pendingCallbacks = this._pendingCallbacks || []).push(callback)\n }\n this._isForceUpdate = true\n updateComponent(this)\n }\n\n $preload (key, value) {\n const preloadData = cacheDataGet(PRELOAD_DATA_KEY) || {}\n if (typeof key === 'object') {\n for (const k in key) {\n preloadData[k] = key[k]\n }\n } else {\n preloadData[key] = value\n }\n cacheDataSet(PRELOAD_DATA_KEY, preloadData)\n }\n\n // 会被匿名函数调用\n __triggerPropsFn (key, args) {\n const keyChain = key.split('.')\n const reduxFnPrefix = '__event_'\n const reduxFnName = reduxFnPrefix + keyChain.shift()\n // redux标识过的方法,直接调用\n if (reduxFnName in this) {\n const scope = args.shift()\n let fn\n if (keyChain.length > 0) {\n fn = safeGet(this[reduxFnName], keyChain.join('.'))\n } else {\n fn = this[reduxFnName]\n }\n fn.apply(scope, args)\n } else {\n // 普通的\n const keyLower = key.toLocaleLowerCase()\n const detail = {\n __isCustomEvt: true,\n __arguments: args\n }\n if (args.length > 0) {\n detail.value = args.slice(1)\n }\n this.$scope.triggerEvent(keyLower, detail)\n }\n }\n}\n\nexport default BaseComponent\n","import { shallowEqual } from '@tarojs/utils'\n\nimport Component from './component'\n\nclass PureComponent extends Component {\n isPureComponent = true\n\n shouldComponentUpdate (nextProps, nextState) {\n return !shallowEqual(this.props, nextProps) || !shallowEqual(this.state, nextState)\n }\n}\n\nexport default PureComponent\n","function createApp (AppClass) {\n const app = new AppClass()\n const weappAppConf = {\n onLaunch (options) {\n app.$app = this\n app.$app.$router = app.$router = {\n params: options\n }\n if (app.componentWillMount) {\n app.componentWillMount()\n }\n if (app.componentDidMount) {\n app.componentDidMount()\n }\n },\n\n onShow (options) {\n Object.assign(app.$router.params, options)\n if (app.componentDidShow) {\n app.componentDidShow()\n }\n },\n\n onHide () {\n if (app.componentDidHide) {\n app.componentDidHide()\n }\n },\n\n onError (err) {\n if (app.componentDidCatchError) {\n app.componentDidCatchError(err)\n }\n },\n\n onPageNotFound (obj) {\n if (app.componentDidNotFound) {\n app.componentDidNotFound(obj)\n }\n }\n }\n return Object.assign(weappAppConf, app)\n}\n\nexport default createApp\n","import {\n onAndSyncApis,\n noPromiseApis,\n otherApis,\n initPxTransform,\n Link\n} from '@tarojs/taro'\nimport { cacheDataSet, cacheDataGet } from './data-cache'\nimport { queryToJson, getUniqueKey } from './util'\nconst RequestQueue = {\n MAX_REQUEST: 10,\n queue: [],\n pendingQueue: [],\n\n request (options) {\n this.queue.push(options)\n return this.run()\n },\n\n run () {\n if (!this.queue.length) return\n\n while (this.pendingQueue.length < this.MAX_REQUEST) {\n const options = this.queue.shift()\n let successFn = options.success\n let failFn = options.fail\n options.success = (...args) => {\n this.pendingQueue = this.pendingQueue.filter(item => item !== options)\n this.run()\n successFn && successFn.apply(options, args)\n }\n options.fail = (...args) => {\n this.pendingQueue = this.pendingQueue.filter(item => item !== options)\n this.run()\n failFn && failFn.apply(options, args)\n }\n this.pendingQueue.push(options)\n return wx.request(options)\n }\n }\n}\n\nfunction taroInterceptor (chain) {\n return request(chain.requestParams)\n}\n\nconst link = new Link(taroInterceptor)\n\nfunction request (options) {\n options = options || {}\n if (typeof options === 'string') {\n options = {\n url: options\n }\n }\n const originSuccess = options['success']\n const originFail = options['fail']\n const originComplete = options['complete']\n let requestTask\n const p = new Promise((resolve, reject) => {\n options['success'] = res => {\n originSuccess && originSuccess(res)\n resolve(res)\n }\n options['fail'] = res => {\n originFail && originFail(res)\n reject(res)\n }\n\n options['complete'] = res => {\n originComplete && originComplete(res)\n }\n\n requestTask = RequestQueue.request(options)\n })\n p.abort = (cb) => {\n cb && cb()\n if (requestTask) {\n requestTask.abort()\n }\n return p\n }\n p.onHeadersReceived = function (cb) {\n cb && cb();\n if (requestTask) {\n requestTask.onHeadersReceived();\n }\n return p;\n };\n p.offHeadersReceived = function (cb) {\n cb && cb();\n if (requestTask) {\n requestTask.offHeadersReceived();\n }\n return p;\n };\n return p\n}\n\nfunction processApis (taro) {\n const weApis = Object.assign({ }, onAndSyncApis, noPromiseApis, otherApis)\n const useDataCacheApis = {\n 'navigateTo': true,\n 'redirectTo': true,\n 'reLaunch': true\n }\n const routerParamsPrivateKey = '__key_'\n const preloadPrivateKey = '__preload_'\n const preloadInitedComponent = '$preloadComponent'\n Object.keys(weApis).forEach(key => {\n if (!(key in wx)) {\n taro[key] = () => {\n console.warn(`微信小程序暂不支持 ${key}`)\n }\n return\n }\n\n if (!onAndSyncApis[key] && !noPromiseApis[key]) {\n taro[key] = (options, ...args) => {\n options = options || {}\n let task = null\n let obj = Object.assign({}, options)\n if (typeof options === 'string') {\n if (args.length) {\n return wx[key](options, ...args)\n }\n return wx[key](options)\n }\n\n if (key === 'navigateTo' || key === 'redirectTo') {\n let url = obj['url'] ? obj['url'].replace(/^\\//, '') : ''\n if (url.indexOf('?') > -1) url = url.split('?')[0]\n\n const Component = cacheDataGet(url)\n if (Component) {\n const component = new Component()\n if (component.componentWillPreload) {\n const cacheKey = getUniqueKey()\n const MarkIndex = obj.url.indexOf('?')\n const hasMark = MarkIndex > -1\n const urlQueryStr = hasMark ? obj.url.substring(MarkIndex + 1, obj.url.length) : ''\n const params = queryToJson(urlQueryStr)\n obj.url += (hasMark ? '&' : '?') + `${preloadPrivateKey}=${cacheKey}`\n cacheDataSet(cacheKey, component.componentWillPreload(params))\n cacheDataSet(preloadInitedComponent, component)\n }\n }\n }\n\n if (useDataCacheApis[key]) {\n const url = obj['url'] = obj['url'] || ''\n const MarkIndex = url.indexOf('?')\n const hasMark = MarkIndex > -1\n const urlQueryStr = hasMark ? url.substring(MarkIndex + 1, url.length) : ''\n const params = queryToJson(urlQueryStr)\n const cacheKey = getUniqueKey()\n obj.url += (hasMark ? '&' : '?') + `${routerParamsPrivateKey}=${cacheKey}`\n cacheDataSet(cacheKey, params)\n }\n\n const p = new Promise((resolve, reject) => {\n ['fail', 'success', 'complete'].forEach((k) => {\n obj[k] = (res) => {\n options[k] && options[k](res)\n if (k === 'success') {\n if (key === 'connectSocket') {\n resolve(\n Promise.resolve().then(() => Object.assign(task, res))\n )\n } else {\n resolve(res)\n }\n } else if (k === 'fail') {\n reject(res)\n }\n }\n })\n if (args.length) {\n task = wx[key](obj, ...args)\n } else {\n task = wx[key](obj)\n }\n })\n if (key === 'uploadFile' || key === 'downloadFile') {\n p.progress = cb => {\n if (task) {\n task.onProgressUpdate(cb)\n }\n return p\n }\n p.headersReceived = cb => {\n if (task) {\n task.onHeadersReceived(cb)\n }\n return p\n }\n p.abort = cb => {\n cb && cb()\n if (task) {\n task.abort()\n }\n return p\n }\n }\n return p\n }\n } else {\n taro[key] = (...args) => {\n const argsLen = args.length\n const newArgs = args.concat()\n const lastArg = newArgs[argsLen - 1]\n if (lastArg && lastArg.isTaroComponent && lastArg.$scope) {\n newArgs.splice(argsLen - 1, 1, lastArg.$scope)\n }\n return wx[key].apply(wx, newArgs)\n }\n }\n })\n}\n\nfunction pxTransform (size) {\n const {\n designWidth = 750,\n deviceRatio = {\n '640': 2.34 / 2,\n '750': 1,\n '828': 1.81 / 2\n }\n } = this.config || {}\n if (!(designWidth in deviceRatio)) {\n throw new Error(`deviceRatio 配置中不存在 ${designWidth} 的设置!`)\n }\n return parseInt(size, 10) / deviceRatio[designWidth] + 'rpx'\n}\n\nfunction canIUseWebp () {\n const { platform } = wx.getSystemInfoSync()\n const platformLower = platform.toLowerCase()\n if (platformLower === 'android' || platformLower === 'devtools') {\n return true\n }\n return false\n}\n\nfunction wxCloud (taro) {\n const wxC = wx.cloud || {}\n const wxcloud = {}\n const apiList = [\n 'init',\n 'database',\n 'uploadFile',\n 'downloadFile',\n 'getTempFileURL',\n 'deleteFile',\n 'callFunction',\n 'CloudID'\n ]\n apiList.forEach(v => {\n wxcloud[v] = wxC[v]\n })\n taro.cloud = wxcloud\n}\n\nfunction wxEnvObj (taro) {\n const wxEnv = wx.env || {}\n const taroEnv = {}\n const envList = ['USER_DATA_PATH']\n envList.forEach(key => taroEnv[key] = wxEnv[key])\n taro.env = taroEnv\n}\n\nexport default function initNativeApi (taro) {\n processApis(taro)\n taro.request = link.request.bind(link)\n taro.addInterceptor = link.addInterceptor.bind(link)\n taro.cleanInterceptors = link.cleanInterceptors.bind(link)\n taro.getCurrentPages = getCurrentPages\n taro.getApp = getApp\n taro.requirePlugin = requirePlugin\n taro.initPxTransform = initPxTransform.bind(taro)\n taro.pxTransform = pxTransform.bind(taro)\n taro.canIUseWebp = canIUseWebp\n wxCloud(taro)\n wxEnvObj(taro)\n}\n","/* eslint-disable camelcase */\nimport {\n getEnv,\n Events,\n eventCenter,\n ENV_TYPE,\n createRef,\n render,\n internal_safe_get,\n internal_safe_set,\n internal_inline_style,\n internal_get_original,\n interceptors,\n RefsArray,\n handleLoopRef,\n useEffect,\n useLayoutEffect,\n useReducer,\n useState,\n useDidShow,\n useDidHide,\n usePullDownRefresh,\n useReachBottom,\n usePageScroll,\n useResize,\n useShareAppMessage,\n useTabItemTap,\n useRouter,\n useScope,\n useRef,\n useCallback,\n useMemo,\n useImperativeHandle,\n useContext,\n createContext,\n memo,\n setIsUsingDiff\n} from '@tarojs/taro'\nimport { shallowEqual } from '@tarojs/utils'\n\nimport Component from './component'\nimport PureComponent from './pure-component'\nimport createApp from './create-app'\nimport createComponent from './create-component'\nimport initNativeApi from './native-api'\nimport propsManager from './propsManager'\nimport { getElementById, genCompid } from './util'\n\nexport const Taro = {\n Component,\n PureComponent,\n createApp,\n initNativeApi,\n Events,\n eventCenter,\n getEnv,\n createRef,\n render,\n ENV_TYPE,\n internal_safe_get,\n internal_safe_set,\n internal_inline_style,\n createComponent,\n internal_get_original,\n handleLoopRef: handleLoopRef(getElementById),\n propsManager,\n interceptors,\n RefsArray,\n genCompid,\n useEffect,\n useLayoutEffect,\n useReducer,\n useState,\n useDidShow,\n useDidHide,\n usePullDownRefresh,\n useReachBottom,\n usePageScroll,\n useResize,\n useShareAppMessage,\n useTabItemTap,\n useRouter,\n useScope,\n useRef,\n useCallback,\n useMemo,\n useImperativeHandle,\n useContext,\n createContext,\n memo,\n shallowEqual,\n setIsUsingDiff\n}\n\nexport default Taro\n\ninitNativeApi(Taro)\n"],"names":["objectIs","Object","is","x","y","shallowEqual","obj1","obj2","obj1Keys","keys","obj2Keys","length","i","obj1KeyItem","hasOwnProperty","SimpleMap","cache","size","k","v","len","push","item","splice","pop","addLeadingSlash","path","charAt","getCurrentPageUrl","pages","getCurrentPages","currentPage","route","__route__","nextTick","fn","args","bind","timerFunc","wx","setTimeout","b","Symbol","c","d","e","f","g","h","l","m","n","p","q","r","t","w","z","a","u","$$typeof","type","A","process","env","NODE_ENV","hasSymbol","REACT_ELEMENT_TYPE","REACT_PORTAL_TYPE","REACT_FRAGMENT_TYPE","REACT_STRICT_MODE_TYPE","REACT_PROFILER_TYPE","REACT_PROVIDER_TYPE","REACT_CONTEXT_TYPE","REACT_ASYNC_MODE_TYPE","REACT_CONCURRENT_MODE_TYPE","REACT_FORWARD_REF_TYPE","REACT_SUSPENSE_TYPE","REACT_SUSPENSE_LIST_TYPE","REACT_MEMO_TYPE","REACT_LAZY_TYPE","REACT_BLOCK_TYPE","REACT_FUNDAMENTAL_TYPE","REACT_RESPONDER_TYPE","REACT_SCOPE_TYPE","isValidElementType","typeOf","object","$$typeofType","undefined","AsyncMode","ConcurrentMode","ContextConsumer","ContextProvider","Element","ForwardRef","Fragment","Lazy","Memo","Portal","Profiler","StrictMode","Suspense","hasWarnedAboutDeprecatedIsAsyncMode","isAsyncMode","console","isConcurrentMode","isContextConsumer","isContextProvider","isElement","isForwardRef","isFragment","isLazy","isMemo","isPortal","isProfiler","isStrictMode","isSuspense","exports","module","require$$0","require$$1","getOwnPropertySymbols","prototype","propIsEnumerable","propertyIsEnumerable","toObject","val","TypeError","shouldUseNative","assign","test1","String","getOwnPropertyNames","test2","fromCharCode","order2","map","join","test3","split","forEach","letter","err","target","source","from","to","symbols","s","arguments","key","call","ReactPropTypesSecret","printWarning","loggedTypeFailures","has","Function","text","message","error","Error","checkPropTypes","typeSpecs","values","location","componentName","getStack","typeSpecName","name","ex","stack","resetWarningCache","emptyFunctionThatReturnsNull","isValidElement","throwOnDirectAccess","ITERATOR_SYMBOL","iterator","FAUX_ITERATOR_SYMBOL","getIteratorFn","maybeIterable","iteratorFn","ANONYMOUS","ReactPropTypes","array","createPrimitiveTypeChecker","bool","func","number","string","symbol","any","createAnyTypeChecker","arrayOf","createArrayOfTypeChecker","element","createElementTypeChecker","elementType","createElementTypeTypeChecker","instanceOf","createInstanceTypeChecker","node","createNodeChecker","objectOf","createObjectOfTypeChecker","oneOf","createEnumTypeChecker","oneOfType","createUnionTypeChecker","shape","createShapeTypeChecker","exact","createStrictShapeTypeChecker","PropTypeError","createChainableTypeChecker","validate","manualPropTypeCallCache","manualPropTypeWarningCount","checkType","isRequired","props","propName","propFullName","secret","cacheKey","chainedCheckType","expectedType","propValue","propType","getPropType","preciseType","getPreciseType","typeChecker","Array","isArray","ReactIs","expectedClass","expectedClassName","actualClassName","getClassName","expectedValues","valuesString","JSON","stringify","replacer","value","arrayOfTypeCheckers","checker","getPostfixForTypeWarning","isNode","shapeTypes","allKeys","every","step","entries","next","done","entry","isSymbol","RegExp","Date","constructor","PropTypes","emptyFunction","emptyFunctionWithReset","shim","getShim","require$$2","freeGlobal","global","freeSelf","self","root","objectProto","nativeObjectToString","toString","symToStringTag","toStringTag","getRawTag","isOwn","tag","unmasked","result","objectToString","nullTag","undefinedTag","baseGetTag","overArg","transform","arg","getPrototype","getPrototypeOf","isObjectLike","objectTag","funcProto","funcToString","objectCtorString","isPlainObject","proto","Ctor","isEmptyObject","obj","isUndefined","o","isFunction","cloneDeep","newObj","ret","keyList","hasProp","diffArrToPath","res","keyPrev","toItem","fromItem","targetKey","arrTo","arrFrom","shouldDiffObject","some","diffObjToPath","test","queryToJson","str","dec","decodeURIComponent","qp","indexOf","slice","_loadTime","getTime","_i","getUniqueKey","getElementById","component","id","selectComponent","$component","query","createSelectorQuery","select","genId","compIdsMapper","Map","genCompid","isNeedCreate","Current","current","$scope","prevId","get","set","prefix","genCompPrefix","data","cacheDataSet","cacheDataGet","delelteAfterGet","temp","cacheDataHas","Manager","compid","previd","observers","defineProperty","configurable","ComponentClass","__isReady","extraProps","nextProps","filterProps","defaultProps","_unsafeCallUpdate","updateComponent","anonymousFnNamePreffix","routerParamsPrivateKey","preloadPrivateKey","PRELOAD_DATA_KEY","preloadInitedComponent","pageExtraFns","bindProperties","weappComponentConf","isPage","properties","defaultParams","observer","newVal","oldVal","initComponent","apply","propsManager","bindBehaviors","behaviors","bindStaticOptions","options","bindMultipleSlots","multipleSlots","bindStaticFns","excludes","processEvent","eventHandlerName","event","preventDefault","stopPropagation","currentTarget","detail","scope","callScope","isAnonymousFn","realArgs","detailArgs","datasetArgs","isScopeBinded","dataset","bindArgs","eventType","toLocaleLowerCase","keyLower","replace","argName","__arguments","shift","sort","_scope","bindEvents","events","methods","propsFromPropsManager","curAllProps","newProps","filterParams","paramName","componentTrigger","refs","ref","commitAttachRef","index","_disableEffect","_createData","state","_dirty","_disable","getState","$router","params","_pendingStates","_pendingCallbacks","detachAllRef","mountComponent","createComponent","initData","componentProps","componentInstance","_constructor","warn","created","$componentType","_init","render","__propTypes","propTypes","attached","hasParamsCache","preload","$preloadData","ready","__mounted","detached","hooks","hook","cleanup","$$renderPropsEvents","eventCenter","off","__wxRoute","pageLifetimes","isDEV","hasNewLifecycle","getDerivedStateFromProps","getSnapshotBeforeUpdate","callGetDerivedStateFromProps","newState","partialState","callGetSnapshotBeforeUpdate","snapshot","names","match","prevProps","componentWillReceiveProps","prevState","stateFromProps","skip","shouldComponentUpdate","_isForceUpdate","componentWillUpdate","doUpdate","__componentWillMountTriggered","injectContextType","ctxType","contextType","context","emitter","_defaultValue","_hasContext","on","_","enqueueRender","invokeEffects","$usedState","_data","safeGet","safeSet","dataDiff","getIsUsingDiff","cbs","cb","prevRef","componentDidUpdate","setData","items","isForceUpdate","rerender","list","BaseComponent","$prefix","isTaroComponent","callback","forceUpdateCallback","stateClone","__data","queue","concat","nextState","preloadData","keyChain","reduxFnPrefix","reduxFnName","__isCustomEvt","triggerEvent","PureComponent","Component","createApp","AppClass","app","weappAppConf","onLaunch","$app","componentWillMount","componentDidMount","onShow","componentDidShow","onHide","componentDidHide","onError","componentDidCatchError","onPageNotFound","componentDidNotFound","RequestQueue","MAX_REQUEST","pendingQueue","request","run","successFn","success","failFn","fail","filter","taroInterceptor","chain","requestParams","link","Link","url","originSuccess","originFail","originComplete","requestTask","Promise","resolve","reject","abort","onHeadersReceived","offHeadersReceived","processApis","taro","weApis","onAndSyncApis","noPromiseApis","otherApis","useDataCacheApis","task","componentWillPreload","MarkIndex","hasMark","urlQueryStr","substring","then","progress","onProgressUpdate","headersReceived","argsLen","newArgs","lastArg","pxTransform","config","designWidth","deviceRatio","parseInt","canIUseWebp","getSystemInfoSync","platform","platformLower","toLowerCase","wxCloud","wxC","cloud","wxcloud","apiList","wxEnvObj","wxEnv","taroEnv","envList","initNativeApi","addInterceptor","cleanInterceptors","getApp","requirePlugin","initPxTransform","Taro","Events","getEnv","createRef","ENV_TYPE","internal_safe_get","internal_safe_set","internal_inline_style","internal_get_original","handleLoopRef","interceptors","RefsArray","useEffect","useLayoutEffect","useReducer","useState","useDidShow","useDidHide","usePullDownRefresh","useReachBottom","usePageScroll","useResize","useShareAppMessage","useTabItemTap","useRouter","useScope","useRef","useCallback","useMemo","useImperativeHandle","useContext","createContext","memo","setIsUsingDiff"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;AACA,IAAMA,QAAQ,GAAGC,MAAM,CAACC,EAAP,IAAa,UAAUC,CAAV,EAAaC,CAAb,EAAgB;MACxCD,CAAC,KAAKC,CAAV,EAAa;WACJD,CAAC,KAAK,CAAN,IAAW,IAAIA,CAAJ,KAAU,IAAIC,CAAhC;;;SAEKD,CAAC,KAAKA,CAAN,IAAWC,CAAC,KAAKA,CAAxB;CAJF;;AAOA,AAAe,SAASC,YAAT,CAAuBC,IAAvB,EAA6BC,IAA7B,EAAmC;MAC5C,QAAOD,IAAP,MAAgB,QAAhB,IAA4B,QAAOC,IAAP,MAAgB,QAAhD,EAA0D;WACjDD,IAAI,KAAKC,IAAhB;;;MAGED,IAAI,KAAK,IAAT,IAAiBC,IAAI,KAAK,IAA9B,EAAoC;WAC3B,IAAP;;;MAEED,IAAI,KAAK,IAAT,IAAiBC,IAAI,KAAK,IAA9B,EAAoC;WAC3B,KAAP;;;MAEEP,QAAQ,CAACM,IAAD,EAAOC,IAAP,CAAZ,EAA0B;WACjB,IAAP;;;MAEIC,QAAQ,GAAGF,IAAI,GAAGL,MAAM,CAACQ,IAAP,CAAYH,IAAZ,CAAH,GAAuB,EAA5C;MACMI,QAAQ,GAAGH,IAAI,GAAGN,MAAM,CAACQ,IAAP,CAAYF,IAAZ,CAAH,GAAuB,E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