one
Version:
One is a new React Framework that makes Vite serve both native and web.
1,813 lines • 260 kB
JavaScript
/**
* @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.
*/
;(function () {
/*
Modernizr 3.0.0pre (Custom Build) | MIT
*/
'use strict'
;(function (R, Ib) {
'object' === typeof exports && 'undefined' !== typeof module
? Ib(exports, require('react'))
: 'function' === typeof define && define.amd
? define(['exports', 'react'], Ib)
: ((R = R || self), Ib((R.ReactDOM = {}), R.React))
})(this, function (R, Ib) {
function m(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.'
)
}
function rb(a, b) {
Jb(a, b)
Jb(a + 'Capture', b)
}
function Jb(a, b) {
mc[a] = b
for (a = 0; a < b.length; a++) Ag.add(b[a])
}
function Ij(a) {
if (re.call(Bg, a)) return !0
if (re.call(Cg, a)) return !1
if (Jj.test(a)) return (Bg[a] = !0)
Cg[a] = !0
return !1
}
function Kj(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 Lj(a, b, c, d) {
if (null === b || 'undefined' === typeof b || Kj(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 Z(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
}
function se(a, b, c, d) {
var e = S.hasOwnProperty(b) ? S[b] : null
if (
null !== e
? 0 !== e.type
: d ||
!(2 < b.length) ||
('o' !== b[0] && 'O' !== b[0]) ||
('n' !== b[1] && 'N' !== b[1])
)
(Lj(b, c, e, d) && (c = null),
d || null === e
? Ij(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))))
}
function nc(a) {
if (null === a || 'object' !== typeof a) return null
a = (Dg && a[Dg]) || a['@@iterator']
return 'function' === typeof a ? a : null
}
function oc(a, b, c) {
if (void 0 === te)
try {
throw Error()
} catch (d) {
te = ((b = d.stack.trim().match(/\n( *(at )?)/)) && b[1]) || ''
}
return '\n' + te + a
}
function ue(a, b) {
if (!a || ve) return ''
ve = !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 (n) {
var d = n
}
Reflect.construct(a, [], b)
} else {
try {
b.call()
} catch (n) {
d = n
}
a.call(b.prototype)
}
else {
try {
throw Error()
} catch (n) {
d = n
}
a()
}
} catch (n) {
if (n && d && 'string' === typeof n.stack) {
for (
var e = n.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 {
;((ve = !1), (Error.prepareStackTrace = c))
}
return (a = a ? a.displayName || a.name : '') ? oc(a) : ''
}
function Mj(a) {
switch (a.tag) {
case 5:
return oc(a.type)
case 16:
return oc('Lazy')
case 13:
return oc('Suspense')
case 19:
return oc('SuspenseList')
case 0:
case 2:
case 15:
return ((a = ue(a.type, !1)), a)
case 11:
return ((a = ue(a.type.render, !1)), a)
case 1:
return ((a = ue(a.type, !0)), a)
default:
return ''
}
}
function we(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 Kb:
return 'Fragment'
case Lb:
return 'Portal'
case xe:
return 'Profiler'
case ye:
return 'StrictMode'
case ze:
return 'Suspense'
case Ae:
return 'SuspenseList'
}
if ('object' === typeof a)
switch (a.$$typeof) {
case Eg:
return (a.displayName || 'Context') + '.Consumer'
case Fg:
return (a._context.displayName || 'Context') + '.Provider'
case Be:
var b = a.render
a = a.displayName
a ||
((a = b.displayName || b.name || ''),
(a = '' !== a ? 'ForwardRef(' + a + ')' : 'ForwardRef'))
return a
case Ce:
return ((b = a.displayName || null), null !== b ? b : we(a.type) || 'Memo')
case Ya:
b = a._payload
a = a._init
try {
return we(a(b))
} catch (c) {}
}
return null
}
function Nj(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 we(b)
case 8:
return b === ye ? '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 Za(a) {
switch (typeof a) {
case 'boolean':
case 'number':
case 'string':
case 'undefined':
return a
case 'object':
return a
default:
return ''
}
}
function Gg(a) {
var b = a.type
return (
(a = a.nodeName) &&
'input' === a.toLowerCase() &&
('checkbox' === b || 'radio' === b)
)
}
function Oj(a) {
var b = Gg(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 dd(a) {
a._valueTracker || (a._valueTracker = Oj(a))
}
function Hg(a) {
if (!a) return !1
var b = a._valueTracker
if (!b) return !0
var c = b.getValue()
var d = ''
a && (d = Gg(a) ? (a.checked ? 'true' : 'false') : a.value)
a = d
return a !== c ? (b.setValue(a), !0) : !1
}
function ed(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 De(a, b) {
var c = b.checked
return D({}, b, {
defaultChecked: void 0,
defaultValue: void 0,
value: void 0,
checked: null != c ? c : a._wrapperState.initialChecked,
})
}
function Ig(a, b) {
var c = null == b.defaultValue ? '' : b.defaultValue,
d = null != b.checked ? b.checked : b.defaultChecked
c = Za(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 Jg(a, b) {
b = b.checked
null != b && se(a, 'checked', b, !1)
}
function Ee(a, b) {
Jg(a, b)
var c = Za(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')
? Fe(a, b.type, c)
: b.hasOwnProperty('defaultValue') && Fe(a, b.type, Za(b.defaultValue))
null == b.checked &&
null != b.defaultChecked &&
(a.defaultChecked = !!b.defaultChecked)
}
function Kg(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 Fe(a, b, c) {
if ('number' !== b || ed(a.ownerDocument) !== a)
null == c
? (a.defaultValue = '' + a._wrapperState.initialValue)
: a.defaultValue !== '' + c && (a.defaultValue = '' + c)
}
function Mb(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 = '' + Za(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 Ge(a, b) {
if (null != b.dangerouslySetInnerHTML) throw Error(m(91))
return D({}, b, {
value: void 0,
defaultValue: void 0,
children: '' + a._wrapperState.initialValue,
})
}
function Lg(a, b) {
var c = b.value
if (null == c) {
c = b.children
b = b.defaultValue
if (null != c) {
if (null != b) throw Error(m(92))
if (pc(c)) {
if (1 < c.length) throw Error(m(93))
c = c[0]
}
b = c
}
null == b && (b = '')
c = b
}
a._wrapperState = { initialValue: Za(c) }
}
function Mg(a, b) {
var c = Za(b.value),
d = Za(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 Ng(a, b) {
b = a.textContent
b === a._wrapperState.initialValue && '' !== b && null !== b && (a.value = b)
}
function Og(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 He(a, b) {
return null == a || 'http://www.w3.org/1999/xhtml' === a
? Og(b)
: 'http://www.w3.org/2000/svg' === a && 'foreignObject' === b
? 'http://www.w3.org/1999/xhtml'
: a
}
function Pg(a, b, c) {
return null == b || 'boolean' === typeof b || '' === b
? ''
: c || 'number' !== typeof b || 0 === b || (qc.hasOwnProperty(a) && qc[a])
? ('' + b).trim()
: b + 'px'
}
function Qg(a, b) {
a = a.style
for (var c in b)
if (b.hasOwnProperty(c)) {
var d = 0 === c.indexOf('--'),
e = Pg(c, b[c], d)
'float' === c && (c = 'cssFloat')
d ? a.setProperty(c, e) : (a[c] = e)
}
}
function Ie(a, b) {
if (b) {
if (Pj[a] && (null != b.children || null != b.dangerouslySetInnerHTML))
throw Error(m(137, a))
if (null != b.dangerouslySetInnerHTML) {
if (null != b.children) throw Error(m(60))
if (
'object' !== typeof b.dangerouslySetInnerHTML ||
!('__html' in b.dangerouslySetInnerHTML)
)
throw Error(m(61))
}
if (null != b.style && 'object' !== typeof b.style) throw Error(m(62))
}
}
function Je(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
}
}
function Ke(a) {
a = a.target || a.srcElement || window
a.correspondingUseElement && (a = a.correspondingUseElement)
return 3 === a.nodeType ? a.parentNode : a
}
function Rg(a) {
if ((a = rc(a))) {
if ('function' !== typeof Le) throw Error(m(280))
var b = a.stateNode
b && ((b = fd(b)), Le(a.stateNode, a.type, b))
}
}
function Sg(a) {
Nb ? (Ob ? Ob.push(a) : (Ob = [a])) : (Nb = a)
}
function Tg() {
if (Nb) {
var a = Nb,
b = Ob
Ob = Nb = null
Rg(a)
if (b) for (a = 0; a < b.length; a++) Rg(b[a])
}
}
function Ug(a, b, c) {
if (Me) return a(b, c)
Me = !0
try {
return Vg(a, b, c)
} finally {
if (((Me = !1), null !== Nb || null !== Ob)) (Wg(), Tg())
}
}
function sc(a, b) {
var c = a.stateNode
if (null === c) return null
var d = fd(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(m(231, b, typeof c))
return c
}
function Qj(a, b, c, d, e, f, g, h, k) {
tc = !1
gd = null
Rj.apply(Sj, arguments)
}
function Tj(a, b, c, d, e, f, g, h, k) {
Qj.apply(this, arguments)
if (tc) {
if (tc) {
var n = gd
tc = !1
gd = null
} else throw Error(m(198))
hd || ((hd = !0), (Ne = n))
}
}
function sb(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 Xg(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 Yg(a) {
if (sb(a) !== a) throw Error(m(188))
}
function Uj(a) {
var b = a.alternate
if (!b) {
b = sb(a)
if (null === b) throw Error(m(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 (Yg(e), a)
if (f === d) return (Yg(e), b)
f = f.sibling
}
throw Error(m(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(m(189))
}
}
if (c.alternate !== d) throw Error(m(190))
}
if (3 !== c.tag) throw Error(m(188))
return c.stateNode.current === c ? a : b
}
function Zg(a) {
a = Uj(a)
return null !== a ? $g(a) : null
}
function $g(a) {
if (5 === a.tag || 6 === a.tag) return a
for (a = a.child; null !== a; ) {
var b = $g(a)
if (null !== b) return b
a = a.sibling
}
return null
}
function Vj(a) {
if ('undefined' === typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) return !1
var b = __REACT_DEVTOOLS_GLOBAL_HOOK__
if (b.isDisabled || !b.supportsFiber) return !0
try {
;((a = D({}, a, { getLaneLabelMap: Wj, injectProfilingHooks: Xj })),
(id = b.inject(a)),
(Da = b))
} catch (c) {}
return b.checkDCE ? !0 : !1
}
function Yj(a, b) {
if (Da && 'function' === typeof Da.onCommitFiberRoot)
try {
var c = 128 === (a.current.flags & 128)
switch (b) {
case 1:
var d = jd
break
case 4:
d = Oe
break
case 16:
d = tb
break
case 536870912:
d = Pe
break
default:
d = tb
}
Da.onCommitFiberRoot(id, a, d, c)
} catch (e) {}
}
function Xj(a) {
l = a
}
function Wj() {
for (var a = new Map(), b = 1, c = 0; 31 > c; c++) {
var d = Zj(b)
a.set(b, d)
b *= 2
}
return a
}
function ah() {
null !== l && 'function' === typeof l.markCommitStopped && l.markCommitStopped()
}
function uc(a) {
null !== l &&
'function' === typeof l.markComponentRenderStarted &&
l.markComponentRenderStarted(a)
}
function Pb() {
null !== l &&
'function' === typeof l.markComponentRenderStopped &&
l.markComponentRenderStopped()
}
function bh(a) {
null !== l &&
'function' === typeof l.markComponentLayoutEffectUnmountStarted &&
l.markComponentLayoutEffectUnmountStarted(a)
}
function ch() {
null !== l &&
'function' === typeof l.markComponentLayoutEffectUnmountStopped &&
l.markComponentLayoutEffectUnmountStopped()
}
function dh(a) {
null !== l && 'function' === typeof l.markRenderStarted && l.markRenderStarted(a)
}
function eh() {
null !== l && 'function' === typeof l.markRenderStopped && l.markRenderStopped()
}
function kd(a, b) {
null !== l &&
'function' === typeof l.markStateUpdateScheduled &&
l.markStateUpdateScheduled(a, b)
}
function ak(a) {
a >>>= 0
return 0 === a ? 32 : (31 - ((bk(a) / ck) | 0)) | 0
}
function Zj(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'
}
function vc(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 ld(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 = vc(h)) : ((f &= g), 0 !== f && (d = vc(f)))
} else ((g = c & ~e), 0 !== g ? (d = vc(g)) : 0 !== f && (d = vc(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 - ka(b)), (e = 1 << c), (d |= a[c]), (b &= ~e))
return d
}
function dk(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 ek(a, b) {
for (
var c = a.suspendedLanes,
d = a.pingedLanes,
e = a.expirationTimes,
f = a.pendingLanes;
0 < f;
) {
var g = 31 - ka(f),
h = 1 << g,
k = e[g]
if (-1 === k) {
if (0 === (h & c) || 0 !== (h & d)) e[g] = dk(h, b)
} else k <= b && (a.expiredLanes |= h)
f &= ~h
}
}
function Qe(a) {
a = a.pendingLanes & -1073741825
return 0 !== a ? a : a & 1073741824 ? 1073741824 : 0
}
function fh() {
var a = md
md <<= 1
0 === (md & 4194240) && (md = 64)
return a
}
function Re(a) {
for (var b = [], c = 0; 31 > c; c++) b.push(a)
return b
}
function wc(a, b, c) {
a.pendingLanes |= b
536870912 !== b && ((a.suspendedLanes = 0), (a.pingedLanes = 0))
a = a.eventTimes
b = 31 - ka(b)
a[b] = c
}
function fk(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 - ka(c),
f = 1 << e
b[e] = 0
d[e] = -1
a[e] = -1
c &= ~f
}
}
function Se(a, b) {
var c = (a.entangledLanes |= b)
for (a = a.entanglements; c; ) {
var d = 31 - ka(c),
e = 1 << d
;(e & b) | (a[d] & b) && (a[d] |= b)
c &= ~e
}
}
function gh(a, b, c) {
if (ua)
for (a = a.pendingUpdatersLaneMap; 0 < c; ) {
var d = 31 - ka(c),
e = 1 << d
a[d].add(b)
c &= ~e
}
}
function hh(a, b) {
if (ua)
for (var c = a.pendingUpdatersLaneMap, d = a.memoizedUpdaters; 0 < b; ) {
var e = 31 - ka(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
}
}
function ih(a) {
a &= -a
return 1 < a ? (4 < a ? (0 !== (a & 268435455) ? 16 : 536870912) : 4) : 1
}
function jh(a, b) {
switch (a) {
case 'focusin':
case 'focusout':
$a = null
break
case 'dragenter':
case 'dragleave':
ab = null
break
case 'mouseover':
case 'mouseout':
bb = null
break
case 'pointerover':
case 'pointerout':
xc.delete(b.pointerId)
break
case 'gotpointercapture':
case 'lostpointercapture':
yc.delete(b.pointerId)
}
}
function zc(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 = rc(b)), null !== b && kh(b)),
a
)
a.eventSystemFlags |= d
b = a.targetContainers
null !== e && -1 === b.indexOf(e) && b.push(e)
return a
}
function gk(a, b, c, d, e) {
switch (b) {
case 'focusin':
return (($a = zc($a, a, b, c, d, e)), !0)
case 'dragenter':
return ((ab = zc(ab, a, b, c, d, e)), !0)
case 'mouseover':
return ((bb = zc(bb, a, b, c, d, e)), !0)
case 'pointerover':
var f = e.pointerId
xc.set(f, zc(xc.get(f) || null, a, b, c, d, e))
return !0
case 'gotpointercapture':
return ((f = e.pointerId), yc.set(f, zc(yc.get(f) || null, a, b, c, d, e)), !0)
}
return !1
}
function lh(a) {
var b = ub(a.target)
if (null !== b) {
var c = sb(b)
if (null !== c)
if (((b = c.tag), 13 === b)) {
if (((b = Xg(c)), null !== b)) {
a.blockedOn = b
hk(a.priority, function () {
ik(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 nd(a) {
if (null !== a.blockedOn) return !1
for (var b = a.targetContainers; 0 < b.length; ) {
var c = Te(a.domEventName, a.eventSystemFlags, b[0], a.nativeEvent)
if (null === c) {
c = a.nativeEvent
var d = new c.constructor(c.type, c)
Ue = d
c.target.dispatchEvent(d)
Ue = null
} else return ((b = rc(c)), null !== b && kh(b), (a.blockedOn = c), !1)
b.shift()
}
return !0
}
function mh(a, b, c) {
nd(a) && c.delete(b)
}
function jk() {
Ve = !1
null !== $a && nd($a) && ($a = null)
null !== ab && nd(ab) && (ab = null)
null !== bb && nd(bb) && (bb = null)
xc.forEach(mh)
yc.forEach(mh)
}
function Ac(a, b) {
a.blockedOn === b && ((a.blockedOn = null), Ve || ((Ve = !0), nh(oh, jk)))
}
function Bc(a) {
if (0 < od.length) {
Ac(od[0], a)
for (var b = 1; b < od.length; b++) {
var c = od[b]
c.blockedOn === a && (c.blockedOn = null)
}
}
null !== $a && Ac($a, a)
null !== ab && Ac(ab, a)
null !== bb && Ac(bb, a)
b = function (b) {
return Ac(b, a)
}
xc.forEach(b)
yc.forEach(b)
for (b = 0; b < cb.length; b++)
((c = cb[b]), c.blockedOn === a && (c.blockedOn = null))
for (; 0 < cb.length && ((b = cb[0]), null === b.blockedOn); )
(lh(b), null === b.blockedOn && cb.shift())
}
function kk(a, b, c, d) {
var e = x,
f = Qb.transition
Qb.transition = null
try {
;((x = 1), We(a, b, c, d))
} finally {
;((x = e), (Qb.transition = f))
}
}
function lk(a, b, c, d) {
var e = x,
f = Qb.transition
Qb.transition = null
try {
;((x = 4), We(a, b, c, d))
} finally {
;((x = e), (Qb.transition = f))
}
}
function We(a, b, c, d) {
if (pd) {
var e = Te(a, b, c, d)
if (null === e) (Xe(a, b, d, qd, c), jh(a, d))
else if (gk(e, a, b, c, d)) d.stopPropagation()
else if ((jh(a, d), b & 4 && -1 < mk.indexOf(a))) {
for (; null !== e; ) {
var f = rc(e)
null !== f && nk(f)
f = Te(a, b, c, d)
null === f && Xe(a, b, d, qd, c)
if (f === e) break
e = f
}
null !== e && d.stopPropagation()
} else Xe(a, b, d, null, c)
}
}
function Te(a, b, c, d) {
qd = null
a = Ke(d)
a = ub(a)
if (null !== a)
if (((b = sb(a)), null === b)) a = null
else if (((c = b.tag), 13 === c)) {
a = Xg(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)
qd = a
return null
}
function ph(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 (ok()) {
case jd:
return 1
case Oe:
return 4
case tb:
case pk:
return 16
case Pe:
return 536870912
default:
return 16
}
default:
return 16
}
}
function qh() {
if (rd) return rd
var a,
b = Ye,
c = b.length,
d,
e = 'value' in db ? db.value : db.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 (rd = e.slice(a, 1 < d ? 1 - d : void 0))
}
function sd(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 td() {
return !0
}
function rh() {
return !1
}
function la(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
)
? td
: rh
this.isPropagationStopped = rh
return this
}
D(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 = td))
},
stopPropagation: function () {
var a = this.nativeEvent
a &&
(a.stopPropagation
? a.stopPropagation()
: 'unknown' !== typeof a.cancelBubble && (a.cancelBubble = !0),
(this.isPropagationStopped = td))
},
persist: function () {},
isPersistent: td,
})
return b
}
function qk(a) {
var b = this.nativeEvent
return b.getModifierState ? b.getModifierState(a) : (a = rk[a]) ? !!b[a] : !1
}
function Ze(a) {
return qk
}
function sh(a, b) {
switch (a) {
case 'keyup':
return -1 !== sk.indexOf(b.keyCode)
case 'keydown':
return 229 !== b.keyCode
case 'keypress':
case 'mousedown':
case 'focusout':
return !0
default:
return !1
}
}
function th(a) {
a = a.detail
return 'object' === typeof a && 'data' in a ? a.data : null
}
function tk(a, b) {
switch (a) {
case 'compositionend':
return th(b)
case 'keypress':
if (32 !== b.which) return null
uh = !0
return vh
case 'textInput':
return ((a = b.data), a === vh && uh ? null : a)
default:
return null
}
}
function uk(a, b) {
if (Rb)
return 'compositionend' === a || (!$e && sh(a, b))
? ((a = qh()), (rd = Ye = db = null), (Rb = !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 wh && 'ko' !== b.locale ? null : b.data
default:
return null
}
}
function xh(a) {
var b = a && a.nodeName && a.nodeName.toLowerCase()
return 'input' === b ? !!vk[a.type] : 'textarea' === b ? !0 : !1
}
function wk(a) {
if (!La) return !1
a = 'on' + a
var b = a in document
b ||
((b = document.createElement('div')),
b.setAttribute(a, 'return;'),
(b = 'function' === typeof b[a]))
return b
}
function yh(a, b, c, d) {
Sg(d)
b = ud(b, 'onChange')
0 < b.length &&
((c = new af('onChange', 'change', null, c, d)),
a.push({ event: c, listeners: b }))
}
function xk(a) {
zh(a, 0)
}
function vd(a) {
var b = Sb(a)
if (Hg(b)) return a
}
function yk(a, b) {
if ('change' === a) return b
}
function Ah() {
Cc && (Cc.detachEvent('onpropertychange', Bh), (Dc = Cc = null))
}
function Bh(a) {
if ('value' === a.propertyName && vd(Dc)) {
var b = []
yh(b, Dc, a, Ke(a))
Ug(xk, b)
}
}
function zk(a, b, c) {
'focusin' === a
? (Ah(), (Cc = b), (Dc = c), Cc.attachEvent('onpropertychange', Bh))
: 'focusout' === a && Ah()
}
function Ak(a, b) {
if ('selectionchange' === a || 'keyup' === a || 'keydown' === a) return vd(Dc)
}
function Bk(a, b) {
if ('click' === a) return vd(b)
}
function Ck(a, b) {
if ('input' === a || 'change' === a) return vd(b)
}
function Dk(a, b) {
return (a === b && (0 !== a || 1 / a === 1 / b)) || (a !== a && b !== b)
}
function Ec(a, b) {
if (va(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 (!re.call(b, e) || !va(a[e], b[e])) return !1
}
return !0
}
function Ch(a) {
for (; a && a.firstChild; ) a = a.firstChild
return a
}
function Dh(a, b) {
var c = Ch(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) {
c = c.nextSibling
break a
}
c = c.parentNode
}
c = void 0
}
c = Ch(c)
}
}
function Eh(a, b) {
return a && b
? a === b
? !0
: a && 3 === a.nodeType
? !1
: b && 3 === b.nodeType
? Eh(a, b.parentNode)
: 'contains' in a
? a.contains(b)
: a.compareDocumentPosition
? !!(a.compareDocumentPosition(b) & 16)
: !1
: !1
}
function Fh() {
for (var a = window, b = ed(); b instanceof a.HTMLIFrameElement; ) {
try {
var c = 'string' === typeof b.contentWindow.location.href
} catch (d) {
c = !1
}
if (c) a = b.contentWindow
else break
b = ed(a.document)
}
return b
}
function bf(a) {
var b = a && a.nodeName && a.nodeName.toLowerCase()
return (
b &&
(('input' === b &&
('text' === a.type ||
'search' === a.type ||
'tel' === a.type ||
'url' === a.type ||
'password' === a.type)) ||
'textarea' === b ||
'true' === a.contentEditable)
)
}
function Ek(a) {
var b = Fh(),
c = a.focusedElem,
d = a.selectionRange
if (b !== c && c && c.ownerDocument && Eh(c.ownerDocument.documentElement, c)) {
if (null !== d && bf(c))
if (
((b = d.start), (a = d.end), void 0 === a && (a = b), 'selectionStart' in c)
)
((c.selectionStart = b), (c.selectionEnd = Math.min(a, c.value.length)))
else if (
((a = ((b = c.ownerDocument || document) && b.defaultView) || window),
a.getSelection)
) {
a = a.getSelection()
var e = c.textContent.length,
f = Math.min(d.start, e)
d = void 0 === d.end ? f : Math.min(d.end, e)
!a.extend && f > d && ((e = d), (d = f), (f = e))
e = Dh(c, f)
var g = Dh(c, d)
e &&
g &&
(1 !== a.rangeCount ||
a.anchorNode !== e.node ||
a.anchorOffset !== e.offset ||
a.focusNode !== g.node ||
a.focusOffset !== g.offset) &&
((b = b.createRange()),
b.setStart(e.node, e.offset),
a.removeAllRanges(),
f > d
? (a.addRange(b), a.extend(g.node, g.offset))
: (b.setEnd(g.node, g.offset), a.addRange(b)))
}
b = []
for (a = c; (a = a.parentNode); )
1 === a.nodeType && b.push({ element: a, left: a.scrollLeft, top: a.scrollTop })
'function' === typeof c.focus && c.focus()
for (c = 0; c < b.length; c++)
((a = b[c]), (a.element.scrollLeft = a.left), (a.element.scrollTop = a.top))
}
}
function Gh(a, b, c) {
var d = c.window === c ? c.document : 9 === c.nodeType ? c : c.ownerDocument
cf ||
null == Tb ||
Tb !== ed(d) ||
((d = Tb),
'selectionStart' in d && bf(d)
? (d = { start: d.selectionStart, end: d.selectionEnd })
: ((d = (
(d.ownerDocument && d.ownerDocument.defaultView) ||
window
).getSelection()),
(d = {
anchorNode: d.anchorNode,
anchorOffset: d.anchorOffset,
focusNode: d.focusNode,
focusOffset: d.focusOffset,
})),
(Fc && Ec(Fc, d)) ||
((Fc = d),
(d = ud(df, 'onSelect')),
0 < d.length &&
((b = new af('onSelect', 'select', null, b, c)),
a.push({ event: b, listeners: d }),
(b.target = Tb))))
}
function wd(a, b) {
var c = {}
c[a.toLowerCase()] = b.toLowerCase()
c['Webkit' + a] = 'webkit' + b
c['Moz' + a] = 'moz' + b
return c
}
function xd(a) {
if (ef[a]) return ef[a]
if (!Ub[a]) return a
var b = Ub[a],
c
for (c in b) if (b.hasOwnProperty(c) && c in Hh) return (ef[a] = b[c])
return a
}
function eb(a, b) {
Ih.set(a, b)
rb(b, [a])
}
function Jh(a, b, c) {
var d = a.type || 'unknown-event'
a.currentTarget = c
Tj(d, b, void 0, a)
a.currentTarget = null
}
function zh(a, b) {
b = 0 !== (b & 4)
for (var c = 0; c < a.length; c++) {
var d = a[c],
e = d.event
d = d.listeners
a: {
var f = void 0
if (b)
for (var g = d.length - 1; 0 <= g; g--) {
var h = d[g],
k = h.instance,
n = h.currentTarget
h = h.listener
if (k !== f && e.isPropagationStopped()) break a
Jh(e, h, n)
f = k
}
else
for (g = 0; g < d.length; g++) {
h = d[g]
k = h.instance
n = h.currentTarget
h = h.listener
if (k !== f && e.isPropagationStopped()) break a
Jh(e, h, n)
f = k
}
}
}
if (hd) throw ((a = Ne), (hd = !1), (Ne = null), a)
}
function A(a, b) {
var c = b[ff]
void 0 === c && (c = b[ff] = new Set())
var d = a + '__bubble'
c.has(d) || (Kh(b, a, 2, !1), c.add(d))
}
function gf(a, b, c) {
var d = 0
b && (d |= 4)
Kh(c, a, d, b)
}
function Gc(a) {
if (!a[yd]) {
a[yd] = !0
Ag.forEach(function (b) {
'selectionchange' !== b && (Fk.has(b) || gf(b, !1, a), gf(b, !0, a))
})
var b = 9 === a.nodeType ? a : a.ownerDocument
null === b || b[yd] || ((b[yd] = !0), gf('selectionchange', !1, b))
}
}
function Kh(a, b, c, d, e) {
switch (ph(b)) {
case 1:
e = kk
break
case 4:
e = lk
break
default:
e = We
}
c = e.bind(null, b, c, a)
e = void 0
!hf || ('touchstart' !== b && 'touchmove' !== b && 'wheel' !== b) || (e = !0)
d
? void 0 !== e
? a.addEventListener(b, c, { capture: !0, passive: e })
: a.addEventListener(b, c, !0)
: void 0 !== e
? a.addEventListener(b, c, { passive: e })
: a.addEventListener(b, c, !1)
}
function Xe(a, b, c, d, e) {
var f = d
if (0 === (b & 1) && 0 === (b & 2) && null !== d)
a: for (;;) {
if (null === d) return
var g = d.tag
if (3 === g || 4 === g) {
var h = d.stateNode.containerInfo
if (h === e || (8 === h.nodeType && h.parentNode === e)) break
if (4 === g)
for (g = d.return; null !== g; ) {
var k = g.tag
if (3 === k || 4 === k)
if (
((k = g.stateNode.containerInfo),
k === e || (8 === k.nodeType && k.parentNode === e))
)
return
g