@plusrouter/ui 0.1.24 → 0.1.25

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
1
  import { jsxs as a, jsx as e, Fragment as De } from "react/jsx-runtime";
2
- import { w as dt, u as rt, B as Y, I as nt, R as _e, a as Ze, r as Dt, b as Ee, L as ht, c as pt, d as Ot, P as Ut, e as zt, E as Xt, C as Gt, f as Yt, g as jt, S as Wt, h as Vt, i as Kt, j as Jt, k as Zt, l as Qt, m as ea, n as ta, o as aa, p as na, q as ra, s as ia, t as At, T as sa, v as oa } from "./SideNavigation-uaK5wkfX.js";
3
- import { M as si, x as oi, y as li, z as ci, A as di, D as hi, F as pi, G as ui, H as mi, J as gi, K as fi, N as bi, O as vi, Q as yi, U as _i, V as Ni, W as Mi, X as wi, Y as ki, Z as $i, _ as xi } from "./SideNavigation-uaK5wkfX.js";
2
+ import { w as dt, u as rt, B as Y, I as nt, R as _e, a as Ze, r as Dt, b as Ee, L as ht, c as pt, d as Ot, P as Ut, e as zt, E as Xt, C as Gt, f as Yt, g as jt, S as Wt, h as Vt, i as Kt, j as Jt, k as Zt, l as Qt, m as ea, n as ta, o as aa, p as na, q as ra, s as ia, t as At, T as sa, v as oa } from "./SideNavigation-YEfx7Msf.js";
3
+ import { M as oi, x as li, y as ci, z as di, A as hi, D as pi, F as ui, G as mi, H as gi, J as fi, K as bi, N as vi, O as yi, Q as _i, U as Ni, V as Mi, W as wi, X as ki, Y as $i, Z as xi, _ as Ci } from "./SideNavigation-YEfx7Msf.js";
4
4
  import Lt, { useId as Je, useState as qe, useEffect as Se, useContext as la, createContext as ca, useMemo as et, Fragment as da, useRef as Te, forwardRef as Oe } from "react";
5
5
  import * as Ne from "@radix-ui/react-alert-dialog";
6
6
  import oe from "clsx";
7
7
  import { Globe as ha } from "lucide-react";
8
8
  const Ae = { ...rt, ...dt };
9
- function Sr({
9
+ function Br({
10
10
  languageControl: t
11
11
  } = {}) {
12
12
  return /* @__PURE__ */ a("div", { className: "customer-incumbent", style: { display: "contents" }, children: [
@@ -710,7 +710,7 @@ function ua({
710
710
  }
711
711
  );
712
712
  }
713
- function Ye({
713
+ function je({
714
714
  status: t,
715
715
  error: n,
716
716
  onRetry: r,
@@ -722,7 +722,7 @@ function Ye({
722
722
  r && /* @__PURE__ */ e(ua, { onClick: r, children: "Try again" })
723
723
  ] }) : /* @__PURE__ */ e("div", { className: `${l["empty-state"]}`, role: "status", children: t === "loading" ? o : c });
724
724
  }
725
- function Br({
725
+ function Rr({
726
726
  page: t,
727
727
  theme: n,
728
728
  children: r,
@@ -880,7 +880,7 @@ function Br({
880
880
  }
881
881
  );
882
882
  }
883
- function Rr({
883
+ function Tr({
884
884
  groups: t,
885
885
  query: n,
886
886
  onQueryChange: r,
@@ -940,7 +940,7 @@ function Rr({
940
940
  )
941
941
  ] }),
942
942
  u !== "ready" ? /* @__PURE__ */ e(
943
- Ye,
943
+ je,
944
944
  {
945
945
  status: u,
946
946
  error: x,
@@ -949,7 +949,7 @@ function Rr({
949
949
  }
950
950
  ) : /* @__PURE__ */ a("div", { className: "tiles", children: [
951
951
  g.length === 0 && /* @__PURE__ */ e(
952
- Ye,
952
+ je,
953
953
  {
954
954
  loading: "",
955
955
  empty: n.trim() ? `No providers match “${n.trim()}”. Try another name or add a custom provider.` : "No providers available."
@@ -1012,7 +1012,7 @@ function Rr({
1012
1012
  )
1013
1013
  ] });
1014
1014
  }
1015
- function Tr({
1015
+ function Pr({
1016
1016
  agents: t,
1017
1017
  endpoint: n,
1018
1018
  onCopyEndpoint: r,
@@ -1083,7 +1083,7 @@ function Tr({
1083
1083
  )
1084
1084
  ] }),
1085
1085
  y !== "ready" ? /* @__PURE__ */ e(
1086
- Ye,
1086
+ je,
1087
1087
  {
1088
1088
  status: y,
1089
1089
  error: m,
@@ -1160,7 +1160,7 @@ function Tr({
1160
1160
  }
1161
1161
  ) }),
1162
1162
  t.length === 0 && /* @__PURE__ */ e(
1163
- Ye,
1163
+ je,
1164
1164
  {
1165
1165
  loading: "",
1166
1166
  empty: "No agents found. Install an agent to configure its models."
@@ -1281,7 +1281,7 @@ const mt = [
1281
1281
  "All",
1282
1282
  "Custom"
1283
1283
  ];
1284
- function Pr({
1284
+ function Ir({
1285
1285
  period: t,
1286
1286
  onPeriodChange: n,
1287
1287
  data: r,
@@ -1459,7 +1459,7 @@ function Pr({
1459
1459
  ),
1460
1460
  /* @__PURE__ */ e("p", { className: `${l["usage-note"]}`, children: "Gateway calls only; session-log calls are in Requests. Local rejections are excluded from totals." }),
1461
1461
  u !== "ready" ? /* @__PURE__ */ e(
1462
- Ye,
1462
+ je,
1463
1463
  {
1464
1464
  status: u,
1465
1465
  error: x,
@@ -1491,7 +1491,7 @@ function Pr({
1491
1491
  children: [
1492
1492
  /* @__PURE__ */ e("h2", { children: "Calls" }),
1493
1493
  f.series.length === 0 ? /* @__PURE__ */ e(
1494
- Ye,
1494
+ je,
1495
1495
  {
1496
1496
  loading: "",
1497
1497
  empty: "No time-series breakdown available."
@@ -1527,7 +1527,7 @@ function Pr({
1527
1527
  }
1528
1528
  )
1529
1529
  ] }) : /* @__PURE__ */ e(
1530
- Ye,
1530
+ je,
1531
1531
  {
1532
1532
  loading: "",
1533
1533
  empty: "Usage is unavailable. Refresh to try again."
@@ -1536,7 +1536,7 @@ function Pr({
1536
1536
  ] });
1537
1537
  }
1538
1538
  const st = { ...rt, ...dt };
1539
- function Ir({
1539
+ function Fr({
1540
1540
  name: t,
1541
1541
  icon: n,
1542
1542
  detail: r,
@@ -1563,7 +1563,7 @@ const gt = {
1563
1563
  md: { box: 48, icon: 32, text: 14 },
1564
1564
  lg: { box: 72, icon: 48, text: 16 }
1565
1565
  };
1566
- function Fr({
1566
+ function qr({
1567
1567
  name: t,
1568
1568
  icon: n,
1569
1569
  showIcon: r = !0,
@@ -1683,7 +1683,7 @@ function Mn(t) {
1683
1683
  return t.replace("_", "-").split("-")[1]?.toUpperCase();
1684
1684
  }
1685
1685
  }
1686
- function qr(t) {
1686
+ function Er(t) {
1687
1687
  const n = t.trim().toUpperCase();
1688
1688
  return /^[A-Z]{2}$/.test(n) ? String.fromCodePoint(
1689
1689
  ...[n.charCodeAt(0), n.charCodeAt(1)].map(
@@ -1746,7 +1746,7 @@ function xn() {
1746
1746
  };
1747
1747
  }, [t]), [n, r.overflowing && !r.atEnd];
1748
1748
  }
1749
- const Er = ({
1749
+ const Hr = ({
1750
1750
  locale: t = typeof navigator > "u" ? "en-US" : navigator.language,
1751
1751
  countries: n,
1752
1752
  cryptoMethods: r = [],
@@ -2100,7 +2100,7 @@ const Er = ({
2100
2100
  "var(--rp-color-danger)",
2101
2101
  "var(--rp-color-border-strong)",
2102
2102
  "var(--rp-color-text-muted)"
2103
- ], Hr = ({
2103
+ ], Dr = ({
2104
2104
  values: t,
2105
2105
  labels: n,
2106
2106
  stacked: r = !1,
@@ -2189,7 +2189,7 @@ const Er = ({
2189
2189
  "rp-heatmap-level-2": "rp_Heatmap-module_rp-heatmap-level-2_WdX9AXcf",
2190
2190
  "rp-heatmap-level-3": "rp_Heatmap-module_rp-heatmap-level-3_5zBU5sNx",
2191
2191
  "rp-heatmap-level-4": "rp_Heatmap-module_rp-heatmap-level-4_aMEF1e1x"
2192
- }, bt = ["Mon", "Tue", "Wed", "Thu", "Fri", "Sat", "Sun"], Dr = ({
2192
+ }, bt = ["Mon", "Tue", "Wed", "Thu", "Fri", "Sat", "Sun"], Or = ({
2193
2193
  levels: t,
2194
2194
  columnLabels: n = [],
2195
2195
  label: r = "Activity heatmap"
@@ -2224,22 +2224,22 @@ const Er = ({
2224
2224
  ] }, h))
2225
2225
  }
2226
2226
  ) });
2227
- }, je = {
2227
+ }, We = {
2228
2228
  "rp-metric-strip": "rp_MetricStrip-module_rp-metric-strip_oAjqn-aO",
2229
2229
  "rp-metric-strip--six": "rp_MetricStrip-module_rp-metric-strip--six_THBfnydZ",
2230
2230
  "rp-metric-strip-card": "rp_MetricStrip-module_rp-metric-strip-card_63Ke96LL",
2231
2231
  "rp-metric-strip-value": "rp_MetricStrip-module_rp-metric-strip-value_uZ3-dhTN",
2232
2232
  "rp-metric-strip-label": "rp_MetricStrip-module_rp-metric-strip-label_vPmmuX6U",
2233
2233
  "rp-metric-strip-detail": "rp_MetricStrip-module_rp-metric-strip-detail_eX9vbuU3"
2234
- }, Or = ({ metrics: t }) => {
2234
+ }, Ur = ({ metrics: t }) => {
2235
2235
  const n = oe(
2236
- je["rp-metric-strip"],
2237
- t.length === 6 && je["rp-metric-strip--six"]
2236
+ We["rp-metric-strip"],
2237
+ t.length === 6 && We["rp-metric-strip--six"]
2238
2238
  );
2239
- return /* @__PURE__ */ e("div", { className: n, children: t.map((r) => /* @__PURE__ */ a("div", { className: je["rp-metric-strip-card"], children: [
2240
- /* @__PURE__ */ e("b", { className: je["rp-metric-strip-value"], children: r.value }),
2241
- /* @__PURE__ */ e("span", { className: je["rp-metric-strip-label"], children: r.label }),
2242
- r.detail && /* @__PURE__ */ e("small", { className: je["rp-metric-strip-detail"], children: r.detail })
2239
+ return /* @__PURE__ */ e("div", { className: n, children: t.map((r) => /* @__PURE__ */ a("div", { className: We["rp-metric-strip-card"], children: [
2240
+ /* @__PURE__ */ e("b", { className: We["rp-metric-strip-value"], children: r.value }),
2241
+ /* @__PURE__ */ e("span", { className: We["rp-metric-strip-label"], children: r.label }),
2242
+ r.detail && /* @__PURE__ */ e("small", { className: We["rp-metric-strip-detail"], children: r.detail })
2243
2243
  ] }, r.label)) });
2244
2244
  }, Ke = {
2245
2245
  "rp-panel": "rp_Panel-module_rp-panel_phtJNPn-",
@@ -2247,7 +2247,7 @@ const Er = ({
2247
2247
  "rp-panel-title": "rp_Panel-module_rp-panel-title_i0XnBxgm",
2248
2248
  "rp-panel-spacer": "rp_Panel-module_rp-panel-spacer_Kv3uqewf",
2249
2249
  "rp-panel-footer": "rp_Panel-module_rp-panel-footer_VMolMpS9"
2250
- }, Ur = ({
2250
+ }, zr = ({
2251
2251
  title: t,
2252
2252
  actions: n,
2253
2253
  children: r,
@@ -2274,7 +2274,7 @@ const Er = ({
2274
2274
  "rp-ranking-track": "rp_Ranking-module_rp-ranking-track_aXkuRs2Q",
2275
2275
  "rp-ranking-value": "rp_Ranking-module_rp-ranking-value_fEjyec2m",
2276
2276
  "rp-ranking-cost": "rp_Ranking-module_rp-ranking-cost_xFBMNKql"
2277
- }, zr = ({ items: t, onSelect: n }) => /* @__PURE__ */ e(
2277
+ }, Xr = ({ items: t, onSelect: n }) => /* @__PURE__ */ e(
2278
2278
  "div",
2279
2279
  {
2280
2280
  className: Fe["rp-ranking"],
@@ -2324,7 +2324,7 @@ const Er = ({
2324
2324
  "Out",
2325
2325
  "Cost",
2326
2326
  "Status"
2327
- ], Xr = ({ rows: t }) => /* @__PURE__ */ e(
2327
+ ], Gr = ({ rows: t }) => /* @__PURE__ */ e(
2328
2328
  "div",
2329
2329
  {
2330
2330
  className: ke["rp-request-table-scroll"],
@@ -2387,7 +2387,7 @@ const Er = ({
2387
2387
  "rp-session-shape-bar": "rp_SessionShape-module_rp-session-shape-bar_RundK3ML",
2388
2388
  "rp-session-shape-col--peak": "rp_SessionShape-module_rp-session-shape-col--peak_2FbAs9hr",
2389
2389
  "rp-session-shape-label": "rp_SessionShape-module_rp-session-shape-label_QhTXuqr6"
2390
- }, Gr = ({ values: t, labels: n }) => {
2390
+ }, Yr = ({ values: t, labels: n }) => {
2391
2391
  const r = Math.max(1, ...t);
2392
2392
  return /* @__PURE__ */ e(
2393
2393
  "div",
@@ -2437,7 +2437,7 @@ const Er = ({
2437
2437
  "rp-usage-list-value": "rp_UsageList-module_rp-usage-list-value_ZYLULILo",
2438
2438
  "rp-usage-list-breakdown": "rp_UsageList-module_rp-usage-list-breakdown_lqbEDax6",
2439
2439
  "rp-usage-list-cost": "rp_UsageList-module_rp-usage-list-cost_wVgLbsTn"
2440
- }, Yr = ({ items: t }) => /* @__PURE__ */ e("div", { className: Ce["rp-usage-list"], children: t.map((n) => /* @__PURE__ */ a(
2440
+ }, jr = ({ items: t }) => /* @__PURE__ */ e("div", { className: Ce["rp-usage-list"], children: t.map((n) => /* @__PURE__ */ a(
2441
2441
  "div",
2442
2442
  {
2443
2443
  className: oe(
@@ -2636,7 +2636,7 @@ function Rt(t, n) {
2636
2636
  };
2637
2637
  }, [t]), r;
2638
2638
  }
2639
- function jr({ background: t, cellSize: n }) {
2639
+ function Wr({ background: t, cellSize: n }) {
2640
2640
  const r = Rt(!1, n);
2641
2641
  return /* @__PURE__ */ e(
2642
2642
  "canvas",
@@ -2652,7 +2652,7 @@ const vt = {
2652
2652
  "rp-plus-field-canvas": "rp_PlusField-module_rp-plus-field-canvas_ZN-2OlaQ",
2653
2653
  "rp-plus-field-dots": "rp_PlusField-module_rp-plus-field-dots_e1Khngt7"
2654
2654
  };
2655
- function Wr({ dots: t = !1 }) {
2655
+ function Vr({ dots: t = !1 }) {
2656
2656
  const n = Te(null);
2657
2657
  return Se(() => {
2658
2658
  const r = n.current;
@@ -2830,16 +2830,16 @@ const Xe = {
2830
2830
  "--rp-color-line-field-tier-2",
2831
2831
  "--rp-color-line-field-tier-3",
2832
2832
  "--rp-color-line-field-tier-4"
2833
- ], Ge = (t) => {
2833
+ ], Ye = (t) => {
2834
2834
  const n = Math.sin(t * 127.1) * 43758.5453;
2835
2835
  return n - Math.floor(n);
2836
2836
  }, Fn = Array.from({ length: Tn }, (t, n) => ({
2837
- angle: Ge(n + 1) * Math.PI * 2,
2838
- width: 0.02 + Ge(n + 21) * 0.05,
2839
- dashes: 22 + Ge(n + 41) * 26,
2840
- phase: Ge(n + 61) * Math.PI * 2,
2841
- drift: (Ge(n + 81) - 0.5) * 0.09,
2842
- speed: 0.4 + Ge(n + 101) * 0.7
2837
+ angle: Ye(n + 1) * Math.PI * 2,
2838
+ width: 0.02 + Ye(n + 21) * 0.05,
2839
+ dashes: 22 + Ye(n + 41) * 26,
2840
+ phase: Ye(n + 61) * Math.PI * 2,
2841
+ drift: (Ye(n + 81) - 0.5) * 0.09,
2842
+ speed: 0.4 + Ye(n + 101) * 0.7
2843
2843
  })), qn = (t) => Math.atan2(Math.sin(t), Math.cos(t)), En = (t) => t < 0.2 ? -1 : t < 0.4 ? 0 : t < 0.6 ? 1 : t < 0.8 ? 2 : 3, Hn = (t, n, r, o, c, i) => {
2844
2844
  const h = n * o / 2, p = r * c / 2, u = n * o * 0.5;
2845
2845
  for (let x = 0; x < r; x++) {
@@ -2853,7 +2853,7 @@ const Xe = {
2853
2853
  const C = 0.5 + 0.5 * Math.sin(g * L.dashes - i * L.speed + L.phase);
2854
2854
  m = Math.max(m, v * (0.3 + 0.7 * C));
2855
2855
  }
2856
- m *= 0.7 + 0.6 * Ge(w * 3.17 + x * 7.31);
2856
+ m *= 0.7 + 0.6 * Ye(w * 3.17 + x * 7.31);
2857
2857
  const f = Math.min(1, Math.max(0, (g - 0.12) / 0.3));
2858
2858
  m *= f * f * (3 - 2 * f), t[x * n + w] = Math.min(
2859
2859
  1,
@@ -2952,7 +2952,7 @@ function Un() {
2952
2952
  };
2953
2953
  }, []), t;
2954
2954
  }
2955
- function Vr({ className: t }) {
2955
+ function Kr({ className: t }) {
2956
2956
  const n = Un();
2957
2957
  return /* @__PURE__ */ a(
2958
2958
  "div",
@@ -3015,7 +3015,7 @@ const Gn = "rp_BackgroundSquare-module_canvas_4Yh0JJmR", Yn = {
3015
3015
  u + (parseInt(h.slice(p, p + 2), 16) - u) * c
3016
3016
  );
3017
3017
  }).join(",") + ")";
3018
- }), Wn = 4096, Mt = 24, wt = 1, ot = 900, Vn = 48, We = 48, Kn = 32, lt = 3, Jn = 0.1;
3018
+ }), Wn = 4096, Mt = 24, wt = 1, ot = 900, Vn = 48, Ve = 48, Kn = 32, lt = 3, Jn = 0.1;
3019
3019
  function kt(t, n) {
3020
3020
  const r = Math.min(1, Math.max(0, (n - t.phaseAt) / 0.9));
3021
3021
  return t.phaseFrom + (t.phase - t.phaseFrom) * r * r * (3 - 2 * r);
@@ -3027,7 +3027,7 @@ function $t(t, n) {
3027
3027
  }, o = Math.floor(t), c = Math.floor(n), i = t - o, h = n - c, p = i * i * (3 - 2 * i), u = h * h * (3 - 2 * h), x = r(o, c), B = r(o + 1, c), w = r(o, c + 1), A = r(o + 1, c + 1);
3028
3028
  return x + (B - x) * p + (w - x) * u + (x - B - w + A) * p * u;
3029
3029
  }
3030
- function Kr({
3030
+ function Jr({
3031
3031
  scene: t,
3032
3032
  cellSize: n = Mt,
3033
3033
  density: r = 1,
@@ -3070,7 +3070,7 @@ function Kr({
3070
3070
  if (P < 0 || z < 0 || P > L || z > s) return;
3071
3071
  O = O.filter((U) => b - U.born < lt), b - ie >= Jn && O.length < Kn && (O.push({ x: P, y: z, born: b }), ie = b);
3072
3072
  let X = K.find(
3073
- (U) => Math.hypot(U.x - P, U.y - z) < We * 0.65
3073
+ (U) => Math.hypot(U.x - P, U.y - z) < Ve * 0.65
3074
3074
  );
3075
3075
  if (!X && K.length >= Vn && (X = K.reduce(
3076
3076
  (U, re) => Math.hypot(re.x - P, re.y - z) < Math.hypot(U.x - P, U.y - z) ? re : U
@@ -3171,13 +3171,13 @@ function Kr({
3171
3171
  ), j = (P) => {
3172
3172
  if (f.matches || !d.down || P.pointerId !== d.id)
3173
3173
  return;
3174
- const z = g.getBoundingClientRect(), X = P.clientX - z.left, J = P.clientY - z.top, U = X - d.sourceX, re = J - d.sourceY, ue = Math.hypot(U, re), Z = Math.min(64, Math.floor(ue / We));
3174
+ const z = g.getBoundingClientRect(), X = P.clientX - z.left, J = P.clientY - z.top, U = X - d.sourceX, re = J - d.sourceY, ue = Math.hypot(U, re), Z = Math.min(64, Math.floor(ue / Ve));
3175
3175
  for (let se = 1; se <= Z; se++)
3176
3176
  k(
3177
- d.sourceX + U / ue * We * se,
3178
- d.sourceY + re / ue * We * se
3177
+ d.sourceX + U / ue * Ve * se,
3178
+ d.sourceY + re / ue * Ve * se
3179
3179
  );
3180
- Z && (d.sourceX += U / ue * We * Z, d.sourceY += re / ue * We * Z), d.x = X, d.y = J, v || M();
3180
+ Z && (d.sourceX += U / ue * Ve * Z, d.sourceY += re / ue * Ve * Z), d.x = X, d.y = J, v || M();
3181
3181
  }, ee = (P) => {
3182
3182
  if (f.matches || I(P) || !P.isPrimary || P.button !== 0)
3183
3183
  return;
@@ -3239,7 +3239,7 @@ const Zn = [
3239
3239
  const n = Math.max(0, Math.min(1, t));
3240
3240
  return n * n * (3 - 2 * n);
3241
3241
  };
3242
- function Jr({
3242
+ function Zr({
3243
3243
  onComplete: t,
3244
3244
  passages: n
3245
3245
  }) {
@@ -3363,7 +3363,7 @@ function er({
3363
3363
  }
3364
3364
  );
3365
3365
  }
3366
- function Zr(t = Math.random() * 4294967295) {
3366
+ function Qr(t = Math.random() * 4294967295) {
3367
3367
  let n = t >>> 0;
3368
3368
  const r = () => {
3369
3369
  n += 1831565813;
@@ -3386,7 +3386,7 @@ function Zr(t = Math.random() * 4294967295) {
3386
3386
  phase: o(0, Math.PI * 2)
3387
3387
  };
3388
3388
  }
3389
- function Qr(t, n, r, o) {
3389
+ function ei(t, n, r, o) {
3390
3390
  if (o < 0) return { x: 0, y: 0, energy: 0 };
3391
3391
  const c = Math.hypot(n, r), i = Math.atan2(r, n), h = i * t.arms + t.rotation, p = h - c * t.curl * t.direction, u = Math.exp(-o * t.decay) * Math.min(1, o / 0.08), x = o * t.speed * (1 + t.lobes * Math.sin(h) + 0.035 * Math.sin(i * (t.arms + 3) + t.phase)), B = (c - x) / t.width, w = t.family === 2 ? 0.25 + 0.75 * Math.pow(0.5 + 0.5 * Math.sin(h + t.phase), 2) : 1, A = Math.exp(-B * B) * u * w, g = Math.pow(Math.max(0, Math.cos(p)), 8), y = Math.exp(-Math.pow((c - x * 0.6) / 95, 2)) * g * u, m = Math.exp(-c * c / 14e3) * Math.max(0, 1 - o / 0.6), f = A * t.strength + y * 22 + m * 8, L = y * 18 * Math.sin(p) * t.direction;
3392
3392
  return {
@@ -3483,7 +3483,7 @@ const ar = Oe(({ className: t, ...n }, r) => /* @__PURE__ */ e(
3483
3483
  className: oe(Ue["rp-alert-dialog__footer"], t),
3484
3484
  ...n
3485
3485
  }
3486
- )), ei = Object.assign(Ct, {
3486
+ )), ti = Object.assign(Ct, {
3487
3487
  Root: Ct,
3488
3488
  Trigger: Tt,
3489
3489
  Portal: tr,
@@ -3507,7 +3507,7 @@ const ar = Oe(({ className: t, ...n }, r) => /* @__PURE__ */ e(
3507
3507
  keyInputRow: pr,
3508
3508
  keyInput: ur,
3509
3509
  footer: mr
3510
- }, ti = ({
3510
+ }, ai = ({
3511
3511
  title: t = "Sign in to RouterPlus",
3512
3512
  description: n = "Access models and manage your account",
3513
3513
  providers: r = [],
@@ -3562,7 +3562,7 @@ const ar = Oe(({ className: t, ...n }, r) => /* @__PURE__ */ e(
3562
3562
  nav: fr,
3563
3563
  link: br,
3564
3564
  copyright: vr
3565
- }, ai = ({
3565
+ }, ni = ({
3566
3566
  logoHref: t = "/",
3567
3567
  links: n = [
3568
3568
  { label: "Sign in", href: "/auth" },
@@ -3591,24 +3591,25 @@ const ar = Oe(({ className: t, ...n }, r) => /* @__PURE__ */ e(
3591
3591
  c.label
3592
3592
  )) }),
3593
3593
  r && /* @__PURE__ */ e("div", { className: at.copyright, children: r })
3594
- ] }), yr = "rp_Header-module_header_Turig8tF", _r = "rp_Header-module_lead_0DaE0r8e", Nr = "rp_Header-module_logo_mtMWQXw6", Mr = "rp_Header-module_center_q6eURj1J", wr = "rp_Header-module_tools_H6sckGtR", Ve = {
3594
+ ] }), yr = "rp_Header-module_header_Turig8tF", _r = "rp_Header-module_apiKey_Qtd-B2hi", Nr = "rp_Header-module_tools_H6sckGtR", Mr = "rp_Header-module_lead_0DaE0r8e", wr = "rp_Header-module_logo_mtMWQXw6", kr = "rp_Header-module_center_q6eURj1J", Ge = {
3595
3595
  header: yr,
3596
- lead: _r,
3597
- logo: Nr,
3598
- center: Mr,
3599
- tools: wr
3600
- }, kr = [
3596
+ apiKey: _r,
3597
+ tools: Nr,
3598
+ lead: Mr,
3599
+ logo: wr,
3600
+ center: kr
3601
+ }, $r = [
3601
3602
  { value: "en", label: "English" },
3602
3603
  { value: "de", label: "Deutsch" },
3603
3604
  { value: "es", label: "Español" },
3604
3605
  { value: "fr", label: "Français" },
3605
3606
  { value: "ru", label: "Русский" }
3606
3607
  ];
3607
- function ni({
3608
+ function ri({
3608
3609
  dark: t = !1,
3609
3610
  onThemeChange: n,
3610
3611
  language: r = "en",
3611
- languages: o = kr,
3612
+ languages: o = $r,
3612
3613
  onLanguageChange: c,
3613
3614
  left: i,
3614
3615
  afterLogo: h,
@@ -3622,22 +3623,22 @@ function ni({
3622
3623
  return /* @__PURE__ */ a(
3623
3624
  "header",
3624
3625
  {
3625
- className: Ve.header,
3626
+ className: Ge.header,
3626
3627
  "data-theme": t ? "dark" : "light",
3627
3628
  "data-surface": B,
3628
3629
  children: [
3629
- /* @__PURE__ */ a("div", { className: Ve.lead, children: [
3630
+ /* @__PURE__ */ a("div", { className: Ge.lead, children: [
3630
3631
  i,
3631
- /* @__PURE__ */ e(At, { className: Ve.logo, href: w }),
3632
+ /* @__PURE__ */ e(At, { className: Ge.logo, href: w }),
3632
3633
  h
3633
3634
  ] }),
3634
- p !== void 0 && p !== !1 && /* @__PURE__ */ e("div", { className: Ve.center, children: p }),
3635
- /* @__PURE__ */ a("div", { className: Ve.tools, children: [
3635
+ p !== void 0 && p !== !1 && /* @__PURE__ */ e("div", { className: Ge.center, children: p }),
3636
+ /* @__PURE__ */ a("div", { className: Ge.tools, children: [
3636
3637
  /* @__PURE__ */ e(sa, { dark: t, onThemeChange: n }),
3637
3638
  /* @__PURE__ */ e(
3638
3639
  oa,
3639
3640
  {
3640
- className: Ve.language,
3641
+ className: Ge.language,
3641
3642
  triggerContent: /* @__PURE__ */ e(ha, { size: 18, "aria-hidden": "true" }),
3642
3643
  popupAlign: "end",
3643
3644
  popupTheme: t ? "dark" : "light",
@@ -3647,14 +3648,14 @@ function ni({
3647
3648
  ariaLabel: `Change language: ${o.find((g) => g.value === r)?.label ?? r}`
3648
3649
  }
3649
3650
  ),
3650
- A === void 0 ? /* @__PURE__ */ e(Y, { variant: "primary", href: "/en/auth", children: "API Key" }) : A
3651
+ A === void 0 ? /* @__PURE__ */ e(Y, { className: Ge.apiKey, variant: "primary", href: "/en/auth", children: "API Key" }) : A
3651
3652
  ] })
3652
3653
  ]
3653
3654
  }
3654
3655
  );
3655
3656
  }
3656
3657
  export {
3657
- ei as AlertDialog,
3658
+ ti as AlertDialog,
3658
3659
  Et as AlertDialogAction,
3659
3660
  Ht as AlertDialogCancel,
3660
3661
  It as AlertDialogContent,
@@ -3665,58 +3666,58 @@ export {
3665
3666
  Ct as AlertDialogRoot,
3666
3667
  Ft as AlertDialogTitle,
3667
3668
  Tt as AlertDialogTrigger,
3668
- ti as AuthCard,
3669
+ ai as AuthCard,
3669
3670
  Xn as BackgroundDotted,
3670
- Vr as BackgroundLineField,
3671
- jr as BackgroundPlus,
3672
- Kr as BackgroundSquare,
3673
- Hr as BarChart,
3674
- Er as Billing,
3675
- Jr as BrandIntro,
3676
- Sr as CustomerDashboard,
3671
+ Kr as BackgroundLineField,
3672
+ Wr as BackgroundPlus,
3673
+ Jr as BackgroundSquare,
3674
+ Dr as BarChart,
3675
+ Hr as Billing,
3676
+ Zr as BrandIntro,
3677
+ Br as CustomerDashboard,
3677
3678
  er as EffectCard,
3678
- ai as Footer,
3679
- ni as Header,
3680
- Dr as Heatmap,
3681
- Or as MetricStrip,
3682
- si as MonthlySubscription,
3683
- Ur as Panel,
3684
- Wr as PlusField,
3685
- Ir as Provider,
3686
- Fr as ProviderLogo,
3687
- zr as Ranking,
3688
- Xr as RequestTable,
3679
+ ni as Footer,
3680
+ ri as Header,
3681
+ Or as Heatmap,
3682
+ Ur as MetricStrip,
3683
+ oi as MonthlySubscription,
3684
+ zr as Panel,
3685
+ Vr as PlusField,
3686
+ Fr as Provider,
3687
+ qr as ProviderLogo,
3688
+ Xr as Ranking,
3689
+ Gr as RequestTable,
3689
3690
  _e as RouterPlusGlyph,
3690
- Tr as RouterPlusHarnessMapping,
3691
+ Pr as RouterPlusHarnessMapping,
3691
3692
  Ze as RouterPlusIcon,
3692
- Rr as RouterPlusProviderList,
3693
- Br as RouterPlusShell,
3694
- Pr as RouterPlusUsageSummary,
3695
- Gr as SessionShape,
3696
- oi as Shop,
3697
- li as ShopAccountCard,
3698
- ci as ShopCard,
3699
- di as SideNavigation,
3700
- hi as SideNavigationBrand,
3701
- pi as SideNavigationEmpty,
3702
- ui as SideNavigationFooter,
3703
- mi as SideNavigationHeader,
3704
- gi as SideNavigationItem,
3705
- fi as SideNavigationScroll,
3706
- bi as SideNavigationSection,
3707
- vi as SideNavigationStatus,
3708
- yi as SideNavigationSubItem,
3709
- _i as SideNavigationSubNav,
3710
- Ni as SideNavigationToggle,
3711
- Mi as Support,
3712
- wi as SupportDialog,
3713
- Yr as UsageList,
3714
- qr as flagForRegion,
3715
- Zr as generateBlast,
3716
- ki as glyphs,
3717
- $i as icons,
3693
+ Tr as RouterPlusProviderList,
3694
+ Rr as RouterPlusShell,
3695
+ Ir as RouterPlusUsageSummary,
3696
+ Yr as SessionShape,
3697
+ li as Shop,
3698
+ ci as ShopAccountCard,
3699
+ di as ShopCard,
3700
+ hi as SideNavigation,
3701
+ pi as SideNavigationBrand,
3702
+ ui as SideNavigationEmpty,
3703
+ mi as SideNavigationFooter,
3704
+ gi as SideNavigationHeader,
3705
+ fi as SideNavigationItem,
3706
+ bi as SideNavigationScroll,
3707
+ vi as SideNavigationSection,
3708
+ yi as SideNavigationStatus,
3709
+ _i as SideNavigationSubItem,
3710
+ Ni as SideNavigationSubNav,
3711
+ Mi as SideNavigationToggle,
3712
+ wi as Support,
3713
+ ki as SupportDialog,
3714
+ jr as UsageList,
3715
+ Er as flagForRegion,
3716
+ Qr as generateBlast,
3717
+ $i as glyphs,
3718
+ xi as icons,
3718
3719
  Mn as regionForLocale,
3719
3720
  Dt as routerPlusLogo,
3720
- Qr as sampleBlast,
3721
- xi as useThemeTransition
3721
+ ei as sampleBlast,
3722
+ Ci as useThemeTransition
3722
3723
  };
package/dist/index.js CHANGED
@@ -2,8 +2,8 @@ import fr, { useId as ue, createContext as Xe, useContext as Ze, useState as A,
2
2
  import { jsx as o, jsxs as l } from "react/jsx-runtime";
3
3
  import * as ne from "@radix-ui/react-accordion";
4
4
  import t from "clsx";
5
- import { L as er, v as Cr, b as De, u as T, I as Sr, C as xr, $ as kr, a0 as je } from "./SideNavigation-uaK5wkfX.js";
6
- import { a1 as Ua, a2 as Wa, a3 as qa, a4 as Ka, g as Qa, B as ja, a5 as Ya, d as Ja, a6 as Xa, a7 as Za, a8 as en, a9 as rn, aa as on, ab as tn, ac as an, ad as nn, ae as ln, af as _n, E as sn, ag as cn, ah as dn, c as pn, t as mn, M as un, ai as gn, P as bn, aj as hn, e as vn, ak as Nn, f as fn, al as wn, x as Mn, y as Cn, z as Sn, A as xn, D as kn, F as Tn, G as yn, H as In, J as Pn, K as Dn, N as An, O as Rn, Q as Fn, U as $n, V as Gn, s as Ln, X as Bn, T as Hn } from "./SideNavigation-uaK5wkfX.js";
5
+ import { L as er, v as Cr, b as De, u as T, I as Sr, C as xr, $ as kr, a0 as je } from "./SideNavigation-YEfx7Msf.js";
6
+ import { a1 as Ua, a2 as Wa, a3 as qa, a4 as Ka, g as Qa, B as ja, a5 as Ya, d as Ja, a6 as Xa, a7 as Za, a8 as en, a9 as rn, aa as on, ab as tn, ac as an, ad as nn, ae as ln, af as _n, E as sn, ag as cn, ah as dn, c as pn, t as mn, M as un, ai as gn, P as bn, aj as hn, e as vn, ak as Nn, f as fn, al as wn, x as Mn, y as Cn, z as Sn, A as xn, D as kn, F as Tn, G as yn, H as In, J as Pn, K as Dn, N as An, O as Rn, Q as Fn, U as $n, V as Gn, s as Ln, X as Bn, T as Hn } from "./SideNavigation-YEfx7Msf.js";
7
7
  import { RadioGroup as Tr } from "@base-ui/react/radio-group";
8
8
  import { mergeProps as rr } from "@base-ui/react/merge-props";
9
9
  import * as or from "@radix-ui/react-checkbox";