UNPKG

taro-virtual-list

Version:
2,007 lines (1,665 loc) 153 kB
require("./runtime"); require("./vendors"); require("./taro"); (wx["webpackJsonp"] = wx["webpackJsonp"] || []).push([["app"],{ /***/ "./node_modules/babel-loader/lib/index.js!./src/app.tsx": /*!*****************************************************!*\ !*** ./node_modules/babel-loader/lib!./src/app.tsx ***! \*****************************************************/ /*! exports provided: default */ /*! exports used: default */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; /* harmony import */ var _Users_boyang_learning_Taro_taro3_virtual_list_node_modules_babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./node_modules/@babel/runtime/helpers/esm/classCallCheck */ "./node_modules/@babel/runtime/helpers/esm/classCallCheck.js"); /* harmony import */ var _Users_boyang_learning_Taro_taro3_virtual_list_node_modules_babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./node_modules/@babel/runtime/helpers/esm/createClass */ "./node_modules/@babel/runtime/helpers/esm/createClass.js"); /* harmony import */ var _Users_boyang_learning_Taro_taro3_virtual_list_node_modules_babel_runtime_helpers_esm_inherits__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./node_modules/@babel/runtime/helpers/esm/inherits */ "./node_modules/@babel/runtime/helpers/esm/inherits.js"); /* harmony import */ var _Users_boyang_learning_Taro_taro3_virtual_list_node_modules_babel_runtime_helpers_esm_createSuper__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./node_modules/@babel/runtime/helpers/esm/createSuper */ "./node_modules/@babel/runtime/helpers/esm/createSuper.js"); /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! react */ "./node_modules/react/cjs/react.production.min.js"); /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_4__); var App = /*#__PURE__*/function (_Component) { Object(_Users_boyang_learning_Taro_taro3_virtual_list_node_modules_babel_runtime_helpers_esm_inherits__WEBPACK_IMPORTED_MODULE_2__[/* default */ "a"])(App, _Component); var _super = Object(_Users_boyang_learning_Taro_taro3_virtual_list_node_modules_babel_runtime_helpers_esm_createSuper__WEBPACK_IMPORTED_MODULE_3__[/* default */ "a"])(App); function App() { Object(_Users_boyang_learning_Taro_taro3_virtual_list_node_modules_babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_0__[/* default */ "a"])(this, App); return _super.apply(this, arguments); } Object(_Users_boyang_learning_Taro_taro3_virtual_list_node_modules_babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_1__[/* default */ "a"])(App, [{ key: "render", value: // 在 App 类中的 render() 函数没有实际作用 // 请勿修改此函数 function render() { // eslint-disable-next-line react/prop-types return this.props.children; } }]); return App; }(react__WEBPACK_IMPORTED_MODULE_4__["Component"]); /* harmony default export */ __webpack_exports__["a"] = (App); /***/ }), /***/ "./node_modules/react-reconciler/cjs/react-reconciler.production.min.js": /*!******************************************************************************!*\ !*** ./node_modules/react-reconciler/cjs/react-reconciler.production.min.js ***! \******************************************************************************/ /*! no static exports found */ /*! exports used: default */ /***/ (function(module, exports, __webpack_require__) { /* WEBPACK VAR INJECTION */(function(module) {var _typeof = __webpack_require__(/*! ./node_modules/@babel/runtime/helpers/typeof */ "./node_modules/@babel/runtime/helpers/typeof.js"); /** @license React v0.26.1 * react-reconciler.production.min.js * * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ module.exports = function $$$reconciler($$$hostConfig) { var exports = {}; 'use strict'; var aa = __webpack_require__(/*! object-assign */ "./node_modules/object-assign/index.js"), ba = __webpack_require__(/*! react */ "./node_modules/react/cjs/react.production.min.js"), m = __webpack_require__(/*! scheduler */ "./node_modules/scheduler/cjs/scheduler.production.min.js"); function q(a) { for (var b = "https://reactjs.org/docs/error-decoder.html?invariant=" + a, c = 1; c < arguments.length; c++) { b += "&args[]=" + encodeURIComponent(arguments[c]); } return "Minified React error #" + a + "; visit " + b + " for the full message or use the non-minified dev environment for full errors and additional helpful warnings."; } var ca = ba.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED, da = 60103, ea = 60106, fa = 60107, ha = 60108, ia = 60114, ja = 60109, ka = 60110, la = 60112, ma = 60113, na = 60120, oa = 60115, pa = 60116, qa = 60121, ra = 60129, sa = 60130, ta = 60131; if ("function" === typeof Symbol && Symbol.for) { var r = Symbol.for; da = r("react.element"); ea = r("react.portal"); fa = r("react.fragment"); ha = r("react.strict_mode"); ia = r("react.profiler"); ja = r("react.provider"); ka = r("react.context"); la = r("react.forward_ref"); ma = r("react.suspense"); na = r("react.suspense_list"); oa = r("react.memo"); pa = r("react.lazy"); qa = r("react.block"); r("react.scope"); ra = r("react.debug_trace_mode"); sa = r("react.offscreen"); ta = r("react.legacy_hidden"); } var ua = "function" === typeof Symbol && Symbol.iterator; function va(a) { if (null === a || "object" !== _typeof(a)) return null; a = ua && a[ua] || a["@@iterator"]; return "function" === typeof a ? a : null; } function wa(a) { if (null == a) return null; if ("function" === typeof a) return a.displayName || a.name || null; if ("string" === typeof a) return a; switch (a) { case fa: return "Fragment"; case ea: return "Portal"; case ia: return "Profiler"; case ha: return "StrictMode"; case ma: return "Suspense"; case na: return "SuspenseList"; } if ("object" === _typeof(a)) switch (a.$$typeof) { case ka: return (a.displayName || "Context") + ".Consumer"; case ja: return (a._context.displayName || "Context") + ".Provider"; case la: var b = a.render; b = b.displayName || b.name || ""; return a.displayName || ("" !== b ? "ForwardRef(" + b + ")" : "ForwardRef"); case oa: return wa(a.type); case qa: return wa(a._render); case pa: b = a._payload; a = a._init; try { return wa(a(b)); } catch (c) {} } return null; } function xa(a) { var b = a, c = a; if (a.alternate) for (; b.return;) { b = b.return; } else { a = b; do { b = a, 0 !== (b.flags & 1026) && (c = b.return), a = b.return; } while (a); } return 3 === b.tag ? c : null; } function ya(a) { if (xa(a) !== a) throw Error(q(188)); } function za(a) { var b = a.alternate; if (!b) { b = xa(a); if (null === b) throw Error(q(188)); return b !== a ? null : a; } for (var c = a, d = b;;) { var e = c.return; if (null === e) break; var f = e.alternate; if (null === f) { d = e.return; if (null !== d) { c = d; continue; } break; } if (e.child === f.child) { for (f = e.child; f;) { if (f === c) return ya(e), a; if (f === d) return ya(e), b; f = f.sibling; } throw Error(q(188)); } if (c.return !== d.return) c = e, d = f;else { for (var g = !1, h = e.child; h;) { if (h === c) { g = !0; c = e; d = f; break; } if (h === d) { g = !0; d = e; c = f; break; } h = h.sibling; } if (!g) { for (h = f.child; h;) { if (h === c) { g = !0; c = f; d = e; break; } if (h === d) { g = !0; d = f; c = e; break; } h = h.sibling; } if (!g) throw Error(q(189)); } } if (c.alternate !== d) throw Error(q(190)); } if (3 !== c.tag) throw Error(q(188)); return c.stateNode.current === c ? a : b; } function Aa(a) { a = za(a); if (!a) return null; for (var b = a;;) { if (5 === b.tag || 6 === b.tag) return b; if (b.child) b.child.return = b, b = b.child;else { if (b === a) break; for (; !b.sibling;) { if (!b.return || b.return === a) return null; b = b.return; } b.sibling.return = b.return; b = b.sibling; } } return null; } function Ba(a) { a = za(a); if (!a) return null; for (var b = a;;) { if (5 === b.tag || 6 === b.tag) return b; if (b.child && 4 !== b.tag) b.child.return = b, b = b.child;else { if (b === a) break; for (; !b.sibling;) { if (!b.return || b.return === a) return null; b = b.return; } b.sibling.return = b.return; b = b.sibling; } } return null; } function Ca(a, b) { for (var c = a.alternate; null !== b;) { if (b === a || b === c) return !0; b = b.return; } return !1; } var Da = $$$hostConfig.getPublicInstance, Ea = $$$hostConfig.getRootHostContext, Fa = $$$hostConfig.getChildHostContext, Ga = $$$hostConfig.prepareForCommit, Ha = $$$hostConfig.resetAfterCommit, Ia = $$$hostConfig.createInstance, Ja = $$$hostConfig.appendInitialChild, Ka = $$$hostConfig.finalizeInitialChildren, La = $$$hostConfig.prepareUpdate, Ma = $$$hostConfig.shouldSetTextContent, Na = $$$hostConfig.createTextInstance, Pa = $$$hostConfig.scheduleTimeout, Qa = $$$hostConfig.cancelTimeout, Ra = $$$hostConfig.noTimeout, Sa = $$$hostConfig.isPrimaryRenderer, Ta = $$$hostConfig.supportsMutation, Ua = $$$hostConfig.supportsPersistence, Va = $$$hostConfig.supportsHydration, Wa = $$$hostConfig.getInstanceFromNode, Xa = $$$hostConfig.makeOpaqueHydratingObject, Ya = $$$hostConfig.makeClientId, Za = $$$hostConfig.beforeActiveInstanceBlur, $a = $$$hostConfig.afterActiveInstanceBlur, ab = $$$hostConfig.preparePortalMount, bb = $$$hostConfig.supportsTestSelectors, cb = $$$hostConfig.findFiberRoot, db = $$$hostConfig.getBoundingRect, eb = $$$hostConfig.getTextContent, fb = $$$hostConfig.isHiddenSubtree, gb = $$$hostConfig.matchAccessibilityRole, hb = $$$hostConfig.setFocusIfFocusable, ib = $$$hostConfig.setupIntersectionObserver, jb = $$$hostConfig.appendChild, kb = $$$hostConfig.appendChildToContainer, lb = $$$hostConfig.commitTextUpdate, mb = $$$hostConfig.commitMount, nb = $$$hostConfig.commitUpdate, ob = $$$hostConfig.insertBefore, pb = $$$hostConfig.insertInContainerBefore, qb = $$$hostConfig.removeChild, rb = $$$hostConfig.removeChildFromContainer, sb = $$$hostConfig.resetTextContent, tb = $$$hostConfig.hideInstance, ub = $$$hostConfig.hideTextInstance, vb = $$$hostConfig.unhideInstance, wb = $$$hostConfig.unhideTextInstance, xb = $$$hostConfig.clearContainer, yb = $$$hostConfig.cloneInstance, zb = $$$hostConfig.createContainerChildSet, Ab = $$$hostConfig.appendChildToContainerChildSet, Bb = $$$hostConfig.finalizeContainerChildren, Cb = $$$hostConfig.replaceContainerChildren, Db = $$$hostConfig.cloneHiddenInstance, Eb = $$$hostConfig.cloneHiddenTextInstance, Fb = $$$hostConfig.canHydrateInstance, Gb = $$$hostConfig.canHydrateTextInstance, Hb = $$$hostConfig.isSuspenseInstancePending, Ib = $$$hostConfig.isSuspenseInstanceFallback, Jb = $$$hostConfig.getNextHydratableSibling, Kb = $$$hostConfig.getFirstHydratableChild, Lb = $$$hostConfig.hydrateInstance, Mb = $$$hostConfig.hydrateTextInstance, Nb = $$$hostConfig.getNextHydratableInstanceAfterSuspenseInstance, Ob = $$$hostConfig.commitHydratedContainer, Pb = $$$hostConfig.commitHydratedSuspenseInstance, Qb; function Rb(a) { if (void 0 === Qb) try { throw Error(); } catch (c) { var b = c.stack.trim().match(/\n( *(at )?)/); Qb = b && b[1] || ""; } return "\n" + Qb + a; } var Sb = !1; function Tb(a, b) { if (!a || Sb) return ""; Sb = !0; var c = Error.prepareStackTrace; Error.prepareStackTrace = void 0; try { if (b) { if (b = function b() { throw Error(); }, Object.defineProperty(b.prototype, "props", { set: function set() { throw Error(); } }), "object" === (typeof Reflect === "undefined" ? "undefined" : _typeof(Reflect)) && Reflect.construct) { try { Reflect.construct(b, []); } catch (k) { var d = k; } Reflect.construct(a, [], b); } else { try { b.call(); } catch (k) { d = k; } a.call(b.prototype); } } else { try { throw Error(); } catch (k) { d = k; } a(); } } catch (k) { if (k && d && "string" === typeof k.stack) { for (var e = k.stack.split("\n"), f = d.stack.split("\n"), g = e.length - 1, h = f.length - 1; 1 <= g && 0 <= h && e[g] !== f[h];) { h--; } for (; 1 <= g && 0 <= h; g--, h--) { if (e[g] !== f[h]) { if (1 !== g || 1 !== h) { do { if (g--, h--, 0 > h || e[g] !== f[h]) return "\n" + e[g].replace(" at new ", " at "); } while (1 <= g && 0 <= h); } break; } } } } finally { Sb = !1, Error.prepareStackTrace = c; } return (a = a ? a.displayName || a.name : "") ? Rb(a) : ""; } var Ub = [], Vb = -1; function Wb(a) { return { current: a }; } function z(a) { 0 > Vb || (a.current = Ub[Vb], Ub[Vb] = null, Vb--); } function A(a, b) { Vb++; Ub[Vb] = a.current; a.current = b; } var Xb = {}, B = Wb(Xb), D = Wb(!1), Yb = Xb; function Zb(a, b) { var c = a.type.contextTypes; if (!c) return Xb; var d = a.stateNode; if (d && d.__reactInternalMemoizedUnmaskedChildContext === b) return d.__reactInternalMemoizedMaskedChildContext; var e = {}, f; for (f in c) { e[f] = b[f]; } d && (a = a.stateNode, a.__reactInternalMemoizedUnmaskedChildContext = b, a.__reactInternalMemoizedMaskedChildContext = e); return e; } function E(a) { a = a.childContextTypes; return null !== a && void 0 !== a; } function $b() { z(D); z(B); } function ac(a, b, c) { if (B.current !== Xb) throw Error(q(168)); A(B, b); A(D, c); } function bc(a, b, c) { var d = a.stateNode; a = b.childContextTypes; if ("function" !== typeof d.getChildContext) return c; d = d.getChildContext(); for (var e in d) { if (!(e in a)) throw Error(q(108, wa(b) || "Unknown", e)); } return aa({}, c, d); } function cc(a) { a = (a = a.stateNode) && a.__reactInternalMemoizedMergedChildContext || Xb; Yb = B.current; A(B, a); A(D, D.current); return !0; } function dc(a, b, c) { var d = a.stateNode; if (!d) throw Error(q(169)); c ? (a = bc(a, b, Yb), d.__reactInternalMemoizedMergedChildContext = a, z(D), z(B), A(B, a)) : z(D); A(D, c); } var ec = null, fc = null, gc = m.unstable_now; gc(); var hc = 0, F = 8; function ic(a) { if (0 !== (1 & a)) return F = 15, 1; if (0 !== (2 & a)) return F = 14, 2; if (0 !== (4 & a)) return F = 13, 4; var b = 24 & a; if (0 !== b) return F = 12, b; if (0 !== (a & 32)) return F = 11, 32; b = 192 & a; if (0 !== b) return F = 10, b; if (0 !== (a & 256)) return F = 9, 256; b = 3584 & a; if (0 !== b) return F = 8, b; if (0 !== (a & 4096)) return F = 7, 4096; b = 4186112 & a; if (0 !== b) return F = 6, b; b = 62914560 & a; if (0 !== b) return F = 5, b; if (a & 67108864) return F = 4, 67108864; if (0 !== (a & 134217728)) return F = 3, 134217728; b = 805306368 & a; if (0 !== b) return F = 2, b; if (0 !== (1073741824 & a)) return F = 1, 1073741824; F = 8; return a; } function jc(a) { switch (a) { case 99: return 15; case 98: return 10; case 97: case 96: return 8; case 95: return 2; default: return 0; } } function kc(a) { switch (a) { case 15: case 14: return 99; case 13: case 12: case 11: case 10: return 98; case 9: case 8: case 7: case 6: case 4: case 5: return 97; case 3: case 2: case 1: return 95; case 0: return 90; default: throw Error(q(358, a)); } } function lc(a, b) { var c = a.pendingLanes; if (0 === c) return F = 0; var d = 0, e = 0, f = a.expiredLanes, g = a.suspendedLanes, h = a.pingedLanes; if (0 !== f) d = f, e = F = 15;else if (f = c & 134217727, 0 !== f) { var k = f & ~g; 0 !== k ? (d = ic(k), e = F) : (h &= f, 0 !== h && (d = ic(h), e = F)); } else f = c & ~g, 0 !== f ? (d = ic(f), e = F) : 0 !== h && (d = ic(h), e = F); if (0 === d) return 0; d = 31 - mc(d); d = c & ((0 > d ? 0 : 1 << d) << 1) - 1; if (0 !== b && b !== d && 0 === (b & g)) { ic(b); if (e <= F) return b; F = e; } b = a.entangledLanes; if (0 !== b) for (a = a.entanglements, b &= d; 0 < b;) { c = 31 - mc(b), e = 1 << c, d |= a[c], b &= ~e; } return d; } function nc(a) { a = a.pendingLanes & -1073741825; return 0 !== a ? a : a & 1073741824 ? 1073741824 : 0; } function oc(a, b) { switch (a) { case 15: return 1; case 14: return 2; case 12: return a = pc(24 & ~b), 0 === a ? oc(10, b) : a; case 10: return a = pc(192 & ~b), 0 === a ? oc(8, b) : a; case 8: return a = pc(3584 & ~b), 0 === a && (a = pc(4186112 & ~b), 0 === a && (a = 512)), a; case 2: return b = pc(805306368 & ~b), 0 === b && (b = 268435456), b; } throw Error(q(358, a)); } function pc(a) { return a & -a; } function qc(a) { for (var b = [], c = 0; 31 > c; c++) { b.push(a); } return b; } function rc(a, b, c) { a.pendingLanes |= b; var d = b - 1; a.suspendedLanes &= d; a.pingedLanes &= d; a = a.eventTimes; b = 31 - mc(b); a[b] = c; } var mc = Math.clz32 ? Math.clz32 : sc, tc = Math.log, uc = Math.LN2; function sc(a) { return 0 === a ? 32 : 31 - (tc(a) / uc | 0) | 0; } var vc = m.unstable_runWithPriority, wc = m.unstable_scheduleCallback, xc = m.unstable_cancelCallback, yc = m.unstable_shouldYield, zc = m.unstable_requestPaint, Ac = m.unstable_now, Bc = m.unstable_getCurrentPriorityLevel, Cc = m.unstable_ImmediatePriority, Dc = m.unstable_UserBlockingPriority, Ec = m.unstable_NormalPriority, Fc = m.unstable_LowPriority, Gc = m.unstable_IdlePriority, Hc = {}, Ic = void 0 !== zc ? zc : function () {}, Jc = null, Kc = null, Lc = !1, Mc = Ac(), G = 1E4 > Mc ? Ac : function () { return Ac() - Mc; }; function Nc() { switch (Bc()) { case Cc: return 99; case Dc: return 98; case Ec: return 97; case Fc: return 96; case Gc: return 95; default: throw Error(q(332)); } } function Oc(a) { switch (a) { case 99: return Cc; case 98: return Dc; case 97: return Ec; case 96: return Fc; case 95: return Gc; default: throw Error(q(332)); } } function Pc(a, b) { a = Oc(a); return vc(a, b); } function Qc(a, b, c) { a = Oc(a); return wc(a, b, c); } function H() { if (null !== Kc) { var a = Kc; Kc = null; xc(a); } Rc(); } function Rc() { if (!Lc && null !== Jc) { Lc = !0; var a = 0; try { var b = Jc; Pc(99, function () { for (; a < b.length; a++) { var c = b[a]; do { c = c(!0); } while (null !== c); } }); Jc = null; } catch (c) { throw null !== Jc && (Jc = Jc.slice(a + 1)), wc(Cc, H), c; } finally { Lc = !1; } } } var Sc = ca.ReactCurrentBatchConfig; function Tc(a, b) { return a === b && (0 !== a || 1 / a === 1 / b) || a !== a && b !== b; } var I = "function" === typeof Object.is ? Object.is : Tc, Uc = Object.prototype.hasOwnProperty; function Vc(a, b) { if (I(a, b)) return !0; if ("object" !== _typeof(a) || null === a || "object" !== _typeof(b) || null === b) return !1; var c = Object.keys(a), d = Object.keys(b); if (c.length !== d.length) return !1; for (d = 0; d < c.length; d++) { if (!Uc.call(b, c[d]) || !I(a[c[d]], b[c[d]])) return !1; } return !0; } function Wc(a) { switch (a.tag) { case 5: return Rb(a.type); case 16: return Rb("Lazy"); case 13: return Rb("Suspense"); case 19: return Rb("SuspenseList"); case 0: case 2: case 15: return a = Tb(a.type, !1), a; case 11: return a = Tb(a.type.render, !1), a; case 22: return a = Tb(a.type._render, !1), a; case 1: return a = Tb(a.type, !0), a; default: return ""; } } function Xc(a, b) { if (a && a.defaultProps) { b = aa({}, b); a = a.defaultProps; for (var c in a) { void 0 === b[c] && (b[c] = a[c]); } return b; } return b; } var Yc = Wb(null), Zc = null, $c = null, ad = null; function bd() { ad = $c = Zc = null; } function cd(a, b) { a = a.type._context; Sa ? (A(Yc, a._currentValue), a._currentValue = b) : (A(Yc, a._currentValue2), a._currentValue2 = b); } function dd(a) { var b = Yc.current; z(Yc); a = a.type._context; Sa ? a._currentValue = b : a._currentValue2 = b; } function ed(a, b) { for (; null !== a;) { var c = a.alternate; if ((a.childLanes & b) === b) { if (null === c || (c.childLanes & b) === b) break;else c.childLanes |= b; } else a.childLanes |= b, null !== c && (c.childLanes |= b); a = a.return; } } function fd(a, b) { Zc = a; ad = $c = null; a = a.dependencies; null !== a && null !== a.firstContext && (0 !== (a.lanes & b) && (gd = !0), a.firstContext = null); } function J(a, b) { if (ad !== a && !1 !== b && 0 !== b) { if ("number" !== typeof b || 1073741823 === b) ad = a, b = 1073741823; b = { context: a, observedBits: b, next: null }; if (null === $c) { if (null === Zc) throw Error(q(308)); $c = b; Zc.dependencies = { lanes: 0, firstContext: b, responders: null }; } else $c = $c.next = b; } return Sa ? a._currentValue : a._currentValue2; } var hd = !1; function id(a) { a.updateQueue = { baseState: a.memoizedState, firstBaseUpdate: null, lastBaseUpdate: null, shared: { pending: null }, effects: null }; } function jd(a, b) { a = a.updateQueue; b.updateQueue === a && (b.updateQueue = { baseState: a.baseState, firstBaseUpdate: a.firstBaseUpdate, lastBaseUpdate: a.lastBaseUpdate, shared: a.shared, effects: a.effects }); } function kd(a, b) { return { eventTime: a, lane: b, tag: 0, payload: null, callback: null, next: null }; } function md(a, b) { a = a.updateQueue; if (null !== a) { a = a.shared; var c = a.pending; null === c ? b.next = b : (b.next = c.next, c.next = b); a.pending = b; } } function nd(a, b) { var c = a.updateQueue, d = a.alternate; if (null !== d && (d = d.updateQueue, c === d)) { var e = null, f = null; c = c.firstBaseUpdate; if (null !== c) { do { var g = { eventTime: c.eventTime, lane: c.lane, tag: c.tag, payload: c.payload, callback: c.callback, next: null }; null === f ? e = f = g : f = f.next = g; c = c.next; } while (null !== c); null === f ? e = f = b : f = f.next = b; } else e = f = b; c = { baseState: d.baseState, firstBaseUpdate: e, lastBaseUpdate: f, shared: d.shared, effects: d.effects }; a.updateQueue = c; return; } a = c.lastBaseUpdate; null === a ? c.firstBaseUpdate = b : a.next = b; c.lastBaseUpdate = b; } function od(a, b, c, d) { var e = a.updateQueue; hd = !1; var f = e.firstBaseUpdate, g = e.lastBaseUpdate, h = e.shared.pending; if (null !== h) { e.shared.pending = null; var k = h, l = k.next; k.next = null; null === g ? f = l : g.next = l; g = k; var n = a.alternate; if (null !== n) { n = n.updateQueue; var t = n.lastBaseUpdate; t !== g && (null === t ? n.firstBaseUpdate = l : t.next = l, n.lastBaseUpdate = k); } } if (null !== f) { t = e.baseState; g = 0; n = l = k = null; do { h = f.lane; var p = f.eventTime; if ((d & h) === h) { null !== n && (n = n.next = { eventTime: p, lane: 0, tag: f.tag, payload: f.payload, callback: f.callback, next: null }); a: { var y = a, x = f; h = b; p = c; switch (x.tag) { case 1: y = x.payload; if ("function" === typeof y) { t = y.call(p, t, h); break a; } t = y; break a; case 3: y.flags = y.flags & -4097 | 64; case 0: y = x.payload; h = "function" === typeof y ? y.call(p, t, h) : y; if (null === h || void 0 === h) break a; t = aa({}, t, h); break a; case 2: hd = !0; } } null !== f.callback && (a.flags |= 32, h = e.effects, null === h ? e.effects = [f] : h.push(f)); } else p = { eventTime: p, lane: h, tag: f.tag, payload: f.payload, callback: f.callback, next: null }, null === n ? (l = n = p, k = t) : n = n.next = p, g |= h; f = f.next; if (null === f) if (h = e.shared.pending, null === h) break;else f = h.next, h.next = null, e.lastBaseUpdate = h, e.shared.pending = null; } while (1); null === n && (k = t); e.baseState = k; e.firstBaseUpdate = l; e.lastBaseUpdate = n; pd |= g; a.lanes = g; a.memoizedState = t; } } function qd(a, b, c) { a = b.effects; b.effects = null; if (null !== a) for (b = 0; b < a.length; b++) { var d = a[b], e = d.callback; if (null !== e) { d.callback = null; d = c; if ("function" !== typeof e) throw Error(q(191, e)); e.call(d); } } } var rd = new ba.Component().refs; function sd(a, b, c, d) { b = a.memoizedState; c = c(d, b); c = null === c || void 0 === c ? b : aa({}, b, c); a.memoizedState = c; 0 === a.lanes && (a.updateQueue.baseState = c); } var vd = { isMounted: function isMounted(a) { return (a = a._reactInternals) ? xa(a) === a : !1; }, enqueueSetState: function enqueueSetState(a, b, c) { a = a._reactInternals; var d = K(), e = td(a), f = kd(d, e); f.payload = b; void 0 !== c && null !== c && (f.callback = c); md(a, f); ud(a, e, d); }, enqueueReplaceState: function enqueueReplaceState(a, b, c) { a = a._reactInternals; var d = K(), e = td(a), f = kd(d, e); f.tag = 1; f.payload = b; void 0 !== c && null !== c && (f.callback = c); md(a, f); ud(a, e, d); }, enqueueForceUpdate: function enqueueForceUpdate(a, b) { a = a._reactInternals; var c = K(), d = td(a), e = kd(c, d); e.tag = 2; void 0 !== b && null !== b && (e.callback = b); md(a, e); ud(a, d, c); } }; function wd(a, b, c, d, e, f, g) { a = a.stateNode; return "function" === typeof a.shouldComponentUpdate ? a.shouldComponentUpdate(d, f, g) : b.prototype && b.prototype.isPureReactComponent ? !Vc(c, d) || !Vc(e, f) : !0; } function xd(a, b, c) { var d = !1, e = Xb; var f = b.contextType; "object" === _typeof(f) && null !== f ? f = J(f) : (e = E(b) ? Yb : B.current, d = b.contextTypes, f = (d = null !== d && void 0 !== d) ? Zb(a, e) : Xb); b = new b(c, f); a.memoizedState = null !== b.state && void 0 !== b.state ? b.state : null; b.updater = vd; a.stateNode = b; b._reactInternals = a; d && (a = a.stateNode, a.__reactInternalMemoizedUnmaskedChildContext = e, a.__reactInternalMemoizedMaskedChildContext = f); return b; } function yd(a, b, c, d) { a = b.state; "function" === typeof b.componentWillReceiveProps && b.componentWillReceiveProps(c, d); "function" === typeof b.UNSAFE_componentWillReceiveProps && b.UNSAFE_componentWillReceiveProps(c, d); b.state !== a && vd.enqueueReplaceState(b, b.state, null); } function zd(a, b, c, d) { var e = a.stateNode; e.props = c; e.state = a.memoizedState; e.refs = rd; id(a); var f = b.contextType; "object" === _typeof(f) && null !== f ? e.context = J(f) : (f = E(b) ? Yb : B.current, e.context = Zb(a, f)); od(a, c, e, d); e.state = a.memoizedState; f = b.getDerivedStateFromProps; "function" === typeof f && (sd(a, b, f, c), e.state = a.memoizedState); "function" === typeof b.getDerivedStateFromProps || "function" === typeof e.getSnapshotBeforeUpdate || "function" !== typeof e.UNSAFE_componentWillMount && "function" !== typeof e.componentWillMount || (b = e.state, "function" === typeof e.componentWillMount && e.componentWillMount(), "function" === typeof e.UNSAFE_componentWillMount && e.UNSAFE_componentWillMount(), b !== e.state && vd.enqueueReplaceState(e, e.state, null), od(a, c, e, d), e.state = a.memoizedState); "function" === typeof e.componentDidMount && (a.flags |= 4); } var Ad = Array.isArray; function Bd(a, b, c) { a = c.ref; if (null !== a && "function" !== typeof a && "object" !== _typeof(a)) { if (c._owner) { c = c._owner; if (c) { if (1 !== c.tag) throw Error(q(309)); var d = c.stateNode; } if (!d) throw Error(q(147, a)); var e = "" + a; if (null !== b && null !== b.ref && "function" === typeof b.ref && b.ref._stringRef === e) return b.ref; b = function b(a) { var b = d.refs; b === rd && (b = d.refs = {}); null === a ? delete b[e] : b[e] = a; }; b._stringRef = e; return b; } if ("string" !== typeof a) throw Error(q(284)); if (!c._owner) throw Error(q(290, a)); } return a; } function Cd(a, b) { if ("textarea" !== a.type) throw Error(q(31, "[object Object]" === Object.prototype.toString.call(b) ? "object with keys {" + Object.keys(b).join(", ") + "}" : b)); } function Dd(a) { function b(b, c) { if (a) { var d = b.lastEffect; null !== d ? (d.nextEffect = c, b.lastEffect = c) : b.firstEffect = b.lastEffect = c; c.nextEffect = null; c.flags = 8; } } function c(c, d) { if (!a) return null; for (; null !== d;) { b(c, d), d = d.sibling; } return null; } function d(a, b) { for (a = new Map(); null !== b;) { null !== b.key ? a.set(b.key, b) : a.set(b.index, b), b = b.sibling; } return a; } function e(a, b) { a = Ed(a, b); a.index = 0; a.sibling = null; return a; } function f(b, c, d) { b.index = d; if (!a) return c; d = b.alternate; if (null !== d) return d = d.index, d < c ? (b.flags = 2, c) : d; b.flags = 2; return c; } function g(b) { a && null === b.alternate && (b.flags = 2); return b; } function h(a, b, c, d) { if (null === b || 6 !== b.tag) return b = Fd(c, a.mode, d), b.return = a, b; b = e(b, c); b.return = a; return b; } function k(a, b, c, d) { if (null !== b && b.elementType === c.type) return d = e(b, c.props), d.ref = Bd(a, b, c), d.return = a, d; d = Gd(c.type, c.key, c.props, null, a.mode, d); d.ref = Bd(a, b, c); d.return = a; return d; } function l(a, b, c, d) { if (null === b || 4 !== b.tag || b.stateNode.containerInfo !== c.containerInfo || b.stateNode.implementation !== c.implementation) return b = Hd(c, a.mode, d), b.return = a, b; b = e(b, c.children || []); b.return = a; return b; } function n(a, b, c, d, f) { if (null === b || 7 !== b.tag) return b = Id(c, a.mode, d, f), b.return = a, b; b = e(b, c); b.return = a; return b; } function t(a, b, c) { if ("string" === typeof b || "number" === typeof b) return b = Fd("" + b, a.mode, c), b.return = a, b; if ("object" === _typeof(b) && null !== b) { switch (b.$$typeof) { case da: return c = Gd(b.type, b.key, b.props, null, a.mode, c), c.ref = Bd(a, null, b), c.return = a, c; case ea: return b = Hd(b, a.mode, c), b.return = a, b; } if (Ad(b) || va(b)) return b = Id(b, a.mode, c, null), b.return = a, b; Cd(a, b); } return null; } function p(a, b, c, d) { var e = null !== b ? b.key : null; if ("string" === typeof c || "number" === typeof c) return null !== e ? null : h(a, b, "" + c, d); if ("object" === _typeof(c) && null !== c) { switch (c.$$typeof) { case da: return c.key === e ? c.type === fa ? n(a, b, c.props.children, d, e) : k(a, b, c, d) : null; case ea: return c.key === e ? l(a, b, c, d) : null; } if (Ad(c) || va(c)) return null !== e ? null : n(a, b, c, d, null); Cd(a, c); } return null; } function y(a, b, c, d, e) { if ("string" === typeof d || "number" === typeof d) return a = a.get(c) || null, h(b, a, "" + d, e); if ("object" === _typeof(d) && null !== d) { switch (d.$$typeof) { case da: return a = a.get(null === d.key ? c : d.key) || null, d.type === fa ? n(b, a, d.props.children, e, d.key) : k(b, a, d, e); case ea: return a = a.get(null === d.key ? c : d.key) || null, l(b, a, d, e); } if (Ad(d) || va(d)) return a = a.get(c) || null, n(b, a, d, e, null); Cd(b, d); } return null; } function x(e, g, h, k) { for (var l = null, v = null, u = g, C = g = 0, n = null; null !== u && C < h.length; C++) { u.index > C ? (n = u, u = null) : n = u.sibling; var w = p(e, u, h[C], k); if (null === w) { null === u && (u = n); break; } a && u && null === w.alternate && b(e, u); g = f(w, g, C); null === v ? l = w : v.sibling = w; v = w; u = n; } if (C === h.length) return c(e, u), l; if (null === u) { for (; C < h.length; C++) { u = t(e, h[C], k), null !== u && (g = f(u, g, C), null === v ? l = u : v.sibling = u, v = u); } return l; } for (u = d(e, u); C < h.length; C++) { n = y(u, e, C, h[C], k), null !== n && (a && null !== n.alternate && u.delete(null === n.key ? C : n.key), g = f(n, g, C), null === v ? l = n : v.sibling = n, v = n); } a && u.forEach(function (a) { return b(e, a); }); return l; } function Y(e, g, h, k) { var l = va(h); if ("function" !== typeof l) throw Error(q(150)); h = l.call(h); if (null == h) throw Error(q(151)); for (var u = l = null, v = g, n = g = 0, C = null, w = h.next(); null !== v && !w.done; n++, w = h.next()) { v.index > n ? (C = v, v = null) : C = v.sibling; var x = p(e, v, w.value, k); if (null === x) { null === v && (v = C); break; } a && v && null === x.alternate && b(e, v); g = f(x, g, n); null === u ? l = x : u.sibling = x; u = x; v = C; } if (w.done) return c(e, v), l; if (null === v) { for (; !w.done; n++, w = h.next()) { w = t(e, w.value, k), null !== w && (g = f(w, g, n), null === u ? l = w : u.sibling = w, u = w); } return l; } for (v = d(e, v); !w.done; n++, w = h.next()) { w = y(v, e, n, w.value, k), null !== w && (a && null !== w.alternate && v.delete(null === w.key ? n : w.key), g = f(w, g, n), null === u ? l = w : u.sibling = w, u = w); } a && v.forEach(function (a) { return b(e, a); }); return l; } return function (a, d, f, h) { var k = "object" === _typeof(f) && null !== f && f.type === fa && null === f.key; k && (f = f.props.children); var l = "object" === _typeof(f) && null !== f; if (l) switch (f.$$typeof) { case da: a: { l = f.key; for (k = d; null !== k;) { if (k.key === l) { switch (k.tag) { case 7: if (f.type === fa) { c(a, k.sibling); d = e(k, f.props.children); d.return = a; a = d; break a; } break; default: if (k.elementType === f.type) { c(a, k.sibling); d = e(k, f.props); d.ref = Bd(a, k, f); d.return = a; a = d; break a; } } c(a, k); break; } else b(a, k); k = k.sibling; } f.type === fa ? (d = Id(f.props.children, a.mode, h, f.key), d.return = a, a = d) : (h = Gd(f.type, f.key, f.props, null, a.mode, h), h.ref = Bd(a, d, f), h.return = a, a = h); } return g(a); case ea: a: { for (k = f.key; null !== d;) { if (d.key === k) { if (4 === d.tag && d.stateNode.containerInfo === f.containerInfo && d.stateNode.implementation === f.implementation) { c(a, d.sibling); d = e(d, f.children || []); d.return = a; a = d; break a; } else { c(a, d); break; } } else b(a, d); d = d.sibling; } d = Hd(f, a.mode, h); d.return = a; a = d; } return g(a); } if ("string" === typeof f || "number" === typeof f) return f = "" + f, null !== d && 6 === d.tag ? (c(a, d.sibling), d = e(d, f), d.return = a, a = d) : (c(a, d), d = Fd(f, a.mode, h), d.return = a, a = d), g(a); if (Ad(f)) return x(a, d, f, h); if (va(f)) return Y(a, d, f, h); l && Cd(a, f); if ("undefined" === typeof f && !k) switch (a.tag) { case 1: case 22: case 0: case 11: case 15: throw Error(q(152, wa(a.type) || "Component")); } return c(a, d); }; } var Jd = Dd(!0), Kd = Dd(!1), Ld = {}, L = Wb(Ld), Md = Wb(Ld), Nd = Wb(Ld); function Od(a) { if (a === Ld) throw Error(q(174)); return a; } function Pd(a, b) { A(Nd, b); A(Md, a); A(L, Ld); a = Ea(b); z(L); A(L, a); } function Qd() { z(L); z(Md); z(Nd); } function Rd(a) { var b = Od(Nd.current), c = Od(L.current); b = Fa(c, a.type, b); c !== b && (A(Md, a), A(L, b)); } function Sd(a) { Md.current === a && (z(L), z(Md)); } var M = Wb(0); function Td(a) { for (var b = a; null !== b;) { if (13 === b.tag) { var c = b.memoizedState; if (null !== c && (c = c.dehydrated, null === c || Hb(c) || Ib(c))) return b; } else if (19 === b.tag && void 0 !== b.memoizedProps.revealOrder) { if (0 !== (b.flags & 64)) return b; } else if (null !== b.child) { b.child.return = b; b = b.child; continue; } if (b === a) break; for (; null === b.sibling;) { if (null === b.return || b.return === a) return null; b = b.return; } b.sibling.return = b.return; b = b.sibling; } return null; } var Ud = null, Vd = null, Wd = !1; function Xd(a, b) { var c = Yd(5, null, null, 0); c.elementType = "DELETED"; c.type = "DELETED"; c.stateNode = b; c.return = a; c.flags = 8; null !== a.lastEffect ? (a.lastEffect.nextEffect = c, a.lastEffect = c) : a.firstEffect = a.lastEffect = c; } function Zd(a, b) { switch (a.tag) { case 5: return b = Fb(b, a.type, a.pendingProps), null !== b ? (a.stateNode = b, !0) : !1; case 6: return b = Gb(b, a.pendingProps), null !== b ? (a.stateNode = b, !0) : !1; case 13: return !1; default: return !1; } } function $d(a) { if (Wd) { var b = Vd; if (b) { var c = b; if (!Zd(a, b)) { b = Jb(c); if (!b || !Zd(a, b)) { a.flags = a.flags & -1025 | 2; Wd = !1; Ud = a; return; } Xd(Ud, c); } Ud = a; Vd = Kb(b); } else a.flags = a.flags & -1025 | 2, Wd = !1, Ud = a; } } function ae(a) { for (a = a.return; null !== a && 5 !== a.tag && 3 !== a.tag && 13 !== a.tag;) { a = a.return; } Ud = a; } function be(a) { if (!Va || a !== Ud) return !1; if (!Wd) return ae(a), Wd = !0, !1; var b = a.type; if (5 !== a.tag || "head" !== b && "body" !== b && !Ma(b, a.memoizedProps)) for (b = Vd; b;) { Xd(a, b), b = Jb(b); } ae(a); if (13 === a.tag) { if (!Va) throw Error(q(316)); a = a.memoizedState; a = null !== a ? a.dehydrated : null; if (!a) throw Error(q(317)); Vd = Nb(a); } else Vd = Ud ? Jb(a.stateNode) : null; return !0; } function ce() { Va && (Vd = Ud = null, Wd = !1); } var de = []; function ee() { for (var a = 0; a < de.length; a++) { var b = de[a]; Sa ? b._workInProgressVersionPrimary = null : b._workInProgressVersionSecondary = null; } de.length = 0; } var fe = ca.ReactCurrentDispatcher, ge = ca.ReactCurrentBatchConfig, he = 0, N = null, O = null, P = null, ie = !1, je = !1; function Q() { throw Error(q(321)); } function ke(a, b) { if (null === b) return !1; for (var c = 0; c < b.length && c < a.length; c++) { if (!I(a[c], b[c])) return !1; } return !0; } function le(a, b, c, d, e, f) { he = f; N = b; b.memoizedState = null; b.updateQueue = null; b.lanes = 0; fe.current = null === a || null === a.memoizedState ? me : ne; a = c(d, e); if (je) { f = 0; do { je = !1; if (!(25 > f)) throw Error(q(301)); f += 1; P = O = null; b.updateQueue = null; fe.current = oe; a = c(d, e); } while (je); } fe.current = pe; b = null !== O && null !== O.next; he = 0; P = O = N = null; ie = !1; if (b) throw Error(q(300)); return a; } function qe() { var a = { memoizedState: null, baseState: null, baseQueue: null, queue: null, next: null }; null === P ? N.memoizedState = P = a : P = P.next = a; return P; } function re() { if (null === O) { var a = N.alternate; a = null !== a ? a.memoizedState : null; } else a = O.next; var b = null === P ? N.memoizedState : P.next; if (null !== b) P = b, O = a;else { if (null === a) throw Error(q(310)); O = a; a = { memoizedState: O.memoizedState, baseState: O.baseState, baseQueue: O.baseQueue, queue: O.queue, next: null }; null === P ? N.memoizedState = P = a : P = P.next = a; } return P; } function se(a, b) { return "function" === typeof b ? b(a) : b; } function te(a) { var b = re(), c = b.queue; if (null === c) throw Error(q(311)); c.lastRenderedReducer = a; var d = O, e = d.baseQueue, f = c.pending; if (null !== f) { if (null !== e) { var g = e.next; e.next = f.next; f.next = g; } d.baseQueue = e = f; c.pending = null; } if (null !== e) { e = e.next; d = d.baseState; var h = g = f = null, k = e; do { var l = k.lane; if ((he & l) === l) null !== h && (h = h.next = { lane: 0, action: k.action, eagerReducer: k.eagerReducer, eagerState: k.eagerState, next: null }), d = k.eagerReducer === a ? k.eagerState : a(d, k.action);else { var n = { lane: l, action: k.action, eagerReducer: k.eagerReducer, eagerState: k.eagerState, next: null }; null === h ? (g = h = n, f = d) : h = h.next = n; N.lanes |= l; pd |= l; } k = k.next; } while (null !== k && k !== e); null === h ? f = d : h.next = g; I(d, b.memoizedState) || (gd = !0); b.memoizedState = d; b.baseState = f; b.baseQueue = h; c.lastRenderedState = d; } return [b.memoizedState, c.dispatch]; } function ue(a) { var b = re(), c = b.queue; if (null === c) throw Error(q(311)); c.lastRenderedReducer = a; var d = c.dispatch, e = c.pending, f = b.memoizedState; if (null !== e) { c.pending = null; var g = e = e.next; do { f = a(f, g.action), g = g.next; } while (g !== e); I(f, b.memoizedState) || (gd = !0); b.memoizedState = f; null === b.baseQueue && (b.baseState = f); c.lastRenderedState = f; } return [f, d]; } function ve(a, b, c) { var d = b._getVersion; d = d(b._source); var e = Sa ? b._workInProgressVersionPrimary : b._workInProgressVersionSecondary; if (null !== e) a = e === d;else if (a = a.mutableReadLanes, a = (he & a) === a) Sa ? b._workInProgressVersionPrimary = d : b._workInProgressVersionSecondary = d, de.push(b); if (a) return c(b._source); de.push(b); throw Error(q(350)); } function we(a, b, c, d) { var e = R; if (null === e) throw Error(q(349)); var f = b._getVersion, g = f(b._source), h = fe.current, k = h.useState(function () { return ve(e, b, c); }), l = k[1], n = k[0]; k = P; var t = a.memoizedState, p = t.refs, y = p.getSnapshot, x = t.source; t = t.subscribe; var Y = N; a.memoizedState = { refs: p, source: b, subscribe: d }; h.useEffect(function () { p.getSnapshot = c;