UNPKG

one

Version:

One is a new React Framework that makes Vite serve both native and web.

2,081 lines (2,079 loc) 223 kB
/** * @license React * react-dom.profiling.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. */ 'use strict' /* global __REACT_DEVTOOLS_GLOBAL_HOOK__ */ if ( typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ !== 'undefined' && typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart === 'function' ) { __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(new Error()) } /* Modernizr 3.0.0pre (Custom Build) | MIT */ ;('use strict') var aa = require('react'), ba = require('scheduler') function p(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 da = new Set(), ea = {} function fa(a, b) { ha(a, b) ha(a + 'Capture', b) } function ha(a, b) { ea[a] = b for (a = 0; a < b.length; a++) da.add(b[a]) } var ia = !( 'undefined' === typeof window || 'undefined' === typeof window.document || 'undefined' === typeof window.document.createElement ), ja = Object.prototype.hasOwnProperty, ka = /^[:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD][:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\-.0-9\u00B7\u0300-\u036F\u203F-\u2040]*$/, la = {}, ma = {} function na(a) { if (ja.call(ma, a)) return !0 if (ja.call(la, a)) return !1 if (ka.test(a)) return (ma[a] = !0) la[a] = !0 return !1 } function oa(a, b, c, d) { if (null !== c && 0 === c.type) return !1 switch (typeof b) { case 'function': case 'symbol': return !0 case 'boolean': if (d) return !1 if (null !== c) return !c.acceptsBooleans a = a.toLowerCase().slice(0, 5) return 'data-' !== a && 'aria-' !== a default: return !1 } } function pa(a, b, c, d) { if (null === b || 'undefined' === typeof b || oa(a, b, c, d)) return !0 if (d) return !1 if (null !== c) switch (c.type) { case 3: return !b case 4: return !1 === b case 5: return isNaN(b) case 6: return isNaN(b) || 1 > b } return !1 } function qa(a, b, c, d, e, f, g) { this.acceptsBooleans = 2 === b || 3 === b || 4 === b this.attributeName = d this.attributeNamespace = e this.mustUseProperty = c this.propertyName = a this.type = b this.sanitizeURL = f this.removeEmptyString = g } var t = {} 'children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style' .split(' ') .forEach(function (a) { t[a] = new qa(a, 0, !1, a, null, !1, !1) }) ;[ ['acceptCharset', 'accept-charset'], ['className', 'class'], ['htmlFor', 'for'], ['httpEquiv', 'http-equiv'], ].forEach(function (a) { var b = a[0] t[b] = new qa(b, 1, !1, a[1], null, !1, !1) }) ;['contentEditable', 'draggable', 'spellCheck', 'value'].forEach(function (a) { t[a] = new qa(a, 2, !1, a.toLowerCase(), null, !1, !1) }) ;['autoReverse', 'externalResourcesRequired', 'focusable', 'preserveAlpha'].forEach( function (a) { t[a] = new qa(a, 2, !1, a, null, !1, !1) } ) 'allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope' .split(' ') .forEach(function (a) { t[a] = new qa(a, 3, !1, a.toLowerCase(), null, !1, !1) }) ;['checked', 'multiple', 'muted', 'selected'].forEach(function (a) { t[a] = new qa(a, 3, !0, a, null, !1, !1) }) ;['capture', 'download'].forEach(function (a) { t[a] = new qa(a, 4, !1, a, null, !1, !1) }) ;['cols', 'rows', 'size', 'span'].forEach(function (a) { t[a] = new qa(a, 6, !1, a, null, !1, !1) }) ;['rowSpan', 'start'].forEach(function (a) { t[a] = new qa(a, 5, !1, a.toLowerCase(), null, !1, !1) }) var ra = /[\-:]([a-z])/g function ta(a) { return a[1].toUpperCase() } 'accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height' .split(' ') .forEach(function (a) { var b = a.replace(ra, ta) t[b] = new qa(b, 1, !1, a, null, !1, !1) }) 'xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type' .split(' ') .forEach(function (a) { var b = a.replace(ra, ta) t[b] = new qa(b, 1, !1, a, 'http://www.w3.org/1999/xlink', !1, !1) }) ;['xml:base', 'xml:lang', 'xml:space'].forEach(function (a) { var b = a.replace(ra, ta) t[b] = new qa(b, 1, !1, a, 'http://www.w3.org/XML/1998/namespace', !1, !1) }) ;['tabIndex', 'crossOrigin'].forEach(function (a) { t[a] = new qa(a, 1, !1, a.toLowerCase(), null, !1, !1) }) t.xlinkHref = new qa( 'xlinkHref', 1, !1, 'xlink:href', 'http://www.w3.org/1999/xlink', !0, !1 ) ;['src', 'href', 'action', 'formAction'].forEach(function (a) { t[a] = new qa(a, 1, !1, a.toLowerCase(), null, !0, !0) }) function ua(a, b, c, d) { var e = t.hasOwnProperty(b) ? t[b] : null if ( null !== e ? 0 !== e.type : d || !(2 < b.length) || ('o' !== b[0] && 'O' !== b[0]) || ('n' !== b[1] && 'N' !== b[1]) ) (pa(b, c, e, d) && (c = null), d || null === e ? na(b) && (null === c ? a.removeAttribute(b) : a.setAttribute(b, '' + c)) : e.mustUseProperty ? (a[e.propertyName] = null === c ? (3 === e.type ? !1 : '') : c) : ((b = e.attributeName), (d = e.attributeNamespace), null === c ? a.removeAttribute(b) : ((e = e.type), (c = 3 === e || (4 === e && !0 === c) ? '' : '' + c), d ? a.setAttributeNS(d, b, c) : a.setAttribute(b, c)))) } var va = aa.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED, wa = Symbol.for('react.element'), xa = Symbol.for('react.portal'), ya = Symbol.for('react.fragment'), za = Symbol.for('react.strict_mode'), Aa = Symbol.for('react.profiler'), Ba = Symbol.for('react.provider'), Ca = Symbol.for('react.context'), Da = Symbol.for('react.forward_ref'), Ea = Symbol.for('react.suspense'), Fa = Symbol.for('react.suspense_list'), Ga = Symbol.for('react.memo'), Ha = Symbol.for('react.lazy') Symbol.for('react.scope') Symbol.for('react.debug_trace_mode') var Ia = Symbol.for('react.offscreen') Symbol.for('react.legacy_hidden') Symbol.for('react.cache') Symbol.for('react.tracing_marker') var Ja = Symbol.iterator function Ka(a) { if (null === a || 'object' !== typeof a) return null a = (Ja && a[Ja]) || a['@@iterator'] return 'function' === typeof a ? a : null } var u = Object.assign, La function Ma(a) { if (void 0 === La) try { throw Error() } catch (c) { var b = c.stack.trim().match(/\n( *(at )?)/) La = (b && b[1]) || '' } return '\n' + La + a } var Na = !1 function Oa(a, b) { if (!a || Na) return '' Na = !0 var c = Error.prepareStackTrace Error.prepareStackTrace = void 0 try { if (b) if ( ((b = function () { throw Error() }), Object.defineProperty(b.prototype, 'props', { set: function () { throw Error() }, }), 'object' === typeof Reflect && Reflect.construct) ) { try { Reflect.construct(b, []) } catch (l) { var d = l } Reflect.construct(a, [], b) } else { try { b.call() } catch (l) { d = l } a.call(b.prototype) } else { try { throw Error() } catch (l) { d = l } a() } } catch (l) { if (l && d && 'string' === typeof l.stack) { for ( var e = l.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])) { var k = '\n' + e[g].replace(' at new ', ' at ') a.displayName && k.includes('<anonymous>') && (k = k.replace('<anonymous>', a.displayName)) return k } while (1 <= g && 0 <= h) } break } } } finally { ;((Na = !1), (Error.prepareStackTrace = c)) } return (a = a ? a.displayName || a.name : '') ? Ma(a) : '' } function Pa(a) { switch (a.tag) { case 5: return Ma(a.type) case 16: return Ma('Lazy') case 13: return Ma('Suspense') case 19: return Ma('SuspenseList') case 0: case 2: case 15: return ((a = Oa(a.type, !1)), a) case 11: return ((a = Oa(a.type.render, !1)), a) case 1: return ((a = Oa(a.type, !0)), a) default: return '' } } function Qa(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 ya: return 'Fragment' case xa: return 'Portal' case Aa: return 'Profiler' case za: return 'StrictMode' case Ea: return 'Suspense' case Fa: return 'SuspenseList' } if ('object' === typeof a) switch (a.$$typeof) { case Ca: return (a.displayName || 'Context') + '.Consumer' case Ba: return (a._context.displayName || 'Context') + '.Provider' case Da: var b = a.render a = a.displayName a || ((a = b.displayName || b.name || ''), (a = '' !== a ? 'ForwardRef(' + a + ')' : 'ForwardRef')) return a case Ga: return ((b = a.displayName || null), null !== b ? b : Qa(a.type) || 'Memo') case Ha: b = a._payload a = a._init try { return Qa(a(b)) } catch (c) {} } return null } function Ra(a) { var b = a.type switch (a.tag) { case 24: return 'Cache' case 9: return (b.displayName || 'Context') + '.Consumer' case 10: return (b._context.displayName || 'Context') + '.Provider' case 18: return 'DehydratedFragment' case 11: return ( (a = b.render), (a = a.displayName || a.name || ''), b.displayName || ('' !== a ? 'ForwardRef(' + a + ')' : 'ForwardRef') ) case 7: return 'Fragment' case 5: return b case 4: return 'Portal' case 3: return 'Root' case 6: return 'Text' case 16: return Qa(b) case 8: return b === za ? 'StrictMode' : 'Mode' case 22: return 'Offscreen' case 12: return 'Profiler' case 21: return 'Scope' case 13: return 'Suspense' case 19: return 'SuspenseList' case 25: return 'TracingMarker' case 1: case 0: case 17: case 2: case 14: case 15: if ('function' === typeof b) return b.displayName || b.name || null if ('string' === typeof b) return b } return null } function Sa(a) { switch (typeof a) { case 'boolean': case 'number': case 'string': case 'undefined': return a case 'object': return a default: return '' } } function Ta(a) { var b = a.type return ( (a = a.nodeName) && 'input' === a.toLowerCase() && ('checkbox' === b || 'radio' === b) ) } function Ua(a) { var b = Ta(a) ? 'checked' : 'value', c = Object.getOwnPropertyDescriptor(a.constructor.prototype, b), d = '' + a[b] if ( !a.hasOwnProperty(b) && 'undefined' !== typeof c && 'function' === typeof c.get && 'function' === typeof c.set ) { var e = c.get, f = c.set Object.defineProperty(a, b, { configurable: !0, get: function () { return e.call(this) }, set: function (a) { d = '' + a f.call(this, a) }, }) Object.defineProperty(a, b, { enumerable: c.enumerable }) return { getValue: function () { return d }, setValue: function (a) { d = '' + a }, stopTracking: function () { a._valueTracker = null delete a[b] }, } } } function Va(a) { a._valueTracker || (a._valueTracker = Ua(a)) } function Wa(a) { if (!a) return !1 var b = a._valueTracker if (!b) return !0 var c = b.getValue() var d = '' a && (d = Ta(a) ? (a.checked ? 'true' : 'false') : a.value) a = d return a !== c ? (b.setValue(a), !0) : !1 } function Xa(a) { a = a || ('undefined' !== typeof document ? document : void 0) if ('undefined' === typeof a) return null try { return a.activeElement || a.body } catch (b) { return a.body } } function Ya(a, b) { var c = b.checked return u({}, b, { defaultChecked: void 0, defaultValue: void 0, value: void 0, checked: null != c ? c : a._wrapperState.initialChecked, }) } function Za(a, b) { var c = null == b.defaultValue ? '' : b.defaultValue, d = null != b.checked ? b.checked : b.defaultChecked c = Sa(null != b.value ? b.value : c) a._wrapperState = { initialChecked: d, initialValue: c, controlled: 'checkbox' === b.type || 'radio' === b.type ? null != b.checked : null != b.value, } } function $a(a, b) { b = b.checked null != b && ua(a, 'checked', b, !1) } function ab(a, b) { $a(a, b) var c = Sa(b.value), d = b.type if (null != c) if ('number' === d) { if ((0 === c && '' === a.value) || a.value != c) a.value = '' + c } else a.value !== '' + c && (a.value = '' + c) else if ('submit' === d || 'reset' === d) { a.removeAttribute('value') return } b.hasOwnProperty('value') ? bb(a, b.type, c) : b.hasOwnProperty('defaultValue') && bb(a, b.type, Sa(b.defaultValue)) null == b.checked && null != b.defaultChecked && (a.defaultChecked = !!b.defaultChecked) } function cb(a, b, c) { if (b.hasOwnProperty('value') || b.hasOwnProperty('defaultValue')) { var d = b.type if (!(('submit' !== d && 'reset' !== d) || (void 0 !== b.value && null !== b.value))) return b = '' + a._wrapperState.initialValue c || b === a.value || (a.value = b) a.defaultValue = b } c = a.name '' !== c && (a.name = '') a.defaultChecked = !!a._wrapperState.initialChecked '' !== c && (a.name = c) } function bb(a, b, c) { if ('number' !== b || Xa(a.ownerDocument) !== a) null == c ? (a.defaultValue = '' + a._wrapperState.initialValue) : a.defaultValue !== '' + c && (a.defaultValue = '' + c) } var db = Array.isArray function eb(a, b, c, d) { a = a.options if (b) { b = {} for (var e = 0; e < c.length; e++) b['$' + c[e]] = !0 for (c = 0; c < a.length; c++) ((e = b.hasOwnProperty('$' + a[c].value)), a[c].selected !== e && (a[c].selected = e), e && d && (a[c].defaultSelected = !0)) } else { c = '' + Sa(c) b = null for (e = 0; e < a.length; e++) { if (a[e].value === c) { a[e].selected = !0 d && (a[e].defaultSelected = !0) return } null !== b || a[e].disabled || (b = a[e]) } null !== b && (b.selected = !0) } } function fb(a, b) { if (null != b.dangerouslySetInnerHTML) throw Error(p(91)) return u({}, b, { value: void 0, defaultValue: void 0, children: '' + a._wrapperState.initialValue, }) } function gb(a, b) { var c = b.value if (null == c) { c = b.children b = b.defaultValue if (null != c) { if (null != b) throw Error(p(92)) if (db(c)) { if (1 < c.length) throw Error(p(93)) c = c[0] } b = c } null == b && (b = '') c = b } a._wrapperState = { initialValue: Sa(c) } } function hb(a, b) { var c = Sa(b.value), d = Sa(b.defaultValue) null != c && ((c = '' + c), c !== a.value && (a.value = c), null == b.defaultValue && a.defaultValue !== c && (a.defaultValue = c)) null != d && (a.defaultValue = '' + d) } function ib(a) { var b = a.textContent b === a._wrapperState.initialValue && '' !== b && null !== b && (a.value = b) } function jb(a) { switch (a) { case 'svg': return 'http://www.w3.org/2000/svg' case 'math': return 'http://www.w3.org/1998/Math/MathML' default: return 'http://www.w3.org/1999/xhtml' } } function kb(a, b) { return null == a || 'http://www.w3.org/1999/xhtml' === a ? jb(b) : 'http://www.w3.org/2000/svg' === a && 'foreignObject' === b ? 'http://www.w3.org/1999/xhtml' : a } var mb, nb = (function (a) { return 'undefined' !== typeof MSApp && MSApp.execUnsafeLocalFunction ? function (b, c, d, e) { MSApp.execUnsafeLocalFunction(function () { return a(b, c, d, e) }) } : a })(function (a, b) { if ('http://www.w3.org/2000/svg' !== a.namespaceURI || 'innerHTML' in a) a.innerHTML = b else { mb = mb || document.createElement('div') mb.innerHTML = '<svg>' + b.valueOf().toString() + '</svg>' for (b = mb.firstChild; a.firstChild; ) a.removeChild(a.firstChild) for (; b.firstChild; ) a.appendChild(b.firstChild) } }) function ob(a, b) { if (b) { var c = a.firstChild if (c && c === a.lastChild && 3 === c.nodeType) { c.nodeValue = b return } } a.textContent = b } var pb = { animationIterationCount: !0, aspectRatio: !0, borderImageOutset: !0, borderImageSlice: !0, borderImageWidth: !0, boxFlex: !0, boxFlexGroup: !0, boxOrdinalGroup: !0, columnCount: !0, columns: !0, flex: !0, flexGrow: !0, flexPositive: !0, flexShrink: !0, flexNegative: !0, flexOrder: !0, gridArea: !0, gridRow: !0, gridRowEnd: !0, gridRowSpan: !0, gridRowStart: !0, gridColumn: !0, gridColumnEnd: !0, gridColumnSpan: !0, gridColumnStart: !0, fontWeight: !0, lineClamp: !0, lineHeight: !0, opacity: !0, order: !0, orphans: !0, tabSize: !0, widows: !0, zIndex: !0, zoom: !0, fillOpacity: !0, floodOpacity: !0, stopOpacity: !0, strokeDasharray: !0, strokeDashoffset: !0, strokeMiterlimit: !0, strokeOpacity: !0, strokeWidth: !0, }, qb = ['Webkit', 'ms', 'Moz', 'O'] Object.keys(pb).forEach(function (a) { qb.forEach(function (b) { b = b + a.charAt(0).toUpperCase() + a.substring(1) pb[b] = pb[a] }) }) function rb(a, b, c) { return null == b || 'boolean' === typeof b || '' === b ? '' : c || 'number' !== typeof b || 0 === b || (pb.hasOwnProperty(a) && pb[a]) ? ('' + b).trim() : b + 'px' } function sb(a, b) { a = a.style for (var c in b) if (b.hasOwnProperty(c)) { var d = 0 === c.indexOf('--'), e = rb(c, b[c], d) 'float' === c && (c = 'cssFloat') d ? a.setProperty(c, e) : (a[c] = e) } } var tb = u( { menuitem: !0 }, { area: !0, base: !0, br: !0, col: !0, embed: !0, hr: !0, img: !0, input: !0, keygen: !0, link: !0, meta: !0, param: !0, source: !0, track: !0, wbr: !0, } ) function ub(a, b) { if (b) { if (tb[a] && (null != b.children || null != b.dangerouslySetInnerHTML)) throw Error(p(137, a)) if (null != b.dangerouslySetInnerHTML) { if (null != b.children) throw Error(p(60)) if ( 'object' !== typeof b.dangerouslySetInnerHTML || !('__html' in b.dangerouslySetInnerHTML) ) throw Error(p(61)) } if (null != b.style && 'object' !== typeof b.style) throw Error(p(62)) } } function vb(a, b) { if (-1 === a.indexOf('-')) return 'string' === typeof b.is switch (a) { case 'annotation-xml': case 'color-profile': case 'font-face': case 'font-face-src': case 'font-face-uri': case 'font-face-format': case 'font-face-name': case 'missing-glyph': return !1 default: return !0 } } var wb = null function xb(a) { a = a.target || a.srcElement || window a.correspondingUseElement && (a = a.correspondingUseElement) return 3 === a.nodeType ? a.parentNode : a } var yb = null, zb = null, Ab = null function Bb(a) { if ((a = Cb(a))) { if ('function' !== typeof yb) throw Error(p(280)) var b = a.stateNode b && ((b = Db(b)), yb(a.stateNode, a.type, b)) } } function Eb(a) { zb ? (Ab ? Ab.push(a) : (Ab = [a])) : (zb = a) } function Fb() { if (zb) { var a = zb, b = Ab Ab = zb = null Bb(a) if (b) for (a = 0; a < b.length; a++) Bb(b[a]) } } function Gb(a, b) { return a(b) } function Hb() {} var Ib = !1 function Jb(a, b, c) { if (Ib) return a(b, c) Ib = !0 try { return Gb(a, b, c) } finally { if (((Ib = !1), null !== zb || null !== Ab)) (Hb(), Fb()) } } function Kb(a, b) { var c = a.stateNode if (null === c) return null var d = Db(c) if (null === d) return null c = d[b] a: switch (b) { case 'onClick': case 'onClickCapture': case 'onDoubleClick': case 'onDoubleClickCapture': case 'onMouseDown': case 'onMouseDownCapture': case 'onMouseMove': case 'onMouseMoveCapture': case 'onMouseUp': case 'onMouseUpCapture': case 'onMouseEnter': ;(d = !d.disabled) || ((a = a.type), (d = !('button' === a || 'input' === a || 'select' === a || 'textarea' === a))) a = !d break a default: a = !1 } if (a) return null if (c && 'function' !== typeof c) throw Error(p(231, b, typeof c)) return c } var Lb = !1 if (ia) try { var Mb = {} Object.defineProperty(Mb, 'passive', { get: function () { Lb = !0 }, }) window.addEventListener('test', Mb, Mb) window.removeEventListener('test', Mb, Mb) } catch (a) { Lb = !1 } function Nb(a, b, c, d, e, f, g, h, k) { var l = Array.prototype.slice.call(arguments, 3) try { b.apply(c, l) } catch (n) { this.onError(n) } } var Ob = !1, Pb = null, Qb = !1, Rb = null, Sb = { onError: function (a) { Ob = !0 Pb = a }, } function Tb(a, b, c, d, e, f, g, h, k) { Ob = !1 Pb = null Nb.apply(Sb, arguments) } function Ub(a, b, c, d, e, f, g, h, k) { Tb.apply(this, arguments) if (Ob) { if (Ob) { var l = Pb Ob = !1 Pb = null } else throw Error(p(198)) Qb || ((Qb = !0), (Rb = l)) } } function Vb(a) { var b = a, c = a if (a.alternate) for (; b.return; ) b = b.return else { a = b do ((b = a), 0 !== (b.flags & 4098) && (c = b.return), (a = b.return)) while (a) } return 3 === b.tag ? c : null } function Wb(a) { if (13 === a.tag) { var b = a.memoizedState null === b && ((a = a.alternate), null !== a && (b = a.memoizedState)) if (null !== b) return b.dehydrated } return null } function Xb(a) { if (Vb(a) !== a) throw Error(p(188)) } function Yb(a) { var b = a.alternate if (!b) { b = Vb(a) if (null === b) throw Error(p(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 (Xb(e), a) if (f === d) return (Xb(e), b) f = f.sibling } throw Error(p(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(p(189)) } } if (c.alternate !== d) throw Error(p(190)) } if (3 !== c.tag) throw Error(p(188)) return c.stateNode.current === c ? a : b } function Zb(a) { a = Yb(a) return null !== a ? $b(a) : null } function $b(a) { if (5 === a.tag || 6 === a.tag) return a for (a = a.child; null !== a; ) { var b = $b(a) if (null !== b) return b a = a.sibling } return null } var ac = ba.unstable_scheduleCallback, bc = ba.unstable_cancelCallback, cc = ba.unstable_shouldYield, dc = ba.unstable_requestPaint, A = ba.unstable_now, ec = ba.unstable_getCurrentPriorityLevel, fc = ba.unstable_ImmediatePriority, gc = ba.unstable_UserBlockingPriority, hc = ba.unstable_NormalPriority, ic = ba.unstable_LowPriority, jc = ba.unstable_IdlePriority, kc = null, lc = null, B = null, mc = 'undefined' !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ function nc(a, b) { if (lc && 'function' === typeof lc.onCommitFiberRoot) try { var c = 128 === (a.current.flags & 128) switch (b) { case 1: var d = fc break case 4: d = gc break case 16: d = hc break case 536870912: d = jc break default: d = hc } lc.onCommitFiberRoot(kc, a, d, c) } catch (e) {} } function oc(a) { B = a } function pc() { for (var a = new Map(), b = 1, c = 0; 31 > c; c++) { var d = qc(b) a.set(b, d) b *= 2 } return a } function rc() { null !== B && 'function' === typeof B.markCommitStopped && B.markCommitStopped() } function sc(a) { null !== B && 'function' === typeof B.markComponentRenderStarted && B.markComponentRenderStarted(a) } function tc() { null !== B && 'function' === typeof B.markComponentRenderStopped && B.markComponentRenderStopped() } function uc(a) { null !== B && 'function' === typeof B.markComponentLayoutEffectUnmountStarted && B.markComponentLayoutEffectUnmountStarted(a) } function vc() { null !== B && 'function' === typeof B.markComponentLayoutEffectUnmountStopped && B.markComponentLayoutEffectUnmountStopped() } function wc(a) { null !== B && 'function' === typeof B.markRenderStarted && B.markRenderStarted(a) } function xc() { null !== B && 'function' === typeof B.markRenderStopped && B.markRenderStopped() } function yc(a, b) { null !== B && 'function' === typeof B.markStateUpdateScheduled && B.markStateUpdateScheduled(a, b) } var Ac = Math.clz32 ? Math.clz32 : zc, Bc = Math.log, Cc = Math.LN2 function zc(a) { a >>>= 0 return 0 === a ? 32 : (31 - ((Bc(a) / Cc) | 0)) | 0 } function qc(a) { if (a & 1) return 'Sync' if (a & 2) return 'InputContinuousHydration' if (a & 4) return 'InputContinuous' if (a & 8) return 'DefaultHydration' if (a & 16) return 'Default' if (a & 32) return 'TransitionHydration' if (a & 4194240) return 'Transition' if (a & 130023424) return 'Retry' if (a & 134217728) return 'SelectiveHydration' if (a & 268435456) return 'IdleHydration' if (a & 536870912) return 'Idle' if (a & 1073741824) return 'Offscreen' } var Dc = 64, Ec = 4194304 function Fc(a) { switch (a & -a) { case 1: return 1 case 2: return 2 case 4: return 4 case 8: return 8 case 16: return 16 case 32: return 32 case 64: case 128: case 256: case 512: case 1024: case 2048: case 4096: case 8192: case 16384: case 32768: case 65536: case 131072: case 262144: case 524288: case 1048576: case 2097152: return a & 4194240 case 4194304: case 8388608: case 16777216: case 33554432: case 67108864: return a & 130023424 case 134217728: return 134217728 case 268435456: return 268435456 case 536870912: return 536870912 case 1073741824: return 1073741824 default: return a } } function Gc(a, b) { var c = a.pendingLanes if (0 === c) return 0 var d = 0, e = a.suspendedLanes, f = a.pingedLanes, g = c & 268435455 if (0 !== g) { var h = g & ~e 0 !== h ? (d = Fc(h)) : ((f &= g), 0 !== f && (d = Fc(f))) } else ((g = c & ~e), 0 !== g ? (d = Fc(g)) : 0 !== f && (d = Fc(f))) if (0 === d) return 0 if ( 0 !== b && b !== d && 0 === (b & e) && ((e = d & -d), (f = b & -b), e >= f || (16 === e && 0 !== (f & 4194240))) ) return b 0 !== (d & 4) && (d |= c & 16) b = a.entangledLanes if (0 !== b) for (a = a.entanglements, b &= d; 0 < b; ) ((c = 31 - Ac(b)), (e = 1 << c), (d |= a[c]), (b &= ~e)) return d } function Hc(a, b) { switch (a) { case 1: case 2: case 4: return b + 250 case 8: case 16: case 32: case 64: case 128: case 256: case 512: case 1024: case 2048: case 4096: case 8192: case 16384: case 32768: case 65536: case 131072: case 262144: case 524288: case 1048576: case 2097152: return b + 5e3 case 4194304: case 8388608: case 16777216: case 33554432: case 67108864: return -1 case 134217728: case 268435456: case 536870912: case 1073741824: return -1 default: return -1 } } function Ic(a, b) { for ( var c = a.suspendedLanes, d = a.pingedLanes, e = a.expirationTimes, f = a.pendingLanes; 0 < f; ) { var g = 31 - Ac(f), h = 1 << g, k = e[g] if (-1 === k) { if (0 === (h & c) || 0 !== (h & d)) e[g] = Hc(h, b) } else k <= b && (a.expiredLanes |= h) f &= ~h } } function Jc(a) { a = a.pendingLanes & -1073741825 return 0 !== a ? a : a & 1073741824 ? 1073741824 : 0 } function Kc() { var a = Dc Dc <<= 1 0 === (Dc & 4194240) && (Dc = 64) return a } function Lc(a) { for (var b = [], c = 0; 31 > c; c++) b.push(a) return b } function Mc(a, b, c) { a.pendingLanes |= b 536870912 !== b && ((a.suspendedLanes = 0), (a.pingedLanes = 0)) a = a.eventTimes b = 31 - Ac(b) a[b] = c } function Nc(a, b) { var c = a.pendingLanes & ~b a.pendingLanes = b a.suspendedLanes = 0 a.pingedLanes = 0 a.expiredLanes &= b a.mutableReadLanes &= b a.entangledLanes &= b b = a.entanglements var d = a.eventTimes for (a = a.expirationTimes; 0 < c; ) { var e = 31 - Ac(c), f = 1 << e b[e] = 0 d[e] = -1 a[e] = -1 c &= ~f } } function Oc(a, b) { var c = (a.entangledLanes |= b) for (a = a.entanglements; c; ) { var d = 31 - Ac(c), e = 1 << d ;(e & b) | (a[d] & b) && (a[d] |= b) c &= ~e } } function Pc(a, b, c) { if (mc) for (a = a.pendingUpdatersLaneMap; 0 < c; ) { var d = 31 - Ac(c), e = 1 << d a[d].add(b) c &= ~e } } function Qc(a, b) { if (mc) for (var c = a.pendingUpdatersLaneMap, d = a.memoizedUpdaters; 0 < b; ) { var e = 31 - Ac(b) a = 1 << e e = c[e] 0 < e.size && (e.forEach(function (a) { var b = a.alternate ;(null !== b && d.has(b)) || d.add(a) }), e.clear()) b &= ~a } } var E = 0 function Rc(a) { a &= -a return 1 < a ? (4 < a ? (0 !== (a & 268435455) ? 16 : 536870912) : 4) : 1 } var Sc, Tc, Uc, Vc, Wc, Xc = !1, Yc = [], Zc = null, $c = null, ad = null, bd = new Map(), cd = new Map(), dd = [], ed = 'mousedown mouseup touchcancel touchend touchstart auxclick dblclick pointercancel pointerdown pointerup dragend dragstart drop compositionend compositionstart keydown keypress keyup input textInput copy cut paste click change contextmenu reset submit'.split( ' ' ) function fd(a, b) { switch (a) { case 'focusin': case 'focusout': Zc = null break case 'dragenter': case 'dragleave': $c = null break case 'mouseover': case 'mouseout': ad = null break case 'pointerover': case 'pointerout': bd.delete(b.pointerId) break case 'gotpointercapture': case 'lostpointercapture': cd.delete(b.pointerId) } } function gd(a, b, c, d, e, f) { if (null === a || a.nativeEvent !== f) return ( (a = { blockedOn: b, domEventName: c, eventSystemFlags: d, nativeEvent: f, targetContainers: [e], }), null !== b && ((b = Cb(b)), null !== b && Tc(b)), a ) a.eventSystemFlags |= d b = a.targetContainers null !== e && -1 === b.indexOf(e) && b.push(e) return a } function hd(a, b, c, d, e) { switch (b) { case 'focusin': return ((Zc = gd(Zc, a, b, c, d, e)), !0) case 'dragenter': return (($c = gd($c, a, b, c, d, e)), !0) case 'mouseover': return ((ad = gd(ad, a, b, c, d, e)), !0) case 'pointerover': var f = e.pointerId bd.set(f, gd(bd.get(f) || null, a, b, c, d, e)) return !0 case 'gotpointercapture': return ((f = e.pointerId), cd.set(f, gd(cd.get(f) || null, a, b, c, d, e)), !0) } return !1 } function id(a) { var b = jd(a.target) if (null !== b) { var c = Vb(b) if (null !== c) if (((b = c.tag), 13 === b)) { if (((b = Wb(c)), null !== b)) { a.blockedOn = b Wc(a.priority, function () { Uc(c) }) return } } else if (3 === b && c.stateNode.current.memoizedState.isDehydrated) { a.blockedOn = 3 === c.tag ? c.stateNode.containerInfo : null return } } a.blockedOn = null } function kd(a) { if (null !== a.blockedOn) return !1 for (var b = a.targetContainers; 0 < b.length; ) { var c = ld(a.domEventName, a.eventSystemFlags, b[0], a.nativeEvent) if (null === c) { c = a.nativeEvent var d = new c.constructor(c.type, c) wb = d c.target.dispatchEvent(d) wb = null } else return ((b = Cb(c)), null !== b && Tc(b), (a.blockedOn = c), !1) b.shift() } return !0 } function md(a, b, c) { kd(a) && c.delete(b) } function nd() { Xc = !1 null !== Zc && kd(Zc) && (Zc = null) null !== $c && kd($c) && ($c = null) null !== ad && kd(ad) && (ad = null) bd.forEach(md) cd.forEach(md) } function od(a, b) { a.blockedOn === b && ((a.blockedOn = null), Xc || ((Xc = !0), ba.unstable_scheduleCallback(ba.unstable_NormalPriority, nd))) } function pd(a) { function b(b) { return od(b, a) } if (0 < Yc.length) { od(Yc[0], a) for (var c = 1; c < Yc.length; c++) { var d = Yc[c] d.blockedOn === a && (d.blockedOn = null) } } null !== Zc && od(Zc, a) null !== $c && od($c, a) null !== ad && od(ad, a) bd.forEach(b) cd.forEach(b) for (c = 0; c < dd.length; c++) ((d = dd[c]), d.blockedOn === a && (d.blockedOn = null)) for (; 0 < dd.length && ((c = dd[0]), null === c.blockedOn); ) (id(c), null === c.blockedOn && dd.shift()) } var qd = va.ReactCurrentBatchConfig, rd = !0 function sd(a, b, c, d) { var e = E, f = qd.transition qd.transition = null try { ;((E = 1), td(a, b, c, d)) } finally { ;((E = e), (qd.transition = f)) } } function ud(a, b, c, d) { var e = E, f = qd.transition qd.transition = null try { ;((E = 4), td(a, b, c, d)) } finally { ;((E = e), (qd.transition = f)) } } function td(a, b, c, d) { if (rd) { var e = ld(a, b, c, d) if (null === e) (vd(a, b, d, wd, c), fd(a, d)) else if (hd(e, a, b, c, d)) d.stopPropagation() else if ((fd(a, d), b & 4 && -1 < ed.indexOf(a))) { for (; null !== e; ) { var f = Cb(e) null !== f && Sc(f) f = ld(a, b, c, d) null === f && vd(a, b, d, wd, c) if (f === e) break e = f } null !== e && d.stopPropagation() } else vd(a, b, d, null, c) } } var wd = null function ld(a, b, c, d) { wd = null a = xb(d) a = jd(a) if (null !== a) if (((b = Vb(a)), null === b)) a = null else if (((c = b.tag), 13 === c)) { a = Wb(b) if (null !== a) return a a = null } else if (3 === c) { if (b.stateNode.current.memoizedState.isDehydrated) return 3 === b.tag ? b.stateNode.containerInfo : null a = null } else b !== a && (a = null) wd = a return null } function xd(a) { switch (a) { case 'cancel': case 'click': case 'close': case 'contextmenu': case 'copy': case 'cut': case 'auxclick': case 'dblclick': case 'dragend': case 'dragstart': case 'drop': case 'focusin': case 'focusout': case 'input': case 'invalid': case 'keydown': case 'keypress': case 'keyup': case 'mousedown': case 'mouseup': case 'paste': case 'pause': case 'play': case 'pointercancel': case 'pointerdown': case 'pointerup': case 'ratechange': case 'reset': case 'resize': case 'seeked': case 'submit': case 'touchcancel': case 'touchend': case 'touchstart': case 'volumechange': case 'change': case 'selectionchange': case 'textInput': case 'compositionstart': case 'compositionend': case 'compositionupdate': case 'beforeblur': case 'afterblur': case 'beforeinput': case 'blur': case 'fullscreenchange': case 'focus': case 'hashchange': case 'popstate': case 'select': case 'selectstart': return 1 case 'drag': case 'dragenter': case 'dragexit': case 'dragleave': case 'dragover': case 'mousemove': case 'mouseout': case 'mouseover': case 'pointermove': case 'pointerout': case 'pointerover': case 'scroll': case 'toggle': case 'touchmove': case 'wheel': case 'mouseenter': case 'mouseleave': case 'pointerenter': case 'pointerleave': return 4 case 'message': switch (ec()) { case fc: return 1 case gc: return 4 case hc: case ic: return 16 case jc: return 536870912 default: return 16 } default: return 16 } } var yd = null, zd = null, Ad = null function Bd() { if (Ad) return Ad var a, b = zd, c = b.length, d, e = 'value' in yd ? yd.value : yd.textContent, f = e.length for (a = 0; a < c && b[a] === e[a]; a++); var g = c - a for (d = 1; d <= g && b[c - d] === e[f - d]; d++); return (Ad = e.slice(a, 1 < d ? 1 - d : void 0)) } function Cd(a) { var b = a.keyCode 'charCode' in a ? ((a = a.charCode), 0 === a && 13 === b && (a = 13)) : (a = b) 10 === a && (a = 13) return 32 <= a || 13 === a ? a : 0 } function Dd() { return !0 } function Ed() { return !1 } function Fd(a) { function b(b, d, e, f, g) { this._reactName = b this._targetInst = e this.type = d this.nativeEvent = f this.target = g this.currentTarget = null for (var c in a) a.hasOwnProperty(c) && ((b = a[c]), (this[c] = b ? b(f) : f[c])) this.isDefaultPrevented = ( null != f.defaultPrevented ? f.defaultPrevented : !1 === f.returnValue ) ? Dd : Ed this.isPropagationStopped = Ed return this } u(b.prototype, { preventDefault: function () { this.defaultPrevented = !0 var a = this.nativeEvent a && (a.preventDefault ? a.preventDefault() : 'unknown' !== typeof a.returnValue && (a.returnValue = !1), (this.isDefaultPrevented = Dd)) }, stopPropagation: function () { var a = this.nativeEvent a && (a.stopPropagation ? a.stopPropagation() : 'unknown' !== typeof a.cancelBubble && (a.cancelBubble = !0), (this.isPropagationStopped = Dd)) }, persist: function () {}, isPersistent: Dd, }) return b } var Gd = { eventPhase: 0, bubbles: 0, cancelable: 0, timeStamp: function (a) { return a.timeStamp || Date.now() }, defaultPrevented: 0, isTrusted: 0, }, Hd = Fd(Gd), Id = u({}, Gd, { view: 0, detail: 0 }), Jd = Fd(Id), Kd, Ld, Md, Od = u({}, Id, { screenX: 0, screenY: 0, clientX: 0, clientY: 0, pageX: 0, pageY: 0, ctrlKey: 0, shiftKey: 0, altKey: 0, metaKey: 0, getModifierState: Nd, button: 0, buttons: 0, relatedTarget: function (a) { return void 0 === a.relatedTarget ? a.fromElement === a.srcElement ? a.toElement : a.fromElement : a.relatedTarget }, movementX: function (a) { if ('movementX' in a) return a.movementX a !== Md && (Md && 'mousemove' === a.type ? ((Kd = a.screenX - Md.screenX), (Ld = a.screenY - Md.screenY)) : (Ld = Kd = 0), (Md = a)) return Kd }, movementY: function (a) { return 'movementY' in a ? a.movementY : Ld }, }), Pd = Fd(Od), Qd = u({}, Od, { dataTransfer: 0 }), Rd = Fd(Qd), Sd = u({}, Id, { relatedTarget: 0 }), Td = Fd(Sd), Ud = u({}, Gd, { animationName: 0, elapsedTime: 0, pseudoElement: 0 }), Vd = Fd(Ud), Wd = u({}, Gd, { clipboardData: function (a) { return 'clipboardData' in a ? a.clipboardData : window.clipboardData }, }), Xd = Fd(Wd), Yd = u({}, Gd, { data: 0 }), Zd = Fd(Yd), $d = { Esc: 'Escape', Spacebar: ' ', Left: 'ArrowLeft', Up: 'ArrowUp', Right: 'ArrowRight', Down: 'ArrowDown', Del: 'Delete', Win: 'OS', Menu: 'ContextMenu', Apps: 'ContextMenu', Scroll: 'ScrollLock', MozPrintableKey: 'Unidentified', }, ae = { 8: 'Backspace', 9: 'Tab', 12: 'Clear', 13: 'Enter', 16: 'Shift', 17: 'Control', 18: 'Alt', 19: 'Pause', 20: 'CapsLock', 27: 'Escape', 32: ' ', 33: 'PageUp', 34: 'PageDown', 35: 'End', 36: 'Home', 37: 'ArrowLeft', 38: 'ArrowUp', 39: 'ArrowRight', 40: 'ArrowDown', 45: 'Insert', 46: 'Delete', 112: 'F1', 113: 'F2', 114: 'F3', 115: 'F4', 116: 'F5', 117: 'F6', 118: 'F7', 119: 'F8', 120: 'F9', 121: 'F10', 122: 'F11', 123: 'F12', 144: 'NumLock', 145: 'ScrollLock', 224: 'Meta', }, be = { Alt: 'altKey', Control: 'ctrlKey', Meta: 'metaKey', Shift: 'shiftKey' } function ce(a) { var b = this.nativeEvent return b.getModifierState ? b.getModifierState(a) : (a = be[a]) ? !!b[a] : !1 } function Nd() { return ce } var de = u({}, Id, { key: function (a) { if (a.key) { var b = $d[a.key] || a.key if ('Unidentified' !== b) return b } return 'keypress' === a.type ? ((a = Cd(a)), 13 === a ? 'Enter' : String.fromCharCode(a)) : 'keydown' === a.type || 'keyup' === a.type ? ae[a.keyCode] || 'Unidentified' : '' }, code: 0, location: 0, ctrlKey: 0, shiftKey: 0, altKey: 0, metaKey: 0, repeat: 0, locale: 0, getModifierState: Nd, charCode: function (a) { return 'keypress' === a.type ? Cd(a) : 0 }, keyCode: function (a) { return 'keydown' === a.type || 'keyup' === a.type ? a.keyCode : 0 }, which: function (a) { return 'keypress' === a.type ? Cd(a) : 'keydown' === a.type || 'keyup' === a.type ? a.keyCode : 0 }, }), ee = Fd(de), fe = u({}, Od, { pointerId: 0, width: 0, height: 0, pressure: 0, tangentialPressure: 0, tiltX: 0, tiltY: 0, twist: 0, pointerType: 0, isPrimary: 0, }), ge = Fd(fe), he = u({}, Id, { touches: 0, targetTouches: 0, changedTouches: 0, altKey: 0, metaKey: 0, ctrlKey: 0, shiftKey: 0, getModifierState: Nd, }), ie = Fd(he), je = u({}, Gd, { propertyName: 0, elapsedTime: 0, pseudoElement: 0 }), ke = Fd(je), le = u({}, Od, { deltaX: function (a) { return 'deltaX' in a ? a.deltaX : 'wheelDeltaX' in a ? -a.wheelDeltaX : 0 }, deltaY: function (a) { return 'deltaY' in a ? a.deltaY : 'wheelDeltaY' in a ? -a.wheelDeltaY : 'wheelDelta' in a ? -a.wheelDelta : 0 }, deltaZ: 0, deltaMode: 0, }), me = Fd(le), ne = [9, 13, 27, 32], oe = ia && 'CompositionEvent' in window, pe = null ia && 'documentMode' in document && (pe = document.documentMode) var qe = ia && 'TextEvent' in window && !pe, re = ia && (!oe || (pe && 8 < pe && 11 >= pe)), se = String.fromCharCode(32), te = !1 function ue(a, b) { switch (a) { case 'keyup': return -1 !== ne.indexOf(b.keyCode) case 'keydown': return 229 !== b.keyCode case 'keypress': case 'mousedown': case 'focusout': return !0 default: return !1 } } function ve(a) { a = a.detail return 'object' === typeof a && 'data' in a ? a.data : null } var we = !1 function xe(a, b) { switch (a) { case 'compositionend': return ve(b) case 'keypress': if (32 !== b.which) return null te = !0 return se case 'textInput': return ((a = b.data), a === se && te ? null : a) default: return null } } function ye(a, b) { if (we) return 'compositionend' === a || (!oe && ue(a, b)) ? ((a = Bd()), (Ad = zd = yd = null), (we = !1), a) : null switch (a) { case 'paste': return null case 'keypress': if (!(b.ctrlKey || b.altKey || b.metaKey) || (b.ctrlKey && b.altKey)) { if (b.char && 1 < b.char.length) return b.char if (b.which) return String.fromCharCode(b.which) } return null case 'compositionend': return re && 'ko' !== b.locale ? null : b.data default: return null } } var ze = { color: !0, date: !0, datetime: !0, 'datetime-local': !0, email: !0, month: !0, number: !0, password: !0, range: !0, search: !0, tel: !0, text: !0, time: !0, url: !0, week: !0, } function Ae(a) { var b = a && a.nodeName && a.nodeName.toLowerCase() return 'input' === b ? !!ze[a.type] : 'textarea' === b ? !0 : !1 } function Be(a, b, c, d) { Eb(d) b = Ce(b, 'onChange') 0 < b.length && ((c = new Hd('onChange', 'change', null, c, d)), a.push({ event: c, listeners: b })) } var De = null, Ee = null function Fe(a) { Ge(a, 0) } function He(a) { var b = Ie(a) if (Wa(b)) return a } function Je(a, b) { if ('change' === a) return b } var Ke = !1 if (ia) { var Le if (ia) { var Me = 'oninput' in document if (!Me) { var Ne = document.createElement('div') Ne.setAttribute('oninput', 'return;') Me = 'function' === typeof Ne.oninput } Le = Me } else Le = !1 Ke = Le && (!document.documentMode || 9 < document.documentMode) } function Oe() { De && (De.detachEvent('onpropertychange', Pe), (Ee = De = null)) } function Pe(a) { if ('value' === a.propertyName && He(Ee)) { var b = [] Be(b, Ee, a, xb(a)) Jb(Fe, b) } } function Qe(a, b, c) { 'focusin' === a ? (Oe(), (De = b), (Ee = c), De.attachEvent('onpropertychange', Pe)) : 'focusout' === a && Oe() } function Re(a) { if ('selectionchange' === a || 'keyup' === a || 'keydown' === a) return He(Ee) } function Se(a, b) { if ('click' === a) return He(b) } function Te(a, b) { if ('input' === a || 'change' === a) return He(b) } function Ue(a, b) { return (a === b && (0 !== a || 1 / a === 1 / b)) || (a !== a && b !== b) } var Ve = 'function' === typeof Object.is ? Object.is : Ue function We(a, b) { if (Ve(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++) { var e = c[d] if (!ja.call(b, e) || !Ve(a[e], b[e])) return !1 } return !0 } function Xe(a) { for (; a && a.firstChild; ) a = a.firstChild return a } function Ye(a, b) { var c = Xe(a) a = 0 for (var d; c; ) { if (3 === c.nodeType) { d = a + c.textContent.length if (a <= b && d >= b) return { node: c, offset: b - a } a = d } a: { for (; c; ) { if (c.nextSibling