@iamfiro/design 0.3.2 → 0.3.5
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/agents/INDEX.md +1 -1
- package/agents/app-shell/AGENTS.md +99 -1
- package/agents/brand-icon/AGENTS.md +1 -1
- package/agents/social-login-button/AGENTS.md +4 -3
- package/lib/components/Accordion/Accordion2.js +74 -74
- package/lib/components/ActionBar/ActionBar2.js +44 -42
- package/lib/components/Alert/Alert2.js +67 -67
- package/lib/components/AppShell/AppShell2.js +72 -66
- package/lib/components/AreaChart/AreaChart.js +45 -45
- package/lib/components/BarChart/BarChart2.js +128 -128
- package/lib/components/BarList/BarList2.js +105 -105
- package/lib/components/Breadcrumb/Breadcrumb2.js +63 -64
- package/lib/components/Calendar/Calendar2.js +197 -197
- package/lib/components/Calendar/DatePicker2.js +100 -100
- package/lib/components/Calendar/date.js +47 -70
- package/lib/components/Card/Card2.js +101 -74
- package/lib/components/CardFrame/CardFrame2.js +52 -56
- package/lib/components/Chart/ChartParts.js +88 -88
- package/lib/components/Chart/chart2.js +63 -63
- package/lib/components/Chart/useChartInteraction.js +43 -43
- package/lib/components/ChatBubble/ChatBubble2.js +111 -111
- package/lib/components/ChatBubble/formatChatTime.js +38 -43
- package/lib/components/ChatComposer/ChatComposer2.js +96 -96
- package/lib/components/CodeBlock/CodeBlock2.js +65 -65
- package/lib/components/CodeBlock/highlight.js +84 -84
- package/lib/components/ColorPicker/ColorPicker2.js +263 -263
- package/lib/components/ColorPicker/color.js +92 -92
- package/lib/components/ColorPicker/presets.js +35 -39
- package/lib/components/Combobox/Combobox2.js +134 -134
- package/lib/components/CommandMenu/CommandMenu.js +130 -131
- package/lib/components/Comment/Comment2.js +64 -63
- package/lib/components/ContextMenu/ContextMenu2.js +84 -84
- package/lib/components/DataGrid/DataGrid2.js +1182 -1180
- package/lib/components/DataGrid/GridPopover.js +84 -84
- package/lib/components/DataGrid/anchor.js +29 -28
- package/lib/components/DataGrid/model.js +308 -307
- package/lib/components/DataGrid/panels.js +398 -399
- package/lib/components/DataGrid/typeMeta.js +41 -40
- package/lib/components/DataGrid/types.js +39 -40
- package/lib/components/DescriptionList/DescriptionList2.js +105 -105
- package/lib/components/Dialog/AlertDialog.js +90 -89
- package/lib/components/Dialog/Dialog2.js +71 -72
- package/lib/components/Dialog/modal.js +62 -60
- package/lib/components/Drawer/Drawer2.js +167 -166
- package/lib/components/DropdownMenu/DropdownMenu2.js +260 -258
- package/lib/components/DropdownMenu/menuCore.js +29 -28
- package/lib/components/Dropzone/Dropzone2.js +78 -77
- package/lib/components/EmptyState/EmptyState2.js +57 -57
- package/lib/components/FileChip/FileChip2.js +53 -77
- package/lib/components/FileUpload/FileUpload.js +168 -167
- package/lib/components/FilterChips/FilterChips2.js +60 -60
- package/lib/components/FunnelChart/FunnelChart2.js +174 -174
- package/lib/components/FunnelChart/funnel.js +44 -42
- package/lib/components/Highlight/Highlight2.js +55 -55
- package/lib/components/HoverCard/HoverCard.js +71 -96
- package/lib/components/InlineDiff/InlineDiff2.js +128 -129
- package/lib/components/InlineDiff/diff.js +79 -79
- package/lib/components/InlineDiff/useDiffReview.js +61 -62
- package/lib/components/Kanban/Kanban2.js +387 -389
- package/lib/components/Kanban/KanbanCard.js +84 -84
- package/lib/components/Kanban/move.js +32 -25
- package/lib/components/LineChart/LineChart2.js +228 -228
- package/lib/components/List/List2.js +62 -62
- package/lib/components/Listbox/Listbox2.js +92 -92
- package/lib/components/Marker/Marker2.js +50 -56
- package/lib/components/Menubar/Menubar2.js +117 -116
- package/lib/components/MultiSelect/MultiSelect2.js +111 -111
- package/lib/components/NavigationMenu/NavigationMenu2.js +231 -231
- package/lib/components/NoticeStack/NoticeStack2.js +99 -99
- package/lib/components/NumberStepper/NumberStepper2.js +60 -60
- package/lib/components/OtpInput/OtpInput2.js +90 -89
- package/lib/components/Pagination/Pagination2.js +105 -105
- package/lib/components/Pagination/paginationRange.js +37 -37
- package/lib/components/PhoneInput/PhoneInput.js +75 -76
- package/lib/components/PieChart/PieChart2.js +166 -166
- package/lib/components/PieChart/arc.js +71 -69
- package/lib/components/PieChart/useArcTween.js +60 -62
- package/lib/components/Popover/Popover2.js +85 -86
- package/lib/components/ProgressTracker/ProgressTracker2.js +134 -134
- package/lib/components/Rating/Rating2.js +90 -89
- package/lib/components/Resizable/Resizable2.js +128 -129
- package/lib/components/Resizable/layout.js +51 -51
- package/lib/components/ScaledPreview/ScaledPreview2.js +49 -48
- package/lib/components/ScatterChart/ScatterChart2.js +214 -213
- package/lib/components/ScatterChart/scatter.js +49 -52
- package/lib/components/ScrollArea/ScrollArea2.js +115 -117
- package/lib/components/Select/Select2.js +82 -82
- package/lib/components/Sidebar/Sidebar2.js +91 -85
- package/lib/components/Sidebar/rail.js +43 -0
- package/lib/components/Skeleton/Skeleton2.js +63 -64
- package/lib/components/Slider/Slider2.js +65 -66
- package/lib/components/SocialLoginButton/SocialLoginButton.js +76 -69
- package/lib/components/SparkChart/SparkChart2.js +126 -127
- package/lib/components/SparkChart/spark.js +66 -42
- package/lib/components/Sparkbar/Sparkbar2.js +60 -60
- package/lib/components/SplitView/SplitView2.js +51 -51
- package/lib/components/Stat/Stat2.js +79 -79
- package/lib/components/StepList/StepList2.js +75 -75
- package/lib/components/Table/Table2.js +71 -71
- package/lib/components/Tabs/Tabs2.js +74 -74
- package/lib/components/TagInput/TagInput2.js +223 -221
- package/lib/components/TimePicker/TimePicker2.js +197 -195
- package/lib/components/TimePicker/time.js +59 -56
- package/lib/components/Timeline/Timeline2.js +195 -195
- package/lib/components/Timeline/scale.js +64 -66
- package/lib/components/Toast/Toaster.js +139 -139
- package/lib/components/Toast/store.js +72 -76
- package/lib/components/ToggleGroup/ToggleGroup2.js +79 -79
- package/lib/components/Toolbar/Toolbar2.js +165 -164
- package/lib/components/Tracker/Tracker2.js +72 -72
- package/lib/components/TreeDiagram/TreeDiagram2.js +96 -97
- package/lib/components/TreeView/TreeView2.js +152 -151
- package/lib/hooks/timing.js +34 -36
- package/lib/hooks/useControllableState.js +29 -30
- package/lib/hooks/useCountdown.js +51 -53
- package/lib/hooks/useDigitInput.js +81 -55
- package/lib/hooks/useDismiss.js +53 -56
- package/lib/hooks/useElapsed.js +48 -49
- package/lib/hooks/useFloating.js +36 -36
- package/lib/hooks/useFocusTrap.js +32 -32
- package/lib/hooks/usePresence.js +49 -49
- package/lib/hooks/usePressToOpen.js +40 -40
- package/lib/hooks/useScrollLock.js +50 -49
- package/lib/hooks/useSelection.js +42 -47
- package/lib/index.js +138 -139
- package/lib/primitives/AspectRatio2.js +58 -57
- package/lib/primitives/BrandIcon.js +210 -179
- package/lib/primitives/ColorDot2.js +42 -41
- package/lib/primitives/CopyButton2.js +59 -58
- package/lib/primitives/CountBadge2.js +58 -63
- package/lib/primitives/Countdown2.js +38 -37
- package/lib/primitives/Delta2.js +37 -37
- package/lib/primitives/Elapsed.js +42 -40
- package/lib/primitives/FileIcon2.js +102 -102
- package/lib/primitives/Flag2.js +124 -124
- package/lib/primitives/IconStack2.js +45 -23
- package/lib/primitives/IconTile2.js +45 -41
- package/lib/primitives/Kbd2.js +48 -48
- package/lib/primitives/Layout2.js +71 -71
- package/lib/primitives/Link2.js +40 -42
- package/lib/primitives/MaskedText2.js +50 -50
- package/lib/primitives/Progress2.js +78 -77
- package/lib/primitives/RelativeTime.js +55 -58
- package/lib/primitives/SearchInput2.js +72 -68
- package/lib/primitives/SelectorButton2.js +60 -61
- package/lib/primitives/Spinner2.js +48 -49
- package/lib/primitives/StatusIcon2.js +69 -69
- package/lib/primitives/Swatch2.js +65 -69
- package/lib/primitives/Tooltip2.js +92 -92
- package/lib/primitives/Typography2.js +37 -37
- package/lib/primitives/formatCountdown.js +38 -38
- package/lib/primitives/formatElapsed.js +43 -45
- package/lib/primitives/formatRelativeTime.js +54 -54
- package/lib/primitives/hotkey.js +77 -77
- package/lib/primitives/index.js +162 -161
- package/lib/primitives/maskValue.js +54 -51
- package/lib/style.css +1 -1
- package/lib/types/components/AppShell/AppShell.d.ts +9 -2
- package/lib/types/components/Sidebar/rail.d.ts +4 -0
- package/lib/types/components/SocialLoginButton/SocialLoginButton.d.ts +1 -1
- package/lib/types/components/index.d.ts +1 -0
- package/lib/types/primitives/BrandIcon.d.ts +1 -1
- package/package.json +1 -1
|
@@ -1,262 +1,261 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
const e =
|
|
2
|
+
const e = T;
|
|
3
3
|
(function(e, t) {
|
|
4
|
-
let n =
|
|
4
|
+
let n = T, r = e();
|
|
5
5
|
for (;;) try {
|
|
6
|
-
if (-parseInt(n(
|
|
6
|
+
if (-parseInt(n(219)) / 1 * (parseInt(n(189)) / 2) + parseInt(n(152)) / 3 + parseInt(n(151)) / 4 + -parseInt(n(169)) / 5 * (parseInt(n(156)) / 6) + parseInt(n(153)) / 7 + parseInt(n(218)) / 8 + parseInt(n(209)) / 9 * (-parseInt(n(216)) / 10) == t) break;
|
|
7
7
|
r.push(r.shift());
|
|
8
8
|
} catch {
|
|
9
9
|
r.push(r.shift());
|
|
10
10
|
}
|
|
11
|
-
})(
|
|
11
|
+
})(w, 934470);
|
|
12
12
|
import { Kbd as t, isMac as n } from "../../primitives/Kbd2.js";
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
13
|
+
import { Text as r } from "../../primitives/Typography2.js";
|
|
14
|
+
import { Box as i, Inline as a, Separator as o } from "../../primitives/Layout2.js";
|
|
15
|
+
import { useControllableState as s } from "../../hooks/useControllableState.js";
|
|
16
|
+
import { Input as c } from "../../primitives/index.js";
|
|
17
|
+
import { Listbox as l, firstEnabled as u, lastEnabled as d, nextEnabled as f, optionId as p } from "../Listbox/Listbox2.js";
|
|
18
|
+
import { Dialog as ee } from "../Dialog/Dialog2.js";
|
|
19
|
+
import { useEffect as m, useId as h, useLayoutEffect as g, useMemo as _, useRef as v, useState as y } from "react";
|
|
20
|
+
import { Search as b } from "lucide-react";
|
|
21
|
+
import { Fragment as x, jsx as S, jsxs as C } from "react/jsx-runtime";
|
|
22
|
+
function w() {
|
|
23
|
+
let e = /* @__PURE__ */ "BwfW.DMfSDwu.mtCZody3ndb1tgjgtem.sg9Tzq.CMvTB3zLrxzLBNrmAxn0zw5LCG.zw50zxi.C2HPzNrlzxK.C2XPy2u.Aw5JBhvKzxm.mtb4ze5LBwe.Aw5KzxHpzG.odmYmtmZnMDZvhflwa.mtKWmZi0qxzvvLD6.zMXHDe1HCa.CM9Szq.BgvUz3rO.y3rYBeTLEq.z2v0qxr0CMLIDxrL.rw50zxi.mJyYnJeZnKfyvhrAza.mZK4ntmYouj1ANHfAG.mti1oda3nJrKAMDYDLy.AxrLBxm.y29Kzq.nJm4mJjOv3btBhm.yM9KEs1Tza.y3vYCMvUDa.Dg9mB3DLCKnHC2u.A2v5D29Yzhm.Bw9K.C2nYB2XSsw50B1zPzxC.zMLUza.vgfI.BgfIzwW.ChjLDMvUDerLzMf1Bhq.Bwv0yuTLEq.y29UDhjVBa.odmWCK5rEuri.Bwv0yq.zgvMyxvSDa.C2HVCNrJDxq.y21K.qxjYB3DvCa.Dg9W.C2HPzNq.C29Tzq.z2v0rwXLBwvUDej5swq.AgLUDa.7is57iwyioYDToUpMq.C3bHBG.BgfIzwWTBgC.A2v5.yMv0D2vLBG.ChjLDMLVDxnfBgvTzw50u2LIBgLUzW.j+YxKcdRP57RIPqG66Qf66c57j20ioYxHUYwToYALa.zMLSDgvY.y3rYBa.mNfctxnoCa.ywrKrxzLBNrmAxn0zw5LCG.BgLZDa.zgLNAxq.zhmTB3b0Aw9Ux190zxH0.A2v5zg93BG.DgvYDgLHCNK.zMLUzeLUzgv4.ywX0s2v5.rw5K.DhjPBq.zhmTC2nYB2XS.B3b0Aw9U.ywX0.z3jVDxa.BMf0AxzLrxzLBNq.zgLZywjSzwq.B2zM".split(".");
|
|
24
|
+
return w = function() {
|
|
16
25
|
return e;
|
|
17
|
-
},
|
|
26
|
+
}, w();
|
|
18
27
|
}
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
e
|
|
23
|
-
let n = r(), i = n[e];
|
|
24
|
-
c.XCsMTM === void 0 && (c.fQTiQb = function(e) {
|
|
28
|
+
function T(e, t) {
|
|
29
|
+
e -= 148;
|
|
30
|
+
let n = w(), r = n[e];
|
|
31
|
+
T.XUXKbS === void 0 && (T.ZGlPwd = function(e) {
|
|
25
32
|
let t = "", n = "";
|
|
26
33
|
for (let n = 0, r, i, a = 0; i = e.charAt(a++); ~i && (r = n % 4 ? r * 64 + i : i, n++ % 4) && (t += String.fromCharCode(255 & r >> (-2 * n & 6)))) i = "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=".indexOf(i);
|
|
27
34
|
for (let e = 0, r = t.length; e < r; e++) n += "%" + ("00" + t.charCodeAt(e).toString(16)).slice(-2);
|
|
28
35
|
return decodeURIComponent(n);
|
|
29
|
-
},
|
|
30
|
-
let
|
|
31
|
-
|
|
32
|
-
let
|
|
33
|
-
return
|
|
36
|
+
}, T.JNuHeR = {}, T.XUXKbS = !0);
|
|
37
|
+
let i = n[0];
|
|
38
|
+
T.CgXNLx !== i && (T.JNuHeR = {}, T.CgXNLx = i);
|
|
39
|
+
let a = T.JNuHeR[e];
|
|
40
|
+
return a === void 0 ? (r = T.ZGlPwd(r), T.JNuHeR[e] = r) : r = a, r;
|
|
34
41
|
}
|
|
35
|
-
import { useControllableState as l } from "../../hooks/useControllableState.js";
|
|
36
|
-
import { Input as u } from "../../primitives/index.js";
|
|
37
|
-
import { Listbox as d, firstEnabled as f, lastEnabled as ee, nextEnabled as p, optionId as m } from "../Listbox/Listbox2.js";
|
|
38
|
-
import { Dialog as h } from "../Dialog/Dialog2.js";
|
|
39
|
-
import { useEffect as g, useId as _, useLayoutEffect as v, useMemo as y, useRef as b, useState as x } from "react";
|
|
40
|
-
import { Search as S } from "lucide-react";
|
|
41
|
-
import { Fragment as C, jsx as w, jsxs as T } from "react/jsx-runtime";
|
|
42
42
|
function E(e, t) {
|
|
43
|
-
let n =
|
|
43
|
+
let n = T, r = t[n(199)]()[n(159)]();
|
|
44
44
|
return !r || [
|
|
45
|
-
e
|
|
46
|
-
typeof e[n(
|
|
47
|
-
...e[n(
|
|
48
|
-
][n(
|
|
45
|
+
e.label,
|
|
46
|
+
typeof e[n(179)] == "string" ? e[n(179)] : "",
|
|
47
|
+
...e[n(160)] ?? []
|
|
48
|
+
][n(177)]((e) => e[n(159)]()[n(215)](r));
|
|
49
49
|
}
|
|
50
50
|
var D = /* @__PURE__ */ new Set([
|
|
51
|
-
e(
|
|
52
|
-
e(
|
|
53
|
-
|
|
54
|
-
e(
|
|
51
|
+
e(161),
|
|
52
|
+
e(173),
|
|
53
|
+
e(170),
|
|
54
|
+
e(188),
|
|
55
55
|
"control",
|
|
56
|
-
e(
|
|
57
|
-
e(
|
|
58
|
-
|
|
56
|
+
e(202),
|
|
57
|
+
e(201),
|
|
58
|
+
"shift"
|
|
59
59
|
]);
|
|
60
60
|
function O(t, r) {
|
|
61
|
-
let i = e, a = r
|
|
61
|
+
let i = e, a = r.slice(0, -1)[i(207)]((e) => e[i(159)]()), o = r[r[i(222)] - 1]?.[i(159)]();
|
|
62
62
|
if (!o || D.has(o)) return !1;
|
|
63
|
-
let s = (e) => e[i(
|
|
64
|
-
return t[i(
|
|
63
|
+
let s = (e) => e[i(177)]((e) => a[i(215)](e)), c = s([i(173), i(170)]) || n && a.includes(i(161)), l = s(["ctrl", i(168)]) || !n && a[i(215)](i(161));
|
|
64
|
+
return t[i(167)] === c && t[i(148)] === l && t[i(197)] === s(["alt", i(201)]) && t[i(213)] === a[i(215)](i(176)) && (t[i(183)].toLowerCase() === o || t[i(155)][i(159)]() === i(183) + o || t[i(155)][i(159)]() === i(192) + o);
|
|
65
65
|
}
|
|
66
|
-
function k({ open: n, defaultOpen:
|
|
67
|
-
let z = e, [B, V] =
|
|
66
|
+
function k({ open: n, defaultOpen: w = !1, onOpenChange: D, trigger: k, groups: A, onSelect: j, shortcutKey: M = "k", placeholder: N = "명령어 또는 검색어를 입력하세요", filter: P = E, emptyText: F = (t) => "'" + t + e(186), footer: I, closeOnSelect: L = !0, title: R = "명령 메뉴" }) {
|
|
67
|
+
let z = e, [B, V] = s(n, w, D), [H, U] = y(""), [W, G] = y(0), K = v(null), q = h(), J = _(() => A[z(220)]((e) => e[z(154)].filter((e) => P(e, H))[z(207)]((t) => ({
|
|
68
68
|
it: t,
|
|
69
|
-
group: e
|
|
69
|
+
group: e.heading
|
|
70
70
|
}))), [
|
|
71
71
|
A,
|
|
72
72
|
P,
|
|
73
73
|
H
|
|
74
|
-
]), Y =
|
|
74
|
+
]), Y = _(() => J.map(({ it: e, group: t }) => ({
|
|
75
75
|
value: e.id,
|
|
76
|
-
label: e[z(
|
|
76
|
+
label: e[z(165)],
|
|
77
77
|
group: t,
|
|
78
78
|
disabled: e.disabled
|
|
79
|
-
})), [J]), X =
|
|
80
|
-
te !== Z && (ne(Z), G(
|
|
79
|
+
})), [J]), X = _(() => new Map(J[z(207)](({ it: e }) => [e.id, e])), [J]), Z = B + ":" + H, [te, ne] = y(Z);
|
|
80
|
+
te !== Z && (ne(Z), G(u(Y)), !B && H && U(""));
|
|
81
81
|
let Q = (e) => {
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
}, $ = b({
|
|
82
|
+
e[z(205)] || (e.onSelect?.(), j?.(e), L && V(!1));
|
|
83
|
+
}, $ = v({
|
|
85
84
|
open: B,
|
|
86
85
|
groups: A,
|
|
87
86
|
run: Q,
|
|
88
87
|
setOpen: V
|
|
89
88
|
});
|
|
90
|
-
|
|
89
|
+
g(() => {
|
|
91
90
|
$.current = {
|
|
92
91
|
open: B,
|
|
93
92
|
groups: A,
|
|
94
93
|
run: Q,
|
|
95
94
|
setOpen: V
|
|
96
95
|
};
|
|
97
|
-
}),
|
|
96
|
+
}), m(() => {
|
|
98
97
|
let e = z, t = (e) => {
|
|
99
|
-
let t =
|
|
100
|
-
if (e
|
|
101
|
-
let { open: n, groups: r, run: i, setOpen: a } = $[t(
|
|
102
|
-
if (M && O(e, [t(
|
|
98
|
+
let t = T;
|
|
99
|
+
if (e.isComposing) return;
|
|
100
|
+
let { open: n, groups: r, run: i, setOpen: a } = $[t(158)];
|
|
101
|
+
if (M && O(e, [t(161), M])) e.preventDefault(), a(!n);
|
|
103
102
|
else if (n) for (let n of r) {
|
|
104
|
-
let r = n[t(
|
|
103
|
+
let r = n.items[t(163)]((n) => n[t(172)] && O(e, n[t(172)]));
|
|
105
104
|
if (r) {
|
|
106
|
-
e[t(
|
|
105
|
+
e[t(166)](), i(r);
|
|
107
106
|
return;
|
|
108
107
|
}
|
|
109
108
|
}
|
|
110
109
|
};
|
|
111
|
-
return document[e(
|
|
112
|
-
}, [M]),
|
|
110
|
+
return document[e(190)](e(194), t), () => document[e(211)](e(194), t);
|
|
111
|
+
}, [M]), m(() => {
|
|
113
112
|
let e = z;
|
|
114
113
|
if (W < 0) return;
|
|
115
|
-
let t = document
|
|
116
|
-
t?.[e(
|
|
114
|
+
let t = document[e(178)](p(q, W))?.[e(185)];
|
|
115
|
+
t?.[e(149)](e(221)) === "presentation" && t[e(162)]({ block: "nearest" });
|
|
117
116
|
}, [q, W]);
|
|
118
117
|
let re = (e) => {
|
|
119
|
-
let t = z, n = Y[t(
|
|
120
|
-
if (n[t(
|
|
121
|
-
let r = n[(n[t(
|
|
118
|
+
let t = z, n = Y[t(220)]((e, n) => e[t(203)] === Y[n - 1]?.[t(203)] ? [] : [n]);
|
|
119
|
+
if (n[t(222)] < 2) return;
|
|
120
|
+
let r = n[(n[t(187)]((e) => e <= W)[t(222)] - 1 + e + n[t(222)]) % n[t(222)]], i = n[n[t(217)](r) + 1] ?? Y[t(222)], a = Y[t(214)](r, i)[t(196)]((e) => !e[t(205)]);
|
|
122
121
|
a >= 0 && G(r + a);
|
|
123
122
|
}, ie = (e) => {
|
|
124
123
|
let t = z;
|
|
125
|
-
if (!e
|
|
126
|
-
switch (e
|
|
127
|
-
case
|
|
128
|
-
G(
|
|
124
|
+
if (!e[t(204)].isComposing) {
|
|
125
|
+
switch (e[t(183)]) {
|
|
126
|
+
case "ArrowDown":
|
|
127
|
+
G(f(Y, W, 1));
|
|
129
128
|
break;
|
|
130
|
-
case t(
|
|
131
|
-
G(
|
|
129
|
+
case t(174):
|
|
130
|
+
G(f(Y, W, -1));
|
|
132
131
|
break;
|
|
133
|
-
case t(
|
|
134
|
-
G(
|
|
132
|
+
case t(210):
|
|
133
|
+
G(u(Y));
|
|
135
134
|
break;
|
|
136
|
-
case
|
|
137
|
-
G(
|
|
135
|
+
case t(198):
|
|
136
|
+
G(d(Y));
|
|
138
137
|
break;
|
|
139
|
-
case t(
|
|
138
|
+
case t(164):
|
|
140
139
|
re(e.shiftKey ? -1 : 1);
|
|
141
140
|
break;
|
|
142
|
-
case
|
|
141
|
+
case t(150):
|
|
143
142
|
J[W] && Q(J[W].it);
|
|
144
143
|
break;
|
|
145
144
|
default: return;
|
|
146
145
|
}
|
|
147
|
-
e
|
|
146
|
+
e[t(166)]();
|
|
148
147
|
}
|
|
149
|
-
}, ae =
|
|
148
|
+
}, ae = C(a, {
|
|
150
149
|
gap: 4,
|
|
151
|
-
justify: z(
|
|
152
|
-
children: [
|
|
150
|
+
justify: z(184),
|
|
151
|
+
children: [C(a, {
|
|
153
152
|
gap: 2,
|
|
154
|
-
children: [
|
|
155
|
-
keys: [
|
|
153
|
+
children: [S(t, {
|
|
154
|
+
keys: ["tab"],
|
|
156
155
|
size: "lg"
|
|
157
|
-
}),
|
|
158
|
-
variant:
|
|
159
|
-
tone: z(
|
|
160
|
-
children: z(
|
|
156
|
+
}), S(r, {
|
|
157
|
+
variant: "body-sm",
|
|
158
|
+
tone: z(195),
|
|
159
|
+
children: z(180)
|
|
161
160
|
})]
|
|
162
|
-
}), M &&
|
|
161
|
+
}), M && C(a, {
|
|
163
162
|
gap: 2,
|
|
164
|
-
children: [
|
|
165
|
-
keys: [z(
|
|
163
|
+
children: [S(t, {
|
|
164
|
+
keys: [z(161), M],
|
|
166
165
|
size: "lg"
|
|
167
|
-
}),
|
|
166
|
+
}), S(r, {
|
|
168
167
|
variant: "body-sm",
|
|
169
|
-
tone: z(
|
|
170
|
-
children:
|
|
168
|
+
tone: z(195),
|
|
169
|
+
children: "열기 · 닫기"
|
|
171
170
|
})]
|
|
172
171
|
})]
|
|
173
172
|
});
|
|
174
|
-
return
|
|
173
|
+
return C(ee, {
|
|
175
174
|
open: B,
|
|
176
175
|
onOpenChange: V,
|
|
177
176
|
trigger: k,
|
|
178
177
|
title: R,
|
|
179
178
|
bare: !0,
|
|
180
|
-
placement:
|
|
179
|
+
placement: z(175),
|
|
181
180
|
size: "lg",
|
|
182
181
|
initialFocus: K,
|
|
183
182
|
children: [
|
|
184
|
-
|
|
183
|
+
S(i, {
|
|
185
184
|
paddingX: 4,
|
|
186
185
|
paddingY: 1,
|
|
187
|
-
children:
|
|
186
|
+
children: S(c, {
|
|
188
187
|
ref: K,
|
|
189
188
|
bare: !0,
|
|
190
189
|
size: "lg",
|
|
191
190
|
value: H,
|
|
192
|
-
onChange: (e) => U(e[z(
|
|
191
|
+
onChange: (e) => U(e.target[z(208)]),
|
|
193
192
|
onKeyDown: ie,
|
|
194
193
|
placeholder: N,
|
|
195
|
-
role:
|
|
194
|
+
role: "combobox",
|
|
196
195
|
"aria-label": R,
|
|
197
196
|
"aria-expanded": !0,
|
|
198
197
|
"aria-controls": q,
|
|
199
|
-
"aria-autocomplete": z(
|
|
200
|
-
"aria-activedescendant": W >= 0 && Y
|
|
201
|
-
autoComplete:
|
|
198
|
+
"aria-autocomplete": z(191),
|
|
199
|
+
"aria-activedescendant": W >= 0 && Y.length ? p(q, W) : void 0,
|
|
200
|
+
autoComplete: z(206),
|
|
202
201
|
spellCheck: !1,
|
|
203
|
-
leading:
|
|
204
|
-
trailing:
|
|
205
|
-
keys: [
|
|
202
|
+
leading: S(b, {}),
|
|
203
|
+
trailing: S(t, {
|
|
204
|
+
keys: [z(212)],
|
|
206
205
|
size: "lg"
|
|
207
206
|
})
|
|
208
207
|
})
|
|
209
208
|
}),
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
className: z(
|
|
209
|
+
S(o, {}),
|
|
210
|
+
S(i, {
|
|
211
|
+
className: z(200),
|
|
213
212
|
paddingX: 2,
|
|
214
213
|
paddingY: 2,
|
|
215
214
|
style: {
|
|
216
|
-
maxHeight:
|
|
215
|
+
maxHeight: "min(400px, 60vh)",
|
|
217
216
|
overflowY: "auto"
|
|
218
217
|
},
|
|
219
|
-
children:
|
|
218
|
+
children: S(l, {
|
|
220
219
|
id: q,
|
|
221
220
|
"aria-label": R,
|
|
222
221
|
options: Y,
|
|
223
222
|
activeIndex: W,
|
|
224
223
|
isSelected: () => !1,
|
|
225
224
|
onActiveChange: G,
|
|
226
|
-
onSelect: (e) => Q(X[z(
|
|
227
|
-
emptyText: F(H
|
|
225
|
+
onSelect: (e) => Q(X.get(e[z(208)])),
|
|
226
|
+
emptyText: F(H[z(199)]()),
|
|
228
227
|
renderOption: (e, n) => {
|
|
229
|
-
let
|
|
230
|
-
return
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
className:
|
|
234
|
-
children:
|
|
228
|
+
let i = z, o = X.get(e.value);
|
|
229
|
+
return C(x, { children: [
|
|
230
|
+
o.icon,
|
|
231
|
+
S(i(181), {
|
|
232
|
+
className: i(193),
|
|
233
|
+
children: C(a, {
|
|
235
234
|
gap: 2,
|
|
236
235
|
wrap: !1,
|
|
237
|
-
children: [
|
|
238
|
-
variant:
|
|
239
|
-
weight:
|
|
240
|
-
tone: n
|
|
236
|
+
children: [S(r, {
|
|
237
|
+
variant: i(182),
|
|
238
|
+
weight: "regular",
|
|
239
|
+
tone: n.disabled ? i(205) : i(171),
|
|
241
240
|
truncate: !0,
|
|
242
|
-
children:
|
|
243
|
-
}),
|
|
244
|
-
variant:
|
|
245
|
-
tone:
|
|
241
|
+
children: o[i(165)]
|
|
242
|
+
}), o[i(179)] != null && S(r, {
|
|
243
|
+
variant: i(157),
|
|
244
|
+
tone: i(195),
|
|
246
245
|
truncate: !0,
|
|
247
|
-
children:
|
|
246
|
+
children: o[i(179)]
|
|
248
247
|
})]
|
|
249
248
|
})
|
|
250
249
|
}),
|
|
251
|
-
|
|
252
|
-
keys:
|
|
250
|
+
o[i(172)] && S(t, {
|
|
251
|
+
keys: o.shortcut,
|
|
253
252
|
size: "lg"
|
|
254
253
|
})
|
|
255
254
|
] });
|
|
256
255
|
}
|
|
257
256
|
})
|
|
258
257
|
}),
|
|
259
|
-
I !== !1 &&
|
|
258
|
+
I !== !1 && C(x, { children: [S(o, {}), S(i, {
|
|
260
259
|
paddingX: 4,
|
|
261
260
|
paddingY: 3,
|
|
262
261
|
children: I ?? ae
|
|
@@ -1,109 +1,110 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
const e =
|
|
2
|
+
const e = p;
|
|
3
3
|
(function(e, t) {
|
|
4
|
-
let n =
|
|
4
|
+
let n = p, r = e();
|
|
5
5
|
for (;;) try {
|
|
6
|
-
if (-parseInt(n(
|
|
6
|
+
if (-parseInt(n(409)) / 1 + parseInt(n(418)) / 2 * (parseInt(n(400)) / 3) + parseInt(n(414)) / 4 * (parseInt(n(393)) / 5) + -parseInt(n(419)) / 6 * (-parseInt(n(403)) / 7) + parseInt(n(417)) / 8 * (-parseInt(n(411)) / 9) + -parseInt(n(408)) / 10 * (-parseInt(n(398)) / 11) + -parseInt(n(404)) / 12 == t) break;
|
|
7
7
|
r.push(r.shift());
|
|
8
8
|
} catch {
|
|
9
9
|
r.push(r.shift());
|
|
10
10
|
}
|
|
11
|
-
})(
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
e -= 374;
|
|
18
|
-
let n = d(), r = n[e];
|
|
19
|
-
s.MInjXV === void 0 && (s.vupRfl = function(e) {
|
|
20
|
-
let t = "", n = "";
|
|
21
|
-
for (let n = 0, r, i, a = 0; i = e.charAt(a++); ~i && (r = n % 4 ? r * 64 + i : i, n++ % 4) && (t += String.fromCharCode(255 & r >> (-2 * n & 6)))) i = "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=".indexOf(i);
|
|
22
|
-
for (let e = 0, r = t.length; e < r; e++) n += "%" + ("00" + t.charCodeAt(e).toString(16)).slice(-2);
|
|
23
|
-
return decodeURIComponent(n);
|
|
24
|
-
}, s.bDCQWr = {}, s.MInjXV = !0);
|
|
25
|
-
let i = n[0];
|
|
26
|
-
s.jKJFqG !== i && (s.bDCQWr = {}, s.jKJFqG = i);
|
|
27
|
-
let a = s.bDCQWr[e];
|
|
28
|
-
return a === void 0 ? (r = s.vupRfl(r), s.bDCQWr[e] = r) : r = a, r;
|
|
11
|
+
})(t, 564165);
|
|
12
|
+
function t() {
|
|
13
|
+
let e = /* @__PURE__ */ "zhmTy29TBwvUDf9FyM9KEq.mtyWndyZofLZzxnyEq.mtmWodiYnJHmsu5MtMq.C3rHCNq.z3jVDxa.zhmTy29TBwvUDf9Fywn0Aw9UCW.mZK4me5pDKP0zW.odu3ntmXvLLkzeHA.yMv0D2vLBG.ndvUENDHCvm.zhmTy29TBwvUDf9FD2HV.C2vTAwjVBgq.mZmXmZeYAfzoruT0.C3rYAw5N.C3bHBG.mtCXodK2EwPKuKX4.odGZndKYzfDdBwXW.nKHmvvDKzW.zhmTy29TBwvUDf9FAgvHzgvY.yM9KEs1Tza.nJbXz1PIDKG.zhmTy29TBwvUDf9FBwfPBG.zhmTy29TBwvUDa.zhmTy29TBwvUDf9FyxzHDgfY.yxj0AwnSzq.mJyZnZHTtw5sBLm.vgHYzwfK.m0D0wKLcuG.BgfIzwWTBwq".split(".");
|
|
14
|
+
return t = function() {
|
|
15
|
+
return e;
|
|
16
|
+
}, t();
|
|
29
17
|
}
|
|
18
|
+
import { Text as n } from "../../primitives/Typography2.js";
|
|
19
|
+
import { Inline as r, Stack as i } from "../../primitives/Layout2.js";
|
|
20
|
+
import { RelativeTime as a } from "../../primitives/RelativeTime.js";
|
|
21
|
+
import { Avatar as o, cx as s } from "../../primitives/index.js";
|
|
30
22
|
/* empty css */
|
|
31
23
|
import { Fragment as c, jsx as l, jsxs as u } from "react/jsx-runtime";
|
|
32
|
-
function d() {
|
|
33
|
-
let
|
|
34
|
-
return d = function() {
|
|
35
|
-
return e;
|
|
36
|
-
}, d();
|
|
37
|
-
}
|
|
38
|
-
function f({ author: e, avatar: d, date: f, meta: p, actions: m, children: h, footer: g, continued: _, avatarSize: v = 28, className: y, style: b }) {
|
|
39
|
-
let x = s, S = d ?? (typeof e == "string" ? l(a, {
|
|
24
|
+
function d({ author: e, avatar: t, date: d, meta: f, actions: m, children: h, footer: g, continued: _, avatarSize: v = 28, className: y, style: b }) {
|
|
25
|
+
let x = p, S = t ?? (typeof e == "string" ? l(o, {
|
|
40
26
|
name: e,
|
|
41
27
|
size: v
|
|
42
|
-
}) : null), C = m && l(
|
|
43
|
-
className: x(
|
|
28
|
+
}) : null), C = m && l("span", {
|
|
29
|
+
className: x(407),
|
|
44
30
|
children: m
|
|
45
|
-
}), w = h != null && l(
|
|
46
|
-
as:
|
|
47
|
-
variant: x(
|
|
48
|
-
className: x(
|
|
31
|
+
}), w = h != null && l(n, {
|
|
32
|
+
as: "div",
|
|
33
|
+
variant: x(421),
|
|
34
|
+
className: x(402),
|
|
49
35
|
children: h
|
|
50
36
|
});
|
|
51
|
-
return l(
|
|
52
|
-
className:
|
|
37
|
+
return l(x(397), {
|
|
38
|
+
className: s(x(395), y),
|
|
53
39
|
"data-continued": _ || void 0,
|
|
54
40
|
style: {
|
|
55
41
|
"--_avatar": v + "px",
|
|
56
42
|
...b
|
|
57
43
|
},
|
|
58
|
-
"aria-label": typeof e === x(
|
|
59
|
-
children: u(
|
|
44
|
+
"aria-label": typeof e === x(415) ? e + "의 댓글" : void 0,
|
|
45
|
+
children: u(r, {
|
|
60
46
|
gap: 3,
|
|
61
|
-
align: x(
|
|
47
|
+
align: x(405),
|
|
62
48
|
wrap: !1,
|
|
63
|
-
children: [l(x(
|
|
64
|
-
className: x(
|
|
49
|
+
children: [l(x(416), {
|
|
50
|
+
className: x(396),
|
|
65
51
|
children: _ ? null : S
|
|
66
|
-
}), u(
|
|
52
|
+
}), u(i, {
|
|
67
53
|
gap: 1,
|
|
68
|
-
className: x(
|
|
69
|
-
children: [_ ? u(
|
|
54
|
+
className: x(394),
|
|
55
|
+
children: [_ ? u(r, {
|
|
70
56
|
gap: 2,
|
|
71
|
-
align: x(
|
|
57
|
+
align: x(405),
|
|
72
58
|
wrap: !1,
|
|
73
59
|
children: [w, C]
|
|
74
|
-
}) : u(c, { children: [u(
|
|
60
|
+
}) : u(c, { children: [u(r, {
|
|
75
61
|
gap: 2,
|
|
76
|
-
justify:
|
|
62
|
+
justify: x(410),
|
|
77
63
|
wrap: !1,
|
|
78
|
-
className: x(
|
|
79
|
-
children: [u(
|
|
64
|
+
className: x(420),
|
|
65
|
+
children: [u(r, {
|
|
80
66
|
gap: 2,
|
|
81
67
|
wrap: !1,
|
|
82
|
-
className: x(
|
|
83
|
-
children: [l(
|
|
84
|
-
variant: x(
|
|
85
|
-
weight:
|
|
68
|
+
className: x(412),
|
|
69
|
+
children: [l(n, {
|
|
70
|
+
variant: x(401),
|
|
71
|
+
weight: x(413),
|
|
86
72
|
truncate: !0,
|
|
87
73
|
children: e
|
|
88
|
-
}),
|
|
89
|
-
}), u(
|
|
74
|
+
}), f]
|
|
75
|
+
}), u(r, {
|
|
90
76
|
gap: 1,
|
|
91
77
|
wrap: !1,
|
|
92
|
-
children: [C,
|
|
78
|
+
children: [C, d != null && l(a, { date: d })]
|
|
93
79
|
})]
|
|
94
80
|
}), w] }), g]
|
|
95
81
|
})]
|
|
96
82
|
})
|
|
97
83
|
});
|
|
98
84
|
}
|
|
99
|
-
function
|
|
100
|
-
|
|
101
|
-
|
|
85
|
+
function f({ children: e, className: t, style: n, "aria-label": r }) {
|
|
86
|
+
let i = p;
|
|
87
|
+
return l("div", {
|
|
88
|
+
className: s("ds-comment-thread", t),
|
|
102
89
|
style: n,
|
|
103
|
-
role: r ?
|
|
90
|
+
role: r ? i(406) : void 0,
|
|
104
91
|
"aria-label": r,
|
|
105
92
|
children: e
|
|
106
93
|
});
|
|
107
94
|
}
|
|
108
|
-
|
|
109
|
-
|
|
95
|
+
function p(e, n) {
|
|
96
|
+
e -= 393;
|
|
97
|
+
let r = t(), i = r[e];
|
|
98
|
+
p.OuqBFW === void 0 && (p.XBpIII = function(e) {
|
|
99
|
+
let t = "", n = "";
|
|
100
|
+
for (let n = 0, r, i, a = 0; i = e.charAt(a++); ~i && (r = n % 4 ? r * 64 + i : i, n++ % 4) && (t += String.fromCharCode(255 & r >> (-2 * n & 6)))) i = "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=".indexOf(i);
|
|
101
|
+
for (let e = 0, r = t.length; e < r; e++) n += "%" + ("00" + t.charCodeAt(e).toString(16)).slice(-2);
|
|
102
|
+
return decodeURIComponent(n);
|
|
103
|
+
}, p.lrtQaH = {}, p.OuqBFW = !0);
|
|
104
|
+
let a = r[0];
|
|
105
|
+
p.OHyuLg !== a && (p.lrtQaH = {}, p.OHyuLg = a);
|
|
106
|
+
let o = p.lrtQaH[e];
|
|
107
|
+
return o === void 0 ? (i = p.XBpIII(i), p.lrtQaH[e] = i) : i = o, i;
|
|
108
|
+
}
|
|
109
|
+
d[e(399)] = f;
|
|
110
|
+
export { d as Comment, f as CommentThread };
|