@golocalinteractive/golocal-cloud-wrapper 1.1.1 → 1.1.2

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.
@@ -290,7 +290,7 @@ function tr(e, t) {
290
290
  return e(t);
291
291
  e != null && (e.current = t);
292
292
  }
293
- function jt(...e) {
293
+ function Ot(...e) {
294
294
  return (t) => {
295
295
  let n = !1;
296
296
  const r = e.map((o) => {
@@ -307,7 +307,7 @@ function jt(...e) {
307
307
  };
308
308
  }
309
309
  function ee(...e) {
310
- return u.useCallback(jt(...e), e);
310
+ return u.useCallback(Ot(...e), e);
311
311
  }
312
312
  // @__NO_SIDE_EFFECTS__
313
313
  function We(e) {
@@ -328,7 +328,7 @@ function $s(e) {
328
328
  const { children: o, ...a } = n;
329
329
  if (u.isValidElement(o)) {
330
330
  const s = Ws(o), i = Vs(a, o.props);
331
- return o.type !== u.Fragment && (i.ref = r ? jt(r, s) : s), u.cloneElement(o, i);
331
+ return o.type !== u.Fragment && (i.ref = r ? Ot(r, s) : s), u.cloneElement(o, i);
332
332
  }
333
333
  return u.Children.count(o) > 1 ? u.Children.only(null) : null;
334
334
  });
@@ -659,12 +659,12 @@ function ii(e, ...t) {
659
659
  const Q = (e) => {
660
660
  const t = (n) => n[e] || [];
661
661
  return t.isThemeGetter = !0, t;
662
- }, Gr = /^\[(?:(\w[\w-]*):)?(.+)\]$/i, Ur = /^\((?:(\w[\w-]*):)?(.+)\)$/i, ci = /^\d+\/\d+$/, li = /^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/, ui = /\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/, di = /^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/, fi = /^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/, pi = /^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/, De = (e) => ci.test(e), L = (e) => !!e && !Number.isNaN(Number(e)), Ee = (e) => !!e && Number.isInteger(Number(e)), Yt = (e) => e.endsWith("%") && L(e.slice(0, -1)), ve = (e) => li.test(e), mi = () => !0, hi = (e) => (
662
+ }, Gr = /^\[(?:(\w[\w-]*):)?(.+)\]$/i, Ur = /^\((?:(\w[\w-]*):)?(.+)\)$/i, ci = /^\d+\/\d+$/, li = /^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/, ui = /\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/, di = /^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/, fi = /^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/, pi = /^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/, De = (e) => ci.test(e), L = (e) => !!e && !Number.isNaN(Number(e)), Ee = (e) => !!e && Number.isInteger(Number(e)), Kt = (e) => e.endsWith("%") && L(e.slice(0, -1)), ve = (e) => li.test(e), mi = () => !0, hi = (e) => (
663
663
  // `colorFunctionRegex` check is necessary because color functions can have percentages in them which which would be incorrectly classified as lengths.
664
664
  // For example, `hsl(0 0% 0%)` would be classified as a length without this check.
665
665
  // I could also use lookbehind assertion in `lengthUnitRegex` but that isn't supported widely enough.
666
666
  ui.test(e) && !di.test(e)
667
- ), Kr = () => !1, gi = (e) => fi.test(e), vi = (e) => pi.test(e), bi = (e) => !N(e) && !P(e), xi = (e) => Ke(e, Xr, Kr), N = (e) => Gr.test(e), _e = (e) => Ke(e, qr, hi), Zt = (e) => Ke(e, Si, L), ar = (e) => Ke(e, Yr, Kr), wi = (e) => Ke(e, Zr, vi), ht = (e) => Ke(e, Jr, gi), P = (e) => Ur.test(e), et = (e) => Ye(e, qr), yi = (e) => Ye(e, Ri), sr = (e) => Ye(e, Yr), Ci = (e) => Ye(e, Xr), Ei = (e) => Ye(e, Zr), gt = (e) => Ye(e, Jr, !0), Ke = (e, t, n) => {
667
+ ), Kr = () => !1, gi = (e) => fi.test(e), vi = (e) => pi.test(e), bi = (e) => !N(e) && !P(e), xi = (e) => Ke(e, Xr, Kr), N = (e) => Gr.test(e), _e = (e) => Ke(e, qr, hi), Yt = (e) => Ke(e, Si, L), ar = (e) => Ke(e, Yr, Kr), wi = (e) => Ke(e, Zr, vi), ht = (e) => Ke(e, Jr, gi), P = (e) => Ur.test(e), et = (e) => Ye(e, qr), yi = (e) => Ye(e, Ri), sr = (e) => Ye(e, Yr), Ci = (e) => Ye(e, Xr), Ei = (e) => Ye(e, Zr), gt = (e) => Ye(e, Jr, !0), Ke = (e, t, n) => {
668
668
  const r = Gr.exec(e);
669
669
  return r ? r[1] ? t(r[1]) : n(r[2]) : !1;
670
670
  }, Ye = (e, t, n = !1) => {
@@ -697,7 +697,7 @@ const Q = (e) => {
697
697
  repeat: ["", "x", "y", "space", "round"]
698
698
  }], O = () => ["auto", "cover", "contain", Ci, xi, {
699
699
  size: [P, N]
700
- }], F = () => [Yt, et, _e], $ = () => [
700
+ }], F = () => [Kt, et, _e], $ = () => [
701
701
  // Deprecated since Tailwind CSS v4.0.0
702
702
  "",
703
703
  "none",
@@ -705,7 +705,7 @@ const Q = (e) => {
705
705
  d,
706
706
  P,
707
707
  N
708
- ], K = () => ["", L, et, _e], J = () => ["solid", "dashed", "dotted", "double"], re = () => ["normal", "multiply", "screen", "overlay", "darken", "lighten", "color-dodge", "color-burn", "hard-light", "soft-light", "difference", "exclusion", "hue", "saturation", "color", "luminosity"], W = () => [L, Yt, sr, ar], Z = () => [
708
+ ], K = () => ["", L, et, _e], J = () => ["solid", "dashed", "dotted", "double"], re = () => ["normal", "multiply", "screen", "overlay", "darken", "lighten", "color-dodge", "color-burn", "hard-light", "soft-light", "difference", "exclusion", "hue", "saturation", "color", "luminosity"], W = () => [L, Kt, sr, ar], Z = () => [
709
709
  // Deprecated since Tailwind CSS v4.0.0
710
710
  "",
711
711
  "none",
@@ -1422,14 +1422,14 @@ const Q = (e) => {
1422
1422
  * @see https://tailwindcss.com/docs/font-weight
1423
1423
  */
1424
1424
  "font-weight": [{
1425
- font: [r, P, Zt]
1425
+ font: [r, P, Yt]
1426
1426
  }],
1427
1427
  /**
1428
1428
  * Font Stretch
1429
1429
  * @see https://tailwindcss.com/docs/font-stretch
1430
1430
  */
1431
1431
  "font-stretch": [{
1432
- "font-stretch": ["ultra-condensed", "extra-condensed", "condensed", "semi-condensed", "normal", "semi-expanded", "expanded", "extra-expanded", "ultra-expanded", Yt, N]
1432
+ "font-stretch": ["ultra-condensed", "extra-condensed", "condensed", "semi-condensed", "normal", "semi-expanded", "expanded", "extra-expanded", "ultra-expanded", Kt, N]
1433
1433
  }],
1434
1434
  /**
1435
1435
  * Font Family
@@ -1480,7 +1480,7 @@ const Q = (e) => {
1480
1480
  * @see https://tailwindcss.com/docs/line-clamp
1481
1481
  */
1482
1482
  "line-clamp": [{
1483
- "line-clamp": [L, "none", P, Zt]
1483
+ "line-clamp": [L, "none", P, Yt]
1484
1484
  }],
1485
1485
  /**
1486
1486
  * Line Height
@@ -3065,7 +3065,7 @@ const Q = (e) => {
3065
3065
  * @see https://tailwindcss.com/docs/stroke-width
3066
3066
  */
3067
3067
  "stroke-w": [{
3068
- stroke: [L, et, _e, Zt]
3068
+ stroke: [L, et, _e, Yt]
3069
3069
  }],
3070
3070
  /**
3071
3071
  * Stroke
@@ -3332,7 +3332,7 @@ const Li = [
3332
3332
  key: "q0gr47"
3333
3333
  }
3334
3334
  ]
3335
- ], vt = te("chart-area", Li);
3335
+ ], Zt = te("chart-area", Li);
3336
3336
  /**
3337
3337
  * @license lucide-react v0.522.0 - ISC
3338
3338
  *
@@ -3679,7 +3679,7 @@ var gc = "DismissableLayer", dn = "dismissableLayer.update", vc = "dismissableLa
3679
3679
  layers: /* @__PURE__ */ new Set(),
3680
3680
  layersWithOutsidePointerEventsDisabled: /* @__PURE__ */ new Set(),
3681
3681
  branches: /* @__PURE__ */ new Set()
3682
- }), It = u.forwardRef(
3682
+ }), jt = u.forwardRef(
3683
3683
  (e, t) => {
3684
3684
  const {
3685
3685
  disableOutsidePointerEvents: n = !1,
@@ -3727,7 +3727,7 @@ var gc = "DismissableLayer", dn = "dismissableLayer.update", vc = "dismissableLa
3727
3727
  );
3728
3728
  }
3729
3729
  );
3730
- It.displayName = gc;
3730
+ jt.displayName = gc;
3731
3731
  var xc = "DismissableLayerBranch", wc = u.forwardRef((e, t) => {
3732
3732
  const n = u.useContext(ro), r = u.useRef(null), o = ee(t, r);
3733
3733
  return u.useEffect(() => {
@@ -3951,19 +3951,19 @@ function Tc(e) {
3951
3951
  }
3952
3952
  });
3953
3953
  return u.useEffect(() => {
3954
- const d = bt(r.current);
3954
+ const d = vt(r.current);
3955
3955
  a.current = i === "mounted" ? d : "none";
3956
3956
  }, [i]), Me(() => {
3957
3957
  const d = r.current, f = o.current;
3958
3958
  if (f !== e) {
3959
- const m = a.current, g = bt(d);
3959
+ const m = a.current, g = vt(d);
3960
3960
  e ? l("MOUNT") : g === "none" || (d == null ? void 0 : d.display) === "none" ? l("UNMOUNT") : l(f && m !== g ? "ANIMATION_OUT" : "UNMOUNT"), o.current = e;
3961
3961
  }
3962
3962
  }, [e, l]), Me(() => {
3963
3963
  if (t) {
3964
3964
  let d;
3965
3965
  const f = t.ownerDocument.defaultView ?? window, p = (g) => {
3966
- const h = bt(r.current).includes(g.animationName);
3966
+ const h = vt(r.current).includes(g.animationName);
3967
3967
  if (g.target === t && h && (l("ANIMATION_END"), !o.current)) {
3968
3968
  const v = t.style.animationFillMode;
3969
3969
  t.style.animationFillMode = "forwards", d = f.setTimeout(() => {
@@ -3971,7 +3971,7 @@ function Tc(e) {
3971
3971
  });
3972
3972
  }
3973
3973
  }, m = (g) => {
3974
- g.target === t && (a.current = bt(r.current));
3974
+ g.target === t && (a.current = vt(r.current));
3975
3975
  };
3976
3976
  return t.addEventListener("animationstart", m), t.addEventListener("animationcancel", p), t.addEventListener("animationend", p), () => {
3977
3977
  f.clearTimeout(d), t.removeEventListener("animationstart", m), t.removeEventListener("animationcancel", p), t.removeEventListener("animationend", p);
@@ -3985,7 +3985,7 @@ function Tc(e) {
3985
3985
  }, [])
3986
3986
  };
3987
3987
  }
3988
- function bt(e) {
3988
+ function vt(e) {
3989
3989
  return (e == null ? void 0 : e.animationName) || "none";
3990
3990
  }
3991
3991
  function Oc(e) {
@@ -4028,7 +4028,7 @@ function jc(e, t, n) {
4028
4028
  (a || !(r in t)) && (a || (a = Array.prototype.slice.call(t, 0, r)), a[r] = t[r]);
4029
4029
  return e.concat(a || Array.prototype.slice.call(t));
4030
4030
  }
4031
- var St = "right-scroll-bar-position", Rt = "width-before-scroll-bar", Ic = "with-scroll-bars-hidden", Dc = "--removed-body-scroll-bar-size";
4031
+ var Et = "right-scroll-bar-position", St = "width-before-scroll-bar", Ic = "with-scroll-bars-hidden", Dc = "--removed-body-scroll-bar-size";
4032
4032
  function Qt(e, t) {
4033
4033
  return typeof e == "function" ? e(t) : e && (e.current = t), e;
4034
4034
  }
@@ -4150,7 +4150,7 @@ function Wc(e, t) {
4150
4150
  return e.useMedium(t), co;
4151
4151
  }
4152
4152
  var lo = Vc(), en = function() {
4153
- }, Dt = u.forwardRef(function(e, t) {
4153
+ }, It = u.forwardRef(function(e, t) {
4154
4154
  var n = u.useRef(null), r = u.useState({
4155
4155
  onScrollCapture: en,
4156
4156
  onWheelCapture: en,
@@ -4163,14 +4163,14 @@ var lo = Vc(), en = function() {
4163
4163
  s ? u.cloneElement(u.Children.only(i), de(de({}, k), { ref: T })) : u.createElement(y, de({}, k, { className: l, ref: T }), i)
4164
4164
  );
4165
4165
  });
4166
- Dt.defaultProps = {
4166
+ It.defaultProps = {
4167
4167
  enabled: !0,
4168
4168
  removeScrollBar: !0,
4169
4169
  inert: !1
4170
4170
  };
4171
- Dt.classNames = {
4172
- fullWidth: Rt,
4173
- zeroRight: St
4171
+ It.classNames = {
4172
+ fullWidth: St,
4173
+ zeroRight: Et
4174
4174
  };
4175
4175
  var Bc = function() {
4176
4176
  if (typeof __webpack_nonce__ < "u")
@@ -4260,19 +4260,19 @@ var Yc = function() {
4260
4260
  ].filter(Boolean).join(""), `
4261
4261
  }
4262
4262
 
4263
- .`).concat(St, ` {
4263
+ .`).concat(Et, ` {
4264
4264
  right: `).concat(i, "px ").concat(r, `;
4265
4265
  }
4266
4266
 
4267
- .`).concat(Rt, ` {
4267
+ .`).concat(St, ` {
4268
4268
  margin-right: `).concat(i, "px ").concat(r, `;
4269
4269
  }
4270
4270
 
4271
- .`).concat(St, " .").concat(St, ` {
4271
+ .`).concat(Et, " .").concat(Et, ` {
4272
4272
  right: 0 `).concat(r, `;
4273
4273
  }
4274
4274
 
4275
- .`).concat(Rt, " .").concat(Rt, ` {
4275
+ .`).concat(St, " .").concat(St, ` {
4276
4276
  margin-right: 0 `).concat(r, `;
4277
4277
  }
4278
4278
 
@@ -4300,12 +4300,12 @@ var Yc = function() {
4300
4300
  }, fn = !1;
4301
4301
  if (typeof window < "u")
4302
4302
  try {
4303
- var xt = Object.defineProperty({}, "passive", {
4303
+ var bt = Object.defineProperty({}, "passive", {
4304
4304
  get: function() {
4305
4305
  return fn = !0, !0;
4306
4306
  }
4307
4307
  });
4308
- window.addEventListener("test", xt, xt), window.removeEventListener("test", xt, xt);
4308
+ window.addEventListener("test", bt, bt), window.removeEventListener("test", bt, bt);
4309
4309
  } catch {
4310
4310
  fn = !1;
4311
4311
  }
@@ -4372,7 +4372,7 @@ var Le = fn ? { passive: !1 } : !1, rl = function(e) {
4372
4372
  l && (t.contains(i) || t === i)
4373
4373
  );
4374
4374
  return (f && Math.abs(p) < 1 || !f && Math.abs(m) < 1) && (d = !0), d;
4375
- }, wt = function(e) {
4375
+ }, xt = function(e) {
4376
4376
  return "changedTouches" in e ? [e.changedTouches[0].clientX, e.changedTouches[0].clientY] : [0, 0];
4377
4377
  }, Cr = function(e) {
4378
4378
  return [e.deltaX, e.deltaY];
@@ -4406,7 +4406,7 @@ function pl(e) {
4406
4406
  var i = u.useCallback(function(h, v) {
4407
4407
  if ("touches" in h && h.touches.length === 2 || h.type === "wheel" && h.ctrlKey)
4408
4408
  return !s.current.allowPinchZoom;
4409
- var x = wt(h), y = n.current, C = "deltaX" in h ? h.deltaX : y[0] - x[0], E = "deltaY" in h ? h.deltaY : y[1] - x[1], M, T = h.target, k = Math.abs(C) > Math.abs(E) ? "h" : "v";
4409
+ var x = xt(h), y = n.current, C = "deltaX" in h ? h.deltaX : y[0] - x[0], E = "deltaY" in h ? h.deltaY : y[1] - x[1], M, T = h.target, k = Math.abs(C) > Math.abs(E) ? "h" : "v";
4410
4410
  if ("touches" in h && k === "h" && T.type === "range")
4411
4411
  return !1;
4412
4412
  var R = yr(k, T);
@@ -4421,7 +4421,7 @@ function pl(e) {
4421
4421
  }, []), l = u.useCallback(function(h) {
4422
4422
  var v = h;
4423
4423
  if (!(!Fe.length || Fe[Fe.length - 1] !== a)) {
4424
- var x = "deltaY" in v ? Cr(v) : wt(v), y = t.current.filter(function(M) {
4424
+ var x = "deltaY" in v ? Cr(v) : xt(v), y = t.current.filter(function(M) {
4425
4425
  return M.name === v.type && (M.target === v.target || v.target === M.shadowParent) && ul(M.delta, x);
4426
4426
  })[0];
4427
4427
  if (y && y.should) {
@@ -4443,11 +4443,11 @@ function pl(e) {
4443
4443
  });
4444
4444
  }, 1);
4445
4445
  }, []), f = u.useCallback(function(h) {
4446
- n.current = wt(h), r.current = void 0;
4446
+ n.current = xt(h), r.current = void 0;
4447
4447
  }, []), p = u.useCallback(function(h) {
4448
4448
  d(h.type, Cr(h), h.target, i(h, e.lockRef.current));
4449
4449
  }, []), m = u.useCallback(function(h) {
4450
- d(h.type, wt(h), h.target, i(h, e.lockRef.current));
4450
+ d(h.type, xt(h), h.target, i(h, e.lockRef.current));
4451
4451
  }, []);
4452
4452
  u.useEffect(function() {
4453
4453
  return Fe.push(a), e.setCallbacks({
@@ -4475,15 +4475,15 @@ function ml(e) {
4475
4475
  }
4476
4476
  const hl = Wc(lo, pl);
4477
4477
  var kn = u.forwardRef(function(e, t) {
4478
- return u.createElement(Dt, de({}, e, { ref: t, sideCar: hl }));
4478
+ return u.createElement(It, de({}, e, { ref: t, sideCar: hl }));
4479
4479
  });
4480
- kn.classNames = Dt.classNames;
4480
+ kn.classNames = It.classNames;
4481
4481
  var gl = function(e) {
4482
4482
  if (typeof document > "u")
4483
4483
  return null;
4484
4484
  var t = Array.isArray(e) ? e[0] : e;
4485
4485
  return t.ownerDocument.body;
4486
- }, $e = /* @__PURE__ */ new WeakMap(), yt = /* @__PURE__ */ new WeakMap(), Ct = {}, nn = 0, ho = function(e) {
4486
+ }, $e = /* @__PURE__ */ new WeakMap(), wt = /* @__PURE__ */ new WeakMap(), yt = {}, nn = 0, ho = function(e) {
4487
4487
  return e && (e.host || ho(e.parentNode));
4488
4488
  }, vl = function(e, t) {
4489
4489
  return t.map(function(n) {
@@ -4496,8 +4496,8 @@ var gl = function(e) {
4496
4496
  });
4497
4497
  }, bl = function(e, t, n, r) {
4498
4498
  var o = vl(t, Array.isArray(e) ? e : [e]);
4499
- Ct[n] || (Ct[n] = /* @__PURE__ */ new WeakMap());
4500
- var a = Ct[n], s = [], i = /* @__PURE__ */ new Set(), l = new Set(o), d = function(p) {
4499
+ yt[n] || (yt[n] = /* @__PURE__ */ new WeakMap());
4500
+ var a = yt[n], s = [], i = /* @__PURE__ */ new Set(), l = new Set(o), d = function(p) {
4501
4501
  !p || i.has(p) || (i.add(p), d(p.parentNode));
4502
4502
  };
4503
4503
  o.forEach(d);
@@ -4508,7 +4508,7 @@ var gl = function(e) {
4508
4508
  else
4509
4509
  try {
4510
4510
  var g = m.getAttribute(r), b = g !== null && g !== "false", h = ($e.get(m) || 0) + 1, v = (a.get(m) || 0) + 1;
4511
- $e.set(m, h), a.set(m, v), s.push(m), h === 1 && b && yt.set(m, !0), v === 1 && m.setAttribute(n, "true"), b || m.setAttribute(r, "true");
4511
+ $e.set(m, h), a.set(m, v), s.push(m), h === 1 && b && wt.set(m, !0), v === 1 && m.setAttribute(n, "true"), b || m.setAttribute(r, "true");
4512
4512
  } catch (x) {
4513
4513
  console.error("aria-hidden: cannot operate on ", m, x);
4514
4514
  }
@@ -4517,8 +4517,8 @@ var gl = function(e) {
4517
4517
  return f(t), i.clear(), nn++, function() {
4518
4518
  s.forEach(function(p) {
4519
4519
  var m = $e.get(p) - 1, g = a.get(p) - 1;
4520
- $e.set(p, m), a.set(p, g), m || (yt.has(p) || p.removeAttribute(r), yt.delete(p)), g || p.removeAttribute(n);
4521
- }), nn--, nn || ($e = /* @__PURE__ */ new WeakMap(), $e = /* @__PURE__ */ new WeakMap(), yt = /* @__PURE__ */ new WeakMap(), Ct = {});
4520
+ $e.set(p, m), a.set(p, g), m || (wt.has(p) || p.removeAttribute(r), wt.delete(p)), g || p.removeAttribute(n);
4521
+ }), nn--, nn || ($e = /* @__PURE__ */ new WeakMap(), $e = /* @__PURE__ */ new WeakMap(), wt = /* @__PURE__ */ new WeakMap(), yt = {});
4522
4522
  };
4523
4523
  }, go = function(e, t, n) {
4524
4524
  n === void 0 && (n = "data-aria-hidden");
@@ -4526,7 +4526,7 @@ var gl = function(e) {
4526
4526
  return o ? (r.push.apply(r, Array.from(o.querySelectorAll("[aria-live], script"))), bl(r, o, n, "aria-hidden")) : function() {
4527
4527
  return null;
4528
4528
  };
4529
- }, Lt = "Dialog", [vo, kp] = je(Lt), [xl, ue] = vo(Lt), bo = (e) => {
4529
+ }, Dt = "Dialog", [vo, kp] = je(Dt), [xl, ue] = vo(Dt), bo = (e) => {
4530
4530
  const {
4531
4531
  __scopeDialog: t,
4532
4532
  children: n,
@@ -4538,7 +4538,7 @@ var gl = function(e) {
4538
4538
  prop: r,
4539
4539
  defaultProp: o ?? !1,
4540
4540
  onChange: a,
4541
- caller: Lt
4541
+ caller: Dt
4542
4542
  });
4543
4543
  return /* @__PURE__ */ c.jsx(
4544
4544
  xl,
@@ -4557,7 +4557,7 @@ var gl = function(e) {
4557
4557
  }
4558
4558
  );
4559
4559
  };
4560
- bo.displayName = Lt;
4560
+ bo.displayName = Dt;
4561
4561
  var xo = "DialogTrigger", wo = u.forwardRef(
4562
4562
  (e, t) => {
4563
4563
  const { __scopeDialog: n, ...r } = e, o = ue(xo, n), a = ee(t, o.triggerRef);
@@ -4584,16 +4584,16 @@ var An = "DialogPortal", [wl, yo] = vo(An, {
4584
4584
  return /* @__PURE__ */ c.jsx(wl, { scope: t, forceMount: n, children: u.Children.map(r, (s) => /* @__PURE__ */ c.jsx(ye, { present: n || a.open, children: /* @__PURE__ */ c.jsx(Mn, { asChild: !0, container: o, children: s }) })) });
4585
4585
  };
4586
4586
  Co.displayName = An;
4587
- var kt = "DialogOverlay", Eo = u.forwardRef(
4587
+ var Mt = "DialogOverlay", Eo = u.forwardRef(
4588
4588
  (e, t) => {
4589
- const n = yo(kt, e.__scopeDialog), { forceMount: r = n.forceMount, ...o } = e, a = ue(kt, e.__scopeDialog);
4589
+ const n = yo(Mt, e.__scopeDialog), { forceMount: r = n.forceMount, ...o } = e, a = ue(Mt, e.__scopeDialog);
4590
4590
  return a.modal ? /* @__PURE__ */ c.jsx(ye, { present: r || a.open, children: /* @__PURE__ */ c.jsx(Cl, { ...o, ref: t }) }) : null;
4591
4591
  }
4592
4592
  );
4593
- Eo.displayName = kt;
4593
+ Eo.displayName = Mt;
4594
4594
  var yl = /* @__PURE__ */ We("DialogOverlay.RemoveScroll"), Cl = u.forwardRef(
4595
4595
  (e, t) => {
4596
- const { __scopeDialog: n, ...r } = e, o = ue(kt, n);
4596
+ const { __scopeDialog: n, ...r } = e, o = ue(Mt, n);
4597
4597
  return (
4598
4598
  // Make sure `Content` is scrollable even when it doesn't live inside `RemoveScroll`
4599
4599
  // ie. when `Overlay` and `Content` are siblings
@@ -4679,7 +4679,7 @@ var El = u.forwardRef(
4679
4679
  onMountAutoFocus: o,
4680
4680
  onUnmountAutoFocus: a,
4681
4681
  children: /* @__PURE__ */ c.jsx(
4682
- It,
4682
+ jt,
4683
4683
  {
4684
4684
  role: "dialog",
4685
4685
  id: i.contentId,
@@ -4856,7 +4856,7 @@ function Sr({
4856
4856
  }
4857
4857
  );
4858
4858
  }
4859
- const Il = ["top", "right", "bottom", "left"], ke = Math.min, ae = Math.max, At = Math.round, Et = Math.floor, pe = (e) => ({
4859
+ const Il = ["top", "right", "bottom", "left"], ke = Math.min, ae = Math.max, kt = Math.round, Ct = Math.floor, pe = (e) => ({
4860
4860
  x: e,
4861
4861
  y: e
4862
4862
  }), Dl = {
@@ -4896,10 +4896,10 @@ function Fl(e, t, n) {
4896
4896
  n === void 0 && (n = !1);
4897
4897
  const r = Ze(e), o = On(e), a = Tn(o);
4898
4898
  let s = o === "x" ? r === (n ? "end" : "start") ? "right" : "left" : r === "start" ? "bottom" : "top";
4899
- return t.reference[a] > t.floating[a] && (s = Nt(s)), [s, Nt(s)];
4899
+ return t.reference[a] > t.floating[a] && (s = At(s)), [s, At(s)];
4900
4900
  }
4901
4901
  function $l(e) {
4902
- const t = Nt(e);
4902
+ const t = At(e);
4903
4903
  return [mn(e), t, mn(t)];
4904
4904
  }
4905
4905
  function mn(e) {
@@ -4923,7 +4923,7 @@ function Hl(e, t, n, r) {
4923
4923
  let a = zl(we(e), n === "start", r);
4924
4924
  return o && (a = a.map((s) => s + "-" + o), t && (a = a.concat(a.map(mn)))), a;
4925
4925
  }
4926
- function Nt(e) {
4926
+ function At(e) {
4927
4927
  return e.replace(/left|right|bottom|top/g, (t) => Dl[t]);
4928
4928
  }
4929
4929
  function Vl(e) {
@@ -4943,7 +4943,7 @@ function Wo(e) {
4943
4943
  left: e
4944
4944
  };
4945
4945
  }
4946
- function Pt(e) {
4946
+ function Nt(e) {
4947
4947
  const {
4948
4948
  x: t,
4949
4949
  y: n,
@@ -5086,7 +5086,7 @@ async function nt(e, t) {
5086
5086
  elementContext: p = "floating",
5087
5087
  altBoundary: m = !1,
5088
5088
  padding: g = 0
5089
- } = xe(t, e), b = Wo(g), v = i[m ? p === "floating" ? "reference" : "floating" : p], x = Pt(await a.getClippingRect({
5089
+ } = xe(t, e), b = Wo(g), v = i[m ? p === "floating" ? "reference" : "floating" : p], x = Nt(await a.getClippingRect({
5090
5090
  element: (n = await (a.isElement == null ? void 0 : a.isElement(v))) == null || n ? v : v.contextElement || await (a.getDocumentElement == null ? void 0 : a.getDocumentElement(i.floating)),
5091
5091
  boundary: d,
5092
5092
  rootBoundary: f,
@@ -5102,7 +5102,7 @@ async function nt(e, t) {
5102
5102
  } : {
5103
5103
  x: 1,
5104
5104
  y: 1
5105
- }, M = Pt(a.convertOffsetParentRelativeRectToViewportRelativeRect ? await a.convertOffsetParentRelativeRectToViewportRelativeRect({
5105
+ }, M = Nt(a.convertOffsetParentRelativeRectToViewportRelativeRect ? await a.convertOffsetParentRelativeRectToViewportRelativeRect({
5106
5106
  elements: i,
5107
5107
  rect: y,
5108
5108
  offsetParent: C,
@@ -5176,7 +5176,7 @@ const Bl = (e) => ({
5176
5176
  } = xe(e, t);
5177
5177
  if ((n = a.arrow) != null && n.alignmentOffset)
5178
5178
  return {};
5179
- const x = we(o), y = fe(i), C = we(i) === i, E = await (l.isRTL == null ? void 0 : l.isRTL(d.floating)), M = m || (C || !h ? [Nt(i)] : $l(i)), T = b !== "none";
5179
+ const x = we(o), y = fe(i), C = we(i) === i, E = await (l.isRTL == null ? void 0 : l.isRTL(d.floating)), M = m || (C || !h ? [At(i)] : $l(i)), T = b !== "none";
5180
5180
  !m && T && M.push(...Hl(i, h, b, E));
5181
5181
  const k = [i, ...M], R = await nt(t, v), D = [];
5182
5182
  let z = ((r = a.flip) == null ? void 0 : r.overflows) || [];
@@ -5475,7 +5475,7 @@ const Yl = function(e) {
5475
5475
  }
5476
5476
  };
5477
5477
  };
5478
- function Ft() {
5478
+ function Lt() {
5479
5479
  return typeof window < "u";
5480
5480
  }
5481
5481
  function Xe(e) {
@@ -5490,16 +5490,16 @@ function ge(e) {
5490
5490
  return (t = (Bo(e) ? e.ownerDocument : e.document) || window.document) == null ? void 0 : t.documentElement;
5491
5491
  }
5492
5492
  function Bo(e) {
5493
- return Ft() ? e instanceof Node || e instanceof se(e).Node : !1;
5493
+ return Lt() ? e instanceof Node || e instanceof se(e).Node : !1;
5494
5494
  }
5495
5495
  function ce(e) {
5496
- return Ft() ? e instanceof Element || e instanceof se(e).Element : !1;
5496
+ return Lt() ? e instanceof Element || e instanceof se(e).Element : !1;
5497
5497
  }
5498
5498
  function he(e) {
5499
- return Ft() ? e instanceof HTMLElement || e instanceof se(e).HTMLElement : !1;
5499
+ return Lt() ? e instanceof HTMLElement || e instanceof se(e).HTMLElement : !1;
5500
5500
  }
5501
5501
  function Ar(e) {
5502
- return !Ft() || typeof ShadowRoot > "u" ? !1 : e instanceof ShadowRoot || e instanceof se(e).ShadowRoot;
5502
+ return !Lt() || typeof ShadowRoot > "u" ? !1 : e instanceof ShadowRoot || e instanceof se(e).ShadowRoot;
5503
5503
  }
5504
5504
  function ct(e) {
5505
5505
  const {
@@ -5513,7 +5513,7 @@ function ct(e) {
5513
5513
  function Jl(e) {
5514
5514
  return ["table", "td", "th"].includes(Xe(e));
5515
5515
  }
5516
- function $t(e) {
5516
+ function Ft(e) {
5517
5517
  return [":popover-open", ":modal"].some((t) => {
5518
5518
  try {
5519
5519
  return e.matches(t);
@@ -5531,7 +5531,7 @@ function Ql(e) {
5531
5531
  for (; he(t) && !Be(t); ) {
5532
5532
  if (jn(t))
5533
5533
  return t;
5534
- if ($t(t))
5534
+ if (Ft(t))
5535
5535
  return null;
5536
5536
  t = Ae(t);
5537
5537
  }
@@ -5546,7 +5546,7 @@ function Be(e) {
5546
5546
  function le(e) {
5547
5547
  return se(e).getComputedStyle(e);
5548
5548
  }
5549
- function zt(e) {
5549
+ function $t(e) {
5550
5550
  return ce(e) ? {
5551
5551
  scrollLeft: e.scrollLeft,
5552
5552
  scrollTop: e.scrollTop
@@ -5587,7 +5587,7 @@ function hn(e) {
5587
5587
  function Uo(e) {
5588
5588
  const t = le(e);
5589
5589
  let n = parseFloat(t.width) || 0, r = parseFloat(t.height) || 0;
5590
- const o = he(e), a = o ? e.offsetWidth : n, s = o ? e.offsetHeight : r, i = At(n) !== a || At(r) !== s;
5590
+ const o = he(e), a = o ? e.offsetWidth : n, s = o ? e.offsetHeight : r, i = kt(n) !== a || kt(r) !== s;
5591
5591
  return i && (n = a, r = s), {
5592
5592
  width: n,
5593
5593
  height: r,
@@ -5606,7 +5606,7 @@ function Ve(e) {
5606
5606
  height: o,
5607
5607
  $: a
5608
5608
  } = Uo(t);
5609
- let s = (a ? At(n.width) : n.width) / r, i = (a ? At(n.height) : n.height) / o;
5609
+ let s = (a ? kt(n.width) : n.width) / r, i = (a ? kt(n.height) : n.height) / o;
5610
5610
  return (!s || !Number.isFinite(s)) && (s = 1), (!i || !Number.isFinite(i)) && (i = 1), {
5611
5611
  x: s,
5612
5612
  y: i
@@ -5638,7 +5638,7 @@ function Oe(e, t, n, r) {
5638
5638
  l *= v.x, d *= v.y, f *= v.x, p *= v.y, l += C, d += E, b = se(h), h = hn(b);
5639
5639
  }
5640
5640
  }
5641
- return Pt({
5641
+ return Nt({
5642
5642
  width: f,
5643
5643
  height: p,
5644
5644
  x: l,
@@ -5646,7 +5646,7 @@ function Oe(e, t, n, r) {
5646
5646
  });
5647
5647
  }
5648
5648
  function Ln(e, t) {
5649
- const n = zt(e).scrollLeft;
5649
+ const n = $t(e).scrollLeft;
5650
5650
  return t ? t.left + n : Oe(ge(e)).left + n;
5651
5651
  }
5652
5652
  function Yo(e, t, n) {
@@ -5667,7 +5667,7 @@ function nu(e) {
5667
5667
  offsetParent: r,
5668
5668
  strategy: o
5669
5669
  } = e;
5670
- const a = o === "fixed", s = ge(r), i = t ? $t(t.floating) : !1;
5670
+ const a = o === "fixed", s = ge(r), i = t ? Ft(t.floating) : !1;
5671
5671
  if (r === s || i && a)
5672
5672
  return n;
5673
5673
  let l = {
@@ -5675,7 +5675,7 @@ function nu(e) {
5675
5675
  scrollTop: 0
5676
5676
  }, d = pe(1);
5677
5677
  const f = pe(0), p = he(r);
5678
- if ((p || !p && !a) && ((Xe(r) !== "body" || ct(s)) && (l = zt(r)), he(r))) {
5678
+ if ((p || !p && !a) && ((Xe(r) !== "body" || ct(s)) && (l = $t(r)), he(r))) {
5679
5679
  const g = Oe(r);
5680
5680
  d = Ve(r), f.x = g.x + r.clientLeft, f.y = g.y + r.clientTop;
5681
5681
  }
@@ -5691,7 +5691,7 @@ function ru(e) {
5691
5691
  return Array.from(e.getClientRects());
5692
5692
  }
5693
5693
  function ou(e) {
5694
- const t = ge(e), n = zt(e), r = e.ownerDocument.body, o = ae(t.scrollWidth, t.clientWidth, r.scrollWidth, r.clientWidth), a = ae(t.scrollHeight, t.clientHeight, r.scrollHeight, r.clientHeight);
5694
+ const t = ge(e), n = $t(e), r = e.ownerDocument.body, o = ae(t.scrollWidth, t.clientWidth, r.scrollWidth, r.clientWidth), a = ae(t.scrollHeight, t.clientHeight, r.scrollHeight, r.clientHeight);
5695
5695
  let s = -n.scrollLeft + Ln(e);
5696
5696
  const i = -n.scrollTop;
5697
5697
  return le(r).direction === "rtl" && (s += ae(t.clientWidth, r.clientWidth) - o), {
@@ -5742,7 +5742,7 @@ function Nr(e, t, n) {
5742
5742
  height: t.height
5743
5743
  };
5744
5744
  }
5745
- return Pt(r);
5745
+ return Nt(r);
5746
5746
  }
5747
5747
  function Zo(e, t) {
5748
5748
  const n = Ae(e);
@@ -5768,7 +5768,7 @@ function cu(e) {
5768
5768
  rootBoundary: r,
5769
5769
  strategy: o
5770
5770
  } = e;
5771
- const s = [...n === "clippingAncestors" ? $t(t) ? [] : iu(t, this._c) : [].concat(n), r], i = s[0], l = s.reduce((d, f) => {
5771
+ const s = [...n === "clippingAncestors" ? Ft(t) ? [] : iu(t, this._c) : [].concat(n), r], i = s[0], l = s.reduce((d, f) => {
5772
5772
  const p = Nr(t, f, o);
5773
5773
  return d.top = ae(p.top, d.top), d.right = ke(p.right, d.right), d.bottom = ke(p.bottom, d.bottom), d.left = ae(p.left, d.left), d;
5774
5774
  }, Nr(t, i, o));
@@ -5800,7 +5800,7 @@ function uu(e, t, n) {
5800
5800
  l.x = Ln(o);
5801
5801
  }
5802
5802
  if (r || !r && !a)
5803
- if ((Xe(t) !== "body" || ct(o)) && (i = zt(t)), r) {
5803
+ if ((Xe(t) !== "body" || ct(o)) && (i = $t(t)), r) {
5804
5804
  const g = Oe(t, !0, a, t);
5805
5805
  l.x = g.x + t.clientLeft, l.y = g.y + t.clientTop;
5806
5806
  } else o && d();
@@ -5826,7 +5826,7 @@ function Pr(e, t) {
5826
5826
  }
5827
5827
  function Xo(e, t) {
5828
5828
  const n = se(e);
5829
- if ($t(e))
5829
+ if (Ft(e))
5830
5830
  return n;
5831
5831
  if (!he(e)) {
5832
5832
  let o = Ae(e);
@@ -5889,7 +5889,7 @@ function mu(e, t) {
5889
5889
  } = d;
5890
5890
  if (i || t(), !m || !g)
5891
5891
  return;
5892
- const b = Et(p), h = Et(o.clientWidth - (f + m)), v = Et(o.clientHeight - (p + g)), x = Et(f), C = {
5892
+ const b = Ct(p), h = Ct(o.clientWidth - (f + m)), v = Ct(o.clientHeight - (p + g)), x = Ct(f), C = {
5893
5893
  rootMargin: -b + "px " + -h + "px " + -v + "px " + -x + "px",
5894
5894
  threshold: ae(0, ke(1, l)) || 1
5895
5895
  };
@@ -5968,8 +5968,8 @@ const gu = Yl, vu = Zl, bu = Gl, xu = ql, wu = Ul, _r = Bl, yu = Xl, Cu = (e, t,
5968
5968
  });
5969
5969
  };
5970
5970
  var Eu = typeof document < "u", Su = function() {
5971
- }, Mt = Eu ? As : Su;
5972
- function _t(e, t) {
5971
+ }, Rt = Eu ? As : Su;
5972
+ function Pt(e, t) {
5973
5973
  if (e === t)
5974
5974
  return !0;
5975
5975
  if (typeof e != typeof t)
@@ -5981,7 +5981,7 @@ function _t(e, t) {
5981
5981
  if (Array.isArray(e)) {
5982
5982
  if (n = e.length, n !== t.length) return !1;
5983
5983
  for (r = n; r-- !== 0; )
5984
- if (!_t(e[r], t[r]))
5984
+ if (!Pt(e[r], t[r]))
5985
5985
  return !1;
5986
5986
  return !0;
5987
5987
  }
@@ -5992,7 +5992,7 @@ function _t(e, t) {
5992
5992
  return !1;
5993
5993
  for (r = n; r-- !== 0; ) {
5994
5994
  const a = o[r];
5995
- if (!(a === "_owner" && e.$$typeof) && !_t(e[a], t[a]))
5995
+ if (!(a === "_owner" && e.$$typeof) && !Pt(e[a], t[a]))
5996
5996
  return !1;
5997
5997
  }
5998
5998
  return !0;
@@ -6008,7 +6008,7 @@ function Tr(e, t) {
6008
6008
  }
6009
6009
  function on(e) {
6010
6010
  const t = u.useRef(e);
6011
- return Mt(() => {
6011
+ return Rt(() => {
6012
6012
  t.current = e;
6013
6013
  }), t;
6014
6014
  }
@@ -6034,7 +6034,7 @@ function Ru(e) {
6034
6034
  middlewareData: {},
6035
6035
  isPositioned: !1
6036
6036
  }), [m, g] = u.useState(r);
6037
- _t(m, r) || g(r);
6037
+ Pt(m, r) || g(r);
6038
6038
  const [b, h] = u.useState(null), [v, x] = u.useState(null), y = u.useCallback((S) => {
6039
6039
  S !== T.current && (T.current = S, h(S));
6040
6040
  }, []), C = u.useCallback((S) => {
@@ -6056,21 +6056,21 @@ function Ru(e) {
6056
6056
  // setting it to `true` when `open === false` (must be specified).
6057
6057
  isPositioned: B.current !== !1
6058
6058
  };
6059
- H.current && !_t(R.current, w) && (R.current = w, Dr.flushSync(() => {
6059
+ H.current && !Pt(R.current, w) && (R.current = w, Dr.flushSync(() => {
6060
6060
  p(w);
6061
6061
  }));
6062
6062
  });
6063
6063
  }, [m, t, n, U, B]);
6064
- Mt(() => {
6064
+ Rt(() => {
6065
6065
  d === !1 && R.current.isPositioned && (R.current.isPositioned = !1, p((S) => ({
6066
6066
  ...S,
6067
6067
  isPositioned: !1
6068
6068
  })));
6069
6069
  }, [d]);
6070
6070
  const H = u.useRef(!1);
6071
- Mt(() => (H.current = !0, () => {
6071
+ Rt(() => (H.current = !0, () => {
6072
6072
  H.current = !1;
6073
- }), []), Mt(() => {
6073
+ }), []), Rt(() => {
6074
6074
  if (E && (T.current = E), M && (k.current = M), E && M) {
6075
6075
  if (z.current)
6076
6076
  return z.current(E, M, G);
@@ -6196,7 +6196,7 @@ function Du(e) {
6196
6196
  n(void 0);
6197
6197
  }, [e]), t;
6198
6198
  }
6199
- var Fn = "Popper", [ea, Ht] = je(Fn), [Lu, ta] = ea(Fn), na = (e) => {
6199
+ var Fn = "Popper", [ea, zt] = je(Fn), [Lu, ta] = ea(Fn), na = (e) => {
6200
6200
  const { __scopePopper: t, children: n } = e, [r, o] = u.useState(null);
6201
6201
  return /* @__PURE__ */ c.jsx(Lu, { scope: t, anchor: r, onAnchorChange: o, children: n });
6202
6202
  };
@@ -6416,9 +6416,9 @@ var zn = na, la = oa, ua = aa, da = ia, Wu = Object.freeze({
6416
6416
  )
6417
6417
  );
6418
6418
  fa.displayName = Bu;
6419
- var Gu = fa, [Vt, _p] = je("Tooltip", [
6420
- Ht
6421
- ]), Wt = Ht(), pa = "TooltipProvider", Uu = 700, gn = "tooltip.open", [Ku, Hn] = Vt(pa), ma = (e) => {
6419
+ var Gu = fa, [Ht, _p] = je("Tooltip", [
6420
+ zt
6421
+ ]), Vt = zt(), pa = "TooltipProvider", Uu = 700, gn = "tooltip.open", [Ku, Hn] = Ht(pa), ma = (e) => {
6422
6422
  const {
6423
6423
  __scopeTooltip: t,
6424
6424
  delayDuration: n = Uu,
@@ -6454,7 +6454,7 @@ var Gu = fa, [Vt, _p] = je("Tooltip", [
6454
6454
  );
6455
6455
  };
6456
6456
  ma.displayName = pa;
6457
- var ot = "Tooltip", [Yu, Bt] = Vt(ot), ha = (e) => {
6457
+ var ot = "Tooltip", [Yu, Wt] = Ht(ot), ha = (e) => {
6458
6458
  const {
6459
6459
  __scopeTooltip: t,
6460
6460
  children: n,
@@ -6463,7 +6463,7 @@ var ot = "Tooltip", [Yu, Bt] = Vt(ot), ha = (e) => {
6463
6463
  onOpenChange: a,
6464
6464
  disableHoverableContent: s,
6465
6465
  delayDuration: i
6466
- } = e, l = Hn(ot, e.__scopeTooltip), d = Wt(t), [f, p] = u.useState(null), m = be(), g = u.useRef(0), b = s ?? l.disableHoverableContent, h = i ?? l.delayDuration, v = u.useRef(!1), [x, y] = it({
6466
+ } = e, l = Hn(ot, e.__scopeTooltip), d = Vt(t), [f, p] = u.useState(null), m = be(), g = u.useRef(0), b = s ?? l.disableHoverableContent, h = i ?? l.delayDuration, v = u.useRef(!1), [x, y] = it({
6467
6467
  prop: r,
6468
6468
  defaultProp: o ?? !1,
6469
6469
  onChange: (k) => {
@@ -6506,7 +6506,7 @@ var ot = "Tooltip", [Yu, Bt] = Vt(ot), ha = (e) => {
6506
6506
  ha.displayName = ot;
6507
6507
  var vn = "TooltipTrigger", ga = u.forwardRef(
6508
6508
  (e, t) => {
6509
- const { __scopeTooltip: n, ...r } = e, o = Bt(vn, n), a = Hn(vn, n), s = Wt(n), i = u.useRef(null), l = ee(t, i, o.onTriggerChange), d = u.useRef(!1), f = u.useRef(!1), p = u.useCallback(() => d.current = !1, []);
6509
+ const { __scopeTooltip: n, ...r } = e, o = Wt(vn, n), a = Hn(vn, n), s = Vt(n), i = u.useRef(null), l = ee(t, i, o.onTriggerChange), d = u.useRef(!1), f = u.useRef(!1), p = u.useCallback(() => d.current = !1, []);
6510
6510
  return u.useEffect(() => () => document.removeEventListener("pointerup", p), [p]), /* @__PURE__ */ c.jsx(la, { asChild: !0, ...s, children: /* @__PURE__ */ c.jsx(
6511
6511
  q.button,
6512
6512
  {
@@ -6533,15 +6533,15 @@ var vn = "TooltipTrigger", ga = u.forwardRef(
6533
6533
  }
6534
6534
  );
6535
6535
  ga.displayName = vn;
6536
- var Zu = "TooltipPortal", [Tp, Xu] = Vt(Zu, {
6536
+ var Zu = "TooltipPortal", [Tp, Xu] = Ht(Zu, {
6537
6537
  forceMount: void 0
6538
6538
  }), Ge = "TooltipContent", va = u.forwardRef(
6539
6539
  (e, t) => {
6540
- const n = Xu(Ge, e.__scopeTooltip), { forceMount: r = n.forceMount, side: o = "top", ...a } = e, s = Bt(Ge, e.__scopeTooltip);
6540
+ const n = Xu(Ge, e.__scopeTooltip), { forceMount: r = n.forceMount, side: o = "top", ...a } = e, s = Wt(Ge, e.__scopeTooltip);
6541
6541
  return /* @__PURE__ */ c.jsx(ye, { present: r || s.open, children: s.disableHoverableContent ? /* @__PURE__ */ c.jsx(ba, { side: o, ...a, ref: t }) : /* @__PURE__ */ c.jsx(qu, { side: o, ...a, ref: t }) });
6542
6542
  }
6543
6543
  ), qu = u.forwardRef((e, t) => {
6544
- const n = Bt(Ge, e.__scopeTooltip), r = Hn(Ge, e.__scopeTooltip), o = u.useRef(null), a = ee(t, o), [s, i] = u.useState(null), { trigger: l, onClose: d } = n, f = o.current, { onPointerInTransitChange: p } = r, m = u.useCallback(() => {
6544
+ const n = Wt(Ge, e.__scopeTooltip), r = Hn(Ge, e.__scopeTooltip), o = u.useRef(null), a = ee(t, o), [s, i] = u.useState(null), { trigger: l, onClose: d } = n, f = o.current, { onPointerInTransitChange: p } = r, m = u.useCallback(() => {
6545
6545
  i(null), p(!1);
6546
6546
  }, [p]), g = u.useCallback(
6547
6547
  (b, h) => {
@@ -6566,7 +6566,7 @@ var Zu = "TooltipPortal", [Tp, Xu] = Vt(Zu, {
6566
6566
  return document.addEventListener("pointermove", b), () => document.removeEventListener("pointermove", b);
6567
6567
  }
6568
6568
  }, [l, f, s, d, m]), /* @__PURE__ */ c.jsx(ba, { ...e, ref: a });
6569
- }), [Ju, Qu] = Vt(ot, { isInside: !1 }), ed = /* @__PURE__ */ zs("TooltipContent"), ba = u.forwardRef(
6569
+ }), [Ju, Qu] = Ht(ot, { isInside: !1 }), ed = /* @__PURE__ */ zs("TooltipContent"), ba = u.forwardRef(
6570
6570
  (e, t) => {
6571
6571
  const {
6572
6572
  __scopeTooltip: n,
@@ -6575,7 +6575,7 @@ var Zu = "TooltipPortal", [Tp, Xu] = Vt(Zu, {
6575
6575
  onEscapeKeyDown: a,
6576
6576
  onPointerDownOutside: s,
6577
6577
  ...i
6578
- } = e, l = Bt(Ge, n), d = Wt(n), { onClose: f } = l;
6578
+ } = e, l = Wt(Ge, n), d = Vt(n), { onClose: f } = l;
6579
6579
  return u.useEffect(() => (document.addEventListener(gn, f), () => document.removeEventListener(gn, f)), [f]), u.useEffect(() => {
6580
6580
  if (l.trigger) {
6581
6581
  const p = (m) => {
@@ -6585,7 +6585,7 @@ var Zu = "TooltipPortal", [Tp, Xu] = Vt(Zu, {
6585
6585
  return window.addEventListener("scroll", p, { capture: !0 }), () => window.removeEventListener("scroll", p, { capture: !0 });
6586
6586
  }
6587
6587
  }, [l.trigger, f]), /* @__PURE__ */ c.jsx(
6588
- It,
6588
+ jt,
6589
6589
  {
6590
6590
  asChild: !0,
6591
6591
  disableOutsidePointerEvents: !1,
@@ -6621,7 +6621,7 @@ var Zu = "TooltipPortal", [Tp, Xu] = Vt(Zu, {
6621
6621
  va.displayName = Ge;
6622
6622
  var xa = "TooltipArrow", td = u.forwardRef(
6623
6623
  (e, t) => {
6624
- const { __scopeTooltip: n, ...r } = e, o = Wt(n);
6624
+ const { __scopeTooltip: n, ...r } = e, o = Vt(n);
6625
6625
  return Qu(
6626
6626
  xa,
6627
6627
  n
@@ -6736,7 +6736,7 @@ const ya = cd, Ca = ld, Ea = ud, Vn = u.forwardRef(({ className: e, sideOffset:
6736
6736
  ));
6737
6737
  Vn.displayName = wa.displayName;
6738
6738
  const dd = "sidebar_state", fd = 60 * 60 * 24 * 7, pd = "16rem", md = "18rem", hd = "3rem", gd = "b", Sa = u.createContext(null);
6739
- function Gt() {
6739
+ function Bt() {
6740
6740
  const e = u.useContext(Sa);
6741
6741
  if (!e)
6742
6742
  throw new Error("useSidebar must be used within a SidebarProvider.");
@@ -6802,7 +6802,7 @@ function bd({
6802
6802
  children: o,
6803
6803
  ...a
6804
6804
  }) {
6805
- const { isMobile: s, state: i, openMobile: l, setOpenMobile: d } = Gt();
6805
+ const { isMobile: s, state: i, openMobile: l, setOpenMobile: d } = Bt();
6806
6806
  return n === "none" ? /* @__PURE__ */ c.jsx(
6807
6807
  "div",
6808
6808
  {
@@ -6887,7 +6887,7 @@ function xd({
6887
6887
  onClick: t,
6888
6888
  ...n
6889
6889
  }) {
6890
- const { toggleSidebar: r } = Gt();
6890
+ const { toggleSidebar: r } = Bt();
6891
6891
  return /* @__PURE__ */ c.jsxs(
6892
6892
  Sn,
6893
6893
  {
@@ -6908,7 +6908,7 @@ function xd({
6908
6908
  );
6909
6909
  }
6910
6910
  function wd({ className: e, ...t }) {
6911
- const { toggleSidebar: n } = Gt();
6911
+ const { toggleSidebar: n } = Bt();
6912
6912
  return /* @__PURE__ */ c.jsx(
6913
6913
  "button",
6914
6914
  {
@@ -7130,7 +7130,7 @@ function zp({
7130
7130
  className: a,
7131
7131
  ...s
7132
7132
  }) {
7133
- const i = e ? Ue : "button", { isMobile: l, state: d } = Gt(), f = /* @__PURE__ */ c.jsx(
7133
+ const i = e ? Ue : "button", { isMobile: l, state: d } = Bt(), f = /* @__PURE__ */ c.jsx(
7134
7134
  i,
7135
7135
  {
7136
7136
  "data-slot": "sidebar-menu-button",
@@ -7513,9 +7513,9 @@ var Hd = Na, Vd = _a, xn = ["Enter", " "], Wd = ["ArrowDown", "PageUp", "Home"],
7513
7513
  rtl: ["ArrowRight"]
7514
7514
  }, ut = "Menu", [at, Kd, Yd] = Ra(ut), [Ie, ja] = je(ut, [
7515
7515
  Yd,
7516
- Ht,
7516
+ zt,
7517
7517
  Aa
7518
- ]), dt = Ht(), Ia = Aa(), [Da, Ne] = Ie(ut), [Zd, ft] = Ie(ut), La = (e) => {
7518
+ ]), dt = zt(), Ia = Aa(), [Da, Ne] = Ie(ut), [Zd, ft] = Ie(ut), La = (e) => {
7519
7519
  const { __scopeMenu: t, open: n = !1, children: r, dir: o, onOpenChange: a, modal: s = !0 } = e, i = dt(t), [l, d] = u.useState(null), f = u.useRef(!1), p = me(a), m = Ma(o);
7520
7520
  return u.useEffect(() => {
7521
7521
  const g = () => {
@@ -7670,7 +7670,7 @@ var ie = "MenuContent", [Jd, Gn] = Ie(ie), za = u.forwardRef(
7670
7670
  }),
7671
7671
  onUnmountAutoFocus: s,
7672
7672
  children: /* @__PURE__ */ c.jsx(
7673
- It,
7673
+ jt,
7674
7674
  {
7675
7675
  asChild: !0,
7676
7676
  disableOutsidePointerEvents: i,
@@ -7754,9 +7754,9 @@ var rf = "MenuLabel", Ha = u.forwardRef(
7754
7754
  }
7755
7755
  );
7756
7756
  Ha.displayName = rf;
7757
- var Tt = "MenuItem", Or = "menu.itemSelect", Ut = u.forwardRef(
7757
+ var _t = "MenuItem", Or = "menu.itemSelect", Gt = u.forwardRef(
7758
7758
  (e, t) => {
7759
- const { disabled: n = !1, onSelect: r, ...o } = e, a = u.useRef(null), s = ft(Tt, e.__scopeMenu), i = Gn(Tt, e.__scopeMenu), l = ee(t, a), d = u.useRef(!1), f = () => {
7759
+ const { disabled: n = !1, onSelect: r, ...o } = e, a = u.useRef(null), s = ft(_t, e.__scopeMenu), i = Gn(_t, e.__scopeMenu), l = ee(t, a), d = u.useRef(!1), f = () => {
7760
7760
  const p = a.current;
7761
7761
  if (!n && p) {
7762
7762
  const m = new CustomEvent(Or, { bubbles: !0, cancelable: !0 });
@@ -7786,10 +7786,10 @@ var Tt = "MenuItem", Or = "menu.itemSelect", Ut = u.forwardRef(
7786
7786
  );
7787
7787
  }
7788
7788
  );
7789
- Ut.displayName = Tt;
7789
+ Gt.displayName = _t;
7790
7790
  var Va = u.forwardRef(
7791
7791
  (e, t) => {
7792
- const { __scopeMenu: n, disabled: r = !1, textValue: o, ...a } = e, s = Gn(Tt, n), i = Ia(n), l = u.useRef(null), d = ee(t, l), [f, p] = u.useState(!1), [m, g] = u.useState("");
7792
+ const { __scopeMenu: n, disabled: r = !1, textValue: o, ...a } = e, s = Gn(_t, n), i = Ia(n), l = u.useRef(null), d = ee(t, l), [f, p] = u.useState(!1), [m, g] = u.useState("");
7793
7793
  return u.useEffect(() => {
7794
7794
  const b = l.current;
7795
7795
  b && g((b.textContent ?? "").trim());
@@ -7829,16 +7829,16 @@ var Va = u.forwardRef(
7829
7829
  (e, t) => {
7830
7830
  const { checked: n = !1, onCheckedChange: r, ...o } = e;
7831
7831
  return /* @__PURE__ */ c.jsx(Ya, { scope: e.__scopeMenu, checked: n, children: /* @__PURE__ */ c.jsx(
7832
- Ut,
7832
+ Gt,
7833
7833
  {
7834
7834
  role: "menuitemcheckbox",
7835
- "aria-checked": Ot(n) ? "mixed" : n,
7835
+ "aria-checked": Tt(n) ? "mixed" : n,
7836
7836
  ...o,
7837
7837
  ref: t,
7838
7838
  "data-state": Xn(n),
7839
7839
  onSelect: j(
7840
7840
  o.onSelect,
7841
- () => r == null ? void 0 : r(Ot(n) ? !0 : !n),
7841
+ () => r == null ? void 0 : r(Tt(n) ? !0 : !n),
7842
7842
  { checkForDefaultPrevented: !1 }
7843
7843
  )
7844
7844
  }
@@ -7861,7 +7861,7 @@ var Ua = "MenuRadioItem", Ka = u.forwardRef(
7861
7861
  (e, t) => {
7862
7862
  const { value: n, ...r } = e, o = sf(Ua, e.__scopeMenu), a = n === o.value;
7863
7863
  return /* @__PURE__ */ c.jsx(Ya, { scope: e.__scopeMenu, checked: a, children: /* @__PURE__ */ c.jsx(
7864
- Ut,
7864
+ Gt,
7865
7865
  {
7866
7866
  role: "menuitemradio",
7867
7867
  "aria-checked": a,
@@ -7890,7 +7890,7 @@ var Yn = "MenuItemIndicator", [Ya, cf] = Ie(
7890
7890
  return /* @__PURE__ */ c.jsx(
7891
7891
  ye,
7892
7892
  {
7893
- present: r || Ot(a.checked) || a.checked === !0,
7893
+ present: r || Tt(a.checked) || a.checked === !0,
7894
7894
  children: /* @__PURE__ */ c.jsx(
7895
7895
  q.span,
7896
7896
  {
@@ -7970,7 +7970,7 @@ var tt = "MenuSubTrigger", es = u.forwardRef(
7970
7970
  "aria-controls": o.contentId,
7971
7971
  "data-state": rs(n.open),
7972
7972
  ...e,
7973
- ref: jt(t, o.onTriggerChange),
7973
+ ref: Ot(t, o.onTriggerChange),
7974
7974
  onClick: (p) => {
7975
7975
  var m;
7976
7976
  (m = e.onClick) == null || m.call(e, p), !(e.disabled || p.defaultPrevented) && (p.currentTarget.focus(), n.open || n.onOpenChange(!0));
@@ -8061,11 +8061,11 @@ ns.displayName = ts;
8061
8061
  function rs(e) {
8062
8062
  return e ? "open" : "closed";
8063
8063
  }
8064
- function Ot(e) {
8064
+ function Tt(e) {
8065
8065
  return e === "indeterminate";
8066
8066
  }
8067
8067
  function Xn(e) {
8068
- return Ot(e) ? "indeterminate" : e ? "checked" : "unchecked";
8068
+ return Tt(e) ? "indeterminate" : e ? "checked" : "unchecked";
8069
8069
  }
8070
8070
  function ff(e) {
8071
8071
  const t = document.activeElement;
@@ -8101,10 +8101,10 @@ function gf(e, t) {
8101
8101
  function st(e) {
8102
8102
  return (t) => t.pointerType === "mouse" ? e(t) : void 0;
8103
8103
  }
8104
- var vf = La, bf = Wn, xf = $a, wf = za, yf = Kn, Cf = Ha, Ef = Ut, Sf = Wa, Rf = Ga, Mf = Ka, kf = Za, Af = Xa, Nf = qa, Pf = Qa, _f = es, Tf = ns, Kt = "DropdownMenu", [Of, Bp] = je(
8105
- Kt,
8104
+ var vf = La, bf = Wn, xf = $a, wf = za, yf = Kn, Cf = Ha, Ef = Gt, Sf = Wa, Rf = Ga, Mf = Ka, kf = Za, Af = Xa, Nf = qa, Pf = Qa, _f = es, Tf = ns, Ut = "DropdownMenu", [Of, Bp] = je(
8105
+ Ut,
8106
8106
  [ja]
8107
- ), ne = ja(), [jf, os] = Of(Kt), as = (e) => {
8107
+ ), ne = ja(), [jf, os] = Of(Ut), as = (e) => {
8108
8108
  const {
8109
8109
  __scopeDropdownMenu: t,
8110
8110
  children: n,
@@ -8117,7 +8117,7 @@ var vf = La, bf = Wn, xf = $a, wf = za, yf = Kn, Cf = Ha, Ef = Ut, Sf = Wa, Rf =
8117
8117
  prop: o,
8118
8118
  defaultProp: a ?? !1,
8119
8119
  onChange: s,
8120
- caller: Kt
8120
+ caller: Ut
8121
8121
  });
8122
8122
  return /* @__PURE__ */ c.jsx(
8123
8123
  jf,
@@ -8134,7 +8134,7 @@ var vf = La, bf = Wn, xf = $a, wf = za, yf = Kn, Cf = Ha, Ef = Ut, Sf = Wa, Rf =
8134
8134
  }
8135
8135
  );
8136
8136
  };
8137
- as.displayName = Kt;
8137
+ as.displayName = Ut;
8138
8138
  var ss = "DropdownMenuTrigger", is = u.forwardRef(
8139
8139
  (e, t) => {
8140
8140
  const { __scopeDropdownMenu: n, disabled: r = !1, ...o } = e, a = os(ss, n), s = ne(n);
@@ -8150,7 +8150,7 @@ var ss = "DropdownMenuTrigger", is = u.forwardRef(
8150
8150
  "data-disabled": r ? "" : void 0,
8151
8151
  disabled: r,
8152
8152
  ...o,
8153
- ref: jt(t, a.triggerRef),
8153
+ ref: Ot(t, a.triggerRef),
8154
8154
  onPointerDown: j(e.onPointerDown, (i) => {
8155
8155
  !r && i.button === 0 && i.ctrlKey === !1 && (a.onOpenToggle(), a.open || i.preventDefault());
8156
8156
  }),
@@ -8797,11 +8797,6 @@ const wp = {
8797
8797
  title: "Keyword Performance",
8798
8798
  url: "/essential-insights/keyword-performance",
8799
8799
  icon: /* @__PURE__ */ c.jsx(ur, { className: "h-4 w-4" })
8800
- },
8801
- {
8802
- title: "More Components",
8803
- url: "/essential-insights/more-components",
8804
- icon: /* @__PURE__ */ c.jsx(vt, { className: "h-4 w-4" })
8805
8800
  }
8806
8801
  ]
8807
8802
  },
@@ -8814,7 +8809,7 @@ const wp = {
8814
8809
  {
8815
8810
  title: "Dashboard",
8816
8811
  url: "/price-monster/dashboard",
8817
- icon: /* @__PURE__ */ c.jsx(vt, { className: "h-4 w-4" })
8812
+ icon: /* @__PURE__ */ c.jsx(Zt, { className: "h-4 w-4" })
8818
8813
  },
8819
8814
  {
8820
8815
  title: "Documentation",
@@ -8832,12 +8827,12 @@ const wp = {
8832
8827
  title: "Web",
8833
8828
  key: "web",
8834
8829
  url: "/cms",
8835
- icon: /* @__PURE__ */ c.jsx(vt, { className: "h-4 w-4" }),
8830
+ icon: /* @__PURE__ */ c.jsx(Zt, { className: "h-4 w-4" }),
8836
8831
  items: [
8837
8832
  {
8838
8833
  title: "Dashboard",
8839
8834
  url: "/cms/dashboard",
8840
- icon: /* @__PURE__ */ c.jsx(vt, { className: "h-4 w-4" })
8835
+ icon: /* @__PURE__ */ c.jsx(Zt, { className: "h-4 w-4" })
8841
8836
  }
8842
8837
  ]
8843
8838
  }
@@ -9040,5 +9035,5 @@ export {
9040
9035
  sc as useIsMobile,
9041
9036
  bp as usePermissions,
9042
9037
  xp as useProductAccess,
9043
- Gt as useSidebar
9038
+ Bt as useSidebar
9044
9039
  };