@photoroom/ui 0.1.488 → 0.1.489
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.
- package/components/index.d.ts +0 -1
- package/components/index.d.ts.map +1 -1
- package/index.css +1 -1
- package/index.lib.d.ts +0 -1
- package/index.lib.d.ts.map +1 -1
- package/index.mjs +534 -570
- package/package.json +1 -1
- package/components/input/QuickActionPhotoCard/QuickActionPhotoCard.d.ts +0 -9
- package/components/input/QuickActionPhotoCard/QuickActionPhotoCard.d.ts.map +0 -1
- package/components/input/QuickActionPhotoCard/index.d.ts +0 -2
- package/components/input/QuickActionPhotoCard/index.d.ts.map +0 -1
package/index.mjs
CHANGED
|
@@ -47694,44 +47694,8 @@ var s_e = ({ title: e, overline: r, isSkeleton: i, visual: a, className: o, chil
|
|
|
47694
47694
|
});
|
|
47695
47695
|
x3.Item = l_e;
|
|
47696
47696
|
//#endregion
|
|
47697
|
-
//#region src/components/input/
|
|
47698
|
-
var u_e = ({
|
|
47699
|
-
let o = ke(() => i ? he(i, {
|
|
47700
|
-
as: "div",
|
|
47701
|
-
role: "presentation",
|
|
47702
|
-
variant: "accent",
|
|
47703
|
-
size: "medium",
|
|
47704
|
-
density: "regular",
|
|
47705
|
-
className: W("pointer-events-none w-full", i.props.className)
|
|
47706
|
-
}) : null, [i]);
|
|
47707
|
-
return /* @__PURE__ */ t("div", {
|
|
47708
|
-
className: W("flex h-full w-full cursor-pointer", "rounded-400 border-content-accent bg-background-accent-subdued border p-3", "transition-all duration-150 ease-out", "hover:border-content-accent hover:bg-background-accent-subdued-hover", "active:border-content-accent active:bg-background-accent-subdued-down", "focus-visible:ring-misc-focus-indicator focus-visible:misc-border-size-focus-ring focus:outline-hidden", r),
|
|
47709
|
-
onClick: a,
|
|
47710
|
-
onKeyDown: (e) => {
|
|
47711
|
-
(e.key === "Enter" || e.key === " ") && (e.preventDefault(), a?.());
|
|
47712
|
-
},
|
|
47713
|
-
role: "button",
|
|
47714
|
-
"aria-label": e,
|
|
47715
|
-
tabIndex: 0,
|
|
47716
|
-
children: /* @__PURE__ */ n("div", {
|
|
47717
|
-
className: "flex w-full flex-col gap-6",
|
|
47718
|
-
children: [/* @__PURE__ */ t("div", {
|
|
47719
|
-
className: "rounded-200 border-accent-alpha-500 flex flex-1 items-center justify-center border border-dashed",
|
|
47720
|
-
"aria-hidden": "true",
|
|
47721
|
-
children: /* @__PURE__ */ t(ue, {
|
|
47722
|
-
className: "text-content-accent size-h-600 size-w-600",
|
|
47723
|
-
"aria-hidden": "true"
|
|
47724
|
-
})
|
|
47725
|
-
}), /* @__PURE__ */ n("div", {
|
|
47726
|
-
className: "flex flex-col gap-2",
|
|
47727
|
-
children: [/* @__PURE__ */ t("span", {
|
|
47728
|
-
className: "component-400 text-content-accent overflow-hidden font-semibold text-ellipsis",
|
|
47729
|
-
children: e
|
|
47730
|
-
}), o]
|
|
47731
|
-
})]
|
|
47732
|
-
})
|
|
47733
|
-
});
|
|
47734
|
-
}, d_e = ({ label: e, description: r, className: i, ...a }) => /* @__PURE__ */ t(dq, {
|
|
47697
|
+
//#region src/components/input/RadioGroup/RadioGroupItem/RadioGroupItem.tsx
|
|
47698
|
+
var u_e = ({ label: e, description: r, className: i, ...a }) => /* @__PURE__ */ t(dq, {
|
|
47735
47699
|
...a,
|
|
47736
47700
|
className: U("group/radiogroupitem content-to-edge-py-250 relative focus-visible:outline-hidden", i),
|
|
47737
47701
|
children: /* @__PURE__ */ n("div", {
|
|
@@ -47768,10 +47732,10 @@ var u_e = ({ title: e, className: r, children: i, onClick: a }) => {
|
|
|
47768
47732
|
children: i
|
|
47769
47733
|
})
|
|
47770
47734
|
});
|
|
47771
|
-
S3.Item =
|
|
47735
|
+
S3.Item = u_e;
|
|
47772
47736
|
//#endregion
|
|
47773
47737
|
//#region src/components/input/ReactionBar/ReactionBar.tsx
|
|
47774
|
-
var
|
|
47738
|
+
var d_e = ({ reaction: e, selected: n = !1, onClick: r }) => /* @__PURE__ */ t("button", {
|
|
47775
47739
|
onClick: () => r(e),
|
|
47776
47740
|
tabIndex: 0,
|
|
47777
47741
|
type: "button",
|
|
@@ -47781,10 +47745,10 @@ var f_e = ({ reaction: e, selected: n = !1, onClick: r }) => /* @__PURE__ */ t("
|
|
|
47781
47745
|
className: "text-800 leading-6",
|
|
47782
47746
|
children: e
|
|
47783
47747
|
})
|
|
47784
|
-
}),
|
|
47748
|
+
}), f_e = ({ onSelectReaction: e, reactions: n, className: r, ...i }) => /* @__PURE__ */ t("div", {
|
|
47785
47749
|
className: W("bg-surface-higher shadow-700 misc-outer-border misc-dropdown-rounding misc-dropdown-padding flex w-fit", r),
|
|
47786
47750
|
...i,
|
|
47787
|
-
children: n.map((n) => /* @__PURE__ */ t(
|
|
47751
|
+
children: n.map((n) => /* @__PURE__ */ t(d_e, {
|
|
47788
47752
|
reaction: n,
|
|
47789
47753
|
onClick: e
|
|
47790
47754
|
}, n))
|
|
@@ -47800,7 +47764,7 @@ var f_e = ({ reaction: e, selected: n = !1, onClick: r }) => /* @__PURE__ */ t("
|
|
|
47800
47764
|
false: "text-content-primary"
|
|
47801
47765
|
} },
|
|
47802
47766
|
defaultVariants: { selected: !1 }
|
|
47803
|
-
}),
|
|
47767
|
+
}), p_e = ({ reactions: e, selected: r = !1, disabled: i = !1, className: a, onClick: o, ...s }) => {
|
|
47804
47768
|
if (e.length === 0) return /* @__PURE__ */ t("button", {
|
|
47805
47769
|
onClick: o,
|
|
47806
47770
|
tabIndex: 0,
|
|
@@ -47901,7 +47865,7 @@ var f_e = ({ reaction: e, selected: n = !1, onClick: r }) => /* @__PURE__ */ t("
|
|
|
47901
47865
|
}),
|
|
47902
47866
|
children: c
|
|
47903
47867
|
});
|
|
47904
|
-
},
|
|
47868
|
+
}, m_e = (e) => /* @__PURE__ */ t("button", {
|
|
47905
47869
|
...e,
|
|
47906
47870
|
className: U("rounded-200 relative h-10 w-10 overflow-hidden bg-neutral-200 outline-hidden transition-all", "after:rounded-200 after:absolute after:inset-0 after:transition-all after:content-['']", "hover:after:bg-black-alpha-3", "active:after:bg-black-alpha-6", "focus-visible:after:bg-black-alpha-3", "focus-visible:ring-misc-focus-indicator focus-visible:misc-border-size-focus-ring", e.disabled && "opacity-50")
|
|
47907
47871
|
}), T3 = ({ title: e, children: r }) => /* @__PURE__ */ n("div", {
|
|
@@ -47914,10 +47878,10 @@ var f_e = ({ reaction: e, selected: n = !1, onClick: r }) => /* @__PURE__ */ t("
|
|
|
47914
47878
|
children: r
|
|
47915
47879
|
})]
|
|
47916
47880
|
});
|
|
47917
|
-
T3.Item =
|
|
47881
|
+
T3.Item = m_e;
|
|
47918
47882
|
//#endregion
|
|
47919
47883
|
//#region ../../node_modules/.pnpm/virtua@0.49.1_react-dom@19.2.7_react@19.2.7__react@19.2.7/node_modules/virtua/lib/index.js
|
|
47920
|
-
var E3 = null, { min: D3, max: O3, abs: k3, floor:
|
|
47884
|
+
var E3 = null, { min: D3, max: O3, abs: k3, floor: h_e } = Math, A3 = (e, t, n) => D3(n, O3(t, e)), j3 = (e) => [...e].sort((e, t) => e - t), M3 = typeof queueMicrotask == "function" ? queueMicrotask : (e) => {
|
|
47921
47885
|
Promise.resolve().then(e);
|
|
47922
47886
|
}, N3 = () => {
|
|
47923
47887
|
let e;
|
|
@@ -47934,7 +47898,7 @@ var E3 = null, { min: D3, max: O3, abs: k3, floor: g_e } = Math, A3 = (e, t, n)
|
|
|
47934
47898
|
}, I3 = (e, t) => {
|
|
47935
47899
|
let n = e.t[t];
|
|
47936
47900
|
return n === -1 ? e.o : n;
|
|
47937
|
-
},
|
|
47901
|
+
}, g_e = (e, t, n) => {
|
|
47938
47902
|
let r = e.t[t] === -1;
|
|
47939
47903
|
return e.t[t] = n, e.i = D3(t, e.i), r;
|
|
47940
47904
|
}, L3 = (e, t) => {
|
|
@@ -47947,14 +47911,14 @@ var E3 = null, { min: D3, max: O3, abs: k3, floor: g_e } = Math, A3 = (e, t, n)
|
|
|
47947
47911
|
}, R3 = (e, t, n = 0, r = e.l - 1) => {
|
|
47948
47912
|
let i = n;
|
|
47949
47913
|
for (; n <= r;) {
|
|
47950
|
-
let a =
|
|
47914
|
+
let a = h_e((n + r) / 2);
|
|
47951
47915
|
L3(e, a) <= t ? (i = a, n = a + 1) : r = a - 1;
|
|
47952
47916
|
}
|
|
47953
47917
|
return A3(i, 0, e.l - 1);
|
|
47954
47918
|
}, z3 = (e, t, n) => {
|
|
47955
47919
|
let r = t - e.l;
|
|
47956
47920
|
return e.i = n ? -1 : D3(t - 1, e.i), e.l = t, r > 0 ? (F3(e.u, r), F3(e.t, r, n), e.o * r) : (e.u.splice(r), (n ? e.t.splice(0, -r) : e.t.splice(r)).reduce((t, n) => t - (n === -1 ? e.o : n), 0));
|
|
47957
|
-
},
|
|
47921
|
+
}, __e = typeof window < "u", v_e = (e) => e.documentElement, y_e = (e) => e.ownerDocument, b_e = (e) => e.defaultView, B3 = /*#__PURE__*/ P3(() => !!/iP(hone|od|ad)/.test(navigator.userAgent) || navigator.platform === "MacIntel" && navigator.maxTouchPoints > 0), x_e = /*#__PURE__*/ P3(() => "scrollBehavior" in v_e(document).style), S_e = (e) => O3(e.h(), e.p()), C_e = (e, t = 40, n = 0, r, i = !1) => {
|
|
47958
47922
|
let a = !!n, o = 1, s = 0, c = 0, l = 0, u = 0, d = 0, f = 0, p = 0, m = 0, h = E3, g = [0, a ? O3(n - 1, 0) : -1], _ = 0, v = !1, y = ((e, t, n) => ({
|
|
47959
47923
|
o: t,
|
|
47960
47924
|
t: n ? F3(n.slice(0, D3(e, n.length)), O3(0, e - n.length)) : F3([], e),
|
|
@@ -48039,7 +48003,7 @@ var E3 = null, { min: D3, max: O3, abs: k3, floor: g_e } = Math, A3 = (e, t, n)
|
|
|
48039
48003
|
return r && (e += n - E(t)), e;
|
|
48040
48004
|
}, 0));
|
|
48041
48005
|
for (let [t, n] of e) {
|
|
48042
|
-
let e = E(t), r =
|
|
48006
|
+
let e = E(t), r = g_e(y, t, n);
|
|
48043
48007
|
i && (_ += r ? n : n - e);
|
|
48044
48008
|
}
|
|
48045
48009
|
i && s && _ > s && (O(((e, t) => {
|
|
@@ -48071,7 +48035,7 @@ var E3 = null, { min: D3, max: O3, abs: k3, floor: g_e } = Math, A3 = (e, t, n)
|
|
|
48071
48035
|
}));
|
|
48072
48036
|
}
|
|
48073
48037
|
};
|
|
48074
|
-
}, V3 = setTimeout, H3 = (e, t) => t ? -e : e,
|
|
48038
|
+
}, V3 = setTimeout, H3 = (e, t) => t ? -e : e, w_e = (e, t, n, r, i, a) => {
|
|
48075
48039
|
let o = Date.now, s = 0, c = !1, l = !1, u = !1, d = !1, f = (() => {
|
|
48076
48040
|
let t, n = () => {
|
|
48077
48041
|
t != E3 && clearTimeout(t);
|
|
@@ -48104,7 +48068,7 @@ var E3 = null, { min: D3, max: O3, abs: k3, floor: g_e } = Math, A3 = (e, t, n)
|
|
|
48104
48068
|
t && (i(t, n, d), d = !1, n && e.p() > e.h() && e.B(1, r()));
|
|
48105
48069
|
}
|
|
48106
48070
|
};
|
|
48107
|
-
},
|
|
48071
|
+
}, T_e = (e, t, n) => {
|
|
48108
48072
|
let r;
|
|
48109
48073
|
return [async (i, a) => {
|
|
48110
48074
|
if (!await t()) return;
|
|
@@ -48117,7 +48081,7 @@ var E3 = null, { min: D3, max: O3, abs: k3, floor: g_e } = Math, A3 = (e, t, n)
|
|
|
48117
48081
|
n(!0);
|
|
48118
48082
|
})];
|
|
48119
48083
|
};
|
|
48120
|
-
if (a &&
|
|
48084
|
+
if (a && x_e()) e.B(8, i()), M3(async () => {
|
|
48121
48085
|
for (;;) {
|
|
48122
48086
|
let t = !0;
|
|
48123
48087
|
for (let [n, r] = e.S(); n <= r; n++) if (e.I(n)) {
|
|
@@ -48145,8 +48109,8 @@ var E3 = null, { min: D3, max: O3, abs: k3, floor: g_e } = Math, A3 = (e, t, n)
|
|
|
48145
48109
|
}, () => {
|
|
48146
48110
|
r && r();
|
|
48147
48111
|
}];
|
|
48148
|
-
},
|
|
48149
|
-
let n, r, i = N3(), a = !1, o = t ? "scrollLeft" : "scrollTop", s = t ? "overflowX" : "overflowY", [c, l] =
|
|
48112
|
+
}, E_e = (e, t) => {
|
|
48113
|
+
let n, r, i = N3(), a = !1, o = t ? "scrollLeft" : "scrollTop", s = t ? "overflowX" : "overflowY", [c, l] = T_e(e, () => i[0], (e, r) => {
|
|
48150
48114
|
e = H3(e, a), r ? n.scrollTo({
|
|
48151
48115
|
[t ? "left" : "top"]: e,
|
|
48152
48116
|
behavior: "smooth"
|
|
@@ -48154,7 +48118,7 @@ var E3 = null, { min: D3, max: O3, abs: k3, floor: g_e } = Math, A3 = (e, t, n)
|
|
|
48154
48118
|
});
|
|
48155
48119
|
return {
|
|
48156
48120
|
N(c, u) {
|
|
48157
|
-
n = u, t && (a = getComputedStyle(u).direction === "rtl"), r =
|
|
48121
|
+
n = u, t && (a = getComputedStyle(u).direction === "rtl"), r = w_e(e, u, t, () => H3(u[o], a), (t, n, r) => {
|
|
48158
48122
|
if (r) {
|
|
48159
48123
|
let e = u.style, t = e[s];
|
|
48160
48124
|
e[s] = "hidden", V3(() => {
|
|
@@ -48189,11 +48153,11 @@ var E3 = null, { min: D3, max: O3, abs: k3, floor: g_e } = Math, A3 = (e, t, n)
|
|
|
48189
48153
|
r && r.L();
|
|
48190
48154
|
}
|
|
48191
48155
|
};
|
|
48192
|
-
},
|
|
48156
|
+
}, D_e = (e) => {
|
|
48193
48157
|
let t;
|
|
48194
48158
|
return {
|
|
48195
48159
|
D(n) {
|
|
48196
|
-
(t ||= new (
|
|
48160
|
+
(t ||= new (b_e(y_e(n))).ResizeObserver(e)).observe(n);
|
|
48197
48161
|
},
|
|
48198
48162
|
j(e) {
|
|
48199
48163
|
t.unobserve(e);
|
|
@@ -48202,8 +48166,8 @@ var E3 = null, { min: D3, max: O3, abs: k3, floor: g_e } = Math, A3 = (e, t, n)
|
|
|
48202
48166
|
t && t.disconnect();
|
|
48203
48167
|
}
|
|
48204
48168
|
};
|
|
48205
|
-
},
|
|
48206
|
-
let n, r = t ? "width" : "height", i = /* @__PURE__ */ new WeakMap(), a =
|
|
48169
|
+
}, O_e = (e, t) => {
|
|
48170
|
+
let n, r = t ? "width" : "height", i = /* @__PURE__ */ new WeakMap(), a = D_e((t) => {
|
|
48207
48171
|
let a = [];
|
|
48208
48172
|
for (let { target: o, contentRect: s } of t) if (o.offsetParent) if (o === n) e.B(4, s[r]);
|
|
48209
48173
|
else {
|
|
@@ -48221,10 +48185,10 @@ var E3 = null, { min: D3, max: O3, abs: k3, floor: g_e } = Math, A3 = (e, t, n)
|
|
|
48221
48185
|
}),
|
|
48222
48186
|
v: a.A
|
|
48223
48187
|
};
|
|
48224
|
-
}, U3 =
|
|
48188
|
+
}, U3 = __e ? Oe : Ce, W3 = "current", G3 = (e, t) => {
|
|
48225
48189
|
if (Array.isArray(e)) for (let n of e) G3(n, t);
|
|
48226
48190
|
else e == null || typeof e == "boolean" || t.push(e);
|
|
48227
|
-
},
|
|
48191
|
+
}, k_e = (e, t) => e.key ?? "_" + t, A_e = (e) => {
|
|
48228
48192
|
let t = H(null);
|
|
48229
48193
|
return t[W3] || (t[W3] = e());
|
|
48230
48194
|
}, K3 = (e) => {
|
|
@@ -48232,7 +48196,7 @@ var E3 = null, { min: D3, max: O3, abs: k3, floor: g_e } = Math, A3 = (e, t, n)
|
|
|
48232
48196
|
return U3(() => {
|
|
48233
48197
|
t[W3] = e;
|
|
48234
48198
|
}, [e]), t;
|
|
48235
|
-
},
|
|
48199
|
+
}, j_e = /*#__PURE__*/ xe(({ Z: e, ee: n, te: r, oe: i, ne: a, re: o, ie: s, se: c }) => {
|
|
48236
48200
|
let l = H(null);
|
|
48237
48201
|
U3(() => n(l[W3], r), [r]);
|
|
48238
48202
|
let u = ke(() => {
|
|
@@ -48261,27 +48225,27 @@ var E3 = null, { min: D3, max: O3, abs: k3, floor: g_e } = Math, A3 = (e, t, n)
|
|
|
48261
48225
|
index: r,
|
|
48262
48226
|
children: e
|
|
48263
48227
|
});
|
|
48264
|
-
}),
|
|
48228
|
+
}), M_e = (e, t) => ke(() => {
|
|
48265
48229
|
if (typeof e == "function") return [(n) => e(t[n], n), t.length];
|
|
48266
48230
|
let n = ((e) => {
|
|
48267
48231
|
let t = [];
|
|
48268
48232
|
return G3(e, t), t;
|
|
48269
48233
|
})(e);
|
|
48270
48234
|
return [(e) => n[e], n.length];
|
|
48271
|
-
}, [e, t]),
|
|
48272
|
-
let [_, v] =
|
|
48273
|
-
let e = !!o, t =
|
|
48235
|
+
}, [e, t]), N_e = /*#__PURE__*/ ve(({ children: e, data: n, bufferSize: r, itemSize: i, shift: a, horizontal: o, keepMounted: s, cache: c, startMargin: l = 0, ssrCount: u, as: d = "div", item: f = "div", scrollRef: p, onScroll: m, onScrollEnd: h }, g) => {
|
|
48236
|
+
let [_, v] = M_e(e, n), y = H(null), b = H(!!u), x = K3(m), S = K3(h), [C, w, T, E] = A_e(() => {
|
|
48237
|
+
let e = !!o, t = C_e(v, i, u, c, !i);
|
|
48274
48238
|
return [
|
|
48275
48239
|
t,
|
|
48276
|
-
|
|
48277
|
-
|
|
48240
|
+
O_e(t, e),
|
|
48241
|
+
E_e(t, e),
|
|
48278
48242
|
e
|
|
48279
48243
|
];
|
|
48280
48244
|
});
|
|
48281
48245
|
v !== C.T() && C.B(5, [v, a]), l !== C.O() && C.B(6, l);
|
|
48282
48246
|
let [D, O] = Ae(C.m, void 0, C.m), k = C.M(), A = C.h(), j = T.P(), M = [], N = (e) => {
|
|
48283
48247
|
let n = _(e);
|
|
48284
|
-
return t(
|
|
48248
|
+
return t(j_e, {
|
|
48285
48249
|
ee: w.U,
|
|
48286
48250
|
te: e,
|
|
48287
48251
|
oe: C.k(e, j),
|
|
@@ -48290,7 +48254,7 @@ var E3 = null, { min: D3, max: O3, abs: k3, floor: g_e } = Math, A3 = (e, t, n)
|
|
|
48290
48254
|
Z: n,
|
|
48291
48255
|
ie: E,
|
|
48292
48256
|
se: b[W3]
|
|
48293
|
-
},
|
|
48257
|
+
}, k_e(n, e));
|
|
48294
48258
|
};
|
|
48295
48259
|
if (U3(() => {
|
|
48296
48260
|
b[W3] = !1, C.W(1, (e) => {
|
|
@@ -48318,7 +48282,7 @@ var E3 = null, { min: D3, max: O3, abs: k3, floor: g_e } = Math, A3 = (e, t, n)
|
|
|
48318
48282
|
return C.C();
|
|
48319
48283
|
},
|
|
48320
48284
|
get scrollSize() {
|
|
48321
|
-
return
|
|
48285
|
+
return S_e(C);
|
|
48322
48286
|
},
|
|
48323
48287
|
get viewportSize() {
|
|
48324
48288
|
return C.p();
|
|
@@ -48349,7 +48313,7 @@ var E3 = null, { min: D3, max: O3, abs: k3, floor: g_e } = Math, A3 = (e, t, n)
|
|
|
48349
48313
|
},
|
|
48350
48314
|
children: M
|
|
48351
48315
|
});
|
|
48352
|
-
}),
|
|
48316
|
+
}), P_e = /*#__PURE__*/ ve(({ children: e, data: n, bufferSize: r, itemSize: i, shift: a, horizontal: o, keepMounted: s, cache: c, ssrCount: l, item: u, onScroll: d, onScrollEnd: f, style: p, ...m }, h) => t("div", {
|
|
48353
48317
|
...m,
|
|
48354
48318
|
style: {
|
|
48355
48319
|
display: o ? "inline-block" : "block",
|
|
@@ -48359,7 +48323,7 @@ var E3 = null, { min: D3, max: O3, abs: k3, floor: g_e } = Math, A3 = (e, t, n)
|
|
|
48359
48323
|
height: "100%",
|
|
48360
48324
|
...p
|
|
48361
48325
|
},
|
|
48362
|
-
children: t(
|
|
48326
|
+
children: t(N_e, {
|
|
48363
48327
|
ref: h,
|
|
48364
48328
|
data: n,
|
|
48365
48329
|
bufferSize: r,
|
|
@@ -48393,7 +48357,7 @@ var J3 = Object.freeze({
|
|
|
48393
48357
|
clip: "rect(0, 0, 0, 0)",
|
|
48394
48358
|
whiteSpace: "nowrap",
|
|
48395
48359
|
wordWrap: "normal"
|
|
48396
|
-
}),
|
|
48360
|
+
}), F_e = "VisuallyHidden", I_e = z.forwardRef((e, n) => /* @__PURE__ */ t(jw.span, {
|
|
48397
48361
|
...e,
|
|
48398
48362
|
ref: n,
|
|
48399
48363
|
style: {
|
|
@@ -48401,15 +48365,15 @@ var J3 = Object.freeze({
|
|
|
48401
48365
|
...e.style
|
|
48402
48366
|
}
|
|
48403
48367
|
}));
|
|
48404
|
-
|
|
48368
|
+
I_e.displayName = F_e;
|
|
48405
48369
|
//#endregion
|
|
48406
48370
|
//#region ../../node_modules/.pnpm/@radix-ui+react-select@2.3.0_@types+react-dom@19.2.3_@types+react@19.2.16__@types+react_7951c2ca1a5d1761e3f101ec7f79211e/node_modules/@radix-ui/react-select/dist/index.mjs
|
|
48407
|
-
var
|
|
48371
|
+
var L_e = [
|
|
48408
48372
|
" ",
|
|
48409
48373
|
"Enter",
|
|
48410
48374
|
"ArrowUp",
|
|
48411
48375
|
"ArrowDown"
|
|
48412
|
-
],
|
|
48376
|
+
], R_e = [" ", "Enter"], Y3 = "Select", [X3, Z3, z_e] = Xw(Y3), [Q3, B_e] = ic(Y3, [z_e, xT]), $3 = xT(), [V_e, e6] = Q3(Y3), [H_e, U_e] = Q3(Y3), W_e = "SelectProvider";
|
|
48413
48377
|
function t6(e) {
|
|
48414
48378
|
let { __scopeSelect: n, children: r, open: i, defaultOpen: a, onOpenChange: o, value: s, defaultValue: c, onValueChange: l, dir: u, name: d, autoComplete: f, disabled: p, required: m, form: h, internal_do_not_use_render: g } = e, _ = $3(n), [v, y] = z.useState(null), [b, x] = z.useState(null), [S, C] = z.useState(!1), w = Zw(u), [T, E] = Tw({
|
|
48415
48379
|
prop: i,
|
|
@@ -48453,22 +48417,22 @@ function t6(e) {
|
|
|
48453
48417
|
};
|
|
48454
48418
|
return /* @__PURE__ */ t(jT, {
|
|
48455
48419
|
..._,
|
|
48456
|
-
children: /* @__PURE__ */ t(
|
|
48420
|
+
children: /* @__PURE__ */ t(V_e, {
|
|
48457
48421
|
scope: n,
|
|
48458
48422
|
...ee,
|
|
48459
48423
|
children: /* @__PURE__ */ t(X3.Provider, {
|
|
48460
48424
|
scope: n,
|
|
48461
|
-
children: /* @__PURE__ */ t(
|
|
48425
|
+
children: /* @__PURE__ */ t(H_e, {
|
|
48462
48426
|
scope: n,
|
|
48463
48427
|
onNativeOptionAdd: F,
|
|
48464
48428
|
onNativeOptionRemove: I,
|
|
48465
|
-
children:
|
|
48429
|
+
children: dve(g) ? g(ee) : r
|
|
48466
48430
|
})
|
|
48467
48431
|
})
|
|
48468
48432
|
})
|
|
48469
48433
|
});
|
|
48470
48434
|
}
|
|
48471
|
-
t6.displayName =
|
|
48435
|
+
t6.displayName = W_e;
|
|
48472
48436
|
var n6 = (r) => {
|
|
48473
48437
|
let { __scopeSelect: i, children: a, ...o } = r;
|
|
48474
48438
|
return /* @__PURE__ */ t(t6, {
|
|
@@ -48515,7 +48479,7 @@ var r6 = "SelectTrigger", i6 = z.forwardRef((e, n) => {
|
|
|
48515
48479
|
}),
|
|
48516
48480
|
onKeyDown: ww(a.onKeyDown, (e) => {
|
|
48517
48481
|
let t = f.current !== "";
|
|
48518
|
-
!(e.ctrlKey || e.altKey || e.metaKey) && e.key.length === 1 && p(e.key), !(t && e.key === " ") &&
|
|
48482
|
+
!(e.ctrlKey || e.altKey || e.metaKey) && e.key.length === 1 && p(e.key), !(t && e.key === " ") && L_e.includes(e.key) && (h(), e.preventDefault());
|
|
48519
48483
|
})
|
|
48520
48484
|
})
|
|
48521
48485
|
});
|
|
@@ -48536,7 +48500,7 @@ var a6 = "SelectValue", o6 = z.forwardRef((e, n) => {
|
|
|
48536
48500
|
});
|
|
48537
48501
|
});
|
|
48538
48502
|
o6.displayName = a6;
|
|
48539
|
-
var
|
|
48503
|
+
var G_e = "SelectIcon", s6 = z.forwardRef((e, n) => {
|
|
48540
48504
|
let { __scopeSelect: r, children: i, ...a } = e;
|
|
48541
48505
|
return /* @__PURE__ */ t(jw.span, {
|
|
48542
48506
|
"aria-hidden": !0,
|
|
@@ -48545,10 +48509,10 @@ var K_e = "SelectIcon", s6 = z.forwardRef((e, n) => {
|
|
|
48545
48509
|
children: i || "▼"
|
|
48546
48510
|
});
|
|
48547
48511
|
});
|
|
48548
|
-
s6.displayName =
|
|
48549
|
-
var c6 = "SelectPortal", [
|
|
48512
|
+
s6.displayName = G_e;
|
|
48513
|
+
var c6 = "SelectPortal", [K_e, q_e] = Q3(c6, { forceMount: void 0 }), l6 = (e) => {
|
|
48550
48514
|
let { __scopeSelect: n, forceMount: r, ...i } = e;
|
|
48551
|
-
return /* @__PURE__ */ t(
|
|
48515
|
+
return /* @__PURE__ */ t(K_e, {
|
|
48552
48516
|
scope: e.__scopeSelect,
|
|
48553
48517
|
forceMount: r,
|
|
48554
48518
|
children: /* @__PURE__ */ t(FT, {
|
|
@@ -48559,7 +48523,7 @@ var c6 = "SelectPortal", [q_e, J_e] = Q3(c6, { forceMount: void 0 }), l6 = (e) =
|
|
|
48559
48523
|
};
|
|
48560
48524
|
l6.displayName = c6;
|
|
48561
48525
|
var u6 = "SelectContent", d6 = z.forwardRef((e, n) => {
|
|
48562
|
-
let r =
|
|
48526
|
+
let r = q_e(u6, e.__scopeSelect), { forceMount: i = r.forceMount, ...a } = e, o = e6(u6, e.__scopeSelect), [s, c] = z.useState();
|
|
48563
48527
|
return sc(() => {
|
|
48564
48528
|
c(new DocumentFragment());
|
|
48565
48529
|
}, []), /* @__PURE__ */ t(IT, {
|
|
@@ -48588,7 +48552,7 @@ var f6 = z.forwardRef((e, n) => {
|
|
|
48588
48552
|
}), a) : null;
|
|
48589
48553
|
});
|
|
48590
48554
|
f6.displayName = "SelectContentFragment";
|
|
48591
|
-
var p6 = 10, [m6, h6] = Q3(u6),
|
|
48555
|
+
var p6 = 10, [m6, h6] = Q3(u6), J_e = "SelectContentImpl", Y_e = /* @__PURE__ */ Ow("SelectContent.RemoveScroll"), g6 = z.forwardRef((e, n) => {
|
|
48592
48556
|
let { __scopeSelect: r } = e, { position: i = "item-aligned", onCloseAutoFocus: a, onEscapeKeyDown: o, onPointerDownOutside: s, side: c, sideOffset: l, align: u, alignOffset: d, arrowPadding: f, collisionBoundary: p, collisionPadding: m, sticky: h, hideWhenDetached: g, avoidCollisions: _, ...v } = e, y = e6(u6, r), [b, x] = z.useState(null), [S, C] = z.useState(null), w = uc(n, (e) => x(e)), [T, E] = z.useState(null), [D, O] = z.useState(null), k = Z3(r), [A, j] = z.useState(!1), M = z.useRef(!1);
|
|
48593
48557
|
z.useEffect(() => {
|
|
48594
48558
|
if (b) return tE(b);
|
|
@@ -48671,7 +48635,7 @@ var p6 = 10, [m6, h6] = Q3(u6), Y_e = "SelectContentImpl", X_e = /* @__PURE__ */
|
|
|
48671
48635
|
isPositioned: A,
|
|
48672
48636
|
searchRef: ee,
|
|
48673
48637
|
children: /* @__PURE__ */ t(EE, {
|
|
48674
|
-
as:
|
|
48638
|
+
as: Y_e,
|
|
48675
48639
|
allowPinchZoom: !0,
|
|
48676
48640
|
children: /* @__PURE__ */ t(dT, {
|
|
48677
48641
|
asChild: !0,
|
|
@@ -48727,8 +48691,8 @@ var p6 = 10, [m6, h6] = Q3(u6), Y_e = "SelectContentImpl", X_e = /* @__PURE__ */
|
|
|
48727
48691
|
})
|
|
48728
48692
|
});
|
|
48729
48693
|
});
|
|
48730
|
-
g6.displayName =
|
|
48731
|
-
var
|
|
48694
|
+
g6.displayName = J_e;
|
|
48695
|
+
var X_e = "SelectItemAlignedPosition", _6 = z.forwardRef((e, n) => {
|
|
48732
48696
|
let { __scopeSelect: r, onPlaced: i, ...a } = e, o = e6(u6, r), s = h6(u6, r), [c, l] = z.useState(null), [u, d] = z.useState(null), f = uc(n, (e) => d(e)), p = Z3(r), m = z.useRef(!1), h = z.useRef(!0), { viewport: g, selectedItem: _, selectedItemText: v, focusSelectedItem: y } = s, b = z.useCallback(() => {
|
|
48733
48697
|
if (o.trigger && o.valueNode && c && u && g && _ && v) {
|
|
48734
48698
|
let e = o.trigger.getBoundingClientRect(), t = u.getBoundingClientRect(), n = o.valueNode.getBoundingClientRect(), r = v.getBoundingClientRect();
|
|
@@ -48769,7 +48733,7 @@ var Z_e = "SelectItemAlignedPosition", _6 = z.forwardRef((e, n) => {
|
|
|
48769
48733
|
let [x, S] = z.useState();
|
|
48770
48734
|
return sc(() => {
|
|
48771
48735
|
u && S(window.getComputedStyle(u).zIndex);
|
|
48772
|
-
}, [u]), /* @__PURE__ */ t(
|
|
48736
|
+
}, [u]), /* @__PURE__ */ t(Q_e, {
|
|
48773
48737
|
scope: r,
|
|
48774
48738
|
contentWrapper: c,
|
|
48775
48739
|
shouldExpandOnScrollRef: m,
|
|
@@ -48796,8 +48760,8 @@ var Z_e = "SelectItemAlignedPosition", _6 = z.forwardRef((e, n) => {
|
|
|
48796
48760
|
})
|
|
48797
48761
|
});
|
|
48798
48762
|
});
|
|
48799
|
-
_6.displayName =
|
|
48800
|
-
var
|
|
48763
|
+
_6.displayName = X_e;
|
|
48764
|
+
var Z_e = "SelectPopperPosition", v6 = z.forwardRef((e, n) => {
|
|
48801
48765
|
let { __scopeSelect: r, align: i = "start", collisionPadding: a = p6, ...o } = e;
|
|
48802
48766
|
return /* @__PURE__ */ t(NT, {
|
|
48803
48767
|
...$3(r),
|
|
@@ -48816,8 +48780,8 @@ var Q_e = "SelectPopperPosition", v6 = z.forwardRef((e, n) => {
|
|
|
48816
48780
|
}
|
|
48817
48781
|
});
|
|
48818
48782
|
});
|
|
48819
|
-
v6.displayName =
|
|
48820
|
-
var [
|
|
48783
|
+
v6.displayName = Z_e;
|
|
48784
|
+
var [Q_e, y6] = Q3(u6, {}), b6 = "SelectViewport", x6 = z.forwardRef((r, i) => {
|
|
48821
48785
|
let { __scopeSelect: a, nonce: o, ...s } = r, c = h6(b6, a), l = y6(b6, a), u = uc(i, c.onViewportChange), d = z.useRef(0);
|
|
48822
48786
|
return /* @__PURE__ */ n(e, { children: [/* @__PURE__ */ t("style", {
|
|
48823
48787
|
dangerouslySetInnerHTML: { __html: "[data-radix-select-viewport]{scrollbar-width:none;-ms-overflow-style:none;-webkit-overflow-scrolling:touch;}[data-radix-select-viewport]::-webkit-scrollbar{display:none}" },
|
|
@@ -48853,9 +48817,9 @@ var [$_e, y6] = Q3(u6, {}), b6 = "SelectViewport", x6 = z.forwardRef((r, i) => {
|
|
|
48853
48817
|
})] });
|
|
48854
48818
|
});
|
|
48855
48819
|
x6.displayName = b6;
|
|
48856
|
-
var S6 = "SelectGroup", [
|
|
48820
|
+
var S6 = "SelectGroup", [$_e, eve] = Q3(S6), tve = z.forwardRef((e, n) => {
|
|
48857
48821
|
let { __scopeSelect: r, ...i } = e, a = _T();
|
|
48858
|
-
return /* @__PURE__ */ t(
|
|
48822
|
+
return /* @__PURE__ */ t($_e, {
|
|
48859
48823
|
scope: r,
|
|
48860
48824
|
id: a,
|
|
48861
48825
|
children: /* @__PURE__ */ t(jw.div, {
|
|
@@ -48866,22 +48830,22 @@ var S6 = "SelectGroup", [eve, tve] = Q3(S6), nve = z.forwardRef((e, n) => {
|
|
|
48866
48830
|
})
|
|
48867
48831
|
});
|
|
48868
48832
|
});
|
|
48869
|
-
|
|
48870
|
-
var C6 = "SelectLabel",
|
|
48871
|
-
let { __scopeSelect: r, ...i } = e, a =
|
|
48833
|
+
tve.displayName = S6;
|
|
48834
|
+
var C6 = "SelectLabel", nve = z.forwardRef((e, n) => {
|
|
48835
|
+
let { __scopeSelect: r, ...i } = e, a = eve(C6, r);
|
|
48872
48836
|
return /* @__PURE__ */ t(jw.div, {
|
|
48873
48837
|
id: a.id,
|
|
48874
48838
|
...i,
|
|
48875
48839
|
ref: n
|
|
48876
48840
|
});
|
|
48877
48841
|
});
|
|
48878
|
-
|
|
48879
|
-
var w6 = "SelectItem", [
|
|
48842
|
+
nve.displayName = C6;
|
|
48843
|
+
var w6 = "SelectItem", [rve, T6] = Q3(w6), E6 = z.forwardRef((e, n) => {
|
|
48880
48844
|
let { __scopeSelect: r, value: i, disabled: a = !1, textValue: o, ...s } = e, c = e6(w6, r), l = h6(w6, r), u = c.value === i, [d, f] = z.useState(o ?? ""), [p, m] = z.useState(!1), h = uc(n, (e) => l.itemRefCallback?.(e, i, a)), g = _T(), _ = z.useRef("touch"), v = () => {
|
|
48881
48845
|
a || (c.onValueChange(i), c.onOpenChange(!1));
|
|
48882
48846
|
};
|
|
48883
48847
|
if (i === "") throw Error("A <Select.Item /> must have a value prop that is not an empty string. This is because the Select value can be set to an empty string to clear the selection and show the placeholder.");
|
|
48884
|
-
return /* @__PURE__ */ t(
|
|
48848
|
+
return /* @__PURE__ */ t(rve, {
|
|
48885
48849
|
scope: r,
|
|
48886
48850
|
value: i,
|
|
48887
48851
|
disabled: a,
|
|
@@ -48924,15 +48888,15 @@ var w6 = "SelectItem", [ive, T6] = Q3(w6), E6 = z.forwardRef((e, n) => {
|
|
|
48924
48888
|
e.currentTarget === document.activeElement && l.onItemLeave?.();
|
|
48925
48889
|
}),
|
|
48926
48890
|
onKeyDown: ww(s.onKeyDown, (e) => {
|
|
48927
|
-
l.searchRef?.current !== "" && e.key === " " || (
|
|
48891
|
+
l.searchRef?.current !== "" && e.key === " " || (R_e.includes(e.key) && v(), e.key === " " && e.preventDefault());
|
|
48928
48892
|
})
|
|
48929
48893
|
})
|
|
48930
48894
|
})
|
|
48931
48895
|
});
|
|
48932
48896
|
});
|
|
48933
48897
|
E6.displayName = w6;
|
|
48934
|
-
var D6 = "SelectItemText",
|
|
48935
|
-
let { __scopeSelect: a, className: o, style: s, ...c } = r, l = e6(D6, a), u = h6(D6, a), d = T6(D6, a), f =
|
|
48898
|
+
var D6 = "SelectItemText", ive = z.forwardRef((r, i) => {
|
|
48899
|
+
let { __scopeSelect: a, className: o, style: s, ...c } = r, l = e6(D6, a), u = h6(D6, a), d = T6(D6, a), f = U_e(D6, a), [p, m] = z.useState(null), h = uc(i, (e) => m(e), d.onItemTextChange, (e) => u.itemTextRefCallback?.(e, d.value, d.disabled)), g = p?.textContent, _ = z.useMemo(() => /* @__PURE__ */ t("option", {
|
|
48936
48900
|
value: d.value,
|
|
48937
48901
|
disabled: d.disabled,
|
|
48938
48902
|
children: g
|
|
@@ -48951,8 +48915,8 @@ var D6 = "SelectItemText", ave = z.forwardRef((r, i) => {
|
|
|
48951
48915
|
ref: h
|
|
48952
48916
|
}), d.isSelected && l.valueNode && !l.valueNodeHasChildren ? Ne.createPortal(c.children, l.valueNode) : null] });
|
|
48953
48917
|
});
|
|
48954
|
-
|
|
48955
|
-
var O6 = "SelectItemIndicator",
|
|
48918
|
+
ive.displayName = D6;
|
|
48919
|
+
var O6 = "SelectItemIndicator", ave = z.forwardRef((e, n) => {
|
|
48956
48920
|
let { __scopeSelect: r, ...i } = e;
|
|
48957
48921
|
return T6(O6, r).isSelected ? /* @__PURE__ */ t(jw.span, {
|
|
48958
48922
|
"aria-hidden": !0,
|
|
@@ -48960,8 +48924,8 @@ var O6 = "SelectItemIndicator", ove = z.forwardRef((e, n) => {
|
|
|
48960
48924
|
ref: n
|
|
48961
48925
|
}) : null;
|
|
48962
48926
|
});
|
|
48963
|
-
|
|
48964
|
-
var k6 = "SelectScrollUpButton",
|
|
48927
|
+
ave.displayName = O6;
|
|
48928
|
+
var k6 = "SelectScrollUpButton", ove = z.forwardRef((e, n) => {
|
|
48965
48929
|
let r = h6(k6, e.__scopeSelect), i = y6(k6, e.__scopeSelect), [a, o] = z.useState(!1), s = uc(n, i.onScrollButtonChange);
|
|
48966
48930
|
return sc(() => {
|
|
48967
48931
|
if (r.viewport && r.isPositioned) {
|
|
@@ -48979,8 +48943,8 @@ var k6 = "SelectScrollUpButton", sve = z.forwardRef((e, n) => {
|
|
|
48979
48943
|
}
|
|
48980
48944
|
}) : null;
|
|
48981
48945
|
});
|
|
48982
|
-
|
|
48983
|
-
var A6 = "SelectScrollDownButton",
|
|
48946
|
+
ove.displayName = k6;
|
|
48947
|
+
var A6 = "SelectScrollDownButton", sve = z.forwardRef((e, n) => {
|
|
48984
48948
|
let r = h6(A6, e.__scopeSelect), i = y6(A6, e.__scopeSelect), [a, o] = z.useState(!1), s = uc(n, i.onScrollButtonChange);
|
|
48985
48949
|
return sc(() => {
|
|
48986
48950
|
if (r.viewport && r.isPositioned) {
|
|
@@ -48999,7 +48963,7 @@ var A6 = "SelectScrollDownButton", cve = z.forwardRef((e, n) => {
|
|
|
48999
48963
|
}
|
|
49000
48964
|
}) : null;
|
|
49001
48965
|
});
|
|
49002
|
-
|
|
48966
|
+
sve.displayName = A6;
|
|
49003
48967
|
var j6 = z.forwardRef((e, n) => {
|
|
49004
48968
|
let { __scopeSelect: r, onAutoScroll: i, ...a } = e, o = h6("SelectScrollButton", r), s = z.useRef(null), c = Z3(r), l = z.useCallback(() => {
|
|
49005
48969
|
s.current !== null && (window.clearInterval(s.current), s.current = null);
|
|
@@ -49024,7 +48988,7 @@ var j6 = z.forwardRef((e, n) => {
|
|
|
49024
48988
|
l();
|
|
49025
48989
|
})
|
|
49026
48990
|
});
|
|
49027
|
-
}),
|
|
48991
|
+
}), cve = "SelectSeparator", lve = z.forwardRef((e, n) => {
|
|
49028
48992
|
let { __scopeSelect: r, ...i } = e;
|
|
49029
48993
|
return /* @__PURE__ */ t(jw.div, {
|
|
49030
48994
|
"aria-hidden": !0,
|
|
@@ -49032,8 +48996,8 @@ var j6 = z.forwardRef((e, n) => {
|
|
|
49032
48996
|
ref: n
|
|
49033
48997
|
});
|
|
49034
48998
|
});
|
|
49035
|
-
|
|
49036
|
-
var M6 = "SelectArrow",
|
|
48999
|
+
lve.displayName = cve;
|
|
49000
|
+
var M6 = "SelectArrow", uve = z.forwardRef((e, n) => {
|
|
49037
49001
|
let { __scopeSelect: r, ...i } = e, a = $3(r);
|
|
49038
49002
|
return h6(M6, r).position === "popper" ? /* @__PURE__ */ t(PT, {
|
|
49039
49003
|
...a,
|
|
@@ -49041,7 +49005,7 @@ var M6 = "SelectArrow", dve = z.forwardRef((e, n) => {
|
|
|
49041
49005
|
ref: n
|
|
49042
49006
|
}) : null;
|
|
49043
49007
|
});
|
|
49044
|
-
|
|
49008
|
+
uve.displayName = M6;
|
|
49045
49009
|
var N6 = "SelectBubbleInput", P6 = z.forwardRef(({ __scopeSelect: e, ...r }, i) => {
|
|
49046
49010
|
let a = e6(N6, e), { value: o, onValueChange: s, required: c, disabled: l, name: u, autoComplete: d, form: f } = a, { nativeOptions: p, nativeSelectKey: m } = a, h = z.useRef(null), g = uc(i, h), _ = o ?? "", v = Ew(_);
|
|
49047
49011
|
return z.useEffect(() => {
|
|
@@ -49072,7 +49036,7 @@ var N6 = "SelectBubbleInput", P6 = z.forwardRef(({ __scopeSelect: e, ...r }, i)
|
|
|
49072
49036
|
}, m);
|
|
49073
49037
|
});
|
|
49074
49038
|
P6.displayName = N6;
|
|
49075
|
-
function
|
|
49039
|
+
function dve(e) {
|
|
49076
49040
|
return typeof e == "function";
|
|
49077
49041
|
}
|
|
49078
49042
|
function F6(e) {
|
|
@@ -49094,12 +49058,12 @@ function I6(e) {
|
|
|
49094
49058
|
];
|
|
49095
49059
|
}
|
|
49096
49060
|
function L6(e, t, n) {
|
|
49097
|
-
let r = t.length > 1 && Array.from(t).every((e) => e === t[0]) ? t[0] : t, i = n ? e.indexOf(n) : -1, a =
|
|
49061
|
+
let r = t.length > 1 && Array.from(t).every((e) => e === t[0]) ? t[0] : t, i = n ? e.indexOf(n) : -1, a = fve(e, Math.max(i, 0));
|
|
49098
49062
|
r.length === 1 && (a = a.filter((e) => e !== n));
|
|
49099
49063
|
let o = a.find((e) => e.textValue.toLowerCase().startsWith(r.toLowerCase()));
|
|
49100
49064
|
return o === n ? void 0 : o;
|
|
49101
49065
|
}
|
|
49102
|
-
function
|
|
49066
|
+
function fve(e, t) {
|
|
49103
49067
|
return e.map((n, r) => e[(t + r) % e.length]);
|
|
49104
49068
|
}
|
|
49105
49069
|
//#endregion
|
|
@@ -49118,7 +49082,7 @@ var R6 = ({ className: e, selected: n, badge: r, children: i, rawChildren: a = !
|
|
|
49118
49082
|
R6.displayName = "SearchableSelectItem";
|
|
49119
49083
|
//#endregion
|
|
49120
49084
|
//#region src/components/input/SearchableSelect/SearchableSelectTrigger.tsx
|
|
49121
|
-
var
|
|
49085
|
+
var pve = G([
|
|
49122
49086
|
"outline-hidden",
|
|
49123
49087
|
"flex w-full gap-1",
|
|
49124
49088
|
"rounded-500 border-misc-border bg-surface-high border",
|
|
@@ -49169,7 +49133,7 @@ var mve = G([
|
|
|
49169
49133
|
...l,
|
|
49170
49134
|
ref: c,
|
|
49171
49135
|
"aria-label": r,
|
|
49172
|
-
className: U(
|
|
49136
|
+
className: U(pve({
|
|
49173
49137
|
size: s,
|
|
49174
49138
|
multiline: o
|
|
49175
49139
|
}), e),
|
|
@@ -49291,7 +49255,7 @@ var V6 = ({ isSearchable: e = !0, value: r, defaultValue: i = "", onValueChange:
|
|
|
49291
49255
|
renderValue: d,
|
|
49292
49256
|
listMinHeight: m,
|
|
49293
49257
|
multiline: _,
|
|
49294
|
-
children: [S && h ? /* @__PURE__ */ t(
|
|
49258
|
+
children: [S && h ? /* @__PURE__ */ t(P_e, {
|
|
49295
49259
|
ref: w,
|
|
49296
49260
|
keepMounted: j === -1 ? [] : [j],
|
|
49297
49261
|
style: {
|
|
@@ -49372,8 +49336,8 @@ var U6 = ["PageUp", "PageDown"], W6 = [
|
|
|
49372
49336
|
"ArrowUp",
|
|
49373
49337
|
"ArrowLeft"
|
|
49374
49338
|
]
|
|
49375
|
-
}, K6 = "Slider", [q6,
|
|
49376
|
-
let { name: r, min: i = 0, max: a = 100, step: o = 1, orientation: s = "horizontal", disabled: c = !1, minStepsBetweenThumbs: l = 0, defaultValue: u = [i], value: d, onValueChange: f = () => {}, onValueCommit: p = () => {}, inverted: m = !1, form: h, ...g } = e, _ = z.useRef(/* @__PURE__ */ new Set()), v = z.useRef(0), y = z.useRef(!1), b = s === "horizontal" ?
|
|
49339
|
+
}, K6 = "Slider", [q6, mve, hve] = Xw(K6), [J6, gve] = ic(K6, [hve]), [_ve, Y6] = J6(K6), X6 = z.forwardRef((e, n) => {
|
|
49340
|
+
let { name: r, min: i = 0, max: a = 100, step: o = 1, orientation: s = "horizontal", disabled: c = !1, minStepsBetweenThumbs: l = 0, defaultValue: u = [i], value: d, onValueChange: f = () => {}, onValueCommit: p = () => {}, inverted: m = !1, form: h, ...g } = e, _ = z.useRef(/* @__PURE__ */ new Set()), v = z.useRef(0), y = z.useRef(!1), b = s === "horizontal" ? vve : yve, [x = [], S] = Tw({
|
|
49377
49341
|
prop: d,
|
|
49378
49342
|
defaultProp: u,
|
|
49379
49343
|
onChange: (e) => {
|
|
@@ -49384,7 +49348,7 @@ var U6 = ["PageUp", "PageDown"], W6 = [
|
|
|
49384
49348
|
}
|
|
49385
49349
|
}), C = z.useRef(x);
|
|
49386
49350
|
function w(e) {
|
|
49387
|
-
D(e,
|
|
49351
|
+
D(e, wve(x, e));
|
|
49388
49352
|
}
|
|
49389
49353
|
function T(e) {
|
|
49390
49354
|
D(e, v.current);
|
|
@@ -49394,17 +49358,17 @@ var U6 = ["PageUp", "PageDown"], W6 = [
|
|
|
49394
49358
|
x[v.current] !== e && p(x);
|
|
49395
49359
|
}
|
|
49396
49360
|
function D(e, t, { commit: n } = { commit: !1 }) {
|
|
49397
|
-
let r =
|
|
49361
|
+
let r = Ove(o), s = q3(kve(Math.round((e - i) / o) * o + i, r), [i, a]);
|
|
49398
49362
|
S((e = []) => {
|
|
49399
|
-
let r =
|
|
49400
|
-
if (
|
|
49363
|
+
let r = Sve(e, s, t);
|
|
49364
|
+
if (Dve(r, l * o)) {
|
|
49401
49365
|
v.current = r.indexOf(s);
|
|
49402
49366
|
let t = String(r) !== String(e);
|
|
49403
49367
|
return t && n && p(r), t ? r : e;
|
|
49404
49368
|
} else return e;
|
|
49405
49369
|
});
|
|
49406
49370
|
}
|
|
49407
|
-
return /* @__PURE__ */ t(
|
|
49371
|
+
return /* @__PURE__ */ t(_ve, {
|
|
49408
49372
|
scope: e.__scopeSlider,
|
|
49409
49373
|
name: r,
|
|
49410
49374
|
disabled: c,
|
|
@@ -49457,7 +49421,7 @@ var [Z6, Q6] = J6(K6, {
|
|
|
49457
49421
|
endEdge: "right",
|
|
49458
49422
|
size: "width",
|
|
49459
49423
|
direction: 1
|
|
49460
|
-
}),
|
|
49424
|
+
}), vve = z.forwardRef((e, n) => {
|
|
49461
49425
|
let { min: r, max: i, dir: a, inverted: o, onSlideStart: s, onSlideMove: c, onSlideEnd: l, onStepKeyDown: u, ...d } = e, [f, p] = z.useState(null), m = uc(n, (e) => p(e)), h = z.useRef(void 0), g = Zw(a), _ = g === "ltr", v = _ && !o || !_ && o;
|
|
49462
49426
|
function y(e) {
|
|
49463
49427
|
let t = h.current || f.getBoundingClientRect(), n = p8([0, t.width], v ? [r, i] : [i, r]);
|
|
@@ -49498,7 +49462,7 @@ var [Z6, Q6] = J6(K6, {
|
|
|
49498
49462
|
}
|
|
49499
49463
|
})
|
|
49500
49464
|
});
|
|
49501
|
-
}),
|
|
49465
|
+
}), yve = z.forwardRef((e, n) => {
|
|
49502
49466
|
let { min: r, max: i, inverted: a, onSlideStart: o, onSlideMove: s, onSlideEnd: c, onStepKeyDown: l, ...u } = e, d = z.useRef(null), f = uc(n, d), p = z.useRef(void 0), m = !a;
|
|
49503
49467
|
function h(e) {
|
|
49504
49468
|
let t = p.current || d.current.getBoundingClientRect(), n = p8([0, t.height], m ? [i, r] : [r, i]);
|
|
@@ -49571,7 +49535,7 @@ var [Z6, Q6] = J6(K6, {
|
|
|
49571
49535
|
});
|
|
49572
49536
|
});
|
|
49573
49537
|
t8.displayName = e8;
|
|
49574
|
-
var n8 = "SliderRange",
|
|
49538
|
+
var n8 = "SliderRange", bve = z.forwardRef((e, n) => {
|
|
49575
49539
|
let { __scopeSlider: r, ...i } = e, a = Y6(n8, r), o = Q6(n8, r), s = uc(n, z.useRef(null)), c = a.values.length, l = a.values.map((e) => f8(e, a.min, a.max)), u = c > 1 ? Math.min(...l) : 0, d = 100 - Math.max(...l);
|
|
49576
49540
|
return /* @__PURE__ */ t(jw.span, {
|
|
49577
49541
|
"data-orientation": a.orientation,
|
|
@@ -49585,10 +49549,10 @@ var n8 = "SliderRange", xve = z.forwardRef((e, n) => {
|
|
|
49585
49549
|
}
|
|
49586
49550
|
});
|
|
49587
49551
|
});
|
|
49588
|
-
|
|
49589
|
-
var r8 = "SliderThumb", [
|
|
49552
|
+
bve.displayName = n8;
|
|
49553
|
+
var r8 = "SliderThumb", [xve, i8] = J6(r8), a8 = "SliderThumbProvider";
|
|
49590
49554
|
function o8(e) {
|
|
49591
|
-
let { __scopeSlider: n, name: r, children: i, internal_do_not_use_render: a } = e, o = Y6(a8, n), s =
|
|
49555
|
+
let { __scopeSlider: n, name: r, children: i, internal_do_not_use_render: a } = e, o = Y6(a8, n), s = mve(n), [c, l] = z.useState(null), u = z.useMemo(() => c ? s().findIndex((e) => e.ref.current === c) : -1, [s, c]), d = Dw(c), f = c ? !!o.form || !!c.closest("form") : !0, p = o.values[u], m = r ?? (o.name ? o.name + (o.values.length > 1 ? "[]" : "") : void 0), h = p === void 0 ? 0 : f8(p, o.min, o.max);
|
|
49592
49556
|
z.useEffect(() => {
|
|
49593
49557
|
if (c) return o.thumbs.add(c), () => {
|
|
49594
49558
|
o.thumbs.delete(c);
|
|
@@ -49605,15 +49569,15 @@ function o8(e) {
|
|
|
49605
49569
|
percent: h,
|
|
49606
49570
|
size: d
|
|
49607
49571
|
};
|
|
49608
|
-
return /* @__PURE__ */ t(
|
|
49572
|
+
return /* @__PURE__ */ t(xve, {
|
|
49609
49573
|
scope: n,
|
|
49610
49574
|
...g,
|
|
49611
|
-
children:
|
|
49575
|
+
children: Ave(a) ? a(g) : i
|
|
49612
49576
|
});
|
|
49613
49577
|
}
|
|
49614
49578
|
o8.displayName = a8;
|
|
49615
49579
|
var s8 = "SliderThumbTrigger", c8 = z.forwardRef((e, n) => {
|
|
49616
|
-
let { __scopeSlider: r, ...i } = e, a = Y6(s8, r), o = Q6(s8, r), { index: s, value: c, percent: l, size: u, onThumbChange: d } = i8(s8, r), f = uc(n, (e) => d(e)), p =
|
|
49580
|
+
let { __scopeSlider: r, ...i } = e, a = Y6(s8, r), o = Q6(s8, r), { index: s, value: c, percent: l, size: u, onThumbChange: d } = i8(s8, r), f = uc(n, (e) => d(e)), p = Cve(s, a.values.length), m = u?.[o.size], h = m ? Tve(m, l, o.direction) : 0;
|
|
49617
49581
|
return /* @__PURE__ */ t("span", {
|
|
49618
49582
|
style: {
|
|
49619
49583
|
transform: "var(--radix-slider-thumb-transform)",
|
|
@@ -49676,32 +49640,32 @@ var u8 = "SliderBubbleInput", d8 = z.forwardRef(({ __scopeSlider: e, ...n }, r)
|
|
|
49676
49640
|
});
|
|
49677
49641
|
});
|
|
49678
49642
|
d8.displayName = u8;
|
|
49679
|
-
function
|
|
49643
|
+
function Sve(e = [], t, n) {
|
|
49680
49644
|
let r = [...e];
|
|
49681
49645
|
return r[n] = t, r.sort((e, t) => e - t);
|
|
49682
49646
|
}
|
|
49683
49647
|
function f8(e, t, n) {
|
|
49684
49648
|
return q3(100 / (n - t) * (e - t), [0, 100]);
|
|
49685
49649
|
}
|
|
49686
|
-
function
|
|
49650
|
+
function Cve(e, t) {
|
|
49687
49651
|
if (t > 2) return `Value ${e + 1} of ${t}`;
|
|
49688
49652
|
if (t === 2) return ["Minimum", "Maximum"][e];
|
|
49689
49653
|
}
|
|
49690
|
-
function
|
|
49654
|
+
function wve(e, t) {
|
|
49691
49655
|
if (e.length === 1) return 0;
|
|
49692
49656
|
let n = e.map((e) => Math.abs(e - t)), r = Math.min(...n);
|
|
49693
49657
|
return n.indexOf(r);
|
|
49694
49658
|
}
|
|
49695
|
-
function
|
|
49659
|
+
function Tve(e, t, n) {
|
|
49696
49660
|
let r = e / 2;
|
|
49697
49661
|
return (r - p8([0, 50], [0, r])(t) * n) * n;
|
|
49698
49662
|
}
|
|
49699
|
-
function
|
|
49663
|
+
function Eve(e) {
|
|
49700
49664
|
return e.slice(0, -1).map((t, n) => e[n + 1] - t);
|
|
49701
49665
|
}
|
|
49702
|
-
function
|
|
49666
|
+
function Dve(e, t) {
|
|
49703
49667
|
if (t > 0) {
|
|
49704
|
-
let n =
|
|
49668
|
+
let n = Eve(e);
|
|
49705
49669
|
return Math.min(...n) >= t;
|
|
49706
49670
|
}
|
|
49707
49671
|
return !0;
|
|
@@ -49713,7 +49677,7 @@ function p8(e, t) {
|
|
|
49713
49677
|
return t[0] + r * (n - e[0]);
|
|
49714
49678
|
};
|
|
49715
49679
|
}
|
|
49716
|
-
function
|
|
49680
|
+
function Ove(e) {
|
|
49717
49681
|
if (!Number.isFinite(e)) return 0;
|
|
49718
49682
|
let t = e.toString();
|
|
49719
49683
|
if (t.includes("e")) {
|
|
@@ -49723,11 +49687,11 @@ function kve(e) {
|
|
|
49723
49687
|
let n = t.split(".")[1];
|
|
49724
49688
|
return n ? n.length : 0;
|
|
49725
49689
|
}
|
|
49726
|
-
function
|
|
49690
|
+
function kve(e, t) {
|
|
49727
49691
|
let n = 10 ** t;
|
|
49728
49692
|
return Math.round(e * n) / n;
|
|
49729
49693
|
}
|
|
49730
|
-
function
|
|
49694
|
+
function Ave(e) {
|
|
49731
49695
|
return typeof e == "function";
|
|
49732
49696
|
}
|
|
49733
49697
|
//#endregion
|
|
@@ -49737,13 +49701,13 @@ var m8 = (e, t) => (n) => 100 * (n - e) / (t - e), h8 = [
|
|
|
49737
49701
|
"ArrowLeft",
|
|
49738
49702
|
"ArrowUp",
|
|
49739
49703
|
"ArrowDown"
|
|
49740
|
-
],
|
|
49704
|
+
], jve = G("absolute h-full rounded-full", {
|
|
49741
49705
|
variants: { variant: {
|
|
49742
49706
|
accent: "bg-content-accent",
|
|
49743
49707
|
primary: "bg-content-primary"
|
|
49744
49708
|
} },
|
|
49745
49709
|
defaultVariants: { variant: "accent" }
|
|
49746
|
-
}),
|
|
49710
|
+
}), Mve = G("border-misc-border shadow-300 focus-visible:ring-misc-focus-indicator focus-visible:misc-border-size-focus-ring block h-5 w-5 rounded-full border bg-white outline-hidden transition-all", {
|
|
49747
49711
|
variants: { variant: {
|
|
49748
49712
|
accent: "focus-visible:border-content-accent",
|
|
49749
49713
|
primary: "focus-visible:border-content-primary"
|
|
@@ -49781,16 +49745,16 @@ var m8 = (e, t) => (n) => 100 * (n - e) / (t - e), h8 = [
|
|
|
49781
49745
|
children: [/* @__PURE__ */ t(t8, {
|
|
49782
49746
|
className: "bg-misc-border-default relative h-1 grow rounded-full",
|
|
49783
49747
|
children: /* @__PURE__ */ t("div", {
|
|
49784
|
-
className:
|
|
49748
|
+
className: jve({ variant: e }),
|
|
49785
49749
|
style: l
|
|
49786
49750
|
})
|
|
49787
49751
|
}), s?.map((n, i) => /* @__PURE__ */ t(l8, {
|
|
49788
49752
|
"aria-label": i.toString(),
|
|
49789
|
-
className:
|
|
49753
|
+
className: Mve({ variant: e }),
|
|
49790
49754
|
onDoubleClick: r
|
|
49791
49755
|
}, i))]
|
|
49792
49756
|
});
|
|
49793
|
-
},
|
|
49757
|
+
}, Nve = ({ value: e, defaultValue: r = 0, onValueChange: i, onNumberFieldValueChange: a, onDoubleClickThumb: o, onPointerDown: s, onPointerUp: c, onArrowKeyDown: l, onArrowKeyUp: u, sliderVariant: d, min: f = 0, max: p = 100, step: m = 1, label: h, description: g, disabled: _, tooltip: v, className: y, isMixed: b, ...x }) => {
|
|
49794
49758
|
let [S, C] = yz({
|
|
49795
49759
|
value: e,
|
|
49796
49760
|
defaultValue: r,
|
|
@@ -49895,7 +49859,7 @@ var m8 = (e, t) => (n) => 100 * (n - e) / (t - e), h8 = [
|
|
|
49895
49859
|
_8.Indicator = a3;
|
|
49896
49860
|
//#endregion
|
|
49897
49861
|
//#region src/components/input/SwitchGroup/SwitchGroupItem.tsx
|
|
49898
|
-
var
|
|
49862
|
+
var Pve = ({ label: e, description: r, indeterminate: i, defaultIndeterminate: a, onIndeterminateChange: o, className: s, ...c }) => {
|
|
49899
49863
|
let l = Te(), u = ke(() => ({
|
|
49900
49864
|
id: l,
|
|
49901
49865
|
...c
|
|
@@ -49932,10 +49896,10 @@ var Fve = ({ label: e, description: r, indeterminate: i, defaultIndeterminate: a
|
|
|
49932
49896
|
}),
|
|
49933
49897
|
children: r
|
|
49934
49898
|
});
|
|
49935
|
-
v8.Item =
|
|
49899
|
+
v8.Item = Pve;
|
|
49936
49900
|
//#endregion
|
|
49937
49901
|
//#region src/components/input/TagField/TagField.tsx
|
|
49938
|
-
var
|
|
49902
|
+
var Fve = G(["group rounded-500 border-misc-border bg-surface-high text-500 text-content-primary placeholder-content-tertiary w-full appearance-none border font-medium", "focus-within:misc-border-size-focus-ring outline-hidden transition duration-200 disabled:cursor-not-allowed disabled:opacity-50"], {
|
|
49939
49903
|
variants: { invalid: {
|
|
49940
49904
|
true: ["border-content-negative border caret-black", "focus-within:border-content-negative focus-within:ring-background-negative-subdued-down"],
|
|
49941
49905
|
false: [
|
|
@@ -49955,7 +49919,7 @@ var Ive = G(["group rounded-500 border-misc-border bg-surface-high text-500 text
|
|
|
49955
49919
|
children: e
|
|
49956
49920
|
}),
|
|
49957
49921
|
/* @__PURE__ */ t("div", {
|
|
49958
|
-
className:
|
|
49922
|
+
className: Fve({ invalid: i }),
|
|
49959
49923
|
children: /* @__PURE__ */ n("div", {
|
|
49960
49924
|
className: "flex w-full flex-wrap items-center gap-1 p-2",
|
|
49961
49925
|
children: [
|
|
@@ -50024,13 +49988,13 @@ var x8 = ({ label: e, helper: r, className: i, ref: a, ...o }) => {
|
|
|
50024
49988
|
x8.displayName = "TextField";
|
|
50025
49989
|
//#endregion
|
|
50026
49990
|
//#region src/components/input/TextFieldLabel/TextFieldLabel.tsx
|
|
50027
|
-
var
|
|
49991
|
+
var Ive = G(["min-h-full min-w-full p-1.5 py-2", "duration-200 active:bg-neutral-400 disabled:cursor-not-allowed disabled:opacity-50"], {
|
|
50028
49992
|
variants: { invalid: {
|
|
50029
49993
|
true: ["hover:bg-background-negative-subdued-hover active:bg-background-negative-subdued-down"],
|
|
50030
49994
|
false: ["hover:bg-background-subdued-hover active:bg-background-subdued-down"]
|
|
50031
49995
|
} },
|
|
50032
49996
|
defaultVariants: { invalid: !1 }
|
|
50033
|
-
}),
|
|
49997
|
+
}), Lve = G("rounded-250 text-500 font-500 inline-flex h-full cursor-pointer items-center overflow-hidden transition-all disabled:opacity-50", {
|
|
50034
49998
|
variants: {
|
|
50035
49999
|
hasRemoveButton: {
|
|
50036
50000
|
true: "ps-1.5",
|
|
@@ -50050,13 +50014,13 @@ var Lve = G(["min-h-full min-w-full p-1.5 py-2", "duration-200 active:bg-neutral
|
|
|
50050
50014
|
invalid: !1,
|
|
50051
50015
|
disabled: !1
|
|
50052
50016
|
}
|
|
50053
|
-
}),
|
|
50017
|
+
}), Rve = ({ avatar: e, children: r, invalid: i, disabled: a, className: o, onRemove: s, ...c }) => {
|
|
50054
50018
|
let l = ke(() => e ? he(e, {
|
|
50055
50019
|
className: U("pointer-events-none pe-1", e.props.className),
|
|
50056
50020
|
size: 16
|
|
50057
50021
|
}) : null, [e]);
|
|
50058
50022
|
return /* @__PURE__ */ n("span", {
|
|
50059
|
-
className: W(
|
|
50023
|
+
className: W(Lve({
|
|
50060
50024
|
hasRemoveButton: !!s,
|
|
50061
50025
|
invalid: i,
|
|
50062
50026
|
disabled: a
|
|
@@ -50073,7 +50037,7 @@ var Lve = G(["min-h-full min-w-full p-1.5 py-2", "duration-200 active:bg-neutral
|
|
|
50073
50037
|
children: /* @__PURE__ */ t("button", {
|
|
50074
50038
|
type: "button",
|
|
50075
50039
|
disabled: a,
|
|
50076
|
-
className:
|
|
50040
|
+
className: Ive({ invalid: i }),
|
|
50077
50041
|
onClick: s,
|
|
50078
50042
|
children: /* @__PURE__ */ t(_, {
|
|
50079
50043
|
className: "h-3 w-3 text-black",
|
|
@@ -50092,7 +50056,7 @@ var Lve = G(["min-h-full min-w-full p-1.5 py-2", "duration-200 active:bg-neutral
|
|
|
50092
50056
|
S8.displayName = "FontFamilyRow";
|
|
50093
50057
|
//#endregion
|
|
50094
50058
|
//#region src/components/list/PeopleListItem/PeopleListItem.tsx
|
|
50095
|
-
var
|
|
50059
|
+
var zve = ({ label: e, description: r, avatar: i, trailingElement: a, className: o, ...s }) => {
|
|
50096
50060
|
let c = ke(() => i ? he(i, {
|
|
50097
50061
|
className: U("pointer-events-none ms-auto shrink-0", i.props.className),
|
|
50098
50062
|
size: 20
|
|
@@ -50117,13 +50081,13 @@ var Bve = ({ label: e, description: r, avatar: i, trailingElement: a, className:
|
|
|
50117
50081
|
children: a
|
|
50118
50082
|
})]
|
|
50119
50083
|
});
|
|
50120
|
-
},
|
|
50084
|
+
}, Bve = G("flex w-full items-center gap-2 overflow-clip [overflow-clip-margin:3px]", {
|
|
50121
50085
|
variants: { size: {
|
|
50122
50086
|
medium: "h-8",
|
|
50123
50087
|
large: "h-10"
|
|
50124
50088
|
} },
|
|
50125
50089
|
defaultVariants: { size: "medium" }
|
|
50126
|
-
}),
|
|
50090
|
+
}), Vve = G("flex-1", {
|
|
50127
50091
|
variants: {
|
|
50128
50092
|
size: {
|
|
50129
50093
|
medium: "component-semi-strong-500",
|
|
@@ -50139,11 +50103,11 @@ var Bve = ({ label: e, description: r, avatar: i, trailingElement: a, className:
|
|
|
50139
50103
|
variant: "primary"
|
|
50140
50104
|
}
|
|
50141
50105
|
}), C8 = ({ title: e, size: r = "medium", variant: i = "primary", className: a, titleClassName: o, leading: s, link: c }) => /* @__PURE__ */ n("div", {
|
|
50142
|
-
className: W(
|
|
50106
|
+
className: W(Bve({ size: r }), a),
|
|
50143
50107
|
children: [
|
|
50144
50108
|
s,
|
|
50145
50109
|
/* @__PURE__ */ t("h2", {
|
|
50146
|
-
className: W(
|
|
50110
|
+
className: W(Vve({
|
|
50147
50111
|
size: r,
|
|
50148
50112
|
variant: i
|
|
50149
50113
|
}), o),
|
|
@@ -50151,7 +50115,7 @@ var Bve = ({ label: e, description: r, avatar: i, trailingElement: a, className:
|
|
|
50151
50115
|
}),
|
|
50152
50116
|
c
|
|
50153
50117
|
]
|
|
50154
|
-
}),
|
|
50118
|
+
}), Hve = ({ index: e, title: r, subtitle: i, className: a }) => /* @__PURE__ */ n("div", {
|
|
50155
50119
|
className: W("flex w-full flex-col gap-0.5 overflow-x-clip py-[7px]", a),
|
|
50156
50120
|
children: [/* @__PURE__ */ t(C8, {
|
|
50157
50121
|
title: r,
|
|
@@ -50164,20 +50128,20 @@ var Bve = ({ label: e, description: r, avatar: i, trailingElement: a, className:
|
|
|
50164
50128
|
className: "component-400 text-content-tertiary",
|
|
50165
50129
|
children: i
|
|
50166
50130
|
})]
|
|
50167
|
-
}),
|
|
50131
|
+
}), Uve = G("flex w-full items-center justify-start", {
|
|
50168
50132
|
variants: { size: {
|
|
50169
50133
|
medium: "h-8",
|
|
50170
50134
|
large: "h-10"
|
|
50171
50135
|
} },
|
|
50172
50136
|
defaultVariants: { size: "medium" }
|
|
50173
|
-
}),
|
|
50174
|
-
className: W(
|
|
50137
|
+
}), Wve = ({ size: e = "medium", className: n }) => /* @__PURE__ */ t("div", {
|
|
50138
|
+
className: W(Uve({ size: e }), n),
|
|
50175
50139
|
"aria-busy": !0,
|
|
50176
50140
|
children: /* @__PURE__ */ t(IJ, {
|
|
50177
50141
|
className: "h-4 w-32",
|
|
50178
50142
|
rounding: "200"
|
|
50179
50143
|
})
|
|
50180
|
-
}),
|
|
50144
|
+
}), Gve = ({ selectionState: e }) => e === "selected" ? /* @__PURE__ */ t("div", {
|
|
50181
50145
|
className: "flex shrink-0 items-center justify-center",
|
|
50182
50146
|
children: /* @__PURE__ */ t(u, { className: "text-content-accent h-5 w-5" })
|
|
50183
50147
|
}) : e === "mixed" ? /* @__PURE__ */ t("div", {
|
|
@@ -50212,21 +50176,21 @@ var Bve = ({ label: e, description: r, avatar: i, trailingElement: a, className:
|
|
|
50212
50176
|
children: r
|
|
50213
50177
|
})]
|
|
50214
50178
|
}),
|
|
50215
|
-
/* @__PURE__ */ t(
|
|
50179
|
+
/* @__PURE__ */ t(Gve, { selectionState: a })
|
|
50216
50180
|
]
|
|
50217
50181
|
});
|
|
50218
50182
|
};
|
|
50219
50183
|
w8.displayName = "SizeListItem";
|
|
50220
50184
|
//#endregion
|
|
50221
50185
|
//#region ../../node_modules/.pnpm/@radix-ui+react-collapsible@1.1.12_@types+react-dom@19.2.3_@types+react@19.2.16__@types_236e4cc4840637ed668b028d65fe4aac/node_modules/@radix-ui/react-collapsible/dist/index.mjs
|
|
50222
|
-
var T8 = "Collapsible", [
|
|
50186
|
+
var T8 = "Collapsible", [Kve, E8] = ei(T8), [qve, D8] = Kve(T8), O8 = z.forwardRef((e, n) => {
|
|
50223
50187
|
let { __scopeCollapsible: r, open: i, defaultOpen: a, disabled: o, onOpenChange: s, ...c } = e, [l, u] = ss({
|
|
50224
50188
|
prop: i,
|
|
50225
50189
|
defaultProp: a ?? !1,
|
|
50226
50190
|
onChange: s,
|
|
50227
50191
|
caller: T8
|
|
50228
50192
|
});
|
|
50229
|
-
return /* @__PURE__ */ t(
|
|
50193
|
+
return /* @__PURE__ */ t(qve, {
|
|
50230
50194
|
scope: r,
|
|
50231
50195
|
disabled: o,
|
|
50232
50196
|
contentId: ki(),
|
|
@@ -50260,7 +50224,7 @@ var j8 = "CollapsibleContent", M8 = z.forwardRef((e, n) => {
|
|
|
50260
50224
|
let { forceMount: r, ...i } = e, a = D8(j8, e.__scopeCollapsible);
|
|
50261
50225
|
return /* @__PURE__ */ t(ns, {
|
|
50262
50226
|
present: r || a.open,
|
|
50263
|
-
children: ({ present: e }) => /* @__PURE__ */ t(
|
|
50227
|
+
children: ({ present: e }) => /* @__PURE__ */ t(Jve, {
|
|
50264
50228
|
...i,
|
|
50265
50229
|
ref: n,
|
|
50266
50230
|
present: e
|
|
@@ -50268,7 +50232,7 @@ var j8 = "CollapsibleContent", M8 = z.forwardRef((e, n) => {
|
|
|
50268
50232
|
});
|
|
50269
50233
|
});
|
|
50270
50234
|
M8.displayName = j8;
|
|
50271
|
-
var
|
|
50235
|
+
var Jve = z.forwardRef((e, n) => {
|
|
50272
50236
|
let { __scopeCollapsible: r, present: i, children: a, ...o } = e, s = D8(j8, r), [c, l] = z.useState(i), u = z.useRef(null), d = Qr(n, u), f = z.useRef(0), p = f.current, m = z.useRef(0), h = m.current, g = s.open || c, _ = z.useRef(g), v = z.useRef(void 0);
|
|
50273
50237
|
return z.useEffect(() => {
|
|
50274
50238
|
let e = requestAnimationFrame(() => _.current = !1);
|
|
@@ -50301,28 +50265,28 @@ var Yve = z.forwardRef((e, n) => {
|
|
|
50301
50265
|
function N8(e) {
|
|
50302
50266
|
return e ? "open" : "closed";
|
|
50303
50267
|
}
|
|
50304
|
-
var
|
|
50268
|
+
var Yve = O8, Xve = A8, Zve = M8, P8 = "Accordion", Qve = [
|
|
50305
50269
|
"Home",
|
|
50306
50270
|
"End",
|
|
50307
50271
|
"ArrowDown",
|
|
50308
50272
|
"ArrowUp",
|
|
50309
50273
|
"ArrowLeft",
|
|
50310
50274
|
"ArrowRight"
|
|
50311
|
-
], [F8,
|
|
50275
|
+
], [F8, $ve, eye] = TV(P8), [I8, tye] = ei(P8, [eye, E8]), L8 = E8(), R8 = B.forwardRef((e, n) => {
|
|
50312
50276
|
let { type: r, ...i } = e, a = i, o = i;
|
|
50313
50277
|
return /* @__PURE__ */ t(F8.Provider, {
|
|
50314
50278
|
scope: e.__scopeAccordion,
|
|
50315
|
-
children: r === "multiple" ? /* @__PURE__ */ t(
|
|
50279
|
+
children: r === "multiple" ? /* @__PURE__ */ t(aye, {
|
|
50316
50280
|
...o,
|
|
50317
50281
|
ref: n
|
|
50318
|
-
}) : /* @__PURE__ */ t(
|
|
50282
|
+
}) : /* @__PURE__ */ t(iye, {
|
|
50319
50283
|
...a,
|
|
50320
50284
|
ref: n
|
|
50321
50285
|
})
|
|
50322
50286
|
});
|
|
50323
50287
|
});
|
|
50324
50288
|
R8.displayName = P8;
|
|
50325
|
-
var [z8,
|
|
50289
|
+
var [z8, nye] = I8(P8), [B8, rye] = I8(P8, { collapsible: !1 }), iye = B.forwardRef((e, n) => {
|
|
50326
50290
|
let { value: r, defaultValue: i, onValueChange: a = () => {}, collapsible: o = !1, ...s } = e, [c, l] = ss({
|
|
50327
50291
|
prop: r,
|
|
50328
50292
|
defaultProp: i ?? "",
|
|
@@ -50343,7 +50307,7 @@ var [z8, rye] = I8(P8), [B8, iye] = I8(P8, { collapsible: !1 }), aye = B.forward
|
|
|
50343
50307
|
})
|
|
50344
50308
|
})
|
|
50345
50309
|
});
|
|
50346
|
-
}),
|
|
50310
|
+
}), aye = B.forwardRef((e, n) => {
|
|
50347
50311
|
let { value: r, defaultValue: i, onValueChange: a = () => {}, ...o } = e, [s, c] = ss({
|
|
50348
50312
|
prop: r,
|
|
50349
50313
|
defaultProp: i ?? [],
|
|
@@ -50364,9 +50328,9 @@ var [z8, rye] = I8(P8), [B8, iye] = I8(P8, { collapsible: !1 }), aye = B.forward
|
|
|
50364
50328
|
})
|
|
50365
50329
|
})
|
|
50366
50330
|
});
|
|
50367
|
-
}), [
|
|
50368
|
-
let { __scopeAccordion: r, disabled: i, dir: a, orientation: o = "vertical", ...s } = e, c = Qr(B.useRef(null), n), l =
|
|
50369
|
-
if (
|
|
50331
|
+
}), [oye, V8] = I8(P8), H8 = B.forwardRef((e, n) => {
|
|
50332
|
+
let { __scopeAccordion: r, disabled: i, dir: a, orientation: o = "vertical", ...s } = e, c = Qr(B.useRef(null), n), l = $ve(r), u = DV(a) === "ltr", d = Yr(e.onKeyDown, (e) => {
|
|
50333
|
+
if (!Qve.includes(e.key)) return;
|
|
50370
50334
|
let t = e.target, n = l().filter((e) => !e.ref.current?.disabled), r = n.findIndex((e) => e.ref.current === t), i = n.length;
|
|
50371
50335
|
if (r === -1) return;
|
|
50372
50336
|
e.preventDefault();
|
|
@@ -50397,7 +50361,7 @@ var [z8, rye] = I8(P8), [B8, iye] = I8(P8, { collapsible: !1 }), aye = B.forward
|
|
|
50397
50361
|
}
|
|
50398
50362
|
n[a % i].ref.current?.focus();
|
|
50399
50363
|
});
|
|
50400
|
-
return /* @__PURE__ */ t(
|
|
50364
|
+
return /* @__PURE__ */ t(oye, {
|
|
50401
50365
|
scope: r,
|
|
50402
50366
|
disabled: i,
|
|
50403
50367
|
direction: a,
|
|
@@ -50412,14 +50376,14 @@ var [z8, rye] = I8(P8), [B8, iye] = I8(P8, { collapsible: !1 }), aye = B.forward
|
|
|
50412
50376
|
})
|
|
50413
50377
|
})
|
|
50414
50378
|
});
|
|
50415
|
-
}), U8 = "AccordionItem", [
|
|
50416
|
-
let { __scopeAccordion: r, value: i, ...a } = e, o = V8(U8, r), s =
|
|
50417
|
-
return /* @__PURE__ */ t(
|
|
50379
|
+
}), U8 = "AccordionItem", [sye, W8] = I8(U8), G8 = B.forwardRef((e, n) => {
|
|
50380
|
+
let { __scopeAccordion: r, value: i, ...a } = e, o = V8(U8, r), s = nye(U8, r), c = L8(r), l = ki(), u = i && s.value.includes(i) || !1, d = o.disabled || e.disabled;
|
|
50381
|
+
return /* @__PURE__ */ t(sye, {
|
|
50418
50382
|
scope: r,
|
|
50419
50383
|
open: u,
|
|
50420
50384
|
disabled: d,
|
|
50421
50385
|
triggerId: l,
|
|
50422
|
-
children: /* @__PURE__ */ t(
|
|
50386
|
+
children: /* @__PURE__ */ t(Yve, {
|
|
50423
50387
|
"data-orientation": o.orientation,
|
|
50424
50388
|
"data-state": Q8(u),
|
|
50425
50389
|
...c,
|
|
@@ -50446,10 +50410,10 @@ var K8 = "AccordionHeader", q8 = B.forwardRef((e, n) => {
|
|
|
50446
50410
|
});
|
|
50447
50411
|
q8.displayName = K8;
|
|
50448
50412
|
var J8 = "AccordionTrigger", Y8 = B.forwardRef((e, n) => {
|
|
50449
|
-
let { __scopeAccordion: r, ...i } = e, a = V8(P8, r), o = W8(J8, r), s =
|
|
50413
|
+
let { __scopeAccordion: r, ...i } = e, a = V8(P8, r), o = W8(J8, r), s = rye(J8, r), c = L8(r);
|
|
50450
50414
|
return /* @__PURE__ */ t(F8.ItemSlot, {
|
|
50451
50415
|
scope: r,
|
|
50452
|
-
children: /* @__PURE__ */ t(
|
|
50416
|
+
children: /* @__PURE__ */ t(Xve, {
|
|
50453
50417
|
"aria-disabled": o.open && !s.collapsible || void 0,
|
|
50454
50418
|
"data-orientation": a.orientation,
|
|
50455
50419
|
id: o.triggerId,
|
|
@@ -50462,7 +50426,7 @@ var J8 = "AccordionTrigger", Y8 = B.forwardRef((e, n) => {
|
|
|
50462
50426
|
Y8.displayName = J8;
|
|
50463
50427
|
var X8 = "AccordionContent", Z8 = B.forwardRef((e, n) => {
|
|
50464
50428
|
let { __scopeAccordion: r, ...i } = e, a = V8(P8, r), o = W8(X8, r), s = L8(r);
|
|
50465
|
-
return /* @__PURE__ */ t(
|
|
50429
|
+
return /* @__PURE__ */ t(Zve, {
|
|
50466
50430
|
role: "region",
|
|
50467
50431
|
"aria-labelledby": o.triggerId,
|
|
50468
50432
|
"data-orientation": a.orientation,
|
|
@@ -50480,14 +50444,14 @@ Z8.displayName = X8;
|
|
|
50480
50444
|
function Q8(e) {
|
|
50481
50445
|
return e ? "open" : "closed";
|
|
50482
50446
|
}
|
|
50483
|
-
var
|
|
50447
|
+
var cye = R8, lye = G8, uye = q8, dye = Y8, fye = Z8, pye = ({ children: e, className: n }) => /* @__PURE__ */ t(cye, {
|
|
50484
50448
|
type: "multiple",
|
|
50485
50449
|
className: n,
|
|
50486
50450
|
children: e
|
|
50487
50451
|
}), $8 = ({ className: e }) => /* @__PURE__ */ t("div", {
|
|
50488
50452
|
className: W("px-2", e),
|
|
50489
50453
|
children: /* @__PURE__ */ t(p, { className: "text-content-tertiary icon-size-500 group-radix-state-open:rotate-180 transition-transform duration-200" })
|
|
50490
|
-
}),
|
|
50454
|
+
}), mye = ({ label: e, subtitle: r }) => /* @__PURE__ */ n("div", {
|
|
50491
50455
|
className: "flex flex-col items-start gap-1 py-2",
|
|
50492
50456
|
children: [/* @__PURE__ */ t("span", {
|
|
50493
50457
|
className: "component-500 text-content-primary",
|
|
@@ -50530,13 +50494,13 @@ var t5 = ({ label: e, subtitle: r, onClickLeading: i, className: a, ...o }) => /
|
|
|
50530
50494
|
children: [/* @__PURE__ */ t(e5, {
|
|
50531
50495
|
onClick: i,
|
|
50532
50496
|
...o
|
|
50533
|
-
}), /* @__PURE__ */ t(
|
|
50497
|
+
}), /* @__PURE__ */ t(mye, {
|
|
50534
50498
|
label: e,
|
|
50535
50499
|
subtitle: r
|
|
50536
50500
|
})]
|
|
50537
|
-
}),
|
|
50501
|
+
}), hye = ({ label: e, subtitle: r, onClick: i, onClickLeading: a, ...o }) => /* @__PURE__ */ t(uye, {
|
|
50538
50502
|
onClick: i,
|
|
50539
|
-
children: /* @__PURE__ */ n(
|
|
50503
|
+
children: /* @__PURE__ */ n(dye, {
|
|
50540
50504
|
className: "group rounded-450 border-misc-border hover:bg-background-borderless-subdued-hover active:bg-background-borderless-subdued-down radix-state-open:rounded-b-none radix-state-open:border-b flex w-full items-center overflow-hidden",
|
|
50541
50505
|
children: [/* @__PURE__ */ t(t5, {
|
|
50542
50506
|
label: e,
|
|
@@ -50546,10 +50510,10 @@ var t5 = ({ label: e, subtitle: r, onClickLeading: i, className: a, ...o }) => /
|
|
|
50546
50510
|
...o
|
|
50547
50511
|
}), /* @__PURE__ */ t($8, {})]
|
|
50548
50512
|
})
|
|
50549
|
-
}), n5 = ({ value: e, header: r, children: i }) => /* @__PURE__ */ n(
|
|
50513
|
+
}), n5 = ({ value: e, header: r, children: i }) => /* @__PURE__ */ n(lye, {
|
|
50550
50514
|
value: e,
|
|
50551
50515
|
className: "rounded-450 radix-state-open:bg-background-subdued mb-1",
|
|
50552
|
-
children: [r, /* @__PURE__ */ t(
|
|
50516
|
+
children: [r, /* @__PURE__ */ t(fye, {
|
|
50553
50517
|
className: "data-[state=open]:animate-accordion-down data-[state=closed]:animate-accordion-up overflow-hidden",
|
|
50554
50518
|
children: /* @__PURE__ */ t("div", {
|
|
50555
50519
|
className: "misc-hairline-spacing flex flex-col py-1",
|
|
@@ -50557,10 +50521,10 @@ var t5 = ({ label: e, subtitle: r, onClickLeading: i, className: a, ...o }) => /
|
|
|
50557
50521
|
})
|
|
50558
50522
|
})]
|
|
50559
50523
|
});
|
|
50560
|
-
n5.HeaderItem =
|
|
50524
|
+
n5.HeaderItem = hye, n5.ValueItem = t5, n5.Trailing = $8, n5.Leading = e5;
|
|
50561
50525
|
//#endregion
|
|
50562
50526
|
//#region src/components/multiplayer/ActivityRow/ActivityRow.tsx
|
|
50563
|
-
var
|
|
50527
|
+
var gye = ({ variant: e, accountType: r, title: i, description: a, thumbnail: o, time: s, avatar: c, unread: l = !1, stacked: u = !1, selectable: d = !0, showUnread: f = !0 }) => {
|
|
50564
50528
|
let [p, m] = je(!1), h = Te();
|
|
50565
50529
|
return /* @__PURE__ */ n("div", {
|
|
50566
50530
|
className: U("group bg-surface-high flex cursor-pointer gap-3 p-2 pe-4", { "hover:bg-background-borderless-subdued-hover active:bg-background-borderless-subdued-down": d && e === "event" }),
|
|
@@ -50624,7 +50588,7 @@ var _ye = ({ variant: e, accountType: r, title: i, description: a, thumbnail: o,
|
|
|
50624
50588
|
})
|
|
50625
50589
|
})]
|
|
50626
50590
|
});
|
|
50627
|
-
},
|
|
50591
|
+
}, _ye = ({ name: e, message: r, info: i, avatar: a, className: o, status: s, overlayButton: c, isHighlighted: l = !1, largeText: u = !1, ...d }) => /* @__PURE__ */ t("div", {
|
|
50628
50592
|
...d,
|
|
50629
50593
|
className: W("group bg-surface-high relative flex gap-3 px-4 py-2", o),
|
|
50630
50594
|
children: /* @__PURE__ */ n("div", {
|
|
@@ -50669,7 +50633,7 @@ var _ye = ({ variant: e, accountType: r, title: i, description: a, thumbnail: o,
|
|
|
50669
50633
|
})
|
|
50670
50634
|
]
|
|
50671
50635
|
})
|
|
50672
|
-
}),
|
|
50636
|
+
}), vye = ({ avatar: e, title: r, message: i, time: a, thumbnail: o }) => {
|
|
50673
50637
|
let s = Te(), [c, l] = je(!1);
|
|
50674
50638
|
return /* @__PURE__ */ t("div", {
|
|
50675
50639
|
className: "relative flex px-4 py-2",
|
|
@@ -50708,17 +50672,17 @@ var _ye = ({ variant: e, accountType: r, title: i, description: a, thumbnail: o,
|
|
|
50708
50672
|
})]
|
|
50709
50673
|
})
|
|
50710
50674
|
});
|
|
50711
|
-
},
|
|
50675
|
+
}, yye = G([""], { variants: { size: {
|
|
50712
50676
|
12: "h-3 w-3",
|
|
50713
50677
|
16: "h-4 w-4",
|
|
50714
50678
|
24: "h-6 w-6",
|
|
50715
50679
|
32: "h-8 w-8",
|
|
50716
50680
|
40: "h-10 w-10",
|
|
50717
50681
|
80: "h-20 w-20"
|
|
50718
|
-
} } }),
|
|
50682
|
+
} } }), bye = ({ size: e = 40 }) => /* @__PURE__ */ t(IJ, {
|
|
50719
50683
|
rounding: "full",
|
|
50720
|
-
className:
|
|
50721
|
-
}),
|
|
50684
|
+
className: yye({ size: e })
|
|
50685
|
+
}), xye = G([
|
|
50722
50686
|
"inline-flex shrink-0 items-center justify-center",
|
|
50723
50687
|
"border-misc-border-emphasized bg-background-inverted misc-border-size-hairline rounded-full",
|
|
50724
50688
|
"text-content-secondary leading-none font-medium"
|
|
@@ -50730,7 +50694,7 @@ var _ye = ({ variant: e, accountType: r, title: i, description: a, thumbnail: o,
|
|
|
50730
50694
|
32: "size-8",
|
|
50731
50695
|
40: "size-10",
|
|
50732
50696
|
80: "size-20"
|
|
50733
|
-
} } }),
|
|
50697
|
+
} } }), Sye = G(["text-content-secondary"], { variants: { size: {
|
|
50734
50698
|
12: "size-[9px]",
|
|
50735
50699
|
16: "size-[10px]",
|
|
50736
50700
|
20: "size-[11px]",
|
|
@@ -50738,11 +50702,11 @@ var _ye = ({ variant: e, accountType: r, title: i, description: a, thumbnail: o,
|
|
|
50738
50702
|
32: "size-[18px]",
|
|
50739
50703
|
40: "size-5",
|
|
50740
50704
|
80: "size-8"
|
|
50741
|
-
} } }),
|
|
50705
|
+
} } }), Cye = ({ size: e = 32, className: n }) => /* @__PURE__ */ t("div", {
|
|
50742
50706
|
role: "presentation",
|
|
50743
|
-
className: W(
|
|
50744
|
-
children: /* @__PURE__ */ t(i, { className:
|
|
50745
|
-
}),
|
|
50707
|
+
className: W(xye({ size: e }), n),
|
|
50708
|
+
children: /* @__PURE__ */ t(i, { className: Sye({ size: e }) })
|
|
50709
|
+
}), wye = G([
|
|
50746
50710
|
"inline-flex shrink-0 items-center justify-center",
|
|
50747
50711
|
"border-misc-border-emphasized bg-background-inverted misc-border-size-hairline rounded-full",
|
|
50748
50712
|
"text-content-secondary leading-none font-medium"
|
|
@@ -50754,11 +50718,11 @@ var _ye = ({ variant: e, accountType: r, title: i, description: a, thumbnail: o,
|
|
|
50754
50718
|
32: "text-500 h-8 w-8",
|
|
50755
50719
|
40: "h-10 w-10 text-[16px]",
|
|
50756
50720
|
80: "h-20 w-20 text-[32px]"
|
|
50757
|
-
} } }),
|
|
50721
|
+
} } }), Tye = ({ count: e, size: n = 32, className: r }) => /* @__PURE__ */ t("div", {
|
|
50758
50722
|
role: "presentation",
|
|
50759
|
-
className: W(
|
|
50723
|
+
className: W(wye({ size: n }), r),
|
|
50760
50724
|
children: e
|
|
50761
|
-
}),
|
|
50725
|
+
}), Eye = ({ avatars: e, limit: r = 6, size: i = 32, className: a, isButton: o = !1, onClick: s }) => {
|
|
50762
50726
|
let [c, l] = ke(() => {
|
|
50763
50727
|
let t = Math.round(Math.abs(r));
|
|
50764
50728
|
if (e.length <= t) return [e, {
|
|
@@ -50779,11 +50743,11 @@ var _ye = ({ variant: e, accountType: r, title: i, description: a, thumbnail: o,
|
|
|
50779
50743
|
className: U("flex w-fit flex-row-reverse items-center justify-end -space-x-1 space-x-reverse", { "bg-background-subdued hover:bg-background-subdued-hover active:bg-background-subdued-down cursor-pointer rounded-full p-2": o }, a),
|
|
50780
50744
|
onClick: s,
|
|
50781
50745
|
children: [
|
|
50782
|
-
l.type === "count" && /* @__PURE__ */ t(
|
|
50746
|
+
l.type === "count" && /* @__PURE__ */ t(Tye, {
|
|
50783
50747
|
count: l.label,
|
|
50784
50748
|
size: i
|
|
50785
50749
|
}),
|
|
50786
|
-
l.type === "more" && /* @__PURE__ */ t(
|
|
50750
|
+
l.type === "more" && /* @__PURE__ */ t(Cye, { size: i }),
|
|
50787
50751
|
c.map((e, n) => /* @__PURE__ */ t(Vc, {
|
|
50788
50752
|
...e,
|
|
50789
50753
|
size: i
|
|
@@ -50793,7 +50757,7 @@ var _ye = ({ variant: e, accountType: r, title: i, description: a, thumbnail: o,
|
|
|
50793
50757
|
};
|
|
50794
50758
|
//#endregion
|
|
50795
50759
|
//#region src/components/navigation/Breadcrumbs/Breadcrumbs.tsx
|
|
50796
|
-
function
|
|
50760
|
+
function Dye({ variant: e = "default", className: r, children: i, ...a }) {
|
|
50797
50761
|
let o = de.toArray(i);
|
|
50798
50762
|
return /* @__PURE__ */ t("nav", {
|
|
50799
50763
|
...a,
|
|
@@ -50825,20 +50789,20 @@ var r5 = "Toggle", i5 = z.forwardRef((e, n) => {
|
|
|
50825
50789
|
i5.displayName = r5;
|
|
50826
50790
|
//#endregion
|
|
50827
50791
|
//#region ../../node_modules/.pnpm/@radix-ui+react-toggle-group@1.1.11_@types+react-dom@19.2.3_@types+react@19.2.16__@type_a2b526f3165b98aa43a36c1e84b5fb39/node_modules/@radix-ui/react-toggle-group/dist/index.mjs
|
|
50828
|
-
var a5 = "ToggleGroup", [o5,
|
|
50792
|
+
var a5 = "ToggleGroup", [o5, Oye] = ei(a5, [eH]), s5 = eH(), c5 = B.forwardRef((e, n) => {
|
|
50829
50793
|
let { type: r, ...i } = e;
|
|
50830
|
-
if (r === "single") return /* @__PURE__ */ t(
|
|
50794
|
+
if (r === "single") return /* @__PURE__ */ t(kye, {
|
|
50831
50795
|
...i,
|
|
50832
50796
|
ref: n
|
|
50833
50797
|
});
|
|
50834
|
-
if (r === "multiple") return /* @__PURE__ */ t(
|
|
50798
|
+
if (r === "multiple") return /* @__PURE__ */ t(Aye, {
|
|
50835
50799
|
...i,
|
|
50836
50800
|
ref: n
|
|
50837
50801
|
});
|
|
50838
50802
|
throw Error(`Missing prop \`type\` expected on \`${a5}\``);
|
|
50839
50803
|
});
|
|
50840
50804
|
c5.displayName = a5;
|
|
50841
|
-
var [l5, u5] = o5(a5),
|
|
50805
|
+
var [l5, u5] = o5(a5), kye = B.forwardRef((e, n) => {
|
|
50842
50806
|
let { value: r, defaultValue: i, onValueChange: a = () => {}, ...o } = e, [s, c] = ss({
|
|
50843
50807
|
prop: r,
|
|
50844
50808
|
defaultProp: i ?? "",
|
|
@@ -50856,7 +50820,7 @@ var [l5, u5] = o5(a5), Aye = B.forwardRef((e, n) => {
|
|
|
50856
50820
|
ref: n
|
|
50857
50821
|
})
|
|
50858
50822
|
});
|
|
50859
|
-
}),
|
|
50823
|
+
}), Aye = B.forwardRef((e, n) => {
|
|
50860
50824
|
let { value: r, defaultValue: i, onValueChange: a = () => {}, ...o } = e, [s, c] = ss({
|
|
50861
50825
|
prop: r,
|
|
50862
50826
|
defaultProp: i ?? [],
|
|
@@ -50876,13 +50840,13 @@ var [l5, u5] = o5(a5), Aye = B.forwardRef((e, n) => {
|
|
|
50876
50840
|
});
|
|
50877
50841
|
});
|
|
50878
50842
|
c5.displayName = a5;
|
|
50879
|
-
var [
|
|
50843
|
+
var [jye, Mye] = o5(a5), d5 = B.forwardRef((e, n) => {
|
|
50880
50844
|
let { __scopeToggleGroup: r, disabled: i = !1, rovingFocus: a = !0, orientation: o, dir: s, loop: c = !0, ...l } = e, u = s5(r), d = DV(s), f = {
|
|
50881
50845
|
role: "group",
|
|
50882
50846
|
dir: d,
|
|
50883
50847
|
...l
|
|
50884
50848
|
};
|
|
50885
|
-
return /* @__PURE__ */ t(
|
|
50849
|
+
return /* @__PURE__ */ t(jye, {
|
|
50886
50850
|
scope: r,
|
|
50887
50851
|
rovingFocus: a,
|
|
50888
50852
|
disabled: i,
|
|
@@ -50902,7 +50866,7 @@ var [Mye, Nye] = o5(a5), d5 = B.forwardRef((e, n) => {
|
|
|
50902
50866
|
})
|
|
50903
50867
|
});
|
|
50904
50868
|
}), f5 = "ToggleGroupItem", p5 = B.forwardRef((e, n) => {
|
|
50905
|
-
let r = u5(f5, e.__scopeToggleGroup), i =
|
|
50869
|
+
let r = u5(f5, e.__scopeToggleGroup), i = Mye(f5, e.__scopeToggleGroup), a = s5(e.__scopeToggleGroup), o = r.value.includes(e.value), s = i.disabled || e.disabled, c = {
|
|
50906
50870
|
...e,
|
|
50907
50871
|
pressed: o,
|
|
50908
50872
|
disabled: s
|
|
@@ -50937,7 +50901,7 @@ var m5 = B.forwardRef((e, n) => {
|
|
|
50937
50901
|
e ? o.onItemActivate(i) : o.onItemDeactivate(i);
|
|
50938
50902
|
}
|
|
50939
50903
|
});
|
|
50940
|
-
}), h5 = c5, g5 = p5,
|
|
50904
|
+
}), h5 = c5, g5 = p5, Nye = ({ value: e, options: n, onChange: r, bgColor: i, activePillColor: a, className: o, testId: s, ...c }) => /* @__PURE__ */ t("div", {
|
|
50941
50905
|
style: { backgroundColor: i },
|
|
50942
50906
|
className: W("flex h-12 rounded-[100px] p-[6px]", o),
|
|
50943
50907
|
"data-testid": s,
|
|
@@ -50966,7 +50930,7 @@ var m5 = B.forwardRef((e, n) => {
|
|
|
50966
50930
|
}), _5 = ({ className: e, ...n }) => /* @__PURE__ */ t(g5, {
|
|
50967
50931
|
className: W("group relative flex-1", "min-h-10 min-w-0 px-1", "flex items-center justify-center", "rounded-500 outline-hidden", "misc-border-size-default radix-state-off:border-transparent radix-state-on:border-misc-border", "radix-state-off:bg-transparent radix-state-on:bg-surface-high", "focus-visible:ring-misc-focus-indicator focus-visible:misc-border-size-focus-ring", "component-500 radix-state-off:text-content-secondary radix-state-on:text-content-primary", "radix-state-off:enabled:hover:text-content-primary radix-state-off:enabled:focus-visible:text-content-primary radix-state-off:enabled:active:text-content-primary", "interaction-transition transition-colors", "disabled:cursor-not-allowed disabled:opacity-30", e),
|
|
50968
50932
|
...n
|
|
50969
|
-
}),
|
|
50933
|
+
}), Pye = ({ icon: e, label: n, tooltip: r, side: i = "top", withPortal: a = !0, disabled: o, className: s, ...c }) => {
|
|
50970
50934
|
let l = Sr(e) ? /* @__PURE__ */ t(e, { className: "icon-size-500" }) : e;
|
|
50971
50935
|
return /* @__PURE__ */ t(_5, {
|
|
50972
50936
|
className: U("[&_svg]:icon-size-500", s),
|
|
@@ -50982,7 +50946,7 @@ var m5 = B.forwardRef((e, n) => {
|
|
|
50982
50946
|
children: l
|
|
50983
50947
|
})
|
|
50984
50948
|
});
|
|
50985
|
-
},
|
|
50949
|
+
}, Fye = ({ icon: e, label: r, badge: i, className: a, ...o }) => /* @__PURE__ */ n(_5, {
|
|
50986
50950
|
className: U("[&_svg]:icon-size-500 flex-col gap-0.5 py-2", a),
|
|
50987
50951
|
...o,
|
|
50988
50952
|
children: [
|
|
@@ -50997,7 +50961,7 @@ var m5 = B.forwardRef((e, n) => {
|
|
|
50997
50961
|
children: i
|
|
50998
50962
|
})
|
|
50999
50963
|
]
|
|
51000
|
-
}),
|
|
50964
|
+
}), Iye = ({ label: e, subtitle: r, className: i, ...a }) => /* @__PURE__ */ n(_5, {
|
|
51001
50965
|
className: U("flex-col justify-start py-2.5", i),
|
|
51002
50966
|
...a,
|
|
51003
50967
|
children: [/* @__PURE__ */ t("span", { children: e }), !!r && /* @__PURE__ */ t("span", {
|
|
@@ -51011,19 +50975,19 @@ var m5 = B.forwardRef((e, n) => {
|
|
|
51011
50975
|
disabled: r,
|
|
51012
50976
|
...i
|
|
51013
50977
|
});
|
|
51014
|
-
v5.Item = _5, v5.ItemIconOnly =
|
|
50978
|
+
v5.Item = _5, v5.ItemIconOnly = Pye, v5.ItemIconWithLabel = Fye, v5.ItemLabelWithSub = Iye;
|
|
51015
50979
|
//#endregion
|
|
51016
50980
|
//#region src/components/navigation/SegmentedPicker/SegmentedPickerItem.tsx
|
|
51017
|
-
var
|
|
50981
|
+
var Lye = G(["rounded-400 flex flex-1 grow flex-col items-center justify-center px-1"], { variants: {
|
|
51018
50982
|
withIcon: {
|
|
51019
50983
|
true: "component-400 gap-0.5 py-2",
|
|
51020
50984
|
false: "component-500 icon-to-edge-py-450"
|
|
51021
50985
|
},
|
|
51022
50986
|
disabled: { true: "opacity-30" }
|
|
51023
|
-
} }),
|
|
50987
|
+
} }), Rye = ({ icon: r, className: i, children: a }) => {
|
|
51024
50988
|
let o = !!r;
|
|
51025
50989
|
return /* @__PURE__ */ n("div", {
|
|
51026
|
-
className:
|
|
50990
|
+
className: Lye({
|
|
51027
50991
|
withIcon: o,
|
|
51028
50992
|
class: i
|
|
51029
50993
|
}),
|
|
@@ -51032,7 +50996,7 @@ var Rye = G(["rounded-400 flex flex-1 grow flex-col items-center justify-center
|
|
|
51032
50996
|
children: a
|
|
51033
50997
|
})]
|
|
51034
50998
|
});
|
|
51035
|
-
},
|
|
50999
|
+
}, zye = ({ value: e, values: r, onChange: i, className: a, testId: o, disabled: s = !1 }) => /* @__PURE__ */ t("div", {
|
|
51036
51000
|
className: W("rounded-500 bg-background-subdued p-1", a),
|
|
51037
51001
|
"data-testid": o,
|
|
51038
51002
|
children: /* @__PURE__ */ t(h5, {
|
|
@@ -51049,7 +51013,7 @@ var Rye = G(["rounded-400 flex flex-1 grow flex-col items-center justify-center
|
|
|
51049
51013
|
disabled: a,
|
|
51050
51014
|
className: W("rounded-400 focus-visible:ring-misc-focus-indicator focus-visible:misc-border-size-focus-ring relative flex shrink-0 grow outline-hidden transition-all disabled:cursor-not-allowed disabled:opacity-30", r.className),
|
|
51051
51015
|
"data-testid": `segmented-picker-item-${r.value}`,
|
|
51052
|
-
children: [/* @__PURE__ */ t(
|
|
51016
|
+
children: [/* @__PURE__ */ t(Rye, {
|
|
51053
51017
|
value: r.value,
|
|
51054
51018
|
icon: r.icon,
|
|
51055
51019
|
className: "z-1",
|
|
@@ -51157,14 +51121,14 @@ var x5 = ({ variant: e = "default", label: r, isActive: i, activeIcon: a, icon:
|
|
|
51157
51121
|
children: r
|
|
51158
51122
|
})]
|
|
51159
51123
|
});
|
|
51160
|
-
},
|
|
51124
|
+
}, Bye = G(["h-5"], { variants: { size: {
|
|
51161
51125
|
small: "w-[75px]",
|
|
51162
51126
|
medium: "w-[100px]",
|
|
51163
51127
|
large: "w-[115px]"
|
|
51164
|
-
} } }),
|
|
51128
|
+
} } }), Vye = ({ showIcon: e, size: r = "medium" }) => /* @__PURE__ */ n("div", {
|
|
51165
51129
|
className: "flex w-full items-center gap-3 px-3 py-2.5",
|
|
51166
|
-
children: [e && /* @__PURE__ */ t(IJ, { className: "h-5 w-5" }), /* @__PURE__ */ t(IJ, { className:
|
|
51167
|
-
}),
|
|
51130
|
+
children: [e && /* @__PURE__ */ t(IJ, { className: "h-5 w-5" }), /* @__PURE__ */ t(IJ, { className: Bye({ size: r }) })]
|
|
51131
|
+
}), Hye = G([
|
|
51168
51132
|
"flex shrink-0 items-center justify-center px-4 py-[11px]",
|
|
51169
51133
|
"rounded-full outline-hidden",
|
|
51170
51134
|
"focus-visible:ring-misc-focus-indicator focus-visible:misc-border-size-focus-ring",
|
|
@@ -51183,7 +51147,7 @@ var x5 = ({ variant: e = "default", label: r, isActive: i, activeIcon: a, icon:
|
|
|
51183
51147
|
defaultVariants: { isSelected: !1 }
|
|
51184
51148
|
}), S5 = (({ children: e, className: r, onClick: i, as: a = "button", isSelected: o, badge: s, ref: c, ...l }) => /* @__PURE__ */ t(a, {
|
|
51185
51149
|
ref: c,
|
|
51186
|
-
className:
|
|
51150
|
+
className: Hye({
|
|
51187
51151
|
isSelected: o,
|
|
51188
51152
|
class: r
|
|
51189
51153
|
}),
|
|
@@ -51504,7 +51468,7 @@ var F5 = ({ label: e, imageSrc: n, className: r, ref: i, ...a }) => {
|
|
|
51504
51468
|
F5.displayName = "ChoiceMultipleTile";
|
|
51505
51469
|
//#endregion
|
|
51506
51470
|
//#region src/components/onboarding/ChoiceGroup/GridTile.tsx
|
|
51507
|
-
var
|
|
51471
|
+
var Uye = {
|
|
51508
51472
|
default: {
|
|
51509
51473
|
frame: "min-h-14 gap-2.5",
|
|
51510
51474
|
label: "component-600"
|
|
@@ -51513,7 +51477,7 @@ var Wye = {
|
|
|
51513
51477
|
frame: "min-h-20 gap-3",
|
|
51514
51478
|
label: "component-500"
|
|
51515
51479
|
}
|
|
51516
|
-
},
|
|
51480
|
+
}, Wye = G([
|
|
51517
51481
|
"relative cursor-pointer select-none",
|
|
51518
51482
|
"inline-flex w-full flex-col items-start justify-center px-4 py-3",
|
|
51519
51483
|
"rounded-500 outline-hidden",
|
|
@@ -51531,10 +51495,10 @@ var Wye = {
|
|
|
51531
51495
|
} },
|
|
51532
51496
|
defaultVariants: { selected: !1 }
|
|
51533
51497
|
}), I5 = ({ label: e, icon: r, iconClassName: i, selected: a, size: o = "default", className: s, children: c, ...l }) => {
|
|
51534
|
-
let { frame: u, label: d } =
|
|
51498
|
+
let { frame: u, label: d } = Uye[o];
|
|
51535
51499
|
return /* @__PURE__ */ n("label", {
|
|
51536
51500
|
...l,
|
|
51537
|
-
className: W(
|
|
51501
|
+
className: W(Wye({ selected: a }), u, s),
|
|
51538
51502
|
children: [
|
|
51539
51503
|
r && /* @__PURE__ */ t(r, {
|
|
51540
51504
|
className: W("text-content-primary size-6 shrink-0", i),
|
|
@@ -51562,7 +51526,7 @@ var Wye = {
|
|
|
51562
51526
|
L5.displayName = "GridMultipleTile";
|
|
51563
51527
|
//#endregion
|
|
51564
51528
|
//#region src/components/onboarding/ChoiceGroup/ListChoiceTile.tsx
|
|
51565
|
-
var
|
|
51529
|
+
var Gye = G([
|
|
51566
51530
|
"relative cursor-pointer select-none",
|
|
51567
51531
|
"inline-flex flex-row items-center gap-2",
|
|
51568
51532
|
"w-full px-4 py-3",
|
|
@@ -51582,7 +51546,7 @@ var Kye = G([
|
|
|
51582
51546
|
defaultVariants: { selected: !1 }
|
|
51583
51547
|
}), R5 = ({ label: e, icon: r, description: i, selected: a, className: o, children: s, ...c }) => /* @__PURE__ */ n("label", {
|
|
51584
51548
|
...c,
|
|
51585
|
-
className: W(
|
|
51549
|
+
className: W(Gye({ selected: a }), o),
|
|
51586
51550
|
children: [/* @__PURE__ */ n("span", {
|
|
51587
51551
|
className: "flex grow flex-col text-start",
|
|
51588
51552
|
children: [/* @__PURE__ */ n("span", {
|
|
@@ -51716,7 +51680,7 @@ var H5 = (e) => {
|
|
|
51716
51680
|
H5.ChoiceTile = U5, H5.ListChoiceTile = W5, H5.GridTile = G5;
|
|
51717
51681
|
//#endregion
|
|
51718
51682
|
//#region src/components/status/EmptySpace/EmptySpace.tsx
|
|
51719
|
-
var
|
|
51683
|
+
var Kye = ({ title: e, subtitle: r, icon: i, primaryAction: a, secondaryAction: o }) => /* @__PURE__ */ n("div", {
|
|
51720
51684
|
className: "flex flex-col items-center text-center",
|
|
51721
51685
|
children: [
|
|
51722
51686
|
i && /* @__PURE__ */ t(i, { className: "text-content-tertiary h-10 w-10" }),
|
|
@@ -51742,7 +51706,7 @@ var qye = ({ title: e, subtitle: r, icon: i, primaryAction: a, secondaryAction:
|
|
|
51742
51706
|
});
|
|
51743
51707
|
//#endregion
|
|
51744
51708
|
//#region ../../node_modules/.pnpm/@radix-ui+react-context@1.1.3_@types+react@19.2.16_react@19.2.7/node_modules/@radix-ui/react-context/dist/index.mjs
|
|
51745
|
-
function
|
|
51709
|
+
function qye(e, n = []) {
|
|
51746
51710
|
let r = [];
|
|
51747
51711
|
function i(n, i) {
|
|
51748
51712
|
let a = z.createContext(i);
|
|
@@ -51775,9 +51739,9 @@ function Jye(e, n = []) {
|
|
|
51775
51739
|
} }), [n, r]);
|
|
51776
51740
|
};
|
|
51777
51741
|
};
|
|
51778
|
-
return a.scopeName = e, [i,
|
|
51742
|
+
return a.scopeName = e, [i, Jye(a, ...n)];
|
|
51779
51743
|
}
|
|
51780
|
-
function
|
|
51744
|
+
function Jye(...e) {
|
|
51781
51745
|
let t = e[0];
|
|
51782
51746
|
if (e.length === 1) return t;
|
|
51783
51747
|
let n = () => {
|
|
@@ -51800,19 +51764,19 @@ function Yye(...e) {
|
|
|
51800
51764
|
}
|
|
51801
51765
|
//#endregion
|
|
51802
51766
|
//#region ../../node_modules/.pnpm/@radix-ui+react-slot@1.2.4_@types+react@19.2.16_react@19.2.7/node_modules/@radix-ui/react-slot/dist/index.mjs
|
|
51803
|
-
var
|
|
51804
|
-
function
|
|
51767
|
+
var Yye = Symbol.for("react.lazy"), K5 = z.use;
|
|
51768
|
+
function Xye(e) {
|
|
51805
51769
|
return typeof e == "object" && !!e && "then" in e;
|
|
51806
51770
|
}
|
|
51807
51771
|
function q5(e) {
|
|
51808
|
-
return typeof e == "object" && !!e && "$$typeof" in e && e.$$typeof ===
|
|
51772
|
+
return typeof e == "object" && !!e && "$$typeof" in e && e.$$typeof === Yye && "_payload" in e && Xye(e._payload);
|
|
51809
51773
|
}
|
|
51810
51774
|
// @__NO_SIDE_EFFECTS__
|
|
51811
|
-
function
|
|
51812
|
-
let n = /* @__PURE__ */
|
|
51775
|
+
function Zye(e) {
|
|
51776
|
+
let n = /* @__PURE__ */ Qye(e), r = z.forwardRef((e, r) => {
|
|
51813
51777
|
let { children: i, ...a } = e;
|
|
51814
51778
|
q5(i) && typeof K5 == "function" && (i = K5(i._payload));
|
|
51815
|
-
let o = z.Children.toArray(i), s = o.find(
|
|
51779
|
+
let o = z.Children.toArray(i), s = o.find(ebe);
|
|
51816
51780
|
if (s) {
|
|
51817
51781
|
let e = s.props.children, i = o.map((t) => t === s ? z.Children.count(e) > 1 ? z.Children.only(null) : z.isValidElement(e) ? e.props.children : null : t);
|
|
51818
51782
|
return /* @__PURE__ */ t(n, {
|
|
@@ -51830,22 +51794,22 @@ function Qye(e) {
|
|
|
51830
51794
|
return r.displayName = `${e}.Slot`, r;
|
|
51831
51795
|
}
|
|
51832
51796
|
// @__NO_SIDE_EFFECTS__
|
|
51833
|
-
function
|
|
51797
|
+
function Qye(e) {
|
|
51834
51798
|
let t = z.forwardRef((e, t) => {
|
|
51835
51799
|
let { children: n, ...r } = e;
|
|
51836
51800
|
if (q5(n) && typeof K5 == "function" && (n = K5(n._payload)), z.isValidElement(n)) {
|
|
51837
|
-
let e =
|
|
51801
|
+
let e = nbe(n), i = tbe(r, n.props);
|
|
51838
51802
|
return n.type !== z.Fragment && (i.ref = t ? Zr(t, e) : e), z.cloneElement(n, i);
|
|
51839
51803
|
}
|
|
51840
51804
|
return z.Children.count(n) > 1 ? z.Children.only(null) : null;
|
|
51841
51805
|
});
|
|
51842
51806
|
return t.displayName = `${e}.SlotClone`, t;
|
|
51843
51807
|
}
|
|
51844
|
-
var
|
|
51845
|
-
function
|
|
51846
|
-
return z.isValidElement(e) && typeof e.type == "function" && "__radixId" in e.type && e.type.__radixId ===
|
|
51808
|
+
var $ye = Symbol("radix.slottable");
|
|
51809
|
+
function ebe(e) {
|
|
51810
|
+
return z.isValidElement(e) && typeof e.type == "function" && "__radixId" in e.type && e.type.__radixId === $ye;
|
|
51847
51811
|
}
|
|
51848
|
-
function
|
|
51812
|
+
function tbe(e, t) {
|
|
51849
51813
|
let n = { ...t };
|
|
51850
51814
|
for (let r in t) {
|
|
51851
51815
|
let i = e[r], a = t[r];
|
|
@@ -51862,7 +51826,7 @@ function nbe(e, t) {
|
|
|
51862
51826
|
...n
|
|
51863
51827
|
};
|
|
51864
51828
|
}
|
|
51865
|
-
function
|
|
51829
|
+
function nbe(e) {
|
|
51866
51830
|
let t = Object.getOwnPropertyDescriptor(e.props, "ref")?.get, n = t && "isReactWarning" in t && t.isReactWarning;
|
|
51867
51831
|
return n ? e.ref : (t = Object.getOwnPropertyDescriptor(e, "ref")?.get, n = t && "isReactWarning" in t && t.isReactWarning, n ? e.props.ref : e.props.ref || e.ref);
|
|
51868
51832
|
}
|
|
@@ -51887,7 +51851,7 @@ var J5 = [
|
|
|
51887
51851
|
"svg",
|
|
51888
51852
|
"ul"
|
|
51889
51853
|
].reduce((e, n) => {
|
|
51890
|
-
let r = /* @__PURE__ */
|
|
51854
|
+
let r = /* @__PURE__ */ Zye(`Primitive.${n}`), i = z.forwardRef((e, i) => {
|
|
51891
51855
|
let { asChild: a, ...o } = e, s = a ? r : n;
|
|
51892
51856
|
return typeof window < "u" && (window[Symbol.for("radix-ui")] = !0), /* @__PURE__ */ t(s, {
|
|
51893
51857
|
...o,
|
|
@@ -51898,13 +51862,13 @@ var J5 = [
|
|
|
51898
51862
|
...e,
|
|
51899
51863
|
[n]: i
|
|
51900
51864
|
};
|
|
51901
|
-
}, {}), Y5 = "Progress", X5 = 100, [
|
|
51902
|
-
let { __scopeProgress: r, value: i = null, max: a, getValueLabel: o =
|
|
51903
|
-
(a || a === 0) && !n7(a) && console.error(
|
|
51865
|
+
}, {}), Y5 = "Progress", X5 = 100, [rbe, ibe] = qye(Y5), [abe, obe] = rbe(Y5), Z5 = z.forwardRef((e, n) => {
|
|
51866
|
+
let { __scopeProgress: r, value: i = null, max: a, getValueLabel: o = sbe, ...s } = e;
|
|
51867
|
+
(a || a === 0) && !n7(a) && console.error(cbe(`${a}`, "Progress"));
|
|
51904
51868
|
let c = n7(a) ? a : X5;
|
|
51905
|
-
i !== null && !r7(i, c) && console.error(
|
|
51869
|
+
i !== null && !r7(i, c) && console.error(lbe(`${i}`, "Progress"));
|
|
51906
51870
|
let l = r7(i, c) ? i : null, u = t7(l) ? o(l, c) : void 0;
|
|
51907
|
-
return /* @__PURE__ */ t(
|
|
51871
|
+
return /* @__PURE__ */ t(abe, {
|
|
51908
51872
|
scope: r,
|
|
51909
51873
|
value: l,
|
|
51910
51874
|
max: c,
|
|
@@ -51924,7 +51888,7 @@ var J5 = [
|
|
|
51924
51888
|
});
|
|
51925
51889
|
Z5.displayName = Y5;
|
|
51926
51890
|
var Q5 = "ProgressIndicator", $5 = z.forwardRef((e, n) => {
|
|
51927
|
-
let { __scopeProgress: r, ...i } = e, a =
|
|
51891
|
+
let { __scopeProgress: r, ...i } = e, a = obe(Q5, r);
|
|
51928
51892
|
return /* @__PURE__ */ t(J5.div, {
|
|
51929
51893
|
"data-state": e7(a.value, a.max),
|
|
51930
51894
|
"data-value": a.value ?? void 0,
|
|
@@ -51934,7 +51898,7 @@ var Q5 = "ProgressIndicator", $5 = z.forwardRef((e, n) => {
|
|
|
51934
51898
|
});
|
|
51935
51899
|
});
|
|
51936
51900
|
$5.displayName = Q5;
|
|
51937
|
-
function
|
|
51901
|
+
function sbe(e, t) {
|
|
51938
51902
|
return `${Math.round(e / t * 100)}%`;
|
|
51939
51903
|
}
|
|
51940
51904
|
function e7(e, t) {
|
|
@@ -51949,10 +51913,10 @@ function n7(e) {
|
|
|
51949
51913
|
function r7(e, t) {
|
|
51950
51914
|
return t7(e) && !isNaN(e) && e <= t && e >= 0;
|
|
51951
51915
|
}
|
|
51952
|
-
function
|
|
51916
|
+
function cbe(e, t) {
|
|
51953
51917
|
return `Invalid prop \`max\` of value \`${e}\` supplied to \`${t}\`. Only numbers greater than 0 are valid max values. Defaulting to \`${X5}\`.`;
|
|
51954
51918
|
}
|
|
51955
|
-
function
|
|
51919
|
+
function lbe(e, t) {
|
|
51956
51920
|
return `Invalid prop \`value\` of value \`${e}\` supplied to \`${t}\`. The \`value\` prop must be:
|
|
51957
51921
|
- a positive number
|
|
51958
51922
|
- less than the value passed to \`max\` (or ${X5} if no \`max\` prop is set)
|
|
@@ -51976,7 +51940,7 @@ function o7({ className: e, ...n }) {
|
|
|
51976
51940
|
}
|
|
51977
51941
|
//#endregion
|
|
51978
51942
|
//#region src/components/status/ExportLimitCard/ExportLimitCard.tsx
|
|
51979
|
-
var
|
|
51943
|
+
var ube = ({ title: e, description: r, current: i, max: a, className: o, onClick: s }) => {
|
|
51980
51944
|
let c = i / a * 100;
|
|
51981
51945
|
return /* @__PURE__ */ n("div", {
|
|
51982
51946
|
className: U("rounded-500 bg-background-subdued flex flex-col gap-3 p-4", o),
|
|
@@ -51998,14 +51962,14 @@ var dbe = ({ title: e, description: r, current: i, max: a, className: o, onClick
|
|
|
51998
51962
|
})
|
|
51999
51963
|
]
|
|
52000
51964
|
});
|
|
52001
|
-
},
|
|
51965
|
+
}, dbe = (e, t) => ({
|
|
52002
51966
|
exportsLeft: ke(() => Math.max(0, t - e), [t, e]),
|
|
52003
51967
|
clampCurrent: ke(() => Math.min(e, t), [e, t])
|
|
52004
|
-
}),
|
|
51968
|
+
}), fbe = (e) => /* @__PURE__ */ t("div", {
|
|
52005
51969
|
...e,
|
|
52006
51970
|
className: "absolute inset-0 flex items-center justify-center",
|
|
52007
51971
|
children: /* @__PURE__ */ t(SK, {})
|
|
52008
|
-
}),
|
|
51972
|
+
}), pbe = ({ value: e, max: n }) => /* @__PURE__ */ t("div", {
|
|
52009
51973
|
role: "meter",
|
|
52010
51974
|
"aria-valuenow": e,
|
|
52011
51975
|
"aria-valuemax": n,
|
|
@@ -52014,12 +51978,12 @@ var dbe = ({ title: e, description: r, current: i, max: a, className: o, onClick
|
|
|
52014
51978
|
className: "bg-background-accent absolute h-full",
|
|
52015
51979
|
style: { width: `${Math.max(0, Math.min(1, e / (n || e))) * 100}%` }
|
|
52016
51980
|
})
|
|
52017
|
-
}),
|
|
51981
|
+
}), mbe = G("flex size-300 shrink-0 items-center justify-center rounded-full", { variants: { type: {
|
|
52018
51982
|
success: "bg-content-positive",
|
|
52019
51983
|
warning: "bg-yellow",
|
|
52020
51984
|
danger: "bg-content-negative",
|
|
52021
51985
|
info: "bg-content-secondary"
|
|
52022
|
-
} } }),
|
|
51986
|
+
} } }), hbe = ({ type: e }) => {
|
|
52023
51987
|
let n = ke(() => {
|
|
52024
51988
|
switch (e) {
|
|
52025
51989
|
case "success": return u;
|
|
@@ -52035,13 +51999,13 @@ var dbe = ({ title: e, description: r, current: i, max: a, className: o, onClick
|
|
|
52035
51999
|
className: "flex size-300 items-center justify-center",
|
|
52036
52000
|
children: /* @__PURE__ */ t(r, { className: "text-content-accent icon-size-500" })
|
|
52037
52001
|
}) : /* @__PURE__ */ t("div", {
|
|
52038
|
-
className:
|
|
52002
|
+
className: mbe({ type: e }),
|
|
52039
52003
|
children: /* @__PURE__ */ t(n, {
|
|
52040
52004
|
"aria-hidden": "true",
|
|
52041
52005
|
className: "text-content-white-primary-inverted icon-size-400"
|
|
52042
52006
|
})
|
|
52043
52007
|
});
|
|
52044
|
-
},
|
|
52008
|
+
}, gbe = (e) => /* @__PURE__ */ t("span", {
|
|
52045
52009
|
className: "rounded-200 after:border-misc-border after:misc-border-size-hairline relative aspect-square bg-neutral-200 after:pointer-events-none after:absolute after:inset-0 after:z-2 after:rounded-[inherit] after:content-['']",
|
|
52046
52010
|
children: /* @__PURE__ */ t("img", { ...e })
|
|
52047
52011
|
}), s7 = ({ type: e, preview: r, label: i, action: a, className: o, isStacked: s = !1, closeLabel: c, onClose: l }) => /* @__PURE__ */ n("div", {
|
|
@@ -52049,7 +52013,7 @@ var dbe = ({ title: e, description: r, current: i, max: a, className: o, onClick
|
|
|
52049
52013
|
children: [/* @__PURE__ */ n("div", {
|
|
52050
52014
|
className: "flex h-full min-h-[24px] flex-1 items-center gap-3",
|
|
52051
52015
|
children: [
|
|
52052
|
-
e && /* @__PURE__ */ t(
|
|
52016
|
+
e && /* @__PURE__ */ t(hbe, { type: e }),
|
|
52053
52017
|
r && /* @__PURE__ */ t("figure", {
|
|
52054
52018
|
className: U("&[_img]:!block rounded-200 relative shrink-0 [&_img]:relative! [&_img]:z-1! [&_img]:h-8! [&_img]:w-8! [&_img]:rounded-[inherit]! [&_img]:object-cover!", {
|
|
52055
52019
|
"before:absolute before:bottom-0 before:left-0 before:h-[90%] before:w-1/2 before:origin-bottom-left before:-rotate-6 before:rounded-[inherit] before:bg-neutral-400 before:content-['']": s,
|
|
@@ -52073,26 +52037,26 @@ var dbe = ({ title: e, description: r, current: i, max: a, className: o, onClick
|
|
|
52073
52037
|
});
|
|
52074
52038
|
//#endregion
|
|
52075
52039
|
//#region ../../node_modules/.pnpm/sonner@2.0.7_react-dom@19.2.7_react@19.2.7__react@19.2.7/node_modules/sonner/dist/index.mjs
|
|
52076
|
-
function
|
|
52040
|
+
function _be(e) {
|
|
52077
52041
|
if (!e || typeof document > "u") return;
|
|
52078
52042
|
let t = document.head || document.getElementsByTagName("head")[0], n = document.createElement("style");
|
|
52079
52043
|
n.type = "text/css", t.appendChild(n), n.styleSheet ? n.styleSheet.cssText = e : n.appendChild(document.createTextNode(e));
|
|
52080
52044
|
}
|
|
52081
|
-
var
|
|
52045
|
+
var vbe = (e) => {
|
|
52082
52046
|
switch (e) {
|
|
52083
|
-
case "success": return
|
|
52084
|
-
case "info": return
|
|
52085
|
-
case "warning": return
|
|
52086
|
-
case "error": return
|
|
52047
|
+
case "success": return xbe;
|
|
52048
|
+
case "info": return Cbe;
|
|
52049
|
+
case "warning": return Sbe;
|
|
52050
|
+
case "error": return wbe;
|
|
52087
52051
|
default: return null;
|
|
52088
52052
|
}
|
|
52089
|
-
},
|
|
52053
|
+
}, ybe = Array(12).fill(0), bbe = ({ visible: e, className: t }) => /*#__PURE__*/ B.createElement("div", {
|
|
52090
52054
|
className: ["sonner-loading-wrapper", t].filter(Boolean).join(" "),
|
|
52091
52055
|
"data-visible": e
|
|
52092
|
-
}, /*#__PURE__*/ B.createElement("div", { className: "sonner-spinner" },
|
|
52056
|
+
}, /*#__PURE__*/ B.createElement("div", { className: "sonner-spinner" }, ybe.map((e, t) => /*#__PURE__*/ B.createElement("div", {
|
|
52093
52057
|
className: "sonner-loading-bar",
|
|
52094
52058
|
key: `spinner-bar-${t}`
|
|
52095
|
-
})))),
|
|
52059
|
+
})))), xbe = /*#__PURE__*/ B.createElement("svg", {
|
|
52096
52060
|
xmlns: "http://www.w3.org/2000/svg",
|
|
52097
52061
|
viewBox: "0 0 20 20",
|
|
52098
52062
|
fill: "currentColor",
|
|
@@ -52102,7 +52066,7 @@ var ybe = (e) => {
|
|
|
52102
52066
|
fillRule: "evenodd",
|
|
52103
52067
|
d: "M10 18a8 8 0 100-16 8 8 0 000 16zm3.857-9.809a.75.75 0 00-1.214-.882l-3.483 4.79-1.88-1.88a.75.75 0 10-1.06 1.061l2.5 2.5a.75.75 0 001.137-.089l4-5.5z",
|
|
52104
52068
|
clipRule: "evenodd"
|
|
52105
|
-
})),
|
|
52069
|
+
})), Sbe = /*#__PURE__*/ B.createElement("svg", {
|
|
52106
52070
|
xmlns: "http://www.w3.org/2000/svg",
|
|
52107
52071
|
viewBox: "0 0 24 24",
|
|
52108
52072
|
fill: "currentColor",
|
|
@@ -52112,7 +52076,7 @@ var ybe = (e) => {
|
|
|
52112
52076
|
fillRule: "evenodd",
|
|
52113
52077
|
d: "M9.401 3.003c1.155-2 4.043-2 5.197 0l7.355 12.748c1.154 2-.29 4.5-2.599 4.5H4.645c-2.309 0-3.752-2.5-2.598-4.5L9.4 3.003zM12 8.25a.75.75 0 01.75.75v3.75a.75.75 0 01-1.5 0V9a.75.75 0 01.75-.75zm0 8.25a.75.75 0 100-1.5.75.75 0 000 1.5z",
|
|
52114
52078
|
clipRule: "evenodd"
|
|
52115
|
-
})),
|
|
52079
|
+
})), Cbe = /*#__PURE__*/ B.createElement("svg", {
|
|
52116
52080
|
xmlns: "http://www.w3.org/2000/svg",
|
|
52117
52081
|
viewBox: "0 0 20 20",
|
|
52118
52082
|
fill: "currentColor",
|
|
@@ -52122,7 +52086,7 @@ var ybe = (e) => {
|
|
|
52122
52086
|
fillRule: "evenodd",
|
|
52123
52087
|
d: "M18 10a8 8 0 11-16 0 8 8 0 0116 0zm-7-4a1 1 0 11-2 0 1 1 0 012 0zM9 9a.75.75 0 000 1.5h.253a.25.25 0 01.244.304l-.459 2.066A1.75 1.75 0 0010.747 15H11a.75.75 0 000-1.5h-.253a.25.25 0 01-.244-.304l.459-2.066A1.75 1.75 0 009.253 9H9z",
|
|
52124
52088
|
clipRule: "evenodd"
|
|
52125
|
-
})),
|
|
52089
|
+
})), wbe = /*#__PURE__*/ B.createElement("svg", {
|
|
52126
52090
|
xmlns: "http://www.w3.org/2000/svg",
|
|
52127
52091
|
viewBox: "0 0 20 20",
|
|
52128
52092
|
fill: "currentColor",
|
|
@@ -52132,7 +52096,7 @@ var ybe = (e) => {
|
|
|
52132
52096
|
fillRule: "evenodd",
|
|
52133
52097
|
d: "M18 10a8 8 0 11-16 0 8 8 0 0116 0zm-8-5a.75.75 0 01.75.75v4.5a.75.75 0 01-1.5 0v-4.5A.75.75 0 0110 5zm0 10a1 1 0 100-2 1 1 0 000 2z",
|
|
52134
52098
|
clipRule: "evenodd"
|
|
52135
|
-
})),
|
|
52099
|
+
})), Tbe = /*#__PURE__*/ B.createElement("svg", {
|
|
52136
52100
|
xmlns: "http://www.w3.org/2000/svg",
|
|
52137
52101
|
width: "12",
|
|
52138
52102
|
height: "12",
|
|
@@ -52152,7 +52116,7 @@ var ybe = (e) => {
|
|
|
52152
52116
|
y1: "6",
|
|
52153
52117
|
x2: "18",
|
|
52154
52118
|
y2: "18"
|
|
52155
|
-
})),
|
|
52119
|
+
})), Ebe = () => {
|
|
52156
52120
|
let [e, t] = B.useState(document.hidden);
|
|
52157
52121
|
return B.useEffect(() => {
|
|
52158
52122
|
let e = () => {
|
|
@@ -52235,7 +52199,7 @@ var ybe = (e) => {
|
|
|
52235
52199
|
type: "default",
|
|
52236
52200
|
message: e
|
|
52237
52201
|
});
|
|
52238
|
-
else if (
|
|
52202
|
+
else if (Obe(e) && !e.ok) {
|
|
52239
52203
|
i = !1;
|
|
52240
52204
|
let r = typeof t.error == "function" ? await t.error(`HTTP error! status: ${e.status}`) : t.error, a = typeof t.description == "function" ? await t.description(`HTTP error! status: ${e.status}`) : t.description, o = typeof r == "object" && !B.isValidElement(r) ? r : { message: r };
|
|
52241
52205
|
this.create({
|
|
@@ -52287,14 +52251,14 @@ var ybe = (e) => {
|
|
|
52287
52251
|
}), n;
|
|
52288
52252
|
}, this.getActiveToasts = () => this.toasts.filter((e) => !this.dismissedToasts.has(e.id)), this.subscribers = [], this.toasts = [], this.dismissedToasts = /* @__PURE__ */ new Set();
|
|
52289
52253
|
}
|
|
52290
|
-
}(),
|
|
52254
|
+
}(), Dbe = (e, t) => {
|
|
52291
52255
|
let n = t?.id || c7++;
|
|
52292
52256
|
return l7.addToast({
|
|
52293
52257
|
title: e,
|
|
52294
52258
|
...t,
|
|
52295
52259
|
id: n
|
|
52296
52260
|
}), n;
|
|
52297
|
-
},
|
|
52261
|
+
}, Obe = (e) => e && typeof e == "object" && "ok" in e && typeof e.ok == "boolean" && "status" in e && typeof e.status == "number", u7 = Object.assign(Dbe, {
|
|
52298
52262
|
success: l7.success,
|
|
52299
52263
|
info: l7.info,
|
|
52300
52264
|
warning: l7.warning,
|
|
@@ -52308,20 +52272,20 @@ var ybe = (e) => {
|
|
|
52308
52272
|
getHistory: () => l7.toasts,
|
|
52309
52273
|
getToasts: () => l7.getActiveToasts()
|
|
52310
52274
|
});
|
|
52311
|
-
vbe("[data-sonner-toaster][dir=ltr],html[dir=ltr]{--toast-icon-margin-start:-3px;--toast-icon-margin-end:4px;--toast-svg-margin-start:-1px;--toast-svg-margin-end:0px;--toast-button-margin-start:auto;--toast-button-margin-end:0;--toast-close-button-start:0;--toast-close-button-end:unset;--toast-close-button-transform:translate(-35%, -35%)}[data-sonner-toaster][dir=rtl],html[dir=rtl]{--toast-icon-margin-start:4px;--toast-icon-margin-end:-3px;--toast-svg-margin-start:0px;--toast-svg-margin-end:-1px;--toast-button-margin-start:0;--toast-button-margin-end:auto;--toast-close-button-start:unset;--toast-close-button-end:0;--toast-close-button-transform:translate(35%, -35%)}[data-sonner-toaster]{position:fixed;width:var(--width);font-family:ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji;--gray1:hsl(0, 0%, 99%);--gray2:hsl(0, 0%, 97.3%);--gray3:hsl(0, 0%, 95.1%);--gray4:hsl(0, 0%, 93%);--gray5:hsl(0, 0%, 90.9%);--gray6:hsl(0, 0%, 88.7%);--gray7:hsl(0, 0%, 85.8%);--gray8:hsl(0, 0%, 78%);--gray9:hsl(0, 0%, 56.1%);--gray10:hsl(0, 0%, 52.3%);--gray11:hsl(0, 0%, 43.5%);--gray12:hsl(0, 0%, 9%);--border-radius:8px;box-sizing:border-box;padding:0;margin:0;list-style:none;outline:0;z-index:999999999;transition:transform .4s ease}@media (hover:none) and (pointer:coarse){[data-sonner-toaster][data-lifted=true]{transform:none}}[data-sonner-toaster][data-x-position=right]{right:var(--offset-right)}[data-sonner-toaster][data-x-position=left]{left:var(--offset-left)}[data-sonner-toaster][data-x-position=center]{left:50%;transform:translateX(-50%)}[data-sonner-toaster][data-y-position=top]{top:var(--offset-top)}[data-sonner-toaster][data-y-position=bottom]{bottom:var(--offset-bottom)}[data-sonner-toast]{--y:translateY(100%);--lift-amount:calc(var(--lift) * var(--gap));z-index:var(--z-index);position:absolute;opacity:0;transform:var(--y);touch-action:none;transition:transform .4s,opacity .4s,height .4s,box-shadow .2s;box-sizing:border-box;outline:0;overflow-wrap:anywhere}[data-sonner-toast][data-styled=true]{padding:16px;background:var(--normal-bg);border:1px solid var(--normal-border);color:var(--normal-text);border-radius:var(--border-radius);box-shadow:0 4px 12px rgba(0,0,0,.1);width:var(--width);font-size:13px;display:flex;align-items:center;gap:6px}[data-sonner-toast]:focus-visible{box-shadow:0 4px 12px rgba(0,0,0,.1),0 0 0 2px rgba(0,0,0,.2)}[data-sonner-toast][data-y-position=top]{top:0;--y:translateY(-100%);--lift:1;--lift-amount:calc(1 * var(--gap))}[data-sonner-toast][data-y-position=bottom]{bottom:0;--y:translateY(100%);--lift:-1;--lift-amount:calc(var(--lift) * var(--gap))}[data-sonner-toast][data-styled=true] [data-description]{font-weight:400;line-height:1.4;color:#3f3f3f}[data-rich-colors=true][data-sonner-toast][data-styled=true] [data-description]{color:inherit}[data-sonner-toaster][data-sonner-theme=dark] [data-description]{color:#e8e8e8}[data-sonner-toast][data-styled=true] [data-title]{font-weight:500;line-height:1.5;color:inherit}[data-sonner-toast][data-styled=true] [data-icon]{display:flex;height:16px;width:16px;position:relative;justify-content:flex-start;align-items:center;flex-shrink:0;margin-left:var(--toast-icon-margin-start);margin-right:var(--toast-icon-margin-end)}[data-sonner-toast][data-promise=true] [data-icon]>svg{opacity:0;transform:scale(.8);transform-origin:center;animation:sonner-fade-in .3s ease forwards}[data-sonner-toast][data-styled=true] [data-icon]>*{flex-shrink:0}[data-sonner-toast][data-styled=true] [data-icon] svg{margin-left:var(--toast-svg-margin-start);margin-right:var(--toast-svg-margin-end)}[data-sonner-toast][data-styled=true] [data-content]{display:flex;flex-direction:column;gap:2px}[data-sonner-toast][data-styled=true] [data-button]{border-radius:4px;padding-left:8px;padding-right:8px;height:24px;font-size:12px;color:var(--normal-bg);background:var(--normal-text);margin-left:var(--toast-button-margin-start);margin-right:var(--toast-button-margin-end);border:none;font-weight:500;cursor:pointer;outline:0;display:flex;align-items:center;flex-shrink:0;transition:opacity .4s,box-shadow .2s}[data-sonner-toast][data-styled=true] [data-button]:focus-visible{box-shadow:0 0 0 2px rgba(0,0,0,.4)}[data-sonner-toast][data-styled=true] [data-button]:first-of-type{margin-left:var(--toast-button-margin-start);margin-right:var(--toast-button-margin-end)}[data-sonner-toast][data-styled=true] [data-cancel]{color:var(--normal-text);background:rgba(0,0,0,.08)}[data-sonner-toaster][data-sonner-theme=dark] [data-sonner-toast][data-styled=true] [data-cancel]{background:rgba(255,255,255,.3)}[data-sonner-toast][data-styled=true] [data-close-button]{position:absolute;left:var(--toast-close-button-start);right:var(--toast-close-button-end);top:0;height:20px;width:20px;display:flex;justify-content:center;align-items:center;padding:0;color:var(--gray12);background:var(--normal-bg);border:1px solid var(--gray4);transform:var(--toast-close-button-transform);border-radius:50%;cursor:pointer;z-index:1;transition:opacity .1s,background .2s,border-color .2s}[data-sonner-toast][data-styled=true] [data-close-button]:focus-visible{box-shadow:0 4px 12px rgba(0,0,0,.1),0 0 0 2px rgba(0,0,0,.2)}[data-sonner-toast][data-styled=true] [data-disabled=true]{cursor:not-allowed}[data-sonner-toast][data-styled=true]:hover [data-close-button]:hover{background:var(--gray2);border-color:var(--gray5)}[data-sonner-toast][data-swiping=true]::before{content:'';position:absolute;left:-100%;right:-100%;height:100%;z-index:-1}[data-sonner-toast][data-y-position=top][data-swiping=true]::before{bottom:50%;transform:scaleY(3) translateY(50%)}[data-sonner-toast][data-y-position=bottom][data-swiping=true]::before{top:50%;transform:scaleY(3) translateY(-50%)}[data-sonner-toast][data-swiping=false][data-removed=true]::before{content:'';position:absolute;inset:0;transform:scaleY(2)}[data-sonner-toast][data-expanded=true]::after{content:'';position:absolute;left:0;height:calc(var(--gap) + 1px);bottom:100%;width:100%}[data-sonner-toast][data-mounted=true]{--y:translateY(0);opacity:1}[data-sonner-toast][data-expanded=false][data-front=false]{--scale:var(--toasts-before) * 0.05 + 1;--y:translateY(calc(var(--lift-amount) * var(--toasts-before))) scale(calc(-1 * var(--scale)));height:var(--front-toast-height)}[data-sonner-toast]>*{transition:opacity .4s}[data-sonner-toast][data-x-position=right]{right:0}[data-sonner-toast][data-x-position=left]{left:0}[data-sonner-toast][data-expanded=false][data-front=false][data-styled=true]>*{opacity:0}[data-sonner-toast][data-visible=false]{opacity:0;pointer-events:none}[data-sonner-toast][data-mounted=true][data-expanded=true]{--y:translateY(calc(var(--lift) * var(--offset)));height:var(--initial-height)}[data-sonner-toast][data-removed=true][data-front=true][data-swipe-out=false]{--y:translateY(calc(var(--lift) * -100%));opacity:0}[data-sonner-toast][data-removed=true][data-front=false][data-swipe-out=false][data-expanded=true]{--y:translateY(calc(var(--lift) * var(--offset) + var(--lift) * -100%));opacity:0}[data-sonner-toast][data-removed=true][data-front=false][data-swipe-out=false][data-expanded=false]{--y:translateY(40%);opacity:0;transition:transform .5s,opacity .2s}[data-sonner-toast][data-removed=true][data-front=false]::before{height:calc(var(--initial-height) + 20%)}[data-sonner-toast][data-swiping=true]{transform:var(--y) translateY(var(--swipe-amount-y,0)) translateX(var(--swipe-amount-x,0));transition:none}[data-sonner-toast][data-swiped=true]{user-select:none}[data-sonner-toast][data-swipe-out=true][data-y-position=bottom],[data-sonner-toast][data-swipe-out=true][data-y-position=top]{animation-duration:.2s;animation-timing-function:ease-out;animation-fill-mode:forwards}[data-sonner-toast][data-swipe-out=true][data-swipe-direction=left]{animation-name:swipe-out-left}[data-sonner-toast][data-swipe-out=true][data-swipe-direction=right]{animation-name:swipe-out-right}[data-sonner-toast][data-swipe-out=true][data-swipe-direction=up]{animation-name:swipe-out-up}[data-sonner-toast][data-swipe-out=true][data-swipe-direction=down]{animation-name:swipe-out-down}@keyframes swipe-out-left{from{transform:var(--y) translateX(var(--swipe-amount-x));opacity:1}to{transform:var(--y) translateX(calc(var(--swipe-amount-x) - 100%));opacity:0}}@keyframes swipe-out-right{from{transform:var(--y) translateX(var(--swipe-amount-x));opacity:1}to{transform:var(--y) translateX(calc(var(--swipe-amount-x) + 100%));opacity:0}}@keyframes swipe-out-up{from{transform:var(--y) translateY(var(--swipe-amount-y));opacity:1}to{transform:var(--y) translateY(calc(var(--swipe-amount-y) - 100%));opacity:0}}@keyframes swipe-out-down{from{transform:var(--y) translateY(var(--swipe-amount-y));opacity:1}to{transform:var(--y) translateY(calc(var(--swipe-amount-y) + 100%));opacity:0}}@media (max-width:600px){[data-sonner-toaster]{position:fixed;right:var(--mobile-offset-right);left:var(--mobile-offset-left);width:100%}[data-sonner-toaster][dir=rtl]{left:calc(var(--mobile-offset-left) * -1)}[data-sonner-toaster] [data-sonner-toast]{left:0;right:0;width:calc(100% - var(--mobile-offset-left) * 2)}[data-sonner-toaster][data-x-position=left]{left:var(--mobile-offset-left)}[data-sonner-toaster][data-y-position=bottom]{bottom:var(--mobile-offset-bottom)}[data-sonner-toaster][data-y-position=top]{top:var(--mobile-offset-top)}[data-sonner-toaster][data-x-position=center]{left:var(--mobile-offset-left);right:var(--mobile-offset-right);transform:none}}[data-sonner-toaster][data-sonner-theme=light]{--normal-bg:#fff;--normal-border:var(--gray4);--normal-text:var(--gray12);--success-bg:hsl(143, 85%, 96%);--success-border:hsl(145, 92%, 87%);--success-text:hsl(140, 100%, 27%);--info-bg:hsl(208, 100%, 97%);--info-border:hsl(221, 91%, 93%);--info-text:hsl(210, 92%, 45%);--warning-bg:hsl(49, 100%, 97%);--warning-border:hsl(49, 91%, 84%);--warning-text:hsl(31, 92%, 45%);--error-bg:hsl(359, 100%, 97%);--error-border:hsl(359, 100%, 94%);--error-text:hsl(360, 100%, 45%)}[data-sonner-toaster][data-sonner-theme=light] [data-sonner-toast][data-invert=true]{--normal-bg:#000;--normal-border:hsl(0, 0%, 20%);--normal-text:var(--gray1)}[data-sonner-toaster][data-sonner-theme=dark] [data-sonner-toast][data-invert=true]{--normal-bg:#fff;--normal-border:var(--gray3);--normal-text:var(--gray12)}[data-sonner-toaster][data-sonner-theme=dark]{--normal-bg:#000;--normal-bg-hover:hsl(0, 0%, 12%);--normal-border:hsl(0, 0%, 20%);--normal-border-hover:hsl(0, 0%, 25%);--normal-text:var(--gray1);--success-bg:hsl(150, 100%, 6%);--success-border:hsl(147, 100%, 12%);--success-text:hsl(150, 86%, 65%);--info-bg:hsl(215, 100%, 6%);--info-border:hsl(223, 43%, 17%);--info-text:hsl(216, 87%, 65%);--warning-bg:hsl(64, 100%, 6%);--warning-border:hsl(60, 100%, 9%);--warning-text:hsl(46, 87%, 65%);--error-bg:hsl(358, 76%, 10%);--error-border:hsl(357, 89%, 16%);--error-text:hsl(358, 100%, 81%)}[data-sonner-toaster][data-sonner-theme=dark] [data-sonner-toast] [data-close-button]{background:var(--normal-bg);border-color:var(--normal-border);color:var(--normal-text)}[data-sonner-toaster][data-sonner-theme=dark] [data-sonner-toast] [data-close-button]:hover{background:var(--normal-bg-hover);border-color:var(--normal-border-hover)}[data-rich-colors=true][data-sonner-toast][data-type=success]{background:var(--success-bg);border-color:var(--success-border);color:var(--success-text)}[data-rich-colors=true][data-sonner-toast][data-type=success] [data-close-button]{background:var(--success-bg);border-color:var(--success-border);color:var(--success-text)}[data-rich-colors=true][data-sonner-toast][data-type=info]{background:var(--info-bg);border-color:var(--info-border);color:var(--info-text)}[data-rich-colors=true][data-sonner-toast][data-type=info] [data-close-button]{background:var(--info-bg);border-color:var(--info-border);color:var(--info-text)}[data-rich-colors=true][data-sonner-toast][data-type=warning]{background:var(--warning-bg);border-color:var(--warning-border);color:var(--warning-text)}[data-rich-colors=true][data-sonner-toast][data-type=warning] [data-close-button]{background:var(--warning-bg);border-color:var(--warning-border);color:var(--warning-text)}[data-rich-colors=true][data-sonner-toast][data-type=error]{background:var(--error-bg);border-color:var(--error-border);color:var(--error-text)}[data-rich-colors=true][data-sonner-toast][data-type=error] [data-close-button]{background:var(--error-bg);border-color:var(--error-border);color:var(--error-text)}.sonner-loading-wrapper{--size:16px;height:var(--size);width:var(--size);position:absolute;inset:0;z-index:10}.sonner-loading-wrapper[data-visible=false]{transform-origin:center;animation:sonner-fade-out .2s ease forwards}.sonner-spinner{position:relative;top:50%;left:50%;height:var(--size);width:var(--size)}.sonner-loading-bar{animation:sonner-spin 1.2s linear infinite;background:var(--gray11);border-radius:6px;height:8%;left:-10%;position:absolute;top:-3.9%;width:24%}.sonner-loading-bar:first-child{animation-delay:-1.2s;transform:rotate(.0001deg) translate(146%)}.sonner-loading-bar:nth-child(2){animation-delay:-1.1s;transform:rotate(30deg) translate(146%)}.sonner-loading-bar:nth-child(3){animation-delay:-1s;transform:rotate(60deg) translate(146%)}.sonner-loading-bar:nth-child(4){animation-delay:-.9s;transform:rotate(90deg) translate(146%)}.sonner-loading-bar:nth-child(5){animation-delay:-.8s;transform:rotate(120deg) translate(146%)}.sonner-loading-bar:nth-child(6){animation-delay:-.7s;transform:rotate(150deg) translate(146%)}.sonner-loading-bar:nth-child(7){animation-delay:-.6s;transform:rotate(180deg) translate(146%)}.sonner-loading-bar:nth-child(8){animation-delay:-.5s;transform:rotate(210deg) translate(146%)}.sonner-loading-bar:nth-child(9){animation-delay:-.4s;transform:rotate(240deg) translate(146%)}.sonner-loading-bar:nth-child(10){animation-delay:-.3s;transform:rotate(270deg) translate(146%)}.sonner-loading-bar:nth-child(11){animation-delay:-.2s;transform:rotate(300deg) translate(146%)}.sonner-loading-bar:nth-child(12){animation-delay:-.1s;transform:rotate(330deg) translate(146%)}@keyframes sonner-fade-in{0%{opacity:0;transform:scale(.8)}100%{opacity:1;transform:scale(1)}}@keyframes sonner-fade-out{0%{opacity:1;transform:scale(1)}100%{opacity:0;transform:scale(.8)}}@keyframes sonner-spin{0%{opacity:1}100%{opacity:.15}}@media (prefers-reduced-motion){.sonner-loading-bar,[data-sonner-toast],[data-sonner-toast]>*{transition:none!important;animation:none!important}}.sonner-loader{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);transform-origin:center;transition:opacity .2s,transform .2s}.sonner-loader[data-visible=false]{opacity:0;transform:scale(.8) translate(-50%,-50%)}");
|
|
52275
|
+
_be("[data-sonner-toaster][dir=ltr],html[dir=ltr]{--toast-icon-margin-start:-3px;--toast-icon-margin-end:4px;--toast-svg-margin-start:-1px;--toast-svg-margin-end:0px;--toast-button-margin-start:auto;--toast-button-margin-end:0;--toast-close-button-start:0;--toast-close-button-end:unset;--toast-close-button-transform:translate(-35%, -35%)}[data-sonner-toaster][dir=rtl],html[dir=rtl]{--toast-icon-margin-start:4px;--toast-icon-margin-end:-3px;--toast-svg-margin-start:0px;--toast-svg-margin-end:-1px;--toast-button-margin-start:0;--toast-button-margin-end:auto;--toast-close-button-start:unset;--toast-close-button-end:0;--toast-close-button-transform:translate(35%, -35%)}[data-sonner-toaster]{position:fixed;width:var(--width);font-family:ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji;--gray1:hsl(0, 0%, 99%);--gray2:hsl(0, 0%, 97.3%);--gray3:hsl(0, 0%, 95.1%);--gray4:hsl(0, 0%, 93%);--gray5:hsl(0, 0%, 90.9%);--gray6:hsl(0, 0%, 88.7%);--gray7:hsl(0, 0%, 85.8%);--gray8:hsl(0, 0%, 78%);--gray9:hsl(0, 0%, 56.1%);--gray10:hsl(0, 0%, 52.3%);--gray11:hsl(0, 0%, 43.5%);--gray12:hsl(0, 0%, 9%);--border-radius:8px;box-sizing:border-box;padding:0;margin:0;list-style:none;outline:0;z-index:999999999;transition:transform .4s ease}@media (hover:none) and (pointer:coarse){[data-sonner-toaster][data-lifted=true]{transform:none}}[data-sonner-toaster][data-x-position=right]{right:var(--offset-right)}[data-sonner-toaster][data-x-position=left]{left:var(--offset-left)}[data-sonner-toaster][data-x-position=center]{left:50%;transform:translateX(-50%)}[data-sonner-toaster][data-y-position=top]{top:var(--offset-top)}[data-sonner-toaster][data-y-position=bottom]{bottom:var(--offset-bottom)}[data-sonner-toast]{--y:translateY(100%);--lift-amount:calc(var(--lift) * var(--gap));z-index:var(--z-index);position:absolute;opacity:0;transform:var(--y);touch-action:none;transition:transform .4s,opacity .4s,height .4s,box-shadow .2s;box-sizing:border-box;outline:0;overflow-wrap:anywhere}[data-sonner-toast][data-styled=true]{padding:16px;background:var(--normal-bg);border:1px solid var(--normal-border);color:var(--normal-text);border-radius:var(--border-radius);box-shadow:0 4px 12px rgba(0,0,0,.1);width:var(--width);font-size:13px;display:flex;align-items:center;gap:6px}[data-sonner-toast]:focus-visible{box-shadow:0 4px 12px rgba(0,0,0,.1),0 0 0 2px rgba(0,0,0,.2)}[data-sonner-toast][data-y-position=top]{top:0;--y:translateY(-100%);--lift:1;--lift-amount:calc(1 * var(--gap))}[data-sonner-toast][data-y-position=bottom]{bottom:0;--y:translateY(100%);--lift:-1;--lift-amount:calc(var(--lift) * var(--gap))}[data-sonner-toast][data-styled=true] [data-description]{font-weight:400;line-height:1.4;color:#3f3f3f}[data-rich-colors=true][data-sonner-toast][data-styled=true] [data-description]{color:inherit}[data-sonner-toaster][data-sonner-theme=dark] [data-description]{color:#e8e8e8}[data-sonner-toast][data-styled=true] [data-title]{font-weight:500;line-height:1.5;color:inherit}[data-sonner-toast][data-styled=true] [data-icon]{display:flex;height:16px;width:16px;position:relative;justify-content:flex-start;align-items:center;flex-shrink:0;margin-left:var(--toast-icon-margin-start);margin-right:var(--toast-icon-margin-end)}[data-sonner-toast][data-promise=true] [data-icon]>svg{opacity:0;transform:scale(.8);transform-origin:center;animation:sonner-fade-in .3s ease forwards}[data-sonner-toast][data-styled=true] [data-icon]>*{flex-shrink:0}[data-sonner-toast][data-styled=true] [data-icon] svg{margin-left:var(--toast-svg-margin-start);margin-right:var(--toast-svg-margin-end)}[data-sonner-toast][data-styled=true] [data-content]{display:flex;flex-direction:column;gap:2px}[data-sonner-toast][data-styled=true] [data-button]{border-radius:4px;padding-left:8px;padding-right:8px;height:24px;font-size:12px;color:var(--normal-bg);background:var(--normal-text);margin-left:var(--toast-button-margin-start);margin-right:var(--toast-button-margin-end);border:none;font-weight:500;cursor:pointer;outline:0;display:flex;align-items:center;flex-shrink:0;transition:opacity .4s,box-shadow .2s}[data-sonner-toast][data-styled=true] [data-button]:focus-visible{box-shadow:0 0 0 2px rgba(0,0,0,.4)}[data-sonner-toast][data-styled=true] [data-button]:first-of-type{margin-left:var(--toast-button-margin-start);margin-right:var(--toast-button-margin-end)}[data-sonner-toast][data-styled=true] [data-cancel]{color:var(--normal-text);background:rgba(0,0,0,.08)}[data-sonner-toaster][data-sonner-theme=dark] [data-sonner-toast][data-styled=true] [data-cancel]{background:rgba(255,255,255,.3)}[data-sonner-toast][data-styled=true] [data-close-button]{position:absolute;left:var(--toast-close-button-start);right:var(--toast-close-button-end);top:0;height:20px;width:20px;display:flex;justify-content:center;align-items:center;padding:0;color:var(--gray12);background:var(--normal-bg);border:1px solid var(--gray4);transform:var(--toast-close-button-transform);border-radius:50%;cursor:pointer;z-index:1;transition:opacity .1s,background .2s,border-color .2s}[data-sonner-toast][data-styled=true] [data-close-button]:focus-visible{box-shadow:0 4px 12px rgba(0,0,0,.1),0 0 0 2px rgba(0,0,0,.2)}[data-sonner-toast][data-styled=true] [data-disabled=true]{cursor:not-allowed}[data-sonner-toast][data-styled=true]:hover [data-close-button]:hover{background:var(--gray2);border-color:var(--gray5)}[data-sonner-toast][data-swiping=true]::before{content:'';position:absolute;left:-100%;right:-100%;height:100%;z-index:-1}[data-sonner-toast][data-y-position=top][data-swiping=true]::before{bottom:50%;transform:scaleY(3) translateY(50%)}[data-sonner-toast][data-y-position=bottom][data-swiping=true]::before{top:50%;transform:scaleY(3) translateY(-50%)}[data-sonner-toast][data-swiping=false][data-removed=true]::before{content:'';position:absolute;inset:0;transform:scaleY(2)}[data-sonner-toast][data-expanded=true]::after{content:'';position:absolute;left:0;height:calc(var(--gap) + 1px);bottom:100%;width:100%}[data-sonner-toast][data-mounted=true]{--y:translateY(0);opacity:1}[data-sonner-toast][data-expanded=false][data-front=false]{--scale:var(--toasts-before) * 0.05 + 1;--y:translateY(calc(var(--lift-amount) * var(--toasts-before))) scale(calc(-1 * var(--scale)));height:var(--front-toast-height)}[data-sonner-toast]>*{transition:opacity .4s}[data-sonner-toast][data-x-position=right]{right:0}[data-sonner-toast][data-x-position=left]{left:0}[data-sonner-toast][data-expanded=false][data-front=false][data-styled=true]>*{opacity:0}[data-sonner-toast][data-visible=false]{opacity:0;pointer-events:none}[data-sonner-toast][data-mounted=true][data-expanded=true]{--y:translateY(calc(var(--lift) * var(--offset)));height:var(--initial-height)}[data-sonner-toast][data-removed=true][data-front=true][data-swipe-out=false]{--y:translateY(calc(var(--lift) * -100%));opacity:0}[data-sonner-toast][data-removed=true][data-front=false][data-swipe-out=false][data-expanded=true]{--y:translateY(calc(var(--lift) * var(--offset) + var(--lift) * -100%));opacity:0}[data-sonner-toast][data-removed=true][data-front=false][data-swipe-out=false][data-expanded=false]{--y:translateY(40%);opacity:0;transition:transform .5s,opacity .2s}[data-sonner-toast][data-removed=true][data-front=false]::before{height:calc(var(--initial-height) + 20%)}[data-sonner-toast][data-swiping=true]{transform:var(--y) translateY(var(--swipe-amount-y,0)) translateX(var(--swipe-amount-x,0));transition:none}[data-sonner-toast][data-swiped=true]{user-select:none}[data-sonner-toast][data-swipe-out=true][data-y-position=bottom],[data-sonner-toast][data-swipe-out=true][data-y-position=top]{animation-duration:.2s;animation-timing-function:ease-out;animation-fill-mode:forwards}[data-sonner-toast][data-swipe-out=true][data-swipe-direction=left]{animation-name:swipe-out-left}[data-sonner-toast][data-swipe-out=true][data-swipe-direction=right]{animation-name:swipe-out-right}[data-sonner-toast][data-swipe-out=true][data-swipe-direction=up]{animation-name:swipe-out-up}[data-sonner-toast][data-swipe-out=true][data-swipe-direction=down]{animation-name:swipe-out-down}@keyframes swipe-out-left{from{transform:var(--y) translateX(var(--swipe-amount-x));opacity:1}to{transform:var(--y) translateX(calc(var(--swipe-amount-x) - 100%));opacity:0}}@keyframes swipe-out-right{from{transform:var(--y) translateX(var(--swipe-amount-x));opacity:1}to{transform:var(--y) translateX(calc(var(--swipe-amount-x) + 100%));opacity:0}}@keyframes swipe-out-up{from{transform:var(--y) translateY(var(--swipe-amount-y));opacity:1}to{transform:var(--y) translateY(calc(var(--swipe-amount-y) - 100%));opacity:0}}@keyframes swipe-out-down{from{transform:var(--y) translateY(var(--swipe-amount-y));opacity:1}to{transform:var(--y) translateY(calc(var(--swipe-amount-y) + 100%));opacity:0}}@media (max-width:600px){[data-sonner-toaster]{position:fixed;right:var(--mobile-offset-right);left:var(--mobile-offset-left);width:100%}[data-sonner-toaster][dir=rtl]{left:calc(var(--mobile-offset-left) * -1)}[data-sonner-toaster] [data-sonner-toast]{left:0;right:0;width:calc(100% - var(--mobile-offset-left) * 2)}[data-sonner-toaster][data-x-position=left]{left:var(--mobile-offset-left)}[data-sonner-toaster][data-y-position=bottom]{bottom:var(--mobile-offset-bottom)}[data-sonner-toaster][data-y-position=top]{top:var(--mobile-offset-top)}[data-sonner-toaster][data-x-position=center]{left:var(--mobile-offset-left);right:var(--mobile-offset-right);transform:none}}[data-sonner-toaster][data-sonner-theme=light]{--normal-bg:#fff;--normal-border:var(--gray4);--normal-text:var(--gray12);--success-bg:hsl(143, 85%, 96%);--success-border:hsl(145, 92%, 87%);--success-text:hsl(140, 100%, 27%);--info-bg:hsl(208, 100%, 97%);--info-border:hsl(221, 91%, 93%);--info-text:hsl(210, 92%, 45%);--warning-bg:hsl(49, 100%, 97%);--warning-border:hsl(49, 91%, 84%);--warning-text:hsl(31, 92%, 45%);--error-bg:hsl(359, 100%, 97%);--error-border:hsl(359, 100%, 94%);--error-text:hsl(360, 100%, 45%)}[data-sonner-toaster][data-sonner-theme=light] [data-sonner-toast][data-invert=true]{--normal-bg:#000;--normal-border:hsl(0, 0%, 20%);--normal-text:var(--gray1)}[data-sonner-toaster][data-sonner-theme=dark] [data-sonner-toast][data-invert=true]{--normal-bg:#fff;--normal-border:var(--gray3);--normal-text:var(--gray12)}[data-sonner-toaster][data-sonner-theme=dark]{--normal-bg:#000;--normal-bg-hover:hsl(0, 0%, 12%);--normal-border:hsl(0, 0%, 20%);--normal-border-hover:hsl(0, 0%, 25%);--normal-text:var(--gray1);--success-bg:hsl(150, 100%, 6%);--success-border:hsl(147, 100%, 12%);--success-text:hsl(150, 86%, 65%);--info-bg:hsl(215, 100%, 6%);--info-border:hsl(223, 43%, 17%);--info-text:hsl(216, 87%, 65%);--warning-bg:hsl(64, 100%, 6%);--warning-border:hsl(60, 100%, 9%);--warning-text:hsl(46, 87%, 65%);--error-bg:hsl(358, 76%, 10%);--error-border:hsl(357, 89%, 16%);--error-text:hsl(358, 100%, 81%)}[data-sonner-toaster][data-sonner-theme=dark] [data-sonner-toast] [data-close-button]{background:var(--normal-bg);border-color:var(--normal-border);color:var(--normal-text)}[data-sonner-toaster][data-sonner-theme=dark] [data-sonner-toast] [data-close-button]:hover{background:var(--normal-bg-hover);border-color:var(--normal-border-hover)}[data-rich-colors=true][data-sonner-toast][data-type=success]{background:var(--success-bg);border-color:var(--success-border);color:var(--success-text)}[data-rich-colors=true][data-sonner-toast][data-type=success] [data-close-button]{background:var(--success-bg);border-color:var(--success-border);color:var(--success-text)}[data-rich-colors=true][data-sonner-toast][data-type=info]{background:var(--info-bg);border-color:var(--info-border);color:var(--info-text)}[data-rich-colors=true][data-sonner-toast][data-type=info] [data-close-button]{background:var(--info-bg);border-color:var(--info-border);color:var(--info-text)}[data-rich-colors=true][data-sonner-toast][data-type=warning]{background:var(--warning-bg);border-color:var(--warning-border);color:var(--warning-text)}[data-rich-colors=true][data-sonner-toast][data-type=warning] [data-close-button]{background:var(--warning-bg);border-color:var(--warning-border);color:var(--warning-text)}[data-rich-colors=true][data-sonner-toast][data-type=error]{background:var(--error-bg);border-color:var(--error-border);color:var(--error-text)}[data-rich-colors=true][data-sonner-toast][data-type=error] [data-close-button]{background:var(--error-bg);border-color:var(--error-border);color:var(--error-text)}.sonner-loading-wrapper{--size:16px;height:var(--size);width:var(--size);position:absolute;inset:0;z-index:10}.sonner-loading-wrapper[data-visible=false]{transform-origin:center;animation:sonner-fade-out .2s ease forwards}.sonner-spinner{position:relative;top:50%;left:50%;height:var(--size);width:var(--size)}.sonner-loading-bar{animation:sonner-spin 1.2s linear infinite;background:var(--gray11);border-radius:6px;height:8%;left:-10%;position:absolute;top:-3.9%;width:24%}.sonner-loading-bar:first-child{animation-delay:-1.2s;transform:rotate(.0001deg) translate(146%)}.sonner-loading-bar:nth-child(2){animation-delay:-1.1s;transform:rotate(30deg) translate(146%)}.sonner-loading-bar:nth-child(3){animation-delay:-1s;transform:rotate(60deg) translate(146%)}.sonner-loading-bar:nth-child(4){animation-delay:-.9s;transform:rotate(90deg) translate(146%)}.sonner-loading-bar:nth-child(5){animation-delay:-.8s;transform:rotate(120deg) translate(146%)}.sonner-loading-bar:nth-child(6){animation-delay:-.7s;transform:rotate(150deg) translate(146%)}.sonner-loading-bar:nth-child(7){animation-delay:-.6s;transform:rotate(180deg) translate(146%)}.sonner-loading-bar:nth-child(8){animation-delay:-.5s;transform:rotate(210deg) translate(146%)}.sonner-loading-bar:nth-child(9){animation-delay:-.4s;transform:rotate(240deg) translate(146%)}.sonner-loading-bar:nth-child(10){animation-delay:-.3s;transform:rotate(270deg) translate(146%)}.sonner-loading-bar:nth-child(11){animation-delay:-.2s;transform:rotate(300deg) translate(146%)}.sonner-loading-bar:nth-child(12){animation-delay:-.1s;transform:rotate(330deg) translate(146%)}@keyframes sonner-fade-in{0%{opacity:0;transform:scale(.8)}100%{opacity:1;transform:scale(1)}}@keyframes sonner-fade-out{0%{opacity:1;transform:scale(1)}100%{opacity:0;transform:scale(.8)}}@keyframes sonner-spin{0%{opacity:1}100%{opacity:.15}}@media (prefers-reduced-motion){.sonner-loading-bar,[data-sonner-toast],[data-sonner-toast]>*{transition:none!important;animation:none!important}}.sonner-loader{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);transform-origin:center;transition:opacity .2s,transform .2s}.sonner-loader[data-visible=false]{opacity:0;transform:scale(.8) translate(-50%,-50%)}");
|
|
52312
52276
|
function d7(e) {
|
|
52313
52277
|
return e.label !== void 0;
|
|
52314
52278
|
}
|
|
52315
|
-
var
|
|
52279
|
+
var kbe = 3, Abe = "24px", jbe = "16px", f7 = 4e3, Mbe = 356, Nbe = 14, Pbe = 45, Fbe = 200;
|
|
52316
52280
|
function p7(...e) {
|
|
52317
52281
|
return e.filter(Boolean).join(" ");
|
|
52318
52282
|
}
|
|
52319
|
-
function
|
|
52283
|
+
function Ibe(e) {
|
|
52320
52284
|
let [t, n] = e.split("-"), r = [];
|
|
52321
52285
|
return t && r.push(t), n && r.push(n), r;
|
|
52322
52286
|
}
|
|
52323
|
-
var
|
|
52324
|
-
let { invert: t, toast: n, unstyled: r, interacting: i, setHeights: a, visibleToasts: o, heights: s, index: c, toasts: l, expanded: u, removeToast: d, defaultRichColors: f, closeButton: p, style: m, cancelButtonStyle: h, actionButtonStyle: g, className: _ = "", descriptionClassName: v = "", duration: y, position: b, gap: x, expandByDefault: S, classNames: C, icons: w, closeButtonAriaLabel: T = "Close toast" } = e, [E, D] = B.useState(null), [O, k] = B.useState(null), [A, j] = B.useState(!1), [M, N] = B.useState(!1), [P, F] = B.useState(!1), [I, ee] = B.useState(!1), [L, te] = B.useState(!1), [ne, re] = B.useState(0), [ie, ae] = B.useState(0), oe = B.useRef(n.duration || y || f7), R = B.useRef(null), se = B.useRef(null), ce = c === 0, le = c + 1 <= o, ue = n.type, z = n.dismissible !== !1, de = n.className || "", fe = n.descriptionClassName || "", pe = B.useMemo(() => s.findIndex((e) => e.toastId === n.id) || 0, [s, n.id]), me = B.useMemo(() => n.closeButton ?? p, [n.closeButton, p]), he = B.useMemo(() => n.duration || y || f7, [n.duration, y]), ge = B.useRef(0), _e = B.useRef(0), ve = B.useRef(0), ye = B.useRef(null), [be, xe] = b.split("-"), V = B.useMemo(() => s.reduce((e, t, n) => n >= pe ? e : e + t.height, 0), [s, pe]), Se =
|
|
52287
|
+
var Lbe = (e) => {
|
|
52288
|
+
let { invert: t, toast: n, unstyled: r, interacting: i, setHeights: a, visibleToasts: o, heights: s, index: c, toasts: l, expanded: u, removeToast: d, defaultRichColors: f, closeButton: p, style: m, cancelButtonStyle: h, actionButtonStyle: g, className: _ = "", descriptionClassName: v = "", duration: y, position: b, gap: x, expandByDefault: S, classNames: C, icons: w, closeButtonAriaLabel: T = "Close toast" } = e, [E, D] = B.useState(null), [O, k] = B.useState(null), [A, j] = B.useState(!1), [M, N] = B.useState(!1), [P, F] = B.useState(!1), [I, ee] = B.useState(!1), [L, te] = B.useState(!1), [ne, re] = B.useState(0), [ie, ae] = B.useState(0), oe = B.useRef(n.duration || y || f7), R = B.useRef(null), se = B.useRef(null), ce = c === 0, le = c + 1 <= o, ue = n.type, z = n.dismissible !== !1, de = n.className || "", fe = n.descriptionClassName || "", pe = B.useMemo(() => s.findIndex((e) => e.toastId === n.id) || 0, [s, n.id]), me = B.useMemo(() => n.closeButton ?? p, [n.closeButton, p]), he = B.useMemo(() => n.duration || y || f7, [n.duration, y]), ge = B.useRef(0), _e = B.useRef(0), ve = B.useRef(0), ye = B.useRef(null), [be, xe] = b.split("-"), V = B.useMemo(() => s.reduce((e, t, n) => n >= pe ? e : e + t.height, 0), [s, pe]), Se = Ebe(), Ce = n.invert || t, we = ue === "loading";
|
|
52325
52289
|
_e.current = B.useMemo(() => pe * x + V, [pe, V]), B.useEffect(() => {
|
|
52326
52290
|
oe.current = he;
|
|
52327
52291
|
}, [he]), B.useEffect(() => {
|
|
@@ -52362,7 +52326,7 @@ var Rbe = (e) => {
|
|
|
52362
52326
|
let Te = B.useCallback(() => {
|
|
52363
52327
|
N(!0), re(_e.current), a((e) => e.filter((e) => e.toastId !== n.id)), setTimeout(() => {
|
|
52364
52328
|
d(n);
|
|
52365
|
-
},
|
|
52329
|
+
}, Fbe);
|
|
52366
52330
|
}, [
|
|
52367
52331
|
n,
|
|
52368
52332
|
d,
|
|
@@ -52395,12 +52359,12 @@ var Rbe = (e) => {
|
|
|
52395
52359
|
return w?.loading ? /*#__PURE__*/ B.createElement("div", {
|
|
52396
52360
|
className: p7(C?.loader, n?.classNames?.loader, "sonner-loader"),
|
|
52397
52361
|
"data-visible": ue === "loading"
|
|
52398
|
-
}, w.loading) : /*#__PURE__*/ B.createElement(
|
|
52362
|
+
}, w.loading) : /*#__PURE__*/ B.createElement(bbe, {
|
|
52399
52363
|
className: p7(C?.loader, n?.classNames?.loader),
|
|
52400
52364
|
visible: ue === "loading"
|
|
52401
52365
|
});
|
|
52402
52366
|
}
|
|
52403
|
-
let De = n.icon || w?.[ue] ||
|
|
52367
|
+
let De = n.icon || w?.[ue] || vbe(ue);
|
|
52404
52368
|
return /*#__PURE__*/ B.createElement("li", {
|
|
52405
52369
|
tabIndex: 0,
|
|
52406
52370
|
ref: se,
|
|
@@ -52447,7 +52411,7 @@ var Rbe = (e) => {
|
|
|
52447
52411
|
if (I || !z) return;
|
|
52448
52412
|
ye.current = null;
|
|
52449
52413
|
let e = Number(se.current?.style.getPropertyValue("--swipe-amount-x").replace("px", "") || 0), t = Number(se.current?.style.getPropertyValue("--swipe-amount-y").replace("px", "") || 0), r = (/* @__PURE__ */ new Date()).getTime() - R.current?.getTime(), i = E === "x" ? e : t, a = Math.abs(i) / r;
|
|
52450
|
-
if (Math.abs(i) >=
|
|
52414
|
+
if (Math.abs(i) >= Pbe || a > .11) {
|
|
52451
52415
|
re(_e.current), n.onDismiss == null || n.onDismiss.call(n, n), k(E === "x" ? e > 0 ? "right" : "left" : t > 0 ? "down" : "up"), Te(), ee(!0);
|
|
52452
52416
|
return;
|
|
52453
52417
|
} else {
|
|
@@ -52459,7 +52423,7 @@ var Rbe = (e) => {
|
|
|
52459
52423
|
onPointerMove: (t) => {
|
|
52460
52424
|
var n, r;
|
|
52461
52425
|
if (!ye.current || !z || window.getSelection()?.toString().length > 0) return;
|
|
52462
|
-
let i = t.clientY - ye.current.y, a = t.clientX - ye.current.x, o = e.swipeDirections ??
|
|
52426
|
+
let i = t.clientY - ye.current.y, a = t.clientX - ye.current.x, o = e.swipeDirections ?? Ibe(b);
|
|
52463
52427
|
!E && (Math.abs(a) > 1 || Math.abs(i) > 1) && D(Math.abs(a) > Math.abs(i) ? "x" : "y");
|
|
52464
52428
|
let s = {
|
|
52465
52429
|
x: 0,
|
|
@@ -52486,7 +52450,7 @@ var Rbe = (e) => {
|
|
|
52486
52450
|
Te(), n.onDismiss == null || n.onDismiss.call(n, n);
|
|
52487
52451
|
},
|
|
52488
52452
|
className: p7(C?.closeButton, n?.classNames?.closeButton)
|
|
52489
|
-
}, w?.close ??
|
|
52453
|
+
}, w?.close ?? Tbe) : null, (ue || n.icon || n.promise) && n.icon !== null && (w?.[ue] !== null || n.icon) ? /*#__PURE__*/ B.createElement("div", {
|
|
52490
52454
|
"data-icon": "",
|
|
52491
52455
|
className: p7(C?.icon, n?.classNames?.icon)
|
|
52492
52456
|
}, n.promise || n.type === "loading" && !n.icon ? n.icon || Ee() : null, n.type === "loading" ? null : De) : null, /*#__PURE__*/ B.createElement("div", {
|
|
@@ -52521,10 +52485,10 @@ function m7() {
|
|
|
52521
52485
|
let e = document.documentElement.getAttribute("dir");
|
|
52522
52486
|
return e === "auto" || !e ? window.getComputedStyle(document.documentElement).direction : e;
|
|
52523
52487
|
}
|
|
52524
|
-
function
|
|
52488
|
+
function Rbe(e, t) {
|
|
52525
52489
|
let n = {};
|
|
52526
52490
|
return [e, t].forEach((e, t) => {
|
|
52527
|
-
let r = t === 1, i = r ? "--mobile-offset" : "--offset", a = r ?
|
|
52491
|
+
let r = t === 1, i = r ? "--mobile-offset" : "--offset", a = r ? jbe : Abe;
|
|
52528
52492
|
function o(e) {
|
|
52529
52493
|
[
|
|
52530
52494
|
"top",
|
|
@@ -52545,8 +52509,8 @@ function zbe(e, t) {
|
|
|
52545
52509
|
}) : o(a);
|
|
52546
52510
|
}), n;
|
|
52547
52511
|
}
|
|
52548
|
-
var
|
|
52549
|
-
let { id: n, invert: r, position: i = "bottom-right", hotkey: a = ["altKey", "KeyT"], expand: o, closeButton: s, className: c, offset: l, mobileOffset: u, theme: d = "light", richColors: f, duration: p, style: m, visibleToasts: h =
|
|
52512
|
+
var zbe = /*#__PURE__*/ B.forwardRef(function(e, t) {
|
|
52513
|
+
let { id: n, invert: r, position: i = "bottom-right", hotkey: a = ["altKey", "KeyT"], expand: o, closeButton: s, className: c, offset: l, mobileOffset: u, theme: d = "light", richColors: f, duration: p, style: m, visibleToasts: h = kbe, toastOptions: g, dir: _ = m7(), gap: v = Nbe, icons: y, containerAriaLabel: b = "Notifications" } = e, [x, S] = B.useState([]), C = B.useMemo(() => n ? x.filter((e) => e.toasterId === n) : x.filter((e) => !e.toasterId), [x, n]), w = B.useMemo(() => Array.from(new Set([i].concat(C.filter((e) => e.position).map((e) => e.position)))), [C, i]), [T, E] = B.useState([]), [D, O] = B.useState(!1), [k, A] = B.useState(!1), [j, M] = B.useState(d === "system" ? typeof window < "u" && window.matchMedia && window.matchMedia("(prefers-color-scheme: dark)").matches ? "dark" : "light" : d), N = B.useRef(null), P = a.join("+").replace(/Key/g, "").replace(/Digit/g, ""), F = B.useRef(null), I = B.useRef(!1), ee = B.useCallback((e) => {
|
|
52550
52514
|
S((t) => (t.find((t) => t.id === e.id)?.delete || l7.dismiss(e.id), t.filter(({ id: t }) => t !== e.id)));
|
|
52551
52515
|
}, []);
|
|
52552
52516
|
return B.useEffect(() => l7.subscribe((e) => {
|
|
@@ -52631,10 +52595,10 @@ var Bbe = /*#__PURE__*/ B.forwardRef(function(e, t) {
|
|
|
52631
52595
|
"data-x-position": a,
|
|
52632
52596
|
style: {
|
|
52633
52597
|
"--front-toast-height": `${T[0]?.height || 0}px`,
|
|
52634
|
-
"--width": `${
|
|
52598
|
+
"--width": `${Mbe}px`,
|
|
52635
52599
|
"--gap": `${v}px`,
|
|
52636
52600
|
...m,
|
|
52637
|
-
...
|
|
52601
|
+
...Rbe(l, u)
|
|
52638
52602
|
},
|
|
52639
52603
|
onBlur: (e) => {
|
|
52640
52604
|
I.current && !e.currentTarget.contains(e.relatedTarget) && (I.current = !1, F.current &&= (F.current.focus({ preventScroll: !0 }), null));
|
|
@@ -52652,7 +52616,7 @@ var Bbe = /*#__PURE__*/ B.forwardRef(function(e, t) {
|
|
|
52652
52616
|
e.target instanceof HTMLElement && e.target.dataset.dismissible === "false" || A(!0);
|
|
52653
52617
|
},
|
|
52654
52618
|
onPointerUp: () => A(!1)
|
|
52655
|
-
}, C.filter((e) => !e.position && n === 0 || e.position === t).map((n, i) => /*#__PURE__*/ B.createElement(
|
|
52619
|
+
}, C.filter((e) => !e.position && n === 0 || e.position === t).map((n, i) => /*#__PURE__*/ B.createElement(Lbe, {
|
|
52656
52620
|
key: n.id,
|
|
52657
52621
|
icons: y,
|
|
52658
52622
|
index: i,
|
|
@@ -52682,12 +52646,12 @@ var Bbe = /*#__PURE__*/ B.forwardRef(function(e, t) {
|
|
|
52682
52646
|
swipeDirections: e.swipeDirections
|
|
52683
52647
|
}))) : null;
|
|
52684
52648
|
}));
|
|
52685
|
-
}),
|
|
52649
|
+
}), Bbe = ({ duration: e, position: n, className: r, ...i }) => /* @__PURE__ */ t(zbe, {
|
|
52686
52650
|
position: n ?? "bottom-center",
|
|
52687
52651
|
className: W("pointer-events-auto", r),
|
|
52688
52652
|
duration: e ?? 5e3,
|
|
52689
52653
|
...i
|
|
52690
|
-
}),
|
|
52654
|
+
}), Vbe = class {
|
|
52691
52655
|
#e;
|
|
52692
52656
|
constructor(e) {
|
|
52693
52657
|
this.addNotification = (e) => {
|
|
@@ -52734,14 +52698,14 @@ var Bbe = /*#__PURE__*/ B.forwardRef(function(e, t) {
|
|
|
52734
52698
|
}
|
|
52735
52699
|
#t;
|
|
52736
52700
|
#n;
|
|
52737
|
-
},
|
|
52701
|
+
}, Hbe = G(["rounded-500 flex items-center gap-3 border px-4 py-3", "transition-colors duration-200"], {
|
|
52738
52702
|
variants: { status: {
|
|
52739
52703
|
pending: "border-misc-border bg-surface-high",
|
|
52740
52704
|
loading: "border-misc-border bg-surface-high",
|
|
52741
52705
|
completed: "border-accent-500 bg-background-accent-subdued"
|
|
52742
52706
|
} },
|
|
52743
52707
|
defaultVariants: { status: "pending" }
|
|
52744
|
-
}),
|
|
52708
|
+
}), Ube = G(["flex shrink-0 items-center justify-center rounded-full", "text-400 size-6"], {
|
|
52745
52709
|
variants: { status: {
|
|
52746
52710
|
pending: "bg-background-subdued text-content-secondary",
|
|
52747
52711
|
loading: "text-content-accent",
|
|
@@ -52751,13 +52715,13 @@ var Bbe = /*#__PURE__*/ B.forwardRef(function(e, t) {
|
|
|
52751
52715
|
});
|
|
52752
52716
|
function h7({ label: e, status: r = "pending", stepNumber: i, value: a, className: o, ...s }) {
|
|
52753
52717
|
return /* @__PURE__ */ n("div", {
|
|
52754
|
-
className: W(
|
|
52718
|
+
className: W(Hbe({ status: r }), o),
|
|
52755
52719
|
"aria-busy": r === "loading",
|
|
52756
52720
|
...s,
|
|
52757
52721
|
children: [
|
|
52758
52722
|
/* @__PURE__ */ n("div", {
|
|
52759
52723
|
role: "presentation",
|
|
52760
|
-
className:
|
|
52724
|
+
className: Ube({ status: r }),
|
|
52761
52725
|
children: [
|
|
52762
52726
|
r === "pending" && /* @__PURE__ */ t("span", {
|
|
52763
52727
|
className: "body-strong-300 text-content-primary",
|
|
@@ -52784,11 +52748,11 @@ function h7({ label: e, status: r = "pending", stepNumber: i, value: a, classNam
|
|
|
52784
52748
|
h7.displayName = "ProgressStep";
|
|
52785
52749
|
//#endregion
|
|
52786
52750
|
//#region src/components/status/Shortcut/Shortcut.tsx
|
|
52787
|
-
var
|
|
52751
|
+
var Wbe = ({ label: e, className: n }) => /* @__PURE__ */ t("kbd", {
|
|
52788
52752
|
className: W("content-to-edge-px-300 inline-block shrink-0", "rounded-300 bg-background-subdued", "component-400 font-brand text-content-secondary leading-6 uppercase", "text-center whitespace-nowrap", n),
|
|
52789
52753
|
children: e
|
|
52790
52754
|
}), g7 = U("absolute inset-0 z-1", "flex h-full items-center gap-1.5 p-1 ps-5", "transition-all duration-200 ease-[cubic-bezier(0.2,0.82,0.61,1)]"), _7 = "min-w-0 grow overflow-hidden text-ellipsis whitespace-nowrap text-start", v7 = U("shrink-0 appearance-none outline-hidden", "flex h-full items-center px-4", "hover:bg-black-alpha-2 rounded-full", "focus-visible:bg-black-alpha-2 active:bg-black-alpha-3", "text-content-white-primary-inverted", "transition-colors duration-200");
|
|
52791
|
-
function
|
|
52755
|
+
function Gbe({ className: e, inProgressLabel: r, completedLabel: i, actionLabel: a, cancelLabel: o, onAction: s, onCancel: c, ...u }) {
|
|
52792
52756
|
let d = Math.min(100, Math.max(0, u.value ?? 0)), f = d === 100, p = Te();
|
|
52793
52757
|
return /* @__PURE__ */ n(i7, {
|
|
52794
52758
|
...u,
|
|
@@ -52841,7 +52805,7 @@ function Kbe({ className: e, inProgressLabel: r, completedLabel: i, actionLabel:
|
|
|
52841
52805
|
}
|
|
52842
52806
|
//#endregion
|
|
52843
52807
|
//#region src/components/status/TransformationEmptySpace/TransformationEmptySpace.tsx
|
|
52844
|
-
var
|
|
52808
|
+
var Kbe = ({ imageSrc: e, imageAlt: r = "", label: i, className: a }) => /* @__PURE__ */ n("div", {
|
|
52845
52809
|
className: W("flex w-full flex-col items-center justify-center gap-8", a),
|
|
52846
52810
|
children: [/* @__PURE__ */ t(dl, {
|
|
52847
52811
|
className: "relative aspect-video w-full overflow-hidden",
|
|
@@ -52853,7 +52817,7 @@ var qbe = ({ imageSrc: e, imageAlt: r = "", label: i, className: a }) => /* @__P
|
|
|
52853
52817
|
className: "component-600 text-content-tertiary w-full overflow-hidden text-center text-ellipsis",
|
|
52854
52818
|
children: i
|
|
52855
52819
|
})]
|
|
52856
|
-
}),
|
|
52820
|
+
}), qbe = ({ title: e, subtitle: r, content: i, backLabel: a, onBack: s, children: c, capitalize: l = !0 }) => /* @__PURE__ */ n("div", {
|
|
52857
52821
|
className: "flex h-10 items-center gap-2",
|
|
52858
52822
|
children: [
|
|
52859
52823
|
s && /* @__PURE__ */ t(zr, {
|
|
@@ -52930,10 +52894,10 @@ var x7 = ({ children: e, className: n, isSticky: r = !0 }) => {
|
|
|
52930
52894
|
children: e
|
|
52931
52895
|
});
|
|
52932
52896
|
};
|
|
52933
|
-
x7.Leading =
|
|
52897
|
+
x7.Leading = qbe, x7.SwitcherButton = y7, x7.Trailing = b7;
|
|
52934
52898
|
//#endregion
|
|
52935
52899
|
//#region src/components/unsorted/FeaturesList/FeaturesList.tsx
|
|
52936
|
-
var
|
|
52900
|
+
var Jbe = ({ features: e }) => /* @__PURE__ */ t("ul", {
|
|
52937
52901
|
className: "text-500 flex flex-col gap-4",
|
|
52938
52902
|
children: e.map((e) => /* @__PURE__ */ n("li", {
|
|
52939
52903
|
className: "flex flex-row gap-4",
|
|
@@ -52945,14 +52909,14 @@ var Ybe = ({ features: e }) => /* @__PURE__ */ t("ul", {
|
|
|
52945
52909
|
children: e
|
|
52946
52910
|
})]
|
|
52947
52911
|
}, e))
|
|
52948
|
-
}),
|
|
52912
|
+
}), Ybe = {
|
|
52949
52913
|
h1: "text-1100",
|
|
52950
52914
|
h2: "text-1000",
|
|
52951
52915
|
h3: "text-900",
|
|
52952
52916
|
h4: "text-800",
|
|
52953
52917
|
h5: "text-700"
|
|
52954
|
-
},
|
|
52955
|
-
let i = `h${n}`, a =
|
|
52918
|
+
}, Xbe = ({ className: e, level: n, children: r }) => {
|
|
52919
|
+
let i = `h${n}`, a = Ybe[i];
|
|
52956
52920
|
return /* @__PURE__ */ t(i, {
|
|
52957
52921
|
className: U(e, a, "text-content-primary font-bold"),
|
|
52958
52922
|
children: r
|
|
@@ -52973,13 +52937,13 @@ var Ybe = ({ features: e }) => /* @__PURE__ */ t("ul", {
|
|
|
52973
52937
|
S7.displayName = "HightLightedText";
|
|
52974
52938
|
//#endregion
|
|
52975
52939
|
//#region src/components/unsorted/InfoBanner/InfoBanner.tsx
|
|
52976
|
-
var
|
|
52940
|
+
var Zbe = ({ icon: e, label: r, className: i }) => /* @__PURE__ */ n("div", {
|
|
52977
52941
|
className: U("bg-accent-alpha-200 text-500 text-content-accent flex h-8 flex-row items-center justify-center gap-1 font-medium", i),
|
|
52978
52942
|
children: [e && /* @__PURE__ */ t(e, { className: "h-4 w-4 shrink-0 text-current" }), /* @__PURE__ */ t("div", { children: r })]
|
|
52979
52943
|
});
|
|
52980
52944
|
//#endregion
|
|
52981
52945
|
//#region ../../node_modules/.pnpm/vaul@1.1.2_@types+react-dom@19.2.3_@types+react@19.2.16__@types+react@19.2.16_react-dom_77c10f1142514a602d6574b68c3f67b4/node_modules/vaul/dist/index.mjs
|
|
52982
|
-
function
|
|
52946
|
+
function Qbe(e) {
|
|
52983
52947
|
if (!e || typeof document > "u") return;
|
|
52984
52948
|
let t = document.head || document.getElementsByTagName("head")[0], n = document.createElement("style");
|
|
52985
52949
|
n.type = "text/css", t.appendChild(n), n.styleSheet ? n.styleSheet.cssText = e : n.appendChild(document.createTextNode(e));
|
|
@@ -53019,30 +52983,30 @@ var C7 = B.createContext({
|
|
|
53019
52983
|
if (!e) throw Error("useDrawerContext must be used within a Drawer.Root");
|
|
53020
52984
|
return e;
|
|
53021
52985
|
};
|
|
53022
|
-
|
|
53023
|
-
function
|
|
52986
|
+
Qbe("[data-vaul-drawer]{touch-action:none;will-change:transform;transition:transform .5s cubic-bezier(.32, .72, 0, 1);animation-duration:.5s;animation-timing-function:cubic-bezier(0.32,0.72,0,1)}[data-vaul-drawer][data-vaul-snap-points=false][data-vaul-drawer-direction=bottom][data-state=open]{animation-name:slideFromBottom}[data-vaul-drawer][data-vaul-snap-points=false][data-vaul-drawer-direction=bottom][data-state=closed]{animation-name:slideToBottom}[data-vaul-drawer][data-vaul-snap-points=false][data-vaul-drawer-direction=top][data-state=open]{animation-name:slideFromTop}[data-vaul-drawer][data-vaul-snap-points=false][data-vaul-drawer-direction=top][data-state=closed]{animation-name:slideToTop}[data-vaul-drawer][data-vaul-snap-points=false][data-vaul-drawer-direction=left][data-state=open]{animation-name:slideFromLeft}[data-vaul-drawer][data-vaul-snap-points=false][data-vaul-drawer-direction=left][data-state=closed]{animation-name:slideToLeft}[data-vaul-drawer][data-vaul-snap-points=false][data-vaul-drawer-direction=right][data-state=open]{animation-name:slideFromRight}[data-vaul-drawer][data-vaul-snap-points=false][data-vaul-drawer-direction=right][data-state=closed]{animation-name:slideToRight}[data-vaul-drawer][data-vaul-snap-points=true][data-vaul-drawer-direction=bottom]{transform:translate3d(0,var(--initial-transform,100%),0)}[data-vaul-drawer][data-vaul-snap-points=true][data-vaul-drawer-direction=top]{transform:translate3d(0,calc(var(--initial-transform,100%) * -1),0)}[data-vaul-drawer][data-vaul-snap-points=true][data-vaul-drawer-direction=left]{transform:translate3d(calc(var(--initial-transform,100%) * -1),0,0)}[data-vaul-drawer][data-vaul-snap-points=true][data-vaul-drawer-direction=right]{transform:translate3d(var(--initial-transform,100%),0,0)}[data-vaul-drawer][data-vaul-delayed-snap-points=true][data-vaul-drawer-direction=top]{transform:translate3d(0,var(--snap-point-height,0),0)}[data-vaul-drawer][data-vaul-delayed-snap-points=true][data-vaul-drawer-direction=bottom]{transform:translate3d(0,var(--snap-point-height,0),0)}[data-vaul-drawer][data-vaul-delayed-snap-points=true][data-vaul-drawer-direction=left]{transform:translate3d(var(--snap-point-height,0),0,0)}[data-vaul-drawer][data-vaul-delayed-snap-points=true][data-vaul-drawer-direction=right]{transform:translate3d(var(--snap-point-height,0),0,0)}[data-vaul-overlay][data-vaul-snap-points=false]{animation-duration:.5s;animation-timing-function:cubic-bezier(0.32,0.72,0,1)}[data-vaul-overlay][data-vaul-snap-points=false][data-state=open]{animation-name:fadeIn}[data-vaul-overlay][data-state=closed]{animation-name:fadeOut}[data-vaul-animate=false]{animation:none!important}[data-vaul-overlay][data-vaul-snap-points=true]{opacity:0;transition:opacity .5s cubic-bezier(.32, .72, 0, 1)}[data-vaul-overlay][data-vaul-snap-points=true]{opacity:1}[data-vaul-drawer]:not([data-vaul-custom-container=true])::after{content:'';position:absolute;background:inherit;background-color:inherit}[data-vaul-drawer][data-vaul-drawer-direction=top]::after{top:initial;bottom:100%;left:0;right:0;height:200%}[data-vaul-drawer][data-vaul-drawer-direction=bottom]::after{top:100%;bottom:initial;left:0;right:0;height:200%}[data-vaul-drawer][data-vaul-drawer-direction=left]::after{left:initial;right:100%;top:0;bottom:0;width:200%}[data-vaul-drawer][data-vaul-drawer-direction=right]::after{left:100%;right:initial;top:0;bottom:0;width:200%}[data-vaul-overlay][data-vaul-snap-points=true]:not([data-vaul-snap-points-overlay=true]):not(\n[data-state=closed]\n){opacity:0}[data-vaul-overlay][data-vaul-snap-points-overlay=true]{opacity:1}[data-vaul-handle]{display:block;position:relative;opacity:.7;background:#e2e2e4;margin-left:auto;margin-right:auto;height:5px;width:32px;border-radius:1rem;touch-action:pan-y}[data-vaul-handle]:active,[data-vaul-handle]:hover{opacity:1}[data-vaul-handle-hitarea]{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);width:max(100%,2.75rem);height:max(100%,2.75rem);touch-action:inherit}@media (hover:hover) and (pointer:fine){[data-vaul-drawer]{user-select:none}}@media (pointer:fine){[data-vaul-handle-hitarea]:{width:100%;height:100%}}@keyframes fadeIn{from{opacity:0}to{opacity:1}}@keyframes fadeOut{to{opacity:0}}@keyframes slideFromBottom{from{transform:translate3d(0,var(--initial-transform,100%),0)}to{transform:translate3d(0,0,0)}}@keyframes slideToBottom{to{transform:translate3d(0,var(--initial-transform,100%),0)}}@keyframes slideFromTop{from{transform:translate3d(0,calc(var(--initial-transform,100%) * -1),0)}to{transform:translate3d(0,0,0)}}@keyframes slideToTop{to{transform:translate3d(0,calc(var(--initial-transform,100%) * -1),0)}}@keyframes slideFromLeft{from{transform:translate3d(calc(var(--initial-transform,100%) * -1),0,0)}to{transform:translate3d(0,0,0)}}@keyframes slideToLeft{to{transform:translate3d(calc(var(--initial-transform,100%) * -1),0,0)}}@keyframes slideFromRight{from{transform:translate3d(var(--initial-transform,100%),0,0)}to{transform:translate3d(0,0,0)}}@keyframes slideToRight{to{transform:translate3d(var(--initial-transform,100%),0,0)}}");
|
|
52987
|
+
function $be() {
|
|
53024
52988
|
let e = navigator.userAgent;
|
|
53025
52989
|
return typeof window < "u" && (/Firefox/.test(e) && /Mobile/.test(e) || /FxiOS/.test(e));
|
|
53026
52990
|
}
|
|
53027
|
-
function
|
|
52991
|
+
function exe() {
|
|
53028
52992
|
return D7(/^Mac/);
|
|
53029
52993
|
}
|
|
53030
|
-
function
|
|
52994
|
+
function txe() {
|
|
53031
52995
|
return D7(/^iPhone/);
|
|
53032
52996
|
}
|
|
53033
52997
|
function T7() {
|
|
53034
52998
|
return /^((?!chrome|android).)*safari/i.test(navigator.userAgent);
|
|
53035
52999
|
}
|
|
53036
|
-
function
|
|
53037
|
-
return D7(/^iPad/) ||
|
|
53000
|
+
function nxe() {
|
|
53001
|
+
return D7(/^iPad/) || exe() && navigator.maxTouchPoints > 1;
|
|
53038
53002
|
}
|
|
53039
53003
|
function E7() {
|
|
53040
|
-
return
|
|
53004
|
+
return txe() || nxe();
|
|
53041
53005
|
}
|
|
53042
53006
|
function D7(e) {
|
|
53043
53007
|
return typeof window < "u" && window.navigator != null ? e.test(window.navigator.platform) : void 0;
|
|
53044
53008
|
}
|
|
53045
|
-
var
|
|
53009
|
+
var rxe = 24, ixe = typeof window < "u" ? Oe : Ce;
|
|
53046
53010
|
function O7(...e) {
|
|
53047
53011
|
return (...t) => {
|
|
53048
53012
|
for (let n of e) typeof n == "function" && n(...t);
|
|
@@ -53057,7 +53021,7 @@ function j7(e) {
|
|
|
53057
53021
|
for (A7(e) && (e = e.parentElement); e && !A7(e);) e = e.parentElement;
|
|
53058
53022
|
return e || document.scrollingElement || document.documentElement;
|
|
53059
53023
|
}
|
|
53060
|
-
var
|
|
53024
|
+
var axe = /* @__PURE__ */ new Set([
|
|
53061
53025
|
"checkbox",
|
|
53062
53026
|
"radio",
|
|
53063
53027
|
"range",
|
|
@@ -53068,15 +53032,15 @@ var oxe = /* @__PURE__ */ new Set([
|
|
|
53068
53032
|
"submit",
|
|
53069
53033
|
"reset"
|
|
53070
53034
|
]), M7 = 0, N7;
|
|
53071
|
-
function
|
|
53035
|
+
function oxe(e = {}) {
|
|
53072
53036
|
let { isDisabled: t } = e;
|
|
53073
|
-
|
|
53074
|
-
if (!t) return M7++, M7 === 1 && E7() && (N7 =
|
|
53037
|
+
ixe(() => {
|
|
53038
|
+
if (!t) return M7++, M7 === 1 && E7() && (N7 = sxe()), () => {
|
|
53075
53039
|
M7--, M7 === 0 && N7?.();
|
|
53076
53040
|
};
|
|
53077
53041
|
}, [t]);
|
|
53078
53042
|
}
|
|
53079
|
-
function
|
|
53043
|
+
function sxe() {
|
|
53080
53044
|
let e, t = 0, n = (n) => {
|
|
53081
53045
|
e = j7(n.target), !(e === document.documentElement && e === document.body) && (t = n.changedTouches[0].pageY);
|
|
53082
53046
|
}, r = (n) => {
|
|
@@ -53100,7 +53064,7 @@ function cxe() {
|
|
|
53100
53064
|
}));
|
|
53101
53065
|
}, o = () => {
|
|
53102
53066
|
window.scrollTo(0, 0);
|
|
53103
|
-
}, s = window.pageXOffset, c = window.pageYOffset, l = O7(
|
|
53067
|
+
}, s = window.pageXOffset, c = window.pageYOffset, l = O7(cxe(document.documentElement, "paddingRight", `${window.innerWidth - document.documentElement.clientWidth}px`));
|
|
53104
53068
|
window.scrollTo(0, 0);
|
|
53105
53069
|
let u = O7(P7(document, "touchstart", n, {
|
|
53106
53070
|
passive: !1,
|
|
@@ -53116,7 +53080,7 @@ function cxe() {
|
|
|
53116
53080
|
l(), u(), window.scrollTo(s, c);
|
|
53117
53081
|
};
|
|
53118
53082
|
}
|
|
53119
|
-
function
|
|
53083
|
+
function cxe(e, t, n) {
|
|
53120
53084
|
let r = e.style[t];
|
|
53121
53085
|
return e.style[t] = n, () => {
|
|
53122
53086
|
e.style[t] = r;
|
|
@@ -53133,22 +53097,22 @@ function F7(e) {
|
|
|
53133
53097
|
let t = j7(e);
|
|
53134
53098
|
if (t !== document.documentElement && t !== document.body && t !== e) {
|
|
53135
53099
|
let n = t.getBoundingClientRect().top, r = e.getBoundingClientRect().top;
|
|
53136
|
-
e.getBoundingClientRect().bottom > t.getBoundingClientRect().bottom +
|
|
53100
|
+
e.getBoundingClientRect().bottom > t.getBoundingClientRect().bottom + rxe && (t.scrollTop += r - n);
|
|
53137
53101
|
}
|
|
53138
53102
|
e = t.parentElement;
|
|
53139
53103
|
}
|
|
53140
53104
|
}
|
|
53141
53105
|
function I7(e) {
|
|
53142
|
-
return e instanceof HTMLInputElement && !
|
|
53106
|
+
return e instanceof HTMLInputElement && !axe.has(e.type) || e instanceof HTMLTextAreaElement || e instanceof HTMLElement && e.isContentEditable;
|
|
53143
53107
|
}
|
|
53144
|
-
function
|
|
53108
|
+
function lxe(e, t) {
|
|
53145
53109
|
typeof e == "function" ? e(t) : e != null && (e.current = t);
|
|
53146
53110
|
}
|
|
53147
|
-
function
|
|
53148
|
-
return (t) => e.forEach((e) =>
|
|
53111
|
+
function uxe(...e) {
|
|
53112
|
+
return (t) => e.forEach((e) => lxe(e, t));
|
|
53149
53113
|
}
|
|
53150
53114
|
function L7(...e) {
|
|
53151
|
-
return z.useCallback(
|
|
53115
|
+
return z.useCallback(uxe(...e), e);
|
|
53152
53116
|
}
|
|
53153
53117
|
var R7 = /* @__PURE__ */ new WeakMap();
|
|
53154
53118
|
function z7(e, t, n = !1) {
|
|
@@ -53162,7 +53126,7 @@ function z7(e, t, n = !1) {
|
|
|
53162
53126
|
r[t] = e.style[t], e.style[t] = n;
|
|
53163
53127
|
}), !n && R7.set(e, r);
|
|
53164
53128
|
}
|
|
53165
|
-
function
|
|
53129
|
+
function dxe(e, t) {
|
|
53166
53130
|
if (!e || !(e instanceof HTMLElement)) return;
|
|
53167
53131
|
let n = R7.get(e);
|
|
53168
53132
|
n && (e.style[t] = n[t]);
|
|
@@ -53181,7 +53145,7 @@ function V7(e, t) {
|
|
|
53181
53145
|
let n = window.getComputedStyle(e), r = n.transform || n.webkitTransform || n.mozTransform, i = r.match(/^matrix3d\((.+)\)$/);
|
|
53182
53146
|
return i ? parseFloat(i[1].split(", ")[B7(t) ? 13 : 12]) : (i = r.match(/^matrix\((.+)\)$/), i ? parseFloat(i[1].split(", ")[B7(t) ? 5 : 4]) : null);
|
|
53183
53147
|
}
|
|
53184
|
-
function
|
|
53148
|
+
function fxe(e) {
|
|
53185
53149
|
return 8 * (Math.log(e + 1) - 2);
|
|
53186
53150
|
}
|
|
53187
53151
|
function H7(e, t) {
|
|
@@ -53199,14 +53163,14 @@ var U7 = {
|
|
|
53199
53163
|
0,
|
|
53200
53164
|
1
|
|
53201
53165
|
]
|
|
53202
|
-
}, W7 = .4,
|
|
53166
|
+
}, W7 = .4, pxe = .25, mxe = 100, G7 = 8, K7 = 16, q7 = 26, J7 = "vaul-dragging";
|
|
53203
53167
|
function Y7(e) {
|
|
53204
53168
|
let t = B.useRef(e);
|
|
53205
53169
|
return B.useEffect(() => {
|
|
53206
53170
|
t.current = e;
|
|
53207
53171
|
}), B.useMemo(() => (...e) => t.current == null ? void 0 : t.current.call(t, ...e), []);
|
|
53208
53172
|
}
|
|
53209
|
-
function
|
|
53173
|
+
function hxe({ defaultProp: e, onChange: t }) {
|
|
53210
53174
|
let n = B.useState(e), [r] = n, i = B.useRef(r), a = Y7(t);
|
|
53211
53175
|
return B.useEffect(() => {
|
|
53212
53176
|
i.current !== r && (a(r), i.current = r);
|
|
@@ -53217,7 +53181,7 @@ function gxe({ defaultProp: e, onChange: t }) {
|
|
|
53217
53181
|
]), n;
|
|
53218
53182
|
}
|
|
53219
53183
|
function X7({ prop: e, defaultProp: t, onChange: n = () => {} }) {
|
|
53220
|
-
let [r, i] =
|
|
53184
|
+
let [r, i] = hxe({
|
|
53221
53185
|
defaultProp: t,
|
|
53222
53186
|
onChange: n
|
|
53223
53187
|
}), a = e !== void 0, o = a ? e : r, s = Y7(n);
|
|
@@ -53233,7 +53197,7 @@ function X7({ prop: e, defaultProp: t, onChange: n = () => {} }) {
|
|
|
53233
53197
|
s
|
|
53234
53198
|
])];
|
|
53235
53199
|
}
|
|
53236
|
-
function
|
|
53200
|
+
function gxe({ activeSnapPointProp: e, setActiveSnapPointProp: t, snapPoints: n, drawerRef: r, overlayRef: i, fadeFromIndex: a, onSnapPointChange: o, direction: s = "bottom", container: c, snapToSequentialPoint: l }) {
|
|
53237
53201
|
let [u, d] = X7({
|
|
53238
53202
|
prop: e,
|
|
53239
53203
|
defaultProp: n?.[0],
|
|
@@ -53357,7 +53321,7 @@ function _xe({ activeSnapPointProp: e, setActiveSnapPointProp: t, snapPoints: n,
|
|
|
53357
53321
|
snapPointsOffset: _
|
|
53358
53322
|
};
|
|
53359
53323
|
}
|
|
53360
|
-
function
|
|
53324
|
+
function _xe() {
|
|
53361
53325
|
let { direction: e, isOpen: t, shouldScaleBackground: n, setBackgroundColorOnScale: r, noBodyStyles: i } = w7(), a = B.useRef(null), o = ke(() => document.body.style.backgroundColor, []);
|
|
53362
53326
|
function s() {
|
|
53363
53327
|
return (window.innerWidth - q7) / window.innerWidth;
|
|
@@ -53391,7 +53355,7 @@ function vxe() {
|
|
|
53391
53355
|
]);
|
|
53392
53356
|
}
|
|
53393
53357
|
var Z7 = null;
|
|
53394
|
-
function
|
|
53358
|
+
function vxe({ isOpen: e, modal: t, nested: n, hasBeenOpened: r, preventScrollRestoration: i, noBodyStyles: a }) {
|
|
53395
53359
|
let [o, s] = B.useState(() => typeof window < "u" ? window.location.href : ""), c = B.useRef(0), l = B.useCallback(() => {
|
|
53396
53360
|
if (T7() && Z7 === null && e && !a) {
|
|
53397
53361
|
Z7 = {
|
|
@@ -53449,7 +53413,7 @@ function yxe({ isOpen: e, modal: t, nested: n, hasBeenOpened: r, preventScrollRe
|
|
|
53449
53413
|
u
|
|
53450
53414
|
]), { restorePositionSetting: u };
|
|
53451
53415
|
}
|
|
53452
|
-
function Q7({ open: e, onOpenChange: t, children: n, onDrag: r, onRelease: i, snapPoints: a, shouldScaleBackground: o = !1, setBackgroundColorOnScale: s = !0, closeThreshold: c =
|
|
53416
|
+
function Q7({ open: e, onOpenChange: t, children: n, onDrag: r, onRelease: i, snapPoints: a, shouldScaleBackground: o = !1, setBackgroundColorOnScale: s = !0, closeThreshold: c = pxe, scrollLockTimeout: l = mxe, dismissible: u = !0, handleOnly: d = !1, fadeFromIndex: f = a && a.length - 1, activeSnapPoint: p, setActiveSnapPoint: m, fixed: h, modal: g = !0, onClose: _, nested: v, noBodyStyles: y = !1, direction: b = "bottom", defaultOpen: x = !1, disablePreventScroll: S = !0, snapToSequentialPoint: C = !1, preventScrollRestoration: w = !1, repositionInputs: T = !0, onAnimationEnd: E, container: D, autoFocus: O = !1 }) {
|
|
53453
53417
|
let [k = !1, A] = X7({
|
|
53454
53418
|
defaultProp: x,
|
|
53455
53419
|
prop: e,
|
|
@@ -53460,7 +53424,7 @@ function Q7({ open: e, onOpenChange: t, children: n, onDrag: r, onRelease: i, sn
|
|
|
53460
53424
|
document.body.style.pointerEvents = "auto";
|
|
53461
53425
|
}), e || (document.body.style.pointerEvents = "auto");
|
|
53462
53426
|
}
|
|
53463
|
-
}), [j, M] = B.useState(!1), [N, P] = B.useState(!1), [F, I] = B.useState(!1), ee = B.useRef(null), L = B.useRef(null), te = B.useRef(null), ne = B.useRef(null), re = B.useRef(null), ie = B.useRef(!1), ae = B.useRef(null), oe = B.useRef(0), R = B.useRef(!1), se = B.useRef(!x), ce = B.useRef(0), le = B.useRef(null), ue = B.useRef(le.current?.getBoundingClientRect().height || 0), z = B.useRef(le.current?.getBoundingClientRect().width || 0), de = B.useRef(0), { activeSnapPoint: fe, activeSnapPointIndex: pe, setActiveSnapPoint: me, onRelease: he, snapPointsOffset: ge, onDrag: _e, shouldFade: ve, getPercentageDragged: ye } =
|
|
53427
|
+
}), [j, M] = B.useState(!1), [N, P] = B.useState(!1), [F, I] = B.useState(!1), ee = B.useRef(null), L = B.useRef(null), te = B.useRef(null), ne = B.useRef(null), re = B.useRef(null), ie = B.useRef(!1), ae = B.useRef(null), oe = B.useRef(0), R = B.useRef(!1), se = B.useRef(!x), ce = B.useRef(0), le = B.useRef(null), ue = B.useRef(le.current?.getBoundingClientRect().height || 0), z = B.useRef(le.current?.getBoundingClientRect().width || 0), de = B.useRef(0), { activeSnapPoint: fe, activeSnapPointIndex: pe, setActiveSnapPoint: me, onRelease: he, snapPointsOffset: ge, onDrag: _e, shouldFade: ve, getPercentageDragged: ye } = gxe({
|
|
53464
53428
|
snapPoints: a,
|
|
53465
53429
|
activeSnapPointProp: p,
|
|
53466
53430
|
setActiveSnapPointProp: m,
|
|
@@ -53474,8 +53438,8 @@ function Q7({ open: e, onOpenChange: t, children: n, onDrag: r, onRelease: i, sn
|
|
|
53474
53438
|
container: D,
|
|
53475
53439
|
snapToSequentialPoint: C
|
|
53476
53440
|
});
|
|
53477
|
-
|
|
53478
|
-
let { restorePositionSetting: be } =
|
|
53441
|
+
oxe({ isDisabled: !k || N || !g || F || !j || !T || !S });
|
|
53442
|
+
let { restorePositionSetting: be } = vxe({
|
|
53479
53443
|
isOpen: k,
|
|
53480
53444
|
modal: g,
|
|
53481
53445
|
nested: v ?? !1,
|
|
@@ -53513,7 +53477,7 @@ function Q7({ open: e, onOpenChange: t, children: n, onDrag: r, onRelease: i, sn
|
|
|
53513
53477
|
let c = Math.abs(n), l = document.querySelector("[data-vaul-drawer-wrapper]"), d = c / (b === "bottom" || b === "top" ? ue.current : z.current), p = ye(c, i);
|
|
53514
53478
|
if (p !== null && (d = p), s && d >= 1 || !ie.current && !Se(e.target, i)) return;
|
|
53515
53479
|
if (le.current.classList.add(J7), ie.current = !0, z7(le.current, { transition: "none" }), z7(ee.current, { transition: "none" }), a && _e({ draggedDistance: n }), i && !a) {
|
|
53516
|
-
let e =
|
|
53480
|
+
let e = fxe(n), r = Math.min(e * -1, 0) * t;
|
|
53517
53481
|
z7(le.current, { transform: B7(b) ? `translate3d(0, ${r}px, 0)` : `translate3d(${r}px, 0, 0)` });
|
|
53518
53482
|
return;
|
|
53519
53483
|
}
|
|
@@ -53555,7 +53519,7 @@ function Q7({ open: e, onOpenChange: t, children: n, onDrag: r, onRelease: i, sn
|
|
|
53555
53519
|
if (ce.current = n, r > e || R.current) {
|
|
53556
53520
|
let t = le.current.getBoundingClientRect().height, r = t;
|
|
53557
53521
|
t > e && (r = e - (i ? o : q7)), h ? le.current.style.height = `${t - Math.max(n, 0)}px` : le.current.style.height = `${Math.max(r, e - o)}px`;
|
|
53558
|
-
} else
|
|
53522
|
+
} else $be() || (le.current.style.height = `${de.current}px`);
|
|
53559
53523
|
a && a.length > 0 && !R.current ? le.current.style.bottom = "0px" : le.current.style.bottom = `${Math.max(n, 0)}px`;
|
|
53560
53524
|
}
|
|
53561
53525
|
}
|
|
@@ -53630,7 +53594,7 @@ function Q7({ open: e, onOpenChange: t, children: n, onDrag: r, onRelease: i, sn
|
|
|
53630
53594
|
i?.(e, !0), Te();
|
|
53631
53595
|
}
|
|
53632
53596
|
B.useEffect(() => (k && (z7(document.documentElement, { scrollBehavior: "auto" }), L.current = /* @__PURE__ */ new Date()), () => {
|
|
53633
|
-
|
|
53597
|
+
dxe(document.documentElement, "scrollBehavior");
|
|
53634
53598
|
}), [k]);
|
|
53635
53599
|
function Oe(e) {
|
|
53636
53600
|
let t = e ? (window.innerWidth - K7) / window.innerWidth : 1, n = e ? -16 : 0;
|
|
@@ -53719,7 +53683,7 @@ var $7 = /*#__PURE__*/ B.forwardRef(function({ ...e }, t) {
|
|
|
53719
53683
|
$7.displayName = "Drawer.Overlay";
|
|
53720
53684
|
var e9 = /*#__PURE__*/ B.forwardRef(function({ onPointerDownOutside: e, style: t, onOpenAutoFocus: n, ...r }, i) {
|
|
53721
53685
|
let { drawerRef: a, onPress: o, onRelease: s, onDrag: c, keyboardIsOpen: l, snapPointsOffset: u, activeSnapPointIndex: d, modal: f, isOpen: p, direction: m, snapPoints: h, container: g, handleOnly: _, shouldAnimate: v, autoFocus: y } = w7(), [b, x] = B.useState(!1), S = L7(i, a), C = B.useRef(null), w = B.useRef(null), T = B.useRef(!1), E = h && h.length > 0;
|
|
53722
|
-
|
|
53686
|
+
_xe();
|
|
53723
53687
|
let D = (e, t, n = 0) => {
|
|
53724
53688
|
if (T.current) return !0;
|
|
53725
53689
|
let r = Math.abs(e.y), i = Math.abs(e.x), a = i > r, o = ["bottom", "right"].includes(t) ? 1 : -1;
|
|
@@ -53791,7 +53755,7 @@ var e9 = /*#__PURE__*/ B.forwardRef(function({ onPointerDownOutside: e, style: t
|
|
|
53791
53755
|
});
|
|
53792
53756
|
});
|
|
53793
53757
|
e9.displayName = "Drawer.Content";
|
|
53794
|
-
var
|
|
53758
|
+
var yxe = 250, bxe = 120, t9 = /*#__PURE__*/ B.forwardRef(function({ preventCycle: e = !1, children: t, ...n }, r) {
|
|
53795
53759
|
let { closeDrawer: i, isDragging: a, snapPoints: o, activeSnapPoint: s, setActiveSnapPoint: c, dismissible: l, handleOnly: u, isOpen: d, onPress: f, onDrag: p } = w7(), m = B.useRef(null), h = B.useRef(!1);
|
|
53796
53760
|
function g() {
|
|
53797
53761
|
if (h.current) {
|
|
@@ -53800,7 +53764,7 @@ var bxe = 250, xxe = 120, t9 = /*#__PURE__*/ B.forwardRef(function({ preventCycl
|
|
|
53800
53764
|
}
|
|
53801
53765
|
window.setTimeout(() => {
|
|
53802
53766
|
_();
|
|
53803
|
-
},
|
|
53767
|
+
}, bxe);
|
|
53804
53768
|
}
|
|
53805
53769
|
function _() {
|
|
53806
53770
|
if (a || e || h.current) {
|
|
@@ -53823,7 +53787,7 @@ var bxe = 250, xxe = 120, t9 = /*#__PURE__*/ B.forwardRef(function({ preventCycl
|
|
|
53823
53787
|
function v() {
|
|
53824
53788
|
m.current = window.setTimeout(() => {
|
|
53825
53789
|
h.current = !0;
|
|
53826
|
-
},
|
|
53790
|
+
}, yxe);
|
|
53827
53791
|
}
|
|
53828
53792
|
function y() {
|
|
53829
53793
|
m.current && window.clearTimeout(m.current), h.current = !1;
|
|
@@ -53848,7 +53812,7 @@ var bxe = 250, xxe = 120, t9 = /*#__PURE__*/ B.forwardRef(function({ preventCycl
|
|
|
53848
53812
|
}, t));
|
|
53849
53813
|
});
|
|
53850
53814
|
t9.displayName = "Drawer.Handle";
|
|
53851
|
-
function
|
|
53815
|
+
function xxe({ onDrag: e, onOpenChange: t, open: n, ...r }) {
|
|
53852
53816
|
let { onNestedDrag: i, onNestedOpenChange: a, onNestedRelease: o } = w7();
|
|
53853
53817
|
if (!i) throw Error("Drawer.NestedRoot must be placed in another drawer");
|
|
53854
53818
|
return /*#__PURE__*/ B.createElement(Q7, {
|
|
@@ -53867,7 +53831,7 @@ function Sxe({ onDrag: e, onOpenChange: t, open: n, ...r }) {
|
|
|
53867
53831
|
...r
|
|
53868
53832
|
});
|
|
53869
53833
|
}
|
|
53870
|
-
function
|
|
53834
|
+
function Sxe(e) {
|
|
53871
53835
|
let t = w7(), { container: n = t.container, ...r } = e;
|
|
53872
53836
|
return /*#__PURE__*/ B.createElement(cJ, {
|
|
53873
53837
|
container: n,
|
|
@@ -53876,16 +53840,16 @@ function Cxe(e) {
|
|
|
53876
53840
|
}
|
|
53877
53841
|
var n9 = {
|
|
53878
53842
|
Root: Q7,
|
|
53879
|
-
NestedRoot:
|
|
53843
|
+
NestedRoot: xxe,
|
|
53880
53844
|
Content: e9,
|
|
53881
53845
|
Overlay: $7,
|
|
53882
53846
|
Trigger: sJ,
|
|
53883
|
-
Portal:
|
|
53847
|
+
Portal: Sxe,
|
|
53884
53848
|
Handle: t9,
|
|
53885
53849
|
Close: pJ,
|
|
53886
53850
|
Title: dJ,
|
|
53887
53851
|
Description: fJ
|
|
53888
|
-
},
|
|
53852
|
+
}, Cxe = ({ overlayClassName: e, contentClassName: r, open: i, trigger: a, withCloseHandle: o, children: s, onOpenChange: c }) => /* @__PURE__ */ n(n9.Root, {
|
|
53889
53853
|
open: i,
|
|
53890
53854
|
onOpenChange: c,
|
|
53891
53855
|
children: [a && /* @__PURE__ */ t(n9.Trigger, {
|
|
@@ -53910,7 +53874,7 @@ var n9 = {
|
|
|
53910
53874
|
className: "group-disabled:opacity-30",
|
|
53911
53875
|
children: r
|
|
53912
53876
|
})
|
|
53913
|
-
}),
|
|
53877
|
+
}), wxe = ({ values: e, selectedIndex: n, onSelect: r }) => {
|
|
53914
53878
|
let i = H(null);
|
|
53915
53879
|
return Ce(() => {
|
|
53916
53880
|
i.current && n !== null && i.current.children[n]?.scrollIntoView({ block: "center" });
|
|
@@ -53926,7 +53890,7 @@ var n9 = {
|
|
|
53926
53890
|
})
|
|
53927
53891
|
}, e))
|
|
53928
53892
|
});
|
|
53929
|
-
},
|
|
53893
|
+
}, Txe = 120, Exe = 200, Dxe = ({ value: e, onChange: r, min: a = -Infinity, max: o = Infinity, step: s = 1, disabled: c, options: l, className: u, size: d = "default", ...f }) => {
|
|
53930
53894
|
let p = d === "compact", m = H(!1), h = H(null), g = H(null), [_, v] = je(e.toString()), y = H(_), [b, x] = je(null), S = H(null), C = V((e) => {
|
|
53931
53895
|
if (e === "") return !1;
|
|
53932
53896
|
let t = Number(e);
|
|
@@ -53948,11 +53912,11 @@ var n9 = {
|
|
|
53948
53912
|
]), E = V((e) => {
|
|
53949
53913
|
m.current || (m.current = !0, T(e), w(), S.current = window.setInterval(() => {
|
|
53950
53914
|
T(e);
|
|
53951
|
-
},
|
|
53915
|
+
}, Txe));
|
|
53952
53916
|
}, [w, T]), D = V((e) => {
|
|
53953
53917
|
w(), S.current = window.setTimeout(() => {
|
|
53954
53918
|
E(e);
|
|
53955
|
-
},
|
|
53919
|
+
}, Exe);
|
|
53956
53920
|
}, [w, E]), O = V((e) => {
|
|
53957
53921
|
r(e), v(e.toString());
|
|
53958
53922
|
}, [r]), k = V((e) => {
|
|
@@ -54104,7 +54068,7 @@ var n9 = {
|
|
|
54104
54068
|
handlesRef: g,
|
|
54105
54069
|
triggerElement: /* @__PURE__ */ t("div", { className: "pointer-events-none absolute inset-0 h-full" }),
|
|
54106
54070
|
preventAutoFocus: !0,
|
|
54107
|
-
children: /* @__PURE__ */ t(
|
|
54071
|
+
children: /* @__PURE__ */ t(wxe, {
|
|
54108
54072
|
values: l,
|
|
54109
54073
|
selectedIndex: b,
|
|
54110
54074
|
onSelect: (e) => {
|
|
@@ -54113,7 +54077,7 @@ var n9 = {
|
|
|
54113
54077
|
})
|
|
54114
54078
|
})]
|
|
54115
54079
|
});
|
|
54116
|
-
},
|
|
54080
|
+
}, Oxe = ({ title: r, ctaIcon: i, labels: a, className: o, disabled: s, handlesRef: c, onFileSelected: l, onDrag: u }) => {
|
|
54117
54081
|
let { inputRef: d, isDragging: f, handleChange: p, handleDrop: m, handleDragEnter: h, handleDragLeave: g, handleDragOver: _, openFilePicker: v, resetFilePicker: y } = t3({
|
|
54118
54082
|
withCopyPaste: !0,
|
|
54119
54083
|
onFileChange: V((e) => {
|
|
@@ -54165,7 +54129,7 @@ var n9 = {
|
|
|
54165
54129
|
onDragLeave: g,
|
|
54166
54130
|
onDrop: m
|
|
54167
54131
|
})] });
|
|
54168
|
-
},
|
|
54132
|
+
}, kxe = ({ className: e, items: r, ...i }) => /* @__PURE__ */ t("section", {
|
|
54169
54133
|
className: W("py-e400 px-4 sm:px-6 md:px-8 xl:px-10", e),
|
|
54170
54134
|
...i,
|
|
54171
54135
|
children: /* @__PURE__ */ t("div", {
|
|
@@ -54184,7 +54148,7 @@ var n9 = {
|
|
|
54184
54148
|
})]
|
|
54185
54149
|
})] }, `achievement-${e.metric}`))
|
|
54186
54150
|
})
|
|
54187
|
-
}),
|
|
54151
|
+
}), Axe = ({ titleBlock: e, image: r, ctaLink: i, ctaLabel: a, ...o }) => /* @__PURE__ */ n("div", {
|
|
54188
54152
|
className: U("px-4 py-8", "sm:px-6 sm:py-16", "md:px-8", "lg:py-20", "xl:px-10", "flex flex-col gap-12"),
|
|
54189
54153
|
...o,
|
|
54190
54154
|
children: [
|
|
@@ -54234,7 +54198,7 @@ var n9 = {
|
|
|
54234
54198
|
o9.displayName = "ArticleContent";
|
|
54235
54199
|
//#endregion
|
|
54236
54200
|
//#region src/components/website/ArticleHeroBlock/ArticleTitle.tsx
|
|
54237
|
-
var
|
|
54201
|
+
var jxe = ({ title: e, date: r, className: i }) => /* @__PURE__ */ n("div", {
|
|
54238
54202
|
"data-selector": "blogpost-header",
|
|
54239
54203
|
className: U("flex flex-col gap-6", i),
|
|
54240
54204
|
children: [/* @__PURE__ */ t("h1", {
|
|
@@ -54247,7 +54211,7 @@ var Mxe = ({ title: e, date: r, className: i }) => /* @__PURE__ */ n("div", {
|
|
|
54247
54211
|
dateTime: r,
|
|
54248
54212
|
children: r
|
|
54249
54213
|
})]
|
|
54250
|
-
}),
|
|
54214
|
+
}), Mxe = ({ heroImage: e, title: r, date: i, author: a, content: o, socialButtons: s, sideContent: c, ...l }) => /* @__PURE__ */ t("div", {
|
|
54251
54215
|
"data-selector": "blogpost",
|
|
54252
54216
|
className: "pt-e600 pb-e500 sm:pt-e500 lg:pt-e400 px-4 sm:px-6 md:px-8",
|
|
54253
54217
|
...l,
|
|
@@ -54259,7 +54223,7 @@ var Mxe = ({ title: e, date: r, className: i }) => /* @__PURE__ */ n("div", {
|
|
|
54259
54223
|
/* @__PURE__ */ n("div", {
|
|
54260
54224
|
className: "lg:order-2 lg:max-w-[720px]",
|
|
54261
54225
|
children: [
|
|
54262
|
-
/* @__PURE__ */ t(
|
|
54226
|
+
/* @__PURE__ */ t(jxe, {
|
|
54263
54227
|
className: "order-1",
|
|
54264
54228
|
title: r,
|
|
54265
54229
|
date: i
|
|
@@ -54288,7 +54252,7 @@ var Mxe = ({ title: e, date: r, className: i }) => /* @__PURE__ */ n("div", {
|
|
|
54288
54252
|
children: e
|
|
54289
54253
|
})]
|
|
54290
54254
|
})
|
|
54291
|
-
}),
|
|
54255
|
+
}), Nxe = ({ className: i, isLoading: a, children: o }) => /* @__PURE__ */ t(e, { children: /* @__PURE__ */ n("div", {
|
|
54292
54256
|
className: U(i, "rounded-area-500 bg-white-alpha-3 relative h-full w-full overflow-hidden", "pointer-events-none", "after:rounded-area-500 after:pointer-events-none after:absolute after:start-0 after:top-0 after:h-full after:w-full after:border after:border-solid after:content-['']", "after:transition-all after:duration-300", "after:border-neutral-alpha-300"),
|
|
54293
54257
|
children: [/* @__PURE__ */ t("div", {
|
|
54294
54258
|
className: U("flex h-full w-full justify-center", "transition-opacity duration-300", a && "opacity-25"),
|
|
@@ -54300,7 +54264,7 @@ var Mxe = ({ title: e, date: r, className: i }) => /* @__PURE__ */ n("div", {
|
|
|
54300
54264
|
className: "pointer-events-none absolute top-1/2 left-1/2 -translate-x-1/2 -translate-y-1/2",
|
|
54301
54265
|
children: /* @__PURE__ */ t(r, { className: "icon-size-800 text-white" })
|
|
54302
54266
|
}) })]
|
|
54303
|
-
}) }),
|
|
54267
|
+
}) }), Pxe = (e) => /* @__PURE__ */ n("svg", {
|
|
54304
54268
|
width: "40",
|
|
54305
54269
|
height: "32",
|
|
54306
54270
|
viewBox: "0 0 40 32",
|
|
@@ -54308,7 +54272,7 @@ var Mxe = ({ title: e, date: r, className: i }) => /* @__PURE__ */ n("div", {
|
|
|
54308
54272
|
xmlns: "http://www.w3.org/2000/svg",
|
|
54309
54273
|
...e,
|
|
54310
54274
|
children: [/* @__PURE__ */ t("path", { d: "M25.5435 7.57567C23.1435 7.57567 22.1292 8.72092 20.4578 8.72092C18.7441 8.72092 17.4369 7.58401 15.3572 7.58401C13.3215 7.58401 11.1506 8.82687 9.77204 10.9441C7.83632 13.9299 8.16489 19.5531 11.3 24.3436C12.4215 26.0585 13.9191 27.9817 15.8834 28.0025H15.9191C17.6262 28.0025 18.1334 26.8847 20.4828 26.8716H20.5185C22.8328 26.8716 23.2971 27.996 24.9971 27.996H25.0328C26.9971 27.9752 28.5751 25.8442 29.6965 24.1359C30.5037 22.9073 30.8037 22.2906 31.4227 20.9007C26.8876 19.1793 26.159 12.7501 30.6441 10.2852C29.2751 8.57091 27.3513 7.57805 25.5376 7.57805L25.5435 7.57567Z" }), /* @__PURE__ */ t("path", { d: "M25.0149 1.33398C23.5864 1.43101 21.9197 2.34054 20.9435 3.52804C20.0578 4.60423 19.3292 6.20067 19.6149 7.74889H19.7292C21.2506 7.74889 22.8078 6.83281 23.7173 5.659C24.5935 4.54173 25.2578 2.95839 25.0149 1.33398Z" })]
|
|
54311
|
-
}),
|
|
54275
|
+
}), Fxe = (e) => /* @__PURE__ */ t("svg", {
|
|
54312
54276
|
width: "40",
|
|
54313
54277
|
height: "32",
|
|
54314
54278
|
viewBox: "0 0 40 32",
|
|
@@ -54396,7 +54360,7 @@ var Mxe = ({ title: e, date: r, className: i }) => /* @__PURE__ */ n("div", {
|
|
|
54396
54360
|
className: "component-semi-strong-500 text-neutral-800 sm:hidden",
|
|
54397
54361
|
children: r
|
|
54398
54362
|
})]
|
|
54399
|
-
}),
|
|
54363
|
+
}), Ixe = ({ className: e, editorsChoice: r, downloadsCount: i, ...a }) => /* @__PURE__ */ t("section", {
|
|
54400
54364
|
className: U("py-e400", e),
|
|
54401
54365
|
...a,
|
|
54402
54366
|
children: /* @__PURE__ */ t("div", {
|
|
@@ -54408,14 +54372,14 @@ var Mxe = ({ title: e, date: r, className: i }) => /* @__PURE__ */ n("div", {
|
|
|
54408
54372
|
className: "order-1",
|
|
54409
54373
|
children: /* @__PURE__ */ t(c9, {
|
|
54410
54374
|
subline: r,
|
|
54411
|
-
children: /* @__PURE__ */ t(
|
|
54375
|
+
children: /* @__PURE__ */ t(Pxe, { className: "h-8 w-10 fill-neutral-800" })
|
|
54412
54376
|
})
|
|
54413
54377
|
}),
|
|
54414
54378
|
/* @__PURE__ */ t("div", {
|
|
54415
54379
|
className: "order-2 lg:order-3",
|
|
54416
54380
|
children: /* @__PURE__ */ t(c9, {
|
|
54417
54381
|
subline: r,
|
|
54418
|
-
children: /* @__PURE__ */ t(
|
|
54382
|
+
children: /* @__PURE__ */ t(Fxe, { className: "h-8 w-10 fill-neutral-800" })
|
|
54419
54383
|
})
|
|
54420
54384
|
}),
|
|
54421
54385
|
/* @__PURE__ */ t("div", {
|
|
@@ -54428,7 +54392,7 @@ var Mxe = ({ title: e, date: r, className: i }) => /* @__PURE__ */ n("div", {
|
|
|
54428
54392
|
]
|
|
54429
54393
|
})
|
|
54430
54394
|
})
|
|
54431
|
-
}),
|
|
54395
|
+
}), Lxe = ({ title: e, tabs: r, forceShowAll: i = !1, className: a, ...o }) => {
|
|
54432
54396
|
let [s, c] = je(0), l = Math.min(s, Math.max(0, r.length - 1));
|
|
54433
54397
|
return /* @__PURE__ */ t("section", {
|
|
54434
54398
|
className: W("pt-e700 pb-e1000 w-full px-4 sm:px-6 md:px-8 xl:px-10", a),
|
|
@@ -54481,7 +54445,7 @@ var Mxe = ({ title: e, date: r, className: i }) => /* @__PURE__ */ n("div", {
|
|
|
54481
54445
|
]
|
|
54482
54446
|
})
|
|
54483
54447
|
});
|
|
54484
|
-
},
|
|
54448
|
+
}, Rxe = ({ preview: e, title: r, subtitle: i, cta: a, className: o, ...s }) => /* @__PURE__ */ n("div", {
|
|
54485
54449
|
...s,
|
|
54486
54450
|
className: W("relative overflow-hidden", "flex flex-col lg:pb-[148px]", "bg-sand-50 rounded-500", o),
|
|
54487
54451
|
children: [/* @__PURE__ */ t("div", {
|
|
@@ -54503,7 +54467,7 @@ var Mxe = ({ title: e, date: r, className: i }) => /* @__PURE__ */ n("div", {
|
|
|
54503
54467
|
children: a
|
|
54504
54468
|
})]
|
|
54505
54469
|
})]
|
|
54506
|
-
}),
|
|
54470
|
+
}), zxe = ({ title: e, children: r, cta: i, className: a }) => {
|
|
54507
54471
|
let o = ke(() => i ? he(i, {
|
|
54508
54472
|
as: "a",
|
|
54509
54473
|
variant: "primary",
|
|
@@ -54527,7 +54491,7 @@ var Mxe = ({ title: e, date: r, className: i }) => /* @__PURE__ */ n("div", {
|
|
|
54527
54491
|
})
|
|
54528
54492
|
]
|
|
54529
54493
|
});
|
|
54530
|
-
},
|
|
54494
|
+
}, Bxe = ({ variant: e = "default", author: r, children: i, className: a, ...o }) => /* @__PURE__ */ n("blockquote", {
|
|
54531
54495
|
className: U("not-prose flex flex-col gap-4", "content-to-edge-spacious-ps-700 my-10 sm:my-12 sm:ps-[30px]", "border-misc-border border-s-2", a),
|
|
54532
54496
|
...o,
|
|
54533
54497
|
children: [/* @__PURE__ */ t("div", {
|
|
@@ -54560,7 +54524,7 @@ var Mxe = ({ title: e, date: r, className: i }) => /* @__PURE__ */ n("div", {
|
|
|
54560
54524
|
l9.displayName = "BlogSubtleActionBlock";
|
|
54561
54525
|
//#endregion
|
|
54562
54526
|
//#region src/components/website/BrandHeroBlock/BrandHeroBlock.tsx
|
|
54563
|
-
var
|
|
54527
|
+
var Vxe = ({ rank: e, category: r }) => /* @__PURE__ */ n("div", {
|
|
54564
54528
|
className: "bg-surface-default rounded-500 flex min-w-40 shrink-0 flex-col overflow-hidden",
|
|
54565
54529
|
children: [/* @__PURE__ */ t("div", {
|
|
54566
54530
|
className: "border-misc-border flex h-10 items-center border-b px-2",
|
|
@@ -54578,7 +54542,7 @@ var Hxe = ({ rank: e, category: r }) => /* @__PURE__ */ n("div", {
|
|
|
54578
54542
|
children: r
|
|
54579
54543
|
})]
|
|
54580
54544
|
})]
|
|
54581
|
-
}),
|
|
54545
|
+
}), Hxe = ({ rank: e, category: r, brandName: i, brandDescription: a, backgroundImage: o, productImages: s, className: c, ...l }) => /* @__PURE__ */ n("section", {
|
|
54582
54546
|
...l,
|
|
54583
54547
|
className: W("py-e700 relative flex overflow-hidden px-4 sm:px-6 md:px-8 lg:min-h-168 lg:items-center xl:px-10", c),
|
|
54584
54548
|
children: [/* @__PURE__ */ n("div", {
|
|
@@ -54591,7 +54555,7 @@ var Hxe = ({ rank: e, category: r }) => /* @__PURE__ */ n("div", {
|
|
|
54591
54555
|
className: "flex flex-col gap-8 lg:flex-1 lg:justify-center",
|
|
54592
54556
|
children: /* @__PURE__ */ n("div", {
|
|
54593
54557
|
className: "flex flex-col gap-8 sm:flex-row-reverse sm:items-start sm:max-lg:gap-16 lg:flex-col",
|
|
54594
|
-
children: [/* @__PURE__ */ t(
|
|
54558
|
+
children: [/* @__PURE__ */ t(Vxe, {
|
|
54595
54559
|
rank: e,
|
|
54596
54560
|
category: r
|
|
54597
54561
|
}), /* @__PURE__ */ n("div", {
|
|
@@ -54631,7 +54595,7 @@ var Hxe = ({ rank: e, category: r }) => /* @__PURE__ */ n("div", {
|
|
|
54631
54595
|
u9.displayName = "BlockBackground";
|
|
54632
54596
|
//#endregion
|
|
54633
54597
|
//#region src/components/website/BrandInsightBlock/BrandInsightBlock.tsx
|
|
54634
|
-
var
|
|
54598
|
+
var Uxe = ({ title: e, summary: r, snapshot: i, className: a, ...o }) => /* @__PURE__ */ n(u9, {
|
|
54635
54599
|
variant: "neutral-50",
|
|
54636
54600
|
className: W("pt-e700 pb-e1000 gap-i600 flex flex-col items-center px-4 sm:px-6 md:px-8 xl:px-10", a),
|
|
54637
54601
|
...o,
|
|
@@ -54686,7 +54650,7 @@ var Wxe = ({ title: e, summary: r, snapshot: i, className: a, ...o }) => /* @__P
|
|
|
54686
54650
|
})
|
|
54687
54651
|
})]
|
|
54688
54652
|
});
|
|
54689
|
-
},
|
|
54653
|
+
}, Wxe = ({ title: e, items: r, max: i = 5, totalLabel: a, pointsLabel: o, className: s, ...c }) => {
|
|
54690
54654
|
let l = r.reduce((e, t) => e + t.value, 0);
|
|
54691
54655
|
return /* @__PURE__ */ n("section", {
|
|
54692
54656
|
...c,
|
|
@@ -54719,7 +54683,7 @@ var Wxe = ({ title: e, summary: r, snapshot: i, className: a, ...o }) => /* @__P
|
|
|
54719
54683
|
})]
|
|
54720
54684
|
})]
|
|
54721
54685
|
});
|
|
54722
|
-
},
|
|
54686
|
+
}, Gxe = ({ titleBlock: e, children: r, columns: i = 3, showMoreLabel: a, ...o }) => {
|
|
54723
54687
|
let [s, c] = je(!1), l = H(null), u = de.toArray(r), d = i * 2, f = !s && !!a && u.length > d, p = () => {
|
|
54724
54688
|
let e = l.current;
|
|
54725
54689
|
Fe(() => c(!0)), e?.querySelector("a, button")?.focus();
|
|
@@ -54745,14 +54709,14 @@ var Wxe = ({ title: e, summary: r, snapshot: i, className: a, ...o }) => /* @__P
|
|
|
54745
54709
|
}) })]
|
|
54746
54710
|
})]
|
|
54747
54711
|
});
|
|
54748
|
-
},
|
|
54712
|
+
}, Kxe = ({ items: e, titleBlock: r, ...i }) => /* @__PURE__ */ n("div", {
|
|
54749
54713
|
className: U("gap-i600 flex flex-col", "px-4 sm:px-6 md:px-8 xl:px-10", "pt-e600 pb-e500 sm:pt-e500"),
|
|
54750
54714
|
...i,
|
|
54751
54715
|
children: [r, /* @__PURE__ */ t("div", {
|
|
54752
54716
|
className: U("mx-auto w-full xl:max-w-[1200px]", "grid grid-cols-1 gap-x-6 gap-y-6", "sm:grid-cols-2 sm:gap-y-8", "lg:grid-cols-3 lg:gap-y-12", "xl:gap-y-16"),
|
|
54753
54717
|
children: e
|
|
54754
54718
|
})]
|
|
54755
|
-
}),
|
|
54719
|
+
}), qxe = ({ title: e, children: r, ...i }) => /* @__PURE__ */ n("div", {
|
|
54756
54720
|
...i,
|
|
54757
54721
|
className: U("flex flex-col", "px-4 sm:px-6 md:px-8 xl:px-10", "py-e500", "gap-i500"),
|
|
54758
54722
|
children: [e, !!r && /* @__PURE__ */ t("div", {
|
|
@@ -54762,7 +54726,7 @@ var Wxe = ({ title: e, summary: r, snapshot: i, className: a, ...o }) => /* @__P
|
|
|
54762
54726
|
children: r
|
|
54763
54727
|
})
|
|
54764
54728
|
})]
|
|
54765
|
-
}),
|
|
54729
|
+
}), Jxe = ({ title: e, description: r, ...i }) => /* @__PURE__ */ n("div", {
|
|
54766
54730
|
...i,
|
|
54767
54731
|
className: "flex flex-row px-4 py-4 sm:gap-2 sm:px-6 sm:py-6",
|
|
54768
54732
|
children: [/* @__PURE__ */ t("span", {
|
|
@@ -54778,7 +54742,7 @@ var Wxe = ({ title: e, summary: r, snapshot: i, className: a, ...o }) => /* @__P
|
|
|
54778
54742
|
children: r
|
|
54779
54743
|
})]
|
|
54780
54744
|
})]
|
|
54781
|
-
}),
|
|
54745
|
+
}), Yxe = ({ titleBlock: e, children: r, className: i, ...a }) => /* @__PURE__ */ t("section", {
|
|
54782
54746
|
className: W("pt-e700 pb-e1000 w-full px-4 sm:px-6 md:px-8 xl:px-10", i),
|
|
54783
54747
|
...a,
|
|
54784
54748
|
children: /* @__PURE__ */ n("div", {
|
|
@@ -54800,7 +54764,7 @@ var Wxe = ({ title: e, summary: r, snapshot: i, className: a, ...o }) => /* @__P
|
|
|
54800
54764
|
className: "sr-only",
|
|
54801
54765
|
children: r
|
|
54802
54766
|
})]
|
|
54803
|
-
}),
|
|
54767
|
+
}), Xxe = ({ title: e, otherAppName: r, photoroomIcon: i, otherAppIcon: a, features: o, includedLabel: s, excludedLabel: c, className: l, ...u }) => /* @__PURE__ */ t("div", {
|
|
54804
54768
|
...u,
|
|
54805
54769
|
className: W("rounded-500 bg-background-subdued w-full p-4 sm:p-6", l),
|
|
54806
54770
|
children: /* @__PURE__ */ n("div", {
|
|
@@ -54870,7 +54834,7 @@ var Wxe = ({ title: e, summary: r, snapshot: i, className: a, ...o }) => /* @__P
|
|
|
54870
54834
|
className: "rounded-400 border-content-primary pointer-events-none absolute end-0 top-0 bottom-0 w-12 border-2"
|
|
54871
54835
|
})]
|
|
54872
54836
|
})
|
|
54873
|
-
}),
|
|
54837
|
+
}), Zxe = ({ title: e, cards: r, cta: i, ...a }) => /* @__PURE__ */ t("div", {
|
|
54874
54838
|
className: U("pt-e700 pb-e1000", "px-4 sm:px-6 md:px-8 xl:px-10"),
|
|
54875
54839
|
...a,
|
|
54876
54840
|
children: /* @__PURE__ */ t("div", {
|
|
@@ -54889,7 +54853,7 @@ var Wxe = ({ title: e, summary: r, snapshot: i, className: a, ...o }) => /* @__P
|
|
|
54889
54853
|
})]
|
|
54890
54854
|
})
|
|
54891
54855
|
})
|
|
54892
|
-
}),
|
|
54856
|
+
}), Qxe = ({ title: e, background: r = "surface-default", children: i, className: a, ...o }) => {
|
|
54893
54857
|
let s = de.toArray(i);
|
|
54894
54858
|
return /* @__PURE__ */ n(u9, {
|
|
54895
54859
|
variant: r,
|
|
@@ -54904,7 +54868,7 @@ var Wxe = ({ title: e, summary: r, snapshot: i, className: a, ...o }) => /* @__P
|
|
|
54904
54868
|
children: s
|
|
54905
54869
|
})]
|
|
54906
54870
|
});
|
|
54907
|
-
},
|
|
54871
|
+
}, $xe = ({ data: e, title: r, subtitle: i, className: a, ...o }) => /* @__PURE__ */ n("div", {
|
|
54908
54872
|
className: W("border-t border-neutral-400 pt-4 sm:pt-6", a),
|
|
54909
54873
|
...o,
|
|
54910
54874
|
children: [
|
|
@@ -54921,7 +54885,7 @@ var Wxe = ({ title: e, summary: r, snapshot: i, className: a, ...o }) => /* @__P
|
|
|
54921
54885
|
children: i
|
|
54922
54886
|
})
|
|
54923
54887
|
]
|
|
54924
|
-
}),
|
|
54888
|
+
}), eSe = ({ index: e, title: r, description: i, className: a, ...o }) => /* @__PURE__ */ n("div", {
|
|
54925
54889
|
className: W("flex flex-col gap-3 sm:gap-4", "rounded-500 border-misc-border border px-4 pt-4 pb-5 sm:px-6 sm:pt-6 sm:pb-7", a),
|
|
54926
54890
|
...o,
|
|
54927
54891
|
children: [/* @__PURE__ */ t("p", {
|
|
@@ -54937,7 +54901,7 @@ var Wxe = ({ title: e, summary: r, snapshot: i, className: a, ...o }) => /* @__P
|
|
|
54937
54901
|
children: i
|
|
54938
54902
|
})]
|
|
54939
54903
|
})]
|
|
54940
|
-
}),
|
|
54904
|
+
}), tSe = ({ titleBlock: e, footnote: r, children: i, className: a, ...o }) => /* @__PURE__ */ t("section", {
|
|
54941
54905
|
className: W("pt-e700 pb-e1000 w-full px-4 sm:px-6 md:px-8 xl:px-10", a),
|
|
54942
54906
|
...o,
|
|
54943
54907
|
children: /* @__PURE__ */ n("div", {
|
|
@@ -54960,7 +54924,7 @@ var Wxe = ({ title: e, summary: r, snapshot: i, className: a, ...o }) => /* @__P
|
|
|
54960
54924
|
className: U("mx-auto max-w-[1200px]", n),
|
|
54961
54925
|
children: e
|
|
54962
54926
|
})
|
|
54963
|
-
}),
|
|
54927
|
+
}), nSe = ({ title: e, children: r, cta: i, type: a = "default", previousLabel: c, nextLabel: l, ...u }) => {
|
|
54964
54928
|
let { showStartButton: d, showEndButton: f, scrollToStart: p, scrollToEnd: m, scrollerRef: h } = vz();
|
|
54965
54929
|
return /* @__PURE__ */ n("div", {
|
|
54966
54930
|
className: "pt-e700 pb-e1000 gap-i600 flex flex-col",
|
|
@@ -55006,7 +54970,7 @@ var Wxe = ({ title: e, summary: r, snapshot: i, className: a, ...o }) => /* @__P
|
|
|
55006
54970
|
})]
|
|
55007
54971
|
})]
|
|
55008
54972
|
});
|
|
55009
|
-
},
|
|
54973
|
+
}, rSe = ({ className: e, title: r, children: i, cta: a, ...o }) => /* @__PURE__ */ t("section", {
|
|
55010
54974
|
className: W("pt-e700 pb-e1000 bg-black px-4 sm:px-6 md:px-8 xl:px-10", e),
|
|
55011
54975
|
...o,
|
|
55012
54976
|
children: /* @__PURE__ */ n("div", {
|
|
@@ -55026,7 +54990,7 @@ var Wxe = ({ title: e, summary: r, snapshot: i, className: a, ...o }) => /* @__P
|
|
|
55026
54990
|
})
|
|
55027
54991
|
]
|
|
55028
54992
|
})
|
|
55029
|
-
}),
|
|
54993
|
+
}), iSe = ({ className: e, header: r, title: i, description: a, ...o }) => /* @__PURE__ */ n("div", {
|
|
55030
54994
|
className: W("bg-white-alpha-2 rounded-500 flex flex-col justify-between gap-6 overflow-clip p-6 sm:min-h-[360px]", e),
|
|
55031
54995
|
...o,
|
|
55032
54996
|
children: [/* @__PURE__ */ t("div", {
|
|
@@ -55042,7 +55006,7 @@ var Wxe = ({ title: e, summary: r, snapshot: i, className: a, ...o }) => /* @__P
|
|
|
55042
55006
|
children: a
|
|
55043
55007
|
})]
|
|
55044
55008
|
})]
|
|
55045
|
-
}),
|
|
55009
|
+
}), aSe = ({ title: e, content: r }) => /* @__PURE__ */ t("div", {
|
|
55046
55010
|
className: "pt-e700 pb-e1000 px-4 sm:px-6 md:px-8 xl:px-10",
|
|
55047
55011
|
children: /* @__PURE__ */ n("div", {
|
|
55048
55012
|
className: "gap-i600 mx-auto flex max-w-[1200px] flex-col",
|
|
@@ -55051,7 +55015,7 @@ var Wxe = ({ title: e, summary: r, snapshot: i, className: a, ...o }) => /* @__P
|
|
|
55051
55015
|
children: r
|
|
55052
55016
|
})]
|
|
55053
55017
|
})
|
|
55054
|
-
}),
|
|
55018
|
+
}), oSe = ({ titleBlock: e, background: r = "lightgrey", className: i, children: a, ...o }) => /* @__PURE__ */ t("section", {
|
|
55055
55019
|
...o,
|
|
55056
55020
|
className: W("py-e700 px-4 sm:px-6 md:px-8 xl:px-10", {
|
|
55057
55021
|
"bg-surface-default": r === "white",
|
|
@@ -55067,7 +55031,7 @@ var Wxe = ({ title: e, summary: r, snapshot: i, className: a, ...o }) => /* @__P
|
|
|
55067
55031
|
children: a
|
|
55068
55032
|
})]
|
|
55069
55033
|
})
|
|
55070
|
-
}),
|
|
55034
|
+
}), sSe = ({ question: e, answer: r, forceShowAll: a = !1, ...o }) => {
|
|
55071
55035
|
let s = Te(), [c, l] = je(!1), u = a || c;
|
|
55072
55036
|
return /* @__PURE__ */ n("article", {
|
|
55073
55037
|
...o,
|
|
@@ -55105,14 +55069,14 @@ var Wxe = ({ title: e, summary: r, snapshot: i, className: a, ...o }) => /* @__P
|
|
|
55105
55069
|
})
|
|
55106
55070
|
})]
|
|
55107
55071
|
});
|
|
55108
|
-
},
|
|
55072
|
+
}, cSe = ({ title: e, features: t, ...r }) => /* @__PURE__ */ n("div", {
|
|
55109
55073
|
className: "pt-e700 pb-e1000 gap-i600 flex flex-col",
|
|
55110
55074
|
...r,
|
|
55111
55075
|
children: [e, t]
|
|
55112
|
-
}),
|
|
55076
|
+
}), lSe = G("mx-auto grid grid-cols-1 gap-4", { variants: { invertOrder: {
|
|
55113
55077
|
true: "lg:-order-1 lg:pe-16",
|
|
55114
55078
|
false: "lg:ps-16"
|
|
55115
|
-
} } }),
|
|
55079
|
+
} } }), uSe = ({ title: e, description: r, listItems: i, visualElement: a, invertOrder: o = !1, cta: s, withVisualBorder: c, ...l }) => {
|
|
55116
55080
|
let u = Array.isArray(i) ? i.length > 0 : !!i;
|
|
55117
55081
|
return /* @__PURE__ */ t("div", {
|
|
55118
55082
|
className: "px-4 sm:px-16 md:px-32 lg:px-8 xl:px-10",
|
|
@@ -55123,7 +55087,7 @@ var Wxe = ({ title: e, summary: r, snapshot: i, className: a, ...o }) => /* @__P
|
|
|
55123
55087
|
className: U("relative", c && "after:rounded-500 after:border-misc-border after:pointer-events-none after:absolute after:start-0 after:top-0 after:h-full after:w-full after:border after:content-['']"),
|
|
55124
55088
|
children: a
|
|
55125
55089
|
}), /* @__PURE__ */ n("div", {
|
|
55126
|
-
className:
|
|
55090
|
+
className: lSe({ invertOrder: o }),
|
|
55127
55091
|
children: [/* @__PURE__ */ t("div", {
|
|
55128
55092
|
className: "flex-1",
|
|
55129
55093
|
children: /* @__PURE__ */ t("h2", {
|
|
@@ -55144,7 +55108,7 @@ var Wxe = ({ title: e, summary: r, snapshot: i, className: a, ...o }) => /* @__P
|
|
|
55144
55108
|
})]
|
|
55145
55109
|
})
|
|
55146
55110
|
});
|
|
55147
|
-
},
|
|
55111
|
+
}, dSe = ({ children: e, aspectRatio: n = "4/3", backgroundColor: r, ...i }) => /* @__PURE__ */ t("div", {
|
|
55148
55112
|
className: U("rounded-500 relative overflow-hidden", "translate-x-0 translate-y-0"),
|
|
55149
55113
|
style: {
|
|
55150
55114
|
backgroundColor: r,
|
|
@@ -55152,7 +55116,7 @@ var Wxe = ({ title: e, summary: r, snapshot: i, className: a, ...o }) => /* @__P
|
|
|
55152
55116
|
},
|
|
55153
55117
|
...i,
|
|
55154
55118
|
children: e
|
|
55155
|
-
}),
|
|
55119
|
+
}), fSe = ({ selectedIndex: e, features: r, forceShowAll: i = !1 }) => /* @__PURE__ */ n("div", {
|
|
55156
55120
|
className: "flex flex-col gap-6",
|
|
55157
55121
|
children: [r && /* @__PURE__ */ t("ul", {
|
|
55158
55122
|
className: U("relative", "grid gap-2 text-center", "grid-cols-2 sm:grid-cols-4"),
|
|
@@ -55164,7 +55128,7 @@ var Wxe = ({ title: e, summary: r, snapshot: i, className: a, ...o }) => /* @__P
|
|
|
55164
55128
|
children: /* @__PURE__ */ t("div", { children: n.content })
|
|
55165
55129
|
}, r))
|
|
55166
55130
|
})]
|
|
55167
|
-
}),
|
|
55131
|
+
}), pSe = ({ children: e }) => {
|
|
55168
55132
|
let n = H(null);
|
|
55169
55133
|
return oV(n), /* @__PURE__ */ t("video", {
|
|
55170
55134
|
autoPlay: !0,
|
|
@@ -55176,7 +55140,7 @@ var Wxe = ({ title: e, summary: r, snapshot: i, className: a, ...o }) => /* @__P
|
|
|
55176
55140
|
className: "h-full w-full object-cover",
|
|
55177
55141
|
children: e
|
|
55178
55142
|
});
|
|
55179
|
-
},
|
|
55143
|
+
}, mSe = ({ title: e, children: r, icon: i }) => /* @__PURE__ */ n("div", {
|
|
55180
55144
|
className: "flex items-start gap-3",
|
|
55181
55145
|
children: [/* @__PURE__ */ t("div", {
|
|
55182
55146
|
className: "relative flex h-6 w-6 shrink-0",
|
|
@@ -55191,14 +55155,14 @@ var Wxe = ({ title: e, summary: r, snapshot: i, className: a, ...o }) => /* @__P
|
|
|
55191
55155
|
children: r
|
|
55192
55156
|
})]
|
|
55193
55157
|
})]
|
|
55194
|
-
}),
|
|
55158
|
+
}), hSe = ({ title: e, features: r, className: i, ...a }) => /* @__PURE__ */ n("div", {
|
|
55195
55159
|
...a,
|
|
55196
55160
|
className: U("pt-e700 pb-e1000 gap-i600 flex flex-col items-center px-4", i),
|
|
55197
55161
|
children: [e, /* @__PURE__ */ t("div", {
|
|
55198
55162
|
className: "mx-auto grid max-w-[1200px] gap-6 sm:gap-x-8 md:grid-cols-2 lg:grid-cols-3 lg:gap-x-12 lg:gap-y-10",
|
|
55199
55163
|
children: r
|
|
55200
55164
|
})]
|
|
55201
|
-
}),
|
|
55165
|
+
}), gSe = ({ title: e, icon: r, children: i, className: a, ...o }) => /* @__PURE__ */ n("div", {
|
|
55202
55166
|
...o,
|
|
55203
55167
|
className: U("border-misc-border-default flex flex-col gap-2 border-t pt-3 sm:pt-6", a),
|
|
55204
55168
|
children: [/* @__PURE__ */ n("div", {
|
|
@@ -55214,7 +55178,7 @@ var Wxe = ({ title: e, summary: r, snapshot: i, className: a, ...o }) => /* @__P
|
|
|
55214
55178
|
className: "body-light-500 text-content-secondary",
|
|
55215
55179
|
children: i
|
|
55216
55180
|
})]
|
|
55217
|
-
}),
|
|
55181
|
+
}), _Se = ({ title: e, children: r, className: i, ...a }) => {
|
|
55218
55182
|
let o = de.toArray(r);
|
|
55219
55183
|
return /* @__PURE__ */ t("section", {
|
|
55220
55184
|
className: W("pt-e700 pb-e1000 w-full px-4 sm:px-6 md:px-8 xl:px-10", i),
|
|
@@ -55233,7 +55197,7 @@ var Wxe = ({ title: e, summary: r, snapshot: i, className: a, ...o }) => /* @__P
|
|
|
55233
55197
|
})]
|
|
55234
55198
|
})
|
|
55235
55199
|
});
|
|
55236
|
-
},
|
|
55200
|
+
}, vSe = ({ preview: e, title: r, subtitle: i, cta: a, aspectRatio: o = "3:2", className: s, ...c }) => /* @__PURE__ */ t("div", {
|
|
55237
55201
|
...c,
|
|
55238
55202
|
className: W("@container w-full", s),
|
|
55239
55203
|
children: /* @__PURE__ */ n("div", {
|
|
@@ -55255,7 +55219,7 @@ var Wxe = ({ title: e, summary: r, snapshot: i, className: a, ...o }) => /* @__P
|
|
|
55255
55219
|
}), !!a && /* @__PURE__ */ t("div", { children: a })]
|
|
55256
55220
|
})]
|
|
55257
55221
|
})
|
|
55258
|
-
}),
|
|
55222
|
+
}), ySe = ({ overline: e, title: r, description: i, visual: a, ctas: o, background: s = "sand-50", ...c }) => /* @__PURE__ */ t(u9, {
|
|
55259
55223
|
variant: s,
|
|
55260
55224
|
className: "py-e700 px-4 sm:px-6 md:px-8 xl:px-10",
|
|
55261
55225
|
...c,
|
|
@@ -55288,7 +55252,7 @@ var Wxe = ({ title: e, summary: r, snapshot: i, className: a, ...o }) => /* @__P
|
|
|
55288
55252
|
children: a
|
|
55289
55253
|
})]
|
|
55290
55254
|
})
|
|
55291
|
-
}),
|
|
55255
|
+
}), bSe = function({ as: e = "a", label: r, isNew: i, ref: a, ...o }) {
|
|
55292
55256
|
return /* @__PURE__ */ n(e, {
|
|
55293
55257
|
ref: a,
|
|
55294
55258
|
className: U("inline-flex items-center gap-1.5", "rounded-200 cursor-pointer outline-hidden", "focus-visible:ring-misc-focus-indicator focus-visible:misc-border-size-focus-ring", "component-light-500 text-content-subdued-primary", "hover:text-content-primary focus-visible:text-content-primary active:text-content-primary", "interaction-transition transition-colors"),
|
|
@@ -55306,7 +55270,7 @@ var Wxe = ({ title: e, summary: r, snapshot: i, className: a, ...o }) => /* @__P
|
|
|
55306
55270
|
};
|
|
55307
55271
|
//#endregion
|
|
55308
55272
|
//#region src/components/website/FooterBlockV2/FooterV2LinksSectionBlock.tsx
|
|
55309
|
-
function
|
|
55273
|
+
function xSe({ title: e, className: r, children: i, ...a }) {
|
|
55310
55274
|
let o = Te(), [s, c] = je(!1), l = V((e) => {
|
|
55311
55275
|
let t = e.currentTarget;
|
|
55312
55276
|
c(t.checked), t.closest("[data-groupid='footer-links-sections']")?.querySelectorAll("input[name=\"footer-links-section-toggle\"]").forEach((e) => {
|
|
@@ -55400,7 +55364,7 @@ function m9({ appsSectionTitle: e, appButtons: r, linksSections: i, socialLinks:
|
|
|
55400
55364
|
})
|
|
55401
55365
|
});
|
|
55402
55366
|
}
|
|
55403
|
-
m9.LinksSection =
|
|
55367
|
+
m9.LinksSection = xSe, m9.Link = bSe;
|
|
55404
55368
|
//#endregion
|
|
55405
55369
|
//#region src/components/website/Glossary/GlossaryLetterLink.tsx
|
|
55406
55370
|
var h9 = ({ letter: e, href: n, ref: r, ...i }) => /* @__PURE__ */ t("a", {
|
|
@@ -55414,11 +55378,11 @@ h9.displayName = "GlossaryLetterLink";
|
|
|
55414
55378
|
//#endregion
|
|
55415
55379
|
//#region src/components/website/Glossary/GlossaryAlphabet.tsx
|
|
55416
55380
|
var g9 = { en: "ABCDEFGHIJKLMNOPQRSTUVWXYZ".split("") };
|
|
55417
|
-
function
|
|
55381
|
+
function SSe(e) {
|
|
55418
55382
|
return g9[e] ?? g9.en;
|
|
55419
55383
|
}
|
|
55420
55384
|
var _9 = ({ locale: e = "en", getLetterProps: n, className: r, ref: i, ...a }) => {
|
|
55421
|
-
let o =
|
|
55385
|
+
let o = SSe(e);
|
|
55422
55386
|
return /* @__PURE__ */ t("nav", {
|
|
55423
55387
|
ref: i,
|
|
55424
55388
|
...a,
|
|
@@ -55437,7 +55401,7 @@ var _9 = ({ locale: e = "en", getLetterProps: n, className: r, ref: i, ...a }) =
|
|
|
55437
55401
|
_9.displayName = "GlossaryAlphabet";
|
|
55438
55402
|
//#endregion
|
|
55439
55403
|
//#region src/components/website/Glossary/GlossarySection.tsx
|
|
55440
|
-
var
|
|
55404
|
+
var CSe = ({ id: e, letter: r, headingLevel: i = "h2", children: a, className: o }) => /* @__PURE__ */ n("section", {
|
|
55441
55405
|
id: e,
|
|
55442
55406
|
className: W("gap-i400 flex flex-col items-center", o),
|
|
55443
55407
|
children: [/* @__PURE__ */ t(i, {
|
|
@@ -55493,7 +55457,7 @@ var y9 = {}, b9 = ({ variant: e, className: r, cssBackgroundColor: i, children:
|
|
|
55493
55457
|
onClick: p
|
|
55494
55458
|
})]
|
|
55495
55459
|
});
|
|
55496
|
-
},
|
|
55460
|
+
}, wSe = ({ title: e, backgroundColor: r, bgImageDesktop: i, bgImageMobile: a, className: o, ...s }) => /* @__PURE__ */ n("div", {
|
|
55497
55461
|
...s,
|
|
55498
55462
|
className: U("relative overflow-hidden", "flex flex-col items-center justify-center", "sm:min-h-[482px] lg:min-h-[640px]", "3xl:rounded-area-500 mx-auto max-w-[1800px]", "px-4 sm:px-6 md:px-8 xl:px-10", "pt-e600 pb-e500 sm:pt-e500", o),
|
|
55499
55463
|
style: { backgroundColor: r },
|
|
@@ -55511,7 +55475,7 @@ var y9 = {}, b9 = ({ variant: e, className: r, cssBackgroundColor: i, children:
|
|
|
55511
55475
|
children: e
|
|
55512
55476
|
})
|
|
55513
55477
|
]
|
|
55514
|
-
}),
|
|
55478
|
+
}), TSe = ({ titleBlock: e, logoWallBlock: r, children: i, className: a, ...o }) => /* @__PURE__ */ t("section", {
|
|
55515
55479
|
className: W("pt-e700 pb-e1000 w-full px-4 sm:px-6 md:px-8 xl:px-10", a),
|
|
55516
55480
|
...o,
|
|
55517
55481
|
children: /* @__PURE__ */ n("div", {
|
|
@@ -55528,7 +55492,7 @@ var y9 = {}, b9 = ({ variant: e, className: r, cssBackgroundColor: i, children:
|
|
|
55528
55492
|
})
|
|
55529
55493
|
]
|
|
55530
55494
|
})
|
|
55531
|
-
}),
|
|
55495
|
+
}), ESe = ({ metricTitle: e, metricDescription: r, className: i, ...a }) => /* @__PURE__ */ n("div", {
|
|
55532
55496
|
className: W("rounded-500 bg-secondary-moon-grape relative flex flex-col items-center overflow-hidden text-center text-white", "gap-4 px-6 py-8 sm:py-10", "lg:min-h-[344px] xl:min-h-[400px]", i),
|
|
55533
55497
|
...a,
|
|
55534
55498
|
children: [
|
|
@@ -55542,11 +55506,11 @@ var y9 = {}, b9 = ({ variant: e, className: r, cssBackgroundColor: i, children:
|
|
|
55542
55506
|
children: r
|
|
55543
55507
|
})
|
|
55544
55508
|
]
|
|
55545
|
-
}),
|
|
55509
|
+
}), DSe = ({ children: e, className: n, ...r }) => /* @__PURE__ */ t("div", {
|
|
55546
55510
|
...r,
|
|
55547
55511
|
className: W("flex flex-col gap-6", n),
|
|
55548
55512
|
children: e
|
|
55549
|
-
}),
|
|
55513
|
+
}), OSe = ({ label: e, children: r, className: i, ...a }) => r ? /* @__PURE__ */ n("div", {
|
|
55550
55514
|
...a,
|
|
55551
55515
|
className: W("flex flex-col gap-1 pt-4", "border-misc-border border-t", i),
|
|
55552
55516
|
children: [/* @__PURE__ */ t("span", {
|
|
@@ -55579,7 +55543,7 @@ var y9 = {}, b9 = ({ variant: e, className: r, cssBackgroundColor: i, children:
|
|
|
55579
55543
|
x9.displayName = "LanguagePickerItem";
|
|
55580
55544
|
//#endregion
|
|
55581
55545
|
//#region src/components/website/InspirationWallBlock/InspirationWallBlock.tsx
|
|
55582
|
-
var
|
|
55546
|
+
var kSe = ({ titleBlock: e, assets: r, className: i, ...a }) => /* @__PURE__ */ n("section", {
|
|
55583
55547
|
className: U("pt-e700 flex flex-col gap-12 sm:gap-16 lg:gap-20", i),
|
|
55584
55548
|
...a,
|
|
55585
55549
|
children: [!!e && /* @__PURE__ */ t("div", {
|
|
@@ -55595,7 +55559,7 @@ var ASe = ({ titleBlock: e, assets: r, className: i, ...a }) => /* @__PURE__ */
|
|
|
55595
55559
|
}, n.toString()))
|
|
55596
55560
|
})
|
|
55597
55561
|
})]
|
|
55598
|
-
}),
|
|
55562
|
+
}), ASe = ({ titleBlock: e, images: r, cta: i, className: a, ...o }) => /* @__PURE__ */ t("section", {
|
|
55599
55563
|
className: W("pt-e700 pb-e1000 w-full px-4 sm:px-6 md:px-8 xl:px-10", a),
|
|
55600
55564
|
...o,
|
|
55601
55565
|
children: /* @__PURE__ */ n("div", {
|
|
@@ -55614,7 +55578,7 @@ var ASe = ({ titleBlock: e, assets: r, className: i, ...a }) => /* @__PURE__ */
|
|
|
55614
55578
|
})]
|
|
55615
55579
|
})]
|
|
55616
55580
|
})
|
|
55617
|
-
}),
|
|
55581
|
+
}), jSe = ({ variant: e = "default", trustLabel: r, logos: i, ...a }) => {
|
|
55618
55582
|
let o = i?.slice(0, 8);
|
|
55619
55583
|
return /* @__PURE__ */ t("div", {
|
|
55620
55584
|
className: U("px-4 sm:px-6 md:px-8 xl:px-10", {
|
|
@@ -55645,7 +55609,7 @@ var ASe = ({ titleBlock: e, assets: r, className: i, ...a }) => /* @__PURE__ */
|
|
|
55645
55609
|
})]
|
|
55646
55610
|
})
|
|
55647
55611
|
});
|
|
55648
|
-
},
|
|
55612
|
+
}, MSe = ({ description: e, cta: r, logos: i, className: a, ...o }) => /* @__PURE__ */ t("section", {
|
|
55649
55613
|
className: W("py-e400 px-4 sm:px-6 md:px-8 xl:px-10", a),
|
|
55650
55614
|
...o,
|
|
55651
55615
|
children: /* @__PURE__ */ n("div", {
|
|
@@ -55670,7 +55634,7 @@ var ASe = ({ titleBlock: e, assets: r, className: i, ...a }) => /* @__PURE__ */
|
|
|
55670
55634
|
}, n))
|
|
55671
55635
|
})]
|
|
55672
55636
|
})
|
|
55673
|
-
}),
|
|
55637
|
+
}), NSe = ({ title: e, assets: r, className: i, ...a }) => /* @__PURE__ */ n("div", {
|
|
55674
55638
|
className: W("gap-i400 flex flex-col", i),
|
|
55675
55639
|
...a,
|
|
55676
55640
|
children: [/* @__PURE__ */ n("div", {
|
|
@@ -55696,7 +55660,7 @@ var ASe = ({ titleBlock: e, assets: r, className: i, ...a }) => /* @__PURE__ */
|
|
|
55696
55660
|
children: e
|
|
55697
55661
|
}, n.toString()))
|
|
55698
55662
|
})]
|
|
55699
|
-
}),
|
|
55663
|
+
}), PSe = ({ title: e, children: r, ...i }) => /* @__PURE__ */ t("section", {
|
|
55700
55664
|
className: "bg-surface-default pt-e700 pb-e1000 px-4 sm:px-6 md:px-8",
|
|
55701
55665
|
...i,
|
|
55702
55666
|
children: /* @__PURE__ */ n("div", {
|
|
@@ -55709,7 +55673,7 @@ var ASe = ({ titleBlock: e, assets: r, className: i, ...a }) => /* @__PURE__ */
|
|
|
55709
55673
|
children: r
|
|
55710
55674
|
})]
|
|
55711
55675
|
})
|
|
55712
|
-
}),
|
|
55676
|
+
}), FSe = function({ icon: e, overline: r, title: i, subtitle: a, cta: o, footnote: s, className: c, ...l }) {
|
|
55713
55677
|
let u = ke(() => o?.map((e) => he(e, {
|
|
55714
55678
|
density: "spacious",
|
|
55715
55679
|
size: "large"
|
|
@@ -55748,7 +55712,7 @@ var ASe = ({ titleBlock: e, assets: r, className: i, ...a }) => /* @__PURE__ */
|
|
|
55748
55712
|
})
|
|
55749
55713
|
]
|
|
55750
55714
|
});
|
|
55751
|
-
},
|
|
55715
|
+
}, ISe = ({ containerId: e, title: r, helpText: i, url: a, visibleOnMobile: o, ...s }) => /* @__PURE__ */ n("div", {
|
|
55752
55716
|
id: e,
|
|
55753
55717
|
className: U("pt-e700 pb-e1000 w-full bg-neutral-50 px-4 xl:px-10", !o && "hidden lg:block"),
|
|
55754
55718
|
...s,
|
|
@@ -55766,7 +55730,7 @@ var ASe = ({ titleBlock: e, assets: r, className: i, ...a }) => /* @__PURE__ */
|
|
|
55766
55730
|
className: "body-500 text-content-secondary mx-auto max-w-[512px] pt-6 text-center lg:max-w-[720px]",
|
|
55767
55731
|
children: i
|
|
55768
55732
|
})]
|
|
55769
|
-
}),
|
|
55733
|
+
}), LSe = ({ title: e, helpText: r, url: i, screenTooSmallTitle: a, screenTooSmallDescription: o, ...s }) => /* @__PURE__ */ n("div", {
|
|
55770
55734
|
className: "bg-surface-alternate pt-e600 pb-e500 sm:py-e500 w-full px-4 xl:px-10",
|
|
55771
55735
|
...s,
|
|
55772
55736
|
children: [/* @__PURE__ */ n("div", {
|
|
@@ -55796,7 +55760,7 @@ var ASe = ({ titleBlock: e, assets: r, className: i, ...a }) => /* @__PURE__ */
|
|
|
55796
55760
|
className: "body-500 text-content-secondary mx-auto max-w-[512px] pt-6 text-center lg:max-w-[720px]",
|
|
55797
55761
|
children: r
|
|
55798
55762
|
})]
|
|
55799
|
-
}),
|
|
55763
|
+
}), RSe = ({ titleBlock: e, background: r = "lightgrey", cta: i, children: a, className: o, ...s }) => /* @__PURE__ */ t("section", {
|
|
55800
55764
|
className: U("pt-e700 pb-e1000 px-4 sm:px-6 md:px-8 xl:px-10", {
|
|
55801
55765
|
"bg-surface-default": r === "white",
|
|
55802
55766
|
"bg-neutral-50": r === "lightgrey"
|
|
@@ -55815,7 +55779,7 @@ var ASe = ({ titleBlock: e, assets: r, className: i, ...a }) => /* @__PURE__ */
|
|
|
55815
55779
|
})]
|
|
55816
55780
|
})]
|
|
55817
55781
|
})
|
|
55818
|
-
}),
|
|
55782
|
+
}), zSe = ({ title: e, cards: r, features: i, ...a }) => /* @__PURE__ */ t("div", {
|
|
55819
55783
|
className: U("px-4 sm:px-6 md:px-8 xl:px-10", "py-e400"),
|
|
55820
55784
|
...a,
|
|
55821
55785
|
children: /* @__PURE__ */ n("div", {
|
|
@@ -55829,13 +55793,13 @@ var ASe = ({ titleBlock: e, assets: r, className: i, ...a }) => /* @__PURE__ */
|
|
|
55829
55793
|
i
|
|
55830
55794
|
]
|
|
55831
55795
|
})
|
|
55832
|
-
}),
|
|
55796
|
+
}), BSe = {
|
|
55833
55797
|
currencyDisplayName: "",
|
|
55834
55798
|
countryDisplayName: ""
|
|
55835
55799
|
}, S9 = ({ lang: e, localizedInfo: t }) => {
|
|
55836
55800
|
let [n, r] = t || [], i = aV();
|
|
55837
55801
|
return ke(() => {
|
|
55838
|
-
if (!i || !n || !r) return
|
|
55802
|
+
if (!i || !n || !r) return BSe;
|
|
55839
55803
|
let t = new Intl.DisplayNames(e, { type: "currency" }), a = new Intl.DisplayNames(e, { type: "region" });
|
|
55840
55804
|
return {
|
|
55841
55805
|
currencyDisplayName: t.of(n.toUpperCase()) ?? "",
|
|
@@ -55859,7 +55823,7 @@ var ASe = ({ titleBlock: e, assets: r, className: i, ...a }) => /* @__PURE__ */
|
|
|
55859
55823
|
C9.displayName = "PricingPullDownButton";
|
|
55860
55824
|
//#endregion
|
|
55861
55825
|
//#region src/components/website/PricingHeroBlock/ApiPricing/ApiPricingCardsContainer/ApiPricingImageCountPicker.tsx
|
|
55862
|
-
var
|
|
55826
|
+
var VSe = [
|
|
55863
55827
|
1e3,
|
|
55864
55828
|
2e3,
|
|
55865
55829
|
5e3,
|
|
@@ -55870,7 +55834,7 @@ var HSe = [
|
|
|
55870
55834
|
2e5,
|
|
55871
55835
|
5e5,
|
|
55872
55836
|
1e6
|
|
55873
|
-
],
|
|
55837
|
+
], HSe = ({ lang: e, monthlyProcessedImages: r, pricingImageCountLabel: i, onMonthlyProcessedImagesChange: a }) => {
|
|
55874
55838
|
let o = aV();
|
|
55875
55839
|
return /* @__PURE__ */ n("div", {
|
|
55876
55840
|
className: U("pb-i300 mx-auto flex max-w-[288px] flex-col items-center justify-center gap-4", "md:max-w-none md:flex-row"),
|
|
@@ -55885,7 +55849,7 @@ var HSe = [
|
|
|
55885
55849
|
children: /* @__PURE__ */ t(eG.RadioGroup, {
|
|
55886
55850
|
value: r.toString(),
|
|
55887
55851
|
onValueChange: (e) => a?.(Number(e)),
|
|
55888
|
-
children:
|
|
55852
|
+
children: VSe.map((n) => /* @__PURE__ */ t(eG.RadioGroup.Item, {
|
|
55889
55853
|
value: n.toString(),
|
|
55890
55854
|
children: o && `${new Intl.NumberFormat(e).format(n)} images`
|
|
55891
55855
|
}, n))
|
|
@@ -55901,7 +55865,7 @@ var HSe = [
|
|
|
55901
55865
|
].filter((e) => e !== "enterprise");
|
|
55902
55866
|
//#endregion
|
|
55903
55867
|
//#region ../shared/utils/pricing/api-pricing/plans.ts
|
|
55904
|
-
var
|
|
55868
|
+
var USe = {
|
|
55905
55869
|
priceId: "price_1OZVcMEl9AVRLibqyVsualpH",
|
|
55906
55870
|
currencyToPrice: {
|
|
55907
55871
|
eur: 2,
|
|
@@ -55909,7 +55873,7 @@ var WSe = {
|
|
|
55909
55873
|
usd: 2
|
|
55910
55874
|
},
|
|
55911
55875
|
interval: "month"
|
|
55912
|
-
},
|
|
55876
|
+
}, WSe = {
|
|
55913
55877
|
priceId: "price_1OZVV0El9AVRLibqlcX986A9",
|
|
55914
55878
|
currencyToPrice: {
|
|
55915
55879
|
eur: 10,
|
|
@@ -55917,7 +55881,7 @@ var WSe = {
|
|
|
55917
55881
|
usd: 10
|
|
55918
55882
|
},
|
|
55919
55883
|
interval: "month"
|
|
55920
|
-
},
|
|
55884
|
+
}, GSe = {
|
|
55921
55885
|
priceId: "price_1OduZCEl9AVRLibq9TbpF1v9",
|
|
55922
55886
|
currencyToPrice: {
|
|
55923
55887
|
eur: 1,
|
|
@@ -55930,9 +55894,9 @@ var WSe = {
|
|
|
55930
55894
|
//#region src/components/website/PricingHeroBlock/ApiPricing/ApiPricingCardsContainer/utils.ts
|
|
55931
55895
|
function w9(e) {
|
|
55932
55896
|
switch (e) {
|
|
55933
|
-
case "basic": return
|
|
55934
|
-
case "plus": return
|
|
55935
|
-
case "partner": return
|
|
55897
|
+
case "basic": return USe;
|
|
55898
|
+
case "plus": return WSe;
|
|
55899
|
+
case "partner": return GSe;
|
|
55936
55900
|
case "enterprise":
|
|
55937
55901
|
case void 0: return;
|
|
55938
55902
|
}
|
|
@@ -55947,7 +55911,7 @@ function T9(e, t) {
|
|
|
55947
55911
|
}
|
|
55948
55912
|
//#endregion
|
|
55949
55913
|
//#region src/components/website/PricingHeroBlock/ApiPricing/ApiPricingCardsContainer/ApiPricingCardsContainer.tsx
|
|
55950
|
-
var
|
|
55914
|
+
var KSe = ({ lang: e, monthlyProcessedImages: r = 1e3, items: i, partnerCard: a, userCountryCode: o, footnote: s, pricingImageCountLabel: c, footnoteCurrencyLabel: l, onMonthlyProcessedImagesChange: u, ...d }) => {
|
|
55951
55915
|
let f = o?.toUpperCase(), { countryDisplayName: p, currencyDisplayName: m } = S9({
|
|
55952
55916
|
lang: e,
|
|
55953
55917
|
localizedInfo: T9("basic", f)
|
|
@@ -55955,7 +55919,7 @@ var qSe = ({ lang: e, monthlyProcessedImages: r = 1e3, items: i, partnerCard: a,
|
|
|
55955
55919
|
return /* @__PURE__ */ n("div", {
|
|
55956
55920
|
className: "pb-i600",
|
|
55957
55921
|
...d,
|
|
55958
|
-
children: [/* @__PURE__ */ t(
|
|
55922
|
+
children: [/* @__PURE__ */ t(HSe, {
|
|
55959
55923
|
lang: e,
|
|
55960
55924
|
pricingImageCountLabel: c,
|
|
55961
55925
|
monthlyProcessedImages: r,
|
|
@@ -55995,7 +55959,7 @@ var qSe = ({ lang: e, monthlyProcessedImages: r = 1e3, items: i, partnerCard: a,
|
|
|
55995
55959
|
a
|
|
55996
55960
|
])
|
|
55997
55961
|
};
|
|
55998
|
-
},
|
|
55962
|
+
}, qSe = 1e5, JSe = ({ lang: r, planType: i, planPriceLabelOverride: a, cta: o, bulletPoints: s, monthlyProcessedImages: c, userCountryCode: l, clientLogos: u, detailsTitle: d, footnote: f, perMonthLabel: p, pricePerImageLabel: m, ...h }) => {
|
|
55999
55963
|
let g = l?.toUpperCase(), { localizedCurrency: _, localizedPrice: v, pricePerImage: y } = k9({
|
|
56000
55964
|
lang: r,
|
|
56001
55965
|
planType: i,
|
|
@@ -56008,7 +55972,7 @@ var qSe = ({ lang: e, monthlyProcessedImages: r = 1e3, items: i, partnerCard: a,
|
|
|
56008
55972
|
case "partner":
|
|
56009
55973
|
case void 0: return;
|
|
56010
55974
|
}
|
|
56011
|
-
}, [i]), x = ke(() => !_ || !v ? null : i === "partner" && c <
|
|
55975
|
+
}, [i]), x = ke(() => !_ || !v ? null : i === "partner" && c < qSe ? "-" : $c({
|
|
56012
55976
|
locale: r,
|
|
56013
55977
|
currency: _,
|
|
56014
55978
|
value: v * c / 100,
|
|
@@ -56085,10 +56049,10 @@ var qSe = ({ lang: e, monthlyProcessedImages: r = 1e3, items: i, partnerCard: a,
|
|
|
56085
56049
|
})]
|
|
56086
56050
|
})]
|
|
56087
56051
|
});
|
|
56088
|
-
},
|
|
56052
|
+
}, YSe = ({ pricePerImage: e }) => /* @__PURE__ */ n("span", {
|
|
56089
56053
|
className: "inline-next-element",
|
|
56090
56054
|
children: [e, " "]
|
|
56091
|
-
}),
|
|
56055
|
+
}), XSe = ({ description: e, clientLogos: r, cta: i, ...a }) => /* @__PURE__ */ n("div", {
|
|
56092
56056
|
className: U("flex flex-col items-center gap-6 p-4 sm:flex-row", "rounded-500 bg-background-subdued"),
|
|
56093
56057
|
...a,
|
|
56094
56058
|
children: [
|
|
@@ -56109,7 +56073,7 @@ var qSe = ({ lang: e, monthlyProcessedImages: r = 1e3, items: i, partnerCard: a,
|
|
|
56109
56073
|
className: U("pointer-events-none absolute hidden xl:flex", j9, i),
|
|
56110
56074
|
"aria-hidden": !0,
|
|
56111
56075
|
children: [/* @__PURE__ */ t("div", { className: A9 }), e.map((e, n) => /* @__PURE__ */ t("div", { className: U("flex-1", e && "bg-background-accent-subdued", e && r) }, n))]
|
|
56112
|
-
}),
|
|
56076
|
+
}), ZSe = ({ title: e, legend: r, sections: i, fairLimitsLabel: a, columnHighlights: o = [], ...s }) => {
|
|
56113
56077
|
let c = o.some(Boolean), l = H(null), u = H(null);
|
|
56114
56078
|
return O4(() => {
|
|
56115
56079
|
let e = l.current, t = u.current;
|
|
@@ -56189,7 +56153,7 @@ var qSe = ({ lang: e, monthlyProcessedImages: r = 1e3, items: i, partnerCard: a,
|
|
|
56189
56153
|
className: "hidden xl:block",
|
|
56190
56154
|
children: r
|
|
56191
56155
|
})] }) : r
|
|
56192
|
-
}) }),
|
|
56156
|
+
}) }), QSe = ({ title: e, subtitle: r, items: i, ...a }) => /* @__PURE__ */ n("div", {
|
|
56193
56157
|
className: "flex flex-col",
|
|
56194
56158
|
...a,
|
|
56195
56159
|
children: [(e || r) && /* @__PURE__ */ n("div", {
|
|
@@ -56205,7 +56169,7 @@ var qSe = ({ lang: e, monthlyProcessedImages: r = 1e3, items: i, partnerCard: a,
|
|
|
56205
56169
|
className: "divide-misc-border divide-y",
|
|
56206
56170
|
children: i
|
|
56207
56171
|
})]
|
|
56208
|
-
}),
|
|
56172
|
+
}), $Se = ({ featureName: e, featureDescription: r, featureBadges: i, ...a }) => /* @__PURE__ */ n("div", {
|
|
56209
56173
|
className: U("flex flex-col items-start gap-3 py-6 lg:gap-4 xl:flex-row xl:items-center", j9),
|
|
56210
56174
|
...a,
|
|
56211
56175
|
children: [/* @__PURE__ */ n("div", {
|
|
@@ -56238,15 +56202,15 @@ var qSe = ({ lang: e, monthlyProcessedImages: r = 1e3, items: i, partnerCard: a,
|
|
|
56238
56202
|
children: s
|
|
56239
56203
|
})] })
|
|
56240
56204
|
})]
|
|
56241
|
-
}) }),
|
|
56205
|
+
}) }), eCe = ({ planName: e, planShortName: n }) => /* @__PURE__ */ t(P9, {
|
|
56242
56206
|
planName: e,
|
|
56243
56207
|
planShortName: n
|
|
56244
|
-
}),
|
|
56208
|
+
}), tCe = ({ isChecked: e, planName: n, includedLabel: r, excludedLabel: i }) => /* @__PURE__ */ t(F9, {
|
|
56245
56209
|
isChecked: e,
|
|
56246
56210
|
planName: n,
|
|
56247
56211
|
includedLabel: r,
|
|
56248
56212
|
excludedLabel: i
|
|
56249
|
-
}),
|
|
56213
|
+
}), nCe = 4, rCe = 1, iCe = (e, t) => {
|
|
56250
56214
|
O4(() => {
|
|
56251
56215
|
let n = e.current;
|
|
56252
56216
|
if (!n || typeof ResizeObserver > "u") return;
|
|
@@ -56257,7 +56221,7 @@ var qSe = ({ lang: e, monthlyProcessedImages: r = 1e3, items: i, partnerCard: a,
|
|
|
56257
56221
|
}), e.forEach((e) => {
|
|
56258
56222
|
let t = [];
|
|
56259
56223
|
e.forEach((e) => {
|
|
56260
|
-
let { top: n } = e.getBoundingClientRect(), r = t.find((e) => Math.abs(e.top - n) <
|
|
56224
|
+
let { top: n } = e.getBoundingClientRect(), r = t.find((e) => Math.abs(e.top - n) < nCe);
|
|
56261
56225
|
r ? r.elements.push(e) : t.push({
|
|
56262
56226
|
top: n,
|
|
56263
56227
|
elements: [e]
|
|
@@ -56275,7 +56239,7 @@ var qSe = ({ lang: e, monthlyProcessedImages: r = 1e3, items: i, partnerCard: a,
|
|
|
56275
56239
|
});
|
|
56276
56240
|
}, o = n.getBoundingClientRect().width, s = new ResizeObserver((e) => {
|
|
56277
56241
|
let t = e[0]?.contentRect.width ?? o;
|
|
56278
|
-
Math.abs(t - o) <
|
|
56242
|
+
Math.abs(t - o) < rCe || (o = t, a());
|
|
56279
56243
|
});
|
|
56280
56244
|
s.observe(n);
|
|
56281
56245
|
let c = new MutationObserver(a);
|
|
@@ -56291,12 +56255,12 @@ var qSe = ({ lang: e, monthlyProcessedImages: r = 1e3, items: i, partnerCard: a,
|
|
|
56291
56255
|
l = !0, i && cancelAnimationFrame(i), s.disconnect(), c.disconnect();
|
|
56292
56256
|
};
|
|
56293
56257
|
}, [e, t]);
|
|
56294
|
-
},
|
|
56258
|
+
}, aCe = ["[data-pricing-card-description]", "[data-pricing-card-offer]"], oCe = ({ lang: e, billingPeriod: r = "yearly", items: i, localizedPriceInfo: a, billingPeriodLabels: o, billingPeriodSubtitles: s, footnoteLabels: c, footnoteCurrencyLabel: l, onBillingPeriodChange: u, ...d }) => {
|
|
56295
56259
|
let { countryDisplayName: f, currencyDisplayName: p } = S9({
|
|
56296
56260
|
lang: e,
|
|
56297
56261
|
localizedInfo: a
|
|
56298
56262
|
}), m = H(null);
|
|
56299
|
-
|
|
56263
|
+
iCe(m, aCe);
|
|
56300
56264
|
let h = (e) => {
|
|
56301
56265
|
(e === "monthly" || e === "yearly") && u?.(e);
|
|
56302
56266
|
};
|
|
@@ -56336,7 +56300,7 @@ var qSe = ({ lang: e, monthlyProcessedImages: r = 1e3, items: i, partnerCard: a,
|
|
|
56336
56300
|
})
|
|
56337
56301
|
]
|
|
56338
56302
|
});
|
|
56339
|
-
},
|
|
56303
|
+
}, sCe = ({ label: e, variant: r = "neutral", children: i, ...a }) => /* @__PURE__ */ n("div", {
|
|
56340
56304
|
className: U("relative flex flex-col", "xl:rounded-[16px] xl:p-1.5 xl:pt-8", r === "accent" ? "xl:bg-background-pro" : "xl:bg-surface-alternate", de.count(i) > 1 && "sm:col-span-2 xl:col-span-2"),
|
|
56341
56305
|
...a,
|
|
56342
56306
|
children: [/* @__PURE__ */ t("div", {
|
|
@@ -56414,7 +56378,7 @@ var qSe = ({ lang: e, monthlyProcessedImages: r = 1e3, items: i, partnerCard: a,
|
|
|
56414
56378
|
children: d
|
|
56415
56379
|
})]
|
|
56416
56380
|
});
|
|
56417
|
-
},
|
|
56381
|
+
}, cCe = ({ planType: r, description: i, cta: a, propLists: o, billingPeriod: s, specialOfferLabel: c, clientLogos: l, planPriceLabelOverride: u, planPriceSubLabel: d, planName: f, showYearlyPriceAsMonthly: p, tagLabel: m, tagVariant: h = "neutral", variant: g = "default", freePlanLabel: _, perMonthLabel: v, perYearLabel: y, billedAnnuallyLabel: b, subscriptionOptions: x, isUnavailable: S, unavailableLabel: C, subscriptionType: w, onSubscriptionTypeChange: T, subscriptionTypeSelectorVariant: E, resolvedPrice: D, ...O }) => {
|
|
56418
56382
|
let [k, A] = je(x?.[0]?.value), j = w ?? k, M = T ?? A, N = s === "yearly" && p, { value: P, originalValue: F } = D ?? {}, I = g === "dark";
|
|
56419
56383
|
return /* @__PURE__ */ n("div", {
|
|
56420
56384
|
className: U("relative flex w-full flex-col gap-6", "px-4 py-7", "rounded-500", I ? "bg-background-default text-content-white-primary" : "bg-background-inverted", "border", I ? "border-white-alpha-3" : "border-misc-border", m && "max-xl:pt-0", !m && "sm:max-xl:pt-0"),
|
|
@@ -56524,10 +56488,10 @@ var qSe = ({ lang: e, monthlyProcessedImages: r = 1e3, items: i, partnerCard: a,
|
|
|
56524
56488
|
})]
|
|
56525
56489
|
})]
|
|
56526
56490
|
});
|
|
56527
|
-
},
|
|
56491
|
+
}, lCe = ({ planName: e, planShortName: n }) => /* @__PURE__ */ t(P9, {
|
|
56528
56492
|
planName: e,
|
|
56529
56493
|
planShortName: n
|
|
56530
|
-
}),
|
|
56494
|
+
}), uCe = ({ planName: e, planType: r, billingPeriod: i, showYearlyPriceAsMonthly: a, planPriceLabelOverride: o, cta: s, perMonthLabel: c, perYearLabel: l, billedAnnuallyLabel: u, resolvedPrice: d }) => {
|
|
56531
56495
|
let f = r === "enterprise", { value: p } = d ?? {}, m = f ? o : p, h = i === "monthly" || a ? c : l, g = i === "yearly" && a ? u : void 0;
|
|
56532
56496
|
return /* @__PURE__ */ t(N9, { children: /* @__PURE__ */ n("div", {
|
|
56533
56497
|
className: "flex h-full flex-col gap-4",
|
|
@@ -56552,17 +56516,17 @@ var qSe = ({ lang: e, monthlyProcessedImages: r = 1e3, items: i, partnerCard: a,
|
|
|
56552
56516
|
})
|
|
56553
56517
|
]
|
|
56554
56518
|
}) });
|
|
56555
|
-
},
|
|
56519
|
+
}, dCe = ({ isChecked: e, description: n, planName: r, includedLabel: i, excludedLabel: a }) => /* @__PURE__ */ t(F9, {
|
|
56556
56520
|
isChecked: e,
|
|
56557
56521
|
description: n,
|
|
56558
56522
|
planName: r,
|
|
56559
56523
|
includedLabel: i,
|
|
56560
56524
|
excludedLabel: a
|
|
56561
|
-
}),
|
|
56525
|
+
}), fCe = ({ children: e, ...n }) => /* @__PURE__ */ t("div", {
|
|
56562
56526
|
className: "rounded-400 bg-background-subdued inline-flex gap-0.5 p-0.5",
|
|
56563
56527
|
...n,
|
|
56564
56528
|
children: e
|
|
56565
|
-
}),
|
|
56529
|
+
}), pCe = G([
|
|
56566
56530
|
"component-semi-strong-600 size-h-750 rounded-400 flex flex-1 items-center gap-3 px-4 whitespace-nowrap",
|
|
56567
56531
|
"focus-visible:ring-misc-focus-indicator focus-visible:misc-border-size-focus-ring outline-hidden",
|
|
56568
56532
|
"transition-all"
|
|
@@ -56572,7 +56536,7 @@ var qSe = ({ lang: e, monthlyProcessedImages: r = 1e3, items: i, partnerCard: a,
|
|
|
56572
56536
|
false: "text-content-secondary"
|
|
56573
56537
|
} },
|
|
56574
56538
|
defaultVariants: { selected: !1 }
|
|
56575
|
-
}),
|
|
56539
|
+
}), mCe = G("rounded-300 size-400 shrink-0", {
|
|
56576
56540
|
variants: { selected: {
|
|
56577
56541
|
true: "text-[#7883FF]",
|
|
56578
56542
|
false: "text-neutral-400"
|
|
@@ -56580,15 +56544,15 @@ var qSe = ({ lang: e, monthlyProcessedImages: r = 1e3, items: i, partnerCard: a,
|
|
|
56580
56544
|
defaultVariants: { selected: !1 }
|
|
56581
56545
|
}), R9 = (({ as: e = "a", selected: r, icon: i, children: a, ref: o, ...s }) => /* @__PURE__ */ n(e, {
|
|
56582
56546
|
ref: o,
|
|
56583
|
-
className:
|
|
56547
|
+
className: pCe({ selected: r }),
|
|
56584
56548
|
...s,
|
|
56585
56549
|
children: [i && /* @__PURE__ */ t("span", {
|
|
56586
|
-
className:
|
|
56550
|
+
className: mCe({ selected: r }),
|
|
56587
56551
|
children: i
|
|
56588
56552
|
}), a]
|
|
56589
56553
|
}));
|
|
56590
56554
|
R9.displayName = "PricingPickerButton";
|
|
56591
|
-
var
|
|
56555
|
+
var hCe = Object.assign(R9, {
|
|
56592
56556
|
ShortLabel: ({ children: e }) => /* @__PURE__ */ t("span", {
|
|
56593
56557
|
className: "block sm:hidden",
|
|
56594
56558
|
children: e
|
|
@@ -56597,7 +56561,7 @@ var gCe = Object.assign(R9, {
|
|
|
56597
56561
|
className: "hidden sm:block",
|
|
56598
56562
|
children: e
|
|
56599
56563
|
})
|
|
56600
|
-
}), z9 = "is-promo-banner-hidden",
|
|
56564
|
+
}), z9 = "is-promo-banner-hidden", gCe = ({ contextLabel: e, closeAriaLabel: r, cssBackgroundColor: i, thumbnail: a, cta: o, linkAs: s = "a", description: c, forceShow: l, ...u }) => /* @__PURE__ */ t(b9, {
|
|
56601
56565
|
variant: "accent",
|
|
56602
56566
|
cssBackgroundColor: i,
|
|
56603
56567
|
isHiddenSessionKey: z9,
|
|
@@ -56634,7 +56598,7 @@ var gCe = Object.assign(R9, {
|
|
|
56634
56598
|
})]
|
|
56635
56599
|
})]
|
|
56636
56600
|
})
|
|
56637
|
-
}),
|
|
56601
|
+
}), _Ce = ({ title: e, visualElement: r, largeVisualAsset: i, background: a = "neutral-50", bgColor: o, ...s }) => /* @__PURE__ */ t(u9, {
|
|
56638
56602
|
as: "div",
|
|
56639
56603
|
variant: o ? "surface-default" : a,
|
|
56640
56604
|
className: U("relative flex overflow-hidden", "pt-e600 pb-e500 sm:py-e500 lg:py-e800", "px-4 sm:px-6 md:px-8 xl:px-10", "xl:min-h-[720px]"),
|
|
@@ -56656,7 +56620,7 @@ var gCe = Object.assign(R9, {
|
|
|
56656
56620
|
})]
|
|
56657
56621
|
})]
|
|
56658
56622
|
})
|
|
56659
|
-
}),
|
|
56623
|
+
}), vCe = ({ content: e, avatar: r, name: i, occupation: a }) => /* @__PURE__ */ t("div", {
|
|
56660
56624
|
className: "py-e700 px-4 sm:px-6 md:px-8 xl:px-10",
|
|
56661
56625
|
children: /* @__PURE__ */ n("div", {
|
|
56662
56626
|
className: "mx-auto flex max-w-[1200px] flex-col justify-center gap-8",
|
|
@@ -56680,7 +56644,7 @@ var gCe = Object.assign(R9, {
|
|
|
56680
56644
|
})]
|
|
56681
56645
|
})]
|
|
56682
56646
|
})
|
|
56683
|
-
}),
|
|
56647
|
+
}), yCe = ({ titleBlock: e, reviews: r, cta: i, className: a, ...o }) => /* @__PURE__ */ t("section", {
|
|
56684
56648
|
className: W("pt-e700 pb-e1000 px-4 sm:px-6 md:px-8 xl:px-10", a),
|
|
56685
56649
|
...o,
|
|
56686
56650
|
children: /* @__PURE__ */ n("div", {
|
|
@@ -56697,7 +56661,7 @@ var gCe = Object.assign(R9, {
|
|
|
56697
56661
|
})
|
|
56698
56662
|
]
|
|
56699
56663
|
})
|
|
56700
|
-
}),
|
|
56664
|
+
}), bCe = ({ title: e, content: r, image: i, name: a, occupation: o, className: s, ...c }) => /* @__PURE__ */ t("li", {
|
|
56701
56665
|
className: W("flex", s),
|
|
56702
56666
|
...c,
|
|
56703
56667
|
children: /* @__PURE__ */ n("article", {
|
|
@@ -56739,7 +56703,7 @@ var gCe = Object.assign(R9, {
|
|
|
56739
56703
|
})
|
|
56740
56704
|
]
|
|
56741
56705
|
})
|
|
56742
|
-
}),
|
|
56706
|
+
}), xCe = function({ placement: e = "default", variant: r = "default", title: i, subtitle: a, overline: o, cta: s, className: c, ...l }) {
|
|
56743
56707
|
let u = e === "side" || !!s, d = r === "on-dark", f = ye(a) ? !!a.props?.children : !!a;
|
|
56744
56708
|
return /* @__PURE__ */ n("div", {
|
|
56745
56709
|
className: W("mx-auto w-full max-w-[1200px]", "flex flex-col gap-4", {
|
|
@@ -56780,7 +56744,7 @@ var gCe = Object.assign(R9, {
|
|
|
56780
56744
|
})
|
|
56781
56745
|
})]
|
|
56782
56746
|
});
|
|
56783
|
-
},
|
|
56747
|
+
}, SCe = function({ title: e, overline: r, subtitle: i, cta: a, footnote: o, className: s }) {
|
|
56784
56748
|
let c = ke(() => a?.map((e) => he(e, {
|
|
56785
56749
|
density: "spacious",
|
|
56786
56750
|
size: "large"
|
|
@@ -56810,7 +56774,7 @@ var gCe = Object.assign(R9, {
|
|
|
56810
56774
|
})
|
|
56811
56775
|
]
|
|
56812
56776
|
});
|
|
56813
|
-
},
|
|
56777
|
+
}, CCe = ({ title: e, overline: r, placement: i = "default" }) => /* @__PURE__ */ n("div", {
|
|
56814
56778
|
className: U("mx-auto flex w-full max-w-[1200px] flex-col gap-1", {
|
|
56815
56779
|
"items-center text-center": i === "default",
|
|
56816
56780
|
"items-start text-start": i === "side"
|
|
@@ -56822,7 +56786,7 @@ var gCe = Object.assign(R9, {
|
|
|
56822
56786
|
className: "heading-thin-700 max-w-[600px] text-balance",
|
|
56823
56787
|
children: e
|
|
56824
56788
|
})]
|
|
56825
|
-
}),
|
|
56789
|
+
}), wCe = ({ titleBlock: e, children: r, cta: i, ...a }) => {
|
|
56826
56790
|
let o = de.count(r);
|
|
56827
56791
|
return /* @__PURE__ */ n("div", {
|
|
56828
56792
|
className: U("px-4 sm:px-6 md:px-8 xl:px-10", "pt-e700 pb-e1000", "gap-i600 flex flex-col items-stretch"),
|
|
@@ -56852,7 +56816,7 @@ var gCe = Object.assign(R9, {
|
|
|
56852
56816
|
B9.Tag = E5.Tag;
|
|
56853
56817
|
//#endregion
|
|
56854
56818
|
//#region src/components/website/TakeActionBlock/TakeActionBlock.tsx
|
|
56855
|
-
var
|
|
56819
|
+
var TCe = ({ titleBlock: e, content: r, ctaLabel: i, ctaLink: a, ...o }) => /* @__PURE__ */ t("div", {
|
|
56856
56820
|
className: "py-e500 px-4 sm:px-6 md:px-8 xl:px-10",
|
|
56857
56821
|
...o,
|
|
56858
56822
|
children: /* @__PURE__ */ n("div", {
|
|
@@ -56878,7 +56842,7 @@ var ECe = ({ titleBlock: e, content: r, ctaLabel: i, ctaLink: a, ...o }) => /* @
|
|
|
56878
56842
|
})
|
|
56879
56843
|
]
|
|
56880
56844
|
})
|
|
56881
|
-
}),
|
|
56845
|
+
}), ECe = ({ title: e, variant: r = "default", content: i, cta: a, bgImageDesktop: o, bgImageMobile: s, className: c, ...l }) => /* @__PURE__ */ n("div", {
|
|
56882
56846
|
...l,
|
|
56883
56847
|
className: U("relative overflow-hidden", "flex flex-col items-center justify-center", "mx-auto max-w-[1512px]", "min-[1513px]:rounded-500", "px-4 sm:px-6 md:px-8 lg:px-10", {
|
|
56884
56848
|
"py-e700": r === "default",
|
|
@@ -56918,7 +56882,7 @@ var ECe = ({ titleBlock: e, content: r, ctaLabel: i, ctaLink: a, ...o }) => /* @
|
|
|
56918
56882
|
]
|
|
56919
56883
|
})
|
|
56920
56884
|
]
|
|
56921
|
-
}),
|
|
56885
|
+
}), DCe = ({ titleBlock: e, testimonials: r, forceShowAll: i = !1, className: a, ...c }) => {
|
|
56922
56886
|
let [l, u] = je(0), d = r && l > r.length - 1 ? 0 : l, f = () => {
|
|
56923
56887
|
u((e) => e === 0 ? (r || []).length - 1 : e - 1);
|
|
56924
56888
|
}, p = () => {
|
|
@@ -56973,7 +56937,7 @@ var ECe = ({ titleBlock: e, content: r, ctaLabel: i, ctaLink: a, ...o }) => /* @
|
|
|
56973
56937
|
})]
|
|
56974
56938
|
})
|
|
56975
56939
|
});
|
|
56976
|
-
},
|
|
56940
|
+
}, OCe = ({ content: e, avatar: r, logo: i, name: a, occupation: o, className: s }) => /* @__PURE__ */ n("div", {
|
|
56977
56941
|
className: W("rounded-500 flex w-full flex-col items-center justify-center overflow-clip bg-neutral-50", "gap-6 p-5", "sm:gap-8 sm:px-12 sm:py-10", s),
|
|
56978
56942
|
children: [/* @__PURE__ */ t("div", {
|
|
56979
56943
|
className: "body-light-600 sm:body-light-800 text-content-primary w-full",
|
|
@@ -57000,7 +56964,7 @@ var ECe = ({ titleBlock: e, content: r, ctaLabel: i, ctaLink: a, ...o }) => /* @
|
|
|
57000
56964
|
})]
|
|
57001
56965
|
})]
|
|
57002
56966
|
})]
|
|
57003
|
-
}),
|
|
56967
|
+
}), kCe = ({ titleBlock: e, cards: r, className: i, ...a }) => /* @__PURE__ */ n("section", {
|
|
57004
56968
|
...a,
|
|
57005
56969
|
className: U("pt-e700 pb-e1000 px-4 sm:px-8", i),
|
|
57006
56970
|
children: [!!e && /* @__PURE__ */ t("div", {
|
|
@@ -57010,14 +56974,14 @@ var ECe = ({ titleBlock: e, content: r, ctaLabel: i, ctaLink: a, ...o }) => /* @
|
|
|
57010
56974
|
className: "mx-auto flex max-w-[1200px] flex-col gap-6 lg:flex-row lg:justify-center",
|
|
57011
56975
|
children: r
|
|
57012
56976
|
})]
|
|
57013
|
-
}),
|
|
56977
|
+
}), ACe = "cursor-pointer rounded-200 outline-hidden focus-visible:misc-border-size-focus-ring focus-visible:ring-misc-focus-indicator text-content-accent hover:text-content-accent-hover active:text-content-accent-down focus-visible:text-content-accent-hover".split(" ").map((e) => `[&_a]:${e}`).join(" "), jCe = ({ content: e, footer: r, className: i, ...a }) => /* @__PURE__ */ n("div", {
|
|
57014
56978
|
...a,
|
|
57015
56979
|
className: W("rounded-500 bg-background-subdued text-content-secondary [&_strong]:body-semi-strong-700 [&_strong]:text-content-primary w-full lg:max-w-[512px]", "px-6 pt-5 pb-6", "sm:px-8 sm:pt-6 sm:pb-8", i),
|
|
57016
56980
|
children: [/* @__PURE__ */ t("div", {
|
|
57017
56981
|
className: "body-light-600 sm:body-light-700 w-full max-w-[560px]",
|
|
57018
56982
|
children: e
|
|
57019
56983
|
}), !!r && /* @__PURE__ */ t("div", {
|
|
57020
|
-
className: W("body-light-500 mt-6 w-full max-w-[560px]",
|
|
56984
|
+
className: W("body-light-500 mt-6 w-full max-w-[560px]", ACe),
|
|
57021
56985
|
children: r
|
|
57022
56986
|
})]
|
|
57023
56987
|
}), V9 = (({ as: e = "a", icon: r, title: i, description: a, image: o, ref: s, ...c }) => c.href ? /* @__PURE__ */ n(e, {
|
|
@@ -57044,7 +57008,7 @@ var ECe = ({ titleBlock: e, content: r, ctaLabel: i, ctaLink: a, ...o }) => /* @
|
|
|
57044
57008
|
V9.displayName = "ToolCard";
|
|
57045
57009
|
//#endregion
|
|
57046
57010
|
//#region src/components/website/ToolCategoryBannerBlock/ToolCategoryBannerBlock.tsx
|
|
57047
|
-
var
|
|
57011
|
+
var MCe = ({ title: e, children: r, cta: i, image: a, ...o }) => {
|
|
57048
57012
|
let s = ke(() => i ? he(i, {
|
|
57049
57013
|
variant: "secondary",
|
|
57050
57014
|
size: "medium",
|
|
@@ -57089,7 +57053,7 @@ var NCe = ({ title: e, children: r, cta: i, image: a, ...o }) => {
|
|
|
57089
57053
|
H9.displayName = "ToolSmallCard";
|
|
57090
57054
|
//#endregion
|
|
57091
57055
|
//#region src/components/website/UseCasesBlock/UseCasesBlock.tsx
|
|
57092
|
-
var
|
|
57056
|
+
var NCe = ({ titleBlock: e, selectedIndex: r, background: i = "neutral-50-bottom", useCases: a, forceShowAll: o = !1, ...s }) => /* @__PURE__ */ n(u9, {
|
|
57093
57057
|
variant: i,
|
|
57094
57058
|
className: U("flex flex-col items-center", "px-4 sm:px-6 md:px-8 xl:px-10", "pt-e700 pb-e1000", "gap-i400"),
|
|
57095
57059
|
...s,
|
|
@@ -57110,7 +57074,7 @@ var PCe = ({ titleBlock: e, selectedIndex: r, background: i = "neutral-50-bottom
|
|
|
57110
57074
|
}, i))
|
|
57111
57075
|
})
|
|
57112
57076
|
]
|
|
57113
|
-
}),
|
|
57077
|
+
}), PCe = ({ before: e, after: r, ...i }) => /* @__PURE__ */ n("div", {
|
|
57114
57078
|
className: U("relative flex h-full w-full", "gap-8 sm:gap-18 md:gap-20 lg:gap-28"),
|
|
57115
57079
|
...i,
|
|
57116
57080
|
children: [
|
|
@@ -57131,11 +57095,11 @@ var PCe = ({ titleBlock: e, selectedIndex: r, background: i = "neutral-50-bottom
|
|
|
57131
57095
|
})
|
|
57132
57096
|
})
|
|
57133
57097
|
]
|
|
57134
|
-
}),
|
|
57098
|
+
}), FCe = ({ image: e, withBorder: n, ...r }) => e ? /* @__PURE__ */ t("div", {
|
|
57135
57099
|
className: U("rounded-500 relative overflow-hidden", n && "after:rounded-500 after:border-misc-border after:pointer-events-none after:absolute after:start-0 after:top-0 after:h-full after:w-full after:border after:content-['']"),
|
|
57136
57100
|
...r,
|
|
57137
57101
|
children: e
|
|
57138
|
-
}) : null,
|
|
57102
|
+
}) : null, ICe = ({ titleBlock: e, background: r, children: i, className: a, ...o }) => {
|
|
57139
57103
|
let s = de.toArray(i), c = s.length;
|
|
57140
57104
|
return /* @__PURE__ */ t("section", {
|
|
57141
57105
|
className: W("pt-e700 pb-e1000 w-full px-4 sm:px-6 md:px-8 xl:px-10", {
|
|
@@ -57154,7 +57118,7 @@ var PCe = ({ titleBlock: e, selectedIndex: r, background: i = "neutral-50-bottom
|
|
|
57154
57118
|
})]
|
|
57155
57119
|
})
|
|
57156
57120
|
});
|
|
57157
|
-
},
|
|
57121
|
+
}, LCe = ({ icon: e, title: r, description: i, cardCount: a = 3, className: o, ...s }) => {
|
|
57158
57122
|
let c = a === 3;
|
|
57159
57123
|
return /* @__PURE__ */ n("div", {
|
|
57160
57124
|
className: W("rounded-500 border-misc-border flex flex-col gap-4 border p-6", c ? "sm:flex-row sm:gap-6 lg:min-h-[360px] lg:flex-col lg:gap-8" : "sm:min-h-[360px] sm:gap-8", o),
|
|
@@ -57173,7 +57137,7 @@ var PCe = ({ titleBlock: e, selectedIndex: r, background: i = "neutral-50-bottom
|
|
|
57173
57137
|
})]
|
|
57174
57138
|
})]
|
|
57175
57139
|
});
|
|
57176
|
-
},
|
|
57140
|
+
}, RCe = /* @__PURE__ */ Xt(((e) => {
|
|
57177
57141
|
var t = typeof Symbol == "function" && Symbol.for, n = t ? Symbol.for("react.element") : 60103, r = t ? Symbol.for("react.portal") : 60106, i = t ? Symbol.for("react.fragment") : 60107, a = t ? Symbol.for("react.strict_mode") : 60108, o = t ? Symbol.for("react.profiler") : 60114, s = t ? Symbol.for("react.provider") : 60109, c = t ? Symbol.for("react.context") : 60110, l = t ? Symbol.for("react.async_mode") : 60111, u = t ? Symbol.for("react.concurrent_mode") : 60111, d = t ? Symbol.for("react.forward_ref") : 60112, f = t ? Symbol.for("react.suspense") : 60113, p = t ? Symbol.for("react.suspense_list") : 60120, m = t ? Symbol.for("react.memo") : 60115, h = t ? Symbol.for("react.lazy") : 60116, g = t ? Symbol.for("react.block") : 60121, _ = t ? Symbol.for("react.fundamental") : 60117, v = t ? Symbol.for("react.responder") : 60118, y = t ? Symbol.for("react.scope") : 60119;
|
|
57178
57142
|
function b(e) {
|
|
57179
57143
|
if (typeof e == "object" && e) {
|
|
@@ -57229,7 +57193,7 @@ var PCe = ({ titleBlock: e, selectedIndex: r, background: i = "neutral-50-bottom
|
|
|
57229
57193
|
}, e.isValidElementType = function(e) {
|
|
57230
57194
|
return typeof e == "string" || typeof e == "function" || e === i || e === u || e === o || e === a || e === f || e === p || typeof e == "object" && !!e && (e.$$typeof === h || e.$$typeof === m || e.$$typeof === s || e.$$typeof === c || e.$$typeof === d || e.$$typeof === _ || e.$$typeof === v || e.$$typeof === y || e.$$typeof === g);
|
|
57231
57195
|
}, e.typeOf = b;
|
|
57232
|
-
})),
|
|
57196
|
+
})), zCe = /* @__PURE__ */ Xt(((e) => {
|
|
57233
57197
|
process.env.NODE_ENV !== "production" && (function() {
|
|
57234
57198
|
var t = typeof Symbol == "function" && Symbol.for, n = t ? Symbol.for("react.element") : 60103, r = t ? Symbol.for("react.portal") : 60106, i = t ? Symbol.for("react.fragment") : 60107, a = t ? Symbol.for("react.strict_mode") : 60108, o = t ? Symbol.for("react.profiler") : 60114, s = t ? Symbol.for("react.provider") : 60109, c = t ? Symbol.for("react.context") : 60110, l = t ? Symbol.for("react.async_mode") : 60111, u = t ? Symbol.for("react.concurrent_mode") : 60111, d = t ? Symbol.for("react.forward_ref") : 60112, f = t ? Symbol.for("react.suspense") : 60113, p = t ? Symbol.for("react.suspense_list") : 60120, m = t ? Symbol.for("react.memo") : 60115, h = t ? Symbol.for("react.lazy") : 60116, g = t ? Symbol.for("react.block") : 60121, _ = t ? Symbol.for("react.fundamental") : 60117, v = t ? Symbol.for("react.responder") : 60118, y = t ? Symbol.for("react.scope") : 60119;
|
|
57235
57199
|
function b(e) {
|
|
@@ -57306,8 +57270,8 @@ var PCe = ({ titleBlock: e, selectedIndex: r, background: i = "neutral-50-bottom
|
|
|
57306
57270
|
e.AsyncMode = S, e.ConcurrentMode = C, e.ContextConsumer = w, e.ContextProvider = T, e.Element = E, e.ForwardRef = D, e.Fragment = O, e.Lazy = k, e.Memo = A, e.Portal = j, e.Profiler = M, e.StrictMode = N, e.Suspense = P, e.isAsyncMode = I, e.isConcurrentMode = ee, e.isContextConsumer = L, e.isContextProvider = te, e.isElement = ne, e.isForwardRef = re, e.isFragment = ie, e.isLazy = ae, e.isMemo = oe, e.isPortal = R, e.isProfiler = se, e.isStrictMode = ce, e.isSuspense = le, e.isValidElementType = b, e.typeOf = x;
|
|
57307
57271
|
})();
|
|
57308
57272
|
})), U9 = /* @__PURE__ */ Xt(((e, t) => {
|
|
57309
|
-
process.env.NODE_ENV === "production" ? t.exports =
|
|
57310
|
-
})),
|
|
57273
|
+
process.env.NODE_ENV === "production" ? t.exports = RCe() : t.exports = zCe();
|
|
57274
|
+
})), BCe = /* @__PURE__ */ Xt(((e, t) => {
|
|
57311
57275
|
var n = Object.getOwnPropertySymbols, r = Object.prototype.hasOwnProperty, i = Object.prototype.propertyIsEnumerable;
|
|
57312
57276
|
function a(e) {
|
|
57313
57277
|
if (e == null) throw TypeError("Object.assign cannot be called with null or undefined");
|
|
@@ -57344,7 +57308,7 @@ var PCe = ({ titleBlock: e, selectedIndex: r, background: i = "neutral-50-bottom
|
|
|
57344
57308
|
t.exports = "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED";
|
|
57345
57309
|
})), G9 = /* @__PURE__ */ Xt(((e, t) => {
|
|
57346
57310
|
t.exports = Function.call.bind(Object.prototype.hasOwnProperty);
|
|
57347
|
-
})),
|
|
57311
|
+
})), VCe = /* @__PURE__ */ Xt(((e, t) => {
|
|
57348
57312
|
var n = function() {};
|
|
57349
57313
|
if (process.env.NODE_ENV !== "production") {
|
|
57350
57314
|
var r = W9(), i = {}, a = G9();
|
|
@@ -57380,8 +57344,8 @@ var PCe = ({ titleBlock: e, selectedIndex: r, background: i = "neutral-50-bottom
|
|
|
57380
57344
|
o.resetWarningCache = function() {
|
|
57381
57345
|
process.env.NODE_ENV !== "production" && (i = {});
|
|
57382
57346
|
}, t.exports = o;
|
|
57383
|
-
})),
|
|
57384
|
-
var n = U9(), r =
|
|
57347
|
+
})), HCe = /* @__PURE__ */ Xt(((e, t) => {
|
|
57348
|
+
var n = U9(), r = BCe(), i = W9(), a = G9(), o = VCe(), s = function() {};
|
|
57385
57349
|
process.env.NODE_ENV !== "production" && (s = function(e) {
|
|
57386
57350
|
var t = "Warning: " + e;
|
|
57387
57351
|
typeof console < "u" && console.error(t);
|
|
@@ -57639,7 +57603,7 @@ var PCe = ({ titleBlock: e, selectedIndex: r, background: i = "neutral-50-bottom
|
|
|
57639
57603
|
}
|
|
57640
57604
|
return p.checkPropTypes = o, p.resetWarningCache = o.resetWarningCache, p.PropTypes = p, p;
|
|
57641
57605
|
};
|
|
57642
|
-
})),
|
|
57606
|
+
})), UCe = /* @__PURE__ */ Xt(((e, t) => {
|
|
57643
57607
|
var n = W9();
|
|
57644
57608
|
function r() {}
|
|
57645
57609
|
function i() {}
|
|
@@ -57679,12 +57643,12 @@ var PCe = ({ titleBlock: e, selectedIndex: r, background: i = "neutral-50-bottom
|
|
|
57679
57643
|
};
|
|
57680
57644
|
return a.PropTypes = a, a;
|
|
57681
57645
|
};
|
|
57682
|
-
})),
|
|
57646
|
+
})), WCe = /* @__PURE__ */ Xt(((e, t) => {
|
|
57683
57647
|
if (process.env.NODE_ENV !== "production") {
|
|
57684
57648
|
var n = U9();
|
|
57685
|
-
t.exports =
|
|
57686
|
-
} else t.exports =
|
|
57687
|
-
})),
|
|
57649
|
+
t.exports = HCe()(n.isElement, !0);
|
|
57650
|
+
} else t.exports = UCe()();
|
|
57651
|
+
})), GCe = /* @__PURE__ */ Xt(((e, t) => {
|
|
57688
57652
|
t.exports = function e(t, n) {
|
|
57689
57653
|
if (t === n) return !0;
|
|
57690
57654
|
if (t && n && typeof t == "object" && typeof n == "object") {
|
|
@@ -57708,7 +57672,7 @@ var PCe = ({ titleBlock: e, selectedIndex: r, background: i = "neutral-50-bottom
|
|
|
57708
57672
|
}
|
|
57709
57673
|
return t !== t && n !== n;
|
|
57710
57674
|
};
|
|
57711
|
-
})),
|
|
57675
|
+
})), KCe = /* @__PURE__ */ Xt(((e, t) => {
|
|
57712
57676
|
t.exports = function() {
|
|
57713
57677
|
var e = {}, t = {};
|
|
57714
57678
|
return e.on = function(e, n) {
|
|
@@ -57725,7 +57689,7 @@ var PCe = ({ titleBlock: e, selectedIndex: r, background: i = "neutral-50-bottom
|
|
|
57725
57689
|
if (r) for (i = r.length; i--;) r[i].handler(n);
|
|
57726
57690
|
}, e;
|
|
57727
57691
|
};
|
|
57728
|
-
})),
|
|
57692
|
+
})), qCe = /* @__PURE__ */ Xt(((e, t) => {
|
|
57729
57693
|
t.exports = function(e, t, a) {
|
|
57730
57694
|
var o = document.head || document.getElementsByTagName("head")[0], s = document.createElement("script");
|
|
57731
57695
|
typeof t == "function" && (a = t, t = {}), t ||= {}, a ||= function() {}, s.type = t.type || "text/javascript", s.charset = t.charset || "utf8", s.async = "async" in t ? !!t.async : !0, s.src = e, t.attrs && n(s, t.attrs), t.text && (s.text = "" + t.text), ("onload" in s ? r : i)(s, a), s.onload || r(s, a), o.appendChild(s);
|
|
@@ -57745,9 +57709,9 @@ var PCe = ({ titleBlock: e, selectedIndex: r, background: i = "neutral-50-bottom
|
|
|
57745
57709
|
this.readyState != "complete" && this.readyState != "loaded" || (this.onreadystatechange = null, t(null, e));
|
|
57746
57710
|
};
|
|
57747
57711
|
}
|
|
57748
|
-
})),
|
|
57712
|
+
})), JCe = /* @__PURE__ */ Xt(((e, t) => {
|
|
57749
57713
|
Object.defineProperty(e, "__esModule", { value: !0 });
|
|
57750
|
-
var n = r(
|
|
57714
|
+
var n = r(qCe());
|
|
57751
57715
|
function r(e) {
|
|
57752
57716
|
return e && e.__esModule ? e : { default: e };
|
|
57753
57717
|
}
|
|
@@ -57768,7 +57732,7 @@ var PCe = ({ titleBlock: e, selectedIndex: r, background: i = "neutral-50-bottom
|
|
|
57768
57732
|
};
|
|
57769
57733
|
});
|
|
57770
57734
|
}, t.exports = e.default;
|
|
57771
|
-
})),
|
|
57735
|
+
})), YCe = /* @__PURE__ */ Xt(((e, t) => {
|
|
57772
57736
|
var n = 1e3, r = n * 60, i = r * 60, a = i * 24, o = a * 365.25;
|
|
57773
57737
|
t.exports = function(e, t) {
|
|
57774
57738
|
t ||= {};
|
|
@@ -57825,8 +57789,8 @@ var PCe = ({ titleBlock: e, selectedIndex: r, background: i = "neutral-50-bottom
|
|
|
57825
57789
|
function u(e, t, n) {
|
|
57826
57790
|
if (!(e < t)) return e < t * 1.5 ? Math.floor(e / t) + " " + n : Math.ceil(e / t) + " " + n + "s";
|
|
57827
57791
|
}
|
|
57828
|
-
})),
|
|
57829
|
-
e = t.exports = i.debug = i.default = i, e.coerce = c, e.disable = o, e.enable = a, e.enabled = s, e.humanize =
|
|
57792
|
+
})), XCe = /* @__PURE__ */ Xt(((e, t) => {
|
|
57793
|
+
e = t.exports = i.debug = i.default = i, e.coerce = c, e.disable = o, e.enable = a, e.enabled = s, e.humanize = YCe(), e.names = [], e.skips = [], e.formatters = {};
|
|
57830
57794
|
var n;
|
|
57831
57795
|
function r(t) {
|
|
57832
57796
|
var n = 0, r;
|
|
@@ -57871,8 +57835,8 @@ var PCe = ({ titleBlock: e, selectedIndex: r, background: i = "neutral-50-bottom
|
|
|
57871
57835
|
function c(e) {
|
|
57872
57836
|
return e instanceof Error ? e.stack || e.message : e;
|
|
57873
57837
|
}
|
|
57874
|
-
})),
|
|
57875
|
-
e = t.exports =
|
|
57838
|
+
})), ZCe = /* @__PURE__ */ Xt(((e, t) => {
|
|
57839
|
+
e = t.exports = XCe(), e.log = i, e.formatArgs = r, e.save = a, e.load = o, e.useColors = n, e.storage = typeof chrome < "u" && chrome.storage !== void 0 ? chrome.storage.local : s(), e.colors = [
|
|
57876
57840
|
"lightseagreen",
|
|
57877
57841
|
"forestgreen",
|
|
57878
57842
|
"goldenrod",
|
|
@@ -57922,9 +57886,9 @@ var PCe = ({ titleBlock: e, selectedIndex: r, background: i = "neutral-50-bottom
|
|
|
57922
57886
|
return window.localStorage;
|
|
57923
57887
|
} catch {}
|
|
57924
57888
|
}
|
|
57925
|
-
})),
|
|
57889
|
+
})), QCe = /* @__PURE__ */ Xt(((e, t) => {
|
|
57926
57890
|
Object.defineProperty(e, "__esModule", { value: !0 }), e.default = /* @__PURE__ */ "cueVideoById.loadVideoById.cueVideoByUrl.loadVideoByUrl.playVideo.pauseVideo.stopVideo.getVideoLoadedFraction.cuePlaylist.loadPlaylist.nextVideo.previousVideo.playVideoAt.setShuffle.setLoop.getPlaylist.getPlaylistIndex.setOption.mute.unMute.isMuted.setVolume.getVolume.seekTo.getPlayerState.getPlaybackRate.setPlaybackRate.getAvailablePlaybackRates.getPlaybackQuality.setPlaybackQuality.getAvailableQualityLevels.getCurrentTime.getDuration.removeEventListener.getVideoUrl.getVideoEmbedCode.getOptions.getOption.addEventListener.destroy.setSize.getIframe".split("."), t.exports = e.default;
|
|
57927
|
-
})),
|
|
57891
|
+
})), $Ce = /* @__PURE__ */ Xt(((e, t) => {
|
|
57928
57892
|
Object.defineProperty(e, "__esModule", { value: !0 }), e.default = [
|
|
57929
57893
|
"ready",
|
|
57930
57894
|
"stateChange",
|
|
@@ -57934,7 +57898,7 @@ var PCe = ({ titleBlock: e, selectedIndex: r, background: i = "neutral-50-bottom
|
|
|
57934
57898
|
"apiChange",
|
|
57935
57899
|
"volumeChange"
|
|
57936
57900
|
], t.exports = e.default;
|
|
57937
|
-
})),
|
|
57901
|
+
})), ewe = /* @__PURE__ */ Xt(((e, t) => {
|
|
57938
57902
|
Object.defineProperty(e, "__esModule", { value: !0 }), e.default = {
|
|
57939
57903
|
BUFFERING: 3,
|
|
57940
57904
|
ENDED: 0,
|
|
@@ -57943,9 +57907,9 @@ var PCe = ({ titleBlock: e, selectedIndex: r, background: i = "neutral-50-bottom
|
|
|
57943
57907
|
UNSTARTED: -1,
|
|
57944
57908
|
VIDEO_CUED: 5
|
|
57945
57909
|
}, t.exports = e.default;
|
|
57946
|
-
})),
|
|
57910
|
+
})), twe = /* @__PURE__ */ Xt(((e, t) => {
|
|
57947
57911
|
Object.defineProperty(e, "__esModule", { value: !0 });
|
|
57948
|
-
var n = r(
|
|
57912
|
+
var n = r(ewe());
|
|
57949
57913
|
function r(e) {
|
|
57950
57914
|
return e && e.__esModule ? e : { default: e };
|
|
57951
57915
|
}
|
|
@@ -57968,9 +57932,9 @@ var PCe = ({ titleBlock: e, selectedIndex: r, background: i = "neutral-50-bottom
|
|
|
57968
57932
|
timeout: 3e3
|
|
57969
57933
|
}
|
|
57970
57934
|
}, t.exports = e.default;
|
|
57971
|
-
})),
|
|
57935
|
+
})), nwe = /* @__PURE__ */ Xt(((e, t) => {
|
|
57972
57936
|
Object.defineProperty(e, "__esModule", { value: !0 });
|
|
57973
|
-
var n = o(
|
|
57937
|
+
var n = o(ZCe()), r = o(QCe()), i = o($Ce()), a = o(twe());
|
|
57974
57938
|
function o(e) {
|
|
57975
57939
|
return e && e.__esModule ? e : { default: e };
|
|
57976
57940
|
}
|
|
@@ -58037,13 +58001,13 @@ var PCe = ({ titleBlock: e, selectedIndex: r, background: i = "neutral-50-bottom
|
|
|
58037
58001
|
}
|
|
58038
58002
|
return n;
|
|
58039
58003
|
}, e.default = c, t.exports = e.default;
|
|
58040
|
-
})),
|
|
58004
|
+
})), rwe = /* @__PURE__ */ Xt(((e, t) => {
|
|
58041
58005
|
Object.defineProperty(e, "__esModule", { value: !0 });
|
|
58042
58006
|
var n = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(e) {
|
|
58043
58007
|
return typeof e;
|
|
58044
58008
|
} : function(e) {
|
|
58045
58009
|
return e && typeof Symbol == "function" && e.constructor === Symbol && e !== Symbol.prototype ? "symbol" : typeof e;
|
|
58046
|
-
}, r = o(
|
|
58010
|
+
}, r = o(KCe()), i = o(JCe()), a = o(nwe());
|
|
58047
58011
|
function o(e) {
|
|
58048
58012
|
return e && e.__esModule ? e : { default: e };
|
|
58049
58013
|
}
|
|
@@ -58063,16 +58027,16 @@ var PCe = ({ titleBlock: e, selectedIndex: r, background: i = "neutral-50-bottom
|
|
|
58063
58027
|
}), u = a.default.promisifyPlayer(l, o);
|
|
58064
58028
|
return u.on = c.on, u.off = c.off, u;
|
|
58065
58029
|
}, t.exports = e.default;
|
|
58066
|
-
})), K9 = /* @__PURE__ */ $t(
|
|
58030
|
+
})), K9 = /* @__PURE__ */ $t(WCe()), iwe = /* @__PURE__ */ $t(GCe()), awe = /* @__PURE__ */ $t(rwe()), owe = Object.defineProperty, swe = Object.defineProperties, cwe = Object.getOwnPropertyDescriptors, q9 = Object.getOwnPropertySymbols, lwe = Object.prototype.hasOwnProperty, uwe = Object.prototype.propertyIsEnumerable, J9 = (e, t, n) => t in e ? owe(e, t, {
|
|
58067
58031
|
enumerable: !0,
|
|
58068
58032
|
configurable: !0,
|
|
58069
58033
|
writable: !0,
|
|
58070
58034
|
value: n
|
|
58071
58035
|
}) : e[t] = n, Y9 = (e, t) => {
|
|
58072
|
-
for (var n in t ||= {})
|
|
58073
|
-
if (q9) for (var n of q9(t))
|
|
58036
|
+
for (var n in t ||= {}) lwe.call(t, n) && J9(e, n, t[n]);
|
|
58037
|
+
if (q9) for (var n of q9(t)) uwe.call(t, n) && J9(e, n, t[n]);
|
|
58074
58038
|
return e;
|
|
58075
|
-
}, X9 = (e, t) =>
|
|
58039
|
+
}, X9 = (e, t) => swe(e, cwe(t)), dwe = (e, t, n) => new Promise((r, i) => {
|
|
58076
58040
|
var a = (e) => {
|
|
58077
58041
|
try {
|
|
58078
58042
|
s(n.next(e));
|
|
@@ -58088,7 +58052,7 @@ var PCe = ({ titleBlock: e, selectedIndex: r, background: i = "neutral-50-bottom
|
|
|
58088
58052
|
}, s = (e) => e.done ? r(e.value) : Promise.resolve(e.value).then(a, o);
|
|
58089
58053
|
s((n = n.apply(e, t)).next());
|
|
58090
58054
|
});
|
|
58091
|
-
function
|
|
58055
|
+
function fwe(e, t) {
|
|
58092
58056
|
if (e.videoId !== t.videoId) return !0;
|
|
58093
58057
|
let n = e.opts?.playerVars || {}, r = t.opts?.playerVars || {};
|
|
58094
58058
|
return n.start !== r.start || n.end !== r.end;
|
|
@@ -58104,13 +58068,13 @@ function Z9(e = {}) {
|
|
|
58104
58068
|
})
|
|
58105
58069
|
});
|
|
58106
58070
|
}
|
|
58107
|
-
function
|
|
58108
|
-
return e.videoId !== t.videoId || !(0,
|
|
58071
|
+
function pwe(e, t) {
|
|
58072
|
+
return e.videoId !== t.videoId || !(0, iwe.default)(Z9(e.opts), Z9(t.opts));
|
|
58109
58073
|
}
|
|
58110
|
-
function
|
|
58074
|
+
function mwe(e, t) {
|
|
58111
58075
|
return e.id !== t.id || e.className !== t.className || e.opts?.width !== t.opts?.width || e.opts?.height !== t.opts?.height || e.iframeClassName !== t.iframeClassName || e.title !== t.title;
|
|
58112
58076
|
}
|
|
58113
|
-
var
|
|
58077
|
+
var hwe = {
|
|
58114
58078
|
videoId: "",
|
|
58115
58079
|
id: "",
|
|
58116
58080
|
className: "",
|
|
@@ -58127,7 +58091,7 @@ var gwe = {
|
|
|
58127
58091
|
onStateChange: () => {},
|
|
58128
58092
|
onPlaybackRateChange: () => {},
|
|
58129
58093
|
onPlaybackQualityChange: () => {}
|
|
58130
|
-
},
|
|
58094
|
+
}, gwe = {
|
|
58131
58095
|
videoId: K9.default.string,
|
|
58132
58096
|
id: K9.default.string,
|
|
58133
58097
|
className: K9.default.string,
|
|
@@ -58179,7 +58143,7 @@ var gwe = {
|
|
|
58179
58143
|
return;
|
|
58180
58144
|
}
|
|
58181
58145
|
let e = X9(Y9({}, this.props.opts), { videoId: this.props.videoId });
|
|
58182
|
-
this.internalPlayer = (0,
|
|
58146
|
+
this.internalPlayer = (0, awe.default)(this.container, e), this.internalPlayer.on("ready", this.onPlayerReady), this.internalPlayer.on("error", this.onPlayerError), this.internalPlayer.on("stateChange", this.onPlayerStateChange), this.internalPlayer.on("playbackRateChange", this.onPlayerPlaybackRateChange), this.internalPlayer.on("playbackQualityChange", this.onPlayerPlaybackQualityChange), (this.props.title || this.props.loading) && this.internalPlayer.getIframe().then((e) => {
|
|
58183
58147
|
this.props.title && e.setAttribute("title", this.props.title), this.props.loading && e.setAttribute("loading", this.props.loading);
|
|
58184
58148
|
});
|
|
58185
58149
|
}, this.resetPlayer = () => this.destroyPlayer().then(this.createPlayer), this.updatePlayer = () => {
|
|
@@ -58207,8 +58171,8 @@ var gwe = {
|
|
|
58207
58171
|
this.createPlayer();
|
|
58208
58172
|
}
|
|
58209
58173
|
componentDidUpdate(e) {
|
|
58210
|
-
return
|
|
58211
|
-
|
|
58174
|
+
return dwe(this, null, function* () {
|
|
58175
|
+
mwe(e, this.props) && this.updatePlayer(), pwe(e, this.props) && (yield this.resetPlayer()), fwe(e, this.props) && this.updateVideo();
|
|
58212
58176
|
});
|
|
58213
58177
|
}
|
|
58214
58178
|
componentWillUnmount() {
|
|
@@ -58225,7 +58189,7 @@ var gwe = {
|
|
|
58225
58189
|
}));
|
|
58226
58190
|
}
|
|
58227
58191
|
}, $9 = Q9;
|
|
58228
|
-
$9.propTypes =
|
|
58192
|
+
$9.propTypes = gwe, $9.defaultProps = hwe, $9.PlayerState = {
|
|
58229
58193
|
UNSTARTED: -1,
|
|
58230
58194
|
ENDED: 0,
|
|
58231
58195
|
PLAYING: 1,
|
|
@@ -58233,9 +58197,9 @@ $9.propTypes = _we, $9.defaultProps = gwe, $9.PlayerState = {
|
|
|
58233
58197
|
BUFFERING: 3,
|
|
58234
58198
|
CUED: 5
|
|
58235
58199
|
};
|
|
58236
|
-
var
|
|
58200
|
+
var _we = $9, vwe = ({ videoId: e, className: n }) => {
|
|
58237
58201
|
let r = aV() ? window.location.origin : "";
|
|
58238
|
-
return r ? /* @__PURE__ */ t(
|
|
58202
|
+
return r ? /* @__PURE__ */ t(_we, {
|
|
58239
58203
|
videoId: e,
|
|
58240
58204
|
id: e,
|
|
58241
58205
|
className: U("yt-embed relative aspect-video w-full overflow-hidden", "[&_iframe]:absolute [&_iframe]:inset-0 [&_iframe]:size-full", n),
|
|
@@ -58243,6 +58207,6 @@ var vwe = $9, ywe = ({ videoId: e, className: n }) => {
|
|
|
58243
58207
|
}) : null;
|
|
58244
58208
|
};
|
|
58245
58209
|
//#endregion
|
|
58246
|
-
export { E9 as API_BASIC_PLAN_SHORTNAME, O9 as API_ENTERPRISE_PLAN_SHORTNAME, D9 as API_PLUS_PLAN_SHORTNAME,
|
|
58210
|
+
export { E9 as API_BASIC_PLAN_SHORTNAME, O9 as API_ENTERPRISE_PLAN_SHORTNAME, D9 as API_PLUS_PLAN_SHORTNAME, Oxe as AccentDropZone, kxe as AchievementsBlock, nG as ActionButton, SK as ActivityIndicator, gye as ActivityRow, Axe as ApiHeroBlock, KSe as ApiPricingCardsContainer, JSe as ApiPricingCardsItem, eCe as ApiPricingFeaturesLegend, tCe as ApiPricingFeaturesSectionItemBadge, YSe as ApiPricingMonthlyPricePerImage, XSe as ApiPricingPartnerCard, rn as AppButton, oCe as AppPricingCardsContainer, sCe as AppPricingCardsGroup, cCe as AppPricingCardsItemV2, lCe as AppPricingFeaturesLegend, uCe as AppPricingFeaturesPlanHeader, dCe as AppPricingFeaturesSectionItemBadge, i9 as ArticleAuthor, o9 as ArticleContent, Mxe as ArticleHeroBlock, Nxe as AssetPreview, Vc as Avatar, bye as AvatarSkeleton, Eye as AvatarStack, Ixe as AwardsBlock, Yc as Badge, Lxe as BentoBlock, Rxe as BentoCard, zxe as BlogActionBlock, PG as BlogActionCard, FG as BlogEditorialCard, Bxe as BlogQuoteBlock, an as BlogSocialButton, l9 as BlogSubtleActionBlock, IJ as Bone, Hxe as BrandHeroBlock, Uxe as BrandInsightBlock, Wxe as BrandScoreBlock, Dye as Breadcrumbs, zr as Button, Vr as ButtonCluster, Dr as CDN, Kge as CODE_LENGTH, k4 as CanvasInput, Gxe as CardsBlock, Kxe as CardsHeroBlock, qxe as CareersBlock, Jxe as CareersBlockItem, Sz as CheckGroup, bz as CheckGroupContext, H4 as Checkbox, Gge as CheckboxField, V4 as CheckboxIndicator, C4 as ChoiceFeedTile, w4 as ChoiceFeedTileGroup, V5 as ChoiceMultipleGroup, H5 as ChoiceSingleGroup, U5 as ChoiceSingleTile, Wr as CircularButton, qr as ClearButton, W4 as CodeInput, Oge as CollectionTile, LJ as ColorPalette, gX as ColorPicker, vX as ColorRow, sK as ColorSwatch, zJ as ColorWheel, _ye as CommentRow, Yxe as ComparisonBlock, VG as ComparisonSlider, Xxe as ComparisonTable, wV as ContextMenu, NX as CropBoxFrame, Zxe as CustomerStoriesBlock, UG as CustomerStoryCard, Qxe as DataBlock, $xe as DataBlockItem, TJ as Dialog, eSe as DimensionCard, tSe as DimensionCardsBlock, vV as Divider, Qge as DropZone, K4 as DropZoneAreaWrapper, J4 as DropZoneFullscreen, q4 as DropZoneOverlay, kJ as DropdownListBox, eG as DropdownMenu, g3 as DropdownMenuMultipleSelectionItem, AJ as DropdownMenuSingleSelectionItem, jJ as DropdownMenuSpaceActionItem, MJ as DropdownMenuSpaceItem, WW as DropdownSearchField, eK as EditorialCard, nSe as EditorialLineupBlock, Kye as EmptySpace, rSe as EnterpriseGradeBlock, iSe as EnterpriseGradeCard, vye as EventRow, ube as ExportLimitCard, aSe as ExtraTextBlock, oSe as FaqBlock, sSe as FaqItem, uSe as FeatureBlock, mSe as FeatureBlockListItem, dSe as FeatureClassicVisual, fSe as FeatureSwitcher, pSe as FeatureVideoElement, cSe as FeaturesBlock, Jbe as FeaturesList, hSe as FeaturesListBlock, gSe as FeaturesListBlockItem, _Se as FeaturesSpotlightBlock, pl as FeedTile, Jr as FieldClearButton, PJ as FieldLabel, ySe as FocusBlock, tK as Folder, i3 as FolderList, S8 as FontFamilyRow, o3 as FontWeightSelectorItem, m9 as FooterV2Block, fbe as FullScreenLoader, pbe as Gauge, _9 as GlossaryAlphabet, CSe as GlossarySection, v9 as GlossaryTermCard, G5 as GridSingleTile, b9 as HeaderBanner, Xbe as Heading, Wc as HelpButton, Gw as HelperText, Gc as HeroButton, wSe as HeroTitleBlock, Y4 as HiddenFileInput, S7 as HighLightedText, Age as Hint, yX as HoverObjectBox, s3 as ImagePicker, d3 as ImageWidget, TSe as ImpactBlock, ESe as ImpactCard, f3 as ImportWidget, Zbe as InfoBanner, Nge as InfoBar, qc as InfoButton, DSe as InfoSnapshot, OSe as InfoSnapshotItem, nK as InfoTable, rK as InfoTableRow, hX as InlineColorPicker, p3 as InlineRadioGroup, m3 as InlineSelector, vl as InputButton, kSe as InspirationWallBlock, ASe as JoinTeamBlock, Kw as Label, x9 as LanguagePickerItem, bX as LayerIndicator, dl as LazyImage, iK as LightPromoBanner, wl as LimitButton, DJ as LimitGauge, Cl as LimitIndicatorGauge, aK as LinkCard, W5 as ListChoiceSingleTile, xX as ListItem, Ol as LoginButton, jSe as LogosBlock, MSe as LogosHighlightBlock, NSe as LogosWallBlock, Cxe as MobileDrawer, kl as MobileNavigationButton, RG as MoreTile, tG as MultiActionWidget, Pl as NavigationButton, Nl as NavigationToggleButton, uK as NewPaletteTile, s7 as Notification, gbe as NotificationImage, Bbe as NotificationStack, Vbe as NotificationsStore, dX as NumberField, Dxe as NumberSelectField, Hve as NumberedSectionHeader, SX as ObjectItem, cK as ObjectPreview, dK as OfferCard, PSe as OffersBlock, v3 as OptionGroup, Il as OverlayButton, Fl as OverlayButtonBase, Ll as OverlaySelectButton, z9 as PROMO_BANNER_SESSION_KEY, FSe as PageTitle, x7 as PanelHeader, y7 as PanelHeaderSwitcherButton, y3 as PanelStandardInput, zve as PeopleListItem, s_e as PhotoDropZone, OX as Pill, wX as PillDivider, D4 as PlaceholderTile, Nye as PlanPicker, ISe as PlaygroundBlock, LSe as PlaygroundHeroBlock, NG as Popover, jX as PresenceObjectBox, x3 as PresetGroup, RSe as PressBlock, Cq as PreviewBox, ZSe as PricingFeatures, P9 as PricingFeaturesLegend, QSe as PricingFeaturesSection, $Se as PricingFeaturesSectionItem, F9 as PricingFeaturesSectionItemBadge, zSe as PricingHeroBlock, fCe as PricingPicker, hCe as PricingPickerButton, el as ProBadge, DK as ProductTile, o7 as Progress, h7 as ProgressStep, gCe as PromoBannerBlock, T4 as Prompt, OK as PromptTile, FK as PropList, Ul as PullDownButton, Wl as QuickActionCard, _Ce as QuickToolHeroBlock, vCe as QuoteBlock, S3 as RadioGroup, f_e as ReactionBar, p_e as ReactionButton, Gl as RetryButton, bCe as Review, yCe as ReviewsBlock, Xl as RoundButton, Zl as RoundedButton, T3 as SamplePicker, d9 as ScoreBlockGauge, H6 as SearchInput, V6 as SearchableSelect, C8 as SectionHeader, Wve as SectionHeaderSkeleton, xCe as SectionTitle, v5 as SegmentedControl, zye as SegmentedPicker, JY as SelectField, h3 as SelectTrigger, r3 as SelectionBadge, b4 as SelectionObjectBox, hq as SelectionTile, yK as SellScore, Wbe as Shortcut, y5 as SideNavigationHeader, b5 as SideNavigationItem, Vye as SideNavigationItemSkeleton, SCe as SidePageTitle, w8 as SizeListItem, g8 as Slider, Nve as SliderField, CCe as SmallSectionTitle, Ql as SocialButton, NJ as SpacePullDownButton, OJ as SpaceUsageDialog, vSe as SpotlightCard, eu as StandaloneLink, gq as StarterTile, _q as StepCard, wCe as StepsBlock, Ile as StoreButton, tl as StudioBadge, kge as Suggestion, _8 as SwitchField, v8 as SwitchGroup, w5 as Tabs, B9 as TagCloudBlock, y8 as TagField, E5 as TagGroup, k5 as TagNavigation, TCe as TakeActionBlock, ECe as TakeActionBlockV2, OCe as TestimonialItem, DCe as TestimonialsBlock, Jw as TextArea, kCe as TextContentBlock, jCe as TextContentCard, b8 as TextEditionBox, x8 as TextField, Rve as TextFieldLabel, ZY as TextInput, E4 as TextSuggestion, x4 as TextureSwatch, Gbe as ToastProgress, Uw as ToggleButton, yq as ToolBanner, V9 as ToolCard, MCe as ToolCategoryBannerBlock, A5 as ToolMenuButton, H9 as ToolSmallCard, tc as Tooltip, rc as TooltipSection, Hc as TooltipUserRow, Kbe as TransformationEmptySpace, PCe as UseCaseItemContentTransform, FCe as UseCaseItemContentTransformItem, NCe as UseCasesBlock, Yw as ValidationBanner, LCe as ValueCard, ICe as ValuesBlock, pye as VariantsList, n5 as VariantsListItem, xq as VideoPlayer, Dq as VisualToolTile, vwe as YoutubeEmbed, a9 as articleTableClassName, FJ as boneVariants, W as cn, wJ as contentVariants, Uc as convertMarkdownLinksToHTML, Sr as isValidComponent, xr as noop, CJ as overlayVariants, k9 as useApiMonthlyPlanPrice, vz as useCarousel, xz as useCheckGroup, qge as useCodeInput, yz as useControlledState, wz as useDragToScroll, dbe as useExportLimitCard, t3 as useFileUploader, Ez as useFocusKeyNav, eV as useFuse, nV as useImageLoadStatus, aV as useIsClient, oV as useLazyLoadVideo, sV as usePasteFilesHandler, S9 as usePriceCountryCurrencyDisplayName, cV as useResizeObserver, lV as useWindowDragEvents, nc as withTooltip };
|
|
58247
58211
|
|
|
58248
58212
|
//# sourceMappingURL=index.mjs.map
|