jcicl 0.0.40 → 0.0.42

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.
@@ -2,7 +2,7 @@ export interface ScrollContainerProps {
2
2
  width?: string;
3
3
  height?: string;
4
4
  direction?: 'vertical' | 'horizontal' | 'all';
5
- style: React.CSSProperties;
5
+ style?: React.CSSProperties;
6
6
  }
7
7
  declare const ScrollContainer: React.FC<ScrollContainerProps & {
8
8
  children: React.ReactNode;
@@ -1,5 +1,7 @@
1
1
  import { jsx as zo } from "react/jsx-runtime";
2
- import Se, { forwardRef as Po, useRef as Ft, useEffect as Qt, useImperativeHandle as Lo, useMemo as xe } from "react";
2
+ import Se, { forwardRef as Po, useRef as Ft, useEffect as Jt, useImperativeHandle as Lo, useMemo as xe } from "react";
3
+ import { n as Fo } from "../../.chunks/emotion-styled.browser.esm.js";
4
+ import No from "../../theme.js";
3
5
  /*!
4
6
  * OverlayScrollbars
5
7
  * Version: 2.10.0
@@ -17,7 +19,7 @@ const pt = (t, n) => {
17
19
  return (p || s) && (c = x, r = g), [c, p, r];
18
20
  };
19
21
  return [n ? (l) => u(n(c, r), l) : u, (l) => [c, !!l, r]];
20
- }, Fo = typeof window < "u" && typeof HTMLElement < "u" && !!window.document, ft = Fo ? window : {}, je = Math.max, No = Math.min, Bn = Math.round, bn = Math.abs, Ce = Math.sign, Be = ft.cancelAnimationFrame, se = ft.requestAnimationFrame, wn = ft.setTimeout, Un = ft.clearTimeout, En = (t) => typeof ft[t] < "u" ? ft[t] : void 0, Vo = En("MutationObserver"), Oe = En("IntersectionObserver"), Sn = En("ResizeObserver"), vn = En("ScrollTimeline"), ce = (t) => t === void 0, Hn = (t) => t === null, Ot = (t) => typeof t == "number", en = (t) => typeof t == "string", re = (t) => typeof t == "boolean", gt = (t) => typeof t == "function", $t = (t) => Array.isArray(t), xn = (t) => typeof t == "object" && !$t(t) && !Hn(t), le = (t) => {
22
+ }, Vo = typeof window < "u" && typeof HTMLElement < "u" && !!window.document, ft = Vo ? window : {}, je = Math.max, jo = Math.min, Bn = Math.round, bn = Math.abs, Ce = Math.sign, Be = ft.cancelAnimationFrame, se = ft.requestAnimationFrame, wn = ft.setTimeout, Un = ft.clearTimeout, En = (t) => typeof ft[t] < "u" ? ft[t] : void 0, Bo = En("MutationObserver"), Oe = En("IntersectionObserver"), Sn = En("ResizeObserver"), hn = En("ScrollTimeline"), ce = (t) => t === void 0, Hn = (t) => t === null, Ot = (t) => typeof t == "number", en = (t) => typeof t == "string", re = (t) => typeof t == "boolean", gt = (t) => typeof t == "function", $t = (t) => Array.isArray(t), xn = (t) => typeof t == "object" && !$t(t) && !Hn(t), le = (t) => {
21
23
  const n = !!t && t.length, e = Ot(n) && n > -1 && n % 1 == 0;
22
24
  return $t(t) || !gt(t) && e ? n > 0 && xn(t) ? n - 1 in t : !0 : !1;
23
25
  }, Cn = (t) => !!t && t.constructor === Object, On = (t) => t instanceof HTMLElement, Tn = (t) => t instanceof Element;
@@ -28,9 +30,9 @@ function K(t, n) {
28
30
  else t && K(Object.keys(t), (e) => n(t[e], e, t));
29
31
  return t;
30
32
  }
31
- const Ue = (t, n) => t.indexOf(n) >= 0, Gt = (t, n) => t.concat(n), tt = (t, n, e) => (!en(n) && le(n) ? Array.prototype.push.apply(t, n) : t.push(n), t), Rt = (t) => Array.from(t || []), ie = (t) => $t(t) ? t : !en(t) && le(t) ? Rt(t) : [t], qn = (t) => !!t && !t.length, Wn = (t) => Rt(new Set(t)), ht = (t, n, e) => {
33
+ const Ue = (t, n) => t.indexOf(n) >= 0, Qt = (t, n) => t.concat(n), tt = (t, n, e) => (!en(n) && le(n) ? Array.prototype.push.apply(t, n) : t.push(n), t), Rt = (t) => Array.from(t || []), ie = (t) => $t(t) ? t : !en(t) && le(t) ? Rt(t) : [t], qn = (t) => !!t && !t.length, Wn = (t) => Rt(new Set(t)), vt = (t, n, e) => {
32
34
  K(t, (s) => s ? s.apply(void 0, n || []) : !0), !e && (t.length = 0);
33
- }, qe = "paddingTop", We = "paddingRight", Ze = "paddingLeft", Ke = "paddingBottom", Ye = "marginLeft", Xe = "marginRight", Je = "marginBottom", Qe = "overflowX", Ge = "overflowY", Mn = "width", Dn = "height", Dt = "visible", _t = "hidden", Ut = "scroll", jo = (t) => {
35
+ }, qe = "paddingTop", We = "paddingRight", Ze = "paddingLeft", Ke = "paddingBottom", Ye = "marginLeft", Xe = "marginRight", Ge = "marginBottom", Je = "overflowX", Qe = "overflowY", Mn = "width", Dn = "height", Dt = "visible", _t = "hidden", Ut = "scroll", Uo = (t) => {
34
36
  const n = String(t || "");
35
37
  return n ? n[0].toUpperCase() + n.slice(1) : "";
36
38
  }, kn = (t, n, e, o) => {
@@ -42,7 +44,7 @@ const Ue = (t, n) => t.indexOf(n) >= 0, Gt = (t, n) => t.concat(n), tt = (t, n,
42
44
  }), s;
43
45
  }
44
46
  return !1;
45
- }, to = (t, n) => kn(t, n, ["w", "h"]), hn = (t, n) => kn(t, n, ["x", "y"]), Bo = (t, n) => kn(t, n, ["t", "r", "b", "l"]), zt = () => {
47
+ }, to = (t, n) => kn(t, n, ["w", "h"]), vn = (t, n) => kn(t, n, ["x", "y"]), qo = (t, n) => kn(t, n, ["t", "r", "b", "l"]), zt = () => {
46
48
  }, D = (t, ...n) => t.bind(0, ...n), Nt = (t) => {
47
49
  let n;
48
50
  const e = t ? wn : se, o = t ? Un : Be;
@@ -84,7 +86,7 @@ const Ue = (t, n) => t.indexOf(n) >= 0, Gt = (t, n) => t.concat(n), tt = (t, n,
84
86
  }), t;
85
87
  }, eo = (t, n) => K(q({}, t), (e, o, s) => {
86
88
  e === void 0 ? delete s[o] : e && Cn(e) && (s[o] = eo(e));
87
- }), ae = (t) => !bt(t).length, oo = (t, n, e) => je(t, No(n, e)), Pt = (t) => Wn(($t(t) ? t : (t || "").split(" ")).filter((n) => n)), ue = (t, n) => t && t.getAttribute(n), $e = (t, n) => t && t.hasAttribute(n), Et = (t, n, e) => {
89
+ }), ae = (t) => !bt(t).length, oo = (t, n, e) => je(t, jo(n, e)), Pt = (t) => Wn(($t(t) ? t : (t || "").split(" ")).filter((n) => n)), ue = (t, n) => t && t.getAttribute(n), $e = (t, n) => t && t.hasAttribute(n), Et = (t, n, e) => {
88
90
  K(Pt(n), (o) => {
89
91
  t && t.setAttribute(o, String(e || ""));
90
92
  });
@@ -110,11 +112,11 @@ const Ue = (t, n) => t.indexOf(n) >= 0, Gt = (t, n) => t.concat(n), tt = (t, n,
110
112
  }, pe = (t, n) => (co(t).$(n), D(ro, t, n)), lo = (t, n) => {
111
113
  const e = n ? Tn(n) && n : document;
112
114
  return e ? Rt(e.querySelectorAll(t)) : [];
113
- }, Uo = (t, n) => {
115
+ }, Wo = (t, n) => {
114
116
  const e = n ? Tn(n) && n : document;
115
117
  return e && e.querySelector(t);
116
- }, Kn = (t, n) => Tn(t) && t.matches(n), io = (t) => Kn(t, "body"), Yn = (t) => t ? Rt(t.childNodes) : [], tn = (t) => t && t.parentElement, Vt = (t, n) => Tn(t) && t.closest(n), Xn = (t) => document.activeElement, qo = (t, n, e) => {
117
- const o = Vt(t, n), s = t && Uo(e, o), c = Vt(s, n) === o;
118
+ }, Kn = (t, n) => Tn(t) && t.matches(n), io = (t) => Kn(t, "body"), Yn = (t) => t ? Rt(t.childNodes) : [], tn = (t) => t && t.parentElement, Vt = (t, n) => Tn(t) && t.closest(n), Xn = (t) => document.activeElement, Zo = (t, n, e) => {
119
+ const o = Vt(t, n), s = t && Wo(e, o), c = Vt(s, n) === o;
118
120
  return o && s ? o === t || s === t || c && Vt(Vt(t, e), n) !== o : !1;
119
121
  }, qt = (t) => {
120
122
  K(ie(t), (n) => {
@@ -132,7 +134,7 @@ const Ue = (t, n) => t.indexOf(n) >= 0, Gt = (t, n) => t.concat(n), tt = (t, n,
132
134
  }, Ae = (t, n) => t.getPropertyValue(n) || t[n] || "", uo = (t) => {
133
135
  const n = t || 0;
134
136
  return isFinite(n) ? n : 0;
135
- }, pn = (t) => uo(parseFloat(t || "")), Jn = (t) => Math.round(t * 1e4) / 1e4, fo = (t) => `${Jn(uo(t))}px`;
137
+ }, pn = (t) => uo(parseFloat(t || "")), Gn = (t) => Math.round(t * 1e4) / 1e4, fo = (t) => `${Gn(uo(t))}px`;
136
138
  function nn(t, n) {
137
139
  t && n && K(n, (e, o) => {
138
140
  try {
@@ -159,44 +161,44 @@ const Ee = (t, n, e) => {
159
161
  b: pn(a[u]),
160
162
  l: pn(a[i])
161
163
  };
162
- }, Wo = (t, n) => `translate${xn(t) ? `(${t.x},${t.y})` : `Y(${t})`}`, Zo = (t) => !!(t.offsetWidth || t.offsetHeight || t.getClientRects().length), Ko = {
164
+ }, Ko = (t, n) => `translate${xn(t) ? `(${t.x},${t.y})` : `Y(${t})`}`, Yo = (t) => !!(t.offsetWidth || t.offsetHeight || t.getClientRects().length), Xo = {
163
165
  w: 0,
164
166
  h: 0
165
167
  }, In = (t, n) => n ? {
166
168
  w: n[`${t}Width`],
167
169
  h: n[`${t}Height`]
168
- } : Ko, Yo = (t) => In("inner", t || ft), Bt = D(In, "offset"), po = D(In, "client"), An = D(In, "scroll"), ye = (t) => {
170
+ } : Xo, Go = (t) => In("inner", t || ft), Bt = D(In, "offset"), po = D(In, "client"), An = D(In, "scroll"), ye = (t) => {
169
171
  const n = parseFloat(Tt(t, Mn)) || 0, e = parseFloat(Tt(t, Dn)) || 0;
170
172
  return {
171
173
  w: n - Bn(n),
172
174
  h: e - Bn(e)
173
175
  };
174
- }, Nn = (t) => t.getBoundingClientRect(), Xo = (t) => !!t && Zo(t), Qn = (t) => !!(t && (t[Dn] || t[Mn])), yo = (t, n) => {
175
- const e = Qn(t);
176
- return !Qn(n) && e;
176
+ }, Nn = (t) => t.getBoundingClientRect(), Jo = (t) => !!t && Yo(t), Jn = (t) => !!(t && (t[Dn] || t[Mn])), yo = (t, n) => {
177
+ const e = Jn(t);
178
+ return !Jn(n) && e;
177
179
  }, He = (t, n, e, o) => {
178
180
  K(Pt(n), (s) => {
179
181
  t && t.removeEventListener(s, e, o);
180
182
  });
181
- }, J = (t, n, e, o) => {
183
+ }, G = (t, n, e, o) => {
182
184
  var s;
183
185
  const c = (s = o && o.H) != null ? s : !0, r = o && o.I || !1, u = o && o.A || !1, i = {
184
186
  passive: c,
185
187
  capture: r
186
188
  };
187
- return D(ht, Pt(n).map((a) => {
189
+ return D(vt, Pt(n).map((a) => {
188
190
  const l = u ? (d) => {
189
191
  He(t, a, l, r), e && e(d);
190
192
  } : e;
191
193
  return t && t.addEventListener(a, l, i), D(He, t, a, l, r);
192
194
  }));
193
- }, vo = (t) => t.stopPropagation(), Gn = (t) => t.preventDefault(), ho = (t) => vo(t) || Gn(t), xt = (t, n) => {
195
+ }, ho = (t) => t.stopPropagation(), Qn = (t) => t.preventDefault(), vo = (t) => ho(t) || Qn(t), xt = (t, n) => {
194
196
  const { x: e, y: o } = Ot(n) ? {
195
197
  x: n,
196
198
  y: n
197
199
  } : n || {};
198
200
  Ot(e) && (t.scrollLeft = e), Ot(o) && (t.scrollTop = o);
199
- }, vt = (t) => ({
201
+ }, ht = (t) => ({
200
202
  x: t.scrollLeft,
201
203
  y: t.scrollTop
202
204
  }), mo = () => ({
@@ -208,7 +210,7 @@ const Ee = (t, n, e) => {
208
210
  x: 0,
209
211
  y: 0
210
212
  }
211
- }), Jo = (t, n) => {
213
+ }), Qo = (t, n) => {
212
214
  const { D: e, M: o } = t, { w: s, h: c } = n, r = (d, g, x) => {
213
215
  let p = Ce(d) * x, w = Ce(g) * x;
214
216
  if (p === w) {
@@ -268,7 +270,7 @@ const Ee = (t, n, e) => {
268
270
  return K(u, (a) => {
269
271
  const l = c[a];
270
272
  l && tt(i, o(a, l));
271
- }), D(ht, i);
273
+ }), D(vt, i);
272
274
  }, s = (c, r) => {
273
275
  K(Rt(n.get(c)), (u) => {
274
276
  r && !qn(r) ? u.apply(0, r) : u();
@@ -279,7 +281,7 @@ const Ee = (t, n, e) => {
279
281
  if (gt(e))
280
282
  throw 0;
281
283
  return e;
282
- }), Re = (t, n) => t ? `${n}`.split(".").reduce((e, o) => e && no(e, o) ? e[o] : void 0, t) : void 0, Qo = {
284
+ }), Re = (t, n) => t ? `${n}`.split(".").reduce((e, o) => e && no(e, o) ? e[o] : void 0, t) : void 0, ts = {
283
285
  paddingAbsolute: !1,
284
286
  showNativeOverlaidScrollbars: !1,
285
287
  update: {
@@ -303,7 +305,7 @@ const Ee = (t, n, e) => {
303
305
  pointers: ["mouse", "touch", "pen"]
304
306
  }
305
307
  }, go = (t, n) => {
306
- const e = {}, o = Gt(bt(n), bt(t));
308
+ const e = {}, o = Qt(bt(n), bt(t));
307
309
  return K(o, (s) => {
308
310
  const c = t[s], r = n[s];
309
311
  if (xn(c) && xn(r))
@@ -318,13 +320,13 @@ const Ee = (t, n, e) => {
318
320
  u && (e[s] = r);
319
321
  }
320
322
  }), e;
321
- }, Ie = (t, n, e) => (o) => [Re(t, o), e || Re(n, o) !== void 0], Zt = "data-overlayscrollbars", mn = "os-environment", yn = `${mn}-scrollbar-hidden`, Vn = `${Zt}-initialize`, gn = "noClipping", _e = `${Zt}-body`, kt = Zt, Go = "host", Ht = `${Zt}-viewport`, ts = Qe, ns = Ge, es = "arrange", bo = "measuring", os = "scrolling", wo = "scrollbarHidden", ss = "noContent", ee = `${Zt}-padding`, ze = `${Zt}-content`, ve = "os-size-observer", cs = `${ve}-appear`, rs = `${ve}-listener`, ls = "os-trinsic-observer", is = "os-theme-none", mt = "os-scrollbar", as = `${mt}-rtl`, us = `${mt}-horizontal`, ds = `${mt}-vertical`, So = `${mt}-track`, he = `${mt}-handle`, fs = `${mt}-visible`, ps = `${mt}-cornerless`, Pe = `${mt}-interaction`, Le = `${mt}-unusable`, oe = `${mt}-auto-hide`, Fe = `${oe}-hidden`, Ne = `${mt}-wheel`, ys = `${So}-interactive`, vs = `${he}-interactive`;
323
+ }, Ie = (t, n, e) => (o) => [Re(t, o), e || Re(n, o) !== void 0], Zt = "data-overlayscrollbars", mn = "os-environment", yn = `${mn}-scrollbar-hidden`, Vn = `${Zt}-initialize`, gn = "noClipping", _e = `${Zt}-body`, kt = Zt, ns = "host", Ht = `${Zt}-viewport`, es = Je, os = Qe, ss = "arrange", bo = "measuring", cs = "scrolling", wo = "scrollbarHidden", rs = "noContent", ee = `${Zt}-padding`, ze = `${Zt}-content`, he = "os-size-observer", ls = `${he}-appear`, is = `${he}-listener`, as = "os-trinsic-observer", us = "os-theme-none", mt = "os-scrollbar", ds = `${mt}-rtl`, fs = `${mt}-horizontal`, ps = `${mt}-vertical`, So = `${mt}-track`, ve = `${mt}-handle`, ys = `${mt}-visible`, hs = `${mt}-cornerless`, Pe = `${mt}-interaction`, Le = `${mt}-unusable`, oe = `${mt}-auto-hide`, Fe = `${oe}-hidden`, Ne = `${mt}-wheel`, vs = `${So}-interactive`, ms = `${ve}-interactive`;
322
324
  let xo;
323
- const hs = () => xo, ms = (t) => {
325
+ const gs = () => xo, bs = (t) => {
324
326
  xo = t;
325
327
  };
326
328
  let jn;
327
- const gs = () => {
329
+ const ws = () => {
328
330
  const t = (S, T, M) => {
329
331
  yt(document.body, S), yt(document.body, S);
330
332
  const I = po(S), P = Bt(S), k = ye(T);
@@ -340,11 +342,11 @@ const gs = () => {
340
342
  } catch {
341
343
  }
342
344
  return M(), T;
343
- }, e = `.${mn}{scroll-behavior:auto!important;position:fixed;opacity:0;visibility:hidden;overflow:scroll;height:200px;width:200px;z-index:-1}.${mn} div{width:200%;height:200%;margin:10px 0}.${yn}{scrollbar-width:none!important}.${yn}::-webkit-scrollbar,.${yn}::-webkit-scrollbar-corner{appearance:none!important;display:none!important;width:0!important;height:0!important}`, s = ao(`<div class="${mn}"><div></div><style>${e}</style></div>`)[0], c = s.firstChild, r = s.lastChild, u = hs();
345
+ }, e = `.${mn}{scroll-behavior:auto!important;position:fixed;opacity:0;visibility:hidden;overflow:scroll;height:200px;width:200px;z-index:-1}.${mn} div{width:200%;height:200%;margin:10px 0}.${yn}{scrollbar-width:none!important}.${yn}::-webkit-scrollbar,.${yn}::-webkit-scrollbar-corner{appearance:none!important;display:none!important;width:0!important;height:0!important}`, s = ao(`<div class="${mn}"><div></div><style>${e}</style></div>`)[0], c = s.firstChild, r = s.lastChild, u = gs();
344
346
  u && (r.nonce = u);
345
347
  const [i, , a] = ne(), [l, d] = pt({
346
348
  o: t(s, c),
347
- i: hn
349
+ i: vn
348
350
  }, D(t, s, c, !0)), [g] = d(), x = n(s), p = {
349
351
  x: g.x === 0,
350
352
  y: g.y === 0
@@ -362,11 +364,11 @@ const gs = () => {
362
364
  nativeScrollbarsOverlaid: !1,
363
365
  body: null
364
366
  }
365
- }, H = q({}, Qo), E = D(q, {}, H), L = D(q, {}, w), j = {
367
+ }, H = q({}, ts), E = D(q, {}, H), L = D(q, {}, w), j = {
366
368
  T: g,
367
369
  k: p,
368
370
  R: x,
369
- V: !!vn,
371
+ V: !!hn,
370
372
  L: D(i, "r"),
371
373
  U: L,
372
374
  P: (S) => q(w, S) && L(),
@@ -375,12 +377,12 @@ const gs = () => {
375
377
  B: q({}, w),
376
378
  F: q({}, H)
377
379
  };
378
- if (St(s, "style"), qt(s), J(ft, "resize", () => {
380
+ if (St(s, "style"), qt(s), G(ft, "resize", () => {
379
381
  a("r", []);
380
382
  }), gt(ft.matchMedia) && !x && (!p.x || !p.y)) {
381
383
  const S = (T) => {
382
384
  const M = ft.matchMedia(`(resolution: ${ft.devicePixelRatio}dppx)`);
383
- J(M, "change", () => {
385
+ G(M, "change", () => {
384
386
  T(), S(T);
385
387
  }, {
386
388
  A: !0
@@ -392,20 +394,20 @@ const gs = () => {
392
394
  });
393
395
  }
394
396
  return j;
395
- }, At = () => (jn || (jn = gs()), jn), Co = (t, n) => gt(n) ? n.apply(0, t) : n, bs = (t, n, e, o) => {
397
+ }, At = () => (jn || (jn = ws()), jn), Co = (t, n) => gt(n) ? n.apply(0, t) : n, Ss = (t, n, e, o) => {
396
398
  const s = ce(o) ? e : o;
397
399
  return Co(t, s) || n.apply(0, t);
398
400
  }, Oo = (t, n, e, o) => {
399
401
  const s = ce(o) ? e : o, c = Co(t, s);
400
402
  return !!c && (On(c) ? c : n.apply(0, t));
401
- }, ws = (t, n) => {
403
+ }, xs = (t, n) => {
402
404
  const { nativeScrollbarsOverlaid: e, body: o } = n || {}, { k: s, R: c, U: r } = At(), { nativeScrollbarsOverlaid: u, body: i } = r().cancel, a = e ?? u, l = ce(o) ? i : o, d = (s.x || s.y) && a, g = t && (Hn(l) ? !c : l);
403
405
  return !!d || !!g;
404
- }, me = /* @__PURE__ */ new WeakMap(), Ss = (t, n) => {
406
+ }, me = /* @__PURE__ */ new WeakMap(), Cs = (t, n) => {
405
407
  me.set(t, n);
406
- }, xs = (t) => {
408
+ }, Os = (t) => {
407
409
  me.delete(t);
408
- }, $o = (t) => me.get(t), Cs = (t, n, e) => {
410
+ }, $o = (t) => me.get(t), $s = (t, n, e) => {
409
411
  let o = !1;
410
412
  const s = e ? /* @__PURE__ */ new WeakMap() : !1, c = () => {
411
413
  o = !0;
@@ -418,12 +420,12 @@ const gs = () => {
418
420
  K(i, (a) => K(a[0], (l) => {
419
421
  const d = a[1], g = s.get(l) || [];
420
422
  if (t.contains(l) && d) {
421
- const p = J(l, d, (w) => {
423
+ const p = G(l, d, (w) => {
422
424
  o ? (p(), s.delete(l)) : n(w);
423
425
  });
424
426
  s.set(l, tt(g, p));
425
427
  } else
426
- ht(g), s.delete(l);
428
+ vt(g), s.delete(l);
427
429
  }));
428
430
  }
429
431
  };
@@ -433,25 +435,25 @@ const gs = () => {
433
435
  const { j: c, X: r, Y: u, W: i, J: a, G: l } = o || {}, d = Zn(() => s && e(!0), {
434
436
  _: 33,
435
437
  v: 99
436
- }), [g, x] = Cs(t, d, u), p = c || [], w = r || [], H = Gt(p, w), E = (j, S) => {
438
+ }), [g, x] = $s(t, d, u), p = c || [], w = r || [], H = Qt(p, w), E = (j, S) => {
437
439
  if (!qn(S)) {
438
440
  const T = a || zt, M = l || zt, I = [], P = [];
439
441
  let k = !1, m = !1;
440
- if (K(S, (h) => {
441
- const { attributeName: R, target: _, type: N, oldValue: B, addedNodes: V, removedNodes: W } = h, Z = N === "attributes", U = N === "childList", nt = t === _, y = Z && R, v = y && ue(_, R || ""), b = en(v) ? v : null, C = y && B !== b, f = Ue(w, R) && C;
442
+ if (K(S, (v) => {
443
+ const { attributeName: R, target: _, type: N, oldValue: B, addedNodes: V, removedNodes: W } = v, Z = N === "attributes", U = N === "childList", nt = t === _, y = Z && R, h = y && ue(_, R || ""), b = en(h) ? h : null, C = y && B !== b, f = Ue(w, R) && C;
442
444
  if (n && (U || !nt)) {
443
- const $ = Z && C, O = $ && i && Kn(_, i), F = (O ? !T(_, R, B, b) : !Z || $) && !M(h, !!O, t, o);
445
+ const $ = Z && C, O = $ && i && Kn(_, i), F = (O ? !T(_, R, B, b) : !Z || $) && !M(v, !!O, t, o);
444
446
  K(V, (Y) => tt(I, Y)), K(W, (Y) => tt(I, Y)), m = m || F;
445
447
  }
446
448
  !n && nt && C && !T(_, R, B, b) && (tt(P, R), k = k || f);
447
- }), x((h) => Wn(I).reduce((R, _) => (tt(R, lo(h, _)), Kn(_, h) ? tt(R, _) : R), [])), n)
449
+ }), x((v) => Wn(I).reduce((R, _) => (tt(R, lo(v, _)), Kn(_, v) ? tt(R, _) : R), [])), n)
448
450
  return !j && m && e(!1), [!1];
449
451
  if (!qn(P) || k) {
450
- const h = [Wn(P), k];
451
- return !j && e.apply(0, h), h;
452
+ const v = [Wn(P), k];
453
+ return !j && e.apply(0, v), v;
452
454
  }
453
455
  }
454
- }, L = new Vo(D(E, !1));
456
+ }, L = new Bo(D(E, !1));
455
457
  return [() => (L.observe(t, {
456
458
  attributes: !0,
457
459
  attributeOldValue: !0,
@@ -465,7 +467,7 @@ const gs = () => {
465
467
  if (s)
466
468
  return d.m(), E(!0, L.takeRecords());
467
469
  }];
468
- }, Ao = {}, Eo = {}, Os = (t) => {
470
+ }, Ao = {}, Eo = {}, As = (t) => {
469
471
  K(t, (n) => K(n, (e, o) => {
470
472
  Ao[o] = n[o];
471
473
  }));
@@ -475,10 +477,10 @@ const gs = () => {
475
477
  const l = e ? a(r, u, n) : a(n);
476
478
  return (i || Eo)[o] = l;
477
479
  }
478
- }), on = (t) => Eo[t], $s = "__osOptionsValidationPlugin", As = "__osSizeObserverPlugin", Es = (t, n) => {
480
+ }), on = (t) => Eo[t], Es = "__osOptionsValidationPlugin", Hs = "__osSizeObserverPlugin", Ts = (t, n) => {
479
481
  const { k: e } = n, [o, s] = t("showNativeOverlaidScrollbars");
480
482
  return [o && e.x && e.y, s];
481
- }, Wt = (t) => t.indexOf(Dt) === 0, Hs = (t, n) => {
483
+ }, Wt = (t) => t.indexOf(Dt) === 0, Ms = (t, n) => {
482
484
  const e = (s, c, r, u) => {
483
485
  const i = s === Dt ? _t : s.replace(`${Dt}-`, ""), a = Wt(s), l = Wt(r);
484
486
  return !c && !u ? _t : a && l ? Dt : a ? c && u ? i : c ? Dt : _t : c ? i : l && u ? Dt : _t;
@@ -493,17 +495,17 @@ const gs = () => {
493
495
  y: o.y === Ut
494
496
  }
495
497
  };
496
- }, To = "__osScrollbarsHidingPlugin", Ts = "__osClickScrollPlugin", Mo = (t, n, e) => {
497
- const { dt: o } = e || {}, s = on(As), [c] = pt({
498
+ }, To = "__osScrollbarsHidingPlugin", Ds = "__osClickScrollPlugin", Mo = (t, n, e) => {
499
+ const { dt: o } = e || {}, s = on(Hs), [c] = pt({
498
500
  o: !1,
499
501
  u: !0
500
502
  });
501
503
  return () => {
502
- const r = [], i = ao(`<div class="${ve}"><div class="${rs}"></div></div>`)[0], a = i.firstChild, l = (d) => {
504
+ const r = [], i = ao(`<div class="${he}"><div class="${is}"></div></div>`)[0], a = i.firstChild, l = (d) => {
503
505
  const g = d instanceof ResizeObserverEntry;
504
506
  let x = !1, p = !1;
505
507
  if (g) {
506
- const [w, , H] = c(d.contentRect), E = Qn(w);
508
+ const [w, , H] = c(d.contentRect), E = Jn(w);
507
509
  p = yo(w, H), x = !p && !E;
508
510
  } else
509
511
  p = d === !0;
@@ -519,14 +521,14 @@ const gs = () => {
519
521
  });
520
522
  } else if (s) {
521
523
  const [d, g] = s(a, l, o);
522
- tt(r, Gt([pe(i, cs), J(i, "animationstart", d)], g));
524
+ tt(r, Qt([pe(i, ls), G(i, "animationstart", d)], g));
523
525
  } else
524
526
  return zt;
525
- return D(ht, tt(r, yt(t, i)));
527
+ return D(vt, tt(r, yt(t, i)));
526
528
  };
527
- }, Ms = (t, n) => {
529
+ }, ks = (t, n) => {
528
530
  let e;
529
- const o = (i) => i.h === 0 || i.isIntersecting || i.intersectionRatio > 0, s = jt(ls), [c] = pt({
531
+ const o = (i) => i.h === 0 || i.isIntersecting || i.intersectionRatio > 0, s = jt(as), [c] = pt({
530
532
  o: !1
531
533
  }), r = (i, a) => {
532
534
  if (i) {
@@ -549,22 +551,22 @@ const gs = () => {
549
551
  };
550
552
  tt(i, Mo(s, a)()), a();
551
553
  }
552
- return D(ht, tt(i, yt(t, s)));
554
+ return D(vt, tt(i, yt(t, s)));
553
555
  }, () => e && u(!0, e.takeRecords())];
554
- }, Ds = (t, n, e, o) => {
556
+ }, Rs = (t, n, e, o) => {
555
557
  let s, c, r, u, i, a;
556
558
  const l = `[${kt}]`, d = `[${Ht}]`, g = ["id", "class", "style", "open", "wrap", "cols", "rows"], { vt: x, ht: p, ot: w, gt: H, bt: E, nt: L, wt: j, yt: S, St: T, Ot: M } = t, I = (f) => Tt(f, "direction") === "rtl", P = {
557
559
  $t: !1,
558
560
  ct: I(x)
559
- }, k = At(), m = on(To), [h] = pt({
561
+ }, k = At(), m = on(To), [v] = pt({
560
562
  i: to,
561
563
  o: {
562
564
  w: 0,
563
565
  h: 0
564
566
  }
565
567
  }, () => {
566
- const f = m && m.tt(t, n, P, k, e).ut, O = !(j && L) && fe(p, kt, gn), A = !L && S(es), F = A && vt(H), Y = F && M(), ot = T(bo, O), Q = A && f && f()[0], lt = An(w), z = ye(w);
567
- return Q && Q(), xt(H, F), Y && Y(), O && ot(), {
568
+ const f = m && m.tt(t, n, P, k, e).ut, O = !(j && L) && fe(p, kt, gn), A = !L && S(ss), F = A && ht(H), Y = F && M(), ot = T(bo, O), J = A && f && f()[0], lt = An(w), z = ye(w);
569
+ return J && J(), xt(H, F), Y && Y(), O && ot(), {
568
570
  w: lt.w + z.w,
569
571
  h: lt.h + z.h
570
572
  };
@@ -573,7 +575,7 @@ const gs = () => {
573
575
  v: () => c,
574
576
  S(f, $) {
575
577
  const [O] = f, [A] = $;
576
- return [Gt(bt(O), bt(A)).reduce((F, Y) => (F[Y] = O[Y] || A[Y], F), {})];
578
+ return [Qt(bt(O), bt(A)).reduce((F, Y) => (F[Y] = O[Y] || A[Y], F), {})];
577
579
  }
578
580
  }), _ = (f) => {
579
581
  const $ = I(x);
@@ -596,7 +598,7 @@ const gs = () => {
596
598
  };
597
599
  _(F), A(F);
598
600
  }, V = (f, $) => {
599
- const [, O] = h(), A = {
601
+ const [, O] = v(), A = {
600
602
  Ht: O
601
603
  };
602
604
  return _(A), O && !$ && (f ? o : R)(A), A;
@@ -605,9 +607,9 @@ const gs = () => {
605
607
  Et: $
606
608
  };
607
609
  return _(A), $ && !O && R(A), A;
608
- }, [Z, U] = E ? Ms(p, N) : [], nt = !L && Mo(p, B, {
610
+ }, [Z, U] = E ? ks(p, N) : [], nt = !L && Mo(p, B, {
609
611
  dt: !0
610
- }), [y, v] = Ve(p, !1, W, {
612
+ }), [y, h] = Ve(p, !1, W, {
611
613
  X: g,
612
614
  j: g
613
615
  }), b = L && Sn && new Sn((f) => {
@@ -617,7 +619,7 @@ const gs = () => {
617
619
  dt: yo($, i)
618
620
  }), i = $;
619
621
  }), C = Zn(() => {
620
- const [, f] = h();
622
+ const [, f] = v();
621
623
  o({
622
624
  Ht: f
623
625
  });
@@ -636,16 +638,16 @@ const gs = () => {
636
638
  b && b.disconnect(), f && f(), $ && $(), u && u(), O(), A();
637
639
  };
638
640
  }, ({ It: f, At: $, Dt: O }) => {
639
- const A = {}, [F] = f("update.ignoreMutation"), [Y, ot] = f("update.attributes"), [Q, lt] = f("update.elementEvents"), [z, it] = f("update.debounce"), ut = lt || ot, ct = $ || O, at = (et) => gt(F) && F(et);
641
+ const A = {}, [F] = f("update.ignoreMutation"), [Y, ot] = f("update.attributes"), [J, lt] = f("update.elementEvents"), [z, it] = f("update.debounce"), ut = lt || ot, ct = $ || O, at = (et) => gt(F) && F(et);
640
642
  if (ut) {
641
643
  r && r(), u && u();
642
644
  const [et, st] = Ve(E || w, !0, V, {
643
- j: Gt(g, Y || []),
644
- Y: Q,
645
+ j: Qt(g, Y || []),
646
+ Y: J,
645
647
  W: l,
646
- G: (X, G) => {
648
+ G: (X, Q) => {
647
649
  const { target: rt, attributeName: dt } = X;
648
- return (!G && dt && !L ? qo(rt, l, d) : !1) || !!Vt(rt, `.${mt}`) || !!at(X);
650
+ return (!Q && dt && !L ? Zo(rt, l, d) : !1) || !!Vt(rt, `.${mt}`) || !!at(X);
649
651
  }
650
652
  });
651
653
  u = et(), r = st;
@@ -656,15 +658,15 @@ const gs = () => {
656
658
  s = Ot(et) && et, c = Ot(st) && st;
657
659
  } else Ot(z) ? (s = z, c = !1) : (s = !1, c = !1);
658
660
  if (ct) {
659
- const et = v(), st = U && U(), X = r && r();
661
+ const et = h(), st = U && U(), X = r && r();
660
662
  et && q(A, W(et[0], et[1], ct)), st && q(A, N(st[0], ct)), X && q(A, V(X[0], ct));
661
663
  }
662
664
  return _(A), A;
663
665
  }, P];
664
- }, ks = (t, n, e, o) => {
666
+ }, Is = (t, n, e, o) => {
665
667
  const s = "--os-viewport-percent", c = "--os-scroll-percent", r = "--os-scroll-direction", { U: u } = At(), { scrollbars: i } = u(), { slot: a } = i, { vt: l, ht: d, ot: g, Mt: x, gt: p, wt: w, nt: H } = n, { scrollbars: E } = x ? {} : t, { slot: L } = E || {}, j = [], S = [], T = [], M = Oo([l, d, g], () => H && w ? l : d, a, L), I = (y) => {
666
- if (vn) {
667
- const v = new vn({
668
+ if (hn) {
669
+ const h = new hn({
668
670
  source: p,
669
671
  axis: y
670
672
  });
@@ -674,7 +676,7 @@ const gs = () => {
674
676
  clear: ["left"],
675
677
  [c]: [0, 1]
676
678
  }, {
677
- timeline: v
679
+ timeline: h
678
680
  });
679
681
  return () => f.cancel();
680
682
  }
@@ -684,65 +686,65 @@ const gs = () => {
684
686
  x: I("x"),
685
687
  y: I("y")
686
688
  }, k = () => {
687
- const { Rt: y, Vt: v } = e, b = (C, f) => oo(0, 1, C / (C + f) || 0);
689
+ const { Rt: y, Vt: h } = e, b = (C, f) => oo(0, 1, C / (C + f) || 0);
688
690
  return {
689
- x: b(v.x, y.x),
690
- y: b(v.y, y.y)
691
+ x: b(h.x, y.x),
692
+ y: b(h.y, y.y)
691
693
  };
692
- }, m = (y, v, b) => {
694
+ }, m = (y, h, b) => {
693
695
  const C = b ? pe : ro;
694
696
  K(y, (f) => {
695
- C(f.Tt, v);
697
+ C(f.Tt, h);
696
698
  });
697
- }, h = (y, v) => {
699
+ }, v = (y, h) => {
698
700
  K(y, (b) => {
699
- const [C, f] = v(b);
701
+ const [C, f] = h(b);
700
702
  nn(C, f);
701
703
  });
702
- }, R = (y, v, b) => {
704
+ }, R = (y, h, b) => {
703
705
  const C = re(b), f = C ? b : !0, $ = C ? !b : !0;
704
- f && m(S, y, v), $ && m(T, y, v);
706
+ f && m(S, y, h), $ && m(T, y, h);
705
707
  }, _ = () => {
706
- const y = k(), v = (b) => (C) => [C.Tt, {
707
- [s]: Jn(b) + ""
708
+ const y = k(), h = (b) => (C) => [C.Tt, {
709
+ [s]: Gn(b) + ""
708
710
  }];
709
- h(S, v(y.x)), h(T, v(y.y));
711
+ v(S, h(y.x)), v(T, h(y.y));
710
712
  }, N = () => {
711
- if (!vn) {
712
- const { Lt: y } = e, v = Me(y, vt(p)), b = (C) => (f) => [f.Tt, {
713
- [c]: Jn(C) + ""
713
+ if (!hn) {
714
+ const { Lt: y } = e, h = Me(y, ht(p)), b = (C) => (f) => [f.Tt, {
715
+ [c]: Gn(C) + ""
714
716
  }];
715
- h(S, b(v.x)), h(T, b(v.y));
717
+ v(S, b(h.x)), v(T, b(h.y));
716
718
  }
717
719
  }, B = () => {
718
- const { Lt: y } = e, v = Te(y), b = (C) => (f) => [f.Tt, {
720
+ const { Lt: y } = e, h = Te(y), b = (C) => (f) => [f.Tt, {
719
721
  [r]: C ? "0" : "1"
720
722
  }];
721
- h(S, b(v.x)), h(T, b(v.y));
723
+ v(S, b(h.x)), v(T, b(h.y));
722
724
  }, V = () => {
723
725
  if (H && !w) {
724
- const { Rt: y, Lt: v } = e, b = Te(v), C = Me(v, vt(p)), f = ($) => {
725
- const { Tt: O } = $, A = tn(O) === g && O, F = (Y, ot, Q) => {
726
+ const { Rt: y, Lt: h } = e, b = Te(h), C = Me(h, ht(p)), f = ($) => {
727
+ const { Tt: O } = $, A = tn(O) === g && O, F = (Y, ot, J) => {
726
728
  const lt = ot * Y;
727
- return fo(Q ? lt : -lt);
729
+ return fo(J ? lt : -lt);
728
730
  };
729
731
  return [A, A && {
730
- transform: Wo({
732
+ transform: Ko({
731
733
  x: F(C.x, y.x, b.x),
732
734
  y: F(C.y, y.y, b.y)
733
735
  })
734
736
  }];
735
737
  };
736
- h(S, f), h(T, f);
738
+ v(S, f), v(T, f);
737
739
  }
738
740
  }, W = (y) => {
739
- const v = y ? "x" : "y", C = jt(`${mt} ${y ? us : ds}`), f = jt(So), $ = jt(he), O = {
741
+ const h = y ? "x" : "y", C = jt(`${mt} ${y ? fs : ps}`), f = jt(So), $ = jt(ve), O = {
740
742
  Tt: C,
741
743
  Ut: f,
742
744
  Pt: $
743
- }, A = P[v];
745
+ }, A = P[h];
744
746
  return tt(y ? S : T, O), tt(j, [yt(C, f), yt(f, $), D(qt, C), A && A.kt(O), o(O, R, y)]), O;
745
- }, Z = D(W, !0), U = D(W, !1), nt = () => (yt(M, S[0].Tt), yt(M, T[0].Tt), D(ht, j));
747
+ }, Z = D(W, !0), U = D(W, !1), nt = () => (yt(M, S[0].Tt), yt(M, T[0].Tt), D(vt, j));
746
748
  return Z(), U(), [{
747
749
  Nt: _,
748
750
  qt: N,
@@ -752,15 +754,15 @@ const gs = () => {
752
754
  Xt: {
753
755
  Yt: S,
754
756
  Wt: Z,
755
- Jt: D(h, S)
757
+ Jt: D(v, S)
756
758
  },
757
759
  Gt: {
758
760
  Yt: T,
759
761
  Wt: U,
760
- Jt: D(h, T)
762
+ Jt: D(v, T)
761
763
  }
762
764
  }, nt];
763
- }, Rs = (t, n, e, o) => (s, c, r) => {
765
+ }, _s = (t, n, e, o) => (s, c, r) => {
764
766
  const { ht: u, ot: i, nt: a, gt: l, Kt: d, Ot: g } = n, { Tt: x, Ut: p, Pt: w } = s, [H, E] = Nt(333), [L, j] = Nt(444), S = (I) => {
765
767
  gt(l.scrollBy) && l.scrollBy({
766
768
  behavior: "smooth",
@@ -768,35 +770,35 @@ const gs = () => {
768
770
  top: I.y
769
771
  });
770
772
  }, T = () => {
771
- const I = "pointerup pointercancel lostpointercapture", P = `client${r ? "X" : "Y"}`, k = r ? Mn : Dn, m = r ? "left" : "top", h = r ? "w" : "h", R = r ? "x" : "y", _ = (B, V) => (W) => {
772
- const { Rt: Z } = e, U = Bt(p)[h] - Bt(w)[h], y = V * W / U * Z[R];
773
+ const I = "pointerup pointercancel lostpointercapture", P = `client${r ? "X" : "Y"}`, k = r ? Mn : Dn, m = r ? "left" : "top", v = r ? "w" : "h", R = r ? "x" : "y", _ = (B, V) => (W) => {
774
+ const { Rt: Z } = e, U = Bt(p)[v] - Bt(w)[v], y = V * W / U * Z[R];
773
775
  xt(l, {
774
776
  [R]: B + y
775
777
  });
776
778
  }, N = [];
777
- return J(p, "pointerdown", (B) => {
778
- const V = Vt(B.target, `.${he}`) === w, W = V ? w : p, Z = t.scrollbars, U = Z[V ? "dragScroll" : "clickScroll"], { button: nt, isPrimary: y, pointerType: v } = B, { pointers: b } = Z;
779
- if (nt === 0 && y && U && (b || []).includes(v)) {
780
- ht(N), j();
781
- const f = !V && (B.shiftKey || U === "instant"), $ = D(Nn, w), O = D(Nn, p), A = (G, rt) => (G || $())[m] - (rt || O())[m], F = Bn(Nn(l)[k]) / Bt(l)[h] || 1, Y = _(vt(l)[R], 1 / F), ot = B[P], Q = $(), lt = O(), z = Q[k], it = A(Q, lt) + z / 2, ut = ot - lt[m], ct = V ? 0 : ut - it, at = (G) => {
782
- ht(X), W.releasePointerCapture(G.pointerId);
783
- }, et = V || f, st = g(), X = [J(d, I, at), J(d, "selectstart", (G) => Gn(G), {
779
+ return G(p, "pointerdown", (B) => {
780
+ const V = Vt(B.target, `.${ve}`) === w, W = V ? w : p, Z = t.scrollbars, U = Z[V ? "dragScroll" : "clickScroll"], { button: nt, isPrimary: y, pointerType: h } = B, { pointers: b } = Z;
781
+ if (nt === 0 && y && U && (b || []).includes(h)) {
782
+ vt(N), j();
783
+ const f = !V && (B.shiftKey || U === "instant"), $ = D(Nn, w), O = D(Nn, p), A = (Q, rt) => (Q || $())[m] - (rt || O())[m], F = Bn(Nn(l)[k]) / Bt(l)[v] || 1, Y = _(ht(l)[R], 1 / F), ot = B[P], J = $(), lt = O(), z = J[k], it = A(J, lt) + z / 2, ut = ot - lt[m], ct = V ? 0 : ut - it, at = (Q) => {
784
+ vt(X), W.releasePointerCapture(Q.pointerId);
785
+ }, et = V || f, st = g(), X = [G(d, I, at), G(d, "selectstart", (Q) => Qn(Q), {
784
786
  H: !1
785
- }), J(p, I, at), et && J(p, "pointermove", (G) => Y(ct + (G[P] - ot))), et && (() => {
786
- const G = vt(l);
787
+ }), G(p, I, at), et && G(p, "pointermove", (Q) => Y(ct + (Q[P] - ot))), et && (() => {
788
+ const Q = ht(l);
787
789
  st();
788
- const rt = vt(l), dt = {
789
- x: rt.x - G.x,
790
- y: rt.y - G.y
790
+ const rt = ht(l), dt = {
791
+ x: rt.x - Q.x,
792
+ y: rt.y - Q.y
791
793
  };
792
- (bn(dt.x) > 3 || bn(dt.y) > 3) && (g(), xt(l, G), S(dt), L(st));
794
+ (bn(dt.x) > 3 || bn(dt.y) > 3) && (g(), xt(l, Q), S(dt), L(st));
793
795
  })];
794
796
  if (W.setPointerCapture(B.pointerId), f)
795
797
  Y(ct);
796
798
  else if (!V) {
797
- const G = on(Ts);
798
- if (G) {
799
- const rt = G(Y, ct, z, (dt) => {
799
+ const Q = on(Ds);
800
+ if (Q) {
801
+ const rt = Q(Y, ct, z, (dt) => {
800
802
  dt ? st() : tt(X, st);
801
803
  });
802
804
  tt(X, rt), tt(N, D(rt, !0));
@@ -806,86 +808,86 @@ const gs = () => {
806
808
  });
807
809
  };
808
810
  let M = !0;
809
- return D(ht, [J(w, "pointermove pointerleave", o), J(x, "pointerenter", () => {
811
+ return D(vt, [G(w, "pointermove pointerleave", o), G(x, "pointerenter", () => {
810
812
  c(Pe, !0);
811
- }), J(x, "pointerleave pointercancel", () => {
813
+ }), G(x, "pointerleave pointercancel", () => {
812
814
  c(Pe, !1);
813
- }), !a && J(x, "mousedown", () => {
815
+ }), !a && G(x, "mousedown", () => {
814
816
  const I = Xn();
815
817
  ($e(I, Ht) || $e(I, kt) || I === document.body) && wn(D(te, i), 25);
816
- }), J(x, "wheel", (I) => {
818
+ }), G(x, "wheel", (I) => {
817
819
  const { deltaX: P, deltaY: k, deltaMode: m } = I;
818
820
  M && m === 0 && tn(x) === u && S({
819
821
  x: P,
820
822
  y: k
821
823
  }), M = !1, c(Ne, !0), H(() => {
822
824
  M = !0, c(Ne);
823
- }), Gn(I);
825
+ }), Qn(I);
824
826
  }, {
825
827
  H: !1,
826
828
  I: !0
827
- }), J(x, "pointerdown", D(J, d, "click", ho, {
829
+ }), G(x, "pointerdown", D(G, d, "click", vo, {
828
830
  A: !0,
829
831
  I: !0,
830
832
  H: !1
831
833
  }), {
832
834
  I: !0
833
835
  }), T(), E, j]);
834
- }, Is = (t, n, e, o, s, c) => {
836
+ }, zs = (t, n, e, o, s, c) => {
835
837
  let r, u, i, a, l, d = zt, g = 0;
836
- const x = (y) => y.pointerType === "mouse", [p, w] = Nt(), [H, E] = Nt(100), [L, j] = Nt(100), [S, T] = Nt(() => g), [M, I] = ks(t, s, o, Rs(n, s, o, (y) => x(y) && W())), { ht: P, Qt: k, wt: m } = s, { jt: h, Nt: R, qt: _, Bt: N, Ft: B } = M, V = (y, v) => {
838
+ const x = (y) => y.pointerType === "mouse", [p, w] = Nt(), [H, E] = Nt(100), [L, j] = Nt(100), [S, T] = Nt(() => g), [M, I] = Is(t, s, o, _s(n, s, o, (y) => x(y) && W())), { ht: P, Qt: k, wt: m } = s, { jt: v, Nt: R, qt: _, Bt: N, Ft: B } = M, V = (y, h) => {
837
839
  if (T(), y)
838
- h(Fe);
840
+ v(Fe);
839
841
  else {
840
- const b = D(h, Fe, !0);
841
- g > 0 && !v ? S(b) : b();
842
+ const b = D(v, Fe, !0);
843
+ g > 0 && !h ? S(b) : b();
842
844
  }
843
845
  }, W = () => {
844
846
  (i ? !r : !a) && (V(!0), H(() => {
845
847
  V(!1);
846
848
  }));
847
849
  }, Z = (y) => {
848
- h(oe, y, !0), h(oe, y, !1);
850
+ v(oe, y, !0), v(oe, y, !1);
849
851
  }, U = (y) => {
850
852
  x(y) && (r = i, i && V(!0));
851
- }, nt = [T, E, j, w, () => d(), J(P, "pointerover", U, {
853
+ }, nt = [T, E, j, w, () => d(), G(P, "pointerover", U, {
852
854
  A: !0
853
- }), J(P, "pointerenter", U), J(P, "pointerleave", (y) => {
855
+ }), G(P, "pointerenter", U), G(P, "pointerleave", (y) => {
854
856
  x(y) && (r = !1, i && V(!1));
855
- }), J(P, "pointermove", (y) => {
857
+ }), G(P, "pointermove", (y) => {
856
858
  x(y) && u && W();
857
- }), J(k, "scroll", (y) => {
859
+ }), G(k, "scroll", (y) => {
858
860
  p(() => {
859
861
  _(), W();
860
862
  }), c(y), B();
861
863
  })];
862
- return [() => D(ht, tt(nt, I())), ({ It: y, Dt: v, Zt: b, tn: C }) => {
863
- const { nn: f, sn: $, en: O, cn: A } = C || {}, { Ct: F, dt: Y } = b || {}, { ct: ot } = e, { k: Q } = At(), { K: lt, rn: z } = o, [it, ut] = y("showNativeOverlaidScrollbars"), [ct, at] = y("scrollbars.theme"), [et, st] = y("scrollbars.visibility"), [X, G] = y("scrollbars.autoHide"), [rt, dt] = y("scrollbars.autoHideSuspend"), [Kt] = y("scrollbars.autoHideDelay"), [sn, cn] = y("scrollbars.dragScroll"), [rn, It] = y("scrollbars.clickScroll"), [Lt, _n] = y("overflow"), zn = Y && !v, Pn = z.x || z.y, Ln = f || $ || A || F || v, wt = O || st || _n, Fn = it && Q.x && Q.y, Yt = (Xt, Mt, ln) => {
864
- const Jt = Xt.includes(Ut) && (et === Dt || et === "auto" && Mt === Ut);
865
- return h(fs, Jt, ln), Jt;
864
+ return [() => D(vt, tt(nt, I())), ({ It: y, Dt: h, Zt: b, tn: C }) => {
865
+ const { nn: f, sn: $, en: O, cn: A } = C || {}, { Ct: F, dt: Y } = b || {}, { ct: ot } = e, { k: J } = At(), { K: lt, rn: z } = o, [it, ut] = y("showNativeOverlaidScrollbars"), [ct, at] = y("scrollbars.theme"), [et, st] = y("scrollbars.visibility"), [X, Q] = y("scrollbars.autoHide"), [rt, dt] = y("scrollbars.autoHideSuspend"), [Kt] = y("scrollbars.autoHideDelay"), [sn, cn] = y("scrollbars.dragScroll"), [rn, It] = y("scrollbars.clickScroll"), [Lt, _n] = y("overflow"), zn = Y && !h, Pn = z.x || z.y, Ln = f || $ || A || F || h, wt = O || st || _n, Fn = it && J.x && J.y, Yt = (Xt, Mt, ln) => {
866
+ const Gt = Xt.includes(Ut) && (et === Dt || et === "auto" && Mt === Ut);
867
+ return v(ys, Gt, ln), Gt;
866
868
  };
867
869
  if (g = Kt, zn && (rt && Pn ? (Z(!1), d(), L(() => {
868
- d = J(k, "scroll", D(Z, !0), {
870
+ d = G(k, "scroll", D(Z, !0), {
869
871
  A: !0
870
872
  });
871
- })) : Z(!0)), ut && h(is, Fn), at && (h(l), h(ct, !0), l = ct), dt && !rt && Z(!0), G && (u = X === "move", i = X === "leave", a = X === "never", V(a, !0)), cn && h(vs, sn), It && h(ys, !!rn), wt) {
873
+ })) : Z(!0)), ut && v(us, Fn), at && (v(l), v(ct, !0), l = ct), dt && !rt && Z(!0), Q && (u = X === "move", i = X === "leave", a = X === "never", V(a, !0)), cn && v(ms, sn), It && v(vs, !!rn), wt) {
872
874
  const Xt = Yt(Lt.x, lt.x, !0), Mt = Yt(Lt.y, lt.y, !1);
873
- h(ps, !(Xt && Mt));
875
+ v(hs, !(Xt && Mt));
874
876
  }
875
- Ln && (_(), R(), B(), A && N(), h(Le, !z.x, !0), h(Le, !z.y, !1), h(as, ot && !m));
877
+ Ln && (_(), R(), B(), A && N(), v(Le, !z.x, !0), v(Le, !z.y, !1), v(ds, ot && !m));
876
878
  }, {}, M];
877
- }, _s = (t) => {
878
- const n = At(), { U: e, R: o } = n, { elements: s } = e(), { padding: c, viewport: r, content: u } = s, i = On(t), a = i ? {} : t, { elements: l } = a, { padding: d, viewport: g, content: x } = l || {}, p = i ? t : a.target, w = io(p), H = p.ownerDocument, E = H.documentElement, L = () => H.defaultView || ft, j = D(bs, [p]), S = D(Oo, [p]), T = D(jt, ""), M = D(j, T, r), I = D(S, T, u), P = (z) => {
879
- const it = Bt(z), ut = An(z), ct = Tt(z, Qe), at = Tt(z, Ge);
879
+ }, Ps = (t) => {
880
+ const n = At(), { U: e, R: o } = n, { elements: s } = e(), { padding: c, viewport: r, content: u } = s, i = On(t), a = i ? {} : t, { elements: l } = a, { padding: d, viewport: g, content: x } = l || {}, p = i ? t : a.target, w = io(p), H = p.ownerDocument, E = H.documentElement, L = () => H.defaultView || ft, j = D(Ss, [p]), S = D(Oo, [p]), T = D(jt, ""), M = D(j, T, r), I = D(S, T, u), P = (z) => {
881
+ const it = Bt(z), ut = An(z), ct = Tt(z, Je), at = Tt(z, Qe);
880
882
  return ut.w - it.w > 0 && !Wt(ct) || ut.h - it.h > 0 && !Wt(at);
881
- }, k = M(g), m = k === p, h = m && w, R = !m && I(x), _ = !m && k === R, N = h ? E : k, B = h ? N : p, V = !m && S(T, c, d), W = !_ && R, Z = [W, N, V, B].map((z) => On(z) && !tn(z) && z), U = (z) => z && Ue(Z, z), nt = !U(N) && P(N) ? N : p, y = h ? E : N, b = {
883
+ }, k = M(g), m = k === p, v = m && w, R = !m && I(x), _ = !m && k === R, N = v ? E : k, B = v ? N : p, V = !m && S(T, c, d), W = !_ && R, Z = [W, N, V, B].map((z) => On(z) && !tn(z) && z), U = (z) => z && Ue(Z, z), nt = !U(N) && P(N) ? N : p, y = v ? E : N, b = {
882
884
  vt: p,
883
885
  ht: B,
884
886
  ot: N,
885
887
  ln: V,
886
888
  bt: W,
887
889
  gt: y,
888
- Qt: h ? H : N,
890
+ Qt: v ? H : N,
889
891
  an: w ? E : nt,
890
892
  Kt: H,
891
893
  wt: w,
@@ -894,32 +896,32 @@ const gs = () => {
894
896
  un: L,
895
897
  yt: (z) => fe(N, Ht, z),
896
898
  St: (z, it) => $n(N, Ht, z, it),
897
- Ot: () => $n(y, Ht, os, !0)
899
+ Ot: () => $n(y, Ht, cs, !0)
898
900
  }, { vt: C, ht: f, ln: $, ot: O, bt: A } = b, F = [() => {
899
901
  St(f, [kt, Vn]), St(C, Vn), w && St(E, [Vn, kt]);
900
902
  }];
901
903
  let Y = Yn([A, O, $, f, C].find((z) => z && !U(z)));
902
- const ot = h ? C : A || O, Q = D(ht, F);
904
+ const ot = v ? C : A || O, J = D(vt, F);
903
905
  return [b, () => {
904
906
  const z = L(), it = Xn(), ut = (X) => {
905
907
  yt(tn(X), Yn(X)), qt(X);
906
- }, ct = (X) => J(X, "focusin focusout focus blur", ho, {
908
+ }, ct = (X) => G(X, "focusin focusout focus blur", vo, {
907
909
  I: !0,
908
910
  H: !1
909
911
  }), at = "tabindex", et = ue(O, at), st = ct(it);
910
- return Et(f, kt, m ? "" : Go), Et($, ee, ""), Et(O, Ht, ""), Et(A, ze, ""), m || (Et(O, at, et || "-1"), w && Et(E, _e, "")), yt(ot, Y), yt(f, $), yt($ || f, !m && O), yt(O, A), tt(F, [st, () => {
911
- const X = Xn(), G = U(O), rt = G && X === O ? C : X, dt = ct(rt);
912
- St($, ee), St(A, ze), St(O, Ht), w && St(E, _e), et ? Et(O, at, et) : St(O, at), U(A) && ut(A), G && ut(O), U($) && ut($), te(rt), dt();
913
- }]), o && !m && (de(O, Ht, wo), tt(F, D(St, O, Ht))), te(!m && w && it === C && z.top === z ? O : it), st(), Y = 0, Q;
914
- }, Q];
915
- }, zs = ({ bt: t }) => ({ Zt: n, _n: e, Dt: o }) => {
912
+ return Et(f, kt, m ? "" : ns), Et($, ee, ""), Et(O, Ht, ""), Et(A, ze, ""), m || (Et(O, at, et || "-1"), w && Et(E, _e, "")), yt(ot, Y), yt(f, $), yt($ || f, !m && O), yt(O, A), tt(F, [st, () => {
913
+ const X = Xn(), Q = U(O), rt = Q && X === O ? C : X, dt = ct(rt);
914
+ St($, ee), St(A, ze), St(O, Ht), w && St(E, _e), et ? Et(O, at, et) : St(O, at), U(A) && ut(A), Q && ut(O), U($) && ut($), te(rt), dt();
915
+ }]), o && !m && (de(O, Ht, wo), tt(F, D(St, O, Ht))), te(!m && w && it === C && z.top === z ? O : it), st(), Y = 0, J;
916
+ }, J];
917
+ }, Ls = ({ bt: t }) => ({ Zt: n, _n: e, Dt: o }) => {
916
918
  const { xt: s } = n || {}, { $t: c } = e;
917
919
  t && (s || o) && nn(t, {
918
920
  [Dn]: c && "100%"
919
921
  });
920
- }, Ps = ({ ht: t, ln: n, ot: e, nt: o }, s) => {
922
+ }, Fs = ({ ht: t, ln: n, ot: e, nt: o }, s) => {
921
923
  const [c, r] = pt({
922
- i: Bo,
924
+ i: qo,
923
925
  o: Ee()
924
926
  }, D(Ee, t, "padding", ""));
925
927
  return ({ It: u, Zt: i, _n: a, Dt: l }) => {
@@ -930,7 +932,7 @@ const gs = () => {
930
932
  if (T) {
931
933
  const M = !L || !n && !x, I = d.r + d.l, P = d.t + d.b, k = {
932
934
  [Xe]: M && !E ? -I : 0,
933
- [Je]: M ? -P : 0,
935
+ [Ge]: M ? -P : 0,
934
936
  [Ye]: M && E ? -I : 0,
935
937
  top: M ? -d.t : 0,
936
938
  right: M ? E ? -d.r : "auto" : 0,
@@ -952,12 +954,12 @@ const gs = () => {
952
954
  fn: T
953
955
  };
954
956
  };
955
- }, Ls = (t, n) => {
957
+ }, Ns = (t, n) => {
956
958
  const e = At(), { ht: o, ln: s, ot: c, nt: r, Qt: u, gt: i, wt: a, St: l, un: d } = t, { R: g } = e, x = a && r, p = D(je, 0), w = {
957
959
  display: () => !1,
958
- direction: (v) => v !== "ltr",
959
- flexDirection: (v) => v.endsWith("-reverse"),
960
- writingMode: (v) => v !== "horizontal-tb"
960
+ direction: (h) => h !== "ltr",
961
+ flexDirection: (h) => h.endsWith("-reverse"),
962
+ writingMode: (h) => h !== "horizontal-tb"
961
963
  }, H = bt(w), E = {
962
964
  i: to,
963
965
  o: {
@@ -965,14 +967,14 @@ const gs = () => {
965
967
  h: 0
966
968
  }
967
969
  }, L = {
968
- i: hn,
970
+ i: vn,
969
971
  o: {}
970
- }, j = (v) => {
971
- l(bo, !x && v);
972
- }, S = (v) => {
972
+ }, j = (h) => {
973
+ l(bo, !x && h);
974
+ }, S = (h) => {
973
975
  if (!H.some((ot) => {
974
- const Q = v[ot];
975
- return Q && w[ot](Q);
976
+ const J = h[ot];
977
+ return J && w[ot](J);
976
978
  }))
977
979
  return {
978
980
  D: {
@@ -985,9 +987,9 @@ const gs = () => {
985
987
  }
986
988
  };
987
989
  j(!0);
988
- const C = vt(i), f = l(ss, !0), $ = J(u, Ut, (ot) => {
989
- const Q = vt(i);
990
- ot.isTrusted && Q.x === C.x && Q.y === C.y && vo(ot);
990
+ const C = ht(i), f = l(rs, !0), $ = G(u, Ut, (ot) => {
991
+ const J = ht(i);
992
+ ot.isTrusted && J.x === C.x && J.y === C.y && ho(ot);
991
993
  }, {
992
994
  I: !0,
993
995
  A: !0
@@ -996,47 +998,47 @@ const gs = () => {
996
998
  x: 0,
997
999
  y: 0
998
1000
  }), f();
999
- const O = vt(i), A = An(i);
1001
+ const O = ht(i), A = An(i);
1000
1002
  xt(i, {
1001
1003
  x: A.w,
1002
1004
  y: A.h
1003
1005
  });
1004
- const F = vt(i);
1006
+ const F = ht(i);
1005
1007
  xt(i, {
1006
1008
  x: F.x - O.x < 1 && -A.w,
1007
1009
  y: F.y - O.y < 1 && -A.h
1008
1010
  });
1009
- const Y = vt(i);
1011
+ const Y = ht(i);
1010
1012
  return xt(i, C), se(() => $()), {
1011
1013
  D: O,
1012
1014
  M: Y
1013
1015
  };
1014
- }, T = (v, b) => {
1016
+ }, T = (h, b) => {
1015
1017
  const C = ft.devicePixelRatio % 1 !== 0 ? 1 : 0, f = {
1016
- w: p(v.w - b.w),
1017
- h: p(v.h - b.h)
1018
+ w: p(h.w - b.w),
1019
+ h: p(h.h - b.h)
1018
1020
  };
1019
1021
  return {
1020
1022
  w: f.w > C ? f.w : 0,
1021
1023
  h: f.h > C ? f.h : 0
1022
1024
  };
1023
- }, [M, I] = pt(E, D(ye, c)), [P, k] = pt(E, D(An, c)), [m, h] = pt(E), [R] = pt(L), [_, N] = pt(E), [B] = pt(L), [V] = pt({
1024
- i: (v, b) => kn(v, b, H),
1025
+ }, [M, I] = pt(E, D(ye, c)), [P, k] = pt(E, D(An, c)), [m, v] = pt(E), [R] = pt(L), [_, N] = pt(E), [B] = pt(L), [V] = pt({
1026
+ i: (h, b) => kn(h, b, H),
1025
1027
  o: {}
1026
- }, () => Xo(c) ? Tt(c, H) : {}), [W, Z] = pt({
1027
- i: (v, b) => hn(v.D, b.D) && hn(v.M, b.M),
1028
+ }, () => Jo(c) ? Tt(c, H) : {}), [W, Z] = pt({
1029
+ i: (h, b) => vn(h.D, b.D) && vn(h.M, b.M),
1028
1030
  o: mo()
1029
- }), U = on(To), nt = (v, b) => `${b ? ts : ns}${jo(v)}`, y = (v) => {
1031
+ }), U = on(To), nt = (h, b) => `${b ? es : os}${Uo(h)}`, y = (h) => {
1030
1032
  const b = (f) => [Dt, _t, Ut].map(($) => nt($, f)), C = b(!0).concat(b()).join(" ");
1031
- l(C), l(bt(v).map((f) => nt(v[f], f === "x")).join(" "), !0);
1033
+ l(C), l(bt(h).map((f) => nt(h[f], f === "x")).join(" "), !0);
1032
1034
  };
1033
- return ({ It: v, Zt: b, _n: C, Dt: f }, { fn: $ }) => {
1034
- const { ft: O, Ht: A, Ct: F, dt: Y, zt: ot } = b || {}, Q = U && U.tt(t, n, C, e, v), { it: lt, ut: z, _t: it } = Q || {}, [ut, ct] = Es(v, e), [at, et] = v("overflow"), st = Wt(at.x), X = Wt(at.y), G = !0;
1035
- let rt = I(f), dt = k(f), Kt = h(f), sn = N(f);
1035
+ return ({ It: h, Zt: b, _n: C, Dt: f }, { fn: $ }) => {
1036
+ const { ft: O, Ht: A, Ct: F, dt: Y, zt: ot } = b || {}, J = U && U.tt(t, n, C, e, h), { it: lt, ut: z, _t: it } = J || {}, [ut, ct] = Ts(h, e), [at, et] = h("overflow"), st = Wt(at.x), X = Wt(at.y), Q = !0;
1037
+ let rt = I(f), dt = k(f), Kt = v(f), sn = N(f);
1036
1038
  ct && g && l(wo, !ut);
1037
1039
  {
1038
1040
  fe(o, kt, gn) && j(!0);
1039
- const [be] = z ? z() : [], [an] = rt = M(f), [un] = dt = P(f), dn = po(c), fn = x && Yo(d()), _o = {
1041
+ const [be] = z ? z() : [], [an] = rt = M(f), [un] = dt = P(f), dn = po(c), fn = x && Go(d()), _o = {
1040
1042
  w: p(un.w + an.w),
1041
1043
  h: p(un.h + an.h)
1042
1044
  }, we = {
@@ -1048,8 +1050,8 @@ const gs = () => {
1048
1050
  const [cn, rn] = sn, [It, Lt] = Kt, [_n, zn] = dt, [Pn, Ln] = rt, [wt, Fn] = R({
1049
1051
  x: It.w > 0,
1050
1052
  y: It.h > 0
1051
- }), Yt = st && X && (wt.x || wt.y) || st && wt.x && !wt.y || X && wt.y && !wt.x, Xt = $ || F || ot || Ln || zn || rn || Lt || et || ct || G, Mt = Hs(wt, at), [ln, Jt] = B(Mt.K), [Do, ko] = V(f), ge = F || Y || ko || Fn || f, [Ro, Io] = ge ? W(S(Do), f) : Z();
1052
- return Xt && (Jt && y(Mt.K), it && lt && nn(c, it(Mt, C, lt(Mt, _n, Pn)))), j(!1), $n(o, kt, gn, Yt), $n(s, ee, gn, Yt), q(n, {
1053
+ }), Yt = st && X && (wt.x || wt.y) || st && wt.x && !wt.y || X && wt.y && !wt.x, Xt = $ || F || ot || Ln || zn || rn || Lt || et || ct || Q, Mt = Ms(wt, at), [ln, Gt] = B(Mt.K), [Do, ko] = V(f), ge = F || Y || ko || Fn || f, [Ro, Io] = ge ? W(S(Do), f) : Z();
1054
+ return Xt && (Gt && y(Mt.K), it && lt && nn(c, it(Mt, C, lt(Mt, _n, Pn)))), j(!1), $n(o, kt, gn, Yt), $n(s, ee, gn, Yt), q(n, {
1053
1055
  K: ln,
1054
1056
  Vt: {
1055
1057
  x: cn.w,
@@ -1060,17 +1062,17 @@ const gs = () => {
1060
1062
  y: It.h
1061
1063
  },
1062
1064
  rn: wt,
1063
- Lt: Jo(Ro, It)
1065
+ Lt: Qo(Ro, It)
1064
1066
  }), {
1065
- en: Jt,
1067
+ en: Gt,
1066
1068
  nn: rn,
1067
1069
  sn: Lt,
1068
1070
  cn: Io || Lt,
1069
1071
  vn: ge
1070
1072
  };
1071
1073
  };
1072
- }, Fs = (t) => {
1073
- const [n, e, o] = _s(t), s = {
1074
+ }, Vs = (t) => {
1075
+ const [n, e, o] = Ps(t), s = {
1074
1076
  ln: {
1075
1077
  t: 0,
1076
1078
  r: 0,
@@ -1080,7 +1082,7 @@ const gs = () => {
1080
1082
  dn: !1,
1081
1083
  rt: {
1082
1084
  [Xe]: 0,
1083
- [Je]: 0,
1085
+ [Ge]: 0,
1084
1086
  [Ye]: 0,
1085
1087
  [qe]: 0,
1086
1088
  [We]: 0,
@@ -1104,24 +1106,24 @@ const gs = () => {
1104
1106
  y: !1
1105
1107
  },
1106
1108
  Lt: mo()
1107
- }, { vt: c, gt: r, nt: u, Ot: i } = n, { R: a, k: l } = At(), d = !a && (l.x || l.y), g = [zs(n), Ps(n, s), Ls(n, s)];
1109
+ }, { vt: c, gt: r, nt: u, Ot: i } = n, { R: a, k: l } = At(), d = !a && (l.x || l.y), g = [Ls(n), Fs(n, s), Ns(n, s)];
1108
1110
  return [e, (x) => {
1109
- const p = {}, H = d && vt(r), E = H && i();
1111
+ const p = {}, H = d && ht(r), E = H && i();
1110
1112
  return K(g, (L) => {
1111
1113
  q(p, L(x, p) || {});
1112
1114
  }), xt(r, H), E && E(), !u && xt(c, 0), p;
1113
1115
  }, s, n, o];
1114
- }, Ns = (t, n, e, o, s) => {
1116
+ }, js = (t, n, e, o, s) => {
1115
1117
  let c = !1;
1116
- const r = Ie(n, {}), [u, i, a, l, d] = Fs(t), [g, x, p] = Ds(l, a, r, (S) => {
1118
+ const r = Ie(n, {}), [u, i, a, l, d] = Vs(t), [g, x, p] = Rs(l, a, r, (S) => {
1117
1119
  j({}, S);
1118
- }), [w, H, , E] = Is(t, n, p, a, l, s), L = (S) => bt(S).some((T) => !!S[T]), j = (S, T) => {
1120
+ }), [w, H, , E] = zs(t, n, p, a, l, s), L = (S) => bt(S).some((T) => !!S[T]), j = (S, T) => {
1119
1121
  if (e())
1120
1122
  return !1;
1121
- const { pn: M, Dt: I, At: P, hn: k } = S, m = M || {}, h = !!I || !c, R = {
1122
- It: Ie(n, m, h),
1123
+ const { pn: M, Dt: I, At: P, hn: k } = S, m = M || {}, v = !!I || !c, R = {
1124
+ It: Ie(n, m, v),
1123
1125
  pn: m,
1124
- Dt: h
1126
+ Dt: v
1125
1127
  };
1126
1128
  if (k)
1127
1129
  return H(R), !1;
@@ -1135,15 +1137,15 @@ const gs = () => {
1135
1137
  Zt: _,
1136
1138
  tn: N
1137
1139
  }));
1138
- const B = L(_), V = L(N), W = B || V || !ae(m) || h;
1140
+ const B = L(_), V = L(N), W = B || V || !ae(m) || v;
1139
1141
  return c = !0, W && o(S, {
1140
1142
  Zt: _,
1141
1143
  tn: N
1142
1144
  }), W;
1143
1145
  };
1144
1146
  return [() => {
1145
- const { an: S, gt: T, Ot: M } = l, I = vt(S), P = [g(), u(), w()], k = M();
1146
- return xt(T, I), k(), D(ht, P);
1147
+ const { an: S, gt: T, Ot: M } = l, I = ht(S), P = [g(), u(), w()], k = M();
1148
+ return xt(T, I), k(), D(vt, P);
1147
1149
  }, j, () => ({
1148
1150
  gn: p,
1149
1151
  bn: a
@@ -1156,12 +1158,12 @@ const gs = () => {
1156
1158
  if (n && !r) {
1157
1159
  let u = !1;
1158
1160
  const i = [], a = {}, l = (m) => {
1159
- const h = eo(m), R = on($s);
1160
- return R ? R(h, !0) : h;
1161
- }, d = q({}, o(), l(n)), [g, x, p] = ne(), [w, H, E] = ne(e), L = (m, h) => {
1162
- E(m, h), p(m, h);
1163
- }, [j, S, T, M, I] = Ns(t, d, () => u, ({ pn: m, Dt: h }, { Zt: R, tn: _ }) => {
1164
- const { ft: N, Ct: B, xt: V, Ht: W, Et: Z, dt: U } = R, { nn: nt, sn: y, en: v, cn: b } = _;
1161
+ const v = eo(m), R = on(Es);
1162
+ return R ? R(v, !0) : v;
1163
+ }, d = q({}, o(), l(n)), [g, x, p] = ne(), [w, H, E] = ne(e), L = (m, v) => {
1164
+ E(m, v), p(m, v);
1165
+ }, [j, S, T, M, I] = js(t, d, () => u, ({ pn: m, Dt: v }, { Zt: R, tn: _ }) => {
1166
+ const { ft: N, Ct: B, xt: V, Ht: W, Et: Z, dt: U } = R, { nn: nt, sn: y, en: h, cn: b } = _;
1165
1167
  L("updated", [k, {
1166
1168
  updateHints: {
1167
1169
  sizeChanged: !!N,
@@ -1169,21 +1171,21 @@ const gs = () => {
1169
1171
  heightIntrinsicChanged: !!V,
1170
1172
  overflowEdgeChanged: !!nt,
1171
1173
  overflowAmountChanged: !!y,
1172
- overflowStyleChanged: !!v,
1174
+ overflowStyleChanged: !!h,
1173
1175
  scrollCoordinatesChanged: !!b,
1174
1176
  contentMutation: !!W,
1175
1177
  hostMutation: !!Z,
1176
1178
  appear: !!U
1177
1179
  },
1178
1180
  changedOptions: m || {},
1179
- force: !!h
1181
+ force: !!v
1180
1182
  }]);
1181
1183
  }, (m) => L("scroll", [k, m])), P = (m) => {
1182
- xs(c), ht(i), u = !0, L("destroyed", [k, m]), x(), H();
1184
+ Os(c), vt(i), u = !0, L("destroyed", [k, m]), x(), H();
1183
1185
  }, k = {
1184
- options(m, h) {
1186
+ options(m, v) {
1185
1187
  if (m) {
1186
- const R = h ? o() : {}, _ = go(d, q(R, l(m)));
1188
+ const R = v ? o() : {}, _ = go(d, q(R, l(m)));
1187
1189
  ae(_) || (q(d, _), S({
1188
1190
  pn: _
1189
1191
  }));
@@ -1191,11 +1193,11 @@ const gs = () => {
1191
1193
  return q({}, d);
1192
1194
  },
1193
1195
  on: w,
1194
- off: (m, h) => {
1195
- m && h && H(m, h);
1196
+ off: (m, v) => {
1197
+ m && v && H(m, v);
1196
1198
  },
1197
1199
  state() {
1198
- const { gn: m, bn: h } = T(), { ct: R } = m, { Vt: _, Rt: N, K: B, rn: V, ln: W, dn: Z, Lt: U } = h;
1200
+ const { gn: m, bn: v } = T(), { ct: R } = m, { Vt: _, Rt: N, K: B, rn: V, ln: W, dn: Z, Lt: U } = v;
1199
1201
  return q({}, {
1200
1202
  overflowEdge: _,
1201
1203
  overflowAmount: N,
@@ -1212,15 +1214,15 @@ const gs = () => {
1212
1214
  });
1213
1215
  },
1214
1216
  elements() {
1215
- const { vt: m, ht: h, ln: R, ot: _, bt: N, gt: B, Qt: V } = M.wn, { Xt: W, Gt: Z } = M.yn, U = (y) => {
1216
- const { Pt: v, Ut: b, Tt: C } = y;
1217
+ const { vt: m, ht: v, ln: R, ot: _, bt: N, gt: B, Qt: V } = M.wn, { Xt: W, Gt: Z } = M.yn, U = (y) => {
1218
+ const { Pt: h, Ut: b, Tt: C } = y;
1217
1219
  return {
1218
1220
  scrollbar: C,
1219
1221
  track: b,
1220
- handle: v
1222
+ handle: h
1221
1223
  };
1222
1224
  }, nt = (y) => {
1223
- const { Yt: v, Wt: b } = y, C = U(v[0]);
1225
+ const { Yt: h, Wt: b } = y, C = U(h[0]);
1224
1226
  return q({}, C, {
1225
1227
  clone: () => {
1226
1228
  const f = U(b());
@@ -1232,7 +1234,7 @@ const gs = () => {
1232
1234
  };
1233
1235
  return q({}, {
1234
1236
  target: m,
1235
- host: h,
1237
+ host: v,
1236
1238
  padding: R || _,
1237
1239
  viewport: _,
1238
1240
  content: N || _,
@@ -1249,13 +1251,13 @@ const gs = () => {
1249
1251
  destroy: D(P, !1),
1250
1252
  plugin: (m) => a[bt(m)[0]]
1251
1253
  };
1252
- return tt(i, [I]), Ss(c, k), Ho(Ao, Ct, [k, g, a]), ws(M.wn.wt, !s && t.cancel) ? (P(!0), k) : (tt(i, j()), L("initialized", [k]), k.update(), k);
1254
+ return tt(i, [I]), Cs(c, k), Ho(Ao, Ct, [k, g, a]), xs(M.wn.wt, !s && t.cancel) ? (P(!0), k) : (tt(i, j()), L("initialized", [k]), k.update(), k);
1253
1255
  }
1254
1256
  return r;
1255
1257
  };
1256
1258
  Ct.plugin = (t) => {
1257
1259
  const n = $t(t), e = n ? t : [t], o = e.map((s) => Ho(s, Ct)[0]);
1258
- return Os(e), n ? o : o[0];
1260
+ return As(e), n ? o : o[0];
1259
1261
  };
1260
1262
  Ct.valid = (t) => {
1261
1263
  const n = t && t.elements, e = gt(n) && n();
@@ -1276,8 +1278,8 @@ Ct.env = () => {
1276
1278
  setDefaultOptions: a
1277
1279
  });
1278
1280
  };
1279
- Ct.nonce = ms;
1280
- const Vs = () => {
1281
+ Ct.nonce = bs;
1282
+ const Bs = () => {
1281
1283
  if (typeof window > "u") {
1282
1284
  const a = () => {
1283
1285
  };
@@ -1298,17 +1300,17 @@ const Vs = () => {
1298
1300
  },
1299
1301
  i
1300
1302
  ];
1301
- }, js = (t) => {
1302
- const { options: n, events: e, defer: o } = t || {}, [s, c] = xe(Vs, []), r = Ft(null), u = Ft(o), i = Ft(n), a = Ft(e);
1303
- return Qt(() => {
1303
+ }, Us = (t) => {
1304
+ const { options: n, events: e, defer: o } = t || {}, [s, c] = xe(Bs, []), r = Ft(null), u = Ft(o), i = Ft(n), a = Ft(e);
1305
+ return Jt(() => {
1304
1306
  u.current = o;
1305
- }, [o]), Qt(() => {
1307
+ }, [o]), Jt(() => {
1306
1308
  const { current: l } = r;
1307
1309
  i.current = n, Ct.valid(l) && l.options(n || {}, !0);
1308
- }, [n]), Qt(() => {
1310
+ }, [n]), Jt(() => {
1309
1311
  const { current: l } = r;
1310
1312
  a.current = e, Ct.valid(l) && l.on(e || {}, !0);
1311
- }, [e]), Qt(
1313
+ }, [e]), Jt(
1312
1314
  () => () => {
1313
1315
  var l;
1314
1316
  c(), (l = r.current) == null || l.destroy();
@@ -1327,9 +1329,9 @@ const Vs = () => {
1327
1329
  ],
1328
1330
  []
1329
1331
  );
1330
- }, Bs = (t, n) => {
1331
- const { element: e = "div", options: o, events: s, defer: c, children: r, ...u } = t, i = e, a = Ft(null), l = Ft(null), [d, g] = js({ options: o, events: s, defer: c });
1332
- return Qt(() => {
1332
+ }, qs = (t, n) => {
1333
+ const { element: e = "div", options: o, events: s, defer: c, children: r, ...u } = t, i = e, a = Ft(null), l = Ft(null), [d, g] = Us({ options: o, events: s, defer: c });
1334
+ return Jt(() => {
1333
1335
  const { current: x } = a, { current: p } = l;
1334
1336
  if (!x)
1335
1337
  return;
@@ -1360,7 +1362,11 @@ const Vs = () => {
1360
1362
  []
1361
1363
  ), // @ts-ignore
1362
1364
  /* @__PURE__ */ Se.createElement(i, { "data-overlayscrollbars-initialize": "", ref: a, ...u }, e === "body" ? r : /* @__PURE__ */ Se.createElement("div", { "data-overlayscrollbars-contents": "", ref: l }, r));
1363
- }, Us = Po(Bs), Zs = ({
1365
+ }, Ws = Po(qs), Zs = Fo(Ws)({
1366
+ "& .os-scrollbar": {
1367
+ "--os-handle-bg": No.colors.darkGreenO99
1368
+ }
1369
+ }), Js = ({
1364
1370
  children: t,
1365
1371
  width: n,
1366
1372
  height: e,
@@ -1381,8 +1387,8 @@ const Vs = () => {
1381
1387
  autoHideDelay: 29
1382
1388
  }
1383
1389
  } };
1384
- return /* @__PURE__ */ zo(Us, { defer: !0, ...a, children: t });
1390
+ return /* @__PURE__ */ zo(Zs, { defer: !0, ...a, children: t });
1385
1391
  };
1386
1392
  export {
1387
- Zs as default
1393
+ Js as default
1388
1394
  };
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "jcicl",
3
3
  "private": false,
4
- "version": "0.0.40",
4
+ "version": "0.0.42",
5
5
  "description": "Component library for the websites of Johnson County Iowa",
6
6
  "license": "MIT",
7
7
  "homepage": "https://devops.jc.net/JCIT/Business%20Solutions%20Delivery/_git/JCComponentLibrary?path=%2FREADME.md&version=GBmaster",
@@ -56,7 +56,7 @@ const C = s(v, {
56
56
  const [l, c] = x(""), d = (e, n) => {
57
57
  c(e), n();
58
58
  }, p = { navWidth: a };
59
- return /* @__PURE__ */ r(g, { style: { maxHeight: `calc(100vh - ${o.constants.appHeaderHeight}px)` }, children: /* @__PURE__ */ r(k, { ...p, children: t.map(({ icon: e, label: n = "", onClick: m = () => {
59
+ return /* @__PURE__ */ r(g, { style: { maxHeight: `calc(100vh - ${o.constants.appHeaderHeight}px - 8px)` }, children: /* @__PURE__ */ r(k, { ...p, children: t.map(({ icon: e, label: n = "", onClick: m = () => {
60
60
  }, ...f }) => /* @__PURE__ */ u(C, { ...f, active: i ? i === n : l === n, onClick: () => d(n, m), children: [
61
61
  e,
62
62
  /* @__PURE__ */ r("span", { children: n })
@@ -1,9 +1,10 @@
1
- import { jsxs as p, jsx as i } from "react/jsx-runtime";
1
+ import { jsxs as n, jsx as e } from "react/jsx-runtime";
2
2
  import l from "../../supercomposite/AppHeader/AppHeader.js";
3
3
  import { Nav as s } from "../../supercomposite/Nav/Nav.js";
4
+ import c from "../../base/ScrollContainer/ScrollContainer.js";
4
5
  import { n as d } from "../../.chunks/emotion-styled.browser.esm.js";
5
6
  import o from "../../theme.js";
6
- const c = d("div")({
7
+ const x = d("div")({
7
8
  display: "flex",
8
9
  flexDirection: "column",
9
10
  width: "100%",
@@ -12,7 +13,7 @@ const c = d("div")({
12
13
  height: "100vh",
13
14
  fontFamily: "Roboto, sans-serif",
14
15
  overflow: "hidden"
15
- }), x = d("div")({
16
+ }), m = d("div")({
16
17
  display: "flex",
17
18
  flexDirection: "row",
18
19
  justifyContent: "flex-start",
@@ -21,7 +22,7 @@ const c = d("div")({
21
22
  padding: "4px 2px",
22
23
  paddingLeft: 0,
23
24
  height: `calc(100% - ${o.constants.appHeaderHeight}px - 8px)`
24
- }), f = d("div")(({ withActionsPanel: r }) => ({
25
+ }), h = d("div")(({ withActionsPanel: r }) => ({
25
26
  display: "flex",
26
27
  flexDirection: "column",
27
28
  opacity: r ? 1 : 0,
@@ -38,7 +39,7 @@ const c = d("div")({
38
39
  ...!r && {
39
40
  border: "none"
40
41
  }
41
- })), m = d("div")(({ withActionsPanel: r }) => ({
42
+ })), f = d("div")(({ withActionsPanel: r }) => ({
42
43
  display: "flex",
43
44
  backgroundColor: o.colors.whiteGreen,
44
45
  borderRadius: "4px",
@@ -51,22 +52,22 @@ const c = d("div")({
51
52
  h1: {
52
53
  margin: 0
53
54
  }
54
- })), R = ({
55
+ })), C = ({
55
56
  navProps: r,
56
- appHeaderProps: a,
57
- actionsPanelContent: e,
58
- children: n
57
+ appHeaderProps: p,
58
+ actionsPanelContent: i,
59
+ children: a
59
60
  }) => {
60
- const t = e != null;
61
- return /* @__PURE__ */ p(c, { children: [
62
- /* @__PURE__ */ i(l, { ...a }),
63
- /* @__PURE__ */ p(x, { children: [
64
- /* @__PURE__ */ i(s, { ...r }),
65
- /* @__PURE__ */ i(f, { withActionsPanel: t, children: e && e }),
66
- /* @__PURE__ */ i(m, { withActionsPanel: t, children: n })
61
+ const t = i != null;
62
+ return /* @__PURE__ */ n(x, { children: [
63
+ /* @__PURE__ */ e(l, { ...p }),
64
+ /* @__PURE__ */ n(m, { children: [
65
+ /* @__PURE__ */ e(s, { ...r }),
66
+ /* @__PURE__ */ e(h, { withActionsPanel: t, children: /* @__PURE__ */ e(c, { height: "calc(100% - 2px - 2rem)", children: i && i }) }),
67
+ /* @__PURE__ */ e(f, { withActionsPanel: t, children: a })
67
68
  ] })
68
69
  ] });
69
70
  };
70
71
  export {
71
- R as default
72
+ C as default
72
73
  };