@sheetxl/studio-mui 0.7.9 → 0.7.10

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (37) hide show
  1. package/browser/cjs/{pLwzHJC2rMpMNlmN.cjs → B-dxazW1OuNBcp02.cjs} +1 -1
  2. package/browser/cjs/{DWCZwMHAmHr_6pOv.cjs → B-utsUoR4zuLaAhd.cjs} +2 -2
  3. package/browser/cjs/{Cf-kkPm1FigHKB2n.cjs → B_eAGdji8Nx5J9T4.cjs} +2 -2
  4. package/browser/cjs/{DA9XIw3uWopubSOm.cjs → BwTLuy_PnmJor7W8.cjs} +2 -2
  5. package/browser/cjs/{C_USiuvDG2dfWtXj.cjs → CcXAFa-nlR_hdzWz.cjs} +11 -11
  6. package/browser/cjs/{T7VT7LHcSGCG0nHe.cjs → CqZdJyYmTYFrQaQ2.cjs} +2 -2
  7. package/browser/cjs/{DQupeVKF6A0l_r2_.cjs → DLnPNypHwR15SmCU.cjs} +1 -1
  8. package/browser/cjs/{Bm-7dNP3FmSD8RKB.cjs → DZBKNuFYEUx6Effx.cjs} +1 -1
  9. package/browser/cjs/{1SqZN5MQ5PzAcIvC.cjs → DiR8AzQV9os4ZYk0.cjs} +7 -7
  10. package/browser/cjs/index.cjs +2 -2
  11. package/browser/cjs/{BBYVAwo4ouiMmtKC.cjs → mMBBa38sCpWqbAas.cjs} +1 -1
  12. package/browser/cjs/{D1OaqRgNJbMQkAd5.cjs → pVcTsL-TasyB4b2-.cjs} +1 -1
  13. package/browser/esm/{DTxgrQXbG3N9lW1K.mjs → 8BoSui-509azp4_T.mjs} +2 -2
  14. package/browser/esm/{YpJtXAhMACxtW1Rk.mjs → BcD_hjx3QUJ3mxc9.mjs} +2 -2
  15. package/browser/esm/{BkLdZhD76b4clcIe.mjs → BcUbD_6hNdscDPHH.mjs} +212 -208
  16. package/browser/esm/{vrN0FWxqEeg1-vWU.mjs → BfjN2uCTh7d2HrDp.mjs} +1 -1
  17. package/browser/esm/{DV6MYPn_wgUytG9p.mjs → BobeGilMvc-Tjglo.mjs} +1 -1
  18. package/browser/esm/{8ySqzQ-18kdZCc_T.mjs → C6PORxVVmatRwpCK.mjs} +1 -1
  19. package/browser/esm/{CusJChXpaPfoicnm.mjs → CFbMYRxhxMq4XxOa.mjs} +2 -2
  20. package/browser/esm/{DLRGvvkeHamosHqQ.mjs → D5Y0kqk4q5sYYCML.mjs} +378 -372
  21. package/browser/esm/{CrxCbPC8OsPYiu18.mjs → DG5wukgrtP5snHCG.mjs} +1 -1
  22. package/browser/esm/{DeBXIHYAvBBDeuyl.mjs → DcO8rsG2l9PJNAV1.mjs} +1 -1
  23. package/browser/esm/{Bx_qMvcXcJ9rsRW0.mjs → DdvY0bLbK9TT-rIs.mjs} +2 -2
  24. package/browser/esm/index.mjs +43 -41
  25. package/licenses/dependencies.txt +139 -139
  26. package/node/esm/{CrfdSYnd6drqE5fB.mjs → BNBkIeEbORFqf5jQ.mjs} +1 -1
  27. package/node/esm/{CN31EL9Soh-9w3jF.mjs → CEDKrfqPSMDT9wZY.mjs} +1 -1
  28. package/node/esm/{DIXy8ZVj_kaaOwIJ.mjs → Ck5obwB4YN3EaFYQ.mjs} +1 -1
  29. package/node/esm/{jsycByMMbwMZibUQ.mjs → CqmV-z1wjbh8jIia.mjs} +42 -38
  30. package/node/esm/{BVjsplqVie80wjNf.mjs → DBwzi9m6T7hDldM4.mjs} +1 -1
  31. package/node/esm/{4Woq8PA_nHBBWJE_.mjs → DHpIxaLHKL41gA1f.mjs} +1 -1
  32. package/node/esm/{Cglez5pr5a5RTdHS.mjs → DTNMbcRmISndj_SS.mjs} +1 -1
  33. package/node/esm/{BxpSw5aPIr7UXKbB.mjs → DXwKau3GlIioZkFC.mjs} +1 -1
  34. package/node/esm/index.mjs +123 -117
  35. package/node/esm/{DAMa-CbdXO0XKKam.mjs → l8mcLBezFW9dkg5N.mjs} +1 -1
  36. package/package.json +8 -8
  37. package/types/index.d.ts +6 -0
@@ -1,14 +1,14 @@
1
- import { jsxs as Me, jsx as G } from "react/jsx-runtime";
2
- import { Box as se, TextField as qt, InputAdornment as $t, IconButton as Xt, FormControlLabel as Yt, Checkbox as Jt, Typography as Zt, TableCell as Le, DialogContent as Qt } from "@mui/material";
3
- import { KeyCodes as pt, DynamicIcon as eo } from "@sheetxl/utils-react";
1
+ import { jsxs as we, jsx as G } from "react/jsx-runtime";
2
+ import { Box as se, TextField as $t, InputAdornment as Xt, IconButton as Yt, FormControlLabel as Jt, Checkbox as Zt, Typography as Qt, TableCell as Le, DialogContent as eo } from "@mui/material";
3
+ import { KeyCodes as pt, DynamicIcon as mt } from "@sheetxl/utils-react";
4
4
  import { toShortcutElements as to, InternalWindow as oo } from "@sheetxl/utils-mui";
5
5
  import * as C from "react";
6
- import mt, { cloneElement as no, useState as ae, useMemo as ro, useEffect as Ge } from "react";
7
- import { _ as io, a as N, b as U, d as lo, e as ge } from "./DLRGvvkeHamosHqQ.mjs";
6
+ import gt, { cloneElement as no, useState as ae, useMemo as ro, useEffect as Ge } from "react";
7
+ import { _ as io, a as N, b as U, d as lo, e as ge } from "./D5Y0kqk4q5sYYCML.mjs";
8
8
  import { alpha as ce, getOverlayAlpha as de, styled as so } from "@mui/material/styles";
9
9
  import { CommonUtils as ao } from "@sheetxl/utils";
10
10
  /**
11
- * @license @sheetxl/studio-mui - Studio - Spreadsheet UI built with SheetXL SDK using React & MUI. - v0.7.9
11
+ * @license @sheetxl/studio-mui - Studio - Spreadsheet UI built with SheetXL SDK using React & MUI. - v0.7.10
12
12
  *
13
13
  * (C) 2025-present SheetXL Inc. & Michael T. Ford
14
14
  * License: The license can be found at https://www.sheetxl.com/license.
@@ -23,7 +23,7 @@ function K(n) {
23
23
  return e && typeof Symbol == "function" && e.constructor === Symbol && e !== Symbol.prototype ? "symbol" : typeof e;
24
24
  }, K(n);
25
25
  }
26
- function gt(n) {
26
+ function vt(n) {
27
27
  var e = (function(t, o) {
28
28
  if (K(t) != "object" || !t) return t;
29
29
  var r = t[Symbol.toPrimitive];
@@ -39,7 +39,7 @@ function gt(n) {
39
39
  function Ae(n, e) {
40
40
  for (var t = 0; t < e.length; t++) {
41
41
  var o = e[t];
42
- o.enumerable = o.enumerable || !1, o.configurable = !0, "value" in o && (o.writable = !0), Object.defineProperty(n, gt(o.key), o);
42
+ o.enumerable = o.enumerable || !1, o.configurable = !0, "value" in o && (o.writable = !0), Object.defineProperty(n, vt(o.key), o);
43
43
  }
44
44
  }
45
45
  function L(n, e, t) {
@@ -58,24 +58,24 @@ function T(n) {
58
58
  return e.__proto__ || Object.getPrototypeOf(e);
59
59
  }, T(n);
60
60
  }
61
- function H(n, e) {
61
+ function D(n, e) {
62
62
  if (typeof e != "function" && e !== null) throw new TypeError("Super expression must either be null or a function");
63
63
  n.prototype = Object.create(e && e.prototype, { constructor: { value: n, writable: !0, configurable: !0 } }), Object.defineProperty(n, "prototype", { writable: !1 }), e && io(n, e);
64
64
  }
65
65
  function p(n, e, t) {
66
- return (e = gt(e)) in n ? Object.defineProperty(n, e, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : n[e] = t, n;
66
+ return (e = vt(e)) in n ? Object.defineProperty(n, e, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : n[e] = t, n;
67
67
  }
68
- function vt() {
68
+ function _t() {
69
69
  var n = this.constructor.getDerivedStateFromProps(this.props, this.state);
70
70
  n != null && this.setState(n);
71
71
  }
72
- function _t(n) {
72
+ function St(n) {
73
73
  this.setState(function(e) {
74
74
  var t = this.constructor.getDerivedStateFromProps(n, e);
75
75
  return t ?? null;
76
76
  }.bind(this));
77
77
  }
78
- function St(n, e) {
78
+ function yt(n, e) {
79
79
  try {
80
80
  var t = this.props, o = this.state;
81
81
  this.props = n, this.state = e, this.__reactInternalSnapshotFlag = !0, this.__reactInternalSnapshot = this.getSnapshotBeforeUpdate(t, o);
@@ -100,9 +100,9 @@ function le(n) {
100
100
  The above lifecycles should be removed. Learn more about this warning here:
101
101
  https://fb.me/react-async-component-lifecycle-hooks`);
102
102
  }
103
- if (typeof n.getDerivedStateFromProps == "function" && (e.componentWillMount = vt, e.componentWillReceiveProps = _t), typeof e.getSnapshotBeforeUpdate == "function") {
103
+ if (typeof n.getDerivedStateFromProps == "function" && (e.componentWillMount = _t, e.componentWillReceiveProps = St), typeof e.getSnapshotBeforeUpdate == "function") {
104
104
  if (typeof e.componentDidUpdate != "function") throw new Error("Cannot polyfill getSnapshotBeforeUpdate() for components that do not define componentDidUpdate() on the prototype");
105
- e.componentWillUpdate = St;
105
+ e.componentWillUpdate = yt;
106
106
  var a = e.componentDidUpdate;
107
107
  e.componentDidUpdate = function(s, c, d) {
108
108
  var u = this.__reactInternalSnapshotFlag ? this.__reactInternalSnapshot : d;
@@ -132,23 +132,23 @@ function We(n) {
132
132
  }
133
133
  return n;
134
134
  }
135
- function yt() {
135
+ function wt() {
136
136
  try {
137
137
  var n = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function() {
138
138
  }));
139
139
  } catch {
140
140
  }
141
- return (yt = function() {
141
+ return (wt = function() {
142
142
  return !!n;
143
143
  })();
144
144
  }
145
- vt.__suppressDeprecationWarning = !0, _t.__suppressDeprecationWarning = !0, St.__suppressDeprecationWarning = !0;
146
- var He = (function() {
145
+ _t.__suppressDeprecationWarning = !0, St.__suppressDeprecationWarning = !0, yt.__suppressDeprecationWarning = !0;
146
+ var De = (function() {
147
147
  function n() {
148
148
  var e, t, o, r;
149
149
  M(this, n);
150
150
  for (var l = arguments.length, i = new Array(l), a = 0; a < l; a++) i[a] = arguments[a];
151
- return t = this, o = n, r = [].concat(i), o = T(o), p(e = W(t, yt() ? Reflect.construct(o, r || [], T(t).constructor) : o.apply(t, r)), "state", { scrollToColumn: 0, scrollToRow: 0, instanceProps: { prevScrollToColumn: 0, prevScrollToRow: 0 } }), p(e, "_columnStartIndex", 0), p(e, "_columnStopIndex", 0), p(e, "_rowStartIndex", 0), p(e, "_rowStopIndex", 0), p(e, "_onKeyDown", function(s) {
151
+ return t = this, o = n, r = [].concat(i), o = T(o), p(e = W(t, wt() ? Reflect.construct(o, r || [], T(t).constructor) : o.apply(t, r)), "state", { scrollToColumn: 0, scrollToRow: 0, instanceProps: { prevScrollToColumn: 0, prevScrollToRow: 0 } }), p(e, "_columnStartIndex", 0), p(e, "_columnStopIndex", 0), p(e, "_rowStartIndex", 0), p(e, "_rowStopIndex", 0), p(e, "_onKeyDown", function(s) {
152
152
  var c = e.props, d = c.columnCount, u = c.disabled, f = c.mode, h = c.rowCount;
153
153
  if (!u) {
154
154
  var v = e._getScrollState(), g = v.scrollToColumn, _ = v.scrollToRow, S = e._getScrollState(), m = S.scrollToColumn, y = S.scrollToRow;
@@ -172,7 +172,7 @@ var He = (function() {
172
172
  e._columnStartIndex = c, e._columnStopIndex = d, e._rowStartIndex = u, e._rowStopIndex = f;
173
173
  }), e;
174
174
  }
175
- return H(n, C.PureComponent), L(n, [{ key: "setScrollIndexes", value: function(e) {
175
+ return D(n, C.PureComponent), L(n, [{ key: "setScrollIndexes", value: function(e) {
176
176
  var t = e.scrollToColumn, o = e.scrollToRow;
177
177
  this.setState({ scrollToRow: o, scrollToColumn: t });
178
178
  } }, { key: "render", value: function() {
@@ -187,7 +187,7 @@ var He = (function() {
187
187
  return e.isControlled ? {} : e.scrollToColumn !== t.instanceProps.prevScrollToColumn || e.scrollToRow !== t.instanceProps.prevScrollToRow ? We(We({}, t), {}, { scrollToColumn: e.scrollToColumn, scrollToRow: e.scrollToRow, instanceProps: { prevScrollToColumn: e.scrollToColumn, prevScrollToRow: e.scrollToRow } }) : {};
188
188
  } }]);
189
189
  })();
190
- function wt(n, e) {
190
+ function Ct(n, e) {
191
191
  var t, o = (t = e !== void 0 ? e : typeof window < "u" ? window : typeof self < "u" ? self : global).document !== void 0 && t.document.attachEvent;
192
192
  if (!o) {
193
193
  var r = (function() {
@@ -203,8 +203,8 @@ function wt(n, e) {
203
203
  return m(y);
204
204
  };
205
205
  })(), i = function(m) {
206
- var y = m.__resizeTriggers__, w = y.firstElementChild, x = y.lastElementChild, b = w.firstElementChild;
207
- x.scrollLeft = x.scrollWidth, x.scrollTop = x.scrollHeight, b.style.width = w.offsetWidth + 1 + "px", b.style.height = w.offsetHeight + 1 + "px", w.scrollLeft = w.scrollWidth, w.scrollTop = w.scrollHeight;
206
+ var y = m.__resizeTriggers__, w = y.firstElementChild, x = y.lastElementChild, R = w.firstElementChild;
207
+ x.scrollLeft = x.scrollWidth, x.scrollTop = x.scrollHeight, R.style.width = w.offsetWidth + 1 + "px", R.style.height = w.offsetHeight + 1 + "px", w.scrollLeft = w.scrollWidth, w.scrollTop = w.scrollHeight;
208
208
  }, a = function(m) {
209
209
  if (!(m.target.className && typeof m.target.className.indexOf == "function" && m.target.className.indexOf("contract-trigger") < 0 && m.target.className.indexOf("expand-trigger") < 0)) {
210
210
  var y = this;
@@ -230,17 +230,17 @@ function wt(n, e) {
230
230
  else {
231
231
  if (!m.__resizeTriggers__) {
232
232
  var w = m.ownerDocument, x = t.getComputedStyle(m);
233
- x && x.position == "static" && (m.style.position = "relative"), (function(R) {
234
- if (!R.getElementById("detectElementResize")) {
235
- var P = (_ || "") + ".resize-triggers { " + (S || "") + '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%; }', k = R.head || R.getElementsByTagName("head")[0], I = R.createElement("style");
236
- I.id = "detectElementResize", I.type = "text/css", n != null && I.setAttribute("nonce", n), I.styleSheet ? I.styleSheet.cssText = P : I.appendChild(R.createTextNode(P)), k.appendChild(I);
233
+ x && x.position == "static" && (m.style.position = "relative"), (function(b) {
234
+ if (!b.getElementById("detectElementResize")) {
235
+ var P = (_ || "") + ".resize-triggers { " + (S || "") + '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%; }', k = b.head || b.getElementsByTagName("head")[0], I = b.createElement("style");
236
+ I.id = "detectElementResize", I.type = "text/css", n != null && I.setAttribute("nonce", n), I.styleSheet ? I.styleSheet.cssText = P : I.appendChild(b.createTextNode(P)), k.appendChild(I);
237
237
  }
238
238
  })(w), m.__resizeLast__ = {}, m.__resizeListeners__ = [], (m.__resizeTriggers__ = w.createElement("div")).className = "resize-triggers";
239
- var b = w.createElement("div");
240
- b.className = "expand-trigger", b.appendChild(w.createElement("div"));
239
+ var R = w.createElement("div");
240
+ R.className = "expand-trigger", R.appendChild(w.createElement("div"));
241
241
  var z = w.createElement("div");
242
- z.className = "contract-trigger", m.__resizeTriggers__.appendChild(b), m.__resizeTriggers__.appendChild(z), m.appendChild(m.__resizeTriggers__), i(m), m.addEventListener("scroll", a, !0), d && (m.__resizeTriggers__.__animationListener__ = function(R) {
243
- R.animationName == g && i(m);
242
+ z.className = "contract-trigger", m.__resizeTriggers__.appendChild(R), m.__resizeTriggers__.appendChild(z), m.appendChild(m.__resizeTriggers__), i(m), m.addEventListener("scroll", a, !0), d && (m.__resizeTriggers__.__animationListener__ = function(b) {
243
+ b.animationName == g && i(m);
244
244
  }, m.__resizeTriggers__.addEventListener(d, m.__resizeTriggers__.__animationListener__));
245
245
  }
246
246
  m.__resizeListeners__.push(y);
@@ -256,7 +256,7 @@ function wt(n, e) {
256
256
  }
257
257
  } };
258
258
  }
259
- function De(n, e) {
259
+ function He(n, e) {
260
260
  var t = Object.keys(n);
261
261
  if (Object.getOwnPropertySymbols) {
262
262
  var o = Object.getOwnPropertySymbols(n);
@@ -269,31 +269,31 @@ function De(n, e) {
269
269
  function je(n) {
270
270
  for (var e = 1; e < arguments.length; e++) {
271
271
  var t = arguments[e] != null ? arguments[e] : {};
272
- e % 2 ? De(Object(t), !0).forEach(function(o) {
272
+ e % 2 ? He(Object(t), !0).forEach(function(o) {
273
273
  p(n, o, t[o]);
274
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(n, Object.getOwnPropertyDescriptors(t)) : De(Object(t)).forEach(function(o) {
274
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(n, Object.getOwnPropertyDescriptors(t)) : He(Object(t)).forEach(function(o) {
275
275
  Object.defineProperty(n, o, Object.getOwnPropertyDescriptor(t, o));
276
276
  });
277
277
  }
278
278
  return n;
279
279
  }
280
- function Ct() {
280
+ function xt() {
281
281
  try {
282
282
  var n = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function() {
283
283
  }));
284
284
  } catch {
285
285
  }
286
- return (Ct = function() {
286
+ return (xt = function() {
287
287
  return !!n;
288
288
  })();
289
289
  }
290
- p(He, "defaultProps", { disabled: !1, isControlled: !1, mode: "edges", scrollToColumn: 0, scrollToRow: 0 }), le(He);
291
- var xt = (function() {
290
+ p(De, "defaultProps", { disabled: !1, isControlled: !1, mode: "edges", scrollToColumn: 0, scrollToRow: 0 }), le(De);
291
+ var Rt = (function() {
292
292
  function n() {
293
293
  var e, t, o, r;
294
294
  M(this, n);
295
295
  for (var l = arguments.length, i = new Array(l), a = 0; a < l; a++) i[a] = arguments[a];
296
- return t = this, o = n, r = [].concat(i), o = T(o), p(e = W(t, Ct() ? Reflect.construct(o, r || [], T(t).constructor) : o.apply(t, r)), "state", { height: e.props.defaultHeight || 0, width: e.props.defaultWidth || 0 }), p(e, "_parentNode", void 0), p(e, "_autoSizer", void 0), p(e, "_window", void 0), p(e, "_detectElementResize", void 0), p(e, "_onResize", function() {
296
+ return t = this, o = n, r = [].concat(i), o = T(o), p(e = W(t, xt() ? Reflect.construct(o, r || [], T(t).constructor) : o.apply(t, r)), "state", { height: e.props.defaultHeight || 0, width: e.props.defaultWidth || 0 }), p(e, "_parentNode", void 0), p(e, "_autoSizer", void 0), p(e, "_window", void 0), p(e, "_detectElementResize", void 0), p(e, "_onResize", function() {
297
297
  var s = e.props, c = s.disableHeight, d = s.disableWidth, u = s.onResize;
298
298
  if (e._parentNode) {
299
299
  var f = e._parentNode.offsetHeight || 0, h = e._parentNode.offsetWidth || 0, v = (e._window || window).getComputedStyle(e._parentNode) || {}, g = parseInt(v.paddingLeft, 10) || 0, _ = parseInt(v.paddingRight, 10) || 0, S = parseInt(v.paddingTop, 10) || 0, m = parseInt(v.paddingBottom, 10) || 0, y = f - S - m, w = h - g - _;
@@ -303,9 +303,9 @@ var xt = (function() {
303
303
  e._autoSizer = s;
304
304
  }), e;
305
305
  }
306
- return H(n, C.Component), L(n, [{ key: "componentDidMount", value: function() {
306
+ return D(n, C.Component), L(n, [{ key: "componentDidMount", value: function() {
307
307
  var e = this.props.nonce;
308
- this._autoSizer && this._autoSizer.parentNode && this._autoSizer.parentNode.ownerDocument && this._autoSizer.parentNode.ownerDocument.defaultView && this._autoSizer.parentNode instanceof this._autoSizer.parentNode.ownerDocument.defaultView.HTMLElement && (this._parentNode = this._autoSizer.parentNode, this._window = this._autoSizer.parentNode.ownerDocument.defaultView, this._detectElementResize = wt(e, this._window), this._detectElementResize.addResizeListener(this._parentNode, this._onResize), this._onResize());
308
+ this._autoSizer && this._autoSizer.parentNode && this._autoSizer.parentNode.ownerDocument && this._autoSizer.parentNode.ownerDocument.defaultView && this._autoSizer.parentNode instanceof this._autoSizer.parentNode.ownerDocument.defaultView.HTMLElement && (this._parentNode = this._autoSizer.parentNode, this._window = this._autoSizer.parentNode.ownerDocument.defaultView, this._detectElementResize = Ct(e, this._window), this._detectElementResize.addResizeListener(this._parentNode, this._onResize), this._onResize());
309
309
  } }, { key: "componentWillUnmount", value: function() {
310
310
  this._detectElementResize && this._parentNode && this._detectElementResize.removeResizeListener(this._parentNode, this._onResize);
311
311
  } }, { key: "render", value: function() {
@@ -313,31 +313,31 @@ var xt = (function() {
313
313
  return r || (d.height = 0, u.height = s), l || (d.width = 0, u.width = c), C.createElement("div", { className: o, ref: this._setRef, style: je(je({}, d), i) }, t(u));
314
314
  } }]);
315
315
  })();
316
- function Rt() {
316
+ function bt() {
317
317
  try {
318
318
  var n = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function() {
319
319
  }));
320
320
  } catch {
321
321
  }
322
- return (Rt = function() {
322
+ return (bt = function() {
323
323
  return !!n;
324
324
  })();
325
325
  }
326
- p(xt, "defaultProps", { onResize: function() {
326
+ p(Rt, "defaultProps", { onResize: function() {
327
327
  }, disableHeight: !1, disableWidth: !1, style: {} });
328
328
  var co = (function() {
329
329
  function n() {
330
330
  var e, t, o, r;
331
331
  M(this, n);
332
332
  for (var l = arguments.length, i = new Array(l), a = 0; a < l; a++) i[a] = arguments[a];
333
- return t = this, o = n, r = [].concat(i), o = T(o), p(e = W(t, Rt() ? Reflect.construct(o, r || [], T(t).constructor) : o.apply(t, r)), "_child", C.createRef()), p(e, "_measure", function() {
333
+ return t = this, o = n, r = [].concat(i), o = T(o), p(e = W(t, bt() ? Reflect.construct(o, r || [], T(t).constructor) : o.apply(t, r)), "_child", C.createRef()), p(e, "_measure", function() {
334
334
  var s = e.props, c = s.cache, d = s.columnIndex, u = d === void 0 ? 0 : d, f = s.parent, h = s.rowIndex, v = h === void 0 ? e.props.index || 0 : h, g = e._getCellMeasurements(), _ = g.height, S = g.width;
335
335
  _ === c.getHeight(v, u) && S === c.getWidth(v, u) || (c.set(v, u, S, _), f && typeof f.recomputeGridSize == "function" && f.recomputeGridSize({ columnIndex: u, rowIndex: v }));
336
336
  }), p(e, "_registerChild", function(s) {
337
337
  !s || s instanceof Element || console.warn("CellMeasurer registerChild expects to be passed Element or null"), e._child.current = s, s && e._maybeMeasureCell();
338
338
  }), e;
339
339
  }
340
- return H(n, C.PureComponent), L(n, [{ key: "componentDidMount", value: function() {
340
+ return D(n, C.PureComponent), L(n, [{ key: "componentDidMount", value: function() {
341
341
  this._maybeMeasureCell();
342
342
  } }, { key: "componentDidUpdate", value: function() {
343
343
  this._maybeMeasureCell();
@@ -379,7 +379,7 @@ function Y() {
379
379
  p(co, "__internalCellMeasurerFlag", !1);
380
380
  const uo = !(typeof window > "u" || !window.document || !window.document.createElement);
381
381
  var ue;
382
- function we(n) {
382
+ function Ce(n) {
383
383
  if ((!ue && ue !== 0 || n) && uo) {
384
384
  var e = document.createElement("div");
385
385
  e.style.position = "absolute", e.style.top = "-9999px", e.style.width = "50px", e.style.height = "50px", e.style.overflow = "scroll", document.body.appendChild(e), ue = e.offsetWidth - e.clientWidth, document.body.removeChild(e);
@@ -407,13 +407,13 @@ function Ne(n) {
407
407
  }
408
408
  return n;
409
409
  }
410
- function bt() {
410
+ function zt() {
411
411
  try {
412
412
  var n = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function() {
413
413
  }));
414
414
  } catch {
415
415
  }
416
- return (bt = function() {
416
+ return (zt = function() {
417
417
  return !!n;
418
418
  })();
419
419
  }
@@ -422,7 +422,7 @@ var ho = "observed", Z = "requested", fe = (function() {
422
422
  var e, t, o, r;
423
423
  M(this, n);
424
424
  for (var l = arguments.length, i = new Array(l), a = 0; a < l; a++) i[a] = arguments[a];
425
- return t = this, o = n, r = [].concat(i), o = T(o), p(e = W(t, bt() ? Reflect.construct(o, r || [], T(t).constructor) : o.apply(t, r)), "state", { isScrolling: !1, scrollLeft: 0, scrollTop: 0 }), p(e, "_calculateSizeAndPositionDataOnNextUpdate", !1), p(e, "_onSectionRenderedMemoizer", Y()), p(e, "_onScrollMemoizer", Y(!1)), p(e, "_invokeOnSectionRenderedHelper", function() {
425
+ return t = this, o = n, r = [].concat(i), o = T(o), p(e = W(t, zt() ? Reflect.construct(o, r || [], T(t).constructor) : o.apply(t, r)), "state", { isScrolling: !1, scrollLeft: 0, scrollTop: 0 }), p(e, "_calculateSizeAndPositionDataOnNextUpdate", !1), p(e, "_onSectionRenderedMemoizer", Y()), p(e, "_onScrollMemoizer", Y(!1)), p(e, "_invokeOnSectionRenderedHelper", function() {
426
426
  var s = e.props, c = s.cellLayoutManager, d = s.onSectionRendered;
427
427
  e._onSectionRenderedMemoizer({ callback: d, indices: { indices: c.getLastRenderedIndices() } });
428
428
  }), p(e, "_setScrollingContainerRef", function(s) {
@@ -443,13 +443,13 @@ var ho = "observed", Z = "requested", fe = (function() {
443
443
  }
444
444
  e._invokeOnScrollMemoizer({ scrollLeft: m, scrollTop: y, totalWidth: S, totalHeight: _ });
445
445
  }
446
- }), e._scrollbarSize = we(), e._scrollbarSize === void 0 ? (e._scrollbarSizeMeasured = !1, e._scrollbarSize = 0) : e._scrollbarSizeMeasured = !0, e;
446
+ }), e._scrollbarSize = Ce(), e._scrollbarSize === void 0 ? (e._scrollbarSizeMeasured = !1, e._scrollbarSize = 0) : e._scrollbarSizeMeasured = !0, e;
447
447
  }
448
- return H(n, C.PureComponent), L(n, [{ key: "recomputeCellSizesAndPositions", value: function() {
448
+ return D(n, C.PureComponent), L(n, [{ key: "recomputeCellSizesAndPositions", value: function() {
449
449
  this._calculateSizeAndPositionDataOnNextUpdate = !0, this.forceUpdate();
450
450
  } }, { key: "componentDidMount", value: function() {
451
451
  var e = this.props, t = e.cellLayoutManager, o = e.scrollLeft, r = e.scrollToCell, l = e.scrollTop;
452
- this._scrollbarSizeMeasured || (this._scrollbarSize = we(), this._scrollbarSizeMeasured = !0, this.setState({})), r >= 0 ? this._updateScrollPositionForScrollToCell() : (o >= 0 || l >= 0) && this._setScrollPosition({ scrollLeft: o, scrollTop: l }), this._invokeOnSectionRenderedHelper();
452
+ this._scrollbarSizeMeasured || (this._scrollbarSize = Ce(), this._scrollbarSizeMeasured = !0, this.setState({})), r >= 0 ? this._updateScrollPositionForScrollToCell() : (o >= 0 || l >= 0) && this._setScrollPosition({ scrollLeft: o, scrollTop: l }), this._invokeOnSectionRenderedHelper();
453
453
  var i = t.getTotalSize(), a = i.height, s = i.width;
454
454
  this._invokeOnScrollMemoizer({ scrollLeft: o || 0, scrollTop: l || 0, totalHeight: a, totalWidth: s });
455
455
  } }, { key: "componentDidUpdate", value: function(e, t) {
@@ -460,8 +460,8 @@ var ho = "observed", Z = "requested", fe = (function() {
460
460
  } }, { key: "render", value: function() {
461
461
  var e = this.props, t = e.autoHeight, o = e.cellCount, r = e.cellLayoutManager, l = e.className, i = e.height, a = e.horizontalOverscanSize, s = e.id, c = e.noContentRenderer, d = e.style, u = e.verticalOverscanSize, f = e.width, h = this.state, v = h.isScrolling, g = h.scrollLeft, _ = h.scrollTop;
462
462
  (this._lastRenderedCellCount !== o || this._lastRenderedCellLayoutManager !== r || this._calculateSizeAndPositionDataOnNextUpdate) && (this._lastRenderedCellCount = o, this._lastRenderedCellLayoutManager = r, this._calculateSizeAndPositionDataOnNextUpdate = !1, r.calculateSizeAndPositionData());
463
- var S = r.getTotalSize(), m = S.height, y = S.width, w = Math.max(0, g - a), x = Math.max(0, _ - u), b = Math.min(y, g + f + a), z = Math.min(m, _ + i + u), R = i > 0 && f > 0 ? r.cellRenderers({ height: z - x, isScrolling: v, width: b - w, x: w, y: x }) : [], P = { boxSizing: "border-box", direction: "ltr", height: t ? "auto" : i, position: "relative", WebkitOverflowScrolling: "touch", width: f, willChange: "transform" }, k = m > i ? this._scrollbarSize : 0, I = y > f ? this._scrollbarSize : 0;
464
- return P.overflowX = y + k <= f ? "hidden" : "auto", P.overflowY = m + I <= i ? "hidden" : "auto", C.createElement("div", { ref: this._setScrollingContainerRef, "aria-label": this.props["aria-label"], className: N("ReactVirtualized__Collection", l), id: s, onScroll: this._onScroll, role: "grid", style: Ne(Ne({}, P), d), tabIndex: 0 }, o > 0 && C.createElement("div", { className: "ReactVirtualized__Collection__innerScrollContainer", style: { height: m, maxHeight: m, maxWidth: y, overflow: "hidden", pointerEvents: v ? "none" : "", width: y } }, R), o === 0 && c());
463
+ var S = r.getTotalSize(), m = S.height, y = S.width, w = Math.max(0, g - a), x = Math.max(0, _ - u), R = Math.min(y, g + f + a), z = Math.min(m, _ + i + u), b = i > 0 && f > 0 ? r.cellRenderers({ height: z - x, isScrolling: v, width: R - w, x: w, y: x }) : [], P = { boxSizing: "border-box", direction: "ltr", height: t ? "auto" : i, position: "relative", WebkitOverflowScrolling: "touch", width: f, willChange: "transform" }, k = m > i ? this._scrollbarSize : 0, I = y > f ? this._scrollbarSize : 0;
464
+ return P.overflowX = y + k <= f ? "hidden" : "auto", P.overflowY = m + I <= i ? "hidden" : "auto", C.createElement("div", { ref: this._setScrollingContainerRef, "aria-label": this.props["aria-label"], className: N("ReactVirtualized__Collection", l), id: s, onScroll: this._onScroll, role: "grid", style: Ne(Ne({}, P), d), tabIndex: 0 }, o > 0 && C.createElement("div", { className: "ReactVirtualized__Collection__innerScrollContainer", style: { height: m, maxHeight: m, maxWidth: y, overflow: "hidden", pointerEvents: v ? "none" : "", width: y } }, b), o === 0 && c());
465
465
  } }, { key: "_enablePointerEventsAfterDelay", value: function() {
466
466
  var e = this;
467
467
  this._disablePointerEventsTimeoutId && clearTimeout(this._disablePointerEventsTimeoutId), this._disablePointerEventsTimeoutId = setTimeout(function() {
@@ -548,22 +548,22 @@ function Be(n) {
548
548
  return Math.max(s, Math.min(a, i));
549
549
  }
550
550
  }
551
- function zt() {
551
+ function Tt() {
552
552
  try {
553
553
  var n = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function() {
554
554
  }));
555
555
  } catch {
556
556
  }
557
- return (zt = function() {
557
+ return (Tt = function() {
558
558
  return !!n;
559
559
  })();
560
560
  }
561
561
  var Ue = (function() {
562
562
  function n(e, t) {
563
563
  var o, r, l, i;
564
- return M(this, n), r = this, i = [e, t], l = T(l = n), (o = W(r, zt() ? Reflect.construct(l, i || [], T(r).constructor) : l.apply(r, i)))._cellMetadata = [], o._lastRenderedCellIndices = [], o._cellCache = [], o._isScrollingChange = o._isScrollingChange.bind(o), o._setCollectionViewRef = o._setCollectionViewRef.bind(o), o;
564
+ return M(this, n), r = this, i = [e, t], l = T(l = n), (o = W(r, Tt() ? Reflect.construct(l, i || [], T(r).constructor) : l.apply(r, i)))._cellMetadata = [], o._lastRenderedCellIndices = [], o._cellCache = [], o._isScrollingChange = o._isScrollingChange.bind(o), o._setCollectionViewRef = o._setCollectionViewRef.bind(o), o;
565
565
  }
566
- return H(n, C.PureComponent), L(n, [{ key: "forceUpdate", value: function() {
566
+ return D(n, C.PureComponent), L(n, [{ key: "forceUpdate", value: function() {
567
567
  this._collectionView !== void 0 && this._collectionView.forceUpdate();
568
568
  } }, { key: "recomputeCellSizesAndPositions", value: function() {
569
569
  this._cellCache = [], this._collectionView.recomputeCellSizesAndPositions();
@@ -606,13 +606,13 @@ var Ue = (function() {
606
606
  this._collectionView = e;
607
607
  } }]);
608
608
  })();
609
- function Tt() {
609
+ function It() {
610
610
  try {
611
611
  var n = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function() {
612
612
  }));
613
613
  } catch {
614
614
  }
615
- return (Tt = function() {
615
+ return (It = function() {
616
616
  return !!n;
617
617
  })();
618
618
  }
@@ -640,9 +640,9 @@ p(Ue, "defaultProps", { "aria-label": "grid", cellGroupRenderer: function(n) {
640
640
  } }), Ue.propTypes = {}, (function() {
641
641
  function n(e, t) {
642
642
  var o, r, l, i;
643
- return M(this, n), r = this, i = [e, t], l = T(l = n), (o = W(r, Tt() ? Reflect.construct(l, i || [], T(r).constructor) : l.apply(r, i)))._registerChild = o._registerChild.bind(o), o;
643
+ return M(this, n), r = this, i = [e, t], l = T(l = n), (o = W(r, It() ? Reflect.construct(l, i || [], T(r).constructor) : l.apply(r, i)))._registerChild = o._registerChild.bind(o), o;
644
644
  }
645
- return H(n, C.PureComponent), L(n, [{ key: "componentDidUpdate", value: function(e) {
645
+ return D(n, C.PureComponent), L(n, [{ key: "componentDidUpdate", value: function(e) {
646
646
  var t = this.props, o = t.columnMaxWidth, r = t.columnMinWidth, l = t.columnCount, i = t.width;
647
647
  o === e.columnMaxWidth && r === e.columnMinWidth && l === e.columnCount && i === e.width || this._registeredChild && this._registeredChild.recomputeGridSize();
648
648
  } }, { key: "render", value: function() {
@@ -789,7 +789,7 @@ var _o = (F = typeof window < "u" ? window : typeof self < "u" ? self : {}).requ
789
789
  F.clearTimeout(n);
790
790
  }, $e = _o, yo = So, J = function(n) {
791
791
  return yo(n.id);
792
- }, Pe = function(n, e) {
792
+ }, Oe = function(n, e) {
793
793
  var t;
794
794
  Promise.resolve().then(function() {
795
795
  t = Date.now();
@@ -809,7 +809,7 @@ function Xe(n, e) {
809
809
  }
810
810
  return t;
811
811
  }
812
- function D(n) {
812
+ function H(n) {
813
813
  for (var e = 1; e < arguments.length; e++) {
814
814
  var t = arguments[e] != null ? arguments[e] : {};
815
815
  e % 2 ? Xe(Object(t), !0).forEach(function(o) {
@@ -820,20 +820,20 @@ function D(n) {
820
820
  }
821
821
  return n;
822
822
  }
823
- function It() {
823
+ function Pt() {
824
824
  try {
825
825
  var n = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function() {
826
826
  }));
827
827
  } catch {
828
828
  }
829
- return (It = function() {
829
+ return (Pt = function() {
830
830
  return !!n;
831
831
  })();
832
832
  }
833
833
  var wo = "observed", Ye = "requested", V = (function() {
834
834
  function n(e) {
835
835
  var t, o, r, l;
836
- M(this, n), o = this, l = [e], r = T(r = n), p(t = W(o, It() ? Reflect.construct(r, l || [], T(o).constructor) : r.apply(o, l)), "_onGridRenderedMemoizer", Y()), p(t, "_onScrollMemoizer", Y(!1)), p(t, "_deferredInvalidateColumnIndex", null), p(t, "_deferredInvalidateRowIndex", null), p(t, "_recomputeScrollLeftFlag", !1), p(t, "_recomputeScrollTopFlag", !1), p(t, "_horizontalScrollBarSize", 0), p(t, "_verticalScrollBarSize", 0), p(t, "_scrollbarPresenceChanged", !1), p(t, "_scrollingContainer", void 0), p(t, "_childrenToDisplay", void 0), p(t, "_columnStartIndex", void 0), p(t, "_columnStopIndex", void 0), p(t, "_rowStartIndex", void 0), p(t, "_rowStopIndex", void 0), p(t, "_renderedColumnStartIndex", 0), p(t, "_renderedColumnStopIndex", 0), p(t, "_renderedRowStartIndex", 0), p(t, "_renderedRowStopIndex", 0), p(t, "_initialScrollTop", void 0), p(t, "_initialScrollLeft", void 0), p(t, "_disablePointerEventsTimeoutId", void 0), p(t, "_styleCache", {}), p(t, "_cellCache", {}), p(t, "_debounceScrollEndedCallback", function() {
836
+ M(this, n), o = this, l = [e], r = T(r = n), p(t = W(o, Pt() ? Reflect.construct(r, l || [], T(o).constructor) : r.apply(o, l)), "_onGridRenderedMemoizer", Y()), p(t, "_onScrollMemoizer", Y(!1)), p(t, "_deferredInvalidateColumnIndex", null), p(t, "_deferredInvalidateRowIndex", null), p(t, "_recomputeScrollLeftFlag", !1), p(t, "_recomputeScrollTopFlag", !1), p(t, "_horizontalScrollBarSize", 0), p(t, "_verticalScrollBarSize", 0), p(t, "_scrollbarPresenceChanged", !1), p(t, "_scrollingContainer", void 0), p(t, "_childrenToDisplay", void 0), p(t, "_columnStartIndex", void 0), p(t, "_columnStopIndex", void 0), p(t, "_rowStartIndex", void 0), p(t, "_rowStopIndex", void 0), p(t, "_renderedColumnStartIndex", 0), p(t, "_renderedColumnStopIndex", 0), p(t, "_renderedRowStartIndex", 0), p(t, "_renderedRowStopIndex", 0), p(t, "_initialScrollTop", void 0), p(t, "_initialScrollLeft", void 0), p(t, "_disablePointerEventsTimeoutId", void 0), p(t, "_styleCache", {}), p(t, "_cellCache", {}), p(t, "_debounceScrollEndedCallback", function() {
837
837
  t._disablePointerEventsTimeoutId = null, t.setState({ isScrolling: !1, needToResetStyleCache: !1 });
838
838
  }), p(t, "_invokeOnGridRenderedHelper", function() {
839
839
  var s = t.props.onSectionRendered;
@@ -850,8 +850,8 @@ var wo = "observed", Ye = "requested", V = (function() {
850
850
  }, estimatedCellSize: n._getEstimatedRowSize(e) });
851
851
  return t.state = { instanceProps: { columnSizeAndPositionManager: i, rowSizeAndPositionManager: a, prevColumnWidth: e.columnWidth, prevRowHeight: e.rowHeight, prevColumnCount: e.columnCount, prevRowCount: e.rowCount, prevIsScrolling: e.isScrolling === !0, prevScrollToColumn: e.scrollToColumn, prevScrollToRow: e.scrollToRow, scrollbarSize: 0, scrollbarSizeMeasured: !1 }, isScrolling: !1, scrollDirectionHorizontal: 1, scrollDirectionVertical: 1, scrollLeft: 0, scrollTop: 0, scrollPositionChangeReason: null, needToResetStyleCache: !1 }, e.scrollToRow > 0 && (t._initialScrollTop = t._getCalculatedScrollTop(e, t.state)), e.scrollToColumn > 0 && (t._initialScrollLeft = t._getCalculatedScrollLeft(e, t.state)), t;
852
852
  }
853
- return H(n, C.PureComponent), L(n, [{ key: "getOffsetForCell", value: function() {
854
- var e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, t = e.alignment, o = t === void 0 ? this.props.scrollToAlignment : t, r = e.columnIndex, l = r === void 0 ? this.props.scrollToColumn : r, i = e.rowIndex, a = i === void 0 ? this.props.scrollToRow : i, s = D(D({}, this.props), {}, { scrollToAlignment: o, scrollToColumn: l, scrollToRow: a });
853
+ return D(n, C.PureComponent), L(n, [{ key: "getOffsetForCell", value: function() {
854
+ var e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, t = e.alignment, o = t === void 0 ? this.props.scrollToAlignment : t, r = e.columnIndex, l = r === void 0 ? this.props.scrollToColumn : r, i = e.rowIndex, a = i === void 0 ? this.props.scrollToRow : i, s = H(H({}, this.props), {}, { scrollToAlignment: o, scrollToColumn: l, scrollToRow: a });
855
855
  return { scrollLeft: this._getCalculatedScrollLeft(s), scrollTop: this._getCalculatedScrollTop(s) };
856
856
  } }, { key: "getTotalRowsHeight", value: function() {
857
857
  return this.state.instanceProps.rowSizeAndPositionManager.getTotalSize();
@@ -879,11 +879,11 @@ var wo = "observed", Ye = "requested", V = (function() {
879
879
  c.columnSizeAndPositionManager.resetCell(o), c.rowSizeAndPositionManager.resetCell(l), this._recomputeScrollLeftFlag = a >= 0 && (this.state.scrollDirectionHorizontal === 1 ? o <= a : o >= a), this._recomputeScrollTopFlag = s >= 0 && (this.state.scrollDirectionVertical === 1 ? l <= s : l >= s), this._styleCache = {}, this._cellCache = {}, this.forceUpdate();
880
880
  } }, { key: "scrollToCell", value: function(e) {
881
881
  var t = e.columnIndex, o = e.rowIndex, r = this.props.columnCount, l = this.props;
882
- r > 1 && t !== void 0 && this._updateScrollLeftForScrollToColumn(D(D({}, l), {}, { scrollToColumn: t })), o !== void 0 && this._updateScrollTopForScrollToRow(D(D({}, l), {}, { scrollToRow: o }));
882
+ r > 1 && t !== void 0 && this._updateScrollLeftForScrollToColumn(H(H({}, l), {}, { scrollToColumn: t })), o !== void 0 && this._updateScrollTopForScrollToRow(H(H({}, l), {}, { scrollToRow: o }));
883
883
  } }, { key: "componentDidMount", value: function() {
884
884
  var e = this.props, t = e.getScrollbarSize, o = e.height, r = e.scrollLeft, l = e.scrollToColumn, i = e.scrollTop, a = e.scrollToRow, s = e.width, c = this.state.instanceProps;
885
885
  if (this._initialScrollTop = 0, this._initialScrollLeft = 0, this._handleInvalidatedGridSize(), c.scrollbarSizeMeasured || this.setState(function(f) {
886
- var h = D(D({}, f), {}, { needToResetStyleCache: !1 });
886
+ var h = H(H({}, f), {}, { needToResetStyleCache: !1 });
887
887
  return h.instanceProps.scrollbarSize = t(), h.instanceProps.scrollbarSizeMeasured = !0, h;
888
888
  }), typeof r == "number" && r >= 0 || typeof i == "number" && i >= 0) {
889
889
  var d = n._getScrollToPositionStateUpdate({ prevState: this.state, scrollLeft: r, scrollTop: i });
@@ -903,8 +903,8 @@ var wo = "observed", Ye = "requested", V = (function() {
903
903
  } }), this._recomputeScrollTopFlag ? (this._recomputeScrollTopFlag = !1, this._updateScrollTopForScrollToRow(this.props)) : qe({ cellSizeAndPositionManager: m.rowSizeAndPositionManager, previousCellsCount: e.rowCount, previousCellSize: e.rowHeight, previousScrollToAlignment: e.scrollToAlignment, previousScrollToIndex: e.scrollToRow, previousSize: e.height, scrollOffset: S, scrollToAlignment: d, scrollToIndex: f, size: s, sizeJustIncreasedFromZero: w, updateScrollIndexCallback: function() {
904
904
  return o._updateScrollTopForScrollToRow(o.props);
905
905
  } }), this._invokeOnGridRenderedHelper(), g !== t.scrollLeft || S !== t.scrollTop) {
906
- var x = m.rowSizeAndPositionManager.getTotalSize(), b = m.columnSizeAndPositionManager.getTotalSize();
907
- this._invokeOnScrollMemoizer({ scrollLeft: g, scrollTop: S, totalColumnsWidth: b, totalRowsHeight: x });
906
+ var x = m.rowSizeAndPositionManager.getTotalSize(), R = m.columnSizeAndPositionManager.getTotalSize();
907
+ this._invokeOnScrollMemoizer({ scrollLeft: g, scrollTop: S, totalColumnsWidth: R, totalRowsHeight: x });
908
908
  }
909
909
  this._maybeCallOnScrollbarPresenceChange();
910
910
  } }, { key: "componentWillUnmount", value: function() {
@@ -912,16 +912,16 @@ var wo = "observed", Ye = "requested", V = (function() {
912
912
  } }, { key: "render", value: function() {
913
913
  var e = this.props, t = e.autoContainerWidth, o = e.autoHeight, r = e.autoWidth, l = e.className, i = e.containerProps, a = e.containerRole, s = e.containerStyle, c = e.height, d = e.id, u = e.noContentRenderer, f = e.role, h = e.style, v = e.tabIndex, g = e.width, _ = this.state, S = _.instanceProps, m = _.needToResetStyleCache, y = this._isScrolling(), w = { boxSizing: "border-box", direction: "ltr", height: o ? "auto" : c, position: "relative", width: r ? "auto" : g, WebkitOverflowScrolling: "touch", willChange: "transform" };
914
914
  m && (this._styleCache = {}), this.state.isScrolling || this._resetStyleCache(), this._calculateChildrenToRender(this.props, this.state);
915
- var x = S.columnSizeAndPositionManager.getTotalSize(), b = S.rowSizeAndPositionManager.getTotalSize(), z = b > c ? S.scrollbarSize : 0, R = x > g ? S.scrollbarSize : 0;
916
- R === this._horizontalScrollBarSize && z === this._verticalScrollBarSize || (this._horizontalScrollBarSize = R, this._verticalScrollBarSize = z, this._scrollbarPresenceChanged = !0), w.overflowX = x + z <= g ? "hidden" : "auto", w.overflowY = b + R <= c ? "hidden" : "auto";
915
+ var x = S.columnSizeAndPositionManager.getTotalSize(), R = S.rowSizeAndPositionManager.getTotalSize(), z = R > c ? S.scrollbarSize : 0, b = x > g ? S.scrollbarSize : 0;
916
+ b === this._horizontalScrollBarSize && z === this._verticalScrollBarSize || (this._horizontalScrollBarSize = b, this._verticalScrollBarSize = z, this._scrollbarPresenceChanged = !0), w.overflowX = x + z <= g ? "hidden" : "auto", w.overflowY = R + b <= c ? "hidden" : "auto";
917
917
  var P = this._childrenToDisplay, k = P.length === 0 && c > 0 && g > 0;
918
- return C.createElement("div", U({ ref: this._setScrollingContainerRef }, i, { "aria-label": this.props["aria-label"], "aria-readonly": this.props["aria-readonly"], className: N("ReactVirtualized__Grid", l), id: d, onScroll: this._onScroll, role: f, style: D(D({}, w), h), tabIndex: v }), P.length > 0 && C.createElement("div", { className: "ReactVirtualized__Grid__innerScrollContainer", role: a, style: D({ width: t ? "auto" : x, height: b, maxWidth: x, maxHeight: b, overflow: "hidden", pointerEvents: y ? "none" : "", position: "relative" }, s) }, P), k && u());
918
+ return C.createElement("div", U({ ref: this._setScrollingContainerRef }, i, { "aria-label": this.props["aria-label"], "aria-readonly": this.props["aria-readonly"], className: N("ReactVirtualized__Grid", l), id: d, onScroll: this._onScroll, role: f, style: H(H({}, w), h), tabIndex: v }), P.length > 0 && C.createElement("div", { className: "ReactVirtualized__Grid__innerScrollContainer", role: a, style: H({ width: t ? "auto" : x, height: R, maxWidth: x, maxHeight: R, overflow: "hidden", pointerEvents: y ? "none" : "", position: "relative" }, s) }, P), k && u());
919
919
  } }, { key: "_calculateChildrenToRender", value: function() {
920
920
  var e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : this.props, t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : this.state, o = e.cellRenderer, r = e.cellRangeRenderer, l = e.columnCount, i = e.deferredMeasurementCache, a = e.height, s = e.overscanColumnCount, c = e.overscanIndicesGetter, d = e.overscanRowCount, u = e.rowCount, f = e.width, h = e.isScrollingOptOut, v = t.scrollDirectionHorizontal, g = t.scrollDirectionVertical, _ = t.instanceProps, S = this._initialScrollTop > 0 ? this._initialScrollTop : t.scrollTop, m = this._initialScrollLeft > 0 ? this._initialScrollLeft : t.scrollLeft, y = this._isScrolling(e, t);
921
921
  if (this._childrenToDisplay = [], a > 0 && f > 0) {
922
- var w = _.columnSizeAndPositionManager.getVisibleCellRange({ containerSize: f, offset: m }), x = _.rowSizeAndPositionManager.getVisibleCellRange({ containerSize: a, offset: S }), b = _.columnSizeAndPositionManager.getOffsetAdjustment({ containerSize: f, offset: m }), z = _.rowSizeAndPositionManager.getOffsetAdjustment({ containerSize: a, offset: S });
922
+ var w = _.columnSizeAndPositionManager.getVisibleCellRange({ containerSize: f, offset: m }), x = _.rowSizeAndPositionManager.getVisibleCellRange({ containerSize: a, offset: S }), R = _.columnSizeAndPositionManager.getOffsetAdjustment({ containerSize: f, offset: m }), z = _.rowSizeAndPositionManager.getOffsetAdjustment({ containerSize: a, offset: S });
923
923
  this._renderedColumnStartIndex = w.start, this._renderedColumnStopIndex = w.stop, this._renderedRowStartIndex = x.start, this._renderedRowStopIndex = x.stop;
924
- var R = c({ direction: "horizontal", cellCount: l, overscanCellsCount: s, scrollDirection: v, startIndex: typeof w.start == "number" ? w.start : 0, stopIndex: typeof w.stop == "number" ? w.stop : -1 }), P = c({ direction: "vertical", cellCount: u, overscanCellsCount: d, scrollDirection: g, startIndex: typeof x.start == "number" ? x.start : 0, stopIndex: typeof x.stop == "number" ? x.stop : -1 }), k = R.overscanStartIndex, I = R.overscanStopIndex, A = P.overscanStartIndex, E = P.overscanStopIndex;
924
+ var b = c({ direction: "horizontal", cellCount: l, overscanCellsCount: s, scrollDirection: v, startIndex: typeof w.start == "number" ? w.start : 0, stopIndex: typeof w.stop == "number" ? w.stop : -1 }), P = c({ direction: "vertical", cellCount: u, overscanCellsCount: d, scrollDirection: g, startIndex: typeof x.start == "number" ? x.start : 0, stopIndex: typeof x.stop == "number" ? x.stop : -1 }), k = b.overscanStartIndex, I = b.overscanStopIndex, A = P.overscanStartIndex, E = P.overscanStopIndex;
925
925
  if (i) {
926
926
  if (!i.hasFixedHeight()) {
927
927
  for (var j = A; j <= E; j++) if (!i.has(j, 0)) {
@@ -936,11 +936,11 @@ var wo = "observed", Ye = "requested", V = (function() {
936
936
  }
937
937
  }
938
938
  }
939
- this._childrenToDisplay = r({ cellCache: this._cellCache, cellRenderer: o, columnSizeAndPositionManager: _.columnSizeAndPositionManager, columnStartIndex: k, columnStopIndex: I, deferredMeasurementCache: i, horizontalOffsetAdjustment: b, isScrolling: y, isScrollingOptOut: h, parent: this, rowSizeAndPositionManager: _.rowSizeAndPositionManager, rowStartIndex: A, rowStopIndex: E, scrollLeft: m, scrollTop: S, styleCache: this._styleCache, verticalOffsetAdjustment: z, visibleColumnIndices: w, visibleRowIndices: x }), this._columnStartIndex = k, this._columnStopIndex = I, this._rowStartIndex = A, this._rowStopIndex = E;
939
+ this._childrenToDisplay = r({ cellCache: this._cellCache, cellRenderer: o, columnSizeAndPositionManager: _.columnSizeAndPositionManager, columnStartIndex: k, columnStopIndex: I, deferredMeasurementCache: i, horizontalOffsetAdjustment: R, isScrolling: y, isScrollingOptOut: h, parent: this, rowSizeAndPositionManager: _.rowSizeAndPositionManager, rowStartIndex: A, rowStopIndex: E, scrollLeft: m, scrollTop: S, styleCache: this._styleCache, verticalOffsetAdjustment: z, visibleColumnIndices: w, visibleRowIndices: x }), this._columnStartIndex = k, this._columnStopIndex = I, this._rowStartIndex = A, this._rowStopIndex = E;
940
940
  }
941
941
  } }, { key: "_debounceScrollEnded", value: function() {
942
942
  var e = this.props.scrollingResetTimeInterval;
943
- this._disablePointerEventsTimeoutId && J(this._disablePointerEventsTimeoutId), this._disablePointerEventsTimeoutId = Pe(this._debounceScrollEndedCallback, e);
943
+ this._disablePointerEventsTimeoutId && J(this._disablePointerEventsTimeoutId), this._disablePointerEventsTimeoutId = Oe(this._debounceScrollEndedCallback, e);
944
944
  } }, { key: "_handleInvalidatedGridSize", value: function() {
945
945
  if (typeof this._deferredInvalidateColumnIndex == "number" && typeof this._deferredInvalidateRowIndex == "number") {
946
946
  var e = this._deferredInvalidateColumnIndex, t = this._deferredInvalidateRowIndex;
@@ -994,7 +994,7 @@ var wo = "observed", Ye = "requested", V = (function() {
994
994
  return i.rowSizeAndPositionManager.resetCell(0);
995
995
  }, computeMetadataCallbackProps: e, nextCellsCount: e.rowCount, nextCellSize: typeof e.rowHeight == "number" ? e.rowHeight : null, nextScrollToIndex: e.scrollToRow, scrollToIndex: i.prevScrollToRow, updateScrollOffsetForScrollToIndex: function() {
996
996
  l = n._getScrollTopForScrollToRowStateUpdate(e, t);
997
- } }), i.prevColumnCount = e.columnCount, i.prevColumnWidth = e.columnWidth, i.prevIsScrolling = e.isScrolling === !0, i.prevRowCount = e.rowCount, i.prevRowHeight = e.rowHeight, i.prevScrollToColumn = e.scrollToColumn, i.prevScrollToRow = e.scrollToRow, i.scrollbarSize = e.getScrollbarSize(), i.scrollbarSize === void 0 ? (i.scrollbarSizeMeasured = !1, i.scrollbarSize = 0) : i.scrollbarSizeMeasured = !0, o.instanceProps = i, D(D(D({}, o), r), l);
997
+ } }), i.prevColumnCount = e.columnCount, i.prevColumnWidth = e.columnWidth, i.prevIsScrolling = e.isScrolling === !0, i.prevRowCount = e.rowCount, i.prevRowHeight = e.rowHeight, i.prevScrollToColumn = e.scrollToColumn, i.prevScrollToRow = e.scrollToRow, i.scrollbarSize = e.getScrollbarSize(), i.scrollbarSize === void 0 ? (i.scrollbarSizeMeasured = !1, i.scrollbarSize = 0) : i.scrollbarSizeMeasured = !0, o.instanceProps = i, H(H(H({}, o), r), l);
998
998
  } }, { key: "_getEstimatedColumnSize", value: function(e) {
999
999
  return typeof e.columnWidth == "number" ? e.columnWidth : e.estimatedColumnSize;
1000
1000
  } }, { key: "_getEstimatedRowSize", value: function(e) {
@@ -1029,14 +1029,14 @@ var wo = "observed", Ye = "requested", V = (function() {
1029
1029
  } }]);
1030
1030
  })();
1031
1031
  p(V, "defaultProps", { "aria-label": "grid", "aria-readonly": !0, autoContainerWidth: !1, autoHeight: !1, autoWidth: !1, cellRangeRenderer: function(n) {
1032
- for (var e = n.cellCache, t = n.cellRenderer, o = n.columnSizeAndPositionManager, r = n.columnStartIndex, l = n.columnStopIndex, i = n.deferredMeasurementCache, a = n.horizontalOffsetAdjustment, s = n.isScrolling, c = n.isScrollingOptOut, d = n.parent, u = n.rowSizeAndPositionManager, f = n.rowStartIndex, h = n.rowStopIndex, v = n.styleCache, g = n.verticalOffsetAdjustment, _ = n.visibleColumnIndices, S = n.visibleRowIndices, m = [], y = o.areOffsetsAdjusted() || u.areOffsetsAdjusted(), w = !s && !y, x = f; x <= h; x++) for (var b = u.getSizeAndPositionOfCell(x), z = r; z <= l; z++) {
1033
- var R = o.getSizeAndPositionOfCell(z), P = z >= _.start && z <= _.stop && x >= S.start && x <= S.stop, k = "".concat(x, "-").concat(z), I = void 0;
1034
- w && v[k] ? I = v[k] : i && !i.has(x, z) ? I = { height: "auto", left: 0, position: "absolute", top: 0, width: "auto" } : (I = { height: b.size, left: R.offset + a, position: "absolute", top: b.offset + g, width: R.size }, v[k] = I);
1032
+ for (var e = n.cellCache, t = n.cellRenderer, o = n.columnSizeAndPositionManager, r = n.columnStartIndex, l = n.columnStopIndex, i = n.deferredMeasurementCache, a = n.horizontalOffsetAdjustment, s = n.isScrolling, c = n.isScrollingOptOut, d = n.parent, u = n.rowSizeAndPositionManager, f = n.rowStartIndex, h = n.rowStopIndex, v = n.styleCache, g = n.verticalOffsetAdjustment, _ = n.visibleColumnIndices, S = n.visibleRowIndices, m = [], y = o.areOffsetsAdjusted() || u.areOffsetsAdjusted(), w = !s && !y, x = f; x <= h; x++) for (var R = u.getSizeAndPositionOfCell(x), z = r; z <= l; z++) {
1033
+ var b = o.getSizeAndPositionOfCell(z), P = z >= _.start && z <= _.stop && x >= S.start && x <= S.stop, k = "".concat(x, "-").concat(z), I = void 0;
1034
+ w && v[k] ? I = v[k] : i && !i.has(x, z) ? I = { height: "auto", left: 0, position: "absolute", top: 0, width: "auto" } : (I = { height: R.size, left: b.offset + a, position: "absolute", top: R.offset + g, width: b.size }, v[k] = I);
1035
1035
  var A = { columnIndex: z, isScrolling: s, isVisible: P, key: k, parent: d, rowIndex: x, style: I }, E = void 0;
1036
- !c && !s || a || g ? E = t(A) : (e[k] || (e[k] = t(A)), E = e[k]), E != null && E !== !1 && (E.props.role || (E = mt.cloneElement(E, { role: "gridcell" })), m.push(E));
1036
+ !c && !s || a || g ? E = t(A) : (e[k] || (e[k] = t(A)), E = e[k]), E != null && E !== !1 && (E.props.role || (E = gt.cloneElement(E, { role: "gridcell" })), m.push(E));
1037
1037
  }
1038
1038
  return m;
1039
- }, containerRole: "row", containerStyle: {}, estimatedColumnSize: 100, estimatedRowSize: 30, getScrollbarSize: we, noContentRenderer: function() {
1039
+ }, containerRole: "row", containerStyle: {}, estimatedColumnSize: 100, estimatedRowSize: 30, getScrollbarSize: Ce, noContentRenderer: function() {
1040
1040
  return null;
1041
1041
  }, onScroll: function() {
1042
1042
  }, onScrollbarPresenceChange: function() {
@@ -1045,48 +1045,48 @@ p(V, "defaultProps", { "aria-label": "grid", "aria-readonly": !0, autoContainerW
1045
1045
  var e = n.cellCount, t = n.overscanCellsCount, o = n.scrollDirection, r = n.startIndex, l = n.stopIndex;
1046
1046
  return o === 1 ? { overscanStartIndex: Math.max(0, r), overscanStopIndex: Math.min(e - 1, l + t) } : { overscanStartIndex: Math.max(0, r - t), overscanStopIndex: Math.min(e - 1, l) };
1047
1047
  }, overscanRowCount: 10, role: "grid", scrollingResetTimeInterval: 150, scrollToAlignment: "auto", scrollToColumn: -1, scrollToRow: -1, style: {}, tabIndex: 0, isScrollingOptOut: !1 }), le(V);
1048
- function Pt(n) {
1048
+ function Ot(n) {
1049
1049
  var e = n.cellCount, t = n.overscanCellsCount, o = n.scrollDirection, r = n.startIndex, l = n.stopIndex;
1050
1050
  return t = Math.max(1, t), o === 1 ? { overscanStartIndex: Math.max(0, r - 1), overscanStopIndex: Math.min(e - 1, l + t) } : { overscanStartIndex: Math.max(0, r - t), overscanStopIndex: Math.min(e - 1, l + 1) };
1051
1051
  }
1052
- function Ce(n, e) {
1052
+ function xe(n, e) {
1053
1053
  (e == null || e > n.length) && (e = n.length);
1054
1054
  for (var t = 0, o = Array(e); t < e; t++) o[t] = n[t];
1055
1055
  return o;
1056
1056
  }
1057
- function Ot(n, e) {
1057
+ function kt(n, e) {
1058
1058
  if (n) {
1059
- if (typeof n == "string") return Ce(n, e);
1059
+ if (typeof n == "string") return xe(n, e);
1060
1060
  var t = {}.toString.call(n).slice(8, -1);
1061
- return t === "Object" && n.constructor && (t = n.constructor.name), t === "Map" || t === "Set" ? Array.from(n) : t === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t) ? Ce(n, e) : void 0;
1061
+ return t === "Object" && n.constructor && (t = n.constructor.name), t === "Map" || t === "Set" ? Array.from(n) : t === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t) ? xe(n, e) : void 0;
1062
1062
  }
1063
1063
  }
1064
1064
  function Co(n) {
1065
1065
  return (function(e) {
1066
- if (Array.isArray(e)) return Ce(e);
1066
+ if (Array.isArray(e)) return xe(e);
1067
1067
  })(n) || (function(e) {
1068
1068
  if (typeof Symbol < "u" && e[Symbol.iterator] != null || e["@@iterator"] != null) return Array.from(e);
1069
- })(n) || Ot(n) || (function() {
1069
+ })(n) || kt(n) || (function() {
1070
1070
  throw new TypeError(`Invalid attempt to spread non-iterable instance.
1071
1071
  In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`);
1072
1072
  })();
1073
1073
  }
1074
- function kt() {
1074
+ function Mt() {
1075
1075
  try {
1076
1076
  var n = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function() {
1077
1077
  }));
1078
1078
  } catch {
1079
1079
  }
1080
- return (kt = function() {
1080
+ return (Mt = function() {
1081
1081
  return !!n;
1082
1082
  })();
1083
1083
  }
1084
1084
  var Je = (function() {
1085
1085
  function n(e, t) {
1086
1086
  var o, r, l, i;
1087
- return M(this, n), r = this, i = [e, t], l = T(l = n), (o = W(r, kt() ? Reflect.construct(l, i || [], T(r).constructor) : l.apply(r, i)))._loadMoreRowsMemoizer = Y(), o._onRowsRendered = o._onRowsRendered.bind(o), o._registerChild = o._registerChild.bind(o), o;
1087
+ return M(this, n), r = this, i = [e, t], l = T(l = n), (o = W(r, Mt() ? Reflect.construct(l, i || [], T(r).constructor) : l.apply(r, i)))._loadMoreRowsMemoizer = Y(), o._onRowsRendered = o._onRowsRendered.bind(o), o._registerChild = o._registerChild.bind(o), o;
1088
1088
  }
1089
- return H(n, C.PureComponent), L(n, [{ key: "resetLoadMoreRowsCache", value: function(e) {
1089
+ return D(n, C.PureComponent), L(n, [{ key: "resetLoadMoreRowsCache", value: function(e) {
1090
1090
  this._loadMoreRowsMemoizer = Y(), e && this._doStuff(this._lastRenderedStartIndex, this._lastRenderedStopIndex);
1091
1091
  } }, { key: "render", value: function() {
1092
1092
  return (0, this.props.children)({ onRowsRendered: this._onRowsRendered, registerChild: this._registerChild });
@@ -1110,13 +1110,13 @@ var Je = (function() {
1110
1110
  for (var h = f.isRowLoaded, v = f.minimumBatchSize, g = f.rowCount, _ = f.startIndex, S = f.stopIndex, m = [], y = null, w = null, x = _; x <= S; x++)
1111
1111
  h({ index: x }) ? w !== null && (m.push({ startIndex: y, stopIndex: w }), y = w = null) : (w = x, y === null && (y = x));
1112
1112
  if (w !== null) {
1113
- for (var b = Math.min(Math.max(w, y + v - 1), g - 1), z = w + 1; z <= b && !h({ index: z }); z++) w = z;
1113
+ for (var R = Math.min(Math.max(w, y + v - 1), g - 1), z = w + 1; z <= R && !h({ index: z }); z++) w = z;
1114
1114
  m.push({ startIndex: y, stopIndex: w });
1115
1115
  }
1116
- if (m.length) for (var R = m[0]; R.stopIndex - R.startIndex + 1 < v && R.startIndex > 0; ) {
1117
- var P = R.startIndex - 1;
1116
+ if (m.length) for (var b = m[0]; b.stopIndex - b.startIndex + 1 < v && b.startIndex > 0; ) {
1117
+ var P = b.startIndex - 1;
1118
1118
  if (h({ index: P })) break;
1119
- R.startIndex = P;
1119
+ b.startIndex = P;
1120
1120
  }
1121
1121
  return m;
1122
1122
  })({ isRowLoaded: i, minimumBatchSize: a, rowCount: s, startIndex: Math.max(0, e - c), stopIndex: Math.min(s - 1, t + c) }), u = (o = []).concat.apply(o, Co(d.map(function(f) {
@@ -1129,13 +1129,13 @@ var Je = (function() {
1129
1129
  this._registeredChild = e;
1130
1130
  } }]);
1131
1131
  })();
1132
- function Mt() {
1132
+ function Lt() {
1133
1133
  try {
1134
1134
  var n = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function() {
1135
1135
  }));
1136
1136
  } catch {
1137
1137
  }
1138
- return (Mt = function() {
1138
+ return (Lt = function() {
1139
1139
  return !!n;
1140
1140
  })();
1141
1141
  }
@@ -1145,7 +1145,7 @@ var xo = (function() {
1145
1145
  var e, t, o, r;
1146
1146
  M(this, n);
1147
1147
  for (var l = arguments.length, i = new Array(l), a = 0; a < l; a++) i[a] = arguments[a];
1148
- return t = this, o = n, r = [].concat(i), o = T(o), p(e = W(t, Mt() ? Reflect.construct(o, r || [], T(t).constructor) : o.apply(t, r)), "Grid", void 0), p(e, "_cellRenderer", function(s) {
1148
+ return t = this, o = n, r = [].concat(i), o = T(o), p(e = W(t, Lt() ? Reflect.construct(o, r || [], T(t).constructor) : o.apply(t, r)), "Grid", void 0), p(e, "_cellRenderer", function(s) {
1149
1149
  var c = s.parent, d = s.rowIndex, u = s.style, f = s.isScrolling, h = s.isVisible, v = s.key, g = e.props.rowRenderer, _ = Object.getOwnPropertyDescriptor(u, "width");
1150
1150
  return _ && _.writable && (u.width = "100%"), g({ index: d, style: u, isScrolling: f, isVisible: h, key: v, parent: c });
1151
1151
  }), p(e, "_setRef", function(s) {
@@ -1158,7 +1158,7 @@ var xo = (function() {
1158
1158
  (0, e.props.onRowsRendered)({ overscanStartIndex: c, overscanStopIndex: d, startIndex: u, stopIndex: f });
1159
1159
  }), e;
1160
1160
  }
1161
- return H(n, C.PureComponent), L(n, [{ key: "forceUpdateGrid", value: function() {
1161
+ return D(n, C.PureComponent), L(n, [{ key: "forceUpdateGrid", value: function() {
1162
1162
  this.Grid && this.Grid.forceUpdate();
1163
1163
  } }, { key: "getOffsetForRow", value: function(e) {
1164
1164
  var t = e.alignment, o = e.index;
@@ -1205,7 +1205,7 @@ function Ro(n, e) {
1205
1205
  }
1206
1206
  return c;
1207
1207
  }
1208
- })(n, e) || Ot(n, e) || (function() {
1208
+ })(n, e) || kt(n, e) || (function() {
1209
1209
  throw new TypeError(`Invalid attempt to destructure non-iterable instance.
1210
1210
  In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`);
1211
1211
  })();
@@ -1214,7 +1214,7 @@ p(xo, "defaultProps", { autoHeight: !1, estimatedRowSize: 30, onScroll: function
1214
1214
  }, noRowsRenderer: function() {
1215
1215
  return null;
1216
1216
  }, onRowsRendered: function() {
1217
- }, overscanIndicesGetter: Pt, overscanRowCount: 10, scrollToAlignment: "auto", scrollToIndex: -1, style: {} });
1217
+ }, overscanIndicesGetter: Ot, overscanRowCount: 10, scrollToAlignment: "auto", scrollToIndex: -1, style: {} });
1218
1218
  const he = { ge: function(n, e, t, o, r) {
1219
1219
  return typeof t == "function" ? (function(l, i, a, s, c) {
1220
1220
  for (var d = a + 1; i <= a; ) {
@@ -1288,24 +1288,24 @@ const he = { ge: function(n, e, t, o, r) {
1288
1288
  return -1;
1289
1289
  })(n, t === void 0 ? 0 : 0 | t, o === void 0 ? n.length - 1 : 0 | o, e);
1290
1290
  } };
1291
- function Oe(n, e, t, o, r) {
1291
+ function ke(n, e, t, o, r) {
1292
1292
  this.mid = n, this.left = e, this.right = t, this.leftPoints = o, this.rightPoints = r, this.count = (e ? e.count : 0) + (t ? t.count : 0) + o.length;
1293
1293
  }
1294
- var Q = Oe.prototype;
1294
+ var Q = ke.prototype;
1295
1295
  function ve(n, e) {
1296
1296
  n.mid = e.mid, n.left = e.left, n.right = e.right, n.leftPoints = e.leftPoints, n.rightPoints = e.rightPoints, n.count = e.count;
1297
1297
  }
1298
- function Lt(n, e) {
1298
+ function Gt(n, e) {
1299
1299
  var t = re(e);
1300
1300
  n.mid = t.mid, n.left = t.left, n.right = t.right, n.leftPoints = t.leftPoints, n.rightPoints = t.rightPoints, n.count = t.count;
1301
1301
  }
1302
1302
  function Ze(n, e) {
1303
1303
  var t = n.intervals([]);
1304
- t.push(e), Lt(n, t);
1304
+ t.push(e), Gt(n, t);
1305
1305
  }
1306
1306
  function Qe(n, e) {
1307
1307
  var t = n.intervals([]), o = t.indexOf(e);
1308
- return o < 0 ? 0 : (t.splice(o, 1), Lt(n, t), 1);
1308
+ return o < 0 ? 0 : (t.splice(o, 1), Gt(n, t), 1);
1309
1309
  }
1310
1310
  function et(n, e, t) {
1311
1311
  for (var o = 0; o < n.length && n[o][0] <= e; ++o) {
@@ -1328,11 +1328,11 @@ function ot(n, e) {
1328
1328
  function bo(n, e) {
1329
1329
  return n - e;
1330
1330
  }
1331
- function xe(n, e) {
1331
+ function Re(n, e) {
1332
1332
  var t = n[0] - e[0];
1333
1333
  return t || n[1] - e[1];
1334
1334
  }
1335
- function Re(n, e) {
1335
+ function be(n, e) {
1336
1336
  var t = n[1] - e[1];
1337
1337
  return t || n[0] - e[0];
1338
1338
  }
@@ -1346,9 +1346,9 @@ function re(n) {
1346
1346
  a[1] < o ? r.push(a) : o < a[0] ? l.push(a) : i.push(a);
1347
1347
  }
1348
1348
  var s = i, c = i.slice();
1349
- return s.sort(xe), c.sort(Re), new Oe(o, re(r), re(l), s, c);
1349
+ return s.sort(Re), c.sort(be), new ke(o, re(r), re(l), s, c);
1350
1350
  }
1351
- function Gt(n) {
1351
+ function At(n) {
1352
1352
  this.root = n;
1353
1353
  }
1354
1354
  Q.intervals = function(n) {
@@ -1358,7 +1358,7 @@ Q.intervals = function(n) {
1358
1358
  if (this.count += 1, n[1] < this.mid) this.left ? 4 * (this.left.count + 1) > 3 * (e + 1) ? Ze(this, n) : this.left.insert(n) : this.left = re([n]);
1359
1359
  else if (n[0] > this.mid) this.right ? 4 * (this.right.count + 1) > 3 * (e + 1) ? Ze(this, n) : this.right.insert(n) : this.right = re([n]);
1360
1360
  else {
1361
- var t = he.ge(this.leftPoints, n, xe), o = he.ge(this.rightPoints, n, Re);
1361
+ var t = he.ge(this.leftPoints, n, Re), o = he.ge(this.rightPoints, n, be);
1362
1362
  this.leftPoints.splice(t, 0, n), this.rightPoints.splice(o, 0, n);
1363
1363
  }
1364
1364
  }, Q.remove = function(n) {
@@ -1378,8 +1378,8 @@ Q.intervals = function(n) {
1378
1378
  } else this.left ? ve(this, this.left) : ve(this, this.right);
1379
1379
  return 1;
1380
1380
  }
1381
- for (r = he.ge(this.leftPoints, n, xe); r < this.leftPoints.length && this.leftPoints[r][0] === n[0]; ++r) if (this.leftPoints[r] === n) {
1382
- for (this.count -= 1, this.leftPoints.splice(r, 1), l = he.ge(this.rightPoints, n, Re); l < this.rightPoints.length && this.rightPoints[l][1] === n[1]; ++l) if (this.rightPoints[l] === n) return this.rightPoints.splice(l, 1), 1;
1381
+ for (r = he.ge(this.leftPoints, n, Re); r < this.leftPoints.length && this.leftPoints[r][0] === n[0]; ++r) if (this.leftPoints[r] === n) {
1382
+ for (this.count -= 1, this.leftPoints.splice(r, 1), l = he.ge(this.rightPoints, n, be); l < this.rightPoints.length && this.rightPoints[l][1] === n[1]; ++l) if (this.rightPoints[l] === n) return this.rightPoints.splice(l, 1), 1;
1383
1383
  }
1384
1384
  return 0;
1385
1385
  }, Q.queryPoint = function(n, e) {
@@ -1394,9 +1394,9 @@ Q.intervals = function(n) {
1394
1394
  var o;
1395
1395
  return n < this.mid && this.left && (o = this.left.queryInterval(n, e, t)) || e > this.mid && this.right && (o = this.right.queryInterval(n, e, t)) ? o : e < this.mid ? et(this.leftPoints, e, t) : n > this.mid ? tt(this.rightPoints, n, t) : ot(this.leftPoints, t);
1396
1396
  };
1397
- var X = Gt.prototype;
1397
+ var X = At.prototype;
1398
1398
  X.insert = function(n) {
1399
- this.root ? this.root.insert(n) : this.root = new Oe(n[0], null, null, [n], [n]);
1399
+ this.root ? this.root.insert(n) : this.root = new ke(n[0], null, null, [n], [n]);
1400
1400
  }, X.remove = function(n) {
1401
1401
  if (this.root) {
1402
1402
  var e = this.root.remove(n);
@@ -1414,7 +1414,7 @@ X.insert = function(n) {
1414
1414
  } });
1415
1415
  var _e = (function() {
1416
1416
  return L(function n() {
1417
- M(this, n), p(this, "_columnSizeMap", {}), p(this, "_intervalTree", new Gt(null)), p(this, "_leftMap", {});
1417
+ M(this, n), p(this, "_columnSizeMap", {}), p(this, "_intervalTree", new At(null)), p(this, "_leftMap", {});
1418
1418
  }, [{ key: "estimateTotalHeight", value: function(n, e, t) {
1419
1419
  var o = n - this.count;
1420
1420
  return this.tallestColumnSize + Math.ceil(o / e) * t;
@@ -1469,13 +1469,13 @@ function zo(n) {
1469
1469
  }
1470
1470
  return n;
1471
1471
  }
1472
- function At() {
1472
+ function Et() {
1473
1473
  try {
1474
1474
  var n = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function() {
1475
1475
  }));
1476
1476
  } catch {
1477
1477
  }
1478
- return (At = function() {
1478
+ return (Et = function() {
1479
1479
  return !!n;
1480
1480
  })();
1481
1481
  }
@@ -1484,7 +1484,7 @@ var rt = (function() {
1484
1484
  var e, t, o, r;
1485
1485
  M(this, n);
1486
1486
  for (var l = arguments.length, i = new Array(l), a = 0; a < l; a++) i[a] = arguments[a];
1487
- return t = this, o = n, r = [].concat(i), o = T(o), p(e = W(t, At() ? Reflect.construct(o, r || [], T(t).constructor) : o.apply(t, r)), "state", { isScrolling: !1, scrollTop: 0 }), p(e, "_debounceResetIsScrollingId", void 0), p(e, "_invalidateOnUpdateStartIndex", null), p(e, "_invalidateOnUpdateStopIndex", null), p(e, "_positionCache", new _e()), p(e, "_startIndex", null), p(e, "_startIndexMemoized", null), p(e, "_stopIndex", null), p(e, "_stopIndexMemoized", null), p(e, "_debounceResetIsScrollingCallback", function() {
1487
+ return t = this, o = n, r = [].concat(i), o = T(o), p(e = W(t, Et() ? Reflect.construct(o, r || [], T(t).constructor) : o.apply(t, r)), "state", { isScrolling: !1, scrollTop: 0 }), p(e, "_debounceResetIsScrollingId", void 0), p(e, "_invalidateOnUpdateStartIndex", null), p(e, "_invalidateOnUpdateStopIndex", null), p(e, "_positionCache", new _e()), p(e, "_startIndex", null), p(e, "_startIndexMemoized", null), p(e, "_stopIndex", null), p(e, "_stopIndexMemoized", null), p(e, "_debounceResetIsScrollingCallback", function() {
1488
1488
  e.setState({ isScrolling: !1 });
1489
1489
  }), p(e, "_setScrollingContainerRef", function(s) {
1490
1490
  e._scrollingContainer = s;
@@ -1493,7 +1493,7 @@ var rt = (function() {
1493
1493
  d === u && (e._debounceResetIsScrolling(), e.state.scrollTop !== u && e.setState({ isScrolling: !0, scrollTop: u }));
1494
1494
  }), e;
1495
1495
  }
1496
- return H(n, C.PureComponent), L(n, [{ key: "clearCellPositions", value: function() {
1496
+ return D(n, C.PureComponent), L(n, [{ key: "clearCellPositions", value: function() {
1497
1497
  this._positionCache = new _e(), this.forceUpdate();
1498
1498
  } }, { key: "invalidateCellSizeAfterRender", value: function(e) {
1499
1499
  var t = e.rowIndex;
@@ -1508,11 +1508,11 @@ var rt = (function() {
1508
1508
  } }, { key: "componentWillUnmount", value: function() {
1509
1509
  this._debounceResetIsScrollingId && J(this._debounceResetIsScrollingId);
1510
1510
  } }, { key: "render", value: function() {
1511
- var e, t = this, o = this.props, r = o.autoHeight, l = o.cellCount, i = o.cellMeasurerCache, a = o.cellRenderer, s = o.className, c = o.height, d = o.id, u = o.keyMapper, f = o.overscanByPixels, h = o.role, v = o.style, g = o.tabIndex, _ = o.width, S = o.rowDirection, m = this.state, y = m.isScrolling, w = m.scrollTop, x = [], b = this._getEstimatedTotalHeight(), z = this._positionCache.shortestColumnSize, R = this._positionCache.count, P = 0;
1511
+ var e, t = this, o = this.props, r = o.autoHeight, l = o.cellCount, i = o.cellMeasurerCache, a = o.cellRenderer, s = o.className, c = o.height, d = o.id, u = o.keyMapper, f = o.overscanByPixels, h = o.role, v = o.style, g = o.tabIndex, _ = o.width, S = o.rowDirection, m = this.state, y = m.isScrolling, w = m.scrollTop, x = [], R = this._getEstimatedTotalHeight(), z = this._positionCache.shortestColumnSize, b = this._positionCache.count, P = 0;
1512
1512
  if (this._positionCache.range(Math.max(0, w - f), c + 2 * f, function(A, E, j) {
1513
1513
  e === void 0 ? (P = A, e = A) : (P = Math.min(P, A), e = Math.max(e, A)), x.push(a({ index: A, isScrolling: y, key: u(A), parent: t, style: p(p(p(p({ height: i.getHeight(A) }, S === "ltr" ? "left" : "right", E), "position", "absolute"), "top", j), "width", i.getWidth(A)) }));
1514
- }), z < w + c + f && R < l) for (var k = Math.min(l - R, Math.ceil((w + c + f - z) / i.defaultHeight * _ / i.defaultWidth)), I = R; I < R + k; I++) e = I, x.push(a({ index: I, isScrolling: y, key: u(I), parent: this, style: { width: i.getWidth(I) } }));
1515
- return this._startIndex = P, this._stopIndex = e, C.createElement("div", { ref: this._setScrollingContainerRef, "aria-label": this.props["aria-label"], className: N("ReactVirtualized__Masonry", s), id: d, onScroll: this._onScroll, role: h, style: zo({ boxSizing: "border-box", direction: "ltr", height: r ? "auto" : c, overflowX: "hidden", overflowY: b < c ? "hidden" : "auto", position: "relative", width: _, WebkitOverflowScrolling: "touch", willChange: "transform" }, v), tabIndex: g }, C.createElement("div", { className: "ReactVirtualized__Masonry__innerScrollContainer", style: { width: "100%", height: b, maxWidth: "100%", maxHeight: b, overflow: "hidden", pointerEvents: y ? "none" : "", position: "relative" } }, x));
1514
+ }), z < w + c + f && b < l) for (var k = Math.min(l - b, Math.ceil((w + c + f - z) / i.defaultHeight * _ / i.defaultWidth)), I = b; I < b + k; I++) e = I, x.push(a({ index: I, isScrolling: y, key: u(I), parent: this, style: { width: i.getWidth(I) } }));
1515
+ return this._startIndex = P, this._stopIndex = e, C.createElement("div", { ref: this._setScrollingContainerRef, "aria-label": this.props["aria-label"], className: N("ReactVirtualized__Masonry", s), id: d, onScroll: this._onScroll, role: h, style: zo({ boxSizing: "border-box", direction: "ltr", height: r ? "auto" : c, overflowX: "hidden", overflowY: R < c ? "hidden" : "auto", position: "relative", width: _, WebkitOverflowScrolling: "touch", willChange: "transform" }, v), tabIndex: g }, C.createElement("div", { className: "ReactVirtualized__Masonry__innerScrollContainer", style: { width: "100%", height: R, maxWidth: "100%", maxHeight: R, overflow: "hidden", pointerEvents: y ? "none" : "", position: "relative" } }, x));
1516
1516
  } }, { key: "_checkInvalidateOnUpdate", value: function() {
1517
1517
  if (typeof this._invalidateOnUpdateStartIndex == "number") {
1518
1518
  var e = this._invalidateOnUpdateStartIndex, t = this._invalidateOnUpdateStopIndex;
@@ -1520,7 +1520,7 @@ var rt = (function() {
1520
1520
  }
1521
1521
  } }, { key: "_debounceResetIsScrolling", value: function() {
1522
1522
  var e = this.props.scrollingResetTimeInterval;
1523
- this._debounceResetIsScrollingId && J(this._debounceResetIsScrollingId), this._debounceResetIsScrollingId = Pe(this._debounceResetIsScrollingCallback, e);
1523
+ this._debounceResetIsScrollingId && J(this._debounceResetIsScrollingId), this._debounceResetIsScrollingId = Oe(this._debounceResetIsScrollingCallback, e);
1524
1524
  } }, { key: "_getEstimatedTotalHeight", value: function() {
1525
1525
  var e = this.props, t = e.cellCount, o = e.cellMeasurerCache, r = e.width, l = Math.max(1, Math.floor(r / o.defaultWidth));
1526
1526
  return this._positionCache.estimateTotalHeight(t, l, o.defaultHeight);
@@ -1601,20 +1601,20 @@ function O(n) {
1601
1601
  }
1602
1602
  return n;
1603
1603
  }
1604
- function Et() {
1604
+ function Wt() {
1605
1605
  try {
1606
1606
  var n = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function() {
1607
1607
  }));
1608
1608
  } catch {
1609
1609
  }
1610
- return (Et = function() {
1610
+ return (Wt = function() {
1611
1611
  return !!n;
1612
1612
  })();
1613
1613
  }
1614
1614
  var ye = (function() {
1615
1615
  function n(e, t) {
1616
1616
  var o, r, l, i;
1617
- M(this, n), r = this, i = [e, t], l = T(l = n), p(o = W(r, Et() ? Reflect.construct(l, i || [], T(r).constructor) : l.apply(r, i)), "state", { scrollLeft: 0, scrollTop: 0, scrollbarSize: 0, showHorizontalScrollbar: !1, showVerticalScrollbar: !1 }), p(o, "_deferredInvalidateColumnIndex", null), p(o, "_deferredInvalidateRowIndex", null), p(o, "_bottomLeftGridRef", function(d) {
1617
+ M(this, n), r = this, i = [e, t], l = T(l = n), p(o = W(r, Wt() ? Reflect.construct(l, i || [], T(r).constructor) : l.apply(r, i)), "state", { scrollLeft: 0, scrollTop: 0, scrollbarSize: 0, showHorizontalScrollbar: !1, showVerticalScrollbar: !1 }), p(o, "_deferredInvalidateColumnIndex", null), p(o, "_deferredInvalidateRowIndex", null), p(o, "_bottomLeftGridRef", function(d) {
1618
1618
  o._bottomLeftGrid = d;
1619
1619
  }), p(o, "_bottomRightGridRef", function(d) {
1620
1620
  o._bottomRightGrid = d;
@@ -1659,7 +1659,7 @@ var ye = (function() {
1659
1659
  var a = e.deferredMeasurementCache, s = e.fixedColumnCount, c = e.fixedRowCount;
1660
1660
  return o._maybeCalculateCachedStyles(!0), a && (o._deferredMeasurementCacheBottomLeftGrid = c > 0 ? new Se({ cellMeasurerCache: a, columnIndexOffset: 0, rowIndexOffset: c }) : a, o._deferredMeasurementCacheBottomRightGrid = s > 0 || c > 0 ? new Se({ cellMeasurerCache: a, columnIndexOffset: s, rowIndexOffset: c }) : a, o._deferredMeasurementCacheTopRightGrid = s > 0 ? new Se({ cellMeasurerCache: a, columnIndexOffset: s, rowIndexOffset: 0 }) : a), o;
1661
1661
  }
1662
- return H(n, C.PureComponent), L(n, [{ key: "forceUpdateGrids", value: function() {
1662
+ return D(n, C.PureComponent), L(n, [{ key: "forceUpdateGrids", value: function() {
1663
1663
  this._bottomLeftGrid && this._bottomLeftGrid.forceUpdate(), this._bottomRightGrid && this._bottomRightGrid.forceUpdate(), this._topLeftGrid && this._topLeftGrid.forceUpdate(), this._topRightGrid && this._topRightGrid.forceUpdate();
1664
1664
  } }, { key: "invalidateCellSizeAfterRender", value: function() {
1665
1665
  var e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, t = e.columnIndex, o = t === void 0 ? 0 : t, r = e.rowIndex, l = r === void 0 ? 0 : r;
@@ -1737,22 +1737,22 @@ var ye = (function() {
1737
1737
  return e.scrollLeft !== t.scrollLeft || e.scrollTop !== t.scrollTop ? { scrollLeft: e.scrollLeft != null && e.scrollLeft >= 0 ? e.scrollLeft : t.scrollLeft, scrollTop: e.scrollTop != null && e.scrollTop >= 0 ? e.scrollTop : t.scrollTop } : null;
1738
1738
  } }]);
1739
1739
  })();
1740
- function Wt() {
1740
+ function Dt() {
1741
1741
  try {
1742
1742
  var n = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function() {
1743
1743
  }));
1744
1744
  } catch {
1745
1745
  }
1746
- return (Wt = function() {
1746
+ return (Dt = function() {
1747
1747
  return !!n;
1748
1748
  })();
1749
1749
  }
1750
1750
  p(ye, "defaultProps", { classNameBottomLeftGrid: "", classNameBottomRightGrid: "", classNameTopLeftGrid: "", classNameTopRightGrid: "", enableFixedColumnScroll: !1, enableFixedRowScroll: !1, fixedColumnCount: 0, fixedRowCount: 0, scrollToColumn: -1, scrollToRow: -1, style: {}, styleBottomLeftGrid: {}, styleBottomRightGrid: {}, styleTopLeftGrid: {}, styleTopRightGrid: {}, hideTopRightGridScrollbar: !1, hideBottomLeftGridScrollbar: !1 }), ye.propTypes = {}, le(ye), (function() {
1751
1751
  function n(e, t) {
1752
1752
  var o, r, l, i;
1753
- return M(this, n), r = this, i = [e, t], l = T(l = n), (o = W(r, Wt() ? Reflect.construct(l, i || [], T(r).constructor) : l.apply(r, i))).state = { clientHeight: 0, clientWidth: 0, scrollHeight: 0, scrollLeft: 0, scrollTop: 0, scrollWidth: 0 }, o._onScroll = o._onScroll.bind(o), o;
1753
+ return M(this, n), r = this, i = [e, t], l = T(l = n), (o = W(r, Dt() ? Reflect.construct(l, i || [], T(r).constructor) : l.apply(r, i))).state = { clientHeight: 0, clientWidth: 0, scrollHeight: 0, scrollLeft: 0, scrollTop: 0, scrollWidth: 0 }, o._onScroll = o._onScroll.bind(o), o;
1754
1754
  }
1755
- return H(n, C.PureComponent), L(n, [{ key: "render", value: function() {
1755
+ return D(n, C.PureComponent), L(n, [{ key: "render", value: function() {
1756
1756
  var e = this.props.children, t = this.state, o = t.clientHeight, r = t.clientWidth, l = t.scrollHeight, i = t.scrollLeft, a = t.scrollTop, s = t.scrollWidth;
1757
1757
  return e({ clientHeight: o, clientWidth: r, onScroll: this._onScroll, scrollHeight: l, scrollLeft: i, scrollTop: a, scrollWidth: s });
1758
1758
  } }, { key: "_onScroll", value: function(e) {
@@ -1760,28 +1760,28 @@ p(ye, "defaultProps", { classNameBottomLeftGrid: "", classNameBottomRightGrid: "
1760
1760
  this.setState({ clientHeight: t, clientWidth: o, scrollHeight: r, scrollLeft: l, scrollTop: i, scrollWidth: a });
1761
1761
  } }]);
1762
1762
  })().propTypes = {};
1763
- var ie = "ASC", be = "DESC";
1763
+ var ie = "ASC", ze = "DESC";
1764
1764
  function Ht(n) {
1765
- var e = n.sortDirection, t = N("ReactVirtualized__Table__sortableHeaderIcon", { "ReactVirtualized__Table__sortableHeaderIcon--ASC": e === ie, "ReactVirtualized__Table__sortableHeaderIcon--DESC": e === be });
1765
+ var e = n.sortDirection, t = N("ReactVirtualized__Table__sortableHeaderIcon", { "ReactVirtualized__Table__sortableHeaderIcon--ASC": e === ie, "ReactVirtualized__Table__sortableHeaderIcon--DESC": e === ze });
1766
1766
  return C.createElement("svg", { className: t, width: 18, height: 18, viewBox: "0 0 24 24" }, e === ie ? C.createElement("path", { d: "M7 14l5-5 5 5z" }) : C.createElement("path", { d: "M7 10l5 5 5-5z" }), C.createElement("path", { d: "M0 0h24v24H0z", fill: "none" }));
1767
1767
  }
1768
- function Dt() {
1768
+ function jt() {
1769
1769
  try {
1770
1770
  var n = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function() {
1771
1771
  }));
1772
1772
  } catch {
1773
1773
  }
1774
- return (Dt = function() {
1774
+ return (jt = function() {
1775
1775
  return !!n;
1776
1776
  })();
1777
1777
  }
1778
1778
  Ht.propTypes = {};
1779
1779
  var pe = (function() {
1780
1780
  function n() {
1781
- return M(this, n), e = this, o = arguments, t = T(t = n), W(e, Dt() ? Reflect.construct(t, o || [], T(e).constructor) : t.apply(e, o));
1781
+ return M(this, n), e = this, o = arguments, t = T(t = n), W(e, jt() ? Reflect.construct(t, o || [], T(e).constructor) : t.apply(e, o));
1782
1782
  var e, t, o;
1783
1783
  }
1784
- return H(n, C.Component), L(n);
1784
+ return D(n, C.Component), L(n);
1785
1785
  })();
1786
1786
  function st(n, e) {
1787
1787
  var t = Object.keys(n);
@@ -1804,13 +1804,13 @@ function B(n) {
1804
1804
  }
1805
1805
  return n;
1806
1806
  }
1807
- function jt() {
1807
+ function Ft() {
1808
1808
  try {
1809
1809
  var n = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function() {
1810
1810
  }));
1811
1811
  } catch {
1812
1812
  }
1813
- return (jt = function() {
1813
+ return (Ft = function() {
1814
1814
  return !!n;
1815
1815
  })();
1816
1816
  }
@@ -1824,12 +1824,12 @@ p(pe, "defaultProps", { cellDataGetter: function(n) {
1824
1824
  var e = n.dataKey, t = n.label, o = n.sortBy, r = n.sortDirection, l = o === e, i = [C.createElement("span", { className: "ReactVirtualized__Table__headerTruncatedText", key: "label", title: typeof t == "string" ? t : null }, t)];
1825
1825
  return l && i.push(C.createElement(Ht, { key: "SortIndicator", sortDirection: r })), i;
1826
1826
  }, style: {} }), pe.propTypes = {};
1827
- var ze = (function() {
1827
+ var Te = (function() {
1828
1828
  function n(e) {
1829
1829
  var t, o, r, l;
1830
- return M(this, n), o = this, l = [e], r = T(r = n), (t = W(o, jt() ? Reflect.construct(r, l || [], T(o).constructor) : r.apply(o, l))).state = { scrollbarWidth: 0 }, t._createColumn = t._createColumn.bind(t), t._createRow = t._createRow.bind(t), t._onScroll = t._onScroll.bind(t), t._onSectionRendered = t._onSectionRendered.bind(t), t._setRef = t._setRef.bind(t), t._setGridElementRef = t._setGridElementRef.bind(t), t;
1830
+ return M(this, n), o = this, l = [e], r = T(r = n), (t = W(o, Ft() ? Reflect.construct(r, l || [], T(o).constructor) : r.apply(o, l))).state = { scrollbarWidth: 0 }, t._createColumn = t._createColumn.bind(t), t._createRow = t._createRow.bind(t), t._onScroll = t._onScroll.bind(t), t._onSectionRendered = t._onSectionRendered.bind(t), t._setRef = t._setRef.bind(t), t._setGridElementRef = t._setGridElementRef.bind(t), t;
1831
1831
  }
1832
- return H(n, C.PureComponent), L(n, [{ key: "forceUpdateGrid", value: function() {
1832
+ return D(n, C.PureComponent), L(n, [{ key: "forceUpdateGrid", value: function() {
1833
1833
  this.Grid && this.Grid.forceUpdate();
1834
1834
  } }, { key: "getOffsetForRow", value: function(e) {
1835
1835
  var t = e.alignment, o = e.index;
@@ -1863,9 +1863,9 @@ var ze = (function() {
1863
1863
  this._setScrollbarWidth();
1864
1864
  } }, { key: "render", value: function() {
1865
1865
  var e = this, t = this.props, o = t.children, r = t.className, l = t.disableHeader, i = t.gridClassName, a = t.gridStyle, s = t.headerHeight, c = t.headerRowRenderer, d = t.height, u = t.id, f = t.noRowsRenderer, h = t.rowClassName, v = t.rowStyle, g = t.scrollToIndex, _ = t.style, S = t.width, m = this.state.scrollbarWidth, y = l ? d : d - s, w = typeof h == "function" ? h({ index: -1 }) : h, x = typeof v == "function" ? v({ index: -1 }) : v;
1866
- return this._cachedColumnStyles = [], C.Children.toArray(o).forEach(function(b, z) {
1867
- var R = e._getFlexStyleForColumn(b, b.props.style || pe.defaultProps.style);
1868
- e._cachedColumnStyles[z] = B({ overflow: "hidden" }, R);
1866
+ return this._cachedColumnStyles = [], C.Children.toArray(o).forEach(function(R, z) {
1867
+ var b = e._getFlexStyleForColumn(R, R.props.style || pe.defaultProps.style);
1868
+ e._cachedColumnStyles[z] = B({ overflow: "hidden" }, b);
1869
1869
  }), C.createElement("div", { "aria-label": this.props["aria-label"], "aria-labelledby": this.props["aria-labelledby"], "aria-colcount": C.Children.toArray(o).length, "aria-rowcount": this.props.rowCount, className: N("ReactVirtualized__Table", r), id: u, role: "grid", style: _ }, !l && c({ className: N("ReactVirtualized__Table__headerRow", w), columns: this._getHeaderColumns(), style: B({ height: s, overflow: "hidden", paddingRight: m, width: S }, x) }), C.createElement(V, U({}, this.props, { elementRef: this._setGridElementRef, "aria-readonly": null, autoContainerWidth: !0, className: N("ReactVirtualized__Table__Grid", i), cellRenderer: this._createRow, columnWidth: S, columnCount: 1, height: y, id: void 0, noContentRenderer: f, onScroll: this._onScroll, onSectionRendered: this._onSectionRendered, ref: this._setRef, role: "rowgroup", scrollbarWidth: m, scrollToRow: g, style: B(B({}, a), {}, { overflowX: "hidden" }) })));
1870
1870
  } }, { key: "_createColumn", value: function(e) {
1871
1871
  var t = e.column, o = e.columnIndex, r = e.isScrolling, l = e.parent, i = e.rowData, a = e.rowIndex, s = this.props.onColumnClick, c = t.props, d = c.cellDataGetter, u = c.cellRenderer, f = c.className, h = c.columnData, v = c.dataKey, g = c.id, _ = u({ cellData: d({ columnData: h, dataKey: v, rowData: i }), columnData: h, columnIndex: o, dataKey: v, isScrolling: r, parent: l, rowData: i, rowIndex: a }), S = this._cachedColumnStyles[o], m = typeof _ == "string" ? _ : null;
@@ -1873,21 +1873,21 @@ var ze = (function() {
1873
1873
  s && s({ columnData: h, dataKey: v, event: y });
1874
1874
  }, role: "gridcell", style: S, title: m }, _);
1875
1875
  } }, { key: "_createHeader", value: function(e) {
1876
- var t, o, r, l, i, a = e.column, s = e.index, c = this.props, d = c.headerClassName, u = c.headerStyle, f = c.onHeaderClick, h = c.sort, v = c.sortBy, g = c.sortDirection, _ = a.props, S = _.columnData, m = _.dataKey, y = _.defaultSortDirection, w = _.disableSort, x = _.headerRenderer, b = _.id, z = _.label, R = !w && h, P = N("ReactVirtualized__Table__headerColumn", d, a.props.headerClassName, { ReactVirtualized__Table__sortableHeaderColumn: R }), k = this._getFlexStyleForColumn(a, B(B({}, u), a.props.headerStyle)), I = x({ columnData: S, dataKey: m, disableSort: w, label: z, sortBy: v, sortDirection: g });
1877
- if (R || f) {
1878
- var A = v !== m ? y : g === be ? ie : be, E = function(j) {
1879
- R && h({ defaultSortDirection: y, event: j, sortBy: m, sortDirection: A }), f && f({ columnData: S, dataKey: m, event: j });
1876
+ var t, o, r, l, i, a = e.column, s = e.index, c = this.props, d = c.headerClassName, u = c.headerStyle, f = c.onHeaderClick, h = c.sort, v = c.sortBy, g = c.sortDirection, _ = a.props, S = _.columnData, m = _.dataKey, y = _.defaultSortDirection, w = _.disableSort, x = _.headerRenderer, R = _.id, z = _.label, b = !w && h, P = N("ReactVirtualized__Table__headerColumn", d, a.props.headerClassName, { ReactVirtualized__Table__sortableHeaderColumn: b }), k = this._getFlexStyleForColumn(a, B(B({}, u), a.props.headerStyle)), I = x({ columnData: S, dataKey: m, disableSort: w, label: z, sortBy: v, sortDirection: g });
1877
+ if (b || f) {
1878
+ var A = v !== m ? y : g === ze ? ie : ze, E = function(j) {
1879
+ b && h({ defaultSortDirection: y, event: j, sortBy: m, sortDirection: A }), f && f({ columnData: S, dataKey: m, event: j });
1880
1880
  };
1881
1881
  i = a.props["aria-label"] || z || m, l = "none", r = 0, t = E, o = function(j) {
1882
1882
  j.key !== "Enter" && j.key !== " " || E(j);
1883
1883
  };
1884
1884
  }
1885
- return v === m && (l = g === ie ? "ascending" : "descending"), C.createElement("div", { "aria-label": i, "aria-sort": l, className: P, id: b, key: "Header-Col" + s, onClick: t, onKeyDown: o, role: "columnheader", style: k, tabIndex: r }, I);
1885
+ return v === m && (l = g === ie ? "ascending" : "descending"), C.createElement("div", { "aria-label": i, "aria-sort": l, className: P, id: R, key: "Header-Col" + s, onClick: t, onKeyDown: o, role: "columnheader", style: k, tabIndex: r }, I);
1886
1886
  } }, { key: "_createRow", value: function(e) {
1887
- var t = this, o = e.rowIndex, r = e.isScrolling, l = e.key, i = e.parent, a = e.style, s = this.props, c = s.children, d = s.onRowClick, u = s.onRowDoubleClick, f = s.onRowRightClick, h = s.onRowMouseOver, v = s.onRowMouseOut, g = s.rowClassName, _ = s.rowGetter, S = s.rowRenderer, m = s.rowStyle, y = this.state.scrollbarWidth, w = typeof g == "function" ? g({ index: o }) : g, x = typeof m == "function" ? m({ index: o }) : m, b = _({ index: o }), z = C.Children.toArray(c).map(function(k, I) {
1888
- return t._createColumn({ column: k, columnIndex: I, isScrolling: r, parent: i, rowData: b, rowIndex: o, scrollbarWidth: y });
1889
- }), R = N("ReactVirtualized__Table__row", w), P = B(B({}, a), {}, { height: this._getRowHeight(o), overflow: "hidden", paddingRight: y }, x);
1890
- return S({ className: R, columns: z, index: o, isScrolling: r, key: l, onRowClick: d, onRowDoubleClick: u, onRowRightClick: f, onRowMouseOver: h, onRowMouseOut: v, rowData: b, style: P });
1887
+ var t = this, o = e.rowIndex, r = e.isScrolling, l = e.key, i = e.parent, a = e.style, s = this.props, c = s.children, d = s.onRowClick, u = s.onRowDoubleClick, f = s.onRowRightClick, h = s.onRowMouseOver, v = s.onRowMouseOut, g = s.rowClassName, _ = s.rowGetter, S = s.rowRenderer, m = s.rowStyle, y = this.state.scrollbarWidth, w = typeof g == "function" ? g({ index: o }) : g, x = typeof m == "function" ? m({ index: o }) : m, R = _({ index: o }), z = C.Children.toArray(c).map(function(k, I) {
1888
+ return t._createColumn({ column: k, columnIndex: I, isScrolling: r, parent: i, rowData: R, rowIndex: o, scrollbarWidth: y });
1889
+ }), b = N("ReactVirtualized__Table__row", w), P = B(B({}, a), {}, { height: this._getRowHeight(o), overflow: "hidden", paddingRight: y }, x);
1890
+ return S({ className: b, columns: z, index: o, isScrolling: r, key: l, onRowClick: d, onRowDoubleClick: u, onRowRightClick: f, onRowMouseOver: h, onRowMouseOut: v, rowData: R, style: P });
1891
1891
  } }, { key: "_getFlexStyleForColumn", value: function(e) {
1892
1892
  var t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, o = "".concat(e.props.flexGrow, " ").concat(e.props.flexShrink, " ").concat(e.props.width, "px"), r = B(B({}, t), {}, { flex: o, msFlex: o, WebkitFlex: o });
1893
1893
  return e.props.maxWidth && (r.maxWidth = e.props.maxWidth), e.props.minWidth && (r.minWidth = e.props.minWidth), r;
@@ -1914,13 +1914,13 @@ var ze = (function() {
1914
1914
  this.setState({ scrollbarWidth: e });
1915
1915
  } }]);
1916
1916
  })();
1917
- p(ze, "defaultProps", { disableHeader: !1, estimatedRowSize: 30, headerHeight: 0, headerStyle: {}, noRowsRenderer: function() {
1917
+ p(Te, "defaultProps", { disableHeader: !1, estimatedRowSize: 30, headerHeight: 0, headerStyle: {}, noRowsRenderer: function() {
1918
1918
  return null;
1919
1919
  }, onRowsRendered: function() {
1920
1920
  return null;
1921
1921
  }, onScroll: function() {
1922
1922
  return null;
1923
- }, overscanIndicesGetter: Pt, overscanRowCount: 10, rowRenderer: function(n) {
1923
+ }, overscanIndicesGetter: Ot, overscanRowCount: 10, rowRenderer: function(n) {
1924
1924
  var e = n.className, t = n.columns, o = n.index, r = n.key, l = n.onRowClick, i = n.onRowDoubleClick, a = n.onRowMouseOut, s = n.onRowMouseOver, c = n.onRowRightClick, d = n.rowData, u = n.style, f = { "aria-rowindex": o + 1 };
1925
1925
  return (l || i || a || s || c) && (f["aria-label"] = "row", f.tabIndex = 0, l && (f.onClick = function(h) {
1926
1926
  return l({ event: h, index: o, rowData: d });
@@ -1936,23 +1936,23 @@ p(ze, "defaultProps", { disableHeader: !1, estimatedRowSize: 30, headerHeight: 0
1936
1936
  }, headerRowRenderer: function(n) {
1937
1937
  var e = n.className, t = n.columns, o = n.style;
1938
1938
  return C.createElement("div", { className: e, role: "row", style: o }, t);
1939
- }, rowStyle: {}, scrollToAlignment: "auto", scrollToIndex: -1, style: {} }), ze.propTypes = {};
1939
+ }, rowStyle: {}, scrollToAlignment: "auto", scrollToIndex: -1, style: {} }), Te.propTypes = {};
1940
1940
  var $ = [], ne = null, q = null;
1941
- function Ft() {
1941
+ function Nt() {
1942
1942
  q && (q = null, document.body && ne != null && (document.body.style.pointerEvents = ne), ne = null);
1943
1943
  }
1944
1944
  function ko() {
1945
- Ft(), $.forEach(function(n) {
1945
+ Nt(), $.forEach(function(n) {
1946
1946
  return n.__resetIsScrolling();
1947
1947
  });
1948
1948
  }
1949
- function Nt(n) {
1949
+ function Bt(n) {
1950
1950
  n.currentTarget === window && ne == null && document.body && (ne = document.body.style.pointerEvents, document.body.style.pointerEvents = "none"), (function() {
1951
1951
  q && J(q);
1952
1952
  var e = 0;
1953
1953
  $.forEach(function(t) {
1954
1954
  e = Math.max(e, t.props.scrollingResetTimeInterval);
1955
- }), q = Pe(ko, e);
1955
+ }), q = Oe(ko, e);
1956
1956
  })(), $.forEach(function(e) {
1957
1957
  e.props.scrollElement === n.currentTarget && e.__handleWindowScrollEvent();
1958
1958
  });
@@ -1960,21 +1960,21 @@ function Nt(n) {
1960
1960
  function at(n, e) {
1961
1961
  $.some(function(t) {
1962
1962
  return t.props.scrollElement === e;
1963
- }) || e.addEventListener("scroll", Nt), $.push(n);
1963
+ }) || e.addEventListener("scroll", Bt), $.push(n);
1964
1964
  }
1965
1965
  function ct(n, e) {
1966
1966
  ($ = $.filter(function(t) {
1967
1967
  return t !== n;
1968
- })).length || (e.removeEventListener("scroll", Nt), q && (J(q), Ft()));
1968
+ })).length || (e.removeEventListener("scroll", Bt), q && (J(q), Nt()));
1969
1969
  }
1970
- var ke = function(n) {
1970
+ var Me = function(n) {
1971
1971
  return n === window;
1972
1972
  }, te = function(n) {
1973
1973
  return n.getBoundingClientRect();
1974
1974
  };
1975
1975
  function dt(n, e) {
1976
1976
  if (n) {
1977
- if (ke(n)) {
1977
+ if (Me(n)) {
1978
1978
  var t = window, o = t.innerHeight, r = t.innerWidth;
1979
1979
  return { height: typeof o == "number" ? o : 0, width: typeof r == "number" ? r : 0 };
1980
1980
  }
@@ -1983,7 +1983,7 @@ function dt(n, e) {
1983
1983
  return { height: e.serverHeight, width: e.serverWidth };
1984
1984
  }
1985
1985
  function ut(n) {
1986
- return ke(n) && document.documentElement ? { top: "scrollY" in window ? window.scrollY : document.documentElement.scrollTop, left: "scrollX" in window ? window.scrollX : document.documentElement.scrollLeft } : { top: n.scrollTop, left: n.scrollLeft };
1986
+ return Me(n) && document.documentElement ? { top: "scrollY" in window ? window.scrollY : document.documentElement.scrollTop, left: "scrollX" in window ? window.scrollX : document.documentElement.scrollLeft } : { top: n.scrollTop, left: n.scrollLeft };
1987
1987
  }
1988
1988
  function ht(n, e) {
1989
1989
  var t = Object.keys(n);
@@ -2006,24 +2006,24 @@ function ft(n) {
2006
2006
  }
2007
2007
  return n;
2008
2008
  }
2009
- function Bt() {
2009
+ function Ut() {
2010
2010
  try {
2011
2011
  var n = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function() {
2012
2012
  }));
2013
2013
  } catch {
2014
2014
  }
2015
- return (Bt = function() {
2015
+ return (Ut = function() {
2016
2016
  return !!n;
2017
2017
  })();
2018
2018
  }
2019
- var Ut = function() {
2019
+ var Vt = function() {
2020
2020
  return typeof window < "u" ? window : void 0;
2021
2021
  }, Mo = (function() {
2022
2022
  function n() {
2023
2023
  var e, t, o, r;
2024
2024
  M(this, n);
2025
2025
  for (var l = arguments.length, i = new Array(l), a = 0; a < l; a++) i[a] = arguments[a];
2026
- return t = this, o = n, r = [].concat(i), o = T(o), p(e = W(t, Bt() ? Reflect.construct(o, r || [], T(t).constructor) : o.apply(t, r)), "_window", Ut()), p(e, "_isMounted", !1), p(e, "_positionFromTop", 0), p(e, "_positionFromLeft", 0), p(e, "_detectElementResize", void 0), p(e, "_child", void 0), p(e, "_windowScrollerRef", C.createRef()), p(e, "state", ft(ft({}, dt(e.props.scrollElement, e.props)), {}, { isScrolling: !1, scrollLeft: 0, scrollTop: 0 })), p(e, "_registerChild", function(s) {
2026
+ return t = this, o = n, r = [].concat(i), o = T(o), p(e = W(t, Ut() ? Reflect.construct(o, r || [], T(t).constructor) : o.apply(t, r)), "_window", Vt()), p(e, "_isMounted", !1), p(e, "_positionFromTop", 0), p(e, "_positionFromLeft", 0), p(e, "_detectElementResize", void 0), p(e, "_child", void 0), p(e, "_windowScrollerRef", C.createRef()), p(e, "state", ft(ft({}, dt(e.props.scrollElement, e.props)), {}, { isScrolling: !1, scrollLeft: 0, scrollTop: 0 })), p(e, "_registerChild", function(s) {
2027
2027
  !s || s instanceof Element || console.warn("WindowScroller registerChild expects to be passed Element or null"), e._child = s, e.updatePosition();
2028
2028
  }), p(e, "_onChildScroll", function(s) {
2029
2029
  var c = s.scrollTop;
@@ -2049,11 +2049,11 @@ var Ut = function() {
2049
2049
  e.setState({ isScrolling: !1 });
2050
2050
  }), e;
2051
2051
  }
2052
- return H(n, C.PureComponent), L(n, [{ key: "updatePosition", value: function() {
2052
+ return D(n, C.PureComponent), L(n, [{ key: "updatePosition", value: function() {
2053
2053
  var e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : this.props.scrollElement, t = this.props.onResize, o = this.state, r = o.height, l = o.width, i = this._child || this._windowScrollerRef.current;
2054
2054
  if (i instanceof Element && e) {
2055
2055
  var a = (function(c, d) {
2056
- if (ke(d) && document.documentElement) {
2056
+ if (Me(d) && document.documentElement) {
2057
2057
  var u = document.documentElement, f = te(c), h = te(u);
2058
2058
  return { top: f.top - h.top, left: f.left - h.left };
2059
2059
  }
@@ -2066,7 +2066,7 @@ var Ut = function() {
2066
2066
  r === s.height && l === s.width || (this.setState({ height: s.height, width: s.width }), t({ height: s.height, width: s.width })), this.props.updateScrollTopOnUpdatePosition === !0 && (this.__handleWindowScrollEvent(), this.__resetIsScrolling());
2067
2067
  } }, { key: "componentDidMount", value: function() {
2068
2068
  var e = this.props.scrollElement;
2069
- this._detectElementResize = wt(), this.updatePosition(e), e && (at(this, e), this._registerResizeListener(e)), this._isMounted = !0;
2069
+ this._detectElementResize = Ct(), this.updatePosition(e), e && (at(this, e), this._registerResizeListener(e)), this._isMounted = !0;
2070
2070
  } }, { key: "componentDidUpdate", value: function(e, t) {
2071
2071
  var o = this.props.scrollElement, r = e.scrollElement;
2072
2072
  r !== o && r != null && o != null && (this.updatePosition(o), ct(this, r), at(this, o), this._unregisterResizeListener(r), this._registerResizeListener(o));
@@ -2080,20 +2080,24 @@ var Ut = function() {
2080
2080
  })();
2081
2081
  p(Mo, "defaultProps", { onResize: function() {
2082
2082
  }, onScroll: function() {
2083
- }, scrollingResetTimeInterval: 150, scrollElement: Ut(), serverHeight: 0, serverWidth: 0 });
2084
- const oe = "ReactVirtualizedDemo-flexContainer", Vt = "ReactVirtualizedDemo-tableRow", Kt = "ReactVirtualizedDemo-tableRowHover", Te = "ReactVirtualizedDemo-tableCell", Ie = "ReactVirtualizedDemo-noClick";
2085
- class Lo extends mt.PureComponent {
2083
+ }, scrollingResetTimeInterval: 150, scrollElement: Vt(), serverHeight: 0, serverWidth: 0 });
2084
+ const oe = "ReactVirtualizedDemo-flexContainer", Kt = "ReactVirtualizedDemo-tableRow", qt = "ReactVirtualizedDemo-tableRowHover", Ie = "ReactVirtualizedDemo-tableCell", Pe = "ReactVirtualizedDemo-noClick";
2085
+ class Lo extends gt.PureComponent {
2086
2086
  constructor() {
2087
2087
  super(...arguments), this.getRowClassName = ({ index: e }) => {
2088
2088
  const { onRowClick: t } = this.props;
2089
- return ge(Vt, oe, { [Kt]: e !== -1 && t != null });
2090
- }, this.cellRenderer = ({ cellData: e, dataKey: t, columnIndex: o, width: r }) => {
2091
- const { columns: l, rowHeight: i, onRowClick: a } = this.props;
2092
- let s = e, c = { height: i, paddingRight: "2px", paddingTop: "0px", paddingBottom: "0px", minWidth: `${r}px`, maxWidth: `${r}px` };
2093
- return t === "shortcut" ? s = to(e) : t === "description" && (c = { ...c, fontSize: ".75rem", display: "block", paddingTop: "4px", whiteSpace: "pre-line" }), G(Le, { component: "div", className: ge(Te, oe, { [Ie]: a == null }), variant: "body", style: c, align: o != null && l[o].numeric ? "right" : "left", children: s });
2094
- }, this.headerRenderer = ({ label: e, columnIndex: t, width: o }) => {
2095
- const { headerHeight: r, columns: l } = this.props, i = l[t];
2096
- return G(Le, { component: "div", className: ge(Te, oe, Ie), variant: "head", sx: { width: o, height: r, backgroundColor: (a) => a.palette.grey[300] }, align: i.numeric ? "right" : "left", children: G("span", { children: i.label }) });
2089
+ return ge(Kt, oe, { [qt]: e !== -1 && t != null });
2090
+ }, this.cellRenderer = ({ cellData: e, rowData: t, dataKey: o, columnIndex: r, width: l }) => {
2091
+ const { columns: i, rowHeight: a, onRowClick: s } = this.props;
2092
+ let c = e, d = { height: a, paddingRight: "2px", paddingTop: "0px", paddingBottom: "0px", minWidth: `${l}px`, maxWidth: `${l}px` };
2093
+ if (o === "shortcut" ? c = to(e) : o === "description" && (d = { ...d, fontSize: ".75rem", display: "block", paddingTop: "4px", paddingRight: "8px", whiteSpace: "pre-line" }), o === "label") {
2094
+ let u = t.icon;
2095
+ u && typeof u != "string" || (u = G(mt, { iconKey: u })), c = we("div", { style: { display: "flex", alignItems: "center", gap: "8px" }, children: [u, e] });
2096
+ }
2097
+ return G(Le, { component: "div", className: ge(Ie, oe, { [Pe]: s == null }), variant: "body", style: d, align: r != null && i[r].numeric ? "right" : "left", children: c });
2098
+ }, this.headerRenderer = ({ label: e, columnIndex: t, dataKey: o, width: r }) => {
2099
+ const { headerHeight: l, columns: i } = this.props, a = i[t];
2100
+ return G(Le, { component: "div", className: ge(Ie, oe, Pe), variant: "head", sx: { width: r, height: l, paddingLeft: o === "label" ? "calc(16px + 8px + var(--icon-size, 1rem))" : void 0, backgroundColor: (s) => s.palette.grey[300] }, align: a.numeric ? "right" : "left", children: G("div", { children: a.label }) });
2097
2101
  };
2098
2102
  }
2099
2103
  static {
@@ -2101,30 +2105,30 @@ class Lo extends mt.PureComponent {
2101
2105
  }
2102
2106
  render() {
2103
2107
  const { columns: e, rowHeight: t, headerHeight: o, ...r } = this.props;
2104
- return G(xt, { children: ({ height: l, width: i }) => G(ze, { height: l, width: i, rowHeight: t, gridStyle: { direction: "inherit" }, headerHeight: o, ...r, rowClassName: this.getRowClassName, children: e.map(({ dataKey: a, width: s, widthLess: c, ...d }, u) => {
2108
+ return G(Rt, { children: ({ height: l, width: i }) => G(Te, { height: l, width: i, rowHeight: t, gridStyle: { direction: "inherit" }, headerHeight: o, ...r, rowClassName: this.getRowClassName, children: e.map(({ dataKey: a, width: s, widthLess: c, ...d }, u) => {
2105
2109
  const f = c ? i - c : s;
2106
2110
  return G(pe, { style: { flex: `1 1 ${f}px` }, headerRenderer: (h) => this.headerRenderer({ ...h, width: f, columnIndex: u }), className: oe, cellDataGetter: ({ rowData: h, columnData: v, dataKey: g }) => h[g], cellRenderer: (h) => this.cellRenderer({ ...h, width: f, columnIndex: u }), dataKey: a, width: f, ...d }, a);
2107
2111
  }) }) });
2108
2112
  }
2109
2113
  }
2110
- const Go = so(Lo)(({ theme: n }) => ({ "& .ReactVirtualized__Table__headerRow": { ...n.direction === "rtl" && { paddingLeft: "0 !important" }, ...n.direction !== "rtl" && { paddingRight: void 0 } }, "& .ReactVirtualized__Table__Grid": { outline: "none" }, [`& .${oe}`]: { display: "flex", alignItems: "center", boxSizing: "border-box" }, [`& .${Vt}`]: { cursor: "pointer" }, [`& .${Kt}`]: { "&:hover:not([disabled])": { backgroundColor: n.palette.grey[200] } }, [`& .${Te}`]: { flex: 1 }, [`& .${Ie}`]: { cursor: "initial" } }));
2114
+ const Go = so(Lo)(({ theme: n }) => ({ "& .ReactVirtualized__Table__headerRow": { ...n.direction === "rtl" && { paddingLeft: "0 !important" }, ...n.direction !== "rtl" && { paddingRight: void 0 } }, "& .ReactVirtualized__Table__Grid": { outline: "none" }, [`& .${oe}`]: { display: "flex", alignItems: "center", boxSizing: "border-box" }, [`& .${Kt}`]: { cursor: "pointer" }, [`& .${qt}`]: { "&:hover:not([disabled])": { backgroundColor: n.palette.grey[200] } }, [`& .${Ie}`]: { flex: 1 }, [`& .${Pe}`]: { cursor: "initial" } }));
2111
2115
  function Ao(n) {
2112
2116
  const { commands: e, ...t } = n, [o, r] = ae(!1), [l, i] = ae(""), a = ro(() => {
2113
2117
  let h = e.getAllCommands();
2114
- o || (h = h.filter((_) => _.command.shortcut())), h.sort((_, S) => _.command.label().localeCompare(S.command.label()));
2115
- const v = [], g = (_) => _.replace(/\n\n/g, `
2116
- `);
2117
- for (let _ = 0; _ < h.length; _++) {
2118
- const S = h[_].command, m = S.shortcut();
2119
- if (Array.isArray(m)) {
2120
- const y = m;
2121
- for (let w = 0; w < y.length; w++) v.push({ label: S.label(), description: g(S.description()), shortcut: y[w] });
2122
- } else v.push({ label: S.label(), description: g(S.description()), shortcut: S.shortcut() });
2118
+ o || (h = h.filter((S) => S.command.shortcut())), h.sort((S, m) => S.command.label().localeCompare(m.command.label()));
2119
+ const v = [], g = (S) => S.replace(/\n\n/g, `
2120
+ `), _ = h.length;
2121
+ for (let S = 0; S < _; S++) {
2122
+ const m = h[S].command, y = m.shortcut();
2123
+ if (Array.isArray(y)) {
2124
+ const w = y, x = w.length;
2125
+ for (let R = 0; R < x; R++) v.push({ label: m.label(), icon: m.icon(), description: g(m.description()), shortcut: w[R] });
2126
+ } else v.push({ label: m.label(), icon: m.icon(), description: g(m.description()), shortcut: m.shortcut() });
2123
2127
  }
2124
2128
  return v;
2125
2129
  }, [o, e]), [s, c] = ae(null);
2126
2130
  Ge(() => {
2127
- import("./DV6MYPn_wgUytG9p.mjs").then((h) => {
2131
+ import("./BobeGilMvc-Tjglo.mjs").then((h) => {
2128
2132
  c(new h.default(a, { threshold: 0, ignoreLocation: !0, keys: ["label", "description"] }));
2129
2133
  });
2130
2134
  }, [a]);
@@ -2136,19 +2140,19 @@ function Ao(n) {
2136
2140
  for (let g = 0; g < h.length; g++) v[g] = h[g].item;
2137
2141
  u(v);
2138
2142
  }, 90)();
2139
- }, [s, l]), Me(se, { style: { height: 440, width: "100%", display: "flex", flexDirection: "column" }, ...t, children: [Me(se, { sx: { display: "flex", alignItems: "center", justifyContent: "end", marginBottom: (h) => h.spacing(2), color: (h) => h.palette.text.secondary }, children: [G(qt, { slotProps: { input: { sx: { backgroundImage: `linear-gradient(${ce("#fff", de(5))}, ${ce("#fff", de(5))})` }, endAdornment: G($t, { sx: { opacity: l.length > 0 ? 1 : 0, display: l.length > 0 ? "flex" : "none" }, position: "end", children: G(Xt, { "aria-label": "clear search", onClick: () => i(""), edge: "end", children: G(eo, { iconKey: "Close" }) }) }) }, htmlInput: { className: "input", autoFocus: !0, spellCheck: !1, placeholder: "Type to search key bindings", autoComplete: "off", sx: { paddingTop: (h) => h.spacing(1), paddingBottom: (h) => h.spacing(1) } } }, sx: { flex: "1 1 40%", marginRight: (h) => h.spacing(1), "& .MuiOutlinedInput-notchedOutline": { borderColor: (h) => f ? `${h.palette.error.main} !important` : void 0 }, "& .MuiInputLabel-outlined": { color: (h) => f ? `${h.palette.error.main} !important` : void 0 } }, value: l, onChange: (h) => {
2143
+ }, [s, l]), we(se, { style: { height: 440, width: "100%", display: "flex", flexDirection: "column" }, ...t, children: [we(se, { sx: { display: "flex", alignItems: "center", justifyContent: "end", marginBottom: (h) => h.spacing(2), color: (h) => h.palette.text.secondary }, children: [G($t, { slotProps: { input: { sx: { backgroundImage: `linear-gradient(${ce("#fff", de(5))}, ${ce("#fff", de(5))})` }, endAdornment: G(Xt, { sx: { opacity: l.length > 0 ? 1 : 0, display: l.length > 0 ? "flex" : "none" }, position: "end", children: G(Yt, { "aria-label": "clear search", onClick: () => i(""), edge: "end", children: G(mt, { iconKey: "Close" }) }) }) }, htmlInput: { className: "input", autoFocus: !0, spellCheck: !1, placeholder: "Type to search key bindings", autoComplete: "off", sx: { paddingTop: (h) => h.spacing(1), paddingBottom: (h) => h.spacing(1) } } }, sx: { flex: "1 1 40%", marginRight: (h) => h.spacing(1), "& .MuiOutlinedInput-notchedOutline": { borderColor: (h) => f ? `${h.palette.error.main} !important` : void 0 }, "& .MuiInputLabel-outlined": { color: (h) => f ? `${h.palette.error.main} !important` : void 0 } }, value: l, onChange: (h) => {
2140
2144
  i(h.target.value);
2141
2145
  }, onKeyDown: (h) => {
2142
2146
  h.which === pt.Escape && l.length > 0 && (i(""), h.stopPropagation(), h.preventDefault());
2143
2147
  }, onContextMenu: (h) => {
2144
2148
  h.stopPropagation();
2145
- } }), G(Yt, { sx: { flex: "1 1 60%" }, control: G(Jt, { checked: o, onChange: () => r(!o) }), label: "Show commands without key bindings", labelPlacement: "start" })] }), G(se, { sx: { flex: "1 1 100%", borderRadius: (h) => `${h.shape.borderRadius}px`, border: (h) => `solid ${h.palette.divider} 1px`, paddingRight: "1px", overflow: "hidden", "* .MuiTableCell-head": { background: (h) => h.palette.background.paper, backgroundImage: `linear-gradient(${ce("#fff", de(5))}, ${ce("#fff", de(5))})` } }, children: G(Go, { rowCount: d.length, rowGetter: (h) => d[h.index], columns: [{ width: 180, label: "Command", dataKey: "label" }, { width: 260, label: "Key Binding", dataKey: "shortcut" }, { width: 240, label: "Description", dataKey: "description", widthLess: 440 }] }) }), G(se, { sx: { display: "flex", flexShrink: "0", paddingLeft: (h) => h.spacing(1), paddingTop: (h) => h.spacing(1), paddingRight: (h) => h.spacing(1), userSelect: "none", justifyContent: "flex-end" }, children: G(Zt, { noWrap: !0, component: "div", sx: { color: (h) => f ? h.palette.error.main : h.palette.text.secondary }, children: `${d.length === 0 ? "No" : d.length} shortcut key${d.length === 1 ? "" : "s"}${l.length > 0 ? " found" : ""}` }) })] });
2149
+ } }), G(Jt, { sx: { flex: "1 1 60%" }, control: G(Zt, { checked: o, onChange: () => r(!o) }), label: "Show commands without key bindings", labelPlacement: "start" })] }), G(se, { sx: { flex: "1 1 100%", borderRadius: (h) => `${h.shape.borderRadius}px`, border: (h) => `solid ${h.palette.divider} 1px`, paddingRight: "1px", overflow: "hidden", "* .MuiTableCell-head": { background: (h) => h.palette.background.paper, backgroundImage: `linear-gradient(${ce("#fff", de(5))}, ${ce("#fff", de(5))})` } }, children: G(Go, { rowCount: d.length, rowGetter: (h) => d[h.index], columns: [{ width: 214, label: "Command", dataKey: "label" }, { width: 226, label: "Key Binding", dataKey: "shortcut" }, { label: "Description", dataKey: "description", widthLess: 453 }] }) }), G(se, { sx: { display: "flex", flexShrink: "0", paddingLeft: (h) => h.spacing(1), paddingTop: (h) => h.spacing(1), paddingRight: (h) => h.spacing(1), userSelect: "none", justifyContent: "flex-end" }, children: G(Qt, { noWrap: !0, component: "div", sx: { color: (h) => f ? h.palette.error.main : h.palette.text.secondary }, children: `${d.length === 0 ? "No" : d.length} shortcut key${d.length === 1 ? "" : "s"}${l.length > 0 ? " found" : ""}` }) })] });
2146
2150
  }
2147
2151
  const Uo = (n) => {
2148
2152
  const { title: e = "Shortcut Keys", commands: t, sx: o, ...r } = n;
2149
2153
  return G(oo, { isModal: !0, onKeyDown: (l) => {
2150
2154
  l.keyCode === pt.F1 && l.preventDefault();
2151
- }, sx: { width: "780px", ...o }, title: e, autoFocusSel: ".input", ...r, children: G(Qt, { dividers: !0, children: G(Ao, { commands: t, sx: { marginBottom: "8px" } }) }) });
2155
+ }, sx: { width: "780px", ...o }, title: e, autoFocusSel: ".input", ...r, children: G(eo, { dividers: !0, children: G(Ao, { commands: t, sx: { marginBottom: "8px" } }) }) });
2152
2156
  };
2153
2157
  export {
2154
2158
  Uo as default