diff --git a/dist/esm/index.js b/dist/esm/index.js index ae43484f..fb62e6d8 100644 --- a/dist/esm/index.js +++ b/dist/esm/index.js @@ -16997,29 +16997,33 @@ var Zu, $u, Wu = { exports: {} }, qu = { exports: {} }; -var Yu, - Ku = +function Yu() { + return ( + Zu || + ((Zu = 1), + (function (e) { + ((e.exports = function (e, t) { + if (null == e) return {}; + var n = {}; + for (var a in e) + if ({}.hasOwnProperty.call(e, a)) { + if (t.includes(a)) continue; + n[a] = e[a]; + } + return n; + }), + (e.exports.__esModule = !0), + (e.exports.default = e.exports)); + })(qu)), + qu.exports + ); +} +var Ku, + Xu = ($u || (($u = 1), (function (e) { - var t = - (Zu || - ((Zu = 1), - (function (e) { - ((e.exports = function (e, t) { - if (null == e) return {}; - var n = {}; - for (var a in e) - if ({}.hasOwnProperty.call(e, a)) { - if (t.includes(a)) continue; - n[a] = e[a]; - } - return n; - }), - (e.exports.__esModule = !0), - (e.exports.default = e.exports)); - })(qu)), - qu.exports); + var t = Yu(); ((e.exports = function (e, n) { if (null == e) return {}; var a, @@ -17038,8 +17042,8 @@ var Yu, (e.exports.default = e.exports)); })(Wu)), Wu.exports), - Xu = y(Ku), - Qu = (function () { + Qu = y(Xu), + Ju = (function () { return rd( function e(t) { var n = t.cellCount, @@ -17254,20 +17258,20 @@ var Yu, ], ); })(), - Ju = function () { + ep = function () { return "undefined" != typeof window && window.chrome ? 16777100 : 15e5; }, - ep = ["maxScrollSize"], - tp = (function () { + tp = ["maxScrollSize"], + np = (function () { return rd( function e(t) { var n = t.maxScrollSize, - a = void 0 === n ? Ju() : n, - r = Xu(t, ep); + a = void 0 === n ? ep() : n, + r = Qu(t, tp); (Vc(this, e), wd(this, "_cellSizeAndPositionManager", void 0), wd(this, "_maxScrollSize", void 0), - (this._cellSizeAndPositionManager = new Qu(r)), + (this._cellSizeAndPositionManager = new Ju(r)), (this._maxScrollSize = a)); }, [ @@ -17422,7 +17426,7 @@ var Yu, ], ); })(); -function np(e) { +function ap(e) { var t = e.cellSize, n = e.cellSizeAndPositionManager, a = e.previousCellsCount, @@ -17448,7 +17452,7 @@ function np(e) { ? h(d) : !g && m > 0 && (u < s || m < a) && l > n.getTotalSize() - u && h(m - 1); } -function ap(e, t) { +function rp(e, t) { "production" !== process.env.NODE_ENV && t && (t.type && t.type.__internalCellMeasurerFlag && (t = t.props.children), @@ -17461,46 +17465,46 @@ function ap(e, t) { "Rendered cell should include style property for positioning.", ))); } -var rp = - (Yu = +var ip = + (Ku = "undefined" != typeof window ? window : "undefined" != typeof self ? self : {}).requestAnimationFrame || - Yu.webkitRequestAnimationFrame || - Yu.mozRequestAnimationFrame || - Yu.oRequestAnimationFrame || - Yu.msRequestAnimationFrame || + Ku.webkitRequestAnimationFrame || + Ku.mozRequestAnimationFrame || + Ku.oRequestAnimationFrame || + Ku.msRequestAnimationFrame || function (e) { - return Yu.setTimeout(e, 1e3 / 60); - }, - ip = - Yu.cancelAnimationFrame || - Yu.webkitCancelAnimationFrame || - Yu.mozCancelAnimationFrame || - Yu.oCancelAnimationFrame || - Yu.msCancelAnimationFrame || + return Ku.setTimeout(e, 1e3 / 60); + }, + op = + Ku.cancelAnimationFrame || + Ku.webkitCancelAnimationFrame || + Ku.mozCancelAnimationFrame || + Ku.oCancelAnimationFrame || + Ku.msCancelAnimationFrame || function (e) { - Yu.clearTimeout(e); + Ku.clearTimeout(e); }, - op = rp, sp = ip, - lp = function (e) { - return sp(e.id); + lp = op, + cp = function (e) { + return lp(e.id); }, - cp = function (e, t) { + dp = function (e, t) { var n; Promise.resolve().then(function () { n = Date.now(); }); var a = function () { - Date.now() - n >= t ? e.call() : (r.id = op(a)); + Date.now() - n >= t ? e.call() : (r.id = sp(a)); }, - r = { id: op(a) }; + r = { id: sp(a) }; return r; }; -function dp(e, t) { +function up(e, t) { var n = Object.keys(e); if (Object.getOwnPropertySymbols) { var a = Object.getOwnPropertySymbols(e); @@ -17512,47 +17516,47 @@ function dp(e, t) { } return n; } -function up(e) { +function pp(e) { for (var t = 1; t < arguments.length; t++) { var n = null != arguments[t] ? arguments[t] : {}; t % 2 - ? dp(Object(n), !0).forEach(function (t) { + ? up(Object(n), !0).forEach(function (t) { wd(e, t, n[t]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) - : dp(Object(n)).forEach(function (t) { + : up(Object(n)).forEach(function (t) { Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t)); }); } return e; } -function pp(e, t, n) { +function hp(e, t, n) { return ( (t = gd(t)), dd( e, - hp() ? Reflect.construct(t, n || [], gd(e).constructor) : t.apply(e, n), + mp() ? Reflect.construct(t, n || [], gd(e).constructor) : t.apply(e, n), ) ); } -function hp() { +function mp() { try { var e = !Boolean.prototype.valueOf.call( Reflect.construct(Boolean, [], function () {}), ); } catch (e) {} - return (hp = function () { + return (mp = function () { return !!e; })(); } -var mp = "observed", - gp = "requested", - fp = (function (t) { +var gp = "observed", + fp = "requested", + bp = (function (t) { function n(e) { var t; (Vc(this, n), - (t = pp(this, n, [e])), + (t = hp(this, n, [e])), wd(t, "_onGridRenderedMemoizer", Su()), wd(t, "_onScrollMemoizer", Su(!1)), wd(t, "_deferredInvalidateColumnIndex", null), @@ -17607,14 +17611,14 @@ var mp = "observed", wd(t, "_onScroll", function (e) { e.target === t._scrollingContainer && t.handleScrollEvent(e.target); })); - var a = new tp({ + var a = new np({ cellCount: e.columnCount, cellSizeGetter: function (t) { return n._wrapSizeGetter(e.columnWidth)(t); }, estimatedCellSize: n._getEstimatedColumnSize(e), }), - r = new tp({ + r = new np({ cellCount: e.rowCount, cellSizeGetter: function (t) { return n._wrapSizeGetter(e.rowHeight)(t); @@ -17669,8 +17673,8 @@ var mp = "observed", r = void 0 === a ? this.props.scrollToColumn : a, i = e.rowIndex, o = void 0 === i ? this.props.scrollToRow : i, - s = up( - up({}, this.props), + s = pp( + pp({}, this.props), {}, { scrollToAlignment: n, scrollToColumn: r, scrollToRow: o }, ); @@ -17727,7 +17731,7 @@ var mp = "observed", ? 1 : -1 : this.state.scrollDirectionVertical, - scrollPositionChangeReason: mp, + scrollPositionChangeReason: gp, }; (o || (f.scrollTop = g), s || (f.scrollLeft = m), @@ -17809,11 +17813,11 @@ var mp = "observed", (a > 1 && void 0 !== t && this._updateScrollLeftForScrollToColumn( - up(up({}, r), {}, { scrollToColumn: t }), + pp(pp({}, r), {}, { scrollToColumn: t }), ), void 0 !== n && this._updateScrollTopForScrollToRow( - up(up({}, r), {}, { scrollToRow: n }), + pp(pp({}, r), {}, { scrollToRow: n }), )); }, }, @@ -17835,7 +17839,7 @@ var mp = "observed", this._handleInvalidatedGridSize(), c.scrollbarSizeMeasured || this.setState(function (e) { - var n = up(up({}, e), {}, { needToResetStyleCache: !1 }); + var n = pp(pp({}, e), {}, { needToResetStyleCache: !1 }); return ( (n.instanceProps.scrollbarSize = t()), (n.instanceProps.scrollbarSizeMeasured = !0), @@ -17894,7 +17898,7 @@ var mp = "observed", this._handleInvalidatedGridSize(); var E = (o > 0 && 0 === e.columnCount) || (l > 0 && 0 === e.rowCount); - g === gp && + g === fp && (!i && m >= 0 && (m !== this._scrollingContainer.scrollLeft || E) && @@ -17908,7 +17912,7 @@ var mp = "observed", (this._recomputeScrollLeftFlag ? ((this._recomputeScrollLeftFlag = !1), this._updateScrollLeftForScrollToColumn(this.props)) - : np({ + : ap({ cellSizeAndPositionManager: b.columnSizeAndPositionManager, previousCellsCount: e.columnCount, @@ -17928,7 +17932,7 @@ var mp = "observed", this._recomputeScrollTopFlag ? ((this._recomputeScrollTopFlag = !1), this._updateScrollTopForScrollToRow(this.props)) - : np({ + : ap({ cellSizeAndPositionManager: b.rowSizeAndPositionManager, previousCellsCount: e.rowCount, previousCellSize: e.rowHeight, @@ -17963,7 +17967,7 @@ var mp = "observed", key: "componentWillUnmount", value: function () { this._disablePointerEventsTimeoutId && - lp(this._disablePointerEventsTimeoutId); + cp(this._disablePointerEventsTimeoutId); }, }, { @@ -18022,7 +18026,7 @@ var mp = "observed", id: d, onScroll: this._onScroll, role: p, - style: up(up({}, x), h), + style: pp(pp({}, x), h), tabIndex: m, }), w.length > 0 && @@ -18031,7 +18035,7 @@ var mp = "observed", { className: "ReactVirtualized__Grid__innerScrollContainer", role: s, - style: up( + style: pp( { width: n ? "auto" : T, height: _, @@ -18172,8 +18176,8 @@ var mp = "observed", value: function () { var e = this.props.scrollingResetTimeInterval; (this._disablePointerEventsTimeoutId && - lp(this._disablePointerEventsTimeoutId), - (this._disablePointerEventsTimeoutId = cp( + cp(this._disablePointerEventsTimeoutId), + (this._disablePointerEventsTimeoutId = dp( this._debounceScrollEndedCallback, e, ))); @@ -18432,7 +18436,7 @@ var mp = "observed", ? ((o.scrollbarSizeMeasured = !1), (o.scrollbarSize = 0)) : (o.scrollbarSizeMeasured = !0), (a.instanceProps = o), - up(up(up({}, a), r), i) + pp(pp(pp({}, a), r), i) ); }, }, @@ -18458,7 +18462,7 @@ var mp = "observed", var t = e.prevState, n = e.scrollLeft, a = e.scrollTop, - r = { scrollPositionChangeReason: gp }; + r = { scrollPositionChangeReason: fp }; return ( "number" == typeof n && n >= 0 && @@ -18567,7 +18571,7 @@ var mp = "observed", ) ); })(e.PureComponent); -(wd(fp, "defaultProps", { +(wd(bp, "defaultProps", { "aria-label": "grid", "aria-readonly": !0, autoContainerWidth: !1, @@ -18637,7 +18641,7 @@ var mp = "observed", : (n[C] || (n[C] = a(I)), (R = n[C])), null != R && !1 !== R && - ("production" !== process.env.NODE_ENV && ap(u, R), + ("production" !== process.env.NODE_ENV && rp(u, R), R.props.role || (R = t.cloneElement(R, { role: "gridcell" })), v.push(R))); } @@ -18681,8 +18685,8 @@ var mp = "observed", tabIndex: 0, isScrollingOptOut: !1, }), - Cd.polyfill(fp)); -function bp(e) { + Cd.polyfill(bp)); +function Ep(e) { var t = e.cellCount, n = e.overscanCellsCount, a = e.scrollDirection, @@ -18701,15 +18705,15 @@ function bp(e) { } ); } -var Ep, - vp, - xp = { exports: {} }, +var vp, + xp, Tp = { exports: {} }, - _p = { exports: {} }; -function yp() { + _p = { exports: {} }, + yp = { exports: {} }; +function Sp() { return ( - Ep || - ((Ep = 1), + vp || + ((vp = 1), (function (e) { ((e.exports = function (e, t) { (null == t || t > e.length) && (t = e.length); @@ -18718,31 +18722,31 @@ function yp() { }), (e.exports.__esModule = !0), (e.exports.default = e.exports)); - })(_p)), - _p.exports + })(yp)), + yp.exports ); } -function Sp() { +function wp() { return ( - vp || - ((vp = 1), + xp || + ((xp = 1), (function (e) { - var t = yp(); + var t = Sp(); ((e.exports = function (e) { if (Array.isArray(e)) return t(e); }), (e.exports.__esModule = !0), (e.exports.default = e.exports)); - })(Tp)), - Tp.exports + })(_p)), + _p.exports ); } -var wp, - Ap = { exports: {} }; -function Cp() { +var Ap, + Cp = { exports: {} }; +function Np() { return ( - wp || - ((wp = 1), + Ap || + ((Ap = 1), (function (e) { ((e.exports = function (e) { if ( @@ -18753,18 +18757,18 @@ function Cp() { }), (e.exports.__esModule = !0), (e.exports.default = e.exports)); - })(Ap)), - Ap.exports + })(Cp)), + Cp.exports ); } -var Np, - Ip = { exports: {} }; -function Rp() { +var Ip, + Rp = { exports: {} }; +function kp() { return ( - Np || - ((Np = 1), + Ip || + ((Ip = 1), (function (e) { - var t = yp(); + var t = Sp(); ((e.exports = function (e, n) { if (e) { if ("string" == typeof e) return t(e, n); @@ -18782,17 +18786,17 @@ function Rp() { }), (e.exports.__esModule = !0), (e.exports.default = e.exports)); - })(Ip)), - Ip.exports + })(Rp)), + Rp.exports ); } -var kp, - Op, - Lp = { exports: {} }; -function Mp() { +var Op, + Lp, + Mp = { exports: {} }; +function Dp() { return ( - kp || - ((kp = 1), + Op || + ((Op = 1), (function (e) { ((e.exports = function () { throw new TypeError( @@ -18801,51 +18805,51 @@ function Mp() { }), (e.exports.__esModule = !0), (e.exports.default = e.exports)); - })(Lp)), - Lp.exports + })(Mp)), + Mp.exports ); } -var Dp = - (Op || - ((Op = 1), +var Pp = + (Lp || + ((Lp = 1), (function (e) { - var t = Sp(), - n = Cp(), - a = Rp(), - r = Mp(); + var t = wp(), + n = Np(), + a = kp(), + r = Dp(); ((e.exports = function (e) { return t(e) || n(e) || a(e) || r(); }), (e.exports.__esModule = !0), (e.exports.default = e.exports)); - })(xp)), - xp.exports), - Pp = y(Dp); -function jp(e, t, n) { + })(Tp)), + Tp.exports), + jp = y(Pp); +function Bp(e, t, n) { return ( (t = gd(t)), dd( e, - Bp() ? Reflect.construct(t, n || [], gd(e).constructor) : t.apply(e, n), + Fp() ? Reflect.construct(t, n || [], gd(e).constructor) : t.apply(e, n), ) ); } -function Bp() { +function Fp() { try { var e = !Boolean.prototype.valueOf.call( Reflect.construct(Boolean, [], function () {}), ); } catch (e) {} - return (Bp = function () { + return (Fp = function () { return !!e; })(); } -var Fp = (function (e) { +var Hp = (function (e) { function t(e, n) { var a; return ( Vc(this, t), - ((a = jp(this, t, [e, n]))._loadMoreRowsMemoizer = Su()), + ((a = Bp(this, t, [e, n]))._loadMoreRowsMemoizer = Su()), (a._onRowsRendered = a._onRowsRendered.bind(a)), (a._registerChild = a._registerChild.bind(a)), a @@ -18980,7 +18984,7 @@ var Fp = (function (e) { }), d = (n = []).concat.apply( n, - Pp( + jp( c.map(function (e) { return [e.startIndex, e.stopIndex]; }), @@ -19003,27 +19007,27 @@ var Fp = (function (e) { ]) ); })(e.PureComponent); -function Hp(e, t, n) { +function zp(e, t, n) { return ( (t = gd(t)), dd( e, - zp() ? Reflect.construct(t, n || [], gd(e).constructor) : t.apply(e, n), + Up() ? Reflect.construct(t, n || [], gd(e).constructor) : t.apply(e, n), ) ); } -function zp() { +function Up() { try { var e = !Boolean.prototype.valueOf.call( Reflect.construct(Boolean, [], function () {}), ); } catch (e) {} - return (zp = function () { + return (Up = function () { return !!e; })(); } -(wd(Fp, "defaultProps", { minimumBatchSize: 10, rowCount: 0, threshold: 15 }), - (Fp.propTypes = +(wd(Hp, "defaultProps", { minimumBatchSize: 10, rowCount: 0, threshold: 15 }), + (Hp.propTypes = "production" !== process.env.NODE_ENV ? { children: Tu.func.isRequired, @@ -19034,14 +19038,14 @@ function zp() { threshold: Tu.number.isRequired, } : {})); -var Up = (function (t) { +var Gp = (function (t) { function n() { var e; Vc(this, n); for (var t = arguments.length, a = new Array(t), r = 0; r < t; r++) a[r] = arguments[r]; return ( - (e = Hp(this, n, [].concat(a))), + (e = zp(this, n, [].concat(a))), wd(e, "Grid", void 0), wd(e, "_cellRenderer", function (t) { var n = t.parent, @@ -19183,7 +19187,7 @@ var Up = (function (t) { i = t.width, o = yu("ReactVirtualized__List", n); return e.createElement( - fp, + bp, Kd({}, this.props, { autoContainerWidth: !0, cellRenderer: this._cellRenderer, @@ -19202,7 +19206,7 @@ var Up = (function (t) { ]) ); })(e.PureComponent); -wd(Up, "defaultProps", { +wd(Gp, "defaultProps", { autoHeight: !1, estimatedRowSize: 30, onScroll: function () {}, @@ -19210,35 +19214,35 @@ wd(Up, "defaultProps", { return null; }, onRowsRendered: function () {}, - overscanIndicesGetter: bp, + overscanIndicesGetter: Ep, overscanRowCount: 10, scrollToAlignment: "auto", scrollToIndex: -1, style: {}, }); -var Gp, - Vp = { exports: {} }, - Zp = { exports: {} }; -function $p() { +var Vp, + Zp = { exports: {} }, + $p = { exports: {} }; +function Wp() { return ( - Gp || - ((Gp = 1), + Vp || + ((Vp = 1), (function (e) { ((e.exports = function (e) { if (Array.isArray(e)) return e; }), (e.exports.__esModule = !0), (e.exports.default = e.exports)); - })(Zp)), - Zp.exports + })($p)), + $p.exports ); } -var Wp, - qp = { exports: {} }; -function Yp() { +var qp, + Yp = { exports: {} }; +function Kp() { return ( - Wp || - ((Wp = 1), + qp || + ((qp = 1), (function (e) { ((e.exports = function (e, t) { var n = @@ -19284,17 +19288,17 @@ function Yp() { }), (e.exports.__esModule = !0), (e.exports.default = e.exports)); - })(qp)), - qp.exports + })(Yp)), + Yp.exports ); } -var Kp, - Xp, - Qp = { exports: {} }; -function Jp() { +var Xp, + Qp, + Jp = { exports: {} }; +function eh() { return ( - Kp || - ((Kp = 1), + Xp || + ((Xp = 1), (function (e) { ((e.exports = function () { throw new TypeError( @@ -19303,27 +19307,27 @@ function Jp() { }), (e.exports.__esModule = !0), (e.exports.default = e.exports)); - })(Qp)), - Qp.exports + })(Jp)), + Jp.exports ); } -var eh = - (Xp || - ((Xp = 1), +var th = + (Qp || + ((Qp = 1), (function (e) { - var t = $p(), - n = Yp(), - a = Rp(), - r = Jp(); + var t = Wp(), + n = Kp(), + a = kp(), + r = eh(); ((e.exports = function (e, i) { return t(e) || n(e, i) || a(e, i) || r(); }), (e.exports.__esModule = !0), (e.exports.default = e.exports)); - })(Vp)), - Vp.exports), - th = y(eh); -var nh = { + })(Zp)), + Zp.exports), + nh = y(th); +var ah = { ge: function (e, t, n, a, r) { return "function" == typeof n ? (function (e, t, n, a, r) { @@ -19444,7 +19448,7 @@ var nh = { })(e, void 0 === n ? 0 : 0 | n, void 0 === a ? e.length - 1 : 0 | a, t); }, }; -function ah(e, t, n, a, r) { +function rh(e, t, n, a, r) { ((this.mid = e), (this.left = t), (this.right = n), @@ -19452,8 +19456,8 @@ function ah(e, t, n, a, r) { (this.rightPoints = r), (this.count = (t ? t.count : 0) + (n ? n.count : 0) + a.length)); } -var rh = ah.prototype; -function ih(e, t) { +var ih = rh.prototype; +function oh(e, t) { ((e.mid = t.mid), (e.left = t.left), (e.right = t.right), @@ -19461,8 +19465,8 @@ function ih(e, t) { (e.rightPoints = t.rightPoints), (e.count = t.count)); } -function oh(e, t) { - var n = gh(t); +function sh(e, t) { + var n = fh(t); ((e.mid = n.mid), (e.left = n.left), (e.right = n.right), @@ -19470,48 +19474,48 @@ function oh(e, t) { (e.rightPoints = n.rightPoints), (e.count = n.count)); } -function sh(e, t) { +function lh(e, t) { var n = e.intervals([]); - (n.push(t), oh(e, n)); + (n.push(t), sh(e, n)); } -function lh(e, t) { +function ch(e, t) { var n = e.intervals([]), a = n.indexOf(t); - return a < 0 ? 0 : (n.splice(a, 1), oh(e, n), 1); + return a < 0 ? 0 : (n.splice(a, 1), sh(e, n), 1); } -function ch(e, t, n) { +function dh(e, t, n) { for (var a = 0; a < e.length && e[a][0] <= t; ++a) { var r = n(e[a]); if (r) return r; } } -function dh(e, t, n) { +function uh(e, t, n) { for (var a = e.length - 1; a >= 0 && e[a][1] >= t; --a) { var r = n(e[a]); if (r) return r; } } -function uh(e, t) { +function ph(e, t) { for (var n = 0; n < e.length; ++n) { var a = t(e[n]); if (a) return a; } } -function ph(e, t) { +function hh(e, t) { return e - t; } -function hh(e, t) { +function mh(e, t) { var n = e[0] - t[0]; return n || e[1] - t[1]; } -function mh(e, t) { +function gh(e, t) { var n = e[1] - t[1]; return n || e[0] - t[0]; } -function gh(e) { +function fh(e) { if (0 === e.length) return null; for (var t = [], n = 0; n < e.length; ++n) t.push(e[n][0], e[n][1]); - t.sort(ph); + t.sort(hh); var a = t[t.length >> 1], r = [], i = [], @@ -19522,12 +19526,12 @@ function gh(e) { } var l = o, c = o.slice(); - return (l.sort(hh), c.sort(mh), new ah(a, gh(r), gh(i), l, c)); + return (l.sort(mh), c.sort(gh), new rh(a, fh(r), fh(i), l, c)); } -function fh(e) { +function bh(e) { this.root = e; } -((rh.intervals = function (e) { +((ih.intervals = function (e) { return ( e.push.apply(e, this.leftPoints), this.left && this.left.intervals(e), @@ -19535,32 +19539,32 @@ function fh(e) { e ); }), - (rh.insert = function (e) { + (ih.insert = function (e) { var t = this.count - this.leftPoints.length; if (((this.count += 1), e[1] < this.mid)) this.left ? 4 * (this.left.count + 1) > 3 * (t + 1) - ? sh(this, e) + ? lh(this, e) : this.left.insert(e) - : (this.left = gh([e])); + : (this.left = fh([e])); else if (e[0] > this.mid) this.right ? 4 * (this.right.count + 1) > 3 * (t + 1) - ? sh(this, e) + ? lh(this, e) : this.right.insert(e) - : (this.right = gh([e])); + : (this.right = fh([e])); else { - var n = nh.ge(this.leftPoints, e, hh), - a = nh.ge(this.rightPoints, e, mh); + var n = ah.ge(this.leftPoints, e, mh), + a = ah.ge(this.rightPoints, e, gh); (this.leftPoints.splice(n, 0, e), this.rightPoints.splice(a, 0, e)); } }), - (rh.remove = function (e) { + (ih.remove = function (e) { var t = this.count - this.leftPoints; if (e[1] < this.mid) return this.left ? 4 * (this.right ? this.right.count : 0) > 3 * (t - 1) - ? lh(this, e) + ? ch(this, e) : 2 === (i = this.left.remove(e)) ? ((this.left = null), (this.count -= 1), 1) : (1 === i && (this.count -= 1), i) @@ -19568,7 +19572,7 @@ function fh(e) { if (e[0] > this.mid) return this.right ? 4 * (this.left ? this.left.count : 0) > 3 * (t - 1) - ? lh(this, e) + ? ch(this, e) : 2 === (i = this.right.remove(e)) ? ((this.right = null), (this.count -= 1), 1) : (1 === i && (this.count -= 1), i) @@ -19586,23 +19590,23 @@ function fh(e) { (a.left = r), (a.right = i)); } - (ih(this, a), + (oh(this, a), (this.count = (this.left ? this.left.count : 0) + (this.right ? this.right.count : 0) + this.leftPoints.length)); - } else this.left ? ih(this, this.left) : ih(this, this.right); + } else this.left ? oh(this, this.left) : oh(this, this.right); return 1; } for ( - r = nh.ge(this.leftPoints, e, hh); + r = ah.ge(this.leftPoints, e, mh); r < this.leftPoints.length && this.leftPoints[r][0] === e[0]; ++r ) if (this.leftPoints[r] === e) { ((this.count -= 1), this.leftPoints.splice(r, 1)); for ( - i = nh.ge(this.rightPoints, e, mh); + i = ah.ge(this.rightPoints, e, gh); i < this.rightPoints.length && this.rightPoints[i][1] === e[1]; ++i ) @@ -19611,65 +19615,65 @@ function fh(e) { } return 0; }), - (rh.queryPoint = function (e, t) { + (ih.queryPoint = function (e, t) { if (e < this.mid) { if (this.left) if ((n = this.left.queryPoint(e, t))) return n; - return ch(this.leftPoints, e, t); + return dh(this.leftPoints, e, t); } if (e > this.mid) { var n; if (this.right) if ((n = this.right.queryPoint(e, t))) return n; - return dh(this.rightPoints, e, t); + return uh(this.rightPoints, e, t); } - return uh(this.leftPoints, t); + return ph(this.leftPoints, t); }), - (rh.queryInterval = function (e, t, n) { + (ih.queryInterval = function (e, t, n) { var a; if (e < this.mid && this.left && (a = this.left.queryInterval(e, t, n))) return a; if (t > this.mid && this.right && (a = this.right.queryInterval(e, t, n))) return a; return t < this.mid - ? ch(this.leftPoints, t, n) + ? dh(this.leftPoints, t, n) : e > this.mid - ? dh(this.rightPoints, e, n) - : uh(this.leftPoints, n); + ? uh(this.rightPoints, e, n) + : ph(this.leftPoints, n); })); -var bh = fh.prototype; -((bh.insert = function (e) { +var Eh = bh.prototype; +((Eh.insert = function (e) { this.root ? this.root.insert(e) - : (this.root = new ah(e[0], null, null, [e], [e])); + : (this.root = new rh(e[0], null, null, [e], [e])); }), - (bh.remove = function (e) { + (Eh.remove = function (e) { if (this.root) { var t = this.root.remove(e); return (2 === t && (this.root = null), 0 !== t); } return !1; }), - (bh.queryPoint = function (e, t) { + (Eh.queryPoint = function (e, t) { if (this.root) return this.root.queryPoint(e, t); }), - (bh.queryInterval = function (e, t, n) { + (Eh.queryInterval = function (e, t, n) { if (e <= t && this.root) return this.root.queryInterval(e, t, n); }), - Object.defineProperty(bh, "count", { + Object.defineProperty(Eh, "count", { get: function () { return this.root ? this.root.count : 0; }, }), - Object.defineProperty(bh, "intervals", { + Object.defineProperty(Eh, "intervals", { get: function () { return this.root ? this.root.intervals([]) : []; }, })); -var Eh = (function () { +var vh = (function () { return rd( function e() { (Vc(this, e), wd(this, "_columnSizeMap", {}), - wd(this, "_intervalTree", new fh(null)), + wd(this, "_intervalTree", new bh(null)), wd(this, "_leftMap", {})); }, [ @@ -19685,7 +19689,7 @@ var Eh = (function () { value: function (e, t, n) { var a = this; this._intervalTree.queryInterval(e, e + t, function (e) { - var t = th(e, 3), + var t = nh(e, 3), r = t[0]; t[1]; var i = t[2]; @@ -19735,7 +19739,7 @@ var Eh = (function () { ], ); })(); -function vh(e, t) { +function xh(e, t) { var n = Object.keys(e); if (Object.getOwnPropertySymbols) { var a = Object.getOwnPropertySymbols(e); @@ -19747,53 +19751,53 @@ function vh(e, t) { } return n; } -function xh(e) { +function Th(e) { for (var t = 1; t < arguments.length; t++) { var n = null != arguments[t] ? arguments[t] : {}; t % 2 - ? vh(Object(n), !0).forEach(function (t) { + ? xh(Object(n), !0).forEach(function (t) { wd(e, t, n[t]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) - : vh(Object(n)).forEach(function (t) { + : xh(Object(n)).forEach(function (t) { Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t)); }); } return e; } -function Th(e, t, n) { +function _h(e, t, n) { return ( (t = gd(t)), dd( e, - _h() ? Reflect.construct(t, n || [], gd(e).constructor) : t.apply(e, n), + yh() ? Reflect.construct(t, n || [], gd(e).constructor) : t.apply(e, n), ) ); } -function _h() { +function yh() { try { var e = !Boolean.prototype.valueOf.call( Reflect.construct(Boolean, [], function () {}), ); } catch (e) {} - return (_h = function () { + return (yh = function () { return !!e; })(); } -var yh = (function (t) { +var Sh = (function (t) { function n() { var e; Vc(this, n); for (var t = arguments.length, a = new Array(t), r = 0; r < t; r++) a[r] = arguments[r]; return ( - (e = Th(this, n, [].concat(a))), + (e = _h(this, n, [].concat(a))), wd(e, "state", { isScrolling: !1, scrollTop: 0 }), wd(e, "_debounceResetIsScrollingId", void 0), wd(e, "_invalidateOnUpdateStartIndex", null), wd(e, "_invalidateOnUpdateStopIndex", null), - wd(e, "_positionCache", new Eh()), + wd(e, "_positionCache", new vh()), wd(e, "_startIndex", null), wd(e, "_startIndexMemoized", null), wd(e, "_stopIndex", null), @@ -19824,7 +19828,7 @@ var yh = (function (t) { { key: "clearCellPositions", value: function () { - ((this._positionCache = new Eh()), this.forceUpdate()); + ((this._positionCache = new vh()), this.forceUpdate()); }, }, { @@ -19848,7 +19852,7 @@ var yh = (function (t) { key: "recomputeCellPositions", value: function () { var e = this._positionCache.count - 1; - ((this._positionCache = new Eh()), + ((this._positionCache = new vh()), this._populatePositionCache(0, e), this.forceUpdate()); }, @@ -19875,7 +19879,7 @@ var yh = (function (t) { key: "componentWillUnmount", value: function () { this._debounceResetIsScrollingId && - lp(this._debounceResetIsScrollingId); + cp(this._debounceResetIsScrollingId); }, }, { @@ -19977,7 +19981,7 @@ var yh = (function (t) { id: d, onScroll: this._onScroll, role: h, - style: xh( + style: Th( { boxSizing: "border-box", direction: "ltr", @@ -20032,8 +20036,8 @@ var yh = (function (t) { value: function () { var e = this.props.scrollingResetTimeInterval; (this._debounceResetIsScrollingId && - lp(this._debounceResetIsScrollingId), - (this._debounceResetIsScrollingId = cp( + cp(this._debounceResetIsScrollingId), + (this._debounceResetIsScrollingId = dp( this._debounceResetIsScrollingCallback, e, ))); @@ -20115,14 +20119,14 @@ var yh = (function (t) { ) ); })(e.PureComponent); -function Sh() {} -(wd(yh, "defaultProps", { +function wh() {} +(wd(Sh, "defaultProps", { autoHeight: !1, keyMapper: function (e) { return e; }, - onCellsRendered: Sh, - onScroll: Sh, + onCellsRendered: wh, + onScroll: wh, overscanByPixels: 20, role: "grid", scrollingResetTimeInterval: 150, @@ -20130,8 +20134,8 @@ function Sh() {} tabIndex: 0, rowDirection: "ltr", }), - Cd.polyfill(yh)); -var wh = (function () { + Cd.polyfill(Sh)); +var Ah = (function () { return rd( function e() { var t = this, @@ -20253,10 +20257,10 @@ var wh = (function () { ], ); })(), - Ah = ["rowIndex"], - Ch = ["columnIndex", "rowIndex"], - Nh = ["columnIndex"], - Ih = [ + Ch = ["rowIndex"], + Nh = ["columnIndex", "rowIndex"], + Ih = ["columnIndex"], + Rh = [ "onScroll", "onSectionRendered", "onScrollbarPresenceChange", @@ -20265,7 +20269,7 @@ var wh = (function () { "scrollTop", "scrollToRow", ]; -function Rh(e, t) { +function kh(e, t) { var n = Object.keys(e); if (Object.getOwnPropertySymbols) { var a = Object.getOwnPropertySymbols(e); @@ -20277,45 +20281,45 @@ function Rh(e, t) { } return n; } -function kh(e) { +function Oh(e) { for (var t = 1; t < arguments.length; t++) { var n = null != arguments[t] ? arguments[t] : {}; t % 2 - ? Rh(Object(n), !0).forEach(function (t) { + ? kh(Object(n), !0).forEach(function (t) { wd(e, t, n[t]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) - : Rh(Object(n)).forEach(function (t) { + : kh(Object(n)).forEach(function (t) { Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t)); }); } return e; } -function Oh(e, t, n) { +function Lh(e, t, n) { return ( (t = gd(t)), dd( e, - Lh() ? Reflect.construct(t, n || [], gd(e).constructor) : t.apply(e, n), + Mh() ? Reflect.construct(t, n || [], gd(e).constructor) : t.apply(e, n), ) ); } -function Lh() { +function Mh() { try { var e = !Boolean.prototype.valueOf.call( Reflect.construct(Boolean, [], function () {}), ); } catch (e) {} - return (Lh = function () { + return (Mh = function () { return !!e; })(); } -var Mh = (function (t) { +var Dh = (function (t) { function n(t, a) { var r; (Vc(this, n), - (r = Oh(this, n, [t, a])), + (r = Lh(this, n, [t, a])), wd(r, "state", { scrollLeft: 0, scrollTop: 0, @@ -20333,32 +20337,32 @@ var Mh = (function (t) { }), wd(r, "_cellRendererBottomLeftGrid", function (t) { var n = t.rowIndex, - a = Xu(t, Ah), + a = Qu(t, Ch), i = r.props, o = i.cellRenderer, s = i.fixedRowCount; return n === i.rowCount - s ? e.createElement("div", { key: a.key, - style: kh(kh({}, a.style), {}, { height: 20 }), + style: Oh(Oh({}, a.style), {}, { height: 20 }), }) - : o(kh(kh({}, a), {}, { parent: r, rowIndex: n + s })); + : o(Oh(Oh({}, a), {}, { parent: r, rowIndex: n + s })); }), wd(r, "_cellRendererBottomRightGrid", function (e) { var t = e.columnIndex, n = e.rowIndex, - a = Xu(e, Ch), + a = Qu(e, Nh), i = r.props, o = i.cellRenderer, s = i.fixedColumnCount, l = i.fixedRowCount; return o( - kh(kh({}, a), {}, { columnIndex: t + s, parent: r, rowIndex: n + l }), + Oh(Oh({}, a), {}, { columnIndex: t + s, parent: r, rowIndex: n + l }), ); }), wd(r, "_cellRendererTopRightGrid", function (t) { var n = t.columnIndex, - a = Xu(t, Nh), + a = Qu(t, Ih), i = r.props, o = i.cellRenderer, s = i.columnCount, @@ -20366,9 +20370,9 @@ var Mh = (function (t) { return n === s - l ? e.createElement("div", { key: a.key, - style: kh(kh({}, a.style), {}, { width: 20 }), + style: Oh(Oh({}, a.style), {}, { width: 20 }), }) - : o(kh(kh({}, a), {}, { columnIndex: n + l, parent: r })); + : o(Oh(Oh({}, a), {}, { columnIndex: n + l, parent: r })); }), wd(r, "_columnWidthRightGrid", function (e) { var t = e.index, @@ -20444,7 +20448,7 @@ var Mh = (function (t) { i && ((r._deferredMeasurementCacheBottomLeftGrid = s > 0 - ? new wh({ + ? new Ah({ cellMeasurerCache: i, columnIndexOffset: 0, rowIndexOffset: s, @@ -20452,7 +20456,7 @@ var Mh = (function (t) { : i), (r._deferredMeasurementCacheBottomRightGrid = o > 0 || s > 0 - ? new wh({ + ? new Ah({ cellMeasurerCache: i, columnIndexOffset: o, rowIndexOffset: s, @@ -20460,7 +20464,7 @@ var Mh = (function (t) { : i), (r._deferredMeasurementCacheTopRightGrid = o > 0 - ? new wh({ + ? new Ah({ cellMeasurerCache: i, columnIndexOffset: o, rowIndexOffset: 0, @@ -20585,7 +20589,7 @@ var Mh = (function (t) { var r = t.scrollToColumn; t.scrollTop; var i = t.scrollToRow, - o = Xu(t, Ih); + o = Qu(t, Rh); if ( (this._prepareForRender(), 0 === this.props.width || 0 === this.props.height) @@ -20602,18 +20606,18 @@ var Mh = (function (t) { { style: this._containerTopStyle }, this._renderTopLeftGrid(o), this._renderTopRightGrid( - kh(kh({}, o), {}, { onScroll: n, scrollLeft: l }), + Oh(Oh({}, o), {}, { onScroll: n, scrollLeft: l }), ), ), e.createElement( "div", { style: this._containerBottomStyle }, this._renderBottomLeftGrid( - kh(kh({}, o), {}, { onScroll: n, scrollTop: c }), + Oh(Oh({}, o), {}, { onScroll: n, scrollTop: c }), ), this._renderBottomRightGrid( - kh( - kh({}, o), + Oh( + Oh({}, o), {}, { onScroll: n, @@ -20710,7 +20714,7 @@ var Mh = (function (t) { s !== this._lastRenderedFixedRowCount || l !== this._lastRenderedRowHeight; ((e || g || c !== this._lastRenderedStyle) && - (this._containerOuterStyle = kh( + (this._containerOuterStyle = Oh( { height: i, overflow: "visible", width: m }, c, )), @@ -20727,7 +20731,7 @@ var Mh = (function (t) { width: m, })), (e || d !== this._lastRenderedStyleBottomLeftGrid) && - (this._bottomLeftGridStyle = kh( + (this._bottomLeftGridStyle = Oh( { left: 0, overflowX: "hidden", @@ -20737,7 +20741,7 @@ var Mh = (function (t) { d, )), (e || f || u !== this._lastRenderedStyleBottomRightGrid) && - (this._bottomRightGridStyle = kh( + (this._bottomRightGridStyle = Oh( { left: this._getLeftGridWidth(this.props), position: "absolute", @@ -20745,7 +20749,7 @@ var Mh = (function (t) { u, )), (e || p !== this._lastRenderedStyleTopLeftGrid) && - (this._topLeftGridStyle = kh( + (this._topLeftGridStyle = Oh( { left: 0, overflowX: "hidden", @@ -20756,7 +20760,7 @@ var Mh = (function (t) { p, )), (e || f || h !== this._lastRenderedStyleTopRightGrid) && - (this._topRightGridStyle = kh( + (this._topRightGridStyle = Oh( { left: this._getLeftGridWidth(this.props), overflowX: r ? "auto" : "hidden", @@ -20815,7 +20819,7 @@ var Mh = (function (t) { : 0, p = o ? d + u : d, h = e.createElement( - fp, + bp, Kd({}, t, { cellRenderer: this._cellRendererBottomLeftGrid, className: this.props.classNameBottomLeftGrid, @@ -20837,8 +20841,8 @@ var Mh = (function (t) { "div", { className: "BottomLeftGrid_ScrollWrapper", - style: kh( - kh({}, this._bottomLeftGridStyle), + style: Oh( + Oh({}, this._bottomLeftGridStyle), {}, { height: c, width: d, overflowY: "hidden" }, ), @@ -20858,7 +20862,7 @@ var Mh = (function (t) { o = t.scrollToColumn, s = t.scrollToRow; return e.createElement( - fp, + bp, Kd({}, t, { cellRenderer: this._cellRendererBottomRightGrid, className: this.props.classNameBottomRightGrid, @@ -20887,7 +20891,7 @@ var Mh = (function (t) { a = t.fixedRowCount; return n && a ? e.createElement( - fp, + bp, Kd({}, t, { className: this.props.classNameTopLeftGrid, columnCount: n, @@ -20923,9 +20927,9 @@ var Mh = (function (t) { f = this._topRightGridStyle; s && ((g = p + m), - (f = kh(kh({}, this._topRightGridStyle), {}, { left: 0 }))); + (f = Oh(Oh({}, this._topRightGridStyle), {}, { left: 0 }))); var b = e.createElement( - fp, + bp, Kd({}, t, { cellRenderer: this._cellRendererTopRightGrid, className: this.props.classNameTopRightGrid, @@ -20948,8 +20952,8 @@ var Mh = (function (t) { "div", { className: "TopRightGrid_ScrollWrapper", - style: kh( - kh({}, this._topRightGridStyle), + style: Oh( + Oh({}, this._topRightGridStyle), {}, { height: p, width: h, overflowX: "hidden" }, ), @@ -20982,26 +20986,26 @@ var Mh = (function (t) { ) ); })(e.PureComponent); -function Dh(e, t, n) { +function Ph(e, t, n) { return ( (t = gd(t)), dd( e, - Ph() ? Reflect.construct(t, n || [], gd(e).constructor) : t.apply(e, n), + jh() ? Reflect.construct(t, n || [], gd(e).constructor) : t.apply(e, n), ) ); } -function Ph() { +function jh() { try { var e = !Boolean.prototype.valueOf.call( Reflect.construct(Boolean, [], function () {}), ); } catch (e) {} - return (Ph = function () { + return (jh = function () { return !!e; })(); } -(wd(Mh, "defaultProps", { +(wd(Dh, "defaultProps", { classNameBottomLeftGrid: "", classNameBottomRightGrid: "", classNameTopLeftGrid: "", @@ -21020,7 +21024,7 @@ function Ph() { hideTopRightGridScrollbar: !1, hideBottomLeftGridScrollbar: !1, }), - (Mh.propTypes = + (Dh.propTypes = "production" !== process.env.NODE_ENV ? { classNameBottomLeftGrid: Tu.string.isRequired, @@ -21041,13 +21045,13 @@ function Ph() { hideBottomLeftGridScrollbar: Tu.bool, } : {}), - Cd.polyfill(Mh), + Cd.polyfill(Dh), ((function (e) { function t(e, n) { var a; return ( Vc(this, t), - ((a = Dh(this, t, [e, n])).state = { + ((a = Ph(this, t, [e, n])).state = { clientHeight: 0, clientWidth: 0, scrollHeight: 0, @@ -21109,52 +21113,52 @@ function Ph() { "production" !== process.env.NODE_ENV ? { children: Tu.func.isRequired } : {})); -var jh = { ASC: "ASC", DESC: "DESC" }; -function Bh(t) { +var Bh = { ASC: "ASC", DESC: "DESC" }; +function Fh(t) { var n = t.sortDirection, a = yu("ReactVirtualized__Table__sortableHeaderIcon", { - "ReactVirtualized__Table__sortableHeaderIcon--ASC": n === jh.ASC, - "ReactVirtualized__Table__sortableHeaderIcon--DESC": n === jh.DESC, + "ReactVirtualized__Table__sortableHeaderIcon--ASC": n === Bh.ASC, + "ReactVirtualized__Table__sortableHeaderIcon--DESC": n === Bh.DESC, }); return e.createElement( "svg", { className: a, width: 18, height: 18, viewBox: "0 0 24 24" }, - n === jh.ASC + n === Bh.ASC ? e.createElement("path", { d: "M7 14l5-5 5 5z" }) : e.createElement("path", { d: "M7 10l5 5 5-5z" }), e.createElement("path", { d: "M0 0h24v24H0z", fill: "none" }), ); } -function Fh(e, t, n) { +function Hh(e, t, n) { return ( (t = gd(t)), dd( e, - Hh() ? Reflect.construct(t, n || [], gd(e).constructor) : t.apply(e, n), + zh() ? Reflect.construct(t, n || [], gd(e).constructor) : t.apply(e, n), ) ); } -function Hh() { +function zh() { try { var e = !Boolean.prototype.valueOf.call( Reflect.construct(Boolean, [], function () {}), ); } catch (e) {} - return (Hh = function () { + return (zh = function () { return !!e; })(); } -Bh.propTypes = +Fh.propTypes = "production" !== process.env.NODE_ENV - ? { sortDirection: Tu.oneOf([jh.ASC, jh.DESC]) } + ? { sortDirection: Tu.oneOf([Bh.ASC, Bh.DESC]) } : {}; -var zh = (function (e) { +var Uh = (function (e) { function t() { - return (Vc(this, t), Fh(this, t, arguments)); + return (Vc(this, t), Hh(this, t, arguments)); } return (Td(t, e), rd(t)); })(e.Component); -function Uh(e, t) { +function Gh(e, t) { var n = Object.keys(e); if (Object.getOwnPropertySymbols) { var a = Object.getOwnPropertySymbols(e); @@ -21166,41 +21170,41 @@ function Uh(e, t) { } return n; } -function Gh(e) { +function Vh(e) { for (var t = 1; t < arguments.length; t++) { var n = null != arguments[t] ? arguments[t] : {}; t % 2 - ? Uh(Object(n), !0).forEach(function (t) { + ? Gh(Object(n), !0).forEach(function (t) { wd(e, t, n[t]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) - : Uh(Object(n)).forEach(function (t) { + : Gh(Object(n)).forEach(function (t) { Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t)); }); } return e; } -function Vh(e, t, n) { +function Zh(e, t, n) { return ( (t = gd(t)), dd( e, - Zh() ? Reflect.construct(t, n || [], gd(e).constructor) : t.apply(e, n), + $h() ? Reflect.construct(t, n || [], gd(e).constructor) : t.apply(e, n), ) ); } -function Zh() { +function $h() { try { var e = !Boolean.prototype.valueOf.call( Reflect.construct(Boolean, [], function () {}), ); } catch (e) {} - return (Zh = function () { + return ($h = function () { return !!e; })(); } -(wd(zh, "defaultProps", { +(wd(Uh, "defaultProps", { cellDataGetter: function (e) { var t = e.dataKey, n = e.rowData; @@ -21210,7 +21214,7 @@ function Zh() { var t = e.cellData; return null == t ? "" : String(t); }, - defaultSortDirection: jh.ASC, + defaultSortDirection: Bh.ASC, flexGrow: 0, flexShrink: 1, headerRenderer: function (t) { @@ -21232,13 +21236,13 @@ function Zh() { ]; return ( o && - s.push(e.createElement(Bh, { key: "SortIndicator", sortDirection: i })), + s.push(e.createElement(Fh, { key: "SortIndicator", sortDirection: i })), s ); }, style: {}, }), - (zh.propTypes = + (Uh.propTypes = "production" !== process.env.NODE_ENV ? { "aria-label": Tu.string, @@ -21247,7 +21251,7 @@ function Zh() { className: Tu.string, columnData: Tu.object, dataKey: Tu.any.isRequired, - defaultSortDirection: Tu.oneOf([jh.ASC, jh.DESC]), + defaultSortDirection: Tu.oneOf([Bh.ASC, Bh.DESC]), disableSort: Tu.bool, flexGrow: Tu.number, flexShrink: Tu.number, @@ -21262,12 +21266,12 @@ function Zh() { width: Tu.number.isRequired, } : {})); -var $h = (function (t) { +var Wh = (function (t) { function n(e) { var t; return ( Vc(this, n), - ((t = Vh(this, n, [e])).state = { scrollbarWidth: 0 }), + ((t = Zh(this, n, [e])).state = { scrollbarWidth: 0 }), (t._createColumn = t._createColumn.bind(t)), (t._createRow = t._createRow.bind(t)), (t._onScroll = t._onScroll.bind(t)), @@ -21406,9 +21410,9 @@ var $h = (function (t) { e.Children.toArray(a).forEach(function (e, n) { var a = t._getFlexStyleForColumn( e, - e.props.style || zh.defaultProps.style, + e.props.style || Uh.defaultProps.style, ); - t._cachedColumnStyles[n] = Gh({ overflow: "hidden" }, a); + t._cachedColumnStyles[n] = Vh({ overflow: "hidden" }, a); }), e.createElement( "div", @@ -21426,7 +21430,7 @@ var $h = (function (t) { c({ className: yu("ReactVirtualized__Table__headerRow", x), columns: this._getHeaderColumns(), - style: Gh( + style: Vh( { height: l, overflow: "hidden", @@ -21437,7 +21441,7 @@ var $h = (function (t) { ), }), e.createElement( - fp, + bp, Kd({}, this.props, { elementRef: this._setGridElementRef, "aria-readonly": null, @@ -21455,7 +21459,7 @@ var $h = (function (t) { role: "rowgroup", scrollbarWidth: E, scrollToRow: g, - style: Gh(Gh({}, s), {}, { overflowX: "hidden" }), + style: Vh(Vh({}, s), {}, { overflowX: "hidden" }), }), ), ) @@ -21543,7 +21547,7 @@ var $h = (function (t) { ), A = this._getFlexStyleForColumn( s, - Gh(Gh({}, u), s.props.headerStyle), + Vh(Vh({}, u), s.props.headerStyle), ), C = T({ columnData: b, @@ -21554,7 +21558,7 @@ var $h = (function (t) { sortDirection: g, }); if (S || p) { - var N = m !== E ? v : g === jh.DESC ? jh.ASC : jh.DESC, + var N = m !== E ? v : g === Bh.DESC ? Bh.ASC : Bh.DESC, I = function (e) { (S && h({ @@ -21574,7 +21578,7 @@ var $h = (function (t) { })); } return ( - m === E && (i = g === jh.ASC ? "ascending" : "descending"), + m === E && (i = g === Bh.ASC ? "ascending" : "descending"), e.createElement( "div", { @@ -21630,8 +21634,8 @@ var $h = (function (t) { }); }), S = yu("ReactVirtualized__Table__row", x), - w = Gh( - Gh({}, s), + w = Vh( + Vh({}, s), {}, { height: this._getRowHeight(a), @@ -21667,7 +21671,7 @@ var $h = (function (t) { .concat(e.props.flexGrow, " ") .concat(e.props.flexShrink, " ") .concat(e.props.width, "px"), - a = Gh(Gh({}, t), {}, { flex: n, msFlex: n, WebkitFlex: n }); + a = Vh(Vh({}, t), {}, { flex: n, msFlex: n, WebkitFlex: n }); return ( e.props.maxWidth && (a.maxWidth = e.props.maxWidth), e.props.minWidth && (a.minWidth = e.props.minWidth), @@ -21745,7 +21749,7 @@ var $h = (function (t) { ]) ); })(e.PureComponent); -(wd($h, "defaultProps", { +(wd(Wh, "defaultProps", { disableHeader: !1, estimatedRowSize: 30, headerHeight: 0, @@ -21759,7 +21763,7 @@ var $h = (function (t) { onScroll: function () { return null; }, - overscanIndicesGetter: bp, + overscanIndicesGetter: Ep, overscanRowCount: 10, rowRenderer: function (t) { var n = t.className, @@ -21816,7 +21820,7 @@ var $h = (function (t) { scrollToIndex: -1, style: {}, }), - ($h.propTypes = + (Wh.propTypes = "production" !== process.env.NODE_ENV ? { "aria-label": Tu.string, @@ -21829,7 +21833,7 @@ var $h = (function (t) { a++ ) { var r = n[a].type; - if (r !== zh && !(r.prototype instanceof zh)) + if (r !== Uh && !(r.prototype instanceof Uh)) return new Error("Table only accepts children of type Column"); } }, @@ -21868,66 +21872,66 @@ var $h = (function (t) { scrollTop: Tu.number, sort: Tu.func, sortBy: Tu.string, - sortDirection: Tu.oneOf([jh.ASC, jh.DESC]), + sortDirection: Tu.oneOf([Bh.ASC, Bh.DESC]), style: Tu.object, tabIndex: Tu.number, width: Tu.number.isRequired, } : {})); -var Wh = [], - qh = null, - Yh = null; -function Kh() { - Yh && - ((Yh = null), - document.body && null != qh && (document.body.style.pointerEvents = qh), - (qh = null)); -} +var qh = [], + Yh = null, + Kh = null; function Xh() { - (Kh(), - Wh.forEach(function (e) { + Kh && + ((Kh = null), + document.body && null != Yh && (document.body.style.pointerEvents = Yh), + (Yh = null)); +} +function Qh() { + (Xh(), + qh.forEach(function (e) { return e.__resetIsScrolling(); })); } -function Qh(e) { +function Jh(e) { (e.currentTarget === window && - null == qh && + null == Yh && document.body && - ((qh = document.body.style.pointerEvents), + ((Yh = document.body.style.pointerEvents), (document.body.style.pointerEvents = "none")), (function () { - Yh && lp(Yh); + Kh && cp(Kh); var e = 0; - (Wh.forEach(function (t) { + (qh.forEach(function (t) { e = Math.max(e, t.props.scrollingResetTimeInterval); }), - (Yh = cp(Xh, e))); + (Kh = dp(Qh, e))); })(), - Wh.forEach(function (t) { + qh.forEach(function (t) { t.props.scrollElement === e.currentTarget && t.__handleWindowScrollEvent(); })); } -function Jh(e, t) { - (Wh.some(function (e) { +function em(e, t) { + (qh.some(function (e) { return e.props.scrollElement === t; - }) || t.addEventListener("scroll", Qh), - Wh.push(e)); + }) || t.addEventListener("scroll", Jh), + qh.push(e)); } -function em(e, t) { - (Wh = Wh.filter(function (t) { +function tm(e, t) { + (qh = qh.filter(function (t) { return t !== e; - })).length || (t.removeEventListener("scroll", Qh), Yh && (lp(Yh), Kh())); + })).length || (t.removeEventListener("scroll", Jh), Kh && (cp(Kh), Xh())); } -var tm = function (e) { +var nm = function (e) { return e === window; }, - nm = function (e) { + am = function (e) { return e.getBoundingClientRect(); }; -function am(e, t) { +function rm(e, t) { if (e) { - if (tm(e)) { + if (nm(e)) { var n = window, a = n.innerHeight, r = n.innerWidth; @@ -21936,12 +21940,12 @@ function am(e, t) { width: "number" == typeof r ? r : 0, }; } - return nm(e); + return am(e); } return { height: t.serverHeight, width: t.serverWidth }; } -function rm(e) { - return tm(e) && document.documentElement +function im(e) { + return nm(e) && document.documentElement ? { top: "scrollY" in window @@ -21954,7 +21958,7 @@ function rm(e) { } : { top: e.scrollTop, left: e.scrollLeft }; } -function im(e, t) { +function om(e, t) { var n = Object.keys(e); if (Object.getOwnPropertySymbols) { var a = Object.getOwnPropertySymbols(e); @@ -21966,54 +21970,54 @@ function im(e, t) { } return n; } -function om(e) { +function sm(e) { for (var t = 1; t < arguments.length; t++) { var n = null != arguments[t] ? arguments[t] : {}; t % 2 - ? im(Object(n), !0).forEach(function (t) { + ? om(Object(n), !0).forEach(function (t) { wd(e, t, n[t]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) - : im(Object(n)).forEach(function (t) { + : om(Object(n)).forEach(function (t) { Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t)); }); } return e; } -function sm(e, t, n) { +function lm(e, t, n) { return ( (t = gd(t)), dd( e, - lm() ? Reflect.construct(t, n || [], gd(e).constructor) : t.apply(e, n), + cm() ? Reflect.construct(t, n || [], gd(e).constructor) : t.apply(e, n), ) ); } -function lm() { +function cm() { try { var e = !Boolean.prototype.valueOf.call( Reflect.construct(Boolean, [], function () {}), ); } catch (e) {} - return (lm = function () { + return (cm = function () { return !!e; })(); } -var cm, - dm, - um = function () { +var dm, + um, + pm = function () { return "undefined" != typeof window ? window : void 0; }, - pm = (function (t) { + hm = (function (t) { function n() { var t; Vc(this, n); for (var a = arguments.length, r = new Array(a), i = 0; i < a; i++) r[i] = arguments[i]; return ( - (t = sm(this, n, [].concat(r))), - wd(t, "_window", um()), + (t = lm(this, n, [].concat(r))), + wd(t, "_window", pm()), wd(t, "_isMounted", !1), wd(t, "_positionFromTop", 0), wd(t, "_positionFromLeft", 0), @@ -22023,8 +22027,8 @@ var cm, wd( t, "state", - om( - om({}, am(t.props.scrollElement, t.props)), + sm( + sm({}, rm(t.props.scrollElement, t.props)), {}, { isScrolling: !1, scrollLeft: 0, scrollTop: 0 }, ), @@ -22066,7 +22070,7 @@ var cm, var e = t.props.onScroll, n = t.props.scrollElement; if (n) { - var a = rm(n), + var a = im(n), r = Math.max(0, a.left - t._positionFromLeft), i = Math.max(0, a.top - t._positionFromTop); (t.setState({ isScrolling: !0, scrollLeft: r, scrollTop: i }), @@ -22097,15 +22101,15 @@ var cm, i = this._child || this._windowScrollerRef.current; if (i instanceof Element && e) { var o = (function (e, t) { - if (tm(t) && document.documentElement) { + if (nm(t) && document.documentElement) { var n = document.documentElement, - a = nm(e), - r = nm(n); + a = am(e), + r = am(n); return { top: a.top - r.top, left: a.left - r.left }; } - var i = rm(t), - o = nm(e), - s = nm(t); + var i = im(t), + o = am(e), + s = am(t); return { top: o.top + i.top - s.top, left: o.left + i.left - s.left, @@ -22114,7 +22118,7 @@ var cm, ((this._positionFromTop = o.top), (this._positionFromLeft = o.left)); } - var s = am(e, this.props); + var s = rm(e, this.props); ((a === s.height && r === s.width) || (this.setState({ height: s.height, width: s.width }), t({ height: s.height, width: s.width })), @@ -22128,7 +22132,7 @@ var cm, var e = this.props.scrollElement; ((this._detectElementResize = Ld()), this.updatePosition(e), - e && (Jh(this, e), this._registerResizeListener(e)), + e && (em(this, e), this._registerResizeListener(e)), (this._isMounted = !0)); }, }, @@ -22141,8 +22145,8 @@ var cm, null != a && null != n && (this.updatePosition(n), - em(this, a), - Jh(this, n), + tm(this, a), + em(this, n), this._unregisterResizeListener(a), this._registerResizeListener(n)); }, @@ -22151,7 +22155,7 @@ var cm, key: "componentWillUnmount", value: function () { var e = this.props.scrollElement; - (e && (em(this, e), this._unregisterResizeListener(e)), + (e && (tm(this, e), this._unregisterResizeListener(e)), (this._isMounted = !1)); }, }, @@ -22183,54 +22187,54 @@ var cm, ]) ); })(e.PureComponent); -wd(pm, "defaultProps", { +wd(hm, "defaultProps", { onResize: function () {}, onScroll: function () {}, scrollingResetTimeInterval: 150, - scrollElement: um(), + scrollElement: pm(), serverHeight: 0, serverWidth: 0, }); -var hm, - mm, +var mm, gm, fm, bm, Em, - vm = y( + vm, + xm = y( (function () { - if (dm) return cm; - dm = 1; + if (um) return dm; + um = 1; var e = ma(), t = ua(), n = ga(); - return (cm = function (a) { + return (dm = function (a) { return ( "string" == typeof a || (!t(a) && n(a) && "[object String]" == e(a)) ); }); })(), ); -function xm() { - if (fm) return gm; - fm = 1; +function Tm() { + if (bm) return fm; + bm = 1; var e = ( - mm - ? hm - : ((mm = 1), - (hm = function (e, t) { + gm + ? mm + : ((gm = 1), + (mm = function (e, t) { return function (n) { return e(t(n)); }; })) )(Object.getPrototypeOf, Object); - return (gm = e); + return (fm = e); } -var Tm = (function () { - if (Em) return bm; - Em = 1; +var _m = (function () { + if (vm) return Em; + vm = 1; var e = ma(), - t = xm(), + t = Tm(), n = ga(), a = Function.prototype, r = Object.prototype, @@ -22238,18 +22242,18 @@ var Tm = (function () { o = r.hasOwnProperty, s = i.call(Object); return ( - (bm = function (a) { + (Em = function (a) { if (!n(a) || "[object Object]" != e(a)) return !1; var r = t(a); if (null === r) return !0; var l = o.call(r, "constructor") && r.constructor; return "function" == typeof l && l instanceof l && i.call(l) == s; }), - bm + Em ); })(), - _m = y(Tm); -const ym = [ + ym = y(_m); +const Sm = [ "view", "edit", "delete", @@ -22262,7 +22266,7 @@ const ym = [ "format", "preview", ], - Sm = ({ + wm = ({ type: e, onClick: t, valueToSend: n, @@ -22274,7 +22278,7 @@ const ym = [ const s = r ? n[a] : n, l = ((c = e), - ym.includes(c) + Sm.includes(c) ? ((e) => { switch (e) { case "view": @@ -22321,7 +22325,7 @@ const ym = [ t ? d : null ); }, - wm = p.div( + Am = p.div( ({ theme: e, sx: t, @@ -22347,9 +22351,9 @@ const ym = [ ); }, ), - Am = ({ sx: e, children: t, customBorderPadding: n, ...a }) => - k.jsx(wm, { ...a, sx: e, customBorderPadding: n, children: t }), - Cm = (e, t, a, r, i, o, s, l, c, d, u, p) => { + Cm = ({ sx: e, children: t, customBorderPadding: n, ...a }) => + k.jsx(Am, { ...a, sx: e, customBorderPadding: n, children: t }), + Nm = (e, t, a, r, i, o, s, l, c, d, u, p) => { const h = d && "object" == typeof d && !Array.isArray(d), m = ((e, t, n, a, r, i, o) => { if (e) { @@ -22374,14 +22378,14 @@ const ym = [ (Array.isArray(d) && !d.includes((null == t ? void 0 : t.elementKey) || "")); return k.jsx( - zh, + Uh, { dataKey: t.elementKey || `column-${a}`, headerClassName: "titleHeader " + (t.headerTextAlign ? `text-${t.headerTextAlign}` : ""), headerRenderer: () => - k.jsxs(Am, { + k.jsxs(Cm, { sx: { display: "flex", width: "100%", @@ -22400,7 +22404,7 @@ const ym = [ : null, }) : null, - k.jsx(Am, { + k.jsx(Cm, { sx: { whiteSpace: "nowrap", overflow: "hidden", @@ -22412,9 +22416,9 @@ const ym = [ }), className: t.contentTextAlign ? `text-${t.contentTextAlign}` : "", cellRenderer: ({ rowData: e }) => { - const a = !!o && o.includes(vm(e) ? e : `${e[s]}`); + const a = !!o && o.includes(xm(e) ? e : `${e[s]}`); return ((e, t, a) => { - const r = vm(e) ? e : Oa(e, t.elementKey || "", null), + const r = xm(e) ? e : Oa(e, t.elementKey || "", null), i = t.renderFullObject ? e : r, o = t.renderFunction ? t.renderFunction(i) : i; return k.jsx(n, { @@ -22433,50 +22437,50 @@ const ym = [ ); }); }; -var Nm, Im, Rm, km, Om, Lm, Mm, Dm, Pm, jm; -function Bm() { - if (Lm) return Om; - Lm = 1; +var Im, Rm, km, Om, Lm, Mm, Dm, Pm, jm, Bm; +function Fm() { + if (Mm) return Lm; + Mm = 1; var e = (function () { - if (km) return Rm; - km = 1; + if (Om) return km; + Om = 1; var e = /\s/; return ( - (Rm = function (t) { + (km = function (t) { for (var n = t.length; n-- && e.test(t.charAt(n)); ); return n; }), - Rm + km ); })(), t = /^\s+/; - return (Om = function (n) { + return (Lm = function (n) { return n ? n.slice(0, e(n) + 1).replace(t, "") : n; }); } -var Fm = (function () { - if (jm) return Pm; - jm = 1; +var Hm = (function () { + if (Bm) return jm; + Bm = 1; var e = ba(), t = (function () { - if (Im) return Nm; - Im = 1; + if (Rm) return Im; + Rm = 1; var e = pa(); - return (Nm = function () { + return (Im = function () { return e.Date.now(); }); })(), n = (function () { - if (Dm) return Mm; - Dm = 1; - var e = Bm(), + if (Pm) return Dm; + Pm = 1; + var e = Fm(), t = ba(), n = fa(), a = /^[-+]0x[0-9a-f]+$/i, r = /^0b[01]+$/i, i = /^0o[0-7]+$/i, o = parseInt; - return (Mm = function (s) { + return (Dm = function (s) { if ("number" == typeof s) return s; if (n(s)) return NaN; if (t(s)) { @@ -22496,7 +22500,7 @@ var Fm = (function () { a = Math.max, r = Math.min; return ( - (Pm = function (i, o, s) { + (jm = function (i, o, s) { var l, c, d, @@ -22560,11 +22564,11 @@ var Fm = (function () { _ ); }), - Pm + jm ); })(), - Hm = y(Fm); -const zm = p.div(({}) => ({ + zm = y(Hm); +const Um = p.div(({}) => ({ position: "fixed", top: 0, left: 0, @@ -22574,8 +22578,8 @@ const zm = p.div(({}) => ({ zIndex: 5e3, overscrollBehavior: "contain", })), - Um = ({ children: e, ...t }) => k.jsx(zm, { ...t, children: e }), - Gm = p.div(({ theme: e, sx: t }) => ({ + Gm = ({ children: e, ...t }) => k.jsx(Um, { ...t, children: e }), + Vm = p.div(({ theme: e, sx: t }) => ({ position: "absolute", display: "flex", flexDirection: "column", @@ -22602,13 +22606,13 @@ const zm = p.div(({}) => ({ }, ...t, })), - Vm = (e) => { + Zm = (e) => { if (!e) return { top: 0, right: 0 }; const t = e.getBoundingClientRect(), n = document.documentElement.offsetWidth; return { top: t.top + t.height, right: n - t.right }; }, - Zm = ({ + $m = ({ columns: e, selectedOptionIDs: t, onSelect: n, @@ -22619,11 +22623,11 @@ const zm = p.div(({}) => ({ const [l, c] = a(null); return ( r(() => { - c(o ? Vm(s) : null); + c(o ? Zm(s) : null); }, [o]), r(() => { - const e = Hm((e) => { - e && e.getBoundingClientRect() && c(Vm(e)); + const e = zm((e) => { + e && e.getBoundingClientRect() && c(Zm(e)); }, 300); (window.addEventListener("resize", () => { i(); @@ -22638,19 +22642,19 @@ const zm = p.div(({}) => ({ "AnchorEl not set. Element will be rendered on the top of the page", ), b( - k.jsx(Um, { + k.jsx(Gm, { onClick: i, - children: k.jsxs(Gm, { + children: k.jsxs(Vm, { sx: l, onClick: (e) => { (e.preventDefault(), e.stopPropagation()); }, children: [ - k.jsx(Am, { + k.jsx(Cm, { className: "columnsSelectorTitle", children: "Shown Columns", }), - k.jsx(Am, { + k.jsx(Cm, { className: "columnsSelectorContainer", children: e.map((e) => k.jsx( @@ -22677,7 +22681,7 @@ const zm = p.div(({}) => ({ : null ); }, - $m = p.div( + Wm = p.div( ({ theme: e, customPaperHeight: t, @@ -22820,14 +22824,14 @@ const zm = p.div(({}) => ({ ...r, }), ), - Wm = { + qm = { deleted: { color: "#00000080", backgroundColor: "#f1f0f040", "&.selected": { color: "#b2b2b270" }, }, }, - qm = ({ + Ym = ({ itemActions: e, columns: t, onSelect: r, @@ -22885,7 +22889,7 @@ const zm = p.div(({}) => ({ ($ = ((e, t, n) => { const a = e; if (0 === e.length) return e; - if (_m(e[0]) && void 0 !== t) + if (ym(e[0]) && void 0 !== t) switch (n) { case "ASC": a.sort((e, n) => (e[t] > n[t] ? 1 : e[t] < n[t] ? -1 : 0)); @@ -22907,7 +22911,7 @@ const zm = p.div(({}) => ({ item: !0, xs: 12, className: y, - children: k.jsxs($m, { + children: k.jsxs(Wm, { className: "" + (h ? "noBackground" : ""), customPaperHeight: p, sx: S, @@ -22937,7 +22941,7 @@ const zm = p.div(({}) => ({ $.length > 0 && k.jsx(n, { children: ((e) => - k.jsxs(Am, { + k.jsxs(Cm, { sx: { margin: "10px 0 0", display: "flex", @@ -22953,7 +22957,7 @@ const zm = p.div(({}) => ({ children: "Columns", }), N && - k.jsx(Zm, { + k.jsx($m, { open: N, closeTriggerAction: z, onSelect: (e) => b(e), @@ -22965,7 +22969,7 @@ const zm = p.div(({}) => ({ }))(t), }), $ && !o && $.length > 0 - ? k.jsx(Fp, { + ? k.jsx(Hp, { isRowLoaded: ({ index: e }) => !!$[e], loadMoreRows: E ? E.loadMoreRecords @@ -22986,7 +22990,7 @@ const zm = p.div(({}) => ({ (e && e.length > 1) || (e && 1 === e.length && "view" !== e[0].type) ); - return k.jsxs($h, { + return k.jsxs(Wh, { ref: i, disableHeader: !1, headerClassName: "headerItem", @@ -23028,13 +23032,13 @@ const zm = p.div(({}) => ({ rowStyle: (e) => { if (_) { const t = _(e); - return "string" == typeof t ? Oa(Wm, t, {}) : t; + return "string" == typeof t ? Oa(qm, t, {}) : t; } return {}; }, children: [ h && - k.jsx(zh, { + k.jsx(Uh, { headerRenderer: () => k.jsx(n, { children: T @@ -23059,9 +23063,9 @@ const zm = p.div(({}) => ({ disableSort: !0, cellRenderer: ({ rowData: e }) => { const t = - !!c && c.includes(vm(e) ? e : `${e[j]}`); + !!c && c.includes(xm(e) ? e : `${e[j]}`); return k.jsx(Pc, { - value: vm(e) ? e : `${e[j]}`, + value: xm(e) ? e : `${e[j]}`, color: "primary", className: "TableCheckbox", checked: t, @@ -23072,16 +23076,16 @@ const zm = p.div(({}) => ({ }); }, }), - Cm(t, o, p, h, b, c || [], j, m, f, A, G || "", V), + Nm(t, o, p, h, b, c || [], j, m, f, A, G || "", V), b && - k.jsx(zh, { + k.jsx(Uh, { dataKey: "column-options", width: p, headerClassName: "optionsAlignment", className: "optionsAlignment", cellRenderer: ({ rowData: t }) => { const n = - !!c && c.includes(vm(t) ? t : `${t[j]}`); + !!c && c.includes(xm(t) ? t : `${t[j]}`); return ((e, t, n, a) => e.map((e, r) => { if ("view" === e.type) return null; @@ -23110,7 +23114,7 @@ const zm = p.div(({}) => ({ ), }) : k.jsx( - Sm, + wm, { tooltip: e.tooltip, type: e.type, @@ -23146,7 +23150,7 @@ const zm = p.div(({}) => ({ }) ); }, - Ym = p.button(({ theme: e, sx: t }) => ({ + Km = p.button(({ theme: e, sx: t }) => ({ display: "flex", alignItems: "center", textDecoration: "none", @@ -23185,8 +23189,8 @@ const zm = p.div(({}) => ({ }, ...t, })), - Km = ({ label: e, sx: t, ...n }) => - k.jsxs(Ym, { + Xm = ({ label: e, sx: t, ...n }) => + k.jsxs(Km, { sx: t, ...n, children: [ @@ -23194,7 +23198,7 @@ const zm = p.div(({}) => ({ k.jsx("span", { className: "label", children: e }), ], }), - Xm = p.div(({ theme: e }) => ({ + Qm = p.div(({ theme: e }) => ({ border: `1px solid ${Oa(e, "borderColor", "#E2E2E2")}`, borderRadius: 2, backgroundColor: Oa(e, "boxBackground", "#FBFAFA"), @@ -23211,8 +23215,8 @@ const zm = p.div(({}) => ({ }, "& .helpText": { fontSize: 16, paddingLeft: 5, marginTop: 15 }, })), - Qm = ({ iconComponent: e, title: t, help: n }) => - k.jsx(Xm, { + Jm = ({ iconComponent: e, title: t, help: n }) => + k.jsx(Qm, { className: "helpbox-container", children: k.jsxs(Mr, { container: !0, @@ -23228,7 +23232,7 @@ const zm = p.div(({}) => ({ ], }), }), - Jm = p.div(({ theme: e, separator: t, sx: n }) => ({ + eg = p.div(({ theme: e, separator: t, sx: n }) => ({ display: "flex", alignItems: "center", justifyContent: "flex-start", @@ -23236,8 +23240,8 @@ const zm = p.div(({}) => ({ gap: "10px", ...n, })), - eg = ({ separator: e, icon: t, children: n, actions: a, sx: r }) => - k.jsxs(Jm, { + tg = ({ separator: e, icon: t, children: n, actions: a, sx: r }) => + k.jsxs(eg, { className: "sectionTitle-container", separator: e, sx: r, @@ -23268,7 +23272,7 @@ const zm = p.div(({}) => ({ }), ], }), - tg = ({ + ng = ({ children: e, title: t = "", helpBox: n, @@ -23277,7 +23281,7 @@ const zm = p.div(({}) => ({ containerPadding: i = !0, withBorders: o = !0, }) => - k.jsxs(Am, { + k.jsxs(Cm, { withBorders: o, sx: { display: "grid", @@ -23291,24 +23295,24 @@ const zm = p.div(({}) => ({ ...r, }, children: [ - k.jsxs(Am, { + k.jsxs(Cm, { children: [ "" !== t && - k.jsx(eg, { icon: a, sx: { marginBottom: 16 }, children: t }), + k.jsx(tg, { icon: a, sx: { marginBottom: 16 }, children: t }), e, ], }), n, ], }), - ng = p.div(({ theme: e, sx: t, variant: n }) => ({ + ag = p.div(({ theme: e, sx: t, variant: n }) => ({ boxSizing: "content-box", maxWidth: "constrained" === n ? 1220 : "initial", padding: 32, ...t, })), - ag = ({ sx: e, children: t, variant: n, className: a, ...r }) => - k.jsx(ng, { + rg = ({ sx: e, children: t, variant: n, className: a, ...r }) => + k.jsx(ag, { sx: e, variant: n, ...r, @@ -23317,7 +23321,7 @@ const zm = p.div(({}) => ({ children: k.jsx(Mr, { item: !0, xs: 12, className: a, children: t }), }), }), - rg = p.main(({ theme: e, horizontal: t }) => ({ + ig = p.main(({ theme: e, horizontal: t }) => ({ flexGrow: 1, height: t ? "initial" : "100vh", overflow: "auto", @@ -23325,7 +23329,7 @@ const zm = p.div(({}) => ({ backgroundColor: Oa(e, "bgColor", "#fff"), color: Oa(e, "fontColor", "#000"), })), - ig = p.div(({ horizontal: e, mobileModeAuto: t, sx: n }) => { + og = p.div(({ horizontal: e, mobileModeAuto: t, sx: n }) => { let a = {}; return ( t && @@ -23337,24 +23341,24 @@ const zm = p.div(({}) => ({ { display: "flex", flexDirection: e ? "column" : "row", ...a, ...n } ); }), - og = ({ + sg = ({ children: e, menu: t, horizontal: n, mobileModeAuto: a = !0, sx: r, }) => - k.jsxs(ig, { + k.jsxs(og, { className: "parentBox", horizontal: n, mobileModeAuto: a, sx: r, children: [ t && i(t), - k.jsx(rg, { horizontal: n, className: "mainPage", children: e }), + k.jsx(ig, { horizontal: n, className: "mainPage", children: e }), ], }), - sg = p.input((e) => { + lg = p.input((e) => { const { theme: t, error: n, @@ -23403,7 +23407,7 @@ const zm = p.div(({}) => ({ } ); }), - lg = p.div(({ theme: e, error: t, sx: n }) => ({ + cg = p.div(({ theme: e, error: t, sx: n }) => ({ display: "flex", flexGrow: 1, width: "100%", @@ -23438,7 +23442,7 @@ const zm = p.div(({}) => ({ }, ...n, })), - cg = t.forwardRef( + dg = t.forwardRef( ( { id: e, @@ -23470,7 +23474,7 @@ const zm = p.div(({}) => ({ i || ((_ = x ? k.jsx(Zl, {}) : k.jsx(Vl, {})), (y = x ? "text" : "password")), - k.jsxs(lg, { + k.jsxs(cg, { error: !!m && "" !== m, sx: g, className: `inputItem ${h}`, @@ -23486,12 +23490,12 @@ const zm = p.div(({}) => ({ d, u ? "*" : "", "" !== t && - k.jsx(Am, { + k.jsx(Cm, { className: "tooltipContainer", children: k.jsx(Ei, { tooltip: t, placement: "top", - children: k.jsx(Am, { + children: k.jsx(Cm, { className: t, children: k.jsx(vo, {}), }), @@ -23499,11 +23503,11 @@ const zm = p.div(({}) => ({ }), ], }), - k.jsxs(Am, { + k.jsxs(Cm, { className: "textBoxContainer", children: [ - p && k.jsx(Am, { className: "startOverlayIcon", children: p }), - k.jsx(sg, { + p && k.jsx(Cm, { className: "startOverlayIcon", children: p }), + k.jsx(lg, { id: e, fullWidth: !0, type: y, @@ -23518,7 +23522,7 @@ const zm = p.div(({}) => ({ ...E, }), _ && - k.jsx(Am, { + k.jsx(Cm, { className: "overlayAction", children: k.jsx(Bc, { onClick: l @@ -23532,8 +23536,8 @@ const zm = p.div(({}) => ({ children: _, }), }), - c && k.jsx(Am, { className: "overlayAction", children: c }), - "" !== m && k.jsx(Am, { className: "errorText", children: m }), + c && k.jsx(Cm, { className: "overlayAction", children: c }), + "" !== m && k.jsx(Cm, { className: "errorText", children: m }), ], }), ], @@ -23541,7 +23545,7 @@ const zm = p.div(({}) => ({ ); }, ), - dg = p.div(({ theme: e, sx: t }) => ({ + ug = p.div(({ theme: e, sx: t }) => ({ boxSizing: "border-box", flexBasis: "100%", width: "100%", @@ -23584,8 +23588,8 @@ const zm = p.div(({}) => ({ "& .slashSpacingStyle": { margin: "0 5px" }, ...t, })), - ug = ({ sx: e, children: t, additionalOptions: n, goBackFunction: a }) => - k.jsxs(dg, { + pg = ({ sx: e, children: t, additionalOptions: n, goBackFunction: a }) => + k.jsxs(ug, { className: "breadcrumbs-bar", sx: e, children: [ @@ -23594,11 +23598,11 @@ const zm = p.div(({}) => ({ className: "backButton", children: k.jsx(Us, {}), }), - k.jsx(Am, { className: "breadcrumbsList", dir: "rtl", children: t }), + k.jsx(Cm, { className: "breadcrumbsList", dir: "rtl", children: t }), n, ], }), - pg = p.button(({ theme: e }) => ({ + hg = p.button(({ theme: e }) => ({ display: "inline-flex", alignItems: "center", justifyContent: "flex-start", @@ -23624,8 +23628,8 @@ const zm = p.div(({}) => ({ }, "& .buttonIcon": { width: 11 }, })), - hg = ({ icon: e, label: t, ...n }) => k.jsxs(pg, { ...n, children: [e, t] }), - mg = p.div(({ theme: e, sx: t }) => ({ + mg = ({ icon: e, label: t, ...n }) => k.jsxs(hg, { ...n, children: [e, t] }), + gg = p.div(({ theme: e, sx: t }) => ({ "& .titleLabel": { fontSize: 14, fontWeight: "700", @@ -23660,8 +23664,8 @@ const zm = p.div(({}) => ({ }, ...t, })), - gg = ({ sx: e, items: t, title: n }) => - k.jsxs(mg, { + fg = ({ sx: e, items: t, title: n }) => + k.jsxs(gg, { sx: e, children: [ k.jsx("div", { className: "titleLabel", children: n }), @@ -23675,7 +23679,7 @@ const zm = p.div(({}) => ({ { children: k.jsx(Ei, { tooltip: e.tooltip || "", - children: k.jsx(hg, { + children: k.jsx(mg, { label: e.label, icon: e.icon, onClick: e.action, @@ -23691,7 +23695,7 @@ const zm = p.div(({}) => ({ }), ], }), - fg = p.div(({ theme: e, sx: t }) => ({ + bg = p.div(({ theme: e, sx: t }) => ({ display: "flex", justifyContent: "space-between", alignItems: "center", @@ -23703,13 +23707,13 @@ const zm = p.div(({}) => ({ margin: "20px 22px", ...t, })), - bg = ({ label: e, icon: t, sx: n }) => - k.jsxs(fg, { + Eg = ({ label: e, icon: t, sx: n }) => + k.jsxs(bg, { className: "simpleHeader-container", sx: n, children: [k.jsx("span", { children: e }), t], }), - Eg = p.div(({ theme: e, sx: t, bottomBorder: n }) => ({ + vg = p.div(({ theme: e, sx: t, bottomBorder: n }) => ({ boxSizing: "border-box", display: "flex", flexDirection: "row", @@ -23755,7 +23759,7 @@ const zm = p.div(({}) => ({ }, ...t, })), - vg = ({ + xg = ({ icon: e, subTitle: t = "", title: n, @@ -23763,18 +23767,18 @@ const zm = p.div(({}) => ({ bottomBorder: r = !0, sx: i, }) => - k.jsx(Eg, { + k.jsx(vg, { className: "screenTitle-container", sx: i, bottomBorder: r, - children: k.jsxs(Am, { + children: k.jsxs(Cm, { className: "stContainer", children: [ - k.jsxs(Am, { + k.jsxs(Cm, { className: "leftItems", children: [ - e ? k.jsx(Am, { className: "headerBarIcon", children: e }) : null, - k.jsxs(Am, { + e ? k.jsx(Cm, { className: "headerBarIcon", children: e }) : null, + k.jsxs(Cm, { className: "titleColumn", children: [ k.jsx("h1", { style: { margin: 0 }, children: n }), @@ -23786,11 +23790,11 @@ const zm = p.div(({}) => ({ }), ], }), - k.jsx(Am, { className: "rightItems", children: a }), + k.jsx(Cm, { className: "rightItems", children: a }), ], }), }), - xg = (e) => { + Tg = (e) => { const t = s( (t) => { ("Escape" !== t.key && "Esc" !== t.key) || e(); @@ -23807,7 +23811,7 @@ const zm = p.div(({}) => ({ [t], ); }, - Tg = p.div( + _g = p.div( ({ theme: e, backgroundOverlay: t, @@ -23886,7 +23890,7 @@ const zm = p.div(({}) => ({ ...i, }), ), - _g = ({ + yg = ({ onClose: e, open: t, title: n, @@ -23898,7 +23902,7 @@ const zm = p.div(({}) => ({ customMaxWidth: d = 750, sx: u, }) => { - xg(e); + Tg(e); const [p, h] = a(!1); if ( (r(() => { @@ -23907,22 +23911,22 @@ const zm = p.div(({}) => ({ !t) ) return null; - const m = k.jsx(Tg, { + const m = k.jsx(_g, { widthLimit: o, backgroundOverlay: l, iconColor: c, customMaxWidth: d, sx: u, className: "modalBoxMain", - children: k.jsx(Am, { + children: k.jsx(Cm, { className: "overlay " + (p ? "active" : ""), - children: k.jsxs(Am, { + children: k.jsxs(Cm, { className: "modalContainer", children: [ - k.jsxs(Am, { + k.jsxs(Cm, { className: "modalTitleBar", children: [ - k.jsxs(Am, { className: "title", children: [s, n] }), + k.jsxs(Cm, { className: "title", children: [s, n] }), k.jsx("button", { className: "closeModalButton", id: "close", @@ -23931,14 +23935,14 @@ const zm = p.div(({}) => ({ }), ], }), - k.jsx(Am, { className: "dialogContent", children: i }), + k.jsx(Cm, { className: "dialogContent", children: i }), ], }), }), }); return b(m, document.body); }, - yg = p.span(({ theme: e, active: t }) => ({ + Sg = p.span(({ theme: e, active: t }) => ({ fontSize: 12, color: t ? Oa(e, "switchButton.onLabelColor", "#081C42") @@ -23946,7 +23950,7 @@ const zm = p.div(({}) => ({ margin: "0 8px 0 10px", fontWeight: t ? "bold" : "normal", })), - Sg = p.label(({ theme: e }) => ({ + wg = p.label(({ theme: e }) => ({ width: 54, height: 24, position: "relative", @@ -24002,8 +24006,8 @@ const zm = p.div(({}) => ({ }, }, })), - wg = p.div(() => ({ display: "flex", alignItems: "center" })), - Ag = p.div(({ theme: e, sx: t }) => ({ + Ag = p.div(() => ({ display: "flex", alignItems: "center" })), + Cg = p.div(({ theme: e, sx: t }) => ({ "& .inputBase": { display: "flex", justifyContent: "space-between", @@ -24018,7 +24022,7 @@ const zm = p.div(({}) => ({ }, ...t, })), - Cg = ({ + Ng = ({ tooltip: e, label: t, id: n, @@ -24032,23 +24036,23 @@ const zm = p.div(({}) => ({ helpTipPlacement: d, ...u }) => { - const p = k.jsxs(wg, { + const p = k.jsxs(Ag, { children: [ !i && - k.jsx(yg, { active: !l, children: o && o.length > 1 ? o[1] : "OFF" }), - k.jsxs(Sg, { + k.jsx(Sg, { active: !l, children: o && o.length > 1 ? o[1] : "OFF" }), + k.jsxs(wg, { id: `${n}-switch`, children: [ k.jsx("input", { type: "checkbox", id: n, checked: l, ...u }), k.jsx("span", { className: "switchRail" }), ], }), - !i && k.jsx(yg, { active: !!l, children: o ? o[0] : "ON" }), + !i && k.jsx(Sg, { active: !!l, children: o ? o[0] : "ON" }), ], }); return i ? p - : k.jsxs(Ag, { + : k.jsxs(Cg, { className: `inputItem ${r || ""}`, sx: a, children: [ @@ -24078,11 +24082,11 @@ const zm = p.div(({}) => ({ p, ], }), - s && k.jsx(Am, { className: "actionDescription", children: s }), + s && k.jsx(Cm, { className: "actionDescription", children: s }), ], }); }, - Ng = p.div(({ theme: e, sx: t, useAnchorWidth: n }) => ({ + Ig = p.div(({ theme: e, sx: t, useAnchorWidth: n }) => ({ position: "absolute", display: "grid", gridTemplateColumns: "100%", @@ -24105,7 +24109,7 @@ const zm = p.div(({}) => ({ }, ...t, })), - Ig = p.div(({ theme: e, icon: t, label: n, indicator: a }) => { + Rg = p.div(({ theme: e, icon: t, label: n, indicator: a }) => { let r = ""; return ( t && (r += "16px "), @@ -24150,7 +24154,7 @@ const zm = p.div(({}) => ({ } ); }), - Rg = (e, t, n) => { + kg = (e, t, n) => { if (!e) return { top: 0, left: 0, width: 0 }; const a = e.getBoundingClientRect(); let r = { top: a.top + a.height }; @@ -24163,7 +24167,7 @@ const zm = p.div(({}) => ({ r ); }, - kg = ({ + Og = ({ id: e, options: t, selectedOption: n = "", @@ -24198,7 +24202,7 @@ const zm = p.div(({}) => ({ [t], ); })(f), - xg(o), + Tg(o), ((e) => { const t = s( (t) => { @@ -24234,11 +24238,11 @@ const zm = p.div(({}) => ({ g(0); }, [t]), r(() => { - h(l ? Rg(c, u, d) : null); + h(l ? kg(c, u, d) : null); }, [l]), r(() => { - const e = Hm((e) => { - e && e.getBoundingClientRect() && h(Rg(e, u, d)); + const e = zm((e) => { + e && e.getBoundingClientRect() && h(kg(e, u, d)); }, 300); (window.addEventListener("resize", () => { o(); @@ -24253,15 +24257,15 @@ const zm = p.div(({}) => ({ "AnchorEl not set. Element will be rendered on the top of the page", ), b( - k.jsx(Um, { + k.jsx(Gm, { onClick: o, - children: k.jsx(Ng, { + children: k.jsx(Ig, { id: e, sx: p, useAnchorWidth: d, children: t.map((e, t) => k.jsxs( - Ig, + Rg, { className: `${n === e.value ? "selected" : ""} ${e.disabled ? "disabled" : ""} ${t === m ? "hovered" : ""}`, onClick: f, @@ -24273,7 +24277,7 @@ const zm = p.div(({}) => ({ indicator: e.indicator, children: [ e.icon, - k.jsx(Am, { className: "truncate", children: e.label }), + k.jsx(Cm, { className: "truncate", children: e.label }), e.indicator, ], }, @@ -24287,7 +24291,7 @@ const zm = p.div(({}) => ({ : null ); }, - Og = p.div(({ theme: e }) => { + Lg = p.div(({ theme: e }) => { let t = Oa(e, "inputBox.border", "#E2E2E2"), n = Oa(e, "inputBox.hoverBorder", "#000110"); return { @@ -24334,7 +24338,7 @@ const zm = p.div(({}) => ({ }, }; }), - Lg = p.div(({ theme: e, error: t, sx: n }) => ({ + Mg = p.div(({ theme: e, error: t, sx: n }) => ({ display: "flex", flexGrow: 1, width: "100%", @@ -24369,7 +24373,7 @@ const zm = p.div(({}) => ({ "& .inputLabel": { marginBottom: t ? 18 : 0 }, ...n, })), - Mg = ({ + Dg = ({ id: e, label: r = "", required: i, @@ -24395,7 +24399,7 @@ const zm = p.div(({}) => ({ "" !== m || "" !== f || console.warn("The selected value is not included in Options List"), - k.jsxs(Lg, { + k.jsxs(Mg, { sx: d, className: `inputItem ${o || ""}`, children: [ @@ -24410,12 +24414,12 @@ const zm = p.div(({}) => ({ r, i ? "*" : "", "" !== s && - k.jsx(Am, { + k.jsx(Cm, { className: "tooltipContainer", children: k.jsx(Ei, { tooltip: s, placement: "top", - children: k.jsx(Am, { + children: k.jsx(Cm, { className: s, children: k.jsx(vo, {}), }), @@ -24423,17 +24427,17 @@ const zm = p.div(({}) => ({ }), ], }), - k.jsxs(Am, { + k.jsxs(Cm, { id: `${e}-select`, className: "selectContainer", onClick: (e) => { h || (x(!v), _(e.currentTarget)); }, children: [ - k.jsxs(Og, { + k.jsxs(Lg, { className: h ? "disabled" : "", children: [ - k.jsxs(Am, { + k.jsxs(Cm, { sx: { display: "flex", columnGap: 8, @@ -24441,11 +24445,11 @@ const zm = p.div(({}) => ({ }, children: [ (null == y ? void 0 : y.icon) && - k.jsx(Am, { + k.jsx(Cm, { className: "indicatorContainer", children: null == y ? void 0 : y.icon, }), - k.jsx(Am, { + k.jsx(Cm, { sx: { whiteSpace: "nowrap", overflow: "hidden", @@ -24465,13 +24469,13 @@ const zm = p.div(({}) => ({ }), }), (null == y ? void 0 : y.indicator) && - k.jsx(Am, { + k.jsx(Cm, { className: "indicatorContainer", children: null == y ? void 0 : y.indicator, }), ], }), - k.jsx(Am, { + k.jsx(Cm, { sx: { display: "flex", width: 16 }, children: v ? k.jsx(wl, {}) : k.jsx(Al, {}), }), @@ -24481,7 +24485,7 @@ const zm = p.div(({}) => ({ ], }), v && - k.jsx(kg, { + k.jsx(Og, { id: `${e}-options-selector`, options: u, selectedOption: c, @@ -24497,7 +24501,7 @@ const zm = p.div(({}) => ({ }) ); }, - Dg = p.label(({ sx: e, theme: t }) => ({ + Pg = p.label(({ sx: e, theme: t }) => ({ "& input": { appearance: "none", backgroundColor: "transparent", @@ -24541,7 +24545,7 @@ const zm = p.div(({}) => ({ }, ...e, })), - Pg = p.div(({ inColumn: e, theme: t }) => ({ + jg = p.div(({ inColumn: e, theme: t }) => ({ flexGrow: 1, width: "100%", display: "flex", @@ -24557,8 +24561,8 @@ const zm = p.div(({}) => ({ }, }, })), - jg = p.div(({}) => ({ display: "flex", alignItems: "center", gap: 5 })), - Bg = ({ + Bg = p.div(({}) => ({ display: "flex", alignItems: "center", gap: 5 })), + Fg = ({ tooltip: e, label: t, id: a, @@ -24603,17 +24607,17 @@ const zm = p.div(({}) => ({ }), ], }), - k.jsx(Pg, { + k.jsx(jg, { inColumn: u, children: l && k.jsx(n, { children: l.map((e) => k.jsxs( - jg, + Bg, { children: [ - k.jsxs(Dg, { + k.jsxs(Pg, { htmlFor: `option-${a}-${e.value}`, sx: r, children: [ @@ -24646,7 +24650,7 @@ const zm = p.div(({}) => ({ }), ], }), - Fg = p.div(({ theme: e, sx: t, label: n, multiLine: a }) => ({ + Hg = p.div(({ theme: e, sx: t, label: n, multiLine: a }) => ({ display: "flex", width: "" === n || a ? "100%" : "calc(100% - 170px)", alignItems: "center", @@ -24685,7 +24689,7 @@ const zm = p.div(({}) => ({ }, ...t, })), - Hg = ({ + zg = ({ label: e = "", children: t, multiLine: n, @@ -24694,7 +24698,7 @@ const zm = p.div(({}) => ({ helpTip: i, helpTipPlacement: o, }) => - k.jsxs(Fg, { + k.jsxs(Hg, { className: "inputItem", label: e, multiLine: n, @@ -24707,19 +24711,19 @@ const zm = p.div(({}) => ({ helpTipPlacement: o, children: e, }), - k.jsxs(Am, { + k.jsxs(Cm, { className: "predefinedList " + (a ? "includesActionButton" : ""), children: [ - k.jsx(Am, { + k.jsx(Cm, { className: n ? "innerContentMultiline" : "innerContent", children: t, }), - a && k.jsx(Am, { className: "overlayShareOption", children: a }), + a && k.jsx(Cm, { className: "overlayShareOption", children: a }), ], }), ], }), - zg = p.textarea(({ theme: e, error: t, originType: n }) => { + Ug = p.textarea(({ theme: e, error: t, originType: n }) => { let a = Oa(e, "inputBox.border", "#E2E2E2"), r = Oa(e, "inputBox.hoverBorder", "#000110"); return ( @@ -24758,7 +24762,7 @@ const zm = p.div(({}) => ({ } ); }), - Ug = p.div(({ theme: e, error: t, sx: n }) => ({ + Gg = p.div(({ theme: e, error: t, sx: n }) => ({ display: "flex", alignItems: "flex-start", flexGrow: 1, @@ -24783,7 +24787,7 @@ const zm = p.div(({}) => ({ "& .inputLabel": { marginBottom: t ? 18 : 0 }, ...n, })), - Gg = ({ + Vg = ({ id: e, tooltip: t = "", index: n, @@ -24797,7 +24801,7 @@ const zm = p.div(({}) => ({ helpTipPlacement: d, ...u }) => - k.jsxs(Ug, { + k.jsxs(Gg, { error: !!s && "" !== s, sx: l, className: `inputItem ${o}`, @@ -24813,12 +24817,12 @@ const zm = p.div(({}) => ({ r, i ? "*" : "", "" !== t && - k.jsx(Am, { + k.jsx(Cm, { className: "tooltipContainer", children: k.jsx(Ei, { tooltip: t, placement: "top", - children: k.jsx(Am, { + children: k.jsx(Cm, { className: t, children: k.jsx(vo, {}), }), @@ -24826,10 +24830,10 @@ const zm = p.div(({}) => ({ }), ], }), - k.jsxs(Am, { + k.jsxs(Cm, { className: "textBoxContainer", children: [ - k.jsx(zg, { + k.jsx(Ug, { id: e, fullWidth: !0, error: s, @@ -24838,12 +24842,12 @@ const zm = p.div(({}) => ({ rows: 5, ...u, }), - "" !== s && k.jsx(Am, { className: "errorText", children: s }), + "" !== s && k.jsx(Cm, { className: "errorText", children: s }), ], }), ], }), - Vg = p.div(({ theme: e }) => ({ + Zg = p.div(({ theme: e }) => ({ position: "fixed", top: 0, left: 0, @@ -24871,7 +24875,7 @@ const zm = p.div(({}) => ({ }, }, })), - Zg = ({ open: e, anchorEl: t, hideTriggerAction: n, children: i }) => { + $g = ({ open: e, anchorEl: t, hideTriggerAction: n, children: i }) => { const [o, s] = a(null), l = document.documentElement.offsetWidth, c = (e) => { @@ -24887,7 +24891,7 @@ const zm = p.div(({}) => ({ s(e ? c(t) : null); }, [e]), r(() => { - const e = Hm((e) => { + const e = zm((e) => { e && e.getBoundingClientRect() && s(c(e)); }, 300); (window.addEventListener("resize", () => { @@ -24898,9 +24902,9 @@ const zm = p.div(({}) => ({ })); }), e && t && o - ? k.jsx(Vg, { + ? k.jsx(Zg, { onClick: n, - children: k.jsx(Am, { + children: k.jsx(Cm, { className: "subItemsBox", sx: { ...o }, children: i, @@ -24909,7 +24913,7 @@ const zm = p.div(({}) => ({ : null ); }, - $g = (e) => ({ + Wg = (e) => ({ display: "flex", justifyContent: "space-between", alignItems: "center", @@ -24933,7 +24937,7 @@ const zm = p.div(({}) => ({ }, }, }), - Wg = p.div(({ theme: e }) => ({ + qg = p.div(({ theme: e }) => ({ display: "flex", flexDirection: "column", alignItems: "flex-start", @@ -24954,12 +24958,12 @@ const zm = p.div(({}) => ({ marginLeft: 5, }, })), - qg = p.button(({ theme: e }) => ({ - ...$g(e), + Yg = p.button(({ theme: e }) => ({ + ...Wg(e), "& .subOption": { padding: 0 }, })), - Yg = p.a(({ theme: e }) => ({ ...$g(e), textDecoration: "none" })), - Kg = p.span(({ theme: e }) => ({ + Kg = p.a(({ theme: e }) => ({ ...Wg(e), textDecoration: "none" })), + Xg = p.span(({ theme: e }) => ({ display: "flex", alignItems: "center", gap: 22, @@ -24985,8 +24989,8 @@ const zm = p.div(({}) => ({ }, "& .labelContainer": { fontFamily: "'Inter', sans-serif", fontSize: 14 }, })), - Xg = ({ icon: e, name: t, badge: n }) => - k.jsxs(Kg, { + Qg = ({ icon: e, name: t, badge: n }) => + k.jsxs(Xg, { className: "option", children: [ k.jsxs("span", { @@ -24996,7 +25000,7 @@ const zm = p.div(({}) => ({ k.jsx("span", { className: "labelContainer", children: t }), ], }), - Qg = ({ + Jg = ({ children: e, icon: n, id: r, @@ -25018,9 +25022,9 @@ const zm = p.div(({}) => ({ if (e && e.length > 0) { return 0 === e.filter((e) => !1 !== e.isVisible).length ? null - : k.jsxs(Wg, { + : k.jsxs(qg, { children: [ - k.jsxs(qg, { + k.jsxs(Yg, { id: r, type: "button", onClick: (e) => { @@ -25028,8 +25032,8 @@ const zm = p.div(({}) => ({ }, className: "menuItemButton " + (u ? "selected" : ""), children: [ - k.jsx(Xg, { icon: n, name: i, badge: !!l }), - k.jsx(Am, { + k.jsx(Qg, { icon: n, name: i, badge: !!l }), + k.jsx(Cm, { className: "statusArrow", children: u ? k.jsx(wl, {}) : k.jsx(Al, {}), }), @@ -25037,13 +25041,13 @@ const zm = p.div(({}) => ({ }), u && b( - k.jsx(Zg, { + k.jsx($g, { anchorEl: h, hideTriggerAction: f, open: u, children: e.map((e) => k.jsx( - Qg, + Jg, { onClick: s, name: e.name, @@ -25070,24 +25074,24 @@ const zm = p.div(({}) => ({ /^(https?:\/\/)?([\da-zа-я\.\-_]+)\.([a-zа-я\._]{2,6})([a-zа-я\d\.\-\?\/&=#%_]*)*/, ) ) - return k.jsx(Yg, { + return k.jsx(Kg, { className: "menuItemButton", id: r, href: o, target: "_blank", - children: k.jsx(Xg, { icon: n, name: i, badge: !!l }), + children: k.jsx(Qg, { icon: n, name: i, badge: !!l }), }); - return k.jsx(qg, { + return k.jsx(Yg, { className: "menuItemButton " + (g ? "selected" : ""), type: "button", id: r, onClick: () => { s && s(o || ""); }, - children: k.jsx(Xg, { icon: n, name: i, badge: !!l }), + children: k.jsx(Qg, { icon: n, name: i, badge: !!l }), }); }, - Jg = p.div(({ theme: e, sx: t }) => ({ + ef = p.div(({ theme: e, sx: t }) => ({ "& .headerBar": { padding: 15, display: "flex", @@ -25117,7 +25121,7 @@ const zm = p.div(({}) => ({ }, ...t, })), - ef = ({ + tf = ({ applicationLogo: e, options: t, signOutAction: n, @@ -25130,16 +25134,16 @@ const zm = p.div(({}) => ({ let l = !0; return ( void 0 !== e.inverse && (l = e.inverse), - k.jsxs(Jg, { + k.jsxs(ef, { className: "menuBox", sx: s, children: [ - k.jsxs(Am, { + k.jsxs(Cm, { className: "headerBar", children: [ k.jsx(Or, { inverse: l, ...e }), r, - k.jsxs(Am, { + k.jsxs(Cm, { className: "endComponent", children: [ i, @@ -25153,13 +25157,13 @@ const zm = p.div(({}) => ({ }), ], }), - k.jsx(Am, { + k.jsx(Cm, { className: "sections " + (t && 0 !== t.length ? "" : "compact"), children: t && t.map((e) => k.jsx( - Qg, + Jg, { onClick: (t) => { (e.onClick && e.onClick(t), a(t)); @@ -25181,7 +25185,7 @@ const zm = p.div(({}) => ({ }) ); }, - tf = (e) => ({ + nf = (e) => ({ display: "flex", justifyContent: "space-between", alignItems: "center", @@ -25204,7 +25208,7 @@ const zm = p.div(({}) => ({ }, }, }), - nf = p.div(({ theme: e }) => ({ + af = p.div(({ theme: e }) => ({ display: "flex", flexDirection: "column", alignItems: "flex-start", @@ -25225,12 +25229,12 @@ const zm = p.div(({}) => ({ borderRadius: 2, }, })), - af = p.button(({ theme: e }) => ({ - ...tf(e), + rf = p.button(({ theme: e }) => ({ + ...nf(e), "& .subOption": { padding: 0 }, })), - rf = p.a(({ theme: e }) => ({ ...tf(e), textDecoration: "none" })), - of = p.span(({ theme: e }) => ({ + of = p.a(({ theme: e }) => ({ ...nf(e), textDecoration: "none" })), + sf = p.span(({ theme: e }) => ({ display: "flex", alignItems: "center", gap: 22, @@ -25256,8 +25260,8 @@ const zm = p.div(({}) => ({ }, "& .labelContainer": { fontFamily: "'Inter', sans-serif", fontSize: 14 }, })), - sf = ({ icon: e, name: t, badge: n }) => - k.jsxs(of, { + lf = ({ icon: e, name: t, badge: n }) => + k.jsxs(sf, { className: "option", children: [ k.jsxs("span", { @@ -25267,7 +25271,7 @@ const zm = p.div(({}) => ({ k.jsx("span", { className: "labelContainer", children: t }), ], }), - lf = ({ + cf = ({ children: e, icon: t, id: n, @@ -25293,12 +25297,12 @@ const zm = p.div(({}) => ({ if (e && e.length > 0) { return 0 === e.filter((e) => !1 !== e.isVisible).length ? null - : k.jsxs(nf, { + : k.jsxs(af, { children: [ k.jsx(Ei, { tooltip: d ? i : "", placement: "right", - children: k.jsxs(af, { + children: k.jsxs(rf, { id: n, type: "button", onClick: () => { @@ -25306,8 +25310,8 @@ const zm = p.div(({}) => ({ }, className: "menuItemButton", children: [ - k.jsx(sf, { icon: t, name: i, badge: !!l }), - k.jsx(Am, { + k.jsx(lf, { icon: t, name: i, badge: !!l }), + k.jsx(Cm, { className: "statusArrow", children: p ? k.jsx(wl, {}) : k.jsx(Al, {}), }), @@ -25315,13 +25319,13 @@ const zm = p.div(({}) => ({ }), }), p && - k.jsx(Am, { + k.jsx(Cm, { className: "subItemsBox", children: e.map((e) => k.jsx(Ei, { tooltip: d ? e.name : "", placement: "right", - children: k.jsx(lf, { + children: k.jsx(cf, { onClick: s, name: e.name, badge: e.badge, @@ -25347,29 +25351,29 @@ const zm = p.div(({}) => ({ return k.jsx(Ei, { tooltip: d ? i : "", placement: "right", - children: k.jsx(rf, { + children: k.jsx(of, { className: "menuItemButton", id: n, href: o, target: "_blank", - children: k.jsx(sf, { icon: t, name: i, badge: !!l }), + children: k.jsx(lf, { icon: t, name: i, badge: !!l }), }), }); return k.jsx(Ei, { tooltip: d ? i : "", placement: "right", - children: k.jsx(af, { + children: k.jsx(rf, { className: "menuItemButton " + (m ? "selected" : ""), type: "button", id: n, onClick: () => { s && s(o || ""); }, - children: k.jsx(sf, { icon: t, name: i, badge: !!l }), + children: k.jsx(lf, { icon: t, name: i, badge: !!l }), }), }); }, - cf = p.div(({ theme: e }) => ({ + df = p.div(({ theme: e }) => ({ borderBottom: `${Oa(e, "menu.vertical.sectionDividerColor", ge)} 1px solid`, margin: "30px 25px 0", paddingBottom: 5, @@ -25381,18 +25385,18 @@ const zm = p.div(({}) => ({ display: "block", }, })), - df = ({ label: e, divider: t }) => - k.jsx(cf, { + uf = ({ label: e, divider: t }) => + k.jsx(df, { className: "menuHeader", divider: t, children: k.jsx("span", { className: "labelHeader", children: e }), }), - uf = p.hr(({ theme: e }) => ({ + pf = p.hr(({ theme: e }) => ({ borderBottom: `${Oa(e, "menu.vertical.sectionDividerColor", ge)} 1px solid`, margin: "0 25px 0", })), - pf = () => k.jsx(uf, {}), - hf = p.div(({ theme: e, sx: t }) => ({ + hf = () => k.jsx(pf, {}), + mf = p.div(({ theme: e, sx: t }) => ({ width: 250, maxWidth: 250, minWidth: 250, @@ -25487,7 +25491,7 @@ const zm = p.div(({}) => ({ }, ...t, })), - mf = ({ + gf = ({ applicationLogo: e, options: t, displayGroupTitles: a, @@ -25501,25 +25505,25 @@ const zm = p.div(({}) => ({ sx: u, }) => { let p = ""; - return k.jsx(hf, { + return k.jsx(mf, { sx: u, className: "menuBox " + (o ? "" : "collapsed"), - children: k.jsxs(Am, { + children: k.jsxs(Cm, { className: "menuContainer", children: [ - k.jsxs(Am, { + k.jsxs(Cm, { className: "menuHeaderContainer", onClick: s, children: [ - k.jsx(Am, { + k.jsx(Cm, { className: "collapseButton", children: k.jsx(ql, {}), }), - k.jsx(Am, { + k.jsx(Cm, { className: "menuLogoContainer", children: k.jsx(Or, { inverse: !0, ...e }), }), - k.jsx(Am, { + k.jsx(Cm, { className: "collapsedMenuHeader", children: k.jsx(Ei, { tooltip: "Expand Menu", @@ -25532,7 +25536,7 @@ const zm = p.div(({}) => ({ }), ], }), - k.jsxs(Am, { + k.jsxs(Cm, { className: "menuItems", children: [ d, @@ -25542,13 +25546,13 @@ const zm = p.div(({}) => ({ a && e.group && p !== e.group && - ((p = e.group), (t = k.jsx(df, { label: e.group }))); + ((p = e.group), (t = k.jsx(uf, { label: e.group }))); return k.jsxs( n, { children: [ t, - k.jsx(lf, { + k.jsx(cf, { onClick: (t) => { e.onClick ? e.onClick(t) : i(t); }, @@ -25568,12 +25572,12 @@ const zm = p.div(({}) => ({ ); }), r && - k.jsxs(Am, { + k.jsxs(Cm, { sx: { marginTop: "auto" }, children: [ c, - k.jsx(pf, {}), - k.jsx(lf, { + k.jsx(hf, {}), + k.jsx(cf, { id: "sign-out", group: "common", name: "Sign Out", @@ -25589,7 +25593,7 @@ const zm = p.div(({}) => ({ }), }); }, - gf = p.div(({ theme: e, sx: t }) => ({ + ff = p.div(({ theme: e, sx: t }) => ({ width: "100vw", height: "100vh", overflow: "auto", @@ -25631,7 +25635,7 @@ const zm = p.div(({}) => ({ "& .menuHeaderContainer": { cursor: "pointer" }, ...t, })), - ff = ({ + bf = ({ applicationLogo: e, options: t, displayGroupTitles: a, @@ -25642,23 +25646,23 @@ const zm = p.div(({}) => ({ endComponent: l, }) => { let c = ""; - return k.jsx(gf, { - children: k.jsxs(Am, { + return k.jsx(ff, { + children: k.jsxs(Cm, { className: "menuContainer", children: [ - k.jsxs(Am, { + k.jsxs(Cm, { className: "menuHeaderContainer", onClick: o, children: [ - k.jsx(Am, { + k.jsx(Cm, { className: "collapseButton", children: k.jsx(Ks, {}), }), - k.jsx(Am, { + k.jsx(Cm, { className: "menuLogoContainer", children: k.jsx(Or, { inverse: !0, ...e }), }), - k.jsx(Am, { + k.jsx(Cm, { className: "collapsedMenuHeader", children: k.jsx(Ei, { tooltip: "Expand Menu", @@ -25670,7 +25674,7 @@ const zm = p.div(({}) => ({ }), ], }), - k.jsxs(Am, { + k.jsxs(Cm, { className: "menuItems", children: [ t && @@ -25679,13 +25683,13 @@ const zm = p.div(({}) => ({ a && e.group && c !== e.group && - ((c = e.group), (t = k.jsx(df, { label: e.group }))); + ((c = e.group), (t = k.jsx(uf, { label: e.group }))); return k.jsxs( n, { children: [ t, - k.jsx(lf, { + k.jsx(cf, { onClick: (t) => { if (e.onClick) return (e.onClick(t), void o()); (i(t), o()); @@ -25705,12 +25709,12 @@ const zm = p.div(({}) => ({ ); }), r && - k.jsxs(Am, { + k.jsxs(Cm, { sx: { marginTop: "auto" }, children: [ l, - k.jsx(df, { label: "" }), - k.jsx(lf, { + k.jsx(uf, { label: "" }), + k.jsx(cf, { group: "common", name: "Sign Out", icon: k.jsx(Ts, {}), @@ -25724,7 +25728,7 @@ const zm = p.div(({}) => ({ }), }); }, - bf = p.div(({ theme: e, sx: t }) => ({ + Ef = p.div(({ theme: e, sx: t }) => ({ "& .headerBar": { padding: 15, display: "flex", @@ -25746,7 +25750,7 @@ const zm = p.div(({}) => ({ }, ...t, })), - Ef = ({ + vf = ({ applicationLogo: e, options: t, displayGroupTitles: r, @@ -25760,11 +25764,11 @@ const zm = p.div(({}) => ({ const [u, p] = a(!1); return k.jsxs(n, { children: [ - k.jsxs(bf, { + k.jsxs(Ef, { className: "menuBox", sx: d, children: [ - k.jsxs(Am, { + k.jsxs(Cm, { className: "headerBar", children: [ k.jsx(Or, { inverse: !0, ...e }), @@ -25777,13 +25781,13 @@ const zm = p.div(({}) => ({ }), ], }), - s && k.jsx(Am, { children: "middleComponent" }), - k.jsx(Am, { className: "menuOpen" }), + s && k.jsx(Cm, { children: "middleComponent" }), + k.jsx(Cm, { className: "menuOpen" }), ], }), u && b( - k.jsx(ff, { + k.jsx(bf, { options: t, applicationLogo: e, callPathAction: o, @@ -25801,24 +25805,24 @@ const zm = p.div(({}) => ({ ], }); }, - vf = ({ horizontal: e = !1, mobileModeAuto: t = !0, ...n }) => { + xf = ({ horizontal: e = !1, mobileModeAuto: t = !0, ...n }) => { const [i, o] = a(!1); return ( r(() => { - const e = Hm(() => { + const e = zm(() => { const e = document.documentElement.offsetWidth; o(e <= E.md); }, 400); window.addEventListener("resize", e); }), i && t - ? k.jsx(Ef, { ...n }) + ? k.jsx(vf, { ...n }) : e - ? k.jsx(ef, { ...n }) - : k.jsx(mf, { ...n }) + ? k.jsx(tf, { ...n }) + : k.jsx(gf, { ...n }) ); }, - xf = p.button(({ sx: e, theme: t }) => ({ + Tf = p.button(({ sx: e, theme: t }) => ({ display: "flex", cursor: "pointer", alignItems: "center", @@ -25845,15 +25849,15 @@ const zm = p.div(({}) => ({ }, ...e, })), - Tf = ({ open: e, label: t, sx: n, ...a }) => - k.jsxs(xf, { + _f = ({ open: e, label: t, sx: n, ...a }) => + k.jsxs(Tf, { sx: n, ...a, children: [t, e ? k.jsx(wl, {}) : k.jsx(Al, {})], }), - _f = ({ selectedTab: e, useRouteTabs: t, id: n, children: a }) => - t || e === n ? k.jsx(Am, { id: n, children: a }) : null, - yf = p.button(({ theme: e, horizontal: t }) => ({ + yf = ({ selectedTab: e, useRouteTabs: t, id: n, children: a }) => + t || e === n ? k.jsx(Cm, { id: n, children: a }) : null, + Sf = p.button(({ theme: e, horizontal: t }) => ({ cursor: "pointer", display: "flex", alignItems: "center", @@ -25925,7 +25929,7 @@ const zm = p.div(({}) => ({ : `${Oa(e, "tabs.vertical.borders", ve)} 1px solid`, }, })), - Sf = ({ + wf = ({ horizontal: e, id: t, onClick: n, @@ -25934,7 +25938,7 @@ const zm = p.div(({}) => ({ icon: i, selected: o, }) => - k.jsxs(yf, { + k.jsxs(Sf, { horizontal: !!e, id: t, onClick: () => n(), @@ -25942,7 +25946,7 @@ const zm = p.div(({}) => ({ className: "" + (o ? "selected" : ""), children: [i, a], }), - wf = p.div( + Af = p.div( ({ theme: e, horizontal: t, horizontalBarBackground: n, sx: a }) => { let r = n ? Oa(e, "tabs.horizontal.backgroundColor", "transparent") @@ -25983,7 +25987,7 @@ const zm = p.div(({}) => ({ }; }, ), - Af = ({ + Cf = ({ horizontal: e, options: t, currentTabOrPath: n, @@ -25995,22 +25999,22 @@ const zm = p.div(({}) => ({ horizontalBarBackground: l, sx: c, }) => - k.jsxs(wf, { + k.jsxs(Af, { className: "tabs-container", horizontal: !!e, horizontalBarBackground: !!l, sx: c, children: [ - k.jsxs(Am, { + k.jsxs(Cm, { className: "optionsContainer", children: [ - o && k.jsx(Am, { children: o }), - k.jsx(Am, { + o && k.jsx(Cm, { children: o }), + k.jsx(Cm, { className: "optionsList", children: t.map((t, r) => t ? k.jsx( - Sf, + wf, { id: t.tabConfig.id, onClick: () => { @@ -26029,13 +26033,13 @@ const zm = p.div(({}) => ({ : null, ), }), - s && k.jsx(Am, { children: s }), + s && k.jsx(Cm, { children: s }), ], }), - k.jsx(Am, { + k.jsx(Cm, { className: "tabsPanels", children: a - ? k.jsx(_f, { + ? k.jsx(yf, { id: "routes-tab-container", useRouteTabs: !!a, children: r, @@ -26044,7 +26048,7 @@ const zm = p.div(({}) => ({ e.tabConfig.disabled ? null : k.jsx( - _f, + yf, { id: e.tabConfig.id, selectedTab: n, @@ -26057,146 +26061,96 @@ const zm = p.div(({}) => ({ }), ], }); -var Cf, - Nf = { exports: {} }; -var If, - Rf = - (Cf || - ((Cf = 1), - (function (e) { - function t() { - return ( - (e.exports = t = - Object.assign - ? Object.assign.bind() - : function (e) { - for (var t = 1; t < arguments.length; t++) { - var n = arguments[t]; - for (var a in n) - ({}).hasOwnProperty.call(n, a) && (e[a] = n[a]); - } - return e; - }), - (e.exports.__esModule = !0), - (e.exports.default = e.exports), - t.apply(null, arguments) - ); - } - ((e.exports = t), - (e.exports.__esModule = !0), - (e.exports.default = e.exports)); - })(Nf)), - Nf.exports), - kf = y(Rf), - Of = { exports: {} }; -var Lf = - (If || - ((If = 1), - (function (e) { - ((e.exports = function (e, t) { - if (null == e) return {}; - var n = {}; - for (var a in e) - if ({}.hasOwnProperty.call(e, a)) { - if (t.includes(a)) continue; - n[a] = e[a]; - } - return n; - }), - (e.exports.__esModule = !0), - (e.exports.default = e.exports)); - })(Of)), - Of.exports), - Mf = y(Lf); -class Df { +var Nf = y(Yu()); +class If { constructor(e, t, n) { ((this.property = e), (this.normal = t), n && (this.space = n)); } } -function Pf(e, t) { +function Rf(e, t) { const n = {}, a = {}; let r = -1; for (; ++r < e.length; ) (Object.assign(n, e[r].property), Object.assign(a, e[r].normal)); - return new Df(n, a, t); + return new If(n, a, t); } -function jf(e) { +function kf(e) { return e.toLowerCase(); } -((Df.prototype.property = {}), - (Df.prototype.normal = {}), - (Df.prototype.space = null)); -let Bf = class { +((If.prototype.property = {}), + (If.prototype.normal = {}), + (If.prototype.space = null)); +let Of = class { constructor(e, t) { ((this.property = e), (this.attribute = t)); } }; -((Bf.prototype.space = null), - (Bf.prototype.boolean = !1), - (Bf.prototype.booleanish = !1), - (Bf.prototype.overloadedBoolean = !1), - (Bf.prototype.number = !1), - (Bf.prototype.commaSeparated = !1), - (Bf.prototype.spaceSeparated = !1), - (Bf.prototype.commaOrSpaceSeparated = !1), - (Bf.prototype.mustUseProperty = !1), - (Bf.prototype.defined = !1)); -let Ff = 0; -const Hf = Wf(), - zf = Wf(), - Uf = Wf(), - Gf = Wf(), - Vf = Wf(), - Zf = Wf(), - $f = Wf(); -function Wf() { - return 2 ** ++Ff; -} -var qf = Object.freeze({ +((Of.prototype.space = null), + (Of.prototype.boolean = !1), + (Of.prototype.booleanish = !1), + (Of.prototype.overloadedBoolean = !1), + (Of.prototype.number = !1), + (Of.prototype.commaSeparated = !1), + (Of.prototype.spaceSeparated = !1), + (Of.prototype.commaOrSpaceSeparated = !1), + (Of.prototype.mustUseProperty = !1), + (Of.prototype.defined = !1)); +let Lf = 0; +const Mf = zf(), + Df = zf(), + Pf = zf(), + jf = zf(), + Bf = zf(), + Ff = zf(), + Hf = zf(); +function zf() { + return 2 ** ++Lf; +} +var Uf = Object.freeze({ __proto__: null, - boolean: Hf, - booleanish: zf, - commaOrSpaceSeparated: $f, - commaSeparated: Zf, - number: Gf, - overloadedBoolean: Uf, - spaceSeparated: Vf, + boolean: Mf, + booleanish: Df, + commaOrSpaceSeparated: Hf, + commaSeparated: Ff, + number: jf, + overloadedBoolean: Pf, + spaceSeparated: Bf, }); -const Yf = Object.keys(qf); -class Kf extends Bf { +const Gf = Object.keys(Uf); +class Vf extends Of { constructor(e, t, n, a) { let r = -1; - if ((super(e, t), Xf(this, "space", a), "number" == typeof n)) - for (; ++r < Yf.length; ) { - const e = Yf[r]; - Xf(this, Yf[r], (n & qf[e]) === qf[e]); + if ((super(e, t), Zf(this, "space", a), "number" == typeof n)) + for (; ++r < Gf.length; ) { + const e = Gf[r]; + Zf(this, Gf[r], (n & Uf[e]) === Uf[e]); } } } -function Xf(e, t, n) { +function Zf(e, t, n) { n && (e[t] = n); } -Kf.prototype.defined = !0; -const Qf = {}.hasOwnProperty; -function Jf(e) { +Vf.prototype.defined = !0; +const $f = {}.hasOwnProperty; +function Wf(e) { const t = {}, n = {}; let a; for (a in e.properties) - if (Qf.call(e.properties, a)) { + if ($f.call(e.properties, a)) { const r = e.properties[a], - i = new Kf(a, e.transform(e.attributes || {}, a), r, e.space); + i = new Vf(a, e.transform(e.attributes || {}, a), r, e.space); (e.mustUseProperty && e.mustUseProperty.includes(a) && (i.mustUseProperty = !0), (t[a] = i), - (n[jf(a)] = a), - (n[jf(i.attribute)] = a)); + (n[kf(a)] = a), + (n[kf(i.attribute)] = a)); } - return new Df(t, n, e.space); + return new If(t, n, e.space); } -const eb = Jf({ +const qf = Wf({ space: "xlink", transform: (e, t) => "xlink:" + t.slice(5).toLowerCase(), properties: { @@ -26209,79 +26163,79 @@ const eb = Jf({ xLinkType: null, }, }), - tb = Jf({ + Yf = Wf({ space: "xml", transform: (e, t) => "xml:" + t.slice(3).toLowerCase(), properties: { xmlLang: null, xmlBase: null, xmlSpace: null }, }); -function nb(e, t) { +function Kf(e, t) { return t in e ? e[t] : t; } -function ab(e, t) { - return nb(e, t.toLowerCase()); +function Xf(e, t) { + return Kf(e, t.toLowerCase()); } -const rb = Jf({ +const Qf = Wf({ space: "xmlns", attributes: { xmlnsxlink: "xmlns:xlink" }, - transform: ab, + transform: Xf, properties: { xmlns: null, xmlnsXLink: null }, }), - ib = Jf({ + Jf = Wf({ transform: (e, t) => "role" === t ? t : "aria-" + t.slice(4).toLowerCase(), properties: { ariaActiveDescendant: null, - ariaAtomic: zf, + ariaAtomic: Df, ariaAutoComplete: null, - ariaBusy: zf, - ariaChecked: zf, - ariaColCount: Gf, - ariaColIndex: Gf, - ariaColSpan: Gf, - ariaControls: Vf, + ariaBusy: Df, + ariaChecked: Df, + ariaColCount: jf, + ariaColIndex: jf, + ariaColSpan: jf, + ariaControls: Bf, ariaCurrent: null, - ariaDescribedBy: Vf, + ariaDescribedBy: Bf, ariaDetails: null, - ariaDisabled: zf, - ariaDropEffect: Vf, + ariaDisabled: Df, + ariaDropEffect: Bf, ariaErrorMessage: null, - ariaExpanded: zf, - ariaFlowTo: Vf, - ariaGrabbed: zf, + ariaExpanded: Df, + ariaFlowTo: Bf, + ariaGrabbed: Df, ariaHasPopup: null, - ariaHidden: zf, + ariaHidden: Df, ariaInvalid: null, ariaKeyShortcuts: null, ariaLabel: null, - ariaLabelledBy: Vf, - ariaLevel: Gf, + ariaLabelledBy: Bf, + ariaLevel: jf, ariaLive: null, - ariaModal: zf, - ariaMultiLine: zf, - ariaMultiSelectable: zf, + ariaModal: Df, + ariaMultiLine: Df, + ariaMultiSelectable: Df, ariaOrientation: null, - ariaOwns: Vf, + ariaOwns: Bf, ariaPlaceholder: null, - ariaPosInSet: Gf, - ariaPressed: zf, - ariaReadOnly: zf, + ariaPosInSet: jf, + ariaPressed: Df, + ariaReadOnly: Df, ariaRelevant: null, - ariaRequired: zf, - ariaRoleDescription: Vf, - ariaRowCount: Gf, - ariaRowIndex: Gf, - ariaRowSpan: Gf, - ariaSelected: zf, - ariaSetSize: Gf, + ariaRequired: Df, + ariaRoleDescription: Bf, + ariaRowCount: jf, + ariaRowIndex: jf, + ariaRowSpan: jf, + ariaSelected: Df, + ariaSetSize: jf, ariaSort: null, - ariaValueMax: Gf, - ariaValueMin: Gf, - ariaValueNow: Gf, + ariaValueMax: jf, + ariaValueMin: jf, + ariaValueNow: jf, ariaValueText: null, role: null, }, }), - ob = Jf({ + eb = Wf({ space: "html", attributes: { acceptcharset: "accept-charset", @@ -26289,49 +26243,49 @@ const rb = Jf({ htmlfor: "for", httpequiv: "http-equiv", }, - transform: ab, + transform: Xf, mustUseProperty: ["checked", "multiple", "muted", "selected"], properties: { abbr: null, - accept: Zf, - acceptCharset: Vf, - accessKey: Vf, + accept: Ff, + acceptCharset: Bf, + accessKey: Bf, action: null, allow: null, - allowFullScreen: Hf, - allowPaymentRequest: Hf, - allowUserMedia: Hf, + allowFullScreen: Mf, + allowPaymentRequest: Mf, + allowUserMedia: Mf, alt: null, as: null, - async: Hf, + async: Mf, autoCapitalize: null, - autoComplete: Vf, - autoFocus: Hf, - autoPlay: Hf, - blocking: Vf, + autoComplete: Bf, + autoFocus: Mf, + autoPlay: Mf, + blocking: Bf, capture: null, charSet: null, - checked: Hf, + checked: Mf, cite: null, - className: Vf, - cols: Gf, + className: Bf, + cols: jf, colSpan: null, content: null, - contentEditable: zf, - controls: Hf, - controlsList: Vf, - coords: Gf | Zf, + contentEditable: Df, + controls: Mf, + controlsList: Bf, + coords: jf | Ff, crossOrigin: null, data: null, dateTime: null, decoding: null, - default: Hf, - defer: Hf, + default: Mf, + defer: Mf, dir: null, dirName: null, - disabled: Hf, - download: Uf, - draggable: zf, + disabled: Mf, + download: Pf, + draggable: Df, encType: null, enterKeyHint: null, fetchPriority: null, @@ -26339,50 +26293,50 @@ const rb = Jf({ formAction: null, formEncType: null, formMethod: null, - formNoValidate: Hf, + formNoValidate: Mf, formTarget: null, - headers: Vf, - height: Gf, - hidden: Hf, - high: Gf, + headers: Bf, + height: jf, + hidden: Mf, + high: jf, href: null, hrefLang: null, - htmlFor: Vf, - httpEquiv: Vf, + htmlFor: Bf, + httpEquiv: Bf, id: null, imageSizes: null, imageSrcSet: null, - inert: Hf, + inert: Mf, inputMode: null, integrity: null, is: null, - isMap: Hf, + isMap: Mf, itemId: null, - itemProp: Vf, - itemRef: Vf, - itemScope: Hf, - itemType: Vf, + itemProp: Bf, + itemRef: Bf, + itemScope: Mf, + itemType: Bf, kind: null, label: null, lang: null, language: null, list: null, loading: null, - loop: Hf, - low: Gf, + loop: Mf, + low: jf, manifest: null, max: null, - maxLength: Gf, + maxLength: jf, media: null, method: null, min: null, - minLength: Gf, - multiple: Hf, - muted: Hf, + minLength: jf, + multiple: Mf, + muted: Mf, name: null, nonce: null, - noModule: Hf, - noValidate: Hf, + noModule: Mf, + noValidate: Mf, onAbort: null, onAfterPrint: null, onAuxClick: null, @@ -26471,65 +26425,65 @@ const rb = Jf({ onVolumeChange: null, onWaiting: null, onWheel: null, - open: Hf, - optimum: Gf, + open: Mf, + optimum: jf, pattern: null, - ping: Vf, + ping: Bf, placeholder: null, - playsInline: Hf, + playsInline: Mf, popover: null, popoverTarget: null, popoverTargetAction: null, poster: null, preload: null, - readOnly: Hf, + readOnly: Mf, referrerPolicy: null, - rel: Vf, - required: Hf, - reversed: Hf, - rows: Gf, - rowSpan: Gf, - sandbox: Vf, + rel: Bf, + required: Mf, + reversed: Mf, + rows: jf, + rowSpan: jf, + sandbox: Bf, scope: null, - scoped: Hf, - seamless: Hf, - selected: Hf, - shadowRootClonable: Hf, - shadowRootDelegatesFocus: Hf, + scoped: Mf, + seamless: Mf, + selected: Mf, + shadowRootClonable: Mf, + shadowRootDelegatesFocus: Mf, shadowRootMode: null, shape: null, - size: Gf, + size: jf, sizes: null, slot: null, - span: Gf, - spellCheck: zf, + span: jf, + spellCheck: Df, src: null, srcDoc: null, srcLang: null, srcSet: null, - start: Gf, + start: jf, step: null, style: null, - tabIndex: Gf, + tabIndex: jf, target: null, title: null, translate: null, type: null, - typeMustMatch: Hf, + typeMustMatch: Mf, useMap: null, - value: zf, - width: Gf, + value: Df, + width: jf, wrap: null, writingSuggestions: null, align: null, aLink: null, - archive: Vf, + archive: Bf, axis: null, background: null, bgColor: null, - border: Gf, + border: jf, borderColor: null, - bottomMargin: Gf, + bottomMargin: jf, cellPadding: null, cellSpacing: null, char: null, @@ -26540,53 +26494,53 @@ const rb = Jf({ codeBase: null, codeType: null, color: null, - compact: Hf, - declare: Hf, + compact: Mf, + declare: Mf, event: null, face: null, frame: null, frameBorder: null, - hSpace: Gf, - leftMargin: Gf, + hSpace: jf, + leftMargin: jf, link: null, longDesc: null, lowSrc: null, - marginHeight: Gf, - marginWidth: Gf, - noResize: Hf, - noHref: Hf, - noShade: Hf, - noWrap: Hf, + marginHeight: jf, + marginWidth: jf, + noResize: Mf, + noHref: Mf, + noShade: Mf, + noWrap: Mf, object: null, profile: null, prompt: null, rev: null, - rightMargin: Gf, + rightMargin: jf, rules: null, scheme: null, - scrolling: zf, + scrolling: Df, standby: null, summary: null, text: null, - topMargin: Gf, + topMargin: jf, valueType: null, version: null, vAlign: null, vLink: null, - vSpace: Gf, + vSpace: jf, allowTransparency: null, autoCorrect: null, autoSave: null, - disablePictureInPicture: Hf, - disableRemotePlayback: Hf, + disablePictureInPicture: Mf, + disableRemotePlayback: Mf, prefix: null, property: null, - results: Gf, + results: jf, security: null, unselectable: null, }, }), - sb = Jf({ + tb = Wf({ space: "svg", attributes: { accentHeight: "accent-height", @@ -26762,31 +26716,31 @@ const rb = Jf({ playbackOrder: "playbackorder", timelineBegin: "timelinebegin", }, - transform: nb, + transform: Kf, properties: { - about: $f, - accentHeight: Gf, + about: Hf, + accentHeight: jf, accumulate: null, additive: null, alignmentBaseline: null, - alphabetic: Gf, - amplitude: Gf, + alphabetic: jf, + amplitude: jf, arabicForm: null, - ascent: Gf, + ascent: jf, attributeName: null, attributeType: null, - azimuth: Gf, + azimuth: jf, bandwidth: null, baselineShift: null, baseFrequency: null, baseProfile: null, bbox: null, begin: null, - bias: Gf, + bias: jf, by: null, calcMode: null, - capHeight: Gf, - className: Vf, + capHeight: jf, + className: Bf, clip: null, clipPath: null, clipPathUnits: null, @@ -26806,26 +26760,26 @@ const rb = Jf({ d: null, dataType: null, defaultAction: null, - descent: Gf, - diffuseConstant: Gf, + descent: jf, + diffuseConstant: jf, direction: null, display: null, dur: null, - divisor: Gf, + divisor: jf, dominantBaseline: null, - download: Hf, + download: Mf, dx: null, dy: null, edgeMode: null, editable: null, - elevation: Gf, + elevation: jf, enableBackground: null, end: null, event: null, - exponent: Gf, + exponent: jf, externalResourcesRequired: null, fill: null, - fillOpacity: Gf, + fillOpacity: jf, fillRule: null, filter: null, filterRes: null, @@ -26846,37 +26800,37 @@ const rb = Jf({ from: null, fx: null, fy: null, - g1: Zf, - g2: Zf, - glyphName: Zf, + g1: Ff, + g2: Ff, + glyphName: Ff, glyphOrientationHorizontal: null, glyphOrientationVertical: null, glyphRef: null, gradientTransform: null, gradientUnits: null, handler: null, - hanging: Gf, + hanging: jf, hatchContentUnits: null, hatchUnits: null, height: null, href: null, hrefLang: null, - horizAdvX: Gf, - horizOriginX: Gf, - horizOriginY: Gf, + horizAdvX: jf, + horizOriginX: jf, + horizOriginY: jf, id: null, - ideographic: Gf, + ideographic: jf, imageRendering: null, initialVisibility: null, in: null, in2: null, - intercept: Gf, - k: Gf, - k1: Gf, - k2: Gf, - k3: Gf, - k4: Gf, - kernelMatrix: $f, + intercept: jf, + k: jf, + k1: jf, + k2: jf, + k3: jf, + k4: jf, + kernelMatrix: Hf, kernelUnitLength: null, keyPoints: null, keySplines: null, @@ -26886,7 +26840,7 @@ const rb = Jf({ lengthAdjust: null, letterSpacing: null, lightingColor: null, - limitingConeAngle: Gf, + limitingConeAngle: jf, local: null, markerEnd: null, markerMid: null, @@ -26902,7 +26856,7 @@ const rb = Jf({ media: null, mediaCharacterEncoding: null, mediaContentEncodings: null, - mediaSize: Gf, + mediaSize: jf, mediaTime: null, method: null, min: null, @@ -27008,43 +26962,43 @@ const rb = Jf({ origin: null, overflow: null, overlay: null, - overlinePosition: Gf, - overlineThickness: Gf, + overlinePosition: jf, + overlineThickness: jf, paintOrder: null, panose1: null, path: null, - pathLength: Gf, + pathLength: jf, patternContentUnits: null, patternTransform: null, patternUnits: null, phase: null, - ping: Vf, + ping: Bf, pitch: null, playbackOrder: null, pointerEvents: null, points: null, - pointsAtX: Gf, - pointsAtY: Gf, - pointsAtZ: Gf, + pointsAtX: jf, + pointsAtY: jf, + pointsAtZ: jf, preserveAlpha: null, preserveAspectRatio: null, primitiveUnits: null, propagate: null, - property: $f, + property: Hf, r: null, radius: null, referrerPolicy: null, refX: null, refY: null, - rel: $f, - rev: $f, + rel: Hf, + rev: Hf, renderingIntent: null, repeatCount: null, repeatDur: null, - requiredExtensions: $f, - requiredFeatures: $f, - requiredFonts: $f, - requiredFormats: $f, + requiredExtensions: Hf, + requiredFeatures: Hf, + requiredFonts: Hf, + requiredFormats: Hf, resource: null, restart: null, result: null, @@ -27057,8 +27011,8 @@ const rb = Jf({ side: null, slope: null, snapshotTime: null, - specularConstant: Gf, - specularExponent: Gf, + specularConstant: jf, + specularExponent: jf, spreadMethod: null, spacing: null, startOffset: null, @@ -27068,30 +27022,30 @@ const rb = Jf({ stitchTiles: null, stopColor: null, stopOpacity: null, - strikethroughPosition: Gf, - strikethroughThickness: Gf, + strikethroughPosition: jf, + strikethroughThickness: jf, string: null, stroke: null, - strokeDashArray: $f, + strokeDashArray: Hf, strokeDashOffset: null, strokeLineCap: null, strokeLineJoin: null, - strokeMiterLimit: Gf, - strokeOpacity: Gf, + strokeMiterLimit: jf, + strokeOpacity: jf, strokeWidth: null, style: null, - surfaceScale: Gf, + surfaceScale: jf, syncBehavior: null, syncBehaviorDefault: null, syncMaster: null, syncTolerance: null, syncToleranceDefault: null, - systemLanguage: $f, - tabIndex: Gf, + systemLanguage: Hf, + tabIndex: jf, tableValues: null, target: null, - targetX: Gf, - targetY: Gf, + targetX: jf, + targetY: jf, textAnchor: null, textDecoration: null, textRendering: null, @@ -27100,28 +27054,28 @@ const rb = Jf({ title: null, transformBehavior: null, type: null, - typeOf: $f, + typeOf: Hf, to: null, transform: null, transformOrigin: null, u1: null, u2: null, - underlinePosition: Gf, - underlineThickness: Gf, + underlinePosition: jf, + underlineThickness: jf, unicode: null, unicodeBidi: null, unicodeRange: null, - unitsPerEm: Gf, + unitsPerEm: jf, values: null, - vAlphabetic: Gf, - vMathematical: Gf, + vAlphabetic: jf, + vMathematical: jf, vectorEffect: null, - vHanging: Gf, - vIdeographic: Gf, + vHanging: jf, + vIdeographic: jf, version: null, - vertAdvY: Gf, - vertOriginX: Gf, - vertOriginY: Gf, + vertAdvY: jf, + vertOriginX: jf, + vertOriginY: jf, viewBox: null, viewTarget: null, visibility: null, @@ -27133,7 +27087,7 @@ const rb = Jf({ x1: null, x2: null, xChannelSelector: null, - xHeight: Gf, + xHeight: jf, y: null, y1: null, y2: null, @@ -27142,38 +27096,38 @@ const rb = Jf({ zoomAndPan: null, }, }), - lb = /^data[-\w.:]+$/i, - cb = /-[a-z]/g, - db = /[A-Z]/g; -function ub(e, t) { - const n = jf(t); + nb = /^data[-\w.:]+$/i, + ab = /-[a-z]/g, + rb = /[A-Z]/g; +function ib(e, t) { + const n = kf(t); let a = t, - r = Bf; + r = Of; if (n in e.normal) return e.property[e.normal[n]]; - if (n.length > 4 && "data" === n.slice(0, 4) && lb.test(t)) { + if (n.length > 4 && "data" === n.slice(0, 4) && nb.test(t)) { if ("-" === t.charAt(4)) { - const e = t.slice(5).replace(cb, hb); + const e = t.slice(5).replace(ab, sb); a = "data" + e.charAt(0).toUpperCase() + e.slice(1); } else { const e = t.slice(4); - if (!cb.test(e)) { - let n = e.replace(db, pb); + if (!ab.test(e)) { + let n = e.replace(rb, ob); ("-" !== n.charAt(0) && (n = "-" + n), (t = "data" + n)); } } - r = Kf; + r = Vf; } return new r(a, t); } -function pb(e) { +function ob(e) { return "-" + e.toLowerCase(); } -function hb(e) { +function sb(e) { return e.charAt(1).toUpperCase(); } -const mb = Pf([tb, eb, rb, ib, ob], "html"), - gb = Pf([tb, eb, rb, ib, sb], "svg"); -function fb(e) { +const lb = Rf([Yf, qf, Qf, Jf, eb], "html"), + cb = Rf([Yf, qf, Qf, Jf, tb], "svg"); +function db(e) { const t = [], n = String(e || ""); let a = n.indexOf(","), @@ -27186,22 +27140,22 @@ function fb(e) { } return t; } -function bb(e, t) { +function ub(e, t) { const n = t || {}; return ("" === e[e.length - 1] ? [...e, ""] : e) .join((n.padRight ? " " : "") + "," + (!1 === n.padLeft ? "" : " ")) .trim(); } -const Eb = /[#.]/g; -function vb(e) { +const pb = /[#.]/g; +function hb(e) { const t = String(e || "").trim(); return t ? t.split(/[ \t\n\r\f]+/g) : []; } -function xb(e) { +function mb(e) { return e.join(" ").trim(); } -const Tb = {}.hasOwnProperty; -function _b(e, t, n) { +const gb = {}.hasOwnProperty; +function fb(e, t, n) { const a = n && (function (e) { @@ -27225,8 +27179,8 @@ function _b(e, t, n) { i, o = 0; for (; o < n.length; ) { - Eb.lastIndex = o; - const e = Eb.exec(n), + pb.lastIndex = o; + const e = pb.exec(n), t = n.slice(o, e ? e.index : n.length); (t && (r @@ -27247,7 +27201,7 @@ function _b(e, t, n) { }; })(n, t)), (o.tagName = o.tagName.toLowerCase()), - a && Tb.call(a, o.tagName) && (o.tagName = a[o.tagName]), + a && gb.call(a, o.tagName) && (o.tagName = a[o.tagName]), (function (e) { if (null === e || "object" != typeof e || Array.isArray(e)) return !0; if ("string" != typeof e.type) return !1; @@ -27269,9 +27223,9 @@ function _b(e, t, n) { i.unshift(r); else { let t; - for (t in r) Tb.call(r, t) && yb(e, o.properties, t, r[t]); + for (t in r) gb.call(r, t) && bb(e, o.properties, t, r[t]); } - for (; ++s < i.length; ) Sb(o.children, i[s]); + for (; ++s < i.length; ) Eb(o.children, i[s]); return ( "element" === o.type && "template" === o.tagName && @@ -27281,8 +27235,8 @@ function _b(e, t, n) { ); }; } -function yb(e, t, n, a) { - const r = ub(e, n); +function bb(e, t, n, a) { + const r = ib(e, n); let i, o = -1; if (null != a) { @@ -27295,26 +27249,26 @@ function yb(e, t, n, a) { ? a : "string" == typeof a ? r.spaceSeparated - ? vb(a) + ? hb(a) : r.commaSeparated - ? fb(a) + ? db(a) : r.commaOrSpaceSeparated - ? vb(fb(a).join(" ")) - : wb(r, r.property, a) + ? hb(db(a).join(" ")) + : vb(r, r.property, a) : Array.isArray(a) ? a.concat() : "style" === r.property ? (function (e) { const t = []; let n; - for (n in e) Tb.call(e, n) && t.push([n, e[n]].join(": ")); + for (n in e) gb.call(e, n) && t.push([n, e[n]].join(": ")); return t.join("; "); })(a) : String(a); if (Array.isArray(i)) { const e = []; for (; ++o < i.length; ) { - const t = wb(r, r.property, i[o]); + const t = vb(r, r.property, i[o]); e[o] = t; } i = e; @@ -27326,28 +27280,28 @@ function yb(e, t, n, a) { t[r.property] = i; } } -function Sb(e, t) { +function Eb(e, t) { let n = -1; if (null == t); else if ("string" == typeof t || "number" == typeof t) e.push({ type: "text", value: String(t) }); - else if (Array.isArray(t)) for (; ++n < t.length; ) Sb(e, t[n]); + else if (Array.isArray(t)) for (; ++n < t.length; ) Eb(e, t[n]); else { if ("object" != typeof t || !("type" in t)) throw new Error("Expected node, nodes, or string, got `" + t + "`"); - "root" === t.type ? Sb(e, t.children) : e.push(t); + "root" === t.type ? Eb(e, t.children) : e.push(t); } } -function wb(e, t, n) { +function vb(e, t, n) { if ("string" == typeof n) { if (e.number && n && !Number.isNaN(Number(n))) return Number(n); - if ((e.boolean || e.overloadedBoolean) && ("" === n || jf(n) === jf(t))) + if ((e.boolean || e.overloadedBoolean) && ("" === n || kf(n) === kf(t))) return !0; } return n; } -const Ab = _b(mb, "div"), - Cb = _b(gb, "g", [ +const xb = fb(lb, "div"), + Tb = fb(cb, "g", [ "altGlyph", "altGlyphDef", "altGlyphItem", @@ -27388,20 +27342,20 @@ const Ab = _b(mb, "div"), "textArea", "textPath", ]); -function Nb(e, t) { +function _b(e, t) { const n = e.indexOf("\r", t), a = e.indexOf("\n", t); return -1 === a ? n : -1 === n || n + 1 === a ? a : n < a ? n : a; } -const Ib = { svg: "http://www.w3.org/2000/svg" }, - Rb = {}.hasOwnProperty, - kb = Object.prototype; -function Ob(e, t) { +const yb = { svg: "http://www.w3.org/2000/svg" }, + Sb = {}.hasOwnProperty, + wb = Object.prototype; +function Ab(e, t) { let n; switch (t.nodeName) { case "#comment": { const a = t; - return ((n = { type: "comment", value: a.data }), Mb(e, a, n), n); + return ((n = { type: "comment", value: a.data }), Nb(e, a, n), n); } case "#document": case "#document-fragment": { @@ -27410,7 +27364,7 @@ function Ob(e, t) { if ( ((n = { type: "root", - children: Lb(e, t.childNodes), + children: Cb(e, t.childNodes), data: { quirksMode: r }, }), e.file && e.location) @@ -27430,7 +27384,7 @@ function Ob(e, t) { ) { for (; n.length < e.line; ) { const e = n[n.length - 1], - a = Nb(t, e), + a = _b(t, e), r = -1 === a ? t.length + 1 : a + 1; if (e === r) break; n.push(r); @@ -27445,7 +27399,7 @@ function Ob(e, t) { for (;;) { let r = n[a]; if (void 0 === r) { - const e = Nb(t, n[a - 1]); + const e = _b(t, n[a - 1]); ((r = -1 === e ? t.length + 1 : e + 1), (n[a] = r)); } if (r > e) @@ -27467,31 +27421,31 @@ function Ob(e, t) { return n; } case "#documentType": - return ((n = { type: "doctype" }), Mb(e, t, n), n); + return ((n = { type: "doctype" }), Nb(e, t, n), n); case "#text": { const a = t; - return ((n = { type: "text", value: a.value }), Mb(e, a, n), n); + return ((n = { type: "text", value: a.value }), Nb(e, a, n), n); } default: return ( (n = (function (e, t) { const n = e.schema; - e.schema = t.namespaceURI === Ib.svg ? gb : mb; + e.schema = t.namespaceURI === yb.svg ? cb : lb; let a = -1; const r = {}; for (; ++a < t.attrs.length; ) { const e = t.attrs[a], n = (e.prefix ? e.prefix + ":" : "") + e.name; - Rb.call(kb, n) || (r[n] = e.value); + Sb.call(wb, n) || (r[n] = e.value); } - const i = "svg" === e.schema.space ? Cb : Ab, - o = i(t.tagName, r, Lb(e, t.childNodes)); - if ((Mb(e, t, o), "template" === o.tagName)) { + const i = "svg" === e.schema.space ? Tb : xb, + o = i(t.tagName, r, Cb(e, t.childNodes)); + if ((Nb(e, t, o), "template" === o.tagName)) { const n = t, a = n.sourceCodeLocation, - r = a && a.startTag && Db(a.startTag), - i = a && a.endTag && Db(a.endTag), - s = Ob(e, n.content); + r = a && a.startTag && Ib(a.startTag), + i = a && a.endTag && Ib(a.endTag), + s = Ab(e, n.content); (r && i && e.file && (s.position = { start: r.end, end: i.start }), (o.content = s)); } @@ -27501,19 +27455,19 @@ function Ob(e, t) { ); } } -function Lb(e, t) { +function Cb(e, t) { let n = -1; const a = []; for (; ++n < t.length; ) { - const r = Ob(e, t[n]); + const r = Ab(e, t[n]); a.push(r); } return a; } -function Mb(e, t, n) { +function Nb(e, t, n) { if ("sourceCodeLocation" in t && t.sourceCodeLocation && e.file) { const a = (function (e, t, n) { - const a = Db(n); + const a = Ib(n); if ("element" === t.type) { const r = t.children[t.children.length - 1]; if ( @@ -27529,11 +27483,11 @@ function Mb(e, t, n) { let r; if (n.attrs) for (r in n.attrs) - Rb.call(n.attrs, r) && - (a[ub(e.schema, r).property] = Db(n.attrs[r])); + Sb.call(n.attrs, r) && + (a[ib(e.schema, r).property] = Ib(n.attrs[r])); n.startTag; - const i = Db(n.startTag), - o = n.endTag ? Db(n.endTag) : void 0, + const i = Ib(n.startTag), + o = n.endTag ? Ib(n.endTag) : void 0, s = { opening: i }; (o && (s.closing = o), (s.properties = a), @@ -27545,26 +27499,26 @@ function Mb(e, t, n) { a && ((e.location = !0), (n.position = a)); } } -function Db(e) { - const t = Pb({ +function Ib(e) { + const t = Rb({ line: e.startLine, column: e.startCol, offset: e.startOffset, }), - n = Pb({ line: e.endLine, column: e.endCol, offset: e.endOffset }); + n = Rb({ line: e.endLine, column: e.endCol, offset: e.endOffset }); return t || n ? { start: t, end: n } : void 0; } -function Pb(e) { +function Rb(e) { return e.line && e.column ? e : void 0; } -const jb = new Set([ +const kb = new Set([ 65534, 65535, 131070, 131071, 196606, 196607, 262142, 262143, 327678, 327679, 393214, 393215, 458750, 458751, 524286, 524287, 589822, 589823, 655358, 655359, 720894, 720895, 786430, 786431, 851966, 851967, 917502, 917503, 983038, 983039, 1048574, 1048575, 1114110, 1114111, ]), - Bb = "�"; -var Fb; + Ob = "�"; +var Lb; !(function (e) { ((e[(e.EOF = -1)] = "EOF"), (e[(e.NULL = 0)] = "NULL"), @@ -27592,17 +27546,17 @@ var Fb; (e[(e.GRAVE_ACCENT = 96)] = "GRAVE_ACCENT"), (e[(e.LATIN_SMALL_A = 97)] = "LATIN_SMALL_A"), (e[(e.LATIN_SMALL_Z = 122)] = "LATIN_SMALL_Z")); -})(Fb || (Fb = {})); -const Hb = "--", - zb = "[CDATA[", - Ub = "doctype", - Gb = "script", - Vb = "public", - Zb = "system"; -function $b(e) { +})(Lb || (Lb = {})); +const Mb = "--", + Db = "[CDATA[", + Pb = "doctype", + jb = "script", + Bb = "public", + Fb = "system"; +function Hb(e) { return e >= 55296 && e <= 57343; } -function Wb(e) { +function zb(e) { return ( (32 !== e && 10 !== e && @@ -27614,10 +27568,10 @@ function Wb(e) { (e >= 127 && e <= 159) ); } -function qb(e) { - return (e >= 64976 && e <= 65007) || jb.has(e); +function Ub(e) { + return (e >= 64976 && e <= 65007) || kb.has(e); } -var Yb; +var Gb; !(function (e) { ((e.controlCharacterInInputStream = "control-character-in-input-stream"), (e.noncharacterInInputStream = "noncharacter-in-input-stream"), @@ -27701,8 +27655,8 @@ var Yb; (e.nestedNoscriptInHead = "nested-noscript-in-head"), (e.eofInElementThatCanContainOnlyText = "eof-in-element-that-can-contain-only-text")); -})(Yb || (Yb = {})); -class Kb { +})(Gb || (Gb = {})); +class Vb { constructor(e) { ((this.handler = e), (this.html = ""), @@ -27758,8 +27712,8 @@ class Kb { ) return (this.pos++, this._addGap(), 1024 * (e - 55296) + 9216 + t); } else if (!this.lastChunkWritten) - return ((this.endOfChunkHit = !0), Fb.EOF); - return (this._err(Yb.surrogateInInputStream), e); + return ((this.endOfChunkHit = !0), Lb.EOF); + return (this._err(Gb.surrogateInInputStream), e); } willDropParsedChunk() { return this.pos > this.bufferWaterline; @@ -27798,9 +27752,9 @@ class Kb { peek(e) { const t = this.pos + e; if (t >= this.html.length) - return ((this.endOfChunkHit = !this.lastChunkWritten), Fb.EOF); + return ((this.endOfChunkHit = !this.lastChunkWritten), Lb.EOF); const n = this.html.charCodeAt(t); - return n === Fb.CARRIAGE_RETURN ? Fb.LINE_FEED : n; + return n === Lb.CARRIAGE_RETURN ? Lb.LINE_FEED : n; } advance() { if ( @@ -27809,32 +27763,32 @@ class Kb { ((this.isEol = !1), this.line++, (this.lineStartPos = this.pos)), this.pos >= this.html.length) ) - return ((this.endOfChunkHit = !this.lastChunkWritten), Fb.EOF); + return ((this.endOfChunkHit = !this.lastChunkWritten), Lb.EOF); let e = this.html.charCodeAt(this.pos); - if (e === Fb.CARRIAGE_RETURN) - return ((this.isEol = !0), (this.skipNextNewLine = !0), Fb.LINE_FEED); - if (e === Fb.LINE_FEED && ((this.isEol = !0), this.skipNextNewLine)) + if (e === Lb.CARRIAGE_RETURN) + return ((this.isEol = !0), (this.skipNextNewLine = !0), Lb.LINE_FEED); + if (e === Lb.LINE_FEED && ((this.isEol = !0), this.skipNextNewLine)) return ( this.line--, (this.skipNextNewLine = !1), this._addGap(), this.advance() ); - ((this.skipNextNewLine = !1), $b(e) && (e = this._processSurrogate(e))); + ((this.skipNextNewLine = !1), Hb(e) && (e = this._processSurrogate(e))); return ( null === this.handler.onParseError || (e > 31 && e < 127) || - e === Fb.LINE_FEED || - e === Fb.CARRIAGE_RETURN || + e === Lb.LINE_FEED || + e === Lb.CARRIAGE_RETURN || (e > 159 && e < 64976) || this._checkForProblematicCharacters(e), e ); } _checkForProblematicCharacters(e) { - Wb(e) - ? this._err(Yb.controlCharacterInInputStream) - : qb(e) && this._err(Yb.noncharacterInInputStream); + zb(e) + ? this._err(Gb.controlCharacterInInputStream) + : Ub(e) && this._err(Gb.noncharacterInInputStream); } retreat(e) { for (this.pos -= e; this.pos < this.lastGapPos; ) @@ -27842,8 +27796,8 @@ class Kb { this.isEol = !1; } } -var Xb; -function Qb(e, t) { +var Zb; +function $b(e, t) { for (let n = e.attrs.length - 1; n >= 0; n--) if (e.attrs[n].name === t) return e.attrs[n].value; return null; @@ -27858,17 +27812,17 @@ function Qb(e, t) { (e[(e.DOCTYPE = 6)] = "DOCTYPE"), (e[(e.EOF = 7)] = "EOF"), (e[(e.HIBERNATION = 8)] = "HIBERNATION")); -})(Xb || (Xb = {})); -var Jb, - eE = new Uint16Array( +})(Zb || (Zb = {})); +var Wb, + qb = new Uint16Array( 'ᵁ<Õıʊҝջאٵ۞ޢߖࠏ੊ઑඡ๭༉༦჊ረዡᐕᒝᓃᓟᔥ\0\0\0\0\0\0ᕫᛍᦍᰒᷝ὾⁠↰⊍⏀⏻⑂⠤⤒ⴈ⹈⿎〖㊺㘹㞬㣾㨨㩱㫠㬮ࠀEMabcfglmnoprstu\\bfms„‹•˜¦³¹ÈÏlig耻Æ䃆P耻&䀦cute耻Á䃁reve;䄂Āiyx}rc耻Â䃂;䐐r;쀀𝔄rave耻À䃀pha;䎑acr;䄀d;橓Āgp¡on;䄄f;쀀𝔸plyFunction;恡ing耻Å䃅Ācs¾Ãr;쀀𝒜ign;扔ilde耻Ã䃃ml耻Ä䃄ЀaceforsuåûþėĜĢħĪĀcrêòkslash;或Ŷöø;櫧ed;挆y;䐑ƀcrtąċĔause;戵noullis;愬a;䎒r;쀀𝔅pf;쀀𝔹eve;䋘còēmpeq;扎܀HOacdefhilorsuōőŖƀƞƢƵƷƺǜȕɳɸɾcy;䐧PY耻©䂩ƀcpyŝŢźute;䄆Ā;iŧŨ拒talDifferentialD;慅leys;愭ȀaeioƉƎƔƘron;䄌dil耻Ç䃇rc;䄈nint;戰ot;䄊ĀdnƧƭilla;䂸terDot;䂷òſi;䎧rcleȀDMPTLJNjǑǖot;抙inus;抖lus;投imes;抗oĀcsǢǸkwiseContourIntegral;戲eCurlyĀDQȃȏoubleQuote;思uote;怙ȀlnpuȞȨɇɕonĀ;eȥȦ户;橴ƀgitȯȶȺruent;扡nt;戯ourIntegral;戮ĀfrɌɎ;愂oduct;成nterClockwiseContourIntegral;戳oss;樯cr;쀀𝒞pĀ;Cʄʅ拓ap;才րDJSZacefiosʠʬʰʴʸˋ˗ˡ˦̳ҍĀ;oŹʥtrahd;椑cy;䐂cy;䐅cy;䐏ƀgrsʿ˄ˇger;怡r;憡hv;櫤Āayː˕ron;䄎;䐔lĀ;t˝˞戇a;䎔r;쀀𝔇Āaf˫̧Ācm˰̢riticalȀADGT̖̜̀̆cute;䂴oŴ̋̍;䋙bleAcute;䋝rave;䁠ilde;䋜ond;拄ferentialD;慆Ѱ̽\0\0\0͔͂\0Ѕf;쀀𝔻ƀ;DE͈͉͍䂨ot;惜qual;扐blèCDLRUVͣͲ΂ϏϢϸontourIntegraìȹoɴ͹\0\0ͻ»͉nArrow;懓Āeo·ΤftƀARTΐΖΡrrow;懐ightArrow;懔eåˊngĀLRΫτeftĀARγιrrow;柸ightArrow;柺ightArrow;柹ightĀATϘϞrrow;懒ee;抨pɁϩ\0\0ϯrrow;懑ownArrow;懕erticalBar;戥ǹABLRTaВЪаўѿͼrrowƀ;BUНОТ憓ar;椓pArrow;懵reve;䌑eft˒к\0ц\0ѐightVector;楐eeVector;楞ectorĀ;Bљњ憽ar;楖ightǔѧ\0ѱeeVector;楟ectorĀ;BѺѻ懁ar;楗eeĀ;A҆҇护rrow;憧ĀctҒҗr;쀀𝒟rok;䄐ࠀNTacdfglmopqstuxҽӀӄӋӞӢӧӮӵԡԯԶՒ՝ՠեG;䅊H耻Ð䃐cute耻É䃉ƀaiyӒӗӜron;䄚rc耻Ê䃊;䐭ot;䄖r;쀀𝔈rave耻È䃈ement;戈ĀapӺӾcr;䄒tyɓԆ\0\0ԒmallSquare;旻erySmallSquare;斫ĀgpԦԪon;䄘f;쀀𝔼silon;䎕uĀaiԼՉlĀ;TՂՃ橵ilde;扂librium;懌Āci՗՚r;愰m;橳a;䎗ml耻Ë䃋Āipժկsts;戃onentialE;慇ʀcfiosօֈ֍ֲ׌y;䐤r;쀀𝔉lledɓ֗\0\0֣mallSquare;旼erySmallSquare;斪Ͱֺ\0ֿ\0\0ׄf;쀀𝔽All;戀riertrf;愱cò׋؀JTabcdfgorstר׬ׯ׺؀ؒؖ؛؝أ٬ٲcy;䐃耻>䀾mmaĀ;d׷׸䎓;䏜reve;䄞ƀeiy؇،ؐdil;䄢rc;䄜;䐓ot;䄠r;쀀𝔊;拙pf;쀀𝔾eater̀EFGLSTصلَٖٛ٦qualĀ;Lؾؿ扥ess;招ullEqual;执reater;檢ess;扷lantEqual;橾ilde;扳cr;쀀𝒢;扫ЀAacfiosuڅڋږڛڞڪھۊRDcy;䐪Āctڐڔek;䋇;䁞irc;䄤r;愌lbertSpace;愋ǰگ\0ڲf;愍izontalLine;攀Āctۃۅòکrok;䄦mpńېۘownHumðįqual;扏܀EJOacdfgmnostuۺ۾܃܇܎ܚܞܡܨ݄ݸދޏޕcy;䐕lig;䄲cy;䐁cute耻Í䃍Āiyܓܘrc耻Î䃎;䐘ot;䄰r;愑rave耻Ì䃌ƀ;apܠܯܿĀcgܴܷr;䄪inaryI;慈lieóϝǴ݉\0ݢĀ;eݍݎ戬Āgrݓݘral;戫section;拂isibleĀCTݬݲomma;恣imes;恢ƀgptݿރވon;䄮f;쀀𝕀a;䎙cr;愐ilde;䄨ǫޚ\0ޞcy;䐆l耻Ï䃏ʀcfosuެ޷޼߂ߐĀiyޱ޵rc;䄴;䐙r;쀀𝔍pf;쀀𝕁ǣ߇\0ߌr;쀀𝒥rcy;䐈kcy;䐄΀HJacfosߤߨ߽߬߱ࠂࠈcy;䐥cy;䐌ppa;䎚Āey߶߻dil;䄶;䐚r;쀀𝔎pf;쀀𝕂cr;쀀𝒦րJTaceflmostࠥࠩࠬࡐࡣ঳সে্਷ੇcy;䐉耻<䀼ʀcmnpr࠷࠼ࡁࡄࡍute;䄹bda;䎛g;柪lacetrf;愒r;憞ƀaeyࡗ࡜ࡡron;䄽dil;䄻;䐛Āfsࡨ॰tԀACDFRTUVarࡾࢩࢱࣦ࣠ࣼयज़ΐ४Ānrࢃ࢏gleBracket;柨rowƀ;BR࢙࢚࢞憐ar;懤ightArrow;懆eiling;挈oǵࢷ\0ࣃbleBracket;柦nǔࣈ\0࣒eeVector;楡ectorĀ;Bࣛࣜ懃ar;楙loor;挊ightĀAV࣯ࣵrrow;憔ector;楎Āerँगeƀ;AVउऊऐ抣rrow;憤ector;楚iangleƀ;BEतथऩ抲ar;槏qual;抴pƀDTVषूौownVector;楑eeVector;楠ectorĀ;Bॖॗ憿ar;楘ectorĀ;B॥०憼ar;楒ightáΜs̀EFGLSTॾঋকঝঢভqualGreater;拚ullEqual;扦reater;扶ess;檡lantEqual;橽ilde;扲r;쀀𝔏Ā;eঽা拘ftarrow;懚idot;䄿ƀnpw৔ਖਛgȀLRlr৞৷ਂਐeftĀAR০৬rrow;柵ightArrow;柷ightArrow;柶eftĀarγਊightáοightáϊf;쀀𝕃erĀLRਢਬeftArrow;憙ightArrow;憘ƀchtਾੀੂòࡌ;憰rok;䅁;扪Ѐacefiosuਗ਼੝੠੷੼અઋ઎p;椅y;䐜Ādl੥੯iumSpace;恟lintrf;愳r;쀀𝔐nusPlus;戓pf;쀀𝕄cò੶;䎜ҀJacefostuણધભીଔଙඑ඗ඞcy;䐊cute;䅃ƀaey઴હાron;䅇dil;䅅;䐝ƀgswે૰଎ativeƀMTV૓૟૨ediumSpace;怋hiĀcn૦૘ë૙eryThiî૙tedĀGL૸ଆreaterGreateòٳessLesóੈLine;䀊r;쀀𝔑ȀBnptଢନଷ଺reak;恠BreakingSpace;䂠f;愕ڀ;CDEGHLNPRSTV୕ୖ୪୼஡௫ఄ౞಄ದ೘ൡඅ櫬Āou୛୤ngruent;扢pCap;扭oubleVerticalBar;戦ƀlqxஃஊ஛ement;戉ualĀ;Tஒஓ扠ilde;쀀≂̸ists;戄reater΀;EFGLSTஶஷ஽௉௓௘௥扯qual;扱ullEqual;쀀≧̸reater;쀀≫̸ess;批lantEqual;쀀⩾̸ilde;扵umpń௲௽ownHump;쀀≎̸qual;쀀≏̸eĀfsఊధtTriangleƀ;BEచఛడ拪ar;쀀⧏̸qual;括s̀;EGLSTవశ఼ౄోౘ扮qual;扰reater;扸ess;쀀≪̸lantEqual;쀀⩽̸ilde;扴estedĀGL౨౹reaterGreater;쀀⪢̸essLess;쀀⪡̸recedesƀ;ESಒಓಛ技qual;쀀⪯̸lantEqual;拠ĀeiಫಹverseElement;戌ghtTriangleƀ;BEೋೌ೒拫ar;쀀⧐̸qual;拭ĀquೝഌuareSuĀbp೨೹setĀ;E೰ೳ쀀⊏̸qual;拢ersetĀ;Eഃആ쀀⊐̸qual;拣ƀbcpഓതൎsetĀ;Eഛഞ쀀⊂⃒qual;抈ceedsȀ;ESTലള഻െ抁qual;쀀⪰̸lantEqual;拡ilde;쀀≿̸ersetĀ;E൘൛쀀⊃⃒qual;抉ildeȀ;EFT൮൯൵ൿ扁qual;扄ullEqual;扇ilde;扉erticalBar;戤cr;쀀𝒩ilde耻Ñ䃑;䎝܀Eacdfgmoprstuvලෂ෉෕ෛ෠෧෼ขภยา฿ไlig;䅒cute耻Ó䃓Āiy෎ීrc耻Ô䃔;䐞blac;䅐r;쀀𝔒rave耻Ò䃒ƀaei෮ෲ෶cr;䅌ga;䎩cron;䎟pf;쀀𝕆enCurlyĀDQฎบoubleQuote;怜uote;怘;橔Āclวฬr;쀀𝒪ash耻Ø䃘iŬื฼de耻Õ䃕es;樷ml耻Ö䃖erĀBP๋๠Āar๐๓r;怾acĀek๚๜;揞et;掴arenthesis;揜Ҁacfhilors๿ງຊຏຒດຝະ໼rtialD;戂y;䐟r;쀀𝔓i;䎦;䎠usMinus;䂱Āipຢອncareplanåڝf;愙Ȁ;eio຺ູ໠໤檻cedesȀ;EST່້໏໚扺qual;檯lantEqual;扼ilde;找me;怳Ādp໩໮uct;戏ortionĀ;aȥ໹l;戝Āci༁༆r;쀀𝒫;䎨ȀUfos༑༖༛༟OT耻"䀢r;쀀𝔔pf;愚cr;쀀𝒬؀BEacefhiorsu༾གྷཇའཱིྦྷྪྭ႖ႩႴႾarr;椐G耻®䂮ƀcnrཎནབute;䅔g;柫rĀ;tཛྷཝ憠l;椖ƀaeyཧཬཱron;䅘dil;䅖;䐠Ā;vླྀཹ愜erseĀEUྂྙĀlq྇ྎement;戋uilibrium;懋pEquilibrium;楯r»ཹo;䎡ghtЀACDFTUVa࿁࿫࿳ဢဨၛႇϘĀnr࿆࿒gleBracket;柩rowƀ;BL࿜࿝࿡憒ar;懥eftArrow;懄eiling;按oǵ࿹\0စbleBracket;柧nǔည\0နeeVector;楝ectorĀ;Bဝသ懂ar;楕loor;挋Āerိ၃eƀ;AVဵံြ抢rrow;憦ector;楛iangleƀ;BEၐၑၕ抳ar;槐qual;抵pƀDTVၣၮၸownVector;楏eeVector;楜ectorĀ;Bႂႃ憾ar;楔ectorĀ;B႑႒懀ar;楓Āpuႛ႞f;愝ndImplies;楰ightarrow;懛ĀchႹႼr;愛;憱leDelayed;槴ڀHOacfhimoqstuფჱჷჽᄙᄞᅑᅖᅡᅧᆵᆻᆿĀCcჩხHcy;䐩y;䐨FTcy;䐬cute;䅚ʀ;aeiyᄈᄉᄎᄓᄗ檼ron;䅠dil;䅞rc;䅜;䐡r;쀀𝔖ortȀDLRUᄪᄴᄾᅉownArrow»ОeftArrow»࢚ightArrow»࿝pArrow;憑gma;䎣allCircle;战pf;쀀𝕊ɲᅭ\0\0ᅰt;戚areȀ;ISUᅻᅼᆉᆯ斡ntersection;抓uĀbpᆏᆞsetĀ;Eᆗᆘ抏qual;抑ersetĀ;Eᆨᆩ抐qual;抒nion;抔cr;쀀𝒮ar;拆ȀbcmpᇈᇛሉላĀ;sᇍᇎ拐etĀ;Eᇍᇕqual;抆ĀchᇠህeedsȀ;ESTᇭᇮᇴᇿ扻qual;檰lantEqual;扽ilde;承Tháྌ;我ƀ;esሒሓሣ拑rsetĀ;Eሜም抃qual;抇et»ሓրHRSacfhiorsሾቄ቉ቕ቞ቱቶኟዂወዑORN耻Þ䃞ADE;愢ĀHc቎ቒcy;䐋y;䐦Ābuቚቜ;䀉;䎤ƀaeyብቪቯron;䅤dil;䅢;䐢r;쀀𝔗Āeiቻ኉Dzኀ\0ኇefore;戴a;䎘Ācn኎ኘkSpace;쀀  Space;怉ldeȀ;EFTካኬኲኼ戼qual;扃ullEqual;扅ilde;扈pf;쀀𝕋ipleDot;惛Āctዖዛr;쀀𝒯rok;䅦ૡዷጎጚጦ\0ጬጱ\0\0\0\0\0ጸጽ፷ᎅ\0᏿ᐄᐊᐐĀcrዻጁute耻Ú䃚rĀ;oጇገ憟cir;楉rǣጓ\0጖y;䐎ve;䅬Āiyጞጣrc耻Û䃛;䐣blac;䅰r;쀀𝔘rave耻Ù䃙acr;䅪Ādiፁ፩erĀBPፈ፝Āarፍፐr;䁟acĀekፗፙ;揟et;掵arenthesis;揝onĀ;P፰፱拃lus;抎Āgp፻፿on;䅲f;쀀𝕌ЀADETadps᎕ᎮᎸᏄϨᏒᏗᏳrrowƀ;BDᅐᎠᎤar;椒ownArrow;懅ownArrow;憕quilibrium;楮eeĀ;AᏋᏌ报rrow;憥ownáϳerĀLRᏞᏨeftArrow;憖ightArrow;憗iĀ;lᏹᏺ䏒on;䎥ing;䅮cr;쀀𝒰ilde;䅨ml耻Ü䃜ҀDbcdefosvᐧᐬᐰᐳᐾᒅᒊᒐᒖash;披ar;櫫y;䐒ashĀ;lᐻᐼ抩;櫦Āerᑃᑅ;拁ƀbtyᑌᑐᑺar;怖Ā;iᑏᑕcalȀBLSTᑡᑥᑪᑴar;戣ine;䁼eparator;杘ilde;所ThinSpace;怊r;쀀𝔙pf;쀀𝕍cr;쀀𝒱dash;抪ʀcefosᒧᒬᒱᒶᒼirc;䅴dge;拀r;쀀𝔚pf;쀀𝕎cr;쀀𝒲Ȁfiosᓋᓐᓒᓘr;쀀𝔛;䎞pf;쀀𝕏cr;쀀𝒳ҀAIUacfosuᓱᓵᓹᓽᔄᔏᔔᔚᔠcy;䐯cy;䐇cy;䐮cute耻Ý䃝Āiyᔉᔍrc;䅶;䐫r;쀀𝔜pf;쀀𝕐cr;쀀𝒴ml;䅸ЀHacdefosᔵᔹᔿᕋᕏᕝᕠᕤcy;䐖cute;䅹Āayᕄᕉron;䅽;䐗ot;䅻Dzᕔ\0ᕛoWidtè૙a;䎖r;愨pf;愤cr;쀀𝒵௡ᖃᖊᖐ\0ᖰᖶᖿ\0\0\0\0ᗆᗛᗫᙟ᙭\0ᚕ᚛ᚲᚹ\0ᚾcute耻á䃡reve;䄃̀;Ediuyᖜᖝᖡᖣᖨᖭ戾;쀀∾̳;房rc耻â䃢te肻´̆;䐰lig耻æ䃦Ā;r²ᖺ;쀀𝔞rave耻à䃠ĀepᗊᗖĀfpᗏᗔsym;愵èᗓha;䎱ĀapᗟcĀclᗤᗧr;䄁g;樿ɤᗰ\0\0ᘊʀ;adsvᗺᗻᗿᘁᘇ戧nd;橕;橜lope;橘;橚΀;elmrszᘘᘙᘛᘞᘿᙏᙙ戠;榤e»ᘙsdĀ;aᘥᘦ戡ѡᘰᘲᘴᘶᘸᘺᘼᘾ;榨;榩;榪;榫;榬;榭;榮;榯tĀ;vᙅᙆ戟bĀ;dᙌᙍ抾;榝Āptᙔᙗh;戢»¹arr;捼Āgpᙣᙧon;䄅f;쀀𝕒΀;Eaeiop዁ᙻᙽᚂᚄᚇᚊ;橰cir;橯;扊d;手s;䀧roxĀ;e዁ᚒñᚃing耻å䃥ƀctyᚡᚦᚨr;쀀𝒶;䀪mpĀ;e዁ᚯñʈilde耻ã䃣ml耻ä䃤Āciᛂᛈoninôɲnt;樑ࠀNabcdefiklnoprsu᛭ᛱᜰ᜼ᝃᝈ᝸᝽០៦ᠹᡐᜍ᤽᥈ᥰot;櫭Ācrᛶ᜞kȀcepsᜀᜅᜍᜓong;扌psilon;䏶rime;怵imĀ;e᜚᜛戽q;拍Ŷᜢᜦee;抽edĀ;gᜬᜭ挅e»ᜭrkĀ;t፜᜷brk;掶Āoyᜁᝁ;䐱quo;怞ʀcmprtᝓ᝛ᝡᝤᝨausĀ;eĊĉptyv;榰séᜌnoõēƀahwᝯ᝱ᝳ;䎲;愶een;扬r;쀀𝔟g΀costuvwឍឝឳេ៕៛៞ƀaiuបពរðݠrc;旯p»፱ƀdptឤឨឭot;樀lus;樁imes;樂ɱឹ\0\0ើcup;樆ar;昅riangleĀdu៍្own;施p;斳plus;樄eåᑄåᒭarow;植ƀako៭ᠦᠵĀcn៲ᠣkƀlst៺֫᠂ozenge;槫riangleȀ;dlr᠒᠓᠘᠝斴own;斾eft;旂ight;斸k;搣Ʊᠫ\0ᠳƲᠯ\0ᠱ;斒;斑4;斓ck;斈ĀeoᠾᡍĀ;qᡃᡆ쀀=⃥uiv;쀀≡⃥t;挐Ȁptwxᡙᡞᡧᡬf;쀀𝕓Ā;tᏋᡣom»Ꮜtie;拈؀DHUVbdhmptuvᢅᢖᢪᢻᣗᣛᣬ᣿ᤅᤊᤐᤡȀLRlrᢎᢐᢒᢔ;敗;敔;敖;敓ʀ;DUduᢡᢢᢤᢦᢨ敐;敦;敩;敤;敧ȀLRlrᢳᢵᢷᢹ;敝;敚;敜;教΀;HLRhlrᣊᣋᣍᣏᣑᣓᣕ救;敬;散;敠;敫;敢;敟ox;槉ȀLRlrᣤᣦᣨᣪ;敕;敒;攐;攌ʀ;DUduڽ᣷᣹᣻᣽;敥;敨;攬;攴inus;抟lus;択imes;抠ȀLRlrᤙᤛᤝ᤟;敛;敘;攘;攔΀;HLRhlrᤰᤱᤳᤵᤷ᤻᤹攂;敪;敡;敞;攼;攤;攜Āevģ᥂bar耻¦䂦Ȁceioᥑᥖᥚᥠr;쀀𝒷mi;恏mĀ;e᜚᜜lƀ;bhᥨᥩᥫ䁜;槅sub;柈Ŭᥴ᥾lĀ;e᥹᥺怢t»᥺pƀ;Eeįᦅᦇ;檮Ā;qۜۛೡᦧ\0᧨ᨑᨕᨲ\0ᨷᩐ\0\0᪴\0\0᫁\0\0ᬡᬮ᭍᭒\0᯽\0ᰌƀcpr᦭ᦲ᧝ute;䄇̀;abcdsᦿᧀᧄ᧊᧕᧙戩nd;橄rcup;橉Āau᧏᧒p;橋p;橇ot;橀;쀀∩︀Āeo᧢᧥t;恁îړȀaeiu᧰᧻ᨁᨅǰ᧵\0᧸s;橍on;䄍dil耻ç䃧rc;䄉psĀ;sᨌᨍ橌m;橐ot;䄋ƀdmnᨛᨠᨦil肻¸ƭptyv;榲t脀¢;eᨭᨮ䂢räƲr;쀀𝔠ƀceiᨽᩀᩍy;䑇ckĀ;mᩇᩈ朓ark»ᩈ;䏇r΀;Ecefms᩟᩠ᩢᩫ᪤᪪᪮旋;槃ƀ;elᩩᩪᩭ䋆q;扗eɡᩴ\0\0᪈rrowĀlr᩼᪁eft;憺ight;憻ʀRSacd᪒᪔᪖᪚᪟»ཇ;擈st;抛irc;抚ash;抝nint;樐id;櫯cir;槂ubsĀ;u᪻᪼晣it»᪼ˬ᫇᫔᫺\0ᬊonĀ;eᫍᫎ䀺Ā;qÇÆɭ᫙\0\0᫢aĀ;t᫞᫟䀬;䁀ƀ;fl᫨᫩᫫戁îᅠeĀmx᫱᫶ent»᫩eóɍǧ᫾\0ᬇĀ;dኻᬂot;橭nôɆƀfryᬐᬔᬗ;쀀𝕔oäɔ脀©;sŕᬝr;愗Āaoᬥᬩrr;憵ss;朗Ācuᬲᬷr;쀀𝒸Ābpᬼ᭄Ā;eᭁᭂ櫏;櫑Ā;eᭉᭊ櫐;櫒dot;拯΀delprvw᭠᭬᭷ᮂᮬᯔ᯹arrĀlr᭨᭪;椸;椵ɰ᭲\0\0᭵r;拞c;拟arrĀ;p᭿ᮀ憶;椽̀;bcdosᮏᮐᮖᮡᮥᮨ截rcap;橈Āauᮛᮞp;橆p;橊ot;抍r;橅;쀀∪︀Ȁalrv᮵ᮿᯞᯣrrĀ;mᮼᮽ憷;椼yƀevwᯇᯔᯘqɰᯎ\0\0ᯒreã᭳uã᭵ee;拎edge;拏en耻¤䂤earrowĀlrᯮ᯳eft»ᮀight»ᮽeäᯝĀciᰁᰇoninôǷnt;戱lcty;挭ঀAHabcdefhijlorstuwz᰸᰻᰿ᱝᱩᱵᲊᲞᲬᲷ᳻᳿ᴍᵻᶑᶫᶻ᷆᷍rò΁ar;楥Ȁglrs᱈ᱍ᱒᱔ger;怠eth;愸òᄳhĀ;vᱚᱛ怐»ऊūᱡᱧarow;椏aã̕Āayᱮᱳron;䄏;䐴ƀ;ao̲ᱼᲄĀgrʿᲁr;懊tseq;橷ƀglmᲑᲔᲘ耻°䂰ta;䎴ptyv;榱ĀirᲣᲨsht;楿;쀀𝔡arĀlrᲳᲵ»ࣜ»သʀaegsv᳂͸᳖᳜᳠mƀ;oș᳊᳔ndĀ;ș᳑uit;晦amma;䏝in;拲ƀ;io᳧᳨᳸䃷de脀÷;o᳧ᳰntimes;拇nø᳷cy;䑒cɯᴆ\0\0ᴊrn;挞op;挍ʀlptuwᴘᴝᴢᵉᵕlar;䀤f;쀀𝕕ʀ;emps̋ᴭᴷᴽᵂqĀ;d͒ᴳot;扑inus;戸lus;戔quare;抡blebarwedgåúnƀadhᄮᵝᵧownarrowóᲃarpoonĀlrᵲᵶefôᲴighôᲶŢᵿᶅkaro÷གɯᶊ\0\0ᶎrn;挟op;挌ƀcotᶘᶣᶦĀryᶝᶡ;쀀𝒹;䑕l;槶rok;䄑Ādrᶰᶴot;拱iĀ;fᶺ᠖斿Āah᷀᷃ròЩaòྦangle;榦Āci᷒ᷕy;䑟grarr;柿ऀDacdefglmnopqrstuxḁḉḙḸոḼṉṡṾấắẽỡἪἷὄ὎὚ĀDoḆᴴoôᲉĀcsḎḔute耻é䃩ter;橮ȀaioyḢḧḱḶron;䄛rĀ;cḭḮ扖耻ê䃪lon;払;䑍ot;䄗ĀDrṁṅot;扒;쀀𝔢ƀ;rsṐṑṗ檚ave耻è䃨Ā;dṜṝ檖ot;檘Ȁ;ilsṪṫṲṴ檙nters;揧;愓Ā;dṹṺ檕ot;檗ƀapsẅẉẗcr;䄓tyƀ;svẒẓẕ戅et»ẓpĀ1;ẝẤijạả;怄;怅怃ĀgsẪẬ;䅋p;怂ĀgpẴẸon;䄙f;쀀𝕖ƀalsỄỎỒrĀ;sỊị拕l;槣us;橱iƀ;lvỚớở䎵on»ớ;䏵ȀcsuvỪỳἋἣĀioữḱrc»Ḯɩỹ\0\0ỻíՈantĀglἂἆtr»ṝess»Ṻƀaeiἒ἖Ἒls;䀽st;扟vĀ;DȵἠD;橸parsl;槥ĀDaἯἳot;打rr;楱ƀcdiἾὁỸr;愯oô͒ĀahὉὋ;䎷耻ð䃰Āmrὓὗl耻ë䃫o;悬ƀcipὡὤὧl;䀡sôծĀeoὬὴctatioîՙnentialåչৡᾒ\0ᾞ\0ᾡᾧ\0\0ῆῌ\0ΐ\0ῦῪ \0 ⁚llingdotseñṄy;䑄male;晀ƀilrᾭᾳ῁lig;耀ffiɩᾹ\0\0᾽g;耀ffig;耀ffl;쀀𝔣lig;耀filig;쀀fjƀaltῙ῜ῡt;晭ig;耀flns;斱of;䆒ǰ΅\0ῳf;쀀𝕗ĀakֿῷĀ;vῼ´拔;櫙artint;樍Āao‌⁕Ācs‑⁒ႉ‸⁅⁈\0⁐β•‥‧‪‬\0‮耻½䂽;慓耻¼䂼;慕;慙;慛Ƴ‴\0‶;慔;慖ʴ‾⁁\0\0⁃耻¾䂾;慗;慜5;慘ƶ⁌\0⁎;慚;慝8;慞l;恄wn;挢cr;쀀𝒻ࢀEabcdefgijlnorstv₂₉₟₥₰₴⃰⃵⃺⃿℃ℒℸ̗ℾ⅒↞Ā;lٍ₇;檌ƀcmpₐₕ₝ute;䇵maĀ;dₜ᳚䎳;檆reve;䄟Āiy₪₮rc;䄝;䐳ot;䄡Ȁ;lqsؾق₽⃉ƀ;qsؾٌ⃄lanô٥Ȁ;cdl٥⃒⃥⃕c;檩otĀ;o⃜⃝檀Ā;l⃢⃣檂;檄Ā;e⃪⃭쀀⋛︀s;檔r;쀀𝔤Ā;gٳ؛mel;愷cy;䑓Ȁ;Eajٚℌℎℐ;檒;檥;檤ȀEaesℛℝ℩ℴ;扩pĀ;p℣ℤ檊rox»ℤĀ;q℮ℯ檈Ā;q℮ℛim;拧pf;쀀𝕘Āci⅃ⅆr;愊mƀ;el٫ⅎ⅐;檎;檐茀>;cdlqr׮ⅠⅪⅮⅳⅹĀciⅥⅧ;檧r;橺ot;拗Par;榕uest;橼ʀadelsↄⅪ←ٖ↛ǰ↉\0↎proø₞r;楸qĀlqؿ↖lesó₈ií٫Āen↣↭rtneqq;쀀≩︀Å↪ԀAabcefkosy⇄⇇⇱⇵⇺∘∝∯≨≽ròΠȀilmr⇐⇔⇗⇛rsðᒄf»․ilôکĀdr⇠⇤cy;䑊ƀ;cwࣴ⇫⇯ir;楈;憭ar;意irc;䄥ƀalr∁∎∓rtsĀ;u∉∊晥it»∊lip;怦con;抹r;쀀𝔥sĀew∣∩arow;椥arow;椦ʀamopr∺∾≃≞≣rr;懿tht;戻kĀlr≉≓eftarrow;憩ightarrow;憪f;쀀𝕙bar;怕ƀclt≯≴≸r;쀀𝒽asè⇴rok;䄧Ābp⊂⊇ull;恃hen»ᱛૡ⊣\0⊪\0⊸⋅⋎\0⋕⋳\0\0⋸⌢⍧⍢⍿\0⎆⎪⎴cute耻í䃭ƀ;iyݱ⊰⊵rc耻î䃮;䐸Ācx⊼⊿y;䐵cl耻¡䂡ĀfrΟ⋉;쀀𝔦rave耻ì䃬Ȁ;inoܾ⋝⋩⋮Āin⋢⋦nt;樌t;戭fin;槜ta;愩lig;䄳ƀaop⋾⌚⌝ƀcgt⌅⌈⌗r;䄫ƀelpܟ⌏⌓inåގarôܠh;䄱f;抷ed;䆵ʀ;cfotӴ⌬⌱⌽⍁are;愅inĀ;t⌸⌹戞ie;槝doô⌙ʀ;celpݗ⍌⍐⍛⍡al;抺Āgr⍕⍙eróᕣã⍍arhk;樗rod;樼Ȁcgpt⍯⍲⍶⍻y;䑑on;䄯f;쀀𝕚a;䎹uest耻¿䂿Āci⎊⎏r;쀀𝒾nʀ;EdsvӴ⎛⎝⎡ӳ;拹ot;拵Ā;v⎦⎧拴;拳Ā;iݷ⎮lde;䄩ǫ⎸\0⎼cy;䑖l耻ï䃯̀cfmosu⏌⏗⏜⏡⏧⏵Āiy⏑⏕rc;䄵;䐹r;쀀𝔧ath;䈷pf;쀀𝕛ǣ⏬\0⏱r;쀀𝒿rcy;䑘kcy;䑔Ѐacfghjos␋␖␢␧␭␱␵␻ppaĀ;v␓␔䎺;䏰Āey␛␠dil;䄷;䐺r;쀀𝔨reen;䄸cy;䑅cy;䑜pf;쀀𝕜cr;쀀𝓀஀ABEHabcdefghjlmnoprstuv⑰⒁⒆⒍⒑┎┽╚▀♎♞♥♹♽⚚⚲⛘❝❨➋⟀⠁⠒ƀart⑷⑺⑼rò৆òΕail;椛arr;椎Ā;gঔ⒋;檋ar;楢ॣ⒥\0⒪\0⒱\0\0\0\0\0⒵Ⓔ\0ⓆⓈⓍ\0⓹ute;䄺mptyv;榴raîࡌbda;䎻gƀ;dlࢎⓁⓃ;榑åࢎ;檅uo耻«䂫rЀ;bfhlpst࢙ⓞⓦⓩ⓫⓮⓱⓵Ā;f࢝ⓣs;椟s;椝ë≒p;憫l;椹im;楳l;憢ƀ;ae⓿─┄檫il;椙Ā;s┉┊檭;쀀⪭︀ƀabr┕┙┝rr;椌rk;杲Āak┢┬cĀek┨┪;䁻;䁛Āes┱┳;榋lĀdu┹┻;榏;榍Ȁaeuy╆╋╖╘ron;䄾Ādi═╔il;䄼ìࢰâ┩;䐻Ȁcqrs╣╦╭╽a;椶uoĀ;rนᝆĀdu╲╷har;楧shar;楋h;憲ʀ;fgqs▋▌উ◳◿扤tʀahlrt▘▤▷◂◨rrowĀ;t࢙□aé⓶arpoonĀdu▯▴own»њp»०eftarrows;懇ightƀahs◍◖◞rrowĀ;sࣴࢧarpoonó྘quigarro÷⇰hreetimes;拋ƀ;qs▋ও◺lanôবʀ;cdgsব☊☍☝☨c;檨otĀ;o☔☕橿Ā;r☚☛檁;檃Ā;e☢☥쀀⋚︀s;檓ʀadegs☳☹☽♉♋pproøⓆot;拖qĀgq♃♅ôউgtò⒌ôছiíলƀilr♕࣡♚sht;楼;쀀𝔩Ā;Eজ♣;檑š♩♶rĀdu▲♮Ā;l॥♳;楪lk;斄cy;䑙ʀ;achtੈ⚈⚋⚑⚖rò◁orneòᴈard;楫ri;旺Āio⚟⚤dot;䅀ustĀ;a⚬⚭掰che»⚭ȀEaes⚻⚽⛉⛔;扨pĀ;p⛃⛄檉rox»⛄Ā;q⛎⛏檇Ā;q⛎⚻im;拦Ѐabnoptwz⛩⛴⛷✚✯❁❇❐Ānr⛮⛱g;柬r;懽rëࣁgƀlmr⛿✍✔eftĀar০✇ightá৲apsto;柼ightá৽parrowĀlr✥✩efô⓭ight;憬ƀafl✶✹✽r;榅;쀀𝕝us;樭imes;樴š❋❏st;戗áፎƀ;ef❗❘᠀旊nge»❘arĀ;l❤❥䀨t;榓ʀachmt❳❶❼➅➇ròࢨorneòᶌarĀ;d྘➃;業;怎ri;抿̀achiqt➘➝ੀ➢➮➻quo;怹r;쀀𝓁mƀ;egল➪➬;檍;檏Ābu┪➳oĀ;rฟ➹;怚rok;䅂萀<;cdhilqrࠫ⟒☹⟜⟠⟥⟪⟰Āci⟗⟙;檦r;橹reå◲mes;拉arr;楶uest;橻ĀPi⟵⟹ar;榖ƀ;ef⠀भ᠛旃rĀdu⠇⠍shar;楊har;楦Āen⠗⠡rtneqq;쀀≨︀Å⠞܀Dacdefhilnopsu⡀⡅⢂⢎⢓⢠⢥⢨⣚⣢⣤ઃ⣳⤂Dot;戺Ȁclpr⡎⡒⡣⡽r耻¯䂯Āet⡗⡙;時Ā;e⡞⡟朠se»⡟Ā;sျ⡨toȀ;dluျ⡳⡷⡻owîҌefôएðᏑker;斮Āoy⢇⢌mma;権;䐼ash;怔asuredangle»ᘦr;쀀𝔪o;愧ƀcdn⢯⢴⣉ro耻µ䂵Ȁ;acdᑤ⢽⣀⣄sôᚧir;櫰ot肻·Ƶusƀ;bd⣒ᤃ⣓戒Ā;uᴼ⣘;横ţ⣞⣡p;櫛ò−ðઁĀdp⣩⣮els;抧f;쀀𝕞Āct⣸⣽r;쀀𝓂pos»ᖝƀ;lm⤉⤊⤍䎼timap;抸ఀGLRVabcdefghijlmoprstuvw⥂⥓⥾⦉⦘⧚⧩⨕⨚⩘⩝⪃⪕⪤⪨⬄⬇⭄⭿⮮ⰴⱧⱼ⳩Āgt⥇⥋;쀀⋙̸Ā;v⥐௏쀀≫⃒ƀelt⥚⥲⥶ftĀar⥡⥧rrow;懍ightarrow;懎;쀀⋘̸Ā;v⥻ే쀀≪⃒ightarrow;懏ĀDd⦎⦓ash;抯ash;抮ʀbcnpt⦣⦧⦬⦱⧌la»˞ute;䅄g;쀀∠⃒ʀ;Eiop඄⦼⧀⧅⧈;쀀⩰̸d;쀀≋̸s;䅉roø඄urĀ;a⧓⧔普lĀ;s⧓ସdz⧟\0⧣p肻 ଷmpĀ;e௹ఀʀaeouy⧴⧾⨃⨐⨓ǰ⧹\0⧻;橃on;䅈dil;䅆ngĀ;dൾ⨊ot;쀀⩭̸p;橂;䐽ash;怓΀;Aadqsxஒ⨩⨭⨻⩁⩅⩐rr;懗rĀhr⨳⨶k;椤Ā;oᏲᏰot;쀀≐̸uiöୣĀei⩊⩎ar;椨í஘istĀ;s஠டr;쀀𝔫ȀEest௅⩦⩹⩼ƀ;qs஼⩭௡ƀ;qs஼௅⩴lanô௢ií௪Ā;rஶ⪁»ஷƀAap⪊⪍⪑rò⥱rr;憮ar;櫲ƀ;svྍ⪜ྌĀ;d⪡⪢拼;拺cy;䑚΀AEadest⪷⪺⪾⫂⫅⫶⫹rò⥦;쀀≦̸rr;憚r;急Ȁ;fqs఻⫎⫣⫯tĀar⫔⫙rro÷⫁ightarro÷⪐ƀ;qs఻⪺⫪lanôౕĀ;sౕ⫴»శiíౝĀ;rవ⫾iĀ;eచథiäඐĀpt⬌⬑f;쀀𝕟膀¬;in⬙⬚⬶䂬nȀ;Edvஉ⬤⬨⬮;쀀⋹̸ot;쀀⋵̸ǡஉ⬳⬵;拷;拶iĀ;vಸ⬼ǡಸ⭁⭃;拾;拽ƀaor⭋⭣⭩rȀ;ast୻⭕⭚⭟lleì୻l;쀀⫽⃥;쀀∂̸lint;樔ƀ;ceಒ⭰⭳uåಥĀ;cಘ⭸Ā;eಒ⭽ñಘȀAait⮈⮋⮝⮧rò⦈rrƀ;cw⮔⮕⮙憛;쀀⤳̸;쀀↝̸ghtarrow»⮕riĀ;eೋೖ΀chimpqu⮽⯍⯙⬄୸⯤⯯Ȁ;cerല⯆ഷ⯉uå൅;쀀𝓃ortɭ⬅\0\0⯖ará⭖mĀ;e൮⯟Ā;q൴൳suĀbp⯫⯭å೸åഋƀbcp⯶ⰑⰙȀ;Ees⯿ⰀഢⰄ抄;쀀⫅̸etĀ;eഛⰋqĀ;qണⰀcĀ;eലⰗñസȀ;EesⰢⰣൟⰧ抅;쀀⫆̸etĀ;e൘ⰮqĀ;qൠⰣȀgilrⰽⰿⱅⱇìௗlde耻ñ䃱çృiangleĀlrⱒⱜeftĀ;eచⱚñదightĀ;eೋⱥñ೗Ā;mⱬⱭ䎽ƀ;esⱴⱵⱹ䀣ro;愖p;怇ҀDHadgilrsⲏⲔⲙⲞⲣⲰⲶⳓⳣash;抭arr;椄p;쀀≍⃒ash;抬ĀetⲨⲬ;쀀≥⃒;쀀>⃒nfin;槞ƀAetⲽⳁⳅrr;椂;쀀≤⃒Ā;rⳊⳍ쀀<⃒ie;쀀⊴⃒ĀAtⳘⳜrr;椃rie;쀀⊵⃒im;쀀∼⃒ƀAan⳰⳴ⴂrr;懖rĀhr⳺⳽k;椣Ā;oᏧᏥear;椧ቓ᪕\0\0\0\0\0\0\0\0\0\0\0\0\0ⴭ\0ⴸⵈⵠⵥ⵲ⶄᬇ\0\0ⶍⶫ\0ⷈⷎ\0ⷜ⸙⸫⸾⹃Ācsⴱ᪗ute耻ó䃳ĀiyⴼⵅrĀ;c᪞ⵂ耻ô䃴;䐾ʀabios᪠ⵒⵗLjⵚlac;䅑v;樸old;榼lig;䅓Ācr⵩⵭ir;榿;쀀𝔬ͯ⵹\0\0⵼\0ⶂn;䋛ave耻ò䃲;槁Ābmⶈ෴ar;榵Ȁacitⶕ⶘ⶥⶨrò᪀Āir⶝ⶠr;榾oss;榻nå๒;槀ƀaeiⶱⶵⶹcr;䅍ga;䏉ƀcdnⷀⷅǍron;䎿;榶pf;쀀𝕠ƀaelⷔ⷗ǒr;榷rp;榹΀;adiosvⷪⷫⷮ⸈⸍⸐⸖戨rò᪆Ȁ;efmⷷⷸ⸂⸅橝rĀ;oⷾⷿ愴f»ⷿ耻ª䂪耻º䂺gof;抶r;橖lope;橗;橛ƀclo⸟⸡⸧ò⸁ash耻ø䃸l;折iŬⸯ⸴de耻õ䃵esĀ;aǛ⸺s;樶ml耻ö䃶bar;挽ૡ⹞\0⹽\0⺀⺝\0⺢⺹\0\0⻋ຜ\0⼓\0\0⼫⾼\0⿈rȀ;astЃ⹧⹲຅脀¶;l⹭⹮䂶leìЃɩ⹸\0\0⹻m;櫳;櫽y;䐿rʀcimpt⺋⺏⺓ᡥ⺗nt;䀥od;䀮il;怰enk;怱r;쀀𝔭ƀimo⺨⺰⺴Ā;v⺭⺮䏆;䏕maô੶ne;明ƀ;tv⺿⻀⻈䏀chfork»´;䏖Āau⻏⻟nĀck⻕⻝kĀ;h⇴⻛;愎ö⇴sҀ;abcdemst⻳⻴ᤈ⻹⻽⼄⼆⼊⼎䀫cir;樣ir;樢Āouᵀ⼂;樥;橲n肻±ຝim;樦wo;樧ƀipu⼙⼠⼥ntint;樕f;쀀𝕡nd耻£䂣Ԁ;Eaceinosu່⼿⽁⽄⽇⾁⾉⾒⽾⾶;檳p;檷uå໙Ā;c໎⽌̀;acens່⽙⽟⽦⽨⽾pproø⽃urlyeñ໙ñ໎ƀaes⽯⽶⽺pprox;檹qq;檵im;拨iíໟmeĀ;s⾈ຮ怲ƀEas⽸⾐⽺ð⽵ƀdfp໬⾙⾯ƀals⾠⾥⾪lar;挮ine;挒urf;挓Ā;t໻⾴ï໻rel;抰Āci⿀⿅r;쀀𝓅;䏈ncsp;怈̀fiopsu⿚⋢⿟⿥⿫⿱r;쀀𝔮pf;쀀𝕢rime;恗cr;쀀𝓆ƀaeo⿸〉〓tĀei⿾々rnionóڰnt;樖stĀ;e【】䀿ñἙô༔઀ABHabcdefhilmnoprstux぀けさすムㄎㄫㅇㅢㅲㆎ㈆㈕㈤㈩㉘㉮㉲㊐㊰㊷ƀartぇおがròႳòϝail;検aròᱥar;楤΀cdenqrtとふへみわゔヌĀeuねぱ;쀀∽̱te;䅕iãᅮmptyv;榳gȀ;del࿑らるろ;榒;榥å࿑uo耻»䂻rր;abcfhlpstw࿜ガクシスゼゾダッデナp;極Ā;f࿠ゴs;椠;椳s;椞ë≝ð✮l;楅im;楴l;憣;憝Āaiパフil;椚oĀ;nホボ戶aló༞ƀabrョリヮrò៥rk;杳ĀakンヽcĀekヹ・;䁽;䁝Āes㄂㄄;榌lĀduㄊㄌ;榎;榐Ȁaeuyㄗㄜㄧㄩron;䅙Ādiㄡㄥil;䅗ì࿲âヺ;䑀Ȁclqsㄴㄷㄽㅄa;椷dhar;楩uoĀ;rȎȍh;憳ƀacgㅎㅟངlȀ;ipsླྀㅘㅛႜnåႻarôྩt;断ƀilrㅩဣㅮsht;楽;쀀𝔯ĀaoㅷㆆrĀduㅽㅿ»ѻĀ;l႑ㆄ;楬Ā;vㆋㆌ䏁;䏱ƀgns㆕ㇹㇼht̀ahlrstㆤㆰ㇂㇘㇤㇮rrowĀ;t࿜ㆭaéトarpoonĀduㆻㆿowîㅾp»႒eftĀah㇊㇐rrowó࿪arpoonóՑightarrows;應quigarro÷ニhreetimes;拌g;䋚ingdotseñἲƀahm㈍㈐㈓rò࿪aòՑ;怏oustĀ;a㈞㈟掱che»㈟mid;櫮Ȁabpt㈲㈽㉀㉒Ānr㈷㈺g;柭r;懾rëဃƀafl㉇㉊㉎r;榆;쀀𝕣us;樮imes;樵Āap㉝㉧rĀ;g㉣㉤䀩t;榔olint;樒arò㇣Ȁachq㉻㊀Ⴜ㊅quo;怺r;쀀𝓇Ābu・㊊oĀ;rȔȓƀhir㊗㊛㊠reåㇸmes;拊iȀ;efl㊪ၙᠡ㊫方tri;槎luhar;楨;愞ൡ㋕㋛㋟㌬㌸㍱\0㍺㎤\0\0㏬㏰\0㐨㑈㑚㒭㒱㓊㓱\0㘖\0\0㘳cute;䅛quï➺Ԁ;Eaceinpsyᇭ㋳㋵㋿㌂㌋㌏㌟㌦㌩;檴ǰ㋺\0㋼;檸on;䅡uåᇾĀ;dᇳ㌇il;䅟rc;䅝ƀEas㌖㌘㌛;檶p;檺im;择olint;樓iíሄ;䑁otƀ;be㌴ᵇ㌵担;橦΀Aacmstx㍆㍊㍗㍛㍞㍣㍭rr;懘rĀhr㍐㍒ë∨Ā;oਸ਼਴t耻§䂧i;䀻war;椩mĀin㍩ðnuóñt;朶rĀ;o㍶⁕쀀𝔰Ȁacoy㎂㎆㎑㎠rp;景Āhy㎋㎏cy;䑉;䑈rtɭ㎙\0\0㎜iäᑤaraì⹯耻­䂭Āgm㎨㎴maƀ;fv㎱㎲㎲䏃;䏂Ѐ;deglnprካ㏅㏉㏎㏖㏞㏡㏦ot;橪Ā;q኱ኰĀ;E㏓㏔檞;檠Ā;E㏛㏜檝;檟e;扆lus;樤arr;楲aròᄽȀaeit㏸㐈㐏㐗Āls㏽㐄lsetmé㍪hp;樳parsl;槤Ādlᑣ㐔e;挣Ā;e㐜㐝檪Ā;s㐢㐣檬;쀀⪬︀ƀflp㐮㐳㑂tcy;䑌Ā;b㐸㐹䀯Ā;a㐾㐿槄r;挿f;쀀𝕤aĀdr㑍ЂesĀ;u㑔㑕晠it»㑕ƀcsu㑠㑹㒟Āau㑥㑯pĀ;sᆈ㑫;쀀⊓︀pĀ;sᆴ㑵;쀀⊔︀uĀbp㑿㒏ƀ;esᆗᆜ㒆etĀ;eᆗ㒍ñᆝƀ;esᆨᆭ㒖etĀ;eᆨ㒝ñᆮƀ;afᅻ㒦ְrť㒫ֱ»ᅼaròᅈȀcemt㒹㒾㓂㓅r;쀀𝓈tmîñiì㐕aræᆾĀar㓎㓕rĀ;f㓔ឿ昆Āan㓚㓭ightĀep㓣㓪psiloîỠhé⺯s»⡒ʀbcmnp㓻㕞ሉ㖋㖎Ҁ;Edemnprs㔎㔏㔑㔕㔞㔣㔬㔱㔶抂;櫅ot;檽Ā;dᇚ㔚ot;櫃ult;櫁ĀEe㔨㔪;櫋;把lus;檿arr;楹ƀeiu㔽㕒㕕tƀ;en㔎㕅㕋qĀ;qᇚ㔏eqĀ;q㔫㔨m;櫇Ābp㕚㕜;櫕;櫓c̀;acensᇭ㕬㕲㕹㕻㌦pproø㋺urlyeñᇾñᇳƀaes㖂㖈㌛pproø㌚qñ㌗g;晪ڀ123;Edehlmnps㖩㖬㖯ሜ㖲㖴㗀㗉㗕㗚㗟㗨㗭耻¹䂹耻²䂲耻³䂳;櫆Āos㖹㖼t;檾ub;櫘Ā;dሢ㗅ot;櫄sĀou㗏㗒l;柉b;櫗arr;楻ult;櫂ĀEe㗤㗦;櫌;抋lus;櫀ƀeiu㗴㘉㘌tƀ;enሜ㗼㘂qĀ;qሢ㖲eqĀ;q㗧㗤m;櫈Ābp㘑㘓;櫔;櫖ƀAan㘜㘠㘭rr;懙rĀhr㘦㘨ë∮Ā;oਫ਩war;椪lig耻ß䃟௡㙑㙝㙠ዎ㙳㙹\0㙾㛂\0\0\0\0\0㛛㜃\0㜉㝬\0\0\0㞇ɲ㙖\0\0㙛get;挖;䏄rë๟ƀaey㙦㙫㙰ron;䅥dil;䅣;䑂lrec;挕r;쀀𝔱Ȁeiko㚆㚝㚵㚼Dz㚋\0㚑eĀ4fኄኁaƀ;sv㚘㚙㚛䎸ym;䏑Ācn㚢㚲kĀas㚨㚮pproø዁im»ኬsðኞĀas㚺㚮ð዁rn耻þ䃾Ǭ̟㛆⋧es膀×;bd㛏㛐㛘䃗Ā;aᤏ㛕r;樱;樰ƀeps㛡㛣㜀á⩍Ȁ;bcf҆㛬㛰㛴ot;挶ir;櫱Ā;o㛹㛼쀀𝕥rk;櫚á㍢rime;怴ƀaip㜏㜒㝤dåቈ΀adempst㜡㝍㝀㝑㝗㝜㝟ngleʀ;dlqr㜰㜱㜶㝀㝂斵own»ᶻeftĀ;e⠀㜾ñम;扜ightĀ;e㊪㝋ñၚot;旬inus;樺lus;樹b;槍ime;樻ezium;揢ƀcht㝲㝽㞁Āry㝷㝻;쀀𝓉;䑆cy;䑛rok;䅧Āio㞋㞎xô᝷headĀlr㞗㞠eftarro÷ࡏightarrow»ཝऀAHabcdfghlmoprstuw㟐㟓㟗㟤㟰㟼㠎㠜㠣㠴㡑㡝㡫㢩㣌㣒㣪㣶ròϭar;楣Ācr㟜㟢ute耻ú䃺òᅐrǣ㟪\0㟭y;䑞ve;䅭Āiy㟵㟺rc耻û䃻;䑃ƀabh㠃㠆㠋ròᎭlac;䅱aòᏃĀir㠓㠘sht;楾;쀀𝔲rave耻ù䃹š㠧㠱rĀlr㠬㠮»ॗ»ႃlk;斀Āct㠹㡍ɯ㠿\0\0㡊rnĀ;e㡅㡆挜r»㡆op;挏ri;旸Āal㡖㡚cr;䅫肻¨͉Āgp㡢㡦on;䅳f;쀀𝕦̀adhlsuᅋ㡸㡽፲㢑㢠ownáᎳarpoonĀlr㢈㢌efô㠭ighô㠯iƀ;hl㢙㢚㢜䏅»ᏺon»㢚parrows;懈ƀcit㢰㣄㣈ɯ㢶\0\0㣁rnĀ;e㢼㢽挝r»㢽op;挎ng;䅯ri;旹cr;쀀𝓊ƀdir㣙㣝㣢ot;拰lde;䅩iĀ;f㜰㣨»᠓Āam㣯㣲rò㢨l耻ü䃼angle;榧ހABDacdeflnoprsz㤜㤟㤩㤭㦵㦸㦽㧟㧤㧨㧳㧹㧽㨁㨠ròϷarĀ;v㤦㤧櫨;櫩asèϡĀnr㤲㤷grt;榜΀eknprst㓣㥆㥋㥒㥝㥤㦖appá␕othinçẖƀhir㓫⻈㥙opô⾵Ā;hᎷ㥢ïㆍĀiu㥩㥭gmá㎳Ābp㥲㦄setneqĀ;q㥽㦀쀀⊊︀;쀀⫋︀setneqĀ;q㦏㦒쀀⊋︀;쀀⫌︀Āhr㦛㦟etá㚜iangleĀlr㦪㦯eft»थight»ၑy;䐲ash»ံƀelr㧄㧒㧗ƀ;beⷪ㧋㧏ar;抻q;扚lip;拮Ābt㧜ᑨaòᑩr;쀀𝔳tré㦮suĀbp㧯㧱»ജ»൙pf;쀀𝕧roð໻tré㦴Ācu㨆㨋r;쀀𝓋Ābp㨐㨘nĀEe㦀㨖»㥾nĀEe㦒㨞»㦐igzag;榚΀cefoprs㨶㨻㩖㩛㩔㩡㩪irc;䅵Ādi㩀㩑Ābg㩅㩉ar;機eĀ;qᗺ㩏;扙erp;愘r;쀀𝔴pf;쀀𝕨Ā;eᑹ㩦atèᑹcr;쀀𝓌ૣណ㪇\0㪋\0㪐㪛\0\0㪝㪨㪫㪯\0\0㫃㫎\0㫘ៜ៟tré៑r;쀀𝔵ĀAa㪔㪗ròσrò৶;䎾ĀAa㪡㪤ròθrò৫að✓is;拻ƀdptឤ㪵㪾Āfl㪺ឩ;쀀𝕩imåឲĀAa㫇㫊ròώròਁĀcq㫒ីr;쀀𝓍Āpt៖㫜ré។Ѐacefiosu㫰㫽㬈㬌㬑㬕㬛㬡cĀuy㫶㫻te耻ý䃽;䑏Āiy㬂㬆rc;䅷;䑋n耻¥䂥r;쀀𝔶cy;䑗pf;쀀𝕪cr;쀀𝓎Ācm㬦㬩y;䑎l耻ÿ䃿Ԁacdefhiosw㭂㭈㭔㭘㭤㭩㭭㭴㭺㮀cute;䅺Āay㭍㭒ron;䅾;䐷ot;䅼Āet㭝㭡træᕟa;䎶r;쀀𝔷cy;䐶grarr;懝pf;쀀𝕫cr;쀀𝓏Ājn㮅㮇;怍j;怌' .split("") .map((e) => e.charCodeAt(0)), ), - tE = new Uint16Array( + Yb = new Uint16Array( "Ȁaglq\tɭ\0\0p;䀦os;䀧t;䀾t;䀼uot;䀢".split("").map((e) => e.charCodeAt(0)), ); -const nE = new Map([ +const Kb = new Map([ [0, 65533], [128, 8364], [130, 8218], @@ -27898,9 +27852,9 @@ const nE = new Map([ [158, 382], [159, 376], ]), - aE = - null !== (Jb = String.fromCodePoint) && void 0 !== Jb - ? Jb + Xb = + null !== (Wb = String.fromCodePoint) && void 0 !== Wb + ? Wb : function (e) { let t = ""; return ( @@ -27912,7 +27866,7 @@ const nE = new Map([ t ); }; -var rE; +var Qb; !(function (e) { ((e[(e.NUM = 35)] = "NUM"), (e[(e.SEMI = 59)] = "SEMI"), @@ -27926,19 +27880,19 @@ var rE; (e[(e.UPPER_A = 65)] = "UPPER_A"), (e[(e.UPPER_F = 70)] = "UPPER_F"), (e[(e.UPPER_Z = 90)] = "UPPER_Z")); -})(rE || (rE = {})); -var iE, oE, sE, lE, cE, dE, uE, pE; -function hE(e) { - return e >= rE.ZERO && e <= rE.NINE; +})(Qb || (Qb = {})); +var Jb, eE, tE, nE, aE, rE, iE, oE; +function sE(e) { + return e >= Qb.ZERO && e <= Qb.NINE; } -function mE(e) { +function lE(e) { return ( - e === rE.EQUALS || + e === Qb.EQUALS || (function (e) { return ( - (e >= rE.UPPER_A && e <= rE.UPPER_Z) || - (e >= rE.LOWER_A && e <= rE.LOWER_Z) || - hE(e) + (e >= Qb.UPPER_A && e <= Qb.UPPER_Z) || + (e >= Qb.LOWER_A && e <= Qb.LOWER_Z) || + sE(e) ); })(e) ); @@ -27947,34 +27901,34 @@ function mE(e) { ((e[(e.VALUE_LENGTH = 49152)] = "VALUE_LENGTH"), (e[(e.BRANCH_LENGTH = 16256)] = "BRANCH_LENGTH"), (e[(e.JUMP_TABLE = 127)] = "JUMP_TABLE")); -})(iE || (iE = {})), +})(Jb || (Jb = {})), (function (e) { ((e[(e.EntityStart = 0)] = "EntityStart"), (e[(e.NumericStart = 1)] = "NumericStart"), (e[(e.NumericDecimal = 2)] = "NumericDecimal"), (e[(e.NumericHex = 3)] = "NumericHex"), (e[(e.NamedEntity = 4)] = "NamedEntity")); - })(oE || (oE = {})), + })(eE || (eE = {})), (function (e) { ((e[(e.Legacy = 0)] = "Legacy"), (e[(e.Strict = 1)] = "Strict"), (e[(e.Attribute = 2)] = "Attribute")); - })(sE || (sE = {}))); -class gE { + })(tE || (tE = {}))); +class cE { constructor(e, t, n) { ((this.decodeTree = e), (this.emitCodePoint = t), (this.errors = n), - (this.state = oE.EntityStart), + (this.state = eE.EntityStart), (this.consumed = 1), (this.result = 0), (this.treeIndex = 0), (this.excess = 1), - (this.decodeMode = sE.Strict)); + (this.decodeMode = tE.Strict)); } startEntity(e) { ((this.decodeMode = e), - (this.state = oE.EntityStart), + (this.state = eE.EntityStart), (this.result = 0), (this.treeIndex = 0), (this.excess = 1), @@ -27982,30 +27936,30 @@ class gE { } write(e, t) { switch (this.state) { - case oE.EntityStart: - return e.charCodeAt(t) === rE.NUM - ? ((this.state = oE.NumericStart), + case eE.EntityStart: + return e.charCodeAt(t) === Qb.NUM + ? ((this.state = eE.NumericStart), (this.consumed += 1), this.stateNumericStart(e, t + 1)) - : ((this.state = oE.NamedEntity), this.stateNamedEntity(e, t)); - case oE.NumericStart: + : ((this.state = eE.NamedEntity), this.stateNamedEntity(e, t)); + case eE.NumericStart: return this.stateNumericStart(e, t); - case oE.NumericDecimal: + case eE.NumericDecimal: return this.stateNumericDecimal(e, t); - case oE.NumericHex: + case eE.NumericHex: return this.stateNumericHex(e, t); - case oE.NamedEntity: + case eE.NamedEntity: return this.stateNamedEntity(e, t); } } stateNumericStart(e, t) { return t >= e.length ? -1 - : (32 | e.charCodeAt(t)) === rE.LOWER_X - ? ((this.state = oE.NumericHex), + : (32 | e.charCodeAt(t)) === Qb.LOWER_X + ? ((this.state = eE.NumericHex), (this.consumed += 1), this.stateNumericHex(e, t + 1)) - : ((this.state = oE.NumericDecimal), this.stateNumericDecimal(e, t)); + : ((this.state = eE.NumericDecimal), this.stateNumericDecimal(e, t)); } addToNumericResult(e, t, n, a) { if (t !== n) { @@ -28021,10 +27975,10 @@ class gE { const r = e.charCodeAt(t); if ( !( - hE(r) || + sE(r) || ((a = r), - (a >= rE.UPPER_A && a <= rE.UPPER_F) || - (a >= rE.LOWER_A && a <= rE.LOWER_F)) + (a >= Qb.UPPER_A && a <= Qb.UPPER_F) || + (a >= Qb.LOWER_A && a <= Qb.LOWER_F)) ) ) return ( @@ -28040,7 +27994,7 @@ class gE { const n = t; for (; t < e.length; ) { const a = e.charCodeAt(t); - if (!hE(a)) + if (!sE(a)) return ( this.addToNumericResult(e, n, t, 10), this.emitNumericEntity(a, 2) @@ -28058,22 +28012,22 @@ class gE { n.absenceOfDigitsInNumericCharacterReference(this.consumed), 0 ); - if (e === rE.SEMI) this.consumed += 1; - else if (this.decodeMode === sE.Strict) return 0; + if (e === Qb.SEMI) this.consumed += 1; + else if (this.decodeMode === tE.Strict) return 0; return ( this.emitCodePoint( (function (e) { var t; return (e >= 55296 && e <= 57343) || e > 1114111 ? 65533 - : null !== (t = nE.get(e)) && void 0 !== t + : null !== (t = Kb.get(e)) && void 0 !== t ? t : e; })(this.result), this.consumed, ), this.errors && - (e !== rE.SEMI && this.errors.missingSemicolonAfterCharacterReference(), + (e !== Qb.SEMI && this.errors.missingSemicolonAfterCharacterReference(), this.errors.validateNumericCharacterReference(this.result)), this.consumed ); @@ -28081,27 +28035,27 @@ class gE { stateNamedEntity(e, t) { const { decodeTree: n } = this; let a = n[this.treeIndex], - r = (a & iE.VALUE_LENGTH) >> 14; + r = (a & Jb.VALUE_LENGTH) >> 14; for (; t < e.length; t++, this.excess++) { const i = e.charCodeAt(t); if ( - ((this.treeIndex = bE(n, a, this.treeIndex + Math.max(1, r), i)), + ((this.treeIndex = uE(n, a, this.treeIndex + Math.max(1, r), i)), this.treeIndex < 0) ) return 0 === this.result || - (this.decodeMode === sE.Attribute && (0 === r || mE(i))) + (this.decodeMode === tE.Attribute && (0 === r || lE(i))) ? 0 : this.emitNotTerminatedNamedEntity(); if ( - ((a = n[this.treeIndex]), (r = (a & iE.VALUE_LENGTH) >> 14), 0 !== r) + ((a = n[this.treeIndex]), (r = (a & Jb.VALUE_LENGTH) >> 14), 0 !== r) ) { - if (i === rE.SEMI) + if (i === Qb.SEMI) return this.emitNamedEntityData( this.treeIndex, r, this.consumed + this.excess, ); - this.decodeMode !== sE.Strict && + this.decodeMode !== tE.Strict && ((this.result = this.treeIndex), (this.consumed += this.excess), (this.excess = 0)); @@ -28112,7 +28066,7 @@ class gE { emitNotTerminatedNamedEntity() { var e; const { result: t, decodeTree: n } = this, - a = (n[t] & iE.VALUE_LENGTH) >> 14; + a = (n[t] & Jb.VALUE_LENGTH) >> 14; return ( this.emitNamedEntityData(t, a, this.consumed), null === (e = this.errors) || @@ -28124,7 +28078,7 @@ class gE { emitNamedEntityData(e, t, n) { const { decodeTree: a } = this; return ( - this.emitCodePoint(1 === t ? a[e] & ~iE.VALUE_LENGTH : a[e + 1], n), + this.emitCodePoint(1 === t ? a[e] & ~Jb.VALUE_LENGTH : a[e + 1], n), 3 === t && this.emitCodePoint(a[e + 2], n), n ); @@ -28132,30 +28086,30 @@ class gE { end() { var e; switch (this.state) { - case oE.NamedEntity: + case eE.NamedEntity: return 0 === this.result || - (this.decodeMode === sE.Attribute && this.result !== this.treeIndex) + (this.decodeMode === tE.Attribute && this.result !== this.treeIndex) ? 0 : this.emitNotTerminatedNamedEntity(); - case oE.NumericDecimal: + case eE.NumericDecimal: return this.emitNumericEntity(0, 2); - case oE.NumericHex: + case eE.NumericHex: return this.emitNumericEntity(0, 3); - case oE.NumericStart: + case eE.NumericStart: return ( null === (e = this.errors) || void 0 === e || e.absenceOfDigitsInNumericCharacterReference(this.consumed), 0 ); - case oE.EntityStart: + case eE.EntityStart: return 0; } } } -function fE(e) { +function dE(e) { let t = ""; - const n = new gE(e, (e) => (t += aE(e))); + const n = new cE(e, (e) => (t += Xb(e))); return function (e, a) { let r = 0, i = 0; @@ -28172,9 +28126,9 @@ function fE(e) { return ((t = ""), o); }; } -function bE(e, t, n, a) { - const r = (t & iE.BRANCH_LENGTH) >> 7, - i = t & iE.JUMP_TABLE; +function uE(e, t, n, a) { + const r = (t & Jb.BRANCH_LENGTH) >> 7, + i = t & Jb.JUMP_TABLE; if (0 === r) return 0 !== i && a === i ? n : -1; if (i) { const t = a - i; @@ -28193,8 +28147,8 @@ function bE(e, t, n, a) { } return -1; } -(fE(eE), - fE(tE), +(dE(qb), + dE(Yb), (function (e) { ((e.HTML = "http://www.w3.org/1999/xhtml"), (e.MATHML = "http://www.w3.org/1998/Math/MathML"), @@ -28202,7 +28156,7 @@ function bE(e, t, n, a) { (e.XLINK = "http://www.w3.org/1999/xlink"), (e.XML = "http://www.w3.org/XML/1998/namespace"), (e.XMLNS = "http://www.w3.org/2000/xmlns/")); - })(lE || (lE = {})), + })(nE || (nE = {})), (function (e) { ((e.TYPE = "type"), (e.ACTION = "action"), @@ -28212,12 +28166,12 @@ function bE(e, t, n, a) { (e.COLOR = "color"), (e.FACE = "face"), (e.SIZE = "size")); - })(cE || (cE = {})), + })(aE || (aE = {})), (function (e) { ((e.NO_QUIRKS = "no-quirks"), (e.QUIRKS = "quirks"), (e.LIMITED_QUIRKS = "limited-quirks")); - })(dE || (dE = {})), + })(rE || (rE = {})), (function (e) { ((e.A = "a"), (e.ADDRESS = "address"), @@ -28342,7 +28296,7 @@ function bE(e, t, n, a) { (e.VAR = "var"), (e.WBR = "wbr"), (e.XMP = "xmp")); - })(uE || (uE = {})), + })(iE || (iE = {})), (function (e) { ((e[(e.UNKNOWN = 0)] = "UNKNOWN"), (e[(e.A = 1)] = "A"), @@ -28468,244 +28422,244 @@ function bE(e, t, n, a) { (e[(e.VAR = 121)] = "VAR"), (e[(e.WBR = 122)] = "WBR"), (e[(e.XMP = 123)] = "XMP")); - })(pE || (pE = {}))); -const EE = new Map([ - [uE.A, pE.A], - [uE.ADDRESS, pE.ADDRESS], - [uE.ANNOTATION_XML, pE.ANNOTATION_XML], - [uE.APPLET, pE.APPLET], - [uE.AREA, pE.AREA], - [uE.ARTICLE, pE.ARTICLE], - [uE.ASIDE, pE.ASIDE], - [uE.B, pE.B], - [uE.BASE, pE.BASE], - [uE.BASEFONT, pE.BASEFONT], - [uE.BGSOUND, pE.BGSOUND], - [uE.BIG, pE.BIG], - [uE.BLOCKQUOTE, pE.BLOCKQUOTE], - [uE.BODY, pE.BODY], - [uE.BR, pE.BR], - [uE.BUTTON, pE.BUTTON], - [uE.CAPTION, pE.CAPTION], - [uE.CENTER, pE.CENTER], - [uE.CODE, pE.CODE], - [uE.COL, pE.COL], - [uE.COLGROUP, pE.COLGROUP], - [uE.DD, pE.DD], - [uE.DESC, pE.DESC], - [uE.DETAILS, pE.DETAILS], - [uE.DIALOG, pE.DIALOG], - [uE.DIR, pE.DIR], - [uE.DIV, pE.DIV], - [uE.DL, pE.DL], - [uE.DT, pE.DT], - [uE.EM, pE.EM], - [uE.EMBED, pE.EMBED], - [uE.FIELDSET, pE.FIELDSET], - [uE.FIGCAPTION, pE.FIGCAPTION], - [uE.FIGURE, pE.FIGURE], - [uE.FONT, pE.FONT], - [uE.FOOTER, pE.FOOTER], - [uE.FOREIGN_OBJECT, pE.FOREIGN_OBJECT], - [uE.FORM, pE.FORM], - [uE.FRAME, pE.FRAME], - [uE.FRAMESET, pE.FRAMESET], - [uE.H1, pE.H1], - [uE.H2, pE.H2], - [uE.H3, pE.H3], - [uE.H4, pE.H4], - [uE.H5, pE.H5], - [uE.H6, pE.H6], - [uE.HEAD, pE.HEAD], - [uE.HEADER, pE.HEADER], - [uE.HGROUP, pE.HGROUP], - [uE.HR, pE.HR], - [uE.HTML, pE.HTML], - [uE.I, pE.I], - [uE.IMG, pE.IMG], - [uE.IMAGE, pE.IMAGE], - [uE.INPUT, pE.INPUT], - [uE.IFRAME, pE.IFRAME], - [uE.KEYGEN, pE.KEYGEN], - [uE.LABEL, pE.LABEL], - [uE.LI, pE.LI], - [uE.LINK, pE.LINK], - [uE.LISTING, pE.LISTING], - [uE.MAIN, pE.MAIN], - [uE.MALIGNMARK, pE.MALIGNMARK], - [uE.MARQUEE, pE.MARQUEE], - [uE.MATH, pE.MATH], - [uE.MENU, pE.MENU], - [uE.META, pE.META], - [uE.MGLYPH, pE.MGLYPH], - [uE.MI, pE.MI], - [uE.MO, pE.MO], - [uE.MN, pE.MN], - [uE.MS, pE.MS], - [uE.MTEXT, pE.MTEXT], - [uE.NAV, pE.NAV], - [uE.NOBR, pE.NOBR], - [uE.NOFRAMES, pE.NOFRAMES], - [uE.NOEMBED, pE.NOEMBED], - [uE.NOSCRIPT, pE.NOSCRIPT], - [uE.OBJECT, pE.OBJECT], - [uE.OL, pE.OL], - [uE.OPTGROUP, pE.OPTGROUP], - [uE.OPTION, pE.OPTION], - [uE.P, pE.P], - [uE.PARAM, pE.PARAM], - [uE.PLAINTEXT, pE.PLAINTEXT], - [uE.PRE, pE.PRE], - [uE.RB, pE.RB], - [uE.RP, pE.RP], - [uE.RT, pE.RT], - [uE.RTC, pE.RTC], - [uE.RUBY, pE.RUBY], - [uE.S, pE.S], - [uE.SCRIPT, pE.SCRIPT], - [uE.SEARCH, pE.SEARCH], - [uE.SECTION, pE.SECTION], - [uE.SELECT, pE.SELECT], - [uE.SOURCE, pE.SOURCE], - [uE.SMALL, pE.SMALL], - [uE.SPAN, pE.SPAN], - [uE.STRIKE, pE.STRIKE], - [uE.STRONG, pE.STRONG], - [uE.STYLE, pE.STYLE], - [uE.SUB, pE.SUB], - [uE.SUMMARY, pE.SUMMARY], - [uE.SUP, pE.SUP], - [uE.TABLE, pE.TABLE], - [uE.TBODY, pE.TBODY], - [uE.TEMPLATE, pE.TEMPLATE], - [uE.TEXTAREA, pE.TEXTAREA], - [uE.TFOOT, pE.TFOOT], - [uE.TD, pE.TD], - [uE.TH, pE.TH], - [uE.THEAD, pE.THEAD], - [uE.TITLE, pE.TITLE], - [uE.TR, pE.TR], - [uE.TRACK, pE.TRACK], - [uE.TT, pE.TT], - [uE.U, pE.U], - [uE.UL, pE.UL], - [uE.SVG, pE.SVG], - [uE.VAR, pE.VAR], - [uE.WBR, pE.WBR], - [uE.XMP, pE.XMP], + })(oE || (oE = {}))); +const pE = new Map([ + [iE.A, oE.A], + [iE.ADDRESS, oE.ADDRESS], + [iE.ANNOTATION_XML, oE.ANNOTATION_XML], + [iE.APPLET, oE.APPLET], + [iE.AREA, oE.AREA], + [iE.ARTICLE, oE.ARTICLE], + [iE.ASIDE, oE.ASIDE], + [iE.B, oE.B], + [iE.BASE, oE.BASE], + [iE.BASEFONT, oE.BASEFONT], + [iE.BGSOUND, oE.BGSOUND], + [iE.BIG, oE.BIG], + [iE.BLOCKQUOTE, oE.BLOCKQUOTE], + [iE.BODY, oE.BODY], + [iE.BR, oE.BR], + [iE.BUTTON, oE.BUTTON], + [iE.CAPTION, oE.CAPTION], + [iE.CENTER, oE.CENTER], + [iE.CODE, oE.CODE], + [iE.COL, oE.COL], + [iE.COLGROUP, oE.COLGROUP], + [iE.DD, oE.DD], + [iE.DESC, oE.DESC], + [iE.DETAILS, oE.DETAILS], + [iE.DIALOG, oE.DIALOG], + [iE.DIR, oE.DIR], + [iE.DIV, oE.DIV], + [iE.DL, oE.DL], + [iE.DT, oE.DT], + [iE.EM, oE.EM], + [iE.EMBED, oE.EMBED], + [iE.FIELDSET, oE.FIELDSET], + [iE.FIGCAPTION, oE.FIGCAPTION], + [iE.FIGURE, oE.FIGURE], + [iE.FONT, oE.FONT], + [iE.FOOTER, oE.FOOTER], + [iE.FOREIGN_OBJECT, oE.FOREIGN_OBJECT], + [iE.FORM, oE.FORM], + [iE.FRAME, oE.FRAME], + [iE.FRAMESET, oE.FRAMESET], + [iE.H1, oE.H1], + [iE.H2, oE.H2], + [iE.H3, oE.H3], + [iE.H4, oE.H4], + [iE.H5, oE.H5], + [iE.H6, oE.H6], + [iE.HEAD, oE.HEAD], + [iE.HEADER, oE.HEADER], + [iE.HGROUP, oE.HGROUP], + [iE.HR, oE.HR], + [iE.HTML, oE.HTML], + [iE.I, oE.I], + [iE.IMG, oE.IMG], + [iE.IMAGE, oE.IMAGE], + [iE.INPUT, oE.INPUT], + [iE.IFRAME, oE.IFRAME], + [iE.KEYGEN, oE.KEYGEN], + [iE.LABEL, oE.LABEL], + [iE.LI, oE.LI], + [iE.LINK, oE.LINK], + [iE.LISTING, oE.LISTING], + [iE.MAIN, oE.MAIN], + [iE.MALIGNMARK, oE.MALIGNMARK], + [iE.MARQUEE, oE.MARQUEE], + [iE.MATH, oE.MATH], + [iE.MENU, oE.MENU], + [iE.META, oE.META], + [iE.MGLYPH, oE.MGLYPH], + [iE.MI, oE.MI], + [iE.MO, oE.MO], + [iE.MN, oE.MN], + [iE.MS, oE.MS], + [iE.MTEXT, oE.MTEXT], + [iE.NAV, oE.NAV], + [iE.NOBR, oE.NOBR], + [iE.NOFRAMES, oE.NOFRAMES], + [iE.NOEMBED, oE.NOEMBED], + [iE.NOSCRIPT, oE.NOSCRIPT], + [iE.OBJECT, oE.OBJECT], + [iE.OL, oE.OL], + [iE.OPTGROUP, oE.OPTGROUP], + [iE.OPTION, oE.OPTION], + [iE.P, oE.P], + [iE.PARAM, oE.PARAM], + [iE.PLAINTEXT, oE.PLAINTEXT], + [iE.PRE, oE.PRE], + [iE.RB, oE.RB], + [iE.RP, oE.RP], + [iE.RT, oE.RT], + [iE.RTC, oE.RTC], + [iE.RUBY, oE.RUBY], + [iE.S, oE.S], + [iE.SCRIPT, oE.SCRIPT], + [iE.SEARCH, oE.SEARCH], + [iE.SECTION, oE.SECTION], + [iE.SELECT, oE.SELECT], + [iE.SOURCE, oE.SOURCE], + [iE.SMALL, oE.SMALL], + [iE.SPAN, oE.SPAN], + [iE.STRIKE, oE.STRIKE], + [iE.STRONG, oE.STRONG], + [iE.STYLE, oE.STYLE], + [iE.SUB, oE.SUB], + [iE.SUMMARY, oE.SUMMARY], + [iE.SUP, oE.SUP], + [iE.TABLE, oE.TABLE], + [iE.TBODY, oE.TBODY], + [iE.TEMPLATE, oE.TEMPLATE], + [iE.TEXTAREA, oE.TEXTAREA], + [iE.TFOOT, oE.TFOOT], + [iE.TD, oE.TD], + [iE.TH, oE.TH], + [iE.THEAD, oE.THEAD], + [iE.TITLE, oE.TITLE], + [iE.TR, oE.TR], + [iE.TRACK, oE.TRACK], + [iE.TT, oE.TT], + [iE.U, oE.U], + [iE.UL, oE.UL], + [iE.SVG, oE.SVG], + [iE.VAR, oE.VAR], + [iE.WBR, oE.WBR], + [iE.XMP, oE.XMP], ]); -function vE(e) { +function hE(e) { var t; - return null !== (t = EE.get(e)) && void 0 !== t ? t : pE.UNKNOWN; -} -const xE = pE, - TE = { - [lE.HTML]: new Set([ - xE.ADDRESS, - xE.APPLET, - xE.AREA, - xE.ARTICLE, - xE.ASIDE, - xE.BASE, - xE.BASEFONT, - xE.BGSOUND, - xE.BLOCKQUOTE, - xE.BODY, - xE.BR, - xE.BUTTON, - xE.CAPTION, - xE.CENTER, - xE.COL, - xE.COLGROUP, - xE.DD, - xE.DETAILS, - xE.DIR, - xE.DIV, - xE.DL, - xE.DT, - xE.EMBED, - xE.FIELDSET, - xE.FIGCAPTION, - xE.FIGURE, - xE.FOOTER, - xE.FORM, - xE.FRAME, - xE.FRAMESET, - xE.H1, - xE.H2, - xE.H3, - xE.H4, - xE.H5, - xE.H6, - xE.HEAD, - xE.HEADER, - xE.HGROUP, - xE.HR, - xE.HTML, - xE.IFRAME, - xE.IMG, - xE.INPUT, - xE.LI, - xE.LINK, - xE.LISTING, - xE.MAIN, - xE.MARQUEE, - xE.MENU, - xE.META, - xE.NAV, - xE.NOEMBED, - xE.NOFRAMES, - xE.NOSCRIPT, - xE.OBJECT, - xE.OL, - xE.P, - xE.PARAM, - xE.PLAINTEXT, - xE.PRE, - xE.SCRIPT, - xE.SECTION, - xE.SELECT, - xE.SOURCE, - xE.STYLE, - xE.SUMMARY, - xE.TABLE, - xE.TBODY, - xE.TD, - xE.TEMPLATE, - xE.TEXTAREA, - xE.TFOOT, - xE.TH, - xE.THEAD, - xE.TITLE, - xE.TR, - xE.TRACK, - xE.UL, - xE.WBR, - xE.XMP, + return null !== (t = pE.get(e)) && void 0 !== t ? t : oE.UNKNOWN; +} +const mE = oE, + gE = { + [nE.HTML]: new Set([ + mE.ADDRESS, + mE.APPLET, + mE.AREA, + mE.ARTICLE, + mE.ASIDE, + mE.BASE, + mE.BASEFONT, + mE.BGSOUND, + mE.BLOCKQUOTE, + mE.BODY, + mE.BR, + mE.BUTTON, + mE.CAPTION, + mE.CENTER, + mE.COL, + mE.COLGROUP, + mE.DD, + mE.DETAILS, + mE.DIR, + mE.DIV, + mE.DL, + mE.DT, + mE.EMBED, + mE.FIELDSET, + mE.FIGCAPTION, + mE.FIGURE, + mE.FOOTER, + mE.FORM, + mE.FRAME, + mE.FRAMESET, + mE.H1, + mE.H2, + mE.H3, + mE.H4, + mE.H5, + mE.H6, + mE.HEAD, + mE.HEADER, + mE.HGROUP, + mE.HR, + mE.HTML, + mE.IFRAME, + mE.IMG, + mE.INPUT, + mE.LI, + mE.LINK, + mE.LISTING, + mE.MAIN, + mE.MARQUEE, + mE.MENU, + mE.META, + mE.NAV, + mE.NOEMBED, + mE.NOFRAMES, + mE.NOSCRIPT, + mE.OBJECT, + mE.OL, + mE.P, + mE.PARAM, + mE.PLAINTEXT, + mE.PRE, + mE.SCRIPT, + mE.SECTION, + mE.SELECT, + mE.SOURCE, + mE.STYLE, + mE.SUMMARY, + mE.TABLE, + mE.TBODY, + mE.TD, + mE.TEMPLATE, + mE.TEXTAREA, + mE.TFOOT, + mE.TH, + mE.THEAD, + mE.TITLE, + mE.TR, + mE.TRACK, + mE.UL, + mE.WBR, + mE.XMP, ]), - [lE.MATHML]: new Set([ - xE.MI, - xE.MO, - xE.MN, - xE.MS, - xE.MTEXT, - xE.ANNOTATION_XML, + [nE.MATHML]: new Set([ + mE.MI, + mE.MO, + mE.MN, + mE.MS, + mE.MTEXT, + mE.ANNOTATION_XML, ]), - [lE.SVG]: new Set([xE.TITLE, xE.FOREIGN_OBJECT, xE.DESC]), - [lE.XLINK]: new Set(), - [lE.XML]: new Set(), - [lE.XMLNS]: new Set(), + [nE.SVG]: new Set([mE.TITLE, mE.FOREIGN_OBJECT, mE.DESC]), + [nE.XLINK]: new Set(), + [nE.XML]: new Set(), + [nE.XMLNS]: new Set(), }, - _E = new Set([xE.H1, xE.H2, xE.H3, xE.H4, xE.H5, xE.H6]); -var yE; + fE = new Set([mE.H1, mE.H2, mE.H3, mE.H4, mE.H5, mE.H6]); +var bE; (new Set([ - uE.STYLE, - uE.SCRIPT, - uE.XMP, - uE.IFRAME, - uE.NOEMBED, - uE.NOFRAMES, - uE.PLAINTEXT, + iE.STYLE, + iE.SCRIPT, + iE.XMP, + iE.IFRAME, + iE.NOEMBED, + iE.NOFRAMES, + iE.PLAINTEXT, ]), (function (e) { ((e[(e.DATA = 0)] = "DATA"), @@ -28807,48 +28761,48 @@ var yE; (e[(e.CDATA_SECTION_END = 70)] = "CDATA_SECTION_END"), (e[(e.CHARACTER_REFERENCE = 71)] = "CHARACTER_REFERENCE"), (e[(e.AMBIGUOUS_AMPERSAND = 72)] = "AMBIGUOUS_AMPERSAND")); - })(yE || (yE = {}))); -const SE = { - DATA: yE.DATA, - RCDATA: yE.RCDATA, - RAWTEXT: yE.RAWTEXT, - SCRIPT_DATA: yE.SCRIPT_DATA, - PLAINTEXT: yE.PLAINTEXT, - CDATA_SECTION: yE.CDATA_SECTION, + })(bE || (bE = {}))); +const EE = { + DATA: bE.DATA, + RCDATA: bE.RCDATA, + RAWTEXT: bE.RAWTEXT, + SCRIPT_DATA: bE.SCRIPT_DATA, + PLAINTEXT: bE.PLAINTEXT, + CDATA_SECTION: bE.CDATA_SECTION, }; -function wE(e) { - return e >= Fb.LATIN_CAPITAL_A && e <= Fb.LATIN_CAPITAL_Z; +function vE(e) { + return e >= Lb.LATIN_CAPITAL_A && e <= Lb.LATIN_CAPITAL_Z; } -function AE(e) { +function xE(e) { return ( (function (e) { - return e >= Fb.LATIN_SMALL_A && e <= Fb.LATIN_SMALL_Z; - })(e) || wE(e) + return e >= Lb.LATIN_SMALL_A && e <= Lb.LATIN_SMALL_Z; + })(e) || vE(e) ); } -function CE(e) { +function TE(e) { return ( - AE(e) || + xE(e) || (function (e) { - return e >= Fb.DIGIT_0 && e <= Fb.DIGIT_9; + return e >= Lb.DIGIT_0 && e <= Lb.DIGIT_9; })(e) ); } -function NE(e) { +function _E(e) { return e + 32; } -function IE(e) { +function yE(e) { return ( - e === Fb.SPACE || - e === Fb.LINE_FEED || - e === Fb.TABULATION || - e === Fb.FORM_FEED + e === Lb.SPACE || + e === Lb.LINE_FEED || + e === Lb.TABULATION || + e === Lb.FORM_FEED ); } -function RE(e) { - return IE(e) || e === Fb.SOLIDUS || e === Fb.GREATER_THAN_SIGN; +function SE(e) { + return yE(e) || e === Lb.SOLIDUS || e === Lb.GREATER_THAN_SIGN; } -class kE { +class wE { constructor(e, t) { ((this.options = e), (this.handler = t), @@ -28857,17 +28811,17 @@ class kE { (this.inForeignNode = !1), (this.lastStartTagName = ""), (this.active = !1), - (this.state = yE.DATA), - (this.returnState = yE.DATA), + (this.state = bE.DATA), + (this.returnState = bE.DATA), (this.entityStartPos = 0), (this.consumedAfterSnapshot = -1), (this.currentCharacterToken = null), (this.currentToken = null), (this.currentAttr = { name: "", value: "" }), - (this.preprocessor = new Kb(t)), + (this.preprocessor = new Vb(t)), (this.currentLocation = this.getCurrentLocation(-1)), - (this.entityDecoder = new gE( - eE, + (this.entityDecoder = new cE( + qb, (e, t) => { ((this.preprocessor.pos = this.entityStartPos + t - 1), this._flushCodePointConsumedAsCharacterReference(e)); @@ -28875,26 +28829,26 @@ class kE { t.onParseError ? { missingSemicolonAfterCharacterReference: () => { - this._err(Yb.missingSemicolonAfterCharacterReference, 1); + this._err(Gb.missingSemicolonAfterCharacterReference, 1); }, absenceOfDigitsInNumericCharacterReference: (e) => { this._err( - Yb.absenceOfDigitsInNumericCharacterReference, + Gb.absenceOfDigitsInNumericCharacterReference, this.entityStartPos - this.preprocessor.pos + e, ); }, validateNumericCharacterReference: (e) => { const t = (function (e) { - return e === Fb.NULL - ? Yb.nullCharacterReference + return e === Lb.NULL + ? Gb.nullCharacterReference : e > 1114111 - ? Yb.characterReferenceOutsideUnicodeRange - : $b(e) - ? Yb.surrogateCharacterReference - : qb(e) - ? Yb.noncharacterCharacterReference - : Wb(e) || e === Fb.CARRIAGE_RETURN - ? Yb.controlCharacterReference + ? Gb.characterReferenceOutsideUnicodeRange + : Hb(e) + ? Gb.surrogateCharacterReference + : Ub(e) + ? Gb.noncharacterCharacterReference + : zb(e) || e === Lb.CARRIAGE_RETURN + ? Gb.controlCharacterReference : null; })(e); t && this._err(t, 1); @@ -28974,9 +28928,9 @@ class kE { } _createStartTagToken() { this.currentToken = { - type: Xb.START_TAG, + type: Zb.START_TAG, tagName: "", - tagID: pE.UNKNOWN, + tagID: oE.UNKNOWN, selfClosing: !1, ackSelfClosing: !1, attrs: [], @@ -28985,9 +28939,9 @@ class kE { } _createEndTagToken() { this.currentToken = { - type: Xb.END_TAG, + type: Zb.END_TAG, tagName: "", - tagID: pE.UNKNOWN, + tagID: oE.UNKNOWN, selfClosing: !1, ackSelfClosing: !1, attrs: [], @@ -28996,14 +28950,14 @@ class kE { } _createCommentToken(e) { this.currentToken = { - type: Xb.COMMENT, + type: Zb.COMMENT, data: "", location: this.getCurrentLocation(e), }; } _createDoctypeToken(e) { this.currentToken = { - type: Xb.DOCTYPE, + type: Zb.DOCTYPE, name: e, forceQuirks: !1, publicId: null, @@ -29025,7 +28979,7 @@ class kE { _leaveAttrName() { var e, t; const n = this.currentToken; - if (null === Qb(n, this.currentAttr.name)) { + if (null === $b(n, this.currentAttr.name)) { if ( (n.attrs.push(this.currentAttr), n.location && this.currentLocation) ) { @@ -29035,7 +28989,7 @@ class kE { this.currentLocation), this._leaveAttrValue()); } - } else this._err(Yb.duplicateAttribute); + } else this._err(Gb.duplicateAttribute); } _leaveAttrValue() { this.currentLocation && @@ -29055,11 +29009,11 @@ class kE { emitCurrentTagToken() { const e = this.currentToken; (this.prepareToken(e), - (e.tagID = vE(e.tagName)), - e.type === Xb.START_TAG + (e.tagID = hE(e.tagName)), + e.type === Zb.START_TAG ? ((this.lastStartTagName = e.tagName), this.handler.onStartTag(e)) - : (e.attrs.length > 0 && this._err(Yb.endTagWithAttributes), - e.selfClosing && this._err(Yb.endTagWithTrailingSolidus), + : (e.attrs.length > 0 && this._err(Gb.endTagWithAttributes), + e.selfClosing && this._err(Gb.endTagWithTrailingSolidus), this.handler.onEndTag(e)), this.preprocessor.dropParsedChunk()); } @@ -29083,13 +29037,13 @@ class kE { (this.currentCharacterToken.location.endOffset = e.startOffset)), this.currentCharacterToken.type) ) { - case Xb.CHARACTER: + case Zb.CHARACTER: this.handler.onCharacter(this.currentCharacterToken); break; - case Xb.NULL_CHARACTER: + case Zb.NULL_CHARACTER: this.handler.onNullCharacter(this.currentCharacterToken); break; - case Xb.WHITESPACE_CHARACTER: + case Zb.WHITESPACE_CHARACTER: this.handler.onWhitespaceCharacter(this.currentCharacterToken); } this.currentCharacterToken = null; @@ -29102,7 +29056,7 @@ class kE { (e.endCol = e.startCol), (e.endOffset = e.startOffset)), this._emitCurrentCharacterToken(e), - this.handler.onEof({ type: Xb.EOF, location: e }), + this.handler.onEof({ type: Zb.EOF, location: e }), (this.active = !1)); } _appendCharToCurrentCharacterToken(e, t) { @@ -29116,29 +29070,29 @@ class kE { this._createCharacterToken(e, t); } _emitCodePoint(e) { - const t = IE(e) - ? Xb.WHITESPACE_CHARACTER - : e === Fb.NULL - ? Xb.NULL_CHARACTER - : Xb.CHARACTER; + const t = yE(e) + ? Zb.WHITESPACE_CHARACTER + : e === Lb.NULL + ? Zb.NULL_CHARACTER + : Zb.CHARACTER; this._appendCharToCurrentCharacterToken(t, String.fromCodePoint(e)); } _emitChars(e) { - this._appendCharToCurrentCharacterToken(Xb.CHARACTER, e); + this._appendCharToCurrentCharacterToken(Zb.CHARACTER, e); } _startCharacterReference() { ((this.returnState = this.state), - (this.state = yE.CHARACTER_REFERENCE), + (this.state = bE.CHARACTER_REFERENCE), (this.entityStartPos = this.preprocessor.pos), this.entityDecoder.startEntity( - this._isCharacterReferenceInAttribute() ? sE.Attribute : sE.Legacy, + this._isCharacterReferenceInAttribute() ? tE.Attribute : tE.Legacy, )); } _isCharacterReferenceInAttribute() { return ( - this.returnState === yE.ATTRIBUTE_VALUE_DOUBLE_QUOTED || - this.returnState === yE.ATTRIBUTE_VALUE_SINGLE_QUOTED || - this.returnState === yE.ATTRIBUTE_VALUE_UNQUOTED + this.returnState === bE.ATTRIBUTE_VALUE_DOUBLE_QUOTED || + this.returnState === bE.ATTRIBUTE_VALUE_SINGLE_QUOTED || + this.returnState === bE.ATTRIBUTE_VALUE_UNQUOTED ); } _flushCodePointConsumedAsCharacterReference(e) { @@ -29148,223 +29102,223 @@ class kE { } _callState(e) { switch (this.state) { - case yE.DATA: + case bE.DATA: this._stateData(e); break; - case yE.RCDATA: + case bE.RCDATA: this._stateRcdata(e); break; - case yE.RAWTEXT: + case bE.RAWTEXT: this._stateRawtext(e); break; - case yE.SCRIPT_DATA: + case bE.SCRIPT_DATA: this._stateScriptData(e); break; - case yE.PLAINTEXT: + case bE.PLAINTEXT: this._statePlaintext(e); break; - case yE.TAG_OPEN: + case bE.TAG_OPEN: this._stateTagOpen(e); break; - case yE.END_TAG_OPEN: + case bE.END_TAG_OPEN: this._stateEndTagOpen(e); break; - case yE.TAG_NAME: + case bE.TAG_NAME: this._stateTagName(e); break; - case yE.RCDATA_LESS_THAN_SIGN: + case bE.RCDATA_LESS_THAN_SIGN: this._stateRcdataLessThanSign(e); break; - case yE.RCDATA_END_TAG_OPEN: + case bE.RCDATA_END_TAG_OPEN: this._stateRcdataEndTagOpen(e); break; - case yE.RCDATA_END_TAG_NAME: + case bE.RCDATA_END_TAG_NAME: this._stateRcdataEndTagName(e); break; - case yE.RAWTEXT_LESS_THAN_SIGN: + case bE.RAWTEXT_LESS_THAN_SIGN: this._stateRawtextLessThanSign(e); break; - case yE.RAWTEXT_END_TAG_OPEN: + case bE.RAWTEXT_END_TAG_OPEN: this._stateRawtextEndTagOpen(e); break; - case yE.RAWTEXT_END_TAG_NAME: + case bE.RAWTEXT_END_TAG_NAME: this._stateRawtextEndTagName(e); break; - case yE.SCRIPT_DATA_LESS_THAN_SIGN: + case bE.SCRIPT_DATA_LESS_THAN_SIGN: this._stateScriptDataLessThanSign(e); break; - case yE.SCRIPT_DATA_END_TAG_OPEN: + case bE.SCRIPT_DATA_END_TAG_OPEN: this._stateScriptDataEndTagOpen(e); break; - case yE.SCRIPT_DATA_END_TAG_NAME: + case bE.SCRIPT_DATA_END_TAG_NAME: this._stateScriptDataEndTagName(e); break; - case yE.SCRIPT_DATA_ESCAPE_START: + case bE.SCRIPT_DATA_ESCAPE_START: this._stateScriptDataEscapeStart(e); break; - case yE.SCRIPT_DATA_ESCAPE_START_DASH: + case bE.SCRIPT_DATA_ESCAPE_START_DASH: this._stateScriptDataEscapeStartDash(e); break; - case yE.SCRIPT_DATA_ESCAPED: + case bE.SCRIPT_DATA_ESCAPED: this._stateScriptDataEscaped(e); break; - case yE.SCRIPT_DATA_ESCAPED_DASH: + case bE.SCRIPT_DATA_ESCAPED_DASH: this._stateScriptDataEscapedDash(e); break; - case yE.SCRIPT_DATA_ESCAPED_DASH_DASH: + case bE.SCRIPT_DATA_ESCAPED_DASH_DASH: this._stateScriptDataEscapedDashDash(e); break; - case yE.SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN: + case bE.SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN: this._stateScriptDataEscapedLessThanSign(e); break; - case yE.SCRIPT_DATA_ESCAPED_END_TAG_OPEN: + case bE.SCRIPT_DATA_ESCAPED_END_TAG_OPEN: this._stateScriptDataEscapedEndTagOpen(e); break; - case yE.SCRIPT_DATA_ESCAPED_END_TAG_NAME: + case bE.SCRIPT_DATA_ESCAPED_END_TAG_NAME: this._stateScriptDataEscapedEndTagName(e); break; - case yE.SCRIPT_DATA_DOUBLE_ESCAPE_START: + case bE.SCRIPT_DATA_DOUBLE_ESCAPE_START: this._stateScriptDataDoubleEscapeStart(e); break; - case yE.SCRIPT_DATA_DOUBLE_ESCAPED: + case bE.SCRIPT_DATA_DOUBLE_ESCAPED: this._stateScriptDataDoubleEscaped(e); break; - case yE.SCRIPT_DATA_DOUBLE_ESCAPED_DASH: + case bE.SCRIPT_DATA_DOUBLE_ESCAPED_DASH: this._stateScriptDataDoubleEscapedDash(e); break; - case yE.SCRIPT_DATA_DOUBLE_ESCAPED_DASH_DASH: + case bE.SCRIPT_DATA_DOUBLE_ESCAPED_DASH_DASH: this._stateScriptDataDoubleEscapedDashDash(e); break; - case yE.SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN: + case bE.SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN: this._stateScriptDataDoubleEscapedLessThanSign(e); break; - case yE.SCRIPT_DATA_DOUBLE_ESCAPE_END: + case bE.SCRIPT_DATA_DOUBLE_ESCAPE_END: this._stateScriptDataDoubleEscapeEnd(e); break; - case yE.BEFORE_ATTRIBUTE_NAME: + case bE.BEFORE_ATTRIBUTE_NAME: this._stateBeforeAttributeName(e); break; - case yE.ATTRIBUTE_NAME: + case bE.ATTRIBUTE_NAME: this._stateAttributeName(e); break; - case yE.AFTER_ATTRIBUTE_NAME: + case bE.AFTER_ATTRIBUTE_NAME: this._stateAfterAttributeName(e); break; - case yE.BEFORE_ATTRIBUTE_VALUE: + case bE.BEFORE_ATTRIBUTE_VALUE: this._stateBeforeAttributeValue(e); break; - case yE.ATTRIBUTE_VALUE_DOUBLE_QUOTED: + case bE.ATTRIBUTE_VALUE_DOUBLE_QUOTED: this._stateAttributeValueDoubleQuoted(e); break; - case yE.ATTRIBUTE_VALUE_SINGLE_QUOTED: + case bE.ATTRIBUTE_VALUE_SINGLE_QUOTED: this._stateAttributeValueSingleQuoted(e); break; - case yE.ATTRIBUTE_VALUE_UNQUOTED: + case bE.ATTRIBUTE_VALUE_UNQUOTED: this._stateAttributeValueUnquoted(e); break; - case yE.AFTER_ATTRIBUTE_VALUE_QUOTED: + case bE.AFTER_ATTRIBUTE_VALUE_QUOTED: this._stateAfterAttributeValueQuoted(e); break; - case yE.SELF_CLOSING_START_TAG: + case bE.SELF_CLOSING_START_TAG: this._stateSelfClosingStartTag(e); break; - case yE.BOGUS_COMMENT: + case bE.BOGUS_COMMENT: this._stateBogusComment(e); break; - case yE.MARKUP_DECLARATION_OPEN: + case bE.MARKUP_DECLARATION_OPEN: this._stateMarkupDeclarationOpen(e); break; - case yE.COMMENT_START: + case bE.COMMENT_START: this._stateCommentStart(e); break; - case yE.COMMENT_START_DASH: + case bE.COMMENT_START_DASH: this._stateCommentStartDash(e); break; - case yE.COMMENT: + case bE.COMMENT: this._stateComment(e); break; - case yE.COMMENT_LESS_THAN_SIGN: + case bE.COMMENT_LESS_THAN_SIGN: this._stateCommentLessThanSign(e); break; - case yE.COMMENT_LESS_THAN_SIGN_BANG: + case bE.COMMENT_LESS_THAN_SIGN_BANG: this._stateCommentLessThanSignBang(e); break; - case yE.COMMENT_LESS_THAN_SIGN_BANG_DASH: + case bE.COMMENT_LESS_THAN_SIGN_BANG_DASH: this._stateCommentLessThanSignBangDash(e); break; - case yE.COMMENT_LESS_THAN_SIGN_BANG_DASH_DASH: + case bE.COMMENT_LESS_THAN_SIGN_BANG_DASH_DASH: this._stateCommentLessThanSignBangDashDash(e); break; - case yE.COMMENT_END_DASH: + case bE.COMMENT_END_DASH: this._stateCommentEndDash(e); break; - case yE.COMMENT_END: + case bE.COMMENT_END: this._stateCommentEnd(e); break; - case yE.COMMENT_END_BANG: + case bE.COMMENT_END_BANG: this._stateCommentEndBang(e); break; - case yE.DOCTYPE: + case bE.DOCTYPE: this._stateDoctype(e); break; - case yE.BEFORE_DOCTYPE_NAME: + case bE.BEFORE_DOCTYPE_NAME: this._stateBeforeDoctypeName(e); break; - case yE.DOCTYPE_NAME: + case bE.DOCTYPE_NAME: this._stateDoctypeName(e); break; - case yE.AFTER_DOCTYPE_NAME: + case bE.AFTER_DOCTYPE_NAME: this._stateAfterDoctypeName(e); break; - case yE.AFTER_DOCTYPE_PUBLIC_KEYWORD: + case bE.AFTER_DOCTYPE_PUBLIC_KEYWORD: this._stateAfterDoctypePublicKeyword(e); break; - case yE.BEFORE_DOCTYPE_PUBLIC_IDENTIFIER: + case bE.BEFORE_DOCTYPE_PUBLIC_IDENTIFIER: this._stateBeforeDoctypePublicIdentifier(e); break; - case yE.DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED: + case bE.DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED: this._stateDoctypePublicIdentifierDoubleQuoted(e); break; - case yE.DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED: + case bE.DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED: this._stateDoctypePublicIdentifierSingleQuoted(e); break; - case yE.AFTER_DOCTYPE_PUBLIC_IDENTIFIER: + case bE.AFTER_DOCTYPE_PUBLIC_IDENTIFIER: this._stateAfterDoctypePublicIdentifier(e); break; - case yE.BETWEEN_DOCTYPE_PUBLIC_AND_SYSTEM_IDENTIFIERS: + case bE.BETWEEN_DOCTYPE_PUBLIC_AND_SYSTEM_IDENTIFIERS: this._stateBetweenDoctypePublicAndSystemIdentifiers(e); break; - case yE.AFTER_DOCTYPE_SYSTEM_KEYWORD: + case bE.AFTER_DOCTYPE_SYSTEM_KEYWORD: this._stateAfterDoctypeSystemKeyword(e); break; - case yE.BEFORE_DOCTYPE_SYSTEM_IDENTIFIER: + case bE.BEFORE_DOCTYPE_SYSTEM_IDENTIFIER: this._stateBeforeDoctypeSystemIdentifier(e); break; - case yE.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED: + case bE.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED: this._stateDoctypeSystemIdentifierDoubleQuoted(e); break; - case yE.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED: + case bE.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED: this._stateDoctypeSystemIdentifierSingleQuoted(e); break; - case yE.AFTER_DOCTYPE_SYSTEM_IDENTIFIER: + case bE.AFTER_DOCTYPE_SYSTEM_IDENTIFIER: this._stateAfterDoctypeSystemIdentifier(e); break; - case yE.BOGUS_DOCTYPE: + case bE.BOGUS_DOCTYPE: this._stateBogusDoctype(e); break; - case yE.CDATA_SECTION: + case bE.CDATA_SECTION: this._stateCdataSection(e); break; - case yE.CDATA_SECTION_BRACKET: + case bE.CDATA_SECTION_BRACKET: this._stateCdataSectionBracket(e); break; - case yE.CDATA_SECTION_END: + case bE.CDATA_SECTION_END: this._stateCdataSectionEnd(e); break; - case yE.CHARACTER_REFERENCE: + case bE.CHARACTER_REFERENCE: this._stateCharacterReference(); break; - case yE.AMBIGUOUS_AMPERSAND: + case bE.AMBIGUOUS_AMPERSAND: this._stateAmbiguousAmpersand(e); break; default: @@ -29373,16 +29327,16 @@ class kE { } _stateData(e) { switch (e) { - case Fb.LESS_THAN_SIGN: - this.state = yE.TAG_OPEN; + case Lb.LESS_THAN_SIGN: + this.state = bE.TAG_OPEN; break; - case Fb.AMPERSAND: + case Lb.AMPERSAND: this._startCharacterReference(); break; - case Fb.NULL: - (this._err(Yb.unexpectedNullCharacter), this._emitCodePoint(e)); + case Lb.NULL: + (this._err(Gb.unexpectedNullCharacter), this._emitCodePoint(e)); break; - case Fb.EOF: + case Lb.EOF: this._emitEOFToken(); break; default: @@ -29391,16 +29345,16 @@ class kE { } _stateRcdata(e) { switch (e) { - case Fb.AMPERSAND: + case Lb.AMPERSAND: this._startCharacterReference(); break; - case Fb.LESS_THAN_SIGN: - this.state = yE.RCDATA_LESS_THAN_SIGN; + case Lb.LESS_THAN_SIGN: + this.state = bE.RCDATA_LESS_THAN_SIGN; break; - case Fb.NULL: - (this._err(Yb.unexpectedNullCharacter), this._emitChars(Bb)); + case Lb.NULL: + (this._err(Gb.unexpectedNullCharacter), this._emitChars(Ob)); break; - case Fb.EOF: + case Lb.EOF: this._emitEOFToken(); break; default: @@ -29409,13 +29363,13 @@ class kE { } _stateRawtext(e) { switch (e) { - case Fb.LESS_THAN_SIGN: - this.state = yE.RAWTEXT_LESS_THAN_SIGN; + case Lb.LESS_THAN_SIGN: + this.state = bE.RAWTEXT_LESS_THAN_SIGN; break; - case Fb.NULL: - (this._err(Yb.unexpectedNullCharacter), this._emitChars(Bb)); + case Lb.NULL: + (this._err(Gb.unexpectedNullCharacter), this._emitChars(Ob)); break; - case Fb.EOF: + case Lb.EOF: this._emitEOFToken(); break; default: @@ -29424,13 +29378,13 @@ class kE { } _stateScriptData(e) { switch (e) { - case Fb.LESS_THAN_SIGN: - this.state = yE.SCRIPT_DATA_LESS_THAN_SIGN; + case Lb.LESS_THAN_SIGN: + this.state = bE.SCRIPT_DATA_LESS_THAN_SIGN; break; - case Fb.NULL: - (this._err(Yb.unexpectedNullCharacter), this._emitChars(Bb)); + case Lb.NULL: + (this._err(Gb.unexpectedNullCharacter), this._emitChars(Ob)); break; - case Fb.EOF: + case Lb.EOF: this._emitEOFToken(); break; default: @@ -29439,10 +29393,10 @@ class kE { } _statePlaintext(e) { switch (e) { - case Fb.NULL: - (this._err(Yb.unexpectedNullCharacter), this._emitChars(Bb)); + case Lb.NULL: + (this._err(Gb.unexpectedNullCharacter), this._emitChars(Ob)); break; - case Fb.EOF: + case Lb.EOF: this._emitEOFToken(); break; default: @@ -29450,92 +29404,92 @@ class kE { } } _stateTagOpen(e) { - if (AE(e)) + if (xE(e)) (this._createStartTagToken(), - (this.state = yE.TAG_NAME), + (this.state = bE.TAG_NAME), this._stateTagName(e)); else switch (e) { - case Fb.EXCLAMATION_MARK: - this.state = yE.MARKUP_DECLARATION_OPEN; + case Lb.EXCLAMATION_MARK: + this.state = bE.MARKUP_DECLARATION_OPEN; break; - case Fb.SOLIDUS: - this.state = yE.END_TAG_OPEN; + case Lb.SOLIDUS: + this.state = bE.END_TAG_OPEN; break; - case Fb.QUESTION_MARK: - (this._err(Yb.unexpectedQuestionMarkInsteadOfTagName), + case Lb.QUESTION_MARK: + (this._err(Gb.unexpectedQuestionMarkInsteadOfTagName), this._createCommentToken(1), - (this.state = yE.BOGUS_COMMENT), + (this.state = bE.BOGUS_COMMENT), this._stateBogusComment(e)); break; - case Fb.EOF: - (this._err(Yb.eofBeforeTagName), + case Lb.EOF: + (this._err(Gb.eofBeforeTagName), this._emitChars("<"), this._emitEOFToken()); break; default: - (this._err(Yb.invalidFirstCharacterOfTagName), + (this._err(Gb.invalidFirstCharacterOfTagName), this._emitChars("<"), - (this.state = yE.DATA), + (this.state = bE.DATA), this._stateData(e)); } } _stateEndTagOpen(e) { - if (AE(e)) + if (xE(e)) (this._createEndTagToken(), - (this.state = yE.TAG_NAME), + (this.state = bE.TAG_NAME), this._stateTagName(e)); else switch (e) { - case Fb.GREATER_THAN_SIGN: - (this._err(Yb.missingEndTagName), (this.state = yE.DATA)); + case Lb.GREATER_THAN_SIGN: + (this._err(Gb.missingEndTagName), (this.state = bE.DATA)); break; - case Fb.EOF: - (this._err(Yb.eofBeforeTagName), + case Lb.EOF: + (this._err(Gb.eofBeforeTagName), this._emitChars("")); + case Lb.GREATER_THAN_SIGN: + ((this.state = bE.SCRIPT_DATA), this._emitChars(">")); break; - case Fb.NULL: - (this._err(Yb.unexpectedNullCharacter), - (this.state = yE.SCRIPT_DATA_ESCAPED), - this._emitChars(Bb)); + case Lb.NULL: + (this._err(Gb.unexpectedNullCharacter), + (this.state = bE.SCRIPT_DATA_ESCAPED), + this._emitChars(Ob)); break; - case Fb.EOF: - (this._err(Yb.eofInScriptHtmlCommentLikeText), this._emitEOFToken()); + case Lb.EOF: + (this._err(Gb.eofInScriptHtmlCommentLikeText), this._emitEOFToken()); break; default: - ((this.state = yE.SCRIPT_DATA_ESCAPED), this._emitCodePoint(e)); + ((this.state = bE.SCRIPT_DATA_ESCAPED), this._emitCodePoint(e)); } } _stateScriptDataEscapedLessThanSign(e) { - e === Fb.SOLIDUS - ? (this.state = yE.SCRIPT_DATA_ESCAPED_END_TAG_OPEN) - : AE(e) + e === Lb.SOLIDUS + ? (this.state = bE.SCRIPT_DATA_ESCAPED_END_TAG_OPEN) + : xE(e) ? (this._emitChars("<"), - (this.state = yE.SCRIPT_DATA_DOUBLE_ESCAPE_START), + (this.state = bE.SCRIPT_DATA_DOUBLE_ESCAPE_START), this._stateScriptDataDoubleEscapeStart(e)) : (this._emitChars("<"), - (this.state = yE.SCRIPT_DATA_ESCAPED), + (this.state = bE.SCRIPT_DATA_ESCAPED), this._stateScriptDataEscaped(e)); } _stateScriptDataEscapedEndTagOpen(e) { - AE(e) - ? ((this.state = yE.SCRIPT_DATA_ESCAPED_END_TAG_NAME), + xE(e) + ? ((this.state = bE.SCRIPT_DATA_ESCAPED_END_TAG_NAME), this._stateScriptDataEscapedEndTagName(e)) : (this._emitChars("")); + case Lb.GREATER_THAN_SIGN: + ((this.state = bE.SCRIPT_DATA), this._emitChars(">")); break; - case Fb.NULL: - (this._err(Yb.unexpectedNullCharacter), - (this.state = yE.SCRIPT_DATA_DOUBLE_ESCAPED), - this._emitChars(Bb)); + case Lb.NULL: + (this._err(Gb.unexpectedNullCharacter), + (this.state = bE.SCRIPT_DATA_DOUBLE_ESCAPED), + this._emitChars(Ob)); break; - case Fb.EOF: - (this._err(Yb.eofInScriptHtmlCommentLikeText), this._emitEOFToken()); + case Lb.EOF: + (this._err(Gb.eofInScriptHtmlCommentLikeText), this._emitEOFToken()); break; default: - ((this.state = yE.SCRIPT_DATA_DOUBLE_ESCAPED), this._emitCodePoint(e)); + ((this.state = bE.SCRIPT_DATA_DOUBLE_ESCAPED), this._emitCodePoint(e)); } } _stateScriptDataDoubleEscapedLessThanSign(e) { - e === Fb.SOLIDUS - ? ((this.state = yE.SCRIPT_DATA_DOUBLE_ESCAPE_END), this._emitChars("/")) - : ((this.state = yE.SCRIPT_DATA_DOUBLE_ESCAPED), + e === Lb.SOLIDUS + ? ((this.state = bE.SCRIPT_DATA_DOUBLE_ESCAPE_END), this._emitChars("/")) + : ((this.state = bE.SCRIPT_DATA_DOUBLE_ESCAPED), this._stateScriptDataDoubleEscaped(e)); } _stateScriptDataDoubleEscapeEnd(e) { if ( - this.preprocessor.startsWith(Gb, !1) && - RE(this.preprocessor.peek(Gb.length)) + this.preprocessor.startsWith(jb, !1) && + SE(this.preprocessor.peek(jb.length)) ) { this._emitCodePoint(e); - for (let e = 0; e < Gb.length; e++) this._emitCodePoint(this._consume()); - this.state = yE.SCRIPT_DATA_ESCAPED; + for (let e = 0; e < jb.length; e++) this._emitCodePoint(this._consume()); + this.state = bE.SCRIPT_DATA_ESCAPED; } else this._ensureHibernation() || - ((this.state = yE.SCRIPT_DATA_DOUBLE_ESCAPED), + ((this.state = bE.SCRIPT_DATA_DOUBLE_ESCAPED), this._stateScriptDataDoubleEscaped(e)); } _stateBeforeAttributeName(e) { switch (e) { - case Fb.SPACE: - case Fb.LINE_FEED: - case Fb.TABULATION: - case Fb.FORM_FEED: - break; - case Fb.SOLIDUS: - case Fb.GREATER_THAN_SIGN: - case Fb.EOF: - ((this.state = yE.AFTER_ATTRIBUTE_NAME), + case Lb.SPACE: + case Lb.LINE_FEED: + case Lb.TABULATION: + case Lb.FORM_FEED: + break; + case Lb.SOLIDUS: + case Lb.GREATER_THAN_SIGN: + case Lb.EOF: + ((this.state = bE.AFTER_ATTRIBUTE_NAME), this._stateAfterAttributeName(e)); break; - case Fb.EQUALS_SIGN: - (this._err(Yb.unexpectedEqualsSignBeforeAttributeName), + case Lb.EQUALS_SIGN: + (this._err(Gb.unexpectedEqualsSignBeforeAttributeName), this._createAttr("="), - (this.state = yE.ATTRIBUTE_NAME)); + (this.state = bE.ATTRIBUTE_NAME)); break; default: (this._createAttr(""), - (this.state = yE.ATTRIBUTE_NAME), + (this.state = bE.ATTRIBUTE_NAME), this._stateAttributeName(e)); } } _stateAttributeName(e) { switch (e) { - case Fb.SPACE: - case Fb.LINE_FEED: - case Fb.TABULATION: - case Fb.FORM_FEED: - case Fb.SOLIDUS: - case Fb.GREATER_THAN_SIGN: - case Fb.EOF: + case Lb.SPACE: + case Lb.LINE_FEED: + case Lb.TABULATION: + case Lb.FORM_FEED: + case Lb.SOLIDUS: + case Lb.GREATER_THAN_SIGN: + case Lb.EOF: (this._leaveAttrName(), - (this.state = yE.AFTER_ATTRIBUTE_NAME), + (this.state = bE.AFTER_ATTRIBUTE_NAME), this._stateAfterAttributeName(e)); break; - case Fb.EQUALS_SIGN: - (this._leaveAttrName(), (this.state = yE.BEFORE_ATTRIBUTE_VALUE)); + case Lb.EQUALS_SIGN: + (this._leaveAttrName(), (this.state = bE.BEFORE_ATTRIBUTE_VALUE)); break; - case Fb.QUOTATION_MARK: - case Fb.APOSTROPHE: - case Fb.LESS_THAN_SIGN: - (this._err(Yb.unexpectedCharacterInAttributeName), + case Lb.QUOTATION_MARK: + case Lb.APOSTROPHE: + case Lb.LESS_THAN_SIGN: + (this._err(Gb.unexpectedCharacterInAttributeName), (this.currentAttr.name += String.fromCodePoint(e))); break; - case Fb.NULL: - (this._err(Yb.unexpectedNullCharacter), (this.currentAttr.name += Bb)); + case Lb.NULL: + (this._err(Gb.unexpectedNullCharacter), (this.currentAttr.name += Ob)); break; default: - this.currentAttr.name += String.fromCodePoint(wE(e) ? NE(e) : e); + this.currentAttr.name += String.fromCodePoint(vE(e) ? _E(e) : e); } } _stateAfterAttributeName(e) { switch (e) { - case Fb.SPACE: - case Fb.LINE_FEED: - case Fb.TABULATION: - case Fb.FORM_FEED: + case Lb.SPACE: + case Lb.LINE_FEED: + case Lb.TABULATION: + case Lb.FORM_FEED: break; - case Fb.SOLIDUS: - this.state = yE.SELF_CLOSING_START_TAG; + case Lb.SOLIDUS: + this.state = bE.SELF_CLOSING_START_TAG; break; - case Fb.EQUALS_SIGN: - this.state = yE.BEFORE_ATTRIBUTE_VALUE; + case Lb.EQUALS_SIGN: + this.state = bE.BEFORE_ATTRIBUTE_VALUE; break; - case Fb.GREATER_THAN_SIGN: - ((this.state = yE.DATA), this.emitCurrentTagToken()); + case Lb.GREATER_THAN_SIGN: + ((this.state = bE.DATA), this.emitCurrentTagToken()); break; - case Fb.EOF: - (this._err(Yb.eofInTag), this._emitEOFToken()); + case Lb.EOF: + (this._err(Gb.eofInTag), this._emitEOFToken()); break; default: (this._createAttr(""), - (this.state = yE.ATTRIBUTE_NAME), + (this.state = bE.ATTRIBUTE_NAME), this._stateAttributeName(e)); } } _stateBeforeAttributeValue(e) { switch (e) { - case Fb.SPACE: - case Fb.LINE_FEED: - case Fb.TABULATION: - case Fb.FORM_FEED: + case Lb.SPACE: + case Lb.LINE_FEED: + case Lb.TABULATION: + case Lb.FORM_FEED: break; - case Fb.QUOTATION_MARK: - this.state = yE.ATTRIBUTE_VALUE_DOUBLE_QUOTED; + case Lb.QUOTATION_MARK: + this.state = bE.ATTRIBUTE_VALUE_DOUBLE_QUOTED; break; - case Fb.APOSTROPHE: - this.state = yE.ATTRIBUTE_VALUE_SINGLE_QUOTED; + case Lb.APOSTROPHE: + this.state = bE.ATTRIBUTE_VALUE_SINGLE_QUOTED; break; - case Fb.GREATER_THAN_SIGN: - (this._err(Yb.missingAttributeValue), - (this.state = yE.DATA), + case Lb.GREATER_THAN_SIGN: + (this._err(Gb.missingAttributeValue), + (this.state = bE.DATA), this.emitCurrentTagToken()); break; default: - ((this.state = yE.ATTRIBUTE_VALUE_UNQUOTED), + ((this.state = bE.ATTRIBUTE_VALUE_UNQUOTED), this._stateAttributeValueUnquoted(e)); } } _stateAttributeValueDoubleQuoted(e) { switch (e) { - case Fb.QUOTATION_MARK: - this.state = yE.AFTER_ATTRIBUTE_VALUE_QUOTED; + case Lb.QUOTATION_MARK: + this.state = bE.AFTER_ATTRIBUTE_VALUE_QUOTED; break; - case Fb.AMPERSAND: + case Lb.AMPERSAND: this._startCharacterReference(); break; - case Fb.NULL: - (this._err(Yb.unexpectedNullCharacter), (this.currentAttr.value += Bb)); + case Lb.NULL: + (this._err(Gb.unexpectedNullCharacter), (this.currentAttr.value += Ob)); break; - case Fb.EOF: - (this._err(Yb.eofInTag), this._emitEOFToken()); + case Lb.EOF: + (this._err(Gb.eofInTag), this._emitEOFToken()); break; default: this.currentAttr.value += String.fromCodePoint(e); @@ -29935,17 +29889,17 @@ class kE { } _stateAttributeValueSingleQuoted(e) { switch (e) { - case Fb.APOSTROPHE: - this.state = yE.AFTER_ATTRIBUTE_VALUE_QUOTED; + case Lb.APOSTROPHE: + this.state = bE.AFTER_ATTRIBUTE_VALUE_QUOTED; break; - case Fb.AMPERSAND: + case Lb.AMPERSAND: this._startCharacterReference(); break; - case Fb.NULL: - (this._err(Yb.unexpectedNullCharacter), (this.currentAttr.value += Bb)); + case Lb.NULL: + (this._err(Gb.unexpectedNullCharacter), (this.currentAttr.value += Ob)); break; - case Fb.EOF: - (this._err(Yb.eofInTag), this._emitEOFToken()); + case Lb.EOF: + (this._err(Gb.eofInTag), this._emitEOFToken()); break; default: this.currentAttr.value += String.fromCodePoint(e); @@ -29953,33 +29907,33 @@ class kE { } _stateAttributeValueUnquoted(e) { switch (e) { - case Fb.SPACE: - case Fb.LINE_FEED: - case Fb.TABULATION: - case Fb.FORM_FEED: - (this._leaveAttrValue(), (this.state = yE.BEFORE_ATTRIBUTE_NAME)); + case Lb.SPACE: + case Lb.LINE_FEED: + case Lb.TABULATION: + case Lb.FORM_FEED: + (this._leaveAttrValue(), (this.state = bE.BEFORE_ATTRIBUTE_NAME)); break; - case Fb.AMPERSAND: + case Lb.AMPERSAND: this._startCharacterReference(); break; - case Fb.GREATER_THAN_SIGN: + case Lb.GREATER_THAN_SIGN: (this._leaveAttrValue(), - (this.state = yE.DATA), + (this.state = bE.DATA), this.emitCurrentTagToken()); break; - case Fb.NULL: - (this._err(Yb.unexpectedNullCharacter), (this.currentAttr.value += Bb)); + case Lb.NULL: + (this._err(Gb.unexpectedNullCharacter), (this.currentAttr.value += Ob)); break; - case Fb.QUOTATION_MARK: - case Fb.APOSTROPHE: - case Fb.LESS_THAN_SIGN: - case Fb.EQUALS_SIGN: - case Fb.GRAVE_ACCENT: - (this._err(Yb.unexpectedCharacterInUnquotedAttributeValue), + case Lb.QUOTATION_MARK: + case Lb.APOSTROPHE: + case Lb.LESS_THAN_SIGN: + case Lb.EQUALS_SIGN: + case Lb.GRAVE_ACCENT: + (this._err(Gb.unexpectedCharacterInUnquotedAttributeValue), (this.currentAttr.value += String.fromCodePoint(e))); break; - case Fb.EOF: - (this._err(Yb.eofInTag), this._emitEOFToken()); + case Lb.EOF: + (this._err(Gb.eofInTag), this._emitEOFToken()); break; default: this.currentAttr.value += String.fromCodePoint(e); @@ -29987,130 +29941,130 @@ class kE { } _stateAfterAttributeValueQuoted(e) { switch (e) { - case Fb.SPACE: - case Fb.LINE_FEED: - case Fb.TABULATION: - case Fb.FORM_FEED: - (this._leaveAttrValue(), (this.state = yE.BEFORE_ATTRIBUTE_NAME)); + case Lb.SPACE: + case Lb.LINE_FEED: + case Lb.TABULATION: + case Lb.FORM_FEED: + (this._leaveAttrValue(), (this.state = bE.BEFORE_ATTRIBUTE_NAME)); break; - case Fb.SOLIDUS: - (this._leaveAttrValue(), (this.state = yE.SELF_CLOSING_START_TAG)); + case Lb.SOLIDUS: + (this._leaveAttrValue(), (this.state = bE.SELF_CLOSING_START_TAG)); break; - case Fb.GREATER_THAN_SIGN: + case Lb.GREATER_THAN_SIGN: (this._leaveAttrValue(), - (this.state = yE.DATA), + (this.state = bE.DATA), this.emitCurrentTagToken()); break; - case Fb.EOF: - (this._err(Yb.eofInTag), this._emitEOFToken()); + case Lb.EOF: + (this._err(Gb.eofInTag), this._emitEOFToken()); break; default: - (this._err(Yb.missingWhitespaceBetweenAttributes), - (this.state = yE.BEFORE_ATTRIBUTE_NAME), + (this._err(Gb.missingWhitespaceBetweenAttributes), + (this.state = bE.BEFORE_ATTRIBUTE_NAME), this._stateBeforeAttributeName(e)); } } _stateSelfClosingStartTag(e) { switch (e) { - case Fb.GREATER_THAN_SIGN: + case Lb.GREATER_THAN_SIGN: ((this.currentToken.selfClosing = !0), - (this.state = yE.DATA), + (this.state = bE.DATA), this.emitCurrentTagToken()); break; - case Fb.EOF: - (this._err(Yb.eofInTag), this._emitEOFToken()); + case Lb.EOF: + (this._err(Gb.eofInTag), this._emitEOFToken()); break; default: - (this._err(Yb.unexpectedSolidusInTag), - (this.state = yE.BEFORE_ATTRIBUTE_NAME), + (this._err(Gb.unexpectedSolidusInTag), + (this.state = bE.BEFORE_ATTRIBUTE_NAME), this._stateBeforeAttributeName(e)); } } _stateBogusComment(e) { const t = this.currentToken; switch (e) { - case Fb.GREATER_THAN_SIGN: - ((this.state = yE.DATA), this.emitCurrentComment(t)); + case Lb.GREATER_THAN_SIGN: + ((this.state = bE.DATA), this.emitCurrentComment(t)); break; - case Fb.EOF: + case Lb.EOF: (this.emitCurrentComment(t), this._emitEOFToken()); break; - case Fb.NULL: - (this._err(Yb.unexpectedNullCharacter), (t.data += Bb)); + case Lb.NULL: + (this._err(Gb.unexpectedNullCharacter), (t.data += Ob)); break; default: t.data += String.fromCodePoint(e); } } _stateMarkupDeclarationOpen(e) { - this._consumeSequenceIfMatch(Hb, !0) - ? (this._createCommentToken(Hb.length + 1), - (this.state = yE.COMMENT_START)) - : this._consumeSequenceIfMatch(Ub, !1) - ? ((this.currentLocation = this.getCurrentLocation(Ub.length + 1)), - (this.state = yE.DOCTYPE)) - : this._consumeSequenceIfMatch(zb, !0) + this._consumeSequenceIfMatch(Mb, !0) + ? (this._createCommentToken(Mb.length + 1), + (this.state = bE.COMMENT_START)) + : this._consumeSequenceIfMatch(Pb, !1) + ? ((this.currentLocation = this.getCurrentLocation(Pb.length + 1)), + (this.state = bE.DOCTYPE)) + : this._consumeSequenceIfMatch(Db, !0) ? this.inForeignNode - ? (this.state = yE.CDATA_SECTION) - : (this._err(Yb.cdataInHtmlContent), - this._createCommentToken(zb.length + 1), + ? (this.state = bE.CDATA_SECTION) + : (this._err(Gb.cdataInHtmlContent), + this._createCommentToken(Db.length + 1), (this.currentToken.data = "[CDATA["), - (this.state = yE.BOGUS_COMMENT)) + (this.state = bE.BOGUS_COMMENT)) : this._ensureHibernation() || - (this._err(Yb.incorrectlyOpenedComment), + (this._err(Gb.incorrectlyOpenedComment), this._createCommentToken(2), - (this.state = yE.BOGUS_COMMENT), + (this.state = bE.BOGUS_COMMENT), this._stateBogusComment(e)); } _stateCommentStart(e) { switch (e) { - case Fb.HYPHEN_MINUS: - this.state = yE.COMMENT_START_DASH; + case Lb.HYPHEN_MINUS: + this.state = bE.COMMENT_START_DASH; break; - case Fb.GREATER_THAN_SIGN: { - (this._err(Yb.abruptClosingOfEmptyComment), (this.state = yE.DATA)); + case Lb.GREATER_THAN_SIGN: { + (this._err(Gb.abruptClosingOfEmptyComment), (this.state = bE.DATA)); const e = this.currentToken; this.emitCurrentComment(e); break; } default: - ((this.state = yE.COMMENT), this._stateComment(e)); + ((this.state = bE.COMMENT), this._stateComment(e)); } } _stateCommentStartDash(e) { const t = this.currentToken; switch (e) { - case Fb.HYPHEN_MINUS: - this.state = yE.COMMENT_END; + case Lb.HYPHEN_MINUS: + this.state = bE.COMMENT_END; break; - case Fb.GREATER_THAN_SIGN: - (this._err(Yb.abruptClosingOfEmptyComment), - (this.state = yE.DATA), + case Lb.GREATER_THAN_SIGN: + (this._err(Gb.abruptClosingOfEmptyComment), + (this.state = bE.DATA), this.emitCurrentComment(t)); break; - case Fb.EOF: - (this._err(Yb.eofInComment), + case Lb.EOF: + (this._err(Gb.eofInComment), this.emitCurrentComment(t), this._emitEOFToken()); break; default: - ((t.data += "-"), (this.state = yE.COMMENT), this._stateComment(e)); + ((t.data += "-"), (this.state = bE.COMMENT), this._stateComment(e)); } } _stateComment(e) { const t = this.currentToken; switch (e) { - case Fb.HYPHEN_MINUS: - this.state = yE.COMMENT_END_DASH; + case Lb.HYPHEN_MINUS: + this.state = bE.COMMENT_END_DASH; break; - case Fb.LESS_THAN_SIGN: - ((t.data += "<"), (this.state = yE.COMMENT_LESS_THAN_SIGN)); + case Lb.LESS_THAN_SIGN: + ((t.data += "<"), (this.state = bE.COMMENT_LESS_THAN_SIGN)); break; - case Fb.NULL: - (this._err(Yb.unexpectedNullCharacter), (t.data += Bb)); + case Lb.NULL: + (this._err(Gb.unexpectedNullCharacter), (t.data += Ob)); break; - case Fb.EOF: - (this._err(Yb.eofInComment), + case Lb.EOF: + (this._err(Gb.eofInComment), this.emitCurrentComment(t), this._emitEOFToken()); break; @@ -30121,101 +30075,101 @@ class kE { _stateCommentLessThanSign(e) { const t = this.currentToken; switch (e) { - case Fb.EXCLAMATION_MARK: - ((t.data += "!"), (this.state = yE.COMMENT_LESS_THAN_SIGN_BANG)); + case Lb.EXCLAMATION_MARK: + ((t.data += "!"), (this.state = bE.COMMENT_LESS_THAN_SIGN_BANG)); break; - case Fb.LESS_THAN_SIGN: + case Lb.LESS_THAN_SIGN: t.data += "<"; break; default: - ((this.state = yE.COMMENT), this._stateComment(e)); + ((this.state = bE.COMMENT), this._stateComment(e)); } } _stateCommentLessThanSignBang(e) { - e === Fb.HYPHEN_MINUS - ? (this.state = yE.COMMENT_LESS_THAN_SIGN_BANG_DASH) - : ((this.state = yE.COMMENT), this._stateComment(e)); + e === Lb.HYPHEN_MINUS + ? (this.state = bE.COMMENT_LESS_THAN_SIGN_BANG_DASH) + : ((this.state = bE.COMMENT), this._stateComment(e)); } _stateCommentLessThanSignBangDash(e) { - e === Fb.HYPHEN_MINUS - ? (this.state = yE.COMMENT_LESS_THAN_SIGN_BANG_DASH_DASH) - : ((this.state = yE.COMMENT_END_DASH), this._stateCommentEndDash(e)); + e === Lb.HYPHEN_MINUS + ? (this.state = bE.COMMENT_LESS_THAN_SIGN_BANG_DASH_DASH) + : ((this.state = bE.COMMENT_END_DASH), this._stateCommentEndDash(e)); } _stateCommentLessThanSignBangDashDash(e) { - (e !== Fb.GREATER_THAN_SIGN && e !== Fb.EOF && this._err(Yb.nestedComment), - (this.state = yE.COMMENT_END), + (e !== Lb.GREATER_THAN_SIGN && e !== Lb.EOF && this._err(Gb.nestedComment), + (this.state = bE.COMMENT_END), this._stateCommentEnd(e)); } _stateCommentEndDash(e) { const t = this.currentToken; switch (e) { - case Fb.HYPHEN_MINUS: - this.state = yE.COMMENT_END; + case Lb.HYPHEN_MINUS: + this.state = bE.COMMENT_END; break; - case Fb.EOF: - (this._err(Yb.eofInComment), + case Lb.EOF: + (this._err(Gb.eofInComment), this.emitCurrentComment(t), this._emitEOFToken()); break; default: - ((t.data += "-"), (this.state = yE.COMMENT), this._stateComment(e)); + ((t.data += "-"), (this.state = bE.COMMENT), this._stateComment(e)); } } _stateCommentEnd(e) { const t = this.currentToken; switch (e) { - case Fb.GREATER_THAN_SIGN: - ((this.state = yE.DATA), this.emitCurrentComment(t)); + case Lb.GREATER_THAN_SIGN: + ((this.state = bE.DATA), this.emitCurrentComment(t)); break; - case Fb.EXCLAMATION_MARK: - this.state = yE.COMMENT_END_BANG; + case Lb.EXCLAMATION_MARK: + this.state = bE.COMMENT_END_BANG; break; - case Fb.HYPHEN_MINUS: + case Lb.HYPHEN_MINUS: t.data += "-"; break; - case Fb.EOF: - (this._err(Yb.eofInComment), + case Lb.EOF: + (this._err(Gb.eofInComment), this.emitCurrentComment(t), this._emitEOFToken()); break; default: - ((t.data += "--"), (this.state = yE.COMMENT), this._stateComment(e)); + ((t.data += "--"), (this.state = bE.COMMENT), this._stateComment(e)); } } _stateCommentEndBang(e) { const t = this.currentToken; switch (e) { - case Fb.HYPHEN_MINUS: - ((t.data += "--!"), (this.state = yE.COMMENT_END_DASH)); + case Lb.HYPHEN_MINUS: + ((t.data += "--!"), (this.state = bE.COMMENT_END_DASH)); break; - case Fb.GREATER_THAN_SIGN: - (this._err(Yb.incorrectlyClosedComment), - (this.state = yE.DATA), + case Lb.GREATER_THAN_SIGN: + (this._err(Gb.incorrectlyClosedComment), + (this.state = bE.DATA), this.emitCurrentComment(t)); break; - case Fb.EOF: - (this._err(Yb.eofInComment), + case Lb.EOF: + (this._err(Gb.eofInComment), this.emitCurrentComment(t), this._emitEOFToken()); break; default: - ((t.data += "--!"), (this.state = yE.COMMENT), this._stateComment(e)); + ((t.data += "--!"), (this.state = bE.COMMENT), this._stateComment(e)); } } _stateDoctype(e) { switch (e) { - case Fb.SPACE: - case Fb.LINE_FEED: - case Fb.TABULATION: - case Fb.FORM_FEED: - this.state = yE.BEFORE_DOCTYPE_NAME; - break; - case Fb.GREATER_THAN_SIGN: - ((this.state = yE.BEFORE_DOCTYPE_NAME), + case Lb.SPACE: + case Lb.LINE_FEED: + case Lb.TABULATION: + case Lb.FORM_FEED: + this.state = bE.BEFORE_DOCTYPE_NAME; + break; + case Lb.GREATER_THAN_SIGN: + ((this.state = bE.BEFORE_DOCTYPE_NAME), this._stateBeforeDoctypeName(e)); break; - case Fb.EOF: { - (this._err(Yb.eofInDoctype), this._createDoctypeToken(null)); + case Lb.EOF: { + (this._err(Gb.eofInDoctype), this._createDoctypeToken(null)); const e = this.currentToken; ((e.forceQuirks = !0), this.emitCurrentDoctype(e), @@ -30223,37 +30177,37 @@ class kE { break; } default: - (this._err(Yb.missingWhitespaceBeforeDoctypeName), - (this.state = yE.BEFORE_DOCTYPE_NAME), + (this._err(Gb.missingWhitespaceBeforeDoctypeName), + (this.state = bE.BEFORE_DOCTYPE_NAME), this._stateBeforeDoctypeName(e)); } } _stateBeforeDoctypeName(e) { - if (wE(e)) - (this._createDoctypeToken(String.fromCharCode(NE(e))), - (this.state = yE.DOCTYPE_NAME)); + if (vE(e)) + (this._createDoctypeToken(String.fromCharCode(_E(e))), + (this.state = bE.DOCTYPE_NAME)); else switch (e) { - case Fb.SPACE: - case Fb.LINE_FEED: - case Fb.TABULATION: - case Fb.FORM_FEED: + case Lb.SPACE: + case Lb.LINE_FEED: + case Lb.TABULATION: + case Lb.FORM_FEED: break; - case Fb.NULL: - (this._err(Yb.unexpectedNullCharacter), - this._createDoctypeToken(Bb), - (this.state = yE.DOCTYPE_NAME)); + case Lb.NULL: + (this._err(Gb.unexpectedNullCharacter), + this._createDoctypeToken(Ob), + (this.state = bE.DOCTYPE_NAME)); break; - case Fb.GREATER_THAN_SIGN: { - (this._err(Yb.missingDoctypeName), this._createDoctypeToken(null)); + case Lb.GREATER_THAN_SIGN: { + (this._err(Gb.missingDoctypeName), this._createDoctypeToken(null)); const e = this.currentToken; ((e.forceQuirks = !0), this.emitCurrentDoctype(e), - (this.state = yE.DATA)); + (this.state = bE.DATA)); break; } - case Fb.EOF: { - (this._err(Yb.eofInDoctype), this._createDoctypeToken(null)); + case Lb.EOF: { + (this._err(Gb.eofInDoctype), this._createDoctypeToken(null)); const e = this.currentToken; ((e.forceQuirks = !0), this.emitCurrentDoctype(e), @@ -30262,153 +30216,153 @@ class kE { } default: (this._createDoctypeToken(String.fromCodePoint(e)), - (this.state = yE.DOCTYPE_NAME)); + (this.state = bE.DOCTYPE_NAME)); } } _stateDoctypeName(e) { const t = this.currentToken; switch (e) { - case Fb.SPACE: - case Fb.LINE_FEED: - case Fb.TABULATION: - case Fb.FORM_FEED: - this.state = yE.AFTER_DOCTYPE_NAME; + case Lb.SPACE: + case Lb.LINE_FEED: + case Lb.TABULATION: + case Lb.FORM_FEED: + this.state = bE.AFTER_DOCTYPE_NAME; break; - case Fb.GREATER_THAN_SIGN: - ((this.state = yE.DATA), this.emitCurrentDoctype(t)); + case Lb.GREATER_THAN_SIGN: + ((this.state = bE.DATA), this.emitCurrentDoctype(t)); break; - case Fb.NULL: - (this._err(Yb.unexpectedNullCharacter), (t.name += Bb)); + case Lb.NULL: + (this._err(Gb.unexpectedNullCharacter), (t.name += Ob)); break; - case Fb.EOF: - (this._err(Yb.eofInDoctype), + case Lb.EOF: + (this._err(Gb.eofInDoctype), (t.forceQuirks = !0), this.emitCurrentDoctype(t), this._emitEOFToken()); break; default: - t.name += String.fromCodePoint(wE(e) ? NE(e) : e); + t.name += String.fromCodePoint(vE(e) ? _E(e) : e); } } _stateAfterDoctypeName(e) { const t = this.currentToken; switch (e) { - case Fb.SPACE: - case Fb.LINE_FEED: - case Fb.TABULATION: - case Fb.FORM_FEED: + case Lb.SPACE: + case Lb.LINE_FEED: + case Lb.TABULATION: + case Lb.FORM_FEED: break; - case Fb.GREATER_THAN_SIGN: - ((this.state = yE.DATA), this.emitCurrentDoctype(t)); + case Lb.GREATER_THAN_SIGN: + ((this.state = bE.DATA), this.emitCurrentDoctype(t)); break; - case Fb.EOF: - (this._err(Yb.eofInDoctype), + case Lb.EOF: + (this._err(Gb.eofInDoctype), (t.forceQuirks = !0), this.emitCurrentDoctype(t), this._emitEOFToken()); break; default: - this._consumeSequenceIfMatch(Vb, !1) - ? (this.state = yE.AFTER_DOCTYPE_PUBLIC_KEYWORD) - : this._consumeSequenceIfMatch(Zb, !1) - ? (this.state = yE.AFTER_DOCTYPE_SYSTEM_KEYWORD) + this._consumeSequenceIfMatch(Bb, !1) + ? (this.state = bE.AFTER_DOCTYPE_PUBLIC_KEYWORD) + : this._consumeSequenceIfMatch(Fb, !1) + ? (this.state = bE.AFTER_DOCTYPE_SYSTEM_KEYWORD) : this._ensureHibernation() || - (this._err(Yb.invalidCharacterSequenceAfterDoctypeName), + (this._err(Gb.invalidCharacterSequenceAfterDoctypeName), (t.forceQuirks = !0), - (this.state = yE.BOGUS_DOCTYPE), + (this.state = bE.BOGUS_DOCTYPE), this._stateBogusDoctype(e)); } } _stateAfterDoctypePublicKeyword(e) { const t = this.currentToken; switch (e) { - case Fb.SPACE: - case Fb.LINE_FEED: - case Fb.TABULATION: - case Fb.FORM_FEED: - this.state = yE.BEFORE_DOCTYPE_PUBLIC_IDENTIFIER; - break; - case Fb.QUOTATION_MARK: - (this._err(Yb.missingWhitespaceAfterDoctypePublicKeyword), + case Lb.SPACE: + case Lb.LINE_FEED: + case Lb.TABULATION: + case Lb.FORM_FEED: + this.state = bE.BEFORE_DOCTYPE_PUBLIC_IDENTIFIER; + break; + case Lb.QUOTATION_MARK: + (this._err(Gb.missingWhitespaceAfterDoctypePublicKeyword), (t.publicId = ""), - (this.state = yE.DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED)); + (this.state = bE.DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED)); break; - case Fb.APOSTROPHE: - (this._err(Yb.missingWhitespaceAfterDoctypePublicKeyword), + case Lb.APOSTROPHE: + (this._err(Gb.missingWhitespaceAfterDoctypePublicKeyword), (t.publicId = ""), - (this.state = yE.DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED)); + (this.state = bE.DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED)); break; - case Fb.GREATER_THAN_SIGN: - (this._err(Yb.missingDoctypePublicIdentifier), + case Lb.GREATER_THAN_SIGN: + (this._err(Gb.missingDoctypePublicIdentifier), (t.forceQuirks = !0), - (this.state = yE.DATA), + (this.state = bE.DATA), this.emitCurrentDoctype(t)); break; - case Fb.EOF: - (this._err(Yb.eofInDoctype), + case Lb.EOF: + (this._err(Gb.eofInDoctype), (t.forceQuirks = !0), this.emitCurrentDoctype(t), this._emitEOFToken()); break; default: - (this._err(Yb.missingQuoteBeforeDoctypePublicIdentifier), + (this._err(Gb.missingQuoteBeforeDoctypePublicIdentifier), (t.forceQuirks = !0), - (this.state = yE.BOGUS_DOCTYPE), + (this.state = bE.BOGUS_DOCTYPE), this._stateBogusDoctype(e)); } } _stateBeforeDoctypePublicIdentifier(e) { const t = this.currentToken; switch (e) { - case Fb.SPACE: - case Fb.LINE_FEED: - case Fb.TABULATION: - case Fb.FORM_FEED: + case Lb.SPACE: + case Lb.LINE_FEED: + case Lb.TABULATION: + case Lb.FORM_FEED: break; - case Fb.QUOTATION_MARK: + case Lb.QUOTATION_MARK: ((t.publicId = ""), - (this.state = yE.DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED)); + (this.state = bE.DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED)); break; - case Fb.APOSTROPHE: + case Lb.APOSTROPHE: ((t.publicId = ""), - (this.state = yE.DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED)); + (this.state = bE.DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED)); break; - case Fb.GREATER_THAN_SIGN: - (this._err(Yb.missingDoctypePublicIdentifier), + case Lb.GREATER_THAN_SIGN: + (this._err(Gb.missingDoctypePublicIdentifier), (t.forceQuirks = !0), - (this.state = yE.DATA), + (this.state = bE.DATA), this.emitCurrentDoctype(t)); break; - case Fb.EOF: - (this._err(Yb.eofInDoctype), + case Lb.EOF: + (this._err(Gb.eofInDoctype), (t.forceQuirks = !0), this.emitCurrentDoctype(t), this._emitEOFToken()); break; default: - (this._err(Yb.missingQuoteBeforeDoctypePublicIdentifier), + (this._err(Gb.missingQuoteBeforeDoctypePublicIdentifier), (t.forceQuirks = !0), - (this.state = yE.BOGUS_DOCTYPE), + (this.state = bE.BOGUS_DOCTYPE), this._stateBogusDoctype(e)); } } _stateDoctypePublicIdentifierDoubleQuoted(e) { const t = this.currentToken; switch (e) { - case Fb.QUOTATION_MARK: - this.state = yE.AFTER_DOCTYPE_PUBLIC_IDENTIFIER; + case Lb.QUOTATION_MARK: + this.state = bE.AFTER_DOCTYPE_PUBLIC_IDENTIFIER; break; - case Fb.NULL: - (this._err(Yb.unexpectedNullCharacter), (t.publicId += Bb)); + case Lb.NULL: + (this._err(Gb.unexpectedNullCharacter), (t.publicId += Ob)); break; - case Fb.GREATER_THAN_SIGN: - (this._err(Yb.abruptDoctypePublicIdentifier), + case Lb.GREATER_THAN_SIGN: + (this._err(Gb.abruptDoctypePublicIdentifier), (t.forceQuirks = !0), this.emitCurrentDoctype(t), - (this.state = yE.DATA)); + (this.state = bE.DATA)); break; - case Fb.EOF: - (this._err(Yb.eofInDoctype), + case Lb.EOF: + (this._err(Gb.eofInDoctype), (t.forceQuirks = !0), this.emitCurrentDoctype(t), this._emitEOFToken()); @@ -30420,20 +30374,20 @@ class kE { _stateDoctypePublicIdentifierSingleQuoted(e) { const t = this.currentToken; switch (e) { - case Fb.APOSTROPHE: - this.state = yE.AFTER_DOCTYPE_PUBLIC_IDENTIFIER; + case Lb.APOSTROPHE: + this.state = bE.AFTER_DOCTYPE_PUBLIC_IDENTIFIER; break; - case Fb.NULL: - (this._err(Yb.unexpectedNullCharacter), (t.publicId += Bb)); + case Lb.NULL: + (this._err(Gb.unexpectedNullCharacter), (t.publicId += Ob)); break; - case Fb.GREATER_THAN_SIGN: - (this._err(Yb.abruptDoctypePublicIdentifier), + case Lb.GREATER_THAN_SIGN: + (this._err(Gb.abruptDoctypePublicIdentifier), (t.forceQuirks = !0), this.emitCurrentDoctype(t), - (this.state = yE.DATA)); + (this.state = bE.DATA)); break; - case Fb.EOF: - (this._err(Yb.eofInDoctype), + case Lb.EOF: + (this._err(Gb.eofInDoctype), (t.forceQuirks = !0), this.emitCurrentDoctype(t), this._emitEOFToken()); @@ -30445,164 +30399,164 @@ class kE { _stateAfterDoctypePublicIdentifier(e) { const t = this.currentToken; switch (e) { - case Fb.SPACE: - case Fb.LINE_FEED: - case Fb.TABULATION: - case Fb.FORM_FEED: - this.state = yE.BETWEEN_DOCTYPE_PUBLIC_AND_SYSTEM_IDENTIFIERS; + case Lb.SPACE: + case Lb.LINE_FEED: + case Lb.TABULATION: + case Lb.FORM_FEED: + this.state = bE.BETWEEN_DOCTYPE_PUBLIC_AND_SYSTEM_IDENTIFIERS; break; - case Fb.GREATER_THAN_SIGN: - ((this.state = yE.DATA), this.emitCurrentDoctype(t)); + case Lb.GREATER_THAN_SIGN: + ((this.state = bE.DATA), this.emitCurrentDoctype(t)); break; - case Fb.QUOTATION_MARK: + case Lb.QUOTATION_MARK: (this._err( - Yb.missingWhitespaceBetweenDoctypePublicAndSystemIdentifiers, + Gb.missingWhitespaceBetweenDoctypePublicAndSystemIdentifiers, ), (t.systemId = ""), - (this.state = yE.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED)); + (this.state = bE.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED)); break; - case Fb.APOSTROPHE: + case Lb.APOSTROPHE: (this._err( - Yb.missingWhitespaceBetweenDoctypePublicAndSystemIdentifiers, + Gb.missingWhitespaceBetweenDoctypePublicAndSystemIdentifiers, ), (t.systemId = ""), - (this.state = yE.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED)); + (this.state = bE.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED)); break; - case Fb.EOF: - (this._err(Yb.eofInDoctype), + case Lb.EOF: + (this._err(Gb.eofInDoctype), (t.forceQuirks = !0), this.emitCurrentDoctype(t), this._emitEOFToken()); break; default: - (this._err(Yb.missingQuoteBeforeDoctypeSystemIdentifier), + (this._err(Gb.missingQuoteBeforeDoctypeSystemIdentifier), (t.forceQuirks = !0), - (this.state = yE.BOGUS_DOCTYPE), + (this.state = bE.BOGUS_DOCTYPE), this._stateBogusDoctype(e)); } } _stateBetweenDoctypePublicAndSystemIdentifiers(e) { const t = this.currentToken; switch (e) { - case Fb.SPACE: - case Fb.LINE_FEED: - case Fb.TABULATION: - case Fb.FORM_FEED: + case Lb.SPACE: + case Lb.LINE_FEED: + case Lb.TABULATION: + case Lb.FORM_FEED: break; - case Fb.GREATER_THAN_SIGN: - (this.emitCurrentDoctype(t), (this.state = yE.DATA)); + case Lb.GREATER_THAN_SIGN: + (this.emitCurrentDoctype(t), (this.state = bE.DATA)); break; - case Fb.QUOTATION_MARK: + case Lb.QUOTATION_MARK: ((t.systemId = ""), - (this.state = yE.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED)); + (this.state = bE.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED)); break; - case Fb.APOSTROPHE: + case Lb.APOSTROPHE: ((t.systemId = ""), - (this.state = yE.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED)); + (this.state = bE.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED)); break; - case Fb.EOF: - (this._err(Yb.eofInDoctype), + case Lb.EOF: + (this._err(Gb.eofInDoctype), (t.forceQuirks = !0), this.emitCurrentDoctype(t), this._emitEOFToken()); break; default: - (this._err(Yb.missingQuoteBeforeDoctypeSystemIdentifier), + (this._err(Gb.missingQuoteBeforeDoctypeSystemIdentifier), (t.forceQuirks = !0), - (this.state = yE.BOGUS_DOCTYPE), + (this.state = bE.BOGUS_DOCTYPE), this._stateBogusDoctype(e)); } } _stateAfterDoctypeSystemKeyword(e) { const t = this.currentToken; switch (e) { - case Fb.SPACE: - case Fb.LINE_FEED: - case Fb.TABULATION: - case Fb.FORM_FEED: - this.state = yE.BEFORE_DOCTYPE_SYSTEM_IDENTIFIER; - break; - case Fb.QUOTATION_MARK: - (this._err(Yb.missingWhitespaceAfterDoctypeSystemKeyword), + case Lb.SPACE: + case Lb.LINE_FEED: + case Lb.TABULATION: + case Lb.FORM_FEED: + this.state = bE.BEFORE_DOCTYPE_SYSTEM_IDENTIFIER; + break; + case Lb.QUOTATION_MARK: + (this._err(Gb.missingWhitespaceAfterDoctypeSystemKeyword), (t.systemId = ""), - (this.state = yE.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED)); + (this.state = bE.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED)); break; - case Fb.APOSTROPHE: - (this._err(Yb.missingWhitespaceAfterDoctypeSystemKeyword), + case Lb.APOSTROPHE: + (this._err(Gb.missingWhitespaceAfterDoctypeSystemKeyword), (t.systemId = ""), - (this.state = yE.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED)); + (this.state = bE.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED)); break; - case Fb.GREATER_THAN_SIGN: - (this._err(Yb.missingDoctypeSystemIdentifier), + case Lb.GREATER_THAN_SIGN: + (this._err(Gb.missingDoctypeSystemIdentifier), (t.forceQuirks = !0), - (this.state = yE.DATA), + (this.state = bE.DATA), this.emitCurrentDoctype(t)); break; - case Fb.EOF: - (this._err(Yb.eofInDoctype), + case Lb.EOF: + (this._err(Gb.eofInDoctype), (t.forceQuirks = !0), this.emitCurrentDoctype(t), this._emitEOFToken()); break; default: - (this._err(Yb.missingQuoteBeforeDoctypeSystemIdentifier), + (this._err(Gb.missingQuoteBeforeDoctypeSystemIdentifier), (t.forceQuirks = !0), - (this.state = yE.BOGUS_DOCTYPE), + (this.state = bE.BOGUS_DOCTYPE), this._stateBogusDoctype(e)); } } _stateBeforeDoctypeSystemIdentifier(e) { const t = this.currentToken; switch (e) { - case Fb.SPACE: - case Fb.LINE_FEED: - case Fb.TABULATION: - case Fb.FORM_FEED: + case Lb.SPACE: + case Lb.LINE_FEED: + case Lb.TABULATION: + case Lb.FORM_FEED: break; - case Fb.QUOTATION_MARK: + case Lb.QUOTATION_MARK: ((t.systemId = ""), - (this.state = yE.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED)); + (this.state = bE.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED)); break; - case Fb.APOSTROPHE: + case Lb.APOSTROPHE: ((t.systemId = ""), - (this.state = yE.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED)); + (this.state = bE.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED)); break; - case Fb.GREATER_THAN_SIGN: - (this._err(Yb.missingDoctypeSystemIdentifier), + case Lb.GREATER_THAN_SIGN: + (this._err(Gb.missingDoctypeSystemIdentifier), (t.forceQuirks = !0), - (this.state = yE.DATA), + (this.state = bE.DATA), this.emitCurrentDoctype(t)); break; - case Fb.EOF: - (this._err(Yb.eofInDoctype), + case Lb.EOF: + (this._err(Gb.eofInDoctype), (t.forceQuirks = !0), this.emitCurrentDoctype(t), this._emitEOFToken()); break; default: - (this._err(Yb.missingQuoteBeforeDoctypeSystemIdentifier), + (this._err(Gb.missingQuoteBeforeDoctypeSystemIdentifier), (t.forceQuirks = !0), - (this.state = yE.BOGUS_DOCTYPE), + (this.state = bE.BOGUS_DOCTYPE), this._stateBogusDoctype(e)); } } _stateDoctypeSystemIdentifierDoubleQuoted(e) { const t = this.currentToken; switch (e) { - case Fb.QUOTATION_MARK: - this.state = yE.AFTER_DOCTYPE_SYSTEM_IDENTIFIER; + case Lb.QUOTATION_MARK: + this.state = bE.AFTER_DOCTYPE_SYSTEM_IDENTIFIER; break; - case Fb.NULL: - (this._err(Yb.unexpectedNullCharacter), (t.systemId += Bb)); + case Lb.NULL: + (this._err(Gb.unexpectedNullCharacter), (t.systemId += Ob)); break; - case Fb.GREATER_THAN_SIGN: - (this._err(Yb.abruptDoctypeSystemIdentifier), + case Lb.GREATER_THAN_SIGN: + (this._err(Gb.abruptDoctypeSystemIdentifier), (t.forceQuirks = !0), this.emitCurrentDoctype(t), - (this.state = yE.DATA)); + (this.state = bE.DATA)); break; - case Fb.EOF: - (this._err(Yb.eofInDoctype), + case Lb.EOF: + (this._err(Gb.eofInDoctype), (t.forceQuirks = !0), this.emitCurrentDoctype(t), this._emitEOFToken()); @@ -30614,20 +30568,20 @@ class kE { _stateDoctypeSystemIdentifierSingleQuoted(e) { const t = this.currentToken; switch (e) { - case Fb.APOSTROPHE: - this.state = yE.AFTER_DOCTYPE_SYSTEM_IDENTIFIER; + case Lb.APOSTROPHE: + this.state = bE.AFTER_DOCTYPE_SYSTEM_IDENTIFIER; break; - case Fb.NULL: - (this._err(Yb.unexpectedNullCharacter), (t.systemId += Bb)); + case Lb.NULL: + (this._err(Gb.unexpectedNullCharacter), (t.systemId += Ob)); break; - case Fb.GREATER_THAN_SIGN: - (this._err(Yb.abruptDoctypeSystemIdentifier), + case Lb.GREATER_THAN_SIGN: + (this._err(Gb.abruptDoctypeSystemIdentifier), (t.forceQuirks = !0), this.emitCurrentDoctype(t), - (this.state = yE.DATA)); + (this.state = bE.DATA)); break; - case Fb.EOF: - (this._err(Yb.eofInDoctype), + case Lb.EOF: + (this._err(Gb.eofInDoctype), (t.forceQuirks = !0), this.emitCurrentDoctype(t), this._emitEOFToken()); @@ -30639,69 +30593,69 @@ class kE { _stateAfterDoctypeSystemIdentifier(e) { const t = this.currentToken; switch (e) { - case Fb.SPACE: - case Fb.LINE_FEED: - case Fb.TABULATION: - case Fb.FORM_FEED: + case Lb.SPACE: + case Lb.LINE_FEED: + case Lb.TABULATION: + case Lb.FORM_FEED: break; - case Fb.GREATER_THAN_SIGN: - (this.emitCurrentDoctype(t), (this.state = yE.DATA)); + case Lb.GREATER_THAN_SIGN: + (this.emitCurrentDoctype(t), (this.state = bE.DATA)); break; - case Fb.EOF: - (this._err(Yb.eofInDoctype), + case Lb.EOF: + (this._err(Gb.eofInDoctype), (t.forceQuirks = !0), this.emitCurrentDoctype(t), this._emitEOFToken()); break; default: - (this._err(Yb.unexpectedCharacterAfterDoctypeSystemIdentifier), - (this.state = yE.BOGUS_DOCTYPE), + (this._err(Gb.unexpectedCharacterAfterDoctypeSystemIdentifier), + (this.state = bE.BOGUS_DOCTYPE), this._stateBogusDoctype(e)); } } _stateBogusDoctype(e) { const t = this.currentToken; switch (e) { - case Fb.GREATER_THAN_SIGN: - (this.emitCurrentDoctype(t), (this.state = yE.DATA)); + case Lb.GREATER_THAN_SIGN: + (this.emitCurrentDoctype(t), (this.state = bE.DATA)); break; - case Fb.NULL: - this._err(Yb.unexpectedNullCharacter); + case Lb.NULL: + this._err(Gb.unexpectedNullCharacter); break; - case Fb.EOF: + case Lb.EOF: (this.emitCurrentDoctype(t), this._emitEOFToken()); } } _stateCdataSection(e) { switch (e) { - case Fb.RIGHT_SQUARE_BRACKET: - this.state = yE.CDATA_SECTION_BRACKET; + case Lb.RIGHT_SQUARE_BRACKET: + this.state = bE.CDATA_SECTION_BRACKET; break; - case Fb.EOF: - (this._err(Yb.eofInCdata), this._emitEOFToken()); + case Lb.EOF: + (this._err(Gb.eofInCdata), this._emitEOFToken()); break; default: this._emitCodePoint(e); } } _stateCdataSectionBracket(e) { - e === Fb.RIGHT_SQUARE_BRACKET - ? (this.state = yE.CDATA_SECTION_END) + e === Lb.RIGHT_SQUARE_BRACKET + ? (this.state = bE.CDATA_SECTION_END) : (this._emitChars("]"), - (this.state = yE.CDATA_SECTION), + (this.state = bE.CDATA_SECTION), this._stateCdataSection(e)); } _stateCdataSectionEnd(e) { switch (e) { - case Fb.GREATER_THAN_SIGN: - this.state = yE.DATA; + case Lb.GREATER_THAN_SIGN: + this.state = bE.DATA; break; - case Fb.RIGHT_SQUARE_BRACKET: + case Lb.RIGHT_SQUARE_BRACKET: this._emitChars("]"); break; default: (this._emitChars("]]"), - (this.state = yE.CDATA_SECTION), + (this.state = bE.CDATA_SECTION), this._stateCdataSection(e)); } } @@ -30722,65 +30676,65 @@ class kE { } 0 === e ? ((this.preprocessor.pos = this.entityStartPos), - this._flushCodePointConsumedAsCharacterReference(Fb.AMPERSAND), + this._flushCodePointConsumedAsCharacterReference(Lb.AMPERSAND), (this.state = !this._isCharacterReferenceInAttribute() && - CE(this.preprocessor.peek(1)) - ? yE.AMBIGUOUS_AMPERSAND + TE(this.preprocessor.peek(1)) + ? bE.AMBIGUOUS_AMPERSAND : this.returnState)) : (this.state = this.returnState); } _stateAmbiguousAmpersand(e) { - CE(e) + TE(e) ? this._flushCodePointConsumedAsCharacterReference(e) - : (e === Fb.SEMICOLON && this._err(Yb.unknownNamedCharacterReference), + : (e === Lb.SEMICOLON && this._err(Gb.unknownNamedCharacterReference), (this.state = this.returnState), this._callState(e)); } } -const OE = new Set([ - pE.DD, - pE.DT, - pE.LI, - pE.OPTGROUP, - pE.OPTION, - pE.P, - pE.RB, - pE.RP, - pE.RT, - pE.RTC, +const AE = new Set([ + oE.DD, + oE.DT, + oE.LI, + oE.OPTGROUP, + oE.OPTION, + oE.P, + oE.RB, + oE.RP, + oE.RT, + oE.RTC, ]), - LE = new Set([ - ...OE, - pE.CAPTION, - pE.COLGROUP, - pE.TBODY, - pE.TD, - pE.TFOOT, - pE.TH, - pE.THEAD, - pE.TR, + CE = new Set([ + ...AE, + oE.CAPTION, + oE.COLGROUP, + oE.TBODY, + oE.TD, + oE.TFOOT, + oE.TH, + oE.THEAD, + oE.TR, ]), - ME = new Set([ - pE.APPLET, - pE.CAPTION, - pE.HTML, - pE.MARQUEE, - pE.OBJECT, - pE.TABLE, - pE.TD, - pE.TEMPLATE, - pE.TH, + NE = new Set([ + oE.APPLET, + oE.CAPTION, + oE.HTML, + oE.MARQUEE, + oE.OBJECT, + oE.TABLE, + oE.TD, + oE.TEMPLATE, + oE.TH, ]), - DE = new Set([...ME, pE.OL, pE.UL]), - PE = new Set([...ME, pE.BUTTON]), - jE = new Set([pE.ANNOTATION_XML, pE.MI, pE.MN, pE.MO, pE.MS, pE.MTEXT]), - BE = new Set([pE.DESC, pE.FOREIGN_OBJECT, pE.TITLE]), - FE = new Set([pE.TR, pE.TEMPLATE, pE.HTML]), - HE = new Set([pE.TBODY, pE.TFOOT, pE.THEAD, pE.TEMPLATE, pE.HTML]), - zE = new Set([pE.TABLE, pE.TEMPLATE, pE.HTML]), - UE = new Set([pE.TD, pE.TH]); -class GE { + IE = new Set([...NE, oE.OL, oE.UL]), + RE = new Set([...NE, oE.BUTTON]), + kE = new Set([oE.ANNOTATION_XML, oE.MI, oE.MN, oE.MO, oE.MS, oE.MTEXT]), + OE = new Set([oE.DESC, oE.FOREIGN_OBJECT, oE.TITLE]), + LE = new Set([oE.TR, oE.TEMPLATE, oE.HTML]), + ME = new Set([oE.TBODY, oE.TFOOT, oE.THEAD, oE.TEMPLATE, oE.HTML]), + DE = new Set([oE.TABLE, oE.TEMPLATE, oE.HTML]), + PE = new Set([oE.TD, oE.TH]); +class jE { get currentTmplContentOrNode() { return this._isInTemplate() ? this.treeAdapter.getTemplateContent(this.current) @@ -30793,7 +30747,7 @@ class GE { (this.tagIDs = []), (this.stackTop = -1), (this.tmplCount = 0), - (this.currentTagId = pE.UNKNOWN), + (this.currentTagId = oE.UNKNOWN), (this.current = e)); } _indexOf(e) { @@ -30801,8 +30755,8 @@ class GE { } _isInTemplate() { return ( - this.currentTagId === pE.TEMPLATE && - this.treeAdapter.getNamespaceURI(this.current) === lE.HTML + this.currentTagId === oE.TEMPLATE && + this.treeAdapter.getNamespaceURI(this.current) === nE.HTML ); } _updateCurrentElement() { @@ -30847,7 +30801,7 @@ class GE { t = this.tagIDs.lastIndexOf(e, t - 1); } while ( t > 0 && - this.treeAdapter.getNamespaceURI(this.items[t]) !== lE.HTML + this.treeAdapter.getNamespaceURI(this.items[t]) !== nE.HTML ); this.shortenToLength(t < 0 ? 0 : t); } @@ -30869,10 +30823,10 @@ class GE { this.shortenToLength(n < 0 ? 0 : n); } popUntilNumberedHeaderPopped() { - this.popUntilPopped(_E, lE.HTML); + this.popUntilPopped(fE, nE.HTML); } popUntilTableCellPopped() { - this.popUntilPopped(UE, lE.HTML); + this.popUntilPopped(PE, nE.HTML); } popAllUpToHtmlElement() { ((this.tmplCount = 0), this.shortenToLength(1)); @@ -30891,13 +30845,13 @@ class GE { this.shortenToLength(n + 1); } clearBackToTableContext() { - this.clearBackTo(zE, lE.HTML); + this.clearBackTo(DE, nE.HTML); } clearBackToTableBodyContext() { - this.clearBackTo(HE, lE.HTML); + this.clearBackTo(ME, nE.HTML); } clearBackToTableRowContext() { - this.clearBackTo(FE, lE.HTML); + this.clearBackTo(LE, nE.HTML); } remove(e) { const t = this._indexOf(e); @@ -30911,7 +30865,7 @@ class GE { this.handler.onItemPop(e, !1))); } tryPeekProperlyNestedBodyElement() { - return this.stackTop >= 1 && this.tagIDs[1] === pE.BODY + return this.stackTop >= 1 && this.tagIDs[1] === oE.BODY ? this.items[1] : null; } @@ -30923,85 +30877,85 @@ class GE { return t >= 0 ? this.items[t] : null; } isRootHtmlElementCurrent() { - return 0 === this.stackTop && this.tagIDs[0] === pE.HTML; + return 0 === this.stackTop && this.tagIDs[0] === oE.HTML; } hasInDynamicScope(e, t) { for (let n = this.stackTop; n >= 0; n--) { const a = this.tagIDs[n]; switch (this.treeAdapter.getNamespaceURI(this.items[n])) { - case lE.HTML: + case nE.HTML: if (a === e) return !0; if (t.has(a)) return !1; break; - case lE.SVG: - if (BE.has(a)) return !1; + case nE.SVG: + if (OE.has(a)) return !1; break; - case lE.MATHML: - if (jE.has(a)) return !1; + case nE.MATHML: + if (kE.has(a)) return !1; } } return !0; } hasInScope(e) { - return this.hasInDynamicScope(e, ME); + return this.hasInDynamicScope(e, NE); } hasInListItemScope(e) { - return this.hasInDynamicScope(e, DE); + return this.hasInDynamicScope(e, IE); } hasInButtonScope(e) { - return this.hasInDynamicScope(e, PE); + return this.hasInDynamicScope(e, RE); } hasNumberedHeaderInScope() { for (let e = this.stackTop; e >= 0; e--) { const t = this.tagIDs[e]; switch (this.treeAdapter.getNamespaceURI(this.items[e])) { - case lE.HTML: - if (_E.has(t)) return !0; - if (ME.has(t)) return !1; + case nE.HTML: + if (fE.has(t)) return !0; + if (NE.has(t)) return !1; break; - case lE.SVG: - if (BE.has(t)) return !1; + case nE.SVG: + if (OE.has(t)) return !1; break; - case lE.MATHML: - if (jE.has(t)) return !1; + case nE.MATHML: + if (kE.has(t)) return !1; } } return !0; } hasInTableScope(e) { for (let t = this.stackTop; t >= 0; t--) - if (this.treeAdapter.getNamespaceURI(this.items[t]) === lE.HTML) + if (this.treeAdapter.getNamespaceURI(this.items[t]) === nE.HTML) switch (this.tagIDs[t]) { case e: return !0; - case pE.TABLE: - case pE.HTML: + case oE.TABLE: + case oE.HTML: return !1; } return !0; } hasTableBodyContextInTableScope() { for (let e = this.stackTop; e >= 0; e--) - if (this.treeAdapter.getNamespaceURI(this.items[e]) === lE.HTML) + if (this.treeAdapter.getNamespaceURI(this.items[e]) === nE.HTML) switch (this.tagIDs[e]) { - case pE.TBODY: - case pE.THEAD: - case pE.TFOOT: + case oE.TBODY: + case oE.THEAD: + case oE.TFOOT: return !0; - case pE.TABLE: - case pE.HTML: + case oE.TABLE: + case oE.HTML: return !1; } return !0; } hasInSelectScope(e) { for (let t = this.stackTop; t >= 0; t--) - if (this.treeAdapter.getNamespaceURI(this.items[t]) === lE.HTML) + if (this.treeAdapter.getNamespaceURI(this.items[t]) === nE.HTML) switch (this.tagIDs[t]) { case e: return !0; - case pE.OPTION: - case pE.OPTGROUP: + case oE.OPTION: + case oE.OPTGROUP: break; default: return !1; @@ -31009,21 +30963,21 @@ class GE { return !0; } generateImpliedEndTags() { - for (; OE.has(this.currentTagId); ) this.pop(); + for (; AE.has(this.currentTagId); ) this.pop(); } generateImpliedEndTagsThoroughly() { - for (; LE.has(this.currentTagId); ) this.pop(); + for (; CE.has(this.currentTagId); ) this.pop(); } generateImpliedEndTagsWithExclusion(e) { - for (; this.currentTagId !== e && LE.has(this.currentTagId); ) this.pop(); + for (; this.currentTagId !== e && CE.has(this.currentTagId); ) this.pop(); } } -var VE; +var BE; !(function (e) { ((e[(e.Marker = 0)] = "Marker"), (e[(e.Element = 1)] = "Element")); -})(VE || (VE = {})); -const ZE = { type: VE.Marker }; -class $E { +})(BE || (BE = {})); +const FE = { type: BE.Marker }; +class HE { constructor(e) { ((this.treeAdapter = e), (this.entries = []), (this.bookmark = null)); } @@ -31034,7 +30988,7 @@ class $E { i = this.treeAdapter.getNamespaceURI(e); for (let e = 0; e < this.entries.length; e++) { const t = this.entries[e]; - if (t.type === VE.Marker) break; + if (t.type === BE.Marker) break; const { element: o } = t; if ( this.treeAdapter.getTagName(o) === r && @@ -31060,39 +31014,39 @@ class $E { } } insertMarker() { - this.entries.unshift(ZE); + this.entries.unshift(FE); } pushElement(e, t) { (this._ensureNoahArkCondition(e), - this.entries.unshift({ type: VE.Element, element: e, token: t })); + this.entries.unshift({ type: BE.Element, element: e, token: t })); } insertElementAfterBookmark(e, t) { const n = this.entries.indexOf(this.bookmark); - this.entries.splice(n, 0, { type: VE.Element, element: e, token: t }); + this.entries.splice(n, 0, { type: BE.Element, element: e, token: t }); } removeEntry(e) { const t = this.entries.indexOf(e); t >= 0 && this.entries.splice(t, 1); } clearToLastMarker() { - const e = this.entries.indexOf(ZE); + const e = this.entries.indexOf(FE); e >= 0 ? this.entries.splice(0, e + 1) : (this.entries.length = 0); } getElementEntryInScopeWithTagName(e) { const t = this.entries.find( (t) => - t.type === VE.Marker || this.treeAdapter.getTagName(t.element) === e, + t.type === BE.Marker || this.treeAdapter.getTagName(t.element) === e, ); - return t && t.type === VE.Element ? t : null; + return t && t.type === BE.Element ? t : null; } getElementEntry(e) { - return this.entries.find((t) => t.type === VE.Element && t.element === e); + return this.entries.find((t) => t.type === BE.Element && t.element === e); } } -const WE = { +const zE = { createDocument: () => ({ nodeName: "#document", - mode: dE.NO_QUIRKS, + mode: rE.NO_QUIRKS, childNodes: [], }), createDocumentFragment: () => ({ @@ -31135,7 +31089,7 @@ const WE = { systemId: a, parentNode: null, }; - WE.appendChild(e, r); + zE.appendChild(e, r); } }, setDocumentMode(e, t) { @@ -31151,15 +31105,15 @@ const WE = { insertText(e, t) { if (e.childNodes.length > 0) { const n = e.childNodes[e.childNodes.length - 1]; - if (WE.isTextNode(n)) return void (n.value += t); + if (zE.isTextNode(n)) return void (n.value += t); } - WE.appendChild(e, WE.createTextNode(t)); + zE.appendChild(e, zE.createTextNode(t)); }, insertTextBefore(e, t, n) { const a = e.childNodes[e.childNodes.indexOf(n) - 1]; - a && WE.isTextNode(a) + a && zE.isTextNode(a) ? (a.value += t) - : WE.insertBefore(e, WE.createTextNode(t), n); + : zE.insertBefore(e, zE.createTextNode(t), n); }, adoptAttributes(e, t) { const n = new Set(e.attrs.map((e) => e.name)); @@ -31188,10 +31142,10 @@ const WE = { e.sourceCodeLocation = { ...e.sourceCodeLocation, ...t }; }, }, - qE = "html", - YE = "about:legacy-compat", - KE = "http://www.ibm.com/data/dtd/v11/ibmxhtml1-transitional.dtd", - XE = [ + UE = "html", + GE = "about:legacy-compat", + VE = "http://www.ibm.com/data/dtd/v11/ibmxhtml1-transitional.dtd", + ZE = [ "+//silmaril//dtd html pro v0r11 19970101//", "-//as//dtd html 3.0 aswedit + extensions//", "-//advasoft ltd//dtd html 3.0 aswedit + extensions//", @@ -31248,32 +31202,32 @@ const WE = { "-//webtechs//dtd mozilla html 2.0//", "-//webtechs//dtd mozilla html//", ], - QE = [ - ...XE, + $E = [ + ...ZE, "-//w3c//dtd html 4.01 frameset//", "-//w3c//dtd html 4.01 transitional//", ], - JE = new Set([ + WE = new Set([ "-//w3o//dtd w3 html strict 3.0//en//", "-/w3c/dtd html 4.0 transitional/en", "html", ]), - ev = [ + qE = [ "-//w3c//dtd xhtml 1.0 frameset//", "-//w3c//dtd xhtml 1.0 transitional//", ], - tv = [ - ...ev, + YE = [ + ...qE, "-//w3c//dtd html 4.01 frameset//", "-//w3c//dtd html 4.01 transitional//", ]; -function nv(e, t) { +function KE(e, t) { return t.some((t) => e.startsWith(t)); } -const av = { TEXT_HTML: "text/html", APPLICATION_XML: "application/xhtml+xml" }, - rv = "definitionurl", - iv = "definitionURL", - ov = new Map( +const XE = { TEXT_HTML: "text/html", APPLICATION_XML: "application/xhtml+xml" }, + QE = "definitionurl", + JE = "definitionURL", + ev = new Map( [ "attributeName", "attributeType", @@ -31335,26 +31289,26 @@ const av = { TEXT_HTML: "text/html", APPLICATION_XML: "application/xhtml+xml" }, "zoomAndPan", ].map((e) => [e.toLowerCase(), e]), ), - sv = new Map([ + tv = new Map([ [ "xlink:actuate", - { prefix: "xlink", name: "actuate", namespace: lE.XLINK }, + { prefix: "xlink", name: "actuate", namespace: nE.XLINK }, ], [ "xlink:arcrole", - { prefix: "xlink", name: "arcrole", namespace: lE.XLINK }, + { prefix: "xlink", name: "arcrole", namespace: nE.XLINK }, ], - ["xlink:href", { prefix: "xlink", name: "href", namespace: lE.XLINK }], - ["xlink:role", { prefix: "xlink", name: "role", namespace: lE.XLINK }], - ["xlink:show", { prefix: "xlink", name: "show", namespace: lE.XLINK }], - ["xlink:title", { prefix: "xlink", name: "title", namespace: lE.XLINK }], - ["xlink:type", { prefix: "xlink", name: "type", namespace: lE.XLINK }], - ["xml:lang", { prefix: "xml", name: "lang", namespace: lE.XML }], - ["xml:space", { prefix: "xml", name: "space", namespace: lE.XML }], - ["xmlns", { prefix: "", name: "xmlns", namespace: lE.XMLNS }], - ["xmlns:xlink", { prefix: "xmlns", name: "xlink", namespace: lE.XMLNS }], + ["xlink:href", { prefix: "xlink", name: "href", namespace: nE.XLINK }], + ["xlink:role", { prefix: "xlink", name: "role", namespace: nE.XLINK }], + ["xlink:show", { prefix: "xlink", name: "show", namespace: nE.XLINK }], + ["xlink:title", { prefix: "xlink", name: "title", namespace: nE.XLINK }], + ["xlink:type", { prefix: "xlink", name: "type", namespace: nE.XLINK }], + ["xml:lang", { prefix: "xml", name: "lang", namespace: nE.XML }], + ["xml:space", { prefix: "xml", name: "space", namespace: nE.XML }], + ["xmlns", { prefix: "", name: "xmlns", namespace: nE.XMLNS }], + ["xmlns:xlink", { prefix: "xmlns", name: "xlink", namespace: nE.XMLNS }], ]), - lv = new Map( + nv = new Map( [ "altGlyph", "altGlyphDef", @@ -31394,106 +31348,106 @@ const av = { TEXT_HTML: "text/html", APPLICATION_XML: "application/xhtml+xml" }, "textPath", ].map((e) => [e.toLowerCase(), e]), ), - cv = new Set([ - pE.B, - pE.BIG, - pE.BLOCKQUOTE, - pE.BODY, - pE.BR, - pE.CENTER, - pE.CODE, - pE.DD, - pE.DIV, - pE.DL, - pE.DT, - pE.EM, - pE.EMBED, - pE.H1, - pE.H2, - pE.H3, - pE.H4, - pE.H5, - pE.H6, - pE.HEAD, - pE.HR, - pE.I, - pE.IMG, - pE.LI, - pE.LISTING, - pE.MENU, - pE.META, - pE.NOBR, - pE.OL, - pE.P, - pE.PRE, - pE.RUBY, - pE.S, - pE.SMALL, - pE.SPAN, - pE.STRONG, - pE.STRIKE, - pE.SUB, - pE.SUP, - pE.TABLE, - pE.TT, - pE.U, - pE.UL, - pE.VAR, + av = new Set([ + oE.B, + oE.BIG, + oE.BLOCKQUOTE, + oE.BODY, + oE.BR, + oE.CENTER, + oE.CODE, + oE.DD, + oE.DIV, + oE.DL, + oE.DT, + oE.EM, + oE.EMBED, + oE.H1, + oE.H2, + oE.H3, + oE.H4, + oE.H5, + oE.H6, + oE.HEAD, + oE.HR, + oE.I, + oE.IMG, + oE.LI, + oE.LISTING, + oE.MENU, + oE.META, + oE.NOBR, + oE.OL, + oE.P, + oE.PRE, + oE.RUBY, + oE.S, + oE.SMALL, + oE.SPAN, + oE.STRONG, + oE.STRIKE, + oE.SUB, + oE.SUP, + oE.TABLE, + oE.TT, + oE.U, + oE.UL, + oE.VAR, ]); -function dv(e) { +function rv(e) { for (let t = 0; t < e.attrs.length; t++) - if (e.attrs[t].name === rv) { - e.attrs[t].name = iv; + if (e.attrs[t].name === QE) { + e.attrs[t].name = JE; break; } } -function uv(e) { +function iv(e) { for (let t = 0; t < e.attrs.length; t++) { - const n = ov.get(e.attrs[t].name); + const n = ev.get(e.attrs[t].name); null != n && (e.attrs[t].name = n); } } -function pv(e) { +function ov(e) { for (let t = 0; t < e.attrs.length; t++) { - const n = sv.get(e.attrs[t].name); + const n = tv.get(e.attrs[t].name); n && ((e.attrs[t].prefix = n.prefix), (e.attrs[t].name = n.name), (e.attrs[t].namespace = n.namespace)); } } -function hv(e, t, n, a) { +function sv(e, t, n, a) { return ( - ((!a || a === lE.HTML) && + ((!a || a === nE.HTML) && (function (e, t, n) { - if (t === lE.MATHML && e === pE.ANNOTATION_XML) + if (t === nE.MATHML && e === oE.ANNOTATION_XML) for (let e = 0; e < n.length; e++) - if (n[e].name === cE.ENCODING) { + if (n[e].name === aE.ENCODING) { const t = n[e].value.toLowerCase(); - return t === av.TEXT_HTML || t === av.APPLICATION_XML; + return t === XE.TEXT_HTML || t === XE.APPLICATION_XML; } return ( - t === lE.SVG && - (e === pE.FOREIGN_OBJECT || e === pE.DESC || e === pE.TITLE) + t === nE.SVG && + (e === oE.FOREIGN_OBJECT || e === oE.DESC || e === oE.TITLE) ); })(e, t, n)) || - ((!a || a === lE.MATHML) && + ((!a || a === nE.MATHML) && (function (e, t) { return ( - t === lE.MATHML && - (e === pE.MI || - e === pE.MO || - e === pE.MN || - e === pE.MS || - e === pE.MTEXT) + t === nE.MATHML && + (e === oE.MI || + e === oE.MO || + e === oE.MN || + e === oE.MS || + e === oE.MTEXT) ); })(e, t)) ); } -const mv = "hidden", - gv = 8, - fv = 3; -var bv; +const lv = "hidden", + cv = 8, + dv = 3; +var uv; !(function (e) { ((e[(e.INITIAL = 0)] = "INITIAL"), (e[(e.BEFORE_HTML = 1)] = "BEFORE_HTML"), @@ -31518,8 +31472,8 @@ var bv; (e[(e.AFTER_FRAMESET = 20)] = "AFTER_FRAMESET"), (e[(e.AFTER_AFTER_BODY = 21)] = "AFTER_AFTER_BODY"), (e[(e.AFTER_AFTER_FRAMESET = 22)] = "AFTER_AFTER_FRAMESET")); -})(bv || (bv = {})); -const Ev = { +})(uv || (uv = {})); +const pv = { startLine: -1, startCol: -1, startOffset: -1, @@ -31527,21 +31481,21 @@ const Ev = { endCol: -1, endOffset: -1, }, - vv = new Set([pE.TABLE, pE.TBODY, pE.TFOOT, pE.THEAD, pE.TR]), - xv = { + hv = new Set([oE.TABLE, oE.TBODY, oE.TFOOT, oE.THEAD, oE.TR]), + mv = { scriptingEnabled: !0, sourceCodeLocationInfo: !1, - treeAdapter: WE, + treeAdapter: zE, onParseError: null, }; -class Tv { +class gv { constructor(e, t, n = null, a = null) { ((this.fragmentContext = n), (this.scriptHandler = a), (this.currentToken = null), (this.stopped = !1), - (this.insertionMode = bv.INITIAL), - (this.originalInsertionMode = bv.INITIAL), + (this.insertionMode = uv.INITIAL), + (this.originalInsertionMode = uv.INITIAL), (this.headElement = null), (this.formElement = null), (this.currentNotInHTML = !1), @@ -31551,34 +31505,34 @@ class Tv { (this.framesetOk = !0), (this.skipNextNewLine = !1), (this.fosterParentingEnabled = !1), - (this.options = { ...xv, ...e }), + (this.options = { ...mv, ...e }), (this.treeAdapter = this.options.treeAdapter), (this.onParseError = this.options.onParseError), this.onParseError && (this.options.sourceCodeLocationInfo = !0), (this.document = null != t ? t : this.treeAdapter.createDocument()), - (this.tokenizer = new kE(this.options, this)), - (this.activeFormattingElements = new $E(this.treeAdapter)), + (this.tokenizer = new wE(this.options, this)), + (this.activeFormattingElements = new HE(this.treeAdapter)), (this.fragmentContextID = n - ? vE(this.treeAdapter.getTagName(n)) - : pE.UNKNOWN), + ? hE(this.treeAdapter.getTagName(n)) + : oE.UNKNOWN), this._setContextModes( null != n ? n : this.document, this.fragmentContextID, ), - (this.openElements = new GE(this.document, this.treeAdapter, this))); + (this.openElements = new jE(this.document, this.treeAdapter, this))); } static parse(e, t) { const n = new this(t); return (n.tokenizer.write(e, !0), n.document); } static getFragmentParser(e, t) { - const n = { ...xv, ...t }; - null != e || (e = n.treeAdapter.createElement(uE.TEMPLATE, lE.HTML, [])); - const a = n.treeAdapter.createElement("documentmock", lE.HTML, []), + const n = { ...mv, ...t }; + null != e || (e = n.treeAdapter.createElement(iE.TEMPLATE, nE.HTML, [])); + const a = n.treeAdapter.createElement("documentmock", nE.HTML, []), r = new this(n, a, e); return ( - r.fragmentContextID === pE.TEMPLATE && - r.tmplInsertionModeStack.unshift(bv.IN_TEMPLATE), + r.fragmentContextID === oE.TEMPLATE && + r.tmplInsertionModeStack.unshift(uv.IN_TEMPLATE), r._initTokenizerForFragmentParsing(), r._insertFakeRootElement(), r._resetInsertionMode(), @@ -31594,7 +31548,7 @@ class Tv { _err(e, t, n) { var a; if (!this.onParseError) return; - const r = null !== (a = e.location) && void 0 !== a ? a : Ev, + const r = null !== (a = e.location) && void 0 !== a ? a : pv, i = { code: t, startLine: r.startLine, @@ -31632,20 +31586,20 @@ class Tv { } _setContextModes(e, t) { const n = - e === this.document || this.treeAdapter.getNamespaceURI(e) === lE.HTML; + e === this.document || this.treeAdapter.getNamespaceURI(e) === nE.HTML; ((this.currentNotInHTML = !n), (this.tokenizer.inForeignNode = !n && !this._isIntegrationPoint(t, e))); } _switchToTextParsing(e, t) { - (this._insertElement(e, lE.HTML), + (this._insertElement(e, nE.HTML), (this.tokenizer.state = t), (this.originalInsertionMode = this.insertionMode), - (this.insertionMode = bv.TEXT)); + (this.insertionMode = uv.TEXT)); } switchToPlaintextParsing() { - ((this.insertionMode = bv.TEXT), - (this.originalInsertionMode = bv.IN_BODY), - (this.tokenizer.state = SE.PLAINTEXT)); + ((this.insertionMode = uv.TEXT), + (this.originalInsertionMode = uv.IN_BODY), + (this.tokenizer.state = EE.PLAINTEXT)); } _getAdjustedCurrentElement() { return 0 === this.openElements.stackTop && this.fragmentContext @@ -31655,7 +31609,7 @@ class Tv { _findFormInFragmentContext() { let e = this.fragmentContext; for (; e; ) { - if (this.treeAdapter.getTagName(e) === uE.FORM) { + if (this.treeAdapter.getTagName(e) === iE.FORM) { this.formElement = e; break; } @@ -31665,26 +31619,26 @@ class Tv { _initTokenizerForFragmentParsing() { if ( this.fragmentContext && - this.treeAdapter.getNamespaceURI(this.fragmentContext) === lE.HTML + this.treeAdapter.getNamespaceURI(this.fragmentContext) === nE.HTML ) switch (this.fragmentContextID) { - case pE.TITLE: - case pE.TEXTAREA: - this.tokenizer.state = SE.RCDATA; + case oE.TITLE: + case oE.TEXTAREA: + this.tokenizer.state = EE.RCDATA; break; - case pE.STYLE: - case pE.XMP: - case pE.IFRAME: - case pE.NOEMBED: - case pE.NOFRAMES: - case pE.NOSCRIPT: - this.tokenizer.state = SE.RAWTEXT; + case oE.STYLE: + case oE.XMP: + case oE.IFRAME: + case oE.NOEMBED: + case oE.NOFRAMES: + case oE.NOSCRIPT: + this.tokenizer.state = EE.RAWTEXT; break; - case pE.SCRIPT: - this.tokenizer.state = SE.SCRIPT_DATA; + case oE.SCRIPT: + this.tokenizer.state = EE.SCRIPT_DATA; break; - case pE.PLAINTEXT: - this.tokenizer.state = SE.PLAINTEXT; + case oE.PLAINTEXT: + this.tokenizer.state = EE.PLAINTEXT; } } _setDocumentType(e) { @@ -31721,11 +31675,11 @@ class Tv { this.openElements.push(n, e.tagID)); } _insertFakeElement(e, t) { - const n = this.treeAdapter.createElement(e, lE.HTML, []); + const n = this.treeAdapter.createElement(e, nE.HTML, []); (this._attachElementToTree(n, null), this.openElements.push(n, t)); } _insertTemplate(e) { - const t = this.treeAdapter.createElement(e.tagName, lE.HTML, e.attrs), + const t = this.treeAdapter.createElement(e.tagName, nE.HTML, e.attrs), n = this.treeAdapter.createDocumentFragment(); (this.treeAdapter.setTemplateContent(t, n), this._attachElementToTree(t, e.location), @@ -31734,11 +31688,11 @@ class Tv { this.treeAdapter.setNodeSourceCodeLocation(n, null)); } _insertFakeRootElement() { - const e = this.treeAdapter.createElement(uE.HTML, lE.HTML, []); + const e = this.treeAdapter.createElement(iE.HTML, nE.HTML, []); (this.options.sourceCodeLocationInfo && this.treeAdapter.setNodeSourceCodeLocation(e, null), this.treeAdapter.appendChild(this.openElements.current, e), - this.openElements.push(e, pE.HTML)); + this.openElements.push(e, oE.HTML)); } _appendCommentNode(e, t) { const n = this.treeAdapter.createCommentNode(e.data); @@ -31787,7 +31741,7 @@ class Tv { const n = t.location, a = this.treeAdapter.getTagName(e), r = - t.type === Xb.END_TAG && a === t.tagName + t.type === Zb.END_TAG && a === t.tagName ? { endTag: { ...n }, endLine: n.endLine, @@ -31809,43 +31763,43 @@ class Tv { 0 === this.openElements.stackTop && this.fragmentContext ? ((t = this.fragmentContext), (n = this.fragmentContextID)) : ({ current: t, currentTagId: n } = this.openElements), - (e.tagID !== pE.SVG || - this.treeAdapter.getTagName(t) !== uE.ANNOTATION_XML || - this.treeAdapter.getNamespaceURI(t) !== lE.MATHML) && + (e.tagID !== oE.SVG || + this.treeAdapter.getTagName(t) !== iE.ANNOTATION_XML || + this.treeAdapter.getNamespaceURI(t) !== nE.MATHML) && (this.tokenizer.inForeignNode || - ((e.tagID === pE.MGLYPH || e.tagID === pE.MALIGNMARK) && - !this._isIntegrationPoint(n, t, lE.HTML))) + ((e.tagID === oE.MGLYPH || e.tagID === oE.MALIGNMARK) && + !this._isIntegrationPoint(n, t, nE.HTML))) ); } _processToken(e) { switch (e.type) { - case Xb.CHARACTER: + case Zb.CHARACTER: this.onCharacter(e); break; - case Xb.NULL_CHARACTER: + case Zb.NULL_CHARACTER: this.onNullCharacter(e); break; - case Xb.COMMENT: + case Zb.COMMENT: this.onComment(e); break; - case Xb.DOCTYPE: + case Zb.DOCTYPE: this.onDoctype(e); break; - case Xb.START_TAG: + case Zb.START_TAG: this._processStartTag(e); break; - case Xb.END_TAG: + case Zb.END_TAG: this.onEndTag(e); break; - case Xb.EOF: + case Zb.EOF: this.onEof(e); break; - case Xb.WHITESPACE_CHARACTER: + case Zb.WHITESPACE_CHARACTER: this.onWhitespaceCharacter(e); } } _isIntegrationPoint(e, t, n) { - return hv( + return sv( e, this.treeAdapter.getNamespaceURI(t), this.treeAdapter.getAttrList(t), @@ -31856,7 +31810,7 @@ class Tv { const e = this.activeFormattingElements.entries.length; if (e) { const t = this.activeFormattingElements.entries.findIndex( - (e) => e.type === VE.Marker || this.openElements.contains(e.element), + (e) => e.type === BE.Marker || this.openElements.contains(e.element), ); for (let n = t < 0 ? e - 1 : t - 1; n >= 0; n--) { const e = this.activeFormattingElements.entries[n]; @@ -31872,11 +31826,11 @@ class Tv { (this.openElements.generateImpliedEndTags(), this.openElements.popUntilTableCellPopped(), this.activeFormattingElements.clearToLastMarker(), - (this.insertionMode = bv.IN_ROW)); + (this.insertionMode = uv.IN_ROW)); } _closePElement() { - (this.openElements.generateImpliedEndTagsWithExclusion(pE.P), - this.openElements.popUntilTagNamePopped(pE.P)); + (this.openElements.generateImpliedEndTagsWithExclusion(oE.P), + this.openElements.popUntilTagNamePopped(oE.P)); } _resetInsertionMode() { for (let e = this.openElements.stackTop; e >= 0; e--) @@ -31885,51 +31839,51 @@ class Tv { ? this.fragmentContextID : this.openElements.tagIDs[e] ) { - case pE.TR: - return void (this.insertionMode = bv.IN_ROW); - case pE.TBODY: - case pE.THEAD: - case pE.TFOOT: - return void (this.insertionMode = bv.IN_TABLE_BODY); - case pE.CAPTION: - return void (this.insertionMode = bv.IN_CAPTION); - case pE.COLGROUP: - return void (this.insertionMode = bv.IN_COLUMN_GROUP); - case pE.TABLE: - return void (this.insertionMode = bv.IN_TABLE); - case pE.BODY: - return void (this.insertionMode = bv.IN_BODY); - case pE.FRAMESET: - return void (this.insertionMode = bv.IN_FRAMESET); - case pE.SELECT: + case oE.TR: + return void (this.insertionMode = uv.IN_ROW); + case oE.TBODY: + case oE.THEAD: + case oE.TFOOT: + return void (this.insertionMode = uv.IN_TABLE_BODY); + case oE.CAPTION: + return void (this.insertionMode = uv.IN_CAPTION); + case oE.COLGROUP: + return void (this.insertionMode = uv.IN_COLUMN_GROUP); + case oE.TABLE: + return void (this.insertionMode = uv.IN_TABLE); + case oE.BODY: + return void (this.insertionMode = uv.IN_BODY); + case oE.FRAMESET: + return void (this.insertionMode = uv.IN_FRAMESET); + case oE.SELECT: return void this._resetInsertionModeForSelect(e); - case pE.TEMPLATE: + case oE.TEMPLATE: return void (this.insertionMode = this.tmplInsertionModeStack[0]); - case pE.HTML: + case oE.HTML: return void (this.insertionMode = this.headElement - ? bv.AFTER_HEAD - : bv.BEFORE_HEAD); - case pE.TD: - case pE.TH: - if (e > 0) return void (this.insertionMode = bv.IN_CELL); + ? uv.AFTER_HEAD + : uv.BEFORE_HEAD); + case oE.TD: + case oE.TH: + if (e > 0) return void (this.insertionMode = uv.IN_CELL); break; - case pE.HEAD: - if (e > 0) return void (this.insertionMode = bv.IN_HEAD); + case oE.HEAD: + if (e > 0) return void (this.insertionMode = uv.IN_HEAD); } - this.insertionMode = bv.IN_BODY; + this.insertionMode = uv.IN_BODY; } _resetInsertionModeForSelect(e) { if (e > 0) for (let t = e - 1; t > 0; t--) { const e = this.openElements.tagIDs[t]; - if (e === pE.TEMPLATE) break; - if (e === pE.TABLE) - return void (this.insertionMode = bv.IN_SELECT_IN_TABLE); + if (e === oE.TEMPLATE) break; + if (e === oE.TABLE) + return void (this.insertionMode = uv.IN_SELECT_IN_TABLE); } - this.insertionMode = bv.IN_SELECT; + this.insertionMode = uv.IN_SELECT; } _isElementCausesFosterParenting(e) { - return vv.has(e); + return hv.has(e); } _shouldFosterParentOnInsertion() { return ( @@ -31941,14 +31895,14 @@ class Tv { for (let e = this.openElements.stackTop; e >= 0; e--) { const t = this.openElements.items[e]; switch (this.openElements.tagIDs[e]) { - case pE.TEMPLATE: - if (this.treeAdapter.getNamespaceURI(t) === lE.HTML) + case oE.TEMPLATE: + if (this.treeAdapter.getNamespaceURI(t) === nE.HTML) return { parent: this.treeAdapter.getTemplateContent(t), beforeElement: null, }; break; - case pE.TABLE: { + case oE.TABLE: { const n = this.treeAdapter.getParentNode(t); return n ? { parent: n, beforeElement: t } @@ -31966,7 +31920,7 @@ class Tv { } _isSpecialElement(e, t) { const n = this.treeAdapter.getNamespaceURI(e); - return TE[n].has(t); + return gE[n].has(t); } onCharacter(e) { if (((this.skipNextNewLine = !1), this.tokenizer.inForeignNode)) @@ -31975,130 +31929,130 @@ class Tv { })(this, e); else switch (this.insertionMode) { - case bv.INITIAL: - kv(this, e); + case uv.INITIAL: + wv(this, e); break; - case bv.BEFORE_HTML: - Ov(this, e); + case uv.BEFORE_HTML: + Av(this, e); break; - case bv.BEFORE_HEAD: - Lv(this, e); + case uv.BEFORE_HEAD: + Cv(this, e); break; - case bv.IN_HEAD: - Pv(this, e); + case uv.IN_HEAD: + Rv(this, e); break; - case bv.IN_HEAD_NO_SCRIPT: - jv(this, e); + case uv.IN_HEAD_NO_SCRIPT: + kv(this, e); break; - case bv.AFTER_HEAD: - Bv(this, e); + case uv.AFTER_HEAD: + Ov(this, e); break; - case bv.IN_BODY: - case bv.IN_CAPTION: - case bv.IN_CELL: - case bv.IN_TEMPLATE: - zv(this, e); + case uv.IN_BODY: + case uv.IN_CAPTION: + case uv.IN_CELL: + case uv.IN_TEMPLATE: + Dv(this, e); break; - case bv.TEXT: - case bv.IN_SELECT: - case bv.IN_SELECT_IN_TABLE: + case uv.TEXT: + case uv.IN_SELECT: + case uv.IN_SELECT_IN_TABLE: this._insertCharacters(e); break; - case bv.IN_TABLE: - case bv.IN_TABLE_BODY: - case bv.IN_ROW: - Kv(this, e); + case uv.IN_TABLE: + case uv.IN_TABLE_BODY: + case uv.IN_ROW: + Vv(this, e); break; - case bv.IN_TABLE_TEXT: - tx(this, e); + case uv.IN_TABLE_TEXT: + Yv(this, e); break; - case bv.IN_COLUMN_GROUP: - ix(this, e); + case uv.IN_COLUMN_GROUP: + Jv(this, e); break; - case bv.AFTER_BODY: - mx(this, e); + case uv.AFTER_BODY: + lx(this, e); break; - case bv.AFTER_AFTER_BODY: - gx(this, e); + case uv.AFTER_AFTER_BODY: + cx(this, e); } } onNullCharacter(e) { if (((this.skipNextNewLine = !1), this.tokenizer.inForeignNode)) !(function (e, t) { - ((t.chars = Bb), e._insertCharacters(t)); + ((t.chars = Ob), e._insertCharacters(t)); })(this, e); else switch (this.insertionMode) { - case bv.INITIAL: - kv(this, e); + case uv.INITIAL: + wv(this, e); break; - case bv.BEFORE_HTML: - Ov(this, e); + case uv.BEFORE_HTML: + Av(this, e); break; - case bv.BEFORE_HEAD: - Lv(this, e); + case uv.BEFORE_HEAD: + Cv(this, e); break; - case bv.IN_HEAD: - Pv(this, e); + case uv.IN_HEAD: + Rv(this, e); break; - case bv.IN_HEAD_NO_SCRIPT: - jv(this, e); + case uv.IN_HEAD_NO_SCRIPT: + kv(this, e); break; - case bv.AFTER_HEAD: - Bv(this, e); + case uv.AFTER_HEAD: + Ov(this, e); break; - case bv.TEXT: + case uv.TEXT: this._insertCharacters(e); break; - case bv.IN_TABLE: - case bv.IN_TABLE_BODY: - case bv.IN_ROW: - Kv(this, e); + case uv.IN_TABLE: + case uv.IN_TABLE_BODY: + case uv.IN_ROW: + Vv(this, e); break; - case bv.IN_COLUMN_GROUP: - ix(this, e); + case uv.IN_COLUMN_GROUP: + Jv(this, e); break; - case bv.AFTER_BODY: - mx(this, e); + case uv.AFTER_BODY: + lx(this, e); break; - case bv.AFTER_AFTER_BODY: - gx(this, e); + case uv.AFTER_AFTER_BODY: + cx(this, e); } } onComment(e) { - if (((this.skipNextNewLine = !1), this.currentNotInHTML)) Iv(this, e); + if (((this.skipNextNewLine = !1), this.currentNotInHTML)) yv(this, e); else switch (this.insertionMode) { - case bv.INITIAL: - case bv.BEFORE_HTML: - case bv.BEFORE_HEAD: - case bv.IN_HEAD: - case bv.IN_HEAD_NO_SCRIPT: - case bv.AFTER_HEAD: - case bv.IN_BODY: - case bv.IN_TABLE: - case bv.IN_CAPTION: - case bv.IN_COLUMN_GROUP: - case bv.IN_TABLE_BODY: - case bv.IN_ROW: - case bv.IN_CELL: - case bv.IN_SELECT: - case bv.IN_SELECT_IN_TABLE: - case bv.IN_TEMPLATE: - case bv.IN_FRAMESET: - case bv.AFTER_FRAMESET: - Iv(this, e); + case uv.INITIAL: + case uv.BEFORE_HTML: + case uv.BEFORE_HEAD: + case uv.IN_HEAD: + case uv.IN_HEAD_NO_SCRIPT: + case uv.AFTER_HEAD: + case uv.IN_BODY: + case uv.IN_TABLE: + case uv.IN_CAPTION: + case uv.IN_COLUMN_GROUP: + case uv.IN_TABLE_BODY: + case uv.IN_ROW: + case uv.IN_CELL: + case uv.IN_SELECT: + case uv.IN_SELECT_IN_TABLE: + case uv.IN_TEMPLATE: + case uv.IN_FRAMESET: + case uv.AFTER_FRAMESET: + yv(this, e); break; - case bv.IN_TABLE_TEXT: - nx(this, e); + case uv.IN_TABLE_TEXT: + Kv(this, e); break; - case bv.AFTER_BODY: + case uv.AFTER_BODY: !(function (e, t) { e._appendCommentNode(t, e.openElements.items[0]); })(this, e); break; - case bv.AFTER_AFTER_BODY: - case bv.AFTER_AFTER_FRAMESET: + case uv.AFTER_AFTER_BODY: + case uv.AFTER_AFTER_FRAMESET: !(function (e, t) { e._appendCommentNode(t, e.document); })(this, e); @@ -32106,44 +32060,44 @@ class Tv { } onDoctype(e) { switch (((this.skipNextNewLine = !1), this.insertionMode)) { - case bv.INITIAL: + case uv.INITIAL: !(function (e, t) { e._setDocumentType(t); const n = t.forceQuirks - ? dE.QUIRKS + ? rE.QUIRKS : (function (e) { - if (e.name !== qE) return dE.QUIRKS; + if (e.name !== UE) return rE.QUIRKS; const { systemId: t } = e; - if (t && t.toLowerCase() === KE) return dE.QUIRKS; + if (t && t.toLowerCase() === VE) return rE.QUIRKS; let { publicId: n } = e; if (null !== n) { - if (((n = n.toLowerCase()), JE.has(n))) return dE.QUIRKS; - let e = null === t ? QE : XE; - if (nv(n, e)) return dE.QUIRKS; - if (((e = null === t ? ev : tv), nv(n, e))) - return dE.LIMITED_QUIRKS; + if (((n = n.toLowerCase()), WE.has(n))) return rE.QUIRKS; + let e = null === t ? $E : ZE; + if (KE(n, e)) return rE.QUIRKS; + if (((e = null === t ? qE : YE), KE(n, e))) + return rE.LIMITED_QUIRKS; } - return dE.NO_QUIRKS; + return rE.NO_QUIRKS; })(t); (function (e) { return ( - e.name === qE && + e.name === UE && null === e.publicId && - (null === e.systemId || e.systemId === YE) + (null === e.systemId || e.systemId === GE) ); - })(t) || e._err(t, Yb.nonConformingDoctype); + })(t) || e._err(t, Gb.nonConformingDoctype); (e.treeAdapter.setDocumentMode(e.document, n), - (e.insertionMode = bv.BEFORE_HTML)); + (e.insertionMode = uv.BEFORE_HTML)); })(this, e); break; - case bv.BEFORE_HEAD: - case bv.IN_HEAD: - case bv.IN_HEAD_NO_SCRIPT: - case bv.AFTER_HEAD: - this._err(e, Yb.misplacedDoctype); + case uv.BEFORE_HEAD: + case uv.IN_HEAD: + case uv.IN_HEAD_NO_SCRIPT: + case uv.AFTER_HEAD: + this._err(e, Gb.misplacedDoctype); break; - case bv.IN_TABLE_TEXT: - nx(this, e); + case uv.IN_TABLE_TEXT: + Kv(this, e); } } onStartTag(e) { @@ -32152,7 +32106,7 @@ class Tv { this._processStartTag(e), e.selfClosing && !e.ackSelfClosing && - this._err(e, Yb.nonVoidHtmlElementStartTagWithTrailingSolidus)); + this._err(e, Gb.nonVoidHtmlElementStartTagWithTrailingSolidus)); } _processStartTag(e) { this.shouldProcessStartTagTokenInForeignContent(e) @@ -32161,28 +32115,28 @@ class Tv { (function (e) { const t = e.tagID; return ( - (t === pE.FONT && + (t === oE.FONT && e.attrs.some( ({ name: e }) => - e === cE.COLOR || e === cE.SIZE || e === cE.FACE, + e === aE.COLOR || e === aE.SIZE || e === aE.FACE, )) || - cv.has(t) + av.has(t) ); })(t) ) - (fx(e), e._startTagOutsideForeignContent(t)); + (dx(e), e._startTagOutsideForeignContent(t)); else { const n = e._getAdjustedCurrentElement(), a = e.treeAdapter.getNamespaceURI(n); - (a === lE.MATHML - ? dv(t) - : a === lE.SVG && + (a === nE.MATHML + ? rv(t) + : a === nE.SVG && (!(function (e) { - const t = lv.get(e.tagName); - null != t && ((e.tagName = t), (e.tagID = vE(e.tagName))); + const t = nv.get(e.tagName); + null != t && ((e.tagName = t), (e.tagID = hE(e.tagName))); })(t), - uv(t)), - pv(t), + iv(t)), + ov(t), t.selfClosing ? e._appendElement(t, a) : e._insertElement(t, a), (t.ackSelfClosing = !0)); } @@ -32191,250 +32145,250 @@ class Tv { } _startTagOutsideForeignContent(e) { switch (this.insertionMode) { - case bv.INITIAL: - kv(this, e); + case uv.INITIAL: + wv(this, e); break; - case bv.BEFORE_HTML: + case uv.BEFORE_HTML: !(function (e, t) { - t.tagID === pE.HTML - ? (e._insertElement(t, lE.HTML), (e.insertionMode = bv.BEFORE_HEAD)) - : Ov(e, t); + t.tagID === oE.HTML + ? (e._insertElement(t, nE.HTML), (e.insertionMode = uv.BEFORE_HEAD)) + : Av(e, t); })(this, e); break; - case bv.BEFORE_HEAD: + case uv.BEFORE_HEAD: !(function (e, t) { switch (t.tagID) { - case pE.HTML: - $v(e, t); + case oE.HTML: + Hv(e, t); break; - case pE.HEAD: - (e._insertElement(t, lE.HTML), + case oE.HEAD: + (e._insertElement(t, nE.HTML), (e.headElement = e.openElements.current), - (e.insertionMode = bv.IN_HEAD)); + (e.insertionMode = uv.IN_HEAD)); break; default: - Lv(e, t); + Cv(e, t); } })(this, e); break; - case bv.IN_HEAD: - Mv(this, e); + case uv.IN_HEAD: + Nv(this, e); break; - case bv.IN_HEAD_NO_SCRIPT: + case uv.IN_HEAD_NO_SCRIPT: !(function (e, t) { switch (t.tagID) { - case pE.HTML: - $v(e, t); + case oE.HTML: + Hv(e, t); break; - case pE.BASEFONT: - case pE.BGSOUND: - case pE.HEAD: - case pE.LINK: - case pE.META: - case pE.NOFRAMES: - case pE.STYLE: - Mv(e, t); + case oE.BASEFONT: + case oE.BGSOUND: + case oE.HEAD: + case oE.LINK: + case oE.META: + case oE.NOFRAMES: + case oE.STYLE: + Nv(e, t); break; - case pE.NOSCRIPT: - e._err(t, Yb.nestedNoscriptInHead); + case oE.NOSCRIPT: + e._err(t, Gb.nestedNoscriptInHead); break; default: - jv(e, t); + kv(e, t); } })(this, e); break; - case bv.AFTER_HEAD: + case uv.AFTER_HEAD: !(function (e, t) { switch (t.tagID) { - case pE.HTML: - $v(e, t); + case oE.HTML: + Hv(e, t); break; - case pE.BODY: - (e._insertElement(t, lE.HTML), + case oE.BODY: + (e._insertElement(t, nE.HTML), (e.framesetOk = !1), - (e.insertionMode = bv.IN_BODY)); + (e.insertionMode = uv.IN_BODY)); break; - case pE.FRAMESET: - (e._insertElement(t, lE.HTML), - (e.insertionMode = bv.IN_FRAMESET)); + case oE.FRAMESET: + (e._insertElement(t, nE.HTML), + (e.insertionMode = uv.IN_FRAMESET)); break; - case pE.BASE: - case pE.BASEFONT: - case pE.BGSOUND: - case pE.LINK: - case pE.META: - case pE.NOFRAMES: - case pE.SCRIPT: - case pE.STYLE: - case pE.TEMPLATE: - case pE.TITLE: - (e._err(t, Yb.abandonedHeadElementChild), - e.openElements.push(e.headElement, pE.HEAD), - Mv(e, t), + case oE.BASE: + case oE.BASEFONT: + case oE.BGSOUND: + case oE.LINK: + case oE.META: + case oE.NOFRAMES: + case oE.SCRIPT: + case oE.STYLE: + case oE.TEMPLATE: + case oE.TITLE: + (e._err(t, Gb.abandonedHeadElementChild), + e.openElements.push(e.headElement, oE.HEAD), + Nv(e, t), e.openElements.remove(e.headElement)); break; - case pE.HEAD: - e._err(t, Yb.misplacedStartTagForHeadElement); + case oE.HEAD: + e._err(t, Gb.misplacedStartTagForHeadElement); break; default: - Bv(e, t); + Ov(e, t); } })(this, e); break; - case bv.IN_BODY: - $v(this, e); + case uv.IN_BODY: + Hv(this, e); break; - case bv.IN_TABLE: - Xv(this, e); + case uv.IN_TABLE: + Zv(this, e); break; - case bv.IN_TABLE_TEXT: - nx(this, e); + case uv.IN_TABLE_TEXT: + Kv(this, e); break; - case bv.IN_CAPTION: + case uv.IN_CAPTION: !(function (e, t) { const n = t.tagID; - ax.has(n) - ? e.openElements.hasInTableScope(pE.CAPTION) && + Xv.has(n) + ? e.openElements.hasInTableScope(oE.CAPTION) && (e.openElements.generateImpliedEndTags(), - e.openElements.popUntilTagNamePopped(pE.CAPTION), + e.openElements.popUntilTagNamePopped(oE.CAPTION), e.activeFormattingElements.clearToLastMarker(), - (e.insertionMode = bv.IN_TABLE), - Xv(e, t)) - : $v(e, t); + (e.insertionMode = uv.IN_TABLE), + Zv(e, t)) + : Hv(e, t); })(this, e); break; - case bv.IN_COLUMN_GROUP: - rx(this, e); + case uv.IN_COLUMN_GROUP: + Qv(this, e); break; - case bv.IN_TABLE_BODY: - ox(this, e); + case uv.IN_TABLE_BODY: + ex(this, e); break; - case bv.IN_ROW: - lx(this, e); + case uv.IN_ROW: + nx(this, e); break; - case bv.IN_CELL: + case uv.IN_CELL: !(function (e, t) { const n = t.tagID; - ax.has(n) - ? (e.openElements.hasInTableScope(pE.TD) || - e.openElements.hasInTableScope(pE.TH)) && - (e._closeTableCell(), lx(e, t)) - : $v(e, t); + Xv.has(n) + ? (e.openElements.hasInTableScope(oE.TD) || + e.openElements.hasInTableScope(oE.TH)) && + (e._closeTableCell(), nx(e, t)) + : Hv(e, t); })(this, e); break; - case bv.IN_SELECT: - dx(this, e); + case uv.IN_SELECT: + rx(this, e); break; - case bv.IN_SELECT_IN_TABLE: + case uv.IN_SELECT_IN_TABLE: !(function (e, t) { const n = t.tagID; - n === pE.CAPTION || - n === pE.TABLE || - n === pE.TBODY || - n === pE.TFOOT || - n === pE.THEAD || - n === pE.TR || - n === pE.TD || - n === pE.TH - ? (e.openElements.popUntilTagNamePopped(pE.SELECT), + n === oE.CAPTION || + n === oE.TABLE || + n === oE.TBODY || + n === oE.TFOOT || + n === oE.THEAD || + n === oE.TR || + n === oE.TD || + n === oE.TH + ? (e.openElements.popUntilTagNamePopped(oE.SELECT), e._resetInsertionMode(), e._processStartTag(t)) - : dx(e, t); + : rx(e, t); })(this, e); break; - case bv.IN_TEMPLATE: + case uv.IN_TEMPLATE: !(function (e, t) { switch (t.tagID) { - case pE.BASE: - case pE.BASEFONT: - case pE.BGSOUND: - case pE.LINK: - case pE.META: - case pE.NOFRAMES: - case pE.SCRIPT: - case pE.STYLE: - case pE.TEMPLATE: - case pE.TITLE: - Mv(e, t); + case oE.BASE: + case oE.BASEFONT: + case oE.BGSOUND: + case oE.LINK: + case oE.META: + case oE.NOFRAMES: + case oE.SCRIPT: + case oE.STYLE: + case oE.TEMPLATE: + case oE.TITLE: + Nv(e, t); break; - case pE.CAPTION: - case pE.COLGROUP: - case pE.TBODY: - case pE.TFOOT: - case pE.THEAD: - ((e.tmplInsertionModeStack[0] = bv.IN_TABLE), - (e.insertionMode = bv.IN_TABLE), - Xv(e, t)); + case oE.CAPTION: + case oE.COLGROUP: + case oE.TBODY: + case oE.TFOOT: + case oE.THEAD: + ((e.tmplInsertionModeStack[0] = uv.IN_TABLE), + (e.insertionMode = uv.IN_TABLE), + Zv(e, t)); break; - case pE.COL: - ((e.tmplInsertionModeStack[0] = bv.IN_COLUMN_GROUP), - (e.insertionMode = bv.IN_COLUMN_GROUP), - rx(e, t)); + case oE.COL: + ((e.tmplInsertionModeStack[0] = uv.IN_COLUMN_GROUP), + (e.insertionMode = uv.IN_COLUMN_GROUP), + Qv(e, t)); break; - case pE.TR: - ((e.tmplInsertionModeStack[0] = bv.IN_TABLE_BODY), - (e.insertionMode = bv.IN_TABLE_BODY), - ox(e, t)); + case oE.TR: + ((e.tmplInsertionModeStack[0] = uv.IN_TABLE_BODY), + (e.insertionMode = uv.IN_TABLE_BODY), + ex(e, t)); break; - case pE.TD: - case pE.TH: - ((e.tmplInsertionModeStack[0] = bv.IN_ROW), - (e.insertionMode = bv.IN_ROW), - lx(e, t)); + case oE.TD: + case oE.TH: + ((e.tmplInsertionModeStack[0] = uv.IN_ROW), + (e.insertionMode = uv.IN_ROW), + nx(e, t)); break; default: - ((e.tmplInsertionModeStack[0] = bv.IN_BODY), - (e.insertionMode = bv.IN_BODY), - $v(e, t)); + ((e.tmplInsertionModeStack[0] = uv.IN_BODY), + (e.insertionMode = uv.IN_BODY), + Hv(e, t)); } })(this, e); break; - case bv.AFTER_BODY: + case uv.AFTER_BODY: !(function (e, t) { - t.tagID === pE.HTML ? $v(e, t) : mx(e, t); + t.tagID === oE.HTML ? Hv(e, t) : lx(e, t); })(this, e); break; - case bv.IN_FRAMESET: + case uv.IN_FRAMESET: !(function (e, t) { switch (t.tagID) { - case pE.HTML: - $v(e, t); + case oE.HTML: + Hv(e, t); break; - case pE.FRAMESET: - e._insertElement(t, lE.HTML); + case oE.FRAMESET: + e._insertElement(t, nE.HTML); break; - case pE.FRAME: - (e._appendElement(t, lE.HTML), (t.ackSelfClosing = !0)); + case oE.FRAME: + (e._appendElement(t, nE.HTML), (t.ackSelfClosing = !0)); break; - case pE.NOFRAMES: - Mv(e, t); + case oE.NOFRAMES: + Nv(e, t); } })(this, e); break; - case bv.AFTER_FRAMESET: + case uv.AFTER_FRAMESET: !(function (e, t) { switch (t.tagID) { - case pE.HTML: - $v(e, t); + case oE.HTML: + Hv(e, t); break; - case pE.NOFRAMES: - Mv(e, t); + case oE.NOFRAMES: + Nv(e, t); } })(this, e); break; - case bv.AFTER_AFTER_BODY: + case uv.AFTER_AFTER_BODY: !(function (e, t) { - t.tagID === pE.HTML ? $v(e, t) : gx(e, t); + t.tagID === oE.HTML ? Hv(e, t) : cx(e, t); })(this, e); break; - case bv.AFTER_AFTER_FRAMESET: + case uv.AFTER_AFTER_FRAMESET: !(function (e, t) { switch (t.tagID) { - case pE.HTML: - $v(e, t); + case oE.HTML: + Hv(e, t); break; - case pE.NOFRAMES: - Mv(e, t); + case oE.NOFRAMES: + Nv(e, t); } })(this, e); } @@ -32444,11 +32398,11 @@ class Tv { (this.currentToken = e), this.currentNotInHTML ? (function (e, t) { - if (t.tagID === pE.P || t.tagID === pE.BR) - return (fx(e), void e._endTagOutsideForeignContent(t)); + if (t.tagID === oE.P || t.tagID === oE.BR) + return (dx(e), void e._endTagOutsideForeignContent(t)); for (let n = e.openElements.stackTop; n > 0; n--) { const a = e.openElements.items[n]; - if (e.treeAdapter.getNamespaceURI(a) === lE.HTML) { + if (e.treeAdapter.getNamespaceURI(a) === nE.HTML) { e._endTagOutsideForeignContent(t); break; } @@ -32463,280 +32417,280 @@ class Tv { } _endTagOutsideForeignContent(e) { switch (this.insertionMode) { - case bv.INITIAL: - kv(this, e); + case uv.INITIAL: + wv(this, e); break; - case bv.BEFORE_HTML: + case uv.BEFORE_HTML: !(function (e, t) { const n = t.tagID; - (n !== pE.HTML && n !== pE.HEAD && n !== pE.BODY && n !== pE.BR) || - Ov(e, t); + (n !== oE.HTML && n !== oE.HEAD && n !== oE.BODY && n !== oE.BR) || + Av(e, t); })(this, e); break; - case bv.BEFORE_HEAD: + case uv.BEFORE_HEAD: !(function (e, t) { const n = t.tagID; - n === pE.HEAD || n === pE.BODY || n === pE.HTML || n === pE.BR - ? Lv(e, t) - : e._err(t, Yb.endTagWithoutMatchingOpenElement); + n === oE.HEAD || n === oE.BODY || n === oE.HTML || n === oE.BR + ? Cv(e, t) + : e._err(t, Gb.endTagWithoutMatchingOpenElement); })(this, e); break; - case bv.IN_HEAD: + case uv.IN_HEAD: !(function (e, t) { switch (t.tagID) { - case pE.HEAD: - (e.openElements.pop(), (e.insertionMode = bv.AFTER_HEAD)); + case oE.HEAD: + (e.openElements.pop(), (e.insertionMode = uv.AFTER_HEAD)); break; - case pE.BODY: - case pE.BR: - case pE.HTML: - Pv(e, t); + case oE.BODY: + case oE.BR: + case oE.HTML: + Rv(e, t); break; - case pE.TEMPLATE: - Dv(e, t); + case oE.TEMPLATE: + Iv(e, t); break; default: - e._err(t, Yb.endTagWithoutMatchingOpenElement); + e._err(t, Gb.endTagWithoutMatchingOpenElement); } })(this, e); break; - case bv.IN_HEAD_NO_SCRIPT: + case uv.IN_HEAD_NO_SCRIPT: !(function (e, t) { switch (t.tagID) { - case pE.NOSCRIPT: - (e.openElements.pop(), (e.insertionMode = bv.IN_HEAD)); + case oE.NOSCRIPT: + (e.openElements.pop(), (e.insertionMode = uv.IN_HEAD)); break; - case pE.BR: - jv(e, t); + case oE.BR: + kv(e, t); break; default: - e._err(t, Yb.endTagWithoutMatchingOpenElement); + e._err(t, Gb.endTagWithoutMatchingOpenElement); } })(this, e); break; - case bv.AFTER_HEAD: + case uv.AFTER_HEAD: !(function (e, t) { switch (t.tagID) { - case pE.BODY: - case pE.HTML: - case pE.BR: - Bv(e, t); + case oE.BODY: + case oE.HTML: + case oE.BR: + Ov(e, t); break; - case pE.TEMPLATE: - Dv(e, t); + case oE.TEMPLATE: + Iv(e, t); break; default: - e._err(t, Yb.endTagWithoutMatchingOpenElement); + e._err(t, Gb.endTagWithoutMatchingOpenElement); } })(this, e); break; - case bv.IN_BODY: - qv(this, e); + case uv.IN_BODY: + Uv(this, e); break; - case bv.TEXT: + case uv.TEXT: !(function (e, t) { var n; - t.tagID === pE.SCRIPT && + t.tagID === oE.SCRIPT && (null === (n = e.scriptHandler) || void 0 === n || n.call(e, e.openElements.current)); (e.openElements.pop(), (e.insertionMode = e.originalInsertionMode)); })(this, e); break; - case bv.IN_TABLE: - Qv(this, e); + case uv.IN_TABLE: + $v(this, e); break; - case bv.IN_TABLE_TEXT: - nx(this, e); + case uv.IN_TABLE_TEXT: + Kv(this, e); break; - case bv.IN_CAPTION: + case uv.IN_CAPTION: !(function (e, t) { const n = t.tagID; switch (n) { - case pE.CAPTION: - case pE.TABLE: - e.openElements.hasInTableScope(pE.CAPTION) && + case oE.CAPTION: + case oE.TABLE: + e.openElements.hasInTableScope(oE.CAPTION) && (e.openElements.generateImpliedEndTags(), - e.openElements.popUntilTagNamePopped(pE.CAPTION), + e.openElements.popUntilTagNamePopped(oE.CAPTION), e.activeFormattingElements.clearToLastMarker(), - (e.insertionMode = bv.IN_TABLE), - n === pE.TABLE && Qv(e, t)); + (e.insertionMode = uv.IN_TABLE), + n === oE.TABLE && $v(e, t)); break; - case pE.BODY: - case pE.COL: - case pE.COLGROUP: - case pE.HTML: - case pE.TBODY: - case pE.TD: - case pE.TFOOT: - case pE.TH: - case pE.THEAD: - case pE.TR: + case oE.BODY: + case oE.COL: + case oE.COLGROUP: + case oE.HTML: + case oE.TBODY: + case oE.TD: + case oE.TFOOT: + case oE.TH: + case oE.THEAD: + case oE.TR: break; default: - qv(e, t); + Uv(e, t); } })(this, e); break; - case bv.IN_COLUMN_GROUP: + case uv.IN_COLUMN_GROUP: !(function (e, t) { switch (t.tagID) { - case pE.COLGROUP: - e.openElements.currentTagId === pE.COLGROUP && - (e.openElements.pop(), (e.insertionMode = bv.IN_TABLE)); + case oE.COLGROUP: + e.openElements.currentTagId === oE.COLGROUP && + (e.openElements.pop(), (e.insertionMode = uv.IN_TABLE)); break; - case pE.TEMPLATE: - Dv(e, t); + case oE.TEMPLATE: + Iv(e, t); break; - case pE.COL: + case oE.COL: break; default: - ix(e, t); + Jv(e, t); } })(this, e); break; - case bv.IN_TABLE_BODY: - sx(this, e); + case uv.IN_TABLE_BODY: + tx(this, e); break; - case bv.IN_ROW: - cx(this, e); + case uv.IN_ROW: + ax(this, e); break; - case bv.IN_CELL: + case uv.IN_CELL: !(function (e, t) { const n = t.tagID; switch (n) { - case pE.TD: - case pE.TH: + case oE.TD: + case oE.TH: e.openElements.hasInTableScope(n) && (e.openElements.generateImpliedEndTags(), e.openElements.popUntilTagNamePopped(n), e.activeFormattingElements.clearToLastMarker(), - (e.insertionMode = bv.IN_ROW)); + (e.insertionMode = uv.IN_ROW)); break; - case pE.TABLE: - case pE.TBODY: - case pE.TFOOT: - case pE.THEAD: - case pE.TR: + case oE.TABLE: + case oE.TBODY: + case oE.TFOOT: + case oE.THEAD: + case oE.TR: e.openElements.hasInTableScope(n) && - (e._closeTableCell(), cx(e, t)); + (e._closeTableCell(), ax(e, t)); break; - case pE.BODY: - case pE.CAPTION: - case pE.COL: - case pE.COLGROUP: - case pE.HTML: + case oE.BODY: + case oE.CAPTION: + case oE.COL: + case oE.COLGROUP: + case oE.HTML: break; default: - qv(e, t); + Uv(e, t); } })(this, e); break; - case bv.IN_SELECT: - ux(this, e); + case uv.IN_SELECT: + ix(this, e); break; - case bv.IN_SELECT_IN_TABLE: + case uv.IN_SELECT_IN_TABLE: !(function (e, t) { const n = t.tagID; - n === pE.CAPTION || - n === pE.TABLE || - n === pE.TBODY || - n === pE.TFOOT || - n === pE.THEAD || - n === pE.TR || - n === pE.TD || - n === pE.TH + n === oE.CAPTION || + n === oE.TABLE || + n === oE.TBODY || + n === oE.TFOOT || + n === oE.THEAD || + n === oE.TR || + n === oE.TD || + n === oE.TH ? e.openElements.hasInTableScope(n) && - (e.openElements.popUntilTagNamePopped(pE.SELECT), + (e.openElements.popUntilTagNamePopped(oE.SELECT), e._resetInsertionMode(), e.onEndTag(t)) - : ux(e, t); + : ix(e, t); })(this, e); break; - case bv.IN_TEMPLATE: + case uv.IN_TEMPLATE: !(function (e, t) { - t.tagID === pE.TEMPLATE && Dv(e, t); + t.tagID === oE.TEMPLATE && Iv(e, t); })(this, e); break; - case bv.AFTER_BODY: - hx(this, e); + case uv.AFTER_BODY: + sx(this, e); break; - case bv.IN_FRAMESET: + case uv.IN_FRAMESET: !(function (e, t) { - t.tagID !== pE.FRAMESET || + t.tagID !== oE.FRAMESET || e.openElements.isRootHtmlElementCurrent() || (e.openElements.pop(), e.fragmentContext || - e.openElements.currentTagId === pE.FRAMESET || - (e.insertionMode = bv.AFTER_FRAMESET)); + e.openElements.currentTagId === oE.FRAMESET || + (e.insertionMode = uv.AFTER_FRAMESET)); })(this, e); break; - case bv.AFTER_FRAMESET: + case uv.AFTER_FRAMESET: !(function (e, t) { - t.tagID === pE.HTML && (e.insertionMode = bv.AFTER_AFTER_FRAMESET); + t.tagID === oE.HTML && (e.insertionMode = uv.AFTER_AFTER_FRAMESET); })(this, e); break; - case bv.AFTER_AFTER_BODY: - gx(this, e); + case uv.AFTER_AFTER_BODY: + cx(this, e); } } onEof(e) { switch (this.insertionMode) { - case bv.INITIAL: - kv(this, e); - break; - case bv.BEFORE_HTML: - Ov(this, e); + case uv.INITIAL: + wv(this, e); break; - case bv.BEFORE_HEAD: - Lv(this, e); + case uv.BEFORE_HTML: + Av(this, e); break; - case bv.IN_HEAD: - Pv(this, e); + case uv.BEFORE_HEAD: + Cv(this, e); break; - case bv.IN_HEAD_NO_SCRIPT: - jv(this, e); + case uv.IN_HEAD: + Rv(this, e); break; - case bv.AFTER_HEAD: - Bv(this, e); + case uv.IN_HEAD_NO_SCRIPT: + kv(this, e); break; - case bv.IN_BODY: - case bv.IN_TABLE: - case bv.IN_CAPTION: - case bv.IN_COLUMN_GROUP: - case bv.IN_TABLE_BODY: - case bv.IN_ROW: - case bv.IN_CELL: - case bv.IN_SELECT: - case bv.IN_SELECT_IN_TABLE: - Yv(this, e); + case uv.AFTER_HEAD: + Ov(this, e); break; - case bv.TEXT: + case uv.IN_BODY: + case uv.IN_TABLE: + case uv.IN_CAPTION: + case uv.IN_COLUMN_GROUP: + case uv.IN_TABLE_BODY: + case uv.IN_ROW: + case uv.IN_CELL: + case uv.IN_SELECT: + case uv.IN_SELECT_IN_TABLE: + Gv(this, e); + break; + case uv.TEXT: !(function (e, t) { - (e._err(t, Yb.eofInElementThatCanContainOnlyText), + (e._err(t, Gb.eofInElementThatCanContainOnlyText), e.openElements.pop(), (e.insertionMode = e.originalInsertionMode), e.onEof(t)); })(this, e); break; - case bv.IN_TABLE_TEXT: - nx(this, e); + case uv.IN_TABLE_TEXT: + Kv(this, e); break; - case bv.IN_TEMPLATE: - px(this, e); + case uv.IN_TEMPLATE: + ox(this, e); break; - case bv.AFTER_BODY: - case bv.IN_FRAMESET: - case bv.AFTER_FRAMESET: - case bv.AFTER_AFTER_BODY: - case bv.AFTER_AFTER_FRAMESET: - Rv(this, e); + case uv.AFTER_BODY: + case uv.IN_FRAMESET: + case uv.AFTER_FRAMESET: + case uv.AFTER_AFTER_BODY: + case uv.AFTER_AFTER_FRAMESET: + Sv(this, e); } } onWhitespaceCharacter(e) { if ( this.skipNextNewLine && - ((this.skipNextNewLine = !1), e.chars.charCodeAt(0) === Fb.LINE_FEED) + ((this.skipNextNewLine = !1), e.chars.charCodeAt(0) === Lb.LINE_FEED) ) { if (1 === e.chars.length) return; e.chars = e.chars.substr(1); @@ -32744,37 +32698,37 @@ class Tv { if (this.tokenizer.inForeignNode) this._insertCharacters(e); else switch (this.insertionMode) { - case bv.IN_HEAD: - case bv.IN_HEAD_NO_SCRIPT: - case bv.AFTER_HEAD: - case bv.TEXT: - case bv.IN_COLUMN_GROUP: - case bv.IN_SELECT: - case bv.IN_SELECT_IN_TABLE: - case bv.IN_FRAMESET: - case bv.AFTER_FRAMESET: + case uv.IN_HEAD: + case uv.IN_HEAD_NO_SCRIPT: + case uv.AFTER_HEAD: + case uv.TEXT: + case uv.IN_COLUMN_GROUP: + case uv.IN_SELECT: + case uv.IN_SELECT_IN_TABLE: + case uv.IN_FRAMESET: + case uv.AFTER_FRAMESET: this._insertCharacters(e); break; - case bv.IN_BODY: - case bv.IN_CAPTION: - case bv.IN_CELL: - case bv.IN_TEMPLATE: - case bv.AFTER_BODY: - case bv.AFTER_AFTER_BODY: - case bv.AFTER_AFTER_FRAMESET: - Hv(this, e); + case uv.IN_BODY: + case uv.IN_CAPTION: + case uv.IN_CELL: + case uv.IN_TEMPLATE: + case uv.AFTER_BODY: + case uv.AFTER_AFTER_BODY: + case uv.AFTER_AFTER_FRAMESET: + Mv(this, e); break; - case bv.IN_TABLE: - case bv.IN_TABLE_BODY: - case bv.IN_ROW: - Kv(this, e); + case uv.IN_TABLE: + case uv.IN_TABLE_BODY: + case uv.IN_ROW: + Vv(this, e); break; - case bv.IN_TABLE_TEXT: - ex(this, e); + case uv.IN_TABLE_TEXT: + qv(this, e); } } } -function _v(e, t) { +function fv(e, t) { let n = e.activeFormattingElements.getElementEntryInScopeWithTagName( t.tagName, ); @@ -32783,11 +32737,11 @@ function _v(e, t) { ? e.openElements.contains(n.element) ? e.openElements.hasInScope(t.tagID) || (n = null) : (e.activeFormattingElements.removeEntry(n), (n = null)) - : Wv(e, t), + : zv(e, t), n ); } -function yv(e, t) { +function bv(e, t) { let n = null, a = e.openElements.stackTop; for (; a >= 0; a--) { @@ -32802,17 +32756,17 @@ function yv(e, t) { n ); } -function Sv(e, t, n) { +function Ev(e, t, n) { let a = t, r = e.openElements.getCommonAncestor(t); for (let i = 0, o = r; o !== n; i++, o = r) { r = e.openElements.getCommonAncestor(o); const n = e.activeFormattingElements.getElementEntry(o), - s = n && i >= fv; + s = n && i >= dv; !n || s ? (s && e.activeFormattingElements.removeEntry(n), e.openElements.remove(o)) - : ((o = wv(e, n)), + : ((o = vv(e, n)), a === t && (e.activeFormattingElements.bookmark = n), e.treeAdapter.detachNode(a), e.treeAdapter.appendChild(o, a), @@ -32820,23 +32774,23 @@ function Sv(e, t, n) { } return a; } -function wv(e, t) { +function vv(e, t) { const n = e.treeAdapter.getNamespaceURI(t.element), a = e.treeAdapter.createElement(t.token.tagName, n, t.token.attrs); return (e.openElements.replace(t.element, a), (t.element = a), a); } -function Av(e, t, n) { - const a = vE(e.treeAdapter.getTagName(t)); +function xv(e, t, n) { + const a = hE(e.treeAdapter.getTagName(t)); if (e._isElementCausesFosterParenting(a)) e._fosterParentElement(n); else { const r = e.treeAdapter.getNamespaceURI(t); - (a === pE.TEMPLATE && - r === lE.HTML && + (a === oE.TEMPLATE && + r === nE.HTML && (t = e.treeAdapter.getTemplateContent(t)), e.treeAdapter.appendChild(t, n)); } } -function Cv(e, t, n) { +function Tv(e, t, n) { const a = e.treeAdapter.getNamespaceURI(n.element), { token: r } = n, i = e.treeAdapter.createElement(r.tagName, a, r.attrs); @@ -32847,22 +32801,22 @@ function Cv(e, t, n) { e.openElements.remove(n.element), e.openElements.insertAfter(t, i, r.tagID)); } -function Nv(e, t) { - for (let n = 0; n < gv; n++) { - const n = _v(e, t); +function _v(e, t) { + for (let n = 0; n < cv; n++) { + const n = fv(e, t); if (!n) break; - const a = yv(e, n); + const a = bv(e, n); if (!a) break; e.activeFormattingElements.bookmark = n; - const r = Sv(e, a, n.element), + const r = Ev(e, a, n.element), i = e.openElements.getCommonAncestor(n.element); - (e.treeAdapter.detachNode(r), i && Av(e, i, r), Cv(e, a, n)); + (e.treeAdapter.detachNode(r), i && xv(e, i, r), Tv(e, a, n)); } } -function Iv(e, t) { +function yv(e, t) { e._appendCommentNode(t, e.openElements.currentTmplContentOrNode); } -function Rv(e, t) { +function Sv(e, t) { if (((e.stopped = !0), t.location)) { const n = e.fragmentContext ? 0 : 2; for (let a = e.openElements.stackTop; a >= n; a--) @@ -32882,321 +32836,321 @@ function Rv(e, t) { } } } -function kv(e, t) { - (e._err(t, Yb.missingDoctype, !0), - e.treeAdapter.setDocumentMode(e.document, dE.QUIRKS), - (e.insertionMode = bv.BEFORE_HTML), +function wv(e, t) { + (e._err(t, Gb.missingDoctype, !0), + e.treeAdapter.setDocumentMode(e.document, rE.QUIRKS), + (e.insertionMode = uv.BEFORE_HTML), e._processToken(t)); } -function Ov(e, t) { +function Av(e, t) { (e._insertFakeRootElement(), - (e.insertionMode = bv.BEFORE_HEAD), + (e.insertionMode = uv.BEFORE_HEAD), e._processToken(t)); } -function Lv(e, t) { - (e._insertFakeElement(uE.HEAD, pE.HEAD), +function Cv(e, t) { + (e._insertFakeElement(iE.HEAD, oE.HEAD), (e.headElement = e.openElements.current), - (e.insertionMode = bv.IN_HEAD), + (e.insertionMode = uv.IN_HEAD), e._processToken(t)); } -function Mv(e, t) { +function Nv(e, t) { switch (t.tagID) { - case pE.HTML: - $v(e, t); + case oE.HTML: + Hv(e, t); break; - case pE.BASE: - case pE.BASEFONT: - case pE.BGSOUND: - case pE.LINK: - case pE.META: - (e._appendElement(t, lE.HTML), (t.ackSelfClosing = !0)); + case oE.BASE: + case oE.BASEFONT: + case oE.BGSOUND: + case oE.LINK: + case oE.META: + (e._appendElement(t, nE.HTML), (t.ackSelfClosing = !0)); break; - case pE.TITLE: - e._switchToTextParsing(t, SE.RCDATA); + case oE.TITLE: + e._switchToTextParsing(t, EE.RCDATA); break; - case pE.NOSCRIPT: + case oE.NOSCRIPT: e.options.scriptingEnabled - ? e._switchToTextParsing(t, SE.RAWTEXT) - : (e._insertElement(t, lE.HTML), - (e.insertionMode = bv.IN_HEAD_NO_SCRIPT)); + ? e._switchToTextParsing(t, EE.RAWTEXT) + : (e._insertElement(t, nE.HTML), + (e.insertionMode = uv.IN_HEAD_NO_SCRIPT)); break; - case pE.NOFRAMES: - case pE.STYLE: - e._switchToTextParsing(t, SE.RAWTEXT); + case oE.NOFRAMES: + case oE.STYLE: + e._switchToTextParsing(t, EE.RAWTEXT); break; - case pE.SCRIPT: - e._switchToTextParsing(t, SE.SCRIPT_DATA); + case oE.SCRIPT: + e._switchToTextParsing(t, EE.SCRIPT_DATA); break; - case pE.TEMPLATE: + case oE.TEMPLATE: (e._insertTemplate(t), e.activeFormattingElements.insertMarker(), (e.framesetOk = !1), - (e.insertionMode = bv.IN_TEMPLATE), - e.tmplInsertionModeStack.unshift(bv.IN_TEMPLATE)); + (e.insertionMode = uv.IN_TEMPLATE), + e.tmplInsertionModeStack.unshift(uv.IN_TEMPLATE)); break; - case pE.HEAD: - e._err(t, Yb.misplacedStartTagForHeadElement); + case oE.HEAD: + e._err(t, Gb.misplacedStartTagForHeadElement); break; default: - Pv(e, t); + Rv(e, t); } } -function Dv(e, t) { +function Iv(e, t) { e.openElements.tmplCount > 0 ? (e.openElements.generateImpliedEndTagsThoroughly(), - e.openElements.currentTagId !== pE.TEMPLATE && - e._err(t, Yb.closingOfElementWithOpenChildElements), - e.openElements.popUntilTagNamePopped(pE.TEMPLATE), + e.openElements.currentTagId !== oE.TEMPLATE && + e._err(t, Gb.closingOfElementWithOpenChildElements), + e.openElements.popUntilTagNamePopped(oE.TEMPLATE), e.activeFormattingElements.clearToLastMarker(), e.tmplInsertionModeStack.shift(), e._resetInsertionMode()) - : e._err(t, Yb.endTagWithoutMatchingOpenElement); + : e._err(t, Gb.endTagWithoutMatchingOpenElement); } -function Pv(e, t) { - (e.openElements.pop(), (e.insertionMode = bv.AFTER_HEAD), e._processToken(t)); +function Rv(e, t) { + (e.openElements.pop(), (e.insertionMode = uv.AFTER_HEAD), e._processToken(t)); } -function jv(e, t) { +function kv(e, t) { const n = - t.type === Xb.EOF - ? Yb.openElementsLeftAfterEof - : Yb.disallowedContentInNoscriptInHead; + t.type === Zb.EOF + ? Gb.openElementsLeftAfterEof + : Gb.disallowedContentInNoscriptInHead; (e._err(t, n), e.openElements.pop(), - (e.insertionMode = bv.IN_HEAD), + (e.insertionMode = uv.IN_HEAD), e._processToken(t)); } -function Bv(e, t) { - (e._insertFakeElement(uE.BODY, pE.BODY), - (e.insertionMode = bv.IN_BODY), - Fv(e, t)); +function Ov(e, t) { + (e._insertFakeElement(iE.BODY, oE.BODY), + (e.insertionMode = uv.IN_BODY), + Lv(e, t)); } -function Fv(e, t) { +function Lv(e, t) { switch (t.type) { - case Xb.CHARACTER: - zv(e, t); + case Zb.CHARACTER: + Dv(e, t); break; - case Xb.WHITESPACE_CHARACTER: - Hv(e, t); + case Zb.WHITESPACE_CHARACTER: + Mv(e, t); break; - case Xb.COMMENT: - Iv(e, t); + case Zb.COMMENT: + yv(e, t); break; - case Xb.START_TAG: - $v(e, t); + case Zb.START_TAG: + Hv(e, t); break; - case Xb.END_TAG: - qv(e, t); + case Zb.END_TAG: + Uv(e, t); break; - case Xb.EOF: - Yv(e, t); + case Zb.EOF: + Gv(e, t); } } -function Hv(e, t) { +function Mv(e, t) { (e._reconstructActiveFormattingElements(), e._insertCharacters(t)); } -function zv(e, t) { +function Dv(e, t) { (e._reconstructActiveFormattingElements(), e._insertCharacters(t), (e.framesetOk = !1)); } -function Uv(e, t) { +function Pv(e, t) { (e._reconstructActiveFormattingElements(), - e._appendElement(t, lE.HTML), + e._appendElement(t, nE.HTML), (e.framesetOk = !1), (t.ackSelfClosing = !0)); } -function Gv(e) { - const t = Qb(e, cE.TYPE); - return null != t && t.toLowerCase() === mv; +function jv(e) { + const t = $b(e, aE.TYPE); + return null != t && t.toLowerCase() === lv; } -function Vv(e, t) { - e._switchToTextParsing(t, SE.RAWTEXT); +function Bv(e, t) { + e._switchToTextParsing(t, EE.RAWTEXT); } -function Zv(e, t) { - (e._reconstructActiveFormattingElements(), e._insertElement(t, lE.HTML)); +function Fv(e, t) { + (e._reconstructActiveFormattingElements(), e._insertElement(t, nE.HTML)); } -function $v(e, t) { +function Hv(e, t) { switch (t.tagID) { - case pE.I: - case pE.S: - case pE.B: - case pE.U: - case pE.EM: - case pE.TT: - case pE.BIG: - case pE.CODE: - case pE.FONT: - case pE.SMALL: - case pE.STRIKE: - case pE.STRONG: + case oE.I: + case oE.S: + case oE.B: + case oE.U: + case oE.EM: + case oE.TT: + case oE.BIG: + case oE.CODE: + case oE.FONT: + case oE.SMALL: + case oE.STRIKE: + case oE.STRONG: !(function (e, t) { (e._reconstructActiveFormattingElements(), - e._insertElement(t, lE.HTML), + e._insertElement(t, nE.HTML), e.activeFormattingElements.pushElement(e.openElements.current, t)); })(e, t); break; - case pE.A: + case oE.A: !(function (e, t) { const n = e.activeFormattingElements.getElementEntryInScopeWithTagName( - uE.A, + iE.A, ); (n && - (Nv(e, t), + (_v(e, t), e.openElements.remove(n.element), e.activeFormattingElements.removeEntry(n)), e._reconstructActiveFormattingElements(), - e._insertElement(t, lE.HTML), + e._insertElement(t, nE.HTML), e.activeFormattingElements.pushElement(e.openElements.current, t)); })(e, t); break; - case pE.H1: - case pE.H2: - case pE.H3: - case pE.H4: - case pE.H5: - case pE.H6: + case oE.H1: + case oE.H2: + case oE.H3: + case oE.H4: + case oE.H5: + case oE.H6: !(function (e, t) { - (e.openElements.hasInButtonScope(pE.P) && e._closePElement(), - _E.has(e.openElements.currentTagId) && e.openElements.pop(), - e._insertElement(t, lE.HTML)); + (e.openElements.hasInButtonScope(oE.P) && e._closePElement(), + fE.has(e.openElements.currentTagId) && e.openElements.pop(), + e._insertElement(t, nE.HTML)); })(e, t); break; - case pE.P: - case pE.DL: - case pE.OL: - case pE.UL: - case pE.DIV: - case pE.DIR: - case pE.NAV: - case pE.MAIN: - case pE.MENU: - case pE.ASIDE: - case pE.CENTER: - case pE.FIGURE: - case pE.FOOTER: - case pE.HEADER: - case pE.HGROUP: - case pE.DIALOG: - case pE.DETAILS: - case pE.ADDRESS: - case pE.ARTICLE: - case pE.SEARCH: - case pE.SECTION: - case pE.SUMMARY: - case pE.FIELDSET: - case pE.BLOCKQUOTE: - case pE.FIGCAPTION: + case oE.P: + case oE.DL: + case oE.OL: + case oE.UL: + case oE.DIV: + case oE.DIR: + case oE.NAV: + case oE.MAIN: + case oE.MENU: + case oE.ASIDE: + case oE.CENTER: + case oE.FIGURE: + case oE.FOOTER: + case oE.HEADER: + case oE.HGROUP: + case oE.DIALOG: + case oE.DETAILS: + case oE.ADDRESS: + case oE.ARTICLE: + case oE.SEARCH: + case oE.SECTION: + case oE.SUMMARY: + case oE.FIELDSET: + case oE.BLOCKQUOTE: + case oE.FIGCAPTION: !(function (e, t) { - (e.openElements.hasInButtonScope(pE.P) && e._closePElement(), - e._insertElement(t, lE.HTML)); + (e.openElements.hasInButtonScope(oE.P) && e._closePElement(), + e._insertElement(t, nE.HTML)); })(e, t); break; - case pE.LI: - case pE.DD: - case pE.DT: + case oE.LI: + case oE.DD: + case oE.DT: !(function (e, t) { e.framesetOk = !1; const n = t.tagID; for (let t = e.openElements.stackTop; t >= 0; t--) { const a = e.openElements.tagIDs[t]; if ( - (n === pE.LI && a === pE.LI) || - ((n === pE.DD || n === pE.DT) && (a === pE.DD || a === pE.DT)) + (n === oE.LI && a === oE.LI) || + ((n === oE.DD || n === oE.DT) && (a === oE.DD || a === oE.DT)) ) { (e.openElements.generateImpliedEndTagsWithExclusion(a), e.openElements.popUntilTagNamePopped(a)); break; } if ( - a !== pE.ADDRESS && - a !== pE.DIV && - a !== pE.P && + a !== oE.ADDRESS && + a !== oE.DIV && + a !== oE.P && e._isSpecialElement(e.openElements.items[t], a) ) break; } - (e.openElements.hasInButtonScope(pE.P) && e._closePElement(), - e._insertElement(t, lE.HTML)); + (e.openElements.hasInButtonScope(oE.P) && e._closePElement(), + e._insertElement(t, nE.HTML)); })(e, t); break; - case pE.BR: - case pE.IMG: - case pE.WBR: - case pE.AREA: - case pE.EMBED: - case pE.KEYGEN: - Uv(e, t); + case oE.BR: + case oE.IMG: + case oE.WBR: + case oE.AREA: + case oE.EMBED: + case oE.KEYGEN: + Pv(e, t); break; - case pE.HR: + case oE.HR: !(function (e, t) { - (e.openElements.hasInButtonScope(pE.P) && e._closePElement(), - e._appendElement(t, lE.HTML), + (e.openElements.hasInButtonScope(oE.P) && e._closePElement(), + e._appendElement(t, nE.HTML), (e.framesetOk = !1), (t.ackSelfClosing = !0)); })(e, t); break; - case pE.RB: - case pE.RTC: + case oE.RB: + case oE.RTC: !(function (e, t) { - (e.openElements.hasInScope(pE.RUBY) && + (e.openElements.hasInScope(oE.RUBY) && e.openElements.generateImpliedEndTags(), - e._insertElement(t, lE.HTML)); + e._insertElement(t, nE.HTML)); })(e, t); break; - case pE.RT: - case pE.RP: + case oE.RT: + case oE.RP: !(function (e, t) { - (e.openElements.hasInScope(pE.RUBY) && - e.openElements.generateImpliedEndTagsWithExclusion(pE.RTC), - e._insertElement(t, lE.HTML)); + (e.openElements.hasInScope(oE.RUBY) && + e.openElements.generateImpliedEndTagsWithExclusion(oE.RTC), + e._insertElement(t, nE.HTML)); })(e, t); break; - case pE.PRE: - case pE.LISTING: + case oE.PRE: + case oE.LISTING: !(function (e, t) { - (e.openElements.hasInButtonScope(pE.P) && e._closePElement(), - e._insertElement(t, lE.HTML), + (e.openElements.hasInButtonScope(oE.P) && e._closePElement(), + e._insertElement(t, nE.HTML), (e.skipNextNewLine = !0), (e.framesetOk = !1)); })(e, t); break; - case pE.XMP: + case oE.XMP: !(function (e, t) { - (e.openElements.hasInButtonScope(pE.P) && e._closePElement(), + (e.openElements.hasInButtonScope(oE.P) && e._closePElement(), e._reconstructActiveFormattingElements(), (e.framesetOk = !1), - e._switchToTextParsing(t, SE.RAWTEXT)); + e._switchToTextParsing(t, EE.RAWTEXT)); })(e, t); break; - case pE.SVG: + case oE.SVG: !(function (e, t) { (e._reconstructActiveFormattingElements(), - uv(t), - pv(t), + iv(t), + ov(t), t.selfClosing - ? e._appendElement(t, lE.SVG) - : e._insertElement(t, lE.SVG), + ? e._appendElement(t, nE.SVG) + : e._insertElement(t, nE.SVG), (t.ackSelfClosing = !0)); })(e, t); break; - case pE.HTML: + case oE.HTML: !(function (e, t) { 0 === e.openElements.tmplCount && e.treeAdapter.adoptAttributes(e.openElements.items[0], t.attrs); })(e, t); break; - case pE.BASE: - case pE.LINK: - case pE.META: - case pE.STYLE: - case pE.TITLE: - case pE.SCRIPT: - case pE.BGSOUND: - case pE.BASEFONT: - case pE.TEMPLATE: - Mv(e, t); + case oE.BASE: + case oE.LINK: + case oE.META: + case oE.STYLE: + case oE.TITLE: + case oE.SCRIPT: + case oE.BGSOUND: + case oE.BASEFONT: + case oE.TEMPLATE: + Nv(e, t); break; - case pE.BODY: + case oE.BODY: !(function (e, t) { const n = e.openElements.tryPeekProperlyNestedBodyElement(); n && @@ -33204,171 +33158,171 @@ function $v(e, t) { ((e.framesetOk = !1), e.treeAdapter.adoptAttributes(n, t.attrs)); })(e, t); break; - case pE.FORM: + case oE.FORM: !(function (e, t) { const n = e.openElements.tmplCount > 0; (e.formElement && !n) || - (e.openElements.hasInButtonScope(pE.P) && e._closePElement(), - e._insertElement(t, lE.HTML), + (e.openElements.hasInButtonScope(oE.P) && e._closePElement(), + e._insertElement(t, nE.HTML), n || (e.formElement = e.openElements.current)); })(e, t); break; - case pE.NOBR: + case oE.NOBR: !(function (e, t) { (e._reconstructActiveFormattingElements(), - e.openElements.hasInScope(pE.NOBR) && - (Nv(e, t), e._reconstructActiveFormattingElements()), - e._insertElement(t, lE.HTML), + e.openElements.hasInScope(oE.NOBR) && + (_v(e, t), e._reconstructActiveFormattingElements()), + e._insertElement(t, nE.HTML), e.activeFormattingElements.pushElement(e.openElements.current, t)); })(e, t); break; - case pE.MATH: + case oE.MATH: !(function (e, t) { (e._reconstructActiveFormattingElements(), - dv(t), - pv(t), + rv(t), + ov(t), t.selfClosing - ? e._appendElement(t, lE.MATHML) - : e._insertElement(t, lE.MATHML), + ? e._appendElement(t, nE.MATHML) + : e._insertElement(t, nE.MATHML), (t.ackSelfClosing = !0)); })(e, t); break; - case pE.TABLE: + case oE.TABLE: !(function (e, t) { - (e.treeAdapter.getDocumentMode(e.document) !== dE.QUIRKS && - e.openElements.hasInButtonScope(pE.P) && + (e.treeAdapter.getDocumentMode(e.document) !== rE.QUIRKS && + e.openElements.hasInButtonScope(oE.P) && e._closePElement(), - e._insertElement(t, lE.HTML), + e._insertElement(t, nE.HTML), (e.framesetOk = !1), - (e.insertionMode = bv.IN_TABLE)); + (e.insertionMode = uv.IN_TABLE)); })(e, t); break; - case pE.INPUT: + case oE.INPUT: !(function (e, t) { (e._reconstructActiveFormattingElements(), - e._appendElement(t, lE.HTML), - Gv(t) || (e.framesetOk = !1), + e._appendElement(t, nE.HTML), + jv(t) || (e.framesetOk = !1), (t.ackSelfClosing = !0)); })(e, t); break; - case pE.PARAM: - case pE.TRACK: - case pE.SOURCE: + case oE.PARAM: + case oE.TRACK: + case oE.SOURCE: !(function (e, t) { - (e._appendElement(t, lE.HTML), (t.ackSelfClosing = !0)); + (e._appendElement(t, nE.HTML), (t.ackSelfClosing = !0)); })(e, t); break; - case pE.IMAGE: + case oE.IMAGE: !(function (e, t) { - ((t.tagName = uE.IMG), (t.tagID = pE.IMG), Uv(e, t)); + ((t.tagName = iE.IMG), (t.tagID = oE.IMG), Pv(e, t)); })(e, t); break; - case pE.BUTTON: + case oE.BUTTON: !(function (e, t) { - (e.openElements.hasInScope(pE.BUTTON) && + (e.openElements.hasInScope(oE.BUTTON) && (e.openElements.generateImpliedEndTags(), - e.openElements.popUntilTagNamePopped(pE.BUTTON)), + e.openElements.popUntilTagNamePopped(oE.BUTTON)), e._reconstructActiveFormattingElements(), - e._insertElement(t, lE.HTML), + e._insertElement(t, nE.HTML), (e.framesetOk = !1)); })(e, t); break; - case pE.APPLET: - case pE.OBJECT: - case pE.MARQUEE: + case oE.APPLET: + case oE.OBJECT: + case oE.MARQUEE: !(function (e, t) { (e._reconstructActiveFormattingElements(), - e._insertElement(t, lE.HTML), + e._insertElement(t, nE.HTML), e.activeFormattingElements.insertMarker(), (e.framesetOk = !1)); })(e, t); break; - case pE.IFRAME: + case oE.IFRAME: !(function (e, t) { - ((e.framesetOk = !1), e._switchToTextParsing(t, SE.RAWTEXT)); + ((e.framesetOk = !1), e._switchToTextParsing(t, EE.RAWTEXT)); })(e, t); break; - case pE.SELECT: + case oE.SELECT: !(function (e, t) { (e._reconstructActiveFormattingElements(), - e._insertElement(t, lE.HTML), + e._insertElement(t, nE.HTML), (e.framesetOk = !1), (e.insertionMode = - e.insertionMode === bv.IN_TABLE || - e.insertionMode === bv.IN_CAPTION || - e.insertionMode === bv.IN_TABLE_BODY || - e.insertionMode === bv.IN_ROW || - e.insertionMode === bv.IN_CELL - ? bv.IN_SELECT_IN_TABLE - : bv.IN_SELECT)); + e.insertionMode === uv.IN_TABLE || + e.insertionMode === uv.IN_CAPTION || + e.insertionMode === uv.IN_TABLE_BODY || + e.insertionMode === uv.IN_ROW || + e.insertionMode === uv.IN_CELL + ? uv.IN_SELECT_IN_TABLE + : uv.IN_SELECT)); })(e, t); break; - case pE.OPTION: - case pE.OPTGROUP: + case oE.OPTION: + case oE.OPTGROUP: !(function (e, t) { - (e.openElements.currentTagId === pE.OPTION && e.openElements.pop(), + (e.openElements.currentTagId === oE.OPTION && e.openElements.pop(), e._reconstructActiveFormattingElements(), - e._insertElement(t, lE.HTML)); + e._insertElement(t, nE.HTML)); })(e, t); break; - case pE.NOEMBED: - case pE.NOFRAMES: - Vv(e, t); + case oE.NOEMBED: + case oE.NOFRAMES: + Bv(e, t); break; - case pE.FRAMESET: + case oE.FRAMESET: !(function (e, t) { const n = e.openElements.tryPeekProperlyNestedBodyElement(); e.framesetOk && n && (e.treeAdapter.detachNode(n), e.openElements.popAllUpToHtmlElement(), - e._insertElement(t, lE.HTML), - (e.insertionMode = bv.IN_FRAMESET)); + e._insertElement(t, nE.HTML), + (e.insertionMode = uv.IN_FRAMESET)); })(e, t); break; - case pE.TEXTAREA: + case oE.TEXTAREA: !(function (e, t) { - (e._insertElement(t, lE.HTML), + (e._insertElement(t, nE.HTML), (e.skipNextNewLine = !0), - (e.tokenizer.state = SE.RCDATA), + (e.tokenizer.state = EE.RCDATA), (e.originalInsertionMode = e.insertionMode), (e.framesetOk = !1), - (e.insertionMode = bv.TEXT)); + (e.insertionMode = uv.TEXT)); })(e, t); break; - case pE.NOSCRIPT: - e.options.scriptingEnabled ? Vv(e, t) : Zv(e, t); + case oE.NOSCRIPT: + e.options.scriptingEnabled ? Bv(e, t) : Fv(e, t); break; - case pE.PLAINTEXT: + case oE.PLAINTEXT: !(function (e, t) { - (e.openElements.hasInButtonScope(pE.P) && e._closePElement(), - e._insertElement(t, lE.HTML), - (e.tokenizer.state = SE.PLAINTEXT)); + (e.openElements.hasInButtonScope(oE.P) && e._closePElement(), + e._insertElement(t, nE.HTML), + (e.tokenizer.state = EE.PLAINTEXT)); })(e, t); break; - case pE.COL: - case pE.TH: - case pE.TD: - case pE.TR: - case pE.HEAD: - case pE.FRAME: - case pE.TBODY: - case pE.TFOOT: - case pE.THEAD: - case pE.CAPTION: - case pE.COLGROUP: + case oE.COL: + case oE.TH: + case oE.TD: + case oE.TR: + case oE.HEAD: + case oE.FRAME: + case oE.TBODY: + case oE.TFOOT: + case oE.THEAD: + case oE.CAPTION: + case oE.COLGROUP: break; default: - Zv(e, t); + Fv(e, t); } } -function Wv(e, t) { +function zv(e, t) { const n = t.tagName, a = t.tagID; for (let t = e.openElements.stackTop; t > 0; t--) { const r = e.openElements.items[t], i = e.openElements.tagIDs[t]; - if (a === i && (a !== pE.UNKNOWN || e.treeAdapter.getTagName(r) === n)) { + if (a === i && (a !== oE.UNKNOWN || e.treeAdapter.getTagName(r) === n)) { (e.openElements.generateImpliedEndTagsWithExclusion(a), e.openElements.stackTop >= t && e.openElements.shortenToLength(t)); break; @@ -33376,58 +33330,58 @@ function Wv(e, t) { if (e._isSpecialElement(r, i)) break; } } -function qv(e, t) { +function Uv(e, t) { switch (t.tagID) { - case pE.A: - case pE.B: - case pE.I: - case pE.S: - case pE.U: - case pE.EM: - case pE.TT: - case pE.BIG: - case pE.CODE: - case pE.FONT: - case pE.NOBR: - case pE.SMALL: - case pE.STRIKE: - case pE.STRONG: - Nv(e, t); + case oE.A: + case oE.B: + case oE.I: + case oE.S: + case oE.U: + case oE.EM: + case oE.TT: + case oE.BIG: + case oE.CODE: + case oE.FONT: + case oE.NOBR: + case oE.SMALL: + case oE.STRIKE: + case oE.STRONG: + _v(e, t); break; - case pE.P: + case oE.P: !(function (e) { - (e.openElements.hasInButtonScope(pE.P) || - e._insertFakeElement(uE.P, pE.P), + (e.openElements.hasInButtonScope(oE.P) || + e._insertFakeElement(iE.P, oE.P), e._closePElement()); })(e); break; - case pE.DL: - case pE.UL: - case pE.OL: - case pE.DIR: - case pE.DIV: - case pE.NAV: - case pE.PRE: - case pE.MAIN: - case pE.MENU: - case pE.ASIDE: - case pE.BUTTON: - case pE.CENTER: - case pE.FIGURE: - case pE.FOOTER: - case pE.HEADER: - case pE.HGROUP: - case pE.DIALOG: - case pE.ADDRESS: - case pE.ARTICLE: - case pE.DETAILS: - case pE.SEARCH: - case pE.SECTION: - case pE.SUMMARY: - case pE.LISTING: - case pE.FIELDSET: - case pE.BLOCKQUOTE: - case pE.FIGCAPTION: + case oE.DL: + case oE.UL: + case oE.OL: + case oE.DIR: + case oE.DIV: + case oE.NAV: + case oE.PRE: + case oE.MAIN: + case oE.MENU: + case oE.ASIDE: + case oE.BUTTON: + case oE.CENTER: + case oE.FIGURE: + case oE.FOOTER: + case oE.HEADER: + case oE.HGROUP: + case oE.DIALOG: + case oE.ADDRESS: + case oE.ARTICLE: + case oE.DETAILS: + case oE.SEARCH: + case oE.SECTION: + case oE.SUMMARY: + case oE.LISTING: + case oE.FIELDSET: + case oE.BLOCKQUOTE: + case oE.FIGCAPTION: !(function (e, t) { const n = t.tagID; e.openElements.hasInScope(n) && @@ -33435,15 +33389,15 @@ function qv(e, t) { e.openElements.popUntilTagNamePopped(n)); })(e, t); break; - case pE.LI: + case oE.LI: !(function (e) { - e.openElements.hasInListItemScope(pE.LI) && - (e.openElements.generateImpliedEndTagsWithExclusion(pE.LI), - e.openElements.popUntilTagNamePopped(pE.LI)); + e.openElements.hasInListItemScope(oE.LI) && + (e.openElements.generateImpliedEndTagsWithExclusion(oE.LI), + e.openElements.popUntilTagNamePopped(oE.LI)); })(e); break; - case pE.DD: - case pE.DT: + case oE.DD: + case oE.DT: !(function (e, t) { const n = t.tagID; e.openElements.hasInScope(n) && @@ -33451,59 +33405,59 @@ function qv(e, t) { e.openElements.popUntilTagNamePopped(n)); })(e, t); break; - case pE.H1: - case pE.H2: - case pE.H3: - case pE.H4: - case pE.H5: - case pE.H6: + case oE.H1: + case oE.H2: + case oE.H3: + case oE.H4: + case oE.H5: + case oE.H6: !(function (e) { e.openElements.hasNumberedHeaderInScope() && (e.openElements.generateImpliedEndTags(), e.openElements.popUntilNumberedHeaderPopped()); })(e); break; - case pE.BR: + case oE.BR: !(function (e) { (e._reconstructActiveFormattingElements(), - e._insertFakeElement(uE.BR, pE.BR), + e._insertFakeElement(iE.BR, oE.BR), e.openElements.pop(), (e.framesetOk = !1)); })(e); break; - case pE.BODY: + case oE.BODY: !(function (e, t) { if ( - e.openElements.hasInScope(pE.BODY) && - ((e.insertionMode = bv.AFTER_BODY), e.options.sourceCodeLocationInfo) + e.openElements.hasInScope(oE.BODY) && + ((e.insertionMode = uv.AFTER_BODY), e.options.sourceCodeLocationInfo) ) { const n = e.openElements.tryPeekProperlyNestedBodyElement(); n && e._setEndLocation(n, t); } })(e, t); break; - case pE.HTML: + case oE.HTML: !(function (e, t) { - e.openElements.hasInScope(pE.BODY) && - ((e.insertionMode = bv.AFTER_BODY), hx(e, t)); + e.openElements.hasInScope(oE.BODY) && + ((e.insertionMode = uv.AFTER_BODY), sx(e, t)); })(e, t); break; - case pE.FORM: + case oE.FORM: !(function (e) { const t = e.openElements.tmplCount > 0, { formElement: n } = e; (t || (e.formElement = null), (n || t) && - e.openElements.hasInScope(pE.FORM) && + e.openElements.hasInScope(oE.FORM) && (e.openElements.generateImpliedEndTags(), t - ? e.openElements.popUntilTagNamePopped(pE.FORM) + ? e.openElements.popUntilTagNamePopped(oE.FORM) : n && e.openElements.remove(n))); })(e); break; - case pE.APPLET: - case pE.OBJECT: - case pE.MARQUEE: + case oE.APPLET: + case oE.OBJECT: + case oE.MARQUEE: !(function (e, t) { const n = t.tagID; e.openElements.hasInScope(n) && @@ -33512,380 +33466,380 @@ function qv(e, t) { e.activeFormattingElements.clearToLastMarker()); })(e, t); break; - case pE.TEMPLATE: - Dv(e, t); + case oE.TEMPLATE: + Iv(e, t); break; default: - Wv(e, t); + zv(e, t); } } -function Yv(e, t) { - e.tmplInsertionModeStack.length > 0 ? px(e, t) : Rv(e, t); +function Gv(e, t) { + e.tmplInsertionModeStack.length > 0 ? ox(e, t) : Sv(e, t); } -function Kv(e, t) { - if (vv.has(e.openElements.currentTagId)) +function Vv(e, t) { + if (hv.has(e.openElements.currentTagId)) switch ( ((e.pendingCharacterTokens.length = 0), (e.hasNonWhitespacePendingCharacterToken = !1), (e.originalInsertionMode = e.insertionMode), - (e.insertionMode = bv.IN_TABLE_TEXT), + (e.insertionMode = uv.IN_TABLE_TEXT), t.type) ) { - case Xb.CHARACTER: - tx(e, t); + case Zb.CHARACTER: + Yv(e, t); break; - case Xb.WHITESPACE_CHARACTER: - ex(e, t); + case Zb.WHITESPACE_CHARACTER: + qv(e, t); } - else Jv(e, t); + else Wv(e, t); } -function Xv(e, t) { +function Zv(e, t) { switch (t.tagID) { - case pE.TD: - case pE.TH: - case pE.TR: + case oE.TD: + case oE.TH: + case oE.TR: !(function (e, t) { (e.openElements.clearBackToTableContext(), - e._insertFakeElement(uE.TBODY, pE.TBODY), - (e.insertionMode = bv.IN_TABLE_BODY), - ox(e, t)); + e._insertFakeElement(iE.TBODY, oE.TBODY), + (e.insertionMode = uv.IN_TABLE_BODY), + ex(e, t)); })(e, t); break; - case pE.STYLE: - case pE.SCRIPT: - case pE.TEMPLATE: - Mv(e, t); + case oE.STYLE: + case oE.SCRIPT: + case oE.TEMPLATE: + Nv(e, t); break; - case pE.COL: + case oE.COL: !(function (e, t) { (e.openElements.clearBackToTableContext(), - e._insertFakeElement(uE.COLGROUP, pE.COLGROUP), - (e.insertionMode = bv.IN_COLUMN_GROUP), - rx(e, t)); + e._insertFakeElement(iE.COLGROUP, oE.COLGROUP), + (e.insertionMode = uv.IN_COLUMN_GROUP), + Qv(e, t)); })(e, t); break; - case pE.FORM: + case oE.FORM: !(function (e, t) { e.formElement || 0 !== e.openElements.tmplCount || - (e._insertElement(t, lE.HTML), + (e._insertElement(t, nE.HTML), (e.formElement = e.openElements.current), e.openElements.pop()); })(e, t); break; - case pE.TABLE: + case oE.TABLE: !(function (e, t) { - e.openElements.hasInTableScope(pE.TABLE) && - (e.openElements.popUntilTagNamePopped(pE.TABLE), + e.openElements.hasInTableScope(oE.TABLE) && + (e.openElements.popUntilTagNamePopped(oE.TABLE), e._resetInsertionMode(), e._processStartTag(t)); })(e, t); break; - case pE.TBODY: - case pE.TFOOT: - case pE.THEAD: + case oE.TBODY: + case oE.TFOOT: + case oE.THEAD: !(function (e, t) { (e.openElements.clearBackToTableContext(), - e._insertElement(t, lE.HTML), - (e.insertionMode = bv.IN_TABLE_BODY)); + e._insertElement(t, nE.HTML), + (e.insertionMode = uv.IN_TABLE_BODY)); })(e, t); break; - case pE.INPUT: + case oE.INPUT: !(function (e, t) { - (Gv(t) ? e._appendElement(t, lE.HTML) : Jv(e, t), + (jv(t) ? e._appendElement(t, nE.HTML) : Wv(e, t), (t.ackSelfClosing = !0)); })(e, t); break; - case pE.CAPTION: + case oE.CAPTION: !(function (e, t) { (e.openElements.clearBackToTableContext(), e.activeFormattingElements.insertMarker(), - e._insertElement(t, lE.HTML), - (e.insertionMode = bv.IN_CAPTION)); + e._insertElement(t, nE.HTML), + (e.insertionMode = uv.IN_CAPTION)); })(e, t); break; - case pE.COLGROUP: + case oE.COLGROUP: !(function (e, t) { (e.openElements.clearBackToTableContext(), - e._insertElement(t, lE.HTML), - (e.insertionMode = bv.IN_COLUMN_GROUP)); + e._insertElement(t, nE.HTML), + (e.insertionMode = uv.IN_COLUMN_GROUP)); })(e, t); break; default: - Jv(e, t); + Wv(e, t); } } -function Qv(e, t) { +function $v(e, t) { switch (t.tagID) { - case pE.TABLE: - e.openElements.hasInTableScope(pE.TABLE) && - (e.openElements.popUntilTagNamePopped(pE.TABLE), + case oE.TABLE: + e.openElements.hasInTableScope(oE.TABLE) && + (e.openElements.popUntilTagNamePopped(oE.TABLE), e._resetInsertionMode()); break; - case pE.TEMPLATE: - Dv(e, t); + case oE.TEMPLATE: + Iv(e, t); break; - case pE.BODY: - case pE.CAPTION: - case pE.COL: - case pE.COLGROUP: - case pE.HTML: - case pE.TBODY: - case pE.TD: - case pE.TFOOT: - case pE.TH: - case pE.THEAD: - case pE.TR: + case oE.BODY: + case oE.CAPTION: + case oE.COL: + case oE.COLGROUP: + case oE.HTML: + case oE.TBODY: + case oE.TD: + case oE.TFOOT: + case oE.TH: + case oE.THEAD: + case oE.TR: break; default: - Jv(e, t); + Wv(e, t); } } -function Jv(e, t) { +function Wv(e, t) { const n = e.fosterParentingEnabled; - ((e.fosterParentingEnabled = !0), Fv(e, t), (e.fosterParentingEnabled = n)); + ((e.fosterParentingEnabled = !0), Lv(e, t), (e.fosterParentingEnabled = n)); } -function ex(e, t) { +function qv(e, t) { e.pendingCharacterTokens.push(t); } -function tx(e, t) { +function Yv(e, t) { (e.pendingCharacterTokens.push(t), (e.hasNonWhitespacePendingCharacterToken = !0)); } -function nx(e, t) { +function Kv(e, t) { let n = 0; if (e.hasNonWhitespacePendingCharacterToken) for (; n < e.pendingCharacterTokens.length; n++) - Jv(e, e.pendingCharacterTokens[n]); + Wv(e, e.pendingCharacterTokens[n]); else for (; n < e.pendingCharacterTokens.length; n++) e._insertCharacters(e.pendingCharacterTokens[n]); ((e.insertionMode = e.originalInsertionMode), e._processToken(t)); } -const ax = new Set([ - pE.CAPTION, - pE.COL, - pE.COLGROUP, - pE.TBODY, - pE.TD, - pE.TFOOT, - pE.TH, - pE.THEAD, - pE.TR, +const Xv = new Set([ + oE.CAPTION, + oE.COL, + oE.COLGROUP, + oE.TBODY, + oE.TD, + oE.TFOOT, + oE.TH, + oE.THEAD, + oE.TR, ]); -function rx(e, t) { +function Qv(e, t) { switch (t.tagID) { - case pE.HTML: - $v(e, t); + case oE.HTML: + Hv(e, t); break; - case pE.COL: - (e._appendElement(t, lE.HTML), (t.ackSelfClosing = !0)); + case oE.COL: + (e._appendElement(t, nE.HTML), (t.ackSelfClosing = !0)); break; - case pE.TEMPLATE: - Mv(e, t); + case oE.TEMPLATE: + Nv(e, t); break; default: - ix(e, t); + Jv(e, t); } } -function ix(e, t) { - e.openElements.currentTagId === pE.COLGROUP && - (e.openElements.pop(), (e.insertionMode = bv.IN_TABLE), e._processToken(t)); +function Jv(e, t) { + e.openElements.currentTagId === oE.COLGROUP && + (e.openElements.pop(), (e.insertionMode = uv.IN_TABLE), e._processToken(t)); } -function ox(e, t) { +function ex(e, t) { switch (t.tagID) { - case pE.TR: + case oE.TR: (e.openElements.clearBackToTableBodyContext(), - e._insertElement(t, lE.HTML), - (e.insertionMode = bv.IN_ROW)); + e._insertElement(t, nE.HTML), + (e.insertionMode = uv.IN_ROW)); break; - case pE.TH: - case pE.TD: + case oE.TH: + case oE.TD: (e.openElements.clearBackToTableBodyContext(), - e._insertFakeElement(uE.TR, pE.TR), - (e.insertionMode = bv.IN_ROW), - lx(e, t)); + e._insertFakeElement(iE.TR, oE.TR), + (e.insertionMode = uv.IN_ROW), + nx(e, t)); break; - case pE.CAPTION: - case pE.COL: - case pE.COLGROUP: - case pE.TBODY: - case pE.TFOOT: - case pE.THEAD: + case oE.CAPTION: + case oE.COL: + case oE.COLGROUP: + case oE.TBODY: + case oE.TFOOT: + case oE.THEAD: e.openElements.hasTableBodyContextInTableScope() && (e.openElements.clearBackToTableBodyContext(), e.openElements.pop(), - (e.insertionMode = bv.IN_TABLE), - Xv(e, t)); + (e.insertionMode = uv.IN_TABLE), + Zv(e, t)); break; default: - Xv(e, t); + Zv(e, t); } } -function sx(e, t) { +function tx(e, t) { const n = t.tagID; switch (t.tagID) { - case pE.TBODY: - case pE.TFOOT: - case pE.THEAD: + case oE.TBODY: + case oE.TFOOT: + case oE.THEAD: e.openElements.hasInTableScope(n) && (e.openElements.clearBackToTableBodyContext(), e.openElements.pop(), - (e.insertionMode = bv.IN_TABLE)); + (e.insertionMode = uv.IN_TABLE)); break; - case pE.TABLE: + case oE.TABLE: e.openElements.hasTableBodyContextInTableScope() && (e.openElements.clearBackToTableBodyContext(), e.openElements.pop(), - (e.insertionMode = bv.IN_TABLE), - Qv(e, t)); + (e.insertionMode = uv.IN_TABLE), + $v(e, t)); break; - case pE.BODY: - case pE.CAPTION: - case pE.COL: - case pE.COLGROUP: - case pE.HTML: - case pE.TD: - case pE.TH: - case pE.TR: + case oE.BODY: + case oE.CAPTION: + case oE.COL: + case oE.COLGROUP: + case oE.HTML: + case oE.TD: + case oE.TH: + case oE.TR: break; default: - Qv(e, t); + $v(e, t); } } -function lx(e, t) { +function nx(e, t) { switch (t.tagID) { - case pE.TH: - case pE.TD: + case oE.TH: + case oE.TD: (e.openElements.clearBackToTableRowContext(), - e._insertElement(t, lE.HTML), - (e.insertionMode = bv.IN_CELL), + e._insertElement(t, nE.HTML), + (e.insertionMode = uv.IN_CELL), e.activeFormattingElements.insertMarker()); break; - case pE.CAPTION: - case pE.COL: - case pE.COLGROUP: - case pE.TBODY: - case pE.TFOOT: - case pE.THEAD: - case pE.TR: - e.openElements.hasInTableScope(pE.TR) && + case oE.CAPTION: + case oE.COL: + case oE.COLGROUP: + case oE.TBODY: + case oE.TFOOT: + case oE.THEAD: + case oE.TR: + e.openElements.hasInTableScope(oE.TR) && (e.openElements.clearBackToTableRowContext(), e.openElements.pop(), - (e.insertionMode = bv.IN_TABLE_BODY), - ox(e, t)); + (e.insertionMode = uv.IN_TABLE_BODY), + ex(e, t)); break; default: - Xv(e, t); + Zv(e, t); } } -function cx(e, t) { +function ax(e, t) { switch (t.tagID) { - case pE.TR: - e.openElements.hasInTableScope(pE.TR) && + case oE.TR: + e.openElements.hasInTableScope(oE.TR) && (e.openElements.clearBackToTableRowContext(), e.openElements.pop(), - (e.insertionMode = bv.IN_TABLE_BODY)); + (e.insertionMode = uv.IN_TABLE_BODY)); break; - case pE.TABLE: - e.openElements.hasInTableScope(pE.TR) && + case oE.TABLE: + e.openElements.hasInTableScope(oE.TR) && (e.openElements.clearBackToTableRowContext(), e.openElements.pop(), - (e.insertionMode = bv.IN_TABLE_BODY), - sx(e, t)); + (e.insertionMode = uv.IN_TABLE_BODY), + tx(e, t)); break; - case pE.TBODY: - case pE.TFOOT: - case pE.THEAD: + case oE.TBODY: + case oE.TFOOT: + case oE.THEAD: (e.openElements.hasInTableScope(t.tagID) || - e.openElements.hasInTableScope(pE.TR)) && + e.openElements.hasInTableScope(oE.TR)) && (e.openElements.clearBackToTableRowContext(), e.openElements.pop(), - (e.insertionMode = bv.IN_TABLE_BODY), - sx(e, t)); + (e.insertionMode = uv.IN_TABLE_BODY), + tx(e, t)); break; - case pE.BODY: - case pE.CAPTION: - case pE.COL: - case pE.COLGROUP: - case pE.HTML: - case pE.TD: - case pE.TH: + case oE.BODY: + case oE.CAPTION: + case oE.COL: + case oE.COLGROUP: + case oE.HTML: + case oE.TD: + case oE.TH: break; default: - Qv(e, t); + $v(e, t); } } -function dx(e, t) { +function rx(e, t) { switch (t.tagID) { - case pE.HTML: - $v(e, t); + case oE.HTML: + Hv(e, t); break; - case pE.OPTION: - (e.openElements.currentTagId === pE.OPTION && e.openElements.pop(), - e._insertElement(t, lE.HTML)); + case oE.OPTION: + (e.openElements.currentTagId === oE.OPTION && e.openElements.pop(), + e._insertElement(t, nE.HTML)); break; - case pE.OPTGROUP: - (e.openElements.currentTagId === pE.OPTION && e.openElements.pop(), - e.openElements.currentTagId === pE.OPTGROUP && e.openElements.pop(), - e._insertElement(t, lE.HTML)); + case oE.OPTGROUP: + (e.openElements.currentTagId === oE.OPTION && e.openElements.pop(), + e.openElements.currentTagId === oE.OPTGROUP && e.openElements.pop(), + e._insertElement(t, nE.HTML)); break; - case pE.HR: - (e.openElements.currentTagId === pE.OPTION && e.openElements.pop(), - e.openElements.currentTagId === pE.OPTGROUP && e.openElements.pop(), - e._appendElement(t, lE.HTML), + case oE.HR: + (e.openElements.currentTagId === oE.OPTION && e.openElements.pop(), + e.openElements.currentTagId === oE.OPTGROUP && e.openElements.pop(), + e._appendElement(t, nE.HTML), (t.ackSelfClosing = !0)); break; - case pE.INPUT: - case pE.KEYGEN: - case pE.TEXTAREA: - case pE.SELECT: - e.openElements.hasInSelectScope(pE.SELECT) && - (e.openElements.popUntilTagNamePopped(pE.SELECT), + case oE.INPUT: + case oE.KEYGEN: + case oE.TEXTAREA: + case oE.SELECT: + e.openElements.hasInSelectScope(oE.SELECT) && + (e.openElements.popUntilTagNamePopped(oE.SELECT), e._resetInsertionMode(), - t.tagID !== pE.SELECT && e._processStartTag(t)); + t.tagID !== oE.SELECT && e._processStartTag(t)); break; - case pE.SCRIPT: - case pE.TEMPLATE: - Mv(e, t); + case oE.SCRIPT: + case oE.TEMPLATE: + Nv(e, t); } } -function ux(e, t) { +function ix(e, t) { switch (t.tagID) { - case pE.OPTGROUP: + case oE.OPTGROUP: (e.openElements.stackTop > 0 && - e.openElements.currentTagId === pE.OPTION && - e.openElements.tagIDs[e.openElements.stackTop - 1] === pE.OPTGROUP && + e.openElements.currentTagId === oE.OPTION && + e.openElements.tagIDs[e.openElements.stackTop - 1] === oE.OPTGROUP && e.openElements.pop(), - e.openElements.currentTagId === pE.OPTGROUP && e.openElements.pop()); + e.openElements.currentTagId === oE.OPTGROUP && e.openElements.pop()); break; - case pE.OPTION: - e.openElements.currentTagId === pE.OPTION && e.openElements.pop(); + case oE.OPTION: + e.openElements.currentTagId === oE.OPTION && e.openElements.pop(); break; - case pE.SELECT: - e.openElements.hasInSelectScope(pE.SELECT) && - (e.openElements.popUntilTagNamePopped(pE.SELECT), + case oE.SELECT: + e.openElements.hasInSelectScope(oE.SELECT) && + (e.openElements.popUntilTagNamePopped(oE.SELECT), e._resetInsertionMode()); break; - case pE.TEMPLATE: - Dv(e, t); + case oE.TEMPLATE: + Iv(e, t); } } -function px(e, t) { +function ox(e, t) { e.openElements.tmplCount > 0 - ? (e.openElements.popUntilTagNamePopped(pE.TEMPLATE), + ? (e.openElements.popUntilTagNamePopped(oE.TEMPLATE), e.activeFormattingElements.clearToLastMarker(), e.tmplInsertionModeStack.shift(), e._resetInsertionMode(), e.onEof(t)) - : Rv(e, t); + : Sv(e, t); } -function hx(e, t) { +function sx(e, t) { var n; - if (t.tagID === pE.HTML) { + if (t.tagID === oE.HTML) { if ( - (e.fragmentContext || (e.insertionMode = bv.AFTER_AFTER_BODY), - e.options.sourceCodeLocationInfo && e.openElements.tagIDs[0] === pE.HTML) + (e.fragmentContext || (e.insertionMode = uv.AFTER_AFTER_BODY), + e.options.sourceCodeLocationInfo && e.openElements.tagIDs[0] === oE.HTML) ) { e._setEndLocation(e.openElements.items[0], t); const a = e.openElements.items[1]; @@ -33896,61 +33850,61 @@ function hx(e, t) { : n.endTag) && e._setEndLocation(a, t); } - } else mx(e, t); + } else lx(e, t); } -function mx(e, t) { - ((e.insertionMode = bv.IN_BODY), Fv(e, t)); +function lx(e, t) { + ((e.insertionMode = uv.IN_BODY), Lv(e, t)); } -function gx(e, t) { - ((e.insertionMode = bv.IN_BODY), Fv(e, t)); +function cx(e, t) { + ((e.insertionMode = uv.IN_BODY), Lv(e, t)); } -function fx(e) { +function dx(e) { for ( ; - e.treeAdapter.getNamespaceURI(e.openElements.current) !== lE.HTML && + e.treeAdapter.getNamespaceURI(e.openElements.current) !== nE.HTML && !e._isIntegrationPoint(e.openElements.currentTagId, e.openElements.current); ) e.openElements.pop(); } -function bx(e, t) { - return Tv.parse(e, t); +function ux(e, t) { + return gv.parse(e, t); } -function Ex(e, t, n) { +function px(e, t, n) { "string" == typeof e && ((n = t), (t = e), (e = null)); - const a = Tv.getFragmentParser(e, n); + const a = gv.getFragmentParser(e, n); return (a.tokenizer.write(t, !0), a.getFragment()); } -function vx(e) { - return Tx(e && e.line) + ":" + Tx(e && e.column); +function hx(e) { + return gx(e && e.line) + ":" + gx(e && e.column); } -function xx(e) { - return vx(e && e.start) + "-" + vx(e && e.end); +function mx(e) { + return hx(e && e.start) + "-" + hx(e && e.end); } -function Tx(e) { +function gx(e) { return e && "number" == typeof e ? e : 1; } new Set([ - uE.AREA, - uE.BASE, - uE.BASEFONT, - uE.BGSOUND, - uE.BR, - uE.COL, - uE.EMBED, - uE.FRAME, - uE.HR, - uE.IMG, - uE.INPUT, - uE.KEYGEN, - uE.LINK, - uE.META, - uE.PARAM, - uE.SOURCE, - uE.TRACK, - uE.WBR, + iE.AREA, + iE.BASE, + iE.BASEFONT, + iE.BGSOUND, + iE.BR, + iE.COL, + iE.EMBED, + iE.FRAME, + iE.HR, + iE.IMG, + iE.INPUT, + iE.KEYGEN, + iE.LINK, + iE.META, + iE.PARAM, + iE.SOURCE, + iE.TRACK, + iE.WBR, ]); -class _x extends Error { +class fx extends Error { constructor(e, t, n) { (super(), "string" == typeof t && ((n = t), (t = void 0))); let a = "", @@ -33990,11 +33944,11 @@ class _x extends Error { (this.name = ((s = r.place) && "object" == typeof s ? "position" in s || "type" in s - ? xx(s.position) + ? mx(s.position) : "start" in s || "end" in s - ? xx(s) + ? mx(s) : "line" in s || "column" in s - ? vx(s) + ? hx(s) : "" : "") || "1:1"), (this.place = r.place || void 0), @@ -34009,24 +33963,24 @@ class _x extends Error { this.url); } } -((_x.prototype.file = ""), - (_x.prototype.name = ""), - (_x.prototype.reason = ""), - (_x.prototype.message = ""), - (_x.prototype.stack = ""), - (_x.prototype.column = void 0), - (_x.prototype.line = void 0), - (_x.prototype.ancestors = void 0), - (_x.prototype.cause = void 0), - (_x.prototype.fatal = void 0), - (_x.prototype.place = void 0), - (_x.prototype.ruleId = void 0), - (_x.prototype.source = void 0)); -const yx = { +((fx.prototype.file = ""), + (fx.prototype.name = ""), + (fx.prototype.reason = ""), + (fx.prototype.message = ""), + (fx.prototype.stack = ""), + (fx.prototype.column = void 0), + (fx.prototype.line = void 0), + (fx.prototype.ancestors = void 0), + (fx.prototype.cause = void 0), + (fx.prototype.fatal = void 0), + (fx.prototype.place = void 0), + (fx.prototype.ruleId = void 0), + (fx.prototype.source = void 0)); +const bx = { basename: function (e, t) { if (void 0 !== t && "string" != typeof t) throw new TypeError('"ext" argument must be a string'); - Sx(e); + Ex(e); let n, a = 0, r = -1, @@ -34060,7 +34014,7 @@ const yx = { return e.slice(a, r); }, dirname: function (e) { - if ((Sx(e), 0 === e.length)) return "."; + if ((Ex(e), 0 === e.length)) return "."; let t, n = -1, a = e.length; @@ -34080,7 +34034,7 @@ const yx = { : e.slice(0, n); }, extname: function (e) { - Sx(e); + Ex(e); let t, n = e.length, a = -1, @@ -34109,11 +34063,11 @@ const yx = { let t, n = -1; for (; ++n < e.length; ) - (Sx(e[n]), e[n] && (t = void 0 === t ? e[n] : t + "/" + e[n])); + (Ex(e[n]), e[n] && (t = void 0 === t ? e[n] : t + "/" + e[n])); return void 0 === t ? "." : (function (e) { - Sx(e); + Ex(e); const t = 47 === e.codePointAt(0); let n = (function (e, t) { let n, @@ -34170,16 +34124,16 @@ const yx = { }, sep: "/", }; -function Sx(e) { +function Ex(e) { if ("string" != typeof e) throw new TypeError("Path must be a string. Received " + JSON.stringify(e)); } -const wx = { +const vx = { cwd: function () { return "/"; }, }; -function Ax(e) { +function xx(e) { return Boolean( null !== e && "object" == typeof e && @@ -34190,9 +34144,9 @@ function Ax(e) { void 0 === e.auth, ); } -function Cx(e) { +function Tx(e) { if ("string" == typeof e) e = new URL(e); - else if (!Ax(e)) { + else if (!xx(e)) { const t = new TypeError( 'The "path" argument must be of type string or an instance of URL. Received `' + e + @@ -34226,12 +34180,12 @@ function Cx(e) { return decodeURIComponent(t); })(e); } -const Nx = ["history", "path", "basename", "stem", "extname", "dirname"]; -class Ix { +const _x = ["history", "path", "basename", "stem", "extname", "dirname"]; +class yx { constructor(e) { let t; ((t = e - ? Ax(e) + ? xx(e) ? { path: e } : "string" == typeof e || (function (e) { @@ -34245,7 +34199,7 @@ class Ix { ? { value: e } : e : {}), - (this.cwd = "cwd" in t ? "" : wx.cwd()), + (this.cwd = "cwd" in t ? "" : vx.cwd()), (this.data = {}), (this.history = []), (this.messages = []), @@ -34255,59 +34209,59 @@ class Ix { this.stored); let n, a = -1; - for (; ++a < Nx.length; ) { - const e = Nx[a]; + for (; ++a < _x.length; ) { + const e = _x[a]; e in t && void 0 !== t[e] && null !== t[e] && (this[e] = "history" === e ? [...t[e]] : t[e]); } - for (n in t) Nx.includes(n) || (this[n] = t[n]); + for (n in t) _x.includes(n) || (this[n] = t[n]); } get basename() { - return "string" == typeof this.path ? yx.basename(this.path) : void 0; + return "string" == typeof this.path ? bx.basename(this.path) : void 0; } set basename(e) { - (kx(e, "basename"), - Rx(e, "basename"), - (this.path = yx.join(this.dirname || "", e))); + (wx(e, "basename"), + Sx(e, "basename"), + (this.path = bx.join(this.dirname || "", e))); } get dirname() { - return "string" == typeof this.path ? yx.dirname(this.path) : void 0; + return "string" == typeof this.path ? bx.dirname(this.path) : void 0; } set dirname(e) { - (Ox(this.basename, "dirname"), - (this.path = yx.join(e || "", this.basename))); + (Ax(this.basename, "dirname"), + (this.path = bx.join(e || "", this.basename))); } get extname() { - return "string" == typeof this.path ? yx.extname(this.path) : void 0; + return "string" == typeof this.path ? bx.extname(this.path) : void 0; } set extname(e) { - if ((Rx(e, "extname"), Ox(this.dirname, "extname"), e)) { + if ((Sx(e, "extname"), Ax(this.dirname, "extname"), e)) { if (46 !== e.codePointAt(0)) throw new Error("`extname` must start with `.`"); if (e.includes(".", 1)) throw new Error("`extname` cannot contain multiple dots"); } - this.path = yx.join(this.dirname, this.stem + (e || "")); + this.path = bx.join(this.dirname, this.stem + (e || "")); } get path() { return this.history[this.history.length - 1]; } set path(e) { - (Ax(e) && (e = Cx(e)), - kx(e, "path"), + (xx(e) && (e = Tx(e)), + wx(e, "path"), this.path !== e && this.history.push(e)); } get stem() { return "string" == typeof this.path - ? yx.basename(this.path, this.extname) + ? bx.basename(this.path, this.extname) : void 0; } set stem(e) { - (kx(e, "stem"), - Rx(e, "stem"), - (this.path = yx.join(this.dirname || "", e + (this.extname || "")))); + (wx(e, "stem"), + Sx(e, "stem"), + (this.path = bx.join(this.dirname || "", e + (this.extname || "")))); } fail(e, t, n) { const a = this.message(e, t, n); @@ -34318,7 +34272,7 @@ class Ix { return ((a.fatal = void 0), a); } message(e, t, n) { - const a = new _x(e, t, n); + const a = new fx(e, t, n); return ( this.path && ((a.name = this.path + ":" + a.name), (a.file = this.path)), (a.fatal = !1), @@ -34332,19 +34286,19 @@ class Ix { return new TextDecoder(e || void 0).decode(this.value); } } -function Rx(e, t) { - if (e && e.includes(yx.sep)) +function Sx(e, t) { + if (e && e.includes(bx.sep)) throw new Error( - "`" + t + "` cannot be a path: did not expect `" + yx.sep + "`", + "`" + t + "` cannot be a path: did not expect `" + bx.sep + "`", ); } -function kx(e, t) { +function wx(e, t) { if (!e) throw new Error("`" + t + "` cannot be empty"); } -function Ox(e, t) { +function Ax(e, t) { if (!e) throw new Error("Setting `" + t + "` requires `path` to be set too"); } -const Lx = { +const Cx = { abandonedHeadElementChild: { reason: "Unexpected metadata element after head", description: @@ -34627,17 +34581,17 @@ const Lx = { "Unexpected character reference. Expected known named character references", }, }, - Mx = "https://html.spec.whatwg.org/multipage/parsing.html#parse-error-", - Dx = /-[a-z]/g, - Px = /%c(?:([-+])(\d+))?/g, - jx = /%x/g, - Bx = { 2: !0, 1: !1, 0: null }, - Fx = {}; -function Hx(e, t) { - const n = t || Fx, + Nx = "https://html.spec.whatwg.org/multipage/parsing.html#parse-error-", + Ix = /-[a-z]/g, + Rx = /%c(?:([-+])(\d+))?/g, + kx = /%x/g, + Ox = { 2: !0, 1: !1, 0: null }, + Lx = {}; +function Mx(e, t) { + const n = t || Lx, a = n.onerror, - r = e instanceof Ix ? e : new Ix(e), - i = n.fragment ? Ex : bx, + r = e instanceof yx ? e : new yx(e), + i = n.fragment ? px : ux, o = String(r), s = i(o, { sourceCodeLocationInfo: !0, @@ -34645,14 +34599,14 @@ function Hx(e, t) { ? function (e) { const t = e.code, i = (function (e) { - return e.replace(Dx, zx); + return e.replace(Ix, Dx); })(t), s = n[i], l = null == s || s, c = "number" == typeof l ? l : l ? 1 : 0; if (c) { - const n = Lx[i], - o = new _x(d(n.reason), { + const n = Cx[i], + o = new fx(d(n.reason), { place: { start: { line: e.startLine, @@ -34669,14 +34623,14 @@ function Hx(e, t) { source: "hast-util-from-html", }); (r.path && ((o.file = r.path), (o.name = r.path + ":" + o.name)), - (o.fatal = Bx[c]), + (o.fatal = Ox[c]), (o.note = d(n.description)), - (o.url = !1 === n.url ? void 0 : Mx + t), + (o.url = !1 === n.url ? void 0 : Nx + t), a(o)); } function d(t) { return t - .replace(Px, function (t, n, a) { + .replace(Rx, function (t, n, a) { const r = (a ? Number.parseInt(a, 10) : 0) * ("-" === n ? -1 : 1), i = o.charAt(e.startOffset + r); @@ -34684,7 +34638,7 @@ function Hx(e, t) { return "`" === e ? "` ` `" : e; })(i); }) - .replace(jx, function () { + .replace(kx, function () { return ( (t = o.charCodeAt(e.startOffset)), "0x" + t.toString(16).toUpperCase() @@ -34698,21 +34652,21 @@ function Hx(e, t) { }); return (function (e, t) { const n = t || {}; - return Ob( + return Ab( { file: n.file || void 0, location: !1, - schema: "svg" === n.space ? gb : mb, + schema: "svg" === n.space ? cb : lb, verbose: n.verbose || !1, }, e, ); })(s, { file: r, space: n.space, verbose: n.verbose }); } -function zx(e) { +function Dx(e) { return e.charAt(1).toUpperCase(); } -const Ux = [ +const Px = [ "area", "base", "basefont", @@ -34734,35 +34688,35 @@ const Ux = [ "track", "wbr", ], - Gx = {}.hasOwnProperty; -const Vx = /["&'<>`]/g, - Zx = /[\uD800-\uDBFF][\uDC00-\uDFFF]/g, - $x = /[\x01-\t\v\f\x0E-\x1F\x7F\x81\x8D\x8F\x90\x9D\xA0-\uFFFF]/g, - Wx = /[|\\{}()[\]^$+*?.]/g, - qx = new WeakMap(); -function Yx(e, t) { + jx = {}.hasOwnProperty; +const Bx = /["&'<>`]/g, + Fx = /[\uD800-\uDBFF][\uDC00-\uDFFF]/g, + Hx = /[\x01-\t\v\f\x0E-\x1F\x7F\x81\x8D\x8F\x90\x9D\xA0-\uFFFF]/g, + zx = /[|\\{}()[\]^$+*?.]/g, + Ux = new WeakMap(); +function Gx(e, t) { return ( (e = e.replace( t.subset ? (function (e) { - let t = qx.get(e); + let t = Ux.get(e); t || ((t = (function (e) { const t = []; let n = -1; - for (; ++n < e.length; ) t.push(e[n].replace(Wx, "\\$&")); + for (; ++n < e.length; ) t.push(e[n].replace(zx, "\\$&")); return new RegExp("(?:" + t.join("|") + ")", "g"); })(e)), - qx.set(e, t)); + Ux.set(e, t)); return t; })(t.subset) - : Vx, + : Bx, n, )), t.subset || t.escapeOnly ? e : e - .replace(Zx, function (e, n, a) { + .replace(Fx, function (e, n, a) { return t.format( 1024 * (e.charCodeAt(0) - 55296) + e.charCodeAt(1) - @@ -34772,15 +34726,15 @@ function Yx(e, t) { t, ); }) - .replace($x, n) + .replace(Hx, n) ); function n(e, n, a) { return t.format(e.charCodeAt(0), a.charCodeAt(n + 1), t); } } -const Kx = /[\dA-Fa-f]/; -const Xx = /\d/; -const Qx = [ +const Vx = /[\dA-Fa-f]/; +const Zx = /\d/; +const $x = [ "AElig", "AMP", "Aacute", @@ -34888,7 +34842,7 @@ const Qx = [ "yen", "yuml", ], - Jx = { + Wx = { nbsp: " ", iexcl: "¡", cent: "¢", @@ -35142,29 +35096,29 @@ const Qx = [ rsaquo: "›", euro: "€", }, - eT = ["cent", "copy", "divide", "gt", "lt", "not", "para", "times"], - tT = {}.hasOwnProperty, - nT = {}; -let aT; -for (aT in Jx) tT.call(Jx, aT) && (nT[Jx[aT]] = aT); -const rT = /[^\dA-Za-z]/; -function iT(e, t, n) { + qx = ["cent", "copy", "divide", "gt", "lt", "not", "para", "times"], + Yx = {}.hasOwnProperty, + Kx = {}; +let Xx; +for (Xx in Wx) Yx.call(Wx, Xx) && (Kx[Wx[Xx]] = Xx); +const Qx = /[^\dA-Za-z]/; +function Jx(e, t, n) { let a, r = (function (e, t, n) { const a = "&#x" + e.toString(16).toUpperCase(); - return n && t && !Kx.test(String.fromCharCode(t)) ? a : a + ";"; + return n && t && !Vx.test(String.fromCharCode(t)) ? a : a + ";"; })(e, t, n.omitOptionalSemicolons); if ( ((n.useNamedReferences || n.useShortestReferences) && (a = (function (e, t, n, a) { const r = String.fromCharCode(e); - if (tT.call(nT, r)) { - const e = nT[r], + if (Yx.call(Kx, r)) { + const e = Kx[r], i = "&" + e; return n && - Qx.includes(e) && - !eT.includes(e) && - (!a || (t && 61 !== t && rT.test(String.fromCharCode(t)))) + $x.includes(e) && + !qx.includes(e) && + (!a || (t && 61 !== t && Qx.test(String.fromCharCode(t)))) ? i : i + ";"; } @@ -35174,19 +35128,19 @@ function iT(e, t, n) { ) { const a = (function (e, t, n) { const a = "&#" + String(e); - return n && t && !Xx.test(String.fromCharCode(t)) ? a : a + ";"; + return n && t && !Zx.test(String.fromCharCode(t)) ? a : a + ";"; })(e, t, n.omitOptionalSemicolons); a.length < r.length && (r = a); } return a && (!n.useShortestReferences || a.length < r.length) ? a : r; } -function oT(e, t) { - return Yx(e, Object.assign({ format: iT }, t)); +function eT(e, t) { + return Gx(e, Object.assign({ format: Jx }, t)); } -const sT = /^>|^->||--!>|"], - cT = ["<", ">"]; -function dT(e, t) { +const tT = /^>|^->||--!>|"], + aT = ["<", ">"]; +function rT(e, t) { const n = String(e); if ("string" != typeof t) throw new TypeError("Expected character"); let a = 0, @@ -35194,65 +35148,65 @@ function dT(e, t) { for (; -1 !== r; ) (a++, (r = n.indexOf(t, r + t.length))); return a; } -const uT = /[ \t\n\f\r]/g; -function pT(e) { - return "object" == typeof e ? "text" === e.type && hT(e.value) : hT(e); +const iT = /[ \t\n\f\r]/g; +function oT(e) { + return "object" == typeof e ? "text" === e.type && sT(e.value) : sT(e); } -function hT(e) { - return "" === e.replace(uT, ""); +function sT(e) { + return "" === e.replace(iT, ""); } -const mT = bT(1), - gT = bT(-1), - fT = []; -function bT(e) { +const lT = uT(1), + cT = uT(-1), + dT = []; +function uT(e) { return function (t, n, a) { - const r = t ? t.children : fT; + const r = t ? t.children : dT; let i = (n || 0) + e, o = r[i]; - if (!a) for (; o && pT(o); ) ((i += e), (o = r[i])); + if (!a) for (; o && oT(o); ) ((i += e), (o = r[i])); return o; }; } -const ET = {}.hasOwnProperty; -function vT(e) { +const pT = {}.hasOwnProperty; +function hT(e) { return function (t, n, a) { - return ET.call(e, t.tagName) && e[t.tagName](t, n, a); + return pT.call(e, t.tagName) && e[t.tagName](t, n, a); }; } -const xT = vT({ +const mT = hT({ body: function (e, t, n) { - const a = mT(n, t); + const a = lT(n, t); return !a || "comment" !== a.type; }, - caption: TT, - colgroup: TT, + caption: gT, + colgroup: gT, dd: function (e, t, n) { - const a = mT(n, t); + const a = lT(n, t); return ( !a || ("element" === a.type && ("dt" === a.tagName || "dd" === a.tagName)) ); }, dt: function (e, t, n) { - const a = mT(n, t); + const a = lT(n, t); return Boolean( a && "element" === a.type && ("dt" === a.tagName || "dd" === a.tagName), ); }, - head: TT, + head: gT, html: function (e, t, n) { - const a = mT(n, t); + const a = lT(n, t); return !a || "comment" !== a.type; }, li: function (e, t, n) { - const a = mT(n, t); + const a = lT(n, t); return !a || ("element" === a.type && "li" === a.tagName); }, optgroup: function (e, t, n) { - const a = mT(n, t); + const a = lT(n, t); return !a || ("element" === a.type && "optgroup" === a.tagName); }, option: function (e, t, n) { - const a = mT(n, t); + const a = lT(n, t); return ( !a || ("element" === a.type && @@ -35260,7 +35214,7 @@ const xT = vT({ ); }, p: function (e, t, n) { - const a = mT(n, t); + const a = lT(n, t); return a ? "element" === a.type && ("address" === a.tagName || @@ -35305,22 +35259,22 @@ const xT = vT({ "video" === n.tagName) ); }, - rp: _T, - rt: _T, + rp: fT, + rt: fT, tbody: function (e, t, n) { - const a = mT(n, t); + const a = lT(n, t); return ( !a || ("element" === a.type && ("tbody" === a.tagName || "tfoot" === a.tagName)) ); }, - td: yT, + td: bT, tfoot: function (e, t, n) { - return !mT(n, t); + return !lT(n, t); }, - th: yT, + th: bT, thead: function (e, t, n) { - const a = mT(n, t); + const a = lT(n, t); return Boolean( a && "element" === a.type && @@ -35328,36 +35282,36 @@ const xT = vT({ ); }, tr: function (e, t, n) { - const a = mT(n, t); + const a = lT(n, t); return !a || ("element" === a.type && "tr" === a.tagName); }, }); -function TT(e, t, n) { - const a = mT(n, t, !0); +function gT(e, t, n) { + const a = lT(n, t, !0); return ( !a || - ("comment" !== a.type && !("text" === a.type && pT(a.value.charAt(0)))) + ("comment" !== a.type && !("text" === a.type && oT(a.value.charAt(0)))) ); } -function _T(e, t, n) { - const a = mT(n, t); +function fT(e, t, n) { + const a = lT(n, t); return ( !a || ("element" === a.type && ("rp" === a.tagName || "rt" === a.tagName)) ); } -function yT(e, t, n) { - const a = mT(n, t); +function bT(e, t, n) { + const a = lT(n, t); return ( !a || ("element" === a.type && ("td" === a.tagName || "th" === a.tagName)) ); } -const ST = vT({ +const ET = hT({ body: function (e) { - const t = mT(e, -1, !0); + const t = lT(e, -1, !0); return !( t && ("comment" === t.type || - ("text" === t.type && pT(t.value.charAt(0))) || + ("text" === t.type && oT(t.value.charAt(0))) || ("element" === t.type && ("meta" === t.tagName || "link" === t.tagName || @@ -35367,14 +35321,14 @@ const ST = vT({ ); }, colgroup: function (e, t, n) { - const a = gT(n, t), - r = mT(e, -1, !0); + const a = cT(n, t), + r = lT(e, -1, !0); if ( n && a && "element" === a.type && "colgroup" === a.tagName && - xT(a, n.children.indexOf(a), n) + mT(a, n.children.indexOf(a), n) ) return !1; return Boolean(r && "element" === r.type && "col" === r.tagName); @@ -35393,24 +35347,24 @@ const ST = vT({ return !n || "element" === n.type; }, html: function (e) { - const t = mT(e, -1); + const t = lT(e, -1); return !t || "comment" !== t.type; }, tbody: function (e, t, n) { - const a = gT(n, t), - r = mT(e, -1); + const a = cT(n, t), + r = lT(e, -1); if ( n && a && "element" === a.type && ("thead" === a.tagName || "tbody" === a.tagName) && - xT(a, n.children.indexOf(a), n) + mT(a, n.children.indexOf(a), n) ) return !1; return Boolean(r && "element" === r.type && "tr" === r.tagName); }, }); -const wT = { +const vT = { name: [ ["\t\n\f\r &/=>".split(""), "\t\n\f\r \"&'/=>`".split("")], ["\0\t\n\f\r \"&'/<=>".split(""), "\0\t\n\f\r \"&'/<=>`".split("")], @@ -35428,8 +35382,8 @@ const wT = { ['\0"&'.split(""), "\0\"&'`".split("")], ], }; -function AT(e, t, n) { - const a = ub(e.schema, t), +function xT(e, t, n) { + const a = ib(e.schema, t), r = e.settings.allowParseErrors && "html" === e.schema.space ? 0 : 1, i = e.settings.allowDangerousCharacters ? 0 : 1; let o, @@ -35443,64 +35397,64 @@ function AT(e, t, n) { null == n || !1 === n || ("number" == typeof n && Number.isNaN(n))) ) return ""; - const l = oT( + const l = eT( a.attribute, Object.assign({}, e.settings.characterReferences, { - subset: wT.name[r][i], + subset: vT.name[r][i], }), ); return !0 === n ? l : ((n = Array.isArray(n) - ? (a.commaSeparated ? bb : xb)(n, { + ? (a.commaSeparated ? ub : mb)(n, { padLeft: !e.settings.tightCommaSeparatedLists, }) : String(n)), e.settings.collapseEmptyAttributes && !n ? l : (e.settings.preferUnquoted && - (o = oT( + (o = eT( n, Object.assign({}, e.settings.characterReferences, { attribute: !0, - subset: wT.unquoted[r][i], + subset: vT.unquoted[r][i], }), )), o !== n && (e.settings.quoteSmart && - dT(n, s) > dT(n, e.alternative) && + rT(n, s) > rT(n, e.alternative) && (s = e.alternative), (o = s + - oT( + eT( n, Object.assign({}, e.settings.characterReferences, { - subset: ("'" === s ? wT.single : wT.double)[r][i], + subset: ("'" === s ? vT.single : vT.double)[r][i], attribute: !0, }), ) + s)), l + (o ? "=" + o : o))); } -const CT = ["<", "&"]; -function NT(e, t, n, a) { +const TT = ["<", "&"]; +function _T(e, t, n, a) { return !n || "element" !== n.type || ("script" !== n.tagName && "style" !== n.tagName) - ? oT( + ? eT( e.value, - Object.assign({}, a.settings.characterReferences, { subset: CT }), + Object.assign({}, a.settings.characterReferences, { subset: TT }), ) : e.value; } -const IT = (function (e, t) { +const yT = (function (e, t) { const n = t || {}; function a(t, ...n) { let r = a.invalid; const i = a.handlers; - if (t && Gx.call(t, e)) { + if (t && jx.call(t, e)) { const n = String(t[e]); - r = Gx.call(i, n) ? i[n] : a.unknown; + r = jx.call(i, n) ? i[n] : a.unknown; } if (r) return r.call(this, t, ...n); } @@ -35521,17 +35475,17 @@ const IT = (function (e, t) { comment: function (e, t, n, a) { return a.settings.bogusComments ? "" : "\x3c!--" + - e.value.replace(sT, function (e) { - return oT( + e.value.replace(tT, function (e) { + return eT( e, Object.assign({}, a.settings.characterReferences, { - subset: cT, + subset: aT, }), ); }) + @@ -35554,7 +35508,7 @@ const IT = (function (e, t) { : a.settings.voids.includes(e.tagName.toLowerCase()); const s = []; let l; - "html" === r.space && "svg" === e.tagName && (a.schema = gb); + "html" === r.space && "svg" === e.tagName && (a.schema = cb); const c = (function (e, t) { const n = []; let a, @@ -35562,7 +35516,7 @@ const IT = (function (e, t) { if (t) for (a in t) if (null !== t[a] && void 0 !== t[a]) { - const r = AT(e, a, t[a]); + const r = xT(e, a, t[a]); r && n.push(r); } for (; ++r < n.length; ) { @@ -35579,7 +35533,7 @@ const IT = (function (e, t) { return ( (a.schema = r), d && (o = !1), - (!c && i && ST(e, t, n)) || + (!c && i && ET(e, t, n)) || (s.push("<", e.tagName, c ? " " + c : ""), o && ("svg" === r.space || a.settings.closeSelfClosing) && @@ -35591,39 +35545,39 @@ const IT = (function (e, t) { s.push("/")), s.push(">")), s.push(d), - o || (i && xT(e, t, n)) || s.push(""), + o || (i && mT(e, t, n)) || s.push(""), s.join("") ); }, raw: function (e, t, n, a) { - return a.settings.allowDangerousHtml ? e.value : NT(e, 0, n, a); + return a.settings.allowDangerousHtml ? e.value : _T(e, 0, n, a); }, root: function (e, t, n, a) { return a.all(e); }, - text: NT, + text: _T, }, }); -const RT = {}, - kT = {}, - OT = []; -function LT(e, t, n) { - return IT(e, t, n, this); +const ST = {}, + wT = {}, + AT = []; +function CT(e, t, n) { + return yT(e, t, n, this); } -function MT(e) { +function NT(e) { const t = [], - n = (e && e.children) || OT; + n = (e && e.children) || AT; let a = -1; for (; ++a < n.length; ) t[a] = this.one(n[a], a, e); return t.join(""); } -function DT(e) { +function IT(e) { if (e) throw e; } -var PT, jT; -var BT = (function () { - if (jT) return PT; - jT = 1; +var RT, kT; +var OT = (function () { + if (kT) return RT; + kT = 1; var e = Object.prototype.hasOwnProperty, t = Object.prototype.toString, n = Object.defineProperty, @@ -35663,7 +35617,7 @@ var BT = (function () { return t[n]; }; return ( - (PT = function e() { + (RT = function e() { var t, n, a, @@ -35693,11 +35647,11 @@ var BT = (function () { : void 0 !== l && o(u, { name: n, newValue: l }))); return u; }), - PT + RT ); })(), - FT = y(BT); -function HT(e) { + LT = y(OT); +function MT(e) { if ("object" != typeof e || null === e) return !1; const t = Object.getPrototypeOf(e); return !( @@ -35708,7 +35662,7 @@ function HT(e) { Symbol.iterator in e ); } -function zT() { +function DT() { const e = [], t = { run: function (...t) { @@ -35769,7 +35723,7 @@ function zT() { }; return t; } -const UT = function (e) { +const PT = function (e) { const t = this.constructor.prototype, n = t[e], a = function () { @@ -35777,8 +35731,8 @@ const UT = function (e) { }; return (Object.setPrototypeOf(a, t), a); }, - GT = {}.hasOwnProperty; -class VT extends UT { + jT = {}.hasOwnProperty; +class BT extends PT { constructor() { (super("copy"), (this.Compiler = void 0), @@ -35789,24 +35743,24 @@ class VT extends UT { (this.frozen = void 0), (this.namespace = {}), (this.parser = void 0), - (this.transformers = zT())); + (this.transformers = DT())); } copy() { - const e = new VT(); + const e = new BT(); let t = -1; for (; ++t < this.attachers.length; ) { const n = this.attachers[t]; e.use(...n); } - return (e.data(FT(!0, {}, this.namespace)), e); + return (e.data(LT(!0, {}, this.namespace)), e); } data(e, t) { return "string" == typeof e ? 2 === arguments.length - ? (WT("data", this.frozen), (this.namespace[e] = t), this) - : (GT.call(this.namespace, e) && this.namespace[e]) || void 0 + ? (zT("data", this.frozen), (this.namespace[e] = t), this) + : (jT.call(this.namespace, e) && this.namespace[e]) || void 0 : e - ? (WT("data", this.frozen), (this.namespace = e), this) + ? (zT("data", this.frozen), (this.namespace = e), this) : this.namespace; } freeze() { @@ -35827,20 +35781,20 @@ class VT extends UT { } parse(e) { this.freeze(); - const t = KT(e), + const t = VT(e), n = this.parser || this.Parser; - return (ZT("parse", n), n(String(t), t)); + return (FT("parse", n), n(String(t), t)); } process(e, t) { const n = this; return ( this.freeze(), - ZT("process", this.parser || this.Parser), - $T("process", this.compiler || this.Compiler), + FT("process", this.parser || this.Parser), + HT("process", this.compiler || this.Compiler), t ? a(void 0, t) : new Promise(a) ); function a(a, r) { - const i = KT(e), + const i = VT(e), o = n.parse(i); function s(e, n) { e || !n ? r(e) : a ? a(n) : t(void 0, n); @@ -35867,24 +35821,24 @@ class VT extends UT { n = !1; return ( this.freeze(), - ZT("processSync", this.parser || this.Parser), - $T("processSync", this.compiler || this.Compiler), + FT("processSync", this.parser || this.Parser), + HT("processSync", this.compiler || this.Compiler), this.process(e, function (e, a) { - ((n = !0), DT(e), (t = a)); + ((n = !0), IT(e), (t = a)); }), - YT("processSync", "process", n), + GT("processSync", "process", n), t ); } run(e, t, n) { - (qT(e), this.freeze()); + (UT(e), this.freeze()); const a = this.transformers; return ( n || "function" != typeof t || ((n = t), (t = void 0)), n ? r(void 0, n) : new Promise(r) ); function r(r, i) { - const o = KT(t); + const o = VT(t); a.run(e, o, function (t, a, o) { const s = a || e; t ? i(t) : r ? r(s) : n(void 0, s, o); @@ -35896,22 +35850,22 @@ class VT extends UT { a = !1; return ( this.run(e, t, function (e, t) { - (DT(e), (n = t), (a = !0)); + (IT(e), (n = t), (a = !0)); }), - YT("runSync", "run", a), + GT("runSync", "run", a), n ); } stringify(e, t) { this.freeze(); - const n = KT(t), + const n = VT(t), a = this.compiler || this.Compiler; - return ($T("stringify", a), qT(e), a(e, n)); + return (HT("stringify", a), UT(e), a(e, n)); } use(e, ...t) { const n = this.attachers, a = this.namespace; - if ((WT("use", this.frozen), null == e)); + if ((zT("use", this.frozen), null == e)); else if ("function" == typeof e) s(e, t); else { if ("object" != typeof e) @@ -35936,7 +35890,7 @@ class VT extends UT { "Expected usable value but received an empty preset, which is probably a mistake: presets typically come with `plugins` and sometimes with `settings`, but this has neither", ); (o(e.plugins), - e.settings && (a.settings = FT(!0, a.settings, e.settings))); + e.settings && (a.settings = LT(!0, a.settings, e.settings))); } function o(e) { let t = -1; @@ -35961,20 +35915,20 @@ class VT extends UT { else if (t.length > 0) { let [a, ...i] = t; const o = n[r][1]; - (HT(o) && HT(a) && (a = FT(!0, o, a)), (n[r] = [e, a, ...i])); + (MT(o) && MT(a) && (a = LT(!0, o, a)), (n[r] = [e, a, ...i])); } } } } -function ZT(e, t) { +function FT(e, t) { if ("function" != typeof t) throw new TypeError("Cannot `" + e + "` without `parser`"); } -function $T(e, t) { +function HT(e, t) { if ("function" != typeof t) throw new TypeError("Cannot `" + e + "` without `compiler`"); } -function WT(e, t) { +function zT(e, t) { if (t) throw new Error( "Cannot call `" + @@ -35982,29 +35936,29 @@ function WT(e, t) { "` on a frozen processor.\nCreate a new processor first, by calling it: use `processor()` instead of `processor`.", ); } -function qT(e) { - if (!HT(e) || "string" != typeof e.type) +function UT(e) { + if (!MT(e) || "string" != typeof e.type) throw new TypeError("Expected node, got `" + e + "`"); } -function YT(e, t, n) { +function GT(e, t, n) { if (!n) throw new Error("`" + e + "` finished async. Use `" + t + "` instead"); } -function KT(e) { +function VT(e) { return (function (e) { return Boolean( e && "object" == typeof e && "message" in e && "messages" in e, ); })(e) ? e - : new Ix(e); + : new yx(e); } -const XT = new VT() +const ZT = new BT() .freeze()() .use(function (e) { const { emitParseErrors: t, ...n } = { ...this.data("settings"), ...e }; this.parser = function (e, a) { - return Hx(e, { + return Mx(e, { ...n, onerror: t ? function (e) { @@ -36019,14 +35973,14 @@ const XT = new VT() const t = { ...this.data("settings"), ...e }; this.compiler = function (e) { return (function (e, t) { - const n = t || RT, + const n = t || ST, a = n.quote || '"', r = '"' === a ? "'" : '"'; if ('"' !== a && "'" !== a) throw new Error("Invalid quote `" + a + "`, expected `'` or `\"`"); return { - one: LT, - all: MT, + one: CT, + all: NT, settings: { omitOptionalTags: n.omitOptionalTags || !1, allowParseErrors: n.allowParseErrors || !1, @@ -36041,12 +35995,12 @@ const XT = new VT() tightSelfClosing: n.tightSelfClosing || !1, collapseEmptyAttributes: n.collapseEmptyAttributes || !1, allowDangerousHtml: n.allowDangerousHtml || !1, - voids: n.voids || Ux, - characterReferences: n.characterReferences || kT, + voids: n.voids || Px, + characterReferences: n.characterReferences || wT, closeSelfClosing: n.closeSelfClosing || !1, closeEmptyElements: n.closeEmptyElements || !1, }, - schema: "svg" === n.space ? gb : mb, + schema: "svg" === n.space ? cb : lb, quote: a, alternative: r, }.one( @@ -36058,10 +36012,10 @@ const XT = new VT() }; }) .freeze(); -function QT(e) { +function $T(e) { (e.stopPropagation(), e.preventDefault()); } -class JT { +class WT { constructor(e) { ((this.elm = void 0), (this.start = void 0), @@ -36152,14 +36106,14 @@ class JT { this.elm.dispatchEvent(e); } } -var e_ = { +var qT = { position: "relative", textAlign: "left", boxSizing: "border-box", padding: 0, overflow: "hidden", }, - t_ = { + YT = { position: "absolute", top: 0, left: 0, @@ -36173,7 +36127,7 @@ var e_ = { WebkitFontSmoothing: "antialiased", WebkitTextFillColor: "transparent", }, - n_ = { + KT = { margin: 0, border: 0, background: "none", @@ -36195,7 +36149,7 @@ var e_ = { overflowWrap: "break-word", outline: 0, }, - a_ = [ + XT = [ "prefixCls", "value", "padding", @@ -36209,7 +36163,7 @@ var e_ = { "onChange", "indentWidth", ], - r_ = t.forwardRef((e, t) => { + QT = t.forwardRef((e, t) => { var { prefixCls: n = "w-tc-editor", padding: i = 10, @@ -36223,7 +36177,7 @@ var e_ = { onChange: f, indentWidth: b = 2, } = e, - E = Mf(e, a_), + E = Nf(e, XT), [v, x] = a(e.value || ""); r(() => x(e.value || ""), [e.value]); var T = o(null); @@ -36239,7 +36193,7 @@ var e_ = { (function (e, t) { return ( void 0 === t && (t = []), - XT() + ZT() .data("settings", { fragment: !0 }) .use([...t]) .processSync("" + e) @@ -36279,13 +36233,13 @@ var e_ = { S = c( () => k.jsx("div", { - style: kf({}, n_, _, { minHeight: s }), + style: Kd({}, KT, _, { minHeight: s }), className: n + "-preview " + (u ? "language-" + u : ""), dangerouslySetInnerHTML: { __html: y }, }), [n, u, y], ), - w = kf( + w = Kd( { autoComplete: "off", autoCorrect: "off", @@ -36300,11 +36254,11 @@ var e_ = { (E.onKeyDown && !1 === E.onKeyDown(e)) || (function (e, t) { void 0 === t && (t = 2); - var n = new JT(e.target), + var n = new WT(e.target), a = (e.code || e.nativeEvent.code).toLocaleLowerCase(), r = " ".repeat(t); if ("tab" === a) - (QT(e), + ($T(e), n.start === n.end ? e.shiftKey ? n.lineStarRemove(r) @@ -36316,7 +36270,7 @@ var e_ = { : n.insertText(r).position(n.start + t, n.end), n.notifyChange()); else if ("enter" === a) { - QT(e); + $T(e); var i = "\n" + n.getIndentText(); (n .insertText(i) @@ -36327,7 +36281,7 @@ var e_ = { /^(quote|backquote|bracketleft|digit9|comma)$/.test(a) && n.getSelectedValue() ) { - QT(e); + $T(e); var o = n.getSelectedValue(), s = ""; switch (a) { @@ -36350,10 +36304,10 @@ var e_ = { } })(e, b); }, - style: kf( + style: Kd( {}, - n_, - t_, + KT, + YT, _, { minHeight: s }, d && !v ? { WebkitTextFillColor: "inherit" } : {}, @@ -36366,22 +36320,22 @@ var e_ = { }, ); return k.jsxs("div", { - style: kf({}, e_, m), + style: Kd({}, qT, m), className: n + " " + (h || ""), "data-color-mode": p, - children: [k.jsx("textarea", kf({}, w, { ref: T })), S], + children: [k.jsx("textarea", Kd({}, w, { ref: T })), S], }); }); -const i_ = function (e) { - if (null == e) return s_; - if ("function" == typeof e) return o_(e); +const JT = function (e) { + if (null == e) return t_; + if ("function" == typeof e) return e_(e); if ("object" == typeof e) return Array.isArray(e) ? (function (e) { const t = []; let n = -1; - for (; ++n < e.length; ) t[n] = i_(e[n]); - return o_(a); + for (; ++n < e.length; ) t[n] = JT(e[n]); + return e_(a); function a(...e) { let n = -1; for (; ++n < t.length; ) if (t[n].apply(this, e)) return !0; @@ -36390,7 +36344,7 @@ const i_ = function (e) { })(e) : (function (e) { const t = e; - return o_(n); + return e_(n); function n(n) { const a = n; let r; @@ -36400,14 +36354,14 @@ const i_ = function (e) { })(e); if ("string" == typeof e) return (function (e) { - return o_(t); + return e_(t); function t(t) { return t && t.type === e; } })(e); throw new Error("Expected function, string, or object as test"); }; -function o_(e) { +function e_(e) { return function (t, n, a) { return Boolean( (function (e) { @@ -36416,19 +36370,19 @@ function o_(e) { ); }; } -function s_() { +function t_() { return !0; } -const l_ = [], - c_ = !0, - d_ = !1, - u_ = "skip"; -function p_(e, t, n, a) { +const n_ = [], + a_ = !0, + r_ = !1, + i_ = "skip"; +function o_(e, t, n, a) { let r; "function" == typeof t && "function" != typeof n ? ((a = n), (n = t)) : (r = t); - const i = i_(r), + const i = JT(r), o = a ? -1 : 1; !(function e(r, s, l) { const c = r && "object" == typeof r ? r : {}; @@ -36448,27 +36402,27 @@ function p_(e, t, n, a) { let c, d, u, - p = l_; + p = n_; if ( (!t || i(r, s, l[l.length - 1] || void 0)) && ((p = (function (e) { if (Array.isArray(e)) return e; - if ("number" == typeof e) return [c_, e]; - return null == e ? l_ : [e]; + if ("number" == typeof e) return [a_, e]; + return null == e ? n_ : [e]; })(n(r, l))), - p[0] === d_) + p[0] === r_) ) return p; if ("children" in r && r.children) { const t = r; - if (t.children && p[0] !== u_) + if (t.children && p[0] !== i_) for ( d = (a ? t.children.length : -1) + o, u = l.concat(t); d > -1 && d < t.children.length; ) { const n = t.children[d]; - if (((c = e(n, d, u)()), c[0] === d_)) return c; + if (((c = e(n, d, u)()), c[0] === r_)) return c; d = "number" == typeof c[1] ? c[1] : d + o; } } @@ -36476,21 +36430,21 @@ function p_(e, t, n, a) { } })(e, void 0, [])(); } -function h_(e) { - return "children" in e ? g_(e) : "value" in e ? e.value : ""; +function s_(e) { + return "children" in e ? c_(e) : "value" in e ? e.value : ""; } -function m_(e) { - return "text" === e.type ? e.value : "children" in e ? g_(e) : ""; +function l_(e) { + return "text" === e.type ? e.value : "children" in e ? c_(e) : ""; } -function g_(e) { +function c_(e) { let t = -1; const n = []; - for (; ++t < e.children.length; ) n[t] = m_(e.children[t]); + for (; ++t < e.children.length; ) n[t] = l_(e.children[t]); return n.join(""); } -const f_ = {}.hasOwnProperty; -function b_(e, t, n) { - const a = i_(t), +const d_ = {}.hasOwnProperty; +function u_(e, t, n) { + const a = JT(t), r = t && "object" == typeof t && "cascade" in t ? t.cascade : void 0, i = null == r || r; return (function e(t, n, r) { @@ -36510,15 +36464,15 @@ function b_(e, t, n) { } const s = {}; let l; - for (l in t) f_.call(t, l) && (s[l] = "children" === l ? o : t[l]); + for (l in t) d_.call(t, l) && (s[l] = "children" === l ? o : t[l]); return s; })(e); } -var E_, - v_ = { exports: {} }; -var x_ = - (E_ || - ((E_ = 1), +var p_, + h_ = { exports: {} }; +var m_ = + (p_ || + ((p_ = 1), (function (e) { function t(e) { let t, @@ -36538,11 +36492,11 @@ var x_ = } return n; } - ((v_.exports.default = t), (e.exports = t)); - })(v_)), - v_.exports), - T_ = y(x_); -function __(e) { + ((h_.exports.default = t), (e.exports = t)); + })(h_)), + h_.exports), + g_ = y(m_); +function f_(e) { e.languages.clike = { comment: [ { @@ -36571,8 +36525,8 @@ function __(e) { punctuation: /[{}[\];(),.:]/, }; } -function y_(e) { - (e.register(__), +function b_(e) { + (e.register(f_), (e.languages.c = e.languages.extend("clike", { comment: { pattern: @@ -36634,8 +36588,8 @@ function y_(e) { }), delete e.languages.c.boolean); } -function S_(e) { - (e.register(y_), +function E_(e) { + (e.register(b_), (function (e) { var t = /\b(?:alignas|alignof|asm|auto|bool|break|case|catch|char|char16_t|char32_t|char8_t|class|co_await|co_return|co_yield|compl|concept|const|const_cast|consteval|constexpr|constinit|continue|decltype|default|delete|do|double|dynamic_cast|else|enum|explicit|export|extern|final|float|for|friend|goto|if|import|inline|int|int16_t|int32_t|int64_t|int8_t|long|module|mutable|namespace|new|noexcept|nullptr|operator|override|private|protected|public|register|reinterpret_cast|requires|return|short|signed|sizeof|static|static_assert|static_cast|struct|switch|template|this|thread_local|throw|try|typedef|typeid|typename|uint16_t|uint32_t|uint64_t|uint8_t|union|unsigned|using|virtual|void|volatile|wchar_t|while)\b/, @@ -36735,8 +36689,8 @@ function S_(e) { )); })(e)); } -function w_(e) { - (e.register(S_), +function v_(e) { + (e.register(E_), (e.languages.arduino = e.languages.extend("cpp", { keyword: /\b(?:String|array|bool|boolean|break|byte|case|catch|continue|default|do|double|else|finally|for|function|goto|if|in|instanceof|int|integer|long|loop|new|null|return|setup|string|switch|throw|try|void|while|word)\b/, @@ -36747,7 +36701,7 @@ function w_(e) { })), (e.languages.ino = e.languages.arduino)); } -function A_(e) { +function x_(e) { !(function (e) { var t = "\\b(?:BASH|BASHOPTS|BASH_ALIASES|BASH_ARGC|BASH_ARGV|BASH_CMDS|BASH_COMPLETION_COMPAT_DIR|BASH_LINENO|BASH_REMATCH|BASH_SOURCE|BASH_VERSINFO|BASH_VERSION|COLORTERM|COLUMNS|COMP_WORDBREAKS|DBUS_SESSION_BUS_ADDRESS|DEFAULTS_PATH|DESKTOP_SESSION|DIRSTACK|DISPLAY|EUID|GDMSESSION|GDM_LANG|GNOME_KEYRING_CONTROL|GNOME_KEYRING_PID|GPG_AGENT_INFO|GROUPS|HISTCONTROL|HISTFILE|HISTFILESIZE|HISTSIZE|HOME|HOSTNAME|HOSTTYPE|IFS|INSTANCE|JOB|LANG|LANGUAGE|LC_ADDRESS|LC_ALL|LC_IDENTIFICATION|LC_MEASUREMENT|LC_MONETARY|LC_NAME|LC_NUMERIC|LC_PAPER|LC_TELEPHONE|LC_TIME|LESSCLOSE|LESSOPEN|LINES|LOGNAME|LS_COLORS|MACHTYPE|MAILCHECK|MANDATORY_PATH|NO_AT_BRIDGE|OLDPWD|OPTERR|OPTIND|ORBIT_SOCKETDIR|OSTYPE|PAPERSIZE|PATH|PIPESTATUS|PPID|PS1|PS2|PS3|PS4|PWD|RANDOM|REPLY|SECONDS|SELINUX_INIT|SESSION|SESSIONTYPE|SESSION_MANAGER|SHELL|SHELLOPTS|SHLVL|SSH_AUTH_SOCK|TERM|UID|UPSTART_EVENTS|UPSTART_INSTANCE|UPSTART_JOB|UPSTART_SESSION|USER|WINDOWID|XAUTHORITY|XDG_CONFIG_DIRS|XDG_CURRENT_DESKTOP|XDG_DATA_DIRS|XDG_GREETER_DATA_DIR|XDG_MENU_PREFIX|XDG_RUNTIME_DIR|XDG_SEAT|XDG_SEAT_PATH|XDG_SESSION_DESKTOP|XDG_SESSION_ID|XDG_SESSION_PATH|XDG_SESSION_TYPE|XDG_VTNR|XMODIFIERS)\\b", @@ -36919,8 +36873,8 @@ function A_(e) { (e.languages.shell = e.languages.bash)); })(e); } -function C_(e) { - (e.register(__), +function T_(e) { + (e.register(f_), (function (e) { function t(e, t) { return e.replace(/<<(\d+)>>/g, function (e, n) { @@ -37208,7 +37162,7 @@ function C_(e) { (e.languages.dotnet = e.languages.cs = e.languages.csharp)); })(e)); } -function N_(e) { +function __(e) { ((e.languages.markup = { comment: { pattern: //, greedy: !0 }, prolog: { pattern: /<\?[\s\S]+?\?>/, greedy: !0 }, @@ -37338,7 +37292,7 @@ function N_(e) { (e.languages.atom = e.languages.xml), (e.languages.rss = e.languages.xml)); } -function I_(e) { +function y_(e) { !(function (e) { var t = /(?:"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"|'(?:\\(?:\r\n|[\s\S])|[^'\\\r\n])*')/; @@ -37406,7 +37360,7 @@ function I_(e) { n && (n.tag.addInlined("style", "css"), n.tag.addAttribute("style", "css")); })(e); } -function R_(e) { +function S_(e) { !(function (e) { e.languages.diff = { coord: [/^(?:\*{3}|-{3}|\+{3}).*$/m, /^@@.*@@$/m, /^\d.*$/m], @@ -37436,8 +37390,8 @@ function R_(e) { Object.defineProperty(e.languages.diff, "PREFIXES", { value: t })); })(e); } -function k_(e) { - (e.register(__), +function w_(e) { + (e.register(f_), (e.languages.go = e.languages.extend("clike", { string: { pattern: /(^|[^\\])"(?:\\.|[^"\\\r\n])*"|`[^`]*`/, @@ -37462,7 +37416,7 @@ function k_(e) { }), delete e.languages.go["class-name"]); } -function O_(e) { +function A_(e) { e.languages.ini = { comment: { pattern: /(^[ \f\t\v]*)[#;][^\n\r]*/m, lookbehind: !0 }, section: { @@ -37492,8 +37446,8 @@ function O_(e) { punctuation: /=/, }; } -function L_(e) { - (e.register(__), +function C_(e) { + (e.register(f_), (function (e) { var t = /\b(?:abstract|assert|boolean|break|byte|case|catch|char|class|const|continue|default|do|double|else|enum|exports|extends|final|finally|float|for|goto|if|implements|import|instanceof|int|interface|long|module|native|new|non-sealed|null|open|opens|package|permits|private|protected|provides|public|record(?!\s*[(){}[\]<>=%~.:,;?+\-*/&|^])|requires|return|sealed|short|static|strictfp|super|switch|synchronized|this|throw|throws|to|transient|transitive|try|uses|var|void|volatile|while|with|yield)\b/, @@ -37623,7 +37577,7 @@ function L_(e) { })); })(e)); } -function M_(e) { +function N_(e) { !(function (e) { var t = { pattern: /\\[\\(){}[\]^$+*?|.]/, alias: "escape" }, n = @@ -37693,8 +37647,8 @@ function M_(e) { }; })(e); } -function D_(e) { - (e.register(__), +function I_(e) { + (e.register(f_), (e.languages.javascript = e.languages.extend("clike", { "class-name": [ e.languages.clike["class-name"], @@ -37849,7 +37803,7 @@ function D_(e) { )), (e.languages.js = e.languages.javascript)); } -function P_(e) { +function R_(e) { ((e.languages.json = { property: { pattern: /(^|[^\\])"(?:\\.|[^\\"\r\n])*"(?=\s*:)/, @@ -37870,8 +37824,8 @@ function P_(e) { }), (e.languages.webmanifest = e.languages.json)); } -function j_(e) { - (e.register(__), +function k_(e) { + (e.register(f_), (function (e) { ((e.languages.kotlin = e.languages.extend("clike", { keyword: { @@ -37945,8 +37899,8 @@ function j_(e) { (e.languages.kts = e.languages.kotlin)); })(e)); } -function B_(e) { - (e.register(I_), +function O_(e) { + (e.register(y_), (e.languages.less = e.languages.extend("css", { comment: [ /\/\*[\s\S]*?\*\//, @@ -37977,7 +37931,7 @@ function B_(e) { }, })); } -function F_(e) { +function L_(e) { e.languages.lua = { comment: /^#!.+|--(?:\[(=*)\[[\s\S]*?\]\1\]|.*)/m, string: { @@ -37997,7 +37951,7 @@ function F_(e) { punctuation: /[\[\](){},;]|\.+|:+/, }; } -function H_(e) { +function M_(e) { e.languages.makefile = { comment: { pattern: /(^|[^\\])#(?:\\(?:\r\n|[\s\S])|[^\\\r\n])*/, @@ -38028,7 +37982,7 @@ function H_(e) { punctuation: /[:;(){}]/, }; } -function z_(e) { +function D_(e) { !(function (e) { var t = /[*&][^\s[\]{},]+/, n = @@ -38131,8 +38085,8 @@ function z_(e) { (e.languages.yml = e.languages.yaml)); })(e); } -function U_(e) { - (e.register(N_), +function P_(e) { + (e.register(__), (function (e) { var t = /(?:\\.|[^\\\n\r]|(?:\n|\r\n?)(?![\r\n]))/.source; function n(e) { @@ -38412,8 +38366,8 @@ function U_(e) { (e.languages.md = e.languages.markdown)); })(e)); } -function G_(e) { - (e.register(y_), +function j_(e) { + (e.register(b_), (e.languages.objectivec = e.languages.extend("c", { string: { pattern: /@?"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"/, greedy: !0 }, keyword: @@ -38423,7 +38377,7 @@ function G_(e) { delete e.languages.objectivec["class-name"], (e.languages.objc = e.languages.objectivec)); } -function V_(e) { +function B_(e) { !(function (e) { var t = /(?:\((?:[^()\\]|\\[\s\S])*\)|\{(?:[^{}\\]|\\[\s\S])*\}|\[(?:[^[\]\\]|\\[\s\S])*\]|<(?:[^<>\\]|\\[\s\S])*>)/ @@ -38512,8 +38466,8 @@ function V_(e) { }; })(e); } -function Z_(e) { - (e.register(N_), +function F_(e) { + (e.register(__), (function (e) { function t(e, t) { return "___" + e.toUpperCase() + t + "___"; @@ -38583,8 +38537,8 @@ function Z_(e) { }); })(e)); } -function $_(e) { - (e.register(Z_), +function H_(e) { + (e.register(F_), (function (e) { var t = /\/\*[\s\S]*?\*\/|\/\/.*|#(?!\[).*/, n = [ @@ -38877,7 +38831,7 @@ function $_(e) { })); })(e)); } -function W_(e) { +function z_(e) { ((e.languages.python = { comment: { pattern: /(^|[^\\])#.*/, lookbehind: !0, greedy: !0 }, "string-interpolation": { @@ -38936,7 +38890,7 @@ function W_(e) { ].inside.interpolation.inside.rest = e.languages.python), (e.languages.py = e.languages.python)); } -function q_(e) { +function U_(e) { e.languages.r = { comment: /#.*/, string: { pattern: /(['"])(?:\\.|(?!\1)[^\\\r\n])*\1/, greedy: !0 }, @@ -38953,8 +38907,8 @@ function q_(e) { punctuation: /[(){}\[\],;]/, }; } -function Y_(e) { - (e.register(__), +function G_(e) { + (e.register(f_), (function (e) { ((e.languages.ruby = e.languages.extend("clike", { comment: { pattern: /#.*|^=begin\s[\s\S]*?^=end/m, greedy: !0 }, @@ -39108,7 +39062,7 @@ function Y_(e) { (e.languages.rb = e.languages.ruby)); })(e)); } -function K_(e) { +function V_(e) { !(function (e) { for ( var t = /\/\*(?:[^*/]|\*(?!\/)|\/(?!\*)|)*\*\//.source, n = 0; @@ -39207,8 +39161,8 @@ function K_(e) { (e.languages.rust.attribute.inside.string = e.languages.rust.string)); })(e); } -function X_(e) { - (e.register(I_), +function Z_(e) { + (e.register(y_), (function (e) { ((e.languages.sass = e.languages.extend("css", { comment: { @@ -39263,8 +39217,8 @@ function X_(e) { })); })(e)); } -function Q_(e) { - (e.register(I_), +function $_(e) { + (e.register(y_), (e.languages.scss = e.languages.extend("css", { comment: { pattern: /(^|[^\\])(?:\/\*[\s\S]*?\*\/|\/\/.*)/, @@ -39314,7 +39268,7 @@ function Q_(e) { }), (e.languages.scss.atrule.inside.rest = e.languages.scss)); } -function J_(e) { +function W_(e) { e.languages.sql = { comment: { pattern: /(^|[^\\])(?:\/\*[\s\S]*?\*\/|(?:--|\/\/|#).*)/, @@ -39346,7 +39300,7 @@ function J_(e) { punctuation: /[;[\]()`,.]/, }; } -function ey(e) { +function q_(e) { ((e.languages.swift = { comment: { pattern: @@ -39466,8 +39420,8 @@ function ey(e) { t.inside.interpolation.inside = e.languages.swift; })); } -function ty(e) { - (e.register(D_), +function Y_(e) { + (e.register(I_), (function (e) { ((e.languages.typescript = e.languages.extend("javascript", { "class-name": { @@ -39512,7 +39466,7 @@ function ty(e) { (e.languages.ts = e.languages.typescript)); })(e)); } -function ny(e) { +function K_(e) { e.languages.basic = { comment: { pattern: /(?:!|REM\b).+/i, inside: { keyword: /^REM/i } }, string: { pattern: /"(?:""|[!#$%&'()*,\/:;<=>?^\w +\-.])*"/, greedy: !0 }, @@ -39525,8 +39479,8 @@ function ny(e) { punctuation: /[,;:()]/, }; } -function ay(e) { - (e.register(ny), +function X_(e) { + (e.register(K_), (e.languages.vbnet = e.languages.extend("basic", { comment: [ { pattern: /(?:!|REM\b).+/i, inside: { keyword: /^REM/i } }, @@ -39542,83 +39496,83 @@ function ay(e) { punctuation: /[,;:(){}]/, }))); } -((__.displayName = "clike"), - (__.aliases = []), - (y_.displayName = "c"), +((f_.displayName = "clike"), + (f_.aliases = []), + (b_.displayName = "c"), + (b_.aliases = []), + (E_.displayName = "cpp"), + (E_.aliases = []), + (v_.displayName = "arduino"), + (v_.aliases = ["ino"]), + (x_.displayName = "bash"), + (x_.aliases = ["sh", "shell"]), + (T_.displayName = "csharp"), + (T_.aliases = ["cs", "dotnet"]), + (__.displayName = "markup"), + (__.aliases = ["atom", "html", "mathml", "rss", "ssml", "svg", "xml"]), + (y_.displayName = "css"), (y_.aliases = []), - (S_.displayName = "cpp"), + (S_.displayName = "diff"), (S_.aliases = []), - (w_.displayName = "arduino"), - (w_.aliases = ["ino"]), - (A_.displayName = "bash"), - (A_.aliases = ["sh", "shell"]), - (C_.displayName = "csharp"), - (C_.aliases = ["cs", "dotnet"]), - (N_.displayName = "markup"), - (N_.aliases = ["atom", "html", "mathml", "rss", "ssml", "svg", "xml"]), - (I_.displayName = "css"), - (I_.aliases = []), - (R_.displayName = "diff"), - (R_.aliases = []), - (k_.displayName = "go"), - (k_.aliases = []), - (O_.displayName = "ini"), + (w_.displayName = "go"), + (w_.aliases = []), + (A_.displayName = "ini"), + (A_.aliases = []), + (C_.displayName = "java"), + (C_.aliases = []), + (N_.displayName = "regex"), + (N_.aliases = []), + (I_.displayName = "javascript"), + (I_.aliases = ["js"]), + (R_.displayName = "json"), + (R_.aliases = ["webmanifest"]), + (k_.displayName = "kotlin"), + (k_.aliases = ["kt", "kts"]), + (O_.displayName = "less"), (O_.aliases = []), - (L_.displayName = "java"), + (L_.displayName = "lua"), (L_.aliases = []), - (M_.displayName = "regex"), + (M_.displayName = "makefile"), (M_.aliases = []), - (D_.displayName = "javascript"), - (D_.aliases = ["js"]), - (P_.displayName = "json"), - (P_.aliases = ["webmanifest"]), - (j_.displayName = "kotlin"), - (j_.aliases = ["kt", "kts"]), - (B_.displayName = "less"), + (D_.displayName = "yaml"), + (D_.aliases = ["yml"]), + (P_.displayName = "markdown"), + (P_.aliases = ["md"]), + (j_.displayName = "objectivec"), + (j_.aliases = ["objc"]), + (B_.displayName = "perl"), (B_.aliases = []), - (F_.displayName = "lua"), + (F_.displayName = "markup-templating"), (F_.aliases = []), - (H_.displayName = "makefile"), + (H_.displayName = "php"), (H_.aliases = []), - (z_.displayName = "yaml"), - (z_.aliases = ["yml"]), - (U_.displayName = "markdown"), - (U_.aliases = ["md"]), - (G_.displayName = "objectivec"), - (G_.aliases = ["objc"]), - (V_.displayName = "perl"), + (z_.displayName = "python"), + (z_.aliases = ["py"]), + (U_.displayName = "r"), + (U_.aliases = []), + (G_.displayName = "ruby"), + (G_.aliases = ["rb"]), + (V_.displayName = "rust"), (V_.aliases = []), - (Z_.displayName = "markup-templating"), + (Z_.displayName = "sass"), (Z_.aliases = []), - ($_.displayName = "php"), + ($_.displayName = "scss"), ($_.aliases = []), - (W_.displayName = "python"), - (W_.aliases = ["py"]), - (q_.displayName = "r"), + (W_.displayName = "sql"), + (W_.aliases = []), + (q_.displayName = "swift"), (q_.aliases = []), - (Y_.displayName = "ruby"), - (Y_.aliases = ["rb"]), - (K_.displayName = "rust"), + (Y_.displayName = "typescript"), + (Y_.aliases = ["ts"]), + (K_.displayName = "basic"), (K_.aliases = []), - (X_.displayName = "sass"), - (X_.aliases = []), - (Q_.displayName = "scss"), - (Q_.aliases = []), - (J_.displayName = "sql"), - (J_.aliases = []), - (ey.displayName = "swift"), - (ey.aliases = []), - (ty.displayName = "typescript"), - (ty.aliases = ["ts"]), - (ny.displayName = "basic"), - (ny.aliases = []), - (ay.displayName = "vbnet"), - (ay.aliases = [])); -const ry = /[#.]/g; -const iy = new Set(["menu", "submit", "reset", "button"]), - oy = {}.hasOwnProperty; -function sy(e, t, n, a) { - const r = ub(e, n); + (X_.displayName = "vbnet"), + (X_.aliases = [])); +const Q_ = /[#.]/g; +const J_ = new Set(["menu", "submit", "reset", "button"]), + ey = {}.hasOwnProperty; +function ty(e, t, n, a) { + const r = ib(e, n); let i, o = -1; if (null != a) { @@ -39631,25 +39585,25 @@ function sy(e, t, n, a) { ? a : "string" == typeof a ? r.spaceSeparated - ? vb(a) + ? hb(a) : r.commaSeparated - ? fb(a) + ? db(a) : r.commaOrSpaceSeparated - ? vb(fb(a).join(" ")) - : cy(r, r.property, a) + ? hb(db(a).join(" ")) + : ay(r, r.property, a) : Array.isArray(a) ? a.concat() : "style" === r.property ? (function (e) { const t = []; let n; - for (n in e) oy.call(e, n) && t.push([n, e[n]].join(": ")); + for (n in e) ey.call(e, n) && t.push([n, e[n]].join(": ")); return t.join("; "); })(a) : String(a); if (Array.isArray(i)) { const e = []; - for (; ++o < i.length; ) e[o] = cy(r, r.property, i[o]); + for (; ++o < i.length; ) e[o] = ay(r, r.property, i[o]); i = e; } ("className" === r.property && @@ -39658,29 +39612,29 @@ function sy(e, t, n, a) { (t[r.property] = i)); } } -function ly(e, t) { +function ny(e, t) { let n = -1; if (null == t); else if ("string" == typeof t || "number" == typeof t) e.push({ type: "text", value: String(t) }); - else if (Array.isArray(t)) for (; ++n < t.length; ) ly(e, t[n]); + else if (Array.isArray(t)) for (; ++n < t.length; ) ny(e, t[n]); else { if ("object" != typeof t || !("type" in t)) throw new Error("Expected node, nodes, or string, got `" + t + "`"); - "root" === t.type ? ly(e, t.children) : e.push(t); + "root" === t.type ? ny(e, t.children) : e.push(t); } } -function cy(e, t, n) { +function ay(e, t, n) { if ("string" == typeof n) { if (e.number && n && !Number.isNaN(Number(n))) return Number(n); - if ((e.boolean || e.overloadedBoolean) && ("" === n || jf(n) === jf(t))) + if ((e.boolean || e.overloadedBoolean) && ("" === n || kf(n) === kf(t))) return !0; } return n; } -const dy = - ((uy = mb), - (py = "div"), +const ry = + ((iy = lb), + (oy = "div"), function (e, t, ...n) { let a, r = -1; @@ -39693,8 +39647,8 @@ const dy = i, o = 0; for (; o < n.length; ) { - ry.lastIndex = o; - const e = ry.exec(n), + Q_.lastIndex = o; + const e = Q_.exec(n), t = n.slice(o, e ? e.index : n.length); (t && (r @@ -39713,7 +39667,7 @@ const dy = properties: a, children: [], }; - })(e, py)), + })(e, oy)), (a.tagName = a.tagName.toLowerCase()), (i = t), (o = a.tagName), @@ -39724,14 +39678,14 @@ const dy = i.type && "string" == typeof i.type && (("children" in i && Array.isArray(i.children)) || - ("button" === o ? !iy.has(i.type.toLowerCase()) : "value" in i)))) + ("button" === o ? !J_.has(i.type.toLowerCase()) : "value" in i)))) ) n.unshift(t); else { let e; - for (e in t) oy.call(t, e) && sy(uy, a.properties, e, t[e]); + for (e in t) ey.call(t, e) && ty(iy, a.properties, e, t[e]); } - for (var i, o; ++r < n.length; ) ly(a.children, n[r]); + for (var i, o; ++r < n.length; ) ny(a.children, n[r]); return ( "element" === a.type && "template" === a.tagName && @@ -39740,8 +39694,8 @@ const dy = a ); }); -var uy, py; -const hy = { +var iy, oy; +const sy = { 0: "�", 128: "€", 130: "‚", @@ -39771,30 +39725,30 @@ const hy = { 158: "ž", 159: "Ÿ", }; -function my(e) { +function ly(e) { const t = "string" == typeof e ? e.charCodeAt(0) : e; return t >= 48 && t <= 57; } -function gy(e) { +function cy(e) { const t = "string" == typeof e ? e.charCodeAt(0) : e; return (t >= 97 && t <= 102) || (t >= 65 && t <= 70) || (t >= 48 && t <= 57); } -function fy(e) { +function dy(e) { return ( (function (e) { const t = "string" == typeof e ? e.charCodeAt(0) : e; return (t >= 97 && t <= 122) || (t >= 65 && t <= 90); - })(e) || my(e) + })(e) || ly(e) ); } -const by = document.createElement("i"); -function Ey(e) { +const uy = document.createElement("i"); +function py(e) { const t = "&" + e + ";"; - by.innerHTML = t; - const n = by.textContent; + uy.innerHTML = t; + const n = uy.textContent; return (59 !== n.charCodeAt(n.length - 1) || "semi" === e) && n !== t && n; } -const vy = [ +const hy = [ "", "Named character references must be terminated by a semicolon", "Numeric character references must be terminated by a semicolon", @@ -39804,7 +39758,7 @@ const vy = [ "Numeric character references cannot be disallowed", "Numeric character references cannot be outside the permissible Unicode range", ]; -function xy(e, t) { +function my(e, t) { const n = {}, a = "string" == typeof n.additional @@ -39856,17 +39810,17 @@ function xy(e, t) { let E = "", v = "", x = ""; - const T = "named" === o ? fy : "decimal" === o ? my : gy; + const T = "named" === o ? dy : "decimal" === o ? ly : cy; for (u--; ++u <= e.length; ) { const t = e.charCodeAt(u); if (!T(t)) break; ((x += String.fromCharCode(t)), - "named" === o && Qx.includes(x) && ((E = x), (v = Ey(x)))); + "named" === o && $x.includes(x) && ((E = x), (v = py(x)))); } let _ = 59 === e.charCodeAt(u); if (_) { u++; - const e = "named" === o && Ey(x); + const e = "named" === o && py(x); e && ((E = x), (v = e)); } let y = 1 + u - i, @@ -39881,7 +39835,7 @@ function xy(e, t) { const t = E ? 1 : 3; if (n.attribute) { const n = e.charCodeAt(u); - 61 === n ? (f(t, y), (v = "")) : fy(n) ? (v = "") : f(t, y); + 61 === n ? (f(t, y), (v = "")) : dy(n) ? (v = "") : f(t, y); } else f(t, y); } S = v; @@ -39890,10 +39844,10 @@ function xy(e, t) { let e = Number.parseInt(x, "hexadecimal" === o ? 16 : 10); if (((m = e) >= 55296 && m <= 57343) || m > 1114111) (f(7, y), (S = String.fromCharCode(65533))); - else if (e in hy) (f(6, y), (S = hy[e])); + else if (e in sy) (f(6, y), (S = sy[e])); else { let t = ""; - (Ty(e) && f(6, y), + (gy(e) && f(6, y), e > 65535 && ((e -= 65536), (t += String.fromCharCode((e >>> 10) | 55296)), @@ -39930,7 +39884,7 @@ function xy(e, t) { ((a = g()), (a.column += t), (a.offset += t), - n.warning.call(n.warningContext || void 0, vy[e], a, e)); + n.warning.call(n.warningContext || void 0, hy[e], a, e)); } function b() { c && @@ -39939,7 +39893,7 @@ function xy(e, t) { (c = "")); } } -function Ty(e) { +function gy(e) { return ( (e >= 1 && e <= 8) || 11 === e || @@ -39950,30 +39904,30 @@ function Ty(e) { 65534 == (65535 & e) ); } -var _y = 0, - yy = {}, - Sy = { +var fy = 0, + by = {}, + Ey = { util: { type: function (e) { return Object.prototype.toString.call(e).slice(8, -1); }, objId: function (e) { return ( - e.__id || Object.defineProperty(e, "__id", { value: ++_y }), + e.__id || Object.defineProperty(e, "__id", { value: ++fy }), e.__id ); }, clone: function e(t, n) { var a, r; - switch (((n = n || {}), Sy.util.type(t))) { + switch (((n = n || {}), Ey.util.type(t))) { case "Object": - if (((r = Sy.util.objId(t)), n[r])) return n[r]; + if (((r = Ey.util.objId(t)), n[r])) return n[r]; for (var i in ((a = {}), (n[r] = a), t)) t.hasOwnProperty(i) && (a[i] = e(t[i], n)); return a; case "Array": return ( - (r = Sy.util.objId(t)), + (r = Ey.util.objId(t)), n[r] ? n[r] : ((a = []), @@ -39989,17 +39943,17 @@ var _y = 0, }, }, languages: { - plain: yy, - plaintext: yy, - text: yy, - txt: yy, + plain: by, + plaintext: by, + text: by, + txt: by, extend: function (e, t) { - var n = Sy.util.clone(Sy.languages[e]); + var n = Ey.util.clone(Ey.languages[e]); for (var a in t) n[a] = t[a]; return n; }, insertBefore: function (e, t, n, a) { - var r = (a = a || Sy.languages)[e], + var r = (a = a || Ey.languages)[e], i = {}; for (var o in r) if (r.hasOwnProperty(o)) { @@ -40009,7 +39963,7 @@ var _y = 0, var l = a[e]; return ( (a[e] = i), - Sy.languages.DFS(Sy.languages, function (t, n) { + Ey.languages.DFS(Ey.languages, function (t, n) { n === l && t != e && (this[t] = i); }), i @@ -40017,12 +39971,12 @@ var _y = 0, }, DFS: function e(t, n, a, r) { r = r || {}; - var i = Sy.util.objId; + var i = Ey.util.objId; for (var o in t) if (t.hasOwnProperty(o)) { n.call(t, o, t[o], a || o); var s = t[o], - l = Sy.util.type(s); + l = Ey.util.type(s); "Object" !== l || r[i(s)] ? "Array" !== l || r[i(s)] || ((r[i(s)] = !0), e(s, n, o, r)) : ((r[i(s)] = !0), e(s, n, null, r)); @@ -40032,12 +39986,12 @@ var _y = 0, plugins: {}, highlight: function (e, t, n) { var a = { code: e, grammar: t, language: n }; - if ((Sy.hooks.run("before-tokenize", a), !a.grammar)) + if ((Ey.hooks.run("before-tokenize", a), !a.grammar)) throw new Error('The language "' + a.language + '" has no grammar.'); return ( - (a.tokens = Sy.tokenize(a.code, a.grammar)), - Sy.hooks.run("after-tokenize", a), - wy.stringify(Sy.util.encode(a.tokens), a.language) + (a.tokens = Ey.tokenize(a.code, a.grammar)), + Ey.hooks.run("after-tokenize", a), + vy.stringify(Ey.util.encode(a.tokens), a.language) ); }, tokenize: function (e, t) { @@ -40046,10 +40000,10 @@ var _y = 0, for (var a in n) t[a] = n[a]; delete t.rest; } - var r = new Ny(); + var r = new _y(); return ( - Iy(r, r.head, e), - Cy(e, r, t, r.head, 0), + yy(r, r.head, e), + Ty(e, r, t, r.head, 0), (function (e) { var t = [], n = e.head.next; @@ -40061,23 +40015,23 @@ var _y = 0, hooks: { all: {}, add: function (e, t) { - var n = Sy.hooks.all; + var n = Ey.hooks.all; ((n[e] = n[e] || []), n[e].push(t)); }, run: function (e, t) { - var n = Sy.hooks.all[e]; + var n = Ey.hooks.all[e]; if (n && n.length) for (var a, r = 0; (a = n[r++]); ) a(t); }, }, - Token: wy, + Token: vy, }; -function wy(e, t, n, a) { +function vy(e, t, n, a) { ((this.type = e), (this.content = t), (this.alias = n), (this.length = 0 | (a || "").length)); } -function Ay(e, t, n, a) { +function xy(e, t, n, a) { e.lastIndex = t; var r = e.exec(n); if (r && a && r[1]) { @@ -40086,7 +40040,7 @@ function Ay(e, t, n, a) { } return r; } -function Cy(e, t, n, a, r, i) { +function Ty(e, t, n, a, r, i) { for (var o in n) if (n.hasOwnProperty(o) && n[o]) { var s = n[o]; @@ -40109,17 +40063,17 @@ function Cy(e, t, n, a, r, i) { ) { var E = f.value; if (t.length > e.length) return; - if (!(E instanceof wy)) { + if (!(E instanceof vy)) { var v, x = 1; if (p) { - if (!(v = Ay(g, b, e, u)) || v.index >= e.length) break; + if (!(v = xy(g, b, e, u)) || v.index >= e.length) break; var T = v.index, _ = v.index + v[0].length, y = b; for (y += f.value.length; T >= y; ) y += (f = f.next).value.length; - if (((b = y -= f.value.length), f.value instanceof wy)) continue; + if (((b = y -= f.value.length), f.value instanceof vy)) continue; for ( var S = f; S !== t.tail && (y < _ || "string" == typeof S.value); @@ -40127,7 +40081,7 @@ function Cy(e, t, n, a, r, i) { ) (x++, (y += S.value.length)); (x--, (E = e.slice(b, y)), (v.index -= b)); - } else if (!(v = Ay(g, 0, E, u))) continue; + } else if (!(v = xy(g, 0, E, u))) continue; T = v.index; var w = v[0], A = E.slice(0, T), @@ -40136,14 +40090,14 @@ function Cy(e, t, n, a, r, i) { i && N > i.reach && (i.reach = N); var I = f.prev; if ( - (A && ((I = Iy(t, I, A)), (b += A.length)), - Ry(t, I, x), - (f = Iy(t, I, new wy(o, d ? Sy.tokenize(w, d) : w, h, w))), - C && Iy(t, f, C), + (A && ((I = yy(t, I, A)), (b += A.length)), + Sy(t, I, x), + (f = yy(t, I, new vy(o, d ? Ey.tokenize(w, d) : w, h, w))), + C && yy(t, f, C), x > 1) ) { var R = { cause: o + "," + l, reach: N }; - (Cy(e, t, n, f.prev, b, R), + (Ty(e, t, n, f.prev, b, R), i && R.reach > i.reach && (i.reach = R.reach)); } } @@ -40151,26 +40105,26 @@ function Cy(e, t, n, a, r, i) { } } } -function Ny() { +function _y() { var e = { value: null, prev: null, next: null }, t = { value: null, prev: e, next: null }; ((e.next = t), (this.head = e), (this.tail = t), (this.length = 0)); } -function Iy(e, t, n) { +function yy(e, t, n) { var a = t.next, r = { value: n, prev: t, next: a }; return ((t.next = r), (a.prev = r), e.length++, r); } -function Ry(e, t, n) { +function Sy(e, t, n) { for (var a = t.next, r = 0; r < n && a !== e.tail; r++) a = a.next; ((t.next = a), (a.prev = t), (e.length -= r)); } -const ky = Sy, - Oy = {}.hasOwnProperty; -function Ly() {} -Ly.prototype = ky; -const My = new Ly(); -function Dy(e) { +const wy = Ey, + Ay = {}.hasOwnProperty; +function Cy() {} +Cy.prototype = wy; +const Ny = new Cy(); +function Iy(e) { e.languages.abap = { comment: /^\*.*/m, string: /(`|')(?:\\.|(?!\1)[^\\\r\n])*\1/, @@ -40206,7 +40160,7 @@ function Dy(e) { punctuation: /[,.:()]/, }; } -function Py(e) { +function Ry(e) { !(function (e) { var t = "(?:ALPHA|BIT|CHAR|CR|CRLF|CTL|DIGIT|DQUOTE|HEXDIG|HTAB|LF|LWSP|OCTET|SP|VCHAR|WSP)"; @@ -40253,8 +40207,8 @@ function Py(e) { }; })(e); } -function jy(e) { - (e.register(D_), +function ky(e) { + (e.register(I_), (e.languages.actionscript = e.languages.extend("javascript", { keyword: /\b(?:as|break|case|catch|class|const|default|delete|do|dynamic|each|else|extends|final|finally|for|function|get|if|implements|import|in|include|instanceof|interface|internal|is|namespace|native|new|null|override|package|private|protected|public|return|set|static|super|switch|this|throw|try|typeof|use|var|void|while|with)\b/, @@ -40273,7 +40227,7 @@ function jy(e) { }, })); } -function By(e) { +function Oy(e) { e.languages.ada = { comment: /--.*/, string: /"(?:""|[^"\r\f\n])*"/, @@ -40294,7 +40248,7 @@ function By(e) { variable: /\b[a-z](?:\w)*\b/i, }; } -function Fy(e) { +function Ly(e) { !(function (e) { e.languages.agda = { comment: /\{-[\s\S]*?(?:-\}|$)|--.*/, @@ -40311,7 +40265,7 @@ function Fy(e) { }; })(e); } -function Hy(e) { +function My(e) { e.languages.al = { comment: /\/\/.*|\/\*[\s\S]*?\*\//, string: { @@ -40337,7 +40291,7 @@ function Hy(e) { punctuation: /[()\[\]{}:.;,]/, }; } -function zy(e) { +function Dy(e) { ((e.languages.antlr4 = { comment: /\/\/.*|\/\*[\s\S]*?(?:\*\/|$)/, string: { pattern: /'(?:\\.|[^\\'\r\n])*'/, greedy: !0 }, @@ -40384,7 +40338,7 @@ function zy(e) { }), (e.languages.g4 = e.languages.antlr4)); } -function Uy(e) { +function Py(e) { e.languages.apacheconf = { comment: /#.*/, "directive-inline": { @@ -40426,9 +40380,9 @@ function Uy(e) { regex: /\^?.*\$|\^.*\$?/, }; } -function Gy(e) { - (e.register(__), - e.register(J_), +function jy(e) { + (e.register(f_), + e.register(W_), (function (e) { var t = /\b(?:(?:after|before)(?=\s+[a-z])|abstract|activate|and|any|array|as|asc|autonomous|begin|bigdecimal|blob|boolean|break|bulk|by|byte|case|cast|catch|char|class|collect|commit|const|continue|currency|date|datetime|decimal|default|delete|desc|do|double|else|end|enum|exception|exit|export|extends|final|finally|float|for|from|get(?=\s*[{};])|global|goto|group|having|hint|if|implements|import|in|inner|insert|instanceof|int|integer|interface|into|join|like|limit|list|long|loop|map|merge|new|not|null|nulls|number|object|of|on|or|outer|override|package|parallel|pragma|private|protected|public|retrieve|return|rollback|select|set|short|sObject|sort|static|string|super|switch|synchronized|system|testmethod|then|this|throw|time|transaction|transient|trigger|try|undelete|update|upsert|using|virtual|void|webservice|when|where|while|(?:inherited|with|without)\s+sharing)\b/i, @@ -40493,7 +40447,7 @@ function Gy(e) { }; })(e)); } -function Vy(e) { +function By(e) { e.languages.apl = { comment: /(?:⍝|#[! ]).*$/m, string: { pattern: /'(?:[^'\r\n]|'')*'/, greedy: !0 }, @@ -40511,7 +40465,7 @@ function Vy(e) { dfn: { pattern: /[{}⍺⍵⍶⍹∇⍫:]/, alias: "builtin" }, }; } -function Zy(e) { +function Fy(e) { e.languages.applescript = { comment: [ /\(\*(?:\(\*(?:[^*]|\*(?!\)))*\*\)|(?!\(\*)[\s\S])*?\*\)/, @@ -40531,7 +40485,7 @@ function Zy(e) { punctuation: /[{}():,¬«»《》]/, }; } -function $y(e) { +function Hy(e) { e.languages.aql = { comment: /\/\/.*|\/\*[\s\S]*?\*\//, property: { @@ -40562,7 +40516,7 @@ function $y(e) { punctuation: /::|[?.:,;()[\]{}]/, }; } -function Wy(e) { +function zy(e) { e.languages.arff = { comment: /%.*/, string: { pattern: /(["'])(?:\\.|(?!\1)[^\\\r\n])*\1/, greedy: !0 }, @@ -40571,7 +40525,7 @@ function Wy(e) { punctuation: /[{},]/, }; } -function qy(e) { +function Uy(e) { ((e.languages.armasm = { comment: { pattern: /;.*/, greedy: !0 }, string: { @@ -40604,7 +40558,7 @@ function qy(e) { }), (e.languages["arm-asm"] = e.languages.armasm)); } -function Yy(e) { +function Gy(e) { !(function (e) { var t = function (t, n) { return { @@ -40665,7 +40619,7 @@ function Yy(e) { (e.languages.art = e.languages.arturo)); })(e); } -function Ky(e) { +function Vy(e) { !(function (e) { var t = { pattern: @@ -40825,9 +40779,9 @@ function Ky(e) { (e.languages.adoc = e.languages.asciidoc)); })(e); } -function Xy(e) { - (e.register(C_), - e.register(N_), +function Zy(e) { + (e.register(T_), + e.register(__), (e.languages.aspnet = e.languages.extend("markup", { "page-directive": { pattern: /<%\s*@.*%>/, @@ -40875,7 +40829,7 @@ function Xy(e) { }, )); } -function Qy(e) { +function $y(e) { e.languages.asm6502 = { comment: /;.*/, directive: { pattern: /\.\w+(?= )/, alias: "property" }, @@ -40892,7 +40846,7 @@ function Qy(e) { punctuation: /[(),:]/, }; } -function Jy(e) { +function Wy(e) { e.languages.asmatmel = { comment: { pattern: /;.*/, greedy: !0 }, string: { pattern: /(["'`])(?:\\.|(?!\1)[^\\\r\n])*\1/, greedy: !0 }, @@ -40912,7 +40866,7 @@ function Jy(e) { punctuation: /[(),:]/, }; } -function eS(e) { +function qy(e) { e.languages.autohotkey = { comment: [ { pattern: /(^|\s);.*/, lookbehind: !0 }, @@ -40948,7 +40902,7 @@ function eS(e) { punctuation: /[{}[\]():,]/, }; } -function tS(e) { +function Yy(e) { e.languages.autoit = { comment: [ /;.*/, @@ -40982,7 +40936,7 @@ function tS(e) { punctuation: /[\[\]().,:]/, }; } -function nS(e) { +function Ky(e) { !(function (e) { function t(e, t, n) { return RegExp( @@ -41122,7 +41076,7 @@ function nS(e) { (e.languages.avs = e.languages.avisynth)); })(e); } -function aS(e) { +function Xy(e) { ((e.languages["avro-idl"] = { comment: { pattern: /\/\/.*|\/\*[\s\S]*?\*\//, greedy: !0 }, string: { @@ -41162,7 +41116,7 @@ function aS(e) { }), (e.languages.avdl = e.languages["avro-idl"])); } -function rS(e) { +function Qy(e) { ((e.languages.awk = { hashbang: { pattern: /^#!.*/, greedy: !0, alias: "comment" }, comment: { pattern: /#.*/, greedy: !0 }, @@ -41186,7 +41140,7 @@ function rS(e) { }), (e.languages.gawk = e.languages.awk)); } -function iS(e) { +function Jy(e) { !(function (e) { var t = /%%?[~:\w]+%?|!\S+!/, n = { @@ -41276,7 +41230,7 @@ function iS(e) { }; })(e); } -function oS(e) { +function eS(e) { ((e.languages.bbcode = { tag: { pattern: @@ -41299,7 +41253,7 @@ function oS(e) { }), (e.languages.shortcode = e.languages.bbcode)); } -function sS(e) { +function tS(e) { !(function (e) { e.languages.bbj = { comment: { pattern: /(^|[^\\:])rem\s+.*/i, lookbehind: !0, greedy: !0 }, @@ -41314,7 +41268,7 @@ function sS(e) { }; })(e); } -function lS(e) { +function nS(e) { ((e.languages.bicep = { comment: [ { @@ -41374,8 +41328,8 @@ function lS(e) { "interpolated-string" ].inside.interpolation.inside.expression.inside = e.languages.bicep)); } -function cS(e) { - (e.register(__), +function aS(e) { + (e.register(f_), (e.languages.birb = e.languages.extend("clike", { string: { pattern: /r?("|')(?:\\.|(?!\1)[^\\])*\1/, greedy: !0 }, "class-name": [ @@ -41391,8 +41345,8 @@ function cS(e) { metadata: { pattern: /<\w+>/, greedy: !0, alias: "symbol" }, })); } -function dS(e) { - (e.register(y_), +function rS(e) { + (e.register(b_), (e.languages.bison = e.languages.extend("c", {})), e.languages.insertBefore("bison", "comment", { bison: { @@ -41420,7 +41374,7 @@ function dS(e) { }, })); } -function uS(e) { +function iS(e) { ((e.languages.bnf = { string: { pattern: /"[^\r\n"]*"|'[^\r\n']*'/ }, definition: { @@ -41433,7 +41387,7 @@ function uS(e) { }), (e.languages.rbnf = e.languages.bnf)); } -function pS(e) { +function oS(e) { e.languages.bqn = { shebang: { pattern: /^#![ \t]*\/.*/, alias: "important", greedy: !0 }, comment: { pattern: /#.*/, greedy: !0 }, @@ -41480,7 +41434,7 @@ function pS(e) { punctuation: /[←⇐↩(){}⟨⟩[\]‿·⋄,.;:?]/, }; } -function hS(e) { +function sS(e) { e.languages.brainfuck = { pointer: { pattern: /<|>/, alias: "keyword" }, increment: { pattern: /\+/, alias: "inserted" }, @@ -41490,7 +41444,7 @@ function hS(e) { comment: /\S+/, }; } -function mS(e) { +function lS(e) { ((e.languages.brightscript = { comment: /(?:\brem|').*/i, "directive-statement": { @@ -41527,7 +41481,7 @@ function mS(e) { (e.languages.brightscript["directive-statement"].inside.expression.inside = e.languages.brightscript)); } -function gS(e) { +function cS(e) { e.languages.bro = { comment: { pattern: /(^|[^\\$])#.*/, @@ -41553,7 +41507,7 @@ function gS(e) { punctuation: /[{}[\];(),.:]/, }; } -function fS(e) { +function dS(e) { ((e.languages.bsl = { comment: /\/\/.*/, string: [ @@ -41603,8 +41557,8 @@ function fS(e) { }), (e.languages.oscript = e.languages.bsl)); } -function bS(e) { - (e.register(__), +function uS(e) { + (e.register(f_), (e.languages.cfscript = e.languages.extend("clike", { comment: [ { @@ -41643,9 +41597,9 @@ function bS(e) { delete e.languages.cfscript["class-name"], (e.languages.cfc = e.languages.cfscript)); } -function ES(e) { - (e.register(__), - e.register(S_), +function pS(e) { + (e.register(f_), + e.register(E_), (e.languages.chaiscript = e.languages.extend("clike", { string: { pattern: /(^|[^\\])'(?:[^'\\]|\\[\s\S])*'/, @@ -41697,7 +41651,7 @@ function ES(e) { }, })); } -function vS(e) { +function hS(e) { e.languages.cil = { comment: /\/\/.*/, string: { @@ -41719,8 +41673,8 @@ function vS(e) { punctuation: /[{}[\];(),:=]|IL_[0-9A-Za-z]+/, }; } -function xS(e) { - (e.register(y_), +function mS(e) { + (e.register(b_), (e.languages.cilkc = e.languages.insertBefore("c", "function", { "parallel-keyword": { pattern: /\bcilk_(?:for|reducer|s(?:cope|pawn|ync))\b/, @@ -41729,8 +41683,8 @@ function xS(e) { })), (e.languages["cilk-c"] = e.languages.cilkc)); } -function TS(e) { - (e.register(S_), +function gS(e) { + (e.register(E_), (e.languages.cilkcpp = e.languages.insertBefore("cpp", "function", { "parallel-keyword": { pattern: /\bcilk_(?:for|reducer|s(?:cope|pawn|ync))\b/, @@ -41740,7 +41694,7 @@ function TS(e) { (e.languages["cilk-cpp"] = e.languages.cilkcpp), (e.languages.cilk = e.languages.cilkcpp)); } -function _S(e) { +function fS(e) { e.languages.clojure = { comment: { pattern: /;.*/, greedy: !0 }, string: { pattern: /"(?:[^"\\]|\\.)*"/, greedy: !0 }, @@ -41765,7 +41719,7 @@ function _S(e) { punctuation: /[{}\[\](),]/, }; } -function yS(e) { +function bS(e) { e.languages.cmake = { comment: /#.*/, string: { @@ -41795,7 +41749,7 @@ function yS(e) { punctuation: /[()>}]|\$[<{]/, }; } -function SS(e) { +function ES(e) { e.languages.cobol = { comment: { pattern: /\*>.*|(^[ \t]*)\*.*/m, lookbehind: !0, greedy: !0 }, string: { @@ -41838,8 +41792,8 @@ function SS(e) { punctuation: /[.:,()]/, }; } -function wS(e) { - (e.register(D_), +function vS(e) { + (e.register(I_), (function (e) { var t = /#(?!\{).+/, n = { pattern: /#\{[^}]+\}/, alias: "variable" }; @@ -41894,7 +41848,7 @@ function wS(e) { (e.languages.coffee = e.languages.coffeescript)); })(e)); } -function AS(e) { +function xS(e) { ((e.languages.concurnas = { comment: { pattern: /(^|[^\\])(?:\/\*[\s\S]*?(?:\*\/|$)|\/\/.*)/, @@ -41954,7 +41908,7 @@ function AS(e) { }), (e.languages.conc = e.languages.concurnas)); } -function CS(e) { +function TS(e) { !(function (e) { function t(e) { return RegExp( @@ -42005,7 +41959,7 @@ function CS(e) { }; })(e); } -function NS(e) { +function _S(e) { !(function (e) { var t = /(?:(?!\s)[\d$+<=a-zA-Z\x80-\uFFFF])+/.source, n = /[^{}@#]+/.source, @@ -42100,7 +42054,7 @@ function NS(e) { }; })(e); } -function IS(e) { +function yS(e) { !(function (e) { for ( var t = /\(\*(?:[^(*]|\((?!\*)|\*(?!\))|)*\*\)/.source, n = 0; @@ -42150,8 +42104,8 @@ function IS(e) { })); })(e); } -function RS(e) { - (e.register(Y_), +function SS(e) { + (e.register(G_), (function (e) { ((e.languages.crystal = e.languages.extend("ruby", { keyword: [ @@ -42198,8 +42152,8 @@ function RS(e) { })); })(e)); } -function kS(e) { - (e.register(I_), +function wS(e) { + (e.register(y_), (function (e) { var t, n = /("|')(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/; @@ -42290,13 +42244,13 @@ function kS(e) { }); })(e)); } -function OS(e) { +function AS(e) { e.languages.csv = { value: /[^\r\n,"]+|"(?:[^"]|"")*"(?!")/, punctuation: /,/, }; } -function LS(e) { +function CS(e) { !(function (e) { var t = "(?:" + @@ -42362,7 +42316,7 @@ function LS(e) { ].inside.interpolation.inside.expression.inside = e.languages.cue)); })(e); } -function MS(e) { +function NS(e) { e.languages.cypher = { comment: /\/\/.*/, string: { @@ -42392,8 +42346,8 @@ function MS(e) { punctuation: /[()[\]{},;.]/, }; } -function DS(e) { - (e.register(__), +function IS(e) { + (e.register(f_), (e.languages.d = e.languages.extend("clike", { comment: [ { pattern: /^\s*#!.+/, greedy: !0 }, @@ -42459,8 +42413,8 @@ function DS(e) { }, })); } -function PS(e) { - (e.register(__), +function RS(e) { + (e.register(f_), (function (e) { var t = [ /\b(?:async|sync|yield)\*/, @@ -42527,7 +42481,7 @@ function PS(e) { })); })(e)); } -function jS(e) { +function kS(e) { !(function (e) { e.languages.dataweave = { url: /\b[A-Za-z]+:\/\/[\w/:.?=&-]+|\burn:[\w:.?=&-]+/, @@ -42558,7 +42512,7 @@ function jS(e) { }; })(e); } -function BS(e) { +function OS(e) { e.languages.dax = { comment: { pattern: /(^|[^\\])(?:\/\*[\s\S]*?\*\/|(?:--|\/\/).*)/, @@ -42581,7 +42535,7 @@ function BS(e) { punctuation: /[;\[\](){}`,.]/, }; } -function FS(e) { +function LS(e) { ((e.languages.dhall = { comment: /--.*|\{-(?:[^-{]|-(?!\})|\{(?!-)|\{-(?:[^-{]|-(?!\})|\{(?!-))*-\})*-\}/, @@ -42632,8 +42586,8 @@ function FS(e) { (e.languages.dhall.string.inside.interpolation.inside.expression.inside = e.languages.dhall)); } -function HS(e) { - (e.register(Z_), +function MS(e) { + (e.register(F_), (function (e) { e.languages.django = { comment: /^\{#[\s\S]*?#\}$/, @@ -42675,7 +42629,7 @@ function HS(e) { })); })(e)); } -function zS(e) { +function DS(e) { ((e.languages["dns-zone-file"] = { comment: /;.*/, string: { pattern: /"(?:\\.|[^"\\\r\n])*"/, greedy: !0 }, @@ -42699,7 +42653,7 @@ function zS(e) { }), (e.languages["dns-zone"] = e.languages["dns-zone-file"])); } -function US(e) { +function PS(e) { !(function (e) { var t = /\\[\r\n](?:\s|\\[\r\n]|#.*(?!.))*(?![\s#]|\\[\r\n])/.source, n = /(?:[ \t]+(?![ \t])(?:)?|)/.source.replace( @@ -42792,7 +42746,7 @@ function US(e) { (e.languages.dockerfile = e.languages.docker)); })(e); } -function GS(e) { +function jS(e) { !(function (e) { var t = "(?:" + @@ -42859,7 +42813,7 @@ function GS(e) { (e.languages.gv = e.languages.dot)); })(e); } -function VS(e) { +function BS(e) { e.languages.ebnf = { comment: /\(\*[\s\S]*?\*\)/, string: { pattern: /"[^"\r\n]*"|'[^'\r\n]*'/, greedy: !0 }, @@ -42874,7 +42828,7 @@ function VS(e) { operator: /[-=|*/!]/, }; } -function ZS(e) { +function FS(e) { e.languages.editorconfig = { comment: /[;#].*/, section: { @@ -42899,7 +42853,7 @@ function ZS(e) { }, }; } -function $S(e) { +function HS(e) { e.languages.eiffel = { comment: /--.*/, string: [ @@ -42920,9 +42874,9 @@ function $S(e) { operator: /\\\\|\|\.\.\||\.\.|\/[~\/=]?|[><]=?|[-+*^=~]/, }; } -function WS(e) { - (e.register(D_), - e.register(Z_), +function zS(e) { + (e.register(I_), + e.register(F_), (function (e) { ((e.languages.ejs = { delimiter: { pattern: /^<%[-_=]?|[-_]?%>$/, alias: "punctuation" }, @@ -42945,7 +42899,7 @@ function WS(e) { (e.languages.eta = e.languages.ejs)); })(e)); } -function qS(e) { +function US(e) { ((e.languages.elixir = { doc: { pattern: @@ -43001,7 +42955,7 @@ function qS(e) { }; })); } -function YS(e) { +function GS(e) { e.languages.elm = { comment: /--.*|\{-[\s\S]*?-\}/, char: { @@ -43030,9 +42984,9 @@ function YS(e) { punctuation: /[{}[\]|(),.:]/, }; } -function KS(e) { - (e.register(F_), - e.register(Z_), +function VS(e) { + (e.register(L_), + e.register(F_), (function (e) { ((e.languages.etlua = { delimiter: { pattern: /^<%[-=]?|-?%>$/, alias: "punctuation" }, @@ -43050,9 +43004,9 @@ function KS(e) { })); })(e)); } -function XS(e) { - (e.register(Z_), - e.register(Y_), +function ZS(e) { + (e.register(F_), + e.register(G_), (function (e) { ((e.languages.erb = { delimiter: { @@ -43078,7 +43032,7 @@ function XS(e) { })); })(e)); } -function QS(e) { +function $S(e) { e.languages.erlang = { comment: /%.+/, string: { pattern: /"(?:\\.|[^\\"\r\n])*"/, greedy: !0 }, @@ -43105,7 +43059,7 @@ function QS(e) { punctuation: /[()[\]{}:;,.#|]|<<|>>/, }; } -function JS(e) { +function WS(e) { ((e.languages["excel-formula"] = { comment: { pattern: /(\bN\(\s*)"(?:[^"]|"")*"(?=\s*\))/i, @@ -43149,8 +43103,8 @@ function JS(e) { }), (e.languages.xlsx = e.languages.xls = e.languages["excel-formula"])); } -function ew(e) { - (e.register(__), +function qS(e) { + (e.register(f_), (e.languages.fsharp = e.languages.extend("clike", { comment: [ { @@ -43224,7 +43178,7 @@ function ew(e) { }, })); } -function tw(e) { +function YS(e) { !(function (e) { var t = { function: @@ -43980,7 +43934,7 @@ function tw(e) { (e.languages.factor = a)); })(e); } -function nw(e) { +function KS(e) { !(function (e) { e.languages.false = { comment: { pattern: /\{[^}]*\}/ }, @@ -43995,8 +43949,8 @@ function nw(e) { }; })(e); } -function aw(e) { - (e.register(__), +function XS(e) { + (e.register(f_), (e.languages["firestore-security-rules"] = e.languages.extend("clike", { comment: /\/\/.*/, keyword: @@ -44026,8 +43980,8 @@ function aw(e) { }, })); } -function rw(e) { - (e.register(D_), +function QS(e) { + (e.register(I_), (function (e) { ((e.languages.flow = e.languages.extend("javascript", {})), e.languages.insertBefore("flow", "keyword", { @@ -44060,7 +44014,7 @@ function rw(e) { )); })(e)); } -function iw(e) { +function JS(e) { e.languages.fortran = { "quoted-number": { pattern: /[BOZ](['"])[A-F0-9]+\1/i, alias: "number" }, string: { @@ -44084,8 +44038,8 @@ function iw(e) { punctuation: /\(\/|\/\)|[(),;:&]/, }; } -function ow(e) { - (e.register(Z_), +function ew(e) { + (e.register(F_), (function (e) { for ( var t = @@ -44188,8 +44142,8 @@ function ow(e) { })); })(e)); } -function sw(e) { - (e.register(__), +function tw(e) { + (e.register(f_), (e.languages.gamemakerlanguage = e.languages.gml = e.languages.extend("clike", { keyword: @@ -44204,7 +44158,7 @@ function sw(e) { /\b(?:alarm|application_surface|async_load|background_(?:alpha|blend|color|colour|foreground|height|hspeed|htiled|index|showcolor|showcolour|visible|vspeed|vtiled|width|x|xscale|y|yscale)|bbox_(?:bottom|left|right|top)|browser_(?:height|width)|caption_(?:health|lives|score)|current_(?:day|hour|minute|month|second|time|weekday|year)|cursor_sprite|debug_mode|delta_time|direction|display_aa|error_(?:last|occurred)|event_(?:action|number|object|type)|fps|fps_real|friction|game_(?:display|project|save)_(?:id|name)|gamemaker_(?:pro|registered|version)|gravity|gravity_direction|(?:h|v)speed|health|iap_data|id|image_(?:alpha|angle|blend|depth|index|number|speed|xscale|yscale)|instance_(?:count|id)|keyboard_(?:key|lastchar|lastkey|string)|layer|lives|mask_index|mouse_(?:button|lastbutton|x|y)|object_index|os_(?:browser|device|type|version)|path_(?:endaction|index|orientation|position|positionprevious|scale|speed)|persistent|phy_(?:rotation|(?:col_normal|collision|com|linear_velocity|position|speed)_(?:x|y)|angular_(?:damping|velocity)|position_(?:x|y)previous|speed|linear_damping|bullet|fixed_rotation|active|mass|inertia|dynamic|kinematic|sleeping|collision_points)|pointer_(?:invalid|null)|room|room_(?:caption|first|height|last|persistent|speed|width)|score|secure_mode|show_(?:health|lives|score)|solid|speed|sprite_(?:height|index|width|xoffset|yoffset)|temp_directory|timeline_(?:index|loop|position|running|speed)|transition_(?:color|kind|steps)|undefined|view_(?:angle|current|enabled|(?:h|v)(?:border|speed)|(?:h|w|x|y)port|(?:h|w|x|y)view|object|surface_id|visible)|visible|webgl_enabled|working_directory|(?:x|y)(?:previous|start)|x|y|argument(?:_relitive|_count|\d)|argument|global|local|other|self)\b/, }))); } -function lw(e) { +function nw(e) { ((e.languages.gap = { shell: { pattern: /^gap>[\s\S]*?(?=^gap>|$(?![\s\S]))/m, @@ -44251,7 +44205,7 @@ function lw(e) { }), (e.languages.gap.shell.inside.gap.inside = e.languages.gap)); } -function cw(e) { +function aw(e) { e.languages.gcode = { comment: /;.*|\B\(.*?\)\B/, string: { pattern: /"(?:""|[^"])*"/, greedy: !0 }, @@ -44261,7 +44215,7 @@ function cw(e) { punctuation: /[:*]/, }; } -function dw(e) { +function rw(e) { e.languages.gdscript = { comment: /#.*/, string: { @@ -44288,7 +44242,7 @@ function dw(e) { punctuation: /[.:,;()[\]{}]/, }; } -function uw(e) { +function iw(e) { e.languages.gedcom = { "line-value": { pattern: @@ -44314,7 +44268,7 @@ function uw(e) { }, }; } -function pw(e) { +function ow(e) { ((e.languages.gettext = { comment: [ { pattern: /# .*/, greedy: !0, alias: "translator-comment" }, @@ -44339,7 +44293,7 @@ function pw(e) { }), (e.languages.po = e.languages.gettext)); } -function hw(e) { +function sw(e) { !(function (e) { var t = /(?:\r?\n|\r)[ \t]*\|.+\|(?:(?!\|).)*/.source; e.languages.gherkin = { @@ -44393,7 +44347,7 @@ function hw(e) { }; })(e); } -function mw(e) { +function lw(e) { e.languages.git = { comment: /^#.*/m, deleted: /^[-–].*/m, @@ -44404,14 +44358,14 @@ function mw(e) { "commit-sha1": /^commit \w{40}$/m, }; } -function gw(e) { - (e.register(y_), +function cw(e) { + (e.register(b_), (e.languages.glsl = e.languages.extend("c", { keyword: /\b(?:active|asm|atomic_uint|attribute|[ibdu]?vec[234]|bool|break|buffer|case|cast|centroid|class|coherent|common|const|continue|d?mat[234](?:x[234])?|default|discard|do|double|else|enum|extern|external|false|filter|fixed|flat|float|for|fvec[234]|goto|half|highp|hvec[234]|[iu]?sampler2DMS(?:Array)?|[iu]?sampler2DRect|[iu]?samplerBuffer|[iu]?samplerCube|[iu]?samplerCubeArray|[iu]?sampler[123]D|[iu]?sampler[12]DArray|[iu]?image2DMS(?:Array)?|[iu]?image2DRect|[iu]?imageBuffer|[iu]?imageCube|[iu]?imageCubeArray|[iu]?image[123]D|[iu]?image[12]DArray|if|in|inline|inout|input|int|interface|invariant|layout|long|lowp|mediump|namespace|noinline|noperspective|out|output|partition|patch|precise|precision|public|readonly|resource|restrict|return|sample|sampler[12]DArrayShadow|sampler[12]DShadow|sampler2DRectShadow|sampler3DRect|samplerCubeArrayShadow|samplerCubeShadow|shared|short|sizeof|smooth|static|struct|subroutine|superp|switch|template|this|true|typedef|uint|uniform|union|unsigned|using|varying|void|volatile|while|writeonly)\b/, }))); } -function fw(e) { +function dw(e) { ((e.languages.gn = { comment: { pattern: /#.*/, greedy: !0 }, "string-literal": { @@ -44455,7 +44409,7 @@ function fw(e) { ].inside.interpolation.inside.expression.inside = e.languages.gn), (e.languages.gni = e.languages.gn)); } -function bw(e) { +function uw(e) { ((e.languages["linker-script"] = { comment: { pattern: /(^|\s)\/\*[\s\S]*?(?:$|\*\/)/, @@ -44472,7 +44426,7 @@ function bw(e) { }), (e.languages.ld = e.languages["linker-script"])); } -function Ew(e) { +function pw(e) { e.languages["go-mod"] = e.languages["go-module"] = { comment: { pattern: /\/\/.*/, greedy: !0 }, version: { @@ -44493,8 +44447,8 @@ function Ew(e) { punctuation: /[()[\],]/, }; } -function vw(e) { - (e.register(__), +function hw(e) { + (e.register(f_), (function (e) { var t = { pattern: /((?:^|[^\\$])(?:\\{2})*)\$(?:\w+|\{[^{}]*\})/, @@ -44546,7 +44500,7 @@ function vw(e) { (t.inside.expression.inside = e.languages.gradle)); })(e)); } -function xw(e) { +function mw(e) { ((e.languages.graphql = { comment: /#.*/, description: { @@ -44680,8 +44634,8 @@ function xw(e) { } })); } -function Tw(e) { - (e.register(__), +function gw(e) { + (e.register(f_), (function (e) { var t = { pattern: /((?:^|[^\\$])(?:\\{2})*)\$(?:\w+|\{[^{}]*\})/, @@ -44733,8 +44687,8 @@ function Tw(e) { (t.inside.expression.inside = e.languages.groovy)); })(e)); } -function _w(e) { - (e.register(N_), +function fw(e) { + (e.register(__), (function (e) { var t = /\([^|()\n]+\)|\[[^\]\n]+\]|\{[^}\n]+\}/.source, n = /\)|\((?![^|()\n]+\))/.source; @@ -44950,8 +44904,8 @@ function _w(e) { (c.mark = s.mark)); })(e)); } -function yw(e) { - (e.register(Y_), +function bw(e) { + (e.register(G_), (function (e) { e.languages.haml = { "multiline-comment": { @@ -45077,8 +45031,8 @@ function yw(e) { e.languages.insertBefore("haml", "filter", n); })(e)); } -function Sw(e) { - (e.register(Z_), +function Ew(e) { + (e.register(F_), (function (e) { ((e.languages.handlebars = { comment: /\{\{![\s\S]*?\}\}/, @@ -45116,7 +45070,7 @@ function Sw(e) { (e.languages.mustache = e.languages.handlebars)); })(e)); } -function ww(e) { +function vw(e) { ((e.languages.haskell = { comment: { pattern: @@ -45160,8 +45114,8 @@ function ww(e) { }), (e.languages.hs = e.languages.haskell)); } -function Aw(e) { - (e.register(__), +function xw(e) { + (e.register(f_), (e.languages.haxe = e.languages.extend("clike", { string: { pattern: /"(?:[^"\\]|\\[\s\S])*"/, greedy: !0 }, "class-name": [ @@ -45226,7 +45180,7 @@ function Aw(e) { reification: { pattern: /\$(?:\w+|(?=\{))/, alias: "important" }, })); } -function Cw(e) { +function Tw(e) { e.languages.hcl = { comment: /(?:\/\/|#).*|\/\*[\s\S]*?(?:\*\/|$)/, heredoc: { @@ -45290,8 +45244,8 @@ function Cw(e) { punctuation: /[=\[\]{}]/, }; } -function Nw(e) { - (e.register(y_), +function _w(e) { + (e.register(b_), (e.languages.hlsl = e.languages.extend("c", { "class-name": [ e.languages.c["class-name"], @@ -45306,7 +45260,7 @@ function Nw(e) { boolean: /\b(?:false|true)\b/, }))); } -function Iw(e) { +function yw(e) { e.languages.hoon = { comment: { pattern: /::.*/, greedy: !0 }, string: { pattern: /"(?:[^"\\]|\\.)*"|'(?:[^'\\]|\\.)*'/, greedy: !0 }, @@ -45317,7 +45271,7 @@ function Iw(e) { /\.[\^\+\*=\?]|![><:\.=\?!]|=[>|:,\.\-\^<+;/~\*\?]|\?[>|:\.\-\^<\+&~=@!]|\|[\$_%:\.\-\^~\*=@\?]|\+[|\$\+\*]|:[_\-\^\+~\*]|%[_:\.\-\^\+~\*=]|\^[|:\.\-\+&~\*=\?]|\$[|_%:<>\-\^&~@=\?]|;[:<\+;\/~\*=]|~[>|\$_%<\+\/&=\?!]|--|==/, }; } -function Rw(e) { +function Sw(e) { e.languages.hpkp = { directive: { pattern: @@ -45328,7 +45282,7 @@ function Rw(e) { punctuation: /;/, }; } -function kw(e) { +function ww(e) { e.languages.hsts = { directive: { pattern: /\b(?:includeSubDomains|max-age|preload)(?=[\s;=]|$)/i, @@ -45338,7 +45292,7 @@ function kw(e) { punctuation: /;/, }; } -function Ow(e) { +function Aw(e) { ((e.languages.uri = { scheme: { pattern: /^[a-z][a-z0-9+.-]*:/im, @@ -45413,7 +45367,7 @@ function Ow(e) { }), (e.languages.url = e.languages.uri)); } -function Lw(e) { +function Cw(e) { !(function (e) { function t(e) { return RegExp("(^(?:" + e + "):[ \t]*(?![ \t]))[^]+", "i"); @@ -45521,7 +45475,7 @@ function Lw(e) { n && e.languages.insertBefore("http", "header", n); })(e); } -function Mw(e) { +function Nw(e) { e.languages.ichigojam = { comment: /(?:\B'|REM)(?:[^\n\r]*)/i, string: { pattern: /"(?:""|[!#$%&'()*,\/:;<=>?^\w +\-.])*"/, greedy: !0 }, @@ -45535,7 +45489,7 @@ function Mw(e) { punctuation: /[\[,;:()\]]/, }; } -function Dw(e) { +function Iw(e) { e.languages.icon = { comment: /#.*/, string: { @@ -45557,7 +45511,7 @@ function Dw(e) { punctuation: /[\[\](){},;]/, }; } -function Pw(e) { +function Rw(e) { !(function (e) { function t(e, n) { return n <= 0 @@ -45674,8 +45628,8 @@ function Pw(e) { ].inside.rest = e.languages["icu-message-format"])); })(e); } -function jw(e) { - (e.register(ww), +function kw(e) { + (e.register(vw), (e.languages.idris = e.languages.extend("haskell", { comment: { pattern: /(?:(?:--|\|\|\|).*$|\{-[\s\S]*?-\})/m }, keyword: @@ -45691,7 +45645,7 @@ function jw(e) { }), (e.languages.idr = e.languages.idris)); } -function Bw(e) { +function Ow(e) { !(function (e) { ((e.languages.ignore = { comment: /^#.*/m, @@ -45710,7 +45664,7 @@ function Bw(e) { (e.languages.npmignore = e.languages.ignore)); })(e); } -function Fw(e) { +function Lw(e) { ((e.languages.inform7 = { string: { pattern: /"[^"]*"/, @@ -45769,7 +45723,7 @@ function Fw(e) { alias: "comment", })); } -function Hw(e) { +function Mw(e) { e.languages.io = { comment: { pattern: /(^|[^\\])(?:\/\*[\s\S]*?(?:\*\/|$)|\/\/.*|#.*)/, @@ -45793,7 +45747,7 @@ function Hw(e) { punctuation: /[{}[\];(),.:]/, }; } -function zw(e) { +function Dw(e) { e.languages.j = { comment: { pattern: /\bNB\..*/, greedy: !0 }, string: { pattern: /'(?:''|[^'\r\n])*'/, greedy: !0 }, @@ -45815,7 +45769,7 @@ function zw(e) { punctuation: /[()]/, }; } -function Uw(e) { +function Pw(e) { !(function (e) { var t = (e.languages.javadoclike = { parameter: { @@ -45865,8 +45819,8 @@ function Uw(e) { t.addSupport(["java", "javascript", "php"], t)); })(e); } -function Gw(e) { - (e.register(L_), +function jw(e) { + (e.register(C_), (e.languages.scala = e.languages.extend("java", { "triple-quoted-string": { pattern: /"""[\s\S]*?"""/, @@ -45906,10 +45860,10 @@ function Gw(e) { delete e.languages.scala.function, delete e.languages.scala.constant); } -function Vw(e) { - (e.register(L_), - e.register(Uw), - e.register(N_), +function Bw(e) { + (e.register(C_), + e.register(Pw), + e.register(__), (function (e) { var t = /(^(?:[\t ]*(?:\*\s*)*))[^*\s].*$/m, n = /#\s*\w+(?:\s*\([^()]*\))?/.source, @@ -45989,7 +45943,7 @@ function Vw(e) { e.languages.javadoclike.addSupport("java", e.languages.javadoc)); })(e)); } -function Zw(e) { +function Fw(e) { e.languages.javastacktrace = { summary: { pattern: @@ -46070,7 +46024,7 @@ function Zw(e) { }, }; } -function $w(e) { +function Hw(e) { e.languages.jexl = { string: /(["'])(?:\\[\s\S]|(?!\1)[^\\])*\1/, transform: { @@ -46088,8 +46042,8 @@ function $w(e) { punctuation: /[{}[\](),.]/, }; } -function Ww(e) { - (e.register(__), +function zw(e) { + (e.register(f_), (e.languages.jolie = e.languages.extend("clike", { string: { pattern: /(^|[^\\])"(?:\\[\s\S]|[^"\\])*"/, @@ -46129,7 +46083,7 @@ function Ww(e) { }, })); } -function qw(e) { +function Uw(e) { !(function (e) { var t = /\\\((?:[^()]|\([^()]*\))*\)/.source, n = RegExp( @@ -46187,8 +46141,8 @@ function qw(e) { a.interpolation.inside.content.inside = r; })(e); } -function Yw(e) { - (e.register(D_), +function Gw(e) { + (e.register(I_), (function (e) { var t = e.languages.javascript["template-string"], n = t.pattern.source, @@ -46294,14 +46248,7 @@ function Yw(e) { o("sql", /\bsql/.source), t, ].filter(Boolean); - var u = { - javascript: !0, - js: !0, - typescript: !0, - ts: !0, - jsx: !0, - tsx: !0, - }; + var u = {}; function p(e) { return "string" == typeof e ? e @@ -46339,10 +46286,10 @@ function Yw(e) { }); })(e)); } -function Kw(e) { - (e.register(Uw), - e.register(D_), - e.register(ty), +function Vw(e) { + (e.register(Pw), + e.register(I_), + e.register(Y_), (function (e) { var t = e.languages.javascript, n = /\{(?:[^{}]|\{(?:[^{}]|\{[^{}]*\})*\})+\}/.source, @@ -46419,8 +46366,8 @@ function Kw(e) { e.languages.javadoclike.addSupport("javascript", e.languages.jsdoc)); })(e)); } -function Xw(e) { - (e.register(D_), +function Zw(e) { + (e.register(I_), (e.languages.n4js = e.languages.extend("javascript", { keyword: /\b(?:Array|any|boolean|break|case|catch|class|const|constructor|continue|debugger|declare|default|delete|do|else|enum|export|extends|false|finally|for|from|function|get|if|implements|import|in|instanceof|interface|let|module|new|null|number|package|private|protected|public|return|set|static|string|super|switch|this|throw|true|try|typeof|var|void|while|with|yield)\b/, @@ -46430,8 +46377,8 @@ function Xw(e) { }), (e.languages.n4jsd = e.languages.n4js)); } -function Qw(e) { - (e.register(D_), +function $w(e) { + (e.register(I_), (function (e) { function t(e, t) { return RegExp( @@ -46540,8 +46487,8 @@ function Qw(e) { } })(e)); } -function Jw(e) { - (e.register(P_), +function Ww(e) { + (e.register(R_), (function (e) { var t = /("|')(?:\\(?:\r\n?|\n|.)|(?!\1)[^\\\r\n])*\1/; e.languages.json5 = e.languages.extend("json", { @@ -46559,8 +46506,8 @@ function Jw(e) { }); })(e)); } -function eA(e) { - (e.register(P_), +function qw(e) { + (e.register(R_), (e.languages.jsonp = e.languages.extend("json", { punctuation: /[{}[\]();,.]/, })), @@ -46569,7 +46516,7 @@ function eA(e) { /(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*\()/, })); } -function tA(e) { +function Yw(e) { e.languages.jsstacktrace = { "error-message": { pattern: /^\S.*/m, alias: "string" }, "stack-frame": { @@ -46607,7 +46554,7 @@ function tA(e) { }, }; } -function nA(e) { +function Kw(e) { e.languages.julia = { comment: { pattern: @@ -46636,7 +46583,7 @@ function nA(e) { constant: /\b(?:(?:Inf|NaN)(?:16|32|64)?|im|pi)\b|[πℯ]/, }; } -function aA(e) { +function Xw(e) { e.languages.keepalived = { comment: { pattern: /[#!].*/, greedy: !0 }, string: { @@ -46677,7 +46624,7 @@ function aA(e) { punctuation: /[\{\}]/, }; } -function rA(e) { +function Qw(e) { e.languages.keyman = { comment: { pattern: /\bc .*/i, greedy: !0 }, string: { pattern: /"[^"\r\n]*"|'[^'\r\n]*'/, greedy: !0 }, @@ -46712,7 +46659,7 @@ function rA(e) { punctuation: /[()=,]/, }; } -function iA(e) { +function Jw(e) { !(function (e) { var t = /\s\x00-\x1f\x22-\x2f\x3a-\x3f\x5b-\x5e\x60\x7b-\x7e/.source; function n(e, n) { @@ -46784,7 +46731,7 @@ function iA(e) { (e.languages.kum = e.languages.kumir)); })(e); } -function oA(e) { +function eA(e) { e.languages.kusto = { comment: { pattern: /\/\/.*/, greedy: !0 }, string: { @@ -46818,7 +46765,7 @@ function oA(e) { punctuation: /[()\[\]{},;.:]/, }; } -function sA(e) { +function tA(e) { !(function (e) { var t = /\\(?:[^a-z()[\]]|[a-z*]+)/i, n = { "equation-command": { pattern: t, alias: "regex" } }; @@ -46863,10 +46810,10 @@ function sA(e) { (e.languages.context = e.languages.latex)); })(e); } -function lA(e) { - (e.register(__), - e.register(Z_), - e.register($_), +function nA(e) { + (e.register(f_), + e.register(F_), + e.register(H_), (function (e) { e.languages.latte = { comment: /^\{\*[\s\S]*/, @@ -46921,7 +46868,7 @@ function lA(e) { })); })(e)); } -function cA(e) { +function aA(e) { !(function (e) { e.languages.scheme = { comment: @@ -47008,8 +46955,8 @@ function cA(e) { }; })(e); } -function dA(e) { - (e.register(cA), +function rA(e) { + (e.register(aA), (function (e) { for ( var t = @@ -47078,8 +47025,8 @@ function dA(e) { (e.languages.ly = a)); })(e)); } -function uA(e) { - (e.register(Z_), +function iA(e) { + (e.register(F_), (e.languages.liquid = { comment: { pattern: /(^\{%\s*comment\s*%\})[\s\S]+(?=\{%\s*endcomment\s*%\}$)/, @@ -47126,7 +47073,7 @@ function uA(e) { e.languages["markup-templating"].tokenizePlaceholders(t, "liquid"); })); } -function pA(e) { +function oA(e) { !(function (e) { function t(e) { return RegExp(/(\()/.source + "(?:" + e + ")" + /(?=[\s\)])/.source); @@ -47265,7 +47212,7 @@ function pA(e) { (e.languages["emacs-lisp"] = l)); })(e); } -function hA(e) { +function sA(e) { ((e.languages.livescript = { comment: [ { pattern: /(^|[^\\])\/\*[\s\S]*?\*\//, lookbehind: !0 }, @@ -47341,7 +47288,7 @@ function hA(e) { "interpolated-string" ].inside.interpolation.inside.rest = e.languages.livescript)); } -function mA(e) { +function lA(e) { !(function (e) { e.languages.llvm = { comment: /;.*/, @@ -47361,7 +47308,7 @@ function mA(e) { }; })(e); } -function gA(e) { +function cA(e) { e.languages.log = { string: { pattern: /"(?:[^"\\\r\n]|\\.)*"|'(?![st] | \w)(?:[^'\\\r\n]|\\.)*'/, @@ -47467,7 +47414,7 @@ function gA(e) { punctuation: /[\[\].,]/, }; } -function fA(e) { +function dA(e) { e.languages.lolcode = { comment: [/\bOBTW\s[\s\S]*?\sTLDR\b/, /\bBTW.+/], string: { @@ -47511,7 +47458,7 @@ function fA(e) { punctuation: /\.{3}|…|,|!/, }; } -function bA(e) { +function uA(e) { e.languages.magma = { output: { pattern: @@ -47539,7 +47486,7 @@ function bA(e) { punctuation: /[()[\]{}<>,;.:]/, }; } -function EA(e) { +function pA(e) { !(function (e) { var t = /\b(?:(?:col|row)?vector|matrix|scalar)\b/.source, n = @@ -47585,7 +47532,7 @@ function EA(e) { }; })(e); } -function vA(e) { +function hA(e) { e.languages.matlab = { comment: [/%\{[\s\S]*?\}%/, /%.+/], string: { pattern: /\B'(?:''|[^'\r\n])*'/, greedy: !0 }, @@ -47597,7 +47544,7 @@ function vA(e) { punctuation: /\.{3}|[.,;\[\](){}!]/, }; } -function xA(e) { +function mA(e) { !(function (e) { var t = /\b(?:about|and|animate|as|at|attributes|by|case|catch|collect|continue|coordsys|do|else|exit|fn|for|from|function|global|if|in|local|macroscript|mapped|max|not|of|off|on|or|parameters|persistent|plugin|rcmenu|return|rollout|set|struct|then|throw|to|tool|try|undo|utility|when|where|while|with)\b/i; @@ -47673,7 +47620,7 @@ function xA(e) { }; })(e); } -function TA(e) { +function gA(e) { ((e.languages.mel = { comment: { pattern: /\/\/.*|\/\*[\s\S]*?\*\//, greedy: !0 }, code: { @@ -47703,7 +47650,7 @@ function TA(e) { }), (e.languages.mel.code.inside.statement.inside = e.languages.mel)); } -function _A(e) { +function fA(e) { e.languages.mermaid = { comment: { pattern: /%%.*/, greedy: !0 }, style: { @@ -47791,7 +47738,7 @@ function _A(e) { punctuation: /[(){};]/, }; } -function yA(e) { +function bA(e) { e.languages.metafont = { comment: { pattern: /%.*/, greedy: !0 }, string: { pattern: /"[^\r\n"]*"/, greedy: !0 }, @@ -47851,7 +47798,7 @@ function yA(e) { }, }; } -function SA(e) { +function EA(e) { e.languages.mizar = { comment: /::.+/, keyword: @@ -47863,8 +47810,8 @@ function SA(e) { punctuation: /\(#|#\)|[,:;\[\](){}]/, }; } -function wA(e) { - (e.register(D_), +function vA(e) { + (e.register(I_), (function (e) { var t = [ "$eq", @@ -48157,7 +48104,7 @@ function wA(e) { })); })(e)); } -function AA(e) { +function xA(e) { e.languages.monkey = { comment: { pattern: /^#Rem\s[\s\S]*?^#End|'.+/im, greedy: !0 }, string: { pattern: /"[^"\r\n]*"/, greedy: !0 }, @@ -48181,7 +48128,7 @@ function AA(e) { punctuation: /[.,:;()\[\]]/, }; } -function CA(e) { +function TA(e) { ((e.languages.moonscript = { comment: /--.*/, string: [ @@ -48231,7 +48178,7 @@ function CA(e) { e.languages.moonscript), (e.languages.moon = e.languages.moonscript)); } -function NA(e) { +function _A(e) { e.languages.n1ql = { comment: { pattern: /\/\*[\s\S]*?(?:$|\*\/)|--.*/, greedy: !0 }, string: { pattern: /(["'])(?:\\[\s\S]|(?!\1)[^\\]|\1\1)*\1/, greedy: !0 }, @@ -48247,7 +48194,7 @@ function NA(e) { punctuation: /[;[\](),.{}:]/, }; } -function IA(e) { +function yA(e) { e.languages["nand2tetris-hdl"] = { comment: /\/\/.*|\/\*[\s\S]*?(?:\*\/|$)/, keyword: /\b(?:BUILTIN|CHIP|CLOCKED|IN|OUT|PARTS)\b/, @@ -48258,7 +48205,7 @@ function IA(e) { punctuation: /[{}[\];(),:]/, }; } -function RA(e) { +function SA(e) { !(function (e) { var t = /\{[^\r\n\[\]{}]*\}/, n = { @@ -48363,7 +48310,7 @@ function RA(e) { })); })(e); } -function kA(e) { +function wA(e) { e.languages.nasm = { comment: /;.*$/m, string: /(["'`])(?:\\.|(?!\1)[^\\\r\n])*\1/, @@ -48388,7 +48335,7 @@ function kA(e) { operator: /[\[\]*+\-\/%<>=&|$!]/, }; } -function OA(e) { +function AA(e) { e.languages.neon = { comment: { pattern: /#.*/, greedy: !0 }, datetime: { @@ -48431,7 +48378,7 @@ function OA(e) { punctuation: /[,:=[\]{}()-]/, }; } -function LA(e) { +function CA(e) { e.languages.nevod = { comment: /\/\/.*|(?:\/\*[\s\S]*?(?:\*\/|$))/, string: { @@ -48521,7 +48468,7 @@ function LA(e) { name: /[a-zA-Z0-9\-.]+/, }; } -function MA(e) { +function NA(e) { !(function (e) { var t = /\$(?:\w[a-z\d]*(?:_[^\x00-\x1F\s"'\\()$]*)?|\{[^}\s"'\\]+\})/i; e.languages.nginx = { @@ -48553,7 +48500,7 @@ function MA(e) { }; })(e); } -function DA(e) { +function IA(e) { e.languages.nim = { comment: { pattern: /#.*/, greedy: !0 }, string: { @@ -48585,7 +48532,7 @@ function DA(e) { punctuation: /[({\[]\.|\.[)}\]]|[`(){}\[\],:]/, }; } -function PA(e) { +function RA(e) { ((e.languages.nix = { comment: { pattern: /\/\*[\s\S]*?\*\/|#.*/, greedy: !0 }, string: { @@ -48618,7 +48565,7 @@ function PA(e) { }), (e.languages.nix.string.inside.interpolation.inside = e.languages.nix)); } -function jA(e) { +function kA(e) { e.languages.nsis = { comment: { pattern: /(^|[^\\])(?:\/\*[\s\S]*?\*\/|[#;].*)/, @@ -48645,7 +48592,7 @@ function jA(e) { }, }; } -function BA(e) { +function OA(e) { e.languages.ocaml = { comment: { pattern: /\(\*[\s\S]*?\*\)/, greedy: !0 }, char: { @@ -48677,7 +48624,7 @@ function BA(e) { punctuation: /;;|::|[(){}\[\].,:;#]|\b_\b/, }; } -function FA(e) { +function LA(e) { !(function (e) { var t = /\\(?:["'\\abefnrtv]|0[0-7]{2}|U[\dA-Fa-f]{6}|u[\dA-Fa-f]{4}|x[\dA-Fa-f]{2})/; @@ -48720,8 +48667,8 @@ function FA(e) { }; })(e); } -function HA(e) { - (e.register(y_), +function MA(e) { + (e.register(b_), (function (e) { ((e.languages.opencl = e.languages.extend("c", { keyword: @@ -48773,7 +48720,7 @@ function HA(e) { e.languages.insertBefore("cpp", "keyword", t))); })(e)); } -function zA(e) { +function DA(e) { ((e.languages.openqasm = { comment: /\/\*[\s\S]*?\*\/|\/\/.*/, string: { pattern: /"[^"\r\n\t]*"|'[^'\r\n\t]*'/, greedy: !0 }, @@ -48793,7 +48740,7 @@ function zA(e) { }), (e.languages.qasm = e.languages.openqasm)); } -function UA(e) { +function PA(e) { e.languages.oz = { comment: { pattern: /\/\*[\s\S]*?\*\/|%.*/, greedy: !0 }, string: { pattern: /"(?:[^"\\]|\\[\s\S])*"/, greedy: !0 }, @@ -48813,7 +48760,7 @@ function UA(e) { punctuation: /[\[\](){}.:;?]/, }; } -function GA(e) { +function jA(e) { var t; e.languages.parigp = { comment: /\/\*[\s\S]*?\*\/|\\\\.*/, @@ -48861,8 +48808,8 @@ function GA(e) { punctuation: /[\[\]{}().,:;|]/, }; } -function VA(e) { - (e.register(N_), +function BA(e) { + (e.register(__), (function (e) { var t = (e.languages.parser = e.languages.extend("markup", { keyword: { @@ -48934,7 +48881,7 @@ function VA(e) { )); })(e)); } -function ZA(e) { +function FA(e) { ((e.languages.pascal = { directive: { pattern: /\{\$[\s\S]*?\}/, @@ -48991,7 +48938,7 @@ function ZA(e) { })), (e.languages.objectpascal = e.languages.pascal)); } -function $A(e) { +function HA(e) { !(function (e) { var t = /\((?:[^()]|\((?:[^()]|\([^()]*\))*\))*\)/.source, n = /(?:\b\w+(?:)?|)/.source.replace( @@ -49069,7 +49016,7 @@ function $A(e) { }); })(e); } -function WA(e) { +function zA(e) { e.languages.psl = { comment: { pattern: /#.*/, greedy: !0 }, string: { @@ -49105,7 +49052,7 @@ function WA(e) { punctuation: /[(){}\[\];,]/, }; } -function qA(e) { +function UA(e) { ((e.languages.pcaxis = { string: /"[^"]*"/, keyword: { @@ -49149,7 +49096,7 @@ function qA(e) { }), (e.languages.px = e.languages.pcaxis)); } -function YA(e) { +function GA(e) { ((e.languages.peoplecode = { comment: RegExp( [ @@ -49186,9 +49133,9 @@ function YA(e) { }), (e.languages.pcode = e.languages.peoplecode)); } -function KA(e) { - (e.register(Uw), - e.register($_), +function VA(e) { + (e.register(Pw), + e.register(H_), (function (e) { var t = /(?:\b[a-zA-Z]\w*|[|\\[\]])+/.source; ((e.languages.phpdoc = e.languages.extend("javadoclike", { @@ -49220,8 +49167,8 @@ function KA(e) { e.languages.javadoclike.addSupport("php", e.languages.phpdoc)); })(e)); } -function XA(e) { - (e.register($_), +function ZA(e) { + (e.register(H_), e.languages.insertBefore("php", "variable", { this: { pattern: /\$this\b/, alias: "keyword" }, global: @@ -49232,7 +49179,7 @@ function XA(e) { }, })); } -function QA(e) { +function $A(e) { !(function (e) { var t = /\$\w+|%[a-z]+%/, n = /\[[^[\]]*\]/.source, @@ -49331,8 +49278,8 @@ function QA(e) { (e.languages.plantuml = e.languages["plant-uml"])); })(e); } -function JA(e) { - (e.register(J_), +function WA(e) { + (e.register(W_), (e.languages.plsql = e.languages.extend("sql", { comment: { pattern: /\/\*[\s\S]*?\*\/|--.*/, greedy: !0 }, keyword: @@ -49343,7 +49290,7 @@ function JA(e) { label: { pattern: /<<\s*\w+\s*>>/, alias: "symbol" }, })); } -function eC(e) { +function qA(e) { ((e.languages.powerquery = { comment: { pattern: /(^|[^\\])(?:\/\*[\s\S]*?\*\/|\/\/.*)/, @@ -49391,7 +49338,7 @@ function eC(e) { (e.languages.pq = e.languages.powerquery), (e.languages.mscript = e.languages.powerquery)); } -function tC(e) { +function YA(e) { !(function (e) { var t = (e.languages.powershell = { comment: [ @@ -49429,8 +49376,8 @@ function tC(e) { }; })(e); } -function nC(e) { - (e.register(__), +function KA(e) { + (e.register(f_), (e.languages.processing = e.languages.extend("clike", { keyword: /\b(?:break|case|catch|class|continue|default|else|extends|final|for|if|implements|import|new|null|private|public|return|static|super|switch|this|try|void|while)\b/, @@ -49445,7 +49392,7 @@ function nC(e) { }, })); } -function aC(e) { +function XA(e) { e.languages.prolog = { comment: { pattern: /\/\*[\s\S]*?\*\/|%.*/, greedy: !0 }, string: { @@ -49459,7 +49406,7 @@ function aC(e) { punctuation: /[(){}\[\],]/, }; } -function rC(e) { +function QA(e) { !(function (e) { var t = ["on", "ignoring", "group_right", "group_left", "by", "without"], n = [ @@ -49532,7 +49479,7 @@ function rC(e) { }; })(e); } -function iC(e) { +function JA(e) { e.languages.properties = { comment: /^[ \t]*[#!].*$/m, value: { @@ -49548,8 +49495,8 @@ function iC(e) { punctuation: /[=:]/, }; } -function oC(e) { - (e.register(__), +function eC(e) { + (e.register(f_), (function (e) { var t = /\b(?:bool|bytes|double|s?fixed(?:32|64)|float|[su]?int(?:32|64)|string)\b/; @@ -49587,7 +49534,7 @@ function oC(e) { })); })(e)); } -function sC(e) { +function tC(e) { !(function (e) { var t = { pattern: /(\b\d+)(?:%|[a-z]+)/, lookbehind: !0 }, n = { pattern: /(^|[^\w.-])-?(?:\d+(?:\.\d+)?|\.\d+)/, lookbehind: !0 }, @@ -49693,8 +49640,8 @@ function sC(e) { })); })(e); } -function lC(e) { - (e.register(Z_), +function nC(e) { + (e.register(F_), (e.languages.twig = { comment: /^\{#[\s\S]*?#\}$/, "tag-name": { @@ -49733,9 +49680,9 @@ function lC(e) { e.languages["markup-templating"].tokenizePlaceholders(t, "twig"); })); } -function cC(e) { - (e.register(D_), - e.register(N_), +function aC(e) { + (e.register(I_), + e.register(__), (function (e) { e.languages.pug = { comment: { @@ -49896,7 +49843,7 @@ function cC(e) { e.languages.insertBefore("pug", "filter", a); })(e)); } -function dC(e) { +function rC(e) { !(function (e) { e.languages.puppet = { heredoc: [ @@ -49996,7 +49943,7 @@ function dC(e) { t)); })(e); } -function uC(e) { +function iC(e) { !(function (e) { e.languages.pure = { comment: [ @@ -50055,8 +50002,8 @@ function uC(e) { ))); })(e); } -function pC(e) { - (e.register(__), +function oC(e) { + (e.register(f_), (e.languages.purebasic = e.languages.extend("clike", { comment: /;.*/, keyword: @@ -50115,8 +50062,8 @@ function pC(e) { delete e.languages.purebasic.boolean, (e.languages.pbfasm = e.languages.purebasic)); } -function hC(e) { - (e.register(ww), +function sC(e) { + (e.register(vw), (e.languages.purescript = e.languages.extend("haskell", { keyword: /\b(?:ado|case|class|data|derive|do|else|forall|if|in|infixl|infixr|instance|let|module|newtype|of|primitive|then|type|where)\b|∀/, @@ -50136,8 +50083,8 @@ function hC(e) { })), (e.languages.purs = e.languages.purescript)); } -function mC(e) { - (e.register(__), +function lC(e) { + (e.register(f_), (function (e) { function t(e, t) { return e.replace(/<<(\d+)>>/g, function (e, n) { @@ -50223,7 +50170,7 @@ function mC(e) { })(e), (e.languages.qs = e.languages.qsharp)); } -function gC(e) { +function cC(e) { e.languages.q = { string: /"(?:\\.|[^"\\\r\n])*"/, comment: [ @@ -50255,8 +50202,8 @@ function gC(e) { punctuation: /[(){}\[\];.]/, }; } -function fC(e) { - (e.register(D_), +function dC(e) { + (e.register(I_), (function (e) { for ( var t = /"(?:\\.|[^\\"\r\n])*"|'(?:\\.|[^\\'\r\n])*'/.source, @@ -50331,8 +50278,8 @@ function fC(e) { })); })(e)); } -function bC(e) { - (e.register(__), +function uC(e) { + (e.register(f_), (e.languages.qore = e.languages.extend("clike", { comment: { pattern: /(^|[^\\])(?:\/\*[\s\S]*?\*\/|(?:\/\/|#).*)/, @@ -50353,8 +50300,8 @@ function bC(e) { variable: /\$(?!\d)\w+\b/, }))); } -function EC(e) { - (e.register(cA), +function pC(e) { + (e.register(aA), (e.languages.racket = e.languages.extend("scheme", { "lambda-parameter": { pattern: /([(\[]lambda\s+[(\[])[^()\[\]'\s]+/, @@ -50366,9 +50313,9 @@ function EC(e) { }), (e.languages.rkt = e.languages.racket)); } -function vC(e) { - (e.register(C_), - e.register(N_), +function hC(e) { + (e.register(T_), + e.register(__), (function (e) { var t = /\/(?![/*])|\/\/.*[\r\n]|\/\*[^*]*(?:\*(?!\/)[^*]*)*\*\//.source, n = @@ -50553,9 +50500,9 @@ function vC(e) { (e.languages.razor = e.languages.cshtml)); })(e)); } -function xC(e) { - (e.register(D_), - e.register(N_), +function mC(e) { + (e.register(I_), + e.register(__), (function (e) { var t = e.util.clone(e.languages.javascript), n = /(?:\s|\/\/.*(?!.)|\/\*(?:[^*]|\*(?!\/))\*\/)/.source, @@ -50672,9 +50619,9 @@ function xC(e) { }); })(e)); } -function TC(e) { - (e.register(xC), - e.register(ty), +function gC(e) { + (e.register(mC), + e.register(Y_), (function (e) { var t = e.util.clone(e.languages.typescript); ((e.languages.tsx = e.languages.extend("jsx", t)), @@ -50688,8 +50635,8 @@ function TC(e) { (n.lookbehind = !0)); })(e)); } -function _C(e) { - (e.register(__), +function fC(e) { + (e.register(f_), (e.languages.reason = e.languages.extend("clike", { string: { pattern: /"(?:\\(?:\r\n|[\s\S])|[^\\\r\n"])*"/, greedy: !0 }, "class-name": /\b[A-Z]\w*/, @@ -50709,7 +50656,7 @@ function _C(e) { }), delete e.languages.reason.function); } -function yC(e) { +function bC(e) { e.languages.rego = { comment: /#.*/, property: { @@ -50735,7 +50682,7 @@ function yC(e) { punctuation: /[,;.\[\]{}()]/, }; } -function SC(e) { +function EC(e) { ((e.languages.renpy = { comment: { pattern: /(^|[^\\])#.+/, lookbehind: !0 }, string: { @@ -50758,7 +50705,7 @@ function SC(e) { }), (e.languages.rpy = e.languages.renpy)); } -function wC(e) { +function vC(e) { ((e.languages.rescript = { comment: { pattern: /\/\/.*|\/\*[\s\S]*?(?:\*\/|$)/, greedy: !0 }, char: { pattern: /'(?:[^\r\n\\]|\\(?:.|\w+))'/, greedy: !0 }, @@ -50806,7 +50753,7 @@ function wC(e) { }), (e.languages.res = e.languages.rescript)); } -function AC(e) { +function xC(e) { e.languages.rest = { table: [ { @@ -50979,7 +50926,7 @@ function AC(e) { }, }; } -function CC(e) { +function TC(e) { e.languages.rip = { comment: { pattern: /#.*/, greedy: !0 }, char: { pattern: /\B`[^\s`'",.:;#\/\\()<>\[\]{}]\b/, greedy: !0 }, @@ -51003,7 +50950,7 @@ function CC(e) { reference: /[^\d\s`'",.:;#\/\\()<>\[\]{}][^\s`'",.:;#\/\\()<>\[\]{}]*/, }; } -function NC(e) { +function _C(e) { e.languages.roboconf = { comment: /#.*/, keyword: { @@ -51023,7 +50970,7 @@ function NC(e) { punctuation: /[{},.;:=]/, }; } -function IC(e) { +function yC(e) { !(function (e) { var t = { pattern: /(^[ \t]*| {2}|\t)#.*/m, lookbehind: !0, greedy: !0 }, n = { @@ -51107,7 +51054,7 @@ function IC(e) { (e.languages.robot = e.languages.robotframework)); })(e); } -function RC(e) { +function SC(e) { !(function (e) { var t = /(?:"(?:""|[^"])*"(?!")|'(?:''|[^'])*'(?!'))/.source, n = /\b(?:\d[\da-f]*x|\d+(?:\.\d+)?(?:e[+-]?\d+)?)\b/i, @@ -51415,8 +51362,8 @@ function RC(e) { }; })(e); } -function kC(e) { - (e.register(A_), +function wC(e) { + (e.register(x_), (function (e) { var t = [ /"(?:\\[\s\S]|\$\([^)]+\)|\$(?!\()|`[^`]+`|[^"\\`$])*"/.source, @@ -51469,7 +51416,7 @@ function kC(e) { e.languages["shell-session"])); })(e)); } -function OC(e) { +function AC(e) { e.languages.smali = { comment: /#.*/, string: { @@ -51524,7 +51471,7 @@ function OC(e) { punctuation: /[{}(),;:]/, }; } -function LC(e) { +function CC(e) { e.languages.smalltalk = { comment: { pattern: /"(?:""|[^"])*"/, greedy: !0 }, char: { pattern: /\$./, greedy: !0 }, @@ -51549,8 +51496,8 @@ function LC(e) { punctuation: /[.;:?\[\](){}]/, }; } -function MC(e) { - (e.register(Z_), +function NC(e) { + (e.register(F_), (function (e) { ((e.languages.smarty = { comment: { pattern: /^\{\*[\s\S]*?\*\}/, greedy: !0 }, @@ -51649,7 +51596,7 @@ function MC(e) { })); })(e)); } -function DC(e) { +function IC(e) { !(function (e) { var t = /\b(?:abstype|and|andalso|as|case|datatype|do|else|end|eqtype|exception|fn|fun|functor|handle|if|in|include|infix|infixr|let|local|nonfix|of|op|open|orelse|raise|rec|sharing|sig|signature|struct|structure|then|type|val|where|while|with|withtype)\b/i; @@ -51702,8 +51649,8 @@ function DC(e) { (e.languages.smlnj = e.languages.sml)); })(e); } -function PC(e) { - (e.register(__), +function RC(e) { + (e.register(f_), (e.languages.solidity = e.languages.extend("clike", { "class-name": { pattern: @@ -51728,7 +51675,7 @@ function PC(e) { }), (e.languages.sol = e.languages.solidity)); } -function jC(e) { +function kC(e) { !(function (e) { var t = { pattern: /\{[\da-f]{8}-[\da-f]{4}-[\da-f]{4}-[\da-f]{4}-[\da-f]{12}\}/i, @@ -51763,8 +51710,8 @@ function jC(e) { (e.languages.sln = e.languages["solution-file"])); })(e); } -function BC(e) { - (e.register(Z_), +function OC(e) { + (e.register(F_), (function (e) { var t = /(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/, n = /\b\d+(?:\.\d+)?(?:[eE][+-]?\d+)?\b|\b0x[\dA-F]+\b/; @@ -51832,7 +51779,7 @@ function BC(e) { })); })(e)); } -function FC(e) { +function LC(e) { ((e.languages.turtle = { comment: { pattern: /#.*/, greedy: !0 }, "multiline-string": { @@ -51868,8 +51815,8 @@ function FC(e) { }), (e.languages.trig = e.languages.turtle)); } -function HC(e) { - (e.register(FC), +function MC(e) { + (e.register(LC), (e.languages.sparql = e.languages.extend("turtle", { boolean: /\b(?:false|true)\b/i, variable: { pattern: /[?$]\w+/, greedy: !0 }, @@ -51883,7 +51830,7 @@ function HC(e) { }), (e.languages.rq = e.languages.sparql)); } -function zC(e) { +function DC(e) { e.languages["splunk-spl"] = { comment: /`comment\("(?:\\.|[^\\"])*"\)`/, string: { pattern: /"(?:\\.|[^\\"])*"/, greedy: !0 }, @@ -51905,8 +51852,8 @@ function zC(e) { punctuation: /[()[\],]/, }; } -function UC(e) { - (e.register(__), +function PC(e) { + (e.register(f_), (e.languages.sqf = e.languages.extend("clike", { string: { pattern: /"(?:(?:"")?[^"])*"(?!")|'(?:[^'])*'/, greedy: !0 }, keyword: @@ -51938,8 +51885,8 @@ function UC(e) { }), delete e.languages.sqf["class-name"]); } -function GC(e) { - (e.register(__), +function jC(e) { + (e.register(f_), (e.languages.squirrel = e.languages.extend("clike", { comment: [ e.languages.clike.comment[0], @@ -51973,7 +51920,7 @@ function GC(e) { lambda: { pattern: /@(?=\()/, alias: "operator" }, })); } -function VC(e) { +function BC(e) { !(function (e) { var t = /\b(?:algebra_solver|algebra_solver_newton|integrate_1d|integrate_ode|integrate_ode_bdf|integrate_ode_rk45|map_rect|ode_(?:adams|bdf|ckrk|rk45)(?:_tol)?|ode_adjoint_tol_ctl|reduce_sum|reduce_sum_static)\b/; @@ -52026,10 +51973,10 @@ function VC(e) { e.languages.stan)); })(e); } -function ZC(e) { - (e.register(L_), - e.register(EA), - e.register(W_), +function FC(e) { + (e.register(C_), + e.register(pA), + e.register(z_), (e.languages.stata = { comment: [ { pattern: /(^[ \t]*)\*.*/m, lookbehind: !0, greedy: !0 }, @@ -52094,7 +52041,7 @@ function ZC(e) { "string-literal" ].inside.interpolation.inside.expression.inside = e.languages.stata)); } -function $C(e) { +function HC(e) { e.languages.iecst = { comment: [ { @@ -52125,7 +52072,7 @@ function $C(e) { punctuation: /[()[\].,;]/, }; } -function WC(e) { +function zC(e) { ((e.languages.supercollider = { comment: { pattern: @@ -52155,7 +52102,7 @@ function WC(e) { }), (e.languages.sclang = e.languages.supercollider)); } -function qC(e) { +function UC(e) { !(function (e) { var t = { pattern: /^[;#].*/m, greedy: !0 }, n = /"(?:[^\r\n"\\]|\\(?:[^\r]|\r\n?))*"(?!\S)/.source; @@ -52201,7 +52148,7 @@ function qC(e) { }; })(e); } -function YC(e) { +function GC(e) { !(function (e) { function t(e, t, n) { return { @@ -52242,19 +52189,19 @@ function YC(e) { }); })(e); } -function KC(e) { - (e.register(C_), - e.register(YC), +function VC(e) { + (e.register(T_), + e.register(GC), (e.languages.t4 = e.languages["t4-cs"] = e.languages["t4-templating"].createT4("csharp"))); } -function XC(e) { - (e.register(YC), - e.register(ay), +function ZC(e) { + (e.register(GC), + e.register(X_), (e.languages["t4-vb"] = e.languages["t4-templating"].createT4("vbnet"))); } -function QC(e) { - (e.register(z_), +function $C(e) { + (e.register(D_), (e.languages.tap = { fail: /not ok[^#{\n\r]*/, pass: /ok[^#{\n\r]*/, @@ -52273,7 +52220,7 @@ function QC(e) { }, })); } -function JC(e) { +function WC(e) { e.languages.tcl = { comment: { pattern: /(^|[^\\])#.*/, lookbehind: !0 }, string: { pattern: /"(?:[^"\\\r\n]|\\(?:\r\n|[\s\S]))*"/, greedy: !0 }, @@ -52309,9 +52256,9 @@ function JC(e) { punctuation: /[{}()\[\]]/, }; } -function eN(e) { - (e.register(__), - e.register(Z_), +function qC(e) { + (e.register(f_), + e.register(F_), (function (e) { ((e.languages.tt2 = e.languages.extend("clike", { comment: /#.*|\[%#[\s\S]*?%\]/, @@ -52358,7 +52305,7 @@ function eN(e) { })); })(e)); } -function tN(e) { +function YC(e) { !(function (e) { var t = /(?:[\w-]+|'[^'\n\r]*'|"(?:\\.|[^\\"\r\n])*")/.source; function n(e) { @@ -52406,7 +52353,7 @@ function tN(e) { }; })(e); } -function nN(e) { +function KC(e) { !(function (e) { e.languages.tremor = { comment: { @@ -52467,7 +52414,7 @@ function nN(e) { (e.languages.trickle = e.languages.tremor)); })(e); } -function aN(e) { +function XC(e) { !(function (e) { var t = /\b(?:ACT|ACTIFSUB|CARRAY|CASE|CLEARGIF|COA|COA_INT|CONSTANTS|CONTENT|CUR|EDITPANEL|EFFECT|EXT|FILE|FLUIDTEMPLATE|FORM|FRAME|FRAMESET|GIFBUILDER|GMENU|GMENU_FOLDOUT|GMENU_LAYERS|GP|HMENU|HRULER|HTML|IENV|IFSUB|IMAGE|IMGMENU|IMGMENUITEM|IMGTEXT|IMG_RESOURCE|INCLUDE_TYPOSCRIPT|JSMENU|JSMENUITEM|LLL|LOAD_REGISTER|NO|PAGE|RECORDS|RESTORE_REGISTER|TEMPLATE|TEXT|TMENU|TMENUITEM|TMENU_LAYERS|USER|USER_INT|_GIFBUILDER|global|globalString|globalVar)\b/; @@ -52517,7 +52464,7 @@ function aN(e) { (e.languages.tsconfig = e.languages.typoscript)); })(e); } -function rN(e) { +function QC(e) { ((e.languages.unrealscript = { comment: /\/\/.*|\/\*[\s\S]*?\*\//, string: { @@ -52558,7 +52505,7 @@ function rN(e) { }), (e.languages.uc = e.languages.uscript = e.languages.unrealscript)); } -function iN(e) { +function JC(e) { e.languages.uorazor = { "comment-hash": { pattern: /#.*/, alias: "comment", greedy: !0 }, "comment-slash": { pattern: /\/\/.*/, alias: "comment", greedy: !0 }, @@ -52596,8 +52543,8 @@ function iN(e) { punctuation: /[()\[\]{}:.,]/, }; } -function oN(e) { - (e.register(__), +function eN(e) { + (e.register(f_), (function (e) { var t = { pattern: /[\s\S]+/, inside: null }; ((e.languages.v = e.languages.extend("clike", { @@ -52668,8 +52615,8 @@ function oN(e) { })); })(e)); } -function sN(e) { - (e.register(__), +function tN(e) { + (e.register(f_), (e.languages.vala = e.languages.extend("clike", { "class-name": [ { @@ -52739,8 +52686,8 @@ function sN(e) { }, })); } -function lN(e) { - (e.register(N_), +function nN(e) { + (e.register(__), (function (e) { e.languages.velocity = e.languages.extend("markup", {}); var t = { @@ -52803,7 +52750,7 @@ function lN(e) { e.languages.velocity)); })(e)); } -function cN(e) { +function aN(e) { e.languages.verilog = { comment: { pattern: /\/\/.*|\/\*[\s\S]*?\*\//, greedy: !0 }, string: { pattern: /"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"/, greedy: !0 }, @@ -52819,7 +52766,7 @@ function cN(e) { punctuation: /[[\];(),.:]/, }; } -function dN(e) { +function rN(e) { e.languages.vhdl = { comment: /--.+/, "vhdl-vectors": { @@ -52839,7 +52786,7 @@ function dN(e) { punctuation: /[{}[\];(),.:]/, }; } -function uN(e) { +function iN(e) { e.languages.vim = { string: /"(?:[^"\\\r\n]|\\.)*"|'(?:[^'\r\n]|'')*'/, comment: /".*/, @@ -52854,7 +52801,7 @@ function uN(e) { punctuation: /[{}[\](),;:]/, }; } -function pN(e) { +function oN(e) { ((e.languages["visual-basic"] = { comment: { pattern: /(?:['‘’]|REM\b)(?:[^\r\n_]|_(?:\r\n?|\n)?)*/i, @@ -52883,7 +52830,7 @@ function pN(e) { (e.languages.vb = e.languages["visual-basic"]), (e.languages.vba = e.languages["visual-basic"])); } -function hN(e) { +function sN(e) { e.languages.warpscript = { comment: /#.*|\/\/.*|\/\*[\s\S]*?\*\//, string: { @@ -52903,7 +52850,7 @@ function hN(e) { /==|&&?|\|\|?|\*\*?|>>>?|<<|[<>!~]=?|[-/%^]|\+!?|\b(?:AND|NOT|OR)\b/, }; } -function mN(e) { +function lN(e) { e.languages.wasm = { comment: [/\(;[\s\S]*?;\)/, { pattern: /;;.*/, greedy: !0 }], string: { pattern: /"(?:\\[\s\S]|[^"\\])*"/, greedy: !0 }, @@ -52922,7 +52869,7 @@ function mN(e) { punctuation: /[()]/, }; } -function gN(e) { +function cN(e) { !(function (e) { var t = /(?:\B-|\b_|\b)[A-Za-z][\w-]*(?![\w-])/.source, n = @@ -53016,7 +52963,7 @@ function gN(e) { e.languages.webidl = e.languages["web-idl"]; })(e); } -function fN(e) { +function dN(e) { e.languages.wgsl = { comment: { pattern: /\/\/.*|\/\*[\s\S]*?(?:\*\/|$)/, greedy: !0 }, "builtin-attribute": { @@ -53077,8 +53024,8 @@ function fN(e) { punctuation: /[@(){}[\],;<>:.]/, }; } -function bN(e) { - (e.register(N_), +function uN(e) { + (e.register(__), (e.languages.wiki = e.languages.extend("markup", { "block-comment": { pattern: /(^|[^\\])\/\*[\s\S]*?\*\//, @@ -53132,7 +53079,7 @@ function bN(e) { }, })); } -function EN(e) { +function pN(e) { ((e.languages.wolfram = { comment: /\(\*(?:\(\*(?:[^*]|\*(?!\)))*\*\)|(?!\(\*)[\s\S])*?\*\)/, string: { pattern: /"(?:\\.|[^"\\\r\n])*"/, greedy: !0 }, @@ -53152,7 +53099,7 @@ function EN(e) { (e.languages.wl = e.languages.wolfram), (e.languages.nb = e.languages.wolfram)); } -function vN(e) { +function hN(e) { ((e.languages.wren = { comment: [ { @@ -53210,8 +53157,8 @@ function vN(e) { }, })); } -function xN(e) { - (e.register(N_), +function mN(e) { + (e.register(__), (function (e) { ((e.languages.xeora = e.languages.extend("markup", { constant: { @@ -53292,8 +53239,8 @@ function xN(e) { (e.languages.xeoracube = e.languages.xeora)); })(e)); } -function TN(e) { - (e.register(N_), +function gN(e) { + (e.register(__), (function (e) { function t(t, n) { e.languages[t] && @@ -53315,7 +53262,7 @@ function TN(e) { (t("csharp", a), t("fsharp", a), t("vbnet", r)); })(e)); } -function _N(e) { +function fN(e) { e.languages.xojo = { comment: { pattern: /(?:'|\/\/|Rem\b).+/i, greedy: !0 }, string: { pattern: /"(?:""|[^"])*"/, greedy: !0 }, @@ -53331,8 +53278,8 @@ function _N(e) { punctuation: /[.,;:()]/, }; } -function yN(e) { - (e.register(N_), +function bN(e) { + (e.register(__), (function (e) { ((e.languages.xquery = e.languages.extend("markup", { "xquery-comment": { @@ -53460,7 +53407,7 @@ function yN(e) { }); })(e)); } -function SN(e) { +function EN(e) { e.languages.yang = { comment: /\/\*[\s\S]*?\*\/|\/\/.*/, string: { pattern: /"(?:[^\\"]|\\.)*"|'[^']*'/, greedy: !0 }, @@ -53471,7 +53418,7 @@ function SN(e) { punctuation: /[{};:]/, }; } -function wN(e) { +function vN(e) { !(function (e) { function t(e) { return function () { @@ -53560,15 +53507,15 @@ function wN(e) { })); })(e); } -function AN() { - AN = function (e, t) { +function xN() { + xN = function (e, t) { return new n(e, void 0, t); }; var e = RegExp.prototype, t = new WeakMap(); function n(e, a, r) { var i = new RegExp(e, a); - return (t.set(i, r || t.get(e)), CN(i, n.prototype)); + return (t.set(i, r || t.get(e)), TN(i, n.prototype)); } function a(e, n) { var a = t.get(n); @@ -53592,7 +53539,7 @@ function AN() { constructor: { value: e, writable: !0, configurable: !0 }, })), Object.defineProperty(e, "prototype", { writable: !1 }), - t && CN(e, t)); + t && TN(e, t)); })(n, RegExp), (n.prototype.exec = function (t) { var n = e.exec.call(this, t); @@ -53628,25 +53575,25 @@ function AN() { } return e[Symbol.replace].call(this, n, r); }), - AN.apply(this, arguments) + xN.apply(this, arguments) ); } -function CN(e, t) { +function TN(e, t) { return ( - (CN = Object.setPrototypeOf + (TN = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function (e, t) { return ((e.__proto__ = t), e); }), - CN(e, t) + TN(e, t) ); } -function NN(e, t) { +function _N(e, t) { (null == t || t > e.length) && (t = e.length); for (var n = 0, a = new Array(t); n < t; n++) a[n] = e[n]; return a; } -function IN(e, t) { +function yN(e, t) { var n = ("undefined" != typeof Symbol && e[Symbol.iterator]) || e["@@iterator"]; if (n) return (n = n.call(e)).next.bind(n); @@ -53654,7 +53601,7 @@ function IN(e, t) { Array.isArray(e) || (n = (function (e, t) { if (e) { - if ("string" == typeof e) return NN(e, t); + if ("string" == typeof e) return _N(e, t); var n = Object.prototype.toString.call(e).slice(8, -1); return ( "Object" === n && e.constructor && (n = e.constructor.name), @@ -53662,7 +53609,7 @@ function IN(e, t) { ? Array.from(e) : "Arguments" === n || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n) - ? NN(e, t) + ? _N(e, t) : void 0 ); } @@ -53679,7 +53626,7 @@ function IN(e, t) { "Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.", ); } -((My.highlight = function (e, t) { +((Ny.highlight = function (e, t) { if ("string" != typeof e) throw new TypeError("Expected `string` for `value`, got `" + e + "`"); let n, a; @@ -53687,48 +53634,48 @@ function IN(e, t) { else { if (((a = t), "string" != typeof a)) throw new TypeError("Expected `string` for `name`, got `" + a + "`"); - if (!Oy.call(My.languages, a)) + if (!Ay.call(Ny.languages, a)) throw new Error("Unknown language: `" + a + "` is not registered"); - n = My.languages[a]; + n = Ny.languages[a]; } - return { type: "root", children: ky.highlight.call(My, e, n, a) }; + return { type: "root", children: wy.highlight.call(Ny, e, n, a) }; }), - (My.register = function (e) { + (Ny.register = function (e) { if ("function" != typeof e || !e.displayName) throw new Error("Expected `function` for `syntax`, got `" + e + "`"); - Oy.call(My.languages, e.displayName) || e(My); + Ay.call(Ny.languages, e.displayName) || e(Ny); }), - (My.alias = function (e, t) { - const n = My.languages; + (Ny.alias = function (e, t) { + const n = Ny.languages; let a, r = {}; "string" == typeof e ? t && (r[e] = t) : (r = e); for (a in r) - if (Oy.call(r, a)) { + if (Ay.call(r, a)) { const e = r[a], t = "string" == typeof e ? [e] : e; let i = -1; for (; ++i < t.length; ) n[t[i]] = n[a]; } }), - (My.registered = function (e) { + (Ny.registered = function (e) { if ("string" != typeof e) throw new TypeError( "Expected `string` for `aliasOrLanguage`, got `" + e + "`", ); - return Oy.call(My.languages, e); + return Ay.call(Ny.languages, e); }), - (My.listLanguages = function () { - const e = My.languages, + (Ny.listLanguages = function () { + const e = Ny.languages, t = []; let n; - for (n in e) Oy.call(e, n) && "object" == typeof e[n] && t.push(n); + for (n in e) Ay.call(e, n) && "object" == typeof e[n] && t.push(n); return t; }), - (My.util.encode = function (e) { + (Ny.util.encode = function (e) { return e; }), - (My.Token.stringify = function e(t, n) { + (Ny.Token.stringify = function e(t, n) { if ("string" == typeof t) return { type: "text", value: t }; if (Array.isArray(t)) { const a = []; @@ -53748,874 +53695,874 @@ function IN(e, t) { t.alias && a.classes.push(...("string" == typeof t.alias ? [t.alias] : t.alias)); return ( - My.hooks.run("wrap", a), - dy( + Ny.hooks.run("wrap", a), + ry( a.tag + "." + a.classes.join("."), (function (e) { let t; - for (t in e) Oy.call(e, t) && (e[t] = xy(e[t])); + for (t in e) Ay.call(e, t) && (e[t] = my(e[t])); return e; })(a.attributes), a.content, ) ); }), - My.register(__), - My.register(y_), - My.register(S_), - My.register(w_), - My.register(A_), - My.register(C_), - My.register(N_), - My.register(I_), - My.register(R_), - My.register(k_), - My.register(O_), - My.register(L_), - My.register(M_), - My.register(D_), - My.register(P_), - My.register(j_), - My.register(B_), - My.register(F_), - My.register(H_), - My.register(z_), - My.register(U_), - My.register(G_), - My.register(V_), - My.register(Z_), - My.register($_), - My.register(W_), - My.register(q_), - My.register(Y_), - My.register(K_), - My.register(X_), - My.register(Q_), - My.register(J_), - My.register(ey), - My.register(ty), - My.register(ny), - My.register(ay), - (Dy.displayName = "abap"), - (Dy.aliases = []), - (Py.displayName = "abnf"), + Ny.register(f_), + Ny.register(b_), + Ny.register(E_), + Ny.register(v_), + Ny.register(x_), + Ny.register(T_), + Ny.register(__), + Ny.register(y_), + Ny.register(S_), + Ny.register(w_), + Ny.register(A_), + Ny.register(C_), + Ny.register(N_), + Ny.register(I_), + Ny.register(R_), + Ny.register(k_), + Ny.register(O_), + Ny.register(L_), + Ny.register(M_), + Ny.register(D_), + Ny.register(P_), + Ny.register(j_), + Ny.register(B_), + Ny.register(F_), + Ny.register(H_), + Ny.register(z_), + Ny.register(U_), + Ny.register(G_), + Ny.register(V_), + Ny.register(Z_), + Ny.register($_), + Ny.register(W_), + Ny.register(q_), + Ny.register(Y_), + Ny.register(K_), + Ny.register(X_), + (Iy.displayName = "abap"), + (Iy.aliases = []), + (Ry.displayName = "abnf"), + (Ry.aliases = []), + (ky.displayName = "actionscript"), + (ky.aliases = []), + (Oy.displayName = "ada"), + (Oy.aliases = []), + (Ly.displayName = "agda"), + (Ly.aliases = []), + (My.displayName = "al"), + (My.aliases = []), + (Dy.displayName = "antlr4"), + (Dy.aliases = ["g4"]), + (Py.displayName = "apacheconf"), (Py.aliases = []), - (jy.displayName = "actionscript"), + (jy.displayName = "apex"), (jy.aliases = []), - (By.displayName = "ada"), + (By.displayName = "apl"), (By.aliases = []), - (Fy.displayName = "agda"), + (Fy.displayName = "applescript"), (Fy.aliases = []), - (Hy.displayName = "al"), + (Hy.displayName = "aql"), (Hy.aliases = []), - (zy.displayName = "antlr4"), - (zy.aliases = ["g4"]), - (Uy.displayName = "apacheconf"), - (Uy.aliases = []), - (Gy.displayName = "apex"), - (Gy.aliases = []), - (Vy.displayName = "apl"), - (Vy.aliases = []), - (Zy.displayName = "applescript"), + (zy.displayName = "arff"), + (zy.aliases = []), + (Uy.displayName = "armasm"), + (Uy.aliases = ["arm-asm"]), + (Gy.displayName = "arturo"), + (Gy.aliases = ["art"]), + (Vy.displayName = "asciidoc"), + (Vy.aliases = ["adoc"]), + (Zy.displayName = "aspnet"), (Zy.aliases = []), - ($y.displayName = "aql"), + ($y.displayName = "asm6502"), ($y.aliases = []), - (Wy.displayName = "arff"), + (Wy.displayName = "asmatmel"), (Wy.aliases = []), - (qy.displayName = "armasm"), - (qy.aliases = ["arm-asm"]), - (Yy.displayName = "arturo"), - (Yy.aliases = ["art"]), - (Ky.displayName = "asciidoc"), - (Ky.aliases = ["adoc"]), - (Xy.displayName = "aspnet"), - (Xy.aliases = []), - (Qy.displayName = "asm6502"), - (Qy.aliases = []), - (Jy.displayName = "asmatmel"), + (qy.displayName = "autohotkey"), + (qy.aliases = []), + (Yy.displayName = "autoit"), + (Yy.aliases = []), + (Ky.displayName = "avisynth"), + (Ky.aliases = ["avs"]), + (Xy.displayName = "avro-idl"), + (Xy.aliases = ["avdl"]), + (Qy.displayName = "awk"), + (Qy.aliases = ["gawk"]), + (Jy.displayName = "batch"), (Jy.aliases = []), - (eS.displayName = "autohotkey"), - (eS.aliases = []), - (tS.displayName = "autoit"), + (eS.displayName = "bbcode"), + (eS.aliases = ["shortcode"]), + (tS.displayName = "bbj"), (tS.aliases = []), - (nS.displayName = "avisynth"), - (nS.aliases = ["avs"]), - (aS.displayName = "avro-idl"), - (aS.aliases = ["avdl"]), - (rS.displayName = "awk"), - (rS.aliases = ["gawk"]), - (iS.displayName = "batch"), - (iS.aliases = []), - (oS.displayName = "bbcode"), - (oS.aliases = ["shortcode"]), - (sS.displayName = "bbj"), + (nS.displayName = "bicep"), + (nS.aliases = []), + (aS.displayName = "birb"), + (aS.aliases = []), + (rS.displayName = "bison"), + (rS.aliases = []), + (iS.displayName = "bnf"), + (iS.aliases = ["rbnf"]), + (oS.displayName = "bqn"), + (oS.aliases = []), + (sS.displayName = "brainfuck"), (sS.aliases = []), - (lS.displayName = "bicep"), + (lS.displayName = "brightscript"), (lS.aliases = []), - (cS.displayName = "birb"), + (cS.displayName = "bro"), (cS.aliases = []), - (dS.displayName = "bison"), - (dS.aliases = []), - (uS.displayName = "bnf"), - (uS.aliases = ["rbnf"]), - (pS.displayName = "bqn"), + (dS.displayName = "bsl"), + (dS.aliases = ["oscript"]), + (uS.displayName = "cfscript"), + (uS.aliases = ["cfc"]), + (pS.displayName = "chaiscript"), (pS.aliases = []), - (hS.displayName = "brainfuck"), + (hS.displayName = "cil"), (hS.aliases = []), - (mS.displayName = "brightscript"), - (mS.aliases = []), - (gS.displayName = "bro"), - (gS.aliases = []), - (fS.displayName = "bsl"), - (fS.aliases = ["oscript"]), - (bS.displayName = "cfscript"), - (bS.aliases = ["cfc"]), - (ES.displayName = "chaiscript"), + (mS.displayName = "cilkc"), + (mS.aliases = ["cilk-c"]), + (gS.displayName = "cilkcpp"), + (gS.aliases = ["cilk", "cilk-cpp"]), + (fS.displayName = "clojure"), + (fS.aliases = []), + (bS.displayName = "cmake"), + (bS.aliases = []), + (ES.displayName = "cobol"), (ES.aliases = []), - (vS.displayName = "cil"), - (vS.aliases = []), - (xS.displayName = "cilkc"), - (xS.aliases = ["cilk-c"]), - (TS.displayName = "cilkcpp"), - (TS.aliases = ["cilk", "cilk-cpp"]), - (_S.displayName = "clojure"), + (vS.displayName = "coffeescript"), + (vS.aliases = ["coffee"]), + (xS.displayName = "concurnas"), + (xS.aliases = ["conc"]), + (TS.displayName = "csp"), + (TS.aliases = []), + (_S.displayName = "cooklang"), (_S.aliases = []), - (yS.displayName = "cmake"), + (yS.displayName = "coq"), (yS.aliases = []), - (SS.displayName = "cobol"), + (SS.displayName = "crystal"), (SS.aliases = []), - (wS.displayName = "coffeescript"), - (wS.aliases = ["coffee"]), - (AS.displayName = "concurnas"), - (AS.aliases = ["conc"]), - (CS.displayName = "csp"), + (wS.displayName = "css-extras"), + (wS.aliases = []), + (AS.displayName = "csv"), + (AS.aliases = []), + (CS.displayName = "cue"), (CS.aliases = []), - (NS.displayName = "cooklang"), + (NS.displayName = "cypher"), (NS.aliases = []), - (IS.displayName = "coq"), + (IS.displayName = "d"), (IS.aliases = []), - (RS.displayName = "crystal"), + (RS.displayName = "dart"), (RS.aliases = []), - (kS.displayName = "css-extras"), + (kS.displayName = "dataweave"), (kS.aliases = []), - (OS.displayName = "csv"), + (OS.displayName = "dax"), (OS.aliases = []), - (LS.displayName = "cue"), + (LS.displayName = "dhall"), (LS.aliases = []), - (MS.displayName = "cypher"), - (MS.aliases = []), - (DS.displayName = "d"), - (DS.aliases = []), - (PS.displayName = "dart"), - (PS.aliases = []), - (jS.displayName = "dataweave"), - (jS.aliases = []), - (BS.displayName = "dax"), + (MS.displayName = "django"), + (MS.aliases = ["jinja2"]), + (DS.displayName = "dns-zone-file"), + (DS.aliases = ["dns-zone"]), + (PS.displayName = "docker"), + (PS.aliases = ["dockerfile"]), + (jS.displayName = "dot"), + (jS.aliases = ["gv"]), + (BS.displayName = "ebnf"), (BS.aliases = []), - (FS.displayName = "dhall"), + (FS.displayName = "editorconfig"), (FS.aliases = []), - (HS.displayName = "django"), - (HS.aliases = ["jinja2"]), - (zS.displayName = "dns-zone-file"), - (zS.aliases = ["dns-zone"]), - (US.displayName = "docker"), - (US.aliases = ["dockerfile"]), - (GS.displayName = "dot"), - (GS.aliases = ["gv"]), - (VS.displayName = "ebnf"), + (HS.displayName = "eiffel"), + (HS.aliases = []), + (zS.displayName = "ejs"), + (zS.aliases = ["eta"]), + (US.displayName = "elixir"), + (US.aliases = []), + (GS.displayName = "elm"), + (GS.aliases = []), + (VS.displayName = "etlua"), (VS.aliases = []), - (ZS.displayName = "editorconfig"), + (ZS.displayName = "erb"), (ZS.aliases = []), - ($S.displayName = "eiffel"), + ($S.displayName = "erlang"), ($S.aliases = []), - (WS.displayName = "ejs"), - (WS.aliases = ["eta"]), - (qS.displayName = "elixir"), + (WS.displayName = "excel-formula"), + (WS.aliases = ["xls", "xlsx"]), + (qS.displayName = "fsharp"), (qS.aliases = []), - (YS.displayName = "elm"), + (YS.displayName = "factor"), (YS.aliases = []), - (KS.displayName = "etlua"), + (KS.displayName = "false"), (KS.aliases = []), - (XS.displayName = "erb"), + (XS.displayName = "firestore-security-rules"), (XS.aliases = []), - (QS.displayName = "erlang"), + (QS.displayName = "flow"), (QS.aliases = []), - (JS.displayName = "excel-formula"), - (JS.aliases = ["xls", "xlsx"]), - (ew.displayName = "fsharp"), + (JS.displayName = "fortran"), + (JS.aliases = []), + (ew.displayName = "ftl"), (ew.aliases = []), - (tw.displayName = "factor"), - (tw.aliases = []), - (nw.displayName = "false"), + (tw.displayName = "gml"), + (tw.aliases = ["gamemakerlanguage"]), + (nw.displayName = "gap"), (nw.aliases = []), - (aw.displayName = "firestore-security-rules"), + (aw.displayName = "gcode"), (aw.aliases = []), - (rw.displayName = "flow"), + (rw.displayName = "gdscript"), (rw.aliases = []), - (iw.displayName = "fortran"), + (iw.displayName = "gedcom"), (iw.aliases = []), - (ow.displayName = "ftl"), - (ow.aliases = []), - (sw.displayName = "gml"), - (sw.aliases = ["gamemakerlanguage"]), - (lw.displayName = "gap"), + (ow.displayName = "gettext"), + (ow.aliases = ["po"]), + (sw.displayName = "gherkin"), + (sw.aliases = []), + (lw.displayName = "git"), (lw.aliases = []), - (cw.displayName = "gcode"), + (cw.displayName = "glsl"), (cw.aliases = []), - (dw.displayName = "gdscript"), - (dw.aliases = []), - (uw.displayName = "gedcom"), - (uw.aliases = []), - (pw.displayName = "gettext"), - (pw.aliases = ["po"]), - (hw.displayName = "gherkin"), + (dw.displayName = "gn"), + (dw.aliases = ["gni"]), + (uw.displayName = "linker-script"), + (uw.aliases = ["ld"]), + (pw.displayName = "go-module"), + (pw.aliases = ["go-mod"]), + (hw.displayName = "gradle"), (hw.aliases = []), - (mw.displayName = "git"), + (mw.displayName = "graphql"), (mw.aliases = []), - (gw.displayName = "glsl"), + (gw.displayName = "groovy"), (gw.aliases = []), - (fw.displayName = "gn"), - (fw.aliases = ["gni"]), - (bw.displayName = "linker-script"), - (bw.aliases = ["ld"]), - (Ew.displayName = "go-module"), - (Ew.aliases = ["go-mod"]), - (vw.displayName = "gradle"), - (vw.aliases = []), - (xw.displayName = "graphql"), + (fw.displayName = "textile"), + (fw.aliases = []), + (bw.displayName = "haml"), + (bw.aliases = []), + (Ew.displayName = "handlebars"), + (Ew.aliases = ["hbs", "mustache"]), + (vw.displayName = "haskell"), + (vw.aliases = ["hs"]), + (xw.displayName = "haxe"), (xw.aliases = []), - (Tw.displayName = "groovy"), + (Tw.displayName = "hcl"), (Tw.aliases = []), - (_w.displayName = "textile"), + (_w.displayName = "hlsl"), (_w.aliases = []), - (yw.displayName = "haml"), + (yw.displayName = "hoon"), (yw.aliases = []), - (Sw.displayName = "handlebars"), - (Sw.aliases = ["hbs", "mustache"]), - (ww.displayName = "haskell"), - (ww.aliases = ["hs"]), - (Aw.displayName = "haxe"), - (Aw.aliases = []), - (Cw.displayName = "hcl"), + (Sw.displayName = "hpkp"), + (Sw.aliases = []), + (ww.displayName = "hsts"), + (ww.aliases = []), + (Aw.displayName = "uri"), + (Aw.aliases = ["url"]), + (Cw.displayName = "http"), (Cw.aliases = []), - (Nw.displayName = "hlsl"), + (Nw.displayName = "ichigojam"), (Nw.aliases = []), - (Iw.displayName = "hoon"), + (Iw.displayName = "icon"), (Iw.aliases = []), - (Rw.displayName = "hpkp"), + (Rw.displayName = "icu-message-format"), (Rw.aliases = []), - (kw.displayName = "hsts"), - (kw.aliases = []), - (Ow.displayName = "uri"), - (Ow.aliases = ["url"]), - (Lw.displayName = "http"), + (kw.displayName = "idris"), + (kw.aliases = ["idr"]), + (Ow.displayName = "ignore"), + (Ow.aliases = ["gitignore", "hgignore", "npmignore"]), + (Lw.displayName = "inform7"), (Lw.aliases = []), - (Mw.displayName = "ichigojam"), + (Mw.displayName = "io"), (Mw.aliases = []), - (Dw.displayName = "icon"), + (Dw.displayName = "j"), (Dw.aliases = []), - (Pw.displayName = "icu-message-format"), + (Pw.displayName = "javadoclike"), (Pw.aliases = []), - (jw.displayName = "idris"), - (jw.aliases = ["idr"]), - (Bw.displayName = "ignore"), - (Bw.aliases = ["gitignore", "hgignore", "npmignore"]), - (Fw.displayName = "inform7"), + (jw.displayName = "scala"), + (jw.aliases = []), + (Bw.displayName = "javadoc"), + (Bw.aliases = []), + (Fw.displayName = "javastacktrace"), (Fw.aliases = []), - (Hw.displayName = "io"), + (Hw.displayName = "jexl"), (Hw.aliases = []), - (zw.displayName = "j"), + (zw.displayName = "jolie"), (zw.aliases = []), - (Uw.displayName = "javadoclike"), + (Uw.displayName = "jq"), (Uw.aliases = []), - (Gw.displayName = "scala"), + (Gw.displayName = "js-templates"), (Gw.aliases = []), - (Vw.displayName = "javadoc"), + (Vw.displayName = "jsdoc"), (Vw.aliases = []), - (Zw.displayName = "javastacktrace"), - (Zw.aliases = []), - ($w.displayName = "jexl"), + (Zw.displayName = "n4js"), + (Zw.aliases = ["n4jsd"]), + ($w.displayName = "js-extras"), ($w.aliases = []), - (Ww.displayName = "jolie"), + (Ww.displayName = "json5"), (Ww.aliases = []), - (qw.displayName = "jq"), + (qw.displayName = "jsonp"), (qw.aliases = []), - (Yw.displayName = "js-templates"), + (Yw.displayName = "jsstacktrace"), (Yw.aliases = []), - (Kw.displayName = "jsdoc"), + (Kw.displayName = "julia"), (Kw.aliases = []), - (Xw.displayName = "n4js"), - (Xw.aliases = ["n4jsd"]), - (Qw.displayName = "js-extras"), + (Xw.displayName = "keepalived"), + (Xw.aliases = []), + (Qw.displayName = "keyman"), (Qw.aliases = []), - (Jw.displayName = "json5"), - (Jw.aliases = []), - (eA.displayName = "jsonp"), + (Jw.displayName = "kumir"), + (Jw.aliases = ["kum"]), + (eA.displayName = "kusto"), (eA.aliases = []), - (tA.displayName = "jsstacktrace"), - (tA.aliases = []), - (nA.displayName = "julia"), + (tA.displayName = "latex"), + (tA.aliases = ["context", "tex"]), + (nA.displayName = "latte"), (nA.aliases = []), - (aA.displayName = "keepalived"), + (aA.displayName = "scheme"), (aA.aliases = []), - (rA.displayName = "keyman"), - (rA.aliases = []), - (iA.displayName = "kumir"), - (iA.aliases = ["kum"]), - (oA.displayName = "kusto"), - (oA.aliases = []), - (sA.displayName = "latex"), - (sA.aliases = ["context", "tex"]), - (lA.displayName = "latte"), + (rA.displayName = "lilypond"), + (rA.aliases = ["ly"]), + (iA.displayName = "liquid"), + (iA.aliases = []), + (oA.displayName = "lisp"), + (oA.aliases = ["elisp", "emacs", "emacs-lisp"]), + (sA.displayName = "livescript"), + (sA.aliases = []), + (lA.displayName = "llvm"), (lA.aliases = []), - (cA.displayName = "scheme"), + (cA.displayName = "log"), (cA.aliases = []), - (dA.displayName = "lilypond"), - (dA.aliases = ["ly"]), - (uA.displayName = "liquid"), + (dA.displayName = "lolcode"), + (dA.aliases = []), + (uA.displayName = "magma"), (uA.aliases = []), - (pA.displayName = "lisp"), - (pA.aliases = ["elisp", "emacs", "emacs-lisp"]), - (hA.displayName = "livescript"), + (pA.displayName = "mata"), + (pA.aliases = []), + (hA.displayName = "matlab"), (hA.aliases = []), - (mA.displayName = "llvm"), + (mA.displayName = "maxscript"), (mA.aliases = []), - (gA.displayName = "log"), + (gA.displayName = "mel"), (gA.aliases = []), - (fA.displayName = "lolcode"), + (fA.displayName = "mermaid"), (fA.aliases = []), - (bA.displayName = "magma"), + (bA.displayName = "metafont"), (bA.aliases = []), - (EA.displayName = "mata"), + (EA.displayName = "mizar"), (EA.aliases = []), - (vA.displayName = "matlab"), + (vA.displayName = "mongodb"), (vA.aliases = []), - (xA.displayName = "maxscript"), + (xA.displayName = "monkey"), (xA.aliases = []), - (TA.displayName = "mel"), - (TA.aliases = []), - (_A.displayName = "mermaid"), + (TA.displayName = "moonscript"), + (TA.aliases = ["moon"]), + (_A.displayName = "n1ql"), (_A.aliases = []), - (yA.displayName = "metafont"), + (yA.displayName = "nand2tetris-hdl"), (yA.aliases = []), - (SA.displayName = "mizar"), - (SA.aliases = []), - (wA.displayName = "mongodb"), + (SA.displayName = "naniscript"), + (SA.aliases = ["nani"]), + (wA.displayName = "nasm"), (wA.aliases = []), - (AA.displayName = "monkey"), + (AA.displayName = "neon"), (AA.aliases = []), - (CA.displayName = "moonscript"), - (CA.aliases = ["moon"]), - (NA.displayName = "n1ql"), + (CA.displayName = "nevod"), + (CA.aliases = []), + (NA.displayName = "nginx"), (NA.aliases = []), - (IA.displayName = "nand2tetris-hdl"), + (IA.displayName = "nim"), (IA.aliases = []), - (RA.displayName = "naniscript"), - (RA.aliases = ["nani"]), - (kA.displayName = "nasm"), + (RA.displayName = "nix"), + (RA.aliases = []), + (kA.displayName = "nsis"), (kA.aliases = []), - (OA.displayName = "neon"), + (OA.displayName = "ocaml"), (OA.aliases = []), - (LA.displayName = "nevod"), + (LA.displayName = "odin"), (LA.aliases = []), - (MA.displayName = "nginx"), + (MA.displayName = "opencl"), (MA.aliases = []), - (DA.displayName = "nim"), - (DA.aliases = []), - (PA.displayName = "nix"), + (DA.displayName = "openqasm"), + (DA.aliases = ["qasm"]), + (PA.displayName = "oz"), (PA.aliases = []), - (jA.displayName = "nsis"), + (jA.displayName = "parigp"), (jA.aliases = []), - (BA.displayName = "ocaml"), + (BA.displayName = "parser"), (BA.aliases = []), - (FA.displayName = "odin"), - (FA.aliases = []), - (HA.displayName = "opencl"), + (FA.displayName = "pascal"), + (FA.aliases = ["objectpascal"]), + (HA.displayName = "pascaligo"), (HA.aliases = []), - (zA.displayName = "openqasm"), - (zA.aliases = ["qasm"]), - (UA.displayName = "oz"), - (UA.aliases = []), - (GA.displayName = "parigp"), - (GA.aliases = []), - (VA.displayName = "parser"), + (zA.displayName = "psl"), + (zA.aliases = []), + (UA.displayName = "pcaxis"), + (UA.aliases = ["px"]), + (GA.displayName = "peoplecode"), + (GA.aliases = ["pcode"]), + (VA.displayName = "phpdoc"), (VA.aliases = []), - (ZA.displayName = "pascal"), - (ZA.aliases = ["objectpascal"]), - ($A.displayName = "pascaligo"), - ($A.aliases = []), - (WA.displayName = "psl"), + (ZA.displayName = "php-extras"), + (ZA.aliases = []), + ($A.displayName = "plant-uml"), + ($A.aliases = ["plantuml"]), + (WA.displayName = "plsql"), (WA.aliases = []), - (qA.displayName = "pcaxis"), - (qA.aliases = ["px"]), - (YA.displayName = "peoplecode"), - (YA.aliases = ["pcode"]), - (KA.displayName = "phpdoc"), + (qA.displayName = "powerquery"), + (qA.aliases = ["mscript", "pq"]), + (YA.displayName = "powershell"), + (YA.aliases = []), + (KA.displayName = "processing"), (KA.aliases = []), - (XA.displayName = "php-extras"), + (XA.displayName = "prolog"), (XA.aliases = []), - (QA.displayName = "plant-uml"), - (QA.aliases = ["plantuml"]), - (JA.displayName = "plsql"), + (QA.displayName = "promql"), + (QA.aliases = []), + (JA.displayName = "properties"), (JA.aliases = []), - (eC.displayName = "powerquery"), - (eC.aliases = ["mscript", "pq"]), - (tC.displayName = "powershell"), + (eC.displayName = "protobuf"), + (eC.aliases = []), + (tC.displayName = "stylus"), (tC.aliases = []), - (nC.displayName = "processing"), + (nC.displayName = "twig"), (nC.aliases = []), - (aC.displayName = "prolog"), + (aC.displayName = "pug"), (aC.aliases = []), - (rC.displayName = "promql"), + (rC.displayName = "puppet"), (rC.aliases = []), - (iC.displayName = "properties"), + (iC.displayName = "pure"), (iC.aliases = []), - (oC.displayName = "protobuf"), - (oC.aliases = []), - (sC.displayName = "stylus"), - (sC.aliases = []), - (lC.displayName = "twig"), - (lC.aliases = []), - (cC.displayName = "pug"), + (oC.displayName = "purebasic"), + (oC.aliases = ["pbfasm"]), + (sC.displayName = "purescript"), + (sC.aliases = ["purs"]), + (lC.displayName = "qsharp"), + (lC.aliases = ["qs"]), + (cC.displayName = "q"), (cC.aliases = []), - (dC.displayName = "puppet"), + (dC.displayName = "qml"), (dC.aliases = []), - (uC.displayName = "pure"), + (uC.displayName = "qore"), (uC.aliases = []), - (pC.displayName = "purebasic"), - (pC.aliases = ["pbfasm"]), - (hC.displayName = "purescript"), - (hC.aliases = ["purs"]), - (mC.displayName = "qsharp"), - (mC.aliases = ["qs"]), - (gC.displayName = "q"), + (pC.displayName = "racket"), + (pC.aliases = ["rkt"]), + (hC.displayName = "cshtml"), + (hC.aliases = ["razor"]), + (mC.displayName = "jsx"), + (mC.aliases = []), + (gC.displayName = "tsx"), (gC.aliases = []), - (fC.displayName = "qml"), + (fC.displayName = "reason"), (fC.aliases = []), - (bC.displayName = "qore"), + (bC.displayName = "rego"), (bC.aliases = []), - (EC.displayName = "racket"), - (EC.aliases = ["rkt"]), - (vC.displayName = "cshtml"), - (vC.aliases = ["razor"]), - (xC.displayName = "jsx"), + (EC.displayName = "renpy"), + (EC.aliases = ["rpy"]), + (vC.displayName = "rescript"), + (vC.aliases = ["res"]), + (xC.displayName = "rest"), (xC.aliases = []), - (TC.displayName = "tsx"), + (TC.displayName = "rip"), (TC.aliases = []), - (_C.displayName = "reason"), + (_C.displayName = "roboconf"), (_C.aliases = []), - (yC.displayName = "rego"), - (yC.aliases = []), - (SC.displayName = "renpy"), - (SC.aliases = ["rpy"]), - (wC.displayName = "rescript"), - (wC.aliases = ["res"]), - (AC.displayName = "rest"), + (yC.displayName = "robotframework"), + (yC.aliases = ["robot"]), + (SC.displayName = "sas"), + (SC.aliases = []), + (wC.displayName = "shell-session"), + (wC.aliases = ["sh-session", "shellsession"]), + (AC.displayName = "smali"), (AC.aliases = []), - (CC.displayName = "rip"), + (CC.displayName = "smalltalk"), (CC.aliases = []), - (NC.displayName = "roboconf"), + (NC.displayName = "smarty"), (NC.aliases = []), - (IC.displayName = "robotframework"), - (IC.aliases = ["robot"]), - (RC.displayName = "sas"), - (RC.aliases = []), - (kC.displayName = "shell-session"), - (kC.aliases = ["sh-session", "shellsession"]), - (OC.displayName = "smali"), + (IC.displayName = "sml"), + (IC.aliases = ["smlnj"]), + (RC.displayName = "solidity"), + (RC.aliases = ["sol"]), + (kC.displayName = "solution-file"), + (kC.aliases = ["sln"]), + (OC.displayName = "soy"), (OC.aliases = []), - (LC.displayName = "smalltalk"), - (LC.aliases = []), - (MC.displayName = "smarty"), - (MC.aliases = []), - (DC.displayName = "sml"), - (DC.aliases = ["smlnj"]), - (PC.displayName = "solidity"), - (PC.aliases = ["sol"]), - (jC.displayName = "solution-file"), - (jC.aliases = ["sln"]), - (BC.displayName = "soy"), + (LC.displayName = "turtle"), + (LC.aliases = ["trig"]), + (MC.displayName = "sparql"), + (MC.aliases = ["rq"]), + (DC.displayName = "splunk-spl"), + (DC.aliases = []), + (PC.displayName = "sqf"), + (PC.aliases = []), + (jC.displayName = "squirrel"), + (jC.aliases = []), + (BC.displayName = "stan"), (BC.aliases = []), - (FC.displayName = "turtle"), - (FC.aliases = ["trig"]), - (HC.displayName = "sparql"), - (HC.aliases = ["rq"]), - (zC.displayName = "splunk-spl"), - (zC.aliases = []), - (UC.displayName = "sqf"), + (FC.displayName = "stata"), + (FC.aliases = []), + (HC.displayName = "iecst"), + (HC.aliases = []), + (zC.displayName = "supercollider"), + (zC.aliases = ["sclang"]), + (UC.displayName = "systemd"), (UC.aliases = []), - (GC.displayName = "squirrel"), + (GC.displayName = "t4-templating"), (GC.aliases = []), - (VC.displayName = "stan"), - (VC.aliases = []), - (ZC.displayName = "stata"), + (VC.displayName = "t4-cs"), + (VC.aliases = ["t4"]), + (ZC.displayName = "t4-vb"), (ZC.aliases = []), - ($C.displayName = "iecst"), + ($C.displayName = "tap"), ($C.aliases = []), - (WC.displayName = "supercollider"), - (WC.aliases = ["sclang"]), - (qC.displayName = "systemd"), + (WC.displayName = "tcl"), + (WC.aliases = []), + (qC.displayName = "tt2"), (qC.aliases = []), - (YC.displayName = "t4-templating"), + (YC.displayName = "toml"), (YC.aliases = []), - (KC.displayName = "t4-cs"), - (KC.aliases = ["t4"]), - (XC.displayName = "t4-vb"), - (XC.aliases = []), - (QC.displayName = "tap"), - (QC.aliases = []), - (JC.displayName = "tcl"), + (KC.displayName = "tremor"), + (KC.aliases = ["trickle", "troy"]), + (XC.displayName = "typoscript"), + (XC.aliases = ["tsconfig"]), + (QC.displayName = "unrealscript"), + (QC.aliases = ["uc", "uscript"]), + (JC.displayName = "uorazor"), (JC.aliases = []), - (eN.displayName = "tt2"), + (eN.displayName = "v"), (eN.aliases = []), - (tN.displayName = "toml"), + (tN.displayName = "vala"), (tN.aliases = []), - (nN.displayName = "tremor"), - (nN.aliases = ["trickle", "troy"]), - (aN.displayName = "typoscript"), - (aN.aliases = ["tsconfig"]), - (rN.displayName = "unrealscript"), - (rN.aliases = ["uc", "uscript"]), - (iN.displayName = "uorazor"), + (nN.displayName = "velocity"), + (nN.aliases = []), + (aN.displayName = "verilog"), + (aN.aliases = []), + (rN.displayName = "vhdl"), + (rN.aliases = []), + (iN.displayName = "vim"), (iN.aliases = []), - (oN.displayName = "v"), - (oN.aliases = []), - (sN.displayName = "vala"), + (oN.displayName = "visual-basic"), + (oN.aliases = ["vb", "vba"]), + (sN.displayName = "warpscript"), (sN.aliases = []), - (lN.displayName = "velocity"), + (lN.displayName = "wasm"), (lN.aliases = []), - (cN.displayName = "verilog"), - (cN.aliases = []), - (dN.displayName = "vhdl"), + (cN.displayName = "web-idl"), + (cN.aliases = ["webidl"]), + (dN.displayName = "wgsl"), (dN.aliases = []), - (uN.displayName = "vim"), + (uN.displayName = "wiki"), (uN.aliases = []), - (pN.displayName = "visual-basic"), - (pN.aliases = ["vb", "vba"]), - (hN.displayName = "warpscript"), + (pN.displayName = "wolfram"), + (pN.aliases = ["mathematica", "nb", "wl"]), + (hN.displayName = "wren"), (hN.aliases = []), - (mN.displayName = "wasm"), - (mN.aliases = []), - (gN.displayName = "web-idl"), - (gN.aliases = ["webidl"]), - (fN.displayName = "wgsl"), + (mN.displayName = "xeora"), + (mN.aliases = ["xeoracube"]), + (gN.displayName = "xml-doc"), + (gN.aliases = []), + (fN.displayName = "xojo"), (fN.aliases = []), - (bN.displayName = "wiki"), + (bN.displayName = "xquery"), (bN.aliases = []), - (EN.displayName = "wolfram"), - (EN.aliases = ["mathematica", "nb", "wl"]), - (vN.displayName = "wren"), + (EN.displayName = "yang"), + (EN.aliases = []), + (vN.displayName = "zig"), (vN.aliases = []), - (xN.displayName = "xeora"), - (xN.aliases = ["xeoracube"]), - (TN.displayName = "xml-doc"), - (TN.aliases = []), - (_N.displayName = "xojo"), - (_N.aliases = []), - (yN.displayName = "xquery"), - (yN.aliases = []), - (SN.displayName = "yang"), - (SN.aliases = []), - (wN.displayName = "zig"), - (wN.aliases = []), - My.register(N_), - My.register(I_), - My.register(__), - My.register(M_), - My.register(D_), - My.register(Dy), - My.register(Py), - My.register(jy), - My.register(By), - My.register(Fy), - My.register(Hy), - My.register(zy), - My.register(Uy), - My.register(J_), - My.register(Gy), - My.register(Vy), - My.register(Zy), - My.register($y), - My.register(y_), - My.register(S_), - My.register(w_), - My.register(Wy), - My.register(qy), - My.register(A_), - My.register(z_), - My.register(U_), - My.register(Yy), - My.register(Ky), - My.register(C_), - My.register(Xy), - My.register(Qy), - My.register(Jy), - My.register(eS), - My.register(tS), - My.register(nS), - My.register(aS), - My.register(rS), - My.register(ny), - My.register(iS), - My.register(oS), - My.register(sS), - My.register(lS), - My.register(cS), - My.register(dS), - My.register(uS), - My.register(pS), - My.register(hS), - My.register(mS), - My.register(gS), - My.register(fS), - My.register(bS), - My.register(ES), - My.register(vS), - My.register(xS), - My.register(TS), - My.register(_S), - My.register(yS), - My.register(SS), - My.register(wS), - My.register(AS), - My.register(CS), - My.register(NS), - My.register(IS), - My.register(Y_), - My.register(RS), - My.register(kS), - My.register(OS), - My.register(LS), - My.register(MS), - My.register(DS), - My.register(PS), - My.register(jS), - My.register(BS), - My.register(FS), - My.register(R_), - My.register(Z_), - My.register(HS), - My.register(zS), - My.register(US), - My.register(GS), - My.register(VS), - My.register(ZS), - My.register($S), - My.register(WS), - My.register(qS), - My.register(YS), - My.register(F_), - My.register(KS), - My.register(XS), - My.register(QS), - My.register(JS), - My.register(ew), - My.register(tw), - My.register(nw), - My.register(aw), - My.register(rw), - My.register(iw), - My.register(ow), - My.register(sw), - My.register(lw), - My.register(cw), - My.register(dw), - My.register(uw), - My.register(pw), - My.register(hw), - My.register(mw), - My.register(gw), - My.register(fw), - My.register(bw), - My.register(k_), - My.register(Ew), - My.register(vw), - My.register(xw), - My.register(Tw), - My.register(B_), - My.register(Q_), - My.register(_w), - My.register(yw), - My.register(Sw), - My.register(ww), - My.register(Aw), - My.register(Cw), - My.register(Nw), - My.register(Iw), - My.register(Rw), - My.register(kw), - My.register(P_), - My.register(Ow), - My.register(Lw), - My.register(Mw), - My.register(Dw), - My.register(Pw), - My.register(jw), - My.register(Bw), - My.register(Fw), - My.register(O_), - My.register(Hw), - My.register(zw), - My.register(L_), - My.register($_), - My.register(Uw), - My.register(Gw), - My.register(Vw), - My.register(Zw), - My.register($w), - My.register(Ww), - My.register(qw), - My.register(Yw), - My.register(ty), - My.register(Kw), - My.register(Xw), - My.register(Qw), - My.register(Jw), - My.register(eA), - My.register(tA), - My.register(nA), - My.register(aA), - My.register(rA), - My.register(j_), - My.register(iA), - My.register(oA), - My.register(sA), - My.register(lA), - My.register(cA), - My.register(dA), - My.register(uA), - My.register(pA), - My.register(hA), - My.register(mA), - My.register(gA), - My.register(fA), - My.register(bA), - My.register(H_), - My.register(EA), - My.register(vA), - My.register(xA), - My.register(TA), - My.register(_A), - My.register(yA), - My.register(SA), - My.register(wA), - My.register(AA), - My.register(CA), - My.register(NA), - My.register(IA), - My.register(RA), - My.register(kA), - My.register(OA), - My.register(LA), - My.register(MA), - My.register(DA), - My.register(PA), - My.register(jA), - My.register(G_), - My.register(BA), - My.register(FA), - My.register(HA), - My.register(zA), - My.register(UA), - My.register(GA), - My.register(VA), - My.register(ZA), - My.register($A), - My.register(WA), - My.register(qA), - My.register(YA), - My.register(V_), - My.register(KA), - My.register(XA), - My.register(QA), - My.register(JA), - My.register(eC), - My.register(tC), - My.register(nC), - My.register(aC), - My.register(rC), - My.register(iC), - My.register(oC), - My.register(sC), - My.register(lC), - My.register(cC), - My.register(dC), - My.register(uC), - My.register(pC), - My.register(hC), - My.register(W_), - My.register(mC), - My.register(gC), - My.register(fC), - My.register(bC), - My.register(q_), - My.register(EC), - My.register(vC), - My.register(xC), - My.register(TC)); -(My.register(_C), - My.register(yC), - My.register(SC), - My.register(wC), - My.register(AC), - My.register(CC), - My.register(NC), - My.register(IC), - My.register(K_), - My.register(RC), - My.register(X_), - My.register(kC), - My.register(OC), - My.register(LC), - My.register(MC), - My.register(DC), - My.register(PC), - My.register(jC), - My.register(BC), - My.register(FC), - My.register(HC), - My.register(zC), - My.register(UC), - My.register(GC), - My.register(VC), - My.register(ZC), - My.register($C), - My.register(WC), - My.register(ey), - My.register(qC), - My.register(YC), - My.register(KC), - My.register(ay), - My.register(XC), - My.register(QC), - My.register(JC), - My.register(eN), - My.register(tN), - My.register(nN), - My.register(aN), - My.register(rN), - My.register(iN), - My.register(oN), - My.register(sN), - My.register(lN), - My.register(cN), - My.register(dN), - My.register(uN), - My.register(pN), - My.register(hN), - My.register(mN), - My.register(gN), - My.register(fN), - My.register(bN), - My.register(EN), - My.register(vN), - My.register(xN), - My.register(TN), - My.register(_N), - My.register(yN), - My.register(SN), - My.register(wN)); -var RN = (function (e) { + Ny.register(__), + Ny.register(y_), + Ny.register(f_), + Ny.register(N_), + Ny.register(I_), + Ny.register(Iy), + Ny.register(Ry), + Ny.register(ky), + Ny.register(Oy), + Ny.register(Ly), + Ny.register(My), + Ny.register(Dy), + Ny.register(Py), + Ny.register(W_), + Ny.register(jy), + Ny.register(By), + Ny.register(Fy), + Ny.register(Hy), + Ny.register(b_), + Ny.register(E_), + Ny.register(v_), + Ny.register(zy), + Ny.register(Uy), + Ny.register(x_), + Ny.register(D_), + Ny.register(P_), + Ny.register(Gy), + Ny.register(Vy), + Ny.register(T_), + Ny.register(Zy), + Ny.register($y), + Ny.register(Wy), + Ny.register(qy), + Ny.register(Yy), + Ny.register(Ky), + Ny.register(Xy), + Ny.register(Qy), + Ny.register(K_), + Ny.register(Jy), + Ny.register(eS), + Ny.register(tS), + Ny.register(nS), + Ny.register(aS), + Ny.register(rS), + Ny.register(iS), + Ny.register(oS), + Ny.register(sS), + Ny.register(lS), + Ny.register(cS), + Ny.register(dS), + Ny.register(uS), + Ny.register(pS), + Ny.register(hS), + Ny.register(mS), + Ny.register(gS), + Ny.register(fS), + Ny.register(bS), + Ny.register(ES), + Ny.register(vS), + Ny.register(xS), + Ny.register(TS), + Ny.register(_S), + Ny.register(yS), + Ny.register(G_), + Ny.register(SS), + Ny.register(wS), + Ny.register(AS), + Ny.register(CS), + Ny.register(NS), + Ny.register(IS), + Ny.register(RS), + Ny.register(kS), + Ny.register(OS), + Ny.register(LS), + Ny.register(S_), + Ny.register(F_), + Ny.register(MS), + Ny.register(DS), + Ny.register(PS), + Ny.register(jS), + Ny.register(BS), + Ny.register(FS), + Ny.register(HS), + Ny.register(zS), + Ny.register(US), + Ny.register(GS), + Ny.register(L_), + Ny.register(VS), + Ny.register(ZS), + Ny.register($S), + Ny.register(WS), + Ny.register(qS), + Ny.register(YS), + Ny.register(KS), + Ny.register(XS), + Ny.register(QS), + Ny.register(JS), + Ny.register(ew), + Ny.register(tw), + Ny.register(nw), + Ny.register(aw), + Ny.register(rw), + Ny.register(iw), + Ny.register(ow), + Ny.register(sw), + Ny.register(lw), + Ny.register(cw), + Ny.register(dw), + Ny.register(uw), + Ny.register(w_), + Ny.register(pw), + Ny.register(hw), + Ny.register(mw), + Ny.register(gw), + Ny.register(O_), + Ny.register($_), + Ny.register(fw), + Ny.register(bw), + Ny.register(Ew), + Ny.register(vw), + Ny.register(xw), + Ny.register(Tw), + Ny.register(_w), + Ny.register(yw), + Ny.register(Sw), + Ny.register(ww), + Ny.register(R_), + Ny.register(Aw), + Ny.register(Cw), + Ny.register(Nw), + Ny.register(Iw), + Ny.register(Rw), + Ny.register(kw), + Ny.register(Ow), + Ny.register(Lw), + Ny.register(A_), + Ny.register(Mw), + Ny.register(Dw), + Ny.register(C_), + Ny.register(H_), + Ny.register(Pw), + Ny.register(jw), + Ny.register(Bw), + Ny.register(Fw), + Ny.register(Hw), + Ny.register(zw), + Ny.register(Uw), + Ny.register(Gw), + Ny.register(Y_), + Ny.register(Vw), + Ny.register(Zw), + Ny.register($w), + Ny.register(Ww), + Ny.register(qw), + Ny.register(Yw), + Ny.register(Kw), + Ny.register(Xw), + Ny.register(Qw), + Ny.register(k_), + Ny.register(Jw), + Ny.register(eA), + Ny.register(tA), + Ny.register(nA), + Ny.register(aA), + Ny.register(rA), + Ny.register(iA), + Ny.register(oA), + Ny.register(sA), + Ny.register(lA), + Ny.register(cA), + Ny.register(dA), + Ny.register(uA), + Ny.register(M_), + Ny.register(pA), + Ny.register(hA), + Ny.register(mA), + Ny.register(gA), + Ny.register(fA), + Ny.register(bA), + Ny.register(EA), + Ny.register(vA), + Ny.register(xA), + Ny.register(TA), + Ny.register(_A), + Ny.register(yA), + Ny.register(SA), + Ny.register(wA), + Ny.register(AA), + Ny.register(CA), + Ny.register(NA), + Ny.register(IA), + Ny.register(RA), + Ny.register(kA), + Ny.register(j_), + Ny.register(OA), + Ny.register(LA), + Ny.register(MA), + Ny.register(DA), + Ny.register(PA), + Ny.register(jA), + Ny.register(BA), + Ny.register(FA), + Ny.register(HA), + Ny.register(zA), + Ny.register(UA), + Ny.register(GA), + Ny.register(B_), + Ny.register(VA), + Ny.register(ZA), + Ny.register($A), + Ny.register(WA), + Ny.register(qA), + Ny.register(YA), + Ny.register(KA), + Ny.register(XA), + Ny.register(QA), + Ny.register(JA), + Ny.register(eC), + Ny.register(tC), + Ny.register(nC), + Ny.register(aC), + Ny.register(rC), + Ny.register(iC), + Ny.register(oC), + Ny.register(sC), + Ny.register(z_), + Ny.register(lC), + Ny.register(cC), + Ny.register(dC), + Ny.register(uC), + Ny.register(U_), + Ny.register(pC), + Ny.register(hC), + Ny.register(mC), + Ny.register(gC)); +(Ny.register(fC), + Ny.register(bC), + Ny.register(EC), + Ny.register(vC), + Ny.register(xC), + Ny.register(TC), + Ny.register(_C), + Ny.register(yC), + Ny.register(V_), + Ny.register(SC), + Ny.register(Z_), + Ny.register(wC), + Ny.register(AC), + Ny.register(CC), + Ny.register(NC), + Ny.register(IC), + Ny.register(RC), + Ny.register(kC), + Ny.register(OC), + Ny.register(LC), + Ny.register(MC), + Ny.register(DC), + Ny.register(PC), + Ny.register(jC), + Ny.register(BC), + Ny.register(FC), + Ny.register(HC), + Ny.register(zC), + Ny.register(q_), + Ny.register(UC), + Ny.register(GC), + Ny.register(VC), + Ny.register(X_), + Ny.register(ZC), + Ny.register($C), + Ny.register(WC), + Ny.register(qC), + Ny.register(YC), + Ny.register(KC), + Ny.register(XC), + Ny.register(QC), + Ny.register(JC), + Ny.register(eN), + Ny.register(tN), + Ny.register(nN), + Ny.register(aN), + Ny.register(rN), + Ny.register(iN), + Ny.register(oN), + Ny.register(sN), + Ny.register(lN), + Ny.register(cN), + Ny.register(dN), + Ny.register(uN), + Ny.register(pN), + Ny.register(hN), + Ny.register(mN), + Ny.register(gN), + Ny.register(fN), + Ny.register(bN), + Ny.register(EN), + Ny.register(vN)); +var SN = (function (e) { return function (t) { return ( void 0 === t && (t = {}), @@ -54633,7 +54580,7 @@ var RN = (function (e) { ((i = t), (o = n), (r = a), - p_( + o_( e, i, function (e, t) { @@ -54662,7 +54609,7 @@ var RN = (function (e) { var l, c, d = (function (e) { - for (var t, n = IN(e.properties.className); !(t = n()).done; ) { + for (var t, n = yN(e.properties.className); !(t = n()).done; ) { var a = t.value; if ("language-" === a.slice(0, 9)) return a.slice(9).toLowerCase(); @@ -54682,7 +54629,7 @@ var RN = (function (e) { var u, p; ((p = null != (u = d) && u.includes("diff-") ? d.split("-")[1] : d), - (l = e.highlight(h_(n), p)), + (l = e.highlight(s_(n), p)), (r.properties.className = (r.properties.className || []).concat( "language-" + p, ))); @@ -54706,7 +54653,7 @@ var RN = (function (e) { t.push(n)); else for ( - var i, o = a.split("\n"), s = IN(o.entries()); + var i, o = a.split("\n"), s = yN(o.entries()); !(i = s()).done; ) { @@ -54767,7 +54714,7 @@ var RN = (function (e) { .join(); if (t.test(n)) { var a = t.exec(n)[1], - r = T_(a); + r = g_(a); return function (e) { return r.includes(e + 1); }; @@ -54777,7 +54724,7 @@ var RN = (function (e) { }; })(s), g = (function (e) { - var t = AN(/showLineNumbers=(\d+)/i, { lines: 1 }); + var t = xN(/showLineNumbers=(\d+)/i, { lines: 1 }); if (t.test(e)) { var n = t.exec(e); return Number(n.groups.lines); @@ -54806,7 +54753,7 @@ var RN = (function (e) { r = a[0], i = a[1]; i.properties.className = ["code-line"]; - var o = b_(l, function (e) { + var o = u_(l, function (e) { return ( e.position.start.line <= r + 1 && e.position.end.line >= r + 1 @@ -54822,31 +54769,31 @@ var RN = (function (e) { i.properties.className.push("line-number")), m(r) && i.properties.className.push("highlight-line"), ("diff" === d || (null != (e = d) && e.includes("diff-"))) && - "-" === h_(i).substring(0, 1) + "-" === s_(i).substring(0, 1) ? i.properties.className.push("deleted") : ("diff" === d || (null != (n = d) && n.includes("diff-"))) && - "+" === h_(i).substring(0, 1) && + "+" === s_(i).substring(0, 1) && i.properties.className.push("inserted")); }, - v = IN(f.entries()); + v = yN(f.entries()); !(h = v()).done; ) E(); - (f.length > 0 && "" === h_(f[f.length - 1]).trim() && f.pop(), + (f.length > 0 && "" === s_(f[f.length - 1]).trim() && f.pop(), (n.children = f)); } } }; - })(My), - kN = ["rehypePlugins"], - ON = t.forwardRef((e, t) => { - var { rehypePlugins: n = [[RN, { ignoreMissing: !0 }]] } = e, - a = Mf(e, kN); - return k.jsx(r_, kf({}, a, { rehypePlugins: n, ref: t })); + })(Ny), + wN = ["rehypePlugins"], + AN = t.forwardRef((e, t) => { + var { rehypePlugins: n = [[SN, { ignoreMissing: !0 }]] } = e, + a = Nf(e, wN); + return k.jsx(QT, Kd({}, a, { rehypePlugins: n, ref: t })); }); -const LN = p.div(({ theme: e, editorHeight: t, sx: n }) => ({ +const CN = p.div(({ theme: e, editorHeight: t, sx: n }) => ({ "& .editorContainer": { maxHeight: t, overflow: "auto", @@ -54921,7 +54868,7 @@ const LN = p.div(({ theme: e, editorHeight: t, sx: n }) => ({ }, ...n, })), - MN = ({ + NN = ({ value: e, label: t = "", tooltip: n = "", @@ -54934,7 +54881,7 @@ const LN = p.div(({ theme: e, editorHeight: t, sx: n }) => ({ helpTip: c, helpTipPlacement: d, }) => - k.jsxs(LN, { + k.jsxs(CN, { sx: o, editorHeight: i, className: `codeEditor inputItem ${l}`, @@ -54946,7 +54893,7 @@ const LN = p.div(({ theme: e, editorHeight: t, sx: n }) => ({ children: [ k.jsx("span", { children: t }), "" !== n && - k.jsx(Am, { + k.jsx(Cm, { className: "tooltipContainer", children: k.jsx(Ei, { tooltip: n, @@ -54956,9 +54903,9 @@ const LN = p.div(({ theme: e, editorHeight: t, sx: n }) => ({ }), ], }), - k.jsx(Am, { + k.jsx(Cm, { className: "editorContainer", - children: k.jsx(ON, { + children: k.jsx(AN, { value: e, language: a, onChange: (e) => { @@ -54969,10 +54916,10 @@ const LN = p.div(({ theme: e, editorHeight: t, sx: n }) => ({ className: "mds-editor", }), }), - s && k.jsx(Am, { className: "actionsContainer", children: s }), + s && k.jsx(Cm, { className: "actionsContainer", children: s }), ], }), - DN = p.span(({ theme: e, color: t, variant: n, square: a, sx: r }) => ({ + IN = p.span(({ theme: e, color: t, variant: n, square: a, sx: r }) => ({ position: "relative", margin: 0, userSelect: "none", @@ -55031,7 +54978,7 @@ const LN = p.div(({ theme: e, editorHeight: t, sx: n }) => ({ }, ...r, })), - PN = ({ + RN = ({ children: e, color: t = "default", sx: n, @@ -55043,7 +54990,7 @@ const LN = p.div(({ theme: e, editorHeight: t, sx: n }) => ({ square: l = !1, ...c }) => - k.jsxs(DN, { + k.jsxs(IN, { id: r, color: t, sx: n, @@ -55061,7 +55008,7 @@ const LN = p.div(({ theme: e, editorHeight: t, sx: n }) => ({ }), ], }), - jN = p.button(({ theme: e, sx: t }) => ({ + kN = p.button(({ theme: e, sx: t }) => ({ cursor: "pointer", display: "inline-flex", backgroundColor: "transparent", @@ -55073,15 +55020,15 @@ const LN = p.div(({ theme: e, editorHeight: t, sx: n }) => ({ "&:hover": { textDecoration: "underline" }, ...t, })), - BN = ({ label: e = "", isLoading: t = !1, sx: a, children: r, ...i }) => - k.jsx(jN, { + ON = ({ label: e = "", isLoading: t = !1, sx: a, children: r, ...i }) => + k.jsx(kN, { ...i, sx: a, children: t ? k.jsx(li, { style: { width: 16, height: 16 } }) : k.jsxs(n, { children: [e, r] }), }), - FN = p.div(({ theme: e, sx: t, direction: n }) => ({ + LN = p.div(({ theme: e, sx: t, direction: n }) => ({ display: "flex", flexDirection: n, gap: "row" === n ? 5 : 2, @@ -55090,23 +55037,23 @@ const LN = p.div(({ theme: e, editorHeight: t, sx: n }) => ({ [`@media (max-width: ${Oa(E, "md", 0)}px)`]: { flexDirection: "column" }, ...t, })), - HN = ({ value: e = null, label: t = "-", direction: n = "column", sx: a }) => - k.jsxs(FN, { + MN = ({ value: e = null, label: t = "-", direction: n = "column", sx: a }) => + k.jsxs(LN, { sx: a, direction: n, children: [ - k.jsx(Am, { className: "label", children: t }), - k.jsx(Am, { className: "value", children: e }), + k.jsx(Cm, { className: "label", children: t }), + k.jsx(Cm, { className: "value", children: e }), ], }), - zN = { + DN = { blue: "main", red: "danger", green: "good", orange: "warning", grey: "disabled", }, - UN = p.div( + PN = p.div( ({ theme: e, sx: t, color: n, barHeight: a, transparentBG: r }) => ({ "& .progBlock": { display: "flex", alignItems: "center", gap: 10 }, "& .progressContainer": { @@ -55119,19 +55066,19 @@ const LN = p.div(({ theme: e, editorHeight: t, sx: n }) => ({ }, "& .notificationLabel": { fontSize: 12, - color: Oa(e, `signalColors.${zN[n || "blue"]}`, U), + color: Oa(e, `signalColors.${DN[n || "blue"]}`, U), }, "& .percentageBar": { display: "block", height: a, - backgroundColor: Oa(e, `signalColors.${zN[n || "blue"]}`, U), + backgroundColor: Oa(e, `signalColors.${DN[n || "blue"]}`, U), transitionDuration: "0.1s", borderRadius: a, }, ...t, }), ), - GN = g`0% { + jN = g`0% { left: -100px; visibility: visible; width: 100px; @@ -55146,16 +55093,16 @@ const LN = p.div(({ theme: e, editorHeight: t, sx: n }) => ({ visibility: hidden; width: 100px; }`, - VN = p.div` + BN = p.div` width: 100px; height: ${(e) => Oa(e, "barHeight", 8)}px; display: block; position: absolute; border-radius: ${(e) => Oa(e, "barHeight", 8)}px; - animation: ${GN} 1000ms linear infinite normal forwards; - background-color: ${(e) => Oa(e.theme, `signalColors.${zN[e.color || "blue"]}`, U)}; + animation: ${jN} 1000ms linear infinite normal forwards; + background-color: ${(e) => Oa(e.theme, `signalColors.${DN[e.color || "blue"]}`, U)}; `, - ZN = ({ + FN = ({ progressLabel: e = !1, sx: t, value: n = 0, @@ -55167,21 +55114,21 @@ const LN = p.div(({ theme: e, editorHeight: t, sx: n }) => ({ transparentBG: l = !1, }) => { const c = (100 * n) / a; - return k.jsxs(UN, { + return k.jsxs(PN, { color: o, sx: t, barHeight: s, transparentBG: l, children: [ - k.jsxs(Am, { + k.jsxs(Cm, { className: "progBlock", children: [ - k.jsx(Am, { + k.jsx(Cm, { className: "progressContainer", children: "indeterminate" === r - ? k.jsx(VN, { color: o, barHeight: s }) - : k.jsx(Am, { + ? k.jsx(BN, { color: o, barHeight: s }) + : k.jsx(Cm, { className: "percentageBar", style: { width: `${c}%` }, }), @@ -55199,7 +55146,7 @@ const LN = p.div(({ theme: e, editorHeight: t, sx: n }) => ({ ], }); }, - $N = p.div(({ theme: e, error: t, sx: n }) => ({ + HN = p.div(({ theme: e, error: t, sx: n }) => ({ display: "flex", flexGrow: 1, width: "100%", @@ -55234,7 +55181,7 @@ const LN = p.div(({ theme: e, editorHeight: t, sx: n }) => ({ "& .fileReselect": { display: "flex", alignItems: "center", gap: 12 }, ...n, })), - WN = ({ + zN = ({ label: e, onChange: t, id: n, @@ -55253,7 +55200,7 @@ const LN = p.div(({ theme: e, editorHeight: t, sx: n }) => ({ helpTipPlacement: f, }) => { const b = o(null); - return k.jsxs($N, { + return k.jsxs(HN, { error: !!l && "" !== l, sx: m, className: `inputItem ${u}`, @@ -55269,12 +55216,12 @@ const LN = p.div(({ theme: e, editorHeight: t, sx: n }) => ({ e, s ? "*" : "", "" !== i && - k.jsx(Am, { + k.jsx(Cm, { className: "tooltipContainer", children: k.jsx(Ei, { tooltip: i, placement: "top", - children: k.jsx(Am, { + children: k.jsx(Cm, { className: i, children: k.jsx(vo, {}), }), @@ -55282,7 +55229,7 @@ const LN = p.div(({ theme: e, editorHeight: t, sx: n }) => ({ }), ], }), - k.jsxs(Am, { + k.jsxs(Cm, { children: [ k.jsx("input", { type: "file", @@ -55312,7 +55259,7 @@ const LN = p.div(({ theme: e, editorHeight: t, sx: n }) => ({ className: "fileInputField", ref: b, }), - k.jsxs(Am, { + k.jsxs(Cm, { className: "fileReselect", children: [ "" !== d && @@ -55330,13 +55277,13 @@ const LN = p.div(({ theme: e, editorHeight: t, sx: n }) => ({ }), ], }), - "" !== l && k.jsx(Am, { className: "errorText", children: l }), + "" !== l && k.jsx(Cm, { className: "errorText", children: l }), ], }), ], }); }, - qN = p.svg( + UN = p.svg( ({ theme: e, usedBytes: t, totalBytes: n, chartLabel: a, sx: r }) => { const i = (100 * t) / n; let o = Oa(e, "signalColors.main", U); @@ -55369,7 +55316,7 @@ const LN = p.div(({ theme: e, editorHeight: t, sx: n }) => ({ ); }, ), - YN = ({ + GN = ({ width: e = "150", height: t = "150", usedBytes: n, @@ -55405,7 +55352,7 @@ const LN = p.div(({ theme: e, editorHeight: t, sx: n }) => ({ (d.current.style.strokeDashoffset = "" + (100 - r + 25))); }, [n, a])); const u = T(n); - return k.jsxs(qN, { + return k.jsxs(UN, { width: e, height: t, viewBox: "0 0 42 42", @@ -55458,7 +55405,7 @@ const LN = p.div(({ theme: e, editorHeight: t, sx: n }) => ({ ], }); }, - KN = p.div(({ theme: e, sx: t, open: n, variant: a, condensed: r }) => ({ + VN = p.div(({ theme: e, sx: t, open: n, variant: a, condensed: r }) => ({ position: "fixed", width: r ? "auto" : "100vw", maxWidth: r ? 350 : "100vw", @@ -55489,7 +55436,7 @@ const LN = p.div(({ theme: e, editorHeight: t, sx: n }) => ({ }, ...t, })), - XN = p.button(({ theme: e, variant: t, condensed: n }) => ({ + ZN = p.button(({ theme: e, variant: t, condensed: n }) => ({ backgroundColor: n ? "transparent" : "#00000030", color: Oa(e, `snackbar.${t}.labelColor`, O), display: "flex", @@ -55508,7 +55455,7 @@ const LN = p.div(({ theme: e, editorHeight: t, sx: n }) => ({ "&:hover": { backgroundColor: n ? "transparent" : "#00000040" }, "& svg": { width: n ? 10 : 12, height: n ? 10 : 12 }, })), - QN = ({ + $N = ({ autoHideDuration: e = 5, message: t = "", open: n, @@ -55536,7 +55483,7 @@ const LN = p.div(({ theme: e, editorHeight: t, sx: n }) => ({ p && clearTimeout(m.current); }, [p])); if (!n || "" === t) return null; - const g = k.jsxs(KN, { + const g = k.jsxs(VN, { open: n, variant: s, sx: d, @@ -55544,9 +55491,9 @@ const LN = p.div(({ theme: e, editorHeight: t, sx: n }) => ({ onMouseLeave: () => h(!1), condensed: l, children: [ - k.jsx(Am, { className: "messageTruncation", children: t }), + k.jsx(Cm, { className: "messageTruncation", children: t }), c && - k.jsx(XN, { + k.jsx(ZN, { variant: s, condensed: l, onClick: () => { @@ -55558,12 +55505,12 @@ const LN = p.div(({ theme: e, editorHeight: t, sx: n }) => ({ }); return "portal" === u ? b(g, document.body) : g; }, - JN = p.div(({ theme: e, sx: t }) => ({ + WN = p.div(({ theme: e, sx: t }) => ({ border: `1px solid ${Oa(e, "borderColor", D)}`, borderRadius: 2, ...t, })), - eI = p.div(({ theme: e }) => ({ + qN = p.div(({ theme: e }) => ({ display: "flex", alignItems: "center", justifyContent: "space-between", @@ -55578,7 +55525,7 @@ const LN = p.div(({ theme: e, editorHeight: t, sx: n }) => ({ }, "&:not(.disabled):hover": { backgroundColor: Oa(e, "boxBackground", P) }, })), - tI = p.div(({ theme: e, expanded: t }) => ({ + YN = p.div(({ theme: e, expanded: t }) => ({ borderTop: t ? `1px solid ${Oa(e, "borderColor", D)}` : "0", display: "grid", gridTemplateRows: t ? "1fr" : "0fr", @@ -55589,7 +55536,7 @@ const LN = p.div(({ theme: e, editorHeight: t, sx: n }) => ({ transition: t ? "initial" : "250ms padding ease 150ms", }, })), - nI = ({ + KN = ({ title: e, expanded: t, children: n, @@ -55598,23 +55545,23 @@ const LN = p.div(({ theme: e, editorHeight: t, sx: n }) => ({ id: i, sx: o, }) => - k.jsxs(JN, { + k.jsxs(WN, { id: i, sx: o, children: [ - k.jsxs(eI, { + k.jsxs(qN, { onClick: () => (r ? null : a()), className: "accordionTitle " + (r ? "disabled" : ""), children: [e, t ? k.jsx(wl, {}) : k.jsx(Al, {})], }), - k.jsx(tI, { + k.jsx(YN, { className: "accordionContent", expanded: t, - children: k.jsx(Am, { className: "expandSubContainer", children: n }), + children: k.jsx(Cm, { className: "expandSubContainer", children: n }), }), ], }), - aI = p.input(({ theme: e }) => { + XN = p.input(({ theme: e }) => { let t = Oa(e, "inputBox.border", "#E2E2E2"), n = Oa(e, "inputBox.hoverBorder", "#000110"); return { @@ -55652,7 +55599,7 @@ const LN = p.div(({ theme: e, editorHeight: t, sx: n }) => ({ "&.withIcon": { paddingLeft: 38 }, }; }), - rI = p.div(({ theme: e, error: t, sx: n }) => ({ + QN = p.div(({ theme: e, error: t, sx: n }) => ({ display: "flex", flexGrow: 1, width: "100%", @@ -55694,7 +55641,7 @@ const LN = p.div(({ theme: e, editorHeight: t, sx: n }) => ({ }, ...n, })), - iI = ({ + JN = ({ id: e, label: i = "", required: o, @@ -55731,7 +55678,7 @@ const LN = p.div(({ theme: e, editorHeight: t, sx: n }) => ({ null !== N && ((null === (x = p[N]) || void 0 === x ? void 0 : x.icon) || (null === (T = p[N]) || void 0 === T ? void 0 : T.indicator)); - return k.jsxs(rI, { + return k.jsxs(QN, { sx: u, className: `inputItem ${s}`, onKeyDown: () => { @@ -55749,12 +55696,12 @@ const LN = p.div(({ theme: e, editorHeight: t, sx: n }) => ({ i, o ? "*" : "", "" !== l && - k.jsx(Am, { + k.jsx(Cm, { className: "tooltipContainer", children: k.jsx(Ei, { tooltip: l, placement: "top", - children: k.jsx(Am, { + children: k.jsx(Cm, { className: l, children: k.jsx(vo, {}), }), @@ -55762,7 +55709,7 @@ const LN = p.div(({ theme: e, editorHeight: t, sx: n }) => ({ }), ], }), - k.jsxs(Am, { + k.jsxs(Cm, { id: `${e}-Autocomplete`, className: "AutocompleteContainer", onClick: (e) => { @@ -55770,7 +55717,7 @@ const LN = p.div(({ theme: e, editorHeight: t, sx: n }) => ({ }, children: [ P && - k.jsx(Am, { + k.jsx(Cm, { className: "iconOption", children: ( null === (_ = p[N]) || void 0 === _ ? void 0 : _.indicator @@ -55780,7 +55727,7 @@ const LN = p.div(({ theme: e, editorHeight: t, sx: n }) => ({ : y.indicator : p[N].icon, }), - k.jsx(aI, { + k.jsx(XN, { disabled: m, id: e, name: g, @@ -55792,14 +55739,14 @@ const LN = p.div(({ theme: e, editorHeight: t, sx: n }) => ({ className: "" + (P ? "withIcon" : ""), }), v && - k.jsx(Am, { + k.jsx(Cm, { className: "overlayArrow", children: k.jsx(n, { children: S ? k.jsx(wl, {}) : k.jsx(Al, {}), }), }), S && - k.jsx(kg, { + k.jsx(Og, { id: `${e}-options-Autocomplete`, options: D, selectedOption: d, @@ -55821,7 +55768,7 @@ const LN = p.div(({ theme: e, editorHeight: t, sx: n }) => ({ ], }); }, - oI = p.span( + eI = p.span( ({ theme: e, sx: t, @@ -55859,7 +55806,7 @@ const LN = p.div(({ theme: e, editorHeight: t, sx: n }) => ({ ...t, }), ), - sI = ({ + tI = ({ sx: e, children: t, horizontalPosition: a = "right", @@ -55873,7 +55820,7 @@ const LN = p.div(({ theme: e, editorHeight: t, sx: n }) => ({ badgeContent: u = 0, ...p }) => - k.jsxs(oI, { + k.jsxs(eI, { horizontalPosition: a, verticalPosition: r, color: i, @@ -55891,7 +55838,7 @@ const LN = p.div(({ theme: e, editorHeight: t, sx: n }) => ({ }), ], }), - lI = p.div(({ theme: e }) => ({ + nI = p.div(({ theme: e }) => ({ display: "flex", flexDirection: "column", flex: 1, @@ -55928,17 +55875,17 @@ const LN = p.div(({ theme: e, editorHeight: t, sx: n }) => ({ marginRight: 15, }, })), - cI = ({ page: e, pageChange: t, loadingStep: n, forModal: a }) => - k.jsxs(lI, { + aI = ({ page: e, pageChange: t, loadingStep: n, forModal: a }) => + k.jsxs(nI, { children: [ - k.jsx(Am, { + k.jsx(Cm, { className: a ? "wizardModal" : "wizardComponent", children: e.componentRender, }), - n && k.jsx(Am, { children: k.jsx(li, {}) }), - k.jsx(Am, { + n && k.jsx(Cm, { children: k.jsx(li, {}) }), + k.jsx(Cm, { className: "buttonsContainer " + (a ? "forModal" : ""), - children: k.jsx(Am, { + children: k.jsx(Cm, { className: "buttonInnerContainer", children: e.buttons.map((n) => n.componentRender @@ -55973,7 +55920,7 @@ const LN = p.div(({ theme: e, editorHeight: t, sx: n }) => ({ }), ], }), - dI = p.div(({ theme: e, sx: t, forModal: n }) => ({ + rI = p.div(({ theme: e, sx: t, forModal: n }) => ({ position: n ? "relative" : "initial", display: "flex", flexDirection: n ? "column" : "row", @@ -56049,7 +55996,7 @@ const LN = p.div(({ theme: e, editorHeight: t, sx: n }) => ({ }, ...t, })), - uI = ({ + iI = ({ wizardSteps: e, loadingStep: t, forModal: r, @@ -56073,7 +56020,7 @@ const LN = p.div(({ theme: e, editorHeight: t, sx: n }) => ({ } }; if (0 === e.length) return null; - return k.jsxs(dI, { + return k.jsxs(rI, { forModal: r, sx: o, children: [ @@ -56148,7 +56095,7 @@ const LN = p.div(({ theme: e, editorHeight: t, sx: n }) => ({ lg: r ? 12 : 10, xl: r ? 12 : 10, className: r ? "" : "paddedContentGrid", - children: k.jsx(cI, { + children: k.jsx(aI, { page: e[s], pageChange: c, loadingStep: t, @@ -56158,7 +56105,7 @@ const LN = p.div(({ theme: e, editorHeight: t, sx: n }) => ({ ], }); }, - pI = p.div(({ theme: e, sx: t, variant: n }) => ({ + oI = p.div(({ theme: e, sx: t, variant: n }) => ({ backgroundColor: Oa(e, `informativeMessage.${n}.backgroundColor`, U), border: `1px solid ${Oa(e, `informativeMessage.${n}.borderColor`, U)}`, borderRadius: 3, @@ -56175,8 +56122,8 @@ const LN = p.div(({ theme: e, editorHeight: t, sx: n }) => ({ }, ...t, })), - hI = ({ title: e, message: t, sx: n, variant: a = "default", ...r }) => - k.jsxs(pI, { + sI = ({ title: e, message: t, sx: n, variant: a = "default", ...r }) => + k.jsxs(oI, { sx: n, variant: a, className: "informative-message", @@ -56185,117 +56132,117 @@ const LN = p.div(({ theme: e, editorHeight: t, sx: n }) => ({ k.jsx("div", { className: "messageText", children: t }), ], }); -class mI extends Error {} -class gI extends mI { +class lI extends Error {} +class cI extends lI { constructor(e) { super(`Invalid DateTime: ${e.toMessage()}`); } } -class fI extends mI { +class dI extends lI { constructor(e) { super(`Invalid Interval: ${e.toMessage()}`); } } -class bI extends mI { +class uI extends lI { constructor(e) { super(`Invalid Duration: ${e.toMessage()}`); } } -class EI extends mI {} -class vI extends mI { +class pI extends lI {} +class hI extends lI { constructor(e) { super(`Invalid unit ${e}`); } } -class xI extends mI {} -class TI extends mI { +class mI extends lI {} +class gI extends lI { constructor() { super("Zone is an abstract class"); } } -const _I = "numeric", - yI = "short", - SI = "long", - wI = { year: _I, month: _I, day: _I }, - AI = { year: _I, month: yI, day: _I }, - CI = { year: _I, month: yI, day: _I, weekday: yI }, - NI = { year: _I, month: SI, day: _I }, - II = { year: _I, month: SI, day: _I, weekday: SI }, - RI = { hour: _I, minute: _I }, - kI = { hour: _I, minute: _I, second: _I }, - OI = { hour: _I, minute: _I, second: _I, timeZoneName: yI }, - LI = { hour: _I, minute: _I, second: _I, timeZoneName: SI }, - MI = { hour: _I, minute: _I, hourCycle: "h23" }, - DI = { hour: _I, minute: _I, second: _I, hourCycle: "h23" }, - PI = { hour: _I, minute: _I, second: _I, hourCycle: "h23", timeZoneName: yI }, - jI = { hour: _I, minute: _I, second: _I, hourCycle: "h23", timeZoneName: SI }, - BI = { year: _I, month: _I, day: _I, hour: _I, minute: _I }, - FI = { year: _I, month: _I, day: _I, hour: _I, minute: _I, second: _I }, - HI = { year: _I, month: yI, day: _I, hour: _I, minute: _I }, - zI = { year: _I, month: yI, day: _I, hour: _I, minute: _I, second: _I }, - UI = { year: _I, month: yI, day: _I, weekday: yI, hour: _I, minute: _I }, - GI = { year: _I, month: SI, day: _I, hour: _I, minute: _I, timeZoneName: yI }, - VI = { - year: _I, - month: SI, - day: _I, - hour: _I, - minute: _I, - second: _I, - timeZoneName: yI, +const fI = "numeric", + bI = "short", + EI = "long", + vI = { year: fI, month: fI, day: fI }, + xI = { year: fI, month: bI, day: fI }, + TI = { year: fI, month: bI, day: fI, weekday: bI }, + _I = { year: fI, month: EI, day: fI }, + yI = { year: fI, month: EI, day: fI, weekday: EI }, + SI = { hour: fI, minute: fI }, + wI = { hour: fI, minute: fI, second: fI }, + AI = { hour: fI, minute: fI, second: fI, timeZoneName: bI }, + CI = { hour: fI, minute: fI, second: fI, timeZoneName: EI }, + NI = { hour: fI, minute: fI, hourCycle: "h23" }, + II = { hour: fI, minute: fI, second: fI, hourCycle: "h23" }, + RI = { hour: fI, minute: fI, second: fI, hourCycle: "h23", timeZoneName: bI }, + kI = { hour: fI, minute: fI, second: fI, hourCycle: "h23", timeZoneName: EI }, + OI = { year: fI, month: fI, day: fI, hour: fI, minute: fI }, + LI = { year: fI, month: fI, day: fI, hour: fI, minute: fI, second: fI }, + MI = { year: fI, month: bI, day: fI, hour: fI, minute: fI }, + DI = { year: fI, month: bI, day: fI, hour: fI, minute: fI, second: fI }, + PI = { year: fI, month: bI, day: fI, weekday: bI, hour: fI, minute: fI }, + jI = { year: fI, month: EI, day: fI, hour: fI, minute: fI, timeZoneName: bI }, + BI = { + year: fI, + month: EI, + day: fI, + hour: fI, + minute: fI, + second: fI, + timeZoneName: bI, }, - ZI = { - year: _I, - month: SI, - day: _I, - weekday: SI, - hour: _I, - minute: _I, - timeZoneName: SI, + FI = { + year: fI, + month: EI, + day: fI, + weekday: EI, + hour: fI, + minute: fI, + timeZoneName: EI, }, - $I = { - year: _I, - month: SI, - day: _I, - weekday: SI, - hour: _I, - minute: _I, - second: _I, - timeZoneName: SI, + HI = { + year: fI, + month: EI, + day: fI, + weekday: EI, + hour: fI, + minute: fI, + second: fI, + timeZoneName: EI, }; -class WI { +class zI { get type() { - throw new TI(); + throw new gI(); } get name() { - throw new TI(); + throw new gI(); } get ianaName() { return this.name; } get isUniversal() { - throw new TI(); + throw new gI(); } offsetName(e, t) { - throw new TI(); + throw new gI(); } formatOffset(e, t) { - throw new TI(); + throw new gI(); } offset(e) { - throw new TI(); + throw new gI(); } equals(e) { - throw new TI(); + throw new gI(); } get isValid() { - throw new TI(); + throw new gI(); } } -let qI = null; -class YI extends WI { +let UI = null; +class GI extends zI { static get instance() { - return (null === qI && (qI = new YI()), qI); + return (null === UI && (UI = new GI()), UI); } get type() { return "system"; @@ -56307,10 +56254,10 @@ class YI extends WI { return !1; } offsetName(e, { format: t, locale: n }) { - return gk(e, t, n); + return ck(e, t, n); } formatOffset(e, t) { - return vk(this.offset(e), t); + return hk(this.offset(e), t); } offset(e) { return -new Date(e).getTimezoneOffset(); @@ -56322,16 +56269,16 @@ class YI extends WI { return !0; } } -const KI = new Map(); -const XI = { year: 0, month: 1, day: 2, era: 3, hour: 4, minute: 5, second: 6 }; -const QI = new Map(); -class JI extends WI { +const VI = new Map(); +const ZI = { year: 0, month: 1, day: 2, era: 3, hour: 4, minute: 5, second: 6 }; +const $I = new Map(); +class WI extends zI { static create(e) { - let t = QI.get(e); - return (void 0 === t && QI.set(e, (t = new JI(e))), t); + let t = $I.get(e); + return (void 0 === t && $I.set(e, (t = new WI(e))), t); } static resetCache() { - (QI.clear(), KI.clear()); + ($I.clear(), VI.clear()); } static isValidSpecifier(e) { return this.isValidZone(e); @@ -56345,7 +56292,7 @@ class JI extends WI { } } constructor(e) { - (super(), (this.zoneName = e), (this.valid = JI.isValidZone(e))); + (super(), (this.zoneName = e), (this.valid = WI.isValidZone(e))); } get type() { return "iana"; @@ -56357,17 +56304,17 @@ class JI extends WI { return !1; } offsetName(e, { format: t, locale: n }) { - return gk(e, t, n, this.name); + return ck(e, t, n, this.name); } formatOffset(e, t) { - return vk(this.offset(e), t); + return hk(this.offset(e), t); } offset(e) { if (!this.valid) return NaN; const t = new Date(e); if (isNaN(t)) return NaN; const n = (function (e) { - let t = KI.get(e); + let t = VI.get(e); return ( void 0 === t && ((t = new Intl.DateTimeFormat("en-US", { @@ -56381,7 +56328,7 @@ class JI extends WI { second: "2-digit", era: "short", })), - KI.set(e, t)), + VI.set(e, t)), t ); })(this.name); @@ -56391,8 +56338,8 @@ class JI extends WI { a = []; for (let e = 0; e < n.length; e++) { const { type: t, value: r } = n[e], - i = XI[t]; - "era" === t ? (a[i] = r) : qR(i) || (a[i] = parseInt(r, 10)); + i = ZI[t]; + "era" === t ? (a[i] = r) : UR(i) || (a[i] = parseInt(r, 10)); } return a; })(n, t) @@ -56407,7 +56354,7 @@ class JI extends WI { const u = d % 1e3; return ( (d -= u >= 0 ? u : 1e3 + u), - (uk({ + (ik({ year: a, month: r, day: i, @@ -56427,34 +56374,34 @@ class JI extends WI { return this.valid; } } -let eR = {}; -const tR = new Map(); -function nR(e, t = {}) { +let qI = {}; +const YI = new Map(); +function KI(e, t = {}) { const n = JSON.stringify([e, t]); - let a = tR.get(n); + let a = YI.get(n); return ( - void 0 === a && ((a = new Intl.DateTimeFormat(e, t)), tR.set(n, a)), + void 0 === a && ((a = new Intl.DateTimeFormat(e, t)), YI.set(n, a)), a ); } -const aR = new Map(); -const rR = new Map(); -let iR = null; -const oR = new Map(); -function sR(e) { - let t = oR.get(e); +const XI = new Map(); +const QI = new Map(); +let JI = null; +const eR = new Map(); +function tR(e) { + let t = eR.get(e); return ( void 0 === t && - ((t = new Intl.DateTimeFormat(e).resolvedOptions()), oR.set(e, t)), + ((t = new Intl.DateTimeFormat(e).resolvedOptions()), eR.set(e, t)), t ); } -const lR = new Map(); -function cR(e, t, n, a) { +const nR = new Map(); +function aR(e, t, n, a) { const r = e.listingMode(); return "error" === r ? null : "en" === r ? n(t) : a(t); } -class dR { +class rR { constructor(e, t, n) { ((this.padTo = n.padTo || 0), (this.floor = n.floor || !1)); const { padTo: a, floor: r, ...i } = n; @@ -56463,9 +56410,9 @@ class dR { (n.padTo > 0 && (t.minimumIntegerDigits = n.padTo), (this.inf = (function (e, t = {}) { const n = JSON.stringify([e, t]); - let a = aR.get(n); + let a = XI.get(n); return ( - void 0 === a && ((a = new Intl.NumberFormat(e, t)), aR.set(n, a)), + void 0 === a && ((a = new Intl.NumberFormat(e, t)), XI.set(n, a)), a ); })(e, t))); @@ -56476,10 +56423,10 @@ class dR { const t = this.floor ? Math.floor(e) : e; return this.inf.format(t); } - return ak(this.floor ? Math.floor(e) : sk(e, 3), this.padTo); + return XR(this.floor ? Math.floor(e) : tk(e, 3), this.padTo); } } -class uR { +class iR { constructor(e, t, n) { let a; if (((this.opts = n), (this.originalZone = void 0), this.opts.timeZone)) @@ -56487,7 +56434,7 @@ class uR { else if ("fixed" === e.zone.type) { const t = (e.offset / 60) * -1, n = t >= 0 ? `Etc/GMT+${t}` : `Etc/GMT${t}`; - 0 !== e.offset && JI.create(n).valid + 0 !== e.offset && WI.create(n).valid ? ((a = n), (this.dt = e)) : ((a = "UTC"), (this.dt = @@ -56502,7 +56449,7 @@ class uR { (this.dt = e.setZone("UTC").plus({ minutes: e.offset })), (this.originalZone = e.zone)); const r = { ...this.opts }; - ((r.timeZone = r.timeZone || a), (this.dtf = nR(t, r))); + ((r.timeZone = r.timeZone || a), (this.dtf = KI(t, r))); } format() { return this.originalZone @@ -56530,18 +56477,18 @@ class uR { return this.dtf.resolvedOptions(); } } -class pR { +class oR { constructor(e, t, n) { ((this.opts = { style: "long", ...n }), !t && - XR() && + ZR() && (this.rtf = (function (e, t = {}) { const { base: n, ...a } = t, r = JSON.stringify([e, a]); - let i = rR.get(r); + let i = QI.get(r); return ( void 0 === i && - ((i = new Intl.RelativeTimeFormat(e, t)), rR.set(r, i)), + ((i = new Intl.RelativeTimeFormat(e, t)), QI.set(r, i)), i ); })(e, n))); @@ -56584,10 +56531,10 @@ class pR { return this.rtf ? this.rtf.formatToParts(e, t) : []; } } -const hR = { firstDay: 1, minimalDays: 4, weekend: [6, 7] }; -class mR { +const sR = { firstDay: 1, minimalDays: 4, weekend: [6, 7] }; +class lR { static fromOpts(e) { - return mR.create( + return lR.create( e.locale, e.numberingSystem, e.outputCalendar, @@ -56596,20 +56543,20 @@ class mR { ); } static create(e, t, n, a, r = !1) { - const i = e || OR.defaultLocale, + const i = e || AR.defaultLocale, o = i || (r ? "en-US" - : iR || - ((iR = new Intl.DateTimeFormat().resolvedOptions().locale), iR)), - s = t || OR.defaultNumberingSystem, - l = n || OR.defaultOutputCalendar, - c = tk(a) || OR.defaultWeekSettings; - return new mR(o, s, l, c, i); + : JI || + ((JI = new Intl.DateTimeFormat().resolvedOptions().locale), JI)), + s = t || AR.defaultNumberingSystem, + l = n || AR.defaultOutputCalendar, + c = YR(a) || AR.defaultWeekSettings; + return new lR(o, s, l, c, i); } static resetCache() { - ((iR = null), tR.clear(), aR.clear(), rR.clear(), oR.clear(), lR.clear()); + ((JI = null), YI.clear(), XI.clear(), QI.clear(), eR.clear(), nR.clear()); } static fromObject({ locale: e, @@ -56617,7 +56564,7 @@ class mR { outputCalendar: n, weekSettings: a, } = {}) { - return mR.create(e, t, n, a); + return lR.create(e, t, n, a); } constructor(e, t, n, a, r) { const [i, o, s] = (function (e) { @@ -56628,10 +56575,10 @@ class mR { { let t, a; try { - ((t = nR(e).resolvedOptions()), (a = e)); + ((t = KI(e).resolvedOptions()), (a = e)); } catch (r) { const i = e.substring(0, n); - ((t = nR(i).resolvedOptions()), (a = i)); + ((t = KI(i).resolvedOptions()), (a = i)); } const { numberingSystem: r, calendar: i } = t; return [a, r, i]; @@ -56665,7 +56612,7 @@ class mR { ("latn" === e.numberingSystem || !e.locale || e.locale.startsWith("en") || - "latn" === sR(e.locale).numberingSystem)), + "latn" === tR(e.locale).numberingSystem)), this.fastNumbersCached ); } @@ -56679,11 +56626,11 @@ class mR { } clone(e) { return e && 0 !== Object.getOwnPropertyNames(e).length - ? mR.create( + ? lR.create( e.locale || this.specifiedLocale, e.numberingSystem || this.numberingSystem, e.outputCalendar || this.outputCalendar, - tk(e.weekSettings) || this.weekSettings, + YR(e.weekSettings) || this.weekSettings, e.defaultToEN || !1, ) : this; @@ -56695,25 +56642,28 @@ class mR { return this.clone({ ...e, defaultToEN: !1 }); } months(e, t = !1) { - return cR(this, e, Sk, () => { - const n = t ? { month: e, day: "numeric" } : { month: e }, - a = t ? "format" : "standalone"; - return ( - this.monthsCache[a][e] || - (this.monthsCache[a][e] = (function (e) { - const t = []; - for (let n = 1; n <= 12; n++) { - const a = AL.utc(2009, n, 1); - t.push(e(a)); - } - return t; - })((e) => this.extract(e, n, "month"))), - this.monthsCache[a][e] - ); + return aR(this, e, Ek, () => { + const n = "ja" === this.intl || this.intl.startsWith("ja-"), + a = (t &= !n) ? { month: e, day: "numeric" } : { month: e }, + r = t ? "format" : "standalone"; + if (!this.monthsCache[r][e]) { + const t = n + ? (e) => this.dtFormatter(e, a).format() + : (e) => this.extract(e, a, "month"); + this.monthsCache[r][e] = (function (e) { + const t = []; + for (let n = 1; n <= 12; n++) { + const a = yL.utc(2009, n, 1); + t.push(e(a)); + } + return t; + })(t); + } + return this.monthsCache[r][e]; }); } weekdays(e, t = !1) { - return cR(this, e, Nk, () => { + return aR(this, e, _k, () => { const n = t ? { weekday: e, year: "numeric", month: "long", day: "numeric" } : { weekday: e }, @@ -56723,7 +56673,7 @@ class mR { (this.weekdaysCache[a][e] = (function (e) { const t = []; for (let n = 1; n <= 7; n++) { - const a = AL.utc(2016, 11, 13 + n); + const a = yL.utc(2016, 11, 13 + n); t.push(e(a)); } return t; @@ -56733,16 +56683,16 @@ class mR { }); } meridiems() { - return cR( + return aR( this, void 0, - () => Ik, + () => yk, () => { if (!this.meridiemCache) { const e = { hour: "numeric", hourCycle: "h12" }; this.meridiemCache = [ - AL.utc(2016, 11, 13, 9), - AL.utc(2016, 11, 13, 19), + yL.utc(2016, 11, 13, 9), + yL.utc(2016, 11, 13, 19), ].map((t) => this.extract(t, e, "dayperiod")); } return this.meridiemCache; @@ -56750,11 +56700,11 @@ class mR { ); } eras(e) { - return cR(this, e, Lk, () => { + return aR(this, e, Ck, () => { const t = { era: e }; return ( this.eraCache[e] || - (this.eraCache[e] = [AL.utc(-40, 1, 1), AL.utc(2017, 1, 1)].map((e) => + (this.eraCache[e] = [yL.utc(-40, 1, 1), yL.utc(2017, 1, 1)].map((e) => this.extract(e, t, "era"), )), this.eraCache[e] @@ -56768,43 +56718,43 @@ class mR { return a ? a.value : null; } numberFormatter(e = {}) { - return new dR(this.intl, e.forceSimple || this.fastNumbers, e); + return new rR(this.intl, e.forceSimple || this.fastNumbers, e); } dtFormatter(e, t = {}) { - return new uR(e, this.intl, t); + return new iR(e, this.intl, t); } relFormatter(e = {}) { - return new pR(this.intl, this.isEnglish(), e); + return new oR(this.intl, this.isEnglish(), e); } listFormatter(e = {}) { return (function (e, t = {}) { const n = JSON.stringify([e, t]); - let a = eR[n]; - return (a || ((a = new Intl.ListFormat(e, t)), (eR[n] = a)), a); + let a = qI[n]; + return (a || ((a = new Intl.ListFormat(e, t)), (qI[n] = a)), a); })(this.intl, e); } isEnglish() { return ( "en" === this.locale || "en-us" === this.locale.toLowerCase() || - sR(this.intl).locale.startsWith("en-us") + tR(this.intl).locale.startsWith("en-us") ); } getWeekSettings() { return this.weekSettings ? this.weekSettings - : QR() + : $R() ? (function (e) { - let t = lR.get(e); + let t = nR.get(e); if (!t) { const n = new Intl.Locale(e); ((t = "getWeekInfo" in n ? n.getWeekInfo() : n.weekInfo), - "minimalDays" in t || (t = { ...hR, ...t }), - lR.set(e, t)); + "minimalDays" in t || (t = { ...sR, ...t }), + nR.set(e, t)); } return t; })(this.locale) - : hR; + : sR; } getStartOfWeek() { return this.getWeekSettings().firstDay; @@ -56826,18 +56776,18 @@ class mR { return `Locale(${this.locale}, ${this.numberingSystem}, ${this.outputCalendar})`; } } -let gR = null; -class fR extends WI { +let cR = null; +class dR extends zI { static get utcInstance() { - return (null === gR && (gR = new fR(0)), gR); + return (null === cR && (cR = new dR(0)), cR); } static instance(e) { - return 0 === e ? fR.utcInstance : new fR(e); + return 0 === e ? dR.utcInstance : new dR(e); } static parseSpecifier(e) { if (e) { const t = e.match(/^utc(?:([+-]\d{1,2})(?::(\d{2}))?)?$/i); - if (t) return new fR(fk(t[1], t[2])); + if (t) return new dR(dk(t[1], t[2])); } return null; } @@ -56848,16 +56798,16 @@ class fR extends WI { return "fixed"; } get name() { - return 0 === this.fixed ? "UTC" : `UTC${vk(this.fixed, "narrow")}`; + return 0 === this.fixed ? "UTC" : `UTC${hk(this.fixed, "narrow")}`; } get ianaName() { - return 0 === this.fixed ? "Etc/UTC" : `Etc/GMT${vk(-this.fixed, "narrow")}`; + return 0 === this.fixed ? "Etc/UTC" : `Etc/GMT${hk(-this.fixed, "narrow")}`; } offsetName() { return this.name; } formatOffset(e, t) { - return vk(this.fixed, t); + return hk(this.fixed, t); } get isUniversal() { return !0; @@ -56872,7 +56822,7 @@ class fR extends WI { return !0; } } -class bR extends WI { +class uR extends zI { constructor(e) { (super(), (this.zoneName = e)); } @@ -56901,9 +56851,9 @@ class bR extends WI { return !1; } } -function ER(e, t) { - if (qR(e) || null === e) return t; - if (e instanceof WI) return e; +function pR(e, t) { + if (UR(e) || null === e) return t; + if (e instanceof zI) return e; if ( (function (e) { return "string" == typeof e; @@ -56913,18 +56863,18 @@ function ER(e, t) { return "default" === n ? t : "local" === n || "system" === n - ? YI.instance + ? GI.instance : "utc" === n || "gmt" === n - ? fR.utcInstance - : fR.parseSpecifier(n) || JI.create(e); + ? dR.utcInstance + : dR.parseSpecifier(n) || WI.create(e); } - return YR(e) - ? fR.instance(e) + return GR(e) + ? dR.instance(e) : "object" == typeof e && "offset" in e && "function" == typeof e.offset ? e - : new bR(e); + : new uR(e); } -const vR = { +const hR = { arab: "[٠-٩]", arabext: "[۰-۹]", bali: "[᭐-᭙]", @@ -56947,7 +56897,7 @@ const vR = { tibt: "[༠-༩]", latn: "\\d", }, - xR = { + mR = { arab: [1632, 1641], arabext: [1776, 1785], bali: [6992, 7001], @@ -56968,77 +56918,77 @@ const vR = { thai: [3664, 3673], tibt: [3872, 3881], }, - TR = vR.hanidec.replace(/[\[|\]]/g, "").split(""); -const _R = new Map(); -function yR({ numberingSystem: e }, t = "") { + gR = hR.hanidec.replace(/[\[|\]]/g, "").split(""); +const fR = new Map(); +function bR({ numberingSystem: e }, t = "") { const n = e || "latn"; - let a = _R.get(n); - void 0 === a && ((a = new Map()), _R.set(n, a)); + let a = fR.get(n); + void 0 === a && ((a = new Map()), fR.set(n, a)); let r = a.get(t); - return (void 0 === r && ((r = new RegExp(`${vR[n]}${t}`)), a.set(t, r)), r); -} -let SR, - wR = () => Date.now(), - AR = "system", - CR = null, - NR = null, - IR = null, - RR = 60, - kR = null; -class OR { + return (void 0 === r && ((r = new RegExp(`${hR[n]}${t}`)), a.set(t, r)), r); +} +let ER, + vR = () => Date.now(), + xR = "system", + TR = null, + _R = null, + yR = null, + SR = 60, + wR = null; +class AR { static get now() { - return wR; + return vR; } static set now(e) { - wR = e; + vR = e; } static set defaultZone(e) { - AR = e; + xR = e; } static get defaultZone() { - return ER(AR, YI.instance); + return pR(xR, GI.instance); } static get defaultLocale() { - return CR; + return TR; } static set defaultLocale(e) { - CR = e; + TR = e; } static get defaultNumberingSystem() { - return NR; + return _R; } static set defaultNumberingSystem(e) { - NR = e; + _R = e; } static get defaultOutputCalendar() { - return IR; + return yR; } static set defaultOutputCalendar(e) { - IR = e; + yR = e; } static get defaultWeekSettings() { - return kR; + return wR; } static set defaultWeekSettings(e) { - kR = tk(e); + wR = YR(e); } static get twoDigitCutoffYear() { - return RR; + return SR; } static set twoDigitCutoffYear(e) { - RR = e % 100; + SR = e % 100; } static get throwOnInvalid() { - return SR; + return ER; } static set throwOnInvalid(e) { - SR = e; + ER = e; } static resetCaches() { - (mR.resetCache(), JI.resetCache(), AL.resetCache(), _R.clear()); + (lR.resetCache(), WI.resetCache(), yL.resetCache(), fR.clear()); } } -class LR { +class CR { constructor(e, t) { ((this.reason = e), (this.explanation = t)); } @@ -57048,79 +56998,79 @@ class LR { : this.reason; } } -const MR = [0, 31, 59, 90, 120, 151, 181, 212, 243, 273, 304, 334], - DR = [0, 31, 60, 91, 121, 152, 182, 213, 244, 274, 305, 335]; -function PR(e, t) { - return new LR( +const NR = [0, 31, 59, 90, 120, 151, 181, 212, 243, 273, 304, 334], + IR = [0, 31, 60, 91, 121, 152, 182, 213, 244, 274, 305, 335]; +function RR(e, t) { + return new CR( "unit out of range", `you specified ${t} (of type ${typeof t}) as a ${e}, which is invalid`, ); } -function jR(e, t, n) { +function kR(e, t, n) { const a = new Date(Date.UTC(e, t - 1, n)); e < 100 && e >= 0 && a.setUTCFullYear(a.getUTCFullYear() - 1900); const r = a.getUTCDay(); return 0 === r ? 7 : r; } -function BR(e, t, n) { - return n + (lk(e) ? DR : MR)[t - 1]; +function OR(e, t, n) { + return n + (nk(e) ? IR : NR)[t - 1]; } -function FR(e, t) { - const n = lk(e) ? DR : MR, +function LR(e, t) { + const n = nk(e) ? IR : NR, a = n.findIndex((e) => e < t); return { month: a + 1, day: t - n[a] }; } -function HR(e, t) { +function MR(e, t) { return ((e - t + 7) % 7) + 1; } -function zR(e, t = 4, n = 1) { +function DR(e, t = 4, n = 1) { const { year: a, month: r, day: i } = e, - o = BR(a, r, i), - s = HR(jR(a, r, i), n); + o = OR(a, r, i), + s = MR(kR(a, r, i), n); let l, c = Math.floor((o - s + 14 - t) / 7); return ( c < 1 - ? ((l = a - 1), (c = hk(l, t, n))) - : c > hk(a, t, n) + ? ((l = a - 1), (c = sk(l, t, n))) + : c > sk(a, t, n) ? ((l = a + 1), (c = 1)) : (l = a), - { weekYear: l, weekNumber: c, weekday: s, ...xk(e) } + { weekYear: l, weekNumber: c, weekday: s, ...mk(e) } ); } -function UR(e, t = 4, n = 1) { +function PR(e, t = 4, n = 1) { const { weekYear: a, weekNumber: r, weekday: i } = e, - o = HR(jR(a, 1, t), n), - s = ck(a); + o = MR(kR(a, 1, t), n), + s = ak(a); let l, c = 7 * r + i - o - 7 + t; c < 1 - ? ((l = a - 1), (c += ck(l))) + ? ((l = a - 1), (c += ak(l))) : c > s - ? ((l = a + 1), (c -= ck(a))) + ? ((l = a + 1), (c -= ak(a))) : (l = a); - const { month: d, day: u } = FR(l, c); - return { year: l, month: d, day: u, ...xk(e) }; + const { month: d, day: u } = LR(l, c); + return { year: l, month: d, day: u, ...mk(e) }; } -function GR(e) { +function jR(e) { const { year: t, month: n, day: a } = e; - return { year: t, ordinal: BR(t, n, a), ...xk(e) }; + return { year: t, ordinal: OR(t, n, a), ...mk(e) }; } -function VR(e) { +function BR(e) { const { year: t, ordinal: n } = e, - { month: a, day: r } = FR(t, n); - return { year: t, month: a, day: r, ...xk(e) }; + { month: a, day: r } = LR(t, n); + return { year: t, month: a, day: r, ...mk(e) }; } -function ZR(e, t) { - if (!qR(e.localWeekday) || !qR(e.localWeekNumber) || !qR(e.localWeekYear)) { - if (!qR(e.weekday) || !qR(e.weekNumber) || !qR(e.weekYear)) - throw new EI( +function FR(e, t) { + if (!UR(e.localWeekday) || !UR(e.localWeekNumber) || !UR(e.localWeekYear)) { + if (!UR(e.weekday) || !UR(e.weekNumber) || !UR(e.weekYear)) + throw new pI( "Cannot mix locale-based week fields with ISO-based week fields", ); return ( - qR(e.localWeekday) || (e.weekday = e.localWeekday), - qR(e.localWeekNumber) || (e.weekNumber = e.localWeekNumber), - qR(e.localWeekYear) || (e.weekYear = e.localWeekYear), + UR(e.localWeekday) || (e.weekday = e.localWeekday), + UR(e.localWeekNumber) || (e.weekNumber = e.localWeekNumber), + UR(e.localWeekYear) || (e.weekYear = e.localWeekYear), delete e.localWeekday, delete e.localWeekNumber, delete e.localWeekYear, @@ -57132,47 +57082,47 @@ function ZR(e, t) { } return { minDaysInFirstWeek: 4, startOfWeek: 1 }; } -function $R(e) { - const t = KR(e.year), - n = nk(e.month, 1, 12), - a = nk(e.day, 1, dk(e.year, e.month)); +function HR(e) { + const t = VR(e.year), + n = KR(e.month, 1, 12), + a = KR(e.day, 1, rk(e.year, e.month)); return t ? n - ? !a && PR("day", e.day) - : PR("month", e.month) - : PR("year", e.year); + ? !a && RR("day", e.day) + : RR("month", e.month) + : RR("year", e.year); } -function WR(e) { +function zR(e) { const { hour: t, minute: n, second: a, millisecond: r } = e, - i = nk(t, 0, 23) || (24 === t && 0 === n && 0 === a && 0 === r), - o = nk(n, 0, 59), - s = nk(a, 0, 59), - l = nk(r, 0, 999); + i = KR(t, 0, 23) || (24 === t && 0 === n && 0 === a && 0 === r), + o = KR(n, 0, 59), + s = KR(a, 0, 59), + l = KR(r, 0, 999); return i ? o ? s - ? !l && PR("millisecond", r) - : PR("second", a) - : PR("minute", n) - : PR("hour", t); + ? !l && RR("millisecond", r) + : RR("second", a) + : RR("minute", n) + : RR("hour", t); } -function qR(e) { +function UR(e) { return void 0 === e; } -function YR(e) { +function GR(e) { return "number" == typeof e; } -function KR(e) { +function VR(e) { return "number" == typeof e && e % 1 == 0; } -function XR() { +function ZR() { try { return "undefined" != typeof Intl && !!Intl.RelativeTimeFormat; } catch (e) { return !1; } } -function QR() { +function $R() { try { return ( "undefined" != typeof Intl && @@ -57184,76 +57134,89 @@ function QR() { return !1; } } -function JR(e, t, n) { +function WR(e, t, n) { if (0 !== e.length) return e.reduce((e, a) => { const r = [t(a), a]; return e && n(e[0], r[0]) === e[0] ? e : r; }, null)[1]; } -function ek(e, t) { +function qR(e, t) { return Object.prototype.hasOwnProperty.call(e, t); } -function tk(e) { +function YR(e) { if (null == e) return null; - if ("object" != typeof e) throw new xI("Week settings must be an object"); + if ("object" != typeof e) throw new mI("Week settings must be an object"); if ( - !nk(e.firstDay, 1, 7) || - !nk(e.minimalDays, 1, 7) || + !KR(e.firstDay, 1, 7) || + !KR(e.minimalDays, 1, 7) || !Array.isArray(e.weekend) || - e.weekend.some((e) => !nk(e, 1, 7)) + e.weekend.some((e) => !KR(e, 1, 7)) ) - throw new xI("Invalid week settings"); + throw new mI("Invalid week settings"); return { firstDay: e.firstDay, minimalDays: e.minimalDays, weekend: Array.from(e.weekend), }; } -function nk(e, t, n) { - return KR(e) && e >= t && e <= n; +function KR(e, t, n) { + return VR(e) && e >= t && e <= n; } -function ak(e, t = 2) { +function XR(e, t = 2) { let n; return ( (n = e < 0 ? "-" + ("" + -e).padStart(t, "0") : ("" + e).padStart(t, "0")), n ); } -function rk(e) { - return qR(e) || null === e || "" === e ? void 0 : parseInt(e, 10); +function QR(e) { + return UR(e) || null === e || "" === e ? void 0 : parseInt(e, 10); } -function ik(e) { - return qR(e) || null === e || "" === e ? void 0 : parseFloat(e); +function JR(e) { + return UR(e) || null === e || "" === e ? void 0 : parseFloat(e); } -function ok(e) { - if (!qR(e) && null !== e && "" !== e) { +function ek(e) { + if (!UR(e) && null !== e && "" !== e) { const t = 1e3 * parseFloat("0." + e); return Math.floor(t); } } -function sk(e, t, n = !1) { +function tk(e, t, n = "round") { const a = 10 ** t; - return (n ? Math.trunc : Math.round)(e * a) / a; + switch (n) { + case "expand": + return e > 0 ? Math.ceil(e * a) / a : Math.floor(e * a) / a; + case "trunc": + return Math.trunc(e * a) / a; + case "round": + return Math.round(e * a) / a; + case "floor": + return Math.floor(e * a) / a; + case "ceil": + return Math.ceil(e * a) / a; + default: + throw new RangeError(`Value rounding ${n} is out of range`); + } } -function lk(e) { +function nk(e) { return e % 4 == 0 && (e % 100 != 0 || e % 400 == 0); } -function ck(e) { - return lk(e) ? 366 : 365; +function ak(e) { + return nk(e) ? 366 : 365; } -function dk(e, t) { +function rk(e, t) { const n = (function (e, t) { return e - t * Math.floor(e / t); })(t - 1, 12) + 1; return 2 === n - ? lk(e + (t - n) / 12) + ? nk(e + (t - n) / 12) ? 29 : 28 : [31, null, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31][n - 1]; } -function uk(e) { +function ik(e) { let t = Date.UTC( e.year, e.month - 1, @@ -57270,18 +57233,18 @@ function uk(e) { +t ); } -function pk(e, t, n) { - return -HR(jR(e, 1, t), n) + t - 1; +function ok(e, t, n) { + return -MR(kR(e, 1, t), n) + t - 1; } -function hk(e, t = 4, n = 1) { - const a = pk(e, t, n), - r = pk(e + 1, t, n); - return (ck(e) - a + r) / 7; +function sk(e, t = 4, n = 1) { + const a = ok(e, t, n), + r = ok(e + 1, t, n); + return (ak(e) - a + r) / 7; } -function mk(e) { - return e > 99 ? e : e > OR.twoDigitCutoffYear ? 1900 + e : 2e3 + e; +function lk(e) { + return e > 99 ? e : e > AR.twoDigitCutoffYear ? 1900 + e : 2e3 + e; } -function gk(e, t, n, a = null) { +function ck(e, t, n, a = null) { const r = new Date(e), i = { hourCycle: "h23", @@ -57298,51 +57261,51 @@ function gk(e, t, n, a = null) { .find((e) => "timezonename" === e.type.toLowerCase()); return s ? s.value : null; } -function fk(e, t) { +function dk(e, t) { let n = parseInt(e, 10); Number.isNaN(n) && (n = 0); const a = parseInt(t, 10) || 0; return 60 * n + (n < 0 || Object.is(n, -0) ? -a : a); } -function bk(e) { +function uk(e) { const t = Number(e); - if ("boolean" == typeof e || "" === e || Number.isNaN(t)) - throw new xI(`Invalid unit value ${e}`); + if ("boolean" == typeof e || "" === e || !Number.isFinite(t)) + throw new mI(`Invalid unit value ${e}`); return t; } -function Ek(e, t) { +function pk(e, t) { const n = {}; for (const a in e) - if (ek(e, a)) { + if (qR(e, a)) { const r = e[a]; if (null == r) continue; - n[t(a)] = bk(r); + n[t(a)] = uk(r); } return n; } -function vk(e, t) { +function hk(e, t) { const n = Math.trunc(Math.abs(e / 60)), a = Math.trunc(Math.abs(e % 60)), r = e >= 0 ? "+" : "-"; switch (t) { case "short": - return `${r}${ak(n, 2)}:${ak(a, 2)}`; + return `${r}${XR(n, 2)}:${XR(a, 2)}`; case "narrow": return `${r}${n}${a > 0 ? `:${a}` : ""}`; case "techie": - return `${r}${ak(n, 2)}${ak(a, 2)}`; + return `${r}${XR(n, 2)}${XR(a, 2)}`; default: throw new RangeError( `Value format ${t} is out of range for property format`, ); } } -function xk(e) { +function mk(e) { return (function (e, t) { return t.reduce((t, n) => ((t[n] = e[n]), t), {}); })(e, ["hour", "minute", "second", "millisecond"]); } -const Tk = [ +const gk = [ "January", "February", "March", @@ -57356,7 +57319,7 @@ const Tk = [ "November", "December", ], - _k = [ + fk = [ "Jan", "Feb", "Mar", @@ -57370,15 +57333,15 @@ const Tk = [ "Nov", "Dec", ], - yk = ["J", "F", "M", "A", "M", "J", "J", "A", "S", "O", "N", "D"]; -function Sk(e) { + bk = ["J", "F", "M", "A", "M", "J", "J", "A", "S", "O", "N", "D"]; +function Ek(e) { switch (e) { case "narrow": - return [...yk]; + return [...bk]; case "short": - return [..._k]; + return [...fk]; case "long": - return [...Tk]; + return [...gk]; case "numeric": return ["1", "2", "3", "4", "5", "6", "7", "8", "9", "10", "11", "12"]; case "2-digit": @@ -57400,7 +57363,7 @@ function Sk(e) { return null; } } -const wk = [ +const vk = [ "Monday", "Tuesday", "Wednesday", @@ -57409,68 +57372,68 @@ const wk = [ "Saturday", "Sunday", ], - Ak = ["Mon", "Tue", "Wed", "Thu", "Fri", "Sat", "Sun"], - Ck = ["M", "T", "W", "T", "F", "S", "S"]; -function Nk(e) { + xk = ["Mon", "Tue", "Wed", "Thu", "Fri", "Sat", "Sun"], + Tk = ["M", "T", "W", "T", "F", "S", "S"]; +function _k(e) { switch (e) { case "narrow": - return [...Ck]; + return [...Tk]; case "short": - return [...Ak]; + return [...xk]; case "long": - return [...wk]; + return [...vk]; case "numeric": return ["1", "2", "3", "4", "5", "6", "7"]; default: return null; } } -const Ik = ["AM", "PM"], - Rk = ["Before Christ", "Anno Domini"], - kk = ["BC", "AD"], - Ok = ["B", "A"]; -function Lk(e) { +const yk = ["AM", "PM"], + Sk = ["Before Christ", "Anno Domini"], + wk = ["BC", "AD"], + Ak = ["B", "A"]; +function Ck(e) { switch (e) { case "narrow": - return [...Ok]; + return [...Ak]; case "short": - return [...kk]; + return [...wk]; case "long": - return [...Rk]; + return [...Sk]; default: return null; } } -function Mk(e, t) { +function Nk(e, t) { let n = ""; for (const a of e) a.literal ? (n += a.val) : (n += t(a.val)); return n; } -const Dk = { - D: wI, - DD: AI, - DDD: NI, - DDDD: II, - t: RI, - tt: kI, - ttt: OI, - tttt: LI, - T: MI, - TT: DI, - TTT: PI, - TTTT: jI, - f: BI, - ff: HI, - fff: GI, - ffff: ZI, - F: FI, - FF: zI, - FFF: VI, - FFFF: $I, +const Ik = { + D: vI, + DD: xI, + DDD: _I, + DDDD: yI, + t: SI, + tt: wI, + ttt: AI, + tttt: CI, + T: NI, + TT: II, + TTT: RI, + TTTT: kI, + f: OI, + ff: MI, + fff: jI, + ffff: FI, + F: LI, + FF: DI, + FFF: BI, + FFFF: HI, }; -class Pk { +class Rk { static create(e, t = {}) { - return new Pk(e, t); + return new Rk(e, t); } static parseFormat(e) { let t = null, @@ -57480,7 +57443,8 @@ class Pk { for (let i = 0; i < e.length; i++) { const o = e.charAt(i); "'" === o - ? (n.length > 0 && r.push({ literal: a || /^\s+$/.test(n), val: n }), + ? ((n.length > 0 || a) && + r.push({ literal: a || /^\s+$/.test(n), val: "" === n ? "'" : n }), (t = null), (n = ""), (a = !a)) @@ -57496,7 +57460,7 @@ class Pk { ); } static macroTokenToFormatOpts(e) { - return Dk[e]; + return Ik[e]; } constructor(e, t) { ((this.opts = t), (this.loc = e), (this.systemLoc = null)); @@ -57523,10 +57487,14 @@ class Pk { resolvedOptions(e, t) { return this.dtFormatter(e, t).resolvedOptions(); } - num(e, t = 0) { - if (this.opts.forceSimple) return ak(e, t); - const n = { ...this.opts }; - return (t > 0 && (n.padTo = t), this.loc.numberFormatter(n).format(e)); + num(e, t = 0, n = void 0) { + if (this.opts.forceSimple) return XR(e, t); + const a = { ...this.opts }; + return ( + t > 0 && (a.padTo = t), + n && (a.signDisplay = n), + this.loc.numberFormatter(a).format(e) + ); } formatDateTimeFromString(e, t) { const n = "en" === this.loc.listingMode(), @@ -57541,19 +57509,19 @@ class Pk { o = () => n ? (function (e) { - return Ik[e.hour < 12 ? 0 : 1]; + return yk[e.hour < 12 ? 0 : 1]; })(e) : r({ hour: "numeric", hourCycle: "h12" }, "dayperiod"), s = (t, a) => n ? (function (e, t) { - return Sk(t)[e.month - 1]; + return Ek(t)[e.month - 1]; })(e, t) : r(a ? { month: t } : { month: t, day: "numeric" }, "month"), l = (t, a) => n ? (function (e, t) { - return Nk(t)[e.weekday - 1]; + return _k(t)[e.weekday - 1]; })(e, t) : r( a @@ -57562,16 +57530,16 @@ class Pk { "weekday", ), c = (t) => { - const n = Pk.macroTokenToFormatOpts(t); + const n = Rk.macroTokenToFormatOpts(t); return n ? this.formatWithSystemDefault(e, n) : t; }, d = (t) => n ? (function (e, t) { - return Lk(t)[e.year < 0 ? 0 : 1]; + return Ck(t)[e.year < 0 ? 0 : 1]; })(e, t) : r({ era: t }, "era"); - return Mk(Pk.parseFormat(t), (t) => { + return Nk(Rk.parseFormat(t), (t) => { switch (t) { case "S": return this.num(e.millisecond); @@ -57711,47 +57679,65 @@ class Pk { }); } formatDurationFromString(e, t) { - const n = (e) => { + const n = "negativeLargestOnly" === this.opts.signMode ? -1 : 1, + a = (e) => { switch (e[0]) { case "S": - return "millisecond"; + return "milliseconds"; case "s": - return "second"; + return "seconds"; case "m": - return "minute"; + return "minutes"; case "h": - return "hour"; + return "hours"; case "d": - return "day"; + return "days"; case "w": - return "week"; + return "weeks"; case "M": - return "month"; + return "months"; case "y": - return "year"; + return "years"; default: return null; } }, - a = Pk.parseFormat(t), - r = a.reduce((e, { literal: t, val: n }) => (t ? e : e.concat(n)), []), - i = e.shiftTo(...r.map(n).filter((e) => e)); - return Mk( - a, - ((e) => (t) => { - const a = n(t); - return a ? this.num(e.get(a), t.length) : t; - })(i), + r = Rk.parseFormat(t), + i = r.reduce((e, { literal: t, val: n }) => (t ? e : e.concat(n)), []), + o = e.shiftTo(...i.map(a).filter((e) => e)); + return Nk( + r, + ((e, t) => (r) => { + const i = a(r); + if (i) { + const a = t.isNegativeDuration && i !== t.largestUnit ? n : 1; + let o; + return ( + (o = + "negativeLargestOnly" === this.opts.signMode && + i !== t.largestUnit + ? "never" + : "all" === this.opts.signMode + ? "always" + : "auto"), + this.num(e.get(i) * a, r.length, o) + ); + } + return r; + })(o, { + isNegativeDuration: o < 0, + largestUnit: Object.keys(o.values)[0], + }), ); } } -const jk = +const kk = /[A-Za-z_+-]{1,256}(?::?\/[A-Za-z0-9_+-]{1,256}(?:\/[A-Za-z0-9_+-]{1,256})?)?/; -function Bk(...e) { +function Ok(...e) { const t = e.reduce((e, t) => e + t.source, ""); return RegExp(`^${t}$`); } -function Fk(...e) { +function Lk(...e) { return (t) => e .reduce( @@ -57763,7 +57749,7 @@ function Fk(...e) { ) .slice(0, 2); } -function Hk(e, ...t) { +function Mk(e, ...t) { if (null == e) return [null, null]; for (const [n, a] of t) { const t = n.exec(e); @@ -57771,68 +57757,68 @@ function Hk(e, ...t) { } return [null, null]; } -function zk(...e) { +function Dk(...e) { return (t, n) => { const a = {}; let r; - for (r = 0; r < e.length; r++) a[e[r]] = rk(t[n + r]); + for (r = 0; r < e.length; r++) a[e[r]] = QR(t[n + r]); return [a, null, n + r]; }; } -const Uk = /(?:(Z)|([+-]\d\d)(?::?(\d\d))?)/, - Gk = /(\d\d)(?::?(\d\d)(?::?(\d\d)(?:[.,](\d{1,30}))?)?)?/, - Vk = RegExp(`${Gk.source}${`(?:${Uk.source}?(?:\\[(${jk.source})\\])?)?`}`), - Zk = RegExp(`(?:T${Vk.source})?`), - $k = zk("weekYear", "weekNumber", "weekDay"), - Wk = zk("year", "ordinal"), - qk = RegExp(`${Gk.source} ?(?:${Uk.source}|(${jk.source}))?`), - Yk = RegExp(`(?: ${qk.source})?`); -function Kk(e, t, n) { +const Pk = /(?:([Zz])|([+-]\d\d)(?::?(\d\d))?)/, + jk = /(\d\d)(?::?(\d\d)(?::?(\d\d)(?:[.,](\d{1,30}))?)?)?/, + Bk = RegExp(`${jk.source}${`(?:${Pk.source}?(?:\\[(${kk.source})\\])?)?`}`), + Fk = RegExp(`(?:[Tt]${Bk.source})?`), + Hk = Dk("weekYear", "weekNumber", "weekDay"), + zk = Dk("year", "ordinal"), + Uk = RegExp(`${jk.source} ?(?:${Pk.source}|(${kk.source}))?`), + Gk = RegExp(`(?: ${Uk.source})?`); +function Vk(e, t, n) { const a = e[t]; - return qR(a) ? n : rk(a); + return UR(a) ? n : QR(a); } -function Xk(e, t) { +function Zk(e, t) { return [ { - hours: Kk(e, t, 0), - minutes: Kk(e, t + 1, 0), - seconds: Kk(e, t + 2, 0), - milliseconds: ok(e[t + 3]), + hours: Vk(e, t, 0), + minutes: Vk(e, t + 1, 0), + seconds: Vk(e, t + 2, 0), + milliseconds: ek(e[t + 3]), }, null, t + 4, ]; } -function Qk(e, t) { +function $k(e, t) { const n = !e[t] && !e[t + 1], - a = fk(e[t + 1], e[t + 2]); - return [{}, n ? null : fR.instance(a), t + 3]; + a = dk(e[t + 1], e[t + 2]); + return [{}, n ? null : dR.instance(a), t + 3]; } -function Jk(e, t) { - return [{}, e[t] ? JI.create(e[t]) : null, t + 1]; +function Wk(e, t) { + return [{}, e[t] ? WI.create(e[t]) : null, t + 1]; } -const eO = RegExp(`^T?${Gk.source}$`), - tO = +const qk = RegExp(`^T?${jk.source}$`), + Yk = /^-?P(?:(?:(-?\d{1,20}(?:\.\d{1,20})?)Y)?(?:(-?\d{1,20}(?:\.\d{1,20})?)M)?(?:(-?\d{1,20}(?:\.\d{1,20})?)W)?(?:(-?\d{1,20}(?:\.\d{1,20})?)D)?(?:T(?:(-?\d{1,20}(?:\.\d{1,20})?)H)?(?:(-?\d{1,20}(?:\.\d{1,20})?)M)?(?:(-?\d{1,20})(?:[.,](-?\d{1,20}))?S)?)?)$/; -function nO(e) { +function Kk(e) { const [t, n, a, r, i, o, s, l, c] = e, d = "-" === t[0], u = l && "-" === l[0], p = (e, t = !1) => (void 0 !== e && (t || (e && d)) ? -e : e); return [ { - years: p(ik(n)), - months: p(ik(a)), - weeks: p(ik(r)), - days: p(ik(i)), - hours: p(ik(o)), - minutes: p(ik(s)), - seconds: p(ik(l), "-0" === l), - milliseconds: p(ok(c), u), + years: p(JR(n)), + months: p(JR(a)), + weeks: p(JR(r)), + days: p(JR(i)), + hours: p(JR(o)), + minutes: p(JR(s)), + seconds: p(JR(l), "-0" === l), + milliseconds: p(ek(c), u), }, ]; } -const aO = { +const Xk = { GMT: 0, EDT: -240, EST: -300, @@ -57843,67 +57829,67 @@ const aO = { PDT: -420, PST: -480, }; -function rO(e, t, n, a, r, i, o) { +function Qk(e, t, n, a, r, i, o) { const s = { - year: 2 === t.length ? mk(rk(t)) : rk(t), - month: _k.indexOf(n) + 1, - day: rk(a), - hour: rk(r), - minute: rk(i), + year: 2 === t.length ? lk(QR(t)) : QR(t), + month: fk.indexOf(n) + 1, + day: QR(a), + hour: QR(r), + minute: QR(i), }; return ( - o && (s.second = rk(o)), - e && (s.weekday = e.length > 3 ? wk.indexOf(e) + 1 : Ak.indexOf(e) + 1), + o && (s.second = QR(o)), + e && (s.weekday = e.length > 3 ? vk.indexOf(e) + 1 : xk.indexOf(e) + 1), s ); } -const iO = +const Jk = /^(?:(Mon|Tue|Wed|Thu|Fri|Sat|Sun),\s)?(\d{1,2})\s(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)\s(\d{2,4})\s(\d\d):(\d\d)(?::(\d\d))?\s(?:(UT|GMT|[ECMP][SD]T)|([Zz])|(?:([+-]\d\d)(\d\d)))$/; -function oO(e) { +function eO(e) { const [, t, n, a, r, i, o, s, l, c, d, u] = e, - p = rO(t, r, a, n, i, o, s); + p = Qk(t, r, a, n, i, o, s); let h; - return ((h = l ? aO[l] : c ? 0 : fk(d, u)), [p, new fR(h)]); + return ((h = l ? Xk[l] : c ? 0 : dk(d, u)), [p, new dR(h)]); } -const sO = +const tO = /^(Mon|Tue|Wed|Thu|Fri|Sat|Sun), (\d\d) (Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec) (\d{4}) (\d\d):(\d\d):(\d\d) GMT$/, - lO = + nO = /^(Monday|Tuesday|Wednesday|Thursday|Friday|Saturday|Sunday), (\d\d)-(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)-(\d\d) (\d\d):(\d\d):(\d\d) GMT$/, - cO = + aO = /^(Mon|Tue|Wed|Thu|Fri|Sat|Sun) (Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec) ( \d|\d\d) (\d\d):(\d\d):(\d\d) (\d{4})$/; -function dO(e) { +function rO(e) { const [, t, n, a, r, i, o, s] = e; - return [rO(t, r, a, n, i, o, s), fR.utcInstance]; + return [Qk(t, r, a, n, i, o, s), dR.utcInstance]; } -function uO(e) { +function iO(e) { const [, t, n, a, r, i, o, s] = e; - return [rO(t, s, n, a, r, i, o), fR.utcInstance]; + return [Qk(t, s, n, a, r, i, o), dR.utcInstance]; } -const pO = Bk(/([+-]\d{6}|\d{4})(?:-?(\d\d)(?:-?(\d\d))?)?/, Zk), - hO = Bk(/(\d{4})-?W(\d\d)(?:-?(\d))?/, Zk), - mO = Bk(/(\d{4})-?(\d{3})/, Zk), - gO = Bk(Vk), - fO = Fk( +const oO = Ok(/([+-]\d{6}|\d{4})(?:-?(\d\d)(?:-?(\d\d))?)?/, Fk), + sO = Ok(/(\d{4})-?W(\d\d)(?:-?(\d))?/, Fk), + lO = Ok(/(\d{4})-?(\d{3})/, Fk), + cO = Ok(Bk), + dO = Lk( function (e, t) { return [ - { year: Kk(e, t), month: Kk(e, t + 1, 1), day: Kk(e, t + 2, 1) }, + { year: Vk(e, t), month: Vk(e, t + 1, 1), day: Vk(e, t + 2, 1) }, null, t + 3, ]; }, - Xk, - Qk, - Jk, + Zk, + $k, + Wk, ), - bO = Fk($k, Xk, Qk, Jk), - EO = Fk(Wk, Xk, Qk, Jk), - vO = Fk(Xk, Qk, Jk); -const xO = Fk(Xk); -const TO = Bk(/(\d{4})-(\d\d)-(\d\d)/, Yk), - _O = Bk(qk), - yO = Fk(Xk, Qk, Jk); -const SO = "Invalid Duration", - wO = { + uO = Lk(Hk, Zk, $k, Wk), + pO = Lk(zk, Zk, $k, Wk), + hO = Lk(Zk, $k, Wk); +const mO = Lk(Zk); +const gO = Ok(/(\d{4})-(\d\d)-(\d\d)/, Gk), + fO = Ok(Uk), + bO = Lk(Zk, $k, Wk); +const EO = "Invalid Duration", + vO = { weeks: { days: 7, hours: 168, @@ -57916,7 +57902,7 @@ const SO = "Invalid Duration", minutes: { seconds: 60, milliseconds: 6e4 }, seconds: { milliseconds: 1e3 }, }, - AO = { + xO = { years: { quarters: 4, months: 12, @@ -57944,16 +57930,16 @@ const SO = "Invalid Duration", seconds: 2592e3, milliseconds: 2592e6, }, - ...wO, + ...vO, }, - CO = 365.2425, - NO = 30.436875, - IO = { + TO = 365.2425, + _O = 30.436875, + yO = { years: { quarters: 4, months: 12, weeks: 52.1775, - days: CO, + days: TO, hours: 8765.82, minutes: 525949.2, seconds: 525949.2 * 60, @@ -57970,15 +57956,15 @@ const SO = "Invalid Duration", }, months: { weeks: 4.3481250000000005, - days: NO, + days: _O, hours: 730.485, minutes: 43829.1, seconds: 2629746, milliseconds: 2629746e3, }, - ...wO, + ...vO, }, - RO = [ + SO = [ "years", "quarters", "months", @@ -57989,25 +57975,25 @@ const SO = "Invalid Duration", "seconds", "milliseconds", ], - kO = RO.slice(0).reverse(); -function OO(e, t, n = !1) { + wO = SO.slice(0).reverse(); +function AO(e, t, n = !1) { const a = { values: n ? t.values : { ...e.values, ...(t.values || {}) }, loc: e.loc.clone(t.loc), conversionAccuracy: t.conversionAccuracy || e.conversionAccuracy, matrix: t.matrix || e.matrix, }; - return new DO(a); + return new RO(a); } -function LO(e, t) { +function CO(e, t) { let n = t.milliseconds ?? 0; - for (const a of kO.slice(1)) t[a] && (n += t[a] * e[a].milliseconds); + for (const a of wO.slice(1)) t[a] && (n += t[a] * e[a].milliseconds); return n; } -function MO(e, t) { - const n = LO(e, t) < 0 ? -1 : 1; - (RO.reduceRight((a, r) => { - if (qR(t[r])) return a; +function NO(e, t) { + const n = CO(e, t) < 0 ? -1 : 1; + (SO.reduceRight((a, r) => { + if (UR(t[r])) return a; if (a) { const i = t[a] * n, o = e[r][a], @@ -58016,8 +58002,8 @@ function MO(e, t) { } return r; }, null), - RO.reduce((n, a) => { - if (qR(t[a])) return n; + SO.reduce((n, a) => { + if (UR(t[a])) return n; if (n) { const r = t[n] % 1; ((t[n] -= r), (t[a] += r * e[n][a])); @@ -58025,67 +58011,72 @@ function MO(e, t) { return a; }, null)); } -class DO { +function IO(e) { + const t = {}; + for (const [n, a] of Object.entries(e)) 0 !== a && (t[n] = a); + return t; +} +class RO { constructor(e) { const t = "longterm" === e.conversionAccuracy || !1; - let n = t ? IO : AO; + let n = t ? yO : xO; (e.matrix && (n = e.matrix), (this.values = e.values), - (this.loc = e.loc || mR.create()), + (this.loc = e.loc || lR.create()), (this.conversionAccuracy = t ? "longterm" : "casual"), (this.invalid = e.invalid || null), (this.matrix = n), (this.isLuxonDuration = !0)); } static fromMillis(e, t) { - return DO.fromObject({ milliseconds: e }, t); + return RO.fromObject({ milliseconds: e }, t); } static fromObject(e, t = {}) { if (null == e || "object" != typeof e) - throw new xI( + throw new mI( "Duration.fromObject: argument expected to be an object, got " + (null === e ? "null" : typeof e), ); - return new DO({ - values: Ek(e, DO.normalizeUnit), - loc: mR.fromObject(t), + return new RO({ + values: pk(e, RO.normalizeUnit), + loc: lR.fromObject(t), conversionAccuracy: t.conversionAccuracy, matrix: t.matrix, }); } static fromDurationLike(e) { - if (YR(e)) return DO.fromMillis(e); - if (DO.isDuration(e)) return e; - if ("object" == typeof e) return DO.fromObject(e); - throw new xI(`Unknown duration argument ${e} of type ${typeof e}`); + if (GR(e)) return RO.fromMillis(e); + if (RO.isDuration(e)) return e; + if ("object" == typeof e) return RO.fromObject(e); + throw new mI(`Unknown duration argument ${e} of type ${typeof e}`); } static fromISO(e, t) { const [n] = (function (e) { - return Hk(e, [tO, nO]); + return Mk(e, [Yk, Kk]); })(e); return n - ? DO.fromObject(n, t) - : DO.invalid( + ? RO.fromObject(n, t) + : RO.invalid( "unparsable", `the input "${e}" can't be parsed as ISO 8601`, ); } static fromISOTime(e, t) { const [n] = (function (e) { - return Hk(e, [eO, xO]); + return Mk(e, [qk, mO]); })(e); return n - ? DO.fromObject(n, t) - : DO.invalid( + ? RO.fromObject(n, t) + : RO.invalid( "unparsable", `the input "${e}" can't be parsed as ISO 8601`, ); } static invalid(e, t = null) { - if (!e) throw new xI("need to specify a reason the Duration is invalid"); - const n = e instanceof LR ? e : new LR(e, t); - if (OR.throwOnInvalid) throw new bI(n); - return new DO({ invalid: n }); + if (!e) throw new mI("need to specify a reason the Duration is invalid"); + const n = e instanceof CR ? e : new CR(e, t); + if (AR.throwOnInvalid) throw new uI(n); + return new RO({ invalid: n }); } static normalizeUnit(e) { const t = { @@ -58108,7 +58099,7 @@ class DO { millisecond: "milliseconds", milliseconds: "milliseconds", }[e ? e.toLowerCase() : e]; - if (!t) throw new vI(e); + if (!t) throw new hI(e); return t; } static isDuration(e) { @@ -58123,31 +58114,32 @@ class DO { toFormat(e, t = {}) { const n = { ...t, floor: !1 !== t.round && !1 !== t.floor }; return this.isValid - ? Pk.create(this.loc, n).formatDurationFromString(this, e) - : SO; + ? Rk.create(this.loc, n).formatDurationFromString(this, e) + : EO; } toHuman(e = {}) { - if (!this.isValid) return SO; - const t = RO.map((t) => { - const n = this.values[t]; - return qR(n) - ? null - : this.loc - .numberFormatter({ - style: "unit", - unitDisplay: "long", - ...e, - unit: t.slice(0, -1), - }) - .format(n); - }).filter((e) => e); + if (!this.isValid) return EO; + const t = !1 !== e.showZeros, + n = SO.map((n) => { + const a = this.values[n]; + return UR(a) || (0 === a && !t) + ? null + : this.loc + .numberFormatter({ + style: "unit", + unitDisplay: "long", + ...e, + unit: n.slice(0, -1), + }) + .format(a); + }).filter((e) => e); return this.loc .listFormatter({ type: "conjunction", style: e.listStyle || "narrow", ...e, }) - .format(t); + .format(n); } toObject() { return this.isValid ? { ...this.values } : {}; @@ -58169,7 +58161,7 @@ class DO { 0 !== this.hours && (e += this.hours + "H"), 0 !== this.minutes && (e += this.minutes + "M"), (0 === this.seconds && 0 === this.milliseconds) || - (e += sk(this.seconds + this.milliseconds / 1e3, 3) + "S"), + (e += tk(this.seconds + this.milliseconds / 1e3, 3) + "S"), "P" === e && (e += "T0S"), e ); @@ -58186,7 +58178,7 @@ class DO { ...e, includeOffset: !1, }; - return AL.fromMillis(t, { zone: "UTC" }).toISOTime(e); + return yL.fromMillis(t, { zone: "UTC" }).toISOTime(e); } toJSON() { return this.toISO(); @@ -58200,37 +58192,37 @@ class DO { : `Duration { Invalid, reason: ${this.invalidReason} }`; } toMillis() { - return this.isValid ? LO(this.matrix, this.values) : NaN; + return this.isValid ? CO(this.matrix, this.values) : NaN; } valueOf() { return this.toMillis(); } plus(e) { if (!this.isValid) return this; - const t = DO.fromDurationLike(e), + const t = RO.fromDurationLike(e), n = {}; - for (const e of RO) - (ek(t.values, e) || ek(this.values, e)) && + for (const e of SO) + (qR(t.values, e) || qR(this.values, e)) && (n[e] = t.get(e) + this.get(e)); - return OO(this, { values: n }, !0); + return AO(this, { values: n }, !0); } minus(e) { if (!this.isValid) return this; - const t = DO.fromDurationLike(e); + const t = RO.fromDurationLike(e); return this.plus(t.negate()); } mapUnits(e) { if (!this.isValid) return this; const t = {}; - for (const n of Object.keys(this.values)) t[n] = bk(e(this.values[n], n)); - return OO(this, { values: t }, !0); + for (const n of Object.keys(this.values)) t[n] = uk(e(this.values[n], n)); + return AO(this, { values: t }, !0); } get(e) { - return this[DO.normalizeUnit(e)]; + return this[RO.normalizeUnit(e)]; } set(e) { if (!this.isValid) return this; - return OO(this, { values: { ...this.values, ...Ek(e, DO.normalizeUnit) } }); + return AO(this, { values: { ...this.values, ...pk(e, RO.normalizeUnit) } }); } reconfigure({ locale: e, @@ -58238,7 +58230,7 @@ class DO { conversionAccuracy: n, matrix: a, } = {}) { - return OO(this, { + return AO(this, { loc: this.loc.clone({ locale: e, numberingSystem: t }), matrix: a, conversionAccuracy: n, @@ -58250,37 +58242,36 @@ class DO { normalize() { if (!this.isValid) return this; const e = this.toObject(); - return (MO(this.matrix, e), OO(this, { values: e }, !0)); + return (NO(this.matrix, e), AO(this, { values: e }, !0)); } rescale() { if (!this.isValid) return this; - const e = (function (e) { - const t = {}; - for (const [n, a] of Object.entries(e)) 0 !== a && (t[n] = a); - return t; - })(this.normalize().shiftToAll().toObject()); - return OO(this, { values: e }, !0); + return AO( + this, + { values: IO(this.normalize().shiftToAll().toObject()) }, + !0, + ); } shiftTo(...e) { if (!this.isValid) return this; if (0 === e.length) return this; - e = e.map((e) => DO.normalizeUnit(e)); + e = e.map((e) => RO.normalizeUnit(e)); const t = {}, n = {}, a = this.toObject(); let r; - for (const i of RO) + for (const i of SO) if (e.indexOf(i) >= 0) { r = i; let e = 0; for (const t in n) ((e += this.matrix[t][i] * n[t]), (n[t] = 0)); - YR(a[i]) && (e += a[i]); + GR(a[i]) && (e += a[i]); const o = Math.trunc(e); ((t[i] = o), (n[i] = (1e3 * e - 1e3 * o) / 1e3)); - } else YR(a[i]) && (n[i] = a[i]); + } else GR(a[i]) && (n[i] = a[i]); for (const e in n) 0 !== n[e] && (t[r] += e === r ? n[e] : n[e] / this.matrix[r][e]); - return (MO(this.matrix, t), OO(this, { values: t }, !0)); + return (NO(this.matrix, t), AO(this, { values: t }, !0)); } shiftToAll() { return this.isValid @@ -58301,7 +58292,11 @@ class DO { const e = {}; for (const t of Object.keys(this.values)) e[t] = 0 === this.values[t] ? 0 : -this.values[t]; - return OO(this, { values: e }, !0); + return AO(this, { values: e }, !0); + } + removeZeros() { + if (!this.isValid) return this; + return AO(this, { values: IO(this.values) }, !0); } get years() { return this.isValid ? this.values.years || 0 : NaN; @@ -58342,7 +58337,7 @@ class DO { equals(e) { if (!this.isValid || !e.isValid) return !1; if (!this.loc.equals(e.loc)) return !1; - for (const a of RO) + for (const a of SO) if ( ((t = this.values[a]), (n = e.values[a]), @@ -58353,8 +58348,8 @@ class DO { return !0; } } -const PO = "Invalid Interval"; -class jO { +const kO = "Invalid Interval"; +class OO { constructor(e) { ((this.s = e.start), (this.e = e.end), @@ -58362,62 +58357,62 @@ class jO { (this.isLuxonInterval = !0)); } static invalid(e, t = null) { - if (!e) throw new xI("need to specify a reason the Interval is invalid"); - const n = e instanceof LR ? e : new LR(e, t); - if (OR.throwOnInvalid) throw new fI(n); - return new jO({ invalid: n }); + if (!e) throw new mI("need to specify a reason the Interval is invalid"); + const n = e instanceof CR ? e : new CR(e, t); + if (AR.throwOnInvalid) throw new dI(n); + return new OO({ invalid: n }); } static fromDateTimes(e, t) { - const n = CL(e), - a = CL(t), + const n = SL(e), + a = SL(t), r = (function (e, t) { return e && e.isValid ? t && t.isValid ? t < e - ? jO.invalid( + ? OO.invalid( "end before start", `The end of an interval must be after its start, but you had start=${e.toISO()} and end=${t.toISO()}`, ) : null - : jO.invalid("missing or invalid end") - : jO.invalid("missing or invalid start"); + : OO.invalid("missing or invalid end") + : OO.invalid("missing or invalid start"); })(n, a); - return null == r ? new jO({ start: n, end: a }) : r; + return null == r ? new OO({ start: n, end: a }) : r; } static after(e, t) { - const n = DO.fromDurationLike(t), - a = CL(e); - return jO.fromDateTimes(a, a.plus(n)); + const n = RO.fromDurationLike(t), + a = SL(e); + return OO.fromDateTimes(a, a.plus(n)); } static before(e, t) { - const n = DO.fromDurationLike(t), - a = CL(e); - return jO.fromDateTimes(a.minus(n), a); + const n = RO.fromDurationLike(t), + a = SL(e); + return OO.fromDateTimes(a.minus(n), a); } static fromISO(e, t) { const [n, a] = (e || "").split("/", 2); if (n && a) { let e, r, i, o; try { - ((e = AL.fromISO(n, t)), (r = e.isValid)); + ((e = yL.fromISO(n, t)), (r = e.isValid)); } catch (a) { r = !1; } try { - ((i = AL.fromISO(a, t)), (o = i.isValid)); + ((i = yL.fromISO(a, t)), (o = i.isValid)); } catch (a) { o = !1; } - if (r && o) return jO.fromDateTimes(e, i); + if (r && o) return OO.fromDateTimes(e, i); if (r) { - const n = DO.fromISO(a, t); - if (n.isValid) return jO.after(e, n); + const n = RO.fromISO(a, t); + if (n.isValid) return OO.after(e, n); } else if (o) { - const e = DO.fromISO(n, t); - if (e.isValid) return jO.before(i, e); + const e = RO.fromISO(n, t); + if (e.isValid) return OO.before(i, e); } } - return jO.invalid( + return OO.invalid( "unparsable", `the input "${e}" can't be parsed as ISO 8601`, ); @@ -58476,12 +58471,12 @@ class jO { return !!this.isValid && this.s <= e && this.e > e; } set({ start: e, end: t } = {}) { - return this.isValid ? jO.fromDateTimes(e || this.s, t || this.e) : this; + return this.isValid ? OO.fromDateTimes(e || this.s, t || this.e) : this; } splitAt(...e) { if (!this.isValid) return []; const t = e - .map(CL) + .map(SL) .filter((e) => this.contains(e)) .sort((e, t) => e.toMillis() - t.toMillis()), n = []; @@ -58490,12 +58485,12 @@ class jO { for (; a < this.e; ) { const e = t[r] || this.e, i = +e > +this.e ? this.e : e; - (n.push(jO.fromDateTimes(a, i)), (a = i), (r += 1)); + (n.push(OO.fromDateTimes(a, i)), (a = i), (r += 1)); } return n; } splitBy(e) { - const t = DO.fromDurationLike(e); + const t = RO.fromDurationLike(e); if (!this.isValid || !t.isValid || 0 === t.as("milliseconds")) return []; let n, { s: a } = this, @@ -58504,7 +58499,7 @@ class jO { for (; a < this.e; ) { const e = this.start.plus(t.mapUnits((e) => e * r)); ((n = +e > +this.e ? this.e : e), - i.push(jO.fromDateTimes(a, n)), + i.push(OO.fromDateTimes(a, n)), (a = n), (r += 1)); } @@ -58534,13 +58529,13 @@ class jO { if (!this.isValid) return this; const t = this.s > e.s ? this.s : e.s, n = this.e < e.e ? this.e : e.e; - return t >= n ? null : jO.fromDateTimes(t, n); + return t >= n ? null : OO.fromDateTimes(t, n); } union(e) { if (!this.isValid) return this; const t = this.s < e.s ? this.s : e.s, n = this.e > e.e ? this.e : e.e; - return jO.fromDateTimes(t, n); + return OO.fromDateTimes(t, n); } static merge(e) { const [t, n] = e @@ -58569,72 +58564,71 @@ class jO { ((n += "s" === e.type ? 1 : -1), 1 === n ? (t = e.time) - : (t && +t != +e.time && a.push(jO.fromDateTimes(t, e.time)), + : (t && +t != +e.time && a.push(OO.fromDateTimes(t, e.time)), (t = null))); - return jO.merge(a); + return OO.merge(a); } difference(...e) { - return jO - .xor([this].concat(e)) + return OO.xor([this].concat(e)) .map((e) => this.intersection(e)) .filter((e) => e && !e.isEmpty()); } toString() { - return this.isValid ? `[${this.s.toISO()} – ${this.e.toISO()})` : PO; + return this.isValid ? `[${this.s.toISO()} – ${this.e.toISO()})` : kO; } [Symbol.for("nodejs.util.inspect.custom")]() { return this.isValid ? `Interval { start: ${this.s.toISO()}, end: ${this.e.toISO()} }` : `Interval { Invalid, reason: ${this.invalidReason} }`; } - toLocaleString(e = wI, t = {}) { + toLocaleString(e = vI, t = {}) { return this.isValid - ? Pk.create(this.s.loc.clone(t), e).formatInterval(this) - : PO; + ? Rk.create(this.s.loc.clone(t), e).formatInterval(this) + : kO; } toISO(e) { - return this.isValid ? `${this.s.toISO(e)}/${this.e.toISO(e)}` : PO; + return this.isValid ? `${this.s.toISO(e)}/${this.e.toISO(e)}` : kO; } toISODate() { - return this.isValid ? `${this.s.toISODate()}/${this.e.toISODate()}` : PO; + return this.isValid ? `${this.s.toISODate()}/${this.e.toISODate()}` : kO; } toISOTime(e) { - return this.isValid ? `${this.s.toISOTime(e)}/${this.e.toISOTime(e)}` : PO; + return this.isValid ? `${this.s.toISOTime(e)}/${this.e.toISOTime(e)}` : kO; } toFormat(e, { separator: t = " – " } = {}) { - return this.isValid ? `${this.s.toFormat(e)}${t}${this.e.toFormat(e)}` : PO; + return this.isValid ? `${this.s.toFormat(e)}${t}${this.e.toFormat(e)}` : kO; } toDuration(e, t) { return this.isValid ? this.e.diff(this.s, e, t) - : DO.invalid(this.invalidReason); + : RO.invalid(this.invalidReason); } mapEndpoints(e) { - return jO.fromDateTimes(e(this.s), e(this.e)); + return OO.fromDateTimes(e(this.s), e(this.e)); } } -class BO { - static hasDST(e = OR.defaultZone) { - const t = AL.now().setZone(e).set({ month: 12 }); +class LO { + static hasDST(e = AR.defaultZone) { + const t = yL.now().setZone(e).set({ month: 12 }); return !e.isUniversal && t.offset !== t.set({ month: 6 }).offset; } static isValidIANAZone(e) { - return JI.isValidZone(e); + return WI.isValidZone(e); } static normalizeZone(e) { - return ER(e, OR.defaultZone); + return pR(e, AR.defaultZone); } static getStartOfWeek({ locale: e = null, locObj: t = null } = {}) { - return (t || mR.create(e)).getStartOfWeek(); + return (t || lR.create(e)).getStartOfWeek(); } static getMinimumDaysInFirstWeek({ locale: e = null, locObj: t = null, } = {}) { - return (t || mR.create(e)).getMinDaysInFirstWeek(); + return (t || lR.create(e)).getMinDaysInFirstWeek(); } static getWeekendWeekdays({ locale: e = null, locObj: t = null } = {}) { - return (t || mR.create(e)).getWeekendDays().slice(); + return (t || lR.create(e)).getWeekendDays().slice(); } static months( e = "long", @@ -58645,7 +58639,7 @@ class BO { outputCalendar: r = "gregory", } = {}, ) { - return (a || mR.create(t, n, r)).months(e); + return (a || lR.create(t, n, r)).months(e); } static monthsFormat( e = "long", @@ -58656,36 +58650,36 @@ class BO { outputCalendar: r = "gregory", } = {}, ) { - return (a || mR.create(t, n, r)).months(e, !0); + return (a || lR.create(t, n, r)).months(e, !0); } static weekdays( e = "long", { locale: t = null, numberingSystem: n = null, locObj: a = null } = {}, ) { - return (a || mR.create(t, n, null)).weekdays(e); + return (a || lR.create(t, n, null)).weekdays(e); } static weekdaysFormat( e = "long", { locale: t = null, numberingSystem: n = null, locObj: a = null } = {}, ) { - return (a || mR.create(t, n, null)).weekdays(e, !0); + return (a || lR.create(t, n, null)).weekdays(e, !0); } static meridiems({ locale: e = null } = {}) { - return mR.create(e).meridiems(); + return lR.create(e).meridiems(); } static eras(e = "short", { locale: t = null } = {}) { - return mR.create(t, null, "gregory").eras(e); + return lR.create(t, null, "gregory").eras(e); } static features() { - return { relative: XR(), localeWeek: QR() }; + return { relative: ZR(), localeWeek: $R() }; } } -function FO(e, t) { +function MO(e, t) { const n = (e) => e.toUTC(0, { keepLocalTime: !0 }).startOf("day").valueOf(), a = n(t) - n(e); - return Math.floor(DO.fromMillis(a).as("days")); + return Math.floor(RO.fromMillis(a).as("days")); } -function HO(e, t, n, a) { +function DO(e, t, n, a) { let [r, i, o, s] = (function (e, t, n) { const a = [ ["years", (e, t) => t.year - e.year], @@ -58694,11 +58688,11 @@ function HO(e, t, n, a) { [ "weeks", (e, t) => { - const n = FO(e, t); + const n = MO(e, t); return (n - (n % 7)) / 7; }, ], - ["days", FO], + ["days", MO], ], r = {}, i = e; @@ -58720,14 +58714,14 @@ function HO(e, t, n, a) { 0 === c.length && (o < t && (o = r.plus({ [s]: 1 })), o !== r && (i[s] = (i[s] || 0) + l / (o - r))); - const d = DO.fromObject(i, a); + const d = RO.fromObject(i, a); return c.length > 0 - ? DO.fromMillis(l, a) + ? RO.fromMillis(l, a) .shiftTo(...c) .plus(d) : d; } -function zO(e, t = (e) => e) { +function PO(e, t = (e) => e) { return { regex: e, deser: ([e]) => @@ -58738,10 +58732,10 @@ function zO(e, t = (e) => e) { t = ""; for (let n = 0; n < e.length; n++) { const a = e.charCodeAt(n); - if (-1 !== e[n].search(vR.hanidec)) t += TR.indexOf(e[n]); + if (-1 !== e[n].search(hR.hanidec)) t += gR.indexOf(e[n]); else - for (const e in xR) { - const [n, r] = xR[e]; + for (const e in mR) { + const [n, r] = mR[e]; a >= n && a <= r && (t += a - n); } } @@ -58752,29 +58746,29 @@ function zO(e, t = (e) => e) { ), }; } -const UO = `[ ${String.fromCharCode(160)}]`, - GO = new RegExp(UO, "g"); -function VO(e) { - return e.replace(/\./g, "\\.?").replace(GO, UO); +const jO = `[ ${String.fromCharCode(160)}]`, + BO = new RegExp(jO, "g"); +function FO(e) { + return e.replace(/\./g, "\\.?").replace(BO, jO); } -function ZO(e) { - return e.replace(/\./g, "").replace(GO, " ").toLowerCase(); +function HO(e) { + return e.replace(/\./g, "").replace(BO, " ").toLowerCase(); } -function $O(e, t) { +function zO(e, t) { return null === e ? null : { - regex: RegExp(e.map(VO).join("|")), - deser: ([n]) => e.findIndex((e) => ZO(n) === ZO(e)) + t, + regex: RegExp(e.map(FO).join("|")), + deser: ([n]) => e.findIndex((e) => HO(n) === HO(e)) + t, }; } -function WO(e, t) { - return { regex: e, deser: ([, e, t]) => fk(e, t), groups: t }; +function UO(e, t) { + return { regex: e, deser: ([, e, t]) => dk(e, t), groups: t }; } -function qO(e) { +function GO(e) { return { regex: e, deser: ([e]) => e }; } -const YO = { +const VO = { year: { "2-digit": "yy", numeric: "yyyyy" }, month: { numeric: "M", "2-digit": "MM", short: "MMM", long: "MMMM" }, day: { numeric: "d", "2-digit": "dd" }, @@ -58787,37 +58781,37 @@ const YO = { second: { numeric: "s", "2-digit": "ss" }, timeZoneName: { long: "ZZZZZ", short: "ZZZ" }, }; -let KO = null; -function XO(e, t) { +let ZO = null; +function $O(e, t) { return Array.prototype.concat( ...e.map((e) => (function (e, t) { if (e.literal) return e; - const n = eL(Pk.macroTokenToFormatOpts(e.val), t); + const n = YO(Rk.macroTokenToFormatOpts(e.val), t); return null == n || n.includes(void 0) ? e : n; })(e, t), ), ); } -class QO { +class WO { constructor(e, t) { if ( ((this.locale = e), (this.format = t), - (this.tokens = XO(Pk.parseFormat(t), e)), + (this.tokens = $O(Rk.parseFormat(t), e)), (this.units = this.tokens.map((t) => (function (e, t) { - const n = yR(t), - a = yR(t, "{2}"), - r = yR(t, "{3}"), - i = yR(t, "{4}"), - o = yR(t, "{6}"), - s = yR(t, "{1,2}"), - l = yR(t, "{1,3}"), - c = yR(t, "{1,6}"), - d = yR(t, "{1,9}"), - u = yR(t, "{2,4}"), - p = yR(t, "{4,6}"), + const n = bR(t), + a = bR(t, "{2}"), + r = bR(t, "{3}"), + i = bR(t, "{4}"), + o = bR(t, "{6}"), + s = bR(t, "{1,2}"), + l = bR(t, "{1,3}"), + c = bR(t, "{1,6}"), + d = bR(t, "{1,9}"), + u = bR(t, "{2,4}"), + p = bR(t, "{4,6}"), h = (e) => { return { regex: RegExp( @@ -58833,21 +58827,21 @@ class QO { if (e.literal) return h(m); switch (m.val) { case "G": - return $O(t.eras("short"), 0); + return zO(t.eras("short"), 0); case "GG": - return $O(t.eras("long"), 0); + return zO(t.eras("long"), 0); case "y": - return zO(c); + return PO(c); case "yy": case "kk": - return zO(u, mk); + return PO(u, lk); case "yyyy": case "kkkk": - return zO(i); + return PO(i); case "yyyyy": - return zO(p); + return PO(p); case "yyyyyy": - return zO(o); + return PO(o); case "M": case "L": case "d": @@ -58857,7 +58851,7 @@ class QO { case "q": case "s": case "W": - return zO(s); + return PO(s); case "MM": case "LL": case "dd": @@ -58867,51 +58861,51 @@ class QO { case "qq": case "ss": case "WW": - return zO(a); + return PO(a); case "MMM": - return $O(t.months("short", !0), 1); + return zO(t.months("short", !0), 1); case "MMMM": - return $O(t.months("long", !0), 1); + return zO(t.months("long", !0), 1); case "LLL": - return $O(t.months("short", !1), 1); + return zO(t.months("short", !1), 1); case "LLLL": - return $O(t.months("long", !1), 1); + return zO(t.months("long", !1), 1); case "o": case "S": - return zO(l); + return PO(l); case "ooo": case "SSS": - return zO(r); + return PO(r); case "u": - return qO(d); + return GO(d); case "uu": - return qO(s); + return GO(s); case "uuu": case "E": case "c": - return zO(n); + return PO(n); case "a": - return $O(t.meridiems(), 0); + return zO(t.meridiems(), 0); case "EEE": - return $O(t.weekdays("short", !1), 1); + return zO(t.weekdays("short", !1), 1); case "EEEE": - return $O(t.weekdays("long", !1), 1); + return zO(t.weekdays("long", !1), 1); case "ccc": - return $O(t.weekdays("short", !0), 1); + return zO(t.weekdays("short", !0), 1); case "cccc": - return $O(t.weekdays("long", !0), 1); + return zO(t.weekdays("long", !0), 1); case "Z": case "ZZ": - return WO( + return UO( new RegExp(`([+-]${s.source})(?::(${a.source}))?`), 2, ); case "ZZZ": - return WO(new RegExp(`([+-]${s.source})(${a.source})?`), 2); + return UO(new RegExp(`([+-]${s.source})(${a.source})?`), 2); case "z": - return qO(/[a-z_+-/]{1,256}?/i); + return GO(/[a-z_+-/]{1,256}?/i); case " ": - return qO(/[^\S\n\r]/); + return GO(/[^\S\n\r]/); default: return h(m); } @@ -58942,7 +58936,7 @@ class QO { const e = {}; let t = 1; for (const r in n) - if (ek(n, r)) { + if (qR(n, r)) { const i = n[r], o = i.groups ? i.groups + 1 : 1; (!i.literal && @@ -58958,15 +58952,15 @@ class QO { ? (function (e) { let t, n = null; - (qR(e.z) || (n = JI.create(e.z)), - qR(e.Z) || (n || (n = new fR(e.Z)), (t = e.Z)), - qR(e.q) || (e.M = 3 * (e.q - 1) + 1), - qR(e.h) || + (UR(e.z) || (n = WI.create(e.z)), + UR(e.Z) || (n || (n = new dR(e.Z)), (t = e.Z)), + UR(e.q) || (e.M = 3 * (e.q - 1) + 1), + UR(e.h) || (e.h < 12 && 1 === e.a ? (e.h += 12) : 12 === e.h && 0 === e.a && (e.h = 0)), 0 === e.G && e.y && (e.y = -e.y), - qR(e.u) || (e.S = ok(e.u))); + UR(e.u) || (e.S = ek(e.u))); const a = Object.keys(e).reduce((t, n) => { const a = ((e) => { switch (e) { @@ -59006,8 +59000,8 @@ class QO { return [a, n, t]; })(n) : [null, null, void 0]; - if (ek(n, "a") && ek(n, "H")) - throw new EI("Can't include meridiem when specifying 24-hour format"); + if (qR(n, "a") && qR(n, "H")) + throw new pI("Can't include meridiem when specifying 24-hour format"); return { input: e, tokens: this.tokens, @@ -59028,13 +59022,13 @@ class QO { return this.disqualifyingUnit ? this.disqualifyingUnit.invalidReason : null; } } -function JO(e, t, n) { - return new QO(e, n).explainFromTokens(t); +function qO(e, t, n) { + return new WO(e, n).explainFromTokens(t); } -function eL(e, t) { +function YO(e, t) { if (!e) return null; - const n = Pk.create(t, e).dtFormatter( - (KO || (KO = AL.fromMillis(1555555555555)), KO), + const n = Rk.create(t, e).dtFormatter( + (ZO || (ZO = yL.fromMillis(1555555555555)), ZO), ), a = n.formatToParts(), r = n.resolvedOptions(); @@ -59060,23 +59054,24 @@ function eL(e, t) { : n.hour12 ? "hour12" : "hour24"); - let s = YO[o]; + let s = VO[o]; if (("object" == typeof s && (s = s[i]), s)) return { literal: !1, val: s }; })(t, e, r), ); } -const tL = "Invalid DateTime"; -function nL(e) { - return new LR("unsupported zone", `the zone "${e.name}" is not supported`); +const KO = "Invalid DateTime", + XO = 864e13; +function QO(e) { + return new CR("unsupported zone", `the zone "${e.name}" is not supported`); } -function aL(e) { - return (null === e.weekData && (e.weekData = zR(e.c)), e.weekData); +function JO(e) { + return (null === e.weekData && (e.weekData = DR(e.c)), e.weekData); } -function rL(e) { +function eL(e) { return ( null === e.localWeekData && - (e.localWeekData = zR( + (e.localWeekData = DR( e.c, e.loc.getMinDaysInFirstWeek(), e.loc.getStartOfWeek(), @@ -59084,7 +59079,7 @@ function rL(e) { e.localWeekData ); } -function iL(e, t) { +function tL(e, t) { const n = { ts: e.ts, zone: e.zone, @@ -59093,9 +59088,9 @@ function iL(e, t) { loc: e.loc, invalid: e.invalid, }; - return new AL({ ...n, ...t, old: n }); + return new yL({ ...n, ...t, old: n }); } -function oL(e, t, n) { +function nL(e, t, n) { let a = e - 60 * t * 1e3; const r = n.offset(a); if (t === r) return [a, t]; @@ -59103,7 +59098,7 @@ function oL(e, t, n) { const i = n.offset(a); return r === i ? [a, r] : [e - 60 * Math.min(r, i) * 1e3, Math.max(r, i)]; } -function sL(e, t) { +function aL(e, t) { const n = new Date((e += 60 * t * 1e3)); return { year: n.getUTCFullYear(), @@ -59115,10 +59110,10 @@ function sL(e, t) { millisecond: n.getUTCMilliseconds(), }; } -function lL(e, t, n) { - return oL(uk(e), t, n); +function rL(e, t, n) { + return nL(ik(e), t, n); } -function cL(e, t) { +function iL(e, t) { const n = e.o, a = e.c.year + Math.trunc(t.years), r = e.c.month + Math.trunc(t.months) + 3 * Math.trunc(t.quarters), @@ -59127,11 +59122,11 @@ function cL(e, t) { year: a, month: r, day: - Math.min(e.c.day, dk(a, r)) + + Math.min(e.c.day, rk(a, r)) + Math.trunc(t.days) + 7 * Math.trunc(t.weeks), }, - o = DO.fromObject({ + o = RO.fromObject({ years: t.years - Math.trunc(t.years), quarters: t.quarters - Math.trunc(t.quarters), months: t.months - Math.trunc(t.months), @@ -59142,71 +59137,85 @@ function cL(e, t) { seconds: t.seconds, milliseconds: t.milliseconds, }).as("milliseconds"), - s = uk(i); - let [l, c] = oL(s, n, e.zone); + s = ik(i); + let [l, c] = nL(s, n, e.zone); return (0 !== o && ((l += o), (c = e.zone.offset(l))), { ts: l, o: c }); } -function dL(e, t, n, a, r, i) { +function oL(e, t, n, a, r, i) { const { setZone: o, zone: s } = n; if ((e && 0 !== Object.keys(e).length) || t) { const a = t || s, - r = AL.fromObject(e, { ...n, zone: a, specificOffset: i }); + r = yL.fromObject(e, { ...n, zone: a, specificOffset: i }); return o ? r : r.setZone(s); } - return AL.invalid( - new LR("unparsable", `the input "${r}" can't be parsed as ${a}`), + return yL.invalid( + new CR("unparsable", `the input "${r}" can't be parsed as ${a}`), ); } -function uL(e, t, n = !0) { +function sL(e, t, n = !0) { return e.isValid - ? Pk.create(mR.create("en-US"), { + ? Rk.create(lR.create("en-US"), { allowZ: n, forceSimple: !0, }).formatDateTimeFromString(e, t) : null; } -function pL(e, t) { - const n = e.c.year > 9999 || e.c.year < 0; - let a = ""; - return ( - n && e.c.year >= 0 && (a += "+"), - (a += ak(e.c.year, n ? 6 : 4)), - t - ? ((a += "-"), (a += ak(e.c.month)), (a += "-"), (a += ak(e.c.day))) - : ((a += ak(e.c.month)), (a += ak(e.c.day))), - a - ); -} -function hL(e, t, n, a, r, i) { - let o = ak(e.c.hour); +function lL(e, t, n) { + const a = e.c.year > 9999 || e.c.year < 0; + let r = ""; + if ( + (a && e.c.year >= 0 && (r += "+"), + (r += XR(e.c.year, a ? 6 : 4)), + "year" === n) + ) + return r; + if (t) { + if (((r += "-"), (r += XR(e.c.month)), "month" === n)) return r; + r += "-"; + } else if (((r += XR(e.c.month)), "month" === n)) return r; + return ((r += XR(e.c.day)), r); +} +function cL(e, t, n, a, r, i, o) { + let s = !n || 0 !== e.c.millisecond || 0 !== e.c.second, + l = ""; + switch (o) { + case "day": + case "month": + case "year": + break; + default: + if (((l += XR(e.c.hour)), "hour" === o)) break; + if (t) { + if (((l += ":"), (l += XR(e.c.minute)), "minute" === o)) break; + s && ((l += ":"), (l += XR(e.c.second))); + } else { + if (((l += XR(e.c.minute)), "minute" === o)) break; + s && (l += XR(e.c.second)); + } + if ("second" === o) break; + !s || + (a && 0 === e.c.millisecond) || + ((l += "."), (l += XR(e.c.millisecond, 3))); + } return ( - t - ? ((o += ":"), - (o += ak(e.c.minute)), - (0 === e.c.millisecond && 0 === e.c.second && n) || (o += ":")) - : (o += ak(e.c.minute)), - (0 === e.c.millisecond && 0 === e.c.second && n) || - ((o += ak(e.c.second)), - (0 === e.c.millisecond && a) || - ((o += "."), (o += ak(e.c.millisecond, 3)))), r && (e.isOffsetFixed && 0 === e.offset && !i - ? (o += "Z") + ? (l += "Z") : e.o < 0 - ? ((o += "-"), - (o += ak(Math.trunc(-e.o / 60))), - (o += ":"), - (o += ak(Math.trunc(-e.o % 60)))) - : ((o += "+"), - (o += ak(Math.trunc(e.o / 60))), - (o += ":"), - (o += ak(Math.trunc(e.o % 60))))), - i && (o += "[" + e.zone.ianaName + "]"), - o + ? ((l += "-"), + (l += XR(Math.trunc(-e.o / 60))), + (l += ":"), + (l += XR(Math.trunc(-e.o % 60)))) + : ((l += "+"), + (l += XR(Math.trunc(e.o / 60))), + (l += ":"), + (l += XR(Math.trunc(e.o % 60))))), + i && (l += "[" + e.zone.ianaName + "]"), + l ); } -const mL = { month: 1, day: 1, hour: 0, minute: 0, second: 0, millisecond: 0 }, - gL = { +const dL = { month: 1, day: 1, hour: 0, minute: 0, second: 0, millisecond: 0 }, + uL = { weekNumber: 1, weekday: 1, hour: 0, @@ -59214,9 +59223,9 @@ const mL = { month: 1, day: 1, hour: 0, minute: 0, second: 0, millisecond: 0 }, second: 0, millisecond: 0, }, - fL = { ordinal: 1, hour: 0, minute: 0, second: 0, millisecond: 0 }, - bL = ["year", "month", "day", "hour", "minute", "second", "millisecond"], - EL = [ + pL = { ordinal: 1, hour: 0, minute: 0, second: 0, millisecond: 0 }, + hL = ["year", "month", "day", "hour", "minute", "second", "millisecond"], + mL = [ "weekYear", "weekNumber", "weekday", @@ -59225,8 +59234,38 @@ const mL = { month: 1, day: 1, hour: 0, minute: 0, second: 0, millisecond: 0 }, "second", "millisecond", ], - vL = ["year", "ordinal", "hour", "minute", "second", "millisecond"]; -function xL(e) { + gL = ["year", "ordinal", "hour", "minute", "second", "millisecond"]; +function fL(e) { + const t = { + year: "year", + years: "year", + month: "month", + months: "month", + day: "day", + days: "day", + hour: "hour", + hours: "hour", + minute: "minute", + minutes: "minute", + quarter: "quarter", + quarters: "quarter", + second: "second", + seconds: "second", + millisecond: "millisecond", + milliseconds: "millisecond", + weekday: "weekday", + weekdays: "weekday", + weeknumber: "weekNumber", + weeksnumber: "weekNumber", + weeknumbers: "weekNumber", + weekyear: "weekYear", + weekyears: "weekYear", + ordinal: "ordinal", + }[e.toLowerCase()]; + if (!t) throw new hI(e); + return t; +} +function bL(e) { switch (e.toLowerCase()) { case "localweekday": case "localweekdays": @@ -59238,79 +59277,51 @@ function xL(e) { case "localweekyears": return "localWeekYear"; default: - return (function (e) { - const t = { - year: "year", - years: "year", - month: "month", - months: "month", - day: "day", - days: "day", - hour: "hour", - hours: "hour", - minute: "minute", - minutes: "minute", - quarter: "quarter", - quarters: "quarter", - second: "second", - seconds: "second", - millisecond: "millisecond", - milliseconds: "millisecond", - weekday: "weekday", - weekdays: "weekday", - weeknumber: "weekNumber", - weeksnumber: "weekNumber", - weeknumbers: "weekNumber", - weekyear: "weekYear", - weekyears: "weekYear", - ordinal: "ordinal", - }[e.toLowerCase()]; - if (!t) throw new vI(e); - return t; - })(e); + return fL(e); } } -function TL(e, t) { - const n = ER(t.zone, OR.defaultZone); - if (!n.isValid) return AL.invalid(nL(n)); - const a = mR.fromObject(t); +function EL(e, t) { + const n = pR(t.zone, AR.defaultZone); + if (!n.isValid) return yL.invalid(QO(n)); + const a = lR.fromObject(t); let r, i; - if (qR(e.year)) r = OR.now(); + if (UR(e.year)) r = AR.now(); else { - for (const t of bL) qR(e[t]) && (e[t] = mL[t]); - const t = $R(e) || WR(e); - if (t) return AL.invalid(t); + for (const t of hL) UR(e[t]) && (e[t] = dL[t]); + const t = HR(e) || zR(e); + if (t) return yL.invalid(t); const a = (function (e) { - if ((void 0 === SL && (SL = OR.now()), "iana" !== e.type)) - return e.offset(SL); + if ((void 0 === TL && (TL = AR.now()), "iana" !== e.type)) + return e.offset(TL); const t = e.name; - let n = wL.get(t); - return (void 0 === n && ((n = e.offset(SL)), wL.set(t, n)), n); + let n = _L.get(t); + return (void 0 === n && ((n = e.offset(TL)), _L.set(t, n)), n); })(n); - [r, i] = lL(e, a, n); + [r, i] = rL(e, a, n); } - return new AL({ ts: r, zone: n, loc: a, o: i }); + return new yL({ ts: r, zone: n, loc: a, o: i }); } -function _L(e, t, n) { - const a = !!qR(n.round) || n.round, - r = (e, r) => { - e = sk(e, a || n.calendary ? 0 : 2, !0); - return t.loc.clone(n).relFormatter(n).format(e, r); +function vL(e, t, n) { + const a = !!UR(n.round) || n.round, + r = UR(n.rounding) ? "trunc" : n.rounding, + i = (e, i) => { + e = tk(e, a || n.calendary ? 0 : 2, n.calendary ? "round" : r); + return t.loc.clone(n).relFormatter(n).format(e, i); }, - i = (a) => + o = (a) => n.calendary ? t.hasSame(e, a) ? 0 : t.startOf(a).diff(e.startOf(a), a).get(a) : t.diff(e, a).get(a); - if (n.unit) return r(i(n.unit), n.unit); + if (n.unit) return i(o(n.unit), n.unit); for (const e of n.units) { - const t = i(e); - if (Math.abs(t) >= 1) return r(t, e); + const t = o(e); + if (Math.abs(t) >= 1) return i(t, e); } - return r(e > t ? -0 : 0, n.units[n.units.length - 1]); + return i(e > t ? -0 : 0, n.units[n.units.length - 1]); } -function yL(e) { +function xL(e) { let t, n = {}; return ( @@ -59320,31 +59331,31 @@ function yL(e) { [n, t] ); } -let SL; -const wL = new Map(); -class AL { +let TL; +const _L = new Map(); +class yL { constructor(e) { - const t = e.zone || OR.defaultZone; + const t = e.zone || AR.defaultZone; let n = e.invalid || - (Number.isNaN(e.ts) ? new LR("invalid input") : null) || - (t.isValid ? null : nL(t)); - this.ts = qR(e.ts) ? OR.now() : e.ts; + (Number.isNaN(e.ts) ? new CR("invalid input") : null) || + (t.isValid ? null : QO(t)); + this.ts = UR(e.ts) ? AR.now() : e.ts; let a = null, r = null; if (!n) { if (e.old && e.old.ts === this.ts && e.old.zone.equals(t)) [a, r] = [e.old.c, e.old.o]; else { - const i = YR(e.o) && !e.old ? e.o : t.offset(this.ts); - ((a = sL(this.ts, i)), - (n = Number.isNaN(a.year) ? new LR("invalid input") : null), + const i = GR(e.o) && !e.old ? e.o : t.offset(this.ts); + ((a = aL(this.ts, i)), + (n = Number.isNaN(a.year) ? new CR("invalid input") : null), (a = n ? null : a), (r = n ? null : i)); } } ((this._zone = t), - (this.loc = e.loc || mR.create()), + (this.loc = e.loc || lR.create()), (this.invalid = n), (this.weekData = null), (this.localWeekData = null), @@ -59353,12 +59364,12 @@ class AL { (this.isLuxonDateTime = !0)); } static now() { - return new AL({}); + return new yL({}); } static local() { - const [e, t] = yL(arguments), + const [e, t] = xL(arguments), [n, a, r, i, o, s, l] = t; - return TL( + return EL( { year: n, month: a, @@ -59372,11 +59383,11 @@ class AL { ); } static utc() { - const [e, t] = yL(arguments), + const [e, t] = xL(arguments), [n, a, r, i, o, s, l] = t; return ( - (e.zone = fR.utcInstance), - TL( + (e.zone = dR.utcInstance), + EL( { year: n, month: a, @@ -59396,169 +59407,169 @@ class AL { })(e) ? e.valueOf() : NaN; - if (Number.isNaN(n)) return AL.invalid("invalid input"); - const a = ER(t.zone, OR.defaultZone); + if (Number.isNaN(n)) return yL.invalid("invalid input"); + const a = pR(t.zone, AR.defaultZone); return a.isValid - ? new AL({ ts: n, zone: a, loc: mR.fromObject(t) }) - : AL.invalid(nL(a)); + ? new yL({ ts: n, zone: a, loc: lR.fromObject(t) }) + : yL.invalid(QO(a)); } static fromMillis(e, t = {}) { - if (YR(e)) - return e < -864e13 || e > 864e13 - ? AL.invalid("Timestamp out of range") - : new AL({ + if (GR(e)) + return e < -XO || e > XO + ? yL.invalid("Timestamp out of range") + : new yL({ ts: e, - zone: ER(t.zone, OR.defaultZone), - loc: mR.fromObject(t), + zone: pR(t.zone, AR.defaultZone), + loc: lR.fromObject(t), }); - throw new xI( + throw new mI( `fromMillis requires a numerical input, but received a ${typeof e} with value ${e}`, ); } static fromSeconds(e, t = {}) { - if (YR(e)) - return new AL({ + if (GR(e)) + return new yL({ ts: 1e3 * e, - zone: ER(t.zone, OR.defaultZone), - loc: mR.fromObject(t), + zone: pR(t.zone, AR.defaultZone), + loc: lR.fromObject(t), }); - throw new xI("fromSeconds requires a numerical input"); + throw new mI("fromSeconds requires a numerical input"); } static fromObject(e, t = {}) { e = e || {}; - const n = ER(t.zone, OR.defaultZone); - if (!n.isValid) return AL.invalid(nL(n)); - const a = mR.fromObject(t), - r = Ek(e, xL), - { minDaysInFirstWeek: i, startOfWeek: o } = ZR(r, a), - s = OR.now(), - l = qR(t.specificOffset) ? n.offset(s) : t.specificOffset, - c = !qR(r.ordinal), - d = !qR(r.year), - u = !qR(r.month) || !qR(r.day), + const n = pR(t.zone, AR.defaultZone); + if (!n.isValid) return yL.invalid(QO(n)); + const a = lR.fromObject(t), + r = pk(e, bL), + { minDaysInFirstWeek: i, startOfWeek: o } = FR(r, a), + s = AR.now(), + l = UR(t.specificOffset) ? n.offset(s) : t.specificOffset, + c = !UR(r.ordinal), + d = !UR(r.year), + u = !UR(r.month) || !UR(r.day), p = d || u, h = r.weekYear || r.weekNumber; if ((p || c) && h) - throw new EI( + throw new pI( "Can't mix weekYear/weekNumber units with year/month/day or ordinals", ); - if (u && c) throw new EI("Can't mix ordinal dates with month/day"); + if (u && c) throw new pI("Can't mix ordinal dates with month/day"); const m = h || (r.weekday && !p); let g, f, - b = sL(s, l); + b = aL(s, l); m - ? ((g = EL), (f = gL), (b = zR(b, i, o))) + ? ((g = mL), (f = uL), (b = DR(b, i, o))) : c - ? ((g = vL), (f = fL), (b = GR(b))) - : ((g = bL), (f = mL)); + ? ((g = gL), (f = pL), (b = jR(b))) + : ((g = hL), (f = dL)); let E = !1; for (const e of g) { - qR(r[e]) ? (r[e] = E ? f[e] : b[e]) : (E = !0); + UR(r[e]) ? (r[e] = E ? f[e] : b[e]) : (E = !0); } const v = m ? (function (e, t = 4, n = 1) { - const a = KR(e.weekYear), - r = nk(e.weekNumber, 1, hk(e.weekYear, t, n)), - i = nk(e.weekday, 1, 7); + const a = VR(e.weekYear), + r = KR(e.weekNumber, 1, sk(e.weekYear, t, n)), + i = KR(e.weekday, 1, 7); return a ? r - ? !i && PR("weekday", e.weekday) - : PR("week", e.weekNumber) - : PR("weekYear", e.weekYear); + ? !i && RR("weekday", e.weekday) + : RR("week", e.weekNumber) + : RR("weekYear", e.weekYear); })(r, i, o) : c ? (function (e) { - const t = KR(e.year), - n = nk(e.ordinal, 1, ck(e.year)); - return t ? !n && PR("ordinal", e.ordinal) : PR("year", e.year); + const t = VR(e.year), + n = KR(e.ordinal, 1, ak(e.year)); + return t ? !n && RR("ordinal", e.ordinal) : RR("year", e.year); })(r) - : $R(r), - x = v || WR(r); - if (x) return AL.invalid(x); - const T = m ? UR(r, i, o) : c ? VR(r) : r, - [_, y] = lL(T, l, n), - S = new AL({ ts: _, zone: n, o: y, loc: a }); + : HR(r), + x = v || zR(r); + if (x) return yL.invalid(x); + const T = m ? PR(r, i, o) : c ? BR(r) : r, + [_, y] = rL(T, l, n), + S = new yL({ ts: _, zone: n, o: y, loc: a }); return r.weekday && p && e.weekday !== S.weekday - ? AL.invalid( + ? yL.invalid( "mismatched weekday", `you can't specify both a weekday of ${r.weekday} and a date of ${S.toISO()}`, ) : S.isValid ? S - : AL.invalid(S.invalid); + : yL.invalid(S.invalid); } static fromISO(e, t = {}) { const [n, a] = (function (e) { - return Hk(e, [pO, fO], [hO, bO], [mO, EO], [gO, vO]); + return Mk(e, [oO, dO], [sO, uO], [lO, pO], [cO, hO]); })(e); - return dL(n, a, t, "ISO 8601", e); + return oL(n, a, t, "ISO 8601", e); } static fromRFC2822(e, t = {}) { const [n, a] = (function (e) { - return Hk( + return Mk( (function (e) { return e .replace(/\([^()]*\)|[\n\t]/g, " ") .replace(/(\s\s+)/g, " ") .trim(); })(e), - [iO, oO], + [Jk, eO], ); })(e); - return dL(n, a, t, "RFC 2822", e); + return oL(n, a, t, "RFC 2822", e); } static fromHTTP(e, t = {}) { const [n, a] = (function (e) { - return Hk(e, [sO, dO], [lO, dO], [cO, uO]); + return Mk(e, [tO, rO], [nO, rO], [aO, iO]); })(e); - return dL(n, a, t, "HTTP", t); + return oL(n, a, t, "HTTP", t); } static fromFormat(e, t, n = {}) { - if (qR(e) || qR(t)) - throw new xI("fromFormat requires an input string and a format"); + if (UR(e) || UR(t)) + throw new mI("fromFormat requires an input string and a format"); const { locale: a = null, numberingSystem: r = null } = n, - i = mR.fromOpts({ locale: a, numberingSystem: r, defaultToEN: !0 }), + i = lR.fromOpts({ locale: a, numberingSystem: r, defaultToEN: !0 }), [o, s, l, c] = (function (e, t, n) { const { result: a, zone: r, specificOffset: i, invalidReason: o, - } = JO(e, t, n); + } = qO(e, t, n); return [a, r, i, o]; })(i, e, t); - return c ? AL.invalid(c) : dL(o, s, n, `format ${t}`, e, l); + return c ? yL.invalid(c) : oL(o, s, n, `format ${t}`, e, l); } static fromString(e, t, n = {}) { - return AL.fromFormat(e, t, n); + return yL.fromFormat(e, t, n); } static fromSQL(e, t = {}) { const [n, a] = (function (e) { - return Hk(e, [TO, fO], [_O, yO]); + return Mk(e, [gO, dO], [fO, bO]); })(e); - return dL(n, a, t, "SQL", e); + return oL(n, a, t, "SQL", e); } static invalid(e, t = null) { - if (!e) throw new xI("need to specify a reason the DateTime is invalid"); - const n = e instanceof LR ? e : new LR(e, t); - if (OR.throwOnInvalid) throw new gI(n); - return new AL({ invalid: n }); + if (!e) throw new mI("need to specify a reason the DateTime is invalid"); + const n = e instanceof CR ? e : new CR(e, t); + if (AR.throwOnInvalid) throw new cI(n); + return new yL({ invalid: n }); } static isDateTime(e) { return (e && e.isLuxonDateTime) || !1; } static parseFormatForOpts(e, t = {}) { - const n = eL(e, mR.fromObject(t)); + const n = YO(e, lR.fromObject(t)); return n ? n.map((e) => (e ? e.val : null)).join("") : null; } static expandFormat(e, t = {}) { - return XO(Pk.parseFormat(e), mR.fromObject(t)) + return $O(Rk.parseFormat(e), lR.fromObject(t)) .map((e) => e.val) .join(""); } static resetCache() { - ((SL = void 0), wL.clear()); + ((TL = void 0), _L.clear()); } get(e) { return this[e]; @@ -59612,47 +59623,47 @@ class AL { return this.isValid ? this.c.millisecond : NaN; } get weekYear() { - return this.isValid ? aL(this).weekYear : NaN; + return this.isValid ? JO(this).weekYear : NaN; } get weekNumber() { - return this.isValid ? aL(this).weekNumber : NaN; + return this.isValid ? JO(this).weekNumber : NaN; } get weekday() { - return this.isValid ? aL(this).weekday : NaN; + return this.isValid ? JO(this).weekday : NaN; } get isWeekend() { return this.isValid && this.loc.getWeekendDays().includes(this.weekday); } get localWeekday() { - return this.isValid ? rL(this).weekday : NaN; + return this.isValid ? eL(this).weekday : NaN; } get localWeekNumber() { - return this.isValid ? rL(this).weekNumber : NaN; + return this.isValid ? eL(this).weekNumber : NaN; } get localWeekYear() { - return this.isValid ? rL(this).weekYear : NaN; + return this.isValid ? eL(this).weekYear : NaN; } get ordinal() { - return this.isValid ? GR(this.c).ordinal : NaN; + return this.isValid ? jR(this.c).ordinal : NaN; } get monthShort() { return this.isValid - ? BO.months("short", { locObj: this.loc })[this.month - 1] + ? LO.months("short", { locObj: this.loc })[this.month - 1] : null; } get monthLong() { return this.isValid - ? BO.months("long", { locObj: this.loc })[this.month - 1] + ? LO.months("long", { locObj: this.loc })[this.month - 1] : null; } get weekdayShort() { return this.isValid - ? BO.weekdays("short", { locObj: this.loc })[this.weekday - 1] + ? LO.weekdays("short", { locObj: this.loc })[this.weekday - 1] : null; } get weekdayLong() { return this.isValid - ? BO.weekdays("long", { locObj: this.loc })[this.weekday - 1] + ? LO.weekdays("long", { locObj: this.loc })[this.weekday - 1] : null; } get offset() { @@ -59682,7 +59693,7 @@ class AL { if (!this.isValid || this.isOffsetFixed) return [this]; const e = 864e5, t = 6e4, - n = uk(this.c), + n = ik(this.c), a = this.zone.offset(n - e), r = this.zone.offset(n + e), i = this.zone.offset(n - a * t), @@ -59690,30 +59701,30 @@ class AL { if (i === o) return [this]; const s = n - i * t, l = n - o * t, - c = sL(s, i), - d = sL(l, o); + c = aL(s, i), + d = aL(l, o); return c.hour === d.hour && c.minute === d.minute && c.second === d.second && c.millisecond === d.millisecond - ? [iL(this, { ts: s }), iL(this, { ts: l })] + ? [tL(this, { ts: s }), tL(this, { ts: l })] : [this]; } get isInLeapYear() { - return lk(this.year); + return nk(this.year); } get daysInMonth() { - return dk(this.year, this.month); + return rk(this.year, this.month); } get daysInYear() { - return this.isValid ? ck(this.year) : NaN; + return this.isValid ? ak(this.year) : NaN; } get weeksInWeekYear() { - return this.isValid ? hk(this.weekYear) : NaN; + return this.isValid ? sk(this.weekYear) : NaN; } get weeksInLocalWeekYear() { return this.isValid - ? hk( + ? sk( this.localWeekYear, this.loc.getMinDaysInFirstWeek(), this.loc.getStartOfWeek(), @@ -59725,30 +59736,30 @@ class AL { locale: t, numberingSystem: n, calendar: a, - } = Pk.create(this.loc.clone(e), e).resolvedOptions(this); + } = Rk.create(this.loc.clone(e), e).resolvedOptions(this); return { locale: t, numberingSystem: n, outputCalendar: a }; } toUTC(e = 0, t = {}) { - return this.setZone(fR.instance(e), t); + return this.setZone(dR.instance(e), t); } toLocal() { - return this.setZone(OR.defaultZone); + return this.setZone(AR.defaultZone); } setZone(e, { keepLocalTime: t = !1, keepCalendarTime: n = !1 } = {}) { - if ((e = ER(e, OR.defaultZone)).equals(this.zone)) return this; + if ((e = pR(e, AR.defaultZone)).equals(this.zone)) return this; if (e.isValid) { let a = this.ts; if (t || n) { const t = e.offset(this.ts), n = this.toObject(); - [a] = lL(n, t, e); + [a] = rL(n, t, e); } - return iL(this, { ts: a, zone: e }); + return tL(this, { ts: a, zone: e }); } - return AL.invalid(nL(e)); + return yL.invalid(QO(e)); } reconfigure({ locale: e, numberingSystem: t, outputCalendar: n } = {}) { - return iL(this, { + return tL(this, { loc: this.loc.clone({ locale: e, numberingSystem: t, outputCalendar: n }), }); } @@ -59757,41 +59768,41 @@ class AL { } set(e) { if (!this.isValid) return this; - const t = Ek(e, xL), - { minDaysInFirstWeek: n, startOfWeek: a } = ZR(t, this.loc), - r = !qR(t.weekYear) || !qR(t.weekNumber) || !qR(t.weekday), - i = !qR(t.ordinal), - o = !qR(t.year), - s = !qR(t.month) || !qR(t.day), + const t = pk(e, bL), + { minDaysInFirstWeek: n, startOfWeek: a } = FR(t, this.loc), + r = !UR(t.weekYear) || !UR(t.weekNumber) || !UR(t.weekday), + i = !UR(t.ordinal), + o = !UR(t.year), + s = !UR(t.month) || !UR(t.day), l = o || s, c = t.weekYear || t.weekNumber; if ((l || i) && c) - throw new EI( + throw new pI( "Can't mix weekYear/weekNumber units with year/month/day or ordinals", ); - if (s && i) throw new EI("Can't mix ordinal dates with month/day"); + if (s && i) throw new pI("Can't mix ordinal dates with month/day"); let d; r - ? (d = UR({ ...zR(this.c, n, a), ...t }, n, a)) - : qR(t.ordinal) + ? (d = PR({ ...DR(this.c, n, a), ...t }, n, a)) + : UR(t.ordinal) ? ((d = { ...this.toObject(), ...t }), - qR(t.day) && (d.day = Math.min(dk(d.year, d.month), d.day))) - : (d = VR({ ...GR(this.c), ...t })); - const [u, p] = lL(d, this.o, this.zone); - return iL(this, { ts: u, o: p }); + UR(t.day) && (d.day = Math.min(rk(d.year, d.month), d.day))) + : (d = BR({ ...jR(this.c), ...t })); + const [u, p] = rL(d, this.o, this.zone); + return tL(this, { ts: u, o: p }); } plus(e) { if (!this.isValid) return this; - return iL(this, cL(this, DO.fromDurationLike(e))); + return tL(this, iL(this, RO.fromDurationLike(e))); } minus(e) { if (!this.isValid) return this; - return iL(this, cL(this, DO.fromDurationLike(e).negate())); + return tL(this, iL(this, RO.fromDurationLike(e).negate())); } startOf(e, { useLocaleWeeks: t = !1 } = {}) { if (!this.isValid) return this; const n = {}, - a = DO.normalizeUnit(e); + a = RO.normalizeUnit(e); switch (a) { case "years": n.month = 1; @@ -59829,17 +59840,17 @@ class AL { } toFormat(e, t = {}) { return this.isValid - ? Pk.create(this.loc.redefaultToEN(t)).formatDateTimeFromString(this, e) - : tL; + ? Rk.create(this.loc.redefaultToEN(t)).formatDateTimeFromString(this, e) + : KO; } - toLocaleString(e = wI, t = {}) { + toLocaleString(e = vI, t = {}) { return this.isValid - ? Pk.create(this.loc.clone(t), e).formatDateTime(this) - : tL; + ? Rk.create(this.loc.clone(t), e).formatDateTime(this) + : KO; } toLocaleParts(e = {}) { return this.isValid - ? Pk.create(this.loc.clone(e), e).formatDateTimeParts(this) + ? Rk.create(this.loc.clone(e), e).formatDateTimeParts(this) : []; } toISO({ @@ -59848,17 +59859,22 @@ class AL { suppressMilliseconds: n = !1, includeOffset: a = !0, extendedZone: r = !1, + precision: i = "milliseconds", } = {}) { if (!this.isValid) return null; - const i = "extended" === e; - let o = pL(this, i); - return ((o += "T"), (o += hL(this, i, t, n, a, r)), o); + const o = "extended" === e; + let s = lL(this, o, (i = fL(i))); + return ( + hL.indexOf(i) >= 3 && (s += "T"), + (s += cL(this, o, t, n, a, r, i)), + s + ); } - toISODate({ format: e = "extended" } = {}) { - return this.isValid ? pL(this, "extended" === e) : null; + toISODate({ format: e = "extended", precision: t = "day" } = {}) { + return this.isValid ? lL(this, "extended" === e, fL(t)) : null; } toISOWeekDate() { - return uL(this, "kkkk-'W'WW-c"); + return sL(this, "kkkk-'W'WW-c"); } toISOTime({ suppressMilliseconds: e = !1, @@ -59867,18 +59883,23 @@ class AL { includePrefix: a = !1, extendedZone: r = !1, format: i = "extended", + precision: o = "milliseconds", } = {}) { if (!this.isValid) return null; - return (a ? "T" : "") + hL(this, "extended" === i, t, e, n, r); + return ( + (o = fL(o)), + (a && hL.indexOf(o) >= 3 ? "T" : "") + + cL(this, "extended" === i, t, e, n, r, o) + ); } toRFC2822() { - return uL(this, "EEE, dd LLL yyyy HH:mm:ss ZZZ", !1); + return sL(this, "EEE, dd LLL yyyy HH:mm:ss ZZZ", !1); } toHTTP() { - return uL(this.toUTC(), "EEE, dd LLL yyyy HH:mm:ss 'GMT'"); + return sL(this.toUTC(), "EEE, dd LLL yyyy HH:mm:ss 'GMT'"); } toSQLDate() { - return this.isValid ? pL(this, !0) : null; + return this.isValid ? lL(this, !0) : null; } toSQLTime({ includeOffset: e = !0, @@ -59888,14 +59909,14 @@ class AL { let a = "HH:mm:ss.SSS"; return ( (t || e) && (n && (a += " "), t ? (a += "z") : e && (a += "ZZ")), - uL(this, a, !0) + sL(this, a, !0) ); } toSQL(e = {}) { return this.isValid ? `${this.toSQLDate()} ${this.toSQLTime(e)}` : null; } toString() { - return this.isValid ? this.toISO() : tL; + return this.isValid ? this.toISO() : KO; } [Symbol.for("nodejs.util.inspect.custom")]() { return this.isValid @@ -59936,23 +59957,23 @@ class AL { } diff(e, t = "milliseconds", n = {}) { if (!this.isValid || !e.isValid) - return DO.invalid("created by diffing an invalid DateTime"); + return RO.invalid("created by diffing an invalid DateTime"); const a = { locale: this.locale, numberingSystem: this.numberingSystem, ...n, }, - r = ((s = t), Array.isArray(s) ? s : [s]).map(DO.normalizeUnit), + r = ((s = t), Array.isArray(s) ? s : [s]).map(RO.normalizeUnit), i = e.valueOf() > this.valueOf(), - o = HO(i ? this : e, i ? e : this, r, a); + o = DO(i ? this : e, i ? e : this, r, a); var s; return i ? o.negate() : o; } diffNow(e = "milliseconds", t = {}) { - return this.diff(AL.now(), e, t); + return this.diff(yL.now(), e, t); } until(e) { - return this.isValid ? jO.fromDateTimes(this, e) : this; + return this.isValid ? OO.fromDateTimes(this, e) : this; } hasSame(e, t, n) { if (!this.isValid) return !1; @@ -59971,18 +59992,18 @@ class AL { } toRelative(e = {}) { if (!this.isValid) return null; - const t = e.base || AL.fromObject({}, { zone: this.zone }), + const t = e.base || yL.fromObject({}, { zone: this.zone }), n = e.padding ? (this < t ? -e.padding : e.padding) : 0; let a = ["years", "months", "days", "hours", "minutes", "seconds"], r = e.unit; return ( Array.isArray(e.unit) && ((a = e.unit), (r = void 0)), - _L(t, this.plus(n), { ...e, numeric: "always", units: a, unit: r }) + vL(t, this.plus(n), { ...e, numeric: "always", units: a, unit: r }) ); } toRelativeCalendar(e = {}) { return this.isValid - ? _L(e.base || AL.fromObject({}, { zone: this.zone }), this, { + ? vL(e.base || yL.fromObject({}, { zone: this.zone }), this, { ...e, numeric: "auto", units: ["years", "months", "days"], @@ -59991,40 +60012,40 @@ class AL { : null; } static min(...e) { - if (!e.every(AL.isDateTime)) - throw new xI("min requires all arguments be DateTimes"); - return JR(e, (e) => e.valueOf(), Math.min); + if (!e.every(yL.isDateTime)) + throw new mI("min requires all arguments be DateTimes"); + return WR(e, (e) => e.valueOf(), Math.min); } static max(...e) { - if (!e.every(AL.isDateTime)) - throw new xI("max requires all arguments be DateTimes"); - return JR(e, (e) => e.valueOf(), Math.max); + if (!e.every(yL.isDateTime)) + throw new mI("max requires all arguments be DateTimes"); + return WR(e, (e) => e.valueOf(), Math.max); } static fromFormatExplain(e, t, n = {}) { const { locale: a = null, numberingSystem: r = null } = n; - return JO( - mR.fromOpts({ locale: a, numberingSystem: r, defaultToEN: !0 }), + return qO( + lR.fromOpts({ locale: a, numberingSystem: r, defaultToEN: !0 }), e, t, ); } static fromStringExplain(e, t, n = {}) { - return AL.fromFormatExplain(e, t, n); + return yL.fromFormatExplain(e, t, n); } static buildFormatParser(e, t = {}) { const { locale: n = null, numberingSystem: a = null } = t, - r = mR.fromOpts({ locale: n, numberingSystem: a, defaultToEN: !0 }); - return new QO(r, e); + r = lR.fromOpts({ locale: n, numberingSystem: a, defaultToEN: !0 }); + return new WO(r, e); } static fromFormatParser(e, t, n = {}) { - if (qR(e) || qR(t)) - throw new xI( + if (UR(e) || UR(t)) + throw new mI( "fromFormatParser requires an input string and a format parser", ); const { locale: a = null, numberingSystem: r = null } = n, - i = mR.fromOpts({ locale: a, numberingSystem: r, defaultToEN: !0 }); + i = lR.fromOpts({ locale: a, numberingSystem: r, defaultToEN: !0 }); if (!i.equals(t.locale)) - throw new xI( + throw new mI( `fromFormatParser called with a locale of ${i}, but the format parser was created for ${t.locale}`, ); const { @@ -60033,82 +60054,82 @@ class AL { specificOffset: l, invalidReason: c, } = t.explainFromTokens(e); - return c ? AL.invalid(c) : dL(o, s, n, `format ${t.format}`, e, l); + return c ? yL.invalid(c) : oL(o, s, n, `format ${t.format}`, e, l); } static get DATE_SHORT() { - return wI; + return vI; } static get DATE_MED() { - return AI; + return xI; } static get DATE_MED_WITH_WEEKDAY() { - return CI; + return TI; } static get DATE_FULL() { - return NI; + return _I; } static get DATE_HUGE() { - return II; + return yI; } static get TIME_SIMPLE() { - return RI; + return SI; } static get TIME_WITH_SECONDS() { - return kI; + return wI; } static get TIME_WITH_SHORT_OFFSET() { - return OI; + return AI; } static get TIME_WITH_LONG_OFFSET() { - return LI; + return CI; } static get TIME_24_SIMPLE() { - return MI; + return NI; } static get TIME_24_WITH_SECONDS() { - return DI; + return II; } static get TIME_24_WITH_SHORT_OFFSET() { - return PI; + return RI; } static get TIME_24_WITH_LONG_OFFSET() { - return jI; + return kI; } static get DATETIME_SHORT() { - return BI; + return OI; } static get DATETIME_SHORT_WITH_SECONDS() { - return FI; + return LI; } static get DATETIME_MED() { - return HI; + return MI; } static get DATETIME_MED_WITH_SECONDS() { - return zI; + return DI; } static get DATETIME_MED_WITH_WEEKDAY() { - return UI; + return PI; } static get DATETIME_FULL() { - return GI; + return jI; } static get DATETIME_FULL_WITH_SECONDS() { - return VI; + return BI; } static get DATETIME_HUGE() { - return ZI; + return FI; } static get DATETIME_HUGE_WITH_SECONDS() { - return $I; + return HI; } } -function CL(e) { - if (AL.isDateTime(e)) return e; - if (e && e.valueOf && YR(e.valueOf())) return AL.fromJSDate(e); - if (e && "object" == typeof e) return AL.fromObject(e); - throw new xI(`Unknown datetime argument: ${e}, of type ${typeof e}`); +function SL(e) { + if (yL.isDateTime(e)) return e; + if (e && e.valueOf && GR(e.valueOf())) return yL.fromJSDate(e); + if (e && "object" == typeof e) return yL.fromObject(e); + throw new mI(`Unknown datetime argument: ${e}, of type ${typeof e}`); } -function NL(e) { +function wL(e) { var t, n, a = ""; @@ -60117,236 +60138,114 @@ function NL(e) { if (Array.isArray(e)) { var r = e.length; for (t = 0; t < r; t++) - e[t] && (n = NL(e[t])) && (a && (a += " "), (a += n)); + e[t] && (n = wL(e[t])) && (a && (a += " "), (a += n)); } else for (n in e) e[n] && (a && (a += " "), (a += n)); return a; } -function IL() { +function AL() { for (var e, t, n = 0, a = "", r = arguments.length; n < r; n++) - (e = arguments[n]) && (t = NL(e)) && (a && (a += " "), (a += t)); + (e = arguments[n]) && (t = wL(e)) && (a && (a += " "), (a += t)); return a; } -var RL, kL; -function OL() { - if (kL) return RL; - kL = 1; - const e = (e, n, a, r) => { - if ("length" === a || "prototype" === a) return; - if ("arguments" === a || "caller" === a) return; - const i = Object.getOwnPropertyDescriptor(e, a), - o = Object.getOwnPropertyDescriptor(n, a); - (!t(i, o) && r) || Object.defineProperty(e, a, o); - }, - t = function (e, t) { - return ( - void 0 === e || - e.configurable || - (e.writable === t.writable && - e.enumerable === t.enumerable && - e.configurable === t.configurable && - (e.writable || e.value === t.value)) - ); - }, - n = (e, t) => `/* Wrapped ${e}*/\n${t}`, - a = Object.getOwnPropertyDescriptor(Function.prototype, "toString"), - r = Object.getOwnPropertyDescriptor(Function.prototype.toString, "name"); - return (RL = (t, i, { ignoreNonConfigurable: o = !1 } = {}) => { - const { name: s } = t; - for (const n of Reflect.ownKeys(i)) e(t, i, n, o); +const CL = (e, t, n, a) => { + if ("length" === n || "prototype" === n) return; + if ("arguments" === n || "caller" === n) return; + const r = Object.getOwnPropertyDescriptor(e, n), + i = Object.getOwnPropertyDescriptor(t, n); + (!NL(r, i) && a) || Object.defineProperty(e, n, i); + }, + NL = function (e, t) { return ( - ((e, t) => { - const n = Object.getPrototypeOf(t); - n !== Object.getPrototypeOf(e) && Object.setPrototypeOf(e, n); - })(t, i), - ((e, t, i) => { - const o = "" === i ? "" : `with ${i.trim()}() `, - s = n.bind(null, o, t.toString()); - (Object.defineProperty(s, "name", r), - Object.defineProperty(e, "toString", { ...a, value: s })); - })(t, i, s), - t + void 0 === e || + e.configurable || + (e.writable === t.writable && + e.enumerable === t.enumerable && + e.configurable === t.configurable && + (e.writable || e.value === t.value)) ); - }); -} -var LL, - ML, - DL = { exports: {} }; -var PL, - jL, - BL, - FL = DL.exports; -function HL() { + }, + IL = (e, t) => { + const n = Object.getPrototypeOf(t); + n !== Object.getPrototypeOf(e) && Object.setPrototypeOf(e, n); + }, + RL = (e, t) => `/* Wrapped ${e}*/\n${t}`, + kL = Object.getOwnPropertyDescriptor(Function.prototype, "toString"), + OL = Object.getOwnPropertyDescriptor(Function.prototype.toString, "name"), + LL = (e, t, n) => { + const a = "" === n ? "" : `with ${n.trim()}() `, + r = RL.bind(null, a, t.toString()); + Object.defineProperty(r, "name", OL); + const { writable: i, enumerable: o, configurable: s } = kL; + Object.defineProperty(e, "toString", { + value: r, + writable: i, + enumerable: o, + configurable: s, + }); + }; +const ML = new WeakMap(), + DL = new WeakMap(); +function PL(e, { cacheKey: t, cache: n = new Map(), maxAge: a } = {}) { + if (0 === a) return e; + if ("number" == typeof a) { + const e = 2147483647; + if (a > e) throw new TypeError(`The \`maxAge\` option cannot exceed ${e}.`); + if (a < 0) + throw new TypeError( + "The `maxAge` option should not be a negative number.", + ); + } + const r = function (...r) { + const i = t ? t(r) : r[0], + o = n.get(i); + if (o) return o.data; + const s = e.apply(this, r), + l = "function" == typeof a ? a(...r) : a; + if ( + (n.set(i, { + data: s, + maxAge: l ? Date.now() + l : Number.POSITIVE_INFINITY, + }), + l && l > 0 && l !== Number.POSITIVE_INFINITY) + ) { + const t = setTimeout(() => { + n.delete(i); + }, l); + t.unref?.(); + const a = DL.get(e) ?? new Set(); + (a.add(t), DL.set(e, a)); + } + return s; + }; return ( - PL || - ((PL = 1), - (function (e, t) { - var n = - (FL && FL.__awaiter) || - function (e, t, n, a) { - return new (n || (n = Promise))(function (r, i) { - function o(e) { - try { - l(a.next(e)); - } catch (e) { - i(e); - } - } - function s(e) { - try { - l(a.throw(e)); - } catch (e) { - i(e); - } - } - function l(e) { - e.done - ? r(e.value) - : new n(function (t) { - t(e.value); - }).then(o, s); - } - l((a = a.apply(e, t || [])).next()); - }); - }, - a = - (FL && FL.__importDefault) || - function (e) { - return e && e.__esModule ? e : { default: e }; - }; - Object.defineProperty(t, "__esModule", { value: !0 }); - const r = a( - ML - ? LL - : ((ML = 1), - (LL = () => { - const e = {}; - return ( - (e.promise = new Promise((t, n) => { - ((e.resolve = t), (e.reject = n)); - })), - e - ); - })), - ); - function i(e, t = "maxAge") { - let a, i, o; - const s = () => - n(this, void 0, void 0, function* () { - if (void 0 !== a) return; - const s = (s) => - n(this, void 0, void 0, function* () { - o = r.default(); - const n = s[1][t] - Date.now(); - return n <= 0 - ? (e.delete(s[0]), void o.resolve()) - : ((a = s[0]), - (i = setTimeout(() => { - (e.delete(s[0]), o && o.resolve()); - }, n)), - "function" == typeof i.unref && i.unref(), - o.promise); - }); - try { - for (const t of e) yield s(t); - } catch (e) {} - a = void 0; - }), - l = e.set.bind(e); - return ( - (e.set = (t, n) => { - e.has(t) && e.delete(t); - const r = l(t, n); - return ( - a && - a === t && - ((a = void 0), - void 0 !== i && (clearTimeout(i), (i = void 0)), - void 0 !== o && (o.reject(void 0), (o = void 0))), - s(), - r - ); - }), - s(), - e - ); - } - ((t.default = i), (e.exports = i), (e.exports.default = i)); - })(DL, DL.exports)), - DL.exports + (function (e, t, { ignoreNonConfigurable: n = !1 } = {}) { + const { name: a } = e; + for (const a of Reflect.ownKeys(t)) CL(e, t, a, n); + (IL(e, t), LL(e, t, a)); + })(r, e, { ignoreNonConfigurable: !0 }), + ML.set(r, n), + r ); } -var zL = (function () { - if (BL) return jL; - BL = 1; - const e = OL(), - t = HL(), - n = new WeakMap(), - a = new WeakMap(), - r = (n, { cacheKey: r, cache: i = new Map(), maxAge: o } = {}) => { - "number" == typeof o && t(i); - const s = function (...e) { - const t = r ? r(e) : e[0], - a = i.get(t); - if (a) return a.data; - const s = n.apply(this, e); - return ( - i.set(t, { - data: s, - maxAge: o ? Date.now() + o : Number.POSITIVE_INFINITY, - }), - s - ); - }; - return (e(s, n, { ignoreNonConfigurable: !0 }), a.set(s, i), s); - }; - return ( - (r.decorator = - (e = {}) => - (t, a, i) => { - const o = t[a]; - if ("function" != typeof o) - throw new TypeError("The decorated value must be a function"); - (delete i.value, - delete i.writable, - (i.get = function () { - if (!n.has(this)) { - const t = r(o, e); - return (n.set(this, t), t); - } - return n.get(this); - })); - }), - (r.clear = (e) => { - const t = a.get(e); - if (!t) - throw new TypeError("Can't clear a function that was not memoized!"); - if ("function" != typeof t.clear) - throw new TypeError("The cache Map can't be cleared!"); - t.clear(); - }), - (jL = r) - ); - })(), - UL = y(zL); -function GL(e) { +function jL(e) { return "string" == typeof e; } -function VL(e, t, n) { +function BL(e, t, n) { return n.indexOf(e) === t; } -function ZL(e) { +function FL(e) { return -1 === e.indexOf(",") ? e : e.split(","); } -function $L(e) { +function HL(e) { if (!e) return e; if ("C" === e || "posix" === e || "POSIX" === e) return "en-US"; if (-1 !== e.indexOf(".")) { var t = e.split(".")[0]; - return $L(void 0 === t ? "" : t); + return HL(void 0 === t ? "" : t); } if (-1 !== e.indexOf("@")) { var n = e.split("@")[0]; - return $L(void 0 === n ? "" : n); + return HL(void 0 === n ? "" : n); } if (-1 === e.indexOf("-") || (a = e).toLowerCase() !== a) return e; var a, @@ -60356,7 +60255,7 @@ function $L(e) { s = void 0 === o ? "" : o; return "".concat(i, "-").concat(s.toUpperCase()); } -var WL = UL( +var zL = PL( function (e) { var t = void 0 === e ? {} : e, n = t.useFallbackLocale, @@ -60371,138 +60270,134 @@ var WL = UL( l++ ) { var d = c[l]; - s = s.concat(ZL(d)); + s = s.concat(FL(d)); } var u = navigator.language, - p = u ? ZL(u) : u; + p = u ? FL(u) : u; o = o.concat(s, p); } - return (a && o.push(i), o.filter(GL).map($L).filter(VL)); + return (a && o.push(i), o.filter(jL).map(HL).filter(BL)); }, { cacheKey: JSON.stringify }, ); -var qL = UL( +var UL = PL( function (e) { - return WL(e)[0] || null; + return zL(e)[0] || null; }, { cacheKey: JSON.stringify }, ); -function YL(e, t, n) { - return function (a, r) { - void 0 === r && (r = n); - var i = e(a) + r; +function GL(e, t, n) { + return function (a, r = n) { + const i = e(a) + r; return t(i); }; } -function KL(e) { +function VL(e) { return function (t) { return new Date(e(t).getTime() - 1); }; } -function XL(e, t) { +function ZL(e, t) { return function (n) { return [e(n), t(n)]; }; } -function QL(e) { +function $L(e) { if (e instanceof Date) return e.getFullYear(); if ("number" == typeof e) return e; - var t = parseInt(e, 10); - if ("string" == typeof e && !isNaN(t)) return t; - throw new Error("Failed to get year from date: ".concat(e, ".")); + const t = Number.parseInt(e, 10); + if ("string" == typeof e && !Number.isNaN(t)) return t; + throw new Error(`Failed to get year from date: ${e}.`); } -function JL(e) { +function WL(e) { if (e instanceof Date) return e.getMonth(); - throw new Error("Failed to get month from date: ".concat(e, ".")); + throw new Error(`Failed to get month from date: ${e}.`); } -function eM(e) { +function qL(e) { if (e instanceof Date) return e.getDate(); - throw new Error("Failed to get year from date: ".concat(e, ".")); + throw new Error(`Failed to get year from date: ${e}.`); } -function tM(e) { - var t = QL(e), +function YL(e) { + const t = $L(e), n = t + ((1 - t) % 100), a = new Date(); return (a.setFullYear(n, 0, 1), a.setHours(0, 0, 0, 0), a); } -var nM = YL(QL, tM, -100), - aM = YL(QL, tM, 100), - rM = KL(aM), - iM = YL(QL, rM, -100), - oM = XL(tM, rM); -function sM(e) { - var t = QL(e), +const KL = GL($L, YL, -100), + XL = GL($L, YL, 100), + QL = VL(XL), + JL = GL($L, QL, -100), + eM = ZL(YL, QL); +function tM(e) { + const t = $L(e), n = t + ((1 - t) % 10), a = new Date(); return (a.setFullYear(n, 0, 1), a.setHours(0, 0, 0, 0), a); } -var lM = YL(QL, sM, -10), - cM = YL(QL, sM, 10), - dM = KL(cM), - uM = YL(QL, dM, -10), - pM = XL(sM, dM); -function hM(e) { - var t = QL(e), +const nM = GL($L, tM, -10), + aM = GL($L, tM, 10), + rM = VL(aM), + iM = GL($L, rM, -10), + oM = ZL(tM, rM); +function sM(e) { + const t = $L(e), n = new Date(); return (n.setFullYear(t, 0, 1), n.setHours(0, 0, 0, 0), n); } -var mM = YL(QL, hM, -1), - gM = YL(QL, hM, 1), - fM = KL(gM), - bM = YL(QL, fM, -1), - EM = XL(hM, fM); -function vM(e, t) { - return function (n, a) { - void 0 === a && (a = t); - var r = QL(n), - i = JL(n) + a, +const lM = GL($L, sM, -1), + cM = GL($L, sM, 1), + dM = VL(cM), + uM = GL($L, dM, -1), + pM = ZL(sM, dM); +function hM(e, t) { + return function (n, a = t) { + const r = $L(n), + i = WL(n) + a, o = new Date(); return (o.setFullYear(r, i, 1), o.setHours(0, 0, 0, 0), e(o)); }; } -function xM(e) { - var t = QL(e), - n = JL(e), +function mM(e) { + const t = $L(e), + n = WL(e), a = new Date(); return (a.setFullYear(t, n, 1), a.setHours(0, 0, 0, 0), a); } -var TM = vM(xM, -1), - _M = vM(xM, 1), - yM = KL(_M), - SM = vM(yM, -1), - wM = XL(xM, yM); -function AM(e) { - var t = QL(e), - n = JL(e), - a = eM(e), +const gM = hM(mM, -1), + fM = hM(mM, 1), + bM = VL(fM), + EM = hM(bM, -1), + vM = ZL(mM, bM); +function xM(e) { + const t = $L(e), + n = WL(e), + a = qL(e), r = new Date(); return (r.setFullYear(t, n, a), r.setHours(0, 0, 0, 0), r); } -var CM, - NM, - IM = - ((CM = AM), - (NM = 1), - function (e, t) { - void 0 === t && (t = NM); - var n = QL(e), - a = JL(e), - r = eM(e) + t, - i = new Date(); - return (i.setFullYear(n, a, r), i.setHours(0, 0, 0, 0), CM(i)); - }), - RM = KL(IM), - kM = XL(AM, RM); -function OM(e) { - return eM(yM(e)); -} -var LM = { +const TM = + ((_M = xM), + (yM = 1), + function (e, t = yM) { + const n = $L(e), + a = WL(e), + r = qL(e) + t, + i = new Date(); + return (i.setFullYear(n, a, r), i.setHours(0, 0, 0, 0), _M(i)); + }); +var _M, yM; +const SM = VL(TM), + wM = ZL(xM, SM); +function AM(e) { + return qL(bM(e)); +} +var CM = { GREGORY: "gregory", HEBREW: "hebrew", ISLAMIC: "islamic", ISO_8601: "iso8601", }, - MM = { + NM = { gregory: [ "en-CA", "en-US", @@ -60547,15 +60442,15 @@ var LM = { "ps-AR", ], }, - DM = [0, 1, 2, 3, 4, 5, 6], - PM = new Map(); -function jM(e) { + IM = [0, 1, 2, 3, 4, 5, 6], + RM = new Map(); +function kM(e) { return function (t, n) { return (function (e) { return function (t, n) { - var a = t || qL(); - PM.has(a) || PM.set(a, new Map()); - var r = PM.get(a); + var a = t || UL(); + RM.has(a) || RM.set(a, new Map()); + var r = RM.get(a); return ( r.has(e) || r.set(e, new Intl.DateTimeFormat(a || void 0, e).format), r.get(e)(n) @@ -60570,133 +60465,133 @@ function jM(e) { ); }; } -var BM = jM({ day: "numeric" }), - FM = jM({ day: "numeric", month: "long", year: "numeric" }), - HM = jM({ month: "long" }), - zM = jM({ month: "long", year: "numeric" }), - UM = jM({ weekday: "short" }), - GM = jM({ weekday: "long" }), - VM = jM({ year: "numeric" }), - ZM = DM[0], - $M = DM[5], - WM = DM[6]; -function qM(e, t) { - void 0 === t && (t = LM.ISO_8601); +var OM = kM({ day: "numeric" }), + LM = kM({ day: "numeric", month: "long", year: "numeric" }), + MM = kM({ month: "long" }), + DM = kM({ month: "long", year: "numeric" }), + PM = kM({ weekday: "short" }), + jM = kM({ weekday: "long" }), + BM = kM({ year: "numeric" }), + FM = IM[0], + HM = IM[5], + zM = IM[6]; +function UM(e, t) { + void 0 === t && (t = CM.ISO_8601); var n = e.getDay(); switch (t) { - case LM.ISO_8601: + case CM.ISO_8601: return (n + 6) % 7; - case LM.ISLAMIC: + case CM.ISLAMIC: return (n + 1) % 7; - case LM.HEBREW: - case LM.GREGORY: + case CM.HEBREW: + case CM.GREGORY: return n; default: throw new Error("Unsupported calendar type."); } } -function YM(e, t) { - void 0 === t && (t = LM.ISO_8601); - var n = QL(e), - a = JL(e), - r = e.getDate() - qM(e, t); +function GM(e, t) { + void 0 === t && (t = CM.ISO_8601); + var n = $L(e), + a = WL(e), + r = e.getDate() - UM(e, t); return new Date(n, a, r); } -function KM(e, t) { +function VM(e, t) { switch (e) { case "century": - return tM(t); + return YL(t); case "decade": - return sM(t); + return tM(t); case "year": - return hM(t); + return sM(t); case "month": - return xM(t); + return mM(t); case "day": - return AM(t); + return xM(t); default: throw new Error("Invalid rangeType: ".concat(e)); } } -function XM(e, t) { +function ZM(e, t) { switch (e) { case "century": - return aM(t); + return XL(t); case "decade": - return cM(t); + return aM(t); case "year": - return gM(t); + return cM(t); case "month": - return _M(t); + return fM(t); default: throw new Error("Invalid rangeType: ".concat(e)); } } -function QM(e, t) { +function $M(e, t) { switch (e) { case "century": - return rM(t); + return QL(t); case "decade": - return dM(t); + return rM(t); case "year": - return fM(t); + return dM(t); case "month": - return yM(t); + return bM(t); case "day": - return RM(t); + return SM(t); default: throw new Error("Invalid rangeType: ".concat(e)); } } -function JM(e, t) { +function WM(e, t) { switch (e) { case "century": - return oM(t); + return eM(t); case "decade": - return pM(t); + return oM(t); case "year": - return EM(t); + return pM(t); case "month": - return wM(t); + return vM(t); case "day": - return kM(t); + return wM(t); default: throw new Error("Invalid rangeType: ".concat(e)); } } -function eD(e, t, n) { +function qM(e, t, n) { return n .map(function (n) { - return (t || VM)(e, n); + return (t || BM)(e, n); }) .join(" – "); } -function tD(e, t, n) { - return eD(e, t, pM(n)); +function YM(e, t, n) { + return qM(e, t, oM(n)); } -function nD(e, t) { - void 0 === t && (t = LM.ISO_8601); +function KM(e, t) { + void 0 === t && (t = CM.ISO_8601); var n = e.getDay(); switch (t) { - case LM.ISLAMIC: - case LM.HEBREW: - return n === $M || n === WM; - case LM.ISO_8601: - case LM.GREGORY: - return n === WM || n === ZM; + case CM.ISLAMIC: + case CM.HEBREW: + return n === HM || n === zM; + case CM.ISO_8601: + case CM.GREGORY: + return n === zM || n === FM; default: throw new Error("Unsupported calendar type."); } } -var aD = "react-calendar__navigation"; -function rD(e) { +var XM = "react-calendar__navigation"; +function QM(e) { var t, n = e.activeStartDate, a = e.drillUp, r = e.formatMonthYear, - i = void 0 === r ? zM : r, + i = void 0 === r ? DM : r, o = e.formatYear, - s = void 0 === o ? VM : o, + s = void 0 === o ? BM : o, l = e.locale, c = e.maxDate, d = e.minDate, @@ -60728,13 +60623,13 @@ function rD(e) { j = (function (e, t) { switch (e) { case "century": - return nM(t); + return KL(t); case "decade": - return lM(t); + return nM(t); case "year": - return mM(t); + return lM(t); case "month": - return TM(t); + return gM(t); default: throw new Error("Invalid rangeType: ".concat(e)); } @@ -60743,26 +60638,26 @@ function rD(e) { ? (function (e, t) { switch (e) { case "decade": - return lM(t, -100); + return nM(t, -100); case "year": - return mM(t, -10); + return lM(t, -10); case "month": - return TM(t, -12); + return gM(t, -12); default: throw new Error("Invalid rangeType: ".concat(e)); } })(M, n) : void 0, - F = XM(M, n), + F = ZM(M, n), H = P ? (function (e, t) { switch (e) { case "decade": - return cM(t, 100); + return aM(t, 100); case "year": - return gM(t, 10); + return cM(t, 10); case "month": - return _M(t, 12); + return fM(t, 12); default: throw new Error("Invalid rangeType: ".concat(e)); } @@ -60773,13 +60668,13 @@ function rD(e) { var e = (function (e, t) { switch (e) { case "century": - return iM(t); + return JL(t); case "decade": - return uM(t); + return iM(t); case "year": - return bM(t); + return uM(t); case "month": - return SM(t); + return EM(t); default: throw new Error("Invalid rangeType: ".concat(e)); } @@ -60793,11 +60688,11 @@ function rD(e) { var e = (function (e, t) { switch (e) { case "decade": - return uM(t, -100); + return iM(t, -100); case "year": - return bM(t, -10); + return uM(t, -10); case "month": - return SM(t, -12); + return EM(t, -12); default: throw new Error("Invalid rangeType: ".concat(e)); } @@ -60811,10 +60706,10 @@ function rD(e) { switch (M) { case "century": return (function (e, t, n) { - return eD(e, t, oM(n)); + return qM(e, t, eM(n)); })(l, s, e); case "decade": - return tD(l, s, e); + return YM(l, s, e); case "year": return s(l, e); case "month": @@ -60824,16 +60719,16 @@ function rD(e) { } })(); return m - ? m({ date: e, label: t, locale: l || qL() || void 0, view: M }) + ? m({ date: e, label: t, locale: l || UL() || void 0, view: M }) : t; } return k.jsxs("div", { - className: aD, + className: XM, children: [ null !== A && P ? k.jsx("button", { "aria-label": S, - className: "".concat(aD, "__arrow ").concat(aD, "__prev2-button"), + className: "".concat(XM, "__arrow ").concat(XM, "__prev2-button"), disabled: U, onClick: function () { O(B, "prev2"); @@ -60845,7 +60740,7 @@ function rD(e) { null !== R && k.jsx("button", { "aria-label": N, - className: "".concat(aD, "__arrow ").concat(aD, "__prev-button"), + className: "".concat(XM, "__arrow ").concat(XM, "__prev-button"), disabled: z, onClick: function () { O(j, "prev"); @@ -60853,7 +60748,7 @@ function rD(e) { type: "button", children: R, }), - ((t = "".concat(aD, "__label")), + ((t = "".concat(XM, "__label")), k.jsxs("button", { "aria-label": p, "aria-live": h, @@ -60890,7 +60785,7 @@ function rD(e) { null !== _ && k.jsx("button", { "aria-label": x, - className: "".concat(aD, "__arrow ").concat(aD, "__next-button"), + className: "".concat(XM, "__arrow ").concat(XM, "__next-button"), disabled: G, onClick: function () { O(F, "next"); @@ -60901,7 +60796,7 @@ function rD(e) { null !== E && P ? k.jsx("button", { "aria-label": f, - className: "".concat(aD, "__arrow ").concat(aD, "__next2-button"), + className: "".concat(XM, "__arrow ").concat(XM, "__next2-button"), disabled: V, onClick: function () { O(H, "next2"); @@ -60913,9 +60808,9 @@ function rD(e) { ], }); } -var iD = function () { +var JM = function () { return ( - (iD = + (JM = Object.assign || function (e) { for (var t, n = 1, a = arguments.length; n < a; n++) @@ -60923,10 +60818,10 @@ var iD = function () { Object.prototype.hasOwnProperty.call(t, r) && (e[r] = t[r]); return e; }), - iD.apply(this, arguments) + JM.apply(this, arguments) ); }, - oD = function (e, t) { + eD = function (e, t) { var n = {}; for (var a in e) Object.prototype.hasOwnProperty.call(e, a) && @@ -60941,10 +60836,10 @@ var iD = function () { } return n; }; -function sD(e) { +function tD(e) { return "".concat(e, "%"); } -function lD(e) { +function nD(e) { var t = e.children, n = e.className, a = e.count, @@ -60952,7 +60847,7 @@ function lD(e) { o = e.offset, s = e.style, l = e.wrap, - c = oD(e, [ + c = eD(e, [ "children", "className", "count", @@ -60963,10 +60858,10 @@ function lD(e) { ]); return k.jsx( "div", - iD( + JM( { className: n, - style: iD( + style: JM( { display: "flex", flexDirection: r, @@ -60978,12 +60873,12 @@ function lD(e) { c, { children: d.map(t, function (e, t) { - var n = o && 0 === t ? sD((100 * o) / a) : null; + var n = o && 0 === t ? tD((100 * o) / a) : null; return i( e, - iD(iD({}, e.props), { + JM(JM({}, e.props), { style: { - flexBasis: sD(100 / a), + flexBasis: tD(100 / a), flexShrink: 0, flexGrow: 0, overflow: "hidden", @@ -60998,25 +60893,25 @@ function lD(e) { ), ); } -function cD(e, t) { +function aD(e, t) { return t[0] <= e && t[1] >= e; } -function dD(e, t) { - return cD(e[0], t) || cD(e[1], t); +function rD(e, t) { + return aD(e[0], t) || aD(e[1], t); } -function uD(e, t, n) { +function iD(e, t, n) { var a = []; - if (dD(t, e)) { + if (rD(t, e)) { a.push(n); - var r = cD(e[0], t), - i = cD(e[1], t); + var r = aD(e[0], t), + i = aD(e[1], t); (r && a.push("".concat(n, "Start")), i && a.push("".concat(n, "End")), r && i && a.push("".concat(n, "BothEnds"))); } return a; } -function pD(e) { +function oD(e) { if (!e) throw new Error("args is required"); var t = e.value, n = e.date, @@ -61032,10 +60927,10 @@ function pD(e) { throw new Error( "dateType is required when date is not an array of two dates", ); - return JM(t, n); + return WM(t, n); })(); if ( - (cD(o, s) && i.push("".concat(r, "--now")), + (aD(o, s) && i.push("".concat(r, "--now")), !t || !(function (e) { return Array.isArray(e) ? null !== e[0] && null !== e[1] : null !== e; @@ -61051,22 +60946,22 @@ function pD(e) { throw new Error( "valueType is required when value is not an array of two dates", ); - return JM(n, t); + return WM(n, t); })(); ((c = s), (l = d)[0] <= c[0] && l[1] >= c[1] ? i.push("".concat(r, "--active")) - : dD(d, s) && i.push("".concat(r, "--hasActive"))); - var u = uD(d, s, "".concat(r, "--range")); + : rD(d, s) && i.push("".concat(r, "--hasActive"))); + var u = iD(d, s, "".concat(r, "--range")); i.push.apply(i, u); var p = Array.isArray(t) ? t : [t]; if (a && 1 === p.length) { - var h = uD(a > d[0] ? [d[0], a] : [a, d[0]], s, "".concat(r, "--hover")); + var h = iD(a > d[0] ? [d[0], a] : [a, d[0]], s, "".concat(r, "--hover")); i.push.apply(i, h); } return i; } -function hD(e) { +function sD(e) { for ( var t = e.className, n = e.count, @@ -61090,12 +60985,12 @@ function hD(e) { var b = r(f); g.push( c({ - classes: pD({ date: b, dateType: i, hover: s, value: h, valueType: m }), + classes: oD({ date: b, dateType: i, hover: s, value: h, valueType: m }), date: b, }), ); } - return k.jsx(lD, { + return k.jsx(nD, { className: t, count: a, offset: l, @@ -61103,7 +60998,7 @@ function hD(e) { children: g, }); } -function mD(e) { +function lD(e) { var t = e.activeStartDate, n = e.children, a = e.classes, @@ -61138,7 +61033,7 @@ function mD(e) { [t, r, f, E], ); return k.jsxs("button", { - className: IL(a, v), + className: AL(a, v), disabled: (d && u(d) > r) || (s && l(s) < r) || @@ -61166,9 +61061,9 @@ function mD(e) { ], }); } -var gD = function () { +var cD = function () { return ( - (gD = + (cD = Object.assign || function (e) { for (var t, n = 1, a = arguments.length; n < a; n++) @@ -61176,10 +61071,10 @@ var gD = function () { Object.prototype.hasOwnProperty.call(t, r) && (e[r] = t[r]); return e; }), - gD.apply(this, arguments) + cD.apply(this, arguments) ); }, - fD = function (e, t) { + dD = function (e, t) { var n = {}; for (var a in e) Object.prototype.hasOwnProperty.call(e, a) && @@ -61194,36 +61089,36 @@ var gD = function () { } return n; }, - bD = "react-calendar__century-view__decades__decade"; -function ED(e) { + uD = "react-calendar__century-view__decades__decade"; +function pD(e) { var t = e.classes, n = void 0 === t ? [] : t, a = e.currentCentury, r = e.formatYear, - i = void 0 === r ? VM : r, - o = fD(e, ["classes", "currentCentury", "formatYear"]), + i = void 0 === r ? BM : r, + o = dD(e, ["classes", "currentCentury", "formatYear"]), s = o.date, l = o.locale, c = []; return ( n && c.push.apply(c, n), - c.push(bD), - tM(s).getFullYear() !== a && c.push("".concat(bD, "--neighboringCentury")), + c.push(uD), + YL(s).getFullYear() !== a && c.push("".concat(uD, "--neighboringCentury")), k.jsx( - mD, - gD({}, o, { + lD, + cD({}, o, { classes: c, - maxDateTransform: dM, - minDateTransform: sM, + maxDateTransform: rM, + minDateTransform: tM, view: "century", - children: tD(l, i, s), + children: YM(l, i, s), }), ) ); } -var vD = function () { +var hD = function () { return ( - (vD = + (hD = Object.assign || function (e) { for (var t, n = 1, a = arguments.length; n < a; n++) @@ -61231,10 +61126,10 @@ var vD = function () { Object.prototype.hasOwnProperty.call(t, r) && (e[r] = t[r]); return e; }), - vD.apply(this, arguments) + hD.apply(this, arguments) ); }, - xD = function (e, t) { + mD = function (e, t) { var n = {}; for (var a in e) Object.prototype.hasOwnProperty.call(e, a) && @@ -61249,33 +61144,33 @@ var vD = function () { } return n; }; -function TD(e) { +function gD(e) { var t = e.activeStartDate, n = e.hover, a = e.showNeighboringCentury, r = e.value, i = e.valueType, - o = xD(e, [ + o = mD(e, [ "activeStartDate", "hover", "showNeighboringCentury", "value", "valueType", ]), - s = QL(tM(t)), + s = $L(YL(t)), l = s + (a ? 119 : 99); - return k.jsx(hD, { + return k.jsx(sD, { className: "react-calendar__century-view__decades", - dateTransform: sM, + dateTransform: tM, dateType: "decade", end: l, hover: n, renderTile: function (e) { var n = e.date, - a = xD(e, ["date"]); + a = mD(e, ["date"]); return k.jsx( - ED, - vD({}, o, a, { activeStartDate: t, currentCentury: s, date: n }), + pD, + hD({}, o, a, { activeStartDate: t, currentCentury: s, date: n }), n.getTime(), ); }, @@ -61285,9 +61180,9 @@ function TD(e) { valueType: i, }); } -var _D = function () { +var fD = function () { return ( - (_D = + (fD = Object.assign || function (e) { for (var t, n = 1, a = arguments.length; n < a; n++) @@ -61295,18 +61190,18 @@ var _D = function () { Object.prototype.hasOwnProperty.call(t, r) && (e[r] = t[r]); return e; }), - _D.apply(this, arguments) + fD.apply(this, arguments) ); }; -function yD(e) { +function bD(e) { return k.jsx("div", { className: "react-calendar__century-view", - children: k.jsx(TD, _D({}, e)), + children: k.jsx(gD, fD({}, e)), }); } -var SD = function () { +var ED = function () { return ( - (SD = + (ED = Object.assign || function (e) { for (var t, n = 1, a = arguments.length; n < a; n++) @@ -61314,10 +61209,10 @@ var SD = function () { Object.prototype.hasOwnProperty.call(t, r) && (e[r] = t[r]); return e; }), - SD.apply(this, arguments) + ED.apply(this, arguments) ); }, - wD = function (e, t) { + vD = function (e, t) { var n = {}; for (var a in e) Object.prototype.hasOwnProperty.call(e, a) && @@ -61332,36 +61227,36 @@ var SD = function () { } return n; }, - AD = "react-calendar__decade-view__years__year"; -function CD(e) { + xD = "react-calendar__decade-view__years__year"; +function TD(e) { var t = e.classes, n = void 0 === t ? [] : t, a = e.currentDecade, r = e.formatYear, - i = void 0 === r ? VM : r, - o = wD(e, ["classes", "currentDecade", "formatYear"]), + i = void 0 === r ? BM : r, + o = vD(e, ["classes", "currentDecade", "formatYear"]), s = o.date, l = o.locale, c = []; return ( n && c.push.apply(c, n), - c.push(AD), - sM(s).getFullYear() !== a && c.push("".concat(AD, "--neighboringDecade")), + c.push(xD), + tM(s).getFullYear() !== a && c.push("".concat(xD, "--neighboringDecade")), k.jsx( - mD, - SD({}, o, { + lD, + ED({}, o, { classes: c, - maxDateTransform: fM, - minDateTransform: hM, + maxDateTransform: dM, + minDateTransform: sM, view: "decade", children: i(l, s), }), ) ); } -var ND = function () { +var _D = function () { return ( - (ND = + (_D = Object.assign || function (e) { for (var t, n = 1, a = arguments.length; n < a; n++) @@ -61369,10 +61264,10 @@ var ND = function () { Object.prototype.hasOwnProperty.call(t, r) && (e[r] = t[r]); return e; }), - ND.apply(this, arguments) + _D.apply(this, arguments) ); }, - ID = function (e, t) { + yD = function (e, t) { var n = {}; for (var a in e) Object.prototype.hasOwnProperty.call(e, a) && @@ -61387,33 +61282,33 @@ var ND = function () { } return n; }; -function RD(e) { +function SD(e) { var t = e.activeStartDate, n = e.hover, a = e.showNeighboringDecade, r = e.value, i = e.valueType, - o = ID(e, [ + o = yD(e, [ "activeStartDate", "hover", "showNeighboringDecade", "value", "valueType", ]), - s = QL(sM(t)), + s = $L(tM(t)), l = s + (a ? 11 : 9); - return k.jsx(hD, { + return k.jsx(sD, { className: "react-calendar__decade-view__years", - dateTransform: hM, + dateTransform: sM, dateType: "year", end: l, hover: n, renderTile: function (e) { var n = e.date, - a = ID(e, ["date"]); + a = yD(e, ["date"]); return k.jsx( - CD, - ND({}, o, a, { activeStartDate: t, currentDecade: s, date: n }), + TD, + _D({}, o, a, { activeStartDate: t, currentDecade: s, date: n }), n.getTime(), ); }, @@ -61422,9 +61317,9 @@ function RD(e) { valueType: i, }); } -var kD = function () { +var wD = function () { return ( - (kD = + (wD = Object.assign || function (e) { for (var t, n = 1, a = arguments.length; n < a; n++) @@ -61432,18 +61327,18 @@ var kD = function () { Object.prototype.hasOwnProperty.call(t, r) && (e[r] = t[r]); return e; }), - kD.apply(this, arguments) + wD.apply(this, arguments) ); }; -function OD(e) { +function AD(e) { return k.jsx("div", { className: "react-calendar__decade-view", - children: k.jsx(RD, kD({}, e)), + children: k.jsx(SD, wD({}, e)), }); } -var LD = function () { +var CD = function () { return ( - (LD = + (CD = Object.assign || function (e) { for (var t, n = 1, a = arguments.length; n < a; n++) @@ -61451,10 +61346,10 @@ var LD = function () { Object.prototype.hasOwnProperty.call(t, r) && (e[r] = t[r]); return e; }), - LD.apply(this, arguments) + CD.apply(this, arguments) ); }, - MD = function (e, t) { + ND = function (e, t) { var n = {}; for (var a in e) Object.prototype.hasOwnProperty.call(e, a) && @@ -61469,39 +61364,39 @@ var LD = function () { } return n; }, - DD = function (e, t, n) { + ID = function (e, t, n) { if (n || 2 === arguments.length) for (var a, r = 0, i = t.length; r < i; r++) (!a && r in t) || (a || (a = Array.prototype.slice.call(t, 0, r)), (a[r] = t[r])); return e.concat(a || Array.prototype.slice.call(t)); }, - PD = "react-calendar__year-view__months__month"; -function jD(e) { + RD = "react-calendar__year-view__months__month"; +function kD(e) { var t = e.classes, n = void 0 === t ? [] : t, a = e.formatMonth, - r = void 0 === a ? HM : a, + r = void 0 === a ? MM : a, i = e.formatMonthYear, - o = void 0 === i ? zM : i, - s = MD(e, ["classes", "formatMonth", "formatMonthYear"]), + o = void 0 === i ? DM : i, + s = ND(e, ["classes", "formatMonth", "formatMonthYear"]), l = s.date, c = s.locale; return k.jsx( - mD, - LD({}, s, { - classes: DD(DD([], n, !0), [PD], !1), + lD, + CD({}, s, { + classes: ID(ID([], n, !0), [RD], !1), formatAbbr: o, - maxDateTransform: yM, - minDateTransform: xM, + maxDateTransform: bM, + minDateTransform: mM, view: "year", children: r(c, l), }), ); } -var BD = function () { +var OD = function () { return ( - (BD = + (OD = Object.assign || function (e) { for (var t, n = 1, a = arguments.length; n < a; n++) @@ -61509,10 +61404,10 @@ var BD = function () { Object.prototype.hasOwnProperty.call(t, r) && (e[r] = t[r]); return e; }), - BD.apply(this, arguments) + OD.apply(this, arguments) ); }, - FD = function (e, t) { + LD = function (e, t) { var n = {}; for (var a in e) Object.prototype.hasOwnProperty.call(e, a) && @@ -61527,28 +61422,28 @@ var BD = function () { } return n; }; -function HD(e) { +function MD(e) { var t = e.activeStartDate, n = e.hover, a = e.value, r = e.valueType, - i = FD(e, ["activeStartDate", "hover", "value", "valueType"]), - o = QL(t); - return k.jsx(hD, { + i = LD(e, ["activeStartDate", "hover", "value", "valueType"]), + o = $L(t); + return k.jsx(sD, { className: "react-calendar__year-view__months", dateTransform: function (e) { var t = new Date(); - return (t.setFullYear(o, e, 1), xM(t)); + return (t.setFullYear(o, e, 1), mM(t)); }, dateType: "month", end: 11, hover: n, renderTile: function (e) { var n = e.date, - a = FD(e, ["date"]); + a = LD(e, ["date"]); return k.jsx( - jD, - BD({}, i, a, { activeStartDate: t, date: n }), + kD, + OD({}, i, a, { activeStartDate: t, date: n }), n.getTime(), ); }, @@ -61557,9 +61452,9 @@ function HD(e) { valueType: r, }); } -var zD = function () { +var DD = function () { return ( - (zD = + (DD = Object.assign || function (e) { for (var t, n = 1, a = arguments.length; n < a; n++) @@ -61567,18 +61462,18 @@ var zD = function () { Object.prototype.hasOwnProperty.call(t, r) && (e[r] = t[r]); return e; }), - zD.apply(this, arguments) + DD.apply(this, arguments) ); }; -function UD(e) { +function PD(e) { return k.jsx("div", { className: "react-calendar__year-view", - children: k.jsx(HD, zD({}, e)), + children: k.jsx(MD, DD({}, e)), }); } -var GD = function () { +var jD = function () { return ( - (GD = + (jD = Object.assign || function (e) { for (var t, n = 1, a = arguments.length; n < a; n++) @@ -61586,10 +61481,10 @@ var GD = function () { Object.prototype.hasOwnProperty.call(t, r) && (e[r] = t[r]); return e; }), - GD.apply(this, arguments) + jD.apply(this, arguments) ); }, - VD = function (e, t) { + BD = function (e, t) { var n = {}; for (var a in e) Object.prototype.hasOwnProperty.call(e, a) && @@ -61604,17 +61499,17 @@ var GD = function () { } return n; }, - ZD = "react-calendar__month-view__days__day"; -function $D(e) { + FD = "react-calendar__month-view__days__day"; +function HD(e) { var t = e.calendarType, n = e.classes, a = void 0 === n ? [] : n, r = e.currentMonthIndex, i = e.formatDay, - o = void 0 === i ? BM : i, + o = void 0 === i ? OM : i, s = e.formatLongDate, - l = void 0 === s ? FM : s, - c = VD(e, [ + l = void 0 === s ? LM : s, + c = BD(e, [ "calendarType", "classes", "currentMonthIndex", @@ -61626,25 +61521,25 @@ function $D(e) { p = []; return ( a && p.push.apply(p, a), - p.push(ZD), - nD(d, t) && p.push("".concat(ZD, "--weekend")), - d.getMonth() !== r && p.push("".concat(ZD, "--neighboringMonth")), + p.push(FD), + KM(d, t) && p.push("".concat(FD, "--weekend")), + d.getMonth() !== r && p.push("".concat(FD, "--neighboringMonth")), k.jsx( - mD, - GD({}, c, { + lD, + jD({}, c, { classes: p, formatAbbr: l, - maxDateTransform: RM, - minDateTransform: AM, + maxDateTransform: SM, + minDateTransform: xM, view: "month", children: o(u, d), }), ) ); } -var WD = function () { +var zD = function () { return ( - (WD = + (zD = Object.assign || function (e) { for (var t, n = 1, a = arguments.length; n < a; n++) @@ -61652,10 +61547,10 @@ var WD = function () { Object.prototype.hasOwnProperty.call(t, r) && (e[r] = t[r]); return e; }), - WD.apply(this, arguments) + zD.apply(this, arguments) ); }, - qD = function (e, t) { + UD = function (e, t) { var n = {}; for (var a in e) Object.prototype.hasOwnProperty.call(e, a) && @@ -61670,7 +61565,7 @@ var WD = function () { } return n; }; -function YD(e) { +function GD(e) { var t = e.activeStartDate, n = e.calendarType, a = e.hover, @@ -61678,7 +61573,7 @@ function YD(e) { i = e.showNeighboringMonth, o = e.value, s = e.valueType, - l = qD(e, [ + l = UD(e, [ "activeStartDate", "calendarType", "hover", @@ -61687,41 +61582,41 @@ function YD(e) { "value", "valueType", ]), - c = QL(t), - d = JL(t), + c = $L(t), + d = WL(t), u = r || i, - p = qM(t, n), + p = UM(t, n), h = u ? 0 : p, m = 1 + (u ? -p : 0), g = (function () { if (r) return m + 42 - 1; - var e = OM(t); + var e = AM(t); if (i) { var a = new Date(); return ( a.setFullYear(c, d, e), a.setHours(0, 0, 0, 0), - e + (7 - qM(a, n) - 1) + e + (7 - UM(a, n) - 1) ); } return e; })(); - return k.jsx(hD, { + return k.jsx(sD, { className: "react-calendar__month-view__days", count: 7, dateTransform: function (e) { var t = new Date(); - return (t.setFullYear(c, d, e), AM(t)); + return (t.setFullYear(c, d, e), xM(t)); }, dateType: "day", hover: a, end: g, renderTile: function (e) { var a = e.date, - r = qD(e, ["date"]); + r = UD(e, ["date"]); return k.jsx( - $D, - WD({}, l, r, { + HD, + zD({}, l, r, { activeStartDate: t, calendarType: n, currentMonthIndex: d, @@ -61736,37 +61631,37 @@ function YD(e) { valueType: s, }); } -var KD = "react-calendar__month-view__weekdays", - XD = "".concat(KD, "__weekday"); -function QD(e) { +var VD = "react-calendar__month-view__weekdays", + ZD = "".concat(VD, "__weekday"); +function $D(e) { for ( var t, n = e.calendarType, a = e.formatShortWeekday, - r = void 0 === a ? UM : a, + r = void 0 === a ? PM : a, i = e.formatWeekday, - o = void 0 === i ? GM : i, + o = void 0 === i ? jM : i, s = e.locale, l = e.onMouseLeave, - c = xM(new Date()), - d = QL(c), - u = JL(c), + c = mM(new Date()), + d = $L(c), + u = WL(c), p = [], h = 1; h <= 7; h += 1 ) { - var m = new Date(d, u, h - qM(c, n)), + var m = new Date(d, u, h - UM(c, n)), g = o(s, m); p.push( k.jsx( "div", { - className: IL( - XD, + className: AL( + ZD, ((t = m), - t.getDay() === new Date().getDay() && "".concat(XD, "--current")), - nD(m, n) && "".concat(XD, "--weekend"), + t.getDay() === new Date().getDay() && "".concat(ZD, "--current")), + KM(m, n) && "".concat(ZD, "--weekend"), ), children: k.jsx("abbr", { "aria-label": g, @@ -61778,17 +61673,17 @@ function QD(e) { ), ); } - return k.jsx(lD, { - className: KD, + return k.jsx(nD, { + className: VD, count: 7, onFocus: l, onMouseOver: l, children: p, }); } -var JD = function () { +var WD = function () { return ( - (JD = + (WD = Object.assign || function (e) { for (var t, n = 1, a = arguments.length; n < a; n++) @@ -61796,10 +61691,10 @@ var JD = function () { Object.prototype.hasOwnProperty.call(t, r) && (e[r] = t[r]); return e; }), - JD.apply(this, arguments) + WD.apply(this, arguments) ); }, - eP = function (e, t) { + qD = function (e, t) { var n = {}; for (var a in e) Object.prototype.hasOwnProperty.call(e, a) && @@ -61814,8 +61709,8 @@ var JD = function () { } return n; }, - tP = "react-calendar__tile"; -function nP(e) { + YD = "react-calendar__tile"; +function KD(e) { var t = e.onClickWeekNumber, n = e.weekNumber, a = k.jsx("span", { children: n }); @@ -61823,11 +61718,11 @@ function nP(e) { var r = e.date, i = e.onClickWeekNumber, o = e.weekNumber, - s = eP(e, ["date", "onClickWeekNumber", "weekNumber"]); + s = qD(e, ["date", "onClickWeekNumber", "weekNumber"]); return k.jsx( "button", - JD({}, s, { - className: tP, + WD({}, s, { + className: YD, onClick: function (e) { return i(o, r, e); }, @@ -61837,10 +61732,10 @@ function nP(e) { ); } (e.date, e.onClickWeekNumber, e.weekNumber); - s = eP(e, ["date", "onClickWeekNumber", "weekNumber"]); - return k.jsx("div", JD({}, s, { className: tP, children: a })); + s = qD(e, ["date", "onClickWeekNumber", "weekNumber"]); + return k.jsx("div", WD({}, s, { className: YD, children: a })); } -function aP(e) { +function XD(e) { var t = e.activeStartDate, n = e.calendarType, a = e.onClickWeekNumber, @@ -61848,28 +61743,28 @@ function aP(e) { i = e.showFixedNumberOfWeeks, o = (function () { if (i) return 6; - var e = OM(t) - (7 - qM(t, n)); + var e = AM(t) - (7 - UM(t, n)); return 1 + Math.ceil(e / 7); })(), s = (function () { - for (var e = QL(t), a = JL(t), r = eM(t), i = [], s = 0; s < o; s += 1) - i.push(YM(new Date(e, a, r + 7 * s), n)); + for (var e = $L(t), a = WL(t), r = qL(t), i = [], s = 0; s < o; s += 1) + i.push(GM(new Date(e, a, r + 7 * s), n)); return i; })(), l = s.map(function (e) { return (function (e, t) { - void 0 === t && (t = LM.ISO_8601); + void 0 === t && (t = CM.ISO_8601); var n, - a = t === LM.GREGORY ? LM.GREGORY : LM.ISO_8601, - r = YM(e, t), - i = QL(e) + 1; + a = t === CM.GREGORY ? CM.GREGORY : CM.ISO_8601, + r = GM(e, t), + i = $L(e) + 1; do { - ((n = YM(new Date(i, 0, a === LM.ISO_8601 ? 4 : 1), t)), (i -= 1)); + ((n = GM(new Date(i, 0, a === CM.ISO_8601 ? 4 : 1), t)), (i -= 1)); } while (e < n); return Math.round((r.getTime() - n.getTime()) / 6048e5) + 1; })(e, n); }); - return k.jsx(lD, { + return k.jsx(nD, { className: "react-calendar__month-view__weekNumbers", count: o, direction: "column", @@ -61879,13 +61774,13 @@ function aP(e) { children: l.map(function (e, t) { var n = s[t]; if (!n) throw new Error("date is not defined"); - return k.jsx(nP, { date: n, onClickWeekNumber: a, weekNumber: e }, e); + return k.jsx(KD, { date: n, onClickWeekNumber: a, weekNumber: e }, e); }), }); } -var rP = function () { +var QD = function () { return ( - (rP = + (QD = Object.assign || function (e) { for (var t, n = 1, a = arguments.length; n < a; n++) @@ -61893,10 +61788,10 @@ var rP = function () { Object.prototype.hasOwnProperty.call(t, r) && (e[r] = t[r]); return e; }), - rP.apply(this, arguments) + QD.apply(this, arguments) ); }, - iP = function (e, t) { + JD = function (e, t) { var n = {}; for (var a in e) Object.prototype.hasOwnProperty.call(e, a) && @@ -61911,7 +61806,7 @@ var rP = function () { } return n; }; -function oP(e) { +function eP(e) { var t = e.activeStartDate, n = e.locale, a = e.onMouseLeave, @@ -61921,19 +61816,19 @@ function oP(e) { void 0 === i ? (function (e) { if (e) - for (var t = 0, n = Object.entries(MM); t < n.length; t++) { + for (var t = 0, n = Object.entries(NM); t < n.length; t++) { var a = n[t], r = a[0]; if (a[1].includes(e)) return r; } - return LM.ISO_8601; + return CM.ISO_8601; })(n) : i, s = e.formatShortWeekday, l = e.formatWeekday, c = e.onClickWeekNumber, d = e.showWeekNumbers, - u = iP(e, [ + u = JD(e, [ "calendarType", "formatShortWeekday", "formatWeekday", @@ -61942,12 +61837,12 @@ function oP(e) { ]); var p = "react-calendar__month-view"; return k.jsx("div", { - className: IL(p, d ? "".concat(p, "--weekNumbers") : ""), + className: AL(p, d ? "".concat(p, "--weekNumbers") : ""), children: k.jsxs("div", { style: { display: "flex", alignItems: "flex-end" }, children: [ d - ? k.jsx(aP, { + ? k.jsx(XD, { activeStartDate: t, calendarType: o, onClickWeekNumber: c, @@ -61958,23 +61853,23 @@ function oP(e) { k.jsxs("div", { style: { flexGrow: 1, width: "100%" }, children: [ - k.jsx(QD, { + k.jsx($D, { calendarType: o, formatShortWeekday: s, formatWeekday: l, locale: n, onMouseLeave: a, }), - k.jsx(YD, rP({ calendarType: o }, u)), + k.jsx(GD, QD({ calendarType: o }, u)), ], }), ], }), }); } -var sP = function () { +var tP = function () { return ( - (sP = + (tP = Object.assign || function (e) { for (var t, n = 1, a = arguments.length; n < a; n++) @@ -61982,34 +61877,34 @@ var sP = function () { Object.prototype.hasOwnProperty.call(t, r) && (e[r] = t[r]); return e; }), - sP.apply(this, arguments) + tP.apply(this, arguments) ); }, - lP = "react-calendar", - cP = ["century", "decade", "year", "month"], - dP = ["decade", "year", "month", "day"], - uP = new Date(); -(uP.setFullYear(1, 0, 1), uP.setHours(0, 0, 0, 0)); -var pP = new Date(864e13); -function hP(e) { + nP = "react-calendar", + aP = ["century", "decade", "year", "month"], + rP = ["decade", "year", "month", "day"], + iP = new Date(); +(iP.setFullYear(1, 0, 1), iP.setHours(0, 0, 0, 0)); +var oP = new Date(864e13); +function sP(e) { return e instanceof Date ? e : new Date(e); } -function mP(e, t) { - return cP.slice(cP.indexOf(e), cP.indexOf(t) + 1); +function lP(e, t) { + return aP.slice(aP.indexOf(e), aP.indexOf(t) + 1); } -function gP(e, t, n) { +function cP(e, t, n) { return e && (function (e, t, n) { - return -1 !== mP(t, n).indexOf(e); + return -1 !== lP(t, n).indexOf(e); })(e, t, n) ? e : n; } -function fP(e) { - var t = cP.indexOf(e); - return dP[t]; +function dP(e) { + var t = aP.indexOf(e); + return rP[t]; } -function bP(e, t) { +function uP(e, t) { var n = e.value, a = e.minDate, r = e.maxDate, @@ -62017,22 +61912,22 @@ function bP(e, t) { o = (function (e, t) { var n = Array.isArray(e) ? e[t] : e; if (!n) return null; - var a = hP(n); + var a = sP(n); if (Number.isNaN(a.getTime())) throw new Error("Invalid date: ".concat(e)); return a; })(n, t); if (!o) return null; - var s = fP(i); + var s = dP(i); return (function (e, t, n) { return t && t > e ? t : n && n < e ? n : e; })( (function () { switch (t) { case 0: - return KM(s, o); + return VM(s, o); case 1: - return QM(s, o); + return $M(s, o); default: throw new Error("Invalid index value: ".concat(t)); } @@ -62041,35 +61936,35 @@ function bP(e, t) { r, ); } -var EP = function (e) { - return bP(e, 0); +var pP = function (e) { + return uP(e, 0); }, - vP = function (e) { - return bP(e, 1); + hP = function (e) { + return uP(e, 1); }, - xP = function (e) { - return [EP, vP].map(function (t) { + mP = function (e) { + return [pP, hP].map(function (t) { return t(e); }); }; -function TP(e) { +function gP(e) { var t = e.maxDate, n = e.maxDetail, a = e.minDate, r = e.minDetail, i = e.value; - return KM( - gP(e.view, r, n), - EP({ value: i, minDate: a, maxDate: t, maxDetail: n }) || new Date(), + return VM( + cP(e.view, r, n), + pP({ value: i, minDate: a, maxDate: t, maxDetail: n }) || new Date(), ); } -function _P(e) { +function fP(e) { return e && (!Array.isArray(e) || 1 === e.length); } -function yP(e, t) { +function bP(e, t) { return e instanceof Date && t instanceof Date && e.getTime() === t.getTime(); } -var SP = u(function (e, t) { +var EP = u(function (e, t) { var n, r = e.activeStartDate, i = e.allowPartialRange, @@ -62090,11 +61985,11 @@ var SP = u(function (e, t) { _ = e.inputRef, y = e.locale, S = e.maxDate, - w = void 0 === S ? pP : S, + w = void 0 === S ? oP : S, A = e.maxDetail, C = void 0 === A ? "month" : A, N = e.minDate, - I = void 0 === N ? uP : N, + I = void 0 === N ? iP : N, R = e.minDetail, O = void 0 === R ? "century" : R, L = e.navigationAriaLabel, @@ -62144,10 +62039,10 @@ var SP = u(function (e, t) { ye = a( Array.isArray(u) ? u.map(function (e) { - return null !== e ? hP(e) : null; + return null !== e ? sP(e) : null; }) : null != u - ? hP(u) + ? sP(u) : null, ), Se = ye[0], @@ -62169,11 +62064,11 @@ var SP = u(function (e, t) { l = e.minDetail, c = e.value, d = e.view, - u = gP(d, l, o), + u = cP(d, l, o), p = t || n; return p - ? KM(u, p) - : TP({ + ? VM(u, p) + : gP({ maxDate: i, maxDetail: o, minDate: s, @@ -62193,18 +62088,18 @@ var SP = u(function (e, t) { value: ge, view: fe, }), - Re = (n = ne && _P(Se) ? Se : void 0 !== ge ? ge : Se) + Re = (n = ne && fP(Se) ? Se : void 0 !== ge ? ge : Se) ? Array.isArray(n) ? n.map(function (e) { - return null !== e ? hP(e) : null; + return null !== e ? sP(e) : null; }) : null !== n - ? hP(n) + ? sP(n) : null : null, - ke = fP(C), - Oe = gP(fe || Ce, O, C), - Le = mP(O, C), + ke = dP(C), + Oe = cP(fe || Ce, O, C), + Le = lP(O, C), Me = ne ? Te : null, De = Le.indexOf(Oe) < Le.length - 1, Pe = Le.indexOf(Oe) > 0, @@ -62213,11 +62108,11 @@ var SP = u(function (e, t) { return (function () { switch (te) { case "start": - return EP; + return pP; case "end": - return vP; + return hP; case "range": - return xP; + return mP; default: throw new Error("Invalid returnValue."); } @@ -62229,7 +62124,7 @@ var SP = u(function (e, t) { function (e, t) { ve(e); var n = { action: t, activeStartDate: e, value: Re, view: Oe }; - H && !yP(Ie, e) && H(n); + H && !bP(Ie, e) && H(n); }, [Ie, H, Re, Oe], ), @@ -62267,7 +62162,7 @@ var SP = u(function (e, t) { value: Re, view: n, }; - (H && !yP(Ie, e) && H(a), Y && Oe !== n && Y(a), W && W(a)); + (H && !bP(Ie, e) && H(a), Y && Oe !== n && Y(a), W && W(a)); } }, [Ie, De, H, Fe, W, Y, Re, Oe, Le], @@ -62278,10 +62173,10 @@ var SP = u(function (e, t) { var e = Le[Le.indexOf(Oe) - 1]; if (!e) throw new Error("Attempted to drill up from the highest view."); - var t = KM(e, Ie); + var t = VM(e, Ie); (ve(t), Ne(e)); var n = { action: "drillUp", activeStartDate: t, value: Re, view: e }; - (H && !yP(Ie, t) && H(n), Y && Oe !== e && Y(n), q && q(n)); + (H && !bP(Ie, t) && H(n), Y && Oe !== e && Y(n), q && q(n)); } }, [Ie, Pe, H, q, Y, Re, Oe, Le], @@ -62291,9 +62186,9 @@ var SP = u(function (e, t) { var n = Re; Fe(e, t); var a, - r = ne && !_P(n); + r = ne && !fP(n); if (ne) - if (r) a = KM(ke, e); + if (r) a = VM(ke, e); else { if (!n) throw new Error("previousValue is required"); if (Array.isArray(n)) @@ -62302,13 +62197,13 @@ var SP = u(function (e, t) { var a = [t, n].sort(function (e, t) { return e.getTime() - t.getTime(); }); - return [KM(e, a[0]), QM(e, a[1])]; + return [VM(e, a[0]), $M(e, a[1])]; })(ke, n, e); } else a = je(e); var o = !ne || r || T - ? TP({ + ? gP({ maxDate: w, maxDetail: C, minDate: I, @@ -62319,9 +62214,9 @@ var SP = u(function (e, t) { : null; (t.persist(), ve(o), we(a)); var s = { action: "onChange", activeStartDate: o, value: a, view: Oe }; - if ((H && !yP(Ie, o) && H(s), z)) + if ((H && !bP(Ie, o) && H(s), z)) if (ne) - if (_P(a)) { + if (fP(a)) { if (i) { if (Array.isArray(a)) throw new Error("value must not be an array"); @@ -62340,7 +62235,7 @@ var SP = u(function (e, t) { } function Ze(e) { var t = { - activeStartDate: e ? XM(Oe, Ie) : KM(Oe, Ie), + activeStartDate: e ? ZM(Oe, Ie) : VM(Oe, Ie), hover: Me, locale: y, maxDate: w, @@ -62355,15 +62250,15 @@ var SP = u(function (e, t) { }; switch (Oe) { case "century": - return k.jsx(yD, sP({ formatYear: v, showNeighboringCentury: se }, t)); + return k.jsx(bD, tP({ formatYear: v, showNeighboringCentury: se }, t)); case "decade": - return k.jsx(OD, sP({ formatYear: v, showNeighboringDecade: le }, t)); + return k.jsx(AD, tP({ formatYear: v, showNeighboringDecade: le }, t)); case "year": - return k.jsx(UD, sP({ formatMonth: g, formatMonthYear: f }, t)); + return k.jsx(PD, tP({ formatMonth: g, formatMonthYear: f }, t)); case "month": return k.jsx( - oP, - sP( + eP, + tP( { calendarType: o, formatDay: h, @@ -62400,16 +62295,16 @@ var SP = u(function (e, t) { ); var $e = Array.isArray(Re) ? Re : [Re]; return k.jsxs("div", { - className: IL( - lP, - ne && 1 === $e.length && "".concat(lP, "--selectRange"), - ae && "".concat(lP, "--doubleView"), + className: AL( + nP, + ne && 1 === $e.length && "".concat(nP, "--selectRange"), + ae && "".concat(nP, "--doubleView"), c, ), ref: _, children: [ oe - ? k.jsx(rD, { + ? k.jsx(QM, { activeStartDate: Ie, drillUp: ze, formatMonthYear: f, @@ -62435,7 +62330,7 @@ var SP = u(function (e, t) { }) : null, k.jsxs("div", { - className: "".concat(lP, "__viewContainer"), + className: "".concat(nP, "__viewContainer"), onBlur: ne ? Ve : void 0, onMouseLeave: ne ? Ve : void 0, children: [Ze(), ae ? Ze(!0) : null], @@ -62443,7 +62338,7 @@ var SP = u(function (e, t) { ], }); }); -const wP = p.div(({ theme: e }) => ({ +const vP = p.div(({ theme: e }) => ({ "& .react-calendar__navigation": { display: "flex", justifyContent: "space-between", @@ -62551,11 +62446,11 @@ const wP = p.div(({ theme: e }) => ({ "& button": { minWidth: 120 }, }, })), - AP = ({ value: e, onChange: t, minDate: a, maxDate: r }) => - k.jsx(wP, { - children: k.jsx(SP, { + xP = ({ value: e, onChange: t, minDate: a, maxDate: r }) => + k.jsx(vP, { + children: k.jsx(EP, { onChange: (e) => { - e && t(AL.fromJSDate(e)); + e && t(yL.fromJSDate(e)); }, value: null == e ? void 0 : e.toJSDate(), minDate: null == a ? void 0 : a.toJSDate(), @@ -62579,7 +62474,7 @@ const wP = p.div(({ theme: e }) => ({ prevLabel: k.jsx(fc, {}), }), }), - CP = p.div(({ theme: e }) => ({ + TP = p.div(({ theme: e }) => ({ "& .timeTitle": { display: "flex", justifyContent: "center", @@ -62632,7 +62527,7 @@ const wP = p.div(({ theme: e }) => ({ justifyContent: "space-evenly", }, })), - NP = p.button(({ theme: e }) => ({ + _P = p.button(({ theme: e }) => ({ cursor: "pointer", display: "flex", width: "100%", @@ -62647,7 +62542,7 @@ const wP = p.div(({ theme: e }) => ({ color: Oa(e, "bgColor", O), }, })), - IP = ({ + yP = ({ value: e, onChange: t, completeCallback: n, @@ -62664,7 +62559,7 @@ const wP = p.div(({ theme: e }) => ({ ) return null; const c = ({ label: n, type: a, className: r, itemValue: i }) => - k.jsx(NP, { + k.jsx(_P, { onClick: () => { ((n, a) => { let r = e; @@ -62717,17 +62612,17 @@ const wP = p.div(({ theme: e }) => ({ `${t}-${n}`, ); }); - return k.jsxs(CP, { + return k.jsxs(TP, { children: [ - k.jsx(Am, { className: "timeTitle", children: "Time" }), - k.jsxs(Am, { + k.jsx(Cm, { className: "timeTitle", children: "Time" }), + k.jsxs(Cm, { className: "selectors", children: [ - k.jsxs(Am, { + k.jsxs(Cm, { className: "columnSelector", children: [ k.jsx("span", { className: "titleElement", children: "Hour" }), - k.jsx(Am, { + k.jsx(Cm, { className: "scrollRollbar", children: k.jsx( () => @@ -62755,39 +62650,39 @@ const wP = p.div(({ theme: e }) => ({ }), ], }), - k.jsxs(Am, { + k.jsxs(Cm, { className: "columnSelector", children: [ k.jsx("span", { className: "titleElement", children: "Minute", }), - k.jsx(Am, { + k.jsx(Cm, { className: "scrollRollbar", children: k.jsx(d, { type: "minute" }), }), ], }), i && - k.jsxs(Am, { + k.jsxs(Cm, { className: "columnSelector", children: [ k.jsx("span", { className: "titleElement", children: "Second", }), - k.jsx(Am, { + k.jsx(Cm, { className: "scrollRollbar", children: k.jsx(d, { type: "second" }), }), ], }), "12h" === o && - k.jsxs(Am, { + k.jsxs(Cm, { className: "columnSelector", children: [ k.jsx("span", { className: "titleElement", children: " " }), - k.jsxs(Am, { + k.jsxs(Cm, { className: "scrollRollbar", children: [ k.jsx(c, { @@ -62813,7 +62708,7 @@ const wP = p.div(({ theme: e }) => ({ ], }); }, - RP = p.button(({ theme: e }) => ({ + SP = p.button(({ theme: e }) => ({ height: 30, display: "flex", alignItems: "center", @@ -62833,7 +62728,7 @@ const wP = p.div(({ theme: e }) => ({ boxShadow: "0px 3px 6px #00000029;", }, })), - kP = p.div(({ theme: e, sx: t, isPortal: n, mode: a }) => ({ + wP = p.div(({ theme: e, sx: t, isPortal: n, mode: a }) => ({ position: n ? "absolute" : "relative", border: `1px solid ${Oa(e, "borderColor", D)}`, backgroundColor: Oa(e, "bgColor", O), @@ -62845,7 +62740,7 @@ const wP = p.div(({ theme: e }) => ({ "& .modeBar": { display: "flex", gap: 16, marginBottom: 18 }, ...t, })), - OP = (e) => { + AP = (e) => { if (!e) return { top: 0, left: 0, width: 0 }; const t = e.getBoundingClientRect(); return { @@ -62854,7 +62749,7 @@ const wP = p.div(({ theme: e }) => ({ transform: "translateX(-100%)", }; }, - LP = ({ + CP = ({ mode: e = "all", onChange: t, maxDate: n, @@ -62873,7 +62768,7 @@ const wP = p.div(({ theme: e }) => ({ [E, v] = a(null); (r(() => { if (l) { - if (h) return void v(OP(c)); + if (h) return void v(AP(c)); v(null); } }, [h, l]), @@ -62882,8 +62777,8 @@ const wP = p.div(({ theme: e }) => ({ const e = () => { p && p(); }, - t = Hm((e) => { - e && e.getBoundingClientRect() && v(OP(e)); + t = zm((e) => { + e && e.getBoundingClientRect() && v(AP(e)); }, 300); (window.addEventListener("resize", e), window.addEventListener("scroll", () => { @@ -62895,7 +62790,7 @@ const wP = p.div(({ theme: e }) => ({ p && p(); }; if (l && (!h || !E)) return null; - const T = k.jsxs(kP, { + const T = k.jsxs(wP, { mode: e, onClick: (e) => e.stopPropagation(), id: `timeSelector-${s}`, @@ -62904,10 +62799,10 @@ const wP = p.div(({ theme: e }) => ({ children: [ "all" === e && o && - k.jsxs(Am, { + k.jsxs(Cm, { className: "modeBar", children: [ - k.jsxs(RP, { + k.jsxs(SP, { className: "calendar" === g ? "selected" : "", onClick: () => f("calendar"), children: [ @@ -62918,7 +62813,7 @@ const wP = p.div(({ theme: e }) => ({ }), ], }), - k.jsxs(RP, { + k.jsxs(SP, { className: "time" === g ? "selected" : "", onClick: () => f("time"), children: [ @@ -62936,7 +62831,7 @@ const wP = p.div(({ theme: e }) => ({ ], }), "calendar" === g && - k.jsx(AP, { + k.jsx(xP, { minDate: i, maxDate: n, value: o, @@ -62945,7 +62840,7 @@ const wP = p.div(({ theme: e }) => ({ }, }), "time" === g && - k.jsx(IP, { + k.jsx(yP, { secondsSelector: d, timeFormat: u, value: o, @@ -62954,9 +62849,9 @@ const wP = p.div(({ theme: e }) => ({ }), ], }); - return l ? b(k.jsx(Um, { onClick: x, children: T }), document.body) : T; + return l ? b(k.jsx(Gm, { onClick: x, children: T }), document.body) : T; }, - MP = p.input(({ theme: e }) => { + NP = p.input(({ theme: e }) => { let t = Oa(e, "inputBox.border", D), n = Oa(e, "inputBox.hoverBorder", K); return { @@ -62990,7 +62885,7 @@ const wP = p.div(({ theme: e }) => ({ }, }; }), - DP = p.div(({ theme: e }) => { + IP = p.div(({ theme: e }) => { let t = Oa(e, "inputBox.border", D), n = Oa(e, "inputBox.hoverBorder", K); return { @@ -63021,7 +62916,7 @@ const wP = p.div(({ theme: e }) => ({ }, }; }), - PP = p.div(({ theme: e, error: t, sx: n }) => ({ + RP = p.div(({ theme: e, error: t, sx: n }) => ({ display: "flex", flexGrow: 1, width: "100%", @@ -63064,7 +62959,7 @@ const wP = p.div(({ theme: e }) => ({ "& .inputLabel": { marginBottom: t ? 18 : 0 }, ...n, })), - jP = ({ + kP = ({ sx: e, id: r, className: i, @@ -63097,10 +62992,10 @@ const wP = p.div(({ theme: e }) => ({ ), [N, I] = t.useState(null), [R, O] = a(!1); - xg(() => { + Tg(() => { w(!1); }); - return k.jsxs(PP, { + return k.jsxs(RP, { sx: e, className: `inputItem ${i}`, children: [ @@ -63115,12 +63010,12 @@ const wP = p.div(({ theme: e }) => ({ p, b ? "*" : "", "" !== s && - k.jsx(Am, { + k.jsx(Cm, { className: "tooltipContainer", children: k.jsx(Ei, { tooltip: s, placement: "top", - children: k.jsx(Am, { + children: k.jsx(Cm, { className: s, children: k.jsx(vo, {}), }), @@ -63128,13 +63023,13 @@ const wP = p.div(({ theme: e }) => ({ }), ], }), - k.jsxs(Am, { + k.jsxs(Cm, { id: `${r}-DateTimeInput`, className: "dateTimeInputContainer", children: [ - k.jsx(Am, { className: "startComponent", children: o }), + k.jsx(Cm, { className: "startComponent", children: o }), R - ? k.jsx(MP, { + ? k.jsx(NP, { disabled: h, id: r, value: A, @@ -63161,7 +63056,7 @@ const wP = p.div(({ theme: e }) => ({ ("all" === m ? " HH:MM" + (_ ? ":SS" : "") : ""), onBlur: () => { O(!1); - const e = AL.fromFormat( + const e = yL.fromFormat( A, "MM/dd/yyyy" + ("all" === m ? " HH:mm" + (_ ? ":ss" : "") : ""), @@ -63181,7 +63076,7 @@ const wP = p.div(({ theme: e }) => ({ }, autoFocus: !0, }) - : k.jsx(DP, { + : k.jsx(IP, { onClick: () => { O(!0); }, @@ -63196,7 +63091,7 @@ const wP = p.div(({ theme: e }) => ({ : ""), )) || "", }), - k.jsx(Am, { + k.jsx(Cm, { className: "overlayArrow", onClick: (e) => { h || (w(!S), I(e.currentTarget)); @@ -63204,11 +63099,11 @@ const wP = p.div(({ theme: e }) => ({ children: "arrow" === f ? k.jsx(n, { children: S ? k.jsx(wl, {}) : k.jsx(Al, {}) }) - : k.jsx(Am, { className: "customIcon", children: f }), + : k.jsx(Cm, { className: "customIcon", children: f }), }), ], }), - k.jsx(LP, { + k.jsx(CP, { id: r, value: g, minDate: u, @@ -63237,7 +63132,7 @@ const wP = p.div(({ theme: e }) => ({ ], }); }, - BP = p.a(({ theme: e, sx: t }) => ({ + OP = p.a(({ theme: e, sx: t }) => ({ cursor: "pointer", display: "inline-flex", backgroundColor: "transparent", @@ -63250,9 +63145,9 @@ const wP = p.div(({ theme: e }) => ({ "&:hover": { textDecoration: "underline", color: Oa(e, "linkColor", Ie) }, ...t, })), - FP = ({ sx: e, children: t, ...n }) => - k.jsx(BP, { ...n, sx: e, children: t }), - HP = (e) => + LP = ({ sx: e, children: t, ...n }) => + k.jsx(OP, { ...n, sx: e, children: t }), + MP = (e) => k.jsx("svg", { xmlns: "http://www.w3.org/2000/svg", className: "min-icon", @@ -63265,7 +63160,7 @@ const wP = p.div(({ theme: e }) => ({ transform: "translate(2194 -19)", }), }), - zP = (e) => + DP = (e) => k.jsxs("svg", { xmlns: "http://www.w3.org/2000/svg", className: "min-icon", @@ -63311,7 +63206,7 @@ const wP = p.div(({ theme: e }) => ({ }), ], }), - UP = (e) => + PP = (e) => k.jsx("svg", { xmlns: "http://www.w3.org/2000/svg", className: "min-icon", @@ -63329,7 +63224,7 @@ const wP = p.div(({ theme: e }) => ({ }), }), }), - GP = (e) => + jP = (e) => k.jsxs("svg", { xmlns: "http://www.w3.org/2000/svg", className: "min-icon", @@ -63372,7 +63267,7 @@ const wP = p.div(({ theme: e }) => ({ }), ], }), - VP = (e) => + BP = (e) => k.jsx("svg", { xmlns: "http://www.w3.org/2000/svg", className: "min-icon", @@ -63399,7 +63294,7 @@ const wP = p.div(({ theme: e }) => ({ ], }), }), - ZP = (e) => + FP = (e) => k.jsxs("svg", { xmlns: "http://www.w3.org/2000/svg", className: "min-icon", @@ -63463,7 +63358,7 @@ const wP = p.div(({ theme: e }) => ({ }), ], }), - $P = (e) => + HP = (e) => k.jsx("svg", { xmlns: "http://www.w3.org/2000/svg", className: "min-icon", @@ -63512,7 +63407,7 @@ const wP = p.div(({ theme: e }) => ({ ], }), }), - WP = (e) => + zP = (e) => k.jsxs("svg", { xmlns: "http://www.w3.org/2000/svg", className: "min-icon", @@ -63550,7 +63445,7 @@ const wP = p.div(({ theme: e }) => ({ }), ], }), - qP = (e) => + UP = (e) => k.jsx("svg", { xmlns: "http://www.w3.org/2000/svg", className: "min-icon", @@ -63566,7 +63461,7 @@ const wP = p.div(({ theme: e }) => ({ strokeWidth: "1", }), }), - YP = (e) => + GP = (e) => k.jsxs("svg", { xmlns: "http://www.w3.org/2000/svg", className: "min-icon", @@ -63612,7 +63507,7 @@ const wP = p.div(({ theme: e }) => ({ }), ], }), - KP = (e) => + VP = (e) => k.jsxs("svg", { xmlns: "http://www.w3.org/2000/svg", className: "min-icon", @@ -63651,7 +63546,7 @@ const wP = p.div(({ theme: e }) => ({ }), ], }), - XP = (e) => + ZP = (e) => k.jsxs("svg", { xmlns: "http://www.w3.org/2000/svg", className: "min-icon", @@ -63691,7 +63586,7 @@ const wP = p.div(({ theme: e }) => ({ }), ], }), - QP = (e) => + $P = (e) => k.jsxs("svg", { xmlns: "http://www.w3.org/2000/svg", className: "min-icon", @@ -63730,7 +63625,7 @@ const wP = p.div(({ theme: e }) => ({ }), ], }), - JP = (e) => + WP = (e) => k.jsx("svg", { xmlns: "http://www.w3.org/2000/svg", className: "min-icon", @@ -63758,7 +63653,7 @@ const wP = p.div(({ theme: e }) => ({ ], }), }), - ej = (e) => + qP = (e) => k.jsxs("svg", { xmlns: "http://www.w3.org/2000/svg", className: "min-icon", @@ -63790,7 +63685,7 @@ const wP = p.div(({ theme: e }) => ({ }), ], }), - tj = (e) => + YP = (e) => k.jsxs("svg", { xmlns: "http://www.w3.org/2000/svg", className: "min-icon", @@ -63822,7 +63717,7 @@ const wP = p.div(({ theme: e }) => ({ }), ], }), - nj = (e) => + KP = (e) => k.jsxs("svg", { xmlns: "http://www.w3.org/2000/svg", className: "min-icon", @@ -63868,7 +63763,7 @@ const wP = p.div(({ theme: e }) => ({ }), ], }), - aj = (e) => + XP = (e) => k.jsxs("svg", { xmlns: "http://www.w3.org/2000/svg", className: "min-icon", @@ -63904,7 +63799,7 @@ const wP = p.div(({ theme: e }) => ({ }), ], }), - rj = (e) => + QP = (e) => k.jsxs("svg", { xmlns: "http://www.w3.org/2000/svg", className: "min-icon", @@ -63950,7 +63845,7 @@ const wP = p.div(({ theme: e }) => ({ }), ], }), - ij = (e) => + JP = (e) => k.jsx("svg", { xmlns: "http://www.w3.org/2000/svg", className: "min-icon", @@ -63965,7 +63860,7 @@ const wP = p.div(({ theme: e }) => ({ strokeWidth: "1", }), }), - oj = (e) => + ej = (e) => k.jsxs("svg", { xmlns: "http://www.w3.org/2000/svg", className: "min-icon", @@ -64030,7 +63925,7 @@ const wP = p.div(({ theme: e }) => ({ }), ], }), - sj = (e) => + tj = (e) => k.jsxs("svg", { xmlns: "http://www.w3.org/2000/svg", className: "min-icon", @@ -64069,7 +63964,7 @@ const wP = p.div(({ theme: e }) => ({ }), ], }), - lj = (e) => + nj = (e) => k.jsx("svg", { xmlns: "http://www.w3.org/2000/svg", className: "min-icon", @@ -64083,7 +63978,7 @@ const wP = p.div(({ theme: e }) => ({ transform: "translate(-131.934 -148.182)", }), }), - cj = (e) => + aj = (e) => k.jsx("svg", { xmlns: "http://www.w3.org/2000/svg", className: "min-icon", @@ -64096,7 +63991,7 @@ const wP = p.div(({ theme: e }) => ({ transform: "translate(13198.776 18138.416)", }), }), - dj = (e) => + rj = (e) => k.jsx("svg", { xmlns: "http://www.w3.org/2000/svg", className: "min-icon", @@ -64108,7 +64003,7 @@ const wP = p.div(({ theme: e }) => ({ d: "M175.664,255.209V228.695H79.546v26.515H46.4V228.695H3a3,3,0,0,1-3-3V3A3,3,0,0,1,3,0H252.21a3,3,0,0,1,3,3V225.694a3,3,0,0,1-3,3h-43.4v26.515ZM23.2,29.83V198.865a9.954,9.954,0,0,0,9.943,9.943H222.065a9.954,9.954,0,0,0,9.943-9.943V29.83a9.954,9.954,0,0,0-9.943-9.943H33.144A9.954,9.954,0,0,0,23.2,29.83ZM222.065,198.866h0Zm-188.921,0V29.83H222.065V198.865H33.144ZM69.224,88.258a26.52,26.52,0,1,0,34.909,34.375h33.071a2,2,0,0,0,2-2V104.747a2,2,0,0,0-2-2H104.134A26.545,26.545,0,0,0,69.224,88.258ZM59.659,112.69a19.886,19.886,0,1,1,19.886,19.886A19.887,19.887,0,0,1,59.659,112.69Z", }), }), - uj = (e) => + ij = (e) => k.jsx("svg", { xmlns: "http://www.w3.org/2000/svg", className: "min-icon", @@ -64124,7 +64019,7 @@ const wP = p.div(({ theme: e }) => ({ strokeWidth: "1", }), }), - pj = (e) => + oj = (e) => k.jsx("svg", { xmlns: "http://www.w3.org/2000/svg", className: "min-icon", @@ -64140,7 +64035,7 @@ const wP = p.div(({ theme: e }) => ({ strokeWidth: "1", }), }), - hj = (e) => + sj = (e) => k.jsx("svg", { xmlns: "http://www.w3.org/2000/svg", className: "min-icon", @@ -64174,7 +64069,7 @@ const wP = p.div(({ theme: e }) => ({ }), }), }), - mj = (e) => + lj = (e) => k.jsx("svg", { xmlns: "http://www.w3.org/2000/svg", className: "min-icon", @@ -64202,7 +64097,7 @@ const wP = p.div(({ theme: e }) => ({ ], }), }), - gj = (e) => + cj = (e) => k.jsx("svg", { xmlns: "http://www.w3.org/2000/svg", className: "min-icon", @@ -64230,7 +64125,7 @@ const wP = p.div(({ theme: e }) => ({ ], }), }), - fj = (e) => + dj = (e) => k.jsx("svg", { xmlns: "http://www.w3.org/2000/svg", className: "min-icon", @@ -64259,7 +64154,7 @@ const wP = p.div(({ theme: e }) => ({ ], }), }), - bj = (e) => + uj = (e) => k.jsx("svg", { xmlns: "http://www.w3.org/2000/svg", className: "min-icon", @@ -64292,7 +64187,7 @@ const wP = p.div(({ theme: e }) => ({ ], }), }), - Ej = (e) => + pj = (e) => k.jsx("svg", { xmlns: "http://www.w3.org/2000/svg", className: "min-icon", @@ -64320,7 +64215,7 @@ const wP = p.div(({ theme: e }) => ({ ], }), }), - vj = (e) => + hj = (e) => k.jsx("svg", { xmlns: "http://www.w3.org/2000/svg", className: "min-icon", @@ -64356,7 +64251,7 @@ const wP = p.div(({ theme: e }) => ({ ], }), }), - xj = (e) => + mj = (e) => k.jsx("svg", { xmlns: "http://www.w3.org/2000/svg", className: "min-icon", @@ -64396,7 +64291,7 @@ const wP = p.div(({ theme: e }) => ({ }), }), }), - Tj = (e) => + gj = (e) => k.jsx("svg", { xmlns: "http://www.w3.org/2000/svg", className: "min-icon", @@ -64434,7 +64329,7 @@ const wP = p.div(({ theme: e }) => ({ ], }), }), - _j = (e) => + fj = (e) => k.jsx("svg", { xmlns: "http://www.w3.org/2000/svg", className: "min-icon", @@ -64488,7 +64383,7 @@ const wP = p.div(({ theme: e }) => ({ ], }), }), - yj = (e) => + bj = (e) => k.jsx("svg", { xmlns: "http://www.w3.org/2000/svg", className: "min-icon", @@ -64519,7 +64414,7 @@ const wP = p.div(({ theme: e }) => ({ }), }), }), - Sj = (e) => + Ej = (e) => k.jsx("svg", { xmlns: "http://www.w3.org/2000/svg", className: "min-icon", @@ -64561,7 +64456,7 @@ const wP = p.div(({ theme: e }) => ({ }), }), }), - wj = (e) => + vj = (e) => k.jsxs("svg", { xmlns: "http://www.w3.org/2000/svg", className: "min-icon", @@ -64583,7 +64478,7 @@ const wP = p.div(({ theme: e }) => ({ }), ], }), - Aj = (e) => + xj = (e) => k.jsx("svg", { xmlns: "http://www.w3.org/2000/svg", className: "min-icon", @@ -64611,7 +64506,7 @@ const wP = p.div(({ theme: e }) => ({ ], }), }), - Cj = (e) => + Tj = (e) => k.jsx("svg", { xmlns: "http://www.w3.org/2000/svg", className: "min-icon", @@ -64639,7 +64534,7 @@ const wP = p.div(({ theme: e }) => ({ ], }), }), - Nj = (e) => + _j = (e) => k.jsx("svg", { xmlns: "http://www.w3.org/2000/svg", className: "min-icon", @@ -64667,7 +64562,7 @@ const wP = p.div(({ theme: e }) => ({ ], }), }), - Ij = (e) => + yj = (e) => k.jsx("svg", { xmlns: "http://www.w3.org/2000/svg", className: "min-icon", @@ -64697,7 +64592,7 @@ const wP = p.div(({ theme: e }) => ({ }), }), }), - Rj = (e) => + Sj = (e) => k.jsx("svg", { xmlns: "http://www.w3.org/2000/svg", className: "min-icon", @@ -64725,7 +64620,7 @@ const wP = p.div(({ theme: e }) => ({ ], }), }), - kj = (e) => + wj = (e) => k.jsx("svg", { xmlns: "http://www.w3.org/2000/svg", className: "min-icon", @@ -64753,7 +64648,7 @@ const wP = p.div(({ theme: e }) => ({ ], }), }), - Oj = (e) => + Aj = (e) => k.jsx("svg", { xmlns: "http://www.w3.org/2000/svg", className: "min-icon", @@ -64778,25 +64673,25 @@ const wP = p.div(({ theme: e }) => ({ }), }), }), - Lj = p.table(({ theme: e, sx: t }) => ({ + Cj = p.table(({ theme: e, sx: t }) => ({ display: "table", width: "100%", borderCollapse: "collapse", borderSpacing: 0, ...t, })), - Mj = ({ children: e, sx: t, ...n }) => - k.jsx(Lj, { sx: t, ...n, children: e }), - Dj = p.tbody(({ theme: e, sx: t }) => ({ + Nj = ({ children: e, sx: t, ...n }) => + k.jsx(Cj, { sx: t, ...n, children: e }), + Ij = p.tbody(({ theme: e, sx: t }) => ({ display: "table-row-group", width: "100%", borderCollapse: "collapse", borderSpacing: 0, ...t, })), - Pj = ({ children: e, sx: t, ...n }) => - k.jsx(Dj, { sx: t, ...n, children: e }), - jj = p.td(({ theme: e, sx: t }) => ({ + Rj = ({ children: e, sx: t, ...n }) => + k.jsx(Ij, { sx: t, ...n, children: e }), + kj = p.td(({ theme: e, sx: t }) => ({ fontFamily: "'Inter',sans-serif", fontWeight: 400, fontSize: 12, @@ -64809,18 +64704,18 @@ const wP = p.div(({ theme: e }) => ({ color: Oa(e, "secondaryText", j), ...t, })), - Bj = ({ children: e, sx: t, ...n }) => - k.jsx(jj, { sx: t, ...n, children: e }), - Fj = p.thead(({ theme: e, sx: t }) => ({ + Oj = ({ children: e, sx: t, ...n }) => + k.jsx(kj, { sx: t, ...n, children: e }), + Lj = p.thead(({ theme: e, sx: t }) => ({ display: "table-row-group", width: "100%", borderCollapse: "collapse", borderSpacing: 0, ...t, })), - Hj = ({ children: e, sx: t, ...n }) => - k.jsx(Fj, { sx: t, ...n, children: e }), - zj = p.th(({ theme: e, sx: t }) => ({ + Mj = ({ children: e, sx: t, ...n }) => + k.jsx(Lj, { sx: t, ...n, children: e }), + Dj = p.th(({ theme: e, sx: t }) => ({ fontFamily: "'Inter',sans-serif", fontSize: 12, lineHeight: 1.43, @@ -64833,9 +64728,9 @@ const wP = p.div(({ theme: e }) => ({ color: Oa(e, "secondaryText", j), ...t, })), - Uj = ({ children: e, sx: t, ...n }) => - k.jsx(zj, { sx: t, ...n, children: e }), - Gj = p.tr(({ theme: e, sx: t }) => ({ + Pj = ({ children: e, sx: t, ...n }) => + k.jsx(Dj, { sx: t, ...n, children: e }), + jj = p.tr(({ theme: e, sx: t }) => ({ color: "inherit", display: "table-row", verticalAlign: "middle", @@ -64846,19 +64741,19 @@ const wP = p.div(({ theme: e }) => ({ backgroundColor: Oa(e, "bgColor", O), ...t, })), - Vj = ({ children: e, sx: t, ...n }) => - k.jsx(Gj, { sx: t, ...n, children: e }); + Bj = ({ children: e, sx: t, ...n }) => + k.jsx(jj, { sx: t, ...n, children: e }); export { xl as AGPLV3DarkLogo, fl as AGPLV3LightLogo, bl as AGPLV3Logo, - ej as AccessMenuIcon, + qP as AccessMenuIcon, $l as AccessRuleIcon, - nI as Accordion, + KN as Accordion, uo as AccountIcon, - aj as AccountsMenuIcon, - BN as ActionLink, - gg as ActionsList, + XP as AccountsMenuIcon, + ON as ActionLink, + fg as ActionsList, po as AddAccessRuleIcon, $o as AddFolderIcon, Bo as AddIcon, @@ -64876,29 +64771,29 @@ export { nc as AttachFileIcon, Yl as AudioIcon, Kl as AudioIconMute, - zP as AuditLogsMenuIcon, + DP as AuditLogsMenuIcon, vc as AutoModeIcon, - iI as Autocomplete, + JN as Autocomplete, Ms as AzureTierIcon, _s as AzureTierIconXs, Us as BackCaretIcon, tl as BackIcon, - Km as BackLink, + Xm as BackLink, zo as BackSettingsIcon, - sI as Badge, - Am as Box, + tI as Badge, + Cm as Box, Ol as BoxArrowDown, kl as BoxArrowUp, - ug as Breadcrumbs, + pg as Breadcrumbs, Xo as BucketEncryptionIcon, eo as BucketQuotaIcon, Ns as BucketReplicationIcon, As as BucketsIcon, - oj as BucketsMenuIcon, + ej as BucketsMenuIcon, Ja as Button, Ds as CalendarIcon, Po as CallHomeFeatureIcon, - ij as CallHomeMenuIcon, + JP as CallHomeMenuIcon, Jl as CancelledAudioIcon, ll as CancelledIcon, Cl as CertificateIcon, @@ -64911,12 +64806,12 @@ export { Bi as ClosePanelIcon, Hl as CloudIcon, zi as ClustersIcon, - MN as CodeEditor, + NN as CodeEditor, rc as CodeIcon, wl as CollapseCaret, hs as CollapseIcon, ql as CollapseMenuIcon, - Gg as CommentBox, + Vg as CommentBox, ic as CompressIcon, rs as ComputerLineIcon, Wi as ConfigurationsListIcon, @@ -64933,14 +64828,14 @@ export { ws as CreateUserIcon, bc as DarkModeIcon, Hi as DashboardIcon, - qm as DataTable, - jP as DateTimeInput, - LP as DateTimeSelector, + Ym as DataTable, + kP as DateTimeInput, + CP as DateTimeSelector, no as DeleteIcon, nl as DeleteNonCurrentIcon, Jo as DiagnosticsFeatureIcon, yo as DiagnosticsIcon, - JP as DiagnosticsMenuIcon, + WP as DiagnosticsMenuIcon, zl as DisableIcon, xi as DisabledIcon, Qo as DocumentationIcon, @@ -64948,8 +64843,8 @@ export { ls as DownloadStatIcon, Mo as DriveFormatErrorsIcon, bo as DrivesIcon, - nj as DrivesMenuIcon, - kg as DropdownSelector, + KP as DrivesMenuIcon, + Og as DropdownSelector, Ii as EditIcon, cl as EditTagIcon, al as EditTenantIcon, @@ -64963,34 +64858,34 @@ export { Al as ExpandCaret, mc as ExpandIcon, yc as ExpandLeftCaret, - Tf as ExpandOptionsButton, + _f as ExpandOptionsButton, Sl as ExtraFeaturesIcon, - vj as FileBookIcon, - Rj as FileCloudIcon, - Tj as FileCodeIcon, - hj as FileConfigIcon, - yj as FileDbIcon, - gj as FileFontIcon, - bj as FileImageIcon, - fj as FileLinkIcon, - Aj as FileLockIcon, - xj as FileMissingIcon, - kj as FileMusicIcon, - Oj as FileNonType, - mj as FilePdfIcon, - _j as FilePptIcon, - WN as FileSelector, - Sj as FileTxtIcon, - wj as FileVideoIcon, - Ej as FileWorldIcon, - Cj as FileXlsIcon, - Nj as FileZipIcon, + hj as FileBookIcon, + Sj as FileCloudIcon, + gj as FileCodeIcon, + sj as FileConfigIcon, + bj as FileDbIcon, + cj as FileFontIcon, + uj as FileImageIcon, + dj as FileLinkIcon, + xj as FileLockIcon, + mj as FileMissingIcon, + wj as FileMusicIcon, + Aj as FileNonType, + lj as FilePdfIcon, + fj as FilePptIcon, + zN as FileSelector, + Ej as FileTxtIcon, + vj as FileVideoIcon, + pj as FileWorldIcon, + Tj as FileXlsIcon, + _j as FileZipIcon, Dl as FilterIcon, oc as FindReplaceIcon, sc as FirstAidIcon, - Ij as FolderBrowserIcon, + yj as FolderBrowserIcon, Pl as FolderIcon, - tg as FormLayout, + ng as FormLayout, Ul as FormatDriveIcon, Ti as FormatDrivesIcon, Xa as GlobalStyles, @@ -64998,27 +64893,27 @@ export { Fo as GoogleTierIconXs, Mr as Grid, ss as GroupsIcon, - ZP as GroupsMenuIcon, + FP as GroupsMenuIcon, Bs as HardBucketQuotaIcon, Ki as HealIcon, - UP as HealthMenuIcon, - Qm as HelpBox, + PP as HealthMenuIcon, + Jm as HelpBox, vo as HelpIcon, Ci as HelpIconFilled, Rc as HelpTip, Ss as HistoryIcon, qo as IAMPoliciesIcon, Bc as IconButton, - pj as IdentitiesMenuIcon, - qP as IdentityMenuIcon, + oj as IdentitiesMenuIcon, + UP as IdentityMenuIcon, pl as InfoIcon, - hI as InformativeMessage, - cg as InputBox, + sI as InformativeMessage, + dg as InputBox, Oc as InputLabel, - HP as InspectMenuIcon, + MP as InspectMenuIcon, Ri as JSONIcon, pc as KeyIcon, - lj as KeysMenuIcon, + nj as KeysMenuIcon, Tl as LDAPIcon, Ai as LambdaBalloonIcon, os as LambdaIcon, @@ -65029,7 +64924,7 @@ export { Uo as LicenseIcon, Lo as LifecycleConfigIcon, Ec as LightModeIcon, - FP as Link, + LP as Link, dl as LinkIcon, li as Loader, Ml as LockFilledIcon, @@ -65039,21 +64934,21 @@ export { Yr as LoginWrapper, Ts as LogoutIcon, js as LogsIcon, - YP as LogsMenuIcon, - og as MainContainer, - vf as Menu, - $P as MenuCollapsedIcon, - pf as MenuDivider, - GP as MenuExpandedIcon, - lf as MenuItem, - df as MenuSectionHeader, + GP as LogsMenuIcon, + sg as MainContainer, + xf as Menu, + HP as MenuCollapsedIcon, + hf as MenuDivider, + jP as MenuExpandedIcon, + cf as MenuItem, + uf as MenuSectionHeader, $s as MetadataIcon, - WP as MetricsMenuIcon, + zP as MetricsMenuIcon, wo as MinIOTierIcon, Fi as MinIOTierIconXs, Ui as MirroringIcon, - _g as ModalBox, - KP as MonitoringMenuIcon, + yg as ModalBox, + VP as MonitoringMenuIcon, Io as MultipleBucketsIcon, il as NetworkGetIcon, ol as NetworkPutIcon, @@ -65076,26 +64971,26 @@ export { No as OpenListIcon, Xs as OpenSourceIcon, hi as PageHeader, - ag as PageLayout, + rg as PageLayout, es as PasswordKeyIcon, dc as PendingItemsIcon, Zo as PerformanceFeatureIcon, - QP as PerformanceMenuIcon, + $P as PerformanceMenuIcon, lo as PermissionIcon, - uj as PoliciesMenuIcon, + ij as PoliciesMenuIcon, fc as PrevCaretIcon, Ji as PreviewIcon, - rj as ProfileMenuIcon, - ZN as ProgressBar, + QP as ProfileMenuIcon, + FN as ProgressBar, Oo as PrometheusErrorIcon, io as PrometheusIcon, uc as PublicIcon, - Bg as RadioGroup, - Hg as ReadBox, + Fg as RadioGroup, + zg as ReadBox, ks as RecoverIcon, Di as RedoIcon, Si as RefreshIcon, - tj as RegisterMenuIcon, + YP as RegisterMenuIcon, sl as RemoveAllIcon, Go as RemoveIcon, Gl as ReportIcon, @@ -65104,11 +64999,11 @@ export { qs as RetentionIcon, Xi as S3TierIcon, Wo as S3TierIconXs, - vg as ScreenTitle, + xg as ScreenTitle, ki as SearchIcon, - dj as SecretsMenuIcon, - eg as SectionTitle, - Mg as Select, + rj as SecretsMenuIcon, + tg as SectionTitle, + Dg as Select, el as SelectAllIcon, to as SelectMultipleIcon, Ql as SendMessageIcon, @@ -65119,26 +65014,26 @@ export { Os as SettingsIcon, Ni as ShareIcon, xc as ShuffleIcon, - bg as SimpleHeader, - YN as SizeChart, - QN as Snackbar, + Eg as SimpleHeader, + GN as SizeChart, + $N as Snackbar, _i as SpeedtestIcon, vl as StandardLightLogo, yl as StarIcon, - cj as StatusMenuIcon, + aj as StatusMenuIcon, yi as StorageIcon, rl as SuccessIcon, - XP as SupportMenuIcon, - Cg as Switch, + ZP as SupportMenuIcon, + Ng as Switch, xs as SyncIcon, - Mj as Table, - Pj as TableBody, - Bj as TableCell, - Hj as TableHead, - Uj as TableHeadCell, - Vj as TableRow, - Af as Tabs, - PN as Tag, + Nj as Table, + Rj as TableBody, + Oj as TableCell, + Mj as TableHead, + Pj as TableHeadCell, + Bj as TableRow, + Cf as Tabs, + RN as Tag, Ys as TagsIcon, fs as TenantsIcon, fo as TenantsOutlineIcon, @@ -65155,7 +65050,7 @@ export { Ei as Tooltip, ys as TotalObjectsIcon, jo as TraceIcon, - VP as TraceMenuIcon, + BP as TraceMenuIcon, ts as TrashIcon, Sc as TrashOffIcon, bs as UploadFile, @@ -65165,8 +65060,8 @@ export { ho as UptimeIcon, Ll as UserFilledIcon, Yo as UsersIcon, - sj as UsersMenuIcon, - HN as ValuePair, + tj as UsersMenuIcon, + MN as ValuePair, Do as VerifiedIcon, wi as VersionIcon, Gs as VersionsIcon, @@ -65178,8 +65073,8 @@ export { Ao as WarpIcon, qi as WatchIcon, hc as WebhookIcon, - uI as Wizard, - ym as actionsTypes, + iI as Wizard, + Sm as actionsTypes, E as breakPoints, T as calculateBytes, }; diff --git a/dist/esm/index.js.map b/dist/esm/index.js.map index 86f2f326..f7380ecb 100644 --- a/dist/esm/index.js.map +++ b/dist/esm/index.js.map @@ -1 +1 @@ -{"version":3,"file":"index.js","sources":["../../../../src/global/utils.ts","../../node_modules/react/cjs/react-jsx-runtime.development.js","../../node_modules/react/jsx-runtime.js","../../node_modules/react/cjs/react-jsx-runtime.production.min.js","../../../../src/global/themes.ts","../../../../src/components/ThemeHandler/ThemeHandler.tsx","../../node_modules/lodash/isArray.js","../../node_modules/lodash/_root.js","../../node_modules/lodash/_freeGlobal.js","../../node_modules/lodash/_Symbol.js","../../node_modules/lodash/_baseGetTag.js","../../node_modules/lodash/_getRawTag.js","../../node_modules/lodash/_objectToString.js","../../node_modules/lodash/isObjectLike.js","../../node_modules/lodash/isSymbol.js","../../node_modules/lodash/isObject.js","../../node_modules/lodash/_isMasked.js","../../node_modules/lodash/_coreJsData.js","../../node_modules/lodash/_baseIsNative.js","../../node_modules/lodash/isFunction.js","../../node_modules/lodash/_toSource.js","../../node_modules/lodash/_getNative.js","../../node_modules/lodash/_getValue.js","../../node_modules/lodash/_nativeCreate.js","../../node_modules/lodash/_Hash.js","../../node_modules/lodash/_hashClear.js","../../node_modules/lodash/_hashDelete.js","../../node_modules/lodash/_hashGet.js","../../node_modules/lodash/_hashHas.js","../../node_modules/lodash/_hashSet.js","../../node_modules/lodash/_assocIndexOf.js","../../node_modules/lodash/eq.js","../../node_modules/lodash/_ListCache.js","../../node_modules/lodash/_listCacheClear.js","../../node_modules/lodash/_listCacheDelete.js","../../node_modules/lodash/_listCacheGet.js","../../node_modules/lodash/_listCacheHas.js","../../node_modules/lodash/_listCacheSet.js","../../node_modules/lodash/_mapCacheClear.js","../../node_modules/lodash/_Map.js","../../node_modules/lodash/_getMapData.js","../../node_modules/lodash/_isKeyable.js","../../node_modules/lodash/_MapCache.js","../../node_modules/lodash/_mapCacheDelete.js","../../node_modules/lodash/_mapCacheGet.js","../../node_modules/lodash/_mapCacheHas.js","../../node_modules/lodash/_mapCacheSet.js","../../node_modules/lodash/_memoizeCapped.js","../../node_modules/lodash/memoize.js","../../node_modules/lodash/_baseToString.js","../../node_modules/lodash/_arrayMap.js","../../node_modules/lodash/_castPath.js","../../node_modules/lodash/_isKey.js","../../node_modules/lodash/_stringToPath.js","../../node_modules/lodash/toString.js","../../node_modules/lodash/_baseGet.js","../../node_modules/lodash/_toKey.js","../../node_modules/lodash/get.js","../../../../src/components/GlobalStyles/GlobalStyles.tsx","../../../../src/components/Button/Button.tsx","../../../../src/components/ApplicationLogo/Logos/LogoBase/LogoBase.tsx","../../../../src/components/ApplicationLogo/Logos/Console/ConsoleStandard.tsx","../../../../src/components/ApplicationLogo/Logos/Console/ConsoleAGPL.tsx","../../../../src/components/ApplicationLogo/Logos/Console/ConsoleEnterprise.tsx","../../../../src/components/ApplicationLogo/Logos/Operator/Operator.tsx","../../../../src/components/ApplicationLogo/Logos/DirectPV/DirectPV.tsx","../../../../src/components/ApplicationLogo/Logos/KES/KES.tsx","../../../../src/components/ApplicationLogo/Logos/SUBNET/SUBNET.tsx","../../../../src/components/ApplicationLogo/Logos/Console/ConsoleSingle.tsx","../../../../src/components/ApplicationLogo/Logos/SubnetOPS/SubnetOPS.tsx","../../../../src/components/ApplicationLogo/Logos/Cloud/Cloud.tsx","../../../../src/components/ApplicationLogo/Logos/Releases/Releases.tsx","../../../../src/components/ApplicationLogo/Logos/VMBroker/VMBroker.tsx","../../../../src/components/ApplicationLogo/Logos/Eureka/EurekaNew.tsx","../../../../src/components/ApplicationLogo/Logos/Eureka/Eureka.tsx","../../../../src/components/ApplicationLogo/Logos/KMS/KMS.tsx","../../../../src/components/ApplicationLogo/Logos/LoadBalancer/LoadBalancer.tsx","../../../../src/components/ApplicationLogo/Logos/IndexLogo/IndexLogo.tsx","../../../../src/components/ApplicationLogo/Logos/Cache/Cache.tsx","../../../../src/components/ApplicationLogo/Logos/Monitor/Monitor.tsx","../../../../src/components/ApplicationLogo/Logos/Observe/Observe.tsx","../../../../src/components/ApplicationLogo/Logos/MissionControl/MissionControl.tsx","../../../../src/components/ApplicationLogo/Logos/Console/GlobalConsole.tsx","../../../../src/components/ThemedLogo/ThemedLogo.tsx","../../../../src/components/ApplicationLogo/Logos/Enterprise/Enterprise.tsx","../../../../src/components/ApplicationLogo/Logos/MinIO/MinIOEnterprise.tsx","../../../../src/components/ApplicationLogo/Logos/MinIO/MinIOEnterpriseOS.tsx","../../../../src/components/ApplicationLogo/Logos/MinIO/MinIOEnterpriseOSVertical.tsx","../../../../src/components/ApplicationLogo/Logos/AIStor/AIStor.tsx","../../../../src/components/ApplicationLogo/Logos/AIStor/AIStorHorizontal.tsx","../../../../src/components/ApplicationLogo/Logos/AIStor/AIStorTag.tsx","../../../../src/components/ApplicationLogo/ApplicationLogo.tsx","../../../../src/components/Grid/Grid.tsx","../../node_modules/detect-gpu/dist/detect-gpu.esm.js","../../../../src/components/LoginWrapper/LoginWrapper.tsx","../../../../src/components/Loader/Loader.utils.ts","../../../../src/components/Loader/Loader.tsx","../../../../src/components/PageHeader/PageHeader.tsx","../../../../src/components/Tooltip/Tooltip.tsx","../../../../src/components/Icons/EditorThemeSwitchIcon.tsx","../../../../src/components/Icons/DisabledIcon.tsx","../../../../src/components/Icons/FormatDrivesIcon.tsx","../../../../src/components/Icons/SpeedtestIcon.tsx","../../../../src/components/Icons/StorageIcon.tsx","../../../../src/components/Icons/RefreshIcon.tsx","../../../../src/components/Icons/VersionIcon.tsx","../../../../src/components/Icons/LambdaBalloonIcon.tsx","../../../../src/components/Icons/HelpIconFilled.tsx","../../../../src/components/Icons/ShareIcon.tsx","../../../../src/components/Icons/EditIcon.tsx","../../../../src/components/Icons/JSONIcon.tsx","../../../../src/components/Icons/SearchIcon.tsx","../../../../src/components/Icons/WarnIcon.tsx","../../../../src/components/Icons/CircleIcon.tsx","../../../../src/components/Icons/ObjectBrowserFolderIcon.tsx","../../../../src/components/Icons/RedoIcon.tsx","../../../../src/components/Icons/ChangeAccessPolicyIcon.tsx","../../../../src/components/Icons/ServersIcon.tsx","../../../../src/components/Icons/ClosePanelIcon.tsx","../../../../src/components/Icons/MinIOTierIconXs.tsx","../../../../src/components/Icons/DashboardIcon.tsx","../../../../src/components/Icons/ClustersIcon.tsx","../../../../src/components/Icons/MirroringIcon.tsx","../../../../src/components/Icons/ToolsIcon.tsx","../../../../src/components/Icons/ArrowIcon.tsx","../../../../src/components/Icons/ServiceAccountIcon.tsx","../../../../src/components/Icons/OnlineRegistrationBackIcon.tsx","../../../../src/components/Icons/ConfigurationsListIcon.tsx","../../../../src/components/Icons/WatchIcon.tsx","../../../../src/components/Icons/ServiceAccountCredentialsIcon.tsx","../../../../src/components/Icons/HealIcon.tsx","../../../../src/components/Icons/S3TierIcon.tsx","../../../../src/components/Icons/ArrowRightIcon.tsx","../../../../src/components/Icons/PreviewIcon.tsx","../../../../src/components/Icons/BucketQuotaIcon.tsx","../../../../src/components/Icons/SelectMultipleIcon.tsx","../../../../src/components/Icons/DeleteIcon.tsx","../../../../src/components/Icons/EditYamlIcon.tsx","../../../../src/components/Icons/ReportedUsageIcon.tsx","../../../../src/components/Icons/PrometheusIcon.tsx","../../../../src/components/Icons/ConfirmModalIcon.tsx","../../../../src/components/Icons/NextArrowIcon.tsx","../../../../src/components/Icons/PermissionIcon.tsx","../../../../src/components/Icons/GoogleTierIcon.tsx","../../../../src/components/Icons/AccountIcon.tsx","../../../../src/components/Icons/AddAccessRuleIcon.tsx","../../../../src/components/Icons/UptimeIcon.tsx","../../../../src/components/Icons/EnabledIcon.tsx","../../../../src/components/Icons/ObjectPreviewIcon.tsx","../../../../src/components/Icons/TenantsOutlineIcon.tsx","../../../../src/components/Icons/DrivesIcon.tsx","../../../../src/components/Icons/CreateNewPathIcon.tsx","../../../../src/components/Icons/HelpIcon.tsx","../../../../src/components/Icons/ReportedUsageFullIcon.tsx","../../../../src/components/Icons/AddNewTagIcon.tsx","../../../../src/components/Icons/OnlineRegistrationIcon.tsx","../../../../src/components/Icons/DiagnosticsIcon.tsx","../../../../src/components/Icons/ObjectBrowser1Icon.tsx","../../../../src/components/Icons/MinIOTierIcon.tsx","../../../../src/components/Icons/WarpIcon.tsx","../../../../src/components/Icons/CopyIcon.tsx","../../../../src/components/Icons/OpenListIcon.tsx","../../../../src/components/Icons/MultipleBucketsIcon.tsx","../../../../src/components/Icons/AddMembersToGroupIcon.tsx","../../../../src/components/Icons/OfflineRegistrationBackIcon.tsx","../../../../src/components/Icons/PrometheusErrorIcon.tsx","../../../../src/components/Icons/LifecycleConfigIcon.tsx","../../../../src/components/Icons/DriveFormatErrorsIcon.tsx","../../../../src/components/Icons/VerifiedIcon.tsx","../../../../src/components/Icons/CallHomeFeatureIcon.tsx","../../../../src/components/Icons/TraceIcon.tsx","../../../../src/components/Icons/AddIcon.tsx","../../../../src/components/Icons/GoogleTierIconXs.tsx","../../../../src/components/Icons/LambdaNotificationsIcon.tsx","../../../../src/components/Icons/BackSettingsIcon.tsx","../../../../src/components/Icons/LicenseIcon.tsx","../../../../src/components/Icons/RemoveIcon.tsx","../../../../src/components/Icons/TiersNotAvailableIcon.tsx","../../../../src/components/Icons/PerformanceFeatureIcon.tsx","../../../../src/components/Icons/AddFolderIcon.tsx","../../../../src/components/Icons/S3TierIconXs.tsx","../../../../src/components/Icons/IAMPoliciesIcon.tsx","../../../../src/components/Icons/UsersIcon.tsx","../../../../src/components/Icons/EgressIcon.tsx","../../../../src/components/Icons/BucketEncryptionIcon.tsx","../../../../src/components/Icons/DocumentationIcon.tsx","../../../../src/components/Icons/DiagnosticsFeatureIcon.tsx","../../../../src/components/Icons/PasswordKeyIcon.tsx","../../../../src/components/Icons/TrashIcon.tsx","../../../../src/components/Icons/EventSubscriptionIcon.tsx","../../../../src/components/Icons/DownloadIcon.tsx","../../../../src/components/Icons/ComputerLineIcon.tsx","../../../../src/components/Icons/AllBucketsIcon.tsx","../../../../src/components/Icons/LambdaIcon.tsx","../../../../src/components/Icons/GroupsIcon.tsx","../../../../src/components/Icons/DownloadStatIcon.tsx","../../../../src/components/Icons/UploadFolderIcon.tsx","../../../../src/components/Icons/TiersIcon.tsx","../../../../src/components/Icons/NewAccountIcon.tsx","../../../../src/components/Icons/CreateGroupIcon.tsx","../../../../src/components/Icons/CollapseIcon.tsx","../../../../src/components/Icons/ConfirmDeleteIcon.tsx","../../../../src/components/Icons/OfflineRegistrationIcon.tsx","../../../../src/components/Icons/TenantsIcon.tsx","../../../../src/components/Icons/UploadFile.tsx","../../../../src/components/Icons/CreateIcon.tsx","../../../../src/components/Icons/NewPoolIcon.tsx","../../../../src/components/Icons/SyncIcon.tsx","../../../../src/components/Icons/LogoutIcon.tsx","../../../../src/components/Icons/AzureTierIconXs.tsx","../../../../src/components/Icons/TotalObjectsIcon.tsx","../../../../src/components/Icons/HistoryIcon.tsx","../../../../src/components/Icons/CreateUserIcon.tsx","../../../../src/components/Icons/BucketsIcon.tsx","../../../../src/components/Icons/UploadStatIcon.tsx","../../../../src/components/Icons/BucketReplicationIcon.tsx","../../../../src/components/Icons/ObjectManagerIcon.tsx","../../../../src/components/Icons/ObjectBrowserIcon.tsx","../../../../src/components/Icons/RecoverIcon.tsx","../../../../src/components/Icons/SettingsIcon.tsx","../../../../src/components/Icons/UploadIcon.tsx","../../../../src/components/Icons/AzureTierIcon.tsx","../../../../src/components/Icons/CalendarIcon.tsx","../../../../src/components/Icons/ServiceAccountsIcon.tsx","../../../../src/components/Icons/LogsIcon.tsx","../../../../src/components/Icons/HardBucketQuotaIcon.tsx","../../../../src/components/Icons/ConsoleIcon.tsx","../../../../src/components/Icons/ChangePasswordIcon.tsx","../../../../src/components/Icons/LockIcon.tsx","../../../../src/components/Icons/BackCaretIcon.tsx","../../../../src/components/Icons/VersionsIcon.tsx","../../../../src/components/Icons/NewPathIcon.tsx","../../../../src/components/Icons/ObjectInfoIcon.tsx","../../../../src/components/Icons/MetadataIcon.tsx","../../../../src/components/Icons/LegalHoldIcon.tsx","../../../../src/components/Icons/RetentionIcon.tsx","../../../../src/components/Icons/TagsIcon.tsx","../../../../src/components/Icons/AlertCloseIcon.tsx","../../../../src/components/Icons/OpenSourceIcon.tsx","../../../../src/components/Icons/ArrowRightLink.tsx","../../../../src/components/Icons/LicenseDocIcon.tsx","../../../../src/components/Icons/SelectAllIcon.tsx","../../../../src/components/Icons/BackIcon.tsx","../../../../src/components/Icons/DeleteNonCurrentIcon.tsx","../../../../src/components/Icons/EditTenantIcon.tsx","../../../../src/components/Icons/SuccessIcon.tsx","../../../../src/components/Icons/NetworkGetIcon.tsx","../../../../src/components/Icons/NetworkPutIcon.tsx","../../../../src/components/Icons/RemoveAllIcon.tsx","../../../../src/components/Icons/CancelledIcon.tsx","../../../../src/components/Icons/EditTagIcon.tsx","../../../../src/components/Icons/LinkIcon.tsx","../../../../src/components/Icons/AlertIcon.tsx","../../../../src/components/Icons/InfoIcon.tsx","../../../../src/components/Icons/ConsoleAgpl.tsx","../../../../src/components/Icons/ConsoleStandard.tsx","../../../../src/components/Icons/ConsoleEnterprise.tsx","../../../../src/components/Icons/AGPLV3LightLogo.tsx","../../../../src/components/Icons/AGPLV3Logo.tsx","../../../../src/components/Icons/EnterpriseLightLogo.tsx","../../../../src/components/Icons/StandardLightLogo.tsx","../../../../src/components/Icons/AGPLV3DarkLogo.tsx","../../../../src/components/Icons/LDAPIcon.tsx","../../../../src/components/Icons/OIDCIcon.tsx","../../../../src/components/Icons/StarIcon.tsx","../../../../src/components/Icons/ExtraFeaturesIcon.tsx","../../../../src/components/Icons/CollapseCaret.tsx","../../../../src/components/Icons/ExpandCaret.tsx","../../../../src/components/Icons/CertificateIcon.tsx","../../../../src/components/Icons/TierOnlineIcon.tsx","../../../../src/components/Icons/TierOfflineIcon.tsx","../../../../src/components/Icons/WarnFilledIcon.tsx","../../../../src/components/Icons/BoxArrowUp.tsx","../../../../src/components/Icons/BoxArrowDown.tsx","../../../../src/components/Icons/UserFilledIcon.tsx","../../../../src/components/Icons/LockFilledIcon.tsx","../../../../src/components/Icons/FilterIcon.tsx","../../../../src/components/Icons/FolderIcon.tsx","../../../../src/components/Icons/ViewColumnIcon.tsx","../../../../src/components/Icons/ArrowDropUp.tsx","../../../../src/components/Icons/ArrowDropDown.tsx","../../../../src/components/Icons/CloudIcon.tsx","../../../../src/components/Icons/DisableIcon.tsx","../../../../src/components/Icons/FormatDriveIcon.tsx","../../../../src/components/Icons/ReportIcon.tsx","../../../../src/components/Icons/VisibilityOnIcon.tsx","../../../../src/components/Icons/VisibilityOffIcon.tsx","../../../../src/components/Icons/AccessRuleIcon.tsx","../../../../src/components/Icons/TimeIcon.tsx","../../../../src/components/Icons/CollapseMenuIcon.tsx","../../../../src/components/Icons/AudioIcon.tsx","../../../../src/components/Icons/AudioIconMute.tsx","../../../../src/components/Icons/ChatIcon.tsx","../../../../src/components/Icons/SendMessageIcon.tsx","../../../../src/components/Icons/CancelledAudioIcon.tsx","../../../../src/components/Icons/ThumbsUpIcon.tsx","../../../../src/components/Icons/ThumbsDownIcon.tsx","../../../../src/components/Icons/AttachFileIcon.tsx","../../../../src/components/Icons/CheckCircleIcon.tsx","../../../../src/components/Icons/CodeIcon.tsx","../../../../src/components/Icons/CompressIcon.tsx","../../../../src/components/Icons/FindReplaceIcon.tsx","../../../../src/components/Icons/FirstAidIcon.tsx","../../../../src/components/Icons/LockOpenIcon.tsx","../../../../src/components/Icons/LoginIcon.tsx","../../../../src/components/Icons/PendingItemsIcon.tsx","../../../../src/components/Icons/PublicIcon.tsx","../../../../src/components/Icons/KeyIcon.tsx","../../../../src/components/Icons/WebhookIcon.tsx","../../../../src/components/Icons/ExpandIcon.tsx","../../../../src/components/Icons/NextCaretIcon.tsx","../../../../src/components/Icons/PrevCaretIcon.tsx","../../../../src/components/Icons/DarkModeIcon.tsx","../../../../src/components/Icons/LightModeIcon.tsx","../../../../src/components/Icons/AutoModeIcon.tsx","../../../../src/components/Icons/ShuffleIcon.tsx","../../../../src/components/Icons/LanguageIcon.tsx","../../../../src/components/Icons/EventBusyIcon.tsx","../../../../src/components/Icons/ExpandLeftCaret.tsx","../../../../src/components/Icons/TrashOffIcon.tsx","../../../../src/components/HelpTip/HelpTip.tsx","../../../../src/components/InputLabel/InputLabel.tsx","../../../../src/global/FieldContainer.tsx","../../../../src/components/Checkbox/Checkbox.tsx","../../../../src/components/IconButton/IconButton.tsx","../../node_modules/react-virtualized/node_modules/@babel/runtime/helpers/classCallCheck.js","../../node_modules/react-virtualized/node_modules/@babel/runtime/helpers/typeof.js","../../node_modules/react-virtualized/node_modules/@babel/runtime/helpers/toPrimitive.js","../../node_modules/react-virtualized/node_modules/@babel/runtime/helpers/toPropertyKey.js","../../node_modules/react-virtualized/node_modules/@babel/runtime/helpers/createClass.js","../../node_modules/react-virtualized/node_modules/@babel/runtime/helpers/assertThisInitialized.js","../../node_modules/react-virtualized/node_modules/@babel/runtime/helpers/possibleConstructorReturn.js","../../node_modules/react-virtualized/node_modules/@babel/runtime/helpers/getPrototypeOf.js","../../node_modules/react-virtualized/node_modules/@babel/runtime/helpers/setPrototypeOf.js","../../node_modules/react-virtualized/node_modules/@babel/runtime/helpers/inherits.js","../../node_modules/react-virtualized/node_modules/@babel/runtime/helpers/defineProperty.js","../../node_modules/react-lifecycles-compat/react-lifecycles-compat.cjs.js","../../node_modules/react-virtualized/dist/es/ArrowKeyStepper/ArrowKeyStepper.js","../../node_modules/react-virtualized/dist/es/vendor/detectElementResize.js","../../node_modules/react-virtualized/dist/es/AutoSizer/AutoSizer.js","../../node_modules/react-virtualized/dist/es/CellMeasurer/CellMeasurer.js","../../node_modules/react-virtualized/node_modules/@babel/runtime/helpers/objectDestructuringEmpty.js","../../node_modules/react-virtualized/node_modules/@babel/runtime/helpers/extends.js","../../node_modules/react-is/index.js","../../node_modules/react-is/cjs/react-is.production.min.js","../../node_modules/react-is/cjs/react-is.development.js","../../node_modules/object-assign/index.js","../../node_modules/prop-types/lib/ReactPropTypesSecret.js","../../node_modules/prop-types/lib/has.js","../../node_modules/prop-types/factoryWithTypeCheckers.js","../../node_modules/prop-types/checkPropTypes.js","../../node_modules/prop-types/index.js","../../node_modules/prop-types/factoryWithThrowingShims.js","../../node_modules/react-virtualized/node_modules/clsx/dist/clsx.m.js","../../node_modules/react-virtualized/dist/es/utils/createCallbackMemoizer.js","../../node_modules/dom-helpers/esm/canUseDOM.js","../../node_modules/dom-helpers/esm/scrollbarSize.js","../../node_modules/react-virtualized/dist/es/Collection/CollectionView.js","../../node_modules/react-virtualized/dist/es/Collection/Section.js","../../node_modules/react-virtualized/dist/es/Collection/SectionManager.js","../../node_modules/react-virtualized/dist/es/utils/getUpdatedOffsetForIndex.js","../../node_modules/react-virtualized/dist/es/Collection/Collection.js","../../node_modules/react-virtualized/dist/es/Collection/utils/calculateSizeAndPositionData.js","../../node_modules/react-virtualized/dist/es/ColumnSizer/ColumnSizer.js","../../node_modules/react-virtualized/dist/es/Grid/utils/calculateSizeAndPositionDataAndUpdateScrollOffset.js","../../node_modules/react-virtualized/dist/es/utils/animationFrame.js","../../node_modules/react-virtualized/node_modules/@babel/runtime/helpers/objectWithoutProperties.js","../../node_modules/react-virtualized/node_modules/@babel/runtime/helpers/objectWithoutPropertiesLoose.js","../../node_modules/react-virtualized/dist/es/Grid/utils/CellSizeAndPositionManager.js","../../node_modules/react-virtualized/dist/es/Grid/utils/maxElementSize.js","../../node_modules/react-virtualized/dist/es/Grid/utils/ScalingCellSizeAndPositionManager.js","../../node_modules/react-virtualized/dist/es/Grid/utils/updateScrollIndexHelper.js","../../node_modules/react-virtualized/dist/es/Grid/defaultCellRangeRenderer.js","../../node_modules/react-virtualized/dist/es/utils/requestAnimationTimeout.js","../../node_modules/react-virtualized/dist/es/Grid/Grid.js","../../node_modules/react-virtualized/dist/es/Grid/defaultOverscanIndicesGetter.js","../../node_modules/react-virtualized/dist/es/Grid/accessibilityOverscanIndicesGetter.js","../../node_modules/react-virtualized/node_modules/@babel/runtime/helpers/arrayLikeToArray.js","../../node_modules/react-virtualized/node_modules/@babel/runtime/helpers/arrayWithoutHoles.js","../../node_modules/react-virtualized/node_modules/@babel/runtime/helpers/iterableToArray.js","../../node_modules/react-virtualized/node_modules/@babel/runtime/helpers/unsupportedIterableToArray.js","../../node_modules/react-virtualized/node_modules/@babel/runtime/helpers/nonIterableSpread.js","../../node_modules/react-virtualized/node_modules/@babel/runtime/helpers/toConsumableArray.js","../../node_modules/react-virtualized/dist/es/InfiniteLoader/InfiniteLoader.js","../../node_modules/react-virtualized/dist/es/List/List.js","../../node_modules/react-virtualized/node_modules/@babel/runtime/helpers/arrayWithHoles.js","../../node_modules/react-virtualized/node_modules/@babel/runtime/helpers/iterableToArrayLimit.js","../../node_modules/react-virtualized/node_modules/@babel/runtime/helpers/nonIterableRest.js","../../node_modules/react-virtualized/node_modules/@babel/runtime/helpers/slicedToArray.js","../../node_modules/react-virtualized/dist/es/vendor/binarySearchBounds.js","../../node_modules/react-virtualized/dist/es/vendor/intervalTree.js","../../node_modules/react-virtualized/dist/es/Masonry/PositionCache.js","../../node_modules/react-virtualized/dist/es/Masonry/Masonry.js","../../node_modules/react-virtualized/dist/es/MultiGrid/CellMeasurerCacheDecorator.js","../../node_modules/react-virtualized/dist/es/MultiGrid/MultiGrid.js","../../node_modules/react-virtualized/dist/es/ScrollSync/ScrollSync.js","../../node_modules/react-virtualized/dist/es/Table/SortDirection.js","../../node_modules/react-virtualized/dist/es/Table/SortIndicator.js","../../node_modules/react-virtualized/dist/es/Table/Column.js","../../node_modules/react-virtualized/dist/es/Table/Table.js","../../node_modules/react-virtualized/dist/es/Table/defaultCellDataGetter.js","../../node_modules/react-virtualized/dist/es/Table/defaultCellRenderer.js","../../node_modules/react-virtualized/dist/es/Table/defaultHeaderRenderer.js","../../node_modules/react-virtualized/dist/es/Table/defaultRowRenderer.js","../../node_modules/react-virtualized/dist/es/Table/defaultHeaderRowRenderer.js","../../node_modules/react-virtualized/dist/es/WindowScroller/utils/onScroll.js","../../node_modules/react-virtualized/dist/es/WindowScroller/utils/dimensions.js","../../node_modules/react-virtualized/dist/es/WindowScroller/WindowScroller.js","../../node_modules/lodash/isString.js","../../node_modules/lodash/_getPrototype.js","../../node_modules/lodash/_overArg.js","../../node_modules/lodash/isPlainObject.js","../../../../src/components/DataTable/DataTable.types.ts","../../../../src/components/DataTable/TableActionButton.tsx","../../../../src/components/Box/Box.tsx","../../../../src/components/DataTable/DataTable.utils.tsx","../../node_modules/lodash/_baseTrim.js","../../node_modules/lodash/_trimmedEndIndex.js","../../node_modules/lodash/debounce.js","../../node_modules/lodash/now.js","../../node_modules/lodash/toNumber.js","../../../../src/global/SelectorContainer.tsx","../../../../src/components/DataTable/ColumnsSelector.tsx","../../../../src/components/DataTable/DataTable.tsx","../../../../src/components/BackLink/BackLink.tsx","../../../../src/components/HelpBox/HelpBox.tsx","../../../../src/components/SectionTitle/SectionTitle.tsx","../../../../src/components/FormLayout/FormLayout.tsx","../../../../src/components/PageLayout/PageLayout.tsx","../../../../src/components/MainContainer/MainContainer.tsx","../../../../src/components/InputBox/InputBox.tsx","../../../../src/components/Breadcrumbs/Breadcrumbs.tsx","../../../../src/components/ActionsList/ObjectActionButton.tsx","../../../../src/components/ActionsList/ActionsList.tsx","../../../../src/components/SimpleHeader/SimpleHeader.tsx","../../../../src/components/ScreenTitle/ScreenTitle.tsx","../../../../src/global/hooks.ts","../../../../src/components/ModalBox/ModalBox.tsx","../../../../src/components/Switch/Switch.tsx","../../../../src/components/DropdownSelector/DropdownSelector.tsx","../../../../src/components/Select/Select.tsx","../../../../src/components/RadioGroup/RadioGroup.tsx","../../../../src/components/ReadBox/ReadBox.tsx","../../../../src/components/CommentBox/CommentBox.tsx","../../../../src/components/Menu/Horizontal/SubItemsBox.tsx","../../../../src/components/Menu/Horizontal/HorizontalMenuItem.tsx","../../../../src/components/Menu/Horizontal/HorizontalMenu.tsx","../../../../src/components/Menu/Vertical/MenuItem.tsx","../../../../src/components/Menu/Vertical/MenuSectionHeader.tsx","../../../../src/components/Menu/Common/MenuDivider.tsx","../../../../src/components/Menu/Vertical/VerticalMenu.tsx","../../../../src/components/Menu/MobileMenu/MobileMenuList.tsx","../../../../src/components/Menu/MobileMenu/MobileMenu.tsx","../../../../src/components/Menu/Menu.tsx","../../../../src/components/ExpandOptionsButton/ExpandOptionsButton.tsx","../../../../src/components/Tabs/TabPanel.tsx","../../../../src/components/Tabs/TabButton.tsx","../../../../src/components/Tabs/Tabs.tsx","../../node_modules/@uiw/react-textarea-code-editor/node_modules/@babel/runtime/helpers/extends.js","../../node_modules/@uiw/react-textarea-code-editor/node_modules/@babel/runtime/helpers/objectWithoutPropertiesLoose.js","../../node_modules/property-information/lib/util/schema.js","../../node_modules/property-information/lib/util/merge.js","../../node_modules/property-information/lib/normalize.js","../../node_modules/property-information/lib/util/info.js","../../node_modules/property-information/lib/util/types.js","../../node_modules/property-information/lib/util/defined-info.js","../../node_modules/property-information/lib/util/create.js","../../node_modules/property-information/lib/xlink.js","../../node_modules/property-information/lib/xml.js","../../node_modules/property-information/lib/util/case-sensitive-transform.js","../../node_modules/property-information/lib/util/case-insensitive-transform.js","../../node_modules/property-information/lib/xmlns.js","../../node_modules/property-information/lib/aria.js","../../node_modules/property-information/lib/html.js","../../node_modules/property-information/lib/svg.js","../../node_modules/property-information/lib/find.js","../../node_modules/property-information/index.js","../../node_modules/comma-separated-tokens/index.js","../../node_modules/hast-util-parse-selector/lib/index.js","../../node_modules/space-separated-tokens/index.js","../../node_modules/hastscript/lib/create-h.js","../../node_modules/hastscript/lib/svg-case-sensitive-tag-names.js","../../node_modules/hastscript/lib/index.js","../../node_modules/vfile-location/lib/index.js","../../node_modules/web-namespaces/index.js","../../node_modules/hast-util-from-parse5/lib/index.js","../../node_modules/parse5/dist/common/unicode.js","../../node_modules/parse5/dist/common/error-codes.js","../../node_modules/parse5/dist/tokenizer/preprocessor.js","../../node_modules/parse5/dist/common/token.js","../../node_modules/parse5/node_modules/entities/lib/esm/generated/decode-data-html.js","../../node_modules/parse5/node_modules/entities/lib/esm/decode_codepoint.js","../../node_modules/parse5/node_modules/entities/lib/esm/generated/decode-data-xml.js","../../node_modules/parse5/node_modules/entities/lib/esm/decode.js","../../node_modules/parse5/dist/common/html.js","../../node_modules/parse5/dist/tokenizer/index.js","../../node_modules/parse5/dist/parser/open-element-stack.js","../../node_modules/parse5/dist/parser/formatting-element-list.js","../../node_modules/parse5/dist/tree-adapters/default.js","../../node_modules/parse5/dist/common/doctype.js","../../node_modules/parse5/dist/common/foreign-content.js","../../node_modules/parse5/dist/parser/index.js","../../node_modules/parse5/dist/index.js","../../node_modules/unist-util-stringify-position/lib/index.js","../../node_modules/parse5/dist/serializer/index.js","../../node_modules/vfile-message/lib/index.js","../../node_modules/vfile/lib/minpath.browser.js","../../node_modules/vfile/lib/minproc.browser.js","../../node_modules/vfile/lib/minurl.shared.js","../../node_modules/vfile/lib/minurl.browser.js","../../node_modules/vfile/lib/index.js","../../node_modules/hast-util-from-html/lib/errors.js","../../node_modules/hast-util-from-html/lib/index.js","../../node_modules/html-void-elements/index.js","../../node_modules/zwitch/index.js","../../node_modules/stringify-entities/lib/core.js","../../node_modules/stringify-entities/lib/util/to-hexadecimal.js","../../node_modules/stringify-entities/lib/util/to-decimal.js","../../node_modules/character-entities-legacy/index.js","../../node_modules/character-entities-html4/index.js","../../node_modules/stringify-entities/lib/constant/dangerous.js","../../node_modules/stringify-entities/lib/util/to-named.js","../../node_modules/stringify-entities/lib/util/format-smart.js","../../node_modules/stringify-entities/lib/index.js","../../node_modules/hast-util-to-html/lib/handle/comment.js","../../node_modules/ccount/index.js","../../node_modules/hast-util-whitespace/lib/index.js","../../node_modules/hast-util-to-html/lib/omission/util/siblings.js","../../node_modules/hast-util-to-html/lib/omission/omission.js","../../node_modules/hast-util-to-html/lib/omission/closing.js","../../node_modules/hast-util-to-html/lib/omission/opening.js","../../node_modules/hast-util-to-html/lib/handle/element.js","../../node_modules/hast-util-to-html/lib/handle/text.js","../../node_modules/hast-util-to-html/lib/handle/index.js","../../node_modules/hast-util-to-html/lib/handle/doctype.js","../../node_modules/hast-util-to-html/lib/handle/raw.js","../../node_modules/hast-util-to-html/lib/handle/root.js","../../node_modules/hast-util-to-html/lib/index.js","../../node_modules/bail/index.js","../../node_modules/extend/index.js","../../node_modules/is-plain-obj/index.js","../../node_modules/trough/lib/index.js","../../node_modules/unified/lib/callable-instance.js","../../node_modules/unified/lib/index.js","../../node_modules/rehype/index.js","../../node_modules/rehype-parse/lib/index.js","../../node_modules/rehype-stringify/lib/index.js","../../node_modules/@uiw/react-textarea-code-editor/esm/utils.js","../../node_modules/@uiw/react-textarea-code-editor/esm/SelectionText.js","../../node_modules/@uiw/react-textarea-code-editor/esm/styles.js","../../node_modules/@uiw/react-textarea-code-editor/esm/Editor.js","../../node_modules/@uiw/react-textarea-code-editor/esm/shortcuts.js","../../node_modules/unist-util-is/lib/index.js","../../node_modules/unist-util-visit-parents/lib/index.js","../../node_modules/hast-util-to-string/lib/index.js","../../node_modules/unist-util-filter/lib/index.js","../../node_modules/parse-numeric-range/index.js","../../node_modules/refractor/lang/clike.js","../../node_modules/refractor/lang/c.js","../../node_modules/refractor/lang/cpp.js","../../node_modules/refractor/lang/arduino.js","../../node_modules/refractor/lang/bash.js","../../node_modules/refractor/lang/csharp.js","../../node_modules/refractor/lang/markup.js","../../node_modules/refractor/lang/css.js","../../node_modules/refractor/lang/diff.js","../../node_modules/refractor/lang/go.js","../../node_modules/refractor/lang/ini.js","../../node_modules/refractor/lang/java.js","../../node_modules/refractor/lang/regex.js","../../node_modules/refractor/lang/javascript.js","../../node_modules/refractor/lang/json.js","../../node_modules/refractor/lang/kotlin.js","../../node_modules/refractor/lang/less.js","../../node_modules/refractor/lang/lua.js","../../node_modules/refractor/lang/makefile.js","../../node_modules/refractor/lang/yaml.js","../../node_modules/refractor/lang/markdown.js","../../node_modules/refractor/lang/objectivec.js","../../node_modules/refractor/lang/perl.js","../../node_modules/refractor/lang/markup-templating.js","../../node_modules/refractor/lang/php.js","../../node_modules/refractor/lang/python.js","../../node_modules/refractor/lang/r.js","../../node_modules/refractor/lang/ruby.js","../../node_modules/refractor/lang/rust.js","../../node_modules/refractor/lang/sass.js","../../node_modules/refractor/lang/scss.js","../../node_modules/refractor/lang/sql.js","../../node_modules/refractor/lang/swift.js","../../node_modules/refractor/lang/typescript.js","../../node_modules/refractor/lang/basic.js","../../node_modules/refractor/lang/vbnet.js","../../node_modules/refractor/node_modules/hast-util-parse-selector/lib/index.js","../../node_modules/refractor/node_modules/hastscript/lib/core.js","../../node_modules/refractor/node_modules/hastscript/lib/html.js","../../node_modules/character-reference-invalid/index.js","../../node_modules/is-decimal/index.js","../../node_modules/is-hexadecimal/index.js","../../node_modules/is-alphanumerical/index.js","../../node_modules/is-alphabetical/index.js","../../node_modules/decode-named-character-reference/index.dom.js","../../node_modules/parse-entities/lib/index.js","../../node_modules/refractor/lib/prism-core.js","../../node_modules/refractor/lib/core.js","../../node_modules/refractor/lang/abap.js","../../node_modules/refractor/lang/abnf.js","../../node_modules/refractor/lang/actionscript.js","../../node_modules/refractor/lang/ada.js","../../node_modules/refractor/lang/agda.js","../../node_modules/refractor/lang/al.js","../../node_modules/refractor/lang/antlr4.js","../../node_modules/refractor/lang/apacheconf.js","../../node_modules/refractor/lang/apex.js","../../node_modules/refractor/lang/apl.js","../../node_modules/refractor/lang/applescript.js","../../node_modules/refractor/lang/aql.js","../../node_modules/refractor/lang/arff.js","../../node_modules/refractor/lang/armasm.js","../../node_modules/refractor/lang/arturo.js","../../node_modules/refractor/lang/asciidoc.js","../../node_modules/refractor/lang/aspnet.js","../../node_modules/refractor/lang/asm6502.js","../../node_modules/refractor/lang/asmatmel.js","../../node_modules/refractor/lang/autohotkey.js","../../node_modules/refractor/lang/autoit.js","../../node_modules/refractor/lang/avisynth.js","../../node_modules/refractor/lang/avro-idl.js","../../node_modules/refractor/lang/awk.js","../../node_modules/refractor/lang/batch.js","../../node_modules/refractor/lang/bbcode.js","../../node_modules/refractor/lang/bbj.js","../../node_modules/refractor/lang/bicep.js","../../node_modules/refractor/lang/birb.js","../../node_modules/refractor/lang/bison.js","../../node_modules/refractor/lang/bnf.js","../../node_modules/refractor/lang/bqn.js","../../node_modules/refractor/lang/brainfuck.js","../../node_modules/refractor/lang/brightscript.js","../../node_modules/refractor/lang/bro.js","../../node_modules/refractor/lang/bsl.js","../../node_modules/refractor/lang/cfscript.js","../../node_modules/refractor/lang/chaiscript.js","../../node_modules/refractor/lang/cil.js","../../node_modules/refractor/lang/cilkc.js","../../node_modules/refractor/lang/cilkcpp.js","../../node_modules/refractor/lang/clojure.js","../../node_modules/refractor/lang/cmake.js","../../node_modules/refractor/lang/cobol.js","../../node_modules/refractor/lang/coffeescript.js","../../node_modules/refractor/lang/concurnas.js","../../node_modules/refractor/lang/csp.js","../../node_modules/refractor/lang/cooklang.js","../../node_modules/refractor/lang/coq.js","../../node_modules/refractor/lang/crystal.js","../../node_modules/refractor/lang/css-extras.js","../../node_modules/refractor/lang/csv.js","../../node_modules/refractor/lang/cue.js","../../node_modules/refractor/lang/cypher.js","../../node_modules/refractor/lang/d.js","../../node_modules/refractor/lang/dart.js","../../node_modules/refractor/lang/dataweave.js","../../node_modules/refractor/lang/dax.js","../../node_modules/refractor/lang/dhall.js","../../node_modules/refractor/lang/django.js","../../node_modules/refractor/lang/dns-zone-file.js","../../node_modules/refractor/lang/docker.js","../../node_modules/refractor/lang/dot.js","../../node_modules/refractor/lang/ebnf.js","../../node_modules/refractor/lang/editorconfig.js","../../node_modules/refractor/lang/eiffel.js","../../node_modules/refractor/lang/ejs.js","../../node_modules/refractor/lang/elixir.js","../../node_modules/refractor/lang/elm.js","../../node_modules/refractor/lang/etlua.js","../../node_modules/refractor/lang/erb.js","../../node_modules/refractor/lang/erlang.js","../../node_modules/refractor/lang/excel-formula.js","../../node_modules/refractor/lang/fsharp.js","../../node_modules/refractor/lang/factor.js","../../node_modules/refractor/lang/false.js","../../node_modules/refractor/lang/firestore-security-rules.js","../../node_modules/refractor/lang/flow.js","../../node_modules/refractor/lang/fortran.js","../../node_modules/refractor/lang/ftl.js","../../node_modules/refractor/lang/gml.js","../../node_modules/refractor/lang/gap.js","../../node_modules/refractor/lang/gcode.js","../../node_modules/refractor/lang/gdscript.js","../../node_modules/refractor/lang/gedcom.js","../../node_modules/refractor/lang/gettext.js","../../node_modules/refractor/lang/gherkin.js","../../node_modules/refractor/lang/git.js","../../node_modules/refractor/lang/glsl.js","../../node_modules/refractor/lang/gn.js","../../node_modules/refractor/lang/linker-script.js","../../node_modules/refractor/lang/go-module.js","../../node_modules/refractor/lang/gradle.js","../../node_modules/refractor/lang/graphql.js","../../node_modules/refractor/lang/groovy.js","../../node_modules/refractor/lang/textile.js","../../node_modules/refractor/lang/haml.js","../../node_modules/refractor/lang/handlebars.js","../../node_modules/refractor/lang/haskell.js","../../node_modules/refractor/lang/haxe.js","../../node_modules/refractor/lang/hcl.js","../../node_modules/refractor/lang/hlsl.js","../../node_modules/refractor/lang/hoon.js","../../node_modules/refractor/lang/hpkp.js","../../node_modules/refractor/lang/hsts.js","../../node_modules/refractor/lang/uri.js","../../node_modules/refractor/lang/http.js","../../node_modules/refractor/lang/ichigojam.js","../../node_modules/refractor/lang/icon.js","../../node_modules/refractor/lang/icu-message-format.js","../../node_modules/refractor/lang/idris.js","../../node_modules/refractor/lang/ignore.js","../../node_modules/refractor/lang/inform7.js","../../node_modules/refractor/lang/io.js","../../node_modules/refractor/lang/j.js","../../node_modules/refractor/lang/javadoclike.js","../../node_modules/refractor/lang/scala.js","../../node_modules/refractor/lang/javadoc.js","../../node_modules/refractor/lang/javastacktrace.js","../../node_modules/refractor/lang/jexl.js","../../node_modules/refractor/lang/jolie.js","../../node_modules/refractor/lang/jq.js","../../node_modules/refractor/lang/js-templates.js","../../node_modules/refractor/lang/jsdoc.js","../../node_modules/refractor/lang/n4js.js","../../node_modules/refractor/lang/js-extras.js","../../node_modules/refractor/lang/json5.js","../../node_modules/refractor/lang/jsonp.js","../../node_modules/refractor/lang/jsstacktrace.js","../../node_modules/refractor/lang/julia.js","../../node_modules/refractor/lang/keepalived.js","../../node_modules/refractor/lang/keyman.js","../../node_modules/refractor/lang/kumir.js","../../node_modules/refractor/lang/kusto.js","../../node_modules/refractor/lang/latex.js","../../node_modules/refractor/lang/latte.js","../../node_modules/refractor/lang/scheme.js","../../node_modules/refractor/lang/lilypond.js","../../node_modules/refractor/lang/liquid.js","../../node_modules/refractor/lang/lisp.js","../../node_modules/refractor/lang/livescript.js","../../node_modules/refractor/lang/llvm.js","../../node_modules/refractor/lang/log.js","../../node_modules/refractor/lang/lolcode.js","../../node_modules/refractor/lang/magma.js","../../node_modules/refractor/lang/mata.js","../../node_modules/refractor/lang/matlab.js","../../node_modules/refractor/lang/maxscript.js","../../node_modules/refractor/lang/mel.js","../../node_modules/refractor/lang/mermaid.js","../../node_modules/refractor/lang/metafont.js","../../node_modules/refractor/lang/mizar.js","../../node_modules/refractor/lang/mongodb.js","../../node_modules/refractor/lang/monkey.js","../../node_modules/refractor/lang/moonscript.js","../../node_modules/refractor/lang/n1ql.js","../../node_modules/refractor/lang/nand2tetris-hdl.js","../../node_modules/refractor/lang/naniscript.js","../../node_modules/refractor/lang/nasm.js","../../node_modules/refractor/lang/neon.js","../../node_modules/refractor/lang/nevod.js","../../node_modules/refractor/lang/nginx.js","../../node_modules/refractor/lang/nim.js","../../node_modules/refractor/lang/nix.js","../../node_modules/refractor/lang/nsis.js","../../node_modules/refractor/lang/ocaml.js","../../node_modules/refractor/lang/odin.js","../../node_modules/refractor/lang/opencl.js","../../node_modules/refractor/lang/openqasm.js","../../node_modules/refractor/lang/oz.js","../../node_modules/refractor/lang/parigp.js","../../node_modules/refractor/lang/parser.js","../../node_modules/refractor/lang/pascal.js","../../node_modules/refractor/lang/pascaligo.js","../../node_modules/refractor/lang/psl.js","../../node_modules/refractor/lang/pcaxis.js","../../node_modules/refractor/lang/peoplecode.js","../../node_modules/refractor/lang/phpdoc.js","../../node_modules/refractor/lang/php-extras.js","../../node_modules/refractor/lang/plant-uml.js","../../node_modules/refractor/lang/plsql.js","../../node_modules/refractor/lang/powerquery.js","../../node_modules/refractor/lang/powershell.js","../../node_modules/refractor/lang/processing.js","../../node_modules/refractor/lang/prolog.js","../../node_modules/refractor/lang/promql.js","../../node_modules/refractor/lang/properties.js","../../node_modules/refractor/lang/protobuf.js","../../node_modules/refractor/lang/stylus.js","../../node_modules/refractor/lang/twig.js","../../node_modules/refractor/lang/pug.js","../../node_modules/refractor/lang/puppet.js","../../node_modules/refractor/lang/pure.js","../../node_modules/refractor/lang/purebasic.js","../../node_modules/refractor/lang/purescript.js","../../node_modules/refractor/lang/qsharp.js","../../node_modules/refractor/lang/q.js","../../node_modules/refractor/lang/qml.js","../../node_modules/refractor/lang/qore.js","../../node_modules/refractor/lang/racket.js","../../node_modules/refractor/lang/cshtml.js","../../node_modules/refractor/lang/jsx.js","../../node_modules/refractor/lang/tsx.js","../../node_modules/refractor/lang/reason.js","../../node_modules/refractor/lang/rego.js","../../node_modules/refractor/lang/renpy.js","../../node_modules/refractor/lang/rescript.js","../../node_modules/refractor/lang/rest.js","../../node_modules/refractor/lang/rip.js","../../node_modules/refractor/lang/roboconf.js","../../node_modules/refractor/lang/robotframework.js","../../node_modules/refractor/lang/sas.js","../../node_modules/refractor/lang/shell-session.js","../../node_modules/refractor/lang/smali.js","../../node_modules/refractor/lang/smalltalk.js","../../node_modules/refractor/lang/smarty.js","../../node_modules/refractor/lang/sml.js","../../node_modules/refractor/lang/solidity.js","../../node_modules/refractor/lang/solution-file.js","../../node_modules/refractor/lang/soy.js","../../node_modules/refractor/lang/turtle.js","../../node_modules/refractor/lang/sparql.js","../../node_modules/refractor/lang/splunk-spl.js","../../node_modules/refractor/lang/sqf.js","../../node_modules/refractor/lang/squirrel.js","../../node_modules/refractor/lang/stan.js","../../node_modules/refractor/lang/stata.js","../../node_modules/refractor/lang/iecst.js","../../node_modules/refractor/lang/supercollider.js","../../node_modules/refractor/lang/systemd.js","../../node_modules/refractor/lang/t4-templating.js","../../node_modules/refractor/lang/t4-cs.js","../../node_modules/refractor/lang/t4-vb.js","../../node_modules/refractor/lang/tap.js","../../node_modules/refractor/lang/tcl.js","../../node_modules/refractor/lang/tt2.js","../../node_modules/refractor/lang/toml.js","../../node_modules/refractor/lang/tremor.js","../../node_modules/refractor/lang/typoscript.js","../../node_modules/refractor/lang/unrealscript.js","../../node_modules/refractor/lang/uorazor.js","../../node_modules/refractor/lang/v.js","../../node_modules/refractor/lang/vala.js","../../node_modules/refractor/lang/velocity.js","../../node_modules/refractor/lang/verilog.js","../../node_modules/refractor/lang/vhdl.js","../../node_modules/refractor/lang/vim.js","../../node_modules/refractor/lang/visual-basic.js","../../node_modules/refractor/lang/warpscript.js","../../node_modules/refractor/lang/wasm.js","../../node_modules/refractor/lang/web-idl.js","../../node_modules/refractor/lang/wgsl.js","../../node_modules/refractor/lang/wiki.js","../../node_modules/refractor/lang/wolfram.js","../../node_modules/refractor/lang/wren.js","../../node_modules/refractor/lang/xeora.js","../../node_modules/refractor/lang/xml-doc.js","../../node_modules/refractor/lang/xojo.js","../../node_modules/refractor/lang/xquery.js","../../node_modules/refractor/lang/yang.js","../../node_modules/refractor/lang/zig.js","../../node_modules/rehype-prism-plus/dist/index.es.js","../../node_modules/refractor/lib/common.js","../../node_modules/refractor/lib/all.js","../../node_modules/unist-util-visit/lib/index.js","../../node_modules/@uiw/react-textarea-code-editor/esm/index.js","../../../../src/components/CodeEditor/CodeEditor.tsx","../../../../src/components/Tag/Tag.tsx","../../../../src/components/ActionLink/ActionLink.tsx","../../../../src/components/ValuePair/ValuePair.tsx","../../../../src/components/ProgressBar/ProgressBar.tsx","../../../../src/components/FileSelector/FileSelector.tsx","../../../../src/components/FileSelector/FileSelector.utils.ts","../../../../src/components/SizeChart/SizeChart.tsx","../../../../src/components/Snackbar/Snackbar.tsx","../../../../src/components/Accordion/Accordion.tsx","../../../../src/components/Autocomplete/Autocomplete.tsx","../../../../src/components/Badge/Badge.tsx","../../../../src/components/Wizard/WizardPage.tsx","../../../../src/components/Wizard/Wizard.tsx","../../../../src/components/InformativeMessage/InformativeMessage.tsx","../../node_modules/luxon/src/errors.js","../../node_modules/luxon/src/impl/formats.js","../../node_modules/luxon/src/zone.js","../../node_modules/luxon/src/zones/systemZone.js","../../node_modules/luxon/src/zones/IANAZone.js","../../node_modules/luxon/src/impl/locale.js","../../node_modules/luxon/src/impl/english.js","../../node_modules/luxon/src/zones/fixedOffsetZone.js","../../node_modules/luxon/src/zones/invalidZone.js","../../node_modules/luxon/src/impl/zoneUtil.js","../../node_modules/luxon/src/impl/util.js","../../node_modules/luxon/src/impl/digits.js","../../node_modules/luxon/src/settings.js","../../node_modules/luxon/src/impl/invalid.js","../../node_modules/luxon/src/impl/conversions.js","../../node_modules/luxon/src/impl/formatter.js","../../node_modules/luxon/src/impl/regexParser.js","../../node_modules/luxon/src/duration.js","../../node_modules/luxon/src/interval.js","../../node_modules/luxon/src/info.js","../../node_modules/luxon/src/impl/diff.js","../../node_modules/luxon/src/impl/tokenParser.js","../../node_modules/luxon/src/datetime.js","../../node_modules/clsx/dist/clsx.mjs","../../node_modules/mem/node_modules/mimic-fn/index.js","../../node_modules/map-age-cleaner/dist/index.js","../../node_modules/p-defer/index.js","../../node_modules/mem/dist/index.js","../../node_modules/get-user-locale/dist/esm/index.js","../../node_modules/@wojtekmaj/date-utils/dist/esm/index.js","../../node_modules/react-calendar/dist/esm/shared/const.js","../../node_modules/react-calendar/dist/esm/shared/dateFormatter.js","../../node_modules/react-calendar/dist/esm/shared/dates.js","../../node_modules/react-calendar/dist/esm/Calendar/Navigation.js","../../node_modules/react-calendar/dist/esm/Flex.js","../../node_modules/react-calendar/dist/esm/shared/utils.js","../../node_modules/react-calendar/dist/esm/TileGroup.js","../../node_modules/react-calendar/dist/esm/Tile.js","../../node_modules/react-calendar/dist/esm/CenturyView/Decade.js","../../node_modules/react-calendar/dist/esm/CenturyView/Decades.js","../../node_modules/react-calendar/dist/esm/CenturyView.js","../../node_modules/react-calendar/dist/esm/DecadeView/Year.js","../../node_modules/react-calendar/dist/esm/DecadeView/Years.js","../../node_modules/react-calendar/dist/esm/DecadeView.js","../../node_modules/react-calendar/dist/esm/YearView/Month.js","../../node_modules/react-calendar/dist/esm/YearView/Months.js","../../node_modules/react-calendar/dist/esm/YearView.js","../../node_modules/react-calendar/dist/esm/MonthView/Day.js","../../node_modules/react-calendar/dist/esm/MonthView/Days.js","../../node_modules/react-calendar/dist/esm/MonthView/Weekdays.js","../../node_modules/react-calendar/dist/esm/MonthView/WeekNumber.js","../../node_modules/react-calendar/dist/esm/MonthView/WeekNumbers.js","../../node_modules/react-calendar/dist/esm/MonthView.js","../../node_modules/react-calendar/dist/esm/Calendar.js","../../../../src/components/DateTimeInput/DateSelector.tsx","../../../../src/components/DateTimeInput/TimeSelector.tsx","../../../../src/components/DateTimeInput/DateTimeSelector.tsx","../../../../src/components/DateTimeInput/DateTimeInput.tsx","../../../../src/components/Link/Link.tsx","../../../../src/components/Icons/SidebarMenus/InspectMenuIcon.tsx","../../../../src/components/Icons/SidebarMenus/AuditLogsMenuIcon.tsx","../../../../src/components/Icons/SidebarMenus/HealthMenuIcon.tsx","../../../../src/components/Icons/SidebarMenus/MenuExpandedIcon.tsx","../../../../src/components/Icons/SidebarMenus/TraceMenuIcon.tsx","../../../../src/components/Icons/SidebarMenus/GroupsMenuIcon.tsx","../../../../src/components/Icons/SidebarMenus/MenuCollapsedIcon.tsx","../../../../src/components/Icons/SidebarMenus/MetricsMenuIcon.tsx","../../../../src/components/Icons/SidebarMenus/IdentityMenuIcon.tsx","../../../../src/components/Icons/SidebarMenus/LogsMenuIcon.tsx","../../../../src/components/Icons/SidebarMenus/MonitoringMenuIcon.tsx","../../../../src/components/Icons/SidebarMenus/SupportMenuIcon.tsx","../../../../src/components/Icons/SidebarMenus/PerformanceMenuIcon.tsx","../../../../src/components/Icons/SidebarMenus/DiagnosticsMenuIcon.tsx","../../../../src/components/Icons/SidebarMenus/AccessMenuIcon.tsx","../../../../src/components/Icons/SidebarMenus/RegisterMenuIcon.tsx","../../../../src/components/Icons/SidebarMenus/DrivesMenuIcon.tsx","../../../../src/components/Icons/SidebarMenus/AccountsMenuIcon.tsx","../../../../src/components/Icons/SidebarMenus/ProfileMenuIcon.tsx","../../../../src/components/Icons/SidebarMenus/CallHomeMenuIcon.tsx","../../../../src/components/Icons/SidebarMenus/BucketsMenuIcon.tsx","../../../../src/components/Icons/SidebarMenus/UsersMenuIcon.tsx","../../../../src/components/Icons/SidebarMenus/KeysMenuIcon.tsx","../../../../src/components/Icons/SidebarMenus/StatusMenuIcon.tsx","../../../../src/components/Icons/SidebarMenus/SecretsMenuIcon.tsx","../../../../src/components/Icons/SidebarMenus/PoliciesMenuIcon.tsx","../../../../src/components/Icons/SidebarMenus/IdentitiesMenuIcon.tsx","../../../../src/components/Icons/FileIcons/FileConfigIcon.tsx","../../../../src/components/Icons/FileIcons/FilePdfIcon.tsx","../../../../src/components/Icons/FileIcons/FileFontIcon.tsx","../../../../src/components/Icons/FileIcons/FileLinkIcon.tsx","../../../../src/components/Icons/FileIcons/FileImageIcon.tsx","../../../../src/components/Icons/FileIcons/FileWorldIcon.tsx","../../../../src/components/Icons/FileIcons/FileBookIcon.tsx","../../../../src/components/Icons/FileIcons/FileMissingIcon.tsx","../../../../src/components/Icons/FileIcons/FileCodeIcon.tsx","../../../../src/components/Icons/FileIcons/FilePptIcon.tsx","../../../../src/components/Icons/FileIcons/FileDbIcon.tsx","../../../../src/components/Icons/FileIcons/FileTxtIcon.tsx","../../../../src/components/Icons/FileIcons/FileVideoIcon.tsx","../../../../src/components/Icons/FileIcons/FileLockIcon.tsx","../../../../src/components/Icons/FileIcons/FileXlsIcon.tsx","../../../../src/components/Icons/FileIcons/FileZipIcon.tsx","../../../../src/components/Icons/FileIcons/FolderBrowserIcon.tsx","../../../../src/components/Icons/FileIcons/FileCloudIcon.tsx","../../../../src/components/Icons/FileIcons/FileMusicIcon.tsx","../../../../src/components/Icons/FileIcons/FileNonType.tsx","../../../../src/components/Table/Table.tsx","../../../../src/components/Table/TableBody.tsx","../../../../src/components/Table/TableCell.tsx","../../../../src/components/Table/TableHead.tsx","../../../../src/components/Table/TableHeadCell.tsx","../../../../src/components/Table/TableRow.tsx"],"sourcesContent":["// This file is part of MinIO Design System\n// Copyright (c) 2022 MinIO, Inc.\n//\n// This program is free software: you can redistribute it and/or modify\n// it under the terms of the GNU Affero General Public License as published by\n// the Free Software Foundation, either version 3 of the License, or\n// (at your option) any later version.\n//\n// This program is distributed in the hope that it will be useful,\n// but WITHOUT ANY WARRANTY; without even the implied warranty of\n// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n// GNU Affero General Public License for more details.\n//\n// You should have received a copy of the GNU Affero General Public License\n// along with this program. If not, see .\n\nimport { IBytesCalc } from \"./global.types\";\n\nexport const breakPoints = { xs: 0, sm: 576, md: 768, lg: 992, xl: 1200 };\nexport const units = [\n \"B\",\n \"KiB\",\n \"MiB\",\n \"GiB\",\n \"TiB\",\n \"PiB\",\n \"EiB\",\n \"ZiB\",\n \"YiB\",\n];\n\nexport const fractionToPerc = (fraction: \"auto\" | number | boolean) => {\n if (fraction === \"auto\" || (typeof fraction === \"boolean\" && fraction)) {\n return \"100%\";\n } else if (fraction === false) {\n return \"initial\";\n }\n\n let fr = Math.floor(fraction);\n\n if (fr > 12) {\n fr = 12;\n console.warn(\"Grid fraction cannot be greater than 12\");\n } else if (fr < 1) {\n fr = 1;\n console.warn(\"Grid fraction cannot be smaller than 1\");\n }\n\n const percCalculate = (fr * 100) / 12;\n\n return `${percCalculate}%`;\n};\n\nexport const calculateBytes = (\n x: string | number,\n showDecimals = false,\n roundFloor = true,\n): IBytesCalc => {\n let bytes;\n\n if (typeof x === \"string\") {\n bytes = parseInt(x, 10);\n } else {\n bytes = x;\n }\n\n if (bytes === 0) {\n return { total: 0, unit: units[0] };\n }\n\n // Gi : GiB\n const k = 1024;\n\n // Get unit for measure\n const i = Math.floor(Math.log(bytes) / Math.log(k));\n\n const fractionDigits = showDecimals ? 1 : 0;\n\n const bytesUnit = bytes / Math.pow(k, i);\n\n const roundedUnit = roundFloor ? Math.floor(bytesUnit) : bytesUnit;\n\n // Get Unit parsed\n const unitParsed = parseFloat(roundedUnit.toFixed(fractionDigits));\n const finalUnit = units[i];\n\n return { total: unitParsed, unit: finalUnit };\n};\n","/**\n * @license React\n * react-jsx-runtime.development.js\n *\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\n'use strict';\n\nif (process.env.NODE_ENV !== \"production\") {\n (function() {\n'use strict';\n\nvar React = require('react');\n\n// ATTENTION\n// When adding new symbols to this file,\n// Please consider also adding to 'react-devtools-shared/src/backend/ReactSymbols'\n// The Symbol used to tag the ReactElement-like types.\nvar REACT_ELEMENT_TYPE = Symbol.for('react.element');\nvar REACT_PORTAL_TYPE = Symbol.for('react.portal');\nvar REACT_FRAGMENT_TYPE = Symbol.for('react.fragment');\nvar REACT_STRICT_MODE_TYPE = Symbol.for('react.strict_mode');\nvar REACT_PROFILER_TYPE = Symbol.for('react.profiler');\nvar REACT_PROVIDER_TYPE = Symbol.for('react.provider');\nvar REACT_CONTEXT_TYPE = Symbol.for('react.context');\nvar REACT_FORWARD_REF_TYPE = Symbol.for('react.forward_ref');\nvar REACT_SUSPENSE_TYPE = Symbol.for('react.suspense');\nvar REACT_SUSPENSE_LIST_TYPE = Symbol.for('react.suspense_list');\nvar REACT_MEMO_TYPE = Symbol.for('react.memo');\nvar REACT_LAZY_TYPE = Symbol.for('react.lazy');\nvar REACT_OFFSCREEN_TYPE = Symbol.for('react.offscreen');\nvar MAYBE_ITERATOR_SYMBOL = Symbol.iterator;\nvar FAUX_ITERATOR_SYMBOL = '@@iterator';\nfunction getIteratorFn(maybeIterable) {\n if (maybeIterable === null || typeof maybeIterable !== 'object') {\n return null;\n }\n\n var maybeIterator = MAYBE_ITERATOR_SYMBOL && maybeIterable[MAYBE_ITERATOR_SYMBOL] || maybeIterable[FAUX_ITERATOR_SYMBOL];\n\n if (typeof maybeIterator === 'function') {\n return maybeIterator;\n }\n\n return null;\n}\n\nvar ReactSharedInternals = React.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;\n\nfunction error(format) {\n {\n {\n for (var _len2 = arguments.length, args = new Array(_len2 > 1 ? _len2 - 1 : 0), _key2 = 1; _key2 < _len2; _key2++) {\n args[_key2 - 1] = arguments[_key2];\n }\n\n printWarning('error', format, args);\n }\n }\n}\n\nfunction printWarning(level, format, args) {\n // When changing this logic, you might want to also\n // update consoleWithStackDev.www.js as well.\n {\n var ReactDebugCurrentFrame = ReactSharedInternals.ReactDebugCurrentFrame;\n var stack = ReactDebugCurrentFrame.getStackAddendum();\n\n if (stack !== '') {\n format += '%s';\n args = args.concat([stack]);\n } // eslint-disable-next-line react-internal/safe-string-coercion\n\n\n var argsWithFormat = args.map(function (item) {\n return String(item);\n }); // Careful: RN currently depends on this prefix\n\n argsWithFormat.unshift('Warning: ' + format); // We intentionally don't use spread (or .apply) directly because it\n // breaks IE9: https://github.com/facebook/react/issues/13610\n // eslint-disable-next-line react-internal/no-production-logging\n\n Function.prototype.apply.call(console[level], console, argsWithFormat);\n }\n}\n\n// -----------------------------------------------------------------------------\n\nvar enableScopeAPI = false; // Experimental Create Event Handle API.\nvar enableCacheElement = false;\nvar enableTransitionTracing = false; // No known bugs, but needs performance testing\n\nvar enableLegacyHidden = false; // Enables unstable_avoidThisFallback feature in Fiber\n// stuff. Intended to enable React core members to more easily debug scheduling\n// issues in DEV builds.\n\nvar enableDebugTracing = false; // Track which Fiber(s) schedule render work.\n\nvar REACT_MODULE_REFERENCE;\n\n{\n REACT_MODULE_REFERENCE = Symbol.for('react.module.reference');\n}\n\nfunction isValidElementType(type) {\n if (typeof type === 'string' || typeof type === 'function') {\n return true;\n } // Note: typeof might be other than 'symbol' or 'number' (e.g. if it's a polyfill).\n\n\n if (type === REACT_FRAGMENT_TYPE || type === REACT_PROFILER_TYPE || enableDebugTracing || type === REACT_STRICT_MODE_TYPE || type === REACT_SUSPENSE_TYPE || type === REACT_SUSPENSE_LIST_TYPE || enableLegacyHidden || type === REACT_OFFSCREEN_TYPE || enableScopeAPI || enableCacheElement || enableTransitionTracing ) {\n return true;\n }\n\n if (typeof type === 'object' && type !== null) {\n if (type.$$typeof === REACT_LAZY_TYPE || type.$$typeof === REACT_MEMO_TYPE || type.$$typeof === REACT_PROVIDER_TYPE || type.$$typeof === REACT_CONTEXT_TYPE || type.$$typeof === REACT_FORWARD_REF_TYPE || // This needs to include all possible module reference object\n // types supported by any Flight configuration anywhere since\n // we don't know which Flight build this will end up being used\n // with.\n type.$$typeof === REACT_MODULE_REFERENCE || type.getModuleId !== undefined) {\n return true;\n }\n }\n\n return false;\n}\n\nfunction getWrappedName(outerType, innerType, wrapperName) {\n var displayName = outerType.displayName;\n\n if (displayName) {\n return displayName;\n }\n\n var functionName = innerType.displayName || innerType.name || '';\n return functionName !== '' ? wrapperName + \"(\" + functionName + \")\" : wrapperName;\n} // Keep in sync with react-reconciler/getComponentNameFromFiber\n\n\nfunction getContextName(type) {\n return type.displayName || 'Context';\n} // Note that the reconciler package should generally prefer to use getComponentNameFromFiber() instead.\n\n\nfunction getComponentNameFromType(type) {\n if (type == null) {\n // Host root, text node or just invalid type.\n return null;\n }\n\n {\n if (typeof type.tag === 'number') {\n error('Received an unexpected object in getComponentNameFromType(). ' + 'This is likely a bug in React. Please file an issue.');\n }\n }\n\n if (typeof type === 'function') {\n return type.displayName || type.name || null;\n }\n\n if (typeof type === 'string') {\n return type;\n }\n\n switch (type) {\n case REACT_FRAGMENT_TYPE:\n return 'Fragment';\n\n case REACT_PORTAL_TYPE:\n return 'Portal';\n\n case REACT_PROFILER_TYPE:\n return 'Profiler';\n\n case REACT_STRICT_MODE_TYPE:\n return 'StrictMode';\n\n case REACT_SUSPENSE_TYPE:\n return 'Suspense';\n\n case REACT_SUSPENSE_LIST_TYPE:\n return 'SuspenseList';\n\n }\n\n if (typeof type === 'object') {\n switch (type.$$typeof) {\n case REACT_CONTEXT_TYPE:\n var context = type;\n return getContextName(context) + '.Consumer';\n\n case REACT_PROVIDER_TYPE:\n var provider = type;\n return getContextName(provider._context) + '.Provider';\n\n case REACT_FORWARD_REF_TYPE:\n return getWrappedName(type, type.render, 'ForwardRef');\n\n case REACT_MEMO_TYPE:\n var outerName = type.displayName || null;\n\n if (outerName !== null) {\n return outerName;\n }\n\n return getComponentNameFromType(type.type) || 'Memo';\n\n case REACT_LAZY_TYPE:\n {\n var lazyComponent = type;\n var payload = lazyComponent._payload;\n var init = lazyComponent._init;\n\n try {\n return getComponentNameFromType(init(payload));\n } catch (x) {\n return null;\n }\n }\n\n // eslint-disable-next-line no-fallthrough\n }\n }\n\n return null;\n}\n\nvar assign = Object.assign;\n\n// Helpers to patch console.logs to avoid logging during side-effect free\n// replaying on render function. This currently only patches the object\n// lazily which won't cover if the log function was extracted eagerly.\n// We could also eagerly patch the method.\nvar disabledDepth = 0;\nvar prevLog;\nvar prevInfo;\nvar prevWarn;\nvar prevError;\nvar prevGroup;\nvar prevGroupCollapsed;\nvar prevGroupEnd;\n\nfunction disabledLog() {}\n\ndisabledLog.__reactDisabledLog = true;\nfunction disableLogs() {\n {\n if (disabledDepth === 0) {\n /* eslint-disable react-internal/no-production-logging */\n prevLog = console.log;\n prevInfo = console.info;\n prevWarn = console.warn;\n prevError = console.error;\n prevGroup = console.group;\n prevGroupCollapsed = console.groupCollapsed;\n prevGroupEnd = console.groupEnd; // https://github.com/facebook/react/issues/19099\n\n var props = {\n configurable: true,\n enumerable: true,\n value: disabledLog,\n writable: true\n }; // $FlowFixMe Flow thinks console is immutable.\n\n Object.defineProperties(console, {\n info: props,\n log: props,\n warn: props,\n error: props,\n group: props,\n groupCollapsed: props,\n groupEnd: props\n });\n /* eslint-enable react-internal/no-production-logging */\n }\n\n disabledDepth++;\n }\n}\nfunction reenableLogs() {\n {\n disabledDepth--;\n\n if (disabledDepth === 0) {\n /* eslint-disable react-internal/no-production-logging */\n var props = {\n configurable: true,\n enumerable: true,\n writable: true\n }; // $FlowFixMe Flow thinks console is immutable.\n\n Object.defineProperties(console, {\n log: assign({}, props, {\n value: prevLog\n }),\n info: assign({}, props, {\n value: prevInfo\n }),\n warn: assign({}, props, {\n value: prevWarn\n }),\n error: assign({}, props, {\n value: prevError\n }),\n group: assign({}, props, {\n value: prevGroup\n }),\n groupCollapsed: assign({}, props, {\n value: prevGroupCollapsed\n }),\n groupEnd: assign({}, props, {\n value: prevGroupEnd\n })\n });\n /* eslint-enable react-internal/no-production-logging */\n }\n\n if (disabledDepth < 0) {\n error('disabledDepth fell below zero. ' + 'This is a bug in React. Please file an issue.');\n }\n }\n}\n\nvar ReactCurrentDispatcher = ReactSharedInternals.ReactCurrentDispatcher;\nvar prefix;\nfunction describeBuiltInComponentFrame(name, source, ownerFn) {\n {\n if (prefix === undefined) {\n // Extract the VM specific prefix used by each line.\n try {\n throw Error();\n } catch (x) {\n var match = x.stack.trim().match(/\\n( *(at )?)/);\n prefix = match && match[1] || '';\n }\n } // We use the prefix to ensure our stacks line up with native stack frames.\n\n\n return '\\n' + prefix + name;\n }\n}\nvar reentry = false;\nvar componentFrameCache;\n\n{\n var PossiblyWeakMap = typeof WeakMap === 'function' ? WeakMap : Map;\n componentFrameCache = new PossiblyWeakMap();\n}\n\nfunction describeNativeComponentFrame(fn, construct) {\n // If something asked for a stack inside a fake render, it should get ignored.\n if ( !fn || reentry) {\n return '';\n }\n\n {\n var frame = componentFrameCache.get(fn);\n\n if (frame !== undefined) {\n return frame;\n }\n }\n\n var control;\n reentry = true;\n var previousPrepareStackTrace = Error.prepareStackTrace; // $FlowFixMe It does accept undefined.\n\n Error.prepareStackTrace = undefined;\n var previousDispatcher;\n\n {\n previousDispatcher = ReactCurrentDispatcher.current; // Set the dispatcher in DEV because this might be call in the render function\n // for warnings.\n\n ReactCurrentDispatcher.current = null;\n disableLogs();\n }\n\n try {\n // This should throw.\n if (construct) {\n // Something should be setting the props in the constructor.\n var Fake = function () {\n throw Error();\n }; // $FlowFixMe\n\n\n Object.defineProperty(Fake.prototype, 'props', {\n set: function () {\n // We use a throwing setter instead of frozen or non-writable props\n // because that won't throw in a non-strict mode function.\n throw Error();\n }\n });\n\n if (typeof Reflect === 'object' && Reflect.construct) {\n // We construct a different control for this case to include any extra\n // frames added by the construct call.\n try {\n Reflect.construct(Fake, []);\n } catch (x) {\n control = x;\n }\n\n Reflect.construct(fn, [], Fake);\n } else {\n try {\n Fake.call();\n } catch (x) {\n control = x;\n }\n\n fn.call(Fake.prototype);\n }\n } else {\n try {\n throw Error();\n } catch (x) {\n control = x;\n }\n\n fn();\n }\n } catch (sample) {\n // This is inlined manually because closure doesn't do it for us.\n if (sample && control && typeof sample.stack === 'string') {\n // This extracts the first frame from the sample that isn't also in the control.\n // Skipping one frame that we assume is the frame that calls the two.\n var sampleLines = sample.stack.split('\\n');\n var controlLines = control.stack.split('\\n');\n var s = sampleLines.length - 1;\n var c = controlLines.length - 1;\n\n while (s >= 1 && c >= 0 && sampleLines[s] !== controlLines[c]) {\n // We expect at least one stack frame to be shared.\n // Typically this will be the root most one. However, stack frames may be\n // cut off due to maximum stack limits. In this case, one maybe cut off\n // earlier than the other. We assume that the sample is longer or the same\n // and there for cut off earlier. So we should find the root most frame in\n // the sample somewhere in the control.\n c--;\n }\n\n for (; s >= 1 && c >= 0; s--, c--) {\n // Next we find the first one that isn't the same which should be the\n // frame that called our sample function and the control.\n if (sampleLines[s] !== controlLines[c]) {\n // In V8, the first line is describing the message but other VMs don't.\n // If we're about to return the first line, and the control is also on the same\n // line, that's a pretty good indicator that our sample threw at same line as\n // the control. I.e. before we entered the sample frame. So we ignore this result.\n // This can happen if you passed a class to function component, or non-function.\n if (s !== 1 || c !== 1) {\n do {\n s--;\n c--; // We may still have similar intermediate frames from the construct call.\n // The next one that isn't the same should be our match though.\n\n if (c < 0 || sampleLines[s] !== controlLines[c]) {\n // V8 adds a \"new\" prefix for native classes. Let's remove it to make it prettier.\n var _frame = '\\n' + sampleLines[s].replace(' at new ', ' at '); // If our component frame is labeled \"\"\n // but we have a user-provided \"displayName\"\n // splice it in to make the stack more readable.\n\n\n if (fn.displayName && _frame.includes('')) {\n _frame = _frame.replace('', fn.displayName);\n }\n\n {\n if (typeof fn === 'function') {\n componentFrameCache.set(fn, _frame);\n }\n } // Return the line we found.\n\n\n return _frame;\n }\n } while (s >= 1 && c >= 0);\n }\n\n break;\n }\n }\n }\n } finally {\n reentry = false;\n\n {\n ReactCurrentDispatcher.current = previousDispatcher;\n reenableLogs();\n }\n\n Error.prepareStackTrace = previousPrepareStackTrace;\n } // Fallback to just using the name if we couldn't make it throw.\n\n\n var name = fn ? fn.displayName || fn.name : '';\n var syntheticFrame = name ? describeBuiltInComponentFrame(name) : '';\n\n {\n if (typeof fn === 'function') {\n componentFrameCache.set(fn, syntheticFrame);\n }\n }\n\n return syntheticFrame;\n}\nfunction describeFunctionComponentFrame(fn, source, ownerFn) {\n {\n return describeNativeComponentFrame(fn, false);\n }\n}\n\nfunction shouldConstruct(Component) {\n var prototype = Component.prototype;\n return !!(prototype && prototype.isReactComponent);\n}\n\nfunction describeUnknownElementTypeFrameInDEV(type, source, ownerFn) {\n\n if (type == null) {\n return '';\n }\n\n if (typeof type === 'function') {\n {\n return describeNativeComponentFrame(type, shouldConstruct(type));\n }\n }\n\n if (typeof type === 'string') {\n return describeBuiltInComponentFrame(type);\n }\n\n switch (type) {\n case REACT_SUSPENSE_TYPE:\n return describeBuiltInComponentFrame('Suspense');\n\n case REACT_SUSPENSE_LIST_TYPE:\n return describeBuiltInComponentFrame('SuspenseList');\n }\n\n if (typeof type === 'object') {\n switch (type.$$typeof) {\n case REACT_FORWARD_REF_TYPE:\n return describeFunctionComponentFrame(type.render);\n\n case REACT_MEMO_TYPE:\n // Memo may contain any component type so we recursively resolve it.\n return describeUnknownElementTypeFrameInDEV(type.type, source, ownerFn);\n\n case REACT_LAZY_TYPE:\n {\n var lazyComponent = type;\n var payload = lazyComponent._payload;\n var init = lazyComponent._init;\n\n try {\n // Lazy may contain any component type so we recursively resolve it.\n return describeUnknownElementTypeFrameInDEV(init(payload), source, ownerFn);\n } catch (x) {}\n }\n }\n }\n\n return '';\n}\n\nvar hasOwnProperty = Object.prototype.hasOwnProperty;\n\nvar loggedTypeFailures = {};\nvar ReactDebugCurrentFrame = ReactSharedInternals.ReactDebugCurrentFrame;\n\nfunction setCurrentlyValidatingElement(element) {\n {\n if (element) {\n var owner = element._owner;\n var stack = describeUnknownElementTypeFrameInDEV(element.type, element._source, owner ? owner.type : null);\n ReactDebugCurrentFrame.setExtraStackFrame(stack);\n } else {\n ReactDebugCurrentFrame.setExtraStackFrame(null);\n }\n }\n}\n\nfunction checkPropTypes(typeSpecs, values, location, componentName, element) {\n {\n // $FlowFixMe This is okay but Flow doesn't know it.\n var has = Function.call.bind(hasOwnProperty);\n\n for (var typeSpecName in typeSpecs) {\n if (has(typeSpecs, typeSpecName)) {\n var error$1 = void 0; // Prop type validation may throw. In case they do, we don't want to\n // fail the render phase where it didn't fail before. So we log it.\n // After these have been cleaned up, we'll let them throw.\n\n try {\n // This is intentionally an invariant that gets caught. It's the same\n // behavior as without this statement except with a better message.\n if (typeof typeSpecs[typeSpecName] !== 'function') {\n // eslint-disable-next-line react-internal/prod-error-codes\n var err = Error((componentName || 'React class') + ': ' + location + ' type `' + typeSpecName + '` is invalid; ' + 'it must be a function, usually from the `prop-types` package, but received `' + typeof typeSpecs[typeSpecName] + '`.' + 'This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.');\n err.name = 'Invariant Violation';\n throw err;\n }\n\n error$1 = typeSpecs[typeSpecName](values, typeSpecName, componentName, location, null, 'SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED');\n } catch (ex) {\n error$1 = ex;\n }\n\n if (error$1 && !(error$1 instanceof Error)) {\n setCurrentlyValidatingElement(element);\n\n error('%s: type specification of %s' + ' `%s` is invalid; the type checker ' + 'function must return `null` or an `Error` but returned a %s. ' + 'You may have forgotten to pass an argument to the type checker ' + 'creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and ' + 'shape all require an argument).', componentName || 'React class', location, typeSpecName, typeof error$1);\n\n setCurrentlyValidatingElement(null);\n }\n\n if (error$1 instanceof Error && !(error$1.message in loggedTypeFailures)) {\n // Only monitor this failure once because there tends to be a lot of the\n // same error.\n loggedTypeFailures[error$1.message] = true;\n setCurrentlyValidatingElement(element);\n\n error('Failed %s type: %s', location, error$1.message);\n\n setCurrentlyValidatingElement(null);\n }\n }\n }\n }\n}\n\nvar isArrayImpl = Array.isArray; // eslint-disable-next-line no-redeclare\n\nfunction isArray(a) {\n return isArrayImpl(a);\n}\n\n/*\n * The `'' + value` pattern (used in in perf-sensitive code) throws for Symbol\n * and Temporal.* types. See https://github.com/facebook/react/pull/22064.\n *\n * The functions in this module will throw an easier-to-understand,\n * easier-to-debug exception with a clear errors message message explaining the\n * problem. (Instead of a confusing exception thrown inside the implementation\n * of the `value` object).\n */\n// $FlowFixMe only called in DEV, so void return is not possible.\nfunction typeName(value) {\n {\n // toStringTag is needed for namespaced types like Temporal.Instant\n var hasToStringTag = typeof Symbol === 'function' && Symbol.toStringTag;\n var type = hasToStringTag && value[Symbol.toStringTag] || value.constructor.name || 'Object';\n return type;\n }\n} // $FlowFixMe only called in DEV, so void return is not possible.\n\n\nfunction willCoercionThrow(value) {\n {\n try {\n testStringCoercion(value);\n return false;\n } catch (e) {\n return true;\n }\n }\n}\n\nfunction testStringCoercion(value) {\n // If you ended up here by following an exception call stack, here's what's\n // happened: you supplied an object or symbol value to React (as a prop, key,\n // DOM attribute, CSS property, string ref, etc.) and when React tried to\n // coerce it to a string using `'' + value`, an exception was thrown.\n //\n // The most common types that will cause this exception are `Symbol` instances\n // and Temporal objects like `Temporal.Instant`. But any object that has a\n // `valueOf` or `[Symbol.toPrimitive]` method that throws will also cause this\n // exception. (Library authors do this to prevent users from using built-in\n // numeric operators like `+` or comparison operators like `>=` because custom\n // methods are needed to perform accurate arithmetic or comparison.)\n //\n // To fix the problem, coerce this object or symbol value to a string before\n // passing it to React. The most reliable way is usually `String(value)`.\n //\n // To find which value is throwing, check the browser or debugger console.\n // Before this exception was thrown, there should be `console.error` output\n // that shows the type (Symbol, Temporal.PlainDate, etc.) that caused the\n // problem and how that type was used: key, atrribute, input value prop, etc.\n // In most cases, this console output also shows the component and its\n // ancestor components where the exception happened.\n //\n // eslint-disable-next-line react-internal/safe-string-coercion\n return '' + value;\n}\nfunction checkKeyStringCoercion(value) {\n {\n if (willCoercionThrow(value)) {\n error('The provided key is an unsupported type %s.' + ' This value must be coerced to a string before before using it here.', typeName(value));\n\n return testStringCoercion(value); // throw (to help callers find troubleshooting comments)\n }\n }\n}\n\nvar ReactCurrentOwner = ReactSharedInternals.ReactCurrentOwner;\nvar RESERVED_PROPS = {\n key: true,\n ref: true,\n __self: true,\n __source: true\n};\nvar specialPropKeyWarningShown;\nvar specialPropRefWarningShown;\nvar didWarnAboutStringRefs;\n\n{\n didWarnAboutStringRefs = {};\n}\n\nfunction hasValidRef(config) {\n {\n if (hasOwnProperty.call(config, 'ref')) {\n var getter = Object.getOwnPropertyDescriptor(config, 'ref').get;\n\n if (getter && getter.isReactWarning) {\n return false;\n }\n }\n }\n\n return config.ref !== undefined;\n}\n\nfunction hasValidKey(config) {\n {\n if (hasOwnProperty.call(config, 'key')) {\n var getter = Object.getOwnPropertyDescriptor(config, 'key').get;\n\n if (getter && getter.isReactWarning) {\n return false;\n }\n }\n }\n\n return config.key !== undefined;\n}\n\nfunction warnIfStringRefCannotBeAutoConverted(config, self) {\n {\n if (typeof config.ref === 'string' && ReactCurrentOwner.current && self && ReactCurrentOwner.current.stateNode !== self) {\n var componentName = getComponentNameFromType(ReactCurrentOwner.current.type);\n\n if (!didWarnAboutStringRefs[componentName]) {\n error('Component \"%s\" contains the string ref \"%s\". ' + 'Support for string refs will be removed in a future major release. ' + 'This case cannot be automatically converted to an arrow function. ' + 'We ask you to manually fix this case by using useRef() or createRef() instead. ' + 'Learn more about using refs safely here: ' + 'https://reactjs.org/link/strict-mode-string-ref', getComponentNameFromType(ReactCurrentOwner.current.type), config.ref);\n\n didWarnAboutStringRefs[componentName] = true;\n }\n }\n }\n}\n\nfunction defineKeyPropWarningGetter(props, displayName) {\n {\n var warnAboutAccessingKey = function () {\n if (!specialPropKeyWarningShown) {\n specialPropKeyWarningShown = true;\n\n error('%s: `key` is not a prop. Trying to access it will result ' + 'in `undefined` being returned. If you need to access the same ' + 'value within the child component, you should pass it as a different ' + 'prop. (https://reactjs.org/link/special-props)', displayName);\n }\n };\n\n warnAboutAccessingKey.isReactWarning = true;\n Object.defineProperty(props, 'key', {\n get: warnAboutAccessingKey,\n configurable: true\n });\n }\n}\n\nfunction defineRefPropWarningGetter(props, displayName) {\n {\n var warnAboutAccessingRef = function () {\n if (!specialPropRefWarningShown) {\n specialPropRefWarningShown = true;\n\n error('%s: `ref` is not a prop. Trying to access it will result ' + 'in `undefined` being returned. If you need to access the same ' + 'value within the child component, you should pass it as a different ' + 'prop. (https://reactjs.org/link/special-props)', displayName);\n }\n };\n\n warnAboutAccessingRef.isReactWarning = true;\n Object.defineProperty(props, 'ref', {\n get: warnAboutAccessingRef,\n configurable: true\n });\n }\n}\n/**\n * Factory method to create a new React element. This no longer adheres to\n * the class pattern, so do not use new to call it. Also, instanceof check\n * will not work. Instead test $$typeof field against Symbol.for('react.element') to check\n * if something is a React Element.\n *\n * @param {*} type\n * @param {*} props\n * @param {*} key\n * @param {string|object} ref\n * @param {*} owner\n * @param {*} self A *temporary* helper to detect places where `this` is\n * different from the `owner` when React.createElement is called, so that we\n * can warn. We want to get rid of owner and replace string `ref`s with arrow\n * functions, and as long as `this` and owner are the same, there will be no\n * change in behavior.\n * @param {*} source An annotation object (added by a transpiler or otherwise)\n * indicating filename, line number, and/or other information.\n * @internal\n */\n\n\nvar ReactElement = function (type, key, ref, self, source, owner, props) {\n var element = {\n // This tag allows us to uniquely identify this as a React Element\n $$typeof: REACT_ELEMENT_TYPE,\n // Built-in properties that belong on the element\n type: type,\n key: key,\n ref: ref,\n props: props,\n // Record the component responsible for creating this element.\n _owner: owner\n };\n\n {\n // The validation flag is currently mutative. We put it on\n // an external backing store so that we can freeze the whole object.\n // This can be replaced with a WeakMap once they are implemented in\n // commonly used development environments.\n element._store = {}; // To make comparing ReactElements easier for testing purposes, we make\n // the validation flag non-enumerable (where possible, which should\n // include every environment we run tests in), so the test framework\n // ignores it.\n\n Object.defineProperty(element._store, 'validated', {\n configurable: false,\n enumerable: false,\n writable: true,\n value: false\n }); // self and source are DEV only properties.\n\n Object.defineProperty(element, '_self', {\n configurable: false,\n enumerable: false,\n writable: false,\n value: self\n }); // Two elements created in two different places should be considered\n // equal for testing purposes and therefore we hide it from enumeration.\n\n Object.defineProperty(element, '_source', {\n configurable: false,\n enumerable: false,\n writable: false,\n value: source\n });\n\n if (Object.freeze) {\n Object.freeze(element.props);\n Object.freeze(element);\n }\n }\n\n return element;\n};\n/**\n * https://github.com/reactjs/rfcs/pull/107\n * @param {*} type\n * @param {object} props\n * @param {string} key\n */\n\nfunction jsxDEV(type, config, maybeKey, source, self) {\n {\n var propName; // Reserved names are extracted\n\n var props = {};\n var key = null;\n var ref = null; // Currently, key can be spread in as a prop. This causes a potential\n // issue if key is also explicitly declared (ie.
\n // or
). We want to deprecate key spread,\n // but as an intermediary step, we will use jsxDEV for everything except\n //
, because we aren't currently able to tell if\n // key is explicitly declared to be undefined or not.\n\n if (maybeKey !== undefined) {\n {\n checkKeyStringCoercion(maybeKey);\n }\n\n key = '' + maybeKey;\n }\n\n if (hasValidKey(config)) {\n {\n checkKeyStringCoercion(config.key);\n }\n\n key = '' + config.key;\n }\n\n if (hasValidRef(config)) {\n ref = config.ref;\n warnIfStringRefCannotBeAutoConverted(config, self);\n } // Remaining properties are added to a new props object\n\n\n for (propName in config) {\n if (hasOwnProperty.call(config, propName) && !RESERVED_PROPS.hasOwnProperty(propName)) {\n props[propName] = config[propName];\n }\n } // Resolve default props\n\n\n if (type && type.defaultProps) {\n var defaultProps = type.defaultProps;\n\n for (propName in defaultProps) {\n if (props[propName] === undefined) {\n props[propName] = defaultProps[propName];\n }\n }\n }\n\n if (key || ref) {\n var displayName = typeof type === 'function' ? type.displayName || type.name || 'Unknown' : type;\n\n if (key) {\n defineKeyPropWarningGetter(props, displayName);\n }\n\n if (ref) {\n defineRefPropWarningGetter(props, displayName);\n }\n }\n\n return ReactElement(type, key, ref, self, source, ReactCurrentOwner.current, props);\n }\n}\n\nvar ReactCurrentOwner$1 = ReactSharedInternals.ReactCurrentOwner;\nvar ReactDebugCurrentFrame$1 = ReactSharedInternals.ReactDebugCurrentFrame;\n\nfunction setCurrentlyValidatingElement$1(element) {\n {\n if (element) {\n var owner = element._owner;\n var stack = describeUnknownElementTypeFrameInDEV(element.type, element._source, owner ? owner.type : null);\n ReactDebugCurrentFrame$1.setExtraStackFrame(stack);\n } else {\n ReactDebugCurrentFrame$1.setExtraStackFrame(null);\n }\n }\n}\n\nvar propTypesMisspellWarningShown;\n\n{\n propTypesMisspellWarningShown = false;\n}\n/**\n * Verifies the object is a ReactElement.\n * See https://reactjs.org/docs/react-api.html#isvalidelement\n * @param {?object} object\n * @return {boolean} True if `object` is a ReactElement.\n * @final\n */\n\n\nfunction isValidElement(object) {\n {\n return typeof object === 'object' && object !== null && object.$$typeof === REACT_ELEMENT_TYPE;\n }\n}\n\nfunction getDeclarationErrorAddendum() {\n {\n if (ReactCurrentOwner$1.current) {\n var name = getComponentNameFromType(ReactCurrentOwner$1.current.type);\n\n if (name) {\n return '\\n\\nCheck the render method of `' + name + '`.';\n }\n }\n\n return '';\n }\n}\n\nfunction getSourceInfoErrorAddendum(source) {\n {\n if (source !== undefined) {\n var fileName = source.fileName.replace(/^.*[\\\\\\/]/, '');\n var lineNumber = source.lineNumber;\n return '\\n\\nCheck your code at ' + fileName + ':' + lineNumber + '.';\n }\n\n return '';\n }\n}\n/**\n * Warn if there's no key explicitly set on dynamic arrays of children or\n * object keys are not valid. This allows us to keep track of children between\n * updates.\n */\n\n\nvar ownerHasKeyUseWarning = {};\n\nfunction getCurrentComponentErrorInfo(parentType) {\n {\n var info = getDeclarationErrorAddendum();\n\n if (!info) {\n var parentName = typeof parentType === 'string' ? parentType : parentType.displayName || parentType.name;\n\n if (parentName) {\n info = \"\\n\\nCheck the top-level render call using <\" + parentName + \">.\";\n }\n }\n\n return info;\n }\n}\n/**\n * Warn if the element doesn't have an explicit key assigned to it.\n * This element is in an array. The array could grow and shrink or be\n * reordered. All children that haven't already been validated are required to\n * have a \"key\" property assigned to it. Error statuses are cached so a warning\n * will only be shown once.\n *\n * @internal\n * @param {ReactElement} element Element that requires a key.\n * @param {*} parentType element's parent's type.\n */\n\n\nfunction validateExplicitKey(element, parentType) {\n {\n if (!element._store || element._store.validated || element.key != null) {\n return;\n }\n\n element._store.validated = true;\n var currentComponentErrorInfo = getCurrentComponentErrorInfo(parentType);\n\n if (ownerHasKeyUseWarning[currentComponentErrorInfo]) {\n return;\n }\n\n ownerHasKeyUseWarning[currentComponentErrorInfo] = true; // Usually the current owner is the offender, but if it accepts children as a\n // property, it may be the creator of the child that's responsible for\n // assigning it a key.\n\n var childOwner = '';\n\n if (element && element._owner && element._owner !== ReactCurrentOwner$1.current) {\n // Give the component that originally created this child.\n childOwner = \" It was passed a child from \" + getComponentNameFromType(element._owner.type) + \".\";\n }\n\n setCurrentlyValidatingElement$1(element);\n\n error('Each child in a list should have a unique \"key\" prop.' + '%s%s See https://reactjs.org/link/warning-keys for more information.', currentComponentErrorInfo, childOwner);\n\n setCurrentlyValidatingElement$1(null);\n }\n}\n/**\n * Ensure that every element either is passed in a static location, in an\n * array with an explicit keys property defined, or in an object literal\n * with valid key property.\n *\n * @internal\n * @param {ReactNode} node Statically passed child of any type.\n * @param {*} parentType node's parent's type.\n */\n\n\nfunction validateChildKeys(node, parentType) {\n {\n if (typeof node !== 'object') {\n return;\n }\n\n if (isArray(node)) {\n for (var i = 0; i < node.length; i++) {\n var child = node[i];\n\n if (isValidElement(child)) {\n validateExplicitKey(child, parentType);\n }\n }\n } else if (isValidElement(node)) {\n // This element was passed in a valid location.\n if (node._store) {\n node._store.validated = true;\n }\n } else if (node) {\n var iteratorFn = getIteratorFn(node);\n\n if (typeof iteratorFn === 'function') {\n // Entry iterators used to provide implicit keys,\n // but now we print a separate warning for them later.\n if (iteratorFn !== node.entries) {\n var iterator = iteratorFn.call(node);\n var step;\n\n while (!(step = iterator.next()).done) {\n if (isValidElement(step.value)) {\n validateExplicitKey(step.value, parentType);\n }\n }\n }\n }\n }\n }\n}\n/**\n * Given an element, validate that its props follow the propTypes definition,\n * provided by the type.\n *\n * @param {ReactElement} element\n */\n\n\nfunction validatePropTypes(element) {\n {\n var type = element.type;\n\n if (type === null || type === undefined || typeof type === 'string') {\n return;\n }\n\n var propTypes;\n\n if (typeof type === 'function') {\n propTypes = type.propTypes;\n } else if (typeof type === 'object' && (type.$$typeof === REACT_FORWARD_REF_TYPE || // Note: Memo only checks outer props here.\n // Inner props are checked in the reconciler.\n type.$$typeof === REACT_MEMO_TYPE)) {\n propTypes = type.propTypes;\n } else {\n return;\n }\n\n if (propTypes) {\n // Intentionally inside to avoid triggering lazy initializers:\n var name = getComponentNameFromType(type);\n checkPropTypes(propTypes, element.props, 'prop', name, element);\n } else if (type.PropTypes !== undefined && !propTypesMisspellWarningShown) {\n propTypesMisspellWarningShown = true; // Intentionally inside to avoid triggering lazy initializers:\n\n var _name = getComponentNameFromType(type);\n\n error('Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?', _name || 'Unknown');\n }\n\n if (typeof type.getDefaultProps === 'function' && !type.getDefaultProps.isReactClassApproved) {\n error('getDefaultProps is only used on classic React.createClass ' + 'definitions. Use a static property named `defaultProps` instead.');\n }\n }\n}\n/**\n * Given a fragment, validate that it can only be provided with fragment props\n * @param {ReactElement} fragment\n */\n\n\nfunction validateFragmentProps(fragment) {\n {\n var keys = Object.keys(fragment.props);\n\n for (var i = 0; i < keys.length; i++) {\n var key = keys[i];\n\n if (key !== 'children' && key !== 'key') {\n setCurrentlyValidatingElement$1(fragment);\n\n error('Invalid prop `%s` supplied to `React.Fragment`. ' + 'React.Fragment can only have `key` and `children` props.', key);\n\n setCurrentlyValidatingElement$1(null);\n break;\n }\n }\n\n if (fragment.ref !== null) {\n setCurrentlyValidatingElement$1(fragment);\n\n error('Invalid attribute `ref` supplied to `React.Fragment`.');\n\n setCurrentlyValidatingElement$1(null);\n }\n }\n}\n\nvar didWarnAboutKeySpread = {};\nfunction jsxWithValidation(type, props, key, isStaticChildren, source, self) {\n {\n var validType = isValidElementType(type); // We warn in this case but don't throw. We expect the element creation to\n // succeed and there will likely be errors in render.\n\n if (!validType) {\n var info = '';\n\n if (type === undefined || typeof type === 'object' && type !== null && Object.keys(type).length === 0) {\n info += ' You likely forgot to export your component from the file ' + \"it's defined in, or you might have mixed up default and named imports.\";\n }\n\n var sourceInfo = getSourceInfoErrorAddendum(source);\n\n if (sourceInfo) {\n info += sourceInfo;\n } else {\n info += getDeclarationErrorAddendum();\n }\n\n var typeString;\n\n if (type === null) {\n typeString = 'null';\n } else if (isArray(type)) {\n typeString = 'array';\n } else if (type !== undefined && type.$$typeof === REACT_ELEMENT_TYPE) {\n typeString = \"<\" + (getComponentNameFromType(type.type) || 'Unknown') + \" />\";\n info = ' Did you accidentally export a JSX literal instead of a component?';\n } else {\n typeString = typeof type;\n }\n\n error('React.jsx: type is invalid -- expected a string (for ' + 'built-in components) or a class/function (for composite ' + 'components) but got: %s.%s', typeString, info);\n }\n\n var element = jsxDEV(type, props, key, source, self); // The result can be nullish if a mock or a custom function is used.\n // TODO: Drop this when these are no longer allowed as the type argument.\n\n if (element == null) {\n return element;\n } // Skip key warning if the type isn't valid since our key validation logic\n // doesn't expect a non-string/function type and can throw confusing errors.\n // We don't want exception behavior to differ between dev and prod.\n // (Rendering will throw with a helpful message and as soon as the type is\n // fixed, the key warnings will appear.)\n\n\n if (validType) {\n var children = props.children;\n\n if (children !== undefined) {\n if (isStaticChildren) {\n if (isArray(children)) {\n for (var i = 0; i < children.length; i++) {\n validateChildKeys(children[i], type);\n }\n\n if (Object.freeze) {\n Object.freeze(children);\n }\n } else {\n error('React.jsx: Static children should always be an array. ' + 'You are likely explicitly calling React.jsxs or React.jsxDEV. ' + 'Use the Babel transform instead.');\n }\n } else {\n validateChildKeys(children, type);\n }\n }\n }\n\n {\n if (hasOwnProperty.call(props, 'key')) {\n var componentName = getComponentNameFromType(type);\n var keys = Object.keys(props).filter(function (k) {\n return k !== 'key';\n });\n var beforeExample = keys.length > 0 ? '{key: someKey, ' + keys.join(': ..., ') + ': ...}' : '{key: someKey}';\n\n if (!didWarnAboutKeySpread[componentName + beforeExample]) {\n var afterExample = keys.length > 0 ? '{' + keys.join(': ..., ') + ': ...}' : '{}';\n\n error('A props object containing a \"key\" prop is being spread into JSX:\\n' + ' let props = %s;\\n' + ' <%s {...props} />\\n' + 'React keys must be passed directly to JSX without using spread:\\n' + ' let props = %s;\\n' + ' <%s key={someKey} {...props} />', beforeExample, componentName, afterExample, componentName);\n\n didWarnAboutKeySpread[componentName + beforeExample] = true;\n }\n }\n }\n\n if (type === REACT_FRAGMENT_TYPE) {\n validateFragmentProps(element);\n } else {\n validatePropTypes(element);\n }\n\n return element;\n }\n} // These two functions exist to still get child warnings in dev\n// even with the prod transform. This means that jsxDEV is purely\n// opt-in behavior for better messages but that we won't stop\n// giving you warnings if you use production apis.\n\nfunction jsxWithValidationStatic(type, props, key) {\n {\n return jsxWithValidation(type, props, key, true);\n }\n}\nfunction jsxWithValidationDynamic(type, props, key) {\n {\n return jsxWithValidation(type, props, key, false);\n }\n}\n\nvar jsx = jsxWithValidationDynamic ; // we may want to special case jsxs internally to take advantage of static children.\n// for now we can ship identical prod functions\n\nvar jsxs = jsxWithValidationStatic ;\n\nexports.Fragment = REACT_FRAGMENT_TYPE;\nexports.jsx = jsx;\nexports.jsxs = jsxs;\n })();\n}\n","'use strict';\n\nif (process.env.NODE_ENV === 'production') {\n module.exports = require('./cjs/react-jsx-runtime.production.min.js');\n} else {\n module.exports = require('./cjs/react-jsx-runtime.development.js');\n}\n","/**\n * @license React\n * react-jsx-runtime.production.min.js\n *\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n'use strict';var f=require(\"react\"),k=Symbol.for(\"react.element\"),l=Symbol.for(\"react.fragment\"),m=Object.prototype.hasOwnProperty,n=f.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,p={key:!0,ref:!0,__self:!0,__source:!0};\nfunction q(c,a,g){var b,d={},e=null,h=null;void 0!==g&&(e=\"\"+g);void 0!==a.key&&(e=\"\"+a.key);void 0!==a.ref&&(h=a.ref);for(b in a)m.call(a,b)&&!p.hasOwnProperty(b)&&(d[b]=a[b]);if(c&&c.defaultProps)for(b in a=c.defaultProps,a)void 0===d[b]&&(d[b]=a[b]);return{$$typeof:k,type:c,key:e,ref:h,props:d,_owner:n.current}}exports.Fragment=l;exports.jsx=q;exports.jsxs=q;\n","// This file is part of MinIO Design System\n// Copyright (c) 2022 MinIO, Inc.\n//\n// This program is free software: you can redistribute it and/or modify\n// it under the terms of the GNU Affero General Public License as published by\n// the Free Software Foundation, either version 3 of the License, or\n// (at your option) any later version.\n//\n// This program is distributed in the hope that it will be useful,\n// but WITHOUT ANY WARRANTY; without even the implied warranty of\n// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n// GNU Affero General Public License for more details.\n//\n// You should have received a copy of the GNU Affero General Public License\n// along with this program. If not, see .\n\nimport { ThemeDefinitionProps } from \"./global.types\";\n\nexport const lightColors = {\n white: \"#fff\",\n sectionOneBG: \"#fff\",\n defaultFontColor: \"#000\",\n bulletColor: \"#2781B0\",\n borderColor: \"#E2E2E2\",\n boxBackground: \"#FBFAFA\",\n mainGrey: \"#5B5C5C\",\n disabledGrey: \"#E6EBEB\",\n hoverGrey: \"#E6EAEB\",\n pressedGrey: \"#D5D7D8\",\n actionDisabledGrey: \"#E7EAEB\",\n mainBlue: \"#07193E\",\n hoverBlue: \"#0D2453\",\n pressedBlue: \"#05132F\",\n mainRed: \"#C51B3F\",\n hoverRed: \"#FCF2F4\",\n lightRed: \"#C83B51\",\n divisorColor: \"#E3E3E3\",\n disabledBGGrey: \"#D5D7D7\",\n disabledInnerGrey: \"#B4B4B4\",\n logoLabel: \"#000000\",\n logoLabelInverse: \"#fff\",\n promoBlue: \"#A6DFEF\",\n footerDivider: \"#F2F2F2\",\n promoBG: \"#000110\",\n loaderColor: \"#113053\",\n headerBG: \"#FFFFFF\",\n headerBorder: \"#E5E5E5\",\n headerColor: \"#000000\",\n tooltipBG: \"#737373\",\n tooltipColor: \"#FFFFFF\",\n labelColor: \"#07193E\",\n mainGreen: \"#4CCB92\",\n checkBoxBorder: \"#c3c3c3\",\n iconButtonBG: \"#F8F8F8\",\n iconButtonActive: \"#5B5C5C80\",\n iconButtonHover: \"#EFEFEF\",\n iconButtonDisabled: \"#E6EBEB\",\n iconButtonColor: \"#7C7C7C\",\n backLinkColor: \"#073052\",\n backLinkArrow: \"#081C42\",\n backLinkHover: \"#eaedee\",\n commonLinkColor: \"#969FA8\",\n breadcrumbsBackground: \"#FCFCFD\",\n breadcrumbsBackBorder: \"#EAEDEE\",\n breadcrumbsText: \"#969FA8\",\n actionsListBorder: \"#F1F1F1\",\n disabledActionsColor: \"#EBEBEB\",\n optionTextColor: \"#5E5E5E\",\n modalCloseColor: \"#757575\",\n modalCloseHoverBG: \"#EAEAEA\",\n modalOverlayBG: \"#00000050\",\n bulletBGColor: \"#F1F4F4\",\n placeholder: \"#858585\",\n readBoxTextColor: \"#696969\",\n secondAction: \"#005C7E\",\n secondActionHover: \"#1B779A\",\n secondActionActive: \"#07506A\",\n mainOrange: \"#FFBD62\",\n menuBackground:\n \"linear-gradient(90deg, rgba(2,49,80,1) 0%, rgba(0,39,77,1) 50%, rgba(11,34,69,1) 100%)\",\n menuDropArrowColor: \"#8399AB\",\n menuDropArrowBackground: \"#0A1C3C\",\n menuSelectedOption:\n \"linear-gradient(90deg, rgba(0,0,0,0) 0%, rgba(20,88,122,1) 100%)\",\n menuCommonColor: \"#CADAE8\",\n menuColorDivider: \"#0F446C\",\n menuCollapseColor: \"#E8E8E8\",\n menuIconBG: \"#06274E\",\n menuIconBorder: \"#052148\",\n tabBorder: \"#EAEAEA\",\n codeEditorComment: \"#6e7781\",\n codeEditorEntityTag: \"#116329\",\n codeEditorEntity: \"#8250df\",\n codeEditorSublimelinterGutterMark: \"#8c959f\",\n codeEditorConstant: \"#0550ae\",\n codeEditorString: \"#0a3069\",\n codeEditorKeyword: \"#cf222e\",\n codeEditorMarkupBold: \"#24292f\",\n codeEditorRegexp: \"#ffaa00\",\n linkColor: \"#2781B0\",\n mutedText: \"#87888d\",\n disabledOnSwitchBG: \"#a9d3c5\",\n sliderDisabledBG: \"#dbdbdb\",\n};\n\nexport const darkColors = {\n dark: \"#181F2A\",\n sectionOneBG: \"#283140\",\n defaultFontColor: \"#C4C9D0\",\n bulletColor: \"#4B586A\",\n borderColor: \"#8E98A9\",\n boxBackground: \"#283140\",\n mainGrey: \"#A2ADC0\",\n disabledGrey: \"#494A4D\",\n hoverGrey: \"#4B586A\",\n borderPressedGrey: \"#707988\",\n pressedGrey: \"#333D4B\",\n mainWhite: \"#E6ECEC\",\n disabledWhite: \"#B5BCBD\",\n hoverWhite: \"#EFEDED\",\n pressedWhite: \"#C3CBCB\",\n mainRed: \"#FF3958\",\n hoverRed: \"#4B586A\",\n divisorColor: \"#E3E3E3\",\n disabledBGGrey: \"#616A7C\",\n disabledInnerGrey: \"#3A3F4A\",\n logoLabel: \"#A3B7D9\",\n logoLabelInverse: \"#fff\",\n footerDivider: \"#545D6A\",\n footerColor: \"#85B3EE\",\n promoBG: \"#000106\",\n loaderColor: \"#8E98A9\",\n headerBG: \"#212936\",\n headerBorder: \"#191E28\",\n headerColor: \"#E9F5F6\",\n tooltipBG: \"#8E98A9\",\n tooltipColor: \"#161C24\",\n labelColor: \"#A2ADC0\",\n mainGreen: \"#58FAB1\",\n checkBoxBorder: \"#8E98A9\",\n iconButtonBG: \"#A2ADC0\",\n iconButtonActive: \"#707988\",\n iconButtonHover: \"#4B586A\",\n iconButtonDisabled: \"#494A4D\",\n iconButtonColor: \"#283140\",\n backLinkColor: \"#8E98A9\",\n backLinkArrow: \"#A2ADC0\",\n backLinkHover: \"#3A3F4A\",\n modalCloseColor: \"#4B586A\",\n modalCloseHoverBG: \"#4B586A\",\n modalOverlayBG: \"#00010650\",\n bulletBGColor: \"#D5DEEF\",\n disabledSwitchBG: \"#494A4C\",\n disabledOnSwitchBG: \"#a2d7c3\",\n disabledBulletBG: \"#4B586B\",\n placeholder: \"#494A4D\",\n readBoxTextColor: \"#707988\",\n secondAction: \"#1B637E\",\n secondActionHover: \"#297E9D\",\n secondActionActive: \"#145B76\",\n mainOrange: \"#fCCE9D\",\n menuBackground: \"#242D3E\",\n menuDropArrowColor: \"#8E98A9\",\n menuDropArrowBackground: \"#1C2436\",\n menuSelectedOption: \"linear-gradient(90deg, rgba(0,0,0,0) 0%, #1B212C 100%)\",\n menuCommonColor: \"#8E98A9\",\n menuColorDivider: \"#323C4E\",\n menuCollapseColor: \"#E8E8E8\",\n menuIconBG: \"#161F30\",\n menuIconBorder: \"#151E2E\",\n menuHoverSelectedBorderIcon: \"#0E1119\",\n menuHoverSelectedBG: \"#909AAB\",\n codeEditorComment: \"#8b949e\",\n codeEditorEntityTag: \"#7ee787\",\n codeEditorEntity: \"#d2a8ff\",\n codeEditorSublimelinterGutterMark: \"#8E98A9\",\n codeEditorConstant: \"#79c0ff\",\n codeEditorString: \"#a5d6ff\",\n codeEditorKeyword: \"#ff7b72\",\n codeEditorMarkupBold: \"#c9d1d9\",\n codeEditorRegexp: \"#ffd582\",\n linkColor: \"#85B3EE\",\n mutedText: \"#767a80\",\n disabledSliderBullet: \"#939393\",\n};\n\nexport const lightTheme: ThemeDefinitionProps = {\n bgColor: lightColors.white,\n fontColor: lightColors.defaultFontColor,\n borderColor: lightColors.borderColor,\n bulletColor: lightColors.bulletColor,\n logoColor: lightColors.mainRed,\n logoLabelColor: lightColors.logoLabel,\n logoLabelInverse: lightColors.logoLabelInverse,\n logoContrast: lightColors.white,\n logoContrastInverse: lightColors.logoLabel,\n loaderColor: lightColors.loaderColor,\n linkColor: lightColors.linkColor,\n boxBackground: lightColors.boxBackground,\n mutedText: lightColors.mutedText,\n secondaryText: lightColors.mainGrey,\n signalColors: {\n main: lightColors.mainBlue,\n danger: lightColors.mainRed,\n good: lightColors.mainGreen,\n info: lightColors.bulletColor,\n warning: lightColors.mainOrange,\n disabled: lightColors.disabledGrey,\n dark: lightColors.defaultFontColor,\n clear: lightColors.white,\n },\n buttons: {\n regular: {\n enabled: {\n border: lightColors.mainGrey,\n text: lightColors.mainGrey,\n background: \"transparent\",\n iconColor: lightColors.mainGrey,\n },\n disabled: {\n border: lightColors.disabledInnerGrey,\n text: lightColors.disabledInnerGrey,\n background: lightColors.disabledBGGrey,\n iconColor: lightColors.disabledInnerGrey,\n },\n hover: {\n border: lightColors.mainGrey,\n text: lightColors.mainGrey,\n background: lightColors.hoverGrey,\n iconColor: lightColors.mainGrey,\n },\n pressed: {\n border: lightColors.mainGrey,\n text: lightColors.mainGrey,\n background: lightColors.pressedGrey,\n iconColor: lightColors.mainGrey,\n },\n },\n callAction: {\n enabled: {\n border: lightColors.mainBlue,\n text: lightColors.white,\n background: lightColors.mainBlue,\n iconColor: lightColors.white,\n },\n disabled: {\n border: lightColors.actionDisabledGrey,\n text: lightColors.mainGrey,\n background: lightColors.actionDisabledGrey,\n iconColor: lightColors.mainGrey,\n },\n hover: {\n border: lightColors.hoverBlue,\n text: lightColors.white,\n background: lightColors.hoverBlue,\n iconColor: lightColors.white,\n },\n pressed: {\n border: lightColors.pressedBlue,\n text: lightColors.white,\n background: lightColors.pressedBlue,\n iconColor: lightColors.white,\n },\n },\n secondary: {\n enabled: {\n border: lightColors.mainRed,\n text: lightColors.mainRed,\n background: \"transparent\",\n iconColor: lightColors.mainRed,\n },\n disabled: {\n border: lightColors.disabledInnerGrey,\n text: lightColors.disabledInnerGrey,\n background: lightColors.disabledBGGrey,\n iconColor: lightColors.disabledInnerGrey,\n },\n hover: {\n border: lightColors.lightRed,\n text: lightColors.mainRed,\n background: lightColors.hoverRed,\n iconColor: lightColors.mainRed,\n },\n pressed: {\n border: lightColors.mainRed,\n text: lightColors.white,\n background: lightColors.mainRed,\n iconColor: lightColors.white,\n },\n },\n text: {\n enabled: {\n border: \"transparent\",\n text: lightColors.mainGrey,\n background: \"transparent\",\n iconColor: lightColors.mainGrey,\n },\n disabled: {\n border: \"transparent\",\n text: lightColors.disabledInnerGrey,\n background: \"transparent\",\n iconColor: lightColors.disabledInnerGrey,\n },\n hover: {\n border: lightColors.hoverGrey,\n text: lightColors.mainGrey,\n background: lightColors.hoverGrey,\n iconColor: lightColors.mainGrey,\n },\n pressed: {\n border: lightColors.pressedGrey,\n text: lightColors.mainGrey,\n background: lightColors.pressedGrey,\n iconColor: lightColors.mainGrey,\n },\n },\n subAction: {\n enabled: {\n border: lightColors.secondAction,\n text: lightColors.white,\n background: lightColors.secondAction,\n iconColor: lightColors.white,\n },\n disabled: {\n border: lightColors.actionDisabledGrey,\n text: lightColors.mainGrey,\n background: lightColors.actionDisabledGrey,\n iconColor: lightColors.mainGrey,\n },\n hover: {\n border: lightColors.secondActionHover,\n text: lightColors.white,\n background: lightColors.secondActionHover,\n iconColor: lightColors.white,\n },\n pressed: {\n border: lightColors.secondActionActive,\n text: lightColors.white,\n background: lightColors.secondActionActive,\n iconColor: lightColors.white,\n },\n },\n },\n login: {\n formBG: lightColors.sectionOneBG,\n bgFilter: \"none\",\n promoBG: lightColors.promoBG,\n promoHeader: lightColors.white,\n promoText: lightColors.promoBlue,\n footerElements: lightColors.bulletColor,\n footerDivider: lightColors.footerDivider,\n },\n pageHeader: {\n background: lightColors.headerBG,\n border: lightColors.headerBorder,\n color: lightColors.headerColor,\n },\n tooltip: {\n background: lightColors.tooltipBG,\n color: lightColors.tooltipColor,\n },\n commonInput: {\n labelColor: lightColors.labelColor,\n },\n checkbox: {\n checkBoxBorder: lightColors.checkBoxBorder,\n checkBoxColor: lightColors.mainGreen,\n disabledBorder: lightColors.disabledBGGrey,\n disabledColor: lightColors.disabledBGGrey,\n },\n iconButton: {\n buttonBG: lightColors.iconButtonBG,\n activeBG: lightColors.iconButtonActive,\n hoverBG: lightColors.iconButtonHover,\n disabledBG: lightColors.iconButtonDisabled,\n color: lightColors.iconButtonColor,\n },\n dataTable: {\n border: lightColors.borderColor,\n disabledBorder: lightColors.disabledGrey,\n disabledBG: lightColors.disabledBGGrey,\n selected: lightColors.mainBlue,\n deletedDisabled: lightColors.mainRed,\n hoverColor: lightColors.hoverGrey,\n },\n backLink: {\n color: lightColors.backLinkColor,\n arrow: lightColors.backLinkArrow,\n hover: lightColors.backLinkHover,\n },\n inputBox: {\n border: lightColors.borderColor,\n hoverBorder: lightColors.promoBG,\n color: lightColors.mainBlue,\n backgroundColor: lightColors.white,\n error: lightColors.mainRed,\n placeholderColor: lightColors.placeholder,\n disabledBorder: lightColors.disabledInnerGrey,\n disabledBackground: lightColors.disabledGrey,\n disabledPlaceholder: lightColors.disabledGrey,\n disabledText: lightColors.disabledInnerGrey,\n },\n breadcrumbs: {\n border: lightColors.borderColor,\n linksColor: lightColors.commonLinkColor,\n textColor: lightColors.breadcrumbsText,\n backgroundColor: lightColors.breadcrumbsBackground,\n backButton: {\n border: lightColors.breadcrumbsBackBorder,\n backgroundColor: lightColors.white,\n },\n },\n actionsList: {\n containerBorderColor: lightColors.actionsListBorder,\n backgroundColor: lightColors.iconButtonBG,\n disabledOptionsTextColor: lightColors.disabledActionsColor,\n optionsBorder: lightColors.headerBorder,\n optionsHoverTextColor: lightColors.defaultFontColor,\n optionsTextColor: lightColors.optionTextColor,\n titleColor: lightColors.defaultFontColor,\n },\n screenTitle: {\n border: lightColors.borderColor,\n subtitleColor: lightColors.commonLinkColor,\n iconColor: lightColors.mainBlue,\n },\n modalBox: {\n closeColor: lightColors.modalCloseColor,\n closeHoverBG: lightColors.modalCloseHoverBG,\n closeHoverColor: lightColors.defaultFontColor,\n containerColor: lightColors.white,\n overlayColor: lightColors.modalOverlayBG,\n titleColor: lightColors.defaultFontColor,\n iconColor: {\n default: lightColors.mainBlue,\n accept: lightColors.mainGreen,\n delete: lightColors.mainRed,\n },\n },\n switchButton: {\n bulletBGColor: lightColors.bulletBGColor,\n bulletBorderColor: lightColors.white,\n disabledBulletBGColor: lightColors.hoverGrey,\n disabledBulletBorderColor: lightColors.bulletBGColor,\n offLabelColor: lightColors.disabledInnerGrey,\n onLabelColor: lightColors.mainBlue,\n onBackgroundColor: lightColors.mainGreen,\n switchBackground: lightColors.hoverGrey,\n disabledBackground: lightColors.hoverGrey,\n disabledOnBackground: lightColors.disabledOnSwitchBG,\n },\n dropdownSelector: {\n hoverText: lightColors.defaultFontColor,\n backgroundColor: lightColors.white,\n hoverBG: lightColors.hoverGrey,\n selectedBGColor: lightColors.pressedGrey,\n selectedTextColor: lightColors.defaultFontColor,\n optionTextColor: lightColors.defaultFontColor,\n disabledText: lightColors.disabledGrey,\n },\n readBox: {\n borderColor: lightColors.headerBorder,\n backgroundColor: lightColors.boxBackground,\n textColor: lightColors.readBoxTextColor,\n },\n menu: {\n vertical: {\n background: lightColors.menuBackground,\n textColor: lightColors.menuCommonColor,\n hoverSelectedIconBorder: lightColors.white,\n iconBorderColor: lightColors.menuIconBorder,\n iconBGColor: lightColors.menuIconBG,\n dropArrowColor: lightColors.menuDropArrowColor,\n dropArrowBackground: lightColors.menuDropArrowBackground,\n hoverSelectedBackground: lightColors.menuSelectedOption,\n hoverSelectedColor: lightColors.white,\n notificationColor: lightColors.mainRed,\n sectionDividerColor: lightColors.menuColorDivider,\n sectionLabelColor: lightColors.white,\n menuCollapseColor: lightColors.menuCollapseColor,\n },\n horizontal: {\n menuHeaderBackground: lightColors.menuBackground,\n textColor: lightColors.optionTextColor,\n hoverSelectedIconBorder: lightColors.defaultFontColor,\n iconBorderColor: lightColors.menuIconBorder,\n iconBGColor: lightColors.boxBackground,\n dropArrowColor: lightColors.menuDropArrowColor,\n dropArrowBackground: lightColors.boxBackground,\n hoverSelectedBackground: lightColors.mainBlue,\n hoverSelectedColor: lightColors.defaultFontColor,\n notificationColor: lightColors.lightRed,\n sectionDividerColor: lightColors.menuColorDivider,\n barBackground: lightColors.boxBackground,\n dropBackground: lightColors.boxBackground,\n dropHoverSelectedColor: lightColors.white,\n noOptionsBar: lightColors.bulletColor,\n },\n },\n tabs: {\n vertical: {\n buttons: {\n hoverLabelColor: lightColors.mainBlue,\n hoverBackground: \"transparent\",\n backgroundColor: lightColors.iconButtonBG,\n labelColor: lightColors.mainGrey,\n disabledBackgroundColor: lightColors.disabledBGGrey,\n disabledColor: lightColors.disabledInnerGrey,\n selectedBackground: lightColors.headerBorder,\n selectedLabelColor: lightColors.mainBlue,\n },\n backgroundColor: lightColors.iconButtonBG,\n borders: lightColors.tabBorder,\n },\n horizontal: {\n buttons: {\n hoverLabelColor: lightColors.mainBlue,\n hoverBackground: \"transparent\",\n backgroundColor: \"transparent\",\n labelColor: lightColors.mainGrey,\n disabledBackgroundColor: \"transparent\",\n disabledColor: lightColors.disabledInnerGrey,\n selectedBackground: \"transparent\",\n selectedLabelColor: lightColors.mainBlue,\n },\n backgroundColor: lightColors.boxBackground,\n selectedIndicatorColor: lightColors.mainBlue,\n },\n },\n codeEditor: {\n backgroundColor: lightColors.white,\n textColor: lightColors.defaultFontColor,\n helpToolsBarBG: lightColors.boxBackground,\n comment: lightColors.codeEditorComment,\n entityTag: lightColors.codeEditorEntityTag,\n entity: lightColors.codeEditorEntity,\n sublimelinterGutterMark: lightColors.codeEditorSublimelinterGutterMark,\n constant: lightColors.codeEditorConstant,\n string: lightColors.codeEditorString,\n keyword: lightColors.codeEditorKeyword,\n markupBold: lightColors.codeEditorMarkupBold,\n codeEditorRegexp: lightColors.codeEditorRegexp,\n },\n tag: {\n alert: {\n background: lightColors.mainRed,\n label: lightColors.white,\n deleteColor: lightColors.white,\n },\n default: {\n background: lightColors.mainBlue,\n label: lightColors.white,\n deleteColor: lightColors.white,\n },\n secondary: {\n background: lightColors.secondAction,\n label: lightColors.white,\n deleteColor: lightColors.white,\n },\n warn: {\n background: lightColors.mainOrange,\n label: lightColors.defaultFontColor,\n deleteColor: lightColors.defaultFontColor,\n },\n ok: {\n background: lightColors.mainGreen,\n label: lightColors.defaultFontColor,\n deleteColor: lightColors.defaultFontColor,\n },\n grey: {\n background: lightColors.actionDisabledGrey,\n label: lightColors.defaultFontColor,\n deleteColor: lightColors.defaultFontColor,\n },\n },\n snackbar: {\n error: {\n backgroundColor: lightColors.mainRed,\n labelColor: lightColors.white,\n },\n default: {\n backgroundColor: lightColors.mainBlue,\n labelColor: lightColors.white,\n },\n success: {\n backgroundColor: lightColors.mainGreen,\n labelColor: lightColors.white,\n },\n warning: {\n backgroundColor: lightColors.mainOrange,\n labelColor: lightColors.defaultFontColor,\n },\n },\n informativeMessage: {\n error: {\n backgroundColor: lightColors.mainRed,\n borderColor: lightColors.mainRed,\n textColor: lightColors.white,\n },\n default: {\n backgroundColor: lightColors.mainBlue,\n borderColor: lightColors.mainBlue,\n textColor: lightColors.white,\n },\n success: {\n backgroundColor: lightColors.mainGreen,\n borderColor: lightColors.mainGreen,\n textColor: lightColors.white,\n },\n warning: {\n backgroundColor: lightColors.mainOrange,\n borderColor: lightColors.mainOrange,\n textColor: lightColors.defaultFontColor,\n },\n },\n badge: {\n alert: {\n backgroundColor: lightColors.mainRed,\n textColor: lightColors.white,\n },\n default: {\n backgroundColor: lightColors.mainBlue,\n textColor: lightColors.white,\n },\n secondary: {\n backgroundColor: lightColors.secondAction,\n textColor: lightColors.white,\n },\n warn: {\n backgroundColor: lightColors.mainOrange,\n textColor: lightColors.defaultFontColor,\n },\n ok: {\n backgroundColor: lightColors.mainGreen,\n textColor: lightColors.defaultFontColor,\n },\n grey: {\n backgroundColor: lightColors.actionDisabledGrey,\n textColor: lightColors.defaultFontColor,\n },\n },\n wizard: {\n stepsBackground: lightColors.boxBackground,\n vertical: {\n stepLabelColor: lightColors.defaultFontColor,\n selectedStepBG: lightColors.borderColor,\n selectedStepLabelColor: lightColors.defaultFontColor,\n disabledLabelColor: lightColors.disabledInnerGrey,\n },\n modal: {\n stepLabelColor: lightColors.defaultFontColor,\n selectedStepBG: lightColors.borderColor,\n selectedStepLabelColor: lightColors.defaultFontColor,\n disabledLabelColor: lightColors.disabledGrey,\n },\n },\n slider: {\n bulletBG: lightColors.bulletColor,\n railBG: lightColors.borderColor,\n disabledRail: lightColors.sliderDisabledBG,\n disabledBullet: lightColors.disabledInnerGrey,\n },\n};\n\nexport const darkTheme: ThemeDefinitionProps = {\n bgColor: darkColors.dark,\n fontColor: darkColors.defaultFontColor,\n borderColor: darkColors.borderColor,\n bulletColor: darkColors.bulletColor,\n logoColor: darkColors.mainRed,\n logoLabelColor: darkColors.logoLabel,\n logoLabelInverse: darkColors.logoLabelInverse,\n logoContrast: darkColors.dark,\n logoContrastInverse: darkColors.dark,\n loaderColor: darkColors.loaderColor,\n linkColor: darkColors.linkColor,\n boxBackground: darkColors.boxBackground,\n mutedText: darkColors.mutedText,\n secondaryText: darkColors.mainGrey,\n signalColors: {\n main: darkColors.mainGrey,\n danger: darkColors.mainRed,\n good: darkColors.mainGreen,\n info: darkColors.secondActionHover,\n warning: darkColors.mainOrange,\n disabled: darkColors.disabledGrey,\n dark: darkColors.dark,\n clear: darkColors.mainWhite,\n },\n buttons: {\n regular: {\n enabled: {\n border: darkColors.mainGrey,\n text: darkColors.mainGrey,\n background: \"transparent\",\n iconColor: darkColors.mainGrey,\n },\n disabled: {\n border: darkColors.disabledInnerGrey,\n text: darkColors.disabledInnerGrey,\n background: darkColors.disabledBGGrey,\n iconColor: darkColors.disabledInnerGrey,\n },\n hover: {\n border: darkColors.mainGrey,\n text: darkColors.mainGrey,\n background: darkColors.hoverGrey,\n iconColor: darkColors.mainGrey,\n },\n pressed: {\n border: darkColors.borderPressedGrey,\n text: darkColors.borderPressedGrey,\n background: darkColors.pressedGrey,\n iconColor: darkColors.borderPressedGrey,\n },\n },\n callAction: {\n enabled: {\n border: darkColors.mainWhite,\n text: darkColors.dark,\n background: darkColors.mainWhite,\n iconColor: darkColors.dark,\n },\n disabled: {\n border: darkColors.disabledWhite,\n text: darkColors.dark,\n background: darkColors.disabledWhite,\n iconColor: darkColors.dark,\n },\n hover: {\n border: darkColors.hoverWhite,\n text: darkColors.dark,\n background: darkColors.hoverWhite,\n iconColor: darkColors.dark,\n },\n pressed: {\n border: darkColors.pressedWhite,\n text: darkColors.dark,\n background: darkColors.pressedWhite,\n iconColor: darkColors.dark,\n },\n },\n secondary: {\n enabled: {\n border: darkColors.mainRed,\n text: darkColors.mainRed,\n background: \"transparent\",\n iconColor: darkColors.mainRed,\n },\n disabled: {\n border: darkColors.disabledInnerGrey,\n text: darkColors.disabledInnerGrey,\n background: darkColors.disabledBGGrey,\n iconColor: darkColors.disabledInnerGrey,\n },\n hover: {\n border: darkColors.mainRed,\n text: darkColors.mainRed,\n background: darkColors.hoverRed,\n iconColor: darkColors.mainRed,\n },\n pressed: {\n border: darkColors.mainRed,\n text: darkColors.dark,\n background: darkColors.mainRed,\n iconColor: darkColors.dark,\n },\n },\n text: {\n enabled: {\n border: \"transparent\",\n text: darkColors.mainGrey,\n background: \"transparent\",\n iconColor: darkColors.mainGrey,\n },\n disabled: {\n border: \"transparent\",\n text: darkColors.disabledInnerGrey,\n background: \"transparent\",\n iconColor: darkColors.disabledInnerGrey,\n },\n hover: {\n border: darkColors.hoverGrey,\n text: darkColors.mainGrey,\n background: darkColors.hoverGrey,\n iconColor: darkColors.mainGrey,\n },\n pressed: {\n border: darkColors.pressedGrey,\n text: darkColors.borderPressedGrey,\n background: darkColors.pressedGrey,\n iconColor: darkColors.borderPressedGrey,\n },\n },\n subAction: {\n enabled: {\n border: darkColors.secondAction,\n text: darkColors.mainWhite,\n background: darkColors.secondAction,\n iconColor: darkColors.mainWhite,\n },\n disabled: {\n border: darkColors.disabledWhite,\n text: darkColors.dark,\n background: darkColors.disabledWhite,\n iconColor: darkColors.dark,\n },\n hover: {\n border: darkColors.secondActionHover,\n text: darkColors.mainWhite,\n background: darkColors.secondActionHover,\n iconColor: darkColors.mainWhite,\n },\n pressed: {\n border: darkColors.secondActionActive,\n text: darkColors.mainWhite,\n background: darkColors.secondActionActive,\n iconColor: darkColors.mainWhite,\n },\n },\n },\n login: {\n formBG: darkColors.sectionOneBG,\n promoBG: darkColors.promoBG,\n bgFilter: \"grayscale(50%)\",\n promoHeader: darkColors.logoLabel,\n promoText: darkColors.logoLabel,\n footerElements: darkColors.footerColor,\n footerDivider: darkColors.footerDivider,\n },\n pageHeader: {\n background: darkColors.headerBG,\n border: darkColors.headerBorder,\n color: darkColors.headerColor,\n },\n tooltip: {\n background: darkColors.tooltipBG,\n color: darkColors.tooltipColor,\n },\n commonInput: {\n labelColor: darkColors.labelColor,\n },\n checkbox: {\n checkBoxBorder: darkColors.checkBoxBorder,\n checkBoxColor: darkColors.mainGreen,\n disabledBorder: darkColors.disabledInnerGrey,\n disabledColor: darkColors.disabledBGGrey,\n },\n iconButton: {\n buttonBG: darkColors.iconButtonBG,\n activeBG: darkColors.iconButtonActive,\n hoverBG: darkColors.iconButtonHover,\n disabledBG: darkColors.iconButtonDisabled,\n color: darkColors.iconButtonColor,\n },\n dataTable: {\n border: darkColors.borderColor,\n disabledBorder: darkColors.disabledGrey,\n disabledBG: darkColors.disabledBGGrey,\n selected: darkColors.mainWhite,\n deletedDisabled: darkColors.mainRed,\n hoverColor: darkColors.hoverGrey,\n },\n backLink: {\n color: darkColors.backLinkColor,\n arrow: darkColors.backLinkArrow,\n hover: darkColors.backLinkHover,\n },\n inputBox: {\n border: darkColors.borderColor,\n hoverBorder: darkColors.mainWhite,\n color: darkColors.mainGrey,\n backgroundColor: darkColors.dark,\n error: darkColors.mainRed,\n placeholderColor: darkColors.placeholder,\n disabledBorder: darkColors.disabledGrey,\n disabledBackground: darkColors.disabledInnerGrey,\n disabledPlaceholder: darkColors.disabledGrey,\n disabledText: darkColors.disabledBGGrey,\n },\n breadcrumbs: {\n border: darkColors.borderColor,\n linksColor: darkColors.mainGrey,\n textColor: darkColors.mainGrey,\n backgroundColor: darkColors.sectionOneBG,\n backButton: {\n border: darkColors.borderColor,\n backgroundColor: darkColors.sectionOneBG,\n },\n },\n actionsList: {\n containerBorderColor: darkColors.bulletColor,\n backgroundColor: darkColors.sectionOneBG,\n disabledOptionsTextColor: darkColors.disabledGrey,\n optionsBorder: darkColors.bulletColor,\n optionsHoverTextColor: darkColors.hoverWhite,\n optionsTextColor: darkColors.defaultFontColor,\n titleColor: darkColors.defaultFontColor,\n },\n screenTitle: {\n border: darkColors.borderColor,\n subtitleColor: darkColors.hoverGrey,\n iconColor: darkColors.mainGrey,\n },\n modalBox: {\n closeColor: darkColors.modalCloseColor,\n closeHoverBG: darkColors.modalCloseHoverBG,\n closeHoverColor: darkColors.defaultFontColor,\n containerColor: darkColors.boxBackground,\n overlayColor: darkColors.modalOverlayBG,\n titleColor: darkColors.defaultFontColor,\n iconColor: {\n default: darkColors.mainGrey,\n accept: darkColors.mainGreen,\n delete: darkColors.mainRed,\n },\n },\n switchButton: {\n bulletBGColor: darkColors.bulletBGColor,\n bulletBorderColor: darkColors.mainWhite,\n disabledBulletBGColor: darkColors.disabledBulletBG,\n disabledBulletBorderColor: darkColors.backLinkArrow,\n offLabelColor: darkColors.hoverGrey,\n onLabelColor: darkColors.hoverWhite,\n onBackgroundColor: darkColors.mainGreen,\n switchBackground: darkColors.backLinkArrow,\n disabledBackground: darkColors.disabledSwitchBG,\n disabledOnBackground: darkColors.disabledOnSwitchBG,\n },\n dropdownSelector: {\n hoverText: darkColors.dark,\n backgroundColor: darkColors.sectionOneBG,\n hoverBG: darkColors.mainGrey,\n selectedBGColor: darkColors.bulletColor,\n selectedTextColor: darkColors.mainWhite,\n optionTextColor: darkColors.defaultFontColor,\n disabledText: darkColors.disabledGrey,\n },\n readBox: {\n borderColor: darkColors.headerBorder,\n backgroundColor: darkColors.boxBackground,\n textColor: darkColors.readBoxTextColor,\n },\n menu: {\n vertical: {\n background: darkColors.menuBackground,\n textColor: darkColors.menuCommonColor,\n hoverSelectedIconBorder: darkColors.menuHoverSelectedBorderIcon,\n iconBorderColor: darkColors.menuIconBorder,\n iconBGColor: darkColors.menuIconBG,\n dropArrowColor: darkColors.menuDropArrowColor,\n dropArrowBackground: darkColors.menuDropArrowBackground,\n hoverSelectedBackground: darkColors.menuSelectedOption,\n hoverSelectedColor: darkColors.headerColor,\n notificationColor: darkColors.mainRed,\n sectionDividerColor: darkColors.menuColorDivider,\n sectionLabelColor: darkColors.headerColor,\n menuCollapseColor: darkColors.menuCollapseColor,\n },\n horizontal: {\n menuHeaderBackground: darkColors.menuBackground,\n textColor: darkColors.defaultFontColor,\n hoverSelectedIconBorder: darkColors.defaultFontColor,\n iconBorderColor: darkColors.menuIconBorder,\n iconBGColor: darkColors.boxBackground,\n dropArrowColor: darkColors.menuDropArrowColor,\n dropArrowBackground: darkColors.boxBackground,\n hoverSelectedBackground: darkColors.mainGrey,\n hoverSelectedColor: darkColors.headerColor,\n notificationColor: darkColors.mainRed,\n sectionDividerColor: darkColors.menuColorDivider,\n barBackground: darkColors.boxBackground,\n dropBackground: darkColors.boxBackground,\n dropHoverSelectedColor: darkColors.dark,\n noOptionsBar: darkColors.mainGrey,\n },\n },\n tabs: {\n vertical: {\n buttons: {\n hoverLabelColor: darkColors.mainWhite,\n hoverBackground: \"transparent\",\n backgroundColor: darkColors.boxBackground,\n labelColor: darkColors.defaultFontColor,\n disabledBackgroundColor: darkColors.disabledBGGrey,\n disabledColor: darkColors.disabledInnerGrey,\n selectedBackground: darkColors.iconButtonBG,\n selectedLabelColor: darkColors.dark,\n },\n backgroundColor: darkColors.boxBackground,\n borders: darkColors.borderColor,\n },\n horizontal: {\n buttons: {\n hoverLabelColor: darkColors.mainWhite,\n hoverBackground: \"transparent\",\n backgroundColor: \"transparent\",\n labelColor: darkColors.defaultFontColor,\n disabledBackgroundColor: \"transparent\",\n disabledColor: darkColors.disabledInnerGrey,\n selectedBackground: \"transparent\",\n selectedLabelColor: darkColors.mainWhite,\n },\n backgroundColor: darkColors.boxBackground,\n selectedIndicatorColor: darkColors.mainWhite,\n },\n },\n codeEditor: {\n backgroundColor: darkColors.boxBackground,\n textColor: darkColors.mainWhite,\n helpToolsBarBG: darkColors.boxBackground,\n comment: darkColors.codeEditorComment,\n entityTag: darkColors.codeEditorEntityTag,\n entity: darkColors.codeEditorEntity,\n sublimelinterGutterMark: darkColors.codeEditorSublimelinterGutterMark,\n constant: darkColors.codeEditorConstant,\n string: darkColors.codeEditorString,\n keyword: darkColors.codeEditorKeyword,\n markupBold: darkColors.codeEditorMarkupBold,\n codeEditorRegexp: darkColors.codeEditorRegexp,\n },\n tag: {\n alert: {\n background: darkColors.mainRed,\n label: darkColors.mainWhite,\n deleteColor: darkColors.mainWhite,\n },\n default: {\n background: darkColors.mainGrey,\n label: darkColors.dark,\n deleteColor: darkColors.dark,\n },\n secondary: {\n background: darkColors.secondAction,\n label: darkColors.mainWhite,\n deleteColor: darkColors.mainWhite,\n },\n warn: {\n background: darkColors.mainOrange,\n label: darkColors.dark,\n deleteColor: darkColors.dark,\n },\n ok: {\n background: darkColors.mainGreen,\n label: darkColors.dark,\n deleteColor: darkColors.dark,\n },\n grey: {\n background: darkColors.disabledBGGrey,\n label: darkColors.mainWhite,\n deleteColor: darkColors.mainWhite,\n },\n },\n snackbar: {\n error: {\n backgroundColor: darkColors.mainRed,\n labelColor: darkColors.mainWhite,\n },\n default: {\n backgroundColor: darkColors.mainGrey,\n labelColor: darkColors.dark,\n },\n success: {\n backgroundColor: darkColors.mainGreen,\n labelColor: darkColors.dark,\n },\n warning: {\n backgroundColor: darkColors.mainOrange,\n labelColor: darkColors.dark,\n },\n },\n informativeMessage: {\n error: {\n backgroundColor: darkColors.mainRed,\n borderColor: darkColors.mainRed,\n textColor: darkColors.mainWhite,\n },\n default: {\n backgroundColor: darkColors.mainGrey,\n borderColor: darkColors.mainGrey,\n textColor: darkColors.dark,\n },\n success: {\n backgroundColor: darkColors.mainGreen,\n borderColor: darkColors.mainGreen,\n textColor: darkColors.dark,\n },\n warning: {\n backgroundColor: darkColors.mainOrange,\n borderColor: darkColors.mainOrange,\n textColor: darkColors.dark,\n },\n },\n badge: {\n alert: {\n backgroundColor: darkColors.mainRed,\n textColor: darkColors.mainWhite,\n },\n default: {\n backgroundColor: darkColors.mainGrey,\n textColor: darkColors.dark,\n },\n secondary: {\n backgroundColor: darkColors.secondAction,\n textColor: darkColors.mainWhite,\n },\n warn: {\n backgroundColor: darkColors.mainOrange,\n textColor: darkColors.dark,\n },\n ok: {\n backgroundColor: darkColors.mainGreen,\n textColor: darkColors.dark,\n },\n grey: {\n backgroundColor: darkColors.disabledBGGrey,\n textColor: darkColors.mainWhite,\n },\n },\n wizard: {\n stepsBackground: darkColors.boxBackground,\n vertical: {\n stepLabelColor: darkColors.defaultFontColor,\n selectedStepBG: darkColors.borderColor,\n selectedStepLabelColor: darkColors.dark,\n disabledLabelColor: darkColors.disabledGrey,\n },\n modal: {\n stepLabelColor: darkColors.defaultFontColor,\n selectedStepBG: darkColors.borderColor,\n selectedStepLabelColor: darkColors.mainWhite,\n disabledLabelColor: darkColors.disabledGrey,\n },\n },\n slider: {\n bulletBG: darkColors.defaultFontColor,\n railBG: darkColors.footerDivider,\n disabledRail: darkColors.disabledSwitchBG,\n disabledBullet: darkColors.disabledSliderBullet,\n },\n};\n","// This file is part of MinIO Design System\n// Copyright (c) 2022 MinIO, Inc.\n//\n// This program is free software: you can redistribute it and/or modify\n// it under the terms of the GNU Affero General Public License as published by\n// the Free Software Foundation, either version 3 of the License, or\n// (at your option) any later version.\n//\n// This program is distributed in the hope that it will be useful,\n// but WITHOUT ANY WARRANTY; without even the implied warranty of\n// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n// GNU Affero General Public License for more details.\n//\n// You should have received a copy of the GNU Affero General Public License\n// along with this program. If not, see .\n\nimport React, { FC } from \"react\";\nimport { ThemeHandlerProps } from \"./ThemeHandler.types\";\nimport { darkTheme, lightTheme } from \"../../global/themes\";\nimport { ThemeProvider } from \"styled-components\";\nimport { ThemeDefinitionProps } from \"../../global/global.types\";\n\nconst ThemeHandler: FC = ({\n darkMode = false,\n children,\n customTheme,\n}) => {\n let selectedTheme: ThemeDefinitionProps = darkMode ? darkTheme : lightTheme;\n\n if (customTheme) {\n selectedTheme = customTheme;\n }\n\n return {children};\n};\n\nexport default ThemeHandler;\n","/**\n * Checks if `value` is classified as an `Array` object.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is an array, else `false`.\n * @example\n *\n * _.isArray([1, 2, 3]);\n * // => true\n *\n * _.isArray(document.body.children);\n * // => false\n *\n * _.isArray('abc');\n * // => false\n *\n * _.isArray(_.noop);\n * // => false\n */\nvar isArray = Array.isArray;\n\nmodule.exports = isArray;\n","var freeGlobal = require('./_freeGlobal');\n\n/** Detect free variable `self`. */\nvar freeSelf = typeof self == 'object' && self && self.Object === Object && self;\n\n/** Used as a reference to the global object. */\nvar root = freeGlobal || freeSelf || Function('return this')();\n\nmodule.exports = root;\n","/** Detect free variable `global` from Node.js. */\nvar freeGlobal = typeof global == 'object' && global && global.Object === Object && global;\n\nmodule.exports = freeGlobal;\n","var root = require('./_root');\n\n/** Built-in value references. */\nvar Symbol = root.Symbol;\n\nmodule.exports = Symbol;\n","var Symbol = require('./_Symbol'),\n getRawTag = require('./_getRawTag'),\n objectToString = require('./_objectToString');\n\n/** `Object#toString` result references. */\nvar nullTag = '[object Null]',\n undefinedTag = '[object Undefined]';\n\n/** Built-in value references. */\nvar symToStringTag = Symbol ? Symbol.toStringTag : undefined;\n\n/**\n * The base implementation of `getTag` without fallbacks for buggy environments.\n *\n * @private\n * @param {*} value The value to query.\n * @returns {string} Returns the `toStringTag`.\n */\nfunction baseGetTag(value) {\n if (value == null) {\n return value === undefined ? undefinedTag : nullTag;\n }\n return (symToStringTag && symToStringTag in Object(value))\n ? getRawTag(value)\n : objectToString(value);\n}\n\nmodule.exports = baseGetTag;\n","var Symbol = require('./_Symbol');\n\n/** Used for built-in method references. */\nvar objectProto = Object.prototype;\n\n/** Used to check objects for own properties. */\nvar hasOwnProperty = objectProto.hasOwnProperty;\n\n/**\n * Used to resolve the\n * [`toStringTag`](http://ecma-international.org/ecma-262/7.0/#sec-object.prototype.tostring)\n * of values.\n */\nvar nativeObjectToString = objectProto.toString;\n\n/** Built-in value references. */\nvar symToStringTag = Symbol ? Symbol.toStringTag : undefined;\n\n/**\n * A specialized version of `baseGetTag` which ignores `Symbol.toStringTag` values.\n *\n * @private\n * @param {*} value The value to query.\n * @returns {string} Returns the raw `toStringTag`.\n */\nfunction getRawTag(value) {\n var isOwn = hasOwnProperty.call(value, symToStringTag),\n tag = value[symToStringTag];\n\n try {\n value[symToStringTag] = undefined;\n var unmasked = true;\n } catch (e) {}\n\n var result = nativeObjectToString.call(value);\n if (unmasked) {\n if (isOwn) {\n value[symToStringTag] = tag;\n } else {\n delete value[symToStringTag];\n }\n }\n return result;\n}\n\nmodule.exports = getRawTag;\n","/** Used for built-in method references. */\nvar objectProto = Object.prototype;\n\n/**\n * Used to resolve the\n * [`toStringTag`](http://ecma-international.org/ecma-262/7.0/#sec-object.prototype.tostring)\n * of values.\n */\nvar nativeObjectToString = objectProto.toString;\n\n/**\n * Converts `value` to a string using `Object.prototype.toString`.\n *\n * @private\n * @param {*} value The value to convert.\n * @returns {string} Returns the converted string.\n */\nfunction objectToString(value) {\n return nativeObjectToString.call(value);\n}\n\nmodule.exports = objectToString;\n","/**\n * Checks if `value` is object-like. A value is object-like if it's not `null`\n * and has a `typeof` result of \"object\".\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is object-like, else `false`.\n * @example\n *\n * _.isObjectLike({});\n * // => true\n *\n * _.isObjectLike([1, 2, 3]);\n * // => true\n *\n * _.isObjectLike(_.noop);\n * // => false\n *\n * _.isObjectLike(null);\n * // => false\n */\nfunction isObjectLike(value) {\n return value != null && typeof value == 'object';\n}\n\nmodule.exports = isObjectLike;\n","var baseGetTag = require('./_baseGetTag'),\n isObjectLike = require('./isObjectLike');\n\n/** `Object#toString` result references. */\nvar symbolTag = '[object Symbol]';\n\n/**\n * Checks if `value` is classified as a `Symbol` primitive or object.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a symbol, else `false`.\n * @example\n *\n * _.isSymbol(Symbol.iterator);\n * // => true\n *\n * _.isSymbol('abc');\n * // => false\n */\nfunction isSymbol(value) {\n return typeof value == 'symbol' ||\n (isObjectLike(value) && baseGetTag(value) == symbolTag);\n}\n\nmodule.exports = isSymbol;\n","/**\n * Checks if `value` is the\n * [language type](http://www.ecma-international.org/ecma-262/7.0/#sec-ecmascript-language-types)\n * of `Object`. (e.g. arrays, functions, objects, regexes, `new Number(0)`, and `new String('')`)\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is an object, else `false`.\n * @example\n *\n * _.isObject({});\n * // => true\n *\n * _.isObject([1, 2, 3]);\n * // => true\n *\n * _.isObject(_.noop);\n * // => true\n *\n * _.isObject(null);\n * // => false\n */\nfunction isObject(value) {\n var type = typeof value;\n return value != null && (type == 'object' || type == 'function');\n}\n\nmodule.exports = isObject;\n","var coreJsData = require('./_coreJsData');\n\n/** Used to detect methods masquerading as native. */\nvar maskSrcKey = (function() {\n var uid = /[^.]+$/.exec(coreJsData && coreJsData.keys && coreJsData.keys.IE_PROTO || '');\n return uid ? ('Symbol(src)_1.' + uid) : '';\n}());\n\n/**\n * Checks if `func` has its source masked.\n *\n * @private\n * @param {Function} func The function to check.\n * @returns {boolean} Returns `true` if `func` is masked, else `false`.\n */\nfunction isMasked(func) {\n return !!maskSrcKey && (maskSrcKey in func);\n}\n\nmodule.exports = isMasked;\n","var root = require('./_root');\n\n/** Used to detect overreaching core-js shims. */\nvar coreJsData = root['__core-js_shared__'];\n\nmodule.exports = coreJsData;\n","var isFunction = require('./isFunction'),\n isMasked = require('./_isMasked'),\n isObject = require('./isObject'),\n toSource = require('./_toSource');\n\n/**\n * Used to match `RegExp`\n * [syntax characters](http://ecma-international.org/ecma-262/7.0/#sec-patterns).\n */\nvar reRegExpChar = /[\\\\^$.*+?()[\\]{}|]/g;\n\n/** Used to detect host constructors (Safari). */\nvar reIsHostCtor = /^\\[object .+?Constructor\\]$/;\n\n/** Used for built-in method references. */\nvar funcProto = Function.prototype,\n objectProto = Object.prototype;\n\n/** Used to resolve the decompiled source of functions. */\nvar funcToString = funcProto.toString;\n\n/** Used to check objects for own properties. */\nvar hasOwnProperty = objectProto.hasOwnProperty;\n\n/** Used to detect if a method is native. */\nvar reIsNative = RegExp('^' +\n funcToString.call(hasOwnProperty).replace(reRegExpChar, '\\\\$&')\n .replace(/hasOwnProperty|(function).*?(?=\\\\\\()| for .+?(?=\\\\\\])/g, '$1.*?') + '$'\n);\n\n/**\n * The base implementation of `_.isNative` without bad shim checks.\n *\n * @private\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a native function,\n * else `false`.\n */\nfunction baseIsNative(value) {\n if (!isObject(value) || isMasked(value)) {\n return false;\n }\n var pattern = isFunction(value) ? reIsNative : reIsHostCtor;\n return pattern.test(toSource(value));\n}\n\nmodule.exports = baseIsNative;\n","var baseGetTag = require('./_baseGetTag'),\n isObject = require('./isObject');\n\n/** `Object#toString` result references. */\nvar asyncTag = '[object AsyncFunction]',\n funcTag = '[object Function]',\n genTag = '[object GeneratorFunction]',\n proxyTag = '[object Proxy]';\n\n/**\n * Checks if `value` is classified as a `Function` object.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a function, else `false`.\n * @example\n *\n * _.isFunction(_);\n * // => true\n *\n * _.isFunction(/abc/);\n * // => false\n */\nfunction isFunction(value) {\n if (!isObject(value)) {\n return false;\n }\n // The use of `Object#toString` avoids issues with the `typeof` operator\n // in Safari 9 which returns 'object' for typed arrays and other constructors.\n var tag = baseGetTag(value);\n return tag == funcTag || tag == genTag || tag == asyncTag || tag == proxyTag;\n}\n\nmodule.exports = isFunction;\n","/** Used for built-in method references. */\nvar funcProto = Function.prototype;\n\n/** Used to resolve the decompiled source of functions. */\nvar funcToString = funcProto.toString;\n\n/**\n * Converts `func` to its source code.\n *\n * @private\n * @param {Function} func The function to convert.\n * @returns {string} Returns the source code.\n */\nfunction toSource(func) {\n if (func != null) {\n try {\n return funcToString.call(func);\n } catch (e) {}\n try {\n return (func + '');\n } catch (e) {}\n }\n return '';\n}\n\nmodule.exports = toSource;\n","var baseIsNative = require('./_baseIsNative'),\n getValue = require('./_getValue');\n\n/**\n * Gets the native function at `key` of `object`.\n *\n * @private\n * @param {Object} object The object to query.\n * @param {string} key The key of the method to get.\n * @returns {*} Returns the function if it's native, else `undefined`.\n */\nfunction getNative(object, key) {\n var value = getValue(object, key);\n return baseIsNative(value) ? value : undefined;\n}\n\nmodule.exports = getNative;\n","/**\n * Gets the value at `key` of `object`.\n *\n * @private\n * @param {Object} [object] The object to query.\n * @param {string} key The key of the property to get.\n * @returns {*} Returns the property value.\n */\nfunction getValue(object, key) {\n return object == null ? undefined : object[key];\n}\n\nmodule.exports = getValue;\n","var getNative = require('./_getNative');\n\n/* Built-in method references that are verified to be native. */\nvar nativeCreate = getNative(Object, 'create');\n\nmodule.exports = nativeCreate;\n","var hashClear = require('./_hashClear'),\n hashDelete = require('./_hashDelete'),\n hashGet = require('./_hashGet'),\n hashHas = require('./_hashHas'),\n hashSet = require('./_hashSet');\n\n/**\n * Creates a hash object.\n *\n * @private\n * @constructor\n * @param {Array} [entries] The key-value pairs to cache.\n */\nfunction Hash(entries) {\n var index = -1,\n length = entries == null ? 0 : entries.length;\n\n this.clear();\n while (++index < length) {\n var entry = entries[index];\n this.set(entry[0], entry[1]);\n }\n}\n\n// Add methods to `Hash`.\nHash.prototype.clear = hashClear;\nHash.prototype['delete'] = hashDelete;\nHash.prototype.get = hashGet;\nHash.prototype.has = hashHas;\nHash.prototype.set = hashSet;\n\nmodule.exports = Hash;\n","var nativeCreate = require('./_nativeCreate');\n\n/**\n * Removes all key-value entries from the hash.\n *\n * @private\n * @name clear\n * @memberOf Hash\n */\nfunction hashClear() {\n this.__data__ = nativeCreate ? nativeCreate(null) : {};\n this.size = 0;\n}\n\nmodule.exports = hashClear;\n","/**\n * Removes `key` and its value from the hash.\n *\n * @private\n * @name delete\n * @memberOf Hash\n * @param {Object} hash The hash to modify.\n * @param {string} key The key of the value to remove.\n * @returns {boolean} Returns `true` if the entry was removed, else `false`.\n */\nfunction hashDelete(key) {\n var result = this.has(key) && delete this.__data__[key];\n this.size -= result ? 1 : 0;\n return result;\n}\n\nmodule.exports = hashDelete;\n","var nativeCreate = require('./_nativeCreate');\n\n/** Used to stand-in for `undefined` hash values. */\nvar HASH_UNDEFINED = '__lodash_hash_undefined__';\n\n/** Used for built-in method references. */\nvar objectProto = Object.prototype;\n\n/** Used to check objects for own properties. */\nvar hasOwnProperty = objectProto.hasOwnProperty;\n\n/**\n * Gets the hash value for `key`.\n *\n * @private\n * @name get\n * @memberOf Hash\n * @param {string} key The key of the value to get.\n * @returns {*} Returns the entry value.\n */\nfunction hashGet(key) {\n var data = this.__data__;\n if (nativeCreate) {\n var result = data[key];\n return result === HASH_UNDEFINED ? undefined : result;\n }\n return hasOwnProperty.call(data, key) ? data[key] : undefined;\n}\n\nmodule.exports = hashGet;\n","var nativeCreate = require('./_nativeCreate');\n\n/** Used for built-in method references. */\nvar objectProto = Object.prototype;\n\n/** Used to check objects for own properties. */\nvar hasOwnProperty = objectProto.hasOwnProperty;\n\n/**\n * Checks if a hash value for `key` exists.\n *\n * @private\n * @name has\n * @memberOf Hash\n * @param {string} key The key of the entry to check.\n * @returns {boolean} Returns `true` if an entry for `key` exists, else `false`.\n */\nfunction hashHas(key) {\n var data = this.__data__;\n return nativeCreate ? (data[key] !== undefined) : hasOwnProperty.call(data, key);\n}\n\nmodule.exports = hashHas;\n","var nativeCreate = require('./_nativeCreate');\n\n/** Used to stand-in for `undefined` hash values. */\nvar HASH_UNDEFINED = '__lodash_hash_undefined__';\n\n/**\n * Sets the hash `key` to `value`.\n *\n * @private\n * @name set\n * @memberOf Hash\n * @param {string} key The key of the value to set.\n * @param {*} value The value to set.\n * @returns {Object} Returns the hash instance.\n */\nfunction hashSet(key, value) {\n var data = this.__data__;\n this.size += this.has(key) ? 0 : 1;\n data[key] = (nativeCreate && value === undefined) ? HASH_UNDEFINED : value;\n return this;\n}\n\nmodule.exports = hashSet;\n","var eq = require('./eq');\n\n/**\n * Gets the index at which the `key` is found in `array` of key-value pairs.\n *\n * @private\n * @param {Array} array The array to inspect.\n * @param {*} key The key to search for.\n * @returns {number} Returns the index of the matched value, else `-1`.\n */\nfunction assocIndexOf(array, key) {\n var length = array.length;\n while (length--) {\n if (eq(array[length][0], key)) {\n return length;\n }\n }\n return -1;\n}\n\nmodule.exports = assocIndexOf;\n","/**\n * Performs a\n * [`SameValueZero`](http://ecma-international.org/ecma-262/7.0/#sec-samevaluezero)\n * comparison between two values to determine if they are equivalent.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to compare.\n * @param {*} other The other value to compare.\n * @returns {boolean} Returns `true` if the values are equivalent, else `false`.\n * @example\n *\n * var object = { 'a': 1 };\n * var other = { 'a': 1 };\n *\n * _.eq(object, object);\n * // => true\n *\n * _.eq(object, other);\n * // => false\n *\n * _.eq('a', 'a');\n * // => true\n *\n * _.eq('a', Object('a'));\n * // => false\n *\n * _.eq(NaN, NaN);\n * // => true\n */\nfunction eq(value, other) {\n return value === other || (value !== value && other !== other);\n}\n\nmodule.exports = eq;\n","var listCacheClear = require('./_listCacheClear'),\n listCacheDelete = require('./_listCacheDelete'),\n listCacheGet = require('./_listCacheGet'),\n listCacheHas = require('./_listCacheHas'),\n listCacheSet = require('./_listCacheSet');\n\n/**\n * Creates an list cache object.\n *\n * @private\n * @constructor\n * @param {Array} [entries] The key-value pairs to cache.\n */\nfunction ListCache(entries) {\n var index = -1,\n length = entries == null ? 0 : entries.length;\n\n this.clear();\n while (++index < length) {\n var entry = entries[index];\n this.set(entry[0], entry[1]);\n }\n}\n\n// Add methods to `ListCache`.\nListCache.prototype.clear = listCacheClear;\nListCache.prototype['delete'] = listCacheDelete;\nListCache.prototype.get = listCacheGet;\nListCache.prototype.has = listCacheHas;\nListCache.prototype.set = listCacheSet;\n\nmodule.exports = ListCache;\n","/**\n * Removes all key-value entries from the list cache.\n *\n * @private\n * @name clear\n * @memberOf ListCache\n */\nfunction listCacheClear() {\n this.__data__ = [];\n this.size = 0;\n}\n\nmodule.exports = listCacheClear;\n","var assocIndexOf = require('./_assocIndexOf');\n\n/** Used for built-in method references. */\nvar arrayProto = Array.prototype;\n\n/** Built-in value references. */\nvar splice = arrayProto.splice;\n\n/**\n * Removes `key` and its value from the list cache.\n *\n * @private\n * @name delete\n * @memberOf ListCache\n * @param {string} key The key of the value to remove.\n * @returns {boolean} Returns `true` if the entry was removed, else `false`.\n */\nfunction listCacheDelete(key) {\n var data = this.__data__,\n index = assocIndexOf(data, key);\n\n if (index < 0) {\n return false;\n }\n var lastIndex = data.length - 1;\n if (index == lastIndex) {\n data.pop();\n } else {\n splice.call(data, index, 1);\n }\n --this.size;\n return true;\n}\n\nmodule.exports = listCacheDelete;\n","var assocIndexOf = require('./_assocIndexOf');\n\n/**\n * Gets the list cache value for `key`.\n *\n * @private\n * @name get\n * @memberOf ListCache\n * @param {string} key The key of the value to get.\n * @returns {*} Returns the entry value.\n */\nfunction listCacheGet(key) {\n var data = this.__data__,\n index = assocIndexOf(data, key);\n\n return index < 0 ? undefined : data[index][1];\n}\n\nmodule.exports = listCacheGet;\n","var assocIndexOf = require('./_assocIndexOf');\n\n/**\n * Checks if a list cache value for `key` exists.\n *\n * @private\n * @name has\n * @memberOf ListCache\n * @param {string} key The key of the entry to check.\n * @returns {boolean} Returns `true` if an entry for `key` exists, else `false`.\n */\nfunction listCacheHas(key) {\n return assocIndexOf(this.__data__, key) > -1;\n}\n\nmodule.exports = listCacheHas;\n","var assocIndexOf = require('./_assocIndexOf');\n\n/**\n * Sets the list cache `key` to `value`.\n *\n * @private\n * @name set\n * @memberOf ListCache\n * @param {string} key The key of the value to set.\n * @param {*} value The value to set.\n * @returns {Object} Returns the list cache instance.\n */\nfunction listCacheSet(key, value) {\n var data = this.__data__,\n index = assocIndexOf(data, key);\n\n if (index < 0) {\n ++this.size;\n data.push([key, value]);\n } else {\n data[index][1] = value;\n }\n return this;\n}\n\nmodule.exports = listCacheSet;\n","var Hash = require('./_Hash'),\n ListCache = require('./_ListCache'),\n Map = require('./_Map');\n\n/**\n * Removes all key-value entries from the map.\n *\n * @private\n * @name clear\n * @memberOf MapCache\n */\nfunction mapCacheClear() {\n this.size = 0;\n this.__data__ = {\n 'hash': new Hash,\n 'map': new (Map || ListCache),\n 'string': new Hash\n };\n}\n\nmodule.exports = mapCacheClear;\n","var getNative = require('./_getNative'),\n root = require('./_root');\n\n/* Built-in method references that are verified to be native. */\nvar Map = getNative(root, 'Map');\n\nmodule.exports = Map;\n","var isKeyable = require('./_isKeyable');\n\n/**\n * Gets the data for `map`.\n *\n * @private\n * @param {Object} map The map to query.\n * @param {string} key The reference key.\n * @returns {*} Returns the map data.\n */\nfunction getMapData(map, key) {\n var data = map.__data__;\n return isKeyable(key)\n ? data[typeof key == 'string' ? 'string' : 'hash']\n : data.map;\n}\n\nmodule.exports = getMapData;\n","/**\n * Checks if `value` is suitable for use as unique object key.\n *\n * @private\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is suitable, else `false`.\n */\nfunction isKeyable(value) {\n var type = typeof value;\n return (type == 'string' || type == 'number' || type == 'symbol' || type == 'boolean')\n ? (value !== '__proto__')\n : (value === null);\n}\n\nmodule.exports = isKeyable;\n","var mapCacheClear = require('./_mapCacheClear'),\n mapCacheDelete = require('./_mapCacheDelete'),\n mapCacheGet = require('./_mapCacheGet'),\n mapCacheHas = require('./_mapCacheHas'),\n mapCacheSet = require('./_mapCacheSet');\n\n/**\n * Creates a map cache object to store key-value pairs.\n *\n * @private\n * @constructor\n * @param {Array} [entries] The key-value pairs to cache.\n */\nfunction MapCache(entries) {\n var index = -1,\n length = entries == null ? 0 : entries.length;\n\n this.clear();\n while (++index < length) {\n var entry = entries[index];\n this.set(entry[0], entry[1]);\n }\n}\n\n// Add methods to `MapCache`.\nMapCache.prototype.clear = mapCacheClear;\nMapCache.prototype['delete'] = mapCacheDelete;\nMapCache.prototype.get = mapCacheGet;\nMapCache.prototype.has = mapCacheHas;\nMapCache.prototype.set = mapCacheSet;\n\nmodule.exports = MapCache;\n","var getMapData = require('./_getMapData');\n\n/**\n * Removes `key` and its value from the map.\n *\n * @private\n * @name delete\n * @memberOf MapCache\n * @param {string} key The key of the value to remove.\n * @returns {boolean} Returns `true` if the entry was removed, else `false`.\n */\nfunction mapCacheDelete(key) {\n var result = getMapData(this, key)['delete'](key);\n this.size -= result ? 1 : 0;\n return result;\n}\n\nmodule.exports = mapCacheDelete;\n","var getMapData = require('./_getMapData');\n\n/**\n * Gets the map value for `key`.\n *\n * @private\n * @name get\n * @memberOf MapCache\n * @param {string} key The key of the value to get.\n * @returns {*} Returns the entry value.\n */\nfunction mapCacheGet(key) {\n return getMapData(this, key).get(key);\n}\n\nmodule.exports = mapCacheGet;\n","var getMapData = require('./_getMapData');\n\n/**\n * Checks if a map value for `key` exists.\n *\n * @private\n * @name has\n * @memberOf MapCache\n * @param {string} key The key of the entry to check.\n * @returns {boolean} Returns `true` if an entry for `key` exists, else `false`.\n */\nfunction mapCacheHas(key) {\n return getMapData(this, key).has(key);\n}\n\nmodule.exports = mapCacheHas;\n","var getMapData = require('./_getMapData');\n\n/**\n * Sets the map `key` to `value`.\n *\n * @private\n * @name set\n * @memberOf MapCache\n * @param {string} key The key of the value to set.\n * @param {*} value The value to set.\n * @returns {Object} Returns the map cache instance.\n */\nfunction mapCacheSet(key, value) {\n var data = getMapData(this, key),\n size = data.size;\n\n data.set(key, value);\n this.size += data.size == size ? 0 : 1;\n return this;\n}\n\nmodule.exports = mapCacheSet;\n","var memoize = require('./memoize');\n\n/** Used as the maximum memoize cache size. */\nvar MAX_MEMOIZE_SIZE = 500;\n\n/**\n * A specialized version of `_.memoize` which clears the memoized function's\n * cache when it exceeds `MAX_MEMOIZE_SIZE`.\n *\n * @private\n * @param {Function} func The function to have its output memoized.\n * @returns {Function} Returns the new memoized function.\n */\nfunction memoizeCapped(func) {\n var result = memoize(func, function(key) {\n if (cache.size === MAX_MEMOIZE_SIZE) {\n cache.clear();\n }\n return key;\n });\n\n var cache = result.cache;\n return result;\n}\n\nmodule.exports = memoizeCapped;\n","var MapCache = require('./_MapCache');\n\n/** Error message constants. */\nvar FUNC_ERROR_TEXT = 'Expected a function';\n\n/**\n * Creates a function that memoizes the result of `func`. If `resolver` is\n * provided, it determines the cache key for storing the result based on the\n * arguments provided to the memoized function. By default, the first argument\n * provided to the memoized function is used as the map cache key. The `func`\n * is invoked with the `this` binding of the memoized function.\n *\n * **Note:** The cache is exposed as the `cache` property on the memoized\n * function. Its creation may be customized by replacing the `_.memoize.Cache`\n * constructor with one whose instances implement the\n * [`Map`](http://ecma-international.org/ecma-262/7.0/#sec-properties-of-the-map-prototype-object)\n * method interface of `clear`, `delete`, `get`, `has`, and `set`.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Function\n * @param {Function} func The function to have its output memoized.\n * @param {Function} [resolver] The function to resolve the cache key.\n * @returns {Function} Returns the new memoized function.\n * @example\n *\n * var object = { 'a': 1, 'b': 2 };\n * var other = { 'c': 3, 'd': 4 };\n *\n * var values = _.memoize(_.values);\n * values(object);\n * // => [1, 2]\n *\n * values(other);\n * // => [3, 4]\n *\n * object.a = 2;\n * values(object);\n * // => [1, 2]\n *\n * // Modify the result cache.\n * values.cache.set(object, ['a', 'b']);\n * values(object);\n * // => ['a', 'b']\n *\n * // Replace `_.memoize.Cache`.\n * _.memoize.Cache = WeakMap;\n */\nfunction memoize(func, resolver) {\n if (typeof func != 'function' || (resolver != null && typeof resolver != 'function')) {\n throw new TypeError(FUNC_ERROR_TEXT);\n }\n var memoized = function() {\n var args = arguments,\n key = resolver ? resolver.apply(this, args) : args[0],\n cache = memoized.cache;\n\n if (cache.has(key)) {\n return cache.get(key);\n }\n var result = func.apply(this, args);\n memoized.cache = cache.set(key, result) || cache;\n return result;\n };\n memoized.cache = new (memoize.Cache || MapCache);\n return memoized;\n}\n\n// Expose `MapCache`.\nmemoize.Cache = MapCache;\n\nmodule.exports = memoize;\n","var Symbol = require('./_Symbol'),\n arrayMap = require('./_arrayMap'),\n isArray = require('./isArray'),\n isSymbol = require('./isSymbol');\n\n/** Used as references for various `Number` constants. */\nvar INFINITY = 1 / 0;\n\n/** Used to convert symbols to primitives and strings. */\nvar symbolProto = Symbol ? Symbol.prototype : undefined,\n symbolToString = symbolProto ? symbolProto.toString : undefined;\n\n/**\n * The base implementation of `_.toString` which doesn't convert nullish\n * values to empty strings.\n *\n * @private\n * @param {*} value The value to process.\n * @returns {string} Returns the string.\n */\nfunction baseToString(value) {\n // Exit early for strings to avoid a performance hit in some environments.\n if (typeof value == 'string') {\n return value;\n }\n if (isArray(value)) {\n // Recursively convert values (susceptible to call stack limits).\n return arrayMap(value, baseToString) + '';\n }\n if (isSymbol(value)) {\n return symbolToString ? symbolToString.call(value) : '';\n }\n var result = (value + '');\n return (result == '0' && (1 / value) == -INFINITY) ? '-0' : result;\n}\n\nmodule.exports = baseToString;\n","/**\n * A specialized version of `_.map` for arrays without support for iteratee\n * shorthands.\n *\n * @private\n * @param {Array} [array] The array to iterate over.\n * @param {Function} iteratee The function invoked per iteration.\n * @returns {Array} Returns the new mapped array.\n */\nfunction arrayMap(array, iteratee) {\n var index = -1,\n length = array == null ? 0 : array.length,\n result = Array(length);\n\n while (++index < length) {\n result[index] = iteratee(array[index], index, array);\n }\n return result;\n}\n\nmodule.exports = arrayMap;\n","var isArray = require('./isArray'),\n isKey = require('./_isKey'),\n stringToPath = require('./_stringToPath'),\n toString = require('./toString');\n\n/**\n * Casts `value` to a path array if it's not one.\n *\n * @private\n * @param {*} value The value to inspect.\n * @param {Object} [object] The object to query keys on.\n * @returns {Array} Returns the cast property path array.\n */\nfunction castPath(value, object) {\n if (isArray(value)) {\n return value;\n }\n return isKey(value, object) ? [value] : stringToPath(toString(value));\n}\n\nmodule.exports = castPath;\n","var isArray = require('./isArray'),\n isSymbol = require('./isSymbol');\n\n/** Used to match property names within property paths. */\nvar reIsDeepProp = /\\.|\\[(?:[^[\\]]*|([\"'])(?:(?!\\1)[^\\\\]|\\\\.)*?\\1)\\]/,\n reIsPlainProp = /^\\w*$/;\n\n/**\n * Checks if `value` is a property name and not a property path.\n *\n * @private\n * @param {*} value The value to check.\n * @param {Object} [object] The object to query keys on.\n * @returns {boolean} Returns `true` if `value` is a property name, else `false`.\n */\nfunction isKey(value, object) {\n if (isArray(value)) {\n return false;\n }\n var type = typeof value;\n if (type == 'number' || type == 'symbol' || type == 'boolean' ||\n value == null || isSymbol(value)) {\n return true;\n }\n return reIsPlainProp.test(value) || !reIsDeepProp.test(value) ||\n (object != null && value in Object(object));\n}\n\nmodule.exports = isKey;\n","var memoizeCapped = require('./_memoizeCapped');\n\n/** Used to match property names within property paths. */\nvar rePropName = /[^.[\\]]+|\\[(?:(-?\\d+(?:\\.\\d+)?)|([\"'])((?:(?!\\2)[^\\\\]|\\\\.)*?)\\2)\\]|(?=(?:\\.|\\[\\])(?:\\.|\\[\\]|$))/g;\n\n/** Used to match backslashes in property paths. */\nvar reEscapeChar = /\\\\(\\\\)?/g;\n\n/**\n * Converts `string` to a property path array.\n *\n * @private\n * @param {string} string The string to convert.\n * @returns {Array} Returns the property path array.\n */\nvar stringToPath = memoizeCapped(function(string) {\n var result = [];\n if (string.charCodeAt(0) === 46 /* . */) {\n result.push('');\n }\n string.replace(rePropName, function(match, number, quote, subString) {\n result.push(quote ? subString.replace(reEscapeChar, '$1') : (number || match));\n });\n return result;\n});\n\nmodule.exports = stringToPath;\n","var baseToString = require('./_baseToString');\n\n/**\n * Converts `value` to a string. An empty string is returned for `null`\n * and `undefined` values. The sign of `-0` is preserved.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to convert.\n * @returns {string} Returns the converted string.\n * @example\n *\n * _.toString(null);\n * // => ''\n *\n * _.toString(-0);\n * // => '-0'\n *\n * _.toString([1, 2, 3]);\n * // => '1,2,3'\n */\nfunction toString(value) {\n return value == null ? '' : baseToString(value);\n}\n\nmodule.exports = toString;\n","var castPath = require('./_castPath'),\n toKey = require('./_toKey');\n\n/**\n * The base implementation of `_.get` without support for default values.\n *\n * @private\n * @param {Object} object The object to query.\n * @param {Array|string} path The path of the property to get.\n * @returns {*} Returns the resolved value.\n */\nfunction baseGet(object, path) {\n path = castPath(path, object);\n\n var index = 0,\n length = path.length;\n\n while (object != null && index < length) {\n object = object[toKey(path[index++])];\n }\n return (index && index == length) ? object : undefined;\n}\n\nmodule.exports = baseGet;\n","var isSymbol = require('./isSymbol');\n\n/** Used as references for various `Number` constants. */\nvar INFINITY = 1 / 0;\n\n/**\n * Converts `value` to a string key if it's not a string or symbol.\n *\n * @private\n * @param {*} value The value to inspect.\n * @returns {string|symbol} Returns the key.\n */\nfunction toKey(value) {\n if (typeof value == 'string' || isSymbol(value)) {\n return value;\n }\n var result = (value + '');\n return (result == '0' && (1 / value) == -INFINITY) ? '-0' : result;\n}\n\nmodule.exports = toKey;\n","var baseGet = require('./_baseGet');\n\n/**\n * Gets the value at `path` of `object`. If the resolved value is\n * `undefined`, the `defaultValue` is returned in its place.\n *\n * @static\n * @memberOf _\n * @since 3.7.0\n * @category Object\n * @param {Object} object The object to query.\n * @param {Array|string} path The path of the property to get.\n * @param {*} [defaultValue] The value returned for `undefined` resolved values.\n * @returns {*} Returns the resolved value.\n * @example\n *\n * var object = { 'a': [{ 'b': { 'c': 3 } }] };\n *\n * _.get(object, 'a[0].b.c');\n * // => 3\n *\n * _.get(object, ['a', '0', 'b', 'c']);\n * // => 3\n *\n * _.get(object, 'a.b.c', 'default');\n * // => 'default'\n */\nfunction get(object, path, defaultValue) {\n var result = object == null ? undefined : baseGet(object, path);\n return result === undefined ? defaultValue : result;\n}\n\nmodule.exports = get;\n","// This file is part of MinIO Design System\n// Copyright (c) 2022 MinIO, Inc.\n//\n// This program is free software: you can redistribute it and/or modify\n// it under the terms of the GNU Affero General Public License as published by\n// the Free Software Foundation, either version 3 of the License, or\n// (at your option) any later version.\n//\n// This program is distributed in the hope that it will be useful,\n// but WITHOUT ANY WARRANTY; without even the implied warranty of\n// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n// GNU Affero General Public License for more details.\n//\n// You should have received a copy of the GNU Affero General Public License\n// along with this program. If not, see .\n\nimport React from \"react\";\nimport { createGlobalStyle } from \"styled-components\";\nimport get from \"lodash/get\";\nimport { darkColors, lightColors } from \"../../global/themes\";\n\nconst InterBlackWoff = require(\"../assets/fonts/Inter/Inter-Black.woff\");\nconst InterBlackItalicWoff = require(\"../assets/fonts/Inter/Inter-BlackItalic.woff\");\nconst InterBoldWoff = require(\"../assets/fonts/Inter/Inter-Bold.woff\");\nconst InterBoldItalicWoff = require(\"../assets/fonts/Inter/Inter-BoldItalic.woff\");\nconst InterItalicWoff = require(\"../assets/fonts/Inter/Inter-Italic.woff\");\nconst InterLightWoff = require(\"../assets/fonts/Inter/Inter-Light.woff\");\nconst InterLightItalicWoff = require(\"../assets/fonts/Inter/Inter-LightItalic.woff\");\nconst InterRegularWoff = require(\"../assets/fonts/Inter/Inter-Regular.woff\");\nconst InterThinWoff = require(\"../assets/fonts/Inter/Inter-Thin.woff\");\nconst InterBlackWoff2 = require(\"../assets/fonts/Inter/Inter-Black.woff2\");\nconst InterBlackItalicWoff2 = require(\"../assets/fonts/Inter/Inter-BlackItalic.woff2\");\nconst InterBoldWoff2 = require(\"../assets/fonts/Inter/Inter-Bold.woff2\");\nconst InterBoldItalicWoff2 = require(\"../assets/fonts/Inter/Inter-BoldItalic.woff2\");\nconst InterItalicWoff2 = require(\"../assets/fonts/Inter/Inter-Italic.woff2\");\nconst InterLightWoff2 = require(\"../assets/fonts/Inter/Inter-Light.woff2\");\nconst InterLightItalicWoff2 = require(\"../assets/fonts/Inter/Inter-LightItalic.woff2\");\nconst InterRegularWoff2 = require(\"../assets/fonts/Inter/Inter-Regular.woff2\");\nconst InterThinWoff2 = require(\"../assets/fonts/Inter/Inter-Thin.woff2\");\n\nconst GlobalStyles = createGlobalStyle`\n ${({ theme }) => {\n return `\n /* Fonts */\n @font-face {\n font-family: \"Inter\";\n src: url(${InterBlackItalicWoff2}) format(\"woff2\"),\n url(${InterBlackItalicWoff}) format(\"woff\");\n font-weight: 900;\n font-style: italic;\n font-display: swap;\n }\n \n @font-face {\n font-family: \"Inter\";\n src: url(${InterBoldWoff2}) format(\"woff2\"),\n url(${InterBoldWoff}) format(\"woff\");\n font-weight: bold;\n font-style: normal;\n font-display: swap;\n }\n \n @font-face {\n font-family: \"Inter\";\n src: url(${InterBoldItalicWoff2}) format(\"woff2\"),\n url(${InterBoldItalicWoff}) format(\"woff\");\n font-weight: bold;\n font-style: italic;\n font-display: swap;\n }\n \n @font-face {\n font-family: \"Inter\";\n src: url(${InterLightWoff2}) format(\"woff2\"),\n url(${InterLightWoff}) format(\"woff\");\n font-weight: 300;\n font-style: normal;\n font-display: swap;\n }\n \n @font-face {\n font-family: \"Inter\";\n src: url(${InterBlackWoff2}) format(\"woff2\"),\n url(${InterBlackWoff}) format(\"woff\");\n font-weight: 900;\n font-style: normal;\n font-display: swap;\n }\n \n @font-face {\n font-family: \"Inter\";\n src: url(${InterItalicWoff2}) format(\"woff2\"),\n url(${InterItalicWoff}) format(\"woff\");\n font-weight: normal;\n font-style: italic;\n font-display: swap;\n }\n \n @font-face {\n font-family: \"Inter\";\n src: url(${InterRegularWoff2}) format(\"woff2\"),\n url(${InterRegularWoff}) format(\"woff\");\n font-weight: normal;\n font-style: normal;\n font-display: swap;\n }\n \n @font-face {\n font-family: \"Inter\";\n src: url(${InterLightItalicWoff2}) format(\"woff2\"),\n url(${InterLightItalicWoff}) format(\"woff\");\n font-weight: 300;\n font-style: italic;\n font-display: swap;\n }\n \n @font-face {\n font-family: \"Inter\";\n src: url(${InterThinWoff2}) format(\"woff2\"),\n url(${InterThinWoff}) format(\"woff\");\n font-weight: 100;\n font-style: normal;\n font-display: swap;\n }\n \n /* Main Page styling */\n \n *, *::before, *::after {\n box-sizing: inherit;\n outline:0;\n }\n \n html {\n box-sizing: border-box;\n -webkit-text-size-adjust: 100%;\n -webkit-font-smoothing: antialiased;\n -moz-osx-font-smoothing: grayscale;\n }\n \n body {\n background-color: ${get(theme, \"bgColor\", lightColors.white)};\n color: ${get(theme, \"fontColor\", lightColors.defaultFontColor)};\n height: 100vh;\n width: 100vw;\n font-family: 'Inter', sans-serif;\n margin: 0;\n -webkit-font-smoothing: antialiased;\n -moz-osx-font-smoothing: grayscale;\n font-weight: 400;\n font-size: 14px;\n line-height: 1.5;\n transition: background-color 0s\n }\n \n fieldset, section {\n border: 1px solid ${get(theme, \"borderColor\", lightColors.borderColor)};\n border-radius: 3px;\n background-color: transparent;\n padding: 25px;\n }\n \n a {\n color: ${get(theme, \"linkColor\", lightColors.linkColor)};\n }\n \n a:hover {\n color: ${get(theme, \"linkColor\", lightColors.linkColor)};\n }\n \n hr {\n border-top: 0;\n border-left: 0;\n border-right: 0;\n border-color: ${get(theme, \"borderColor\", lightColors.borderColor)};\n background-color: transparent;\n }\n \n ul {\n padding-left: 20px;\n list-style: none;\n \n li:not([class*=\"Mui\"])::before {\n content: '■';\n color: ${get(theme, \"bulletColor\", lightColors.bulletColor)};\n font-size: 20px;\n display: inline-block;\n width: 1em;\n margin-left: -1em;\n }\n \n ul {\n list-style: none;\n li:not([class*=\"Mui\"])::before {\n content: \"○\";\n color: ${get(theme, \"bulletColor\", lightColors.bulletColor)},\n font-size: 20px;\n display: inline-block;\n width: 1em;\n margin-left: -1em;\n }\n }\n }\n \n button:active, button:focus, input: active, input:focus {\n outline: 0;\n }\n \n .min-icon {\n width: 26px;\n }\n \n #root: {\n height: 100%;\n width: 100%;\n display: flex;\n flex-flow: column;\n align-items: stretch;\n }\n \n #preload {\n display: none;\n }\n \n #loader-block {\n display: flex;\n flex-direction: column;\n width: 100%;\n height: 100vh;\n justify-content: center;\n align-items: center;\n }\n \n .muted {\n color: ${get(theme, \"mutedText\", lightColors.mutedText)};\n }\n `;\n }}\n`;\n\nexport default GlobalStyles;\n","// This file is part of MinIO Design System\n// Copyright (c) 2022 MinIO, Inc.\n//\n// This program is free software: you can redistribute it and/or modify\n// it under the terms of the GNU Affero General Public License as published by\n// the Free Software Foundation, either version 3 of the License, or\n// (at your option) any later version.\n//\n// This program is distributed in the hope that it will be useful,\n// but WITHOUT ANY WARRANTY; without even the implied warranty of\n// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n// GNU Affero General Public License for more details.\n//\n// You should have received a copy of the GNU Affero General Public License\n// along with this program. If not, see .\n\nimport React, { FC, Fragment } from \"react\";\nimport get from \"lodash/get\";\nimport styled from \"styled-components\";\nimport { ButtonProps, ConstructProps } from \"./Button.types\";\nimport { breakPoints } from \"../../global/utils\";\n\nconst CustomButton = styled.button<\n ButtonProps & React.ButtonHTMLAttributes & ConstructProps\n>(\n ({\n theme,\n fullWidth,\n variant,\n iconLocation,\n icon,\n label,\n collapseOnSmall,\n parentChildren,\n sx,\n }) => {\n const neatVariant = variant || \"regular\";\n\n const buttonLabel =\n (!label && !parentChildren) || !icon\n ? {\n marginRight: 0,\n marginLeft: 0,\n }\n : {\n marginLeft: iconLocation === \"end\" ? \"0\" : \"10px\",\n marginRight: iconLocation === \"start\" ? \"0\" : \"10px\",\n };\n\n let smallScreenStyles = {};\n\n if (\n collapseOnSmall &&\n icon &&\n ((label && label.trim() !== \"\") || parentChildren)\n ) {\n smallScreenStyles = {\n [`@media (max-width: ${get(breakPoints, \"md\", 0)}px)`]: {\n padding: \"0 14px\",\n \"& .button-label\": {\n display: \"none\",\n },\n },\n };\n }\n\n return {\n borderRadius: 3,\n cursor: \"pointer\",\n width: fullWidth ? \"100%\" : \"initial\",\n height: 39,\n fontFamily: \"'Inter', sans-serif\",\n fontWeight: \"400\",\n fontSize: 14,\n display: \"flex\",\n flexDirection: \"row\",\n alignItems: \"center\",\n justifyContent: \"center\",\n textTransform: neatVariant === \"text\" ? \"uppercase\" : \"none\",\n margin: 0,\n padding:\n (!label || label.trim() === \"\") && !parentChildren\n ? \"0 14px\"\n : \"0 25px\",\n transition: \"all 0.2s linear\",\n backgroundColor: get(\n theme,\n `buttons.${neatVariant}.enabled.background`,\n \"#fff\",\n ),\n borderColor: get(theme, `buttons.${neatVariant}.enabled.border`, \"#000\"),\n borderWidth: 1,\n borderStyle: \"solid\",\n color: get(theme, `buttons.${neatVariant}.enabled.text`, \"#000\"),\n \"& .button-label\": {\n whiteSpace: fullWidth ? \"normal\" : \"nowrap\",\n ...buttonLabel,\n },\n \"& .buttonIcon\": {\n display: \"block\",\n height: 14,\n\n \"& > svg\": {\n fill: get(theme, `buttons.${neatVariant}.enabled.text`, \"#000\"),\n color: get(theme, `buttons.${neatVariant}.enabled.text`, \"#000\"),\n width: 14,\n height: 14,\n },\n },\n \"&:disabled\": {\n cursor: \"not-allowed\",\n backgroundColor: get(\n theme,\n `buttons.${neatVariant}.disabled.background`,\n \"#fff\",\n ),\n borderColor: get(\n theme,\n `buttons.${neatVariant}.disabled.border`,\n \"#000\",\n ),\n borderWeight: 1,\n borderStyle: \"solid\",\n color: get(theme, `buttons.${neatVariant}.disabled.text`, \"#000\"),\n \"& .buttonIcon > svg\": {\n fill: get(theme, `buttons.${neatVariant}.disabled.text`, \"#000\"),\n color: get(theme, `buttons.${neatVariant}.disabled.text`, \"#000\"),\n },\n },\n \"&:hover:not(:disabled)\": {\n backgroundColor: get(\n theme,\n `buttons.${neatVariant}.hover.background`,\n \"#fff\",\n ),\n borderColor: get(theme, `buttons.${neatVariant}.hover.border`, \"#000\"),\n color: get(theme, `buttons.${neatVariant}.hover.text`, \"#000\"),\n \"& .buttonIcon > svg\": {\n fill: get(theme, `buttons.${neatVariant}.hover.text`, \"#000\"),\n color: get(theme, `buttons.${neatVariant}.hover.text`, \"#000\"),\n },\n },\n \"&:active:not(:disabled)\": {\n backgroundColor: get(\n theme,\n `buttons.${neatVariant}.pressed.background`,\n \"#fff\",\n ),\n borderColor: get(\n theme,\n `buttons.${neatVariant}.pressed.border`,\n \"#000\",\n ),\n color: get(theme, `buttons.${neatVariant}.pressed.text`, \"#000\"),\n \"& .buttonIcon > svg\": {\n fill: get(theme, `buttons.${neatVariant}.pressed.text`, \"#000\"),\n color: get(theme, `buttons.${neatVariant}.pressed.text`, \"#000\"),\n },\n },\n ...smallScreenStyles,\n ...sx,\n };\n },\n);\nconst Button: FC<\n ButtonProps & React.ButtonHTMLAttributes\n> = ({\n label,\n variant = \"regular\",\n icon,\n iconLocation = \"end\",\n onClick,\n disabled,\n fullWidth,\n collapseOnSmall = true,\n children,\n className,\n ...props\n}) => {\n let iconToPlace: React.ReactNode = null;\n\n if (icon) {\n iconToPlace = {icon};\n }\n\n return (\n \n \n {icon && iconLocation === \"start\" && iconToPlace}\n \n {children}\n {children && label ? \" \" : \"\"}\n {label}\n \n {icon && iconLocation === \"end\" && iconToPlace}\n \n \n );\n};\n\nexport default Button;\n","// This file is part of MinIO Design System\n// Copyright (c) 2022 MinIO, Inc.\n//\n// This program is free software: you can redistribute it and/or modify\n// it under the terms of the GNU Affero General Public License as published by\n// the Free Software Foundation, either version 3 of the License, or\n// (at your option) any later version.\n//\n// This program is distributed in the hope that it will be useful,\n// but WITHOUT ANY WARRANTY; without even the implied warranty of\n// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n// GNU Affero General Public License for more details.\n//\n// You should have received a copy of the GNU Affero General Public License\n// along with this program. If not, see .\n\nimport React, { SVGProps } from \"react\";\nimport styled from \"styled-components\";\nimport get from \"lodash/get\";\nimport { LogoBaseProps } from \"./LogoBase.types\";\n\nconst LogoBase = styled.svg & LogoBaseProps>((props) => {\n let mainColor = get(props, \"theme.logoLabelColor\", \"#000\");\n let contrast = get(props, \"theme.logoContrast\", \"#fff\");\n\n if (props.inverse) {\n mainColor = get(props, \"theme.logoLabelInverse\", \"#fff\");\n contrast = get(props, \"theme.logoContrastInverse\", \"#000\");\n }\n\n return {\n \"& .minioSection\": {\n fill: get(props, `theme.logoColor`, \"#C51C3F\"),\n },\n \"& .minioApplicationName\": {\n fill: mainColor,\n },\n \"& .contrast\": {\n fill: contrast,\n },\n };\n});\n\nexport default LogoBase;\n","// This file is part of MinIO Design System\n// Copyright (c) 2022 MinIO, Inc.\n//\n// This program is free software: you can redistribute it and/or modify\n// it under the terms of the GNU Affero General Public License as published by\n// the Free Software Foundation, either version 3 of the License, or\n// (at your option) any later version.\n//\n// This program is distributed in the hope that it will be useful,\n// but WITHOUT ANY WARRANTY; without even the implied warranty of\n// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n// GNU Affero General Public License for more details.\n//\n// You should have received a copy of the GNU Affero General Public License\n// along with this program. If not, see .\n\nimport React, { FC, SVGProps } from \"react\";\nimport LogoBase from \"../LogoBase/LogoBase\";\nimport { LogoBaseProps } from \"../LogoBase/LogoBase.types\";\n\nconst ConsoleStandard: FC & LogoBaseProps> = ({\n inverse,\n onClick,\n}) => {\n return (\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n );\n};\n\nexport default ConsoleStandard;\n","// This file is part of MinIO Design System\n// Copyright (c) 2022 MinIO, Inc.\n//\n// This program is free software: you can redistribute it and/or modify\n// it under the terms of the GNU Affero General Public License as published by\n// the Free Software Foundation, either version 3 of the License, or\n// (at your option) any later version.\n//\n// This program is distributed in the hope that it will be useful,\n// but WITHOUT ANY WARRANTY; without even the implied warranty of\n// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n// GNU Affero General Public License for more details.\n//\n// You should have received a copy of the GNU Affero General Public License\n// along with this program. If not, see .\n\nimport React, { FC, SVGProps } from \"react\";\nimport LogoBase from \"../LogoBase/LogoBase\";\nimport { LogoBaseProps } from \"../LogoBase/LogoBase.types\";\n\nconst ConsoleAGPL: FC & LogoBaseProps> = ({\n inverse,\n onClick,\n}) => {\n return (\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n );\n};\n\nexport default ConsoleAGPL;\n","// This file is part of MinIO Design System\n// Copyright (c) 2022 MinIO, Inc.\n//\n// This program is free software: you can redistribute it and/or modify\n// it under the terms of the GNU Affero General Public License as published by\n// the Free Software Foundation, either version 3 of the License, or\n// (at your option) any later version.\n//\n// This program is distributed in the hope that it will be useful,\n// but WITHOUT ANY WARRANTY; without even the implied warranty of\n// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n// GNU Affero General Public License for more details.\n//\n// You should have received a copy of the GNU Affero General Public License\n// along with this program. If not, see .\n\nimport React, { FC, SVGProps } from \"react\";\nimport LogoBase from \"../LogoBase/LogoBase\";\nimport { LogoBaseProps } from \"../LogoBase/LogoBase.types\";\n\nconst ConsoleEnterprise: FC & LogoBaseProps> = ({\n inverse,\n onClick,\n}) => {\n return (\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n );\n};\n\nexport default ConsoleEnterprise;\n","// This file is part of MinIO Design System\n// Copyright (c) 2022 MinIO, Inc.\n//\n// This program is free software: you can redistribute it and/or modify\n// it under the terms of the GNU Affero General Public License as published by\n// the Free Software Foundation, either version 3 of the License, or\n// (at your option) any later version.\n//\n// This program is distributed in the hope that it will be useful,\n// but WITHOUT ANY WARRANTY; without even the implied warranty of\n// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n// GNU Affero General Public License for more details.\n//\n// You should have received a copy of the GNU Affero General Public License\n// along with this program. If not, see .\n\nimport React, { FC, SVGProps } from \"react\";\nimport LogoBase from \"../LogoBase/LogoBase\";\nimport { LogoBaseProps } from \"../LogoBase/LogoBase.types\";\n\nconst Operator: FC & LogoBaseProps> = ({ inverse, onClick }) => {\n return (\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n );\n};\n\nexport default Operator;\n","// This file is part of MinIO Design System\n// Copyright (c) 2022 MinIO, Inc.\n//\n// This program is free software: you can redistribute it and/or modify\n// it under the terms of the GNU Affero General Public License as published by\n// the Free Software Foundation, either version 3 of the License, or\n// (at your option) any later version.\n//\n// This program is distributed in the hope that it will be useful,\n// but WITHOUT ANY WARRANTY; without even the implied warranty of\n// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n// GNU Affero General Public License for more details.\n//\n// You should have received a copy of the GNU Affero General Public License\n// along with this program. If not, see .\n\nimport React, { FC, SVGProps } from \"react\";\nimport LogoBase from \"../LogoBase/LogoBase\";\nimport { LogoBaseProps } from \"../LogoBase/LogoBase.types\";\n\nconst DirectPV: FC & LogoBaseProps> = ({ inverse, onClick }) => {\n return (\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n );\n};\n\nexport default DirectPV;\n","// This file is part of MinIO Design System\n// Copyright (c) 2022 MinIO, Inc.\n//\n// This program is free software: you can redistribute it and/or modify\n// it under the terms of the GNU Affero General Public License as published by\n// the Free Software Foundation, either version 3 of the License, or\n// (at your option) any later version.\n//\n// This program is distributed in the hope that it will be useful,\n// but WITHOUT ANY WARRANTY; without even the implied warranty of\n// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n// GNU Affero General Public License for more details.\n//\n// You should have received a copy of the GNU Affero General Public License\n// along with this program. If not, see .\n\nimport React, { FC, SVGProps } from \"react\";\nimport LogoBase from \"../LogoBase/LogoBase\";\nimport { LogoBaseProps } from \"../LogoBase/LogoBase.types\";\n\nconst KES: FC & LogoBaseProps> = ({ inverse, onClick }) => {\n return (\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n );\n};\n\nexport default KES;\n","// This file is part of MinIO Design System\n// Copyright (c) 2022 MinIO, Inc.\n//\n// This program is free software: you can redistribute it and/or modify\n// it under the terms of the GNU Affero General Public License as published by\n// the Free Software Foundation, either version 3 of the License, or\n// (at your option) any later version.\n//\n// This program is distributed in the hope that it will be useful,\n// but WITHOUT ANY WARRANTY; without even the implied warranty of\n// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n// GNU Affero General Public License for more details.\n//\n// You should have received a copy of the GNU Affero General Public License\n// along with this program. If not, see .\n\nimport React, { FC, SVGProps } from \"react\";\nimport LogoBase from \"../LogoBase/LogoBase\";\nimport { LogoBaseProps } from \"../LogoBase/LogoBase.types\";\n\nconst SUBNET: FC & LogoBaseProps> = ({ inverse, onClick }) => {\n return (\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n );\n};\n\nexport default SUBNET;\n","// This file is part of MinIO Design System\n// Copyright (c) 2022 MinIO, Inc.\n//\n// This program is free software: you can redistribute it and/or modify\n// it under the terms of the GNU Affero General Public License as published by\n// the Free Software Foundation, either version 3 of the License, or\n// (at your option) any later version.\n//\n// This program is distributed in the hope that it will be useful,\n// but WITHOUT ANY WARRANTY; without even the implied warranty of\n// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n// GNU Affero General Public License for more details.\n//\n// You should have received a copy of the GNU Affero General Public License\n// along with this program. If not, see .\n\nimport React, { FC, SVGProps } from \"react\";\nimport LogoBase from \"../LogoBase/LogoBase\";\nimport { LogoBaseProps } from \"../LogoBase/LogoBase.types\";\n\nconst ConsoleSingle: FC & LogoBaseProps> = ({\n inverse,\n onClick,\n}) => {\n return (\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n );\n};\n\nexport default ConsoleSingle;\n","// This file is part of MinIO Design System\n// Copyright (c) 2022 MinIO, Inc.\n//\n// This program is free software: you can redistribute it and/or modify\n// it under the terms of the GNU Affero General Public License as published by\n// the Free Software Foundation, either version 3 of the License, or\n// (at your option) any later version.\n//\n// This program is distributed in the hope that it will be useful,\n// but WITHOUT ANY WARRANTY; without even the implied warranty of\n// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n// GNU Affero General Public License for more details.\n//\n// You should have received a copy of the GNU Affero General Public License\n// along with this program. If not, see .\n\nimport React, { FC, SVGProps } from \"react\";\nimport LogoBase from \"../LogoBase/LogoBase\";\nimport { LogoBaseProps } from \"../LogoBase/LogoBase.types\";\n\nconst DirectPV: FC & LogoBaseProps> = ({ inverse, onClick }) => {\n return (\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n );\n};\n\nexport default DirectPV;\n","// This file is part of MinIO Design System\n// Copyright (c) 2022 MinIO, Inc.\n//\n// This program is free software: you can redistribute it and/or modify\n// it under the terms of the GNU Affero General Public License as published by\n// the Free Software Foundation, either version 3 of the License, or\n// (at your option) any later version.\n//\n// This program is distributed in the hope that it will be useful,\n// but WITHOUT ANY WARRANTY; without even the implied warranty of\n// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n// GNU Affero General Public License for more details.\n//\n// You should have received a copy of the GNU Affero General Public License\n// along with this program. If not, see .\n\nimport React, { FC, SVGProps } from \"react\";\nimport LogoBase from \"../LogoBase/LogoBase\";\nimport { LogoBaseProps } from \"../LogoBase/LogoBase.types\";\n\nconst Cloud: FC & LogoBaseProps> = ({ inverse, onClick }) => {\n return (\n \n \n \n \n \n \n \n \n \n \n \n \n );\n};\n\nexport default Cloud;\n","// This file is part of MinIO Design System\n// Copyright (c) 2022 MinIO, Inc.\n//\n// This program is free software: you can redistribute it and/or modify\n// it under the terms of the GNU Affero General Public License as published by\n// the Free Software Foundation, either version 3 of the License, or\n// (at your option) any later version.\n//\n// This program is distributed in the hope that it will be useful,\n// but WITHOUT ANY WARRANTY; without even the implied warranty of\n// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n// GNU Affero General Public License for more details.\n//\n// You should have received a copy of the GNU Affero General Public License\n// along with this program. If not, see .\n\nimport React, { FC, SVGProps } from \"react\";\nimport LogoBase from \"../LogoBase/LogoBase\";\nimport { LogoBaseProps } from \"../LogoBase/LogoBase.types\";\n\nconst Releases: FC & LogoBaseProps> = ({ inverse, onClick }) => {\n return (\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n );\n};\n\nexport default Releases;\n","// This file is part of MinIO Design System\n// Copyright (c) 2022 MinIO, Inc.\n//\n// This program is free software: you can redistribute it and/or modify\n// it under the terms of the GNU Affero General Public License as published by\n// the Free Software Foundation, either version 3 of the License, or\n// (at your option) any later version.\n//\n// This program is distributed in the hope that it will be useful,\n// but WITHOUT ANY WARRANTY; without even the implied warranty of\n// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n// GNU Affero General Public License for more details.\n//\n// You should have received a copy of the GNU Affero General Public License\n// along with this program. If not, see .\n\nimport React, { FC, SVGProps } from \"react\";\nimport LogoBase from \"../LogoBase/LogoBase\";\nimport { LogoBaseProps } from \"../LogoBase/LogoBase.types\";\n\nconst VMBroker: FC & LogoBaseProps> = ({ inverse, onClick }) => {\n return (\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n );\n};\n\nexport default VMBroker;\n","// This file is part of MinIO Design System\n// Copyright (c) 2022 MinIO, Inc.\n//\n// This program is free software: you can redistribute it and/or modify\n// it under the terms of the GNU Affero General Public License as published by\n// the Free Software Foundation, either version 3 of the License, or\n// (at your option) any later version.\n//\n// This program is distributed in the hope that it will be useful,\n// but WITHOUT ANY WARRANTY; without even the implied warranty of\n// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n// GNU Affero General Public License for more details.\n//\n// You should have received a copy of the GNU Affero General Public License\n// along with this program. If not, see .\n\nimport React, { FC, SVGProps } from \"react\";\nimport LogoBase from \"../LogoBase/LogoBase\";\nimport { LogoBaseProps } from \"../LogoBase/LogoBase.types\";\n\nconst EurekaNew: FC & LogoBaseProps> = ({ inverse, onClick }) => {\n return (\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n\n \n \n \n \n \n );\n};\n\nexport default EurekaNew;\n","// This file is part of MinIO Design System\n// Copyright (c) 2022 MinIO, Inc.\n//\n// This program is free software: you can redistribute it and/or modify\n// it under the terms of the GNU Affero General Public License as published by\n// the Free Software Foundation, either version 3 of the License, or\n// (at your option) any later version.\n//\n// This program is distributed in the hope that it will be useful,\n// but WITHOUT ANY WARRANTY; without even the implied warranty of\n// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n// GNU Affero General Public License for more details.\n//\n// You should have received a copy of the GNU Affero General Public License\n// along with this program. If not, see .\n\nimport React, { FC, SVGProps } from \"react\";\nimport LogoBase from \"../LogoBase/LogoBase\";\nimport { LogoBaseProps } from \"../LogoBase/LogoBase.types\";\n\nconst Eureka: FC & LogoBaseProps> = ({ inverse, onClick }) => {\n return (\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n );\n};\n\nexport default Eureka;\n","// This file is part of MinIO Design System\n// Copyright (c) 2023 MinIO, Inc.\n//\n// This program is free software: you can redistribute it and/or modify\n// it under the terms of the GNU Affero General Public License as published by\n// the Free Software Foundation, either version 3 of the License, or\n// (at your option) any later version.\n//\n// This program is distributed in the hope that it will be useful,\n// but WITHOUT ANY WARRANTY; without even the implied warranty of\n// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n// GNU Affero General Public License for more details.\n//\n// You should have received a copy of the GNU Affero General Public License\n// along with this program. If not, see .\n\nimport React, { FC, SVGProps } from \"react\";\nimport LogoBase from \"../LogoBase/LogoBase\";\nimport { LogoBaseProps } from \"../LogoBase/LogoBase.types\";\n\nconst KMS: FC & LogoBaseProps> = ({ inverse, onClick }) => {\n return (\n \n \n \n \n \n \n \n \n \n \n \n \n );\n};\n\nexport default KMS;\n","// This file is part of MinIO Design System\n// Copyright (c) 2023 MinIO, Inc.\n//\n// This program is free software: you can redistribute it and/or modify\n// it under the terms of the GNU Affero General Public License as published by\n// the Free Software Foundation, either version 3 of the License, or\n// (at your option) any later version.\n//\n// This program is distributed in the hope that it will be useful,\n// but WITHOUT ANY WARRANTY; without even the implied warranty of\n// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n// GNU Affero General Public License for more details.\n//\n// You should have received a copy of the GNU Affero General Public License\n// along with this program. If not, see .\n\nimport React, { FC, SVGProps } from \"react\";\nimport LogoBase from \"../LogoBase/LogoBase\";\nimport { LogoBaseProps } from \"../LogoBase/LogoBase.types\";\n\nconst LoadBalancer: FC & LogoBaseProps> = ({\n inverse,\n onClick,\n}) => {\n return (\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n );\n};\n\nexport default LoadBalancer;\n","// This file is part of MinIO Design System\n// Copyright (c) 2023 MinIO, Inc.\n//\n// This program is free software: you can redistribute it and/or modify\n// it under the terms of the GNU Affero General Public License as published by\n// the Free Software Foundation, either version 3 of the License, or\n// (at your option) any later version.\n//\n// This program is distributed in the hope that it will be useful,\n// but WITHOUT ANY WARRANTY; without even the implied warranty of\n// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n// GNU Affero General Public License for more details.\n//\n// You should have received a copy of the GNU Affero General Public License\n// along with this program. If not, see .\n\nimport React, { FC, SVGProps } from \"react\";\nimport LogoBase from \"../LogoBase/LogoBase\";\nimport { LogoBaseProps } from \"../LogoBase/LogoBase.types\";\n\nconst IndexLogo: FC & LogoBaseProps> = ({ inverse, onClick }) => {\n return (\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n );\n};\n\nexport default IndexLogo;\n","// This file is part of MinIO Design System\n// Copyright (c) 2023 MinIO, Inc.\n//\n// This program is free software: you can redistribute it and/or modify\n// it under the terms of the GNU Affero General Public License as published by\n// the Free Software Foundation, either version 3 of the License, or\n// (at your option) any later version.\n//\n// This program is distributed in the hope that it will be useful,\n// but WITHOUT ANY WARRANTY; without even the implied warranty of\n// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n// GNU Affero General Public License for more details.\n//\n// You should have received a copy of the GNU Affero General Public License\n// along with this program. If not, see .\n\nimport React, { FC, SVGProps } from \"react\";\nimport LogoBase from \"../LogoBase/LogoBase\";\nimport { LogoBaseProps } from \"../LogoBase/LogoBase.types\";\n\nconst Cache: FC & LogoBaseProps> = ({ inverse, onClick }) => {\n return (\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n );\n};\n\nexport default Cache;\n","// This file is part of MinIO Design System\n// Copyright (c) 2023 MinIO, Inc.\n//\n// This program is free software: you can redistribute it and/or modify\n// it under the terms of the GNU Affero General Public License as published by\n// the Free Software Foundation, either version 3 of the License, or\n// (at your option) any later version.\n//\n// This program is distributed in the hope that it will be useful,\n// but WITHOUT ANY WARRANTY; without even the implied warranty of\n// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n// GNU Affero General Public License for more details.\n//\n// You should have received a copy of the GNU Affero General Public License\n// along with this program. If not, see .\n\nimport React, { FC, SVGProps } from \"react\";\nimport LogoBase from \"../LogoBase/LogoBase\";\nimport { LogoBaseProps } from \"../LogoBase/LogoBase.types\";\n\nconst Monitor: FC & LogoBaseProps> = ({ inverse, onClick }) => {\n return (\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n );\n};\n\nexport default Monitor;\n","// This file is part of MinIO Design System\n// Copyright (c) 2023 MinIO, Inc.\n//\n// This program is free software: you can redistribute it and/or modify\n// it under the terms of the GNU Affero General Public License as published by\n// the Free Software Foundation, either version 3 of the License, or\n// (at your option) any later version.\n//\n// This program is distributed in the hope that it will be useful,\n// but WITHOUT ANY WARRANTY; without even the implied warranty of\n// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n// GNU Affero General Public License for more details.\n//\n// You should have received a copy of the GNU Affero General Public License\n// along with this program. If not, see .\n\nimport React, { FC, SVGProps } from \"react\";\nimport LogoBase from \"../LogoBase/LogoBase\";\nimport { LogoBaseProps } from \"../LogoBase/LogoBase.types\";\n\nconst Observe: FC & LogoBaseProps> = ({ inverse, onClick }) => {\n return (\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n );\n};\n\nexport default Observe;\n","// This file is part of MinIO Design System\n// Copyright (c) 2023 MinIO, Inc.\n//\n// This program is free software: you can redistribute it and/or modify\n// it under the terms of the GNU Affero General Public License as published by\n// the Free Software Foundation, either version 3 of the License, or\n// (at your option) any later version.\n//\n// This program is distributed in the hope that it will be useful,\n// but WITHOUT ANY WARRANTY; without even the implied warranty of\n// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n// GNU Affero General Public License for more details.\n//\n// You should have received a copy of the GNU Affero General Public License\n// along with this program. If not, see .\n\nimport React, { FC, SVGProps } from \"react\";\nimport LogoBase from \"../LogoBase/LogoBase\";\nimport { LogoBaseProps } from \"../LogoBase/LogoBase.types\";\n\nconst MissionControl: FC & LogoBaseProps> = ({\n inverse,\n onClick,\n}) => {\n return (\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n );\n};\n\nexport default MissionControl;\n","// This file is part of MinIO Design System\n// Copyright (c) 2022 MinIO, Inc.\n//\n// This program is free software: you can redistribute it and/or modify\n// it under the terms of the GNU Affero General Public License as published by\n// the Free Software Foundation, either version 3 of the License, or\n// (at your option) any later version.\n//\n// This program is distributed in the hope that it will be useful,\n// but WITHOUT ANY WARRANTY; without even the implied warranty of\n// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n// GNU Affero General Public License for more details.\n//\n// You should have received a copy of the GNU Affero General Public License\n// along with this program. If not, see .\n\nimport React, { FC, SVGProps } from \"react\";\nimport LogoBase from \"../LogoBase/LogoBase\";\nimport { LogoBaseProps } from \"../LogoBase/LogoBase.types\";\n\nconst GlobalConsole: FC & LogoBaseProps> = ({ inverse }) => {\n return (\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n );\n};\n\nexport default GlobalConsole;\n","// This file is part of MinIO Design System\n// Copyright (c) 2022 MinIO, Inc.\n//\n// This program is free software: you can redistribute it and/or modify\n// it under the terms of the GNU Affero General Public License as published by\n// the Free Software Foundation, either version 3 of the License, or\n// (at your option) any later version.\n//\n// This program is distributed in the hope that it will be useful,\n// but WITHOUT ANY WARRANTY; without even the implied warranty of\n// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n// GNU Affero General Public License for more details.\n//\n// You should have received a copy of the GNU Affero General Public License\n// along with this program. If not, see .\n\nimport React, { FC, SVGProps } from \"react\";\nimport styled from \"styled-components\";\nimport get from \"lodash/get\";\n\nconst Logo = styled.svg((props) => ({\n fill: get(props, `theme.logoColor`, \"#C51C3F\"),\n}));\n\nconst ThemedLogo: FC> = ({ width, onClick }) => {\n return (\n \n \n \n );\n};\n\nexport default ThemedLogo;\n","// This file is part of MinIO Design System\n// Copyright (c) 2023 MinIO, Inc.\n//\n// This program is free software: you can redistribute it and/or modify\n// it under the terms of the GNU Affero General Public License as published by\n// the Free Software Foundation, either version 3 of the License, or\n// (at your option) any later version.\n//\n// This program is distributed in the hope that it will be useful,\n// but WITHOUT ANY WARRANTY; without even the implied warranty of\n// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n// GNU Affero General Public License for more details.\n//\n// You should have received a copy of the GNU Affero General Public License\n// along with this program. If not, see .\n\nimport React, { FC, SVGProps } from \"react\";\nimport LogoBase from \"../LogoBase/LogoBase\";\nimport { LogoBaseProps } from \"../LogoBase/LogoBase.types\";\n\nconst Enterprise: FC & LogoBaseProps> = ({\n inverse,\n onClick,\n}) => {\n return (\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n );\n};\n\nexport default Enterprise;\n","// This file is part of MinIO Design System\n// Copyright (c) 2024 MinIO, Inc.\n//\n// This program is free software: you can redistribute it and/or modify\n// it under the terms of the GNU Affero General Public License as published by\n// the Free Software Foundation, either version 3 of the License, or\n// (at your option) any later version.\n//\n// This program is distributed in the hope that it will be useful,\n// but WITHOUT ANY WARRANTY; without even the implied warranty of\n// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n// GNU Affero General Public License for more details.\n//\n// You should have received a copy of the GNU Affero General Public License\n// along with this program. If not, see .\n\nimport React, { FC, SVGProps } from \"react\";\nimport LogoBase from \"../LogoBase/LogoBase\";\nimport { LogoBaseProps } from \"../LogoBase/LogoBase.types\";\n\nconst MinIOEnterprise: FC & LogoBaseProps> = ({\n inverse,\n onClick,\n}) => {\n return (\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n );\n};\n\nexport default MinIOEnterprise;\n","// This file is part of MinIO Design System\n// Copyright (c) 2024 MinIO, Inc.\n//\n// This program is free software: you can redistribute it and/or modify\n// it under the terms of the GNU Affero General Public License as published by\n// the Free Software Foundation, either version 3 of the License, or\n// (at your option) any later version.\n//\n// This program is distributed in the hope that it will be useful,\n// but WITHOUT ANY WARRANTY; without even the implied warranty of\n// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n// GNU Affero General Public License for more details.\n//\n// You should have received a copy of the GNU Affero General Public License\n// along with this program. If not, see .\n\nimport React, { FC, SVGProps } from \"react\";\nimport LogoBase from \"../LogoBase/LogoBase\";\nimport { LogoBaseProps } from \"../LogoBase/LogoBase.types\";\n\nconst MinIOEnterpriseOS: FC & LogoBaseProps> = ({\n inverse,\n onClick,\n}) => {\n return (\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n );\n};\n\nexport default MinIOEnterpriseOS;\n","// This file is part of MinIO Design System\n// Copyright (c) 2024 MinIO, Inc.\n//\n// This program is free software: you can redistribute it and/or modify\n// it under the terms of the GNU Affero General Public License as published by\n// the Free Software Foundation, either version 3 of the License, or\n// (at your option) any later version.\n//\n// This program is distributed in the hope that it will be useful,\n// but WITHOUT ANY WARRANTY; without even the implied warranty of\n// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n// GNU Affero General Public License for more details.\n//\n// You should have received a copy of the GNU Affero General Public License\n// along with this program. If not, see .\n\nimport React, { FC, SVGProps } from \"react\";\nimport LogoBase from \"../LogoBase/LogoBase\";\nimport { LogoBaseProps } from \"../LogoBase/LogoBase.types\";\n\nconst MinIOEnterpriseOSVertical: FC & LogoBaseProps> = ({\n inverse,\n onClick,\n}) => {\n return (\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n );\n};\n\nexport default MinIOEnterpriseOSVertical;\n","// This file is part of MinIO Design System\n// Copyright (c) 2024 MinIO, Inc.\n//\n// This program is free software: you can redistribute it and/or modify\n// it under the terms of the GNU Affero General Public License as published by\n// the Free Software Foundation, either version 3 of the License, or\n// (at your option) any later version.\n//\n// This program is distributed in the hope that it will be useful,\n// but WITHOUT ANY WARRANTY; without even the implied warranty of\n// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n// GNU Affero General Public License for more details.\n//\n// You should have received a copy of the GNU Affero General Public License\n// along with this program. If not, see .\n\nimport React, { FC, SVGProps } from \"react\";\n\nimport LogoBase from \"../LogoBase/LogoBase\";\nimport { LogoBaseProps } from \"../LogoBase/LogoBase.types\";\n\nconst AIStor: FC & LogoBaseProps> = ({ inverse, onClick }) => {\n return (\n \n \n \n \n \n \n \n \n \n \n \n );\n};\n\nexport default AIStor;\n","// This file is part of MinIO Design System\n// Copyright (c) 2024 MinIO, Inc.\n//\n// This program is free software: you can redistribute it and/or modify\n// it under the terms of the GNU Affero General Public License as published by\n// the Free Software Foundation, either version 3 of the License, or\n// (at your option) any later version.\n//\n// This program is distributed in the hope that it will be useful,\n// but WITHOUT ANY WARRANTY; without even the implied warranty of\n// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n// GNU Affero General Public License for more details.\n//\n// You should have received a copy of the GNU Affero General Public License\n// along with this program. If not, see .\n\nimport React, { FC, SVGProps } from \"react\";\n\nimport LogoBase from \"../LogoBase/LogoBase\";\nimport { LogoBaseProps } from \"../LogoBase/LogoBase.types\";\n\nconst AIStorHorizontal: FC & LogoBaseProps> = ({\n inverse,\n onClick,\n}) => {\n return (\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n );\n};\n\nexport default AIStorHorizontal;\n","// This file is part of MinIO Design System\n// Copyright (c) 2024 MinIO, Inc.\n//\n// This program is free software: you can redistribute it and/or modify\n// it under the terms of the GNU Affero General Public License as published by\n// the Free Software Foundation, either version 3 of the License, or\n// (at your option) any later version.\n//\n// This program is distributed in the hope that it will be useful,\n// but WITHOUT ANY WARRANTY; without even the implied warranty of\n// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n// GNU Affero General Public License for more details.\n//\n// You should have received a copy of the GNU Affero General Public License\n// along with this program. If not, see .\n\nimport React, { FC, SVGProps } from \"react\";\n\nimport LogoBase from \"../LogoBase/LogoBase\";\nimport { LogoBaseProps } from \"../LogoBase/LogoBase.types\";\n\nconst AIStorTag: FC & LogoBaseProps> = ({ inverse, onClick }) => {\n return (\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n );\n};\n\nexport default AIStorTag;\n","// This file is part of MinIO Design System\n// Copyright (c) 2022 MinIO, Inc.\n//\n// This program is free software: you can redistribute it and/or modify\n// it under the terms of the GNU Affero General Public License as published by\n// the Free Software Foundation, either version 3 of the License, or\n// (at your option) any later version.\n//\n// This program is distributed in the hope that it will be useful,\n// but WITHOUT ANY WARRANTY; without even the implied warranty of\n// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n// GNU Affero General Public License for more details.\n//\n// You should have received a copy of the GNU Affero General Public License\n// along with this program. If not, see .\n\nimport React, { FC } from \"react\";\nimport { ApplicationLogoProps } from \"./ApplicationLogo.types\";\nimport ConsoleStandard from \"./Logos/Console/ConsoleStandard\";\nimport ConsoleAGPL from \"./Logos/Console/ConsoleAGPL\";\nimport ConsoleEnterprise from \"./Logos/Console/ConsoleEnterprise\";\nimport Operator from \"./Logos/Operator/Operator\";\nimport DirectPV from \"./Logos/DirectPV/DirectPV\";\nimport KES from \"./Logos/KES/KES\";\nimport SUBNET from \"./Logos/SUBNET/SUBNET\";\nimport ConsoleSingle from \"./Logos/Console/ConsoleSingle\";\nimport SubnetOPS from \"./Logos/SubnetOPS/SubnetOPS\";\nimport Cloud from \"./Logos/Cloud/Cloud\";\nimport Releases from \"./Logos/Releases/Releases\";\nimport VMBroker from \"./Logos/VMBroker/VMBroker\";\nimport EurekaNew from \"./Logos/Eureka/EurekaNew\";\nimport Eureka from \"./Logos/Eureka/Eureka\";\nimport KMS from \"./Logos/KMS/KMS\";\nimport LoadBalancer from \"./Logos/LoadBalancer/LoadBalancer\";\nimport IndexLogo from \"./Logos/IndexLogo/IndexLogo\";\nimport Cache from \"./Logos/Cache/Cache\";\nimport Monitor from \"./Logos/Monitor/Monitor\";\nimport Observe from \"./Logos/Observe/Observe\";\nimport MissionControl from \"./Logos/MissionControl/MissionControl\";\nimport GlobalConsole from \"./Logos/Console/GlobalConsole\";\nimport ThemedLogo from \"../ThemedLogo/ThemedLogo\";\nimport Enterprise from \"./Logos/Enterprise/Enterprise\";\nimport MinIOEnterprise from \"./Logos/MinIO/MinIOEnterprise\";\nimport MinIOEnterpriseOS from \"./Logos/MinIO/MinIOEnterpriseOS\";\nimport MinIOEnterpriseOSVertical from \"./Logos/MinIO/MinIOEnterpriseOSVertical\";\nimport AIStor from \"./Logos/AIStor/AIStor\";\nimport AIStorHorizontal from \"./Logos/AIStor/AIStorHorizontal\";\nimport AIStorTag from \"./Logos/AIStor/AIStorTag\";\n\nconst ApplicationLogo: FC = ({\n applicationName,\n subVariant = \"simple\",\n inverse,\n onClick,\n}) => {\n switch (applicationName) {\n case \"console\":\n switch (subVariant) {\n case \"standard\":\n return ;\n case \"enterprise\":\n return ;\n case \"AGPL\":\n return ;\n default:\n return ;\n }\n break;\n case \"directpv\":\n return ;\n case \"subnet\":\n return ;\n case \"kes\":\n return ;\n case \"operator\":\n return ;\n case \"subnetops\":\n return ;\n case \"cloud\":\n return ;\n case \"releases\":\n return ;\n break;\n case \"vmbroker\":\n return ;\n break;\n case \"eureka\":\n switch (subVariant) {\n case \"new\":\n return ;\n default:\n return ;\n }\n break;\n case \"kms\":\n return ;\n case \"loadbalancer\":\n return ;\n case \"index\":\n return ;\n case \"cache\":\n return ;\n case \"monitor\":\n return ;\n case \"observe\":\n return ;\n case \"missioncontrol\":\n return ;\n case \"globalconsole\":\n return ;\n case \"enterprise\":\n return ;\n case \"aistor\":\n switch (subVariant) {\n case \"simple\":\n return ;\n break;\n case \"horizontal\":\n return ;\n default:\n return ;\n }\n case \"minio\":\n switch (subVariant) {\n case \"enterprise\":\n return ;\n break;\n case \"enterpriseos\":\n return ;\n case \"enterpriseosvertical\":\n return (\n \n );\n default:\n return ;\n }\n }\n};\n\nexport default ApplicationLogo;\n","// This file is part of MinIO Design System\n// Copyright (c) 2022 MinIO, Inc.\n//\n// This program is free software: you can redistribute it and/or modify\n// it under the terms of the GNU Affero General Public License as published by\n// the Free Software Foundation, either version 3 of the License, or\n// (at your option) any later version.\n//\n// This program is distributed in the hope that it will be useful,\n// but WITHOUT ANY WARRANTY; without even the implied warranty of\n// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n// GNU Affero General Public License for more details.\n//\n// You should have received a copy of the GNU Affero General Public License\n// along with this program. If not, see .\n\nimport React, { FC } from \"react\";\nimport styled, { CSSObject } from \"styled-components\";\nimport get from \"lodash/get\";\nimport { GridProps } from \"./Grid.types\";\nimport { breakPoints, fractionToPerc } from \"../../global/utils\";\n\nconst CustomDiv = styled.div((props) => {\n let constructProps: CSSObject = {\n boxSizing: \"border-box\",\n };\n\n if (props.container) {\n constructProps = {\n display: \"flex\",\n flexWrap: props.wrap || \"wrap\",\n flexDirection: props.direction || \"row\",\n columnGap: `${props.columnSpacing}px` || 0,\n rowGap: `${props.rowSpacing}px` || 0,\n boxSizing: \"content-box\",\n };\n } else if (props.item) {\n const brPoints = Object.keys(breakPoints);\n\n brPoints.forEach((item, index) => {\n const gridBRElement = get(props, item, false);\n\n const breakpointExists = !!gridBRElement;\n\n if (breakpointExists) {\n let extraWidthBlock = {};\n\n if (typeof gridBRElement === \"number\") {\n extraWidthBlock = {\n flexBasis: fractionToPerc(get(props, item, 12)),\n width: fractionToPerc(get(props, item, 12)),\n };\n }\n\n if (gridBRElement === \"hidden\") {\n let maxWidth = \"\";\n\n if (brPoints[index + 1]) {\n maxWidth = `and (max-width: ${get(\n breakPoints,\n brPoints[index + 1],\n 0,\n )}px)`;\n }\n\n constructProps = {\n ...constructProps,\n [`@media (min-width: ${get(breakPoints, item, 0)}px) ${maxWidth}`]:\n {\n display: \"none\",\n },\n };\n }\n\n constructProps = {\n ...constructProps,\n [`@media (min-width: ${get(breakPoints, item, 0)}px)`]: {\n flexGrow: \"1\",\n ...extraWidthBlock,\n },\n };\n }\n });\n }\n\n return { ...constructProps, ...props.sx };\n});\n\nconst Grid: FC = (props) => {\n return {props.children};\n};\n\nexport default Grid;\n","function e(e,t,r,n){return new(r||(r=Promise))((function(o,a){function i(e){try{d(n.next(e))}catch(e){a(e)}}function c(e){try{d(n.throw(e))}catch(e){a(e)}}function d(e){var t;e.done?o(e.value):(t=e.value,t instanceof r?t:new r((function(e){e(t)}))).then(i,c)}d((n=n.apply(e,t||[])).next())}))}\"function\"==typeof SuppressedError&&SuppressedError;const t=[\"geforce 320m\",\"geforce 8600\",\"geforce 8600m gt\",\"geforce 8800 gs\",\"geforce 8800 gt\",\"geforce 9400\",\"geforce 9400m g\",\"geforce 9400m\",\"geforce 9600m gt\",\"geforce 9600m\",\"geforce fx go5200\",\"geforce gt 120\",\"geforce gt 130\",\"geforce gt 330m\",\"geforce gtx 285\",\"google swiftshader\",\"intel g41\",\"intel g45\",\"intel gma 4500mhd\",\"intel gma x3100\",\"intel hd 3000\",\"intel q45\",\"legacy\",\"mali-2\",\"mali-3\",\"mali-4\",\"quadro fx 1500\",\"quadro fx 4\",\"quadro fx 5\",\"radeon hd 2400\",\"radeon hd 2600\",\"radeon hd 4670\",\"radeon hd 4850\",\"radeon hd 4870\",\"radeon hd 5670\",\"radeon hd 5750\",\"radeon hd 6290\",\"radeon hd 6300\",\"radeon hd 6310\",\"radeon hd 6320\",\"radeon hd 6490m\",\"radeon hd 6630m\",\"radeon hd 6750m\",\"radeon hd 6770m\",\"radeon hd 6970m\",\"sgx 543\",\"sgx543\"];function r(e){return e=e.toLowerCase().replace(/.*angle ?\\((.+)\\)(?: on vulkan [0-9.]+)?$/i,\"$1\").replace(/\\s(\\d{1,2}gb|direct3d.+$)|\\(r\\)| \\([^)]+\\)$/g,\"\").replace(/(?:vulkan|opengl) \\d+\\.\\d+(?:\\.\\d+)?(?: \\((.*)\\))?/,\"$1\")}const n=\"undefined\"==typeof window,o=(()=>{if(n)return;const{userAgent:e,platform:t,maxTouchPoints:r}=window.navigator,o=/(iphone|ipod|ipad)/i.test(e),a=\"iPad\"===t||\"MacIntel\"===t&&r>0&&!window.MSStream;return{isIpad:a,isMobile:/android/i.test(e)||o||a,isSafari12:/Version\\/12.+Safari/.test(e),isFirefox:/Firefox/.test(e)}})();function a(e,t,r){if(!r)return[t];const n=function(e){const t=\"\\n precision highp float;\\n attribute vec3 aPosition;\\n varying float vvv;\\n void main() {\\n vvv = 0.31622776601683794;\\n gl_Position = vec4(aPosition, 1.0);\\n }\\n \",r=\"\\n precision highp float;\\n varying float vvv;\\n void main() {\\n vec4 enc = vec4(1.0, 255.0, 65025.0, 16581375.0) * vvv;\\n enc = fract(enc);\\n enc -= enc.yzww * vec4(1.0 / 255.0, 1.0 / 255.0, 1.0 / 255.0, 0.0);\\n gl_FragColor = enc;\\n }\\n \",n=e.createShader(35633),o=e.createShader(35632),a=e.createProgram();if(!(o&&n&&a))return;e.shaderSource(n,t),e.shaderSource(o,r),e.compileShader(n),e.compileShader(o),e.attachShader(a,n),e.attachShader(a,o),e.linkProgram(a),e.detachShader(a,n),e.detachShader(a,o),e.deleteShader(n),e.deleteShader(o),e.useProgram(a);const i=e.createBuffer();e.bindBuffer(34962,i),e.bufferData(34962,new Float32Array([-1,-1,0,3,-1,0,-1,3,0]),35044);const c=e.getAttribLocation(a,\"aPosition\");e.vertexAttribPointer(c,3,5126,!1,0,0),e.enableVertexAttribArray(c),e.clearColor(1,1,1,1),e.clear(16384),e.viewport(0,0,1,1),e.drawArrays(4,0,3);const d=new Uint8Array(4);return e.readPixels(0,0,1,1,6408,5121,d),e.deleteProgram(a),e.deleteBuffer(i),d.join(\"\")}(e),a=\"801621810\",i=\"8016218135\",c=\"80162181161\",d=(null==o?void 0:o.isIpad)?[[\"a7\",c,12],[\"a8\",i,15],[\"a8x\",i,15],[\"a9\",i,15],[\"a9x\",i,15],[\"a10\",i,15],[\"a10x\",i,15],[\"a12\",a,15],[\"a12x\",a,15],[\"a12z\",a,15],[\"a14\",a,15],[\"a15\",a,15],[\"m1\",a,15],[\"m2\",a,15]]:[[\"a7\",c,12],[\"a8\",i,12],[\"a9\",i,15],[\"a10\",i,15],[\"a11\",a,15],[\"a12\",a,15],[\"a13\",a,15],[\"a14\",a,15],[\"a15\",a,15],[\"a16\",a,15],[\"a17\",a,15]];let l;\"80162181255\"===n?l=d.filter((([,,e])=>e>=14)):(l=d.filter((([,e])=>e===n)),l.length||(l=d));return l.map((([e])=>`apple ${e} gpu`))}class i extends Error{constructor(e){super(e),Object.setPrototypeOf(this,new.target.prototype)}}const c=[],d=[];function l(e,t){if(e===t)return 0;const r=e;e.length>t.length&&(e=t,t=r);let n=e.length,o=t.length;for(;n>0&&e.charCodeAt(~-n)===t.charCodeAt(~-o);)n--,o--;let a,i=0;for(;if?s>f?f+1:s:s>l?l+1:s;return f}function s(e){return null!=e}const f=({mobileTiers:c=[0,15,30,60],desktopTiers:d=[0,15,30,60],override:f={},glContext:u,failIfMajorPerformanceCaveat:g=!1,benchmarksURL:h=\"https://unpkg.com/detect-gpu@5.0.70/dist/benchmarks\"}={})=>e(void 0,void 0,void 0,(function*(){const p={};if(n)return{tier:0,type:\"SSR\"};const{isIpad:m=!!(null==o?void 0:o.isIpad),isMobile:v=!!(null==o?void 0:o.isMobile),screenSize:w=window.screen,loadBenchmarks:x=(t=>e(void 0,void 0,void 0,(function*(){const e=yield fetch(`${h}/${t}`).then((e=>e.json()));if(parseInt(e.shift().split(\".\")[0],10)<4)throw new i(\"Detect GPU benchmark data is out of date. Please update to version 4x\");return e})))}=f;let{renderer:A}=f;const P=(e,t,r,n,o)=>({device:o,fps:n,gpu:r,isMobile:v,tier:e,type:t});let S,b=\"\";if(A)A=r(A),S=[A];else{const e=u||function(e,t=!1){const r={alpha:!1,antialias:!1,depth:!1,failIfMajorPerformanceCaveat:t,powerPreference:\"high-performance\",stencil:!1};e&&delete r.powerPreference;const n=window.document.createElement(\"canvas\"),o=n.getContext(\"webgl\",r)||n.getContext(\"experimental-webgl\",r);return null!=o?o:void 0}(null==o?void 0:o.isSafari12,g);if(!e)return P(0,\"WEBGL_UNSUPPORTED\");const t=(null==o?void 0:o.isFirefox)?null:e.getExtension(\"WEBGL_debug_renderer_info\");if(A=t?e.getParameter(t.UNMASKED_RENDERER_WEBGL):e.getParameter(e.RENDERER),!A)return P(1,\"FALLBACK\");b=A,A=r(A),S=function(e,t,r){return\"apple gpu\"===t?a(e,t,r):[t]}(e,A,v)}const E=(yield Promise.all(S.map((function(t){var r;return e(this,void 0,void 0,(function*(){const e=(e=>{const t=v?[\"adreno\",\"apple\",\"mali-t\",\"mali\",\"nvidia\",\"powervr\",\"samsung\"]:[\"intel\",\"apple\",\"amd\",\"radeon\",\"nvidia\",\"geforce\",\"adreno\"];for(const r of t)if(e.includes(r))return r})(t);if(!e)return;const n=`${v?\"m\":\"d\"}-${e}${m?\"-ipad\":\"\"}.json`,o=p[n]=null!==(r=p[n])&&void 0!==r?r:x(n);let a;try{a=yield o}catch(e){if(e instanceof i)throw e;return}const c=function(e){var t;const r=(e=e.replace(/\\([^)]+\\)/,\"\")).match(/\\d+/)||e.match(/(\\W|^)([A-Za-z]{1,3})(\\W|$)/g);return null!==(t=null==r?void 0:r.join(\"\").replace(/\\W|amd/g,\"\"))&&void 0!==t?t:\"\"}(t);let d=a.filter((([,e])=>e===c));d.length||(d=a.filter((([e])=>e.includes(t))));const s=d.length;if(0===s)return;const f=t.split(/[.,()\\[\\]/\\s]/g).sort().filter(((e,t,r)=>0===t||e!==r[t-1])).join(\" \");let u,[g,,,,h]=s>1?d.map((e=>[e,l(f,e[2])])).sort((([,e],[,t])=>e-t))[0][0]:d[0],A=Number.MAX_VALUE;const{devicePixelRatio:P}=window,S=w.width*P*w.height*P;for(const e of h){const[t,r]=e,n=t*r,o=Math.abs(S-n);oe===r?t-n:e-r));if(!E.length){const e=t.find((e=>A.includes(e)));return e?P(0,\"BLOCKLISTED\",e):P(1,\"FALLBACK\",`${A} (${b})`)}const[,y,C,L]=E[0];if(-1===y)return P(0,\"BLOCKLISTED\",C,y,L);const M=v?c:d;let $=0;for(let e=0;e=M[e]&&($=e);return P($,\"BENCHMARK\",C,y,L)}));export{f as getGPUTier};\n//# sourceMappingURL=detect-gpu.esm.js.map\n","// This file is part of MinIO Design System\n// Copyright (c) 2022 MinIO, Inc.\n//\n// This program is free software: you can redistribute it and/or modify\n// it under the terms of the GNU Affero General Public License as published by\n// the Free Software Foundation, either version 3 of the License, or\n// (at your option) any later version.\n//\n// This program is distributed in the hope that it will be useful,\n// but WITHOUT ANY WARRANTY; without even the implied warranty of\n// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n// GNU Affero General Public License for more details.\n//\n// You should have received a copy of the GNU Affero General Public License\n// along with this program. If not, see .\n\nimport React, { FC, useEffect, useState } from \"react\";\nimport get from \"lodash/get\";\nimport styled from \"styled-components\";\nimport { getGPUTier } from \"detect-gpu\";\nimport ApplicationLogo from \"../ApplicationLogo/ApplicationLogo\";\nimport Grid from \"../Grid/Grid\";\nimport { LoginWrapperProps } from \"./LoginWrapper.types\";\nimport { breakPoints } from \"../../global/utils\";\n\nconst bgVideo = require(\"../assets/video/videoBG.mp4\");\nconst poster = require(\"../assets/background/loginAnimationPoster.png\");\n\nconst CustomLogin = styled.div(({ theme }) => {\n return {\n \"& .mainContainer\": {\n height: \"100vh\",\n },\n \"& .decorationPanel\": {\n position: \"relative\",\n backgroundColor: get(theme, \"login.promoBG\", \"#000110\"),\n \"& .videoContainer\": {\n width: \"100%\",\n height: \"auto\",\n minHeight: 200,\n position: \"absolute\",\n bottom: \"0\",\n right: 0,\n filter: get(theme, \"login.bgFilter\", \"none\"),\n \"&:before\": {\n position: \"absolute\",\n width: \"100%\",\n height: 60,\n display: \"block\",\n content: \"' '\",\n background:\n \"linear-gradient(to bottom, rgba(0,1,16,1) 0%,rgba(0,0,0,0.02) 100%)\",\n top: 0,\n },\n \"&:after\": {\n position: \"absolute\",\n width: 120,\n height: \"100%\",\n display: \"block\",\n content: \"' '\",\n background:\n \"linear-gradient(to right, rgba(0,1,16,1) 0%,rgba(0,0,0,0.02) 100%)\",\n top: 0,\n },\n \"& .videoBG\": {\n width: \"100%\",\n },\n },\n \"& .bgExtend\": {\n backgroundImage:\n \"linear-gradient(45deg,rgba(172,223,234,0) 0,#7fc0e4 100%)\",\n position: \"absolute\",\n width: 500,\n left: 0,\n },\n \"& .promoContainer\": {\n zIndex: 100,\n width: \"80%\",\n maxWidth: \"687px\",\n position: \"absolute\",\n top: \"190px\",\n left: \"50%\",\n transform: \"translateX(-50%)\",\n \"& .promoHeader\": {\n color: get(theme, \"login.promoHeader\", \"#fff\"),\n fontSize: \"46px\",\n textAlign: \"left\",\n fontWeight: \"900\",\n lineHeight: \"60px\",\n },\n \"& .promoInfo\": {\n marginTop: \"31px\",\n maxWidth: \"542px\",\n color: get(theme, \"login.promoText\", \"#fff\"),\n fontSize: \"18px\",\n textAlign: \"left\",\n fontWeight: \"300\",\n lineHeight: \"30px\",\n textShadow: \"0 0 5ppx #000\",\n \"& a\": {\n color: get(theme, \"login.promoText\", \"#fff\"),\n textDecoration: \"none\",\n fontWeight: \"bold\",\n \"&:hover\": {\n textDecoration: \"underline\",\n },\n },\n },\n },\n },\n \"& .formPanel\": {\n maxWidth: \"520px\",\n backgroundColor: get(theme, \"login.formBG\", \"#fff\"),\n [`@media (min-width: ${get(\n breakPoints,\n \"xs\",\n 0,\n )}px) and (max-width: ${get(breakPoints, \"md\", 0)}px)`]: {\n maxWidth: \"100%\",\n },\n \"& .logoContainer\": {\n display: \"flex\",\n height: \"215px\",\n alignItems: \"center\",\n justifyContent: \"center\",\n boxShadow: \"0 3px 10px 2px #00000010\",\n \"& svg\": {\n width: \"325px\",\n },\n },\n \"& .formContainer\": {\n paddingTop: \"40px\",\n display: \"flex\",\n flexDirection: \"column\",\n alignItems: \"center\",\n minHeight: \"calc(100vh - 215px)\",\n \"& .form\": {\n width: \"328px\",\n flexGrow: \"1\",\n height: \"100%\",\n },\n \"& .footer\": {\n display: \"flex\",\n width: \"328px\",\n borderTop: `${get(\n theme,\n \"login.footerDivider\",\n \"#f2f2f2\",\n )} 1px solid`,\n padding: \"35px 0\",\n textAlign: \"center\",\n alignItems: \"flex-end\",\n justifyContent: \"center\",\n },\n \"& .footer, & .footer a\": {\n color: get(theme, \"login.footerElements\", \"#000\"),\n fontSize: \"14px\",\n textDecoration: \"none\",\n },\n },\n },\n };\n});\n\nconst LoginWrapper: FC = ({\n logoProps,\n form,\n formFooter,\n promoInfo,\n promoHeader,\n backgroundAnimation = true,\n}) => {\n const [GPUAvailable, setGPUAvailable] = useState(false);\n\n useEffect(() => {\n (async () => {\n if (backgroundAnimation) {\n const gpuTier = await getGPUTier();\n setGPUAvailable(!!gpuTier.gpu && gpuTier.tier >= 2);\n }\n return;\n })();\n }, [backgroundAnimation]);\n\n return (\n \n \n \n {(promoInfo || promoHeader) && (\n \n \n \n {promoHeader}\n \n \n {promoInfo}\n \n \n \n )}\n \n {GPUAvailable && backgroundAnimation ? (\n \n \n \n ) : (\n \n )}\n \n \n \n \n \n \n \n \n \n {form}\n \n {formFooter && (\n \n {formFooter}\n \n )}\n \n \n \n \n \n );\n};\n\nexport default LoginWrapper;\n","import { keyframes } from \"styled-components\";\n\nexport const animation1 = keyframes`0% {\n transform: translate(139.785027px, 140.086989px) rotate(45.236493deg);\n animation-timing-function: cubic-bezier(0.42, 0, 0.58, 1);\n }\n 10% {\n transform: translate(139.785027px, 140.086989px) rotate(-197.740907deg);\n animation-timing-function: cubic-bezier(0.42, 0, 0.58, 1);\n }\n 20% {\n transform: translate(139.785027px, 140.086989px) rotate(-108.6deg);\n animation-timing-function: cubic-bezier(0.42, 0, 0.58, 1);\n }\n 30% {\n transform: translate(139.785027px, 140.086989px) rotate(-17.484014deg);\n animation-timing-function: cubic-bezier(0.42, 0, 0.58, 1);\n }\n 33.333333% {\n transform: translate(139.785027px, 140.086989px) rotate(-17.48deg);\n animation-timing-function: cubic-bezier(0.42, 0, 0.58, 1);\n }\n 43.333333% {\n transform: translate(139.785027px, 140.086989px) rotate(160.887995deg);\n }\n 100% {\n transform: translate(139.785027px, 140.086989px) rotate(160.887995deg);\n }`;\n\nexport const animation2 = keyframes`\n 0% {\n transform: scale(1, 0.995019);\n }\n 33.333333% {\n transform: scale(1, 0.995019);\n animation-timing-function: cubic-bezier(0.42, 0, 0.58, 1);\n }\n 43.333333% {\n transform: scale(0.101121, 0.102033);\n animation-timing-function: cubic-bezier(0.42, 0, 0.58, 1);\n }\n 50% {\n transform: scale(0.1, 0.1);\n animation-timing-function: cubic-bezier(0.42, 0, 0.58, 1);\n }\n 60% {\n transform: scale(1, 1);\n }\n 100% {\n transform: scale(1, 1);\n }\n`;\nexport const animation3 = keyframes`\n 0% {\n opacity: 1;\n }\n 6.666667% {\n opacity: 1;\n }\n 10% {\n opacity: 0;\n }\n 13.333333% {\n opacity: 0;\n }\n 20% {\n opacity: 1;\n }\n 30% {\n opacity: 1;\n }\n 36.666667% {\n opacity: 1;\n }\n 40% {\n opacity: 0;\n }\n 100% {\n opacity: 0;\n }\n`;\nexport const animation4 = keyframes`\n 0% {\n d: path(\"M85.4,249.8C109.08,255.3,133.72,257.37,157.65,252.14C181.65,246.89,202.95,233.55,219.27,215.35C227.84,205.79,213.74,191.6,205.13,201.21C190.9,217.1,173.27,228.26,152.34,232.86C132.03,237.32,110.79,235.19,90.73,230.52C78.19,227.61,72.85,246.88,85.4,249.8C85.4,249.8,85.4,249.8,85.4,249.8Z\");\n }\n 10% {\n d: path(\"M85.4,249.8C85.4,249.8,85.399999,249.800001,85.399999,249.800001C85.399999,249.800001,85.4,249.800002,85.4,249.800002C85.4,249.800002,90.484102,251.966034,95.043213,248.269966C100.484052,243.859082,98.694728,236.722769,97.073675,234.469349C95.517658,232.306335,94.559418,231.751273,90.73,230.52C78.19,227.61,72.85,246.88,85.4,249.8C85.4,249.8,85.4,249.8,85.4,249.8Z\");\n }\n 20% {\n d: path(\"M85.4,249.8C85.4,249.8,85.399999,249.800001,85.399999,249.800001C85.399999,249.800001,85.4,249.800002,85.4,249.800002C85.4,249.800002,90.484102,251.966034,95.043213,248.269966C100.484052,243.859082,98.694728,236.722769,97.073675,234.469349C95.517658,232.306335,94.559418,231.751273,90.73,230.52C78.19,227.61,72.85,246.88,85.4,249.8C85.4,249.8,85.4,249.8,85.4,249.8Z\");\n }\n 30% {\n d: path(\"M85.4,249.8C109.08,255.3,133.72,257.37,157.65,252.14C181.65,246.89,202.95,233.55,219.27,215.35C227.84,205.79,213.74,191.6,205.13,201.21C190.9,217.1,173.27,228.26,152.34,232.86C132.03,237.32,110.79,235.19,90.73,230.52C78.19,227.61,72.85,246.88,85.4,249.8C85.4,249.8,85.4,249.8,85.4,249.8Z\");\n }\n 33.333333% {\n d: path(\"M85.4,249.8C109.08,255.3,133.72,257.37,157.65,252.14C181.65,246.89,202.95,233.55,219.27,215.35C227.84,205.79,213.74,191.6,205.13,201.21C190.9,217.1,173.27,228.26,152.34,232.86C132.03,237.32,110.79,235.19,90.73,230.52C78.19,227.61,72.85,246.88,85.4,249.8C85.4,249.8,85.4,249.8,85.4,249.8Z\");\n }\n 43.333333% {\n d: path(\"M84.281285,246.076032C107.50521,254.051555,133.72,257.37,157.65,252.14C181.65,246.89,202.95,233.55,219.27,215.35C227.84,205.79,213.74,191.6,205.13,201.21C190.9,217.1,173.27,228.26,152.34,232.86C132.03,237.32,86.465691,239.82846,53.85604,207.193233C41.31604,204.283233,32.439249,213.928672,40.474905,219.54755C40.474905,219.54755,61.310295,238.187372,84.281285,246.076032Z\");\n }\n 100% {\n d: path(\"M84.281285,246.076032C107.50521,254.051555,133.72,257.37,157.65,252.14C181.65,246.89,202.95,233.55,219.27,215.35C227.84,205.79,213.74,191.6,205.13,201.21C190.9,217.1,173.27,228.26,152.34,232.86C132.03,237.32,86.465691,239.82846,53.85604,207.193233C41.31604,204.283233,32.439249,213.928672,40.474905,219.54755C40.474905,219.54755,61.310295,238.187372,84.281285,246.076032Z\");\n }\n`;\nexport const animation5 = keyframes`\n 0% {\n d: path(\"M249.74,169.63C255.24,145.95,257.31,121.31,252.08,97.38C246.83,73.38,233.49,52.08,215.29,35.76C205.73,27.19,191.54,41.29,201.15,49.9C217.04,64.13,228.2,81.76,232.8,102.69C237.26,123,235.13,144.24,230.46,164.3C227.54,176.84,246.82,182.18,249.74,169.63C249.74,169.63,249.74,169.63,249.74,169.63Z\");\n }\n 10% {\n d: path(\"M250.887564,168.08137C250.887564,168.081368,250.887563,168.081375,250.887563,168.081375C250.887563,168.081375,253.7831,157.676613,244.778825,154.781475C235.762034,151.882313,232.694053,158.881918,231.752888,162.486547C231.017121,165.304508,231.564293,168.517464,232.231509,169.666243C233.407087,171.690293,235.517449,173.828597,238.467701,174.606956C241.339242,175.364549,245.542656,175.427978,248.770823,172.704057C248.770823,172.704057,250.400569,171.202441,250.887564,168.08137Z\");\n }\n 20% {\n d: path(\"M250.887564,168.08137C250.887564,168.081368,250.887563,168.081375,250.887563,168.081375C250.887563,168.081375,253.7831,157.676613,244.778825,154.781475C235.762034,151.882313,232.694053,158.881918,231.752888,162.486547C231.017121,165.304508,231.564293,168.517464,232.231509,169.666243C233.407087,171.690293,235.517449,173.828597,238.467701,174.606956C241.339242,175.364549,245.542656,175.427978,248.770823,172.704057C248.770823,172.704057,250.400569,171.202441,250.887564,168.08137Z\");\n }\n 30% {\n d: path(\"M249.74,169.63C255.24,145.95,257.31,121.31,252.08,97.38C246.83,73.38,233.49,52.08,215.29,35.76C205.73,27.19,191.54,41.29,201.15,49.9C217.04,64.13,228.2,81.76,232.8,102.69C237.26,123,235.13,144.24,230.46,164.3C227.54,176.84,246.82,182.18,249.74,169.63C249.74,169.63,249.74,169.63,249.74,169.63Z\");\n }\n 33.333333% {\n d: path(\"M249.74,169.63C255.24,145.95,257.31,121.31,252.08,97.38C246.83,73.38,233.49,52.08,215.29,35.76C205.73,27.19,191.54,41.29,201.15,49.9C217.04,64.13,228.2,81.76,232.8,102.69C237.26,123,235.13,144.24,230.46,164.3C227.54,176.84,246.82,182.18,249.74,169.63C249.74,169.63,249.74,169.63,249.74,169.63Z\");\n }\n 43.333333% {\n d: path(\"M241.985702,180.287452C255.201364,145.393106,257.31,121.31,252.08,97.38C246.83,73.38,233.49,52.08,215.29,35.76C205.73,27.19,189.760952,38.146938,199.370952,46.756938C229.706596,66.855753,234.126292,101.544407,234.194759,127.574104C235.798839,155.047874,216.192342,185.901625,205.13,201.21C199.980012,208.336696,214.039151,220.128533,219.270001,215.35C219.270001,215.35,237.299554,192.660656,241.985702,180.287452Z\");\n }\n 100% {\n d: path(\"M241.985702,180.287452C255.201364,145.393106,257.31,121.31,252.08,97.38C246.83,73.38,233.49,52.08,215.29,35.76C205.73,27.19,189.760952,38.146938,199.370952,46.756938C229.706596,66.855753,234.126292,101.544407,234.194759,127.574104C235.798839,155.047874,216.192342,185.901625,205.13,201.21C199.980012,208.336696,214.039151,220.128533,219.270001,215.35C219.270001,215.35,237.299554,192.660656,241.985702,180.287452Z\");\n }\n`;\nexport const animation6 = keyframes`\n 0% {\n d: path(\"M171.68,7.71C148.17,1.51,123.61,-1.28,99.53,3.25C75.39,7.79,53.7,20.49,36.85,38.21C28.01,47.52,41.68,62.11,50.57,52.76C65.27,37.3,83.22,26.66,104.27,22.68C124.7,18.82,145.87,21.58,165.79,26.83C178.22,30.11,184.14,11,171.68,7.71C171.68,7.71,171.68,7.71,171.68,7.71Z\");\n }\n 10% {\n d: path(\"M171.58686,7.8192C164.834536,7.661923,162.882928,13.414575,162.613915,14.669774C162.613914,14.669774,161.858025,17.37084,162.366976,18.743708C162.782522,19.864622,163.527502,21.022768,164.723558,21.957074C165.842173,22.830886,168.859974,24.254302,168.859974,24.254302C168.859974,24.254302,168.859968,24.254306,168.859967,24.254304C181.289967,27.534304,184.046866,11.109212,171.586866,7.819212C171.586866,7.819212,171.58686,7.8192,171.58686,7.8192Z\");\n }\n 20% {\n d: path(\"M171.58686,7.8192C164.834536,7.661923,162.882928,13.414575,162.613915,14.669774C162.613914,14.669774,161.858025,17.37084,162.366976,18.743708C162.782522,19.864622,163.527502,21.022768,164.723558,21.957074C165.842173,22.830886,168.859974,24.254302,168.859974,24.254302C168.859974,24.254302,168.859968,24.254306,168.859967,24.254304C181.289967,27.534304,184.046866,11.109212,171.586866,7.819212C171.586866,7.819212,171.58686,7.8192,171.58686,7.8192Z\");\n }\n 30% {\n d: path(\"M171.68,7.71C148.17,1.51,123.61,-1.28,99.53,3.25C75.39,7.79,53.7,20.49,36.85,38.21C28.01,47.52,41.68,62.11,50.57,52.76C65.27,37.3,83.22,26.66,104.27,22.68C124.7,18.82,145.87,21.58,165.79,26.83C178.22,30.11,184.14,11,171.68,7.71C171.68,7.71,171.68,7.71,171.68,7.71Z\");\n }\n 33.333333% {\n d: path(\"M171.68,7.71C148.17,1.51,123.61,-1.28,99.53,3.25C75.39,7.79,53.7,20.49,36.85,38.21C28.01,47.52,41.68,62.11,50.57,52.76C65.27,37.3,83.22,26.66,104.27,22.68C124.7,18.82,145.87,21.58,165.79,26.83C178.22,30.11,184.14,11,171.68,7.71C171.68,7.71,171.68,7.71,171.68,7.71Z\");\n }\n 43.333333% {\n d: path(\"M154.601291,1.547478C127.732134,-3.659063,101.676041,0.16217,89.834975,4.047622C73.018778,9.565582,43.015709,29.967817,36.85,38.21C28.01,47.52,41.568561,62.002759,50.57,52.76C67.005248,35.884138,77.788003,22.937369,100.935291,18.024709C148.028227,8.029949,175.904245,24.591662,199.370952,46.756938C210.775532,51.88401,219.463487,39.878796,215.289997,35.759998C189.664787,10.470596,154.601291,1.547478,154.601291,1.547478Z\");\n }\n 100% {\n d: path(\"M154.601291,1.547478C127.732134,-3.659063,101.676041,0.16217,89.834975,4.047622C73.018778,9.565582,43.015709,29.967817,36.85,38.21C28.01,47.52,41.568561,62.002759,50.57,52.76C67.005248,35.884138,77.788003,22.937369,100.935291,18.024709C148.028227,8.029949,175.904245,24.591662,199.370952,46.756938C210.775532,51.88401,219.463487,39.878796,215.289997,35.759998C189.664787,10.470596,154.601291,1.547478,154.601291,1.547478Z\");\n }\n`;\nexport const animation7 = keyframes`\n 0% {\n d: path(\"M5.83,85.46C0.33,109.14,-1.74,133.78,3.49,157.71C8.74,181.71,22.08,203.01,40.28,219.33C49.84,227.9,64.03,213.8,54.42,205.19C38.53,190.96,27.37,173.33,22.77,152.4C18.31,132.09,20.44,110.85,25.11,90.79C28.03,78.25,8.75,72.91,5.83,85.46L5.83,85.46Z\");\n }\n 3.333333% {\n d: path(\"M4.90273,88.748028C1.236063,104.534694,0.694614,122.375568,4.181281,138.328902C7.119767,155.82704,18.329955,178.442148,31.722495,188.944182C39.448991,194.869945,48.960631,181.919808,35.808325,167.974185C27.053341,155.46954,26.778713,144.786038,23.180834,130.168643C19.139468,114.899686,18.114526,100.786543,20.952073,87.411869C21.572437,79.045425,6.897064,77.595457,4.916661,86.915441L4.90273,88.748028Z\");\n }\n 10% {\n d: path(\"M3.04819,95.324083C3.04819,95.324083,5.563842,99.566705,5.563842,99.566705C5.563842,99.566705,11.253926,104.287825,15.031546,103.153927C19.091035,103.791214,24.274539,98.764542,25.851733,95.404259C27.275674,92.370488,25.596139,87.698114,24.002501,85.705929C20.798403,80.519057,13.463578,80.659628,12.636219,80.655608C8.65731,80.636275,3.191193,86.96637,3.089982,89.826322L3.04819,95.324083Z\");\n }\n 20% {\n d: path(\"M3.04819,95.324083C3.04819,95.324083,5.563842,99.566705,5.563842,99.566705C5.563842,99.566705,11.253926,104.287825,15.031546,103.153927C19.091035,103.791214,24.274539,98.764542,25.851733,95.404259C27.275674,92.370488,25.596139,87.698114,24.002501,85.705929C20.798403,80.519057,13.463578,80.659628,12.636219,80.655608C8.65731,80.636275,3.191193,86.96637,3.089982,89.826322L3.04819,95.324083Z\");\n }\n 30% {\n d: path(\"M5.83,85.46C0.33,109.14,-1.74,133.78,3.49,157.71C8.74,181.71,22.08,203.01,40.28,219.33C49.84,227.9,64.03,213.8,54.42,205.19C38.53,190.96,27.37,173.33,22.77,152.4C18.31,132.09,20.44,110.85,25.11,90.79C28.03,78.25,8.75,72.91,5.83,85.46L5.83,85.46Z\");\n }\n 33.333333% {\n d: path(\"M5.83,85.46C0.33,109.14,-1.74,133.78,3.49,157.71C8.74,181.71,22.08,203.01,40.28,219.33C49.84,227.9,64.03,213.8,54.42,205.19C38.53,190.96,27.37,173.33,22.77,152.4C18.31,132.09,20.44,110.85,25.11,90.79C28.03,78.25,8.75,72.91,5.83,85.46L5.83,85.46Z\");\n }\n 43.333333% {\n d: path(\"M36.436007,38.11681C-7.498754,85.801617,-0.826469,134.911183,5.658972,158.164678C15.873566,192.855226,35.43893,215.965329,40.28,219.33C49.84,227.9,63.271136,215.585685,53.661136,206.975685C38.384036,191.128398,25.999041,166.121323,22.77,152.4C12.429986,121.009925,27.020185,73.061168,50.245766,52.61587C65.058304,39.576508,51.054205,23.186387,36.436019,38.116819L36.436007,38.11681Z\");\n }\n 100% {\n d: path(\"M36.436007,38.11681C-7.498754,85.801617,-0.826469,134.911183,5.658972,158.164678C15.873566,192.855226,35.43893,215.965329,40.28,219.33C49.84,227.9,63.271136,215.585685,53.661136,206.975685C38.384036,191.128398,25.999041,166.121323,22.77,152.4C12.429986,121.009925,27.020185,73.061168,50.245766,52.61587C65.058304,39.576508,51.054205,23.186387,36.436019,38.116819L36.436007,38.11681Z\");\n }\n`;\n\nexport const animation8 = keyframes`\n 0% {\n transform: translate(139.784999px, 140.086986px) scale(1, 1);\n }\n 30% {\n transform: translate(139.784999px, 140.086986px) scale(1, 1);\n }\n 43.333333% {\n transform: translate(139.784999px, 140.086986px) scale(0.102813, 0.102813);\n }\n 50% {\n transform: translate(139.784999px, 140.086986px) scale(0.102813, 0.102813);\n }\n 60% {\n transform: translate(139.784999px, 140.086986px) scale(1.001075, 1.001075);\n }\n 100% {\n transform: translate(139.784999px, 140.086986px) scale(1.001075, 1.001075);\n }\n`;\nexport const animation9 = keyframes`\n 0% {\n opacity: 0;\n }\n 30% {\n opacity: 0;\n }\n 36.666667% {\n opacity: 0;\n }\n 40% {\n opacity: 1;\n }\n 100% {\n opacity: 1;\n }\n`;\n\nexport const animation10 = keyframes`0% {\n transform: translate(139.785004px, 140.086979px) rotate(0deg);\n }\n 10% {\n transform: translate(139.785004px, 140.086979px) rotate(0deg);\n }\n 20% {\n transform: translate(139.785004px, 140.086979px) rotate(90.041277deg);\n }\n 100% {\n transform: translate(139.785004px, 140.086979px) rotate(90.041277deg);\n }`;\n\nexport const animation11 = keyframes`\n 0% {\n opacity: 0;\n }\n 6.666667% {\n opacity: 0;\n }\n 10% {\n opacity: 1;\n }\n 13.333333% {\n opacity: 1;\n }\n 20% {\n opacity: 0;\n }\n 100% {\n opacity: 0;\n }\n`;\n","// This file is part of MinIO Design System\n// Copyright (c) 2022 MinIO, Inc.\n//\n// This program is free software: you can redistribute it and/or modify\n// it under the terms of the GNU Affero General Public License as published by\n// the Free Software Foundation, either version 3 of the License, or\n// (at your option) any later version.\n//\n// This program is distributed in the hope that it will be useful,\n// but WITHOUT ANY WARRANTY; without even the implied warranty of\n// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n// GNU Affero General Public License for more details.\n//\n// You should have received a copy of the GNU Affero General Public License\n// along with this program. If not, see .\n\nimport React, { FC, SVGProps } from \"react\";\nimport styled, { css } from \"styled-components\";\nimport get from \"lodash/get\";\nimport {\n animation1,\n animation10,\n animation11,\n animation2,\n animation3,\n animation4,\n animation5,\n animation6,\n animation7,\n animation8,\n animation9,\n} from \"./Loader.utils\";\n\nexport const AnimationFrame = styled.svg(\n {\n width: 40,\n height: 40,\n },\n // Keyframes injected with css helper as required by styled-components (Please refer to https://styled-components.com/docs/basics#animations)\n css`\n path {\n fill: ${(props) => get(props, `theme.loaderColor`, \"#113053\")};\n }\n #section1 {\n animation: ${animation1} 3000ms linear infinite normal forwards;\n }\n #section2 {\n animation: ${animation2} 3000ms linear infinite normal forwards;\n }\n #section3 {\n animation: ${animation3} 3000ms linear infinite normal forwards;\n }\n #section4 {\n animation: ${animation4} 3000ms linear infinite normal forwards;\n }\n #section5 {\n animation: ${animation5} 3000ms linear infinite normal forwards;\n }\n #section6 {\n animation: ${animation6} 3000ms linear infinite normal forwards;\n }\n #section7 {\n animation: ${animation7} 3000ms linear infinite normal forwards;\n }\n #section8 {\n animation: ${animation8} 3000ms linear infinite normal forwards;\n }\n #section9 {\n animation: ${animation9} 3000ms linear infinite normal forwards;\n }\n #section10 {\n animation: ${animation10} 3000ms linear infinite normal forwards;\n }\n #section11 {\n animation: ${animation11} 3000ms linear infinite normal forwards;\n }\n `,\n);\n\nconst Loader: FC> = (props: any) => {\n return (\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n );\n};\n\nexport default Loader;\n","// This file is part of MinIO Design System\n// Copyright (c) 2023 MinIO, Inc.\n//\n// This program is free software: you can redistribute it and/or modify\n// it under the terms of the GNU Affero General Public License as published by\n// the Free Software Foundation, either version 3 of the License, or\n// (at your option) any later version.\n//\n// This program is distributed in the hope that it will be useful,\n// but WITHOUT ANY WARRANTY; without even the implied warranty of\n// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n// GNU Affero General Public License for more details.\n//\n// You should have received a copy of the GNU Affero General Public License\n// along with this program. If not, see .\n\nimport React, { FC, HTMLAttributes } from \"react\";\nimport styled from \"styled-components\";\nimport get from \"lodash/get\";\nimport { PageHeaderConstruct, PageHeaderProps } from \"./PageHeader.types\";\nimport Grid from \"../Grid/Grid\";\nimport { breakPoints } from \"../../global/utils\";\n\nconst ParentContainer = styled.div<\n PageHeaderConstruct & HTMLAttributes\n>(({ theme, sx }) => ({\n display: \"flex\",\n flexDirection: \"row\",\n width: \"100%\",\n minHeight: 83,\n backgroundColor: get(theme, `pageHeader.background`, \"#fff\"),\n left: 0,\n borderBottom: `1px solid ${get(theme, `pageHeader.border`, \"#E5E5E5\")}`,\n flexWrap: \"wrap\",\n justifyContent: \"space-between\",\n alignItems: \"center\",\n [`@media (max-width: ${get(breakPoints, \"md\", 0)}px)`]: {\n \"& > div\": {\n margin: \"4px 0\",\n padding: \"0 20px,\",\n },\n },\n ...sx,\n}));\n\nconst LabelContainer = styled.div>(\n ({ theme }) => ({\n color: get(theme, `pageHeader.color`, \"#000\"),\n fontSize: 18,\n fontWeight: 700,\n paddingLeft: 20,\n display: \"flex\",\n flexGrow: 1,\n marginRight: 10,\n \"& a\": {\n color: get(theme, `pageHeader.color`, \"#000\"),\n textDecoration: \"none\",\n },\n }),\n);\n\nconst MiddleContainer = styled.div>(() => ({\n display: \"flex\",\n justifyContent: \"center\",\n alignItems: \"center\",\n flexGrow: 1,\n margin: \"0 10px\",\n}));\n\nconst ActionsContainer = styled.div>(() => ({\n display: \"flex\",\n justifyContent: \"flex-end\",\n paddingRight: 20,\n flexGrow: 1,\n marginLeft: 10,\n \"& button\": {\n marginLeft: 8,\n },\n}));\n\nconst PageHeader: FC = ({\n label,\n middleComponent,\n actions,\n sx,\n}) => {\n return (\n \n \n {label}\n \n {middleComponent && (\n \n {middleComponent}\n \n )}\n \n {actions}\n \n \n );\n};\n\nexport default PageHeader;\n","// This file is part of MinIO Design System\n// Copyright (c) 2022 MinIO, Inc.\n//\n// This program is free software: you can redistribute it and/or modify\n// it under the terms of the GNU Affero General Public License as published by\n// the Free Software Foundation, either version 3 of the License, or\n// (at your option) any later version.\n//\n// This program is distributed in the hope that it will be useful,\n// but WITHOUT ANY WARRANTY; without even the implied warranty of\n// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n// GNU Affero General Public License for more details.\n//\n// You should have received a copy of the GNU Affero General Public License\n// along with this program. If not, see .\n\nimport React, {\n cloneElement,\n FC,\n Fragment,\n HTMLAttributes,\n useState,\n} from \"react\";\nimport styled, { css, keyframes } from \"styled-components\";\nimport { createPortal } from \"react-dom\";\nimport get from \"lodash/get\";\nimport {\n TooltipBuild,\n TooltipConstructProps,\n TooltipProps,\n} from \"./Tooltip.types\";\n\nconst opacityAnimation = keyframes`\n from {\n opacity: 0;\n }\n to {\n opacity: 1;\n }\n`;\n\nconst TooltipWrapper = styled.span>(\n {\n display: \"inline-flex\",\n position: \"relative\",\n },\n css`\n &:hover {\n & .tooltipElement {\n display: block;\n animation: ${opacityAnimation} 1s;\n }\n }\n `,\n);\n\nconst TooltipItem = styled.div(({ theme, placement }) => {\n const tooltipArrowSize = \"6px\";\n\n const background = get(theme, \"tooltip.background\", \"#737373\");\n const textColor = get(theme, \"tooltip.color\", \"#FFFFFF\");\n\n let placementPosition = {};\n const beforePosition = {\n content: \"' '\",\n left: \"50%\",\n border: \"solid transparent\",\n height: 0,\n width: 0,\n position: \"absolute\",\n pointerEvents: \"none\",\n borderWidth: tooltipArrowSize,\n marginLeft: `calc(${tooltipArrowSize} * -1);`,\n };\n\n switch (placement) {\n case \"top\":\n placementPosition = {\n transform: \"translateX(-50%) translateY(-50%)\",\n \"&::before\": {\n ...beforePosition,\n top: \"100%\",\n borderTopColor: background,\n },\n };\n break;\n case \"right\":\n placementPosition = {\n transform: \"translateX(0) translateY(-50%)\",\n \"&::before\": {\n ...beforePosition,\n left: `calc(${tooltipArrowSize} * -1)`,\n top: \"50%\",\n transform: \"translateX(0) translateY(-50%)\",\n borderRightColor: background,\n },\n };\n break;\n case \"left\":\n placementPosition = {\n transform: \"translateX(-100%) translateY(-50%)\",\n \"&::before\": {\n ...beforePosition,\n left: \"auto\",\n right: `calc(${tooltipArrowSize} * -2)`,\n top: \"50%\",\n transform: \"translateX(0) translateY(-50%)\",\n borderLeftColor: background,\n },\n };\n break;\n default:\n placementPosition = {\n transform: \"translateX(-50%)\",\n \"&::before\": {\n ...beforePosition,\n bottom: \"100%\",\n borderBottomColor: background,\n },\n };\n }\n\n return {\n position: \"fixed\",\n borderRadius: 4,\n color: textColor,\n background: background,\n lineHeight: 1,\n zIndex: 10001,\n padding: 8,\n fontSize: 12,\n boxShadow: \"#00000050 0px 3px 10px\",\n maxWidth: 350,\n ...placementPosition,\n };\n});\n\nconst TooltipElement: FC = ({\n placement,\n content,\n anchorEl,\n}) => {\n let position = {};\n let calculatedPlacement = placement;\n const boundYLimit = 45;\n const boundXLimit = 175;\n\n if (anchorEl) {\n const bounds = anchorEl.getBoundingClientRect();\n const windowWidth = document.documentElement.offsetWidth;\n const windowHeight = document.documentElement.offsetHeight;\n\n switch (placement) {\n case \"bottom\":\n const calcPosition = bounds.top + bounds.height + boundYLimit;\n\n if (calcPosition > windowHeight) {\n calculatedPlacement = \"top\";\n }\n break;\n case \"left\":\n const calcInitPosition = bounds.left - boundXLimit;\n\n if (calcInitPosition < 0) {\n calculatedPlacement = \"right\";\n }\n\n break;\n case \"right\":\n const calcEndPosition = bounds.left + bounds.width + boundXLimit;\n\n if (calcEndPosition > windowWidth) {\n calculatedPlacement = \"left\";\n }\n break;\n case \"top\":\n if (bounds.top < boundYLimit) {\n calculatedPlacement = \"bottom\";\n }\n\n break;\n }\n\n switch (calculatedPlacement) {\n case \"bottom\":\n position = {\n top: bounds.top + bounds.height + 10,\n left: bounds.left + bounds.width / 2,\n };\n break;\n case \"left\":\n position = {\n top: bounds.top + bounds.height / 2,\n left: bounds.left - 12,\n };\n break;\n case \"right\":\n position = {\n top: bounds.top + bounds.height / 2,\n left: bounds.left + bounds.width + 12,\n };\n break;\n case \"top\":\n position = {\n top: bounds.top - bounds.height / 2 - 10,\n left: bounds.left + bounds.width / 2,\n };\n break;\n }\n }\n\n return (\n \n {content}\n \n );\n};\n\nconst Tooltip: FC = ({\n children,\n tooltip,\n errorProps,\n placement = \"bottom\",\n}) => {\n const [anchorEl, setAnchorEl] = useState<\n (EventTarget & HTMLSpanElement) | null\n >(null);\n const [tooltipVisible, setTooltipVisible] = useState(false);\n\n if (tooltip === \"\") {\n return (\n \n {errorProps ? cloneElement(children, { ...errorProps }) : children}\n \n );\n }\n\n return (\n \n {\n setAnchorEl(event.currentTarget);\n setTooltipVisible(true);\n }}\n onPointerLeave={() => {\n setTooltipVisible(false);\n }}\n >\n {errorProps ? cloneElement(children, { ...errorProps }) : children}\n {tooltipVisible &&\n createPortal(\n ,\n document.body,\n )}\n \n \n );\n};\n\nexport default Tooltip;\n","// This file is part of MinIO Design System\n// Copyright (c) 2023 MinIO, Inc.\n//\n// This program is free software: you can redistribute it and/or modify\n// it under the terms of the GNU Affero General Public License as published by\n// the Free Software Foundation, either version 3 of the License, or\n// (at your option) any later version.\n//\n// This program is distributed in the hope that it will be useful,\n// but WITHOUT ANY WARRANTY; without even the implied warranty of\n// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n// GNU Affero General Public License for more details.\n//\n// You should have received a copy of the GNU Affero General Public License\n// along with this program. If not, see .\n\nimport React, { SVGProps } from \"react\";\n\nconst EditorThemeSwitchIcon = (props: SVGProps) => {\n return (\n \n \n \n );\n};\n\nexport default EditorThemeSwitchIcon;\n","// This file is part of MinIO Design System\n// Copyright (c) 2023 MinIO, Inc.\n//\n// This program is free software: you can redistribute it and/or modify\n// it under the terms of the GNU Affero General Public License as published by\n// the Free Software Foundation, either version 3 of the License, or\n// (at your option) any later version.\n//\n// This program is distributed in the hope that it will be useful,\n// but WITHOUT ANY WARRANTY; without even the implied warranty of\n// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n// GNU Affero General Public License for more details.\n//\n// You should have received a copy of the GNU Affero General Public License\n// along with this program. If not, see .\n\nimport React, { SVGProps } from \"react\";\n\nconst DisabledIcon = (props: SVGProps) => {\n return (\n \n \n \n \n \n );\n};\n\nexport default DisabledIcon;\n","// This file is part of MinIO Design System\n// Copyright (c) 2023 MinIO, Inc.\n//\n// This program is free software: you can redistribute it and/or modify\n// it under the terms of the GNU Affero General Public License as published by\n// the Free Software Foundation, either version 3 of the License, or\n// (at your option) any later version.\n//\n// This program is distributed in the hope that it will be useful,\n// but WITHOUT ANY WARRANTY; without even the implied warranty of\n// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n// GNU Affero General Public License for more details.\n//\n// You should have received a copy of the GNU Affero General Public License\n// along with this program. If not, see .\n\nimport * as React from \"react\";\nimport { SVGProps } from \"react\";\n\nconst FormatDrivesIcon = (props: SVGProps) => (\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n);\n\nexport default FormatDrivesIcon;\n","// This file is part of MinIO Design System\n// Copyright (c) 2023 MinIO, Inc.\n//\n// This program is free software: you can redistribute it and/or modify\n// it under the terms of the GNU Affero General Public License as published by\n// the Free Software Foundation, either version 3 of the License, or\n// (at your option) any later version.\n//\n// This program is distributed in the hope that it will be useful,\n// but WITHOUT ANY WARRANTY; without even the implied warranty of\n// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n// GNU Affero General Public License for more details.\n//\n// You should have received a copy of the GNU Affero General Public License\n// along with this program. If not, see .\n\nimport * as React from \"react\";\nimport { SVGProps } from \"react\";\n\nconst SpeedtestIcon = (props: SVGProps) => (\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n);\n\nexport default SpeedtestIcon;\n","// This file is part of MinIO Design System\n// Copyright (c) 2023 MinIO, Inc.\n//\n// This program is free software: you can redistribute it and/or modify\n// it under the terms of the GNU Affero General Public License as published by\n// the Free Software Foundation, either version 3 of the License, or\n// (at your option) any later version.\n//\n// This program is distributed in the hope that it will be useful,\n// but WITHOUT ANY WARRANTY; without even the implied warranty of\n// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n// GNU Affero General Public License for more details.\n//\n// You should have received a copy of the GNU Affero General Public License\n// along with this program. If not, see .\n\nimport * as React from \"react\";\nimport { SVGProps } from \"react\";\n\nconst StorageIcon = (props: SVGProps) => (\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n);\n\nexport default StorageIcon;\n","// This file is part of MinIO Design System\n// Copyright (c) 2023 MinIO, Inc.\n//\n// This program is free software: you can redistribute it and/or modify\n// it under the terms of the GNU Affero General Public License as published by\n// the Free Software Foundation, either version 3 of the License, or\n// (at your option) any later version.\n//\n// This program is distributed in the hope that it will be useful,\n// but WITHOUT ANY WARRANTY; without even the implied warranty of\n// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n// GNU Affero General Public License for more details.\n//\n// You should have received a copy of the GNU Affero General Public License\n// along with this program. If not, see .\n\nimport * as React from \"react\";\nimport { SVGProps } from \"react\";\n\nconst RefreshIcon = (props: SVGProps) => (\n \n \n \n \n \n \n \n \n \n \n \n \n);\n\nexport default RefreshIcon;\n","// This file is part of MinIO Design System\n// Copyright (c) 2023 MinIO, Inc.\n//\n// This program is free software: you can redistribute it and/or modify\n// it under the terms of the GNU Affero General Public License as published by\n// the Free Software Foundation, either version 3 of the License, or\n// (at your option) any later version.\n//\n// This program is distributed in the hope that it will be useful,\n// but WITHOUT ANY WARRANTY; without even the implied warranty of\n// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n// GNU Affero General Public License for more details.\n//\n// You should have received a copy of the GNU Affero General Public License\n// along with this program. If not, see .\n\nimport * as React from \"react\";\nimport { SVGProps } from \"react\";\n\nconst VersionIcon = (props: SVGProps) => (\n \n \n \n \n \n \n \n \n \n \n \n \n);\n\nexport default VersionIcon;\n","// This file is part of MinIO Design System\n// Copyright (c) 2023 MinIO, Inc.\n//\n// This program is free software: you can redistribute it and/or modify\n// it under the terms of the GNU Affero General Public License as published by\n// the Free Software Foundation, either version 3 of the License, or\n// (at your option) any later version.\n//\n// This program is distributed in the hope that it will be useful,\n// but WITHOUT ANY WARRANTY; without even the implied warranty of\n// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n// GNU Affero General Public License for more details.\n//\n// You should have received a copy of the GNU Affero General Public License\n// along with this program. If not, see .\n\nimport * as React from \"react\";\nimport { SVGProps } from \"react\";\n\nconst LambdaBalloonIcon = (props: SVGProps) => (\n \n \n \n \n \n \n \n \n \n \n \n);\n\nexport default LambdaBalloonIcon;\n","// This file is part of MinIO Design System\n// Copyright (c) 2023 MinIO, Inc.\n//\n// This program is free software: you can redistribute it and/or modify\n// it under the terms of the GNU Affero General Public License as published by\n// the Free Software Foundation, either version 3 of the License, or\n// (at your option) any later version.\n//\n// This program is distributed in the hope that it will be useful,\n// but WITHOUT ANY WARRANTY; without even the implied warranty of\n// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n// GNU Affero General Public License for more details.\n//\n// You should have received a copy of the GNU Affero General Public License\n// along with this program. If not, see .\n\nimport * as React from \"react\";\nimport { SVGProps } from \"react\";\n\nconst HelpIconFilled = (props: SVGProps) => (\n \n \n \n \n \n \n \n \n \n \n \n \n);\n\nexport default HelpIconFilled;\n","// This file is part of MinIO Design System\n// Copyright (c) 2023 MinIO, Inc.\n//\n// This program is free software: you can redistribute it and/or modify\n// it under the terms of the GNU Affero General Public License as published by\n// the Free Software Foundation, either version 3 of the License, or\n// (at your option) any later version.\n//\n// This program is distributed in the hope that it will be useful,\n// but WITHOUT ANY WARRANTY; without even the implied warranty of\n// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n// GNU Affero General Public License for more details.\n//\n// You should have received a copy of the GNU Affero General Public License\n// along with this program. If not, see .\n\nimport * as React from \"react\";\nimport { SVGProps } from \"react\";\n\nconst ShareIcon = (props: SVGProps) => (\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n);\n\nexport default ShareIcon;\n","// This file is part of MinIO Design System\n// Copyright (c) 2023 MinIO, Inc.\n//\n// This program is free software: you can redistribute it and/or modify\n// it under the terms of the GNU Affero General Public License as published by\n// the Free Software Foundation, either version 3 of the License, or\n// (at your option) any later version.\n//\n// This program is distributed in the hope that it will be useful,\n// but WITHOUT ANY WARRANTY; without even the implied warranty of\n// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n// GNU Affero General Public License for more details.\n//\n// You should have received a copy of the GNU Affero General Public License\n// along with this program. If not, see .\n\nimport * as React from \"react\";\nimport { SVGProps } from \"react\";\n\nconst EditIcon = (props: SVGProps) => (\n \n \n \n \n \n \n \n \n \n \n \n \n);\n\nexport default EditIcon;\n","// This file is part of MinIO Design System\n// Copyright (c) 2023 MinIO, Inc.\n//\n// This program is free software: you can redistribute it and/or modify\n// it under the terms of the GNU Affero General Public License as published by\n// the Free Software Foundation, either version 3 of the License, or\n// (at your option) any later version.\n//\n// This program is distributed in the hope that it will be useful,\n// but WITHOUT ANY WARRANTY; without even the implied warranty of\n// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n// GNU Affero General Public License for more details.\n//\n// You should have received a copy of the GNU Affero General Public License\n// along with this program. If not, see .\n\nimport * as React from \"react\";\nimport { SVGProps } from \"react\";\n\nconst JSONIcon = (props: SVGProps) => (\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n);\n\nexport default JSONIcon;\n","// This file is part of MinIO Design System\n// Copyright (c) 2023 MinIO, Inc.\n//\n// This program is free software: you can redistribute it and/or modify\n// it under the terms of the GNU Affero General Public License as published by\n// the Free Software Foundation, either version 3 of the License, or\n// (at your option) any later version.\n//\n// This program is distributed in the hope that it will be useful,\n// but WITHOUT ANY WARRANTY; without even the implied warranty of\n// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n// GNU Affero General Public License for more details.\n//\n// You should have received a copy of the GNU Affero General Public License\n// along with this program. If not, see .\n\nimport * as React from \"react\";\nimport { SVGProps } from \"react\";\n\nconst SearchIcon = (props: SVGProps) => (\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n);\n\nexport default SearchIcon;\n","// This file is part of MinIO Design System\n// Copyright (c) 2023 MinIO, Inc.\n//\n// This program is free software: you can redistribute it and/or modify\n// it under the terms of the GNU Affero General Public License as published by\n// the Free Software Foundation, either version 3 of the License, or\n// (at your option) any later version.\n//\n// This program is distributed in the hope that it will be useful,\n// but WITHOUT ANY WARRANTY; without even the implied warranty of\n// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n// GNU Affero General Public License for more details.\n//\n// You should have received a copy of the GNU Affero General Public License\n// along with this program. If not, see .\n\nimport * as React from \"react\";\nimport { SVGProps } from \"react\";\n\nconst WarnIcon = (props: SVGProps) => {\n return (\n \n \n \n \n \n \n \n );\n};\n\nexport default WarnIcon;\n","// This file is part of MinIO Design System\n// Copyright (c) 2023 MinIO, Inc.\n//\n// This program is free software: you can redistribute it and/or modify\n// it under the terms of the GNU Affero General Public License as published by\n// the Free Software Foundation, either version 3 of the License, or\n// (at your option) any later version.\n//\n// This program is distributed in the hope that it will be useful,\n// but WITHOUT ANY WARRANTY; without even the implied warranty of\n// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n// GNU Affero General Public License for more details.\n//\n// You should have received a copy of the GNU Affero General Public License\n// along with this program. If not, see .\n\nimport * as React from \"react\";\nimport { SVGProps } from \"react\";\n\nconst CircleIcon = (props: SVGProps) => (\n \n \n \n \n \n \n \n \n \n \n \n \n);\n\nexport default CircleIcon;\n","// This file is part of MinIO Design System\n// Copyright (c) 2023 MinIO, Inc.\n//\n// This program is free software: you can redistribute it and/or modify\n// it under the terms of the GNU Affero General Public License as published by\n// the Free Software Foundation, either version 3 of the License, or\n// (at your option) any later version.\n//\n// This program is distributed in the hope that it will be useful,\n// but WITHOUT ANY WARRANTY; without even the implied warranty of\n// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n// GNU Affero General Public License for more details.\n//\n// You should have received a copy of the GNU Affero General Public License\n// along with this program. If not, see .\n\nimport * as React from \"react\";\nimport { SVGProps } from \"react\";\n\nconst ObjectBrowserFolderIcon = (props: SVGProps) => {\n return (\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n );\n};\n\nexport default ObjectBrowserFolderIcon;\n","// This file is part of MinIO Design System\n// Copyright (c) 2023 MinIO, Inc.\n//\n// This program is free software: you can redistribute it and/or modify\n// it under the terms of the GNU Affero General Public License as published by\n// the Free Software Foundation, either version 3 of the License, or\n// (at your option) any later version.\n//\n// This program is distributed in the hope that it will be useful,\n// but WITHOUT ANY WARRANTY; without even the implied warranty of\n// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n// GNU Affero General Public License for more details.\n//\n// You should have received a copy of the GNU Affero General Public License\n// along with this program. If not, see .\n\nimport * as React from \"react\";\nimport { SVGProps } from \"react\";\n\nconst RedoIcon = (props: SVGProps) => (\n \n \n \n \n \n \n \n \n \n \n \n \n);\n\nexport default RedoIcon;\n","// This file is part of MinIO Design System\n// Copyright (c) 2023 MinIO, Inc.\n//\n// This program is free software: you can redistribute it and/or modify\n// it under the terms of the GNU Affero General Public License as published by\n// the Free Software Foundation, either version 3 of the License, or\n// (at your option) any later version.\n//\n// This program is distributed in the hope that it will be useful,\n// but WITHOUT ANY WARRANTY; without even the implied warranty of\n// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n// GNU Affero General Public License for more details.\n//\n// You should have received a copy of the GNU Affero General Public License\n// along with this program. If not, see .\n\nimport * as React from \"react\";\nimport { SVGProps } from \"react\";\n\nconst ChangeAccessPolicyIcon = (props: SVGProps) => (\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n);\n\nexport default ChangeAccessPolicyIcon;\n","// This file is part of MinIO Design System\n// Copyright (c) 2023 MinIO, Inc.\n//\n// This program is free software: you can redistribute it and/or modify\n// it under the terms of the GNU Affero General Public License as published by\n// the Free Software Foundation, either version 3 of the License, or\n// (at your option) any later version.\n//\n// This program is distributed in the hope that it will be useful,\n// but WITHOUT ANY WARRANTY; without even the implied warranty of\n// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n// GNU Affero General Public License for more details.\n//\n// You should have received a copy of the GNU Affero General Public License\n// along with this program. If not, see .\n\nimport * as React from \"react\";\nimport { SVGProps } from \"react\";\n\nconst ServersIcon = (props: SVGProps) => (\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n);\n\nexport default ServersIcon;\n","// This file is part of MinIO Design System\n// Copyright (c) 2023 MinIO, Inc.\n//\n// This program is free software: you can redistribute it and/or modify\n// it under the terms of the GNU Affero General Public License as published by\n// the Free Software Foundation, either version 3 of the License, or\n// (at your option) any later version.\n//\n// This program is distributed in the hope that it will be useful,\n// but WITHOUT ANY WARRANTY; without even the implied warranty of\n// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n// GNU Affero General Public License for more details.\n//\n// You should have received a copy of the GNU Affero General Public License\n// along with this program. If not, see .\n\nimport * as React from \"react\";\nimport { SVGProps } from \"react\";\n\nconst ClosePanelIcon = (props: SVGProps) => (\n \n \n \n \n \n \n);\n\nexport default ClosePanelIcon;\n","// This file is part of MinIO Design System\n// Copyright (c) 2023 MinIO, Inc.\n//\n// This program is free software: you can redistribute it and/or modify\n// it under the terms of the GNU Affero General Public License as published by\n// the Free Software Foundation, either version 3 of the License, or\n// (at your option) any later version.\n//\n// This program is distributed in the hope that it will be useful,\n// but WITHOUT ANY WARRANTY; without even the implied warranty of\n// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n// GNU Affero General Public License for more details.\n//\n// You should have received a copy of the GNU Affero General Public License\n// along with this program. If not, see .\n\nimport React, { SVGProps } from \"react\";\n\nconst MinIOTierIconXs = (props: SVGProps) => {\n return (\n \n \n \n );\n};\n\nexport default MinIOTierIconXs;\n","// This file is part of MinIO Design System\n// Copyright (c) 2023 MinIO, Inc.\n//\n// This program is free software: you can redistribute it and/or modify\n// it under the terms of the GNU Affero General Public License as published by\n// the Free Software Foundation, either version 3 of the License, or\n// (at your option) any later version.\n//\n// This program is distributed in the hope that it will be useful,\n// but WITHOUT ANY WARRANTY; without even the implied warranty of\n// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n// GNU Affero General Public License for more details.\n//\n// You should have received a copy of the GNU Affero General Public License\n// along with this program. If not, see .\n\nimport * as React from \"react\";\nimport { SVGProps } from \"react\";\n\nconst DashboardIcon = (props: SVGProps) => (\n \n \n \n \n \n \n \n \n \n \n \n \n);\n\nexport default DashboardIcon;\n","// This file is part of MinIO Design System\n// Copyright (c) 2023 MinIO, Inc.\n//\n// This program is free software: you can redistribute it and/or modify\n// it under the terms of the GNU Affero General Public License as published by\n// the Free Software Foundation, either version 3 of the License, or\n// (at your option) any later version.\n//\n// This program is distributed in the hope that it will be useful,\n// but WITHOUT ANY WARRANTY; without even the implied warranty of\n// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n// GNU Affero General Public License for more details.\n//\n// You should have received a copy of the GNU Affero General Public License\n// along with this program. If not, see .\n\nimport * as React from \"react\";\nimport { SVGProps } from \"react\";\n\nconst ClustersIcon = (props: SVGProps) => (\n \n \n \n \n \n \n \n \n \n \n \n \n);\n\nexport default ClustersIcon;\n","// This file is part of MinIO Design System\n// Copyright (c) 2023 MinIO, Inc.\n//\n// This program is free software: you can redistribute it and/or modify\n// it under the terms of the GNU Affero General Public License as published by\n// the Free Software Foundation, either version 3 of the License, or\n// (at your option) any later version.\n//\n// This program is distributed in the hope that it will be useful,\n// but WITHOUT ANY WARRANTY; without even the implied warranty of\n// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n// GNU Affero General Public License for more details.\n//\n// You should have received a copy of the GNU Affero General Public License\n// along with this program. If not, see .\n\nimport * as React from \"react\";\nimport { SVGProps } from \"react\";\n\nconst MirroringIcon = (props: SVGProps) => (\n \n \n \n \n \n \n \n \n \n \n \n \n);\n\nexport default MirroringIcon;\n","// This file is part of MinIO Design System\n// Copyright (c) 2023 MinIO, Inc.\n//\n// This program is free software: you can redistribute it and/or modify\n// it under the terms of the GNU Affero General Public License as published by\n// the Free Software Foundation, either version 3 of the License, or\n// (at your option) any later version.\n//\n// This program is distributed in the hope that it will be useful,\n// but WITHOUT ANY WARRANTY; without even the implied warranty of\n// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n// GNU Affero General Public License for more details.\n//\n// You should have received a copy of the GNU Affero General Public License\n// along with this program. If not, see .\n\nimport * as React from \"react\";\nimport { SVGProps } from \"react\";\n\nconst ToolsIcon = (props: SVGProps) => (\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n);\n\nexport default ToolsIcon;\n","// This file is part of MinIO Design System\n// Copyright (c) 2023 MinIO, Inc.\n//\n// This program is free software: you can redistribute it and/or modify\n// it under the terms of the GNU Affero General Public License as published by\n// the Free Software Foundation, either version 3 of the License, or\n// (at your option) any later version.\n//\n// This program is distributed in the hope that it will be useful,\n// but WITHOUT ANY WARRANTY; without even the implied warranty of\n// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n// GNU Affero General Public License for more details.\n//\n// You should have received a copy of the GNU Affero General Public License\n// along with this program. If not, see .\n\nimport React, { SVGProps } from \"react\";\n\nconst ArrowIcon = (props: SVGProps) => {\n return (\n \n \n \n \n \n \n \n \n \n \n \n \n );\n};\n\nexport default ArrowIcon;\n","// This file is part of MinIO Design System\n// Copyright (c) 2023 MinIO, Inc.\n//\n// This program is free software: you can redistribute it and/or modify\n// it under the terms of the GNU Affero General Public License as published by\n// the Free Software Foundation, either version 3 of the License, or\n// (at your option) any later version.\n//\n// This program is distributed in the hope that it will be useful,\n// but WITHOUT ANY WARRANTY; without even the implied warranty of\n// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n// GNU Affero General Public License for more details.\n//\n// You should have received a copy of the GNU Affero General Public License\n// along with this program. If not, see .\n\nimport * as React from \"react\";\nimport { SVGProps } from \"react\";\n\nconst ServiceAccountIcon = (props: SVGProps) => (\n \n \n \n \n \n \n \n \n \n \n \n \n);\n\nexport default ServiceAccountIcon;\n","import * as React from \"react\";\nimport { SVGProps } from \"react\";\n\nconst OnlineRegistrationBackIcon = (props: SVGProps) => (\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n);\n\nexport default OnlineRegistrationBackIcon;\n","// This file is part of MinIO Design System\n// Copyright (c) 2023 MinIO, Inc.\n//\n// This program is free software: you can redistribute it and/or modify\n// it under the terms of the GNU Affero General Public License as published by\n// the Free Software Foundation, either version 3 of the License, or\n// (at your option) any later version.\n//\n// This program is distributed in the hope that it will be useful,\n// but WITHOUT ANY WARRANTY; without even the implied warranty of\n// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n// GNU Affero General Public License for more details.\n//\n// You should have received a copy of the GNU Affero General Public License\n// along with this program. If not, see .\n\nimport * as React from \"react\";\nimport { SVGProps } from \"react\";\n\nconst ConfigurationsListIcon = (props: SVGProps) => (\n \n \n \n \n \n \n \n \n \n \n \n \n);\n\nexport default ConfigurationsListIcon;\n","// This file is part of MinIO Design System\n// Copyright (c) 2023 MinIO, Inc.\n//\n// This program is free software: you can redistribute it and/or modify\n// it under the terms of the GNU Affero General Public License as published by\n// the Free Software Foundation, either version 3 of the License, or\n// (at your option) any later version.\n//\n// This program is distributed in the hope that it will be useful,\n// but WITHOUT ANY WARRANTY; without even the implied warranty of\n// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n// GNU Affero General Public License for more details.\n//\n// You should have received a copy of the GNU Affero General Public License\n// along with this program. If not, see .\n\nimport * as React from \"react\";\nimport { SVGProps } from \"react\";\n\nconst WatchIcon = (props: SVGProps) => (\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n);\n\nexport default WatchIcon;\n","// This file is part of MinIO Design System\n// Copyright (c) 2023 MinIO, Inc.\n//\n// This program is free software: you can redistribute it and/or modify\n// it under the terms of the GNU Affero General Public License as published by\n// the Free Software Foundation, either version 3 of the License, or\n// (at your option) any later version.\n//\n// This program is distributed in the hope that it will be useful,\n// but WITHOUT ANY WARRANTY; without even the implied warranty of\n// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n// GNU Affero General Public License for more details.\n//\n// You should have received a copy of the GNU Affero General Public License\n// along with this program. If not, see .\n\nimport * as React from \"react\";\nimport { SVGProps } from \"react\";\n\nconst ServiceAccountCredentialsIcon = (props: SVGProps) => (\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n);\n\nexport default ServiceAccountCredentialsIcon;\n","// This file is part of MinIO Design System\n// Copyright (c) 2023 MinIO, Inc.\n//\n// This program is free software: you can redistribute it and/or modify\n// it under the terms of the GNU Affero General Public License as published by\n// the Free Software Foundation, either version 3 of the License, or\n// (at your option) any later version.\n//\n// This program is distributed in the hope that it will be useful,\n// but WITHOUT ANY WARRANTY; without even the implied warranty of\n// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n// GNU Affero General Public License for more details.\n//\n// You should have received a copy of the GNU Affero General Public License\n// along with this program. If not, see .\n\nimport * as React from \"react\";\nimport { SVGProps } from \"react\";\n\nconst HealIcon = (props: SVGProps) => (\n \n \n \n \n \n \n \n \n \n \n \n \n \n);\n\nexport default HealIcon;\n","// This file is part of MinIO Design System\n// Copyright (c) 2023 MinIO, Inc.\n//\n// This program is free software: you can redistribute it and/or modify\n// it under the terms of the GNU Affero General Public License as published by\n// the Free Software Foundation, either version 3 of the License, or\n// (at your option) any later version.\n//\n// This program is distributed in the hope that it will be useful,\n// but WITHOUT ANY WARRANTY; without even the implied warranty of\n// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n// GNU Affero General Public License for more details.\n//\n// You should have received a copy of the GNU Affero General Public License\n// along with this program. If not, see .\n\nimport React, { SVGProps } from \"react\";\n\nconst S3TierIcon = (props: SVGProps) => {\n return (\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n );\n};\n\nexport default S3TierIcon;\n","// This file is part of MinIO Design System\n// Copyright (c) 2023 MinIO, Inc.\n//\n// This program is free software: you can redistribute it and/or modify\n// it under the terms of the GNU Affero General Public License as published by\n// the Free Software Foundation, either version 3 of the License, or\n// (at your option) any later version.\n//\n// This program is distributed in the hope that it will be useful,\n// but WITHOUT ANY WARRANTY; without even the implied warranty of\n// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n// GNU Affero General Public License for more details.\n//\n// You should have received a copy of the GNU Affero General Public License\n// along with this program. If not, see .\n\nimport * as React from \"react\";\nimport { SVGProps } from \"react\";\n\nconst ArrowRightIcon = (props: SVGProps) => (\n \n \n \n \n \n \n \n \n \n \n \n \n);\n\nexport default ArrowRightIcon;\n","// This file is part of MinIO Design System\n// Copyright (c) 2023 MinIO, Inc.\n//\n// This program is free software: you can redistribute it and/or modify\n// it under the terms of the GNU Affero General Public License as published by\n// the Free Software Foundation, either version 3 of the License, or\n// (at your option) any later version.\n//\n// This program is distributed in the hope that it will be useful,\n// but WITHOUT ANY WARRANTY; without even the implied warranty of\n// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n// GNU Affero General Public License for more details.\n//\n// You should have received a copy of the GNU Affero General Public License\n// along with this program. If not, see .\n\nimport * as React from \"react\";\nimport { SVGProps } from \"react\";\n\nconst PreviewIcon = (props: SVGProps) => (\n \n \n \n \n \n \n \n \n \n \n \n);\n\nexport default PreviewIcon;\n","// This file is part of MinIO Design System\n// Copyright (c) 2023 MinIO, Inc.\n//\n// This program is free software: you can redistribute it and/or modify\n// it under the terms of the GNU Affero General Public License as published by\n// the Free Software Foundation, either version 3 of the License, or\n// (at your option) any later version.\n//\n// This program is distributed in the hope that it will be useful,\n// but WITHOUT ANY WARRANTY; without even the implied warranty of\n// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n// GNU Affero General Public License for more details.\n//\n// You should have received a copy of the GNU Affero General Public License\n// along with this program. If not, see .\n\nimport * as React from \"react\";\nimport { SVGProps } from \"react\";\n\nconst BucketQuotaIcon = (props: SVGProps) => (\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n);\n\nexport default BucketQuotaIcon;\n","// This file is part of MinIO Design System\n// Copyright (c) 2023 MinIO, Inc.\n//\n// This program is free software: you can redistribute it and/or modify\n// it under the terms of the GNU Affero General Public License as published by\n// the Free Software Foundation, either version 3 of the License, or\n// (at your option) any later version.\n//\n// This program is distributed in the hope that it will be useful,\n// but WITHOUT ANY WARRANTY; without even the implied warranty of\n// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n// GNU Affero General Public License for more details.\n//\n// You should have received a copy of the GNU Affero General Public License\n// along with this program. If not, see .\n\nimport * as React from \"react\";\nimport { SVGProps } from \"react\";\n\nconst SelectMultipleIcon = (props: SVGProps) => (\n \n \n \n \n \n \n \n \n \n \n \n \n);\n\nexport default SelectMultipleIcon;\n","// This file is part of MinIO Design System\n// Copyright (c) 2023 MinIO, Inc.\n//\n// This program is free software: you can redistribute it and/or modify\n// it under the terms of the GNU Affero General Public License as published by\n// the Free Software Foundation, either version 3 of the License, or\n// (at your option) any later version.\n//\n// This program is distributed in the hope that it will be useful,\n// but WITHOUT ANY WARRANTY; without even the implied warranty of\n// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n// GNU Affero General Public License for more details.\n//\n// You should have received a copy of the GNU Affero General Public License\n// along with this program. If not, see .\n\nimport * as React from \"react\";\nimport { SVGProps } from \"react\";\n\nconst DeleteIcon = (props: SVGProps) => (\n \n \n \n \n \n \n);\nexport default DeleteIcon;\n","// This file is part of MinIO Design System\n// Copyright (c) 2023 MinIO, Inc.\n//\n// This program is free software: you can redistribute it and/or modify\n// it under the terms of the GNU Affero General Public License as published by\n// the Free Software Foundation, either version 3 of the License, or\n// (at your option) any later version.\n//\n// This program is distributed in the hope that it will be useful,\n// but WITHOUT ANY WARRANTY; without even the implied warranty of\n// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n// GNU Affero General Public License for more details.\n//\n// You should have received a copy of the GNU Affero General Public License\n// along with this program. If not, see .\n\nimport * as React from \"react\";\nimport { SVGProps } from \"react\";\n\nconst EditYamlIcon = (props: SVGProps) => (\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n);\n\nexport default EditYamlIcon;\n","// This file is part of MinIO Design System\n// Copyright (c) 2023 MinIO, Inc.\n//\n// This program is free software: you can redistribute it and/or modify\n// it under the terms of the GNU Affero General Public License as published by\n// the Free Software Foundation, either version 3 of the License, or\n// (at your option) any later version.\n//\n// This program is distributed in the hope that it will be useful,\n// but WITHOUT ANY WARRANTY; without even the implied warranty of\n// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n// GNU Affero General Public License for more details.\n//\n// You should have received a copy of the GNU Affero General Public License\n// along with this program. If not, see .\n\nimport * as React from \"react\";\nimport { SVGProps } from \"react\";\n\nconst ReportedUsageIcon = (props: SVGProps) => (\n \n \n \n \n \n \n \n \n \n \n \n \n);\n\nexport default ReportedUsageIcon;\n","// This file is part of MinIO Design System\n// Copyright (c) 2023 MinIO, Inc.\n//\n// This program is free software: you can redistribute it and/or modify\n// it under the terms of the GNU Affero General Public License as published by\n// the Free Software Foundation, either version 3 of the License, or\n// (at your option) any later version.\n//\n// This program is distributed in the hope that it will be useful,\n// but WITHOUT ANY WARRANTY; without even the implied warranty of\n// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n// GNU Affero General Public License for more details.\n//\n// You should have received a copy of the GNU Affero General Public License\n// along with this program. If not, see .\n\nimport * as React from \"react\";\nimport { SVGProps } from \"react\";\n\nconst PrometheusIcon = (props: SVGProps) => (\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n);\n\nexport default PrometheusIcon;\n","// This file is part of MinIO Design System\n// Copyright (c) 2023 MinIO, Inc.\n//\n// This program is free software: you can redistribute it and/or modify\n// it under the terms of the GNU Affero General Public License as published by\n// the Free Software Foundation, either version 3 of the License, or\n// (at your option) any later version.\n//\n// This program is distributed in the hope that it will be useful,\n// but WITHOUT ANY WARRANTY; without even the implied warranty of\n// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n// GNU Affero General Public License for more details.\n//\n// You should have received a copy of the GNU Affero General Public License\n// along with this program. If not, see .\n\nimport * as React from \"react\";\nimport { SVGProps } from \"react\";\n\nconst ConfirmModalIcon = (props: SVGProps) => (\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n);\n\nexport default ConfirmModalIcon;\n","// This file is part of MinIO Design System\n// Copyright (c) 2023 MinIO, Inc.\n//\n// This program is free software: you can redistribute it and/or modify\n// it under the terms of the GNU Affero General Public License as published by\n// the Free Software Foundation, either version 3 of the License, or\n// (at your option) any later version.\n//\n// This program is distributed in the hope that it will be useful,\n// but WITHOUT ANY WARRANTY; without even the implied warranty of\n// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n// GNU Affero General Public License for more details.\n//\n// You should have received a copy of the GNU Affero General Public License\n// along with this program. If not, see .\n\nimport * as React from \"react\";\nimport { SVGProps } from \"react\";\n\nconst NextArrowIcon = (props: SVGProps) => (\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n);\n\nexport default NextArrowIcon;\n","// This file is part of MinIO Design System\n// Copyright (c) 2023 MinIO, Inc.\n//\n// This program is free software: you can redistribute it and/or modify\n// it under the terms of the GNU Affero General Public License as published by\n// the Free Software Foundation, either version 3 of the License, or\n// (at your option) any later version.\n//\n// This program is distributed in the hope that it will be useful,\n// but WITHOUT ANY WARRANTY; without even the implied warranty of\n// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n// GNU Affero General Public License for more details.\n//\n// You should have received a copy of the GNU Affero General Public License\n// along with this program. If not, see .\n\nimport * as React from \"react\";\nimport { SVGProps } from \"react\";\n\nconst PermissionIcon = (props: SVGProps) => (\n \n \n \n \n \n \n \n \n \n \n \n \n);\n\nexport default PermissionIcon;\n","// This file is part of MinIO Design System\n// Copyright (c) 2023 MinIO, Inc.\n//\n// This program is free software: you can redistribute it and/or modify\n// it under the terms of the GNU Affero General Public License as published by\n// the Free Software Foundation, either version 3 of the License, or\n// (at your option) any later version.\n//\n// This program is distributed in the hope that it will be useful,\n// but WITHOUT ANY WARRANTY; without even the implied warranty of\n// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n// GNU Affero General Public License for more details.\n//\n// You should have received a copy of the GNU Affero General Public License\n// along with this program. If not, see .\n\nimport React, { SVGProps } from \"react\";\n\nconst GoogleTierIcon = (props: SVGProps) => {\n return (\n \n \n \n \n \n \n \n \n \n );\n};\n\nexport default GoogleTierIcon;\n","// This file is part of MinIO Design System\n// Copyright (c) 2023 MinIO, Inc.\n//\n// This program is free software: you can redistribute it and/or modify\n// it under the terms of the GNU Affero General Public License as published by\n// the Free Software Foundation, either version 3 of the License, or\n// (at your option) any later version.\n//\n// This program is distributed in the hope that it will be useful,\n// but WITHOUT ANY WARRANTY; without even the implied warranty of\n// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n// GNU Affero General Public License for more details.\n//\n// You should have received a copy of the GNU Affero General Public License\n// along with this program. If not, see .\n\nimport * as React from \"react\";\nimport { SVGProps } from \"react\";\n\nconst AccountIcon = (props: SVGProps) => (\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n);\n\nexport default AccountIcon;\n","// This file is part of MinIO Design System\n// Copyright (c) 2023 MinIO, Inc.\n//\n// This program is free software: you can redistribute it and/or modify\n// it under the terms of the GNU Affero General Public License as published by\n// the Free Software Foundation, either version 3 of the License, or\n// (at your option) any later version.\n//\n// This program is distributed in the hope that it will be useful,\n// but WITHOUT ANY WARRANTY; without even the implied warranty of\n// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n// GNU Affero General Public License for more details.\n//\n// You should have received a copy of the GNU Affero General Public License\n// along with this program. If not, see .\n\nimport * as React from \"react\";\nimport { SVGProps } from \"react\";\n\nconst AddAccessRuleIcon = (props: SVGProps) => (\n \n \n \n \n \n \n \n \n \n \n \n \n \n);\n\nexport default AddAccessRuleIcon;\n","// This file is part of MinIO Design System\n// Copyright (c) 2023 MinIO, Inc.\n//\n// This program is free software: you can redistribute it and/or modify\n// it under the terms of the GNU Affero General Public License as published by\n// the Free Software Foundation, either version 3 of the License, or\n// (at your option) any later version.\n//\n// This program is distributed in the hope that it will be useful,\n// but WITHOUT ANY WARRANTY; without even the implied warranty of\n// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n// GNU Affero General Public License for more details.\n//\n// You should have received a copy of the GNU Affero General Public License\n// along with this program. If not, see .\n\nimport * as React from \"react\";\nimport { SVGProps } from \"react\";\n\nconst UptimeIcon = (props: SVGProps) => (\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n);\n\nexport default UptimeIcon;\n","// This file is part of MinIO Design System\n// Copyright (c) 2023 MinIO, Inc.\n//\n// This program is free software: you can redistribute it and/or modify\n// it under the terms of the GNU Affero General Public License as published by\n// the Free Software Foundation, either version 3 of the License, or\n// (at your option) any later version.\n//\n// This program is distributed in the hope that it will be useful,\n// but WITHOUT ANY WARRANTY; without even the implied warranty of\n// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n// GNU Affero General Public License for more details.\n//\n// You should have received a copy of the GNU Affero General Public License\n// along with this program. If not, see .\n\nimport React, { SVGProps } from \"react\";\n\nconst EnabledIcon = (props: SVGProps) => {\n return (\n \n \n \n \n \n );\n};\n\nexport default EnabledIcon;\n","// This file is part of MinIO Design System\n// Copyright (c) 2023 MinIO, Inc.\n//\n// This program is free software: you can redistribute it and/or modify\n// it under the terms of the GNU Affero General Public License as published by\n// the Free Software Foundation, either version 3 of the License, or\n// (at your option) any later version.\n//\n// This program is distributed in the hope that it will be useful,\n// but WITHOUT ANY WARRANTY; without even the implied warranty of\n// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n// GNU Affero General Public License for more details.\n//\n// You should have received a copy of the GNU Affero General Public License\n// along with this program. If not, see .\n\nimport * as React from \"react\";\nimport { SVGProps } from \"react\";\n\nconst ObjectPreviewIcon = (props: SVGProps) => (\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n);\n\nexport default ObjectPreviewIcon;\n","// This file is part of MinIO Design System\n// Copyright (c) 2023 MinIO, Inc.\n//\n// This program is free software: you can redistribute it and/or modify\n// it under the terms of the GNU Affero General Public License as published by\n// the Free Software Foundation, either version 3 of the License, or\n// (at your option) any later version.\n//\n// This program is distributed in the hope that it will be useful,\n// but WITHOUT ANY WARRANTY; without even the implied warranty of\n// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n// GNU Affero General Public License for more details.\n//\n// You should have received a copy of the GNU Affero General Public License\n// along with this program. If not, see .\n\nimport * as React from \"react\";\nimport { SVGProps } from \"react\";\n\nconst TenantsOutlineIcon = (props: SVGProps) => (\n \n \n \n \n \n \n \n \n \n \n \n \n);\n\nexport default TenantsOutlineIcon;\n","// This file is part of MinIO Design System\n// Copyright (c) 2023 MinIO, Inc.\n//\n// This program is free software: you can redistribute it and/or modify\n// it under the terms of the GNU Affero General Public License as published by\n// the Free Software Foundation, either version 3 of the License, or\n// (at your option) any later version.\n//\n// This program is distributed in the hope that it will be useful,\n// but WITHOUT ANY WARRANTY; without even the implied warranty of\n// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n// GNU Affero General Public License for more details.\n//\n// You should have received a copy of the GNU Affero General Public License\n// along with this program. If not, see .\n\nimport * as React from \"react\";\nimport { SVGProps } from \"react\";\n\nconst DrivesIcon = (props: SVGProps) => (\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n);\n\nexport default DrivesIcon;\n","// This file is part of MinIO Design System\n// Copyright (c) 2023 MinIO, Inc.\n//\n// This program is free software: you can redistribute it and/or modify\n// it under the terms of the GNU Affero General Public License as published by\n// the Free Software Foundation, either version 3 of the License, or\n// (at your option) any later version.\n//\n// This program is distributed in the hope that it will be useful,\n// but WITHOUT ANY WARRANTY; without even the implied warranty of\n// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n// GNU Affero General Public License for more details.\n//\n// You should have received a copy of the GNU Affero General Public License\n// along with this program. If not, see .\n\nimport * as React from \"react\";\nimport { SVGProps } from \"react\";\n\nconst CreateNewPathIcon = (props: SVGProps) => (\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n);\n\nexport default CreateNewPathIcon;\n","// This file is part of MinIO Design System\n// Copyright (c) 2023 MinIO, Inc.\n//\n// This program is free software: you can redistribute it and/or modify\n// it under the terms of the GNU Affero General Public License as published by\n// the Free Software Foundation, either version 3 of the License, or\n// (at your option) any later version.\n//\n// This program is distributed in the hope that it will be useful,\n// but WITHOUT ANY WARRANTY; without even the implied warranty of\n// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n// GNU Affero General Public License for more details.\n//\n// You should have received a copy of the GNU Affero General Public License\n// along with this program. If not, see .\n\nimport * as React from \"react\";\nimport { SVGProps } from \"react\";\n\nconst HelpIcon = (props: SVGProps) => (\n \n \n \n \n \n \n \n \n \n \n \n \n);\n\nexport default HelpIcon;\n","// This file is part of MinIO Design System\n// Copyright (c) 2023 MinIO, Inc.\n//\n// This program is free software: you can redistribute it and/or modify\n// it under the terms of the GNU Affero General Public License as published by\n// the Free Software Foundation, either version 3 of the License, or\n// (at your option) any later version.\n//\n// This program is distributed in the hope that it will be useful,\n// but WITHOUT ANY WARRANTY; without even the implied warranty of\n// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n// GNU Affero General Public License for more details.\n//\n// You should have received a copy of the GNU Affero General Public License\n// along with this program. If not, see .\n\nimport React, { SVGProps } from \"react\";\n\nconst ReportedUsageFullIcon = (props: SVGProps) => {\n return (\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n );\n};\n\nexport default ReportedUsageFullIcon;\n","// This file is part of MinIO Design System\n// Copyright (c) 2023 MinIO, Inc.\n//\n// This program is free software: you can redistribute it and/or modify\n// it under the terms of the GNU Affero General Public License as published by\n// the Free Software Foundation, either version 3 of the License, or\n// (at your option) any later version.\n//\n// This program is distributed in the hope that it will be useful,\n// but WITHOUT ANY WARRANTY; without even the implied warranty of\n// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n// GNU Affero General Public License for more details.\n//\n// You should have received a copy of the GNU Affero General Public License\n// along with this program. If not, see .\n\nimport * as React from \"react\";\nimport { SVGProps } from \"react\";\n\nconst AddNewTagIcon = (props: SVGProps) => (\n \n \n \n \n \n \n \n \n \n \n);\n\nexport default AddNewTagIcon;\n","// This file is part of MinIO Design System\n// Copyright (c) 2023 MinIO, Inc.\n//\n// This program is free software: you can redistribute it and/or modify\n// it under the terms of the GNU Affero General Public License as published by\n// the Free Software Foundation, either version 3 of the License, or\n// (at your option) any later version.\n//\n// This program is distributed in the hope that it will be useful,\n// but WITHOUT ANY WARRANTY; without even the implied warranty of\n// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n// GNU Affero General Public License for more details.\n//\n// You should have received a copy of the GNU Affero General Public License\n// along with this program. If not, see .\n\nimport * as React from \"react\";\nimport { SVGProps } from \"react\";\n\nconst OnlineRegistrationIcon = (props: SVGProps) => (\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n);\n\nexport default OnlineRegistrationIcon;\n","// This file is part of MinIO Design System\n// Copyright (c) 2023 MinIO, Inc.\n//\n// This program is free software: you can redistribute it and/or modify\n// it under the terms of the GNU Affero General Public License as published by\n// the Free Software Foundation, either version 3 of the License, or\n// (at your option) any later version.\n//\n// This program is distributed in the hope that it will be useful,\n// but WITHOUT ANY WARRANTY; without even the implied warranty of\n// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n// GNU Affero General Public License for more details.\n//\n// You should have received a copy of the GNU Affero General Public License\n// along with this program. If not, see .\n\nimport React, { SVGProps } from \"react\";\n\nconst DiagnosticsIcon = (props: SVGProps) => {\n return (\n \n \n \n \n \n \n \n \n \n \n \n \n );\n};\n\nexport default DiagnosticsIcon;\n","// This file is part of MinIO Design System\n// Copyright (c) 2023 MinIO, Inc.\n//\n// This program is free software: you can redistribute it and/or modify\n// it under the terms of the GNU Affero General Public License as published by\n// the Free Software Foundation, either version 3 of the License, or\n// (at your option) any later version.\n//\n// This program is distributed in the hope that it will be useful,\n// but WITHOUT ANY WARRANTY; without even the implied warranty of\n// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n// GNU Affero General Public License for more details.\n//\n// You should have received a copy of the GNU Affero General Public License\n// along with this program. If not, see .\n\nimport * as React from \"react\";\nimport { SVGProps } from \"react\";\n\nconst ObjectBrowser1Icon = (props: SVGProps) => (\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n);\n\nexport default ObjectBrowser1Icon;\n","// This file is part of MinIO Design System\n// Copyright (c) 2023 MinIO, Inc.\n//\n// This program is free software: you can redistribute it and/or modify\n// it under the terms of the GNU Affero General Public License as published by\n// the Free Software Foundation, either version 3 of the License, or\n// (at your option) any later version.\n//\n// This program is distributed in the hope that it will be useful,\n// but WITHOUT ANY WARRANTY; without even the implied warranty of\n// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n// GNU Affero General Public License for more details.\n//\n// You should have received a copy of the GNU Affero General Public License\n// along with this program. If not, see .\n\nimport React, { SVGProps } from \"react\";\n\nconst MinIOTierIcon = (props: SVGProps) => {\n return (\n \n \n \n );\n};\n\nexport default MinIOTierIcon;\n","// This file is part of MinIO Design System\n// Copyright (c) 2023 MinIO, Inc.\n//\n// This program is free software: you can redistribute it and/or modify\n// it under the terms of the GNU Affero General Public License as published by\n// the Free Software Foundation, either version 3 of the License, or\n// (at your option) any later version.\n//\n// This program is distributed in the hope that it will be useful,\n// but WITHOUT ANY WARRANTY; without even the implied warranty of\n// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n// GNU Affero General Public License for more details.\n//\n// You should have received a copy of the GNU Affero General Public License\n// along with this program. If not, see .\n\nimport * as React from \"react\";\nimport { SVGProps } from \"react\";\n\nconst WarpIcon = (props: SVGProps) => (\n \n \n \n \n \n \n \n \n \n \n \n \n);\n\nexport default WarpIcon;\n","// This file is part of MinIO Design System\n// Copyright (c) 2023 MinIO, Inc.\n//\n// This program is free software: you can redistribute it and/or modify\n// it under the terms of the GNU Affero General Public License as published by\n// the Free Software Foundation, either version 3 of the License, or\n// (at your option) any later version.\n//\n// This program is distributed in the hope that it will be useful,\n// but WITHOUT ANY WARRANTY; without even the implied warranty of\n// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n// GNU Affero General Public License for more details.\n//\n// You should have received a copy of the GNU Affero General Public License\n// along with this program. If not, see .\n\nimport * as React from \"react\";\nimport { SVGProps } from \"react\";\n\nconst CopyIcon = (props: SVGProps) => (\n \n \n \n \n \n \n \n \n \n \n \n \n);\n\nexport default CopyIcon;\n","// This file is part of MinIO Design System\n// Copyright (c) 2023 MinIO, Inc.\n//\n// This program is free software: you can redistribute it and/or modify\n// it under the terms of the GNU Affero General Public License as published by\n// the Free Software Foundation, either version 3 of the License, or\n// (at your option) any later version.\n//\n// This program is distributed in the hope that it will be useful,\n// but WITHOUT ANY WARRANTY; without even the implied warranty of\n// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n// GNU Affero General Public License for more details.\n//\n// You should have received a copy of the GNU Affero General Public License\n// along with this program. If not, see .\n\nimport * as React from \"react\";\nimport { SVGProps } from \"react\";\n\nconst OpenListIcon = (props: SVGProps) => (\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n);\n\nexport default OpenListIcon;\n","// This file is part of MinIO Design System\n// Copyright (c) 2023 MinIO, Inc.\n//\n// This program is free software: you can redistribute it and/or modify\n// it under the terms of the GNU Affero General Public License as published by\n// the Free Software Foundation, either version 3 of the License, or\n// (at your option) any later version.\n//\n// This program is distributed in the hope that it will be useful,\n// but WITHOUT ANY WARRANTY; without even the implied warranty of\n// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n// GNU Affero General Public License for more details.\n//\n// You should have received a copy of the GNU Affero General Public License\n// along with this program. If not, see .\n\nimport * as React from \"react\";\nimport { SVGProps } from \"react\";\n\nconst MultipleBucketsIcon = (props: SVGProps) => {\n return (\n \n \n \n \n \n \n \n \n );\n};\n\nexport default MultipleBucketsIcon;\n","// This file is part of MinIO Design System\n// Copyright (c) 2021 MinIO, Inc.\n//\n// This program is free software: you can redistribute it and/or modify\n// it under the terms of the GNU Affero General Public License as published by\n// the Free Software Foundation, either version 3 of the License, or\n// (at your option) any later version.\n//\n// This program is distributed in the hope that it will be useful,\n// but WITHOUT ANY WARRANTY; without even the implied warranty of\n// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n// GNU Affero General Public License for more details.\n//\n// You should have received a copy of the GNU Affero General Public License\n// along with this program. If not, see .\n\nimport * as React from \"react\";\nimport { SVGProps } from \"react\";\n\nconst AddMembersToGroupIcon = (props: SVGProps) => (\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n);\n\nexport default AddMembersToGroupIcon;\n","import * as React from \"react\";\nimport { SVGProps } from \"react\";\n\nconst OfflineRegistrationBackIcon = (props: SVGProps) => (\n \n \n \n \n \n \n \n \n);\n\nexport default OfflineRegistrationBackIcon;\n","// This file is part of MinIO Design System\n// Copyright (c) 2023 MinIO, Inc.\n//\n// This program is free software: you can redistribute it and/or modify\n// it under the terms of the GNU Affero General Public License as published by\n// the Free Software Foundation, either version 3 of the License, or\n// (at your option) any later version.\n//\n// This program is distributed in the hope that it will be useful,\n// but WITHOUT ANY WARRANTY; without even the implied warranty of\n// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n// GNU Affero General Public License for more details.\n//\n// You should have received a copy of the GNU Affero General Public License\n// along with this program. If not, see .\n\nimport * as React from \"react\";\nimport { SVGProps } from \"react\";\n\nconst PrometheusErrorIcon = (props: SVGProps) => (\n \n \n \n \n \n \n \n \n \n \n \n \n);\n\nexport default PrometheusErrorIcon;\n","// This file is part of MinIO Design System\n// Copyright (c) 2023 MinIO, Inc.\n//\n// This program is free software: you can redistribute it and/or modify\n// it under the terms of the GNU Affero General Public License as published by\n// the Free Software Foundation, either version 3 of the License, or\n// (at your option) any later version.\n//\n// This program is distributed in the hope that it will be useful,\n// but WITHOUT ANY WARRANTY; without even the implied warranty of\n// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n// GNU Affero General Public License for more details.\n//\n// You should have received a copy of the GNU Affero General Public License\n// along with this program. If not, see .\n\nimport * as React from \"react\";\nimport { SVGProps } from \"react\";\n\nconst LifecycleConfigIcon = (props: SVGProps) => (\n \n \n \n \n \n \n \n \n \n \n \n \n \n);\n\nexport default LifecycleConfigIcon;\n","// This file is part of MinIO Design System\n// Copyright (c) 2023 MinIO, Inc.\n//\n// This program is free software: you can redistribute it and/or modify\n// it under the terms of the GNU Affero General Public License as published by\n// the Free Software Foundation, either version 3 of the License, or\n// (at your option) any later version.\n//\n// This program is distributed in the hope that it will be useful,\n// but WITHOUT ANY WARRANTY; without even the implied warranty of\n// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n// GNU Affero General Public License for more details.\n//\n// You should have received a copy of the GNU Affero General Public License\n// along with this program. If not, see .\n\nimport * as React from \"react\";\nimport { SVGProps } from \"react\";\n\nconst DriveFormatErrorsIcon = (props: SVGProps) => (\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n);\n\nexport default DriveFormatErrorsIcon;\n","// This file is part of MinIO Design System\n// Copyright (c) 2023 MinIO, Inc.\n//\n// This program is free software: you can redistribute it and/or modify\n// it under the terms of the GNU Affero General Public License as published by\n// the Free Software Foundation, either version 3 of the License, or\n// (at your option) any later version.\n//\n// This program is distributed in the hope that it will be useful,\n// but WITHOUT ANY WARRANTY; without even the implied warranty of\n// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n// GNU Affero General Public License for more details.\n//\n// You should have received a copy of the GNU Affero General Public License\n// along with this program. If not, see .\n\nimport * as React from \"react\";\nimport { SVGProps } from \"react\";\n\nconst VerifiedIcon = (props: SVGProps) => (\n \n \n \n \n \n \n \n \n \n \n);\n\nexport default VerifiedIcon;\n","// This file is part of MinIO Design System\n// Copyright (c) 2023 MinIO, Inc.\n//\n// This program is free software: you can redistribute it and/or modify\n// it under the terms of the GNU Affero General Public License as published by\n// the Free Software Foundation, either version 3 of the License, or\n// (at your option) any later version.\n//\n// This program is distributed in the hope that it will be useful,\n// but WITHOUT ANY WARRANTY; without even the implied warranty of\n// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n// GNU Affero General Public License for more details.\n//\n// You should have received a copy of the GNU Affero General Public License\n// along with this program. If not, see .\n\nimport * as React from \"react\";\nimport { SVGProps } from \"react\";\n\nconst CallHomeFeatureIcon = (props: SVGProps) => (\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n);\n\nexport default CallHomeFeatureIcon;\n","// This file is part of MinIO Design System\n// Copyright (c) 2023 MinIO, Inc.\n//\n// This program is free software: you can redistribute it and/or modify\n// it under the terms of the GNU Affero General Public License as published by\n// the Free Software Foundation, either version 3 of the License, or\n// (at your option) any later version.\n//\n// This program is distributed in the hope that it will be useful,\n// but WITHOUT ANY WARRANTY; without even the implied warranty of\n// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n// GNU Affero General Public License for more details.\n//\n// You should have received a copy of the GNU Affero General Public License\n// along with this program. If not, see .\n\nimport * as React from \"react\";\nimport { SVGProps } from \"react\";\n\nconst TraceIcon = (props: SVGProps) => (\n \n \n \n \n \n \n \n \n \n \n \n \n);\n\nexport default TraceIcon;\n","// This file is part of MinIO Design System\n// Copyright (c) 2023 MinIO, Inc.\n//\n// This program is free software: you can redistribute it and/or modify\n// it under the terms of the GNU Affero General Public License as published by\n// the Free Software Foundation, either version 3 of the License, or\n// (at your option) any later version.\n//\n// This program is distributed in the hope that it will be useful,\n// but WITHOUT ANY WARRANTY; without even the implied warranty of\n// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n// GNU Affero General Public License for more details.\n//\n// You should have received a copy of the GNU Affero General Public License\n// along with this program. If not, see .\n\nimport * as React from \"react\";\nimport { SVGProps } from \"react\";\n\nconst AddIcon = (props: SVGProps) => (\n \n \n \n \n \n \n \n \n \n \n \n \n);\n\nexport default AddIcon;\n","// This file is part of MinIO Design System\n// Copyright (c) 2023 MinIO, Inc.\n//\n// This program is free software: you can redistribute it and/or modify\n// it under the terms of the GNU Affero General Public License as published by\n// the Free Software Foundation, either version 3 of the License, or\n// (at your option) any later version.\n//\n// This program is distributed in the hope that it will be useful,\n// but WITHOUT ANY WARRANTY; without even the implied warranty of\n// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n// GNU Affero General Public License for more details.\n//\n// You should have received a copy of the GNU Affero General Public License\n// along with this program. If not, see .\n\nimport React, { SVGProps } from \"react\";\n\nconst GoogleTierIconXs = (props: SVGProps) => {\n return (\n \n \n \n \n \n \n \n \n \n \n \n );\n};\n\nexport default GoogleTierIconXs;\n","// This file is part of MinIO Design System\n// Copyright (c) 2023 MinIO, Inc.\n//\n// This program is free software: you can redistribute it and/or modify\n// it under the terms of the GNU Affero General Public License as published by\n// the Free Software Foundation, either version 3 of the License, or\n// (at your option) any later version.\n//\n// This program is distributed in the hope that it will be useful,\n// but WITHOUT ANY WARRANTY; without even the implied warranty of\n// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n// GNU Affero General Public License for more details.\n//\n// You should have received a copy of the GNU Affero General Public License\n// along with this program. If not, see .\n\nimport React, { SVGProps } from \"react\";\n\nconst LambdaNotificationsIcon = (props: SVGProps) => {\n return (\n \n \n \n );\n};\n\nexport default LambdaNotificationsIcon;\n","// This file is part of MinIO Design System\n// Copyright (c) 2023 MinIO, Inc.\n//\n// This program is free software: you can redistribute it and/or modify\n// it under the terms of the GNU Affero General Public License as published by\n// the Free Software Foundation, either version 3 of the License, or\n// (at your option) any later version.\n//\n// This program is distributed in the hope that it will be useful,\n// but WITHOUT ANY WARRANTY; without even the implied warranty of\n// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n// GNU Affero General Public License for more details.\n//\n// You should have received a copy of the GNU Affero General Public License\n// along with this program. If not, see .\n\nimport * as React from \"react\";\nimport { SVGProps } from \"react\";\n\nconst BackSettingsIcon = (props: SVGProps) => (\n \n \n \n \n \n \n \n \n \n \n \n \n);\n\nexport default BackSettingsIcon;\n","// This file is part of MinIO Design System\n// Copyright (c) 2023 MinIO, Inc.\n//\n// This program is free software: you can redistribute it and/or modify\n// it under the terms of the GNU Affero General Public License as published by\n// the Free Software Foundation, either version 3 of the License, or\n// (at your option) any later version.\n//\n// This program is distributed in the hope that it will be useful,\n// but WITHOUT ANY WARRANTY; without even the implied warranty of\n// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n// GNU Affero General Public License for more details.\n//\n// You should have received a copy of the GNU Affero General Public License\n// along with this program. If not, see .\n\nimport * as React from \"react\";\nimport { SVGProps } from \"react\";\n\nconst LicenseIcon = (props: SVGProps) => (\n \n \n \n \n \n \n \n \n \n \n \n \n);\n\nexport default LicenseIcon;\n","// This file is part of MinIO Design System\n// Copyright (c) 2023 MinIO, Inc.\n//\n// This program is free software: you can redistribute it and/or modify\n// it under the terms of the GNU Affero General Public License as published by\n// the Free Software Foundation, either version 3 of the License, or\n// (at your option) any later version.\n//\n// This program is distributed in the hope that it will be useful,\n// but WITHOUT ANY WARRANTY; without even the implied warranty of\n// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n// GNU Affero General Public License for more details.\n//\n// You should have received a copy of the GNU Affero General Public License\n// along with this program. If not, see .\n\nimport * as React from \"react\";\nimport { SVGProps } from \"react\";\n\nconst RemoveIcon = (props: SVGProps) => (\n \n \n \n \n \n \n \n \n \n \n \n \n);\n\nexport default RemoveIcon;\n","// This file is part of MinIO Design System\n// Copyright (c) 2023 MinIO, Inc.\n//\n// This program is free software: you can redistribute it and/or modify\n// it under the terms of the GNU Affero General Public License as published by\n// the Free Software Foundation, either version 3 of the License, or\n// (at your option) any later version.\n//\n// This program is distributed in the hope that it will be useful,\n// but WITHOUT ANY WARRANTY; without even the implied warranty of\n// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n// GNU Affero General Public License for more details.\n//\n// You should have received a copy of the GNU Affero General Public License\n// along with this program. If not, see .\n\nimport React, { SVGProps } from \"react\";\n\nconst TiersNotAvailableIcon = (props: SVGProps) => {\n return (\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n );\n};\n\nexport default TiersNotAvailableIcon;\n","// This file is part of MinIO Design System\n// Copyright (c) 2023 MinIO, Inc.\n//\n// This program is free software: you can redistribute it and/or modify\n// it under the terms of the GNU Affero General Public License as published by\n// the Free Software Foundation, either version 3 of the License, or\n// (at your option) any later version.\n//\n// This program is distributed in the hope that it will be useful,\n// but WITHOUT ANY WARRANTY; without even the implied warranty of\n// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n// GNU Affero General Public License for more details.\n//\n// You should have received a copy of the GNU Affero General Public License\n// along with this program. If not, see .\n\nimport * as React from \"react\";\nimport { SVGProps } from \"react\";\n\nconst PerformanceFeatureIcon = (props: SVGProps) => (\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n);\n\nexport default PerformanceFeatureIcon;\n","// This file is part of MinIO Design System\n// Copyright (c) 2023 MinIO, Inc.\n//\n// This program is free software: you can redistribute it and/or modify\n// it under the terms of the GNU Affero General Public License as published by\n// the Free Software Foundation, either version 3 of the License, or\n// (at your option) any later version.\n//\n// This program is distributed in the hope that it will be useful,\n// but WITHOUT ANY WARRANTY; without even the implied warranty of\n// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n// GNU Affero General Public License for more details.\n//\n// You should have received a copy of the GNU Affero General Public License\n// along with this program. If not, see .\n\nimport * as React from \"react\";\nimport { SVGProps } from \"react\";\n\nconst AddFolderIcon = (props: SVGProps) => (\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n);\n\nexport default AddFolderIcon;\n","// This file is part of MinIO Design System\n// Copyright (c) 2023 MinIO, Inc.\n//\n// This program is free software: you can redistribute it and/or modify\n// it under the terms of the GNU Affero General Public License as published by\n// the Free Software Foundation, either version 3 of the License, or\n// (at your option) any later version.\n//\n// This program is distributed in the hope that it will be useful,\n// but WITHOUT ANY WARRANTY; without even the implied warranty of\n// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n// GNU Affero General Public License for more details.\n//\n// You should have received a copy of the GNU Affero General Public License\n// along with this program. If not, see .\n\nimport React, { SVGProps } from \"react\";\n\nconst S3TierIcon = (props: SVGProps) => {\n return (\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n );\n};\n\nexport default S3TierIcon;\n","// This file is part of MinIO Design System\n// Copyright (c) 2023 MinIO, Inc.\n//\n// This program is free software: you can redistribute it and/or modify\n// it under the terms of the GNU Affero General Public License as published by\n// the Free Software Foundation, either version 3 of the License, or\n// (at your option) any later version.\n//\n// This program is distributed in the hope that it will be useful,\n// but WITHOUT ANY WARRANTY; without even the implied warranty of\n// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n// GNU Affero General Public License for more details.\n//\n// You should have received a copy of the GNU Affero General Public License\n// along with this program. If not, see .\n\nimport * as React from \"react\";\nimport { SVGProps } from \"react\";\n\nconst IAMPoliciesIcon = (props: SVGProps) => (\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n);\n\nexport default IAMPoliciesIcon;\n","// This file is part of MinIO Design System\n// Copyright (c) 2023 MinIO, Inc.\n//\n// This program is free software: you can redistribute it and/or modify\n// it under the terms of the GNU Affero General Public License as published by\n// the Free Software Foundation, either version 3 of the License, or\n// (at your option) any later version.\n//\n// This program is distributed in the hope that it will be useful,\n// but WITHOUT ANY WARRANTY; without even the implied warranty of\n// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n// GNU Affero General Public License for more details.\n//\n// You should have received a copy of the GNU Affero General Public License\n// along with this program. If not, see .\n\nimport * as React from \"react\";\nimport { SVGProps } from \"react\";\n\nconst UsersIcon = (props: SVGProps) => (\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n);\n\nexport default UsersIcon;\n","// This file is part of MinIO Design System\n// Copyright (c) 2023 MinIO, Inc.\n//\n// This program is free software: you can redistribute it and/or modify\n// it under the terms of the GNU Affero General Public License as published by\n// the Free Software Foundation, either version 3 of the License, or\n// (at your option) any later version.\n//\n// This program is distributed in the hope that it will be useful,\n// but WITHOUT ANY WARRANTY; without even the implied warranty of\n// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n// GNU Affero General Public License for more details.\n//\n// You should have received a copy of the GNU Affero General Public License\n// along with this program. If not, see .\n\nimport * as React from \"react\";\nimport { SVGProps } from \"react\";\n\nconst EgressIcon = (props: SVGProps) => (\n \n \n \n \n \n \n \n \n \n \n \n \n);\n\nexport default EgressIcon;\n","// This file is part of MinIO Design System\n// Copyright (c) 2023 MinIO, Inc.\n//\n// This program is free software: you can redistribute it and/or modify\n// it under the terms of the GNU Affero General Public License as published by\n// the Free Software Foundation, either version 3 of the License, or\n// (at your option) any later version.\n//\n// This program is distributed in the hope that it will be useful,\n// but WITHOUT ANY WARRANTY; without even the implied warranty of\n// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n// GNU Affero General Public License for more details.\n//\n// You should have received a copy of the GNU Affero General Public License\n// along with this program. If not, see .\n\nimport * as React from \"react\";\nimport { SVGProps } from \"react\";\n\nconst BucketEncryptionIcon = (props: SVGProps) => (\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n);\n\nexport default BucketEncryptionIcon;\n","// This file is part of MinIO Design System\n// Copyright (c) 2023 MinIO, Inc.\n//\n// This program is free software: you can redistribute it and/or modify\n// it under the terms of the GNU Affero General Public License as published by\n// the Free Software Foundation, either version 3 of the License, or\n// (at your option) any later version.\n//\n// This program is distributed in the hope that it will be useful,\n// but WITHOUT ANY WARRANTY; without even the implied warranty of\n// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n// GNU Affero General Public License for more details.\n//\n// You should have received a copy of the GNU Affero General Public License\n// along with this program. If not, see .\n\nimport * as React from \"react\";\nimport { SVGProps } from \"react\";\n\nconst DocumentationIcon = (props: SVGProps) => (\n \n \n \n \n \n \n \n \n \n \n \n \n);\n\nexport default DocumentationIcon;\n","// This file is part of MinIO Design System\n// Copyright (c) 2023 MinIO, Inc.\n//\n// This program is free software: you can redistribute it and/or modify\n// it under the terms of the GNU Affero General Public License as published by\n// the Free Software Foundation, either version 3 of the License, or\n// (at your option) any later version.\n//\n// This program is distributed in the hope that it will be useful,\n// but WITHOUT ANY WARRANTY; without even the implied warranty of\n// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n// GNU Affero General Public License for more details.\n//\n// You should have received a copy of the GNU Affero General Public License\n// along with this program. If not, see .\n\nimport * as React from \"react\";\nimport { SVGProps } from \"react\";\n\nconst DiagnosticsFeatureIcon = (props: SVGProps) => (\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n);\n\nexport default DiagnosticsFeatureIcon;\n","// This file is part of MinIO Design System\n// Copyright (c) 2023 MinIO, Inc.\n//\n// This program is free software: you can redistribute it and/or modify\n// it under the terms of the GNU Affero General Public License as published by\n// the Free Software Foundation, either version 3 of the License, or\n// (at your option) any later version.\n//\n// This program is distributed in the hope that it will be useful,\n// but WITHOUT ANY WARRANTY; without even the implied warranty of\n// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n// GNU Affero General Public License for more details.\n//\n// You should have received a copy of the GNU Affero General Public License\n// along with this program. If not, see .\n\nimport React, { SVGProps } from \"react\";\n\nconst PasswordKeyIcon = (props: SVGProps) => {\n return (\n \n \n \n );\n};\n\nexport default PasswordKeyIcon;\n","// This file is part of MinIO Design System\n// Copyright (c) 2023 MinIO, Inc.\n//\n// This program is free software: you can redistribute it and/or modify\n// it under the terms of the GNU Affero General Public License as published by\n// the Free Software Foundation, either version 3 of the License, or\n// (at your option) any later version.\n//\n// This program is distributed in the hope that it will be useful,\n// but WITHOUT ANY WARRANTY; without even the implied warranty of\n// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n// GNU Affero General Public License for more details.\n//\n// You should have received a copy of the GNU Affero General Public License\n// along with this program. If not, see .\n\nimport React, { SVGProps } from \"react\";\n\nconst TrashIcon = (props: SVGProps) => {\n return (\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n );\n};\n\nexport default TrashIcon;\n","// This file is part of MinIO Design System\n// Copyright (c) 2023 MinIO, Inc.\n//\n// This program is free software: you can redistribute it and/or modify\n// it under the terms of the GNU Affero General Public License as published by\n// the Free Software Foundation, either version 3 of the License, or\n// (at your option) any later version.\n//\n// This program is distributed in the hope that it will be useful,\n// but WITHOUT ANY WARRANTY; without even the implied warranty of\n// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n// GNU Affero General Public License for more details.\n//\n// You should have received a copy of the GNU Affero General Public License\n// along with this program. If not, see .\n\nimport * as React from \"react\";\nimport { SVGProps } from \"react\";\n\nconst EventSubscriptionIcon = (props: SVGProps) => (\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n);\n\nexport default EventSubscriptionIcon;\n","// This file is part of MinIO Design System\n// Copyright (c) 2023 MinIO, Inc.\n//\n// This program is free software: you can redistribute it and/or modify\n// it under the terms of the GNU Affero General Public License as published by\n// the Free Software Foundation, either version 3 of the License, or\n// (at your option) any later version.\n//\n// This program is distributed in the hope that it will be useful,\n// but WITHOUT ANY WARRANTY; without even the implied warranty of\n// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n// GNU Affero General Public License for more details.\n//\n// You should have received a copy of the GNU Affero General Public License\n// along with this program. If not, see .\n\nimport * as React from \"react\";\nimport { SVGProps } from \"react\";\n\nconst DownloadIcon = (props: SVGProps) => (\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n);\n\nexport default DownloadIcon;\n","// This file is part of MinIO Design System\n// Copyright (c) 2023 MinIO, Inc.\n//\n// This program is free software: you can redistribute it and/or modify\n// it under the terms of the GNU Affero General Public License as published by\n// the Free Software Foundation, either version 3 of the License, or\n// (at your option) any later version.\n//\n// This program is distributed in the hope that it will be useful,\n// but WITHOUT ANY WARRANTY; without even the implied warranty of\n// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n// GNU Affero General Public License for more details.\n//\n// You should have received a copy of the GNU Affero General Public License\n// along with this program. If not, see .\n\nimport * as React from \"react\";\nimport { SVGProps } from \"react\";\n\nconst ComputerLineIcon = (props: SVGProps) => (\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n);\n\nexport default ComputerLineIcon;\n","// This file is part of MinIO Design System\n// Copyright (c) 2023 MinIO, Inc.\n//\n// This program is free software: you can redistribute it and/or modify\n// it under the terms of the GNU Affero General Public License as published by\n// the Free Software Foundation, either version 3 of the License, or\n// (at your option) any later version.\n//\n// This program is distributed in the hope that it will be useful,\n// but WITHOUT ANY WARRANTY; without even the implied warranty of\n// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n// GNU Affero General Public License for more details.\n//\n// You should have received a copy of the GNU Affero General Public License\n// along with this program. If not, see .\n\nimport * as React from \"react\";\nimport { SVGProps } from \"react\";\n\nconst AllBucketsIcon = (props: SVGProps) => (\n \n \n \n \n \n \n \n \n \n \n \n \n);\n\nexport default AllBucketsIcon;\n","// This file is part of MinIO Design System\n// Copyright (c) 2023 MinIO, Inc.\n//\n// This program is free software: you can redistribute it and/or modify\n// it under the terms of the GNU Affero General Public License as published by\n// the Free Software Foundation, either version 3 of the License, or\n// (at your option) any later version.\n//\n// This program is distributed in the hope that it will be useful,\n// but WITHOUT ANY WARRANTY; without even the implied warranty of\n// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n// GNU Affero General Public License for more details.\n//\n// You should have received a copy of the GNU Affero General Public License\n// along with this program. If not, see .\n\nimport * as React from \"react\";\nimport { SVGProps } from \"react\";\n\nconst LambdaIcon = (props: SVGProps) => (\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n);\n\nexport default LambdaIcon;\n","// This file is part of MinIO Design System\n// Copyright (c) 2023 MinIO, Inc.\n//\n// This program is free software: you can redistribute it and/or modify\n// it under the terms of the GNU Affero General Public License as published by\n// the Free Software Foundation, either version 3 of the License, or\n// (at your option) any later version.\n//\n// This program is distributed in the hope that it will be useful,\n// but WITHOUT ANY WARRANTY; without even the implied warranty of\n// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n// GNU Affero General Public License for more details.\n//\n// You should have received a copy of the GNU Affero General Public License\n// along with this program. If not, see .\n\nimport * as React from \"react\";\nimport { SVGProps } from \"react\";\n\nconst GroupsIcon = (props: SVGProps) => (\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n);\n\nexport default GroupsIcon;\n","// This file is part of MinIO Design System\n// Copyright (c) 2023 MinIO, Inc.\n//\n// This program is free software: you can redistribute it and/or modify\n// it under the terms of the GNU Affero General Public License as published by\n// the Free Software Foundation, either version 3 of the License, or\n// (at your option) any later version.\n//\n// This program is distributed in the hope that it will be useful,\n// but WITHOUT ANY WARRANTY; without even the implied warranty of\n// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n// GNU Affero General Public License for more details.\n//\n// You should have received a copy of the GNU Affero General Public License\n// along with this program. If not, see .\n\nimport * as React from \"react\";\nimport { SVGProps } from \"react\";\n\nconst DownloadStatIcon = (props: SVGProps) => (\n \n \n \n);\n\nexport default DownloadStatIcon;\n","// This file is part of MinIO Design System\n// Copyright (c) 2023 MinIO, Inc.\n//\n// This program is free software: you can redistribute it and/or modify\n// it under the terms of the GNU Affero General Public License as published by\n// the Free Software Foundation, either version 3 of the License, or\n// (at your option) any later version.\n//\n// This program is distributed in the hope that it will be useful,\n// but WITHOUT ANY WARRANTY; without even the implied warranty of\n// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n// GNU Affero General Public License for more details.\n//\n// You should have received a copy of the GNU Affero General Public License\n// along with this program. If not, see .\n\nimport React, { SVGProps } from \"react\";\n\nconst UploadFile = (props: SVGProps) => {\n return (\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n );\n};\n\nexport default UploadFile;\n","// This file is part of MinIO Design System\n// Copyright (c) 2023 MinIO, Inc.\n//\n// This program is free software: you can redistribute it and/or modify\n// it under the terms of the GNU Affero General Public License as published by\n// the Free Software Foundation, either version 3 of the License, or\n// (at your option) any later version.\n//\n// This program is distributed in the hope that it will be useful,\n// but WITHOUT ANY WARRANTY; without even the implied warranty of\n// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n// GNU Affero General Public License for more details.\n//\n// You should have received a copy of the GNU Affero General Public License\n// along with this program. If not, see .\n\nimport * as React from \"react\";\nimport { SVGProps } from \"react\";\n\nconst TiersIcon = (props: SVGProps) => (\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n);\n\nexport default TiersIcon;\n","// This file is part of MinIO Design System\n// Copyright (c) 2023 MinIO, Inc.\n//\n// This program is free software: you can redistribute it and/or modify\n// it under the terms of the GNU Affero General Public License as published by\n// the Free Software Foundation, either version 3 of the License, or\n// (at your option) any later version.\n//\n// This program is distributed in the hope that it will be useful,\n// but WITHOUT ANY WARRANTY; without even the implied warranty of\n// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n// GNU Affero General Public License for more details.\n//\n// You should have received a copy of the GNU Affero General Public License\n// along with this program. If not, see .\n\nimport React, { SVGProps } from \"react\";\n\nconst NewAccountIcon = (props: SVGProps) => {\n return (\n \n \n \n \n \n \n \n \n );\n};\n\nexport default NewAccountIcon;\n","// This file is part of MinIO Design System\n// Copyright (c) 2023 MinIO, Inc.\n//\n// This program is free software: you can redistribute it and/or modify\n// it under the terms of the GNU Affero General Public License as published by\n// the Free Software Foundation, either version 3 of the License, or\n// (at your option) any later version.\n//\n// This program is distributed in the hope that it will be useful,\n// but WITHOUT ANY WARRANTY; without even the implied warranty of\n// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n// GNU Affero General Public License for more details.\n//\n// You should have received a copy of the GNU Affero General Public License\n// along with this program. If not, see .\n\nimport * as React from \"react\";\nimport { SVGProps } from \"react\";\n\nconst CreateGroupIcon = (props: SVGProps) => (\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n);\n\nexport default CreateGroupIcon;\n","// This file is part of MinIO Design System\n// Copyright (c) 2023 MinIO, Inc.\n//\n// This program is free software: you can redistribute it and/or modify\n// it under the terms of the GNU Affero General Public License as published by\n// the Free Software Foundation, either version 3 of the License, or\n// (at your option) any later version.\n//\n// This program is distributed in the hope that it will be useful,\n// but WITHOUT ANY WARRANTY; without even the implied warranty of\n// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n// GNU Affero General Public License for more details.\n//\n// You should have received a copy of the GNU Affero General Public License\n// along with this program. If not, see .\n\nimport * as React from \"react\";\nimport { SVGProps } from \"react\";\n\nconst CollapseIcon = (props: SVGProps) => (\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n);\n\nexport default CollapseIcon;\n","// This file is part of MinIO Design System\n// Copyright (c) 2023 MinIO, Inc.\n//\n// This program is free software: you can redistribute it and/or modify\n// it under the terms of the GNU Affero General Public License as published by\n// the Free Software Foundation, either version 3 of the License, or\n// (at your option) any later version.\n//\n// This program is distributed in the hope that it will be useful,\n// but WITHOUT ANY WARRANTY; without even the implied warranty of\n// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n// GNU Affero General Public License for more details.\n//\n// You should have received a copy of the GNU Affero General Public License\n// along with this program. If not, see .\n\nimport * as React from \"react\";\nimport { SVGProps } from \"react\";\n\nconst ConfirmDeleteIcon = (props: SVGProps) => (\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n);\n\nexport default ConfirmDeleteIcon;\n","// This file is part of MinIO Design System\n// Copyright (c) 2023 MinIO, Inc.\n//\n// This program is free software: you can redistribute it and/or modify\n// it under the terms of the GNU Affero General Public License as published by\n// the Free Software Foundation, either version 3 of the License, or\n// (at your option) any later version.\n//\n// This program is distributed in the hope that it will be useful,\n// but WITHOUT ANY WARRANTY; without even the implied warranty of\n// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n// GNU Affero General Public License for more details.\n//\n// You should have received a copy of the GNU Affero General Public License\n// along with this program. If not, see .\n\nimport * as React from \"react\";\nimport { SVGProps } from \"react\";\n\nconst OfflineRegistrationIcon = (props: SVGProps) => (\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n);\n\nexport default OfflineRegistrationIcon;\n","// This file is part of MinIO Design System\n// Copyright (c) 2023 MinIO, Inc.\n//\n// This program is free software: you can redistribute it and/or modify\n// it under the terms of the GNU Affero General Public License as published by\n// the Free Software Foundation, either version 3 of the License, or\n// (at your option) any later version.\n//\n// This program is distributed in the hope that it will be useful,\n// but WITHOUT ANY WARRANTY; without even the implied warranty of\n// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n// GNU Affero General Public License for more details.\n//\n// You should have received a copy of the GNU Affero General Public License\n// along with this program. If not, see .\n\nimport * as React from \"react\";\nimport { SVGProps } from \"react\";\n\nconst TenantsIcon = (props: SVGProps) => (\n \n \n \n \n \n \n \n \n \n \n \n \n \n);\n\nexport default TenantsIcon;\n","// This file is part of MinIO Design System\n// Copyright (c) 2023 MinIO, Inc.\n//\n// This program is free software: you can redistribute it and/or modify\n// it under the terms of the GNU Affero General Public License as published by\n// the Free Software Foundation, either version 3 of the License, or\n// (at your option) any later version.\n//\n// This program is distributed in the hope that it will be useful,\n// but WITHOUT ANY WARRANTY; without even the implied warranty of\n// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n// GNU Affero General Public License for more details.\n//\n// You should have received a copy of the GNU Affero General Public License\n// along with this program. If not, see .\n\nimport React, { SVGProps } from \"react\";\n\nconst UploadFile = (props: SVGProps) => {\n return (\n \n \n \n \n \n \n );\n};\n\nexport default UploadFile;\n","// This file is part of MinIO Design System\n// Copyright (c) 2023 MinIO, Inc.\n//\n// This program is free software: you can redistribute it and/or modify\n// it under the terms of the GNU Affero General Public License as published by\n// the Free Software Foundation, either version 3 of the License, or\n// (at your option) any later version.\n//\n// This program is distributed in the hope that it will be useful,\n// but WITHOUT ANY WARRANTY; without even the implied warranty of\n// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n// GNU Affero General Public License for more details.\n//\n// You should have received a copy of the GNU Affero General Public License\n// along with this program. If not, see .\n\nimport * as React from \"react\";\nimport { SVGProps } from \"react\";\n\nconst CreateIcon = (props: SVGProps) => (\n \n \n \n \n \n \n \n \n \n \n \n \n);\n\nexport default CreateIcon;\n","// This file is part of MinIO Design System\n// Copyright (c) 2023 MinIO, Inc.\n//\n// This program is free software: you can redistribute it and/or modify\n// it under the terms of the GNU Affero General Public License as published by\n// the Free Software Foundation, either version 3 of the License, or\n// (at your option) any later version.\n//\n// This program is distributed in the hope that it will be useful,\n// but WITHOUT ANY WARRANTY; without even the implied warranty of\n// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n// GNU Affero General Public License for more details.\n//\n// You should have received a copy of the GNU Affero General Public License\n// along with this program. If not, see .\n\nimport * as React from \"react\";\nimport { SVGProps } from \"react\";\n\nconst NewPoolIcon = (props: SVGProps) => (\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n);\n\nexport default NewPoolIcon;\n","// This file is part of MinIO Design System\n// Copyright (c) 2023 MinIO, Inc.\n//\n// This program is free software: you can redistribute it and/or modify\n// it under the terms of the GNU Affero General Public License as published by\n// the Free Software Foundation, either version 3 of the License, or\n// (at your option) any later version.\n//\n// This program is distributed in the hope that it will be useful,\n// but WITHOUT ANY WARRANTY; without even the implied warranty of\n// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n// GNU Affero General Public License for more details.\n//\n// You should have received a copy of the GNU Affero General Public License\n// along with this program. If not, see .\n\nimport * as React from \"react\";\nimport { SVGProps } from \"react\";\n\nconst SyncIcon = (props: SVGProps) => (\n \n \n \n \n \n \n \n \n \n \n \n \n);\n\nexport default SyncIcon;\n","// This file is part of MinIO Design System\n// Copyright (c) 2023 MinIO, Inc.\n//\n// This program is free software: you can redistribute it and/or modify\n// it under the terms of the GNU Affero General Public License as published by\n// the Free Software Foundation, either version 3 of the License, or\n// (at your option) any later version.\n//\n// This program is distributed in the hope that it will be useful,\n// but WITHOUT ANY WARRANTY; without even the implied warranty of\n// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n// GNU Affero General Public License for more details.\n//\n// You should have received a copy of the GNU Affero General Public License\n// along with this program. If not, see .\n\nimport * as React from \"react\";\nimport { SVGProps } from \"react\";\n\nconst LogoutIcon = (props: SVGProps) => (\n \n \n \n \n \n \n \n \n \n \n \n \n \n);\n\nexport default LogoutIcon;\n","// This file is part of MinIO Design System\n// Copyright (c) 2023 MinIO, Inc.\n//\n// This program is free software: you can redistribute it and/or modify\n// it under the terms of the GNU Affero General Public License as published by\n// the Free Software Foundation, either version 3 of the License, or\n// (at your option) any later version.\n//\n// This program is distributed in the hope that it will be useful,\n// but WITHOUT ANY WARRANTY; without even the implied warranty of\n// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n// GNU Affero General Public License for more details.\n//\n// You should have received a copy of the GNU Affero General Public License\n// along with this program. If not, see .\n\nimport React, { SVGProps } from \"react\";\n\nconst AzureTierIconXs = (props: SVGProps) => {\n return (\n \n \n \n \n \n \n \n );\n};\n\nexport default AzureTierIconXs;\n","// This file is part of MinIO Design System\n// Copyright (c) 2023 MinIO, Inc.\n//\n// This program is free software: you can redistribute it and/or modify\n// it under the terms of the GNU Affero General Public License as published by\n// the Free Software Foundation, either version 3 of the License, or\n// (at your option) any later version.\n//\n// This program is distributed in the hope that it will be useful,\n// but WITHOUT ANY WARRANTY; without even the implied warranty of\n// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n// GNU Affero General Public License for more details.\n//\n// You should have received a copy of the GNU Affero General Public License\n// along with this program. If not, see .\n\nimport * as React from \"react\";\nimport { SVGProps } from \"react\";\n\nconst TotalObjectsIcon = (props: SVGProps) => (\n \n \n \n \n \n \n \n \n \n \n \n \n);\n\nexport default TotalObjectsIcon;\n","// This file is part of MinIO Design System\n// Copyright (c) 2023 MinIO, Inc.\n//\n// This program is free software: you can redistribute it and/or modify\n// it under the terms of the GNU Affero General Public License as published by\n// the Free Software Foundation, either version 3 of the License, or\n// (at your option) any later version.\n//\n// This program is distributed in the hope that it will be useful,\n// but WITHOUT ANY WARRANTY; without even the implied warranty of\n// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n// GNU Affero General Public License for more details.\n//\n// You should have received a copy of the GNU Affero General Public License\n// along with this program. If not, see .\n\nimport * as React from \"react\";\nimport { SVGProps } from \"react\";\n\nconst HistoryIcon = (props: SVGProps) => (\n \n \n \n \n \n \n);\n\nexport default HistoryIcon;\n","// This file is part of MinIO Design System\n// Copyright (c) 2023 MinIO, Inc.\n//\n// This program is free software: you can redistribute it and/or modify\n// it under the terms of the GNU Affero General Public License as published by\n// the Free Software Foundation, either version 3 of the License, or\n// (at your option) any later version.\n//\n// This program is distributed in the hope that it will be useful,\n// but WITHOUT ANY WARRANTY; without even the implied warranty of\n// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n// GNU Affero General Public License for more details.\n//\n// You should have received a copy of the GNU Affero General Public License\n// along with this program. If not, see .\n\nimport * as React from \"react\";\nimport { SVGProps } from \"react\";\n\nconst CreateUserIcon = (props: SVGProps) => (\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n);\n\nexport default CreateUserIcon;\n","// This file is part of MinIO Design System\n// Copyright (c) 2023 MinIO, Inc.\n//\n// This program is free software: you can redistribute it and/or modify\n// it under the terms of the GNU Affero General Public License as published by\n// the Free Software Foundation, either version 3 of the License, or\n// (at your option) any later version.\n//\n// This program is distributed in the hope that it will be useful,\n// but WITHOUT ANY WARRANTY; without even the implied warranty of\n// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n// GNU Affero General Public License for more details.\n//\n// You should have received a copy of the GNU Affero General Public License\n// along with this program. If not, see .\n\nimport * as React from \"react\";\nimport { SVGProps } from \"react\";\n\nconst BucketsIcon = (props: SVGProps) => (\n \n \n \n \n \n);\n\nexport default BucketsIcon;\n","// This file is part of MinIO Design System\n// Copyright (c) 2023 MinIO, Inc.\n//\n// This program is free software: you can redistribute it and/or modify\n// it under the terms of the GNU Affero General Public License as published by\n// the Free Software Foundation, either version 3 of the License, or\n// (at your option) any later version.\n//\n// This program is distributed in the hope that it will be useful,\n// but WITHOUT ANY WARRANTY; without even the implied warranty of\n// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n// GNU Affero General Public License for more details.\n//\n// You should have received a copy of the GNU Affero General Public License\n// along with this program. If not, see .\n\nimport * as React from \"react\";\nimport { SVGProps } from \"react\";\n\nconst UploadStatIcon = (props: SVGProps) => (\n \n \n \n);\n\nexport default UploadStatIcon;\n","// This file is part of MinIO Design System\n// Copyright (c) 2023 MinIO, Inc.\n//\n// This program is free software: you can redistribute it and/or modify\n// it under the terms of the GNU Affero General Public License as published by\n// the Free Software Foundation, either version 3 of the License, or\n// (at your option) any later version.\n//\n// This program is distributed in the hope that it will be useful,\n// but WITHOUT ANY WARRANTY; without even the implied warranty of\n// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n// GNU Affero General Public License for more details.\n//\n// You should have received a copy of the GNU Affero General Public License\n// along with this program. If not, see .\n\nimport * as React from \"react\";\nimport { SVGProps } from \"react\";\n\nconst BucketReplicationIcon = (props: SVGProps) => (\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n);\n\nexport default BucketReplicationIcon;\n","// This file is part of MinIO Design System\n// Copyright (c) 2023 MinIO, Inc.\n//\n// This program is free software: you can redistribute it and/or modify\n// it under the terms of the GNU Affero General Public License as published by\n// the Free Software Foundation, either version 3 of the License, or\n// (at your option) any later version.\n//\n// This program is distributed in the hope that it will be useful,\n// but WITHOUT ANY WARRANTY; without even the implied warranty of\n// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n// GNU Affero General Public License for more details.\n//\n// You should have received a copy of the GNU Affero General Public License\n// along with this program. If not, see .\n\nimport * as React from \"react\";\nimport { SVGProps } from \"react\";\n\nconst ObjectManagerIcon = (props: SVGProps) => {\n return (\n \n \n \n \n \n \n \n \n \n );\n};\n\nexport default ObjectManagerIcon;\n","// This file is part of MinIO Design System\n// Copyright (c) 2023 MinIO, Inc.\n//\n// This program is free software: you can redistribute it and/or modify\n// it under the terms of the GNU Affero General Public License as published by\n// the Free Software Foundation, either version 3 of the License, or\n// (at your option) any later version.\n//\n// This program is distributed in the hope that it will be useful,\n// but WITHOUT ANY WARRANTY; without even the implied warranty of\n// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n// GNU Affero General Public License for more details.\n//\n// You should have received a copy of the GNU Affero General Public License\n// along with this program. If not, see .\n\nimport * as React from \"react\";\nimport { SVGProps } from \"react\";\n\nconst ObjectBrowserIcon = (props: SVGProps) => (\n \n \n \n \n \n \n \n \n \n \n \n \n);\n\nexport default ObjectBrowserIcon;\n","// This file is part of MinIO Design System\n// Copyright (c) 2023 MinIO, Inc.\n//\n// This program is free software: you can redistribute it and/or modify\n// it under the terms of the GNU Affero General Public License as published by\n// the Free Software Foundation, either version 3 of the License, or\n// (at your option) any later version.\n//\n// This program is distributed in the hope that it will be useful,\n// but WITHOUT ANY WARRANTY; without even the implied warranty of\n// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n// GNU Affero General Public License for more details.\n//\n// You should have received a copy of the GNU Affero General Public License\n// along with this program. If not, see .\n\nimport * as React from \"react\";\nimport { SVGProps } from \"react\";\n\nconst RecoverIcon = (props: SVGProps) => (\n \n \n \n);\n\nexport default RecoverIcon;\n","// This file is part of MinIO Design System\n// Copyright (c) 2023 MinIO, Inc.\n//\n// This program is free software: you can redistribute it and/or modify\n// it under the terms of the GNU Affero General Public License as published by\n// the Free Software Foundation, either version 3 of the License, or\n// (at your option) any later version.\n//\n// This program is distributed in the hope that it will be useful,\n// but WITHOUT ANY WARRANTY; without even the implied warranty of\n// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n// GNU Affero General Public License for more details.\n//\n// You should have received a copy of the GNU Affero General Public License\n// along with this program. If not, see .\n\nimport * as React from \"react\";\nimport { SVGProps } from \"react\";\n\nconst SettingsIcon = (props: SVGProps) => (\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n);\n\nexport default SettingsIcon;\n","// This file is part of MinIO Design System\n// Copyright (c) 2023 MinIO, Inc.\n//\n// This program is free software: you can redistribute it and/or modify\n// it under the terms of the GNU Affero General Public License as published by\n// the Free Software Foundation, either version 3 of the License, or\n// (at your option) any later version.\n//\n// This program is distributed in the hope that it will be useful,\n// but WITHOUT ANY WARRANTY; without even the implied warranty of\n// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n// GNU Affero General Public License for more details.\n//\n// You should have received a copy of the GNU Affero General Public License\n// along with this program. If not, see .\n\nimport * as React from \"react\";\nimport { SVGProps } from \"react\";\n\nconst UploadIcon = (props: SVGProps) => (\n \n \n \n \n \n \n \n \n \n \n \n \n \n);\n\nexport default UploadIcon;\n","// This file is part of MinIO Design System\n// Copyright (c) 2023 MinIO, Inc.\n//\n// This program is free software: you can redistribute it and/or modify\n// it under the terms of the GNU Affero General Public License as published by\n// the Free Software Foundation, either version 3 of the License, or\n// (at your option) any later version.\n//\n// This program is distributed in the hope that it will be useful,\n// but WITHOUT ANY WARRANTY; without even the implied warranty of\n// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n// GNU Affero General Public License for more details.\n//\n// You should have received a copy of the GNU Affero General Public License\n// along with this program. If not, see .\n\nimport React, { SVGProps } from \"react\";\n\nconst AzureTierIcon = (props: SVGProps) => {\n return (\n \n \n \n \n \n \n \n );\n};\n\nexport default AzureTierIcon;\n","// This file is part of MinIO Design System\n// Copyright (c) 2023 MinIO, Inc.\n//\n// This program is free software: you can redistribute it and/or modify\n// it under the terms of the GNU Affero General Public License as published by\n// the Free Software Foundation, either version 3 of the License, or\n// (at your option) any later version.\n//\n// This program is distributed in the hope that it will be useful,\n// but WITHOUT ANY WARRANTY; without even the implied warranty of\n// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n// GNU Affero General Public License for more details.\n//\n// You should have received a copy of the GNU Affero General Public License\n// along with this program. If not, see .\n\nimport * as React from \"react\";\nimport { SVGProps } from \"react\";\n\nconst CalendarIcon = (props: SVGProps) => (\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n);\n\nexport default CalendarIcon;\n","// This file is part of MinIO Design System\n// Copyright (c) 2023 MinIO, Inc.\n//\n// This program is free software: you can redistribute it and/or modify\n// it under the terms of the GNU Affero General Public License as published by\n// the Free Software Foundation, either version 3 of the License, or\n// (at your option) any later version.\n//\n// This program is distributed in the hope that it will be useful,\n// but WITHOUT ANY WARRANTY; without even the implied warranty of\n// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n// GNU Affero General Public License for more details.\n//\n// You should have received a copy of the GNU Affero General Public License\n// along with this program. If not, see .\n\nimport React, { SVGProps } from \"react\";\n\nconst ServiceAccountsIcon = (props: SVGProps) => {\n return (\n \n \n \n \n \n \n \n );\n};\n\nexport default ServiceAccountsIcon;\n","// This file is part of MinIO Design System\n// Copyright (c) 2023 MinIO, Inc.\n//\n// This program is free software: you can redistribute it and/or modify\n// it under the terms of the GNU Affero General Public License as published by\n// the Free Software Foundation, either version 3 of the License, or\n// (at your option) any later version.\n//\n// This program is distributed in the hope that it will be useful,\n// but WITHOUT ANY WARRANTY; without even the implied warranty of\n// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n// GNU Affero General Public License for more details.\n//\n// You should have received a copy of the GNU Affero General Public License\n// along with this program. If not, see .\n\nimport * as React from \"react\";\nimport { SVGProps } from \"react\";\n\nconst LogsIcon = (props: SVGProps) => (\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n);\n\nexport default LogsIcon;\n","// This file is part of MinIO Design System\n// Copyright (c) 2023 MinIO, Inc.\n//\n// This program is free software: you can redistribute it and/or modify\n// it under the terms of the GNU Affero General Public License as published by\n// the Free Software Foundation, either version 3 of the License, or\n// (at your option) any later version.\n//\n// This program is distributed in the hope that it will be useful,\n// but WITHOUT ANY WARRANTY; without even the implied warranty of\n// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n// GNU Affero General Public License for more details.\n//\n// You should have received a copy of the GNU Affero General Public License\n// along with this program. If not, see .\n\nimport React, { SVGProps } from \"react\";\n\nconst HardBucketQuotaIcon = (props: SVGProps) => {\n return (\n \n \n \n \n \n \n \n \n \n \n \n );\n};\n\nexport default HardBucketQuotaIcon;\n","// This file is part of MinIO Design System\n// Copyright (c) 2023 MinIO, Inc.\n//\n// This program is free software: you can redistribute it and/or modify\n// it under the terms of the GNU Affero General Public License as published by\n// the Free Software Foundation, either version 3 of the License, or\n// (at your option) any later version.\n//\n// This program is distributed in the hope that it will be useful,\n// but WITHOUT ANY WARRANTY; without even the implied warranty of\n// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n// GNU Affero General Public License for more details.\n//\n// You should have received a copy of the GNU Affero General Public License\n// along with this program. If not, see .\n\nimport * as React from \"react\";\nimport { SVGProps } from \"react\";\n\nconst ConsoleIcon = (props: SVGProps) => (\n \n \n \n);\n\nexport default ConsoleIcon;\n","// This file is part of MinIO Design System\n// Copyright (c) 2023 MinIO, Inc.\n//\n// This program is free software: you can redistribute it and/or modify\n// it under the terms of the GNU Affero General Public License as published by\n// the Free Software Foundation, either version 3 of the License, or\n// (at your option) any later version.\n//\n// This program is distributed in the hope that it will be useful,\n// but WITHOUT ANY WARRANTY; without even the implied warranty of\n// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n// GNU Affero General Public License for more details.\n//\n// You should have received a copy of the GNU Affero General Public License\n// along with this program. If not, see .\n\nimport * as React from \"react\";\nimport { SVGProps } from \"react\";\n\nconst ChangePasswordIcon = (props: SVGProps) => (\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n);\n\nexport default ChangePasswordIcon;\n","// This file is part of MinIO Design System\n// Copyright (c) 2023 MinIO, Inc.\n//\n// This program is free software: you can redistribute it and/or modify\n// it under the terms of the GNU Affero General Public License as published by\n// the Free Software Foundation, either version 3 of the License, or\n// (at your option) any later version.\n//\n// This program is distributed in the hope that it will be useful,\n// but WITHOUT ANY WARRANTY; without even the implied warranty of\n// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n// GNU Affero General Public License for more details.\n//\n// You should have received a copy of the GNU Affero General Public License\n// along with this program. If not, see .\n\nimport * as React from \"react\";\nimport { SVGProps } from \"react\";\n\nconst LockIcon = (props: SVGProps) => (\n \n \n \n \n \n \n \n \n \n \n \n \n \n);\n\nexport default LockIcon;\n","// This file is part of MinIO Design System\n// Copyright (c) 2023 MinIO, Inc.\n//\n// This program is free software: you can redistribute it and/or modify\n// it under the terms of the GNU Affero General Public License as published by\n// the Free Software Foundation, either version 3 of the License, or\n// (at your option) any later version.\n//\n// This program is distributed in the hope that it will be useful,\n// but WITHOUT ANY WARRANTY; without even the implied warranty of\n// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n// GNU Affero General Public License for more details.\n//\n// You should have received a copy of the GNU Affero General Public License\n// along with this program. If not, see .\n\nimport * as React from \"react\";\nimport { SVGProps } from \"react\";\n\nconst BackCaretIcon = (props: SVGProps) => (\n \n \n \n \n \n);\n\nexport default BackCaretIcon;\n","// This file is part of MinIO Design System\n// Copyright (c) 2023 MinIO, Inc.\n//\n// This program is free software: you can redistribute it and/or modify\n// it under the terms of the GNU Affero General Public License as published by\n// the Free Software Foundation, either version 3 of the License, or\n// (at your option) any later version.\n//\n// This program is distributed in the hope that it will be useful,\n// but WITHOUT ANY WARRANTY; without even the implied warranty of\n// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n// GNU Affero General Public License for more details.\n//\n// You should have received a copy of the GNU Affero General Public License\n// along with this program. If not, see .\n\nimport * as React from \"react\";\nimport { SVGProps } from \"react\";\n\nconst VersionsIcon = (props: SVGProps) => (\n \n \n \n);\n\nexport default VersionsIcon;\n","// This file is part of MinIO Design System\n// Copyright (c) 2023 MinIO, Inc.\n//\n// This program is free software: you can redistribute it and/or modify\n// it under the terms of the GNU Affero General Public License as published by\n// the Free Software Foundation, either version 3 of the License, or\n// (at your option) any later version.\n//\n// This program is distributed in the hope that it will be useful,\n// but WITHOUT ANY WARRANTY; without even the implied warranty of\n// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n// GNU Affero General Public License for more details.\n//\n// You should have received a copy of the GNU Affero General Public License\n// along with this program. If not, see .\n\nimport * as React from \"react\";\nimport { SVGProps } from \"react\";\n\nconst NewPathIcon = (props: SVGProps) => (\n \n \n \n \n \n \n \n \n \n);\n\nexport default NewPathIcon;\n","// This file is part of MinIO Design System\n// Copyright (c) 2023 MinIO, Inc.\n//\n// This program is free software: you can redistribute it and/or modify\n// it under the terms of the GNU Affero General Public License as published by\n// the Free Software Foundation, either version 3 of the License, or\n// (at your option) any later version.\n//\n// This program is distributed in the hope that it will be useful,\n// but WITHOUT ANY WARRANTY; without even the implied warranty of\n// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n// GNU Affero General Public License for more details.\n//\n// You should have received a copy of the GNU Affero General Public License\n// along with this program. If not, see .\n\nimport * as React from \"react\";\nimport { SVGProps } from \"react\";\n\nconst ObjectInfoIcon = (props: SVGProps) => (\n \n \n \n);\n\nexport default ObjectInfoIcon;\n","// This file is part of MinIO Design System\n// Copyright (c) 2023 MinIO, Inc.\n//\n// This program is free software: you can redistribute it and/or modify\n// it under the terms of the GNU Affero General Public License as published by\n// the Free Software Foundation, either version 3 of the License, or\n// (at your option) any later version.\n//\n// This program is distributed in the hope that it will be useful,\n// but WITHOUT ANY WARRANTY; without even the implied warranty of\n// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n// GNU Affero General Public License for more details.\n//\n// You should have received a copy of the GNU Affero General Public License\n// along with this program. If not, see .\n\nimport * as React from \"react\";\nimport { SVGProps } from \"react\";\n\nconst MetadataIcon = (props: SVGProps) => (\n \n \n \n \n);\n\nexport default MetadataIcon;\n","// This file is part of MinIO Design System\n// Copyright (c) 2023 MinIO, Inc.\n//\n// This program is free software: you can redistribute it and/or modify\n// it under the terms of the GNU Affero General Public License as published by\n// the Free Software Foundation, either version 3 of the License, or\n// (at your option) any later version.\n//\n// This program is distributed in the hope that it will be useful,\n// but WITHOUT ANY WARRANTY; without even the implied warranty of\n// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n// GNU Affero General Public License for more details.\n//\n// You should have received a copy of the GNU Affero General Public License\n// along with this program. If not, see .\n\nimport * as React from \"react\";\nimport { SVGProps } from \"react\";\n\nconst LegalHoldIcon = (props: SVGProps) => (\n \n \n \n);\n\nexport default LegalHoldIcon;\n","// This file is part of MinIO Design System\n// Copyright (c) 2023 MinIO, Inc.\n//\n// This program is free software: you can redistribute it and/or modify\n// it under the terms of the GNU Affero General Public License as published by\n// the Free Software Foundation, either version 3 of the License, or\n// (at your option) any later version.\n//\n// This program is distributed in the hope that it will be useful,\n// but WITHOUT ANY WARRANTY; without even the implied warranty of\n// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n// GNU Affero General Public License for more details.\n//\n// You should have received a copy of the GNU Affero General Public License\n// along with this program. If not, see .\n\nimport * as React from \"react\";\nimport { SVGProps } from \"react\";\n\nconst RetentionIcon = (props: SVGProps) => (\n \n \n \n \n);\n\nexport default RetentionIcon;\n","// This file is part of MinIO Design System\n// Copyright (c) 2023 MinIO, Inc.\n//\n// This program is free software: you can redistribute it and/or modify\n// it under the terms of the GNU Affero General Public License as published by\n// the Free Software Foundation, either version 3 of the License, or\n// (at your option) any later version.\n//\n// This program is distributed in the hope that it will be useful,\n// but WITHOUT ANY WARRANTY; without even the implied warranty of\n// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n// GNU Affero General Public License for more details.\n//\n// You should have received a copy of the GNU Affero General Public License\n// along with this program. If not, see .\n\nimport * as React from \"react\";\nimport { SVGProps } from \"react\";\n\nconst TagsIcon = (props: SVGProps) => (\n \n \n \n);\n\nexport default TagsIcon;\n","// This file is part of MinIO Design System\n// Copyright (c) 2023 MinIO, Inc.\n//\n// This program is free software: you can redistribute it and/or modify\n// it under the terms of the GNU Affero General Public License as published by\n// the Free Software Foundation, either version 3 of the License, or\n// (at your option) any later version.\n//\n// This program is distributed in the hope that it will be useful,\n// but WITHOUT ANY WARRANTY; without even the implied warranty of\n// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n// GNU Affero General Public License for more details.\n//\n// You should have received a copy of the GNU Affero General Public License\n// along with this program. If not, see .\n\nimport * as React from \"react\";\nimport { SVGProps } from \"react\";\n\nconst AlertCloseIcon = (props: SVGProps) => (\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n);\n\nexport default AlertCloseIcon;\n","// This file is part of MinIO Design System\n// Copyright (c) 2023 MinIO, Inc.\n//\n// This program is free software: you can redistribute it and/or modify\n// it under the terms of the GNU Affero General Public License as published by\n// the Free Software Foundation, either version 3 of the License, or\n// (at your option) any later version.\n//\n// This program is distributed in the hope that it will be useful,\n// but WITHOUT ANY WARRANTY; without even the implied warranty of\n// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n// GNU Affero General Public License for more details.\n//\n// You should have received a copy of the GNU Affero General Public License\n// along with this program. If not, see .\n\nimport * as React from \"react\";\nimport { SVGProps } from \"react\";\n\nconst OpenSourceIcon = (props: SVGProps) => (\n \n \n \n);\n\nexport default OpenSourceIcon;\n","// This file is part of MinIO Design System\n// Copyright (c) 2023 MinIO, Inc.\n//\n// This program is free software: you can redistribute it and/or modify\n// it under the terms of the GNU Affero General Public License as published by\n// the Free Software Foundation, either version 3 of the License, or\n// (at your option) any later version.\n//\n// This program is distributed in the hope that it will be useful,\n// but WITHOUT ANY WARRANTY; without even the implied warranty of\n// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n// GNU Affero General Public License for more details.\n//\n// You should have received a copy of the GNU Affero General Public License\n// along with this program. If not, see .\n\nimport React, { SVGProps } from \"react\";\n\nconst ArrowRightLink = (props: SVGProps) => {\n return (\n \n \n \n );\n};\n\nexport default ArrowRightLink;\n","// This file is part of MinIO Design System\n// Copyright (c) 2023 MinIO, Inc.\n//\n// This program is free software: you can redistribute it and/or modify\n// it under the terms of the GNU Affero General Public License as published by\n// the Free Software Foundation, either version 3 of the License, or\n// (at your option) any later version.\n//\n// This program is distributed in the hope that it will be useful,\n// but WITHOUT ANY WARRANTY; without even the implied warranty of\n// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n// GNU Affero General Public License for more details.\n//\n// You should have received a copy of the GNU Affero General Public License\n// along with this program. If not, see .\n\nimport * as React from \"react\";\nimport { SVGProps } from \"react\";\n\nconst LicenseDocIcon = (props: SVGProps) => (\n \n \n \n \n \n \n \n \n \n \n);\n\nexport default LicenseDocIcon;\n","// This file is part of MinIO Design System\n// Copyright (c) 2023 MinIO, Inc.\n//\n// This program is free software: you can redistribute it and/or modify\n// it under the terms of the GNU Affero General Public License as published by\n// the Free Software Foundation, either version 3 of the License, or\n// (at your option) any later version.\n//\n// This program is distributed in the hope that it will be useful,\n// but WITHOUT ANY WARRANTY; without even the implied warranty of\n// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n// GNU Affero General Public License for more details.\n//\n// You should have received a copy of the GNU Affero General Public License\n// along with this program. If not, see .\n\nimport * as React from \"react\";\nimport { SVGProps } from \"react\";\n\nconst SelectAllIcon = (props: SVGProps) => (\n \n \n \n \n \n \n \n \n);\n\nexport default SelectAllIcon;\n","// This file is part of MinIO Design System\n// Copyright (c) 2023 MinIO, Inc.\n//\n// This program is free software: you can redistribute it and/or modify\n// it under the terms of the GNU Affero General Public License as published by\n// the Free Software Foundation, either version 3 of the License, or\n// (at your option) any later version.\n//\n// This program is distributed in the hope that it will be useful,\n// but WITHOUT ANY WARRANTY; without even the implied warranty of\n// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n// GNU Affero General Public License for more details.\n//\n// You should have received a copy of the GNU Affero General Public License\n// along with this program. If not, see .\n\nimport React, { SVGProps } from \"react\";\n\nconst BackIcon = (props: SVGProps) => {\n return (\n \n \n \n \n \n \n \n \n );\n};\n\nexport default BackIcon;\n","// This file is part of MinIO Design System\n// Copyright (c) 2023 MinIO, Inc.\n//\n// This program is free software: you can redistribute it and/or modify\n// it under the terms of the GNU Affero General Public License as published by\n// the Free Software Foundation, either version 3 of the License, or\n// (at your option) any later version.\n//\n// This program is distributed in the hope that it will be useful,\n// but WITHOUT ANY WARRANTY; without even the implied warranty of\n// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n// GNU Affero General Public License for more details.\n//\n// You should have received a copy of the GNU Affero General Public License\n// along with this program. If not, see .\n\nimport * as React from \"react\";\nimport { SVGProps } from \"react\";\n\nconst DeleteNonCurrentIcon = (props: SVGProps) => (\n \n \n \n \n);\n\nexport default DeleteNonCurrentIcon;\n","// This file is part of MinIO Design System\n// Copyright (c) 2023 MinIO, Inc.\n//\n// This program is free software: you can redistribute it and/or modify\n// it under the terms of the GNU Affero General Public License as published by\n// the Free Software Foundation, either version 3 of the License, or\n// (at your option) any later version.\n//\n// This program is distributed in the hope that it will be useful,\n// but WITHOUT ANY WARRANTY; without even the implied warranty of\n// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n// GNU Affero General Public License for more details.\n//\n// You should have received a copy of the GNU Affero General Public License\n// along with this program. If not, see .\n\nimport * as React from \"react\";\nimport { SVGProps } from \"react\";\n\nconst EditTenantIcon = (props: SVGProps) => (\n \n \n \n \n \n \n);\n\nexport default EditTenantIcon;\n","// This file is part of MinIO Design System\n// Copyright (c) 2023 MinIO, Inc.\n//\n// This program is free software: you can redistribute it and/or modify\n// it under the terms of the GNU Affero General Public License as published by\n// the Free Software Foundation, either version 3 of the License, or\n// (at your option) any later version.\n//\n// This program is distributed in the hope that it will be useful,\n// but WITHOUT ANY WARRANTY; without even the implied warranty of\n// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n// GNU Affero General Public License for more details.\n//\n// You should have received a copy of the GNU Affero General Public License\n// along with this program. If not, see .\n\nimport React, { SVGProps } from \"react\";\n\nconst SuccessIcon = (props: SVGProps) => {\n return (\n \n \n \n );\n};\n\nexport default SuccessIcon;\n","// This file is part of MinIO Design System\n// Copyright (c) 2023 MinIO, Inc.\n//\n// This program is free software: you can redistribute it and/or modify\n// it under the terms of the GNU Affero General Public License as published by\n// the Free Software Foundation, either version 3 of the License, or\n// (at your option) any later version.\n//\n// This program is distributed in the hope that it will be useful,\n// but WITHOUT ANY WARRANTY; without even the implied warranty of\n// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n// GNU Affero General Public License for more details.\n//\n// You should have received a copy of the GNU Affero General Public License\n// along with this program. If not, see .\n\nimport React, { SVGProps } from \"react\";\n\nconst NetworkGetIcon = (props: SVGProps) => {\n return (\n \n \n \n );\n};\n\nexport default NetworkGetIcon;\n","// This file is part of MinIO Design System\n// Copyright (c) 2023 MinIO, Inc.\n//\n// This program is free software: you can redistribute it and/or modify\n// it under the terms of the GNU Affero General Public License as published by\n// the Free Software Foundation, either version 3 of the License, or\n// (at your option) any later version.\n//\n// This program is distributed in the hope that it will be useful,\n// but WITHOUT ANY WARRANTY; without even the implied warranty of\n// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n// GNU Affero General Public License for more details.\n//\n// You should have received a copy of the GNU Affero General Public License\n// along with this program. If not, see .\n\nimport React, { SVGProps } from \"react\";\n\nconst NetworkPutIcon = (props: SVGProps) => {\n return (\n \n \n \n );\n};\n\nexport default NetworkPutIcon;\n","// This file is part of MinIO Design System\n// Copyright (c) 2023 MinIO, Inc.\n//\n// This program is free software: you can redistribute it and/or modify\n// it under the terms of the GNU Affero General Public License as published by\n// the Free Software Foundation, either version 3 of the License, or\n// (at your option) any later version.\n//\n// This program is distributed in the hope that it will be useful,\n// but WITHOUT ANY WARRANTY; without even the implied warranty of\n// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n// GNU Affero General Public License for more details.\n//\n// You should have received a copy of the GNU Affero General Public License\n// along with this program. If not, see .\n\nimport * as React from \"react\";\nimport { SVGProps } from \"react\";\n\nconst ObjectManagerIcon = (props: SVGProps) => {\n return (\n \n \n \n \n \n \n );\n};\n\nexport default ObjectManagerIcon;\n","// This file is part of MinIO Design System\n// Copyright (c) 2023 MinIO, Inc.\n//\n// This program is free software: you can redistribute it and/or modify\n// it under the terms of the GNU Affero General Public License as published by\n// the Free Software Foundation, either version 3 of the License, or\n// (at your option) any later version.\n//\n// This program is distributed in the hope that it will be useful,\n// but WITHOUT ANY WARRANTY; without even the implied warranty of\n// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n// GNU Affero General Public License for more details.\n//\n// You should have received a copy of the GNU Affero General Public License\n// along with this program. If not, see .\n\nimport * as React from \"react\";\nimport { SVGProps } from \"react\";\n\nconst CancelledIcon = (props: SVGProps) => (\n \n \n \n);\n\nexport default CancelledIcon;\n","// This file is part of MinIO Design System\n// Copyright (c) 2023 MinIO, Inc.\n//\n// This program is free software: you can redistribute it and/or modify\n// it under the terms of the GNU Affero General Public License as published by\n// the Free Software Foundation, either version 3 of the License, or\n// (at your option) any later version.\n//\n// This program is distributed in the hope that it will be useful,\n// but WITHOUT ANY WARRANTY; without even the implied warranty of\n// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n// GNU Affero General Public License for more details.\n//\n// You should have received a copy of the GNU Affero General Public License\n// along with this program. If not, see .\n\nimport * as React from \"react\";\nimport { SVGProps } from \"react\";\n\nconst EditTagIcon = (props: SVGProps) => (\n \n \n \n \n \n \n \n \n);\n\nexport default EditTagIcon;\n","// This file is part of MinIO Design System\n// Copyright (c) 2023 MinIO, Inc.\n//\n// This program is free software: you can redistribute it and/or modify\n// it under the terms of the GNU Affero General Public License as published by\n// the Free Software Foundation, either version 3 of the License, or\n// (at your option) any later version.\n//\n// This program is distributed in the hope that it will be useful,\n// but WITHOUT ANY WARRANTY; without even the implied warranty of\n// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n// GNU Affero General Public License for more details.\n//\n// You should have received a copy of the GNU Affero General Public License\n// along with this program. If not, see .\n\nimport * as React from \"react\";\nimport { SVGProps } from \"react\";\n\nconst LinkIcon = (props: SVGProps) => (\n \n \n \n);\n\nexport default LinkIcon;\n","// This file is part of MinIO Design System\n// Copyright (c) 2023 MinIO, Inc.\n//\n// This program is free software: you can redistribute it and/or modify\n// it under the terms of the GNU Affero General Public License as published by\n// the Free Software Foundation, either version 3 of the License, or\n// (at your option) any later version.\n//\n// This program is distributed in the hope that it will be useful,\n// but WITHOUT ANY WARRANTY; without even the implied warranty of\n// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n// GNU Affero General Public License for more details.\n//\n// You should have received a copy of the GNU Affero General Public License\n// along with this program. If not, see .\n\nimport * as React from \"react\";\nimport { SVGProps } from \"react\";\n\nconst AlertIcon = (props: SVGProps) => (\n \n \n \n);\n\nexport default AlertIcon;\n","// This file is part of MinIO Design System\n// Copyright (c) 2023 MinIO, Inc.\n//\n// This program is free software: you can redistribute it and/or modify\n// it under the terms of the GNU Affero General Public License as published by\n// the Free Software Foundation, either version 3 of the License, or\n// (at your option) any later version.\n//\n// This program is distributed in the hope that it will be useful,\n// but WITHOUT ANY WARRANTY; without even the implied warranty of\n// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n// GNU Affero General Public License for more details.\n//\n// You should have received a copy of the GNU Affero General Public License\n// along with this program. If not, see .\n\nimport * as React from \"react\";\nimport { SVGProps } from \"react\";\n\nconst InfoIcon = (props: SVGProps) => (\n \n \n \n);\n\nexport default InfoIcon;\n","// This file is part of MinIO Design System\n// Copyright (c) 2023 MinIO, Inc.\n//\n// This program is free software: you can redistribute it and/or modify\n// it under the terms of the GNU Affero General Public License as published by\n// the Free Software Foundation, either version 3 of the License, or\n// (at your option) any later version.\n//\n// This program is distributed in the hope that it will be useful,\n// but WITHOUT ANY WARRANTY; without even the implied warranty of\n// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n// GNU Affero General Public License for more details.\n//\n// You should have received a copy of the GNU Affero General Public License\n// along with this program. If not, see .\n\nimport React, { SVGProps } from \"react\";\n\nconst ConsoleAgpl = (props: SVGProps) => {\n return (\n \n \n \n \n \n \n \n \n );\n};\n\nexport default ConsoleAgpl;\n","// This file is part of MinIO Design System\n// Copyright (c) 2023 MinIO, Inc.\n//\n// This program is free software: you can redistribute it and/or modify\n// it under the terms of the GNU Affero General Public License as published by\n// the Free Software Foundation, either version 3 of the License, or\n// (at your option) any later version.\n//\n// This program is distributed in the hope that it will be useful,\n// but WITHOUT ANY WARRANTY; without even the implied warranty of\n// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n// GNU Affero General Public License for more details.\n//\n// You should have received a copy of the GNU Affero General Public License\n// along with this program. If not, see .\n\nimport React, { SVGProps } from \"react\";\n\nconst ConsoleStandard = (props: SVGProps) => {\n return (\n \n \n \n \n \n \n );\n};\n\nexport default ConsoleStandard;\n","// This file is part of MinIO Design System\n// Copyright (c) 2023 MinIO, Inc.\n//\n// This program is free software: you can redistribute it and/or modify\n// it under the terms of the GNU Affero General Public License as published by\n// the Free Software Foundation, either version 3 of the License, or\n// (at your option) any later version.\n//\n// This program is distributed in the hope that it will be useful,\n// but WITHOUT ANY WARRANTY; without even the implied warranty of\n// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n// GNU Affero General Public License for more details.\n//\n// You should have received a copy of the GNU Affero General Public License\n// along with this program. If not, see .\n\nimport React, { SVGProps } from \"react\";\n\nconst ConsoleEnterprise = (props: SVGProps) => {\n return (\n \n \n \n \n \n \n );\n};\n\nexport default ConsoleEnterprise;\n","// This file is part of MinIO Design System\n// Copyright (c) 2023 MinIO, Inc.\n//\n// This program is free software: you can redistribute it and/or modify\n// it under the terms of the GNU Affero General Public License as published by\n// the Free Software Foundation, either version 3 of the License, or\n// (at your option) any later version.\n//\n// This program is distributed in the hope that it will be useful,\n// but WITHOUT ANY WARRANTY; without even the implied warranty of\n// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n// GNU Affero General Public License for more details.\n//\n// You should have received a copy of the GNU Affero General Public License\n// along with this program. If not, see .\n\nimport * as React from \"react\";\nimport { SVGProps } from \"react\";\n\nconst AGPLV3LightLogo = (props: SVGProps) => (\n \n \n \n);\n\nexport default AGPLV3LightLogo;\n","// This file is part of MinIO Design System\n// Copyright (c) 2023 MinIO, Inc.\n//\n// This program is free software: you can redistribute it and/or modify\n// it under the terms of the GNU Affero General Public License as published by\n// the Free Software Foundation, either version 3 of the License, or\n// (at your option) any later version.\n//\n// This program is distributed in the hope that it will be useful,\n// but WITHOUT ANY WARRANTY; without even the implied warranty of\n// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n// GNU Affero General Public License for more details.\n//\n// You should have received a copy of the GNU Affero General Public License\n// along with this program. If not, see .\n\nimport * as React from \"react\";\nimport { SVGProps } from \"react\";\n\nconst AGPLV3Logo = (props: SVGProps) => (\n \n \n \n \n \n \n \n \n \n \n);\n\nexport default AGPLV3Logo;\n","// This file is part of MinIO Design System\n// Copyright (c) 2023 MinIO, Inc.\n//\n// This program is free software: you can redistribute it and/or modify\n// it under the terms of the GNU Affero General Public License as published by\n// the Free Software Foundation, either version 3 of the License, or\n// (at your option) any later version.\n//\n// This program is distributed in the hope that it will be useful,\n// but WITHOUT ANY WARRANTY; without even the implied warranty of\n// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n// GNU Affero General Public License for more details.\n//\n// You should have received a copy of the GNU Affero General Public License\n// along with this program. If not, see .\n\nimport * as React from \"react\";\nimport { SVGProps } from \"react\";\n\nconst EnterpriseLightLogo = (props: SVGProps) => (\n \n \n \n);\n\nexport default EnterpriseLightLogo;\n","// This file is part of MinIO Design System\n// Copyright (c) 2023 MinIO, Inc.\n//\n// This program is free software: you can redistribute it and/or modify\n// it under the terms of the GNU Affero General Public License as published by\n// the Free Software Foundation, either version 3 of the License, or\n// (at your option) any later version.\n//\n// This program is distributed in the hope that it will be useful,\n// but WITHOUT ANY WARRANTY; without even the implied warranty of\n// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n// GNU Affero General Public License for more details.\n//\n// You should have received a copy of the GNU Affero General Public License\n// along with this program. If not, see .\n\nimport * as React from \"react\";\nimport { SVGProps } from \"react\";\n\nconst StandardLightLogo = (props: SVGProps) => (\n \n \n \n);\n\nexport default StandardLightLogo;\n","// This file is part of MinIO Design System\n// Copyright (c) 2023 MinIO, Inc.\n//\n// This program is free software: you can redistribute it and/or modify\n// it under the terms of the GNU Affero General Public License as published by\n// the Free Software Foundation, either version 3 of the License, or\n// (at your option) any later version.\n//\n// This program is distributed in the hope that it will be useful,\n// but WITHOUT ANY WARRANTY; without even the implied warranty of\n// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n// GNU Affero General Public License for more details.\n//\n// You should have received a copy of the GNU Affero General Public License\n// along with this program. If not, see .\n\nimport * as React from \"react\";\nimport { SVGProps } from \"react\";\n\nconst AGPLV3DarkLogo = (props: SVGProps) => (\n \n \n \n \n \n \n);\n\nexport default AGPLV3DarkLogo;\n","// This file is part of MinIO Design System\n// Copyright (c) 2023 MinIO, Inc.\n//\n// This program is free software: you can redistribute it and/or modify\n// it under the terms of the GNU Affero General Public License as published by\n// the Free Software Foundation, either version 3 of the License, or\n// (at your option) any later version.\n//\n// This program is distributed in the hope that it will be useful,\n// but WITHOUT ANY WARRANTY; without even the implied warranty of\n// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n// GNU Affero General Public License for more details.\n//\n// You should have received a copy of the GNU Affero General Public License\n// along with this program. If not, see .\n\nimport * as React from \"react\";\nimport { SVGProps } from \"react\";\n\nconst LDAPIcon = (props: SVGProps) => (\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n);\n\nexport default LDAPIcon;\n","// This file is part of MinIO Design System\n// Copyright (c) 2023 MinIO, Inc.\n//\n// This program is free software: you can redistribute it and/or modify\n// it under the terms of the GNU Affero General Public License as published by\n// the Free Software Foundation, either version 3 of the License, or\n// (at your option) any later version.\n//\n// This program is distributed in the hope that it will be useful,\n// but WITHOUT ANY WARRANTY; without even the implied warranty of\n// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n// GNU Affero General Public License for more details.\n//\n// You should have received a copy of the GNU Affero General Public License\n// along with this program. If not, see .\n\nimport * as React from \"react\";\nimport { SVGProps } from \"react\";\n\nconst OIDCIcon = (props: SVGProps) => (\n \n \n \n \n \n \n \n \n \n \n \n);\n\nexport default OIDCIcon;\n","// This file is part of MinIO Design System\n// Copyright (c) 2023 MinIO, Inc.\n//\n// This program is free software: you can redistribute it and/or modify\n// it under the terms of the GNU Affero General Public License as published by\n// the Free Software Foundation, either version 3 of the License, or\n// (at your option) any later version.\n//\n// This program is distributed in the hope that it will be useful,\n// but WITHOUT ANY WARRANTY; without even the implied warranty of\n// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n// GNU Affero General Public License for more details.\n//\n// You should have received a copy of the GNU Affero General Public License\n// along with this program. If not, see .\n\nimport * as React from \"react\";\nimport { SVGProps } from \"react\";\n\nconst StarIcon = (props: SVGProps) => (\n \n \n \n \n);\n\nexport default StarIcon;\n","// This file is part of MinIO Design System\n// Copyright (c) 2023 MinIO, Inc.\n//\n// This program is free software: you can redistribute it and/or modify\n// it under the terms of the GNU Affero General Public License as published by\n// the Free Software Foundation, either version 3 of the License, or\n// (at your option) any later version.\n//\n// This program is distributed in the hope that it will be useful,\n// but WITHOUT ANY WARRANTY; without even the implied warranty of\n// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n// GNU Affero General Public License for more details.\n//\n// You should have received a copy of the GNU Affero General Public License\n// along with this program. If not, see .\n\nimport * as React from \"react\";\nimport { SVGProps } from \"react\";\n\nconst AccountIcon = (props: SVGProps) => (\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n);\nexport default AccountIcon;\n","// This file is part of MinIO Design System\n// Copyright (c) 2023 MinIO, Inc.\n//\n// This program is free software: you can redistribute it and/or modify\n// it under the terms of the GNU Affero General Public License as published by\n// the Free Software Foundation, either version 3 of the License, or\n// (at your option) any later version.\n//\n// This program is distributed in the hope that it will be useful,\n// but WITHOUT ANY WARRANTY; without even the implied warranty of\n// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n// GNU Affero General Public License for more details.\n//\n// You should have received a copy of the GNU Affero General Public License\n// along with this program. If not, see .\n\nimport * as React from \"react\";\nimport { SVGProps } from \"react\";\n\nconst CollapseCaret = (props: SVGProps) => (\n \n \n \n \n \n \n \n \n);\n\nexport default CollapseCaret;\n","// This file is part of MinIO Design System\n// Copyright (c) 2023 MinIO, Inc.\n//\n// This program is free software: you can redistribute it and/or modify\n// it under the terms of the GNU Affero General Public License as published by\n// the Free Software Foundation, either version 3 of the License, or\n// (at your option) any later version.\n//\n// This program is distributed in the hope that it will be useful,\n// but WITHOUT ANY WARRANTY; without even the implied warranty of\n// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n// GNU Affero General Public License for more details.\n//\n// You should have received a copy of the GNU Affero General Public License\n// along with this program. If not, see .\n\nimport * as React from \"react\";\nimport { SVGProps } from \"react\";\n\nconst ExpandCaret = (props: SVGProps) => (\n \n \n \n \n \n \n \n \n \n \n);\n\nexport default ExpandCaret;\n","// This file is part of MinIO Design System\n// Copyright (c) 2023 MinIO, Inc.\n//\n// This program is free software: you can redistribute it and/or modify\n// it under the terms of the GNU Affero General Public License as published by\n// the Free Software Foundation, either version 3 of the License, or\n// (at your option) any later version.\n//\n// This program is distributed in the hope that it will be useful,\n// but WITHOUT ANY WARRANTY; without even the implied warranty of\n// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n// GNU Affero General Public License for more details.\n//\n// You should have received a copy of the GNU Affero General Public License\n// along with this program. If not, see .\n\nimport * as React from \"react\";\nimport { SVGProps } from \"react\";\n\nconst CertificateIcon = (props: SVGProps) => {\n return (\n \n \n \n \n \n \n \n \n \n \n \n \n );\n};\nexport default CertificateIcon;\n","// This file is part of MinIO Design System\n// Copyright (c) 2023 MinIO, Inc.\n//\n// This program is free software: you can redistribute it and/or modify\n// it under the terms of the GNU Affero General Public License as published by\n// the Free Software Foundation, either version 3 of the License, or\n// (at your option) any later version.\n//\n// This program is distributed in the hope that it will be useful,\n// but WITHOUT ANY WARRANTY; without even the implied warranty of\n// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n// GNU Affero General Public License for more details.\n//\n// You should have received a copy of the GNU Affero General Public License\n// along with this program. If not, see .\n\nimport * as React from \"react\";\nimport { SVGProps } from \"react\";\n\nconst TierOnlineIcon = (props: SVGProps) => (\n \n \n \n);\n\nexport default TierOnlineIcon;\n","// This file is part of MinIO Design System\n// Copyright (c) 2023 MinIO, Inc.\n//\n// This program is free software: you can redistribute it and/or modify\n// it under the terms of the GNU Affero General Public License as published by\n// the Free Software Foundation, either version 3 of the License, or\n// (at your option) any later version.\n//\n// This program is distributed in the hope that it will be useful,\n// but WITHOUT ANY WARRANTY; without even the implied warranty of\n// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n// GNU Affero General Public License for more details.\n//\n// You should have received a copy of the GNU Affero General Public License\n// along with this program. If not, see .\n\nimport * as React from \"react\";\nimport { SVGProps } from \"react\";\n\nconst TierOfflineIcon = (props: SVGProps) => (\n \n \n \n);\n\nexport default TierOfflineIcon;\n","// This file is part of MinIO Design System\n// Copyright (c) 2023 MinIO, Inc.\n//\n// This program is free software: you can redistribute it and/or modify\n// it under the terms of the GNU Affero General Public License as published by\n// the Free Software Foundation, either version 3 of the License, or\n// (at your option) any later version.\n//\n// This program is distributed in the hope that it will be useful,\n// but WITHOUT ANY WARRANTY; without even the implied warranty of\n// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n// GNU Affero General Public License for more details.\n//\n// You should have received a copy of the GNU Affero General Public License\n// along with this program. If not, see .\n\nimport * as React from \"react\";\nimport { SVGProps } from \"react\";\n\nconst WarnFilledIcon = (props: SVGProps) => {\n return (\n \n \n \n \n \n \n \n \n \n \n \n \n );\n};\n\nexport default WarnFilledIcon;\n","// This file is part of MinIO Design System\n// Copyright (c) 2023 MinIO, Inc.\n//\n// This program is free software: you can redistribute it and/or modify\n// it under the terms of the GNU Affero General Public License as published by\n// the Free Software Foundation, either version 3 of the License, or\n// (at your option) any later version.\n//\n// This program is distributed in the hope that it will be useful,\n// but WITHOUT ANY WARRANTY; without even the implied warranty of\n// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n// GNU Affero General Public License for more details.\n//\n// You should have received a copy of the GNU Affero General Public License\n// along with this program. If not, see .\n\nimport * as React from \"react\";\nimport { SVGProps } from \"react\";\n\nconst BoxArrowUp = (props: SVGProps) => (\n \n \n \n \n \n \n \n \n);\n\nexport default BoxArrowUp;\n","// This file is part of MinIO Design System\n// Copyright (c) 2023 MinIO, Inc.\n//\n// This program is free software: you can redistribute it and/or modify\n// it under the terms of the GNU Affero General Public License as published by\n// the Free Software Foundation, either version 3 of the License, or\n// (at your option) any later version.\n//\n// This program is distributed in the hope that it will be useful,\n// but WITHOUT ANY WARRANTY; without even the implied warranty of\n// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n// GNU Affero General Public License for more details.\n//\n// You should have received a copy of the GNU Affero General Public License\n// along with this program. If not, see .\n\nimport * as React from \"react\";\nimport { SVGProps } from \"react\";\n\nconst BoxArrowDown = (props: SVGProps) => (\n \n \n \n \n \n \n \n \n);\n\nexport default BoxArrowDown;\n","// This file is part of MinIO Design System\n// Copyright (c) 2023 MinIO, Inc.\n//\n// This program is free software: you can redistribute it and/or modify\n// it under the terms of the GNU Affero General Public License as published by\n// the Free Software Foundation, either version 3 of the License, or\n// (at your option) any later version.\n//\n// This program is distributed in the hope that it will be useful,\n// but WITHOUT ANY WARRANTY; without even the implied warranty of\n// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n// GNU Affero General Public License for more details.\n//\n// You should have received a copy of the GNU Affero General Public License\n// along with this program. If not, see .\n\nimport * as React from \"react\";\nimport { SVGProps } from \"react\";\n\nconst UserFilledIcon = (props: SVGProps) => (\n \n \n \n \n \n \n);\n\nexport default UserFilledIcon;\n","// This file is part of MinIO Design System\n// Copyright (c) 2023 MinIO, Inc.\n//\n// This program is free software: you can redistribute it and/or modify\n// it under the terms of the GNU Affero General Public License as published by\n// the Free Software Foundation, either version 3 of the License, or\n// (at your option) any later version.\n//\n// This program is distributed in the hope that it will be useful,\n// but WITHOUT ANY WARRANTY; without even the implied warranty of\n// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n// GNU Affero General Public License for more details.\n//\n// You should have received a copy of the GNU Affero General Public License\n// along with this program. If not, see .\n\nimport * as React from \"react\";\nimport { SVGProps } from \"react\";\n\nconst LockFilledIcon = (props: SVGProps) => (\n \n \n \n);\n\nexport default LockFilledIcon;\n","// This file is part of MinIO Design System\n// Copyright (c) 2023 MinIO, Inc.\n//\n// This program is free software: you can redistribute it and/or modify\n// it under the terms of the GNU Affero General Public License as published by\n// the Free Software Foundation, either version 3 of the License, or\n// (at your option) any later version.\n//\n// This program is distributed in the hope that it will be useful,\n// but WITHOUT ANY WARRANTY; without even the implied warranty of\n// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n// GNU Affero General Public License for more details.\n//\n// You should have received a copy of the GNU Affero General Public License\n// along with this program. If not, see .\n\nimport React, { SVGProps } from \"react\";\n\nconst FilterIcon = (props: SVGProps) => {\n return (\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n );\n};\n\nexport default FilterIcon;\n","// This file is part of MinIO Design System\n// Copyright (c) 2023 MinIO, Inc.\n//\n// This program is free software: you can redistribute it and/or modify\n// it under the terms of the GNU Affero General Public License as published by\n// the Free Software Foundation, either version 3 of the License, or\n// (at your option) any later version.\n//\n// This program is distributed in the hope that it will be useful,\n// but WITHOUT ANY WARRANTY; without even the implied warranty of\n// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n// GNU Affero General Public License for more details.\n//\n// You should have received a copy of the GNU Affero General Public License\n// along with this program. If not, see .\n\nimport * as React from \"react\";\nimport { SVGProps } from \"react\";\n\nconst FolderIcon = (props: SVGProps) => (\n \n \n \n \n \n);\n\nexport default FolderIcon;\n","// This file is part of MinIO Design System\n// Copyright (c) 2023 MinIO, Inc.\n//\n// This program is free software: you can redistribute it and/or modify\n// it under the terms of the GNU Affero General Public License as published by\n// the Free Software Foundation, either version 3 of the License, or\n// (at your option) any later version.\n//\n// This program is distributed in the hope that it will be useful,\n// but WITHOUT ANY WARRANTY; without even the implied warranty of\n// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n// GNU Affero General Public License for more details.\n//\n// You should have received a copy of the GNU Affero General Public License\n// along with this program. If not, see .\n\nimport * as React from \"react\";\nimport { SVGProps } from \"react\";\n\nconst ViewColumnIcon = (props: SVGProps) => (\n \n \n \n \n \n);\n\nexport default ViewColumnIcon;\n","// This file is part of MinIO Design System\n// Copyright (c) 2023 MinIO, Inc.\n//\n// This program is free software: you can redistribute it and/or modify\n// it under the terms of the GNU Affero General Public License as published by\n// the Free Software Foundation, either version 3 of the License, or\n// (at your option) any later version.\n//\n// This program is distributed in the hope that it will be useful,\n// but WITHOUT ANY WARRANTY; without even the implied warranty of\n// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n// GNU Affero General Public License for more details.\n//\n// You should have received a copy of the GNU Affero General Public License\n// along with this program. If not, see .\n\nimport * as React from \"react\";\nimport { SVGProps } from \"react\";\n\nconst ArrowDropUp = (props: SVGProps) => (\n \n \n \n);\n\nexport default ArrowDropUp;\n","// This file is part of MinIO Design System\n// Copyright (c) 2023 MinIO, Inc.\n//\n// This program is free software: you can redistribute it and/or modify\n// it under the terms of the GNU Affero General Public License as published by\n// the Free Software Foundation, either version 3 of the License, or\n// (at your option) any later version.\n//\n// This program is distributed in the hope that it will be useful,\n// but WITHOUT ANY WARRANTY; without even the implied warranty of\n// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n// GNU Affero General Public License for more details.\n//\n// You should have received a copy of the GNU Affero General Public License\n// along with this program. If not, see .\n\nimport * as React from \"react\";\nimport { SVGProps } from \"react\";\n\nconst ArrowDropUp = (props: SVGProps) => (\n \n \n \n);\n\nexport default ArrowDropUp;\n","// This file is part of MinIO Design System\n// Copyright (c) 2023 MinIO, Inc.\n//\n// This program is free software: you can redistribute it and/or modify\n// it under the terms of the GNU Affero General Public License as published by\n// the Free Software Foundation, either version 3 of the License, or\n// (at your option) any later version.\n//\n// This program is distributed in the hope that it will be useful,\n// but WITHOUT ANY WARRANTY; without even the implied warranty of\n// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n// GNU Affero General Public License for more details.\n//\n// You should have received a copy of the GNU Affero General Public License\n// along with this program. If not, see .\n\nimport * as React from \"react\";\nimport { SVGProps } from \"react\";\n\nconst CloudIcon = (props: SVGProps) => (\n \n \n \n);\n\nexport default CloudIcon;\n","// This file is part of MinIO Design System\n// Copyright (c) 2023 MinIO, Inc.\n//\n// This program is free software: you can redistribute it and/or modify\n// it under the terms of the GNU Affero General Public License as published by\n// the Free Software Foundation, either version 3 of the License, or\n// (at your option) any later version.\n//\n// This program is distributed in the hope that it will be useful,\n// but WITHOUT ANY WARRANTY; without even the implied warranty of\n// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n// GNU Affero General Public License for more details.\n//\n// You should have received a copy of the GNU Affero General Public License\n// along with this program. If not, see .\n\nimport * as React from \"react\";\nimport { SVGProps } from \"react\";\n\nconst DisableIcon = (props: SVGProps) => (\n \n \n \n);\n\nexport default DisableIcon;\n","// This file is part of MinIO Design System\n// Copyright (c) 2023 MinIO, Inc.\n//\n// This program is free software: you can redistribute it and/or modify\n// it under the terms of the GNU Affero General Public License as published by\n// the Free Software Foundation, either version 3 of the License, or\n// (at your option) any later version.\n//\n// This program is distributed in the hope that it will be useful,\n// but WITHOUT ANY WARRANTY; without even the implied warranty of\n// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n// GNU Affero General Public License for more details.\n//\n// You should have received a copy of the GNU Affero General Public License\n// along with this program. If not, see .\n\nimport * as React from \"react\";\nimport { SVGProps } from \"react\";\n\nconst FormatDriveIcon = (props: SVGProps) => (\n \n \n \n);\n\nexport default FormatDriveIcon;\n","// This file is part of MinIO Design System\n// Copyright (c) 2023 MinIO, Inc.\n//\n// This program is free software: you can redistribute it and/or modify\n// it under the terms of the GNU Affero General Public License as published by\n// the Free Software Foundation, either version 3 of the License, or\n// (at your option) any later version.\n//\n// This program is distributed in the hope that it will be useful,\n// but WITHOUT ANY WARRANTY; without even the implied warranty of\n// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n// GNU Affero General Public License for more details.\n//\n// You should have received a copy of the GNU Affero General Public License\n// along with this program. If not, see .\n\nimport * as React from \"react\";\nimport { SVGProps } from \"react\";\n\nconst ReportIcon = (props: SVGProps) => (\n \n \n \n \n \n \n);\n\nexport default ReportIcon;\n","// This file is part of MinIO Design System\n// Copyright (c) 2023 MinIO, Inc.\n//\n// This program is free software: you can redistribute it and/or modify\n// it under the terms of the GNU Affero General Public License as published by\n// the Free Software Foundation, either version 3 of the License, or\n// (at your option) any later version.\n//\n// This program is distributed in the hope that it will be useful,\n// but WITHOUT ANY WARRANTY; without even the implied warranty of\n// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n// GNU Affero General Public License for more details.\n//\n// You should have received a copy of the GNU Affero General Public License\n// along with this program. If not, see .\n\nimport * as React from \"react\";\nimport { SVGProps } from \"react\";\n\nconst ViewColumnIcon = (props: SVGProps) => (\n \n \n \n);\n\nexport default ViewColumnIcon;\n","// This file is part of MinIO Design System\n// Copyright (c) 2023 MinIO, Inc.\n//\n// This program is free software: you can redistribute it and/or modify\n// it under the terms of the GNU Affero General Public License as published by\n// the Free Software Foundation, either version 3 of the License, or\n// (at your option) any later version.\n//\n// This program is distributed in the hope that it will be useful,\n// but WITHOUT ANY WARRANTY; without even the implied warranty of\n// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n// GNU Affero General Public License for more details.\n//\n// You should have received a copy of the GNU Affero General Public License\n// along with this program. If not, see .\n\nimport * as React from \"react\";\nimport { SVGProps } from \"react\";\n\nconst ViewColumnIcon = (props: SVGProps) => (\n \n \n \n);\n\nexport default ViewColumnIcon;\n","// This file is part of MinIO Design System\n// Copyright (c) 2023 MinIO, Inc.\n//\n// This program is free software: you can redistribute it and/or modify\n// it under the terms of the GNU Affero General Public License as published by\n// the Free Software Foundation, either version 3 of the License, or\n// (at your option) any later version.\n//\n// This program is distributed in the hope that it will be useful,\n// but WITHOUT ANY WARRANTY; without even the implied warranty of\n// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n// GNU Affero General Public License for more details.\n//\n// You should have received a copy of the GNU Affero General Public License\n// along with this program. If not, see .\n\nimport * as React from \"react\";\nimport { SVGProps } from \"react\";\n\nconst AccessRuleIcon = (props: SVGProps) => (\n \n \n \n \n \n \n);\n\nexport default AccessRuleIcon;\n","// This file is part of MinIO Design System\n// Copyright (c) 2023 MinIO, Inc.\n//\n// This program is free software: you can redistribute it and/or modify\n// it under the terms of the GNU Affero General Public License as published by\n// the Free Software Foundation, either version 3 of the License, or\n// (at your option) any later version.\n//\n// This program is distributed in the hope that it will be useful,\n// but WITHOUT ANY WARRANTY; without even the implied warranty of\n// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n// GNU Affero General Public License for more details.\n//\n// You should have received a copy of the GNU Affero General Public License\n// along with this program. If not, see .\n\nimport * as React from \"react\";\nimport { SVGProps } from \"react\";\n\nconst TimeIcon = (props: SVGProps) => (\n \n \n \n \n);\n\nexport default TimeIcon;\n","// This file is part of MinIO Design System\n// Copyright (c) 2023 MinIO, Inc.\n//\n// This program is free software: you can redistribute it and/or modify\n// it under the terms of the GNU Affero General Public License as published by\n// the Free Software Foundation, either version 3 of the License, or\n// (at your option) any later version.\n//\n// This program is distributed in the hope that it will be useful,\n// but WITHOUT ANY WARRANTY; without even the implied warranty of\n// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n// GNU Affero General Public License for more details.\n//\n// You should have received a copy of the GNU Affero General Public License\n// along with this program. If not, see .\n\nimport * as React from \"react\";\nimport { SVGProps } from \"react\";\n\nconst CollapseMenuIcon = (props: SVGProps) => (\n \n \n \n \n \n \n);\n\nexport default CollapseMenuIcon;\n","// This file is part of MinIO Design System\n// Copyright (c) 2023 MinIO, Inc.\n//\n// This program is free software: you can redistribute it and/or modify\n// it under the terms of the GNU Affero General Public License as published by\n// the Free Software Foundation, either version 3 of the License, or\n// (at your option) any later version.\n//\n// This program is distributed in the hope that it will be useful,\n// but WITHOUT ANY WARRANTY; without even the implied warranty of\n// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n// GNU Affero General Public License for more details.\n//\n// You should have received a copy of the GNU Affero General Public License\n// along with this program. If not, see .\n\nimport * as React from \"react\";\nimport { SVGProps } from \"react\";\n\nconst AudioIcon = (props: SVGProps) => (\n \n \n \n);\n\nexport default AudioIcon;\n","// This file is part of MinIO Design System\n// Copyright (c) 2023 MinIO, Inc.\n//\n// This program is free software: you can redistribute it and/or modify\n// it under the terms of the GNU Affero General Public License as published by\n// the Free Software Foundation, either version 3 of the License, or\n// (at your option) any later version.\n//\n// This program is distributed in the hope that it will be useful,\n// but WITHOUT ANY WARRANTY; without even the implied warranty of\n// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n// GNU Affero General Public License for more details.\n//\n// You should have received a copy of the GNU Affero General Public License\n// along with this program. If not, see .\n\nimport React, { SVGProps } from \"react\";\n\nconst AudioIconMute = (props: SVGProps) => {\n return (\n \n \n \n \n \n \n \n \n \n );\n};\n\nexport default AudioIconMute;\n","// This file is part of MinIO Design System\n// Copyright (c) 2023 MinIO, Inc.\n//\n// This program is free software: you can redistribute it and/or modify\n// it under the terms of the GNU Affero General Public License as published by\n// the Free Software Foundation, either version 3 of the License, or\n// (at your option) any later version.\n//\n// This program is distributed in the hope that it will be useful,\n// but WITHOUT ANY WARRANTY; without even the implied warranty of\n// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n// GNU Affero General Public License for more details.\n//\n// You should have received a copy of the GNU Affero General Public License\n// along with this program. If not, see .\n\nimport * as React from \"react\";\nimport { SVGProps } from \"react\";\n\nconst ChatIcon = (props: SVGProps) => (\n \n \n \n);\n\nexport default ChatIcon;\n","// This file is part of MinIO Design System\n// Copyright (c) 2023 MinIO, Inc.\n//\n// This program is free software: you can redistribute it and/or modify\n// it under the terms of the GNU Affero General Public License as published by\n// the Free Software Foundation, either version 3 of the License, or\n// (at your option) any later version.\n//\n// This program is distributed in the hope that it will be useful,\n// but WITHOUT ANY WARRANTY; without even the implied warranty of\n// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n// GNU Affero General Public License for more details.\n//\n// You should have received a copy of the GNU Affero General Public License\n// along with this program. If not, see .\n\nimport * as React from \"react\";\nimport { SVGProps } from \"react\";\n\nconst SendMessageIcon = (props: SVGProps) => (\n \n \n \n);\n\nexport default SendMessageIcon;\n","// This file is part of MinIO Design System\n// Copyright (c) 2023 MinIO, Inc.\n//\n// This program is free software: you can redistribute it and/or modify\n// it under the terms of the GNU Affero General Public License as published by\n// the Free Software Foundation, either version 3 of the License, or\n// (at your option) any later version.\n//\n// This program is distributed in the hope that it will be useful,\n// but WITHOUT ANY WARRANTY; without even the implied warranty of\n// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n// GNU Affero General Public License for more details.\n//\n// You should have received a copy of the GNU Affero General Public License\n// along with this program. If not, see .\n\nimport React, { SVGProps } from \"react\";\n\nconst CancelledAudioIcon = (props: SVGProps) => {\n return (\n \n \n \n \n \n \n \n \n \n \n \n );\n};\n\nexport default CancelledAudioIcon;\n","// This file is part of MinIO Design System\n// Copyright (c) 2023 MinIO, Inc.\n//\n// This program is free software: you can redistribute it and/or modify\n// it under the terms of the GNU Affero General Public License as published by\n// the Free Software Foundation, either version 3 of the License, or\n// (at your option) any later version.\n//\n// This program is distributed in the hope that it will be useful,\n// but WITHOUT ANY WARRANTY; without even the implied warranty of\n// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n// GNU Affero General Public License for more details.\n//\n// You should have received a copy of the GNU Affero General Public License\n// along with this program. If not, see .\n\nimport * as React from \"react\";\nimport { SVGProps } from \"react\";\n\nconst ThumbsUpIcon = (props: SVGProps) => (\n \n \n \n);\n\nexport default ThumbsUpIcon;\n","// This file is part of MinIO Design System\n// Copyright (c) 2023 MinIO, Inc.\n//\n// This program is free software: you can redistribute it and/or modify\n// it under the terms of the GNU Affero General Public License as published by\n// the Free Software Foundation, either version 3 of the License, or\n// (at your option) any later version.\n//\n// This program is distributed in the hope that it will be useful,\n// but WITHOUT ANY WARRANTY; without even the implied warranty of\n// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n// GNU Affero General Public License for more details.\n//\n// You should have received a copy of the GNU Affero General Public License\n// along with this program. If not, see .\n\nimport * as React from \"react\";\nimport { SVGProps } from \"react\";\n\nconst ThumbsDownIcon = (props: SVGProps) => (\n \n \n \n);\n\nexport default ThumbsDownIcon;\n","// This file is part of MinIO Design System\n// Copyright (c) 2023 MinIO, Inc.\n//\n// This program is free software: you can redistribute it and/or modify\n// it under the terms of the GNU Affero General Public License as published by\n// the Free Software Foundation, either version 3 of the License, or\n// (at your option) any later version.\n//\n// This program is distributed in the hope that it will be useful,\n// but WITHOUT ANY WARRANTY; without even the implied warranty of\n// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n// GNU Affero General Public License for more details.\n//\n// You should have received a copy of the GNU Affero General Public License\n// along with this program. If not, see .\n\nimport * as React from \"react\";\nimport { SVGProps } from \"react\";\n\nconst AttachFileIcon = (props: SVGProps) => (\n \n \n \n);\n\nexport default AttachFileIcon;\n","// This file is part of MinIO Design System\n// Copyright (c) 2023 MinIO, Inc.\n//\n// This program is free software: you can redistribute it and/or modify\n// it under the terms of the GNU Affero General Public License as published by\n// the Free Software Foundation, either version 3 of the License, or\n// (at your option) any later version.\n//\n// This program is distributed in the hope that it will be useful,\n// but WITHOUT ANY WARRANTY; without even the implied warranty of\n// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n// GNU Affero General Public License for more details.\n//\n// You should have received a copy of the GNU Affero General Public License\n// along with this program. If not, see .\n\nimport * as React from \"react\";\nimport { SVGProps } from \"react\";\n\nconst CheckCircleIcon = (props: SVGProps) => (\n \n \n \n \n);\n\nexport default CheckCircleIcon;\n","// This file is part of MinIO Design System\n// Copyright (c) 2023 MinIO, Inc.\n//\n// This program is free software: you can redistribute it and/or modify\n// it under the terms of the GNU Affero General Public License as published by\n// the Free Software Foundation, either version 3 of the License, or\n// (at your option) any later version.\n//\n// This program is distributed in the hope that it will be useful,\n// but WITHOUT ANY WARRANTY; without even the implied warranty of\n// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n// GNU Affero General Public License for more details.\n//\n// You should have received a copy of the GNU Affero General Public License\n// along with this program. If not, see .\n\nimport * as React from \"react\";\nimport { SVGProps } from \"react\";\n\nconst CodeIcon = (props: SVGProps) => (\n \n \n \n);\n\nexport default CodeIcon;\n","// This file is part of MinIO Design System\n// Copyright (c) 2023 MinIO, Inc.\n//\n// This program is free software: you can redistribute it and/or modify\n// it under the terms of the GNU Affero General Public License as published by\n// the Free Software Foundation, either version 3 of the License, or\n// (at your option) any later version.\n//\n// This program is distributed in the hope that it will be useful,\n// but WITHOUT ANY WARRANTY; without even the implied warranty of\n// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n// GNU Affero General Public License for more details.\n//\n// You should have received a copy of the GNU Affero General Public License\n// along with this program. If not, see .\n\nimport * as React from \"react\";\nimport { SVGProps } from \"react\";\n\nconst CompressIcon = (props: SVGProps) => (\n \n \n \n \n \n \n);\n\nexport default CompressIcon;\n","// This file is part of MinIO Design System\n// Copyright (c) 2023 MinIO, Inc.\n//\n// This program is free software: you can redistribute it and/or modify\n// it under the terms of the GNU Affero General Public License as published by\n// the Free Software Foundation, either version 3 of the License, or\n// (at your option) any later version.\n//\n// This program is distributed in the hope that it will be useful,\n// but WITHOUT ANY WARRANTY; without even the implied warranty of\n// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n// GNU Affero General Public License for more details.\n//\n// You should have received a copy of the GNU Affero General Public License\n// along with this program. If not, see .\n\nimport * as React from \"react\";\nimport { SVGProps } from \"react\";\n\nconst FindReplaceIcon = (props: SVGProps) => (\n \n \n \n);\n\nexport default FindReplaceIcon;\n","// This file is part of MinIO Design System\n// Copyright (c) 2023 MinIO, Inc.\n//\n// This program is free software: you can redistribute it and/or modify\n// it under the terms of the GNU Affero General Public License as published by\n// the Free Software Foundation, either version 3 of the License, or\n// (at your option) any later version.\n//\n// This program is distributed in the hope that it will be useful,\n// but WITHOUT ANY WARRANTY; without even the implied warranty of\n// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n// GNU Affero General Public License for more details.\n//\n// You should have received a copy of the GNU Affero General Public License\n// along with this program. If not, see .\n\nimport * as React from \"react\";\nimport { SVGProps } from \"react\";\n\nconst FirstAidIcon = (props: SVGProps) => (\n \n \n \n);\n\nexport default FirstAidIcon;\n","// This file is part of MinIO Design System\n// Copyright (c) 2023 MinIO, Inc.\n//\n// This program is free software: you can redistribute it and/or modify\n// it under the terms of the GNU Affero General Public License as published by\n// the Free Software Foundation, either version 3 of the License, or\n// (at your option) any later version.\n//\n// This program is distributed in the hope that it will be useful,\n// but WITHOUT ANY WARRANTY; without even the implied warranty of\n// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n// GNU Affero General Public License for more details.\n//\n// You should have received a copy of the GNU Affero General Public License\n// along with this program. If not, see .\n\nimport * as React from \"react\";\nimport { SVGProps } from \"react\";\n\nconst LockIcon = (props: SVGProps) => (\n \n \n \n \n \n \n);\n\nexport default LockIcon;\n","// This file is part of MinIO Design System\n// Copyright (c) 2023 MinIO, Inc.\n//\n// This program is free software: you can redistribute it and/or modify\n// it under the terms of the GNU Affero General Public License as published by\n// the Free Software Foundation, either version 3 of the License, or\n// (at your option) any later version.\n//\n// This program is distributed in the hope that it will be useful,\n// but WITHOUT ANY WARRANTY; without even the implied warranty of\n// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n// GNU Affero General Public License for more details.\n//\n// You should have received a copy of the GNU Affero General Public License\n// along with this program. If not, see .\n\nimport * as React from \"react\";\nimport { SVGProps } from \"react\";\n\nconst LoginIcon = (props: SVGProps) => (\n \n \n \n \n \n \n);\n\nexport default LoginIcon;\n","// This file is part of MinIO Design System\n// Copyright (c) 2023 MinIO, Inc.\n//\n// This program is free software: you can redistribute it and/or modify\n// it under the terms of the GNU Affero General Public License as published by\n// the Free Software Foundation, either version 3 of the License, or\n// (at your option) any later version.\n//\n// This program is distributed in the hope that it will be useful,\n// but WITHOUT ANY WARRANTY; without even the implied warranty of\n// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n// GNU Affero General Public License for more details.\n//\n// You should have received a copy of the GNU Affero General Public License\n// along with this program. If not, see .\n\nimport * as React from \"react\";\nimport { SVGProps } from \"react\";\n\nconst PendingItemsIcon = (props: SVGProps) => (\n \n \n \n);\n\nexport default PendingItemsIcon;\n","// This file is part of MinIO Design System\n// Copyright (c) 2023 MinIO, Inc.\n//\n// This program is free software: you can redistribute it and/or modify\n// it under the terms of the GNU Affero General Public License as published by\n// the Free Software Foundation, either version 3 of the License, or\n// (at your option) any later version.\n//\n// This program is distributed in the hope that it will be useful,\n// but WITHOUT ANY WARRANTY; without even the implied warranty of\n// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n// GNU Affero General Public License for more details.\n//\n// You should have received a copy of the GNU Affero General Public License\n// along with this program. If not, see .\n\nimport * as React from \"react\";\nimport { SVGProps } from \"react\";\n\nconst FirstAidIcon = (props: SVGProps) => (\n \n \n \n);\n\nexport default FirstAidIcon;\n","// This file is part of MinIO Design System\n// Copyright (c) 2023 MinIO, Inc.\n//\n// This program is free software: you can redistribute it and/or modify\n// it under the terms of the GNU Affero General Public License as published by\n// the Free Software Foundation, either version 3 of the License, or\n// (at your option) any later version.\n//\n// This program is distributed in the hope that it will be useful,\n// but WITHOUT ANY WARRANTY; without even the implied warranty of\n// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n// GNU Affero General Public License for more details.\n//\n// You should have received a copy of the GNU Affero General Public License\n// along with this program. If not, see .\n\nimport * as React from \"react\";\nimport { SVGProps } from \"react\";\n\nconst LoginIcon = (props: SVGProps) => (\n \n \n \n);\n\nexport default LoginIcon;\n","// This file is part of MinIO Design System\n// Copyright (c) 2023 MinIO, Inc.\n//\n// This program is free software: you can redistribute it and/or modify\n// it under the terms of the GNU Affero General Public License as published by\n// the Free Software Foundation, either version 3 of the License, or\n// (at your option) any later version.\n//\n// This program is distributed in the hope that it will be useful,\n// but WITHOUT ANY WARRANTY; without even the implied warranty of\n// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n// GNU Affero General Public License for more details.\n//\n// You should have received a copy of the GNU Affero General Public License\n// along with this program. If not, see .\n\nimport * as React from \"react\";\nimport { SVGProps } from \"react\";\n\nconst WebhookIcon = (props: SVGProps) => (\n \n \n \n);\n\nexport default WebhookIcon;\n","// This file is part of MinIO Design System\n// Copyright (c) 2023 MinIO, Inc.\n//\n// This program is free software: you can redistribute it and/or modify\n// it under the terms of the GNU Affero General Public License as published by\n// the Free Software Foundation, either version 3 of the License, or\n// (at your option) any later version.\n//\n// This program is distributed in the hope that it will be useful,\n// but WITHOUT ANY WARRANTY; without even the implied warranty of\n// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n// GNU Affero General Public License for more details.\n//\n// You should have received a copy of the GNU Affero General Public License\n// along with this program. If not, see .\n\nimport * as React from \"react\";\nimport { SVGProps } from \"react\";\n\nconst ExpandIcon = (props: SVGProps) => (\n \n \n \n);\n\nexport default ExpandIcon;\n","// This file is part of MinIO Design System\n// Copyright (c) 2023 MinIO, Inc.\n//\n// This program is free software: you can redistribute it and/or modify\n// it under the terms of the GNU Affero General Public License as published by\n// the Free Software Foundation, either version 3 of the License, or\n// (at your option) any later version.\n//\n// This program is distributed in the hope that it will be useful,\n// but WITHOUT ANY WARRANTY; without even the implied warranty of\n// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n// GNU Affero General Public License for more details.\n//\n// You should have received a copy of the GNU Affero General Public License\n// along with this program. If not, see .\n\nimport * as React from \"react\";\nimport { SVGProps } from \"react\";\n\nconst NextCaretIcon = (props: SVGProps) => (\n \n \n \n \n \n \n \n);\n\nexport default NextCaretIcon;\n","// This file is part of MinIO Design System\n// Copyright (c) 2023 MinIO, Inc.\n//\n// This program is free software: you can redistribute it and/or modify\n// it under the terms of the GNU Affero General Public License as published by\n// the Free Software Foundation, either version 3 of the License, or\n// (at your option) any later version.\n//\n// This program is distributed in the hope that it will be useful,\n// but WITHOUT ANY WARRANTY; without even the implied warranty of\n// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n// GNU Affero General Public License for more details.\n//\n// You should have received a copy of the GNU Affero General Public License\n// along with this program. If not, see .\n\nimport * as React from \"react\";\nimport { SVGProps } from \"react\";\n\nconst NextCaretIcon = (props: SVGProps) => (\n \n \n \n \n \n \n \n);\n\nexport default NextCaretIcon;\n","// This file is part of MinIO Design System\n// Copyright (c) 2023 MinIO, Inc.\n//\n// This program is free software: you can redistribute it and/or modify\n// it under the terms of the GNU Affero General Public License as published by\n// the Free Software Foundation, either version 3 of the License, or\n// (at your option) any later version.\n//\n// This program is distributed in the hope that it will be useful,\n// but WITHOUT ANY WARRANTY; without even the implied warranty of\n// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n// GNU Affero General Public License for more details.\n//\n// You should have received a copy of the GNU Affero General Public License\n// along with this program. If not, see .\n\nimport * as React from \"react\";\nimport { SVGProps } from \"react\";\n\nconst DarkModeIcon = (props: SVGProps) => (\n \n \n \n \n \n \n \n);\n\nexport default DarkModeIcon;\n","// This file is part of MinIO Design System\n// Copyright (c) 2024 MinIO, Inc.\n//\n// This program is free software: you can redistribute it and/or modify\n// it under the terms of the GNU Affero General Public License as published by\n// the Free Software Foundation, either version 3 of the License, or\n// (at your option) any later version.\n//\n// This program is distributed in the hope that it will be useful,\n// but WITHOUT ANY WARRANTY; without even the implied warranty of\n// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n// GNU Affero General Public License for more details.\n//\n// You should have received a copy of the GNU Affero General Public License\n// along with this program. If not, see .\n\nimport * as React from \"react\";\nimport { SVGProps } from \"react\";\n\nconst LightModeIcon = (props: SVGProps) => (\n \n \n \n);\n\nexport default LightModeIcon;\n","// This file is part of MinIO Design System\n// Copyright (c) 2024 MinIO, Inc.\n//\n// This program is free software: you can redistribute it and/or modify\n// it under the terms of the GNU Affero General Public License as published by\n// the Free Software Foundation, either version 3 of the License, or\n// (at your option) any later version.\n//\n// This program is distributed in the hope that it will be useful,\n// but WITHOUT ANY WARRANTY; without even the implied warranty of\n// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n// GNU Affero General Public License for more details.\n//\n// You should have received a copy of the GNU Affero General Public License\n// along with this program. If not, see .\n\nimport * as React from \"react\";\nimport { SVGProps } from \"react\";\n\nconst AutoModeIcon = (props: SVGProps) => (\n \n \n \n \n \n \n \n);\n\nexport default AutoModeIcon;\n","// This file is part of MinIO Design System\n// Copyright (c) 2023 MinIO, Inc.\n//\n// This program is free software: you can redistribute it and/or modify\n// it under the terms of the GNU Affero General Public License as published by\n// the Free Software Foundation, either version 3 of the License, or\n// (at your option) any later version.\n//\n// This program is distributed in the hope that it will be useful,\n// but WITHOUT ANY WARRANTY; without even the implied warranty of\n// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n// GNU Affero General Public License for more details.\n//\n// You should have received a copy of the GNU Affero General Public License\n// along with this program. If not, see .\n\nimport * as React from \"react\";\nimport { SVGProps } from \"react\";\n\nconst ShuffleIcon = (props: SVGProps) => (\n \n \n \n \n \n \n \n);\n\nexport default ShuffleIcon;\n","// This file is part of MinIO Design System\n// Copyright (c) 2023 MinIO, Inc.\n//\n// This program is free software: you can redistribute it and/or modify\n// it under the terms of the GNU Affero General Public License as published by\n// the Free Software Foundation, either version 3 of the License, or\n// (at your option) any later version.\n//\n// This program is distributed in the hope that it will be useful,\n// but WITHOUT ANY WARRANTY; without even the implied warranty of\n// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n// GNU Affero General Public License for more details.\n//\n// You should have received a copy of the GNU Affero General Public License\n// along with this program. If not, see .\n\nimport * as React from \"react\";\nimport { SVGProps } from \"react\";\n\nconst LanguageIcon = (props: SVGProps) => (\n \n \n \n);\n\nexport default LanguageIcon;\n","// This file is part of MinIO Design System\n// Copyright (c) 2023 MinIO, Inc.\n//\n// This program is free software: you can redistribute it and/or modify\n// it under the terms of the GNU Affero General Public License as published by\n// the Free Software Foundation, either version 3 of the License, or\n// (at your option) any later version.\n//\n// This program is distributed in the hope that it will be useful,\n// but WITHOUT ANY WARRANTY; without even the implied warranty of\n// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n// GNU Affero General Public License for more details.\n//\n// You should have received a copy of the GNU Affero General Public License\n// along with this program. If not, see .\n\nimport * as React from \"react\";\nimport { SVGProps } from \"react\";\n\nconst ShuffleIcon = (props: SVGProps) => (\n \n \n \n);\n\nexport default ShuffleIcon;\n","// This file is part of MinIO Design System\n// Copyright (c) 2024 MinIO, Inc.\n//\n// This program is free software: you can redistribute it and/or modify\n// it under the terms of the GNU Affero General Public License as published by\n// the Free Software Foundation, either version 3 of the License, or\n// (at your option) any later version.\n//\n// This program is distributed in the hope that it will be useful,\n// but WITHOUT ANY WARRANTY; without even the implied warranty of\n// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n// GNU Affero General Public License for more details.\n//\n// You should have received a copy of the GNU Affero General Public License\n// along with this program. If not, see .\n\nimport * as React from \"react\";\nimport { SVGProps } from \"react\";\n\nconst ExpandLeftCaret = (props: SVGProps) => (\n \n \n \n \n \n \n \n \n);\n\nexport default ExpandLeftCaret;\n","// This file is part of MinIO Design System\n// Copyright (c) 2025 MinIO, Inc.\n//\n// This program is free software: you can redistribute it and/or modify\n// it under the terms of the GNU Affero General Public License as published by\n// the Free Software Foundation, either version 3 of the License, or\n// (at your option) any later version.\n//\n// This program is distributed in the hope that it will be useful,\n// but WITHOUT ANY WARRANTY; without even the implied warranty of\n// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n// GNU Affero General Public License for more details.\n//\n// You should have received a copy of the GNU Affero General Public License\n// along with this program. If not, see .\n\nimport * as React from \"react\";\nimport { SVGProps } from \"react\";\n\nconst TrashOffIcon = (props: SVGProps) => (\n \n \n \n \n \n \n \n \n \n \n \n);\n\nexport default TrashOffIcon;\n","// This file is part of MinIO Design System\n// Copyright (c) 2023 MinIO, Inc.\n//\n// This program is free software: you can redistribute it and/or modify\n// it under the terms of the GNU Affero General Public License as published by\n// the Free Software Foundation, either version 3 of the License, or\n// (at your option) any later version.\n//\n// This program is distributed in the hope that it will be useful,\n// but WITHOUT ANY WARRANTY; without even the implied warranty of\n// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n// GNU Affero General Public License for more details.\n//\n// You should have received a copy of the GNU Affero General Public License\n// along with this program. If not, see .\n\nimport React, {\n FC,\n Fragment,\n HTMLAttributes,\n useEffect,\n useRef,\n useState,\n} from \"react\";\nimport styled, { css, keyframes } from \"styled-components\";\nimport { createPortal } from \"react-dom\";\nimport get from \"lodash/get\";\nimport {\n CommonHelpTipPlacement,\n HelpTipBuild,\n HelpTipConstructProps,\n HelpTipProps,\n} from \"./HelpTip.types\";\nimport Grid from \"../Grid/Grid\";\nimport { HelpIconFilled } from \"../Icons\";\n\nconst opacityAnimation = keyframes`\n from {\n opacity: 0;\n }\n to {\n opacity: 1;\n }\n`;\nconst HelptipWrapper = styled.span>(\n {\n display: \"inline-flex\",\n position: \"relative\",\n },\n css`\n &:hover {\n & .tooltipElement {\n display: block;\n animation: ${opacityAnimation} 1s;\n }\n }\n `,\n);\n\nconst HelptipItem = styled.div(({ theme, placement }) => {\n const tooltipArrowSize = \"6px\";\n\n const background = get(theme, \"tooltip.background\", \"#737373\");\n const textColor = get(theme, \"tooltip.color\", \"#FFFFFF\");\n\n let placementPosition = {};\n const beforePosition = {\n content: \"' '\",\n left: \"50%\",\n border: \"solid transparent\",\n height: 0,\n width: 0,\n position: \"absolute\",\n pointerEvents: \"none\",\n borderWidth: tooltipArrowSize,\n marginLeft: `calc(${tooltipArrowSize} * -1);`,\n };\n\n switch (placement) {\n case \"top\":\n placementPosition = {\n transform: \"translateX(-50%) translateY(-50%)\",\n \"&::before\": {\n ...beforePosition,\n top: \"100%\",\n borderTopColor: background,\n },\n };\n break;\n case \"right\":\n placementPosition = {\n transform: \"translateX(0) translateY(-50%)\",\n \"&::before\": {\n ...beforePosition,\n left: `calc(${tooltipArrowSize} * -1)`,\n top: \"50%\",\n transform: \"translateX(0) translateY(-50%)\",\n borderRightColor: background,\n },\n };\n break;\n case \"left\":\n placementPosition = {\n transform: \"translateX(-100%) translateY(-50%)\",\n \"&::before\": {\n ...beforePosition,\n left: \"auto\",\n right: `calc(${tooltipArrowSize} * -2)`,\n top: \"50%\",\n transform: \"translateX(0) translateY(-50%)\",\n borderLeftColor: background,\n },\n };\n break;\n default:\n placementPosition = {\n transform: \"translateX(-50%)\",\n \"&::before\": {\n ...beforePosition,\n bottom: \"100%\",\n borderBottomColor: background,\n },\n };\n }\n\n return {\n position: \"fixed\",\n borderRadius: 4,\n color: textColor,\n background: background,\n lineHeight: 1,\n zIndex: 10001,\n padding: 2,\n fontSize: 12,\n boxShadow: \"#00000050 0px 3px 10px\",\n maxWidth: 350,\n ...placementPosition,\n };\n});\n\nconst HelpTargetItem = styled.div(({ theme, placement }) => {\n const tooltipArrowSize = \"6px\";\n\n const background = get(theme, \"tooltip.background\", \"#737373\");\n\n let placementPosition = {};\n const beforePosition = {\n content: \"' '\",\n left: \"50%\",\n height: 0,\n width: 0,\n position: \"absolute\",\n pointerEvents: \"none\",\n marginLeft: `calc(${tooltipArrowSize} * -1);`,\n };\n\n switch (placement) {\n case \"top\":\n placementPosition = {\n transform: \"translateX(-50%) translateY(-50%)\",\n \"&::before\": {\n ...beforePosition,\n top: \"100%\",\n borderTopColor: background,\n },\n };\n break;\n case \"right\":\n placementPosition = {\n transform: \"translateX(0) translateY(-50%)\",\n \"&::before\": {\n ...beforePosition,\n left: `calc(${tooltipArrowSize} * -1)`,\n top: \"50%\",\n transform: \"translateX(0) translateY(-50%)\",\n borderRightColor: background,\n },\n };\n break;\n case \"left\":\n placementPosition = {\n transform: \"translateX(-100%) translateY(-50%)\",\n \"&::before\": {\n ...beforePosition,\n left: \"auto\",\n right: `calc(${tooltipArrowSize} * -2)`,\n top: \"50%\",\n transform: \"translateX(0) translateY(-50%)\",\n borderLeftColor: background,\n },\n };\n break;\n default:\n placementPosition = {\n transform: \"translateX(-50%)\",\n \"&::before\": {\n ...beforePosition,\n bottom: \"100%\",\n borderBottomColor: background,\n },\n };\n }\n\n return {\n position: \"fixed\",\n color: background,\n zIndex: 10001,\n ...placementPosition,\n };\n});\n\nconst BaseHelpTip = styled.div(({ theme }) => ({\n border: `1px solid ${get(theme, \"borderColor\", \"#E2E2E2\")}`,\n borderRadius: 2,\n backgroundColor: get(theme, \"boxBackground\", \"#FBFAFA\"),\n paddingLeft: 10,\n paddingTop: 5,\n paddingBottom: 5,\n paddingRight: 10,\n \"& .leftItems\": {\n fontSize: 16,\n fontWeight: \"bold\",\n display: \"flex\",\n alignItems: \"center\",\n \"& .min-icon\": {\n marginRight: 5,\n height: 28,\n width: 38,\n },\n },\n \"& .helpText\": {\n fontSize: 10,\n paddingLeft: 5,\n marginTop: 5,\n color: \"black\",\n },\n}));\n\nexport const HelpTip: FC = ({ children, content, placement }) => {\n const [anchorEl, setAnchorEl] = useState<\n (EventTarget & HTMLSpanElement) | null\n >(null);\n const [helptipVisible, setHelptipVisible] = useState(false);\n const [helptipOpen, setHelptipOpen] = useState(false);\n\n const handlePointerLeave = () => {\n helptipOpen\n ? setTimeout(() => {\n setHelptipVisible(false);\n setHelptipOpen(false);\n }, 50000)\n : setTimeout(() => {\n setHelptipVisible(false);\n }, 1000);\n };\n\n const handleClick = () => {\n if (!helptipOpen) {\n setHelptipVisible(false);\n setHelptipOpen(true);\n }\n };\n\n const HelptipElement: FC = ({\n placement,\n content,\n anchorEl,\n }) => {\n let position = {};\n let calculatedPlacement = placement;\n const boundYLimit = 25;\n const boundXLimit = 175;\n\n if (anchorEl) {\n const bounds = anchorEl.getBoundingClientRect();\n const windowWidth = document.documentElement.offsetWidth;\n const windowHeight = document.documentElement.offsetHeight;\n\n switch (placement) {\n case \"bottom\":\n const calcPosition = bounds.top + bounds.height + boundYLimit;\n\n if (calcPosition > windowHeight) {\n calculatedPlacement = \"top\";\n }\n break;\n case \"left\":\n const calcInitPosition = bounds.left - boundXLimit;\n\n if (calcInitPosition < 0) {\n calculatedPlacement = \"right\";\n }\n\n break;\n case \"right\":\n const calcEndPosition = bounds.left + bounds.width + boundXLimit;\n\n if (calcEndPosition > windowWidth) {\n calculatedPlacement = \"left\";\n }\n break;\n case \"top\":\n if (bounds.top < boundYLimit) {\n calculatedPlacement = \"bottom\";\n }\n\n break;\n }\n\n switch (calculatedPlacement) {\n case \"bottom\":\n position = {\n top: bounds.top + bounds.height + 10,\n left: bounds.left + bounds.width / 2,\n };\n break;\n case \"left\":\n position = {\n top: bounds.top + bounds.height / 2,\n left: bounds.left - 12,\n };\n break;\n case \"right\":\n position = {\n top: bounds.top + bounds.height / 2,\n left: bounds.left + bounds.width + 12,\n };\n break;\n case \"top\":\n position = {\n top: bounds.top - bounds.height / 2 - 10,\n left: bounds.left + bounds.width / 2,\n };\n break;\n }\n }\n\n return (\n \n {content}\n \n );\n };\n\n const HelptipTarget: FC = ({\n placement,\n anchorEl,\n }) => {\n let position = {};\n let calculatedPlacement = placement;\n const boundYLimit = 45;\n const boundXLimit = 175;\n\n if (anchorEl) {\n const bounds = anchorEl.getBoundingClientRect();\n const windowWidth = document.documentElement.offsetWidth;\n const windowHeight = document.documentElement.offsetHeight;\n\n switch (placement) {\n case \"bottom\":\n const calcPosition = bounds.top + bounds.height + boundYLimit;\n\n if (calcPosition > windowHeight) {\n calculatedPlacement = \"top\";\n }\n break;\n case \"left\":\n const calcInitPosition = bounds.left - boundXLimit;\n\n if (calcInitPosition < 0) {\n }\n\n break;\n case \"right\":\n const calcEndPosition = bounds.left + bounds.width + boundXLimit;\n\n if (calcEndPosition > windowWidth) {\n calculatedPlacement = \"left\";\n }\n break;\n case \"top\":\n if (bounds.top < boundYLimit) {\n calculatedPlacement = \"bottom\";\n }\n\n break;\n }\n\n switch (calculatedPlacement) {\n case \"bottom\":\n position = {\n top: bounds.top + bounds.height + 10,\n left: bounds.left + bounds.width / 2,\n };\n break;\n case \"left\":\n position = {\n top: bounds.top + bounds.height / 2,\n left: bounds.left - 12,\n };\n break;\n case \"right\":\n position = {\n top: bounds.top + bounds.height / 2,\n left: bounds.left + bounds.width + 12,\n };\n break;\n case \"top\":\n position = {\n top: bounds.top - bounds.height / 2 - 10,\n left: bounds.left + bounds.width / 2,\n };\n break;\n }\n }\n\n return (\n \n \n \n );\n };\n\n function useOutsideAlerter(ref: any) {\n useEffect(() => {\n function handleClickOutside(event: any) {\n if (ref.current && !ref.current.contains(event.target)) {\n setHelptipOpen(false);\n }\n }\n\n document.addEventListener(\"mousedown\", handleClickOutside);\n return () => {\n document.removeEventListener(\"mousedown\", handleClickOutside);\n };\n }, [ref]);\n }\n const wrapperRef = useRef(null);\n useOutsideAlerter(wrapperRef);\n\n return placement ? (\n \n {\n if (!helptipOpen) {\n setAnchorEl(event.currentTarget);\n setHelptipVisible(true);\n }\n }}\n onMouseLeave={handlePointerLeave}\n >\n {children}\n {helptipVisible &&\n !helptipOpen &&\n createPortal(\n }\n anchorEl={anchorEl}\n />,\n document.body,\n )}\n {helptipOpen &&\n createPortal(\n \n \n \n {content}\n \n \n \n }\n anchorEl={anchorEl}\n />,\n document.body,\n )}\n \n \n ) : (\n {children}\n );\n};\n\nexport default HelpTip;\n","// This file is part of MinIO Design System\n// Copyright (c) 2023 MinIO, Inc.\n//\n// This program is free software: you can redistribute it and/or modify\n// it under the terms of the GNU Affero General Public License as published by\n// the Free Software Foundation, either version 3 of the License, or\n// (at your option) any later version.\n//\n// This program is distributed in the hope that it will be useful,\n// but WITHOUT ANY WARRANTY; without even the implied warranty of\n// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n// GNU Affero General Public License for more details.\n//\n// You should have received a copy of the GNU Affero General Public License\n// along with this program. If not, see .\n\nimport React, { FC, Fragment } from \"react\";\nimport styled from \"styled-components\";\nimport get from \"lodash/get\";\nimport { InputLabelProps } from \"./InputLabel.types\";\nimport HelpTip from \"../HelpTip/HelpTip\";\n\nconst CustomLabel = styled.label(({ theme, sx }) => ({\n fontWeight: 600,\n marginRight: 10,\n fontSize: 14,\n color: get(theme, \"commonInput.labelColor\", \"#07193E\"),\n textAlign: \"left\" as const,\n alignItems: \"center\",\n display: \"flex\",\n userSelect: \"none\",\n whiteSpace: \"nowrap\",\n \"& > span\": {\n display: \"flex\",\n alignItems: \"center\",\n minWidth: 160,\n \"&.noMinWidthLabel\": {\n minWidth: \"initial\",\n },\n },\n ...sx,\n}));\n\nconst InputLabel: FC = ({\n children,\n sx,\n noMinWidth,\n htmlFor,\n helpTip,\n helpTipPlacement,\n ...props\n}) => {\n return (\n \n \n {helpTip ? (\n \n {children}\n \n ) : (\n children\n )}\n \n \n );\n};\n\nexport default InputLabel;\n","// This file is part of MinIO Design System\n// Copyright (c) 2023 MinIO, Inc.\n//\n// This program is free software: you can redistribute it and/or modify\n// it under the terms of the GNU Affero General Public License as published by\n// the Free Software Foundation, either version 3 of the License, or\n// (at your option) any later version.\n//\n// This program is distributed in the hope that it will be useful,\n// but WITHOUT ANY WARRANTY; without even the implied warranty of\n// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n// GNU Affero General Public License for more details.\n//\n// You should have received a copy of the GNU Affero General Public License\n// along with this program. If not, see .\n\nimport React, { FC, HTMLAttributes } from \"react\";\nimport { breakPoints } from \"./utils\";\nimport styled, { CSSObject } from \"styled-components\";\n\nexport interface FieldContainerProps {\n children: React.ReactNode;\n className?: string;\n sx?: CSSObject;\n}\n\nconst MainContainer = styled.div<\n HTMLAttributes & FieldContainerProps\n>(({ sx }) => ({\n position: \"relative\",\n display: \"flex\",\n flexWrap: \"wrap\",\n width: \"100%\",\n flexBasis: \"100%\",\n [`@media (max-width: ${breakPoints.sm})`]: {\n flexFlow: \"column\",\n },\n \"& .tooltipContainer\": {\n marginLeft: 5,\n display: \"flex\",\n alignItems: \"center\",\n \"& .min-icon\": {\n width: 13,\n },\n },\n ...sx,\n}));\n\nexport const FieldContainer: FC = ({\n children,\n sx,\n className,\n}) => {\n return (\n \n {children}\n \n );\n};\n\nexport default FieldContainer;\n","// This file is part of MinIO Design System\n// Copyright (c) 2023 MinIO, Inc.\n//\n// This program is free software: you can redistribute it and/or modify\n// it under the terms of the GNU Affero General Public License as published by\n// the Free Software Foundation, either version 3 of the License, or\n// (at your option) any later version.\n//\n// This program is distributed in the hope that it will be useful,\n// but WITHOUT ANY WARRANTY; without even the implied warranty of\n// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n// GNU Affero General Public License for more details.\n//\n// You should have received a copy of the GNU Affero General Public License\n// along with this program. If not, see .\n\nimport React, { FC } from \"react\";\nimport styled from \"styled-components\";\nimport get from \"lodash/get\";\nimport { CheckboxProps } from \"./Checkbox.types\";\nimport InputLabel from \"../InputLabel/InputLabel\";\nimport { InputLabelProps } from \"../InputLabel/InputLabel.types\";\nimport FieldContainer from \"../../global/FieldContainer\";\nimport Tooltip from \"../Tooltip/Tooltip\";\nimport HelpIcon from \"../Icons/HelpIcon\";\n\nconst CheckboxItem = styled.label(({ sx, theme }) => ({\n \"& input\": {\n display: \"none\",\n },\n \"& .checkbox\": {\n position: \"relative\",\n display: \"block\",\n width: 16,\n height: 16,\n borderRadius: 2,\n border: `1px solid ${get(theme, \"checkbox.checkBoxBorder\", \"#c3c3c3\")}`,\n boxShadow: \"inset 0px 1px 3px rgba(0,0,0,0.1)\",\n },\n \"input:checked ~ .checkbox\": {\n \"&:before\": {\n content: \"' '\",\n position: \"absolute\",\n display: \"block\",\n width: 12,\n height: 12,\n backgroundColor: get(theme, \"checkbox.checkBoxColor\", \"#4CCB92\"),\n borderRadius: 1,\n top: \"50%\",\n left: \"50%\",\n transform: \"translateX(-50%) translateY(-50%)\",\n },\n },\n \"input:disabled\": {\n \"& ~ .checkbox\": {\n border: `1px solid ${get(theme, \"checkbox.disabledBorder\", \"#B4B4B4\")}`,\n },\n \"&:checked ~ .checkbox\": {\n \"&:before\": {\n backgroundColor: get(theme, \"checkbox.disabledColor\", \"#D5D7D7\"),\n },\n },\n },\n ...sx,\n}));\n\nconst Checkbox: FC<\n CheckboxProps & React.InputHTMLAttributes\n> = ({\n tooltip,\n label,\n id,\n overrideLabelClasses,\n sx,\n className,\n helpTip,\n helpTipPlacement,\n ...props\n}) => {\n return (\n \n e.stopPropagation()}>\n \n \n \n {label !== \"\" && (\n \n {label}\n {tooltip && tooltip !== \"\" && (\n
\n \n \n \n
\n )}\n \n )}\n \n );\n};\n\nexport default Checkbox;\n","// This file is part of MinIO Design System\n// Copyright (c) 2023 MinIO, Inc.\n//\n// This program is free software: you can redistribute it and/or modify\n// it under the terms of the GNU Affero General Public License as published by\n// the Free Software Foundation, either version 3 of the License, or\n// (at your option) any later version.\n//\n// This program is distributed in the hope that it will be useful,\n// but WITHOUT ANY WARRANTY; without even the implied warranty of\n// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n// GNU Affero General Public License for more details.\n//\n// You should have received a copy of the GNU Affero General Public License\n// along with this program. If not, see .\n\nimport React, { FC } from \"react\";\nimport styled from \"styled-components\";\nimport get from \"lodash/get\";\nimport { IconButtonProps } from \"./IconButton.types\";\n\nconst CustomIconButton = styled.button(({ theme, size }) => {\n let buttonSize: number | string = 30;\n\n if (size) {\n if (typeof size === \"string\") {\n switch (size) {\n case \"small\":\n buttonSize = 28;\n break;\n case \"medium\":\n buttonSize = 30;\n break;\n case \"large\":\n buttonSize = 48;\n break;\n default:\n buttonSize = size;\n }\n }\n }\n return {\n width: buttonSize,\n height: buttonSize,\n display: \"flex\",\n justifyContent: \"center\",\n alignItems: \"center\",\n borderRadius: \"100%\",\n border: 0,\n position: \"relative\",\n cursor: \"pointer\",\n transitionDuration: \"0.2s\",\n backgroundColor: get(theme, `iconButton.buttonBG`, \"#000\"),\n \"& svg\": {\n fill: get(theme, `iconButton.color`, \"#000\"),\n margin: \"calc(25% - 2px)\",\n },\n \"&:hover:not(:disabled)\": {\n backgroundColor: get(theme, `iconButton.hoverBG`, \"#000\"),\n },\n \"&:active:not(:disabled)\": {\n backgroundColor: get(theme, `iconButton.activeBG`, \"#000\"),\n },\n \"&:disabled\": {\n cursor: \"not-allowed\",\n backgroundColor: get(theme, `iconButton.disabledBG`, \"#000\"),\n },\n };\n});\n\nconst IconButton: FC = ({ children, ...props }) => {\n return {children};\n};\n\nexport default IconButton;\n","function _classCallCheck(a, n) {\n if (!(a instanceof n)) throw new TypeError(\"Cannot call a class as a function\");\n}\nmodule.exports = _classCallCheck, module.exports.__esModule = true, module.exports[\"default\"] = module.exports;","function _typeof(o) {\n \"@babel/helpers - typeof\";\n\n return module.exports = _typeof = \"function\" == typeof Symbol && \"symbol\" == typeof Symbol.iterator ? function (o) {\n return typeof o;\n } : function (o) {\n return o && \"function\" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? \"symbol\" : typeof o;\n }, module.exports.__esModule = true, module.exports[\"default\"] = module.exports, _typeof(o);\n}\nmodule.exports = _typeof, module.exports.__esModule = true, module.exports[\"default\"] = module.exports;","var _typeof = require(\"./typeof.js\")[\"default\"];\nfunction toPrimitive(t, r) {\n if (\"object\" != _typeof(t) || !t) return t;\n var e = t[Symbol.toPrimitive];\n if (void 0 !== e) {\n var i = e.call(t, r || \"default\");\n if (\"object\" != _typeof(i)) return i;\n throw new TypeError(\"@@toPrimitive must return a primitive value.\");\n }\n return (\"string\" === r ? String : Number)(t);\n}\nmodule.exports = toPrimitive, module.exports.__esModule = true, module.exports[\"default\"] = module.exports;","var _typeof = require(\"./typeof.js\")[\"default\"];\nvar toPrimitive = require(\"./toPrimitive.js\");\nfunction toPropertyKey(t) {\n var i = toPrimitive(t, \"string\");\n return \"symbol\" == _typeof(i) ? i : i + \"\";\n}\nmodule.exports = toPropertyKey, module.exports.__esModule = true, module.exports[\"default\"] = module.exports;","var toPropertyKey = require(\"./toPropertyKey.js\");\nfunction _defineProperties(e, r) {\n for (var t = 0; t < r.length; t++) {\n var o = r[t];\n o.enumerable = o.enumerable || !1, o.configurable = !0, \"value\" in o && (o.writable = !0), Object.defineProperty(e, toPropertyKey(o.key), o);\n }\n}\nfunction _createClass(e, r, t) {\n return r && _defineProperties(e.prototype, r), t && _defineProperties(e, t), Object.defineProperty(e, \"prototype\", {\n writable: !1\n }), e;\n}\nmodule.exports = _createClass, module.exports.__esModule = true, module.exports[\"default\"] = module.exports;","function _assertThisInitialized(e) {\n if (void 0 === e) throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\");\n return e;\n}\nmodule.exports = _assertThisInitialized, module.exports.__esModule = true, module.exports[\"default\"] = module.exports;","var _typeof = require(\"./typeof.js\")[\"default\"];\nvar assertThisInitialized = require(\"./assertThisInitialized.js\");\nfunction _possibleConstructorReturn(t, e) {\n if (e && (\"object\" == _typeof(e) || \"function\" == typeof e)) return e;\n if (void 0 !== e) throw new TypeError(\"Derived constructors may only return object or undefined\");\n return assertThisInitialized(t);\n}\nmodule.exports = _possibleConstructorReturn, module.exports.__esModule = true, module.exports[\"default\"] = module.exports;","function _getPrototypeOf(t) {\n return module.exports = _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function (t) {\n return t.__proto__ || Object.getPrototypeOf(t);\n }, module.exports.__esModule = true, module.exports[\"default\"] = module.exports, _getPrototypeOf(t);\n}\nmodule.exports = _getPrototypeOf, module.exports.__esModule = true, module.exports[\"default\"] = module.exports;","function _setPrototypeOf(t, e) {\n return module.exports = _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function (t, e) {\n return t.__proto__ = e, t;\n }, module.exports.__esModule = true, module.exports[\"default\"] = module.exports, _setPrototypeOf(t, e);\n}\nmodule.exports = _setPrototypeOf, module.exports.__esModule = true, module.exports[\"default\"] = module.exports;","var setPrototypeOf = require(\"./setPrototypeOf.js\");\nfunction _inherits(t, e) {\n if (\"function\" != typeof e && null !== e) throw new TypeError(\"Super expression must either be null or a function\");\n t.prototype = Object.create(e && e.prototype, {\n constructor: {\n value: t,\n writable: !0,\n configurable: !0\n }\n }), Object.defineProperty(t, \"prototype\", {\n writable: !1\n }), e && setPrototypeOf(t, e);\n}\nmodule.exports = _inherits, module.exports.__esModule = true, module.exports[\"default\"] = module.exports;","var toPropertyKey = require(\"./toPropertyKey.js\");\nfunction _defineProperty(e, r, t) {\n return (r = toPropertyKey(r)) in e ? Object.defineProperty(e, r, {\n value: t,\n enumerable: !0,\n configurable: !0,\n writable: !0\n }) : e[r] = t, e;\n}\nmodule.exports = _defineProperty, module.exports.__esModule = true, module.exports[\"default\"] = module.exports;","'use strict';\n\nObject.defineProperty(exports, '__esModule', { value: true });\n\n/**\n * Copyright (c) 2013-present, Facebook, Inc.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\nfunction componentWillMount() {\n // Call this.constructor.gDSFP to support sub-classes.\n var state = this.constructor.getDerivedStateFromProps(this.props, this.state);\n if (state !== null && state !== undefined) {\n this.setState(state);\n }\n}\n\nfunction componentWillReceiveProps(nextProps) {\n // Call this.constructor.gDSFP to support sub-classes.\n // Use the setState() updater to ensure state isn't stale in certain edge cases.\n function updater(prevState) {\n var state = this.constructor.getDerivedStateFromProps(nextProps, prevState);\n return state !== null && state !== undefined ? state : null;\n }\n // Binding \"this\" is important for shallow renderer support.\n this.setState(updater.bind(this));\n}\n\nfunction componentWillUpdate(nextProps, nextState) {\n try {\n var prevProps = this.props;\n var prevState = this.state;\n this.props = nextProps;\n this.state = nextState;\n this.__reactInternalSnapshotFlag = true;\n this.__reactInternalSnapshot = this.getSnapshotBeforeUpdate(\n prevProps,\n prevState\n );\n } finally {\n this.props = prevProps;\n this.state = prevState;\n }\n}\n\n// React may warn about cWM/cWRP/cWU methods being deprecated.\n// Add a flag to suppress these warnings for this special case.\ncomponentWillMount.__suppressDeprecationWarning = true;\ncomponentWillReceiveProps.__suppressDeprecationWarning = true;\ncomponentWillUpdate.__suppressDeprecationWarning = true;\n\nfunction polyfill(Component) {\n var prototype = Component.prototype;\n\n if (!prototype || !prototype.isReactComponent) {\n throw new Error('Can only polyfill class components');\n }\n\n if (\n typeof Component.getDerivedStateFromProps !== 'function' &&\n typeof prototype.getSnapshotBeforeUpdate !== 'function'\n ) {\n return Component;\n }\n\n // If new component APIs are defined, \"unsafe\" lifecycles won't be called.\n // Error if any of these lifecycles are present,\n // Because they would work differently between older and newer (16.3+) versions of React.\n var foundWillMountName = null;\n var foundWillReceivePropsName = null;\n var foundWillUpdateName = null;\n if (typeof prototype.componentWillMount === 'function') {\n foundWillMountName = 'componentWillMount';\n } else if (typeof prototype.UNSAFE_componentWillMount === 'function') {\n foundWillMountName = 'UNSAFE_componentWillMount';\n }\n if (typeof prototype.componentWillReceiveProps === 'function') {\n foundWillReceivePropsName = 'componentWillReceiveProps';\n } else if (typeof prototype.UNSAFE_componentWillReceiveProps === 'function') {\n foundWillReceivePropsName = 'UNSAFE_componentWillReceiveProps';\n }\n if (typeof prototype.componentWillUpdate === 'function') {\n foundWillUpdateName = 'componentWillUpdate';\n } else if (typeof prototype.UNSAFE_componentWillUpdate === 'function') {\n foundWillUpdateName = 'UNSAFE_componentWillUpdate';\n }\n if (\n foundWillMountName !== null ||\n foundWillReceivePropsName !== null ||\n foundWillUpdateName !== null\n ) {\n var componentName = Component.displayName || Component.name;\n var newApiName =\n typeof Component.getDerivedStateFromProps === 'function'\n ? 'getDerivedStateFromProps()'\n : 'getSnapshotBeforeUpdate()';\n\n throw Error(\n 'Unsafe legacy lifecycles will not be called for components using new component APIs.\\n\\n' +\n componentName +\n ' uses ' +\n newApiName +\n ' but also contains the following legacy lifecycles:' +\n (foundWillMountName !== null ? '\\n ' + foundWillMountName : '') +\n (foundWillReceivePropsName !== null\n ? '\\n ' + foundWillReceivePropsName\n : '') +\n (foundWillUpdateName !== null ? '\\n ' + foundWillUpdateName : '') +\n '\\n\\nThe above lifecycles should be removed. Learn more about this warning here:\\n' +\n 'https://fb.me/react-async-component-lifecycle-hooks'\n );\n }\n\n // React <= 16.2 does not support static getDerivedStateFromProps.\n // As a workaround, use cWM and cWRP to invoke the new static lifecycle.\n // Newer versions of React will ignore these lifecycles if gDSFP exists.\n if (typeof Component.getDerivedStateFromProps === 'function') {\n prototype.componentWillMount = componentWillMount;\n prototype.componentWillReceiveProps = componentWillReceiveProps;\n }\n\n // React <= 16.2 does not support getSnapshotBeforeUpdate.\n // As a workaround, use cWU to invoke the new lifecycle.\n // Newer versions of React will ignore that lifecycle if gSBU exists.\n if (typeof prototype.getSnapshotBeforeUpdate === 'function') {\n if (typeof prototype.componentDidUpdate !== 'function') {\n throw new Error(\n 'Cannot polyfill getSnapshotBeforeUpdate() for components that do not define componentDidUpdate() on the prototype'\n );\n }\n\n prototype.componentWillUpdate = componentWillUpdate;\n\n var componentDidUpdate = prototype.componentDidUpdate;\n\n prototype.componentDidUpdate = function componentDidUpdatePolyfill(\n prevProps,\n prevState,\n maybeSnapshot\n ) {\n // 16.3+ will not execute our will-update method;\n // It will pass a snapshot value to did-update though.\n // Older versions will require our polyfilled will-update value.\n // We need to handle both cases, but can't just check for the presence of \"maybeSnapshot\",\n // Because for <= 15.x versions this might be a \"prevContext\" object.\n // We also can't just check \"__reactInternalSnapshot\",\n // Because get-snapshot might return a falsy value.\n // So check for the explicit __reactInternalSnapshotFlag flag to determine behavior.\n var snapshot = this.__reactInternalSnapshotFlag\n ? this.__reactInternalSnapshot\n : maybeSnapshot;\n\n componentDidUpdate.call(this, prevProps, prevState, snapshot);\n };\n }\n\n return Component;\n}\n\nexports.polyfill = polyfill;\n","import _classCallCheck from \"@babel/runtime/helpers/classCallCheck\";\nimport _createClass from \"@babel/runtime/helpers/createClass\";\nimport _possibleConstructorReturn from \"@babel/runtime/helpers/possibleConstructorReturn\";\nimport _getPrototypeOf from \"@babel/runtime/helpers/getPrototypeOf\";\nimport _inherits from \"@babel/runtime/helpers/inherits\";\nimport _defineProperty from \"@babel/runtime/helpers/defineProperty\";\nfunction ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }\nfunction _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }\nfunction _callSuper(t, o, e) { return o = _getPrototypeOf(o), _possibleConstructorReturn(t, _isNativeReflectConstruct() ? Reflect.construct(o, e || [], _getPrototypeOf(t).constructor) : o.apply(t, e)); }\nfunction _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); } catch (t) {} return (_isNativeReflectConstruct = function _isNativeReflectConstruct() { return !!t; })(); }\n/*:: import type {RenderedSection} from '../Grid';*/\n/*:: import type {ScrollIndices} from './types';*/\nimport * as React from 'react';\nimport { polyfill } from 'react-lifecycles-compat';\n\n/**\n * This HOC decorates a virtualized component and responds to arrow-key events by scrolling one row or column at a time.\n */\n/*:: type ChildrenParams = {\n onSectionRendered: (params: RenderedSection) => void,\n scrollToColumn: number,\n scrollToRow: number,\n};*/\n/*:: type Props = {\n children: (params: ChildrenParams) => React.Element<*>,\n className?: string,\n columnCount: number,\n disabled: boolean,\n isControlled: boolean,\n mode: 'cells' | 'edges',\n onScrollToChange?: (params: ScrollIndices) => void,\n rowCount: number,\n scrollToColumn: number,\n scrollToRow: number,\n};*/\n/*:: type State = ScrollIndices & {\n instanceProps: {\n prevScrollToColumn: number,\n prevScrollToRow: number,\n },\n};*/\nvar ArrowKeyStepper = /*#__PURE__*/function (_React$PureComponent) {\n function ArrowKeyStepper() {\n var _this;\n _classCallCheck(this, ArrowKeyStepper);\n for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {\n args[_key] = arguments[_key];\n }\n _this = _callSuper(this, ArrowKeyStepper, [].concat(args));\n _defineProperty(_this, \"state\", {\n scrollToColumn: 0,\n scrollToRow: 0,\n instanceProps: {\n prevScrollToColumn: 0,\n prevScrollToRow: 0\n }\n });\n _defineProperty(_this, \"_columnStartIndex\", 0);\n _defineProperty(_this, \"_columnStopIndex\", 0);\n _defineProperty(_this, \"_rowStartIndex\", 0);\n _defineProperty(_this, \"_rowStopIndex\", 0);\n _defineProperty(_this, \"_onKeyDown\", function (event /*: KeyboardEvent*/) {\n var _this$props = _this.props,\n columnCount = _this$props.columnCount,\n disabled = _this$props.disabled,\n mode = _this$props.mode,\n rowCount = _this$props.rowCount;\n if (disabled) {\n return;\n }\n var _this$_getScrollState = _this._getScrollState(),\n scrollToColumnPrevious = _this$_getScrollState.scrollToColumn,\n scrollToRowPrevious = _this$_getScrollState.scrollToRow;\n var _this$_getScrollState2 = _this._getScrollState(),\n scrollToColumn = _this$_getScrollState2.scrollToColumn,\n scrollToRow = _this$_getScrollState2.scrollToRow;\n\n // The above cases all prevent default event event behavior.\n // This is to keep the grid from scrolling after the snap-to update.\n switch (event.key) {\n case 'ArrowDown':\n scrollToRow = mode === 'cells' ? Math.min(scrollToRow + 1, rowCount - 1) : Math.min(_this._rowStopIndex + 1, rowCount - 1);\n break;\n case 'ArrowLeft':\n scrollToColumn = mode === 'cells' ? Math.max(scrollToColumn - 1, 0) : Math.max(_this._columnStartIndex - 1, 0);\n break;\n case 'ArrowRight':\n scrollToColumn = mode === 'cells' ? Math.min(scrollToColumn + 1, columnCount - 1) : Math.min(_this._columnStopIndex + 1, columnCount - 1);\n break;\n case 'ArrowUp':\n scrollToRow = mode === 'cells' ? Math.max(scrollToRow - 1, 0) : Math.max(_this._rowStartIndex - 1, 0);\n break;\n }\n if (scrollToColumn !== scrollToColumnPrevious || scrollToRow !== scrollToRowPrevious) {\n event.preventDefault();\n _this._updateScrollState({\n scrollToColumn: scrollToColumn,\n scrollToRow: scrollToRow\n });\n }\n });\n _defineProperty(_this, \"_onSectionRendered\", function (_ref /*:: */) {\n var columnStartIndex = _ref /*:: */.columnStartIndex,\n columnStopIndex = _ref /*:: */.columnStopIndex,\n rowStartIndex = _ref /*:: */.rowStartIndex,\n rowStopIndex = _ref /*:: */.rowStopIndex;\n _this._columnStartIndex = columnStartIndex;\n _this._columnStopIndex = columnStopIndex;\n _this._rowStartIndex = rowStartIndex;\n _this._rowStopIndex = rowStopIndex;\n });\n return _this;\n }\n _inherits(ArrowKeyStepper, _React$PureComponent);\n return _createClass(ArrowKeyStepper, [{\n key: \"setScrollIndexes\",\n value: function setScrollIndexes(_ref2 /*:: */) {\n var scrollToColumn = _ref2 /*:: */.scrollToColumn,\n scrollToRow = _ref2 /*:: */.scrollToRow;\n this.setState({\n scrollToRow: scrollToRow,\n scrollToColumn: scrollToColumn\n });\n }\n }, {\n key: \"render\",\n value: function render() {\n var _this$props2 = this.props,\n className = _this$props2.className,\n children = _this$props2.children;\n var _this$_getScrollState3 = this._getScrollState(),\n scrollToColumn = _this$_getScrollState3.scrollToColumn,\n scrollToRow = _this$_getScrollState3.scrollToRow;\n return /*#__PURE__*/React.createElement(\"div\", {\n className: className,\n onKeyDown: this._onKeyDown\n }, children({\n onSectionRendered: this._onSectionRendered,\n scrollToColumn: scrollToColumn,\n scrollToRow: scrollToRow\n }));\n }\n }, {\n key: \"_getScrollState\",\n value: function _getScrollState() {\n return this.props.isControlled ? this.props : this.state;\n }\n }, {\n key: \"_updateScrollState\",\n value: function _updateScrollState(_ref3 /*:: */) {\n var scrollToColumn = _ref3 /*:: */.scrollToColumn,\n scrollToRow = _ref3 /*:: */.scrollToRow;\n var _this$props3 = this.props,\n isControlled = _this$props3.isControlled,\n onScrollToChange = _this$props3.onScrollToChange;\n if (typeof onScrollToChange === 'function') {\n onScrollToChange({\n scrollToColumn: scrollToColumn,\n scrollToRow: scrollToRow\n });\n }\n if (!isControlled) {\n this.setState({\n scrollToColumn: scrollToColumn,\n scrollToRow: scrollToRow\n });\n }\n }\n }], [{\n key: \"getDerivedStateFromProps\",\n value: function getDerivedStateFromProps(nextProps /*: Props*/, prevState /*: State*/) /*: $Shape*/{\n if (nextProps.isControlled) {\n return {};\n }\n if (nextProps.scrollToColumn !== prevState.instanceProps.prevScrollToColumn || nextProps.scrollToRow !== prevState.instanceProps.prevScrollToRow) {\n return _objectSpread(_objectSpread({}, prevState), {}, {\n scrollToColumn: nextProps.scrollToColumn,\n scrollToRow: nextProps.scrollToRow,\n instanceProps: {\n prevScrollToColumn: nextProps.scrollToColumn,\n prevScrollToRow: nextProps.scrollToRow\n }\n });\n }\n return {};\n }\n }]);\n}(React.PureComponent);\n_defineProperty(ArrowKeyStepper, \"defaultProps\", {\n disabled: false,\n isControlled: false,\n mode: 'edges',\n scrollToColumn: 0,\n scrollToRow: 0\n});\npolyfill(ArrowKeyStepper);\nexport default ArrowKeyStepper;","/**\n * Detect Element Resize.\n * https://github.com/sdecima/javascript-detect-element-resize\n * Sebastian Decima\n *\n * Forked from version 0.5.3; includes the following modifications:\n * 1) Guard against unsafe 'window' and 'document' references (to support SSR).\n * 2) Defer initialization code via a top-level function wrapper (to support SSR).\n * 3) Avoid unnecessary reflows by not measuring size for scroll events bubbling from children.\n * 4) Add nonce for style element.\n * 5) Added support for injecting custom window object\n **/\n\nexport default function createDetectElementResize(nonce, hostWindow) {\n // Check `document` and `window` in case of server-side rendering\n var _window;\n if (typeof hostWindow !== 'undefined') {\n _window = hostWindow;\n } else if (typeof window !== 'undefined') {\n _window = window;\n } else if (typeof self !== 'undefined') {\n _window = self;\n } else {\n _window = global;\n }\n var attachEvent = typeof _window.document !== 'undefined' && _window.document.attachEvent;\n if (!attachEvent) {\n var requestFrame = function () {\n var raf = _window.requestAnimationFrame || _window.mozRequestAnimationFrame || _window.webkitRequestAnimationFrame || function (fn) {\n return _window.setTimeout(fn, 20);\n };\n return function (fn) {\n return raf(fn);\n };\n }();\n var cancelFrame = function () {\n var cancel = _window.cancelAnimationFrame || _window.mozCancelAnimationFrame || _window.webkitCancelAnimationFrame || _window.clearTimeout;\n return function (id) {\n return cancel(id);\n };\n }();\n var resetTriggers = function resetTriggers(element) {\n var triggers = element.__resizeTriggers__,\n expand = triggers.firstElementChild,\n contract = triggers.lastElementChild,\n expandChild = expand.firstElementChild;\n contract.scrollLeft = contract.scrollWidth;\n contract.scrollTop = contract.scrollHeight;\n expandChild.style.width = expand.offsetWidth + 1 + 'px';\n expandChild.style.height = expand.offsetHeight + 1 + 'px';\n expand.scrollLeft = expand.scrollWidth;\n expand.scrollTop = expand.scrollHeight;\n };\n var checkTriggers = function checkTriggers(element) {\n return element.offsetWidth != element.__resizeLast__.width || element.offsetHeight != element.__resizeLast__.height;\n };\n var scrollListener = function scrollListener(e) {\n // Don't measure (which forces) reflow for scrolls that happen inside of children!\n if (e.target.className && typeof e.target.className.indexOf === 'function' && e.target.className.indexOf('contract-trigger') < 0 && e.target.className.indexOf('expand-trigger') < 0) {\n return;\n }\n var element = this;\n resetTriggers(this);\n if (this.__resizeRAF__) {\n cancelFrame(this.__resizeRAF__);\n }\n this.__resizeRAF__ = requestFrame(function () {\n if (checkTriggers(element)) {\n element.__resizeLast__.width = element.offsetWidth;\n element.__resizeLast__.height = element.offsetHeight;\n element.__resizeListeners__.forEach(function (fn) {\n fn.call(element, e);\n });\n }\n });\n };\n\n /* Detect CSS Animations support to detect element display/re-attach */\n var animation = false,\n keyframeprefix = '',\n animationstartevent = 'animationstart',\n domPrefixes = 'Webkit Moz O ms'.split(' '),\n startEvents = 'webkitAnimationStart animationstart oAnimationStart MSAnimationStart'.split(' '),\n pfx = '';\n {\n var elm = _window.document.createElement('fakeelement');\n if (elm.style.animationName !== undefined) {\n animation = true;\n }\n if (animation === false) {\n for (var i = 0; i < domPrefixes.length; i++) {\n if (elm.style[domPrefixes[i] + 'AnimationName'] !== undefined) {\n pfx = domPrefixes[i];\n keyframeprefix = '-' + pfx.toLowerCase() + '-';\n animationstartevent = startEvents[i];\n animation = true;\n break;\n }\n }\n }\n }\n var animationName = 'resizeanim';\n var animationKeyframes = '@' + keyframeprefix + 'keyframes ' + animationName + ' { from { opacity: 0; } to { opacity: 0; } } ';\n var animationStyle = keyframeprefix + 'animation: 1ms ' + animationName + '; ';\n }\n var createStyles = function createStyles(doc) {\n if (!doc.getElementById('detectElementResize')) {\n //opacity:0 works around a chrome bug https://code.google.com/p/chromium/issues/detail?id=286360\n var css = (animationKeyframes ? animationKeyframes : '') + '.resize-triggers { ' + (animationStyle ? animationStyle : '') + 'visibility: hidden; opacity: 0; } ' + '.resize-triggers, .resize-triggers > div, .contract-trigger:before { content: \" \"; display: block; position: absolute; top: 0; left: 0; height: 100%; width: 100%; overflow: hidden; z-index: -1; } .resize-triggers > div { background: #eee; overflow: auto; } .contract-trigger:before { width: 200%; height: 200%; }',\n head = doc.head || doc.getElementsByTagName('head')[0],\n style = doc.createElement('style');\n style.id = 'detectElementResize';\n style.type = 'text/css';\n if (nonce != null) {\n style.setAttribute('nonce', nonce);\n }\n if (style.styleSheet) {\n style.styleSheet.cssText = css;\n } else {\n style.appendChild(doc.createTextNode(css));\n }\n head.appendChild(style);\n }\n };\n var addResizeListener = function addResizeListener(element, fn) {\n if (attachEvent) {\n element.attachEvent('onresize', fn);\n } else {\n if (!element.__resizeTriggers__) {\n var doc = element.ownerDocument;\n var elementStyle = _window.getComputedStyle(element);\n if (elementStyle && elementStyle.position == 'static') {\n element.style.position = 'relative';\n }\n createStyles(doc);\n element.__resizeLast__ = {};\n element.__resizeListeners__ = [];\n (element.__resizeTriggers__ = doc.createElement('div')).className = 'resize-triggers';\n var expandTrigger = doc.createElement('div');\n expandTrigger.className = 'expand-trigger';\n expandTrigger.appendChild(doc.createElement('div'));\n var contractTrigger = doc.createElement('div');\n contractTrigger.className = 'contract-trigger';\n element.__resizeTriggers__.appendChild(expandTrigger);\n element.__resizeTriggers__.appendChild(contractTrigger);\n element.appendChild(element.__resizeTriggers__);\n resetTriggers(element);\n element.addEventListener('scroll', scrollListener, true);\n\n /* Listen for a css animation to detect element display/re-attach */\n if (animationstartevent) {\n element.__resizeTriggers__.__animationListener__ = function animationListener(e) {\n if (e.animationName == animationName) {\n resetTriggers(element);\n }\n };\n element.__resizeTriggers__.addEventListener(animationstartevent, element.__resizeTriggers__.__animationListener__);\n }\n }\n element.__resizeListeners__.push(fn);\n }\n };\n var removeResizeListener = function removeResizeListener(element, fn) {\n if (attachEvent) {\n element.detachEvent('onresize', fn);\n } else {\n element.__resizeListeners__.splice(element.__resizeListeners__.indexOf(fn), 1);\n if (!element.__resizeListeners__.length) {\n element.removeEventListener('scroll', scrollListener, true);\n if (element.__resizeTriggers__.__animationListener__) {\n element.__resizeTriggers__.removeEventListener(animationstartevent, element.__resizeTriggers__.__animationListener__);\n element.__resizeTriggers__.__animationListener__ = null;\n }\n try {\n element.__resizeTriggers__ = !element.removeChild(element.__resizeTriggers__);\n } catch (e) {\n // Preact compat; see developit/preact-compat/issues/228\n }\n }\n }\n };\n return {\n addResizeListener: addResizeListener,\n removeResizeListener: removeResizeListener\n };\n}","import _classCallCheck from \"@babel/runtime/helpers/classCallCheck\";\nimport _createClass from \"@babel/runtime/helpers/createClass\";\nimport _possibleConstructorReturn from \"@babel/runtime/helpers/possibleConstructorReturn\";\nimport _getPrototypeOf from \"@babel/runtime/helpers/getPrototypeOf\";\nimport _inherits from \"@babel/runtime/helpers/inherits\";\nimport _defineProperty from \"@babel/runtime/helpers/defineProperty\";\nfunction ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }\nfunction _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }\nfunction _callSuper(t, o, e) { return o = _getPrototypeOf(o), _possibleConstructorReturn(t, _isNativeReflectConstruct() ? Reflect.construct(o, e || [], _getPrototypeOf(t).constructor) : o.apply(t, e)); }\nfunction _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); } catch (t) {} return (_isNativeReflectConstruct = function _isNativeReflectConstruct() { return !!t; })(); }\nimport * as React from 'react';\nimport createDetectElementResize from '../vendor/detectElementResize';\n/*:: type Size = {\n height: number,\n width: number,\n};*/\n/*:: type Props = {\n /** Function responsible for rendering children.*-/\n children: Size => React.Element<*>,\n\n /** Optional custom CSS class name to attach to root AutoSizer element. *-/\n className?: string,\n\n /** Default height to use for initial render; useful for SSR *-/\n defaultHeight?: number,\n\n /** Default width to use for initial render; useful for SSR *-/\n defaultWidth?: number,\n\n /** Disable dynamic :height property *-/\n disableHeight: boolean,\n\n /** Disable dynamic :width property *-/\n disableWidth: boolean,\n\n /** Nonce of the inlined stylesheet for Content Security Policy *-/\n nonce?: string,\n\n /** Callback to be invoked on-resize *-/\n onResize: Size => void,\n\n /** Optional inline style *-/\n style: ?Object,\n};*/\n/*:: type State = {\n height: number,\n width: number,\n};*/\n/*:: type ResizeHandler = (element: HTMLElement, onResize: () => void) => void;*/\n/*:: type DetectElementResize = {\n addResizeListener: ResizeHandler,\n removeResizeListener: ResizeHandler,\n};*/\nvar AutoSizer = /*#__PURE__*/function (_React$Component) {\n function AutoSizer() {\n var _this;\n _classCallCheck(this, AutoSizer);\n for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {\n args[_key] = arguments[_key];\n }\n _this = _callSuper(this, AutoSizer, [].concat(args));\n _defineProperty(_this, \"state\", {\n height: _this.props.defaultHeight || 0,\n width: _this.props.defaultWidth || 0\n });\n _defineProperty(_this, \"_parentNode\", void 0);\n _defineProperty(_this, \"_autoSizer\", void 0);\n _defineProperty(_this, \"_window\", void 0);\n // uses any instead of Window because Flow doesn't have window type\n _defineProperty(_this, \"_detectElementResize\", void 0);\n _defineProperty(_this, \"_onResize\", function () {\n var _this$props = _this.props,\n disableHeight = _this$props.disableHeight,\n disableWidth = _this$props.disableWidth,\n onResize = _this$props.onResize;\n if (_this._parentNode) {\n // Guard against AutoSizer component being removed from the DOM immediately after being added.\n // This can result in invalid style values which can result in NaN values if we don't handle them.\n // See issue #150 for more context.\n\n var height = _this._parentNode.offsetHeight || 0;\n var width = _this._parentNode.offsetWidth || 0;\n var win = _this._window || window;\n var style = win.getComputedStyle(_this._parentNode) || {};\n var paddingLeft = parseInt(style.paddingLeft, 10) || 0;\n var paddingRight = parseInt(style.paddingRight, 10) || 0;\n var paddingTop = parseInt(style.paddingTop, 10) || 0;\n var paddingBottom = parseInt(style.paddingBottom, 10) || 0;\n var newHeight = height - paddingTop - paddingBottom;\n var newWidth = width - paddingLeft - paddingRight;\n if (!disableHeight && _this.state.height !== newHeight || !disableWidth && _this.state.width !== newWidth) {\n _this.setState({\n height: height - paddingTop - paddingBottom,\n width: width - paddingLeft - paddingRight\n });\n onResize({\n height: height,\n width: width\n });\n }\n }\n });\n _defineProperty(_this, \"_setRef\", function (autoSizer /*: ?HTMLElement*/) {\n _this._autoSizer = autoSizer;\n });\n return _this;\n }\n _inherits(AutoSizer, _React$Component);\n return _createClass(AutoSizer, [{\n key: \"componentDidMount\",\n value: function componentDidMount() {\n var nonce = this.props.nonce;\n if (this._autoSizer && this._autoSizer.parentNode && this._autoSizer.parentNode.ownerDocument && this._autoSizer.parentNode.ownerDocument.defaultView && this._autoSizer.parentNode instanceof this._autoSizer.parentNode.ownerDocument.defaultView.HTMLElement) {\n // Delay access of parentNode until mount.\n // This handles edge-cases where the component has already been unmounted before its ref has been set,\n // As well as libraries like react-lite which have a slightly different lifecycle.\n this._parentNode = this._autoSizer.parentNode;\n this._window = this._autoSizer.parentNode.ownerDocument.defaultView;\n\n // Defer requiring resize handler in order to support server-side rendering.\n // See issue #41\n this._detectElementResize = createDetectElementResize(nonce, this._window);\n this._detectElementResize.addResizeListener(this._parentNode, this._onResize);\n this._onResize();\n }\n }\n }, {\n key: \"componentWillUnmount\",\n value: function componentWillUnmount() {\n if (this._detectElementResize && this._parentNode) {\n this._detectElementResize.removeResizeListener(this._parentNode, this._onResize);\n }\n }\n }, {\n key: \"render\",\n value: function render() {\n var _this$props2 = this.props,\n children = _this$props2.children,\n className = _this$props2.className,\n disableHeight = _this$props2.disableHeight,\n disableWidth = _this$props2.disableWidth,\n style = _this$props2.style;\n var _this$state = this.state,\n height = _this$state.height,\n width = _this$state.width;\n\n // Outer div should not force width/height since that may prevent containers from shrinking.\n // Inner component should overflow and use calculated width/height.\n // See issue #68 for more information.\n var outerStyle /*: Object*/ = {\n overflow: 'visible'\n };\n var childParams /*: Object*/ = {};\n if (!disableHeight) {\n outerStyle.height = 0;\n childParams.height = height;\n }\n if (!disableWidth) {\n outerStyle.width = 0;\n childParams.width = width;\n }\n\n /**\n * TODO: Avoid rendering children before the initial measurements have been collected.\n * At best this would just be wasting cycles.\n * Add this check into version 10 though as it could break too many ref callbacks in version 9.\n * Note that if default width/height props were provided this would still work with SSR.\n if (\n height !== 0 &&\n width !== 0\n ) {\n child = children({ height, width })\n }\n */\n\n return /*#__PURE__*/React.createElement(\"div\", {\n className: className,\n ref: this._setRef,\n style: _objectSpread(_objectSpread({}, outerStyle), style)\n }, children(childParams));\n }\n }]);\n}(React.Component);\n_defineProperty(AutoSizer, \"defaultProps\", {\n onResize: function onResize() {},\n disableHeight: false,\n disableWidth: false,\n style: {}\n});\nexport { AutoSizer as default };","import _classCallCheck from \"@babel/runtime/helpers/classCallCheck\";\nimport _createClass from \"@babel/runtime/helpers/createClass\";\nimport _possibleConstructorReturn from \"@babel/runtime/helpers/possibleConstructorReturn\";\nimport _getPrototypeOf from \"@babel/runtime/helpers/getPrototypeOf\";\nimport _inherits from \"@babel/runtime/helpers/inherits\";\nimport _defineProperty from \"@babel/runtime/helpers/defineProperty\";\nfunction _callSuper(t, o, e) { return o = _getPrototypeOf(o), _possibleConstructorReturn(t, _isNativeReflectConstruct() ? Reflect.construct(o, e || [], _getPrototypeOf(t).constructor) : o.apply(t, e)); }\nfunction _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); } catch (t) {} return (_isNativeReflectConstruct = function _isNativeReflectConstruct() { return !!t; })(); }\nimport * as React from 'react';\n/*:: import type {CellMeasureCache} from './types';*/\nimport { cloneElement } from 'react';\n/*:: type Children = (params: {measure: () => void}) => React.Element<*>;*/\n/*:: type Cell = {\n columnIndex: number,\n rowIndex: number,\n};*/\n/*:: type Props = {\n cache: CellMeasureCache,\n children: Children | React.Element<*>,\n columnIndex?: number,\n index?: number,\n parent: {\n invalidateCellSizeAfterRender?: (cell: Cell) => void,\n recomputeGridSize?: (cell: Cell) => void,\n },\n rowIndex?: number,\n};*/\n/**\n * Wraps a cell and measures its rendered content.\n * Measurements are stored in a per-cell cache.\n * Cached-content is not be re-measured.\n */\nvar CellMeasurer = /*#__PURE__*/function (_React$PureComponent) {\n function CellMeasurer() {\n var _this;\n _classCallCheck(this, CellMeasurer);\n for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {\n args[_key] = arguments[_key];\n }\n _this = _callSuper(this, CellMeasurer, [].concat(args));\n _defineProperty(_this, \"_child\", /*#__PURE__*/React.createRef());\n _defineProperty(_this, \"_measure\", function () {\n var _this$props = _this.props,\n cache = _this$props.cache,\n _this$props$columnInd = _this$props.columnIndex,\n columnIndex = _this$props$columnInd === void 0 ? 0 : _this$props$columnInd,\n parent = _this$props.parent,\n _this$props$rowIndex = _this$props.rowIndex,\n rowIndex = _this$props$rowIndex === void 0 ? _this.props.index || 0 : _this$props$rowIndex;\n var _this$_getCellMeasure = _this._getCellMeasurements(),\n height = _this$_getCellMeasure.height,\n width = _this$_getCellMeasure.width;\n if (height !== cache.getHeight(rowIndex, columnIndex) || width !== cache.getWidth(rowIndex, columnIndex)) {\n cache.set(rowIndex, columnIndex, width, height);\n if (parent && typeof parent.recomputeGridSize === 'function') {\n parent.recomputeGridSize({\n columnIndex: columnIndex,\n rowIndex: rowIndex\n });\n }\n }\n });\n _defineProperty(_this, \"_registerChild\", function (element) {\n if (element && !(element instanceof Element)) {\n console.warn('CellMeasurer registerChild expects to be passed Element or null');\n }\n _this._child.current = element;\n if (element) {\n _this._maybeMeasureCell();\n }\n });\n return _this;\n }\n _inherits(CellMeasurer, _React$PureComponent);\n return _createClass(CellMeasurer, [{\n key: \"componentDidMount\",\n value: function componentDidMount() {\n this._maybeMeasureCell();\n }\n }, {\n key: \"componentDidUpdate\",\n value: function componentDidUpdate() {\n this._maybeMeasureCell();\n }\n }, {\n key: \"render\",\n value: function render() {\n var _this2 = this;\n var children = this.props.children;\n var resolvedChildren = typeof children === 'function' ? children({\n measure: this._measure,\n registerChild: this._registerChild\n }) : children;\n if (resolvedChildren === null) {\n return resolvedChildren;\n }\n return /*#__PURE__*/cloneElement(resolvedChildren, {\n ref: function ref(node) {\n if (typeof resolvedChildren.ref === 'function') {\n resolvedChildren.ref(node);\n } else if (resolvedChildren.ref) {\n resolvedChildren.ref.current = node;\n }\n _this2._child.current = node;\n }\n });\n }\n }, {\n key: \"_getCellMeasurements\",\n value: function _getCellMeasurements() {\n var cache = this.props.cache;\n var node = this._child.current;\n\n // TODO Check for a bad combination of fixedWidth and missing numeric width or vice versa with height\n\n if (node && node.ownerDocument && node.ownerDocument.defaultView && node instanceof node.ownerDocument.defaultView.HTMLElement) {\n var styleWidth = node.style.width;\n var styleHeight = node.style.height;\n\n // If we are re-measuring a cell that has already been measured,\n // It will have a hard-coded width/height from the previous measurement.\n // The fact that we are measuring indicates this measurement is probably stale,\n // So explicitly clear it out (eg set to \"auto\") so we can recalculate.\n // See issue #593 for more info.\n // Even if we are measuring initially- if we're inside of a MultiGrid component,\n // Explicitly clear width/height before measuring to avoid being tainted by another Grid.\n // eg top/left Grid renders before bottom/right Grid\n // Since the CellMeasurerCache is shared between them this taints derived cell size values.\n if (!cache.hasFixedWidth()) {\n node.style.width = 'auto';\n }\n if (!cache.hasFixedHeight()) {\n node.style.height = 'auto';\n }\n var height = Math.ceil(node.offsetHeight);\n var width = Math.ceil(node.offsetWidth);\n\n // Reset after measuring to avoid breaking styles; see #660\n if (styleWidth) {\n node.style.width = styleWidth;\n }\n if (styleHeight) {\n node.style.height = styleHeight;\n }\n return {\n height: height,\n width: width\n };\n } else {\n return {\n height: 0,\n width: 0\n };\n }\n }\n }, {\n key: \"_maybeMeasureCell\",\n value: function _maybeMeasureCell() {\n var _this$props2 = this.props,\n cache = _this$props2.cache,\n _this$props2$columnIn = _this$props2.columnIndex,\n columnIndex = _this$props2$columnIn === void 0 ? 0 : _this$props2$columnIn,\n parent = _this$props2.parent,\n _this$props2$rowIndex = _this$props2.rowIndex,\n rowIndex = _this$props2$rowIndex === void 0 ? this.props.index || 0 : _this$props2$rowIndex;\n if (!cache.has(rowIndex, columnIndex)) {\n var _this$_getCellMeasure2 = this._getCellMeasurements(),\n height = _this$_getCellMeasure2.height,\n width = _this$_getCellMeasure2.width;\n cache.set(rowIndex, columnIndex, width, height);\n\n // If size has changed, let Grid know to re-render.\n if (parent && typeof parent.invalidateCellSizeAfterRender === 'function') {\n parent.invalidateCellSizeAfterRender({\n columnIndex: columnIndex,\n rowIndex: rowIndex\n });\n }\n }\n }\n }]);\n}(React.PureComponent); // Used for DEV mode warning check\n_defineProperty(CellMeasurer, \"__internalCellMeasurerFlag\", false);\nexport { CellMeasurer as default };\nif (process.env.NODE_ENV !== 'production') {\n CellMeasurer.__internalCellMeasurerFlag = true;\n}","function _objectDestructuringEmpty(t) {\n if (null == t) throw new TypeError(\"Cannot destructure \" + t);\n}\nmodule.exports = _objectDestructuringEmpty, module.exports.__esModule = true, module.exports[\"default\"] = module.exports;","function _extends() {\n return module.exports = _extends = Object.assign ? Object.assign.bind() : function (n) {\n for (var e = 1; e < arguments.length; e++) {\n var t = arguments[e];\n for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]);\n }\n return n;\n }, module.exports.__esModule = true, module.exports[\"default\"] = module.exports, _extends.apply(null, arguments);\n}\nmodule.exports = _extends, module.exports.__esModule = true, module.exports[\"default\"] = module.exports;","'use strict';\n\nif (process.env.NODE_ENV === 'production') {\n module.exports = require('./cjs/react-is.production.min.js');\n} else {\n module.exports = require('./cjs/react-is.development.js');\n}\n","/** @license React v16.13.1\n * react-is.production.min.js\n *\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\n'use strict';var b=\"function\"===typeof Symbol&&Symbol.for,c=b?Symbol.for(\"react.element\"):60103,d=b?Symbol.for(\"react.portal\"):60106,e=b?Symbol.for(\"react.fragment\"):60107,f=b?Symbol.for(\"react.strict_mode\"):60108,g=b?Symbol.for(\"react.profiler\"):60114,h=b?Symbol.for(\"react.provider\"):60109,k=b?Symbol.for(\"react.context\"):60110,l=b?Symbol.for(\"react.async_mode\"):60111,m=b?Symbol.for(\"react.concurrent_mode\"):60111,n=b?Symbol.for(\"react.forward_ref\"):60112,p=b?Symbol.for(\"react.suspense\"):60113,q=b?\nSymbol.for(\"react.suspense_list\"):60120,r=b?Symbol.for(\"react.memo\"):60115,t=b?Symbol.for(\"react.lazy\"):60116,v=b?Symbol.for(\"react.block\"):60121,w=b?Symbol.for(\"react.fundamental\"):60117,x=b?Symbol.for(\"react.responder\"):60118,y=b?Symbol.for(\"react.scope\"):60119;\nfunction z(a){if(\"object\"===typeof a&&null!==a){var u=a.$$typeof;switch(u){case c:switch(a=a.type,a){case l:case m:case e:case g:case f:case p:return a;default:switch(a=a&&a.$$typeof,a){case k:case n:case t:case r:case h:return a;default:return u}}case d:return u}}}function A(a){return z(a)===m}exports.AsyncMode=l;exports.ConcurrentMode=m;exports.ContextConsumer=k;exports.ContextProvider=h;exports.Element=c;exports.ForwardRef=n;exports.Fragment=e;exports.Lazy=t;exports.Memo=r;exports.Portal=d;\nexports.Profiler=g;exports.StrictMode=f;exports.Suspense=p;exports.isAsyncMode=function(a){return A(a)||z(a)===l};exports.isConcurrentMode=A;exports.isContextConsumer=function(a){return z(a)===k};exports.isContextProvider=function(a){return z(a)===h};exports.isElement=function(a){return\"object\"===typeof a&&null!==a&&a.$$typeof===c};exports.isForwardRef=function(a){return z(a)===n};exports.isFragment=function(a){return z(a)===e};exports.isLazy=function(a){return z(a)===t};\nexports.isMemo=function(a){return z(a)===r};exports.isPortal=function(a){return z(a)===d};exports.isProfiler=function(a){return z(a)===g};exports.isStrictMode=function(a){return z(a)===f};exports.isSuspense=function(a){return z(a)===p};\nexports.isValidElementType=function(a){return\"string\"===typeof a||\"function\"===typeof a||a===e||a===m||a===g||a===f||a===p||a===q||\"object\"===typeof a&&null!==a&&(a.$$typeof===t||a.$$typeof===r||a.$$typeof===h||a.$$typeof===k||a.$$typeof===n||a.$$typeof===w||a.$$typeof===x||a.$$typeof===y||a.$$typeof===v)};exports.typeOf=z;\n","/** @license React v16.13.1\n * react-is.development.js\n *\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\n'use strict';\n\n\n\nif (process.env.NODE_ENV !== \"production\") {\n (function() {\n'use strict';\n\n// The Symbol used to tag the ReactElement-like types. If there is no native Symbol\n// nor polyfill, then a plain number is used for performance.\nvar hasSymbol = typeof Symbol === 'function' && Symbol.for;\nvar REACT_ELEMENT_TYPE = hasSymbol ? Symbol.for('react.element') : 0xeac7;\nvar REACT_PORTAL_TYPE = hasSymbol ? Symbol.for('react.portal') : 0xeaca;\nvar REACT_FRAGMENT_TYPE = hasSymbol ? Symbol.for('react.fragment') : 0xeacb;\nvar REACT_STRICT_MODE_TYPE = hasSymbol ? Symbol.for('react.strict_mode') : 0xeacc;\nvar REACT_PROFILER_TYPE = hasSymbol ? Symbol.for('react.profiler') : 0xead2;\nvar REACT_PROVIDER_TYPE = hasSymbol ? Symbol.for('react.provider') : 0xeacd;\nvar REACT_CONTEXT_TYPE = hasSymbol ? Symbol.for('react.context') : 0xeace; // TODO: We don't use AsyncMode or ConcurrentMode anymore. They were temporary\n// (unstable) APIs that have been removed. Can we remove the symbols?\n\nvar REACT_ASYNC_MODE_TYPE = hasSymbol ? Symbol.for('react.async_mode') : 0xeacf;\nvar REACT_CONCURRENT_MODE_TYPE = hasSymbol ? Symbol.for('react.concurrent_mode') : 0xeacf;\nvar REACT_FORWARD_REF_TYPE = hasSymbol ? Symbol.for('react.forward_ref') : 0xead0;\nvar REACT_SUSPENSE_TYPE = hasSymbol ? Symbol.for('react.suspense') : 0xead1;\nvar REACT_SUSPENSE_LIST_TYPE = hasSymbol ? Symbol.for('react.suspense_list') : 0xead8;\nvar REACT_MEMO_TYPE = hasSymbol ? Symbol.for('react.memo') : 0xead3;\nvar REACT_LAZY_TYPE = hasSymbol ? Symbol.for('react.lazy') : 0xead4;\nvar REACT_BLOCK_TYPE = hasSymbol ? Symbol.for('react.block') : 0xead9;\nvar REACT_FUNDAMENTAL_TYPE = hasSymbol ? Symbol.for('react.fundamental') : 0xead5;\nvar REACT_RESPONDER_TYPE = hasSymbol ? Symbol.for('react.responder') : 0xead6;\nvar REACT_SCOPE_TYPE = hasSymbol ? Symbol.for('react.scope') : 0xead7;\n\nfunction isValidElementType(type) {\n return typeof type === 'string' || typeof type === 'function' || // Note: its typeof might be other than 'symbol' or 'number' if it's a polyfill.\n type === REACT_FRAGMENT_TYPE || type === REACT_CONCURRENT_MODE_TYPE || type === REACT_PROFILER_TYPE || type === REACT_STRICT_MODE_TYPE || type === REACT_SUSPENSE_TYPE || type === REACT_SUSPENSE_LIST_TYPE || typeof type === 'object' && type !== null && (type.$$typeof === REACT_LAZY_TYPE || type.$$typeof === REACT_MEMO_TYPE || type.$$typeof === REACT_PROVIDER_TYPE || type.$$typeof === REACT_CONTEXT_TYPE || type.$$typeof === REACT_FORWARD_REF_TYPE || type.$$typeof === REACT_FUNDAMENTAL_TYPE || type.$$typeof === REACT_RESPONDER_TYPE || type.$$typeof === REACT_SCOPE_TYPE || type.$$typeof === REACT_BLOCK_TYPE);\n}\n\nfunction typeOf(object) {\n if (typeof object === 'object' && object !== null) {\n var $$typeof = object.$$typeof;\n\n switch ($$typeof) {\n case REACT_ELEMENT_TYPE:\n var type = object.type;\n\n switch (type) {\n case REACT_ASYNC_MODE_TYPE:\n case REACT_CONCURRENT_MODE_TYPE:\n case REACT_FRAGMENT_TYPE:\n case REACT_PROFILER_TYPE:\n case REACT_STRICT_MODE_TYPE:\n case REACT_SUSPENSE_TYPE:\n return type;\n\n default:\n var $$typeofType = type && type.$$typeof;\n\n switch ($$typeofType) {\n case REACT_CONTEXT_TYPE:\n case REACT_FORWARD_REF_TYPE:\n case REACT_LAZY_TYPE:\n case REACT_MEMO_TYPE:\n case REACT_PROVIDER_TYPE:\n return $$typeofType;\n\n default:\n return $$typeof;\n }\n\n }\n\n case REACT_PORTAL_TYPE:\n return $$typeof;\n }\n }\n\n return undefined;\n} // AsyncMode is deprecated along with isAsyncMode\n\nvar AsyncMode = REACT_ASYNC_MODE_TYPE;\nvar ConcurrentMode = REACT_CONCURRENT_MODE_TYPE;\nvar ContextConsumer = REACT_CONTEXT_TYPE;\nvar ContextProvider = REACT_PROVIDER_TYPE;\nvar Element = REACT_ELEMENT_TYPE;\nvar ForwardRef = REACT_FORWARD_REF_TYPE;\nvar Fragment = REACT_FRAGMENT_TYPE;\nvar Lazy = REACT_LAZY_TYPE;\nvar Memo = REACT_MEMO_TYPE;\nvar Portal = REACT_PORTAL_TYPE;\nvar Profiler = REACT_PROFILER_TYPE;\nvar StrictMode = REACT_STRICT_MODE_TYPE;\nvar Suspense = REACT_SUSPENSE_TYPE;\nvar hasWarnedAboutDeprecatedIsAsyncMode = false; // AsyncMode should be deprecated\n\nfunction isAsyncMode(object) {\n {\n if (!hasWarnedAboutDeprecatedIsAsyncMode) {\n hasWarnedAboutDeprecatedIsAsyncMode = true; // Using console['warn'] to evade Babel and ESLint\n\n console['warn']('The ReactIs.isAsyncMode() alias has been deprecated, ' + 'and will be removed in React 17+. Update your code to use ' + 'ReactIs.isConcurrentMode() instead. It has the exact same API.');\n }\n }\n\n return isConcurrentMode(object) || typeOf(object) === REACT_ASYNC_MODE_TYPE;\n}\nfunction isConcurrentMode(object) {\n return typeOf(object) === REACT_CONCURRENT_MODE_TYPE;\n}\nfunction isContextConsumer(object) {\n return typeOf(object) === REACT_CONTEXT_TYPE;\n}\nfunction isContextProvider(object) {\n return typeOf(object) === REACT_PROVIDER_TYPE;\n}\nfunction isElement(object) {\n return typeof object === 'object' && object !== null && object.$$typeof === REACT_ELEMENT_TYPE;\n}\nfunction isForwardRef(object) {\n return typeOf(object) === REACT_FORWARD_REF_TYPE;\n}\nfunction isFragment(object) {\n return typeOf(object) === REACT_FRAGMENT_TYPE;\n}\nfunction isLazy(object) {\n return typeOf(object) === REACT_LAZY_TYPE;\n}\nfunction isMemo(object) {\n return typeOf(object) === REACT_MEMO_TYPE;\n}\nfunction isPortal(object) {\n return typeOf(object) === REACT_PORTAL_TYPE;\n}\nfunction isProfiler(object) {\n return typeOf(object) === REACT_PROFILER_TYPE;\n}\nfunction isStrictMode(object) {\n return typeOf(object) === REACT_STRICT_MODE_TYPE;\n}\nfunction isSuspense(object) {\n return typeOf(object) === REACT_SUSPENSE_TYPE;\n}\n\nexports.AsyncMode = AsyncMode;\nexports.ConcurrentMode = ConcurrentMode;\nexports.ContextConsumer = ContextConsumer;\nexports.ContextProvider = ContextProvider;\nexports.Element = Element;\nexports.ForwardRef = ForwardRef;\nexports.Fragment = Fragment;\nexports.Lazy = Lazy;\nexports.Memo = Memo;\nexports.Portal = Portal;\nexports.Profiler = Profiler;\nexports.StrictMode = StrictMode;\nexports.Suspense = Suspense;\nexports.isAsyncMode = isAsyncMode;\nexports.isConcurrentMode = isConcurrentMode;\nexports.isContextConsumer = isContextConsumer;\nexports.isContextProvider = isContextProvider;\nexports.isElement = isElement;\nexports.isForwardRef = isForwardRef;\nexports.isFragment = isFragment;\nexports.isLazy = isLazy;\nexports.isMemo = isMemo;\nexports.isPortal = isPortal;\nexports.isProfiler = isProfiler;\nexports.isStrictMode = isStrictMode;\nexports.isSuspense = isSuspense;\nexports.isValidElementType = isValidElementType;\nexports.typeOf = typeOf;\n })();\n}\n","/*\nobject-assign\n(c) Sindre Sorhus\n@license MIT\n*/\n\n'use strict';\n/* eslint-disable no-unused-vars */\nvar getOwnPropertySymbols = Object.getOwnPropertySymbols;\nvar hasOwnProperty = Object.prototype.hasOwnProperty;\nvar propIsEnumerable = Object.prototype.propertyIsEnumerable;\n\nfunction toObject(val) {\n\tif (val === null || val === undefined) {\n\t\tthrow new TypeError('Object.assign cannot be called with null or undefined');\n\t}\n\n\treturn Object(val);\n}\n\nfunction shouldUseNative() {\n\ttry {\n\t\tif (!Object.assign) {\n\t\t\treturn false;\n\t\t}\n\n\t\t// Detect buggy property enumeration order in older V8 versions.\n\n\t\t// https://bugs.chromium.org/p/v8/issues/detail?id=4118\n\t\tvar test1 = new String('abc'); // eslint-disable-line no-new-wrappers\n\t\ttest1[5] = 'de';\n\t\tif (Object.getOwnPropertyNames(test1)[0] === '5') {\n\t\t\treturn false;\n\t\t}\n\n\t\t// https://bugs.chromium.org/p/v8/issues/detail?id=3056\n\t\tvar test2 = {};\n\t\tfor (var i = 0; i < 10; i++) {\n\t\t\ttest2['_' + String.fromCharCode(i)] = i;\n\t\t}\n\t\tvar order2 = Object.getOwnPropertyNames(test2).map(function (n) {\n\t\t\treturn test2[n];\n\t\t});\n\t\tif (order2.join('') !== '0123456789') {\n\t\t\treturn false;\n\t\t}\n\n\t\t// https://bugs.chromium.org/p/v8/issues/detail?id=3056\n\t\tvar test3 = {};\n\t\t'abcdefghijklmnopqrst'.split('').forEach(function (letter) {\n\t\t\ttest3[letter] = letter;\n\t\t});\n\t\tif (Object.keys(Object.assign({}, test3)).join('') !==\n\t\t\t\t'abcdefghijklmnopqrst') {\n\t\t\treturn false;\n\t\t}\n\n\t\treturn true;\n\t} catch (err) {\n\t\t// We don't expect any of the above to throw, but better to be safe.\n\t\treturn false;\n\t}\n}\n\nmodule.exports = shouldUseNative() ? Object.assign : function (target, source) {\n\tvar from;\n\tvar to = toObject(target);\n\tvar symbols;\n\n\tfor (var s = 1; s < arguments.length; s++) {\n\t\tfrom = Object(arguments[s]);\n\n\t\tfor (var key in from) {\n\t\t\tif (hasOwnProperty.call(from, key)) {\n\t\t\t\tto[key] = from[key];\n\t\t\t}\n\t\t}\n\n\t\tif (getOwnPropertySymbols) {\n\t\t\tsymbols = getOwnPropertySymbols(from);\n\t\t\tfor (var i = 0; i < symbols.length; i++) {\n\t\t\t\tif (propIsEnumerable.call(from, symbols[i])) {\n\t\t\t\t\tto[symbols[i]] = from[symbols[i]];\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}\n\n\treturn to;\n};\n","/**\n * Copyright (c) 2013-present, Facebook, Inc.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\n'use strict';\n\nvar ReactPropTypesSecret = 'SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED';\n\nmodule.exports = ReactPropTypesSecret;\n","module.exports = Function.call.bind(Object.prototype.hasOwnProperty);\n","/**\n * Copyright (c) 2013-present, Facebook, Inc.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\n'use strict';\n\nvar ReactIs = require('react-is');\nvar assign = require('object-assign');\n\nvar ReactPropTypesSecret = require('./lib/ReactPropTypesSecret');\nvar has = require('./lib/has');\nvar checkPropTypes = require('./checkPropTypes');\n\nvar printWarning = function() {};\n\nif (process.env.NODE_ENV !== 'production') {\n printWarning = function(text) {\n var message = 'Warning: ' + text;\n if (typeof console !== 'undefined') {\n console.error(message);\n }\n try {\n // --- Welcome to debugging React ---\n // This error was thrown as a convenience so that you can use this stack\n // to find the callsite that caused this warning to fire.\n throw new Error(message);\n } catch (x) {}\n };\n}\n\nfunction emptyFunctionThatReturnsNull() {\n return null;\n}\n\nmodule.exports = function(isValidElement, throwOnDirectAccess) {\n /* global Symbol */\n var ITERATOR_SYMBOL = typeof Symbol === 'function' && Symbol.iterator;\n var FAUX_ITERATOR_SYMBOL = '@@iterator'; // Before Symbol spec.\n\n /**\n * Returns the iterator method function contained on the iterable object.\n *\n * Be sure to invoke the function with the iterable as context:\n *\n * var iteratorFn = getIteratorFn(myIterable);\n * if (iteratorFn) {\n * var iterator = iteratorFn.call(myIterable);\n * ...\n * }\n *\n * @param {?object} maybeIterable\n * @return {?function}\n */\n function getIteratorFn(maybeIterable) {\n var iteratorFn = maybeIterable && (ITERATOR_SYMBOL && maybeIterable[ITERATOR_SYMBOL] || maybeIterable[FAUX_ITERATOR_SYMBOL]);\n if (typeof iteratorFn === 'function') {\n return iteratorFn;\n }\n }\n\n /**\n * Collection of methods that allow declaration and validation of props that are\n * supplied to React components. Example usage:\n *\n * var Props = require('ReactPropTypes');\n * var MyArticle = React.createClass({\n * propTypes: {\n * // An optional string prop named \"description\".\n * description: Props.string,\n *\n * // A required enum prop named \"category\".\n * category: Props.oneOf(['News','Photos']).isRequired,\n *\n * // A prop named \"dialog\" that requires an instance of Dialog.\n * dialog: Props.instanceOf(Dialog).isRequired\n * },\n * render: function() { ... }\n * });\n *\n * A more formal specification of how these methods are used:\n *\n * type := array|bool|func|object|number|string|oneOf([...])|instanceOf(...)\n * decl := ReactPropTypes.{type}(.isRequired)?\n *\n * Each and every declaration produces a function with the same signature. This\n * allows the creation of custom validation functions. For example:\n *\n * var MyLink = React.createClass({\n * propTypes: {\n * // An optional string or URI prop named \"href\".\n * href: function(props, propName, componentName) {\n * var propValue = props[propName];\n * if (propValue != null && typeof propValue !== 'string' &&\n * !(propValue instanceof URI)) {\n * return new Error(\n * 'Expected a string or an URI for ' + propName + ' in ' +\n * componentName\n * );\n * }\n * }\n * },\n * render: function() {...}\n * });\n *\n * @internal\n */\n\n var ANONYMOUS = '<>';\n\n // Important!\n // Keep this list in sync with production version in `./factoryWithThrowingShims.js`.\n var ReactPropTypes = {\n array: createPrimitiveTypeChecker('array'),\n bigint: createPrimitiveTypeChecker('bigint'),\n bool: createPrimitiveTypeChecker('boolean'),\n func: createPrimitiveTypeChecker('function'),\n number: createPrimitiveTypeChecker('number'),\n object: createPrimitiveTypeChecker('object'),\n string: createPrimitiveTypeChecker('string'),\n symbol: createPrimitiveTypeChecker('symbol'),\n\n any: createAnyTypeChecker(),\n arrayOf: createArrayOfTypeChecker,\n element: createElementTypeChecker(),\n elementType: createElementTypeTypeChecker(),\n instanceOf: createInstanceTypeChecker,\n node: createNodeChecker(),\n objectOf: createObjectOfTypeChecker,\n oneOf: createEnumTypeChecker,\n oneOfType: createUnionTypeChecker,\n shape: createShapeTypeChecker,\n exact: createStrictShapeTypeChecker,\n };\n\n /**\n * inlined Object.is polyfill to avoid requiring consumers ship their own\n * https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object/is\n */\n /*eslint-disable no-self-compare*/\n function is(x, y) {\n // SameValue algorithm\n if (x === y) {\n // Steps 1-5, 7-10\n // Steps 6.b-6.e: +0 != -0\n return x !== 0 || 1 / x === 1 / y;\n } else {\n // Step 6.a: NaN == NaN\n return x !== x && y !== y;\n }\n }\n /*eslint-enable no-self-compare*/\n\n /**\n * We use an Error-like object for backward compatibility as people may call\n * PropTypes directly and inspect their output. However, we don't use real\n * Errors anymore. We don't inspect their stack anyway, and creating them\n * is prohibitively expensive if they are created too often, such as what\n * happens in oneOfType() for any type before the one that matched.\n */\n function PropTypeError(message, data) {\n this.message = message;\n this.data = data && typeof data === 'object' ? data: {};\n this.stack = '';\n }\n // Make `instanceof Error` still work for returned errors.\n PropTypeError.prototype = Error.prototype;\n\n function createChainableTypeChecker(validate) {\n if (process.env.NODE_ENV !== 'production') {\n var manualPropTypeCallCache = {};\n var manualPropTypeWarningCount = 0;\n }\n function checkType(isRequired, props, propName, componentName, location, propFullName, secret) {\n componentName = componentName || ANONYMOUS;\n propFullName = propFullName || propName;\n\n if (secret !== ReactPropTypesSecret) {\n if (throwOnDirectAccess) {\n // New behavior only for users of `prop-types` package\n var err = new Error(\n 'Calling PropTypes validators directly is not supported by the `prop-types` package. ' +\n 'Use `PropTypes.checkPropTypes()` to call them. ' +\n 'Read more at http://fb.me/use-check-prop-types'\n );\n err.name = 'Invariant Violation';\n throw err;\n } else if (process.env.NODE_ENV !== 'production' && typeof console !== 'undefined') {\n // Old behavior for people using React.PropTypes\n var cacheKey = componentName + ':' + propName;\n if (\n !manualPropTypeCallCache[cacheKey] &&\n // Avoid spamming the console because they are often not actionable except for lib authors\n manualPropTypeWarningCount < 3\n ) {\n printWarning(\n 'You are manually calling a React.PropTypes validation ' +\n 'function for the `' + propFullName + '` prop on `' + componentName + '`. This is deprecated ' +\n 'and will throw in the standalone `prop-types` package. ' +\n 'You may be seeing this warning due to a third-party PropTypes ' +\n 'library. See https://fb.me/react-warning-dont-call-proptypes ' + 'for details.'\n );\n manualPropTypeCallCache[cacheKey] = true;\n manualPropTypeWarningCount++;\n }\n }\n }\n if (props[propName] == null) {\n if (isRequired) {\n if (props[propName] === null) {\n return new PropTypeError('The ' + location + ' `' + propFullName + '` is marked as required ' + ('in `' + componentName + '`, but its value is `null`.'));\n }\n return new PropTypeError('The ' + location + ' `' + propFullName + '` is marked as required in ' + ('`' + componentName + '`, but its value is `undefined`.'));\n }\n return null;\n } else {\n return validate(props, propName, componentName, location, propFullName);\n }\n }\n\n var chainedCheckType = checkType.bind(null, false);\n chainedCheckType.isRequired = checkType.bind(null, true);\n\n return chainedCheckType;\n }\n\n function createPrimitiveTypeChecker(expectedType) {\n function validate(props, propName, componentName, location, propFullName, secret) {\n var propValue = props[propName];\n var propType = getPropType(propValue);\n if (propType !== expectedType) {\n // `propValue` being instance of, say, date/regexp, pass the 'object'\n // check, but we can offer a more precise error message here rather than\n // 'of type `object`'.\n var preciseType = getPreciseType(propValue);\n\n return new PropTypeError(\n 'Invalid ' + location + ' `' + propFullName + '` of type ' + ('`' + preciseType + '` supplied to `' + componentName + '`, expected ') + ('`' + expectedType + '`.'),\n {expectedType: expectedType}\n );\n }\n return null;\n }\n return createChainableTypeChecker(validate);\n }\n\n function createAnyTypeChecker() {\n return createChainableTypeChecker(emptyFunctionThatReturnsNull);\n }\n\n function createArrayOfTypeChecker(typeChecker) {\n function validate(props, propName, componentName, location, propFullName) {\n if (typeof typeChecker !== 'function') {\n return new PropTypeError('Property `' + propFullName + '` of component `' + componentName + '` has invalid PropType notation inside arrayOf.');\n }\n var propValue = props[propName];\n if (!Array.isArray(propValue)) {\n var propType = getPropType(propValue);\n return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` of type ' + ('`' + propType + '` supplied to `' + componentName + '`, expected an array.'));\n }\n for (var i = 0; i < propValue.length; i++) {\n var error = typeChecker(propValue, i, componentName, location, propFullName + '[' + i + ']', ReactPropTypesSecret);\n if (error instanceof Error) {\n return error;\n }\n }\n return null;\n }\n return createChainableTypeChecker(validate);\n }\n\n function createElementTypeChecker() {\n function validate(props, propName, componentName, location, propFullName) {\n var propValue = props[propName];\n if (!isValidElement(propValue)) {\n var propType = getPropType(propValue);\n return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` of type ' + ('`' + propType + '` supplied to `' + componentName + '`, expected a single ReactElement.'));\n }\n return null;\n }\n return createChainableTypeChecker(validate);\n }\n\n function createElementTypeTypeChecker() {\n function validate(props, propName, componentName, location, propFullName) {\n var propValue = props[propName];\n if (!ReactIs.isValidElementType(propValue)) {\n var propType = getPropType(propValue);\n return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` of type ' + ('`' + propType + '` supplied to `' + componentName + '`, expected a single ReactElement type.'));\n }\n return null;\n }\n return createChainableTypeChecker(validate);\n }\n\n function createInstanceTypeChecker(expectedClass) {\n function validate(props, propName, componentName, location, propFullName) {\n if (!(props[propName] instanceof expectedClass)) {\n var expectedClassName = expectedClass.name || ANONYMOUS;\n var actualClassName = getClassName(props[propName]);\n return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` of type ' + ('`' + actualClassName + '` supplied to `' + componentName + '`, expected ') + ('instance of `' + expectedClassName + '`.'));\n }\n return null;\n }\n return createChainableTypeChecker(validate);\n }\n\n function createEnumTypeChecker(expectedValues) {\n if (!Array.isArray(expectedValues)) {\n if (process.env.NODE_ENV !== 'production') {\n if (arguments.length > 1) {\n printWarning(\n 'Invalid arguments supplied to oneOf, expected an array, got ' + arguments.length + ' arguments. ' +\n 'A common mistake is to write oneOf(x, y, z) instead of oneOf([x, y, z]).'\n );\n } else {\n printWarning('Invalid argument supplied to oneOf, expected an array.');\n }\n }\n return emptyFunctionThatReturnsNull;\n }\n\n function validate(props, propName, componentName, location, propFullName) {\n var propValue = props[propName];\n for (var i = 0; i < expectedValues.length; i++) {\n if (is(propValue, expectedValues[i])) {\n return null;\n }\n }\n\n var valuesString = JSON.stringify(expectedValues, function replacer(key, value) {\n var type = getPreciseType(value);\n if (type === 'symbol') {\n return String(value);\n }\n return value;\n });\n return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` of value `' + String(propValue) + '` ' + ('supplied to `' + componentName + '`, expected one of ' + valuesString + '.'));\n }\n return createChainableTypeChecker(validate);\n }\n\n function createObjectOfTypeChecker(typeChecker) {\n function validate(props, propName, componentName, location, propFullName) {\n if (typeof typeChecker !== 'function') {\n return new PropTypeError('Property `' + propFullName + '` of component `' + componentName + '` has invalid PropType notation inside objectOf.');\n }\n var propValue = props[propName];\n var propType = getPropType(propValue);\n if (propType !== 'object') {\n return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` of type ' + ('`' + propType + '` supplied to `' + componentName + '`, expected an object.'));\n }\n for (var key in propValue) {\n if (has(propValue, key)) {\n var error = typeChecker(propValue, key, componentName, location, propFullName + '.' + key, ReactPropTypesSecret);\n if (error instanceof Error) {\n return error;\n }\n }\n }\n return null;\n }\n return createChainableTypeChecker(validate);\n }\n\n function createUnionTypeChecker(arrayOfTypeCheckers) {\n if (!Array.isArray(arrayOfTypeCheckers)) {\n process.env.NODE_ENV !== 'production' ? printWarning('Invalid argument supplied to oneOfType, expected an instance of array.') : void 0;\n return emptyFunctionThatReturnsNull;\n }\n\n for (var i = 0; i < arrayOfTypeCheckers.length; i++) {\n var checker = arrayOfTypeCheckers[i];\n if (typeof checker !== 'function') {\n printWarning(\n 'Invalid argument supplied to oneOfType. Expected an array of check functions, but ' +\n 'received ' + getPostfixForTypeWarning(checker) + ' at index ' + i + '.'\n );\n return emptyFunctionThatReturnsNull;\n }\n }\n\n function validate(props, propName, componentName, location, propFullName) {\n var expectedTypes = [];\n for (var i = 0; i < arrayOfTypeCheckers.length; i++) {\n var checker = arrayOfTypeCheckers[i];\n var checkerResult = checker(props, propName, componentName, location, propFullName, ReactPropTypesSecret);\n if (checkerResult == null) {\n return null;\n }\n if (checkerResult.data && has(checkerResult.data, 'expectedType')) {\n expectedTypes.push(checkerResult.data.expectedType);\n }\n }\n var expectedTypesMessage = (expectedTypes.length > 0) ? ', expected one of type [' + expectedTypes.join(', ') + ']': '';\n return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` supplied to ' + ('`' + componentName + '`' + expectedTypesMessage + '.'));\n }\n return createChainableTypeChecker(validate);\n }\n\n function createNodeChecker() {\n function validate(props, propName, componentName, location, propFullName) {\n if (!isNode(props[propName])) {\n return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` supplied to ' + ('`' + componentName + '`, expected a ReactNode.'));\n }\n return null;\n }\n return createChainableTypeChecker(validate);\n }\n\n function invalidValidatorError(componentName, location, propFullName, key, type) {\n return new PropTypeError(\n (componentName || 'React class') + ': ' + location + ' type `' + propFullName + '.' + key + '` is invalid; ' +\n 'it must be a function, usually from the `prop-types` package, but received `' + type + '`.'\n );\n }\n\n function createShapeTypeChecker(shapeTypes) {\n function validate(props, propName, componentName, location, propFullName) {\n var propValue = props[propName];\n var propType = getPropType(propValue);\n if (propType !== 'object') {\n return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` of type `' + propType + '` ' + ('supplied to `' + componentName + '`, expected `object`.'));\n }\n for (var key in shapeTypes) {\n var checker = shapeTypes[key];\n if (typeof checker !== 'function') {\n return invalidValidatorError(componentName, location, propFullName, key, getPreciseType(checker));\n }\n var error = checker(propValue, key, componentName, location, propFullName + '.' + key, ReactPropTypesSecret);\n if (error) {\n return error;\n }\n }\n return null;\n }\n return createChainableTypeChecker(validate);\n }\n\n function createStrictShapeTypeChecker(shapeTypes) {\n function validate(props, propName, componentName, location, propFullName) {\n var propValue = props[propName];\n var propType = getPropType(propValue);\n if (propType !== 'object') {\n return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` of type `' + propType + '` ' + ('supplied to `' + componentName + '`, expected `object`.'));\n }\n // We need to check all keys in case some are required but missing from props.\n var allKeys = assign({}, props[propName], shapeTypes);\n for (var key in allKeys) {\n var checker = shapeTypes[key];\n if (has(shapeTypes, key) && typeof checker !== 'function') {\n return invalidValidatorError(componentName, location, propFullName, key, getPreciseType(checker));\n }\n if (!checker) {\n return new PropTypeError(\n 'Invalid ' + location + ' `' + propFullName + '` key `' + key + '` supplied to `' + componentName + '`.' +\n '\\nBad object: ' + JSON.stringify(props[propName], null, ' ') +\n '\\nValid keys: ' + JSON.stringify(Object.keys(shapeTypes), null, ' ')\n );\n }\n var error = checker(propValue, key, componentName, location, propFullName + '.' + key, ReactPropTypesSecret);\n if (error) {\n return error;\n }\n }\n return null;\n }\n\n return createChainableTypeChecker(validate);\n }\n\n function isNode(propValue) {\n switch (typeof propValue) {\n case 'number':\n case 'string':\n case 'undefined':\n return true;\n case 'boolean':\n return !propValue;\n case 'object':\n if (Array.isArray(propValue)) {\n return propValue.every(isNode);\n }\n if (propValue === null || isValidElement(propValue)) {\n return true;\n }\n\n var iteratorFn = getIteratorFn(propValue);\n if (iteratorFn) {\n var iterator = iteratorFn.call(propValue);\n var step;\n if (iteratorFn !== propValue.entries) {\n while (!(step = iterator.next()).done) {\n if (!isNode(step.value)) {\n return false;\n }\n }\n } else {\n // Iterator will provide entry [k,v] tuples rather than values.\n while (!(step = iterator.next()).done) {\n var entry = step.value;\n if (entry) {\n if (!isNode(entry[1])) {\n return false;\n }\n }\n }\n }\n } else {\n return false;\n }\n\n return true;\n default:\n return false;\n }\n }\n\n function isSymbol(propType, propValue) {\n // Native Symbol.\n if (propType === 'symbol') {\n return true;\n }\n\n // falsy value can't be a Symbol\n if (!propValue) {\n return false;\n }\n\n // 19.4.3.5 Symbol.prototype[@@toStringTag] === 'Symbol'\n if (propValue['@@toStringTag'] === 'Symbol') {\n return true;\n }\n\n // Fallback for non-spec compliant Symbols which are polyfilled.\n if (typeof Symbol === 'function' && propValue instanceof Symbol) {\n return true;\n }\n\n return false;\n }\n\n // Equivalent of `typeof` but with special handling for array and regexp.\n function getPropType(propValue) {\n var propType = typeof propValue;\n if (Array.isArray(propValue)) {\n return 'array';\n }\n if (propValue instanceof RegExp) {\n // Old webkits (at least until Android 4.0) return 'function' rather than\n // 'object' for typeof a RegExp. We'll normalize this here so that /bla/\n // passes PropTypes.object.\n return 'object';\n }\n if (isSymbol(propType, propValue)) {\n return 'symbol';\n }\n return propType;\n }\n\n // This handles more types than `getPropType`. Only used for error messages.\n // See `createPrimitiveTypeChecker`.\n function getPreciseType(propValue) {\n if (typeof propValue === 'undefined' || propValue === null) {\n return '' + propValue;\n }\n var propType = getPropType(propValue);\n if (propType === 'object') {\n if (propValue instanceof Date) {\n return 'date';\n } else if (propValue instanceof RegExp) {\n return 'regexp';\n }\n }\n return propType;\n }\n\n // Returns a string that is postfixed to a warning about an invalid type.\n // For example, \"undefined\" or \"of type array\"\n function getPostfixForTypeWarning(value) {\n var type = getPreciseType(value);\n switch (type) {\n case 'array':\n case 'object':\n return 'an ' + type;\n case 'boolean':\n case 'date':\n case 'regexp':\n return 'a ' + type;\n default:\n return type;\n }\n }\n\n // Returns class name of the object, if any.\n function getClassName(propValue) {\n if (!propValue.constructor || !propValue.constructor.name) {\n return ANONYMOUS;\n }\n return propValue.constructor.name;\n }\n\n ReactPropTypes.checkPropTypes = checkPropTypes;\n ReactPropTypes.resetWarningCache = checkPropTypes.resetWarningCache;\n ReactPropTypes.PropTypes = ReactPropTypes;\n\n return ReactPropTypes;\n};\n","/**\n * Copyright (c) 2013-present, Facebook, Inc.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\n'use strict';\n\nvar printWarning = function() {};\n\nif (process.env.NODE_ENV !== 'production') {\n var ReactPropTypesSecret = require('./lib/ReactPropTypesSecret');\n var loggedTypeFailures = {};\n var has = require('./lib/has');\n\n printWarning = function(text) {\n var message = 'Warning: ' + text;\n if (typeof console !== 'undefined') {\n console.error(message);\n }\n try {\n // --- Welcome to debugging React ---\n // This error was thrown as a convenience so that you can use this stack\n // to find the callsite that caused this warning to fire.\n throw new Error(message);\n } catch (x) { /**/ }\n };\n}\n\n/**\n * Assert that the values match with the type specs.\n * Error messages are memorized and will only be shown once.\n *\n * @param {object} typeSpecs Map of name to a ReactPropType\n * @param {object} values Runtime values that need to be type-checked\n * @param {string} location e.g. \"prop\", \"context\", \"child context\"\n * @param {string} componentName Name of the component for error messages.\n * @param {?Function} getStack Returns the component stack.\n * @private\n */\nfunction checkPropTypes(typeSpecs, values, location, componentName, getStack) {\n if (process.env.NODE_ENV !== 'production') {\n for (var typeSpecName in typeSpecs) {\n if (has(typeSpecs, typeSpecName)) {\n var error;\n // Prop type validation may throw. In case they do, we don't want to\n // fail the render phase where it didn't fail before. So we log it.\n // After these have been cleaned up, we'll let them throw.\n try {\n // This is intentionally an invariant that gets caught. It's the same\n // behavior as without this statement except with a better message.\n if (typeof typeSpecs[typeSpecName] !== 'function') {\n var err = Error(\n (componentName || 'React class') + ': ' + location + ' type `' + typeSpecName + '` is invalid; ' +\n 'it must be a function, usually from the `prop-types` package, but received `' + typeof typeSpecs[typeSpecName] + '`.' +\n 'This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.'\n );\n err.name = 'Invariant Violation';\n throw err;\n }\n error = typeSpecs[typeSpecName](values, typeSpecName, componentName, location, null, ReactPropTypesSecret);\n } catch (ex) {\n error = ex;\n }\n if (error && !(error instanceof Error)) {\n printWarning(\n (componentName || 'React class') + ': type specification of ' +\n location + ' `' + typeSpecName + '` is invalid; the type checker ' +\n 'function must return `null` or an `Error` but returned a ' + typeof error + '. ' +\n 'You may have forgotten to pass an argument to the type checker ' +\n 'creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and ' +\n 'shape all require an argument).'\n );\n }\n if (error instanceof Error && !(error.message in loggedTypeFailures)) {\n // Only monitor this failure once because there tends to be a lot of the\n // same error.\n loggedTypeFailures[error.message] = true;\n\n var stack = getStack ? getStack() : '';\n\n printWarning(\n 'Failed ' + location + ' type: ' + error.message + (stack != null ? stack : '')\n );\n }\n }\n }\n }\n}\n\n/**\n * Resets warning cache when testing.\n *\n * @private\n */\ncheckPropTypes.resetWarningCache = function() {\n if (process.env.NODE_ENV !== 'production') {\n loggedTypeFailures = {};\n }\n}\n\nmodule.exports = checkPropTypes;\n","/**\n * Copyright (c) 2013-present, Facebook, Inc.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\nif (process.env.NODE_ENV !== 'production') {\n var ReactIs = require('react-is');\n\n // By explicitly using `prop-types` you are opting into new development behavior.\n // http://fb.me/prop-types-in-prod\n var throwOnDirectAccess = true;\n module.exports = require('./factoryWithTypeCheckers')(ReactIs.isElement, throwOnDirectAccess);\n} else {\n // By explicitly using `prop-types` you are opting into new production behavior.\n // http://fb.me/prop-types-in-prod\n module.exports = require('./factoryWithThrowingShims')();\n}\n","/**\n * Copyright (c) 2013-present, Facebook, Inc.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\n'use strict';\n\nvar ReactPropTypesSecret = require('./lib/ReactPropTypesSecret');\n\nfunction emptyFunction() {}\nfunction emptyFunctionWithReset() {}\nemptyFunctionWithReset.resetWarningCache = emptyFunction;\n\nmodule.exports = function() {\n function shim(props, propName, componentName, location, propFullName, secret) {\n if (secret === ReactPropTypesSecret) {\n // It is still safe when called from React.\n return;\n }\n var err = new Error(\n 'Calling PropTypes validators directly is not supported by the `prop-types` package. ' +\n 'Use PropTypes.checkPropTypes() to call them. ' +\n 'Read more at http://fb.me/use-check-prop-types'\n );\n err.name = 'Invariant Violation';\n throw err;\n };\n shim.isRequired = shim;\n function getShim() {\n return shim;\n };\n // Important!\n // Keep this list in sync with production version in `./factoryWithTypeCheckers.js`.\n var ReactPropTypes = {\n array: shim,\n bigint: shim,\n bool: shim,\n func: shim,\n number: shim,\n object: shim,\n string: shim,\n symbol: shim,\n\n any: shim,\n arrayOf: getShim,\n element: shim,\n elementType: shim,\n instanceOf: getShim,\n node: shim,\n objectOf: getShim,\n oneOf: getShim,\n oneOfType: getShim,\n shape: getShim,\n exact: getShim,\n\n checkPropTypes: emptyFunctionWithReset,\n resetWarningCache: emptyFunction\n };\n\n ReactPropTypes.PropTypes = ReactPropTypes;\n\n return ReactPropTypes;\n};\n","function r(e){var t,f,n=\"\";if(\"string\"==typeof e||\"number\"==typeof e)n+=e;else if(\"object\"==typeof e)if(Array.isArray(e))for(t=0;t 0 && arguments[0] !== undefined ? arguments[0] : true;\n var cachedIndices = {};\n return function (_ref) {\n var callback = _ref.callback,\n indices = _ref.indices;\n var keys = Object.keys(indices);\n var allInitialized = !requireAllKeys || keys.every(function (key) {\n var value = indices[key];\n return Array.isArray(value) ? value.length > 0 : value >= 0;\n });\n var indexChanged = keys.length !== Object.keys(cachedIndices).length || keys.some(function (key) {\n var cachedValue = cachedIndices[key];\n var value = indices[key];\n return Array.isArray(value) ? cachedValue.join(',') !== value.join(',') : cachedValue !== value;\n });\n cachedIndices = indices;\n if (allInitialized && indexChanged) {\n callback(indices);\n }\n };\n}","export default !!(typeof window !== 'undefined' && window.document && window.document.createElement);","import canUseDOM from './canUseDOM';\nvar size;\nexport default function scrollbarSize(recalc) {\n if (!size && size !== 0 || recalc) {\n if (canUseDOM) {\n var scrollDiv = document.createElement('div');\n scrollDiv.style.position = 'absolute';\n scrollDiv.style.top = '-9999px';\n scrollDiv.style.width = '50px';\n scrollDiv.style.height = '50px';\n scrollDiv.style.overflow = 'scroll';\n document.body.appendChild(scrollDiv);\n size = scrollDiv.offsetWidth - scrollDiv.clientWidth;\n document.body.removeChild(scrollDiv);\n }\n }\n\n return size;\n}","import _classCallCheck from \"@babel/runtime/helpers/classCallCheck\";\nimport _createClass from \"@babel/runtime/helpers/createClass\";\nimport _possibleConstructorReturn from \"@babel/runtime/helpers/possibleConstructorReturn\";\nimport _getPrototypeOf from \"@babel/runtime/helpers/getPrototypeOf\";\nimport _inherits from \"@babel/runtime/helpers/inherits\";\nimport _defineProperty from \"@babel/runtime/helpers/defineProperty\";\nfunction ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }\nfunction _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }\nfunction _callSuper(t, o, e) { return o = _getPrototypeOf(o), _possibleConstructorReturn(t, _isNativeReflectConstruct() ? Reflect.construct(o, e || [], _getPrototypeOf(t).constructor) : o.apply(t, e)); }\nfunction _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); } catch (t) {} return (_isNativeReflectConstruct = function _isNativeReflectConstruct() { return !!t; })(); }\nimport clsx from 'clsx';\nimport PropTypes from 'prop-types';\nimport * as React from 'react';\nimport { polyfill } from 'react-lifecycles-compat';\nimport createCallbackMemoizer from '../utils/createCallbackMemoizer';\nimport getScrollbarSize from 'dom-helpers/scrollbarSize';\n\n// @TODO Merge Collection and CollectionView\n\n/**\n * Specifies the number of milliseconds during which to disable pointer events while a scroll is in progress.\n * This improves performance and makes scrolling smoother.\n */\nvar IS_SCROLLING_TIMEOUT = 150;\n\n/**\n * Controls whether the Grid updates the DOM element's scrollLeft/scrollTop based on the current state or just observes it.\n * This prevents Grid from interrupting mouse-wheel animations (see issue #2).\n */\nvar SCROLL_POSITION_CHANGE_REASONS = {\n OBSERVED: 'observed',\n REQUESTED: 'requested'\n};\n\n/**\n * Monitors changes in properties (eg. cellCount) and state (eg. scroll offsets) to determine when rendering needs to occur.\n * This component does not render any visible content itself; it defers to the specified :cellLayoutManager.\n */\nvar CollectionView = /*#__PURE__*/function (_React$PureComponent) {\n function CollectionView() {\n var _this;\n _classCallCheck(this, CollectionView);\n for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {\n args[_key] = arguments[_key];\n }\n _this = _callSuper(this, CollectionView, [].concat(args));\n\n // If this component is being rendered server-side, getScrollbarSize() will return undefined.\n // We handle this case in componentDidMount()\n _defineProperty(_this, \"state\", {\n isScrolling: false,\n scrollLeft: 0,\n scrollTop: 0\n });\n _defineProperty(_this, \"_calculateSizeAndPositionDataOnNextUpdate\", false);\n // Invokes callbacks only when their values have changed.\n _defineProperty(_this, \"_onSectionRenderedMemoizer\", createCallbackMemoizer());\n _defineProperty(_this, \"_onScrollMemoizer\", createCallbackMemoizer(false));\n _defineProperty(_this, \"_invokeOnSectionRenderedHelper\", function () {\n var _this$props = _this.props,\n cellLayoutManager = _this$props.cellLayoutManager,\n onSectionRendered = _this$props.onSectionRendered;\n _this._onSectionRenderedMemoizer({\n callback: onSectionRendered,\n indices: {\n indices: cellLayoutManager.getLastRenderedIndices()\n }\n });\n });\n _defineProperty(_this, \"_setScrollingContainerRef\", function (ref) {\n _this._scrollingContainer = ref;\n });\n _defineProperty(_this, \"_updateScrollPositionForScrollToCell\", function () {\n var _this$props2 = _this.props,\n cellLayoutManager = _this$props2.cellLayoutManager,\n height = _this$props2.height,\n scrollToAlignment = _this$props2.scrollToAlignment,\n scrollToCell = _this$props2.scrollToCell,\n width = _this$props2.width;\n var _this$state = _this.state,\n scrollLeft = _this$state.scrollLeft,\n scrollTop = _this$state.scrollTop;\n if (scrollToCell >= 0) {\n var scrollPosition = cellLayoutManager.getScrollPositionForCell({\n align: scrollToAlignment,\n cellIndex: scrollToCell,\n height: height,\n scrollLeft: scrollLeft,\n scrollTop: scrollTop,\n width: width\n });\n if (scrollPosition.scrollLeft !== scrollLeft || scrollPosition.scrollTop !== scrollTop) {\n _this._setScrollPosition(scrollPosition);\n }\n }\n });\n _defineProperty(_this, \"_onScroll\", function (event) {\n // In certain edge-cases React dispatches an onScroll event with an invalid target.scrollLeft / target.scrollTop.\n // This invalid event can be detected by comparing event.target to this component's scrollable DOM element.\n // See issue #404 for more information.\n if (event.target !== _this._scrollingContainer) {\n return;\n }\n\n // Prevent pointer events from interrupting a smooth scroll\n _this._enablePointerEventsAfterDelay();\n\n // When this component is shrunk drastically, React dispatches a series of back-to-back scroll events,\n // Gradually converging on a scrollTop that is within the bounds of the new, smaller height.\n // This causes a series of rapid renders that is slow for long lists.\n // We can avoid that by doing some simple bounds checking to ensure that scrollTop never exceeds the total height.\n var _this$props3 = _this.props,\n cellLayoutManager = _this$props3.cellLayoutManager,\n height = _this$props3.height,\n isScrollingChange = _this$props3.isScrollingChange,\n width = _this$props3.width;\n var scrollbarSize = _this._scrollbarSize;\n var _cellLayoutManager$ge = cellLayoutManager.getTotalSize(),\n totalHeight = _cellLayoutManager$ge.height,\n totalWidth = _cellLayoutManager$ge.width;\n var scrollLeft = Math.max(0, Math.min(totalWidth - width + scrollbarSize, event.target.scrollLeft));\n var scrollTop = Math.max(0, Math.min(totalHeight - height + scrollbarSize, event.target.scrollTop));\n\n // Certain devices (like Apple touchpad) rapid-fire duplicate events.\n // Don't force a re-render if this is the case.\n // The mouse may move faster then the animation frame does.\n // Use requestAnimationFrame to avoid over-updating.\n if (_this.state.scrollLeft !== scrollLeft || _this.state.scrollTop !== scrollTop) {\n // Browsers with cancelable scroll events (eg. Firefox) interrupt scrolling animations if scrollTop/scrollLeft is set.\n // Other browsers (eg. Safari) don't scroll as well without the help under certain conditions (DOM or style changes during scrolling).\n // All things considered, this seems to be the best current work around that I'm aware of.\n // For more information see https://github.com/bvaughn/react-virtualized/pull/124\n var scrollPositionChangeReason = event.cancelable ? SCROLL_POSITION_CHANGE_REASONS.OBSERVED : SCROLL_POSITION_CHANGE_REASONS.REQUESTED;\n\n // Synchronously set :isScrolling the first time (since _setNextState will reschedule its animation frame each time it's called)\n if (!_this.state.isScrolling) {\n isScrollingChange(true);\n }\n _this.setState({\n isScrolling: true,\n scrollLeft: scrollLeft,\n scrollPositionChangeReason: scrollPositionChangeReason,\n scrollTop: scrollTop\n });\n }\n _this._invokeOnScrollMemoizer({\n scrollLeft: scrollLeft,\n scrollTop: scrollTop,\n totalWidth: totalWidth,\n totalHeight: totalHeight\n });\n });\n _this._scrollbarSize = getScrollbarSize();\n if (_this._scrollbarSize === undefined) {\n _this._scrollbarSizeMeasured = false;\n _this._scrollbarSize = 0;\n } else {\n _this._scrollbarSizeMeasured = true;\n }\n return _this;\n }\n\n /**\n * Forced recompute of cell sizes and positions.\n * This function should be called if cell sizes have changed but nothing else has.\n * Since cell positions are calculated by callbacks, the collection view has no way of detecting when the underlying data has changed.\n */\n _inherits(CollectionView, _React$PureComponent);\n return _createClass(CollectionView, [{\n key: \"recomputeCellSizesAndPositions\",\n value: function recomputeCellSizesAndPositions() {\n this._calculateSizeAndPositionDataOnNextUpdate = true;\n this.forceUpdate();\n }\n\n /* ---------------------------- Component lifecycle methods ---------------------------- */\n\n /**\n * @private\n * This method updates scrollLeft/scrollTop in state for the following conditions:\n * 1) Empty content (0 rows or columns)\n * 2) New scroll props overriding the current state\n * 3) Cells-count or cells-size has changed, making previous scroll offsets invalid\n */\n }, {\n key: \"componentDidMount\",\n value: function componentDidMount() {\n var _this$props4 = this.props,\n cellLayoutManager = _this$props4.cellLayoutManager,\n scrollLeft = _this$props4.scrollLeft,\n scrollToCell = _this$props4.scrollToCell,\n scrollTop = _this$props4.scrollTop;\n\n // If this component was first rendered server-side, scrollbar size will be undefined.\n // In that event we need to remeasure.\n if (!this._scrollbarSizeMeasured) {\n this._scrollbarSize = getScrollbarSize();\n this._scrollbarSizeMeasured = true;\n this.setState({});\n }\n if (scrollToCell >= 0) {\n this._updateScrollPositionForScrollToCell();\n } else if (scrollLeft >= 0 || scrollTop >= 0) {\n this._setScrollPosition({\n scrollLeft: scrollLeft,\n scrollTop: scrollTop\n });\n }\n\n // Update onSectionRendered callback.\n this._invokeOnSectionRenderedHelper();\n var _cellLayoutManager$ge2 = cellLayoutManager.getTotalSize(),\n totalHeight = _cellLayoutManager$ge2.height,\n totalWidth = _cellLayoutManager$ge2.width;\n\n // Initialize onScroll callback.\n this._invokeOnScrollMemoizer({\n scrollLeft: scrollLeft || 0,\n scrollTop: scrollTop || 0,\n totalHeight: totalHeight,\n totalWidth: totalWidth\n });\n }\n }, {\n key: \"componentDidUpdate\",\n value: function componentDidUpdate(prevProps, prevState) {\n var _this$props5 = this.props,\n height = _this$props5.height,\n scrollToAlignment = _this$props5.scrollToAlignment,\n scrollToCell = _this$props5.scrollToCell,\n width = _this$props5.width;\n var _this$state2 = this.state,\n scrollLeft = _this$state2.scrollLeft,\n scrollPositionChangeReason = _this$state2.scrollPositionChangeReason,\n scrollTop = _this$state2.scrollTop;\n\n // Make sure requested changes to :scrollLeft or :scrollTop get applied.\n // Assigning to scrollLeft/scrollTop tells the browser to interrupt any running scroll animations,\n // And to discard any pending async changes to the scroll position that may have happened in the meantime (e.g. on a separate scrolling thread).\n // So we only set these when we require an adjustment of the scroll position.\n // See issue #2 for more information.\n if (scrollPositionChangeReason === SCROLL_POSITION_CHANGE_REASONS.REQUESTED) {\n if (scrollLeft >= 0 && scrollLeft !== prevState.scrollLeft && scrollLeft !== this._scrollingContainer.scrollLeft) {\n this._scrollingContainer.scrollLeft = scrollLeft;\n }\n if (scrollTop >= 0 && scrollTop !== prevState.scrollTop && scrollTop !== this._scrollingContainer.scrollTop) {\n this._scrollingContainer.scrollTop = scrollTop;\n }\n }\n\n // Update scroll offsets if the current :scrollToCell values requires it\n if (height !== prevProps.height || scrollToAlignment !== prevProps.scrollToAlignment || scrollToCell !== prevProps.scrollToCell || width !== prevProps.width) {\n this._updateScrollPositionForScrollToCell();\n }\n\n // Update onRowsRendered callback if start/stop indices have changed\n this._invokeOnSectionRenderedHelper();\n }\n }, {\n key: \"componentWillUnmount\",\n value: function componentWillUnmount() {\n if (this._disablePointerEventsTimeoutId) {\n clearTimeout(this._disablePointerEventsTimeoutId);\n }\n }\n }, {\n key: \"render\",\n value: function render() {\n var _this$props6 = this.props,\n autoHeight = _this$props6.autoHeight,\n cellCount = _this$props6.cellCount,\n cellLayoutManager = _this$props6.cellLayoutManager,\n className = _this$props6.className,\n height = _this$props6.height,\n horizontalOverscanSize = _this$props6.horizontalOverscanSize,\n id = _this$props6.id,\n noContentRenderer = _this$props6.noContentRenderer,\n style = _this$props6.style,\n verticalOverscanSize = _this$props6.verticalOverscanSize,\n width = _this$props6.width;\n var _this$state3 = this.state,\n isScrolling = _this$state3.isScrolling,\n scrollLeft = _this$state3.scrollLeft,\n scrollTop = _this$state3.scrollTop;\n\n // Memoization reset\n if (this._lastRenderedCellCount !== cellCount || this._lastRenderedCellLayoutManager !== cellLayoutManager || this._calculateSizeAndPositionDataOnNextUpdate) {\n this._lastRenderedCellCount = cellCount;\n this._lastRenderedCellLayoutManager = cellLayoutManager;\n this._calculateSizeAndPositionDataOnNextUpdate = false;\n cellLayoutManager.calculateSizeAndPositionData();\n }\n var _cellLayoutManager$ge3 = cellLayoutManager.getTotalSize(),\n totalHeight = _cellLayoutManager$ge3.height,\n totalWidth = _cellLayoutManager$ge3.width;\n\n // Safely expand the rendered area by the specified overscan amount\n var left = Math.max(0, scrollLeft - horizontalOverscanSize);\n var top = Math.max(0, scrollTop - verticalOverscanSize);\n var right = Math.min(totalWidth, scrollLeft + width + horizontalOverscanSize);\n var bottom = Math.min(totalHeight, scrollTop + height + verticalOverscanSize);\n var childrenToDisplay = height > 0 && width > 0 ? cellLayoutManager.cellRenderers({\n height: bottom - top,\n isScrolling: isScrolling,\n width: right - left,\n x: left,\n y: top\n }) : [];\n var collectionStyle = {\n boxSizing: 'border-box',\n direction: 'ltr',\n height: autoHeight ? 'auto' : height,\n position: 'relative',\n WebkitOverflowScrolling: 'touch',\n width: width,\n willChange: 'transform'\n };\n\n // Force browser to hide scrollbars when we know they aren't necessary.\n // Otherwise once scrollbars appear they may not disappear again.\n // For more info see issue #116\n var verticalScrollBarSize = totalHeight > height ? this._scrollbarSize : 0;\n var horizontalScrollBarSize = totalWidth > width ? this._scrollbarSize : 0;\n\n // Also explicitly init styles to 'auto' if scrollbars are required.\n // This works around an obscure edge case where external CSS styles have not yet been loaded,\n // But an initial scroll index of offset is set as an external prop.\n // Without this style, Grid would render the correct range of cells but would NOT update its internal offset.\n // This was originally reported via clauderic/react-infinite-calendar/issues/23\n collectionStyle.overflowX = totalWidth + verticalScrollBarSize <= width ? 'hidden' : 'auto';\n collectionStyle.overflowY = totalHeight + horizontalScrollBarSize <= height ? 'hidden' : 'auto';\n return /*#__PURE__*/React.createElement(\"div\", {\n ref: this._setScrollingContainerRef,\n \"aria-label\": this.props['aria-label'],\n className: clsx('ReactVirtualized__Collection', className),\n id: id,\n onScroll: this._onScroll,\n role: \"grid\",\n style: _objectSpread(_objectSpread({}, collectionStyle), style),\n tabIndex: 0\n }, cellCount > 0 && /*#__PURE__*/React.createElement(\"div\", {\n className: \"ReactVirtualized__Collection__innerScrollContainer\",\n style: {\n height: totalHeight,\n maxHeight: totalHeight,\n maxWidth: totalWidth,\n overflow: 'hidden',\n pointerEvents: isScrolling ? 'none' : '',\n width: totalWidth\n }\n }, childrenToDisplay), cellCount === 0 && noContentRenderer());\n }\n\n /* ---------------------------- Helper methods ---------------------------- */\n\n /**\n * Sets an :isScrolling flag for a small window of time.\n * This flag is used to disable pointer events on the scrollable portion of the Collection.\n * This prevents jerky/stuttery mouse-wheel scrolling.\n */\n }, {\n key: \"_enablePointerEventsAfterDelay\",\n value: function _enablePointerEventsAfterDelay() {\n var _this2 = this;\n if (this._disablePointerEventsTimeoutId) {\n clearTimeout(this._disablePointerEventsTimeoutId);\n }\n this._disablePointerEventsTimeoutId = setTimeout(function () {\n var isScrollingChange = _this2.props.isScrollingChange;\n isScrollingChange(false);\n _this2._disablePointerEventsTimeoutId = null;\n _this2.setState({\n isScrolling: false\n });\n }, IS_SCROLLING_TIMEOUT);\n }\n }, {\n key: \"_invokeOnScrollMemoizer\",\n value: function _invokeOnScrollMemoizer(_ref) {\n var _this3 = this;\n var scrollLeft = _ref.scrollLeft,\n scrollTop = _ref.scrollTop,\n totalHeight = _ref.totalHeight,\n totalWidth = _ref.totalWidth;\n this._onScrollMemoizer({\n callback: function callback(_ref2) {\n var scrollLeft = _ref2.scrollLeft,\n scrollTop = _ref2.scrollTop;\n var _this3$props = _this3.props,\n height = _this3$props.height,\n onScroll = _this3$props.onScroll,\n width = _this3$props.width;\n onScroll({\n clientHeight: height,\n clientWidth: width,\n scrollHeight: totalHeight,\n scrollLeft: scrollLeft,\n scrollTop: scrollTop,\n scrollWidth: totalWidth\n });\n },\n indices: {\n scrollLeft: scrollLeft,\n scrollTop: scrollTop\n }\n });\n }\n }, {\n key: \"_setScrollPosition\",\n value: function _setScrollPosition(_ref3) {\n var scrollLeft = _ref3.scrollLeft,\n scrollTop = _ref3.scrollTop;\n var newState = {\n scrollPositionChangeReason: SCROLL_POSITION_CHANGE_REASONS.REQUESTED\n };\n if (scrollLeft >= 0) {\n newState.scrollLeft = scrollLeft;\n }\n if (scrollTop >= 0) {\n newState.scrollTop = scrollTop;\n }\n if (scrollLeft >= 0 && scrollLeft !== this.state.scrollLeft || scrollTop >= 0 && scrollTop !== this.state.scrollTop) {\n this.setState(newState);\n }\n }\n }], [{\n key: \"getDerivedStateFromProps\",\n value: function getDerivedStateFromProps(nextProps, prevState) {\n if (nextProps.cellCount === 0 && (prevState.scrollLeft !== 0 || prevState.scrollTop !== 0)) {\n return {\n scrollLeft: 0,\n scrollTop: 0,\n scrollPositionChangeReason: SCROLL_POSITION_CHANGE_REASONS.REQUESTED\n };\n } else if (nextProps.scrollLeft !== prevState.scrollLeft || nextProps.scrollTop !== prevState.scrollTop) {\n return {\n scrollLeft: nextProps.scrollLeft != null ? nextProps.scrollLeft : prevState.scrollLeft,\n scrollTop: nextProps.scrollTop != null ? nextProps.scrollTop : prevState.scrollTop,\n scrollPositionChangeReason: SCROLL_POSITION_CHANGE_REASONS.REQUESTED\n };\n }\n return null;\n }\n }]);\n}(React.PureComponent);\n_defineProperty(CollectionView, \"defaultProps\", {\n 'aria-label': 'grid',\n horizontalOverscanSize: 0,\n noContentRenderer: function noContentRenderer() {\n return null;\n },\n onScroll: function onScroll() {\n return null;\n },\n onSectionRendered: function onSectionRendered() {\n return null;\n },\n scrollToAlignment: 'auto',\n scrollToCell: -1,\n style: {},\n verticalOverscanSize: 0\n});\nCollectionView.propTypes = process.env.NODE_ENV !== \"production\" ? {\n 'aria-label': PropTypes.string,\n /**\n * Removes fixed height from the scrollingContainer so that the total height\n * of rows can stretch the window. Intended for use with WindowScroller\n */\n autoHeight: PropTypes.bool,\n /**\n * Number of cells in collection.\n */\n cellCount: PropTypes.number.isRequired,\n /**\n * Calculates cell sizes and positions and manages rendering the appropriate cells given a specified window.\n */\n cellLayoutManager: PropTypes.object.isRequired,\n /**\n * Optional custom CSS class name to attach to root Collection element.\n */\n className: PropTypes.string,\n /**\n * Height of Collection; this property determines the number of visible (vs virtualized) rows.\n */\n height: PropTypes.number.isRequired,\n /**\n * Optional custom id to attach to root Collection element.\n */\n id: PropTypes.string,\n /**\n * Enables the `Collection` to horiontally \"overscan\" its content similar to how `Grid` does.\n * This can reduce flicker around the edges when a user scrolls quickly.\n */\n horizontalOverscanSize: PropTypes.number.isRequired,\n isScrollingChange: PropTypes.func,\n /**\n * Optional renderer to be used in place of rows when either :rowCount or :cellCount is 0.\n */\n noContentRenderer: PropTypes.func.isRequired,\n /**\n * Callback invoked whenever the scroll offset changes within the inner scrollable region.\n * This callback can be used to sync scrolling between lists, tables, or grids.\n * ({ clientHeight, clientWidth, scrollHeight, scrollLeft, scrollTop, scrollWidth }): void\n */\n onScroll: PropTypes.func.isRequired,\n /**\n * Callback invoked with information about the section of the Collection that was just rendered.\n * This callback is passed a named :indices parameter which is an Array of the most recently rendered section indices.\n */\n onSectionRendered: PropTypes.func.isRequired,\n /**\n * Horizontal offset.\n */\n scrollLeft: PropTypes.number,\n /**\n * Controls scroll-to-cell behavior of the Grid.\n * The default (\"auto\") scrolls the least amount possible to ensure that the specified cell is fully visible.\n * Use \"start\" to align cells to the top/left of the Grid and \"end\" to align bottom/right.\n */\n scrollToAlignment: PropTypes.oneOf(['auto', 'end', 'start', 'center']).isRequired,\n /**\n * Cell index to ensure visible (by forcefully scrolling if necessary).\n */\n scrollToCell: PropTypes.number.isRequired,\n /**\n * Vertical offset.\n */\n scrollTop: PropTypes.number,\n /**\n * Optional custom inline style to attach to root Collection element.\n */\n style: PropTypes.object,\n /**\n * Enables the `Collection` to vertically \"overscan\" its content similar to how `Grid` does.\n * This can reduce flicker around the edges when a user scrolls quickly.\n */\n verticalOverscanSize: PropTypes.number.isRequired,\n /**\n * Width of Collection; this property determines the number of visible (vs virtualized) columns.\n */\n width: PropTypes.number.isRequired\n} : {};\npolyfill(CollectionView);\nexport default CollectionView;","import _classCallCheck from \"@babel/runtime/helpers/classCallCheck\";\nimport _createClass from \"@babel/runtime/helpers/createClass\";\n/*:: import type {Index, SizeAndPositionInfo} from './types';*/\n/**\n * A section of the Window.\n * Window Sections are used to group nearby cells.\n * This enables us to more quickly determine which cells to display in a given region of the Window.\n * Sections have a fixed size and contain 0 to many cells (tracked by their indices).\n */\nvar Section = /*#__PURE__*/function () {\n function Section(_ref /*:: */) {\n var height = _ref /*:: */.height,\n width = _ref /*:: */.width,\n x = _ref /*:: */.x,\n y = _ref /*:: */.y;\n _classCallCheck(this, Section);\n this.height = height;\n this.width = width;\n this.x = x;\n this.y = y;\n this._indexMap = {};\n this._indices = [];\n }\n\n /** Add a cell to this section. */\n return _createClass(Section, [{\n key: \"addCellIndex\",\n value: function addCellIndex(_ref2 /*:: */) {\n var index = _ref2 /*:: */.index;\n if (!this._indexMap[index]) {\n this._indexMap[index] = true;\n this._indices.push(index);\n }\n }\n\n /** Get all cell indices that have been added to this section. */\n }, {\n key: \"getCellIndices\",\n value: function getCellIndices() /*: Array*/{\n return this._indices;\n }\n\n /** Intended for debugger/test purposes only */\n }, {\n key: \"toString\",\n value: function toString() {\n return \"\".concat(this.x, \",\").concat(this.y, \" \").concat(this.width, \"x\").concat(this.height);\n }\n }]);\n}();\nexport { Section as default };","import _classCallCheck from \"@babel/runtime/helpers/classCallCheck\";\nimport _createClass from \"@babel/runtime/helpers/createClass\";\n/**\n * Window Sections are used to group nearby cells.\n * This enables us to more quickly determine which cells to display in a given region of the Window.\n * \n */\nimport Section from './Section';\n/*:: import type {Index, SizeAndPositionInfo} from './types';*/\nvar SECTION_SIZE = 100;\n/*:: type RegisterCellParams = {\n cellMetadatum: SizeAndPositionInfo,\n index: number,\n};*/\n/**\n * Contains 0 to many Sections.\n * Grows (and adds Sections) dynamically as cells are registered.\n * Automatically adds cells to the appropriate Section(s).\n */\nvar SectionManager = /*#__PURE__*/function () {\n function SectionManager() {\n var sectionSize = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : SECTION_SIZE;\n _classCallCheck(this, SectionManager);\n this._sectionSize = sectionSize;\n this._cellMetadata = [];\n this._sections = {};\n }\n\n /**\n * Gets all cell indices contained in the specified region.\n * A region may encompass 1 or more Sections.\n */\n return _createClass(SectionManager, [{\n key: \"getCellIndices\",\n value: function getCellIndices(_ref /*:: */) /*: Array*/{\n var height = _ref /*:: */.height,\n width = _ref /*:: */.width,\n x = _ref /*:: */.x,\n y = _ref /*:: */.y;\n var indices = {};\n this.getSections({\n height: height,\n width: width,\n x: x,\n y: y\n }).forEach(function (section) {\n return section.getCellIndices().forEach(function (index) {\n indices[index] = index;\n });\n });\n\n // Object keys are strings; this function returns numbers\n return Object.keys(indices).map(function (index) {\n return indices[index];\n });\n }\n\n /** Get size and position information for the cell specified. */\n }, {\n key: \"getCellMetadata\",\n value: function getCellMetadata(_ref2 /*:: */) /*: SizeAndPositionInfo*/{\n var index = _ref2 /*:: */.index;\n return this._cellMetadata[index];\n }\n\n /** Get all Sections overlapping the specified region. */\n }, {\n key: \"getSections\",\n value: function getSections(_ref3 /*:: */) /*: Array
*/{\n var height = _ref3 /*:: */.height,\n width = _ref3 /*:: */.width,\n x = _ref3 /*:: */.x,\n y = _ref3 /*:: */.y;\n var sectionXStart = Math.floor(x / this._sectionSize);\n var sectionXStop = Math.floor((x + width - 1) / this._sectionSize);\n var sectionYStart = Math.floor(y / this._sectionSize);\n var sectionYStop = Math.floor((y + height - 1) / this._sectionSize);\n var sections = [];\n for (var sectionX = sectionXStart; sectionX <= sectionXStop; sectionX++) {\n for (var sectionY = sectionYStart; sectionY <= sectionYStop; sectionY++) {\n var key = \"\".concat(sectionX, \".\").concat(sectionY);\n if (!this._sections[key]) {\n this._sections[key] = new Section({\n height: this._sectionSize,\n width: this._sectionSize,\n x: sectionX * this._sectionSize,\n y: sectionY * this._sectionSize\n });\n }\n sections.push(this._sections[key]);\n }\n }\n return sections;\n }\n\n /** Total number of Sections based on the currently registered cells. */\n }, {\n key: \"getTotalSectionCount\",\n value: function getTotalSectionCount() {\n return Object.keys(this._sections).length;\n }\n\n /** Intended for debugger/test purposes only */\n }, {\n key: \"toString\",\n value: function toString() {\n var _this = this;\n return Object.keys(this._sections).map(function (index) {\n return _this._sections[index].toString();\n });\n }\n\n /** Adds a cell to the appropriate Sections and registers it metadata for later retrievable. */\n }, {\n key: \"registerCell\",\n value: function registerCell(_ref4 /*:: */) {\n var cellMetadatum = _ref4 /*:: */.cellMetadatum,\n index = _ref4 /*:: */.index;\n this._cellMetadata[index] = cellMetadatum;\n this.getSections(cellMetadatum).forEach(function (section) {\n return section.addCellIndex({\n index: index\n });\n });\n }\n }]);\n}();\nexport { SectionManager as default };","/**\n * Determines a new offset that ensures a certain cell is visible, given the current offset.\n * If the cell is already visible then the current offset will be returned.\n * If the current offset is too great or small, it will be adjusted just enough to ensure the specified index is visible.\n *\n * @param align Desired alignment within container; one of \"auto\" (default), \"start\", or \"end\"\n * @param cellOffset Offset (x or y) position for cell\n * @param cellSize Size (width or height) of cell\n * @param containerSize Total size (width or height) of the container\n * @param currentOffset Container's current (x or y) offset\n * @return Offset to use to ensure the specified cell is visible\n */\nexport default function getUpdatedOffsetForIndex(_ref) {\n var _ref$align = _ref.align,\n align = _ref$align === void 0 ? 'auto' : _ref$align,\n cellOffset = _ref.cellOffset,\n cellSize = _ref.cellSize,\n containerSize = _ref.containerSize,\n currentOffset = _ref.currentOffset;\n var maxOffset = cellOffset;\n var minOffset = maxOffset - containerSize + cellSize;\n switch (align) {\n case 'start':\n return maxOffset;\n case 'end':\n return minOffset;\n case 'center':\n return maxOffset - (containerSize - cellSize) / 2;\n default:\n return Math.max(minOffset, Math.min(maxOffset, currentOffset));\n }\n}","import _objectDestructuringEmpty from \"@babel/runtime/helpers/objectDestructuringEmpty\";\nimport _extends from \"@babel/runtime/helpers/extends\";\nimport _classCallCheck from \"@babel/runtime/helpers/classCallCheck\";\nimport _createClass from \"@babel/runtime/helpers/createClass\";\nimport _possibleConstructorReturn from \"@babel/runtime/helpers/possibleConstructorReturn\";\nimport _getPrototypeOf from \"@babel/runtime/helpers/getPrototypeOf\";\nimport _inherits from \"@babel/runtime/helpers/inherits\";\nimport _defineProperty from \"@babel/runtime/helpers/defineProperty\";\nfunction _callSuper(t, o, e) { return o = _getPrototypeOf(o), _possibleConstructorReturn(t, _isNativeReflectConstruct() ? Reflect.construct(o, e || [], _getPrototypeOf(t).constructor) : o.apply(t, e)); }\nfunction _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); } catch (t) {} return (_isNativeReflectConstruct = function _isNativeReflectConstruct() { return !!t; })(); }\nimport PropTypes from 'prop-types';\nimport * as React from 'react';\nimport CollectionView from './CollectionView';\nimport _calculateSizeAndPositionData from './utils/calculateSizeAndPositionData';\nimport getUpdatedOffsetForIndex from '../utils/getUpdatedOffsetForIndex';\n/*:: import type {ScrollPosition, SizeInfo} from './types';*/\n/**\n * Renders scattered or non-linear data.\n * Unlike Grid, which renders checkerboard data, Collection can render arbitrarily positioned- even overlapping- data.\n */\nvar Collection = /*#__PURE__*/function (_React$PureComponent) {\n function Collection(props, context) {\n var _this;\n _classCallCheck(this, Collection);\n _this = _callSuper(this, Collection, [props, context]);\n _this._cellMetadata = [];\n _this._lastRenderedCellIndices = [];\n\n // Cell cache during scroll (for performance)\n _this._cellCache = [];\n _this._isScrollingChange = _this._isScrollingChange.bind(_this);\n _this._setCollectionViewRef = _this._setCollectionViewRef.bind(_this);\n return _this;\n }\n _inherits(Collection, _React$PureComponent);\n return _createClass(Collection, [{\n key: \"forceUpdate\",\n value: function forceUpdate() {\n if (this._collectionView !== undefined) {\n this._collectionView.forceUpdate();\n }\n }\n\n /** See Collection#recomputeCellSizesAndPositions */\n }, {\n key: \"recomputeCellSizesAndPositions\",\n value: function recomputeCellSizesAndPositions() {\n this._cellCache = [];\n this._collectionView.recomputeCellSizesAndPositions();\n }\n\n /** React lifecycle methods */\n }, {\n key: \"render\",\n value: function render() {\n var props = _extends({}, (_objectDestructuringEmpty(this.props), this.props));\n return /*#__PURE__*/React.createElement(CollectionView, _extends({\n cellLayoutManager: this,\n isScrollingChange: this._isScrollingChange,\n ref: this._setCollectionViewRef\n }, props));\n }\n\n /** CellLayoutManager interface */\n }, {\n key: \"calculateSizeAndPositionData\",\n value: function calculateSizeAndPositionData() {\n var _this$props = this.props,\n cellCount = _this$props.cellCount,\n cellSizeAndPositionGetter = _this$props.cellSizeAndPositionGetter,\n sectionSize = _this$props.sectionSize;\n var data = _calculateSizeAndPositionData({\n cellCount: cellCount,\n cellSizeAndPositionGetter: cellSizeAndPositionGetter,\n sectionSize: sectionSize\n });\n this._cellMetadata = data.cellMetadata;\n this._sectionManager = data.sectionManager;\n this._height = data.height;\n this._width = data.width;\n }\n\n /**\n * Returns the most recently rendered set of cell indices.\n */\n }, {\n key: \"getLastRenderedIndices\",\n value: function getLastRenderedIndices() {\n return this._lastRenderedCellIndices;\n }\n\n /**\n * Calculates the minimum amount of change from the current scroll position to ensure the specified cell is (fully) visible.\n */\n }, {\n key: \"getScrollPositionForCell\",\n value: function getScrollPositionForCell(_ref) /*: ScrollPosition*/{\n var align = _ref.align,\n cellIndex = _ref.cellIndex,\n height = _ref.height,\n scrollLeft = _ref.scrollLeft,\n scrollTop = _ref.scrollTop,\n width = _ref.width;\n var cellCount = this.props.cellCount;\n if (cellIndex >= 0 && cellIndex < cellCount) {\n var cellMetadata = this._cellMetadata[cellIndex];\n scrollLeft = getUpdatedOffsetForIndex({\n align: align,\n cellOffset: cellMetadata.x,\n cellSize: cellMetadata.width,\n containerSize: width,\n currentOffset: scrollLeft,\n targetIndex: cellIndex\n });\n scrollTop = getUpdatedOffsetForIndex({\n align: align,\n cellOffset: cellMetadata.y,\n cellSize: cellMetadata.height,\n containerSize: height,\n currentOffset: scrollTop,\n targetIndex: cellIndex\n });\n }\n return {\n scrollLeft: scrollLeft,\n scrollTop: scrollTop\n };\n }\n }, {\n key: \"getTotalSize\",\n value: function getTotalSize() /*: SizeInfo*/{\n return {\n height: this._height,\n width: this._width\n };\n }\n }, {\n key: \"cellRenderers\",\n value: function cellRenderers(_ref2) {\n var _this2 = this;\n var height = _ref2.height,\n isScrolling = _ref2.isScrolling,\n width = _ref2.width,\n x = _ref2.x,\n y = _ref2.y;\n var _this$props2 = this.props,\n cellGroupRenderer = _this$props2.cellGroupRenderer,\n cellRenderer = _this$props2.cellRenderer;\n\n // Store for later calls to getLastRenderedIndices()\n this._lastRenderedCellIndices = this._sectionManager.getCellIndices({\n height: height,\n width: width,\n x: x,\n y: y\n });\n return cellGroupRenderer({\n cellCache: this._cellCache,\n cellRenderer: cellRenderer,\n cellSizeAndPositionGetter: function cellSizeAndPositionGetter(_ref3) {\n var index = _ref3.index;\n return _this2._sectionManager.getCellMetadata({\n index: index\n });\n },\n indices: this._lastRenderedCellIndices,\n isScrolling: isScrolling\n });\n }\n }, {\n key: \"_isScrollingChange\",\n value: function _isScrollingChange(isScrolling) {\n if (!isScrolling) {\n this._cellCache = [];\n }\n }\n }, {\n key: \"_setCollectionViewRef\",\n value: function _setCollectionViewRef(ref) {\n this._collectionView = ref;\n }\n }]);\n}(React.PureComponent);\n_defineProperty(Collection, \"defaultProps\", {\n 'aria-label': 'grid',\n cellGroupRenderer: defaultCellGroupRenderer\n});\nexport { Collection as default };\nCollection.propTypes = process.env.NODE_ENV !== \"production\" ? {\n 'aria-label': PropTypes.string,\n /**\n * Number of cells in Collection.\n */\n cellCount: PropTypes.number.isRequired,\n /**\n * Responsible for rendering a group of cells given their indices.\n * Should implement the following interface: ({\n * cellSizeAndPositionGetter:Function,\n * indices: Array,\n * cellRenderer: Function\n * }): Array\n */\n cellGroupRenderer: PropTypes.func.isRequired,\n /**\n * Responsible for rendering a cell given an row and column index.\n * Should implement the following interface: ({ index: number, key: string, style: object }): PropTypes.element\n */\n cellRenderer: PropTypes.func.isRequired,\n /**\n * Callback responsible for returning size and offset/position information for a given cell (index).\n * ({ index: number }): { height: number, width: number, x: number, y: number }\n */\n cellSizeAndPositionGetter: PropTypes.func.isRequired,\n /**\n * Optionally override the size of the sections a Collection's cells are split into.\n */\n sectionSize: PropTypes.number\n} : {};\nfunction defaultCellGroupRenderer(_ref4) {\n var cellCache = _ref4.cellCache,\n cellRenderer = _ref4.cellRenderer,\n cellSizeAndPositionGetter = _ref4.cellSizeAndPositionGetter,\n indices = _ref4.indices,\n isScrolling = _ref4.isScrolling;\n return indices.map(function (index) {\n var cellMetadata = cellSizeAndPositionGetter({\n index: index\n });\n var cellRendererProps = {\n index: index,\n isScrolling: isScrolling,\n key: index,\n style: {\n height: cellMetadata.height,\n left: cellMetadata.x,\n position: 'absolute',\n top: cellMetadata.y,\n width: cellMetadata.width\n }\n };\n\n // Avoid re-creating cells while scrolling.\n // This can lead to the same cell being created many times and can cause performance issues for \"heavy\" cells.\n // If a scroll is in progress- cache and reuse cells.\n // This cache will be thrown away once scrolling complets.\n if (isScrolling) {\n if (!(index in cellCache)) {\n cellCache[index] = cellRenderer(cellRendererProps);\n }\n return cellCache[index];\n } else {\n return cellRenderer(cellRendererProps);\n }\n }).filter(function (renderedCell) {\n return !!renderedCell;\n });\n}","import SectionManager from '../SectionManager';\nexport default function calculateSizeAndPositionData(_ref) {\n var cellCount = _ref.cellCount,\n cellSizeAndPositionGetter = _ref.cellSizeAndPositionGetter,\n sectionSize = _ref.sectionSize;\n var cellMetadata = [];\n var sectionManager = new SectionManager(sectionSize);\n var height = 0;\n var width = 0;\n for (var index = 0; index < cellCount; index++) {\n var cellMetadatum = cellSizeAndPositionGetter({\n index: index\n });\n if (cellMetadatum.height == null || isNaN(cellMetadatum.height) || cellMetadatum.width == null || isNaN(cellMetadatum.width) || cellMetadatum.x == null || isNaN(cellMetadatum.x) || cellMetadatum.y == null || isNaN(cellMetadatum.y)) {\n throw Error(\"Invalid metadata returned for cell \".concat(index, \":\\n x:\").concat(cellMetadatum.x, \", y:\").concat(cellMetadatum.y, \", width:\").concat(cellMetadatum.width, \", height:\").concat(cellMetadatum.height));\n }\n height = Math.max(height, cellMetadatum.y + cellMetadatum.height);\n width = Math.max(width, cellMetadatum.x + cellMetadatum.width);\n cellMetadata[index] = cellMetadatum;\n sectionManager.registerCell({\n cellMetadatum: cellMetadatum,\n index: index\n });\n }\n return {\n cellMetadata: cellMetadata,\n height: height,\n sectionManager: sectionManager,\n width: width\n };\n}","import _classCallCheck from \"@babel/runtime/helpers/classCallCheck\";\nimport _createClass from \"@babel/runtime/helpers/createClass\";\nimport _possibleConstructorReturn from \"@babel/runtime/helpers/possibleConstructorReturn\";\nimport _getPrototypeOf from \"@babel/runtime/helpers/getPrototypeOf\";\nimport _inherits from \"@babel/runtime/helpers/inherits\";\nfunction _callSuper(t, o, e) { return o = _getPrototypeOf(o), _possibleConstructorReturn(t, _isNativeReflectConstruct() ? Reflect.construct(o, e || [], _getPrototypeOf(t).constructor) : o.apply(t, e)); }\nfunction _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); } catch (t) {} return (_isNativeReflectConstruct = function _isNativeReflectConstruct() { return !!t; })(); }\nimport PropTypes from 'prop-types';\nimport * as React from 'react';\n\n/**\n * High-order component that auto-calculates column-widths for `Grid` cells.\n */\nvar ColumnSizer = /*#__PURE__*/function (_React$PureComponent) {\n function ColumnSizer(props, context) {\n var _this;\n _classCallCheck(this, ColumnSizer);\n _this = _callSuper(this, ColumnSizer, [props, context]);\n _this._registerChild = _this._registerChild.bind(_this);\n return _this;\n }\n _inherits(ColumnSizer, _React$PureComponent);\n return _createClass(ColumnSizer, [{\n key: \"componentDidUpdate\",\n value: function componentDidUpdate(prevProps) {\n var _this$props = this.props,\n columnMaxWidth = _this$props.columnMaxWidth,\n columnMinWidth = _this$props.columnMinWidth,\n columnCount = _this$props.columnCount,\n width = _this$props.width;\n if (columnMaxWidth !== prevProps.columnMaxWidth || columnMinWidth !== prevProps.columnMinWidth || columnCount !== prevProps.columnCount || width !== prevProps.width) {\n if (this._registeredChild) {\n this._registeredChild.recomputeGridSize();\n }\n }\n }\n }, {\n key: \"render\",\n value: function render() {\n var _this$props2 = this.props,\n children = _this$props2.children,\n columnMaxWidth = _this$props2.columnMaxWidth,\n columnMinWidth = _this$props2.columnMinWidth,\n columnCount = _this$props2.columnCount,\n width = _this$props2.width;\n var safeColumnMinWidth = columnMinWidth || 1;\n var safeColumnMaxWidth = columnMaxWidth ? Math.min(columnMaxWidth, width) : width;\n var columnWidth = width / columnCount;\n columnWidth = Math.max(safeColumnMinWidth, columnWidth);\n columnWidth = Math.min(safeColumnMaxWidth, columnWidth);\n columnWidth = Math.floor(columnWidth);\n var adjustedWidth = Math.min(width, columnWidth * columnCount);\n return children({\n adjustedWidth: adjustedWidth,\n columnWidth: columnWidth,\n getColumnWidth: function getColumnWidth() {\n return columnWidth;\n },\n registerChild: this._registerChild\n });\n }\n }, {\n key: \"_registerChild\",\n value: function _registerChild(child) {\n if (child && typeof child.recomputeGridSize !== 'function') {\n throw Error('Unexpected child type registered; only Grid/MultiGrid children are supported.');\n }\n this._registeredChild = child;\n if (this._registeredChild) {\n this._registeredChild.recomputeGridSize();\n }\n }\n }]);\n}(React.PureComponent);\nexport { ColumnSizer as default };\nColumnSizer.propTypes = process.env.NODE_ENV !== \"production\" ? {\n /**\n * Function responsible for rendering a virtualized Grid.\n * This function should implement the following signature:\n * ({ adjustedWidth, getColumnWidth, registerChild }) => PropTypes.element\n *\n * The specified :getColumnWidth function should be passed to the Grid's :columnWidth property.\n * The :registerChild should be passed to the Grid's :ref property.\n * The :adjustedWidth property is optional; it reflects the lesser of the overall width or the width of all columns.\n */\n children: PropTypes.func.isRequired,\n /** Optional maximum allowed column width */\n columnMaxWidth: PropTypes.number,\n /** Optional minimum allowed column width */\n columnMinWidth: PropTypes.number,\n /** Number of columns in Grid or Table child */\n columnCount: PropTypes.number.isRequired,\n /** Width of Grid or Table child */\n width: PropTypes.number.isRequired\n} : {};","/**\n * Helper method that determines when to recalculate row or column metadata.\n */\n/*:: type Params = {\n // Number of rows or columns in the current axis\n cellCount: number,\n\n // Width or height of cells for the current axis\n cellSize: ?number,\n\n // Method to invoke if cell metadata should be recalculated\n computeMetadataCallback: (props: T) => void,\n\n // Parameters to pass to :computeMetadataCallback\n computeMetadataCallbackProps: T,\n\n // Newly updated number of rows or columns in the current axis\n nextCellsCount: number,\n\n // Newly updated width or height of cells for the current axis\n nextCellSize: ?number,\n\n // Newly updated scroll-to-index\n nextScrollToIndex: number,\n\n // Scroll-to-index\n scrollToIndex: number,\n\n // Callback to invoke if the scroll position should be recalculated\n updateScrollOffsetForScrollToIndex: () => void,\n};*/\nexport default function calculateSizeAndPositionDataAndUpdateScrollOffset(_ref /*:: */) {\n var cellCount = _ref /*:: */.cellCount,\n cellSize = _ref /*:: */.cellSize,\n computeMetadataCallback = _ref /*:: */.computeMetadataCallback,\n computeMetadataCallbackProps = _ref /*:: */.computeMetadataCallbackProps,\n nextCellsCount = _ref /*:: */.nextCellsCount,\n nextCellSize = _ref /*:: */.nextCellSize,\n nextScrollToIndex = _ref /*:: */.nextScrollToIndex,\n scrollToIndex = _ref /*:: */.scrollToIndex,\n updateScrollOffsetForScrollToIndex = _ref /*:: */.updateScrollOffsetForScrollToIndex;\n // Don't compare cell sizes if they are functions because inline functions would cause infinite loops.\n // In that event users should use the manual recompute methods to inform of changes.\n if (cellCount !== nextCellsCount || (typeof cellSize === 'number' || typeof nextCellSize === 'number') && cellSize !== nextCellSize) {\n computeMetadataCallback(computeMetadataCallbackProps);\n\n // Updated cell metadata may have hidden the previous scrolled-to item.\n // In this case we should also update the scrollTop to ensure it stays visible.\n if (scrollToIndex >= 0 && scrollToIndex === nextScrollToIndex) {\n updateScrollOffsetForScrollToIndex();\n }\n }\n}","/*:: type Callback = (timestamp: number) => void;*/\n/*:: type CancelAnimationFrame = (requestId: number) => void;*/\n/*:: type RequestAnimationFrame = (callback: Callback) => number;*/\n// Properly handle server-side rendering.\nvar win;\nif (typeof window !== 'undefined') {\n win = window;\n} else if (typeof self !== 'undefined') {\n win = self;\n} else {\n win = {};\n}\n\n// requestAnimationFrame() shim by Paul Irish\n// http://paulirish.com/2011/requestanimationframe-for-smart-animating/\nvar request = win.requestAnimationFrame || win.webkitRequestAnimationFrame || win.mozRequestAnimationFrame || win.oRequestAnimationFrame || win.msRequestAnimationFrame || function (callback /*: Callback*/) /*: RequestAnimationFrame*/{\n return (win /*: any*/).setTimeout(callback, 1000 / 60);\n};\nvar cancel = win.cancelAnimationFrame || win.webkitCancelAnimationFrame || win.mozCancelAnimationFrame || win.oCancelAnimationFrame || win.msCancelAnimationFrame || function (id /*: number*/) {\n (win /*: any*/).clearTimeout(id);\n};\nexport var raf /*: RequestAnimationFrame*/ = (request /*: any*/);\nexport var caf /*: CancelAnimationFrame*/ = (cancel /*: any*/);","var objectWithoutPropertiesLoose = require(\"./objectWithoutPropertiesLoose.js\");\nfunction _objectWithoutProperties(e, t) {\n if (null == e) return {};\n var o,\n r,\n i = objectWithoutPropertiesLoose(e, t);\n if (Object.getOwnPropertySymbols) {\n var s = Object.getOwnPropertySymbols(e);\n for (r = 0; r < s.length; r++) o = s[r], t.includes(o) || {}.propertyIsEnumerable.call(e, o) && (i[o] = e[o]);\n }\n return i;\n}\nmodule.exports = _objectWithoutProperties, module.exports.__esModule = true, module.exports[\"default\"] = module.exports;","function _objectWithoutPropertiesLoose(r, e) {\n if (null == r) return {};\n var t = {};\n for (var n in r) if ({}.hasOwnProperty.call(r, n)) {\n if (e.includes(n)) continue;\n t[n] = r[n];\n }\n return t;\n}\nmodule.exports = _objectWithoutPropertiesLoose, module.exports.__esModule = true, module.exports[\"default\"] = module.exports;","import _classCallCheck from \"@babel/runtime/helpers/classCallCheck\";\nimport _createClass from \"@babel/runtime/helpers/createClass\";\nimport _defineProperty from \"@babel/runtime/helpers/defineProperty\";\n/*:: import type {Alignment, CellSizeGetter, VisibleCellRange} from '../types';*/\n/*:: type CellSizeAndPositionManagerParams = {\n cellCount: number,\n cellSizeGetter: CellSizeGetter,\n estimatedCellSize: number,\n};*/\n/*:: type ConfigureParams = {\n cellCount: number,\n estimatedCellSize: number,\n cellSizeGetter: CellSizeGetter,\n};*/\n/*:: type GetUpdatedOffsetForIndex = {\n align: Alignment,\n containerSize: number,\n currentOffset: number,\n targetIndex: number,\n};*/\n/*:: type GetVisibleCellRangeParams = {\n containerSize: number,\n offset: number,\n};*/\n/*:: type SizeAndPositionData = {\n offset: number,\n size: number,\n};*/\n/**\n * Just-in-time calculates and caches size and position information for a collection of cells.\n */\nvar CellSizeAndPositionManager = /*#__PURE__*/function () {\n function CellSizeAndPositionManager(_ref /*:: */) {\n var cellCount = _ref /*:: */.cellCount,\n cellSizeGetter = _ref /*:: */.cellSizeGetter,\n estimatedCellSize = _ref /*:: */.estimatedCellSize;\n _classCallCheck(this, CellSizeAndPositionManager);\n // Cache of size and position data for cells, mapped by cell index.\n // Note that invalid values may exist in this map so only rely on cells up to this._lastMeasuredIndex\n _defineProperty(this, \"_cellSizeAndPositionData\", {});\n // Measurements for cells up to this index can be trusted; cells afterward should be estimated.\n _defineProperty(this, \"_lastMeasuredIndex\", -1);\n // Used in deferred mode to track which cells have been queued for measurement.\n _defineProperty(this, \"_lastBatchedIndex\", -1);\n _defineProperty(this, \"_cellCount\", void 0);\n _defineProperty(this, \"_cellSizeGetter\", void 0);\n _defineProperty(this, \"_estimatedCellSize\", void 0);\n this._cellSizeGetter = cellSizeGetter;\n this._cellCount = cellCount;\n this._estimatedCellSize = estimatedCellSize;\n }\n return _createClass(CellSizeAndPositionManager, [{\n key: \"areOffsetsAdjusted\",\n value: function areOffsetsAdjusted() {\n return false;\n }\n }, {\n key: \"configure\",\n value: function configure(_ref2 /*:: */) {\n var cellCount = _ref2 /*:: */.cellCount,\n estimatedCellSize = _ref2 /*:: */.estimatedCellSize,\n cellSizeGetter = _ref2 /*:: */.cellSizeGetter;\n this._cellCount = cellCount;\n this._estimatedCellSize = estimatedCellSize;\n this._cellSizeGetter = cellSizeGetter;\n }\n }, {\n key: \"getCellCount\",\n value: function getCellCount() /*: number*/{\n return this._cellCount;\n }\n }, {\n key: \"getEstimatedCellSize\",\n value: function getEstimatedCellSize() /*: number*/{\n return this._estimatedCellSize;\n }\n }, {\n key: \"getLastMeasuredIndex\",\n value: function getLastMeasuredIndex() /*: number*/{\n return this._lastMeasuredIndex;\n }\n }, {\n key: \"getOffsetAdjustment\",\n value: function getOffsetAdjustment() {\n return 0;\n }\n\n /**\n * This method returns the size and position for the cell at the specified index.\n * It just-in-time calculates (or used cached values) for cells leading up to the index.\n */\n }, {\n key: \"getSizeAndPositionOfCell\",\n value: function getSizeAndPositionOfCell(index /*: number*/) /*: SizeAndPositionData*/{\n if (index < 0 || index >= this._cellCount) {\n throw Error(\"Requested index \".concat(index, \" is outside of range 0..\").concat(this._cellCount));\n }\n if (index > this._lastMeasuredIndex) {\n var lastMeasuredCellSizeAndPosition = this.getSizeAndPositionOfLastMeasuredCell();\n var offset = lastMeasuredCellSizeAndPosition.offset + lastMeasuredCellSizeAndPosition.size;\n for (var i = this._lastMeasuredIndex + 1; i <= index; i++) {\n var size = this._cellSizeGetter({\n index: i\n });\n\n // undefined or NaN probably means a logic error in the size getter.\n // null means we're using CellMeasurer and haven't yet measured a given index.\n if (size === undefined || isNaN(size)) {\n throw Error(\"Invalid size returned for cell \".concat(i, \" of value \").concat(size));\n } else if (size === null) {\n this._cellSizeAndPositionData[i] = {\n offset: offset,\n size: 0\n };\n this._lastBatchedIndex = index;\n } else {\n this._cellSizeAndPositionData[i] = {\n offset: offset,\n size: size\n };\n offset += size;\n this._lastMeasuredIndex = index;\n }\n }\n }\n return this._cellSizeAndPositionData[index];\n }\n }, {\n key: \"getSizeAndPositionOfLastMeasuredCell\",\n value: function getSizeAndPositionOfLastMeasuredCell() /*: SizeAndPositionData*/{\n return this._lastMeasuredIndex >= 0 ? this._cellSizeAndPositionData[this._lastMeasuredIndex] : {\n offset: 0,\n size: 0\n };\n }\n\n /**\n * Total size of all cells being measured.\n * This value will be completely estimated initially.\n * As cells are measured, the estimate will be updated.\n */\n }, {\n key: \"getTotalSize\",\n value: function getTotalSize() /*: number*/{\n var lastMeasuredCellSizeAndPosition = this.getSizeAndPositionOfLastMeasuredCell();\n var totalSizeOfMeasuredCells = lastMeasuredCellSizeAndPosition.offset + lastMeasuredCellSizeAndPosition.size;\n var numUnmeasuredCells = this._cellCount - this._lastMeasuredIndex - 1;\n var totalSizeOfUnmeasuredCells = numUnmeasuredCells * this._estimatedCellSize;\n return totalSizeOfMeasuredCells + totalSizeOfUnmeasuredCells;\n }\n\n /**\n * Determines a new offset that ensures a certain cell is visible, given the current offset.\n * If the cell is already visible then the current offset will be returned.\n * If the current offset is too great or small, it will be adjusted just enough to ensure the specified index is visible.\n *\n * @param align Desired alignment within container; one of \"auto\" (default), \"start\", or \"end\"\n * @param containerSize Size (width or height) of the container viewport\n * @param currentOffset Container's current (x or y) offset\n * @param totalSize Total size (width or height) of all cells\n * @return Offset to use to ensure the specified cell is visible\n */\n }, {\n key: \"getUpdatedOffsetForIndex\",\n value: function getUpdatedOffsetForIndex(_ref3 /*:: */) /*: number*/{\n var _ref3$align = _ref3 /*:: */.align,\n align = _ref3$align === void 0 ? 'auto' : _ref3$align,\n containerSize = _ref3 /*:: */.containerSize,\n currentOffset = _ref3 /*:: */.currentOffset,\n targetIndex = _ref3 /*:: */.targetIndex;\n if (containerSize <= 0) {\n return 0;\n }\n var datum = this.getSizeAndPositionOfCell(targetIndex);\n var maxOffset = datum.offset;\n var minOffset = maxOffset - containerSize + datum.size;\n var idealOffset;\n switch (align) {\n case 'start':\n idealOffset = maxOffset;\n break;\n case 'end':\n idealOffset = minOffset;\n break;\n case 'center':\n idealOffset = maxOffset - (containerSize - datum.size) / 2;\n break;\n default:\n idealOffset = Math.max(minOffset, Math.min(maxOffset, currentOffset));\n break;\n }\n var totalSize = this.getTotalSize();\n return Math.max(0, Math.min(totalSize - containerSize, idealOffset));\n }\n }, {\n key: \"getVisibleCellRange\",\n value: function getVisibleCellRange(params /*: GetVisibleCellRangeParams*/) /*: VisibleCellRange*/{\n var containerSize = params.containerSize,\n offset = params.offset;\n var totalSize = this.getTotalSize();\n if (totalSize === 0) {\n return {};\n }\n var maxOffset = offset + containerSize;\n var start = this._findNearestCell(offset);\n var datum = this.getSizeAndPositionOfCell(start);\n offset = datum.offset + datum.size;\n var stop = start;\n while (offset < maxOffset && stop < this._cellCount - 1) {\n stop++;\n offset += this.getSizeAndPositionOfCell(stop).size;\n }\n return {\n start: start,\n stop: stop\n };\n }\n\n /**\n * Clear all cached values for cells after the specified index.\n * This method should be called for any cell that has changed its size.\n * It will not immediately perform any calculations; they'll be performed the next time getSizeAndPositionOfCell() is called.\n */\n }, {\n key: \"resetCell\",\n value: function resetCell(index /*: number*/) /*: void*/{\n this._lastMeasuredIndex = Math.min(this._lastMeasuredIndex, index - 1);\n }\n }, {\n key: \"_binarySearch\",\n value: function _binarySearch(high /*: number*/, low /*: number*/, offset /*: number*/) /*: number*/{\n while (low <= high) {\n var middle = low + Math.floor((high - low) / 2);\n var currentOffset = this.getSizeAndPositionOfCell(middle).offset;\n if (currentOffset === offset) {\n return middle;\n } else if (currentOffset < offset) {\n low = middle + 1;\n } else if (currentOffset > offset) {\n high = middle - 1;\n }\n }\n if (low > 0) {\n return low - 1;\n } else {\n return 0;\n }\n }\n }, {\n key: \"_exponentialSearch\",\n value: function _exponentialSearch(index /*: number*/, offset /*: number*/) /*: number*/{\n var interval = 1;\n while (index < this._cellCount && this.getSizeAndPositionOfCell(index).offset < offset) {\n index += interval;\n interval *= 2;\n }\n return this._binarySearch(Math.min(index, this._cellCount - 1), Math.floor(index / 2), offset);\n }\n\n /**\n * Searches for the cell (index) nearest the specified offset.\n *\n * If no exact match is found the next lowest cell index will be returned.\n * This allows partially visible cells (with offsets just before/above the fold) to be visible.\n */\n }, {\n key: \"_findNearestCell\",\n value: function _findNearestCell(offset /*: number*/) /*: number*/{\n if (isNaN(offset)) {\n throw Error(\"Invalid offset \".concat(offset, \" specified\"));\n }\n\n // Our search algorithms find the nearest match at or below the specified offset.\n // So make sure the offset is at least 0 or no match will be found.\n offset = Math.max(0, offset);\n var lastMeasuredCellSizeAndPosition = this.getSizeAndPositionOfLastMeasuredCell();\n var lastMeasuredIndex = Math.max(0, this._lastMeasuredIndex);\n if (lastMeasuredCellSizeAndPosition.offset >= offset) {\n // If we've already measured cells within this range just use a binary search as it's faster.\n return this._binarySearch(lastMeasuredIndex, 0, offset);\n } else {\n // If we haven't yet measured this high, fallback to an exponential search with an inner binary search.\n // The exponential search avoids pre-computing sizes for the full set of cells as a binary search would.\n // The overall complexity for this approach is O(log n).\n return this._exponentialSearch(lastMeasuredIndex, offset);\n }\n }\n }]);\n}();\nexport { CellSizeAndPositionManager as default };","var DEFAULT_MAX_ELEMENT_SIZE = 1500000;\nvar CHROME_MAX_ELEMENT_SIZE = 1.67771e7;\nvar isBrowser = function isBrowser() {\n return typeof window !== 'undefined';\n};\nvar isChrome = function isChrome() {\n return !!window.chrome;\n};\nexport var getMaxElementSize = function getMaxElementSize() /*: number*/{\n if (isBrowser()) {\n if (isChrome()) {\n return CHROME_MAX_ELEMENT_SIZE;\n }\n }\n return DEFAULT_MAX_ELEMENT_SIZE;\n};","import _objectWithoutProperties from \"@babel/runtime/helpers/objectWithoutProperties\";\nimport _classCallCheck from \"@babel/runtime/helpers/classCallCheck\";\nimport _createClass from \"@babel/runtime/helpers/createClass\";\nimport _defineProperty from \"@babel/runtime/helpers/defineProperty\";\nvar _excluded = [\"maxScrollSize\"];\n/*:: import type {Alignment, CellSizeGetter, VisibleCellRange} from '../types';*/\nimport CellSizeAndPositionManager from './CellSizeAndPositionManager';\nimport { getMaxElementSize } from './maxElementSize.js';\n/*:: type ContainerSizeAndOffset = {\n containerSize: number,\n offset: number,\n};*/\n/*:: type Params = {\n maxScrollSize?: number,\n cellCount: number,\n cellSizeGetter: CellSizeGetter,\n estimatedCellSize: number,\n};*/\n/**\n * Browsers have scroll offset limitations (eg Chrome stops scrolling at ~33.5M pixels where as Edge tops out at ~1.5M pixels).\n * After a certain position, the browser won't allow the user to scroll further (even via JavaScript scroll offset adjustments).\n * This util picks a lower ceiling for max size and artificially adjusts positions within to make it transparent for users.\n */\n/**\n * Extends CellSizeAndPositionManager and adds scaling behavior for lists that are too large to fit within a browser's native limits.\n */\nvar ScalingCellSizeAndPositionManager = /*#__PURE__*/function () {\n function ScalingCellSizeAndPositionManager(_ref /*:: */) {\n var _ref$maxScrollSize = _ref /*:: */.maxScrollSize,\n maxScrollSize = _ref$maxScrollSize === void 0 ? getMaxElementSize() : _ref$maxScrollSize,\n params = _objectWithoutProperties(_ref /*:: */, _excluded);\n _classCallCheck(this, ScalingCellSizeAndPositionManager);\n _defineProperty(this, \"_cellSizeAndPositionManager\", void 0);\n _defineProperty(this, \"_maxScrollSize\", void 0);\n // Favor composition over inheritance to simplify IE10 support\n this._cellSizeAndPositionManager = new CellSizeAndPositionManager(params);\n this._maxScrollSize = maxScrollSize;\n }\n return _createClass(ScalingCellSizeAndPositionManager, [{\n key: \"areOffsetsAdjusted\",\n value: function areOffsetsAdjusted() /*: boolean*/{\n return this._cellSizeAndPositionManager.getTotalSize() > this._maxScrollSize;\n }\n }, {\n key: \"configure\",\n value: function configure(params\n /*: {\n cellCount: number,\n estimatedCellSize: number,\n cellSizeGetter: CellSizeGetter,\n }*/\n ) {\n this._cellSizeAndPositionManager.configure(params);\n }\n }, {\n key: \"getCellCount\",\n value: function getCellCount() /*: number*/{\n return this._cellSizeAndPositionManager.getCellCount();\n }\n }, {\n key: \"getEstimatedCellSize\",\n value: function getEstimatedCellSize() /*: number*/{\n return this._cellSizeAndPositionManager.getEstimatedCellSize();\n }\n }, {\n key: \"getLastMeasuredIndex\",\n value: function getLastMeasuredIndex() /*: number*/{\n return this._cellSizeAndPositionManager.getLastMeasuredIndex();\n }\n\n /**\n * Number of pixels a cell at the given position (offset) should be shifted in order to fit within the scaled container.\n * The offset passed to this function is scaled (safe) as well.\n */\n }, {\n key: \"getOffsetAdjustment\",\n value: function getOffsetAdjustment(_ref2 /*:: */) /*: number*/{\n var containerSize = _ref2 /*:: */.containerSize,\n offset = _ref2 /*:: */.offset;\n var totalSize = this._cellSizeAndPositionManager.getTotalSize();\n var safeTotalSize = this.getTotalSize();\n var offsetPercentage = this._getOffsetPercentage({\n containerSize: containerSize,\n offset: offset,\n totalSize: safeTotalSize\n });\n return Math.round(offsetPercentage * (safeTotalSize - totalSize));\n }\n }, {\n key: \"getSizeAndPositionOfCell\",\n value: function getSizeAndPositionOfCell(index /*: number*/) {\n return this._cellSizeAndPositionManager.getSizeAndPositionOfCell(index);\n }\n }, {\n key: \"getSizeAndPositionOfLastMeasuredCell\",\n value: function getSizeAndPositionOfLastMeasuredCell() {\n return this._cellSizeAndPositionManager.getSizeAndPositionOfLastMeasuredCell();\n }\n\n /** See CellSizeAndPositionManager#getTotalSize */\n }, {\n key: \"getTotalSize\",\n value: function getTotalSize() /*: number*/{\n return Math.min(this._maxScrollSize, this._cellSizeAndPositionManager.getTotalSize());\n }\n\n /** See CellSizeAndPositionManager#getUpdatedOffsetForIndex */\n }, {\n key: \"getUpdatedOffsetForIndex\",\n value: function getUpdatedOffsetForIndex(_ref3 /*:: */) {\n var _ref3$align = _ref3 /*:: */.align,\n align = _ref3$align === void 0 ? 'auto' : _ref3$align,\n containerSize = _ref3 /*:: */.containerSize,\n currentOffset = _ref3 /*:: */.currentOffset,\n targetIndex = _ref3 /*:: */.targetIndex;\n currentOffset = this._safeOffsetToOffset({\n containerSize: containerSize,\n offset: currentOffset\n });\n var offset = this._cellSizeAndPositionManager.getUpdatedOffsetForIndex({\n align: align,\n containerSize: containerSize,\n currentOffset: currentOffset,\n targetIndex: targetIndex\n });\n return this._offsetToSafeOffset({\n containerSize: containerSize,\n offset: offset\n });\n }\n\n /** See CellSizeAndPositionManager#getVisibleCellRange */\n }, {\n key: \"getVisibleCellRange\",\n value: function getVisibleCellRange(_ref4 /*:: */) /*: VisibleCellRange*/{\n var containerSize = _ref4 /*:: */.containerSize,\n offset = _ref4 /*:: */.offset;\n offset = this._safeOffsetToOffset({\n containerSize: containerSize,\n offset: offset\n });\n return this._cellSizeAndPositionManager.getVisibleCellRange({\n containerSize: containerSize,\n offset: offset\n });\n }\n }, {\n key: \"resetCell\",\n value: function resetCell(index /*: number*/) /*: void*/{\n this._cellSizeAndPositionManager.resetCell(index);\n }\n }, {\n key: \"_getOffsetPercentage\",\n value: function _getOffsetPercentage(_ref5 /*:: */) {\n var containerSize = _ref5 /*:: */.containerSize,\n offset = _ref5 /*:: */.offset,\n totalSize = _ref5 /*:: */.totalSize;\n return totalSize <= containerSize ? 0 : offset / (totalSize - containerSize);\n }\n }, {\n key: \"_offsetToSafeOffset\",\n value: function _offsetToSafeOffset(_ref6 /*:: */) /*: number*/{\n var containerSize = _ref6 /*:: */.containerSize,\n offset = _ref6 /*:: */.offset;\n var totalSize = this._cellSizeAndPositionManager.getTotalSize();\n var safeTotalSize = this.getTotalSize();\n if (totalSize === safeTotalSize) {\n return offset;\n } else {\n var offsetPercentage = this._getOffsetPercentage({\n containerSize: containerSize,\n offset: offset,\n totalSize: totalSize\n });\n return Math.round(offsetPercentage * (safeTotalSize - containerSize));\n }\n }\n }, {\n key: \"_safeOffsetToOffset\",\n value: function _safeOffsetToOffset(_ref7 /*:: */) /*: number*/{\n var containerSize = _ref7 /*:: */.containerSize,\n offset = _ref7 /*:: */.offset;\n var totalSize = this._cellSizeAndPositionManager.getTotalSize();\n var safeTotalSize = this.getTotalSize();\n if (totalSize === safeTotalSize) {\n return offset;\n } else {\n var offsetPercentage = this._getOffsetPercentage({\n containerSize: containerSize,\n offset: offset,\n totalSize: safeTotalSize\n });\n return Math.round(offsetPercentage * (totalSize - containerSize));\n }\n }\n }]);\n}();\nexport { ScalingCellSizeAndPositionManager as default };","/*:: import type {Alignment, CellSize} from '../types';*/\nimport ScalingCellSizeAndPositionManager from './ScalingCellSizeAndPositionManager.js';\n\n/**\n * Helper function that determines when to update scroll offsets to ensure that a scroll-to-index remains visible.\n * This function also ensures that the scroll ofset isn't past the last column/row of cells.\n */\n/*:: type Params = {\n // Width or height of cells for the current axis\n cellSize?: CellSize,\n\n // Manages size and position metadata of cells\n cellSizeAndPositionManager: ScalingCellSizeAndPositionManager,\n\n // Previous number of rows or columns\n previousCellsCount: number,\n\n // Previous width or height of cells\n previousCellSize: CellSize,\n\n previousScrollToAlignment: Alignment,\n\n // Previous scroll-to-index\n previousScrollToIndex: number,\n\n // Previous width or height of the virtualized container\n previousSize: number,\n\n // Current scrollLeft or scrollTop\n scrollOffset: number,\n\n scrollToAlignment: Alignment,\n\n // Scroll-to-index\n scrollToIndex: number,\n\n // Width or height of the virtualized container\n size: number,\n\n sizeJustIncreasedFromZero: boolean,\n\n // Callback to invoke with an scroll-to-index value\n updateScrollIndexCallback: (index: number) => void,\n};*/\nexport default function updateScrollIndexHelper(_ref /*:: */) {\n var cellSize = _ref /*:: */.cellSize,\n cellSizeAndPositionManager = _ref /*:: */.cellSizeAndPositionManager,\n previousCellsCount = _ref /*:: */.previousCellsCount,\n previousCellSize = _ref /*:: */.previousCellSize,\n previousScrollToAlignment = _ref /*:: */.previousScrollToAlignment,\n previousScrollToIndex = _ref /*:: */.previousScrollToIndex,\n previousSize = _ref /*:: */.previousSize,\n scrollOffset = _ref /*:: */.scrollOffset,\n scrollToAlignment = _ref /*:: */.scrollToAlignment,\n scrollToIndex = _ref /*:: */.scrollToIndex,\n size = _ref /*:: */.size,\n sizeJustIncreasedFromZero = _ref /*:: */.sizeJustIncreasedFromZero,\n updateScrollIndexCallback = _ref /*:: */.updateScrollIndexCallback;\n var cellCount = cellSizeAndPositionManager.getCellCount();\n var hasScrollToIndex = scrollToIndex >= 0 && scrollToIndex < cellCount;\n var sizeHasChanged = size !== previousSize || sizeJustIncreasedFromZero || !previousCellSize || typeof cellSize === 'number' && cellSize !== previousCellSize;\n\n // If we have a new scroll target OR if height/row-height has changed,\n // We should ensure that the scroll target is visible.\n if (hasScrollToIndex && (sizeHasChanged || scrollToAlignment !== previousScrollToAlignment || scrollToIndex !== previousScrollToIndex)) {\n updateScrollIndexCallback(scrollToIndex);\n\n // If we don't have a selected item but list size or number of children have decreased,\n // Make sure we aren't scrolled too far past the current content.\n } else if (!hasScrollToIndex && cellCount > 0 && (size < previousSize || cellCount < previousCellsCount)) {\n // We need to ensure that the current scroll offset is still within the collection's range.\n // To do this, we don't need to measure everything; CellMeasurer would perform poorly.\n // Just check to make sure we're still okay.\n // Only adjust the scroll position if we've scrolled below the last set of rows.\n if (scrollOffset > cellSizeAndPositionManager.getTotalSize() - size) {\n updateScrollIndexCallback(cellCount - 1);\n }\n }\n}","/*:: import type {CellRangeRendererParams} from './types';*/\nimport React from 'react';\n\n/**\n * Default implementation of cellRangeRenderer used by Grid.\n * This renderer supports cell-caching while the user is scrolling.\n */\n\nexport default function defaultCellRangeRenderer(_ref /*:: */) {\n var cellCache = _ref /*:: */.cellCache,\n cellRenderer = _ref /*:: */.cellRenderer,\n columnSizeAndPositionManager = _ref /*:: */.columnSizeAndPositionManager,\n columnStartIndex = _ref /*:: */.columnStartIndex,\n columnStopIndex = _ref /*:: */.columnStopIndex,\n deferredMeasurementCache = _ref /*:: */.deferredMeasurementCache,\n horizontalOffsetAdjustment = _ref /*:: */.horizontalOffsetAdjustment,\n isScrolling = _ref /*:: */.isScrolling,\n isScrollingOptOut = _ref /*:: */.isScrollingOptOut,\n parent = _ref /*:: */.parent,\n rowSizeAndPositionManager = _ref /*:: */.rowSizeAndPositionManager,\n rowStartIndex = _ref /*:: */.rowStartIndex,\n rowStopIndex = _ref /*:: */.rowStopIndex,\n styleCache = _ref /*:: */.styleCache,\n verticalOffsetAdjustment = _ref /*:: */.verticalOffsetAdjustment,\n visibleColumnIndices = _ref /*:: */.visibleColumnIndices,\n visibleRowIndices = _ref /*:: */.visibleRowIndices;\n var renderedCells = [];\n\n // Browsers have native size limits for elements (eg Chrome 33M pixels, IE 1.5M pixes).\n // User cannot scroll beyond these size limitations.\n // In order to work around this, ScalingCellSizeAndPositionManager compresses offsets.\n // We should never cache styles for compressed offsets though as this can lead to bugs.\n // See issue #576 for more.\n var areOffsetsAdjusted = columnSizeAndPositionManager.areOffsetsAdjusted() || rowSizeAndPositionManager.areOffsetsAdjusted();\n var canCacheStyle = !isScrolling && !areOffsetsAdjusted;\n for (var rowIndex = rowStartIndex; rowIndex <= rowStopIndex; rowIndex++) {\n var rowDatum = rowSizeAndPositionManager.getSizeAndPositionOfCell(rowIndex);\n for (var columnIndex = columnStartIndex; columnIndex <= columnStopIndex; columnIndex++) {\n var columnDatum = columnSizeAndPositionManager.getSizeAndPositionOfCell(columnIndex);\n var isVisible = columnIndex >= visibleColumnIndices.start && columnIndex <= visibleColumnIndices.stop && rowIndex >= visibleRowIndices.start && rowIndex <= visibleRowIndices.stop;\n var key = \"\".concat(rowIndex, \"-\").concat(columnIndex);\n var style = void 0;\n\n // Cache style objects so shallow-compare doesn't re-render unnecessarily.\n if (canCacheStyle && styleCache[key]) {\n style = styleCache[key];\n } else {\n // In deferred mode, cells will be initially rendered before we know their size.\n // Don't interfere with CellMeasurer's measurements by setting an invalid size.\n if (deferredMeasurementCache && !deferredMeasurementCache.has(rowIndex, columnIndex)) {\n // Position not-yet-measured cells at top/left 0,0,\n // And give them width/height of 'auto' so they can grow larger than the parent Grid if necessary.\n // Positioning them further to the right/bottom influences their measured size.\n style = {\n height: 'auto',\n left: 0,\n position: 'absolute',\n top: 0,\n width: 'auto'\n };\n } else {\n style = {\n height: rowDatum.size,\n left: columnDatum.offset + horizontalOffsetAdjustment,\n position: 'absolute',\n top: rowDatum.offset + verticalOffsetAdjustment,\n width: columnDatum.size\n };\n styleCache[key] = style;\n }\n }\n var cellRendererParams = {\n columnIndex: columnIndex,\n isScrolling: isScrolling,\n isVisible: isVisible,\n key: key,\n parent: parent,\n rowIndex: rowIndex,\n style: style\n };\n var renderedCell = void 0;\n\n // Avoid re-creating cells while scrolling.\n // This can lead to the same cell being created many times and can cause performance issues for \"heavy\" cells.\n // If a scroll is in progress- cache and reuse cells.\n // This cache will be thrown away once scrolling completes.\n // However if we are scaling scroll positions and sizes, we should also avoid caching.\n // This is because the offset changes slightly as scroll position changes and caching leads to stale values.\n // For more info refer to issue #395\n //\n // If isScrollingOptOut is specified, we always cache cells.\n // For more info refer to issue #1028\n if ((isScrollingOptOut || isScrolling) && !horizontalOffsetAdjustment && !verticalOffsetAdjustment) {\n if (!cellCache[key]) {\n cellCache[key] = cellRenderer(cellRendererParams);\n }\n renderedCell = cellCache[key];\n\n // If the user is no longer scrolling, don't cache cells.\n // This makes dynamic cell content difficult for users and would also lead to a heavier memory footprint.\n } else {\n renderedCell = cellRenderer(cellRendererParams);\n }\n if (renderedCell == null || renderedCell === false) {\n continue;\n }\n if (process.env.NODE_ENV !== 'production') {\n warnAboutMissingStyle(parent, renderedCell);\n }\n if (!renderedCell.props.role) {\n renderedCell = /*#__PURE__*/React.cloneElement(renderedCell, {\n role: 'gridcell'\n });\n }\n renderedCells.push(renderedCell);\n }\n }\n return renderedCells;\n}\nfunction warnAboutMissingStyle(parent, renderedCell) {\n if (process.env.NODE_ENV !== 'production') {\n if (renderedCell) {\n // If the direct child is a CellMeasurer, then we should check its child\n // See issue #611\n if (renderedCell.type && renderedCell.type.__internalCellMeasurerFlag) {\n renderedCell = renderedCell.props.children;\n }\n if (renderedCell && renderedCell.props && renderedCell.props.style === undefined && parent.__warnedAboutMissingStyle !== true) {\n parent.__warnedAboutMissingStyle = true;\n console.warn('Rendered cell should include style property for positioning.');\n }\n }\n }\n}","import { caf, raf } from './animationFrame';\n/*:: export type AnimationTimeoutId = {\n id: number,\n};*/\nexport var cancelAnimationTimeout = function cancelAnimationTimeout(frame /*: AnimationTimeoutId*/) {\n return caf(frame.id);\n};\n\n/**\n * Recursively calls requestAnimationFrame until a specified delay has been met or exceeded.\n * When the delay time has been reached the function you're timing out will be called.\n *\n * Credit: Joe Lambert (https://gist.github.com/joelambert/1002116#file-requesttimeout-js)\n */\nexport var requestAnimationTimeout = function requestAnimationTimeout(callback /*: Function*/, delay /*: number*/) /*: AnimationTimeoutId*/{\n var start;\n // wait for end of processing current event handler, because event handler may be long\n Promise.resolve().then(function () {\n start = Date.now();\n });\n var _timeout = function timeout() {\n if (Date.now() - start >= delay) {\n callback.call();\n } else {\n frame.id = raf(_timeout);\n }\n };\n var frame /*: AnimationTimeoutId*/ = {\n id: raf(_timeout)\n };\n return frame;\n};","import _extends from \"@babel/runtime/helpers/extends\";\nimport _typeof from \"@babel/runtime/helpers/typeof\";\nimport _classCallCheck from \"@babel/runtime/helpers/classCallCheck\";\nimport _createClass from \"@babel/runtime/helpers/createClass\";\nimport _possibleConstructorReturn from \"@babel/runtime/helpers/possibleConstructorReturn\";\nimport _getPrototypeOf from \"@babel/runtime/helpers/getPrototypeOf\";\nimport _inherits from \"@babel/runtime/helpers/inherits\";\nimport _defineProperty from \"@babel/runtime/helpers/defineProperty\";\nfunction ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }\nfunction _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }\nfunction _callSuper(t, o, e) { return o = _getPrototypeOf(o), _possibleConstructorReturn(t, _isNativeReflectConstruct() ? Reflect.construct(o, e || [], _getPrototypeOf(t).constructor) : o.apply(t, e)); }\nfunction _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); } catch (t) {} return (_isNativeReflectConstruct = function _isNativeReflectConstruct() { return !!t; })(); }\n/*:: import type {\n CellRenderer,\n CellRangeRenderer,\n CellPosition,\n CellSize,\n CellSizeGetter,\n NoContentRenderer,\n Scroll,\n ScrollbarPresenceChange,\n RenderedSection,\n OverscanIndicesGetter,\n Alignment,\n CellCache,\n StyleCache,\n} from './types';*/\n/*:: import type {AnimationTimeoutId} from '../utils/requestAnimationTimeout';*/\nimport * as React from 'react';\nimport clsx from 'clsx';\nimport calculateSizeAndPositionDataAndUpdateScrollOffset from './utils/calculateSizeAndPositionDataAndUpdateScrollOffset';\nimport ScalingCellSizeAndPositionManager from './utils/ScalingCellSizeAndPositionManager';\nimport createCallbackMemoizer from '../utils/createCallbackMemoizer';\nimport defaultOverscanIndicesGetter, { SCROLL_DIRECTION_BACKWARD, SCROLL_DIRECTION_FORWARD } from './defaultOverscanIndicesGetter';\nimport updateScrollIndexHelper from './utils/updateScrollIndexHelper';\nimport defaultCellRangeRenderer from './defaultCellRangeRenderer';\nimport scrollbarSize from 'dom-helpers/scrollbarSize';\nimport { polyfill } from 'react-lifecycles-compat';\nimport { requestAnimationTimeout, cancelAnimationTimeout } from '../utils/requestAnimationTimeout';\n\n/**\n * Specifies the number of milliseconds during which to disable pointer events while a scroll is in progress.\n * This improves performance and makes scrolling smoother.\n */\nexport var DEFAULT_SCROLLING_RESET_TIME_INTERVAL = 150;\n\n/**\n * Controls whether the Grid updates the DOM element's scrollLeft/scrollTop based on the current state or just observes it.\n * This prevents Grid from interrupting mouse-wheel animations (see issue #2).\n */\nvar SCROLL_POSITION_CHANGE_REASONS = {\n OBSERVED: 'observed',\n REQUESTED: 'requested'\n};\nvar renderNull /*: NoContentRenderer*/ = function renderNull() {\n return null;\n};\n/*:: type ScrollPosition = {\n scrollTop?: number,\n scrollLeft?: number,\n};*/\n/*:: type Props = {\n 'aria-label': string,\n 'aria-readonly'?: boolean,\n\n /**\n * Set the width of the inner scrollable container to 'auto'.\n * This is useful for single-column Grids to ensure that the column doesn't extend below a vertical scrollbar.\n *-/\n autoContainerWidth: boolean,\n\n /**\n * Removes fixed height from the scrollingContainer so that the total height of rows can stretch the window.\n * Intended for use with WindowScroller\n *-/\n autoHeight: boolean,\n\n /**\n * Removes fixed width from the scrollingContainer so that the total width of rows can stretch the window.\n * Intended for use with WindowScroller\n *-/\n autoWidth: boolean,\n\n /** Responsible for rendering a cell given an row and column index. *-/\n cellRenderer: CellRenderer,\n\n /** Responsible for rendering a group of cells given their index ranges. *-/\n cellRangeRenderer: CellRangeRenderer,\n\n /** Optional custom CSS class name to attach to root Grid element. *-/\n className?: string,\n\n /** Number of columns in grid. *-/\n columnCount: number,\n\n /** Either a fixed column width (number) or a function that returns the width of a column given its index. *-/\n columnWidth: CellSize,\n\n /** Unfiltered props for the Grid container. *-/\n containerProps?: Object,\n\n /** ARIA role for the cell-container. *-/\n containerRole: string,\n\n /** Optional inline style applied to inner cell-container *-/\n containerStyle: Object,\n\n /**\n * If CellMeasurer is used to measure this Grid's children, this should be a pointer to its CellMeasurerCache.\n * A shared CellMeasurerCache reference enables Grid and CellMeasurer to share measurement data.\n *-/\n deferredMeasurementCache?: Object,\n\n /**\n * Used to estimate the total width of a Grid before all of its columns have actually been measured.\n * The estimated total width is adjusted as columns are rendered.\n *-/\n estimatedColumnSize: number,\n\n /**\n * Used to estimate the total height of a Grid before all of its rows have actually been measured.\n * The estimated total height is adjusted as rows are rendered.\n *-/\n estimatedRowSize: number,\n\n /** Exposed for testing purposes only. *-/\n getScrollbarSize: () => number,\n\n /** Height of Grid; this property determines the number of visible (vs virtualized) rows. *-/\n height: number,\n\n /** Optional custom id to attach to root Grid element. *-/\n id?: string,\n\n /**\n * Override internal is-scrolling state tracking.\n * This property is primarily intended for use with the WindowScroller component.\n *-/\n isScrolling?: boolean,\n\n /**\n * Opt-out of isScrolling param passed to cellRangeRenderer.\n * To avoid the extra render when scroll stops.\n *-/\n isScrollingOptOut: boolean,\n\n /** Optional renderer to be used in place of rows when either :rowCount or :columnCount is 0. *-/\n noContentRenderer: NoContentRenderer,\n\n /**\n * Callback invoked whenever the scroll offset changes within the inner scrollable region.\n * This callback can be used to sync scrolling between lists, tables, or grids.\n *-/\n onScroll: (params: Scroll) => void,\n\n /**\n * Called whenever a horizontal or vertical scrollbar is added or removed.\n * This prop is not intended for end-user use;\n * It is used by MultiGrid to support fixed-row/fixed-column scroll syncing.\n *-/\n onScrollbarPresenceChange: (params: ScrollbarPresenceChange) => void,\n\n /** Callback invoked with information about the section of the Grid that was just rendered. *-/\n onSectionRendered: (params: RenderedSection) => void,\n\n /**\n * Number of columns to render before/after the visible section of the grid.\n * These columns can help for smoother scrolling on touch devices or browsers that send scroll events infrequently.\n *-/\n overscanColumnCount: number,\n\n /**\n * Calculates the number of cells to overscan before and after a specified range.\n * This function ensures that overscanning doesn't exceed the available cells.\n *-/\n overscanIndicesGetter: OverscanIndicesGetter,\n\n /**\n * Number of rows to render above/below the visible section of the grid.\n * These rows can help for smoother scrolling on touch devices or browsers that send scroll events infrequently.\n *-/\n overscanRowCount: number,\n\n /** ARIA role for the grid element. *-/\n role: string,\n\n /**\n * Either a fixed row height (number) or a function that returns the height of a row given its index.\n * Should implement the following interface: ({ index: number }): number\n *-/\n rowHeight: CellSize,\n\n /** Number of rows in grid. *-/\n rowCount: number,\n\n /** Wait this amount of time after the last scroll event before resetting Grid `pointer-events`. *-/\n scrollingResetTimeInterval: number,\n\n /** Horizontal offset. *-/\n scrollLeft?: number,\n\n /**\n * Controls scroll-to-cell behavior of the Grid.\n * The default (\"auto\") scrolls the least amount possible to ensure that the specified cell is fully visible.\n * Use \"start\" to align cells to the top/left of the Grid and \"end\" to align bottom/right.\n *-/\n scrollToAlignment: Alignment,\n\n /** Column index to ensure visible (by forcefully scrolling if necessary) *-/\n scrollToColumn: number,\n\n /** Vertical offset. *-/\n scrollTop?: number,\n\n /** Row index to ensure visible (by forcefully scrolling if necessary) *-/\n scrollToRow: number,\n\n /** Optional inline style *-/\n style: Object,\n\n /** Tab index for focus *-/\n tabIndex: ?number,\n\n /** Width of Grid; this property determines the number of visible (vs virtualized) columns. *-/\n width: number,\n\n /** Reference to DOM node *-/\n elementRef?: React.Ref,\n};*/\n/*:: type InstanceProps = {\n prevColumnWidth: CellSize,\n prevRowHeight: CellSize,\n\n prevColumnCount: number,\n prevRowCount: number,\n prevIsScrolling: boolean,\n prevScrollToColumn: number,\n prevScrollToRow: number,\n\n columnSizeAndPositionManager: ScalingCellSizeAndPositionManager,\n rowSizeAndPositionManager: ScalingCellSizeAndPositionManager,\n\n scrollbarSize: number,\n scrollbarSizeMeasured: boolean,\n};*/\n/*:: type State = {\n instanceProps: InstanceProps,\n isScrolling: boolean,\n scrollDirectionHorizontal: -1 | 1,\n scrollDirectionVertical: -1 | 1,\n scrollLeft: number,\n scrollTop: number,\n scrollPositionChangeReason: 'observed' | 'requested' | null,\n needToResetStyleCache: boolean,\n};*/\n/**\n * Renders tabular data with virtualization along the vertical and horizontal axes.\n * Row heights and column widths must be known ahead of time and specified as properties.\n */\nvar Grid = /*#__PURE__*/function (_React$PureComponent) {\n function Grid(props /*: Props*/) {\n var _this;\n _classCallCheck(this, Grid);\n _this = _callSuper(this, Grid, [props]);\n // Invokes onSectionRendered callback only when start/stop row or column indices change\n _defineProperty(_this, \"_onGridRenderedMemoizer\", createCallbackMemoizer());\n _defineProperty(_this, \"_onScrollMemoizer\", createCallbackMemoizer(false));\n _defineProperty(_this, \"_deferredInvalidateColumnIndex\", null);\n _defineProperty(_this, \"_deferredInvalidateRowIndex\", null);\n _defineProperty(_this, \"_recomputeScrollLeftFlag\", false);\n _defineProperty(_this, \"_recomputeScrollTopFlag\", false);\n _defineProperty(_this, \"_horizontalScrollBarSize\", 0);\n _defineProperty(_this, \"_verticalScrollBarSize\", 0);\n _defineProperty(_this, \"_scrollbarPresenceChanged\", false);\n _defineProperty(_this, \"_scrollingContainer\", void 0);\n _defineProperty(_this, \"_childrenToDisplay\", void 0);\n _defineProperty(_this, \"_columnStartIndex\", void 0);\n _defineProperty(_this, \"_columnStopIndex\", void 0);\n _defineProperty(_this, \"_rowStartIndex\", void 0);\n _defineProperty(_this, \"_rowStopIndex\", void 0);\n _defineProperty(_this, \"_renderedColumnStartIndex\", 0);\n _defineProperty(_this, \"_renderedColumnStopIndex\", 0);\n _defineProperty(_this, \"_renderedRowStartIndex\", 0);\n _defineProperty(_this, \"_renderedRowStopIndex\", 0);\n _defineProperty(_this, \"_initialScrollTop\", void 0);\n _defineProperty(_this, \"_initialScrollLeft\", void 0);\n _defineProperty(_this, \"_disablePointerEventsTimeoutId\", void 0);\n _defineProperty(_this, \"_styleCache\", {});\n _defineProperty(_this, \"_cellCache\", {});\n _defineProperty(_this, \"_debounceScrollEndedCallback\", function () {\n _this._disablePointerEventsTimeoutId = null;\n // isScrolling is used to determine if we reset styleCache\n _this.setState({\n isScrolling: false,\n needToResetStyleCache: false\n });\n });\n _defineProperty(_this, \"_invokeOnGridRenderedHelper\", function () {\n var onSectionRendered = _this.props.onSectionRendered;\n _this._onGridRenderedMemoizer({\n callback: onSectionRendered,\n indices: {\n columnOverscanStartIndex: _this._columnStartIndex,\n columnOverscanStopIndex: _this._columnStopIndex,\n columnStartIndex: _this._renderedColumnStartIndex,\n columnStopIndex: _this._renderedColumnStopIndex,\n rowOverscanStartIndex: _this._rowStartIndex,\n rowOverscanStopIndex: _this._rowStopIndex,\n rowStartIndex: _this._renderedRowStartIndex,\n rowStopIndex: _this._renderedRowStopIndex\n }\n });\n });\n _defineProperty(_this, \"_setScrollingContainerRef\", function (ref /*: Element*/) {\n _this._scrollingContainer = ref;\n if (typeof _this.props.elementRef === 'function') {\n _this.props.elementRef(ref);\n } else if (_typeof(_this.props.elementRef) === 'object') {\n _this.props.elementRef.current = ref;\n }\n });\n _defineProperty(_this, \"_onScroll\", function (event /*: Event*/) {\n // In certain edge-cases React dispatches an onScroll event with an invalid target.scrollLeft / target.scrollTop.\n // This invalid event can be detected by comparing event.target to this component's scrollable DOM element.\n // See issue #404 for more information.\n if (event.target === _this._scrollingContainer) {\n _this.handleScrollEvent((event.target /*: any*/));\n }\n });\n var columnSizeAndPositionManager = new ScalingCellSizeAndPositionManager({\n cellCount: props.columnCount,\n cellSizeGetter: function cellSizeGetter(params) {\n return Grid._wrapSizeGetter(props.columnWidth)(params);\n },\n estimatedCellSize: Grid._getEstimatedColumnSize(props)\n });\n var rowSizeAndPositionManager = new ScalingCellSizeAndPositionManager({\n cellCount: props.rowCount,\n cellSizeGetter: function cellSizeGetter(params) {\n return Grid._wrapSizeGetter(props.rowHeight)(params);\n },\n estimatedCellSize: Grid._getEstimatedRowSize(props)\n });\n _this.state = {\n instanceProps: {\n columnSizeAndPositionManager: columnSizeAndPositionManager,\n rowSizeAndPositionManager: rowSizeAndPositionManager,\n prevColumnWidth: props.columnWidth,\n prevRowHeight: props.rowHeight,\n prevColumnCount: props.columnCount,\n prevRowCount: props.rowCount,\n prevIsScrolling: props.isScrolling === true,\n prevScrollToColumn: props.scrollToColumn,\n prevScrollToRow: props.scrollToRow,\n scrollbarSize: 0,\n scrollbarSizeMeasured: false\n },\n isScrolling: false,\n scrollDirectionHorizontal: SCROLL_DIRECTION_FORWARD,\n scrollDirectionVertical: SCROLL_DIRECTION_FORWARD,\n scrollLeft: 0,\n scrollTop: 0,\n scrollPositionChangeReason: null,\n needToResetStyleCache: false\n };\n if (props.scrollToRow > 0) {\n _this._initialScrollTop = _this._getCalculatedScrollTop(props, _this.state);\n }\n if (props.scrollToColumn > 0) {\n _this._initialScrollLeft = _this._getCalculatedScrollLeft(props, _this.state);\n }\n return _this;\n }\n\n /**\n * Gets offsets for a given cell and alignment.\n */\n _inherits(Grid, _React$PureComponent);\n return _createClass(Grid, [{\n key: \"getOffsetForCell\",\n value: function getOffsetForCell() {\n var _ref = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {},\n _ref$alignment = _ref.alignment,\n alignment = _ref$alignment === void 0 ? this.props.scrollToAlignment : _ref$alignment,\n _ref$columnIndex = _ref.columnIndex,\n columnIndex = _ref$columnIndex === void 0 ? this.props.scrollToColumn : _ref$columnIndex,\n _ref$rowIndex = _ref.rowIndex,\n rowIndex = _ref$rowIndex === void 0 ? this.props.scrollToRow : _ref$rowIndex;\n var offsetProps = _objectSpread(_objectSpread({}, this.props), {}, {\n scrollToAlignment: alignment,\n scrollToColumn: columnIndex,\n scrollToRow: rowIndex\n });\n return {\n scrollLeft: this._getCalculatedScrollLeft(offsetProps),\n scrollTop: this._getCalculatedScrollTop(offsetProps)\n };\n }\n\n /**\n * Gets estimated total rows' height.\n */\n }, {\n key: \"getTotalRowsHeight\",\n value: function getTotalRowsHeight() {\n return this.state.instanceProps.rowSizeAndPositionManager.getTotalSize();\n }\n\n /**\n * Gets estimated total columns' width.\n */\n }, {\n key: \"getTotalColumnsWidth\",\n value: function getTotalColumnsWidth() {\n return this.state.instanceProps.columnSizeAndPositionManager.getTotalSize();\n }\n\n /**\n * This method handles a scroll event originating from an external scroll control.\n * It's an advanced method and should probably not be used unless you're implementing a custom scroll-bar solution.\n */\n }, {\n key: \"handleScrollEvent\",\n value: function handleScrollEvent(_ref2 /*:: */) {\n var _ref2$scrollLeft = _ref2 /*:: */.scrollLeft,\n scrollLeftParam = _ref2$scrollLeft === void 0 ? 0 : _ref2$scrollLeft,\n _ref2$scrollTop = _ref2 /*:: */.scrollTop,\n scrollTopParam = _ref2$scrollTop === void 0 ? 0 : _ref2$scrollTop;\n // On iOS, we can arrive at negative offsets by swiping past the start.\n // To prevent flicker here, we make playing in the negative offset zone cause nothing to happen.\n if (scrollTopParam < 0) {\n return;\n }\n\n // Prevent pointer events from interrupting a smooth scroll\n this._debounceScrollEnded();\n var _this$props = this.props,\n autoHeight = _this$props.autoHeight,\n autoWidth = _this$props.autoWidth,\n height = _this$props.height,\n width = _this$props.width;\n var instanceProps = this.state.instanceProps;\n\n // When this component is shrunk drastically, React dispatches a series of back-to-back scroll events,\n // Gradually converging on a scrollTop that is within the bounds of the new, smaller height.\n // This causes a series of rapid renders that is slow for long lists.\n // We can avoid that by doing some simple bounds checking to ensure that scroll offsets never exceed their bounds.\n var scrollbarSize = instanceProps.scrollbarSize;\n var totalRowsHeight = instanceProps.rowSizeAndPositionManager.getTotalSize();\n var totalColumnsWidth = instanceProps.columnSizeAndPositionManager.getTotalSize();\n var scrollLeft = Math.min(Math.max(0, totalColumnsWidth - width + scrollbarSize), scrollLeftParam);\n var scrollTop = Math.min(Math.max(0, totalRowsHeight - height + scrollbarSize), scrollTopParam);\n\n // Certain devices (like Apple touchpad) rapid-fire duplicate events.\n // Don't force a re-render if this is the case.\n // The mouse may move faster then the animation frame does.\n // Use requestAnimationFrame to avoid over-updating.\n if (this.state.scrollLeft !== scrollLeft || this.state.scrollTop !== scrollTop) {\n // Track scrolling direction so we can more efficiently overscan rows to reduce empty space around the edges while scrolling.\n // Don't change direction for an axis unless scroll offset has changed.\n var scrollDirectionHorizontal = scrollLeft !== this.state.scrollLeft ? scrollLeft > this.state.scrollLeft ? SCROLL_DIRECTION_FORWARD : SCROLL_DIRECTION_BACKWARD : this.state.scrollDirectionHorizontal;\n var scrollDirectionVertical = scrollTop !== this.state.scrollTop ? scrollTop > this.state.scrollTop ? SCROLL_DIRECTION_FORWARD : SCROLL_DIRECTION_BACKWARD : this.state.scrollDirectionVertical;\n var newState /*: $Shape*/ = {\n isScrolling: true,\n scrollDirectionHorizontal: scrollDirectionHorizontal,\n scrollDirectionVertical: scrollDirectionVertical,\n scrollPositionChangeReason: SCROLL_POSITION_CHANGE_REASONS.OBSERVED\n };\n if (!autoHeight) {\n newState.scrollTop = scrollTop;\n }\n if (!autoWidth) {\n newState.scrollLeft = scrollLeft;\n }\n newState.needToResetStyleCache = false;\n this.setState(newState);\n }\n this._invokeOnScrollMemoizer({\n scrollLeft: scrollLeft,\n scrollTop: scrollTop,\n totalColumnsWidth: totalColumnsWidth,\n totalRowsHeight: totalRowsHeight\n });\n }\n\n /**\n * Invalidate Grid size and recompute visible cells.\n * This is a deferred wrapper for recomputeGridSize().\n * It sets a flag to be evaluated on cDM/cDU to avoid unnecessary renders.\n * This method is intended for advanced use-cases like CellMeasurer.\n */\n // @TODO (bvaughn) Add automated test coverage for this.\n }, {\n key: \"invalidateCellSizeAfterRender\",\n value: function invalidateCellSizeAfterRender(_ref3 /*:: */) {\n var columnIndex = _ref3 /*:: */.columnIndex,\n rowIndex = _ref3 /*:: */.rowIndex;\n this._deferredInvalidateColumnIndex = typeof this._deferredInvalidateColumnIndex === 'number' ? Math.min(this._deferredInvalidateColumnIndex, columnIndex) : columnIndex;\n this._deferredInvalidateRowIndex = typeof this._deferredInvalidateRowIndex === 'number' ? Math.min(this._deferredInvalidateRowIndex, rowIndex) : rowIndex;\n }\n\n /**\n * Pre-measure all columns and rows in a Grid.\n * Typically cells are only measured as needed and estimated sizes are used for cells that have not yet been measured.\n * This method ensures that the next call to getTotalSize() returns an exact size (as opposed to just an estimated one).\n */\n }, {\n key: \"measureAllCells\",\n value: function measureAllCells() {\n var _this$props2 = this.props,\n columnCount = _this$props2.columnCount,\n rowCount = _this$props2.rowCount;\n var instanceProps = this.state.instanceProps;\n instanceProps.columnSizeAndPositionManager.getSizeAndPositionOfCell(columnCount - 1);\n instanceProps.rowSizeAndPositionManager.getSizeAndPositionOfCell(rowCount - 1);\n }\n\n /**\n * Forced recompute of row heights and column widths.\n * This function should be called if dynamic column or row sizes have changed but nothing else has.\n * Since Grid only receives :columnCount and :rowCount it has no way of detecting when the underlying data changes.\n */\n }, {\n key: \"recomputeGridSize\",\n value: function recomputeGridSize() {\n var _ref4 = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {},\n _ref4$columnIndex = _ref4.columnIndex,\n columnIndex = _ref4$columnIndex === void 0 ? 0 : _ref4$columnIndex,\n _ref4$rowIndex = _ref4.rowIndex,\n rowIndex = _ref4$rowIndex === void 0 ? 0 : _ref4$rowIndex;\n var _this$props3 = this.props,\n scrollToColumn = _this$props3.scrollToColumn,\n scrollToRow = _this$props3.scrollToRow;\n var instanceProps = this.state.instanceProps;\n instanceProps.columnSizeAndPositionManager.resetCell(columnIndex);\n instanceProps.rowSizeAndPositionManager.resetCell(rowIndex);\n\n // Cell sizes may be determined by a function property.\n // In this case the cDU handler can't know if they changed.\n // Store this flag to let the next cDU pass know it needs to recompute the scroll offset.\n this._recomputeScrollLeftFlag = scrollToColumn >= 0 && (this.state.scrollDirectionHorizontal === SCROLL_DIRECTION_FORWARD ? columnIndex <= scrollToColumn : columnIndex >= scrollToColumn);\n this._recomputeScrollTopFlag = scrollToRow >= 0 && (this.state.scrollDirectionVertical === SCROLL_DIRECTION_FORWARD ? rowIndex <= scrollToRow : rowIndex >= scrollToRow);\n\n // Clear cell cache in case we are scrolling;\n // Invalid row heights likely mean invalid cached content as well.\n this._styleCache = {};\n this._cellCache = {};\n this.forceUpdate();\n }\n\n /**\n * Ensure column and row are visible.\n */\n }, {\n key: \"scrollToCell\",\n value: function scrollToCell(_ref5 /*:: */) {\n var columnIndex = _ref5 /*:: */.columnIndex,\n rowIndex = _ref5 /*:: */.rowIndex;\n var columnCount = this.props.columnCount;\n var props = this.props;\n\n // Don't adjust scroll offset for single-column grids (eg List, Table).\n // This can cause a funky scroll offset because of the vertical scrollbar width.\n if (columnCount > 1 && columnIndex !== undefined) {\n this._updateScrollLeftForScrollToColumn(_objectSpread(_objectSpread({}, props), {}, {\n scrollToColumn: columnIndex\n }));\n }\n if (rowIndex !== undefined) {\n this._updateScrollTopForScrollToRow(_objectSpread(_objectSpread({}, props), {}, {\n scrollToRow: rowIndex\n }));\n }\n }\n }, {\n key: \"componentDidMount\",\n value: function componentDidMount() {\n var _this$props4 = this.props,\n getScrollbarSize = _this$props4.getScrollbarSize,\n height = _this$props4.height,\n scrollLeft = _this$props4.scrollLeft,\n scrollToColumn = _this$props4.scrollToColumn,\n scrollTop = _this$props4.scrollTop,\n scrollToRow = _this$props4.scrollToRow,\n width = _this$props4.width;\n var instanceProps = this.state.instanceProps;\n\n // Reset initial offsets to be ignored in browser\n this._initialScrollTop = 0;\n this._initialScrollLeft = 0;\n\n // If cell sizes have been invalidated (eg we are using CellMeasurer) then reset cached positions.\n // We must do this at the start of the method as we may calculate and update scroll position below.\n this._handleInvalidatedGridSize();\n\n // If this component was first rendered server-side, scrollbar size will be undefined.\n // In that event we need to remeasure.\n if (!instanceProps.scrollbarSizeMeasured) {\n this.setState(function (prevState) {\n var stateUpdate = _objectSpread(_objectSpread({}, prevState), {}, {\n needToResetStyleCache: false\n });\n stateUpdate.instanceProps.scrollbarSize = getScrollbarSize();\n stateUpdate.instanceProps.scrollbarSizeMeasured = true;\n return stateUpdate;\n });\n }\n if (typeof scrollLeft === 'number' && scrollLeft >= 0 || typeof scrollTop === 'number' && scrollTop >= 0) {\n var stateUpdate = Grid._getScrollToPositionStateUpdate({\n prevState: this.state,\n scrollLeft: scrollLeft,\n scrollTop: scrollTop\n });\n if (stateUpdate) {\n stateUpdate.needToResetStyleCache = false;\n this.setState(stateUpdate);\n }\n }\n\n // refs don't work in `react-test-renderer`\n if (this._scrollingContainer) {\n // setting the ref's scrollLeft and scrollTop.\n // Somehow in MultiGrid the main grid doesn't trigger a update on mount.\n if (this._scrollingContainer.scrollLeft !== this.state.scrollLeft) {\n this._scrollingContainer.scrollLeft = this.state.scrollLeft;\n }\n if (this._scrollingContainer.scrollTop !== this.state.scrollTop) {\n this._scrollingContainer.scrollTop = this.state.scrollTop;\n }\n }\n\n // Don't update scroll offset if the size is 0; we don't render any cells in this case.\n // Setting a state may cause us to later thing we've updated the offce when we haven't.\n var sizeIsBiggerThanZero = height > 0 && width > 0;\n if (scrollToColumn >= 0 && sizeIsBiggerThanZero) {\n this._updateScrollLeftForScrollToColumn();\n }\n if (scrollToRow >= 0 && sizeIsBiggerThanZero) {\n this._updateScrollTopForScrollToRow();\n }\n\n // Update onRowsRendered callback\n this._invokeOnGridRenderedHelper();\n\n // Initialize onScroll callback\n this._invokeOnScrollMemoizer({\n scrollLeft: scrollLeft || 0,\n scrollTop: scrollTop || 0,\n totalColumnsWidth: instanceProps.columnSizeAndPositionManager.getTotalSize(),\n totalRowsHeight: instanceProps.rowSizeAndPositionManager.getTotalSize()\n });\n this._maybeCallOnScrollbarPresenceChange();\n }\n\n /**\n * @private\n * This method updates scrollLeft/scrollTop in state for the following conditions:\n * 1) New scroll-to-cell props have been set\n */\n }, {\n key: \"componentDidUpdate\",\n value: function componentDidUpdate(prevProps /*: Props*/, prevState /*: State*/) {\n var _this2 = this;\n var _this$props5 = this.props,\n autoHeight = _this$props5.autoHeight,\n autoWidth = _this$props5.autoWidth,\n columnCount = _this$props5.columnCount,\n height = _this$props5.height,\n rowCount = _this$props5.rowCount,\n scrollToAlignment = _this$props5.scrollToAlignment,\n scrollToColumn = _this$props5.scrollToColumn,\n scrollToRow = _this$props5.scrollToRow,\n width = _this$props5.width;\n var _this$state = this.state,\n scrollLeft = _this$state.scrollLeft,\n scrollPositionChangeReason = _this$state.scrollPositionChangeReason,\n scrollTop = _this$state.scrollTop,\n instanceProps = _this$state.instanceProps;\n // If cell sizes have been invalidated (eg we are using CellMeasurer) then reset cached positions.\n // We must do this at the start of the method as we may calculate and update scroll position below.\n this._handleInvalidatedGridSize();\n\n // Handle edge case where column or row count has only just increased over 0.\n // In this case we may have to restore a previously-specified scroll offset.\n // For more info see bvaughn/react-virtualized/issues/218\n var columnOrRowCountJustIncreasedFromZero = columnCount > 0 && prevProps.columnCount === 0 || rowCount > 0 && prevProps.rowCount === 0;\n\n // Make sure requested changes to :scrollLeft or :scrollTop get applied.\n // Assigning to scrollLeft/scrollTop tells the browser to interrupt any running scroll animations,\n // And to discard any pending async changes to the scroll position that may have happened in the meantime (e.g. on a separate scrolling thread).\n // So we only set these when we require an adjustment of the scroll position.\n // See issue #2 for more information.\n if (scrollPositionChangeReason === SCROLL_POSITION_CHANGE_REASONS.REQUESTED) {\n // @TRICKY :autoHeight and :autoWidth properties instructs Grid to leave :scrollTop and :scrollLeft management to an external HOC (eg WindowScroller).\n // In this case we should avoid checking scrollingContainer.scrollTop and scrollingContainer.scrollLeft since it forces layout/flow.\n if (!autoWidth && scrollLeft >= 0 && (scrollLeft !== this._scrollingContainer.scrollLeft || columnOrRowCountJustIncreasedFromZero)) {\n this._scrollingContainer.scrollLeft = scrollLeft;\n }\n if (!autoHeight && scrollTop >= 0 && (scrollTop !== this._scrollingContainer.scrollTop || columnOrRowCountJustIncreasedFromZero)) {\n this._scrollingContainer.scrollTop = scrollTop;\n }\n }\n\n // Special case where the previous size was 0:\n // In this case we don't show any windowed cells at all.\n // So we should always recalculate offset afterwards.\n var sizeJustIncreasedFromZero = (prevProps.width === 0 || prevProps.height === 0) && height > 0 && width > 0;\n\n // Update scroll offsets if the current :scrollToColumn or :scrollToRow values requires it\n // @TODO Do we also need this check or can the one in componentWillUpdate() suffice?\n if (this._recomputeScrollLeftFlag) {\n this._recomputeScrollLeftFlag = false;\n this._updateScrollLeftForScrollToColumn(this.props);\n } else {\n updateScrollIndexHelper({\n cellSizeAndPositionManager: instanceProps.columnSizeAndPositionManager,\n previousCellsCount: prevProps.columnCount,\n previousCellSize: prevProps.columnWidth,\n previousScrollToAlignment: prevProps.scrollToAlignment,\n previousScrollToIndex: prevProps.scrollToColumn,\n previousSize: prevProps.width,\n scrollOffset: scrollLeft,\n scrollToAlignment: scrollToAlignment,\n scrollToIndex: scrollToColumn,\n size: width,\n sizeJustIncreasedFromZero: sizeJustIncreasedFromZero,\n updateScrollIndexCallback: function updateScrollIndexCallback() {\n return _this2._updateScrollLeftForScrollToColumn(_this2.props);\n }\n });\n }\n if (this._recomputeScrollTopFlag) {\n this._recomputeScrollTopFlag = false;\n this._updateScrollTopForScrollToRow(this.props);\n } else {\n updateScrollIndexHelper({\n cellSizeAndPositionManager: instanceProps.rowSizeAndPositionManager,\n previousCellsCount: prevProps.rowCount,\n previousCellSize: prevProps.rowHeight,\n previousScrollToAlignment: prevProps.scrollToAlignment,\n previousScrollToIndex: prevProps.scrollToRow,\n previousSize: prevProps.height,\n scrollOffset: scrollTop,\n scrollToAlignment: scrollToAlignment,\n scrollToIndex: scrollToRow,\n size: height,\n sizeJustIncreasedFromZero: sizeJustIncreasedFromZero,\n updateScrollIndexCallback: function updateScrollIndexCallback() {\n return _this2._updateScrollTopForScrollToRow(_this2.props);\n }\n });\n }\n\n // Update onRowsRendered callback if start/stop indices have changed\n this._invokeOnGridRenderedHelper();\n\n // Changes to :scrollLeft or :scrollTop should also notify :onScroll listeners\n if (scrollLeft !== prevState.scrollLeft || scrollTop !== prevState.scrollTop) {\n var totalRowsHeight = instanceProps.rowSizeAndPositionManager.getTotalSize();\n var totalColumnsWidth = instanceProps.columnSizeAndPositionManager.getTotalSize();\n this._invokeOnScrollMemoizer({\n scrollLeft: scrollLeft,\n scrollTop: scrollTop,\n totalColumnsWidth: totalColumnsWidth,\n totalRowsHeight: totalRowsHeight\n });\n }\n this._maybeCallOnScrollbarPresenceChange();\n }\n }, {\n key: \"componentWillUnmount\",\n value: function componentWillUnmount() {\n if (this._disablePointerEventsTimeoutId) {\n cancelAnimationTimeout(this._disablePointerEventsTimeoutId);\n }\n }\n\n /**\n * This method updates scrollLeft/scrollTop in state for the following conditions:\n * 1) Empty content (0 rows or columns)\n * 2) New scroll props overriding the current state\n * 3) Cells-count or cells-size has changed, making previous scroll offsets invalid\n */\n }, {\n key: \"render\",\n value: function render() {\n var _this$props6 = this.props,\n autoContainerWidth = _this$props6.autoContainerWidth,\n autoHeight = _this$props6.autoHeight,\n autoWidth = _this$props6.autoWidth,\n className = _this$props6.className,\n containerProps = _this$props6.containerProps,\n containerRole = _this$props6.containerRole,\n containerStyle = _this$props6.containerStyle,\n height = _this$props6.height,\n id = _this$props6.id,\n noContentRenderer = _this$props6.noContentRenderer,\n role = _this$props6.role,\n style = _this$props6.style,\n tabIndex = _this$props6.tabIndex,\n width = _this$props6.width;\n var _this$state2 = this.state,\n instanceProps = _this$state2.instanceProps,\n needToResetStyleCache = _this$state2.needToResetStyleCache;\n var isScrolling = this._isScrolling();\n var gridStyle /*: Object*/ = {\n boxSizing: 'border-box',\n direction: 'ltr',\n height: autoHeight ? 'auto' : height,\n position: 'relative',\n width: autoWidth ? 'auto' : width,\n WebkitOverflowScrolling: 'touch',\n willChange: 'transform'\n };\n if (needToResetStyleCache) {\n this._styleCache = {};\n }\n\n // calculate _styleCache here\n // if state.isScrolling (not from _isScrolling) then reset\n if (!this.state.isScrolling) {\n this._resetStyleCache();\n }\n\n // calculate children to render here\n this._calculateChildrenToRender(this.props, this.state);\n var totalColumnsWidth = instanceProps.columnSizeAndPositionManager.getTotalSize();\n var totalRowsHeight = instanceProps.rowSizeAndPositionManager.getTotalSize();\n\n // Force browser to hide scrollbars when we know they aren't necessary.\n // Otherwise once scrollbars appear they may not disappear again.\n // For more info see issue #116\n var verticalScrollBarSize = totalRowsHeight > height ? instanceProps.scrollbarSize : 0;\n var horizontalScrollBarSize = totalColumnsWidth > width ? instanceProps.scrollbarSize : 0;\n if (horizontalScrollBarSize !== this._horizontalScrollBarSize || verticalScrollBarSize !== this._verticalScrollBarSize) {\n this._horizontalScrollBarSize = horizontalScrollBarSize;\n this._verticalScrollBarSize = verticalScrollBarSize;\n this._scrollbarPresenceChanged = true;\n }\n\n // Also explicitly init styles to 'auto' if scrollbars are required.\n // This works around an obscure edge case where external CSS styles have not yet been loaded,\n // But an initial scroll index of offset is set as an external prop.\n // Without this style, Grid would render the correct range of cells but would NOT update its internal offset.\n // This was originally reported via clauderic/react-infinite-calendar/issues/23\n gridStyle.overflowX = totalColumnsWidth + verticalScrollBarSize <= width ? 'hidden' : 'auto';\n gridStyle.overflowY = totalRowsHeight + horizontalScrollBarSize <= height ? 'hidden' : 'auto';\n var childrenToDisplay = this._childrenToDisplay;\n var showNoContentRenderer = childrenToDisplay.length === 0 && height > 0 && width > 0;\n return /*#__PURE__*/React.createElement(\"div\", _extends({\n ref: this._setScrollingContainerRef\n }, containerProps, {\n \"aria-label\": this.props['aria-label'],\n \"aria-readonly\": this.props['aria-readonly'],\n className: clsx('ReactVirtualized__Grid', className),\n id: id,\n onScroll: this._onScroll,\n role: role,\n style: _objectSpread(_objectSpread({}, gridStyle), style),\n tabIndex: tabIndex\n }), childrenToDisplay.length > 0 && /*#__PURE__*/React.createElement(\"div\", {\n className: \"ReactVirtualized__Grid__innerScrollContainer\",\n role: containerRole,\n style: _objectSpread({\n width: autoContainerWidth ? 'auto' : totalColumnsWidth,\n height: totalRowsHeight,\n maxWidth: totalColumnsWidth,\n maxHeight: totalRowsHeight,\n overflow: 'hidden',\n pointerEvents: isScrolling ? 'none' : '',\n position: 'relative'\n }, containerStyle)\n }, childrenToDisplay), showNoContentRenderer && noContentRenderer());\n }\n\n /* ---------------------------- Helper methods ---------------------------- */\n }, {\n key: \"_calculateChildrenToRender\",\n value: function _calculateChildrenToRender() {\n var props /*: Props*/ = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : this.props;\n var state /*: State*/ = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : this.state;\n var cellRenderer = props.cellRenderer,\n cellRangeRenderer = props.cellRangeRenderer,\n columnCount = props.columnCount,\n deferredMeasurementCache = props.deferredMeasurementCache,\n height = props.height,\n overscanColumnCount = props.overscanColumnCount,\n overscanIndicesGetter = props.overscanIndicesGetter,\n overscanRowCount = props.overscanRowCount,\n rowCount = props.rowCount,\n width = props.width,\n isScrollingOptOut = props.isScrollingOptOut;\n var scrollDirectionHorizontal = state.scrollDirectionHorizontal,\n scrollDirectionVertical = state.scrollDirectionVertical,\n instanceProps = state.instanceProps;\n var scrollTop = this._initialScrollTop > 0 ? this._initialScrollTop : state.scrollTop;\n var scrollLeft = this._initialScrollLeft > 0 ? this._initialScrollLeft : state.scrollLeft;\n var isScrolling = this._isScrolling(props, state);\n this._childrenToDisplay = [];\n\n // Render only enough columns and rows to cover the visible area of the grid.\n if (height > 0 && width > 0) {\n var visibleColumnIndices = instanceProps.columnSizeAndPositionManager.getVisibleCellRange({\n containerSize: width,\n offset: scrollLeft\n });\n var visibleRowIndices = instanceProps.rowSizeAndPositionManager.getVisibleCellRange({\n containerSize: height,\n offset: scrollTop\n });\n var horizontalOffsetAdjustment = instanceProps.columnSizeAndPositionManager.getOffsetAdjustment({\n containerSize: width,\n offset: scrollLeft\n });\n var verticalOffsetAdjustment = instanceProps.rowSizeAndPositionManager.getOffsetAdjustment({\n containerSize: height,\n offset: scrollTop\n });\n\n // Store for _invokeOnGridRenderedHelper()\n this._renderedColumnStartIndex = visibleColumnIndices.start;\n this._renderedColumnStopIndex = visibleColumnIndices.stop;\n this._renderedRowStartIndex = visibleRowIndices.start;\n this._renderedRowStopIndex = visibleRowIndices.stop;\n var overscanColumnIndices = overscanIndicesGetter({\n direction: 'horizontal',\n cellCount: columnCount,\n overscanCellsCount: overscanColumnCount,\n scrollDirection: scrollDirectionHorizontal,\n startIndex: typeof visibleColumnIndices.start === 'number' ? visibleColumnIndices.start : 0,\n stopIndex: typeof visibleColumnIndices.stop === 'number' ? visibleColumnIndices.stop : -1\n });\n var overscanRowIndices = overscanIndicesGetter({\n direction: 'vertical',\n cellCount: rowCount,\n overscanCellsCount: overscanRowCount,\n scrollDirection: scrollDirectionVertical,\n startIndex: typeof visibleRowIndices.start === 'number' ? visibleRowIndices.start : 0,\n stopIndex: typeof visibleRowIndices.stop === 'number' ? visibleRowIndices.stop : -1\n });\n\n // Store for _invokeOnGridRenderedHelper()\n var columnStartIndex = overscanColumnIndices.overscanStartIndex;\n var columnStopIndex = overscanColumnIndices.overscanStopIndex;\n var rowStartIndex = overscanRowIndices.overscanStartIndex;\n var rowStopIndex = overscanRowIndices.overscanStopIndex;\n\n // Advanced use-cases (eg CellMeasurer) require batched measurements to determine accurate sizes.\n if (deferredMeasurementCache) {\n // If rows have a dynamic height, scan the rows we are about to render.\n // If any have not yet been measured, then we need to render all columns initially,\n // Because the height of the row is equal to the tallest cell within that row,\n // (And so we can't know the height without measuring all column-cells first).\n if (!deferredMeasurementCache.hasFixedHeight()) {\n for (var rowIndex = rowStartIndex; rowIndex <= rowStopIndex; rowIndex++) {\n if (!deferredMeasurementCache.has(rowIndex, 0)) {\n columnStartIndex = 0;\n columnStopIndex = columnCount - 1;\n break;\n }\n }\n }\n\n // If columns have a dynamic width, scan the columns we are about to render.\n // If any have not yet been measured, then we need to render all rows initially,\n // Because the width of the column is equal to the widest cell within that column,\n // (And so we can't know the width without measuring all row-cells first).\n if (!deferredMeasurementCache.hasFixedWidth()) {\n for (var columnIndex = columnStartIndex; columnIndex <= columnStopIndex; columnIndex++) {\n if (!deferredMeasurementCache.has(0, columnIndex)) {\n rowStartIndex = 0;\n rowStopIndex = rowCount - 1;\n break;\n }\n }\n }\n }\n this._childrenToDisplay = cellRangeRenderer({\n cellCache: this._cellCache,\n cellRenderer: cellRenderer,\n columnSizeAndPositionManager: instanceProps.columnSizeAndPositionManager,\n columnStartIndex: columnStartIndex,\n columnStopIndex: columnStopIndex,\n deferredMeasurementCache: deferredMeasurementCache,\n horizontalOffsetAdjustment: horizontalOffsetAdjustment,\n isScrolling: isScrolling,\n isScrollingOptOut: isScrollingOptOut,\n parent: this,\n rowSizeAndPositionManager: instanceProps.rowSizeAndPositionManager,\n rowStartIndex: rowStartIndex,\n rowStopIndex: rowStopIndex,\n scrollLeft: scrollLeft,\n scrollTop: scrollTop,\n styleCache: this._styleCache,\n verticalOffsetAdjustment: verticalOffsetAdjustment,\n visibleColumnIndices: visibleColumnIndices,\n visibleRowIndices: visibleRowIndices\n });\n\n // update the indices\n this._columnStartIndex = columnStartIndex;\n this._columnStopIndex = columnStopIndex;\n this._rowStartIndex = rowStartIndex;\n this._rowStopIndex = rowStopIndex;\n }\n }\n\n /**\n * Sets an :isScrolling flag for a small window of time.\n * This flag is used to disable pointer events on the scrollable portion of the Grid.\n * This prevents jerky/stuttery mouse-wheel scrolling.\n */\n }, {\n key: \"_debounceScrollEnded\",\n value: function _debounceScrollEnded() {\n var scrollingResetTimeInterval = this.props.scrollingResetTimeInterval;\n if (this._disablePointerEventsTimeoutId) {\n cancelAnimationTimeout(this._disablePointerEventsTimeoutId);\n }\n this._disablePointerEventsTimeoutId = requestAnimationTimeout(this._debounceScrollEndedCallback, scrollingResetTimeInterval);\n }\n }, {\n key: \"_handleInvalidatedGridSize\",\n value:\n /**\n * Check for batched CellMeasurer size invalidations.\n * This will occur the first time one or more previously unmeasured cells are rendered.\n */\n function _handleInvalidatedGridSize() {\n if (typeof this._deferredInvalidateColumnIndex === 'number' && typeof this._deferredInvalidateRowIndex === 'number') {\n var columnIndex = this._deferredInvalidateColumnIndex;\n var rowIndex = this._deferredInvalidateRowIndex;\n this._deferredInvalidateColumnIndex = null;\n this._deferredInvalidateRowIndex = null;\n this.recomputeGridSize({\n columnIndex: columnIndex,\n rowIndex: rowIndex\n });\n }\n }\n }, {\n key: \"_invokeOnScrollMemoizer\",\n value: function _invokeOnScrollMemoizer(_ref6 /*:: */) {\n var _this3 = this;\n var scrollLeft = _ref6 /*:: */.scrollLeft,\n scrollTop = _ref6 /*:: */.scrollTop,\n totalColumnsWidth = _ref6 /*:: */.totalColumnsWidth,\n totalRowsHeight = _ref6 /*:: */.totalRowsHeight;\n this._onScrollMemoizer({\n callback: function callback(_ref7) {\n var scrollLeft = _ref7.scrollLeft,\n scrollTop = _ref7.scrollTop;\n var _this3$props = _this3.props,\n height = _this3$props.height,\n onScroll = _this3$props.onScroll,\n width = _this3$props.width;\n onScroll({\n clientHeight: height,\n clientWidth: width,\n scrollHeight: totalRowsHeight,\n scrollLeft: scrollLeft,\n scrollTop: scrollTop,\n scrollWidth: totalColumnsWidth\n });\n },\n indices: {\n scrollLeft: scrollLeft,\n scrollTop: scrollTop\n }\n });\n }\n }, {\n key: \"_isScrolling\",\n value: function _isScrolling() /*: boolean*/{\n var props /*: Props*/ = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : this.props;\n var state /*: State*/ = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : this.state;\n // If isScrolling is defined in props, use it to override the value in state\n // This is a performance optimization for WindowScroller + Grid\n return Object.hasOwnProperty.call(props, 'isScrolling') ? Boolean(props.isScrolling) : Boolean(state.isScrolling);\n }\n }, {\n key: \"_maybeCallOnScrollbarPresenceChange\",\n value: function _maybeCallOnScrollbarPresenceChange() {\n if (this._scrollbarPresenceChanged) {\n var onScrollbarPresenceChange = this.props.onScrollbarPresenceChange;\n this._scrollbarPresenceChanged = false;\n onScrollbarPresenceChange({\n horizontal: this._horizontalScrollBarSize > 0,\n size: this.state.instanceProps.scrollbarSize,\n vertical: this._verticalScrollBarSize > 0\n });\n }\n }\n }, {\n key: \"scrollToPosition\",\n value:\n /**\n * Scroll to the specified offset(s).\n * Useful for animating position changes.\n */\n function scrollToPosition(_ref8 /*:: */) {\n var scrollLeft = _ref8 /*:: */.scrollLeft,\n scrollTop = _ref8 /*:: */.scrollTop;\n var stateUpdate = Grid._getScrollToPositionStateUpdate({\n prevState: this.state,\n scrollLeft: scrollLeft,\n scrollTop: scrollTop\n });\n if (stateUpdate) {\n stateUpdate.needToResetStyleCache = false;\n this.setState(stateUpdate);\n }\n }\n }, {\n key: \"_getCalculatedScrollLeft\",\n value: function _getCalculatedScrollLeft() {\n var props /*: Props*/ = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : this.props;\n var state /*: State*/ = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : this.state;\n return Grid._getCalculatedScrollLeft(props, state);\n }\n }, {\n key: \"_updateScrollLeftForScrollToColumn\",\n value: function _updateScrollLeftForScrollToColumn() {\n var props /*: Props*/ = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : this.props;\n var state /*: State*/ = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : this.state;\n var stateUpdate = Grid._getScrollLeftForScrollToColumnStateUpdate(props, state);\n if (stateUpdate) {\n stateUpdate.needToResetStyleCache = false;\n this.setState(stateUpdate);\n }\n }\n }, {\n key: \"_getCalculatedScrollTop\",\n value: function _getCalculatedScrollTop() {\n var props /*: Props*/ = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : this.props;\n var state /*: State*/ = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : this.state;\n return Grid._getCalculatedScrollTop(props, state);\n }\n }, {\n key: \"_resetStyleCache\",\n value: function _resetStyleCache() {\n var styleCache = this._styleCache;\n var cellCache = this._cellCache;\n var isScrollingOptOut = this.props.isScrollingOptOut;\n\n // Reset cell and style caches once scrolling stops.\n // This makes Grid simpler to use (since cells commonly change).\n // And it keeps the caches from growing too large.\n // Performance is most sensitive when a user is scrolling.\n // Don't clear visible cells from cellCache if isScrollingOptOut is specified.\n // This keeps the cellCache to a resonable size.\n this._cellCache = {};\n this._styleCache = {};\n\n // Copy over the visible cell styles so avoid unnecessary re-render.\n for (var rowIndex = this._rowStartIndex; rowIndex <= this._rowStopIndex; rowIndex++) {\n for (var columnIndex = this._columnStartIndex; columnIndex <= this._columnStopIndex; columnIndex++) {\n var key = \"\".concat(rowIndex, \"-\").concat(columnIndex);\n this._styleCache[key] = styleCache[key];\n if (isScrollingOptOut) {\n this._cellCache[key] = cellCache[key];\n }\n }\n }\n }\n }, {\n key: \"_updateScrollTopForScrollToRow\",\n value: function _updateScrollTopForScrollToRow() {\n var props /*: Props*/ = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : this.props;\n var state /*: State*/ = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : this.state;\n var stateUpdate = Grid._getScrollTopForScrollToRowStateUpdate(props, state);\n if (stateUpdate) {\n stateUpdate.needToResetStyleCache = false;\n this.setState(stateUpdate);\n }\n }\n }], [{\n key: \"getDerivedStateFromProps\",\n value: function getDerivedStateFromProps(nextProps /*: Props*/, prevState /*: State*/) /*: $Shape*/{\n var newState = {};\n if (nextProps.columnCount === 0 && prevState.scrollLeft !== 0 || nextProps.rowCount === 0 && prevState.scrollTop !== 0) {\n newState.scrollLeft = 0;\n newState.scrollTop = 0;\n\n // only use scroll{Left,Top} from props if scrollTo{Column,Row} isn't specified\n // scrollTo{Column,Row} should override scroll{Left,Top}\n } else if (nextProps.scrollLeft !== prevState.scrollLeft && nextProps.scrollToColumn < 0 || nextProps.scrollTop !== prevState.scrollTop && nextProps.scrollToRow < 0) {\n Object.assign(newState, Grid._getScrollToPositionStateUpdate({\n prevState: prevState,\n scrollLeft: nextProps.scrollLeft,\n scrollTop: nextProps.scrollTop\n }));\n }\n var instanceProps = prevState.instanceProps;\n\n // Initially we should not clearStyleCache\n newState.needToResetStyleCache = false;\n if (nextProps.columnWidth !== instanceProps.prevColumnWidth || nextProps.rowHeight !== instanceProps.prevRowHeight) {\n // Reset cache. set it to {} in render\n newState.needToResetStyleCache = true;\n }\n instanceProps.columnSizeAndPositionManager.configure({\n cellCount: nextProps.columnCount,\n estimatedCellSize: Grid._getEstimatedColumnSize(nextProps),\n cellSizeGetter: Grid._wrapSizeGetter(nextProps.columnWidth)\n });\n instanceProps.rowSizeAndPositionManager.configure({\n cellCount: nextProps.rowCount,\n estimatedCellSize: Grid._getEstimatedRowSize(nextProps),\n cellSizeGetter: Grid._wrapSizeGetter(nextProps.rowHeight)\n });\n if (instanceProps.prevColumnCount === 0 || instanceProps.prevRowCount === 0) {\n instanceProps.prevColumnCount = 0;\n instanceProps.prevRowCount = 0;\n }\n\n // If scrolling is controlled outside this component, clear cache when scrolling stops\n if (nextProps.autoHeight && nextProps.isScrolling === false && instanceProps.prevIsScrolling === true) {\n Object.assign(newState, {\n isScrolling: false\n });\n }\n var maybeStateA;\n var maybeStateB;\n calculateSizeAndPositionDataAndUpdateScrollOffset({\n cellCount: instanceProps.prevColumnCount,\n cellSize: typeof instanceProps.prevColumnWidth === 'number' ? instanceProps.prevColumnWidth : null,\n computeMetadataCallback: function computeMetadataCallback() {\n return instanceProps.columnSizeAndPositionManager.resetCell(0);\n },\n computeMetadataCallbackProps: nextProps,\n nextCellsCount: nextProps.columnCount,\n nextCellSize: typeof nextProps.columnWidth === 'number' ? nextProps.columnWidth : null,\n nextScrollToIndex: nextProps.scrollToColumn,\n scrollToIndex: instanceProps.prevScrollToColumn,\n updateScrollOffsetForScrollToIndex: function updateScrollOffsetForScrollToIndex() {\n maybeStateA = Grid._getScrollLeftForScrollToColumnStateUpdate(nextProps, prevState);\n }\n });\n calculateSizeAndPositionDataAndUpdateScrollOffset({\n cellCount: instanceProps.prevRowCount,\n cellSize: typeof instanceProps.prevRowHeight === 'number' ? instanceProps.prevRowHeight : null,\n computeMetadataCallback: function computeMetadataCallback() {\n return instanceProps.rowSizeAndPositionManager.resetCell(0);\n },\n computeMetadataCallbackProps: nextProps,\n nextCellsCount: nextProps.rowCount,\n nextCellSize: typeof nextProps.rowHeight === 'number' ? nextProps.rowHeight : null,\n nextScrollToIndex: nextProps.scrollToRow,\n scrollToIndex: instanceProps.prevScrollToRow,\n updateScrollOffsetForScrollToIndex: function updateScrollOffsetForScrollToIndex() {\n maybeStateB = Grid._getScrollTopForScrollToRowStateUpdate(nextProps, prevState);\n }\n });\n instanceProps.prevColumnCount = nextProps.columnCount;\n instanceProps.prevColumnWidth = nextProps.columnWidth;\n instanceProps.prevIsScrolling = nextProps.isScrolling === true;\n instanceProps.prevRowCount = nextProps.rowCount;\n instanceProps.prevRowHeight = nextProps.rowHeight;\n instanceProps.prevScrollToColumn = nextProps.scrollToColumn;\n instanceProps.prevScrollToRow = nextProps.scrollToRow;\n\n // getting scrollBarSize (moved from componentWillMount)\n instanceProps.scrollbarSize = nextProps.getScrollbarSize();\n if (instanceProps.scrollbarSize === undefined) {\n instanceProps.scrollbarSizeMeasured = false;\n instanceProps.scrollbarSize = 0;\n } else {\n instanceProps.scrollbarSizeMeasured = true;\n }\n newState.instanceProps = instanceProps;\n return _objectSpread(_objectSpread(_objectSpread({}, newState), maybeStateA), maybeStateB);\n }\n }, {\n key: \"_getEstimatedColumnSize\",\n value: function _getEstimatedColumnSize(props /*: Props*/) {\n return typeof props.columnWidth === 'number' ? props.columnWidth : props.estimatedColumnSize;\n }\n }, {\n key: \"_getEstimatedRowSize\",\n value: function _getEstimatedRowSize(props /*: Props*/) {\n return typeof props.rowHeight === 'number' ? props.rowHeight : props.estimatedRowSize;\n }\n }, {\n key: \"_getScrollToPositionStateUpdate\",\n value:\n /**\n * Get the updated state after scrolling to\n * scrollLeft and scrollTop\n */\n function _getScrollToPositionStateUpdate(_ref9 /*:: */) /*: $Shape*/{\n var prevState = _ref9 /*:: */.prevState,\n scrollLeft = _ref9 /*:: */.scrollLeft,\n scrollTop = _ref9 /*:: */.scrollTop;\n var newState /*: Object*/ = {\n scrollPositionChangeReason: SCROLL_POSITION_CHANGE_REASONS.REQUESTED\n };\n if (typeof scrollLeft === 'number' && scrollLeft >= 0) {\n newState.scrollDirectionHorizontal = scrollLeft > prevState.scrollLeft ? SCROLL_DIRECTION_FORWARD : SCROLL_DIRECTION_BACKWARD;\n newState.scrollLeft = scrollLeft;\n }\n if (typeof scrollTop === 'number' && scrollTop >= 0) {\n newState.scrollDirectionVertical = scrollTop > prevState.scrollTop ? SCROLL_DIRECTION_FORWARD : SCROLL_DIRECTION_BACKWARD;\n newState.scrollTop = scrollTop;\n }\n if (typeof scrollLeft === 'number' && scrollLeft >= 0 && scrollLeft !== prevState.scrollLeft || typeof scrollTop === 'number' && scrollTop >= 0 && scrollTop !== prevState.scrollTop) {\n return newState;\n }\n return {};\n }\n }, {\n key: \"_wrapSizeGetter\",\n value: function _wrapSizeGetter(value /*: CellSize*/) /*: CellSizeGetter*/{\n return typeof value === 'function' ? value : function () {\n return (value /*: any*/);\n };\n }\n }, {\n key: \"_getCalculatedScrollLeft\",\n value: function _getCalculatedScrollLeft(nextProps /*: Props*/, prevState /*: State*/) {\n var columnCount = nextProps.columnCount,\n height = nextProps.height,\n scrollToAlignment = nextProps.scrollToAlignment,\n scrollToColumn = nextProps.scrollToColumn,\n width = nextProps.width;\n var scrollLeft = prevState.scrollLeft,\n instanceProps = prevState.instanceProps;\n if (columnCount > 0) {\n var finalColumn = columnCount - 1;\n var targetIndex = scrollToColumn < 0 ? finalColumn : Math.min(finalColumn, scrollToColumn);\n var totalRowsHeight = instanceProps.rowSizeAndPositionManager.getTotalSize();\n var scrollBarSize = instanceProps.scrollbarSizeMeasured && totalRowsHeight > height ? instanceProps.scrollbarSize : 0;\n return instanceProps.columnSizeAndPositionManager.getUpdatedOffsetForIndex({\n align: scrollToAlignment,\n containerSize: width - scrollBarSize,\n currentOffset: scrollLeft,\n targetIndex: targetIndex\n });\n }\n return 0;\n }\n }, {\n key: \"_getScrollLeftForScrollToColumnStateUpdate\",\n value: function _getScrollLeftForScrollToColumnStateUpdate(nextProps /*: Props*/, prevState /*: State*/) /*: $Shape*/{\n var scrollLeft = prevState.scrollLeft;\n var calculatedScrollLeft = Grid._getCalculatedScrollLeft(nextProps, prevState);\n if (typeof calculatedScrollLeft === 'number' && calculatedScrollLeft >= 0 && scrollLeft !== calculatedScrollLeft) {\n return Grid._getScrollToPositionStateUpdate({\n prevState: prevState,\n scrollLeft: calculatedScrollLeft,\n scrollTop: -1\n });\n }\n return {};\n }\n }, {\n key: \"_getCalculatedScrollTop\",\n value: function _getCalculatedScrollTop(nextProps /*: Props*/, prevState /*: State*/) {\n var height = nextProps.height,\n rowCount = nextProps.rowCount,\n scrollToAlignment = nextProps.scrollToAlignment,\n scrollToRow = nextProps.scrollToRow,\n width = nextProps.width;\n var scrollTop = prevState.scrollTop,\n instanceProps = prevState.instanceProps;\n if (rowCount > 0) {\n var finalRow = rowCount - 1;\n var targetIndex = scrollToRow < 0 ? finalRow : Math.min(finalRow, scrollToRow);\n var totalColumnsWidth = instanceProps.columnSizeAndPositionManager.getTotalSize();\n var scrollBarSize = instanceProps.scrollbarSizeMeasured && totalColumnsWidth > width ? instanceProps.scrollbarSize : 0;\n return instanceProps.rowSizeAndPositionManager.getUpdatedOffsetForIndex({\n align: scrollToAlignment,\n containerSize: height - scrollBarSize,\n currentOffset: scrollTop,\n targetIndex: targetIndex\n });\n }\n return 0;\n }\n }, {\n key: \"_getScrollTopForScrollToRowStateUpdate\",\n value: function _getScrollTopForScrollToRowStateUpdate(nextProps /*: Props*/, prevState /*: State*/) /*: $Shape*/{\n var scrollTop = prevState.scrollTop;\n var calculatedScrollTop = Grid._getCalculatedScrollTop(nextProps, prevState);\n if (typeof calculatedScrollTop === 'number' && calculatedScrollTop >= 0 && scrollTop !== calculatedScrollTop) {\n return Grid._getScrollToPositionStateUpdate({\n prevState: prevState,\n scrollLeft: -1,\n scrollTop: calculatedScrollTop\n });\n }\n return {};\n }\n }]);\n}(React.PureComponent);\n_defineProperty(Grid, \"defaultProps\", {\n 'aria-label': 'grid',\n 'aria-readonly': true,\n autoContainerWidth: false,\n autoHeight: false,\n autoWidth: false,\n cellRangeRenderer: defaultCellRangeRenderer,\n containerRole: 'row',\n containerStyle: {},\n estimatedColumnSize: 100,\n estimatedRowSize: 30,\n getScrollbarSize: scrollbarSize,\n noContentRenderer: renderNull,\n onScroll: function onScroll() {},\n onScrollbarPresenceChange: function onScrollbarPresenceChange() {},\n onSectionRendered: function onSectionRendered() {},\n overscanColumnCount: 0,\n overscanIndicesGetter: defaultOverscanIndicesGetter,\n overscanRowCount: 10,\n role: 'grid',\n scrollingResetTimeInterval: DEFAULT_SCROLLING_RESET_TIME_INTERVAL,\n scrollToAlignment: 'auto',\n scrollToColumn: -1,\n scrollToRow: -1,\n style: {},\n tabIndex: 0,\n isScrollingOptOut: false\n});\npolyfill(Grid);\nexport default Grid;","/*:: import type {OverscanIndicesGetterParams, OverscanIndices} from './types';*/\nexport var SCROLL_DIRECTION_BACKWARD = -1;\nexport var SCROLL_DIRECTION_FORWARD = 1;\nexport var SCROLL_DIRECTION_HORIZONTAL = 'horizontal';\nexport var SCROLL_DIRECTION_VERTICAL = 'vertical';\n\n/**\n * Calculates the number of cells to overscan before and after a specified range.\n * This function ensures that overscanning doesn't exceed the available cells.\n */\n\nexport default function defaultOverscanIndicesGetter(_ref /*:: */) /*: OverscanIndices*/{\n var cellCount = _ref /*:: */.cellCount,\n overscanCellsCount = _ref /*:: */.overscanCellsCount,\n scrollDirection = _ref /*:: */.scrollDirection,\n startIndex = _ref /*:: */.startIndex,\n stopIndex = _ref /*:: */.stopIndex;\n if (scrollDirection === SCROLL_DIRECTION_FORWARD) {\n return {\n overscanStartIndex: Math.max(0, startIndex),\n overscanStopIndex: Math.min(cellCount - 1, stopIndex + overscanCellsCount)\n };\n } else {\n return {\n overscanStartIndex: Math.max(0, startIndex - overscanCellsCount),\n overscanStopIndex: Math.min(cellCount - 1, stopIndex)\n };\n }\n}","/*:: import type {OverscanIndicesGetterParams, OverscanIndices} from './types';*/\nexport var SCROLL_DIRECTION_BACKWARD = -1;\nexport var SCROLL_DIRECTION_FORWARD = 1;\nexport var SCROLL_DIRECTION_HORIZONTAL = 'horizontal';\nexport var SCROLL_DIRECTION_VERTICAL = 'vertical';\n\n/**\n * Calculates the number of cells to overscan before and after a specified range.\n * This function ensures that overscanning doesn't exceed the available cells.\n */\n\nexport default function defaultOverscanIndicesGetter(_ref /*:: */) /*: OverscanIndices*/{\n var cellCount = _ref /*:: */.cellCount,\n overscanCellsCount = _ref /*:: */.overscanCellsCount,\n scrollDirection = _ref /*:: */.scrollDirection,\n startIndex = _ref /*:: */.startIndex,\n stopIndex = _ref /*:: */.stopIndex;\n // Make sure we render at least 1 cell extra before and after (except near boundaries)\n // This is necessary in order to support keyboard navigation (TAB/SHIFT+TAB) in some cases\n // For more info see issues #625\n overscanCellsCount = Math.max(1, overscanCellsCount);\n if (scrollDirection === SCROLL_DIRECTION_FORWARD) {\n return {\n overscanStartIndex: Math.max(0, startIndex - 1),\n overscanStopIndex: Math.min(cellCount - 1, stopIndex + overscanCellsCount)\n };\n } else {\n return {\n overscanStartIndex: Math.max(0, startIndex - overscanCellsCount),\n overscanStopIndex: Math.min(cellCount - 1, stopIndex + 1)\n };\n }\n}","function _arrayLikeToArray(r, a) {\n (null == a || a > r.length) && (a = r.length);\n for (var e = 0, n = Array(a); e < a; e++) n[e] = r[e];\n return n;\n}\nmodule.exports = _arrayLikeToArray, module.exports.__esModule = true, module.exports[\"default\"] = module.exports;","var arrayLikeToArray = require(\"./arrayLikeToArray.js\");\nfunction _arrayWithoutHoles(r) {\n if (Array.isArray(r)) return arrayLikeToArray(r);\n}\nmodule.exports = _arrayWithoutHoles, module.exports.__esModule = true, module.exports[\"default\"] = module.exports;","function _iterableToArray(r) {\n if (\"undefined\" != typeof Symbol && null != r[Symbol.iterator] || null != r[\"@@iterator\"]) return Array.from(r);\n}\nmodule.exports = _iterableToArray, module.exports.__esModule = true, module.exports[\"default\"] = module.exports;","var arrayLikeToArray = require(\"./arrayLikeToArray.js\");\nfunction _unsupportedIterableToArray(r, a) {\n if (r) {\n if (\"string\" == typeof r) return arrayLikeToArray(r, a);\n var t = {}.toString.call(r).slice(8, -1);\n return \"Object\" === t && r.constructor && (t = r.constructor.name), \"Map\" === t || \"Set\" === t ? Array.from(r) : \"Arguments\" === t || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t) ? arrayLikeToArray(r, a) : void 0;\n }\n}\nmodule.exports = _unsupportedIterableToArray, module.exports.__esModule = true, module.exports[\"default\"] = module.exports;","function _nonIterableSpread() {\n throw new TypeError(\"Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.\");\n}\nmodule.exports = _nonIterableSpread, module.exports.__esModule = true, module.exports[\"default\"] = module.exports;","var arrayWithoutHoles = require(\"./arrayWithoutHoles.js\");\nvar iterableToArray = require(\"./iterableToArray.js\");\nvar unsupportedIterableToArray = require(\"./unsupportedIterableToArray.js\");\nvar nonIterableSpread = require(\"./nonIterableSpread.js\");\nfunction _toConsumableArray(r) {\n return arrayWithoutHoles(r) || iterableToArray(r) || unsupportedIterableToArray(r) || nonIterableSpread();\n}\nmodule.exports = _toConsumableArray, module.exports.__esModule = true, module.exports[\"default\"] = module.exports;","import _toConsumableArray from \"@babel/runtime/helpers/toConsumableArray\";\nimport _classCallCheck from \"@babel/runtime/helpers/classCallCheck\";\nimport _createClass from \"@babel/runtime/helpers/createClass\";\nimport _possibleConstructorReturn from \"@babel/runtime/helpers/possibleConstructorReturn\";\nimport _getPrototypeOf from \"@babel/runtime/helpers/getPrototypeOf\";\nimport _inherits from \"@babel/runtime/helpers/inherits\";\nimport _defineProperty from \"@babel/runtime/helpers/defineProperty\";\nfunction _callSuper(t, o, e) { return o = _getPrototypeOf(o), _possibleConstructorReturn(t, _isNativeReflectConstruct() ? Reflect.construct(o, e || [], _getPrototypeOf(t).constructor) : o.apply(t, e)); }\nfunction _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); } catch (t) {} return (_isNativeReflectConstruct = function _isNativeReflectConstruct() { return !!t; })(); }\nimport * as React from 'react';\nimport PropTypes from 'prop-types';\nimport createCallbackMemoizer from '../utils/createCallbackMemoizer';\n\n/**\n * Higher-order component that manages lazy-loading for \"infinite\" data.\n * This component decorates a virtual component and just-in-time prefetches rows as a user scrolls.\n * It is intended as a convenience component; fork it if you'd like finer-grained control over data-loading.\n */\nvar InfiniteLoader = /*#__PURE__*/function (_React$PureComponent) {\n function InfiniteLoader(props, context) {\n var _this;\n _classCallCheck(this, InfiniteLoader);\n _this = _callSuper(this, InfiniteLoader, [props, context]);\n _this._loadMoreRowsMemoizer = createCallbackMemoizer();\n _this._onRowsRendered = _this._onRowsRendered.bind(_this);\n _this._registerChild = _this._registerChild.bind(_this);\n return _this;\n }\n _inherits(InfiniteLoader, _React$PureComponent);\n return _createClass(InfiniteLoader, [{\n key: \"resetLoadMoreRowsCache\",\n value: function resetLoadMoreRowsCache(autoReload) {\n this._loadMoreRowsMemoizer = createCallbackMemoizer();\n if (autoReload) {\n this._doStuff(this._lastRenderedStartIndex, this._lastRenderedStopIndex);\n }\n }\n }, {\n key: \"render\",\n value: function render() {\n var children = this.props.children;\n return children({\n onRowsRendered: this._onRowsRendered,\n registerChild: this._registerChild\n });\n }\n }, {\n key: \"_loadUnloadedRanges\",\n value: function _loadUnloadedRanges(unloadedRanges) {\n var _this2 = this;\n var loadMoreRows = this.props.loadMoreRows;\n unloadedRanges.forEach(function (unloadedRange) {\n var promise = loadMoreRows(unloadedRange);\n if (promise) {\n promise.then(function () {\n // Refresh the visible rows if any of them have just been loaded.\n // Otherwise they will remain in their unloaded visual state.\n if (isRangeVisible({\n lastRenderedStartIndex: _this2._lastRenderedStartIndex,\n lastRenderedStopIndex: _this2._lastRenderedStopIndex,\n startIndex: unloadedRange.startIndex,\n stopIndex: unloadedRange.stopIndex\n })) {\n if (_this2._registeredChild) {\n forceUpdateReactVirtualizedComponent(_this2._registeredChild, _this2._lastRenderedStartIndex);\n }\n }\n });\n }\n });\n }\n }, {\n key: \"_onRowsRendered\",\n value: function _onRowsRendered(_ref) {\n var startIndex = _ref.startIndex,\n stopIndex = _ref.stopIndex;\n this._lastRenderedStartIndex = startIndex;\n this._lastRenderedStopIndex = stopIndex;\n this._doStuff(startIndex, stopIndex);\n }\n }, {\n key: \"_doStuff\",\n value: function _doStuff(startIndex, stopIndex) {\n var _ref2,\n _this3 = this;\n var _this$props = this.props,\n isRowLoaded = _this$props.isRowLoaded,\n minimumBatchSize = _this$props.minimumBatchSize,\n rowCount = _this$props.rowCount,\n threshold = _this$props.threshold;\n var unloadedRanges = scanForUnloadedRanges({\n isRowLoaded: isRowLoaded,\n minimumBatchSize: minimumBatchSize,\n rowCount: rowCount,\n startIndex: Math.max(0, startIndex - threshold),\n stopIndex: Math.min(rowCount - 1, stopIndex + threshold)\n });\n\n // For memoize comparison\n var squashedUnloadedRanges = (_ref2 = []).concat.apply(_ref2, _toConsumableArray(unloadedRanges.map(function (_ref3) {\n var startIndex = _ref3.startIndex,\n stopIndex = _ref3.stopIndex;\n return [startIndex, stopIndex];\n })));\n this._loadMoreRowsMemoizer({\n callback: function callback() {\n _this3._loadUnloadedRanges(unloadedRanges);\n },\n indices: {\n squashedUnloadedRanges: squashedUnloadedRanges\n }\n });\n }\n }, {\n key: \"_registerChild\",\n value: function _registerChild(registeredChild) {\n this._registeredChild = registeredChild;\n }\n }]);\n}(React.PureComponent);\n/**\n * Determines if the specified start/stop range is visible based on the most recently rendered range.\n */\n_defineProperty(InfiniteLoader, \"defaultProps\", {\n minimumBatchSize: 10,\n rowCount: 0,\n threshold: 15\n});\nexport { InfiniteLoader as default };\nInfiniteLoader.propTypes = process.env.NODE_ENV !== \"production\" ? {\n /**\n * Function responsible for rendering a virtualized component.\n * This function should implement the following signature:\n * ({ onRowsRendered, registerChild }) => PropTypes.element\n *\n * The specified :onRowsRendered function should be passed through to the child's :onRowsRendered property.\n * The :registerChild callback should be set as the virtualized component's :ref.\n */\n children: PropTypes.func.isRequired,\n /**\n * Function responsible for tracking the loaded state of each row.\n * It should implement the following signature: ({ index: number }): boolean\n */\n isRowLoaded: PropTypes.func.isRequired,\n /**\n * Callback to be invoked when more rows must be loaded.\n * It should implement the following signature: ({ startIndex, stopIndex }): Promise\n * The returned Promise should be resolved once row data has finished loading.\n * It will be used to determine when to refresh the list with the newly-loaded data.\n * This callback may be called multiple times in reaction to a single scroll event.\n */\n loadMoreRows: PropTypes.func.isRequired,\n /**\n * Minimum number of rows to be loaded at a time.\n * This property can be used to batch requests to reduce HTTP requests.\n */\n minimumBatchSize: PropTypes.number.isRequired,\n /**\n * Number of rows in list; can be arbitrary high number if actual number is unknown.\n */\n rowCount: PropTypes.number.isRequired,\n /**\n * Threshold at which to pre-fetch data.\n * A threshold X means that data will start loading when a user scrolls within X rows.\n * This value defaults to 15.\n */\n threshold: PropTypes.number.isRequired\n} : {};\nexport function isRangeVisible(_ref4) {\n var lastRenderedStartIndex = _ref4.lastRenderedStartIndex,\n lastRenderedStopIndex = _ref4.lastRenderedStopIndex,\n startIndex = _ref4.startIndex,\n stopIndex = _ref4.stopIndex;\n return !(startIndex > lastRenderedStopIndex || stopIndex < lastRenderedStartIndex);\n}\n\n/**\n * Returns all of the ranges within a larger range that contain unloaded rows.\n */\nexport function scanForUnloadedRanges(_ref5) {\n var isRowLoaded = _ref5.isRowLoaded,\n minimumBatchSize = _ref5.minimumBatchSize,\n rowCount = _ref5.rowCount,\n startIndex = _ref5.startIndex,\n stopIndex = _ref5.stopIndex;\n var unloadedRanges = [];\n var rangeStartIndex = null;\n var rangeStopIndex = null;\n for (var index = startIndex; index <= stopIndex; index++) {\n var loaded = isRowLoaded({\n index: index\n });\n if (!loaded) {\n rangeStopIndex = index;\n if (rangeStartIndex === null) {\n rangeStartIndex = index;\n }\n } else if (rangeStopIndex !== null) {\n unloadedRanges.push({\n startIndex: rangeStartIndex,\n stopIndex: rangeStopIndex\n });\n rangeStartIndex = rangeStopIndex = null;\n }\n }\n\n // If :rangeStopIndex is not null it means we haven't ran out of unloaded rows.\n // Scan forward to try filling our :minimumBatchSize.\n if (rangeStopIndex !== null) {\n var potentialStopIndex = Math.min(Math.max(rangeStopIndex, rangeStartIndex + minimumBatchSize - 1), rowCount - 1);\n for (var _index = rangeStopIndex + 1; _index <= potentialStopIndex; _index++) {\n if (!isRowLoaded({\n index: _index\n })) {\n rangeStopIndex = _index;\n } else {\n break;\n }\n }\n unloadedRanges.push({\n startIndex: rangeStartIndex,\n stopIndex: rangeStopIndex\n });\n }\n\n // Check to see if our first range ended prematurely.\n // In this case we should scan backwards to try filling our :minimumBatchSize.\n if (unloadedRanges.length) {\n var firstUnloadedRange = unloadedRanges[0];\n while (firstUnloadedRange.stopIndex - firstUnloadedRange.startIndex + 1 < minimumBatchSize && firstUnloadedRange.startIndex > 0) {\n var _index2 = firstUnloadedRange.startIndex - 1;\n if (!isRowLoaded({\n index: _index2\n })) {\n firstUnloadedRange.startIndex = _index2;\n } else {\n break;\n }\n }\n }\n return unloadedRanges;\n}\n\n/**\n * Since RV components use shallowCompare we need to force a render (even though props haven't changed).\n * However InfiniteLoader may wrap a Grid or it may wrap a Table or List.\n * In the first case the built-in React forceUpdate() method is sufficient to force a re-render,\n * But in the latter cases we need to use the RV-specific forceUpdateGrid() method.\n * Else the inner Grid will not be re-rendered and visuals may be stale.\n *\n * Additionally, while a Grid is scrolling the cells can be cached,\n * So it's important to invalidate that cache by recalculating sizes\n * before forcing a rerender.\n */\nexport function forceUpdateReactVirtualizedComponent(component) {\n var currentIndex = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 0;\n var recomputeSize = typeof component.recomputeGridSize === 'function' ? component.recomputeGridSize : component.recomputeRowHeights;\n if (recomputeSize) {\n recomputeSize.call(component, currentIndex);\n } else {\n component.forceUpdate();\n }\n}","import _extends from \"@babel/runtime/helpers/extends\";\nimport _classCallCheck from \"@babel/runtime/helpers/classCallCheck\";\nimport _createClass from \"@babel/runtime/helpers/createClass\";\nimport _possibleConstructorReturn from \"@babel/runtime/helpers/possibleConstructorReturn\";\nimport _getPrototypeOf from \"@babel/runtime/helpers/getPrototypeOf\";\nimport _inherits from \"@babel/runtime/helpers/inherits\";\nimport _defineProperty from \"@babel/runtime/helpers/defineProperty\";\nfunction _callSuper(t, o, e) { return o = _getPrototypeOf(o), _possibleConstructorReturn(t, _isNativeReflectConstruct() ? Reflect.construct(o, e || [], _getPrototypeOf(t).constructor) : o.apply(t, e)); }\nfunction _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); } catch (t) {} return (_isNativeReflectConstruct = function _isNativeReflectConstruct() { return !!t; })(); }\n/*:: import type {\n NoContentRenderer,\n Alignment,\n CellSize,\n CellPosition,\n OverscanIndicesGetter,\n RenderedSection,\n CellRendererParams,\n Scroll as GridScroll,\n} from '../Grid';*/\n/*:: import type {RowRenderer, RenderedRows, Scroll} from './types';*/\nimport Grid, { accessibilityOverscanIndicesGetter } from '../Grid';\nimport * as React from 'react';\nimport clsx from 'clsx';\n\n/**\n * It is inefficient to create and manage a large list of DOM elements within a scrolling container\n * if only a few of those elements are visible. The primary purpose of this component is to improve\n * performance by only rendering the DOM nodes that a user is able to see based on their current\n * scroll position.\n *\n * This component renders a virtualized list of elements with either fixed or dynamic heights.\n */\n/*:: type Props = {\n 'aria-label'?: string,\n\n /**\n * Removes fixed height from the scrollingContainer so that the total height\n * of rows can stretch the window. Intended for use with WindowScroller\n *-/\n autoHeight: boolean,\n\n /** Optional CSS class name *-/\n className?: string,\n\n /**\n * Used to estimate the total height of a List before all of its rows have actually been measured.\n * The estimated total height is adjusted as rows are rendered.\n *-/\n estimatedRowSize: number,\n\n /** Height constraint for list (determines how many actual rows are rendered) *-/\n height: number,\n\n /** Optional renderer to be used in place of rows when rowCount is 0 *-/\n noRowsRenderer: NoContentRenderer,\n\n /** Callback invoked with information about the slice of rows that were just rendered. *-/\n\n onRowsRendered: (params: RenderedRows) => void,\n\n /**\n * Callback invoked whenever the scroll offset changes within the inner scrollable region.\n * This callback can be used to sync scrolling between lists, tables, or grids.\n *-/\n onScroll: (params: Scroll) => void,\n\n /** See Grid#overscanIndicesGetter *-/\n overscanIndicesGetter: OverscanIndicesGetter,\n\n /**\n * Number of rows to render above/below the visible bounds of the list.\n * These rows can help for smoother scrolling on touch devices.\n *-/\n overscanRowCount: number,\n\n /** Either a fixed row height (number) or a function that returns the height of a row given its index. *-/\n rowHeight: CellSize,\n\n /** Responsible for rendering a row given an index; ({ index: number }): node *-/\n rowRenderer: RowRenderer,\n\n /** Number of rows in list. *-/\n rowCount: number,\n\n /** See Grid#scrollToAlignment *-/\n scrollToAlignment: Alignment,\n\n /** Row index to ensure visible (by forcefully scrolling if necessary) *-/\n scrollToIndex: number,\n\n /** Vertical offset. *-/\n scrollTop?: number,\n\n /** Optional inline style *-/\n style: Object,\n\n /** Tab index for focus *-/\n tabIndex?: number,\n\n /** Width of list *-/\n width: number,\n};*/\nvar List = /*#__PURE__*/function (_React$PureComponent) {\n function List() {\n var _this;\n _classCallCheck(this, List);\n for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {\n args[_key] = arguments[_key];\n }\n _this = _callSuper(this, List, [].concat(args));\n _defineProperty(_this, \"Grid\", void 0);\n _defineProperty(_this, \"_cellRenderer\", function (_ref /*:: */) {\n var parent = _ref /*:: */.parent,\n rowIndex = _ref /*:: */.rowIndex,\n style = _ref /*:: */.style,\n isScrolling = _ref /*:: */.isScrolling,\n isVisible = _ref /*:: */.isVisible,\n key = _ref /*:: */.key;\n var rowRenderer = _this.props.rowRenderer;\n\n // TRICKY The style object is sometimes cached by Grid.\n // This prevents new style objects from bypassing shallowCompare().\n // However as of React 16, style props are auto-frozen (at least in dev mode)\n // Check to make sure we can still modify the style before proceeding.\n // https://github.com/facebook/react/commit/977357765b44af8ff0cfea327866861073095c12#commitcomment-20648713\n var widthDescriptor = Object.getOwnPropertyDescriptor(style, 'width');\n if (widthDescriptor && widthDescriptor.writable) {\n // By default, List cells should be 100% width.\n // This prevents them from flowing under a scrollbar (if present).\n style.width = '100%';\n }\n return rowRenderer({\n index: rowIndex,\n style: style,\n isScrolling: isScrolling,\n isVisible: isVisible,\n key: key,\n parent: parent\n });\n });\n _defineProperty(_this, \"_setRef\", function (ref /*: ?React.ElementRef*/) {\n _this.Grid = ref;\n });\n _defineProperty(_this, \"_onScroll\", function (_ref2 /*:: */) {\n var clientHeight = _ref2 /*:: */.clientHeight,\n scrollHeight = _ref2 /*:: */.scrollHeight,\n scrollTop = _ref2 /*:: */.scrollTop;\n var onScroll = _this.props.onScroll;\n onScroll({\n clientHeight: clientHeight,\n scrollHeight: scrollHeight,\n scrollTop: scrollTop\n });\n });\n _defineProperty(_this, \"_onSectionRendered\", function (_ref3 /*:: */) {\n var rowOverscanStartIndex = _ref3 /*:: */.rowOverscanStartIndex,\n rowOverscanStopIndex = _ref3 /*:: */.rowOverscanStopIndex,\n rowStartIndex = _ref3 /*:: */.rowStartIndex,\n rowStopIndex = _ref3 /*:: */.rowStopIndex;\n var onRowsRendered = _this.props.onRowsRendered;\n onRowsRendered({\n overscanStartIndex: rowOverscanStartIndex,\n overscanStopIndex: rowOverscanStopIndex,\n startIndex: rowStartIndex,\n stopIndex: rowStopIndex\n });\n });\n return _this;\n }\n _inherits(List, _React$PureComponent);\n return _createClass(List, [{\n key: \"forceUpdateGrid\",\n value: function forceUpdateGrid() {\n if (this.Grid) {\n this.Grid.forceUpdate();\n }\n }\n\n /** See Grid#getOffsetForCell */\n }, {\n key: \"getOffsetForRow\",\n value: function getOffsetForRow(_ref4 /*:: */) {\n var alignment = _ref4 /*:: */.alignment,\n index = _ref4 /*:: */.index;\n if (this.Grid) {\n var _this$Grid$getOffsetF = this.Grid.getOffsetForCell({\n alignment: alignment,\n rowIndex: index,\n columnIndex: 0\n }),\n scrollTop = _this$Grid$getOffsetF.scrollTop;\n return scrollTop;\n }\n return 0;\n }\n\n /** CellMeasurer compatibility */\n }, {\n key: \"invalidateCellSizeAfterRender\",\n value: function invalidateCellSizeAfterRender(_ref5 /*:: */) {\n var columnIndex = _ref5 /*:: */.columnIndex,\n rowIndex = _ref5 /*:: */.rowIndex;\n if (this.Grid) {\n this.Grid.invalidateCellSizeAfterRender({\n rowIndex: rowIndex,\n columnIndex: columnIndex\n });\n }\n }\n\n /** See Grid#measureAllCells */\n }, {\n key: \"measureAllRows\",\n value: function measureAllRows() {\n if (this.Grid) {\n this.Grid.measureAllCells();\n }\n }\n\n /** CellMeasurer compatibility */\n }, {\n key: \"recomputeGridSize\",\n value: function recomputeGridSize() {\n var _ref6 = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {},\n _ref6$columnIndex = _ref6.columnIndex,\n columnIndex = _ref6$columnIndex === void 0 ? 0 : _ref6$columnIndex,\n _ref6$rowIndex = _ref6.rowIndex,\n rowIndex = _ref6$rowIndex === void 0 ? 0 : _ref6$rowIndex;\n if (this.Grid) {\n this.Grid.recomputeGridSize({\n rowIndex: rowIndex,\n columnIndex: columnIndex\n });\n }\n }\n\n /** See Grid#recomputeGridSize */\n }, {\n key: \"recomputeRowHeights\",\n value: function recomputeRowHeights() {\n var index /*: number*/ = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : 0;\n if (this.Grid) {\n this.Grid.recomputeGridSize({\n rowIndex: index,\n columnIndex: 0\n });\n }\n }\n\n /** See Grid#scrollToPosition */\n }, {\n key: \"scrollToPosition\",\n value: function scrollToPosition() {\n var scrollTop /*: number*/ = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : 0;\n if (this.Grid) {\n this.Grid.scrollToPosition({\n scrollTop: scrollTop\n });\n }\n }\n\n /** See Grid#scrollToCell */\n }, {\n key: \"scrollToRow\",\n value: function scrollToRow() {\n var index /*: number*/ = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : 0;\n if (this.Grid) {\n this.Grid.scrollToCell({\n columnIndex: 0,\n rowIndex: index\n });\n }\n }\n }, {\n key: \"render\",\n value: function render() {\n var _this$props = this.props,\n className = _this$props.className,\n noRowsRenderer = _this$props.noRowsRenderer,\n scrollToIndex = _this$props.scrollToIndex,\n width = _this$props.width;\n var classNames = clsx('ReactVirtualized__List', className);\n return /*#__PURE__*/React.createElement(Grid, _extends({}, this.props, {\n autoContainerWidth: true,\n cellRenderer: this._cellRenderer,\n className: classNames,\n columnWidth: width,\n columnCount: 1,\n noContentRenderer: noRowsRenderer,\n onScroll: this._onScroll,\n onSectionRendered: this._onSectionRendered,\n ref: this._setRef,\n scrollToRow: scrollToIndex\n }));\n }\n }]);\n}(React.PureComponent);\n_defineProperty(List, \"defaultProps\", {\n autoHeight: false,\n estimatedRowSize: 30,\n onScroll: function onScroll() {},\n noRowsRenderer: function noRowsRenderer() {\n return null;\n },\n onRowsRendered: function onRowsRendered() {},\n overscanIndicesGetter: accessibilityOverscanIndicesGetter,\n overscanRowCount: 10,\n scrollToAlignment: 'auto',\n scrollToIndex: -1,\n style: {}\n});\nexport { List as default };","function _arrayWithHoles(r) {\n if (Array.isArray(r)) return r;\n}\nmodule.exports = _arrayWithHoles, module.exports.__esModule = true, module.exports[\"default\"] = module.exports;","function _iterableToArrayLimit(r, l) {\n var t = null == r ? null : \"undefined\" != typeof Symbol && r[Symbol.iterator] || r[\"@@iterator\"];\n if (null != t) {\n var e,\n n,\n i,\n u,\n a = [],\n f = !0,\n o = !1;\n try {\n if (i = (t = t.call(r)).next, 0 === l) {\n if (Object(t) !== t) return;\n f = !1;\n } else for (; !(f = (e = i.call(t)).done) && (a.push(e.value), a.length !== l); f = !0);\n } catch (r) {\n o = !0, n = r;\n } finally {\n try {\n if (!f && null != t[\"return\"] && (u = t[\"return\"](), Object(u) !== u)) return;\n } finally {\n if (o) throw n;\n }\n }\n return a;\n }\n}\nmodule.exports = _iterableToArrayLimit, module.exports.__esModule = true, module.exports[\"default\"] = module.exports;","function _nonIterableRest() {\n throw new TypeError(\"Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.\");\n}\nmodule.exports = _nonIterableRest, module.exports.__esModule = true, module.exports[\"default\"] = module.exports;","var arrayWithHoles = require(\"./arrayWithHoles.js\");\nvar iterableToArrayLimit = require(\"./iterableToArrayLimit.js\");\nvar unsupportedIterableToArray = require(\"./unsupportedIterableToArray.js\");\nvar nonIterableRest = require(\"./nonIterableRest.js\");\nfunction _slicedToArray(r, e) {\n return arrayWithHoles(r) || iterableToArrayLimit(r, e) || unsupportedIterableToArray(r, e) || nonIterableRest();\n}\nmodule.exports = _slicedToArray, module.exports.__esModule = true, module.exports[\"default\"] = module.exports;","/**\n * Binary Search Bounds\n * https://github.com/mikolalysenko/binary-search-bounds\n * Mikola Lysenko\n *\n * Inlined because of Content Security Policy issue caused by the use of `new Function(...)` syntax.\n * Issue reported here: https://github.com/mikolalysenko/binary-search-bounds/issues/5\n **/\n\nfunction _GEA(a, l, h, y) {\n var i = h + 1;\n while (l <= h) {\n var m = l + h >>> 1,\n x = a[m];\n if (x >= y) {\n i = m;\n h = m - 1;\n } else {\n l = m + 1;\n }\n }\n return i;\n}\nfunction _GEP(a, l, h, y, c) {\n var i = h + 1;\n while (l <= h) {\n var m = l + h >>> 1,\n x = a[m];\n if (c(x, y) >= 0) {\n i = m;\n h = m - 1;\n } else {\n l = m + 1;\n }\n }\n return i;\n}\nfunction dispatchBsearchGE(a, y, c, l, h) {\n if (typeof c === 'function') {\n return _GEP(a, l === void 0 ? 0 : l | 0, h === void 0 ? a.length - 1 : h | 0, y, c);\n } else {\n return _GEA(a, c === void 0 ? 0 : c | 0, l === void 0 ? a.length - 1 : l | 0, y);\n }\n}\nfunction _GTA(a, l, h, y) {\n var i = h + 1;\n while (l <= h) {\n var m = l + h >>> 1,\n x = a[m];\n if (x > y) {\n i = m;\n h = m - 1;\n } else {\n l = m + 1;\n }\n }\n return i;\n}\nfunction _GTP(a, l, h, y, c) {\n var i = h + 1;\n while (l <= h) {\n var m = l + h >>> 1,\n x = a[m];\n if (c(x, y) > 0) {\n i = m;\n h = m - 1;\n } else {\n l = m + 1;\n }\n }\n return i;\n}\nfunction dispatchBsearchGT(a, y, c, l, h) {\n if (typeof c === 'function') {\n return _GTP(a, l === void 0 ? 0 : l | 0, h === void 0 ? a.length - 1 : h | 0, y, c);\n } else {\n return _GTA(a, c === void 0 ? 0 : c | 0, l === void 0 ? a.length - 1 : l | 0, y);\n }\n}\nfunction _LTA(a, l, h, y) {\n var i = l - 1;\n while (l <= h) {\n var m = l + h >>> 1,\n x = a[m];\n if (x < y) {\n i = m;\n l = m + 1;\n } else {\n h = m - 1;\n }\n }\n return i;\n}\nfunction _LTP(a, l, h, y, c) {\n var i = l - 1;\n while (l <= h) {\n var m = l + h >>> 1,\n x = a[m];\n if (c(x, y) < 0) {\n i = m;\n l = m + 1;\n } else {\n h = m - 1;\n }\n }\n return i;\n}\nfunction dispatchBsearchLT(a, y, c, l, h) {\n if (typeof c === 'function') {\n return _LTP(a, l === void 0 ? 0 : l | 0, h === void 0 ? a.length - 1 : h | 0, y, c);\n } else {\n return _LTA(a, c === void 0 ? 0 : c | 0, l === void 0 ? a.length - 1 : l | 0, y);\n }\n}\nfunction _LEA(a, l, h, y) {\n var i = l - 1;\n while (l <= h) {\n var m = l + h >>> 1,\n x = a[m];\n if (x <= y) {\n i = m;\n l = m + 1;\n } else {\n h = m - 1;\n }\n }\n return i;\n}\nfunction _LEP(a, l, h, y, c) {\n var i = l - 1;\n while (l <= h) {\n var m = l + h >>> 1,\n x = a[m];\n if (c(x, y) <= 0) {\n i = m;\n l = m + 1;\n } else {\n h = m - 1;\n }\n }\n return i;\n}\nfunction dispatchBsearchLE(a, y, c, l, h) {\n if (typeof c === 'function') {\n return _LEP(a, l === void 0 ? 0 : l | 0, h === void 0 ? a.length - 1 : h | 0, y, c);\n } else {\n return _LEA(a, c === void 0 ? 0 : c | 0, l === void 0 ? a.length - 1 : l | 0, y);\n }\n}\nfunction _EQA(a, l, h, y) {\n l - 1;\n while (l <= h) {\n var m = l + h >>> 1,\n x = a[m];\n if (x === y) {\n return m;\n } else if (x <= y) {\n l = m + 1;\n } else {\n h = m - 1;\n }\n }\n return -1;\n}\nfunction _EQP(a, l, h, y, c) {\n l - 1;\n while (l <= h) {\n var m = l + h >>> 1,\n x = a[m];\n var p = c(x, y);\n if (p === 0) {\n return m;\n } else if (p <= 0) {\n l = m + 1;\n } else {\n h = m - 1;\n }\n }\n return -1;\n}\nfunction dispatchBsearchEQ(a, y, c, l, h) {\n if (typeof c === 'function') {\n return _EQP(a, l === void 0 ? 0 : l | 0, h === void 0 ? a.length - 1 : h | 0, y, c);\n } else {\n return _EQA(a, c === void 0 ? 0 : c | 0, l === void 0 ? a.length - 1 : l | 0, y);\n }\n}\nexport default {\n ge: dispatchBsearchGE,\n gt: dispatchBsearchGT,\n lt: dispatchBsearchLT,\n le: dispatchBsearchLE,\n eq: dispatchBsearchEQ\n};","/**\n * Binary Search Bounds\n * https://github.com/mikolalysenko/interval-tree-1d\n * Mikola Lysenko\n *\n * Inlined because of Content Security Policy issue caused by the use of `new Function(...)` syntax in an upstream dependency.\n * Issue reported here: https://github.com/mikolalysenko/binary-search-bounds/issues/5\n **/\n\nimport bounds from './binarySearchBounds';\nvar NOT_FOUND = 0;\nvar SUCCESS = 1;\nvar EMPTY = 2;\nfunction IntervalTreeNode(mid, left, right, leftPoints, rightPoints) {\n this.mid = mid;\n this.left = left;\n this.right = right;\n this.leftPoints = leftPoints;\n this.rightPoints = rightPoints;\n this.count = (left ? left.count : 0) + (right ? right.count : 0) + leftPoints.length;\n}\nvar proto = IntervalTreeNode.prototype;\nfunction copy(a, b) {\n a.mid = b.mid;\n a.left = b.left;\n a.right = b.right;\n a.leftPoints = b.leftPoints;\n a.rightPoints = b.rightPoints;\n a.count = b.count;\n}\nfunction rebuild(node, intervals) {\n var ntree = createIntervalTree(intervals);\n node.mid = ntree.mid;\n node.left = ntree.left;\n node.right = ntree.right;\n node.leftPoints = ntree.leftPoints;\n node.rightPoints = ntree.rightPoints;\n node.count = ntree.count;\n}\nfunction rebuildWithInterval(node, interval) {\n var intervals = node.intervals([]);\n intervals.push(interval);\n rebuild(node, intervals);\n}\nfunction rebuildWithoutInterval(node, interval) {\n var intervals = node.intervals([]);\n var idx = intervals.indexOf(interval);\n if (idx < 0) {\n return NOT_FOUND;\n }\n intervals.splice(idx, 1);\n rebuild(node, intervals);\n return SUCCESS;\n}\nproto.intervals = function (result) {\n result.push.apply(result, this.leftPoints);\n if (this.left) {\n this.left.intervals(result);\n }\n if (this.right) {\n this.right.intervals(result);\n }\n return result;\n};\nproto.insert = function (interval) {\n var weight = this.count - this.leftPoints.length;\n this.count += 1;\n if (interval[1] < this.mid) {\n if (this.left) {\n if (4 * (this.left.count + 1) > 3 * (weight + 1)) {\n rebuildWithInterval(this, interval);\n } else {\n this.left.insert(interval);\n }\n } else {\n this.left = createIntervalTree([interval]);\n }\n } else if (interval[0] > this.mid) {\n if (this.right) {\n if (4 * (this.right.count + 1) > 3 * (weight + 1)) {\n rebuildWithInterval(this, interval);\n } else {\n this.right.insert(interval);\n }\n } else {\n this.right = createIntervalTree([interval]);\n }\n } else {\n var l = bounds.ge(this.leftPoints, interval, compareBegin);\n var r = bounds.ge(this.rightPoints, interval, compareEnd);\n this.leftPoints.splice(l, 0, interval);\n this.rightPoints.splice(r, 0, interval);\n }\n};\nproto.remove = function (interval) {\n var weight = this.count - this.leftPoints;\n if (interval[1] < this.mid) {\n if (!this.left) {\n return NOT_FOUND;\n }\n var rw = this.right ? this.right.count : 0;\n if (4 * rw > 3 * (weight - 1)) {\n return rebuildWithoutInterval(this, interval);\n }\n var r = this.left.remove(interval);\n if (r === EMPTY) {\n this.left = null;\n this.count -= 1;\n return SUCCESS;\n } else if (r === SUCCESS) {\n this.count -= 1;\n }\n return r;\n } else if (interval[0] > this.mid) {\n if (!this.right) {\n return NOT_FOUND;\n }\n var lw = this.left ? this.left.count : 0;\n if (4 * lw > 3 * (weight - 1)) {\n return rebuildWithoutInterval(this, interval);\n }\n var r = this.right.remove(interval);\n if (r === EMPTY) {\n this.right = null;\n this.count -= 1;\n return SUCCESS;\n } else if (r === SUCCESS) {\n this.count -= 1;\n }\n return r;\n } else {\n if (this.count === 1) {\n if (this.leftPoints[0] === interval) {\n return EMPTY;\n } else {\n return NOT_FOUND;\n }\n }\n if (this.leftPoints.length === 1 && this.leftPoints[0] === interval) {\n if (this.left && this.right) {\n var p = this;\n var n = this.left;\n while (n.right) {\n p = n;\n n = n.right;\n }\n if (p === this) {\n n.right = this.right;\n } else {\n var l = this.left;\n var r = this.right;\n p.count -= n.count;\n p.right = n.left;\n n.left = l;\n n.right = r;\n }\n copy(this, n);\n this.count = (this.left ? this.left.count : 0) + (this.right ? this.right.count : 0) + this.leftPoints.length;\n } else if (this.left) {\n copy(this, this.left);\n } else {\n copy(this, this.right);\n }\n return SUCCESS;\n }\n for (var l = bounds.ge(this.leftPoints, interval, compareBegin); l < this.leftPoints.length; ++l) {\n if (this.leftPoints[l][0] !== interval[0]) {\n break;\n }\n if (this.leftPoints[l] === interval) {\n this.count -= 1;\n this.leftPoints.splice(l, 1);\n for (var r = bounds.ge(this.rightPoints, interval, compareEnd); r < this.rightPoints.length; ++r) {\n if (this.rightPoints[r][1] !== interval[1]) {\n break;\n } else if (this.rightPoints[r] === interval) {\n this.rightPoints.splice(r, 1);\n return SUCCESS;\n }\n }\n }\n }\n return NOT_FOUND;\n }\n};\nfunction reportLeftRange(arr, hi, cb) {\n for (var i = 0; i < arr.length && arr[i][0] <= hi; ++i) {\n var r = cb(arr[i]);\n if (r) {\n return r;\n }\n }\n}\nfunction reportRightRange(arr, lo, cb) {\n for (var i = arr.length - 1; i >= 0 && arr[i][1] >= lo; --i) {\n var r = cb(arr[i]);\n if (r) {\n return r;\n }\n }\n}\nfunction reportRange(arr, cb) {\n for (var i = 0; i < arr.length; ++i) {\n var r = cb(arr[i]);\n if (r) {\n return r;\n }\n }\n}\nproto.queryPoint = function (x, cb) {\n if (x < this.mid) {\n if (this.left) {\n var r = this.left.queryPoint(x, cb);\n if (r) {\n return r;\n }\n }\n return reportLeftRange(this.leftPoints, x, cb);\n } else if (x > this.mid) {\n if (this.right) {\n var r = this.right.queryPoint(x, cb);\n if (r) {\n return r;\n }\n }\n return reportRightRange(this.rightPoints, x, cb);\n } else {\n return reportRange(this.leftPoints, cb);\n }\n};\nproto.queryInterval = function (lo, hi, cb) {\n if (lo < this.mid && this.left) {\n var r = this.left.queryInterval(lo, hi, cb);\n if (r) {\n return r;\n }\n }\n if (hi > this.mid && this.right) {\n var r = this.right.queryInterval(lo, hi, cb);\n if (r) {\n return r;\n }\n }\n if (hi < this.mid) {\n return reportLeftRange(this.leftPoints, hi, cb);\n } else if (lo > this.mid) {\n return reportRightRange(this.rightPoints, lo, cb);\n } else {\n return reportRange(this.leftPoints, cb);\n }\n};\nfunction compareNumbers(a, b) {\n return a - b;\n}\nfunction compareBegin(a, b) {\n var d = a[0] - b[0];\n if (d) {\n return d;\n }\n return a[1] - b[1];\n}\nfunction compareEnd(a, b) {\n var d = a[1] - b[1];\n if (d) {\n return d;\n }\n return a[0] - b[0];\n}\nfunction createIntervalTree(intervals) {\n if (intervals.length === 0) {\n return null;\n }\n var pts = [];\n for (var i = 0; i < intervals.length; ++i) {\n pts.push(intervals[i][0], intervals[i][1]);\n }\n pts.sort(compareNumbers);\n var mid = pts[pts.length >> 1];\n var leftIntervals = [];\n var rightIntervals = [];\n var centerIntervals = [];\n for (var i = 0; i < intervals.length; ++i) {\n var s = intervals[i];\n if (s[1] < mid) {\n leftIntervals.push(s);\n } else if (mid < s[0]) {\n rightIntervals.push(s);\n } else {\n centerIntervals.push(s);\n }\n }\n\n //Split center intervals\n var leftPoints = centerIntervals;\n var rightPoints = centerIntervals.slice();\n leftPoints.sort(compareBegin);\n rightPoints.sort(compareEnd);\n return new IntervalTreeNode(mid, createIntervalTree(leftIntervals), createIntervalTree(rightIntervals), leftPoints, rightPoints);\n}\n\n//User friendly wrapper that makes it possible to support empty trees\nfunction IntervalTree(root) {\n this.root = root;\n}\nvar tproto = IntervalTree.prototype;\ntproto.insert = function (interval) {\n if (this.root) {\n this.root.insert(interval);\n } else {\n this.root = new IntervalTreeNode(interval[0], null, null, [interval], [interval]);\n }\n};\ntproto.remove = function (interval) {\n if (this.root) {\n var r = this.root.remove(interval);\n if (r === EMPTY) {\n this.root = null;\n }\n return r !== NOT_FOUND;\n }\n return false;\n};\ntproto.queryPoint = function (p, cb) {\n if (this.root) {\n return this.root.queryPoint(p, cb);\n }\n};\ntproto.queryInterval = function (lo, hi, cb) {\n if (lo <= hi && this.root) {\n return this.root.queryInterval(lo, hi, cb);\n }\n};\nObject.defineProperty(tproto, 'count', {\n get: function get() {\n if (this.root) {\n return this.root.count;\n }\n return 0;\n }\n});\nObject.defineProperty(tproto, 'intervals', {\n get: function get() {\n if (this.root) {\n return this.root.intervals([]);\n }\n return [];\n }\n});\nexport default function createWrapper(intervals) {\n if (!intervals || intervals.length === 0) {\n return new IntervalTree(null);\n }\n return new IntervalTree(createIntervalTree(intervals));\n}","import _slicedToArray from \"@babel/runtime/helpers/slicedToArray\";\nimport _classCallCheck from \"@babel/runtime/helpers/classCallCheck\";\nimport _createClass from \"@babel/runtime/helpers/createClass\";\nimport _defineProperty from \"@babel/runtime/helpers/defineProperty\";\nimport createIntervalTree from '../vendor/intervalTree';\n/*:: type RenderCallback = (index: number, left: number, top: number) => void;*/\n// Position cache requirements:\n// O(log(n)) lookup of cells to render for a given viewport size\n// O(1) lookup of shortest measured column (so we know when to enter phase 1)\nvar PositionCache = /*#__PURE__*/function () {\n function PositionCache() {\n _classCallCheck(this, PositionCache);\n // Tracks the height of each column\n _defineProperty(this, \"_columnSizeMap\", {});\n // Store tops and bottoms of each cell for fast intersection lookup.\n _defineProperty(this, \"_intervalTree\", createIntervalTree());\n // Maps cell index to x coordinates for quick lookup.\n _defineProperty(this, \"_leftMap\", {});\n }\n return _createClass(PositionCache, [{\n key: \"estimateTotalHeight\",\n value: function estimateTotalHeight(cellCount /*: number*/, columnCount /*: number*/, defaultCellHeight /*: number*/) /*: number*/{\n var unmeasuredCellCount = cellCount - this.count;\n return this.tallestColumnSize + Math.ceil(unmeasuredCellCount / columnCount) * defaultCellHeight;\n }\n\n // Render all cells visible within the viewport range defined.\n }, {\n key: \"range\",\n value: function range(scrollTop /*: number*/, clientHeight /*: number*/, renderCallback /*: RenderCallback*/) /*: void*/{\n var _this = this;\n this._intervalTree.queryInterval(scrollTop, scrollTop + clientHeight, function (_ref) {\n var _ref2 = _slicedToArray(_ref, 3),\n top = _ref2[0],\n _ = _ref2[1],\n index = _ref2[2];\n return renderCallback(index, _this._leftMap[index], top);\n });\n }\n }, {\n key: \"setPosition\",\n value: function setPosition(index /*: number*/, left /*: number*/, top /*: number*/, height /*: number*/) /*: void*/{\n this._intervalTree.insert([top, top + height, index]);\n this._leftMap[index] = left;\n var columnSizeMap = this._columnSizeMap;\n var columnHeight = columnSizeMap[left];\n if (columnHeight === undefined) {\n columnSizeMap[left] = top + height;\n } else {\n columnSizeMap[left] = Math.max(columnHeight, top + height);\n }\n }\n }, {\n key: \"count\",\n get: function get() /*: number*/{\n return this._intervalTree.count;\n }\n }, {\n key: \"shortestColumnSize\",\n get: function get() /*: number*/{\n var columnSizeMap = this._columnSizeMap;\n var size = 0;\n for (var i in columnSizeMap) {\n var height = columnSizeMap[(i /*: any*/)];\n size = size === 0 ? height : Math.min(size, height);\n }\n return size;\n }\n }, {\n key: \"tallestColumnSize\",\n get: function get() /*: number*/{\n var columnSizeMap = this._columnSizeMap;\n var size = 0;\n for (var i in columnSizeMap) {\n var height = columnSizeMap[(i /*: any*/)];\n size = Math.max(size, height);\n }\n return size;\n }\n }]);\n}();\nexport { PositionCache as default };","import _classCallCheck from \"@babel/runtime/helpers/classCallCheck\";\nimport _createClass from \"@babel/runtime/helpers/createClass\";\nimport _possibleConstructorReturn from \"@babel/runtime/helpers/possibleConstructorReturn\";\nimport _getPrototypeOf from \"@babel/runtime/helpers/getPrototypeOf\";\nimport _inherits from \"@babel/runtime/helpers/inherits\";\nimport _defineProperty from \"@babel/runtime/helpers/defineProperty\";\nfunction ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }\nfunction _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }\nfunction _callSuper(t, o, e) { return o = _getPrototypeOf(o), _possibleConstructorReturn(t, _isNativeReflectConstruct() ? Reflect.construct(o, e || [], _getPrototypeOf(t).constructor) : o.apply(t, e)); }\nfunction _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); } catch (t) {} return (_isNativeReflectConstruct = function _isNativeReflectConstruct() { return !!t; })(); }\nimport clsx from 'clsx';\nimport * as React from 'react';\nimport { polyfill } from 'react-lifecycles-compat';\nimport PositionCache from './PositionCache';\nimport { requestAnimationTimeout, cancelAnimationTimeout } from '../utils/requestAnimationTimeout';\n/*:: import type {AnimationTimeoutId} from '../utils/requestAnimationTimeout';*/\n/*:: type Props = {\n autoHeight: boolean,\n cellCount: number,\n cellMeasurerCache: CellMeasurerCache,\n cellPositioner: Positioner,\n cellRenderer: CellRenderer,\n className: ?string,\n height: number,\n id: ?string,\n keyMapper: KeyMapper,\n onCellsRendered: ?OnCellsRenderedCallback,\n onScroll: ?OnScrollCallback,\n overscanByPixels: number,\n role: string,\n scrollingResetTimeInterval: number,\n style: mixed,\n tabIndex: number,\n width: number,\n rowDirection: string,\n scrollTop?: number,\n};*/\n/*:: type State = {\n isScrolling: boolean,\n scrollTop: number,\n};*/\nvar emptyObject = {};\n\n/**\n * Specifies the number of milliseconds during which to disable pointer events while a scroll is in progress.\n * This improves performance and makes scrolling smoother.\n */\nexport var DEFAULT_SCROLLING_RESET_TIME_INTERVAL = 150;\n\n/**\n * This component efficiently displays arbitrarily positioned cells using windowing techniques.\n * Cell position is determined by an injected `cellPositioner` property.\n * Windowing is vertical; this component does not support horizontal scrolling.\n *\n * Rendering occurs in two phases:\n * 1) First pass uses estimated cell sizes (provided by the cache) to determine how many cells to measure in a batch.\n * Batch size is chosen using a fast, naive layout algorithm that stacks images in order until the viewport has been filled.\n * After measurement is complete (componentDidMount or componentDidUpdate) this component evaluates positioned cells\n * in order to determine if another measurement pass is required (eg if actual cell sizes were less than estimated sizes).\n * All measurements are permanently cached (keyed by `keyMapper`) for performance purposes.\n * 2) Second pass uses the external `cellPositioner` to layout cells.\n * At this time the positioner has access to cached size measurements for all cells.\n * The positions it returns are cached by Masonry for fast access later.\n * Phase one is repeated if the user scrolls beyond the current layout's bounds.\n * If the layout is invalidated due to eg a resize, cached positions can be cleared using `recomputeCellPositions()`.\n *\n * Animation constraints:\n * Simple animations are supported (eg translate/slide into place on initial reveal).\n * More complex animations are not (eg flying from one position to another on resize).\n *\n * Layout constraints:\n * This component supports multi-column layout.\n * The height of each item may vary.\n * The width of each item must not exceed the width of the column it is \"in\".\n * The left position of all items within a column must align.\n * (Items may not span multiple columns.)\n */\nvar Masonry = /*#__PURE__*/function (_React$PureComponent) {\n function Masonry() {\n var _this;\n _classCallCheck(this, Masonry);\n for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {\n args[_key] = arguments[_key];\n }\n _this = _callSuper(this, Masonry, [].concat(args));\n _defineProperty(_this, \"state\", {\n isScrolling: false,\n scrollTop: 0\n });\n _defineProperty(_this, \"_debounceResetIsScrollingId\", void 0);\n _defineProperty(_this, \"_invalidateOnUpdateStartIndex\", null);\n _defineProperty(_this, \"_invalidateOnUpdateStopIndex\", null);\n _defineProperty(_this, \"_positionCache\", new PositionCache());\n _defineProperty(_this, \"_startIndex\", null);\n _defineProperty(_this, \"_startIndexMemoized\", null);\n _defineProperty(_this, \"_stopIndex\", null);\n _defineProperty(_this, \"_stopIndexMemoized\", null);\n _defineProperty(_this, \"_debounceResetIsScrollingCallback\", function () {\n _this.setState({\n isScrolling: false\n });\n });\n _defineProperty(_this, \"_setScrollingContainerRef\", function (ref) {\n _this._scrollingContainer = ref;\n });\n _defineProperty(_this, \"_onScroll\", function (event) {\n var height = _this.props.height;\n var eventScrollTop = event.currentTarget.scrollTop;\n\n // When this component is shrunk drastically, React dispatches a series of back-to-back scroll events,\n // Gradually converging on a scrollTop that is within the bounds of the new, smaller height.\n // This causes a series of rapid renders that is slow for long lists.\n // We can avoid that by doing some simple bounds checking to ensure that scroll offsets never exceed their bounds.\n var scrollTop = Math.min(Math.max(0, _this._getEstimatedTotalHeight() - height), eventScrollTop);\n\n // On iOS, we can arrive at negative offsets by swiping past the start or end.\n // Avoid re-rendering in this case as it can cause problems; see #532 for more.\n if (eventScrollTop !== scrollTop) {\n return;\n }\n\n // Prevent pointer events from interrupting a smooth scroll\n _this._debounceResetIsScrolling();\n\n // Certain devices (like Apple touchpad) rapid-fire duplicate events.\n // Don't force a re-render if this is the case.\n // The mouse may move faster then the animation frame does.\n // Use requestAnimationFrame to avoid over-updating.\n if (_this.state.scrollTop !== scrollTop) {\n _this.setState({\n isScrolling: true,\n scrollTop: scrollTop\n });\n }\n });\n return _this;\n }\n _inherits(Masonry, _React$PureComponent);\n return _createClass(Masonry, [{\n key: \"clearCellPositions\",\n value: function clearCellPositions() {\n this._positionCache = new PositionCache();\n this.forceUpdate();\n }\n\n // HACK This method signature was intended for Grid\n }, {\n key: \"invalidateCellSizeAfterRender\",\n value: function invalidateCellSizeAfterRender(_ref) {\n var index = _ref.rowIndex;\n if (this._invalidateOnUpdateStartIndex === null) {\n this._invalidateOnUpdateStartIndex = index;\n this._invalidateOnUpdateStopIndex = index;\n } else {\n this._invalidateOnUpdateStartIndex = Math.min(this._invalidateOnUpdateStartIndex, index);\n this._invalidateOnUpdateStopIndex = Math.max(this._invalidateOnUpdateStopIndex, index);\n }\n }\n }, {\n key: \"recomputeCellPositions\",\n value: function recomputeCellPositions() {\n var stopIndex = this._positionCache.count - 1;\n this._positionCache = new PositionCache();\n this._populatePositionCache(0, stopIndex);\n this.forceUpdate();\n }\n }, {\n key: \"componentDidMount\",\n value: function componentDidMount() {\n this._checkInvalidateOnUpdate();\n this._invokeOnScrollCallback();\n this._invokeOnCellsRenderedCallback();\n }\n }, {\n key: \"componentDidUpdate\",\n value: function componentDidUpdate(prevProps /*: Props*/, prevState /*: State*/) {\n this._checkInvalidateOnUpdate();\n this._invokeOnScrollCallback();\n this._invokeOnCellsRenderedCallback();\n if (this.props.scrollTop !== prevProps.scrollTop) {\n this._debounceResetIsScrolling();\n }\n }\n }, {\n key: \"componentWillUnmount\",\n value: function componentWillUnmount() {\n if (this._debounceResetIsScrollingId) {\n cancelAnimationTimeout(this._debounceResetIsScrollingId);\n }\n }\n }, {\n key: \"render\",\n value: function render() {\n var _this2 = this;\n var _this$props = this.props,\n autoHeight = _this$props.autoHeight,\n cellCount = _this$props.cellCount,\n cellMeasurerCache = _this$props.cellMeasurerCache,\n cellRenderer = _this$props.cellRenderer,\n className = _this$props.className,\n height = _this$props.height,\n id = _this$props.id,\n keyMapper = _this$props.keyMapper,\n overscanByPixels = _this$props.overscanByPixels,\n role = _this$props.role,\n style = _this$props.style,\n tabIndex = _this$props.tabIndex,\n width = _this$props.width,\n rowDirection = _this$props.rowDirection;\n var _this$state = this.state,\n isScrolling = _this$state.isScrolling,\n scrollTop = _this$state.scrollTop;\n var children = [];\n var estimateTotalHeight = this._getEstimatedTotalHeight();\n var shortestColumnSize = this._positionCache.shortestColumnSize;\n var measuredCellCount = this._positionCache.count;\n var startIndex = 0;\n var stopIndex;\n this._positionCache.range(Math.max(0, scrollTop - overscanByPixels), height + overscanByPixels * 2, function (index /*: number*/, left /*: number*/, top /*: number*/) {\n if (typeof stopIndex === 'undefined') {\n startIndex = index;\n stopIndex = index;\n } else {\n startIndex = Math.min(startIndex, index);\n stopIndex = Math.max(stopIndex, index);\n }\n children.push(cellRenderer({\n index: index,\n isScrolling: isScrolling,\n key: keyMapper(index),\n parent: _this2,\n style: _defineProperty(_defineProperty(_defineProperty(_defineProperty({\n height: cellMeasurerCache.getHeight(index)\n }, rowDirection === 'ltr' ? 'left' : 'right', left), \"position\", 'absolute'), \"top\", top), \"width\", cellMeasurerCache.getWidth(index))\n }));\n });\n\n // We need to measure additional cells for this layout\n if (shortestColumnSize < scrollTop + height + overscanByPixels && measuredCellCount < cellCount) {\n var batchSize = Math.min(cellCount - measuredCellCount, Math.ceil((scrollTop + height + overscanByPixels - shortestColumnSize) / cellMeasurerCache.defaultHeight * width / cellMeasurerCache.defaultWidth));\n for (var _index = measuredCellCount; _index < measuredCellCount + batchSize; _index++) {\n stopIndex = _index;\n children.push(cellRenderer({\n index: _index,\n isScrolling: isScrolling,\n key: keyMapper(_index),\n parent: this,\n style: {\n width: cellMeasurerCache.getWidth(_index)\n }\n }));\n }\n }\n this._startIndex = startIndex;\n this._stopIndex = stopIndex;\n return /*#__PURE__*/React.createElement(\"div\", {\n ref: this._setScrollingContainerRef,\n \"aria-label\": this.props['aria-label'],\n className: clsx('ReactVirtualized__Masonry', className),\n id: id,\n onScroll: this._onScroll,\n role: role,\n style: _objectSpread({\n boxSizing: 'border-box',\n direction: 'ltr',\n height: autoHeight ? 'auto' : height,\n overflowX: 'hidden',\n overflowY: estimateTotalHeight < height ? 'hidden' : 'auto',\n position: 'relative',\n width: width,\n WebkitOverflowScrolling: 'touch',\n willChange: 'transform'\n }, style),\n tabIndex: tabIndex\n }, /*#__PURE__*/React.createElement(\"div\", {\n className: \"ReactVirtualized__Masonry__innerScrollContainer\",\n style: {\n width: '100%',\n height: estimateTotalHeight,\n maxWidth: '100%',\n maxHeight: estimateTotalHeight,\n overflow: 'hidden',\n pointerEvents: isScrolling ? 'none' : '',\n position: 'relative'\n }\n }, children));\n }\n }, {\n key: \"_checkInvalidateOnUpdate\",\n value: function _checkInvalidateOnUpdate() {\n if (typeof this._invalidateOnUpdateStartIndex === 'number') {\n var startIndex = this._invalidateOnUpdateStartIndex;\n var stopIndex = this._invalidateOnUpdateStopIndex;\n this._invalidateOnUpdateStartIndex = null;\n this._invalidateOnUpdateStopIndex = null;\n\n // Query external layout logic for position of newly-measured cells\n this._populatePositionCache(startIndex, stopIndex);\n this.forceUpdate();\n }\n }\n }, {\n key: \"_debounceResetIsScrolling\",\n value: function _debounceResetIsScrolling() {\n var scrollingResetTimeInterval = this.props.scrollingResetTimeInterval;\n if (this._debounceResetIsScrollingId) {\n cancelAnimationTimeout(this._debounceResetIsScrollingId);\n }\n this._debounceResetIsScrollingId = requestAnimationTimeout(this._debounceResetIsScrollingCallback, scrollingResetTimeInterval);\n }\n }, {\n key: \"_getEstimatedTotalHeight\",\n value: function _getEstimatedTotalHeight() {\n var _this$props2 = this.props,\n cellCount = _this$props2.cellCount,\n cellMeasurerCache = _this$props2.cellMeasurerCache,\n width = _this$props2.width;\n var estimatedColumnCount = Math.max(1, Math.floor(width / cellMeasurerCache.defaultWidth));\n return this._positionCache.estimateTotalHeight(cellCount, estimatedColumnCount, cellMeasurerCache.defaultHeight);\n }\n }, {\n key: \"_invokeOnScrollCallback\",\n value: function _invokeOnScrollCallback() {\n var _this$props3 = this.props,\n height = _this$props3.height,\n onScroll = _this$props3.onScroll;\n var scrollTop = this.state.scrollTop;\n if (this._onScrollMemoized !== scrollTop) {\n onScroll({\n clientHeight: height,\n scrollHeight: this._getEstimatedTotalHeight(),\n scrollTop: scrollTop\n });\n this._onScrollMemoized = scrollTop;\n }\n }\n }, {\n key: \"_invokeOnCellsRenderedCallback\",\n value: function _invokeOnCellsRenderedCallback() {\n if (this._startIndexMemoized !== this._startIndex || this._stopIndexMemoized !== this._stopIndex) {\n var onCellsRendered = this.props.onCellsRendered;\n onCellsRendered({\n startIndex: this._startIndex,\n stopIndex: this._stopIndex\n });\n this._startIndexMemoized = this._startIndex;\n this._stopIndexMemoized = this._stopIndex;\n }\n }\n }, {\n key: \"_populatePositionCache\",\n value: function _populatePositionCache(startIndex /*: number*/, stopIndex /*: number*/) {\n var _this$props4 = this.props,\n cellMeasurerCache = _this$props4.cellMeasurerCache,\n cellPositioner = _this$props4.cellPositioner;\n for (var _index2 = startIndex; _index2 <= stopIndex; _index2++) {\n var _cellPositioner = cellPositioner(_index2),\n left = _cellPositioner.left,\n top = _cellPositioner.top;\n this._positionCache.setPosition(_index2, left, top, cellMeasurerCache.getHeight(_index2));\n }\n }\n }], [{\n key: \"getDerivedStateFromProps\",\n value: function getDerivedStateFromProps(nextProps /*: Props*/, prevState /*: State*/) /*: $Shape*/{\n if (nextProps.scrollTop !== undefined && prevState.scrollTop !== nextProps.scrollTop) {\n return {\n isScrolling: true,\n scrollTop: nextProps.scrollTop\n };\n }\n return null;\n }\n }]);\n}(React.PureComponent);\n_defineProperty(Masonry, \"defaultProps\", {\n autoHeight: false,\n keyMapper: identity,\n onCellsRendered: noop,\n onScroll: noop,\n overscanByPixels: 20,\n role: 'grid',\n scrollingResetTimeInterval: DEFAULT_SCROLLING_RESET_TIME_INTERVAL,\n style: emptyObject,\n tabIndex: 0,\n rowDirection: 'ltr'\n});\nfunction identity(value) {\n return value;\n}\nfunction noop() {}\n/*:: type KeyMapper = (index: number) => mixed;*/\n/*:: export type CellMeasurerCache = {\n defaultHeight: number,\n defaultWidth: number,\n getHeight: (index: number) => number,\n getWidth: (index: number) => number,\n};*/\n/*:: type CellRenderer = (params: {|\n index: number,\n isScrolling: boolean,\n key: mixed,\n parent: mixed,\n style: mixed,\n|}) => mixed;*/\n/*:: type OnCellsRenderedCallback = (params: {|\n startIndex: number,\n stopIndex: number,\n|}) => void;*/\n/*:: type OnScrollCallback = (params: {|\n clientHeight: number,\n scrollHeight: number,\n scrollTop: number,\n|}) => void;*/\n/*:: type Position = {\n left: number,\n top: number,\n};*/\npolyfill(Masonry);\nexport default Masonry;\n/*:: export type Positioner = (index: number) => Position;*/","import _classCallCheck from \"@babel/runtime/helpers/classCallCheck\";\nimport _createClass from \"@babel/runtime/helpers/createClass\";\nimport _defineProperty from \"@babel/runtime/helpers/defineProperty\";\nimport { CellMeasurerCache } from '../CellMeasurer';\n/*:: type CellMeasurerCacheDecoratorParams = {\n cellMeasurerCache: CellMeasurerCache,\n columnIndexOffset: number,\n rowIndexOffset: number,\n};*/\n/*:: type IndexParam = {\n index: number,\n};*/\n/**\n * Caches measurements for a given cell.\n */\nvar CellMeasurerCacheDecorator = /*#__PURE__*/function () {\n function CellMeasurerCacheDecorator() {\n var _this = this;\n var params /*: CellMeasurerCacheDecoratorParams*/ = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};\n _classCallCheck(this, CellMeasurerCacheDecorator);\n _defineProperty(this, \"_cellMeasurerCache\", void 0);\n _defineProperty(this, \"_columnIndexOffset\", void 0);\n _defineProperty(this, \"_rowIndexOffset\", void 0);\n _defineProperty(this, \"columnWidth\", function (_ref /*:: */) {\n var index = _ref /*:: */.index;\n _this._cellMeasurerCache.columnWidth({\n index: index + _this._columnIndexOffset\n });\n });\n _defineProperty(this, \"rowHeight\", function (_ref2 /*:: */) {\n var index = _ref2 /*:: */.index;\n _this._cellMeasurerCache.rowHeight({\n index: index + _this._rowIndexOffset\n });\n });\n var cellMeasurerCache = params.cellMeasurerCache,\n _params$columnIndexOf = params.columnIndexOffset,\n columnIndexOffset = _params$columnIndexOf === void 0 ? 0 : _params$columnIndexOf,\n _params$rowIndexOffse = params.rowIndexOffset,\n rowIndexOffset = _params$rowIndexOffse === void 0 ? 0 : _params$rowIndexOffse;\n this._cellMeasurerCache = cellMeasurerCache;\n this._columnIndexOffset = columnIndexOffset;\n this._rowIndexOffset = rowIndexOffset;\n }\n return _createClass(CellMeasurerCacheDecorator, [{\n key: \"clear\",\n value: function clear(rowIndex /*: number*/, columnIndex /*: number*/) /*: void*/{\n this._cellMeasurerCache.clear(rowIndex + this._rowIndexOffset, columnIndex + this._columnIndexOffset);\n }\n }, {\n key: \"clearAll\",\n value: function clearAll() /*: void*/{\n this._cellMeasurerCache.clearAll();\n }\n }, {\n key: \"defaultHeight\",\n get: function get() /*: number*/{\n return this._cellMeasurerCache.defaultHeight;\n }\n }, {\n key: \"defaultWidth\",\n get: function get() /*: number*/{\n return this._cellMeasurerCache.defaultWidth;\n }\n }, {\n key: \"hasFixedHeight\",\n value: function hasFixedHeight() /*: boolean*/{\n return this._cellMeasurerCache.hasFixedHeight();\n }\n }, {\n key: \"hasFixedWidth\",\n value: function hasFixedWidth() /*: boolean*/{\n return this._cellMeasurerCache.hasFixedWidth();\n }\n }, {\n key: \"getHeight\",\n value: function getHeight(rowIndex /*: number*/) /*: ?number*/{\n var columnIndex /*: ?number*/ = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 0;\n return this._cellMeasurerCache.getHeight(rowIndex + this._rowIndexOffset, columnIndex + this._columnIndexOffset);\n }\n }, {\n key: \"getWidth\",\n value: function getWidth(rowIndex /*: number*/) /*: ?number*/{\n var columnIndex /*: ?number*/ = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 0;\n return this._cellMeasurerCache.getWidth(rowIndex + this._rowIndexOffset, columnIndex + this._columnIndexOffset);\n }\n }, {\n key: \"has\",\n value: function has(rowIndex /*: number*/) /*: boolean*/{\n var columnIndex /*: ?number*/ = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 0;\n return this._cellMeasurerCache.has(rowIndex + this._rowIndexOffset, columnIndex + this._columnIndexOffset);\n }\n }, {\n key: \"set\",\n value: function set(rowIndex /*: number*/, columnIndex /*: number*/, width /*: number*/, height /*: number*/) /*: void*/{\n this._cellMeasurerCache.set(rowIndex + this._rowIndexOffset, columnIndex + this._columnIndexOffset, (width /*: number*/), (height /*: number*/));\n }\n }]);\n}();\nexport { CellMeasurerCacheDecorator as default };","import _extends from \"@babel/runtime/helpers/extends\";\nimport _objectWithoutProperties from \"@babel/runtime/helpers/objectWithoutProperties\";\nimport _classCallCheck from \"@babel/runtime/helpers/classCallCheck\";\nimport _createClass from \"@babel/runtime/helpers/createClass\";\nimport _possibleConstructorReturn from \"@babel/runtime/helpers/possibleConstructorReturn\";\nimport _getPrototypeOf from \"@babel/runtime/helpers/getPrototypeOf\";\nimport _inherits from \"@babel/runtime/helpers/inherits\";\nimport _defineProperty from \"@babel/runtime/helpers/defineProperty\";\nvar _excluded = [\"rowIndex\"],\n _excluded2 = [\"columnIndex\", \"rowIndex\"],\n _excluded3 = [\"columnIndex\"],\n _excluded4 = [\"onScroll\", \"onSectionRendered\", \"onScrollbarPresenceChange\", \"scrollLeft\", \"scrollToColumn\", \"scrollTop\", \"scrollToRow\"];\nfunction ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }\nfunction _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }\nfunction _callSuper(t, o, e) { return o = _getPrototypeOf(o), _possibleConstructorReturn(t, _isNativeReflectConstruct() ? Reflect.construct(o, e || [], _getPrototypeOf(t).constructor) : o.apply(t, e)); }\nfunction _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); } catch (t) {} return (_isNativeReflectConstruct = function _isNativeReflectConstruct() { return !!t; })(); }\nimport PropTypes from 'prop-types';\nimport * as React from 'react';\nimport { polyfill } from 'react-lifecycles-compat';\nimport CellMeasurerCacheDecorator from './CellMeasurerCacheDecorator';\nimport Grid from '../Grid';\nvar SCROLLBAR_SIZE_BUFFER = 20;\n\n/**\n * Renders 1, 2, or 4 Grids depending on configuration.\n * A main (body) Grid will always be rendered.\n * Optionally, 1-2 Grids for sticky header rows will also be rendered.\n * If no sticky columns, only 1 sticky header Grid will be rendered.\n * If sticky columns, 2 sticky header Grids will be rendered.\n */\nvar MultiGrid = /*#__PURE__*/function (_React$PureComponent) {\n function MultiGrid(props, context) {\n var _this;\n _classCallCheck(this, MultiGrid);\n _this = _callSuper(this, MultiGrid, [props, context]);\n _defineProperty(_this, \"state\", {\n scrollLeft: 0,\n scrollTop: 0,\n scrollbarSize: 0,\n showHorizontalScrollbar: false,\n showVerticalScrollbar: false\n });\n _defineProperty(_this, \"_deferredInvalidateColumnIndex\", null);\n _defineProperty(_this, \"_deferredInvalidateRowIndex\", null);\n _defineProperty(_this, \"_bottomLeftGridRef\", function (ref) {\n _this._bottomLeftGrid = ref;\n });\n _defineProperty(_this, \"_bottomRightGridRef\", function (ref) {\n _this._bottomRightGrid = ref;\n });\n _defineProperty(_this, \"_cellRendererBottomLeftGrid\", function (_ref) {\n var rowIndex = _ref.rowIndex,\n rest = _objectWithoutProperties(_ref, _excluded);\n var _this$props = _this.props,\n cellRenderer = _this$props.cellRenderer,\n fixedRowCount = _this$props.fixedRowCount,\n rowCount = _this$props.rowCount;\n if (rowIndex === rowCount - fixedRowCount) {\n return /*#__PURE__*/React.createElement(\"div\", {\n key: rest.key,\n style: _objectSpread(_objectSpread({}, rest.style), {}, {\n height: SCROLLBAR_SIZE_BUFFER\n })\n });\n } else {\n return cellRenderer(_objectSpread(_objectSpread({}, rest), {}, {\n parent: _this,\n rowIndex: rowIndex + fixedRowCount\n }));\n }\n });\n _defineProperty(_this, \"_cellRendererBottomRightGrid\", function (_ref2) {\n var columnIndex = _ref2.columnIndex,\n rowIndex = _ref2.rowIndex,\n rest = _objectWithoutProperties(_ref2, _excluded2);\n var _this$props2 = _this.props,\n cellRenderer = _this$props2.cellRenderer,\n fixedColumnCount = _this$props2.fixedColumnCount,\n fixedRowCount = _this$props2.fixedRowCount;\n return cellRenderer(_objectSpread(_objectSpread({}, rest), {}, {\n columnIndex: columnIndex + fixedColumnCount,\n parent: _this,\n rowIndex: rowIndex + fixedRowCount\n }));\n });\n _defineProperty(_this, \"_cellRendererTopRightGrid\", function (_ref3) {\n var columnIndex = _ref3.columnIndex,\n rest = _objectWithoutProperties(_ref3, _excluded3);\n var _this$props3 = _this.props,\n cellRenderer = _this$props3.cellRenderer,\n columnCount = _this$props3.columnCount,\n fixedColumnCount = _this$props3.fixedColumnCount;\n if (columnIndex === columnCount - fixedColumnCount) {\n return /*#__PURE__*/React.createElement(\"div\", {\n key: rest.key,\n style: _objectSpread(_objectSpread({}, rest.style), {}, {\n width: SCROLLBAR_SIZE_BUFFER\n })\n });\n } else {\n return cellRenderer(_objectSpread(_objectSpread({}, rest), {}, {\n columnIndex: columnIndex + fixedColumnCount,\n parent: _this\n }));\n }\n });\n _defineProperty(_this, \"_columnWidthRightGrid\", function (_ref4) {\n var index = _ref4.index;\n var _this$props4 = _this.props,\n columnCount = _this$props4.columnCount,\n fixedColumnCount = _this$props4.fixedColumnCount,\n columnWidth = _this$props4.columnWidth;\n var _this$state = _this.state,\n scrollbarSize = _this$state.scrollbarSize,\n showHorizontalScrollbar = _this$state.showHorizontalScrollbar;\n\n // An extra cell is added to the count\n // This gives the smaller Grid extra room for offset,\n // In case the main (bottom right) Grid has a scrollbar\n // If no scrollbar, the extra space is overflow:hidden anyway\n if (showHorizontalScrollbar && index === columnCount - fixedColumnCount) {\n return scrollbarSize;\n }\n return typeof columnWidth === 'function' ? columnWidth({\n index: index + fixedColumnCount\n }) : columnWidth;\n });\n _defineProperty(_this, \"_onScroll\", function (scrollInfo) {\n var scrollLeft = scrollInfo.scrollLeft,\n scrollTop = scrollInfo.scrollTop;\n _this.setState({\n scrollLeft: scrollLeft,\n scrollTop: scrollTop\n });\n var onScroll = _this.props.onScroll;\n if (onScroll) {\n onScroll(scrollInfo);\n }\n });\n _defineProperty(_this, \"_onScrollbarPresenceChange\", function (_ref5) {\n var horizontal = _ref5.horizontal,\n size = _ref5.size,\n vertical = _ref5.vertical;\n var _this$state2 = _this.state,\n showHorizontalScrollbar = _this$state2.showHorizontalScrollbar,\n showVerticalScrollbar = _this$state2.showVerticalScrollbar;\n if (horizontal !== showHorizontalScrollbar || vertical !== showVerticalScrollbar) {\n _this.setState({\n scrollbarSize: size,\n showHorizontalScrollbar: horizontal,\n showVerticalScrollbar: vertical\n });\n var onScrollbarPresenceChange = _this.props.onScrollbarPresenceChange;\n if (typeof onScrollbarPresenceChange === 'function') {\n onScrollbarPresenceChange({\n horizontal: horizontal,\n size: size,\n vertical: vertical\n });\n }\n }\n });\n _defineProperty(_this, \"_onScrollLeft\", function (scrollInfo) {\n var scrollLeft = scrollInfo.scrollLeft;\n _this._onScroll({\n scrollLeft: scrollLeft,\n scrollTop: _this.state.scrollTop\n });\n });\n _defineProperty(_this, \"_onScrollTop\", function (scrollInfo) {\n var scrollTop = scrollInfo.scrollTop;\n _this._onScroll({\n scrollTop: scrollTop,\n scrollLeft: _this.state.scrollLeft\n });\n });\n _defineProperty(_this, \"_rowHeightBottomGrid\", function (_ref6) {\n var index = _ref6.index;\n var _this$props5 = _this.props,\n fixedRowCount = _this$props5.fixedRowCount,\n rowCount = _this$props5.rowCount,\n rowHeight = _this$props5.rowHeight;\n var _this$state3 = _this.state,\n scrollbarSize = _this$state3.scrollbarSize,\n showVerticalScrollbar = _this$state3.showVerticalScrollbar;\n\n // An extra cell is added to the count\n // This gives the smaller Grid extra room for offset,\n // In case the main (bottom right) Grid has a scrollbar\n // If no scrollbar, the extra space is overflow:hidden anyway\n if (showVerticalScrollbar && index === rowCount - fixedRowCount) {\n return scrollbarSize;\n }\n return typeof rowHeight === 'function' ? rowHeight({\n index: index + fixedRowCount\n }) : rowHeight;\n });\n _defineProperty(_this, \"_topLeftGridRef\", function (ref) {\n _this._topLeftGrid = ref;\n });\n _defineProperty(_this, \"_topRightGridRef\", function (ref) {\n _this._topRightGrid = ref;\n });\n var deferredMeasurementCache = props.deferredMeasurementCache,\n _fixedColumnCount = props.fixedColumnCount,\n _fixedRowCount = props.fixedRowCount;\n _this._maybeCalculateCachedStyles(true);\n if (deferredMeasurementCache) {\n _this._deferredMeasurementCacheBottomLeftGrid = _fixedRowCount > 0 ? new CellMeasurerCacheDecorator({\n cellMeasurerCache: deferredMeasurementCache,\n columnIndexOffset: 0,\n rowIndexOffset: _fixedRowCount\n }) : deferredMeasurementCache;\n _this._deferredMeasurementCacheBottomRightGrid = _fixedColumnCount > 0 || _fixedRowCount > 0 ? new CellMeasurerCacheDecorator({\n cellMeasurerCache: deferredMeasurementCache,\n columnIndexOffset: _fixedColumnCount,\n rowIndexOffset: _fixedRowCount\n }) : deferredMeasurementCache;\n _this._deferredMeasurementCacheTopRightGrid = _fixedColumnCount > 0 ? new CellMeasurerCacheDecorator({\n cellMeasurerCache: deferredMeasurementCache,\n columnIndexOffset: _fixedColumnCount,\n rowIndexOffset: 0\n }) : deferredMeasurementCache;\n }\n return _this;\n }\n _inherits(MultiGrid, _React$PureComponent);\n return _createClass(MultiGrid, [{\n key: \"forceUpdateGrids\",\n value: function forceUpdateGrids() {\n this._bottomLeftGrid && this._bottomLeftGrid.forceUpdate();\n this._bottomRightGrid && this._bottomRightGrid.forceUpdate();\n this._topLeftGrid && this._topLeftGrid.forceUpdate();\n this._topRightGrid && this._topRightGrid.forceUpdate();\n }\n\n /** See Grid#invalidateCellSizeAfterRender */\n }, {\n key: \"invalidateCellSizeAfterRender\",\n value: function invalidateCellSizeAfterRender() {\n var _ref7 = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {},\n _ref7$columnIndex = _ref7.columnIndex,\n columnIndex = _ref7$columnIndex === void 0 ? 0 : _ref7$columnIndex,\n _ref7$rowIndex = _ref7.rowIndex,\n rowIndex = _ref7$rowIndex === void 0 ? 0 : _ref7$rowIndex;\n this._deferredInvalidateColumnIndex = typeof this._deferredInvalidateColumnIndex === 'number' ? Math.min(this._deferredInvalidateColumnIndex, columnIndex) : columnIndex;\n this._deferredInvalidateRowIndex = typeof this._deferredInvalidateRowIndex === 'number' ? Math.min(this._deferredInvalidateRowIndex, rowIndex) : rowIndex;\n }\n\n /** See Grid#measureAllCells */\n }, {\n key: \"measureAllCells\",\n value: function measureAllCells() {\n this._bottomLeftGrid && this._bottomLeftGrid.measureAllCells();\n this._bottomRightGrid && this._bottomRightGrid.measureAllCells();\n this._topLeftGrid && this._topLeftGrid.measureAllCells();\n this._topRightGrid && this._topRightGrid.measureAllCells();\n }\n\n /** See Grid#recomputeGridSize */\n }, {\n key: \"recomputeGridSize\",\n value: function recomputeGridSize() {\n var _ref8 = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {},\n _ref8$columnIndex = _ref8.columnIndex,\n columnIndex = _ref8$columnIndex === void 0 ? 0 : _ref8$columnIndex,\n _ref8$rowIndex = _ref8.rowIndex,\n rowIndex = _ref8$rowIndex === void 0 ? 0 : _ref8$rowIndex;\n var _this$props6 = this.props,\n fixedColumnCount = _this$props6.fixedColumnCount,\n fixedRowCount = _this$props6.fixedRowCount;\n var adjustedColumnIndex = Math.max(0, columnIndex - fixedColumnCount);\n var adjustedRowIndex = Math.max(0, rowIndex - fixedRowCount);\n this._bottomLeftGrid && this._bottomLeftGrid.recomputeGridSize({\n columnIndex: columnIndex,\n rowIndex: adjustedRowIndex\n });\n this._bottomRightGrid && this._bottomRightGrid.recomputeGridSize({\n columnIndex: adjustedColumnIndex,\n rowIndex: adjustedRowIndex\n });\n this._topLeftGrid && this._topLeftGrid.recomputeGridSize({\n columnIndex: columnIndex,\n rowIndex: rowIndex\n });\n this._topRightGrid && this._topRightGrid.recomputeGridSize({\n columnIndex: adjustedColumnIndex,\n rowIndex: rowIndex\n });\n this._leftGridWidth = null;\n this._topGridHeight = null;\n this._maybeCalculateCachedStyles(true);\n }\n }, {\n key: \"componentDidMount\",\n value: function componentDidMount() {\n var _this$props7 = this.props,\n scrollLeft = _this$props7.scrollLeft,\n scrollTop = _this$props7.scrollTop;\n if (scrollLeft > 0 || scrollTop > 0) {\n var newState = {};\n if (scrollLeft > 0) {\n newState.scrollLeft = scrollLeft;\n }\n if (scrollTop > 0) {\n newState.scrollTop = scrollTop;\n }\n this.setState(newState);\n }\n this._handleInvalidatedGridSize();\n }\n }, {\n key: \"componentDidUpdate\",\n value: function componentDidUpdate() {\n this._handleInvalidatedGridSize();\n }\n }, {\n key: \"render\",\n value: function render() {\n var _this$props8 = this.props,\n onScroll = _this$props8.onScroll,\n onSectionRendered = _this$props8.onSectionRendered,\n onScrollbarPresenceChange = _this$props8.onScrollbarPresenceChange,\n scrollLeftProp = _this$props8.scrollLeft,\n scrollToColumn = _this$props8.scrollToColumn,\n scrollTopProp = _this$props8.scrollTop,\n scrollToRow = _this$props8.scrollToRow,\n rest = _objectWithoutProperties(_this$props8, _excluded4);\n this._prepareForRender();\n\n // Don't render any of our Grids if there are no cells.\n // This mirrors what Grid does,\n // And prevents us from recording inaccurage measurements when used with CellMeasurer.\n if (this.props.width === 0 || this.props.height === 0) {\n return null;\n }\n\n // scrollTop and scrollLeft props are explicitly filtered out and ignored\n\n var _this$state4 = this.state,\n scrollLeft = _this$state4.scrollLeft,\n scrollTop = _this$state4.scrollTop;\n return /*#__PURE__*/React.createElement(\"div\", {\n style: this._containerOuterStyle\n }, /*#__PURE__*/React.createElement(\"div\", {\n style: this._containerTopStyle\n }, this._renderTopLeftGrid(rest), this._renderTopRightGrid(_objectSpread(_objectSpread({}, rest), {}, {\n onScroll: onScroll,\n scrollLeft: scrollLeft\n }))), /*#__PURE__*/React.createElement(\"div\", {\n style: this._containerBottomStyle\n }, this._renderBottomLeftGrid(_objectSpread(_objectSpread({}, rest), {}, {\n onScroll: onScroll,\n scrollTop: scrollTop\n })), this._renderBottomRightGrid(_objectSpread(_objectSpread({}, rest), {}, {\n onScroll: onScroll,\n onSectionRendered: onSectionRendered,\n scrollLeft: scrollLeft,\n scrollToColumn: scrollToColumn,\n scrollToRow: scrollToRow,\n scrollTop: scrollTop\n }))));\n }\n }, {\n key: \"_getBottomGridHeight\",\n value: function _getBottomGridHeight(props) {\n var height = props.height;\n var topGridHeight = this._getTopGridHeight(props);\n return height - topGridHeight;\n }\n }, {\n key: \"_getLeftGridWidth\",\n value: function _getLeftGridWidth(props) {\n var fixedColumnCount = props.fixedColumnCount,\n columnWidth = props.columnWidth;\n if (this._leftGridWidth == null) {\n if (typeof columnWidth === 'function') {\n var leftGridWidth = 0;\n for (var index = 0; index < fixedColumnCount; index++) {\n leftGridWidth += columnWidth({\n index: index\n });\n }\n this._leftGridWidth = leftGridWidth;\n } else {\n this._leftGridWidth = columnWidth * fixedColumnCount;\n }\n }\n return this._leftGridWidth;\n }\n }, {\n key: \"_getRightGridWidth\",\n value: function _getRightGridWidth(props) {\n var width = props.width;\n var leftGridWidth = this._getLeftGridWidth(props);\n return width - leftGridWidth;\n }\n }, {\n key: \"_getTopGridHeight\",\n value: function _getTopGridHeight(props) {\n var fixedRowCount = props.fixedRowCount,\n rowHeight = props.rowHeight;\n if (this._topGridHeight == null) {\n if (typeof rowHeight === 'function') {\n var topGridHeight = 0;\n for (var index = 0; index < fixedRowCount; index++) {\n topGridHeight += rowHeight({\n index: index\n });\n }\n this._topGridHeight = topGridHeight;\n } else {\n this._topGridHeight = rowHeight * fixedRowCount;\n }\n }\n return this._topGridHeight;\n }\n }, {\n key: \"_handleInvalidatedGridSize\",\n value: function _handleInvalidatedGridSize() {\n if (typeof this._deferredInvalidateColumnIndex === 'number') {\n var columnIndex = this._deferredInvalidateColumnIndex;\n var rowIndex = this._deferredInvalidateRowIndex;\n this._deferredInvalidateColumnIndex = null;\n this._deferredInvalidateRowIndex = null;\n this.recomputeGridSize({\n columnIndex: columnIndex,\n rowIndex: rowIndex\n });\n this.forceUpdate();\n }\n }\n\n /**\n * Avoid recreating inline styles each render; this bypasses Grid's shallowCompare.\n * This method recalculates styles only when specific props change.\n */\n }, {\n key: \"_maybeCalculateCachedStyles\",\n value: function _maybeCalculateCachedStyles(resetAll) {\n var _this$props9 = this.props,\n columnWidth = _this$props9.columnWidth,\n enableFixedColumnScroll = _this$props9.enableFixedColumnScroll,\n enableFixedRowScroll = _this$props9.enableFixedRowScroll,\n height = _this$props9.height,\n fixedColumnCount = _this$props9.fixedColumnCount,\n fixedRowCount = _this$props9.fixedRowCount,\n rowHeight = _this$props9.rowHeight,\n style = _this$props9.style,\n styleBottomLeftGrid = _this$props9.styleBottomLeftGrid,\n styleBottomRightGrid = _this$props9.styleBottomRightGrid,\n styleTopLeftGrid = _this$props9.styleTopLeftGrid,\n styleTopRightGrid = _this$props9.styleTopRightGrid,\n width = _this$props9.width;\n var sizeChange = resetAll || height !== this._lastRenderedHeight || width !== this._lastRenderedWidth;\n var leftSizeChange = resetAll || columnWidth !== this._lastRenderedColumnWidth || fixedColumnCount !== this._lastRenderedFixedColumnCount;\n var topSizeChange = resetAll || fixedRowCount !== this._lastRenderedFixedRowCount || rowHeight !== this._lastRenderedRowHeight;\n if (resetAll || sizeChange || style !== this._lastRenderedStyle) {\n this._containerOuterStyle = _objectSpread({\n height: height,\n overflow: 'visible',\n // Let :focus outline show through\n width: width\n }, style);\n }\n if (resetAll || sizeChange || topSizeChange) {\n this._containerTopStyle = {\n height: this._getTopGridHeight(this.props),\n position: 'relative',\n width: width\n };\n this._containerBottomStyle = {\n height: height - this._getTopGridHeight(this.props),\n overflow: 'visible',\n // Let :focus outline show through\n position: 'relative',\n width: width\n };\n }\n if (resetAll || styleBottomLeftGrid !== this._lastRenderedStyleBottomLeftGrid) {\n this._bottomLeftGridStyle = _objectSpread({\n left: 0,\n overflowX: 'hidden',\n overflowY: enableFixedColumnScroll ? 'auto' : 'hidden',\n position: 'absolute'\n }, styleBottomLeftGrid);\n }\n if (resetAll || leftSizeChange || styleBottomRightGrid !== this._lastRenderedStyleBottomRightGrid) {\n this._bottomRightGridStyle = _objectSpread({\n left: this._getLeftGridWidth(this.props),\n position: 'absolute'\n }, styleBottomRightGrid);\n }\n if (resetAll || styleTopLeftGrid !== this._lastRenderedStyleTopLeftGrid) {\n this._topLeftGridStyle = _objectSpread({\n left: 0,\n overflowX: 'hidden',\n overflowY: 'hidden',\n position: 'absolute',\n top: 0\n }, styleTopLeftGrid);\n }\n if (resetAll || leftSizeChange || styleTopRightGrid !== this._lastRenderedStyleTopRightGrid) {\n this._topRightGridStyle = _objectSpread({\n left: this._getLeftGridWidth(this.props),\n overflowX: enableFixedRowScroll ? 'auto' : 'hidden',\n overflowY: 'hidden',\n position: 'absolute',\n top: 0\n }, styleTopRightGrid);\n }\n this._lastRenderedColumnWidth = columnWidth;\n this._lastRenderedFixedColumnCount = fixedColumnCount;\n this._lastRenderedFixedRowCount = fixedRowCount;\n this._lastRenderedHeight = height;\n this._lastRenderedRowHeight = rowHeight;\n this._lastRenderedStyle = style;\n this._lastRenderedStyleBottomLeftGrid = styleBottomLeftGrid;\n this._lastRenderedStyleBottomRightGrid = styleBottomRightGrid;\n this._lastRenderedStyleTopLeftGrid = styleTopLeftGrid;\n this._lastRenderedStyleTopRightGrid = styleTopRightGrid;\n this._lastRenderedWidth = width;\n }\n }, {\n key: \"_prepareForRender\",\n value: function _prepareForRender() {\n if (this._lastRenderedColumnWidth !== this.props.columnWidth || this._lastRenderedFixedColumnCount !== this.props.fixedColumnCount) {\n this._leftGridWidth = null;\n }\n if (this._lastRenderedFixedRowCount !== this.props.fixedRowCount || this._lastRenderedRowHeight !== this.props.rowHeight) {\n this._topGridHeight = null;\n }\n this._maybeCalculateCachedStyles();\n this._lastRenderedColumnWidth = this.props.columnWidth;\n this._lastRenderedFixedColumnCount = this.props.fixedColumnCount;\n this._lastRenderedFixedRowCount = this.props.fixedRowCount;\n this._lastRenderedRowHeight = this.props.rowHeight;\n }\n }, {\n key: \"_renderBottomLeftGrid\",\n value: function _renderBottomLeftGrid(props) {\n var enableFixedColumnScroll = props.enableFixedColumnScroll,\n fixedColumnCount = props.fixedColumnCount,\n fixedRowCount = props.fixedRowCount,\n rowCount = props.rowCount,\n hideBottomLeftGridScrollbar = props.hideBottomLeftGridScrollbar;\n var showVerticalScrollbar = this.state.showVerticalScrollbar;\n if (!fixedColumnCount) {\n return null;\n }\n var additionalRowCount = showVerticalScrollbar ? 1 : 0,\n height = this._getBottomGridHeight(props),\n width = this._getLeftGridWidth(props),\n scrollbarSize = this.state.showVerticalScrollbar ? this.state.scrollbarSize : 0,\n gridWidth = hideBottomLeftGridScrollbar ? width + scrollbarSize : width;\n var bottomLeftGrid = /*#__PURE__*/React.createElement(Grid, _extends({}, props, {\n cellRenderer: this._cellRendererBottomLeftGrid,\n className: this.props.classNameBottomLeftGrid,\n columnCount: fixedColumnCount,\n deferredMeasurementCache: this._deferredMeasurementCacheBottomLeftGrid,\n height: height,\n onScroll: enableFixedColumnScroll ? this._onScrollTop : undefined,\n ref: this._bottomLeftGridRef,\n rowCount: Math.max(0, rowCount - fixedRowCount) + additionalRowCount,\n rowHeight: this._rowHeightBottomGrid,\n style: this._bottomLeftGridStyle,\n tabIndex: null,\n width: gridWidth\n }));\n if (hideBottomLeftGridScrollbar) {\n return /*#__PURE__*/React.createElement(\"div\", {\n className: \"BottomLeftGrid_ScrollWrapper\",\n style: _objectSpread(_objectSpread({}, this._bottomLeftGridStyle), {}, {\n height: height,\n width: width,\n overflowY: 'hidden'\n })\n }, bottomLeftGrid);\n }\n return bottomLeftGrid;\n }\n }, {\n key: \"_renderBottomRightGrid\",\n value: function _renderBottomRightGrid(props) {\n var columnCount = props.columnCount,\n fixedColumnCount = props.fixedColumnCount,\n fixedRowCount = props.fixedRowCount,\n rowCount = props.rowCount,\n scrollToColumn = props.scrollToColumn,\n scrollToRow = props.scrollToRow;\n return /*#__PURE__*/React.createElement(Grid, _extends({}, props, {\n cellRenderer: this._cellRendererBottomRightGrid,\n className: this.props.classNameBottomRightGrid,\n columnCount: Math.max(0, columnCount - fixedColumnCount),\n columnWidth: this._columnWidthRightGrid,\n deferredMeasurementCache: this._deferredMeasurementCacheBottomRightGrid,\n height: this._getBottomGridHeight(props),\n onScroll: this._onScroll,\n onScrollbarPresenceChange: this._onScrollbarPresenceChange,\n ref: this._bottomRightGridRef,\n rowCount: Math.max(0, rowCount - fixedRowCount),\n rowHeight: this._rowHeightBottomGrid,\n scrollToColumn: scrollToColumn - fixedColumnCount,\n scrollToRow: scrollToRow - fixedRowCount,\n style: this._bottomRightGridStyle,\n width: this._getRightGridWidth(props)\n }));\n }\n }, {\n key: \"_renderTopLeftGrid\",\n value: function _renderTopLeftGrid(props) {\n var fixedColumnCount = props.fixedColumnCount,\n fixedRowCount = props.fixedRowCount;\n if (!fixedColumnCount || !fixedRowCount) {\n return null;\n }\n return /*#__PURE__*/React.createElement(Grid, _extends({}, props, {\n className: this.props.classNameTopLeftGrid,\n columnCount: fixedColumnCount,\n height: this._getTopGridHeight(props),\n ref: this._topLeftGridRef,\n rowCount: fixedRowCount,\n style: this._topLeftGridStyle,\n tabIndex: null,\n width: this._getLeftGridWidth(props)\n }));\n }\n }, {\n key: \"_renderTopRightGrid\",\n value: function _renderTopRightGrid(props) {\n var columnCount = props.columnCount,\n enableFixedRowScroll = props.enableFixedRowScroll,\n fixedColumnCount = props.fixedColumnCount,\n fixedRowCount = props.fixedRowCount,\n scrollLeft = props.scrollLeft,\n hideTopRightGridScrollbar = props.hideTopRightGridScrollbar;\n var _this$state5 = this.state,\n showHorizontalScrollbar = _this$state5.showHorizontalScrollbar,\n scrollbarSize = _this$state5.scrollbarSize;\n if (!fixedRowCount) {\n return null;\n }\n var additionalColumnCount = showHorizontalScrollbar ? 1 : 0,\n height = this._getTopGridHeight(props),\n width = this._getRightGridWidth(props),\n additionalHeight = showHorizontalScrollbar ? scrollbarSize : 0;\n var gridHeight = height,\n style = this._topRightGridStyle;\n if (hideTopRightGridScrollbar) {\n gridHeight = height + additionalHeight;\n style = _objectSpread(_objectSpread({}, this._topRightGridStyle), {}, {\n left: 0\n });\n }\n var topRightGrid = /*#__PURE__*/React.createElement(Grid, _extends({}, props, {\n cellRenderer: this._cellRendererTopRightGrid,\n className: this.props.classNameTopRightGrid,\n columnCount: Math.max(0, columnCount - fixedColumnCount) + additionalColumnCount,\n columnWidth: this._columnWidthRightGrid,\n deferredMeasurementCache: this._deferredMeasurementCacheTopRightGrid,\n height: gridHeight,\n onScroll: enableFixedRowScroll ? this._onScrollLeft : undefined,\n ref: this._topRightGridRef,\n rowCount: fixedRowCount,\n scrollLeft: scrollLeft,\n style: style,\n tabIndex: null,\n width: width\n }));\n if (hideTopRightGridScrollbar) {\n return /*#__PURE__*/React.createElement(\"div\", {\n className: \"TopRightGrid_ScrollWrapper\",\n style: _objectSpread(_objectSpread({}, this._topRightGridStyle), {}, {\n height: height,\n width: width,\n overflowX: 'hidden'\n })\n }, topRightGrid);\n }\n return topRightGrid;\n }\n }], [{\n key: \"getDerivedStateFromProps\",\n value: function getDerivedStateFromProps(nextProps, prevState) {\n if (nextProps.scrollLeft !== prevState.scrollLeft || nextProps.scrollTop !== prevState.scrollTop) {\n return {\n scrollLeft: nextProps.scrollLeft != null && nextProps.scrollLeft >= 0 ? nextProps.scrollLeft : prevState.scrollLeft,\n scrollTop: nextProps.scrollTop != null && nextProps.scrollTop >= 0 ? nextProps.scrollTop : prevState.scrollTop\n };\n }\n return null;\n }\n }]);\n}(React.PureComponent);\n_defineProperty(MultiGrid, \"defaultProps\", {\n classNameBottomLeftGrid: '',\n classNameBottomRightGrid: '',\n classNameTopLeftGrid: '',\n classNameTopRightGrid: '',\n enableFixedColumnScroll: false,\n enableFixedRowScroll: false,\n fixedColumnCount: 0,\n fixedRowCount: 0,\n scrollToColumn: -1,\n scrollToRow: -1,\n style: {},\n styleBottomLeftGrid: {},\n styleBottomRightGrid: {},\n styleTopLeftGrid: {},\n styleTopRightGrid: {},\n hideTopRightGridScrollbar: false,\n hideBottomLeftGridScrollbar: false\n});\nMultiGrid.propTypes = process.env.NODE_ENV !== \"production\" ? {\n classNameBottomLeftGrid: PropTypes.string.isRequired,\n classNameBottomRightGrid: PropTypes.string.isRequired,\n classNameTopLeftGrid: PropTypes.string.isRequired,\n classNameTopRightGrid: PropTypes.string.isRequired,\n enableFixedColumnScroll: PropTypes.bool.isRequired,\n enableFixedRowScroll: PropTypes.bool.isRequired,\n fixedColumnCount: PropTypes.number.isRequired,\n fixedRowCount: PropTypes.number.isRequired,\n onScrollbarPresenceChange: PropTypes.func,\n style: PropTypes.object.isRequired,\n styleBottomLeftGrid: PropTypes.object.isRequired,\n styleBottomRightGrid: PropTypes.object.isRequired,\n styleTopLeftGrid: PropTypes.object.isRequired,\n styleTopRightGrid: PropTypes.object.isRequired,\n hideTopRightGridScrollbar: PropTypes.bool,\n hideBottomLeftGridScrollbar: PropTypes.bool\n} : {};\npolyfill(MultiGrid);\nexport default MultiGrid;","import _classCallCheck from \"@babel/runtime/helpers/classCallCheck\";\nimport _createClass from \"@babel/runtime/helpers/createClass\";\nimport _possibleConstructorReturn from \"@babel/runtime/helpers/possibleConstructorReturn\";\nimport _getPrototypeOf from \"@babel/runtime/helpers/getPrototypeOf\";\nimport _inherits from \"@babel/runtime/helpers/inherits\";\nfunction _callSuper(t, o, e) { return o = _getPrototypeOf(o), _possibleConstructorReturn(t, _isNativeReflectConstruct() ? Reflect.construct(o, e || [], _getPrototypeOf(t).constructor) : o.apply(t, e)); }\nfunction _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); } catch (t) {} return (_isNativeReflectConstruct = function _isNativeReflectConstruct() { return !!t; })(); }\nimport PropTypes from 'prop-types';\nimport * as React from 'react';\n\n/**\n * HOC that simplifies the process of synchronizing scrolling between two or more virtualized components.\n */\nvar ScrollSync = /*#__PURE__*/function (_React$PureComponent) {\n function ScrollSync(props, context) {\n var _this;\n _classCallCheck(this, ScrollSync);\n _this = _callSuper(this, ScrollSync, [props, context]);\n _this.state = {\n clientHeight: 0,\n clientWidth: 0,\n scrollHeight: 0,\n scrollLeft: 0,\n scrollTop: 0,\n scrollWidth: 0\n };\n _this._onScroll = _this._onScroll.bind(_this);\n return _this;\n }\n _inherits(ScrollSync, _React$PureComponent);\n return _createClass(ScrollSync, [{\n key: \"render\",\n value: function render() {\n var children = this.props.children;\n var _this$state = this.state,\n clientHeight = _this$state.clientHeight,\n clientWidth = _this$state.clientWidth,\n scrollHeight = _this$state.scrollHeight,\n scrollLeft = _this$state.scrollLeft,\n scrollTop = _this$state.scrollTop,\n scrollWidth = _this$state.scrollWidth;\n return children({\n clientHeight: clientHeight,\n clientWidth: clientWidth,\n onScroll: this._onScroll,\n scrollHeight: scrollHeight,\n scrollLeft: scrollLeft,\n scrollTop: scrollTop,\n scrollWidth: scrollWidth\n });\n }\n }, {\n key: \"_onScroll\",\n value: function _onScroll(_ref) {\n var clientHeight = _ref.clientHeight,\n clientWidth = _ref.clientWidth,\n scrollHeight = _ref.scrollHeight,\n scrollLeft = _ref.scrollLeft,\n scrollTop = _ref.scrollTop,\n scrollWidth = _ref.scrollWidth;\n this.setState({\n clientHeight: clientHeight,\n clientWidth: clientWidth,\n scrollHeight: scrollHeight,\n scrollLeft: scrollLeft,\n scrollTop: scrollTop,\n scrollWidth: scrollWidth\n });\n }\n }]);\n}(React.PureComponent);\nexport { ScrollSync as default };\nScrollSync.propTypes = process.env.NODE_ENV !== \"production\" ? {\n /**\n * Function responsible for rendering 2 or more virtualized components.\n * This function should implement the following signature:\n * ({ onScroll, scrollLeft, scrollTop }) => PropTypes.element\n */\n children: PropTypes.func.isRequired\n} : {};","var SortDirection = {\n /**\n * Sort items in ascending order.\n * This means arranging from the lowest value to the highest (e.g. a-z, 0-9).\n */\n ASC: 'ASC',\n /**\n * Sort items in descending order.\n * This means arranging from the highest value to the lowest (e.g. z-a, 9-0).\n */\n DESC: 'DESC'\n};\nexport default SortDirection;","import clsx from 'clsx';\nimport PropTypes from 'prop-types';\nimport * as React from 'react';\nimport SortDirection from './SortDirection';\n\n/**\n * Displayed beside a header to indicate that a Table is currently sorted by this column.\n */\nexport default function SortIndicator(_ref) {\n var sortDirection = _ref.sortDirection;\n var classNames = clsx('ReactVirtualized__Table__sortableHeaderIcon', {\n 'ReactVirtualized__Table__sortableHeaderIcon--ASC': sortDirection === SortDirection.ASC,\n 'ReactVirtualized__Table__sortableHeaderIcon--DESC': sortDirection === SortDirection.DESC\n });\n return /*#__PURE__*/React.createElement(\"svg\", {\n className: classNames,\n width: 18,\n height: 18,\n viewBox: \"0 0 24 24\"\n }, sortDirection === SortDirection.ASC ? /*#__PURE__*/React.createElement(\"path\", {\n d: \"M7 14l5-5 5 5z\"\n }) : /*#__PURE__*/React.createElement(\"path\", {\n d: \"M7 10l5 5 5-5z\"\n }), /*#__PURE__*/React.createElement(\"path\", {\n d: \"M0 0h24v24H0z\",\n fill: \"none\"\n }));\n}\nSortIndicator.propTypes = process.env.NODE_ENV !== \"production\" ? {\n sortDirection: PropTypes.oneOf([SortDirection.ASC, SortDirection.DESC])\n} : {};","import _createClass from \"@babel/runtime/helpers/createClass\";\nimport _classCallCheck from \"@babel/runtime/helpers/classCallCheck\";\nimport _possibleConstructorReturn from \"@babel/runtime/helpers/possibleConstructorReturn\";\nimport _getPrototypeOf from \"@babel/runtime/helpers/getPrototypeOf\";\nimport _inherits from \"@babel/runtime/helpers/inherits\";\nimport _defineProperty from \"@babel/runtime/helpers/defineProperty\";\nfunction _callSuper(t, o, e) { return o = _getPrototypeOf(o), _possibleConstructorReturn(t, _isNativeReflectConstruct() ? Reflect.construct(o, e || [], _getPrototypeOf(t).constructor) : o.apply(t, e)); }\nfunction _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); } catch (t) {} return (_isNativeReflectConstruct = function _isNativeReflectConstruct() { return !!t; })(); }\nimport PropTypes from 'prop-types';\nimport * as React from 'react';\nimport defaultHeaderRenderer from './defaultHeaderRenderer';\nimport defaultCellRenderer from './defaultCellRenderer';\nimport defaultCellDataGetter from './defaultCellDataGetter';\nimport SortDirection from './SortDirection';\n\n/**\n * Describes the header and cell contents of a table column.\n */\nvar Column = /*#__PURE__*/function (_React$Component) {\n function Column() {\n _classCallCheck(this, Column);\n return _callSuper(this, Column, arguments);\n }\n _inherits(Column, _React$Component);\n return _createClass(Column);\n}(React.Component);\n_defineProperty(Column, \"defaultProps\", {\n cellDataGetter: defaultCellDataGetter,\n cellRenderer: defaultCellRenderer,\n defaultSortDirection: SortDirection.ASC,\n flexGrow: 0,\n flexShrink: 1,\n headerRenderer: defaultHeaderRenderer,\n style: {}\n});\nexport { Column as default };\nColumn.propTypes = process.env.NODE_ENV !== \"production\" ? {\n /** Optional aria-label value to set on the column header */\n 'aria-label': PropTypes.string,\n /**\n * Callback responsible for returning a cell's data, given its :dataKey\n * ({ columnData: any, dataKey: string, rowData: any }): any\n */\n cellDataGetter: PropTypes.func,\n /**\n * Callback responsible for rendering a cell's contents.\n * ({ cellData: any, columnData: any, dataKey: string, rowData: any, rowIndex: number }): node\n */\n cellRenderer: PropTypes.func,\n /** Optional CSS class to apply to cell */\n className: PropTypes.string,\n /** Optional additional data passed to this column's :cellDataGetter */\n columnData: PropTypes.object,\n /** Uniquely identifies the row-data attribute corresponding to this cell */\n dataKey: PropTypes.any.isRequired,\n /** Optional direction to be used when clicked the first time */\n defaultSortDirection: PropTypes.oneOf([SortDirection.ASC, SortDirection.DESC]),\n /** If sort is enabled for the table at large, disable it for this column */\n disableSort: PropTypes.bool,\n /** Flex grow style; defaults to 0 */\n flexGrow: PropTypes.number,\n /** Flex shrink style; defaults to 1 */\n flexShrink: PropTypes.number,\n /** Optional CSS class to apply to this column's header */\n headerClassName: PropTypes.string,\n /**\n * Optional callback responsible for rendering a column header contents.\n * ({ columnData: object, dataKey: string, disableSort: boolean, label: node, sortBy: string, sortDirection: string }): PropTypes.node\n */\n headerRenderer: PropTypes.func.isRequired,\n /** Optional inline style to apply to this column's header */\n headerStyle: PropTypes.object,\n /** Optional id to set on the column header */\n id: PropTypes.string,\n /** Header label for this column */\n label: PropTypes.node,\n /** Maximum width of column; this property will only be used if :flexGrow is > 0. */\n maxWidth: PropTypes.number,\n /** Minimum width of column. */\n minWidth: PropTypes.number,\n /** Optional inline style to apply to cell */\n style: PropTypes.object,\n /** Flex basis (width) for this column; This value can grow or shrink based on :flexGrow and :flexShrink properties. */\n width: PropTypes.number.isRequired\n} : {};","import _extends from \"@babel/runtime/helpers/extends\";\nimport _classCallCheck from \"@babel/runtime/helpers/classCallCheck\";\nimport _createClass from \"@babel/runtime/helpers/createClass\";\nimport _possibleConstructorReturn from \"@babel/runtime/helpers/possibleConstructorReturn\";\nimport _getPrototypeOf from \"@babel/runtime/helpers/getPrototypeOf\";\nimport _inherits from \"@babel/runtime/helpers/inherits\";\nimport _defineProperty from \"@babel/runtime/helpers/defineProperty\";\nfunction ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }\nfunction _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }\nfunction _callSuper(t, o, e) { return o = _getPrototypeOf(o), _possibleConstructorReturn(t, _isNativeReflectConstruct() ? Reflect.construct(o, e || [], _getPrototypeOf(t).constructor) : o.apply(t, e)); }\nfunction _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); } catch (t) {} return (_isNativeReflectConstruct = function _isNativeReflectConstruct() { return !!t; })(); }\n/*:: import type {CellPosition} from '../Grid';*/\nimport clsx from 'clsx';\nimport Column from './Column';\nimport PropTypes from 'prop-types';\nimport * as React from 'react';\nimport Grid, { accessibilityOverscanIndicesGetter } from '../Grid';\nimport defaultRowRenderer from './defaultRowRenderer';\nimport defaultHeaderRowRenderer from './defaultHeaderRowRenderer';\nimport SortDirection from './SortDirection';\n\n/**\n * Table component with fixed headers and virtualized rows for improved performance with large data sets.\n * This component expects explicit width, height, and padding parameters.\n */\nvar Table = /*#__PURE__*/function (_React$PureComponent) {\n function Table(props) {\n var _this;\n _classCallCheck(this, Table);\n _this = _callSuper(this, Table, [props]);\n _this.state = {\n scrollbarWidth: 0\n };\n _this._createColumn = _this._createColumn.bind(_this);\n _this._createRow = _this._createRow.bind(_this);\n _this._onScroll = _this._onScroll.bind(_this);\n _this._onSectionRendered = _this._onSectionRendered.bind(_this);\n _this._setRef = _this._setRef.bind(_this);\n _this._setGridElementRef = _this._setGridElementRef.bind(_this);\n return _this;\n }\n _inherits(Table, _React$PureComponent);\n return _createClass(Table, [{\n key: \"forceUpdateGrid\",\n value: function forceUpdateGrid() {\n if (this.Grid) {\n this.Grid.forceUpdate();\n }\n }\n\n /** See Grid#getOffsetForCell */\n }, {\n key: \"getOffsetForRow\",\n value: function getOffsetForRow(_ref) {\n var alignment = _ref.alignment,\n index = _ref.index;\n if (this.Grid) {\n var _this$Grid$getOffsetF = this.Grid.getOffsetForCell({\n alignment: alignment,\n rowIndex: index\n }),\n scrollTop = _this$Grid$getOffsetF.scrollTop;\n return scrollTop;\n }\n return 0;\n }\n\n /** CellMeasurer compatibility */\n }, {\n key: \"invalidateCellSizeAfterRender\",\n value: function invalidateCellSizeAfterRender(_ref2 /*:: */) {\n var columnIndex = _ref2 /*:: */.columnIndex,\n rowIndex = _ref2 /*:: */.rowIndex;\n if (this.Grid) {\n this.Grid.invalidateCellSizeAfterRender({\n rowIndex: rowIndex,\n columnIndex: columnIndex\n });\n }\n }\n\n /** See Grid#measureAllCells */\n }, {\n key: \"measureAllRows\",\n value: function measureAllRows() {\n if (this.Grid) {\n this.Grid.measureAllCells();\n }\n }\n\n /** CellMeasurer compatibility */\n }, {\n key: \"recomputeGridSize\",\n value: function recomputeGridSize() {\n var _ref3 = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {},\n _ref3$columnIndex = _ref3.columnIndex,\n columnIndex = _ref3$columnIndex === void 0 ? 0 : _ref3$columnIndex,\n _ref3$rowIndex = _ref3.rowIndex,\n rowIndex = _ref3$rowIndex === void 0 ? 0 : _ref3$rowIndex;\n if (this.Grid) {\n this.Grid.recomputeGridSize({\n rowIndex: rowIndex,\n columnIndex: columnIndex\n });\n }\n }\n\n /** See Grid#recomputeGridSize */\n }, {\n key: \"recomputeRowHeights\",\n value: function recomputeRowHeights() {\n var index = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : 0;\n if (this.Grid) {\n this.Grid.recomputeGridSize({\n rowIndex: index\n });\n }\n }\n\n /** See Grid#scrollToPosition */\n }, {\n key: \"scrollToPosition\",\n value: function scrollToPosition() {\n var scrollTop = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : 0;\n if (this.Grid) {\n this.Grid.scrollToPosition({\n scrollTop: scrollTop\n });\n }\n }\n\n /** See Grid#scrollToCell */\n }, {\n key: \"scrollToRow\",\n value: function scrollToRow() {\n var index = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : 0;\n if (this.Grid) {\n this.Grid.scrollToCell({\n columnIndex: 0,\n rowIndex: index\n });\n }\n }\n }, {\n key: \"getScrollbarWidth\",\n value: function getScrollbarWidth() {\n if (this.GridElement) {\n var _Grid = this.GridElement;\n var clientWidth = _Grid.clientWidth || 0;\n var offsetWidth = _Grid.offsetWidth || 0;\n return offsetWidth - clientWidth;\n }\n return 0;\n }\n }, {\n key: \"componentDidMount\",\n value: function componentDidMount() {\n this._setScrollbarWidth();\n }\n }, {\n key: \"componentDidUpdate\",\n value: function componentDidUpdate() {\n this._setScrollbarWidth();\n }\n }, {\n key: \"render\",\n value: function render() {\n var _this2 = this;\n var _this$props = this.props,\n children = _this$props.children,\n className = _this$props.className,\n disableHeader = _this$props.disableHeader,\n gridClassName = _this$props.gridClassName,\n gridStyle = _this$props.gridStyle,\n headerHeight = _this$props.headerHeight,\n headerRowRenderer = _this$props.headerRowRenderer,\n height = _this$props.height,\n id = _this$props.id,\n noRowsRenderer = _this$props.noRowsRenderer,\n rowClassName = _this$props.rowClassName,\n rowStyle = _this$props.rowStyle,\n scrollToIndex = _this$props.scrollToIndex,\n style = _this$props.style,\n width = _this$props.width;\n var scrollbarWidth = this.state.scrollbarWidth;\n var availableRowsHeight = disableHeader ? height : height - headerHeight;\n var rowClass = typeof rowClassName === 'function' ? rowClassName({\n index: -1\n }) : rowClassName;\n var rowStyleObject = typeof rowStyle === 'function' ? rowStyle({\n index: -1\n }) : rowStyle;\n\n // Precompute and cache column styles before rendering rows and columns to speed things up\n this._cachedColumnStyles = [];\n React.Children.toArray(children).forEach(function (column, index) {\n var flexStyles = _this2._getFlexStyleForColumn(column, column.props.style || Column.defaultProps.style);\n _this2._cachedColumnStyles[index] = _objectSpread({\n overflow: 'hidden'\n }, flexStyles);\n });\n\n // Note that we specify :rowCount, :scrollbarWidth, :sortBy, and :sortDirection as properties on Grid even though these have nothing to do with Grid.\n // This is done because Grid is a pure component and won't update unless its properties or state has changed.\n // Any property that should trigger a re-render of Grid then is specified here to avoid a stale display.\n return /*#__PURE__*/React.createElement(\"div\", {\n \"aria-label\": this.props['aria-label'],\n \"aria-labelledby\": this.props['aria-labelledby'],\n \"aria-colcount\": React.Children.toArray(children).length,\n \"aria-rowcount\": this.props.rowCount,\n className: clsx('ReactVirtualized__Table', className),\n id: id,\n role: \"grid\",\n style: style\n }, !disableHeader && headerRowRenderer({\n className: clsx('ReactVirtualized__Table__headerRow', rowClass),\n columns: this._getHeaderColumns(),\n style: _objectSpread({\n height: headerHeight,\n overflow: 'hidden',\n paddingRight: scrollbarWidth,\n width: width\n }, rowStyleObject)\n }), /*#__PURE__*/React.createElement(Grid, _extends({}, this.props, {\n elementRef: this._setGridElementRef,\n \"aria-readonly\": null,\n autoContainerWidth: true,\n className: clsx('ReactVirtualized__Table__Grid', gridClassName),\n cellRenderer: this._createRow,\n columnWidth: width,\n columnCount: 1,\n height: availableRowsHeight,\n id: undefined,\n noContentRenderer: noRowsRenderer,\n onScroll: this._onScroll,\n onSectionRendered: this._onSectionRendered,\n ref: this._setRef,\n role: \"rowgroup\",\n scrollbarWidth: scrollbarWidth,\n scrollToRow: scrollToIndex,\n style: _objectSpread(_objectSpread({}, gridStyle), {}, {\n overflowX: 'hidden'\n })\n })));\n }\n }, {\n key: \"_createColumn\",\n value: function _createColumn(_ref4) {\n var column = _ref4.column,\n columnIndex = _ref4.columnIndex,\n isScrolling = _ref4.isScrolling,\n parent = _ref4.parent,\n rowData = _ref4.rowData,\n rowIndex = _ref4.rowIndex;\n var onColumnClick = this.props.onColumnClick;\n var _column$props = column.props,\n cellDataGetter = _column$props.cellDataGetter,\n cellRenderer = _column$props.cellRenderer,\n className = _column$props.className,\n columnData = _column$props.columnData,\n dataKey = _column$props.dataKey,\n id = _column$props.id;\n var cellData = cellDataGetter({\n columnData: columnData,\n dataKey: dataKey,\n rowData: rowData\n });\n var renderedCell = cellRenderer({\n cellData: cellData,\n columnData: columnData,\n columnIndex: columnIndex,\n dataKey: dataKey,\n isScrolling: isScrolling,\n parent: parent,\n rowData: rowData,\n rowIndex: rowIndex\n });\n var onClick = function onClick(event) {\n onColumnClick && onColumnClick({\n columnData: columnData,\n dataKey: dataKey,\n event: event\n });\n };\n var style = this._cachedColumnStyles[columnIndex];\n var title = typeof renderedCell === 'string' ? renderedCell : null;\n\n // Avoid using object-spread syntax with multiple objects here,\n // Since it results in an extra method call to 'babel-runtime/helpers/extends'\n // See PR https://github.com/bvaughn/react-virtualized/pull/942\n return /*#__PURE__*/React.createElement(\"div\", {\n \"aria-colindex\": columnIndex + 1,\n \"aria-describedby\": id,\n className: clsx('ReactVirtualized__Table__rowColumn', className),\n key: 'Row' + rowIndex + '-' + 'Col' + columnIndex,\n onClick: onClick,\n role: \"gridcell\",\n style: style,\n title: title\n }, renderedCell);\n }\n }, {\n key: \"_createHeader\",\n value: function _createHeader(_ref5) {\n var column = _ref5.column,\n index = _ref5.index;\n var _this$props2 = this.props,\n headerClassName = _this$props2.headerClassName,\n headerStyle = _this$props2.headerStyle,\n onHeaderClick = _this$props2.onHeaderClick,\n sort = _this$props2.sort,\n sortBy = _this$props2.sortBy,\n sortDirection = _this$props2.sortDirection;\n var _column$props2 = column.props,\n columnData = _column$props2.columnData,\n dataKey = _column$props2.dataKey,\n defaultSortDirection = _column$props2.defaultSortDirection,\n disableSort = _column$props2.disableSort,\n headerRenderer = _column$props2.headerRenderer,\n id = _column$props2.id,\n label = _column$props2.label;\n var sortEnabled = !disableSort && sort;\n var classNames = clsx('ReactVirtualized__Table__headerColumn', headerClassName, column.props.headerClassName, {\n ReactVirtualized__Table__sortableHeaderColumn: sortEnabled\n });\n var style = this._getFlexStyleForColumn(column, _objectSpread(_objectSpread({}, headerStyle), column.props.headerStyle));\n var renderedHeader = headerRenderer({\n columnData: columnData,\n dataKey: dataKey,\n disableSort: disableSort,\n label: label,\n sortBy: sortBy,\n sortDirection: sortDirection\n });\n var headerOnClick, headerOnKeyDown, headerTabIndex, headerAriaSort, headerAriaLabel;\n if (sortEnabled || onHeaderClick) {\n // If this is a sortable header, clicking it should update the table data's sorting.\n var isFirstTimeSort = sortBy !== dataKey;\n\n // If this is the firstTime sort of this column, use the column default sort order.\n // Otherwise, invert the direction of the sort.\n var newSortDirection = isFirstTimeSort ? defaultSortDirection : sortDirection === SortDirection.DESC ? SortDirection.ASC : SortDirection.DESC;\n var onClick = function onClick(event) {\n sortEnabled && sort({\n defaultSortDirection: defaultSortDirection,\n event: event,\n sortBy: dataKey,\n sortDirection: newSortDirection\n });\n onHeaderClick && onHeaderClick({\n columnData: columnData,\n dataKey: dataKey,\n event: event\n });\n };\n var onKeyDown = function onKeyDown(event) {\n if (event.key === 'Enter' || event.key === ' ') {\n onClick(event);\n }\n };\n headerAriaLabel = column.props['aria-label'] || label || dataKey;\n headerAriaSort = 'none';\n headerTabIndex = 0;\n headerOnClick = onClick;\n headerOnKeyDown = onKeyDown;\n }\n if (sortBy === dataKey) {\n headerAriaSort = sortDirection === SortDirection.ASC ? 'ascending' : 'descending';\n }\n\n // Avoid using object-spread syntax with multiple objects here,\n // Since it results in an extra method call to 'babel-runtime/helpers/extends'\n // See PR https://github.com/bvaughn/react-virtualized/pull/942\n return /*#__PURE__*/React.createElement(\"div\", {\n \"aria-label\": headerAriaLabel,\n \"aria-sort\": headerAriaSort,\n className: classNames,\n id: id,\n key: 'Header-Col' + index,\n onClick: headerOnClick,\n onKeyDown: headerOnKeyDown,\n role: \"columnheader\",\n style: style,\n tabIndex: headerTabIndex\n }, renderedHeader);\n }\n }, {\n key: \"_createRow\",\n value: function _createRow(_ref6) {\n var _this3 = this;\n var index = _ref6.rowIndex,\n isScrolling = _ref6.isScrolling,\n key = _ref6.key,\n parent = _ref6.parent,\n style = _ref6.style;\n var _this$props3 = this.props,\n children = _this$props3.children,\n onRowClick = _this$props3.onRowClick,\n onRowDoubleClick = _this$props3.onRowDoubleClick,\n onRowRightClick = _this$props3.onRowRightClick,\n onRowMouseOver = _this$props3.onRowMouseOver,\n onRowMouseOut = _this$props3.onRowMouseOut,\n rowClassName = _this$props3.rowClassName,\n rowGetter = _this$props3.rowGetter,\n rowRenderer = _this$props3.rowRenderer,\n rowStyle = _this$props3.rowStyle;\n var scrollbarWidth = this.state.scrollbarWidth;\n var rowClass = typeof rowClassName === 'function' ? rowClassName({\n index: index\n }) : rowClassName;\n var rowStyleObject = typeof rowStyle === 'function' ? rowStyle({\n index: index\n }) : rowStyle;\n var rowData = rowGetter({\n index: index\n });\n var columns = React.Children.toArray(children).map(function (column, columnIndex) {\n return _this3._createColumn({\n column: column,\n columnIndex: columnIndex,\n isScrolling: isScrolling,\n parent: parent,\n rowData: rowData,\n rowIndex: index,\n scrollbarWidth: scrollbarWidth\n });\n });\n var className = clsx('ReactVirtualized__Table__row', rowClass);\n var flattenedStyle = _objectSpread(_objectSpread({}, style), {}, {\n height: this._getRowHeight(index),\n overflow: 'hidden',\n paddingRight: scrollbarWidth\n }, rowStyleObject);\n return rowRenderer({\n className: className,\n columns: columns,\n index: index,\n isScrolling: isScrolling,\n key: key,\n onRowClick: onRowClick,\n onRowDoubleClick: onRowDoubleClick,\n onRowRightClick: onRowRightClick,\n onRowMouseOver: onRowMouseOver,\n onRowMouseOut: onRowMouseOut,\n rowData: rowData,\n style: flattenedStyle\n });\n }\n\n /**\n * Determines the flex-shrink, flex-grow, and width values for a cell (header or column).\n */\n }, {\n key: \"_getFlexStyleForColumn\",\n value: function _getFlexStyleForColumn(column) {\n var customStyle = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};\n var flexValue = \"\".concat(column.props.flexGrow, \" \").concat(column.props.flexShrink, \" \").concat(column.props.width, \"px\");\n var style = _objectSpread(_objectSpread({}, customStyle), {}, {\n flex: flexValue,\n msFlex: flexValue,\n WebkitFlex: flexValue\n });\n if (column.props.maxWidth) {\n style.maxWidth = column.props.maxWidth;\n }\n if (column.props.minWidth) {\n style.minWidth = column.props.minWidth;\n }\n return style;\n }\n }, {\n key: \"_getHeaderColumns\",\n value: function _getHeaderColumns() {\n var _this4 = this;\n var _this$props4 = this.props,\n children = _this$props4.children,\n disableHeader = _this$props4.disableHeader;\n var items = disableHeader ? [] : React.Children.toArray(children);\n return items.map(function (column, index) {\n return _this4._createHeader({\n column: column,\n index: index\n });\n });\n }\n }, {\n key: \"_getRowHeight\",\n value: function _getRowHeight(rowIndex) {\n var rowHeight = this.props.rowHeight;\n return typeof rowHeight === 'function' ? rowHeight({\n index: rowIndex\n }) : rowHeight;\n }\n }, {\n key: \"_onScroll\",\n value: function _onScroll(_ref7) {\n var clientHeight = _ref7.clientHeight,\n scrollHeight = _ref7.scrollHeight,\n scrollTop = _ref7.scrollTop;\n var onScroll = this.props.onScroll;\n onScroll({\n clientHeight: clientHeight,\n scrollHeight: scrollHeight,\n scrollTop: scrollTop\n });\n }\n }, {\n key: \"_onSectionRendered\",\n value: function _onSectionRendered(_ref8) {\n var rowOverscanStartIndex = _ref8.rowOverscanStartIndex,\n rowOverscanStopIndex = _ref8.rowOverscanStopIndex,\n rowStartIndex = _ref8.rowStartIndex,\n rowStopIndex = _ref8.rowStopIndex;\n var onRowsRendered = this.props.onRowsRendered;\n onRowsRendered({\n overscanStartIndex: rowOverscanStartIndex,\n overscanStopIndex: rowOverscanStopIndex,\n startIndex: rowStartIndex,\n stopIndex: rowStopIndex\n });\n }\n }, {\n key: \"_setRef\",\n value: function _setRef(ref) {\n this.Grid = ref;\n }\n }, {\n key: \"_setGridElementRef\",\n value: function _setGridElementRef(ref) {\n this.GridElement = ref;\n }\n }, {\n key: \"_setScrollbarWidth\",\n value: function _setScrollbarWidth() {\n var scrollbarWidth = this.getScrollbarWidth();\n this.setState({\n scrollbarWidth: scrollbarWidth\n });\n }\n }]);\n}(React.PureComponent);\n_defineProperty(Table, \"defaultProps\", {\n disableHeader: false,\n estimatedRowSize: 30,\n headerHeight: 0,\n headerStyle: {},\n noRowsRenderer: function noRowsRenderer() {\n return null;\n },\n onRowsRendered: function onRowsRendered() {\n return null;\n },\n onScroll: function onScroll() {\n return null;\n },\n overscanIndicesGetter: accessibilityOverscanIndicesGetter,\n overscanRowCount: 10,\n rowRenderer: defaultRowRenderer,\n headerRowRenderer: defaultHeaderRowRenderer,\n rowStyle: {},\n scrollToAlignment: 'auto',\n scrollToIndex: -1,\n style: {}\n});\nexport { Table as default };\nTable.propTypes = process.env.NODE_ENV !== \"production\" ? {\n /** This is just set on the grid top element. */\n 'aria-label': PropTypes.string,\n /** This is just set on the grid top element. */\n 'aria-labelledby': PropTypes.string,\n /**\n * Removes fixed height from the scrollingContainer so that the total height\n * of rows can stretch the window. Intended for use with WindowScroller\n */\n autoHeight: PropTypes.bool,\n /** One or more Columns describing the data displayed in this row */\n children: function children(props) {\n var children = React.Children.toArray(props.children);\n for (var i = 0; i < children.length; i++) {\n var childType = children[i].type;\n if (childType !== Column && !(childType.prototype instanceof Column)) {\n return new Error('Table only accepts children of type Column');\n }\n }\n },\n /** Optional CSS class name */\n className: PropTypes.string,\n /** Disable rendering the header at all */\n disableHeader: PropTypes.bool,\n /**\n * Used to estimate the total height of a Table before all of its rows have actually been measured.\n * The estimated total height is adjusted as rows are rendered.\n */\n estimatedRowSize: PropTypes.number.isRequired,\n /** Optional custom CSS class name to attach to inner Grid element. */\n gridClassName: PropTypes.string,\n /** Optional inline style to attach to inner Grid element. */\n gridStyle: PropTypes.object,\n /** Optional CSS class to apply to all column headers */\n headerClassName: PropTypes.string,\n /** Fixed height of header row */\n headerHeight: PropTypes.number.isRequired,\n /**\n * Responsible for rendering a table row given an array of columns:\n * Should implement the following interface: ({\n * className: string,\n * columns: any[],\n * style: any\n * }): PropTypes.node\n */\n headerRowRenderer: PropTypes.func,\n /** Optional custom inline style to attach to table header columns. */\n headerStyle: PropTypes.object,\n /** Fixed/available height for out DOM element */\n height: PropTypes.number.isRequired,\n /** Optional id */\n id: PropTypes.string,\n /** Optional renderer to be used in place of table body rows when rowCount is 0 */\n noRowsRenderer: PropTypes.func,\n /**\n * Optional callback when a column is clicked.\n * ({ columnData: any, dataKey: string }): void\n */\n onColumnClick: PropTypes.func,\n /**\n * Optional callback when a column's header is clicked.\n * ({ columnData: any, dataKey: string }): void\n */\n onHeaderClick: PropTypes.func,\n /**\n * Callback invoked when a user clicks on a table row.\n * ({ index: number }): void\n */\n onRowClick: PropTypes.func,\n /**\n * Callback invoked when a user double-clicks on a table row.\n * ({ index: number }): void\n */\n onRowDoubleClick: PropTypes.func,\n /**\n * Callback invoked when the mouse leaves a table row.\n * ({ index: number }): void\n */\n onRowMouseOut: PropTypes.func,\n /**\n * Callback invoked when a user moves the mouse over a table row.\n * ({ index: number }): void\n */\n onRowMouseOver: PropTypes.func,\n /**\n * Callback invoked when a user right-clicks on a table row.\n * ({ index: number }): void\n */\n onRowRightClick: PropTypes.func,\n /**\n * Callback invoked with information about the slice of rows that were just rendered.\n * ({ startIndex, stopIndex }): void\n */\n onRowsRendered: PropTypes.func,\n /**\n * Callback invoked whenever the scroll offset changes within the inner scrollable region.\n * This callback can be used to sync scrolling between lists, tables, or grids.\n * ({ clientHeight, scrollHeight, scrollTop }): void\n */\n onScroll: PropTypes.func.isRequired,\n /** See Grid#overscanIndicesGetter */\n overscanIndicesGetter: PropTypes.func.isRequired,\n /**\n * Number of rows to render above/below the visible bounds of the list.\n * These rows can help for smoother scrolling on touch devices.\n */\n overscanRowCount: PropTypes.number.isRequired,\n /**\n * Optional CSS class to apply to all table rows (including the header row).\n * This property can be a CSS class name (string) or a function that returns a class name.\n * If a function is provided its signature should be: ({ index: number }): string\n */\n rowClassName: PropTypes.oneOfType([PropTypes.string, PropTypes.func]),\n /**\n * Callback responsible for returning a data row given an index.\n * ({ index: number }): any\n */\n rowGetter: PropTypes.func.isRequired,\n /**\n * Either a fixed row height (number) or a function that returns the height of a row given its index.\n * ({ index: number }): number\n */\n rowHeight: PropTypes.oneOfType([PropTypes.number, PropTypes.func]).isRequired,\n /** Number of rows in table. */\n rowCount: PropTypes.number.isRequired,\n /**\n * Responsible for rendering a table row given an array of columns:\n * Should implement the following interface: ({\n * className: string,\n * columns: Array,\n * index: number,\n * isScrolling: boolean,\n * onRowClick: ?Function,\n * onRowDoubleClick: ?Function,\n * onRowMouseOver: ?Function,\n * onRowMouseOut: ?Function,\n * rowData: any,\n * style: any\n * }): PropTypes.node\n */\n rowRenderer: PropTypes.func,\n /** Optional custom inline style to attach to table rows. */\n rowStyle: PropTypes.oneOfType([PropTypes.object, PropTypes.func]).isRequired,\n /** See Grid#scrollToAlignment */\n scrollToAlignment: PropTypes.oneOf(['auto', 'end', 'start', 'center']).isRequired,\n /** Row index to ensure visible (by forcefully scrolling if necessary) */\n scrollToIndex: PropTypes.number.isRequired,\n /** Vertical offset. */\n scrollTop: PropTypes.number,\n /**\n * Sort function to be called if a sortable header is clicked.\n * Should implement the following interface: ({\n * defaultSortDirection: 'ASC' | 'DESC',\n * event: MouseEvent,\n * sortBy: string,\n * sortDirection: SortDirection\n * }): void\n */\n sort: PropTypes.func,\n /** Table data is currently sorted by this :dataKey (if it is sorted at all) */\n sortBy: PropTypes.string,\n /** Table data is currently sorted in this direction (if it is sorted at all) */\n sortDirection: PropTypes.oneOf([SortDirection.ASC, SortDirection.DESC]),\n /** Optional inline style */\n style: PropTypes.object,\n /** Tab index for focus */\n tabIndex: PropTypes.number,\n /** Width of list */\n width: PropTypes.number.isRequired\n} : {};","/*:: import type {CellDataGetterParams} from './types';*/\n/**\n * Default accessor for returning a cell value for a given attribute.\n * This function expects to operate on either a vanilla Object or an Immutable Map.\n * You should override the column's cellDataGetter if your data is some other type of object.\n */\nexport default function defaultCellDataGetter(_ref /*:: */) {\n var dataKey = _ref /*:: */.dataKey,\n rowData = _ref /*:: */.rowData;\n if (typeof rowData.get === 'function') {\n return rowData.get(dataKey);\n } else {\n return rowData[dataKey];\n }\n}","/*:: import type {CellRendererParams} from './types';*/\n/**\n * Default cell renderer that displays an attribute as a simple string\n * You should override the column's cellRenderer if your data is some other type of object.\n */\nexport default function defaultCellRenderer(_ref /*:: */) /*: string*/{\n var cellData = _ref /*:: */.cellData;\n if (cellData == null) {\n return '';\n } else {\n return String(cellData);\n }\n}","import * as React from 'react';\nimport SortIndicator from './SortIndicator';\n/*:: import type {HeaderRendererParams} from './types';*/\n/**\n * Default table header renderer.\n */\nexport default function defaultHeaderRenderer(_ref /*:: */) {\n var dataKey = _ref /*:: */.dataKey,\n label = _ref /*:: */.label,\n sortBy = _ref /*:: */.sortBy,\n sortDirection = _ref /*:: */.sortDirection;\n var showSortIndicator = sortBy === dataKey;\n var children = [/*#__PURE__*/React.createElement(\"span\", {\n className: \"ReactVirtualized__Table__headerTruncatedText\",\n key: \"label\",\n title: typeof label === 'string' ? label : null\n }, label)];\n if (showSortIndicator) {\n children.push(/*#__PURE__*/React.createElement(SortIndicator, {\n key: \"SortIndicator\",\n sortDirection: sortDirection\n }));\n }\n return children;\n}","import _extends from \"@babel/runtime/helpers/extends\";\nimport * as React from 'react';\n/*:: import type {RowRendererParams} from './types';*/\n/**\n * Default row renderer for Table.\n */\nexport default function defaultRowRenderer(_ref /*:: */) {\n var className = _ref /*:: */.className,\n columns = _ref /*:: */.columns,\n index = _ref /*:: */.index,\n key = _ref /*:: */.key,\n onRowClick = _ref /*:: */.onRowClick,\n onRowDoubleClick = _ref /*:: */.onRowDoubleClick,\n onRowMouseOut = _ref /*:: */.onRowMouseOut,\n onRowMouseOver = _ref /*:: */.onRowMouseOver,\n onRowRightClick = _ref /*:: */.onRowRightClick,\n rowData = _ref /*:: */.rowData,\n style = _ref /*:: */.style;\n var a11yProps = {\n 'aria-rowindex': index + 1\n };\n if (onRowClick || onRowDoubleClick || onRowMouseOut || onRowMouseOver || onRowRightClick) {\n a11yProps['aria-label'] = 'row';\n a11yProps.tabIndex = 0;\n if (onRowClick) {\n a11yProps.onClick = function (event) {\n return onRowClick({\n event: event,\n index: index,\n rowData: rowData\n });\n };\n }\n if (onRowDoubleClick) {\n a11yProps.onDoubleClick = function (event) {\n return onRowDoubleClick({\n event: event,\n index: index,\n rowData: rowData\n });\n };\n }\n if (onRowMouseOut) {\n a11yProps.onMouseOut = function (event) {\n return onRowMouseOut({\n event: event,\n index: index,\n rowData: rowData\n });\n };\n }\n if (onRowMouseOver) {\n a11yProps.onMouseOver = function (event) {\n return onRowMouseOver({\n event: event,\n index: index,\n rowData: rowData\n });\n };\n }\n if (onRowRightClick) {\n a11yProps.onContextMenu = function (event) {\n return onRowRightClick({\n event: event,\n index: index,\n rowData: rowData\n });\n };\n }\n }\n return /*#__PURE__*/React.createElement(\"div\", _extends({}, a11yProps, {\n className: className,\n key: key,\n role: \"row\",\n style: style\n }), columns);\n}","import * as React from 'react';\n/*:: import type {HeaderRowRendererParams} from './types';*/\nexport default function defaultHeaderRowRenderer(_ref /*:: */) {\n var className = _ref /*:: */.className,\n columns = _ref /*:: */.columns,\n style = _ref /*:: */.style;\n return /*#__PURE__*/React.createElement(\"div\", {\n className: className,\n role: \"row\",\n style: style\n }, columns);\n}","'no babel-plugin-flow-react-proptypes';\n\nimport { requestAnimationTimeout, cancelAnimationTimeout } from '../../utils/requestAnimationTimeout';\n/*:: import type WindowScroller from '../WindowScroller.js';*/\nvar mountedInstances = [];\nvar originalBodyPointerEvents = null;\nvar disablePointerEventsTimeoutId = null;\nfunction enablePointerEventsIfDisabled() {\n if (disablePointerEventsTimeoutId) {\n disablePointerEventsTimeoutId = null;\n if (document.body && originalBodyPointerEvents != null) {\n document.body.style.pointerEvents = originalBodyPointerEvents;\n }\n originalBodyPointerEvents = null;\n }\n}\nfunction enablePointerEventsAfterDelayCallback() {\n enablePointerEventsIfDisabled();\n mountedInstances.forEach(function (instance) {\n return instance.__resetIsScrolling();\n });\n}\nfunction enablePointerEventsAfterDelay() {\n if (disablePointerEventsTimeoutId) {\n cancelAnimationTimeout(disablePointerEventsTimeoutId);\n }\n var maximumTimeout = 0;\n mountedInstances.forEach(function (instance) {\n maximumTimeout = Math.max(maximumTimeout, instance.props.scrollingResetTimeInterval);\n });\n disablePointerEventsTimeoutId = requestAnimationTimeout(enablePointerEventsAfterDelayCallback, maximumTimeout);\n}\nfunction onScrollWindow(event /*: Event*/) {\n if (event.currentTarget === window && originalBodyPointerEvents == null && document.body) {\n originalBodyPointerEvents = document.body.style.pointerEvents;\n document.body.style.pointerEvents = 'none';\n }\n enablePointerEventsAfterDelay();\n mountedInstances.forEach(function (instance) {\n if (instance.props.scrollElement === event.currentTarget) {\n instance.__handleWindowScrollEvent();\n }\n });\n}\nexport function registerScrollListener(component /*: WindowScroller*/, element /*: Element*/) {\n if (!mountedInstances.some(function (instance) {\n return instance.props.scrollElement === element;\n })) {\n element.addEventListener('scroll', onScrollWindow);\n }\n mountedInstances.push(component);\n}\nexport function unregisterScrollListener(component /*: WindowScroller*/, element /*: Element*/) {\n mountedInstances = mountedInstances.filter(function (instance) {\n return instance !== component;\n });\n if (!mountedInstances.length) {\n element.removeEventListener('scroll', onScrollWindow);\n if (disablePointerEventsTimeoutId) {\n cancelAnimationTimeout(disablePointerEventsTimeoutId);\n enablePointerEventsIfDisabled();\n }\n }\n}","/**\n * Gets the dimensions of the element, accounting for API differences between\n * `window` and other DOM elements.\n */\n/*:: type Dimensions = {\n height: number,\n width: number,\n};*/\n// TODO Move this into WindowScroller and import from there\n/*:: type WindowScrollerProps = {\n serverHeight: number,\n serverWidth: number,\n};*/\nvar isWindow = function isWindow(element) {\n return element === window;\n};\nvar getBoundingBox = function getBoundingBox(element) {\n return element.getBoundingClientRect();\n};\nexport function getDimensions(scrollElement /*: ?Element*/, props /*: WindowScrollerProps*/) /*: Dimensions*/{\n if (!scrollElement) {\n return {\n height: props.serverHeight,\n width: props.serverWidth\n };\n } else if (isWindow(scrollElement)) {\n var _window = window,\n innerHeight = _window.innerHeight,\n innerWidth = _window.innerWidth;\n return {\n height: typeof innerHeight === 'number' ? innerHeight : 0,\n width: typeof innerWidth === 'number' ? innerWidth : 0\n };\n } else {\n return getBoundingBox(scrollElement);\n }\n}\n\n/**\n * Gets the vertical and horizontal position of an element within its scroll container.\n * Elements that have been “scrolled past” return negative values.\n * Handles edge-case where a user is navigating back (history) from an already-scrolled page.\n * In this case the body’s top or left position will be a negative number and this element’s top or left will be increased (by that amount).\n */\nexport function getPositionOffset(element /*: Element*/, container /*: Element*/) {\n if (isWindow(container) && document.documentElement) {\n var containerElement = document.documentElement;\n var elementRect = getBoundingBox(element);\n var containerRect = getBoundingBox(containerElement);\n return {\n top: elementRect.top - containerRect.top,\n left: elementRect.left - containerRect.left\n };\n } else {\n var scrollOffset = getScrollOffset(container);\n var _elementRect = getBoundingBox(element);\n var _containerRect = getBoundingBox(container);\n return {\n top: _elementRect.top + scrollOffset.top - _containerRect.top,\n left: _elementRect.left + scrollOffset.left - _containerRect.left\n };\n }\n}\n\n/**\n * Gets the vertical and horizontal scroll amount of the element, accounting for IE compatibility\n * and API differences between `window` and other DOM elements.\n */\nexport function getScrollOffset(element /*: Element*/) {\n if (isWindow(element) && document.documentElement) {\n return {\n top: 'scrollY' in window ? window.scrollY : document.documentElement.scrollTop,\n left: 'scrollX' in window ? window.scrollX : document.documentElement.scrollLeft\n };\n } else {\n return {\n top: element.scrollTop,\n left: element.scrollLeft\n };\n }\n}","import _classCallCheck from \"@babel/runtime/helpers/classCallCheck\";\nimport _createClass from \"@babel/runtime/helpers/createClass\";\nimport _possibleConstructorReturn from \"@babel/runtime/helpers/possibleConstructorReturn\";\nimport _getPrototypeOf from \"@babel/runtime/helpers/getPrototypeOf\";\nimport _inherits from \"@babel/runtime/helpers/inherits\";\nimport _defineProperty from \"@babel/runtime/helpers/defineProperty\";\nfunction ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }\nfunction _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }\nfunction _callSuper(t, o, e) { return o = _getPrototypeOf(o), _possibleConstructorReturn(t, _isNativeReflectConstruct() ? Reflect.construct(o, e || [], _getPrototypeOf(t).constructor) : o.apply(t, e)); }\nfunction _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); } catch (t) {} return (_isNativeReflectConstruct = function _isNativeReflectConstruct() { return !!t; })(); }\nimport * as React from 'react';\nimport { registerScrollListener, unregisterScrollListener } from './utils/onScroll';\nimport { getDimensions, getPositionOffset, getScrollOffset } from './utils/dimensions';\nimport createDetectElementResize from '../vendor/detectElementResize';\n/*:: type Props = {\n /**\n * Function responsible for rendering children.\n * This function should implement the following signature:\n * ({ height, isScrolling, scrollLeft, scrollTop, width }) => PropTypes.element\n *-/\n children: ({\n onChildScroll: ({scrollTop: number}) => void,\n registerChild: (?Element) => void,\n height: number,\n isScrolling: boolean,\n scrollLeft: number,\n scrollTop: number,\n width: number,\n }) => React.Node,\n\n /** Callback to be invoked on-resize: ({ height, width }) *-/\n onResize: ({height: number, width: number}) => void,\n\n /** Callback to be invoked on-scroll: ({ scrollLeft, scrollTop }) *-/\n onScroll: ({scrollLeft: number, scrollTop: number}) => void,\n\n /** Element to attach scroll event listeners. Defaults to window. *-/\n scrollElement: ?(typeof window | Element),\n /**\n * Wait this amount of time after the last scroll event before resetting child `pointer-events`.\n *-/\n scrollingResetTimeInterval: number,\n\n /** Height used for server-side rendering *-/\n serverHeight: number,\n\n /** Width used for server-side rendering *-/\n serverWidth: number,\n\n /** Force scrollTop updates when .updatePosition is called, fixing forced header height change updates *-/\n updateScrollTopOnUpdatePosition?: boolean,\n};*/\n/*:: type State = {\n height: number,\n width: number,\n isScrolling: boolean,\n scrollLeft: number,\n scrollTop: number,\n};*/\n/*:: type ResizeHandler = (element: Element, onResize: () => void) => void;*/\n/*:: type DetectElementResize = {\n addResizeListener: ResizeHandler,\n removeResizeListener: ResizeHandler,\n};*/\n/**\n * Specifies the number of milliseconds during which to disable pointer events while a scroll is in progress.\n * This improves performance and makes scrolling smoother.\n */\nexport var IS_SCROLLING_TIMEOUT = 150;\nvar getWindow = function getWindow() {\n return typeof window !== 'undefined' ? window : undefined;\n};\nvar WindowScroller = /*#__PURE__*/function (_React$PureComponent) {\n function WindowScroller() {\n var _this;\n _classCallCheck(this, WindowScroller);\n for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {\n args[_key] = arguments[_key];\n }\n _this = _callSuper(this, WindowScroller, [].concat(args));\n _defineProperty(_this, \"_window\", getWindow());\n _defineProperty(_this, \"_isMounted\", false);\n _defineProperty(_this, \"_positionFromTop\", 0);\n _defineProperty(_this, \"_positionFromLeft\", 0);\n _defineProperty(_this, \"_detectElementResize\", void 0);\n _defineProperty(_this, \"_child\", void 0);\n _defineProperty(_this, \"_windowScrollerRef\", /*#__PURE__*/React.createRef());\n _defineProperty(_this, \"state\", _objectSpread(_objectSpread({}, getDimensions(_this.props.scrollElement, _this.props)), {}, {\n isScrolling: false,\n scrollLeft: 0,\n scrollTop: 0\n }));\n _defineProperty(_this, \"_registerChild\", function (element) {\n if (element && !(element instanceof Element)) {\n console.warn('WindowScroller registerChild expects to be passed Element or null');\n }\n _this._child = element;\n _this.updatePosition();\n });\n _defineProperty(_this, \"_onChildScroll\", function (_ref) {\n var scrollTop = _ref.scrollTop;\n if (_this.state.scrollTop === scrollTop) {\n return;\n }\n var scrollElement = _this.props.scrollElement;\n if (scrollElement) {\n if (typeof scrollElement.scrollTo === 'function') {\n scrollElement.scrollTo(0, scrollTop + _this._positionFromTop);\n } else {\n scrollElement.scrollTop = scrollTop + _this._positionFromTop;\n }\n }\n });\n _defineProperty(_this, \"_registerResizeListener\", function (element) {\n if (element === window) {\n window.addEventListener('resize', _this._onResize, false);\n } else {\n _this._detectElementResize.addResizeListener(element, _this._onResize);\n }\n });\n _defineProperty(_this, \"_unregisterResizeListener\", function (element) {\n if (element === window) {\n window.removeEventListener('resize', _this._onResize, false);\n } else if (element) {\n _this._detectElementResize.removeResizeListener(element, _this._onResize);\n }\n });\n _defineProperty(_this, \"_onResize\", function () {\n _this.updatePosition();\n });\n // Referenced by utils/onScroll\n _defineProperty(_this, \"__handleWindowScrollEvent\", function () {\n if (!_this._isMounted) {\n return;\n }\n var onScroll = _this.props.onScroll;\n var scrollElement = _this.props.scrollElement;\n if (scrollElement) {\n var scrollOffset = getScrollOffset(scrollElement);\n var scrollLeft = Math.max(0, scrollOffset.left - _this._positionFromLeft);\n var scrollTop = Math.max(0, scrollOffset.top - _this._positionFromTop);\n _this.setState({\n isScrolling: true,\n scrollLeft: scrollLeft,\n scrollTop: scrollTop\n });\n onScroll({\n scrollLeft: scrollLeft,\n scrollTop: scrollTop\n });\n }\n });\n // Referenced by utils/onScroll\n _defineProperty(_this, \"__resetIsScrolling\", function () {\n _this.setState({\n isScrolling: false\n });\n });\n return _this;\n }\n _inherits(WindowScroller, _React$PureComponent);\n return _createClass(WindowScroller, [{\n key: \"updatePosition\",\n value: function updatePosition() {\n var scrollElement /*: ?Element*/ = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : this.props.scrollElement;\n var onResize = this.props.onResize;\n var _this$state = this.state,\n height = _this$state.height,\n width = _this$state.width;\n var thisNode = this._child || this._windowScrollerRef.current;\n if (thisNode instanceof Element && scrollElement) {\n var offset = getPositionOffset(thisNode, scrollElement);\n this._positionFromTop = offset.top;\n this._positionFromLeft = offset.left;\n }\n var dimensions = getDimensions(scrollElement, this.props);\n if (height !== dimensions.height || width !== dimensions.width) {\n this.setState({\n height: dimensions.height,\n width: dimensions.width\n });\n onResize({\n height: dimensions.height,\n width: dimensions.width\n });\n }\n if (this.props.updateScrollTopOnUpdatePosition === true) {\n this.__handleWindowScrollEvent();\n this.__resetIsScrolling();\n }\n }\n }, {\n key: \"componentDidMount\",\n value: function componentDidMount() {\n var scrollElement = this.props.scrollElement;\n this._detectElementResize = createDetectElementResize();\n this.updatePosition(scrollElement);\n if (scrollElement) {\n registerScrollListener(this, scrollElement);\n this._registerResizeListener(scrollElement);\n }\n this._isMounted = true;\n }\n }, {\n key: \"componentDidUpdate\",\n value: function componentDidUpdate(prevProps /*: Props*/, prevState /*: State*/) {\n var scrollElement = this.props.scrollElement;\n var prevScrollElement = prevProps.scrollElement;\n if (prevScrollElement !== scrollElement && prevScrollElement != null && scrollElement != null) {\n this.updatePosition(scrollElement);\n unregisterScrollListener(this, prevScrollElement);\n registerScrollListener(this, scrollElement);\n this._unregisterResizeListener(prevScrollElement);\n this._registerResizeListener(scrollElement);\n }\n }\n }, {\n key: \"componentWillUnmount\",\n value: function componentWillUnmount() {\n var scrollElement = this.props.scrollElement;\n if (scrollElement) {\n unregisterScrollListener(this, scrollElement);\n this._unregisterResizeListener(scrollElement);\n }\n this._isMounted = false;\n }\n }, {\n key: \"render\",\n value: function render() {\n var children = this.props.children;\n var _this$state2 = this.state,\n isScrolling = _this$state2.isScrolling,\n scrollTop = _this$state2.scrollTop,\n scrollLeft = _this$state2.scrollLeft,\n height = _this$state2.height,\n width = _this$state2.width;\n return /*#__PURE__*/React.createElement('div', {\n ref: this._windowScrollerRef\n }, children({\n onChildScroll: this._onChildScroll,\n registerChild: this._registerChild,\n height: height,\n isScrolling: isScrolling,\n scrollLeft: scrollLeft,\n scrollTop: scrollTop,\n width: width\n }));\n }\n }]);\n}(React.PureComponent);\n_defineProperty(WindowScroller, \"defaultProps\", {\n onResize: function onResize() {},\n onScroll: function onScroll() {},\n scrollingResetTimeInterval: IS_SCROLLING_TIMEOUT,\n scrollElement: getWindow(),\n serverHeight: 0,\n serverWidth: 0\n});\nexport { WindowScroller as default };","var baseGetTag = require('./_baseGetTag'),\n isArray = require('./isArray'),\n isObjectLike = require('./isObjectLike');\n\n/** `Object#toString` result references. */\nvar stringTag = '[object String]';\n\n/**\n * Checks if `value` is classified as a `String` primitive or object.\n *\n * @static\n * @since 0.1.0\n * @memberOf _\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a string, else `false`.\n * @example\n *\n * _.isString('abc');\n * // => true\n *\n * _.isString(1);\n * // => false\n */\nfunction isString(value) {\n return typeof value == 'string' ||\n (!isArray(value) && isObjectLike(value) && baseGetTag(value) == stringTag);\n}\n\nmodule.exports = isString;\n","var overArg = require('./_overArg');\n\n/** Built-in value references. */\nvar getPrototype = overArg(Object.getPrototypeOf, Object);\n\nmodule.exports = getPrototype;\n","/**\n * Creates a unary function that invokes `func` with its argument transformed.\n *\n * @private\n * @param {Function} func The function to wrap.\n * @param {Function} transform The argument transform.\n * @returns {Function} Returns the new function.\n */\nfunction overArg(func, transform) {\n return function(arg) {\n return func(transform(arg));\n };\n}\n\nmodule.exports = overArg;\n","var baseGetTag = require('./_baseGetTag'),\n getPrototype = require('./_getPrototype'),\n isObjectLike = require('./isObjectLike');\n\n/** `Object#toString` result references. */\nvar objectTag = '[object Object]';\n\n/** Used for built-in method references. */\nvar funcProto = Function.prototype,\n objectProto = Object.prototype;\n\n/** Used to resolve the decompiled source of functions. */\nvar funcToString = funcProto.toString;\n\n/** Used to check objects for own properties. */\nvar hasOwnProperty = objectProto.hasOwnProperty;\n\n/** Used to infer the `Object` constructor. */\nvar objectCtorString = funcToString.call(Object);\n\n/**\n * Checks if `value` is a plain object, that is, an object created by the\n * `Object` constructor or one with a `[[Prototype]]` of `null`.\n *\n * @static\n * @memberOf _\n * @since 0.8.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a plain object, else `false`.\n * @example\n *\n * function Foo() {\n * this.a = 1;\n * }\n *\n * _.isPlainObject(new Foo);\n * // => false\n *\n * _.isPlainObject([1, 2, 3]);\n * // => false\n *\n * _.isPlainObject({ 'x': 0, 'y': 0 });\n * // => true\n *\n * _.isPlainObject(Object.create(null));\n * // => true\n */\nfunction isPlainObject(value) {\n if (!isObjectLike(value) || baseGetTag(value) != objectTag) {\n return false;\n }\n var proto = getPrototype(value);\n if (proto === null) {\n return true;\n }\n var Ctor = hasOwnProperty.call(proto, 'constructor') && proto.constructor;\n return typeof Ctor == 'function' && Ctor instanceof Ctor &&\n funcToString.call(Ctor) == objectCtorString;\n}\n\nmodule.exports = isPlainObject;\n","// This file is part of MinIO Design System\n// Copyright (c) 2023 MinIO, Inc.\n//\n// This program is free software: you can redistribute it and/or modify\n// it under the terms of the GNU Affero General Public License as published by\n// the Free Software Foundation, either version 3 of the License, or\n// (at your option) any later version.\n//\n// This program is distributed in the hope that it will be useful,\n// but WITHOUT ANY WARRANTY; without even the implied warranty of\n// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n// GNU Affero General Public License for more details.\n//\n// You should have received a copy of the GNU Affero General Public License\n// along with this program. If not, see .\n\nimport React, { HTMLAttributes } from \"react\";\nimport { CSSObject } from \"styled-components\";\nimport { SortDirectionType } from \"react-virtualized\";\n\nexport const actionsTypes = [\n \"view\",\n \"edit\",\n \"delete\",\n \"description\",\n \"share\",\n \"cloud\",\n \"console\",\n \"download\",\n \"disable\",\n \"format\",\n \"preview\",\n] as const;\n\nexport type PredefinedActionTypes = (typeof actionsTypes)[number];\n\nexport interface ItemActions {\n tooltip?: string;\n type: PredefinedActionTypes | React.ReactNode;\n sendOnlyId?: boolean;\n isDisabled?: boolean | ((itemValue: any) => boolean);\n showLoader?: boolean | ((itemValue: any) => boolean);\n onClick?(valueToSend: any): any;\n}\n\nexport interface IColumns {\n label: string;\n elementKey?: string;\n renderFunction?: (input: any) => any;\n renderFullObject?: boolean;\n globalClass?: any;\n rowClass?: any;\n width?: number;\n headerTextAlign?: string;\n contentTextAlign?: string;\n enableSort?: boolean;\n}\n\nexport interface IInfiniteScrollConfig {\n loadMoreRecords: (indexElements: {\n startIndex: number;\n stopIndex: number;\n }) => Promise;\n recordsCount: number;\n}\n\nexport interface ITableSortInfo {\n sortBy: string;\n sortDirection: SortDirectionType;\n}\n\nexport interface ISortConfig {\n onSortClick: (val: ITableSortInfo) => any;\n currentSort: string;\n currentDirection: \"ASC\" | \"DESC\" | undefined;\n}\n\nexport interface DataTableProps {\n itemActions?: ItemActions[] | null;\n columns: IColumns[];\n onSelect?: (e: React.ChangeEvent) => void;\n idField?: string;\n isLoading?: boolean;\n loadingMessage?: React.ReactNode;\n records: any[];\n entityName?: string;\n selectedItems?: string[];\n customEmptyMessage?: string;\n customPaperHeight?: string;\n noBackground?: boolean;\n columnsSelector?: boolean;\n textSelectable?: boolean;\n columnsShown?: string[];\n onColumnChange?: (column: string) => any;\n autoScrollToBottom?: boolean;\n infiniteScrollConfig?: IInfiniteScrollConfig;\n disabled?: boolean;\n onSelectAll?: () => void;\n rowStyle?: ({\n index,\n }: {\n index: number;\n }) => \"deleted\" | \"\" | React.CSSProperties;\n parentClassName?: string;\n sx?: CSSObject;\n rowHeight?: number;\n sortEnabled?: boolean | string[] | ISortConfig;\n sortCallBack?: (info: ITableSortInfo) => void;\n}\n\nexport interface DataTableWrapperProps extends HTMLAttributes {\n disabled?: boolean;\n customPaperHeight?: string | number;\n noBackground?: boolean;\n sx?: CSSObject;\n rowHeight: number;\n}\n\nexport interface IActionButton {\n tooltip?: string;\n type: PredefinedActionTypes | React.ReactNode;\n onClick?: (id: string) => any;\n valueToSend: any;\n selected: boolean;\n sendOnlyId?: boolean;\n idField: string;\n disabled: boolean;\n}\n\nexport interface ColumnSelectorProps {\n open: boolean;\n closeTriggerAction: () => void;\n onSelect: (column: string) => void;\n columns: IColumns[];\n selectedOptionIDs: string[];\n sx?: CSSObject;\n anchorEl?: (EventTarget & HTMLElement) | null;\n}\n\nexport interface ColumnSelectorConstructProps {\n sx?: CSSObject;\n}\n","// This file is part of MinIO Design System\n// Copyright (c) 2023 MinIO, Inc.\n//\n// This program is free software: you can redistribute it and/or modify\n// it under the terms of the GNU Affero General Public License as published by\n// the Free Software Foundation, either version 3 of the License, or\n// (at your option) any later version.\n//\n// This program is distributed in the hope that it will be useful,\n// but WITHOUT ANY WARRANTY; without even the implied warranty of\n// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n// GNU Affero General Public License for more details.\n//\n// You should have received a copy of the GNU Affero General Public License\n// along with this program. If not, see .\n\nimport React, { FC } from \"react\";\nimport Tooltip from \"../Tooltip/Tooltip\";\nimport CloudIcon from \"../Icons/CloudIcon\";\nimport ConsoleIcon from \"../Icons/ConsoleIcon\";\nimport DisableIcon from \"../Icons/DisableIcon\";\nimport FormatDriveIcon from \"../Icons/FormatDriveIcon\";\nimport IAMPoliciesIcon from \"../Icons/IAMPoliciesIcon\";\nimport PreviewIcon from \"../Icons/PreviewIcon\";\nimport ShareIcon from \"../Icons/ShareIcon\";\nimport EditIcon from \"../Icons/EditIcon\";\nimport TrashIcon from \"../Icons/TrashIcon\";\nimport DownloadIcon from \"../Icons/DownloadIcon\";\nimport IconButton from \"../IconButton/IconButton\";\nimport {\n actionsTypes,\n IActionButton,\n PredefinedActionTypes,\n} from \"./DataTable.types\";\n\nexport const isPredefinedAction = (val: any): val is PredefinedActionTypes =>\n actionsTypes.includes(val);\n\nconst defineIcon = (type: PredefinedActionTypes) => {\n switch (type) {\n case \"view\":\n return ;\n case \"edit\":\n return ;\n case \"delete\":\n return ;\n case \"description\":\n return ;\n case \"share\":\n return ;\n case \"cloud\":\n return ;\n case \"console\":\n return ;\n case \"download\":\n return ;\n case \"disable\":\n return ;\n case \"format\":\n return ;\n case \"preview\":\n return ;\n }\n\n return null;\n};\n\nconst TableActionButton: FC = ({\n type,\n onClick,\n valueToSend,\n idField,\n sendOnlyId = false,\n disabled = false,\n tooltip,\n}) => {\n const valueClick = sendOnlyId ? valueToSend[idField] : valueToSend;\n\n const icon = isPredefinedAction(type) ? defineIcon(type) : type;\n let buttonElement = (\n {\n e.stopPropagation();\n if (!disabled) {\n onClick(valueClick);\n } else {\n e.preventDefault();\n }\n }\n : () => null\n }\n >\n {icon}\n \n );\n\n if (tooltip && tooltip !== \"\") {\n buttonElement = {buttonElement};\n }\n\n if (onClick) {\n return buttonElement;\n }\n\n return null;\n};\n\nexport default TableActionButton;\n","// This file is part of MinIO Design System\n// Copyright (c) 2023 MinIO, Inc.\n//\n// This program is free software: you can redistribute it and/or modify\n// it under the terms of the GNU Affero General Public License as published by\n// the Free Software Foundation, either version 3 of the License, or\n// (at your option) any later version.\n//\n// This program is distributed in the hope that it will be useful,\n// but WITHOUT ANY WARRANTY; without even the implied warranty of\n// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n// GNU Affero General Public License for more details.\n//\n// You should have received a copy of the GNU Affero General Public License\n// along with this program. If not, see .\n\nimport React, { FC, HTMLAttributes } from \"react\";\nimport styled from \"styled-components\";\nimport get from \"lodash/get\";\nimport { BoxProps } from \"./Box.types\";\n\nconst BoxParent = styled.div & BoxProps>(\n ({ theme, sx, withBorders, customBorderPadding, useBackground }) => {\n let extraBorders = {};\n\n if (withBorders) {\n extraBorders = {\n border: `${get(theme, \"borderColor\", \"#eaeaea\")} 1px solid`,\n borderRadius: 2,\n padding: customBorderPadding || 15,\n };\n }\n\n return {\n backgroundColor: useBackground\n ? get(theme, \"boxBackground\", \"#FBFAFA\")\n : \"transparent\",\n ...extraBorders,\n ...sx,\n };\n },\n);\n\nconst Box: FC & BoxProps> = ({\n sx,\n children,\n customBorderPadding,\n ...props\n}) => {\n return (\n \n {children}\n \n );\n};\n\nexport default Box;\n","// This file is part of MinIO Design System\n// Copyright (c) 2023 MinIO, Inc.\n//\n// This program is free software: you can redistribute it and/or modify\n// it under the terms of the GNU Affero General Public License as published by\n// the Free Software Foundation, either version 3 of the License, or\n// (at your option) any later version.\n//\n// This program is distributed in the hope that it will be useful,\n// but WITHOUT ANY WARRANTY; without even the implied warranty of\n// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n// GNU Affero General Public License for more details.\n//\n// You should have received a copy of the GNU Affero General Public License\n// along with this program. If not, see .\n\nimport React, { Fragment } from \"react\";\nimport get from \"lodash/get\";\nimport isString from \"lodash/isString\";\nimport isPlainObject from \"lodash/isPlainObject\";\nimport { Column, SortDirectionType } from \"react-virtualized\";\nimport { IColumns, ISortConfig, ItemActions } from \"./DataTable.types\";\nimport ArrowDropUpIcon from \"../Icons/ArrowDropUp\";\nimport ArrowDropDownIcon from \"../Icons/ArrowDropDown\";\nimport Loader from \"../Loader/Loader\";\nimport TableActionButton from \"./TableActionButton\";\nimport Box from \"../Box/Box\";\n\nexport const selectWidth = 45;\n\n// Function to render elements in table\nconst subRenderFunction = (\n rowData: any,\n column: IColumns,\n isSelected: boolean,\n) => {\n const itemElement = isString(rowData)\n ? rowData\n : get(rowData, column.elementKey || \"\", null); // If the element is just a string, we render it as it is\n const renderConst = column.renderFullObject ? rowData : itemElement;\n\n const renderElement = column.renderFunction\n ? column.renderFunction(renderConst)\n : renderConst; // If render function is set, we send the value to the function.\n\n return (\n \n {renderElement}\n \n );\n};\n\n// Function to calculate common column width for elements with no with size\nconst calculateColumnRest = (\n columns: IColumns[],\n containerWidth: number,\n actionsWidth: number,\n hasSelect: boolean,\n hasActions: boolean,\n columnsSelector: boolean,\n columnsShown: string[],\n) => {\n if (columns) {\n let colsItems = [...columns];\n\n if (columnsSelector) {\n colsItems = columns.filter((column) =>\n columnsShown.includes(column.elementKey!),\n );\n }\n\n let initialValue = containerWidth;\n\n if (hasSelect) {\n initialValue -= selectWidth;\n }\n\n if (hasActions) {\n initialValue -= actionsWidth;\n }\n\n let freeSpacing = colsItems.reduce((total, currValue) => {\n return currValue.width ? total - currValue.width : total;\n }, initialValue);\n\n return freeSpacing / colsItems.filter((el) => !el.width).length;\n }\n\n return containerWidth;\n};\n\n// Function that renders Columns in table\nexport const generateColumnsMap = (\n columns: IColumns[],\n containerWidth: number,\n actionsWidth: number,\n hasSelect: boolean,\n hasActions: boolean,\n selectedItems: string[],\n idField: string,\n columnsSelector: boolean,\n columnsShown: string[],\n sortColumns: boolean | string[] | ISortConfig,\n currentSortColumn: string | undefined,\n currentSortDirection: \"ASC\" | \"DESC\" | undefined,\n) => {\n const manualSortEnabled =\n sortColumns &&\n typeof sortColumns === \"object\" &&\n !Array.isArray(sortColumns);\n\n const commonRestWidth = calculateColumnRest(\n columns,\n containerWidth,\n actionsWidth,\n hasSelect,\n hasActions,\n columnsSelector,\n columnsShown,\n );\n return columns.map((column: IColumns, index: number) => {\n if (columnsSelector && !columnsShown.includes(column.elementKey!)) {\n return null;\n }\n\n // Manual Column Sort state, Enabled by default.\n const manualColumnSortEnabled =\n column.enableSort !== undefined ? column.enableSort : true;\n\n const disableSort =\n !sortColumns ||\n (manualSortEnabled && !manualColumnSortEnabled) ||\n (Array.isArray(sortColumns) &&\n !sortColumns.includes(column?.elementKey || \"\"));\n\n return (\n // @ts-ignore\n (\n \n {sortColumns ||\n (Array.isArray(sortColumns) &&\n sortColumns.includes(column.elementKey)) ? (\n \n {currentSortColumn === column.elementKey ||\n (columns.length === 1 && currentSortColumn === \"column-0\") ? (\n \n {currentSortDirection === \"ASC\" ? (\n \n ) : (\n \n )}\n \n ) : null}\n \n ) : null}\n \n {column.label}\n \n \n )}\n className={\n column.contentTextAlign ? `text-${column.contentTextAlign}` : \"\"\n }\n cellRenderer={({ rowData }) => {\n const isSelected = selectedItems\n ? selectedItems.includes(\n isString(rowData) ? rowData : `${rowData[idField]}`,\n )\n : false;\n return subRenderFunction(rowData, column, isSelected);\n }}\n width={column.width || commonRestWidth}\n disableSort={disableSort}\n defaultSortDirection={\"ASC\"}\n />\n );\n });\n};\n\n// Function to render the action buttons\nexport const elementActions = (\n actions: ItemActions[],\n valueToSend: any,\n selected: boolean,\n idField: string,\n) => {\n return actions.map((action: ItemActions, index: number) => {\n if (action.type === \"view\") {\n return null;\n }\n\n let disabled = false;\n\n if (!!action.isDisabled) {\n if (typeof action.isDisabled === \"boolean\") {\n disabled = action.isDisabled;\n } else {\n disabled = action.isDisabled(valueToSend);\n }\n }\n\n if (!!action.showLoader) {\n if (\n (typeof action.showLoader === \"boolean\" && action.showLoader) ||\n action.showLoader(valueToSend)\n ) {\n return (\n
\n \n
\n );\n }\n }\n\n return (\n \n );\n });\n};\n\n// Function to calculate the options column width according elements inside\nexport const calculateOptionsSize = (\n containerWidth: number,\n totalOptions: number,\n) => {\n const minContainerSize = 36;\n const sizeOptions = totalOptions * 36;\n\n if (sizeOptions < minContainerSize) {\n return minContainerSize;\n }\n\n if (sizeOptions > containerWidth) {\n return containerWidth;\n }\n\n return sizeOptions;\n};\n\n// Function to sort records in the list\nexport const sortRecords = (\n records: any[],\n sortColumn: string | undefined,\n sortDirection: SortDirectionType,\n) => {\n const sortedRecords = records;\n\n if (records.length === 0) {\n return records;\n }\n\n // Records are objects\n if (isPlainObject(records[0]) && sortColumn !== undefined) {\n switch (sortDirection) {\n case \"ASC\":\n sortedRecords.sort((a, b) => {\n if (a[sortColumn] > b[sortColumn]) {\n return 1;\n }\n if (a[sortColumn] < b[sortColumn]) {\n return -1;\n }\n // a must be equal to b\n return 0;\n });\n break;\n case \"DESC\":\n sortedRecords.sort((a, b) => {\n if (a[sortColumn] < b[sortColumn]) {\n return 1;\n }\n if (a[sortColumn] > b[sortColumn]) {\n return -1;\n }\n // a must be equal to b\n return 0;\n });\n break;\n }\n } else {\n // Record is plain array\n switch (sortDirection) {\n case \"ASC\":\n sortedRecords.sort((a, b) => {\n if (a > b) {\n return 1;\n }\n if (a < b) {\n return -1;\n }\n // a must be equal to b\n return 0;\n });\n break;\n case \"DESC\":\n sortedRecords.sort((a, b) => {\n if (a < b) {\n return 1;\n }\n if (a > b) {\n return -1;\n }\n // a must be equal to b\n return 0;\n });\n break;\n }\n }\n\n return sortedRecords;\n};\n","var trimmedEndIndex = require('./_trimmedEndIndex');\n\n/** Used to match leading whitespace. */\nvar reTrimStart = /^\\s+/;\n\n/**\n * The base implementation of `_.trim`.\n *\n * @private\n * @param {string} string The string to trim.\n * @returns {string} Returns the trimmed string.\n */\nfunction baseTrim(string) {\n return string\n ? string.slice(0, trimmedEndIndex(string) + 1).replace(reTrimStart, '')\n : string;\n}\n\nmodule.exports = baseTrim;\n","/** Used to match a single whitespace character. */\nvar reWhitespace = /\\s/;\n\n/**\n * Used by `_.trim` and `_.trimEnd` to get the index of the last non-whitespace\n * character of `string`.\n *\n * @private\n * @param {string} string The string to inspect.\n * @returns {number} Returns the index of the last non-whitespace character.\n */\nfunction trimmedEndIndex(string) {\n var index = string.length;\n\n while (index-- && reWhitespace.test(string.charAt(index))) {}\n return index;\n}\n\nmodule.exports = trimmedEndIndex;\n","var isObject = require('./isObject'),\n now = require('./now'),\n toNumber = require('./toNumber');\n\n/** Error message constants. */\nvar FUNC_ERROR_TEXT = 'Expected a function';\n\n/* Built-in method references for those with the same name as other `lodash` methods. */\nvar nativeMax = Math.max,\n nativeMin = Math.min;\n\n/**\n * Creates a debounced function that delays invoking `func` until after `wait`\n * milliseconds have elapsed since the last time the debounced function was\n * invoked. The debounced function comes with a `cancel` method to cancel\n * delayed `func` invocations and a `flush` method to immediately invoke them.\n * Provide `options` to indicate whether `func` should be invoked on the\n * leading and/or trailing edge of the `wait` timeout. The `func` is invoked\n * with the last arguments provided to the debounced function. Subsequent\n * calls to the debounced function return the result of the last `func`\n * invocation.\n *\n * **Note:** If `leading` and `trailing` options are `true`, `func` is\n * invoked on the trailing edge of the timeout only if the debounced function\n * is invoked more than once during the `wait` timeout.\n *\n * If `wait` is `0` and `leading` is `false`, `func` invocation is deferred\n * until to the next tick, similar to `setTimeout` with a timeout of `0`.\n *\n * See [David Corbacho's article](https://css-tricks.com/debouncing-throttling-explained-examples/)\n * for details over the differences between `_.debounce` and `_.throttle`.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Function\n * @param {Function} func The function to debounce.\n * @param {number} [wait=0] The number of milliseconds to delay.\n * @param {Object} [options={}] The options object.\n * @param {boolean} [options.leading=false]\n * Specify invoking on the leading edge of the timeout.\n * @param {number} [options.maxWait]\n * The maximum time `func` is allowed to be delayed before it's invoked.\n * @param {boolean} [options.trailing=true]\n * Specify invoking on the trailing edge of the timeout.\n * @returns {Function} Returns the new debounced function.\n * @example\n *\n * // Avoid costly calculations while the window size is in flux.\n * jQuery(window).on('resize', _.debounce(calculateLayout, 150));\n *\n * // Invoke `sendMail` when clicked, debouncing subsequent calls.\n * jQuery(element).on('click', _.debounce(sendMail, 300, {\n * 'leading': true,\n * 'trailing': false\n * }));\n *\n * // Ensure `batchLog` is invoked once after 1 second of debounced calls.\n * var debounced = _.debounce(batchLog, 250, { 'maxWait': 1000 });\n * var source = new EventSource('/stream');\n * jQuery(source).on('message', debounced);\n *\n * // Cancel the trailing debounced invocation.\n * jQuery(window).on('popstate', debounced.cancel);\n */\nfunction debounce(func, wait, options) {\n var lastArgs,\n lastThis,\n maxWait,\n result,\n timerId,\n lastCallTime,\n lastInvokeTime = 0,\n leading = false,\n maxing = false,\n trailing = true;\n\n if (typeof func != 'function') {\n throw new TypeError(FUNC_ERROR_TEXT);\n }\n wait = toNumber(wait) || 0;\n if (isObject(options)) {\n leading = !!options.leading;\n maxing = 'maxWait' in options;\n maxWait = maxing ? nativeMax(toNumber(options.maxWait) || 0, wait) : maxWait;\n trailing = 'trailing' in options ? !!options.trailing : trailing;\n }\n\n function invokeFunc(time) {\n var args = lastArgs,\n thisArg = lastThis;\n\n lastArgs = lastThis = undefined;\n lastInvokeTime = time;\n result = func.apply(thisArg, args);\n return result;\n }\n\n function leadingEdge(time) {\n // Reset any `maxWait` timer.\n lastInvokeTime = time;\n // Start the timer for the trailing edge.\n timerId = setTimeout(timerExpired, wait);\n // Invoke the leading edge.\n return leading ? invokeFunc(time) : result;\n }\n\n function remainingWait(time) {\n var timeSinceLastCall = time - lastCallTime,\n timeSinceLastInvoke = time - lastInvokeTime,\n timeWaiting = wait - timeSinceLastCall;\n\n return maxing\n ? nativeMin(timeWaiting, maxWait - timeSinceLastInvoke)\n : timeWaiting;\n }\n\n function shouldInvoke(time) {\n var timeSinceLastCall = time - lastCallTime,\n timeSinceLastInvoke = time - lastInvokeTime;\n\n // Either this is the first call, activity has stopped and we're at the\n // trailing edge, the system time has gone backwards and we're treating\n // it as the trailing edge, or we've hit the `maxWait` limit.\n return (lastCallTime === undefined || (timeSinceLastCall >= wait) ||\n (timeSinceLastCall < 0) || (maxing && timeSinceLastInvoke >= maxWait));\n }\n\n function timerExpired() {\n var time = now();\n if (shouldInvoke(time)) {\n return trailingEdge(time);\n }\n // Restart the timer.\n timerId = setTimeout(timerExpired, remainingWait(time));\n }\n\n function trailingEdge(time) {\n timerId = undefined;\n\n // Only invoke if we have `lastArgs` which means `func` has been\n // debounced at least once.\n if (trailing && lastArgs) {\n return invokeFunc(time);\n }\n lastArgs = lastThis = undefined;\n return result;\n }\n\n function cancel() {\n if (timerId !== undefined) {\n clearTimeout(timerId);\n }\n lastInvokeTime = 0;\n lastArgs = lastCallTime = lastThis = timerId = undefined;\n }\n\n function flush() {\n return timerId === undefined ? result : trailingEdge(now());\n }\n\n function debounced() {\n var time = now(),\n isInvoking = shouldInvoke(time);\n\n lastArgs = arguments;\n lastThis = this;\n lastCallTime = time;\n\n if (isInvoking) {\n if (timerId === undefined) {\n return leadingEdge(lastCallTime);\n }\n if (maxing) {\n // Handle invocations in a tight loop.\n clearTimeout(timerId);\n timerId = setTimeout(timerExpired, wait);\n return invokeFunc(lastCallTime);\n }\n }\n if (timerId === undefined) {\n timerId = setTimeout(timerExpired, wait);\n }\n return result;\n }\n debounced.cancel = cancel;\n debounced.flush = flush;\n return debounced;\n}\n\nmodule.exports = debounce;\n","var root = require('./_root');\n\n/**\n * Gets the timestamp of the number of milliseconds that have elapsed since\n * the Unix epoch (1 January 1970 00:00:00 UTC).\n *\n * @static\n * @memberOf _\n * @since 2.4.0\n * @category Date\n * @returns {number} Returns the timestamp.\n * @example\n *\n * _.defer(function(stamp) {\n * console.log(_.now() - stamp);\n * }, _.now());\n * // => Logs the number of milliseconds it took for the deferred invocation.\n */\nvar now = function() {\n return root.Date.now();\n};\n\nmodule.exports = now;\n","var baseTrim = require('./_baseTrim'),\n isObject = require('./isObject'),\n isSymbol = require('./isSymbol');\n\n/** Used as references for various `Number` constants. */\nvar NAN = 0 / 0;\n\n/** Used to detect bad signed hexadecimal string values. */\nvar reIsBadHex = /^[-+]0x[0-9a-f]+$/i;\n\n/** Used to detect binary string values. */\nvar reIsBinary = /^0b[01]+$/i;\n\n/** Used to detect octal string values. */\nvar reIsOctal = /^0o[0-7]+$/i;\n\n/** Built-in method references without a dependency on `root`. */\nvar freeParseInt = parseInt;\n\n/**\n * Converts `value` to a number.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to process.\n * @returns {number} Returns the number.\n * @example\n *\n * _.toNumber(3.2);\n * // => 3.2\n *\n * _.toNumber(Number.MIN_VALUE);\n * // => 5e-324\n *\n * _.toNumber(Infinity);\n * // => Infinity\n *\n * _.toNumber('3.2');\n * // => 3.2\n */\nfunction toNumber(value) {\n if (typeof value == 'number') {\n return value;\n }\n if (isSymbol(value)) {\n return NAN;\n }\n if (isObject(value)) {\n var other = typeof value.valueOf == 'function' ? value.valueOf() : value;\n value = isObject(other) ? (other + '') : other;\n }\n if (typeof value != 'string') {\n return value === 0 ? value : +value;\n }\n value = baseTrim(value);\n var isBinary = reIsBinary.test(value);\n return (isBinary || reIsOctal.test(value))\n ? freeParseInt(value.slice(2), isBinary ? 2 : 8)\n : (reIsBadHex.test(value) ? NAN : +value);\n}\n\nmodule.exports = toNumber;\n","// This file is part of MinIO Design System\n// Copyright (c) 2023 MinIO, Inc.\n//\n// This program is free software: you can redistribute it and/or modify\n// it under the terms of the GNU Affero General Public License as published by\n// the Free Software Foundation, either version 3 of the License, or\n// (at your option) any later version.\n//\n// This program is distributed in the hope that it will be useful,\n// but WITHOUT ANY WARRANTY; without even the implied warranty of\n// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n// GNU Affero General Public License for more details.\n//\n// You should have received a copy of the GNU Affero General Public License\n// along with this program. If not, see .\n\nimport React, { FC, HTMLAttributes } from \"react\";\nimport styled from \"styled-components\";\n\nconst SelectorContainerMain = styled.div(({}) => ({\n position: \"fixed\",\n top: 0,\n left: 0,\n width: \"100vw\",\n height: \"100vh\",\n backgroundColor: \"transparent\",\n zIndex: 5000,\n overscrollBehavior: \"contain\",\n}));\n\nconst SelectorContainer: FC> = ({\n children,\n ...restProps\n}) => {\n return (\n {children}\n );\n};\n\nexport default SelectorContainer;\n","// This file is part of MinIO Design System\n// Copyright (c) 2023 MinIO, Inc.\n//\n// This program is free software: you can redistribute it and/or modify\n// it under the terms of the GNU Affero General Public License as published by\n// the Free Software Foundation, either version 3 of the License, or\n// (at your option) any later version.\n//\n// This program is distributed in the hope that it will be useful,\n// but WITHOUT ANY WARRANTY; without even the implied warranty of\n// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n// GNU Affero General Public License for more details.\n//\n// You should have received a copy of the GNU Affero General Public License\n// along with this program. If not, see .\n\nimport React, { FC, useEffect, useState } from \"react\";\nimport styled, { CSSObject } from \"styled-components\";\nimport get from \"lodash/get\";\nimport debounce from \"lodash/debounce\";\nimport { createPortal } from \"react-dom\";\nimport {\n ColumnSelectorConstructProps,\n ColumnSelectorProps,\n IColumns,\n} from \"./DataTable.types\";\nimport { lightColors } from \"../../global/themes\";\nimport Checkbox from \"../Checkbox/Checkbox\";\nimport Box from \"../Box/Box\";\nimport SelectorContainer from \"../../global/SelectorContainer\";\n\nconst SelectorBox = styled.div(\n ({ theme, sx }) => ({\n position: \"absolute\",\n display: \"flex\",\n flexDirection: \"column\",\n backgroundColor: get(\n theme,\n \"dropdownSelector.backgroundColor\",\n lightColors.white,\n ),\n border: `1px solid ${get(theme, \"borderColor\", lightColors.borderColor)}`,\n padding: \"10px 10px\",\n\n minWidth: 150,\n borderRadius: 4,\n boxShadow:\n \"rgba(0, 0, 0, 0.2) 0px 11px 15px -7px, rgba(0, 0, 0, 0.14) 0px 24px 38px 3px, rgba(0, 0, 0, 0.12) 0px 9px 46px 8px\",\n \"& .columnsSelectorTitle\": {\n fontWeight: \"bold\",\n padding: \"0 0 5px\",\n borderBottom: `1px solid ${get(\n theme,\n \"borderColor\",\n lightColors.borderColor,\n )}`,\n marginBottom: 5,\n color: get(theme, \"fontColor\", lightColors.defaultFontColor),\n },\n \"& .columnsSelectorContainer\": {\n display: \"flex\",\n flexDirection: \"column\",\n gap: 5,\n maxHeight: 250,\n overflowY: \"auto\",\n },\n ...sx,\n }),\n);\n\nconst calcElementPosition = (anchorEl: (EventTarget & HTMLElement) | null) => {\n if (!anchorEl) {\n return {\n top: 0,\n right: 0,\n };\n }\n\n const bounds = anchorEl.getBoundingClientRect();\n const windowWidth = document.documentElement.offsetWidth;\n\n return {\n top: bounds.top + bounds.height,\n right: windowWidth - bounds.right,\n };\n};\n\nconst ColumnsSelector: FC = ({\n columns,\n selectedOptionIDs,\n onSelect,\n closeTriggerAction,\n open,\n anchorEl = null,\n}) => {\n const [coords, setCoords] = useState(null);\n\n useEffect(() => {\n if (open) {\n setCoords(calcElementPosition(anchorEl));\n return;\n }\n setCoords(null);\n }, [open]);\n\n useEffect(() => {\n const handleResize = () => {\n closeTriggerAction();\n };\n\n const scrollResize = debounce((anchorEl) => {\n if (!anchorEl || !anchorEl.getBoundingClientRect()) {\n return;\n }\n setCoords(calcElementPosition(anchorEl));\n }, 300);\n\n window.addEventListener(\"resize\", handleResize);\n window.addEventListener(\"scroll\", () => {\n scrollResize(anchorEl);\n });\n });\n\n if (!open || !coords) {\n return null;\n }\n\n if (!anchorEl) {\n console.warn(\n \"AnchorEl not set. Element will be rendered on the top of the page\",\n );\n }\n\n return createPortal(\n \n {\n e.preventDefault();\n e.stopPropagation();\n }}\n >\n Shown Columns\n \n {columns.map((column: IColumns) => {\n return (\n element === column.elementKey,\n ) >= 0\n }\n onChange={() => {\n onSelect(column.elementKey || \"\");\n }}\n id={`chbox-${column.label}`}\n name={`chbox-${column.label}`}\n value={column.label}\n />\n );\n })}\n \n \n ,\n document.body,\n );\n};\n\nexport default ColumnsSelector;\n","// This file is part of MinIO Design System\n// Copyright (c) 2023 MinIO, Inc.\n//\n// This program is free software: you can redistribute it and/or modify\n// it under the terms of the GNU Affero General Public License as published by\n// the Free Software Foundation, either version 3 of the License, or\n// (at your option) any later version.\n//\n// This program is distributed in the hope that it will be useful,\n// but WITHOUT ANY WARRANTY; without even the implied warranty of\n// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n// GNU Affero General Public License for more details.\n//\n// You should have received a copy of the GNU Affero General Public License\n// along with this program. If not, see .\n\nimport React, { FC, Fragment, useState } from \"react\";\nimport {\n AutoSizer,\n Column,\n InfiniteLoader,\n SortDirectionType,\n Table,\n} from \"react-virtualized\";\nimport styled from \"styled-components\";\nimport get from \"lodash/get\";\nimport isString from \"lodash/isString\";\nimport Checkbox from \"../Checkbox/Checkbox\";\nimport Loader from \"../Loader/Loader\";\nimport Grid from \"../Grid/Grid\";\nimport {\n DataTableProps,\n DataTableWrapperProps,\n IColumns,\n ITableSortInfo,\n} from \"./DataTable.types\";\nimport {\n calculateOptionsSize,\n elementActions,\n generateColumnsMap,\n selectWidth,\n sortRecords,\n} from \"./DataTable.utils\";\nimport ViewColumnIcon from \"../Icons/ViewColumnIcon\";\nimport Box from \"../Box/Box\";\nimport Button from \"../Button/Button\";\nimport ColumnsSelector from \"./ColumnsSelector\";\n\nconst DataTableWrapper = styled.div(\n ({ theme, customPaperHeight, disabled, noBackground, sx, rowHeight }) => ({\n display: \"flex\",\n overflow: \"auto\",\n flexDirection: \"column\",\n padding: \"0 16px 8px\",\n boxShadow: \"none\",\n border: `${\n disabled\n ? get(theme, \"dataTable.disabledBorder\", \"#E2E2E2\")\n : get(theme, \"dataTable.border\", \"#E2E2E2\")\n } 1px solid`,\n borderRadius: 3,\n minHeight: 200,\n overflowY: \"scroll\",\n position: \"relative\",\n height: customPaperHeight || \"calc(100vh - 205px)\",\n backgroundColor: disabled\n ? get(theme, \"dataTable.disabledBG\", \"transparent\")\n : \"transparent\",\n \"&.noBackground\": {\n backgroundColor: \"transparent\",\n border: 0,\n },\n \"& .loadingBox\": {\n padding: \"100px 0\",\n },\n \"& .overlayColumnSelection\": {\n position: \"absolute\",\n right: 0,\n top: 0,\n \"& .popoverContent\": {\n maxHeight: 250,\n overflowY: \"auto\",\n padding: \"0 10px 10px\",\n \"& .shownColumnsLabel\": {\n color: get(theme, \"mainGrey\", \"#000\"),\n fontSize: 12,\n padding: 10,\n borderBottom: `${get(\n theme,\n \"dataTable.border\",\n \"#E2E2E2\",\n )} 1px solid`,\n width: \"100%\",\n },\n },\n },\n \"&::-webkit-scrollbar\": {\n width: 0,\n height: 3,\n },\n \"& .rowLine\": {\n borderBottom: `${get(theme, \"dataTable.border\", \"#E2E2E2\")} 1px solid`,\n height: rowHeight,\n fontSize: 14,\n transitionDuration: \"0.3s\",\n \"&:focus\": {\n outline: \"initial\",\n },\n \"&:hover:not(.ReactVirtualized__Table__headerRow)\": {\n userSelect: \"none\",\n backgroundColor: get(theme, \"dataTable.hoverColor\", \"#ececec\"),\n fontWeight: 600,\n \"&.canClick\": {\n cursor: \"pointer\",\n },\n \"&.canSelectText\": {\n userSelect: \"text\",\n },\n },\n \"& .selected\": {\n fontWeight: 600,\n },\n \"&:not(.deleted) .selected\": {\n color: get(theme, \"dataTable.selected\", \"#081C42\"),\n },\n \"&.deleted .selected\": {\n color: get(theme, \"dataTable.selectedDisabled\", \"#C51B3F\"),\n },\n },\n \"& .headerItem\": {\n userSelect: \"none\",\n fontWeight: 700,\n fontSize: 14,\n fontStyle: \"initial\",\n display: \"flex\",\n alignItems: \"center\",\n outline: \"none\",\n },\n \"& .ReactVirtualized__Table__row\": {\n width: \"100% !important\",\n display: \"flex\",\n flexDirection: \"row\",\n alignItems: \"center\",\n },\n \"& .ReactVirtualized__Table__headerRow\": {\n display: \"flex\",\n flexDirection: \"row\",\n alignItems: \"center\",\n fontWeight: 700,\n fontSize: 14,\n borderColor: get(theme, \"dataTable.border\", \"#39393980\"),\n textTransform: \"initial\",\n transitionDuration: \"0s\",\n },\n \"& .ReactVirtualized__Table__headerTruncatedText\": {\n display: \"inline-block\",\n maxWidth: \"100%\",\n whiteSpace: \"nowrap\",\n textOverflow: \"ellipsis\",\n overflow: \"hidden\",\n },\n \"& .ReactVirtualized__Table__headerColumn\": {\n marginRight: 10,\n minWidth: 0,\n \"&:first-of-type\": {\n marginLeft: 10,\n },\n \"& svg\": {\n width: 12,\n height: 12,\n marginRight: 5,\n alignSelf: \"flex-end\",\n },\n },\n \"& .ReactVirtualized__Table__rowColumn\": {\n marginRight: 10,\n minWidth: 0,\n textOverflow: \"ellipsis\",\n whiteSpace: \"nowrap\",\n \"&:first-of-type\": {\n marginLeft: 10,\n },\n },\n \"& .ReactVirtualized__Table__sortableHeaderColumn\": {\n cursor: \"pointer\",\n },\n \"& .ReactVirtualized__Table__sortableHeaderIconContainer\": {\n display: \"flex\",\n alignItems: \"center\",\n },\n \"& .ReactVirtualized__Table__sortableHeaderIcon\": {\n flex: \"0 0 24px\",\n height: \"1em\",\n width: \"1em\",\n fill: \"currentColor\",\n },\n \"& .optionsAlignment\": {\n display: \"flex\",\n gap: 5,\n \"& .min-icon\": {\n width: 16,\n height: 16,\n },\n },\n \"& .text-center\": {\n textAlign: \"center\",\n },\n \"& .text-right\": {\n textAlign: \"right\",\n },\n \"& .progress-enabled\": {\n display: \"inline-flex\",\n position: \"relative\",\n alignItems: \"center\",\n justifyContent: \"center\",\n width: 30,\n height: 30,\n },\n ...sx,\n }),\n);\n\nconst TableRowPredefStyles: any = {\n deleted: {\n color: \"#00000080\",\n backgroundColor: \"#f1f0f040\",\n \"&.selected\": {\n color: \"#b2b2b270\",\n },\n },\n};\n\n// Main function to render the Table Wrapper\nconst DataTable: FC = ({\n itemActions,\n columns,\n onSelect,\n records,\n isLoading,\n loadingMessage =

Loading...

,\n entityName,\n selectedItems,\n idField,\n customEmptyMessage = \"\",\n customPaperHeight = \"\",\n noBackground = false,\n columnsSelector = false,\n textSelectable = false,\n columnsShown = [],\n onColumnChange = (column: string) => {},\n infiniteScrollConfig,\n autoScrollToBottom = false,\n disabled = false,\n onSelectAll,\n rowStyle,\n parentClassName = \"\",\n sx,\n rowHeight = 40,\n sortEnabled = false,\n sortCallBack,\n}) => {\n const [columnSelectorOpen, setColumnSelectorOpen] = useState(false);\n const [currentSortColumn, setCurrentSortColumn] = useState<\n string | undefined\n >(undefined);\n const [currentSortDirection, setCurrentSortDirection] =\n useState(\"ASC\");\n\n const [anchorEl, setAnchorEl] = useState(null);\n const rowIDField = idField || \"\";\n\n const findView = itemActions\n ? itemActions.find((el) => el.type === \"view\")\n : null;\n\n const manualSortEnabled =\n sortEnabled &&\n typeof sortEnabled === \"object\" &&\n !Array.isArray(sortEnabled);\n\n const clickAction = (rowItem: any) => {\n if (findView) {\n const valueClick =\n findView.sendOnlyId && idField ? rowItem[rowIDField] : rowItem;\n\n let disabled = false;\n\n if (!!findView.isDisabled) {\n if (typeof findView.isDisabled === \"boolean\") {\n disabled = findView.isDisabled;\n } else {\n disabled = findView.isDisabled(rowItem);\n }\n }\n\n if (findView.onClick && !disabled) {\n findView.onClick(valueClick);\n }\n }\n };\n\n const openColumnsSelector = (event: { currentTarget: any }) => {\n setColumnSelectorOpen(!columnSelectorOpen);\n setAnchorEl(event.currentTarget);\n };\n\n const closeColumnSelector = () => {\n setColumnSelectorOpen(false);\n setAnchorEl(null);\n };\n\n const columnsSelection = (columns: IColumns[]) => {\n return (\n \n }\n iconLocation={\"end\"}\n onClick={openColumnsSelector}\n >\n Columns\n \n {columnSelectorOpen && (\n onColumnChange(label)}\n columns={columns}\n selectedOptionIDs={columnsShown}\n anchorEl={anchorEl}\n />\n )}\n \n );\n };\n\n let tableSort: ((val: ITableSortInfo) => any) | undefined = undefined;\n let tableSortBy: string | undefined = undefined;\n let tableSortDirection: SortDirectionType | undefined = undefined;\n\n const onSortClick = (sort: ITableSortInfo) => {\n const newSortDirection = get(sort, \"sortDirection\", \"DESC\");\n setCurrentSortColumn(sort.sortBy);\n setCurrentSortDirection(newSortDirection);\n\n if (sortCallBack) {\n sortCallBack(sort);\n }\n };\n\n if (sortEnabled) {\n if (manualSortEnabled) {\n tableSort = sortEnabled.onSortClick;\n tableSortBy = sortEnabled.currentSort;\n tableSortDirection = sortEnabled.currentDirection;\n } else {\n tableSort = onSortClick;\n tableSortBy = currentSortColumn;\n tableSortDirection = currentSortDirection;\n }\n }\n\n let sortedRecords = records;\n\n if (sortEnabled && currentSortColumn && !manualSortEnabled) {\n sortedRecords = sortRecords(\n records,\n currentSortColumn,\n currentSortDirection,\n );\n }\n\n return (\n \n \n {isLoading && (\n \n \n {loadingMessage}\n \n \n \n \n \n )}\n\n {columnsSelector && !isLoading && sortedRecords.length > 0 && (\n {columnsSelection(columns)}\n )}\n {sortedRecords && !isLoading && sortedRecords.length > 0 ? (\n // @ts-ignore\n !!sortedRecords[index]}\n loadMoreRows={\n infiniteScrollConfig\n ? infiniteScrollConfig.loadMoreRecords\n : () => new Promise(() => true)\n }\n rowCount={\n infiniteScrollConfig\n ? infiniteScrollConfig.recordsCount\n : sortedRecords.length\n }\n >\n {({ onRowsRendered, registerChild }) => (\n // @ts-ignore\n \n {({ width, height }: any) => {\n const optionsWidth = calculateOptionsSize(\n width,\n itemActions\n ? itemActions.filter((el) => el.type !== \"view\").length\n : 0,\n );\n const hasSelect: boolean = !!(onSelect && selectedItems);\n const hasOptions: boolean = !!(\n (itemActions && itemActions.length > 1) ||\n (itemActions &&\n itemActions.length === 1 &&\n itemActions[0].type !== \"view\")\n );\n return (\n // @ts-ignore\n (\n \n {customEmptyMessage !== \"\"\n ? customEmptyMessage\n : `There are no ${entityName || \"items\"} yet.`}\n \n )}\n overscanRowCount={10}\n rowHeight={rowHeight}\n width={width}\n rowCount={sortedRecords.length}\n rowGetter={({ index }) => sortedRecords[index]}\n onRowClick={({ rowData }) => {\n clickAction(rowData);\n }}\n rowClassName={(r) =>\n `rowLine ${findView ? \"canClick\" : \"\"} ${\n !findView && textSelectable ? \"canSelectText\" : \"\"\n } ${rowStyle ? rowStyle(r) : \"\"}`\n }\n onRowsRendered={onRowsRendered}\n sort={tableSort}\n sortBy={tableSortBy}\n sortDirection={tableSortDirection}\n scrollToIndex={\n autoScrollToBottom ? sortedRecords.length - 1 : -1\n }\n rowStyle={(r) => {\n if (rowStyle) {\n const returnElement = rowStyle(r);\n\n if (typeof returnElement === \"string\") {\n return get(TableRowPredefStyles, returnElement, {});\n }\n\n return returnElement;\n }\n\n return {};\n }}\n >\n {hasSelect && (\n // @ts-ignore\n (\n \n {onSelectAll ? (\n
\n \n
\n ) : (\n Select\n )}\n
\n )}\n dataKey={`select-${rowIDField}`}\n width={selectWidth}\n disableSort\n cellRenderer={({ rowData }) => {\n const isSelected = selectedItems\n ? selectedItems.includes(\n isString(rowData)\n ? rowData\n : `${rowData[rowIDField]}`,\n )\n : false;\n\n return (\n {\n e.stopPropagation();\n }}\n />\n );\n }}\n />\n )}\n {generateColumnsMap(\n columns,\n width,\n optionsWidth,\n hasSelect,\n hasOptions,\n selectedItems || [],\n rowIDField,\n columnsSelector,\n columnsShown,\n sortEnabled,\n tableSortBy || \"\",\n tableSortDirection,\n )}\n {hasOptions && (\n // @ts-ignore\n {\n const isSelected = selectedItems\n ? selectedItems.includes(\n isString(rowData)\n ? rowData\n : `${rowData[rowIDField]}`,\n )\n : false;\n return elementActions(\n itemActions || [],\n rowData,\n isSelected,\n rowIDField,\n );\n }}\n />\n )}\n \n );\n }}\n
\n )}\n \n ) : (\n \n {!isLoading && (\n
\n {customEmptyMessage !== \"\"\n ? customEmptyMessage\n : `There are no ${entityName || \"items\"} yet.`}\n
\n )}\n
\n )}\n \n \n );\n};\n\nexport default DataTable;\n","// This file is part of MinIO Design System\n// Copyright (c) 2023 MinIO, Inc.\n//\n// This program is free software: you can redistribute it and/or modify\n// it under the terms of the GNU Affero General Public License as published by\n// the Free Software Foundation, either version 3 of the License, or\n// (at your option) any later version.\n//\n// This program is distributed in the hope that it will be useful,\n// but WITHOUT ANY WARRANTY; without even the implied warranty of\n// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n// GNU Affero General Public License for more details.\n//\n// You should have received a copy of the GNU Affero General Public License\n// along with this program. If not, see .\n\nimport React, { FC } from \"react\";\nimport styled from \"styled-components\";\nimport get from \"lodash/get\";\nimport { BackLinkProps } from \"./BackLink.types\";\nimport BackSettingsIcon from \"../Icons/BackSettingsIcon\";\n\nconst BackLinkBasic = styled.button(({ theme, sx }) => ({\n display: \"flex\",\n alignItems: \"center\",\n textDecoration: \"none\",\n justifyContent: \"center\",\n flexDirection: \"row\",\n height: \"30px\",\n paddingLeft: 0,\n background: \"transparent\",\n border: 0,\n cursor: \"pointer\",\n \"& .label\": {\n color: get(theme, \"backLink.color\", \"#073052\"),\n fontSize: 14,\n fontWeight: 600,\n lineHeight: 1,\n paddingTop: 1,\n marginRight: 10,\n },\n \"&:hover .icon\": {\n background: get(theme, \"backLink.hover\", \"#eaedee\"),\n borderRadius: \"2px\",\n },\n \"& .icon\": {\n lineHeight: 1,\n marginRight: \"3px\",\n display: \"flex\",\n alignItems: \"center\",\n width: \"28px\",\n height: \"30px\",\n\n \"& .min-icon\": {\n width: \"17px\",\n height: \"11px\",\n margin: \"auto\",\n color: get(theme, \"backLink.arrow\", \"#081C42\"),\n },\n },\n ...sx,\n}));\n\nconst BackLink: FC = ({ label, sx, ...props }) => {\n return (\n \n \n \n \n {label}\n \n );\n};\n\nexport default BackLink;\n","// This file is part of MinIO Design System\n// Copyright (c) 2023 MinIO, Inc.\n//\n// This program is free software: you can redistribute it and/or modify\n// it under the terms of the GNU Affero General Public License as published by\n// the Free Software Foundation, either version 3 of the License, or\n// (at your option) any later version.\n//\n// This program is distributed in the hope that it will be useful,\n// but WITHOUT ANY WARRANTY; without even the implied warranty of\n// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n// GNU Affero General Public License for more details.\n//\n// You should have received a copy of the GNU Affero General Public License\n// along with this program. If not, see .\n\nimport React, { FC } from \"react\";\nimport styled from \"styled-components\";\nimport get from \"lodash/get\";\nimport { HelpBoxProps } from \"./HelpBox.types\";\nimport Grid from \"../Grid/Grid\";\n\nconst BaseHelpBox = styled.div(({ theme }) => ({\n border: `1px solid ${get(theme, \"borderColor\", \"#E2E2E2\")}`,\n borderRadius: 2,\n backgroundColor: get(theme, \"boxBackground\", \"#FBFAFA\"),\n paddingLeft: 25,\n paddingTop: 20,\n paddingBottom: 20,\n paddingRight: 30,\n \"& .leftItems\": {\n fontSize: 16,\n fontWeight: \"bold\",\n display: \"flex\",\n alignItems: \"center\",\n \"& .min-icon\": {\n marginRight: 15,\n height: 28,\n width: 38,\n },\n },\n \"& .helpText\": {\n fontSize: 16,\n paddingLeft: 5,\n marginTop: 15,\n },\n}));\n\nconst HelpBox: FC = ({ iconComponent, title, help }) => {\n return (\n \n \n \n {iconComponent || null}\n {title}\n \n {help && (\n \n {help}\n \n )}\n \n \n );\n};\n\nexport default HelpBox;\n","// This file is part of MinIO Design System\n// Copyright (c) 2023 MinIO, Inc.\n//\n// This program is free software: you can redistribute it and/or modify\n// it under the terms of the GNU Affero General Public License as published by\n// the Free Software Foundation, either version 3 of the License, or\n// (at your option) any later version.\n//\n// This program is distributed in the hope that it will be useful,\n// but WITHOUT ANY WARRANTY; without even the implied warranty of\n// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n// GNU Affero General Public License for more details.\n//\n// You should have received a copy of the GNU Affero General Public License\n// along with this program. If not, see .\n\nimport React, { FC, HTMLAttributes } from \"react\";\nimport Grid from \"../Grid/Grid\";\nimport { SectionTitleProps } from \"./SectionTitle.types\";\nimport styled from \"styled-components\";\nimport get from \"lodash/get\";\n\nconst SectionParent = styled.div<\n HTMLAttributes & SectionTitleProps\n>(({ theme, separator, sx }) => ({\n display: \"flex\",\n alignItems: \"center\",\n justifyContent: \"flex-start\",\n borderBottom: separator\n ? `1px solid ${get(theme, \"borderColor\", \"#eaeaea\")}`\n : \"\",\n gap: \"10px\",\n ...sx,\n}));\n\nconst SectionTitle: FC = ({\n separator,\n icon,\n children,\n actions,\n sx,\n}) => {\n return (\n \n \n {icon}\n

{children}

\n \n {actions && (\n \n {\" \"}\n {actions}\n \n )}\n \n );\n};\n\nexport default SectionTitle;\n","// This file is part of MinIO Design System\n// Copyright (c) 2023 MinIO, Inc.\n//\n// This program is free software: you can redistribute it and/or modify\n// it under the terms of the GNU Affero General Public License as published by\n// the Free Software Foundation, either version 3 of the License, or\n// (at your option) any later version.\n//\n// This program is distributed in the hope that it will be useful,\n// but WITHOUT ANY WARRANTY; without even the implied warranty of\n// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n// GNU Affero General Public License for more details.\n//\n// You should have received a copy of the GNU Affero General Public License\n// along with this program. If not, see .\n\nimport React, { FC } from \"react\";\nimport get from \"lodash/get\";\nimport Box from \"../Box/Box\";\nimport SectionTitle from \"../SectionTitle/SectionTitle\";\nimport { breakPoints } from \"../../global/utils\";\nimport { FormLayoutProps } from \"./FormLayout.types\";\n\nconst FormLayout: FC = ({\n children,\n title = \"\",\n helpBox,\n icon,\n sx,\n containerPadding = true,\n withBorders = true,\n}) => {\n return (\n \n \n {title !== \"\" && (\n \n {title}\n \n )}\n {children}\n \n {helpBox}\n \n );\n};\n\nexport default FormLayout;\n","// This file is part of MinIO Design System\n// Copyright (c) 2023 MinIO, Inc.\n//\n// This program is free software: you can redistribute it and/or modify\n// it under the terms of the GNU Affero General Public License as published by\n// the Free Software Foundation, either version 3 of the License, or\n// (at your option) any later version.\n//\n// This program is distributed in the hope that it will be useful,\n// but WITHOUT ANY WARRANTY; without even the implied warranty of\n// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n// GNU Affero General Public License for more details.\n//\n// You should have received a copy of the GNU Affero General Public License\n// along with this program. If not, see .\n\nimport React, { FC, HTMLAttributes } from \"react\";\nimport styled from \"styled-components\";\nimport { PageLayoutProps } from \"./PageLayout.types\";\nimport Grid from \"../Grid/Grid\";\n\nconst PageLayoutContainer = styled.div<\n HTMLAttributes & PageLayoutProps\n>(({ theme, sx, variant }) => ({\n boxSizing: \"content-box\",\n maxWidth: variant === \"constrained\" ? 1220 : \"initial\",\n padding: 32,\n ...sx,\n}));\n\nconst PageLayout: FC & PageLayoutProps> = ({\n sx,\n children,\n variant,\n className,\n ...props\n}) => {\n return (\n \n \n \n {children}\n \n \n \n );\n};\n\nexport default PageLayout;\n","// This file is part of MinIO Design System\n// Copyright (c) 2023 MinIO, Inc.\n//\n// This program is free software: you can redistribute it and/or modify\n// it under the terms of the GNU Affero General Public License as published by\n// the Free Software Foundation, either version 3 of the License, or\n// (at your option) any later version.\n//\n// This program is distributed in the hope that it will be useful,\n// but WITHOUT ANY WARRANTY; without even the implied warranty of\n// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n// GNU Affero General Public License for more details.\n//\n// You should have received a copy of the GNU Affero General Public License\n// along with this program. If not, see .\n\nimport React, { cloneElement, FC } from \"react\";\nimport get from \"lodash/get\";\nimport styled from \"styled-components\";\nimport {\n CustomMainProps,\n MainContainerProps,\n ParentBoxProps,\n} from \"./MainContainer.types\";\nimport { breakPoints } from \"../../global/utils\";\n\nconst CustomMain = styled.main(({ theme, horizontal }) => {\n return {\n flexGrow: 1,\n height: !!horizontal ? \"initial\" : \"100vh\",\n overflow: \"auto\",\n position: \"relative\",\n backgroundColor: get(theme, \"bgColor\", \"#fff\"),\n color: get(theme, \"fontColor\", \"#000\"),\n };\n});\n\nconst ParentBox = styled.div(\n ({ horizontal, mobileModeAuto, sx }) => {\n let breakPoint = {};\n\n if (mobileModeAuto) {\n breakPoint = {\n [`@media (max-width: ${get(breakPoints, \"md\", 0)}px)`]: {\n flexDirection: \"column\",\n },\n };\n }\n\n return {\n display: \"flex\",\n flexDirection: !!horizontal ? \"column\" : \"row\",\n ...breakPoint,\n ...sx,\n };\n },\n);\n\nconst MainContainer: FC = ({\n children,\n menu,\n horizontal,\n mobileModeAuto = true,\n sx,\n}) => {\n return (\n \n {menu && cloneElement(menu)}\n \n {children}\n \n \n );\n};\n\nexport default MainContainer;\n","// This file is part of MinIO Design System\n// Copyright (c) 2023 MinIO, Inc.\n//\n// This program is free software: you can redistribute it and/or modify\n// it under the terms of the GNU Affero General Public License as published by\n// the Free Software Foundation, either version 3 of the License, or\n// (at your option) any later version.\n//\n// This program is distributed in the hope that it will be useful,\n// but WITHOUT ANY WARRANTY; without even the implied warranty of\n// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n// GNU Affero General Public License for more details.\n//\n// You should have received a copy of the GNU Affero General Public License\n// along with this program. If not, see .\n\nimport React, { FC, useState, RefObject } from \"react\";\nimport styled from \"styled-components\";\nimport get from \"lodash/get\";\nimport { InputBoxElement, InputContainerProps } from \"./InputBox.types\";\nimport HelpIcon from \"../Icons/HelpIcon\";\nimport Tooltip from \"../Tooltip/Tooltip\";\nimport IconButton from \"../IconButton/IconButton\";\nimport InputLabel from \"../InputLabel/InputLabel\";\nimport VisibilityOffIcon from \"../Icons/VisibilityOffIcon\";\nimport VisibilityOnIcon from \"../Icons/VisibilityOnIcon\";\nimport Box from \"../Box/Box\";\n\nconst InputBase = styled.input((props) => {\n const { theme, error, startIcon, overlayIcon, overlayObject, type } = props;\n\n let borderColor = get(theme, \"inputBox.border\", \"#E2E2E2\");\n let borderHover = get(theme, \"inputBox.hoverBorder\", \"#000110\");\n\n if (error && error !== \"\") {\n borderColor = get(theme, \"inputBox.error\", \"#C51B3F\");\n borderHover = get(theme, \"inputBox.error\", \"#C51B3F\");\n }\n\n return {\n height: 38,\n width: \"100%\",\n paddingTop: 0,\n paddingRight:\n // @ts-ignore\n !!overlayIcon || !!overlayObject || type === \"password\" ? 35 : 15,\n paddingLeft: !!startIcon ? 35 : 15,\n paddingBottom: 0,\n color: get(theme, \"inputBox.color\", \"#07193E\"),\n fontSize: 13,\n fontWeight: 600,\n border: `${borderColor} 1px solid`,\n borderRadius: 3,\n outline: \"none\",\n transitionDuration: \"0.1s\",\n backgroundColor: get(theme, \"inputBox.backgroundColor\", \"#fff\"),\n \"&:placeholder\": {\n color: get(theme, \"inputBox.placeholderColor\", \"#858585\"),\n opacity: 1,\n fontWeight: 400,\n },\n \"&:hover\": {\n borderColor: borderHover,\n },\n \"&:focus\": {\n borderColor: borderHover,\n },\n \"&:disabled\": {\n border: get(theme, \"inputBox.disabledBorder\", \"#494A4D\"),\n backgroundColor: get(theme, \"inputBox.disabledBackground\", \"#B4B4B4\"),\n color: get(theme, \"inputBox.disabledText\", \"#E6EBEB\"),\n \"&:placeholder\": {\n color: get(theme, \"inputBox.disabledPlaceholder\", \"#E6EBEB\"),\n },\n },\n };\n});\n\nconst InputContainer = styled.div(\n ({ theme, error, sx }) => ({\n display: \"flex\",\n flexGrow: 1,\n width: \"100%\",\n \"& .errorText\": {\n fontSize: 12,\n color: get(theme, \"inputBox.error\", \"#C51B3F\"),\n marginTop: 3,\n },\n \"& .textBoxContainer\": {\n width: \"100%\",\n flexGrow: 1,\n position: \"relative\",\n minWidth: 160,\n },\n \"& .tooltipContainer\": {\n marginLeft: 5,\n display: \"flex\",\n alignItems: \"center\",\n \"& .min-icon\": {\n width: 13,\n },\n },\n \"& .overlayAction\": {\n position: \"absolute\",\n right: 5,\n top: 6,\n },\n \"& .inputLabel\": {\n marginBottom: error ? 18 : 0,\n },\n \"& .startOverlayIcon\": {\n position: \"absolute\",\n left: 10,\n top: 10,\n \"& svg\": {\n width: 14,\n height: 14,\n fill: get(theme, \"inputBox.color\", \"#07193E\"),\n },\n },\n ...sx,\n }),\n);\n\nconst InputBox = React.forwardRef(\n (\n {\n id,\n tooltip = \"\",\n index,\n type,\n overlayIcon,\n noLabelMinWidth,\n overlayId,\n overlayAction,\n overlayObject,\n label = \"\",\n required,\n startIcon,\n className,\n error,\n sx,\n helpTip,\n helpTipPlacement,\n ...props\n },\n ref,\n ) => {\n const [toggleTextInput, setToggleTextInput] = useState(false);\n\n let inputBoxWrapperIcon = overlayIcon;\n let inputBoxWrapperType = type;\n\n if (type === \"password\" && !overlayIcon) {\n inputBoxWrapperIcon = toggleTextInput ? (\n \n ) : (\n \n );\n inputBoxWrapperType = toggleTextInput ? \"text\" : \"password\";\n }\n\n return (\n \n {label !== \"\" && (\n \n {label}\n {required ? \"*\" : \"\"}\n {tooltip !== \"\" && (\n \n \n \n \n \n \n \n )}\n \n )}\n\n \n {startIcon && {startIcon}}\n | null | undefined}\n {...props}\n />\n {inputBoxWrapperIcon && (\n \n {\n overlayAction();\n }\n : () => setToggleTextInput(!toggleTextInput)\n }\n id={overlayId}\n size={\"25px\"}\n type={\"button\"}\n >\n {inputBoxWrapperIcon}\n \n \n )}\n {overlayObject && (\n {overlayObject}\n )}\n {error !== \"\" && {error}}\n \n \n );\n },\n);\n\nexport default InputBox;\n","// This file is part of MinIO Design System\n// Copyright (c) 2023 MinIO, Inc.\n//\n// This program is free software: you can redistribute it and/or modify\n// it under the terms of the GNU Affero General Public License as published by\n// the Free Software Foundation, either version 3 of the License, or\n// (at your option) any later version.\n//\n// This program is distributed in the hope that it will be useful,\n// but WITHOUT ANY WARRANTY; without even the implied warranty of\n// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n// GNU Affero General Public License for more details.\n//\n// You should have received a copy of the GNU Affero General Public License\n// along with this program. If not, see .\n\nimport React, { FC } from \"react\";\nimport get from \"lodash/get\";\nimport {\n BreadcrumbsContainerProps,\n BreadcrumbsProps,\n} from \"./Breadcrumbs.types\";\nimport IconButton from \"../IconButton/IconButton\";\nimport styled from \"styled-components\";\nimport BackCaretIcon from \"../Icons/BackCaretIcon\";\nimport Box from \"../Box/Box\";\n\nconst BoxParent = styled.div(({ theme, sx }) => {\n return {\n boxSizing: \"border-box\",\n flexBasis: \"100%\",\n width: \"100%\",\n fontSize: 12,\n color: get(theme, \"breadcrumbs.textColor\", \"#969FA8\"),\n fontWeight: \"bold\",\n border: `${get(theme, \"breadcrumbs.border\", \"#eaeaea\")} 1px solid`,\n height: 38,\n display: \"flex\",\n alignItems: \"center\",\n backgroundColor: get(theme, \"breadcrumbs.backgroundColor\", \"#FCFCFD\"),\n marginRight: 10,\n \"& a\": {\n textDecoration: \"none\",\n color: get(theme, \"breadcrumbs.linksColor\", \"#969FA8\"),\n \"&:hover\": {\n textDecoration: \"underline\",\n },\n },\n \"& .min-icon\": {\n width: 16,\n minWidth: 16,\n },\n \"& .backButton\": {\n border: `${get(\n theme,\n \"breadcrumbs.backButton.border\",\n \"#EAEDEE\",\n )} 1px solid`,\n backgroundColor: get(\n theme,\n \"breadcrumbs.backButton.backgroundColor\",\n \"#FFF\",\n ),\n borderLeft: 0,\n borderRadius: 0,\n width: 38,\n height: 38,\n marginRight: \"10px\",\n \"& > svg\": {\n fill: get(theme, \"breadcrumbs.textColor\", \"#969FA8\"),\n },\n },\n \"& .breadcrumbsList\": {\n textOverflow: \"ellipsis\" as const,\n overflow: \"hidden\" as const,\n whiteSpace: \"nowrap\" as const,\n display: \"inline-block\" as const,\n flexGrow: 1,\n textAlign: \"left\" as const,\n marginLeft: 15,\n marginRight: 10,\n width: 0, // WA to avoid overflow if child elements in flexbox list.**\n },\n \"& .slashSpacingStyle\": {\n margin: \"0 5px\",\n },\n ...sx,\n };\n});\n\nconst Breadcrumbs: FC = ({\n sx,\n children,\n additionalOptions,\n goBackFunction,\n}) => {\n return (\n \n \n \n \n \n {children}\n \n {additionalOptions}\n \n );\n};\n\nexport default Breadcrumbs;\n","// This file is part of MinIO Design System\n// Copyright (c) 2023 MinIO, Inc.\n//\n// This program is free software: you can redistribute it and/or modify\n// it under the terms of the GNU Affero General Public License as published by\n// the Free Software Foundation, either version 3 of the License, or\n// (at your option) any later version.\n//\n// This program is distributed in the hope that it will be useful,\n// but WITHOUT ANY WARRANTY; without even the implied warranty of\n// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n// GNU Affero General Public License for more details.\n//\n// You should have received a copy of the GNU Affero General Public License\n// along with this program. If not, see .\n\nimport React, { FC } from \"react\";\nimport { ActionButtonProps } from \"./ActionsList.types\";\nimport styled from \"styled-components\";\nimport get from \"lodash/get\";\n\nconst CustomButton = styled.button<\n React.ButtonHTMLAttributes\n>(({ theme }) => ({\n display: \"inline-flex\",\n alignItems: \"center\",\n justifyContent: \"flex-start\",\n color: get(theme, \"actionsList.optionsTextColor\", \"#5E5E5E\"),\n width: \"100%\",\n height: 22,\n margin: 0,\n padding: \"0 15px\",\n fontSize: 14,\n fontWeight: \"normal\",\n whiteSpace: \"nowrap\",\n backgroundColor: \"transparent\",\n border: \"none\",\n cursor: \"pointer\",\n \"&:hover\": {\n backgroundColor: \"transparent\",\n color: get(theme, \"actionsList.optionsHoverTextColor\", \"#000\"),\n },\n \"& svg\": {\n width: 11,\n marginRight: 8,\n },\n \"&:disabled\": {\n color: get(theme, \"actionsList.disabledOptionsTextColor\", \"#EBEBEB\"),\n cursor: \"not-allowed\",\n },\n \"& .buttonIcon\": {\n width: 11,\n },\n}));\n\nconst ObjectActionButton: FC = ({\n icon,\n label,\n ...props\n}) => {\n return (\n \n {icon}\n {label}\n \n );\n};\n\nexport default ObjectActionButton;\n","// This file is part of MinIO Design System\n// Copyright (c) 2023 MinIO, Inc.\n//\n// This program is free software: you can redistribute it and/or modify\n// it under the terms of the GNU Affero General Public License as published by\n// the Free Software Foundation, either version 3 of the License, or\n// (at your option) any later version.\n//\n// This program is distributed in the hope that it will be useful,\n// but WITHOUT ANY WARRANTY; without even the implied warranty of\n// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n// GNU Affero General Public License for more details.\n//\n// You should have received a copy of the GNU Affero General Public License\n// along with this program. If not, see .\n\nimport React, { FC, HTMLAttributes } from \"react\";\nimport { ActionsListPanelProps, ActionsListProps } from \"./ActionsList.types\";\nimport styled from \"styled-components\";\nimport Tooltip from \"../Tooltip/Tooltip\";\nimport ObjectActionButton from \"./ObjectActionButton\";\nimport get from \"lodash/get\";\n\nconst ActionsListPanel = styled.div<\n HTMLAttributes & ActionsListPanelProps\n>(({ theme, sx }) => ({\n \"& .titleLabel\": {\n fontSize: 14,\n fontWeight: \"700\",\n color: get(theme, \"actionsList.titleColor\", \"#000\"),\n padding: \"12px 30px 8px 22px\",\n whiteSpace: \"nowrap\",\n textOverflow: \"ellipsis\",\n overflow: \"hidden\",\n alignItems: \"center\",\n },\n \"& .objectActions\": {\n backgroundColor: get(theme, \"actionsList.backgroundColor\", \"#F8F8F8\"),\n border: `${get(\n theme,\n \"actionsList.containerBorderColor\",\n \"#F1F1F1\",\n )} 1px solid`,\n borderRadius: 3,\n margin: \"8px 22px\",\n padding: 0,\n \"& span\": {\n width: \"100%\",\n },\n \"& li\": {\n listStyle: \"none\",\n padding: 6,\n margin: 0,\n borderBottom: `${get(\n theme,\n \"actionsList.optionsBorder\",\n \"#E5E5E5\",\n )} 1px solid`,\n fontSize: 14,\n \"&:first-of-type\": {\n padding: 10,\n fontWeight: \"bold\",\n color: get(theme, \"actionsList.titleColor\", \"#000\"),\n },\n \"&:last-of-type\": {\n borderBottom: 0,\n },\n \"&::before\": {\n content: \"' '!important\",\n },\n },\n },\n ...sx,\n}));\n\nconst ActionsList: FC = ({ sx, items, title }) => {\n return (\n \n
{title}
\n
    \n
  • Actions:
  • \n {items.map((actionItem, index) => {\n return (\n
  • \n \n \n \n
  • \n );\n })}\n
\n
\n );\n};\n\nexport default ActionsList;\n","// This file is part of MinIO Design System\n// Copyright (c) 2023 MinIO, Inc.\n//\n// This program is free software: you can redistribute it and/or modify\n// it under the terms of the GNU Affero General Public License as published by\n// the Free Software Foundation, either version 3 of the License, or\n// (at your option) any later version.\n//\n// This program is distributed in the hope that it will be useful,\n// but WITHOUT ANY WARRANTY; without even the implied warranty of\n// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n// GNU Affero General Public License for more details.\n//\n// You should have received a copy of the GNU Affero General Public License\n// along with this program. If not, see .\n\nimport React, { FC, HTMLAttributes } from \"react\";\nimport styled from \"styled-components\";\nimport {\n SimpleHeaderContainerProps,\n SimpleHeaderProps,\n} from \"./SimpleHeader.types\";\nimport get from \"lodash/get\";\n\nconst ParentContainer = styled.div<\n HTMLAttributes & SimpleHeaderContainerProps\n>(({ theme, sx }) => ({\n display: \"flex\",\n justifyContent: \"space-between\",\n alignItems: \"center\",\n paddingBottom: 15,\n borderBottom: `1px solid ${get(theme, `borderColor`, \"#E5E5E5\")}`,\n fontWeight: \"bold\",\n fontSize: 18,\n color: get(theme, `fontColor`, \"#000\"),\n margin: \"20px 22px\",\n ...sx,\n}));\n\nconst SimpleHeader: FC = ({ label, icon, sx }) => {\n return (\n \n {label}\n {icon}\n \n );\n};\n\nexport default SimpleHeader;\n","// This file is part of MinIO Design System\n// Copyright (c) 2023 MinIO, Inc.\n//\n// This program is free software: you can redistribute it and/or modify\n// it under the terms of the GNU Affero General Public License as published by\n// the Free Software Foundation, either version 3 of the License, or\n// (at your option) any later version.\n//\n// This program is distributed in the hope that it will be useful,\n// but WITHOUT ANY WARRANTY; without even the implied warranty of\n// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n// GNU Affero General Public License for more details.\n//\n// You should have received a copy of the GNU Affero General Public License\n// along with this program. If not, see .\n\nimport React, { FC } from \"react\";\nimport {\n ScreenTitleContainerProps,\n ScreenTitleProps,\n} from \"./ScreenTitle.types\";\nimport { breakPoints } from \"../../global/utils\";\nimport styled from \"styled-components\";\nimport Box from \"../Box/Box\";\nimport get from \"lodash/get\";\n\nconst ScreenTitleContainer = styled.div(\n ({ theme, sx, bottomBorder }) => ({\n boxSizing: \"border-box\",\n display: \"flex\",\n flexDirection: \"row\",\n flexWrap: \"wrap\",\n width: \"100%\",\n \"& .stContainer\": {\n display: \"flex\",\n alignItems: \"center\",\n justifyContent: \"space-between\",\n padding: 8,\n width: \"100%\",\n borderBottom: !bottomBorder\n ? \"none\"\n : `1px solid ${get(theme, `screenTitle.border`, \"#E5E5E5\")}`,\n },\n \"& .headerBarIcon\": {\n color: get(theme, `screenTitle.iconColor`, \"#000\"),\n \"& .min-icon\": {\n width: 44,\n height: 44,\n },\n },\n \"& .headerBarSubheader\": {\n color: get(theme, `screenTitle.subtitleColor`, \"#5B5C5C\"),\n },\n \"& .titleColumn\": {\n height: \"auto\",\n justifyContent: \"center\",\n display: \"flex\",\n flexFlow: \"column\",\n alignItems: \"flex-start\",\n \"& h1\": {\n fontSize: 20,\n },\n },\n \"& .leftItems\": {\n display: \"flex\",\n alignItems: \"center\",\n gap: 12,\n },\n \"& .rightItems\": {\n display: \"flex\",\n alignItems: \"center\",\n gap: 10,\n },\n [`@media (max-width: ${get(breakPoints, \"md\", 0)}px)`]: {\n \"& .stContainer\": {\n flexDirection: \"column\",\n gap: 12,\n flexFlow: \"column\",\n alignItems: \"flex-start\",\n },\n \"& .headerBarIcon\": { display: \"none\" },\n \"& .headerBarSubheader\": {\n display: \"flex\",\n flexDirection: \"column\",\n },\n \"& .rightItems\": {\n width: \"100%\",\n justifyContent: \"center\",\n },\n },\n ...sx,\n }),\n);\n\nconst ScreenTitle: FC = ({\n icon,\n subTitle = \"\",\n title,\n actions,\n bottomBorder = true,\n sx,\n}) => {\n return (\n \n \n \n {icon ? {icon} : null}\n \n

{title}

\n {subTitle}\n
\n
\n {actions}\n
\n \n );\n};\n\nexport default ScreenTitle;\n","// This file is part of MinIO Design System\n// Copyright (c) 2023 MinIO, Inc.\n//\n// This program is free software: you can redistribute it and/or modify\n// it under the terms of the GNU Affero General Public License as published by\n// the Free Software Foundation, either version 3 of the License, or\n// (at your option) any later version.\n//\n// This program is distributed in the hope that it will be useful,\n// but WITHOUT ANY WARRANTY; without even the implied warranty of\n// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n// GNU Affero General Public License for more details.\n//\n// You should have received a copy of the GNU Affero General Public License\n// along with this program. If not, see .\n\nimport { useCallback, useEffect } from \"react\";\n\nexport const useEscapeKey = (handleAction: () => void) => {\n const handleEsc = useCallback(\n (event: KeyboardEvent) => {\n if (event.key === \"Escape\" || event.key === \"Esc\") {\n handleAction();\n }\n },\n [handleAction],\n );\n\n useEffect(() => {\n document.addEventListener(\"keyup\", handleEsc, false);\n\n return () => {\n document.removeEventListener(\"keyup\", handleEsc, false);\n };\n }, [handleEsc]);\n};\n\nexport const useEnterKey = (handleAction: () => void) => {\n const handleEnter = useCallback(\n (event: KeyboardEvent) => {\n if (event.key === \"Enter\") {\n handleAction();\n }\n },\n [handleAction],\n );\n\n useEffect(() => {\n document.addEventListener(\"keyup\", handleEnter, false);\n\n return () => {\n document.removeEventListener(\"keyup\", handleEnter, false);\n };\n }, [handleEnter]);\n};\n\nexport const useArrowKeys = (\n handleAction: (arrowDirection: string) => void,\n) => {\n const handleArrow = useCallback(\n (event: KeyboardEvent) => {\n if (event.key?.startsWith(\"Arrow\")) {\n event.preventDefault();\n event.stopPropagation();\n handleAction(event.key);\n }\n },\n [handleAction],\n );\n\n useEffect(() => {\n document.addEventListener(\"keyup\", handleArrow, false);\n\n return () => {\n document.removeEventListener(\"keyup\", handleArrow, false);\n };\n }, [handleArrow]);\n};\n","// This file is part of MinIO Design System\n// Copyright (c) 2023 MinIO, Inc.\n//\n// This program is free software: you can redistribute it and/or modify\n// it under the terms of the GNU Affero General Public License as published by\n// the Free Software Foundation, either version 3 of the License, or\n// (at your option) any later version.\n//\n// This program is distributed in the hope that it will be useful,\n// but WITHOUT ANY WARRANTY; without even the implied warranty of\n// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n// GNU Affero General Public License for more details.\n//\n// You should have received a copy of the GNU Affero General Public License\n// along with this program. If not, see .\n\nimport React, { FC, useEffect, useState } from \"react\";\nimport { createPortal } from \"react-dom\";\nimport get from \"lodash/get\";\nimport styled from \"styled-components\";\nimport { useEscapeKey } from \"../../global/hooks\";\nimport { ModalBoxContainerProps, ModalBoxProps } from \"./ModalBox.types\";\nimport Box from \"../Box/Box\";\nimport AlertCloseIcon from \"../Icons/AlertCloseIcon\";\n\nconst ModalBoxContainer = styled.div(\n ({\n theme,\n backgroundOverlay,\n widthLimit,\n iconColor,\n customMaxWidth,\n sx,\n }) => ({\n \"& .overlay\": {\n position: \"fixed\",\n zIndex: 1200,\n width: \"100vw\",\n height: \"100vh\",\n top: 0,\n left: 0,\n backgroundColor: backgroundOverlay\n ? get(theme, \"modalBox.overlayColor\", \"#00000050\")\n : \"transparent\",\n display: \"flex\",\n alignItems: \"center\",\n justifyContent: \"center\",\n opacity: 0,\n \"&.active\": {\n opacity: 1,\n transition: \"opacity 0.3s\",\n },\n },\n \"& .modalContainer\": {\n color: get(theme, \"fontColor\", \"#000\"),\n width: \"100%\",\n maxWidth: widthLimit ? customMaxWidth : \"100%\",\n margin: 32,\n backgroundColor: get(theme, \"modalBox.containerColor\", \"#FFF\"),\n padding: \"16px 40px\",\n borderRadius: 4,\n boxShadow:\n \"rgba(0, 0, 0, 0.2) 0px 11px 15px -7px, rgba(0, 0, 0, 0.14) 0px 24px 38px 3px, rgba(0, 0, 0, 0.12) 0px 9px 46px 8px\",\n },\n \"& .modalTitleBar\": {\n position: \"relative\",\n padding: \"10px 0\",\n \"& .closeModalButton\": {\n display: \"flex\",\n alignItems: \"center\",\n justifyContent: \"center\",\n position: \"absolute\",\n top: -2,\n right: -14,\n cursor: \"pointer\",\n border: \"none\",\n backgroundColor: \"transparent\",\n fontSize: 24,\n color: get(theme, \"modalBox.closeColor\", \"#FFF\"),\n padding: 0,\n borderRadius: \"100%\",\n width: 28,\n height: 28,\n \"& > svg\": {\n width: 14,\n height: 14,\n },\n \"&:hover\": {\n color: get(theme, \"modalBox.closeHoverColor\", \"#EAEAEA\"),\n backgroundColor: get(theme, \"modalBox.closeHoverBG\", \"#000\"),\n },\n },\n \"& .title\": {\n display: \"flex\",\n alignItems: \"center\",\n justifyContent: \"flex-start\",\n gap: 8,\n fontSize: 20,\n color: get(theme, \"modalBox.titleColor\", \"#000\"),\n fontWeight: \"bold\",\n \"& > svg\": {\n fill: get(theme, `modalBox.iconColor.${iconColor}`, \"#07193E\"),\n },\n },\n },\n \"& .dialogContent\": {\n maxHeight: \"calc(100vh - 150px)\",\n overflowY: \"auto\",\n },\n ...sx,\n }),\n);\n\nconst ModalBox: FC = ({\n onClose,\n open,\n title,\n children,\n widthLimit = true,\n titleIcon,\n backgroundOverlay = true,\n iconColor = \"default\",\n customMaxWidth = 750,\n sx,\n}) => {\n useEscapeKey(onClose);\n\n const [displayOverlay, setDisplayOverlay] = useState(false);\n\n useEffect(() => {\n if (open) {\n setTimeout(() => setDisplayOverlay(true), 100);\n return;\n }\n setDisplayOverlay(false);\n }, [open]);\n\n if (!open) {\n return null;\n }\n\n const modalContainer = (\n \n \n \n \n \n {titleIcon}\n {title}\n \n \n \n \n \n {children}\n \n \n \n );\n\n return createPortal(modalContainer, document.body);\n};\n\nexport default ModalBox;\n","// This file is part of MinIO Design System\n// Copyright (c) 2023 MinIO, Inc.\n//\n// This program is free software: you can redistribute it and/or modify\n// it under the terms of the GNU Affero General Public License as published by\n// the Free Software Foundation, either version 3 of the License, or\n// (at your option) any later version.\n//\n// This program is distributed in the hope that it will be useful,\n// but WITHOUT ANY WARRANTY; without even the implied warranty of\n// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n// GNU Affero General Public License for more details.\n//\n// You should have received a copy of the GNU Affero General Public License\n// along with this program. If not, see .\n\nimport React, { FC } from \"react\";\nimport styled from \"styled-components\";\nimport get from \"lodash/get\";\nimport {\n IndicatorProps,\n SwitchContainerProps,\n SwitchProps,\n} from \"./Switch.types\";\nimport InputLabel from \"../InputLabel/InputLabel\";\nimport Tooltip from \"../Tooltip/Tooltip\";\nimport HelpIcon from \"../Icons/HelpIcon\";\nimport Box from \"../Box/Box\";\nimport FieldContainer from \"../../global/FieldContainer\";\n\nconst SwitchIndicator = styled.span(({ theme, active }) => ({\n fontSize: 12,\n color: active\n ? get(theme, \"switchButton.onLabelColor\", \"#081C42\")\n : get(theme, \"switchButton.offLabelColor\", \"#E2E2E2\"),\n margin: \"0 8px 0 10px\",\n fontWeight: active ? \"bold\" : \"normal\",\n}));\n\nconst SwitchItem = styled.label(({ theme }) => ({\n width: 54,\n height: 24,\n position: \"relative\",\n \"& .switchRail\": {\n position: \"relative\",\n display: \"block\",\n width: 54,\n height: 24,\n borderRadius: 24,\n padding: 2,\n boxShadow: \"inset 0px 1px 3px rgba(0,0,0,0.1)\",\n },\n\n \"& input\": {\n display: \"none\",\n \"& ~.switchRail\": {\n backgroundColor: get(theme, \"switchButton.switchBackground\", \"#E6EBEB\"),\n \"&:before\": {\n content: \"' '\",\n position: \"absolute\",\n display: \"block\",\n width: 22,\n height: 22,\n top: 1,\n left: 1,\n borderRadius: \"100%\",\n border: `${get(\n theme,\n \"switchButton.bulletBorderColor\",\n \"#FFF\",\n )} 2px solid `,\n backgroundColor: get(theme, \"switchButton.bulletBGColor\", \"#F1F4F4\"),\n transitionDuration: \"0.1s\",\n },\n },\n \"&:checked ~.switchRail\": {\n backgroundColor: get(theme, \"switchButton.onBackgroundColor\", \"#4CCB92\"),\n \"&:before\": {\n left: \"calc(100% - 23px)\",\n },\n },\n \"&:disabled:checked ~.switchRail\": {\n backgroundColor: get(\n theme,\n \"switchButton.disabledOnBackground\",\n \"#8bb0a0\",\n ),\n },\n \"&:disabled ~.switchRail\": {\n cursor: \"not-allowed\",\n backgroundColor: get(theme, \"switchButton.disabledBackground\", \"#E6EAEB\"),\n \"&:before\": {\n borderColor: get(\n theme,\n \"switchButton.disabledBulletBorderColor\",\n \"#F1F4F4\",\n ),\n backgroundColor: get(\n theme,\n \"switchButton.disabledBulletBGColor\",\n \"#E6EAEB\",\n ),\n },\n },\n },\n}));\n\nconst SwitchContainer = styled.div(() => ({\n display: \"flex\",\n alignItems: \"center\",\n}));\n\nconst SwitchMainContainer = styled.div(\n ({ theme, sx }) => ({\n \"& .inputBase\": {\n display: \"flex\",\n justifyContent: \"space-between\",\n alignItems: \"center\",\n flexBasis: \"initial\",\n flexWrap: \"nowrap\",\n },\n \"& .actionDescription\": {\n marginTop: 4,\n padding: \"0 10px\",\n color: \"#999999\",\n },\n ...sx,\n }),\n);\n\nconst Switch: FC> = ({\n tooltip,\n label,\n id,\n sx,\n className,\n switchOnly,\n indicatorLabels,\n description,\n checked,\n helpTip,\n helpTipPlacement,\n ...props\n}) => {\n const switchComponent = (\n \n {!switchOnly && (\n \n {indicatorLabels && indicatorLabels.length > 1\n ? indicatorLabels[1]\n : \"OFF\"}\n \n )}\n \n \n \n \n {!switchOnly && (\n \n {indicatorLabels ? indicatorLabels[0] : \"ON\"}\n \n )}\n \n );\n\n if (switchOnly) {\n return switchComponent;\n }\n\n return (\n \n \n {label !== \"\" && (\n \n {label}\n {tooltip && tooltip !== \"\" && (\n
\n \n \n \n
\n )}\n \n )}\n {switchComponent}\n
\n {description && {description}}\n \n );\n};\n\nexport default Switch;\n","// This file is part of MinIO Design System\n// Copyright (c) 2023 MinIO, Inc.\n//\n// This program is free software: you can redistribute it and/or modify\n// it under the terms of the GNU Affero General Public License as published by\n// the Free Software Foundation, either version 3 of the License, or\n// (at your option) any later version.\n//\n// This program is distributed in the hope that it will be useful,\n// but WITHOUT ANY WARRANTY; without even the implied warranty of\n// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n// GNU Affero General Public License for more details.\n//\n// You should have received a copy of the GNU Affero General Public License\n// along with this program. If not, see .\n\nimport React, { FC, useEffect, useState } from \"react\";\nimport styled, { CSSObject } from \"styled-components\";\nimport debounce from \"lodash/debounce\";\nimport { createPortal } from \"react-dom\";\nimport {\n DropDownBlockProps,\n DropdownItemProps,\n DropdownSelectorProps,\n} from \"./DropdownSelector.types\";\nimport get from \"lodash/get\";\nimport { useArrowKeys, useEnterKey, useEscapeKey } from \"../../global/hooks\";\nimport SelectorContainer from \"../../global/SelectorContainer\";\nimport Box from \"../Box/Box\";\n\nconst DropdownBlock = styled.div(\n ({ theme, sx, useAnchorWidth }) => ({\n position: \"absolute\",\n display: \"grid\",\n gridTemplateColumns: \"100%\",\n backgroundColor: get(theme, \"dropdownSelector.backgroundColor\", \"#fff\"),\n border: `1px solid ${get(theme, \"borderColor\", \"#E2E2E2\")}`,\n padding: \"10px 0\",\n maxHeight: 450,\n minWidth: useAnchorWidth ? 150 : 0,\n overflowX: \"hidden\",\n overflowY: \"auto\",\n borderRadius: 4,\n boxShadow:\n \"rgba(0, 0, 0, 0.2) 0px 11px 15px -7px, rgba(0, 0, 0, 0.14) 0px 24px 38px 3px, rgba(0, 0, 0, 0.12) 0px 9px 46px 8px\",\n \"& ul\": {\n padding: 0,\n margin: 0,\n display: \"flex\",\n flexDirection: \"column\",\n width: \"100%\",\n },\n ...sx,\n }),\n);\n\nconst DropdownItem = styled.div<\n DropdownItemProps & React.HTMLAttributes\n>(({ theme, icon, label, indicator }) => {\n let gridColumns = \"\";\n\n if (!!icon) {\n gridColumns += \"16px \";\n }\n\n gridColumns += \"1fr \";\n\n if (indicator) {\n gridColumns += \"16px\";\n }\n\n return {\n cursor: \"pointer\",\n listStyle: \"none\",\n width: \"100%\",\n color: get(theme, \"dropdownSelector.optionTextColor\", \"#000\"),\n padding: \"6px 15px\",\n fontSize: 14,\n userSelect: \"none\",\n alignItems: \"center\",\n justifyContent: \"flex-start\",\n gap: 10,\n whiteSpace: \"nowrap\",\n display: \"grid\",\n gridTemplateColumns: gridColumns,\n \"& svg\": {\n width: 16,\n height: 16,\n minWidth: 16,\n minHeight: 16,\n },\n \"& .truncate\": {\n whiteSpace: \"nowrap\",\n overflow: \"hidden\",\n textOverflow: \"ellipsis\",\n },\n \"&.selected\": {\n backgroundColor: get(\n theme,\n \"dropdownSelector.selectedBGColor\",\n \"#D5D7D8\",\n ),\n color: get(theme, \"dropdownSelector.optionTextColor\", \"#000\"),\n },\n \"&.disabled\": {\n cursor: \"not-allowed\",\n color: get(theme, \"dropdownSelector.disabledText\", \"#E6EBEB\"),\n \"&:hover\": {\n backgroundColor: get(theme, \"dropdownSelector.backgroundColor\", \"#fff\"),\n color: get(theme, \"dropdownSelector.disabledText\", \"#E6EBEB\"),\n },\n },\n \"&.hovered:not(.disabled)\": {\n backgroundColor: get(theme, \"dropdownSelector.hoverBG\", \"#E6EAEB\"),\n color: get(theme, \"dropdownSelector.hoverText\", \"#000\"),\n },\n };\n});\n\nconst calcElementPosition = (\n anchorEl: (EventTarget & HTMLElement) | null,\n anchorOrigin: \"start\" | \"end\",\n useAnchorWidth: boolean,\n) => {\n if (!anchorEl) {\n return {\n top: 0,\n left: 0,\n width: 0,\n };\n }\n\n const bounds = anchorEl.getBoundingClientRect();\n\n let returnItem: CSSObject = { top: bounds.top + bounds.height };\n\n if (anchorOrigin === \"start\") {\n returnItem.left = bounds.left;\n returnItem.transform = \"translateX(0%)\";\n } else if (anchorOrigin === \"end\") {\n returnItem.left = bounds.left + bounds.width;\n returnItem.transform = \"translateX(-100%)\";\n }\n\n if (useAnchorWidth) {\n returnItem.width = bounds.width;\n }\n\n return returnItem;\n};\n\nconst DropdownSelector: FC = ({\n id,\n options,\n selectedOption = \"\",\n onSelect,\n hideTriggerAction,\n open,\n anchorEl = null,\n useAnchorWidth = false,\n anchorOrigin = \"start\",\n}) => {\n const [coords, setCoords] = useState(null);\n const [indexHover, setIndexHover] = useState(0);\n\n const selectOption = () => {\n const option = options[indexHover];\n\n if (!option.disabled) {\n onSelect(\n option.value,\n option.extraValue || null,\n option.label,\n indexHover,\n );\n }\n\n hideTriggerAction();\n };\n\n useEnterKey(selectOption);\n useEscapeKey(hideTriggerAction);\n useArrowKeys((keyPressed) => {\n if (open) {\n if (keyPressed === \"ArrowUp\") {\n const prevIndex = indexHover - 1;\n const setIndexValue = prevIndex >= 0 ? prevIndex : 0;\n\n setIndexHover(setIndexValue);\n } else if (keyPressed === \"ArrowDown\") {\n const nextIndex = indexHover + 1;\n const setIndexValue =\n nextIndex <= options.length - 1 ? nextIndex : options.length - 1;\n\n setIndexHover(setIndexValue);\n }\n }\n });\n\n useEffect(() => {\n setIndexHover(0);\n }, [options]);\n\n useEffect(() => {\n if (open) {\n setCoords(calcElementPosition(anchorEl, anchorOrigin, useAnchorWidth));\n return;\n }\n setCoords(null);\n }, [open]);\n\n useEffect(() => {\n const handleResize = () => {\n hideTriggerAction();\n };\n\n const scrollResize = debounce((anchorEl) => {\n if (!anchorEl || !anchorEl.getBoundingClientRect()) {\n return;\n }\n setCoords(calcElementPosition(anchorEl, anchorOrigin, useAnchorWidth));\n }, 300);\n\n window.addEventListener(\"resize\", handleResize);\n window.addEventListener(\"scroll\", () => {\n scrollResize(anchorEl);\n });\n });\n\n if (!open || !coords) {\n return null;\n }\n\n if (!anchorEl) {\n console.warn(\n \"AnchorEl not set. Element will be rendered on the top of the page\",\n );\n }\n\n return createPortal(\n \n \n {options.map((option, index) => {\n return (\n {\n setIndexHover(index);\n }}\n key={`option-${index}`}\n label={option.label}\n icon={option.icon}\n indicator={option.indicator}\n >\n {option.icon}\n {option.label}\n {option.indicator}\n \n );\n })}\n \n ,\n document.body,\n );\n};\n\nexport default DropdownSelector;\n","// This file is part of MinIO Design System\n// Copyright (c) 2023 MinIO, Inc.\n//\n// This program is free software: you can redistribute it and/or modify\n// it under the terms of the GNU Affero General Public License as published by\n// the Free Software Foundation, either version 3 of the License, or\n// (at your option) any later version.\n//\n// This program is distributed in the hope that it will be useful,\n// but WITHOUT ANY WARRANTY; without even the implied warranty of\n// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n// GNU Affero General Public License for more details.\n//\n// You should have received a copy of the GNU Affero General Public License\n// along with this program. If not, see .\n\nimport React, { FC, Fragment, useState } from \"react\";\nimport styled from \"styled-components\";\nimport get from \"lodash/get\";\nimport { SelectProps } from \"./Select.types\";\nimport { InputContainerProps } from \"../InputBox/InputBox.types\";\nimport HelpIcon from \"../Icons/HelpIcon\";\nimport Tooltip from \"../Tooltip/Tooltip\";\nimport InputLabel from \"../InputLabel/InputLabel\";\nimport Box from \"../Box/Box\";\nimport CollapseCaret from \"../Icons/CollapseCaret\";\nimport ExpandCaret from \"../Icons/ExpandCaret\";\nimport DropdownSelector from \"../DropdownSelector/DropdownSelector\";\n\nconst SelectBase = styled.div(({ theme }) => {\n let borderColor = get(theme, \"inputBox.border\", \"#E2E2E2\");\n let borderHover = get(theme, \"inputBox.hoverBorder\", \"#000110\");\n\n return {\n display: \"flex\",\n flexGrow: 1,\n height: 38,\n padding: \"0 5px 0 15px\",\n color: get(theme, \"inputBox.color\", \"#07193E\"),\n fontSize: 13,\n fontWeight: 600,\n border: `${borderColor} 1px solid`,\n borderRadius: 3,\n outline: \"none\",\n transitionDuration: \"0.1s\",\n backgroundColor: get(theme, \"inputBox.backgroundColor\", \"#fff\"),\n userSelect: \"none\",\n width: \"100%\",\n minWidth: 0,\n alignItems: \"center\",\n justifyContent: \"space-between\",\n \"& .truncate\": {\n whiteSpace: \"nowrap\",\n overflow: \"hidden\",\n textOverflow: \"ellipsis\",\n },\n \"&:placeholder\": {\n color: \"#858585\",\n opacity: 1,\n fontWeight: 400,\n },\n \"&:hover\": {\n borderColor: borderHover,\n },\n \"&:focus\": {\n borderColor: borderHover,\n },\n \"&.disabled\": {\n border: get(theme, \"inputBox.disabledBorder\", \"#494A4D\"),\n backgroundColor: get(theme, \"inputBox.disabledBackground\", \"#B4B4B4\"),\n color: get(theme, \"inputBox.disabledText\", \"#E6EBEB\"),\n \"&:placeholder\": {\n color: get(theme, \"inputBox.disabledPlaceholder\", \"#E6EBEB\"),\n },\n \"&:hover\": {\n borderColor: get(theme, \"inputBox.disabledBorder\", \"#494A4D\"),\n },\n \"&:focus\": {\n borderColor: get(theme, \"inputBox.disabledBorder\", \"#494A4D\"),\n },\n },\n \"& svg\": {\n width: 16,\n height: 16,\n minWidth: 16,\n minHeight: 16,\n },\n \"& .indicatorContainer\": {\n display: \"flex\",\n alignItems: \"center\",\n width: 16,\n },\n };\n});\n\nconst InputContainer = styled.div(\n ({ theme, error, sx }) => ({\n display: \"flex\",\n flexGrow: 1,\n width: \"100%\",\n position: \"relative\",\n\n \"& .selectContainer\": {\n display: \"flex\",\n width: \"100%\",\n gap: 8,\n alignItems: \"center\",\n flexGrow: 1,\n position: \"relative\",\n minWidth: 80,\n },\n \"& .tooltipContainer\": {\n marginLeft: 5,\n display: \"flex\",\n alignItems: \"center\",\n \"& .min-icon\": {\n width: 13,\n },\n },\n \"& .overlayArrow\": {\n position: \"absolute\",\n top: \"50%\",\n transform: \"translateY(-50%)\",\n marginTop: \"2px\",\n right: \"5px\",\n \"& svg\": {\n width: 26,\n height: 26,\n fill: get(theme, \"inputBox.color\", \"#07193E\"),\n },\n },\n \"& .inputLabel\": {\n marginBottom: error ? 18 : 0,\n },\n ...sx,\n }),\n);\n\nconst Select: FC = ({\n id,\n label = \"\",\n required,\n className,\n tooltip = \"\",\n noLabelMinWidth = false,\n value = \"\",\n sx,\n options,\n onChange,\n disabled = false,\n fixedLabel = \"\",\n name,\n placeholder = \"\",\n helpTip,\n helpTipPlacement,\n}) => {\n const [isOpen, setIsOpen] = useState(false);\n const [anchorEl, setAnchorEl] = React.useState<\n (EventTarget & HTMLDivElement) | null\n >(null);\n\n const selectedLabel = options.find((option) => option.value === value);\n\n if (!selectedLabel && fixedLabel === \"\" && placeholder === \"\") {\n console.warn(\"The selected value is not included in Options List\");\n }\n\n return (\n \n {label !== \"\" && (\n \n {label}\n {required ? \"*\" : \"\"}\n {tooltip !== \"\" && (\n \n \n \n \n \n \n \n )}\n \n )}\n\n {\n if (!disabled) {\n setIsOpen(!isOpen);\n setAnchorEl(e.currentTarget);\n }\n }}\n >\n \n \n {selectedLabel?.icon && (\n {selectedLabel?.icon}\n )}\n \n {fixedLabel && fixedLabel !== \"\" ? (\n fixedLabel\n ) : (\n \n {selectedLabel?.label || (\n \n {placeholder !== \"\" ? placeholder : \"\"}\n \n )}\n \n )}\n \n {selectedLabel?.indicator && (\n \n {selectedLabel?.indicator}\n \n )}\n \n \n {isOpen ? : }\n \n \n \n \n {isOpen && (\n onChange(nValue, extraValue)}\n hideTriggerAction={() => {\n setIsOpen(false);\n }}\n open={isOpen}\n anchorEl={anchorEl}\n useAnchorWidth\n />\n )}\n \n );\n};\n\nexport default Select;\n","// This file is part of MinIO Design System\n// Copyright (c) 2023 MinIO, Inc.\n//\n// This program is free software: you can redistribute it and/or modify\n// it under the terms of the GNU Affero General Public License as published by\n// the Free Software Foundation, either version 3 of the License, or\n// (at your option) any later version.\n//\n// This program is distributed in the hope that it will be useful,\n// but WITHOUT ANY WARRANTY; without even the implied warranty of\n// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n// GNU Affero General Public License for more details.\n//\n// You should have received a copy of the GNU Affero General Public License\n// along with this program. If not, see .\n\nimport React, { FC, Fragment } from \"react\";\nimport styled from \"styled-components\";\nimport get from \"lodash/get\";\nimport { OptionsContainerProps, RadioGroupProps } from \"./RadioGroup.types\";\nimport InputLabel from \"../InputLabel/InputLabel\";\nimport { InputLabelProps } from \"../InputLabel/InputLabel.types\";\nimport FieldContainer from \"../../global/FieldContainer\";\nimport Tooltip from \"../Tooltip/Tooltip\";\nimport HelpIcon from \"../Icons/HelpIcon\";\n\nconst RadioButton = styled.label(({ sx, theme }) => ({\n \"& input\": {\n appearance: \"none\",\n backgroundColor: \"transparent\",\n margin: 0,\n display: \"none\",\n \"& ~ .radio\": {\n position: \"relative\",\n display: \"block\",\n width: 16,\n height: 16,\n borderRadius: \"100%\",\n border: `1px solid ${get(theme, \"checkbox.checkBoxBorder\", \"#c3c3c3\")}`,\n boxShadow: \"inset 0px 1px 3px rgba(0,0,0,0.1)\",\n \"&.checked\": {\n \"&::before\": {\n content: \"' '\",\n position: \"absolute\",\n display: \"block\",\n width: 12,\n height: 12,\n backgroundColor: get(theme, \"checkbox.checkBoxColor\", \"#4CCB92\"),\n borderRadius: \"100%\",\n top: \"50%\",\n left: \"50%\",\n transform: \"translateX(-50%) translateY(-50%)\",\n },\n },\n },\n \"&:disabled\": {\n \"& ~ .radio\": {\n border: `1px solid ${get(theme, \"checkbox.disabledBorder\", \"#D5D7D7\")}`,\n cursor: \"not-allowed\",\n boxShadow: \"inset 0px 1px 3px rgba(240,240,240,0.1)\" as const,\n },\n \"&:checked ~ .radio\": {\n \"&:before\": {\n backgroundColor: get(theme, \"checkbox.disabledColor\", \"#D5D7D7\"),\n },\n },\n },\n },\n ...sx,\n}));\n\nconst OptionsContainer = styled.div(\n ({ inColumn, theme }) => ({\n flexGrow: 1,\n width: \"100%\",\n display: \"flex\",\n flexDirection: inColumn ? \"column\" : \"row\",\n justifyContent: \"flex-end\",\n gap: 15,\n \"& .optionLabel\": {\n userSelect: \"none\",\n \"&.checked\": {\n fontWeight: \"bold\",\n },\n \"&.disabled\": {\n color: get(theme, \"checkbox.disabledColor\", \"#D5D7D7\"),\n cursor: \"not-allowed\",\n },\n },\n }),\n);\n\nconst RadioContainer = styled.div(({}) => ({\n display: \"flex\",\n alignItems: \"center\",\n gap: 5,\n}));\n\nconst RadioGroup: FC = ({\n tooltip,\n label,\n id,\n sx,\n onChange,\n className,\n name,\n selectorOptions,\n currentValue,\n disableOptions = false,\n displayInColumn = false,\n helpTip,\n helpTipPlacement,\n}) => {\n return (\n \n {label !== \"\" && (\n \n {label}\n {tooltip && tooltip !== \"\" && (\n
\n \n \n \n
\n )}\n \n )}\n \n {selectorOptions && (\n \n {selectorOptions.map((selector) => (\n \n \n onChange(event, selector.extraValue)}\n disabled={disableOptions || !!selector.disabled}\n />\n \n \n \n {selector.label}\n \n \n ))}\n \n )}\n \n \n );\n};\n\nexport default RadioGroup;\n","// This file is part of MinIO Design System\n// Copyright (c) 2023 MinIO, Inc.\n//\n// This program is free software: you can redistribute it and/or modify\n// it under the terms of the GNU Affero General Public License as published by\n// the Free Software Foundation, either version 3 of the License, or\n// (at your option) any later version.\n//\n// This program is distributed in the hope that it will be useful,\n// but WITHOUT ANY WARRANTY; without even the implied warranty of\n// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n// GNU Affero General Public License for more details.\n//\n// You should have received a copy of the GNU Affero General Public License\n// along with this program. If not, see .\n\nimport React, { FC } from \"react\";\nimport styled from \"styled-components\";\nimport get from \"lodash/get\";\nimport { ReadBoxBaseProps, ReadBoxProps } from \"./ReadBox.types\";\nimport InputLabel from \"../InputLabel/InputLabel\";\nimport Box from \"../Box/Box\";\n\nconst ReadBoxBase = styled.div(\n ({ theme, sx, label, multiLine }) => ({\n display: \"flex\",\n width: label !== \"\" && !multiLine ? \"calc(100% - 170px)\" : \"100%\",\n alignItems: \"center\",\n \"& .predefinedList\": {\n backgroundColor: get(theme, \"readBox.backgroundColor\", \"#fbfafa\"),\n border: `${get(theme, \"readBox.borderColor\", \"#e5e5e5\")} 1px solid`,\n padding: \"12px 10px\",\n color: get(theme, \"readBox.textColor\", \"#696969\"),\n fontSize: 12,\n fontWeight: 600,\n minHeight: 41,\n borderRadius: 4,\n width: \"100%\",\n },\n \"& .innerContent\": {\n width: \"100%\",\n overflowX: \"auto\",\n whiteSpace: \"nowrap\",\n scrollbarWidth: \"none\",\n \"&::-webkit-scrollbar\": {\n display: \"none\",\n },\n },\n \"& .innerContentMultiline\": {\n width: \"100%\",\n maxHeight: 100,\n overflowY: \"auto\" as const,\n scrollbarWidth: \"none\" as const,\n \"&::-webkit-scrollbar\": {\n display: \"none\",\n },\n },\n \"& .includesActionButton\": {\n paddingRight: 45,\n position: \"relative\" as const,\n },\n \"& .overlayShareOption\": {\n position: \"absolute\" as const,\n width: 45,\n right: 0,\n top: \"50%\",\n transform: \"translate(0, -50%)\",\n },\n ...sx,\n }),\n);\n\nconst ReadBox: FC = ({\n label = \"\",\n children,\n multiLine,\n actionButton,\n sx,\n helpTip,\n helpTipPlacement,\n}) => {\n return (\n \n {label !== \"\" && (\n \n {label}\n \n )}\n \n \n {children}\n \n {actionButton && (\n {actionButton}\n )}\n \n \n );\n};\n\nexport default ReadBox;\n","// This file is part of MinIO Design System\n// Copyright (c) 2023 MinIO, Inc.\n//\n// This program is free software: you can redistribute it and/or modify\n// it under the terms of the GNU Affero General Public License as published by\n// the Free Software Foundation, either version 3 of the License, or\n// (at your option) any later version.\n//\n// This program is distributed in the hope that it will be useful,\n// but WITHOUT ANY WARRANTY; without even the implied warranty of\n// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n// GNU Affero General Public License for more details.\n//\n// You should have received a copy of the GNU Affero General Public License\n// along with this program. If not, see .\n\nimport React, { FC, useState } from \"react\";\nimport styled from \"styled-components\";\nimport get from \"lodash/get\";\nimport {\n ExtraCommentProps,\n CommentBoxProps,\n CommentContainerProps,\n} from \"./CommentBox.types\";\nimport HelpIcon from \"../Icons/HelpIcon\";\nimport Tooltip from \"../Tooltip/Tooltip\";\nimport InputLabel from \"../InputLabel/InputLabel\";\nimport Box from \"../Box/Box\";\n\nconst TextAreaBase = styled.textarea(\n ({ theme, error, originType }) => {\n let borderColor = get(theme, \"inputBox.border\", \"#E2E2E2\");\n let borderHover = get(theme, \"inputBox.hoverBorder\", \"#000110\");\n\n if (error && error !== \"\") {\n borderColor = get(theme, \"inputBox.error\", \"#C51B3F\");\n borderHover = get(theme, \"inputBox.error\", \"#C51B3F\");\n }\n\n return {\n fontFamily: \"'Inter',sans-serif\",\n width: \"100%\",\n resize: \"none\",\n padding: \"16px 14px\",\n color: get(theme, \"inputBox.color\", \"#07193E\"),\n fontSize: 13,\n fontWeight: 600,\n border: `${borderColor} 1px solid`,\n borderRadius: 3,\n outline: \"none\",\n transitionDuration: \"0.1s\",\n backgroundColor: get(theme, \"inputBox.backgroundColor\", \"#fff\"),\n \"&:placeholder\": {\n color: get(theme, \"inputBox.placeholderColor\", \"#858585\"),\n opacity: 1,\n fontWeight: 400,\n },\n \"&:hover\": {\n borderColor: borderHover,\n },\n \"&:focus\": {\n borderColor: borderHover,\n },\n \"&:disabled\": {\n border: get(theme, \"inputBox.disabledBorder\", \"#494A4D\"),\n backgroundColor: get(theme, \"inputBox.disabledBackground\", \"#B4B4B4\"),\n color: get(theme, \"inputBox.disabledText\", \"#E6EBEB\"),\n \"&:placeholder\": {\n color: get(theme, \"inputBox.disabledPlaceholder\", \"#E6EBEB\"),\n },\n },\n };\n },\n);\n\nconst BoxContainer = styled.div(\n ({ theme, error, sx }) => ({\n display: \"flex\",\n alignItems: \"flex-start\",\n flexGrow: 1,\n width: \"100%\",\n \"& .errorText\": {\n fontSize: 12,\n color: get(theme, \"inputBox.error\", \"#C51B3F\"),\n marginTop: 3,\n },\n \"& .textBoxContainer\": {\n width: \"100%\",\n flexGrow: 1,\n position: \"relative\",\n minWidth: 160,\n },\n \"& .tooltipContainer\": {\n marginLeft: 5,\n display: \"flex\",\n alignItems: \"center\",\n \"& .min-icon\": {\n width: 13,\n },\n },\n \"& .inputLabel\": {\n marginBottom: error ? 18 : 0,\n },\n ...sx,\n }),\n);\n\nconst InputBox: FC = ({\n id,\n tooltip = \"\",\n index,\n noLabelMinWidth,\n label = \"\",\n required,\n className,\n error,\n sx,\n helpTip,\n helpTipPlacement,\n ...props\n}) => {\n return (\n \n {label !== \"\" && (\n \n {label}\n {required ? \"*\" : \"\"}\n {tooltip !== \"\" && (\n \n \n \n \n \n \n \n )}\n \n )}\n\n \n \n {error !== \"\" && {error}}\n \n \n );\n};\n\nexport default InputBox;\n","// This file is part of MinIO Design System\n// Copyright (c) 2023 MinIO, Inc.\n//\n// This program is free software: you can redistribute it and/or modify\n// it under the terms of the GNU Affero General Public License as published by\n// the Free Software Foundation, either version 3 of the License, or\n// (at your option) any later version.\n//\n// This program is distributed in the hope that it will be useful,\n// but WITHOUT ANY WARRANTY; without even the implied warranty of\n// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n// GNU Affero General Public License for more details.\n//\n// You should have received a copy of the GNU Affero General Public License\n// along with this program. If not, see .\n\nimport React, { FC, useEffect, useState } from \"react\";\nimport get from \"lodash/get\";\nimport debounce from \"lodash/debounce\";\nimport styled, { CSSObject } from \"styled-components\";\nimport { SubItemsBoxProps } from \"../Menu.types\";\nimport { lightColors } from \"../../../global/themes\";\nimport Box from \"../../Box/Box\";\n\nconst minDropWidth = 180;\n\nconst SubItemsBoxContainer = styled.div(({ theme }) => ({\n position: \"fixed\",\n top: 0,\n left: 0,\n width: \"100vw\",\n height: \"100vh\",\n backgroundColor: \"transparent\",\n zIndex: 5000,\n overscrollBehavior: \"contain\",\n \"& > .subItemsBox\": {\n position: \"absolute\",\n display: \"inline-block\",\n minWidth: minDropWidth,\n backgroundColor: get(\n theme,\n \"menu.horizontal.dropBackground\",\n lightColors.boxBackground,\n ),\n border: `${get(theme, \"borderColor\", lightColors.borderColor)}`,\n \"& .menuItemButton\": {\n width: \"100%\",\n \"&:hover, &.selected\": {\n backgroundColor: get(\n theme,\n \"menu.horizontal.hoverSelectedBackground\",\n lightColors.mainBlue,\n ),\n borderBottom: 0,\n color: get(\n theme,\n \"menu.horizontal.dropHoverSelectedColor\",\n lightColors.white,\n ),\n \"& .iconContainer\": {\n border: `${get(\n theme,\n \"menu.horizontal.dropHoverSelectedColor\",\n lightColors.white,\n )} 1px solid`,\n },\n },\n },\n },\n}));\n\nconst SubItemsBox: FC = ({\n open,\n anchorEl,\n hideTriggerAction,\n children,\n}) => {\n const [coords, setCoords] = useState(null);\n\n const windowWidth = document.documentElement.offsetWidth;\n\n const calcElementPosition = (\n anchorEl: (EventTarget & HTMLElement) | null,\n ) => {\n if (!anchorEl) {\n return {\n top: 0,\n left: 0,\n };\n }\n\n const bounds = anchorEl.getBoundingClientRect();\n let left = bounds.left;\n let calcEndPosition = left + minDropWidth;\n\n if (calcEndPosition > windowWidth) {\n return {\n top: bounds.top + bounds.height,\n right: 0,\n };\n }\n\n return {\n top: bounds.top + bounds.height,\n left,\n };\n };\n\n useEffect(() => {\n if (open) {\n setCoords(calcElementPosition(anchorEl));\n return;\n }\n setCoords(null);\n }, [open]);\n\n useEffect(() => {\n const handleResize = () => {\n hideTriggerAction();\n };\n\n const scrollResize = debounce((anchorEl) => {\n if (!anchorEl || !anchorEl.getBoundingClientRect()) {\n return;\n }\n setCoords(calcElementPosition(anchorEl));\n }, 300);\n\n window.addEventListener(\"resize\", handleResize);\n window.addEventListener(\"scroll\", () => {\n scrollResize(anchorEl);\n });\n });\n\n if (!open || !anchorEl) {\n return null;\n }\n\n return !coords ? null : (\n \n \n {children}\n \n \n );\n};\n\nexport default SubItemsBox;\n","// This file is part of MinIO Design System\n// Copyright (c) 2023 MinIO, Inc.\n//\n// This program is free software: you can redistribute it and/or modify\n// it under the terms of the GNU Affero General Public License as published by\n// the Free Software Foundation, either version 3 of the License, or\n// (at your option) any later version.\n//\n// This program is distributed in the hope that it will be useful,\n// but WITHOUT ANY WARRANTY; without even the implied warranty of\n// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n// GNU Affero General Public License for more details.\n//\n// You should have received a copy of the GNU Affero General Public License\n// along with this program. If not, see .\n\nimport React, { FC, useState } from \"react\";\nimport styled, { CSSObject } from \"styled-components\";\nimport get from \"lodash/get\";\nimport { MenuItemProps } from \"../Menu.types\";\nimport Box from \"../../Box/Box\";\nimport CircleIcon from \"../../Icons/CircleIcon\";\nimport CollapseCaret from \"../../Icons/CollapseCaret\";\nimport ExpandCaret from \"../../Icons/ExpandCaret\";\nimport { createPortal } from \"react-dom\";\nimport SubItemsBox from \"./SubItemsBox\";\nimport { lightColors } from \"../../../global/themes\";\n\nconst commonStyle = (theme: any) => ({\n display: \"flex\",\n justifyContent: \"space-between\",\n alignItems: \"center\",\n backgroundColor: \"transparent\",\n cursor: \"pointer\",\n border: \"none\",\n height: 45,\n padding: \"0 15px\",\n whiteSpace: \"nowrap\",\n color: get(theme, \"menu.horizontal.textColor\", lightColors.optionTextColor),\n borderBottom: `transparent 2px solid`,\n \"& .iconContainer\": {\n border: `${get(\n theme,\n \"menu.horizontal.iconBorderColor\",\n lightColors.menuIconBorder,\n )} 1px solid`,\n backgroundColor: \"transparent\",\n },\n \"&.selected, &:hover\": {\n color: get(theme, \"menu.horizontal.hoverSelectedColor\", lightColors.white),\n borderBottom: `${get(\n theme,\n \"menu.horizontal.hoverSelectedBackground\",\n lightColors.mainBlue,\n )} 2px solid`,\n \"& .iconContainer\": {\n border: `${get(\n theme,\n \"menu.horizontal.hoverSelectedIconBorder\",\n lightColors.white,\n )} 1px solid`,\n },\n },\n});\n\nconst MenuItemContainer = styled.div(({ theme }) => ({\n display: \"flex\",\n flexDirection: \"column\",\n alignItems: \"flex-start\",\n justifyContent: \"center\",\n userSelect: \"none\",\n cursor: \"pointer\",\n position: \"relative\",\n \"& .statusArrow\": {\n display: \"flex\",\n alignItems: \"center\",\n justifyContent: \"center\",\n backgroundColor: get(\n theme,\n \"menu.horizontal.dropArrowBackground\",\n lightColors.menuDropArrowBackground,\n ),\n width: 15,\n height: 15,\n minWidth: 15,\n minHeight: 15,\n borderRadius: 2,\n marginLeft: 5,\n },\n}));\n\nconst MenuItemButton = styled.button(({ theme }) => ({\n ...(commonStyle(theme) as CSSObject),\n \"& .subOption\": {\n padding: 0,\n },\n}));\n\nconst AnchorItem = styled.a(({ theme }) => ({\n ...(commonStyle(theme) as CSSObject),\n textDecoration: \"none\",\n}));\n\nconst OptionElement = styled.span(({ theme }) => ({\n display: \"flex\",\n alignItems: \"center\",\n gap: 22,\n \"& .iconContainer\": {\n position: \"relative\",\n borderRadius: \"100%\",\n width: 27,\n height: 27,\n minWidth: 27,\n minHeight: 27,\n display: \"flex\",\n alignItems: \"center\",\n justifyContent: \"center\",\n \"& svg:not(.badgeIcon)\": {\n width: 14,\n height: 14,\n },\n \"& svg.badgeIcon\": {\n width: 8,\n height: 8,\n fill: get(\n theme,\n \"menu.horizontal.notificationColor\",\n lightColors.mainRed,\n ),\n position: \"absolute\",\n top: 4,\n right: 3,\n },\n },\n \"& .labelContainer\": {\n fontFamily: \"'Inter', sans-serif\",\n fontSize: 14,\n },\n}));\n\nconst MenuOptionElement = ({\n icon,\n name,\n badge,\n}: {\n icon: React.ReactNode;\n name: React.ReactNode;\n badge: boolean;\n}) => (\n \n \n {icon}\n {badge && }\n \n {name}\n \n);\n\nconst HorizontalMenuItem: FC = ({\n children,\n icon,\n id,\n name,\n path,\n onClick,\n badge,\n currentPath,\n isVisible = true,\n}) => {\n const [open, setOpen] = useState(false);\n const [anchorEl, setAnchorEl] = React.useState<\n (EventTarget & HTMLButtonElement) | null\n >(null);\n\n let selected = false;\n if (currentPath && path) {\n if (currentPath.startsWith(path)) {\n selected = true;\n }\n }\n\n const closeMenu = () => {\n setOpen(false);\n setAnchorEl(null);\n };\n\n // If Menu has children set but not sub items, then we hide it\n if ((children && children.length === 0) || !isVisible) {\n return null;\n }\n\n // Menu option with submenus\n if (children && children.length > 0) {\n const filterSubItems = children.filter((item) => item.isVisible !== false);\n\n if (filterSubItems.length === 0) {\n return null;\n }\n\n return (\n \n {\n e.stopPropagation();\n\n setOpen(true);\n setAnchorEl(e.currentTarget);\n }}\n className={`menuItemButton ${open ? \"selected\" : \"\"}`}\n >\n \n \n {open ? : }\n \n \n {open &&\n createPortal(\n \n {children.map((child) => (\n \n ))}\n ,\n document.body,\n )}\n \n );\n }\n\n // Path is a link, we display an anchor instead of a button, default target _blank\n if (\n path?.match(\n /^(https?:\\/\\/)?([\\da-zа-я\\.\\-_]+)\\.([a-zа-я\\._]{2,6})([a-zа-я\\d\\.\\-\\?\\/&=#%_]*)*/,\n )\n ) {\n return (\n \n \n \n );\n }\n\n const executeOnClick = () => {\n if (onClick) {\n onClick(path || \"\");\n }\n };\n\n return (\n \n \n \n );\n};\n\nexport default HorizontalMenuItem;\n","// This file is part of MinIO Design System\n// Copyright (c) 2023 MinIO, Inc.\n//\n// This program is free software: you can redistribute it and/or modify\n// it under the terms of the GNU Affero General Public License as published by\n// the Free Software Foundation, either version 3 of the License, or\n// (at your option) any later version.\n//\n// This program is distributed in the hope that it will be useful,\n// but WITHOUT ANY WARRANTY; without even the implied warranty of\n// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n// GNU Affero General Public License for more details.\n//\n// You should have received a copy of the GNU Affero General Public License\n// along with this program. If not, see .\n\nimport React, { FC } from \"react\";\nimport styled from \"styled-components\";\nimport get from \"lodash/get\";\nimport { MenuConstructProps, MenuProps } from \"../Menu.types\";\nimport { lightColors } from \"../../../global/themes\";\nimport Box from \"../../Box/Box\";\nimport LogoutIcon from \"../../Icons/LogoutIcon\";\nimport ApplicationLogo from \"../../ApplicationLogo/ApplicationLogo\";\nimport HorizontalMenuItem from \"./HorizontalMenuItem\";\nimport IconButton from \"../../IconButton/IconButton\";\n\nconst HorizontalMenuContainer = styled.div(\n ({ theme, sx }) => {\n return {\n \"& .headerBar\": {\n padding: 15,\n display: \"flex\",\n justifyContent: \"space-between\",\n alignItems: \"center\",\n gap: 15,\n background: get(\n theme,\n \"menu.horizontal.menuHeaderBackground\",\n lightColors.menuBackground,\n ),\n borderBottom: `${get(\n theme,\n \"menu.horizontal.sectionDividerColor\",\n lightColors.menuColorDivider,\n )} 1px solid`,\n \"& svg\": {\n width: 200,\n },\n \"& .endComponent\": {\n display: \"flex\",\n alignItems: \"center\",\n gap: 10,\n },\n },\n \"& .sections\": {\n backgroundColor: get(\n theme,\n \"menu.horizontal.barBackground\",\n lightColors.mainGrey,\n ),\n width: \"100%\",\n height: 45,\n display: \"flex\",\n overflowY: \"hidden\",\n overflowX: \"auto\",\n scrollbarWidth: \"none\",\n msOverflowStyle: \"none\",\n borderBottom: `${get(\n theme,\n \"borderColor\",\n lightColors.borderColor,\n )} 1px solid`,\n \"&.compact\": {\n height: 5,\n backgroundColor: get(\n theme,\n \"menu.horizontal.noOptionsBar\",\n lightColors.mainGrey,\n ),\n },\n \"&::-webkit-scrollbar\": {\n width: 0,\n height: 0,\n },\n },\n ...sx,\n };\n },\n);\n\nconst HorizontalMenu: FC = ({\n applicationLogo,\n options,\n signOutAction,\n callPathAction,\n middleComponent,\n endComponent,\n currentPath,\n sx,\n}) => {\n let inverse = true;\n\n if (applicationLogo.inverse !== undefined) {\n inverse = applicationLogo.inverse;\n }\n\n return (\n \n \n \n {middleComponent}\n \n {endComponent}\n {signOutAction && (\n \n \n \n )}\n \n \n \n {options &&\n options.map((option) => {\n const onClickAction = (path: string) => {\n if (option.onClick) {\n option.onClick(path);\n }\n\n callPathAction(path);\n };\n\n return (\n \n );\n })}\n \n \n );\n};\n\nexport default HorizontalMenu;\n","// This file is part of MinIO Design System\n// Copyright (c) 2023 MinIO, Inc.\n//\n// This program is free software: you can redistribute it and/or modify\n// it under the terms of the GNU Affero General Public License as published by\n// the Free Software Foundation, either version 3 of the License, or\n// (at your option) any later version.\n//\n// This program is distributed in the hope that it will be useful,\n// but WITHOUT ANY WARRANTY; without even the implied warranty of\n// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n// GNU Affero General Public License for more details.\n//\n// You should have received a copy of the GNU Affero General Public License\n// along with this program. If not, see .\n\nimport React, { FC, useState, useEffect } from \"react\";\nimport styled from \"styled-components\";\nimport get from \"lodash/get\";\nimport { MenuItemProps } from \"../Menu.types\";\nimport Box from \"../../Box/Box\";\nimport CircleIcon from \"../../Icons/CircleIcon\";\nimport CollapseCaret from \"../../Icons/CollapseCaret\";\nimport ExpandCaret from \"../../Icons/ExpandCaret\";\nimport Tooltip from \"../../Tooltip/Tooltip\";\nimport { lightColors } from \"../../../global/themes\";\n\nconst commonStyle = (theme: any) => ({\n display: \"flex\",\n justifyContent: \"space-between\",\n alignItems: \"center\",\n backgroundColor: \"transparent\",\n cursor: \"pointer\",\n border: \"none\",\n width: \"100%\",\n height: 44,\n padding: \"0 25px\",\n color: get(theme, \"menu.vertical.textColor\", lightColors.menuCommonColor),\n \"& .iconContainer\": {\n border: `${get(\n theme,\n \"menu.vertical.iconBorderColor\",\n lightColors.menuIconBorder,\n )} 1px solid`,\n backgroundColor: get(\n theme,\n \"menu.vertical.iconBGColor\",\n lightColors.menuIconBG,\n ),\n },\n \"&.selected, &:hover\": {\n color: get(theme, \"menu.vertical.hoverSelectedColor\", lightColors.white),\n background: get(\n theme,\n \"menu.vertical.hoverSelectedBackground\",\n lightColors.menuSelectedOption,\n ),\n \"& .iconContainer\": {\n border: `${get(\n theme,\n \"menu.vertical.hoverSelectedIconBorder\",\n lightColors.white,\n )} 1px solid`,\n },\n },\n});\n\nconst MenuItemContainer = styled.div(({ theme }) => ({\n display: \"flex\",\n flexDirection: \"column\",\n alignItems: \"flex-start\",\n justifyContent: \"center\",\n userSelect: \"none\",\n cursor: \"pointer\",\n \"& > span\": {\n width: \"100%\",\n },\n \"& > .subItemsBox\": {\n paddingLeft: 20,\n width: \"100%\",\n },\n \"& .statusArrow\": {\n display: \"flex\",\n alignItems: \"center\",\n justifyContent: \"center\",\n backgroundColor: get(\n theme,\n \"menu.vertical.dropArrowBackground\",\n lightColors.menuDropArrowBackground,\n ),\n width: 15,\n height: 15,\n minWidth: 15,\n minHeight: 15,\n borderRadius: 2,\n },\n}));\n\nconst MenuItemButton = styled.button(({ theme }) => ({\n ...commonStyle(theme),\n \"& .subOption\": {\n padding: 0,\n },\n}));\n\nconst AnchorItem = styled.a(({ theme }) => ({\n ...commonStyle(theme),\n textDecoration: \"none\",\n}));\n\nconst OptionElement = styled.span(({ theme }) => ({\n display: \"flex\",\n alignItems: \"center\",\n gap: 22,\n \"& .iconContainer\": {\n position: \"relative\",\n borderRadius: \"100%\",\n width: 27,\n height: 27,\n minWidth: 27,\n minHeight: 27,\n display: \"flex\",\n alignItems: \"center\",\n justifyContent: \"center\",\n \"& svg:not(.badgeIcon)\": {\n width: 12,\n height: 12,\n },\n \"& svg.badgeIcon\": {\n width: 8,\n height: 8,\n fill: get(theme, \"menu.vertical.notificationColor\", lightColors.mainRed),\n position: \"absolute\",\n top: 4,\n right: 3,\n },\n },\n \"& .labelContainer\": {\n fontFamily: \"'Inter', sans-serif\",\n fontSize: 14,\n },\n}));\n\nconst MenuOptionElement = ({\n icon,\n name,\n badge,\n}: {\n icon: React.ReactNode;\n name: React.ReactNode;\n badge: boolean;\n}) => (\n \n \n {icon}\n {badge && }\n \n {name}\n \n);\n\nconst MenuItem: FC = ({\n children,\n icon,\n id,\n name,\n path,\n onClick,\n badge,\n currentPath,\n visibleTooltip = false,\n isVisible = true,\n}) => {\n const [open, setOpen] = useState(false);\n\n useEffect(() => {\n if (children && children.length > 0) {\n const selectedIndex = children.findIndex(\n (elem) => elem.path && currentPath?.startsWith(elem.path),\n );\n\n if (selectedIndex >= 0) {\n setOpen(true);\n }\n }\n }, [currentPath, children]);\n\n let selected = false;\n if (currentPath && path) {\n if (currentPath.startsWith(path)) {\n selected = true;\n }\n }\n\n // If Menu has children set but not sub items, then we hide it\n\n if ((children && children.length === 0) || !isVisible) {\n return null;\n }\n\n // Menu option with submenus\n if (children && children.length > 0) {\n const filterSubItems = children.filter((item) => item.isVisible !== false);\n\n if (filterSubItems.length === 0) {\n return null;\n }\n\n return (\n \n \n {\n setOpen(!open);\n }}\n className={\"menuItemButton\"}\n >\n \n \n {open ? : }\n \n \n \n {open && (\n \n {children.map((child) => (\n \n \n \n ))}\n \n )}\n \n );\n }\n\n // Path is a link, we display an anchor instead of a button, default target _blank\n if (\n path?.match(\n /^(https?:\\/\\/)?([\\da-zа-я\\.\\-_]+)\\.([a-zа-я\\._]{2,6})([a-zа-я\\d\\.\\-\\?\\/&=#%_]*)*/,\n )\n ) {\n return (\n \n \n \n \n \n );\n }\n\n const executeOnClick = () => {\n if (onClick) {\n onClick(path || \"\");\n }\n };\n\n return (\n \n \n \n \n \n );\n};\n\nexport default MenuItem;\n","// This file is part of MinIO Design System\n// Copyright (c) 2023 MinIO, Inc.\n//\n// This program is free software: you can redistribute it and/or modify\n// it under the terms of the GNU Affero General Public License as published by\n// the Free Software Foundation, either version 3 of the License, or\n// (at your option) any later version.\n//\n// This program is distributed in the hope that it will be useful,\n// but WITHOUT ANY WARRANTY; without even the implied warranty of\n// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n// GNU Affero General Public License for more details.\n//\n// You should have received a copy of the GNU Affero General Public License\n// along with this program. If not, see .\n\nimport React, { FC } from \"react\";\nimport styled from \"styled-components\";\nimport get from \"lodash/get\";\nimport { MainHeaderProps, SectionHeaderProps } from \"../Menu.types\";\nimport { lightColors } from \"../../../global/themes\";\n\nconst Header = styled.div(({ theme }) => ({\n borderBottom: `${get(\n theme,\n \"menu.vertical.sectionDividerColor\",\n lightColors.menuColorDivider,\n )} 1px solid`,\n margin: \"30px 25px 0\",\n paddingBottom: 5,\n userSelect: \"none\",\n \"& > .labelHeader\": {\n fontSize: 14,\n color: get(theme, \"menu.vertical.sectionLabelColor\", lightColors.white),\n paddingBottom: 6,\n display: \"block\",\n },\n}));\n\nconst MenuSectionHeader: FC = ({ label, divider }) => {\n return (\n
\n {label}\n
\n );\n};\n\nexport default MenuSectionHeader;\n","// This file is part of MinIO Design System\n// Copyright (c) 2025 MinIO, Inc.\n//\n// This program is free software: you can redistribute it and/or modify\n// it under the terms of the GNU Affero General Public License as published by\n// the Free Software Foundation, either version 3 of the License, or\n// (at your option) any later version.\n//\n// This program is distributed in the hope that it will be useful,\n// but WITHOUT ANY WARRANTY; without even the implied warranty of\n// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n// GNU Affero General Public License for more details.\n//\n// You should have received a copy of the GNU Affero General Public License\n// along with this program. If not, see .\n\nimport React, { FC } from \"react\";\nimport styled from \"styled-components\";\nimport { MainHeaderProps } from \"../Menu.types\";\nimport get from \"lodash/get\";\nimport { lightColors } from \"../../../global/themes\";\n\nconst Divider = styled.hr(({ theme }) => ({\n borderBottom: `${get(\n theme,\n \"menu.vertical.sectionDividerColor\",\n lightColors.menuColorDivider,\n )} 1px solid`,\n margin: \"0 25px 0\" as const,\n}));\n\nconst MenuDivider: FC = () => {\n return ;\n};\n\nexport default MenuDivider;\n","// This file is part of MinIO Design System\n// Copyright (c) 2023 MinIO, Inc.\n//\n// This program is free software: you can redistribute it and/or modify\n// it under the terms of the GNU Affero General Public License as published by\n// the Free Software Foundation, either version 3 of the License, or\n// (at your option) any later version.\n//\n// This program is distributed in the hope that it will be useful,\n// but WITHOUT ANY WARRANTY; without even the implied warranty of\n// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n// GNU Affero General Public License for more details.\n//\n// You should have received a copy of the GNU Affero General Public License\n// along with this program. If not, see .\n\nimport React, { FC, Fragment } from \"react\";\nimport styled from \"styled-components\";\nimport get from \"lodash/get\";\nimport { MenuConstructProps, MenuProps } from \"../Menu.types\";\nimport { lightColors } from \"../../../global/themes\";\nimport Box from \"../../Box/Box\";\nimport ApplicationLogo from \"../../ApplicationLogo/ApplicationLogo\";\nimport CollapseMenuIcon from \"../../Icons/CollapseMenuIcon\";\nimport MenuItem from \"./MenuItem\";\nimport MenuSectionHeader from \"./MenuSectionHeader\";\nimport LogoutIcon from \"../../Icons/LogoutIcon\";\nimport Tooltip from \"../../Tooltip/Tooltip\";\nimport MinIOTierIconXs from \"../../Icons/MinIOTierIconXs\";\nimport MenuDivider from \"../Common/MenuDivider\";\n\nconst VerticalMenuDrawer = styled.div(({ theme, sx }) => {\n return {\n width: 250,\n maxWidth: 250,\n minWidth: 250,\n height: \"100vh\",\n overflow: \"auto\",\n position: \"relative\",\n scrollbarWidth: \"none\",\n msOverflowStyle: \"none\",\n \"&::-webkit-scrollbar\": {\n width: 5,\n },\n \"&::-webkit-scrollbar-thumb\": {\n background: get(\n theme,\n \"menu.vertical.sectionDividerColor\",\n lightColors.menuColorDivider,\n ),\n borderRadius: 0,\n },\n\n \"&::-webkit-scrollbar-track\": {\n background: get(theme, \"borderColor\", lightColors.borderColor),\n boxShadow: `inset 0px 0px 0px 0px ${get(\n theme,\n \"borderColor\",\n lightColors.borderColor,\n )}`,\n borderRadius: 0,\n },\n\n background: get(\n theme,\n \"menu.vertical.background\",\n lightColors.menuBackground,\n ),\n transitionDuration: \"0.3s\",\n \"& .menuContainer\": {\n height: \"inherit\",\n position: \"relative\",\n display: \"flex\",\n flexDirection: \"column\",\n \"& .collapseButton\": {\n position: \"absolute\",\n right: 11,\n top: 10,\n \"& > svg\": {\n width: 12,\n height: 12,\n fill: get(\n theme,\n \"menu.vertical.menuCollapseColor\",\n lightColors.menuCollapseColor,\n ),\n },\n },\n },\n \"& .menuLogoContainer\": {\n position: \"relative\",\n margin: \"20px 30px 0\",\n paddingBottom: 20,\n borderBottom: `${get(\n theme,\n \"menu.vertical.sectionDividerColor\",\n lightColors.menuColorDivider,\n )} 1px solid`,\n },\n \"& .collapsedMenuHeader\": {\n display: \"none\",\n },\n \"& .menuItems\": {\n display: \"flex\",\n flexDirection: \"column\",\n flexGrow: 1,\n },\n \"& .menuHeaderContainer\": {\n cursor: \"pointer\",\n },\n \"&.collapsed\": {\n width: 80,\n minWidth: 80,\n boxSizing: \"content-box\",\n \"& .collapseButton, & .menuLogoContainer\": {\n display: \"none\",\n },\n \"& .labelHeader\": {\n display: \"none\",\n },\n \"& .collapsedMenuHeader\": {\n display: \"flex\",\n position: \"relative\",\n alignItems: \"center\",\n justifyContent: \"center\",\n width: 43,\n height: 43,\n minWidth: 43,\n minHeight: 43,\n border: `${get(\n theme,\n \"menu.vertical.iconBorderColor\",\n lightColors.menuIconBorder,\n )} 1px solid`,\n backgroundColor: get(\n theme,\n \"menu.vertical.iconBGColor\",\n lightColors.menuIconBG,\n ),\n borderRadius: \"100%\",\n margin: \"25px 0\",\n \"&:hover\": {\n borderColor: get(\n theme,\n \"menu.vertical.hoverSelectedIconBorder\",\n lightColors.white,\n ),\n },\n \"& .collapsedIcon\": {\n display: \"inline-flex\",\n color: get(\n theme,\n \"menu.vertical.menuCollapseColor\",\n lightColors.menuCollapseColor,\n ),\n \"& svg\": {\n width: 30,\n height: 30,\n },\n },\n \"& svg\": {\n width: 36,\n height: 36,\n },\n },\n \"& .menuHeader\": {\n marginLeft: 0,\n marginRight: 0,\n marginTop: 0,\n },\n \"& .labelContainer\": {\n display: \"none\",\n },\n \"& .subItemsBox\": {\n padding: 0,\n },\n \"& span\": {\n display: \"flex\",\n padding: 0,\n justifyContent: \"center\",\n },\n \"& .menuItemButton\": {\n padding: 0,\n display: \"flex\",\n justifyContent: \"center\",\n position: \"relative\",\n },\n \"& .menuHeaderContainer\": {\n display: \"flex\",\n justifyContent: \"center\",\n },\n \"& .statusArrow\": {\n position: \"absolute\",\n left: \"50%\",\n top: \"50%\",\n transform: \"translateX(50%) translateY(20%)\",\n },\n },\n ...sx,\n };\n});\n\nconst VerticalMenu: FC = ({\n applicationLogo,\n options,\n displayGroupTitles,\n signOutAction,\n callPathAction,\n isOpen,\n collapseAction,\n currentPath,\n endComponent,\n middleComponent,\n sx,\n}) => {\n let currTitle = \"\";\n\n return (\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n {middleComponent}\n {options &&\n options.map((option) => {\n let extraItem = null;\n\n if (displayGroupTitles && option.group) {\n if (currTitle !== option.group) {\n currTitle = option.group;\n\n extraItem = ;\n }\n }\n\n const onClickAction = (path: string) => {\n if (option.onClick) {\n option.onClick(path);\n return;\n }\n\n callPathAction(path);\n };\n\n return (\n \n {extraItem}\n \n \n );\n })}\n {signOutAction && (\n \n {endComponent}\n \n }\n onClick={signOutAction}\n visibleTooltip={!isOpen}\n />\n \n )}\n \n \n \n );\n};\n\nexport default VerticalMenu;\n","// This file is part of MinIO Design System\n// Copyright (c) 2023 MinIO, Inc.\n//\n// This program is free software: you can redistribute it and/or modify\n// it under the terms of the GNU Affero General Public License as published by\n// the Free Software Foundation, either version 3 of the License, or\n// (at your option) any later version.\n//\n// This program is distributed in the hope that it will be useful,\n// but WITHOUT ANY WARRANTY; without even the implied warranty of\n// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n// GNU Affero General Public License for more details.\n//\n// You should have received a copy of the GNU Affero General Public License\n// along with this program. If not, see .\n\nimport React, { FC, Fragment } from \"react\";\nimport styled from \"styled-components\";\nimport get from \"lodash/get\";\nimport { MenuConstructProps, MenuProps } from \"../Menu.types\";\nimport { lightColors } from \"../../../global/themes\";\nimport Box from \"../../Box/Box\";\nimport ApplicationLogo from \"../../ApplicationLogo/ApplicationLogo\";\nimport Tooltip from \"../../Tooltip/Tooltip\";\nimport MinIOTierIconXs from \"../../Icons/MinIOTierIconXs\";\nimport MenuSectionHeader from \"../Vertical/MenuSectionHeader\";\nimport MenuItem from \"../Vertical/MenuItem\";\nimport LogoutIcon from \"../../Icons/LogoutIcon\";\nimport AlertCloseIcon from \"../../Icons/AlertCloseIcon\";\n\nconst MobileMenuContainer = styled.div(({ theme, sx }) => {\n return {\n width: \"100vw\",\n height: \"100vh\",\n overflow: \"auto\",\n position: \"fixed\",\n top: 0,\n left: 0,\n background: get(\n theme,\n \"menu.vertical.background\",\n lightColors.menuBackground,\n ),\n transitionDuration: \"0.3s\",\n \"& .menuContainer\": {\n height: \"inherit\",\n position: \"relative\",\n display: \"flex\",\n flexDirection: \"column\",\n \"& .collapseButton\": {\n position: \"absolute\",\n right: 15,\n top: 15,\n \"& > svg\": {\n width: 20,\n height: 20,\n fill: get(\n theme,\n \"menu.vertical.menuCollapseColor\",\n lightColors.menuCollapseColor,\n ),\n },\n },\n },\n \"& .menuLogoContainer\": {\n display: \"flex\",\n justifyContent: \"center\",\n position: \"relative\",\n margin: \"20px 30px 0\",\n \"& svg\": {\n width: 150,\n },\n },\n \"& .collapsedMenuHeader\": {\n display: \"none\",\n },\n \"& .menuItems\": {\n display: \"flex\",\n flexDirection: \"column\",\n flexGrow: 1,\n height: \"100%\",\n },\n \"& .menuHeaderContainer\": {\n cursor: \"pointer\",\n },\n ...sx,\n };\n});\n\nconst MobileMenuList: FC = ({\n applicationLogo,\n options,\n displayGroupTitles,\n signOutAction,\n callPathAction,\n collapseAction,\n currentPath,\n endComponent,\n}) => {\n let currTitle = \"\";\n\n return (\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n {options &&\n options.map((option) => {\n let extraItem = null;\n\n if (displayGroupTitles && option.group) {\n if (currTitle !== option.group) {\n currTitle = option.group;\n\n extraItem = ;\n }\n }\n\n const onClickAction = (path: string) => {\n if (option.onClick) {\n option.onClick(path);\n collapseAction();\n return;\n }\n\n callPathAction(path);\n collapseAction();\n };\n\n return (\n \n {extraItem}\n \n \n );\n })}\n {signOutAction && (\n \n {endComponent}\n \n }\n onClick={signOutAction}\n />\n \n )}\n \n \n \n );\n};\n\nexport default MobileMenuList;\n","// This file is part of MinIO Design System\n// Copyright (c) 2023 MinIO, Inc.\n//\n// This program is free software: you can redistribute it and/or modify\n// it under the terms of the GNU Affero General Public License as published by\n// the Free Software Foundation, either version 3 of the License, or\n// (at your option) any later version.\n//\n// This program is distributed in the hope that it will be useful,\n// but WITHOUT ANY WARRANTY; without even the implied warranty of\n// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n// GNU Affero General Public License for more details.\n//\n// You should have received a copy of the GNU Affero General Public License\n// along with this program. If not, see .\n\nimport React, { FC, Fragment, useState } from \"react\";\nimport styled from \"styled-components\";\nimport get from \"lodash/get\";\nimport { MenuConstructProps, MenuProps } from \"../Menu.types\";\nimport Box from \"../../Box/Box\";\nimport ApplicationLogo from \"../../ApplicationLogo/ApplicationLogo\";\nimport CollapseIcon from \"../../Icons/CollapseIcon\";\nimport IconButton from \"../../IconButton/IconButton\";\nimport MobileMenuList from \"./MobileMenuList\";\nimport { createPortal } from \"react-dom\";\nimport { lightColors } from \"../../../global/themes\";\n\nconst MobileMenuContainer = styled.div(({ theme, sx }) => {\n return {\n \"& .headerBar\": {\n padding: 15,\n display: \"flex\",\n justifyContent: \"space-between\",\n background: get(\n theme,\n \"menu.horizontal.menuHeaderBackground\",\n lightColors.menuBackground,\n ),\n alignItems: \"center\",\n \"& svg\": {\n width: 150,\n },\n },\n \"& .sections\": {\n backgroundColor: \"#ff0\",\n width: \"100%\",\n height: 45,\n display: \"flex\",\n overflowY: \"hidden\",\n overflowX: \"auto\",\n scrollbarWidth: \"none\",\n msOverflowStyle: \"none\",\n \"&::-webkit-scrollbar\": {\n width: 0,\n height: 0,\n },\n },\n ...sx,\n };\n});\n\nconst MobileMenu: FC = ({\n applicationLogo,\n options,\n displayGroupTitles,\n signOutAction,\n callPathAction,\n horizontal,\n currentPath,\n endComponent,\n sx,\n}) => {\n const [open, setOpen] = useState(false);\n\n return (\n \n \n \n \n {\n setOpen(true);\n }}\n >\n \n \n \n {horizontal && middleComponent}\n \n \n {open &&\n createPortal(\n {\n setOpen(false);\n }}\n signOutAction={signOutAction}\n displayGroupTitles={displayGroupTitles}\n currentPath={currentPath}\n endComponent={endComponent}\n />,\n document.body,\n )}\n \n );\n};\n\nexport default MobileMenu;\n","// This file is part of MinIO Design System\n// Copyright (c) 2023 MinIO, Inc.\n//\n// This program is free software: you can redistribute it and/or modify\n// it under the terms of the GNU Affero General Public License as published by\n// the Free Software Foundation, either version 3 of the License, or\n// (at your option) any later version.\n//\n// This program is distributed in the hope that it will be useful,\n// but WITHOUT ANY WARRANTY; without even the implied warranty of\n// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n// GNU Affero General Public License for more details.\n//\n// You should have received a copy of the GNU Affero General Public License\n// along with this program. If not, see .\n\nimport React, { FC, useEffect, useState } from \"react\";\nimport { MenuProps } from \"./Menu.types\";\nimport { breakPoints } from \"../../global/utils\";\nimport HorizontalMenu from \"./Horizontal/HorizontalMenu\";\nimport VerticalMenu from \"./Vertical/VerticalMenu\";\nimport MobileMenu from \"./MobileMenu/MobileMenu\";\nimport debounce from \"lodash/debounce\";\n\nconst Menu: FC = ({\n horizontal = false,\n mobileModeAuto = true,\n ...props\n}) => {\n const [mobileMode, setMobileMode] = useState(false);\n\n useEffect(() => {\n const scrollResize = debounce(() => {\n const windowWidth = document.documentElement.offsetWidth;\n\n setMobileMode(windowWidth <= breakPoints.md);\n }, 400);\n\n window.addEventListener(\"resize\", scrollResize);\n });\n\n if (mobileMode && mobileModeAuto) {\n return ;\n }\n\n if (horizontal) {\n return ;\n }\n\n return ;\n};\n\nexport default Menu;\n","// This file is part of MinIO Design System\n// Copyright (c) 2023 MinIO, Inc.\n//\n// This program is free software: you can redistribute it and/or modify\n// it under the terms of the GNU Affero General Public License as published by\n// the Free Software Foundation, either version 3 of the License, or\n// (at your option) any later version.\n//\n// This program is distributed in the hope that it will be useful,\n// but WITHOUT ANY WARRANTY; without even the implied warranty of\n// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n// GNU Affero General Public License for more details.\n//\n// You should have received a copy of the GNU Affero General Public License\n// along with this program. If not, see .\n\nimport React, { FC } from \"react\";\nimport styled from \"styled-components\";\nimport get from \"lodash/get\";\nimport {\n ConstructExpandOptionsProps,\n ExpandOptionsButtonProps,\n} from \"./ExpandOptionsButton.types\";\nimport CollapseCaret from \"../Icons/CollapseCaret\";\nimport ExpandCaret from \"../Icons/ExpandCaret\";\nimport { lightColors } from \"../../global/themes\";\n\nconst ExpandButtonBase = styled.button(\n ({ sx, theme }) => ({\n display: \"flex\",\n cursor: \"pointer\",\n alignItems: \"center\",\n backgroundColor: \"transparent\",\n borderRadius: 3,\n padding: 5,\n height: 10,\n fontSize: 10,\n border: \"none\",\n color: get(theme, \"buttons.regular.enabled.text\", lightColors.mainGrey),\n \"& svg\": {\n width: 16,\n height: 16,\n },\n \"&:hover\": {\n color: get(theme, \"buttons.regular.hover.text\", lightColors.mainGrey),\n backgroundColor: get(\n theme,\n \"buttons.regular.hover.background\",\n lightColors.hoverGrey,\n ),\n },\n \"&:active\": {\n color: get(theme, \"buttons.regular.pressed.text\", lightColors.mainGrey),\n backgroundColor: get(\n theme,\n \"buttons.regular.pressed.background\",\n lightColors.pressedGrey,\n ),\n },\n \"&:disabled\": {\n color: get(\n theme,\n \"buttons.regular.disabled.text\",\n lightColors.disabledInnerGrey,\n ),\n backgroundColor: \"transparent\",\n cursor: \"not-allowed\",\n },\n ...sx,\n }),\n);\n\nconst ExpandOptionsButton: FC<\n ExpandOptionsButtonProps & React.ButtonHTMLAttributes\n> = ({ open, label, sx, ...props }) => {\n return (\n \n {label}\n {open ? : }\n \n );\n};\n\nexport default ExpandOptionsButton;\n","// This file is part of MinIO Design System\n// Copyright (c) 2023 MinIO, Inc.\n//\n// This program is free software: you can redistribute it and/or modify\n// it under the terms of the GNU Affero General Public License as published by\n// the Free Software Foundation, either version 3 of the License, or\n// (at your option) any later version.\n//\n// This program is distributed in the hope that it will be useful,\n// but WITHOUT ANY WARRANTY; without even the implied warranty of\n// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n// GNU Affero General Public License for more details.\n//\n// You should have received a copy of the GNU Affero General Public License\n// along with this program. If not, see .\n\nimport React, { FC } from \"react\";\nimport Box from \"../Box/Box\";\nimport { TabPanelProps } from \"./Tabs.types\";\n\nconst TabPanel: FC = ({\n selectedTab,\n useRouteTabs,\n id,\n children,\n}) => {\n if (!useRouteTabs && selectedTab !== id) {\n return null;\n }\n\n return {children};\n};\n\nexport default TabPanel;\n","// This file is part of MinIO Design System\n// Copyright (c) 2023 MinIO, Inc.\n//\n// This program is free software: you can redistribute it and/or modify\n// it under the terms of the GNU Affero General Public License as published by\n// the Free Software Foundation, either version 3 of the License, or\n// (at your option) any later version.\n//\n// This program is distributed in the hope that it will be useful,\n// but WITHOUT ANY WARRANTY; without even the implied warranty of\n// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n// GNU Affero General Public License for more details.\n//\n// You should have received a copy of the GNU Affero General Public License\n// along with this program. If not, see .\n\nimport React, { FC } from \"react\";\nimport styled from \"styled-components\";\nimport get from \"lodash/get\";\nimport { TabButtonConstructProps, TabButtonProps } from \"./Tabs.types\";\nimport { lightColors } from \"../../global/themes\";\n\nconst TabButtonBase = styled.button(\n ({ theme, horizontal }) => ({\n cursor: \"pointer\",\n display: \"flex\",\n alignItems: \"center\",\n justifyContent: \"flex-start\",\n gap: 10,\n height: horizontal ? 50 : 60,\n width: horizontal ? \"auto\" : 255,\n padding: \"0 16px\",\n border: \"none\",\n fontSize: 14,\n fontWeight: horizontal ? \"bold\" : \"inherit\",\n backgroundColor: horizontal\n ? get(theme, \"tabs.horizontal.buttons.backgroundColor\", \"transparent\")\n : get(\n theme,\n \"tabs.vertical.buttons.backgroundColor\",\n lightColors.iconButtonBG,\n ),\n color: horizontal\n ? get(theme, \"tabs.horizontal.buttons.labelColor\", lightColors.mainGrey)\n : get(theme, \"tabs.vertical.buttons.labelColor\", lightColors.mainGrey),\n borderBottom: horizontal\n ? \"transparent 2px solid\"\n : `${get(\n theme,\n \"tabs.vertical.borders\",\n lightColors.tabBorder,\n )} 1px solid`,\n \"&:hover\": {\n backgroundColor: horizontal\n ? get(theme, \"tabs.horizontal.buttons.backgroundColor\", \"transparent\")\n : get(theme, \"tabs.vertical.buttons.hoverBackground\", \"transparent\"),\n color: horizontal\n ? get(\n theme,\n \"tabs.horizontal.buttons.hoverLabelColor\",\n lightColors.mainBlue,\n )\n : get(\n theme,\n \"tabs.vertical.buttons.hoverLabelColor\",\n lightColors.mainBlue,\n ),\n },\n \"&:disabled\": {\n cursor: \"not-allowed\",\n backgroundColor: horizontal\n ? get(theme, \"tabs.horizontal.buttons.backgroundColor\", \"transparent\")\n : get(\n theme,\n \"tabs.vertical.buttons.disabledBackgroundColor\",\n lightColors.disabledBGGrey,\n ),\n color: horizontal\n ? get(\n theme,\n \"tabs.horizontal.buttons.disabledColor\",\n lightColors.disabledInnerGrey,\n )\n : get(\n theme,\n \"tabs.vertical.buttons.disabledColor\",\n lightColors.disabledInnerGrey,\n ),\n },\n \"& svg\": {\n width: 18,\n height: 18,\n },\n \"&.selected\": {\n fontWeight: \"bold\",\n backgroundColor: horizontal\n ? get(theme, \"tabs.horizontal.buttons.backgroundColor\", \"transparent\")\n : get(\n theme,\n \"tabs.vertical.buttons.selectedBackground\",\n lightColors.headerBorder,\n ),\n color: horizontal\n ? get(\n theme,\n \"tabs.horizontal.buttons.selectedLabelColor\",\n lightColors.mainBlue,\n )\n : get(\n theme,\n \"tabs.vertical.buttons.selectedLabelColor\",\n lightColors.mainBlue,\n ),\n borderBottom: horizontal\n ? `${get(\n theme,\n \"tabs.horizontal.selectedIndicatorColor\",\n lightColors.mainBlue,\n )} 2px solid`\n : `${get(\n theme,\n \"tabs.vertical.borders\",\n lightColors.tabBorder,\n )} 1px solid`,\n },\n }),\n);\n\nconst TabButton: FC = ({\n horizontal,\n id,\n onClick,\n label,\n disabled,\n icon,\n selected,\n}) => {\n return (\n onClick()}\n disabled={disabled}\n className={`${selected ? \"selected\" : \"\"}`}\n >\n {icon}\n {label}\n \n );\n};\n\nexport default TabButton;\n","// This file is part of MinIO Design System\n// Copyright (c) 2023 MinIO, Inc.\n//\n// This program is free software: you can redistribute it and/or modify\n// it under the terms of the GNU Affero General Public License as published by\n// the Free Software Foundation, either version 3 of the License, or\n// (at your option) any later version.\n//\n// This program is distributed in the hope that it will be useful,\n// but WITHOUT ANY WARRANTY; without even the implied warranty of\n// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n// GNU Affero General Public License for more details.\n//\n// You should have received a copy of the GNU Affero General Public License\n// along with this program. If not, see .\n\nimport React, { FC } from \"react\";\nimport styled from \"styled-components\";\nimport get from \"lodash/get\";\nimport { TabsContainerProps, TabsProps } from \"./Tabs.types\";\nimport { lightColors } from \"../../global/themes\";\nimport Box from \"../Box/Box\";\nimport TabPanel from \"./TabPanel\";\nimport TabButton from \"./TabButton\";\n\nconst TabsContainer = styled.div(\n ({ theme, horizontal, horizontalBarBackground, sx }) => {\n let horizontalBG = horizontalBarBackground\n ? get(theme, \"tabs.horizontal.backgroundColor\", \"transparent\")\n : \"transparent\";\n\n return {\n display: \"flex\",\n flexDirection: horizontal ? \"column\" : \"row\",\n height: \"100%\",\n \"& .optionsContainer\": {\n display: \"flex\",\n border: horizontal\n ? \"none\"\n : `${get(\n theme,\n \"tabs.vertical.borders\",\n lightColors.tabBorder,\n )} 1px solid`,\n borderBottom: horizontal\n ? `${get(theme, \"borderColor\", lightColors.borderColor)} 1px solid`\n : `${get(\n theme,\n \"tabs.vertical.borders\",\n lightColors.tabBorder,\n )} 1px solid`,\n backgroundColor: horizontal\n ? horizontalBG\n : get(\n theme,\n \"tabs.vertical.backgroundColor\",\n lightColors.iconButtonBG,\n ),\n width: horizontal ? \"100%\" : \"auto\",\n alignItems: horizontal ? \"center\" : \"flex-start\",\n gap: 10,\n \"& .optionsList\": {\n display: \"flex\",\n flexDirection: horizontal ? \"row\" : \"column\",\n flexGrow: 1,\n width: horizontal ? \"100%\" : \"auto\",\n },\n },\n \"& .tabsPanels\": {\n flexGrow: 1,\n width: \"100%\",\n padding: 15,\n border: horizontal\n ? \"none\"\n : `${get(\n theme,\n \"tabs.vertical.borders\",\n lightColors.tabBorder,\n )} 1px solid`,\n borderLeft: \"none\",\n },\n ...sx,\n };\n },\n);\n\nconst Tabs: FC = ({\n horizontal,\n options,\n currentTabOrPath,\n useRouteTabs = false,\n routes,\n onTabClick,\n optionsInitialComponent,\n optionsEndComponent,\n horizontalBarBackground,\n sx,\n}) => {\n return (\n \n \n {optionsInitialComponent && {optionsInitialComponent}}\n \n {options.map((item, index) => {\n if (item) {\n return (\n {\n onTabClick(\n useRouteTabs\n ? item.tabConfig.to || \"\"\n : item.tabConfig.id,\n );\n }}\n horizontal={!!horizontal}\n label={item.tabConfig.label}\n disabled={!!item.tabConfig.disabled}\n icon={item.tabConfig.icon}\n selected={\n useRouteTabs\n ? item.tabConfig.to === currentTabOrPath\n : item.tabConfig.id === currentTabOrPath\n }\n />\n );\n }\n return null;\n })}\n \n {optionsEndComponent && {optionsEndComponent}}\n \n \n {!useRouteTabs ? (\n options.map((item, index) => {\n if (item.tabConfig.disabled) {\n return null;\n }\n\n return (\n \n {item ? item.content : null}\n \n );\n })\n ) : (\n \n {routes}\n \n )}\n \n \n );\n};\n\nexport default Tabs;\n","function _extends() {\n return module.exports = _extends = Object.assign ? Object.assign.bind() : function (n) {\n for (var e = 1; e < arguments.length; e++) {\n var t = arguments[e];\n for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]);\n }\n return n;\n }, module.exports.__esModule = true, module.exports[\"default\"] = module.exports, _extends.apply(null, arguments);\n}\nmodule.exports = _extends, module.exports.__esModule = true, module.exports[\"default\"] = module.exports;","function _objectWithoutPropertiesLoose(r, e) {\n if (null == r) return {};\n var t = {};\n for (var n in r) if ({}.hasOwnProperty.call(r, n)) {\n if (e.includes(n)) continue;\n t[n] = r[n];\n }\n return t;\n}\nmodule.exports = _objectWithoutPropertiesLoose, module.exports.__esModule = true, module.exports[\"default\"] = module.exports;","/**\n * @typedef {import('./info.js').Info} Info\n * @typedef {Record} Properties\n * @typedef {Record} Normal\n */\n\nexport class Schema {\n /**\n * @constructor\n * @param {Properties} property\n * @param {Normal} normal\n * @param {string} [space]\n */\n constructor(property, normal, space) {\n this.property = property\n this.normal = normal\n if (space) {\n this.space = space\n }\n }\n}\n\n/** @type {Properties} */\nSchema.prototype.property = {}\n/** @type {Normal} */\nSchema.prototype.normal = {}\n/** @type {string|null} */\nSchema.prototype.space = null\n","/**\n * @typedef {import('./schema.js').Properties} Properties\n * @typedef {import('./schema.js').Normal} Normal\n */\n\nimport {Schema} from './schema.js'\n\n/**\n * @param {Schema[]} definitions\n * @param {string} [space]\n * @returns {Schema}\n */\nexport function merge(definitions, space) {\n /** @type {Properties} */\n const property = {}\n /** @type {Normal} */\n const normal = {}\n let index = -1\n\n while (++index < definitions.length) {\n Object.assign(property, definitions[index].property)\n Object.assign(normal, definitions[index].normal)\n }\n\n return new Schema(property, normal, space)\n}\n","/**\n * @param {string} value\n * @returns {string}\n */\nexport function normalize(value) {\n return value.toLowerCase()\n}\n","export class Info {\n /**\n * @constructor\n * @param {string} property\n * @param {string} attribute\n */\n constructor(property, attribute) {\n /** @type {string} */\n this.property = property\n /** @type {string} */\n this.attribute = attribute\n }\n}\n\n/** @type {string|null} */\nInfo.prototype.space = null\nInfo.prototype.boolean = false\nInfo.prototype.booleanish = false\nInfo.prototype.overloadedBoolean = false\nInfo.prototype.number = false\nInfo.prototype.commaSeparated = false\nInfo.prototype.spaceSeparated = false\nInfo.prototype.commaOrSpaceSeparated = false\nInfo.prototype.mustUseProperty = false\nInfo.prototype.defined = false\n","let powers = 0\n\nexport const boolean = increment()\nexport const booleanish = increment()\nexport const overloadedBoolean = increment()\nexport const number = increment()\nexport const spaceSeparated = increment()\nexport const commaSeparated = increment()\nexport const commaOrSpaceSeparated = increment()\n\nfunction increment() {\n return 2 ** ++powers\n}\n","import {Info} from './info.js'\nimport * as types from './types.js'\n\n/** @type {Array} */\n// @ts-expect-error: hush.\nconst checks = Object.keys(types)\n\nexport class DefinedInfo extends Info {\n /**\n * @constructor\n * @param {string} property\n * @param {string} attribute\n * @param {number|null} [mask]\n * @param {string} [space]\n */\n constructor(property, attribute, mask, space) {\n let index = -1\n\n super(property, attribute)\n\n mark(this, 'space', space)\n\n if (typeof mask === 'number') {\n while (++index < checks.length) {\n const check = checks[index]\n mark(this, checks[index], (mask & types[check]) === types[check])\n }\n }\n }\n}\n\nDefinedInfo.prototype.defined = true\n\n/**\n * @param {DefinedInfo} values\n * @param {string} key\n * @param {unknown} value\n */\nfunction mark(values, key, value) {\n if (value) {\n // @ts-expect-error: assume `value` matches the expected value of `key`.\n values[key] = value\n }\n}\n","/**\n * @typedef {import('./schema.js').Properties} Properties\n * @typedef {import('./schema.js').Normal} Normal\n *\n * @typedef {Record} Attributes\n *\n * @typedef {Object} Definition\n * @property {Record} properties\n * @property {(attributes: Attributes, property: string) => string} transform\n * @property {string} [space]\n * @property {Attributes} [attributes]\n * @property {Array} [mustUseProperty]\n */\n\nimport {normalize} from '../normalize.js'\nimport {Schema} from './schema.js'\nimport {DefinedInfo} from './defined-info.js'\n\nconst own = {}.hasOwnProperty\n\n/**\n * @param {Definition} definition\n * @returns {Schema}\n */\nexport function create(definition) {\n /** @type {Properties} */\n const property = {}\n /** @type {Normal} */\n const normal = {}\n /** @type {string} */\n let prop\n\n for (prop in definition.properties) {\n if (own.call(definition.properties, prop)) {\n const value = definition.properties[prop]\n const info = new DefinedInfo(\n prop,\n definition.transform(definition.attributes || {}, prop),\n value,\n definition.space\n )\n\n if (\n definition.mustUseProperty &&\n definition.mustUseProperty.includes(prop)\n ) {\n info.mustUseProperty = true\n }\n\n property[prop] = info\n\n normal[normalize(prop)] = prop\n normal[normalize(info.attribute)] = prop\n }\n }\n\n return new Schema(property, normal, definition.space)\n}\n","import {create} from './util/create.js'\n\nexport const xlink = create({\n space: 'xlink',\n transform(_, prop) {\n return 'xlink:' + prop.slice(5).toLowerCase()\n },\n properties: {\n xLinkActuate: null,\n xLinkArcRole: null,\n xLinkHref: null,\n xLinkRole: null,\n xLinkShow: null,\n xLinkTitle: null,\n xLinkType: null\n }\n})\n","import {create} from './util/create.js'\n\nexport const xml = create({\n space: 'xml',\n transform(_, prop) {\n return 'xml:' + prop.slice(3).toLowerCase()\n },\n properties: {xmlLang: null, xmlBase: null, xmlSpace: null}\n})\n","/**\n * @param {Record} attributes\n * @param {string} attribute\n * @returns {string}\n */\nexport function caseSensitiveTransform(attributes, attribute) {\n return attribute in attributes ? attributes[attribute] : attribute\n}\n","import {caseSensitiveTransform} from './case-sensitive-transform.js'\n\n/**\n * @param {Record} attributes\n * @param {string} property\n * @returns {string}\n */\nexport function caseInsensitiveTransform(attributes, property) {\n return caseSensitiveTransform(attributes, property.toLowerCase())\n}\n","import {create} from './util/create.js'\nimport {caseInsensitiveTransform} from './util/case-insensitive-transform.js'\n\nexport const xmlns = create({\n space: 'xmlns',\n attributes: {xmlnsxlink: 'xmlns:xlink'},\n transform: caseInsensitiveTransform,\n properties: {xmlns: null, xmlnsXLink: null}\n})\n","import {booleanish, number, spaceSeparated} from './util/types.js'\nimport {create} from './util/create.js'\n\nexport const aria = create({\n transform(_, prop) {\n return prop === 'role' ? prop : 'aria-' + prop.slice(4).toLowerCase()\n },\n properties: {\n ariaActiveDescendant: null,\n ariaAtomic: booleanish,\n ariaAutoComplete: null,\n ariaBusy: booleanish,\n ariaChecked: booleanish,\n ariaColCount: number,\n ariaColIndex: number,\n ariaColSpan: number,\n ariaControls: spaceSeparated,\n ariaCurrent: null,\n ariaDescribedBy: spaceSeparated,\n ariaDetails: null,\n ariaDisabled: booleanish,\n ariaDropEffect: spaceSeparated,\n ariaErrorMessage: null,\n ariaExpanded: booleanish,\n ariaFlowTo: spaceSeparated,\n ariaGrabbed: booleanish,\n ariaHasPopup: null,\n ariaHidden: booleanish,\n ariaInvalid: null,\n ariaKeyShortcuts: null,\n ariaLabel: null,\n ariaLabelledBy: spaceSeparated,\n ariaLevel: number,\n ariaLive: null,\n ariaModal: booleanish,\n ariaMultiLine: booleanish,\n ariaMultiSelectable: booleanish,\n ariaOrientation: null,\n ariaOwns: spaceSeparated,\n ariaPlaceholder: null,\n ariaPosInSet: number,\n ariaPressed: booleanish,\n ariaReadOnly: booleanish,\n ariaRelevant: null,\n ariaRequired: booleanish,\n ariaRoleDescription: spaceSeparated,\n ariaRowCount: number,\n ariaRowIndex: number,\n ariaRowSpan: number,\n ariaSelected: booleanish,\n ariaSetSize: number,\n ariaSort: null,\n ariaValueMax: number,\n ariaValueMin: number,\n ariaValueNow: number,\n ariaValueText: null,\n role: null\n }\n})\n","import {\n boolean,\n overloadedBoolean,\n booleanish,\n number,\n spaceSeparated,\n commaSeparated\n} from './util/types.js'\nimport {create} from './util/create.js'\nimport {caseInsensitiveTransform} from './util/case-insensitive-transform.js'\n\nexport const html = create({\n space: 'html',\n attributes: {\n acceptcharset: 'accept-charset',\n classname: 'class',\n htmlfor: 'for',\n httpequiv: 'http-equiv'\n },\n transform: caseInsensitiveTransform,\n mustUseProperty: ['checked', 'multiple', 'muted', 'selected'],\n properties: {\n // Standard Properties.\n abbr: null,\n accept: commaSeparated,\n acceptCharset: spaceSeparated,\n accessKey: spaceSeparated,\n action: null,\n allow: null,\n allowFullScreen: boolean,\n allowPaymentRequest: boolean,\n allowUserMedia: boolean,\n alt: null,\n as: null,\n async: boolean,\n autoCapitalize: null,\n autoComplete: spaceSeparated,\n autoFocus: boolean,\n autoPlay: boolean,\n blocking: spaceSeparated,\n capture: null,\n charSet: null,\n checked: boolean,\n cite: null,\n className: spaceSeparated,\n cols: number,\n colSpan: null,\n content: null,\n contentEditable: booleanish,\n controls: boolean,\n controlsList: spaceSeparated,\n coords: number | commaSeparated,\n crossOrigin: null,\n data: null,\n dateTime: null,\n decoding: null,\n default: boolean,\n defer: boolean,\n dir: null,\n dirName: null,\n disabled: boolean,\n download: overloadedBoolean,\n draggable: booleanish,\n encType: null,\n enterKeyHint: null,\n fetchPriority: null,\n form: null,\n formAction: null,\n formEncType: null,\n formMethod: null,\n formNoValidate: boolean,\n formTarget: null,\n headers: spaceSeparated,\n height: number,\n hidden: boolean,\n high: number,\n href: null,\n hrefLang: null,\n htmlFor: spaceSeparated,\n httpEquiv: spaceSeparated,\n id: null,\n imageSizes: null,\n imageSrcSet: null,\n inert: boolean,\n inputMode: null,\n integrity: null,\n is: null,\n isMap: boolean,\n itemId: null,\n itemProp: spaceSeparated,\n itemRef: spaceSeparated,\n itemScope: boolean,\n itemType: spaceSeparated,\n kind: null,\n label: null,\n lang: null,\n language: null,\n list: null,\n loading: null,\n loop: boolean,\n low: number,\n manifest: null,\n max: null,\n maxLength: number,\n media: null,\n method: null,\n min: null,\n minLength: number,\n multiple: boolean,\n muted: boolean,\n name: null,\n nonce: null,\n noModule: boolean,\n noValidate: boolean,\n onAbort: null,\n onAfterPrint: null,\n onAuxClick: null,\n onBeforeMatch: null,\n onBeforePrint: null,\n onBeforeToggle: null,\n onBeforeUnload: null,\n onBlur: null,\n onCancel: null,\n onCanPlay: null,\n onCanPlayThrough: null,\n onChange: null,\n onClick: null,\n onClose: null,\n onContextLost: null,\n onContextMenu: null,\n onContextRestored: null,\n onCopy: null,\n onCueChange: null,\n onCut: null,\n onDblClick: null,\n onDrag: null,\n onDragEnd: null,\n onDragEnter: null,\n onDragExit: null,\n onDragLeave: null,\n onDragOver: null,\n onDragStart: null,\n onDrop: null,\n onDurationChange: null,\n onEmptied: null,\n onEnded: null,\n onError: null,\n onFocus: null,\n onFormData: null,\n onHashChange: null,\n onInput: null,\n onInvalid: null,\n onKeyDown: null,\n onKeyPress: null,\n onKeyUp: null,\n onLanguageChange: null,\n onLoad: null,\n onLoadedData: null,\n onLoadedMetadata: null,\n onLoadEnd: null,\n onLoadStart: null,\n onMessage: null,\n onMessageError: null,\n onMouseDown: null,\n onMouseEnter: null,\n onMouseLeave: null,\n onMouseMove: null,\n onMouseOut: null,\n onMouseOver: null,\n onMouseUp: null,\n onOffline: null,\n onOnline: null,\n onPageHide: null,\n onPageShow: null,\n onPaste: null,\n onPause: null,\n onPlay: null,\n onPlaying: null,\n onPopState: null,\n onProgress: null,\n onRateChange: null,\n onRejectionHandled: null,\n onReset: null,\n onResize: null,\n onScroll: null,\n onScrollEnd: null,\n onSecurityPolicyViolation: null,\n onSeeked: null,\n onSeeking: null,\n onSelect: null,\n onSlotChange: null,\n onStalled: null,\n onStorage: null,\n onSubmit: null,\n onSuspend: null,\n onTimeUpdate: null,\n onToggle: null,\n onUnhandledRejection: null,\n onUnload: null,\n onVolumeChange: null,\n onWaiting: null,\n onWheel: null,\n open: boolean,\n optimum: number,\n pattern: null,\n ping: spaceSeparated,\n placeholder: null,\n playsInline: boolean,\n popover: null,\n popoverTarget: null,\n popoverTargetAction: null,\n poster: null,\n preload: null,\n readOnly: boolean,\n referrerPolicy: null,\n rel: spaceSeparated,\n required: boolean,\n reversed: boolean,\n rows: number,\n rowSpan: number,\n sandbox: spaceSeparated,\n scope: null,\n scoped: boolean,\n seamless: boolean,\n selected: boolean,\n shadowRootClonable: boolean,\n shadowRootDelegatesFocus: boolean,\n shadowRootMode: null,\n shape: null,\n size: number,\n sizes: null,\n slot: null,\n span: number,\n spellCheck: booleanish,\n src: null,\n srcDoc: null,\n srcLang: null,\n srcSet: null,\n start: number,\n step: null,\n style: null,\n tabIndex: number,\n target: null,\n title: null,\n translate: null,\n type: null,\n typeMustMatch: boolean,\n useMap: null,\n value: booleanish,\n width: number,\n wrap: null,\n writingSuggestions: null,\n\n // Legacy.\n // See: https://html.spec.whatwg.org/#other-elements,-attributes-and-apis\n align: null, // Several. Use CSS `text-align` instead,\n aLink: null, // ``. Use CSS `a:active {color}` instead\n archive: spaceSeparated, // ``. List of URIs to archives\n axis: null, // `` and ``. Use `scope` on ``\n background: null, // ``. Use CSS `background-image` instead\n bgColor: null, // `` and table elements. Use CSS `background-color` instead\n border: number, // ``. Use CSS `border-width` instead,\n borderColor: null, // `
`. Use CSS `border-color` instead,\n bottomMargin: number, // ``\n cellPadding: null, // `
`\n cellSpacing: null, // `
`\n char: null, // Several table elements. When `align=char`, sets the character to align on\n charOff: null, // Several table elements. When `char`, offsets the alignment\n classId: null, // ``\n clear: null, // `
`. Use CSS `clear` instead\n code: null, // ``\n codeBase: null, // ``\n codeType: null, // ``\n color: null, // `` and `
`. Use CSS instead\n compact: boolean, // Lists. Use CSS to reduce space between items instead\n declare: boolean, // ``\n event: null, // `