@aivex/ui 1.2.0-dev.21 → 1.2.0-dev.23
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{Button-B6WM7faP.js → Button-BSJwb59G.js} +310 -2177
- package/dist/Button-BSJwb59G.js.map +1 -0
- package/dist/Button-OQscp8mY.cjs +2 -0
- package/dist/Button-OQscp8mY.cjs.map +1 -0
- package/dist/IconButton-Cl3T7MUr.cjs +2 -0
- package/dist/IconButton-Cl3T7MUr.cjs.map +1 -0
- package/dist/IconButton-DyUOtz87.js +208 -0
- package/dist/IconButton-DyUOtz87.js.map +1 -0
- package/dist/Switch-DP8FRLJK.cjs +2 -0
- package/dist/Switch-DP8FRLJK.cjs.map +1 -0
- package/dist/Switch-rIEhz2pk.js +325 -0
- package/dist/Switch-rIEhz2pk.js.map +1 -0
- package/dist/comment.cjs +1 -113
- package/dist/comment.cjs.map +1 -1
- package/dist/comment.js +105 -13466
- package/dist/comment.js.map +1 -1
- package/dist/components/DataGrid/DataGrid.d.ts +11 -2
- package/dist/components/DataGrid/DataGridPrimitives.d.ts +6 -4
- package/dist/components/DataGrid/DataGridRows.d.ts +31 -3
- package/dist/components/DatePicker/DatePicker.d.ts +5 -0
- package/dist/components/ScrollArea/ScrollArea.d.ts +5 -1
- package/dist/components/Toast/Toast.d.ts +1 -1
- package/dist/index.cjs +1 -21
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +1588 -8470
- package/dist/index.js.map +1 -1
- package/dist/shape-editor.cjs +1 -1
- package/dist/shape-editor.js +442 -442
- package/dist/styles.css +1 -1
- package/package.json +3 -1
- package/dist/Button-B6WM7faP.js.map +0 -1
- package/dist/Button-C4WtB38c.cjs +0 -2
- package/dist/Button-C4WtB38c.cjs.map +0 -1
- package/dist/IconButton-CuO-3IXh.cjs +0 -2
- package/dist/IconButton-CuO-3IXh.cjs.map +0 -1
- package/dist/IconButton-pgdAaijX.js +0 -560
- package/dist/IconButton-pgdAaijX.js.map +0 -1
- package/dist/Switch-CtjEelTs.cjs +0 -42
- package/dist/Switch-CtjEelTs.cjs.map +0 -1
- package/dist/Switch-rKD8bdwo.js +0 -2537
- package/dist/Switch-rKD8bdwo.js.map +0 -1
|
@@ -1,560 +0,0 @@
|
|
|
1
|
-
import { Ea as e, Ia as t, La as n, Oa as r, Pa as i, Sa as a, ba as o, da as s, fa as c, ga as l, ha as u, ma as d, pa as f, va as p, xa as m, ya as h } from "./Button-B6WM7faP.js";
|
|
2
|
-
import * as g from "@radix-ui/react-avatar";
|
|
3
|
-
import { cva as _ } from "class-variance-authority";
|
|
4
|
-
import * as v from "react";
|
|
5
|
-
import { Fragment as y, jsx as b, jsxs as x } from "react/jsx-runtime";
|
|
6
|
-
import { Slot as S, createSlottable as C } from "@radix-ui/react-slot";
|
|
7
|
-
//#region node_modules/.pnpm/@radix-ui+react-visually-hidden@1.2.3_@types+react-dom@19.2.3_@types+react@19.2.14__@ty_e810030844e1cfedd403eda403a3d8c6/node_modules/@radix-ui/react-visually-hidden/dist/index.mjs
|
|
8
|
-
var w = Object.freeze({
|
|
9
|
-
position: "absolute",
|
|
10
|
-
border: 0,
|
|
11
|
-
width: 1,
|
|
12
|
-
height: 1,
|
|
13
|
-
padding: 0,
|
|
14
|
-
margin: -1,
|
|
15
|
-
overflow: "hidden",
|
|
16
|
-
clip: "rect(0, 0, 0, 0)",
|
|
17
|
-
whiteSpace: "nowrap",
|
|
18
|
-
wordWrap: "normal"
|
|
19
|
-
}), T = "VisuallyHidden", E = v.forwardRef((e, t) => /* @__PURE__ */ b(l.span, {
|
|
20
|
-
...e,
|
|
21
|
-
ref: t,
|
|
22
|
-
style: {
|
|
23
|
-
...w,
|
|
24
|
-
...e.style
|
|
25
|
-
}
|
|
26
|
-
}));
|
|
27
|
-
E.displayName = T;
|
|
28
|
-
var D = E, [O, ee] = i("Tooltip", [a]), k = a(), A = "TooltipProvider", te = 700, j = "tooltip.open", [ne, M] = O(A), N = (e) => {
|
|
29
|
-
let { __scopeTooltip: t, delayDuration: n = te, skipDelayDuration: r = 300, disableHoverableContent: i = !1, children: a } = e, o = v.useRef(!0), s = v.useRef(!1), c = v.useRef(0);
|
|
30
|
-
return v.useEffect(() => {
|
|
31
|
-
let e = c.current;
|
|
32
|
-
return () => window.clearTimeout(e);
|
|
33
|
-
}, []), /* @__PURE__ */ b(ne, {
|
|
34
|
-
scope: t,
|
|
35
|
-
isOpenDelayedRef: o,
|
|
36
|
-
delayDuration: n,
|
|
37
|
-
onOpen: v.useCallback(() => {
|
|
38
|
-
window.clearTimeout(c.current), o.current = !1;
|
|
39
|
-
}, []),
|
|
40
|
-
onClose: v.useCallback(() => {
|
|
41
|
-
window.clearTimeout(c.current), c.current = window.setTimeout(() => o.current = !0, r);
|
|
42
|
-
}, [r]),
|
|
43
|
-
isPointerInTransitRef: s,
|
|
44
|
-
onPointerInTransitChange: v.useCallback((e) => {
|
|
45
|
-
s.current = e;
|
|
46
|
-
}, []),
|
|
47
|
-
disableHoverableContent: i,
|
|
48
|
-
children: a
|
|
49
|
-
});
|
|
50
|
-
};
|
|
51
|
-
N.displayName = A;
|
|
52
|
-
var P = "Tooltip", [F, I] = O(P), L = (t) => {
|
|
53
|
-
let { __scopeTooltip: n, children: r, open: i, defaultOpen: a, onOpenChange: o, disableHoverableContent: s, delayDuration: c } = t, l = M(P, t.__scopeTooltip), u = k(n), [d, p] = v.useState(null), h = e(), g = v.useRef(0), _ = s ?? l.disableHoverableContent, y = c ?? l.delayDuration, x = v.useRef(!1), [S, C] = f({
|
|
54
|
-
prop: i,
|
|
55
|
-
defaultProp: a ?? !1,
|
|
56
|
-
onChange: (e) => {
|
|
57
|
-
e ? (l.onOpen(), document.dispatchEvent(new CustomEvent(j))) : l.onClose(), o?.(e);
|
|
58
|
-
},
|
|
59
|
-
caller: P
|
|
60
|
-
}), w = v.useMemo(() => S ? x.current ? "delayed-open" : "instant-open" : "closed", [S]), T = v.useCallback(() => {
|
|
61
|
-
window.clearTimeout(g.current), g.current = 0, x.current = !1, C(!0);
|
|
62
|
-
}, [C]), E = v.useCallback(() => {
|
|
63
|
-
window.clearTimeout(g.current), g.current = 0, C(!1);
|
|
64
|
-
}, [C]), D = v.useCallback(() => {
|
|
65
|
-
window.clearTimeout(g.current), g.current = window.setTimeout(() => {
|
|
66
|
-
x.current = !0, C(!0), g.current = 0;
|
|
67
|
-
}, y);
|
|
68
|
-
}, [y, C]);
|
|
69
|
-
return v.useEffect(() => () => {
|
|
70
|
-
g.current &&= (window.clearTimeout(g.current), 0);
|
|
71
|
-
}, []), /* @__PURE__ */ b(m, {
|
|
72
|
-
...u,
|
|
73
|
-
children: /* @__PURE__ */ b(F, {
|
|
74
|
-
scope: n,
|
|
75
|
-
contentId: h,
|
|
76
|
-
open: S,
|
|
77
|
-
stateAttribute: w,
|
|
78
|
-
trigger: d,
|
|
79
|
-
onTriggerChange: p,
|
|
80
|
-
onTriggerEnter: v.useCallback(() => {
|
|
81
|
-
l.isOpenDelayedRef.current ? D() : T();
|
|
82
|
-
}, [
|
|
83
|
-
l.isOpenDelayedRef,
|
|
84
|
-
D,
|
|
85
|
-
T
|
|
86
|
-
]),
|
|
87
|
-
onTriggerLeave: v.useCallback(() => {
|
|
88
|
-
_ ? E() : (window.clearTimeout(g.current), g.current = 0);
|
|
89
|
-
}, [E, _]),
|
|
90
|
-
onOpen: T,
|
|
91
|
-
onClose: E,
|
|
92
|
-
disableHoverableContent: _,
|
|
93
|
-
children: r
|
|
94
|
-
})
|
|
95
|
-
});
|
|
96
|
-
};
|
|
97
|
-
L.displayName = P;
|
|
98
|
-
var R = "TooltipTrigger", z = v.forwardRef((e, r) => {
|
|
99
|
-
let { __scopeTooltip: i, ...a } = e, o = I(R, i), s = M(R, i), c = k(i), u = t(r, v.useRef(null), o.onTriggerChange), d = v.useRef(!1), f = v.useRef(!1), m = v.useCallback(() => d.current = !1, []);
|
|
100
|
-
return v.useEffect(() => () => document.removeEventListener("pointerup", m), [m]), /* @__PURE__ */ b(p, {
|
|
101
|
-
asChild: !0,
|
|
102
|
-
...c,
|
|
103
|
-
children: /* @__PURE__ */ b(l.button, {
|
|
104
|
-
"aria-describedby": o.open ? o.contentId : void 0,
|
|
105
|
-
"data-state": o.stateAttribute,
|
|
106
|
-
...a,
|
|
107
|
-
ref: u,
|
|
108
|
-
onPointerMove: n(e.onPointerMove, (e) => {
|
|
109
|
-
e.pointerType !== "touch" && !f.current && !s.isPointerInTransitRef.current && (o.onTriggerEnter(), f.current = !0);
|
|
110
|
-
}),
|
|
111
|
-
onPointerLeave: n(e.onPointerLeave, () => {
|
|
112
|
-
o.onTriggerLeave(), f.current = !1;
|
|
113
|
-
}),
|
|
114
|
-
onPointerDown: n(e.onPointerDown, () => {
|
|
115
|
-
o.open && o.onClose(), d.current = !0, document.addEventListener("pointerup", m, { once: !0 });
|
|
116
|
-
}),
|
|
117
|
-
onFocus: n(e.onFocus, () => {
|
|
118
|
-
d.current || o.onOpen();
|
|
119
|
-
}),
|
|
120
|
-
onBlur: n(e.onBlur, o.onClose),
|
|
121
|
-
onClick: n(e.onClick, o.onClose)
|
|
122
|
-
})
|
|
123
|
-
});
|
|
124
|
-
});
|
|
125
|
-
z.displayName = R;
|
|
126
|
-
var B = "TooltipPortal", [V, re] = O(B, { forceMount: void 0 }), H = (e) => {
|
|
127
|
-
let { __scopeTooltip: t, forceMount: n, children: r, container: i } = e, a = I(B, t);
|
|
128
|
-
return /* @__PURE__ */ b(V, {
|
|
129
|
-
scope: t,
|
|
130
|
-
forceMount: n,
|
|
131
|
-
children: /* @__PURE__ */ b(d, {
|
|
132
|
-
present: n || a.open,
|
|
133
|
-
children: /* @__PURE__ */ b(u, {
|
|
134
|
-
asChild: !0,
|
|
135
|
-
container: i,
|
|
136
|
-
children: r
|
|
137
|
-
})
|
|
138
|
-
})
|
|
139
|
-
});
|
|
140
|
-
};
|
|
141
|
-
H.displayName = B;
|
|
142
|
-
var U = "TooltipContent", W = v.forwardRef((e, t) => {
|
|
143
|
-
let n = re(U, e.__scopeTooltip), { forceMount: r = n.forceMount, side: i = "top", ...a } = e, o = I(U, e.__scopeTooltip);
|
|
144
|
-
return /* @__PURE__ */ b(d, {
|
|
145
|
-
present: r || o.open,
|
|
146
|
-
children: o.disableHoverableContent ? /* @__PURE__ */ b(K, {
|
|
147
|
-
side: i,
|
|
148
|
-
...a,
|
|
149
|
-
ref: t
|
|
150
|
-
}) : /* @__PURE__ */ b(ie, {
|
|
151
|
-
side: i,
|
|
152
|
-
...a,
|
|
153
|
-
ref: t
|
|
154
|
-
})
|
|
155
|
-
});
|
|
156
|
-
}), ie = v.forwardRef((e, n) => {
|
|
157
|
-
let r = I(U, e.__scopeTooltip), i = M(U, e.__scopeTooltip), a = v.useRef(null), o = t(n, a), [s, c] = v.useState(null), { trigger: l, onClose: u } = r, d = a.current, { onPointerInTransitChange: f } = i, p = v.useCallback(() => {
|
|
158
|
-
c(null), f(!1);
|
|
159
|
-
}, [f]), m = v.useCallback((e, t) => {
|
|
160
|
-
let n = e.currentTarget, r = {
|
|
161
|
-
x: e.clientX,
|
|
162
|
-
y: e.clientY
|
|
163
|
-
}, i = ce(r, se(r, n.getBoundingClientRect())), a = le(t.getBoundingClientRect());
|
|
164
|
-
c(de([...i, ...a])), f(!0);
|
|
165
|
-
}, [f]);
|
|
166
|
-
return v.useEffect(() => () => p(), [p]), v.useEffect(() => {
|
|
167
|
-
if (l && d) {
|
|
168
|
-
let e = (e) => m(e, d), t = (e) => m(e, l);
|
|
169
|
-
return l.addEventListener("pointerleave", e), d.addEventListener("pointerleave", t), () => {
|
|
170
|
-
l.removeEventListener("pointerleave", e), d.removeEventListener("pointerleave", t);
|
|
171
|
-
};
|
|
172
|
-
}
|
|
173
|
-
}, [
|
|
174
|
-
l,
|
|
175
|
-
d,
|
|
176
|
-
m,
|
|
177
|
-
p
|
|
178
|
-
]), v.useEffect(() => {
|
|
179
|
-
if (s) {
|
|
180
|
-
let e = (e) => {
|
|
181
|
-
let t = e.target, n = {
|
|
182
|
-
x: e.clientX,
|
|
183
|
-
y: e.clientY
|
|
184
|
-
}, r = l?.contains(t) || d?.contains(t), i = !ue(n, s);
|
|
185
|
-
r ? p() : i && (p(), u());
|
|
186
|
-
};
|
|
187
|
-
return document.addEventListener("pointermove", e), () => document.removeEventListener("pointermove", e);
|
|
188
|
-
}
|
|
189
|
-
}, [
|
|
190
|
-
l,
|
|
191
|
-
d,
|
|
192
|
-
s,
|
|
193
|
-
u,
|
|
194
|
-
p
|
|
195
|
-
]), /* @__PURE__ */ b(K, {
|
|
196
|
-
...e,
|
|
197
|
-
ref: o
|
|
198
|
-
});
|
|
199
|
-
}), [ae, oe] = O(P, { isInside: !1 }), G = C("TooltipContent"), K = v.forwardRef((e, t) => {
|
|
200
|
-
let { __scopeTooltip: n, children: i, "aria-label": a, onEscapeKeyDown: s, onPointerDownOutside: c, ...l } = e, u = I(U, n), d = k(n), { onClose: f } = u;
|
|
201
|
-
return v.useEffect(() => (document.addEventListener(j, f), () => document.removeEventListener(j, f)), [f]), v.useEffect(() => {
|
|
202
|
-
if (u.trigger) {
|
|
203
|
-
let e = (e) => {
|
|
204
|
-
e.target?.contains(u.trigger) && f();
|
|
205
|
-
};
|
|
206
|
-
return window.addEventListener("scroll", e, { capture: !0 }), () => window.removeEventListener("scroll", e, { capture: !0 });
|
|
207
|
-
}
|
|
208
|
-
}, [u.trigger, f]), /* @__PURE__ */ b(r, {
|
|
209
|
-
asChild: !0,
|
|
210
|
-
disableOutsidePointerEvents: !1,
|
|
211
|
-
onEscapeKeyDown: s,
|
|
212
|
-
onPointerDownOutside: c,
|
|
213
|
-
onFocusOutside: (e) => e.preventDefault(),
|
|
214
|
-
onDismiss: f,
|
|
215
|
-
children: /* @__PURE__ */ x(o, {
|
|
216
|
-
"data-state": u.stateAttribute,
|
|
217
|
-
...d,
|
|
218
|
-
...l,
|
|
219
|
-
ref: t,
|
|
220
|
-
style: {
|
|
221
|
-
...l.style,
|
|
222
|
-
"--radix-tooltip-content-transform-origin": "var(--radix-popper-transform-origin)",
|
|
223
|
-
"--radix-tooltip-content-available-width": "var(--radix-popper-available-width)",
|
|
224
|
-
"--radix-tooltip-content-available-height": "var(--radix-popper-available-height)",
|
|
225
|
-
"--radix-tooltip-trigger-width": "var(--radix-popper-anchor-width)",
|
|
226
|
-
"--radix-tooltip-trigger-height": "var(--radix-popper-anchor-height)"
|
|
227
|
-
},
|
|
228
|
-
children: [/* @__PURE__ */ b(G, { children: i }), /* @__PURE__ */ b(ae, {
|
|
229
|
-
scope: n,
|
|
230
|
-
isInside: !0,
|
|
231
|
-
children: /* @__PURE__ */ b(D, {
|
|
232
|
-
id: u.contentId,
|
|
233
|
-
role: "tooltip",
|
|
234
|
-
children: a || i
|
|
235
|
-
})
|
|
236
|
-
})]
|
|
237
|
-
})
|
|
238
|
-
});
|
|
239
|
-
});
|
|
240
|
-
W.displayName = U;
|
|
241
|
-
var q = "TooltipArrow", J = v.forwardRef((e, t) => {
|
|
242
|
-
let { __scopeTooltip: n, ...r } = e, i = k(n);
|
|
243
|
-
return oe(q, n).isInside ? null : /* @__PURE__ */ b(h, {
|
|
244
|
-
...i,
|
|
245
|
-
...r,
|
|
246
|
-
ref: t
|
|
247
|
-
});
|
|
248
|
-
});
|
|
249
|
-
J.displayName = q;
|
|
250
|
-
function se(e, t) {
|
|
251
|
-
let n = Math.abs(t.top - e.y), r = Math.abs(t.bottom - e.y), i = Math.abs(t.right - e.x), a = Math.abs(t.left - e.x);
|
|
252
|
-
switch (Math.min(n, r, i, a)) {
|
|
253
|
-
case a: return "left";
|
|
254
|
-
case i: return "right";
|
|
255
|
-
case n: return "top";
|
|
256
|
-
case r: return "bottom";
|
|
257
|
-
default: throw Error("unreachable");
|
|
258
|
-
}
|
|
259
|
-
}
|
|
260
|
-
function ce(e, t, n = 5) {
|
|
261
|
-
let r = [];
|
|
262
|
-
switch (t) {
|
|
263
|
-
case "top":
|
|
264
|
-
r.push({
|
|
265
|
-
x: e.x - n,
|
|
266
|
-
y: e.y + n
|
|
267
|
-
}, {
|
|
268
|
-
x: e.x + n,
|
|
269
|
-
y: e.y + n
|
|
270
|
-
});
|
|
271
|
-
break;
|
|
272
|
-
case "bottom":
|
|
273
|
-
r.push({
|
|
274
|
-
x: e.x - n,
|
|
275
|
-
y: e.y - n
|
|
276
|
-
}, {
|
|
277
|
-
x: e.x + n,
|
|
278
|
-
y: e.y - n
|
|
279
|
-
});
|
|
280
|
-
break;
|
|
281
|
-
case "left":
|
|
282
|
-
r.push({
|
|
283
|
-
x: e.x + n,
|
|
284
|
-
y: e.y - n
|
|
285
|
-
}, {
|
|
286
|
-
x: e.x + n,
|
|
287
|
-
y: e.y + n
|
|
288
|
-
});
|
|
289
|
-
break;
|
|
290
|
-
case "right":
|
|
291
|
-
r.push({
|
|
292
|
-
x: e.x - n,
|
|
293
|
-
y: e.y - n
|
|
294
|
-
}, {
|
|
295
|
-
x: e.x - n,
|
|
296
|
-
y: e.y + n
|
|
297
|
-
});
|
|
298
|
-
break;
|
|
299
|
-
}
|
|
300
|
-
return r;
|
|
301
|
-
}
|
|
302
|
-
function le(e) {
|
|
303
|
-
let { top: t, right: n, bottom: r, left: i } = e;
|
|
304
|
-
return [
|
|
305
|
-
{
|
|
306
|
-
x: i,
|
|
307
|
-
y: t
|
|
308
|
-
},
|
|
309
|
-
{
|
|
310
|
-
x: n,
|
|
311
|
-
y: t
|
|
312
|
-
},
|
|
313
|
-
{
|
|
314
|
-
x: n,
|
|
315
|
-
y: r
|
|
316
|
-
},
|
|
317
|
-
{
|
|
318
|
-
x: i,
|
|
319
|
-
y: r
|
|
320
|
-
}
|
|
321
|
-
];
|
|
322
|
-
}
|
|
323
|
-
function ue(e, t) {
|
|
324
|
-
let { x: n, y: r } = e, i = !1;
|
|
325
|
-
for (let e = 0, a = t.length - 1; e < t.length; a = e++) {
|
|
326
|
-
let o = t[e], s = t[a], c = o.x, l = o.y, u = s.x, d = s.y;
|
|
327
|
-
l > r != d > r && n < (u - c) * (r - l) / (d - l) + c && (i = !i);
|
|
328
|
-
}
|
|
329
|
-
return i;
|
|
330
|
-
}
|
|
331
|
-
function de(e) {
|
|
332
|
-
let t = e.slice();
|
|
333
|
-
return t.sort((e, t) => e.x < t.x ? -1 : e.x > t.x ? 1 : e.y < t.y ? -1 : +(e.y > t.y)), fe(t);
|
|
334
|
-
}
|
|
335
|
-
function fe(e) {
|
|
336
|
-
if (e.length <= 1) return e.slice();
|
|
337
|
-
let t = [];
|
|
338
|
-
for (let n = 0; n < e.length; n++) {
|
|
339
|
-
let r = e[n];
|
|
340
|
-
for (; t.length >= 2;) {
|
|
341
|
-
let e = t[t.length - 1], n = t[t.length - 2];
|
|
342
|
-
if ((e.x - n.x) * (r.y - n.y) >= (e.y - n.y) * (r.x - n.x)) t.pop();
|
|
343
|
-
else break;
|
|
344
|
-
}
|
|
345
|
-
t.push(r);
|
|
346
|
-
}
|
|
347
|
-
t.pop();
|
|
348
|
-
let n = [];
|
|
349
|
-
for (let t = e.length - 1; t >= 0; t--) {
|
|
350
|
-
let r = e[t];
|
|
351
|
-
for (; n.length >= 2;) {
|
|
352
|
-
let e = n[n.length - 1], t = n[n.length - 2];
|
|
353
|
-
if ((e.x - t.x) * (r.y - t.y) >= (e.y - t.y) * (r.x - t.x)) n.pop();
|
|
354
|
-
else break;
|
|
355
|
-
}
|
|
356
|
-
n.push(r);
|
|
357
|
-
}
|
|
358
|
-
return n.pop(), t.length === 1 && n.length === 1 && t[0].x === n[0].x && t[0].y === n[0].y ? t : t.concat(n);
|
|
359
|
-
}
|
|
360
|
-
var pe = N, me = L, he = z, ge = H, _e = W, ve = J, Y = _("aivex:z-50 aivex:max-w-[720px] aivex:rounded-sm aivex:bg-static-gray aivex:px-md aivex:py-xs aivex:text-body-md-regular aivex:text-text-on-color aivex:whitespace-pre-wrap aivex:break-words aivex:pointer-events-none aivex:shadow-md aivex:select-none", {
|
|
361
|
-
variants: { placement: {
|
|
362
|
-
top: "",
|
|
363
|
-
bottom: "",
|
|
364
|
-
left: "",
|
|
365
|
-
right: ""
|
|
366
|
-
} },
|
|
367
|
-
defaultVariants: { placement: "top" }
|
|
368
|
-
}), ye = _("aivex:fill-static-gray", {
|
|
369
|
-
variants: { placement: {
|
|
370
|
-
top: "",
|
|
371
|
-
bottom: "",
|
|
372
|
-
left: "",
|
|
373
|
-
right: ""
|
|
374
|
-
} },
|
|
375
|
-
defaultVariants: { placement: "top" }
|
|
376
|
-
});
|
|
377
|
-
function X({ content: e, children: t, placement: n = "top", disabled: r = !1, ref: i }) {
|
|
378
|
-
let a = n ?? "top";
|
|
379
|
-
return r ? /* @__PURE__ */ b(y, { children: t }) : /* @__PURE__ */ b(pe, {
|
|
380
|
-
delayDuration: 0,
|
|
381
|
-
children: /* @__PURE__ */ x(me, { children: [/* @__PURE__ */ b(he, {
|
|
382
|
-
asChild: !0,
|
|
383
|
-
children: /* @__PURE__ */ b("span", {
|
|
384
|
-
ref: i,
|
|
385
|
-
className: "aivex:inline-flex",
|
|
386
|
-
children: t
|
|
387
|
-
})
|
|
388
|
-
}), /* @__PURE__ */ b(ge, { children: /* @__PURE__ */ x(_e, {
|
|
389
|
-
side: a,
|
|
390
|
-
sideOffset: 8,
|
|
391
|
-
className: c(Y({ placement: a })),
|
|
392
|
-
children: [e, /* @__PURE__ */ b(ve, {
|
|
393
|
-
width: 8,
|
|
394
|
-
height: 4,
|
|
395
|
-
className: c(ye({ placement: a }))
|
|
396
|
-
})]
|
|
397
|
-
}) })] })
|
|
398
|
-
});
|
|
399
|
-
}
|
|
400
|
-
//#endregion
|
|
401
|
-
//#region src/components/Avatar/Avatar.tsx
|
|
402
|
-
var Z = _("aivex:inline-flex aivex:items-center aivex:justify-center aivex:shrink-0 aivex:overflow-hidden aivex:select-none aivex:leading-none aivex:text-text-primary", {
|
|
403
|
-
variants: {
|
|
404
|
-
size: {
|
|
405
|
-
xxs: "aivex:w-4 aivex:h-4 aivex:text-label-sm",
|
|
406
|
-
xs: "aivex:w-5 aivex:h-5 aivex:text-label-md",
|
|
407
|
-
sm: "aivex:w-6 aivex:h-6 aivex:text-label-md",
|
|
408
|
-
md: "aivex:w-8 aivex:h-8 aivex:text-label-lg",
|
|
409
|
-
lg: "aivex:w-9 aivex:h-9 aivex:text-label-xl",
|
|
410
|
-
xl: "aivex:w-12 aivex:h-12 aivex:text-label-xl",
|
|
411
|
-
"2xl": "aivex:w-14 aivex:h-14 aivex:text-label-xl"
|
|
412
|
-
},
|
|
413
|
-
type: {
|
|
414
|
-
round: "aivex:rounded-full aivex:bg-category-indigo-bg",
|
|
415
|
-
square: "aivex:bg-category-indigo-bg",
|
|
416
|
-
image: "aivex:rounded-full aivex:border aivex:border-border-subtle aivex:bg-bg-secondary"
|
|
417
|
-
}
|
|
418
|
-
},
|
|
419
|
-
compoundVariants: [
|
|
420
|
-
{
|
|
421
|
-
type: "square",
|
|
422
|
-
size: [
|
|
423
|
-
"xxs",
|
|
424
|
-
"xs",
|
|
425
|
-
"sm"
|
|
426
|
-
],
|
|
427
|
-
className: "aivex:rounded-xs"
|
|
428
|
-
},
|
|
429
|
-
{
|
|
430
|
-
type: "square",
|
|
431
|
-
size: ["md", "lg"],
|
|
432
|
-
className: "aivex:rounded-sm"
|
|
433
|
-
},
|
|
434
|
-
{
|
|
435
|
-
type: "square",
|
|
436
|
-
size: ["xl", "2xl"],
|
|
437
|
-
className: "aivex:rounded-md"
|
|
438
|
-
}
|
|
439
|
-
],
|
|
440
|
-
defaultVariants: {
|
|
441
|
-
size: "md",
|
|
442
|
-
type: "round"
|
|
443
|
-
}
|
|
444
|
-
}), Q = [
|
|
445
|
-
"aivex:bg-category-blue-bg aivex:text-category-blue-text",
|
|
446
|
-
"aivex:bg-category-green-bg aivex:text-category-green-text",
|
|
447
|
-
"aivex:bg-category-orange-bg aivex:text-category-orange-text",
|
|
448
|
-
"aivex:bg-category-violet-bg aivex:text-category-violet-text",
|
|
449
|
-
"aivex:bg-category-teal-bg aivex:text-category-teal-text",
|
|
450
|
-
"aivex:bg-category-pink-bg aivex:text-category-pink-text",
|
|
451
|
-
"aivex:bg-category-cyan-bg aivex:text-category-cyan-text",
|
|
452
|
-
"aivex:bg-category-red-bg aivex:text-category-red-text",
|
|
453
|
-
"aivex:bg-category-lime-bg aivex:text-category-lime-text",
|
|
454
|
-
"aivex:bg-category-yellow-bg aivex:text-category-yellow-text",
|
|
455
|
-
"aivex:bg-category-indigo-bg aivex:text-category-indigo-text"
|
|
456
|
-
];
|
|
457
|
-
function be(e) {
|
|
458
|
-
let t = 0;
|
|
459
|
-
for (let n = 0; n < e.length; n++) t = t * 31 + e.charCodeAt(n) >>> 0;
|
|
460
|
-
return Q[t % Q.length];
|
|
461
|
-
}
|
|
462
|
-
function xe({ initials: e, name: t, icon: n }) {
|
|
463
|
-
return (e ?? t?.trim().slice(0, 1).toUpperCase()) || (n ?? null);
|
|
464
|
-
}
|
|
465
|
-
function Se({ className: e, size: t, type: n, src: r, alt: i, initials: a, icon: o, name: s, bgColor: l, showTooltip: u, delayMs: d = 600, style: f, ref: p, ...m }) {
|
|
466
|
-
let h = xe({
|
|
467
|
-
initials: a,
|
|
468
|
-
name: s,
|
|
469
|
-
icon: o
|
|
470
|
-
}), _ = s ?? a, v = !r && !l && _ ? be(_) : void 0, y = /* @__PURE__ */ x(g.Root, {
|
|
471
|
-
ref: p,
|
|
472
|
-
className: c(Z({
|
|
473
|
-
size: t,
|
|
474
|
-
type: n
|
|
475
|
-
}), v, e),
|
|
476
|
-
style: l ? {
|
|
477
|
-
backgroundColor: l,
|
|
478
|
-
...f
|
|
479
|
-
} : f,
|
|
480
|
-
...m,
|
|
481
|
-
children: [r && /* @__PURE__ */ b(g.Image, {
|
|
482
|
-
src: r,
|
|
483
|
-
alt: i ?? "avatar",
|
|
484
|
-
className: "aivex:w-full aivex:h-full aivex:object-cover"
|
|
485
|
-
}), /* @__PURE__ */ b(g.Fallback, {
|
|
486
|
-
delayMs: r ? d : 0,
|
|
487
|
-
className: "aivex:inline-flex aivex:h-full aivex:w-full aivex:items-center aivex:justify-center aivex:leading-none",
|
|
488
|
-
children: h
|
|
489
|
-
})]
|
|
490
|
-
});
|
|
491
|
-
return u && s ? /* @__PURE__ */ b(X, {
|
|
492
|
-
content: s,
|
|
493
|
-
children: y
|
|
494
|
-
}) : y;
|
|
495
|
-
}
|
|
496
|
-
//#endregion
|
|
497
|
-
//#region src/components/IconButton/IconButton.tsx
|
|
498
|
-
var $ = _("aivex:relative aivex:group aivex:inline-flex aivex:cursor-pointer aivex:items-center aivex:justify-center aivex:transition-colors aivex:disabled:pointer-events-none aivex:disabled:opacity-disable aivex:focus-visible:outline-none aivex:focus-visible:ring-2 aivex:focus-visible:ring-border-brand", {
|
|
499
|
-
variants: {
|
|
500
|
-
size: {
|
|
501
|
-
xs: "aivex:size-xl aivex:rounded-xs",
|
|
502
|
-
sm: "aivex:size-2xl aivex:rounded-xs",
|
|
503
|
-
md: "aivex:size-3xl aivex:rounded-sm"
|
|
504
|
-
},
|
|
505
|
-
shape: {
|
|
506
|
-
rectangle: "",
|
|
507
|
-
rounded: "aivex:rounded-full"
|
|
508
|
-
}
|
|
509
|
-
},
|
|
510
|
-
defaultVariants: {
|
|
511
|
-
size: "sm",
|
|
512
|
-
shape: "rectangle"
|
|
513
|
-
}
|
|
514
|
-
}), Ce = {
|
|
515
|
-
xs: "aivex:size-xl",
|
|
516
|
-
sm: "aivex:size-2xl",
|
|
517
|
-
md: "aivex:size-3xl"
|
|
518
|
-
}, we = {
|
|
519
|
-
xs: "aivex:-inset-2xs",
|
|
520
|
-
sm: "aivex:-inset-xs",
|
|
521
|
-
md: "aivex:-inset-xs"
|
|
522
|
-
}, Te = {
|
|
523
|
-
xs: {
|
|
524
|
-
rectangle: "aivex:rounded-xs",
|
|
525
|
-
rounded: "aivex:rounded-full"
|
|
526
|
-
},
|
|
527
|
-
sm: {
|
|
528
|
-
rectangle: "aivex:rounded-sm",
|
|
529
|
-
rounded: "aivex:rounded-full"
|
|
530
|
-
},
|
|
531
|
-
md: {
|
|
532
|
-
rectangle: "aivex:rounded-md",
|
|
533
|
-
rounded: "aivex:rounded-full"
|
|
534
|
-
}
|
|
535
|
-
};
|
|
536
|
-
function Ee({ className: e, size: t = "sm", shape: n = "rectangle", color: r = "primary", error: i = !1, asChild: a = !1, children: o, ref: l, ...u }) {
|
|
537
|
-
let d = a ? S : "button", f = i ? "aivex:text-icon-danger" : r === "white" ? "aivex:text-static-white" : "aivex:text-icon-primary", p = i ? "danger" : r === "white" ? "white" : "default", m = t ?? "sm", h = n ?? "rectangle";
|
|
538
|
-
return /* @__PURE__ */ x(d, {
|
|
539
|
-
ref: l,
|
|
540
|
-
type: a ? void 0 : "button",
|
|
541
|
-
className: c($({
|
|
542
|
-
size: t,
|
|
543
|
-
shape: n
|
|
544
|
-
}), f, e),
|
|
545
|
-
...u,
|
|
546
|
-
children: [/* @__PURE__ */ b(s, {
|
|
547
|
-
variant: p,
|
|
548
|
-
fill: !1,
|
|
549
|
-
interactive: !0,
|
|
550
|
-
className: c(we[m], Te[m][h])
|
|
551
|
-
}), /* @__PURE__ */ b("span", {
|
|
552
|
-
className: c("aivex:flex aivex:items-center aivex:justify-center aivex:shrink-0", Ce[m]),
|
|
553
|
-
children: o
|
|
554
|
-
})]
|
|
555
|
-
});
|
|
556
|
-
}
|
|
557
|
-
//#endregion
|
|
558
|
-
export { X as a, Z as i, $ as n, Y as o, Se as r, Ee as t };
|
|
559
|
-
|
|
560
|
-
//# sourceMappingURL=IconButton-pgdAaijX.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"IconButton-pgdAaijX.js","names":["React","React","Tooltip","useId","PopperPrimitive.Root","PopperPrimitive.Anchor","PortalPrimitive","PopperPrimitive.Content","VisuallyHiddenPrimitive.Root","PopperPrimitive.Arrow"],"sources":["../node_modules/.pnpm/@radix-ui+react-visually-hidden@1.2.3_@types+react-dom@19.2.3_@types+react@19.2.14__@ty_e810030844e1cfedd403eda403a3d8c6/node_modules/@radix-ui/react-visually-hidden/dist/index.mjs","../node_modules/.pnpm/@radix-ui+react-tooltip@1.2.8_@types+react-dom@19.2.3_@types+react@19.2.14__@types+reac_4c45f64f49c2624f242574345c841a4e/node_modules/@radix-ui/react-tooltip/dist/index.mjs","../src/components/Tooltip/Tooltip.tsx","../src/components/Avatar/Avatar.tsx","../src/components/IconButton/IconButton.tsx"],"sourcesContent":["// src/visually-hidden.tsx\nimport * as React from \"react\";\nimport { Primitive } from \"@radix-ui/react-primitive\";\nimport { jsx } from \"react/jsx-runtime\";\nvar VISUALLY_HIDDEN_STYLES = Object.freeze({\n // See: https://github.com/twbs/bootstrap/blob/main/scss/mixins/_visually-hidden.scss\n position: \"absolute\",\n border: 0,\n width: 1,\n height: 1,\n padding: 0,\n margin: -1,\n overflow: \"hidden\",\n clip: \"rect(0, 0, 0, 0)\",\n whiteSpace: \"nowrap\",\n wordWrap: \"normal\"\n});\nvar NAME = \"VisuallyHidden\";\nvar VisuallyHidden = React.forwardRef(\n (props, forwardedRef) => {\n return /* @__PURE__ */ jsx(\n Primitive.span,\n {\n ...props,\n ref: forwardedRef,\n style: { ...VISUALLY_HIDDEN_STYLES, ...props.style }\n }\n );\n }\n);\nVisuallyHidden.displayName = NAME;\nvar Root = VisuallyHidden;\nexport {\n Root,\n VISUALLY_HIDDEN_STYLES,\n VisuallyHidden\n};\n//# sourceMappingURL=index.mjs.map\n","\"use client\";\n\n// src/tooltip.tsx\nimport * as React from \"react\";\nimport { composeEventHandlers } from \"@radix-ui/primitive\";\nimport { useComposedRefs } from \"@radix-ui/react-compose-refs\";\nimport { createContextScope } from \"@radix-ui/react-context\";\nimport { DismissableLayer } from \"@radix-ui/react-dismissable-layer\";\nimport { useId } from \"@radix-ui/react-id\";\nimport * as PopperPrimitive from \"@radix-ui/react-popper\";\nimport { createPopperScope } from \"@radix-ui/react-popper\";\nimport { Portal as PortalPrimitive } from \"@radix-ui/react-portal\";\nimport { Presence } from \"@radix-ui/react-presence\";\nimport { Primitive } from \"@radix-ui/react-primitive\";\nimport { createSlottable } from \"@radix-ui/react-slot\";\nimport { useControllableState } from \"@radix-ui/react-use-controllable-state\";\nimport * as VisuallyHiddenPrimitive from \"@radix-ui/react-visually-hidden\";\nimport { jsx, jsxs } from \"react/jsx-runtime\";\nvar [createTooltipContext, createTooltipScope] = createContextScope(\"Tooltip\", [\n createPopperScope\n]);\nvar usePopperScope = createPopperScope();\nvar PROVIDER_NAME = \"TooltipProvider\";\nvar DEFAULT_DELAY_DURATION = 700;\nvar TOOLTIP_OPEN = \"tooltip.open\";\nvar [TooltipProviderContextProvider, useTooltipProviderContext] = createTooltipContext(PROVIDER_NAME);\nvar TooltipProvider = (props) => {\n const {\n __scopeTooltip,\n delayDuration = DEFAULT_DELAY_DURATION,\n skipDelayDuration = 300,\n disableHoverableContent = false,\n children\n } = props;\n const isOpenDelayedRef = React.useRef(true);\n const isPointerInTransitRef = React.useRef(false);\n const skipDelayTimerRef = React.useRef(0);\n React.useEffect(() => {\n const skipDelayTimer = skipDelayTimerRef.current;\n return () => window.clearTimeout(skipDelayTimer);\n }, []);\n return /* @__PURE__ */ jsx(\n TooltipProviderContextProvider,\n {\n scope: __scopeTooltip,\n isOpenDelayedRef,\n delayDuration,\n onOpen: React.useCallback(() => {\n window.clearTimeout(skipDelayTimerRef.current);\n isOpenDelayedRef.current = false;\n }, []),\n onClose: React.useCallback(() => {\n window.clearTimeout(skipDelayTimerRef.current);\n skipDelayTimerRef.current = window.setTimeout(\n () => isOpenDelayedRef.current = true,\n skipDelayDuration\n );\n }, [skipDelayDuration]),\n isPointerInTransitRef,\n onPointerInTransitChange: React.useCallback((inTransit) => {\n isPointerInTransitRef.current = inTransit;\n }, []),\n disableHoverableContent,\n children\n }\n );\n};\nTooltipProvider.displayName = PROVIDER_NAME;\nvar TOOLTIP_NAME = \"Tooltip\";\nvar [TooltipContextProvider, useTooltipContext] = createTooltipContext(TOOLTIP_NAME);\nvar Tooltip = (props) => {\n const {\n __scopeTooltip,\n children,\n open: openProp,\n defaultOpen,\n onOpenChange,\n disableHoverableContent: disableHoverableContentProp,\n delayDuration: delayDurationProp\n } = props;\n const providerContext = useTooltipProviderContext(TOOLTIP_NAME, props.__scopeTooltip);\n const popperScope = usePopperScope(__scopeTooltip);\n const [trigger, setTrigger] = React.useState(null);\n const contentId = useId();\n const openTimerRef = React.useRef(0);\n const disableHoverableContent = disableHoverableContentProp ?? providerContext.disableHoverableContent;\n const delayDuration = delayDurationProp ?? providerContext.delayDuration;\n const wasOpenDelayedRef = React.useRef(false);\n const [open, setOpen] = useControllableState({\n prop: openProp,\n defaultProp: defaultOpen ?? false,\n onChange: (open2) => {\n if (open2) {\n providerContext.onOpen();\n document.dispatchEvent(new CustomEvent(TOOLTIP_OPEN));\n } else {\n providerContext.onClose();\n }\n onOpenChange?.(open2);\n },\n caller: TOOLTIP_NAME\n });\n const stateAttribute = React.useMemo(() => {\n return open ? wasOpenDelayedRef.current ? \"delayed-open\" : \"instant-open\" : \"closed\";\n }, [open]);\n const handleOpen = React.useCallback(() => {\n window.clearTimeout(openTimerRef.current);\n openTimerRef.current = 0;\n wasOpenDelayedRef.current = false;\n setOpen(true);\n }, [setOpen]);\n const handleClose = React.useCallback(() => {\n window.clearTimeout(openTimerRef.current);\n openTimerRef.current = 0;\n setOpen(false);\n }, [setOpen]);\n const handleDelayedOpen = React.useCallback(() => {\n window.clearTimeout(openTimerRef.current);\n openTimerRef.current = window.setTimeout(() => {\n wasOpenDelayedRef.current = true;\n setOpen(true);\n openTimerRef.current = 0;\n }, delayDuration);\n }, [delayDuration, setOpen]);\n React.useEffect(() => {\n return () => {\n if (openTimerRef.current) {\n window.clearTimeout(openTimerRef.current);\n openTimerRef.current = 0;\n }\n };\n }, []);\n return /* @__PURE__ */ jsx(PopperPrimitive.Root, { ...popperScope, children: /* @__PURE__ */ jsx(\n TooltipContextProvider,\n {\n scope: __scopeTooltip,\n contentId,\n open,\n stateAttribute,\n trigger,\n onTriggerChange: setTrigger,\n onTriggerEnter: React.useCallback(() => {\n if (providerContext.isOpenDelayedRef.current) handleDelayedOpen();\n else handleOpen();\n }, [providerContext.isOpenDelayedRef, handleDelayedOpen, handleOpen]),\n onTriggerLeave: React.useCallback(() => {\n if (disableHoverableContent) {\n handleClose();\n } else {\n window.clearTimeout(openTimerRef.current);\n openTimerRef.current = 0;\n }\n }, [handleClose, disableHoverableContent]),\n onOpen: handleOpen,\n onClose: handleClose,\n disableHoverableContent,\n children\n }\n ) });\n};\nTooltip.displayName = TOOLTIP_NAME;\nvar TRIGGER_NAME = \"TooltipTrigger\";\nvar TooltipTrigger = React.forwardRef(\n (props, forwardedRef) => {\n const { __scopeTooltip, ...triggerProps } = props;\n const context = useTooltipContext(TRIGGER_NAME, __scopeTooltip);\n const providerContext = useTooltipProviderContext(TRIGGER_NAME, __scopeTooltip);\n const popperScope = usePopperScope(__scopeTooltip);\n const ref = React.useRef(null);\n const composedRefs = useComposedRefs(forwardedRef, ref, context.onTriggerChange);\n const isPointerDownRef = React.useRef(false);\n const hasPointerMoveOpenedRef = React.useRef(false);\n const handlePointerUp = React.useCallback(() => isPointerDownRef.current = false, []);\n React.useEffect(() => {\n return () => document.removeEventListener(\"pointerup\", handlePointerUp);\n }, [handlePointerUp]);\n return /* @__PURE__ */ jsx(PopperPrimitive.Anchor, { asChild: true, ...popperScope, children: /* @__PURE__ */ jsx(\n Primitive.button,\n {\n \"aria-describedby\": context.open ? context.contentId : void 0,\n \"data-state\": context.stateAttribute,\n ...triggerProps,\n ref: composedRefs,\n onPointerMove: composeEventHandlers(props.onPointerMove, (event) => {\n if (event.pointerType === \"touch\") return;\n if (!hasPointerMoveOpenedRef.current && !providerContext.isPointerInTransitRef.current) {\n context.onTriggerEnter();\n hasPointerMoveOpenedRef.current = true;\n }\n }),\n onPointerLeave: composeEventHandlers(props.onPointerLeave, () => {\n context.onTriggerLeave();\n hasPointerMoveOpenedRef.current = false;\n }),\n onPointerDown: composeEventHandlers(props.onPointerDown, () => {\n if (context.open) {\n context.onClose();\n }\n isPointerDownRef.current = true;\n document.addEventListener(\"pointerup\", handlePointerUp, { once: true });\n }),\n onFocus: composeEventHandlers(props.onFocus, () => {\n if (!isPointerDownRef.current) context.onOpen();\n }),\n onBlur: composeEventHandlers(props.onBlur, context.onClose),\n onClick: composeEventHandlers(props.onClick, context.onClose)\n }\n ) });\n }\n);\nTooltipTrigger.displayName = TRIGGER_NAME;\nvar PORTAL_NAME = \"TooltipPortal\";\nvar [PortalProvider, usePortalContext] = createTooltipContext(PORTAL_NAME, {\n forceMount: void 0\n});\nvar TooltipPortal = (props) => {\n const { __scopeTooltip, forceMount, children, container } = props;\n const context = useTooltipContext(PORTAL_NAME, __scopeTooltip);\n return /* @__PURE__ */ jsx(PortalProvider, { scope: __scopeTooltip, forceMount, children: /* @__PURE__ */ jsx(Presence, { present: forceMount || context.open, children: /* @__PURE__ */ jsx(PortalPrimitive, { asChild: true, container, children }) }) });\n};\nTooltipPortal.displayName = PORTAL_NAME;\nvar CONTENT_NAME = \"TooltipContent\";\nvar TooltipContent = React.forwardRef(\n (props, forwardedRef) => {\n const portalContext = usePortalContext(CONTENT_NAME, props.__scopeTooltip);\n const { forceMount = portalContext.forceMount, side = \"top\", ...contentProps } = props;\n const context = useTooltipContext(CONTENT_NAME, props.__scopeTooltip);\n return /* @__PURE__ */ jsx(Presence, { present: forceMount || context.open, children: context.disableHoverableContent ? /* @__PURE__ */ jsx(TooltipContentImpl, { side, ...contentProps, ref: forwardedRef }) : /* @__PURE__ */ jsx(TooltipContentHoverable, { side, ...contentProps, ref: forwardedRef }) });\n }\n);\nvar TooltipContentHoverable = React.forwardRef((props, forwardedRef) => {\n const context = useTooltipContext(CONTENT_NAME, props.__scopeTooltip);\n const providerContext = useTooltipProviderContext(CONTENT_NAME, props.__scopeTooltip);\n const ref = React.useRef(null);\n const composedRefs = useComposedRefs(forwardedRef, ref);\n const [pointerGraceArea, setPointerGraceArea] = React.useState(null);\n const { trigger, onClose } = context;\n const content = ref.current;\n const { onPointerInTransitChange } = providerContext;\n const handleRemoveGraceArea = React.useCallback(() => {\n setPointerGraceArea(null);\n onPointerInTransitChange(false);\n }, [onPointerInTransitChange]);\n const handleCreateGraceArea = React.useCallback(\n (event, hoverTarget) => {\n const currentTarget = event.currentTarget;\n const exitPoint = { x: event.clientX, y: event.clientY };\n const exitSide = getExitSideFromRect(exitPoint, currentTarget.getBoundingClientRect());\n const paddedExitPoints = getPaddedExitPoints(exitPoint, exitSide);\n const hoverTargetPoints = getPointsFromRect(hoverTarget.getBoundingClientRect());\n const graceArea = getHull([...paddedExitPoints, ...hoverTargetPoints]);\n setPointerGraceArea(graceArea);\n onPointerInTransitChange(true);\n },\n [onPointerInTransitChange]\n );\n React.useEffect(() => {\n return () => handleRemoveGraceArea();\n }, [handleRemoveGraceArea]);\n React.useEffect(() => {\n if (trigger && content) {\n const handleTriggerLeave = (event) => handleCreateGraceArea(event, content);\n const handleContentLeave = (event) => handleCreateGraceArea(event, trigger);\n trigger.addEventListener(\"pointerleave\", handleTriggerLeave);\n content.addEventListener(\"pointerleave\", handleContentLeave);\n return () => {\n trigger.removeEventListener(\"pointerleave\", handleTriggerLeave);\n content.removeEventListener(\"pointerleave\", handleContentLeave);\n };\n }\n }, [trigger, content, handleCreateGraceArea, handleRemoveGraceArea]);\n React.useEffect(() => {\n if (pointerGraceArea) {\n const handleTrackPointerGrace = (event) => {\n const target = event.target;\n const pointerPosition = { x: event.clientX, y: event.clientY };\n const hasEnteredTarget = trigger?.contains(target) || content?.contains(target);\n const isPointerOutsideGraceArea = !isPointInPolygon(pointerPosition, pointerGraceArea);\n if (hasEnteredTarget) {\n handleRemoveGraceArea();\n } else if (isPointerOutsideGraceArea) {\n handleRemoveGraceArea();\n onClose();\n }\n };\n document.addEventListener(\"pointermove\", handleTrackPointerGrace);\n return () => document.removeEventListener(\"pointermove\", handleTrackPointerGrace);\n }\n }, [trigger, content, pointerGraceArea, onClose, handleRemoveGraceArea]);\n return /* @__PURE__ */ jsx(TooltipContentImpl, { ...props, ref: composedRefs });\n});\nvar [VisuallyHiddenContentContextProvider, useVisuallyHiddenContentContext] = createTooltipContext(TOOLTIP_NAME, { isInside: false });\nvar Slottable = createSlottable(\"TooltipContent\");\nvar TooltipContentImpl = React.forwardRef(\n (props, forwardedRef) => {\n const {\n __scopeTooltip,\n children,\n \"aria-label\": ariaLabel,\n onEscapeKeyDown,\n onPointerDownOutside,\n ...contentProps\n } = props;\n const context = useTooltipContext(CONTENT_NAME, __scopeTooltip);\n const popperScope = usePopperScope(__scopeTooltip);\n const { onClose } = context;\n React.useEffect(() => {\n document.addEventListener(TOOLTIP_OPEN, onClose);\n return () => document.removeEventListener(TOOLTIP_OPEN, onClose);\n }, [onClose]);\n React.useEffect(() => {\n if (context.trigger) {\n const handleScroll = (event) => {\n const target = event.target;\n if (target?.contains(context.trigger)) onClose();\n };\n window.addEventListener(\"scroll\", handleScroll, { capture: true });\n return () => window.removeEventListener(\"scroll\", handleScroll, { capture: true });\n }\n }, [context.trigger, onClose]);\n return /* @__PURE__ */ jsx(\n DismissableLayer,\n {\n asChild: true,\n disableOutsidePointerEvents: false,\n onEscapeKeyDown,\n onPointerDownOutside,\n onFocusOutside: (event) => event.preventDefault(),\n onDismiss: onClose,\n children: /* @__PURE__ */ jsxs(\n PopperPrimitive.Content,\n {\n \"data-state\": context.stateAttribute,\n ...popperScope,\n ...contentProps,\n ref: forwardedRef,\n style: {\n ...contentProps.style,\n // re-namespace exposed content custom properties\n ...{\n \"--radix-tooltip-content-transform-origin\": \"var(--radix-popper-transform-origin)\",\n \"--radix-tooltip-content-available-width\": \"var(--radix-popper-available-width)\",\n \"--radix-tooltip-content-available-height\": \"var(--radix-popper-available-height)\",\n \"--radix-tooltip-trigger-width\": \"var(--radix-popper-anchor-width)\",\n \"--radix-tooltip-trigger-height\": \"var(--radix-popper-anchor-height)\"\n }\n },\n children: [\n /* @__PURE__ */ jsx(Slottable, { children }),\n /* @__PURE__ */ jsx(VisuallyHiddenContentContextProvider, { scope: __scopeTooltip, isInside: true, children: /* @__PURE__ */ jsx(VisuallyHiddenPrimitive.Root, { id: context.contentId, role: \"tooltip\", children: ariaLabel || children }) })\n ]\n }\n )\n }\n );\n }\n);\nTooltipContent.displayName = CONTENT_NAME;\nvar ARROW_NAME = \"TooltipArrow\";\nvar TooltipArrow = React.forwardRef(\n (props, forwardedRef) => {\n const { __scopeTooltip, ...arrowProps } = props;\n const popperScope = usePopperScope(__scopeTooltip);\n const visuallyHiddenContentContext = useVisuallyHiddenContentContext(\n ARROW_NAME,\n __scopeTooltip\n );\n return visuallyHiddenContentContext.isInside ? null : /* @__PURE__ */ jsx(PopperPrimitive.Arrow, { ...popperScope, ...arrowProps, ref: forwardedRef });\n }\n);\nTooltipArrow.displayName = ARROW_NAME;\nfunction getExitSideFromRect(point, rect) {\n const top = Math.abs(rect.top - point.y);\n const bottom = Math.abs(rect.bottom - point.y);\n const right = Math.abs(rect.right - point.x);\n const left = Math.abs(rect.left - point.x);\n switch (Math.min(top, bottom, right, left)) {\n case left:\n return \"left\";\n case right:\n return \"right\";\n case top:\n return \"top\";\n case bottom:\n return \"bottom\";\n default:\n throw new Error(\"unreachable\");\n }\n}\nfunction getPaddedExitPoints(exitPoint, exitSide, padding = 5) {\n const paddedExitPoints = [];\n switch (exitSide) {\n case \"top\":\n paddedExitPoints.push(\n { x: exitPoint.x - padding, y: exitPoint.y + padding },\n { x: exitPoint.x + padding, y: exitPoint.y + padding }\n );\n break;\n case \"bottom\":\n paddedExitPoints.push(\n { x: exitPoint.x - padding, y: exitPoint.y - padding },\n { x: exitPoint.x + padding, y: exitPoint.y - padding }\n );\n break;\n case \"left\":\n paddedExitPoints.push(\n { x: exitPoint.x + padding, y: exitPoint.y - padding },\n { x: exitPoint.x + padding, y: exitPoint.y + padding }\n );\n break;\n case \"right\":\n paddedExitPoints.push(\n { x: exitPoint.x - padding, y: exitPoint.y - padding },\n { x: exitPoint.x - padding, y: exitPoint.y + padding }\n );\n break;\n }\n return paddedExitPoints;\n}\nfunction getPointsFromRect(rect) {\n const { top, right, bottom, left } = rect;\n return [\n { x: left, y: top },\n { x: right, y: top },\n { x: right, y: bottom },\n { x: left, y: bottom }\n ];\n}\nfunction isPointInPolygon(point, polygon) {\n const { x, y } = point;\n let inside = false;\n for (let i = 0, j = polygon.length - 1; i < polygon.length; j = i++) {\n const ii = polygon[i];\n const jj = polygon[j];\n const xi = ii.x;\n const yi = ii.y;\n const xj = jj.x;\n const yj = jj.y;\n const intersect = yi > y !== yj > y && x < (xj - xi) * (y - yi) / (yj - yi) + xi;\n if (intersect) inside = !inside;\n }\n return inside;\n}\nfunction getHull(points) {\n const newPoints = points.slice();\n newPoints.sort((a, b) => {\n if (a.x < b.x) return -1;\n else if (a.x > b.x) return 1;\n else if (a.y < b.y) return -1;\n else if (a.y > b.y) return 1;\n else return 0;\n });\n return getHullPresorted(newPoints);\n}\nfunction getHullPresorted(points) {\n if (points.length <= 1) return points.slice();\n const upperHull = [];\n for (let i = 0; i < points.length; i++) {\n const p = points[i];\n while (upperHull.length >= 2) {\n const q = upperHull[upperHull.length - 1];\n const r = upperHull[upperHull.length - 2];\n if ((q.x - r.x) * (p.y - r.y) >= (q.y - r.y) * (p.x - r.x)) upperHull.pop();\n else break;\n }\n upperHull.push(p);\n }\n upperHull.pop();\n const lowerHull = [];\n for (let i = points.length - 1; i >= 0; i--) {\n const p = points[i];\n while (lowerHull.length >= 2) {\n const q = lowerHull[lowerHull.length - 1];\n const r = lowerHull[lowerHull.length - 2];\n if ((q.x - r.x) * (p.y - r.y) >= (q.y - r.y) * (p.x - r.x)) lowerHull.pop();\n else break;\n }\n lowerHull.push(p);\n }\n lowerHull.pop();\n if (upperHull.length === 1 && lowerHull.length === 1 && upperHull[0].x === lowerHull[0].x && upperHull[0].y === lowerHull[0].y) {\n return upperHull;\n } else {\n return upperHull.concat(lowerHull);\n }\n}\nvar Provider = TooltipProvider;\nvar Root3 = Tooltip;\nvar Trigger = TooltipTrigger;\nvar Portal = TooltipPortal;\nvar Content2 = TooltipContent;\nvar Arrow2 = TooltipArrow;\nexport {\n Arrow2 as Arrow,\n Content2 as Content,\n Portal,\n Provider,\n Root3 as Root,\n Tooltip,\n TooltipArrow,\n TooltipContent,\n TooltipPortal,\n TooltipProvider,\n TooltipTrigger,\n Trigger,\n createTooltipScope\n};\n//# sourceMappingURL=index.mjs.map\n","\"use client\";\n\nimport * as RadixTooltip from \"@radix-ui/react-tooltip\";\nimport { cva, type VariantProps } from \"class-variance-authority\";\nimport type { ReactNode, Ref } from \"react\";\nimport { cn } from \"@/utils/cn\";\n\nconst tooltipContentVariants = cva(\n \"aivex:z-50 aivex:max-w-[720px] aivex:rounded-sm aivex:bg-static-gray aivex:px-md aivex:py-xs aivex:text-body-md-regular aivex:text-text-on-color aivex:whitespace-pre-wrap aivex:break-words aivex:pointer-events-none aivex:shadow-md aivex:select-none\",\n {\n variants: {\n placement: {\n top: \"\",\n bottom: \"\",\n left: \"\",\n right: \"\",\n },\n },\n defaultVariants: {\n placement: \"top\",\n },\n },\n);\n\nconst arrowVariants = cva(\"aivex:fill-static-gray\", {\n variants: {\n placement: {\n top: \"\",\n bottom: \"\",\n left: \"\",\n right: \"\",\n },\n },\n defaultVariants: {\n placement: \"top\",\n },\n});\n\ntype TooltipPlacement = NonNullable<VariantProps<typeof tooltipContentVariants>[\"placement\"]>;\n\nexport interface TooltipProps extends VariantProps<typeof tooltipContentVariants> {\n content: ReactNode;\n children: ReactNode;\n disabled?: boolean;\n ref?: Ref<HTMLDivElement>;\n}\n\nfunction Tooltip({ content, children, placement = \"top\", disabled = false, ref }: TooltipProps) {\n const resolvedPlacement: TooltipPlacement = placement ?? \"top\";\n\n if (disabled) {\n return <>{children}</>;\n }\n\n return (\n <RadixTooltip.Provider delayDuration={0}>\n <RadixTooltip.Root>\n <RadixTooltip.Trigger asChild>\n <span ref={ref} className=\"aivex:inline-flex\">\n {children}\n </span>\n </RadixTooltip.Trigger>\n <RadixTooltip.Portal>\n <RadixTooltip.Content\n side={resolvedPlacement}\n sideOffset={8}\n className={cn(tooltipContentVariants({ placement: resolvedPlacement }))}\n >\n {content}\n <RadixTooltip.Arrow\n width={8}\n height={4}\n className={cn(arrowVariants({ placement: resolvedPlacement }))}\n />\n </RadixTooltip.Content>\n </RadixTooltip.Portal>\n </RadixTooltip.Root>\n </RadixTooltip.Provider>\n );\n}\n\nexport { Tooltip, tooltipContentVariants };\n","import * as AvatarPrimitive from \"@radix-ui/react-avatar\";\nimport { cva, type VariantProps } from \"class-variance-authority\";\nimport type { HTMLAttributes, ReactNode, Ref } from \"react\";\nimport { Tooltip } from \"@/components/Tooltip\";\nimport { cn } from \"@/utils/cn\";\n\nconst avatarVariants = cva(\n \"aivex:inline-flex aivex:items-center aivex:justify-center aivex:shrink-0 aivex:overflow-hidden aivex:select-none aivex:leading-none aivex:text-text-primary\",\n {\n variants: {\n size: {\n xxs: \"aivex:w-4 aivex:h-4 aivex:text-label-sm\",\n xs: \"aivex:w-5 aivex:h-5 aivex:text-label-md\",\n sm: \"aivex:w-6 aivex:h-6 aivex:text-label-md\",\n md: \"aivex:w-8 aivex:h-8 aivex:text-label-lg\",\n lg: \"aivex:w-9 aivex:h-9 aivex:text-label-xl\",\n xl: \"aivex:w-12 aivex:h-12 aivex:text-label-xl\",\n \"2xl\": \"aivex:w-14 aivex:h-14 aivex:text-label-xl\",\n },\n type: {\n round: \"aivex:rounded-full aivex:bg-category-indigo-bg\",\n square: \"aivex:bg-category-indigo-bg\",\n image: \"aivex:rounded-full aivex:border aivex:border-border-subtle aivex:bg-bg-secondary\",\n },\n },\n // Square shape: size-scaled radius per Figma\n compoundVariants: [\n { type: \"square\", size: [\"xxs\", \"xs\", \"sm\"], className: \"aivex:rounded-xs\" },\n { type: \"square\", size: [\"md\", \"lg\"], className: \"aivex:rounded-sm\" },\n { type: \"square\", size: [\"xl\", \"2xl\"], className: \"aivex:rounded-md\" },\n ],\n defaultVariants: { size: \"md\", type: \"round\" },\n },\n);\n\nexport interface AvatarProps\n extends Omit<HTMLAttributes<HTMLSpanElement>, \"children\">,\n VariantProps<typeof avatarVariants> {\n src?: string;\n alt?: string;\n initials?: string;\n icon?: ReactNode;\n name?: string;\n bgColor?: string;\n showTooltip?: boolean;\n /** Fallback render delay in ms (only applies when `src` is provided). Default: 600ms. */\n delayMs?: number;\n ref?: Ref<HTMLSpanElement>;\n}\n\n/** name(또는 initials) 기반으로 결정적 색을 고르기 위한 카테고리 팔레트 */\nconst avatarColorClasses = [\n \"aivex:bg-category-blue-bg aivex:text-category-blue-text\",\n \"aivex:bg-category-green-bg aivex:text-category-green-text\",\n \"aivex:bg-category-orange-bg aivex:text-category-orange-text\",\n \"aivex:bg-category-violet-bg aivex:text-category-violet-text\",\n \"aivex:bg-category-teal-bg aivex:text-category-teal-text\",\n \"aivex:bg-category-pink-bg aivex:text-category-pink-text\",\n \"aivex:bg-category-cyan-bg aivex:text-category-cyan-text\",\n \"aivex:bg-category-red-bg aivex:text-category-red-text\",\n \"aivex:bg-category-lime-bg aivex:text-category-lime-text\",\n \"aivex:bg-category-yellow-bg aivex:text-category-yellow-text\",\n \"aivex:bg-category-indigo-bg aivex:text-category-indigo-text\",\n] as const;\n\nfunction pickColorClass(key: string): string {\n let hash = 0;\n for (let i = 0; i < key.length; i++) {\n hash = (hash * 31 + key.charCodeAt(i)) >>> 0;\n }\n return avatarColorClasses[hash % avatarColorClasses.length];\n}\n\nfunction resolveFallback({\n initials,\n name,\n icon,\n}: Pick<AvatarProps, \"initials\" | \"name\" | \"icon\">): ReactNode {\n const text = initials ?? name?.trim().slice(0, 1).toUpperCase();\n if (text) return text;\n return icon ?? null;\n}\n\nfunction Avatar({\n className,\n size,\n type,\n src,\n alt,\n initials,\n icon,\n name,\n bgColor,\n showTooltip,\n delayMs = 600,\n style,\n ref,\n ...props\n}: AvatarProps) {\n const fallback = resolveFallback({ initials, name, icon });\n // src/bgColor가 없으면 name(없으면 initials) 기준으로 카테고리 색을 자동 배정한다.\n const colorSeed = name ?? initials;\n const autoColorClass = !src && !bgColor && colorSeed ? pickColorClass(colorSeed) : undefined;\n\n const avatar = (\n <AvatarPrimitive.Root\n ref={ref}\n className={cn(avatarVariants({ size, type }), autoColorClass, className)}\n style={bgColor ? { backgroundColor: bgColor, ...style } : style}\n {...props}\n >\n {src && (\n <AvatarPrimitive.Image\n src={src}\n alt={alt ?? \"avatar\"}\n className=\"aivex:w-full aivex:h-full aivex:object-cover\"\n />\n )}\n <AvatarPrimitive.Fallback\n delayMs={src ? delayMs : 0}\n className=\"aivex:inline-flex aivex:h-full aivex:w-full aivex:items-center aivex:justify-center aivex:leading-none\"\n >\n {fallback}\n </AvatarPrimitive.Fallback>\n </AvatarPrimitive.Root>\n );\n\n return showTooltip && name ? <Tooltip content={name}>{avatar}</Tooltip> : avatar;\n}\n\nexport { Avatar, avatarVariants };\n","import { Slot } from \"@radix-ui/react-slot\";\nimport { cva, type VariantProps } from \"class-variance-authority\";\nimport type { ButtonHTMLAttributes, ReactNode, Ref } from \"react\";\nimport { InteractionLayer } from \"@/components/InteractionLayer\";\nimport { cn } from \"@/utils/cn\";\n\nconst iconButtonVariants = cva(\n \"aivex:relative aivex:group aivex:inline-flex aivex:cursor-pointer aivex:items-center aivex:justify-center aivex:transition-colors aivex:disabled:pointer-events-none aivex:disabled:opacity-disable aivex:focus-visible:outline-none aivex:focus-visible:ring-2 aivex:focus-visible:ring-border-brand\",\n {\n variants: {\n size: {\n xs: \"aivex:size-xl aivex:rounded-xs\",\n sm: \"aivex:size-2xl aivex:rounded-xs\",\n md: \"aivex:size-3xl aivex:rounded-sm\",\n },\n shape: {\n rectangle: \"\",\n rounded: \"aivex:rounded-full\",\n },\n },\n defaultVariants: {\n size: \"sm\",\n shape: \"rectangle\",\n },\n },\n);\n\ntype IconButtonSize = \"xs\" | \"sm\" | \"md\";\ntype IconButtonShape = \"rectangle\" | \"rounded\";\n\nconst iconSizeClass: Record<IconButtonSize, string> = {\n xs: \"aivex:size-xl\",\n sm: \"aivex:size-2xl\",\n md: \"aivex:size-3xl\",\n};\n\nconst interactionInsetClass: Record<IconButtonSize, string> = {\n xs: \"aivex:-inset-2xs\",\n sm: \"aivex:-inset-xs\",\n md: \"aivex:-inset-xs\",\n};\n\nconst interactionRadiusClass: Record<IconButtonSize, Record<IconButtonShape, string>> = {\n xs: {\n rectangle: \"aivex:rounded-xs\",\n rounded: \"aivex:rounded-full\",\n },\n sm: {\n rectangle: \"aivex:rounded-sm\",\n rounded: \"aivex:rounded-full\",\n },\n md: {\n rectangle: \"aivex:rounded-md\",\n rounded: \"aivex:rounded-full\",\n },\n};\n\nexport interface IconButtonProps\n extends Omit<ButtonHTMLAttributes<HTMLButtonElement>, \"type\">,\n VariantProps<typeof iconButtonVariants> {\n /** 아이콘 색상 — primary: 기본(어두운) 배경, white: 어두운 배경 위 */\n color?: \"primary\" | \"white\";\n /** true 이면 danger 색상 적용 (color 보다 우선) */\n error?: boolean;\n asChild?: boolean;\n children?: ReactNode;\n ref?: Ref<HTMLButtonElement>;\n}\n\nfunction IconButton({\n className,\n size = \"sm\",\n shape = \"rectangle\",\n color = \"primary\",\n error = false,\n asChild = false,\n children,\n ref,\n ...props\n}: IconButtonProps) {\n const Comp = asChild ? Slot : \"button\";\n\n const iconColor = error\n ? \"aivex:text-icon-danger\"\n : color === \"white\"\n ? \"aivex:text-static-white\"\n : \"aivex:text-icon-primary\";\n\n const interactionVariant = error ? \"danger\" : color === \"white\" ? \"white\" : \"default\";\n const iconButtonSize = size ?? \"sm\";\n const iconButtonShape = shape ?? \"rectangle\";\n\n return (\n <Comp\n ref={ref}\n type={asChild ? undefined : \"button\"}\n className={cn(iconButtonVariants({ size, shape }), iconColor, className)}\n {...props}\n >\n <InteractionLayer\n variant={interactionVariant}\n fill={false}\n interactive\n className={cn(\n interactionInsetClass[iconButtonSize],\n interactionRadiusClass[iconButtonSize][iconButtonShape],\n )}\n />\n <span\n className={cn(\n \"aivex:flex aivex:items-center aivex:justify-center aivex:shrink-0\",\n iconSizeClass[iconButtonSize],\n )}\n >\n {children}\n </span>\n </Comp>\n );\n}\n\nexport { IconButton, iconButtonVariants };\n"],"x_google_ignoreList":[0,1],"mappings":";;;;;;;AAIA,IAAI,IAAyB,OAAO,OAAO;CAEzC,UAAU;CACV,QAAQ;CACR,OAAO;CACP,QAAQ;CACR,SAAS;CACT,QAAQ;CACR,UAAU;CACV,MAAM;CACN,YAAY;CACZ,UAAU;CACX,CAAC,EACE,IAAO,kBACP,IAAiBA,EAAM,YACxB,GAAO,MACiB,kBACrB,EAAU,MACV;CACE,GAAG;CACH,KAAK;CACL,OAAO;EAAE,GAAG;EAAwB,GAAG,EAAM;EAAO;CACrD,CACF,CAEJ;AACD,EAAe,cAAc;AAC7B,IAAI,IAAO,GCbP,CAAC,GAAsB,MAAsB,EAAmB,WAAW,CAC7E,EACD,CAAC,EACE,IAAiB,GAAmB,EACpC,IAAgB,mBAChB,KAAyB,KACzB,IAAe,gBACf,CAAC,IAAgC,KAA6B,EAAqB,EAAc,EACjG,KAAmB,MAAU;CAC/B,IAAM,EACJ,mBACA,mBAAgB,IAChB,uBAAoB,KACpB,6BAA0B,IAC1B,gBACE,GACE,IAAmBC,EAAM,OAAO,GAAK,EACrC,IAAwBA,EAAM,OAAO,GAAM,EAC3C,IAAoBA,EAAM,OAAO,EAAE;AAKzC,QAJA,EAAM,gBAAgB;EACpB,IAAM,IAAiB,EAAkB;AACzC,eAAa,OAAO,aAAa,EAAe;IAC/C,EAAE,CAAC,EACiB,kBACrB,IACA;EACE,OAAO;EACP;EACA;EACA,QAAQA,EAAM,kBAAkB;AAE9B,GADA,OAAO,aAAa,EAAkB,QAAQ,EAC9C,EAAiB,UAAU;KAC1B,EAAE,CAAC;EACN,SAASA,EAAM,kBAAkB;AAE/B,GADA,OAAO,aAAa,EAAkB,QAAQ,EAC9C,EAAkB,UAAU,OAAO,iBAC3B,EAAiB,UAAU,IACjC,EACD;KACA,CAAC,EAAkB,CAAC;EACvB;EACA,0BAA0BA,EAAM,aAAa,MAAc;AACzD,KAA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