@lucian-seo/lucian-ui 0.1.2 → 0.1.3

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.
Files changed (37) hide show
  1. package/dist/lib/Input-DzJm1Kv4.js +93 -0
  2. package/dist/lib/Input-DzJm1Kv4.js.map +1 -0
  3. package/dist/lib/{Switch-CMllJkGp.js → Switch-DyKAqvde.js} +173 -150
  4. package/dist/lib/Switch-DyKAqvde.js.map +1 -0
  5. package/dist/lib/{TagInput-BxbmmLeL.js → TagInput-CeA0n7ax.js} +2 -2
  6. package/dist/lib/{TagInput-BxbmmLeL.js.map → TagInput-CeA0n7ax.js.map} +1 -1
  7. package/dist/lib/{ToggleButton-DVmHmemS.js → ToggleButton-r73bokux.js} +4 -4
  8. package/dist/lib/ToggleButton-r73bokux.js.map +1 -0
  9. package/dist/lib/{Toolbar-C0Dn66Ry.js → Toolbar-DpCq_HXG.js} +440 -318
  10. package/dist/lib/Toolbar-DpCq_HXG.js.map +1 -0
  11. package/dist/lib/{Tooltip-BJSUlXS2.js → Tooltip-BW1-aVDg.js} +2 -2
  12. package/dist/lib/{Tooltip-BJSUlXS2.js.map → Tooltip-BW1-aVDg.js.map} +1 -1
  13. package/dist/lib/{VoiceControlBar-CpEz6uxS.js → VoiceControlBar-CZL-k7ym.js} +755 -720
  14. package/dist/lib/VoiceControlBar-CZL-k7ym.js.map +1 -0
  15. package/dist/lib/{Waveform-C6OQRKbh.js → Waveform-EahaE6uD.js} +2 -2
  16. package/dist/lib/{Waveform-C6OQRKbh.js.map → Waveform-EahaE6uD.js.map} +1 -1
  17. package/dist/lib/components/common/index.js +4 -4
  18. package/dist/lib/components/composed/Combobox/Combobox.d.ts +10 -8
  19. package/dist/lib/components/composed/DatePicker/dates.d.ts +2 -0
  20. package/dist/lib/components/composed/Pagination/Pagination.d.ts +3 -1
  21. package/dist/lib/components/composed/Tabs/Tabs.d.ts +3 -2
  22. package/dist/lib/components/composed/Tabs/index.d.ts +1 -1
  23. package/dist/lib/components/composed/index.js +1 -1
  24. package/dist/lib/components/derived/index.js +2 -2
  25. package/dist/lib/components/extended/DataGrid/DataGrid.d.ts +11 -1
  26. package/dist/lib/components/extended/DataGrid/index.d.ts +1 -1
  27. package/dist/lib/components/extended/index.js +1 -1
  28. package/dist/lib/index.js +8 -8
  29. package/dist/lib/styles.css +1 -1
  30. package/dist/lib/tokens.css +2 -0
  31. package/package.json +1 -1
  32. package/dist/lib/Input-Bv7L1_wj.js +0 -90
  33. package/dist/lib/Input-Bv7L1_wj.js.map +0 -1
  34. package/dist/lib/Switch-CMllJkGp.js.map +0 -1
  35. package/dist/lib/ToggleButton-DVmHmemS.js.map +0 -1
  36. package/dist/lib/Toolbar-C0Dn66Ry.js.map +0 -1
  37. package/dist/lib/VoiceControlBar-CpEz6uxS.js.map +0 -1
@@ -1,65 +1,65 @@
1
1
  import { i as e, n as t, r as n, s as r, t as i } from "./VisuallyHidden-DcE0EFpo.js";
2
- import { n as a, t as o } from "./Input-Bv7L1_wj.js";
3
- import { a as s, i as c, n as l, o as u, r as d, t as f } from "./Waveform-C6OQRKbh.js";
4
- import { i as p, n as m, t as h } from "./Tooltip-BJSUlXS2.js";
5
- import { a as g, i as _, n as v, o as y, r as b, t as x } from "./ToggleButton-DVmHmemS.js";
6
- import { a as S, d as C, f as w, i as T, l as E, n as D, o as O, s as ee, t as te } from "./Menu-B3G64GV4.js";
7
- import { Fragment as k, jsx as A, jsxs as j } from "react/jsx-runtime";
8
- import { useCallback as M, useEffect as N, useId as P, useLayoutEffect as ne, useMemo as re, useRef as F, useState as I } from "react";
9
- import { AlertCircle as L, ArrowDown as ie, ArrowDownRight as ae, ArrowDownToLine as oe, ArrowUp as se, ArrowUpRight as ce, Brain as le, Check as R, CheckCircle2 as z, ChevronDown as ue, ChevronLeft as B, ChevronRight as V, CircleSlash as H, CornerDownRight as U, Eye as de, EyeOff as fe, GripVertical as W, ImageOff as pe, Keyboard as G, Mic as me, MicOff as K, Minus as he, PhoneOff as ge, Plus as q, RotateCcw as J, ShieldAlert as _e, ShieldCheck as ve, ShieldX as ye, SlidersHorizontal as be, Square as xe, Tag as Se, Terminal as Ce, ThumbsDown as we, ThumbsUp as Te, Trash2 as Ee, Upload as De, X as Y, XCircle as Oe } from "lucide-react";
2
+ import { n as a, t as o } from "./Input-DzJm1Kv4.js";
3
+ import { a as s, i as c, n as l, o as u, r as d, t as f } from "./Waveform-EahaE6uD.js";
4
+ import { i as p, n as m, t as h } from "./Tooltip-BW1-aVDg.js";
5
+ import { a as g, i as _, n as v, o as y, r as b, t as x } from "./ToggleButton-r73bokux.js";
6
+ import { a as S, d as C, f as w, i as T, l as E, n as ee, o as D, s as te, t as ne } from "./Menu-B3G64GV4.js";
7
+ import { Fragment as O, jsx as k, jsxs as A } from "react/jsx-runtime";
8
+ import { useCallback as j, useEffect as M, useId as N, useLayoutEffect as P, useMemo as re, useRef as F, useState as I } from "react";
9
+ import { AlertCircle as L, ArrowDown as ie, ArrowDownRight as ae, ArrowDownToLine as oe, ArrowUp as se, ArrowUpRight as ce, Brain as R, Check as z, CheckCircle2 as B, ChevronDown as le, ChevronLeft as ue, ChevronRight as de, CircleSlash as fe, CornerDownRight as pe, Eye as me, EyeOff as he, GripVertical as V, ImageOff as H, Keyboard as U, Mic as W, MicOff as ge, Minus as G, PhoneOff as K, Plus as q, RotateCcw as J, ShieldAlert as _e, ShieldCheck as Y, ShieldX as ve, SlidersHorizontal as ye, Square as be, Tag as xe, Terminal as Se, ThumbsDown as Ce, ThumbsUp as we, Trash2 as Te, Upload as Ee, X, XCircle as De } from "lucide-react";
10
10
  //#region src/components/extended/ActivityList/ActivityList.tsx
11
- var ke = {
11
+ var Oe = {
12
12
  pending: "대기 중",
13
13
  running: "진행 중",
14
14
  done: "완료",
15
15
  failed: "실패",
16
16
  skipped: "건너뜀"
17
17
  };
18
- function Ae({ steps: t, label: n, announce: a, size: o = "md", className: s, ...c }) {
18
+ function ke({ steps: t, label: n, announce: a, size: o = "md", className: s, ...c }) {
19
19
  let l = t.find((e) => e.state === "running");
20
- return /* @__PURE__ */ j("div", {
20
+ return /* @__PURE__ */ A("div", {
21
21
  ...c,
22
22
  className: `activity-list ${s ?? ""}`.trim(),
23
23
  "data-size": o,
24
- children: [/* @__PURE__ */ A("ol", {
24
+ children: [/* @__PURE__ */ k("ol", {
25
25
  className: "activity-list__steps",
26
26
  "aria-label": n,
27
- children: t.map((t) => /* @__PURE__ */ j("li", {
27
+ children: t.map((t) => /* @__PURE__ */ A("li", {
28
28
  className: "activity-list__step",
29
29
  "data-state": t.state,
30
30
  "data-part": "step",
31
31
  children: [
32
- /* @__PURE__ */ A("span", {
32
+ /* @__PURE__ */ k("span", {
33
33
  className: "activity-list__mark",
34
34
  "aria-hidden": "true",
35
- children: t.state === "running" ? /* @__PURE__ */ A(e, { size: o === "sm" ? "xs" : "sm" }) : t.state === "done" ? /* @__PURE__ */ A(r, {
36
- icon: R,
35
+ children: t.state === "running" ? /* @__PURE__ */ k(e, { size: o === "sm" ? "xs" : "sm" }) : t.state === "done" ? /* @__PURE__ */ k(r, {
36
+ icon: z,
37
37
  size: "xs"
38
- }) : t.state === "failed" ? /* @__PURE__ */ A(r, {
38
+ }) : t.state === "failed" ? /* @__PURE__ */ k(r, {
39
39
  icon: L,
40
40
  size: "xs"
41
- }) : t.state === "skipped" ? /* @__PURE__ */ A(r, {
42
- icon: he,
41
+ }) : t.state === "skipped" ? /* @__PURE__ */ k(r, {
42
+ icon: G,
43
43
  size: "xs"
44
44
  }) : null
45
45
  }),
46
- /* @__PURE__ */ j("span", {
46
+ /* @__PURE__ */ A("span", {
47
47
  className: "activity-list__body",
48
- children: [/* @__PURE__ */ j("span", {
48
+ children: [/* @__PURE__ */ A("span", {
49
49
  className: "activity-list__label",
50
- children: [t.label, /* @__PURE__ */ j(i, { children: [" — ", ke[t.state]] })]
51
- }), t.detail ? /* @__PURE__ */ A("span", {
50
+ children: [t.label, /* @__PURE__ */ A(i, { children: [" — ", Oe[t.state]] })]
51
+ }), t.detail ? /* @__PURE__ */ k("span", {
52
52
  className: "activity-list__detail",
53
53
  children: t.detail
54
54
  }) : null]
55
55
  }),
56
- t.duration ? /* @__PURE__ */ A("span", {
56
+ t.duration ? /* @__PURE__ */ k("span", {
57
57
  className: "activity-list__duration",
58
58
  children: t.duration
59
59
  }) : null
60
60
  ]
61
61
  }, t.id))
62
- }), a ? /* @__PURE__ */ A(i, { children: /* @__PURE__ */ A("p", {
62
+ }), a ? /* @__PURE__ */ k(i, { children: /* @__PURE__ */ k("p", {
63
63
  "aria-live": "polite",
64
64
  children: l ? `${l.label} — 진행 중` : ""
65
65
  }) }) : null]
@@ -67,25 +67,25 @@ function Ae({ steps: t, label: n, announce: a, size: o = "md", className: s, ...
67
67
  }
68
68
  //#endregion
69
69
  //#region src/components/extended/BackgroundProgress/BackgroundProgress.tsx
70
- var je = {
71
- done: z,
72
- failed: Oe
73
- }, Me = {
70
+ var Ae = {
71
+ done: B,
72
+ failed: De
73
+ }, je = {
74
74
  running: "진행 중",
75
75
  done: "완료",
76
76
  failed: "실패"
77
77
  };
78
- function Ne({ title: e, jobs: n, value: a, open: o = !1, onOpenChange: c, onDismiss: l, fit: u = "viewport", className: d, ...f }) {
78
+ function Me({ title: e, jobs: n, value: a, open: o = !1, onOpenChange: c, onDismiss: l, fit: u = "viewport", className: d, ...f }) {
79
79
  let p = n.filter((e) => e.state === "failed").length, m = n.filter((e) => (e.state ?? "running") === "running").length, h = F(null), g = F(/* @__PURE__ */ new Map()), [_, v] = I("");
80
- N(() => {
80
+ M(() => {
81
81
  let e = g.current, t = n.filter((t) => {
82
82
  let n = t.state ?? "running";
83
83
  return n !== "running" && e.has(t.id) && e.get(t.id) !== n;
84
- }).map((e) => `${e.label} ${Me[e.state ?? "running"]}`);
84
+ }).map((e) => `${e.label} ${je[e.state ?? "running"]}`);
85
85
  g.current = new Map(n.map((e) => [e.id, e.state ?? "running"])), t.length && v(t.join(", "));
86
86
  }, [n]);
87
87
  let y = F(null);
88
- return N(() => {
88
+ return M(() => {
89
89
  let e = y.current;
90
90
  if (e === null) return;
91
91
  y.current = null;
@@ -93,7 +93,7 @@ function Ne({ title: e, jobs: n, value: a, open: o = !1, onOpenChange: c, onDism
93
93
  if (!t || document.activeElement !== document.body) return;
94
94
  let n = [...t.querySelectorAll("[data-part=\"cancel\"]")];
95
95
  (n[Math.min(e, n.length - 1)] ?? t.querySelector("[data-part=\"toggle\"]"))?.focus();
96
- }, [n]), /* @__PURE__ */ j("section", {
96
+ }, [n]), /* @__PURE__ */ A("section", {
97
97
  ...f,
98
98
  ref: h,
99
99
  className: `background-progress ${d ?? ""}`.trim(),
@@ -102,40 +102,40 @@ function Ne({ title: e, jobs: n, value: a, open: o = !1, onOpenChange: c, onDism
102
102
  "data-failed": p > 0 ? "" : void 0,
103
103
  "aria-label": e,
104
104
  children: [
105
- /* @__PURE__ */ A(i, {
105
+ /* @__PURE__ */ k(i, {
106
106
  as: "p",
107
- children: /* @__PURE__ */ A("span", {
107
+ children: /* @__PURE__ */ k("span", {
108
108
  role: "status",
109
109
  "data-part": "live",
110
110
  children: _
111
111
  })
112
112
  }),
113
- /* @__PURE__ */ j("div", {
113
+ /* @__PURE__ */ A("div", {
114
114
  className: "background-progress__head",
115
115
  children: [
116
- /* @__PURE__ */ j("button", {
116
+ /* @__PURE__ */ A("button", {
117
117
  type: "button",
118
118
  className: "background-progress__toggle",
119
119
  "aria-expanded": o,
120
120
  onClick: () => c?.(!o),
121
121
  "data-part": "toggle",
122
- children: [/* @__PURE__ */ A(r, {
123
- icon: ue,
122
+ children: [/* @__PURE__ */ k(r, {
123
+ icon: le,
124
124
  size: "sm",
125
125
  className: "background-progress__chevron",
126
126
  "aria-hidden": "true"
127
- }), /* @__PURE__ */ A("span", {
127
+ }), /* @__PURE__ */ k("span", {
128
128
  className: "background-progress__title",
129
129
  children: e
130
130
  })]
131
131
  }),
132
- /* @__PURE__ */ j("p", {
132
+ /* @__PURE__ */ A("p", {
133
133
  className: "background-progress__count",
134
134
  "data-part": "count",
135
135
  children: [p > 0 ? `${p}개 실패 · ` : null, m > 0 ? `${m}개 진행 중` : "모두 끝남"]
136
136
  }),
137
- l ? /* @__PURE__ */ A(t, {
138
- icon: Y,
137
+ l ? /* @__PURE__ */ k(t, {
138
+ icon: X,
139
139
  label: `${e} 닫기`,
140
140
  size: "sm",
141
141
  variant: "ghost",
@@ -145,7 +145,7 @@ function Ne({ title: e, jobs: n, value: a, open: o = !1, onOpenChange: c, onDism
145
145
  }) : null
146
146
  ]
147
147
  }),
148
- /* @__PURE__ */ A(s, {
148
+ /* @__PURE__ */ k(s, {
149
149
  value: a,
150
150
  max: 100,
151
151
  label: e,
@@ -154,42 +154,42 @@ function Ne({ title: e, jobs: n, value: a, open: o = !1, onOpenChange: c, onDism
154
154
  className: "background-progress__bar",
155
155
  "data-part": "overall"
156
156
  }),
157
- o ? /* @__PURE__ */ A("ul", {
157
+ o ? /* @__PURE__ */ k("ul", {
158
158
  className: "background-progress__jobs",
159
159
  "data-part": "jobs",
160
160
  children: n.map((e) => {
161
161
  let n = e.state ?? "running";
162
- return /* @__PURE__ */ j("li", {
162
+ return /* @__PURE__ */ A("li", {
163
163
  className: "background-progress__job",
164
164
  "data-state": n,
165
165
  "data-part": e.id,
166
166
  children: [
167
- /* @__PURE__ */ j("div", {
167
+ /* @__PURE__ */ A("div", {
168
168
  className: "background-progress__job-text",
169
- children: [/* @__PURE__ */ j("p", {
169
+ children: [/* @__PURE__ */ A("p", {
170
170
  className: "background-progress__job-label",
171
171
  children: [
172
- n === "running" ? null : /* @__PURE__ */ A(r, {
173
- icon: je[n],
172
+ n === "running" ? null : /* @__PURE__ */ k(r, {
173
+ icon: Ae[n],
174
174
  size: "xs",
175
175
  className: "background-progress__job-glyph",
176
176
  "aria-hidden": "true"
177
177
  }),
178
- /* @__PURE__ */ A("span", {
178
+ /* @__PURE__ */ k("span", {
179
179
  className: "background-progress__job-name",
180
180
  children: e.label
181
181
  }),
182
- /* @__PURE__ */ A("span", {
182
+ /* @__PURE__ */ k("span", {
183
183
  className: "background-progress__said",
184
- children: ` — ${Me[n]}`
184
+ children: ` — ${je[n]}`
185
185
  })
186
186
  ]
187
- }), e.detail ? /* @__PURE__ */ A("p", {
187
+ }), e.detail ? /* @__PURE__ */ k("p", {
188
188
  className: "background-progress__job-detail",
189
189
  children: e.detail
190
190
  }) : null]
191
191
  }),
192
- n === "running" ? /* @__PURE__ */ A(s, {
192
+ n === "running" ? /* @__PURE__ */ k(s, {
193
193
  value: e.value,
194
194
  max: 100,
195
195
  label: e.label,
@@ -197,8 +197,8 @@ function Ne({ title: e, jobs: n, value: a, open: o = !1, onOpenChange: c, onDism
197
197
  className: "background-progress__job-bar",
198
198
  "data-part": "job-bar"
199
199
  }) : null,
200
- e.onCancel && n === "running" ? /* @__PURE__ */ A(t, {
201
- icon: Y,
200
+ e.onCancel && n === "running" ? /* @__PURE__ */ k(t, {
201
+ icon: X,
202
202
  label: `${e.label} 취소`,
203
203
  size: "sm",
204
204
  variant: "ghost",
@@ -218,10 +218,10 @@ function Ne({ title: e, jobs: n, value: a, open: o = !1, onOpenChange: c, onDism
218
218
  }
219
219
  //#endregion
220
220
  //#region src/components/extended/AddressForm/AddressForm.tsx
221
- var Pe = {
221
+ var Ne = {
222
222
  KR: "대한민국",
223
223
  US: "미국"
224
- }, Fe = {
224
+ }, Pe = {
225
225
  KR: [
226
226
  "postalCode",
227
227
  "line1",
@@ -234,7 +234,7 @@ var Pe = {
234
234
  "region",
235
235
  "postalCode"
236
236
  ]
237
- }, Ie = {
237
+ }, Fe = {
238
238
  KR: {
239
239
  postalCode: "우편번호",
240
240
  line1: "도로명 주소",
@@ -247,7 +247,7 @@ var Pe = {
247
247
  region: "State",
248
248
  postalCode: "ZIP code"
249
249
  }
250
- }, X = {
250
+ }, Z = {
251
251
  country: "country",
252
252
  name: "name",
253
253
  phone: "tel",
@@ -256,7 +256,7 @@ var Pe = {
256
256
  line2: "address-line2",
257
257
  city: "address-level2",
258
258
  region: "address-level1"
259
- }, Le = [
259
+ }, Ie = [
260
260
  "CA",
261
261
  "NY",
262
262
  "TX",
@@ -264,11 +264,11 @@ var Pe = {
264
264
  "IL",
265
265
  "MA"
266
266
  ];
267
- function Re({ value: e, onChange: t, label: r, onFindPostcode: i, errors: a, countries: s = ["KR", "US"], regions: c = Le, namePrefix: l, className: u, ...f }) {
267
+ function Le({ value: e, onChange: t, label: r, onFindPostcode: i, errors: a, countries: s = ["KR", "US"], regions: c = Ie, namePrefix: l, className: u, ...f }) {
268
268
  let p = (n) => t({
269
269
  ...e,
270
270
  ...n
271
- }), m = Fe[e.country], h = Ie[e.country], g = P(), _ = (e) => `${g}-${e}`, v = (e) => l ? `${l}.${e}` : e, y = (n) => {
271
+ }), m = Pe[e.country], h = Fe[e.country], g = N(), _ = (e) => `${g}-${e}`, v = (e) => l ? `${l}.${e}` : e, y = (n) => {
272
272
  n !== e.country && t({
273
273
  ...e,
274
274
  country: n,
@@ -279,81 +279,81 @@ function Re({ value: e, onChange: t, label: r, onFindPostcode: i, errors: a, cou
279
279
  region: ""
280
280
  });
281
281
  };
282
- return /* @__PURE__ */ j("div", {
282
+ return /* @__PURE__ */ A("div", {
283
283
  ...f,
284
284
  className: `address-form ${u ?? ""}`.trim(),
285
285
  role: "group",
286
286
  "aria-label": r,
287
287
  children: [
288
- /* @__PURE__ */ A(E, {
288
+ /* @__PURE__ */ k(E, {
289
289
  label: "국가/지역",
290
290
  id: _("country"),
291
291
  error: a?.country,
292
- children: (t) => /* @__PURE__ */ A(d, {
292
+ children: (t) => /* @__PURE__ */ k(d, {
293
293
  ...t,
294
294
  name: v("country"),
295
295
  value: e.country,
296
- autoComplete: X.country,
296
+ autoComplete: Z.country,
297
297
  onChange: (e) => y(e.target.value),
298
298
  "data-part": "country",
299
- children: s.map((e) => /* @__PURE__ */ A("option", {
299
+ children: s.map((e) => /* @__PURE__ */ k("option", {
300
300
  value: e,
301
- children: Pe[e]
301
+ children: Ne[e]
302
302
  }, e))
303
303
  })
304
304
  }),
305
- /* @__PURE__ */ j("div", {
305
+ /* @__PURE__ */ A("div", {
306
306
  className: "address-form__pair",
307
- children: [/* @__PURE__ */ A(E, {
307
+ children: [/* @__PURE__ */ k(E, {
308
308
  label: "받는 사람",
309
309
  id: _("name"),
310
310
  error: a?.name,
311
311
  required: !0,
312
- children: (t) => /* @__PURE__ */ A(o, {
312
+ children: (t) => /* @__PURE__ */ k(o, {
313
313
  ...t,
314
314
  name: v("name"),
315
315
  value: e.name,
316
- autoComplete: X.name,
316
+ autoComplete: Z.name,
317
317
  onChange: (e) => p({ name: e.target.value }),
318
318
  "data-part": "name"
319
319
  })
320
- }), /* @__PURE__ */ A(E, {
320
+ }), /* @__PURE__ */ k(E, {
321
321
  label: "연락처",
322
322
  id: _("phone"),
323
323
  error: a?.phone,
324
324
  required: !0,
325
- children: (t) => /* @__PURE__ */ A(o, {
325
+ children: (t) => /* @__PURE__ */ k(o, {
326
326
  ...t,
327
327
  name: v("phone"),
328
328
  type: "tel",
329
329
  inputMode: "tel",
330
330
  value: e.phone,
331
- autoComplete: X.phone,
331
+ autoComplete: Z.phone,
332
332
  onChange: (e) => p({ phone: e.target.value }),
333
333
  "data-part": "phone"
334
334
  })
335
335
  })]
336
336
  }),
337
- m.map((t) => t === "postalCode" && e.country === "KR" ? /* @__PURE__ */ A(E, {
337
+ m.map((t) => t === "postalCode" && e.country === "KR" ? /* @__PURE__ */ k(E, {
338
338
  label: h[t],
339
339
  id: _("postalCode"),
340
340
  hint: "도로명이나 건물 이름으로 찾습니다",
341
341
  error: a?.postalCode,
342
342
  required: !0,
343
- children: (t) => /* @__PURE__ */ j("div", {
343
+ children: (t) => /* @__PURE__ */ A("div", {
344
344
  className: "address-form__lookup",
345
- children: [/* @__PURE__ */ A(o, {
345
+ children: [/* @__PURE__ */ k(o, {
346
346
  ...t,
347
347
  name: v("postalCode"),
348
348
  value: e.postalCode,
349
349
  inputMode: "numeric",
350
- autoComplete: X.postalCode,
350
+ autoComplete: Z.postalCode,
351
351
  readOnly: !!i,
352
352
  onChange: (e) => {
353
353
  i || p({ postalCode: e.target.value });
354
354
  },
355
355
  "data-part": "postal"
356
- }), /* @__PURE__ */ A(n, {
356
+ }), /* @__PURE__ */ k(n, {
357
357
  variant: "outline",
358
358
  tone: "neutral",
359
359
  disabled: !i,
@@ -362,37 +362,37 @@ function Re({ value: e, onChange: t, label: r, onFindPostcode: i, errors: a, cou
362
362
  children: "주소 찾기"
363
363
  })]
364
364
  })
365
- }, t) : t === "region" && e.country === "US" ? /* @__PURE__ */ A(E, {
365
+ }, t) : t === "region" && e.country === "US" ? /* @__PURE__ */ k(E, {
366
366
  label: h[t],
367
367
  id: _("region"),
368
368
  error: a?.region,
369
369
  required: !0,
370
- children: (t) => /* @__PURE__ */ j(d, {
370
+ children: (t) => /* @__PURE__ */ A(d, {
371
371
  ...t,
372
372
  name: v("region"),
373
373
  value: e.region,
374
- autoComplete: X.region,
374
+ autoComplete: Z.region,
375
375
  onChange: (e) => p({ region: e.target.value }),
376
376
  "data-part": "region",
377
- children: [/* @__PURE__ */ A("option", {
377
+ children: [/* @__PURE__ */ k("option", {
378
378
  value: "",
379
379
  children: "Choose"
380
- }), c.map((e) => /* @__PURE__ */ A("option", {
380
+ }), c.map((e) => /* @__PURE__ */ k("option", {
381
381
  value: e,
382
382
  children: e
383
383
  }, e))]
384
384
  })
385
- }, t) : /* @__PURE__ */ A(E, {
385
+ }, t) : /* @__PURE__ */ k(E, {
386
386
  label: h[t],
387
387
  id: _(t),
388
388
  error: a?.[t],
389
389
  ...t === "line2" ? { optional: !0 } : { required: !0 },
390
- children: (n) => /* @__PURE__ */ A(o, {
390
+ children: (n) => /* @__PURE__ */ k(o, {
391
391
  ...n,
392
392
  name: v(t),
393
393
  value: e[t],
394
394
  inputMode: t === "postalCode" ? "numeric" : void 0,
395
- autoComplete: X[t],
395
+ autoComplete: Z[t],
396
396
  onChange: (e) => p({ [t]: e.target.value }),
397
397
  "data-part": t
398
398
  })
@@ -402,12 +402,12 @@ function Re({ value: e, onChange: t, label: r, onFindPostcode: i, errors: a, cou
402
402
  }
403
403
  //#endregion
404
404
  //#region src/components/extended/ApprovalGate/ApprovalGate.tsx
405
- function ze({ title: e, action: t, detail: i, scopes: a, scope: o, onScopeChange: s, onApprove: l, onDeny: u, approveLabel: d = "허용", denyLabel: f = "거부", risk: p = "normal", state: m = "waiting", decision: h, className: g, ..._ }) {
406
- let v = P(), y = P(), b = m === "waiting", x = F(null), S = F(b);
407
- return N(() => {
405
+ function Re({ title: e, action: t, detail: i, scopes: a, scope: o, onScopeChange: s, onApprove: l, onDeny: u, approveLabel: d = "허용", denyLabel: f = "거부", risk: p = "normal", state: m = "waiting", decision: h, className: g, ..._ }) {
406
+ let v = N(), y = N(), b = m === "waiting", x = F(null), S = F(b);
407
+ return M(() => {
408
408
  let e = S.current && !b;
409
409
  S.current = b, !(!e || document.activeElement !== document.body) && x.current?.focus();
410
- }, [b]), /* @__PURE__ */ j("section", {
410
+ }, [b]), /* @__PURE__ */ A("section", {
411
411
  ..._,
412
412
  className: `approval-gate ${g ?? ""}`.trim(),
413
413
  "data-risk": p,
@@ -415,74 +415,74 @@ function ze({ title: e, action: t, detail: i, scopes: a, scope: o, onScopeChange
415
415
  "aria-labelledby": v,
416
416
  "aria-live": b ? "assertive" : void 0,
417
417
  children: [
418
- /* @__PURE__ */ j("div", {
418
+ /* @__PURE__ */ A("div", {
419
419
  className: "approval-gate__head",
420
- children: [/* @__PURE__ */ A("span", {
420
+ children: [/* @__PURE__ */ k("span", {
421
421
  className: "approval-gate__mark",
422
422
  "aria-hidden": "true",
423
- children: /* @__PURE__ */ A(r, {
424
- icon: m === "approved" ? ve : m === "denied" ? ye : _e,
423
+ children: /* @__PURE__ */ k(r, {
424
+ icon: m === "approved" ? Y : m === "denied" ? ve : _e,
425
425
  size: "sm"
426
426
  })
427
- }), /* @__PURE__ */ A("h3", {
427
+ }), /* @__PURE__ */ k("h3", {
428
428
  className: "approval-gate__title",
429
429
  id: v,
430
430
  children: e
431
431
  })]
432
432
  }),
433
- /* @__PURE__ */ A("div", {
433
+ /* @__PURE__ */ k("div", {
434
434
  className: "approval-gate__action",
435
435
  "data-part": "action",
436
436
  children: t
437
437
  }),
438
- i ? /* @__PURE__ */ A("p", {
438
+ i ? /* @__PURE__ */ k("p", {
439
439
  className: "approval-gate__detail",
440
440
  children: i
441
441
  }) : null,
442
- b && a?.length ? /* @__PURE__ */ j("fieldset", {
442
+ b && a?.length ? /* @__PURE__ */ A("fieldset", {
443
443
  className: "approval-gate__scopes",
444
- children: [/* @__PURE__ */ A("legend", {
444
+ children: [/* @__PURE__ */ k("legend", {
445
445
  className: "approval-gate__legend",
446
446
  children: "이 결정이 미치는 범위"
447
- }), a.map((e) => /* @__PURE__ */ A(c, {
447
+ }), a.map((e) => /* @__PURE__ */ k(c, {
448
448
  className: "approval-gate__scope",
449
449
  name: y,
450
450
  value: e.id,
451
451
  checked: o === e.id,
452
452
  onChange: () => s?.(e.id),
453
453
  "data-part": `scope-${e.id}`,
454
- children: /* @__PURE__ */ j("span", {
454
+ children: /* @__PURE__ */ A("span", {
455
455
  className: "approval-gate__scope-text",
456
- children: [/* @__PURE__ */ A("span", {
456
+ children: [/* @__PURE__ */ k("span", {
457
457
  className: "approval-gate__scope-label",
458
458
  children: e.label
459
- }), /* @__PURE__ */ A("span", {
459
+ }), /* @__PURE__ */ k("span", {
460
460
  className: "approval-gate__scope-detail",
461
461
  children: e.description
462
462
  })]
463
463
  })
464
464
  }, e.id))]
465
465
  }) : null,
466
- /* @__PURE__ */ A("div", {
466
+ /* @__PURE__ */ k("div", {
467
467
  className: "approval-gate__resolve",
468
468
  "aria-live": "polite",
469
469
  "data-part": "live",
470
- children: b ? /* @__PURE__ */ j("div", {
470
+ children: b ? /* @__PURE__ */ A("div", {
471
471
  className: "approval-gate__decide",
472
- children: [/* @__PURE__ */ A(n, {
472
+ children: [/* @__PURE__ */ k(n, {
473
473
  variant: p === "high" ? "solid" : "outline",
474
474
  tone: "neutral",
475
475
  onClick: u,
476
476
  "data-part": "deny",
477
477
  children: f
478
- }), /* @__PURE__ */ A(n, {
478
+ }), /* @__PURE__ */ k(n, {
479
479
  variant: p === "high" ? "outline" : "solid",
480
480
  tone: p === "high" ? "danger" : "accent",
481
481
  onClick: l,
482
482
  "data-part": "approve",
483
483
  children: d
484
484
  })]
485
- }) : /* @__PURE__ */ A("p", {
485
+ }) : /* @__PURE__ */ k("p", {
486
486
  className: "approval-gate__decision",
487
487
  ref: x,
488
488
  tabIndex: -1,
@@ -495,19 +495,19 @@ function ze({ title: e, action: t, detail: i, scopes: a, scope: o, onScopeChange
495
495
  }
496
496
  //#endregion
497
497
  //#region src/components/extended/Citation/Citation.tsx
498
- function Be({ index: e, title: t, domain: n, href: r, onActivate: a, className: o, ...s }) {
498
+ function ze({ index: e, title: t, domain: n, href: r, onActivate: a, className: o, ...s }) {
499
499
  let c = n ? `출처 ${e}: ${t} · ${n}` : `출처 ${e}: ${t}`, l = r ? `${c} · 새 창에서 열림` : c, u = (e) => {
500
500
  a && (r && (e.metaKey || e.ctrlKey || e.shiftKey) || (e.preventDefault(), a()));
501
- }, d = /* @__PURE__ */ j(k, { children: [/* @__PURE__ */ A("span", {
501
+ }, d = /* @__PURE__ */ A(O, { children: [/* @__PURE__ */ k("span", {
502
502
  "aria-hidden": "true",
503
503
  children: e
504
- }), /* @__PURE__ */ A(i, { children: l })] });
505
- return /* @__PURE__ */ A("sup", {
504
+ }), /* @__PURE__ */ k(i, { children: l })] });
505
+ return /* @__PURE__ */ k("sup", {
506
506
  className: `citation ${o ?? ""}`.trim(),
507
507
  ...s,
508
- children: /* @__PURE__ */ A(h, {
508
+ children: /* @__PURE__ */ k(h, {
509
509
  content: n ? `${t} · ${n}` : t,
510
- children: r ? /* @__PURE__ */ A("a", {
510
+ children: r ? /* @__PURE__ */ k("a", {
511
511
  className: "citation__mark",
512
512
  href: r,
513
513
  target: "_blank",
@@ -515,13 +515,13 @@ function Be({ index: e, title: t, domain: n, href: r, onActivate: a, className:
515
515
  onClick: u,
516
516
  "data-part": "mark",
517
517
  children: d
518
- }) : a ? /* @__PURE__ */ A("button", {
518
+ }) : a ? /* @__PURE__ */ k("button", {
519
519
  type: "button",
520
520
  className: "citation__mark",
521
521
  onClick: u,
522
522
  "data-part": "mark",
523
523
  children: d
524
- }) : /* @__PURE__ */ A("span", {
524
+ }) : /* @__PURE__ */ k("span", {
525
525
  className: "citation__mark",
526
526
  "data-static": "",
527
527
  "data-part": "mark",
@@ -532,51 +532,51 @@ function Be({ index: e, title: t, domain: n, href: r, onActivate: a, className:
532
532
  }
533
533
  //#endregion
534
534
  //#region src/components/extended/CommentThread/CommentThread.tsx
535
- function Ve(e) {
536
- return e?.length ? e.flatMap((e) => [e, ...Ve(e.replies)]) : [];
535
+ function Be(e) {
536
+ return e?.length ? e.flatMap((e) => [e, ...Be(e.replies)]) : [];
537
537
  }
538
- function He({ comment: e, reply: t }) {
539
- let n = t ? [] : Ve(e.replies);
540
- return /* @__PURE__ */ j("li", {
538
+ function Ve({ comment: e, reply: t }) {
539
+ let n = t ? [] : Be(e.replies);
540
+ return /* @__PURE__ */ A("li", {
541
541
  className: "comment-thread__comment",
542
542
  "data-reply": t ? "" : void 0,
543
543
  "data-part": "comment",
544
- children: [/* @__PURE__ */ A(a, {
544
+ children: [/* @__PURE__ */ k(a, {
545
545
  name: e.author,
546
546
  size: "sm",
547
547
  decorative: !0
548
- }), /* @__PURE__ */ j("div", {
548
+ }), /* @__PURE__ */ A("div", {
549
549
  className: "comment-thread__body",
550
550
  children: [
551
- /* @__PURE__ */ j("p", {
551
+ /* @__PURE__ */ A("p", {
552
552
  className: "comment-thread__head",
553
553
  children: [
554
- /* @__PURE__ */ A("span", {
554
+ /* @__PURE__ */ k("span", {
555
555
  className: "comment-thread__author",
556
556
  children: e.author
557
557
  }),
558
- /* @__PURE__ */ A("time", {
558
+ /* @__PURE__ */ k("time", {
559
559
  className: "comment-thread__time",
560
560
  dateTime: e.time,
561
561
  children: e.timeLabel ?? e.time
562
562
  }),
563
- e.edited ? /* @__PURE__ */ A("span", {
563
+ e.edited ? /* @__PURE__ */ k("span", {
564
564
  className: "comment-thread__edited",
565
565
  children: "편집됨"
566
566
  }) : null
567
567
  ]
568
568
  }),
569
- /* @__PURE__ */ A("div", {
569
+ /* @__PURE__ */ k("div", {
570
570
  className: "comment-thread__text",
571
571
  children: e.body
572
572
  }),
573
- e.actions ? /* @__PURE__ */ A("div", {
573
+ e.actions ? /* @__PURE__ */ k("div", {
574
574
  className: "comment-thread__actions",
575
575
  children: e.actions
576
576
  }) : null,
577
- n.length ? /* @__PURE__ */ A("ul", {
577
+ n.length ? /* @__PURE__ */ k("ul", {
578
578
  className: "comment-thread__replies",
579
- children: n.map((e) => /* @__PURE__ */ A(He, {
579
+ children: n.map((e) => /* @__PURE__ */ k(Ve, {
580
580
  comment: e,
581
581
  reply: !0
582
582
  }, e.id))
@@ -585,26 +585,26 @@ function He({ comment: e, reply: t }) {
585
585
  })]
586
586
  });
587
587
  }
588
- function Ue({ comments: e, label: t, resolved: i, onResolve: a, onReopen: o, composer: s, loading: c, loadingComments: l = 2, empty: u = "아직 댓글이 없습니다.", error: d, className: f, ...p }) {
589
- let h = e.reduce((e, t) => e + 1 + Ve(t.replies).length, 0);
590
- return /* @__PURE__ */ A("section", {
588
+ function He({ comments: e, label: t, resolved: i, onResolve: a, onReopen: o, composer: s, loading: c, loadingComments: l = 2, empty: u = "아직 댓글이 없습니다.", error: d, className: f, ...p }) {
589
+ let h = e.reduce((e, t) => e + 1 + Be(t.replies).length, 0);
590
+ return /* @__PURE__ */ k("section", {
591
591
  ...p,
592
592
  className: `comment-thread ${f ?? ""}`.trim(),
593
593
  "data-resolved": i ? "" : void 0,
594
594
  "aria-label": t,
595
- children: i ? /* @__PURE__ */ j("div", {
595
+ children: i ? /* @__PURE__ */ A("div", {
596
596
  className: "comment-thread__resolved",
597
597
  "data-part": "resolved",
598
598
  children: [
599
- /* @__PURE__ */ A("span", {
599
+ /* @__PURE__ */ k("span", {
600
600
  className: "comment-thread__resolved-mark",
601
601
  "aria-hidden": "true",
602
- children: /* @__PURE__ */ A(r, {
603
- icon: R,
602
+ children: /* @__PURE__ */ k(r, {
603
+ icon: z,
604
604
  size: "xs"
605
605
  })
606
606
  }),
607
- /* @__PURE__ */ j("p", {
607
+ /* @__PURE__ */ A("p", {
608
608
  className: "comment-thread__resolved-text",
609
609
  children: [
610
610
  "해결됨 · 댓글 ",
@@ -612,7 +612,7 @@ function Ue({ comments: e, label: t, resolved: i, onResolve: a, onReopen: o, com
612
612
  "개"
613
613
  ]
614
614
  }),
615
- o ? /* @__PURE__ */ A(n, {
615
+ o ? /* @__PURE__ */ k(n, {
616
616
  size: "sm",
617
617
  variant: "ghost",
618
618
  tone: "neutral",
@@ -621,50 +621,50 @@ function Ue({ comments: e, label: t, resolved: i, onResolve: a, onReopen: o, com
621
621
  children: "다시 열기"
622
622
  }) : null
623
623
  ]
624
- }) : /* @__PURE__ */ j(k, { children: [
625
- /* @__PURE__ */ A("ul", {
624
+ }) : /* @__PURE__ */ A(O, { children: [
625
+ /* @__PURE__ */ k("ul", {
626
626
  className: "comment-thread__comments",
627
627
  role: "log",
628
628
  "aria-label": t,
629
629
  "aria-busy": c || void 0,
630
- children: d ? /* @__PURE__ */ A("li", {
630
+ children: d ? /* @__PURE__ */ k("li", {
631
631
  className: "comment-thread__state",
632
632
  role: "alert",
633
633
  "data-part": "error",
634
634
  children: d
635
- }) : c ? Array.from({ length: l }, (e, t) => /* @__PURE__ */ j("li", {
635
+ }) : c ? Array.from({ length: l }, (e, t) => /* @__PURE__ */ A("li", {
636
636
  className: "comment-thread__comment",
637
637
  "data-part": "waiting-comment",
638
- children: [/* @__PURE__ */ A(m, {
638
+ children: [/* @__PURE__ */ k(m, {
639
639
  shape: "circle",
640
640
  size: "sm"
641
- }), /* @__PURE__ */ j("div", {
641
+ }), /* @__PURE__ */ A("div", {
642
642
  className: "comment-thread__body",
643
- children: [/* @__PURE__ */ A(m, {
643
+ children: [/* @__PURE__ */ k(m, {
644
644
  shape: "text",
645
645
  lines: 1
646
- }), /* @__PURE__ */ A(m, {
646
+ }), /* @__PURE__ */ k(m, {
647
647
  shape: "text",
648
648
  lines: 2
649
649
  })]
650
650
  })]
651
- }, `waiting-${t}`)) : e.length === 0 ? /* @__PURE__ */ A("li", {
651
+ }, `waiting-${t}`)) : e.length === 0 ? /* @__PURE__ */ k("li", {
652
652
  className: "comment-thread__state",
653
653
  "data-part": "empty",
654
654
  children: u
655
- }) : e.map((e) => /* @__PURE__ */ A(He, { comment: e }, e.id))
655
+ }) : e.map((e) => /* @__PURE__ */ k(Ve, { comment: e }, e.id))
656
656
  }),
657
- s ? /* @__PURE__ */ A("div", {
657
+ s ? /* @__PURE__ */ k("div", {
658
658
  className: "comment-thread__composer",
659
659
  children: s
660
660
  }) : null,
661
- a ? /* @__PURE__ */ A("div", {
661
+ a ? /* @__PURE__ */ k("div", {
662
662
  className: "comment-thread__foot",
663
- children: /* @__PURE__ */ A(n, {
663
+ children: /* @__PURE__ */ k(n, {
664
664
  size: "sm",
665
665
  variant: "outline",
666
666
  tone: "neutral",
667
- iconStart: R,
667
+ iconStart: z,
668
668
  onClick: a,
669
669
  "data-part": "resolve",
670
670
  children: "해결로 표시"
@@ -675,20 +675,20 @@ function Ue({ comments: e, label: t, resolved: i, onResolve: a, onReopen: o, com
675
675
  }
676
676
  //#endregion
677
677
  //#region src/components/extended/Composer/Composer.tsx
678
- function We() {
678
+ function Ue() {
679
679
  let [e, t] = I(() => typeof window > "u" ? !1 : window.matchMedia("(pointer: coarse)").matches);
680
- return N(() => {
680
+ return M(() => {
681
681
  let e = window.matchMedia("(pointer: coarse)"), n = () => t(e.matches);
682
682
  return e.addEventListener("change", n), () => e.removeEventListener("change", n);
683
683
  }, []), e;
684
684
  }
685
- function Ge({ value: e, onValueChange: n, onSubmit: r, onStop: i, running: a, label: o, placeholder: s, maxRows: c = 8, attachments: l, tools: u, hint: d, disabled: f, enterSends: p, sendLabel: m = "보내기", stopLabel: h = "중지", className: g, ..._ }) {
686
- let v = We(), y = p ?? !v, b = e.trim().length === 0, x = !a && !f && !b, S = () => {
685
+ function We({ value: e, onValueChange: n, onSubmit: r, onStop: i, running: a, label: o, placeholder: s, maxRows: c = 8, attachments: l, tools: u, hint: d, disabled: f, enterSends: p, sendLabel: m = "보내기", stopLabel: h = "중지", className: g, ..._ }) {
686
+ let v = Ue(), y = p ?? !v, b = e.trim().length === 0, x = !a && !f && !b, S = () => {
687
687
  x && r();
688
688
  }, C = (e) => {
689
689
  e.key !== "Enter" || e.shiftKey || !y || e.nativeEvent.isComposing || e.nativeEvent.keyCode === 229 || x && (e.preventDefault(), r());
690
690
  };
691
- return /* @__PURE__ */ j("form", {
691
+ return /* @__PURE__ */ A("form", {
692
692
  ..._,
693
693
  className: `composer ${g ?? ""}`.trim(),
694
694
  "data-running": a ? "" : void 0,
@@ -697,16 +697,16 @@ function Ge({ value: e, onValueChange: n, onSubmit: r, onStop: i, running: a, la
697
697
  e.preventDefault(), S();
698
698
  },
699
699
  children: [
700
- l ? /* @__PURE__ */ A("div", {
700
+ l ? /* @__PURE__ */ k("div", {
701
701
  className: "composer__attachments",
702
702
  "data-part": "attachments",
703
703
  children: l
704
704
  }) : null,
705
- /* @__PURE__ */ A("div", {
705
+ /* @__PURE__ */ k("div", {
706
706
  className: "composer__grow",
707
707
  "data-value": `${e} `,
708
708
  "data-rows": c,
709
- children: /* @__PURE__ */ A("textarea", {
709
+ children: /* @__PURE__ */ k("textarea", {
710
710
  className: "composer__field",
711
711
  value: e,
712
712
  onChange: (e) => n(e.target.value),
@@ -718,19 +718,19 @@ function Ge({ value: e, onValueChange: n, onSubmit: r, onStop: i, running: a, la
718
718
  "data-part": "field"
719
719
  })
720
720
  }),
721
- /* @__PURE__ */ j("div", {
721
+ /* @__PURE__ */ A("div", {
722
722
  className: "composer__bar",
723
723
  children: [
724
- /* @__PURE__ */ A("div", {
724
+ /* @__PURE__ */ k("div", {
725
725
  className: "composer__tools",
726
726
  children: u
727
727
  }),
728
- d ? /* @__PURE__ */ A("p", {
728
+ d ? /* @__PURE__ */ k("p", {
729
729
  className: "composer__hint",
730
730
  children: d
731
731
  }) : null,
732
- a ? /* @__PURE__ */ A(t, {
733
- icon: xe,
732
+ a ? /* @__PURE__ */ k(t, {
733
+ icon: be,
734
734
  label: h,
735
735
  type: "button",
736
736
  variant: "solid",
@@ -739,7 +739,7 @@ function Ge({ value: e, onValueChange: n, onSubmit: r, onStop: i, running: a, la
739
739
  onClick: i,
740
740
  disabled: !i,
741
741
  "data-part": "stop"
742
- }) : /* @__PURE__ */ A(t, {
742
+ }) : /* @__PURE__ */ k(t, {
743
743
  icon: se,
744
744
  label: m,
745
745
  type: "submit",
@@ -756,9 +756,9 @@ function Ge({ value: e, onValueChange: n, onSubmit: r, onStop: i, running: a, la
756
756
  }
757
757
  //#endregion
758
758
  //#region src/components/extended/CouponField/CouponField.tsx
759
- function Ke({ value: e, onValueChange: i, onApply: a, applied: s = [], onRemove: c, error: l, pending: u, as: d = "form", label: f = "쿠폰 코드", placeholder: p = "코드를 넣으세요", applyLabel: m = "적용", disabled: h, className: _, ...v }) {
760
- let y = P(), b = F(s.map((e) => e.code)), [x, S] = I("");
761
- N(() => {
759
+ function Ge({ value: e, onValueChange: i, onApply: a, applied: s = [], onRemove: c, error: l, pending: u, as: d = "form", label: f = "쿠폰 코드", placeholder: p = "코드를 넣으세요", applyLabel: m = "적용", disabled: h, className: _, ...v }) {
760
+ let y = N(), b = F(s.map((e) => e.code)), [x, S] = I("");
761
+ M(() => {
762
762
  let e = b.current, t = s.filter((t) => !e.includes(t.code));
763
763
  b.current = s.map((e) => e.code), t.length && S(t.map((e) => `${e.code} 쿠폰을 적용했습니다`).join(", "));
764
764
  }, [s]);
@@ -766,29 +766,29 @@ function Ke({ value: e, onValueChange: i, onApply: a, applied: s = [], onRemove:
766
766
  u || h || !e.trim() || a();
767
767
  }, w = (e) => {
768
768
  e.preventDefault(), C();
769
- }, T = d === "form", E = /* @__PURE__ */ j(k, { children: [
770
- s.length ? /* @__PURE__ */ A("ul", {
769
+ }, T = d === "form", E = /* @__PURE__ */ A(O, { children: [
770
+ s.length ? /* @__PURE__ */ k("ul", {
771
771
  className: "coupon-field__applied",
772
772
  "data-part": "applied",
773
- children: s.map((e) => /* @__PURE__ */ j("li", {
773
+ children: s.map((e) => /* @__PURE__ */ A("li", {
774
774
  className: "coupon-field__coupon",
775
775
  children: [
776
- /* @__PURE__ */ A(r, {
777
- icon: Se,
776
+ /* @__PURE__ */ k(r, {
777
+ icon: xe,
778
778
  size: "sm",
779
779
  tone: "success",
780
780
  "aria-hidden": "true"
781
781
  }),
782
- /* @__PURE__ */ A("span", {
782
+ /* @__PURE__ */ k("span", {
783
783
  className: "coupon-field__code",
784
784
  children: e.code
785
785
  }),
786
- /* @__PURE__ */ A("span", {
786
+ /* @__PURE__ */ k("span", {
787
787
  className: "coupon-field__effect",
788
788
  children: e.effect
789
789
  }),
790
- c ? /* @__PURE__ */ A(t, {
791
- icon: Y,
790
+ c ? /* @__PURE__ */ k(t, {
791
+ icon: X,
792
792
  label: `${e.code} 쿠폰 빼기`,
793
793
  size: "sm",
794
794
  onClick: () => c(e.code),
@@ -797,9 +797,9 @@ function Ke({ value: e, onValueChange: i, onApply: a, applied: s = [], onRemove:
797
797
  ]
798
798
  }, e.code))
799
799
  }) : null,
800
- /* @__PURE__ */ j(g, {
800
+ /* @__PURE__ */ A(g, {
801
801
  label: f,
802
- children: [/* @__PURE__ */ A(o, {
802
+ children: [/* @__PURE__ */ k(o, {
803
803
  value: e,
804
804
  onChange: (e) => i(e.target.value),
805
805
  onKeyDown: (e) => {
@@ -814,7 +814,7 @@ function Ke({ value: e, onValueChange: i, onApply: a, applied: s = [], onRemove:
814
814
  autoCorrect: "off",
815
815
  spellCheck: !1,
816
816
  "data-part": "field"
817
- }), /* @__PURE__ */ A(n, {
817
+ }), /* @__PURE__ */ k(n, {
818
818
  type: T ? "submit" : "button",
819
819
  onClick: T ? void 0 : C,
820
820
  variant: "outline",
@@ -825,34 +825,34 @@ function Ke({ value: e, onValueChange: i, onApply: a, applied: s = [], onRemove:
825
825
  children: m
826
826
  })]
827
827
  }),
828
- /* @__PURE__ */ A("p", {
828
+ /* @__PURE__ */ k("p", {
829
829
  className: "coupon-field__error",
830
830
  id: y,
831
831
  "aria-live": "polite",
832
832
  "data-part": "error",
833
833
  children: l
834
834
  }),
835
- /* @__PURE__ */ A("p", {
835
+ /* @__PURE__ */ k("p", {
836
836
  className: "coupon-field__announced",
837
837
  role: "status",
838
838
  "data-part": "announced",
839
839
  children: x
840
840
  })
841
- ] }), D = `coupon-field ${_ ?? ""}`.trim();
842
- return T ? /* @__PURE__ */ A("form", {
841
+ ] }), ee = `coupon-field ${_ ?? ""}`.trim();
842
+ return T ? /* @__PURE__ */ k("form", {
843
843
  ...v,
844
- className: D,
844
+ className: ee,
845
845
  onSubmit: w,
846
846
  children: E
847
- }) : /* @__PURE__ */ A("div", {
847
+ }) : /* @__PURE__ */ k("div", {
848
848
  ...v,
849
- className: D,
849
+ className: ee,
850
850
  children: E
851
851
  });
852
852
  }
853
853
  //#endregion
854
854
  //#region src/components/extended/DataGrid/DataGrid.state.ts
855
- function qe(e, t, n) {
855
+ function Ke(e, t, n) {
856
856
  let r = e.filter((e) => !t.has(e.id)).map((e) => ({
857
857
  id: e.id,
858
858
  kind: "data",
@@ -863,148 +863,150 @@ function qe(e, t, n) {
863
863
  kind: "select"
864
864
  }, ...r] : r;
865
865
  }
866
- function Je(e, t) {
866
+ function qe(e, t) {
867
867
  return {
868
868
  row: Math.max(0, Math.min(t.rows - 1, e.row)),
869
869
  column: Math.max(0, Math.min(t.columns - 1, e.column))
870
870
  };
871
871
  }
872
- function Ye(e, t, n, r, i) {
873
- return Je({
872
+ function Je(e, t, n, r, i) {
873
+ return qe({
874
874
  row: i?.row ?? e.row + n,
875
875
  column: i?.column ?? e.column + r
876
876
  }, t);
877
877
  }
878
- function Xe(e, t, n) {
878
+ function Ye(e, t, n) {
879
879
  return e ? "error" : t ? "loading" : n === 0 ? "empty" : "rows";
880
880
  }
881
- function Ze(e, t, n) {
881
+ function Xe(e, t, n) {
882
882
  return e === "loading" ? n : e === "rows" ? t : 0;
883
883
  }
884
- function Qe(e, t) {
884
+ function Ze(e, t) {
885
885
  let n = new Set(e);
886
886
  return n.has(t) ? n.delete(t) : n.add(t), [...n];
887
887
  }
888
- function $e(e, t, n) {
888
+ function Qe(e, t, n) {
889
889
  let r = new Set(e);
890
890
  for (let e of t) n ? r.delete(e) : r.add(e);
891
891
  return [...r];
892
892
  }
893
893
  //#endregion
894
894
  //#region src/components/extended/DataGrid/DataGrid.tsx
895
- function et({ rows: e, columns: r, changed: i, rowKey: a, label: o, pinFirst: s, density: c = "compact", height: l = "md", onRowActivate: u, empty: d = "행이 없습니다.", loading: f, loadingRows: h = 5, error: g, selectedKeys: _, onSelectedChange: v, rowLabel: y, sort: b, onSortChange: x, hiddenColumns: S, onHiddenColumnsChange: C, onCellCommit: w, meta: E, className: O, ...P }) {
896
- let ne = F(null), [L, ae] = I({
895
+ function $e({ rows: e, columns: r, changed: i, rowKey: a, label: o, pinFirst: s, density: c = "compact", height: l = "md", onRowActivate: u, empty: d = "행이 없습니다.", loading: f, loadingRows: h = 5, error: g, retainRowsOnError: _ = !1, lastUpdated: v, selectedKeys: y, onSelectedChange: b, rowLabel: x, sort: S, onSortChange: C, hiddenColumns: w, onHiddenColumnsChange: E, onCellCommit: D, cellState: P, meta: L, className: ae, ...oe }) {
896
+ let ce = F(null), R = N(), [z, B] = I({
897
897
  row: 0,
898
898
  column: 0
899
- }), [oe, ce] = I(null), [le, R] = I(""), z = F(null), B = !!v, V = re(() => new Set(_ ?? []), [_]), H = re(() => new Set(S ?? []), [S]), U = re(() => qe(r, H, B), [
899
+ }), [ue, de] = I(null), [fe, pe] = I(""), me = F(null), V = !!b, H = re(() => new Set(y ?? []), [y]), U = re(() => new Set(w ?? []), [w]), W = re(() => Ke(r, U, V), [
900
900
  r,
901
- H,
902
- B
903
- ]), de = r.some((e) => e.footer), W = Xe(!!g, !!f, e.length), pe = Ze(W, e.length, h), G = M((t, n, r) => {
904
- ae((i) => Ye(i, {
901
+ U,
902
+ V
903
+ ]), ge = r.some((e) => e.footer), G = !!g && _ && e.length > 0, K = G ? "rows" : Ye(!!g, !!f, e.length), q = Xe(K, e.length, h), J = j((t, n, r) => {
904
+ B((i) => Je(i, {
905
905
  rows: e.length,
906
- columns: U.length
906
+ columns: W.length
907
907
  }, t, n, r));
908
- }, [e.length, U.length]);
909
- N(() => {
910
- ae((t) => {
911
- let n = Je(t, {
908
+ }, [e.length, W.length]);
909
+ M(() => {
910
+ B((t) => {
911
+ let n = qe(t, {
912
912
  rows: e.length,
913
- columns: U.length
913
+ columns: W.length
914
914
  });
915
915
  return n.row === t.row && n.column === t.column ? t : n;
916
916
  });
917
- }, [e.length, U.length]);
918
- let me = (e) => v?.(Qe(V, a(e))), K = e.length > 0 && e.every((e) => V.has(a(e))), he = e.some((e) => V.has(a(e))), ge = () => v?.($e(V, e.map(a), K)), q = (e, t) => {
919
- !t.editable || !w || (R(t.value?.(e) ?? ""), ce({
917
+ }, [e.length, W.length]);
918
+ let _e = (e) => b?.(Ze(H, a(e))), Y = e.length > 0 && e.every((e) => H.has(a(e))), ve = e.some((e) => H.has(a(e))), be = () => b?.(Qe(H, e.map(a), Y)), xe = (e, t) => {
919
+ if (!t.editable || !D) return;
920
+ let n = P?.(e, t);
921
+ n?.pending || (pe(n?.draft ?? t.value?.(e) ?? ""), de({
920
922
  key: a(e),
921
923
  columnId: t.id
922
924
  }));
923
- }, J = (e, t, n, r = !1) => {
924
- z.current = r, e && w && w(t, n.id, le), ce(null);
925
- }, _e = (e, t) => {
926
- x?.(t ? {
925
+ }, Se = (e, t, n, r = !1) => {
926
+ me.current = r, e && D && D(t, n.id, fe), de(null);
927
+ }, Ce = (e, t) => {
928
+ C?.(t ? {
927
929
  columnId: e.id,
928
930
  direction: t
929
931
  } : null);
930
- }, ve = (e) => C?.(Qe(H, e)), ye = (t) => {
932
+ }, we = (e) => E?.(Ze(U, e)), Te = (t) => {
931
933
  let n = t.target;
932
- if (t.defaultPrevented || !(n instanceof HTMLElement) || !n.matches(".data-grid__cell[role=\"gridcell\"]") || n.closest("[role=\"grid\"]") !== t.currentTarget || oe) return;
934
+ if (t.defaultPrevented || !(n instanceof HTMLElement) || !n.matches(".data-grid__cell[role=\"gridcell\"]") || n.closest("[role=\"grid\"]") !== t.currentTarget || ue) return;
933
935
  let r = {
934
- ArrowDown: () => G(1, 0),
935
- ArrowUp: () => G(-1, 0),
936
- ArrowRight: () => G(0, 1),
937
- ArrowLeft: () => G(0, -1),
938
- PageDown: () => G(10, 0),
939
- PageUp: () => G(-10, 0),
940
- Home: () => G(0, 0, t.ctrlKey || t.metaKey ? {
936
+ ArrowDown: () => J(1, 0),
937
+ ArrowUp: () => J(-1, 0),
938
+ ArrowRight: () => J(0, 1),
939
+ ArrowLeft: () => J(0, -1),
940
+ PageDown: () => J(10, 0),
941
+ PageUp: () => J(-10, 0),
942
+ Home: () => J(0, 0, t.ctrlKey || t.metaKey ? {
941
943
  row: 0,
942
944
  column: 0
943
945
  } : { column: 0 }),
944
- End: () => G(0, 0, t.ctrlKey || t.metaKey ? {
946
+ End: () => J(0, 0, t.ctrlKey || t.metaKey ? {
945
947
  row: e.length - 1,
946
- column: U.length - 1
947
- } : { column: U.length - 1 })
948
+ column: W.length - 1
949
+ } : { column: W.length - 1 })
948
950
  }[t.key];
949
951
  if (r) {
950
952
  t.preventDefault(), r();
951
953
  return;
952
954
  }
953
- let i = e[L.row], a = U[L.column];
955
+ let i = e[z.row], a = W[z.column];
954
956
  if (!(!i || !a)) {
955
957
  if (a.kind === "select" && (t.key === "Enter" || t.key === " ")) {
956
- t.preventDefault(), me(i);
958
+ t.preventDefault(), _e(i);
957
959
  return;
958
960
  }
959
- if (a.kind === "data" && a.column.editable && w && t.key === "Enter") {
960
- t.preventDefault(), q(i, a.column);
961
+ if (a.kind === "data" && a.column.editable && D && t.key === "Enter") {
962
+ t.preventDefault(), xe(i, a.column);
961
963
  return;
962
964
  }
963
965
  (t.key === "Enter" || t.key === " ") && u && (t.preventDefault(), u(i));
964
966
  }
965
- }, xe = M((e) => {
967
+ }, Ee = j((e) => {
966
968
  if (!e) return;
967
- let t = z.current ?? ne.current?.contains(document.activeElement);
968
- z.current = null, t && (e.focus({ preventScroll: !0 }), e.scrollIntoView({
969
+ let t = me.current ?? ce.current?.contains(document.activeElement);
970
+ me.current = null, t && (e.focus({ preventScroll: !0 }), e.scrollIntoView({
969
971
  block: "nearest",
970
972
  inline: "nearest"
971
973
  }));
972
- }, []), Se = (e) => e.kind === "select" ? /* @__PURE__ */ A(p, {
973
- checked: K,
974
- indeterminate: !K && he,
975
- onChange: ge,
976
- "aria-label": K ? "전부 고르기 해제" : "전부 고르기",
974
+ }, []), X = (e) => e.kind === "select" ? /* @__PURE__ */ k(p, {
975
+ checked: Y,
976
+ indeterminate: !Y && ve,
977
+ onChange: be,
978
+ "aria-label": Y ? "전부 고르기 해제" : "전부 고르기",
977
979
  "data-part": "select-all"
978
- }) : /* @__PURE__ */ j(k, { children: [/* @__PURE__ */ A("span", {
980
+ }) : /* @__PURE__ */ A(O, { children: [/* @__PURE__ */ k("span", {
979
981
  className: "data-grid__header-label",
980
982
  children: e.column.header
981
- }), e.column.sortable && x || e.column.hideable !== !1 && C ? /* @__PURE__ */ A(te, {
982
- items: /* @__PURE__ */ j(k, { children: [
983
- e.column.sortable && x ? /* @__PURE__ */ j(k, { children: [
984
- /* @__PURE__ */ A(T, {
983
+ }), e.column.sortable && C || e.column.hideable !== !1 && E ? /* @__PURE__ */ k(ne, {
984
+ items: /* @__PURE__ */ A(O, { children: [
985
+ e.column.sortable && C ? /* @__PURE__ */ A(O, { children: [
986
+ /* @__PURE__ */ k(T, {
985
987
  icon: se,
986
- onSelect: () => _e(e.column, "asc"),
988
+ onSelect: () => Ce(e.column, "asc"),
987
989
  children: "오름차순"
988
990
  }),
989
- /* @__PURE__ */ A(T, {
991
+ /* @__PURE__ */ k(T, {
990
992
  icon: ie,
991
- onSelect: () => _e(e.column, "desc"),
993
+ onSelect: () => Ce(e.column, "desc"),
992
994
  children: "내림차순"
993
995
  }),
994
- b?.columnId === e.column.id ? /* @__PURE__ */ A(T, {
995
- onSelect: () => _e(e.column, null),
996
+ S?.columnId === e.column.id ? /* @__PURE__ */ k(T, {
997
+ onSelect: () => Ce(e.column, null),
996
998
  children: "정렬 없애기"
997
999
  }) : null
998
1000
  ] }) : null,
999
- e.column.sortable && x && e.column.hideable !== !1 && C ? /* @__PURE__ */ A(ee, {}) : null,
1000
- e.column.hideable !== !1 && C ? /* @__PURE__ */ A(T, {
1001
- icon: fe,
1002
- onSelect: () => ve(e.column.id),
1001
+ e.column.sortable && C && e.column.hideable !== !1 && E ? /* @__PURE__ */ k(te, {}) : null,
1002
+ e.column.hideable !== !1 && E ? /* @__PURE__ */ k(T, {
1003
+ icon: he,
1004
+ onSelect: () => we(e.column.id),
1003
1005
  children: "이 열 숨기기"
1004
1006
  }) : null
1005
1007
  ] }),
1006
- children: /* @__PURE__ */ A(t, {
1007
- icon: ue,
1008
+ children: /* @__PURE__ */ k(t, {
1009
+ icon: le,
1008
1010
  label: `${e.column.header} 열 설정`,
1009
1011
  variant: "ghost",
1010
1012
  tone: "neutral",
@@ -1012,139 +1014,143 @@ function et({ rows: e, columns: r, changed: i, rowKey: a, label: o, pinFirst: s,
1012
1014
  "data-part": "column-menu"
1013
1015
  })
1014
1016
  }) : null] });
1015
- return /* @__PURE__ */ j("div", {
1016
- ...P,
1017
- className: `data-grid ${O ?? ""}`.trim(),
1017
+ return /* @__PURE__ */ A("div", {
1018
+ ...oe,
1019
+ className: `data-grid ${ae ?? ""}`.trim(),
1018
1020
  "data-row-density": c,
1019
1021
  "data-height": l,
1020
1022
  "data-pinned": s ? "" : void 0,
1021
1023
  children: [
1022
- C ? /* @__PURE__ */ A("div", {
1024
+ E ? /* @__PURE__ */ k("div", {
1023
1025
  className: "data-grid__bar",
1024
- children: /* @__PURE__ */ A(te, {
1025
- items: r.map((e) => /* @__PURE__ */ A(D, {
1026
- checked: !H.has(e.id),
1027
- onCheckedChange: () => ve(e.id),
1026
+ children: /* @__PURE__ */ k(ne, {
1027
+ items: r.map((e) => /* @__PURE__ */ k(ee, {
1028
+ checked: !U.has(e.id),
1029
+ onCheckedChange: () => we(e.id),
1028
1030
  disabled: e.hideable === !1,
1029
1031
  children: e.header
1030
1032
  }, e.id)),
1031
- children: /* @__PURE__ */ j(n, {
1033
+ children: /* @__PURE__ */ A(n, {
1032
1034
  variant: "outline",
1033
1035
  tone: "neutral",
1034
1036
  size: "sm",
1035
- iconStart: be,
1037
+ iconStart: ye,
1036
1038
  "data-part": "columns",
1037
1039
  children: [
1038
1040
  "열 ",
1039
- r.length - H.size,
1041
+ r.length - U.size,
1040
1042
  "/",
1041
1043
  r.length
1042
1044
  ]
1043
1045
  })
1044
1046
  })
1045
1047
  }) : null,
1046
- /* @__PURE__ */ A("div", {
1048
+ /* @__PURE__ */ k("div", {
1047
1049
  className: "data-grid__scroll",
1048
1050
  "data-part": "scroll",
1049
- children: /* @__PURE__ */ j("div", {
1050
- ref: ne,
1051
+ children: /* @__PURE__ */ A("div", {
1052
+ ref: ce,
1051
1053
  className: "data-grid__grid",
1052
1054
  role: "grid",
1053
1055
  "aria-label": o,
1054
- "aria-rowcount": pe + 1 + +!!de,
1055
- "aria-colcount": U.length,
1056
- "aria-multiselectable": B || void 0,
1057
- onKeyDown: ye,
1056
+ "aria-describedby": G ? `${R}-refresh` : void 0,
1057
+ "aria-rowcount": q + 1 + +!!ge,
1058
+ "aria-colcount": W.length,
1059
+ "aria-multiselectable": V || void 0,
1060
+ onKeyDown: Te,
1058
1061
  children: [
1059
- /* @__PURE__ */ A("div", {
1062
+ /* @__PURE__ */ k("div", {
1060
1063
  role: "rowgroup",
1061
1064
  className: "data-grid__head",
1062
- children: /* @__PURE__ */ A("div", {
1065
+ children: /* @__PURE__ */ k("div", {
1063
1066
  role: "row",
1064
1067
  className: "data-grid__row",
1065
1068
  "aria-rowindex": 1,
1066
- children: U.map((e, t) => /* @__PURE__ */ A("div", {
1069
+ children: W.map((e, t) => /* @__PURE__ */ k("div", {
1067
1070
  role: "columnheader",
1068
1071
  className: "data-grid__cell",
1069
1072
  "aria-colindex": t + 1,
1070
- "aria-sort": e.kind === "data" && e.column.sortable ? b?.columnId === e.column.id ? b.direction === "asc" ? "ascending" : "descending" : "none" : void 0,
1073
+ "aria-sort": e.kind === "data" && e.column.sortable ? S?.columnId === e.column.id ? S.direction === "asc" ? "ascending" : "descending" : "none" : void 0,
1071
1074
  "data-width": e.kind === "select" ? "select" : e.column.width ?? "md",
1072
1075
  "data-align": e.kind === "select" ? "start" : e.column.align ?? "start",
1073
1076
  "data-pin": s && t === 0 ? "" : void 0,
1074
1077
  "data-part": e.kind === "select" ? "select-header" : void 0,
1075
- children: Se(e)
1078
+ children: X(e)
1076
1079
  }, e.id))
1077
1080
  })
1078
1081
  }),
1079
- /* @__PURE__ */ j("div", {
1082
+ /* @__PURE__ */ A("div", {
1080
1083
  role: "rowgroup",
1081
1084
  className: "data-grid__body",
1082
- "aria-busy": W === "loading" || void 0,
1083
- children: [W === "loading" ? Array.from({ length: h }, (e, t) => /* @__PURE__ */ A("div", {
1085
+ "aria-busy": K === "loading" || void 0,
1086
+ children: [K === "loading" ? Array.from({ length: h }, (e, t) => /* @__PURE__ */ k("div", {
1084
1087
  role: "row",
1085
1088
  className: "data-grid__row",
1086
1089
  "aria-rowindex": t + 2,
1087
1090
  "data-part": "waiting-row",
1088
- children: U.map((e, t) => /* @__PURE__ */ A("div", {
1091
+ children: W.map((e, t) => /* @__PURE__ */ k("div", {
1089
1092
  role: "gridcell",
1090
1093
  className: "data-grid__cell",
1091
1094
  "aria-colindex": t + 1,
1092
1095
  "data-width": e.kind === "select" ? "select" : e.column.width ?? "md",
1093
1096
  "data-pin": s && t === 0 ? "" : void 0,
1094
- children: /* @__PURE__ */ A(m, {
1097
+ children: /* @__PURE__ */ k(m, {
1095
1098
  shape: "text",
1096
1099
  lines: 1
1097
1100
  })
1098
1101
  }, e.id))
1099
- }, `waiting-${t}`)) : null, W === "rows" ? e.map((e, t) => {
1100
- let n = a(e), r = V.has(n);
1101
- return /* @__PURE__ */ A("div", {
1102
+ }, `waiting-${t}`)) : null, K === "rows" ? e.map((e, t) => {
1103
+ let n = a(e), r = H.has(n);
1104
+ return /* @__PURE__ */ k("div", {
1102
1105
  role: "row",
1103
1106
  className: "data-grid__row",
1104
1107
  "aria-rowindex": t + 2,
1105
- "aria-selected": B ? r : void 0,
1108
+ "aria-selected": V ? r : void 0,
1106
1109
  "data-part": "row",
1107
1110
  "data-selected": r ? "" : void 0,
1108
- children: U.map((a, o) => {
1109
- let c = L.row === t && L.column === o, l = a.kind === "data" && oe?.key === n && oe.columnId === a.column.id;
1110
- return /* @__PURE__ */ A("div", {
1111
- ref: c && !l ? xe : void 0,
1111
+ children: W.map((a, o) => {
1112
+ let c = z.row === t && z.column === o, l = a.kind === "data" && ue?.key === n && ue.columnId === a.column.id, d = a.kind === "data" ? P?.(e, a.column) : void 0;
1113
+ return /* @__PURE__ */ k("div", {
1114
+ ref: c && !l ? Ee : void 0,
1112
1115
  role: "gridcell",
1113
1116
  className: "data-grid__cell",
1114
1117
  "aria-colindex": o + 1,
1118
+ "aria-busy": d?.pending || void 0,
1119
+ "aria-describedby": d?.pending || d?.error ? `${R}-${t}-${o}` : void 0,
1120
+ "data-save-error": d?.error ? "" : void 0,
1115
1121
  "data-width": a.kind === "select" ? "select" : a.column.width ?? "md",
1116
1122
  "data-align": a.kind === "select" ? "start" : a.column.align ?? "start",
1117
1123
  "data-numeric": a.kind === "data" && a.column.numeric ? "" : void 0,
1118
1124
  "data-pin": s && o === 0 ? "" : void 0,
1119
1125
  "data-here": c ? "" : void 0,
1120
- "data-editable": a.kind === "data" && a.column.editable && w ? "" : void 0,
1126
+ "data-editable": a.kind === "data" && a.column.editable && D ? "" : void 0,
1121
1127
  tabIndex: c && !l ? 0 : -1,
1122
1128
  onFocus: (e) => {
1123
- e.target === e.currentTarget && ae({
1129
+ e.target === e.currentTarget && B({
1124
1130
  row: t,
1125
1131
  column: o
1126
1132
  });
1127
1133
  },
1128
- onDoubleClick: a.kind === "data" && a.column.editable && w ? () => q(e, a.column) : u ? () => u(e) : void 0,
1129
- children: a.kind === "select" ? /* @__PURE__ */ A(p, {
1134
+ onDoubleClick: a.kind === "data" && a.column.editable && D ? () => xe(e, a.column) : u ? () => u(e) : void 0,
1135
+ children: a.kind === "select" ? /* @__PURE__ */ k(p, {
1130
1136
  checked: r,
1131
- onChange: () => me(e),
1132
- "aria-label": y ? y(e) : `${n} 고르기`,
1137
+ onChange: () => _e(e),
1138
+ "aria-label": x ? x(e) : `${n} 고르기`,
1133
1139
  "data-part": "select-row"
1134
- }) : l ? /* @__PURE__ */ A("input", {
1140
+ }) : l ? /* @__PURE__ */ k("input", {
1135
1141
  className: "data-grid__editor",
1136
1142
  ref: (e) => e?.focus(),
1137
- value: le,
1143
+ value: fe,
1138
1144
  "aria-label": `${a.column.header} 고치기`,
1139
1145
  "data-part": "editor",
1140
- onChange: (e) => R(e.target.value),
1141
- onBlur: () => J(!0, e, a.column),
1146
+ onChange: (e) => pe(e.target.value),
1147
+ onBlur: () => Se(!0, e, a.column),
1142
1148
  onKeyDown: (t) => {
1143
- t.stopPropagation(), !(t.nativeEvent.isComposing || t.nativeEvent.keyCode === 229) && (t.key === "Enter" ? (t.preventDefault(), J(!0, e, a.column, !0)) : t.key === "Escape" && (t.preventDefault(), J(!1, e, a.column, !0)));
1149
+ t.stopPropagation(), !(t.nativeEvent.isComposing || t.nativeEvent.keyCode === 229) && (t.key === "Enter" ? (t.preventDefault(), Se(!0, e, a.column, !0)) : t.key === "Escape" && (t.preventDefault(), Se(!1, e, a.column, !0)));
1144
1150
  }
1145
- }) : /* @__PURE__ */ j(k, { children: [(() => {
1151
+ }) : /* @__PURE__ */ A(O, { children: [(() => {
1146
1152
  let t = i?.(e, a.column);
1147
- return t === void 0 ? null : /* @__PURE__ */ A("span", {
1153
+ return t === void 0 ? null : /* @__PURE__ */ k("span", {
1148
1154
  className: "data-grid__flash",
1149
1155
  "data-part": "flash",
1150
1156
  "aria-hidden": "true"
@@ -1155,14 +1161,14 @@ function et({ rows: e, columns: r, changed: i, rowKey: a, label: o, pinFirst: s,
1155
1161
  }, n);
1156
1162
  }) : null]
1157
1163
  }),
1158
- de ? /* @__PURE__ */ A("div", {
1164
+ ge ? /* @__PURE__ */ k("div", {
1159
1165
  role: "rowgroup",
1160
1166
  className: "data-grid__foot",
1161
- children: /* @__PURE__ */ A("div", {
1167
+ children: /* @__PURE__ */ k("div", {
1162
1168
  role: "row",
1163
1169
  className: "data-grid__row",
1164
- "aria-rowindex": pe + 2,
1165
- children: U.map((t, n) => /* @__PURE__ */ A("div", {
1170
+ "aria-rowindex": q + 2,
1171
+ children: W.map((t, n) => /* @__PURE__ */ k("div", {
1166
1172
  role: "gridcell",
1167
1173
  className: "data-grid__cell",
1168
1174
  "aria-colindex": n + 1,
@@ -1177,45 +1183,74 @@ function et({ rows: e, columns: r, changed: i, rowKey: a, label: o, pinFirst: s,
1177
1183
  ]
1178
1184
  })
1179
1185
  }),
1180
- W === "error" ? /* @__PURE__ */ A("p", {
1186
+ K === "error" || G ? /* @__PURE__ */ A("p", {
1181
1187
  className: "data-grid__state",
1182
1188
  role: "alert",
1183
1189
  "data-part": "error",
1184
- children: g
1185
- }) : W === "empty" ? /* @__PURE__ */ A("p", {
1190
+ id: `${R}-refresh`,
1191
+ "data-retained": G ? "" : void 0,
1192
+ children: [g, G ? /* @__PURE__ */ A(O, { children: [" 이전 결과를 표시합니다.", v ? /* @__PURE__ */ A(O, { children: [" 마지막 갱신: ", v] }) : null] }) : null]
1193
+ }) : K === "empty" ? /* @__PURE__ */ k("p", {
1186
1194
  className: "data-grid__empty",
1187
1195
  "data-part": "empty",
1188
1196
  children: d
1189
1197
  }) : null,
1190
- E ? /* @__PURE__ */ A("p", {
1198
+ P && K === "rows" ? /* @__PURE__ */ k("ul", {
1199
+ className: "data-grid__save-status",
1200
+ "data-part": "save-status",
1201
+ children: e.flatMap((e, t) => W.flatMap((r, i) => {
1202
+ if (r.kind !== "data") return [];
1203
+ let o = P(e, r.column);
1204
+ return !o?.pending && !o?.error ? [] : [/* @__PURE__ */ A("li", {
1205
+ id: `${R}-${t}-${i}`,
1206
+ children: [/* @__PURE__ */ A("span", {
1207
+ role: o.pending ? "status" : "alert",
1208
+ children: [
1209
+ x ? x(e) : a(e),
1210
+ " · ",
1211
+ r.column.header,
1212
+ ": ",
1213
+ o.pending ? "저장 중입니다" : o.error
1214
+ ]
1215
+ }), !o.pending && o.error && r.column.editable && D ? /* @__PURE__ */ k(n, {
1216
+ size: "sm",
1217
+ variant: "outline",
1218
+ onClick: () => xe(e, r.column),
1219
+ "data-part": "recover-draft",
1220
+ children: "입력 복구"
1221
+ }) : null]
1222
+ }, JSON.stringify([a(e), r.id]))];
1223
+ }))
1224
+ }) : null,
1225
+ L ? /* @__PURE__ */ k("p", {
1191
1226
  className: "data-grid__meta",
1192
1227
  role: "status",
1193
1228
  "data-part": "meta",
1194
- children: E
1229
+ children: L
1195
1230
  }) : null
1196
1231
  ]
1197
1232
  });
1198
1233
  }
1199
1234
  //#endregion
1200
1235
  //#region src/components/extended/Dropzone/Dropzone.tsx
1201
- function tt(e, t) {
1236
+ function et(e, t) {
1202
1237
  let n = (e ?? "").split(",").map((e) => e.trim().toLowerCase()).filter(Boolean);
1203
1238
  if (n.length === 0) return !0;
1204
1239
  let r = t.name.toLowerCase(), i = t.type.toLowerCase();
1205
1240
  return n.some((e) => e.startsWith(".") ? r.endsWith(e) : e.endsWith("/*") ? i.startsWith(e.slice(0, -1)) : i === e);
1206
1241
  }
1207
- var nt = {
1208
- done: z,
1209
- failed: Oe
1210
- }, rt = {
1242
+ var tt = {
1243
+ done: B,
1244
+ failed: De
1245
+ }, nt = {
1211
1246
  queued: "대기 중",
1212
1247
  uploading: "올리는 중",
1213
1248
  done: "완료",
1214
1249
  failed: "실패"
1215
1250
  };
1216
- function it({ label: e, hint: n, illustration: i, accept: a, multiple: o = !0, name: c, onFiles: l, files: u = [], disabled: d, className: f, ...p }) {
1217
- let m = P(), h = F(0), g = F(null), [v, y] = I(!1), [b, x] = I([]), S = (e) => {
1218
- let t = Array.from(e ?? []), n = [], r = t.filter((e) => tt(a, e) ? !0 : (n.push(`${e.name} — 받지 않는 형식입니다. ${a}만 받습니다`), !1));
1251
+ function rt({ label: e, hint: n, illustration: i, accept: a, multiple: o = !0, name: c, onFiles: l, files: u = [], disabled: d, className: f, ...p }) {
1252
+ let m = N(), h = F(0), g = F(null), [v, y] = I(!1), [b, x] = I([]), S = (e) => {
1253
+ let t = Array.from(e ?? []), n = [], r = t.filter((e) => et(a, e) ? !0 : (n.push(`${e.name} — 받지 않는 형식입니다. ${a}만 받습니다`), !1));
1219
1254
  return x(n), o ? r : r.slice(0, 1);
1220
1255
  }, C = (e) => {
1221
1256
  if (d) return;
@@ -1231,12 +1266,12 @@ function it({ label: e, hint: n, illustration: i, accept: a, multiple: o = !0, n
1231
1266
  }, T = () => {
1232
1267
  h.current = Math.max(0, h.current - 1), h.current === 0 && y(!1);
1233
1268
  };
1234
- return /* @__PURE__ */ j("div", {
1269
+ return /* @__PURE__ */ A("div", {
1235
1270
  ...p,
1236
1271
  className: `dropzone ${f ?? ""}`.trim(),
1237
1272
  "data-disabled": d ? "" : void 0,
1238
1273
  children: [
1239
- /* @__PURE__ */ j("label", {
1274
+ /* @__PURE__ */ A("label", {
1240
1275
  className: "dropzone__area",
1241
1276
  htmlFor: m,
1242
1277
  "data-over": v ? "" : void 0,
@@ -1250,21 +1285,21 @@ function it({ label: e, hint: n, illustration: i, accept: a, multiple: o = !0, n
1250
1285
  d || (e.preventDefault(), h.current = 0, y(!1), e.dataTransfer.files.length !== 0 && C(e.dataTransfer.files));
1251
1286
  },
1252
1287
  children: [
1253
- i === void 0 ? /* @__PURE__ */ A(r, {
1254
- icon: De,
1288
+ i === void 0 ? /* @__PURE__ */ k(r, {
1289
+ icon: Ee,
1255
1290
  size: "md",
1256
1291
  className: "dropzone__glyph",
1257
1292
  "aria-hidden": "true"
1258
1293
  }) : i,
1259
- /* @__PURE__ */ A("span", {
1294
+ /* @__PURE__ */ k("span", {
1260
1295
  className: "dropzone__label",
1261
1296
  children: e
1262
1297
  }),
1263
- n ? /* @__PURE__ */ A("span", {
1298
+ n ? /* @__PURE__ */ k("span", {
1264
1299
  className: "dropzone__hint",
1265
1300
  children: n
1266
1301
  }) : null,
1267
- /* @__PURE__ */ A("input", {
1302
+ /* @__PURE__ */ k("input", {
1268
1303
  ref: g,
1269
1304
  id: m,
1270
1305
  name: c,
@@ -1279,51 +1314,51 @@ function it({ label: e, hint: n, illustration: i, accept: a, multiple: o = !0, n
1279
1314
  })
1280
1315
  ]
1281
1316
  }),
1282
- /* @__PURE__ */ A("p", {
1317
+ /* @__PURE__ */ k("p", {
1283
1318
  className: "dropzone__refused",
1284
1319
  role: "alert",
1285
1320
  "data-part": "refused",
1286
1321
  children: b.join(" · ")
1287
1322
  }),
1288
- u.length > 0 ? /* @__PURE__ */ A("ul", {
1323
+ u.length > 0 ? /* @__PURE__ */ k("ul", {
1289
1324
  className: "dropzone__files",
1290
1325
  "data-part": "files",
1291
1326
  children: u.map((e) => {
1292
1327
  let n = e.state ?? "queued";
1293
- return /* @__PURE__ */ j("li", {
1328
+ return /* @__PURE__ */ A("li", {
1294
1329
  className: "dropzone__file",
1295
1330
  "data-state": n,
1296
1331
  "data-part": e.id,
1297
1332
  children: [
1298
- /* @__PURE__ */ j("div", {
1333
+ /* @__PURE__ */ A("div", {
1299
1334
  className: "dropzone__file-text",
1300
- children: [/* @__PURE__ */ j("p", {
1335
+ children: [/* @__PURE__ */ A("p", {
1301
1336
  className: "dropzone__file-name",
1302
1337
  children: [
1303
- /* @__PURE__ */ A(_, {
1304
- icon: n === "done" || n === "failed" ? nt[n] : void 0,
1338
+ /* @__PURE__ */ k(_, {
1339
+ icon: n === "done" || n === "failed" ? tt[n] : void 0,
1305
1340
  tone: n === "done" ? "success" : n === "failed" ? "danger" : "neutral",
1306
1341
  size: "xs",
1307
1342
  className: "dropzone__file-glyph",
1308
1343
  "data-part": "glyph"
1309
1344
  }),
1310
1345
  e.name,
1311
- /* @__PURE__ */ A("span", {
1346
+ /* @__PURE__ */ k("span", {
1312
1347
  className: "dropzone__said",
1313
- children: ` — ${rt[n]}`
1348
+ children: ` — ${nt[n]}`
1314
1349
  })
1315
1350
  ]
1316
- }), n === "failed" && e.error ? /* @__PURE__ */ A("p", {
1351
+ }), n === "failed" && e.error ? /* @__PURE__ */ k("p", {
1317
1352
  className: "dropzone__file-why",
1318
1353
  role: "alert",
1319
1354
  "data-part": "why",
1320
1355
  children: e.error
1321
- }) : e.size ? /* @__PURE__ */ A("p", {
1356
+ }) : e.size ? /* @__PURE__ */ k("p", {
1322
1357
  className: "dropzone__file-size",
1323
1358
  children: e.size
1324
1359
  }) : null]
1325
1360
  }),
1326
- n === "uploading" ? /* @__PURE__ */ A(s, {
1361
+ n === "uploading" ? /* @__PURE__ */ k(s, {
1327
1362
  value: e.value,
1328
1363
  max: 100,
1329
1364
  label: e.name,
@@ -1331,9 +1366,9 @@ function it({ label: e, hint: n, illustration: i, accept: a, multiple: o = !0, n
1331
1366
  className: "dropzone__file-bar",
1332
1367
  "data-part": "bar"
1333
1368
  }) : null,
1334
- /* @__PURE__ */ j("div", {
1369
+ /* @__PURE__ */ A("div", {
1335
1370
  className: "dropzone__file-actions",
1336
- children: [n === "failed" && e.onRetry ? /* @__PURE__ */ A(t, {
1371
+ children: [n === "failed" && e.onRetry ? /* @__PURE__ */ k(t, {
1337
1372
  icon: J,
1338
1373
  label: `${e.name} 다시 올리기`,
1339
1374
  size: "sm",
@@ -1341,8 +1376,8 @@ function it({ label: e, hint: n, illustration: i, accept: a, multiple: o = !0, n
1341
1376
  tone: "neutral",
1342
1377
  onClick: e.onRetry,
1343
1378
  "data-part": "retry"
1344
- }) : null, e.onCancel ? /* @__PURE__ */ A(t, {
1345
- icon: Y,
1379
+ }) : null, e.onCancel ? /* @__PURE__ */ k(t, {
1380
+ icon: X,
1346
1381
  label: n === "done" ? `${e.name} 지우기` : `${e.name} 취소`,
1347
1382
  size: "sm",
1348
1383
  variant: "ghost",
@@ -1360,34 +1395,34 @@ function it({ label: e, hint: n, illustration: i, accept: a, multiple: o = !0, n
1360
1395
  }
1361
1396
  //#endregion
1362
1397
  //#region src/components/extended/FeedbackControl/FeedbackControl.tsx
1363
- function at({ value: e, onRate: t, reasons: r = [], onReasons: i, askOn: a = "down", label: o = "이 답이 도움이 됐나요?", noteLabel: s = "더 알려 주실 것이 있나요?", className: c, ...u }) {
1364
- let d = F(null), f = P(), [p, m] = I([]), [h, g] = I(""), [_, v] = I(!1), y = !!e && r.length > 0 && !!i && (a === "both" || e === "down");
1365
- N(() => {
1398
+ function it({ value: e, onRate: t, reasons: r = [], onReasons: i, askOn: a = "down", label: o = "이 답이 도움이 됐나요?", noteLabel: s = "더 알려 주실 것이 있나요?", className: c, ...u }) {
1399
+ let d = F(null), f = N(), [p, m] = I([]), [h, g] = I(""), [_, v] = I(!1), y = !!e && r.length > 0 && !!i && (a === "both" || e === "down");
1400
+ M(() => {
1366
1401
  m([]), g(""), v(!1);
1367
1402
  }, [e]);
1368
1403
  let b = (n) => t(e === n ? null : n), S = F(!1);
1369
- N(() => {
1404
+ M(() => {
1370
1405
  S.current && (S.current = !1, document.activeElement === document.body && (d.current?.querySelector(`[data-part="${e === "up" ? "up" : "down"}"]`) ?? d.current)?.focus());
1371
1406
  }, [_]);
1372
1407
  let C = () => {
1373
1408
  i?.(p, h.trim()), S.current = !0, v(!0);
1374
1409
  };
1375
- return /* @__PURE__ */ j("section", {
1410
+ return /* @__PURE__ */ A("section", {
1376
1411
  className: `feedback-control ${c ?? ""}`.trim(),
1377
1412
  ref: d,
1378
1413
  tabIndex: -1,
1379
1414
  "aria-labelledby": f,
1380
1415
  ...u,
1381
- children: [/* @__PURE__ */ j("div", {
1416
+ children: [/* @__PURE__ */ A("div", {
1382
1417
  className: "feedback-control__rating",
1383
1418
  children: [
1384
- /* @__PURE__ */ A("p", {
1419
+ /* @__PURE__ */ k("p", {
1385
1420
  className: "feedback-control__label",
1386
1421
  id: f,
1387
1422
  children: o
1388
1423
  }),
1389
- /* @__PURE__ */ A(x, {
1390
- icon: Te,
1424
+ /* @__PURE__ */ k(x, {
1425
+ icon: we,
1391
1426
  pressed: e === "up",
1392
1427
  onPressedChange: () => b("up"),
1393
1428
  variant: "ghost",
@@ -1397,8 +1432,8 @@ function at({ value: e, onRate: t, reasons: r = [], onReasons: i, askOn: a = "do
1397
1432
  "data-testid": "up",
1398
1433
  children: "도움이 됐어요"
1399
1434
  }),
1400
- /* @__PURE__ */ A(x, {
1401
- icon: we,
1435
+ /* @__PURE__ */ k(x, {
1436
+ icon: Ce,
1402
1437
  pressed: e === "down",
1403
1438
  onPressedChange: () => b("down"),
1404
1439
  variant: "ghost",
@@ -1408,24 +1443,24 @@ function at({ value: e, onRate: t, reasons: r = [], onReasons: i, askOn: a = "do
1408
1443
  "data-testid": "down",
1409
1444
  children: "도움이 안 됐어요"
1410
1445
  }),
1411
- /* @__PURE__ */ A("p", {
1446
+ /* @__PURE__ */ k("p", {
1412
1447
  className: "feedback-control__said",
1413
1448
  role: "status",
1414
1449
  "data-part": "said",
1415
1450
  children: _ ? "보냈습니다. 고맙습니다." : e === "up" ? "도움이 됐다고 표시했습니다." : e === "down" ? "도움이 안 됐다고 표시했습니다." : ""
1416
1451
  })
1417
1452
  ]
1418
- }), y && !_ ? /* @__PURE__ */ j("div", {
1453
+ }), y && !_ ? /* @__PURE__ */ A("div", {
1419
1454
  className: "feedback-control__reasons",
1420
1455
  "data-part": "reasons",
1421
1456
  children: [
1422
- /* @__PURE__ */ A("p", {
1457
+ /* @__PURE__ */ k("p", {
1423
1458
  className: "feedback-control__question",
1424
1459
  children: e === "up" ? "무엇이 좋았나요? 고르지 않고 넘어가도 됩니다." : "무엇이 문제였나요? 고르지 않고 넘어가도 됩니다."
1425
1460
  }),
1426
- /* @__PURE__ */ A("div", {
1461
+ /* @__PURE__ */ k("div", {
1427
1462
  className: "feedback-control__chips",
1428
- children: r.map((e) => /* @__PURE__ */ A(x, {
1463
+ children: r.map((e) => /* @__PURE__ */ k(x, {
1429
1464
  pressed: p.includes(e.id),
1430
1465
  onPressedChange: () => m((t) => t.includes(e.id) ? t.filter((t) => t !== e.id) : [...t, e.id]),
1431
1466
  variant: "outline",
@@ -1436,7 +1471,7 @@ function at({ value: e, onRate: t, reasons: r = [], onReasons: i, askOn: a = "do
1436
1471
  children: e.label
1437
1472
  }, e.id))
1438
1473
  }),
1439
- /* @__PURE__ */ A(l, {
1474
+ /* @__PURE__ */ k(l, {
1440
1475
  "aria-label": s,
1441
1476
  placeholder: s,
1442
1477
  rows: 2,
@@ -1444,9 +1479,9 @@ function at({ value: e, onRate: t, reasons: r = [], onReasons: i, askOn: a = "do
1444
1479
  onChange: (e) => g(e.target.value),
1445
1480
  "data-part": "note"
1446
1481
  }),
1447
- /* @__PURE__ */ A("div", {
1482
+ /* @__PURE__ */ k("div", {
1448
1483
  className: "feedback-control__send",
1449
- children: /* @__PURE__ */ A(n, {
1484
+ children: /* @__PURE__ */ k(n, {
1450
1485
  size: "sm",
1451
1486
  variant: "solid",
1452
1487
  onClick: C,
@@ -1460,7 +1495,7 @@ function at({ value: e, onRate: t, reasons: r = [], onReasons: i, askOn: a = "do
1460
1495
  }
1461
1496
  //#endregion
1462
1497
  //#region src/components/extended/FilterBuilder/FilterBuilder.tsx
1463
- var Z = {
1498
+ var at = {
1464
1499
  text: [
1465
1500
  {
1466
1501
  value: "contains",
@@ -1528,7 +1563,7 @@ function st(e, t) {
1528
1563
  return {
1529
1564
  id: t,
1530
1565
  field: n.id,
1531
- operator: Z[n.type][0].value,
1566
+ operator: at[n.type][0].value,
1532
1567
  value: ""
1533
1568
  };
1534
1569
  }
@@ -1536,57 +1571,57 @@ function ct({ fields: e, rules: r, onRulesChange: i, join: a, onJoinChange: s, l
1536
1571
  let p = (t) => e.find((e) => e.id === t) ?? e[0], m = (e, t) => i(r.map((n) => n.id === e ? {
1537
1572
  ...n,
1538
1573
  ...t
1539
- } : n)), h = F(null), g = P(), _ = F(0);
1540
- N(() => {
1574
+ } : n)), h = F(null), g = N(), _ = F(0);
1575
+ M(() => {
1541
1576
  let t = new Set(e.map((e) => e.id));
1542
1577
  r.every((e) => t.has(e.field)) || i(r.map((n) => t.has(n.field) ? n : st(e, n.id)));
1543
1578
  }, [e, r]);
1544
1579
  let v = F(null);
1545
- return N(() => {
1580
+ return M(() => {
1546
1581
  let e = v.current;
1547
1582
  if (e === null || (v.current = null, document.activeElement !== document.body)) return;
1548
1583
  let t = h.current?.querySelectorAll("[data-part=\"remove\"]");
1549
1584
  ((t && t.length > 0 ? t[Math.min(e, t.length - 1)] : h.current?.querySelector("[data-part=\"add\"]")) ?? h.current)?.focus();
1550
- }, [r]), /* @__PURE__ */ j("div", {
1585
+ }, [r]), /* @__PURE__ */ A("div", {
1551
1586
  ...f,
1552
1587
  ref: h,
1553
1588
  tabIndex: -1,
1554
1589
  className: `filter-builder ${u ?? ""}`.trim(),
1555
1590
  role: "group",
1556
1591
  "aria-label": c,
1557
- children: [/* @__PURE__ */ A("ul", {
1592
+ children: [/* @__PURE__ */ k("ul", {
1558
1593
  className: "filter-builder__rules",
1559
1594
  children: r.map((n, c) => {
1560
- let l = p(n.field), u = Z[l.type], f = u.find((e) => e.value === n.operator) ?? u[0], h = `${l.label} ${f.label}${n.value ? ` ${n.value}` : ""}`;
1561
- return /* @__PURE__ */ j("li", {
1595
+ let l = p(n.field), u = at[l.type], f = u.find((e) => e.value === n.operator) ?? u[0], h = `${l.label} ${f.label}${n.value ? ` ${n.value}` : ""}`;
1596
+ return /* @__PURE__ */ A("li", {
1562
1597
  className: "filter-builder__rule",
1563
1598
  "data-part": "rule",
1564
1599
  children: [
1565
- /* @__PURE__ */ A("span", {
1600
+ /* @__PURE__ */ k("span", {
1566
1601
  className: "filter-builder__join",
1567
1602
  "data-part": "join",
1568
- children: c === 0 ? /* @__PURE__ */ A("span", {
1603
+ children: c === 0 ? /* @__PURE__ */ k("span", {
1569
1604
  className: "filter-builder__where",
1570
1605
  children: "조건"
1571
- }) : c === 1 ? /* @__PURE__ */ j(d, {
1606
+ }) : c === 1 ? /* @__PURE__ */ A(d, {
1572
1607
  size: "sm",
1573
1608
  value: a,
1574
1609
  onChange: (e) => s(e.target.value),
1575
1610
  "aria-label": "조건을 잇는 방법",
1576
1611
  "data-part": "join-select",
1577
- children: [/* @__PURE__ */ A("option", {
1612
+ children: [/* @__PURE__ */ k("option", {
1578
1613
  value: "and",
1579
1614
  children: "그리고"
1580
- }), /* @__PURE__ */ A("option", {
1615
+ }), /* @__PURE__ */ k("option", {
1581
1616
  value: "or",
1582
1617
  children: "또는"
1583
1618
  })]
1584
- }) : /* @__PURE__ */ A("span", {
1619
+ }) : /* @__PURE__ */ k("span", {
1585
1620
  className: "filter-builder__word",
1586
1621
  children: a === "and" ? "그리고" : "또는"
1587
1622
  })
1588
1623
  }),
1589
- /* @__PURE__ */ A(d, {
1624
+ /* @__PURE__ */ k(d, {
1590
1625
  size: "sm",
1591
1626
  value: n.field,
1592
1627
  "aria-label": `${c + 1}번 조건의 필드`,
@@ -1595,16 +1630,16 @@ function ct({ fields: e, rules: r, onRulesChange: i, join: a, onJoinChange: s, l
1595
1630
  let t = p(e.target.value);
1596
1631
  m(n.id, {
1597
1632
  field: t.id,
1598
- operator: Z[t.type][0].value,
1633
+ operator: at[t.type][0].value,
1599
1634
  value: ""
1600
1635
  });
1601
1636
  },
1602
- children: e.map((e) => /* @__PURE__ */ A("option", {
1637
+ children: e.map((e) => /* @__PURE__ */ k("option", {
1603
1638
  value: e.id,
1604
1639
  children: e.label
1605
1640
  }, e.id))
1606
1641
  }),
1607
- /* @__PURE__ */ A(d, {
1642
+ /* @__PURE__ */ k(d, {
1608
1643
  size: "sm",
1609
1644
  value: f.value,
1610
1645
  onChange: (e) => {
@@ -1616,30 +1651,30 @@ function ct({ fields: e, rules: r, onRulesChange: i, join: a, onJoinChange: s, l
1616
1651
  },
1617
1652
  "aria-label": `${l.label}에 적용할 연산자`,
1618
1653
  "data-part": "operator",
1619
- children: u.map((e) => /* @__PURE__ */ A("option", {
1654
+ children: u.map((e) => /* @__PURE__ */ k("option", {
1620
1655
  value: e.value,
1621
1656
  children: e.label
1622
1657
  }, e.value))
1623
1658
  }),
1624
- /* @__PURE__ */ A("span", {
1659
+ /* @__PURE__ */ k("span", {
1625
1660
  className: "filter-builder__value",
1626
- children: ot.has(f.value) ? /* @__PURE__ */ A("span", {
1661
+ children: ot.has(f.value) ? /* @__PURE__ */ k("span", {
1627
1662
  className: "filter-builder__none",
1628
1663
  children: "값 없음"
1629
- }) : l.type === "choice" ? /* @__PURE__ */ j(d, {
1664
+ }) : l.type === "choice" ? /* @__PURE__ */ A(d, {
1630
1665
  size: "sm",
1631
1666
  value: n.value,
1632
1667
  onChange: (e) => m(n.id, { value: e.target.value }),
1633
1668
  "aria-label": `${l.label} 값`,
1634
1669
  "data-part": "value",
1635
- children: [/* @__PURE__ */ A("option", {
1670
+ children: [/* @__PURE__ */ k("option", {
1636
1671
  value: "",
1637
1672
  children: "고르세요"
1638
- }), l.options?.map((e) => /* @__PURE__ */ A("option", {
1673
+ }), l.options?.map((e) => /* @__PURE__ */ k("option", {
1639
1674
  value: e.value,
1640
1675
  children: e.label
1641
1676
  }, e.value))]
1642
- }) : /* @__PURE__ */ A(o, {
1677
+ }) : /* @__PURE__ */ k(o, {
1643
1678
  size: "sm",
1644
1679
  type: l.type === "date" ? "date" : l.type === "number" ? "number" : "text",
1645
1680
  value: n.value,
@@ -1648,8 +1683,8 @@ function ct({ fields: e, rules: r, onRulesChange: i, join: a, onJoinChange: s, l
1648
1683
  "data-part": "value"
1649
1684
  })
1650
1685
  }),
1651
- /* @__PURE__ */ A(t, {
1652
- icon: Y,
1686
+ /* @__PURE__ */ k(t, {
1687
+ icon: X,
1653
1688
  label: `${h} 조건 지우기`,
1654
1689
  size: "sm",
1655
1690
  onClick: () => {
@@ -1660,7 +1695,7 @@ function ct({ fields: e, rules: r, onRulesChange: i, join: a, onJoinChange: s, l
1660
1695
  ]
1661
1696
  }, n.id);
1662
1697
  })
1663
- }), /* @__PURE__ */ A(n, {
1698
+ }), /* @__PURE__ */ k(n, {
1664
1699
  variant: "ghost",
1665
1700
  tone: "neutral",
1666
1701
  size: "sm",
@@ -1675,36 +1710,36 @@ function ct({ fields: e, rules: r, onRulesChange: i, join: a, onJoinChange: s, l
1675
1710
  //#endregion
1676
1711
  //#region src/components/extended/FollowUpList/FollowUpList.tsx
1677
1712
  function lt({ items: e, onAsk: t, label: n = "이어서 물어볼 것", collapsible: i, defaultOpen: a = !0, className: o, ...s }) {
1678
- let c = /* @__PURE__ */ A("ul", {
1713
+ let c = /* @__PURE__ */ k("ul", {
1679
1714
  className: "follow-up-list__items",
1680
- children: e.map((e) => /* @__PURE__ */ A("li", { children: /* @__PURE__ */ j("button", {
1715
+ children: e.map((e) => /* @__PURE__ */ k("li", { children: /* @__PURE__ */ A("button", {
1681
1716
  type: "button",
1682
1717
  className: "follow-up-list__item",
1683
1718
  onClick: () => t(e),
1684
1719
  "data-part": "ask",
1685
- children: [/* @__PURE__ */ A(r, {
1686
- icon: U,
1720
+ children: [/* @__PURE__ */ k(r, {
1721
+ icon: pe,
1687
1722
  size: "sm",
1688
1723
  tone: "muted",
1689
1724
  "aria-hidden": "true"
1690
- }), /* @__PURE__ */ A("span", { children: e.question })]
1725
+ }), /* @__PURE__ */ k("span", { children: e.question })]
1691
1726
  }) }, e.id))
1692
1727
  });
1693
- return i ? /* @__PURE__ */ A("div", {
1728
+ return i ? /* @__PURE__ */ k("div", {
1694
1729
  className: `follow-up-list ${o ?? ""}`.trim(),
1695
1730
  ...s,
1696
- children: /* @__PURE__ */ A(C, {
1731
+ children: /* @__PURE__ */ k(C, {
1697
1732
  summary: n,
1698
1733
  defaultOpen: a,
1699
1734
  plain: !0,
1700
1735
  aside: `${e.length}개`,
1701
1736
  children: c
1702
1737
  })
1703
- }) : /* @__PURE__ */ j("section", {
1738
+ }) : /* @__PURE__ */ A("section", {
1704
1739
  className: `follow-up-list ${o ?? ""}`.trim(),
1705
1740
  "aria-label": n,
1706
1741
  ...s,
1707
- children: [/* @__PURE__ */ A("p", {
1742
+ children: [/* @__PURE__ */ k("p", {
1708
1743
  className: "follow-up-list__label",
1709
1744
  children: n
1710
1745
  }), c]
@@ -1736,7 +1771,7 @@ function Q(e, t) {
1736
1771
  var ft = "application/x-kanban-card";
1737
1772
  function pt({ title: e, cards: n, limit: a, onMove: o, onDropCard: s, onAdd: c, loading: l, loadingCards: u = 2, empty: d, error: f, neighbours: p, className: h, ...g }) {
1738
1773
  let _ = F(null), [v, y] = I(!1), [b, x] = I(""), S = F(null), [C, w] = I(null), T = a !== void 0 && n.length > a;
1739
- N(() => {
1774
+ M(() => {
1740
1775
  let e = S.current, t = _.current;
1741
1776
  if (S.current = null, !e || !t || document.activeElement !== document.body) return;
1742
1777
  let n = [...t.querySelectorAll(`[data-part="${e.part}"]`)];
@@ -1748,18 +1783,18 @@ function pt({ title: e, cards: n, limit: a, onMove: o, onDropCard: s, onAdd: c,
1748
1783
  at: t,
1749
1784
  part: n === -1 ? "back" : "forward"
1750
1785
  }, o?.(e.id, n);
1751
- }, D = (e) => [...e.dataTransfer.types].includes(ft), O = (e) => {
1752
- !s || !D(e) || (e.preventDefault(), y(!0));
1786
+ }, ee = (e) => [...e.dataTransfer.types].includes(ft), D = (e) => {
1787
+ !s || !ee(e) || (e.preventDefault(), y(!0));
1753
1788
  };
1754
- return /* @__PURE__ */ j("section", {
1789
+ return /* @__PURE__ */ A("section", {
1755
1790
  ...g,
1756
1791
  className: `kanban-column ${h ?? ""}`.trim(),
1757
1792
  "data-over": v ? "" : void 0,
1758
1793
  "data-past": T ? "" : void 0,
1759
1794
  ref: _,
1760
1795
  "aria-label": `${e} — ${f ? "불러오지 못했습니다" : l ? "불러오는 중" : `${n.length}장${T ? `, 한도 ${a}장 초과` : ""}`}`,
1761
- onDragOver: O,
1762
- onDragEnter: O,
1796
+ onDragOver: D,
1797
+ onDragEnter: D,
1763
1798
  onDragLeave: (e) => {
1764
1799
  let t = e.relatedTarget;
1765
1800
  t && e.currentTarget.contains(t) || y(!1);
@@ -1770,27 +1805,27 @@ function pt({ title: e, cards: n, limit: a, onMove: o, onDropCard: s, onAdd: c,
1770
1805
  t && s && (e.preventDefault(), s(t));
1771
1806
  },
1772
1807
  children: [
1773
- /* @__PURE__ */ A(i, {
1808
+ /* @__PURE__ */ k(i, {
1774
1809
  as: "p",
1775
- children: /* @__PURE__ */ A("span", {
1810
+ children: /* @__PURE__ */ k("span", {
1776
1811
  role: "status",
1777
1812
  "data-part": "live",
1778
1813
  children: b
1779
1814
  })
1780
1815
  }),
1781
- /* @__PURE__ */ j("header", {
1816
+ /* @__PURE__ */ A("header", {
1782
1817
  className: "kanban-column__head",
1783
1818
  children: [
1784
- /* @__PURE__ */ A("h3", {
1819
+ /* @__PURE__ */ k("h3", {
1785
1820
  className: "kanban-column__title",
1786
1821
  children: e
1787
1822
  }),
1788
- /* @__PURE__ */ A("p", {
1823
+ /* @__PURE__ */ k("p", {
1789
1824
  className: "kanban-column__count",
1790
1825
  "data-part": "count",
1791
1826
  children: a === void 0 ? n.length : `${n.length} / ${a}`
1792
1827
  }),
1793
- c ? /* @__PURE__ */ A(t, {
1828
+ c ? /* @__PURE__ */ k(t, {
1794
1829
  icon: q,
1795
1830
  label: `${e}에 카드 추가`,
1796
1831
  size: "sm",
@@ -1799,10 +1834,10 @@ function pt({ title: e, cards: n, limit: a, onMove: o, onDropCard: s, onAdd: c,
1799
1834
  }) : null
1800
1835
  ]
1801
1836
  }),
1802
- /* @__PURE__ */ j("ul", {
1837
+ /* @__PURE__ */ A("ul", {
1803
1838
  className: "kanban-column__cards",
1804
1839
  "aria-busy": l || void 0,
1805
- children: [l || f ? null : n.map((e, n) => /* @__PURE__ */ j("li", {
1840
+ children: [l || f ? null : n.map((e, n) => /* @__PURE__ */ A("li", {
1806
1841
  className: "kanban-column__card",
1807
1842
  "data-part": "card",
1808
1843
  draggable: !!s,
@@ -1812,39 +1847,39 @@ function pt({ title: e, cards: n, limit: a, onMove: o, onDropCard: s, onAdd: c,
1812
1847
  },
1813
1848
  onDragEnd: () => w(null),
1814
1849
  children: [
1815
- s ? /* @__PURE__ */ A("span", {
1850
+ s ? /* @__PURE__ */ k("span", {
1816
1851
  className: "kanban-column__grip",
1817
1852
  "aria-hidden": "true",
1818
1853
  "data-part": "grip",
1819
- children: /* @__PURE__ */ A(r, {
1820
- icon: W,
1854
+ children: /* @__PURE__ */ k(r, {
1855
+ icon: V,
1821
1856
  size: "xs"
1822
1857
  })
1823
1858
  }) : null,
1824
- /* @__PURE__ */ A("p", {
1859
+ /* @__PURE__ */ k("p", {
1825
1860
  className: "kanban-column__card-title",
1826
1861
  children: e.title
1827
1862
  }),
1828
- e.meta ? /* @__PURE__ */ A("p", {
1863
+ e.meta ? /* @__PURE__ */ k("p", {
1829
1864
  className: "kanban-column__card-meta",
1830
1865
  children: e.meta
1831
1866
  }) : null,
1832
- e.footer ? /* @__PURE__ */ A("div", {
1867
+ e.footer ? /* @__PURE__ */ k("div", {
1833
1868
  className: "kanban-column__card-foot",
1834
1869
  children: e.footer
1835
1870
  }) : null,
1836
- o ? /* @__PURE__ */ j("div", {
1871
+ o ? /* @__PURE__ */ A("div", {
1837
1872
  className: "kanban-column__move",
1838
1873
  "data-part": "move",
1839
- children: [/* @__PURE__ */ A(t, {
1840
- icon: B,
1874
+ children: [/* @__PURE__ */ k(t, {
1875
+ icon: ue,
1841
1876
  label: p?.back ? `${Q(e.title, "을/를")} ${Q(p.back, "으로/로")} 옮기기` : `${e.title} 앞으로 옮기기`,
1842
1877
  size: "sm",
1843
1878
  disabled: !p?.back,
1844
1879
  onClick: () => E(e, n, -1),
1845
1880
  "data-part": "back"
1846
- }), /* @__PURE__ */ A(t, {
1847
- icon: V,
1881
+ }), /* @__PURE__ */ k(t, {
1882
+ icon: de,
1848
1883
  label: p?.forward ? `${Q(e.title, "을/를")} ${Q(p.forward, "으로/로")} 옮기기` : `${e.title} 뒤로 옮기기`,
1849
1884
  size: "sm",
1850
1885
  disabled: !p?.forward,
@@ -1853,32 +1888,32 @@ function pt({ title: e, cards: n, limit: a, onMove: o, onDropCard: s, onAdd: c,
1853
1888
  })]
1854
1889
  }) : null
1855
1890
  ]
1856
- }, e.id)), f ? /* @__PURE__ */ A("li", {
1891
+ }, e.id)), f ? /* @__PURE__ */ k("li", {
1857
1892
  className: "kanban-column__state",
1858
1893
  role: "alert",
1859
1894
  "data-part": "error",
1860
1895
  children: f
1861
- }) : l ? Array.from({ length: u }, (e, t) => /* @__PURE__ */ j("li", {
1896
+ }) : l ? Array.from({ length: u }, (e, t) => /* @__PURE__ */ A("li", {
1862
1897
  className: "kanban-column__card",
1863
1898
  "data-part": "waiting-card",
1864
- children: [/* @__PURE__ */ A(m, {
1899
+ children: [/* @__PURE__ */ k(m, {
1865
1900
  shape: "text",
1866
1901
  lines: 1
1867
- }), /* @__PURE__ */ A(m, {
1902
+ }), /* @__PURE__ */ k(m, {
1868
1903
  shape: "text",
1869
1904
  lines: 1
1870
1905
  })]
1871
- }, `waiting-${t}`)) : n.length === 0 ? /* @__PURE__ */ j("li", {
1906
+ }, `waiting-${t}`)) : n.length === 0 ? /* @__PURE__ */ A("li", {
1872
1907
  className: "kanban-column__empty",
1873
1908
  "data-part": "empty",
1874
- children: [/* @__PURE__ */ A(r, {
1909
+ children: [/* @__PURE__ */ k(r, {
1875
1910
  icon: q,
1876
1911
  size: "sm",
1877
1912
  "aria-hidden": "true"
1878
1913
  }), d ?? "비어 있습니다"]
1879
1914
  }) : null]
1880
1915
  }),
1881
- v ? /* @__PURE__ */ j("p", {
1916
+ v ? /* @__PURE__ */ A("p", {
1882
1917
  className: "kanban-column__drop",
1883
1918
  "data-part": "drop",
1884
1919
  "aria-hidden": "true",
@@ -1896,53 +1931,53 @@ var mt = {
1896
1931
  };
1897
1932
  function ht({ children: e, role: t = "assistant", author: n, avatar: r, time: i, timeLabel: a, state: o = "sent", edited: s, actions: c, attachments: l, footer: u, className: d, ...f }) {
1898
1933
  let p = n ?? mt[t];
1899
- return /* @__PURE__ */ j("article", {
1934
+ return /* @__PURE__ */ A("article", {
1900
1935
  ...f,
1901
1936
  className: `message ${d ?? ""}`.trim(),
1902
1937
  "data-role": t,
1903
1938
  "data-state": o,
1904
1939
  "aria-label": p,
1905
1940
  "aria-busy": o === "streaming" || void 0,
1906
- children: [r ? /* @__PURE__ */ A("div", {
1941
+ children: [r ? /* @__PURE__ */ k("div", {
1907
1942
  className: "message__avatar",
1908
1943
  "data-part": "avatar",
1909
1944
  children: r
1910
- }) : null, /* @__PURE__ */ j("div", {
1945
+ }) : null, /* @__PURE__ */ A("div", {
1911
1946
  className: "message__body",
1912
1947
  children: [
1913
- /* @__PURE__ */ j("header", {
1948
+ /* @__PURE__ */ A("header", {
1914
1949
  className: "message__head",
1915
1950
  children: [
1916
- /* @__PURE__ */ A("span", {
1951
+ /* @__PURE__ */ k("span", {
1917
1952
  className: "message__author",
1918
1953
  children: p
1919
1954
  }),
1920
- i ? /* @__PURE__ */ A("time", {
1955
+ i ? /* @__PURE__ */ k("time", {
1921
1956
  className: "message__time",
1922
1957
  dateTime: i,
1923
1958
  children: a ?? i
1924
1959
  }) : null,
1925
- s ? /* @__PURE__ */ A("span", {
1960
+ s ? /* @__PURE__ */ k("span", {
1926
1961
  className: "message__edited",
1927
1962
  children: "편집됨"
1928
1963
  }) : null
1929
1964
  ]
1930
1965
  }),
1931
- l ? /* @__PURE__ */ A("div", {
1966
+ l ? /* @__PURE__ */ k("div", {
1932
1967
  className: "message__attachments",
1933
1968
  children: l
1934
1969
  }) : null,
1935
- /* @__PURE__ */ A("div", {
1970
+ /* @__PURE__ */ k("div", {
1936
1971
  className: "message__text",
1937
1972
  "data-part": "text",
1938
1973
  children: e
1939
1974
  }),
1940
- u ? /* @__PURE__ */ A("div", {
1975
+ u ? /* @__PURE__ */ k("div", {
1941
1976
  className: "message__footer",
1942
1977
  "data-part": "footer",
1943
1978
  children: u
1944
1979
  }) : null,
1945
- c ? /* @__PURE__ */ A("div", {
1980
+ c ? /* @__PURE__ */ k("div", {
1946
1981
  className: "message__actions",
1947
1982
  "data-part": "actions",
1948
1983
  children: c
@@ -1954,12 +1989,12 @@ function ht({ children: e, role: t = "assistant", author: n, avatar: r, time: i,
1954
1989
  //#endregion
1955
1990
  //#region src/components/extended/MessageList/MessageList.tsx
1956
1991
  function gt({ children: e, loading: t, loadingMessages: n = 3, empty: i, error: a, streaming: o, label: s, threshold: c = 32, jumpLabel: l = "맨 아래로", className: u, ...d }) {
1957
- let f = F(null), p = F(null), h = F(!0), g = F(!1), [_, v] = I(!1), y = M(() => {
1992
+ let f = F(null), p = F(null), h = F(!0), g = F(!1), [_, v] = I(!1), y = j(() => {
1958
1993
  let e = f.current;
1959
1994
  if (!e) return;
1960
1995
  let t = e.scrollHeight - e.scrollTop - e.clientHeight;
1961
1996
  g.current || (h.current = t <= c, v(!h.current));
1962
- }, [c]), b = F(0), x = M((e) => {
1997
+ }, [c]), b = F(0), x = j((e) => {
1963
1998
  let t = f.current;
1964
1999
  if (!t) return;
1965
2000
  cancelAnimationFrame(b.current);
@@ -1980,7 +2015,7 @@ function gt({ children: e, loading: t, loadingMessages: n = 3, empty: i, error:
1980
2015
  };
1981
2016
  b.current = requestAnimationFrame(o);
1982
2017
  }, [y]);
1983
- return N(() => {
2018
+ return M(() => {
1984
2019
  let e = f.current;
1985
2020
  if (!e) return;
1986
2021
  let t = () => {
@@ -1994,7 +2029,7 @@ function gt({ children: e, loading: t, loadingMessages: n = 3, empty: i, error:
1994
2029
  return () => {
1995
2030
  for (let r of n) e.removeEventListener(r, t);
1996
2031
  };
1997
- }, []), N(() => {
2032
+ }, []), M(() => {
1998
2033
  let e = p.current;
1999
2034
  if (!e) return;
2000
2035
  let t = new ResizeObserver(() => {
@@ -2006,10 +2041,10 @@ function gt({ children: e, loading: t, loadingMessages: n = 3, empty: i, error:
2006
2041
  return t.observe(e), x(!1), () => {
2007
2042
  t.disconnect(), cancelAnimationFrame(b.current), g.current = !1;
2008
2043
  };
2009
- }, [y, x]), /* @__PURE__ */ j("div", {
2044
+ }, [y, x]), /* @__PURE__ */ A("div", {
2010
2045
  className: `message-list ${u ?? ""}`.trim(),
2011
2046
  ...d,
2012
- children: [/* @__PURE__ */ A("div", {
2047
+ children: [/* @__PURE__ */ k("div", {
2013
2048
  ref: f,
2014
2049
  className: "message-list__scroll",
2015
2050
  tabIndex: 0,
@@ -2018,36 +2053,36 @@ function gt({ children: e, loading: t, loadingMessages: n = 3, empty: i, error:
2018
2053
  "aria-busy": t || o || void 0,
2019
2054
  onScroll: y,
2020
2055
  "data-part": "scroll",
2021
- children: /* @__PURE__ */ A("div", {
2056
+ children: /* @__PURE__ */ k("div", {
2022
2057
  ref: p,
2023
2058
  className: "message-list__content",
2024
- children: a ? /* @__PURE__ */ A("p", {
2059
+ children: a ? /* @__PURE__ */ k("p", {
2025
2060
  className: "message-list__state",
2026
2061
  role: "alert",
2027
2062
  "data-part": "error",
2028
2063
  children: a
2029
- }) : t ? Array.from({ length: n }, (e, t) => /* @__PURE__ */ A("div", {
2064
+ }) : t ? Array.from({ length: n }, (e, t) => /* @__PURE__ */ k("div", {
2030
2065
  className: "message-list__waiting",
2031
2066
  "data-part": "waiting-message",
2032
2067
  "data-side": t % 2 == 0 ? "them" : "me",
2033
- children: /* @__PURE__ */ A(m, {
2068
+ children: /* @__PURE__ */ k(m, {
2034
2069
  shape: "text",
2035
2070
  lines: t % 2 == 0 ? 2 : 1
2036
2071
  })
2037
- }, `waiting-${t}`)) : i ? /* @__PURE__ */ A("p", {
2072
+ }, `waiting-${t}`)) : i ? /* @__PURE__ */ k("p", {
2038
2073
  className: "message-list__state",
2039
2074
  "data-part": "empty",
2040
2075
  children: i
2041
2076
  }) : e
2042
2077
  })
2043
- }), _ ? /* @__PURE__ */ j("button", {
2078
+ }), _ ? /* @__PURE__ */ A("button", {
2044
2079
  type: "button",
2045
2080
  className: "message-list__jump",
2046
2081
  onClick: () => {
2047
2082
  h.current = !0, v(!1), x(!0);
2048
2083
  },
2049
2084
  "data-part": "jump",
2050
- children: [/* @__PURE__ */ A(r, {
2085
+ children: [/* @__PURE__ */ k(r, {
2051
2086
  icon: ie,
2052
2087
  size: "sm",
2053
2088
  "aria-hidden": "true"
@@ -2060,7 +2095,7 @@ function gt({ children: e, loading: t, loadingMessages: n = 3, empty: i, error:
2060
2095
  var _t = {
2061
2096
  up: ce,
2062
2097
  down: ae,
2063
- flat: he
2098
+ flat: G
2064
2099
  }, vt = {
2065
2100
  up: "증가",
2066
2101
  down: "감소",
@@ -2068,65 +2103,65 @@ var _t = {
2068
2103
  };
2069
2104
  function yt({ label: e, value: t, delta: n, compare: i, chart: a, loading: o, empty: s, error: c, className: l, ...u }) {
2070
2105
  let d = n?.meaning ?? "neutral";
2071
- return /* @__PURE__ */ j("section", {
2106
+ return /* @__PURE__ */ A("section", {
2072
2107
  ...u,
2073
2108
  className: `metric-card ${l ?? ""}`.trim(),
2074
2109
  "aria-label": e,
2075
2110
  "aria-busy": o || void 0,
2076
2111
  children: [
2077
- /* @__PURE__ */ A("p", {
2112
+ /* @__PURE__ */ k("p", {
2078
2113
  className: "metric-card__label",
2079
2114
  children: e
2080
2115
  }),
2081
- c ? /* @__PURE__ */ A("p", {
2116
+ c ? /* @__PURE__ */ k("p", {
2082
2117
  className: "metric-card__state",
2083
2118
  role: "alert",
2084
2119
  "data-part": "error",
2085
2120
  children: c
2086
- }) : o ? /* @__PURE__ */ j("div", {
2121
+ }) : o ? /* @__PURE__ */ A("div", {
2087
2122
  className: "metric-card__waiting",
2088
2123
  "data-part": "waiting",
2089
- children: [/* @__PURE__ */ A(m, {
2124
+ children: [/* @__PURE__ */ k(m, {
2090
2125
  shape: "rect",
2091
2126
  "data-part": "waiting-value"
2092
- }), /* @__PURE__ */ A(m, {
2127
+ }), /* @__PURE__ */ k(m, {
2093
2128
  shape: "rect",
2094
2129
  "data-part": "waiting-delta"
2095
2130
  })]
2096
- }) : s ? /* @__PURE__ */ A("p", {
2131
+ }) : s ? /* @__PURE__ */ k("p", {
2097
2132
  className: "metric-card__state",
2098
2133
  "data-part": "empty",
2099
2134
  children: s
2100
- }) : /* @__PURE__ */ j(k, { children: [/* @__PURE__ */ A("p", {
2135
+ }) : /* @__PURE__ */ A(O, { children: [/* @__PURE__ */ k("p", {
2101
2136
  className: "metric-card__value",
2102
2137
  "data-part": "value",
2103
2138
  children: t
2104
- }), n ? /* @__PURE__ */ j("p", {
2139
+ }), n ? /* @__PURE__ */ A("p", {
2105
2140
  className: "metric-card__delta",
2106
2141
  "data-meaning": d,
2107
2142
  "data-part": "delta",
2108
2143
  children: [
2109
- /* @__PURE__ */ A(r, {
2144
+ /* @__PURE__ */ k(r, {
2110
2145
  icon: _t[n.direction],
2111
2146
  size: "xs",
2112
2147
  "aria-hidden": "true"
2113
2148
  }),
2114
- /* @__PURE__ */ A("span", { children: n.value }),
2115
- /* @__PURE__ */ A("span", {
2149
+ /* @__PURE__ */ k("span", { children: n.value }),
2150
+ /* @__PURE__ */ k("span", {
2116
2151
  className: "metric-card__said",
2117
2152
  children: ` ${vt[n.direction]}`
2118
2153
  }),
2119
- i ? /* @__PURE__ */ A("span", {
2154
+ i ? /* @__PURE__ */ k("span", {
2120
2155
  className: "metric-card__compare",
2121
2156
  children: i
2122
2157
  }) : null
2123
2158
  ]
2124
- }) : i ? /* @__PURE__ */ A("p", {
2159
+ }) : i ? /* @__PURE__ */ k("p", {
2125
2160
  className: "metric-card__compare",
2126
2161
  "data-part": "compare",
2127
2162
  children: i
2128
2163
  }) : null] }),
2129
- a && !o && !c && !s ? /* @__PURE__ */ A("div", {
2164
+ a && !o && !c && !s ? /* @__PURE__ */ k("div", {
2130
2165
  className: "metric-card__chart",
2131
2166
  "data-part": "chart",
2132
2167
  children: a
@@ -2150,16 +2185,16 @@ function $(e, { locale: t = "ko-KR", currency: n = "KRW", affix: r = "word" } =
2150
2185
  }
2151
2186
  function xt({ amount: e, was: t, currency: n = "KRW", locale: r = "ko-KR", affix: a = "word", size: o = "md", note: s, saving: c, label: l, className: u, ...d }) {
2152
2187
  let f = t !== void 0 && t > e, p = f ? Math.floor((t - e) / t * 100) : 0;
2153
- return /* @__PURE__ */ j("p", {
2188
+ return /* @__PURE__ */ A("p", {
2154
2189
  ...d,
2155
2190
  className: `price-display ${u ?? ""}`.trim(),
2156
2191
  "data-size": o,
2157
2192
  children: [
2158
- l ? /* @__PURE__ */ j(i, { children: [l, " "] }) : null,
2159
- /* @__PURE__ */ j("span", {
2193
+ l ? /* @__PURE__ */ A(i, { children: [l, " "] }) : null,
2194
+ /* @__PURE__ */ A("span", {
2160
2195
  className: "price-display__now",
2161
2196
  "data-part": "now",
2162
- children: [f ? /* @__PURE__ */ A(i, { children: "할인가 " }) : null, /* @__PURE__ */ A("data", {
2197
+ children: [f ? /* @__PURE__ */ k(i, { children: "할인가 " }) : null, /* @__PURE__ */ k("data", {
2163
2198
  value: e,
2164
2199
  children: $(e, {
2165
2200
  locale: r,
@@ -2168,10 +2203,10 @@ function xt({ amount: e, was: t, currency: n = "KRW", locale: r = "ko-KR", affix
2168
2203
  })
2169
2204
  })]
2170
2205
  }),
2171
- f ? /* @__PURE__ */ j("s", {
2206
+ f ? /* @__PURE__ */ A("s", {
2172
2207
  className: "price-display__was",
2173
2208
  "data-part": "was",
2174
- children: [/* @__PURE__ */ A(i, { children: "원래 가격 " }), /* @__PURE__ */ A("data", {
2209
+ children: [/* @__PURE__ */ k(i, { children: "원래 가격 " }), /* @__PURE__ */ k("data", {
2175
2210
  value: t,
2176
2211
  children: $(t, {
2177
2212
  locale: r,
@@ -2180,16 +2215,16 @@ function xt({ amount: e, was: t, currency: n = "KRW", locale: r = "ko-KR", affix
2180
2215
  })
2181
2216
  })]
2182
2217
  }) : null,
2183
- f && c && p > 0 ? /* @__PURE__ */ j("span", {
2218
+ f && c && p > 0 ? /* @__PURE__ */ A("span", {
2184
2219
  className: "price-display__off",
2185
2220
  "data-part": "off",
2186
2221
  children: [
2187
2222
  p,
2188
2223
  "%",
2189
- /* @__PURE__ */ A(i, { children: " 할인" })
2224
+ /* @__PURE__ */ k(i, { children: " 할인" })
2190
2225
  ]
2191
2226
  }) : null,
2192
- s ? /* @__PURE__ */ A("span", {
2227
+ s ? /* @__PURE__ */ k("span", {
2193
2228
  className: "price-display__note",
2194
2229
  children: s
2195
2230
  }) : null
@@ -2208,48 +2243,48 @@ function St({ lines: e, total: t, label: n, currency: r = "KRW", locale: i = "ko
2208
2243
  });
2209
2244
  return t === "discount" ? `−${n}` : n;
2210
2245
  }, h = (e) => e.kind === "free" ? 0 : e.kind === "discount" ? -e.amount : e.amount;
2211
- return /* @__PURE__ */ j("section", {
2246
+ return /* @__PURE__ */ A("section", {
2212
2247
  ...p,
2213
2248
  className: `order-summary ${f ?? ""}`.trim(),
2214
2249
  "aria-label": n,
2215
- children: [/* @__PURE__ */ j("dl", {
2250
+ children: [/* @__PURE__ */ A("dl", {
2216
2251
  className: "order-summary__lines",
2217
- children: [e.map((e) => /* @__PURE__ */ j("div", {
2252
+ children: [e.map((e) => /* @__PURE__ */ A("div", {
2218
2253
  className: "order-summary__line",
2219
2254
  "data-kind": e.kind ?? "charge",
2220
2255
  "data-part": "line",
2221
- children: [/* @__PURE__ */ j("dt", {
2256
+ children: [/* @__PURE__ */ A("dt", {
2222
2257
  className: "order-summary__label",
2223
- children: [e.label, e.note ? /* @__PURE__ */ A("span", {
2258
+ children: [e.label, e.note ? /* @__PURE__ */ k("span", {
2224
2259
  className: "order-summary__note",
2225
2260
  children: e.note
2226
2261
  }) : null]
2227
- }), /* @__PURE__ */ A("dd", {
2262
+ }), /* @__PURE__ */ k("dd", {
2228
2263
  className: "order-summary__amount",
2229
- children: /* @__PURE__ */ A("data", {
2264
+ children: /* @__PURE__ */ k("data", {
2230
2265
  value: h(e),
2231
2266
  children: m(e.amount, e.kind)
2232
2267
  })
2233
2268
  })]
2234
- }, e.id)), /* @__PURE__ */ j("div", {
2269
+ }, e.id)), /* @__PURE__ */ A("div", {
2235
2270
  className: "order-summary__line order-summary__line--total",
2236
2271
  "data-part": "total",
2237
- children: [/* @__PURE__ */ j("dt", {
2272
+ children: [/* @__PURE__ */ A("dt", {
2238
2273
  className: "order-summary__label",
2239
2274
  children: [
2240
2275
  c,
2241
- o ? /* @__PURE__ */ A("span", {
2276
+ o ? /* @__PURE__ */ k("span", {
2242
2277
  className: "order-summary__note",
2243
2278
  children: l
2244
2279
  }) : null,
2245
- s ? /* @__PURE__ */ A("span", {
2280
+ s ? /* @__PURE__ */ k("span", {
2246
2281
  className: "order-summary__note",
2247
2282
  children: s
2248
2283
  }) : null
2249
2284
  ]
2250
- }), /* @__PURE__ */ A("dd", {
2285
+ }), /* @__PURE__ */ k("dd", {
2251
2286
  className: "order-summary__amount",
2252
- children: /* @__PURE__ */ A("data", {
2287
+ children: /* @__PURE__ */ k("data", {
2253
2288
  value: t,
2254
2289
  children: $(t, {
2255
2290
  locale: i,
@@ -2259,7 +2294,7 @@ function St({ lines: e, total: t, label: n, currency: r = "KRW", locale: i = "ko
2259
2294
  })
2260
2295
  })]
2261
2296
  })]
2262
- }), d ? /* @__PURE__ */ A("div", {
2297
+ }), d ? /* @__PURE__ */ k("div", {
2263
2298
  className: "order-summary__actions",
2264
2299
  children: d
2265
2300
  }) : null]
@@ -2269,22 +2304,22 @@ function St({ lines: e, total: t, label: n, currency: r = "KRW", locale: i = "ko
2269
2304
  //#region src/components/extended/PaymentMethodSelector/PaymentMethodSelector.tsx
2270
2305
  function Ct({ methods: e, value: t, onValueChange: n, label: i, name: a = "paymentMethod", className: o, ...s }) {
2271
2306
  let l = e.find((e) => e.id === t)?.disabled ? e.find((e) => !e.disabled)?.id : void 0;
2272
- return /* @__PURE__ */ j("fieldset", {
2307
+ return /* @__PURE__ */ A("fieldset", {
2273
2308
  ...s,
2274
2309
  className: `payment-method-selector ${o ?? ""}`.trim(),
2275
- children: [/* @__PURE__ */ A("legend", {
2310
+ children: [/* @__PURE__ */ k("legend", {
2276
2311
  className: "payment-method-selector__legend",
2277
2312
  children: i
2278
- }), /* @__PURE__ */ A("div", {
2313
+ }), /* @__PURE__ */ k("div", {
2279
2314
  className: "payment-method-selector__methods",
2280
2315
  children: e.map((e) => {
2281
2316
  let i = e.id === t;
2282
- return /* @__PURE__ */ j("div", {
2317
+ return /* @__PURE__ */ A("div", {
2283
2318
  className: "payment-method-selector__method",
2284
2319
  "data-chosen": i ? "" : void 0,
2285
2320
  "data-disabled": e.disabled ? "" : void 0,
2286
2321
  "data-part": "method",
2287
- children: [/* @__PURE__ */ A(c, {
2322
+ children: [/* @__PURE__ */ k(c, {
2288
2323
  className: "payment-method-selector__choice",
2289
2324
  name: a,
2290
2325
  value: e.id,
@@ -2293,29 +2328,29 @@ function Ct({ methods: e, value: t, onValueChange: n, label: i, name: a = "payme
2293
2328
  tabIndex: l === void 0 ? void 0 : e.id === l ? 0 : -1,
2294
2329
  onChange: () => n(e.id),
2295
2330
  "data-part": `choice-${e.id}`,
2296
- children: /* @__PURE__ */ j("span", {
2331
+ children: /* @__PURE__ */ A("span", {
2297
2332
  className: "payment-method-selector__text",
2298
2333
  children: [
2299
- /* @__PURE__ */ j("span", {
2334
+ /* @__PURE__ */ A("span", {
2300
2335
  className: "payment-method-selector__label",
2301
- children: [e.icon ? /* @__PURE__ */ A(r, {
2336
+ children: [e.icon ? /* @__PURE__ */ k(r, {
2302
2337
  icon: e.icon,
2303
2338
  size: "sm",
2304
2339
  tone: "muted",
2305
2340
  "aria-hidden": "true"
2306
2341
  }) : null, e.label]
2307
2342
  }),
2308
- e.note ? /* @__PURE__ */ A("span", {
2343
+ e.note ? /* @__PURE__ */ k("span", {
2309
2344
  className: "payment-method-selector__note",
2310
2345
  children: e.note
2311
2346
  }) : null,
2312
- e.disabled && e.unavailable ? /* @__PURE__ */ A("span", {
2347
+ e.disabled && e.unavailable ? /* @__PURE__ */ k("span", {
2313
2348
  className: "payment-method-selector__why",
2314
2349
  children: e.unavailable
2315
2350
  }) : null
2316
2351
  ]
2317
2352
  })
2318
- }), i && e.fields ? /* @__PURE__ */ A("div", {
2353
+ }), i && e.fields ? /* @__PURE__ */ k("div", {
2319
2354
  className: "payment-method-selector__fields",
2320
2355
  "data-part": "fields",
2321
2356
  children: e.fields
@@ -2335,49 +2370,49 @@ function wt({ people: e, label: t, max: r = 5, size: i = "sm", following: a, onF
2335
2370
  status: e.state === "idle" ? "away" : "online",
2336
2371
  said: [e.you ? "(나)" : "", e.state === "idle" ? "— 자리 비움" : ""].filter(Boolean).join(" ")
2337
2372
  }));
2338
- return /* @__PURE__ */ j("div", {
2373
+ return /* @__PURE__ */ A("div", {
2339
2374
  ...u,
2340
2375
  className: `presence-bar ${l ?? ""}`.trim(),
2341
2376
  role: "group",
2342
2377
  "aria-label": `${t} — ${e.length}명`,
2343
2378
  children: [
2344
- /* @__PURE__ */ A(y, {
2379
+ /* @__PURE__ */ k(y, {
2345
2380
  people: p,
2346
2381
  label: t,
2347
2382
  max: r,
2348
2383
  size: i,
2349
2384
  "data-part": "faces"
2350
2385
  }),
2351
- o ? /* @__PURE__ */ A(te, {
2352
- items: /* @__PURE__ */ j(k, { children: [
2353
- /* @__PURE__ */ A(S, {
2386
+ o ? /* @__PURE__ */ k(ne, {
2387
+ items: /* @__PURE__ */ A(O, { children: [
2388
+ /* @__PURE__ */ k(S, {
2354
2389
  value: f?.id ?? "",
2355
2390
  onValueChange: (e) => o(e || null),
2356
- children: d.filter((e) => !e.you).map((e) => /* @__PURE__ */ j(O, {
2391
+ children: d.filter((e) => !e.you).map((e) => /* @__PURE__ */ A(D, {
2357
2392
  value: e.id,
2358
2393
  "data-part": `follow-${e.id}`,
2359
2394
  children: [e.name, e.state === "idle" ? " — 자리 비움" : ""]
2360
2395
  }, e.id))
2361
2396
  }),
2362
- /* @__PURE__ */ A(ee, {}),
2363
- /* @__PURE__ */ A(T, {
2364
- icon: fe,
2397
+ /* @__PURE__ */ k(te, {}),
2398
+ /* @__PURE__ */ k(T, {
2399
+ icon: he,
2365
2400
  disabled: !a,
2366
2401
  onSelect: () => o(null),
2367
2402
  "data-part": "unfollow",
2368
2403
  children: "따라가지 않기"
2369
2404
  })
2370
2405
  ] }),
2371
- children: /* @__PURE__ */ A(n, {
2406
+ children: /* @__PURE__ */ k(n, {
2372
2407
  size: "sm",
2373
2408
  variant: f ? "solid" : "outline",
2374
2409
  tone: f ? "accent" : "neutral",
2375
- iconStart: de,
2410
+ iconStart: me,
2376
2411
  "data-part": "follow",
2377
2412
  children: f ? `${f.name} 따라가는 중` : s
2378
2413
  })
2379
2414
  }) : null,
2380
- c ? /* @__PURE__ */ A("div", {
2415
+ c ? /* @__PURE__ */ k("div", {
2381
2416
  className: "presence-bar__aside",
2382
2417
  children: c
2383
2418
  }) : null
@@ -2387,34 +2422,34 @@ function wt({ people: e, label: t, max: r = 5, size: i = "sm", following: a, onF
2387
2422
  //#endregion
2388
2423
  //#region src/components/extended/ProductCard/ProductCard.tsx
2389
2424
  function Tt({ name: e, href: t, price: n, was: i, currency: a = "KRW", locale: o = "ko-KR", affix: s = "word", image: c, imageAlt: l, flag: d, soldOut: f, swatches: p, swatch: m, onSwatchChange: h, swatchLabel: g, meta: _, className: v, ...y }) {
2390
- let b = p?.find((e) => e.id === m)?.image ?? c, x = P();
2391
- return /* @__PURE__ */ j("article", {
2425
+ let b = p?.find((e) => e.id === m)?.image ?? c, x = N();
2426
+ return /* @__PURE__ */ A("article", {
2392
2427
  ...y,
2393
2428
  className: `product-card ${v ?? ""}`.trim(),
2394
2429
  "data-sold-out": f ? "" : void 0,
2395
- children: [/* @__PURE__ */ j("div", {
2430
+ children: [/* @__PURE__ */ A("div", {
2396
2431
  className: "product-card__picture",
2397
2432
  children: [
2398
- b ? /* @__PURE__ */ A("img", {
2433
+ b ? /* @__PURE__ */ k("img", {
2399
2434
  className: "product-card__image",
2400
2435
  src: b,
2401
2436
  alt: l ?? "",
2402
2437
  loading: "lazy"
2403
- }) : /* @__PURE__ */ A("span", {
2438
+ }) : /* @__PURE__ */ k("span", {
2404
2439
  className: "product-card__blank",
2405
2440
  "aria-hidden": "true",
2406
- children: /* @__PURE__ */ A(r, {
2407
- icon: pe,
2441
+ children: /* @__PURE__ */ k(r, {
2442
+ icon: H,
2408
2443
  size: "md"
2409
2444
  })
2410
2445
  }),
2411
- d ? /* @__PURE__ */ A("span", {
2446
+ d ? /* @__PURE__ */ k("span", {
2412
2447
  className: "product-card__flag",
2413
2448
  children: d
2414
2449
  }) : null,
2415
- f ? /* @__PURE__ */ A("span", {
2450
+ f ? /* @__PURE__ */ k("span", {
2416
2451
  className: "product-card__out",
2417
- children: /* @__PURE__ */ A(u, {
2452
+ children: /* @__PURE__ */ k(u, {
2418
2453
  tone: "neutral",
2419
2454
  variant: "solid",
2420
2455
  size: "sm",
@@ -2422,18 +2457,18 @@ function Tt({ name: e, href: t, price: n, was: i, currency: a = "KRW", locale: o
2422
2457
  })
2423
2458
  }) : null
2424
2459
  ]
2425
- }), /* @__PURE__ */ j("div", {
2460
+ }), /* @__PURE__ */ A("div", {
2426
2461
  className: "product-card__body",
2427
2462
  children: [
2428
- /* @__PURE__ */ A("h3", {
2463
+ /* @__PURE__ */ k("h3", {
2429
2464
  className: "product-card__name",
2430
- children: /* @__PURE__ */ A("a", {
2465
+ children: /* @__PURE__ */ k("a", {
2431
2466
  className: "product-card__link",
2432
2467
  href: t,
2433
2468
  children: e
2434
2469
  })
2435
2470
  }),
2436
- /* @__PURE__ */ A(xt, {
2471
+ /* @__PURE__ */ k(xt, {
2437
2472
  amount: n,
2438
2473
  was: i,
2439
2474
  currency: a,
@@ -2443,20 +2478,20 @@ function Tt({ name: e, href: t, price: n, was: i, currency: a = "KRW", locale: o
2443
2478
  size: "sm",
2444
2479
  "data-part": "price"
2445
2480
  }),
2446
- _ ? /* @__PURE__ */ A("p", {
2481
+ _ ? /* @__PURE__ */ k("p", {
2447
2482
  className: "product-card__meta",
2448
2483
  children: _
2449
2484
  }) : null,
2450
- p?.length && !f ? /* @__PURE__ */ j("fieldset", {
2485
+ p?.length && !f ? /* @__PURE__ */ A("fieldset", {
2451
2486
  className: "product-card__swatches",
2452
2487
  "data-part": "swatches",
2453
- children: [/* @__PURE__ */ A("legend", {
2488
+ children: [/* @__PURE__ */ k("legend", {
2454
2489
  className: "product-card__swatch-legend",
2455
2490
  children: g ?? `${e} 색상`
2456
- }), p.map((e) => /* @__PURE__ */ j("label", {
2491
+ }), p.map((e) => /* @__PURE__ */ A("label", {
2457
2492
  className: "product-card__swatch",
2458
2493
  children: [
2459
- /* @__PURE__ */ A("input", {
2494
+ /* @__PURE__ */ k("input", {
2460
2495
  type: "radio",
2461
2496
  className: "product-card__swatch-input",
2462
2497
  name: `${x}-swatch`,
@@ -2464,16 +2499,16 @@ function Tt({ name: e, href: t, price: n, was: i, currency: a = "KRW", locale: o
2464
2499
  checked: m === e.id,
2465
2500
  onChange: () => h?.(e.id)
2466
2501
  }),
2467
- /* @__PURE__ */ A("span", {
2502
+ /* @__PURE__ */ k("span", {
2468
2503
  className: "product-card__swatch-mark",
2469
2504
  "aria-hidden": "true",
2470
- children: e.image ? /* @__PURE__ */ A("img", {
2505
+ children: e.image ? /* @__PURE__ */ k("img", {
2471
2506
  src: e.image,
2472
2507
  alt: "",
2473
2508
  loading: "lazy"
2474
2509
  }) : null
2475
2510
  }),
2476
- /* @__PURE__ */ A("span", {
2511
+ /* @__PURE__ */ k("span", {
2477
2512
  className: "product-card__swatch-name",
2478
2513
  children: e.name
2479
2514
  })
@@ -2491,14 +2526,14 @@ function Et({ value: t, onValueChange: n, label: r, stock: i, onRemove: a, remov
2491
2526
  let e = w(g.current);
2492
2527
  a(), e();
2493
2528
  } : void 0;
2494
- return /* @__PURE__ */ j("div", {
2529
+ return /* @__PURE__ */ A("div", {
2495
2530
  ...p,
2496
2531
  ref: g,
2497
2532
  className: `quantity-stepper ${f ?? ""}`.trim(),
2498
2533
  "data-pending": s ? "" : void 0,
2499
- children: [/* @__PURE__ */ j("div", {
2534
+ children: [/* @__PURE__ */ A("div", {
2500
2535
  className: "quantity-stepper__control",
2501
- children: [/* @__PURE__ */ A(b, {
2536
+ children: [/* @__PURE__ */ k(b, {
2502
2537
  value: t,
2503
2538
  onValueChange: n,
2504
2539
  label: r,
@@ -2508,21 +2543,21 @@ function Et({ value: t, onValueChange: n, label: r, stock: i, onRemove: a, remov
2508
2543
  size: l,
2509
2544
  disabled: u,
2510
2545
  atFloor: _ ? {
2511
- icon: Ee,
2546
+ icon: Te,
2512
2547
  label: o ?? `${r} 빼기`,
2513
2548
  onPress: _,
2514
2549
  tone: "danger"
2515
2550
  } : void 0,
2516
2551
  "data-part": "field"
2517
- }), s ? /* @__PURE__ */ A("span", {
2552
+ }), s ? /* @__PURE__ */ k("span", {
2518
2553
  className: "quantity-stepper__pending",
2519
2554
  "data-part": "pending",
2520
- children: /* @__PURE__ */ A(e, {
2555
+ children: /* @__PURE__ */ k(e, {
2521
2556
  size: "sm",
2522
2557
  label: `${r} 수량 저장 중`
2523
2558
  })
2524
2559
  }) : null]
2525
- }), h ? /* @__PURE__ */ A("p", {
2560
+ }), h ? /* @__PURE__ */ k("p", {
2526
2561
  className: "quantity-stepper__note",
2527
2562
  "data-low": m ? "" : void 0,
2528
2563
  "data-part": "note",
@@ -2534,18 +2569,18 @@ function Et({ value: t, onValueChange: n, label: r, stock: i, onRemove: a, remov
2534
2569
  //#region src/components/extended/ReasoningDisclosure/ReasoningDisclosure.tsx
2535
2570
  function Dt({ children: e, state: t = "done", duration: n, summary: r, defaultOpen: i, className: a, ...o }) {
2536
2571
  let s = r ?? (t === "thinking" ? `생각하는 중${n ? ` · ${n}` : "…"}` : n ? `${n} 동안 생각했습니다` : "생각 보기");
2537
- return /* @__PURE__ */ A(C, {
2572
+ return /* @__PURE__ */ k(C, {
2538
2573
  ...o,
2539
2574
  className: `reasoning-disclosure ${a ?? ""}`.trim(),
2540
2575
  "data-state": t,
2541
- icon: le,
2576
+ icon: R,
2542
2577
  plain: !0,
2543
2578
  defaultOpen: i,
2544
- summary: /* @__PURE__ */ A("span", {
2579
+ summary: /* @__PURE__ */ k("span", {
2545
2580
  className: "reasoning-disclosure__summary",
2546
2581
  children: s
2547
2582
  }),
2548
- children: /* @__PURE__ */ A("div", {
2583
+ children: /* @__PURE__ */ k("div", {
2549
2584
  className: "reasoning-disclosure__body",
2550
2585
  "data-part": "body",
2551
2586
  children: e
@@ -2560,64 +2595,64 @@ var Ot = {
2560
2595
  };
2561
2596
  function kt({ reason: e, carried: t, detail: i, onRetry: a, onType: o, onDiscard: s, className: c, ...l }) {
2562
2597
  let u = e === "carried" ? t ?? "" : "";
2563
- return /* @__PURE__ */ A("div", {
2598
+ return /* @__PURE__ */ k("div", {
2564
2599
  ...l,
2565
2600
  className: `recognition-fallback ${c ?? ""}`.trim(),
2566
2601
  "data-reason": e ?? void 0,
2567
2602
  role: "status",
2568
- children: e === null ? null : /* @__PURE__ */ j("div", {
2603
+ children: e === null ? null : /* @__PURE__ */ A("div", {
2569
2604
  className: "recognition-fallback__box",
2570
2605
  "data-part": "box",
2571
2606
  children: [
2572
- /* @__PURE__ */ A("p", {
2607
+ /* @__PURE__ */ k("p", {
2573
2608
  className: "recognition-fallback__title",
2574
2609
  "data-part": "title",
2575
2610
  children: Ot[e]
2576
2611
  }),
2577
- u ? /* @__PURE__ */ A("p", {
2612
+ u ? /* @__PURE__ */ k("p", {
2578
2613
  className: "recognition-fallback__carried",
2579
2614
  "data-part": "carried",
2580
2615
  children: u
2581
2616
  }) : null,
2582
- i ? /* @__PURE__ */ A("p", {
2617
+ i ? /* @__PURE__ */ k("p", {
2583
2618
  className: "recognition-fallback__detail",
2584
2619
  "data-part": "detail",
2585
2620
  children: i
2586
2621
  }) : null,
2587
- /* @__PURE__ */ j("div", {
2622
+ /* @__PURE__ */ A("div", {
2588
2623
  className: "recognition-fallback__actions",
2589
2624
  children: [
2590
- /* @__PURE__ */ j(n, {
2625
+ /* @__PURE__ */ A(n, {
2591
2626
  variant: "solid",
2592
2627
  size: "sm",
2593
2628
  onClick: () => o(u),
2594
2629
  "data-part": "type",
2595
- children: [/* @__PURE__ */ A(r, {
2596
- icon: G,
2630
+ children: [/* @__PURE__ */ k(r, {
2631
+ icon: U,
2597
2632
  size: "sm",
2598
2633
  "aria-hidden": "true"
2599
2634
  }), u ? "이어서 입력하기" : "입력으로 하기"]
2600
2635
  }),
2601
- a ? /* @__PURE__ */ j(n, {
2636
+ a ? /* @__PURE__ */ A(n, {
2602
2637
  variant: "outline",
2603
2638
  size: "sm",
2604
2639
  tone: "neutral",
2605
2640
  onClick: a,
2606
2641
  "data-part": "retry",
2607
- children: [/* @__PURE__ */ A(r, {
2642
+ children: [/* @__PURE__ */ k(r, {
2608
2643
  icon: J,
2609
2644
  size: "sm",
2610
2645
  "aria-hidden": "true"
2611
2646
  }), "다시 말하기"]
2612
2647
  }) : null,
2613
- u && s ? /* @__PURE__ */ j(n, {
2648
+ u && s ? /* @__PURE__ */ A(n, {
2614
2649
  variant: "plain",
2615
2650
  size: "sm",
2616
2651
  tone: "neutral",
2617
2652
  onClick: s,
2618
2653
  "data-part": "discard",
2619
- children: [/* @__PURE__ */ A(r, {
2620
- icon: Ee,
2654
+ children: [/* @__PURE__ */ k(r, {
2655
+ icon: Te,
2621
2656
  size: "sm",
2622
2657
  "aria-hidden": "true"
2623
2658
  }), "버리기"]
@@ -2638,11 +2673,11 @@ var At = {
2638
2673
  cancelled: "취소됨"
2639
2674
  };
2640
2675
  function jt({ title: t, state: r, elapsed: a, progress: o, detail: c, onCancel: l, cancelLabel: u = "중지", actions: d, className: f, ...p }) {
2641
- let m = r === "running" || r === "queued", h = P(), g = o ? r === "done" ? o.max : o.value : void 0, [y, b] = I({
2676
+ let m = r === "running" || r === "queued", h = N(), g = o ? r === "done" ? o.max : o.value : void 0, [y, b] = I({
2642
2677
  status: "",
2643
2678
  alert: ""
2644
2679
  }), x = F(r);
2645
- N(() => {
2680
+ M(() => {
2646
2681
  let e = x.current;
2647
2682
  if (x.current = r, r === "running" || r === "queued" || e === r) return;
2648
2683
  let n = `${t} ${At[r]}`;
@@ -2655,67 +2690,67 @@ function jt({ title: t, state: r, elapsed: a, progress: o, detail: c, onCancel:
2655
2690
  });
2656
2691
  }, [r, t]);
2657
2692
  let S = F(null), C = F(m);
2658
- return N(() => {
2693
+ return M(() => {
2659
2694
  let e = C.current && !m;
2660
2695
  C.current = m, !(!e || document.activeElement !== document.body) && S.current?.focus();
2661
- }, [m]), /* @__PURE__ */ j("section", {
2696
+ }, [m]), /* @__PURE__ */ A("section", {
2662
2697
  ...p,
2663
2698
  className: `run-status-card ${f ?? ""}`.trim(),
2664
2699
  "data-state": r,
2665
2700
  "aria-labelledby": h,
2666
2701
  children: [
2667
- /* @__PURE__ */ j(i, {
2702
+ /* @__PURE__ */ A(i, {
2668
2703
  as: "p",
2669
- children: [/* @__PURE__ */ A("span", {
2704
+ children: [/* @__PURE__ */ k("span", {
2670
2705
  role: "status",
2671
2706
  "data-part": "live",
2672
2707
  children: y.status
2673
- }), /* @__PURE__ */ A("span", {
2708
+ }), /* @__PURE__ */ k("span", {
2674
2709
  role: "alert",
2675
2710
  "data-part": "alert",
2676
2711
  children: y.alert
2677
2712
  })]
2678
2713
  }),
2679
- /* @__PURE__ */ j("div", {
2714
+ /* @__PURE__ */ A("div", {
2680
2715
  className: "run-status-card__head",
2681
2716
  children: [
2682
- /* @__PURE__ */ j("span", {
2717
+ /* @__PURE__ */ A("span", {
2683
2718
  className: "run-status-card__mark",
2684
2719
  "aria-hidden": "true",
2685
- children: [m ? /* @__PURE__ */ A(e, { size: "sm" }) : null, /* @__PURE__ */ A(_, {
2686
- icon: m ? void 0 : r === "done" ? R : r === "failed" ? Oe : H,
2720
+ children: [m ? /* @__PURE__ */ k(e, { size: "sm" }) : null, /* @__PURE__ */ k(_, {
2721
+ icon: m ? void 0 : r === "done" ? z : r === "failed" ? De : fe,
2687
2722
  tone: r === "done" ? "success" : r === "failed" ? "danger" : "neutral",
2688
2723
  size: "sm",
2689
2724
  "data-part": "glyph"
2690
2725
  })]
2691
2726
  }),
2692
- /* @__PURE__ */ j("div", {
2727
+ /* @__PURE__ */ A("div", {
2693
2728
  className: "run-status-card__title",
2694
2729
  ref: S,
2695
2730
  tabIndex: -1,
2696
2731
  "data-part": "outcome",
2697
- children: [/* @__PURE__ */ A("p", {
2732
+ children: [/* @__PURE__ */ k("p", {
2698
2733
  className: "run-status-card__name",
2699
2734
  id: h,
2700
2735
  children: t
2701
- }), /* @__PURE__ */ j("p", {
2736
+ }), /* @__PURE__ */ A("p", {
2702
2737
  className: "run-status-card__meta",
2703
2738
  children: [
2704
- /* @__PURE__ */ A("span", {
2739
+ /* @__PURE__ */ k("span", {
2705
2740
  "data-part": "state",
2706
2741
  children: At[r]
2707
2742
  }),
2708
- a ? /* @__PURE__ */ j(k, { children: [/* @__PURE__ */ A("span", {
2743
+ a ? /* @__PURE__ */ A(O, { children: [/* @__PURE__ */ k("span", {
2709
2744
  "aria-hidden": "true",
2710
2745
  children: " · "
2711
- }), /* @__PURE__ */ j("span", {
2746
+ }), /* @__PURE__ */ A("span", {
2712
2747
  "data-part": "elapsed",
2713
2748
  children: [a, " 경과"]
2714
2749
  })] }) : null,
2715
- o ? /* @__PURE__ */ j(k, { children: [/* @__PURE__ */ A("span", {
2750
+ o ? /* @__PURE__ */ A(O, { children: [/* @__PURE__ */ k("span", {
2716
2751
  "aria-hidden": "true",
2717
2752
  children: " · "
2718
- }), /* @__PURE__ */ j("span", {
2753
+ }), /* @__PURE__ */ A("span", {
2719
2754
  "data-part": "count",
2720
2755
  children: [
2721
2756
  o.max,
@@ -2727,7 +2762,7 @@ function jt({ title: t, state: r, elapsed: a, progress: o, detail: c, onCancel:
2727
2762
  ]
2728
2763
  })]
2729
2764
  }),
2730
- m && l ? /* @__PURE__ */ A(n, {
2765
+ m && l ? /* @__PURE__ */ k(n, {
2731
2766
  variant: "outline",
2732
2767
  tone: "neutral",
2733
2768
  size: "sm",
@@ -2737,7 +2772,7 @@ function jt({ title: t, state: r, elapsed: a, progress: o, detail: c, onCancel:
2737
2772
  }) : null
2738
2773
  ]
2739
2774
  }),
2740
- o ? /* @__PURE__ */ A(s, {
2775
+ o ? /* @__PURE__ */ k(s, {
2741
2776
  value: g,
2742
2777
  max: o.max,
2743
2778
  label: o.label,
@@ -2745,12 +2780,12 @@ function jt({ title: t, state: r, elapsed: a, progress: o, detail: c, onCancel:
2745
2780
  tone: r === "failed" ? "danger" : "accent",
2746
2781
  "data-part": "progress"
2747
2782
  }) : null,
2748
- c ? /* @__PURE__ */ A("p", {
2783
+ c ? /* @__PURE__ */ k("p", {
2749
2784
  className: "run-status-card__detail",
2750
2785
  "data-part": "detail",
2751
- children: m && typeof c == "string" ? /* @__PURE__ */ A(v, { value: c }) : c
2786
+ children: m && typeof c == "string" ? /* @__PURE__ */ k(v, { value: c }) : c
2752
2787
  }) : null,
2753
- d && !m ? /* @__PURE__ */ A("div", {
2788
+ d && !m ? /* @__PURE__ */ k("div", {
2754
2789
  className: "run-status-card__actions",
2755
2790
  children: d
2756
2791
  }) : null
@@ -2761,7 +2796,7 @@ function jt({ title: t, state: r, elapsed: a, progress: o, detail: c, onCancel:
2761
2796
  //#region src/components/extended/SavedViewTabs/SavedViewTabs.tsx
2762
2797
  function Mt({ views: e, value: t, onValueChange: n, label: i, panelId: a, menu: o, onAdd: s, addLabel: c = "보기 추가", className: l, ...u }) {
2763
2798
  let d = F(null), f = (e) => d.current?.querySelector(`[data-value="${CSS.escape(e)}"]`) ?? null;
2764
- N(() => {
2799
+ M(() => {
2765
2800
  f(t)?.scrollIntoView({
2766
2801
  block: "nearest",
2767
2802
  inline: "nearest"
@@ -2782,10 +2817,10 @@ function Mt({ views: e, value: t, onValueChange: n, label: i, panelId: a, menu:
2782
2817
  }
2783
2818
  t.key === "Home" && (t.preventDefault(), p(e[0])), t.key === "End" && (t.preventDefault(), p(e.at(-1)));
2784
2819
  }, h = e.some((e) => e.id === t);
2785
- return /* @__PURE__ */ j("div", {
2820
+ return /* @__PURE__ */ A("div", {
2786
2821
  className: `saved-view-tabs ${l ?? ""}`.trim(),
2787
2822
  ...u,
2788
- children: [/* @__PURE__ */ A("div", {
2823
+ children: [/* @__PURE__ */ k("div", {
2789
2824
  ref: d,
2790
2825
  className: "saved-view-tabs__rail",
2791
2826
  role: "tablist",
@@ -2794,11 +2829,11 @@ function Mt({ views: e, value: t, onValueChange: n, label: i, panelId: a, menu:
2794
2829
  "data-part": "rail",
2795
2830
  children: e.map((e, r) => {
2796
2831
  let i = e.id === t;
2797
- return /* @__PURE__ */ j("div", {
2832
+ return /* @__PURE__ */ A("div", {
2798
2833
  className: "saved-view-tabs__slot",
2799
2834
  role: "presentation",
2800
2835
  "data-active": i ? "" : void 0,
2801
- children: [/* @__PURE__ */ j("button", {
2836
+ children: [/* @__PURE__ */ A("button", {
2802
2837
  type: "button",
2803
2838
  role: "tab",
2804
2839
  className: "saved-view-tabs__tab",
@@ -2811,32 +2846,32 @@ function Mt({ views: e, value: t, onValueChange: n, label: i, panelId: a, menu:
2811
2846
  "data-part": "tab",
2812
2847
  children: [
2813
2848
  e.label,
2814
- e.count === void 0 ? null : /* @__PURE__ */ A("span", {
2849
+ e.count === void 0 ? null : /* @__PURE__ */ k("span", {
2815
2850
  className: "saved-view-tabs__count",
2816
2851
  children: e.count
2817
2852
  }),
2818
- e.dirty ? /* @__PURE__ */ A("span", {
2853
+ e.dirty ? /* @__PURE__ */ k("span", {
2819
2854
  className: "saved-view-tabs__dot",
2820
2855
  "data-part": "dirty",
2821
- children: /* @__PURE__ */ A("span", {
2856
+ children: /* @__PURE__ */ k("span", {
2822
2857
  className: "saved-view-tabs__said",
2823
2858
  children: "저장하지 않은 변경"
2824
2859
  })
2825
2860
  }) : null
2826
2861
  ]
2827
- }), i && o ? /* @__PURE__ */ A("span", {
2862
+ }), i && o ? /* @__PURE__ */ k("span", {
2828
2863
  className: "saved-view-tabs__menu",
2829
2864
  "data-part": "menu",
2830
2865
  children: o(e)
2831
2866
  }) : null]
2832
2867
  }, e.id);
2833
2868
  })
2834
- }), s ? /* @__PURE__ */ j("button", {
2869
+ }), s ? /* @__PURE__ */ A("button", {
2835
2870
  type: "button",
2836
2871
  className: "saved-view-tabs__add",
2837
2872
  onClick: s,
2838
2873
  "data-part": "add",
2839
- children: [/* @__PURE__ */ A(r, {
2874
+ children: [/* @__PURE__ */ k(r, {
2840
2875
  icon: q,
2841
2876
  size: "sm",
2842
2877
  "aria-hidden": "true"
@@ -2848,7 +2883,7 @@ function Mt({ views: e, value: t, onValueChange: n, label: i, panelId: a, menu:
2848
2883
  //#region src/components/extended/SourceChip/SourceChip.tsx
2849
2884
  function Nt({ title: e, domain: t, href: n, index: r, favicon: a, compact: o, size: s = "md", className: c, ...l }) {
2850
2885
  let [u, d] = I(), f = u !== void 0 && u === a, p = [...t.replace(/^www\./, "")][0]?.toUpperCase() ?? "?";
2851
- return /* @__PURE__ */ j("a", {
2886
+ return /* @__PURE__ */ A("a", {
2852
2887
  ...l,
2853
2888
  className: `source-chip ${c ?? ""}`.trim(),
2854
2889
  "data-size": s,
@@ -2857,36 +2892,36 @@ function Nt({ title: e, domain: t, href: n, index: r, favicon: a, compact: o, si
2857
2892
  target: "_blank",
2858
2893
  rel: "noreferrer",
2859
2894
  children: [
2860
- r === void 0 ? null : /* @__PURE__ */ A("span", {
2895
+ r === void 0 ? null : /* @__PURE__ */ k("span", {
2861
2896
  className: "source-chip__index",
2862
2897
  "aria-hidden": "true",
2863
2898
  children: r
2864
2899
  }),
2865
- /* @__PURE__ */ A("span", {
2900
+ /* @__PURE__ */ k("span", {
2866
2901
  className: "source-chip__glyph",
2867
2902
  "aria-hidden": "true",
2868
- children: a && !f ? /* @__PURE__ */ A("img", {
2903
+ children: a && !f ? /* @__PURE__ */ k("img", {
2869
2904
  className: "source-chip__favicon",
2870
2905
  src: a,
2871
2906
  alt: "",
2872
2907
  loading: "lazy",
2873
2908
  onError: () => d(a)
2874
- }) : /* @__PURE__ */ A("span", {
2909
+ }) : /* @__PURE__ */ k("span", {
2875
2910
  className: "source-chip__letter",
2876
2911
  children: p
2877
2912
  })
2878
2913
  }),
2879
- /* @__PURE__ */ j("span", {
2914
+ /* @__PURE__ */ A("span", {
2880
2915
  className: "source-chip__text",
2881
- children: [/* @__PURE__ */ A("span", {
2916
+ children: [/* @__PURE__ */ k("span", {
2882
2917
  className: "source-chip__title",
2883
2918
  children: e
2884
- }), o ? null : /* @__PURE__ */ A("span", {
2919
+ }), o ? null : /* @__PURE__ */ k("span", {
2885
2920
  className: "source-chip__domain",
2886
2921
  children: t
2887
2922
  })]
2888
2923
  }),
2889
- /* @__PURE__ */ j(i, { children: [
2924
+ /* @__PURE__ */ A(i, { children: [
2890
2925
  r === void 0 ? " 출처 · " : ` 출처 ${r}번 · `,
2891
2926
  t,
2892
2927
  " · 새 창에서 열림"
@@ -2898,7 +2933,7 @@ function Nt({ title: e, domain: t, href: n, index: r, favicon: a, compact: o, si
2898
2933
  //#region src/components/extended/SourceChipRow/SourceChipRow.tsx
2899
2934
  var Pt = 12;
2900
2935
  function Ft({ sources: e, label: t, onOverflow: n, compact: r, size: i = "md", className: a, ...o }) {
2901
- let s = F(null), [c, l] = I(e.length), u = M(() => {
2936
+ let s = F(null), [c, l] = I(e.length), u = j(() => {
2902
2937
  let e = s.current;
2903
2938
  if (!e) return;
2904
2939
  let t = [...e.querySelectorAll("[data-part=\"chip\"]")];
@@ -2919,29 +2954,29 @@ function Ft({ sources: e, label: t, onOverflow: n, compact: r, size: i = "md", c
2919
2954
  e.index ?? "",
2920
2955
  e.favicon ?? ""
2921
2956
  ].join("")).join("");
2922
- ne(u, [
2957
+ P(u, [
2923
2958
  u,
2924
2959
  d,
2925
2960
  r,
2926
2961
  i
2927
- ]), N(() => {
2962
+ ]), M(() => {
2928
2963
  let e = s.current;
2929
2964
  if (!e) return;
2930
2965
  let t = new ResizeObserver(u);
2931
2966
  return t.observe(e), () => t.disconnect();
2932
2967
  }, [u]);
2933
2968
  let f = Math.max(0, e.length - c);
2934
- return /* @__PURE__ */ j("div", {
2969
+ return /* @__PURE__ */ A("div", {
2935
2970
  ...o,
2936
2971
  ref: s,
2937
2972
  className: `source-chip-row ${a ?? ""}`.trim(),
2938
2973
  role: "group",
2939
2974
  "aria-label": t,
2940
2975
  "data-visible": Math.min(c, 12),
2941
- children: [e.map((e) => /* @__PURE__ */ A("span", {
2976
+ children: [e.map((e) => /* @__PURE__ */ k("span", {
2942
2977
  className: "source-chip-row__chip",
2943
2978
  "data-part": "chip",
2944
- children: /* @__PURE__ */ A(Nt, {
2979
+ children: /* @__PURE__ */ k(Nt, {
2945
2980
  title: e.title,
2946
2981
  domain: e.domain,
2947
2982
  href: e.href,
@@ -2950,7 +2985,7 @@ function Ft({ sources: e, label: t, onOverflow: n, compact: r, size: i = "md", c
2950
2985
  compact: r,
2951
2986
  size: i
2952
2987
  })
2953
- }, e.id)), n ? /* @__PURE__ */ j("button", {
2988
+ }, e.id)), n ? /* @__PURE__ */ A("button", {
2954
2989
  type: "button",
2955
2990
  className: "source-chip-row__more",
2956
2991
  "data-part": "more",
@@ -2961,12 +2996,12 @@ function Ft({ sources: e, label: t, onOverflow: n, compact: r, size: i = "md", c
2961
2996
  children: [
2962
2997
  "+",
2963
2998
  f,
2964
- /* @__PURE__ */ A("span", {
2999
+ /* @__PURE__ */ k("span", {
2965
3000
  className: "source-chip-row__more-name",
2966
3001
  children: "개 더"
2967
3002
  })
2968
3003
  ]
2969
- }) : /* @__PURE__ */ j("span", {
3004
+ }) : /* @__PURE__ */ A("span", {
2970
3005
  className: "source-chip-row__more",
2971
3006
  "data-part": "more",
2972
3007
  "data-static": "",
@@ -2975,7 +3010,7 @@ function Ft({ sources: e, label: t, onOverflow: n, compact: r, size: i = "md", c
2975
3010
  children: [
2976
3011
  "+",
2977
3012
  f,
2978
- /* @__PURE__ */ A("span", {
3013
+ /* @__PURE__ */ k("span", {
2979
3014
  className: "source-chip-row__more-name",
2980
3015
  children: "개 더"
2981
3016
  })
@@ -3000,35 +3035,35 @@ function Lt(e) {
3000
3035
  }));
3001
3036
  }
3002
3037
  function Rt({ sources: e, label: t, found: n, group: r = !0, empty: i = "인용한 근거가 없습니다.", className: a, ...o }) {
3003
- let [s, c] = I({}), l = Lt(e), u = P();
3004
- return /* @__PURE__ */ j("section", {
3038
+ let [s, c] = I({}), l = Lt(e), u = N();
3039
+ return /* @__PURE__ */ A("section", {
3005
3040
  ...o,
3006
3041
  className: `source-panel ${a ?? ""}`.trim(),
3007
3042
  "aria-labelledby": u,
3008
- children: [/* @__PURE__ */ j("header", {
3043
+ children: [/* @__PURE__ */ A("header", {
3009
3044
  className: "source-panel__head",
3010
- children: [/* @__PURE__ */ A("h3", {
3045
+ children: [/* @__PURE__ */ k("h3", {
3011
3046
  className: "source-panel__title",
3012
3047
  id: u,
3013
3048
  children: t
3014
- }), /* @__PURE__ */ j("p", {
3049
+ }), /* @__PURE__ */ A("p", {
3015
3050
  className: "source-panel__count",
3016
3051
  children: [n !== void 0 && n > e.length ? `${n}개 중 ${e.length}개 사용` : `${e.length}개`, r && l.length !== e.length ? ` · ${l.length}개 사이트` : ""]
3017
3052
  })]
3018
- }), e.length === 0 ? /* @__PURE__ */ A("p", {
3053
+ }), e.length === 0 ? /* @__PURE__ */ k("p", {
3019
3054
  className: "source-panel__empty",
3020
3055
  children: i
3021
- }) : r ? /* @__PURE__ */ A("ul", {
3056
+ }) : r ? /* @__PURE__ */ k("ul", {
3022
3057
  className: "source-panel__groups",
3023
- children: l.map(({ domain: e, items: t }) => /* @__PURE__ */ j("li", {
3058
+ children: l.map(({ domain: e, items: t }) => /* @__PURE__ */ A("li", {
3024
3059
  className: "source-panel__group",
3025
- children: [/* @__PURE__ */ j("p", {
3060
+ children: [/* @__PURE__ */ A("p", {
3026
3061
  className: "source-panel__domain",
3027
3062
  children: [
3028
- /* @__PURE__ */ A("span", {
3063
+ /* @__PURE__ */ k("span", {
3029
3064
  className: "source-panel__glyph",
3030
3065
  "aria-hidden": "true",
3031
- children: t.find((e) => e.favicon)?.favicon && !s[e] ? /* @__PURE__ */ A("img", {
3066
+ children: t.find((e) => e.favicon)?.favicon && !s[e] ? /* @__PURE__ */ k("img", {
3032
3067
  src: t.find((e) => e.favicon).favicon,
3033
3068
  alt: "",
3034
3069
  loading: "lazy",
@@ -3036,34 +3071,34 @@ function Rt({ sources: e, label: t, found: n, group: r = !0, empty: i = "인용
3036
3071
  ...t,
3037
3072
  [e]: !0
3038
3073
  }))
3039
- }) : /* @__PURE__ */ A("span", {
3074
+ }) : /* @__PURE__ */ k("span", {
3040
3075
  className: "source-panel__letter",
3041
3076
  children: [...e][0]?.toUpperCase() ?? "?"
3042
3077
  })
3043
3078
  }),
3044
3079
  e,
3045
- t.length > 1 ? /* @__PURE__ */ j("span", {
3080
+ t.length > 1 ? /* @__PURE__ */ A("span", {
3046
3081
  className: "source-panel__more",
3047
3082
  children: [t.length, "건"]
3048
3083
  }) : null
3049
3084
  ]
3050
- }), /* @__PURE__ */ A("ul", {
3085
+ }), /* @__PURE__ */ k("ul", {
3051
3086
  className: "source-panel__items",
3052
- children: t.map((t) => /* @__PURE__ */ j("li", {
3087
+ children: t.map((t) => /* @__PURE__ */ A("li", {
3053
3088
  className: "source-panel__item",
3054
3089
  "data-part": "source",
3055
- children: [/* @__PURE__ */ A("span", {
3090
+ children: [/* @__PURE__ */ k("span", {
3056
3091
  className: "source-panel__index",
3057
3092
  "aria-hidden": "true",
3058
3093
  children: t.index
3059
- }), /* @__PURE__ */ j("span", {
3094
+ }), /* @__PURE__ */ A("span", {
3060
3095
  className: "source-panel__body",
3061
- children: [/* @__PURE__ */ j("a", {
3096
+ children: [/* @__PURE__ */ A("a", {
3062
3097
  className: "source-panel__link",
3063
3098
  href: t.href,
3064
3099
  target: "_blank",
3065
3100
  rel: "noreferrer",
3066
- children: [t.title, /* @__PURE__ */ j("span", {
3101
+ children: [t.title, /* @__PURE__ */ A("span", {
3067
3102
  className: "source-panel__note",
3068
3103
  children: [
3069
3104
  " · 출처 ",
@@ -3073,7 +3108,7 @@ function Rt({ sources: e, label: t, found: n, group: r = !0, empty: i = "인용
3073
3108
  ", 새 창에서 열림"
3074
3109
  ]
3075
3110
  })]
3076
- }), t.snippet ? /* @__PURE__ */ A("span", {
3111
+ }), t.snippet ? /* @__PURE__ */ k("span", {
3077
3112
  className: "source-panel__snippet",
3078
3113
  children: t.snippet
3079
3114
  }) : null]
@@ -3081,24 +3116,24 @@ function Rt({ sources: e, label: t, found: n, group: r = !0, empty: i = "인용
3081
3116
  }, t.id))
3082
3117
  })]
3083
3118
  }, e))
3084
- }) : /* @__PURE__ */ A("ul", {
3119
+ }) : /* @__PURE__ */ k("ul", {
3085
3120
  className: "source-panel__items source-panel__items--flat",
3086
- children: e.map((e) => /* @__PURE__ */ j("li", {
3121
+ children: e.map((e) => /* @__PURE__ */ A("li", {
3087
3122
  className: "source-panel__item",
3088
3123
  "data-part": "source",
3089
- children: [/* @__PURE__ */ A("span", {
3124
+ children: [/* @__PURE__ */ k("span", {
3090
3125
  className: "source-panel__index",
3091
3126
  "aria-hidden": "true",
3092
3127
  children: e.index
3093
- }), /* @__PURE__ */ j("span", {
3128
+ }), /* @__PURE__ */ A("span", {
3094
3129
  className: "source-panel__body",
3095
3130
  children: [
3096
- /* @__PURE__ */ j("a", {
3131
+ /* @__PURE__ */ A("a", {
3097
3132
  className: "source-panel__link",
3098
3133
  href: e.href,
3099
3134
  target: "_blank",
3100
3135
  rel: "noreferrer",
3101
- children: [e.title, /* @__PURE__ */ j("span", {
3136
+ children: [e.title, /* @__PURE__ */ A("span", {
3102
3137
  className: "source-panel__note",
3103
3138
  children: [
3104
3139
  " · 출처 ",
@@ -3109,11 +3144,11 @@ function Rt({ sources: e, label: t, found: n, group: r = !0, empty: i = "인용
3109
3144
  ]
3110
3145
  })]
3111
3146
  }),
3112
- /* @__PURE__ */ A("span", {
3147
+ /* @__PURE__ */ k("span", {
3113
3148
  className: "source-panel__where",
3114
3149
  children: e.domain
3115
3150
  }),
3116
- e.snippet ? /* @__PURE__ */ A("span", {
3151
+ e.snippet ? /* @__PURE__ */ k("span", {
3117
3152
  className: "source-panel__snippet",
3118
3153
  children: e.snippet
3119
3154
  }) : null
@@ -3126,18 +3161,18 @@ function Rt({ sources: e, label: t, found: n, group: r = !0, empty: i = "인용
3126
3161
  //#endregion
3127
3162
  //#region src/components/extended/StreamingText/StreamingText.tsx
3128
3163
  function zt({ text: e, done: t, placeholder: n, caret: r = !0, className: i, ...a }) {
3129
- return /* @__PURE__ */ j("p", {
3164
+ return /* @__PURE__ */ A("p", {
3130
3165
  ...a,
3131
3166
  className: `streaming-text ${i ?? ""}`.trim(),
3132
3167
  "data-state": t ? "done" : "streaming",
3133
3168
  "aria-busy": !t || void 0,
3134
3169
  children: [
3135
3170
  e,
3136
- !e && !t && n ? /* @__PURE__ */ A("span", {
3171
+ !e && !t && n ? /* @__PURE__ */ k("span", {
3137
3172
  className: "streaming-text__placeholder",
3138
3173
  children: n
3139
3174
  }) : null,
3140
- !t && r ? /* @__PURE__ */ A("span", {
3175
+ !t && r ? /* @__PURE__ */ k("span", {
3141
3176
  className: "streaming-text__caret",
3142
3177
  "aria-hidden": "true",
3143
3178
  "data-part": "caret"
@@ -3154,84 +3189,84 @@ var Bt = {
3154
3189
  error: "실패"
3155
3190
  };
3156
3191
  function Vt({ name: t, state: n, args: i, result: a, error: o, duration: s, summary: c, actions: l, defaultOpen: u, open: d, onOpenChange: f, className: p, ...m }) {
3157
- let h = (e) => e != null && e !== !1, g = h(c) || h(i) || h(a) || h(o) || h(l), _ = /* @__PURE__ */ j("span", {
3192
+ let h = (e) => e != null && e !== !1, g = h(c) || h(i) || h(a) || h(o) || h(l), _ = /* @__PURE__ */ A("span", {
3158
3193
  className: "tool-call-card__head",
3159
3194
  children: [
3160
- /* @__PURE__ */ A("span", {
3195
+ /* @__PURE__ */ k("span", {
3161
3196
  className: "tool-call-card__mark",
3162
3197
  "aria-hidden": "true",
3163
- children: n === "running" ? /* @__PURE__ */ A(e, { size: "sm" }) : n === "success" ? /* @__PURE__ */ A(r, {
3164
- icon: R,
3198
+ children: n === "running" ? /* @__PURE__ */ k(e, { size: "sm" }) : n === "success" ? /* @__PURE__ */ k(r, {
3199
+ icon: z,
3165
3200
  size: "xs"
3166
- }) : n === "error" ? /* @__PURE__ */ A(r, {
3201
+ }) : n === "error" ? /* @__PURE__ */ k(r, {
3167
3202
  icon: L,
3168
3203
  size: "xs"
3169
- }) : /* @__PURE__ */ A(r, {
3170
- icon: Ce,
3204
+ }) : /* @__PURE__ */ k(r, {
3205
+ icon: Se,
3171
3206
  size: "xs"
3172
3207
  })
3173
3208
  }),
3174
- /* @__PURE__ */ A("span", {
3209
+ /* @__PURE__ */ k("span", {
3175
3210
  className: "tool-call-card__name",
3176
3211
  children: t
3177
3212
  }),
3178
- /* @__PURE__ */ A("span", {
3213
+ /* @__PURE__ */ k("span", {
3179
3214
  className: "tool-call-card__state",
3180
3215
  children: Bt[n]
3181
3216
  }),
3182
- s ? /* @__PURE__ */ A("span", {
3217
+ s ? /* @__PURE__ */ k("span", {
3183
3218
  className: "tool-call-card__duration",
3184
3219
  children: s
3185
3220
  }) : null
3186
3221
  ]
3187
- }), v = /* @__PURE__ */ j("div", {
3222
+ }), v = /* @__PURE__ */ A("div", {
3188
3223
  className: "tool-call-card__body",
3189
3224
  children: [
3190
- h(c) ? /* @__PURE__ */ A("p", {
3225
+ h(c) ? /* @__PURE__ */ k("p", {
3191
3226
  className: "tool-call-card__summary",
3192
3227
  children: c
3193
3228
  }) : null,
3194
- h(i) ? /* @__PURE__ */ j("div", {
3229
+ h(i) ? /* @__PURE__ */ A("div", {
3195
3230
  className: "tool-call-card__part",
3196
- children: [/* @__PURE__ */ A("p", {
3231
+ children: [/* @__PURE__ */ k("p", {
3197
3232
  className: "tool-call-card__caption",
3198
3233
  children: "인자"
3199
- }), /* @__PURE__ */ A("pre", {
3234
+ }), /* @__PURE__ */ k("pre", {
3200
3235
  className: "tool-call-card__code",
3201
3236
  "data-part": "args",
3202
3237
  children: i
3203
3238
  })]
3204
3239
  }) : null,
3205
- h(o) ? /* @__PURE__ */ j("div", {
3240
+ h(o) ? /* @__PURE__ */ A("div", {
3206
3241
  className: "tool-call-card__part",
3207
- children: [/* @__PURE__ */ A("p", {
3242
+ children: [/* @__PURE__ */ k("p", {
3208
3243
  className: "tool-call-card__caption",
3209
3244
  children: "오류"
3210
- }), /* @__PURE__ */ A("pre", {
3245
+ }), /* @__PURE__ */ k("pre", {
3211
3246
  className: "tool-call-card__code",
3212
3247
  "data-part": "error",
3213
3248
  "data-tone": "danger",
3214
3249
  children: o
3215
3250
  })]
3216
3251
  }) : null,
3217
- h(a) ? /* @__PURE__ */ j("div", {
3252
+ h(a) ? /* @__PURE__ */ A("div", {
3218
3253
  className: "tool-call-card__part",
3219
- children: [/* @__PURE__ */ A("p", {
3254
+ children: [/* @__PURE__ */ k("p", {
3220
3255
  className: "tool-call-card__caption",
3221
3256
  children: "결과"
3222
- }), /* @__PURE__ */ A("div", {
3257
+ }), /* @__PURE__ */ k("div", {
3223
3258
  className: "tool-call-card__result",
3224
3259
  "data-part": "result",
3225
3260
  children: a
3226
3261
  })]
3227
3262
  }) : null,
3228
- h(l) ? /* @__PURE__ */ A("div", {
3263
+ h(l) ? /* @__PURE__ */ k("div", {
3229
3264
  className: "tool-call-card__actions",
3230
3265
  children: l
3231
3266
  }) : null
3232
3267
  ]
3233
3268
  });
3234
- return g ? /* @__PURE__ */ A(C, {
3269
+ return g ? /* @__PURE__ */ k(C, {
3235
3270
  ...m,
3236
3271
  className: `tool-call-card ${p ?? ""}`.trim(),
3237
3272
  "data-state": n,
@@ -3240,7 +3275,7 @@ function Vt({ name: t, state: n, args: i, result: a, error: o, duration: s, summ
3240
3275
  onOpenChange: f,
3241
3276
  summary: _,
3242
3277
  children: v
3243
- }) : /* @__PURE__ */ A("div", {
3278
+ }) : /* @__PURE__ */ k("div", {
3244
3279
  ...m,
3245
3280
  className: `tool-call-card tool-call-card--flat ${p ?? ""}`.trim(),
3246
3281
  "data-state": n,
@@ -3251,39 +3286,39 @@ function Vt({ name: t, state: n, args: i, result: a, error: o, duration: s, summ
3251
3286
  //#region src/components/extended/TranscriptSync/TranscriptSync.tsx
3252
3287
  function Ht({ segments: e, currentTime: t, onSeek: i, label: a, loading: o, empty: s, error: c, className: l, ...u }) {
3253
3288
  let d = F(null), [f, p] = I(!0), h = F(-1), g = e.findIndex((e) => e.start !== void 0 && e.end !== void 0 && t >= e.start && t < e.end);
3254
- return N(() => {
3289
+ return M(() => {
3255
3290
  g < 0 || (h.current = g, f && (d.current?.querySelector(`[data-index="${g}"]`))?.scrollIntoView({
3256
3291
  block: "nearest",
3257
3292
  behavior: "auto"
3258
3293
  }));
3259
- }, [g, f]), /* @__PURE__ */ j("section", {
3294
+ }, [g, f]), /* @__PURE__ */ A("section", {
3260
3295
  ...u,
3261
3296
  className: `transcript-sync ${l ?? ""}`.trim(),
3262
3297
  "aria-label": a,
3263
3298
  "aria-busy": o || void 0,
3264
- children: [c ? /* @__PURE__ */ A("p", {
3299
+ children: [c ? /* @__PURE__ */ k("p", {
3265
3300
  className: "transcript-sync__state",
3266
3301
  role: "alert",
3267
3302
  "data-part": "error",
3268
3303
  children: c
3269
- }) : o ? /* @__PURE__ */ A("div", {
3304
+ }) : o ? /* @__PURE__ */ k("div", {
3270
3305
  className: "transcript-sync__waiting",
3271
3306
  "data-part": "waiting",
3272
- children: Array.from({ length: 3 }, (e, t) => /* @__PURE__ */ j("div", {
3307
+ children: Array.from({ length: 3 }, (e, t) => /* @__PURE__ */ A("div", {
3273
3308
  className: "transcript-sync__waiting-turn",
3274
- children: [/* @__PURE__ */ A(m, {
3309
+ children: [/* @__PURE__ */ k(m, {
3275
3310
  shape: "text",
3276
3311
  lines: 1
3277
- }), /* @__PURE__ */ A(m, {
3312
+ }), /* @__PURE__ */ k(m, {
3278
3313
  shape: "text",
3279
3314
  lines: 2
3280
3315
  })]
3281
3316
  }, t))
3282
- }) : e.length === 0 ? /* @__PURE__ */ A("p", {
3317
+ }) : e.length === 0 ? /* @__PURE__ */ k("p", {
3283
3318
  className: "transcript-sync__state",
3284
3319
  "data-part": "empty",
3285
3320
  children: s ?? "아직 기록이 없습니다"
3286
- }) : /* @__PURE__ */ A("ol", {
3321
+ }) : /* @__PURE__ */ k("ol", {
3287
3322
  className: "transcript-sync__list",
3288
3323
  ref: d,
3289
3324
  "data-part": "list",
@@ -3300,36 +3335,36 @@ function Ht({ segments: e, currentTime: t, onSeek: i, label: a, loading: o, empt
3300
3335
  },
3301
3336
  children: e.map((t, n) => {
3302
3337
  let r = t.start !== void 0, a = t.speaker && t.speaker !== e[n - 1]?.speaker;
3303
- return /* @__PURE__ */ j("li", {
3338
+ return /* @__PURE__ */ A("li", {
3304
3339
  className: "transcript-sync__turn",
3305
3340
  "data-index": n,
3306
3341
  "data-current": n === g ? "" : void 0,
3307
3342
  "data-part": "turn",
3308
3343
  "data-segment": t.id,
3309
3344
  "aria-current": n === g ? "true" : void 0,
3310
- children: [a ? /* @__PURE__ */ A("p", {
3345
+ children: [a ? /* @__PURE__ */ k("p", {
3311
3346
  className: "transcript-sync__speaker",
3312
3347
  children: t.speaker
3313
- }) : null, r && i ? /* @__PURE__ */ A("button", {
3348
+ }) : null, r && i ? /* @__PURE__ */ k("button", {
3314
3349
  type: "button",
3315
3350
  className: "transcript-sync__text",
3316
3351
  onClick: () => i(t.start),
3317
3352
  "data-part": "seek",
3318
3353
  children: t.text
3319
- }) : /* @__PURE__ */ A("p", {
3354
+ }) : /* @__PURE__ */ k("p", {
3320
3355
  className: "transcript-sync__text",
3321
3356
  "data-untimed": r ? void 0 : "",
3322
3357
  children: t.text
3323
3358
  })]
3324
3359
  }, t.id);
3325
3360
  })
3326
- }), !f && !c && !o && e.length > 0 ? /* @__PURE__ */ j(n, {
3361
+ }), !f && !c && !o && e.length > 0 ? /* @__PURE__ */ A(n, {
3327
3362
  variant: "soft",
3328
3363
  size: "sm",
3329
3364
  className: "transcript-sync__follow",
3330
3365
  onClick: () => p(!0),
3331
3366
  "data-part": "follow",
3332
- children: [/* @__PURE__ */ A(r, {
3367
+ children: [/* @__PURE__ */ k(r, {
3333
3368
  icon: oe,
3334
3369
  size: "sm",
3335
3370
  "aria-hidden": "true"
@@ -3340,27 +3375,27 @@ function Ht({ segments: e, currentTime: t, onSeek: i, label: a, loading: o, empt
3340
3375
  //#endregion
3341
3376
  //#region src/components/extended/TrustBlock/TrustBlock.tsx
3342
3377
  function Ut({ points: e, label: t, layout: n = "stack", size: i = "md", align: a = "start", className: o, ...s }) {
3343
- return /* @__PURE__ */ A("ul", {
3378
+ return /* @__PURE__ */ k("ul", {
3344
3379
  ...s,
3345
3380
  className: `trust-block ${o ?? ""}`.trim(),
3346
3381
  "data-layout": n,
3347
3382
  "data-size": i,
3348
3383
  "data-align": a,
3349
3384
  "aria-label": t,
3350
- children: e.map((e) => /* @__PURE__ */ j("li", {
3385
+ children: e.map((e) => /* @__PURE__ */ A("li", {
3351
3386
  className: "trust-block__point",
3352
3387
  "data-part": "point",
3353
- children: [/* @__PURE__ */ A(r, {
3388
+ children: [/* @__PURE__ */ k(r, {
3354
3389
  icon: e.icon,
3355
3390
  size: i === "sm" ? "sm" : "md",
3356
3391
  tone: "muted",
3357
3392
  "aria-hidden": "true"
3358
- }), /* @__PURE__ */ j("div", {
3393
+ }), /* @__PURE__ */ A("div", {
3359
3394
  className: "trust-block__text",
3360
- children: [/* @__PURE__ */ A("p", {
3395
+ children: [/* @__PURE__ */ k("p", {
3361
3396
  className: "trust-block__title",
3362
3397
  children: e.title
3363
- }), e.body ? /* @__PURE__ */ A("p", {
3398
+ }), e.body ? /* @__PURE__ */ k("p", {
3364
3399
  className: "trust-block__body",
3365
3400
  children: e.body
3366
3401
  }) : null]
@@ -3371,51 +3406,51 @@ function Ut({ points: e, label: t, layout: n = "stack", size: i = "md", align: a
3371
3406
  //#endregion
3372
3407
  //#region src/components/extended/VoiceControlBar/VoiceControlBar.tsx
3373
3408
  function Wt({ label: e, state: i, levels: a, elapsed: o, muted: s, onMuteChange: c, onEnd: l, device: u, deviceProblem: d, placement: p = "inline", children: m, className: h, ...g }) {
3374
- return /* @__PURE__ */ j("div", {
3409
+ return /* @__PURE__ */ A("div", {
3375
3410
  ...g,
3376
3411
  className: `voice-control-bar ${h ?? ""}`.trim(),
3377
3412
  "data-placement": p,
3378
3413
  role: "group",
3379
3414
  "aria-label": e,
3380
3415
  children: [
3381
- /* @__PURE__ */ j("div", {
3416
+ /* @__PURE__ */ A("div", {
3382
3417
  className: "voice-control-bar__meter",
3383
- children: [/* @__PURE__ */ A(f, {
3418
+ children: [/* @__PURE__ */ k(f, {
3384
3419
  state: s ? "idle" : i,
3385
3420
  levels: s ? void 0 : a,
3386
3421
  label: e,
3387
3422
  elapsed: s ? void 0 : o,
3388
3423
  size: p === "full" ? "lg" : "md",
3389
3424
  "data-part": "meter"
3390
- }), s ? /* @__PURE__ */ j("p", {
3425
+ }), s ? /* @__PURE__ */ A("p", {
3391
3426
  className: "voice-control-bar__muted",
3392
3427
  "data-part": "muted",
3393
- children: ["음소거 중", o ? /* @__PURE__ */ A("span", {
3428
+ children: ["음소거 중", o ? /* @__PURE__ */ k("span", {
3394
3429
  className: "voice-control-bar__elapsed",
3395
3430
  children: o
3396
3431
  }) : null]
3397
3432
  }) : null]
3398
3433
  }),
3399
- u || d ? /* @__PURE__ */ j("p", {
3434
+ u || d ? /* @__PURE__ */ A("p", {
3400
3435
  className: "voice-control-bar__device",
3401
3436
  "data-part": "device",
3402
- children: [d ? /* @__PURE__ */ A("span", {
3437
+ children: [d ? /* @__PURE__ */ k("span", {
3403
3438
  className: "voice-control-bar__problem",
3404
3439
  role: "alert",
3405
3440
  "data-part": "problem",
3406
3441
  children: d
3407
- }) : null, u ? /* @__PURE__ */ A("span", {
3442
+ }) : null, u ? /* @__PURE__ */ k("span", {
3408
3443
  className: "voice-control-bar__name",
3409
3444
  "data-part": "name",
3410
3445
  children: u
3411
3446
  }) : null]
3412
3447
  }) : null,
3413
- /* @__PURE__ */ j("div", {
3448
+ /* @__PURE__ */ A("div", {
3414
3449
  className: "voice-control-bar__controls",
3415
3450
  children: [
3416
3451
  m,
3417
- c ? /* @__PURE__ */ A(t, {
3418
- icon: s ? K : me,
3452
+ c ? /* @__PURE__ */ k(t, {
3453
+ icon: s ? ge : W,
3419
3454
  label: "마이크 음소거",
3420
3455
  variant: s ? "solid" : "outline",
3421
3456
  tone: s ? "danger" : "neutral",
@@ -3424,14 +3459,14 @@ function Wt({ label: e, state: i, levels: a, elapsed: o, muted: s, onMuteChange:
3424
3459
  onClick: () => c(!s),
3425
3460
  "data-part": "mute"
3426
3461
  }) : null,
3427
- /* @__PURE__ */ j(n, {
3462
+ /* @__PURE__ */ A(n, {
3428
3463
  variant: "solid",
3429
3464
  tone: "danger",
3430
3465
  size: p === "full" ? "lg" : "md",
3431
3466
  onClick: l,
3432
3467
  "data-part": "end",
3433
- children: [/* @__PURE__ */ A(r, {
3434
- icon: ge,
3468
+ children: [/* @__PURE__ */ k(r, {
3469
+ icon: K,
3435
3470
  size: "sm",
3436
3471
  "aria-hidden": "true"
3437
3472
  }), "통화 끝내기"]
@@ -3442,6 +3477,6 @@ function Wt({ label: e, state: i, levels: a, elapsed: o, muted: s, onMuteChange:
3442
3477
  });
3443
3478
  }
3444
3479
  //#endregion
3445
- export { it as A, ht as C, Z as D, ct as E, Be as F, ze as I, Re as L, Ke as M, Ge as N, st as O, Ue as P, Ne as R, gt as S, lt as T, Ct as _, zt as a, $ as b, Ft as c, jt as d, kt as f, wt as g, Tt as h, Vt as i, et as j, at as k, Nt as l, Et as m, Ut as n, Rt as o, Dt as p, Ht as r, Pt as s, Wt as t, Mt as u, St as v, pt as w, yt as x, xt as y, Ae as z };
3480
+ export { rt as A, ht as C, at as D, ct as E, ze as F, Re as I, Le as L, Ge as M, We as N, st as O, He as P, Me as R, gt as S, lt as T, Ct as _, zt as a, $ as b, Ft as c, jt as d, kt as f, wt as g, Tt as h, Vt as i, $e as j, it as k, Nt as l, Et as m, Ut as n, Rt as o, Dt as p, Ht as r, Pt as s, Wt as t, Mt as u, St as v, pt as w, yt as x, xt as y, ke as z };
3446
3481
 
3447
- //# sourceMappingURL=VoiceControlBar-CpEz6uxS.js.map
3482
+ //# sourceMappingURL=VoiceControlBar-CZL-k7ym.js.map