@altimateai/ui-components 0.0.69-beta1 → 0.0.69
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/dist/{Button-Bsgqi8kG.d.ts → Button-42Dj_nRE.d.ts} +12 -5
- package/dist/CoachForm.js +4 -4
- package/dist/IconEye.js +11 -0
- package/dist/Stack.js +362 -364
- package/dist/Switch.js +1 -1
- package/dist/ToggleGroup.js +70 -80
- package/dist/chatbotV2/index.d.ts +2 -2
- package/dist/dayjs.min.js +1 -1
- package/dist/index.d.ts +9 -9
- package/dist/lineage/index.js +795 -801
- package/dist/redux-toolkit.modern.js +12 -2
- package/dist/shadcn/index.d.ts +23 -28
- package/dist/shadcn/index.js +1118 -1110
- package/dist/storybook/Carousel.stories.tsx +1 -1
- package/dist/storybook/Input.stories.tsx +14 -17
- package/dist/{types-CPALoG7v.d.ts → types-C2UJ4TLI.d.ts} +2 -0
- package/package.json +1 -1
package/dist/Stack.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { j as g, S as ys, d as xs } from "./index2.js";
|
|
2
2
|
import * as l from "react";
|
|
3
|
-
import ve, { useLayoutEffect as ws, useEffect as Cs, forwardRef as H,
|
|
3
|
+
import ve, { useLayoutEffect as ws, useEffect as Cs, forwardRef as H, createElement as Qe, useState as Es } from "react";
|
|
4
4
|
import * as qn from "react-dom";
|
|
5
5
|
import Rs from "react-dom";
|
|
6
6
|
function Zn(e) {
|
|
@@ -2669,7 +2669,7 @@ function ir(e, t, n, { discrete: r }) {
|
|
|
2669
2669
|
const o = n.originalEvent.target, s = new CustomEvent(e, { bubbles: !1, cancelable: !0, detail: n });
|
|
2670
2670
|
t && o.addEventListener(e, t, { once: !0 }), r ? ba(o, s) : o.dispatchEvent(s);
|
|
2671
2671
|
}
|
|
2672
|
-
var
|
|
2672
|
+
var Qu = Ve, Ju = ar, be = globalThis != null && globalThis.document ? l.useLayoutEffect : () => {
|
|
2673
2673
|
}, Sa = l.useId || (() => {
|
|
2674
2674
|
}), Aa = 0;
|
|
2675
2675
|
function Pe(e) {
|
|
@@ -4363,7 +4363,7 @@ var zi = "VisuallyHidden", Tr = l.forwardRef(
|
|
|
4363
4363
|
)
|
|
4364
4364
|
);
|
|
4365
4365
|
Tr.displayName = zi;
|
|
4366
|
-
var Bi = Tr, [ft,
|
|
4366
|
+
var Bi = Tr, [ft, ed] = ae("Tooltip", [
|
|
4367
4367
|
ut
|
|
4368
4368
|
]), pt = ut(), kr = "TooltipProvider", Hi = 700, _t = "tooltip.open", [Gi, nn] = ft(kr), Dr = (e) => {
|
|
4369
4369
|
const {
|
|
@@ -4673,7 +4673,7 @@ function ol(e) {
|
|
|
4673
4673
|
return n.pop(), t.length === 1 && n.length === 1 && t[0].x === n[0].x && t[0].y === n[0].y ? t : t.concat(n);
|
|
4674
4674
|
}
|
|
4675
4675
|
var sl = Dr, al = jr, il = Ir, ll = Mr, $r = _r;
|
|
4676
|
-
const
|
|
4676
|
+
const td = sl, cl = al, ul = il, Wr = l.forwardRef(({ className: e, sideOffset: t = 4, ...n }, r) => /* @__PURE__ */ g.jsx(ll, { children: /* @__PURE__ */ g.jsx(
|
|
4677
4677
|
$r,
|
|
4678
4678
|
{
|
|
4679
4679
|
ref: r,
|
|
@@ -4719,26 +4719,24 @@ const dl = ({
|
|
|
4719
4719
|
size: "default"
|
|
4720
4720
|
}
|
|
4721
4721
|
}
|
|
4722
|
-
), pl =
|
|
4723
|
-
|
|
4724
|
-
|
|
4725
|
-
|
|
4726
|
-
{
|
|
4727
|
-
|
|
4728
|
-
|
|
4729
|
-
|
|
4730
|
-
|
|
4731
|
-
|
|
4732
|
-
|
|
4733
|
-
|
|
4734
|
-
|
|
4735
|
-
);
|
|
4736
|
-
pl.displayName = "Button";
|
|
4722
|
+
), pl = ({ className: e, variant: t, size: n, asChild: r = !1, title: o, ...s }, a) => {
|
|
4723
|
+
const i = r ? sa : "button", c = /* @__PURE__ */ g.jsx(
|
|
4724
|
+
i,
|
|
4725
|
+
{
|
|
4726
|
+
className: M(fl({ variant: t, size: n, className: e })),
|
|
4727
|
+
ref: a,
|
|
4728
|
+
...s,
|
|
4729
|
+
"aria-label": s["aria-label"] || o
|
|
4730
|
+
}
|
|
4731
|
+
);
|
|
4732
|
+
return o ? /* @__PURE__ */ g.jsx(dl, { title: o, children: c }) : c;
|
|
4733
|
+
}, ml = l.forwardRef(pl), gl = ml;
|
|
4734
|
+
gl.displayName = "Button";
|
|
4737
4735
|
function Vr(e) {
|
|
4738
4736
|
const t = l.useRef({ value: e, previous: e });
|
|
4739
4737
|
return l.useMemo(() => (t.current.value !== e && (t.current.previous = t.current.value, t.current.value = e), t.current.previous), [e]);
|
|
4740
4738
|
}
|
|
4741
|
-
var on = "Checkbox", [
|
|
4739
|
+
var on = "Checkbox", [hl, nd] = ae(on), [vl, bl] = hl(on), zr = l.forwardRef(
|
|
4742
4740
|
(e, t) => {
|
|
4743
4741
|
const {
|
|
4744
4742
|
__scopeCheckbox: n,
|
|
@@ -4762,7 +4760,7 @@ var on = "Checkbox", [ml, ed] = ae(on), [gl, hl] = ml(on), zr = l.forwardRef(
|
|
|
4762
4760
|
const E = () => x(C.current);
|
|
4763
4761
|
return w.addEventListener("reset", E), () => w.removeEventListener("reset", E);
|
|
4764
4762
|
}
|
|
4765
|
-
}, [h, x]), /* @__PURE__ */ g.jsxs(
|
|
4763
|
+
}, [h, x]), /* @__PURE__ */ g.jsxs(vl, { scope: n, state: y, disabled: i, children: [
|
|
4766
4764
|
/* @__PURE__ */ g.jsx(
|
|
4767
4765
|
$.button,
|
|
4768
4766
|
{
|
|
@@ -4785,7 +4783,7 @@ var on = "Checkbox", [ml, ed] = ae(on), [gl, hl] = ml(on), zr = l.forwardRef(
|
|
|
4785
4783
|
}
|
|
4786
4784
|
),
|
|
4787
4785
|
b && /* @__PURE__ */ g.jsx(
|
|
4788
|
-
|
|
4786
|
+
yl,
|
|
4789
4787
|
{
|
|
4790
4788
|
control: h,
|
|
4791
4789
|
bubbles: !p.current,
|
|
@@ -4805,7 +4803,7 @@ var on = "Checkbox", [ml, ed] = ae(on), [gl, hl] = ml(on), zr = l.forwardRef(
|
|
|
4805
4803
|
zr.displayName = on;
|
|
4806
4804
|
var Br = "CheckboxIndicator", Hr = l.forwardRef(
|
|
4807
4805
|
(e, t) => {
|
|
4808
|
-
const { __scopeCheckbox: n, forceMount: r, ...o } = e, s =
|
|
4806
|
+
const { __scopeCheckbox: n, forceMount: r, ...o } = e, s = bl(Br, n);
|
|
4809
4807
|
return /* @__PURE__ */ g.jsx(te, { present: r || de(s.state) || s.state === !0, children: /* @__PURE__ */ g.jsx(
|
|
4810
4808
|
$.span,
|
|
4811
4809
|
{
|
|
@@ -4819,7 +4817,7 @@ var Br = "CheckboxIndicator", Hr = l.forwardRef(
|
|
|
4819
4817
|
}
|
|
4820
4818
|
);
|
|
4821
4819
|
Hr.displayName = Br;
|
|
4822
|
-
var
|
|
4820
|
+
var yl = (e) => {
|
|
4823
4821
|
const { control: t, checked: n, bubbles: r = !0, defaultChecked: o, ...s } = e, a = l.useRef(null), i = Vr(n), c = Qt(t);
|
|
4824
4822
|
l.useEffect(() => {
|
|
4825
4823
|
const d = a.current, f = window.HTMLInputElement.prototype, m = Object.getOwnPropertyDescriptor(f, "checked").set;
|
|
@@ -4855,7 +4853,7 @@ function de(e) {
|
|
|
4855
4853
|
function Gr(e) {
|
|
4856
4854
|
return de(e) ? "indeterminate" : e ? "checked" : "unchecked";
|
|
4857
4855
|
}
|
|
4858
|
-
var Ur = zr,
|
|
4856
|
+
var Ur = zr, xl = Hr;
|
|
4859
4857
|
const Kr = H(({ className: e, ...t }, n) => /* @__PURE__ */ g.jsx(
|
|
4860
4858
|
Ur,
|
|
4861
4859
|
{
|
|
@@ -4866,7 +4864,7 @@ const Kr = H(({ className: e, ...t }, n) => /* @__PURE__ */ g.jsx(
|
|
|
4866
4864
|
),
|
|
4867
4865
|
...t,
|
|
4868
4866
|
children: /* @__PURE__ */ g.jsx(
|
|
4869
|
-
|
|
4867
|
+
xl,
|
|
4870
4868
|
{
|
|
4871
4869
|
className: M("al-flex al-items-center al-justify-center al-text-current"),
|
|
4872
4870
|
children: /* @__PURE__ */ g.jsx(
|
|
@@ -4890,7 +4888,7 @@ const Kr = H(({ className: e, ...t }, n) => /* @__PURE__ */ g.jsx(
|
|
|
4890
4888
|
));
|
|
4891
4889
|
Kr.displayName = Ur.displayName;
|
|
4892
4890
|
var Ft = l.forwardRef((e, t) => {
|
|
4893
|
-
const { children: n, ...r } = e, o = l.Children.toArray(n), s = o.find(
|
|
4891
|
+
const { children: n, ...r } = e, o = l.Children.toArray(n), s = o.find(Cl);
|
|
4894
4892
|
if (s) {
|
|
4895
4893
|
const a = s.props.children, i = o.map((c) => c === s ? l.Children.count(a) > 1 ? l.Children.only(null) : l.isValidElement(a) ? a.props.children : null : c);
|
|
4896
4894
|
return /* @__PURE__ */ g.jsx($t, { ...r, ref: t, children: l.isValidElement(a) ? l.cloneElement(a, void 0, i) : null });
|
|
@@ -4901,9 +4899,9 @@ Ft.displayName = "Slot";
|
|
|
4901
4899
|
var $t = l.forwardRef((e, t) => {
|
|
4902
4900
|
const { children: n, ...r } = e;
|
|
4903
4901
|
if (l.isValidElement(n)) {
|
|
4904
|
-
const o =
|
|
4902
|
+
const o = Rl(n);
|
|
4905
4903
|
return l.cloneElement(n, {
|
|
4906
|
-
...
|
|
4904
|
+
...El(r, n.props),
|
|
4907
4905
|
// @ts-ignore
|
|
4908
4906
|
ref: t ? De(t, o) : o
|
|
4909
4907
|
});
|
|
@@ -4911,11 +4909,11 @@ var $t = l.forwardRef((e, t) => {
|
|
|
4911
4909
|
return l.Children.count(n) > 1 ? l.Children.only(null) : null;
|
|
4912
4910
|
});
|
|
4913
4911
|
$t.displayName = "SlotClone";
|
|
4914
|
-
var
|
|
4915
|
-
function
|
|
4916
|
-
return l.isValidElement(e) && e.type ===
|
|
4912
|
+
var wl = ({ children: e }) => /* @__PURE__ */ g.jsx(g.Fragment, { children: e });
|
|
4913
|
+
function Cl(e) {
|
|
4914
|
+
return l.isValidElement(e) && e.type === wl;
|
|
4917
4915
|
}
|
|
4918
|
-
function
|
|
4916
|
+
function El(e, t) {
|
|
4919
4917
|
const n = { ...t };
|
|
4920
4918
|
for (const r in t) {
|
|
4921
4919
|
const o = e[r], s = t[r];
|
|
@@ -4925,12 +4923,12 @@ function wl(e, t) {
|
|
|
4925
4923
|
}
|
|
4926
4924
|
return { ...e, ...n };
|
|
4927
4925
|
}
|
|
4928
|
-
function
|
|
4926
|
+
function Rl(e) {
|
|
4929
4927
|
var r, o;
|
|
4930
4928
|
let t = (r = Object.getOwnPropertyDescriptor(e.props, "ref")) == null ? void 0 : r.get, n = t && "isReactWarning" in t && t.isReactWarning;
|
|
4931
4929
|
return n ? e.ref : (t = (o = Object.getOwnPropertyDescriptor(e, "ref")) == null ? void 0 : o.get, n = t && "isReactWarning" in t && t.isReactWarning, n ? e.props.ref : e.props.ref || e.ref);
|
|
4932
4930
|
}
|
|
4933
|
-
function
|
|
4931
|
+
function Pl(e) {
|
|
4934
4932
|
const t = e + "CollectionProvider", [n, r] = ae(t), [o, s] = n(
|
|
4935
4933
|
t,
|
|
4936
4934
|
{ collectionRef: { current: null }, itemMap: /* @__PURE__ */ new Map() }
|
|
@@ -4970,19 +4968,19 @@ function El(e) {
|
|
|
4970
4968
|
r
|
|
4971
4969
|
];
|
|
4972
4970
|
}
|
|
4973
|
-
var
|
|
4971
|
+
var Sl = l.createContext(void 0);
|
|
4974
4972
|
function Yr(e) {
|
|
4975
|
-
const t = l.useContext(
|
|
4973
|
+
const t = l.useContext(Sl);
|
|
4976
4974
|
return e || t || "ltr";
|
|
4977
4975
|
}
|
|
4978
|
-
var xt = "rovingFocusGroup.onEntryFocus",
|
|
4976
|
+
var xt = "rovingFocusGroup.onEntryFocus", Al = { bubbles: !1, cancelable: !0 }, gt = "RovingFocusGroup", [Wt, Xr, Nl] = Pl(gt), [Ol, qr] = ae(
|
|
4979
4977
|
gt,
|
|
4980
|
-
[
|
|
4981
|
-
), [
|
|
4982
|
-
(e, t) => /* @__PURE__ */ g.jsx(Wt.Provider, { scope: e.__scopeRovingFocusGroup, children: /* @__PURE__ */ g.jsx(Wt.Slot, { scope: e.__scopeRovingFocusGroup, children: /* @__PURE__ */ g.jsx(
|
|
4978
|
+
[Nl]
|
|
4979
|
+
), [Tl, kl] = Ol(gt), Zr = l.forwardRef(
|
|
4980
|
+
(e, t) => /* @__PURE__ */ g.jsx(Wt.Provider, { scope: e.__scopeRovingFocusGroup, children: /* @__PURE__ */ g.jsx(Wt.Slot, { scope: e.__scopeRovingFocusGroup, children: /* @__PURE__ */ g.jsx(Dl, { ...e, ref: t }) }) })
|
|
4983
4981
|
);
|
|
4984
4982
|
Zr.displayName = gt;
|
|
4985
|
-
var
|
|
4983
|
+
var Dl = l.forwardRef((e, t) => {
|
|
4986
4984
|
const {
|
|
4987
4985
|
__scopeRovingFocusGroup: n,
|
|
4988
4986
|
orientation: r,
|
|
@@ -5004,7 +5002,7 @@ var Tl = l.forwardRef((e, t) => {
|
|
|
5004
5002
|
if (S)
|
|
5005
5003
|
return S.addEventListener(xt, C), () => S.removeEventListener(xt, C);
|
|
5006
5004
|
}, [C]), /* @__PURE__ */ g.jsx(
|
|
5007
|
-
|
|
5005
|
+
Tl,
|
|
5008
5006
|
{
|
|
5009
5007
|
scope: n,
|
|
5010
5008
|
orientation: r,
|
|
@@ -5038,7 +5036,7 @@ var Tl = l.forwardRef((e, t) => {
|
|
|
5038
5036
|
onFocus: k(e.onFocus, (S) => {
|
|
5039
5037
|
const I = !E.current;
|
|
5040
5038
|
if (S.target === S.currentTarget && I && !y) {
|
|
5041
|
-
const D = new CustomEvent(xt,
|
|
5039
|
+
const D = new CustomEvent(xt, Al);
|
|
5042
5040
|
if (S.currentTarget.dispatchEvent(D), !D.defaultPrevented) {
|
|
5043
5041
|
const F = w().filter((T) => T.focusable), A = F.find((T) => T.active), L = F.find((T) => T.id === p), B = [A, L, ...F].filter(
|
|
5044
5042
|
Boolean
|
|
@@ -5061,7 +5059,7 @@ var Tl = l.forwardRef((e, t) => {
|
|
|
5061
5059
|
active: o = !1,
|
|
5062
5060
|
tabStopId: s,
|
|
5063
5061
|
...a
|
|
5064
|
-
} = e, i = Pe(), c = s || i, u =
|
|
5062
|
+
} = e, i = Pe(), c = s || i, u = kl(Qr, n), d = u.currentTabStopId === c, f = Xr(n), { onFocusableItemAdd: h, onFocusableItemRemove: m } = u;
|
|
5065
5063
|
return l.useEffect(() => {
|
|
5066
5064
|
if (r)
|
|
5067
5065
|
return h(), () => m();
|
|
@@ -5089,7 +5087,7 @@ var Tl = l.forwardRef((e, t) => {
|
|
|
5089
5087
|
return;
|
|
5090
5088
|
}
|
|
5091
5089
|
if (v.target !== v.currentTarget) return;
|
|
5092
|
-
const p =
|
|
5090
|
+
const p = Ml(v, u.orientation, u.dir);
|
|
5093
5091
|
if (p !== void 0) {
|
|
5094
5092
|
if (v.metaKey || v.ctrlKey || v.altKey || v.shiftKey) return;
|
|
5095
5093
|
v.preventDefault();
|
|
@@ -5098,7 +5096,7 @@ var Tl = l.forwardRef((e, t) => {
|
|
|
5098
5096
|
else if (p === "prev" || p === "next") {
|
|
5099
5097
|
p === "prev" && y.reverse();
|
|
5100
5098
|
const x = y.indexOf(v.currentTarget);
|
|
5101
|
-
y = u.loop ?
|
|
5099
|
+
y = u.loop ? _l(y, x + 1) : y.slice(x + 1);
|
|
5102
5100
|
}
|
|
5103
5101
|
setTimeout(() => eo(y));
|
|
5104
5102
|
}
|
|
@@ -5110,7 +5108,7 @@ var Tl = l.forwardRef((e, t) => {
|
|
|
5110
5108
|
}
|
|
5111
5109
|
);
|
|
5112
5110
|
Jr.displayName = Qr;
|
|
5113
|
-
var
|
|
5111
|
+
var jl = {
|
|
5114
5112
|
ArrowLeft: "prev",
|
|
5115
5113
|
ArrowUp: "prev",
|
|
5116
5114
|
ArrowRight: "next",
|
|
@@ -5120,23 +5118,23 @@ var kl = {
|
|
|
5120
5118
|
PageDown: "last",
|
|
5121
5119
|
End: "last"
|
|
5122
5120
|
};
|
|
5123
|
-
function
|
|
5121
|
+
function Il(e, t) {
|
|
5124
5122
|
return t !== "rtl" ? e : e === "ArrowLeft" ? "ArrowRight" : e === "ArrowRight" ? "ArrowLeft" : e;
|
|
5125
5123
|
}
|
|
5126
|
-
function
|
|
5127
|
-
const r =
|
|
5124
|
+
function Ml(e, t, n) {
|
|
5125
|
+
const r = Il(e.key, n);
|
|
5128
5126
|
if (!(t === "vertical" && ["ArrowLeft", "ArrowRight"].includes(r)) && !(t === "horizontal" && ["ArrowUp", "ArrowDown"].includes(r)))
|
|
5129
|
-
return
|
|
5127
|
+
return jl[r];
|
|
5130
5128
|
}
|
|
5131
5129
|
function eo(e, t = !1) {
|
|
5132
5130
|
const n = document.activeElement;
|
|
5133
5131
|
for (const r of e)
|
|
5134
5132
|
if (r === n || (r.focus({ preventScroll: t }), document.activeElement !== n)) return;
|
|
5135
5133
|
}
|
|
5136
|
-
function
|
|
5134
|
+
function _l(e, t) {
|
|
5137
5135
|
return e.map((n, r) => e[(t + r) % e.length]);
|
|
5138
5136
|
}
|
|
5139
|
-
var
|
|
5137
|
+
var Ll = Zr, Fl = Jr, sn = "Radio", [$l, to] = ae(sn), [Wl, Vl] = $l(sn), no = l.forwardRef(
|
|
5140
5138
|
(e, t) => {
|
|
5141
5139
|
const {
|
|
5142
5140
|
__scopeRadio: n,
|
|
@@ -5149,7 +5147,7 @@ var Ml = Zr, _l = Jr, sn = "Radio", [Ll, to] = ae(sn), [Fl, $l] = Ll(sn), no = l
|
|
|
5149
5147
|
form: u,
|
|
5150
5148
|
...d
|
|
5151
5149
|
} = e, [f, h] = l.useState(null), m = z(t, (b) => h(b)), v = l.useRef(!1), p = f ? u || !!f.closest("form") : !0;
|
|
5152
|
-
return /* @__PURE__ */ g.jsxs(
|
|
5150
|
+
return /* @__PURE__ */ g.jsxs(Wl, { scope: n, checked: o, disabled: a, children: [
|
|
5153
5151
|
/* @__PURE__ */ g.jsx(
|
|
5154
5152
|
$.button,
|
|
5155
5153
|
{
|
|
@@ -5168,7 +5166,7 @@ var Ml = Zr, _l = Jr, sn = "Radio", [Ll, to] = ae(sn), [Fl, $l] = Ll(sn), no = l
|
|
|
5168
5166
|
}
|
|
5169
5167
|
),
|
|
5170
5168
|
p && /* @__PURE__ */ g.jsx(
|
|
5171
|
-
|
|
5169
|
+
zl,
|
|
5172
5170
|
{
|
|
5173
5171
|
control: f,
|
|
5174
5172
|
bubbles: !v.current,
|
|
@@ -5187,7 +5185,7 @@ var Ml = Zr, _l = Jr, sn = "Radio", [Ll, to] = ae(sn), [Fl, $l] = Ll(sn), no = l
|
|
|
5187
5185
|
no.displayName = sn;
|
|
5188
5186
|
var ro = "RadioIndicator", oo = l.forwardRef(
|
|
5189
5187
|
(e, t) => {
|
|
5190
|
-
const { __scopeRadio: n, forceMount: r, ...o } = e, s =
|
|
5188
|
+
const { __scopeRadio: n, forceMount: r, ...o } = e, s = Vl(ro, n);
|
|
5191
5189
|
return /* @__PURE__ */ g.jsx(te, { present: r || s.checked, children: /* @__PURE__ */ g.jsx(
|
|
5192
5190
|
$.span,
|
|
5193
5191
|
{
|
|
@@ -5200,7 +5198,7 @@ var ro = "RadioIndicator", oo = l.forwardRef(
|
|
|
5200
5198
|
}
|
|
5201
5199
|
);
|
|
5202
5200
|
oo.displayName = ro;
|
|
5203
|
-
var
|
|
5201
|
+
var zl = (e) => {
|
|
5204
5202
|
const { control: t, checked: n, bubbles: r = !0, ...o } = e, s = l.useRef(null), a = Vr(n), i = Qt(t);
|
|
5205
5203
|
return l.useEffect(() => {
|
|
5206
5204
|
const c = s.current, u = window.HTMLInputElement.prototype, f = Object.getOwnPropertyDescriptor(u, "checked").set;
|
|
@@ -5231,10 +5229,10 @@ var Wl = (e) => {
|
|
|
5231
5229
|
function so(e) {
|
|
5232
5230
|
return e ? "checked" : "unchecked";
|
|
5233
5231
|
}
|
|
5234
|
-
var
|
|
5232
|
+
var Bl = ["ArrowUp", "ArrowDown", "ArrowLeft", "ArrowRight"], an = "RadioGroup", [Hl, rd] = ae(an, [
|
|
5235
5233
|
qr,
|
|
5236
5234
|
to
|
|
5237
|
-
]), ao = qr(), io = to(), [
|
|
5235
|
+
]), ao = qr(), io = to(), [Gl, Ul] = Hl(an), lo = l.forwardRef(
|
|
5238
5236
|
(e, t) => {
|
|
5239
5237
|
const {
|
|
5240
5238
|
__scopeRadioGroup: n,
|
|
@@ -5254,7 +5252,7 @@ var Vl = ["ArrowUp", "ArrowDown", "ArrowLeft", "ArrowRight"], an = "RadioGroup",
|
|
|
5254
5252
|
onChange: f
|
|
5255
5253
|
});
|
|
5256
5254
|
return /* @__PURE__ */ g.jsx(
|
|
5257
|
-
|
|
5255
|
+
Gl,
|
|
5258
5256
|
{
|
|
5259
5257
|
scope: n,
|
|
5260
5258
|
name: r,
|
|
@@ -5263,7 +5261,7 @@ var Vl = ["ArrowUp", "ArrowDown", "ArrowLeft", "ArrowRight"], an = "RadioGroup",
|
|
|
5263
5261
|
value: p,
|
|
5264
5262
|
onValueChange: b,
|
|
5265
5263
|
children: /* @__PURE__ */ g.jsx(
|
|
5266
|
-
|
|
5264
|
+
Ll,
|
|
5267
5265
|
{
|
|
5268
5266
|
asChild: !0,
|
|
5269
5267
|
...m,
|
|
@@ -5291,16 +5289,16 @@ var Vl = ["ArrowUp", "ArrowDown", "ArrowLeft", "ArrowRight"], an = "RadioGroup",
|
|
|
5291
5289
|
lo.displayName = an;
|
|
5292
5290
|
var co = "RadioGroupItem", uo = l.forwardRef(
|
|
5293
5291
|
(e, t) => {
|
|
5294
|
-
const { __scopeRadioGroup: n, disabled: r, ...o } = e, s =
|
|
5292
|
+
const { __scopeRadioGroup: n, disabled: r, ...o } = e, s = Ul(co, n), a = s.disabled || r, i = ao(n), c = io(n), u = l.useRef(null), d = z(t, u), f = s.value === o.value, h = l.useRef(!1);
|
|
5295
5293
|
return l.useEffect(() => {
|
|
5296
5294
|
const m = (p) => {
|
|
5297
|
-
|
|
5295
|
+
Bl.includes(p.key) && (h.current = !0);
|
|
5298
5296
|
}, v = () => h.current = !1;
|
|
5299
5297
|
return document.addEventListener("keydown", m), document.addEventListener("keyup", v), () => {
|
|
5300
5298
|
document.removeEventListener("keydown", m), document.removeEventListener("keyup", v);
|
|
5301
5299
|
};
|
|
5302
5300
|
}, []), /* @__PURE__ */ g.jsx(
|
|
5303
|
-
|
|
5301
|
+
Fl,
|
|
5304
5302
|
{
|
|
5305
5303
|
asChild: !0,
|
|
5306
5304
|
...i,
|
|
@@ -5331,16 +5329,16 @@ var co = "RadioGroupItem", uo = l.forwardRef(
|
|
|
5331
5329
|
}
|
|
5332
5330
|
);
|
|
5333
5331
|
uo.displayName = co;
|
|
5334
|
-
var
|
|
5332
|
+
var Kl = "RadioGroupIndicator", fo = l.forwardRef(
|
|
5335
5333
|
(e, t) => {
|
|
5336
5334
|
const { __scopeRadioGroup: n, ...r } = e, o = io(n);
|
|
5337
5335
|
return /* @__PURE__ */ g.jsx(oo, { ...o, ...r, ref: t });
|
|
5338
5336
|
}
|
|
5339
5337
|
);
|
|
5340
|
-
fo.displayName =
|
|
5341
|
-
var po = lo, mo = uo,
|
|
5342
|
-
const
|
|
5343
|
-
|
|
5338
|
+
fo.displayName = Kl;
|
|
5339
|
+
var po = lo, mo = uo, Yl = fo;
|
|
5340
|
+
const Xl = H(({ className: e, ...t }, n) => /* @__PURE__ */ g.jsx(po, { className: M("al-grid al-gap-2", e), ...t, ref: n }));
|
|
5341
|
+
Xl.displayName = po.displayName;
|
|
5344
5342
|
const go = H(({ className: e, ...t }, n) => /* @__PURE__ */ g.jsx(
|
|
5345
5343
|
mo,
|
|
5346
5344
|
{
|
|
@@ -5350,11 +5348,11 @@ const go = H(({ className: e, ...t }, n) => /* @__PURE__ */ g.jsx(
|
|
|
5350
5348
|
e
|
|
5351
5349
|
),
|
|
5352
5350
|
...t,
|
|
5353
|
-
children: /* @__PURE__ */ g.jsx(
|
|
5351
|
+
children: /* @__PURE__ */ g.jsx(Yl, { className: "al-flex al-items-center al-justify-center", children: /* @__PURE__ */ g.jsx(ys, { className: "al-h-2.5 al-w-2.5 al-fill-current al-text-current" }) })
|
|
5354
5352
|
}
|
|
5355
5353
|
));
|
|
5356
5354
|
go.displayName = mo.displayName;
|
|
5357
|
-
const
|
|
5355
|
+
const ql = l.forwardRef(
|
|
5358
5356
|
({ className: e, type: t, icon: n, iconPosition: r = "left", ...o }, s) => t === "checkbox" ? /* @__PURE__ */ g.jsx(
|
|
5359
5357
|
Kr,
|
|
5360
5358
|
{
|
|
@@ -5404,8 +5402,8 @@ const Yl = l.forwardRef(
|
|
|
5404
5402
|
}
|
|
5405
5403
|
)
|
|
5406
5404
|
);
|
|
5407
|
-
|
|
5408
|
-
const
|
|
5405
|
+
ql.displayName = "Input";
|
|
5406
|
+
const Zl = l.forwardRef(
|
|
5409
5407
|
({ className: e, ...t }, n) => /* @__PURE__ */ g.jsx(
|
|
5410
5408
|
"textarea",
|
|
5411
5409
|
{
|
|
@@ -5418,8 +5416,68 @@ const Xl = l.forwardRef(
|
|
|
5418
5416
|
}
|
|
5419
5417
|
)
|
|
5420
5418
|
);
|
|
5421
|
-
|
|
5422
|
-
|
|
5419
|
+
Zl.displayName = "Textarea";
|
|
5420
|
+
/**
|
|
5421
|
+
* @license @tabler/icons-react v3.34.1 - MIT
|
|
5422
|
+
*
|
|
5423
|
+
* This source code is licensed under the MIT license.
|
|
5424
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
5425
|
+
*/
|
|
5426
|
+
var Ql = {
|
|
5427
|
+
outline: {
|
|
5428
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
5429
|
+
width: 24,
|
|
5430
|
+
height: 24,
|
|
5431
|
+
viewBox: "0 0 24 24",
|
|
5432
|
+
fill: "none",
|
|
5433
|
+
stroke: "currentColor",
|
|
5434
|
+
strokeWidth: 2,
|
|
5435
|
+
strokeLinecap: "round",
|
|
5436
|
+
strokeLinejoin: "round"
|
|
5437
|
+
},
|
|
5438
|
+
filled: {
|
|
5439
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
5440
|
+
width: 24,
|
|
5441
|
+
height: 24,
|
|
5442
|
+
viewBox: "0 0 24 24",
|
|
5443
|
+
fill: "currentColor",
|
|
5444
|
+
stroke: "none"
|
|
5445
|
+
}
|
|
5446
|
+
};
|
|
5447
|
+
/**
|
|
5448
|
+
* @license @tabler/icons-react v3.34.1 - MIT
|
|
5449
|
+
*
|
|
5450
|
+
* This source code is licensed under the MIT license.
|
|
5451
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
5452
|
+
*/
|
|
5453
|
+
const od = (e, t, n, r) => {
|
|
5454
|
+
const o = H(
|
|
5455
|
+
({ color: s = "currentColor", size: a = 24, stroke: i = 2, title: c, className: u, children: d, ...f }, h) => Qe(
|
|
5456
|
+
"svg",
|
|
5457
|
+
{
|
|
5458
|
+
ref: h,
|
|
5459
|
+
...Ql[e],
|
|
5460
|
+
width: a,
|
|
5461
|
+
height: a,
|
|
5462
|
+
className: ["tabler-icon", `tabler-icon-${t}`, u].join(" "),
|
|
5463
|
+
...e === "filled" ? {
|
|
5464
|
+
fill: s
|
|
5465
|
+
} : {
|
|
5466
|
+
strokeWidth: i,
|
|
5467
|
+
stroke: s
|
|
5468
|
+
},
|
|
5469
|
+
...f
|
|
5470
|
+
},
|
|
5471
|
+
[
|
|
5472
|
+
c && Qe("title", { key: "svg-title" }, c),
|
|
5473
|
+
...r.map(([m, v]) => Qe(m, v)),
|
|
5474
|
+
...Array.isArray(d) ? d : [d]
|
|
5475
|
+
]
|
|
5476
|
+
)
|
|
5477
|
+
);
|
|
5478
|
+
return o.displayName = `${n}`, o;
|
|
5479
|
+
};
|
|
5480
|
+
var wt = "focusScope.autoFocusOnMount", Ct = "focusScope.autoFocusOnUnmount", $n = { bubbles: !1, cancelable: !0 }, Jl = "FocusScope", ln = l.forwardRef((e, t) => {
|
|
5423
5481
|
const {
|
|
5424
5482
|
loop: n = !1,
|
|
5425
5483
|
trapped: r = !1,
|
|
@@ -5462,7 +5520,7 @@ var wt = "focusScope.autoFocusOnMount", Ct = "focusScope.autoFocusOnUnmount", $n
|
|
|
5462
5520
|
const p = document.activeElement;
|
|
5463
5521
|
if (!i.contains(p)) {
|
|
5464
5522
|
const y = new CustomEvent(wt, $n);
|
|
5465
|
-
i.addEventListener(wt, u), i.dispatchEvent(y), y.defaultPrevented || (
|
|
5523
|
+
i.addEventListener(wt, u), i.dispatchEvent(y), y.defaultPrevented || (ec(sc(ho(i)), { select: !0 }), document.activeElement === p && ce(i));
|
|
5466
5524
|
}
|
|
5467
5525
|
return () => {
|
|
5468
5526
|
i.removeEventListener(wt, u), setTimeout(() => {
|
|
@@ -5477,7 +5535,7 @@ var wt = "focusScope.autoFocusOnMount", Ct = "focusScope.autoFocusOnUnmount", $n
|
|
|
5477
5535
|
if (!n && !r || m.paused) return;
|
|
5478
5536
|
const b = p.key === "Tab" && !p.altKey && !p.ctrlKey && !p.metaKey, y = document.activeElement;
|
|
5479
5537
|
if (b && y) {
|
|
5480
|
-
const x = p.currentTarget, [C, w] =
|
|
5538
|
+
const x = p.currentTarget, [C, w] = tc(x);
|
|
5481
5539
|
C && w ? !p.shiftKey && y === w ? (p.preventDefault(), n && ce(C, { select: !0 })) : p.shiftKey && y === C && (p.preventDefault(), n && ce(w, { select: !0 })) : y === x && p.preventDefault();
|
|
5482
5540
|
}
|
|
5483
5541
|
},
|
|
@@ -5485,13 +5543,13 @@ var wt = "focusScope.autoFocusOnMount", Ct = "focusScope.autoFocusOnUnmount", $n
|
|
|
5485
5543
|
);
|
|
5486
5544
|
return /* @__PURE__ */ g.jsx($.div, { tabIndex: -1, ...a, ref: h, onKeyDown: v });
|
|
5487
5545
|
});
|
|
5488
|
-
ln.displayName =
|
|
5489
|
-
function
|
|
5546
|
+
ln.displayName = Jl;
|
|
5547
|
+
function ec(e, { select: t = !1 } = {}) {
|
|
5490
5548
|
const n = document.activeElement;
|
|
5491
5549
|
for (const r of e)
|
|
5492
5550
|
if (ce(r, { select: t }), document.activeElement !== n) return;
|
|
5493
5551
|
}
|
|
5494
|
-
function
|
|
5552
|
+
function tc(e) {
|
|
5495
5553
|
const t = ho(e), n = Wn(t, e), r = Wn(t.reverse(), e);
|
|
5496
5554
|
return [n, r];
|
|
5497
5555
|
}
|
|
@@ -5507,9 +5565,9 @@ function ho(e) {
|
|
|
5507
5565
|
}
|
|
5508
5566
|
function Wn(e, t) {
|
|
5509
5567
|
for (const n of e)
|
|
5510
|
-
if (!
|
|
5568
|
+
if (!nc(n, { upTo: t })) return n;
|
|
5511
5569
|
}
|
|
5512
|
-
function
|
|
5570
|
+
function nc(e, { upTo: t }) {
|
|
5513
5571
|
if (getComputedStyle(e).visibility === "hidden") return !0;
|
|
5514
5572
|
for (; e; ) {
|
|
5515
5573
|
if (t !== void 0 && e === t) return !1;
|
|
@@ -5518,17 +5576,17 @@ function Jl(e, { upTo: t }) {
|
|
|
5518
5576
|
}
|
|
5519
5577
|
return !1;
|
|
5520
5578
|
}
|
|
5521
|
-
function
|
|
5579
|
+
function rc(e) {
|
|
5522
5580
|
return e instanceof HTMLInputElement && "select" in e;
|
|
5523
5581
|
}
|
|
5524
5582
|
function ce(e, { select: t = !1 } = {}) {
|
|
5525
5583
|
if (e && e.focus) {
|
|
5526
5584
|
const n = document.activeElement;
|
|
5527
|
-
e.focus({ preventScroll: !0 }), e !== n &&
|
|
5585
|
+
e.focus({ preventScroll: !0 }), e !== n && rc(e) && t && e.select();
|
|
5528
5586
|
}
|
|
5529
5587
|
}
|
|
5530
|
-
var Vn =
|
|
5531
|
-
function
|
|
5588
|
+
var Vn = oc();
|
|
5589
|
+
function oc() {
|
|
5532
5590
|
let e = [];
|
|
5533
5591
|
return {
|
|
5534
5592
|
add(t) {
|
|
@@ -5545,7 +5603,7 @@ function zn(e, t) {
|
|
|
5545
5603
|
const n = [...e], r = n.indexOf(t);
|
|
5546
5604
|
return r !== -1 && n.splice(r, 1), n;
|
|
5547
5605
|
}
|
|
5548
|
-
function
|
|
5606
|
+
function sc(e) {
|
|
5549
5607
|
return e.filter((t) => t.tagName !== "A");
|
|
5550
5608
|
}
|
|
5551
5609
|
var Et = 0;
|
|
@@ -5578,16 +5636,16 @@ function bo(e, t) {
|
|
|
5578
5636
|
t.indexOf(r[o]) < 0 && Object.prototype.propertyIsEnumerable.call(e, r[o]) && (n[r[o]] = e[r[o]]);
|
|
5579
5637
|
return n;
|
|
5580
5638
|
}
|
|
5581
|
-
function
|
|
5639
|
+
function ac(e, t, n) {
|
|
5582
5640
|
if (n || arguments.length === 2) for (var r = 0, o = t.length, s; r < o; r++)
|
|
5583
5641
|
(s || !(r in t)) && (s || (s = Array.prototype.slice.call(t, 0, r)), s[r] = t[r]);
|
|
5584
5642
|
return e.concat(s || Array.prototype.slice.call(t));
|
|
5585
5643
|
}
|
|
5586
|
-
var et = "right-scroll-bar-position", tt = "width-before-scroll-bar",
|
|
5644
|
+
var et = "right-scroll-bar-position", tt = "width-before-scroll-bar", ic = "with-scroll-bars-hidden", lc = "--removed-body-scroll-bar-size";
|
|
5587
5645
|
function Rt(e, t) {
|
|
5588
5646
|
return typeof e == "function" ? e(t) : e && (e.current = t), e;
|
|
5589
5647
|
}
|
|
5590
|
-
function
|
|
5648
|
+
function cc(e, t) {
|
|
5591
5649
|
var n = Es(function() {
|
|
5592
5650
|
return {
|
|
5593
5651
|
// value
|
|
@@ -5608,14 +5666,14 @@ function ac(e, t) {
|
|
|
5608
5666
|
})[0];
|
|
5609
5667
|
return n.callback = t, n.facade;
|
|
5610
5668
|
}
|
|
5611
|
-
var
|
|
5612
|
-
function
|
|
5613
|
-
var n =
|
|
5669
|
+
var uc = typeof window < "u" ? l.useLayoutEffect : l.useEffect, Hn = /* @__PURE__ */ new WeakMap();
|
|
5670
|
+
function dc(e, t) {
|
|
5671
|
+
var n = cc(null, function(r) {
|
|
5614
5672
|
return e.forEach(function(o) {
|
|
5615
5673
|
return Rt(o, r);
|
|
5616
5674
|
});
|
|
5617
5675
|
});
|
|
5618
|
-
return
|
|
5676
|
+
return uc(function() {
|
|
5619
5677
|
var r = Hn.get(n);
|
|
5620
5678
|
if (r) {
|
|
5621
5679
|
var o = new Set(r), s = new Set(e), a = n.current;
|
|
@@ -5628,11 +5686,11 @@ function lc(e, t) {
|
|
|
5628
5686
|
Hn.set(n, e);
|
|
5629
5687
|
}, [e]), n;
|
|
5630
5688
|
}
|
|
5631
|
-
function
|
|
5689
|
+
function fc(e) {
|
|
5632
5690
|
return e;
|
|
5633
5691
|
}
|
|
5634
|
-
function
|
|
5635
|
-
t === void 0 && (t =
|
|
5692
|
+
function pc(e, t) {
|
|
5693
|
+
t === void 0 && (t = fc);
|
|
5636
5694
|
var n = [], r = !1, o = {
|
|
5637
5695
|
read: function() {
|
|
5638
5696
|
if (r)
|
|
@@ -5686,9 +5744,9 @@ function uc(e, t) {
|
|
|
5686
5744
|
};
|
|
5687
5745
|
return o;
|
|
5688
5746
|
}
|
|
5689
|
-
function
|
|
5747
|
+
function mc(e) {
|
|
5690
5748
|
e === void 0 && (e = {});
|
|
5691
|
-
var t =
|
|
5749
|
+
var t = pc(null);
|
|
5692
5750
|
return t.options = Q({ async: !0, ssr: !1 }, e), t;
|
|
5693
5751
|
}
|
|
5694
5752
|
var yo = function(e) {
|
|
@@ -5701,16 +5759,16 @@ var yo = function(e) {
|
|
|
5701
5759
|
return l.createElement(r, Q({}, n));
|
|
5702
5760
|
};
|
|
5703
5761
|
yo.isSideCarExport = !0;
|
|
5704
|
-
function
|
|
5762
|
+
function gc(e, t) {
|
|
5705
5763
|
return e.useMedium(t), yo;
|
|
5706
5764
|
}
|
|
5707
|
-
var xo =
|
|
5765
|
+
var xo = mc(), Pt = function() {
|
|
5708
5766
|
}, ht = l.forwardRef(function(e, t) {
|
|
5709
5767
|
var n = l.useRef(null), r = l.useState({
|
|
5710
5768
|
onScrollCapture: Pt,
|
|
5711
5769
|
onWheelCapture: Pt,
|
|
5712
5770
|
onTouchMoveCapture: Pt
|
|
5713
|
-
}), o = r[0], s = r[1], a = e.forwardProps, i = e.children, c = e.className, u = e.removeScrollBar, d = e.enabled, f = e.shards, h = e.sideCar, m = e.noIsolation, v = e.inert, p = e.allowPinchZoom, b = e.as, y = b === void 0 ? "div" : b, x = e.gapMode, C = bo(e, ["forwardProps", "children", "className", "removeScrollBar", "enabled", "shards", "sideCar", "noIsolation", "inert", "allowPinchZoom", "as", "gapMode"]), w = h, E =
|
|
5771
|
+
}), o = r[0], s = r[1], a = e.forwardProps, i = e.children, c = e.className, u = e.removeScrollBar, d = e.enabled, f = e.shards, h = e.sideCar, m = e.noIsolation, v = e.inert, p = e.allowPinchZoom, b = e.as, y = b === void 0 ? "div" : b, x = e.gapMode, C = bo(e, ["forwardProps", "children", "className", "removeScrollBar", "enabled", "shards", "sideCar", "noIsolation", "inert", "allowPinchZoom", "as", "gapMode"]), w = h, E = dc([n, t]), P = Q(Q({}, C), o);
|
|
5714
5772
|
return l.createElement(
|
|
5715
5773
|
l.Fragment,
|
|
5716
5774
|
null,
|
|
@@ -5727,37 +5785,37 @@ ht.classNames = {
|
|
|
5727
5785
|
fullWidth: tt,
|
|
5728
5786
|
zeroRight: et
|
|
5729
5787
|
};
|
|
5730
|
-
var
|
|
5788
|
+
var hc = function() {
|
|
5731
5789
|
if (typeof __webpack_nonce__ < "u")
|
|
5732
5790
|
return __webpack_nonce__;
|
|
5733
5791
|
};
|
|
5734
|
-
function
|
|
5792
|
+
function vc() {
|
|
5735
5793
|
if (!document)
|
|
5736
5794
|
return null;
|
|
5737
5795
|
var e = document.createElement("style");
|
|
5738
5796
|
e.type = "text/css";
|
|
5739
|
-
var t =
|
|
5797
|
+
var t = hc();
|
|
5740
5798
|
return t && e.setAttribute("nonce", t), e;
|
|
5741
5799
|
}
|
|
5742
|
-
function
|
|
5800
|
+
function bc(e, t) {
|
|
5743
5801
|
e.styleSheet ? e.styleSheet.cssText = t : e.appendChild(document.createTextNode(t));
|
|
5744
5802
|
}
|
|
5745
|
-
function
|
|
5803
|
+
function yc(e) {
|
|
5746
5804
|
var t = document.head || document.getElementsByTagName("head")[0];
|
|
5747
5805
|
t.appendChild(e);
|
|
5748
5806
|
}
|
|
5749
|
-
var
|
|
5807
|
+
var xc = function() {
|
|
5750
5808
|
var e = 0, t = null;
|
|
5751
5809
|
return {
|
|
5752
5810
|
add: function(n) {
|
|
5753
|
-
e == 0 && (t =
|
|
5811
|
+
e == 0 && (t = vc()) && (bc(t, n), yc(t)), e++;
|
|
5754
5812
|
},
|
|
5755
5813
|
remove: function() {
|
|
5756
5814
|
e--, !e && t && (t.parentNode && t.parentNode.removeChild(t), t = null);
|
|
5757
5815
|
}
|
|
5758
5816
|
};
|
|
5759
|
-
},
|
|
5760
|
-
var e =
|
|
5817
|
+
}, wc = function() {
|
|
5818
|
+
var e = xc();
|
|
5761
5819
|
return function(t, n) {
|
|
5762
5820
|
l.useEffect(function() {
|
|
5763
5821
|
return e.add(t), function() {
|
|
@@ -5766,35 +5824,35 @@ var vc = function() {
|
|
|
5766
5824
|
}, [t && n]);
|
|
5767
5825
|
};
|
|
5768
5826
|
}, wo = function() {
|
|
5769
|
-
var e =
|
|
5827
|
+
var e = wc(), t = function(n) {
|
|
5770
5828
|
var r = n.styles, o = n.dynamic;
|
|
5771
5829
|
return e(r, o), null;
|
|
5772
5830
|
};
|
|
5773
5831
|
return t;
|
|
5774
|
-
},
|
|
5832
|
+
}, Cc = {
|
|
5775
5833
|
left: 0,
|
|
5776
5834
|
top: 0,
|
|
5777
5835
|
right: 0,
|
|
5778
5836
|
gap: 0
|
|
5779
5837
|
}, St = function(e) {
|
|
5780
5838
|
return parseInt(e || "", 10) || 0;
|
|
5781
|
-
},
|
|
5839
|
+
}, Ec = function(e) {
|
|
5782
5840
|
var t = window.getComputedStyle(document.body), n = t[e === "padding" ? "paddingLeft" : "marginLeft"], r = t[e === "padding" ? "paddingTop" : "marginTop"], o = t[e === "padding" ? "paddingRight" : "marginRight"];
|
|
5783
5841
|
return [St(n), St(r), St(o)];
|
|
5784
|
-
},
|
|
5842
|
+
}, Rc = function(e) {
|
|
5785
5843
|
if (e === void 0 && (e = "margin"), typeof window > "u")
|
|
5786
|
-
return
|
|
5787
|
-
var t =
|
|
5844
|
+
return Cc;
|
|
5845
|
+
var t = Ec(e), n = document.documentElement.clientWidth, r = window.innerWidth;
|
|
5788
5846
|
return {
|
|
5789
5847
|
left: t[0],
|
|
5790
5848
|
top: t[1],
|
|
5791
5849
|
right: t[2],
|
|
5792
5850
|
gap: Math.max(0, r - n + t[2] - t[0])
|
|
5793
5851
|
};
|
|
5794
|
-
},
|
|
5852
|
+
}, Pc = wo(), Ae = "data-scroll-locked", Sc = function(e, t, n, r) {
|
|
5795
5853
|
var o = e.left, s = e.top, a = e.right, i = e.gap;
|
|
5796
5854
|
return n === void 0 && (n = "margin"), `
|
|
5797
|
-
.`.concat(
|
|
5855
|
+
.`.concat(ic, ` {
|
|
5798
5856
|
overflow: hidden `).concat(r, `;
|
|
5799
5857
|
padding-right: `).concat(i, "px ").concat(r, `;
|
|
5800
5858
|
}
|
|
@@ -5832,26 +5890,26 @@ var vc = function() {
|
|
|
5832
5890
|
}
|
|
5833
5891
|
|
|
5834
5892
|
body[`).concat(Ae, `] {
|
|
5835
|
-
`).concat(
|
|
5893
|
+
`).concat(lc, ": ").concat(i, `px;
|
|
5836
5894
|
}
|
|
5837
5895
|
`);
|
|
5838
5896
|
}, Gn = function() {
|
|
5839
5897
|
var e = parseInt(document.body.getAttribute(Ae) || "0", 10);
|
|
5840
5898
|
return isFinite(e) ? e : 0;
|
|
5841
|
-
},
|
|
5899
|
+
}, Ac = function() {
|
|
5842
5900
|
l.useEffect(function() {
|
|
5843
5901
|
return document.body.setAttribute(Ae, (Gn() + 1).toString()), function() {
|
|
5844
5902
|
var e = Gn() - 1;
|
|
5845
5903
|
e <= 0 ? document.body.removeAttribute(Ae) : document.body.setAttribute(Ae, e.toString());
|
|
5846
5904
|
};
|
|
5847
5905
|
}, []);
|
|
5848
|
-
},
|
|
5906
|
+
}, Nc = function(e) {
|
|
5849
5907
|
var t = e.noRelative, n = e.noImportant, r = e.gapMode, o = r === void 0 ? "margin" : r;
|
|
5850
|
-
|
|
5908
|
+
Ac();
|
|
5851
5909
|
var s = l.useMemo(function() {
|
|
5852
|
-
return
|
|
5910
|
+
return Rc(o);
|
|
5853
5911
|
}, [o]);
|
|
5854
|
-
return l.createElement(
|
|
5912
|
+
return l.createElement(Pc, { styles: Sc(s, !t, o, n ? "" : "!important") });
|
|
5855
5913
|
}, Vt = !1;
|
|
5856
5914
|
if (typeof window < "u")
|
|
5857
5915
|
try {
|
|
@@ -5864,7 +5922,7 @@ if (typeof window < "u")
|
|
|
5864
5922
|
} catch {
|
|
5865
5923
|
Vt = !1;
|
|
5866
5924
|
}
|
|
5867
|
-
var we = Vt ? { passive: !1 } : !1,
|
|
5925
|
+
var we = Vt ? { passive: !1 } : !1, Oc = function(e) {
|
|
5868
5926
|
return e.tagName === "TEXTAREA";
|
|
5869
5927
|
}, Co = function(e, t) {
|
|
5870
5928
|
if (!(e instanceof Element))
|
|
@@ -5873,11 +5931,11 @@ var we = Vt ? { passive: !1 } : !1, Sc = function(e) {
|
|
|
5873
5931
|
return (
|
|
5874
5932
|
// not-not-scrollable
|
|
5875
5933
|
n[t] !== "hidden" && // contains scroll inside self
|
|
5876
|
-
!(n.overflowY === n.overflowX && !
|
|
5934
|
+
!(n.overflowY === n.overflowX && !Oc(e) && n[t] === "visible")
|
|
5877
5935
|
);
|
|
5878
|
-
},
|
|
5936
|
+
}, Tc = function(e) {
|
|
5879
5937
|
return Co(e, "overflowY");
|
|
5880
|
-
},
|
|
5938
|
+
}, kc = function(e) {
|
|
5881
5939
|
return Co(e, "overflowX");
|
|
5882
5940
|
}, Un = function(e, t) {
|
|
5883
5941
|
var n = t.ownerDocument, r = t;
|
|
@@ -5892,14 +5950,14 @@ var we = Vt ? { passive: !1 } : !1, Sc = function(e) {
|
|
|
5892
5950
|
r = r.parentNode;
|
|
5893
5951
|
} while (r && r !== n.body);
|
|
5894
5952
|
return !1;
|
|
5895
|
-
},
|
|
5953
|
+
}, Dc = function(e) {
|
|
5896
5954
|
var t = e.scrollTop, n = e.scrollHeight, r = e.clientHeight;
|
|
5897
5955
|
return [
|
|
5898
5956
|
t,
|
|
5899
5957
|
n,
|
|
5900
5958
|
r
|
|
5901
5959
|
];
|
|
5902
|
-
},
|
|
5960
|
+
}, jc = function(e) {
|
|
5903
5961
|
var t = e.scrollLeft, n = e.scrollWidth, r = e.clientWidth;
|
|
5904
5962
|
return [
|
|
5905
5963
|
t,
|
|
@@ -5907,13 +5965,13 @@ var we = Vt ? { passive: !1 } : !1, Sc = function(e) {
|
|
|
5907
5965
|
r
|
|
5908
5966
|
];
|
|
5909
5967
|
}, Eo = function(e, t) {
|
|
5910
|
-
return e === "v" ?
|
|
5968
|
+
return e === "v" ? Tc(t) : kc(t);
|
|
5911
5969
|
}, Ro = function(e, t) {
|
|
5912
|
-
return e === "v" ?
|
|
5913
|
-
},
|
|
5970
|
+
return e === "v" ? Dc(t) : jc(t);
|
|
5971
|
+
}, Ic = function(e, t) {
|
|
5914
5972
|
return e === "h" && t === "rtl" ? -1 : 1;
|
|
5915
|
-
},
|
|
5916
|
-
var s =
|
|
5973
|
+
}, Mc = function(e, t, n, r, o) {
|
|
5974
|
+
var s = Ic(e, window.getComputedStyle(t).direction), a = s * r, i = n.target, c = t.contains(i), u = !1, d = a > 0, f = 0, h = 0;
|
|
5917
5975
|
do {
|
|
5918
5976
|
var m = Ro(e, i), v = m[0], p = m[1], b = m[2], y = p - b - s * v;
|
|
5919
5977
|
(v || y) && Eo(e, i) && (f += y, h += v), i instanceof ShadowRoot ? i = i.host : i = i.parentNode;
|
|
@@ -5929,22 +5987,22 @@ var we = Vt ? { passive: !1 } : !1, Sc = function(e) {
|
|
|
5929
5987
|
return [e.deltaX, e.deltaY];
|
|
5930
5988
|
}, Yn = function(e) {
|
|
5931
5989
|
return e && "current" in e ? e.current : e;
|
|
5932
|
-
},
|
|
5990
|
+
}, _c = function(e, t) {
|
|
5933
5991
|
return e[0] === t[0] && e[1] === t[1];
|
|
5934
|
-
},
|
|
5992
|
+
}, Lc = function(e) {
|
|
5935
5993
|
return `
|
|
5936
5994
|
.block-interactivity-`.concat(e, ` {pointer-events: none;}
|
|
5937
5995
|
.allow-interactivity-`).concat(e, ` {pointer-events: all;}
|
|
5938
5996
|
`);
|
|
5939
|
-
},
|
|
5940
|
-
function
|
|
5941
|
-
var t = l.useRef([]), n = l.useRef([0, 0]), r = l.useRef(), o = l.useState(
|
|
5997
|
+
}, Fc = 0, Ce = [];
|
|
5998
|
+
function $c(e) {
|
|
5999
|
+
var t = l.useRef([]), n = l.useRef([0, 0]), r = l.useRef(), o = l.useState(Fc++)[0], s = l.useState(wo)[0], a = l.useRef(e);
|
|
5942
6000
|
l.useEffect(function() {
|
|
5943
6001
|
a.current = e;
|
|
5944
6002
|
}, [e]), l.useEffect(function() {
|
|
5945
6003
|
if (e.inert) {
|
|
5946
6004
|
document.body.classList.add("block-interactivity-".concat(o));
|
|
5947
|
-
var p =
|
|
6005
|
+
var p = ac([e.lockRef.current], (e.shards || []).map(Yn), !0).filter(Boolean);
|
|
5948
6006
|
return p.forEach(function(b) {
|
|
5949
6007
|
return b.classList.add("allow-interactivity-".concat(o));
|
|
5950
6008
|
}), function() {
|
|
@@ -5968,12 +6026,12 @@ function _c(e) {
|
|
|
5968
6026
|
if (!r.current && "changedTouches" in p && (C || w) && (r.current = E), !E)
|
|
5969
6027
|
return !0;
|
|
5970
6028
|
var I = r.current || E;
|
|
5971
|
-
return
|
|
6029
|
+
return Mc(I, b, p, I === "h" ? C : w, !0);
|
|
5972
6030
|
}, []), c = l.useCallback(function(p) {
|
|
5973
6031
|
var b = p;
|
|
5974
6032
|
if (!(!Ce.length || Ce[Ce.length - 1] !== s)) {
|
|
5975
6033
|
var y = "deltaY" in b ? Kn(b) : Xe(b), x = t.current.filter(function(E) {
|
|
5976
|
-
return E.name === b.type && (E.target === b.target || b.target === E.shadowParent) &&
|
|
6034
|
+
return E.name === b.type && (E.target === b.target || b.target === E.shadowParent) && _c(E.delta, y);
|
|
5977
6035
|
})[0];
|
|
5978
6036
|
if (x && x.should) {
|
|
5979
6037
|
b.cancelable && b.preventDefault();
|
|
@@ -5987,7 +6045,7 @@ function _c(e) {
|
|
|
5987
6045
|
}
|
|
5988
6046
|
}
|
|
5989
6047
|
}, []), u = l.useCallback(function(p, b, y, x) {
|
|
5990
|
-
var C = { name: p, delta: b, target: y, should: x, shadowParent:
|
|
6048
|
+
var C = { name: p, delta: b, target: y, should: x, shadowParent: Wc(y) };
|
|
5991
6049
|
t.current.push(C), setTimeout(function() {
|
|
5992
6050
|
t.current = t.current.filter(function(w) {
|
|
5993
6051
|
return w !== C;
|
|
@@ -6015,28 +6073,28 @@ function _c(e) {
|
|
|
6015
6073
|
return l.createElement(
|
|
6016
6074
|
l.Fragment,
|
|
6017
6075
|
null,
|
|
6018
|
-
v ? l.createElement(s, { styles:
|
|
6019
|
-
m ? l.createElement(
|
|
6076
|
+
v ? l.createElement(s, { styles: Lc(o) }) : null,
|
|
6077
|
+
m ? l.createElement(Nc, { gapMode: e.gapMode }) : null
|
|
6020
6078
|
);
|
|
6021
6079
|
}
|
|
6022
|
-
function
|
|
6080
|
+
function Wc(e) {
|
|
6023
6081
|
for (var t = null; e !== null; )
|
|
6024
6082
|
e instanceof ShadowRoot && (t = e.host, e = e.host), e = e.parentNode;
|
|
6025
6083
|
return t;
|
|
6026
6084
|
}
|
|
6027
|
-
const
|
|
6085
|
+
const Vc = gc(xo, $c);
|
|
6028
6086
|
var cn = l.forwardRef(function(e, t) {
|
|
6029
|
-
return l.createElement(ht, Q({}, e, { ref: t, sideCar:
|
|
6087
|
+
return l.createElement(ht, Q({}, e, { ref: t, sideCar: Vc }));
|
|
6030
6088
|
});
|
|
6031
6089
|
cn.classNames = ht.classNames;
|
|
6032
|
-
var
|
|
6090
|
+
var zc = function(e) {
|
|
6033
6091
|
if (typeof document > "u")
|
|
6034
6092
|
return null;
|
|
6035
6093
|
var t = Array.isArray(e) ? e[0] : e;
|
|
6036
6094
|
return t.ownerDocument.body;
|
|
6037
6095
|
}, Ee = /* @__PURE__ */ new WeakMap(), qe = /* @__PURE__ */ new WeakMap(), Ze = {}, At = 0, Po = function(e) {
|
|
6038
6096
|
return e && (e.host || Po(e.parentNode));
|
|
6039
|
-
},
|
|
6097
|
+
}, Bc = function(e, t) {
|
|
6040
6098
|
return t.map(function(n) {
|
|
6041
6099
|
if (e.contains(n))
|
|
6042
6100
|
return n;
|
|
@@ -6045,8 +6103,8 @@ var $c = function(e) {
|
|
|
6045
6103
|
}).filter(function(n) {
|
|
6046
6104
|
return !!n;
|
|
6047
6105
|
});
|
|
6048
|
-
},
|
|
6049
|
-
var o =
|
|
6106
|
+
}, Hc = function(e, t, n, r) {
|
|
6107
|
+
var o = Bc(t, Array.isArray(e) ? e : [e]);
|
|
6050
6108
|
Ze[n] || (Ze[n] = /* @__PURE__ */ new WeakMap());
|
|
6051
6109
|
var s = Ze[n], a = [], i = /* @__PURE__ */ new Set(), c = new Set(o), u = function(f) {
|
|
6052
6110
|
!f || i.has(f) || (i.add(f), u(f.parentNode));
|
|
@@ -6073,12 +6131,12 @@ var $c = function(e) {
|
|
|
6073
6131
|
};
|
|
6074
6132
|
}, So = function(e, t, n) {
|
|
6075
6133
|
n === void 0 && (n = "data-aria-hidden");
|
|
6076
|
-
var r = Array.from(Array.isArray(e) ? e : [e]), o =
|
|
6077
|
-
return o ? (r.push.apply(r, Array.from(o.querySelectorAll("[aria-live]"))),
|
|
6134
|
+
var r = Array.from(Array.isArray(e) ? e : [e]), o = zc(e);
|
|
6135
|
+
return o ? (r.push.apply(r, Array.from(o.querySelectorAll("[aria-live]"))), Hc(r, o, n, "aria-hidden")) : function() {
|
|
6078
6136
|
return null;
|
|
6079
6137
|
};
|
|
6080
6138
|
}, Ao = l.forwardRef((e, t) => {
|
|
6081
|
-
const { children: n, ...r } = e, o = l.Children.toArray(n), s = o.find(
|
|
6139
|
+
const { children: n, ...r } = e, o = l.Children.toArray(n), s = o.find(Uc);
|
|
6082
6140
|
if (s) {
|
|
6083
6141
|
const a = s.props.children, i = o.map((c) => c === s ? l.Children.count(a) > 1 ? l.Children.only(null) : l.isValidElement(a) ? a.props.children : null : c);
|
|
6084
6142
|
return /* @__PURE__ */ g.jsx(zt, { ...r, ref: t, children: l.isValidElement(a) ? l.cloneElement(a, void 0, i) : null });
|
|
@@ -6089,9 +6147,9 @@ Ao.displayName = "Slot";
|
|
|
6089
6147
|
var zt = l.forwardRef((e, t) => {
|
|
6090
6148
|
const { children: n, ...r } = e;
|
|
6091
6149
|
if (l.isValidElement(n)) {
|
|
6092
|
-
const o =
|
|
6150
|
+
const o = Yc(n);
|
|
6093
6151
|
return l.cloneElement(n, {
|
|
6094
|
-
...
|
|
6152
|
+
...Kc(r, n.props),
|
|
6095
6153
|
// @ts-ignore
|
|
6096
6154
|
ref: t ? De(t, o) : o
|
|
6097
6155
|
});
|
|
@@ -6099,11 +6157,11 @@ var zt = l.forwardRef((e, t) => {
|
|
|
6099
6157
|
return l.Children.count(n) > 1 ? l.Children.only(null) : null;
|
|
6100
6158
|
});
|
|
6101
6159
|
zt.displayName = "SlotClone";
|
|
6102
|
-
var
|
|
6103
|
-
function
|
|
6104
|
-
return l.isValidElement(e) && e.type ===
|
|
6160
|
+
var Gc = ({ children: e }) => /* @__PURE__ */ g.jsx(g.Fragment, { children: e });
|
|
6161
|
+
function Uc(e) {
|
|
6162
|
+
return l.isValidElement(e) && e.type === Gc;
|
|
6105
6163
|
}
|
|
6106
|
-
function
|
|
6164
|
+
function Kc(e, t) {
|
|
6107
6165
|
const n = { ...t };
|
|
6108
6166
|
for (const r in t) {
|
|
6109
6167
|
const o = e[r], s = t[r];
|
|
@@ -6113,12 +6171,12 @@ function Hc(e, t) {
|
|
|
6113
6171
|
}
|
|
6114
6172
|
return { ...e, ...n };
|
|
6115
6173
|
}
|
|
6116
|
-
function
|
|
6174
|
+
function Yc(e) {
|
|
6117
6175
|
var r, o;
|
|
6118
6176
|
let t = (r = Object.getOwnPropertyDescriptor(e.props, "ref")) == null ? void 0 : r.get, n = t && "isReactWarning" in t && t.isReactWarning;
|
|
6119
6177
|
return n ? e.ref : (t = (o = Object.getOwnPropertyDescriptor(e, "ref")) == null ? void 0 : o.get, n = t && "isReactWarning" in t && t.isReactWarning, n ? e.props.ref : e.props.ref || e.ref);
|
|
6120
6178
|
}
|
|
6121
|
-
var un = "Dialog", [No,
|
|
6179
|
+
var un = "Dialog", [No, sd] = ae(un), [Xc, Z] = No(un), Oo = (e) => {
|
|
6122
6180
|
const {
|
|
6123
6181
|
__scopeDialog: t,
|
|
6124
6182
|
children: n,
|
|
@@ -6132,7 +6190,7 @@ var un = "Dialog", [No, nd] = ae(un), [Uc, Z] = No(un), Oo = (e) => {
|
|
|
6132
6190
|
onChange: s
|
|
6133
6191
|
});
|
|
6134
6192
|
return /* @__PURE__ */ g.jsx(
|
|
6135
|
-
|
|
6193
|
+
Xc,
|
|
6136
6194
|
{
|
|
6137
6195
|
scope: t,
|
|
6138
6196
|
triggerRef: i,
|
|
@@ -6168,21 +6226,21 @@ var To = "DialogTrigger", ko = l.forwardRef(
|
|
|
6168
6226
|
}
|
|
6169
6227
|
);
|
|
6170
6228
|
ko.displayName = To;
|
|
6171
|
-
var dn = "DialogPortal", [
|
|
6229
|
+
var dn = "DialogPortal", [qc, Do] = No(dn, {
|
|
6172
6230
|
forceMount: void 0
|
|
6173
6231
|
}), jo = (e) => {
|
|
6174
6232
|
const { __scopeDialog: t, forceMount: n, children: r, container: o } = e, s = Z(dn, t);
|
|
6175
|
-
return /* @__PURE__ */ g.jsx(
|
|
6233
|
+
return /* @__PURE__ */ g.jsx(qc, { scope: t, forceMount: n, children: l.Children.map(r, (a) => /* @__PURE__ */ g.jsx(te, { present: n || s.open, children: /* @__PURE__ */ g.jsx(dt, { asChild: !0, container: o, children: a }) })) });
|
|
6176
6234
|
};
|
|
6177
6235
|
jo.displayName = dn;
|
|
6178
6236
|
var at = "DialogOverlay", Io = l.forwardRef(
|
|
6179
6237
|
(e, t) => {
|
|
6180
6238
|
const n = Do(at, e.__scopeDialog), { forceMount: r = n.forceMount, ...o } = e, s = Z(at, e.__scopeDialog);
|
|
6181
|
-
return s.modal ? /* @__PURE__ */ g.jsx(te, { present: r || s.open, children: /* @__PURE__ */ g.jsx(
|
|
6239
|
+
return s.modal ? /* @__PURE__ */ g.jsx(te, { present: r || s.open, children: /* @__PURE__ */ g.jsx(Zc, { ...o, ref: t }) }) : null;
|
|
6182
6240
|
}
|
|
6183
6241
|
);
|
|
6184
6242
|
Io.displayName = at;
|
|
6185
|
-
var
|
|
6243
|
+
var Zc = l.forwardRef(
|
|
6186
6244
|
(e, t) => {
|
|
6187
6245
|
const { __scopeDialog: n, ...r } = e, o = Z(at, n);
|
|
6188
6246
|
return (
|
|
@@ -6202,11 +6260,11 @@ var Yc = l.forwardRef(
|
|
|
6202
6260
|
), xe = "DialogContent", Mo = l.forwardRef(
|
|
6203
6261
|
(e, t) => {
|
|
6204
6262
|
const n = Do(xe, e.__scopeDialog), { forceMount: r = n.forceMount, ...o } = e, s = Z(xe, e.__scopeDialog);
|
|
6205
|
-
return /* @__PURE__ */ g.jsx(te, { present: r || s.open, children: s.modal ? /* @__PURE__ */ g.jsx(
|
|
6263
|
+
return /* @__PURE__ */ g.jsx(te, { present: r || s.open, children: s.modal ? /* @__PURE__ */ g.jsx(Qc, { ...o, ref: t }) : /* @__PURE__ */ g.jsx(Jc, { ...o, ref: t }) });
|
|
6206
6264
|
}
|
|
6207
6265
|
);
|
|
6208
6266
|
Mo.displayName = xe;
|
|
6209
|
-
var
|
|
6267
|
+
var Qc = l.forwardRef(
|
|
6210
6268
|
(e, t) => {
|
|
6211
6269
|
const n = Z(xe, e.__scopeDialog), r = l.useRef(null), o = z(t, n.contentRef, r);
|
|
6212
6270
|
return l.useEffect(() => {
|
|
@@ -6234,7 +6292,7 @@ var Xc = l.forwardRef(
|
|
|
6234
6292
|
}
|
|
6235
6293
|
);
|
|
6236
6294
|
}
|
|
6237
|
-
),
|
|
6295
|
+
), Jc = l.forwardRef(
|
|
6238
6296
|
(e, t) => {
|
|
6239
6297
|
const n = Z(xe, e.__scopeDialog), r = l.useRef(!1), o = l.useRef(!1);
|
|
6240
6298
|
return /* @__PURE__ */ g.jsx(
|
|
@@ -6285,8 +6343,8 @@ var Xc = l.forwardRef(
|
|
|
6285
6343
|
}
|
|
6286
6344
|
),
|
|
6287
6345
|
/* @__PURE__ */ g.jsxs(g.Fragment, { children: [
|
|
6288
|
-
/* @__PURE__ */ g.jsx(
|
|
6289
|
-
/* @__PURE__ */ g.jsx(
|
|
6346
|
+
/* @__PURE__ */ g.jsx(eu, { titleId: i.titleId }),
|
|
6347
|
+
/* @__PURE__ */ g.jsx(nu, { contentRef: c, descriptionId: i.descriptionId })
|
|
6290
6348
|
] })
|
|
6291
6349
|
] });
|
|
6292
6350
|
}
|
|
@@ -6322,11 +6380,11 @@ Vo.displayName = Wo;
|
|
|
6322
6380
|
function pn(e) {
|
|
6323
6381
|
return e ? "open" : "closed";
|
|
6324
6382
|
}
|
|
6325
|
-
var zo = "DialogTitleWarning", [
|
|
6383
|
+
var zo = "DialogTitleWarning", [ad, Bo] = da(zo, {
|
|
6326
6384
|
contentName: xe,
|
|
6327
6385
|
titleName: fn,
|
|
6328
6386
|
docsSlug: "dialog"
|
|
6329
|
-
}),
|
|
6387
|
+
}), eu = ({ titleId: e }) => {
|
|
6330
6388
|
const t = Bo(zo), n = `\`${t.contentName}\` requires a \`${t.titleName}\` for the component to be accessible for screen reader users.
|
|
6331
6389
|
|
|
6332
6390
|
If you want to hide the \`${t.titleName}\`, you can wrap it with our VisuallyHidden component.
|
|
@@ -6335,80 +6393,20 @@ For more information, see https://radix-ui.com/primitives/docs/components/${t.do
|
|
|
6335
6393
|
return l.useEffect(() => {
|
|
6336
6394
|
e && (document.getElementById(e) || console.error(n));
|
|
6337
6395
|
}, [n, e]), null;
|
|
6338
|
-
},
|
|
6339
|
-
const r = `Warning: Missing \`Description\` or \`aria-describedby={undefined}\` for {${Bo(
|
|
6396
|
+
}, tu = "DialogDescriptionWarning", nu = ({ contentRef: e, descriptionId: t }) => {
|
|
6397
|
+
const r = `Warning: Missing \`Description\` or \`aria-describedby={undefined}\` for {${Bo(tu).contentName}}.`;
|
|
6340
6398
|
return l.useEffect(() => {
|
|
6341
6399
|
var s;
|
|
6342
6400
|
const o = (s = e.current) == null ? void 0 : s.getAttribute("aria-describedby");
|
|
6343
6401
|
t && o && (document.getElementById(t) || console.warn(r));
|
|
6344
6402
|
}, [r, e, t]), null;
|
|
6345
|
-
},
|
|
6346
|
-
/**
|
|
6347
|
-
* @license @tabler/icons-react v3.34.1 - MIT
|
|
6348
|
-
*
|
|
6349
|
-
* This source code is licensed under the MIT license.
|
|
6350
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
6351
|
-
*/
|
|
6352
|
-
var ru = {
|
|
6353
|
-
outline: {
|
|
6354
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
6355
|
-
width: 24,
|
|
6356
|
-
height: 24,
|
|
6357
|
-
viewBox: "0 0 24 24",
|
|
6358
|
-
fill: "none",
|
|
6359
|
-
stroke: "currentColor",
|
|
6360
|
-
strokeWidth: 2,
|
|
6361
|
-
strokeLinecap: "round",
|
|
6362
|
-
strokeLinejoin: "round"
|
|
6363
|
-
},
|
|
6364
|
-
filled: {
|
|
6365
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
6366
|
-
width: 24,
|
|
6367
|
-
height: 24,
|
|
6368
|
-
viewBox: "0 0 24 24",
|
|
6369
|
-
fill: "currentColor",
|
|
6370
|
-
stroke: "none"
|
|
6371
|
-
}
|
|
6372
|
-
};
|
|
6373
|
-
/**
|
|
6374
|
-
* @license @tabler/icons-react v3.34.1 - MIT
|
|
6375
|
-
*
|
|
6376
|
-
* This source code is licensed under the MIT license.
|
|
6377
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
6378
|
-
*/
|
|
6379
|
-
const od = (e, t, n, r) => {
|
|
6380
|
-
const o = H(
|
|
6381
|
-
({ color: s = "currentColor", size: a = 24, stroke: i = 2, title: c, className: u, children: d, ...f }, h) => Qe(
|
|
6382
|
-
"svg",
|
|
6383
|
-
{
|
|
6384
|
-
ref: h,
|
|
6385
|
-
...ru[e],
|
|
6386
|
-
width: a,
|
|
6387
|
-
height: a,
|
|
6388
|
-
className: ["tabler-icon", `tabler-icon-${t}`, u].join(" "),
|
|
6389
|
-
...e === "filled" ? {
|
|
6390
|
-
fill: s
|
|
6391
|
-
} : {
|
|
6392
|
-
strokeWidth: i,
|
|
6393
|
-
stroke: s
|
|
6394
|
-
},
|
|
6395
|
-
...f
|
|
6396
|
-
},
|
|
6397
|
-
[
|
|
6398
|
-
c && Qe("title", { key: "svg-title" }, c),
|
|
6399
|
-
...r.map(([m, v]) => Qe(m, v)),
|
|
6400
|
-
...Array.isArray(d) ? d : [d]
|
|
6401
|
-
]
|
|
6402
|
-
)
|
|
6403
|
-
);
|
|
6404
|
-
return o.displayName = `${n}`, o;
|
|
6405
|
-
};
|
|
6403
|
+
}, ru = Oo, ou = ko, su = jo, Ho = Io, Go = Mo, Uo = Lo, Ko = $o, Yo = Vo;
|
|
6406
6404
|
function Xn(e, t) {
|
|
6407
6405
|
if (typeof e == "function")
|
|
6408
6406
|
return e(t);
|
|
6409
6407
|
e != null && (e.current = t);
|
|
6410
6408
|
}
|
|
6411
|
-
function
|
|
6409
|
+
function au(...e) {
|
|
6412
6410
|
return (t) => {
|
|
6413
6411
|
let n = !1;
|
|
6414
6412
|
const r = e.map((o) => {
|
|
@@ -6424,13 +6422,13 @@ function ou(...e) {
|
|
|
6424
6422
|
};
|
|
6425
6423
|
};
|
|
6426
6424
|
}
|
|
6427
|
-
function
|
|
6428
|
-
return l.useCallback(
|
|
6425
|
+
function iu(...e) {
|
|
6426
|
+
return l.useCallback(au(...e), e);
|
|
6429
6427
|
}
|
|
6430
6428
|
// @__NO_SIDE_EFFECTS__
|
|
6431
|
-
function
|
|
6432
|
-
const t = /* @__PURE__ */
|
|
6433
|
-
const { children: s, ...a } = r, i = l.Children.toArray(s), c = i.find(
|
|
6429
|
+
function lu(e) {
|
|
6430
|
+
const t = /* @__PURE__ */ cu(e), n = l.forwardRef((r, o) => {
|
|
6431
|
+
const { children: s, ...a } = r, i = l.Children.toArray(s), c = i.find(du);
|
|
6434
6432
|
if (c) {
|
|
6435
6433
|
const u = c.props.children, d = i.map((f) => f === c ? l.Children.count(u) > 1 ? l.Children.only(null) : l.isValidElement(u) ? u.props.children : null : f);
|
|
6436
6434
|
return /* @__PURE__ */ g.jsx(t, { ...a, ref: o, children: l.isValidElement(u) ? l.cloneElement(u, void 0, d) : null });
|
|
@@ -6440,22 +6438,22 @@ function au(e) {
|
|
|
6440
6438
|
return n.displayName = `${e}.Slot`, n;
|
|
6441
6439
|
}
|
|
6442
6440
|
// @__NO_SIDE_EFFECTS__
|
|
6443
|
-
function
|
|
6441
|
+
function cu(e) {
|
|
6444
6442
|
const t = l.forwardRef((n, r) => {
|
|
6445
|
-
const { children: o, ...s } = n, a = l.isValidElement(o) ?
|
|
6443
|
+
const { children: o, ...s } = n, a = l.isValidElement(o) ? pu(o) : void 0, i = iu(a, r);
|
|
6446
6444
|
if (l.isValidElement(o)) {
|
|
6447
|
-
const c =
|
|
6445
|
+
const c = fu(s, o.props);
|
|
6448
6446
|
return o.type !== l.Fragment && (c.ref = i), l.cloneElement(o, c);
|
|
6449
6447
|
}
|
|
6450
6448
|
return l.Children.count(o) > 1 ? l.Children.only(null) : null;
|
|
6451
6449
|
});
|
|
6452
6450
|
return t.displayName = `${e}.SlotClone`, t;
|
|
6453
6451
|
}
|
|
6454
|
-
var
|
|
6455
|
-
function
|
|
6456
|
-
return l.isValidElement(e) && typeof e.type == "function" && "__radixId" in e.type && e.type.__radixId ===
|
|
6452
|
+
var uu = Symbol("radix.slottable");
|
|
6453
|
+
function du(e) {
|
|
6454
|
+
return l.isValidElement(e) && typeof e.type == "function" && "__radixId" in e.type && e.type.__radixId === uu;
|
|
6457
6455
|
}
|
|
6458
|
-
function
|
|
6456
|
+
function fu(e, t) {
|
|
6459
6457
|
const n = { ...t };
|
|
6460
6458
|
for (const r in t) {
|
|
6461
6459
|
const o = e[r], s = t[r];
|
|
@@ -6466,12 +6464,12 @@ function uu(e, t) {
|
|
|
6466
6464
|
}
|
|
6467
6465
|
return { ...e, ...n };
|
|
6468
6466
|
}
|
|
6469
|
-
function
|
|
6467
|
+
function pu(e) {
|
|
6470
6468
|
var r, o;
|
|
6471
6469
|
let t = (r = Object.getOwnPropertyDescriptor(e.props, "ref")) == null ? void 0 : r.get, n = t && "isReactWarning" in t && t.isReactWarning;
|
|
6472
6470
|
return n ? e.ref : (t = (o = Object.getOwnPropertyDescriptor(e, "ref")) == null ? void 0 : o.get, n = t && "isReactWarning" in t && t.isReactWarning, n ? e.props.ref : e.props.ref || e.ref);
|
|
6473
6471
|
}
|
|
6474
|
-
var
|
|
6472
|
+
var mu = [
|
|
6475
6473
|
"a",
|
|
6476
6474
|
"button",
|
|
6477
6475
|
"div",
|
|
@@ -6489,14 +6487,14 @@ var fu = [
|
|
|
6489
6487
|
"span",
|
|
6490
6488
|
"svg",
|
|
6491
6489
|
"ul"
|
|
6492
|
-
],
|
|
6493
|
-
const n = /* @__PURE__ */
|
|
6490
|
+
], gu = mu.reduce((e, t) => {
|
|
6491
|
+
const n = /* @__PURE__ */ lu(`Primitive.${t}`), r = l.forwardRef((o, s) => {
|
|
6494
6492
|
const { asChild: a, ...i } = o, c = a ? n : t;
|
|
6495
6493
|
return typeof window < "u" && (window[Symbol.for("radix-ui")] = !0), /* @__PURE__ */ g.jsx(c, { ...i, ref: s });
|
|
6496
6494
|
});
|
|
6497
6495
|
return r.displayName = `Primitive.${t}`, { ...e, [t]: r };
|
|
6498
|
-
}, {}),
|
|
6499
|
-
|
|
6496
|
+
}, {}), hu = "Label", Xo = l.forwardRef((e, t) => /* @__PURE__ */ g.jsx(
|
|
6497
|
+
gu.label,
|
|
6500
6498
|
{
|
|
6501
6499
|
...e,
|
|
6502
6500
|
ref: t,
|
|
@@ -6506,13 +6504,13 @@ var fu = [
|
|
|
6506
6504
|
}
|
|
6507
6505
|
}
|
|
6508
6506
|
));
|
|
6509
|
-
Xo.displayName =
|
|
6507
|
+
Xo.displayName = hu;
|
|
6510
6508
|
var qo = Xo;
|
|
6511
|
-
const
|
|
6509
|
+
const vu = Gt(
|
|
6512
6510
|
"al-text-sm al-font-medium al-leading-none peer-disabled:al-cursor-not-allowed peer-disabled:al-opacity-70"
|
|
6513
|
-
),
|
|
6514
|
-
|
|
6515
|
-
const
|
|
6511
|
+
), bu = l.forwardRef(({ className: e, ...t }, n) => /* @__PURE__ */ g.jsx(qo, { ref: n, className: M(vu(), e), ...t }));
|
|
6512
|
+
bu.displayName = qo.displayName;
|
|
6513
|
+
const yu = H(
|
|
6516
6514
|
({ className: e, ...t }, n) => /* @__PURE__ */ g.jsx(
|
|
6517
6515
|
"div",
|
|
6518
6516
|
{
|
|
@@ -6525,8 +6523,8 @@ const vu = H(
|
|
|
6525
6523
|
}
|
|
6526
6524
|
)
|
|
6527
6525
|
);
|
|
6528
|
-
|
|
6529
|
-
const
|
|
6526
|
+
yu.displayName = "Card";
|
|
6527
|
+
const xu = H(
|
|
6530
6528
|
({ className: e, ...t }, n) => /* @__PURE__ */ g.jsx(
|
|
6531
6529
|
"div",
|
|
6532
6530
|
{
|
|
@@ -6536,8 +6534,8 @@ const bu = H(
|
|
|
6536
6534
|
}
|
|
6537
6535
|
)
|
|
6538
6536
|
);
|
|
6539
|
-
|
|
6540
|
-
const
|
|
6537
|
+
xu.displayName = "CardHeader";
|
|
6538
|
+
const wu = H(
|
|
6541
6539
|
({ className: e, ...t }, n) => /* @__PURE__ */ g.jsx(
|
|
6542
6540
|
"div",
|
|
6543
6541
|
{
|
|
@@ -6547,20 +6545,20 @@ const yu = H(
|
|
|
6547
6545
|
}
|
|
6548
6546
|
)
|
|
6549
6547
|
);
|
|
6550
|
-
|
|
6551
|
-
const
|
|
6548
|
+
wu.displayName = "CardTitle";
|
|
6549
|
+
const Cu = H(
|
|
6552
6550
|
({ className: e, ...t }, n) => /* @__PURE__ */ g.jsx("div", { ref: n, className: M("al-text-sm al-text-muted-foreground", e), ...t })
|
|
6553
6551
|
);
|
|
6554
|
-
|
|
6555
|
-
const
|
|
6552
|
+
Cu.displayName = "CardDescription";
|
|
6553
|
+
const Eu = H(
|
|
6556
6554
|
({ className: e, ...t }, n) => /* @__PURE__ */ g.jsx("div", { ref: n, className: M("al-p-6 al-pt-0", e), ...t })
|
|
6557
6555
|
);
|
|
6558
|
-
|
|
6559
|
-
const
|
|
6556
|
+
Eu.displayName = "CardContent";
|
|
6557
|
+
const Ru = H(
|
|
6560
6558
|
({ className: e, ...t }, n) => /* @__PURE__ */ g.jsx("div", { ref: n, className: M("al-flex al-items-center al-p-6 al-pt-0", e), ...t })
|
|
6561
6559
|
);
|
|
6562
|
-
|
|
6563
|
-
const
|
|
6560
|
+
Ru.displayName = "CardFooter";
|
|
6561
|
+
const id = ru, ld = ou, Pu = su, cd = Yo, Zo = H(({ className: e, ...t }, n) => /* @__PURE__ */ g.jsx(
|
|
6564
6562
|
Ho,
|
|
6565
6563
|
{
|
|
6566
6564
|
ref: n,
|
|
@@ -6572,7 +6570,7 @@ const sd = eu, ad = tu, Eu = nu, id = Yo, Zo = H(({ className: e, ...t }, n) =>
|
|
|
6572
6570
|
}
|
|
6573
6571
|
));
|
|
6574
6572
|
Zo.displayName = Ho.displayName;
|
|
6575
|
-
const
|
|
6573
|
+
const Su = H(({ className: e, children: t, ...n }, r) => /* @__PURE__ */ g.jsxs(Pu, { children: [
|
|
6576
6574
|
/* @__PURE__ */ g.jsx(Zo, {}),
|
|
6577
6575
|
/* @__PURE__ */ g.jsxs(
|
|
6578
6576
|
Go,
|
|
@@ -6593,16 +6591,16 @@ const Ru = H(({ className: e, children: t, ...n }, r) => /* @__PURE__ */ g.jsxs(
|
|
|
6593
6591
|
}
|
|
6594
6592
|
)
|
|
6595
6593
|
] }));
|
|
6596
|
-
|
|
6597
|
-
const
|
|
6594
|
+
Su.displayName = Go.displayName;
|
|
6595
|
+
const Au = ({ className: e, ...t }) => /* @__PURE__ */ g.jsx(
|
|
6598
6596
|
"div",
|
|
6599
6597
|
{
|
|
6600
6598
|
className: M("al-flex al-flex-col al-space-y-1.5 al-text-center sm:al-text-left", e),
|
|
6601
6599
|
...t
|
|
6602
6600
|
}
|
|
6603
6601
|
);
|
|
6604
|
-
|
|
6605
|
-
const
|
|
6602
|
+
Au.displayName = "DialogHeader";
|
|
6603
|
+
const Nu = ({ className: e, ...t }) => /* @__PURE__ */ g.jsx(
|
|
6606
6604
|
"div",
|
|
6607
6605
|
{
|
|
6608
6606
|
className: M(
|
|
@@ -6612,8 +6610,8 @@ const Su = ({ className: e, ...t }) => /* @__PURE__ */ g.jsx(
|
|
|
6612
6610
|
...t
|
|
6613
6611
|
}
|
|
6614
6612
|
);
|
|
6615
|
-
|
|
6616
|
-
const
|
|
6613
|
+
Nu.displayName = "DialogFooter";
|
|
6614
|
+
const Ou = H(({ className: e, ...t }, n) => /* @__PURE__ */ g.jsx(
|
|
6617
6615
|
Uo,
|
|
6618
6616
|
{
|
|
6619
6617
|
ref: n,
|
|
@@ -6621,8 +6619,8 @@ const Au = H(({ className: e, ...t }, n) => /* @__PURE__ */ g.jsx(
|
|
|
6621
6619
|
...t
|
|
6622
6620
|
}
|
|
6623
6621
|
));
|
|
6624
|
-
|
|
6625
|
-
const
|
|
6622
|
+
Ou.displayName = Uo.displayName;
|
|
6623
|
+
const Tu = H(({ className: e, ...t }, n) => /* @__PURE__ */ g.jsx(
|
|
6626
6624
|
Ko,
|
|
6627
6625
|
{
|
|
6628
6626
|
ref: n,
|
|
@@ -6630,9 +6628,9 @@ const Nu = H(({ className: e, ...t }, n) => /* @__PURE__ */ g.jsx(
|
|
|
6630
6628
|
...t
|
|
6631
6629
|
}
|
|
6632
6630
|
));
|
|
6633
|
-
|
|
6631
|
+
Tu.displayName = Ko.displayName;
|
|
6634
6632
|
var Qo = l.forwardRef((e, t) => {
|
|
6635
|
-
const { children: n, ...r } = e, o = l.Children.toArray(n), s = o.find(
|
|
6633
|
+
const { children: n, ...r } = e, o = l.Children.toArray(n), s = o.find(Du);
|
|
6636
6634
|
if (s) {
|
|
6637
6635
|
const a = s.props.children, i = o.map((c) => c === s ? l.Children.count(a) > 1 ? l.Children.only(null) : l.isValidElement(a) ? a.props.children : null : c);
|
|
6638
6636
|
return /* @__PURE__ */ g.jsx(Bt, { ...r, ref: t, children: l.isValidElement(a) ? l.cloneElement(a, void 0, i) : null });
|
|
@@ -6643,9 +6641,9 @@ Qo.displayName = "Slot";
|
|
|
6643
6641
|
var Bt = l.forwardRef((e, t) => {
|
|
6644
6642
|
const { children: n, ...r } = e;
|
|
6645
6643
|
if (l.isValidElement(n)) {
|
|
6646
|
-
const o =
|
|
6644
|
+
const o = Iu(n);
|
|
6647
6645
|
return l.cloneElement(n, {
|
|
6648
|
-
...
|
|
6646
|
+
...ju(r, n.props),
|
|
6649
6647
|
// @ts-ignore
|
|
6650
6648
|
ref: t ? De(t, o) : o
|
|
6651
6649
|
});
|
|
@@ -6653,11 +6651,11 @@ var Bt = l.forwardRef((e, t) => {
|
|
|
6653
6651
|
return l.Children.count(n) > 1 ? l.Children.only(null) : null;
|
|
6654
6652
|
});
|
|
6655
6653
|
Bt.displayName = "SlotClone";
|
|
6656
|
-
var
|
|
6657
|
-
function
|
|
6658
|
-
return l.isValidElement(e) && e.type ===
|
|
6654
|
+
var ku = ({ children: e }) => /* @__PURE__ */ g.jsx(g.Fragment, { children: e });
|
|
6655
|
+
function Du(e) {
|
|
6656
|
+
return l.isValidElement(e) && e.type === ku;
|
|
6659
6657
|
}
|
|
6660
|
-
function
|
|
6658
|
+
function ju(e, t) {
|
|
6661
6659
|
const n = { ...t };
|
|
6662
6660
|
for (const r in t) {
|
|
6663
6661
|
const o = e[r], s = t[r];
|
|
@@ -6667,14 +6665,14 @@ function ku(e, t) {
|
|
|
6667
6665
|
}
|
|
6668
6666
|
return { ...e, ...n };
|
|
6669
6667
|
}
|
|
6670
|
-
function
|
|
6668
|
+
function Iu(e) {
|
|
6671
6669
|
var r, o;
|
|
6672
6670
|
let t = (r = Object.getOwnPropertyDescriptor(e.props, "ref")) == null ? void 0 : r.get, n = t && "isReactWarning" in t && t.isReactWarning;
|
|
6673
6671
|
return n ? e.ref : (t = (o = Object.getOwnPropertyDescriptor(e, "ref")) == null ? void 0 : o.get, n = t && "isReactWarning" in t && t.isReactWarning, n ? e.props.ref : e.props.ref || e.ref);
|
|
6674
6672
|
}
|
|
6675
|
-
var mn = "Popover", [Jo,
|
|
6673
|
+
var mn = "Popover", [Jo, ud] = ae(mn, [
|
|
6676
6674
|
ut
|
|
6677
|
-
]), He = ut(), [
|
|
6675
|
+
]), He = ut(), [Mu, he] = Jo(mn), es = (e) => {
|
|
6678
6676
|
const {
|
|
6679
6677
|
__scopePopover: t,
|
|
6680
6678
|
children: n,
|
|
@@ -6688,7 +6686,7 @@ var mn = "Popover", [Jo, ld] = ae(mn, [
|
|
|
6688
6686
|
onChange: s
|
|
6689
6687
|
});
|
|
6690
6688
|
return /* @__PURE__ */ g.jsx(Sr, { ...i, children: /* @__PURE__ */ g.jsx(
|
|
6691
|
-
|
|
6689
|
+
Mu,
|
|
6692
6690
|
{
|
|
6693
6691
|
scope: t,
|
|
6694
6692
|
contentId: Pe(),
|
|
@@ -6705,13 +6703,13 @@ var mn = "Popover", [Jo, ld] = ae(mn, [
|
|
|
6705
6703
|
) });
|
|
6706
6704
|
};
|
|
6707
6705
|
es.displayName = mn;
|
|
6708
|
-
var ts = "PopoverAnchor",
|
|
6706
|
+
var ts = "PopoverAnchor", _u = l.forwardRef(
|
|
6709
6707
|
(e, t) => {
|
|
6710
6708
|
const { __scopePopover: n, ...r } = e, o = he(ts, n), s = He(n), { onCustomAnchorAdd: a, onCustomAnchorRemove: i } = o;
|
|
6711
6709
|
return l.useEffect(() => (a(), () => i()), [a, i]), /* @__PURE__ */ g.jsx(tn, { ...s, ...r, ref: t });
|
|
6712
6710
|
}
|
|
6713
6711
|
);
|
|
6714
|
-
|
|
6712
|
+
_u.displayName = ts;
|
|
6715
6713
|
var ns = "PopoverTrigger", rs = l.forwardRef(
|
|
6716
6714
|
(e, t) => {
|
|
6717
6715
|
const { __scopePopover: n, ...r } = e, o = he(ns, n), s = He(n), a = z(t, o.triggerRef), i = /* @__PURE__ */ g.jsx(
|
|
@@ -6731,21 +6729,21 @@ var ns = "PopoverTrigger", rs = l.forwardRef(
|
|
|
6731
6729
|
}
|
|
6732
6730
|
);
|
|
6733
6731
|
rs.displayName = ns;
|
|
6734
|
-
var gn = "PopoverPortal", [
|
|
6732
|
+
var gn = "PopoverPortal", [Lu, Fu] = Jo(gn, {
|
|
6735
6733
|
forceMount: void 0
|
|
6736
6734
|
}), os = (e) => {
|
|
6737
6735
|
const { __scopePopover: t, forceMount: n, children: r, container: o } = e, s = he(gn, t);
|
|
6738
|
-
return /* @__PURE__ */ g.jsx(
|
|
6736
|
+
return /* @__PURE__ */ g.jsx(Lu, { scope: t, forceMount: n, children: /* @__PURE__ */ g.jsx(te, { present: n || s.open, children: /* @__PURE__ */ g.jsx(dt, { asChild: !0, container: o, children: r }) }) });
|
|
6739
6737
|
};
|
|
6740
6738
|
os.displayName = gn;
|
|
6741
6739
|
var Te = "PopoverContent", ss = l.forwardRef(
|
|
6742
6740
|
(e, t) => {
|
|
6743
|
-
const n =
|
|
6744
|
-
return /* @__PURE__ */ g.jsx(te, { present: r || s.open, children: s.modal ? /* @__PURE__ */ g.jsx(
|
|
6741
|
+
const n = Fu(Te, e.__scopePopover), { forceMount: r = n.forceMount, ...o } = e, s = he(Te, e.__scopePopover);
|
|
6742
|
+
return /* @__PURE__ */ g.jsx(te, { present: r || s.open, children: s.modal ? /* @__PURE__ */ g.jsx($u, { ...o, ref: t }) : /* @__PURE__ */ g.jsx(Wu, { ...o, ref: t }) });
|
|
6745
6743
|
}
|
|
6746
6744
|
);
|
|
6747
6745
|
ss.displayName = Te;
|
|
6748
|
-
var
|
|
6746
|
+
var $u = l.forwardRef(
|
|
6749
6747
|
(e, t) => {
|
|
6750
6748
|
const n = he(Te, e.__scopePopover), r = l.useRef(null), o = z(t, r), s = l.useRef(!1);
|
|
6751
6749
|
return l.useEffect(() => {
|
|
@@ -6778,7 +6776,7 @@ var Lu = l.forwardRef(
|
|
|
6778
6776
|
}
|
|
6779
6777
|
) });
|
|
6780
6778
|
}
|
|
6781
|
-
),
|
|
6779
|
+
), Wu = l.forwardRef(
|
|
6782
6780
|
(e, t) => {
|
|
6783
6781
|
const n = he(Te, e.__scopePopover), r = l.useRef(!1), o = l.useRef(!1);
|
|
6784
6782
|
return /* @__PURE__ */ g.jsx(
|
|
@@ -6857,7 +6855,7 @@ var Lu = l.forwardRef(
|
|
|
6857
6855
|
}
|
|
6858
6856
|
);
|
|
6859
6857
|
}
|
|
6860
|
-
), is = "PopoverClose",
|
|
6858
|
+
), is = "PopoverClose", Vu = l.forwardRef(
|
|
6861
6859
|
(e, t) => {
|
|
6862
6860
|
const { __scopePopover: n, ...r } = e, o = he(is, n);
|
|
6863
6861
|
return /* @__PURE__ */ g.jsx(
|
|
@@ -6871,19 +6869,19 @@ var Lu = l.forwardRef(
|
|
|
6871
6869
|
);
|
|
6872
6870
|
}
|
|
6873
6871
|
);
|
|
6874
|
-
|
|
6875
|
-
var
|
|
6872
|
+
Vu.displayName = is;
|
|
6873
|
+
var zu = "PopoverArrow", Bu = l.forwardRef(
|
|
6876
6874
|
(e, t) => {
|
|
6877
6875
|
const { __scopePopover: n, ...r } = e, o = He(n);
|
|
6878
6876
|
return /* @__PURE__ */ g.jsx(Nr, { ...o, ...r, ref: t });
|
|
6879
6877
|
}
|
|
6880
6878
|
);
|
|
6881
|
-
|
|
6879
|
+
Bu.displayName = zu;
|
|
6882
6880
|
function ls(e) {
|
|
6883
6881
|
return e ? "open" : "closed";
|
|
6884
6882
|
}
|
|
6885
|
-
var
|
|
6886
|
-
const
|
|
6883
|
+
var Hu = es, Gu = rs, Uu = os, cs = ss;
|
|
6884
|
+
const dd = Hu, fd = Gu, Ku = H(({ className: e, align: t = "center", sideOffset: n = 4, ...r }, o) => /* @__PURE__ */ g.jsx(Uu, { children: /* @__PURE__ */ g.jsx(
|
|
6887
6885
|
cs,
|
|
6888
6886
|
{
|
|
6889
6887
|
ref: o,
|
|
@@ -6896,7 +6894,7 @@ const cd = zu, ud = Bu, Gu = H(({ className: e, align: t = "center", sideOffset:
|
|
|
6896
6894
|
...r
|
|
6897
6895
|
}
|
|
6898
6896
|
) }));
|
|
6899
|
-
|
|
6897
|
+
Ku.displayName = cs.displayName;
|
|
6900
6898
|
const ue = Gt("", {
|
|
6901
6899
|
variants: {
|
|
6902
6900
|
variant: {
|
|
@@ -6925,7 +6923,7 @@ const ue = Gt("", {
|
|
|
6925
6923
|
xl: "al-text-xl"
|
|
6926
6924
|
}
|
|
6927
6925
|
}
|
|
6928
|
-
}),
|
|
6926
|
+
}), pd = () => ({
|
|
6929
6927
|
h1: ue({ variant: "h1", weight: "semibold", size: "xl" }),
|
|
6930
6928
|
h2: ue({ variant: "h2", weight: "semibold", size: "lg" }),
|
|
6931
6929
|
h3: ue({ variant: "h3", weight: "semibold", size: "md" }),
|
|
@@ -6939,7 +6937,7 @@ const ue = Gt("", {
|
|
|
6939
6937
|
orderedList: "al-list-decimal al-ml-4 al-mb-4",
|
|
6940
6938
|
blockquote: "al-mt-6 al-border-l-2 al-pl-6 al-italic",
|
|
6941
6939
|
code: "al-rounded al-p-1 al-font-mono al-text-sm al-font-semibold"
|
|
6942
|
-
}),
|
|
6940
|
+
}), Yu = {
|
|
6943
6941
|
h1: "h1",
|
|
6944
6942
|
h2: "h2",
|
|
6945
6943
|
h3: "h3",
|
|
@@ -6947,7 +6945,7 @@ const ue = Gt("", {
|
|
|
6947
6945
|
subheading: "h5",
|
|
6948
6946
|
body: "p",
|
|
6949
6947
|
caption: "span"
|
|
6950
|
-
},
|
|
6948
|
+
}, md = ({
|
|
6951
6949
|
variant: e = "body",
|
|
6952
6950
|
children: t,
|
|
6953
6951
|
className: n,
|
|
@@ -6955,9 +6953,9 @@ const ue = Gt("", {
|
|
|
6955
6953
|
size: o,
|
|
6956
6954
|
role: s
|
|
6957
6955
|
}) => {
|
|
6958
|
-
const a =
|
|
6956
|
+
const a = Yu[e];
|
|
6959
6957
|
return /* @__PURE__ */ g.jsx(a, { className: M(ue({ variant: e, weight: r, size: o }), n), role: s, children: t });
|
|
6960
|
-
},
|
|
6958
|
+
}, gd = H(function({
|
|
6961
6959
|
children: t,
|
|
6962
6960
|
wrap: n = !1,
|
|
6963
6961
|
justify: r,
|
|
@@ -7037,77 +7035,77 @@ const ue = Gt("", {
|
|
|
7037
7035
|
);
|
|
7038
7036
|
});
|
|
7039
7037
|
export {
|
|
7040
|
-
|
|
7038
|
+
Ku as $,
|
|
7041
7039
|
tn as A,
|
|
7042
|
-
|
|
7040
|
+
gl as B,
|
|
7043
7041
|
Yo as C,
|
|
7044
7042
|
Ko as D,
|
|
7045
7043
|
cn as E,
|
|
7046
7044
|
ln as F,
|
|
7047
7045
|
ba as G,
|
|
7048
7046
|
Yr as H,
|
|
7049
|
-
|
|
7047
|
+
ql as I,
|
|
7050
7048
|
Sr as J,
|
|
7051
7049
|
dt as K,
|
|
7052
7050
|
Pe as L,
|
|
7053
|
-
|
|
7054
|
-
|
|
7051
|
+
id as M,
|
|
7052
|
+
Su as N,
|
|
7055
7053
|
Ho as O,
|
|
7056
7054
|
$ as P,
|
|
7057
7055
|
be as Q,
|
|
7058
|
-
|
|
7059
|
-
|
|
7060
|
-
|
|
7056
|
+
ru as R,
|
|
7057
|
+
sd as S,
|
|
7058
|
+
Zl as T,
|
|
7061
7059
|
fl as U,
|
|
7062
7060
|
Tr as V,
|
|
7063
|
-
|
|
7064
|
-
|
|
7061
|
+
ad as W,
|
|
7062
|
+
gd as X,
|
|
7065
7063
|
dl as Y,
|
|
7066
|
-
|
|
7067
|
-
|
|
7068
|
-
|
|
7069
|
-
|
|
7070
|
-
|
|
7064
|
+
dd as Z,
|
|
7065
|
+
fd as _,
|
|
7066
|
+
ae as a,
|
|
7067
|
+
md as a0,
|
|
7068
|
+
bu as a1,
|
|
7071
7069
|
sa as a2,
|
|
7072
7070
|
oa as a3,
|
|
7073
|
-
|
|
7074
|
-
|
|
7075
|
-
|
|
7076
|
-
|
|
7071
|
+
yu as a4,
|
|
7072
|
+
Eu as a5,
|
|
7073
|
+
wu as a6,
|
|
7074
|
+
xu as a7,
|
|
7077
7075
|
Kr as a8,
|
|
7078
|
-
|
|
7076
|
+
Pu as a9,
|
|
7079
7077
|
Zo as aa,
|
|
7080
|
-
|
|
7081
|
-
|
|
7082
|
-
|
|
7078
|
+
Ju as ab,
|
|
7079
|
+
Qu as ac,
|
|
7080
|
+
td as ad,
|
|
7083
7081
|
cl as ae,
|
|
7084
7082
|
ul as af,
|
|
7085
7083
|
Wr as ag,
|
|
7086
|
-
|
|
7084
|
+
Xl as ah,
|
|
7087
7085
|
go as ai,
|
|
7088
|
-
|
|
7089
|
-
|
|
7090
|
-
|
|
7091
|
-
|
|
7092
|
-
|
|
7093
|
-
|
|
7094
|
-
|
|
7095
|
-
|
|
7096
|
-
|
|
7097
|
-
|
|
7098
|
-
|
|
7099
|
-
|
|
7100
|
-
|
|
7101
|
-
|
|
7102
|
-
|
|
7103
|
-
|
|
7104
|
-
|
|
7105
|
-
|
|
7106
|
-
|
|
7086
|
+
Ru as aj,
|
|
7087
|
+
Cu as ak,
|
|
7088
|
+
Vu as al,
|
|
7089
|
+
cd as am,
|
|
7090
|
+
ld as an,
|
|
7091
|
+
Au as ao,
|
|
7092
|
+
Nu as ap,
|
|
7093
|
+
Ou as aq,
|
|
7094
|
+
Tu as ar,
|
|
7095
|
+
pd as as,
|
|
7096
|
+
Me as b,
|
|
7097
|
+
od as c,
|
|
7098
|
+
k as d,
|
|
7099
|
+
Vr as e,
|
|
7100
|
+
Qt as f,
|
|
7101
|
+
M as g,
|
|
7102
|
+
Gt as h,
|
|
7103
|
+
ou as i,
|
|
7104
|
+
su as j,
|
|
7107
7105
|
Go as k,
|
|
7108
7106
|
Uo as l,
|
|
7109
7107
|
De as m,
|
|
7110
|
-
|
|
7108
|
+
Pl as n,
|
|
7111
7109
|
ut as o,
|
|
7112
7110
|
qr as p,
|
|
7113
7111
|
te as q,
|
|
@@ -7115,9 +7113,9 @@ export {
|
|
|
7115
7113
|
vo as s,
|
|
7116
7114
|
Ve as t,
|
|
7117
7115
|
z as u,
|
|
7118
|
-
|
|
7116
|
+
Ll as v,
|
|
7119
7117
|
Ar as w,
|
|
7120
|
-
|
|
7118
|
+
Fl as x,
|
|
7121
7119
|
re as y,
|
|
7122
7120
|
Nr as z
|
|
7123
7121
|
};
|