@pdf-viewer/react 0.5.0-beta.3 → 0.6.0-beta.0

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 (58) hide show
  1. package/dist/{RPLayout-c0d9e10f.js → RPLayout-33766f73.js} +100 -98
  2. package/dist/assets/MenuItem.css +1 -1
  3. package/dist/assets/RPTooltip.css +1 -1
  4. package/dist/components/RPController.js +1 -1
  5. package/dist/components/RPViewer.js +1 -1
  6. package/dist/components/layout/RPLayout.js +1 -1
  7. package/dist/components/layout/sidebar/RPSidebar.js +1 -1
  8. package/dist/components/layout/sidebar/Thumbnail.js +1 -1
  9. package/dist/components/layout/sidebar/Thumbnails.js +1 -1
  10. package/dist/components/layout/toolbar/DarkModeTool.js +23 -20
  11. package/dist/components/layout/toolbar/DocumentDialog.js +1 -1
  12. package/dist/components/layout/toolbar/DocumentProperties.js +1 -1
  13. package/dist/components/layout/toolbar/FileDownloadTool.js +1 -1
  14. package/dist/components/layout/toolbar/FileUploadTool.js +7 -4
  15. package/dist/components/layout/toolbar/FullScreenTool.js +3 -3
  16. package/dist/components/layout/toolbar/MenuItem.js +4 -4
  17. package/dist/components/layout/toolbar/MenuSeparator.js +1 -1
  18. package/dist/components/layout/toolbar/MostPageTool.js +2 -2
  19. package/dist/components/layout/toolbar/OtherTool.js +2 -2
  20. package/dist/components/layout/toolbar/Paginate.js +1 -1
  21. package/dist/components/layout/toolbar/PrintTool.js +1 -1
  22. package/dist/components/layout/toolbar/RPToolbar.js +1 -1
  23. package/dist/components/layout/toolbar/RPToolbarEnd.js +1 -1
  24. package/dist/components/layout/toolbar/RotateTool.js +11 -11
  25. package/dist/components/layout/toolbar/ScrollModeTool.js +12 -12
  26. package/dist/components/layout/toolbar/SearchTool.js +1 -1
  27. package/dist/components/layout/toolbar/SelectionModeTool.js +15 -15
  28. package/dist/components/layout/toolbar/ViewModeTool.js +1 -1
  29. package/dist/components/layout/toolbar/ZoomTool.js +2 -2
  30. package/dist/components/page/AnnotationLayer.js +1 -1
  31. package/dist/components/page/CanvasLayer.js +1 -1
  32. package/dist/components/page/DualPage.js +1 -1
  33. package/dist/components/page/RPPage.js +1 -1
  34. package/dist/components/page/SinglePage.js +1 -1
  35. package/dist/components/page/TextLayer.js +1 -1
  36. package/dist/components/ui/Checkbox.js +1 -1
  37. package/dist/components/ui/DropDown.js +1 -1
  38. package/dist/components/ui/LoadingIndicator.js +1 -1
  39. package/dist/components/ui/RPTooltip.js +572 -1877
  40. package/dist/contexts/PaginateContext.js +1 -1
  41. package/dist/contexts/PrintContext.js +1 -1
  42. package/dist/contexts/SearchContext.js +1 -1
  43. package/dist/contexts/ThumbnailsContext.js +1 -1
  44. package/dist/floating-ui.react-dom-e6d5fe8f.js +1327 -0
  45. package/dist/index-316854c1.js +2299 -0
  46. package/dist/index-71898eb9.js +139 -0
  47. package/dist/main.js +1 -1
  48. package/dist/utils/hooks/useFileDownload.js +1 -1
  49. package/dist/utils/hooks/useLicense.js +24 -16
  50. package/dist/utils/hooks/usePaginate.js +1 -1
  51. package/dist/utils/hooks/usePrint.js +1 -1
  52. package/dist/utils/hooks/useScrollToPage.js +1 -1
  53. package/dist/utils/hooks/useSearch.js +1 -1
  54. package/dist/utils/hooks/useThumbnail.js +1 -1
  55. package/dist/utils/hooks/useVirtualReactWindow.js +1 -1
  56. package/package.json +1 -1
  57. package/dist/index-2b077daa.js +0 -122
  58. package/dist/index-8049287f.js +0 -3639
@@ -1,6 +1,6 @@
1
1
  import { jsx as a, jsxs as O, Fragment as Ae } from "react/jsx-runtime";
2
2
  import * as V from "react";
3
- import { useRef as $, useEffect as A, useCallback as M, useState as F, useMemo as D, createContext as We, useContext as He, forwardRef as $e, useImperativeHandle as qt, createElement as Ne, PureComponent as zn, Component as Fn, memo as kn } from "react";
3
+ import { useRef as $, useEffect as A, useCallback as M, useState as F, useMemo as D, createContext as We, useContext as He, forwardRef as $e, useImperativeHandle as qt, createElement as Le, PureComponent as zn, Component as Fn, memo as kn } from "react";
4
4
  import { ChevronUpIcon as Me } from "./components/icons/ChevronUpIcon.js";
5
5
  import { UIButton as B } from "./components/ui/Button.js";
6
6
  import { UIInput as Zt } from "./components/ui/Input.js";
@@ -53,7 +53,9 @@ import { FileUploadTool as Jt } from "./components/layout/toolbar/FileUploadTool
53
53
  import { DarkModeTool as xr } from "./components/layout/toolbar/DarkModeTool.js";
54
54
  import { ThreeDotIcon as Mr } from "./components/icons/ThreeDotIcon.js";
55
55
  import { UIDropDown as ft } from "./components/ui/DropDown.js";
56
- import { c as Lr, u as mt, a as Le, b as xe, d as gt, e as Nr, f as Er, h as Or, g as Dr, F as Ar, D as zr, i as Fr, j as kr, k as Be, l as Wr, G as Fe } from "./index-8049287f.js";
56
+ import { u as mt, a as Ne, c as xe, b as gt, d as Nr, e as Lr, h as Er, f as Or, F as Dr, D as Ar, g as zr, G as Fe } from "./index-316854c1.js";
57
+ import { c as Fr, e as kr, b as Wr } from "./index-71898eb9.js";
58
+ import { e as Be } from "./floating-ui.react-dom-e6d5fe8f.js";
57
59
  import { CloseIcon as Yt } from "./components/icons/CloseIcon.js";
58
60
  import { PropertyItem as Hr } from "./components/layout/toolbar/PropertyItem.js";
59
61
  import { useOtherToolContext as $r, OtherToolProvider as Vr } from "./contexts/OtherToolContext.js";
@@ -151,7 +153,7 @@ import './assets/RPLayout.css';const ae = {
151
153
  const y = g || _;
152
154
  if (!y)
153
155
  return;
154
- const R = S.getBoundingClientRect(), L = y.clientHeight / 2, N = y.clientWidth / 2, x = y.scrollTop + R.top - L, E = y.scrollLeft + R.left - N;
156
+ const R = S.getBoundingClientRect(), N = y.clientHeight / 2, L = y.clientWidth / 2, x = y.scrollTop + R.top - N, E = y.scrollLeft + R.left - L;
155
157
  y.scrollTo({
156
158
  top: x,
157
159
  left: E,
@@ -172,14 +174,14 @@ import './assets/RPLayout.css';const ae = {
172
174
  }, [d]), I = M(async (y) => {
173
175
  if (!y)
174
176
  return {};
175
- const R = y.numPages, L = {};
176
- for (let N = 1; N <= R; N++) {
177
+ const R = y.numPages, N = {};
178
+ for (let L = 1; L <= R; L++) {
177
179
  if (s.current)
178
180
  throw "close pop over";
179
- const x = await y.getPage(N);
180
- L[N.toString()] = await x.getTextContent();
181
+ const x = await y.getPage(L);
182
+ N[L.toString()] = await x.getTextContent();
181
183
  }
182
- return L;
184
+ return N;
183
185
  }, []);
184
186
  return A(() => {
185
187
  if (!n) {
@@ -187,16 +189,16 @@ import './assets/RPLayout.css';const ae = {
187
189
  return;
188
190
  }
189
191
  s.current = !1, i(!0), p([]), m(0), I(l).then((y) => {
190
- const L = Object.keys(y).reduce((N, x) => {
192
+ const N = Object.keys(y).reduce((L, x) => {
191
193
  const E = Kn(
192
194
  [n],
193
195
  y[x],
194
196
  Number(x) - 1,
195
197
  e
196
198
  ).map((z, k) => ({ ...z, page: Number(x), pageMatchIdx: k }));
197
- return [...N, ...E];
199
+ return [...L, ...E];
198
200
  }, []);
199
- p(L), m(L.length ? 1 : 0);
201
+ p(N), m(N.length ? 1 : 0);
200
202
  }).catch(() => {
201
203
  p([]), m(0);
202
204
  }).finally(() => i(!1));
@@ -597,7 +599,7 @@ function lt() {
597
599
  return e;
598
600
  }, lt.apply(null, arguments);
599
601
  }
600
- function Lt(e) {
602
+ function Nt(e) {
601
603
  if (e === void 0)
602
604
  throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
603
605
  return e;
@@ -610,11 +612,11 @@ function ct(e, t) {
610
612
  function fo(e, t) {
611
613
  e.prototype = Object.create(t.prototype), e.prototype.constructor = e, ct(e, t);
612
614
  }
613
- var Nt = Number.isNaN || function(t) {
615
+ var Lt = Number.isNaN || function(t) {
614
616
  return typeof t == "number" && t !== t;
615
617
  };
616
618
  function mo(e, t) {
617
- return !!(e === t || Nt(e) && Nt(t));
619
+ return !!(e === t || Lt(e) && Lt(t));
618
620
  }
619
621
  function go(e, t) {
620
622
  if (e.length !== t.length)
@@ -695,23 +697,23 @@ function Po(e) {
695
697
  fo(S, b);
696
698
  function S(T) {
697
699
  var d;
698
- return d = b.call(this, T) || this, d._instanceProps = v(d.props, Lt(d)), d._resetIsScrollingTimeoutId = null, d._outerRef = void 0, d.state = {
699
- instance: Lt(d),
700
+ return d = b.call(this, T) || this, d._instanceProps = v(d.props, Nt(d)), d._resetIsScrollingTimeoutId = null, d._outerRef = void 0, d.state = {
701
+ instance: Nt(d),
700
702
  isScrolling: !1,
701
703
  horizontalScrollDirection: "forward",
702
704
  scrollLeft: typeof d.props.initialScrollLeft == "number" ? d.props.initialScrollLeft : 0,
703
705
  scrollTop: typeof d.props.initialScrollTop == "number" ? d.props.initialScrollTop : 0,
704
706
  scrollUpdateWasRequested: !1,
705
707
  verticalScrollDirection: "forward"
706
- }, d._callOnItemsRendered = void 0, d._callOnItemsRendered = Je(function(C, w, I, y, R, L, N, x) {
708
+ }, d._callOnItemsRendered = void 0, d._callOnItemsRendered = Je(function(C, w, I, y, R, N, L, x) {
707
709
  return d.props.onItemsRendered({
708
710
  overscanColumnStartIndex: C,
709
711
  overscanColumnStopIndex: w,
710
712
  overscanRowStartIndex: I,
711
713
  overscanRowStopIndex: y,
712
714
  visibleColumnStartIndex: R,
713
- visibleColumnStopIndex: L,
714
- visibleRowStartIndex: N,
715
+ visibleColumnStopIndex: N,
716
+ visibleRowStartIndex: L,
715
717
  visibleRowStopIndex: x
716
718
  });
717
719
  }), d._callOnScroll = void 0, d._callOnScroll = Je(function(C, w, I, y, R) {
@@ -723,12 +725,12 @@ function Po(e) {
723
725
  scrollUpdateWasRequested: R
724
726
  });
725
727
  }), d._getItemStyle = void 0, d._getItemStyle = function(C, w) {
726
- var I = d.props, y = I.columnWidth, R = I.direction, L = I.rowHeight, N = d._getItemStyleCache(_ && y, _ && R, _ && L), x = C + ":" + w, E;
727
- if (N.hasOwnProperty(x))
728
- E = N[x];
728
+ var I = d.props, y = I.columnWidth, R = I.direction, N = I.rowHeight, L = d._getItemStyleCache(_ && y, _ && R, _ && N), x = C + ":" + w, E;
729
+ if (L.hasOwnProperty(x))
730
+ E = L[x];
729
731
  else {
730
732
  var z = n(d.props, w, d._instanceProps), k = R === "rtl";
731
- N[x] = E = {
733
+ L[x] = E = {
732
734
  position: "absolute",
733
735
  left: k ? void 0 : z,
734
736
  right: k ? z : void 0,
@@ -741,9 +743,9 @@ function Po(e) {
741
743
  }, d._getItemStyleCache = void 0, d._getItemStyleCache = Je(function(C, w, I) {
742
744
  return {};
743
745
  }), d._onScroll = function(C) {
744
- var w = C.currentTarget, I = w.clientHeight, y = w.clientWidth, R = w.scrollLeft, L = w.scrollTop, N = w.scrollHeight, x = w.scrollWidth;
746
+ var w = C.currentTarget, I = w.clientHeight, y = w.clientWidth, R = w.scrollLeft, N = w.scrollTop, L = w.scrollHeight, x = w.scrollWidth;
745
747
  d.setState(function(E) {
746
- if (E.scrollLeft === R && E.scrollTop === L)
748
+ if (E.scrollLeft === R && E.scrollTop === N)
747
749
  return null;
748
750
  var z = d.props.direction, k = R;
749
751
  if (z === "rtl")
@@ -756,13 +758,13 @@ function Po(e) {
756
758
  break;
757
759
  }
758
760
  k = Math.max(0, Math.min(k, x - y));
759
- var G = Math.max(0, Math.min(L, N - I));
761
+ var G = Math.max(0, Math.min(N, L - I));
760
762
  return {
761
763
  isScrolling: !0,
762
764
  horizontalScrollDirection: E.scrollLeft < R ? "forward" : "backward",
763
765
  scrollLeft: k,
764
766
  scrollTop: G,
765
- verticalScrollDirection: E.scrollTop < L ? "forward" : "backward",
767
+ verticalScrollDirection: E.scrollTop < N ? "forward" : "backward",
766
768
  scrollUpdateWasRequested: !1
767
769
  };
768
770
  }, d._resetIsScrollingDebounced);
@@ -795,9 +797,9 @@ function Po(e) {
795
797
  };
796
798
  }, this._resetIsScrollingDebounced);
797
799
  }, P.scrollToItem = function(d) {
798
- var C = d.align, w = C === void 0 ? "auto" : C, I = d.columnIndex, y = d.rowIndex, R = this.props, L = R.columnCount, N = R.height, x = R.rowCount, E = R.width, z = this.state, k = z.scrollLeft, G = z.scrollTop, Z = wo();
799
- I !== void 0 && (I = Math.max(0, Math.min(I, L - 1))), y !== void 0 && (y = Math.max(0, Math.min(y, x - 1)));
800
- var U = l(this.props, this._instanceProps), K = s(this.props, this._instanceProps), ue = K > E ? Z : 0, oe = U > N ? Z : 0;
800
+ var C = d.align, w = C === void 0 ? "auto" : C, I = d.columnIndex, y = d.rowIndex, R = this.props, N = R.columnCount, L = R.height, x = R.rowCount, E = R.width, z = this.state, k = z.scrollLeft, G = z.scrollTop, Z = wo();
801
+ I !== void 0 && (I = Math.max(0, Math.min(I, N - 1))), y !== void 0 && (y = Math.max(0, Math.min(y, x - 1)));
802
+ var U = l(this.props, this._instanceProps), K = s(this.props, this._instanceProps), ue = K > E ? Z : 0, oe = U > L ? Z : 0;
801
803
  this.scrollTo({
802
804
  scrollLeft: I !== void 0 ? c(this.props, I, w, k, this._instanceProps, oe) : k,
803
805
  scrollTop: y !== void 0 ? p(this.props, y, w, G, this._instanceProps, ue) : G
@@ -822,8 +824,8 @@ function Po(e) {
822
824
  R.scrollLeft = w;
823
825
  break;
824
826
  default:
825
- var L = R.clientWidth, N = R.scrollWidth;
826
- R.scrollLeft = N - L - w;
827
+ var N = R.clientWidth, L = R.scrollWidth;
828
+ R.scrollLeft = L - N - w;
827
829
  break;
828
830
  }
829
831
  else
@@ -834,11 +836,11 @@ function Po(e) {
834
836
  }, P.componentWillUnmount = function() {
835
837
  this._resetIsScrollingTimeoutId !== null && Dt(this._resetIsScrollingTimeoutId);
836
838
  }, P.render = function() {
837
- var d = this.props, C = d.children, w = d.className, I = d.columnCount, y = d.direction, R = d.height, L = d.innerRef, N = d.innerElementType, x = d.innerTagName, E = d.itemData, z = d.itemKey, k = z === void 0 ? Co : z, G = d.outerElementType, Z = d.outerTagName, U = d.rowCount, K = d.style, ue = d.useIsScrolling, oe = d.width, ve = this.state.isScrolling, _e = this._getHorizontalRangeToRender(), Se = _e[0], W = _e[1], H = this._getVerticalRangeToRender(), q = H[0], le = H[1], Te = [];
839
+ var d = this.props, C = d.children, w = d.className, I = d.columnCount, y = d.direction, R = d.height, N = d.innerRef, L = d.innerElementType, x = d.innerTagName, E = d.itemData, z = d.itemKey, k = z === void 0 ? Co : z, G = d.outerElementType, Z = d.outerTagName, U = d.rowCount, K = d.style, ue = d.useIsScrolling, oe = d.width, ve = this.state.isScrolling, _e = this._getHorizontalRangeToRender(), Se = _e[0], W = _e[1], H = this._getVerticalRangeToRender(), q = H[0], le = H[1], Te = [];
838
840
  if (I > 0 && U)
839
841
  for (var de = q; de <= le; de++)
840
842
  for (var pe = Se; pe <= W; pe++)
841
- Te.push(Ne(C, {
843
+ Te.push(Le(C, {
842
844
  columnIndex: pe,
843
845
  data: E,
844
846
  isScrolling: ue ? ve : void 0,
@@ -851,7 +853,7 @@ function Po(e) {
851
853
  style: this._getItemStyle(de, pe)
852
854
  }));
853
855
  var Ze = l(this.props, this._instanceProps), je = s(this.props, this._instanceProps);
854
- return Ne(G || Z || "div", {
856
+ return Le(G || Z || "div", {
855
857
  className: w,
856
858
  onScroll: this._onScroll,
857
859
  ref: this._outerRefSetter,
@@ -864,9 +866,9 @@ function Po(e) {
864
866
  willChange: "transform",
865
867
  direction: y
866
868
  }, K)
867
- }, Ne(N || x || "div", {
869
+ }, Le(L || x || "div", {
868
870
  children: Te,
869
- ref: L,
871
+ ref: N,
870
872
  style: {
871
873
  height: Ze,
872
874
  pointerEvents: ve ? "none" : void 0,
@@ -876,24 +878,24 @@ function Po(e) {
876
878
  }, P._callPropsCallbacks = function() {
877
879
  var d = this.props, C = d.columnCount, w = d.onItemsRendered, I = d.onScroll, y = d.rowCount;
878
880
  if (typeof w == "function" && C > 0 && y > 0) {
879
- var R = this._getHorizontalRangeToRender(), L = R[0], N = R[1], x = R[2], E = R[3], z = this._getVerticalRangeToRender(), k = z[0], G = z[1], Z = z[2], U = z[3];
880
- this._callOnItemsRendered(L, N, k, G, x, E, Z, U);
881
+ var R = this._getHorizontalRangeToRender(), N = R[0], L = R[1], x = R[2], E = R[3], z = this._getVerticalRangeToRender(), k = z[0], G = z[1], Z = z[2], U = z[3];
882
+ this._callOnItemsRendered(N, L, k, G, x, E, Z, U);
881
883
  }
882
884
  if (typeof I == "function") {
883
885
  var K = this.state, ue = K.horizontalScrollDirection, oe = K.scrollLeft, ve = K.scrollTop, _e = K.scrollUpdateWasRequested, Se = K.verticalScrollDirection;
884
886
  this._callOnScroll(oe, ve, ue, Se, _e);
885
887
  }
886
888
  }, P._getHorizontalRangeToRender = function() {
887
- var d = this.props, C = d.columnCount, w = d.overscanColumnCount, I = d.overscanColumnsCount, y = d.overscanCount, R = d.rowCount, L = this.state, N = L.horizontalScrollDirection, x = L.isScrolling, E = L.scrollLeft, z = w || I || y || 1;
889
+ var d = this.props, C = d.columnCount, w = d.overscanColumnCount, I = d.overscanColumnsCount, y = d.overscanCount, R = d.rowCount, N = this.state, L = N.horizontalScrollDirection, x = N.isScrolling, E = N.scrollLeft, z = w || I || y || 1;
888
890
  if (C === 0 || R === 0)
889
891
  return [0, 0, 0, 0];
890
- var k = r(this.props, E, this._instanceProps), G = o(this.props, k, E, this._instanceProps), Z = !x || N === "backward" ? Math.max(1, z) : 1, U = !x || N === "forward" ? Math.max(1, z) : 1;
892
+ var k = r(this.props, E, this._instanceProps), G = o(this.props, k, E, this._instanceProps), Z = !x || L === "backward" ? Math.max(1, z) : 1, U = !x || L === "forward" ? Math.max(1, z) : 1;
891
893
  return [Math.max(0, k - Z), Math.max(0, Math.min(C - 1, G + U)), k, G];
892
894
  }, P._getVerticalRangeToRender = function() {
893
- var d = this.props, C = d.columnCount, w = d.overscanCount, I = d.overscanRowCount, y = d.overscanRowsCount, R = d.rowCount, L = this.state, N = L.isScrolling, x = L.verticalScrollDirection, E = L.scrollTop, z = I || y || w || 1;
895
+ var d = this.props, C = d.columnCount, w = d.overscanCount, I = d.overscanRowCount, y = d.overscanRowsCount, R = d.rowCount, N = this.state, L = N.isScrolling, x = N.verticalScrollDirection, E = N.scrollTop, z = I || y || w || 1;
894
896
  if (C === 0 || R === 0)
895
897
  return [0, 0, 0, 0];
896
- var k = u(this.props, E, this._instanceProps), G = f(this.props, k, E, this._instanceProps), Z = !N || x === "backward" ? Math.max(1, z) : 1, U = !N || x === "forward" ? Math.max(1, z) : 1;
898
+ var k = u(this.props, E, this._instanceProps), G = f(this.props, k, E, this._instanceProps), Z = !L || x === "backward" ? Math.max(1, z) : 1, U = !L || x === "forward" ? Math.max(1, z) : 1;
897
899
  return [Math.max(0, k - Z), Math.max(0, Math.min(R - 1, G + U)), k, G];
898
900
  }, S;
899
901
  }(zn), t.defaultProps = {
@@ -1108,7 +1110,7 @@ et == null || Vt == null ? (ut = Qe, dt = function(t) {
1108
1110
  }, Ht);
1109
1111
  return [n, r];
1110
1112
  });
1111
- function Lo(e) {
1113
+ function No(e) {
1112
1114
  let t, n, r, o, i, l, s;
1113
1115
  const c = typeof document < "u" && document.attachEvent;
1114
1116
  if (!c) {
@@ -1180,7 +1182,7 @@ function Lo(e) {
1180
1182
  }
1181
1183
  };
1182
1184
  }
1183
- class No extends Fn {
1185
+ class Lo extends Fn {
1184
1186
  constructor(...t) {
1185
1187
  super(...t), this.state = {
1186
1188
  height: this.props.defaultHeight || 0,
@@ -1221,7 +1223,7 @@ class No extends Fn {
1221
1223
  const r = n.ownerDocument.defaultView.ResizeObserver;
1222
1224
  r != null ? (this._resizeObserver = new r(() => {
1223
1225
  this._timeoutId = setTimeout(this._onResize, 0);
1224
- }), this._resizeObserver.observe(n)) : (this._detectElementResize = Lo(t), this._detectElementResize.addResizeListener(n, this._onResize)), this._onResize();
1226
+ }), this._resizeObserver.observe(n)) : (this._detectElementResize = No(t), this._detectElementResize.addResizeListener(n, this._onResize)), this._onResize();
1225
1227
  }
1226
1228
  }
1227
1229
  componentWillUnmount() {
@@ -1249,7 +1251,7 @@ class No extends Fn {
1249
1251
  overflow: "visible"
1250
1252
  }, b = {};
1251
1253
  let S = !1;
1252
- return o || (u === 0 && (S = !0), g.height = 0, b.height = u, b.scaledHeight = f), i || (_ === 0 && (S = !0), g.width = 0, b.width = _, b.scaledWidth = v), l && (S = !1), Ne(h, {
1254
+ return o || (u === 0 && (S = !0), g.height = 0, b.height = u, b.scaledHeight = f), i || (_ === 0 && (S = !0), g.width = 0, b.width = _, b.scaledWidth = v), l && (S = !1), Le(h, {
1253
1255
  ref: this._setRef,
1254
1256
  style: {
1255
1257
  ...g,
@@ -1379,7 +1381,7 @@ const Eo = (e = 1) => {
1379
1381
  },
1380
1382
  o
1381
1383
  );
1382
- }, xo), es = () => {
1384
+ }, xo), ns = () => {
1383
1385
  const { getContainer: e, container: t } = Sr(), { scrollToPage: n } = _t(), {
1384
1386
  virtualScrollRef: r,
1385
1387
  getVirtualScrollRef: o,
@@ -1401,13 +1403,13 @@ const Eo = (e = 1) => {
1401
1403
  columnWidth: w,
1402
1404
  estimatedColumnWidth: I,
1403
1405
  estimatedRowHeight: y
1404
- } = Mo(), [R, L] = F({}), { isScrolling: N } = Kt(), x = $(), E = $({
1406
+ } = Mo(), [R, N] = F({}), { isScrolling: L } = Kt(), x = $(), E = $({
1405
1407
  scrollTop: 0,
1406
1408
  scrollLeft: 0
1407
1409
  }), { isPressed: z } = Tr(), { selectionMode: k } = fr(), { initializeGrabScroll: G, scrollBehavior: Z } = Ir({
1408
1410
  isPressed: z
1409
1411
  }), U = D(() => k === jt.HAND, [k]), K = M((W, H) => {
1410
- L((q) => ({ ...q, [W]: Math.round(H * 100) }));
1412
+ N((q) => ({ ...q, [W]: Math.round(H * 100) }));
1411
1413
  }, []), ue = D(() => ({
1412
1414
  columnCount: C,
1413
1415
  handleIntersectRatioChange: K
@@ -1446,10 +1448,10 @@ const Eo = (e = 1) => {
1446
1448
  });
1447
1449
  }
1448
1450
  }, [T, C, P, r, n]), A(() => {
1449
- if (N.current)
1451
+ if (L.current)
1450
1452
  return;
1451
1453
  if (b.current.viewMode !== v || b.current.scrollMode !== f) {
1452
- x.current && clearTimeout(x.current), L({}), n(u), f === Q.HORIZONTAL_SCROLLING && (r == null || r.scrollTo({
1454
+ x.current && clearTimeout(x.current), N({}), n(u), f === Q.HORIZONTAL_SCROLLING && (r == null || r.scrollTo({
1453
1455
  scrollTop: 0
1454
1456
  })), x.current = setTimeout(() => {
1455
1457
  requestAnimationFrame(() => {
@@ -1468,8 +1470,8 @@ const Eo = (e = 1) => {
1468
1470
  }
1469
1471
  }, [c, v, f]), A(() => {
1470
1472
  const W = Object.entries(R);
1471
- if (N.current) {
1472
- N.current && (N.current = !1);
1473
+ if (L.current) {
1474
+ L.current && (L.current = !1);
1473
1475
  return;
1474
1476
  }
1475
1477
  let H = 0, q = -1;
@@ -1491,7 +1493,7 @@ const Eo = (e = 1) => {
1491
1493
  },
1492
1494
  [U, G, ae]
1493
1495
  );
1494
- return /* @__PURE__ */ a("div", { ref: e, tabIndex: -1, className: _e, children: /* @__PURE__ */ a(No, { children: ({ width: W, height: H }) => /* @__PURE__ */ a(
1496
+ return /* @__PURE__ */ a("div", { ref: e, tabIndex: -1, className: _e, children: /* @__PURE__ */ a(Lo, { children: ({ width: W, height: H }) => /* @__PURE__ */ a(
1495
1497
  "div",
1496
1498
  {
1497
1499
  "data-rp": "pagesWrapper",
@@ -1595,7 +1597,7 @@ const Eo = (e = 1) => {
1595
1597
  !p && /* @__PURE__ */ a(X, { content: "Next page", children: /* @__PURE__ */ a(B, { onClick: r, disabled: e === t, children: /* @__PURE__ */ a(ko, {}) }) })
1596
1598
  ] }) : null;
1597
1599
  };
1598
- var bt = "Dialog", [dn, ts] = Lr(bt), [Ho, te] = dn(bt), pn = (e) => {
1600
+ var bt = "Dialog", [dn, rs] = Fr(bt), [Ho, te] = dn(bt), pn = (e) => {
1599
1601
  const {
1600
1602
  __scopeDialog: t,
1601
1603
  children: n,
@@ -1603,7 +1605,7 @@ var bt = "Dialog", [dn, ts] = Lr(bt), [Ho, te] = dn(bt), pn = (e) => {
1603
1605
  defaultOpen: o,
1604
1606
  onOpenChange: i,
1605
1607
  modal: l = !0
1606
- } = e, s = V.useRef(null), c = V.useRef(null), [p = !1, h] = kr({
1608
+ } = e, s = V.useRef(null), c = V.useRef(null), [p = !1, h] = Wr({
1607
1609
  prop: r,
1608
1610
  defaultProp: o,
1609
1611
  onChange: i
@@ -1630,7 +1632,7 @@ var hn = "DialogTrigger", $o = V.forwardRef(
1630
1632
  (e, t) => {
1631
1633
  const { __scopeDialog: n, ...r } = e, o = te(hn, n), i = mt(t, o.triggerRef);
1632
1634
  return /* @__PURE__ */ a(
1633
- Le.button,
1635
+ Ne.button,
1634
1636
  {
1635
1637
  type: "button",
1636
1638
  "aria-haspopup": "dialog",
@@ -1649,7 +1651,7 @@ var Ct = "DialogPortal", [Vo, fn] = dn(Ct, {
1649
1651
  forceMount: void 0
1650
1652
  }), mn = (e) => {
1651
1653
  const { __scopeDialog: t, forceMount: n, children: r, container: o } = e, i = te(Ct, t);
1652
- return /* @__PURE__ */ a(Vo, { scope: t, forceMount: n, children: V.Children.map(r, (l) => /* @__PURE__ */ a(gt, { present: n || i.open, children: /* @__PURE__ */ a(Wr, { asChild: !0, container: o, children: l }) })) });
1654
+ return /* @__PURE__ */ a(Vo, { scope: t, forceMount: n, children: V.Children.map(r, (l) => /* @__PURE__ */ a(gt, { present: n || i.open, children: /* @__PURE__ */ a(zr, { asChild: !0, container: o, children: l }) })) });
1653
1655
  };
1654
1656
  mn.displayName = Ct;
1655
1657
  var ke = "DialogOverlay", gn = V.forwardRef(
@@ -1665,8 +1667,8 @@ var Go = V.forwardRef(
1665
1667
  return (
1666
1668
  // Make sure `Content` is scrollable even when it doesn't live inside `RemoveScroll`
1667
1669
  // ie. when `Overlay` and `Content` are siblings
1668
- /* @__PURE__ */ a(Nr, { as: Er, allowPinchZoom: !0, shards: [o.contentRef], children: /* @__PURE__ */ a(
1669
- Le.div,
1670
+ /* @__PURE__ */ a(Nr, { as: Lr, allowPinchZoom: !0, shards: [o.contentRef], children: /* @__PURE__ */ a(
1671
+ Ne.div,
1670
1672
  {
1671
1673
  "data-state": St(o.open),
1672
1674
  ...r,
@@ -1689,7 +1691,7 @@ var Uo = V.forwardRef(
1689
1691
  return V.useEffect(() => {
1690
1692
  const i = r.current;
1691
1693
  if (i)
1692
- return Or(i);
1694
+ return Er(i);
1693
1695
  }, []), /* @__PURE__ */ a(
1694
1696
  _n,
1695
1697
  {
@@ -1738,9 +1740,9 @@ var Uo = V.forwardRef(
1738
1740
  ), _n = V.forwardRef(
1739
1741
  (e, t) => {
1740
1742
  const { __scopeDialog: n, trapFocus: r, onOpenAutoFocus: o, onCloseAutoFocus: i, ...l } = e, s = te(me, n), c = V.useRef(null), p = mt(t, c);
1741
- return Dr(), /* @__PURE__ */ O(Ae, { children: [
1743
+ return Or(), /* @__PURE__ */ O(Ae, { children: [
1742
1744
  /* @__PURE__ */ a(
1743
- Ar,
1745
+ Dr,
1744
1746
  {
1745
1747
  asChild: !0,
1746
1748
  loop: !0,
@@ -1748,7 +1750,7 @@ var Uo = V.forwardRef(
1748
1750
  onMountAutoFocus: o,
1749
1751
  onUnmountAutoFocus: i,
1750
1752
  children: /* @__PURE__ */ a(
1751
- zr,
1753
+ Ar,
1752
1754
  {
1753
1755
  role: "dialog",
1754
1756
  id: s.contentId,
@@ -1771,14 +1773,14 @@ var Uo = V.forwardRef(
1771
1773
  ), Pt = "DialogTitle", wn = V.forwardRef(
1772
1774
  (e, t) => {
1773
1775
  const { __scopeDialog: n, ...r } = e, o = te(Pt, n);
1774
- return /* @__PURE__ */ a(Le.h2, { id: o.titleId, ...r, ref: t });
1776
+ return /* @__PURE__ */ a(Ne.h2, { id: o.titleId, ...r, ref: t });
1775
1777
  }
1776
1778
  );
1777
1779
  wn.displayName = Pt;
1778
1780
  var bn = "DialogDescription", Zo = V.forwardRef(
1779
1781
  (e, t) => {
1780
1782
  const { __scopeDialog: n, ...r } = e, o = te(bn, n);
1781
- return /* @__PURE__ */ a(Le.p, { id: o.descriptionId, ...r, ref: t });
1783
+ return /* @__PURE__ */ a(Ne.p, { id: o.descriptionId, ...r, ref: t });
1782
1784
  }
1783
1785
  );
1784
1786
  Zo.displayName = bn;
@@ -1786,7 +1788,7 @@ var Cn = "DialogClose", Pn = V.forwardRef(
1786
1788
  (e, t) => {
1787
1789
  const { __scopeDialog: n, ...r } = e, o = te(Cn, n);
1788
1790
  return /* @__PURE__ */ a(
1789
- Le.button,
1791
+ Ne.button,
1790
1792
  {
1791
1793
  type: "button",
1792
1794
  ...r,
@@ -1800,7 +1802,7 @@ Pn.displayName = Cn;
1800
1802
  function St(e) {
1801
1803
  return e ? "open" : "closed";
1802
1804
  }
1803
- var Sn = "DialogTitleWarning", [ns, Tn] = Fr(Sn, {
1805
+ var Sn = "DialogTitleWarning", [os, Tn] = kr(Sn, {
1804
1806
  contentName: me,
1805
1807
  titleName: Pt,
1806
1808
  docsSlug: "dialog"
@@ -1891,7 +1893,7 @@ const fe = {
1891
1893
  }, In = () => {
1892
1894
  const { downloadIcon: e } = re();
1893
1895
  return e || /* @__PURE__ */ a(Zr, {});
1894
- }, yn = ({ children: e }) => /* @__PURE__ */ a(X, { content: "Download file", children: e }), aa = ({ downloadFile: e }) => /* @__PURE__ */ a(yn, { children: /* @__PURE__ */ a(B, { onClick: e, children: /* @__PURE__ */ a(In, {}) }) }), ia = ({ downloadFile: e }) => /* @__PURE__ */ a(yn, { children: /* @__PURE__ */ O(ce, { onClick: e, children: [
1896
+ }, yn = ({ children: e, className: t }) => /* @__PURE__ */ a(X, { className: t, content: "Download file", children: e }), aa = ({ downloadFile: e }) => /* @__PURE__ */ a(yn, { children: /* @__PURE__ */ a(B, { onClick: e, children: /* @__PURE__ */ a(In, {}) }) }), ia = ({ downloadFile: e }) => /* @__PURE__ */ a(ce, { onClick: e, children: /* @__PURE__ */ O(yn, { className: "rp-menu-item", children: [
1895
1897
  /* @__PURE__ */ a("div", { className: "rp-menu-item-left", children: /* @__PURE__ */ a(In, {}) }),
1896
1898
  "Download file"
1897
1899
  ] }) }), Rn = () => {
@@ -1934,9 +1936,9 @@ const sa = () => {
1934
1936
  }
1935
1937
  const R = w / tr.PDF;
1936
1938
  P.width = Math.floor(C.width * R), P.height = Math.floor(C.height * R);
1937
- const L = P.getContext("2d");
1938
- L.save(), L.fillStyle = "rgb(255, 255, 255)", L.fillRect(0, 0, P.width, P.height), L.restore();
1939
- const [N, x] = await Promise.all([
1939
+ const N = P.getContext("2d");
1940
+ N.save(), N.fillStyle = "rgb(255, 255, 255)", N.fillRect(0, 0, P.width, P.height), N.restore();
1941
+ const [L, x] = await Promise.all([
1940
1942
  T.getPage(d),
1941
1943
  y
1942
1944
  ]);
@@ -1945,16 +1947,16 @@ const sa = () => {
1945
1947
  return;
1946
1948
  }
1947
1949
  const E = {
1948
- canvasContext: L,
1950
+ canvasContext: N,
1949
1951
  transform: [R, 0, 0, R, 0, 0],
1950
- viewport: N.getViewport({ scale: 1, rotation: C.rotation }),
1952
+ viewport: L.getViewport({ scale: 1, rotation: C.rotation }),
1951
1953
  intent: "print",
1952
1954
  annotationMode: nr.ENABLE_STORAGE,
1953
1955
  optionalContentConfigPromise: I,
1954
1956
  printAnnotationStorage: x
1955
1957
  };
1956
1958
  try {
1957
- return N.render(E).promise;
1959
+ return L.render(E).promise;
1958
1960
  } catch (z) {
1959
1961
  throw z instanceof rr || console.error(z), z;
1960
1962
  }
@@ -2004,17 +2006,17 @@ const sa = () => {
2004
2006
  const C = e.getOptionalContentConfig({ intent: "print" }), w = Promise.resolve(
2005
2007
  e.annotationStorage.print ?? void 0
2006
2008
  ), I = t.size;
2007
- for (const [R, L] of t) {
2009
+ for (const [R, N] of t) {
2008
2010
  if (h.current) {
2009
2011
  u();
2010
2012
  return;
2011
2013
  }
2012
- const N = L.page.getViewport({ scale: 1 });
2014
+ const L = N.page.getViewport({ scale: 1 });
2013
2015
  if (await v({
2014
2016
  scratchCanvas: P,
2015
2017
  pdfDocument: e,
2016
2018
  pageNumber: R,
2017
- viewerPdfPage: N,
2019
+ viewerPdfPage: L,
2018
2020
  printResolution: 150,
2019
2021
  optionalContentConfigPromise: C,
2020
2022
  printAnnotationStoragePromise: w
@@ -2114,10 +2116,10 @@ const sa = () => {
2114
2116
  }, Mn = () => {
2115
2117
  const { printIcon: e } = re();
2116
2118
  return e || /* @__PURE__ */ a(jr, {});
2117
- }, Ln = ({ children: e }) => /* @__PURE__ */ a(X, { content: "Print", children: e }), ca = ({ print: e }) => /* @__PURE__ */ a(Ln, { children: /* @__PURE__ */ a(B, { onClick: e, children: /* @__PURE__ */ a(Mn, {}) }) }), ua = ({ print: e }) => /* @__PURE__ */ a(Ln, { children: /* @__PURE__ */ O(ce, { onClick: e, children: [
2119
+ }, Nn = ({ children: e, className: t }) => /* @__PURE__ */ a(X, { className: t, content: "Print", children: e }), ca = ({ print: e }) => /* @__PURE__ */ a(Nn, { children: /* @__PURE__ */ a(B, { onClick: e, children: /* @__PURE__ */ a(Mn, {}) }) }), ua = ({ print: e }) => /* @__PURE__ */ a(ce, { onClick: e, children: /* @__PURE__ */ O(Nn, { className: "rp-menu-item", children: [
2118
2120
  /* @__PURE__ */ a("div", { className: "rp-menu-item-left", children: /* @__PURE__ */ a(Mn, {}) }),
2119
2121
  "Print"
2120
- ] }) }), Nn = () => {
2122
+ ] }) }), Ln = () => {
2121
2123
  const { print: e, cancel: t, setOnProgress: n, setOnComplete: r, setOnError: o, progress: i } = Tt(), { printTool: l = !0 } = se(), { isSmallScreen: s } = ge();
2122
2124
  return l ? s ? /* @__PURE__ */ a(ua, { print: e }) : typeof l == "function" ? /* @__PURE__ */ a(
2123
2125
  l,
@@ -2145,11 +2147,11 @@ const sa = () => {
2145
2147
  e(t);
2146
2148
  }, [e, t]);
2147
2149
  return r ? /* @__PURE__ */ O(Fe, { children: [
2148
- /* @__PURE__ */ a(X, { content: "Go to first page", children: /* @__PURE__ */ O(ce, { disabled: o, onClick: l, children: [
2150
+ /* @__PURE__ */ a(ce, { disabled: o, onClick: l, children: /* @__PURE__ */ O(X, { className: "rp-menu-item", content: "Go to first page", children: [
2149
2151
  /* @__PURE__ */ a("div", { className: "rp-menu-item-left", children: /* @__PURE__ */ a(pa, {}) }),
2150
2152
  "First page"
2151
2153
  ] }) }),
2152
- /* @__PURE__ */ a(X, { content: "Go to last page", children: /* @__PURE__ */ O(ce, { disabled: i, onClick: s, children: [
2154
+ /* @__PURE__ */ a(ce, { disabled: i, onClick: s, children: /* @__PURE__ */ O(X, { className: "rp-menu-item", content: "Go to last page", children: [
2153
2155
  /* @__PURE__ */ a("div", { className: "rp-menu-item-left", children: /* @__PURE__ */ a(ha, {}) }),
2154
2156
  "Last page"
2155
2157
  ] }) }),
@@ -2190,7 +2192,7 @@ const sa = () => {
2190
2192
  t && /* @__PURE__ */ O(Fe, { children: [
2191
2193
  /* @__PURE__ */ a(Jt, {}),
2192
2194
  /* @__PURE__ */ a(Rn, {}),
2193
- /* @__PURE__ */ a(Nn, {}),
2195
+ /* @__PURE__ */ a(Ln, {}),
2194
2196
  /* @__PURE__ */ a(Qt, {}),
2195
2197
  /* @__PURE__ */ a(vt, {})
2196
2198
  ] }),
@@ -2211,7 +2213,7 @@ const sa = () => {
2211
2213
  !e && /* @__PURE__ */ O(Ae, { children: [
2212
2214
  /* @__PURE__ */ a(Jt, {}),
2213
2215
  /* @__PURE__ */ a(Rn, {}),
2214
- /* @__PURE__ */ a(Nn, {}),
2216
+ /* @__PURE__ */ a(Ln, {}),
2215
2217
  /* @__PURE__ */ a(Qt, {})
2216
2218
  ] }),
2217
2219
  /* @__PURE__ */ a(ma, {})
@@ -2346,12 +2348,12 @@ const sa = () => {
2346
2348
  b(x.target.value);
2347
2349
  }, []), w = M(() => {
2348
2350
  b(""), p("");
2349
- }, [p]), I = D(() => `${m} / ${h}`, [m, h]), { wholeWords: y, matchCase: R } = D(() => l, [l]), L = M(
2351
+ }, [p]), I = D(() => `${m} / ${h}`, [m, h]), { wholeWords: y, matchCase: R } = D(() => l, [l]), N = M(
2350
2352
  (x) => {
2351
2353
  s((E) => ({ ...E, matchCase: x }));
2352
2354
  },
2353
2355
  [s]
2354
- ), N = M(
2356
+ ), L = M(
2355
2357
  (x) => {
2356
2358
  s((E) => ({ ...E, wholeWords: x }));
2357
2359
  },
@@ -2385,8 +2387,8 @@ const sa = () => {
2385
2387
  c ? /* @__PURE__ */ a("span", { children: /* @__PURE__ */ a(pt, {}) }) : /* @__PURE__ */ a("span", { children: I })
2386
2388
  ] }),
2387
2389
  /* @__PURE__ */ O("div", { className: ne["rp-search-tool-input-checkboxes"], children: [
2388
- /* @__PURE__ */ a(Rt, { name: "matchCase", value: R, onChange: L, children: "Match Case" }),
2389
- /* @__PURE__ */ a(Rt, { name: "wholeWord", value: y, onChange: N, children: "Whole Word" })
2390
+ /* @__PURE__ */ a(Rt, { name: "matchCase", value: R, onChange: N, children: "Match Case" }),
2391
+ /* @__PURE__ */ a(Rt, { name: "wholeWord", value: y, onChange: L, children: "Whole Word" })
2390
2392
  ] })
2391
2393
  ] }),
2392
2394
  /* @__PURE__ */ O("div", { className: ne["rp-search-tool-controls"], children: [
@@ -2588,10 +2590,10 @@ const sa = () => {
2588
2590
  children: e
2589
2591
  }
2590
2592
  );
2591
- }, Ma = 16, La = (e, t) => {
2593
+ }, Ma = 16, Na = (e, t) => {
2592
2594
  const n = e == null ? void 0 : e.querySelector(`#page-${t}`);
2593
2595
  e && (n != null && n.offsetTop) && (e.scrollTop = (n == null ? void 0 : n.offsetTop) - Ma);
2594
- }, Na = $e((e, t) => {
2596
+ }, La = $e((e, t) => {
2595
2597
  const { show: n } = e, { focusedPage: r, totalPages: o } = ee(), { thumbnailPages: i, addPage: l, thumbnailLength: s, addToPage: c } = On(), p = $(null), h = $(1);
2596
2598
  qt(t, () => p.current);
2597
2599
  const m = D(() => Object.values(i), [i]), u = M(() => {
@@ -2599,7 +2601,7 @@ const sa = () => {
2599
2601
  f <= o && l(f);
2600
2602
  }, [l, o, s]);
2601
2603
  return A(() => {
2602
- r > s ? c(r) : n && h.current !== r && (La(p.current, r), h.current = r);
2604
+ r > s ? c(r) : n && h.current !== r && (Na(p.current, r), h.current = r);
2603
2605
  }, [r, s, c, n, m]), or(p.current, u), /* @__PURE__ */ a("div", { ref: p, className: Ut["rp-thumbnails-container"], children: /* @__PURE__ */ a("div", { className: Ut["rp-thumbnails"], children: n ? m.map((f, v) => {
2604
2606
  var _, g;
2605
2607
  return /* @__PURE__ */ a(
@@ -2630,7 +2632,7 @@ const sa = () => {
2630
2632
  children: [
2631
2633
  /* @__PURE__ */ a("div", { "data-rp": "thumbnailButton", className: rt["rp-sidebar-content"], children: s }),
2632
2634
  /* @__PURE__ */ O("div", { "data-rp": "thumbnails", hidden: !e, className: rt["rp-thumbnails-wrapper"], children: [
2633
- /* @__PURE__ */ a(Na, { show: e, ref: o }),
2635
+ /* @__PURE__ */ a(La, { show: e, ref: o }),
2634
2636
  /* @__PURE__ */ a(ar, { onWidthChange: r, thumbnailRef: o })
2635
2637
  ] })
2636
2638
  ]
@@ -2666,7 +2668,7 @@ const sa = () => {
2666
2668
  ) }) }) }) }) }) }) }) }) }) }) })
2667
2669
  }
2668
2670
  );
2669
- }, rs = $e((e, t) => {
2671
+ }, as = $e((e, t) => {
2670
2672
  const {
2671
2673
  children: n,
2672
2674
  slots: r,
@@ -2715,7 +2717,7 @@ export {
2715
2717
  xa as B,
2716
2718
  Qr as C,
2717
2719
  Do as D,
2718
- Na as E,
2720
+ La as E,
2719
2721
  Rn as F,
2720
2722
  Oa as G,
2721
2723
  Da as H,
@@ -2723,11 +2725,11 @@ export {
2723
2725
  fa as M,
2724
2726
  ma as O,
2725
2727
  un as P,
2726
- es as R,
2728
+ ns as R,
2727
2729
  tn as S,
2728
2730
  no as T,
2729
2731
  Ca as Z,
2730
- rs as a,
2732
+ as as a,
2731
2733
  oa as b,
2732
2734
  Tt as c,
2733
2735
  nn as d,
@@ -2744,7 +2746,7 @@ export {
2744
2746
  sa as o,
2745
2747
  xn as p,
2746
2748
  la as q,
2747
- Nn as r,
2749
+ Ln as r,
2748
2750
  ga as s,
2749
2751
  Pa as t,
2750
2752
  ee as u,
@@ -1 +1 @@
1
- ._rp-menu-item_ogr6y_1{display:flex;align-items:center;padding:var(--rp-dropdown-padding-menu-item);cursor:pointer;border-radius:var(--rp-border-radius);outline:none}._rp-menu-item_ogr6y_1 :is(svg){font-size:var(--rp-menu-item-icon-size)}._rp-menu-item_ogr6y_1:is(:hover,:focus-visible){background:var(--rp-dropdown-hover-background-color)}.rp-menu-item-left{display:flex;align-items:center;justify-content:center;padding-right:8px}.rp-menu-item-right{margin-left:auto}._rp-menu-item_ogr6y_1[data-disabled]{pointer-events:none;opacity:.5}
1
+ ._rp-menu-item_gqbz3_1{display:flex;align-items:center;padding:var(--rp-dropdown-padding-menu-item);cursor:pointer;border-radius:var(--rp-border-radius);outline:none}._rp-menu-item_gqbz3_1 :is(svg){font-size:var(--rp-menu-item-icon-size)}._rp-menu-item_gqbz3_1:is(:hover,:focus-visible){background:var(--rp-dropdown-hover-background-color)}.rp-menu-item-left{display:flex;align-items:center;justify-content:center;padding-right:8px}.rp-menu-item{display:flex;flex-direction:row;align-items:center;width:100%}.rp-menu-item-right{margin-left:auto}._rp-menu-item_gqbz3_1[data-disabled]{pointer-events:none;opacity:.5}