boottent-design 0.1.166 → 0.1.167

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.
@@ -1,12 +1,12 @@
1
- import { jsx as m, jsxs as P, Fragment as xr } from "react/jsx-runtime";
1
+ import { jsx as m, jsxs as O, Fragment as xr } from "react/jsx-runtime";
2
2
  import { c as Yt } from "./index-BFsbj9HY.js";
3
- import { q as Li, G as jt, H as Vi, P as dt, s as ot, v as Pa, r as Er, U as Sd, M as Cd, X as Oa, c as k, I as Tr, F as be, T as Ut, B as Je, b as Rn, Y as Wt, i as Tt, j as He, k as _t, g as qe, e as Ma, L as Bi, l as Nt, o as Ad, h as Pd, D as Od, R as Md, m as Rd, Z as Ra, n as Fi, p as Dd, C as Id, _ as Da, $ as kd, A as Ld, a0 as Vd, K as Bd, a1 as Fd, a2 as Ud, a3 as Ia, a4 as $d, a5 as jd, W as Wd } from "./index-Ba_dMKo4.js";
4
- import * as O from "react";
3
+ import { q as Li, G as jt, H as Vi, P as dt, s as ot, v as Pa, r as Er, U as Nd, M as Cd, X as Oa, c as k, I as Tr, F as be, T as Ut, B as Je, b as Rn, Y as Wt, i as Tt, j as He, k as _t, g as qe, e as Ma, L as Bi, l as St, o as Ad, h as Pd, D as Od, R as Md, m as Rd, Z as Ra, n as Fi, p as Dd, C as Id, _ as Da, $ as kd, A as Ld, a0 as Vd, K as Bd, a1 as Fd, a2 as Ud, a3 as Ia, a4 as $d, a5 as jd, W as Wd } from "./index-Ba_dMKo4.js";
4
+ import * as A from "react";
5
5
  import K, { createContext as cn, useContext as _e, useId as Ui, useEffect as Dn, useCallback as $i, Component as zd, useLayoutEffect as Gd, useRef as vt, useInsertionEffect as ka, useMemo as $t, forwardRef as Kd, Fragment as La, createElement as Hd, Children as qd, isValidElement as Yd, useState as Bt } from "react";
6
6
  import { a as je, d as $r, c as Xd } from "./index-CEwEyzHV.js";
7
7
  import { S as oe, A as gn } from "./index-CeakUYNq.js";
8
8
  import { p as Ye, R as Zd } from "./portal-container-CEUYnBzF.js";
9
- import { c as cE, d as uE, e as dE, f as fE, g as hE, h as pE, i as mE, j as gE, k as bE, l as yE, m as vE, A as wE, D as xE, n as EE, a as TE, o as _E, q as NE, b as SE, r as CE, s as AE, u as PE, v as OE, w as ME, M as RE, P as DE, z as IE, B as kE, C as LE, E as VE, T as BE, F as FE, G as UE, H as $E, x as jE, y as WE } from "./portal-container-CEUYnBzF.js";
9
+ import { c as cE, d as uE, e as dE, f as fE, g as hE, h as pE, i as mE, j as gE, k as bE, l as yE, m as vE, A as wE, D as xE, n as EE, a as TE, o as _E, q as SE, b as NE, r as CE, s as AE, u as PE, v as OE, w as ME, M as RE, P as DE, z as IE, B as kE, C as LE, E as VE, T as BE, F as FE, G as UE, H as $E, x as jE, y as WE } from "./portal-container-CEUYnBzF.js";
10
10
  import "react-dom";
11
11
  const Qd = ({ children: e }) => /* @__PURE__ */ m("div", { className: "purple-wrapper py-2", children: e }), Fn = ({ children: e }) => /* @__PURE__ */ m("div", { className: "h1-wrapper py-2", children: e }), Un = ({ children: e }) => /* @__PURE__ */ m("div", { className: "h2-wrapper py-2", children: e }), $n = ({ children: e }) => /* @__PURE__ */ m("div", { className: "h3-wrapper py-2", children: e }), Jd = ({ children: e }) => /* @__PURE__ */ m(K.Fragment, { children: e }), Be = () => !0, ef = (e) => {
12
12
  var t, n;
@@ -201,7 +201,7 @@ function Wi(e) {
201
201
  return i(), t;
202
202
  }
203
203
  const cf = (e) => e.includes("youtu.be") ? "https://www.youtube.com/embed/" + e.split("/").pop() : e.includes("youtube.com/watch") ? "https://www.youtube.com/embed/" + e.split("v=")[1].split("&")[0] : e;
204
- var zi = "Collapsible", [uf, Ua] = Li(zi), [df, Gi] = uf(zi), $a = O.forwardRef(
204
+ var zi = "Collapsible", [uf, Ua] = Li(zi), [df, Gi] = uf(zi), $a = A.forwardRef(
205
205
  (e, t) => {
206
206
  const {
207
207
  __scopeCollapsible: n,
@@ -222,7 +222,7 @@ var zi = "Collapsible", [uf, Ua] = Li(zi), [df, Gi] = uf(zi), $a = O.forwardRef(
222
222
  disabled: s,
223
223
  contentId: Vi(),
224
224
  open: l,
225
- onOpenToggle: O.useCallback(() => c((u) => !u), [c]),
225
+ onOpenToggle: A.useCallback(() => c((u) => !u), [c]),
226
226
  children: /* @__PURE__ */ m(
227
227
  dt.div,
228
228
  {
@@ -237,7 +237,7 @@ var zi = "Collapsible", [uf, Ua] = Li(zi), [df, Gi] = uf(zi), $a = O.forwardRef(
237
237
  }
238
238
  );
239
239
  $a.displayName = zi;
240
- var ja = "CollapsibleTrigger", Wa = O.forwardRef(
240
+ var ja = "CollapsibleTrigger", Wa = A.forwardRef(
241
241
  (e, t) => {
242
242
  const { __scopeCollapsible: n, ...r } = e, i = Gi(ja, n);
243
243
  return /* @__PURE__ */ m(
@@ -257,19 +257,19 @@ var ja = "CollapsibleTrigger", Wa = O.forwardRef(
257
257
  }
258
258
  );
259
259
  Wa.displayName = ja;
260
- var Ki = "CollapsibleContent", za = O.forwardRef(
260
+ var Ki = "CollapsibleContent", za = A.forwardRef(
261
261
  (e, t) => {
262
262
  const { forceMount: n, ...r } = e, i = Gi(Ki, e.__scopeCollapsible);
263
263
  return /* @__PURE__ */ m(Pa, { present: n || i.open, children: ({ present: s }) => /* @__PURE__ */ m(ff, { ...r, ref: t, present: s }) });
264
264
  }
265
265
  );
266
266
  za.displayName = Ki;
267
- var ff = O.forwardRef((e, t) => {
268
- const { __scopeCollapsible: n, present: r, children: i, ...s } = e, o = Gi(Ki, n), [a, l] = O.useState(r), c = O.useRef(null), u = Er(t, c), f = O.useRef(0), d = f.current, h = O.useRef(0), p = h.current, g = o.open || a, b = O.useRef(g), y = O.useRef();
269
- return O.useEffect(() => {
267
+ var ff = A.forwardRef((e, t) => {
268
+ const { __scopeCollapsible: n, present: r, children: i, ...s } = e, o = Gi(Ki, n), [a, l] = A.useState(r), c = A.useRef(null), u = Er(t, c), f = A.useRef(0), d = f.current, h = A.useRef(0), p = h.current, g = o.open || a, b = A.useRef(g), y = A.useRef();
269
+ return A.useEffect(() => {
270
270
  const v = requestAnimationFrame(() => b.current = !1);
271
271
  return () => cancelAnimationFrame(v);
272
- }, []), Sd(() => {
272
+ }, []), Nd(() => {
273
273
  const v = c.current;
274
274
  if (v) {
275
275
  y.current = y.current || {
@@ -300,7 +300,7 @@ var ff = O.forwardRef((e, t) => {
300
300
  function Hi(e) {
301
301
  return e ? "open" : "closed";
302
302
  }
303
- var hf = $a, pf = Wa, mf = za, pt = "Accordion", gf = ["Home", "End", "ArrowDown", "ArrowUp", "ArrowLeft", "ArrowRight"], [qi, bf, yf] = Cd(pt), [Nr, Ux] = Li(pt, [
303
+ var hf = $a, pf = Wa, mf = za, pt = "Accordion", gf = ["Home", "End", "ArrowDown", "ArrowUp", "ArrowLeft", "ArrowRight"], [qi, bf, yf] = Cd(pt), [Sr, Ux] = Li(pt, [
304
304
  yf,
305
305
  Ua
306
306
  ]), Yi = Ua(), Ga = K.forwardRef(
@@ -310,7 +310,7 @@ var hf = $a, pf = Wa, mf = za, pt = "Accordion", gf = ["Home", "End", "ArrowDown
310
310
  }
311
311
  );
312
312
  Ga.displayName = pt;
313
- var [Ka, vf] = Nr(pt), [Ha, wf] = Nr(
313
+ var [Ka, vf] = Sr(pt), [Ha, wf] = Sr(
314
314
  pt,
315
315
  { collapsible: !1 }
316
316
  ), xf = K.forwardRef(
@@ -366,7 +366,7 @@ var [Ka, vf] = Nr(pt), [Ha, wf] = Nr(
366
366
  children: /* @__PURE__ */ m(Ha, { scope: e.__scopeAccordion, collapsible: !0, children: /* @__PURE__ */ m(qa, { ...s, ref: t }) })
367
367
  }
368
368
  );
369
- }), [Tf, Sr] = Nr(pt), qa = K.forwardRef(
369
+ }), [Tf, Nr] = Sr(pt), qa = K.forwardRef(
370
370
  (e, t) => {
371
371
  const { __scopeAccordion: n, disabled: r, dir: i, orientation: s = "vertical", ...o } = e, a = K.useRef(null), l = Er(a, t), c = bf(n), f = Oa(i) === "ltr", d = ot(e.onKeyDown, (h) => {
372
372
  var V;
@@ -380,7 +380,7 @@ var [Ka, vf] = Nr(pt), [Ha, wf] = Nr(
380
380
  let v = b;
381
381
  const w = 0, x = y - 1, E = () => {
382
382
  v = b + 1, v > x && (v = w);
383
- }, N = () => {
383
+ }, S = () => {
384
384
  v = b - 1, v < w && (v = x);
385
385
  };
386
386
  switch (h.key) {
@@ -391,16 +391,16 @@ var [Ka, vf] = Nr(pt), [Ha, wf] = Nr(
391
391
  v = x;
392
392
  break;
393
393
  case "ArrowRight":
394
- s === "horizontal" && (f ? E() : N());
394
+ s === "horizontal" && (f ? E() : S());
395
395
  break;
396
396
  case "ArrowDown":
397
397
  s === "vertical" && E();
398
398
  break;
399
399
  case "ArrowLeft":
400
- s === "horizontal" && (f ? N() : E());
400
+ s === "horizontal" && (f ? S() : E());
401
401
  break;
402
402
  case "ArrowUp":
403
- s === "vertical" && N();
403
+ s === "vertical" && S();
404
404
  break;
405
405
  }
406
406
  const L = v % y;
@@ -425,9 +425,9 @@ var [Ka, vf] = Nr(pt), [Ha, wf] = Nr(
425
425
  }
426
426
  );
427
427
  }
428
- ), sr = "AccordionItem", [_f, Xi] = Nr(sr), Ya = K.forwardRef(
428
+ ), sr = "AccordionItem", [_f, Xi] = Sr(sr), Ya = K.forwardRef(
429
429
  (e, t) => {
430
- const { __scopeAccordion: n, value: r, ...i } = e, s = Sr(sr, n), o = vf(sr, n), a = Yi(n), l = Vi(), c = r && o.value.includes(r) || !1, u = s.disabled || e.disabled;
430
+ const { __scopeAccordion: n, value: r, ...i } = e, s = Nr(sr, n), o = vf(sr, n), a = Yi(n), l = Vi(), c = r && o.value.includes(r) || !1, u = s.disabled || e.disabled;
431
431
  return /* @__PURE__ */ m(
432
432
  _f,
433
433
  {
@@ -457,7 +457,7 @@ var [Ka, vf] = Nr(pt), [Ha, wf] = Nr(
457
457
  Ya.displayName = sr;
458
458
  var Xa = "AccordionHeader", Za = K.forwardRef(
459
459
  (e, t) => {
460
- const { __scopeAccordion: n, ...r } = e, i = Sr(pt, n), s = Xi(Xa, n);
460
+ const { __scopeAccordion: n, ...r } = e, i = Nr(pt, n), s = Xi(Xa, n);
461
461
  return /* @__PURE__ */ m(
462
462
  dt.h3,
463
463
  {
@@ -473,7 +473,7 @@ var Xa = "AccordionHeader", Za = K.forwardRef(
473
473
  Za.displayName = Xa;
474
474
  var ai = "AccordionTrigger", Qa = K.forwardRef(
475
475
  (e, t) => {
476
- const { __scopeAccordion: n, ...r } = e, i = Sr(pt, n), s = Xi(ai, n), o = wf(ai, n), a = Yi(n);
476
+ const { __scopeAccordion: n, ...r } = e, i = Nr(pt, n), s = Xi(ai, n), o = wf(ai, n), a = Yi(n);
477
477
  return /* @__PURE__ */ m(qi.ItemSlot, { scope: n, children: /* @__PURE__ */ m(
478
478
  pf,
479
479
  {
@@ -490,7 +490,7 @@ var ai = "AccordionTrigger", Qa = K.forwardRef(
490
490
  Qa.displayName = ai;
491
491
  var Ja = "AccordionContent", el = K.forwardRef(
492
492
  (e, t) => {
493
- const { __scopeAccordion: n, ...r } = e, i = Sr(pt, n), s = Xi(Ja, n), o = Yi(n);
493
+ const { __scopeAccordion: n, ...r } = e, i = Nr(pt, n), s = Xi(Ja, n), o = Yi(n);
494
494
  return /* @__PURE__ */ m(
495
495
  mf,
496
496
  {
@@ -513,10 +513,10 @@ el.displayName = Ja;
513
513
  function tl(e) {
514
514
  return e ? "open" : "closed";
515
515
  }
516
- var Nf = Ga, Sf = Ya, Cf = Za, nl = Qa, rl = el;
517
- const Af = Nf, il = O.forwardRef(({ className: e, ...t }, n) => /* @__PURE__ */ m(Sf, { ref: n, className: k("w-full border-b", e), ...t }));
516
+ var Sf = Ga, Nf = Ya, Cf = Za, nl = Qa, rl = el;
517
+ const Af = Sf, il = A.forwardRef(({ className: e, ...t }, n) => /* @__PURE__ */ m(Nf, { ref: n, className: k("w-full border-b", e), ...t }));
518
518
  il.displayName = "AccordionItem";
519
- const sl = O.forwardRef(({ className: e, children: t, disabled: n, ...r }, i) => /* @__PURE__ */ m(Cf, { className: "flex", children: /* @__PURE__ */ P(
519
+ const sl = A.forwardRef(({ className: e, children: t, disabled: n, ...r }, i) => /* @__PURE__ */ m(Cf, { className: "flex", children: /* @__PURE__ */ O(
520
520
  nl,
521
521
  {
522
522
  ref: i,
@@ -533,7 +533,7 @@ const sl = O.forwardRef(({ className: e, children: t, disabled: n, ...r }, i) =>
533
533
  }
534
534
  ) }));
535
535
  sl.displayName = nl.displayName;
536
- const ol = O.forwardRef(({ className: e, children: t, ...n }, r) => /* @__PURE__ */ m(
536
+ const ol = A.forwardRef(({ className: e, children: t, ...n }, r) => /* @__PURE__ */ m(
537
537
  rl,
538
538
  {
539
539
  ref: r,
@@ -782,7 +782,7 @@ function $x({
782
782
  );
783
783
  }
784
784
  function qf({ adProduct: e, logo: t, title: n, adTitle: r, footerText: i, regEndDate: s, className: o }) {
785
- return /* @__PURE__ */ P(
785
+ return /* @__PURE__ */ O(
786
786
  be.Col,
787
787
  {
788
788
  className: k(
@@ -802,7 +802,7 @@ function qf({ adProduct: e, logo: t, title: n, adTitle: r, footerText: i, regEnd
802
802
  }
803
803
  ),
804
804
  /* @__PURE__ */ m(or, { src: t, alt: `${n} 로고`, className: "h-4 object-contain" }),
805
- /* @__PURE__ */ P(be.Col, { className: "w-full gap-2", children: [
805
+ /* @__PURE__ */ O(be.Col, { className: "w-full gap-2", children: [
806
806
  /* @__PURE__ */ m("h3", { className: "line-clamp-2 h-auto text-sm font-normal md:text-base lg:h-12", title: n, children: n }),
807
807
  /* @__PURE__ */ m("p", { className: "line-clamp-2 h-auto w-full break-keep rounded bg-grey-100 px-2 py-1 text-[13px] font-semibold text-grey-600 md:h-[54px] md:text-[15px] md:text-grey-800", children: r }),
808
808
  /* @__PURE__ */ m(Je, { className: "text-[13px] leading-[19px] text-grey-600", children: i })
@@ -812,7 +812,7 @@ function qf({ adProduct: e, logo: t, title: n, adTitle: r, footerText: i, regEnd
812
812
  );
813
813
  }
814
814
  function Yf({ className: e }) {
815
- return /* @__PURE__ */ P(
815
+ return /* @__PURE__ */ O(
816
816
  oe,
817
817
  {
818
818
  type: "background",
@@ -836,7 +836,7 @@ function Yf({ className: e }) {
836
836
  }
837
837
  ),
838
838
  /* @__PURE__ */ m(oe, { className: "h-4 w-1/2" }),
839
- /* @__PURE__ */ P(be.Col, { className: "gap-2", children: [
839
+ /* @__PURE__ */ O(be.Col, { className: "gap-2", children: [
840
840
  /* @__PURE__ */ m(Je, { className: "h-10 w-full", children: /* @__PURE__ */ m(oe, { className: "h-5 w-4/5" }) }),
841
841
  /* @__PURE__ */ m(oe, { className: "h-14 w-full" })
842
842
  ] }),
@@ -885,7 +885,7 @@ function ke(e) {
885
885
  var I = {}, li = { exports: {} };
886
886
  (function(e, t) {
887
887
  (function(n, r) {
888
- var i = "1.0.39", s = "", o = "?", a = "function", l = "undefined", c = "object", u = "string", f = "major", d = "model", h = "name", p = "type", g = "vendor", b = "version", y = "architecture", v = "console", w = "mobile", x = "tablet", E = "smarttv", N = "wearable", L = "embedded", V = 500, G = "Amazon", H = "Apple", ue = "ASUS", de = "BlackBerry", fe = "Browser", pe = "Chrome", ae = "Edge", ve = "Firefox", q = "Google", te = "Huawei", le = "LG", ie = "Microsoft", Ve = "Motorola", Oe = "Opera", T = "Samsung", R = "Sharp", U = "Sony", z = "Xiaomi", Y = "Zebra", Pe = "Facebook", he = "Chromium OS", we = "Mac OS", xe = " Browser", De = function(j, W) {
888
+ var i = "1.0.39", s = "", o = "?", a = "function", l = "undefined", c = "object", u = "string", f = "major", d = "model", h = "name", p = "type", g = "vendor", b = "version", y = "architecture", v = "console", w = "mobile", x = "tablet", E = "smarttv", S = "wearable", L = "embedded", V = 500, G = "Amazon", H = "Apple", ce = "ASUS", ue = "BlackBerry", de = "Browser", pe = "Chrome", ae = "Edge", ve = "Firefox", q = "Google", te = "Huawei", le = "LG", ie = "Microsoft", Ve = "Motorola", Oe = "Opera", T = "Samsung", R = "Sharp", U = "Sony", z = "Xiaomi", Y = "Zebra", Pe = "Facebook", fe = "Chromium OS", we = "Mac OS", xe = " Browser", De = function(j, W) {
889
889
  var _ = {};
890
890
  for (var D in j)
891
891
  W[D] && W[D].length % 2 === 0 ? _[D] = W[D].concat(j[D]) : _[D] = j[D];
@@ -904,12 +904,12 @@ var I = {}, li = { exports: {} };
904
904
  if (typeof j === u)
905
905
  return j = j.replace(/^\s\s*/, s), typeof W === l ? j : j.substring(0, V);
906
906
  }, Ke = function(j, W) {
907
- for (var _ = 0, D, S, M, A, C, Z; _ < W.length && !C; ) {
907
+ for (var _ = 0, D, C, M, P, N, Z; _ < W.length && !N; ) {
908
908
  var st = W[_], Rt = W[_ + 1];
909
- for (D = S = 0; D < st.length && !C && st[D]; )
910
- if (C = st[D++].exec(j), C)
909
+ for (D = C = 0; D < st.length && !N && st[D]; )
910
+ if (N = st[D++].exec(j), N)
911
911
  for (M = 0; M < Rt.length; M++)
912
- Z = C[++S], A = Rt[M], typeof A === c && A.length > 0 ? A.length === 2 ? typeof A[1] == a ? this[A[0]] = A[1].call(this, Z) : this[A[0]] = A[1] : A.length === 3 ? typeof A[1] === a && !(A[1].exec && A[1].test) ? this[A[0]] = Z ? A[1].call(this, Z, A[2]) : r : this[A[0]] = Z ? Z.replace(A[1], A[2]) : r : A.length === 4 && (this[A[0]] = Z ? A[3].call(this, Z.replace(A[1], A[2])) : r) : this[A] = Z || r;
912
+ Z = N[++C], P = Rt[M], typeof P === c && P.length > 0 ? P.length === 2 ? typeof P[1] == a ? this[P[0]] = P[1].call(this, Z) : this[P[0]] = P[1] : P.length === 3 ? typeof P[1] === a && !(P[1].exec && P[1].test) ? this[P[0]] = Z ? P[1].call(this, Z, P[2]) : r : this[P[0]] = Z ? Z.replace(P[1], P[2]) : r : P.length === 4 && (this[P[0]] = Z ? P[3].call(this, Z.replace(P[1], P[2])) : r) : this[P] = Z || r;
913
913
  _ += 2;
914
914
  }
915
915
  }, Me = function(j, W) {
@@ -921,34 +921,34 @@ var I = {}, li = { exports: {} };
921
921
  } else if (Mt(W[_], j))
922
922
  return _ === o ? r : _;
923
923
  return W.hasOwnProperty("*") ? W["*"] : j;
924
- }, Ht = { "1.0": "/8", 1.2: "/1", 1.3: "/3", "2.0": "/412", "2.0.2": "/416", "2.0.3": "/417", "2.0.4": "/419", "?": "/" }, it = { ME: "4.90", "NT 3.11": "NT3.51", "NT 4.0": "NT4.0", 2e3: "NT 5.0", XP: ["NT 5.1", "NT 5.2"], Vista: "NT 6.0", 7: "NT 6.1", 8: "NT 6.2", 8.1: "NT 6.3", 10: ["NT 6.4", "NT 10.0"], RT: "ARM" }, $ = { browser: [[/\b(?:crmo|crios)\/([\w\.]+)/i], [b, [h, "Chrome"]], [/edg(?:e|ios|a)?\/([\w\.]+)/i], [b, [h, "Edge"]], [/(opera mini)\/([-\w\.]+)/i, /(opera [mobiletab]{3,6})\b.+version\/([-\w\.]+)/i, /(opera)(?:.+version\/|[\/ ]+)([\w\.]+)/i], [h, b], [/opios[\/ ]+([\w\.]+)/i], [b, [h, Oe + " Mini"]], [/\bop(?:rg)?x\/([\w\.]+)/i], [b, [h, Oe + " GX"]], [/\bopr\/([\w\.]+)/i], [b, [h, Oe]], [/\bb[ai]*d(?:uhd|[ub]*[aekoprswx]{5,6})[\/ ]?([\w\.]+)/i], [b, [h, "Baidu"]], [/(kindle)\/([\w\.]+)/i, /(lunascape|maxthon|netfront|jasmine|blazer|sleipnir)[\/ ]?([\w\.]*)/i, /(avant|iemobile|slim)\s?(?:browser)?[\/ ]?([\w\.]*)/i, /(?:ms|\()(ie) ([\w\.]+)/i, /(flock|rockmelt|midori|epiphany|silk|skyfire|ovibrowser|bolt|iron|vivaldi|iridium|phantomjs|bowser|qupzilla|falkon|rekonq|puffin|brave|whale(?!.+naver)|qqbrowserlite|duckduckgo|klar|helio)\/([-\w\.]+)/i, /(heytap|ovi)browser\/([\d\.]+)/i, /(weibo)__([\d\.]+)/i], [h, b], [/quark(?:pc)?\/([-\w\.]+)/i], [b, [h, "Quark"]], [/\bddg\/([\w\.]+)/i], [b, [h, "DuckDuckGo"]], [/(?:\buc? ?browser|(?:juc.+)ucweb)[\/ ]?([\w\.]+)/i], [b, [h, "UC" + fe]], [/microm.+\bqbcore\/([\w\.]+)/i, /\bqbcore\/([\w\.]+).+microm/i, /micromessenger\/([\w\.]+)/i], [b, [h, "WeChat"]], [/konqueror\/([\w\.]+)/i], [b, [h, "Konqueror"]], [/trident.+rv[: ]([\w\.]{1,9})\b.+like gecko/i], [b, [h, "IE"]], [/ya(?:search)?browser\/([\w\.]+)/i], [b, [h, "Yandex"]], [/slbrowser\/([\w\.]+)/i], [b, [h, "Smart Lenovo " + fe]], [/(avast|avg)\/([\w\.]+)/i], [[h, /(.+)/, "$1 Secure " + fe], b], [/\bfocus\/([\w\.]+)/i], [b, [h, ve + " Focus"]], [/\bopt\/([\w\.]+)/i], [b, [h, Oe + " Touch"]], [/coc_coc\w+\/([\w\.]+)/i], [b, [h, "Coc Coc"]], [/dolfin\/([\w\.]+)/i], [b, [h, "Dolphin"]], [/coast\/([\w\.]+)/i], [b, [h, Oe + " Coast"]], [/miuibrowser\/([\w\.]+)/i], [b, [h, "MIUI " + fe]], [/fxios\/([-\w\.]+)/i], [b, [h, ve]], [/\bqihu|(qi?ho?o?|360)browser/i], [[h, "360" + xe]], [/\b(qq)\/([\w\.]+)/i], [[h, /(.+)/, "$1Browser"], b], [/(oculus|sailfish|huawei|vivo|pico)browser\/([\w\.]+)/i], [[h, /(.+)/, "$1" + xe], b], [/samsungbrowser\/([\w\.]+)/i], [b, [h, T + " Internet"]], [/(comodo_dragon)\/([\w\.]+)/i], [[h, /_/g, " "], b], [/metasr[\/ ]?([\d\.]+)/i], [b, [h, "Sogou Explorer"]], [/(sogou)mo\w+\/([\d\.]+)/i], [[h, "Sogou Mobile"], b], [/(electron)\/([\w\.]+) safari/i, /(tesla)(?: qtcarbrowser|\/(20\d\d\.[-\w\.]+))/i, /m?(qqbrowser|2345Explorer)[\/ ]?([\w\.]+)/i], [h, b], [/(lbbrowser|rekonq)/i, /\[(linkedin)app\]/i], [h], [/((?:fban\/fbios|fb_iab\/fb4a)(?!.+fbav)|;fbav\/([\w\.]+);)/i], [[h, Pe], b], [/(Klarna)\/([\w\.]+)/i, /(kakao(?:talk|story))[\/ ]([\w\.]+)/i, /(naver)\(.*?(\d+\.[\w\.]+).*\)/i, /safari (line)\/([\w\.]+)/i, /\b(line)\/([\w\.]+)\/iab/i, /(alipay)client\/([\w\.]+)/i, /(twitter)(?:and| f.+e\/([\w\.]+))/i, /(chromium|instagram|snapchat)[\/ ]([-\w\.]+)/i], [h, b], [/\bgsa\/([\w\.]+) .*safari\//i], [b, [h, "GSA"]], [/musical_ly(?:.+app_?version\/|_)([\w\.]+)/i], [b, [h, "TikTok"]], [/headlesschrome(?:\/([\w\.]+)| )/i], [b, [h, pe + " Headless"]], [/ wv\).+(chrome)\/([\w\.]+)/i], [[h, pe + " WebView"], b], [/droid.+ version\/([\w\.]+)\b.+(?:mobile safari|safari)/i], [b, [h, "Android " + fe]], [/(chrome|omniweb|arora|[tizenoka]{5} ?browser)\/v?([\w\.]+)/i], [h, b], [/version\/([\w\.\,]+) .*mobile\/\w+ (safari)/i], [b, [h, "Mobile Safari"]], [/version\/([\w(\.|\,)]+) .*(mobile ?safari|safari)/i], [b, h], [/webkit.+?(mobile ?safari|safari)(\/[\w\.]+)/i], [h, [b, Me, Ht]], [/(webkit|khtml)\/([\w\.]+)/i], [h, b], [/(navigator|netscape\d?)\/([-\w\.]+)/i], [[h, "Netscape"], b], [/(wolvic)\/([\w\.]+)/i], [h, b], [/mobile vr; rv:([\w\.]+)\).+firefox/i], [b, [h, ve + " Reality"]], [/ekiohf.+(flow)\/([\w\.]+)/i, /(swiftfox)/i, /(icedragon|iceweasel|camino|chimera|fennec|maemo browser|minimo|conkeror)[\/ ]?([\w\.\+]+)/i, /(seamonkey|k-meleon|icecat|iceape|firebird|phoenix|palemoon|basilisk|waterfox)\/([-\w\.]+)$/i, /(firefox)\/([\w\.]+)/i, /(mozilla)\/([\w\.]+) .+rv\:.+gecko\/\d+/i, /(polaris|lynx|dillo|icab|doris|amaya|w3m|netsurf|obigo|mosaic|(?:go|ice|up)[\. ]?browser)[-\/ ]?v?([\w\.]+)/i, /(links) \(([\w\.]+)/i], [h, [b, /_/g, "."]], [/(cobalt)\/([\w\.]+)/i], [h, [b, /master.|lts./, ""]]], cpu: [[/(?:(amd|x(?:(?:86|64)[-_])?|wow|win)64)[;\)]/i], [[y, "amd64"]], [/(ia32(?=;))/i], [[y, ze]], [/((?:i[346]|x)86)[;\)]/i], [[y, "ia32"]], [/\b(aarch64|arm(v?8e?l?|_?64))\b/i], [[y, "arm64"]], [/\b(arm(?:v[67])?ht?n?[fl]p?)\b/i], [[y, "armhf"]], [/windows (ce|mobile); ppc;/i], [[y, "arm"]], [/((?:ppc|powerpc)(?:64)?)(?: mac|;|\))/i], [[y, /ower/, s, ze]], [/(sun4\w)[;\)]/i], [[y, "sparc"]], [/((?:avr32|ia64(?=;))|68k(?=\))|\barm(?=v(?:[1-7]|[5-7]1)l?|;|eabi)|(?=atmel )avr|(?:irix|mips|sparc)(?:64)?\b|pa-risc)/i], [[y, ze]]], device: [[/\b(sch-i[89]0\d|shw-m380s|sm-[ptx]\w{2,4}|gt-[pn]\d{2,4}|sgh-t8[56]9|nexus 10)/i], [d, [g, T], [p, x]], [/\b((?:s[cgp]h|gt|sm)-(?![lr])\w+|sc[g-]?[\d]+a?|galaxy nexus)/i, /samsung[- ]((?!sm-[lr])[-\w]+)/i, /sec-(sgh\w+)/i], [d, [g, T], [p, w]], [/(?:\/|\()(ip(?:hone|od)[\w, ]*)(?:\/|;)/i], [d, [g, H], [p, w]], [/\((ipad);[-\w\),; ]+apple/i, /applecoremedia\/[\w\.]+ \((ipad)/i, /\b(ipad)\d\d?,\d\d?[;\]].+ios/i], [d, [g, H], [p, x]], [/(macintosh);/i], [d, [g, H]], [/\b(sh-?[altvz]?\d\d[a-ekm]?)/i], [d, [g, R], [p, w]], [/\b((?:ag[rs][23]?|bah2?|sht?|btv)-a?[lw]\d{2})\b(?!.+d\/s)/i], [d, [g, te], [p, x]], [/(?:huawei|honor)([-\w ]+)[;\)]/i, /\b(nexus 6p|\w{2,4}e?-[atu]?[ln][\dx][012359c][adn]?)\b(?!.+d\/s)/i], [d, [g, te], [p, w]], [/\b(poco[\w ]+|m2\d{3}j\d\d[a-z]{2})(?: bui|\))/i, /\b; (\w+) build\/hm\1/i, /\b(hm[-_ ]?note?[_ ]?(?:\d\w)?) bui/i, /\b(redmi[\-_ ]?(?:note|k)?[\w_ ]+)(?: bui|\))/i, /oid[^\)]+; (m?[12][0-389][01]\w{3,6}[c-y])( bui|; wv|\))/i, /\b(mi[-_ ]?(?:a\d|one|one[_ ]plus|note lte|max|cc)?[_ ]?(?:\d?\w?)[_ ]?(?:plus|se|lite|pro)?)(?: bui|\))/i], [[d, /_/g, " "], [g, z], [p, w]], [/oid[^\)]+; (2\d{4}(283|rpbf)[cgl])( bui|\))/i, /\b(mi[-_ ]?(?:pad)(?:[\w_ ]+))(?: bui|\))/i], [[d, /_/g, " "], [g, z], [p, x]], [/; (\w+) bui.+ oppo/i, /\b(cph[12]\d{3}|p(?:af|c[al]|d\w|e[ar])[mt]\d0|x9007|a101op)\b/i], [d, [g, "OPPO"], [p, w]], [/\b(opd2\d{3}a?) bui/i], [d, [g, "OPPO"], [p, x]], [/vivo (\w+)(?: bui|\))/i, /\b(v[12]\d{3}\w?[at])(?: bui|;)/i], [d, [g, "Vivo"], [p, w]], [/\b(rmx[1-3]\d{3})(?: bui|;|\))/i], [d, [g, "Realme"], [p, w]], [/\b(milestone|droid(?:[2-4x]| (?:bionic|x2|pro|razr))?:?( 4g)?)\b[\w ]+build\//i, /\bmot(?:orola)?[- ](\w*)/i, /((?:moto[\w\(\) ]+|xt\d{3,4}|nexus 6)(?= bui|\)))/i], [d, [g, Ve], [p, w]], [/\b(mz60\d|xoom[2 ]{0,2}) build\//i], [d, [g, Ve], [p, x]], [/((?=lg)?[vl]k\-?\d{3}) bui| 3\.[-\w; ]{10}lg?-([06cv9]{3,4})/i], [d, [g, le], [p, x]], [/(lm(?:-?f100[nv]?|-[\w\.]+)(?= bui|\))|nexus [45])/i, /\blg[-e;\/ ]+((?!browser|netcast|android tv)\w+)/i, /\blg-?([\d\w]+) bui/i], [d, [g, le], [p, w]], [/(ideatab[-\w ]+)/i, /lenovo ?(s[56]000[-\w]+|tab(?:[\w ]+)|yt[-\d\w]{6}|tb[-\d\w]{6})/i], [d, [g, "Lenovo"], [p, x]], [/(?:maemo|nokia).*(n900|lumia \d+)/i, /nokia[-_ ]?([-\w\.]*)/i], [[d, /_/g, " "], [g, "Nokia"], [p, w]], [/(pixel c)\b/i], [d, [g, q], [p, x]], [/droid.+; (pixel[\daxl ]{0,6})(?: bui|\))/i], [d, [g, q], [p, w]], [/droid.+ (a?\d[0-2]{2}so|[c-g]\d{4}|so[-gl]\w+|xq-a\w[4-7][12])(?= bui|\).+chrome\/(?![1-6]{0,1}\d\.))/i], [d, [g, U], [p, w]], [/sony tablet [ps]/i, /\b(?:sony)?sgp\w+(?: bui|\))/i], [[d, "Xperia Tablet"], [g, U], [p, x]], [/ (kb2005|in20[12]5|be20[12][59])\b/i, /(?:one)?(?:plus)? (a\d0\d\d)(?: b|\))/i], [d, [g, "OnePlus"], [p, w]], [/(alexa)webm/i, /(kf[a-z]{2}wi|aeo(?!bc)\w\w)( bui|\))/i, /(kf[a-z]+)( bui|\)).+silk\//i], [d, [g, G], [p, x]], [/((?:sd|kf)[0349hijorstuw]+)( bui|\)).+silk\//i], [[d, /(.+)/g, "Fire Phone $1"], [g, G], [p, w]], [/(playbook);[-\w\),; ]+(rim)/i], [d, g, [p, x]], [/\b((?:bb[a-f]|st[hv])100-\d)/i, /\(bb10; (\w+)/i], [d, [g, de], [p, w]], [/(?:\b|asus_)(transfo[prime ]{4,10} \w+|eeepc|slider \w+|nexus 7|padfone|p00[cj])/i], [d, [g, ue], [p, x]], [/ (z[bes]6[027][012][km][ls]|zenfone \d\w?)\b/i], [d, [g, ue], [p, w]], [/(nexus 9)/i], [d, [g, "HTC"], [p, x]], [/(htc)[-;_ ]{1,2}([\w ]+(?=\)| bui)|\w+)/i, /(zte)[- ]([\w ]+?)(?: bui|\/|\))/i, /(alcatel|geeksphone|nexian|panasonic(?!(?:;|\.))|sony(?!-bra))[-_ ]?([-\w]*)/i], [g, [d, /_/g, " "], [p, w]], [/droid [\w\.]+; ((?:8[14]9[16]|9(?:0(?:48|60|8[01])|1(?:3[27]|66)|2(?:6[69]|9[56])|466))[gqswx])\w*(\)| bui)/i], [d, [g, "TCL"], [p, x]], [/(itel) ((\w+))/i], [[g, ze], d, [p, Me, { tablet: ["p10001l", "w7001"], "*": "mobile" }]], [/droid.+; ([ab][1-7]-?[0178a]\d\d?)/i], [d, [g, "Acer"], [p, x]], [/droid.+; (m[1-5] note) bui/i, /\bmz-([-\w]{2,})/i], [d, [g, "Meizu"], [p, w]], [/; ((?:power )?armor(?:[\w ]{0,8}))(?: bui|\))/i], [d, [g, "Ulefone"], [p, w]], [/droid.+; (a(?:015|06[35]|142p?))/i], [d, [g, "Nothing"], [p, w]], [/(blackberry|benq|palm(?=\-)|sonyericsson|acer|asus|dell|meizu|motorola|polytron|infinix|tecno)[-_ ]?([-\w]*)/i, /(hp) ([\w ]+\w)/i, /(asus)-?(\w+)/i, /(microsoft); (lumia[\w ]+)/i, /(lenovo)[-_ ]?([-\w]+)/i, /(jolla)/i, /(oppo) ?([\w ]+) bui/i], [g, d, [p, w]], [/(kobo)\s(ereader|touch)/i, /(archos) (gamepad2?)/i, /(hp).+(touchpad(?!.+tablet)|tablet)/i, /(kindle)\/([\w\.]+)/i, /(nook)[\w ]+build\/(\w+)/i, /(dell) (strea[kpr\d ]*[\dko])/i, /(le[- ]+pan)[- ]+(\w{1,9}) bui/i, /(trinity)[- ]*(t\d{3}) bui/i, /(gigaset)[- ]+(q\w{1,9}) bui/i, /(vodafone) ([\w ]+)(?:\)| bui)/i], [g, d, [p, x]], [/(surface duo)/i], [d, [g, ie], [p, x]], [/droid [\d\.]+; (fp\du?)(?: b|\))/i], [d, [g, "Fairphone"], [p, w]], [/(u304aa)/i], [d, [g, "AT&T"], [p, w]], [/\bsie-(\w*)/i], [d, [g, "Siemens"], [p, w]], [/\b(rct\w+) b/i], [d, [g, "RCA"], [p, x]], [/\b(venue[\d ]{2,7}) b/i], [d, [g, "Dell"], [p, x]], [/\b(q(?:mv|ta)\w+) b/i], [d, [g, "Verizon"], [p, x]], [/\b(?:barnes[& ]+noble |bn[rt])([\w\+ ]*) b/i], [d, [g, "Barnes & Noble"], [p, x]], [/\b(tm\d{3}\w+) b/i], [d, [g, "NuVision"], [p, x]], [/\b(k88) b/i], [d, [g, "ZTE"], [p, x]], [/\b(nx\d{3}j) b/i], [d, [g, "ZTE"], [p, w]], [/\b(gen\d{3}) b.+49h/i], [d, [g, "Swiss"], [p, w]], [/\b(zur\d{3}) b/i], [d, [g, "Swiss"], [p, x]], [/\b((zeki)?tb.*\b) b/i], [d, [g, "Zeki"], [p, x]], [/\b([yr]\d{2}) b/i, /\b(dragon[- ]+touch |dt)(\w{5}) b/i], [[g, "Dragon Touch"], d, [p, x]], [/\b(ns-?\w{0,9}) b/i], [d, [g, "Insignia"], [p, x]], [/\b((nxa|next)-?\w{0,9}) b/i], [d, [g, "NextBook"], [p, x]], [/\b(xtreme\_)?(v(1[045]|2[015]|[3469]0|7[05])) b/i], [[g, "Voice"], d, [p, w]], [/\b(lvtel\-)?(v1[12]) b/i], [[g, "LvTel"], d, [p, w]], [/\b(ph-1) /i], [d, [g, "Essential"], [p, w]], [/\b(v(100md|700na|7011|917g).*\b) b/i], [d, [g, "Envizen"], [p, x]], [/\b(trio[-\w\. ]+) b/i], [d, [g, "MachSpeed"], [p, x]], [/\btu_(1491) b/i], [d, [g, "Rotor"], [p, x]], [/(shield[\w ]+) b/i], [d, [g, "Nvidia"], [p, x]], [/(sprint) (\w+)/i], [g, d, [p, w]], [/(kin\.[onetw]{3})/i], [[d, /\./g, " "], [g, ie], [p, w]], [/droid.+; (cc6666?|et5[16]|mc[239][23]x?|vc8[03]x?)\)/i], [d, [g, Y], [p, x]], [/droid.+; (ec30|ps20|tc[2-8]\d[kx])\)/i], [d, [g, Y], [p, w]], [/smart-tv.+(samsung)/i], [g, [p, E]], [/hbbtv.+maple;(\d+)/i], [[d, /^/, "SmartTV"], [g, T], [p, E]], [/(nux; netcast.+smarttv|lg (netcast\.tv-201\d|android tv))/i], [[g, le], [p, E]], [/(apple) ?tv/i], [g, [d, H + " TV"], [p, E]], [/crkey/i], [[d, pe + "cast"], [g, q], [p, E]], [/droid.+aft(\w+)( bui|\))/i], [d, [g, G], [p, E]], [/\(dtv[\);].+(aquos)/i, /(aquos-tv[\w ]+)\)/i], [d, [g, R], [p, E]], [/(bravia[\w ]+)( bui|\))/i], [d, [g, U], [p, E]], [/(mitv-\w{5}) bui/i], [d, [g, z], [p, E]], [/Hbbtv.*(technisat) (.*);/i], [g, d, [p, E]], [/\b(roku)[\dx]*[\)\/]((?:dvp-)?[\d\.]*)/i, /hbbtv\/\d+\.\d+\.\d+ +\([\w\+ ]*; *([\w\d][^;]*);([^;]*)/i], [[g, Ge], [d, Ge], [p, E]], [/\b(android tv|smart[- ]?tv|opera tv|tv; rv:)\b/i], [[p, E]], [/(ouya)/i, /(nintendo) ([wids3utch]+)/i], [g, d, [p, v]], [/droid.+; (shield) bui/i], [d, [g, "Nvidia"], [p, v]], [/(playstation [345portablevi]+)/i], [d, [g, U], [p, v]], [/\b(xbox(?: one)?(?!; xbox))[\); ]/i], [d, [g, ie], [p, v]], [/\b(sm-[lr]\d\d[05][fnuw]?s?)\b/i], [d, [g, T], [p, N]], [/((pebble))app/i], [g, d, [p, N]], [/(watch)(?: ?os[,\/]|\d,\d\/)[\d\.]+/i], [d, [g, H], [p, N]], [/droid.+; (glass) \d/i], [d, [g, q], [p, N]], [/droid.+; (wt63?0{2,3})\)/i], [d, [g, Y], [p, N]], [/(quest( \d| pro)?)/i], [d, [g, Pe], [p, N]], [/(tesla)(?: qtcarbrowser|\/[-\w\.]+)/i], [g, [p, L]], [/(aeobc)\b/i], [d, [g, G], [p, L]], [/droid .+?; ([^;]+?)(?: bui|; wv\)|\) applew).+? mobile safari/i], [d, [p, w]], [/droid .+?; ([^;]+?)(?: bui|\) applew).+?(?! mobile) safari/i], [d, [p, x]], [/\b((tablet|tab)[;\/]|focus\/\d(?!.+mobile))/i], [[p, x]], [/(phone|mobile(?:[;\/]| [ \w\/\.]*safari)|pda(?=.+windows ce))/i], [[p, w]], [/(android[-\w\. ]{0,9});.+buil/i], [d, [g, "Generic"]]], engine: [[/windows.+ edge\/([\w\.]+)/i], [b, [h, ae + "HTML"]], [/webkit\/537\.36.+chrome\/(?!27)([\w\.]+)/i], [b, [h, "Blink"]], [/(presto)\/([\w\.]+)/i, /(webkit|trident|netfront|netsurf|amaya|lynx|w3m|goanna)\/([\w\.]+)/i, /ekioh(flow)\/([\w\.]+)/i, /(khtml|tasman|links)[\/ ]\(?([\w\.]+)/i, /(icab)[\/ ]([23]\.[\d\.]+)/i, /\b(libweb)/i], [h, b], [/rv\:([\w\.]{1,9})\b.+(gecko)/i], [b, h]], os: [[/microsoft (windows) (vista|xp)/i], [h, b], [/(windows (?:phone(?: os)?|mobile))[\/ ]?([\d\.\w ]*)/i], [h, [b, Me, it]], [/windows nt 6\.2; (arm)/i, /windows[\/ ]?([ntce\d\. ]+\w)(?!.+xbox)/i, /(?:win(?=3|9|n)|win 9x )([nt\d\.]+)/i], [[b, Me, it], [h, "Windows"]], [/ip[honead]{2,4}\b(?:.*os ([\w]+) like mac|; opera)/i, /(?:ios;fbsv\/|iphone.+ios[\/ ])([\d\.]+)/i, /cfnetwork\/.+darwin/i], [[b, /_/g, "."], [h, "iOS"]], [/(mac os x) ?([\w\. ]*)/i, /(macintosh|mac_powerpc\b)(?!.+haiku)/i], [[h, we], [b, /_/g, "."]], [/droid ([\w\.]+)\b.+(android[- ]x86|harmonyos)/i], [b, h], [/(android|webos|qnx|bada|rim tablet os|maemo|meego|sailfish)[-\/ ]?([\w\.]*)/i, /(blackberry)\w*\/([\w\.]*)/i, /(tizen|kaios)[\/ ]([\w\.]+)/i, /\((series40);/i], [h, b], [/\(bb(10);/i], [b, [h, de]], [/(?:symbian ?os|symbos|s60(?=;)|series60)[-\/ ]?([\w\.]*)/i], [b, [h, "Symbian"]], [/mozilla\/[\d\.]+ \((?:mobile|tablet|tv|mobile; [\w ]+); rv:.+ gecko\/([\w\.]+)/i], [b, [h, ve + " OS"]], [/web0s;.+rt(tv)/i, /\b(?:hp)?wos(?:browser)?\/([\w\.]+)/i], [b, [h, "webOS"]], [/watch(?: ?os[,\/]|\d,\d\/)([\d\.]+)/i], [b, [h, "watchOS"]], [/crkey\/([\d\.]+)/i], [b, [h, pe + "cast"]], [/(cros) [\w]+(?:\)| ([\w\.]+)\b)/i], [[h, he], b], [/panasonic;(viera)/i, /(netrange)mmh/i, /(nettv)\/(\d+\.[\w\.]+)/i, /(nintendo|playstation) ([wids345portablevuch]+)/i, /(xbox); +xbox ([^\);]+)/i, /\b(joli|palm)\b ?(?:os)?\/?([\w\.]*)/i, /(mint)[\/\(\) ]?(\w*)/i, /(mageia|vectorlinux)[; ]/i, /([kxln]?ubuntu|debian|suse|opensuse|gentoo|arch(?= linux)|slackware|fedora|mandriva|centos|pclinuxos|red ?hat|zenwalk|linpus|raspbian|plan 9|minix|risc os|contiki|deepin|manjaro|elementary os|sabayon|linspire)(?: gnu\/linux)?(?: enterprise)?(?:[- ]linux)?(?:-gnu)?[-\/ ]?(?!chrom|package)([-\w\.]*)/i, /(hurd|linux) ?([\w\.]*)/i, /(gnu) ?([\w\.]*)/i, /\b([-frentopcghs]{0,5}bsd|dragonfly)[\/ ]?(?!amd|[ix346]{1,2}86)([\w\.]*)/i, /(haiku) (\w+)/i], [h, b], [/(sunos) ?([\w\.\d]*)/i], [[h, "Solaris"], b], [/((?:open)?solaris)[-\/ ]?([\w\.]*)/i, /(aix) ((\d)(?=\.|\)| )[\w\.])*/i, /\b(beos|os\/2|amigaos|morphos|openvms|fuchsia|hp-ux|serenityos)/i, /(unix) ?([\w\.]*)/i], [h, b]] }, me = function(j, W) {
924
+ }, Ht = { "1.0": "/8", 1.2: "/1", 1.3: "/3", "2.0": "/412", "2.0.2": "/416", "2.0.3": "/417", "2.0.4": "/419", "?": "/" }, it = { ME: "4.90", "NT 3.11": "NT3.51", "NT 4.0": "NT4.0", 2e3: "NT 5.0", XP: ["NT 5.1", "NT 5.2"], Vista: "NT 6.0", 7: "NT 6.1", 8: "NT 6.2", 8.1: "NT 6.3", 10: ["NT 6.4", "NT 10.0"], RT: "ARM" }, $ = { browser: [[/\b(?:crmo|crios)\/([\w\.]+)/i], [b, [h, "Chrome"]], [/edg(?:e|ios|a)?\/([\w\.]+)/i], [b, [h, "Edge"]], [/(opera mini)\/([-\w\.]+)/i, /(opera [mobiletab]{3,6})\b.+version\/([-\w\.]+)/i, /(opera)(?:.+version\/|[\/ ]+)([\w\.]+)/i], [h, b], [/opios[\/ ]+([\w\.]+)/i], [b, [h, Oe + " Mini"]], [/\bop(?:rg)?x\/([\w\.]+)/i], [b, [h, Oe + " GX"]], [/\bopr\/([\w\.]+)/i], [b, [h, Oe]], [/\bb[ai]*d(?:uhd|[ub]*[aekoprswx]{5,6})[\/ ]?([\w\.]+)/i], [b, [h, "Baidu"]], [/(kindle)\/([\w\.]+)/i, /(lunascape|maxthon|netfront|jasmine|blazer|sleipnir)[\/ ]?([\w\.]*)/i, /(avant|iemobile|slim)\s?(?:browser)?[\/ ]?([\w\.]*)/i, /(?:ms|\()(ie) ([\w\.]+)/i, /(flock|rockmelt|midori|epiphany|silk|skyfire|ovibrowser|bolt|iron|vivaldi|iridium|phantomjs|bowser|qupzilla|falkon|rekonq|puffin|brave|whale(?!.+naver)|qqbrowserlite|duckduckgo|klar|helio)\/([-\w\.]+)/i, /(heytap|ovi)browser\/([\d\.]+)/i, /(weibo)__([\d\.]+)/i], [h, b], [/quark(?:pc)?\/([-\w\.]+)/i], [b, [h, "Quark"]], [/\bddg\/([\w\.]+)/i], [b, [h, "DuckDuckGo"]], [/(?:\buc? ?browser|(?:juc.+)ucweb)[\/ ]?([\w\.]+)/i], [b, [h, "UC" + de]], [/microm.+\bqbcore\/([\w\.]+)/i, /\bqbcore\/([\w\.]+).+microm/i, /micromessenger\/([\w\.]+)/i], [b, [h, "WeChat"]], [/konqueror\/([\w\.]+)/i], [b, [h, "Konqueror"]], [/trident.+rv[: ]([\w\.]{1,9})\b.+like gecko/i], [b, [h, "IE"]], [/ya(?:search)?browser\/([\w\.]+)/i], [b, [h, "Yandex"]], [/slbrowser\/([\w\.]+)/i], [b, [h, "Smart Lenovo " + de]], [/(avast|avg)\/([\w\.]+)/i], [[h, /(.+)/, "$1 Secure " + de], b], [/\bfocus\/([\w\.]+)/i], [b, [h, ve + " Focus"]], [/\bopt\/([\w\.]+)/i], [b, [h, Oe + " Touch"]], [/coc_coc\w+\/([\w\.]+)/i], [b, [h, "Coc Coc"]], [/dolfin\/([\w\.]+)/i], [b, [h, "Dolphin"]], [/coast\/([\w\.]+)/i], [b, [h, Oe + " Coast"]], [/miuibrowser\/([\w\.]+)/i], [b, [h, "MIUI " + de]], [/fxios\/([-\w\.]+)/i], [b, [h, ve]], [/\bqihu|(qi?ho?o?|360)browser/i], [[h, "360" + xe]], [/\b(qq)\/([\w\.]+)/i], [[h, /(.+)/, "$1Browser"], b], [/(oculus|sailfish|huawei|vivo|pico)browser\/([\w\.]+)/i], [[h, /(.+)/, "$1" + xe], b], [/samsungbrowser\/([\w\.]+)/i], [b, [h, T + " Internet"]], [/(comodo_dragon)\/([\w\.]+)/i], [[h, /_/g, " "], b], [/metasr[\/ ]?([\d\.]+)/i], [b, [h, "Sogou Explorer"]], [/(sogou)mo\w+\/([\d\.]+)/i], [[h, "Sogou Mobile"], b], [/(electron)\/([\w\.]+) safari/i, /(tesla)(?: qtcarbrowser|\/(20\d\d\.[-\w\.]+))/i, /m?(qqbrowser|2345Explorer)[\/ ]?([\w\.]+)/i], [h, b], [/(lbbrowser|rekonq)/i, /\[(linkedin)app\]/i], [h], [/((?:fban\/fbios|fb_iab\/fb4a)(?!.+fbav)|;fbav\/([\w\.]+);)/i], [[h, Pe], b], [/(Klarna)\/([\w\.]+)/i, /(kakao(?:talk|story))[\/ ]([\w\.]+)/i, /(naver)\(.*?(\d+\.[\w\.]+).*\)/i, /safari (line)\/([\w\.]+)/i, /\b(line)\/([\w\.]+)\/iab/i, /(alipay)client\/([\w\.]+)/i, /(twitter)(?:and| f.+e\/([\w\.]+))/i, /(chromium|instagram|snapchat)[\/ ]([-\w\.]+)/i], [h, b], [/\bgsa\/([\w\.]+) .*safari\//i], [b, [h, "GSA"]], [/musical_ly(?:.+app_?version\/|_)([\w\.]+)/i], [b, [h, "TikTok"]], [/headlesschrome(?:\/([\w\.]+)| )/i], [b, [h, pe + " Headless"]], [/ wv\).+(chrome)\/([\w\.]+)/i], [[h, pe + " WebView"], b], [/droid.+ version\/([\w\.]+)\b.+(?:mobile safari|safari)/i], [b, [h, "Android " + de]], [/(chrome|omniweb|arora|[tizenoka]{5} ?browser)\/v?([\w\.]+)/i], [h, b], [/version\/([\w\.\,]+) .*mobile\/\w+ (safari)/i], [b, [h, "Mobile Safari"]], [/version\/([\w(\.|\,)]+) .*(mobile ?safari|safari)/i], [b, h], [/webkit.+?(mobile ?safari|safari)(\/[\w\.]+)/i], [h, [b, Me, Ht]], [/(webkit|khtml)\/([\w\.]+)/i], [h, b], [/(navigator|netscape\d?)\/([-\w\.]+)/i], [[h, "Netscape"], b], [/(wolvic)\/([\w\.]+)/i], [h, b], [/mobile vr; rv:([\w\.]+)\).+firefox/i], [b, [h, ve + " Reality"]], [/ekiohf.+(flow)\/([\w\.]+)/i, /(swiftfox)/i, /(icedragon|iceweasel|camino|chimera|fennec|maemo browser|minimo|conkeror)[\/ ]?([\w\.\+]+)/i, /(seamonkey|k-meleon|icecat|iceape|firebird|phoenix|palemoon|basilisk|waterfox)\/([-\w\.]+)$/i, /(firefox)\/([\w\.]+)/i, /(mozilla)\/([\w\.]+) .+rv\:.+gecko\/\d+/i, /(polaris|lynx|dillo|icab|doris|amaya|w3m|netsurf|obigo|mosaic|(?:go|ice|up)[\. ]?browser)[-\/ ]?v?([\w\.]+)/i, /(links) \(([\w\.]+)/i], [h, [b, /_/g, "."]], [/(cobalt)\/([\w\.]+)/i], [h, [b, /master.|lts./, ""]]], cpu: [[/(?:(amd|x(?:(?:86|64)[-_])?|wow|win)64)[;\)]/i], [[y, "amd64"]], [/(ia32(?=;))/i], [[y, ze]], [/((?:i[346]|x)86)[;\)]/i], [[y, "ia32"]], [/\b(aarch64|arm(v?8e?l?|_?64))\b/i], [[y, "arm64"]], [/\b(arm(?:v[67])?ht?n?[fl]p?)\b/i], [[y, "armhf"]], [/windows (ce|mobile); ppc;/i], [[y, "arm"]], [/((?:ppc|powerpc)(?:64)?)(?: mac|;|\))/i], [[y, /ower/, s, ze]], [/(sun4\w)[;\)]/i], [[y, "sparc"]], [/((?:avr32|ia64(?=;))|68k(?=\))|\barm(?=v(?:[1-7]|[5-7]1)l?|;|eabi)|(?=atmel )avr|(?:irix|mips|sparc)(?:64)?\b|pa-risc)/i], [[y, ze]]], device: [[/\b(sch-i[89]0\d|shw-m380s|sm-[ptx]\w{2,4}|gt-[pn]\d{2,4}|sgh-t8[56]9|nexus 10)/i], [d, [g, T], [p, x]], [/\b((?:s[cgp]h|gt|sm)-(?![lr])\w+|sc[g-]?[\d]+a?|galaxy nexus)/i, /samsung[- ]((?!sm-[lr])[-\w]+)/i, /sec-(sgh\w+)/i], [d, [g, T], [p, w]], [/(?:\/|\()(ip(?:hone|od)[\w, ]*)(?:\/|;)/i], [d, [g, H], [p, w]], [/\((ipad);[-\w\),; ]+apple/i, /applecoremedia\/[\w\.]+ \((ipad)/i, /\b(ipad)\d\d?,\d\d?[;\]].+ios/i], [d, [g, H], [p, x]], [/(macintosh);/i], [d, [g, H]], [/\b(sh-?[altvz]?\d\d[a-ekm]?)/i], [d, [g, R], [p, w]], [/\b((?:ag[rs][23]?|bah2?|sht?|btv)-a?[lw]\d{2})\b(?!.+d\/s)/i], [d, [g, te], [p, x]], [/(?:huawei|honor)([-\w ]+)[;\)]/i, /\b(nexus 6p|\w{2,4}e?-[atu]?[ln][\dx][012359c][adn]?)\b(?!.+d\/s)/i], [d, [g, te], [p, w]], [/\b(poco[\w ]+|m2\d{3}j\d\d[a-z]{2})(?: bui|\))/i, /\b; (\w+) build\/hm\1/i, /\b(hm[-_ ]?note?[_ ]?(?:\d\w)?) bui/i, /\b(redmi[\-_ ]?(?:note|k)?[\w_ ]+)(?: bui|\))/i, /oid[^\)]+; (m?[12][0-389][01]\w{3,6}[c-y])( bui|; wv|\))/i, /\b(mi[-_ ]?(?:a\d|one|one[_ ]plus|note lte|max|cc)?[_ ]?(?:\d?\w?)[_ ]?(?:plus|se|lite|pro)?)(?: bui|\))/i], [[d, /_/g, " "], [g, z], [p, w]], [/oid[^\)]+; (2\d{4}(283|rpbf)[cgl])( bui|\))/i, /\b(mi[-_ ]?(?:pad)(?:[\w_ ]+))(?: bui|\))/i], [[d, /_/g, " "], [g, z], [p, x]], [/; (\w+) bui.+ oppo/i, /\b(cph[12]\d{3}|p(?:af|c[al]|d\w|e[ar])[mt]\d0|x9007|a101op)\b/i], [d, [g, "OPPO"], [p, w]], [/\b(opd2\d{3}a?) bui/i], [d, [g, "OPPO"], [p, x]], [/vivo (\w+)(?: bui|\))/i, /\b(v[12]\d{3}\w?[at])(?: bui|;)/i], [d, [g, "Vivo"], [p, w]], [/\b(rmx[1-3]\d{3})(?: bui|;|\))/i], [d, [g, "Realme"], [p, w]], [/\b(milestone|droid(?:[2-4x]| (?:bionic|x2|pro|razr))?:?( 4g)?)\b[\w ]+build\//i, /\bmot(?:orola)?[- ](\w*)/i, /((?:moto[\w\(\) ]+|xt\d{3,4}|nexus 6)(?= bui|\)))/i], [d, [g, Ve], [p, w]], [/\b(mz60\d|xoom[2 ]{0,2}) build\//i], [d, [g, Ve], [p, x]], [/((?=lg)?[vl]k\-?\d{3}) bui| 3\.[-\w; ]{10}lg?-([06cv9]{3,4})/i], [d, [g, le], [p, x]], [/(lm(?:-?f100[nv]?|-[\w\.]+)(?= bui|\))|nexus [45])/i, /\blg[-e;\/ ]+((?!browser|netcast|android tv)\w+)/i, /\blg-?([\d\w]+) bui/i], [d, [g, le], [p, w]], [/(ideatab[-\w ]+)/i, /lenovo ?(s[56]000[-\w]+|tab(?:[\w ]+)|yt[-\d\w]{6}|tb[-\d\w]{6})/i], [d, [g, "Lenovo"], [p, x]], [/(?:maemo|nokia).*(n900|lumia \d+)/i, /nokia[-_ ]?([-\w\.]*)/i], [[d, /_/g, " "], [g, "Nokia"], [p, w]], [/(pixel c)\b/i], [d, [g, q], [p, x]], [/droid.+; (pixel[\daxl ]{0,6})(?: bui|\))/i], [d, [g, q], [p, w]], [/droid.+ (a?\d[0-2]{2}so|[c-g]\d{4}|so[-gl]\w+|xq-a\w[4-7][12])(?= bui|\).+chrome\/(?![1-6]{0,1}\d\.))/i], [d, [g, U], [p, w]], [/sony tablet [ps]/i, /\b(?:sony)?sgp\w+(?: bui|\))/i], [[d, "Xperia Tablet"], [g, U], [p, x]], [/ (kb2005|in20[12]5|be20[12][59])\b/i, /(?:one)?(?:plus)? (a\d0\d\d)(?: b|\))/i], [d, [g, "OnePlus"], [p, w]], [/(alexa)webm/i, /(kf[a-z]{2}wi|aeo(?!bc)\w\w)( bui|\))/i, /(kf[a-z]+)( bui|\)).+silk\//i], [d, [g, G], [p, x]], [/((?:sd|kf)[0349hijorstuw]+)( bui|\)).+silk\//i], [[d, /(.+)/g, "Fire Phone $1"], [g, G], [p, w]], [/(playbook);[-\w\),; ]+(rim)/i], [d, g, [p, x]], [/\b((?:bb[a-f]|st[hv])100-\d)/i, /\(bb10; (\w+)/i], [d, [g, ue], [p, w]], [/(?:\b|asus_)(transfo[prime ]{4,10} \w+|eeepc|slider \w+|nexus 7|padfone|p00[cj])/i], [d, [g, ce], [p, x]], [/ (z[bes]6[027][012][km][ls]|zenfone \d\w?)\b/i], [d, [g, ce], [p, w]], [/(nexus 9)/i], [d, [g, "HTC"], [p, x]], [/(htc)[-;_ ]{1,2}([\w ]+(?=\)| bui)|\w+)/i, /(zte)[- ]([\w ]+?)(?: bui|\/|\))/i, /(alcatel|geeksphone|nexian|panasonic(?!(?:;|\.))|sony(?!-bra))[-_ ]?([-\w]*)/i], [g, [d, /_/g, " "], [p, w]], [/droid [\w\.]+; ((?:8[14]9[16]|9(?:0(?:48|60|8[01])|1(?:3[27]|66)|2(?:6[69]|9[56])|466))[gqswx])\w*(\)| bui)/i], [d, [g, "TCL"], [p, x]], [/(itel) ((\w+))/i], [[g, ze], d, [p, Me, { tablet: ["p10001l", "w7001"], "*": "mobile" }]], [/droid.+; ([ab][1-7]-?[0178a]\d\d?)/i], [d, [g, "Acer"], [p, x]], [/droid.+; (m[1-5] note) bui/i, /\bmz-([-\w]{2,})/i], [d, [g, "Meizu"], [p, w]], [/; ((?:power )?armor(?:[\w ]{0,8}))(?: bui|\))/i], [d, [g, "Ulefone"], [p, w]], [/droid.+; (a(?:015|06[35]|142p?))/i], [d, [g, "Nothing"], [p, w]], [/(blackberry|benq|palm(?=\-)|sonyericsson|acer|asus|dell|meizu|motorola|polytron|infinix|tecno)[-_ ]?([-\w]*)/i, /(hp) ([\w ]+\w)/i, /(asus)-?(\w+)/i, /(microsoft); (lumia[\w ]+)/i, /(lenovo)[-_ ]?([-\w]+)/i, /(jolla)/i, /(oppo) ?([\w ]+) bui/i], [g, d, [p, w]], [/(kobo)\s(ereader|touch)/i, /(archos) (gamepad2?)/i, /(hp).+(touchpad(?!.+tablet)|tablet)/i, /(kindle)\/([\w\.]+)/i, /(nook)[\w ]+build\/(\w+)/i, /(dell) (strea[kpr\d ]*[\dko])/i, /(le[- ]+pan)[- ]+(\w{1,9}) bui/i, /(trinity)[- ]*(t\d{3}) bui/i, /(gigaset)[- ]+(q\w{1,9}) bui/i, /(vodafone) ([\w ]+)(?:\)| bui)/i], [g, d, [p, x]], [/(surface duo)/i], [d, [g, ie], [p, x]], [/droid [\d\.]+; (fp\du?)(?: b|\))/i], [d, [g, "Fairphone"], [p, w]], [/(u304aa)/i], [d, [g, "AT&T"], [p, w]], [/\bsie-(\w*)/i], [d, [g, "Siemens"], [p, w]], [/\b(rct\w+) b/i], [d, [g, "RCA"], [p, x]], [/\b(venue[\d ]{2,7}) b/i], [d, [g, "Dell"], [p, x]], [/\b(q(?:mv|ta)\w+) b/i], [d, [g, "Verizon"], [p, x]], [/\b(?:barnes[& ]+noble |bn[rt])([\w\+ ]*) b/i], [d, [g, "Barnes & Noble"], [p, x]], [/\b(tm\d{3}\w+) b/i], [d, [g, "NuVision"], [p, x]], [/\b(k88) b/i], [d, [g, "ZTE"], [p, x]], [/\b(nx\d{3}j) b/i], [d, [g, "ZTE"], [p, w]], [/\b(gen\d{3}) b.+49h/i], [d, [g, "Swiss"], [p, w]], [/\b(zur\d{3}) b/i], [d, [g, "Swiss"], [p, x]], [/\b((zeki)?tb.*\b) b/i], [d, [g, "Zeki"], [p, x]], [/\b([yr]\d{2}) b/i, /\b(dragon[- ]+touch |dt)(\w{5}) b/i], [[g, "Dragon Touch"], d, [p, x]], [/\b(ns-?\w{0,9}) b/i], [d, [g, "Insignia"], [p, x]], [/\b((nxa|next)-?\w{0,9}) b/i], [d, [g, "NextBook"], [p, x]], [/\b(xtreme\_)?(v(1[045]|2[015]|[3469]0|7[05])) b/i], [[g, "Voice"], d, [p, w]], [/\b(lvtel\-)?(v1[12]) b/i], [[g, "LvTel"], d, [p, w]], [/\b(ph-1) /i], [d, [g, "Essential"], [p, w]], [/\b(v(100md|700na|7011|917g).*\b) b/i], [d, [g, "Envizen"], [p, x]], [/\b(trio[-\w\. ]+) b/i], [d, [g, "MachSpeed"], [p, x]], [/\btu_(1491) b/i], [d, [g, "Rotor"], [p, x]], [/(shield[\w ]+) b/i], [d, [g, "Nvidia"], [p, x]], [/(sprint) (\w+)/i], [g, d, [p, w]], [/(kin\.[onetw]{3})/i], [[d, /\./g, " "], [g, ie], [p, w]], [/droid.+; (cc6666?|et5[16]|mc[239][23]x?|vc8[03]x?)\)/i], [d, [g, Y], [p, x]], [/droid.+; (ec30|ps20|tc[2-8]\d[kx])\)/i], [d, [g, Y], [p, w]], [/smart-tv.+(samsung)/i], [g, [p, E]], [/hbbtv.+maple;(\d+)/i], [[d, /^/, "SmartTV"], [g, T], [p, E]], [/(nux; netcast.+smarttv|lg (netcast\.tv-201\d|android tv))/i], [[g, le], [p, E]], [/(apple) ?tv/i], [g, [d, H + " TV"], [p, E]], [/crkey/i], [[d, pe + "cast"], [g, q], [p, E]], [/droid.+aft(\w+)( bui|\))/i], [d, [g, G], [p, E]], [/\(dtv[\);].+(aquos)/i, /(aquos-tv[\w ]+)\)/i], [d, [g, R], [p, E]], [/(bravia[\w ]+)( bui|\))/i], [d, [g, U], [p, E]], [/(mitv-\w{5}) bui/i], [d, [g, z], [p, E]], [/Hbbtv.*(technisat) (.*);/i], [g, d, [p, E]], [/\b(roku)[\dx]*[\)\/]((?:dvp-)?[\d\.]*)/i, /hbbtv\/\d+\.\d+\.\d+ +\([\w\+ ]*; *([\w\d][^;]*);([^;]*)/i], [[g, Ge], [d, Ge], [p, E]], [/\b(android tv|smart[- ]?tv|opera tv|tv; rv:)\b/i], [[p, E]], [/(ouya)/i, /(nintendo) ([wids3utch]+)/i], [g, d, [p, v]], [/droid.+; (shield) bui/i], [d, [g, "Nvidia"], [p, v]], [/(playstation [345portablevi]+)/i], [d, [g, U], [p, v]], [/\b(xbox(?: one)?(?!; xbox))[\); ]/i], [d, [g, ie], [p, v]], [/\b(sm-[lr]\d\d[05][fnuw]?s?)\b/i], [d, [g, T], [p, S]], [/((pebble))app/i], [g, d, [p, S]], [/(watch)(?: ?os[,\/]|\d,\d\/)[\d\.]+/i], [d, [g, H], [p, S]], [/droid.+; (glass) \d/i], [d, [g, q], [p, S]], [/droid.+; (wt63?0{2,3})\)/i], [d, [g, Y], [p, S]], [/(quest( \d| pro)?)/i], [d, [g, Pe], [p, S]], [/(tesla)(?: qtcarbrowser|\/[-\w\.]+)/i], [g, [p, L]], [/(aeobc)\b/i], [d, [g, G], [p, L]], [/droid .+?; ([^;]+?)(?: bui|; wv\)|\) applew).+? mobile safari/i], [d, [p, w]], [/droid .+?; ([^;]+?)(?: bui|\) applew).+?(?! mobile) safari/i], [d, [p, x]], [/\b((tablet|tab)[;\/]|focus\/\d(?!.+mobile))/i], [[p, x]], [/(phone|mobile(?:[;\/]| [ \w\/\.]*safari)|pda(?=.+windows ce))/i], [[p, w]], [/(android[-\w\. ]{0,9});.+buil/i], [d, [g, "Generic"]]], engine: [[/windows.+ edge\/([\w\.]+)/i], [b, [h, ae + "HTML"]], [/webkit\/537\.36.+chrome\/(?!27)([\w\.]+)/i], [b, [h, "Blink"]], [/(presto)\/([\w\.]+)/i, /(webkit|trident|netfront|netsurf|amaya|lynx|w3m|goanna)\/([\w\.]+)/i, /ekioh(flow)\/([\w\.]+)/i, /(khtml|tasman|links)[\/ ]\(?([\w\.]+)/i, /(icab)[\/ ]([23]\.[\d\.]+)/i, /\b(libweb)/i], [h, b], [/rv\:([\w\.]{1,9})\b.+(gecko)/i], [b, h]], os: [[/microsoft (windows) (vista|xp)/i], [h, b], [/(windows (?:phone(?: os)?|mobile))[\/ ]?([\d\.\w ]*)/i], [h, [b, Me, it]], [/windows nt 6\.2; (arm)/i, /windows[\/ ]?([ntce\d\. ]+\w)(?!.+xbox)/i, /(?:win(?=3|9|n)|win 9x )([nt\d\.]+)/i], [[b, Me, it], [h, "Windows"]], [/ip[honead]{2,4}\b(?:.*os ([\w]+) like mac|; opera)/i, /(?:ios;fbsv\/|iphone.+ios[\/ ])([\d\.]+)/i, /cfnetwork\/.+darwin/i], [[b, /_/g, "."], [h, "iOS"]], [/(mac os x) ?([\w\. ]*)/i, /(macintosh|mac_powerpc\b)(?!.+haiku)/i], [[h, we], [b, /_/g, "."]], [/droid ([\w\.]+)\b.+(android[- ]x86|harmonyos)/i], [b, h], [/(android|webos|qnx|bada|rim tablet os|maemo|meego|sailfish)[-\/ ]?([\w\.]*)/i, /(blackberry)\w*\/([\w\.]*)/i, /(tizen|kaios)[\/ ]([\w\.]+)/i, /\((series40);/i], [h, b], [/\(bb(10);/i], [b, [h, ue]], [/(?:symbian ?os|symbos|s60(?=;)|series60)[-\/ ]?([\w\.]*)/i], [b, [h, "Symbian"]], [/mozilla\/[\d\.]+ \((?:mobile|tablet|tv|mobile; [\w ]+); rv:.+ gecko\/([\w\.]+)/i], [b, [h, ve + " OS"]], [/web0s;.+rt(tv)/i, /\b(?:hp)?wos(?:browser)?\/([\w\.]+)/i], [b, [h, "webOS"]], [/watch(?: ?os[,\/]|\d,\d\/)([\d\.]+)/i], [b, [h, "watchOS"]], [/crkey\/([\d\.]+)/i], [b, [h, pe + "cast"]], [/(cros) [\w]+(?:\)| ([\w\.]+)\b)/i], [[h, fe], b], [/panasonic;(viera)/i, /(netrange)mmh/i, /(nettv)\/(\d+\.[\w\.]+)/i, /(nintendo|playstation) ([wids345portablevuch]+)/i, /(xbox); +xbox ([^\);]+)/i, /\b(joli|palm)\b ?(?:os)?\/?([\w\.]*)/i, /(mint)[\/\(\) ]?(\w*)/i, /(mageia|vectorlinux)[; ]/i, /([kxln]?ubuntu|debian|suse|opensuse|gentoo|arch(?= linux)|slackware|fedora|mandriva|centos|pclinuxos|red ?hat|zenwalk|linpus|raspbian|plan 9|minix|risc os|contiki|deepin|manjaro|elementary os|sabayon|linspire)(?: gnu\/linux)?(?: enterprise)?(?:[- ]linux)?(?:-gnu)?[-\/ ]?(?!chrom|package)([-\w\.]*)/i, /(hurd|linux) ?([\w\.]*)/i, /(gnu) ?([\w\.]*)/i, /\b([-frentopcghs]{0,5}bsd|dragonfly)[\/ ]?(?!amd|[ix346]{1,2}86)([\w\.]*)/i, /(haiku) (\w+)/i], [h, b], [/(sunos) ?([\w\.\d]*)/i], [[h, "Solaris"], b], [/((?:open)?solaris)[-\/ ]?([\w\.]*)/i, /(aix) ((\d)(?=\.|\)| )[\w\.])*/i, /\b(beos|os\/2|amigaos|morphos|openvms|fuchsia|hp-ux|serenityos)/i, /(unix) ?([\w\.]*)/i], [h, b]] }, me = function(j, W) {
925
925
  if (typeof j === c && (W = j, j = r), !(this instanceof me))
926
926
  return new me(j, W).getResult();
927
- var _ = typeof n !== l && n.navigator ? n.navigator : r, D = j || (_ && _.userAgent ? _.userAgent : s), S = _ && _.userAgentData ? _.userAgentData : r, M = W ? De($, W) : $, A = _ && _.userAgent == D;
927
+ var _ = typeof n !== l && n.navigator ? n.navigator : r, D = j || (_ && _.userAgent ? _.userAgent : s), C = _ && _.userAgentData ? _.userAgentData : r, M = W ? De($, W) : $, P = _ && _.userAgent == D;
928
928
  return this.getBrowser = function() {
929
- var C = {};
930
- return C[h] = r, C[b] = r, Ke.call(C, D, M.browser), C[f] = Kt(C[b]), A && _ && _.brave && typeof _.brave.isBrave == a && (C[h] = "Brave"), C;
929
+ var N = {};
930
+ return N[h] = r, N[b] = r, Ke.call(N, D, M.browser), N[f] = Kt(N[b]), P && _ && _.brave && typeof _.brave.isBrave == a && (N[h] = "Brave"), N;
931
931
  }, this.getCPU = function() {
932
- var C = {};
933
- return C[y] = r, Ke.call(C, D, M.cpu), C;
932
+ var N = {};
933
+ return N[y] = r, Ke.call(N, D, M.cpu), N;
934
934
  }, this.getDevice = function() {
935
- var C = {};
936
- return C[g] = r, C[d] = r, C[p] = r, Ke.call(C, D, M.device), A && !C[p] && S && S.mobile && (C[p] = w), A && C[d] == "Macintosh" && _ && typeof _.standalone !== l && _.maxTouchPoints && _.maxTouchPoints > 2 && (C[d] = "iPad", C[p] = x), C;
935
+ var N = {};
936
+ return N[g] = r, N[d] = r, N[p] = r, Ke.call(N, D, M.device), P && !N[p] && C && C.mobile && (N[p] = w), P && N[d] == "Macintosh" && _ && typeof _.standalone !== l && _.maxTouchPoints && _.maxTouchPoints > 2 && (N[d] = "iPad", N[p] = x), N;
937
937
  }, this.getEngine = function() {
938
- var C = {};
939
- return C[h] = r, C[b] = r, Ke.call(C, D, M.engine), C;
938
+ var N = {};
939
+ return N[h] = r, N[b] = r, Ke.call(N, D, M.engine), N;
940
940
  }, this.getOS = function() {
941
- var C = {};
942
- return C[h] = r, C[b] = r, Ke.call(C, D, M.os), A && !C[h] && S && S.platform && S.platform != "Unknown" && (C[h] = S.platform.replace(/chrome os/i, he).replace(/macos/i, we)), C;
941
+ var N = {};
942
+ return N[h] = r, N[b] = r, Ke.call(N, D, M.os), P && !N[h] && C && C.platform && C.platform != "Unknown" && (N[h] = C.platform.replace(/chrome os/i, fe).replace(/macos/i, we)), N;
943
943
  }, this.getResult = function() {
944
944
  return { ua: this.getUA(), browser: this.getBrowser(), engine: this.getEngine(), os: this.getOS(), device: this.getDevice(), cpu: this.getCPU() };
945
945
  }, this.getUA = function() {
946
946
  return D;
947
- }, this.setUA = function(C) {
948
- return D = typeof C === u && C.length > V ? Ge(C, V) : C, this;
947
+ }, this.setUA = function(N) {
948
+ return D = typeof N === u && N.length > V ? Ge(N, V) : N, this;
949
949
  }, this.setUA(D), this;
950
950
  };
951
- me.VERSION = i, me.BROWSER = rt([h, b, f]), me.CPU = rt([y]), me.DEVICE = rt([d, g, p, v, w, E, x, N, L]), me.ENGINE = me.OS = rt([h, b]), e.exports && (t = e.exports = me), t.UAParser = me;
951
+ me.VERSION = i, me.BROWSER = rt([h, b, f]), me.CPU = rt([y]), me.DEVICE = rt([d, g, p, v, w, E, x, S, L]), me.ENGINE = me.OS = rt([h, b]), e.exports && (t = e.exports = me), t.UAParser = me;
952
952
  var ee = typeof n !== l && (n.jQuery || n.Zepto);
953
953
  if (ee && !ee.ua) {
954
954
  var X = new me();
@@ -968,8 +968,8 @@ Object.defineProperty(I, "__esModule", { value: !0 });
968
968
  function rh(e) {
969
969
  return e && typeof e == "object" && "default" in e ? e.default : e;
970
970
  }
971
- var Se = K, J = rh(Se), dl = nh, St = new dl(), Ce = St.getBrowser(), ih = St.getCPU(), Le = St.getDevice(), Qi = St.getEngine(), Ct = St.getOS(), In = St.getUA(), fl = function(t) {
972
- return St.setUA(t);
971
+ var Ne = K, J = rh(Ne), dl = nh, Nt = new dl(), Ce = Nt.getBrowser(), ih = Nt.getCPU(), Le = Nt.getDevice(), Qi = Nt.getEngine(), Ct = Nt.getOS(), In = Nt.getUA(), fl = function(t) {
972
+ return Nt.setUA(t);
973
973
  }, kn = function(t) {
974
974
  if (!t) {
975
975
  console.error("No userAgent string was provided");
@@ -989,7 +989,7 @@ var Se = K, J = rh(Se), dl = nh, St = new dl(), Ce = St.getBrowser(), ih = St.ge
989
989
  }
990
990
  };
991
991
  }, hl = /* @__PURE__ */ Object.freeze({
992
- ClientUAInstance: St,
992
+ ClientUAInstance: Nt,
993
993
  browser: Ce,
994
994
  cpu: ih,
995
995
  device: Le,
@@ -1276,7 +1276,7 @@ var Te = {
1276
1276
  osVersion: F(r.version),
1277
1277
  userAgent: F(i)
1278
1278
  };
1279
- }, Nh = function(t, n, r, i, s) {
1279
+ }, Sh = function(t, n, r, i, s) {
1280
1280
  return {
1281
1281
  isEmbedded: t,
1282
1282
  vendor: F(n.vendor),
@@ -1288,7 +1288,7 @@ var Te = {
1288
1288
  userAgent: F(s)
1289
1289
  };
1290
1290
  };
1291
- function Sh(e) {
1291
+ function Nh(e) {
1292
1292
  var t = e ? kn(e) : hl, n = t.device, r = t.browser, i = t.engine, s = t.os, o = t.ua, a = vh(n.type), l = a.isBrowser, c = a.isMobile, u = a.isTablet, f = a.isSmartTV, d = a.isConsole, h = a.isWearable, p = a.isEmbedded;
1293
1293
  if (l)
1294
1294
  return xh(l, r, i, s, o);
@@ -1301,7 +1301,7 @@ function Sh(e) {
1301
1301
  if (h)
1302
1302
  return _h(h, i, s, o);
1303
1303
  if (p)
1304
- return Nh(p, n, i, s, o);
1304
+ return Sh(p, n, i, s, o);
1305
1305
  }
1306
1306
  var pl = function(t) {
1307
1307
  var n = t.type;
@@ -1339,10 +1339,10 @@ var pl = function(t) {
1339
1339
  }, _l = function(t) {
1340
1340
  var n = t.name;
1341
1341
  return n === un.Android;
1342
- }, Nl = function(t) {
1342
+ }, Sl = function(t) {
1343
1343
  var n = t.name;
1344
1344
  return n === un.Windows;
1345
- }, Sl = function(t) {
1345
+ }, Nl = function(t) {
1346
1346
  var n = t.name;
1347
1347
  return n === un.MAC_OS;
1348
1348
  }, Cl = function(t) {
@@ -1464,13 +1464,13 @@ function Zl(e) {
1464
1464
  isElectron: Kl(),
1465
1465
  isEdgeChromium: nn(o),
1466
1466
  isLegacyEdge: cr(r) && !nn(o),
1467
- isWindows: Nl(i),
1468
- isMacOs: Sl(i),
1467
+ isWindows: Sl(i),
1468
+ isMacOs: Nl(i),
1469
1469
  isMIUI: Fl(r),
1470
1470
  isSamsungBrowser: Ul(r)
1471
1471
  };
1472
1472
  }
1473
- var Ql = bl(Le), Jl = vl(Le), ec = yl(Le), Ch = wl(Le), Ah = Ll(Ce) || Ze(), Ph = Dl(Ce), Cr = gl(Le) || Ze(), tc = pl(Le), nc = ml(Le) || Ze(), rc = lr(Le), Oh = lr(Le), ic = _l(Ct), sc = Cl(Ct), oc = Al(Ct) || Ze(), Mh = Ml(Ce), Rh = Rl(Ce), Dh = kl(Ce), Ih = Vl(Ce), ac = Bl(Ce), kh = Pl(Ct), Lh = Ol(Ct), Vh = $l(Ce), Bh = jl(Ce), Fh = Wl(Ce), Uh = xl(Le), $h = El(Le), jh = zl(Qi), Wh = Gl(Qi), zh = Xl(In), Gh = cr(Ce) || nn(In), Kh = Il(Ce), Hh = Tl(Le), qh = Hl(), Yh = Ze(), Xh = ql(), Zh = Yl(), Qh = Kl(), Jh = nn(In), ep = cr(Ce) && !nn(In), tp = Nl(Ct), np = Sl(Ct), rp = Fl(Ce), ip = Ul(Ce), sp = function(t) {
1473
+ var Ql = bl(Le), Jl = vl(Le), ec = yl(Le), Ch = wl(Le), Ah = Ll(Ce) || Ze(), Ph = Dl(Ce), Cr = gl(Le) || Ze(), tc = pl(Le), nc = ml(Le) || Ze(), rc = lr(Le), Oh = lr(Le), ic = _l(Ct), sc = Cl(Ct), oc = Al(Ct) || Ze(), Mh = Ml(Ce), Rh = Rl(Ce), Dh = kl(Ce), Ih = Vl(Ce), ac = Bl(Ce), kh = Pl(Ct), Lh = Ol(Ct), Vh = $l(Ce), Bh = jl(Ce), Fh = Wl(Ce), Uh = xl(Le), $h = El(Le), jh = zl(Qi), Wh = Gl(Qi), zh = Xl(In), Gh = cr(Ce) || nn(In), Kh = Il(Ce), Hh = Tl(Le), qh = Hl(), Yh = Ze(), Xh = ql(), Zh = Yl(), Qh = Kl(), Jh = nn(In), ep = cr(Ce) && !nn(In), tp = Sl(Ct), np = Nl(Ct), rp = Fl(Ce), ip = Ul(Ce), sp = function(t) {
1474
1474
  if (!t || typeof t != "string") {
1475
1475
  console.error("No valid user agent string was provided");
1476
1476
  return;
@@ -1485,44 +1485,44 @@ var Ql = bl(Le), Jl = vl(Le), ec = yl(Le), Ch = wl(Le), Ah = Ll(Ce) || Ze(), Ph
1485
1485
  });
1486
1486
  }, op = function(t) {
1487
1487
  var n = t.renderWithFragment, r = t.children, i = We(t, ["renderWithFragment", "children"]);
1488
- return ic ? n ? J.createElement(Se.Fragment, null, r) : J.createElement("div", i, r) : null;
1488
+ return ic ? n ? J.createElement(Ne.Fragment, null, r) : J.createElement("div", i, r) : null;
1489
1489
  }, ap = function(t) {
1490
1490
  var n = t.renderWithFragment, r = t.children, i = We(t, ["renderWithFragment", "children"]);
1491
- return rc ? n ? J.createElement(Se.Fragment, null, r) : J.createElement("div", i, r) : null;
1491
+ return rc ? n ? J.createElement(Ne.Fragment, null, r) : J.createElement("div", i, r) : null;
1492
1492
  }, lp = function(t) {
1493
1493
  var n = t.renderWithFragment, r = t.children, i = We(t, ["renderWithFragment", "children"]);
1494
- return ac ? n ? J.createElement(Se.Fragment, null, r) : J.createElement("div", i, r) : null;
1494
+ return ac ? n ? J.createElement(Ne.Fragment, null, r) : J.createElement("div", i, r) : null;
1495
1495
  }, cp = function(t) {
1496
1496
  var n = t.renderWithFragment, r = t.children, i = We(t, ["renderWithFragment", "children"]);
1497
- return oc ? n ? J.createElement(Se.Fragment, null, r) : J.createElement("div", i, r) : null;
1497
+ return oc ? n ? J.createElement(Ne.Fragment, null, r) : J.createElement("div", i, r) : null;
1498
1498
  }, up = function(t) {
1499
1499
  var n = t.renderWithFragment, r = t.children, i = We(t, ["renderWithFragment", "children"]);
1500
- return Cr ? n ? J.createElement(Se.Fragment, null, r) : J.createElement("div", i, r) : null;
1500
+ return Cr ? n ? J.createElement(Ne.Fragment, null, r) : J.createElement("div", i, r) : null;
1501
1501
  }, dp = function(t) {
1502
1502
  var n = t.renderWithFragment, r = t.children, i = We(t, ["renderWithFragment", "children"]);
1503
- return nc ? n ? J.createElement(Se.Fragment, null, r) : J.createElement("div", i, r) : null;
1503
+ return nc ? n ? J.createElement(Ne.Fragment, null, r) : J.createElement("div", i, r) : null;
1504
1504
  }, fp = function(t) {
1505
1505
  var n = t.renderWithFragment, r = t.children, i = We(t, ["renderWithFragment", "children"]);
1506
- return sc ? n ? J.createElement(Se.Fragment, null, r) : J.createElement("div", i, r) : null;
1506
+ return sc ? n ? J.createElement(Ne.Fragment, null, r) : J.createElement("div", i, r) : null;
1507
1507
  }, hp = function(t) {
1508
1508
  var n = t.renderWithFragment, r = t.children;
1509
1509
  t.viewClassName, t.style;
1510
1510
  var i = We(t, ["renderWithFragment", "children", "viewClassName", "style"]);
1511
- return tc ? n ? J.createElement(Se.Fragment, null, r) : J.createElement("div", i, r) : null;
1511
+ return tc ? n ? J.createElement(Ne.Fragment, null, r) : J.createElement("div", i, r) : null;
1512
1512
  }, pp = function(t) {
1513
1513
  var n = t.renderWithFragment, r = t.children, i = We(t, ["renderWithFragment", "children"]);
1514
- return Ql ? n ? J.createElement(Se.Fragment, null, r) : J.createElement("div", i, r) : null;
1514
+ return Ql ? n ? J.createElement(Ne.Fragment, null, r) : J.createElement("div", i, r) : null;
1515
1515
  }, mp = function(t) {
1516
1516
  var n = t.renderWithFragment, r = t.children, i = We(t, ["renderWithFragment", "children"]);
1517
- return Jl ? n ? J.createElement(Se.Fragment, null, r) : J.createElement("div", i, r) : null;
1517
+ return Jl ? n ? J.createElement(Ne.Fragment, null, r) : J.createElement("div", i, r) : null;
1518
1518
  }, gp = function(t) {
1519
1519
  var n = t.renderWithFragment, r = t.children, i = We(t, ["renderWithFragment", "children"]);
1520
- return ec ? n ? J.createElement(Se.Fragment, null, r) : J.createElement("div", i, r) : null;
1520
+ return ec ? n ? J.createElement(Ne.Fragment, null, r) : J.createElement("div", i, r) : null;
1521
1521
  }, bp = function(t) {
1522
1522
  var n = t.renderWithFragment, r = t.children;
1523
1523
  t.viewClassName, t.style;
1524
1524
  var i = t.condition, s = We(t, ["renderWithFragment", "children", "viewClassName", "style", "condition"]);
1525
- return i ? n ? J.createElement(Se.Fragment, null, r) : J.createElement("div", s, r) : null;
1525
+ return i ? n ? J.createElement(Ne.Fragment, null, r) : J.createElement("div", s, r) : null;
1526
1526
  };
1527
1527
  function yp(e) {
1528
1528
  return /* @__PURE__ */ function(t) {
@@ -1576,14 +1576,14 @@ function yp(e) {
1576
1576
  }(J.Component);
1577
1577
  }
1578
1578
  function vp() {
1579
- var e = Se.useState(function() {
1579
+ var e = Ne.useState(function() {
1580
1580
  var s = window.innerWidth > window.innerHeight ? 90 : 0;
1581
1581
  return {
1582
1582
  isPortrait: s === 0,
1583
1583
  isLandscape: s === 90,
1584
1584
  orientation: s === 0 ? "portrait" : "landscape"
1585
1585
  };
1586
- }), t = hh(e, 2), n = t[0], r = t[1], i = Se.useCallback(function() {
1586
+ }), t = hh(e, 2), n = t[0], r = t[1], i = Ne.useCallback(function() {
1587
1587
  var s = window.innerWidth > window.innerHeight ? 90 : 0, o = {
1588
1588
  isPortrait: s === 0,
1589
1589
  isLandscape: s === 90,
@@ -1591,7 +1591,7 @@ function vp() {
1591
1591
  };
1592
1592
  n.orientation !== o.orientation && r(o);
1593
1593
  }, [n.orientation]);
1594
- return Se.useEffect(function() {
1594
+ return Ne.useEffect(function() {
1595
1595
  return (typeof window > "u" ? "undefined" : wn(window)) !== void 0 && Cr && (i(), window.addEventListener("load", i, !1), window.addEventListener("resize", i, !1)), function() {
1596
1596
  window.removeEventListener("resize", i, !1), window.removeEventListener("load", i, !1);
1597
1597
  };
@@ -1621,7 +1621,7 @@ I.WearableView = gp;
1621
1621
  I.WinPhoneView = fp;
1622
1622
  I.browserName = Fh;
1623
1623
  I.browserVersion = Bh;
1624
- I.deviceDetect = Sh;
1624
+ I.deviceDetect = Nh;
1625
1625
  I.deviceType = Hh;
1626
1626
  I.engineName = jh;
1627
1627
  I.engineVersion = Wh;
@@ -1699,7 +1699,7 @@ function jx({
1699
1699
  a ? "bg-white" : "border-y border-y-grey-200",
1700
1700
  l
1701
1701
  ),
1702
- children: a ? /* @__PURE__ */ m(xp, {}) : /* @__PURE__ */ m(xr, { children: /* @__PURE__ */ P(be.Row, { className: "absolute inset-0 mx-auto h-full w-full max-w-screen-xl px-0 pb-6 pt-0 md:h-auto md:px-6 md:pb-0 md:pt-10 lg:px-10 lg:pt-6", children: [
1702
+ children: a ? /* @__PURE__ */ m(xp, {}) : /* @__PURE__ */ m(xr, { children: /* @__PURE__ */ O(be.Row, { className: "absolute inset-0 mx-auto h-full w-full max-w-screen-xl px-0 pb-6 pt-0 md:h-auto md:px-6 md:pb-0 md:pt-10 lg:px-10 lg:pt-6", children: [
1703
1703
  c ? /* @__PURE__ */ m("div", { className: "mx-auto flex h-full w-full items-center md:items-start", children: /* @__PURE__ */ m(
1704
1704
  "img",
1705
1705
  {
@@ -1725,7 +1725,7 @@ function jx({
1725
1725
  );
1726
1726
  }
1727
1727
  function xp() {
1728
- return /* @__PURE__ */ P(be.Col, { className: "relative mx-auto flex h-full w-full max-w-screen-xl items-start gap-5 px-4 pt-4 md:px-6 md:pt-10 lg:px-10", children: [
1728
+ return /* @__PURE__ */ O(be.Col, { className: "relative mx-auto flex h-full w-full max-w-screen-xl items-start gap-5 px-4 pt-4 md:px-6 md:pt-10 lg:px-10", children: [
1729
1729
  /* @__PURE__ */ m(oe, { type: "text", className: "h-6 w-4/5 rounded-xl md:h-10" }),
1730
1730
  /* @__PURE__ */ m(oe, { type: "text", className: "h-10 w-1/2 rounded-xl md:h-16 lg:w-3/5" }),
1731
1731
  /* @__PURE__ */ m(
@@ -1748,7 +1748,7 @@ const Wx = ({
1748
1748
  tag: a,
1749
1749
  isLoading: l = !1,
1750
1750
  className: c
1751
- }) => /* @__PURE__ */ P(
1751
+ }) => /* @__PURE__ */ O(
1752
1752
  l ? oe : Je,
1753
1753
  {
1754
1754
  title: t,
@@ -1791,11 +1791,11 @@ const Wx = ({
1791
1791
  batchName: r,
1792
1792
  subtitle: i,
1793
1793
  thumbnail: s
1794
- }) => /* @__PURE__ */ P(be.Col, { className: "h-full justify-start gap-2", children: [
1794
+ }) => /* @__PURE__ */ O(be.Col, { className: "h-full justify-start gap-2", children: [
1795
1795
  /* @__PURE__ */ m(or, { src: e, alt: `${t} 로고`, className: "h-4 object-contain" }),
1796
- /* @__PURE__ */ P(be.Row, { className: "w-full items-start justify-between gap-6", children: [
1797
- /* @__PURE__ */ P(be.Col, { className: "flex h-full grow flex-col justify-between gap-2 pb-2", children: [
1798
- /* @__PURE__ */ P(
1796
+ /* @__PURE__ */ O(be.Row, { className: "w-full items-start justify-between gap-6", children: [
1797
+ /* @__PURE__ */ O(be.Col, { className: "flex h-full grow flex-col justify-between gap-2 pb-2", children: [
1798
+ /* @__PURE__ */ O(
1799
1799
  "h3",
1800
1800
  {
1801
1801
  className: "line-clamp-2 h-auto text-sm font-normal md:h-12 md:text-base",
@@ -1825,10 +1825,10 @@ const Wx = ({
1825
1825
  }
1826
1826
  )
1827
1827
  ] })
1828
- ] }), Tp = () => /* @__PURE__ */ P(be.Col, { className: "h-full justify-center gap-2", children: [
1828
+ ] }), Tp = () => /* @__PURE__ */ O(be.Col, { className: "h-full justify-center gap-2", children: [
1829
1829
  /* @__PURE__ */ m(oe, { className: "h-4 w-1/2" }),
1830
- /* @__PURE__ */ P(be.Row, { className: "w-full items-start justify-between gap-6", children: [
1831
- /* @__PURE__ */ P(be.Col, { className: "flex h-full w-full flex-col justify-between gap-2 pb-2", children: [
1830
+ /* @__PURE__ */ O(be.Row, { className: "w-full items-start justify-between gap-6", children: [
1831
+ /* @__PURE__ */ O(be.Col, { className: "flex h-full w-full flex-col justify-between gap-2 pb-2", children: [
1832
1832
  /* @__PURE__ */ m(oe, { className: "h-5 w-4/5 lg:h-12" }),
1833
1833
  /* @__PURE__ */ m(oe, { className: "h-5 w-4/5" })
1834
1834
  ] }),
@@ -1845,7 +1845,7 @@ const Wx = ({
1845
1845
  changedAspect: a = "aspect-[8/5]",
1846
1846
  isLoading: l = !1,
1847
1847
  className: c
1848
- }) => l ? /* @__PURE__ */ m(_p, { changedAspect: a, className: c, titleTagType: s }) : /* @__PURE__ */ P(
1848
+ }) => l ? /* @__PURE__ */ m(_p, { changedAspect: a, className: c, titleTagType: s }) : /* @__PURE__ */ O(
1849
1849
  be.Col,
1850
1850
  {
1851
1851
  className: k(
@@ -1853,7 +1853,7 @@ const Wx = ({
1853
1853
  c
1854
1854
  ),
1855
1855
  children: [
1856
- /* @__PURE__ */ P(
1856
+ /* @__PURE__ */ O(
1857
1857
  Je,
1858
1858
  {
1859
1859
  style: {
@@ -1880,7 +1880,7 @@ const Wx = ({
1880
1880
  children: s
1881
1881
  }
1882
1882
  ),
1883
- o && /* @__PURE__ */ P(xr, { children: [
1883
+ o && /* @__PURE__ */ O(xr, { children: [
1884
1884
  /* @__PURE__ */ m(Je, { className: "absolute left-4 top-4 z-10 w-36 whitespace-pre-wrap break-keep text-[18px] font-semibold text-white md:left-5 md:top-7", children: o }),
1885
1885
  /* @__PURE__ */ m(
1886
1886
  Je,
@@ -1895,8 +1895,8 @@ const Wx = ({
1895
1895
  ]
1896
1896
  }
1897
1897
  ),
1898
- /* @__PURE__ */ P(be.Col, { className: "w-full justify-between gap-2 p-4 text-grey-800 md:p-5 lg:p-6", children: [
1899
- /* @__PURE__ */ P("h4", { className: "flex flex-col gap-2", title: `${n} ${r} ${i}`, children: [
1898
+ /* @__PURE__ */ O(be.Col, { className: "w-full justify-between gap-2 p-4 text-grey-800 md:p-5 lg:p-6", children: [
1899
+ /* @__PURE__ */ O("h4", { className: "flex flex-col gap-2", title: `${n} ${r} ${i}`, children: [
1900
1900
  /* @__PURE__ */ m("p", { className: "text-sm", children: n }),
1901
1901
  /* @__PURE__ */ m("p", { className: "truncate3 break-keep text-base font-semibold", children: `${r} ${i}` })
1902
1902
  ] }),
@@ -1924,7 +1924,7 @@ const Wx = ({
1924
1924
  changedAspect: e,
1925
1925
  className: t,
1926
1926
  titleTagType: n
1927
- }) => /* @__PURE__ */ P(
1927
+ }) => /* @__PURE__ */ O(
1928
1928
  oe,
1929
1929
  {
1930
1930
  type: "background",
@@ -1957,12 +1957,12 @@ const Wx = ({
1957
1957
  children: /* @__PURE__ */ m(oe, { className: "h-full w-full", type: "background" })
1958
1958
  }
1959
1959
  ),
1960
- /* @__PURE__ */ P(be.Col, { className: "w-full justify-between gap-2 p-4", children: [
1961
- /* @__PURE__ */ P(be.Col, { className: "relative w-full gap-2", children: [
1960
+ /* @__PURE__ */ O(be.Col, { className: "w-full justify-between gap-2 p-4", children: [
1961
+ /* @__PURE__ */ O(be.Col, { className: "relative w-full gap-2", children: [
1962
1962
  /* @__PURE__ */ m(oe, { className: "h-5 w-1/2", type: "text" }),
1963
1963
  /* @__PURE__ */ m(oe, { className: "h-12 w-full", type: "text" })
1964
1964
  ] }),
1965
- /* @__PURE__ */ P(be.Row, { className: "w-full gap-1", children: [
1965
+ /* @__PURE__ */ O(be.Row, { className: "w-full gap-1", children: [
1966
1966
  /* @__PURE__ */ m(oe, { className: "h-5 w-1/4", type: "text" }),
1967
1967
  /* @__PURE__ */ m(oe, { className: "h-5 w-2/5", type: "text" }),
1968
1968
  /* @__PURE__ */ m(oe, { className: "h-5 w-1/4", type: "text" })
@@ -1971,7 +1971,7 @@ const Wx = ({
1971
1971
  ]
1972
1972
  }
1973
1973
  );
1974
- function Np(e, t) {
1974
+ function Sp(e, t) {
1975
1975
  if (e == null) return {};
1976
1976
  var n = {};
1977
1977
  for (var r in e) if ({}.hasOwnProperty.call(e, r)) {
@@ -1980,9 +1980,9 @@ function Np(e, t) {
1980
1980
  }
1981
1981
  return n;
1982
1982
  }
1983
- function Sp(e, t) {
1983
+ function Np(e, t) {
1984
1984
  if (e == null) return {};
1985
- var n, r, i = Np(e, t);
1985
+ var n, r, i = Sp(e, t);
1986
1986
  if (Object.getOwnPropertySymbols) {
1987
1987
  var s = Object.getOwnPropertySymbols(e);
1988
1988
  for (r = 0; r < s.length; r++) n = s[r], t.indexOf(n) === -1 && {}.propertyIsEnumerable.call(e, n) && (i[n] = e[n]);
@@ -2261,11 +2261,11 @@ function hc(e) {
2261
2261
  }
2262
2262
  function zp(e, t, n, r, i, s, o, a, l) {
2263
2263
  var c, u = hc(e.value), f = [], d = -1, h = 0;
2264
- function p(E, N) {
2264
+ function p(E, S) {
2265
2265
  var L = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : [];
2266
2266
  return er({
2267
2267
  children: E,
2268
- lineNumber: N,
2268
+ lineNumber: S,
2269
2269
  lineNumberStyle: a,
2270
2270
  largestLineNumber: o,
2271
2271
  showInlineLineNumbers: i,
@@ -2276,35 +2276,35 @@ function zp(e, t, n, r, i, s, o, a, l) {
2276
2276
  wrapLines: t
2277
2277
  });
2278
2278
  }
2279
- function g(E, N) {
2280
- if (r && N && i) {
2281
- var L = fc(a, N, o);
2282
- E.unshift(dc(N, L));
2279
+ function g(E, S) {
2280
+ if (r && S && i) {
2281
+ var L = fc(a, S, o);
2282
+ E.unshift(dc(S, L));
2283
2283
  }
2284
2284
  return E;
2285
2285
  }
2286
- function b(E, N) {
2286
+ function b(E, S) {
2287
2287
  var L = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : [];
2288
- return t || L.length > 0 ? p(E, N, L) : g(E, N);
2288
+ return t || L.length > 0 ? p(E, S, L) : g(E, S);
2289
2289
  }
2290
2290
  for (var y = function() {
2291
- var N = u[h], L = N.children[0].value, V = Up(L);
2291
+ var S = u[h], L = S.children[0].value, V = Up(L);
2292
2292
  if (V) {
2293
2293
  var G = L.split(`
2294
2294
  `);
2295
- G.forEach(function(H, ue) {
2296
- var de = r && f.length + s, fe = {
2295
+ G.forEach(function(H, ce) {
2296
+ var ue = r && f.length + s, de = {
2297
2297
  type: "text",
2298
2298
  value: "".concat(H, `
2299
2299
  `)
2300
2300
  };
2301
- if (ue === 0) {
2301
+ if (ce === 0) {
2302
2302
  var pe = u.slice(d + 1, h).concat(er({
2303
- children: [fe],
2304
- className: N.properties.className
2305
- })), ae = b(pe, de);
2303
+ children: [de],
2304
+ className: S.properties.className
2305
+ })), ae = b(pe, ue);
2306
2306
  f.push(ae);
2307
- } else if (ue === G.length - 1) {
2307
+ } else if (ce === G.length - 1) {
2308
2308
  var ve = u[h + 1] && u[h + 1].children && u[h + 1].children[0], q = {
2309
2309
  type: "text",
2310
2310
  value: "".concat(H)
@@ -2312,15 +2312,15 @@ function zp(e, t, n, r, i, s, o, a, l) {
2312
2312
  if (ve) {
2313
2313
  var te = er({
2314
2314
  children: [q],
2315
- className: N.properties.className
2315
+ className: S.properties.className
2316
2316
  });
2317
2317
  u.splice(h + 1, 0, te);
2318
2318
  } else {
2319
- var le = [q], ie = b(le, de, N.properties.className);
2319
+ var le = [q], ie = b(le, ue, S.properties.className);
2320
2320
  f.push(ie);
2321
2321
  }
2322
2322
  } else {
2323
- var Ve = [fe], Oe = b(Ve, de, N.properties.className);
2323
+ var Ve = [de], Oe = b(Ve, ue, S.properties.className);
2324
2324
  f.push(Oe);
2325
2325
  }
2326
2326
  }), d = h;
@@ -2377,12 +2377,12 @@ function Hp(e, t) {
2377
2377
  var i = r.language, s = r.children, o = r.style, a = o === void 0 ? t : o, l = r.customStyle, c = l === void 0 ? {} : l, u = r.codeTagProps, f = u === void 0 ? {
2378
2378
  className: i ? "language-".concat(i) : void 0,
2379
2379
  style: bt(bt({}, a['code[class*="language-"]']), a['code[class*="language-'.concat(i, '"]')])
2380
- } : u, d = r.useInlineStyles, h = d === void 0 ? !0 : d, p = r.showLineNumbers, g = p === void 0 ? !1 : p, b = r.showInlineLineNumbers, y = b === void 0 ? !0 : b, v = r.startingLineNumber, w = v === void 0 ? 1 : v, x = r.lineNumberContainerStyle, E = r.lineNumberStyle, N = E === void 0 ? {} : E, L = r.wrapLines, V = r.wrapLongLines, G = V === void 0 ? !1 : V, H = r.lineProps, ue = H === void 0 ? {} : H, de = r.renderer, fe = r.PreTag, pe = fe === void 0 ? "pre" : fe, ae = r.CodeTag, ve = ae === void 0 ? "code" : ae, q = r.code, te = q === void 0 ? (Array.isArray(s) ? s[0] : s) || "" : q, le = r.astGenerator, ie = Sp(r, Bp);
2380
+ } : u, d = r.useInlineStyles, h = d === void 0 ? !0 : d, p = r.showLineNumbers, g = p === void 0 ? !1 : p, b = r.showInlineLineNumbers, y = b === void 0 ? !0 : b, v = r.startingLineNumber, w = v === void 0 ? 1 : v, x = r.lineNumberContainerStyle, E = r.lineNumberStyle, S = E === void 0 ? {} : E, L = r.wrapLines, V = r.wrapLongLines, G = V === void 0 ? !1 : V, H = r.lineProps, ce = H === void 0 ? {} : H, ue = r.renderer, de = r.PreTag, pe = de === void 0 ? "pre" : de, ae = r.CodeTag, ve = ae === void 0 ? "code" : ae, q = r.code, te = q === void 0 ? (Array.isArray(s) ? s[0] : s) || "" : q, le = r.astGenerator, ie = Np(r, Bp);
2381
2381
  le = le || e;
2382
2382
  var Ve = g ? /* @__PURE__ */ K.createElement(jp, {
2383
2383
  containerStyle: x,
2384
2384
  codeStyle: f.style || {},
2385
- numberStyle: N,
2385
+ numberStyle: S,
2386
2386
  startingLineNumber: w,
2387
2387
  codeString: te
2388
2388
  }) : null, Oe = a.hljs || a['pre[class*="language-"]'] || {
@@ -2399,7 +2399,7 @@ function Hp(e, t) {
2399
2399
  whiteSpace: "pre"
2400
2400
  }, f.style), !le)
2401
2401
  return /* @__PURE__ */ K.createElement(pe, R, Ve, /* @__PURE__ */ K.createElement(ve, f, te));
2402
- (L === void 0 && de || G) && (L = !0), de = de || Gp;
2402
+ (L === void 0 && ue || G) && (L = !0), ue = ue || Gp;
2403
2403
  var U = [{
2404
2404
  type: "text",
2405
2405
  value: te
@@ -2413,9 +2413,9 @@ function Hp(e, t) {
2413
2413
  var Y = z.value.length;
2414
2414
  Y === 1 && z.value[0].type === "text" && (Y = z.value[0].value.split(`
2415
2415
  `).length);
2416
- var Pe = Y + w, he = zp(z, L, ue, g, y, w, Pe, N, G);
2417
- return /* @__PURE__ */ K.createElement(pe, R, /* @__PURE__ */ K.createElement(ve, f, !y && Ve, de({
2418
- rows: he,
2416
+ var Pe = Y + w, fe = zp(z, L, ce, g, y, w, Pe, S, G);
2417
+ return /* @__PURE__ */ K.createElement(pe, R, /* @__PURE__ */ K.createElement(ve, f, !y && Ve, ue({
2418
+ rows: fe,
2419
2419
  stylesheet: a,
2420
2420
  useInlineStyles: h
2421
2421
  })));
@@ -2597,14 +2597,14 @@ class Zp extends ns {
2597
2597
  function Qp(e) {
2598
2598
  return new RegExp(e.replace(/[-/\\^$*+?.()|[\]{}]/g, "\\$&"), "m");
2599
2599
  }
2600
- function Nn(e) {
2600
+ function Sn(e) {
2601
2601
  return e ? typeof e == "string" ? e : e.source : null;
2602
2602
  }
2603
2603
  function Jp(...e) {
2604
- return e.map((n) => Nn(n)).join("");
2604
+ return e.map((n) => Sn(n)).join("");
2605
2605
  }
2606
2606
  function em(...e) {
2607
- return "(" + e.map((n) => Nn(n)).join("|") + ")";
2607
+ return "(" + e.map((n) => Sn(n)).join("|") + ")";
2608
2608
  }
2609
2609
  function tm(e) {
2610
2610
  return new RegExp(e.toString() + "|").exec("").length - 1;
@@ -2619,7 +2619,7 @@ function im(e, t = "|") {
2619
2619
  return e.map((r) => {
2620
2620
  n += 1;
2621
2621
  const i = n;
2622
- let s = Nn(r), o = "";
2622
+ let s = Sn(r), o = "";
2623
2623
  for (; s.length > 0; ) {
2624
2624
  const a = rm.exec(s);
2625
2625
  if (!a) {
@@ -2648,7 +2648,7 @@ const sm = /\b\B/, gc = "[a-zA-Z]\\w*", rs = "[a-zA-Z_]\\w*", is = "\\b\\d+(\\.\
2648
2648
  n.index !== 0 && r.ignoreMatch();
2649
2649
  }
2650
2650
  }, e);
2651
- }, Sn = {
2651
+ }, Nn = {
2652
2652
  begin: "\\\\[\\s\\S]",
2653
2653
  relevance: 0
2654
2654
  }, lm = {
@@ -2656,13 +2656,13 @@ const sm = /\b\B/, gc = "[a-zA-Z]\\w*", rs = "[a-zA-Z_]\\w*", is = "\\b\\d+(\\.\
2656
2656
  begin: "'",
2657
2657
  end: "'",
2658
2658
  illegal: "\\n",
2659
- contains: [Sn]
2659
+ contains: [Nn]
2660
2660
  }, cm = {
2661
2661
  className: "string",
2662
2662
  begin: '"',
2663
2663
  end: '"',
2664
2664
  illegal: "\\n",
2665
- contains: [Sn]
2665
+ contains: [Nn]
2666
2666
  }, vc = {
2667
2667
  begin: /\b(a|an|the|are|I'm|isn't|don't|doesn't|won't|but|just|should|pretty|simply|enough|gonna|going|wtf|so|such|will|you|your|they|like|more)\b/
2668
2668
  }, Ar = function(e, t, n = {}) {
@@ -2710,12 +2710,12 @@ const sm = /\b\B/, gc = "[a-zA-Z]\\w*", rs = "[a-zA-Z_]\\w*", is = "\\b\\d+(\\.\
2710
2710
  end: /\/[gimuy]*/,
2711
2711
  illegal: /\n/,
2712
2712
  contains: [
2713
- Sn,
2713
+ Nn,
2714
2714
  {
2715
2715
  begin: /\[/,
2716
2716
  end: /\]/,
2717
2717
  relevance: 0,
2718
- contains: [Sn]
2718
+ contains: [Nn]
2719
2719
  }
2720
2720
  ]
2721
2721
  }]
@@ -2756,7 +2756,7 @@ var zn = /* @__PURE__ */ Object.freeze({
2756
2756
  BINARY_NUMBER_RE: yc,
2757
2757
  RE_STARTERS_RE: om,
2758
2758
  SHEBANG: am,
2759
- BACKSLASH_ESCAPE: Sn,
2759
+ BACKSLASH_ESCAPE: Nn,
2760
2760
  APOS_STRING_MODE: lm,
2761
2761
  QUOTE_STRING_MODE: cm,
2762
2762
  PHRASAL_WORDS_MODE: vc,
@@ -2783,13 +2783,13 @@ function Tm(e, t) {
2783
2783
  function _m(e, t) {
2784
2784
  Array.isArray(e.illegal) && (e.illegal = em(...e.illegal));
2785
2785
  }
2786
- function Nm(e, t) {
2786
+ function Sm(e, t) {
2787
2787
  if (e.match) {
2788
2788
  if (e.begin || e.end) throw new Error("begin & end are not supported with match");
2789
2789
  e.begin = e.match, delete e.match;
2790
2790
  }
2791
2791
  }
2792
- function Sm(e, t) {
2792
+ function Nm(e, t) {
2793
2793
  e.relevance === void 0 && (e.relevance = 1);
2794
2794
  }
2795
2795
  const Cm = [
@@ -2832,7 +2832,7 @@ function Om(e) {
2832
2832
  function Mm(e, { plugins: t }) {
2833
2833
  function n(a, l) {
2834
2834
  return new RegExp(
2835
- Nn(a),
2835
+ Sn(a),
2836
2836
  "m" + (e.case_insensitive ? "i" : "") + (l ? "g" : "")
2837
2837
  );
2838
2838
  }
@@ -2904,19 +2904,19 @@ function Mm(e, { plugins: t }) {
2904
2904
  [
2905
2905
  // do this early so compiler extensions generally don't have to worry about
2906
2906
  // the distinction between match/begin
2907
- Nm
2907
+ Sm
2908
2908
  ].forEach((f) => f(a, l)), e.compilerExtensions.forEach((f) => f(a, l)), a.__beforeBegin = null, [
2909
2909
  Tm,
2910
2910
  // do this later so compiler extensions that come earlier have access to the
2911
2911
  // raw array if they wanted to perhaps manipulate it, etc.
2912
2912
  _m,
2913
2913
  // default to 1 relevance if not specified
2914
- Sm
2914
+ Nm
2915
2915
  ].forEach((f) => f(a, l)), a.isCompiled = !0;
2916
2916
  let u = null;
2917
2917
  if (typeof a.keywords == "object" && (u = a.keywords.$pattern, delete a.keywords.$pattern), a.keywords && (a.keywords = wc(a.keywords, e.case_insensitive)), a.lexemes && u)
2918
2918
  throw new Error("ERR: Prefer `keywords.$pattern` to `mode.lexemes`, BOTH are not allowed. (see mode reference) ");
2919
- return u = u || a.lexemes || /\w+/, c.keywordPatternRe = n(u, !0), l && (a.begin || (a.begin = /\B|\b/), c.beginRe = n(a.begin), a.endSameAsBegin && (a.end = a.begin), !a.end && !a.endsWithParent && (a.end = /\B|\b/), a.end && (c.endRe = n(a.end)), c.terminatorEnd = Nn(a.end) || "", a.endsWithParent && l.terminatorEnd && (c.terminatorEnd += (a.end ? "|" : "") + l.terminatorEnd)), a.illegal && (c.illegalRe = n(
2919
+ return u = u || a.lexemes || /\w+/, c.keywordPatternRe = n(u, !0), l && (a.begin || (a.begin = /\B|\b/), c.beginRe = n(a.begin), a.endSameAsBegin && (a.end = a.begin), !a.end && !a.endsWithParent && (a.end = /\B|\b/), a.end && (c.endRe = n(a.end)), c.terminatorEnd = Sn(a.end) || "", a.endsWithParent && l.terminatorEnd && (c.terminatorEnd += (a.end ? "|" : "") + l.terminatorEnd)), a.illegal && (c.illegalRe = n(
2920
2920
  /** @type {RegExp | string} */
2921
2921
  a.illegal
2922
2922
  )), a.contains || (a.contains = []), a.contains = [].concat(...a.contains.map(function(f) {
@@ -3088,134 +3088,134 @@ const io = {}, zr = (e) => {
3088
3088
  let Y = "", Pe = "";
3089
3089
  typeof R == "object" ? (Y = T, U = R.ignoreIllegals, Pe = R.language, z = void 0) : (Fe("10.7.0", "highlight(lang, code, ...args) has been deprecated."), Fe("10.7.0", `Please use highlight(code, options) instead.
3090
3090
  https://github.com/highlightjs/highlight.js/issues/2277`), Pe = T, Y = R);
3091
- const he = {
3091
+ const fe = {
3092
3092
  code: Y,
3093
3093
  language: Pe
3094
3094
  };
3095
- ie("before:highlight", he);
3096
- const we = he.result ? he.result : d(he.language, he.code, U, z);
3097
- return we.code = he.code, ie("after:highlight", we), we;
3095
+ ie("before:highlight", fe);
3096
+ const we = fe.result ? fe.result : d(fe.language, fe.code, U, z);
3097
+ return we.code = fe.code, ie("after:highlight", we), we;
3098
3098
  }
3099
3099
  function d(T, R, U, z) {
3100
- function Y(S, M) {
3101
- const A = Me.case_insensitive ? M[0].toLowerCase() : M[0];
3102
- return Object.prototype.hasOwnProperty.call(S.keywords, A) && S.keywords[A];
3100
+ function Y(C, M) {
3101
+ const P = Me.case_insensitive ? M[0].toLowerCase() : M[0];
3102
+ return Object.prototype.hasOwnProperty.call(C.keywords, P) && C.keywords[P];
3103
3103
  }
3104
3104
  function Pe() {
3105
3105
  if (!$.keywords) {
3106
3106
  ee.addText(X);
3107
3107
  return;
3108
3108
  }
3109
- let S = 0;
3109
+ let C = 0;
3110
3110
  $.keywordPatternRe.lastIndex = 0;
3111
- let M = $.keywordPatternRe.exec(X), A = "";
3111
+ let M = $.keywordPatternRe.exec(X), P = "";
3112
3112
  for (; M; ) {
3113
- A += X.substring(S, M.index);
3114
- const C = Y($, M);
3115
- if (C) {
3116
- const [Z, st] = C;
3117
- if (ee.addText(A), A = "", j += st, Z.startsWith("_"))
3118
- A += M[0];
3113
+ P += X.substring(C, M.index);
3114
+ const N = Y($, M);
3115
+ if (N) {
3116
+ const [Z, st] = N;
3117
+ if (ee.addText(P), P = "", j += st, Z.startsWith("_"))
3118
+ P += M[0];
3119
3119
  else {
3120
3120
  const Rt = Me.classNameAliases[Z] || Z;
3121
3121
  ee.addKeyword(M[0], Rt);
3122
3122
  }
3123
3123
  } else
3124
- A += M[0];
3125
- S = $.keywordPatternRe.lastIndex, M = $.keywordPatternRe.exec(X);
3124
+ P += M[0];
3125
+ C = $.keywordPatternRe.lastIndex, M = $.keywordPatternRe.exec(X);
3126
3126
  }
3127
- A += X.substr(S), ee.addText(A);
3127
+ P += X.substr(C), ee.addText(P);
3128
3128
  }
3129
- function he() {
3129
+ function fe() {
3130
3130
  if (X === "") return;
3131
- let S = null;
3131
+ let C = null;
3132
3132
  if (typeof $.subLanguage == "string") {
3133
3133
  if (!t[$.subLanguage]) {
3134
3134
  ee.addText(X);
3135
3135
  return;
3136
3136
  }
3137
- S = d($.subLanguage, X, !0, me[$.subLanguage]), me[$.subLanguage] = /** @type {CompiledMode} */
3138
- S.top;
3137
+ C = d($.subLanguage, X, !0, me[$.subLanguage]), me[$.subLanguage] = /** @type {CompiledMode} */
3138
+ C.top;
3139
3139
  } else
3140
- S = p(X, $.subLanguage.length ? $.subLanguage : null);
3141
- $.relevance > 0 && (j += S.relevance), ee.addSublanguage(S.emitter, S.language);
3140
+ C = p(X, $.subLanguage.length ? $.subLanguage : null);
3141
+ $.relevance > 0 && (j += C.relevance), ee.addSublanguage(C.emitter, C.language);
3142
3142
  }
3143
3143
  function we() {
3144
- $.subLanguage != null ? he() : Pe(), X = "";
3144
+ $.subLanguage != null ? fe() : Pe(), X = "";
3145
3145
  }
3146
- function xe(S) {
3147
- return S.className && ee.openNode(Me.classNameAliases[S.className] || S.className), $ = Object.create(S, { parent: { value: $ } }), $;
3146
+ function xe(C) {
3147
+ return C.className && ee.openNode(Me.classNameAliases[C.className] || C.className), $ = Object.create(C, { parent: { value: $ } }), $;
3148
3148
  }
3149
- function De(S, M, A) {
3150
- let C = nm(S.endRe, A);
3151
- if (C) {
3152
- if (S["on:end"]) {
3153
- const Z = new to(S);
3154
- S["on:end"](M, Z), Z.isMatchIgnored && (C = !1);
3149
+ function De(C, M, P) {
3150
+ let N = nm(C.endRe, P);
3151
+ if (N) {
3152
+ if (C["on:end"]) {
3153
+ const Z = new to(C);
3154
+ C["on:end"](M, Z), Z.isMatchIgnored && (N = !1);
3155
3155
  }
3156
- if (C) {
3157
- for (; S.endsParent && S.parent; )
3158
- S = S.parent;
3159
- return S;
3156
+ if (N) {
3157
+ for (; C.endsParent && C.parent; )
3158
+ C = C.parent;
3159
+ return C;
3160
3160
  }
3161
3161
  }
3162
- if (S.endsWithParent)
3163
- return De(S.parent, M, A);
3162
+ if (C.endsWithParent)
3163
+ return De(C.parent, M, P);
3164
3164
  }
3165
- function rt(S) {
3166
- return $.matcher.regexIndex === 0 ? (X += S[0], 1) : (D = !0, 0);
3165
+ function rt(C) {
3166
+ return $.matcher.regexIndex === 0 ? (X += C[0], 1) : (D = !0, 0);
3167
3167
  }
3168
- function Mt(S) {
3169
- const M = S[0], A = S.rule, C = new to(A), Z = [A.__beforeBegin, A["on:begin"]];
3168
+ function Mt(C) {
3169
+ const M = C[0], P = C.rule, N = new to(P), Z = [P.__beforeBegin, P["on:begin"]];
3170
3170
  for (const st of Z)
3171
- if (st && (st(S, C), C.isMatchIgnored))
3171
+ if (st && (st(C, N), N.isMatchIgnored))
3172
3172
  return rt(M);
3173
- return A && A.endSameAsBegin && (A.endRe = Qp(M)), A.skip ? X += M : (A.excludeBegin && (X += M), we(), !A.returnBegin && !A.excludeBegin && (X = M)), xe(A), A.returnBegin ? 0 : M.length;
3173
+ return P && P.endSameAsBegin && (P.endRe = Qp(M)), P.skip ? X += M : (P.excludeBegin && (X += M), we(), !P.returnBegin && !P.excludeBegin && (X = M)), xe(P), P.returnBegin ? 0 : M.length;
3174
3174
  }
3175
- function ze(S) {
3176
- const M = S[0], A = R.substr(S.index), C = De($, S, A);
3177
- if (!C)
3175
+ function ze(C) {
3176
+ const M = C[0], P = R.substr(C.index), N = De($, C, P);
3177
+ if (!N)
3178
3178
  return ao;
3179
3179
  const Z = $;
3180
3180
  Z.skip ? X += M : (Z.returnEnd || Z.excludeEnd || (X += M), we(), Z.excludeEnd && (X = M));
3181
3181
  do
3182
3182
  $.className && ee.closeNode(), !$.skip && !$.subLanguage && (j += $.relevance), $ = $.parent;
3183
- while ($ !== C.parent);
3184
- return C.starts && (C.endSameAsBegin && (C.starts.endRe = C.endRe), xe(C.starts)), Z.returnEnd ? 0 : M.length;
3183
+ while ($ !== N.parent);
3184
+ return N.starts && (N.endSameAsBegin && (N.starts.endRe = N.endRe), xe(N.starts)), Z.returnEnd ? 0 : M.length;
3185
3185
  }
3186
3186
  function Kt() {
3187
- const S = [];
3187
+ const C = [];
3188
3188
  for (let M = $; M !== Me; M = M.parent)
3189
- M.className && S.unshift(M.className);
3190
- S.forEach((M) => ee.openNode(M));
3189
+ M.className && C.unshift(M.className);
3190
+ C.forEach((M) => ee.openNode(M));
3191
3191
  }
3192
3192
  let Ge = {};
3193
- function Ke(S, M) {
3194
- const A = M && M[0];
3195
- if (X += S, A == null)
3193
+ function Ke(C, M) {
3194
+ const P = M && M[0];
3195
+ if (X += C, P == null)
3196
3196
  return we(), 0;
3197
- if (Ge.type === "begin" && M.type === "end" && Ge.index === M.index && A === "") {
3197
+ if (Ge.type === "begin" && M.type === "end" && Ge.index === M.index && P === "") {
3198
3198
  if (X += R.slice(M.index, M.index + 1), !i) {
3199
- const C = new Error("0 width match regex");
3200
- throw C.languageName = T, C.badRule = Ge.rule, C;
3199
+ const N = new Error("0 width match regex");
3200
+ throw N.languageName = T, N.badRule = Ge.rule, N;
3201
3201
  }
3202
3202
  return 1;
3203
3203
  }
3204
3204
  if (Ge = M, M.type === "begin")
3205
3205
  return Mt(M);
3206
3206
  if (M.type === "illegal" && !U) {
3207
- const C = new Error('Illegal lexeme "' + A + '" for mode "' + ($.className || "<unnamed>") + '"');
3208
- throw C.mode = $, C;
3207
+ const N = new Error('Illegal lexeme "' + P + '" for mode "' + ($.className || "<unnamed>") + '"');
3208
+ throw N.mode = $, N;
3209
3209
  } else if (M.type === "end") {
3210
- const C = ze(M);
3211
- if (C !== ao)
3212
- return C;
3210
+ const N = ze(M);
3211
+ if (N !== ao)
3212
+ return N;
3213
3213
  }
3214
- if (M.type === "illegal" && A === "")
3214
+ if (M.type === "illegal" && P === "")
3215
3215
  return 1;
3216
3216
  if (_ > 1e5 && _ > M.index * 3)
3217
3217
  throw new Error("potential infinite loop, way more iterations than matches");
3218
- return X += A, A.length;
3218
+ return X += P, P.length;
3219
3219
  }
3220
3220
  const Me = ae(T);
3221
3221
  if (!Me)
@@ -3228,10 +3228,10 @@ https://github.com/highlightjs/highlight.js/issues/2277`), Pe = T, Y = R);
3228
3228
  try {
3229
3229
  for ($.matcher.considerAll(); ; ) {
3230
3230
  _++, D ? D = !1 : $.matcher.considerAll(), $.matcher.lastIndex = W;
3231
- const S = $.matcher.exec(R);
3232
- if (!S) break;
3233
- const M = R.substring(W, S.index), A = Ke(M, S);
3234
- W = S.index + A;
3231
+ const C = $.matcher.exec(R);
3232
+ if (!C) break;
3233
+ const M = R.substring(W, C.index), P = Ke(M, C);
3234
+ W = C.index + P;
3235
3235
  }
3236
3236
  return Ke(R.substr(W)), ee.closeAllNodes(), ee.finalize(), it = ee.toHTML(), {
3237
3237
  // avoid possible breakage with v10 clients expecting
@@ -3243,14 +3243,14 @@ https://github.com/highlightjs/highlight.js/issues/2277`), Pe = T, Y = R);
3243
3243
  emitter: ee,
3244
3244
  top: $
3245
3245
  };
3246
- } catch (S) {
3247
- if (S.message && S.message.includes("Illegal"))
3246
+ } catch (C) {
3247
+ if (C.message && C.message.includes("Illegal"))
3248
3248
  return {
3249
3249
  illegal: !0,
3250
3250
  illegalBy: {
3251
- msg: S.message,
3251
+ msg: C.message,
3252
3252
  context: R.slice(W - 100, W + 100),
3253
- mode: S.mode
3253
+ mode: C.mode
3254
3254
  },
3255
3255
  sofar: it,
3256
3256
  relevance: 0,
@@ -3265,9 +3265,9 @@ https://github.com/highlightjs/highlight.js/issues/2277`), Pe = T, Y = R);
3265
3265
  emitter: ee,
3266
3266
  language: T,
3267
3267
  top: $,
3268
- errorRaised: S
3268
+ errorRaised: C
3269
3269
  };
3270
- throw S;
3270
+ throw C;
3271
3271
  }
3272
3272
  }
3273
3273
  function h(T) {
@@ -3295,8 +3295,8 @@ https://github.com/highlightjs/highlight.js/issues/2277`), Pe = T, Y = R);
3295
3295
  return -1;
3296
3296
  }
3297
3297
  return 0;
3298
- }), [Pe, he] = Y, we = Pe;
3299
- return we.second_best = he, we;
3298
+ }), [Pe, fe] = Y, we = Pe;
3299
+ return we.second_best = fe, we;
3300
3300
  }
3301
3301
  function g(T) {
3302
3302
  return l.tabReplace || l.useBR ? T.replace(s, (R) => R === `
@@ -3346,9 +3346,9 @@ https://github.com/highlightjs/highlight.js/issues/2277`), Pe = T, Y = R);
3346
3346
  function E(T) {
3347
3347
  T.useBR && (Fe("10.3.0", "'useBR' will be removed entirely in v11.0"), Fe("10.3.0", "Please see https://github.com/highlightjs/highlight.js/issues/2559")), l = oo(l, T);
3348
3348
  }
3349
- const N = () => {
3350
- if (N.called) return;
3351
- N.called = !0, Fe("10.6.0", "initHighlighting() is deprecated. Use highlightAll() instead."), document.querySelectorAll("pre code").forEach(x);
3349
+ const S = () => {
3350
+ if (S.called) return;
3351
+ S.called = !0, Fe("10.6.0", "initHighlighting() is deprecated. Use highlightAll() instead."), document.querySelectorAll("pre code").forEach(x);
3352
3352
  };
3353
3353
  function L() {
3354
3354
  Fe("10.6.0", "initHighlightingOnLoad() is deprecated. Use highlightAll() instead."), V = !0;
@@ -3365,7 +3365,7 @@ https://github.com/highlightjs/highlight.js/issues/2277`), Pe = T, Y = R);
3365
3365
  V && G();
3366
3366
  }
3367
3367
  typeof window < "u" && window.addEventListener && window.addEventListener("DOMContentLoaded", H, !1);
3368
- function ue(T, R) {
3368
+ function ce(T, R) {
3369
3369
  let U = null;
3370
3370
  try {
3371
3371
  U = R(e);
@@ -3378,12 +3378,12 @@ https://github.com/highlightjs/highlight.js/issues/2277`), Pe = T, Y = R);
3378
3378
  }
3379
3379
  U.name || (U.name = T), t[T] = U, U.rawDefinition = R.bind(null, e), U.aliases && ve(U.aliases, { languageName: T });
3380
3380
  }
3381
- function de(T) {
3381
+ function ue(T) {
3382
3382
  delete t[T];
3383
3383
  for (const R of Object.keys(n))
3384
3384
  n[R] === T && delete n[R];
3385
3385
  }
3386
- function fe() {
3386
+ function de() {
3387
3387
  return Object.keys(t);
3388
3388
  }
3389
3389
  function pe(T) {
@@ -3440,11 +3440,11 @@ https://github.com/highlightjs/highlight.js/issues/2277`), Pe = T, Y = R);
3440
3440
  // TODO: Remove with v12 API
3441
3441
  highlightBlock: Oe,
3442
3442
  configure: E,
3443
- initHighlighting: N,
3443
+ initHighlighting: S,
3444
3444
  initHighlightingOnLoad: L,
3445
- registerLanguage: ue,
3446
- unregisterLanguage: de,
3447
- listLanguages: fe,
3445
+ registerLanguage: ce,
3446
+ unregisterLanguage: ue,
3447
+ listLanguages: de,
3448
3448
  getLanguage: ae,
3449
3449
  registerAliases: ve,
3450
3450
  requireLanguage: pe,
@@ -3622,7 +3622,7 @@ function eg() {
3622
3622
  }
3623
3623
  function _c() {
3624
3624
  }
3625
- function Nc(e) {
3625
+ function Sc(e) {
3626
3626
  return e ? typeof e == "string" ? e : e.source : null;
3627
3627
  }
3628
3628
  function lo(e) {
@@ -3632,10 +3632,10 @@ function tg(e) {
3632
3632
  return Lt("(", e, ")?");
3633
3633
  }
3634
3634
  function Lt(...e) {
3635
- return e.map((n) => Nc(n)).join("");
3635
+ return e.map((n) => Sc(n)).join("");
3636
3636
  }
3637
3637
  function ng(...e) {
3638
- return "(" + e.map((n) => Nc(n)).join("|") + ")";
3638
+ return "(" + e.map((n) => Sc(n)).join("|") + ")";
3639
3639
  }
3640
3640
  function rg(e) {
3641
3641
  const t = Lt(/[A-Z_]/, tg(/[A-Z0-9_.-]*:/), /[A-Z0-9_.-]*/), n = /[A-Za-z0-9._:-]+/, r = {
@@ -3979,7 +3979,7 @@ function lg(e) {
3979
3979
  };
3980
3980
  }
3981
3981
  var cg = lg;
3982
- const Sc = /* @__PURE__ */ ke(cg);
3982
+ const Nc = /* @__PURE__ */ ke(cg);
3983
3983
  function ug(e) {
3984
3984
  return e ? typeof e == "string" ? e : e.source : null;
3985
3985
  }
@@ -5088,7 +5088,7 @@ const Eg = /* @__PURE__ */ ke(xg), Tg = (e) => ({
5088
5088
  "ul",
5089
5089
  "var",
5090
5090
  "video"
5091
- ], Ng = [
5091
+ ], Sg = [
5092
5092
  "any-hover",
5093
5093
  "any-pointer",
5094
5094
  "aspect-ratio",
@@ -5123,7 +5123,7 @@ const Eg = /* @__PURE__ */ ke(xg), Tg = (e) => ({
5123
5123
  "max-width",
5124
5124
  "min-height",
5125
5125
  "max-height"
5126
- ], Sg = [
5126
+ ], Ng = [
5127
5127
  "active",
5128
5128
  "any-link",
5129
5129
  "blank",
@@ -5476,7 +5476,7 @@ function Rg(e) {
5476
5476
  className: "selector-pseudo",
5477
5477
  variants: [
5478
5478
  {
5479
- begin: ":(" + Sg.join("|") + ")"
5479
+ begin: ":(" + Ng.join("|") + ")"
5480
5480
  },
5481
5481
  {
5482
5482
  begin: "::(" + Cg.join("|") + ")"
@@ -5546,7 +5546,7 @@ function Rg(e) {
5546
5546
  keywords: {
5547
5547
  $pattern: /[a-z-]+/,
5548
5548
  keyword: i,
5549
- attribute: Ng.join(" ")
5549
+ attribute: Sg.join(" ")
5550
5550
  },
5551
5551
  contains: [
5552
5552
  {
@@ -6081,8 +6081,8 @@ function gi(...e) {
6081
6081
  }
6082
6082
  function Qg(e) {
6083
6083
  const t = (x, { after: E }) => {
6084
- const N = "</" + x[0].slice(1);
6085
- return x.input.indexOf(N, E) !== -1;
6084
+ const S = "</" + x[0].slice(1);
6085
+ return x.input.indexOf(S, E) !== -1;
6086
6086
  }, n = co, r = {
6087
6087
  begin: "<>",
6088
6088
  end: "</>"
@@ -6094,12 +6094,12 @@ function Qg(e) {
6094
6094
  * @param {CallbackResponse} response
6095
6095
  */
6096
6096
  isTrulyOpeningTag: (x, E) => {
6097
- const N = x[0].length + x.index, L = x.input[N];
6097
+ const S = x[0].length + x.index, L = x.input[S];
6098
6098
  if (L === "<") {
6099
6099
  E.ignoreMatch();
6100
6100
  return;
6101
6101
  }
6102
- L === ">" && (t(x, { after: N }) || E.ignoreMatch());
6102
+ L === ">" && (t(x, { after: S }) || E.ignoreMatch());
6103
6103
  }
6104
6104
  }, s = {
6105
6105
  $pattern: co,
@@ -7462,7 +7462,7 @@ function db(e) {
7462
7462
  };
7463
7463
  function y(v, { exceptions: w, when: x } = {}) {
7464
7464
  const E = x;
7465
- return w = w || [], v.map((N) => N.match(/\|\d+$/) || w.includes(N) ? N : E(N) ? `${N}|0` : N);
7465
+ return w = w || [], v.map((S) => S.match(/\|\d+$/) || w.includes(S) ? S : E(S) ? `${S}|0` : S);
7466
7466
  }
7467
7467
  return {
7468
7468
  name: "SQL",
@@ -7641,8 +7641,8 @@ function bi(...e) {
7641
7641
  }
7642
7642
  function vb(e) {
7643
7643
  const t = (x, { after: E }) => {
7644
- const N = "</" + x[0].slice(1);
7645
- return x.input.indexOf(N, E) !== -1;
7644
+ const S = "</" + x[0].slice(1);
7645
+ return x.input.indexOf(S, E) !== -1;
7646
7646
  }, n = ur, r = {
7647
7647
  begin: "<>",
7648
7648
  end: "</>"
@@ -7654,12 +7654,12 @@ function vb(e) {
7654
7654
  * @param {CallbackResponse} response
7655
7655
  */
7656
7656
  isTrulyOpeningTag: (x, E) => {
7657
- const N = x[0].length + x.index, L = x.input[N];
7657
+ const S = x[0].length + x.index, L = x.input[S];
7658
7658
  if (L === "<") {
7659
7659
  E.ignoreMatch();
7660
7660
  return;
7661
7661
  }
7662
- L === ">" && (t(x, { after: N }) || E.ignoreMatch());
7662
+ L === ">" && (t(x, { after: S }) || E.ignoreMatch());
7663
7663
  }
7664
7664
  }, s = {
7665
7665
  $pattern: ur,
@@ -8269,12 +8269,12 @@ const as = [
8269
8269
  "skew",
8270
8270
  "skewX",
8271
8271
  "skewY"
8272
- ], Gt = new Set(Ln), et = (e) => e * 1e3, lt = (e) => e / 1e3, Nb = {
8272
+ ], Gt = new Set(Ln), et = (e) => e * 1e3, lt = (e) => e / 1e3, Sb = {
8273
8273
  type: "spring",
8274
8274
  stiffness: 500,
8275
8275
  damping: 25,
8276
8276
  restSpeed: 10
8277
- }, Sb = (e) => ({
8277
+ }, Nb = (e) => ({
8278
8278
  type: "spring",
8279
8279
  stiffness: 550,
8280
8280
  damping: e === 0 ? 2 * Math.sqrt(550) : 30,
@@ -8286,7 +8286,7 @@ const as = [
8286
8286
  type: "keyframes",
8287
8287
  ease: [0.25, 0.1, 0.35, 1],
8288
8288
  duration: 0.3
8289
- }, Pb = (e, { keyframes: t }) => t.length > 2 ? Cb : Gt.has(e) ? e.startsWith("scale") ? Sb(t[1]) : Nb : Ab;
8289
+ }, Pb = (e, { keyframes: t }) => t.length > 2 ? Cb : Gt.has(e) ? e.startsWith("scale") ? Nb(t[1]) : Sb : Ab;
8290
8290
  function cs(e, t) {
8291
8291
  return e ? e[t] || e.default || e : void 0;
8292
8292
  }
@@ -8365,7 +8365,7 @@ function Rc(e, t) {
8365
8365
  };
8366
8366
  return { schedule: Yn.reduce((y, v) => {
8367
8367
  const w = o[v];
8368
- return y[v] = (x, E = !1, N = !1) => (n || p(), w.schedule(x, E, N)), y;
8368
+ return y[v] = (x, E = !1, S = !1) => (n || p(), w.schedule(x, E, S)), y;
8369
8369
  }, {}), cancel: (y) => {
8370
8370
  for (let v = 0; v < Yn.length; v++)
8371
8371
  o[Yn[v]].cancel(y);
@@ -9022,11 +9022,11 @@ function au(e) {
9022
9022
  t += n, r = e.next(t);
9023
9023
  return t >= _i ? 1 / 0 : t;
9024
9024
  }
9025
- const _y = ["duration", "bounce"], Ny = ["stiffness", "damping", "mass"];
9025
+ const _y = ["duration", "bounce"], Sy = ["stiffness", "damping", "mass"];
9026
9026
  function To(e, t) {
9027
9027
  return t.some((n) => e[n] !== void 0);
9028
9028
  }
9029
- function Sy(e) {
9029
+ function Ny(e) {
9030
9030
  let t = {
9031
9031
  velocity: ne.velocity,
9032
9032
  stiffness: ne.stiffness,
@@ -9035,7 +9035,7 @@ function Sy(e) {
9035
9035
  isResolvedFromDuration: !1,
9036
9036
  ...e
9037
9037
  };
9038
- if (!To(e, Ny) && To(e, _y))
9038
+ if (!To(e, Sy) && To(e, _y))
9039
9039
  if (e.visualDuration) {
9040
9040
  const n = e.visualDuration, r = 2 * Math.PI / (n * 1.2), i = r * r, s = 2 * ht(0.05, 1, 1 - e.bounce) * Math.sqrt(i);
9041
9041
  t = {
@@ -9061,7 +9061,7 @@ function lu(e = ne.visualDuration, t = ne.bounce) {
9061
9061
  bounce: t
9062
9062
  } : e;
9063
9063
  let { restSpeed: r, restDelta: i } = n;
9064
- const s = n.keyframes[0], o = n.keyframes[n.keyframes.length - 1], a = { done: !1, value: s }, { stiffness: l, damping: c, mass: u, duration: f, velocity: d, isResolvedFromDuration: h } = Sy({
9064
+ const s = n.keyframes[0], o = n.keyframes[n.keyframes.length - 1], a = { done: !1, value: s }, { stiffness: l, damping: c, mass: u, duration: f, velocity: d, isResolvedFromDuration: h } = Ny({
9065
9065
  ...n,
9066
9066
  velocity: -lt(n.velocity || 0)
9067
9067
  }), p = d || 0, g = c / (2 * Math.sqrt(l * u)), b = o - s, y = lt(Math.sqrt(l / u)), v = Math.abs(b) < 5;
@@ -9069,36 +9069,36 @@ function lu(e = ne.visualDuration, t = ne.bounce) {
9069
9069
  let w;
9070
9070
  if (g < 1) {
9071
9071
  const E = Ti(y, g);
9072
- w = (N) => {
9073
- const L = Math.exp(-g * y * N);
9074
- return o - L * ((p + g * y * b) / E * Math.sin(E * N) + b * Math.cos(E * N));
9072
+ w = (S) => {
9073
+ const L = Math.exp(-g * y * S);
9074
+ return o - L * ((p + g * y * b) / E * Math.sin(E * S) + b * Math.cos(E * S));
9075
9075
  };
9076
9076
  } else if (g === 1)
9077
9077
  w = (E) => o - Math.exp(-y * E) * (b + (p + y * b) * E);
9078
9078
  else {
9079
9079
  const E = y * Math.sqrt(g * g - 1);
9080
- w = (N) => {
9081
- const L = Math.exp(-g * y * N), V = Math.min(E * N, 300);
9080
+ w = (S) => {
9081
+ const L = Math.exp(-g * y * S), V = Math.min(E * S, 300);
9082
9082
  return o - L * ((p + g * y * b) * Math.sinh(V) + E * b * Math.cosh(V)) / E;
9083
9083
  };
9084
9084
  }
9085
9085
  const x = {
9086
9086
  calculatedDuration: h && f || null,
9087
9087
  next: (E) => {
9088
- const N = w(E);
9088
+ const S = w(E);
9089
9089
  if (h)
9090
9090
  a.done = E >= f;
9091
9091
  else {
9092
9092
  let L = 0;
9093
- g < 1 && (L = E === 0 ? et(p) : ou(w, E, N));
9094
- const V = Math.abs(L) <= r, G = Math.abs(o - N) <= i;
9093
+ g < 1 && (L = E === 0 ? et(p) : ou(w, E, S));
9094
+ const V = Math.abs(L) <= r, G = Math.abs(o - S) <= i;
9095
9095
  a.done = V && G;
9096
9096
  }
9097
- return a.value = a.done ? o : N, a;
9097
+ return a.value = a.done ? o : S, a;
9098
9098
  },
9099
9099
  toString: () => {
9100
- const E = Math.min(au(x), _i), N = iu((L) => x.next(E * L).value, E, 30);
9101
- return E + "ms " + N;
9100
+ const E = Math.min(au(x), _i), S = iu((L) => x.next(E * L).value, E, 30);
9101
+ return E + "ms " + S;
9102
9102
  }
9103
9103
  };
9104
9104
  return x;
@@ -9115,9 +9115,9 @@ function _o({ keyframes: e, velocity: t = 0, power: n = 0.8, timeConstant: r = 3
9115
9115
  const G = v(V), H = w(V);
9116
9116
  d.done = Math.abs(G) <= c, d.value = d.done ? y : H;
9117
9117
  };
9118
- let E, N;
9118
+ let E, S;
9119
9119
  const L = (V) => {
9120
- h(d.value) && (E = V, N = lu({
9120
+ h(d.value) && (E = V, S = lu({
9121
9121
  keyframes: [d.value, p(d.value)],
9122
9122
  velocity: ou(w, V, d.value),
9123
9123
  // TODO: This should be passing * 1000
@@ -9131,11 +9131,11 @@ function _o({ keyframes: e, velocity: t = 0, power: n = 0.8, timeConstant: r = 3
9131
9131
  calculatedDuration: null,
9132
9132
  next: (V) => {
9133
9133
  let G = !1;
9134
- return !N && E === void 0 && (G = !0, x(V), L(V)), E !== void 0 && V >= E ? N.next(V - E) : (!G && x(V), d);
9134
+ return !S && E === void 0 && (G = !0, x(V), L(V)), E !== void 0 && V >= E ? S.next(V - E) : (!G && x(V), d);
9135
9135
  }
9136
9136
  };
9137
9137
  }
9138
- const Cy = /* @__PURE__ */ Vn(0.42, 0, 1, 1), Ay = /* @__PURE__ */ Vn(0, 0, 0.58, 1), cu = /* @__PURE__ */ Vn(0.42, 0, 0.58, 1), Py = (e) => Array.isArray(e) && typeof e[0] != "number", vs = (e) => Array.isArray(e) && typeof e[0] == "number", No = {
9138
+ const Cy = /* @__PURE__ */ Vn(0.42, 0, 1, 1), Ay = /* @__PURE__ */ Vn(0, 0, 0.58, 1), cu = /* @__PURE__ */ Vn(0.42, 0, 0.58, 1), Py = (e) => Array.isArray(e) && typeof e[0] != "number", vs = (e) => Array.isArray(e) && typeof e[0] == "number", So = {
9139
9139
  linear: ye,
9140
9140
  easeIn: Cy,
9141
9141
  easeInOut: cu,
@@ -9147,13 +9147,13 @@ const Cy = /* @__PURE__ */ Vn(0.42, 0, 1, 1), Ay = /* @__PURE__ */ Vn(0, 0, 0.58
9147
9147
  backInOut: Vc,
9148
9148
  backOut: Lc,
9149
9149
  anticipate: Bc
9150
- }, So = (e) => {
9150
+ }, No = (e) => {
9151
9151
  if (vs(e)) {
9152
9152
  ft(e.length === 4, "Cubic bezier arrays must contain four numerical values.");
9153
9153
  const [t, n, r, i] = e;
9154
9154
  return Vn(t, n, r, i);
9155
9155
  } else if (typeof e == "string")
9156
- return ft(No[e] !== void 0, `Invalid easing type '${e}'`), No[e];
9156
+ return ft(So[e] !== void 0, `Invalid easing type '${e}'`), So[e];
9157
9157
  return e;
9158
9158
  }, Oy = (e, t) => (n) => t(e(n)), ct = (...e) => e.reduce(Oy), re = (e, t, n) => e + (t - e) * n;
9159
9159
  function Xr(e, t, n) {
@@ -9195,9 +9195,9 @@ const Ao = (e, t) => {
9195
9195
  return dr(e, t);
9196
9196
  const i = { ...n };
9197
9197
  return (s) => (i.red = Zr(n.red, r.red, s), i.green = Zr(n.green, r.green, s), i.blue = Zr(n.blue, r.blue, s), i.alpha = re(n.alpha, r.alpha, s), Vt.transform(i));
9198
- }, Ni = /* @__PURE__ */ new Set(["none", "hidden"]);
9198
+ }, Si = /* @__PURE__ */ new Set(["none", "hidden"]);
9199
9199
  function Iy(e, t) {
9200
- return Ni.has(e) ? (n) => n <= 0 ? e : t : (n) => n >= 1 ? t : e;
9200
+ return Si.has(e) ? (n) => n <= 0 ? e : t : (n) => n >= 1 ? t : e;
9201
9201
  }
9202
9202
  function ky(e, t) {
9203
9203
  return (n) => re(e, t, n);
@@ -9234,7 +9234,7 @@ function Vy(e, t) {
9234
9234
  }
9235
9235
  const By = (e, t) => {
9236
9236
  const n = Et.createTransformer(t), r = Pn(e), i = Pn(t);
9237
- return r.indexes.var.length === i.indexes.var.length && r.indexes.color.length === i.indexes.color.length && r.indexes.number.length >= i.indexes.number.length ? Ni.has(e) && !i.values.length || Ni.has(t) && !r.values.length ? Iy(e, t) : ct(uu(Vy(r, i), i.values), n) : (dn(!0, `Complex values '${e}' and '${t}' too different to mix. Ensure all colors are of the same type, and that each contains the same quantity of number and color values. Falling back to instant transition.`), dr(e, t));
9237
+ return r.indexes.var.length === i.indexes.var.length && r.indexes.color.length === i.indexes.color.length && r.indexes.number.length >= i.indexes.number.length ? Si.has(e) && !i.values.length || Si.has(t) && !r.values.length ? Iy(e, t) : ct(uu(Vy(r, i), i.values), n) : (dn(!0, `Complex values '${e}' and '${t}' too different to mix. Ensure all colors are of the same type, and that each contains the same quantity of number and color values. Falling back to instant transition.`), dr(e, t));
9238
9238
  };
9239
9239
  function du(e, t, n) {
9240
9240
  return typeof e == "number" && typeof t == "number" && typeof n == "number" ? re(e, t, n) : ws(e)(e, t);
@@ -9286,7 +9286,7 @@ function zy(e, t) {
9286
9286
  return e.map(() => t || cu).splice(0, e.length - 1);
9287
9287
  }
9288
9288
  function fr({ duration: e = 300, keyframes: t, times: n, ease: r = "easeInOut" }) {
9289
- const i = Py(r) ? r.map(So) : So(r), s = {
9289
+ const i = Py(r) ? r.map(No) : No(r), s = {
9290
9290
  done: !1,
9291
9291
  value: t[0]
9292
9292
  }, o = Wy(
@@ -9380,9 +9380,9 @@ class xs extends ru {
9380
9380
  }
9381
9381
  const E = v ? { done: !1, value: l[0] } : x.next(w);
9382
9382
  a && (E.value = a(E.value));
9383
- let { done: N } = E;
9384
- !v && c !== null && (N = this.speed >= 0 ? this.currentTime >= u : this.currentTime <= 0);
9385
- const L = this.holdTime === null && (this.state === "finished" || this.state === "running" && N);
9383
+ let { done: S } = E;
9384
+ !v && c !== null && (S = this.speed >= 0 ? this.currentTime >= u : this.currentTime <= 0);
9385
+ const L = this.holdTime === null && (this.state === "finished" || this.state === "running" && S);
9386
9386
  return L && i !== void 0 && (E.value = Rr(l, this.options, i)), b && b(E.value), L && this.finish(), E;
9387
9387
  }
9388
9388
  get duration() {
@@ -9475,9 +9475,9 @@ const hr = /* @__PURE__ */ Xy(() => {
9475
9475
  return !0;
9476
9476
  }, "linearEasing");
9477
9477
  function fu(e) {
9478
- return !!(typeof e == "function" && hr() || !e || typeof e == "string" && (e in Si || hr()) || vs(e) || Array.isArray(e) && e.every(fu));
9478
+ return !!(typeof e == "function" && hr() || !e || typeof e == "string" && (e in Ni || hr()) || vs(e) || Array.isArray(e) && e.every(fu));
9479
9479
  }
9480
- const yn = ([e, t, n, r]) => `cubic-bezier(${e}, ${t}, ${n}, ${r})`, Si = {
9480
+ const yn = ([e, t, n, r]) => `cubic-bezier(${e}, ${t}, ${n}, ${r})`, Ni = {
9481
9481
  linear: "linear",
9482
9482
  ease: "ease",
9483
9483
  easeIn: "ease-in",
@@ -9490,7 +9490,7 @@ const yn = ([e, t, n, r]) => `cubic-bezier(${e}, ${t}, ${n}, ${r})`, Si = {
9490
9490
  };
9491
9491
  function hu(e, t) {
9492
9492
  if (e)
9493
- return typeof e == "function" && hr() ? iu(e, t) : vs(e) ? yn(e) : Array.isArray(e) ? e.map((n) => hu(n, t) || Si.easeOut) : Si[e];
9493
+ return typeof e == "function" && hr() ? iu(e, t) : vs(e) ? yn(e) : Array.isArray(e) ? e.map((n) => hu(n, t) || Ni.easeOut) : Ni[e];
9494
9494
  }
9495
9495
  function Zy(e, t, n, { delay: r = 0, duration: i = 300, repeat: s = 0, repeatType: o = "loop", ease: a = "easeInOut", times: l } = {}) {
9496
9496
  const c = { [t]: n };
@@ -9797,16 +9797,16 @@ const Ts = (e, t, n, r = {}, i, s) => (o) => {
9797
9797
  function _s(e, t) {
9798
9798
  e.indexOf(t) === -1 && e.push(t);
9799
9799
  }
9800
- function Ns(e, t) {
9800
+ function Ss(e, t) {
9801
9801
  const n = e.indexOf(t);
9802
9802
  n > -1 && e.splice(n, 1);
9803
9803
  }
9804
- class Ss {
9804
+ class Ns {
9805
9805
  constructor() {
9806
9806
  this.subscriptions = [];
9807
9807
  }
9808
9808
  add(t) {
9809
- return _s(this.subscriptions, t), () => Ns(this.subscriptions, t);
9809
+ return _s(this.subscriptions, t), () => Ss(this.subscriptions, t);
9810
9810
  }
9811
9811
  notify(t, n, r) {
9812
9812
  const i = this.subscriptions.length;
@@ -9892,7 +9892,7 @@ class cv {
9892
9892
  return process.env.NODE_ENV !== "production" && Pr(!1, 'value.onChange(callback) is deprecated. Switch to value.on("change", callback).'), this.on("change", t);
9893
9893
  }
9894
9894
  on(t, n) {
9895
- this.events[t] || (this.events[t] = new Ss());
9895
+ this.events[t] || (this.events[t] = new Ns());
9896
9896
  const r = this.events[t].add(n);
9897
9897
  return t === "change" ? () => {
9898
9898
  r(), Q.read(() => {
@@ -10040,9 +10040,9 @@ const Cs = (e) => e.replace(/([a-z])([A-Z])/gu, "$1-$2").toLowerCase(), fv = "fr
10040
10040
  function gu(e) {
10041
10041
  return e.props[mu];
10042
10042
  }
10043
- const Ne = (e) => !!(e && e.getVelocity);
10043
+ const Se = (e) => !!(e && e.getVelocity);
10044
10044
  function hv(e) {
10045
- return !!(Ne(e) && e.add);
10045
+ return !!(Se(e) && e.add);
10046
10046
  }
10047
10047
  function Ci(e, t) {
10048
10048
  const n = e.getValue("willChange");
@@ -10166,35 +10166,35 @@ function Ev(e) {
10166
10166
  for (let b = 0; b < wv; b++) {
10167
10167
  const y = vv[b], v = n[y], w = c[y] !== void 0 ? c[y] : u[y], x = Cn(w), E = y === l ? v.isActive : null;
10168
10168
  E === !1 && (p = b);
10169
- let N = w === u[y] && w !== c[y] && x;
10170
- if (N && r && e.manuallyAnimateOnMount && (N = !1), v.protectedKeys = { ...h }, // If it isn't active and hasn't *just* been set as inactive
10169
+ let S = w === u[y] && w !== c[y] && x;
10170
+ if (S && r && e.manuallyAnimateOnMount && (S = !1), v.protectedKeys = { ...h }, // If it isn't active and hasn't *just* been set as inactive
10171
10171
  !v.isActive && E === null || // If we didn't and don't have any defined prop for this animation type
10172
10172
  !w && !v.prevProp || // Or if the prop doesn't define an animation
10173
10173
  Or(w) || typeof w == "boolean")
10174
10174
  continue;
10175
10175
  const L = Tv(v.prevProp, w);
10176
10176
  let V = L || // If we're making this variant active, we want to always make it active
10177
- y === l && v.isActive && !N && x || // If we removed a higher-priority variant (i is in reverse order)
10177
+ y === l && v.isActive && !S && x || // If we removed a higher-priority variant (i is in reverse order)
10178
10178
  b > p && x, G = !1;
10179
10179
  const H = Array.isArray(w) ? w : [w];
10180
- let ue = H.reduce(i(y), {});
10181
- E === !1 && (ue = {});
10182
- const { prevResolvedValues: de = {} } = v, fe = {
10183
- ...de,
10184
- ...ue
10180
+ let ce = H.reduce(i(y), {});
10181
+ E === !1 && (ce = {});
10182
+ const { prevResolvedValues: ue = {} } = v, de = {
10183
+ ...ue,
10184
+ ...ce
10185
10185
  }, pe = (q) => {
10186
10186
  V = !0, d.has(q) && (G = !0, d.delete(q)), v.needsAnimating[q] = !0;
10187
10187
  const te = e.getValue(q);
10188
10188
  te && (te.liveStyle = !1);
10189
10189
  };
10190
- for (const q in fe) {
10191
- const te = ue[q], le = de[q];
10190
+ for (const q in de) {
10191
+ const te = ce[q], le = ue[q];
10192
10192
  if (h.hasOwnProperty(q))
10193
10193
  continue;
10194
10194
  let ie = !1;
10195
10195
  yi(te) && yi(le) ? ie = !Mc(te, le) : ie = te !== le, ie ? te != null ? pe(q) : d.add(q) : te !== void 0 && d.has(q) ? pe(q) : v.protectedKeys[q] = !0;
10196
10196
  }
10197
- v.prevProp = w, v.prevResolvedValues = ue, v.isActive && (h = { ...h, ...ue }), r && e.blockInitialAnimation && (V = !1), V && (!(N && L) || G) && f.push(...H.map((q) => ({
10197
+ v.prevProp = w, v.prevResolvedValues = ce, v.isActive && (h = { ...h, ...ce }), r && e.blockInitialAnimation && (V = !1), V && (!(S && L) || G) && f.push(...H.map((q) => ({
10198
10198
  animation: q,
10199
10199
  options: { type: y }
10200
10200
  })));
@@ -10289,10 +10289,10 @@ class _v extends Ot {
10289
10289
  this.node.animationState.reset(), (t = this.unmountControls) === null || t === void 0 || t.call(this);
10290
10290
  }
10291
10291
  }
10292
- let Nv = 0;
10293
- class Sv extends Ot {
10292
+ let Sv = 0;
10293
+ class Nv extends Ot {
10294
10294
  constructor() {
10295
- super(...arguments), this.id = Nv++;
10295
+ super(...arguments), this.id = Sv++;
10296
10296
  }
10297
10297
  update() {
10298
10298
  if (!this.node.presenceContext)
@@ -10315,7 +10315,7 @@ const Cv = {
10315
10315
  Feature: _v
10316
10316
  },
10317
10317
  exit: {
10318
- Feature: Sv
10318
+ Feature: Nv
10319
10319
  }
10320
10320
  }, vu = (e) => e.pointerType === "mouse" ? typeof e.button != "number" || e.button <= 0 : e.isPrimary !== !1;
10321
10321
  function Dr(e, t = "page") {
@@ -10443,7 +10443,7 @@ function _u() {
10443
10443
  function Qt(e) {
10444
10444
  return e && typeof e == "object" && Object.prototype.hasOwnProperty.call(e, "current");
10445
10445
  }
10446
- const Nu = 1e-4, Rv = 1 - Nu, Dv = 1 + Nu, Su = 0.01, Iv = 0 - Su, kv = 0 + Su;
10446
+ const Su = 1e-4, Rv = 1 - Su, Dv = 1 + Su, Nu = 0.01, Iv = 0 - Nu, kv = 0 + Nu;
10447
10447
  function Ie(e) {
10448
10448
  return e.max - e.min;
10449
10449
  }
@@ -11086,7 +11086,7 @@ class f0 {
11086
11086
  _s(this.members, t), t.scheduleRender();
11087
11087
  }
11088
11088
  remove(t) {
11089
- if (Ns(this.members, t), t === this.prevLead && (this.prevLead = void 0), t === this.lead) {
11089
+ if (Ss(this.members, t), t === this.prevLead && (this.prevLead = void 0), t === this.lead) {
11090
11090
  const n = this.members[this.members.length - 1];
11091
11091
  n && this.promote(n);
11092
11092
  }
@@ -11151,14 +11151,14 @@ class m0 {
11151
11151
  _s(this.children, t), this.isDirty = !0;
11152
11152
  }
11153
11153
  remove(t) {
11154
- Ns(this.children, t), this.isDirty = !0;
11154
+ Ss(this.children, t), this.isDirty = !0;
11155
11155
  }
11156
11156
  forEach(t) {
11157
11157
  this.isDirty && this.children.sort(p0), this.isDirty = !1, this.children.forEach(t);
11158
11158
  }
11159
11159
  }
11160
11160
  function ir(e) {
11161
- const t = Ne(e) ? e.get() : e;
11161
+ const t = Se(e) ? e.get() : e;
11162
11162
  return ov(t) ? t.toValue() : t;
11163
11163
  }
11164
11164
  function g0(e, t) {
@@ -11172,7 +11172,7 @@ function b0(e) {
11172
11172
  return e instanceof SVGElement && e.tagName !== "svg";
11173
11173
  }
11174
11174
  function y0(e, t, n) {
11175
- const r = Ne(e) ? e : On(e);
11175
+ const r = Se(e) ? e : On(e);
11176
11176
  return r.start(Ts("", r, t, n)), r.animation;
11177
11177
  }
11178
11178
  const kt = {
@@ -11213,7 +11213,7 @@ function Fu({ attachResizeListener: e, defaultParent: t, measureScroll: n, check
11213
11213
  this.root === this && (this.nodes = new m0());
11214
11214
  }
11215
11215
  addEventListener(o, a) {
11216
- return this.eventHandlers.has(o) || this.eventHandlers.set(o, new Ss()), this.eventHandlers.get(o).add(a);
11216
+ return this.eventHandlers.has(o) || this.eventHandlers.set(o, new Ns()), this.eventHandlers.get(o).add(a);
11217
11217
  }
11218
11218
  notifyListeners(o, ...a) {
11219
11219
  const l = this.eventHandlers.get(o);
@@ -11305,7 +11305,7 @@ function Fu({ attachResizeListener: e, defaultParent: t, measureScroll: n, check
11305
11305
  this.unblockUpdate(), this.clearAllSnapshots(), this.nodes.forEach(ha);
11306
11306
  return;
11307
11307
  }
11308
- this.isUpdating || this.nodes.forEach(S0), this.isUpdating = !1, this.nodes.forEach(C0), this.nodes.forEach(x0), this.nodes.forEach(E0), this.clearAllSnapshots();
11308
+ this.isUpdating || this.nodes.forEach(N0), this.isUpdating = !1, this.nodes.forEach(C0), this.nodes.forEach(x0), this.nodes.forEach(E0), this.clearAllSnapshots();
11309
11309
  const a = nt.now();
11310
11310
  ge.delta = ht(0, 1e3 / 60, a - ge.timestamp), ge.timestamp = a, ge.isProcessing = !0, Hr.update.process(ge), Hr.preRender.process(ge), Hr.render.process(ge), ge.isProcessing = !1;
11311
11311
  }
@@ -11313,7 +11313,7 @@ function Fu({ attachResizeListener: e, defaultParent: t, measureScroll: n, check
11313
11313
  this.updateScheduled || (this.updateScheduled = !0, Ps.read(this.scheduleUpdate));
11314
11314
  }
11315
11315
  clearAllSnapshots() {
11316
- this.nodes.forEach(N0), this.sharedNodes.forEach(M0);
11316
+ this.nodes.forEach(S0), this.sharedNodes.forEach(M0);
11317
11317
  }
11318
11318
  scheduleUpdateProjection() {
11319
11319
  this.projectionUpdateScheduled || (this.projectionUpdateScheduled = !0, Q.preRender(this.updateProjection, !1, !0));
@@ -11696,13 +11696,13 @@ function T0(e) {
11696
11696
  function _0(e) {
11697
11697
  e.isProjectionDirty = e.isSharedProjectionDirty = e.isTransformDirty = !1;
11698
11698
  }
11699
- function N0(e) {
11699
+ function S0(e) {
11700
11700
  e.clearSnapshot();
11701
11701
  }
11702
11702
  function ha(e) {
11703
11703
  e.clearMeasurements();
11704
11704
  }
11705
- function S0(e) {
11705
+ function N0(e) {
11706
11706
  e.isLayoutDirty = !1;
11707
11707
  }
11708
11708
  function C0(e) {
@@ -12110,7 +12110,7 @@ function iw({ preloadedFeatures: e, createVisualElement: t, useRender: n, useVis
12110
12110
  const p = aw(u);
12111
12111
  c = p.MeasureLayout, d.visualElement = Z0(i, h, u, t, p.ProjectionNode);
12112
12112
  }
12113
- return P(kr.Provider, { value: d, children: [c && d.visualElement ? m(c, { visualElement: d.visualElement, ...u }) : null, n(i, a, J0(h, d.visualElement, l), h, f, d.visualElement)] });
12113
+ return O(kr.Provider, { value: d, children: [c && d.visualElement ? m(c, { visualElement: d.visualElement, ...u }) : null, n(i, a, J0(h, d.visualElement, l), h, f, d.visualElement)] });
12114
12114
  }
12115
12115
  const o = Kd(s);
12116
12116
  return o[rw] = i, o;
@@ -12225,13 +12225,13 @@ function Ds(e, t, n) {
12225
12225
  var r;
12226
12226
  const { style: i } = e, s = {};
12227
12227
  for (const o in i)
12228
- (Ne(i[o]) || t.style && Ne(t.style[o]) || Xu(o, e) || ((r = n == null ? void 0 : n.getValue(o)) === null || r === void 0 ? void 0 : r.liveStyle) !== void 0) && (s[o] = i[o]);
12228
+ (Se(i[o]) || t.style && Se(t.style[o]) || Xu(o, e) || ((r = n == null ? void 0 : n.getValue(o)) === null || r === void 0 ? void 0 : r.liveStyle) !== void 0) && (s[o] = i[o]);
12229
12229
  return s;
12230
12230
  }
12231
12231
  function Zu(e, t, n) {
12232
12232
  const r = Ds(e, t, n);
12233
12233
  for (const i in e)
12234
- if (Ne(e[i]) || Ne(t[i])) {
12234
+ if (Se(e[i]) || Se(t[i])) {
12235
12235
  const s = Ln.indexOf(i) !== -1 ? "attr" + i.charAt(0).toUpperCase() + i.substring(1) : i;
12236
12236
  r[s] = e[i];
12237
12237
  }
@@ -12407,7 +12407,7 @@ const Bs = (e) => typeof e == "string" && e.toLowerCase() === "svg", yw = {
12407
12407
  };
12408
12408
  function td(e, t, n) {
12409
12409
  for (const r in t)
12410
- !Ne(t[r]) && !Xu(r, n) && (e[r] = t[r]);
12410
+ !Se(t[r]) && !Xu(r, n) && (e[r] = t[r]);
12411
12411
  }
12412
12412
  function ww({ transformTemplate: e }, t) {
12413
12413
  return $t(() => {
@@ -12466,14 +12466,14 @@ try {
12466
12466
  _w(require("@emotion/is-prop-valid").default);
12467
12467
  } catch {
12468
12468
  }
12469
- function Nw(e, t, n) {
12469
+ function Sw(e, t, n) {
12470
12470
  const r = {};
12471
12471
  for (const i in e)
12472
12472
  i === "values" && typeof e.values == "object" || (nd(i) || n === !0 && br(i) || !t && !br(i) || // If trying to use native HTML drag events, forward drag listeners
12473
12473
  e.draggable && i.startsWith("onDrag")) && (r[i] = e[i]);
12474
12474
  return r;
12475
12475
  }
12476
- function Sw(e, t, n, r) {
12476
+ function Nw(e, t, n, r) {
12477
12477
  const i = $t(() => {
12478
12478
  const s = Ju();
12479
12479
  return Vs(s, t, Bs(r), e.transformTemplate), {
@@ -12489,7 +12489,7 @@ function Sw(e, t, n, r) {
12489
12489
  }
12490
12490
  function Cw(e = !1) {
12491
12491
  return (n, r, i, { latestValues: s }, o) => {
12492
- const l = (Rs(n) ? Sw : Ew)(r, s, o, n), c = Nw(r, typeof n == "string", e), u = n !== La ? { ...c, ...l, ref: i } : {}, { children: f } = r, d = $t(() => Ne(f) ? f.get() : f, [f]);
12492
+ const l = (Rs(n) ? Nw : Ew)(r, s, o, n), c = Sw(r, typeof n == "string", e), u = n !== La ? { ...c, ...l, ref: i } : {}, { children: f } = r, d = $t(() => Se(f) ? f.get() : f, [f]);
12493
12493
  return Hd(n, {
12494
12494
  ...u,
12495
12495
  children: d
@@ -12520,9 +12520,9 @@ function Pw() {
12520
12520
  function Ow(e, t, n) {
12521
12521
  for (const r in t) {
12522
12522
  const i = t[r], s = n[r];
12523
- if (Ne(i))
12523
+ if (Se(i))
12524
12524
  e.addValue(r, i), process.env.NODE_ENV === "development" && Pr(i.version === "11.12.0", `Attempting to mix Motion versions ${i.version} with 11.12.0 may not work as expected.`);
12525
- else if (Ne(s))
12525
+ else if (Se(s))
12526
12526
  e.addValue(r, On(i, { owner: e }));
12527
12527
  else if (s !== i)
12528
12528
  if (e.hasValue(r)) {
@@ -12537,7 +12537,7 @@ function Ow(e, t, n) {
12537
12537
  t[r] === void 0 && e.removeValue(r);
12538
12538
  return t;
12539
12539
  }
12540
- const _a = /* @__PURE__ */ new WeakMap(), Mw = [...Hc, Ee, Et], Rw = (e) => Mw.find(Kc(e)), Na = [
12540
+ const _a = /* @__PURE__ */ new WeakMap(), Mw = [...Hc, Ee, Et], Rw = (e) => Mw.find(Kc(e)), Sa = [
12541
12541
  "AnimationStart",
12542
12542
  "AnimationComplete",
12543
12543
  "Update",
@@ -12569,7 +12569,7 @@ class Dw {
12569
12569
  const { willChange: u, ...f } = this.scrapeMotionValuesFromProps(n, {}, this);
12570
12570
  for (const d in f) {
12571
12571
  const h = f[d];
12572
- l[d] !== void 0 && Ne(h) && h.set(l[d], !1);
12572
+ l[d] !== void 0 && Se(h) && h.set(l[d], !1);
12573
12573
  }
12574
12574
  }
12575
12575
  mount(t) {
@@ -12634,8 +12634,8 @@ class Dw {
12634
12634
  */
12635
12635
  update(t, n) {
12636
12636
  (t.transformTemplate || this.props.transformTemplate) && this.scheduleRender(), this.prevProps = this.props, this.props = t, this.prevPresenceContext = this.presenceContext, this.presenceContext = n;
12637
- for (let r = 0; r < Na.length; r++) {
12638
- const i = Na[r];
12637
+ for (let r = 0; r < Sa.length; r++) {
12638
+ const i = Sa[r];
12639
12639
  this.propEventSubscriptions[i] && (this.propEventSubscriptions[i](), delete this.propEventSubscriptions[i]);
12640
12640
  const s = "on" + i, o = t[s];
12641
12641
  o && (this.propEventSubscriptions[i] = this.on(i, o));
@@ -12706,7 +12706,7 @@ class Dw {
12706
12706
  readValue(t, n) {
12707
12707
  var r;
12708
12708
  let i = this.latestValues[t] !== void 0 || !this.current ? this.latestValues[t] : (r = this.getBaseTargetFromProps(this.props, t)) !== null && r !== void 0 ? r : this.readValueFromInstance(this.current, t, this.options);
12709
- return i != null && (typeof i == "string" && (jc(i) || $c(i)) ? i = parseFloat(i) : !Rw(i) && Et.test(n) && (i = tu(t, n)), this.setBaseTarget(t, Ne(i) ? i.get() : i)), Ne(i) ? i.get() : i;
12709
+ return i != null && (typeof i == "string" && (jc(i) || $c(i)) ? i = parseFloat(i) : !Rw(i) && Et.test(n) && (i = tu(t, n)), this.setBaseTarget(t, Se(i) ? i.get() : i)), Se(i) ? i.get() : i;
12710
12710
  }
12711
12711
  /**
12712
12712
  * Set the base target to later animate back to. This is currently
@@ -12730,10 +12730,10 @@ class Dw {
12730
12730
  if (r && i !== void 0)
12731
12731
  return i;
12732
12732
  const s = this.getBaseTargetFromProps(this.props, t);
12733
- return s !== void 0 && !Ne(s) ? s : this.initialValues[t] !== void 0 && i === void 0 ? void 0 : this.baseTarget[t];
12733
+ return s !== void 0 && !Se(s) ? s : this.initialValues[t] !== void 0 && i === void 0 ? void 0 : this.baseTarget[t];
12734
12734
  }
12735
12735
  on(t, n) {
12736
- return this.events[t] || (this.events[t] = new Ss()), this.events[t].add(n);
12736
+ return this.events[t] || (this.events[t] = new Ns()), this.events[t].add(n);
12737
12737
  }
12738
12738
  notify(t, ...n) {
12739
12739
  this.events[t] && this.events[t].notify(...n);
@@ -12781,7 +12781,7 @@ class kw extends id {
12781
12781
  handleChildMotionValue() {
12782
12782
  this.childSubscription && (this.childSubscription(), delete this.childSubscription);
12783
12783
  const { children: t } = this.props;
12784
- Ne(t) && (this.childSubscription = t.on("change", (n) => {
12784
+ Se(t) && (this.childSubscription = t.on("change", (n) => {
12785
12785
  this.current && (this.current.textContent = `${n}`);
12786
12786
  }));
12787
12787
  }
@@ -12820,8 +12820,8 @@ const Vw = (e, t) => Rs(e) ? new Lw(t) : new kw(t, {
12820
12820
  ...Y0,
12821
12821
  ...B0,
12822
12822
  ...X0
12823
- }, Vw), ce = /* @__PURE__ */ _b(Bw);
12824
- class Fw extends O.Component {
12823
+ }, Vw), he = /* @__PURE__ */ _b(Bw);
12824
+ class Fw extends A.Component {
12825
12825
  getSnapshotBeforeUpdate(t) {
12826
12826
  const n = this.props.childRef.current;
12827
12827
  if (n && t.isPresent && !this.props.isPresent) {
@@ -12863,7 +12863,7 @@ function Uw({ children: e, isPresent: t }) {
12863
12863
  `), () => {
12864
12864
  document.head.removeChild(u);
12865
12865
  };
12866
- }, [t]), m(Fw, { isPresent: t, childRef: r, sizeRef: i, children: O.cloneElement(e, { ref: r }) });
12866
+ }, [t]), m(Fw, { isPresent: t, childRef: r, sizeRef: i, children: A.cloneElement(e, { ref: r }) });
12867
12867
  }
12868
12868
  const $w = ({ children: e, initial: t, isPresent: n, onExitComplete: r, custom: i, presenceAffectsLayout: s, mode: o }) => {
12869
12869
  const a = Is(jw), l = Ui(), c = $i((f) => {
@@ -12890,7 +12890,7 @@ const $w = ({ children: e, initial: t, isPresent: n, onExitComplete: r, custom:
12890
12890
  );
12891
12891
  return $t(() => {
12892
12892
  a.forEach((f, d) => a.set(d, !1));
12893
- }, [n]), O.useEffect(() => {
12893
+ }, [n]), A.useEffect(() => {
12894
12894
  !n && !a.size && r && r();
12895
12895
  }, [n]), o === "popLayout" && (e = m(Uw, { isPresent: n, children: e })), m(Ir.Provider, { value: u, children: e });
12896
12896
  };
@@ -12898,7 +12898,7 @@ function jw() {
12898
12898
  return /* @__PURE__ */ new Map();
12899
12899
  }
12900
12900
  const Qn = (e) => e.key || "";
12901
- function Sa(e) {
12901
+ function Na(e) {
12902
12902
  const t = [];
12903
12903
  return qd.forEach(e, (n) => {
12904
12904
  Yd(n) && t.push(n);
@@ -12906,7 +12906,7 @@ function Sa(e) {
12906
12906
  }
12907
12907
  const Ww = ({ children: e, exitBeforeEnter: t, custom: n, initial: r = !0, onExitComplete: i, presenceAffectsLayout: s = !0, mode: o = "sync" }) => {
12908
12908
  ft(!t, "Replace exitBeforeEnter with mode='wait'");
12909
- const a = $t(() => Sa(e), [e]), l = a.map(Qn), c = vt(!0), u = vt(a), f = Is(() => /* @__PURE__ */ new Map()), [d, h] = Bt(a), [p, g] = Bt(a);
12909
+ const a = $t(() => Na(e), [e]), l = a.map(Qn), c = vt(!0), u = vt(a), f = Is(() => /* @__PURE__ */ new Map()), [d, h] = Bt(a), [p, g] = Bt(a);
12910
12910
  Wu(() => {
12911
12911
  c.current = !1, u.current = a;
12912
12912
  for (let v = 0; v < p.length; v++) {
@@ -12921,7 +12921,7 @@ const Ww = ({ children: e, exitBeforeEnter: t, custom: n, initial: r = !0, onExi
12921
12921
  const x = p[w], E = Qn(x);
12922
12922
  l.includes(E) || (v.splice(w, 0, x), b.push(x));
12923
12923
  }
12924
- o === "wait" && b.length && (v = b), g(Sa(v)), h(a);
12924
+ o === "wait" && b.length && (v = b), g(Na(v)), h(a);
12925
12925
  return;
12926
12926
  }
12927
12927
  process.env.NODE_ENV !== "production" && o === "wait" && p.length > 1 && console.warn(`You're attempting to animate multiple children within AnimatePresence, but its mode is set to "wait". This will lead to odd visual behaviour.`);
@@ -12932,10 +12932,10 @@ const Ww = ({ children: e, exitBeforeEnter: t, custom: n, initial: r = !0, onExi
12932
12932
  f.set(w, !0);
12933
12933
  else
12934
12934
  return;
12935
- let N = !0;
12935
+ let S = !0;
12936
12936
  f.forEach((L) => {
12937
- L || (N = !1);
12938
- }), N && (y == null || y(), g(u.current), i && i());
12937
+ L || (S = !1);
12938
+ }), S && (y == null || y(), g(u.current), i && i());
12939
12939
  };
12940
12940
  return m($w, { isPresent: x, initial: !c.current || r ? void 0 : !1, custom: x ? void 0 : n, presenceAffectsLayout: s, mode: o, onExitComplete: x ? void 0 : E, children: v }, w);
12941
12941
  }) });
@@ -12946,16 +12946,16 @@ Ae.registerLanguage("html", sg);
12946
12946
  Ae.registerLanguage("css", Ig);
12947
12947
  Ae.registerLanguage("json", rb);
12948
12948
  Ae.registerLanguage("python", cb);
12949
- Ae.registerLanguage("bash", Sc);
12950
- Ae.registerLanguage("shell", Sc);
12949
+ Ae.registerLanguage("bash", Nc);
12950
+ Ae.registerLanguage("shell", Nc);
12951
12951
  Ae.registerLanguage("sql", hb);
12952
12952
  Ae.registerLanguage("markdown", Fg);
12953
12953
  Ae.registerLanguage("java", Wg);
12954
12954
  Ae.registerLanguage("c", pg);
12955
12955
  Ae.registerLanguage("cpp", vg);
12956
12956
  Ae.registerLanguage("csharp", Eg);
12957
- const zw = ({ code: e, language: t = "plaintext" }) => /* @__PURE__ */ P(
12958
- ce.div,
12957
+ const zw = ({ code: e, language: t = "plaintext" }) => /* @__PURE__ */ O(
12958
+ he.div,
12959
12959
  {
12960
12960
  initial: { opacity: 0 },
12961
12961
  animate: { opacity: 1 },
@@ -13005,9 +13005,9 @@ const zw = ({ code: e, language: t = "plaintext" }) => /* @__PURE__ */ P(
13005
13005
  {
13006
13006
  control: t,
13007
13007
  name: e,
13008
- render: () => /* @__PURE__ */ P(He, { children: [
13008
+ render: () => /* @__PURE__ */ O(He, { children: [
13009
13009
  h && /* @__PURE__ */ m(_t, { required: s, heading: n, label: r, description: i }),
13010
- /* @__PURE__ */ m(qe, { children: /* @__PURE__ */ P("div", { className: "flex flex-row items-center gap-2", children: [
13010
+ /* @__PURE__ */ m(qe, { children: /* @__PURE__ */ O("div", { className: "flex flex-row items-center gap-2", children: [
13011
13011
  /* @__PURE__ */ m(
13012
13012
  Ma,
13013
13013
  {
@@ -13021,7 +13021,7 @@ const zw = ({ code: e, language: t = "plaintext" }) => /* @__PURE__ */ P(
13021
13021
  ),
13022
13022
  /* @__PURE__ */ m(Bi, { className: "cursor-pointer", htmlFor: e, children: o })
13023
13023
  ] }) }),
13024
- l && /* @__PURE__ */ m(Nt, { children: d == null ? void 0 : d.message })
13024
+ l && /* @__PURE__ */ m(St, { children: d == null ? void 0 : d.message })
13025
13025
  ] })
13026
13026
  }
13027
13027
  );
@@ -13050,7 +13050,7 @@ const zw = ({ code: e, language: t = "plaintext" }) => /* @__PURE__ */ P(
13050
13050
  f.onChange(y ? [...f.value || [], b] : (v = f.value) == null ? void 0 : v.filter((w) => w !== b)), c == null || c();
13051
13051
  }, p = () => s.map((b) => {
13052
13052
  var y;
13053
- return /* @__PURE__ */ P(He, { className: "flex flex-row items-center", children: [
13053
+ return /* @__PURE__ */ O(He, { className: "flex flex-row items-center", children: [
13054
13054
  /* @__PURE__ */ m(qe, { children: /* @__PURE__ */ m(
13055
13055
  Ma,
13056
13056
  {
@@ -13083,11 +13083,11 @@ const zw = ({ code: e, language: t = "plaintext" }) => /* @__PURE__ */ P(
13083
13083
  {
13084
13084
  control: t,
13085
13085
  name: e,
13086
- render: () => /* @__PURE__ */ P(He, { children: [
13086
+ render: () => /* @__PURE__ */ O(He, { children: [
13087
13087
  (r || n || i) && /* @__PURE__ */ m(_t, { required: o, heading: n, label: r, description: i }),
13088
13088
  /* @__PURE__ */ m(qe, { children: l === "checkbox" ? /* @__PURE__ */ m("div", { className: "space-y-4", children: p() }) : /* @__PURE__ */ m("ul", { className: "flex w-full flex-wrap gap-2 text-sm font-normal", children: g() }) }),
13089
13089
  a,
13090
- /* @__PURE__ */ m(Nt, { children: d == null ? void 0 : d.message })
13090
+ /* @__PURE__ */ m(St, { children: d == null ? void 0 : d.message })
13091
13091
  ] })
13092
13092
  }
13093
13093
  );
@@ -13105,13 +13105,13 @@ const zw = ({ code: e, language: t = "plaintext" }) => /* @__PURE__ */ P(
13105
13105
  {
13106
13106
  control: t,
13107
13107
  name: e,
13108
- render: () => /* @__PURE__ */ P(He, { children: [
13109
- n && /* @__PURE__ */ P(_t, { required: i, children: [
13108
+ render: () => /* @__PURE__ */ O(He, { children: [
13109
+ n && /* @__PURE__ */ O(_t, { required: i, children: [
13110
13110
  /* @__PURE__ */ m(Ad, { children: n }),
13111
13111
  r && /* @__PURE__ */ m(Pd, { children: r })
13112
13112
  ] }),
13113
13113
  /* @__PURE__ */ m(qe, { children: /* @__PURE__ */ m("div", { className: o, children: s }) }),
13114
- a && /* @__PURE__ */ m(Nt, {})
13114
+ a && /* @__PURE__ */ m(St, {})
13115
13115
  ] })
13116
13116
  }
13117
13117
  ), Xx = ({
@@ -13147,7 +13147,7 @@ const zw = ({ code: e, language: t = "plaintext" }) => /* @__PURE__ */ P(
13147
13147
  name: e,
13148
13148
  render: () => {
13149
13149
  var y;
13150
- return /* @__PURE__ */ P(He, { className: "relative", children: [
13150
+ return /* @__PURE__ */ O(He, { className: "relative", children: [
13151
13151
  (r || n || i) && /* @__PURE__ */ m(_t, { required: o, heading: n, label: r, description: i }),
13152
13152
  /* @__PURE__ */ m(qe, { children: /* @__PURE__ */ m(
13153
13153
  Od,
@@ -13181,7 +13181,7 @@ const zw = ({ code: e, language: t = "plaintext" }) => /* @__PURE__ */ P(
13181
13181
  )
13182
13182
  }
13183
13183
  ) }),
13184
- /* @__PURE__ */ m(Nt, { absolute: h, children: g == null ? void 0 : g.message })
13184
+ /* @__PURE__ */ m(St, { absolute: h, children: g == null ? void 0 : g.message })
13185
13185
  ] });
13186
13186
  }
13187
13187
  }
@@ -13213,9 +13213,9 @@ const zw = ({ code: e, language: t = "plaintext" }) => /* @__PURE__ */ P(
13213
13213
  {
13214
13214
  control: t,
13215
13215
  name: e,
13216
- render: () => /* @__PURE__ */ P(He, { className: "relative", children: [
13216
+ render: () => /* @__PURE__ */ O(He, { className: "relative", children: [
13217
13217
  p && /* @__PURE__ */ m(_t, { required: o, heading: n, label: r, description: i }),
13218
- /* @__PURE__ */ m(qe, { children: /* @__PURE__ */ P("div", { className: k("flex max-w-screen-sm items-center gap-2", a), children: [
13218
+ /* @__PURE__ */ m(qe, { children: /* @__PURE__ */ O("div", { className: k("flex max-w-screen-sm items-center gap-2", a), children: [
13219
13219
  /* @__PURE__ */ m(
13220
13220
  Md,
13221
13221
  {
@@ -13228,7 +13228,7 @@ const zw = ({ code: e, language: t = "plaintext" }) => /* @__PURE__ */ P(
13228
13228
  c === "horizontal" && "flex flex-wrap gap-8",
13229
13229
  c === "grid" && "grid w-full grid-cols-2 gap-x-8 gap-y-4"
13230
13230
  ),
13231
- children: s.map((g) => /* @__PURE__ */ P(He, { className: "flex flex-row items-center", children: [
13231
+ children: s.map((g) => /* @__PURE__ */ O(He, { className: "flex flex-row items-center", children: [
13232
13232
  /* @__PURE__ */ m(qe, { children: /* @__PURE__ */ m(Rd, { value: g.value, id: g.text, checked: g.value === d.value }) }),
13233
13233
  /* @__PURE__ */ m(Bi, { className: "cursor-pointer font-normal", htmlFor: g.text, children: g.text })
13234
13234
  ] }, g.key))
@@ -13236,7 +13236,7 @@ const zw = ({ code: e, language: t = "plaintext" }) => /* @__PURE__ */ P(
13236
13236
  ),
13237
13237
  l && /* @__PURE__ */ m(xr, { children: l })
13238
13238
  ] }) }),
13239
- /* @__PURE__ */ m(Nt, { children: h == null ? void 0 : h.message })
13239
+ /* @__PURE__ */ m(St, { children: h == null ? void 0 : h.message })
13240
13240
  ] })
13241
13241
  }
13242
13242
  );
@@ -13276,9 +13276,9 @@ const zw = ({ code: e, language: t = "plaintext" }) => /* @__PURE__ */ P(
13276
13276
  {
13277
13277
  control: o,
13278
13278
  name: n,
13279
- render: () => /* @__PURE__ */ P(He, { children: [
13279
+ render: () => /* @__PURE__ */ O(He, { children: [
13280
13280
  w && /* @__PURE__ */ m(_t, { required: e, heading: t, label: r, description: i }),
13281
- /* @__PURE__ */ m(qe, { children: /* @__PURE__ */ P("div", { className: "flex flex-col gap-2", children: [
13281
+ /* @__PURE__ */ m(qe, { children: /* @__PURE__ */ O("div", { className: "flex flex-col gap-2", children: [
13282
13282
  d.value && d.value.length > 0 && /* @__PURE__ */ m("ul", { className: k("flex flex-col flex-wrap gap-1", a), children: d.value.map((x, E) => /* @__PURE__ */ m("li", { children: /* @__PURE__ */ m(
13283
13283
  Ut,
13284
13284
  {
@@ -13289,7 +13289,7 @@ const zw = ({ code: e, language: t = "plaintext" }) => /* @__PURE__ */ P(
13289
13289
  children: /* @__PURE__ */ m("span", { children: x })
13290
13290
  }
13291
13291
  ) }, E)) }),
13292
- /* @__PURE__ */ P("div", { className: "flex items-center gap-2", children: [
13292
+ /* @__PURE__ */ O("div", { className: "flex items-center gap-2", children: [
13293
13293
  /* @__PURE__ */ m(
13294
13294
  Fi,
13295
13295
  {
@@ -13315,7 +13315,7 @@ const zw = ({ code: e, language: t = "plaintext" }) => /* @__PURE__ */ P(
13315
13315
  )
13316
13316
  ] })
13317
13317
  ] }) }),
13318
- /* @__PURE__ */ m(Nt, { children: h == null ? void 0 : h.message })
13318
+ /* @__PURE__ */ m(St, { children: h == null ? void 0 : h.message })
13319
13319
  ] })
13320
13320
  }
13321
13321
  );
@@ -13344,7 +13344,7 @@ const zw = ({ code: e, language: t = "plaintext" }) => /* @__PURE__ */ P(
13344
13344
  }) => {
13345
13345
  const {
13346
13346
  field: E,
13347
- formState: { errors: N }
13347
+ formState: { errors: S }
13348
13348
  } = Wt({
13349
13349
  name: e,
13350
13350
  control: t,
@@ -13361,9 +13361,9 @@ const zw = ({ code: e, language: t = "plaintext" }) => /* @__PURE__ */ P(
13361
13361
  {
13362
13362
  control: t,
13363
13363
  name: e,
13364
- render: () => /* @__PURE__ */ P(He, { children: [
13364
+ render: () => /* @__PURE__ */ O(He, { children: [
13365
13365
  V && /* @__PURE__ */ m(_t, { required: o, heading: n, label: r, description: i }),
13366
- /* @__PURE__ */ m(qe, { children: /* @__PURE__ */ P("div", { className: k("flex w-full max-w-screen-sm items-center gap-2", f), children: [
13366
+ /* @__PURE__ */ m(qe, { children: /* @__PURE__ */ O("div", { className: k("flex w-full max-w-screen-sm items-center gap-2", f), children: [
13367
13367
  c && /* @__PURE__ */ m("div", { className: "whitespace-nowrap", children: c }),
13368
13368
  a ? /* @__PURE__ */ m(
13369
13369
  Dd,
@@ -13371,7 +13371,7 @@ const zw = ({ code: e, language: t = "plaintext" }) => /* @__PURE__ */ P(
13371
13371
  ...E,
13372
13372
  placeholder: s,
13373
13373
  disabled: g,
13374
- error: !!N[e],
13374
+ error: !!S[e],
13375
13375
  onChange: L,
13376
13376
  onBlur: h,
13377
13377
  className: k("h-32 resize-none", w)
@@ -13383,7 +13383,7 @@ const zw = ({ code: e, language: t = "plaintext" }) => /* @__PURE__ */ P(
13383
13383
  type: u,
13384
13384
  placeholder: s,
13385
13385
  disabled: g,
13386
- error: !!N[e],
13386
+ error: !!S[e],
13387
13387
  onChange: L,
13388
13388
  onBlur: h,
13389
13389
  icon: p,
@@ -13393,9 +13393,9 @@ const zw = ({ code: e, language: t = "plaintext" }) => /* @__PURE__ */ P(
13393
13393
  ),
13394
13394
  l && /* @__PURE__ */ m("div", { className: "whitespace-nowrap", children: l })
13395
13395
  ] }) }),
13396
- /* @__PURE__ */ P(be.Row, { className: "flex w-full items-center gap-1", children: [
13397
- b && /* @__PURE__ */ m(Nt, { absolute: x }),
13398
- v && /* @__PURE__ */ P(
13396
+ /* @__PURE__ */ O(be.Row, { className: "flex w-full items-center gap-1", children: [
13397
+ b && /* @__PURE__ */ m(St, { absolute: x }),
13398
+ v && /* @__PURE__ */ O(
13399
13399
  "div",
13400
13400
  {
13401
13401
  className: k("h-5 grow text-end text-sm text-grey-600", {
@@ -13457,10 +13457,10 @@ const zw = ({ code: e, language: t = "plaintext" }) => /* @__PURE__ */ P(
13457
13457
  {
13458
13458
  control: t,
13459
13459
  name: e,
13460
- render: () => /* @__PURE__ */ P(He, { children: [
13460
+ render: () => /* @__PURE__ */ O(He, { children: [
13461
13461
  w && /* @__PURE__ */ m(_t, { required: a, heading: n, label: r, description: i }),
13462
13462
  u,
13463
- /* @__PURE__ */ P("div", { className: "flex items-center gap-2", children: [
13463
+ /* @__PURE__ */ O("div", { className: "flex items-center gap-2", children: [
13464
13464
  f && /* @__PURE__ */ m(Id, { size: "sm", className: "flex w-32 justify-center truncate shadow-none", children: f }),
13465
13465
  /* @__PURE__ */ m(qe, { children: /* @__PURE__ */ m(
13466
13466
  Fi,
@@ -13485,7 +13485,7 @@ const zw = ({ code: e, language: t = "plaintext" }) => /* @__PURE__ */ P(
13485
13485
  }
13486
13486
  )
13487
13487
  ] }),
13488
- /* @__PURE__ */ m(Nt, { children: b == null ? void 0 : b.message })
13488
+ /* @__PURE__ */ m(St, { children: b == null ? void 0 : b.message })
13489
13489
  ] })
13490
13490
  }
13491
13491
  );
@@ -13592,12 +13592,12 @@ function Zw(e) {
13592
13592
  animationFillMode: "both"
13593
13593
  };
13594
13594
  };
13595
- return n ? O.createElement(
13595
+ return n ? A.createElement(
13596
13596
  "span",
13597
13597
  yr({ style: p }, h),
13598
- O.createElement("span", { style: g(1) }),
13599
- O.createElement("span", { style: g(2) }),
13600
- O.createElement("span", { style: g(3) })
13598
+ A.createElement("span", { style: g(1) }),
13599
+ A.createElement("span", { style: g(2) }),
13600
+ A.createElement("span", { style: g(3) })
13601
13601
  ) : null;
13602
13602
  }
13603
13603
  const wt = ({
@@ -13622,8 +13622,8 @@ const wt = ({
13622
13622
  t === 1 ? "mb-4 space-y-4 p-4 pl-8" : "space-y-1 bg-transparent pl-4",
13623
13623
  r ? "bg-transparent p-0 pl-4" : "bg-grey-100"
13624
13624
  ),
13625
- children: l.blocks.map((h) => /* @__PURE__ */ P(
13626
- ce.li,
13625
+ children: l.blocks.map((h) => /* @__PURE__ */ O(
13626
+ he.li,
13627
13627
  {
13628
13628
  initial: { opacity: 0 },
13629
13629
  animate: { opacity: 1 },
@@ -13669,12 +13669,12 @@ const wt = ({
13669
13669
  ), p = s.link && s.link.url ? /* @__PURE__ */ m(gn, { type: "external", href: s.link.url, className: "text-main-600 underline", children: s.content }) : s.content;
13670
13670
  return typeof p == "string" && p.length === 0 ? /* @__PURE__ */ m("br", {}) : /* @__PURE__ */ m("span", { className: h, children: p }, r);
13671
13671
  }), Xe = (e, t = "default", n = !1, r = null) => {
13672
- var f, d, h, p, g, b, y, v, w, x, E, N, L, V, G, H, ue, de, fe, pe, ae, ve, q, te, le, ie, Ve, Oe, T, R, U, z, Y, Pe, he, we, xe, De, rt, Mt, ze, Kt, Ge, Ke, Me, Ht, it, $, me, ee, X, j, W;
13672
+ var f, d, h, p, g, b, y, v, w, x, E, S, L, V, G, H, ce, ue, de, pe, ae, ve, q, te, le, ie, Ve, Oe, T, R, U, z, Y, Pe, fe, we, xe, De, rt, Mt, ze, Kt, Ge, Ke, Me, Ht, it, $, me, ee, X, j, W;
13673
13673
  const i = `${e.type}-block`, s = ji(t), o = ((f = e[e.type]) == null ? void 0 : f.rich_text) || "", a = (e == null ? void 0 : e.children) || [], l = Fa(e, t) && ((d = _r[t][e.type]) == null ? void 0 : d.className) || "", c = a == null ? void 0 : a.some((_) => Va.includes(_.type)), u = (_) => Qw(_, l);
13674
13674
  switch (e.type) {
13675
13675
  case "loading":
13676
13676
  return /* @__PURE__ */ m(
13677
- ce.div,
13677
+ he.div,
13678
13678
  {
13679
13679
  initial: { opacity: 0 },
13680
13680
  animate: { opacity: 1 },
@@ -13685,36 +13685,36 @@ const wt = ({
13685
13685
  );
13686
13686
  case "paragraph":
13687
13687
  return o && o.length > 0 ? /* @__PURE__ */ m(
13688
- ce.p,
13688
+ he.p,
13689
13689
  {
13690
13690
  initial: { opacity: 0 },
13691
13691
  animate: { opacity: 1 },
13692
13692
  className: k(i, s.paragraph, n && "mb-0"),
13693
13693
  children: u(((h = e.paragraph) == null ? void 0 : h.rich_text) || "")
13694
13694
  }
13695
- ) : /* @__PURE__ */ m(ce.div, { initial: { opacity: 0 }, animate: { opacity: 1 }, className: k(i, s.paragraph), children: " " });
13695
+ ) : /* @__PURE__ */ m(he.div, { initial: { opacity: 0 }, animate: { opacity: 1 }, className: k(i, s.paragraph), children: " " });
13696
13696
  case "heading_1":
13697
- return o && o.length > 0 ? /* @__PURE__ */ m(ce.h1, { initial: { opacity: 0 }, animate: { opacity: 1 }, className: k(i, s.heading1), children: u(((p = e.heading_1) == null ? void 0 : p.rich_text) || "") }) : null;
13697
+ return o && o.length > 0 ? /* @__PURE__ */ m(he.h1, { initial: { opacity: 0 }, animate: { opacity: 1 }, className: k(i, s.heading1), children: u(((p = e.heading_1) == null ? void 0 : p.rich_text) || "") }) : null;
13698
13698
  case "heading_2":
13699
- return o && o.length > 0 ? /* @__PURE__ */ m(ce.h2, { initial: { opacity: 0 }, animate: { opacity: 1 }, className: k(i, s.heading2), children: u(((g = e.heading_2) == null ? void 0 : g.rich_text) || "") }) : null;
13699
+ return o && o.length > 0 ? /* @__PURE__ */ m(he.h2, { initial: { opacity: 0 }, animate: { opacity: 1 }, className: k(i, s.heading2), children: u(((g = e.heading_2) == null ? void 0 : g.rich_text) || "") }) : null;
13700
13700
  case "heading_3":
13701
- return o && o.length > 0 ? /* @__PURE__ */ m(ce.h3, { initial: { opacity: 0 }, animate: { opacity: 1 }, className: k(i, s.heading3), children: u(((b = e.heading_3) == null ? void 0 : b.rich_text) || "") }) : null;
13701
+ return o && o.length > 0 ? /* @__PURE__ */ m(he.h3, { initial: { opacity: 0 }, animate: { opacity: 1 }, className: k(i, s.heading3), children: u(((b = e.heading_3) == null ? void 0 : b.rich_text) || "") }) : null;
13702
13702
  case "bulleted_list_item":
13703
13703
  case "numbered_list_item":
13704
13704
  return o && o.length > 0 ? /* @__PURE__ */ m("span", { className: k(i, s.listItem), children: u(
13705
13705
  e.type === "bulleted_list_item" ? ((y = e.bulleted_list_item) == null ? void 0 : y.rich_text) || "" : ((v = e.numbered_list_item) == null ? void 0 : v.rich_text) || ""
13706
13706
  ) }) : null;
13707
13707
  case "quote":
13708
- return o && o.length > 0 ? /* @__PURE__ */ P(ce.blockquote, { initial: { opacity: 0 }, animate: { opacity: 1 }, className: k(i, s.quote), children: [
13708
+ return o && o.length > 0 ? /* @__PURE__ */ O(he.blockquote, { initial: { opacity: 0 }, animate: { opacity: 1 }, className: k(i, s.quote), children: [
13709
13709
  u(((w = e.quote) == null ? void 0 : w.rich_text) || ""),
13710
13710
  e.children && e.children.length > 0 && /* @__PURE__ */ m("div", { className: "space-y-1", children: c ? wt({ group: e.children, depth: 1, variant: t }) : e.children.map((_, D) => /* @__PURE__ */ m(K.Fragment, { children: Xe(_, t, !0, "quote") }, e.type + _.id + D)) })
13711
13711
  ] }) : null;
13712
13712
  case "divider":
13713
13713
  return /* @__PURE__ */ m("hr", { className: k(i, s.divider) });
13714
13714
  case "image": {
13715
- const _ = ((E = (x = e.image) == null ? void 0 : x.file) == null ? void 0 : E.url) || ((L = (N = e.image) == null ? void 0 : N.external) == null ? void 0 : L.url), D = (V = e.image) != null && V.caption ? e.image.caption : "Image";
13716
- return /* @__PURE__ */ P(
13717
- ce.figure,
13715
+ const _ = ((E = (x = e.image) == null ? void 0 : x.file) == null ? void 0 : E.url) || ((L = (S = e.image) == null ? void 0 : S.external) == null ? void 0 : L.url), D = (V = e.image) != null && V.caption ? e.image.caption : "Image";
13716
+ return /* @__PURE__ */ O(
13717
+ he.figure,
13718
13718
  {
13719
13719
  initial: { opacity: 0 },
13720
13720
  animate: { opacity: 1 },
@@ -13728,24 +13728,24 @@ const wt = ({
13728
13728
  alt: D || "Image"
13729
13729
  }
13730
13730
  ) }) : /* @__PURE__ */ m("div", { className: "w-full rounded-lg bg-grey-200 p-4", children: "이미지를 불러올 수 없습니다" }),
13731
- ((H = (G = e.image) == null ? void 0 : G.caption) == null ? void 0 : H.length) > 0 && /* @__PURE__ */ m("figcaption", { className: "mt-2 text-center text-sm text-gray-500", children: typeof ((ue = e.image) == null ? void 0 : ue.caption) == "string" ? D : u(D) })
13731
+ ((H = (G = e.image) == null ? void 0 : G.caption) == null ? void 0 : H.length) > 0 && /* @__PURE__ */ m("figcaption", { className: "mt-2 text-center text-sm text-gray-500", children: typeof ((ce = e.image) == null ? void 0 : ce.caption) == "string" ? D : u(D) })
13732
13732
  ]
13733
13733
  }
13734
13734
  );
13735
13735
  }
13736
13736
  case "callout": {
13737
- const _ = ((fe = (de = e.callout) == null ? void 0 : de.icon) == null ? void 0 : fe.emoji) || null, D = r === "column";
13738
- return /* @__PURE__ */ P(
13739
- ce.div,
13737
+ const _ = ((de = (ue = e.callout) == null ? void 0 : ue.icon) == null ? void 0 : de.emoji) || null, D = r === "column";
13738
+ return /* @__PURE__ */ O(
13739
+ he.div,
13740
13740
  {
13741
13741
  initial: { opacity: 0 },
13742
13742
  animate: { opacity: 1 },
13743
13743
  className: k(i, s.callout, D && "h-full", "flex rounded-lg px-4 py-6"),
13744
13744
  children: [
13745
13745
  /* @__PURE__ */ m("div", { className: "flex-shrink-0", children: /* @__PURE__ */ m("div", { className: "flex h-6 w-6 items-center justify-center text-lg md:text-xl", children: _ || "💡" }) }),
13746
- /* @__PURE__ */ P("div", { className: "flex flex-col gap-2", children: [
13746
+ /* @__PURE__ */ O("div", { className: "flex flex-col gap-2", children: [
13747
13747
  o.length > 0 && /* @__PURE__ */ m("div", { className: "text-base md:text-lg", children: u(o) }),
13748
- e.children && e.children.length > 0 && /* @__PURE__ */ m("div", { className: "space-y-1", children: c ? wt({ group: e.children, depth: 1, variant: t, isChildrenList: c }) : e.children.map((S, M) => /* @__PURE__ */ m(K.Fragment, { children: Xe(S, t, !0, "callout") }, e.type + S.id + M)) })
13748
+ e.children && e.children.length > 0 && /* @__PURE__ */ m("div", { className: "space-y-1", children: c ? wt({ group: e.children, depth: 1, variant: t, isChildrenList: c }) : e.children.map((C, M) => /* @__PURE__ */ m(K.Fragment, { children: Xe(C, t, !0, "callout") }, e.type + C.id + M)) })
13749
13749
  ] })
13750
13750
  ]
13751
13751
  }
@@ -13754,65 +13754,40 @@ const wt = ({
13754
13754
  case "code": {
13755
13755
  const _ = ((pe = e.code) == null ? void 0 : pe.rich_text) || [], D = ((ae = e.code) == null ? void 0 : ae.language) || "plaintext";
13756
13756
  if (_.length > 0 && ((ve = _[0].plain_text) != null && ve.startsWith("!#btrl"))) {
13757
- const M = [_[1]], A = _.slice(2);
13758
- return D === "bash" ? /* @__PURE__ */ P(
13759
- ce.div,
13760
- {
13761
- initial: { opacity: 0 },
13762
- animate: { opacity: 1 },
13763
- className: k(i, s.callout, "mb-2 flex h-full rounded-3xl px-6 py-8"),
13764
- children: [
13765
- /* @__PURE__ */ m("span", { className: "break-keep text-lg font-bold md:text-xl", children: u(M) }),
13766
- /* @__PURE__ */ m("span", { className: "mt-[1px] whitespace-pre-wrap break-words text-base md:text-lg", children: u(A) })
13767
- ]
13768
- }
13769
- ) : D === "abap" ? /* @__PURE__ */ P(
13770
- ce.div,
13757
+ const M = [_[1]], P = _.slice(2);
13758
+ let N = "mb-2 flex rounded-3xl px-6 py-8";
13759
+ return D === "bash" ? N += " bg-main-100/60" : D === "abap" ? N += " border border-border bg-transparent" : N += " bg-grey-100", /* @__PURE__ */ O(
13760
+ he.div,
13771
13761
  {
13772
13762
  initial: { opacity: 0 },
13773
13763
  animate: { opacity: 1 },
13774
- className: k(
13775
- i,
13776
- s.callout,
13777
- "mb-2 flex h-full rounded-3xl border border-border bg-transparent px-6 py-8"
13778
- ),
13764
+ className: k(i, s.callout, N),
13779
13765
  children: [
13780
13766
  /* @__PURE__ */ m("span", { className: "break-keep text-lg font-bold md:text-xl", children: u(M) }),
13781
- /* @__PURE__ */ m("span", { className: "mt-[1px] whitespace-pre-wrap break-words text-base md:text-lg", children: u(A) })
13782
- ]
13783
- }
13784
- ) : /* @__PURE__ */ P(
13785
- ce.div,
13786
- {
13787
- initial: { opacity: 0 },
13788
- animate: { opacity: 1 },
13789
- className: k(i, s.callout, "mb-2 flex h-full rounded-3xl bg-grey-100 px-6 py-8"),
13790
- children: [
13791
- /* @__PURE__ */ m("span", { className: "break-keep text-lg font-bold md:text-xl", children: u(M) }),
13792
- /* @__PURE__ */ m("span", { className: "mt-[1px] whitespace-pre-wrap break-words text-base md:text-lg", children: u(A) })
13767
+ /* @__PURE__ */ m("span", { className: "mt-[1px] whitespace-pre-wrap break-words text-base md:text-lg", children: u(P) })
13793
13768
  ]
13794
13769
  }
13795
13770
  );
13796
13771
  }
13797
- const S = _.map((M) => M.plain_text).join("") || "";
13798
- return /* @__PURE__ */ m(zw, { code: S, language: D });
13772
+ const C = _.map((M) => M.plain_text).join("") || "";
13773
+ return /* @__PURE__ */ m(zw, { code: C, language: D });
13799
13774
  }
13800
13775
  case "to_do": {
13801
13776
  const _ = ((q = e.to_do) == null ? void 0 : q.checked) || !1;
13802
- return o && o.length > 0 ? /* @__PURE__ */ P("div", { className: k(i, "mb-2 flex items-start gap-2"), children: [
13777
+ return o && o.length > 0 ? /* @__PURE__ */ O("div", { className: k(i, "mb-2 flex items-start gap-2"), children: [
13803
13778
  /* @__PURE__ */ m("input", { type: "checkbox", checked: _, readOnly: !0, className: "mt-1 h-4 w-4 rounded border-gray-300" }),
13804
13779
  /* @__PURE__ */ m("span", { className: k(s.paragraph, _ ? "text-gray-400 line-through" : ""), children: u(((te = e.to_do) == null ? void 0 : te.rich_text) || "") })
13805
13780
  ] }) : null;
13806
13781
  }
13807
13782
  case "toggle":
13808
- return o && o.length > 0 ? /* @__PURE__ */ P("details", { className: k(i, "group mb-4"), children: [
13783
+ return o && o.length > 0 ? /* @__PURE__ */ O("details", { className: k(i, "group mb-4"), children: [
13809
13784
  /* @__PURE__ */ m("summary", { className: k(s.paragraph, "cursor-pointer"), children: /* @__PURE__ */ m("span", { className: "px-1", children: u(((le = e.toggle) == null ? void 0 : le.rich_text) || "") }) }),
13810
13785
  /* @__PURE__ */ m("div", { className: "mt-2 pl-4", children: e.children && e.children.length > 0 && /* @__PURE__ */ m("div", { className: "space-y-1", children: c ? wt({ group: e.children, depth: 1, variant: t }) : e.children.map((_, D) => /* @__PURE__ */ m(K.Fragment, { children: Xe(_, t, !0, "toggle") }, e.type + _.id + D)) }) })
13811
13786
  ] }) : null;
13812
13787
  case "table":
13813
13788
  return /* @__PURE__ */ m("div", { className: k(i, "mb-4 overflow-x-auto"), children: /* @__PURE__ */ m("table", { className: k(s.table, "min-w-full table-auto"), children: /* @__PURE__ */ m("tbody", { children: a.map((_, D) => {
13814
- var S, M;
13815
- return /* @__PURE__ */ m("tr", { className: s.tableRow, children: (M = (S = _.table_row) == null ? void 0 : S.cells) == null ? void 0 : M.map((A, C) => {
13789
+ var C, M;
13790
+ return /* @__PURE__ */ m("tr", { className: s.tableRow, children: (M = (C = _.table_row) == null ? void 0 : C.cells) == null ? void 0 : M.map((P, N) => {
13816
13791
  var Rt, Ws;
13817
13792
  const Z = ((Rt = e.table) == null ? void 0 : Rt.has_column_header) && D === 0;
13818
13793
  return /* @__PURE__ */ m(
@@ -13828,16 +13803,16 @@ const wt = ({
13828
13803
  textAlign: "left",
13829
13804
  wordBreak: "break-word"
13830
13805
  },
13831
- children: (Ws = A || []) == null ? void 0 : Ws.map((_d, Nd) => /* @__PURE__ */ m(K.Fragment, { children: u([_d]) }, Nd))
13806
+ children: (Ws = P || []) == null ? void 0 : Ws.map((_d, Sd) => /* @__PURE__ */ m(K.Fragment, { children: u([_d]) }, Sd))
13832
13807
  },
13833
- C
13808
+ N
13834
13809
  );
13835
13810
  }) }, _.id || D);
13836
13811
  }) }) }) });
13837
13812
  case "bookmark": {
13838
- const _ = ((ie = e.bookmark) == null ? void 0 : ie.url) || "", { meta: D, loading: S } = Gw(_);
13839
- return _ ? /* @__PURE__ */ m(ce.div, { initial: { opacity: 0 }, animate: { opacity: 1 }, className: k(i, "mb-4 block"), children: S ? /* @__PURE__ */ m("div", { className: "h-24 animate-pulse rounded-md bg-gray-100" }) : D ? /* @__PURE__ */ P(K.Fragment, { children: [
13840
- /* @__PURE__ */ P(
13813
+ const _ = ((ie = e.bookmark) == null ? void 0 : ie.url) || "", { meta: D, loading: C } = Gw(_);
13814
+ return _ ? /* @__PURE__ */ m(he.div, { initial: { opacity: 0 }, animate: { opacity: 1 }, className: k(i, "mb-4 block"), children: C ? /* @__PURE__ */ m("div", { className: "h-24 animate-pulse rounded-md bg-gray-100" }) : D ? /* @__PURE__ */ O(K.Fragment, { children: [
13815
+ /* @__PURE__ */ O(
13841
13816
  gn,
13842
13817
  {
13843
13818
  type: "external",
@@ -13845,7 +13820,7 @@ const wt = ({
13845
13820
  className: "flex h-auto w-full flex-col items-center overflow-hidden rounded-md border border-gray-200 transition-all hover:bg-gray-50 hover:shadow xs:h-24 xs:flex-row lg:h-28",
13846
13821
  children: [
13847
13822
  D.image && /* @__PURE__ */ m("div", { className: "aspect-video h-auto w-full flex-shrink-0 rounded-md xs:h-full xs:w-auto", children: /* @__PURE__ */ m("img", { src: D.image, alt: D.title, className: "h-full w-full object-cover" }) }),
13848
- /* @__PURE__ */ P("div", { className: "flex flex-col p-4", children: [
13823
+ /* @__PURE__ */ O("div", { className: "flex flex-col p-4", children: [
13849
13824
  /* @__PURE__ */ m("div", { className: "line-clamp-2 text-sm font-semibold md:text-base", children: D.title }),
13850
13825
  /* @__PURE__ */ m("div", { className: "line-clamp-2 text-sm text-gray-500", children: D.description })
13851
13826
  ] })
@@ -13853,14 +13828,14 @@ const wt = ({
13853
13828
  }
13854
13829
  ),
13855
13830
  ((Oe = (Ve = e.bookmark) == null ? void 0 : Ve.caption) == null ? void 0 : Oe.length) > 0 && /* @__PURE__ */ m("div", { className: "mt-2 text-xs text-grey-500 md:text-sm", children: u(e.bookmark.caption) })
13856
- ] }) : /* @__PURE__ */ P("div", { className: "mb-4 block rounded-md border border-gray-200 p-4 text-base hover:bg-gray-50", children: [
13831
+ ] }) : /* @__PURE__ */ O("div", { className: "mb-4 block rounded-md border border-gray-200 p-4 text-base hover:bg-gray-50", children: [
13857
13832
  /* @__PURE__ */ m(gn, { type: "external", href: _, children: _ }),
13858
13833
  ((R = (T = e.bookmark) == null ? void 0 : T.caption) == null ? void 0 : R.length) > 0 && /* @__PURE__ */ m("div", { className: "mt-2 text-sm text-gray-500", children: u(e.bookmark.caption) })
13859
13834
  ] }) }) : null;
13860
13835
  }
13861
13836
  case "embed": {
13862
13837
  const _ = ((U = e.embed) == null ? void 0 : U.url) || "";
13863
- return /* @__PURE__ */ P("div", { className: k(i, "mb-4"), children: [
13838
+ return /* @__PURE__ */ O("div", { className: k(i, "mb-4"), children: [
13864
13839
  /* @__PURE__ */ m(
13865
13840
  "iframe",
13866
13841
  {
@@ -13874,8 +13849,8 @@ const wt = ({
13874
13849
  ] });
13875
13850
  }
13876
13851
  case "video": {
13877
- const _ = ((he = (Pe = e.video) == null ? void 0 : Pe.external) == null ? void 0 : he.url) || ((xe = (we = e.video) == null ? void 0 : we.file) == null ? void 0 : xe.url) || "", D = cf(_);
13878
- return /* @__PURE__ */ P(ce.div, { initial: { opacity: 0 }, animate: { opacity: 1 }, className: k(i, "mb-4"), children: [
13852
+ const _ = ((fe = (Pe = e.video) == null ? void 0 : Pe.external) == null ? void 0 : fe.url) || ((xe = (we = e.video) == null ? void 0 : we.file) == null ? void 0 : xe.url) || "", D = cf(_);
13853
+ return /* @__PURE__ */ O(he.div, { initial: { opacity: 0 }, animate: { opacity: 1 }, className: k(i, "mb-4"), children: [
13879
13854
  _ ? /* @__PURE__ */ m("div", { className: "w-full", children: /* @__PURE__ */ m("div", { className: "relative aspect-video overflow-hidden", children: /* @__PURE__ */ m(
13880
13855
  "iframe",
13881
13856
  {
@@ -13892,15 +13867,15 @@ const wt = ({
13892
13867
  }
13893
13868
  case "file": {
13894
13869
  const _ = ((ze = (Mt = e.file) == null ? void 0 : Mt.external) == null ? void 0 : ze.url) || ((Ge = (Kt = e.file) == null ? void 0 : Kt.file) == null ? void 0 : Ge.url) || "", D = _.split("/").pop() || "File";
13895
- return /* @__PURE__ */ P(ce.div, { initial: { opacity: 0 }, animate: { opacity: 1 }, className: k("mb-4"), children: [
13896
- /* @__PURE__ */ P(
13870
+ return /* @__PURE__ */ O(he.div, { initial: { opacity: 0 }, animate: { opacity: 1 }, className: k("mb-4"), children: [
13871
+ /* @__PURE__ */ O(
13897
13872
  gn,
13898
13873
  {
13899
13874
  type: "external",
13900
13875
  href: _,
13901
13876
  className: k(i, "flex flex-col gap-2 rounded-md border border-gray-200 p-3 hover:bg-gray-50"),
13902
13877
  children: [
13903
- /* @__PURE__ */ P("span", { className: "flex items-center gap-1 text-sm text-muted", children: [
13878
+ /* @__PURE__ */ O("span", { className: "flex items-center gap-1 text-sm text-muted", children: [
13904
13879
  /* @__PURE__ */ m(Tr.CopyLink, { size: 20, fill: Yt.grey[400] }),
13905
13880
  "클릭하면 파일이 다운로드됩니다 :)"
13906
13881
  ] }),
@@ -13912,25 +13887,25 @@ const wt = ({
13912
13887
  ] });
13913
13888
  }
13914
13889
  case "table_of_contents":
13915
- return /* @__PURE__ */ P("div", { className: k(i, "mb-4 rounded-md border border-gray-200 p-4"), children: [
13890
+ return /* @__PURE__ */ O("div", { className: k(i, "mb-4 rounded-md border border-gray-200 p-4"), children: [
13916
13891
  /* @__PURE__ */ m("div", { className: "mb-2 font-medium", children: "목차" }),
13917
13892
  /* @__PURE__ */ m("div", { className: "text-sm text-gray-600", children: "(목차 내용은 전체 문서 분석 후 생성됩니다)" })
13918
13893
  ] });
13919
13894
  case "link_preview":
13920
13895
  case "link_to_page": {
13921
13896
  const _ = ((Ht = e.link_preview) == null ? void 0 : Ht.url) || ((it = e[e.type]) == null ? void 0 : it.url) || "#", D = (($ = e.link_preview) == null ? void 0 : $.url) || ((me = e[e.type]) == null ? void 0 : me.page_id) || "링크";
13922
- return /* @__PURE__ */ m(ce.div, { initial: { opacity: 0 }, animate: { opacity: 1 }, className: k(i, "mb-4"), children: /* @__PURE__ */ m(gn, { type: "external", href: _, children: D }) });
13897
+ return /* @__PURE__ */ m(he.div, { initial: { opacity: 0 }, animate: { opacity: 1 }, className: k(i, "mb-4"), children: /* @__PURE__ */ m(gn, { type: "external", href: _, children: D }) });
13923
13898
  }
13924
13899
  case "child_page":
13925
13900
  case "child_database": {
13926
13901
  const _ = ((ee = e[e.type]) == null ? void 0 : ee.title) || "하위 페이지";
13927
- return /* @__PURE__ */ P("div", { className: k(i, "mb-4 rounded-md border border-gray-200 p-3"), children: [
13902
+ return /* @__PURE__ */ O("div", { className: k(i, "mb-4 rounded-md border border-gray-200 p-3"), children: [
13928
13903
  /* @__PURE__ */ m("div", { className: "font-medium", children: _ }),
13929
13904
  /* @__PURE__ */ m("div", { className: "text-sm text-gray-500", children: e.type === "child_page" ? "하위 페이지" : "하위 데이터베이스" })
13930
13905
  ] });
13931
13906
  }
13932
13907
  case "template":
13933
- return /* @__PURE__ */ P("div", { className: k(i, "mb-4 rounded-md border border-gray-200 p-3"), children: [
13908
+ return /* @__PURE__ */ O("div", { className: k(i, "mb-4 rounded-md border border-gray-200 p-3"), children: [
13934
13909
  /* @__PURE__ */ m("div", { className: "font-medium", children: "템플릿" }),
13935
13910
  (((X = e.template) == null ? void 0 : X.rich_text) || "").length > 0 && /* @__PURE__ */ m("div", { children: u(((j = e.template) == null ? void 0 : j.rich_text) || "") })
13936
13911
  ] });
@@ -13938,7 +13913,7 @@ const wt = ({
13938
13913
  return /* @__PURE__ */ m("div", { className: k(i, "mb-4"), children: a.map((_, D) => /* @__PURE__ */ m("div", { children: Xe(_, t, !1, "synced_block") }, e.type + _.id + D)) });
13939
13914
  case "column_list":
13940
13915
  return /* @__PURE__ */ m(
13941
- ce.div,
13916
+ he.div,
13942
13917
  {
13943
13918
  initial: { opacity: 0 },
13944
13919
  animate: { opacity: 1 },
@@ -13948,7 +13923,7 @@ const wt = ({
13948
13923
  );
13949
13924
  case "column":
13950
13925
  return /* @__PURE__ */ m(
13951
- ce.div,
13926
+ he.div,
13952
13927
  {
13953
13928
  initial: { opacity: 0 },
13954
13929
  animate: { opacity: 1 },
@@ -13959,7 +13934,7 @@ const wt = ({
13959
13934
  case "unsupported":
13960
13935
  return null;
13961
13936
  default:
13962
- return o && o.length > 0 ? /* @__PURE__ */ m("p", { className: k(i, s.paragraph), children: u(((W = e[e.type]) == null ? void 0 : W.rich_text) || "") }) : /* @__PURE__ */ P("div", { className: k(i, "mb-4 rounded-md border border-gray-200 p-3 text-sm text-gray-500"), children: [
13937
+ return o && o.length > 0 ? /* @__PURE__ */ m("p", { className: k(i, s.paragraph), children: u(((W = e[e.type]) == null ? void 0 : W.rich_text) || "") }) : /* @__PURE__ */ O("div", { className: k(i, "mb-4 rounded-md border border-gray-200 p-3 text-sm text-gray-500"), children: [
13963
13938
  "지원되지 않는 블록 타입: ",
13964
13939
  e.type
13965
13940
  ] });
@@ -13977,7 +13952,7 @@ const wt = ({
13977
13952
  const a = Xe(e, n);
13978
13953
  if (!a && (!e.children || e.children.length === 0)) return null;
13979
13954
  const l = e.children ? Wi(e.children) : [];
13980
- return o && t.includes(e.type) && l.length > 0 ? /* @__PURE__ */ m(jn.Root, { type: "single", collapsible: !0, className: "mb-1 w-full md:mb-2 lg:mb-4", children: /* @__PURE__ */ P(jn.Item, { value: e.id, className: "border-b-main-100", children: [
13955
+ return o && t.includes(e.type) && l.length > 0 ? /* @__PURE__ */ m(jn.Root, { type: "single", collapsible: !0, className: "mb-1 w-full md:mb-2 lg:mb-4", children: /* @__PURE__ */ O(jn.Item, { value: e.id, className: "border-b-main-100", children: [
13981
13956
  /* @__PURE__ */ m(jn.Trigger, { className: "whitespace-pre-wrap py-2 md:whitespace-normal", children: a }),
13982
13957
  /* @__PURE__ */ m(jn.Content, { children: l.map(
13983
13958
  (c, u) => c.type === "bulleted_list" || c.type === "numbered_list" ? /* @__PURE__ */ m("div", { children: wt({ group: c.blocks, depth: 1, variant: n }) }, c.type + u) : /* @__PURE__ */ m(
@@ -13990,7 +13965,7 @@ const wt = ({
13990
13965
  c.block.id + u
13991
13966
  )
13992
13967
  ) })
13993
- ] }) }) : /* @__PURE__ */ P(s, { children: [
13968
+ ] }) }) : /* @__PURE__ */ O(s, { children: [
13994
13969
  a,
13995
13970
  l.length > 0 && /* @__PURE__ */ m("div", { className: "mt-4", children: l.map(
13996
13971
  (c, u) => c.type === "bulleted_list" || c.type === "numbered_list" ? /* @__PURE__ */ m("div", { children: wt({ group: c.blocks, depth: 1, variant: n }) }, c.type + u) : /* @__PURE__ */ m(
@@ -14066,8 +14041,8 @@ var [Vr, rE] = Li("Tooltip", [
14066
14041
  skipDelayDuration: r = 300,
14067
14042
  disableHoverableContent: i = !1,
14068
14043
  children: s
14069
- } = e, [o, a] = O.useState(!0), l = O.useRef(!1), c = O.useRef(0);
14070
- return O.useEffect(() => {
14044
+ } = e, [o, a] = A.useState(!0), l = A.useRef(!1), c = A.useRef(0);
14045
+ return A.useEffect(() => {
14071
14046
  const u = c.current;
14072
14047
  return () => window.clearTimeout(u);
14073
14048
  }, []), /* @__PURE__ */ m(
@@ -14076,17 +14051,17 @@ var [Vr, rE] = Li("Tooltip", [
14076
14051
  scope: t,
14077
14052
  isOpenDelayed: o,
14078
14053
  delayDuration: n,
14079
- onOpen: O.useCallback(() => {
14054
+ onOpen: A.useCallback(() => {
14080
14055
  window.clearTimeout(c.current), a(!1);
14081
14056
  }, []),
14082
- onClose: O.useCallback(() => {
14057
+ onClose: A.useCallback(() => {
14083
14058
  window.clearTimeout(c.current), c.current = window.setTimeout(
14084
14059
  () => a(!0),
14085
14060
  r
14086
14061
  );
14087
14062
  }, [r]),
14088
14063
  isPointerInTransitRef: l,
14089
- onPointerInTransitChange: O.useCallback((u) => {
14064
+ onPointerInTransitChange: A.useCallback((u) => {
14090
14065
  l.current = u;
14091
14066
  }, []),
14092
14067
  disableHoverableContent: i,
@@ -14104,22 +14079,22 @@ var Fr = "Tooltip", [tx, Ur] = Vr(Fr), ad = (e) => {
14104
14079
  onOpenChange: s,
14105
14080
  disableHoverableContent: o,
14106
14081
  delayDuration: a
14107
- } = e, l = Fs(Fr, e.__scopeTooltip), c = Br(t), [u, f] = O.useState(null), d = Vi(), h = O.useRef(0), p = o ?? l.disableHoverableContent, g = a ?? l.delayDuration, b = O.useRef(!1), [y = !1, v] = jt({
14082
+ } = e, l = Fs(Fr, e.__scopeTooltip), c = Br(t), [u, f] = A.useState(null), d = Vi(), h = A.useRef(0), p = o ?? l.disableHoverableContent, g = a ?? l.delayDuration, b = A.useRef(!1), [y = !1, v] = jt({
14108
14083
  prop: r,
14109
14084
  defaultProp: i,
14110
14085
  onChange: (L) => {
14111
14086
  L ? (l.onOpen(), document.dispatchEvent(new CustomEvent(Ii))) : l.onClose(), s == null || s(L);
14112
14087
  }
14113
- }), w = O.useMemo(() => y ? b.current ? "delayed-open" : "instant-open" : "closed", [y]), x = O.useCallback(() => {
14088
+ }), w = A.useMemo(() => y ? b.current ? "delayed-open" : "instant-open" : "closed", [y]), x = A.useCallback(() => {
14114
14089
  window.clearTimeout(h.current), h.current = 0, b.current = !1, v(!0);
14115
- }, [v]), E = O.useCallback(() => {
14090
+ }, [v]), E = A.useCallback(() => {
14116
14091
  window.clearTimeout(h.current), h.current = 0, v(!1);
14117
- }, [v]), N = O.useCallback(() => {
14092
+ }, [v]), S = A.useCallback(() => {
14118
14093
  window.clearTimeout(h.current), h.current = window.setTimeout(() => {
14119
14094
  b.current = !0, v(!0), h.current = 0;
14120
14095
  }, g);
14121
14096
  }, [g, v]);
14122
- return O.useEffect(() => () => {
14097
+ return A.useEffect(() => () => {
14123
14098
  h.current && (window.clearTimeout(h.current), h.current = 0);
14124
14099
  }, []), /* @__PURE__ */ m(Ud, { ...c, children: /* @__PURE__ */ m(
14125
14100
  tx,
@@ -14130,10 +14105,10 @@ var Fr = "Tooltip", [tx, Ur] = Vr(Fr), ad = (e) => {
14130
14105
  stateAttribute: w,
14131
14106
  trigger: u,
14132
14107
  onTriggerChange: f,
14133
- onTriggerEnter: O.useCallback(() => {
14134
- l.isOpenDelayed ? N() : x();
14135
- }, [l.isOpenDelayed, N, x]),
14136
- onTriggerLeave: O.useCallback(() => {
14108
+ onTriggerEnter: A.useCallback(() => {
14109
+ l.isOpenDelayed ? S() : x();
14110
+ }, [l.isOpenDelayed, S, x]),
14111
+ onTriggerLeave: A.useCallback(() => {
14137
14112
  p ? E() : (window.clearTimeout(h.current), h.current = 0);
14138
14113
  }, [E, p]),
14139
14114
  onOpen: x,
@@ -14144,10 +14119,10 @@ var Fr = "Tooltip", [tx, Ur] = Vr(Fr), ad = (e) => {
14144
14119
  ) });
14145
14120
  };
14146
14121
  ad.displayName = Fr;
14147
- var ki = "TooltipTrigger", ld = O.forwardRef(
14122
+ var ki = "TooltipTrigger", ld = A.forwardRef(
14148
14123
  (e, t) => {
14149
- const { __scopeTooltip: n, ...r } = e, i = Ur(ki, n), s = Fs(ki, n), o = Br(n), a = O.useRef(null), l = Er(t, a, i.onTriggerChange), c = O.useRef(!1), u = O.useRef(!1), f = O.useCallback(() => c.current = !1, []);
14150
- return O.useEffect(() => () => document.removeEventListener("pointerup", f), [f]), /* @__PURE__ */ m(kd, { asChild: !0, ...o, children: /* @__PURE__ */ m(
14124
+ const { __scopeTooltip: n, ...r } = e, i = Ur(ki, n), s = Fs(ki, n), o = Br(n), a = A.useRef(null), l = Er(t, a, i.onTriggerChange), c = A.useRef(!1), u = A.useRef(!1), f = A.useCallback(() => c.current = !1, []);
14125
+ return A.useEffect(() => () => document.removeEventListener("pointerup", f), [f]), /* @__PURE__ */ m(kd, { asChild: !0, ...o, children: /* @__PURE__ */ m(
14151
14126
  dt.button,
14152
14127
  {
14153
14128
  "aria-describedby": i.open ? i.contentId : void 0,
@@ -14175,29 +14150,29 @@ var ki = "TooltipTrigger", ld = O.forwardRef(
14175
14150
  ld.displayName = ki;
14176
14151
  var nx = "TooltipPortal", [iE, rx] = Vr(nx, {
14177
14152
  forceMount: void 0
14178
- }), ln = "TooltipContent", cd = O.forwardRef(
14153
+ }), ln = "TooltipContent", cd = A.forwardRef(
14179
14154
  (e, t) => {
14180
14155
  const n = rx(ln, e.__scopeTooltip), { forceMount: r = n.forceMount, side: i = "top", ...s } = e, o = Ur(ln, e.__scopeTooltip);
14181
14156
  return /* @__PURE__ */ m(Pa, { present: r || o.open, children: o.disableHoverableContent ? /* @__PURE__ */ m(ud, { side: i, ...s, ref: t }) : /* @__PURE__ */ m(ix, { side: i, ...s, ref: t }) });
14182
14157
  }
14183
- ), ix = O.forwardRef((e, t) => {
14184
- const n = Ur(ln, e.__scopeTooltip), r = Fs(ln, e.__scopeTooltip), i = O.useRef(null), s = Er(t, i), [o, a] = O.useState(null), { trigger: l, onClose: c } = n, u = i.current, { onPointerInTransitChange: f } = r, d = O.useCallback(() => {
14158
+ ), ix = A.forwardRef((e, t) => {
14159
+ const n = Ur(ln, e.__scopeTooltip), r = Fs(ln, e.__scopeTooltip), i = A.useRef(null), s = Er(t, i), [o, a] = A.useState(null), { trigger: l, onClose: c } = n, u = i.current, { onPointerInTransitChange: f } = r, d = A.useCallback(() => {
14185
14160
  a(null), f(!1);
14186
- }, [f]), h = O.useCallback(
14161
+ }, [f]), h = A.useCallback(
14187
14162
  (p, g) => {
14188
14163
  const b = p.currentTarget, y = { x: p.clientX, y: p.clientY }, v = lx(y, b.getBoundingClientRect()), w = cx(y, v), x = ux(g.getBoundingClientRect()), E = fx([...w, ...x]);
14189
14164
  a(E), f(!0);
14190
14165
  },
14191
14166
  [f]
14192
14167
  );
14193
- return O.useEffect(() => () => d(), [d]), O.useEffect(() => {
14168
+ return A.useEffect(() => () => d(), [d]), A.useEffect(() => {
14194
14169
  if (l && u) {
14195
14170
  const p = (b) => h(b, u), g = (b) => h(b, l);
14196
14171
  return l.addEventListener("pointerleave", p), u.addEventListener("pointerleave", g), () => {
14197
14172
  l.removeEventListener("pointerleave", p), u.removeEventListener("pointerleave", g);
14198
14173
  };
14199
14174
  }
14200
- }, [l, u, h, d]), O.useEffect(() => {
14175
+ }, [l, u, h, d]), A.useEffect(() => {
14201
14176
  if (o) {
14202
14177
  const p = (g) => {
14203
14178
  const b = g.target, y = { x: g.clientX, y: g.clientY }, v = (l == null ? void 0 : l.contains(b)) || (u == null ? void 0 : u.contains(b)), w = !dx(y, o);
@@ -14206,7 +14181,7 @@ var nx = "TooltipPortal", [iE, rx] = Vr(nx, {
14206
14181
  return document.addEventListener("pointermove", p), () => document.removeEventListener("pointermove", p);
14207
14182
  }
14208
14183
  }, [l, u, o, c, d]), /* @__PURE__ */ m(ud, { ...e, ref: s });
14209
- }), [sx, ox] = Vr(Fr, { isInside: !1 }), ud = O.forwardRef(
14184
+ }), [sx, ox] = Vr(Fr, { isInside: !1 }), ud = A.forwardRef(
14210
14185
  (e, t) => {
14211
14186
  const {
14212
14187
  __scopeTooltip: n,
@@ -14216,7 +14191,7 @@ var nx = "TooltipPortal", [iE, rx] = Vr(nx, {
14216
14191
  onPointerDownOutside: o,
14217
14192
  ...a
14218
14193
  } = e, l = Ur(ln, n), c = Br(n), { onClose: u } = l;
14219
- return O.useEffect(() => (document.addEventListener(Ii, u), () => document.removeEventListener(Ii, u)), [u]), O.useEffect(() => {
14194
+ return A.useEffect(() => (document.addEventListener(Ii, u), () => document.removeEventListener(Ii, u)), [u]), A.useEffect(() => {
14220
14195
  if (l.trigger) {
14221
14196
  const f = (d) => {
14222
14197
  const h = d.target;
@@ -14233,7 +14208,7 @@ var nx = "TooltipPortal", [iE, rx] = Vr(nx, {
14233
14208
  onPointerDownOutside: o,
14234
14209
  onFocusOutside: (f) => f.preventDefault(),
14235
14210
  onDismiss: u,
14236
- children: /* @__PURE__ */ P(
14211
+ children: /* @__PURE__ */ O(
14237
14212
  Vd,
14238
14213
  {
14239
14214
  "data-state": l.stateAttribute,
@@ -14259,7 +14234,7 @@ var nx = "TooltipPortal", [iE, rx] = Vr(nx, {
14259
14234
  }
14260
14235
  );
14261
14236
  cd.displayName = ln;
14262
- var dd = "TooltipArrow", ax = O.forwardRef(
14237
+ var dd = "TooltipArrow", ax = A.forwardRef(
14263
14238
  (e, t) => {
14264
14239
  const { __scopeTooltip: n, ...r } = e, i = Br(n);
14265
14240
  return ox(
@@ -14423,7 +14398,7 @@ const Ca = {
14423
14398
  transform: "translateX(-60%) translateY(-50%) rotate(45deg)"
14424
14399
  }
14425
14400
  }[e] };
14426
- }, hd = O.forwardRef(
14401
+ }, hd = A.forwardRef(
14427
14402
  ({
14428
14403
  className: e,
14429
14404
  variant: t = "primary",
@@ -14447,7 +14422,7 @@ const Ca = {
14447
14422
  align: p,
14448
14423
  style: { zIndex: 50 },
14449
14424
  ...c,
14450
- children: /* @__PURE__ */ P(
14425
+ children: /* @__PURE__ */ O(
14451
14426
  "div",
14452
14427
  {
14453
14428
  className: k(
@@ -14460,7 +14435,7 @@ const Ca = {
14460
14435
  children: [
14461
14436
  l && /* @__PURE__ */ m("div", { style: f, className: "absolute z-20" }),
14462
14437
  /* @__PURE__ */ m("div", { className: "absolute inset-0 z-30 bg-white" }),
14463
- /* @__PURE__ */ P(
14438
+ /* @__PURE__ */ O(
14464
14439
  "div",
14465
14440
  {
14466
14441
  className: k(
@@ -14496,12 +14471,12 @@ const pd = ({
14496
14471
  forceMount: l,
14497
14472
  isMobile: c = bn
14498
14473
  }) => {
14499
- const [u, f] = O.useState(!1), d = O.useRef(null), h = typeof c == "number" ? c : 3e3, p = () => {
14474
+ const [u, f] = A.useState(!1), d = A.useRef(null), h = typeof c == "number" ? c : 3e3, p = () => {
14500
14475
  u ? f(!1) : (f(!0), d.current && clearTimeout(d.current), d.current = setTimeout(() => f(!1), h));
14501
14476
  };
14502
- return O.useEffect(() => () => {
14477
+ return A.useEffect(() => () => {
14503
14478
  d.current && clearTimeout(d.current);
14504
- }, []), /* @__PURE__ */ m(yx, { delayDuration: 200, children: /* @__PURE__ */ P(vx, { delayDuration: 200, children: [
14479
+ }, []), /* @__PURE__ */ m(yx, { delayDuration: 200, children: /* @__PURE__ */ O(vx, { delayDuration: 200, children: [
14505
14480
  /* @__PURE__ */ m(
14506
14481
  wx,
14507
14482
  {
@@ -14531,14 +14506,14 @@ const pd = ({
14531
14506
  function Ex(e, t = []) {
14532
14507
  let n = [];
14533
14508
  function r(s, o) {
14534
- const a = O.createContext(o), l = n.length;
14509
+ const a = A.createContext(o), l = n.length;
14535
14510
  n = [...n, o];
14536
14511
  function c(f) {
14537
- const { scope: d, children: h, ...p } = f, g = (d == null ? void 0 : d[e][l]) || a, b = O.useMemo(() => p, Object.values(p));
14512
+ const { scope: d, children: h, ...p } = f, g = (d == null ? void 0 : d[e][l]) || a, b = A.useMemo(() => p, Object.values(p));
14538
14513
  return /* @__PURE__ */ m(g.Provider, { value: b, children: h });
14539
14514
  }
14540
14515
  function u(f, d) {
14541
- const h = (d == null ? void 0 : d[e][l]) || a, p = O.useContext(h);
14516
+ const h = (d == null ? void 0 : d[e][l]) || a, p = A.useContext(h);
14542
14517
  if (p) return p;
14543
14518
  if (o !== void 0) return o;
14544
14519
  throw new Error(`\`${f}\` must be used within \`${s}\``);
@@ -14546,10 +14521,10 @@ function Ex(e, t = []) {
14546
14521
  return c.displayName = s + "Provider", [c, u];
14547
14522
  }
14548
14523
  const i = () => {
14549
- const s = n.map((o) => O.createContext(o));
14524
+ const s = n.map((o) => A.createContext(o));
14550
14525
  return function(a) {
14551
14526
  const l = (a == null ? void 0 : a[e]) || s;
14552
- return O.useMemo(
14527
+ return A.useMemo(
14553
14528
  () => ({ [`__scope${e}`]: { ...a, [e]: l } }),
14554
14529
  [a, l]
14555
14530
  );
@@ -14570,12 +14545,12 @@ function Tx(...e) {
14570
14545
  const f = l(s)[`__scope${c}`];
14571
14546
  return { ...a, ...f };
14572
14547
  }, {});
14573
- return O.useMemo(() => ({ [`__scope${t.scopeName}`]: o }), [o]);
14548
+ return A.useMemo(() => ({ [`__scope${t.scopeName}`]: o }), [o]);
14574
14549
  };
14575
14550
  };
14576
14551
  return n.scopeName = t.scopeName, n;
14577
14552
  }
14578
- var _x = "Toggle", md = O.forwardRef((e, t) => {
14553
+ var _x = "Toggle", md = A.forwardRef((e, t) => {
14579
14554
  const { pressed: n, defaultPressed: r = !1, onPressedChange: i, ...s } = e, [o = !1, a] = jt({
14580
14555
  prop: n,
14581
14556
  onChange: i,
@@ -14602,13 +14577,13 @@ var hn = "ToggleGroup", [gd, sE] = Ex(hn, [
14602
14577
  ]), bd = Ia(), Us = K.forwardRef((e, t) => {
14603
14578
  const { type: n, ...r } = e;
14604
14579
  if (n === "single")
14605
- return /* @__PURE__ */ m(Nx, { ...r, ref: t });
14606
- if (n === "multiple")
14607
14580
  return /* @__PURE__ */ m(Sx, { ...r, ref: t });
14581
+ if (n === "multiple")
14582
+ return /* @__PURE__ */ m(Nx, { ...r, ref: t });
14608
14583
  throw new Error(`Missing prop \`type\` expected on \`${hn}\``);
14609
14584
  });
14610
14585
  Us.displayName = hn;
14611
- var [yd, vd] = gd(hn), Nx = K.forwardRef((e, t) => {
14586
+ var [yd, vd] = gd(hn), Sx = K.forwardRef((e, t) => {
14612
14587
  const {
14613
14588
  value: n,
14614
14589
  defaultValue: r,
@@ -14631,7 +14606,7 @@ var [yd, vd] = gd(hn), Nx = K.forwardRef((e, t) => {
14631
14606
  children: /* @__PURE__ */ m(wd, { ...s, ref: t })
14632
14607
  }
14633
14608
  );
14634
- }), Sx = K.forwardRef((e, t) => {
14609
+ }), Nx = K.forwardRef((e, t) => {
14635
14610
  const {
14636
14611
  value: n,
14637
14612
  defaultValue: r,
@@ -14765,16 +14740,16 @@ const Px = Wd(
14765
14740
  checked: !1
14766
14741
  }
14767
14742
  }
14768
- ), $s = O.createContext({
14743
+ ), $s = A.createContext({
14769
14744
  theme: "primary",
14770
14745
  size: "md",
14771
14746
  shape: "square"
14772
14747
  });
14773
14748
  $s.displayName = "ToggleGroupContext";
14774
- const js = O.forwardRef(({ className: e, variant: t, theme: n, size: r, shape: i, children: s, ...o }, a) => /* @__PURE__ */ m($s.Provider, { value: { theme: n, size: r, shape: i }, children: /* @__PURE__ */ m(Ed, { ref: a, className: k("flex items-center justify-center gap-1", e), ...o, children: s }) }));
14749
+ const js = A.forwardRef(({ className: e, variant: t, theme: n, size: r, shape: i, children: s, ...o }, a) => /* @__PURE__ */ m($s.Provider, { value: { theme: n, size: r, shape: i }, children: /* @__PURE__ */ m(Ed, { ref: a, className: k("flex items-center justify-center gap-1", e), ...o, children: s }) }));
14775
14750
  js.displayName = Ed.displayName;
14776
- const Mn = O.forwardRef(({ className: e, checked: t = !1, children: n, ...r }, i) => {
14777
- const s = O.useContext($s);
14751
+ const Mn = A.forwardRef(({ className: e, checked: t = !1, children: n, ...r }, i) => {
14752
+ const s = A.useContext($s);
14778
14753
  return /* @__PURE__ */ m(
14779
14754
  Td,
14780
14755
  {
@@ -14931,8 +14906,8 @@ export {
14931
14906
  EE as DialogClose,
14932
14907
  TE as DialogContent,
14933
14908
  _E as DialogDescription,
14934
- NE as DialogFooter,
14935
- SE as DialogForm,
14909
+ SE as DialogFooter,
14910
+ NE as DialogForm,
14936
14911
  CE as DialogHeader,
14937
14912
  AE as DialogOverlay,
14938
14913
  PE as DialogPortal,