trely-ui-kit 0.1.2 → 0.1.4
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/components/Button/Button.d.ts +1 -1
- package/dist/components/Button/Button.d.ts.map +1 -1
- package/dist/components/Icon/icons/ArrowDownIcon.d.ts.map +1 -1
- package/dist/components/Icon/icons/ArrowLeftIcon.d.ts.map +1 -1
- package/dist/components/Icon/icons/ArrowRightIcon.d.ts.map +1 -1
- package/dist/components/Icon/icons/ArrowUpIcon.d.ts.map +1 -1
- package/dist/components/Icon/icons/SearchIcon.d.ts.map +1 -1
- package/dist/index.css +1 -1
- package/dist/index.d.ts +6 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +16 -16
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +921 -886
- package/dist/index.mjs.map +1 -1
- package/package.json +2 -2
package/dist/index.mjs
CHANGED
|
@@ -1,96 +1,96 @@
|
|
|
1
|
-
import { jsx as o, jsxs as g, Fragment as
|
|
1
|
+
import { jsx as o, jsxs as g, Fragment as Ne } from "react/jsx-runtime";
|
|
2
2
|
import * as c from "react";
|
|
3
|
-
import { forwardRef as
|
|
4
|
-
import * as
|
|
5
|
-
import
|
|
6
|
-
import './index.css';function
|
|
3
|
+
import { forwardRef as K, createElement as Ze, useId as $e, useRef as Ue, useImperativeHandle as ze, useState as _e, useEffect as x1, Children as S1, isValidElement as R1 } from "react";
|
|
4
|
+
import * as P1 from "react-dom";
|
|
5
|
+
import D1 from "react-dom";
|
|
6
|
+
import './index.css';function Ge(e) {
|
|
7
7
|
var t, n, r = "";
|
|
8
8
|
if (typeof e == "string" || typeof e == "number") r += e;
|
|
9
9
|
else if (typeof e == "object") if (Array.isArray(e)) {
|
|
10
10
|
var i = e.length;
|
|
11
|
-
for (t = 0; t < i; t++) e[t] && (n =
|
|
11
|
+
for (t = 0; t < i; t++) e[t] && (n = Ge(e[t])) && (r && (r += " "), r += n);
|
|
12
12
|
} else for (n in e) e[n] && (r && (r += " "), r += n);
|
|
13
13
|
return r;
|
|
14
14
|
}
|
|
15
|
-
function
|
|
16
|
-
for (var e, t, n = 0, r = "", i = arguments.length; n < i; n++) (e = arguments[n]) && (t =
|
|
15
|
+
function N() {
|
|
16
|
+
for (var e, t, n = 0, r = "", i = arguments.length; n < i; n++) (e = arguments[n]) && (t = Ge(e)) && (r && (r += " "), r += t);
|
|
17
17
|
return r;
|
|
18
18
|
}
|
|
19
|
-
const
|
|
20
|
-
avatar:
|
|
21
|
-
xs:
|
|
22
|
-
s:
|
|
23
|
-
m:
|
|
24
|
-
l:
|
|
25
|
-
xl:
|
|
26
|
-
xxl:
|
|
27
|
-
image:
|
|
28
|
-
initials:
|
|
29
|
-
},
|
|
19
|
+
const A1 = "_avatar_1h8d2_1", O1 = "_xs_1h8d2_12", T1 = "_s_1h8d2_18", W1 = "_m_1h8d2_24", H1 = "_l_1h8d2_30", F1 = "_xl_1h8d2_36", B1 = "_xxl_1h8d2_42", j1 = "_image_1h8d2_48", V1 = "_initials_1h8d2_55", X = {
|
|
20
|
+
avatar: A1,
|
|
21
|
+
xs: O1,
|
|
22
|
+
s: T1,
|
|
23
|
+
m: W1,
|
|
24
|
+
l: H1,
|
|
25
|
+
xl: F1,
|
|
26
|
+
xxl: B1,
|
|
27
|
+
image: j1,
|
|
28
|
+
initials: V1
|
|
29
|
+
}, Z1 = K(
|
|
30
30
|
({ src: e, firstName: t, lastName: n, size: r = "m", alt: i, className: a = "", ...l }, s) => {
|
|
31
31
|
const f = () => {
|
|
32
32
|
if (!t && !n) return "";
|
|
33
|
-
const v = t?.charAt(0).toUpperCase() || "",
|
|
34
|
-
return `${v}${
|
|
35
|
-
},
|
|
36
|
-
return /* @__PURE__ */ o("div", { ref: s, className: h, ...l, children: e ? /* @__PURE__ */ o("img", { src: e, alt:
|
|
33
|
+
const v = t?.charAt(0).toUpperCase() || "", k = n?.charAt(0).toUpperCase() || "";
|
|
34
|
+
return `${v}${k}`;
|
|
35
|
+
}, u = () => i !== void 0 ? i : [t, n].filter(Boolean).join(" ") || "", p = f(), C = u(), h = N(X.avatar, X[r], a);
|
|
36
|
+
return /* @__PURE__ */ o("div", { ref: s, className: h, ...l, children: e ? /* @__PURE__ */ o("img", { src: e, alt: C, className: X.image }) : /* @__PURE__ */ o("span", { className: X.initials, children: p }) });
|
|
37
37
|
}
|
|
38
38
|
);
|
|
39
|
-
|
|
40
|
-
function
|
|
39
|
+
Z1.displayName = "Avatar";
|
|
40
|
+
function Ie(e, t) {
|
|
41
41
|
if (typeof e == "function")
|
|
42
42
|
return e(t);
|
|
43
43
|
e != null && (e.current = t);
|
|
44
44
|
}
|
|
45
|
-
function
|
|
45
|
+
function Ke(...e) {
|
|
46
46
|
return (t) => {
|
|
47
47
|
let n = !1;
|
|
48
48
|
const r = e.map((i) => {
|
|
49
|
-
const a =
|
|
49
|
+
const a = Ie(i, t);
|
|
50
50
|
return !n && typeof a == "function" && (n = !0), a;
|
|
51
51
|
});
|
|
52
52
|
if (n)
|
|
53
53
|
return () => {
|
|
54
54
|
for (let i = 0; i < r.length; i++) {
|
|
55
55
|
const a = r[i];
|
|
56
|
-
typeof a == "function" ? a() :
|
|
56
|
+
typeof a == "function" ? a() : Ie(e[i], null);
|
|
57
57
|
}
|
|
58
58
|
};
|
|
59
59
|
};
|
|
60
60
|
}
|
|
61
61
|
function B(...e) {
|
|
62
|
-
return c.useCallback(
|
|
62
|
+
return c.useCallback(Ke(...e), e);
|
|
63
63
|
}
|
|
64
64
|
// @__NO_SIDE_EFFECTS__
|
|
65
|
-
function
|
|
66
|
-
const t = /* @__PURE__ */
|
|
67
|
-
const { children: a, ...l } = r, s = c.Children.toArray(a), f = s.find(
|
|
65
|
+
function ke(e) {
|
|
66
|
+
const t = /* @__PURE__ */ $1(e), n = c.forwardRef((r, i) => {
|
|
67
|
+
const { children: a, ...l } = r, s = c.Children.toArray(a), f = s.find(z1);
|
|
68
68
|
if (f) {
|
|
69
|
-
const
|
|
70
|
-
return /* @__PURE__ */ o(t, { ...l, ref: i, children: c.isValidElement(
|
|
69
|
+
const u = f.props.children, p = s.map((C) => C === f ? c.Children.count(u) > 1 ? c.Children.only(null) : c.isValidElement(u) ? u.props.children : null : C);
|
|
70
|
+
return /* @__PURE__ */ o(t, { ...l, ref: i, children: c.isValidElement(u) ? c.cloneElement(u, void 0, p) : null });
|
|
71
71
|
}
|
|
72
72
|
return /* @__PURE__ */ o(t, { ...l, ref: i, children: a });
|
|
73
73
|
});
|
|
74
74
|
return n.displayName = `${e}.Slot`, n;
|
|
75
75
|
}
|
|
76
|
-
var
|
|
76
|
+
var Xe = /* @__PURE__ */ ke("Slot");
|
|
77
77
|
// @__NO_SIDE_EFFECTS__
|
|
78
|
-
function
|
|
78
|
+
function $1(e) {
|
|
79
79
|
const t = c.forwardRef((n, r) => {
|
|
80
80
|
const { children: i, ...a } = n;
|
|
81
81
|
if (c.isValidElement(i)) {
|
|
82
|
-
const l =
|
|
83
|
-
return i.type !== c.Fragment && (s.ref = r ?
|
|
82
|
+
const l = K1(i), s = G1(a, i.props);
|
|
83
|
+
return i.type !== c.Fragment && (s.ref = r ? Ke(r, l) : l), c.cloneElement(i, s);
|
|
84
84
|
}
|
|
85
85
|
return c.Children.count(i) > 1 ? c.Children.only(null) : null;
|
|
86
86
|
});
|
|
87
87
|
return t.displayName = `${e}.SlotClone`, t;
|
|
88
88
|
}
|
|
89
|
-
var
|
|
90
|
-
function
|
|
91
|
-
return c.isValidElement(e) && typeof e.type == "function" && "__radixId" in e.type && e.type.__radixId ===
|
|
89
|
+
var U1 = Symbol("radix.slottable");
|
|
90
|
+
function z1(e) {
|
|
91
|
+
return c.isValidElement(e) && typeof e.type == "function" && "__radixId" in e.type && e.type.__radixId === U1;
|
|
92
92
|
}
|
|
93
|
-
function
|
|
93
|
+
function G1(e, t) {
|
|
94
94
|
const n = { ...t };
|
|
95
95
|
for (const r in t) {
|
|
96
96
|
const i = e[r], a = t[r];
|
|
@@ -101,27 +101,28 @@ function Z1(e, t) {
|
|
|
101
101
|
}
|
|
102
102
|
return { ...e, ...n };
|
|
103
103
|
}
|
|
104
|
-
function
|
|
104
|
+
function K1(e) {
|
|
105
105
|
let t = Object.getOwnPropertyDescriptor(e.props, "ref")?.get, n = t && "isReactWarning" in t && t.isReactWarning;
|
|
106
106
|
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);
|
|
107
107
|
}
|
|
108
|
-
const
|
|
109
|
-
button:
|
|
110
|
-
xs:
|
|
111
|
-
icon:
|
|
112
|
-
s:
|
|
113
|
-
m:
|
|
114
|
-
l:
|
|
115
|
-
gold:
|
|
116
|
-
main:
|
|
117
|
-
secondary:
|
|
118
|
-
tertiary:
|
|
119
|
-
green:
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
108
|
+
const X1 = "_button_8pv9u_1", Y1 = "_xs_8pv9u_20", q1 = "_icon_8pv9u_26", Q1 = "_s_8pv9u_30", J1 = "_m_8pv9u_40", et = "_l_8pv9u_50", tt = "_gold_8pv9u_60", nt = "_main_8pv9u_60", rt = "_secondary_8pv9u_73", ot = "_tertiary_8pv9u_86", it = "_green_8pv9u_101", at = "_error_8pv9u_142", st = "_content_8pv9u_183", ct = "_loading_8pv9u_190", lt = "_loader_8pv9u_194", ut = "_spin_8pv9u_1", O = {
|
|
109
|
+
button: X1,
|
|
110
|
+
xs: Y1,
|
|
111
|
+
icon: q1,
|
|
112
|
+
s: Q1,
|
|
113
|
+
m: J1,
|
|
114
|
+
l: et,
|
|
115
|
+
gold: tt,
|
|
116
|
+
main: nt,
|
|
117
|
+
secondary: rt,
|
|
118
|
+
tertiary: ot,
|
|
119
|
+
green: it,
|
|
120
|
+
error: at,
|
|
121
|
+
content: st,
|
|
122
|
+
loading: ct,
|
|
123
|
+
loader: lt,
|
|
124
|
+
spin: ut
|
|
125
|
+
}, dt = K(
|
|
125
126
|
({
|
|
126
127
|
color: e = "gold",
|
|
127
128
|
variant: t = "main",
|
|
@@ -132,53 +133,74 @@ const U1 = "_button_1kkbo_1", G1 = "_xs_1kkbo_20", K1 = "_icon_1kkbo_26", z1 = "
|
|
|
132
133
|
loading: l = !1,
|
|
133
134
|
asChild: s = !1,
|
|
134
135
|
disabled: f,
|
|
135
|
-
className:
|
|
136
|
-
type:
|
|
137
|
-
children:
|
|
136
|
+
className: u = "",
|
|
137
|
+
type: p = "button",
|
|
138
|
+
children: C,
|
|
138
139
|
...h
|
|
139
140
|
}, v) => {
|
|
140
|
-
const
|
|
141
|
+
const k = s ? Xe : "button", d = l || f, m = N(
|
|
141
142
|
O.button,
|
|
142
143
|
O[e],
|
|
143
144
|
O[t],
|
|
144
145
|
O[n],
|
|
145
146
|
r && O.icon,
|
|
146
147
|
l && O.loading,
|
|
147
|
-
|
|
148
|
-
),
|
|
149
|
-
type:
|
|
150
|
-
disabled:
|
|
151
|
-
},
|
|
148
|
+
u
|
|
149
|
+
), L = s ? {} : {
|
|
150
|
+
type: p,
|
|
151
|
+
disabled: d
|
|
152
|
+
}, _ = {
|
|
152
153
|
"aria-busy": l || void 0,
|
|
153
|
-
"aria-disabled":
|
|
154
|
+
"aria-disabled": d || void 0
|
|
154
155
|
};
|
|
155
|
-
return s ? /* @__PURE__ */ o(
|
|
156
|
+
return s ? /* @__PURE__ */ o(k, { ref: v, className: m, ..._, ...h, children: C }) : /* @__PURE__ */ g(k, { ref: v, className: m, ...L, ..._, ...h, children: [
|
|
156
157
|
l && /* @__PURE__ */ o("span", { className: O.loader }),
|
|
157
158
|
/* @__PURE__ */ g("span", { className: O.content, children: [
|
|
158
159
|
i,
|
|
159
|
-
|
|
160
|
+
C,
|
|
160
161
|
a
|
|
161
162
|
] })
|
|
162
163
|
] });
|
|
163
164
|
}
|
|
164
165
|
);
|
|
165
|
-
|
|
166
|
-
const
|
|
167
|
-
button:
|
|
168
|
-
white:
|
|
169
|
-
black:
|
|
170
|
-
},
|
|
166
|
+
dt.displayName = "Button";
|
|
167
|
+
const ft = "_button_yyut6_1", pt = "_white_yyut6_21", Ct = "_black_yyut6_35", xe = {
|
|
168
|
+
button: ft,
|
|
169
|
+
white: pt,
|
|
170
|
+
black: Ct
|
|
171
|
+
}, Ye = K(
|
|
171
172
|
({ variant: e = "white", asChild: t = !1, className: n = "", type: r = "button", children: i, ...a }, l) => {
|
|
172
|
-
const s = t ?
|
|
173
|
+
const s = t ? Xe : "button", f = N(xe.button, xe[e], n);
|
|
173
174
|
return /* @__PURE__ */ o(s, { ref: l, className: f, ...t ? {} : {
|
|
174
175
|
type: r
|
|
175
176
|
}, ...a, children: i });
|
|
176
177
|
}
|
|
177
178
|
);
|
|
178
|
-
|
|
179
|
-
const
|
|
180
|
-
|
|
181
|
-
|
|
179
|
+
Ye.displayName = "CircleButton";
|
|
180
|
+
const ht = "_heading_doz7k_1", vt = "_xxs_doz7k_5", mt = "_xs_doz7k_10", gt = "_s_doz7k_15", yt = "_m_doz7k_20", Lt = "_l_doz7k_25", _t = "_dark_doz7k_30", kt = "_light_doz7k_34", le = {
|
|
181
|
+
heading: ht,
|
|
182
|
+
xxs: vt,
|
|
183
|
+
xs: mt,
|
|
184
|
+
s: gt,
|
|
185
|
+
m: yt,
|
|
186
|
+
l: Lt,
|
|
187
|
+
dark: _t,
|
|
188
|
+
light: kt
|
|
189
|
+
}, Et = ({
|
|
190
|
+
component: e = "p",
|
|
191
|
+
size: t = "m",
|
|
192
|
+
color: n = "dark",
|
|
193
|
+
className: r,
|
|
194
|
+
children: i,
|
|
195
|
+
...a
|
|
196
|
+
}) => {
|
|
197
|
+
const l = N(le.heading, le[t], le[n], r);
|
|
198
|
+
return Ze(e, { className: l, ...a }, i);
|
|
199
|
+
};
|
|
200
|
+
Et.displayName = "Heading";
|
|
201
|
+
const bt = "_icon_1cxib_1", wt = {
|
|
202
|
+
icon: bt
|
|
203
|
+
}, Se = {
|
|
182
204
|
XS: 12,
|
|
183
205
|
S: 16,
|
|
184
206
|
M: 20,
|
|
@@ -190,13 +212,13 @@ const ut = "_icon_1cxib_1", dt = {
|
|
|
190
212
|
children: r,
|
|
191
213
|
...i
|
|
192
214
|
}) => {
|
|
193
|
-
const a =
|
|
215
|
+
const a = N(wt.icon, n);
|
|
194
216
|
return /* @__PURE__ */ o(
|
|
195
217
|
"svg",
|
|
196
218
|
{
|
|
197
219
|
className: a,
|
|
198
|
-
width:
|
|
199
|
-
height:
|
|
220
|
+
width: Se[e] || e,
|
|
221
|
+
height: Se[e] || e,
|
|
200
222
|
fill: "none",
|
|
201
223
|
stroke: t,
|
|
202
224
|
viewBox: "0 0 24 24",
|
|
@@ -209,296 +231,256 @@ const ut = "_icon_1cxib_1", dt = {
|
|
|
209
231
|
);
|
|
210
232
|
};
|
|
211
233
|
y.displayName = "Icon";
|
|
212
|
-
const
|
|
234
|
+
const Mt = (e) => /* @__PURE__ */ g(y, { ...e, children: [
|
|
213
235
|
/* @__PURE__ */ o(
|
|
214
236
|
"circle",
|
|
215
237
|
{
|
|
216
238
|
cx: "16.5019",
|
|
217
239
|
cy: "16.5019",
|
|
218
240
|
r: "4.50187",
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
241
|
+
strokeWidth: "1.5",
|
|
242
|
+
strokeLinecap: "round",
|
|
243
|
+
strokeLinejoin: "round"
|
|
222
244
|
}
|
|
223
245
|
),
|
|
224
246
|
/* @__PURE__ */ o(
|
|
225
247
|
"path",
|
|
226
248
|
{
|
|
227
249
|
d: "M14.0008 7.99805L5.82585 16.173C5.29519 16.7037 4.99707 17.4234 4.99707 18.1739C4.99707 18.9243 5.29519 19.644 5.82585 20.1747V20.1747C6.3565 20.7054 7.07622 21.0035 7.82668 21.0035C8.57714 21.0035 9.29686 20.7054 9.82751 20.1747L12.1931 17.8091",
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
250
|
+
strokeWidth: "1.5",
|
|
251
|
+
strokeLinecap: "round",
|
|
252
|
+
strokeLinejoin: "round"
|
|
231
253
|
}
|
|
232
254
|
),
|
|
233
255
|
/* @__PURE__ */ o(
|
|
234
256
|
"path",
|
|
235
257
|
{
|
|
236
258
|
d: "M2.99609 13.0003L11.5499 4.44645C12.4786 3.5178 13.7381 2.99609 15.0514 2.99609C16.3647 2.99609 17.6242 3.5178 18.5529 4.44645V4.44645C19.4815 5.37509 20.0032 6.6346 20.0032 7.94791C20.0032 9.26121 19.4815 10.5207 18.5529 11.4494L17.8094 12.1928",
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
259
|
+
strokeWidth: "1.5",
|
|
260
|
+
strokeLinecap: "round",
|
|
261
|
+
strokeLinejoin: "round"
|
|
240
262
|
}
|
|
241
263
|
),
|
|
242
264
|
/* @__PURE__ */ o(
|
|
243
265
|
"path",
|
|
244
266
|
{
|
|
245
267
|
d: "M18.0022 16.5022H15.001",
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
268
|
+
strokeWidth: "1.5",
|
|
269
|
+
strokeLinecap: "round",
|
|
270
|
+
strokeLinejoin: "round"
|
|
249
271
|
}
|
|
250
272
|
),
|
|
251
273
|
/* @__PURE__ */ o(
|
|
252
274
|
"path",
|
|
253
275
|
{
|
|
254
276
|
d: "M16.5022 15.001V18.0022",
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
277
|
+
strokeWidth: "1.5",
|
|
278
|
+
strokeLinecap: "round",
|
|
279
|
+
strokeLinejoin: "round"
|
|
258
280
|
}
|
|
259
281
|
)
|
|
260
282
|
] });
|
|
261
|
-
|
|
262
|
-
const
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
) });
|
|
271
|
-
|
|
272
|
-
const
|
|
273
|
-
"path",
|
|
274
|
-
{
|
|
275
|
-
d: "M14 8L10 12L14 16",
|
|
276
|
-
"stroke-width": "1.5",
|
|
277
|
-
"stroke-linecap": "round",
|
|
278
|
-
"stroke-linejoin": "round"
|
|
279
|
-
}
|
|
280
|
-
) });
|
|
281
|
-
Ct.displayName = "ArrowLeftIcon";
|
|
282
|
-
const ht = (e) => /* @__PURE__ */ o(y, { ...e, children: /* @__PURE__ */ o(
|
|
283
|
-
"path",
|
|
284
|
-
{
|
|
285
|
-
d: "M10 16L14 12L10 8",
|
|
286
|
-
"stroke-width": "1.5",
|
|
287
|
-
"stroke-linecap": "round",
|
|
288
|
-
"stroke-linejoin": "round"
|
|
289
|
-
}
|
|
290
|
-
) });
|
|
291
|
-
ht.displayName = "ArrowRightIcon";
|
|
292
|
-
const vt = (e) => /* @__PURE__ */ o(y, { ...e, children: /* @__PURE__ */ o(
|
|
293
|
-
"path",
|
|
294
|
-
{
|
|
295
|
-
d: "M16 14L12 10L8 14",
|
|
296
|
-
"stroke-width": "1.5",
|
|
297
|
-
"stroke-linecap": "round",
|
|
298
|
-
"stroke-linejoin": "round"
|
|
299
|
-
}
|
|
300
|
-
) });
|
|
301
|
-
vt.displayName = "ArrowUpIcon";
|
|
302
|
-
const mt = (e) => /* @__PURE__ */ o(y, { ...e, children: /* @__PURE__ */ o("path", { d: "M7 13.5217L11.1667 17L17 7", "stroke-width": "1.5", "stroke-linecap": "round" }) });
|
|
303
|
-
mt.displayName = "CheckmarkIcon";
|
|
304
|
-
const ke = (e) => /* @__PURE__ */ g(y, { ...e, children: [
|
|
305
|
-
/* @__PURE__ */ o("path", { d: "M17 7L7 17", "stroke-width": "1.5", "stroke-linecap": "round" }),
|
|
306
|
-
/* @__PURE__ */ o("path", { d: "M7 7L17 17", "stroke-width": "1.5", "stroke-linecap": "round" })
|
|
283
|
+
Mt.displayName = "AddMediaIcon";
|
|
284
|
+
const Nt = (e) => /* @__PURE__ */ o(y, { ...e, children: /* @__PURE__ */ o("path", { d: "M8 10L12 14L16 10", strokeWidth: "1.5", strokeLinecap: "round", strokeLinejoin: "round" }) });
|
|
285
|
+
Nt.displayName = "ArrowDownIcon";
|
|
286
|
+
const It = (e) => /* @__PURE__ */ o(y, { ...e, children: /* @__PURE__ */ o("path", { d: "M14 8L10 12L14 16", strokeWidth: "1.5", strokeLinecap: "round", strokeLinejoin: "round" }) });
|
|
287
|
+
It.displayName = "ArrowLeftIcon";
|
|
288
|
+
const xt = (e) => /* @__PURE__ */ o(y, { ...e, children: /* @__PURE__ */ o("path", { d: "M10 16L14 12L10 8", strokeWidth: "1.5", strokeLinecap: "round", strokeLinejoin: "round" }) });
|
|
289
|
+
xt.displayName = "ArrowRightIcon";
|
|
290
|
+
const St = (e) => /* @__PURE__ */ o(y, { ...e, children: /* @__PURE__ */ o("path", { d: "M16 14L12 10L8 14", strokeWidth: "1.5", strokeLinecap: "round", strokeLinejoin: "round" }) });
|
|
291
|
+
St.displayName = "ArrowUpIcon";
|
|
292
|
+
const Rt = (e) => /* @__PURE__ */ o(y, { ...e, children: /* @__PURE__ */ o("path", { d: "M7 13.5217L11.1667 17L17 7", strokeWidth: "1.5", strokeLinecap: "round" }) });
|
|
293
|
+
Rt.displayName = "CheckmarkIcon";
|
|
294
|
+
const Ee = (e) => /* @__PURE__ */ g(y, { ...e, children: [
|
|
295
|
+
/* @__PURE__ */ o("path", { d: "M17 7L7 17", strokeWidth: "1.5", strokeLinecap: "round" }),
|
|
296
|
+
/* @__PURE__ */ o("path", { d: "M7 7L17 17", strokeWidth: "1.5", strokeLinecap: "round" })
|
|
307
297
|
] });
|
|
308
|
-
|
|
309
|
-
const
|
|
298
|
+
Ee.displayName = "CrossIcon";
|
|
299
|
+
const Pt = (e) => /* @__PURE__ */ g(y, { ...e, children: [
|
|
310
300
|
/* @__PURE__ */ o(
|
|
311
301
|
"path",
|
|
312
302
|
{
|
|
313
|
-
|
|
314
|
-
|
|
303
|
+
fillRule: "evenodd",
|
|
304
|
+
clipRule: "evenodd",
|
|
315
305
|
d: "M16.1378 21H7.85782C6.81082 21 5.94082 20.192 5.86282 19.147L4.96582 7H18.9998L18.1328 19.142C18.0578 20.189 17.1868 21 16.1378 21V21Z",
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
|
|
306
|
+
strokeWidth: "1.5",
|
|
307
|
+
strokeLinecap: "round",
|
|
308
|
+
strokeLinejoin: "round"
|
|
319
309
|
}
|
|
320
310
|
),
|
|
321
|
-
/* @__PURE__ */ o("path", { d: "M12 11V17",
|
|
322
|
-
/* @__PURE__ */ o("path", { d: "M4 7H20",
|
|
311
|
+
/* @__PURE__ */ o("path", { d: "M12 11V17", strokeWidth: "1.5", strokeLinecap: "round", strokeLinejoin: "round" }),
|
|
312
|
+
/* @__PURE__ */ o("path", { d: "M4 7H20", strokeWidth: "1.5", strokeLinecap: "round", strokeLinejoin: "round" }),
|
|
323
313
|
/* @__PURE__ */ o(
|
|
324
314
|
"path",
|
|
325
315
|
{
|
|
326
316
|
d: "M17 7L15.987 4.298C15.694 3.517 14.948 3 14.114 3H9.886C9.052 3 8.306 3.517 8.013 4.298L7 7",
|
|
327
|
-
|
|
328
|
-
|
|
329
|
-
|
|
317
|
+
strokeWidth: "1.5",
|
|
318
|
+
strokeLinecap: "round",
|
|
319
|
+
strokeLinejoin: "round"
|
|
330
320
|
}
|
|
331
321
|
),
|
|
332
322
|
/* @__PURE__ */ o(
|
|
333
323
|
"path",
|
|
334
324
|
{
|
|
335
325
|
d: "M15.4298 11L14.9998 17",
|
|
336
|
-
|
|
337
|
-
|
|
338
|
-
|
|
326
|
+
strokeWidth: "1.5",
|
|
327
|
+
strokeLinecap: "round",
|
|
328
|
+
strokeLinejoin: "round"
|
|
339
329
|
}
|
|
340
330
|
),
|
|
341
331
|
/* @__PURE__ */ o(
|
|
342
332
|
"path",
|
|
343
333
|
{
|
|
344
334
|
d: "M8.57016 11L9.00016 17",
|
|
345
|
-
|
|
346
|
-
|
|
347
|
-
|
|
335
|
+
strokeWidth: "1.5",
|
|
336
|
+
strokeLinecap: "round",
|
|
337
|
+
strokeLinejoin: "round"
|
|
348
338
|
}
|
|
349
339
|
)
|
|
350
340
|
] });
|
|
351
|
-
|
|
352
|
-
const
|
|
353
|
-
/* @__PURE__ */ o("path", { d: "M12 17V3",
|
|
354
|
-
/* @__PURE__ */ o("path", { d: "M20 21H4",
|
|
341
|
+
Pt.displayName = "DeleteIcon";
|
|
342
|
+
const Dt = (e) => /* @__PURE__ */ g(y, { ...e, children: [
|
|
343
|
+
/* @__PURE__ */ o("path", { d: "M12 17V3", strokeWidth: "1.5", strokeLinecap: "round", strokeLinejoin: "round" }),
|
|
344
|
+
/* @__PURE__ */ o("path", { d: "M20 21H4", strokeWidth: "1.5", strokeLinecap: "round", strokeLinejoin: "round" }),
|
|
355
345
|
/* @__PURE__ */ o(
|
|
356
346
|
"path",
|
|
357
347
|
{
|
|
358
348
|
d: "M17 12L11.999 17.001L6.99902 12",
|
|
359
|
-
|
|
360
|
-
|
|
361
|
-
|
|
349
|
+
strokeWidth: "1.5",
|
|
350
|
+
strokeLinecap: "round",
|
|
351
|
+
strokeLinejoin: "round"
|
|
362
352
|
}
|
|
363
353
|
)
|
|
364
354
|
] });
|
|
365
|
-
|
|
366
|
-
const
|
|
355
|
+
Dt.displayName = "DownloadIcon";
|
|
356
|
+
const At = (e) => /* @__PURE__ */ g(y, { ...e, children: [
|
|
367
357
|
/* @__PURE__ */ o(
|
|
368
358
|
"path",
|
|
369
359
|
{
|
|
370
360
|
d: "M21 11V19C21 20.105 20.105 21 19 21H5C3.895 21 3 20.105 3 19V5C3 3.895 3.895 3 5 3H13",
|
|
371
|
-
|
|
372
|
-
|
|
373
|
-
|
|
361
|
+
strokeWidth: "1.5",
|
|
362
|
+
strokeLinecap: "round",
|
|
363
|
+
strokeLinejoin: "round"
|
|
374
364
|
}
|
|
375
365
|
),
|
|
376
366
|
/* @__PURE__ */ o(
|
|
377
367
|
"path",
|
|
378
368
|
{
|
|
379
|
-
|
|
380
|
-
|
|
369
|
+
fillRule: "evenodd",
|
|
370
|
+
clipRule: "evenodd",
|
|
381
371
|
d: "M20.707 6.12125L9.828 17.0002H7V14.1722L17.879 3.29325C18.27 2.90225 18.903 2.90225 19.293 3.29325L20.707 4.70725C21.098 5.09825 21.098 5.73125 20.707 6.12125Z",
|
|
382
|
-
|
|
383
|
-
|
|
384
|
-
|
|
372
|
+
strokeWidth: "1.5",
|
|
373
|
+
strokeLinecap: "round",
|
|
374
|
+
strokeLinejoin: "round"
|
|
385
375
|
}
|
|
386
376
|
),
|
|
387
377
|
/* @__PURE__ */ o(
|
|
388
378
|
"path",
|
|
389
379
|
{
|
|
390
380
|
d: "M16.0898 5.08984L18.9098 7.90984",
|
|
391
|
-
|
|
392
|
-
|
|
393
|
-
|
|
381
|
+
strokeWidth: "1.5",
|
|
382
|
+
strokeLinecap: "round",
|
|
383
|
+
strokeLinejoin: "round"
|
|
394
384
|
}
|
|
395
385
|
)
|
|
396
386
|
] });
|
|
397
|
-
|
|
398
|
-
const
|
|
399
|
-
/* @__PURE__ */ o("path", { d: "M18 5H21",
|
|
400
|
-
/* @__PURE__ */ o("path", { d: "M3 5H14",
|
|
401
|
-
/* @__PURE__ */ o("path", { d: "M10 12H21",
|
|
402
|
-
/* @__PURE__ */ o("path", { d: "M3 12H6",
|
|
403
|
-
/* @__PURE__ */ o("path", { d: "M18 19H21",
|
|
404
|
-
/* @__PURE__ */ o("path", { d: "M3 19H14",
|
|
387
|
+
At.displayName = "EditIcon";
|
|
388
|
+
const Ot = (e) => /* @__PURE__ */ g(y, { ...e, children: [
|
|
389
|
+
/* @__PURE__ */ o("path", { d: "M18 5H21", strokeWidth: "1.5", strokeLinecap: "round", strokeLinejoin: "round" }),
|
|
390
|
+
/* @__PURE__ */ o("path", { d: "M3 5H14", strokeWidth: "1.5", strokeLinecap: "round", strokeLinejoin: "round" }),
|
|
391
|
+
/* @__PURE__ */ o("path", { d: "M10 12H21", strokeWidth: "1.5", strokeLinecap: "round", strokeLinejoin: "round" }),
|
|
392
|
+
/* @__PURE__ */ o("path", { d: "M3 12H6", strokeWidth: "1.5", strokeLinecap: "round", strokeLinejoin: "round" }),
|
|
393
|
+
/* @__PURE__ */ o("path", { d: "M18 19H21", strokeWidth: "1.5", strokeLinecap: "round", strokeLinejoin: "round" }),
|
|
394
|
+
/* @__PURE__ */ o("path", { d: "M3 19H14", strokeWidth: "1.5", strokeLinecap: "round", strokeLinejoin: "round" }),
|
|
405
395
|
/* @__PURE__ */ o(
|
|
406
396
|
"path",
|
|
407
397
|
{
|
|
408
398
|
d: "M17.4142 3.58579C18.1953 4.36684 18.1953 5.63317 17.4142 6.41422C16.6332 7.19527 15.3668 7.19527 14.5858 6.41422C13.8047 5.63317 13.8047 4.36684 14.5858 3.58579C15.3668 2.80474 16.6332 2.80474 17.4142 3.58579",
|
|
409
|
-
|
|
410
|
-
|
|
411
|
-
|
|
399
|
+
strokeWidth: "1.5",
|
|
400
|
+
strokeLinecap: "round",
|
|
401
|
+
strokeLinejoin: "round"
|
|
412
402
|
}
|
|
413
403
|
),
|
|
414
404
|
/* @__PURE__ */ o(
|
|
415
405
|
"path",
|
|
416
406
|
{
|
|
417
407
|
d: "M9.41422 10.5858C10.1953 11.3668 10.1953 12.6332 9.41422 13.4142C8.63317 14.1953 7.36684 14.1953 6.58579 13.4142C5.80474 12.6332 5.80474 11.3668 6.58579 10.5858C7.36684 9.80474 8.63317 9.80474 9.41422 10.5858",
|
|
418
|
-
|
|
419
|
-
|
|
420
|
-
|
|
408
|
+
strokeWidth: "1.5",
|
|
409
|
+
strokeLinecap: "round",
|
|
410
|
+
strokeLinejoin: "round"
|
|
421
411
|
}
|
|
422
412
|
),
|
|
423
413
|
/* @__PURE__ */ o(
|
|
424
414
|
"path",
|
|
425
415
|
{
|
|
426
416
|
d: "M17.4142 17.5858C18.1953 18.3668 18.1953 19.6332 17.4142 20.4142C16.6332 21.1953 15.3668 21.1953 14.5858 20.4142C13.8047 19.6332 13.8047 18.3668 14.5858 17.5858C15.3668 16.8047 16.6332 16.8047 17.4142 17.5858",
|
|
427
|
-
|
|
428
|
-
|
|
429
|
-
|
|
417
|
+
strokeWidth: "1.5",
|
|
418
|
+
strokeLinecap: "round",
|
|
419
|
+
strokeLinejoin: "round"
|
|
430
420
|
}
|
|
431
421
|
)
|
|
432
422
|
] });
|
|
433
|
-
|
|
434
|
-
const
|
|
423
|
+
Ot.displayName = "FilterIcon";
|
|
424
|
+
const Tt = (e) => /* @__PURE__ */ o(y, { ...e, children: /* @__PURE__ */ o(
|
|
435
425
|
"path",
|
|
436
426
|
{
|
|
437
|
-
|
|
438
|
-
|
|
427
|
+
fillRule: "evenodd",
|
|
428
|
+
clipRule: "evenodd",
|
|
439
429
|
d: "M6.19807 7.55934L9.68086 3.49609L13.4357 7.87676L15.8653 5.04219L17.802 7.30168C19.0465 8.75357 19.7305 10.6027 19.7305 12.515V12.7726C19.7305 14.8229 18.9161 16.7892 17.4663 18.239C16.0166 19.6887 14.0503 20.5032 12 20.5032V20.5032C7.73059 20.5032 4.26953 17.0421 4.26953 12.7727V12.7727C4.26953 10.8604 4.95359 9.01124 6.19807 7.55934Z",
|
|
440
|
-
|
|
441
|
-
|
|
442
|
-
|
|
430
|
+
strokeWidth: "1.5",
|
|
431
|
+
strokeLinecap: "round",
|
|
432
|
+
strokeLinejoin: "round"
|
|
443
433
|
}
|
|
444
434
|
) });
|
|
445
|
-
|
|
446
|
-
const
|
|
447
|
-
/* @__PURE__ */ o("path", { d: "M5 12H19",
|
|
448
|
-
/* @__PURE__ */ o("path", { d: "M10 7L5 12",
|
|
449
|
-
/* @__PURE__ */ o("path", { d: "M10 17L5 12",
|
|
435
|
+
Tt.displayName = "FireIcon";
|
|
436
|
+
const Wt = (e) => /* @__PURE__ */ g(y, { ...e, children: [
|
|
437
|
+
/* @__PURE__ */ o("path", { d: "M5 12H19", strokeWidth: "1.5", strokeLinecap: "round", strokeLinejoin: "round" }),
|
|
438
|
+
/* @__PURE__ */ o("path", { d: "M10 7L5 12", strokeWidth: "1.5", strokeLinecap: "round", strokeLinejoin: "round" }),
|
|
439
|
+
/* @__PURE__ */ o("path", { d: "M10 17L5 12", strokeWidth: "1.5", strokeLinecap: "round", strokeLinejoin: "round" })
|
|
450
440
|
] });
|
|
451
|
-
|
|
452
|
-
const
|
|
453
|
-
/* @__PURE__ */ o("path", { d: "M19 12H5",
|
|
454
|
-
/* @__PURE__ */ o("path", { d: "M14 17L19 12",
|
|
455
|
-
/* @__PURE__ */ o("path", { d: "M14 7L19 12",
|
|
441
|
+
Wt.displayName = "LongArrowLeftIcon";
|
|
442
|
+
const Ht = (e) => /* @__PURE__ */ g(y, { ...e, children: [
|
|
443
|
+
/* @__PURE__ */ o("path", { d: "M19 12H5", strokeWidth: "1.5", strokeLinecap: "round", strokeLinejoin: "round" }),
|
|
444
|
+
/* @__PURE__ */ o("path", { d: "M14 17L19 12", strokeWidth: "1.5", strokeLinecap: "round", strokeLinejoin: "round" }),
|
|
445
|
+
/* @__PURE__ */ o("path", { d: "M14 7L19 12", strokeWidth: "1.5", strokeLinecap: "round", strokeLinejoin: "round" })
|
|
456
446
|
] });
|
|
457
|
-
|
|
458
|
-
const
|
|
459
|
-
/* @__PURE__ */ o("path", { d: "M12 7V17",
|
|
460
|
-
/* @__PURE__ */ o("path", { d: "M7 12H17",
|
|
447
|
+
Ht.displayName = "LongArrowRightIcon";
|
|
448
|
+
const Ft = (e) => /* @__PURE__ */ g(y, { ...e, children: [
|
|
449
|
+
/* @__PURE__ */ o("path", { d: "M12 7V17", strokeWidth: "1.5", strokeLinecap: "round" }),
|
|
450
|
+
/* @__PURE__ */ o("path", { d: "M7 12H17", strokeWidth: "1.5", strokeLinecap: "round" })
|
|
461
451
|
] });
|
|
462
|
-
|
|
463
|
-
const
|
|
452
|
+
Ft.displayName = "PlusIcon";
|
|
453
|
+
const Bt = (e) => /* @__PURE__ */ o(y, { ...e, children: /* @__PURE__ */ o(
|
|
464
454
|
"path",
|
|
465
455
|
{
|
|
466
456
|
d: "M16.1176 17.6558C17.8646 16.383 19 14.3213 19 11.9944C19 8.1284 15.866 4.99439 12 4.99439H11.5882M12 18.9944C8.13401 18.9944 5 15.8604 5 11.9944C5 9.66748 6.13537 7.60575 7.88235 6.33296M11.1765 20.5591L12.8235 18.912L11.1765 17.265M12.8235 6.7238L11.1765 5.07675L12.8235 3.42969",
|
|
467
|
-
|
|
468
|
-
|
|
469
|
-
|
|
457
|
+
strokeWidth: "1.5",
|
|
458
|
+
strokeLinecap: "round",
|
|
459
|
+
strokeLinejoin: "round"
|
|
470
460
|
}
|
|
471
461
|
) });
|
|
472
|
-
|
|
473
|
-
const
|
|
462
|
+
Bt.displayName = "RegenerateIcon";
|
|
463
|
+
const jt = (e) => /* @__PURE__ */ g(y, { ...e, children: [
|
|
474
464
|
/* @__PURE__ */ o(
|
|
475
465
|
"path",
|
|
476
466
|
{
|
|
477
467
|
d: "M15.7138 6.8382C18.1647 9.28913 18.1647 13.2629 15.7138 15.7138C13.2629 18.1647 9.28913 18.1647 6.8382 15.7138C4.38727 13.2629 4.38727 9.28913 6.8382 6.8382C9.28913 4.38727 13.2629 4.38727 15.7138 6.8382",
|
|
478
|
-
|
|
479
|
-
|
|
480
|
-
|
|
468
|
+
strokeWidth: "1.5",
|
|
469
|
+
strokeLinecap: "round",
|
|
470
|
+
strokeLinejoin: "round"
|
|
481
471
|
}
|
|
482
472
|
),
|
|
483
|
-
/* @__PURE__ */ o(
|
|
484
|
-
"path",
|
|
485
|
-
{
|
|
486
|
-
d: "M19 19L15.71 15.71",
|
|
487
|
-
"stroke-width": "1.5",
|
|
488
|
-
"stroke-linecap": "round",
|
|
489
|
-
"stroke-linejoin": "round"
|
|
490
|
-
}
|
|
491
|
-
)
|
|
473
|
+
/* @__PURE__ */ o("path", { d: "M19 19L15.71 15.71", strokeWidth: "1.5", strokeLinecap: "round", strokeLinejoin: "round" })
|
|
492
474
|
] });
|
|
493
|
-
|
|
494
|
-
const
|
|
475
|
+
jt.displayName = "SearchIcon";
|
|
476
|
+
const Vt = (e) => /* @__PURE__ */ g(y, { ...e, children: [
|
|
495
477
|
/* @__PURE__ */ o(
|
|
496
478
|
"path",
|
|
497
479
|
{
|
|
498
480
|
d: "M16.066 12.1193H11.4141",
|
|
499
|
-
|
|
500
|
-
|
|
501
|
-
|
|
481
|
+
strokeWidth: "1.5",
|
|
482
|
+
strokeLinecap: "round",
|
|
483
|
+
strokeLinejoin: "round"
|
|
502
484
|
}
|
|
503
485
|
),
|
|
504
486
|
/* @__PURE__ */ o(
|
|
@@ -507,23 +489,23 @@ const It = (e) => /* @__PURE__ */ g(y, { ...e, children: [
|
|
|
507
489
|
cx: "12.0174",
|
|
508
490
|
cy: "11.5164",
|
|
509
491
|
r: "9.00375",
|
|
510
|
-
|
|
511
|
-
|
|
512
|
-
|
|
492
|
+
strokeWidth: "1.5",
|
|
493
|
+
strokeLinecap: "round",
|
|
494
|
+
strokeLinejoin: "round"
|
|
513
495
|
}
|
|
514
496
|
),
|
|
515
497
|
/* @__PURE__ */ o(
|
|
516
498
|
"path",
|
|
517
499
|
{
|
|
518
500
|
d: "M11.4143 12.1192V6.51465",
|
|
519
|
-
|
|
520
|
-
|
|
521
|
-
|
|
501
|
+
strokeWidth: "1.5",
|
|
502
|
+
strokeLinecap: "round",
|
|
503
|
+
strokeLinejoin: "round"
|
|
522
504
|
}
|
|
523
505
|
)
|
|
524
506
|
] });
|
|
525
|
-
|
|
526
|
-
const
|
|
507
|
+
Vt.displayName = "TimeIcon";
|
|
508
|
+
const Zt = (e) => /* @__PURE__ */ o(y, { ...e, viewBox: "0 0 17 16", children: /* @__PURE__ */ o(
|
|
527
509
|
"path",
|
|
528
510
|
{
|
|
529
511
|
d: "M5.83203 8.00016H11.1654M8.4987 10.6668V5.3335M8.4987 14.6668C12.1654 14.6668 15.1654 11.6668 15.1654 8.00016C15.1654 4.3335 12.1654 1.3335 8.4987 1.3335C4.83203 1.3335 1.83203 4.3335 1.83203 8.00016C1.83203 11.6668 4.83203 14.6668 8.4987 14.6668Z",
|
|
@@ -532,18 +514,18 @@ const St = (e) => /* @__PURE__ */ o(y, { ...e, viewBox: "0 0 17 16", children: /
|
|
|
532
514
|
strokeLinejoin: "round"
|
|
533
515
|
}
|
|
534
516
|
) });
|
|
535
|
-
|
|
536
|
-
const
|
|
537
|
-
|
|
538
|
-
const
|
|
517
|
+
Zt.displayName = "AddIcon";
|
|
518
|
+
const $t = (e) => /* @__PURE__ */ o(y, { ...e, fill: "currentColor", stroke: "none", children: /* @__PURE__ */ o("path", { d: "M17.2426 11.5628C17.2679 14.2868 19.6322 15.1933 19.6584 15.2048C19.6384 15.2687 19.2806 16.4966 18.4128 17.7649C17.6625 18.8615 16.8839 19.9539 15.6573 19.9766C14.4521 19.9988 14.0645 19.2619 12.6866 19.2619C11.309 19.2619 10.8785 19.954 9.73755 19.9988C8.55357 20.0436 7.65196 18.8131 6.89552 17.7206C5.34977 15.4858 4.1685 11.4057 5.75465 8.65155C6.54262 7.28383 7.95077 6.41773 9.4792 6.39552C10.6418 6.37334 11.7392 7.1777 12.4499 7.1777C13.1603 7.1777 14.4938 6.21039 15.8957 6.35245C16.4826 6.37688 18.13 6.58952 19.1879 8.13794C19.1026 8.19078 17.2222 9.28549 17.2426 11.5628ZM14.9775 4.87397C15.606 4.1131 16.0291 3.0539 15.9137 2C15.0076 2.03642 13.912 2.60377 13.2621 3.36422C12.6797 4.03763 12.1696 5.11548 12.3073 6.14852C13.3172 6.22665 14.3489 5.63532 14.9775 4.87397Z" }) });
|
|
519
|
+
$t.displayName = "AppleIcon";
|
|
520
|
+
const Ut = (e) => /* @__PURE__ */ o(y, { ...e, fill: "currentColor", stroke: "none", children: /* @__PURE__ */ o(
|
|
539
521
|
"path",
|
|
540
522
|
{
|
|
541
523
|
d: "M18 3C20.2099 3 21.9999 4.77985 22 6.96973V17.0303C21.9999 19.2201 20.2099 21 18 21H6C3.79009 21 2.00015 19.2201 2 17.0303V6.96973C2.00015 4.77985 3.79009 3 6 3H18ZM4.75 15C4.33579 15 4 15.3358 4 15.75C4 16.1642 4.33579 16.5 4.75 16.5H19.25C19.6642 16.5 20 16.1642 20 15.75C20 15.3358 19.6642 15 19.25 15H4.75ZM4.75 11C4.33579 11 4 11.3358 4 11.75C4 12.1642 4.33579 12.5 4.75 12.5H19.25C19.6642 12.5 20 12.1642 20 11.75C20 11.3358 19.6642 11 19.25 11H4.75ZM4.75 7C4.33579 7 4 7.33579 4 7.75C4 8.16421 4.33579 8.5 4.75 8.5H19.25C19.6642 8.5 20 8.16421 20 7.75C20 7.33579 19.6642 7 19.25 7H4.75Z",
|
|
542
524
|
fillOpacity: "0.3"
|
|
543
525
|
}
|
|
544
526
|
) });
|
|
545
|
-
|
|
546
|
-
const
|
|
527
|
+
Ut.displayName = "BackPhotoIcon";
|
|
528
|
+
const zt = (e) => /* @__PURE__ */ g(y, { ...e, viewBox: "0 0 16 16", fill: "currentColor", stroke: "none", children: [
|
|
547
529
|
/* @__PURE__ */ o(
|
|
548
530
|
"path",
|
|
549
531
|
{
|
|
@@ -559,8 +541,8 @@ const xt = (e) => /* @__PURE__ */ g(y, { ...e, viewBox: "0 0 16 16", fill: "curr
|
|
|
559
541
|
}
|
|
560
542
|
)
|
|
561
543
|
] });
|
|
562
|
-
|
|
563
|
-
const
|
|
544
|
+
zt.displayName = "CalendarIcon";
|
|
545
|
+
const Gt = (e) => /* @__PURE__ */ o(y, { ...e, viewBox: "0 0 16 16", children: /* @__PURE__ */ o(
|
|
564
546
|
"path",
|
|
565
547
|
{
|
|
566
548
|
d: "M5.33337 7.99992H10.6667M8.00004 10.6666V5.33325M8.00004 14.6666C11.6667 14.6666 14.6667 11.6666 14.6667 7.99992C14.6667 4.33325 11.6667 1.33325 8.00004 1.33325C4.33337 1.33325 1.33337 4.33325 1.33337 7.99992C1.33337 11.6666 4.33337 14.6666 8.00004 14.6666Z",
|
|
@@ -569,8 +551,8 @@ const Dt = (e) => /* @__PURE__ */ o(y, { ...e, viewBox: "0 0 16 16", children: /
|
|
|
569
551
|
strokeLinejoin: "round"
|
|
570
552
|
}
|
|
571
553
|
) });
|
|
572
|
-
|
|
573
|
-
const
|
|
554
|
+
Gt.displayName = "CircleAddIcon";
|
|
555
|
+
const Kt = (e) => /* @__PURE__ */ g(
|
|
574
556
|
"svg",
|
|
575
557
|
{
|
|
576
558
|
width: "20",
|
|
@@ -683,8 +665,8 @@ const At = (e) => /* @__PURE__ */ g(
|
|
|
683
665
|
]
|
|
684
666
|
}
|
|
685
667
|
);
|
|
686
|
-
|
|
687
|
-
const
|
|
668
|
+
Kt.displayName = "CoinIcon";
|
|
669
|
+
const Xt = (e) => /* @__PURE__ */ o(y, { ...e, viewBox: "0 0 20 18", fill: "currentColor", stroke: "none", children: /* @__PURE__ */ o(
|
|
688
670
|
"path",
|
|
689
671
|
{
|
|
690
672
|
fillRule: "evenodd",
|
|
@@ -692,29 +674,29 @@ const Ot = (e) => /* @__PURE__ */ o(y, { ...e, viewBox: "0 0 20 18", fill: "curr
|
|
|
692
674
|
d: "M16.6667 0H3.33333C1.49333 0 0 1.49333 0 3.33333V14.6667C0 16.5067 1.49333 18 3.33333 18H16.6667C18.5067 18 20 16.5067 20 14.6667V3.33333C20 1.49333 18.5067 0 16.6667 0ZM3.33333 1.66667H16.6667C17.5867 1.66667 18.3333 2.41333 18.3333 3.33333V10.8333L14.1667 6.66667C13.5067 6.00667 12.4933 6.00667 11.8333 6.66667L6.66667 11.8333L5.16667 10.3333C4.50667 9.67333 3.49333 9.67333 2.83333 10.3333L1.66667 11.5V3.33333C1.66667 2.41333 2.41333 1.66667 3.33333 1.66667Z"
|
|
693
675
|
}
|
|
694
676
|
) });
|
|
695
|
-
|
|
696
|
-
const
|
|
677
|
+
Xt.displayName = "DocumentBackIcon";
|
|
678
|
+
const Yt = (e) => /* @__PURE__ */ g(y, { ...e, viewBox: "0 0 16 16", fill: "currentColor", stroke: "none", children: [
|
|
697
679
|
/* @__PURE__ */ o("path", { d: "M14 14.667H2C1.72667 14.667 1.5 14.4403 1.5 14.167C1.5 13.8937 1.72667 13.667 2 13.667H14C14.2733 13.667 14.5 13.8937 14.5 14.167C14.5 14.4403 14.2733 14.667 14 14.667Z" }),
|
|
698
680
|
/* @__PURE__ */ o("path", { d: "M12.68 2.32043C11.3867 1.0271 10.12 0.993764 8.79334 2.32043L7.98668 3.1271C7.92001 3.19376 7.89334 3.30043 7.92001 3.39376C8.42668 5.16043 9.84001 6.57376 11.6067 7.08043C11.6333 7.0871 11.66 7.09376 11.6867 7.09376C11.76 7.09376 11.8267 7.0671 11.88 7.01376L12.68 6.2071C13.34 5.55376 13.66 4.92043 13.66 4.28043C13.6667 3.62043 13.3467 2.98043 12.68 2.32043Z" }),
|
|
699
681
|
/* @__PURE__ */ o("path", { d: "M10.4067 7.68678C10.2133 7.59345 10.0267 7.50011 9.84668 7.39345C9.70001 7.30678 9.56001 7.21345 9.42001 7.11345C9.30668 7.04011 9.17334 6.93345 9.04667 6.82678C9.03334 6.82011 8.98667 6.78011 8.93334 6.72678C8.71334 6.54011 8.46668 6.30011 8.24668 6.03345C8.22668 6.02011 8.19334 5.97345 8.14668 5.91345C8.08001 5.83345 7.96668 5.70011 7.86668 5.54678C7.78668 5.44678 7.69334 5.30011 7.60668 5.15345C7.50001 4.97345 7.40668 4.79345 7.31334 4.60678C7.19097 4.34455 6.8468 4.26666 6.64218 4.47127L2.89334 8.22011C2.80668 8.30678 2.72668 8.47345 2.70668 8.58678L2.34668 11.1401C2.28001 11.5934 2.40668 12.0201 2.68668 12.3068C2.92668 12.5401 3.26001 12.6668 3.62001 12.6668C3.70001 12.6668 3.78001 12.6601 3.86001 12.6468L6.42001 12.2868C6.54001 12.2668 6.70668 12.1868 6.78668 12.1001L10.5417 8.34509C10.7422 8.14456 10.6669 7.79954 10.4067 7.68678Z" })
|
|
700
682
|
] });
|
|
701
|
-
|
|
702
|
-
const
|
|
683
|
+
Yt.displayName = "EditIDIcon";
|
|
684
|
+
const qt = (e) => /* @__PURE__ */ o(y, { ...e, fill: "currentColor", stroke: "none", children: /* @__PURE__ */ o(
|
|
703
685
|
"path",
|
|
704
686
|
{
|
|
705
687
|
d: "M18 3H6C3.79 3 2 4.78 2 6.97V17.03C2 19.22 3.79 21 6 21H18C20.21 21 22 19.22 22 17.03V6.97C22 4.78 20.21 3 18 3ZM8.5 7.17C9.77 7.17 10.81 8.21 10.81 9.48C10.81 10.75 9.77 11.79 8.5 11.79C7.23 11.79 6.19 10.75 6.19 9.48C6.19 8.21 7.23 7.17 8.5 7.17ZM12.37 16.66C12.28 16.76 12.14 16.82 12 16.82H5C4.86 16.82 4.72 16.76 4.63 16.66C4.54 16.56 4.49 16.42 4.5 16.28C4.67 14.6 6.01 13.27 7.69 13.11C8.22 13.06 8.77 13.06 9.3 13.11C10.98 13.27 12.33 14.6 12.49 16.28C12.51 16.42 12.46 16.56 12.37 16.66ZM19 16.75H17C16.59 16.75 16.25 16.41 16.25 16C16.25 15.59 16.59 15.25 17 15.25H19C19.41 15.25 19.75 15.59 19.75 16C19.75 16.41 19.41 16.75 19 16.75ZM19 12.75H15C14.59 12.75 14.25 12.41 14.25 12C14.25 11.59 14.59 11.25 15 11.25H19C19.41 11.25 19.75 11.59 19.75 12C19.75 12.41 19.41 12.75 19 12.75ZM19 8.75H14C13.59 8.75 13.25 8.41 13.25 8C13.25 7.59 13.59 7.25 14 7.25H19C19.41 7.25 19.75 7.59 19.75 8C19.75 8.41 19.41 8.75 19 8.75Z",
|
|
706
688
|
fillOpacity: "0.3"
|
|
707
689
|
}
|
|
708
690
|
) });
|
|
709
|
-
|
|
710
|
-
const
|
|
691
|
+
qt.displayName = "FrontPhotoIcon";
|
|
692
|
+
const Qt = (e) => /* @__PURE__ */ g(y, { ...e, fill: "currentColor", stroke: "none", children: [
|
|
711
693
|
/* @__PURE__ */ o("path", { d: "M6.98916 13.8775L6.36261 16.2165L4.07258 16.2649C3.38819 14.9955 3 13.5432 3 11.9998C3 10.5074 3.36295 9.10006 4.00631 7.86084H4.0068L6.04557 8.23462L6.93868 10.2612C6.75175 10.8061 6.64987 11.3911 6.64987 11.9998C6.64994 12.6605 6.76961 13.2935 6.98916 13.8775Z" }),
|
|
712
694
|
/* @__PURE__ */ o("path", { d: "M20.8441 10.3184C20.9474 10.8628 21.0013 11.425 21.0013 11.9997C21.0013 12.644 20.9336 13.2725 20.8045 13.8788C20.3664 15.9419 19.2216 17.7433 17.6358 19.0182L17.6353 19.0177L15.0673 18.8866L14.7039 16.6178C15.7562 16.0007 16.5785 15.0349 17.0117 13.8788H12.1992V10.3184H17.0819H20.8441Z" }),
|
|
713
695
|
/* @__PURE__ */ o("path", { d: "M17.6335 19.0183L17.634 19.0188C16.0917 20.2585 14.1324 21.0002 11.9996 21.0002C8.57225 21.0002 5.59238 19.0845 4.07227 16.2654L6.98885 13.8779C7.74889 15.9064 9.70564 17.3503 11.9996 17.3503C12.9857 17.3503 13.9094 17.0838 14.7021 16.6185L17.6335 19.0183Z" }),
|
|
714
696
|
/* @__PURE__ */ o("path", { d: "M17.7442 5.07196L14.8286 7.45892C14.0082 6.94613 13.0384 6.64991 11.9995 6.64991C9.65358 6.64991 7.66023 8.16011 6.93826 10.2613L4.00635 7.86096H4.00586C5.50372 4.97307 8.52117 3 11.9995 3C14.1832 3 16.1855 3.77786 17.7442 5.07196Z" })
|
|
715
697
|
] });
|
|
716
|
-
|
|
717
|
-
const
|
|
698
|
+
Qt.displayName = "GoogleIcon";
|
|
699
|
+
const Jt = (e) => /* @__PURE__ */ g(y, { ...e, viewBox: "0 0 70 26", fill: "currentColor", stroke: "currentColor", children: [
|
|
718
700
|
/* @__PURE__ */ g("g", { clipPath: "url(#clip0_2001_2826)", children: [
|
|
719
701
|
/* @__PURE__ */ o(
|
|
720
702
|
"path",
|
|
@@ -778,8 +760,8 @@ const Ft = (e) => /* @__PURE__ */ g(y, { ...e, viewBox: "0 0 70 26", fill: "curr
|
|
|
778
760
|
] }),
|
|
779
761
|
/* @__PURE__ */ o("defs", { children: /* @__PURE__ */ o("clipPath", { id: "clip0_2001_2826", children: /* @__PURE__ */ o("rect", { width: "70", height: "25", fill: "white", transform: "translate(0 0.5)" }) }) })
|
|
780
762
|
] });
|
|
781
|
-
|
|
782
|
-
const
|
|
763
|
+
Jt.displayName = "LogoIcon";
|
|
764
|
+
const en = (e) => /* @__PURE__ */ g(y, { ...e, children: [
|
|
783
765
|
/* @__PURE__ */ o(
|
|
784
766
|
"path",
|
|
785
767
|
{
|
|
@@ -802,8 +784,8 @@ const Bt = (e) => /* @__PURE__ */ g(y, { ...e, children: [
|
|
|
802
784
|
),
|
|
803
785
|
/* @__PURE__ */ o("path", { d: "M14 11V13", strokeWidth: "1.5", strokeLinecap: "round", strokeLinejoin: "round" })
|
|
804
786
|
] });
|
|
805
|
-
|
|
806
|
-
const
|
|
787
|
+
en.displayName = "LogOutIcon";
|
|
788
|
+
const tn = (e) => /* @__PURE__ */ o(y, { ...e, children: /* @__PURE__ */ o(
|
|
807
789
|
"path",
|
|
808
790
|
{
|
|
809
791
|
fillRule: "evenodd",
|
|
@@ -814,16 +796,16 @@ const Vt = (e) => /* @__PURE__ */ o(y, { ...e, children: /* @__PURE__ */ o(
|
|
|
814
796
|
strokeLinejoin: "round"
|
|
815
797
|
}
|
|
816
798
|
) });
|
|
817
|
-
|
|
818
|
-
const
|
|
799
|
+
tn.displayName = "MsgIcon";
|
|
800
|
+
const nn = (e) => /* @__PURE__ */ g(y, { ...e, fill: "currentColor", stroke: "none", children: [
|
|
819
801
|
/* @__PURE__ */ o("path", { d: "M17 21.25H7C3.35 21.25 1.25 19.15 1.25 15.5V8.5C1.25 4.85 3.35 2.75 7 2.75H17C20.65 2.75 22.75 4.85 22.75 8.5V15.5C22.75 19.15 20.65 21.25 17 21.25ZM7 4.25C4.14 4.25 2.75 5.64 2.75 8.5V15.5C2.75 18.36 4.14 19.75 7 19.75H17C19.86 19.75 21.25 18.36 21.25 15.5V8.5C21.25 5.64 19.86 4.25 17 4.25H7Z" }),
|
|
820
802
|
/* @__PURE__ */ o("path", { d: "M8 10.75C6.96 10.75 6.11 9.9 6.11 8.86C6.11 7.82 6.96 6.97 8 6.97C9.04 6.97 9.89 7.82 9.89 8.86C9.89 9.9 9.04 10.75 8 10.75ZM8 8.47C7.78 8.47 7.61 8.64 7.61 8.86C7.61 9.08 7.78 9.25 8 9.25C8.22 9.25 8.39 9.08 8.39 8.86C8.39 8.64 8.22 8.47 8 8.47Z" }),
|
|
821
803
|
/* @__PURE__ */ o("path", { d: "M12 16.75H4.66C4.25 16.75 3.91 16.41 3.91 16C3.91 15.01 4.66 14.04 6.04 13.45C7.02 13.02 8.19 12.8 8.44 12.76C8.85 12.69 9.23 12.97 9.3 13.38C9.37 13.79 9.09 14.17 8.68 14.24C8.53 14.26 7.56 14.45 6.75 14.8C6.05 15.11 5.59 15.51 5.41 15.81C6.17 15.78 6.98 15.74 7.85 15.74H12C12.41 15.74 12.75 16.08 12.75 16.49C12.75 16.9 12.41 17.24 12 17.24V16.75Z" }),
|
|
822
804
|
/* @__PURE__ */ o("path", { d: "M14.5 11.75H12.5C12.09 11.75 11.75 11.41 11.75 11C11.75 10.59 12.09 10.25 12.5 10.25H14.5C14.91 10.25 15.25 10.59 15.25 11C15.25 11.41 14.91 11.75 14.5 11.75Z" }),
|
|
823
805
|
/* @__PURE__ */ o("path", { d: "M19.5 15.75H12.5C12.09 15.75 11.75 15.41 11.75 15C11.75 14.59 12.09 14.25 12.5 14.25H19.5C19.91 14.25 20.25 14.59 20.25 15C20.25 15.41 19.91 15.75 19.5 15.75Z" })
|
|
824
806
|
] });
|
|
825
|
-
|
|
826
|
-
const
|
|
807
|
+
nn.displayName = "PersonalcardIcon";
|
|
808
|
+
const rn = (e) => /* @__PURE__ */ g(y, { ...e, viewBox: "0 0 16 16", children: [
|
|
827
809
|
/* @__PURE__ */ o(
|
|
828
810
|
"path",
|
|
829
811
|
{
|
|
@@ -861,12 +843,12 @@ const Zt = (e) => /* @__PURE__ */ g(y, { ...e, viewBox: "0 0 16 16", children: [
|
|
|
861
843
|
}
|
|
862
844
|
)
|
|
863
845
|
] });
|
|
864
|
-
|
|
865
|
-
const
|
|
866
|
-
|
|
867
|
-
const
|
|
868
|
-
|
|
869
|
-
const
|
|
846
|
+
rn.displayName = "ReverseIcon";
|
|
847
|
+
const on = (e) => /* @__PURE__ */ o(y, { ...e, viewBox: "0 0 14 13", fill: "currentColor", stroke: "none", children: /* @__PURE__ */ o("path", { d: "M6.10326 0.816985C6.47008 0.0737389 7.52992 0.0737404 7.89674 0.816986L9.11847 3.29249C9.26413 3.58763 9.5457 3.7922 9.87141 3.83953L12.6033 4.2365C13.4235 4.35568 13.751 5.36365 13.1575 5.94219L11.1807 7.8691C10.945 8.09884 10.8375 8.42984 10.8931 8.75423L11.3598 11.4751C11.4999 12.292 10.6424 12.9149 9.90881 12.5293L7.46534 11.2446C7.17402 11.0915 6.82598 11.0915 6.53466 11.2446L4.09119 12.5293C3.35756 12.9149 2.50013 12.292 2.64024 11.4751L3.1069 8.75423C3.16254 8.42984 3.05499 8.09884 2.81931 7.8691L0.842496 5.94219C0.248979 5.36365 0.576491 4.35568 1.39671 4.2365L4.12859 3.83953C4.4543 3.7922 4.73587 3.58763 4.88153 3.29249L6.10326 0.816985Z" }) });
|
|
848
|
+
on.displayName = "StarIcon";
|
|
849
|
+
const an = (e) => /* @__PURE__ */ o(y, { ...e, viewBox: "0 0 16 14", fill: "white", stroke: "none", children: /* @__PURE__ */ o("path", { d: "M1.09992 5.70829C5.39487 3.83705 8.25885 2.60341 9.69185 2.00738C13.7834 0.30558 14.6335 0.00996026 15.1877 9.46359e-05C15.3095 -0.00194823 15.582 0.0282562 15.7586 0.171489C15.9076 0.292432 15.9486 0.455809 15.9683 0.570476C15.9879 0.685143 16.0123 0.946358 15.9929 1.15046C15.7712 3.48009 14.8118 9.13349 14.3237 11.7427C14.1172 12.8468 13.7105 13.217 13.3168 13.2532C12.4613 13.3319 11.8116 12.6878 10.9829 12.1446C9.68624 11.2946 8.95369 10.7654 7.69503 9.936C6.24042 8.97744 7.18338 8.4506 8.01236 7.58959C8.22931 7.36426 11.999 3.93546 12.0719 3.62441C12.0811 3.58551 12.0895 3.44051 12.0034 3.36394C11.9172 3.28737 11.7901 3.31355 11.6983 3.33438C11.5683 3.36389 9.4968 4.73307 5.48389 7.4419C4.89591 7.84565 4.36333 8.04237 3.88616 8.03207C3.36012 8.0207 2.34822 7.73463 1.59598 7.49011C0.673328 7.19019 -0.0599784 7.03162 0.00387615 6.52227C0.0371355 6.25697 0.402482 5.98564 1.09992 5.70829Z" }) });
|
|
850
|
+
an.displayName = "Tg2Icon";
|
|
851
|
+
const sn = (e) => /* @__PURE__ */ g(y, { ...e, fill: "currentColor", stroke: "none", children: [
|
|
870
852
|
/* @__PURE__ */ o("path", { d: "M12 21C16.9706 21 21 16.9706 21 12C21 7.02944 16.9706 3 12 3C7.02944 3 3 7.02944 3 12C3 16.9706 7.02944 21 12 21Z" }),
|
|
871
853
|
/* @__PURE__ */ o("path", { d: "M9.0918 12.658L10.1596 15.6135C10.1596 15.6135 10.2931 15.89 10.436 15.89C10.579 15.89 12.7051 13.6781 12.7051 13.6781L15.0695 9.11133L9.1299 11.8951L9.0918 12.658Z" }),
|
|
872
854
|
/* @__PURE__ */ o(
|
|
@@ -885,8 +867,8 @@ const Gt = (e) => /* @__PURE__ */ g(y, { ...e, fill: "currentColor", stroke: "no
|
|
|
885
867
|
}
|
|
886
868
|
)
|
|
887
869
|
] });
|
|
888
|
-
|
|
889
|
-
const
|
|
870
|
+
sn.displayName = "TgIcon";
|
|
871
|
+
const cn = (e) => /* @__PURE__ */ g(y, { ...e, children: [
|
|
890
872
|
/* @__PURE__ */ o(
|
|
891
873
|
"path",
|
|
892
874
|
{
|
|
@@ -915,8 +897,8 @@ const Kt = (e) => /* @__PURE__ */ g(y, { ...e, children: [
|
|
|
915
897
|
}
|
|
916
898
|
)
|
|
917
899
|
] });
|
|
918
|
-
|
|
919
|
-
const
|
|
900
|
+
cn.displayName = "UserIcon";
|
|
901
|
+
const ln = (e) => /* @__PURE__ */ g(y, { ...e, viewBox: "0 0 20 20", fill: "currentColor", stroke: "none", children: [
|
|
920
902
|
/* @__PURE__ */ g("g", { clipPath: "url(#clip0_384_5149)", children: [
|
|
921
903
|
/* @__PURE__ */ o("path", { d: "M0 9.6C0 5.0745 0 2.81177 1.40589 1.40589C2.81177 0 5.0745 0 9.6 0H10.4C14.9255 0 17.1882 0 18.5941 1.40589C20 2.81177 20 5.0745 20 9.6V10.4C20 14.9255 20 17.1882 18.5941 18.5941C17.1882 20 14.9255 20 10.4 20H9.6C5.0745 20 2.81177 20 1.40589 18.5941C0 17.1882 0 14.9255 0 10.4V9.6Z" }),
|
|
922
904
|
/* @__PURE__ */ o(
|
|
@@ -929,8 +911,8 @@ const zt = (e) => /* @__PURE__ */ g(y, { ...e, viewBox: "0 0 20 20", fill: "curr
|
|
|
929
911
|
] }),
|
|
930
912
|
/* @__PURE__ */ o("defs", { children: /* @__PURE__ */ o("clipPath", { id: "clip0_384_5149", children: /* @__PURE__ */ o("rect", { width: "20", height: "20", fill: "white" }) }) })
|
|
931
913
|
] });
|
|
932
|
-
|
|
933
|
-
const
|
|
914
|
+
ln.displayName = "VkIcon";
|
|
915
|
+
const un = (e) => /* @__PURE__ */ g(y, { ...e, viewBox: "0 0 16 17", stroke: "white", children: [
|
|
934
916
|
/* @__PURE__ */ o(
|
|
935
917
|
"path",
|
|
936
918
|
{
|
|
@@ -948,8 +930,8 @@ const Xt = (e) => /* @__PURE__ */ g(y, { ...e, viewBox: "0 0 16 17", stroke: "wh
|
|
|
948
930
|
}
|
|
949
931
|
)
|
|
950
932
|
] });
|
|
951
|
-
|
|
952
|
-
const
|
|
933
|
+
un.displayName = "WatchIcon";
|
|
934
|
+
const dn = (e) => /* @__PURE__ */ o(y, { ...e, viewBox: "0 0 16 16", fill: "white", stroke: "none", children: /* @__PURE__ */ o(
|
|
953
935
|
"path",
|
|
954
936
|
{
|
|
955
937
|
fillRule: "evenodd",
|
|
@@ -957,16 +939,16 @@ const Yt = (e) => /* @__PURE__ */ o(y, { ...e, viewBox: "0 0 16 16", fill: "whit
|
|
|
957
939
|
d: "M13.6 2.3C12.1 0.8 10.1 0 8 0C3.6 0 0 3.6 0 8C0 9.4 0.400006 10.8 1.10001 12L0 16L4.20001 14.9C5.40001 15.5 6.7 15.9 8 15.9C12.4 15.9 16 12.3 16 7.9C16 5.8 15.1 3.8 13.6 2.3ZM8 14.6C6.8 14.6 5.60001 14.3 4.60001 13.7L4.39999 13.6L1.89999 14.3L2.60001 11.9L2.39999 11.6C1.69999 10.5 1.39999 9.3 1.39999 8.1C1.39999 4.5 4.4 1.5 8 1.5C9.8 1.5 11.4 2.2 12.7 3.4C14 4.7 14.6 6.3 14.6 8.1C14.6 11.6 11.7 14.6 8 14.6ZM11.6 9.6C11.4 9.5 10.4 9 10.2 9C10 8.9 9.89999 8.9 9.79999 9.1C9.69999 9.3 9.30001 9.7 9.20001 9.9C9.10001 10 8.99999 10 8.79999 10C8.59999 9.9 8.00001 9.7 7.20001 9C6.60001 8.5 6.20001 7.8 6.10001 7.6C6.00001 7.4 6.10001 7.3 6.20001 7.2C6.30001 7.1 6.4 7 6.5 6.9C6.6 6.8 6.60001 6.7 6.70001 6.6C6.80001 6.5 6.70001 6.4 6.70001 6.3C6.70001 6.2 6.30001 5.2 6.10001 4.8C6.00001 4.5 5.80001 4.5 5.70001 4.5C5.60001 4.5 5.49999 4.5 5.29999 4.5C5.19999 4.5 4.99999 4.5 4.79999 4.7C4.59999 4.9 4.10001 5.4 4.10001 6.4C4.10001 7.4 4.79999 8.3 4.89999 8.5C4.99999 8.6 6.29999 10.7 8.29999 11.5C9.99999 12.2 10.3 12 10.7 12C11.1 12 11.9 11.5 12 11.1C12.2 10.6 12.2 10.2 12.1 10.2C12 9.7 11.8 9.7 11.6 9.6Z"
|
|
958
940
|
}
|
|
959
941
|
) });
|
|
960
|
-
|
|
961
|
-
const
|
|
962
|
-
wrapper:
|
|
963
|
-
label:
|
|
964
|
-
container:
|
|
965
|
-
input:
|
|
966
|
-
error:
|
|
967
|
-
clearButton:
|
|
968
|
-
errorText:
|
|
969
|
-
},
|
|
942
|
+
dn.displayName = "WhatsappIcon";
|
|
943
|
+
const fn = "_wrapper_gkzyi_1", pn = "_label_gkzyi_9", Cn = "_container_gkzyi_17", hn = "_input_gkzyi_23", vn = "_error_gkzyi_57", mn = "_clearButton_gkzyi_62", gn = "_errorText_gkzyi_93", H = {
|
|
944
|
+
wrapper: fn,
|
|
945
|
+
label: pn,
|
|
946
|
+
container: Cn,
|
|
947
|
+
input: hn,
|
|
948
|
+
error: vn,
|
|
949
|
+
clearButton: mn,
|
|
950
|
+
errorText: gn
|
|
951
|
+
}, yn = K(
|
|
970
952
|
({
|
|
971
953
|
label: e,
|
|
972
954
|
error: t,
|
|
@@ -977,19 +959,19 @@ const qt = "_wrapper_gkzyi_1", Qt = "_label_gkzyi_9", Jt = "_container_gkzyi_17"
|
|
|
977
959
|
value: l,
|
|
978
960
|
defaultValue: s,
|
|
979
961
|
onChange: f,
|
|
980
|
-
...
|
|
981
|
-
},
|
|
982
|
-
const
|
|
983
|
-
|
|
984
|
-
const v = l !== void 0, [
|
|
985
|
-
|
|
986
|
-
v &&
|
|
962
|
+
...u
|
|
963
|
+
}, p) => {
|
|
964
|
+
const C = $e(), h = Ue(null);
|
|
965
|
+
ze(p, () => h.current);
|
|
966
|
+
const v = l !== void 0, [k, d] = _e(() => v ? l : s || "");
|
|
967
|
+
x1(() => {
|
|
968
|
+
v && d(l);
|
|
987
969
|
}, [v, l]);
|
|
988
|
-
const m = String(
|
|
989
|
-
const
|
|
990
|
-
v ||
|
|
991
|
-
},
|
|
992
|
-
if (
|
|
970
|
+
const m = String(k).length > 0, L = (M) => {
|
|
971
|
+
const x = M.target.value;
|
|
972
|
+
v || d(x), f?.(M);
|
|
973
|
+
}, _ = () => {
|
|
974
|
+
if (d(""), !v && h.current && (h.current.value = "", f)) {
|
|
993
975
|
const M = {
|
|
994
976
|
target: h.current,
|
|
995
977
|
currentTarget: h.current
|
|
@@ -997,49 +979,81 @@ const qt = "_wrapper_gkzyi_1", Qt = "_label_gkzyi_9", Jt = "_container_gkzyi_17"
|
|
|
997
979
|
f(M);
|
|
998
980
|
}
|
|
999
981
|
r?.();
|
|
1000
|
-
},
|
|
1001
|
-
[
|
|
982
|
+
}, E = N(H.wrapper, i), w = N(H.input, {
|
|
983
|
+
[H.error]: !!t
|
|
1002
984
|
});
|
|
1003
|
-
return /* @__PURE__ */ g("div", { className:
|
|
1004
|
-
e && /* @__PURE__ */ o("label", { htmlFor:
|
|
1005
|
-
/* @__PURE__ */ g("div", { className:
|
|
985
|
+
return /* @__PURE__ */ g("div", { className: E, children: [
|
|
986
|
+
e && /* @__PURE__ */ o("label", { htmlFor: C, className: H.label, children: e }),
|
|
987
|
+
/* @__PURE__ */ g("div", { className: H.container, children: [
|
|
1006
988
|
/* @__PURE__ */ o(
|
|
1007
989
|
"input",
|
|
1008
990
|
{
|
|
1009
|
-
...
|
|
991
|
+
...u,
|
|
1010
992
|
ref: h,
|
|
1011
|
-
id:
|
|
1012
|
-
className:
|
|
993
|
+
id: C,
|
|
994
|
+
className: w,
|
|
1013
995
|
disabled: a,
|
|
1014
996
|
value: v ? l : void 0,
|
|
1015
997
|
defaultValue: v ? void 0 : s,
|
|
1016
|
-
onChange:
|
|
998
|
+
onChange: L
|
|
1017
999
|
}
|
|
1018
1000
|
),
|
|
1019
1001
|
n && m && !a && /* @__PURE__ */ o(
|
|
1020
1002
|
"button",
|
|
1021
1003
|
{
|
|
1022
1004
|
type: "button",
|
|
1023
|
-
className:
|
|
1024
|
-
onClick:
|
|
1005
|
+
className: H.clearButton,
|
|
1006
|
+
onClick: _,
|
|
1025
1007
|
tabIndex: -1,
|
|
1026
1008
|
"aria-label": "Clear input",
|
|
1027
|
-
children: /* @__PURE__ */ o(
|
|
1009
|
+
children: /* @__PURE__ */ o(Ee, {})
|
|
1028
1010
|
}
|
|
1029
1011
|
)
|
|
1030
1012
|
] }),
|
|
1031
|
-
t && /* @__PURE__ */ o("div", { className:
|
|
1013
|
+
t && /* @__PURE__ */ o("div", { className: H.errorText, children: t })
|
|
1032
1014
|
] });
|
|
1033
1015
|
}
|
|
1034
1016
|
);
|
|
1035
|
-
|
|
1036
|
-
|
|
1017
|
+
yn.displayName = "Input";
|
|
1018
|
+
const Ln = "_link_gxfgk_1", _n = "_active_gxfgk_11", kn = "_xs_gxfgk_16", En = "_s_gxfgk_21", bn = "_m_gxfgk_26", wn = "_primary_gxfgk_37", Mn = "_secondary_gxfgk_46", Y = {
|
|
1019
|
+
link: Ln,
|
|
1020
|
+
active: _n,
|
|
1021
|
+
xs: kn,
|
|
1022
|
+
s: En,
|
|
1023
|
+
m: bn,
|
|
1024
|
+
primary: wn,
|
|
1025
|
+
secondary: Mn
|
|
1026
|
+
}, Nn = ({
|
|
1027
|
+
href: e,
|
|
1028
|
+
external: t = !1,
|
|
1029
|
+
subdomainLink: n = !1,
|
|
1030
|
+
isActive: r = !1,
|
|
1031
|
+
size: i = "m",
|
|
1032
|
+
variant: a = "primary",
|
|
1033
|
+
children: l,
|
|
1034
|
+
className: s,
|
|
1035
|
+
component: f,
|
|
1036
|
+
...u
|
|
1037
|
+
}) => {
|
|
1038
|
+
const p = N(
|
|
1039
|
+
Y.link,
|
|
1040
|
+
Y[i],
|
|
1041
|
+
Y[a],
|
|
1042
|
+
{
|
|
1043
|
+
[Y.active]: r
|
|
1044
|
+
},
|
|
1045
|
+
s
|
|
1046
|
+
);
|
|
1047
|
+
return t ? /* @__PURE__ */ o("a", { href: e, target: "_blank", rel: "noopener noreferrer", className: p, ...u, children: l }) : n || !f ? /* @__PURE__ */ o("a", { href: e, className: p, ...u, children: l }) : /* @__PURE__ */ o(f, { href: e, className: p, ...u, children: l });
|
|
1048
|
+
};
|
|
1049
|
+
Nn.displayName = "Link";
|
|
1050
|
+
function W(e, t, { checkForDefaultPrevented: n = !0 } = {}) {
|
|
1037
1051
|
return function(i) {
|
|
1038
1052
|
if (e?.(i), n === !1 || !i.defaultPrevented)
|
|
1039
1053
|
return t?.(i);
|
|
1040
1054
|
};
|
|
1041
1055
|
}
|
|
1042
|
-
function
|
|
1056
|
+
function In(e, t) {
|
|
1043
1057
|
const n = c.createContext(t), r = (a) => {
|
|
1044
1058
|
const { children: l, ...s } = a, f = c.useMemo(() => s, Object.values(s));
|
|
1045
1059
|
return /* @__PURE__ */ o(n.Provider, { value: f, children: l });
|
|
@@ -1053,23 +1067,23 @@ function an(e, t) {
|
|
|
1053
1067
|
}
|
|
1054
1068
|
return [r, i];
|
|
1055
1069
|
}
|
|
1056
|
-
function
|
|
1070
|
+
function xn(e, t = []) {
|
|
1057
1071
|
let n = [];
|
|
1058
1072
|
function r(a, l) {
|
|
1059
1073
|
const s = c.createContext(l), f = n.length;
|
|
1060
1074
|
n = [...n, l];
|
|
1061
|
-
const
|
|
1062
|
-
const { scope: h, children: v, ...
|
|
1063
|
-
return /* @__PURE__ */ o(
|
|
1075
|
+
const u = (C) => {
|
|
1076
|
+
const { scope: h, children: v, ...k } = C, d = h?.[e]?.[f] || s, m = c.useMemo(() => k, Object.values(k));
|
|
1077
|
+
return /* @__PURE__ */ o(d.Provider, { value: m, children: v });
|
|
1064
1078
|
};
|
|
1065
|
-
|
|
1066
|
-
function C
|
|
1067
|
-
const v = h?.[e]?.[f] || s,
|
|
1068
|
-
if (
|
|
1079
|
+
u.displayName = a + "Provider";
|
|
1080
|
+
function p(C, h) {
|
|
1081
|
+
const v = h?.[e]?.[f] || s, k = c.useContext(v);
|
|
1082
|
+
if (k) return k;
|
|
1069
1083
|
if (l !== void 0) return l;
|
|
1070
|
-
throw new Error(`\`${
|
|
1084
|
+
throw new Error(`\`${C}\` must be used within \`${a}\``);
|
|
1071
1085
|
}
|
|
1072
|
-
return [
|
|
1086
|
+
return [u, p];
|
|
1073
1087
|
}
|
|
1074
1088
|
const i = () => {
|
|
1075
1089
|
const a = n.map((l) => c.createContext(l));
|
|
@@ -1081,9 +1095,9 @@ function sn(e, t = []) {
|
|
|
1081
1095
|
);
|
|
1082
1096
|
};
|
|
1083
1097
|
};
|
|
1084
|
-
return i.scopeName = e, [r,
|
|
1098
|
+
return i.scopeName = e, [r, Sn(i, ...t)];
|
|
1085
1099
|
}
|
|
1086
|
-
function
|
|
1100
|
+
function Sn(...e) {
|
|
1087
1101
|
const t = e[0];
|
|
1088
1102
|
if (e.length === 1) return t;
|
|
1089
1103
|
const n = () => {
|
|
@@ -1092,72 +1106,72 @@ function cn(...e) {
|
|
|
1092
1106
|
scopeName: i.scopeName
|
|
1093
1107
|
}));
|
|
1094
1108
|
return function(a) {
|
|
1095
|
-
const l = r.reduce((s, { useScope: f, scopeName:
|
|
1096
|
-
const
|
|
1097
|
-
return { ...s, ...
|
|
1109
|
+
const l = r.reduce((s, { useScope: f, scopeName: u }) => {
|
|
1110
|
+
const C = f(a)[`__scope${u}`];
|
|
1111
|
+
return { ...s, ...C };
|
|
1098
1112
|
}, {});
|
|
1099
1113
|
return c.useMemo(() => ({ [`__scope${t.scopeName}`]: l }), [l]);
|
|
1100
1114
|
};
|
|
1101
1115
|
};
|
|
1102
1116
|
return n.scopeName = t.scopeName, n;
|
|
1103
1117
|
}
|
|
1104
|
-
var
|
|
1105
|
-
},
|
|
1106
|
-
}),
|
|
1107
|
-
function
|
|
1108
|
-
const [t, n] = c.useState(
|
|
1109
|
-
return
|
|
1110
|
-
n((r) => r ?? String(
|
|
1118
|
+
var z = globalThis?.document ? c.useLayoutEffect : () => {
|
|
1119
|
+
}, Rn = c[" useId ".trim().toString()] || (() => {
|
|
1120
|
+
}), Pn = 0;
|
|
1121
|
+
function ue(e) {
|
|
1122
|
+
const [t, n] = c.useState(Rn());
|
|
1123
|
+
return z(() => {
|
|
1124
|
+
n((r) => r ?? String(Pn++));
|
|
1111
1125
|
}, [e]), e || (t ? `radix-${t}` : "");
|
|
1112
1126
|
}
|
|
1113
|
-
var
|
|
1114
|
-
function
|
|
1127
|
+
var Dn = c[" useInsertionEffect ".trim().toString()] || z;
|
|
1128
|
+
function An({
|
|
1115
1129
|
prop: e,
|
|
1116
1130
|
defaultProp: t,
|
|
1117
1131
|
onChange: n = () => {
|
|
1118
1132
|
},
|
|
1119
1133
|
caller: r
|
|
1120
1134
|
}) {
|
|
1121
|
-
const [i, a, l] =
|
|
1135
|
+
const [i, a, l] = On({
|
|
1122
1136
|
defaultProp: t,
|
|
1123
1137
|
onChange: n
|
|
1124
1138
|
}), s = e !== void 0, f = s ? e : i;
|
|
1125
1139
|
{
|
|
1126
|
-
const
|
|
1140
|
+
const p = c.useRef(e !== void 0);
|
|
1127
1141
|
c.useEffect(() => {
|
|
1128
|
-
const
|
|
1129
|
-
|
|
1130
|
-
`${r} is changing from ${
|
|
1131
|
-
),
|
|
1142
|
+
const C = p.current;
|
|
1143
|
+
C !== s && console.warn(
|
|
1144
|
+
`${r} is changing from ${C ? "controlled" : "uncontrolled"} to ${s ? "controlled" : "uncontrolled"}. Components should not switch from controlled to uncontrolled (or vice versa). Decide between using a controlled or uncontrolled value for the lifetime of the component.`
|
|
1145
|
+
), p.current = s;
|
|
1132
1146
|
}, [s, r]);
|
|
1133
1147
|
}
|
|
1134
|
-
const
|
|
1135
|
-
(
|
|
1148
|
+
const u = c.useCallback(
|
|
1149
|
+
(p) => {
|
|
1136
1150
|
if (s) {
|
|
1137
|
-
const
|
|
1138
|
-
|
|
1151
|
+
const C = Tn(p) ? p(e) : p;
|
|
1152
|
+
C !== e && l.current?.(C);
|
|
1139
1153
|
} else
|
|
1140
|
-
a(
|
|
1154
|
+
a(p);
|
|
1141
1155
|
},
|
|
1142
1156
|
[s, e, a, l]
|
|
1143
1157
|
);
|
|
1144
|
-
return [f,
|
|
1158
|
+
return [f, u];
|
|
1145
1159
|
}
|
|
1146
|
-
function
|
|
1160
|
+
function On({
|
|
1147
1161
|
defaultProp: e,
|
|
1148
1162
|
onChange: t
|
|
1149
1163
|
}) {
|
|
1150
1164
|
const [n, r] = c.useState(e), i = c.useRef(n), a = c.useRef(t);
|
|
1151
|
-
return
|
|
1165
|
+
return Dn(() => {
|
|
1152
1166
|
a.current = t;
|
|
1153
1167
|
}, [t]), c.useEffect(() => {
|
|
1154
1168
|
i.current !== n && (a.current?.(n), i.current = n);
|
|
1155
1169
|
}, [n, i]), [n, r, a];
|
|
1156
1170
|
}
|
|
1157
|
-
function
|
|
1171
|
+
function Tn(e) {
|
|
1158
1172
|
return typeof e == "function";
|
|
1159
1173
|
}
|
|
1160
|
-
var
|
|
1174
|
+
var Wn = [
|
|
1161
1175
|
"a",
|
|
1162
1176
|
"button",
|
|
1163
1177
|
"div",
|
|
@@ -1175,24 +1189,24 @@ var hn = [
|
|
|
1175
1189
|
"span",
|
|
1176
1190
|
"svg",
|
|
1177
1191
|
"ul"
|
|
1178
|
-
], A =
|
|
1179
|
-
const n = /* @__PURE__ */
|
|
1192
|
+
], A = Wn.reduce((e, t) => {
|
|
1193
|
+
const n = /* @__PURE__ */ ke(`Primitive.${t}`), r = c.forwardRef((i, a) => {
|
|
1180
1194
|
const { asChild: l, ...s } = i, f = l ? n : t;
|
|
1181
1195
|
return typeof window < "u" && (window[Symbol.for("radix-ui")] = !0), /* @__PURE__ */ o(f, { ...s, ref: a });
|
|
1182
1196
|
});
|
|
1183
1197
|
return r.displayName = `Primitive.${t}`, { ...e, [t]: r };
|
|
1184
1198
|
}, {});
|
|
1185
|
-
function
|
|
1186
|
-
e &&
|
|
1199
|
+
function Hn(e, t) {
|
|
1200
|
+
e && P1.flushSync(() => e.dispatchEvent(t));
|
|
1187
1201
|
}
|
|
1188
|
-
function
|
|
1202
|
+
function G(e) {
|
|
1189
1203
|
const t = c.useRef(e);
|
|
1190
1204
|
return c.useEffect(() => {
|
|
1191
1205
|
t.current = e;
|
|
1192
1206
|
}), c.useMemo(() => (...n) => t.current?.(...n), []);
|
|
1193
1207
|
}
|
|
1194
|
-
function
|
|
1195
|
-
const n =
|
|
1208
|
+
function Fn(e, t = globalThis?.document) {
|
|
1209
|
+
const n = G(e);
|
|
1196
1210
|
c.useEffect(() => {
|
|
1197
1211
|
const r = (i) => {
|
|
1198
1212
|
i.key === "Escape" && n(i);
|
|
@@ -1200,11 +1214,11 @@ function mn(e, t = globalThis?.document) {
|
|
|
1200
1214
|
return t.addEventListener("keydown", r, { capture: !0 }), () => t.removeEventListener("keydown", r, { capture: !0 });
|
|
1201
1215
|
}, [n, t]);
|
|
1202
1216
|
}
|
|
1203
|
-
var
|
|
1217
|
+
var Bn = "DismissableLayer", ye = "dismissableLayer.update", jn = "dismissableLayer.pointerDownOutside", Vn = "dismissableLayer.focusOutside", Re, qe = c.createContext({
|
|
1204
1218
|
layers: /* @__PURE__ */ new Set(),
|
|
1205
1219
|
layersWithOutsidePointerEventsDisabled: /* @__PURE__ */ new Set(),
|
|
1206
1220
|
branches: /* @__PURE__ */ new Set()
|
|
1207
|
-
}),
|
|
1221
|
+
}), Qe = c.forwardRef(
|
|
1208
1222
|
(e, t) => {
|
|
1209
1223
|
const {
|
|
1210
1224
|
disableOutsidePointerEvents: n = !1,
|
|
@@ -1214,37 +1228,37 @@ var gn = "DismissableLayer", ve = "dismissableLayer.update", yn = "dismissableLa
|
|
|
1214
1228
|
onInteractOutside: l,
|
|
1215
1229
|
onDismiss: s,
|
|
1216
1230
|
...f
|
|
1217
|
-
} = e,
|
|
1218
|
-
const
|
|
1219
|
-
!
|
|
1220
|
-
}, h),
|
|
1221
|
-
const
|
|
1222
|
-
[...
|
|
1231
|
+
} = e, u = c.useContext(qe), [p, C] = c.useState(null), h = p?.ownerDocument ?? globalThis?.document, [, v] = c.useState({}), k = B(t, (b) => C(b)), d = Array.from(u.layers), [m] = [...u.layersWithOutsidePointerEventsDisabled].slice(-1), L = d.indexOf(m), _ = p ? d.indexOf(p) : -1, E = u.layersWithOutsidePointerEventsDisabled.size > 0, w = _ >= L, M = Un((b) => {
|
|
1232
|
+
const P = b.target, U = [...u.branches].some((ce) => ce.contains(P));
|
|
1233
|
+
!w || U || (i?.(b), l?.(b), b.defaultPrevented || s?.());
|
|
1234
|
+
}, h), x = zn((b) => {
|
|
1235
|
+
const P = b.target;
|
|
1236
|
+
[...u.branches].some((ce) => ce.contains(P)) || (a?.(b), l?.(b), b.defaultPrevented || s?.());
|
|
1223
1237
|
}, h);
|
|
1224
|
-
return
|
|
1225
|
-
|
|
1238
|
+
return Fn((b) => {
|
|
1239
|
+
_ === u.layers.size - 1 && (r?.(b), !b.defaultPrevented && s && (b.preventDefault(), s()));
|
|
1226
1240
|
}, h), c.useEffect(() => {
|
|
1227
|
-
if (
|
|
1228
|
-
return n && (
|
|
1229
|
-
n &&
|
|
1241
|
+
if (p)
|
|
1242
|
+
return n && (u.layersWithOutsidePointerEventsDisabled.size === 0 && (Re = h.body.style.pointerEvents, h.body.style.pointerEvents = "none"), u.layersWithOutsidePointerEventsDisabled.add(p)), u.layers.add(p), Pe(), () => {
|
|
1243
|
+
n && u.layersWithOutsidePointerEventsDisabled.size === 1 && (h.body.style.pointerEvents = Re);
|
|
1230
1244
|
};
|
|
1231
|
-
}, [
|
|
1232
|
-
|
|
1233
|
-
}, [
|
|
1234
|
-
const
|
|
1235
|
-
return document.addEventListener(
|
|
1245
|
+
}, [p, h, n, u]), c.useEffect(() => () => {
|
|
1246
|
+
p && (u.layers.delete(p), u.layersWithOutsidePointerEventsDisabled.delete(p), Pe());
|
|
1247
|
+
}, [p, u]), c.useEffect(() => {
|
|
1248
|
+
const b = () => v({});
|
|
1249
|
+
return document.addEventListener(ye, b), () => document.removeEventListener(ye, b);
|
|
1236
1250
|
}, []), /* @__PURE__ */ o(
|
|
1237
1251
|
A.div,
|
|
1238
1252
|
{
|
|
1239
1253
|
...f,
|
|
1240
|
-
ref:
|
|
1254
|
+
ref: k,
|
|
1241
1255
|
style: {
|
|
1242
|
-
pointerEvents:
|
|
1256
|
+
pointerEvents: E ? w ? "auto" : "none" : void 0,
|
|
1243
1257
|
...e.style
|
|
1244
1258
|
},
|
|
1245
|
-
onFocusCapture:
|
|
1246
|
-
onBlurCapture:
|
|
1247
|
-
onPointerDownCapture:
|
|
1259
|
+
onFocusCapture: W(e.onFocusCapture, x.onFocusCapture),
|
|
1260
|
+
onBlurCapture: W(e.onBlurCapture, x.onBlurCapture),
|
|
1261
|
+
onPointerDownCapture: W(
|
|
1248
1262
|
e.onPointerDownCapture,
|
|
1249
1263
|
M.onPointerDownCapture
|
|
1250
1264
|
)
|
|
@@ -1252,9 +1266,9 @@ var gn = "DismissableLayer", ve = "dismissableLayer.update", yn = "dismissableLa
|
|
|
1252
1266
|
);
|
|
1253
1267
|
}
|
|
1254
1268
|
);
|
|
1255
|
-
|
|
1256
|
-
var
|
|
1257
|
-
const n = c.useContext(
|
|
1269
|
+
Qe.displayName = Bn;
|
|
1270
|
+
var Zn = "DismissableLayerBranch", $n = c.forwardRef((e, t) => {
|
|
1271
|
+
const n = c.useContext(qe), r = c.useRef(null), i = B(t, r);
|
|
1258
1272
|
return c.useEffect(() => {
|
|
1259
1273
|
const a = r.current;
|
|
1260
1274
|
if (a)
|
|
@@ -1263,22 +1277,22 @@ var wn = "DismissableLayerBranch", _n = c.forwardRef((e, t) => {
|
|
|
1263
1277
|
};
|
|
1264
1278
|
}, [n.branches]), /* @__PURE__ */ o(A.div, { ...e, ref: i });
|
|
1265
1279
|
});
|
|
1266
|
-
|
|
1267
|
-
function
|
|
1268
|
-
const n =
|
|
1280
|
+
$n.displayName = Zn;
|
|
1281
|
+
function Un(e, t = globalThis?.document) {
|
|
1282
|
+
const n = G(e), r = c.useRef(!1), i = c.useRef(() => {
|
|
1269
1283
|
});
|
|
1270
1284
|
return c.useEffect(() => {
|
|
1271
1285
|
const a = (s) => {
|
|
1272
1286
|
if (s.target && !r.current) {
|
|
1273
1287
|
let f = function() {
|
|
1274
|
-
|
|
1275
|
-
|
|
1288
|
+
Je(
|
|
1289
|
+
jn,
|
|
1276
1290
|
n,
|
|
1277
|
-
|
|
1291
|
+
u,
|
|
1278
1292
|
{ discrete: !0 }
|
|
1279
1293
|
);
|
|
1280
1294
|
};
|
|
1281
|
-
const
|
|
1295
|
+
const u = { originalEvent: s };
|
|
1282
1296
|
s.pointerType === "touch" ? (t.removeEventListener("click", i.current), i.current = f, t.addEventListener("click", i.current, { once: !0 })) : f();
|
|
1283
1297
|
} else
|
|
1284
1298
|
t.removeEventListener("click", i.current);
|
|
@@ -1294,11 +1308,11 @@ function bn(e, t = globalThis?.document) {
|
|
|
1294
1308
|
onPointerDownCapture: () => r.current = !0
|
|
1295
1309
|
};
|
|
1296
1310
|
}
|
|
1297
|
-
function
|
|
1298
|
-
const n =
|
|
1311
|
+
function zn(e, t = globalThis?.document) {
|
|
1312
|
+
const n = G(e), r = c.useRef(!1);
|
|
1299
1313
|
return c.useEffect(() => {
|
|
1300
1314
|
const i = (a) => {
|
|
1301
|
-
a.target && !r.current &&
|
|
1315
|
+
a.target && !r.current && Je(Vn, n, { originalEvent: a }, {
|
|
1302
1316
|
discrete: !1
|
|
1303
1317
|
});
|
|
1304
1318
|
};
|
|
@@ -1308,22 +1322,22 @@ function En(e, t = globalThis?.document) {
|
|
|
1308
1322
|
onBlurCapture: () => r.current = !1
|
|
1309
1323
|
};
|
|
1310
1324
|
}
|
|
1311
|
-
function
|
|
1312
|
-
const e = new CustomEvent(
|
|
1325
|
+
function Pe() {
|
|
1326
|
+
const e = new CustomEvent(ye);
|
|
1313
1327
|
document.dispatchEvent(e);
|
|
1314
1328
|
}
|
|
1315
|
-
function
|
|
1329
|
+
function Je(e, t, n, { discrete: r }) {
|
|
1316
1330
|
const i = n.originalEvent.target, a = new CustomEvent(e, { bubbles: !1, cancelable: !0, detail: n });
|
|
1317
|
-
t && i.addEventListener(e, t, { once: !0 }), r ?
|
|
1331
|
+
t && i.addEventListener(e, t, { once: !0 }), r ? Hn(i, a) : i.dispatchEvent(a);
|
|
1318
1332
|
}
|
|
1319
|
-
var
|
|
1333
|
+
var de = "focusScope.autoFocusOnMount", fe = "focusScope.autoFocusOnUnmount", De = { bubbles: !1, cancelable: !0 }, Gn = "FocusScope", e1 = c.forwardRef((e, t) => {
|
|
1320
1334
|
const {
|
|
1321
1335
|
loop: n = !1,
|
|
1322
1336
|
trapped: r = !1,
|
|
1323
1337
|
onMountAutoFocus: i,
|
|
1324
1338
|
onUnmountAutoFocus: a,
|
|
1325
1339
|
...l
|
|
1326
|
-
} = e, [s, f] = c.useState(null),
|
|
1340
|
+
} = e, [s, f] = c.useState(null), u = G(i), p = G(a), C = c.useRef(null), h = B(t, (d) => f(d)), v = c.useRef({
|
|
1327
1341
|
paused: !1,
|
|
1328
1342
|
pause() {
|
|
1329
1343
|
this.paused = !0;
|
|
@@ -1334,65 +1348,65 @@ var le = "focusScope.autoFocusOnMount", ue = "focusScope.autoFocusOnUnmount", Re
|
|
|
1334
1348
|
}).current;
|
|
1335
1349
|
c.useEffect(() => {
|
|
1336
1350
|
if (r) {
|
|
1337
|
-
let
|
|
1351
|
+
let d = function(E) {
|
|
1338
1352
|
if (v.paused || !s) return;
|
|
1339
|
-
const
|
|
1340
|
-
s.contains(
|
|
1341
|
-
}, m = function(
|
|
1353
|
+
const w = E.target;
|
|
1354
|
+
s.contains(w) ? C.current = w : T(C.current, { select: !0 });
|
|
1355
|
+
}, m = function(E) {
|
|
1342
1356
|
if (v.paused || !s) return;
|
|
1343
|
-
const
|
|
1344
|
-
|
|
1345
|
-
},
|
|
1357
|
+
const w = E.relatedTarget;
|
|
1358
|
+
w !== null && (s.contains(w) || T(C.current, { select: !0 }));
|
|
1359
|
+
}, L = function(E) {
|
|
1346
1360
|
if (document.activeElement === document.body)
|
|
1347
|
-
for (const M of
|
|
1361
|
+
for (const M of E)
|
|
1348
1362
|
M.removedNodes.length > 0 && T(s);
|
|
1349
1363
|
};
|
|
1350
|
-
document.addEventListener("focusin",
|
|
1351
|
-
const
|
|
1352
|
-
return s &&
|
|
1353
|
-
document.removeEventListener("focusin",
|
|
1364
|
+
document.addEventListener("focusin", d), document.addEventListener("focusout", m);
|
|
1365
|
+
const _ = new MutationObserver(L);
|
|
1366
|
+
return s && _.observe(s, { childList: !0, subtree: !0 }), () => {
|
|
1367
|
+
document.removeEventListener("focusin", d), document.removeEventListener("focusout", m), _.disconnect();
|
|
1354
1368
|
};
|
|
1355
1369
|
}
|
|
1356
1370
|
}, [r, s, v.paused]), c.useEffect(() => {
|
|
1357
1371
|
if (s) {
|
|
1358
|
-
|
|
1359
|
-
const
|
|
1360
|
-
if (!s.contains(
|
|
1361
|
-
const
|
|
1362
|
-
s.addEventListener(
|
|
1372
|
+
Oe.add(v);
|
|
1373
|
+
const d = document.activeElement;
|
|
1374
|
+
if (!s.contains(d)) {
|
|
1375
|
+
const L = new CustomEvent(de, De);
|
|
1376
|
+
s.addEventListener(de, u), s.dispatchEvent(L), L.defaultPrevented || (Kn(Jn(t1(s)), { select: !0 }), document.activeElement === d && T(s));
|
|
1363
1377
|
}
|
|
1364
1378
|
return () => {
|
|
1365
|
-
s.removeEventListener(
|
|
1366
|
-
const
|
|
1367
|
-
s.addEventListener(
|
|
1379
|
+
s.removeEventListener(de, u), setTimeout(() => {
|
|
1380
|
+
const L = new CustomEvent(fe, De);
|
|
1381
|
+
s.addEventListener(fe, p), s.dispatchEvent(L), L.defaultPrevented || T(d ?? document.body, { select: !0 }), s.removeEventListener(fe, p), Oe.remove(v);
|
|
1368
1382
|
}, 0);
|
|
1369
1383
|
};
|
|
1370
1384
|
}
|
|
1371
|
-
}, [s,
|
|
1372
|
-
const
|
|
1373
|
-
(
|
|
1385
|
+
}, [s, u, p, v]);
|
|
1386
|
+
const k = c.useCallback(
|
|
1387
|
+
(d) => {
|
|
1374
1388
|
if (!n && !r || v.paused) return;
|
|
1375
|
-
const m =
|
|
1376
|
-
if (m &&
|
|
1377
|
-
const
|
|
1378
|
-
|
|
1389
|
+
const m = d.key === "Tab" && !d.altKey && !d.ctrlKey && !d.metaKey, L = document.activeElement;
|
|
1390
|
+
if (m && L) {
|
|
1391
|
+
const _ = d.currentTarget, [E, w] = Xn(_);
|
|
1392
|
+
E && w ? !d.shiftKey && L === w ? (d.preventDefault(), n && T(E, { select: !0 })) : d.shiftKey && L === E && (d.preventDefault(), n && T(w, { select: !0 })) : L === _ && d.preventDefault();
|
|
1379
1393
|
}
|
|
1380
1394
|
},
|
|
1381
1395
|
[n, r, v.paused]
|
|
1382
1396
|
);
|
|
1383
|
-
return /* @__PURE__ */ o(A.div, { tabIndex: -1, ...l, ref: h, onKeyDown:
|
|
1397
|
+
return /* @__PURE__ */ o(A.div, { tabIndex: -1, ...l, ref: h, onKeyDown: k });
|
|
1384
1398
|
});
|
|
1385
|
-
|
|
1386
|
-
function
|
|
1399
|
+
e1.displayName = Gn;
|
|
1400
|
+
function Kn(e, { select: t = !1 } = {}) {
|
|
1387
1401
|
const n = document.activeElement;
|
|
1388
1402
|
for (const r of e)
|
|
1389
1403
|
if (T(r, { select: t }), document.activeElement !== n) return;
|
|
1390
1404
|
}
|
|
1391
|
-
function
|
|
1392
|
-
const t =
|
|
1405
|
+
function Xn(e) {
|
|
1406
|
+
const t = t1(e), n = Ae(t, e), r = Ae(t.reverse(), e);
|
|
1393
1407
|
return [n, r];
|
|
1394
1408
|
}
|
|
1395
|
-
function
|
|
1409
|
+
function t1(e) {
|
|
1396
1410
|
const t = [], n = document.createTreeWalker(e, NodeFilter.SHOW_ELEMENT, {
|
|
1397
1411
|
acceptNode: (r) => {
|
|
1398
1412
|
const i = r.tagName === "INPUT" && r.type === "hidden";
|
|
@@ -1402,11 +1416,11 @@ function qe(e) {
|
|
|
1402
1416
|
for (; n.nextNode(); ) t.push(n.currentNode);
|
|
1403
1417
|
return t;
|
|
1404
1418
|
}
|
|
1405
|
-
function
|
|
1419
|
+
function Ae(e, t) {
|
|
1406
1420
|
for (const n of e)
|
|
1407
|
-
if (!
|
|
1421
|
+
if (!Yn(n, { upTo: t })) return n;
|
|
1408
1422
|
}
|
|
1409
|
-
function
|
|
1423
|
+
function Yn(e, { upTo: t }) {
|
|
1410
1424
|
if (getComputedStyle(e).visibility === "hidden") return !0;
|
|
1411
1425
|
for (; e; ) {
|
|
1412
1426
|
if (t !== void 0 && e === t) return !1;
|
|
@@ -1415,52 +1429,52 @@ function In(e, { upTo: t }) {
|
|
|
1415
1429
|
}
|
|
1416
1430
|
return !1;
|
|
1417
1431
|
}
|
|
1418
|
-
function
|
|
1432
|
+
function qn(e) {
|
|
1419
1433
|
return e instanceof HTMLInputElement && "select" in e;
|
|
1420
1434
|
}
|
|
1421
1435
|
function T(e, { select: t = !1 } = {}) {
|
|
1422
1436
|
if (e && e.focus) {
|
|
1423
1437
|
const n = document.activeElement;
|
|
1424
|
-
e.focus({ preventScroll: !0 }), e !== n &&
|
|
1438
|
+
e.focus({ preventScroll: !0 }), e !== n && qn(e) && t && e.select();
|
|
1425
1439
|
}
|
|
1426
1440
|
}
|
|
1427
|
-
var
|
|
1428
|
-
function
|
|
1441
|
+
var Oe = Qn();
|
|
1442
|
+
function Qn() {
|
|
1429
1443
|
let e = [];
|
|
1430
1444
|
return {
|
|
1431
1445
|
add(t) {
|
|
1432
1446
|
const n = e[0];
|
|
1433
|
-
t !== n && n?.pause(), e =
|
|
1447
|
+
t !== n && n?.pause(), e = Te(e, t), e.unshift(t);
|
|
1434
1448
|
},
|
|
1435
1449
|
remove(t) {
|
|
1436
|
-
e =
|
|
1450
|
+
e = Te(e, t), e[0]?.resume();
|
|
1437
1451
|
}
|
|
1438
1452
|
};
|
|
1439
1453
|
}
|
|
1440
|
-
function
|
|
1454
|
+
function Te(e, t) {
|
|
1441
1455
|
const n = [...e], r = n.indexOf(t);
|
|
1442
1456
|
return r !== -1 && n.splice(r, 1), n;
|
|
1443
1457
|
}
|
|
1444
|
-
function
|
|
1458
|
+
function Jn(e) {
|
|
1445
1459
|
return e.filter((t) => t.tagName !== "A");
|
|
1446
1460
|
}
|
|
1447
|
-
var
|
|
1461
|
+
var er = "Portal", n1 = c.forwardRef((e, t) => {
|
|
1448
1462
|
const { container: n, ...r } = e, [i, a] = c.useState(!1);
|
|
1449
|
-
|
|
1463
|
+
z(() => a(!0), []);
|
|
1450
1464
|
const l = n || i && globalThis?.document?.body;
|
|
1451
|
-
return l ?
|
|
1465
|
+
return l ? D1.createPortal(/* @__PURE__ */ o(A.div, { ...r, ref: t }), l) : null;
|
|
1452
1466
|
});
|
|
1453
|
-
|
|
1454
|
-
function
|
|
1467
|
+
n1.displayName = er;
|
|
1468
|
+
function tr(e, t) {
|
|
1455
1469
|
return c.useReducer((n, r) => t[n][r] ?? n, e);
|
|
1456
1470
|
}
|
|
1457
|
-
var
|
|
1458
|
-
const { present: t, children: n } = e, r =
|
|
1471
|
+
var ie = (e) => {
|
|
1472
|
+
const { present: t, children: n } = e, r = nr(t), i = typeof n == "function" ? n({ present: r.isPresent }) : c.Children.only(n), a = B(r.ref, rr(i));
|
|
1459
1473
|
return typeof n == "function" || r.isPresent ? c.cloneElement(i, { ref: a }) : null;
|
|
1460
1474
|
};
|
|
1461
|
-
|
|
1462
|
-
function
|
|
1463
|
-
const [t, n] = c.useState(), r = c.useRef(null), i = c.useRef(e), a = c.useRef("none"), l = e ? "mounted" : "unmounted", [s, f] =
|
|
1475
|
+
ie.displayName = "Presence";
|
|
1476
|
+
function nr(e) {
|
|
1477
|
+
const [t, n] = c.useState(), r = c.useRef(null), i = c.useRef(e), a = c.useRef("none"), l = e ? "mounted" : "unmounted", [s, f] = tr(l, {
|
|
1464
1478
|
mounted: {
|
|
1465
1479
|
UNMOUNT: "unmounted",
|
|
1466
1480
|
ANIMATION_OUT: "unmountSuspended"
|
|
@@ -1474,70 +1488,70 @@ function An(e) {
|
|
|
1474
1488
|
}
|
|
1475
1489
|
});
|
|
1476
1490
|
return c.useEffect(() => {
|
|
1477
|
-
const
|
|
1478
|
-
a.current = s === "mounted" ?
|
|
1479
|
-
}, [s]),
|
|
1480
|
-
const
|
|
1481
|
-
if (
|
|
1482
|
-
const h = a.current, v =
|
|
1483
|
-
e ? f("MOUNT") : v === "none" ||
|
|
1491
|
+
const u = q(r.current);
|
|
1492
|
+
a.current = s === "mounted" ? u : "none";
|
|
1493
|
+
}, [s]), z(() => {
|
|
1494
|
+
const u = r.current, p = i.current;
|
|
1495
|
+
if (p !== e) {
|
|
1496
|
+
const h = a.current, v = q(u);
|
|
1497
|
+
e ? f("MOUNT") : v === "none" || u?.display === "none" ? f("UNMOUNT") : f(p && h !== v ? "ANIMATION_OUT" : "UNMOUNT"), i.current = e;
|
|
1484
1498
|
}
|
|
1485
|
-
}, [e, f]),
|
|
1499
|
+
}, [e, f]), z(() => {
|
|
1486
1500
|
if (t) {
|
|
1487
|
-
let
|
|
1488
|
-
const
|
|
1489
|
-
const
|
|
1490
|
-
if (v.target === t &&
|
|
1501
|
+
let u;
|
|
1502
|
+
const p = t.ownerDocument.defaultView ?? window, C = (v) => {
|
|
1503
|
+
const d = q(r.current).includes(CSS.escape(v.animationName));
|
|
1504
|
+
if (v.target === t && d && (f("ANIMATION_END"), !i.current)) {
|
|
1491
1505
|
const m = t.style.animationFillMode;
|
|
1492
|
-
t.style.animationFillMode = "forwards",
|
|
1506
|
+
t.style.animationFillMode = "forwards", u = p.setTimeout(() => {
|
|
1493
1507
|
t.style.animationFillMode === "forwards" && (t.style.animationFillMode = m);
|
|
1494
1508
|
});
|
|
1495
1509
|
}
|
|
1496
1510
|
}, h = (v) => {
|
|
1497
|
-
v.target === t && (a.current =
|
|
1511
|
+
v.target === t && (a.current = q(r.current));
|
|
1498
1512
|
};
|
|
1499
|
-
return t.addEventListener("animationstart", h), t.addEventListener("animationcancel",
|
|
1500
|
-
|
|
1513
|
+
return t.addEventListener("animationstart", h), t.addEventListener("animationcancel", C), t.addEventListener("animationend", C), () => {
|
|
1514
|
+
p.clearTimeout(u), t.removeEventListener("animationstart", h), t.removeEventListener("animationcancel", C), t.removeEventListener("animationend", C);
|
|
1501
1515
|
};
|
|
1502
1516
|
} else
|
|
1503
1517
|
f("ANIMATION_END");
|
|
1504
1518
|
}, [t, f]), {
|
|
1505
1519
|
isPresent: ["mounted", "unmountSuspended"].includes(s),
|
|
1506
|
-
ref: c.useCallback((
|
|
1507
|
-
r.current =
|
|
1520
|
+
ref: c.useCallback((u) => {
|
|
1521
|
+
r.current = u ? getComputedStyle(u) : null, n(u);
|
|
1508
1522
|
}, [])
|
|
1509
1523
|
};
|
|
1510
1524
|
}
|
|
1511
|
-
function
|
|
1525
|
+
function q(e) {
|
|
1512
1526
|
return e?.animationName || "none";
|
|
1513
1527
|
}
|
|
1514
|
-
function
|
|
1528
|
+
function rr(e) {
|
|
1515
1529
|
let t = Object.getOwnPropertyDescriptor(e.props, "ref")?.get, n = t && "isReactWarning" in t && t.isReactWarning;
|
|
1516
1530
|
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);
|
|
1517
1531
|
}
|
|
1518
|
-
var
|
|
1519
|
-
function
|
|
1532
|
+
var pe = 0;
|
|
1533
|
+
function or() {
|
|
1520
1534
|
c.useEffect(() => {
|
|
1521
1535
|
const e = document.querySelectorAll("[data-radix-focus-guard]");
|
|
1522
|
-
return document.body.insertAdjacentElement("afterbegin", e[0] ??
|
|
1523
|
-
|
|
1536
|
+
return document.body.insertAdjacentElement("afterbegin", e[0] ?? We()), document.body.insertAdjacentElement("beforeend", e[1] ?? We()), pe++, () => {
|
|
1537
|
+
pe === 1 && document.querySelectorAll("[data-radix-focus-guard]").forEach((t) => t.remove()), pe--;
|
|
1524
1538
|
};
|
|
1525
1539
|
}, []);
|
|
1526
1540
|
}
|
|
1527
|
-
function
|
|
1541
|
+
function We() {
|
|
1528
1542
|
const e = document.createElement("span");
|
|
1529
1543
|
return e.setAttribute("data-radix-focus-guard", ""), e.tabIndex = 0, e.style.outline = "none", e.style.opacity = "0", e.style.position = "fixed", e.style.pointerEvents = "none", e;
|
|
1530
1544
|
}
|
|
1531
|
-
var
|
|
1532
|
-
return
|
|
1545
|
+
var R = function() {
|
|
1546
|
+
return R = Object.assign || function(t) {
|
|
1533
1547
|
for (var n, r = 1, i = arguments.length; r < i; r++) {
|
|
1534
1548
|
n = arguments[r];
|
|
1535
1549
|
for (var a in n) Object.prototype.hasOwnProperty.call(n, a) && (t[a] = n[a]);
|
|
1536
1550
|
}
|
|
1537
1551
|
return t;
|
|
1538
|
-
},
|
|
1552
|
+
}, R.apply(this, arguments);
|
|
1539
1553
|
};
|
|
1540
|
-
function
|
|
1554
|
+
function r1(e, t) {
|
|
1541
1555
|
var n = {};
|
|
1542
1556
|
for (var r in e) Object.prototype.hasOwnProperty.call(e, r) && t.indexOf(r) < 0 && (n[r] = e[r]);
|
|
1543
1557
|
if (e != null && typeof Object.getOwnPropertySymbols == "function")
|
|
@@ -1545,17 +1559,17 @@ function Je(e, t) {
|
|
|
1545
1559
|
t.indexOf(r[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, r[i]) && (n[r[i]] = e[r[i]]);
|
|
1546
1560
|
return n;
|
|
1547
1561
|
}
|
|
1548
|
-
function
|
|
1562
|
+
function ir(e, t, n) {
|
|
1549
1563
|
if (n || arguments.length === 2) for (var r = 0, i = t.length, a; r < i; r++)
|
|
1550
1564
|
(a || !(r in t)) && (a || (a = Array.prototype.slice.call(t, 0, r)), a[r] = t[r]);
|
|
1551
1565
|
return e.concat(a || Array.prototype.slice.call(t));
|
|
1552
1566
|
}
|
|
1553
|
-
var
|
|
1554
|
-
function
|
|
1567
|
+
var ne = "right-scroll-bar-position", re = "width-before-scroll-bar", ar = "with-scroll-bars-hidden", sr = "--removed-body-scroll-bar-size";
|
|
1568
|
+
function Ce(e, t) {
|
|
1555
1569
|
return typeof e == "function" ? e(t) : e && (e.current = t), e;
|
|
1556
1570
|
}
|
|
1557
|
-
function
|
|
1558
|
-
var n =
|
|
1571
|
+
function cr(e, t) {
|
|
1572
|
+
var n = _e(function() {
|
|
1559
1573
|
return {
|
|
1560
1574
|
// value
|
|
1561
1575
|
value: e,
|
|
@@ -1575,31 +1589,31 @@ function Bn(e, t) {
|
|
|
1575
1589
|
})[0];
|
|
1576
1590
|
return n.callback = t, n.facade;
|
|
1577
1591
|
}
|
|
1578
|
-
var
|
|
1579
|
-
function
|
|
1580
|
-
var n =
|
|
1592
|
+
var lr = typeof window < "u" ? c.useLayoutEffect : c.useEffect, He = /* @__PURE__ */ new WeakMap();
|
|
1593
|
+
function ur(e, t) {
|
|
1594
|
+
var n = cr(null, function(r) {
|
|
1581
1595
|
return e.forEach(function(i) {
|
|
1582
|
-
return
|
|
1596
|
+
return Ce(i, r);
|
|
1583
1597
|
});
|
|
1584
1598
|
});
|
|
1585
|
-
return
|
|
1586
|
-
var r =
|
|
1599
|
+
return lr(function() {
|
|
1600
|
+
var r = He.get(n);
|
|
1587
1601
|
if (r) {
|
|
1588
1602
|
var i = new Set(r), a = new Set(e), l = n.current;
|
|
1589
1603
|
i.forEach(function(s) {
|
|
1590
|
-
a.has(s) ||
|
|
1604
|
+
a.has(s) || Ce(s, null);
|
|
1591
1605
|
}), a.forEach(function(s) {
|
|
1592
|
-
i.has(s) ||
|
|
1606
|
+
i.has(s) || Ce(s, l);
|
|
1593
1607
|
});
|
|
1594
1608
|
}
|
|
1595
|
-
|
|
1609
|
+
He.set(n, e);
|
|
1596
1610
|
}, [e]), n;
|
|
1597
1611
|
}
|
|
1598
|
-
function
|
|
1612
|
+
function dr(e) {
|
|
1599
1613
|
return e;
|
|
1600
1614
|
}
|
|
1601
|
-
function
|
|
1602
|
-
t === void 0 && (t =
|
|
1615
|
+
function fr(e, t) {
|
|
1616
|
+
t === void 0 && (t = dr);
|
|
1603
1617
|
var n = [], r = !1, i = {
|
|
1604
1618
|
read: function() {
|
|
1605
1619
|
if (r)
|
|
@@ -1636,95 +1650,95 @@ function $n(e, t) {
|
|
|
1636
1650
|
n = [], s.forEach(a), l = n;
|
|
1637
1651
|
}
|
|
1638
1652
|
var f = function() {
|
|
1639
|
-
var
|
|
1640
|
-
l = [],
|
|
1641
|
-
},
|
|
1653
|
+
var p = l;
|
|
1654
|
+
l = [], p.forEach(a);
|
|
1655
|
+
}, u = function() {
|
|
1642
1656
|
return Promise.resolve().then(f);
|
|
1643
1657
|
};
|
|
1644
|
-
|
|
1645
|
-
push: function(
|
|
1646
|
-
l.push(
|
|
1658
|
+
u(), n = {
|
|
1659
|
+
push: function(p) {
|
|
1660
|
+
l.push(p), u();
|
|
1647
1661
|
},
|
|
1648
|
-
filter: function(
|
|
1649
|
-
return l = l.filter(
|
|
1662
|
+
filter: function(p) {
|
|
1663
|
+
return l = l.filter(p), n;
|
|
1650
1664
|
}
|
|
1651
1665
|
};
|
|
1652
1666
|
}
|
|
1653
1667
|
};
|
|
1654
1668
|
return i;
|
|
1655
1669
|
}
|
|
1656
|
-
function
|
|
1670
|
+
function pr(e) {
|
|
1657
1671
|
e === void 0 && (e = {});
|
|
1658
|
-
var t =
|
|
1659
|
-
return t.options =
|
|
1672
|
+
var t = fr(null);
|
|
1673
|
+
return t.options = R({ async: !0, ssr: !1 }, e), t;
|
|
1660
1674
|
}
|
|
1661
|
-
var
|
|
1662
|
-
var t = e.sideCar, n =
|
|
1675
|
+
var o1 = function(e) {
|
|
1676
|
+
var t = e.sideCar, n = r1(e, ["sideCar"]);
|
|
1663
1677
|
if (!t)
|
|
1664
1678
|
throw new Error("Sidecar: please provide `sideCar` property to import the right car");
|
|
1665
1679
|
var r = t.read();
|
|
1666
1680
|
if (!r)
|
|
1667
1681
|
throw new Error("Sidecar medium not found");
|
|
1668
|
-
return c.createElement(r,
|
|
1682
|
+
return c.createElement(r, R({}, n));
|
|
1669
1683
|
};
|
|
1670
|
-
|
|
1671
|
-
function
|
|
1672
|
-
return e.useMedium(t),
|
|
1684
|
+
o1.isSideCarExport = !0;
|
|
1685
|
+
function Cr(e, t) {
|
|
1686
|
+
return e.useMedium(t), o1;
|
|
1673
1687
|
}
|
|
1674
|
-
var
|
|
1675
|
-
},
|
|
1688
|
+
var i1 = pr(), he = function() {
|
|
1689
|
+
}, ae = c.forwardRef(function(e, t) {
|
|
1676
1690
|
var n = c.useRef(null), r = c.useState({
|
|
1677
|
-
onScrollCapture:
|
|
1678
|
-
onWheelCapture:
|
|
1679
|
-
onTouchMoveCapture:
|
|
1680
|
-
}), i = r[0], a = r[1], l = e.forwardProps, s = e.children, f = e.className,
|
|
1691
|
+
onScrollCapture: he,
|
|
1692
|
+
onWheelCapture: he,
|
|
1693
|
+
onTouchMoveCapture: he
|
|
1694
|
+
}), i = r[0], a = r[1], l = e.forwardProps, s = e.children, f = e.className, u = e.removeScrollBar, p = e.enabled, C = e.shards, h = e.sideCar, v = e.noRelative, k = e.noIsolation, d = e.inert, m = e.allowPinchZoom, L = e.as, _ = L === void 0 ? "div" : L, E = e.gapMode, w = r1(e, ["forwardProps", "children", "className", "removeScrollBar", "enabled", "shards", "sideCar", "noRelative", "noIsolation", "inert", "allowPinchZoom", "as", "gapMode"]), M = h, x = ur([n, t]), b = R(R({}, w), i);
|
|
1681
1695
|
return c.createElement(
|
|
1682
1696
|
c.Fragment,
|
|
1683
1697
|
null,
|
|
1684
|
-
|
|
1685
|
-
l ? c.cloneElement(c.Children.only(s),
|
|
1698
|
+
p && c.createElement(M, { sideCar: i1, removeScrollBar: u, shards: C, noRelative: v, noIsolation: k, inert: d, setCallbacks: a, allowPinchZoom: !!m, lockRef: n, gapMode: E }),
|
|
1699
|
+
l ? c.cloneElement(c.Children.only(s), R(R({}, b), { ref: x })) : c.createElement(_, R({}, b, { className: f, ref: x }), s)
|
|
1686
1700
|
);
|
|
1687
1701
|
});
|
|
1688
|
-
|
|
1702
|
+
ae.defaultProps = {
|
|
1689
1703
|
enabled: !0,
|
|
1690
1704
|
removeScrollBar: !0,
|
|
1691
1705
|
inert: !1
|
|
1692
1706
|
};
|
|
1693
|
-
|
|
1694
|
-
fullWidth:
|
|
1695
|
-
zeroRight:
|
|
1707
|
+
ae.classNames = {
|
|
1708
|
+
fullWidth: re,
|
|
1709
|
+
zeroRight: ne
|
|
1696
1710
|
};
|
|
1697
|
-
var
|
|
1711
|
+
var hr = function() {
|
|
1698
1712
|
if (typeof __webpack_nonce__ < "u")
|
|
1699
1713
|
return __webpack_nonce__;
|
|
1700
1714
|
};
|
|
1701
|
-
function
|
|
1715
|
+
function vr() {
|
|
1702
1716
|
if (!document)
|
|
1703
1717
|
return null;
|
|
1704
1718
|
var e = document.createElement("style");
|
|
1705
1719
|
e.type = "text/css";
|
|
1706
|
-
var t =
|
|
1720
|
+
var t = hr();
|
|
1707
1721
|
return t && e.setAttribute("nonce", t), e;
|
|
1708
1722
|
}
|
|
1709
|
-
function
|
|
1723
|
+
function mr(e, t) {
|
|
1710
1724
|
e.styleSheet ? e.styleSheet.cssText = t : e.appendChild(document.createTextNode(t));
|
|
1711
1725
|
}
|
|
1712
|
-
function
|
|
1726
|
+
function gr(e) {
|
|
1713
1727
|
var t = document.head || document.getElementsByTagName("head")[0];
|
|
1714
1728
|
t.appendChild(e);
|
|
1715
1729
|
}
|
|
1716
|
-
var
|
|
1730
|
+
var yr = function() {
|
|
1717
1731
|
var e = 0, t = null;
|
|
1718
1732
|
return {
|
|
1719
1733
|
add: function(n) {
|
|
1720
|
-
e == 0 && (t =
|
|
1734
|
+
e == 0 && (t = vr()) && (mr(t, n), gr(t)), e++;
|
|
1721
1735
|
},
|
|
1722
1736
|
remove: function() {
|
|
1723
1737
|
e--, !e && t && (t.parentNode && t.parentNode.removeChild(t), t = null);
|
|
1724
1738
|
}
|
|
1725
1739
|
};
|
|
1726
|
-
},
|
|
1727
|
-
var e =
|
|
1740
|
+
}, Lr = function() {
|
|
1741
|
+
var e = yr();
|
|
1728
1742
|
return function(t, n) {
|
|
1729
1743
|
c.useEffect(function() {
|
|
1730
1744
|
return e.add(t), function() {
|
|
@@ -1732,36 +1746,36 @@ var qn = function() {
|
|
|
1732
1746
|
};
|
|
1733
1747
|
}, [t && n]);
|
|
1734
1748
|
};
|
|
1735
|
-
},
|
|
1736
|
-
var e =
|
|
1749
|
+
}, a1 = function() {
|
|
1750
|
+
var e = Lr(), t = function(n) {
|
|
1737
1751
|
var r = n.styles, i = n.dynamic;
|
|
1738
1752
|
return e(r, i), null;
|
|
1739
1753
|
};
|
|
1740
1754
|
return t;
|
|
1741
|
-
},
|
|
1755
|
+
}, _r = {
|
|
1742
1756
|
left: 0,
|
|
1743
1757
|
top: 0,
|
|
1744
1758
|
right: 0,
|
|
1745
1759
|
gap: 0
|
|
1746
|
-
},
|
|
1760
|
+
}, ve = function(e) {
|
|
1747
1761
|
return parseInt(e || "", 10) || 0;
|
|
1748
|
-
},
|
|
1762
|
+
}, kr = function(e) {
|
|
1749
1763
|
var t = window.getComputedStyle(document.body), n = t[e === "padding" ? "paddingLeft" : "marginLeft"], r = t[e === "padding" ? "paddingTop" : "marginTop"], i = t[e === "padding" ? "paddingRight" : "marginRight"];
|
|
1750
|
-
return [
|
|
1751
|
-
},
|
|
1764
|
+
return [ve(n), ve(r), ve(i)];
|
|
1765
|
+
}, Er = function(e) {
|
|
1752
1766
|
if (e === void 0 && (e = "margin"), typeof window > "u")
|
|
1753
|
-
return
|
|
1754
|
-
var t =
|
|
1767
|
+
return _r;
|
|
1768
|
+
var t = kr(e), n = document.documentElement.clientWidth, r = window.innerWidth;
|
|
1755
1769
|
return {
|
|
1756
1770
|
left: t[0],
|
|
1757
1771
|
top: t[1],
|
|
1758
1772
|
right: t[2],
|
|
1759
1773
|
gap: Math.max(0, r - n + t[2] - t[0])
|
|
1760
1774
|
};
|
|
1761
|
-
},
|
|
1775
|
+
}, br = a1(), $ = "data-scroll-locked", wr = function(e, t, n, r) {
|
|
1762
1776
|
var i = e.left, a = e.top, l = e.right, s = e.gap;
|
|
1763
1777
|
return n === void 0 && (n = "margin"), `
|
|
1764
|
-
.`.concat(
|
|
1778
|
+
.`.concat(ar, ` {
|
|
1765
1779
|
overflow: hidden `).concat(r, `;
|
|
1766
1780
|
padding-right: `).concat(s, "px ").concat(r, `;
|
|
1767
1781
|
}
|
|
@@ -1782,273 +1796,273 @@ var qn = function() {
|
|
|
1782
1796
|
].filter(Boolean).join(""), `
|
|
1783
1797
|
}
|
|
1784
1798
|
|
|
1785
|
-
.`).concat(
|
|
1799
|
+
.`).concat(ne, ` {
|
|
1786
1800
|
right: `).concat(s, "px ").concat(r, `;
|
|
1787
1801
|
}
|
|
1788
1802
|
|
|
1789
|
-
.`).concat(
|
|
1803
|
+
.`).concat(re, ` {
|
|
1790
1804
|
margin-right: `).concat(s, "px ").concat(r, `;
|
|
1791
1805
|
}
|
|
1792
1806
|
|
|
1793
|
-
.`).concat(
|
|
1807
|
+
.`).concat(ne, " .").concat(ne, ` {
|
|
1794
1808
|
right: 0 `).concat(r, `;
|
|
1795
1809
|
}
|
|
1796
1810
|
|
|
1797
|
-
.`).concat(
|
|
1811
|
+
.`).concat(re, " .").concat(re, ` {
|
|
1798
1812
|
margin-right: 0 `).concat(r, `;
|
|
1799
1813
|
}
|
|
1800
1814
|
|
|
1801
1815
|
body[`).concat($, `] {
|
|
1802
|
-
`).concat(
|
|
1816
|
+
`).concat(sr, ": ").concat(s, `px;
|
|
1803
1817
|
}
|
|
1804
1818
|
`);
|
|
1805
|
-
},
|
|
1819
|
+
}, Fe = function() {
|
|
1806
1820
|
var e = parseInt(document.body.getAttribute($) || "0", 10);
|
|
1807
1821
|
return isFinite(e) ? e : 0;
|
|
1808
|
-
},
|
|
1822
|
+
}, Mr = function() {
|
|
1809
1823
|
c.useEffect(function() {
|
|
1810
|
-
return document.body.setAttribute($, (
|
|
1811
|
-
var e =
|
|
1824
|
+
return document.body.setAttribute($, (Fe() + 1).toString()), function() {
|
|
1825
|
+
var e = Fe() - 1;
|
|
1812
1826
|
e <= 0 ? document.body.removeAttribute($) : document.body.setAttribute($, e.toString());
|
|
1813
1827
|
};
|
|
1814
1828
|
}, []);
|
|
1815
|
-
},
|
|
1829
|
+
}, Nr = function(e) {
|
|
1816
1830
|
var t = e.noRelative, n = e.noImportant, r = e.gapMode, i = r === void 0 ? "margin" : r;
|
|
1817
|
-
|
|
1831
|
+
Mr();
|
|
1818
1832
|
var a = c.useMemo(function() {
|
|
1819
|
-
return
|
|
1833
|
+
return Er(i);
|
|
1820
1834
|
}, [i]);
|
|
1821
|
-
return c.createElement(
|
|
1822
|
-
},
|
|
1835
|
+
return c.createElement(br, { styles: wr(a, !t, i, n ? "" : "!important") });
|
|
1836
|
+
}, Le = !1;
|
|
1823
1837
|
if (typeof window < "u")
|
|
1824
1838
|
try {
|
|
1825
|
-
var
|
|
1839
|
+
var Q = Object.defineProperty({}, "passive", {
|
|
1826
1840
|
get: function() {
|
|
1827
|
-
return
|
|
1841
|
+
return Le = !0, !0;
|
|
1828
1842
|
}
|
|
1829
1843
|
});
|
|
1830
|
-
window.addEventListener("test",
|
|
1844
|
+
window.addEventListener("test", Q, Q), window.removeEventListener("test", Q, Q);
|
|
1831
1845
|
} catch {
|
|
1832
|
-
|
|
1846
|
+
Le = !1;
|
|
1833
1847
|
}
|
|
1834
|
-
var
|
|
1848
|
+
var j = Le ? { passive: !1 } : !1, Ir = function(e) {
|
|
1835
1849
|
return e.tagName === "TEXTAREA";
|
|
1836
|
-
},
|
|
1850
|
+
}, s1 = function(e, t) {
|
|
1837
1851
|
if (!(e instanceof Element))
|
|
1838
1852
|
return !1;
|
|
1839
1853
|
var n = window.getComputedStyle(e);
|
|
1840
1854
|
return (
|
|
1841
1855
|
// not-not-scrollable
|
|
1842
1856
|
n[t] !== "hidden" && // contains scroll inside self
|
|
1843
|
-
!(n.overflowY === n.overflowX && !
|
|
1857
|
+
!(n.overflowY === n.overflowX && !Ir(e) && n[t] === "visible")
|
|
1844
1858
|
);
|
|
1845
|
-
},
|
|
1846
|
-
return
|
|
1847
|
-
},
|
|
1848
|
-
return
|
|
1849
|
-
},
|
|
1859
|
+
}, xr = function(e) {
|
|
1860
|
+
return s1(e, "overflowY");
|
|
1861
|
+
}, Sr = function(e) {
|
|
1862
|
+
return s1(e, "overflowX");
|
|
1863
|
+
}, Be = function(e, t) {
|
|
1850
1864
|
var n = t.ownerDocument, r = t;
|
|
1851
1865
|
do {
|
|
1852
1866
|
typeof ShadowRoot < "u" && r instanceof ShadowRoot && (r = r.host);
|
|
1853
|
-
var i =
|
|
1867
|
+
var i = c1(e, r);
|
|
1854
1868
|
if (i) {
|
|
1855
|
-
var a =
|
|
1869
|
+
var a = l1(e, r), l = a[1], s = a[2];
|
|
1856
1870
|
if (l > s)
|
|
1857
1871
|
return !0;
|
|
1858
1872
|
}
|
|
1859
1873
|
r = r.parentNode;
|
|
1860
1874
|
} while (r && r !== n.body);
|
|
1861
1875
|
return !1;
|
|
1862
|
-
},
|
|
1876
|
+
}, Rr = function(e) {
|
|
1863
1877
|
var t = e.scrollTop, n = e.scrollHeight, r = e.clientHeight;
|
|
1864
1878
|
return [
|
|
1865
1879
|
t,
|
|
1866
1880
|
n,
|
|
1867
1881
|
r
|
|
1868
1882
|
];
|
|
1869
|
-
},
|
|
1883
|
+
}, Pr = function(e) {
|
|
1870
1884
|
var t = e.scrollLeft, n = e.scrollWidth, r = e.clientWidth;
|
|
1871
1885
|
return [
|
|
1872
1886
|
t,
|
|
1873
1887
|
n,
|
|
1874
1888
|
r
|
|
1875
1889
|
];
|
|
1876
|
-
},
|
|
1877
|
-
return e === "v" ?
|
|
1878
|
-
},
|
|
1879
|
-
return e === "v" ?
|
|
1880
|
-
},
|
|
1890
|
+
}, c1 = function(e, t) {
|
|
1891
|
+
return e === "v" ? xr(t) : Sr(t);
|
|
1892
|
+
}, l1 = function(e, t) {
|
|
1893
|
+
return e === "v" ? Rr(t) : Pr(t);
|
|
1894
|
+
}, Dr = function(e, t) {
|
|
1881
1895
|
return e === "h" && t === "rtl" ? -1 : 1;
|
|
1882
|
-
},
|
|
1883
|
-
var a =
|
|
1896
|
+
}, Ar = function(e, t, n, r, i) {
|
|
1897
|
+
var a = Dr(e, window.getComputedStyle(t).direction), l = a * r, s = n.target, f = t.contains(s), u = !1, p = l > 0, C = 0, h = 0;
|
|
1884
1898
|
do {
|
|
1885
1899
|
if (!s)
|
|
1886
1900
|
break;
|
|
1887
|
-
var v =
|
|
1888
|
-
(
|
|
1889
|
-
var
|
|
1890
|
-
s =
|
|
1901
|
+
var v = l1(e, s), k = v[0], d = v[1], m = v[2], L = d - m - a * k;
|
|
1902
|
+
(k || L) && c1(e, s) && (C += L, h += k);
|
|
1903
|
+
var _ = s.parentNode;
|
|
1904
|
+
s = _ && _.nodeType === Node.DOCUMENT_FRAGMENT_NODE ? _.host : _;
|
|
1891
1905
|
} while (
|
|
1892
1906
|
// portaled content
|
|
1893
1907
|
!f && s !== document.body || // self content
|
|
1894
1908
|
f && (t.contains(s) || t === s)
|
|
1895
1909
|
);
|
|
1896
|
-
return (
|
|
1897
|
-
},
|
|
1910
|
+
return (p && Math.abs(C) < 1 || !p && Math.abs(h) < 1) && (u = !0), u;
|
|
1911
|
+
}, J = function(e) {
|
|
1898
1912
|
return "changedTouches" in e ? [e.changedTouches[0].clientX, e.changedTouches[0].clientY] : [0, 0];
|
|
1899
1913
|
}, je = function(e) {
|
|
1900
1914
|
return [e.deltaX, e.deltaY];
|
|
1901
|
-
},
|
|
1915
|
+
}, Ve = function(e) {
|
|
1902
1916
|
return e && "current" in e ? e.current : e;
|
|
1903
|
-
},
|
|
1917
|
+
}, Or = function(e, t) {
|
|
1904
1918
|
return e[0] === t[0] && e[1] === t[1];
|
|
1905
|
-
},
|
|
1919
|
+
}, Tr = function(e) {
|
|
1906
1920
|
return `
|
|
1907
1921
|
.block-interactivity-`.concat(e, ` {pointer-events: none;}
|
|
1908
1922
|
.allow-interactivity-`).concat(e, ` {pointer-events: all;}
|
|
1909
1923
|
`);
|
|
1910
|
-
},
|
|
1911
|
-
function
|
|
1912
|
-
var t = c.useRef([]), n = c.useRef([0, 0]), r = c.useRef(), i = c.useState(
|
|
1924
|
+
}, Wr = 0, V = [];
|
|
1925
|
+
function Hr(e) {
|
|
1926
|
+
var t = c.useRef([]), n = c.useRef([0, 0]), r = c.useRef(), i = c.useState(Wr++)[0], a = c.useState(a1)[0], l = c.useRef(e);
|
|
1913
1927
|
c.useEffect(function() {
|
|
1914
1928
|
l.current = e;
|
|
1915
1929
|
}, [e]), c.useEffect(function() {
|
|
1916
1930
|
if (e.inert) {
|
|
1917
1931
|
document.body.classList.add("block-interactivity-".concat(i));
|
|
1918
|
-
var
|
|
1919
|
-
return
|
|
1932
|
+
var d = ir([e.lockRef.current], (e.shards || []).map(Ve), !0).filter(Boolean);
|
|
1933
|
+
return d.forEach(function(m) {
|
|
1920
1934
|
return m.classList.add("allow-interactivity-".concat(i));
|
|
1921
1935
|
}), function() {
|
|
1922
|
-
document.body.classList.remove("block-interactivity-".concat(i)),
|
|
1936
|
+
document.body.classList.remove("block-interactivity-".concat(i)), d.forEach(function(m) {
|
|
1923
1937
|
return m.classList.remove("allow-interactivity-".concat(i));
|
|
1924
1938
|
});
|
|
1925
1939
|
};
|
|
1926
1940
|
}
|
|
1927
1941
|
}, [e.inert, e.lockRef.current, e.shards]);
|
|
1928
|
-
var s = c.useCallback(function(
|
|
1929
|
-
if ("touches" in
|
|
1942
|
+
var s = c.useCallback(function(d, m) {
|
|
1943
|
+
if ("touches" in d && d.touches.length === 2 || d.type === "wheel" && d.ctrlKey)
|
|
1930
1944
|
return !l.current.allowPinchZoom;
|
|
1931
|
-
var
|
|
1932
|
-
if ("touches" in
|
|
1945
|
+
var L = J(d), _ = n.current, E = "deltaX" in d ? d.deltaX : _[0] - L[0], w = "deltaY" in d ? d.deltaY : _[1] - L[1], M, x = d.target, b = Math.abs(E) > Math.abs(w) ? "h" : "v";
|
|
1946
|
+
if ("touches" in d && b === "h" && x.type === "range")
|
|
1933
1947
|
return !1;
|
|
1934
|
-
var
|
|
1935
|
-
if (!
|
|
1948
|
+
var P = Be(b, x);
|
|
1949
|
+
if (!P)
|
|
1936
1950
|
return !0;
|
|
1937
|
-
if (
|
|
1951
|
+
if (P ? M = b : (M = b === "v" ? "h" : "v", P = Be(b, x)), !P)
|
|
1938
1952
|
return !1;
|
|
1939
|
-
if (!r.current && "changedTouches" in
|
|
1953
|
+
if (!r.current && "changedTouches" in d && (E || w) && (r.current = M), !M)
|
|
1940
1954
|
return !0;
|
|
1941
1955
|
var U = r.current || M;
|
|
1942
|
-
return
|
|
1943
|
-
}, []), f = c.useCallback(function(
|
|
1944
|
-
var m =
|
|
1945
|
-
if (!(!
|
|
1946
|
-
var
|
|
1947
|
-
return M.name === m.type && (M.target === m.target || m.target === M.shadowParent) &&
|
|
1956
|
+
return Ar(U, m, d, U === "h" ? E : w);
|
|
1957
|
+
}, []), f = c.useCallback(function(d) {
|
|
1958
|
+
var m = d;
|
|
1959
|
+
if (!(!V.length || V[V.length - 1] !== a)) {
|
|
1960
|
+
var L = "deltaY" in m ? je(m) : J(m), _ = t.current.filter(function(M) {
|
|
1961
|
+
return M.name === m.type && (M.target === m.target || m.target === M.shadowParent) && Or(M.delta, L);
|
|
1948
1962
|
})[0];
|
|
1949
|
-
if (
|
|
1963
|
+
if (_ && _.should) {
|
|
1950
1964
|
m.cancelable && m.preventDefault();
|
|
1951
1965
|
return;
|
|
1952
1966
|
}
|
|
1953
|
-
if (!
|
|
1954
|
-
var
|
|
1967
|
+
if (!_) {
|
|
1968
|
+
var E = (l.current.shards || []).map(Ve).filter(Boolean).filter(function(M) {
|
|
1955
1969
|
return M.contains(m.target);
|
|
1956
|
-
}),
|
|
1957
|
-
|
|
1970
|
+
}), w = E.length > 0 ? s(m, E[0]) : !l.current.noIsolation;
|
|
1971
|
+
w && m.cancelable && m.preventDefault();
|
|
1958
1972
|
}
|
|
1959
1973
|
}
|
|
1960
|
-
}, []),
|
|
1961
|
-
var
|
|
1962
|
-
t.current.push(
|
|
1963
|
-
t.current = t.current.filter(function(
|
|
1964
|
-
return
|
|
1974
|
+
}, []), u = c.useCallback(function(d, m, L, _) {
|
|
1975
|
+
var E = { name: d, delta: m, target: L, should: _, shadowParent: Fr(L) };
|
|
1976
|
+
t.current.push(E), setTimeout(function() {
|
|
1977
|
+
t.current = t.current.filter(function(w) {
|
|
1978
|
+
return w !== E;
|
|
1965
1979
|
});
|
|
1966
1980
|
}, 1);
|
|
1967
|
-
}, []),
|
|
1968
|
-
n.current =
|
|
1969
|
-
}, []),
|
|
1970
|
-
d
|
|
1971
|
-
}, []), h = c.useCallback(function(
|
|
1972
|
-
d
|
|
1981
|
+
}, []), p = c.useCallback(function(d) {
|
|
1982
|
+
n.current = J(d), r.current = void 0;
|
|
1983
|
+
}, []), C = c.useCallback(function(d) {
|
|
1984
|
+
u(d.type, je(d), d.target, s(d, e.lockRef.current));
|
|
1985
|
+
}, []), h = c.useCallback(function(d) {
|
|
1986
|
+
u(d.type, J(d), d.target, s(d, e.lockRef.current));
|
|
1973
1987
|
}, []);
|
|
1974
1988
|
c.useEffect(function() {
|
|
1975
|
-
return
|
|
1976
|
-
onScrollCapture:
|
|
1977
|
-
onWheelCapture:
|
|
1989
|
+
return V.push(a), e.setCallbacks({
|
|
1990
|
+
onScrollCapture: C,
|
|
1991
|
+
onWheelCapture: C,
|
|
1978
1992
|
onTouchMoveCapture: h
|
|
1979
|
-
}), document.addEventListener("wheel", f,
|
|
1980
|
-
|
|
1981
|
-
return
|
|
1982
|
-
}), document.removeEventListener("wheel", f,
|
|
1993
|
+
}), document.addEventListener("wheel", f, j), document.addEventListener("touchmove", f, j), document.addEventListener("touchstart", p, j), function() {
|
|
1994
|
+
V = V.filter(function(d) {
|
|
1995
|
+
return d !== a;
|
|
1996
|
+
}), document.removeEventListener("wheel", f, j), document.removeEventListener("touchmove", f, j), document.removeEventListener("touchstart", p, j);
|
|
1983
1997
|
};
|
|
1984
1998
|
}, []);
|
|
1985
|
-
var v = e.removeScrollBar,
|
|
1999
|
+
var v = e.removeScrollBar, k = e.inert;
|
|
1986
2000
|
return c.createElement(
|
|
1987
2001
|
c.Fragment,
|
|
1988
2002
|
null,
|
|
1989
|
-
|
|
1990
|
-
v ? c.createElement(
|
|
2003
|
+
k ? c.createElement(a, { styles: Tr(i) }) : null,
|
|
2004
|
+
v ? c.createElement(Nr, { noRelative: e.noRelative, gapMode: e.gapMode }) : null
|
|
1991
2005
|
);
|
|
1992
2006
|
}
|
|
1993
|
-
function
|
|
2007
|
+
function Fr(e) {
|
|
1994
2008
|
for (var t = null; e !== null; )
|
|
1995
2009
|
e instanceof ShadowRoot && (t = e.host, e = e.host), e = e.parentNode;
|
|
1996
2010
|
return t;
|
|
1997
2011
|
}
|
|
1998
|
-
const
|
|
1999
|
-
var
|
|
2000
|
-
return c.createElement(
|
|
2012
|
+
const Br = Cr(i1, Hr);
|
|
2013
|
+
var u1 = c.forwardRef(function(e, t) {
|
|
2014
|
+
return c.createElement(ae, R({}, e, { ref: t, sideCar: Br }));
|
|
2001
2015
|
});
|
|
2002
|
-
|
|
2003
|
-
var
|
|
2016
|
+
u1.classNames = ae.classNames;
|
|
2017
|
+
var jr = function(e) {
|
|
2004
2018
|
if (typeof document > "u")
|
|
2005
2019
|
return null;
|
|
2006
2020
|
var t = Array.isArray(e) ? e[0] : e;
|
|
2007
2021
|
return t.ownerDocument.body;
|
|
2008
|
-
}, Z = /* @__PURE__ */ new WeakMap(),
|
|
2009
|
-
return e && (e.host ||
|
|
2010
|
-
},
|
|
2022
|
+
}, Z = /* @__PURE__ */ new WeakMap(), ee = /* @__PURE__ */ new WeakMap(), te = {}, me = 0, d1 = function(e) {
|
|
2023
|
+
return e && (e.host || d1(e.parentNode));
|
|
2024
|
+
}, Vr = function(e, t) {
|
|
2011
2025
|
return t.map(function(n) {
|
|
2012
2026
|
if (e.contains(n))
|
|
2013
2027
|
return n;
|
|
2014
|
-
var r =
|
|
2028
|
+
var r = d1(n);
|
|
2015
2029
|
return r && e.contains(r) ? r : (console.error("aria-hidden", n, "in not contained inside", e, ". Doing nothing"), null);
|
|
2016
2030
|
}).filter(function(n) {
|
|
2017
2031
|
return !!n;
|
|
2018
2032
|
});
|
|
2019
|
-
},
|
|
2020
|
-
var i =
|
|
2021
|
-
|
|
2022
|
-
var a =
|
|
2023
|
-
!
|
|
2033
|
+
}, Zr = function(e, t, n, r) {
|
|
2034
|
+
var i = Vr(t, Array.isArray(e) ? e : [e]);
|
|
2035
|
+
te[n] || (te[n] = /* @__PURE__ */ new WeakMap());
|
|
2036
|
+
var a = te[n], l = [], s = /* @__PURE__ */ new Set(), f = new Set(i), u = function(C) {
|
|
2037
|
+
!C || s.has(C) || (s.add(C), u(C.parentNode));
|
|
2024
2038
|
};
|
|
2025
|
-
i.forEach(
|
|
2026
|
-
var
|
|
2027
|
-
!
|
|
2039
|
+
i.forEach(u);
|
|
2040
|
+
var p = function(C) {
|
|
2041
|
+
!C || f.has(C) || Array.prototype.forEach.call(C.children, function(h) {
|
|
2028
2042
|
if (s.has(h))
|
|
2029
|
-
|
|
2043
|
+
p(h);
|
|
2030
2044
|
else
|
|
2031
2045
|
try {
|
|
2032
|
-
var v = h.getAttribute(r),
|
|
2033
|
-
Z.set(h,
|
|
2034
|
-
} catch (
|
|
2035
|
-
console.error("aria-hidden: cannot operate on ", h,
|
|
2046
|
+
var v = h.getAttribute(r), k = v !== null && v !== "false", d = (Z.get(h) || 0) + 1, m = (a.get(h) || 0) + 1;
|
|
2047
|
+
Z.set(h, d), a.set(h, m), l.push(h), d === 1 && k && ee.set(h, !0), m === 1 && h.setAttribute(n, "true"), k || h.setAttribute(r, "true");
|
|
2048
|
+
} catch (L) {
|
|
2049
|
+
console.error("aria-hidden: cannot operate on ", h, L);
|
|
2036
2050
|
}
|
|
2037
2051
|
});
|
|
2038
2052
|
};
|
|
2039
|
-
return
|
|
2040
|
-
l.forEach(function(
|
|
2041
|
-
var h = Z.get(
|
|
2042
|
-
Z.set(
|
|
2043
|
-
}),
|
|
2053
|
+
return p(t), s.clear(), me++, function() {
|
|
2054
|
+
l.forEach(function(C) {
|
|
2055
|
+
var h = Z.get(C) - 1, v = a.get(C) - 1;
|
|
2056
|
+
Z.set(C, h), a.set(C, v), h || (ee.has(C) || C.removeAttribute(r), ee.delete(C)), v || C.removeAttribute(n);
|
|
2057
|
+
}), me--, me || (Z = /* @__PURE__ */ new WeakMap(), Z = /* @__PURE__ */ new WeakMap(), ee = /* @__PURE__ */ new WeakMap(), te = {});
|
|
2044
2058
|
};
|
|
2045
|
-
},
|
|
2059
|
+
}, $r = function(e, t, n) {
|
|
2046
2060
|
n === void 0 && (n = "data-aria-hidden");
|
|
2047
|
-
var r = Array.from(Array.isArray(e) ? e : [e]), i =
|
|
2048
|
-
return i ? (r.push.apply(r, Array.from(i.querySelectorAll("[aria-live], script"))),
|
|
2061
|
+
var r = Array.from(Array.isArray(e) ? e : [e]), i = jr(e);
|
|
2062
|
+
return i ? (r.push.apply(r, Array.from(i.querySelectorAll("[aria-live], script"))), Zr(r, i, n, "aria-hidden")) : function() {
|
|
2049
2063
|
return null;
|
|
2050
2064
|
};
|
|
2051
|
-
},
|
|
2065
|
+
}, se = "Dialog", [f1] = xn(se), [Ur, S] = f1(se), p1 = (e) => {
|
|
2052
2066
|
const {
|
|
2053
2067
|
__scopeDialog: t,
|
|
2054
2068
|
children: n,
|
|
@@ -2056,33 +2070,33 @@ var yr = function(e) {
|
|
|
2056
2070
|
defaultOpen: i,
|
|
2057
2071
|
onOpenChange: a,
|
|
2058
2072
|
modal: l = !0
|
|
2059
|
-
} = e, s = c.useRef(null), f = c.useRef(null), [
|
|
2073
|
+
} = e, s = c.useRef(null), f = c.useRef(null), [u, p] = An({
|
|
2060
2074
|
prop: r,
|
|
2061
2075
|
defaultProp: i ?? !1,
|
|
2062
2076
|
onChange: a,
|
|
2063
|
-
caller:
|
|
2077
|
+
caller: se
|
|
2064
2078
|
});
|
|
2065
2079
|
return /* @__PURE__ */ o(
|
|
2066
|
-
|
|
2080
|
+
Ur,
|
|
2067
2081
|
{
|
|
2068
2082
|
scope: t,
|
|
2069
2083
|
triggerRef: s,
|
|
2070
2084
|
contentRef: f,
|
|
2071
|
-
contentId:
|
|
2072
|
-
titleId:
|
|
2073
|
-
descriptionId:
|
|
2074
|
-
open:
|
|
2075
|
-
onOpenChange:
|
|
2076
|
-
onOpenToggle: c.useCallback(() =>
|
|
2085
|
+
contentId: ue(),
|
|
2086
|
+
titleId: ue(),
|
|
2087
|
+
descriptionId: ue(),
|
|
2088
|
+
open: u,
|
|
2089
|
+
onOpenChange: p,
|
|
2090
|
+
onOpenToggle: c.useCallback(() => p((C) => !C), [p]),
|
|
2077
2091
|
modal: l,
|
|
2078
2092
|
children: n
|
|
2079
2093
|
}
|
|
2080
2094
|
);
|
|
2081
2095
|
};
|
|
2082
|
-
|
|
2083
|
-
var
|
|
2096
|
+
p1.displayName = se;
|
|
2097
|
+
var C1 = "DialogTrigger", h1 = c.forwardRef(
|
|
2084
2098
|
(e, t) => {
|
|
2085
|
-
const { __scopeDialog: n, ...r } = e, i =
|
|
2099
|
+
const { __scopeDialog: n, ...r } = e, i = S(C1, n), a = B(t, i.triggerRef);
|
|
2086
2100
|
return /* @__PURE__ */ o(
|
|
2087
2101
|
A.button,
|
|
2088
2102
|
{
|
|
@@ -2090,39 +2104,39 @@ var u1 = "DialogTrigger", d1 = c.forwardRef(
|
|
|
2090
2104
|
"aria-haspopup": "dialog",
|
|
2091
2105
|
"aria-expanded": i.open,
|
|
2092
2106
|
"aria-controls": i.contentId,
|
|
2093
|
-
"data-state":
|
|
2107
|
+
"data-state": Me(i.open),
|
|
2094
2108
|
...r,
|
|
2095
2109
|
ref: a,
|
|
2096
|
-
onClick:
|
|
2110
|
+
onClick: W(e.onClick, i.onOpenToggle)
|
|
2097
2111
|
}
|
|
2098
2112
|
);
|
|
2099
2113
|
}
|
|
2100
2114
|
);
|
|
2101
|
-
|
|
2102
|
-
var
|
|
2115
|
+
h1.displayName = C1;
|
|
2116
|
+
var be = "DialogPortal", [zr, v1] = f1(be, {
|
|
2103
2117
|
forceMount: void 0
|
|
2104
|
-
}),
|
|
2105
|
-
const { __scopeDialog: t, forceMount: n, children: r, container: i } = e, a =
|
|
2106
|
-
return /* @__PURE__ */ o(
|
|
2118
|
+
}), m1 = (e) => {
|
|
2119
|
+
const { __scopeDialog: t, forceMount: n, children: r, container: i } = e, a = S(be, t);
|
|
2120
|
+
return /* @__PURE__ */ o(zr, { scope: t, forceMount: n, children: c.Children.map(r, (l) => /* @__PURE__ */ o(ie, { present: n || a.open, children: /* @__PURE__ */ o(n1, { asChild: !0, container: i, children: l }) })) });
|
|
2107
2121
|
};
|
|
2108
|
-
|
|
2109
|
-
var
|
|
2122
|
+
m1.displayName = be;
|
|
2123
|
+
var oe = "DialogOverlay", g1 = c.forwardRef(
|
|
2110
2124
|
(e, t) => {
|
|
2111
|
-
const n =
|
|
2112
|
-
return a.modal ? /* @__PURE__ */ o(
|
|
2125
|
+
const n = v1(oe, e.__scopeDialog), { forceMount: r = n.forceMount, ...i } = e, a = S(oe, e.__scopeDialog);
|
|
2126
|
+
return a.modal ? /* @__PURE__ */ o(ie, { present: r || a.open, children: /* @__PURE__ */ o(Kr, { ...i, ref: t }) }) : null;
|
|
2113
2127
|
}
|
|
2114
2128
|
);
|
|
2115
|
-
|
|
2116
|
-
var
|
|
2129
|
+
g1.displayName = oe;
|
|
2130
|
+
var Gr = /* @__PURE__ */ ke("DialogOverlay.RemoveScroll"), Kr = c.forwardRef(
|
|
2117
2131
|
(e, t) => {
|
|
2118
|
-
const { __scopeDialog: n, ...r } = e, i =
|
|
2132
|
+
const { __scopeDialog: n, ...r } = e, i = S(oe, n);
|
|
2119
2133
|
return (
|
|
2120
2134
|
// Make sure `Content` is scrollable even when it doesn't live inside `RemoveScroll`
|
|
2121
2135
|
// ie. when `Overlay` and `Content` are siblings
|
|
2122
|
-
/* @__PURE__ */ o(
|
|
2136
|
+
/* @__PURE__ */ o(u1, { as: Gr, allowPinchZoom: !0, shards: [i.contentRef], children: /* @__PURE__ */ o(
|
|
2123
2137
|
A.div,
|
|
2124
2138
|
{
|
|
2125
|
-
"data-state":
|
|
2139
|
+
"data-state": Me(i.open),
|
|
2126
2140
|
...r,
|
|
2127
2141
|
ref: t,
|
|
2128
2142
|
style: { pointerEvents: "auto", ...r.style }
|
|
@@ -2130,45 +2144,45 @@ var Lr = /* @__PURE__ */ ye("DialogOverlay.RemoveScroll"), Mr = c.forwardRef(
|
|
|
2130
2144
|
) })
|
|
2131
2145
|
);
|
|
2132
2146
|
}
|
|
2133
|
-
), F = "DialogContent",
|
|
2147
|
+
), F = "DialogContent", y1 = c.forwardRef(
|
|
2134
2148
|
(e, t) => {
|
|
2135
|
-
const n =
|
|
2136
|
-
return /* @__PURE__ */ o(
|
|
2149
|
+
const n = v1(F, e.__scopeDialog), { forceMount: r = n.forceMount, ...i } = e, a = S(F, e.__scopeDialog);
|
|
2150
|
+
return /* @__PURE__ */ o(ie, { present: r || a.open, children: a.modal ? /* @__PURE__ */ o(Xr, { ...i, ref: t }) : /* @__PURE__ */ o(Yr, { ...i, ref: t }) });
|
|
2137
2151
|
}
|
|
2138
2152
|
);
|
|
2139
|
-
|
|
2140
|
-
var
|
|
2153
|
+
y1.displayName = F;
|
|
2154
|
+
var Xr = c.forwardRef(
|
|
2141
2155
|
(e, t) => {
|
|
2142
|
-
const n =
|
|
2156
|
+
const n = S(F, e.__scopeDialog), r = c.useRef(null), i = B(t, n.contentRef, r);
|
|
2143
2157
|
return c.useEffect(() => {
|
|
2144
2158
|
const a = r.current;
|
|
2145
|
-
if (a) return
|
|
2159
|
+
if (a) return $r(a);
|
|
2146
2160
|
}, []), /* @__PURE__ */ o(
|
|
2147
|
-
|
|
2161
|
+
L1,
|
|
2148
2162
|
{
|
|
2149
2163
|
...e,
|
|
2150
2164
|
ref: i,
|
|
2151
2165
|
trapFocus: n.open,
|
|
2152
2166
|
disableOutsidePointerEvents: !0,
|
|
2153
|
-
onCloseAutoFocus:
|
|
2167
|
+
onCloseAutoFocus: W(e.onCloseAutoFocus, (a) => {
|
|
2154
2168
|
a.preventDefault(), n.triggerRef.current?.focus();
|
|
2155
2169
|
}),
|
|
2156
|
-
onPointerDownOutside:
|
|
2170
|
+
onPointerDownOutside: W(e.onPointerDownOutside, (a) => {
|
|
2157
2171
|
const l = a.detail.originalEvent, s = l.button === 0 && l.ctrlKey === !0;
|
|
2158
2172
|
(l.button === 2 || s) && a.preventDefault();
|
|
2159
2173
|
}),
|
|
2160
|
-
onFocusOutside:
|
|
2174
|
+
onFocusOutside: W(
|
|
2161
2175
|
e.onFocusOutside,
|
|
2162
2176
|
(a) => a.preventDefault()
|
|
2163
2177
|
)
|
|
2164
2178
|
}
|
|
2165
2179
|
);
|
|
2166
2180
|
}
|
|
2167
|
-
),
|
|
2181
|
+
), Yr = c.forwardRef(
|
|
2168
2182
|
(e, t) => {
|
|
2169
|
-
const n =
|
|
2183
|
+
const n = S(F, e.__scopeDialog), r = c.useRef(!1), i = c.useRef(!1);
|
|
2170
2184
|
return /* @__PURE__ */ o(
|
|
2171
|
-
|
|
2185
|
+
L1,
|
|
2172
2186
|
{
|
|
2173
2187
|
...e,
|
|
2174
2188
|
ref: t,
|
|
@@ -2185,12 +2199,12 @@ var Nr = c.forwardRef(
|
|
|
2185
2199
|
}
|
|
2186
2200
|
);
|
|
2187
2201
|
}
|
|
2188
|
-
),
|
|
2202
|
+
), L1 = c.forwardRef(
|
|
2189
2203
|
(e, t) => {
|
|
2190
|
-
const { __scopeDialog: n, trapFocus: r, onOpenAutoFocus: i, onCloseAutoFocus: a, ...l } = e, s =
|
|
2191
|
-
return
|
|
2204
|
+
const { __scopeDialog: n, trapFocus: r, onOpenAutoFocus: i, onCloseAutoFocus: a, ...l } = e, s = S(F, n), f = c.useRef(null), u = B(t, f);
|
|
2205
|
+
return or(), /* @__PURE__ */ g(Ne, { children: [
|
|
2192
2206
|
/* @__PURE__ */ o(
|
|
2193
|
-
|
|
2207
|
+
e1,
|
|
2194
2208
|
{
|
|
2195
2209
|
asChild: !0,
|
|
2196
2210
|
loop: !0,
|
|
@@ -2198,64 +2212,64 @@ var Nr = c.forwardRef(
|
|
|
2198
2212
|
onMountAutoFocus: i,
|
|
2199
2213
|
onUnmountAutoFocus: a,
|
|
2200
2214
|
children: /* @__PURE__ */ o(
|
|
2201
|
-
|
|
2215
|
+
Qe,
|
|
2202
2216
|
{
|
|
2203
2217
|
role: "dialog",
|
|
2204
2218
|
id: s.contentId,
|
|
2205
2219
|
"aria-describedby": s.descriptionId,
|
|
2206
2220
|
"aria-labelledby": s.titleId,
|
|
2207
|
-
"data-state":
|
|
2221
|
+
"data-state": Me(s.open),
|
|
2208
2222
|
...l,
|
|
2209
|
-
ref:
|
|
2223
|
+
ref: u,
|
|
2210
2224
|
onDismiss: () => s.onOpenChange(!1)
|
|
2211
2225
|
}
|
|
2212
2226
|
)
|
|
2213
2227
|
}
|
|
2214
2228
|
),
|
|
2215
|
-
/* @__PURE__ */ g(
|
|
2216
|
-
/* @__PURE__ */ o(
|
|
2217
|
-
/* @__PURE__ */ o(
|
|
2229
|
+
/* @__PURE__ */ g(Ne, { children: [
|
|
2230
|
+
/* @__PURE__ */ o(qr, { titleId: s.titleId }),
|
|
2231
|
+
/* @__PURE__ */ o(Jr, { contentRef: f, descriptionId: s.descriptionId })
|
|
2218
2232
|
] })
|
|
2219
2233
|
] });
|
|
2220
2234
|
}
|
|
2221
|
-
),
|
|
2235
|
+
), we = "DialogTitle", _1 = c.forwardRef(
|
|
2222
2236
|
(e, t) => {
|
|
2223
|
-
const { __scopeDialog: n, ...r } = e, i =
|
|
2237
|
+
const { __scopeDialog: n, ...r } = e, i = S(we, n);
|
|
2224
2238
|
return /* @__PURE__ */ o(A.h2, { id: i.titleId, ...r, ref: t });
|
|
2225
2239
|
}
|
|
2226
2240
|
);
|
|
2227
|
-
|
|
2228
|
-
var
|
|
2241
|
+
_1.displayName = we;
|
|
2242
|
+
var k1 = "DialogDescription", E1 = c.forwardRef(
|
|
2229
2243
|
(e, t) => {
|
|
2230
|
-
const { __scopeDialog: n, ...r } = e, i =
|
|
2244
|
+
const { __scopeDialog: n, ...r } = e, i = S(k1, n);
|
|
2231
2245
|
return /* @__PURE__ */ o(A.p, { id: i.descriptionId, ...r, ref: t });
|
|
2232
2246
|
}
|
|
2233
2247
|
);
|
|
2234
|
-
|
|
2235
|
-
var
|
|
2248
|
+
E1.displayName = k1;
|
|
2249
|
+
var b1 = "DialogClose", w1 = c.forwardRef(
|
|
2236
2250
|
(e, t) => {
|
|
2237
|
-
const { __scopeDialog: n, ...r } = e, i =
|
|
2251
|
+
const { __scopeDialog: n, ...r } = e, i = S(b1, n);
|
|
2238
2252
|
return /* @__PURE__ */ o(
|
|
2239
2253
|
A.button,
|
|
2240
2254
|
{
|
|
2241
2255
|
type: "button",
|
|
2242
2256
|
...r,
|
|
2243
2257
|
ref: t,
|
|
2244
|
-
onClick:
|
|
2258
|
+
onClick: W(e.onClick, () => i.onOpenChange(!1))
|
|
2245
2259
|
}
|
|
2246
2260
|
);
|
|
2247
2261
|
}
|
|
2248
2262
|
);
|
|
2249
|
-
w1.displayName =
|
|
2250
|
-
function
|
|
2263
|
+
w1.displayName = b1;
|
|
2264
|
+
function Me(e) {
|
|
2251
2265
|
return e ? "open" : "closed";
|
|
2252
2266
|
}
|
|
2253
|
-
var
|
|
2267
|
+
var M1 = "DialogTitleWarning", [jo, N1] = In(M1, {
|
|
2254
2268
|
contentName: F,
|
|
2255
|
-
titleName:
|
|
2269
|
+
titleName: we,
|
|
2256
2270
|
docsSlug: "dialog"
|
|
2257
|
-
}),
|
|
2258
|
-
const t =
|
|
2271
|
+
}), qr = ({ titleId: e }) => {
|
|
2272
|
+
const t = N1(M1), n = `\`${t.contentName}\` requires a \`${t.titleName}\` for the component to be accessible for screen reader users.
|
|
2259
2273
|
|
|
2260
2274
|
If you want to hide the \`${t.titleName}\`, you can wrap it with our VisuallyHidden component.
|
|
2261
2275
|
|
|
@@ -2263,24 +2277,24 @@ For more information, see https://radix-ui.com/primitives/docs/components/${t.do
|
|
|
2263
2277
|
return c.useEffect(() => {
|
|
2264
2278
|
e && (document.getElementById(e) || console.error(n));
|
|
2265
2279
|
}, [n, e]), null;
|
|
2266
|
-
},
|
|
2267
|
-
const r = `Warning: Missing \`Description\` or \`aria-describedby={undefined}\` for {${
|
|
2280
|
+
}, Qr = "DialogDescriptionWarning", Jr = ({ contentRef: e, descriptionId: t }) => {
|
|
2281
|
+
const r = `Warning: Missing \`Description\` or \`aria-describedby={undefined}\` for {${N1(Qr).contentName}}.`;
|
|
2268
2282
|
return c.useEffect(() => {
|
|
2269
2283
|
const i = e.current?.getAttribute("aria-describedby");
|
|
2270
2284
|
t && i && (document.getElementById(t) || console.warn(r));
|
|
2271
2285
|
}, [r, e, t]), null;
|
|
2272
|
-
},
|
|
2273
|
-
const
|
|
2274
|
-
overlay:
|
|
2275
|
-
modal:
|
|
2276
|
-
header:
|
|
2277
|
-
heading:
|
|
2278
|
-
centered:
|
|
2279
|
-
description:
|
|
2280
|
-
scrollableContainer:
|
|
2281
|
-
closeButton:
|
|
2282
|
-
},
|
|
2283
|
-
function
|
|
2286
|
+
}, eo = p1, to = h1, no = m1, ro = g1, oo = y1, io = _1, ao = E1, I1 = w1;
|
|
2287
|
+
const so = "_overlay_xbzee_1", co = "_modal_xbzee_18", lo = "_header_xbzee_57", uo = "_heading_xbzee_73", fo = "_centered_xbzee_85", po = "_description_xbzee_94", Co = "_scrollableContainer_xbzee_109", ho = "_closeButton_xbzee_135", D = {
|
|
2288
|
+
overlay: so,
|
|
2289
|
+
modal: co,
|
|
2290
|
+
header: lo,
|
|
2291
|
+
heading: uo,
|
|
2292
|
+
centered: fo,
|
|
2293
|
+
description: po,
|
|
2294
|
+
scrollableContainer: Co,
|
|
2295
|
+
closeButton: ho
|
|
2296
|
+
}, Vo = eo, Zo = to, $o = I1;
|
|
2297
|
+
function Uo({
|
|
2284
2298
|
children: e,
|
|
2285
2299
|
showClose: t = !0,
|
|
2286
2300
|
scrollableContainerClassName: n = "",
|
|
@@ -2288,162 +2302,183 @@ function mo({
|
|
|
2288
2302
|
...i
|
|
2289
2303
|
}) {
|
|
2290
2304
|
const a = [], l = [];
|
|
2291
|
-
return
|
|
2292
|
-
if (
|
|
2305
|
+
return S1.forEach(e, (s) => {
|
|
2306
|
+
if (R1(s)) {
|
|
2293
2307
|
const f = s.type;
|
|
2294
|
-
f ===
|
|
2308
|
+
f === vo || f === mo ? a.push(s) : l.push(s);
|
|
2295
2309
|
} else
|
|
2296
2310
|
l.push(s);
|
|
2297
|
-
}), /* @__PURE__ */ g(
|
|
2298
|
-
/* @__PURE__ */ o(
|
|
2299
|
-
/* @__PURE__ */ g(
|
|
2311
|
+
}), /* @__PURE__ */ g(no, { children: [
|
|
2312
|
+
/* @__PURE__ */ o(ro, { className: D.overlay }),
|
|
2313
|
+
/* @__PURE__ */ g(oo, { className: N(D.modal, r), ...i, children: [
|
|
2300
2314
|
a.length > 0 && /* @__PURE__ */ o("div", { className: D.header, children: a }),
|
|
2301
|
-
/* @__PURE__ */ o("div", { className:
|
|
2302
|
-
t && /* @__PURE__ */ o(
|
|
2315
|
+
/* @__PURE__ */ o("div", { className: N(D.scrollableContainer, n), children: l }),
|
|
2316
|
+
t && /* @__PURE__ */ o(I1, { asChild: !0, "aria-label": "Close", children: /* @__PURE__ */ o(Ye, { className: D.closeButton, children: /* @__PURE__ */ o(Ee, {}) }) })
|
|
2303
2317
|
] })
|
|
2304
2318
|
] });
|
|
2305
2319
|
}
|
|
2306
|
-
function
|
|
2320
|
+
function vo({
|
|
2307
2321
|
children: e,
|
|
2308
2322
|
centered: t = !1,
|
|
2309
2323
|
className: n = "",
|
|
2310
2324
|
...r
|
|
2311
2325
|
}) {
|
|
2312
2326
|
return /* @__PURE__ */ o(
|
|
2313
|
-
|
|
2327
|
+
io,
|
|
2314
2328
|
{
|
|
2315
|
-
className:
|
|
2329
|
+
className: N(D.heading, { [D.centered]: t }, n),
|
|
2316
2330
|
...r,
|
|
2317
2331
|
children: e
|
|
2318
2332
|
}
|
|
2319
2333
|
);
|
|
2320
2334
|
}
|
|
2321
|
-
function
|
|
2335
|
+
function mo({
|
|
2322
2336
|
children: e,
|
|
2323
2337
|
centered: t = !1,
|
|
2324
2338
|
className: n = "",
|
|
2325
2339
|
...r
|
|
2326
2340
|
}) {
|
|
2327
2341
|
return /* @__PURE__ */ o(
|
|
2328
|
-
|
|
2342
|
+
ao,
|
|
2329
2343
|
{
|
|
2330
|
-
className:
|
|
2344
|
+
className: N(D.description, { [D.centered]: t }, n),
|
|
2331
2345
|
...r,
|
|
2332
2346
|
children: e
|
|
2333
2347
|
}
|
|
2334
2348
|
);
|
|
2335
2349
|
}
|
|
2336
|
-
const
|
|
2337
|
-
wrapper:
|
|
2338
|
-
label:
|
|
2339
|
-
container:
|
|
2340
|
-
input:
|
|
2341
|
-
uploadBox:
|
|
2342
|
-
hasPreview:
|
|
2343
|
-
error:
|
|
2344
|
-
placeholder:
|
|
2345
|
-
icon:
|
|
2346
|
-
placeholderText:
|
|
2347
|
-
preview:
|
|
2348
|
-
previewImage:
|
|
2349
|
-
errorText:
|
|
2350
|
-
},
|
|
2351
|
-
({ label: e, error: t, icon: n, placeholderText: r, preview: i, className: a = "", disabled: l, onChange: s, ...f },
|
|
2352
|
-
const
|
|
2353
|
-
|
|
2354
|
-
const
|
|
2355
|
-
const
|
|
2356
|
-
if (
|
|
2357
|
-
const
|
|
2358
|
-
|
|
2359
|
-
v(
|
|
2360
|
-
},
|
|
2350
|
+
const go = "_wrapper_1a52j_1", yo = "_label_1a52j_8", Lo = "_container_1a52j_16", _o = "_input_1a52j_21", ko = "_uploadBox_1a52j_25", Eo = "_hasPreview_1a52j_46", bo = "_error_1a52j_49", wo = "_placeholder_1a52j_54", Mo = "_icon_1a52j_62", No = "_placeholderText_1a52j_75", Io = "_preview_1a52j_83", xo = "_previewImage_1a52j_91", So = "_errorText_1a52j_98", I = {
|
|
2351
|
+
wrapper: go,
|
|
2352
|
+
label: yo,
|
|
2353
|
+
container: Lo,
|
|
2354
|
+
input: _o,
|
|
2355
|
+
uploadBox: ko,
|
|
2356
|
+
hasPreview: Eo,
|
|
2357
|
+
error: bo,
|
|
2358
|
+
placeholder: wo,
|
|
2359
|
+
icon: Mo,
|
|
2360
|
+
placeholderText: No,
|
|
2361
|
+
preview: Io,
|
|
2362
|
+
previewImage: xo,
|
|
2363
|
+
errorText: So
|
|
2364
|
+
}, Ro = K(
|
|
2365
|
+
({ label: e, error: t, icon: n, placeholderText: r, preview: i, className: a = "", disabled: l, onChange: s, ...f }, u) => {
|
|
2366
|
+
const p = $e(), C = Ue(null), [h, v] = _e(i || null);
|
|
2367
|
+
ze(u, () => C.current);
|
|
2368
|
+
const k = (L) => {
|
|
2369
|
+
const _ = L.target.files?.[0];
|
|
2370
|
+
if (_) {
|
|
2371
|
+
const E = new FileReader();
|
|
2372
|
+
E.onloadend = () => {
|
|
2373
|
+
v(E.result);
|
|
2374
|
+
}, E.readAsDataURL(_);
|
|
2361
2375
|
}
|
|
2362
|
-
s && s(
|
|
2363
|
-
},
|
|
2364
|
-
[
|
|
2365
|
-
[
|
|
2376
|
+
s && s(L);
|
|
2377
|
+
}, d = N(I.wrapper, a), m = N(I.uploadBox, {
|
|
2378
|
+
[I.error]: !!t,
|
|
2379
|
+
[I.hasPreview]: !!h
|
|
2366
2380
|
});
|
|
2367
|
-
return /* @__PURE__ */ g("div", { className:
|
|
2368
|
-
e && /* @__PURE__ */ o("label", { className:
|
|
2369
|
-
/* @__PURE__ */ g("div", { className:
|
|
2370
|
-
/* @__PURE__ */ g("label", { htmlFor:
|
|
2381
|
+
return /* @__PURE__ */ g("div", { className: d, children: [
|
|
2382
|
+
e && /* @__PURE__ */ o("label", { className: I.label, children: e }),
|
|
2383
|
+
/* @__PURE__ */ g("div", { className: I.container, children: [
|
|
2384
|
+
/* @__PURE__ */ g("label", { htmlFor: p, className: m, children: [
|
|
2371
2385
|
/* @__PURE__ */ o(
|
|
2372
2386
|
"input",
|
|
2373
2387
|
{
|
|
2374
|
-
ref:
|
|
2375
|
-
id:
|
|
2388
|
+
ref: C,
|
|
2389
|
+
id: p,
|
|
2376
2390
|
type: "file",
|
|
2377
2391
|
accept: "image/*",
|
|
2378
|
-
className:
|
|
2392
|
+
className: I.input,
|
|
2379
2393
|
disabled: l,
|
|
2380
|
-
onChange:
|
|
2394
|
+
onChange: k,
|
|
2381
2395
|
...f
|
|
2382
2396
|
}
|
|
2383
2397
|
),
|
|
2384
|
-
h ? /* @__PURE__ */ o("div", { className:
|
|
2385
|
-
n && /* @__PURE__ */ o("div", { className:
|
|
2386
|
-
r && /* @__PURE__ */ o("span", { className:
|
|
2398
|
+
h ? /* @__PURE__ */ o("div", { className: I.preview, children: /* @__PURE__ */ o("img", { src: h, alt: "Preview", className: I.previewImage }) }) : /* @__PURE__ */ g("div", { className: I.placeholder, children: [
|
|
2399
|
+
n && /* @__PURE__ */ o("div", { className: I.icon, children: n }),
|
|
2400
|
+
r && /* @__PURE__ */ o("span", { className: I.placeholderText, children: r })
|
|
2387
2401
|
] })
|
|
2388
2402
|
] }),
|
|
2389
|
-
t && /* @__PURE__ */ o("div", { className:
|
|
2403
|
+
t && /* @__PURE__ */ o("div", { className: I.errorText, children: t })
|
|
2390
2404
|
] })
|
|
2391
2405
|
] });
|
|
2392
2406
|
}
|
|
2393
2407
|
);
|
|
2394
|
-
|
|
2408
|
+
Ro.displayName = "PhotoUploadField";
|
|
2409
|
+
const Po = "_text_18ys9_1", Do = "_s_18ys9_5", Ao = "_m_18ys9_10", Oo = "_dark_18ys9_21", To = "_light_18ys9_25", ge = {
|
|
2410
|
+
text: Po,
|
|
2411
|
+
s: Do,
|
|
2412
|
+
m: Ao,
|
|
2413
|
+
dark: Oo,
|
|
2414
|
+
light: To
|
|
2415
|
+
}, Wo = ({
|
|
2416
|
+
component: e = "p",
|
|
2417
|
+
size: t = "m",
|
|
2418
|
+
color: n = "dark",
|
|
2419
|
+
className: r,
|
|
2420
|
+
children: i,
|
|
2421
|
+
...a
|
|
2422
|
+
}) => {
|
|
2423
|
+
const l = N(ge.text, ge[t], ge[n], r);
|
|
2424
|
+
return Ze(e, { className: l, ...a }, i);
|
|
2425
|
+
};
|
|
2426
|
+
Wo.displayName = "Text";
|
|
2395
2427
|
export {
|
|
2396
|
-
|
|
2397
|
-
|
|
2398
|
-
|
|
2399
|
-
|
|
2400
|
-
|
|
2401
|
-
|
|
2402
|
-
|
|
2403
|
-
|
|
2404
|
-
|
|
2405
|
-
|
|
2406
|
-
|
|
2407
|
-
|
|
2408
|
-
|
|
2409
|
-
|
|
2410
|
-
|
|
2411
|
-
|
|
2412
|
-
|
|
2413
|
-
|
|
2414
|
-
|
|
2415
|
-
|
|
2416
|
-
|
|
2417
|
-
|
|
2418
|
-
|
|
2419
|
-
|
|
2420
|
-
|
|
2428
|
+
Zt as AddIcon,
|
|
2429
|
+
Mt as AddMediaIcon,
|
|
2430
|
+
$t as AppleIcon,
|
|
2431
|
+
Nt as ArrowDownIcon,
|
|
2432
|
+
It as ArrowLeftIcon,
|
|
2433
|
+
xt as ArrowRightIcon,
|
|
2434
|
+
St as ArrowUpIcon,
|
|
2435
|
+
Z1 as Avatar,
|
|
2436
|
+
Ut as BackPhotoIcon,
|
|
2437
|
+
dt as Button,
|
|
2438
|
+
zt as CalendarIcon,
|
|
2439
|
+
Rt as CheckmarkIcon,
|
|
2440
|
+
Gt as CircleAddIcon,
|
|
2441
|
+
Ye as CircleButton,
|
|
2442
|
+
Kt as CoinIcon,
|
|
2443
|
+
Ee as CrossIcon,
|
|
2444
|
+
Pt as DeleteIcon,
|
|
2445
|
+
Xt as DocumentBackIcon,
|
|
2446
|
+
Dt as DownloadIcon,
|
|
2447
|
+
Yt as EditIDIcon,
|
|
2448
|
+
At as EditIcon,
|
|
2449
|
+
Ot as FilterIcon,
|
|
2450
|
+
Tt as FireIcon,
|
|
2451
|
+
qt as FrontPhotoIcon,
|
|
2452
|
+
Qt as GoogleIcon,
|
|
2453
|
+
Et as Heading,
|
|
2421
2454
|
y as Icon,
|
|
2422
|
-
|
|
2423
|
-
|
|
2424
|
-
|
|
2425
|
-
|
|
2426
|
-
|
|
2427
|
-
|
|
2428
|
-
|
|
2429
|
-
|
|
2430
|
-
|
|
2431
|
-
|
|
2432
|
-
|
|
2433
|
-
|
|
2434
|
-
|
|
2435
|
-
|
|
2436
|
-
|
|
2437
|
-
|
|
2438
|
-
|
|
2439
|
-
|
|
2440
|
-
|
|
2441
|
-
|
|
2442
|
-
|
|
2443
|
-
|
|
2444
|
-
|
|
2445
|
-
|
|
2446
|
-
|
|
2447
|
-
|
|
2455
|
+
yn as Input,
|
|
2456
|
+
Nn as Link,
|
|
2457
|
+
en as LogOutIcon,
|
|
2458
|
+
Jt as LogoIcon,
|
|
2459
|
+
Wt as LongArrowLeftIcon,
|
|
2460
|
+
Ht as LongArrowRightIcon,
|
|
2461
|
+
Vo as Modal,
|
|
2462
|
+
$o as ModalClose,
|
|
2463
|
+
Uo as ModalContent,
|
|
2464
|
+
mo as ModalDescription,
|
|
2465
|
+
vo as ModalTitle,
|
|
2466
|
+
Zo as ModalTrigger,
|
|
2467
|
+
tn as MsgIcon,
|
|
2468
|
+
nn as PersonalcardIcon,
|
|
2469
|
+
Ro as PhotoUploadField,
|
|
2470
|
+
Ft as PlusIcon,
|
|
2471
|
+
Bt as RegenerateIcon,
|
|
2472
|
+
rn as ReverseIcon,
|
|
2473
|
+
jt as SearchIcon,
|
|
2474
|
+
on as StarIcon,
|
|
2475
|
+
Wo as Text,
|
|
2476
|
+
an as Tg2Icon,
|
|
2477
|
+
sn as TgIcon,
|
|
2478
|
+
Vt as TimeIcon,
|
|
2479
|
+
cn as UserIcon,
|
|
2480
|
+
ln as VkIcon,
|
|
2481
|
+
un as WatchIcon,
|
|
2482
|
+
dn as WhatsappIcon
|
|
2448
2483
|
};
|
|
2449
2484
|
//# sourceMappingURL=index.mjs.map
|