@idbrnd/design-system 2.1.2 → 2.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.js CHANGED
@@ -1,6 +1,6 @@
1
1
  import { jsx as n, jsxs as p, Fragment as S1 } from "react/jsx-runtime";
2
2
  import * as $2 from "react";
3
- import { Children as $1, useMemo as Z1, useId as _9, isValidElement as D2, useRef as F, useEffect as z, useState as q, useCallback as G, useLayoutEffect as o9, createElement as F2, Fragment as O2 } from "react";
3
+ import { Children as $1, useMemo as Z1, useId as _9, isValidElement as D2, useRef as F, useEffect as J, useState as q, useCallback as G, useLayoutEffect as o9, createElement as F2, Fragment as O2 } from "react";
4
4
  import P2, { createPortal as b9 } from "react-dom";
5
5
  import './style.css';const j2 = "_clipWrapper_3mxht_1", W2 = "_clip_3mxht_1", q2 = "_sync_3mxht_59", G2 = "_syncDot_3mxht_65", U2 = "_fade_3mxht_72", Q2 = "_fadeBar_3mxht_77", j1 = {
6
6
  clipWrapper: j2,
@@ -17,17 +17,17 @@ function X2({ color: e = F9, size: t = 10 }) {
17
17
  const o = Math.max(2, Math.round(t)), l = Math.max(2, Math.round(t * 0.5));
18
18
  return (
19
19
  // 점 3개를 가로로 배치하는 컨테이너
20
- /* @__PURE__ */ n("span", { className: j1.sync, style: { color: e, gap: l }, children: Array.from({ length: 3 }).map((r, s) => /* @__PURE__ */ n(
20
+ /* @__PURE__ */ n("span", { className: j1.sync, style: { color: e, gap: l }, children: Array.from({ length: 3 }).map((r, c) => /* @__PURE__ */ n(
21
21
  "span",
22
22
  {
23
23
  className: j1.syncDot,
24
24
  style: {
25
25
  width: o,
26
26
  height: o,
27
- animationDelay: `${s * 0.12}s`
27
+ animationDelay: `${c * 0.12}s`
28
28
  }
29
29
  },
30
- s
30
+ c
31
31
  )) })
32
32
  );
33
33
  }
@@ -53,10 +53,10 @@ function l9({ color: e = F9, size: t = 10, text: o = "" }) {
53
53
  );
54
54
  }
55
55
  function Zr({ color: e = F9, width: t = 4, height: o = 12, radius: l = 2, margin: r = 2 }) {
56
- const i = Math.max(6, Math.round(o + r + 1)), c = i * 2 + o, C = 1, a = C / 8;
56
+ const i = Math.max(6, Math.round(o + r + 1)), s = i * 2 + o, C = 1, a = C / 8;
57
57
  return (
58
58
  // 원형 막대 스피너의 기준 좌표가 되는 컨테이너(막대 위치는 고정)
59
- /* @__PURE__ */ n("span", { className: j1.fade, style: { color: e, width: c, height: c }, children: Array.from({ length: 8 }).map((f, d) => /* @__PURE__ */ n(
59
+ /* @__PURE__ */ n("span", { className: j1.fade, style: { color: e, width: s, height: s }, children: Array.from({ length: 8 }).map((f, d) => /* @__PURE__ */ n(
60
60
  "span",
61
61
  {
62
62
  className: j1.fadeBar,
@@ -100,9 +100,9 @@ function Vr({
100
100
  size: o = "medium",
101
101
  disabled: l = !1,
102
102
  loading: r = !1,
103
- keepFocusOnClick: s = !1,
103
+ keepFocusOnClick: c = !1,
104
104
  customStyle: i = {},
105
- onClick: c,
105
+ onClick: s,
106
106
  className: C,
107
107
  children: a,
108
108
  type: f = "button",
@@ -115,10 +115,10 @@ function Vr({
115
115
  _1[o],
116
116
  r ? _1.loading : "",
117
117
  C ?? ""
118
- ].filter(Boolean).join(" "), v = [_1.spinnerWrapper, _1[`spinner-${t}`]].filter(Boolean).join(" "), h = [_1.content, e === "fixed" ? _1.fixedContent : ""].filter(Boolean).join(" "), m = e === "fixed" ? $1.map(a, (w) => {
119
- const L = typeof w == "string" || typeof w == "number" ? _1.text : _1.node;
120
- return /* @__PURE__ */ n("span", { className: L, children: w });
121
- }) : a, _ = Z1(() => ({
118
+ ].filter(Boolean).join(" "), v = [_1.spinnerWrapper, _1[`spinner-${t}`]].filter(Boolean).join(" "), h = [_1.content, e === "fixed" ? _1.fixedContent : ""].filter(Boolean).join(" "), w = e === "fixed" ? $1.map(a, (m) => {
119
+ const _ = typeof m == "string" || typeof m == "number" ? _1.text : _1.node;
120
+ return /* @__PURE__ */ n("span", { className: _, children: m });
121
+ }) : a, L = Z1(() => ({
122
122
  large: 24,
123
123
  medium: 24,
124
124
  small: 24,
@@ -130,13 +130,13 @@ function Vr({
130
130
  "data-idb-component": !0,
131
131
  type: f,
132
132
  className: u,
133
- onClick: r ? void 0 : (w) => {
134
- c?.(w), !s && !w.defaultPrevented && w.currentTarget.blur();
133
+ onClick: r ? void 0 : (m) => {
134
+ s?.(m), !c && !m.defaultPrevented && m.currentTarget.blur();
135
135
  },
136
136
  disabled: l,
137
137
  style: i,
138
138
  ...d,
139
- children: r ? /* @__PURE__ */ n("span", { className: v, children: /* @__PURE__ */ n(l9, { size: _, color: "currentColor" }) }) : /* @__PURE__ */ n("span", { className: h, children: m })
139
+ children: r ? /* @__PURE__ */ n("span", { className: v, children: /* @__PURE__ */ n(l9, { size: L, color: "currentColor" }) }) : /* @__PURE__ */ n("span", { className: h, children: w })
140
140
  }
141
141
  );
142
142
  }
@@ -167,9 +167,9 @@ function Ir({
167
167
  size: o = "medium",
168
168
  disabled: l = !1,
169
169
  loading: r = !1,
170
- keepFocusOnClick: s = !1,
170
+ keepFocusOnClick: c = !1,
171
171
  customStyle: i = {},
172
- onClick: c,
172
+ onClick: s,
173
173
  className: C,
174
174
  children: a,
175
175
  type: f = "button",
@@ -182,10 +182,10 @@ function Ir({
182
182
  b1[o],
183
183
  r ? b1.loading : "",
184
184
  C ?? ""
185
- ].filter(Boolean).join(" "), v = [b1.spinnerWrapper, b1[`spinner-${t}`]].filter(Boolean).join(" "), h = [b1.content, e === "fixed" ? b1.fixedContent : ""].filter(Boolean).join(" "), m = e === "fixed" ? $1.map(a, (w) => {
186
- const L = typeof w == "string" || typeof w == "number" ? b1.text : b1.node;
187
- return /* @__PURE__ */ n("span", { className: L, children: w });
188
- }) : a, _ = Z1(() => ({
185
+ ].filter(Boolean).join(" "), v = [b1.spinnerWrapper, b1[`spinner-${t}`]].filter(Boolean).join(" "), h = [b1.content, e === "fixed" ? b1.fixedContent : ""].filter(Boolean).join(" "), w = e === "fixed" ? $1.map(a, (m) => {
186
+ const _ = typeof m == "string" || typeof m == "number" ? b1.text : b1.node;
187
+ return /* @__PURE__ */ n("span", { className: _, children: m });
188
+ }) : a, L = Z1(() => ({
189
189
  large: 24,
190
190
  medium: 24,
191
191
  small: 24,
@@ -197,13 +197,13 @@ function Ir({
197
197
  "data-idb-component": !0,
198
198
  type: f,
199
199
  className: u,
200
- onClick: r ? void 0 : (w) => {
201
- c?.(w), !s && !w.defaultPrevented && w.currentTarget.blur();
200
+ onClick: r ? void 0 : (m) => {
201
+ s?.(m), !c && !m.defaultPrevented && m.currentTarget.blur();
202
202
  },
203
203
  disabled: l,
204
204
  style: i,
205
205
  ...d,
206
- children: r ? /* @__PURE__ */ n("span", { className: v, children: /* @__PURE__ */ n(l9, { size: _, color: "currentColor" }) }) : /* @__PURE__ */ n("span", { className: h, children: m })
206
+ children: r ? /* @__PURE__ */ n("span", { className: v, children: /* @__PURE__ */ n(l9, { size: L, color: "currentColor" }) }) : /* @__PURE__ */ n("span", { className: h, children: w })
207
207
  }
208
208
  );
209
209
  }
@@ -234,9 +234,9 @@ function u9({
234
234
  size: o = "medium",
235
235
  disabled: l = !1,
236
236
  loading: r = !1,
237
- keepFocusOnClick: s = !1,
237
+ keepFocusOnClick: c = !1,
238
238
  customStyle: i = {},
239
- onClick: c,
239
+ onClick: s,
240
240
  className: C,
241
241
  children: a,
242
242
  type: f = "button",
@@ -249,10 +249,10 @@ function u9({
249
249
  x1[o],
250
250
  r ? x1.loading : "",
251
251
  C ?? ""
252
- ].filter(Boolean).join(" "), v = [x1.spinnerWrapper, x1[`spinner-${t}`]].filter(Boolean).join(" "), h = [x1.content, e === "fixed" ? x1.fixedContent : ""].filter(Boolean).join(" "), m = e === "fixed" ? $1.map(a, (w) => {
253
- const L = typeof w == "string" || typeof w == "number" ? x1.text : x1.node;
254
- return /* @__PURE__ */ n("span", { className: L, children: w });
255
- }) : a, _ = Z1(() => ({
252
+ ].filter(Boolean).join(" "), v = [x1.spinnerWrapper, x1[`spinner-${t}`]].filter(Boolean).join(" "), h = [x1.content, e === "fixed" ? x1.fixedContent : ""].filter(Boolean).join(" "), w = e === "fixed" ? $1.map(a, (m) => {
253
+ const _ = typeof m == "string" || typeof m == "number" ? x1.text : x1.node;
254
+ return /* @__PURE__ */ n("span", { className: _, children: m });
255
+ }) : a, L = Z1(() => ({
256
256
  large: 24,
257
257
  medium: 24,
258
258
  small: 24,
@@ -264,13 +264,13 @@ function u9({
264
264
  "data-idb-component": !0,
265
265
  type: f,
266
266
  className: u,
267
- onClick: r ? void 0 : (w) => {
268
- c?.(w), !s && !w.defaultPrevented && w.currentTarget.blur();
267
+ onClick: r ? void 0 : (m) => {
268
+ s?.(m), !c && !m.defaultPrevented && m.currentTarget.blur();
269
269
  },
270
270
  disabled: l,
271
271
  style: i,
272
272
  ...d,
273
- children: r ? /* @__PURE__ */ n("span", { className: v, children: /* @__PURE__ */ n(l9, { size: _, color: "currentColor" }) }) : /* @__PURE__ */ n("span", { className: h, children: m })
273
+ children: r ? /* @__PURE__ */ n("span", { className: v, children: /* @__PURE__ */ n(l9, { size: L, color: "currentColor" }) }) : /* @__PURE__ */ n("span", { className: h, children: w })
274
274
  }
275
275
  );
276
276
  }
@@ -301,9 +301,9 @@ function Br({
301
301
  size: o = "medium",
302
302
  disabled: l = !1,
303
303
  loading: r = !1,
304
- keepFocusOnClick: s = !1,
304
+ keepFocusOnClick: c = !1,
305
305
  customStyle: i = {},
306
- onClick: c,
306
+ onClick: s,
307
307
  className: C,
308
308
  children: a,
309
309
  type: f = "button",
@@ -316,10 +316,10 @@ function Br({
316
316
  M1[o],
317
317
  r ? M1.loading : "",
318
318
  C ?? ""
319
- ].filter(Boolean).join(" "), v = [M1.spinnerWrapper, M1[`spinner-${t}`]].filter(Boolean).join(" "), h = [M1.content, e === "fixed" ? M1.fixedContent : ""].filter(Boolean).join(" "), m = e === "fixed" ? $1.map(a, (w) => {
320
- const L = typeof w == "string" || typeof w == "number" ? M1.text : M1.node;
321
- return /* @__PURE__ */ n("span", { className: L, children: w });
322
- }) : a, _ = Z1(() => ({
319
+ ].filter(Boolean).join(" "), v = [M1.spinnerWrapper, M1[`spinner-${t}`]].filter(Boolean).join(" "), h = [M1.content, e === "fixed" ? M1.fixedContent : ""].filter(Boolean).join(" "), w = e === "fixed" ? $1.map(a, (m) => {
320
+ const _ = typeof m == "string" || typeof m == "number" ? M1.text : M1.node;
321
+ return /* @__PURE__ */ n("span", { className: _, children: m });
322
+ }) : a, L = Z1(() => ({
323
323
  large: 24,
324
324
  medium: 24,
325
325
  small: 24,
@@ -331,13 +331,13 @@ function Br({
331
331
  "data-idb-component": !0,
332
332
  type: f,
333
333
  className: u,
334
- onClick: r ? void 0 : (w) => {
335
- c?.(w), !s && !w.defaultPrevented && w.currentTarget.blur();
334
+ onClick: r ? void 0 : (m) => {
335
+ s?.(m), !c && !m.defaultPrevented && m.currentTarget.blur();
336
336
  },
337
337
  disabled: l,
338
338
  style: i,
339
339
  ...d,
340
- children: r ? /* @__PURE__ */ n("span", { className: v, children: /* @__PURE__ */ n(l9, { size: _, color: "currentColor" }) }) : /* @__PURE__ */ n("span", { className: h, children: m })
340
+ children: r ? /* @__PURE__ */ n("span", { className: v, children: /* @__PURE__ */ n(l9, { size: L, color: "currentColor" }) }) : /* @__PURE__ */ n("span", { className: h, children: w })
341
341
  }
342
342
  );
343
343
  }
@@ -352,21 +352,21 @@ function S9({
352
352
  keepFocusOnClick: o = !1,
353
353
  customStyle: l = {},
354
354
  onClick: r,
355
- className: s,
355
+ className: c,
356
356
  children: i,
357
- type: c = "button",
357
+ type: s = "button",
358
358
  ...C
359
359
  }) {
360
360
  const a = [
361
361
  e2.button,
362
362
  e2[e],
363
- s ?? ""
363
+ c ?? ""
364
364
  ].filter(Boolean).join(" ");
365
365
  return /* @__PURE__ */ n(
366
366
  "button",
367
367
  {
368
368
  "data-idb-component": !0,
369
- type: c,
369
+ type: s,
370
370
  className: a,
371
371
  onClick: (d) => {
372
372
  r?.(d), !o && !d.defaultPrevented && d.currentTarget.blur();
@@ -392,9 +392,9 @@ function Rr({
392
392
  disabled: o = !1,
393
393
  keepFocusOnClick: l = !1,
394
394
  customStyle: r = {},
395
- onClick: s,
395
+ onClick: c,
396
396
  children: i,
397
- type: c = "button",
397
+ type: s = "button",
398
398
  ...C
399
399
  }) {
400
400
  const a = [I9.button, I9[e], I9[t]].filter(Boolean).join(" ");
@@ -402,10 +402,10 @@ function Rr({
402
402
  "button",
403
403
  {
404
404
  "data-idb-component": !0,
405
- type: c,
405
+ type: s,
406
406
  className: a,
407
407
  onClick: (d) => {
408
- s?.(d), !l && !d.defaultPrevented && d.currentTarget.blur();
408
+ c?.(d), !l && !d.defaultPrevented && d.currentTarget.blur();
409
409
  },
410
410
  disabled: o,
411
411
  style: r,
@@ -425,9 +425,9 @@ function kr({
425
425
  keepFocusOnClick: o = !1,
426
426
  customStyle: l = {},
427
427
  onClick: r,
428
- children: s,
428
+ children: c,
429
429
  type: i = "button",
430
- ...c
430
+ ...s
431
431
  }) {
432
432
  const C = [t2.button, t2[e]].filter(Boolean).join(" ");
433
433
  return /* @__PURE__ */ n(
@@ -441,8 +441,8 @@ function kr({
441
441
  },
442
442
  disabled: t,
443
443
  style: l,
444
- ...c,
445
- children: s
444
+ ...s,
445
+ children: c
446
446
  }
447
447
  );
448
448
  }
@@ -544,11 +544,11 @@ function K4({
544
544
  // 상태 variant
545
545
  width: r,
546
546
  // 루트 너비
547
- heading: s = !0,
547
+ heading: c = !0,
548
548
  // 라벨 표시 여부
549
549
  headingContent: i = "Label",
550
550
  // 라벨 내용
551
- required: c = !1,
551
+ required: s = !1,
552
552
  // 라벨 우측 *
553
553
  description: C = !1,
554
554
  // 하단 안내 문구
@@ -564,38 +564,38 @@ function K4({
564
564
  // 루트 커스텀 스타일
565
565
  id: h,
566
566
  // input id
567
- onFocus: m,
567
+ onFocus: w,
568
568
  // 포커스 진입 핸들러
569
- onBlur: _,
569
+ onBlur: L,
570
570
  // 포커스 이탈 핸들러
571
571
  onChange: g,
572
572
  // 값 변경 핸들러
573
- value: w,
573
+ value: m,
574
574
  // 현재 값
575
- disabled: L = !1,
575
+ disabled: _ = !1,
576
576
  // 전체 비활성화 여부
577
- readOnly: Z = !1,
577
+ readOnly: H = !1,
578
578
  // 읽기 전용 여부
579
- ...S
579
+ ...k
580
580
  }) {
581
- const x = _9(), I = h ?? x, b = s, V = i, { currentValue: R, handleFocus: M, handleBlur: k, handleChange: N } = X4({
582
- value: w,
583
- onFocus: m,
584
- onBlur: _,
581
+ const x = _9(), V = h ?? x, I = c, A = i, { currentValue: M, handleFocus: b, handleBlur: B, handleChange: S } = X4({
582
+ value: m,
583
+ onFocus: w,
584
+ onBlur: L,
585
585
  onChange: g
586
- }), y = Z1(() => R == null ? !1 : Array.isArray(R) ? R.length > 0 : typeof R == "number" ? !0 : String(R).length > 0, [R]), H = Z1(() => g9(f), [f]), T = Z1(() => g9(C), [C]), A = H !== void 0, D = Z1(() => A ? "error" : l !== void 0 ? l : y ? "typed" : "basic", [A, l, y]), O = D === "error", U = D === "success", a1 = D === "onFocus" || D === "onTyping", h1 = [
586
+ }), y = Z1(() => M == null ? !1 : Array.isArray(M) ? M.length > 0 : typeof M == "number" ? !0 : String(M).length > 0, [M]), Z = Z1(() => g9(f), [f]), T = Z1(() => g9(C), [C]), N = Z !== void 0, D = Z1(() => N ? "error" : l !== void 0 ? l : y ? "typed" : "basic", [N, l, y]), O = D === "error", U = D === "success", a1 = D === "onFocus" || D === "onTyping", h1 = [
587
587
  Q.control,
588
588
  Q[t],
589
589
  O ? Q.error : U ? Q.success : Q.basic,
590
590
  Q[o],
591
- !L && a1 ? Q.focused : "",
592
- L ? Q.disabled : ""
593
- ].filter(Boolean).join(" "), l1 = [Q.inputField, Q[`input-${o}`]].join(" "), K = Q.root, B1 = [Q.label, L ? Q.labelDisabled : ""].filter(Boolean).join(" "), g1 = Z1(() => O ? A ? H : "에러 메시지가 표시됩니다." : C === !1 || C === void 0 || C === null ? null : C === !0 ? "2~19자 이내로 입력해 주세요." : T ?? null, [C, O, A, T, H]), r1 = [
591
+ !_ && a1 ? Q.focused : "",
592
+ _ ? Q.disabled : ""
593
+ ].filter(Boolean).join(" "), l1 = [Q.inputField, Q[`input-${o}`]].join(" "), K = Q.root, B1 = [Q.label, _ ? Q.labelDisabled : ""].filter(Boolean).join(" "), g1 = Z1(() => O ? N ? Z : "에러 메시지가 표시됩니다." : C === !1 || C === void 0 || C === null ? null : C === !0 ? "2~19자 이내로 입력해 주세요." : T ?? null, [C, O, N, T, Z]), r1 = [
594
594
  Q.helper,
595
595
  a ? Q.helperFixed : "",
596
596
  O ? Q.errorHelper : "",
597
597
  O && g1 !== null ? Q.errorHelperBounce : "",
598
- L ? Q.helperDisabled : "",
598
+ _ ? Q.helperDisabled : "",
599
599
  a && g1 === null ? Q.helperPlaceholder : ""
600
600
  ].filter(Boolean).join(" ");
601
601
  return /* @__PURE__ */ p(
@@ -608,33 +608,33 @@ function K4({
608
608
  ...v
609
609
  },
610
610
  children: [
611
- b ? /* @__PURE__ */ p("label", { htmlFor: I, className: B1, children: [
612
- /* @__PURE__ */ n("span", { children: V }),
613
- c ? /* @__PURE__ */ n("span", { className: Q.requiredMark, children: "*" }) : null
611
+ I ? /* @__PURE__ */ p("label", { htmlFor: V, className: B1, children: [
612
+ /* @__PURE__ */ n("span", { children: A }),
613
+ s ? /* @__PURE__ */ n("span", { className: Q.requiredMark, children: "*" }) : null
614
614
  ] }) : null,
615
615
  /* @__PURE__ */ n("div", { className: Q.controlRow, children: /* @__PURE__ */ p("div", { className: h1, children: [
616
616
  d ? /* @__PURE__ */ n("span", { className: Q.leadingIcon, children: d }) : null,
617
617
  /* @__PURE__ */ n(
618
618
  "input",
619
619
  {
620
- id: I,
620
+ id: V,
621
621
  type: e,
622
- value: R,
622
+ value: M,
623
623
  className: l1,
624
- onFocus: M,
625
- onBlur: k,
626
- onChange: N,
627
- disabled: L,
628
- readOnly: Z,
629
- required: c,
630
- ...S
624
+ onFocus: b,
625
+ onBlur: B,
626
+ onChange: S,
627
+ disabled: _,
628
+ readOnly: H,
629
+ required: s,
630
+ ...k
631
631
  }
632
632
  ),
633
633
  /* @__PURE__ */ n(
634
634
  Q4,
635
635
  {
636
636
  content: u,
637
- disabled: L
637
+ disabled: _
638
638
  }
639
639
  )
640
640
  ] }) }),
@@ -662,11 +662,11 @@ function Sr({
662
662
  // 입력내용 전체 삭제 핸들러(미전달 시 기본 삭제 동작)
663
663
  size: r = "default",
664
664
  // 인풋 크기
665
- width: s,
665
+ width: c,
666
666
  // 컴포넌트 너비
667
667
  designType: i = "outline",
668
668
  // 인풋 외형 타입
669
- heading: c = !1,
669
+ heading: s = !1,
670
670
  // 라벨 표시 여부
671
671
  headingContent: C,
672
672
  // 라벨 내용
@@ -682,49 +682,49 @@ function Sr({
682
682
  // 읽기 전용 여부
683
683
  id: h,
684
684
  // input id
685
- name: m,
685
+ name: w,
686
686
  // input name
687
- placeholder: _,
687
+ placeholder: L,
688
688
  // placeholder 텍스트
689
689
  leadingIcon: g,
690
690
  // 좌측 아이콘 슬롯
691
- trailingContent: w,
691
+ trailingContent: m,
692
692
  // 우측 trailing 콘텐츠(미지정 시 검색 버튼 사용)
693
- maxLength: L = 20,
693
+ maxLength: _ = 20,
694
694
  // 최대 입력 길이
695
- required: Z = !1,
695
+ required: H = !1,
696
696
  // 필수 입력 여부
697
- errorMessage: S,
697
+ errorMessage: k,
698
698
  // 에러 상태 문구
699
699
  onBlur: x,
700
700
  // 포커스 이탈 핸들러
701
- onKeyDown: I,
701
+ onKeyDown: V,
702
702
  // 키다운 핸들러
703
- ...b
703
+ ...I
704
704
  }) {
705
- const V = _9(), R = h ?? V, M = () => o(e), k = () => {
706
- const A = document.getElementById(R);
707
- if (!(A instanceof HTMLInputElement))
705
+ const A = _9(), M = h ?? A, b = () => o(e), B = () => {
706
+ const N = document.getElementById(M);
707
+ if (!(N instanceof HTMLInputElement))
708
708
  return;
709
709
  const D = Object.getOwnPropertyDescriptor(HTMLInputElement.prototype, "value")?.set;
710
- D !== void 0 && (D.call(A, ""), A.dispatchEvent(new Event("input", { bubbles: !0 })));
711
- }, N = () => {
710
+ D !== void 0 && (D.call(N, ""), N.dispatchEvent(new Event("input", { bubbles: !0 })));
711
+ }, S = () => {
712
712
  if (!(u || v || e.length === 0)) {
713
713
  if (l !== void 0) {
714
714
  l();
715
715
  return;
716
716
  }
717
- k();
717
+ B();
718
718
  }
719
- }, y = (A) => {
720
- I?.(A), !A.defaultPrevented && (A.key !== "Enter" || A.nativeEvent.isComposing || (A.preventDefault(), M()));
721
- }, H = a === void 0 ? void 0 : e6[a], T = w ?? /* @__PURE__ */ p("span", { className: z4.actionButtons, children: [
719
+ }, y = (N) => {
720
+ V?.(N), !N.defaultPrevented && (N.key !== "Enter" || N.nativeEvent.isComposing || (N.preventDefault(), b()));
721
+ }, Z = a === void 0 ? void 0 : e6[a], T = m ?? /* @__PURE__ */ p("span", { className: z4.actionButtons, children: [
722
722
  e.length > 0 ? /* @__PURE__ */ n(
723
723
  S9,
724
724
  {
725
725
  size: "small",
726
726
  keepFocusOnClick: !0,
727
- onClick: N,
727
+ onClick: S,
728
728
  disabled: u || v,
729
729
  children: /* @__PURE__ */ n(
730
730
  "img",
@@ -740,7 +740,7 @@ function Sr({
740
740
  {
741
741
  size: "small",
742
742
  keepFocusOnClick: !0,
743
- onClick: M,
743
+ onClick: b,
744
744
  disabled: u,
745
745
  children: /* @__PURE__ */ n(
746
746
  "img",
@@ -755,28 +755,28 @@ function Sr({
755
755
  return /* @__PURE__ */ n(
756
756
  K4,
757
757
  {
758
- ...b,
759
- id: R,
760
- name: m,
758
+ ...I,
759
+ id: M,
760
+ name: w,
761
761
  value: e,
762
- placeholder: _,
762
+ placeholder: L,
763
763
  onChange: t,
764
764
  onBlur: x,
765
765
  onKeyDown: y,
766
766
  type: "text",
767
- width: s,
767
+ width: c,
768
768
  designType: i,
769
769
  size: r,
770
- heading: c,
770
+ heading: s,
771
771
  headingContent: C,
772
- required: Z,
772
+ required: H,
773
773
  description: f,
774
774
  fixedDescriptionHeight: d,
775
- variant: H,
776
- errorMessage: S,
775
+ variant: Z,
776
+ errorMessage: k,
777
777
  leadingIcon: g,
778
778
  trailingContent: T,
779
- maxLength: L,
779
+ maxLength: _,
780
780
  disabled: u,
781
781
  readOnly: v
782
782
  }
@@ -804,19 +804,19 @@ function n2({
804
804
  density: o = "default",
805
805
  disabled: l = !1,
806
806
  customStyle: r = {},
807
- className: s,
807
+ className: c,
808
808
  checked: i = !1,
809
- indeterminate: c = !1,
809
+ indeterminate: s = !1,
810
810
  children: C,
811
811
  onChange: a,
812
812
  ...f
813
813
  }) {
814
814
  const d = F(null);
815
- z(() => {
816
- d.current && (d.current.indeterminate = c);
817
- }, [c]);
818
- const u = (m) => {
819
- a?.(m.target.checked);
815
+ J(() => {
816
+ d.current && (d.current.indeterminate = s);
817
+ }, [s]);
818
+ const u = (w) => {
819
+ a?.(w.target.checked);
820
820
  }, v = t === "small" ? n6 : t6, h = [
821
821
  m1.wrapper,
822
822
  m1[e],
@@ -824,7 +824,7 @@ function n2({
824
824
  m1[o],
825
825
  i ? m1.active : "",
826
826
  l ? m1.disabled : "",
827
- s ?? ""
827
+ c ?? ""
828
828
  ].filter(Boolean).join(" ");
829
829
  return /* @__PURE__ */ p("label", { "data-idb-component": !0, className: h, style: r, children: [
830
830
  /* @__PURE__ */ n(
@@ -840,7 +840,7 @@ function n2({
840
840
  }
841
841
  ),
842
842
  /* @__PURE__ */ n("span", { className: m1.control, children: /* @__PURE__ */ p("span", { className: m1.box, children: [
843
- i && c && /* @__PURE__ */ n(
843
+ i && s && /* @__PURE__ */ n(
844
844
  "img",
845
845
  {
846
846
  src: o6,
@@ -849,7 +849,7 @@ function n2({
849
849
  "aria-hidden": "true"
850
850
  }
851
851
  ),
852
- i && !c && /* @__PURE__ */ n(
852
+ i && !s && /* @__PURE__ */ n(
853
853
  "img",
854
854
  {
855
855
  src: v,
@@ -882,9 +882,9 @@ function Ar({
882
882
  density: o = "default",
883
883
  disabled: l = !1,
884
884
  checked: r = !1,
885
- customStyle: s = {},
885
+ customStyle: c = {},
886
886
  className: i,
887
- children: c,
887
+ children: s,
888
888
  onChange: C,
889
889
  ...a
890
890
  }) {
@@ -899,7 +899,7 @@ function Ar({
899
899
  l ? y1.disabled : "",
900
900
  i ?? ""
901
901
  ].filter(Boolean).join(" ");
902
- return /* @__PURE__ */ p("label", { "data-idb-component": !0, className: d, style: s, children: [
902
+ return /* @__PURE__ */ p("label", { "data-idb-component": !0, className: d, style: c, children: [
903
903
  /* @__PURE__ */ n(
904
904
  "input",
905
905
  {
@@ -912,7 +912,7 @@ function Ar({
912
912
  }
913
913
  ),
914
914
  /* @__PURE__ */ n("span", { className: y1.control, children: /* @__PURE__ */ n("span", { className: y1.circle }) }),
915
- c != null ? /* @__PURE__ */ n("span", { className: y1.content, children: c }) : null
915
+ s != null ? /* @__PURE__ */ n("span", { className: y1.content, children: s }) : null
916
916
  ] });
917
917
  }
918
918
  const B6 = "_wrapper_tycam_1", R6 = "_disabled_tycam_8", k6 = "_input_tycam_13", S6 = "_track_tycam_22", A6 = "_thumb_tycam_31", N6 = "_small_tycam_41", E6 = "_medium_tycam_52", T6 = "_large_tycam_63", $6 = "_off_tycam_76", D6 = "_on_tycam_82", A1 = {
@@ -933,11 +933,11 @@ function Nr({
933
933
  disabled: o = !1,
934
934
  customStyle: l = {},
935
935
  className: r,
936
- onChange: s,
936
+ onChange: c,
937
937
  ...i
938
938
  }) {
939
- const c = (a) => {
940
- s?.(a.target.checked);
939
+ const s = (a) => {
940
+ c?.(a.target.checked);
941
941
  }, C = [
942
942
  A1.wrapper,
943
943
  A1[e],
@@ -953,7 +953,7 @@ function Nr({
953
953
  className: A1.input,
954
954
  checked: t,
955
955
  disabled: o,
956
- onChange: c,
956
+ onChange: s,
957
957
  ...i
958
958
  }
959
959
  ),
@@ -972,17 +972,17 @@ function Er({
972
972
  maxCount: o = 999,
973
973
  bgColor: l,
974
974
  color: r,
975
- disabled: s = !1,
975
+ disabled: c = !1,
976
976
  customStyle: i = {},
977
- className: c
977
+ className: s
978
978
  }) {
979
- if (s)
979
+ if (c)
980
980
  return null;
981
981
  const C = t > o ? `${o}+` : t, a = {
982
982
  ...l ? { backgroundColor: l } : {},
983
983
  ...r ? { color: r } : {},
984
984
  ...i
985
- }, f = [o2.badge, o2[e], c ?? ""].filter(Boolean).join(" ");
985
+ }, f = [o2.badge, o2[e], s ?? ""].filter(Boolean).join(" ");
986
986
  return /* @__PURE__ */ p("span", { "data-idb-component": !0, className: f, style: a, children: [
987
987
  e === "number" ? C : null,
988
988
  e === "info" ? "?" : null
@@ -1162,9 +1162,9 @@ function A3(e) {
1162
1162
  W1(), z1(), J1 = e, w2();
1163
1163
  }
1164
1164
  function N3({ snackbar: e, onPauseAutoHide: t, onResumeAutoHide: o, onClose: l }) {
1165
- const r = F(null), [s, i] = q(!1), c = K1(e.heading), C = K1(e.description);
1166
- z(() => {
1167
- if (!c) {
1165
+ const r = F(null), [c, i] = q(!1), s = K1(e.heading), C = K1(e.description);
1166
+ J(() => {
1167
+ if (!s) {
1168
1168
  i(!1);
1169
1169
  return;
1170
1170
  }
@@ -1172,19 +1172,19 @@ function N3({ snackbar: e, onPauseAutoHide: t, onResumeAutoHide: o, onClose: l }
1172
1172
  if (!v)
1173
1173
  return;
1174
1174
  let h = null;
1175
- const m = () => {
1175
+ const w = () => {
1176
1176
  i(v.scrollHeight > v.clientHeight + 1);
1177
- }, _ = () => {
1178
- h !== null && window.cancelAnimationFrame(h), h = window.requestAnimationFrame(m);
1177
+ }, L = () => {
1178
+ h !== null && window.cancelAnimationFrame(h), h = window.requestAnimationFrame(w);
1179
1179
  };
1180
- _();
1180
+ L();
1181
1181
  const g = typeof ResizeObserver < "u";
1182
- let w = null;
1183
- return g ? (w = new ResizeObserver(_), w.observe(v)) : window.addEventListener("resize", _), () => {
1184
- h !== null && window.cancelAnimationFrame(h), w?.disconnect(), g || window.removeEventListener("resize", _);
1182
+ let m = null;
1183
+ return g ? (m = new ResizeObserver(L), m.observe(v)) : window.addEventListener("resize", L), () => {
1184
+ h !== null && window.cancelAnimationFrame(h), m?.disconnect(), g || window.removeEventListener("resize", L);
1185
1185
  };
1186
- }, [c, e.description, e.heading]);
1187
- const a = c && !s, f = c ? C ? /* @__PURE__ */ p(S1, { children: [
1186
+ }, [s, e.description, e.heading]);
1187
+ const a = s && !c, f = s ? C ? /* @__PURE__ */ p(S1, { children: [
1188
1188
  e.heading,
1189
1189
  " ",
1190
1190
  e.description
@@ -1210,7 +1210,7 @@ function N3({ snackbar: e, onPauseAutoHide: t, onResumeAutoHide: o, onClose: l }
1210
1210
  /* @__PURE__ */ n("p", { className: t1.heading, children: e.heading }),
1211
1211
  C ? /* @__PURE__ */ n("p", { className: t1.description, children: e.description }) : null
1212
1212
  ] }) : /* @__PURE__ */ n("p", { className: t1.description, children: f }),
1213
- c ? (
1213
+ s ? (
1214
1214
  // 실제 화면에는 보이지 않지만 heading 2줄 초과 여부를 안정적으로 측정하기 위한 숨김 영역
1215
1215
  /* @__PURE__ */ p("div", { ref: r, className: t1.measureContent, "aria-hidden": "true", children: [
1216
1216
  /* @__PURE__ */ n("p", { className: t1.heading, children: e.heading }),
@@ -1269,9 +1269,9 @@ function $r({
1269
1269
  description: o,
1270
1270
  icon: l,
1271
1271
  actionLabel: r,
1272
- onActionClick: s,
1272
+ onActionClick: c,
1273
1273
  closeButton: i = !1,
1274
- customStyle: c
1274
+ customStyle: s
1275
1275
  }) {
1276
1276
  if (!K1(t) && !K1(o) || !k3())
1277
1277
  return;
@@ -1283,9 +1283,9 @@ function $r({
1283
1283
  description: o,
1284
1284
  icon: l,
1285
1285
  actionLabel: r,
1286
- onActionClick: s,
1286
+ onActionClick: c,
1287
1287
  closeButton: i,
1288
- customStyle: c,
1288
+ customStyle: s,
1289
1289
  isExiting: !1,
1290
1290
  renderKey: R3++
1291
1291
  }, T9(), A3(C);
@@ -1312,10 +1312,10 @@ function q3({
1312
1312
  circular: o = !1,
1313
1313
  interactionActive: l = !1,
1314
1314
  onClick: r,
1315
- customStyle: s = {},
1315
+ customStyle: c = {},
1316
1316
  ...i
1317
1317
  }) {
1318
- const c = e || T3, C = l ? 0 : void 0, a = e1(
1318
+ const s = e || T3, C = l ? 0 : void 0, a = e1(
1319
1319
  O1.avatar,
1320
1320
  O1[t],
1321
1321
  o && O1.circular
@@ -1323,15 +1323,15 @@ function q3({
1323
1323
  O1.interactionSurface,
1324
1324
  O1[t],
1325
1325
  o && O1.circular
1326
- ), d = l ? "pointer" : "default", u = (m) => {
1327
- r && (m.key === "Enter" || m.key === " ") && (m.preventDefault(), m.currentTarget.click());
1328
- }, v = (m) => {
1329
- r?.(m), m.defaultPrevented || m.currentTarget.blur();
1326
+ ), d = l ? "pointer" : "default", u = (w) => {
1327
+ r && (w.key === "Enter" || w.key === " ") && (w.preventDefault(), w.currentTarget.click());
1328
+ }, v = (w) => {
1329
+ r?.(w), w.defaultPrevented || w.currentTarget.blur();
1330
1330
  }, h = /* @__PURE__ */ n(
1331
1331
  "img",
1332
1332
  {
1333
1333
  "data-idb-component": l ? void 0 : !0,
1334
- src: c,
1334
+ src: s,
1335
1335
  alt: r2,
1336
1336
  className: a,
1337
1337
  onClick: l ? void 0 : r,
@@ -1340,7 +1340,7 @@ function q3({
1340
1340
  draggable: !1,
1341
1341
  style: {
1342
1342
  cursor: d,
1343
- ...s
1343
+ ...c
1344
1344
  }
1345
1345
  }
1346
1346
  );
@@ -1375,11 +1375,11 @@ function Dr({
1375
1375
  c9.stack,
1376
1376
  c9[t]
1377
1377
  ), l = e.slice(0, K3);
1378
- return l.length === 0 ? null : /* @__PURE__ */ n("div", { "data-idb-component": !0, className: o, children: l.map((r, s) => /* @__PURE__ */ n(
1378
+ return l.length === 0 ? null : /* @__PURE__ */ n("div", { "data-idb-component": !0, className: o, children: l.map((r, c) => /* @__PURE__ */ n(
1379
1379
  "span",
1380
1380
  {
1381
1381
  className: c9.item,
1382
- style: { zIndex: s + 1 },
1382
+ style: { zIndex: c + 1 },
1383
1383
  children: /* @__PURE__ */ n("span", { className: c9.avatarSlot, children: /* @__PURE__ */ n(
1384
1384
  q3,
1385
1385
  {
@@ -1388,7 +1388,7 @@ function Dr({
1388
1388
  }
1389
1389
  ) })
1390
1390
  },
1391
- `${r ?? "default"}-${s}`
1391
+ `${r ?? "default"}-${c}`
1392
1392
  )) });
1393
1393
  }
1394
1394
  const Y3 = "_badge_1rfcr_1", J3 = "_basic_1rfcr_13", z3 = "_primary_1rfcr_19", e5 = "_compact_1rfcr_31", B9 = {
@@ -1405,9 +1405,9 @@ function Fr({
1405
1405
  contentColor: o,
1406
1406
  backgroundColor: l,
1407
1407
  borderColor: r,
1408
- customStyle: s = {},
1408
+ customStyle: c = {},
1409
1409
  className: i,
1410
- children: c
1410
+ children: s
1411
1411
  }) {
1412
1412
  const C = [
1413
1413
  B9.badge,
@@ -1418,9 +1418,9 @@ function Fr({
1418
1418
  ...o ? { color: o } : {},
1419
1419
  ...l ? { backgroundColor: l } : {},
1420
1420
  ...r ? { borderColor: r } : {},
1421
- ...s
1421
+ ...c
1422
1422
  };
1423
- return /* @__PURE__ */ n("span", { "data-idb-component": !0, className: C, style: a, children: c });
1423
+ return /* @__PURE__ */ n("span", { "data-idb-component": !0, className: C, style: a, children: s });
1424
1424
  }
1425
1425
  const t5 = "_badge_pssu9_1", n5 = "_basic_pssu9_13", o5 = "_error_pssu9_19", l5 = "_success_pssu9_25", r5 = "_info_pssu9_31", i5 = "_warning_pssu9_37", C5 = "_compact_pssu9_49", s5 = "_dot_pssu9_55", a9 = {
1426
1426
  badge: t5,
@@ -1439,7 +1439,7 @@ function Or({
1439
1439
  stateIcon: o = !1,
1440
1440
  customStyle: l = {},
1441
1441
  className: r,
1442
- children: s
1442
+ children: c
1443
1443
  }) {
1444
1444
  const i = [
1445
1445
  a9.badge,
@@ -1449,7 +1449,7 @@ function Or({
1449
1449
  ].filter(Boolean).join(" ");
1450
1450
  return /* @__PURE__ */ p("span", { "data-idb-component": !0, className: i, style: l, children: [
1451
1451
  o ? /* @__PURE__ */ n("span", { className: a9.dot }) : null,
1452
- s
1452
+ c
1453
1453
  ] });
1454
1454
  }
1455
1455
  const c5 = "_root_1p9m1_3", a5 = "_label_1p9m1_13", d5 = "_requiredMark_1p9m1_21", u5 = "_select_1p9m1_29", h5 = "_large_1p9m1_45", f5 = "_medium_1p9m1_48", p5 = "_small_1p9m1_51", g5 = "_disabled_1p9m1_60", m5 = "_choosing_1p9m1_60", w5 = "_error_1p9m1_69", v5 = "_selected_1p9m1_73", L5 = "_value_1p9m1_84", _5 = "_contentWrapper_1p9m1_89", b5 = "_leadingContent_1p9m1_97", x5 = "_placeholder_1p9m1_123", M5 = "_trailingIcon_1p9m1_127", y5 = "_helper_1p9m1_139", H5 = "_errorHelper_1p9m1_147", Z5 = "_helperDisabled_1p9m1_151", d1 = {
@@ -1518,57 +1518,57 @@ const c5 = "_root_1p9m1_3", a5 = "_label_1p9m1_13", d5 = "_requiredMark_1p9m1_21
1518
1518
  trigger: h7
1519
1519
  }, f7 = 6, p7 = 4, w1 = f7 + p7, d9 = 20;
1520
1520
  function v2(e, t, o) {
1521
- const l = t.offsetWidth, r = t.offsetHeight, s = e.left + e.width / 2, i = e.top + e.height / 2;
1522
- let c = 0, C = 0;
1521
+ const l = t.offsetWidth, r = t.offsetHeight, c = e.left + e.width / 2, i = e.top + e.height / 2;
1522
+ let s = 0, C = 0;
1523
1523
  switch (o) {
1524
1524
  // ─── Top ──────────────────────────────────────────
1525
1525
  case "top":
1526
- c = e.top - r - w1, C = s - l / 2;
1526
+ s = e.top - r - w1, C = c - l / 2;
1527
1527
  break;
1528
1528
  case "top-left":
1529
- c = e.top - r - w1, C = s - l + d9;
1529
+ s = e.top - r - w1, C = c - l + d9;
1530
1530
  break;
1531
1531
  case "top-right":
1532
- c = e.top - r - w1, C = s - d9;
1532
+ s = e.top - r - w1, C = c - d9;
1533
1533
  break;
1534
1534
  // ─── Bottom ───────────────────────────────────────
1535
1535
  case "bottom":
1536
- c = e.bottom + w1, C = s - l / 2;
1536
+ s = e.bottom + w1, C = c - l / 2;
1537
1537
  break;
1538
1538
  case "bottom-left":
1539
- c = e.bottom + w1, C = s - l + d9;
1539
+ s = e.bottom + w1, C = c - l + d9;
1540
1540
  break;
1541
1541
  case "bottom-right":
1542
- c = e.bottom + w1, C = s - d9;
1542
+ s = e.bottom + w1, C = c - d9;
1543
1543
  break;
1544
1544
  // ─── Left ─────────────────────────────────────────
1545
1545
  case "left":
1546
- c = i - r / 2, C = e.left - l - w1;
1546
+ s = i - r / 2, C = e.left - l - w1;
1547
1547
  break;
1548
1548
  case "left-top":
1549
- c = e.top, C = e.left - l - w1;
1549
+ s = e.top, C = e.left - l - w1;
1550
1550
  break;
1551
1551
  case "left-bottom":
1552
- c = e.bottom - r, C = e.left - l - w1;
1552
+ s = e.bottom - r, C = e.left - l - w1;
1553
1553
  break;
1554
1554
  // ─── Right ────────────────────────────────────────
1555
1555
  case "right":
1556
- c = i - r / 2, C = e.right + w1;
1556
+ s = i - r / 2, C = e.right + w1;
1557
1557
  break;
1558
1558
  case "right-top":
1559
- c = e.top, C = e.right + w1;
1559
+ s = e.top, C = e.right + w1;
1560
1560
  break;
1561
1561
  case "right-bottom":
1562
- c = e.bottom - r, C = e.right + w1;
1562
+ s = e.bottom - r, C = e.right + w1;
1563
1563
  break;
1564
1564
  }
1565
- return { top: Math.round(c), left: Math.round(C) };
1565
+ return { top: Math.round(s), left: Math.round(C) };
1566
1566
  }
1567
1567
  function L2() {
1568
1568
  const [e, t] = q(null), o = G(
1569
- (r, s, i) => {
1570
- const c = r.getBoundingClientRect();
1571
- t({ content: s, rect: c, position: i });
1569
+ (r, c, i) => {
1570
+ const s = r.getBoundingClientRect();
1571
+ t({ content: c, rect: s, position: i });
1572
1572
  },
1573
1573
  []
1574
1574
  ), l = G(() => {
@@ -1591,9 +1591,9 @@ const g7 = {
1591
1591
  "right-bottom": Y.arrowRightBottom
1592
1592
  };
1593
1593
  function _2({ tooltip: e, backgroundColor: t, contentColor: o }) {
1594
- const l = F(null), [r, s] = q(null);
1594
+ const l = F(null), [r, c] = q(null);
1595
1595
  if (o9(() => {
1596
- e && l.current ? s(v2(e.rect, l.current, e.position)) : s(null);
1596
+ e && l.current ? c(v2(e.rect, l.current, e.position)) : c(null);
1597
1597
  }, [e]), !e) return null;
1598
1598
  const i = t ? { backgroundColor: t, borderColor: t } : void 0;
1599
1599
  return b9(
@@ -1623,48 +1623,55 @@ function Pr({
1623
1623
  variant: o = "default",
1624
1624
  position: l = "top",
1625
1625
  arrow: r = !0,
1626
- as: s,
1626
+ as: c,
1627
1627
  visibleOnEllipsis: i = !1,
1628
1628
  // 자식 엘리먼트에 말줄임(ellipsis)이 발생했을 때만 툴팁을 표시.
1629
- backgroundColor: c,
1629
+ backgroundColor: s,
1630
1630
  contentColor: C,
1631
1631
  customStyle: a,
1632
1632
  children: f
1633
1633
  }) {
1634
- const [d, u] = q(!1), v = F(null), h = F(null), [m, _] = q(null);
1635
- o9(() => {
1636
- if (d && h.current && v.current) {
1637
- const V = v.current.getBoundingClientRect();
1638
- _(v2(V, h.current, l));
1634
+ const [d, u] = q(!1), v = F(null), h = F(null), [w, L] = q(null), g = G(() => {
1635
+ if (h.current && v.current) {
1636
+ const M = v.current.getBoundingClientRect();
1637
+ L(v2(M, h.current, l));
1639
1638
  }
1640
- }, [d, l]);
1641
- const g = G(() => {
1639
+ }, [l]);
1640
+ o9(() => {
1641
+ d && g();
1642
+ }, [d, g]);
1643
+ const m = G(() => {
1642
1644
  if (!i || !v.current) return !0;
1643
- const V = v.current.firstElementChild ?? v.current;
1644
- return V.scrollWidth > V.clientWidth || V.scrollHeight > V.clientHeight;
1645
- }, [i]), w = G(() => {
1646
- g() && u(!0);
1647
- }, [g]), L = G(() => {
1648
- u(!1), _(null);
1649
- }, []), Z = G(() => {
1645
+ const M = v.current.firstElementChild ?? v.current;
1646
+ return M.scrollWidth > M.clientWidth || M.scrollHeight > M.clientHeight;
1647
+ }, [i]), _ = G(() => {
1648
+ m() && u(!0);
1649
+ }, [m]), H = G(() => {
1650
+ u(!1), L(null);
1651
+ }, []), k = G(() => {
1650
1652
  if (d)
1651
- L();
1653
+ H();
1652
1654
  else {
1653
- if (!g()) return;
1655
+ if (!m()) return;
1654
1656
  u(!0);
1655
1657
  }
1656
- }, [d, L, g]);
1657
- z(() => {
1658
+ }, [d, H, m]);
1659
+ J(() => {
1658
1660
  if (t !== "click" || !d) return;
1659
- const V = (R) => {
1660
- const M = R.target;
1661
- v.current?.contains(M) || h.current?.contains(M) || L();
1661
+ const M = (b) => {
1662
+ const B = b.target;
1663
+ v.current?.contains(B) || h.current?.contains(B) || H();
1662
1664
  };
1663
- return document.addEventListener("mousedown", V), window.addEventListener("scroll", L, !0), window.addEventListener("resize", L), () => {
1664
- document.removeEventListener("mousedown", V), window.removeEventListener("scroll", L, !0), window.removeEventListener("resize", L);
1665
+ return document.addEventListener("mousedown", M), window.addEventListener("scroll", H, !0), window.addEventListener("resize", H), () => {
1666
+ document.removeEventListener("mousedown", M), window.removeEventListener("scroll", H, !0), window.removeEventListener("resize", H);
1665
1667
  };
1666
- }, [t, d, L]);
1667
- const S = typeof e == "function" ? e(L) : e, x = c ? { backgroundColor: c } : void 0, I = s ?? "span", b = e1(
1668
+ }, [t, d, H]), J(() => {
1669
+ if (t === "always")
1670
+ return _(), window.addEventListener("scroll", g, !0), window.addEventListener("resize", g), () => {
1671
+ window.removeEventListener("scroll", g, !0), window.removeEventListener("resize", g);
1672
+ };
1673
+ }, [t, _, g]);
1674
+ const x = typeof e == "function" ? e(H) : e, V = s ? { backgroundColor: s } : void 0, I = c ?? "span", A = e1(
1668
1675
  Y.tooltip,
1669
1676
  Y[o]
1670
1677
  );
@@ -1674,7 +1681,8 @@ function Pr({
1674
1681
  {
1675
1682
  ref: v,
1676
1683
  className: Y.trigger,
1677
- ...t === "hover" ? { onMouseEnter: w, onMouseLeave: L } : { onClick: Z }
1684
+ ...t === "hover" ? { onMouseEnter: _, onMouseLeave: H } : t === "click" ? { onClick: k } : {}
1685
+ // always: 이벤트 핸들러 없이 항상 표시
1678
1686
  },
1679
1687
  f
1680
1688
  ),
@@ -1683,15 +1691,15 @@ function Pr({
1683
1691
  "div",
1684
1692
  {
1685
1693
  ref: h,
1686
- className: b,
1694
+ className: A,
1687
1695
  "data-idb-component": "tooltip",
1688
1696
  style: {
1689
- ...x,
1697
+ ...V,
1690
1698
  ...a,
1691
1699
  color: C,
1692
- top: m?.top,
1693
- left: m?.left,
1694
- visibility: m ? "visible" : "hidden"
1700
+ top: w?.top,
1701
+ left: w?.left,
1702
+ visibility: w ? "visible" : "hidden"
1695
1703
  },
1696
1704
  children: [
1697
1705
  r && /* @__PURE__ */ n(
@@ -1700,7 +1708,7 @@ function Pr({
1700
1708
  className: e1(Y.arrow, g7[l])
1701
1709
  }
1702
1710
  ),
1703
- /* @__PURE__ */ n("div", { className: Y.body, children: /* @__PURE__ */ n("span", { className: Y.content, children: S }) })
1711
+ /* @__PURE__ */ n("div", { className: Y.body, children: /* @__PURE__ */ n("span", { className: Y.content, children: x }) })
1704
1712
  ]
1705
1713
  }
1706
1714
  ),
@@ -1740,8 +1748,8 @@ function m7(e, t) {
1740
1748
  const o = e.toLowerCase().replace(/\s/g, ""), l = t.toLowerCase().replace(/\s/g, "");
1741
1749
  if (!l || o.includes(l)) return !0;
1742
1750
  if (!l.split("").some(C2)) return !1;
1743
- const s = o.split("").map(i2).join(""), i = l.split("").map((c) => C2(c) ? c : i2(c)).join("");
1744
- return s.includes(i);
1751
+ const c = o.split("").map(i2).join(""), i = l.split("").map((s) => C2(s) ? s : i2(s)).join("");
1752
+ return c.includes(i);
1745
1753
  }
1746
1754
  function x2({
1747
1755
  listboxId: e,
@@ -1749,34 +1757,34 @@ function x2({
1749
1757
  align: o = "left",
1750
1758
  content: l = !1,
1751
1759
  options: r,
1752
- selectedValue: s,
1760
+ selectedValue: c,
1753
1761
  onSelect: i,
1754
- textColor: c,
1762
+ textColor: s,
1755
1763
  closing: C = !1,
1756
1764
  placement: a = "bottom"
1757
1765
  }) {
1758
- const [f, d] = q(""), { tooltip: u, showTooltip: v, hideTooltip: h } = L2(), m = F(null), [_, g] = q(!1), w = G(
1759
- (x, I) => {
1760
- const b = x.currentTarget.querySelector(
1766
+ const [f, d] = q(""), { tooltip: u, showTooltip: v, hideTooltip: h } = L2(), w = F(null), [L, g] = q(!1), m = G(
1767
+ (x, V) => {
1768
+ const I = x.currentTarget.querySelector(
1761
1769
  `.${n1.optionLabel}`
1762
1770
  );
1763
- if (b && b.scrollWidth > b.clientWidth) {
1764
- const V = window.innerHeight - x.currentTarget.getBoundingClientRect().bottom > 80 ? "bottom" : "top";
1765
- v(x.currentTarget, I, V);
1771
+ if (I && I.scrollWidth > I.clientWidth) {
1772
+ const A = window.innerHeight - x.currentTarget.getBoundingClientRect().bottom > 80 ? "bottom" : "top";
1773
+ v(x.currentTarget, V, A);
1766
1774
  }
1767
1775
  },
1768
1776
  [v]
1769
- ), L = G(
1777
+ ), _ = G(
1770
1778
  () => h(),
1771
1779
  [h]
1772
- ), Z = e1(n1.menu, n1[o]), S = Z1(
1780
+ ), H = e1(n1.menu, n1[o]), k = Z1(
1773
1781
  () => t === "search" ? r.filter((x) => m7(x.label, f)) : r,
1774
1782
  [t, r, f]
1775
1783
  );
1776
1784
  return o9(() => {
1777
- const x = m.current;
1785
+ const x = w.current;
1778
1786
  x && g(x.scrollHeight > x.clientHeight);
1779
- }, [S]), /* @__PURE__ */ p(S1, { children: [
1787
+ }, [k]), /* @__PURE__ */ p(S1, { children: [
1780
1788
  /* @__PURE__ */ p(
1781
1789
  "div",
1782
1790
  {
@@ -1806,36 +1814,36 @@ function x2({
1806
1814
  /* @__PURE__ */ n(
1807
1815
  "ul",
1808
1816
  {
1809
- ref: m,
1817
+ ref: w,
1810
1818
  id: e,
1811
- className: e1(Z, !_ && n1.noScroll),
1819
+ className: e1(H, !L && n1.noScroll),
1812
1820
  role: "listbox",
1813
1821
  "aria-label": "옵션 목록",
1814
- children: S.map((x) => {
1815
- const I = x.value === s, b = !!x.disabled;
1822
+ children: k.map((x) => {
1823
+ const V = x.value === c, I = !!x.disabled;
1816
1824
  return /* @__PURE__ */ n(
1817
1825
  "li",
1818
1826
  {
1819
1827
  className: e1(
1820
1828
  n1.optionItem,
1821
- I && !b && n1.selectedItem,
1822
- b && n1.disabledItem
1829
+ V && !I && n1.selectedItem,
1830
+ I && n1.disabledItem
1823
1831
  ),
1824
- onClick: (V) => {
1825
- V.stopPropagation(), b || i(x);
1832
+ onClick: (A) => {
1833
+ A.stopPropagation(), I || i(x);
1826
1834
  },
1827
- onMouseEnter: (V) => w(V, x.label),
1828
- onMouseLeave: L,
1835
+ onMouseEnter: (A) => m(A, x.label),
1836
+ onMouseLeave: _,
1829
1837
  role: "option",
1830
- "aria-selected": I,
1831
- "aria-disabled": b || void 0,
1838
+ "aria-selected": V,
1839
+ "aria-disabled": I || void 0,
1832
1840
  children: /* @__PURE__ */ p("div", { className: n1.optionContent, children: [
1833
1841
  l && x.icon && /* @__PURE__ */ n("span", { className: n1.optionIcon, children: x.icon }),
1834
1842
  /* @__PURE__ */ n(
1835
1843
  "span",
1836
1844
  {
1837
1845
  className: n1.optionLabel,
1838
- style: c && !b ? { color: c } : void 0,
1846
+ style: s && !I ? { color: s } : void 0,
1839
1847
  children: x.label
1840
1848
  }
1841
1849
  )
@@ -1846,7 +1854,7 @@ function x2({
1846
1854
  })
1847
1855
  }
1848
1856
  ),
1849
- S.length === 0 && /* @__PURE__ */ n("div", { className: n1.emptyItem, children: t === "search" && f ? "검색 결과가 없습니다." : "-" })
1857
+ k.length === 0 && /* @__PURE__ */ n("div", { className: n1.emptyItem, children: t === "search" && f ? "검색 결과가 없습니다." : "-" })
1850
1858
  ]
1851
1859
  }
1852
1860
  ),
@@ -1860,9 +1868,9 @@ function jr({
1860
1868
  heading: o,
1861
1869
  required: l = !1,
1862
1870
  leadingContent: r,
1863
- description: s,
1871
+ description: c,
1864
1872
  disabled: i = !1,
1865
- placeholder: c = "선택해주세요.",
1873
+ placeholder: s = "선택해주세요.",
1866
1874
  selectedValue: C,
1867
1875
  onSelect: a,
1868
1876
  options: f = [],
@@ -1871,52 +1879,52 @@ function jr({
1871
1879
  align: u = "left",
1872
1880
  content: v = !1,
1873
1881
  buttonWidth: h,
1874
- descriptionWidth: m,
1875
- customStyle: _,
1882
+ descriptionWidth: w,
1883
+ customStyle: L,
1876
1884
  textColor: g
1877
1885
  }) {
1878
- const w = _9(), L = `${w}-listbox`, [Z, S] = q(!1), [x, I] = q(!1), [b, V] = q(null), [R, M] = q("bottom"), { tooltip: k, showTooltip: N, hideTooltip: y } = L2(), H = F(null), T = F(null), A = F(null), D = F(null), O = F(), U = 4, a1 = 204, h1 = 16, l1 = G(() => {
1879
- const $ = T.current ?? H.current;
1886
+ const m = _9(), _ = `${m}-listbox`, [H, k] = q(!1), [x, V] = q(!1), [I, A] = q(null), [M, b] = q("bottom"), { tooltip: B, showTooltip: S, hideTooltip: y } = L2(), Z = F(null), T = F(null), N = F(null), D = F(null), O = F(), U = 4, a1 = 204, h1 = 16, l1 = G(() => {
1887
+ const $ = T.current ?? Z.current;
1880
1888
  if ($) {
1881
1889
  const W = $.getBoundingClientRect(), C1 = window.innerHeight - W.bottom, f1 = W.top, R1 = a1 + h1 + U, L1 = C1 < R1 && f1 > C1;
1882
- M(L1 ? "top" : "bottom"), V({
1890
+ b(L1 ? "top" : "bottom"), A({
1883
1891
  top: L1 ? W.top + window.scrollY - U : W.bottom + window.scrollY + U,
1884
1892
  left: W.left + window.scrollX,
1885
1893
  width: W.width
1886
1894
  });
1887
1895
  }
1888
1896
  }, []), K = G(() => {
1889
- I(!0), O.current = setTimeout(() => {
1890
- S(!1), I(!1);
1897
+ V(!0), O.current = setTimeout(() => {
1898
+ k(!1), V(!1);
1891
1899
  }, _7);
1892
1900
  }, []), B1 = G(() => {
1893
- y(), Z && !x ? K() : Z || (l1(), S(!0));
1894
- }, [Z, x, l1, K, y]), g1 = G(($) => {
1901
+ y(), H && !x ? K() : H || (l1(), k(!0));
1902
+ }, [H, x, l1, K, y]), g1 = G(($) => {
1895
1903
  a?.($), K();
1896
1904
  }, [a, K]);
1897
- z(() => () => clearTimeout(O.current), []), z(() => {
1905
+ J(() => () => clearTimeout(O.current), []), J(() => {
1898
1906
  const $ = (C1) => {
1899
1907
  const f1 = C1.target;
1900
- H.current && H.current.contains(f1) || A.current && A.current.contains(f1) || K();
1908
+ Z.current && Z.current.contains(f1) || N.current && N.current.contains(f1) || K();
1901
1909
  }, W = (C1) => {
1902
- A.current && A.current.contains(C1.target) || K();
1910
+ N.current && N.current.contains(C1.target) || K();
1903
1911
  };
1904
- return Z && (document.addEventListener("click", $), window.addEventListener("resize", l1), window.addEventListener("scroll", W, !0)), () => {
1912
+ return H && (document.addEventListener("click", $), window.addEventListener("resize", l1), window.addEventListener("scroll", W, !0)), () => {
1905
1913
  document.removeEventListener("click", $), window.removeEventListener("resize", l1), window.removeEventListener("scroll", W, !0);
1906
1914
  };
1907
- }, [Z, l1, K]);
1915
+ }, [H, l1, K]);
1908
1916
  const r1 = G(($) => {
1909
- $.key === "Escape" && Z && ($.preventDefault(), K());
1910
- }, [Z, K]), i1 = G(() => {
1917
+ $.key === "Escape" && H && ($.preventDefault(), K());
1918
+ }, [H, K]), i1 = G(() => {
1911
1919
  const $ = D.current;
1912
1920
  if ($ && $.scrollWidth > $.clientWidth && C?.label) {
1913
1921
  const W = window.innerHeight - $.getBoundingClientRect().bottom > 80 ? "bottom" : "top";
1914
- N($, C.label, W);
1922
+ S($, C.label, W);
1915
1923
  }
1916
- }, [C?.label, N]), v1 = G(() => y(), [y]), s1 = e === "error";
1924
+ }, [C?.label, S]), v1 = G(() => y(), [y]), s1 = e === "error";
1917
1925
  let j = e;
1918
- Z && !x && !s1 ? j = "choosing" : C && !s1 && (j = "selected");
1919
- const B = e1(
1926
+ H && !x && !s1 ? j = "choosing" : C && !s1 && (j = "selected");
1927
+ const R = e1(
1920
1928
  d1.select,
1921
1929
  d1[t],
1922
1930
  d1[j],
@@ -1930,10 +1938,10 @@ function jr({
1930
1938
  /* @__PURE__ */ p(
1931
1939
  "div",
1932
1940
  {
1933
- ref: H,
1941
+ ref: Z,
1934
1942
  className: d1.root,
1935
1943
  "data-idb-component": "select",
1936
- style: _,
1944
+ style: L,
1937
1945
  children: [
1938
1946
  o && /* @__PURE__ */ p("label", { className: d1.label, children: [
1939
1947
  /* @__PURE__ */ n("span", { children: o }),
@@ -1944,12 +1952,12 @@ function jr({
1944
1952
  {
1945
1953
  ref: T,
1946
1954
  type: "button",
1947
- id: w,
1948
- className: B,
1955
+ id: m,
1956
+ className: R,
1949
1957
  disabled: i,
1950
- "aria-expanded": Z,
1958
+ "aria-expanded": H,
1951
1959
  "aria-haspopup": "listbox",
1952
- "aria-controls": Z ? L : void 0,
1960
+ "aria-controls": H ? _ : void 0,
1953
1961
  onClick: B1,
1954
1962
  onKeyDown: r1,
1955
1963
  style: h != null ? { width: `${h}px` } : void 0,
@@ -1963,44 +1971,44 @@ function jr({
1963
1971
  className: e1(d1.value, !C?.label && d1.placeholder),
1964
1972
  onMouseEnter: i1,
1965
1973
  onMouseLeave: v1,
1966
- children: C?.label ?? c
1974
+ children: C?.label ?? s
1967
1975
  }
1968
1976
  )
1969
1977
  ] }),
1970
- /* @__PURE__ */ n("span", { className: d1.trailingIcon, children: /* @__PURE__ */ n("img", { src: i ? v7 : Z ? L7 : w7, alt: "" }) })
1978
+ /* @__PURE__ */ n("span", { className: d1.trailingIcon, children: /* @__PURE__ */ n("img", { src: i ? v7 : H ? L7 : w7, alt: "" }) })
1971
1979
  ]
1972
1980
  }
1973
1981
  ),
1974
- s && /* @__PURE__ */ n(
1982
+ c && /* @__PURE__ */ n(
1975
1983
  "div",
1976
1984
  {
1977
1985
  className: P,
1978
- style: m != null ? { width: `${m}px` } : void 0,
1979
- children: s
1986
+ style: w != null ? { width: `${w}px` } : void 0,
1987
+ children: c
1980
1988
  }
1981
1989
  )
1982
1990
  ]
1983
1991
  }
1984
1992
  ),
1985
- /* @__PURE__ */ n(_2, { tooltip: k }),
1986
- Z && b9(
1993
+ /* @__PURE__ */ n(_2, { tooltip: B }),
1994
+ H && b9(
1987
1995
  /* @__PURE__ */ n(
1988
1996
  "div",
1989
1997
  {
1990
- ref: A,
1998
+ ref: N,
1991
1999
  "data-idb-component": "select-dropdown",
1992
2000
  style: {
1993
2001
  position: "absolute",
1994
- top: b?.top,
1995
- left: b?.left,
1996
- width: b?.width,
2002
+ top: I?.top,
2003
+ left: I?.left,
2004
+ width: I?.width,
1997
2005
  zIndex: 9999,
1998
- ...R === "top" && { transform: "translateY(-100%)" }
2006
+ ...M === "top" && { transform: "translateY(-100%)" }
1999
2007
  },
2000
2008
  children: /* @__PURE__ */ n(
2001
2009
  x2,
2002
2010
  {
2003
- listboxId: L,
2011
+ listboxId: _,
2004
2012
  type: d,
2005
2013
  align: u,
2006
2014
  content: v,
@@ -2009,7 +2017,7 @@ function jr({
2009
2017
  onSelect: g1,
2010
2018
  textColor: g,
2011
2019
  closing: x,
2012
- placement: R
2020
+ placement: M
2013
2021
  }
2014
2022
  )
2015
2023
  }
@@ -2027,53 +2035,53 @@ function y7({
2027
2035
  align: o = "left",
2028
2036
  content: l = !1,
2029
2037
  options: r = [],
2030
- onSelect: s,
2038
+ onSelect: c,
2031
2039
  selectedValue: i,
2032
- textColor: c,
2040
+ textColor: s,
2033
2041
  customStyle: C,
2034
2042
  disabled: a = !1,
2035
2043
  width: f
2036
2044
  }) {
2037
- const u = `${_9()}-listbox`, [v, h] = q(!1), [m, _] = q(!1), [g, w] = q(null), L = F(null), Z = F(null), S = F(), x = G(() => {
2038
- if (L.current) {
2039
- const M = L.current.getBoundingClientRect();
2040
- w({
2041
- top: M.bottom + window.scrollY + 4,
2042
- left: M.left + window.scrollX,
2043
- width: f ?? M.width
2045
+ const u = `${_9()}-listbox`, [v, h] = q(!1), [w, L] = q(!1), [g, m] = q(null), _ = F(null), H = F(null), k = F(), x = G(() => {
2046
+ if (_.current) {
2047
+ const b = _.current.getBoundingClientRect();
2048
+ m({
2049
+ top: b.bottom + window.scrollY + 4,
2050
+ left: b.left + window.scrollX,
2051
+ width: f ?? b.width
2044
2052
  });
2045
2053
  }
2046
- }, [f]), I = G(() => {
2047
- _(!0), S.current = setTimeout(() => {
2048
- h(!1), _(!1);
2054
+ }, [f]), V = G(() => {
2055
+ L(!0), k.current = setTimeout(() => {
2056
+ h(!1), L(!1);
2049
2057
  }, M7);
2050
- }, []), b = G(() => {
2051
- a || (v && !m ? I() : v || (x(), h(!0)));
2052
- }, [a, v, m, x, I]), V = G((M) => {
2053
- s(M), I();
2054
- }, [s, I]);
2055
- z(() => () => clearTimeout(S.current), []), z(() => {
2056
- const M = (k) => {
2057
- const N = k.target;
2058
- L.current && L.current.contains(N) || Z.current && Z.current.contains(N) || I();
2058
+ }, []), I = G(() => {
2059
+ a || (v && !w ? V() : v || (x(), h(!0)));
2060
+ }, [a, v, w, x, V]), A = G((b) => {
2061
+ c(b), V();
2062
+ }, [c, V]);
2063
+ J(() => () => clearTimeout(k.current), []), J(() => {
2064
+ const b = (B) => {
2065
+ const S = B.target;
2066
+ _.current && _.current.contains(S) || H.current && H.current.contains(S) || V();
2059
2067
  };
2060
- return v && (document.addEventListener("click", M), window.addEventListener("resize", x), window.addEventListener("scroll", x, !0)), () => {
2061
- document.removeEventListener("click", M), window.removeEventListener("resize", x), window.removeEventListener("scroll", x, !0);
2068
+ return v && (document.addEventListener("click", b), window.addEventListener("resize", x), window.addEventListener("scroll", x, !0)), () => {
2069
+ document.removeEventListener("click", b), window.removeEventListener("resize", x), window.removeEventListener("scroll", x, !0);
2062
2070
  };
2063
- }, [v, x, I]);
2064
- const R = G((M) => {
2065
- M.key === "Escape" && v && (M.preventDefault(), I());
2066
- }, [v, I]);
2071
+ }, [v, x, V]);
2072
+ const M = G((b) => {
2073
+ b.key === "Escape" && v && (b.preventDefault(), V());
2074
+ }, [v, V]);
2067
2075
  return /* @__PURE__ */ p(S1, { children: [
2068
2076
  /* @__PURE__ */ n(
2069
2077
  "div",
2070
2078
  {
2071
- ref: L,
2079
+ ref: _,
2072
2080
  className: x7.root,
2073
2081
  "data-idb-component": "dropdown",
2074
2082
  style: C,
2075
- onClick: b,
2076
- onKeyDown: R,
2083
+ onClick: I,
2084
+ onKeyDown: M,
2077
2085
  children: e
2078
2086
  }
2079
2087
  ),
@@ -2081,7 +2089,7 @@ function y7({
2081
2089
  /* @__PURE__ */ n(
2082
2090
  "div",
2083
2091
  {
2084
- ref: Z,
2092
+ ref: H,
2085
2093
  "data-idb-component": "dropdown-list",
2086
2094
  style: {
2087
2095
  position: "absolute",
@@ -2099,9 +2107,9 @@ function y7({
2099
2107
  content: l,
2100
2108
  options: r,
2101
2109
  selectedValue: i,
2102
- onSelect: V,
2103
- textColor: c,
2104
- closing: m
2110
+ onSelect: A,
2111
+ textColor: s,
2112
+ closing: w
2105
2113
  }
2106
2114
  )
2107
2115
  }
@@ -2132,9 +2140,9 @@ function F7({
2132
2140
  selected: o = !1,
2133
2141
  disabled: l = !1,
2134
2142
  leadingSlot: r,
2135
- trailingSlot: s,
2143
+ trailingSlot: c,
2136
2144
  customStyle: i = {},
2137
- className: c,
2145
+ className: s,
2138
2146
  onClick: C,
2139
2147
  children: a,
2140
2148
  ...f
@@ -2145,7 +2153,7 @@ function F7({
2145
2153
  N1[t],
2146
2154
  o ? N1.selected : "",
2147
2155
  l ? N1.disabled : "",
2148
- c ?? ""
2156
+ s ?? ""
2149
2157
  ].filter(Boolean).join(" ");
2150
2158
  return /* @__PURE__ */ p(
2151
2159
  "button",
@@ -2160,7 +2168,7 @@ function F7({
2160
2168
  children: [
2161
2169
  r ? /* @__PURE__ */ n("span", { className: N1.leadingSlot, children: r }) : null,
2162
2170
  a ? /* @__PURE__ */ n("span", { className: N1.label, children: a }) : null,
2163
- s ? /* @__PURE__ */ n("span", { className: N1.trailingSlot, children: s }) : null
2171
+ c ? /* @__PURE__ */ n("span", { className: N1.trailingSlot, children: c }) : null
2164
2172
  ]
2165
2173
  }
2166
2174
  );
@@ -2177,10 +2185,10 @@ function P7() {
2177
2185
  function O9(e, t) {
2178
2186
  const o = Object.keys(e), l = Object.keys(t);
2179
2187
  if (o.length !== l.length) return !1;
2180
- const r = JSON.stringify(Object.keys(e.breakpoints || {})), s = JSON.stringify(Object.keys(t.breakpoints || {}));
2181
- return r !== s ? !1 : o.every((i) => {
2182
- const c = e[i], C = t[i];
2183
- return typeof c == "function" ? `${c}` == `${C}` : !s2(c) || !s2(C) ? c === C : O9(c, C);
2188
+ const r = JSON.stringify(Object.keys(e.breakpoints || {})), c = JSON.stringify(Object.keys(t.breakpoints || {}));
2189
+ return r !== c ? !1 : o.every((i) => {
2190
+ const s = e[i], C = t[i];
2191
+ return typeof s == "function" ? `${s}` == `${C}` : !s2(s) || !s2(C) ? s === C : O9(s, C);
2184
2192
  });
2185
2193
  }
2186
2194
  function c2(e) {
@@ -2189,8 +2197,8 @@ function c2(e) {
2189
2197
  function j7(e, t) {
2190
2198
  if (e.length !== t.length) return !1;
2191
2199
  const o = c2(e), l = c2(t);
2192
- return o.every((r, s) => {
2193
- const i = l[s];
2200
+ return o.every((r, c) => {
2201
+ const i = l[c];
2194
2202
  return O9(r, i);
2195
2203
  });
2196
2204
  }
@@ -2243,8 +2251,8 @@ function t9(e) {
2243
2251
  }
2244
2252
  function M2(e, t) {
2245
2253
  return [e, t].reduce((o, l) => (t9(l).forEach((r) => {
2246
- const s = o[r], i = l[r], c = a2(s) && a2(i);
2247
- o[r] = c ? M2(s, i) : i;
2254
+ const c = o[r], i = l[r], s = a2(c) && a2(i);
2255
+ o[r] = s ? M2(c, i) : i;
2248
2256
  }), o), {});
2249
2257
  }
2250
2258
  function D9(e, t) {
@@ -2254,15 +2262,15 @@ function G7(e, t) {
2254
2262
  const o = {
2255
2263
  start: l,
2256
2264
  center: r,
2257
- end: s
2265
+ end: c
2258
2266
  };
2259
2267
  function l() {
2260
2268
  return 0;
2261
2269
  }
2262
2270
  function r(C) {
2263
- return s(C) / 2;
2271
+ return c(C) / 2;
2264
2272
  }
2265
- function s(C) {
2273
+ function c(C) {
2266
2274
  return t - C;
2267
2275
  }
2268
2276
  function i(C, a) {
@@ -2274,12 +2282,12 @@ function G7(e, t) {
2274
2282
  }
2275
2283
  function n9() {
2276
2284
  let e = [];
2277
- function t(r, s, i, c = {
2285
+ function t(r, c, i, s = {
2278
2286
  passive: !0
2279
2287
  }) {
2280
2288
  let C;
2281
2289
  if ("addEventListener" in r)
2282
- r.addEventListener(s, i, c), C = () => r.removeEventListener(s, i, c);
2290
+ r.addEventListener(c, i, s), C = () => r.removeEventListener(c, i, s);
2283
2291
  else {
2284
2292
  const a = r;
2285
2293
  a.addListener(i), C = () => a.removeListener(i);
@@ -2296,8 +2304,8 @@ function n9() {
2296
2304
  return l;
2297
2305
  }
2298
2306
  function U7(e, t, o, l) {
2299
- const r = n9(), s = 1e3 / 60;
2300
- let i = null, c = 0, C = 0;
2307
+ const r = n9(), c = 1e3 / 60;
2308
+ let i = null, s = 0, C = 0;
2301
2309
  function a() {
2302
2310
  r.add(e, "visibilitychange", () => {
2303
2311
  e.hidden && h();
@@ -2306,23 +2314,23 @@ function U7(e, t, o, l) {
2306
2314
  function f() {
2307
2315
  v(), r.clear();
2308
2316
  }
2309
- function d(_) {
2317
+ function d(L) {
2310
2318
  if (!C) return;
2311
- i || (i = _, o(), o());
2312
- const g = _ - i;
2313
- for (i = _, c += g; c >= s; )
2314
- o(), c -= s;
2315
- const w = c / s;
2316
- l(w), C && (C = t.requestAnimationFrame(d));
2319
+ i || (i = L, o(), o());
2320
+ const g = L - i;
2321
+ for (i = L, s += g; s >= c; )
2322
+ o(), s -= c;
2323
+ const m = s / c;
2324
+ l(m), C && (C = t.requestAnimationFrame(d));
2317
2325
  }
2318
2326
  function u() {
2319
2327
  C || (C = t.requestAnimationFrame(d));
2320
2328
  }
2321
2329
  function v() {
2322
- t.cancelAnimationFrame(C), i = null, c = 0, C = 0;
2330
+ t.cancelAnimationFrame(C), i = null, s = 0, C = 0;
2323
2331
  }
2324
2332
  function h() {
2325
- i = null, c = 0;
2333
+ i = null, s = 0;
2326
2334
  }
2327
2335
  return {
2328
2336
  init: a,
@@ -2334,13 +2342,13 @@ function U7(e, t, o, l) {
2334
2342
  };
2335
2343
  }
2336
2344
  function Q7(e, t) {
2337
- const o = t === "rtl", l = e === "y", r = l ? "y" : "x", s = l ? "x" : "y", i = !l && o ? -1 : 1, c = f(), C = d();
2345
+ const o = t === "rtl", l = e === "y", r = l ? "y" : "x", c = l ? "x" : "y", i = !l && o ? -1 : 1, s = f(), C = d();
2338
2346
  function a(h) {
2339
2347
  const {
2340
- height: m,
2341
- width: _
2348
+ height: w,
2349
+ width: L
2342
2350
  } = h;
2343
- return l ? m : _;
2351
+ return l ? w : L;
2344
2352
  }
2345
2353
  function f() {
2346
2354
  return l ? "top" : o ? "right" : "left";
@@ -2353,8 +2361,8 @@ function Q7(e, t) {
2353
2361
  }
2354
2362
  return {
2355
2363
  scroll: r,
2356
- cross: s,
2357
- startEdge: c,
2364
+ cross: c,
2365
+ startEdge: s,
2358
2366
  endEdge: C,
2359
2367
  measureSize: a,
2360
2368
  direction: u
@@ -2368,13 +2376,13 @@ function T1(e = 0, t = 0) {
2368
2376
  function r(a) {
2369
2377
  return a > t;
2370
2378
  }
2371
- function s(a) {
2379
+ function c(a) {
2372
2380
  return l(a) || r(a);
2373
2381
  }
2374
2382
  function i(a) {
2375
- return s(a) ? l(a) ? e : t : a;
2383
+ return c(a) ? l(a) ? e : t : a;
2376
2384
  }
2377
- function c(a) {
2385
+ function s(a) {
2378
2386
  return o ? a - o * Math.ceil((a - t) / o) : a;
2379
2387
  }
2380
2388
  return {
@@ -2382,100 +2390,100 @@ function T1(e = 0, t = 0) {
2382
2390
  max: t,
2383
2391
  min: e,
2384
2392
  constrain: i,
2385
- reachedAny: s,
2393
+ reachedAny: c,
2386
2394
  reachedMax: r,
2387
2395
  reachedMin: l,
2388
- removeOffset: c
2396
+ removeOffset: s
2389
2397
  };
2390
2398
  }
2391
2399
  function y2(e, t, o) {
2392
2400
  const {
2393
2401
  constrain: l
2394
2402
  } = T1(0, e), r = e + 1;
2395
- let s = i(t);
2403
+ let c = i(t);
2396
2404
  function i(u) {
2397
2405
  return o ? X((r + u) % r) : l(u);
2398
2406
  }
2399
- function c() {
2400
- return s;
2407
+ function s() {
2408
+ return c;
2401
2409
  }
2402
2410
  function C(u) {
2403
- return s = i(u), d;
2411
+ return c = i(u), d;
2404
2412
  }
2405
2413
  function a(u) {
2406
- return f().set(c() + u);
2414
+ return f().set(s() + u);
2407
2415
  }
2408
2416
  function f() {
2409
- return y2(e, c(), o);
2417
+ return y2(e, s(), o);
2410
2418
  }
2411
2419
  const d = {
2412
- get: c,
2420
+ get: s,
2413
2421
  set: C,
2414
2422
  add: a,
2415
2423
  clone: f
2416
2424
  };
2417
2425
  return d;
2418
2426
  }
2419
- function X7(e, t, o, l, r, s, i, c, C, a, f, d, u, v, h, m, _, g, w) {
2427
+ function X7(e, t, o, l, r, c, i, s, C, a, f, d, u, v, h, w, L, g, m) {
2420
2428
  const {
2421
- cross: L,
2422
- direction: Z
2423
- } = e, S = ["INPUT", "SELECT", "TEXTAREA"], x = {
2429
+ cross: _,
2430
+ direction: H
2431
+ } = e, k = ["INPUT", "SELECT", "TEXTAREA"], x = {
2424
2432
  passive: !1
2425
- }, I = n9(), b = n9(), V = T1(50, 225).constrain(v.measure(20)), R = {
2433
+ }, V = n9(), I = n9(), A = T1(50, 225).constrain(v.measure(20)), M = {
2426
2434
  mouse: 300,
2427
2435
  touch: 400
2428
- }, M = {
2436
+ }, b = {
2429
2437
  mouse: 500,
2430
2438
  touch: 600
2431
- }, k = h ? 43 : 25;
2432
- let N = !1, y = 0, H = 0, T = !1, A = !1, D = !1, O = !1;
2433
- function U(B) {
2434
- if (!w) return;
2439
+ }, B = h ? 43 : 25;
2440
+ let S = !1, y = 0, Z = 0, T = !1, N = !1, D = !1, O = !1;
2441
+ function U(R) {
2442
+ if (!m) return;
2435
2443
  function P(W) {
2436
- (x9(w) || w(B, W)) && g1(W);
2444
+ (x9(m) || m(R, W)) && g1(W);
2437
2445
  }
2438
2446
  const $ = t;
2439
- I.add($, "dragstart", (W) => W.preventDefault(), x).add($, "touchmove", () => {
2447
+ V.add($, "dragstart", (W) => W.preventDefault(), x).add($, "touchmove", () => {
2440
2448
  }, x).add($, "touchend", () => {
2441
2449
  }).add($, "touchstart", P).add($, "mousedown", P).add($, "touchcancel", i1).add($, "contextmenu", i1).add($, "click", v1, !0);
2442
2450
  }
2443
2451
  function a1() {
2444
- I.clear(), b.clear();
2452
+ V.clear(), I.clear();
2445
2453
  }
2446
2454
  function h1() {
2447
- const B = O ? o : t;
2448
- b.add(B, "touchmove", r1, x).add(B, "touchend", i1).add(B, "mousemove", r1, x).add(B, "mouseup", i1);
2455
+ const R = O ? o : t;
2456
+ I.add(R, "touchmove", r1, x).add(R, "touchend", i1).add(R, "mousemove", r1, x).add(R, "mouseup", i1);
2449
2457
  }
2450
- function l1(B) {
2451
- const P = B.nodeName || "";
2452
- return S.includes(P);
2458
+ function l1(R) {
2459
+ const P = R.nodeName || "";
2460
+ return k.includes(P);
2453
2461
  }
2454
2462
  function K() {
2455
- return (h ? M : R)[O ? "mouse" : "touch"];
2463
+ return (h ? b : M)[O ? "mouse" : "touch"];
2456
2464
  }
2457
- function B1(B, P) {
2458
- const $ = d.add(j9(B) * -1), W = f.byDistance(B, !h).distance;
2459
- return h || X(B) < V ? W : _ && P ? W * 0.5 : f.byIndex($.get(), 0).distance;
2465
+ function B1(R, P) {
2466
+ const $ = d.add(j9(R) * -1), W = f.byDistance(R, !h).distance;
2467
+ return h || X(R) < A ? W : L && P ? W * 0.5 : f.byIndex($.get(), 0).distance;
2460
2468
  }
2461
- function g1(B) {
2462
- const P = D9(B, l);
2463
- O = P, D = h && P && !B.buttons && N, N = Y1(r.get(), i.get()) >= 2, !(P && B.button !== 0) && (l1(B.target) || (T = !0, s.pointerDown(B), a.useFriction(0).useDuration(0), r.set(i), h1(), y = s.readPoint(B), H = s.readPoint(B, L), u.emit("pointerDown")));
2469
+ function g1(R) {
2470
+ const P = D9(R, l);
2471
+ O = P, D = h && P && !R.buttons && S, S = Y1(r.get(), i.get()) >= 2, !(P && R.button !== 0) && (l1(R.target) || (T = !0, c.pointerDown(R), a.useFriction(0).useDuration(0), r.set(i), h1(), y = c.readPoint(R), Z = c.readPoint(R, _), u.emit("pointerDown")));
2464
2472
  }
2465
- function r1(B) {
2466
- if (!D9(B, l) && B.touches.length >= 2) return i1(B);
2467
- const $ = s.readPoint(B), W = s.readPoint(B, L), C1 = Y1($, y), f1 = Y1(W, H);
2468
- if (!A && !O && (!B.cancelable || (A = C1 > f1, !A)))
2469
- return i1(B);
2470
- const R1 = s.pointerMove(B);
2471
- C1 > m && (D = !0), a.useFriction(0.3).useDuration(0.75), c.start(), r.add(Z(R1)), B.preventDefault();
2473
+ function r1(R) {
2474
+ if (!D9(R, l) && R.touches.length >= 2) return i1(R);
2475
+ const $ = c.readPoint(R), W = c.readPoint(R, _), C1 = Y1($, y), f1 = Y1(W, Z);
2476
+ if (!N && !O && (!R.cancelable || (N = C1 > f1, !N)))
2477
+ return i1(R);
2478
+ const R1 = c.pointerMove(R);
2479
+ C1 > w && (D = !0), a.useFriction(0.3).useDuration(0.75), s.start(), r.add(H(R1)), R.preventDefault();
2472
2480
  }
2473
- function i1(B) {
2474
- const $ = f.byDistance(0, !1).index !== d.get(), W = s.pointerUp(B) * K(), C1 = B1(Z(W), $), f1 = W7(W, C1), R1 = k - 10 * f1, L1 = g + f1 / 50;
2475
- A = !1, T = !1, b.clear(), a.useDuration(R1).useFriction(L1), C.distance(C1, !h), O = !1, u.emit("pointerUp");
2481
+ function i1(R) {
2482
+ const $ = f.byDistance(0, !1).index !== d.get(), W = c.pointerUp(R) * K(), C1 = B1(H(W), $), f1 = W7(W, C1), R1 = B - 10 * f1, L1 = g + f1 / 50;
2483
+ N = !1, T = !1, I.clear(), a.useDuration(R1).useFriction(L1), C.distance(C1, !h), O = !1, u.emit("pointerUp");
2476
2484
  }
2477
- function v1(B) {
2478
- D && (B.stopPropagation(), B.preventDefault(), D = !1);
2485
+ function v1(R) {
2486
+ D && (R.stopPropagation(), R.preventDefault(), D = !1);
2479
2487
  }
2480
2488
  function s1() {
2481
2489
  return T;
@@ -2488,27 +2496,27 @@ function X7(e, t, o, l, r, s, i, c, C, a, f, d, u, v, h, m, _, g, w) {
2488
2496
  }
2489
2497
  function K7(e, t) {
2490
2498
  let l, r;
2491
- function s(d) {
2499
+ function c(d) {
2492
2500
  return d.timeStamp;
2493
2501
  }
2494
2502
  function i(d, u) {
2495
2503
  const h = `client${(u || e.scroll) === "x" ? "X" : "Y"}`;
2496
2504
  return (D9(d, t) ? d : d.touches[0])[h];
2497
2505
  }
2498
- function c(d) {
2506
+ function s(d) {
2499
2507
  return l = d, r = d, i(d);
2500
2508
  }
2501
2509
  function C(d) {
2502
- const u = i(d) - i(r), v = s(d) - s(l) > 170;
2510
+ const u = i(d) - i(r), v = c(d) - c(l) > 170;
2503
2511
  return r = d, v && (l = d), u;
2504
2512
  }
2505
2513
  function a(d) {
2506
2514
  if (!l || !r) return 0;
2507
- const u = i(r) - i(l), v = s(d) - s(l), h = s(d) - s(r) > 170, m = u / v;
2508
- return v && !h && X(m) > 0.1 ? m : 0;
2515
+ const u = i(r) - i(l), v = c(d) - c(l), h = c(d) - c(r) > 170, w = u / v;
2516
+ return v && !h && X(w) > 0.1 ? w : 0;
2509
2517
  }
2510
2518
  return {
2511
- pointerDown: c,
2519
+ pointerDown: s,
2512
2520
  pointerMove: C,
2513
2521
  pointerUp: a,
2514
2522
  readPoint: i
@@ -2519,15 +2527,15 @@ function Y7() {
2519
2527
  const {
2520
2528
  offsetTop: l,
2521
2529
  offsetLeft: r,
2522
- offsetWidth: s,
2530
+ offsetWidth: c,
2523
2531
  offsetHeight: i
2524
2532
  } = o;
2525
2533
  return {
2526
2534
  top: l,
2527
- right: r + s,
2535
+ right: r + c,
2528
2536
  bottom: l + i,
2529
2537
  left: r,
2530
- width: s,
2538
+ width: c,
2531
2539
  height: i
2532
2540
  };
2533
2541
  }
@@ -2543,29 +2551,29 @@ function J7(e) {
2543
2551
  measure: t
2544
2552
  };
2545
2553
  }
2546
- function z7(e, t, o, l, r, s, i) {
2547
- const c = [e].concat(l);
2554
+ function z7(e, t, o, l, r, c, i) {
2555
+ const s = [e].concat(l);
2548
2556
  let C, a, f = [], d = !1;
2549
- function u(_) {
2550
- return r.measureSize(i.measure(_));
2557
+ function u(L) {
2558
+ return r.measureSize(i.measure(L));
2551
2559
  }
2552
- function v(_) {
2553
- if (!s) return;
2560
+ function v(L) {
2561
+ if (!c) return;
2554
2562
  a = u(e), f = l.map(u);
2555
- function g(w) {
2556
- for (const L of w) {
2563
+ function g(m) {
2564
+ for (const _ of m) {
2557
2565
  if (d) return;
2558
- const Z = L.target === e, S = l.indexOf(L.target), x = Z ? a : f[S], I = u(Z ? e : l[S]);
2559
- if (X(I - x) >= 0.5) {
2560
- _.reInit(), t.emit("resize");
2566
+ const H = _.target === e, k = l.indexOf(_.target), x = H ? a : f[k], V = u(H ? e : l[k]);
2567
+ if (X(V - x) >= 0.5) {
2568
+ L.reInit(), t.emit("resize");
2561
2569
  break;
2562
2570
  }
2563
2571
  }
2564
2572
  }
2565
- C = new ResizeObserver((w) => {
2566
- (x9(s) || s(_, w)) && g(w);
2573
+ C = new ResizeObserver((m) => {
2574
+ (x9(c) || c(L, m)) && g(m);
2567
2575
  }), o.requestAnimationFrame(() => {
2568
- c.forEach((w) => C.observe(w));
2576
+ s.forEach((m) => C.observe(m));
2569
2577
  });
2570
2578
  }
2571
2579
  function h() {
@@ -2576,12 +2584,12 @@ function z7(e, t, o, l, r, s, i) {
2576
2584
  destroy: h
2577
2585
  };
2578
2586
  }
2579
- function e8(e, t, o, l, r, s) {
2580
- let i = 0, c = 0, C = r, a = s, f = e.get(), d = 0;
2587
+ function e8(e, t, o, l, r, c) {
2588
+ let i = 0, s = 0, C = r, a = c, f = e.get(), d = 0;
2581
2589
  function u() {
2582
- const x = l.get() - e.get(), I = !C;
2583
- let b = 0;
2584
- return I ? (i = 0, o.set(l), e.set(l), b = x) : (o.set(e), i += x / C, i *= a, f += i, e.add(i), b = f - d), c = j9(b), d = f, S;
2590
+ const x = l.get() - e.get(), V = !C;
2591
+ let I = 0;
2592
+ return V ? (i = 0, o.set(l), e.set(l), I = x) : (o.set(e), i += x / C, i *= a, f += i, e.add(i), I = f - d), s = j9(I), d = f, k;
2585
2593
  }
2586
2594
  function v() {
2587
2595
  const x = l.get() - t.get();
@@ -2590,47 +2598,47 @@ function e8(e, t, o, l, r, s) {
2590
2598
  function h() {
2591
2599
  return C;
2592
2600
  }
2593
- function m() {
2594
- return c;
2601
+ function w() {
2602
+ return s;
2595
2603
  }
2596
- function _() {
2604
+ function L() {
2597
2605
  return i;
2598
2606
  }
2599
2607
  function g() {
2600
- return L(r);
2608
+ return _(r);
2601
2609
  }
2602
- function w() {
2603
- return Z(s);
2610
+ function m() {
2611
+ return H(c);
2604
2612
  }
2605
- function L(x) {
2606
- return C = x, S;
2613
+ function _(x) {
2614
+ return C = x, k;
2607
2615
  }
2608
- function Z(x) {
2609
- return a = x, S;
2616
+ function H(x) {
2617
+ return a = x, k;
2610
2618
  }
2611
- const S = {
2612
- direction: m,
2619
+ const k = {
2620
+ direction: w,
2613
2621
  duration: h,
2614
- velocity: _,
2622
+ velocity: L,
2615
2623
  seek: u,
2616
2624
  settled: v,
2617
- useBaseFriction: w,
2625
+ useBaseFriction: m,
2618
2626
  useBaseDuration: g,
2619
- useFriction: Z,
2620
- useDuration: L
2627
+ useFriction: H,
2628
+ useDuration: _
2621
2629
  };
2622
- return S;
2630
+ return k;
2623
2631
  }
2624
2632
  function t8(e, t, o, l, r) {
2625
- const s = r.measure(10), i = r.measure(50), c = T1(0.1, 0.99);
2633
+ const c = r.measure(10), i = r.measure(50), s = T1(0.1, 0.99);
2626
2634
  let C = !1;
2627
2635
  function a() {
2628
2636
  return !(C || !e.reachedAny(o.get()) || !e.reachedAny(t.get()));
2629
2637
  }
2630
2638
  function f(v) {
2631
2639
  if (!a()) return;
2632
- const h = e.reachedMin(t.get()) ? "min" : "max", m = X(e[h] - t.get()), _ = o.get() - t.get(), g = c.constrain(m / i);
2633
- o.subtract(_ * g), !v && X(_) < s && (o.set(e.constrain(o.get())), l.useDuration(25).useBaseFriction());
2640
+ const h = e.reachedMin(t.get()) ? "min" : "max", w = X(e[h] - t.get()), L = o.get() - t.get(), g = s.constrain(w / i);
2641
+ o.subtract(L * g), !v && X(L) < c && (o.set(e.constrain(o.get())), l.useDuration(25).useBaseFriction());
2634
2642
  }
2635
2643
  function d(v) {
2636
2644
  C = !v;
@@ -2642,35 +2650,35 @@ function t8(e, t, o, l, r) {
2642
2650
  };
2643
2651
  }
2644
2652
  function n8(e, t, o, l, r) {
2645
- const s = T1(-t + e, 0), i = d(), c = f(), C = u();
2646
- function a(h, m) {
2647
- return Y1(h, m) <= 1;
2653
+ const c = T1(-t + e, 0), i = d(), s = f(), C = u();
2654
+ function a(h, w) {
2655
+ return Y1(h, w) <= 1;
2648
2656
  }
2649
2657
  function f() {
2650
- const h = i[0], m = V1(i), _ = i.lastIndexOf(h), g = i.indexOf(m) + 1;
2651
- return T1(_, g);
2658
+ const h = i[0], w = V1(i), L = i.lastIndexOf(h), g = i.indexOf(w) + 1;
2659
+ return T1(L, g);
2652
2660
  }
2653
2661
  function d() {
2654
- return o.map((h, m) => {
2662
+ return o.map((h, w) => {
2655
2663
  const {
2656
- min: _,
2664
+ min: L,
2657
2665
  max: g
2658
- } = s, w = s.constrain(h), L = !m, Z = W9(o, m);
2659
- return L ? g : Z || a(_, w) ? _ : a(g, w) ? g : w;
2666
+ } = c, m = c.constrain(h), _ = !w, H = W9(o, w);
2667
+ return _ ? g : H || a(L, m) ? L : a(g, m) ? g : m;
2660
2668
  }).map((h) => parseFloat(h.toFixed(3)));
2661
2669
  }
2662
2670
  function u() {
2663
- if (t <= e + r) return [s.max];
2671
+ if (t <= e + r) return [c.max];
2664
2672
  if (l === "keepSnaps") return i;
2665
2673
  const {
2666
2674
  min: h,
2667
- max: m
2668
- } = c;
2669
- return i.slice(h, m);
2675
+ max: w
2676
+ } = s;
2677
+ return i.slice(h, w);
2670
2678
  }
2671
2679
  return {
2672
2680
  snapsContained: C,
2673
- scrollContainLimit: c
2681
+ scrollContainLimit: s
2674
2682
  };
2675
2683
  }
2676
2684
  function o8(e, t, o) {
@@ -2680,12 +2688,12 @@ function o8(e, t, o) {
2680
2688
  };
2681
2689
  }
2682
2690
  function l8(e, t, o, l) {
2683
- const s = t.min + 0.1, i = t.max + 0.1, {
2684
- reachedMin: c,
2691
+ const c = t.min + 0.1, i = t.max + 0.1, {
2692
+ reachedMin: s,
2685
2693
  reachedMax: C
2686
- } = T1(s, i);
2694
+ } = T1(c, i);
2687
2695
  function a(u) {
2688
- return u === 1 ? C(o.get()) : u === -1 ? c(o.get()) : !1;
2696
+ return u === 1 ? C(o.get()) : u === -1 ? s(o.get()) : !1;
2689
2697
  }
2690
2698
  function f(u) {
2691
2699
  if (!a(u)) return;
@@ -2701,8 +2709,8 @@ function r8(e) {
2701
2709
  max: t,
2702
2710
  length: o
2703
2711
  } = e;
2704
- function l(s) {
2705
- const i = s - t;
2712
+ function l(c) {
2713
+ const i = c - t;
2706
2714
  return o ? i / -o : 0;
2707
2715
  }
2708
2716
  return {
@@ -2711,43 +2719,43 @@ function r8(e) {
2711
2719
  }
2712
2720
  function i8(e, t, o, l, r) {
2713
2721
  const {
2714
- startEdge: s,
2722
+ startEdge: c,
2715
2723
  endEdge: i
2716
2724
  } = e, {
2717
- groupSlides: c
2725
+ groupSlides: s
2718
2726
  } = r, C = d().map(t.measure), a = u(), f = v();
2719
2727
  function d() {
2720
- return c(l).map((m) => V1(m)[i] - m[0][s]).map(X);
2728
+ return s(l).map((w) => V1(w)[i] - w[0][c]).map(X);
2721
2729
  }
2722
2730
  function u() {
2723
- return l.map((m) => o[s] - m[s]).map((m) => -X(m));
2731
+ return l.map((w) => o[c] - w[c]).map((w) => -X(w));
2724
2732
  }
2725
2733
  function v() {
2726
- return c(a).map((m) => m[0]).map((m, _) => m + C[_]);
2734
+ return s(a).map((w) => w[0]).map((w, L) => w + C[L]);
2727
2735
  }
2728
2736
  return {
2729
2737
  snaps: a,
2730
2738
  snapsAligned: f
2731
2739
  };
2732
2740
  }
2733
- function C8(e, t, o, l, r, s) {
2741
+ function C8(e, t, o, l, r, c) {
2734
2742
  const {
2735
2743
  groupSlides: i
2736
2744
  } = r, {
2737
- min: c,
2745
+ min: s,
2738
2746
  max: C
2739
2747
  } = l, a = f();
2740
2748
  function f() {
2741
- const u = i(s), v = !e || t === "keepSnaps";
2742
- return o.length === 1 ? [s] : v ? u : u.slice(c, C).map((h, m, _) => {
2743
- const g = !m, w = W9(_, m);
2749
+ const u = i(c), v = !e || t === "keepSnaps";
2750
+ return o.length === 1 ? [c] : v ? u : u.slice(s, C).map((h, w, L) => {
2751
+ const g = !w, m = W9(L, w);
2744
2752
  if (g) {
2745
- const L = V1(_[0]) + 1;
2746
- return d2(L);
2753
+ const _ = V1(L[0]) + 1;
2754
+ return d2(_);
2747
2755
  }
2748
- if (w) {
2749
- const L = r9(s) - V1(_)[0] + 1;
2750
- return d2(L, V1(_)[0]);
2756
+ if (m) {
2757
+ const _ = r9(c) - V1(L)[0] + 1;
2758
+ return d2(_, V1(L)[0]);
2751
2759
  }
2752
2760
  return h;
2753
2761
  });
@@ -2758,52 +2766,52 @@ function C8(e, t, o, l, r, s) {
2758
2766
  }
2759
2767
  function s8(e, t, o, l, r) {
2760
2768
  const {
2761
- reachedAny: s,
2769
+ reachedAny: c,
2762
2770
  removeOffset: i,
2763
- constrain: c
2771
+ constrain: s
2764
2772
  } = l;
2765
2773
  function C(h) {
2766
- return h.concat().sort((m, _) => X(m) - X(_))[0];
2774
+ return h.concat().sort((w, L) => X(w) - X(L))[0];
2767
2775
  }
2768
2776
  function a(h) {
2769
- const m = e ? i(h) : c(h), _ = t.map((w, L) => ({
2770
- diff: f(w - m, 0),
2771
- index: L
2772
- })).sort((w, L) => X(w.diff) - X(L.diff)), {
2777
+ const w = e ? i(h) : s(h), L = t.map((m, _) => ({
2778
+ diff: f(m - w, 0),
2779
+ index: _
2780
+ })).sort((m, _) => X(m.diff) - X(_.diff)), {
2773
2781
  index: g
2774
- } = _[0];
2782
+ } = L[0];
2775
2783
  return {
2776
2784
  index: g,
2777
- distance: m
2785
+ distance: w
2778
2786
  };
2779
2787
  }
2780
- function f(h, m) {
2781
- const _ = [h, h + o, h - o];
2788
+ function f(h, w) {
2789
+ const L = [h, h + o, h - o];
2782
2790
  if (!e) return h;
2783
- if (!m) return C(_);
2784
- const g = _.filter((w) => j9(w) === m);
2785
- return g.length ? C(g) : V1(_) - o;
2791
+ if (!w) return C(L);
2792
+ const g = L.filter((m) => j9(m) === w);
2793
+ return g.length ? C(g) : V1(L) - o;
2786
2794
  }
2787
- function d(h, m) {
2788
- const _ = t[h] - r.get(), g = f(_, m);
2795
+ function d(h, w) {
2796
+ const L = t[h] - r.get(), g = f(L, w);
2789
2797
  return {
2790
2798
  index: h,
2791
2799
  distance: g
2792
2800
  };
2793
2801
  }
2794
- function u(h, m) {
2795
- const _ = r.get() + h, {
2802
+ function u(h, w) {
2803
+ const L = r.get() + h, {
2796
2804
  index: g,
2797
- distance: w
2798
- } = a(_), L = !e && s(_);
2799
- if (!m || L) return {
2805
+ distance: m
2806
+ } = a(L), _ = !e && c(L);
2807
+ if (!w || _) return {
2800
2808
  index: g,
2801
2809
  distance: h
2802
2810
  };
2803
- const Z = t[g] - w, S = h + f(Z, 0);
2811
+ const H = t[g] - m, k = h + f(H, 0);
2804
2812
  return {
2805
2813
  index: g,
2806
- distance: S
2814
+ distance: k
2807
2815
  };
2808
2816
  }
2809
2817
  return {
@@ -2812,41 +2820,41 @@ function s8(e, t, o, l, r) {
2812
2820
  shortcut: f
2813
2821
  };
2814
2822
  }
2815
- function c8(e, t, o, l, r, s, i) {
2816
- function c(d) {
2823
+ function c8(e, t, o, l, r, c, i) {
2824
+ function s(d) {
2817
2825
  const u = d.distance, v = d.index !== t.get();
2818
- s.add(u), u && (l.duration() ? e.start() : (e.update(), e.render(1), e.update())), v && (o.set(t.get()), t.set(d.index), i.emit("select"));
2826
+ c.add(u), u && (l.duration() ? e.start() : (e.update(), e.render(1), e.update())), v && (o.set(t.get()), t.set(d.index), i.emit("select"));
2819
2827
  }
2820
2828
  function C(d, u) {
2821
2829
  const v = r.byDistance(d, u);
2822
- c(v);
2830
+ s(v);
2823
2831
  }
2824
2832
  function a(d, u) {
2825
2833
  const v = t.clone().set(d), h = r.byIndex(v.get(), u);
2826
- c(h);
2834
+ s(h);
2827
2835
  }
2828
2836
  return {
2829
2837
  distance: C,
2830
2838
  index: a
2831
2839
  };
2832
2840
  }
2833
- function a8(e, t, o, l, r, s, i, c) {
2841
+ function a8(e, t, o, l, r, c, i, s) {
2834
2842
  const C = {
2835
2843
  passive: !0,
2836
2844
  capture: !0
2837
2845
  };
2838
2846
  let a = 0;
2839
2847
  function f(v) {
2840
- if (!c) return;
2841
- function h(m) {
2848
+ if (!s) return;
2849
+ function h(w) {
2842
2850
  if ((/* @__PURE__ */ new Date()).getTime() - a > 10) return;
2843
2851
  i.emit("slideFocusStart"), e.scrollLeft = 0;
2844
- const w = o.findIndex((L) => L.includes(m));
2845
- P9(w) && (r.useDuration(0), l.index(w, 0), i.emit("slideFocus"));
2852
+ const m = o.findIndex((_) => _.includes(w));
2853
+ P9(m) && (r.useDuration(0), l.index(m, 0), i.emit("slideFocus"));
2846
2854
  }
2847
- s.add(document, "keydown", d, !1), t.forEach((m, _) => {
2848
- s.add(m, "focus", (g) => {
2849
- (x9(c) || c(v, g)) && h(_);
2855
+ c.add(document, "keydown", d, !1), t.forEach((w, L) => {
2856
+ c.add(w, "focus", (g) => {
2857
+ (x9(s) || s(v, g)) && h(L);
2850
2858
  }, C);
2851
2859
  });
2852
2860
  }
@@ -2868,7 +2876,7 @@ function G1(e) {
2868
2876
  function r(C) {
2869
2877
  t += i(C);
2870
2878
  }
2871
- function s(C) {
2879
+ function c(C) {
2872
2880
  t -= i(C);
2873
2881
  }
2874
2882
  function i(C) {
@@ -2878,28 +2886,28 @@ function G1(e) {
2878
2886
  get: o,
2879
2887
  set: l,
2880
2888
  add: r,
2881
- subtract: s
2889
+ subtract: c
2882
2890
  };
2883
2891
  }
2884
2892
  function H2(e, t) {
2885
- const o = e.scroll === "x" ? i : c, l = t.style;
2886
- let r = null, s = !1;
2893
+ const o = e.scroll === "x" ? i : s, l = t.style;
2894
+ let r = null, c = !1;
2887
2895
  function i(u) {
2888
2896
  return `translate3d(${u}px,0px,0px)`;
2889
2897
  }
2890
- function c(u) {
2898
+ function s(u) {
2891
2899
  return `translate3d(0px,${u}px,0px)`;
2892
2900
  }
2893
2901
  function C(u) {
2894
- if (s) return;
2902
+ if (c) return;
2895
2903
  const v = q7(e.direction(u));
2896
2904
  v !== r && (l.transform = o(v), r = v);
2897
2905
  }
2898
2906
  function a(u) {
2899
- s = !u;
2907
+ c = !u;
2900
2908
  }
2901
2909
  function f() {
2902
- s || (l.transform = "", t.getAttribute("style") || t.removeAttribute("style"));
2910
+ c || (l.transform = "", t.getAttribute("style") || t.removeAttribute("style"));
2903
2911
  }
2904
2912
  return {
2905
2913
  clear: f,
@@ -2907,72 +2915,72 @@ function H2(e, t) {
2907
2915
  toggleActive: a
2908
2916
  };
2909
2917
  }
2910
- function d8(e, t, o, l, r, s, i, c, C) {
2911
- const f = e9(r), d = e9(r).reverse(), u = g().concat(w());
2912
- function v(I, b) {
2913
- return I.reduce((V, R) => V - r[R], b);
2918
+ function d8(e, t, o, l, r, c, i, s, C) {
2919
+ const f = e9(r), d = e9(r).reverse(), u = g().concat(m());
2920
+ function v(V, I) {
2921
+ return V.reduce((A, M) => A - r[M], I);
2914
2922
  }
2915
- function h(I, b) {
2916
- return I.reduce((V, R) => v(V, b) > 0 ? V.concat([R]) : V, []);
2923
+ function h(V, I) {
2924
+ return V.reduce((A, M) => v(A, I) > 0 ? A.concat([M]) : A, []);
2917
2925
  }
2918
- function m(I) {
2919
- return s.map((b, V) => ({
2920
- start: b - l[V] + 0.5 + I,
2921
- end: b + t - 0.5 + I
2926
+ function w(V) {
2927
+ return c.map((I, A) => ({
2928
+ start: I - l[A] + 0.5 + V,
2929
+ end: I + t - 0.5 + V
2922
2930
  }));
2923
2931
  }
2924
- function _(I, b, V) {
2925
- const R = m(b);
2926
- return I.map((M) => {
2927
- const k = V ? 0 : -o, N = V ? o : 0, y = V ? "end" : "start", H = R[M][y];
2932
+ function L(V, I, A) {
2933
+ const M = w(I);
2934
+ return V.map((b) => {
2935
+ const B = A ? 0 : -o, S = A ? o : 0, y = A ? "end" : "start", Z = M[b][y];
2928
2936
  return {
2929
- index: M,
2930
- loopPoint: H,
2937
+ index: b,
2938
+ loopPoint: Z,
2931
2939
  slideLocation: G1(-1),
2932
- translate: H2(e, C[M]),
2933
- target: () => c.get() > H ? k : N
2940
+ translate: H2(e, C[b]),
2941
+ target: () => s.get() > Z ? B : S
2934
2942
  };
2935
2943
  });
2936
2944
  }
2937
2945
  function g() {
2938
- const I = i[0], b = h(d, I);
2939
- return _(b, o, !1);
2946
+ const V = i[0], I = h(d, V);
2947
+ return L(I, o, !1);
2940
2948
  }
2941
- function w() {
2942
- const I = t - i[0] - 1, b = h(f, I);
2943
- return _(b, -o, !0);
2949
+ function m() {
2950
+ const V = t - i[0] - 1, I = h(f, V);
2951
+ return L(I, -o, !0);
2944
2952
  }
2945
- function L() {
2953
+ function _() {
2946
2954
  return u.every(({
2947
- index: I
2955
+ index: V
2948
2956
  }) => {
2949
- const b = f.filter((V) => V !== I);
2950
- return v(b, t) <= 0.1;
2957
+ const I = f.filter((A) => A !== V);
2958
+ return v(I, t) <= 0.1;
2951
2959
  });
2952
2960
  }
2953
- function Z() {
2954
- u.forEach((I) => {
2961
+ function H() {
2962
+ u.forEach((V) => {
2955
2963
  const {
2956
- target: b,
2957
- translate: V,
2958
- slideLocation: R
2959
- } = I, M = b();
2960
- M !== R.get() && (V.to(M), R.set(M));
2964
+ target: I,
2965
+ translate: A,
2966
+ slideLocation: M
2967
+ } = V, b = I();
2968
+ b !== M.get() && (A.to(b), M.set(b));
2961
2969
  });
2962
2970
  }
2963
- function S() {
2964
- u.forEach((I) => I.translate.clear());
2971
+ function k() {
2972
+ u.forEach((V) => V.translate.clear());
2965
2973
  }
2966
2974
  return {
2967
- canLoop: L,
2968
- clear: S,
2969
- loop: Z,
2975
+ canLoop: _,
2976
+ clear: k,
2977
+ loop: H,
2970
2978
  loopPoints: u
2971
2979
  };
2972
2980
  }
2973
2981
  function u8(e, t, o) {
2974
2982
  let l, r = !1;
2975
- function s(C) {
2983
+ function c(C) {
2976
2984
  if (!o) return;
2977
2985
  function a(f) {
2978
2986
  for (const d of f)
@@ -2991,40 +2999,40 @@ function u8(e, t, o) {
2991
2999
  l && l.disconnect(), r = !0;
2992
3000
  }
2993
3001
  return {
2994
- init: s,
3002
+ init: c,
2995
3003
  destroy: i
2996
3004
  };
2997
3005
  }
2998
3006
  function h8(e, t, o, l) {
2999
3007
  const r = {};
3000
- let s = null, i = null, c, C = !1;
3008
+ let c = null, i = null, s, C = !1;
3001
3009
  function a() {
3002
- c = new IntersectionObserver((h) => {
3003
- C || (h.forEach((m) => {
3004
- const _ = t.indexOf(m.target);
3005
- r[_] = m;
3006
- }), s = null, i = null, o.emit("slidesInView"));
3010
+ s = new IntersectionObserver((h) => {
3011
+ C || (h.forEach((w) => {
3012
+ const L = t.indexOf(w.target);
3013
+ r[L] = w;
3014
+ }), c = null, i = null, o.emit("slidesInView"));
3007
3015
  }, {
3008
3016
  root: e.parentElement,
3009
3017
  threshold: l
3010
- }), t.forEach((h) => c.observe(h));
3018
+ }), t.forEach((h) => s.observe(h));
3011
3019
  }
3012
3020
  function f() {
3013
- c && c.disconnect(), C = !0;
3021
+ s && s.disconnect(), C = !0;
3014
3022
  }
3015
3023
  function d(h) {
3016
- return t9(r).reduce((m, _) => {
3017
- const g = parseInt(_), {
3018
- isIntersecting: w
3024
+ return t9(r).reduce((w, L) => {
3025
+ const g = parseInt(L), {
3026
+ isIntersecting: m
3019
3027
  } = r[g];
3020
- return (h && w || !h && !w) && m.push(g), m;
3028
+ return (h && m || !h && !m) && w.push(g), w;
3021
3029
  }, []);
3022
3030
  }
3023
3031
  function u(h = !0) {
3024
- if (h && s) return s;
3032
+ if (h && c) return c;
3025
3033
  if (!h && i) return i;
3026
- const m = d(h);
3027
- return h && (s = m), h || (i = m), m;
3034
+ const w = d(h);
3035
+ return h && (c = w), h || (i = w), w;
3028
3036
  }
3029
3037
  return {
3030
3038
  init: a,
@@ -3032,26 +3040,26 @@ function h8(e, t, o, l) {
3032
3040
  get: u
3033
3041
  };
3034
3042
  }
3035
- function f8(e, t, o, l, r, s) {
3043
+ function f8(e, t, o, l, r, c) {
3036
3044
  const {
3037
3045
  measureSize: i,
3038
- startEdge: c,
3046
+ startEdge: s,
3039
3047
  endEdge: C
3040
- } = e, a = o[0] && r, f = h(), d = m(), u = o.map(i), v = _();
3048
+ } = e, a = o[0] && r, f = h(), d = w(), u = o.map(i), v = L();
3041
3049
  function h() {
3042
3050
  if (!a) return 0;
3043
- const w = o[0];
3044
- return X(t[c] - w[c]);
3051
+ const m = o[0];
3052
+ return X(t[s] - m[s]);
3045
3053
  }
3046
- function m() {
3054
+ function w() {
3047
3055
  if (!a) return 0;
3048
- const w = s.getComputedStyle(V1(l));
3049
- return parseFloat(w.getPropertyValue(`margin-${C}`));
3056
+ const m = c.getComputedStyle(V1(l));
3057
+ return parseFloat(m.getPropertyValue(`margin-${C}`));
3050
3058
  }
3051
- function _() {
3052
- return o.map((w, L, Z) => {
3053
- const S = !L, x = W9(Z, L);
3054
- return S ? u[L] + f : x ? u[L] + d : Z[L + 1][c] - w[c];
3059
+ function L() {
3060
+ return o.map((m, _, H) => {
3061
+ const k = !_, x = W9(H, _);
3062
+ return k ? u[_] + f : x ? u[_] + d : H[_ + 1][s] - m[s];
3055
3063
  }).map(X);
3056
3064
  }
3057
3065
  return {
@@ -3061,34 +3069,34 @@ function f8(e, t, o, l, r, s) {
3061
3069
  endGap: d
3062
3070
  };
3063
3071
  }
3064
- function p8(e, t, o, l, r, s, i, c, C) {
3072
+ function p8(e, t, o, l, r, c, i, s, C) {
3065
3073
  const {
3066
3074
  startEdge: a,
3067
3075
  endEdge: f,
3068
3076
  direction: d
3069
3077
  } = e, u = P9(o);
3070
- function v(g, w) {
3071
- return e9(g).filter((L) => L % w === 0).map((L) => g.slice(L, L + w));
3078
+ function v(g, m) {
3079
+ return e9(g).filter((_) => _ % m === 0).map((_) => g.slice(_, _ + m));
3072
3080
  }
3073
3081
  function h(g) {
3074
- return g.length ? e9(g).reduce((w, L, Z) => {
3075
- const S = V1(w) || 0, x = S === 0, I = L === r9(g), b = r[a] - s[S][a], V = r[a] - s[L][f], R = !l && x ? d(i) : 0, M = !l && I ? d(c) : 0, k = X(V - M - (b + R));
3076
- return Z && k > t + C && w.push(L), I && w.push(g.length), w;
3077
- }, []).map((w, L, Z) => {
3078
- const S = Math.max(Z[L - 1] || 0);
3079
- return g.slice(S, w);
3082
+ return g.length ? e9(g).reduce((m, _, H) => {
3083
+ const k = V1(m) || 0, x = k === 0, V = _ === r9(g), I = r[a] - c[k][a], A = r[a] - c[_][f], M = !l && x ? d(i) : 0, b = !l && V ? d(s) : 0, B = X(A - b - (I + M));
3084
+ return H && B > t + C && m.push(_), V && m.push(g.length), m;
3085
+ }, []).map((m, _, H) => {
3086
+ const k = Math.max(H[_ - 1] || 0);
3087
+ return g.slice(k, m);
3080
3088
  }) : [];
3081
3089
  }
3082
- function m(g) {
3090
+ function w(g) {
3083
3091
  return u ? v(g, o) : h(g);
3084
3092
  }
3085
3093
  return {
3086
- groupSlides: m
3094
+ groupSlides: w
3087
3095
  };
3088
3096
  }
3089
- function g8(e, t, o, l, r, s, i) {
3097
+ function g8(e, t, o, l, r, c, i) {
3090
3098
  const {
3091
- align: c,
3099
+ align: s,
3092
3100
  axis: C,
3093
3101
  direction: a,
3094
3102
  startIndex: f,
@@ -3096,28 +3104,28 @@ function g8(e, t, o, l, r, s, i) {
3096
3104
  duration: u,
3097
3105
  dragFree: v,
3098
3106
  dragThreshold: h,
3099
- inViewThreshold: m,
3100
- slidesToScroll: _,
3107
+ inViewThreshold: w,
3108
+ slidesToScroll: L,
3101
3109
  skipSnaps: g,
3102
- containScroll: w,
3103
- watchResize: L,
3104
- watchSlides: Z,
3105
- watchDrag: S,
3110
+ containScroll: m,
3111
+ watchResize: _,
3112
+ watchSlides: H,
3113
+ watchDrag: k,
3106
3114
  watchFocus: x
3107
- } = s, I = 2, b = Y7(), V = b.measure(t), R = o.map(b.measure), M = Q7(C, a), k = M.measureSize(V), N = J7(k), y = G7(c, k), H = !d && !!w, T = d || !!w, {
3108
- slideSizes: A,
3115
+ } = c, V = 2, I = Y7(), A = I.measure(t), M = o.map(I.measure), b = Q7(C, a), B = b.measureSize(A), S = J7(B), y = G7(s, B), Z = !d && !!m, T = d || !!m, {
3116
+ slideSizes: N,
3109
3117
  slideSizesWithGaps: D,
3110
3118
  startGap: O,
3111
3119
  endGap: U
3112
- } = f8(M, V, R, o, T, r), a1 = p8(M, k, _, d, V, R, O, U, I), {
3120
+ } = f8(b, A, M, o, T, r), a1 = p8(b, B, L, d, A, M, O, U, V), {
3113
3121
  snaps: h1,
3114
3122
  snapsAligned: l1
3115
- } = i8(M, y, V, R, a1), K = -V1(h1) + V1(D), {
3123
+ } = i8(b, y, A, M, a1), K = -V1(h1) + V1(D), {
3116
3124
  snapsContained: B1,
3117
3125
  scrollContainLimit: g1
3118
- } = n8(k, K, l1, w, I), r1 = H ? B1 : l1, {
3126
+ } = n8(B, K, l1, m, V), r1 = Z ? B1 : l1, {
3119
3127
  limit: i1
3120
- } = o8(K, r1, d), v1 = y2(r9(r1), f, d), s1 = v1.clone(), j = e9(o), B = ({
3128
+ } = o8(K, r1, d), v1 = y2(r9(r1), f, d), s1 = v1.clone(), j = e9(o), R = ({
3121
3129
  dragHandler: D1,
3122
3130
  scrollBody: Z9,
3123
3131
  scrollBounds: V9,
@@ -3146,44 +3154,44 @@ function g8(e, t, o, l, r, s, i) {
3146
3154
  z9 && A2.stop();
3147
3155
  const T2 = V9.get() * K9 + B2.get() * (1 - K9);
3148
3156
  C9.set(T2), X9 && (R2.loop(D1.direction()), k2.loop()), Z9.to(C9.get()), z9 && Q9.emit("settle"), J9 || Q9.emit("scroll");
3149
- }, $ = U7(l, r, () => B(H9), (D1) => P(H9, D1)), W = 0.68, C1 = r1[v1.get()], f1 = G1(C1), R1 = G1(C1), L1 = G1(C1), E1 = G1(C1), q1 = e8(f1, L1, R1, E1, u, W), M9 = s8(d, r1, K, i1, E1), y9 = c8($, v1, s1, q1, M9, E1, i), q9 = r8(i1), G9 = n9(), V2 = h8(t, o, i, m), {
3157
+ }, $ = U7(l, r, () => R(H9), (D1) => P(H9, D1)), W = 0.68, C1 = r1[v1.get()], f1 = G1(C1), R1 = G1(C1), L1 = G1(C1), E1 = G1(C1), q1 = e8(f1, L1, R1, E1, u, W), M9 = s8(d, r1, K, i1, E1), y9 = c8($, v1, s1, q1, M9, E1, i), q9 = r8(i1), G9 = n9(), V2 = h8(t, o, i, w), {
3150
3158
  slideRegistry: U9
3151
- } = C8(H, w, r1, g1, a1, j), I2 = a8(e, o, U9, y9, q1, G9, i, x), H9 = {
3159
+ } = C8(Z, m, r1, g1, a1, j), I2 = a8(e, o, U9, y9, q1, G9, i, x), H9 = {
3152
3160
  ownerDocument: l,
3153
3161
  ownerWindow: r,
3154
3162
  eventHandler: i,
3155
- containerRect: V,
3156
- slideRects: R,
3163
+ containerRect: A,
3164
+ slideRects: M,
3157
3165
  animation: $,
3158
- axis: M,
3159
- dragHandler: X7(M, e, l, r, E1, K7(M, r), f1, $, y9, q1, M9, v1, i, N, v, h, g, W, S),
3166
+ axis: b,
3167
+ dragHandler: X7(b, e, l, r, E1, K7(b, r), f1, $, y9, q1, M9, v1, i, S, v, h, g, W, k),
3160
3168
  eventStore: G9,
3161
- percentOfView: N,
3169
+ percentOfView: S,
3162
3170
  index: v1,
3163
3171
  indexPrevious: s1,
3164
3172
  limit: i1,
3165
3173
  location: f1,
3166
3174
  offsetLocation: L1,
3167
3175
  previousLocation: R1,
3168
- options: s,
3169
- resizeHandler: z7(t, i, r, o, M, L, b),
3176
+ options: c,
3177
+ resizeHandler: z7(t, i, r, o, b, _, I),
3170
3178
  scrollBody: q1,
3171
- scrollBounds: t8(i1, L1, E1, q1, N),
3179
+ scrollBounds: t8(i1, L1, E1, q1, S),
3172
3180
  scrollLooper: l8(K, i1, L1, [f1, L1, R1, E1]),
3173
3181
  scrollProgress: q9,
3174
3182
  scrollSnapList: r1.map(q9.get),
3175
3183
  scrollSnaps: r1,
3176
3184
  scrollTarget: M9,
3177
3185
  scrollTo: y9,
3178
- slideLooper: d8(M, k, K, A, D, h1, r1, L1, o),
3186
+ slideLooper: d8(b, B, K, N, D, h1, r1, L1, o),
3179
3187
  slideFocus: I2,
3180
- slidesHandler: u8(t, i, Z),
3188
+ slidesHandler: u8(t, i, H),
3181
3189
  slidesInView: V2,
3182
3190
  slideIndexes: j,
3183
3191
  slideRegistry: U9,
3184
3192
  slidesToScroll: a1,
3185
3193
  target: E1,
3186
- translate: H2(M, t)
3194
+ translate: H2(b, t)
3187
3195
  };
3188
3196
  return H9;
3189
3197
  }
@@ -3198,21 +3206,21 @@ function m8() {
3198
3206
  function r(a) {
3199
3207
  return l(a).forEach((f) => f(t, a)), C;
3200
3208
  }
3201
- function s(a, f) {
3209
+ function c(a, f) {
3202
3210
  return e[a] = l(a).concat([f]), C;
3203
3211
  }
3204
3212
  function i(a, f) {
3205
3213
  return e[a] = l(a).filter((d) => d !== f), C;
3206
3214
  }
3207
- function c() {
3215
+ function s() {
3208
3216
  e = {};
3209
3217
  }
3210
3218
  const C = {
3211
3219
  init: o,
3212
3220
  emit: r,
3213
3221
  off: i,
3214
- on: s,
3215
- clear: c
3222
+ on: c,
3223
+ clear: s
3216
3224
  };
3217
3225
  return C;
3218
3226
  }
@@ -3239,15 +3247,15 @@ const w8 = {
3239
3247
  watchFocus: !0
3240
3248
  };
3241
3249
  function v8(e) {
3242
- function t(s, i) {
3243
- return M2(s, i || {});
3250
+ function t(c, i) {
3251
+ return M2(c, i || {});
3244
3252
  }
3245
- function o(s) {
3246
- const i = s.breakpoints || {}, c = t9(i).filter((C) => e.matchMedia(C).matches).map((C) => i[C]).reduce((C, a) => t(C, a), {});
3247
- return t(s, c);
3253
+ function o(c) {
3254
+ const i = c.breakpoints || {}, s = t9(i).filter((C) => e.matchMedia(C).matches).map((C) => i[C]).reduce((C, a) => t(C, a), {});
3255
+ return t(c, s);
3248
3256
  }
3249
- function l(s) {
3250
- return s.map((i) => t9(i.breakpoints || {})).reduce((i, c) => i.concat(c), []).map(e.matchMedia);
3257
+ function l(c) {
3258
+ return c.map((i) => t9(i.breakpoints || {})).reduce((i, s) => i.concat(s), []).map(e.matchMedia);
3251
3259
  }
3252
3260
  return {
3253
3261
  mergeOptions: t,
@@ -3257,15 +3265,15 @@ function v8(e) {
3257
3265
  }
3258
3266
  function L8(e) {
3259
3267
  let t = [];
3260
- function o(s, i) {
3268
+ function o(c, i) {
3261
3269
  return t = i.filter(({
3262
- options: c
3263
- }) => e.optionsAtMedia(c).active !== !1), t.forEach((c) => c.init(s, e)), i.reduce((c, C) => Object.assign(c, {
3270
+ options: s
3271
+ }) => e.optionsAtMedia(s).active !== !1), t.forEach((s) => s.init(c, e)), i.reduce((s, C) => Object.assign(s, {
3264
3272
  [C.name]: C
3265
3273
  }), {});
3266
3274
  }
3267
3275
  function l() {
3268
- t = t.filter((s) => s.destroy());
3276
+ t = t.filter((c) => c.destroy());
3269
3277
  }
3270
3278
  return {
3271
3279
  init: o,
@@ -3273,64 +3281,64 @@ function L8(e) {
3273
3281
  };
3274
3282
  }
3275
3283
  function v9(e, t, o) {
3276
- const l = e.ownerDocument, r = l.defaultView, s = v8(r), i = L8(s), c = n9(), C = m8(), {
3284
+ const l = e.ownerDocument, r = l.defaultView, c = v8(r), i = L8(c), s = n9(), C = m8(), {
3277
3285
  mergeOptions: a,
3278
3286
  optionsAtMedia: f,
3279
3287
  optionsMediaQueries: d
3280
- } = s, {
3288
+ } = c, {
3281
3289
  on: u,
3282
3290
  off: v,
3283
3291
  emit: h
3284
- } = C, m = M;
3285
- let _ = !1, g, w = a(w8, v9.globalOptions), L = a(w), Z = [], S, x, I;
3286
- function b() {
3292
+ } = C, w = b;
3293
+ let L = !1, g, m = a(w8, v9.globalOptions), _ = a(m), H = [], k, x, V;
3294
+ function I() {
3287
3295
  const {
3288
3296
  container: j,
3289
- slides: B
3290
- } = L;
3297
+ slides: R
3298
+ } = _;
3291
3299
  x = ($9(j) ? e.querySelector(j) : j) || e.children[0];
3292
- const $ = $9(B) ? x.querySelectorAll(B) : B;
3293
- I = [].slice.call($ || x.children);
3300
+ const $ = $9(R) ? x.querySelectorAll(R) : R;
3301
+ V = [].slice.call($ || x.children);
3294
3302
  }
3295
- function V(j) {
3296
- const B = g8(e, x, I, l, r, j, C);
3297
- if (j.loop && !B.slideLooper.canLoop()) {
3303
+ function A(j) {
3304
+ const R = g8(e, x, V, l, r, j, C);
3305
+ if (j.loop && !R.slideLooper.canLoop()) {
3298
3306
  const P = Object.assign({}, j, {
3299
3307
  loop: !1
3300
3308
  });
3301
- return V(P);
3309
+ return A(P);
3302
3310
  }
3303
- return B;
3311
+ return R;
3304
3312
  }
3305
- function R(j, B) {
3306
- _ || (w = a(w, j), L = f(w), Z = B || Z, b(), g = V(L), d([w, ...Z.map(({
3313
+ function M(j, R) {
3314
+ L || (m = a(m, j), _ = f(m), H = R || H, I(), g = A(_), d([m, ...H.map(({
3307
3315
  options: P
3308
- }) => P)]).forEach((P) => c.add(P, "change", M)), L.active && (g.translate.to(g.location.get()), g.animation.init(), g.slidesInView.init(), g.slideFocus.init(s1), g.eventHandler.init(s1), g.resizeHandler.init(s1), g.slidesHandler.init(s1), g.options.loop && g.slideLooper.loop(), x.offsetParent && I.length && g.dragHandler.init(s1), S = i.init(s1, Z)));
3316
+ }) => P)]).forEach((P) => s.add(P, "change", b)), _.active && (g.translate.to(g.location.get()), g.animation.init(), g.slidesInView.init(), g.slideFocus.init(s1), g.eventHandler.init(s1), g.resizeHandler.init(s1), g.slidesHandler.init(s1), g.options.loop && g.slideLooper.loop(), x.offsetParent && V.length && g.dragHandler.init(s1), k = i.init(s1, H)));
3309
3317
  }
3310
- function M(j, B) {
3318
+ function b(j, R) {
3311
3319
  const P = a1();
3312
- k(), R(a({
3320
+ B(), M(a({
3313
3321
  startIndex: P
3314
- }, j), B), C.emit("reInit");
3322
+ }, j), R), C.emit("reInit");
3315
3323
  }
3316
- function k() {
3317
- g.dragHandler.destroy(), g.eventStore.clear(), g.translate.clear(), g.slideLooper.clear(), g.resizeHandler.destroy(), g.slidesHandler.destroy(), g.slidesInView.destroy(), g.animation.destroy(), i.destroy(), c.clear();
3324
+ function B() {
3325
+ g.dragHandler.destroy(), g.eventStore.clear(), g.translate.clear(), g.slideLooper.clear(), g.resizeHandler.destroy(), g.slidesHandler.destroy(), g.slidesInView.destroy(), g.animation.destroy(), i.destroy(), s.clear();
3318
3326
  }
3319
- function N() {
3320
- _ || (_ = !0, c.clear(), k(), C.emit("destroy"), C.clear());
3327
+ function S() {
3328
+ L || (L = !0, s.clear(), B(), C.emit("destroy"), C.clear());
3321
3329
  }
3322
- function y(j, B, P) {
3323
- !L.active || _ || (g.scrollBody.useBaseFriction().useDuration(B === !0 ? 0 : L.duration), g.scrollTo.index(j, P || 0));
3330
+ function y(j, R, P) {
3331
+ !_.active || L || (g.scrollBody.useBaseFriction().useDuration(R === !0 ? 0 : _.duration), g.scrollTo.index(j, P || 0));
3324
3332
  }
3325
- function H(j) {
3326
- const B = g.index.add(1).get();
3327
- y(B, j, -1);
3333
+ function Z(j) {
3334
+ const R = g.index.add(1).get();
3335
+ y(R, j, -1);
3328
3336
  }
3329
3337
  function T(j) {
3330
- const B = g.index.add(-1).get();
3331
- y(B, j, 1);
3338
+ const R = g.index.add(-1).get();
3339
+ y(R, j, 1);
3332
3340
  }
3333
- function A() {
3341
+ function N() {
3334
3342
  return g.index.add(1).get() !== a1();
3335
3343
  }
3336
3344
  function D() {
@@ -3355,7 +3363,7 @@ function v9(e, t, o) {
3355
3363
  return g.slidesInView.get(!1);
3356
3364
  }
3357
3365
  function B1() {
3358
- return S;
3366
+ return k;
3359
3367
  }
3360
3368
  function g1() {
3361
3369
  return g;
@@ -3367,22 +3375,22 @@ function v9(e, t, o) {
3367
3375
  return x;
3368
3376
  }
3369
3377
  function v1() {
3370
- return I;
3378
+ return V;
3371
3379
  }
3372
3380
  const s1 = {
3373
- canScrollNext: A,
3381
+ canScrollNext: N,
3374
3382
  canScrollPrev: D,
3375
3383
  containerNode: i1,
3376
3384
  internalEngine: g1,
3377
- destroy: N,
3385
+ destroy: S,
3378
3386
  off: v,
3379
3387
  on: u,
3380
3388
  emit: h,
3381
3389
  plugins: B1,
3382
3390
  previousScrollSnap: h1,
3383
- reInit: m,
3391
+ reInit: w,
3384
3392
  rootNode: r1,
3385
- scrollNext: H,
3393
+ scrollNext: Z,
3386
3394
  scrollPrev: T,
3387
3395
  scrollProgress: U,
3388
3396
  scrollSnapList: O,
@@ -3392,25 +3400,25 @@ function v9(e, t, o) {
3392
3400
  slidesInView: l1,
3393
3401
  slidesNotInView: K
3394
3402
  };
3395
- return R(t, o), setTimeout(() => C.emit("init"), 0), s1;
3403
+ return M(t, o), setTimeout(() => C.emit("init"), 0), s1;
3396
3404
  }
3397
3405
  v9.globalOptions = void 0;
3398
3406
  function i9(e = {}, t = []) {
3399
- const o = F(e), l = F(t), [r, s] = q(), [i, c] = q(), C = G(() => {
3407
+ const o = F(e), l = F(t), [r, c] = q(), [i, s] = q(), C = G(() => {
3400
3408
  r && r.reInit(o.current, l.current);
3401
3409
  }, [r]);
3402
- return z(() => {
3410
+ return J(() => {
3403
3411
  O9(o.current, e) || (o.current = e, C());
3404
- }, [e, C]), z(() => {
3412
+ }, [e, C]), J(() => {
3405
3413
  j7(l.current, t) || (l.current = t, C());
3406
- }, [t, C]), z(() => {
3414
+ }, [t, C]), J(() => {
3407
3415
  if (P7() && i) {
3408
3416
  v9.globalOptions = i9.globalOptions;
3409
3417
  const a = v9(i, o.current, l.current);
3410
- return s(a), () => a.destroy();
3418
+ return c(a), () => a.destroy();
3411
3419
  } else
3412
- s(void 0);
3413
- }, [i, s]), [c, r];
3420
+ c(void 0);
3421
+ }, [i, c]), [s, r];
3414
3422
  }
3415
3423
  i9.globalOptions = void 0;
3416
3424
  const _8 = "_group_6ffes_1", b8 = "_leadingElementSlot_6ffes_7", x8 = "_divider_6ffes_14", M8 = "_large_6ffes_23", y8 = "_medium_6ffes_27", H8 = "_small_6ffes_31", Z8 = "_xsmall_6ffes_35", V8 = "_leadingSlot_6ffes_39", I8 = "_chipList_6ffes_45", B8 = "_selection_6ffes_53", R8 = "_emblaWrapper_6ffes_58", k8 = "_emblaViewport_6ffes_64", S8 = "_emblaContainer_6ffes_68", A8 = "_emblaSlide_6ffes_73", H1 = {
@@ -3435,18 +3443,18 @@ function Wr({
3435
3443
  leadingElementSlot: o,
3436
3444
  size: l = "medium",
3437
3445
  gradient: r = !1,
3438
- customStyle: s,
3446
+ customStyle: c,
3439
3447
  children: i
3440
3448
  }) {
3441
- const [c, C] = i9({
3449
+ const [s, C] = i9({
3442
3450
  dragFree: !0,
3443
3451
  containScroll: "keepSnaps"
3444
3452
  }), [a, f] = q(!1), [d, u] = q(r && e === "suggestion");
3445
- return z(() => {
3453
+ return J(() => {
3446
3454
  if (!C || !r || e !== "suggestion") return;
3447
3455
  const v = () => {
3448
- const h = C.canScrollNext() || C.canScrollPrev(), m = C.scrollProgress();
3449
- f(h && m > 0.01), u(h && m < 0.99);
3456
+ const h = C.canScrollNext() || C.canScrollPrev(), w = C.scrollProgress();
3457
+ f(h && w > 0.01), u(h && w < 0.99);
3450
3458
  };
3451
3459
  return C.on("scroll", v), C.on("reInit", v), v(), () => {
3452
3460
  C.off("scroll", v), C.off("reInit", v);
@@ -3456,7 +3464,7 @@ function Wr({
3456
3464
  {
3457
3465
  "data-idb-component": !0,
3458
3466
  className: [H1.group, H1[l], H1[e]].filter(Boolean).join(" "),
3459
- style: s,
3467
+ style: c,
3460
3468
  children: [
3461
3469
  o ? /* @__PURE__ */ p(S1, { children: [
3462
3470
  /* @__PURE__ */ n("span", { className: H1.leadingElementSlot, children: o }),
@@ -3469,7 +3477,7 @@ function Wr({
3469
3477
  className: H1.emblaWrapper,
3470
3478
  "data-gradient-left": r && a ? "" : void 0,
3471
3479
  "data-gradient-right": r && d ? "" : void 0,
3472
- children: /* @__PURE__ */ n("div", { ref: c, className: H1.emblaViewport, children: /* @__PURE__ */ n("div", { className: H1.emblaContainer, children: $1.map(i, (v) => /* @__PURE__ */ n("div", { className: H1.emblaSlide, children: v })) }) })
3480
+ children: /* @__PURE__ */ n("div", { ref: s, className: H1.emblaViewport, children: /* @__PURE__ */ n("div", { className: H1.emblaContainer, children: $1.map(i, (v) => /* @__PURE__ */ n("div", { className: H1.emblaSlide, children: v })) }) })
3473
3481
  }
3474
3482
  ) : /* @__PURE__ */ n("div", { className: H1.chipList, children: i })
3475
3483
  ]
@@ -3487,46 +3495,46 @@ function qr({
3487
3495
  selectedValue: o,
3488
3496
  dropdownType: l = "basic",
3489
3497
  dropdownAlign: r = "left",
3490
- dropdownWidth: s,
3498
+ dropdownWidth: c,
3491
3499
  showSelectedLabel: i = !1,
3492
- variant: c,
3500
+ variant: s,
3493
3501
  size: C,
3494
3502
  disabled: a,
3495
3503
  selected: f,
3496
3504
  children: d,
3497
3505
  ...u
3498
3506
  }) {
3499
- const v = i && o ? e.find((g) => g.value === o) : null, [h, m] = q(!1), _ = F(null);
3500
- return z(() => {
3507
+ const v = i && o ? e.find((g) => g.value === o) : null, [h, w] = q(!1), L = F(null);
3508
+ return J(() => {
3501
3509
  if (!h) return;
3502
- const g = (L) => {
3503
- _.current?.contains(L.target) || m(!1);
3504
- }, w = (L) => {
3505
- L.key === "Escape" && m(!1);
3510
+ const g = (_) => {
3511
+ L.current?.contains(_.target) || w(!1);
3512
+ }, m = (_) => {
3513
+ _.key === "Escape" && w(!1);
3506
3514
  };
3507
- return document.addEventListener("click", g), document.addEventListener("keydown", w), () => {
3508
- document.removeEventListener("click", g), document.removeEventListener("keydown", w);
3515
+ return document.addEventListener("click", g), document.addEventListener("keydown", m), () => {
3516
+ document.removeEventListener("click", g), document.removeEventListener("keydown", m);
3509
3517
  };
3510
- }, [h]), /* @__PURE__ */ n("div", { ref: _, style: { display: "inline-flex" }, children: /* @__PURE__ */ n(
3518
+ }, [h]), /* @__PURE__ */ n("div", { ref: L, style: { display: "inline-flex" }, children: /* @__PURE__ */ n(
3511
3519
  y7,
3512
3520
  {
3513
3521
  type: l,
3514
3522
  align: r,
3515
3523
  options: e,
3516
3524
  onSelect: (g) => {
3517
- t(o && g.value === o ? void 0 : g), m(!1);
3525
+ t(o && g.value === o ? void 0 : g), w(!1);
3518
3526
  },
3519
3527
  selectedValue: o,
3520
3528
  disabled: a,
3521
- width: s,
3529
+ width: c,
3522
3530
  children: /* @__PURE__ */ n(
3523
3531
  F7,
3524
3532
  {
3525
- variant: c,
3533
+ variant: s,
3526
3534
  size: C,
3527
3535
  selected: f ?? !!o,
3528
3536
  disabled: a,
3529
- onClick: () => !a && m((g) => !g),
3537
+ onClick: () => !a && w((g) => !g),
3530
3538
  trailingSlot: /* @__PURE__ */ n(
3531
3539
  "svg",
3532
3540
  {
@@ -3579,25 +3587,25 @@ function Gr({
3579
3587
  size: o = "medium",
3580
3588
  verticalPadding: l = !1,
3581
3589
  customStyle: r,
3582
- children: s
3590
+ children: c
3583
3591
  }) {
3584
- const [i, c] = i9({
3592
+ const [i, s] = i9({
3585
3593
  dragFree: !0,
3586
3594
  containScroll: "keepSnaps"
3587
3595
  }), [C, a] = q(!1), [f, d] = q(!l);
3588
- return z(() => {
3589
- if (!c || l) {
3596
+ return J(() => {
3597
+ if (!s || l) {
3590
3598
  a(!1), d(!l);
3591
3599
  return;
3592
3600
  }
3593
3601
  const u = () => {
3594
- const v = c.canScrollNext() || c.canScrollPrev(), h = c.scrollProgress();
3602
+ const v = s.canScrollNext() || s.canScrollPrev(), h = s.scrollProgress();
3595
3603
  a(v && h > 0.01), d(v && h < 0.99);
3596
3604
  };
3597
- return c.on("scroll", u), c.on("reInit", u), u(), () => {
3598
- c.off("scroll", u), c.off("reInit", u);
3605
+ return s.on("scroll", u), s.on("reInit", u), u(), () => {
3606
+ s.off("scroll", u), s.off("reInit", u);
3599
3607
  };
3600
- }, [c, l]), /* @__PURE__ */ p(
3608
+ }, [s, l]), /* @__PURE__ */ p(
3601
3609
  "div",
3602
3610
  {
3603
3611
  "data-idb-component": !0,
@@ -3618,7 +3626,7 @@ function Gr({
3618
3626
  className: I1.emblaWrapper,
3619
3627
  "data-gradient-left": !l && C ? "" : void 0,
3620
3628
  "data-gradient-right": !l && f ? "" : void 0,
3621
- children: /* @__PURE__ */ n("div", { ref: i, className: I1.emblaViewport, children: /* @__PURE__ */ n("div", { className: I1.emblaContainer, children: $1.map(s, (u) => /* @__PURE__ */ n("div", { className: I1.emblaSlide, children: u })) }) })
3629
+ children: /* @__PURE__ */ n("div", { ref: i, className: I1.emblaViewport, children: /* @__PURE__ */ n("div", { className: I1.emblaContainer, children: $1.map(c, (u) => /* @__PURE__ */ n("div", { className: I1.emblaSlide, children: u })) }) })
3622
3630
  }
3623
3631
  ),
3624
3632
  t ? /* @__PURE__ */ n("span", { className: I1.trailingElementSlot, children: t }) : null
@@ -3654,96 +3662,96 @@ function Ur({
3654
3662
  onChange: o,
3655
3663
  size: l = "medium",
3656
3664
  resize: r = "hug",
3657
- horizontalPadding: s = !1,
3665
+ horizontalPadding: c = !1,
3658
3666
  trailingIcon: i,
3659
- label: c,
3667
+ label: s,
3660
3668
  customStyle: C
3661
3669
  }) {
3662
3670
  const a = F(null), f = F(/* @__PURE__ */ new Map()), d = F(e);
3663
3671
  d.current = e;
3664
- const u = F(!1), v = F(null), h = F(null), m = F(t);
3665
- m.current = t;
3666
- const _ = F(r);
3667
- _.current = r;
3668
- const [g, w] = q({
3672
+ const u = F(!1), v = F(null), h = F(null), w = F(t);
3673
+ w.current = t;
3674
+ const L = F(r);
3675
+ L.current = r;
3676
+ const [g, m] = q({
3669
3677
  opacity: 0
3670
- }), [L, Z] = q(!1), [S, x] = i9({
3678
+ }), [_, H] = q(!1), [k, x] = i9({
3671
3679
  dragFree: !0,
3672
3680
  containScroll: "keepSnaps",
3673
3681
  align: "start",
3674
3682
  active: !1
3675
- }), V = e.findIndex((y) => y.value === t) !== -1 ? t : e.find((y) => !y.disabled)?.value ?? null, R = e.map((y) => `${y.value}:${y.numberBadge ?? ""}`).join(","), M = G(() => {
3676
- const y = f.current.get(t), H = a.current;
3677
- if (!y || !H) return;
3678
- const T = y.firstElementChild ?? y, D = (T.firstElementChild ?? T).getBoundingClientRect(), O = H.getBoundingClientRect();
3679
- w({
3683
+ }), A = e.findIndex((y) => y.value === t) !== -1 ? t : e.find((y) => !y.disabled)?.value ?? null, M = e.map((y) => `${y.value}:${y.numberBadge ?? ""}`).join(","), b = G(() => {
3684
+ const y = f.current.get(t), Z = a.current;
3685
+ if (!y || !Z) return;
3686
+ const T = y.firstElementChild ?? y, D = (T.firstElementChild ?? T).getBoundingClientRect(), O = Z.getBoundingClientRect();
3687
+ m({
3680
3688
  // position: labelText 기준(= labelWrapper 시작점), width: labelWrapper 기준 → numberBadge 포함
3681
3689
  width: T.offsetWidth,
3682
3690
  transform: `translateX(${D.left - O.left}px)`,
3683
3691
  opacity: 1
3684
3692
  });
3685
- }, [t]), k = G(() => {
3693
+ }, [t]), B = G(() => {
3686
3694
  if (!x) return;
3687
- const y = x.containerNode(), H = y?.parentElement;
3688
- if (!y || !H) return;
3695
+ const y = x.containerNode(), Z = y?.parentElement;
3696
+ if (!y || !Z) return;
3689
3697
  let T;
3690
- if (_.current === "fill") {
3691
- const A = parseFloat(getComputedStyle(y).columnGap) || 0;
3698
+ if (L.current === "fill") {
3699
+ const N = parseFloat(getComputedStyle(y).columnGap) || 0;
3692
3700
  T = d.current.reduce((O, U) => {
3693
3701
  const h1 = f.current.get(U.value)?.firstElementChild, l1 = h1?.firstElementChild;
3694
3702
  return O + (l1 ? l1.scrollWidth : h1 ? h1.scrollWidth : 0);
3695
- }, 0) + A * Math.max(0, d.current.length - 1) > H.clientWidth;
3703
+ }, 0) + N * Math.max(0, d.current.length - 1) > Z.clientWidth;
3696
3704
  } else
3697
- T = y.scrollWidth > H.clientWidth;
3698
- T !== v.current && (v.current = T, Z(T), x.reInit({
3705
+ T = y.scrollWidth > Z.clientWidth;
3706
+ T !== v.current && (v.current = T, H(T), x.reInit({
3699
3707
  active: T,
3700
3708
  dragFree: !0,
3701
3709
  containScroll: "keepSnaps",
3702
3710
  align: "start"
3703
3711
  }), T && (h.current !== null && cancelAnimationFrame(h.current), h.current = requestAnimationFrame(() => {
3704
3712
  h.current = null;
3705
- const A = d.current.findIndex(
3706
- (D) => D.value === m.current
3713
+ const N = d.current.findIndex(
3714
+ (D) => D.value === w.current
3707
3715
  );
3708
- A !== -1 && x.scrollTo(A, !0);
3716
+ N !== -1 && x.scrollTo(N, !0);
3709
3717
  })));
3710
3718
  }, [x]);
3711
3719
  o9(() => {
3712
- M();
3720
+ b();
3713
3721
  const y = a.current;
3714
3722
  if (!y) return;
3715
- const H = new ResizeObserver(M);
3716
- return H.observe(y), () => H.disconnect();
3717
- }, [l, r, R, M]), z(() => {
3723
+ const Z = new ResizeObserver(b);
3724
+ return Z.observe(y), () => Z.disconnect();
3725
+ }, [l, r, M, b]), J(() => {
3718
3726
  if (!x) return;
3719
- k();
3720
- const y = new ResizeObserver(k);
3727
+ B();
3728
+ const y = new ResizeObserver(B);
3721
3729
  return a.current && y.observe(a.current), () => {
3722
3730
  h.current !== null && cancelAnimationFrame(h.current), v.current = null, y.disconnect();
3723
3731
  };
3724
- }, [x, k, R]), z(() => {
3732
+ }, [x, B, M]), J(() => {
3725
3733
  if (!x) return;
3726
- const y = () => requestAnimationFrame(M), H = () => requestAnimationFrame(M);
3727
- return x.on("scroll", y), x.on("reInit", H), () => {
3728
- x.off("scroll", y), x.off("reInit", H);
3734
+ const y = () => requestAnimationFrame(b), Z = () => requestAnimationFrame(b);
3735
+ return x.on("scroll", y), x.on("reInit", Z), () => {
3736
+ x.off("scroll", y), x.off("reInit", Z);
3729
3737
  };
3730
- }, [x, M]), z(() => {
3738
+ }, [x, b]), J(() => {
3731
3739
  if (!x || !v.current) return;
3732
- const y = d.current.findIndex((H) => H.value === t);
3740
+ const y = d.current.findIndex((Z) => Z.value === t);
3733
3741
  y !== -1 && x.scrollTo(y);
3734
- }, [x, t]), z(() => {
3742
+ }, [x, t]), J(() => {
3735
3743
  u.current && (f.current.get(t)?.focus(), u.current = !1);
3736
3744
  }, [t]);
3737
- const N = G(
3745
+ const S = G(
3738
3746
  (y) => {
3739
3747
  if (!["ArrowLeft", "ArrowRight", "Home", "End"].includes(y.key)) return;
3740
3748
  y.preventDefault();
3741
- const H = d.current.filter((O) => !O.disabled), T = H.findIndex(
3749
+ const Z = d.current.filter((O) => !O.disabled), T = Z.findIndex(
3742
3750
  (O) => O.value === t
3743
3751
  );
3744
- let A;
3745
- T === -1 ? A = y.key === "ArrowLeft" || y.key === "End" ? H.length - 1 : 0 : y.key === "ArrowRight" ? A = (T + 1) % H.length : y.key === "ArrowLeft" ? A = (T - 1 + H.length) % H.length : y.key === "Home" ? A = 0 : A = H.length - 1;
3746
- const D = H[A];
3752
+ let N;
3753
+ T === -1 ? N = y.key === "ArrowLeft" || y.key === "End" ? Z.length - 1 : 0 : y.key === "ArrowRight" ? N = (T + 1) % Z.length : y.key === "ArrowLeft" ? N = (T - 1 + Z.length) % Z.length : y.key === "Home" ? N = 0 : N = Z.length - 1;
3754
+ const D = Z[N];
3747
3755
  D && D.value !== t && (u.current = !0, o?.(D.value));
3748
3756
  },
3749
3757
  [t, o]
@@ -3754,18 +3762,18 @@ function Ur({
3754
3762
  ref: a,
3755
3763
  "data-idb-component": !0,
3756
3764
  role: "tablist",
3757
- "aria-label": c,
3765
+ "aria-label": s,
3758
3766
  className: e1(
3759
3767
  o1.tab,
3760
3768
  o1[l],
3761
3769
  r === "fill" && o1.fill,
3762
- L && o1.overflowing,
3763
- s && o1.horizontalPadding
3770
+ _ && o1.overflowing,
3771
+ c && o1.horizontalPadding
3764
3772
  ),
3765
3773
  style: C,
3766
3774
  children: [
3767
- /* @__PURE__ */ n("div", { className: o1.emblaWrapper, children: /* @__PURE__ */ n("div", { ref: S, className: o1.emblaViewport, children: /* @__PURE__ */ n("div", { className: o1.emblaContainer, children: e.map((y) => {
3768
- const H = y.value === t, T = y.numberBadge !== void 0 && y.numberBadge > 0, A = y.badge && !T;
3775
+ /* @__PURE__ */ n("div", { className: o1.emblaWrapper, children: /* @__PURE__ */ n("div", { ref: k, className: o1.emblaViewport, children: /* @__PURE__ */ n("div", { className: o1.emblaContainer, children: e.map((y) => {
3776
+ const Z = y.value === t, T = y.numberBadge !== void 0 && y.numberBadge > 0, N = y.badge && !T;
3769
3777
  return /* @__PURE__ */ n(
3770
3778
  "button",
3771
3779
  {
@@ -3776,19 +3784,19 @@ function Ur({
3776
3784
  },
3777
3785
  className: e1(
3778
3786
  o1.tabItem,
3779
- H && o1.selected,
3787
+ Z && o1.selected,
3780
3788
  y.disabled && o1.disabled
3781
3789
  ),
3782
3790
  disabled: y.disabled,
3783
- "aria-selected": H,
3784
- tabIndex: y.value === V ? 0 : -1,
3791
+ "aria-selected": Z,
3792
+ tabIndex: y.value === A ? 0 : -1,
3785
3793
  onClick: () => {
3786
3794
  y.value !== t && o?.(y.value);
3787
3795
  },
3788
- onKeyDown: N,
3796
+ onKeyDown: S,
3789
3797
  children: /* @__PURE__ */ p("span", { className: o1.labelWrapper, children: [
3790
3798
  /* @__PURE__ */ n("span", { className: o1.labelText, children: y.label }),
3791
- A && /* @__PURE__ */ n("span", { className: o1.dotBadge, "aria-hidden": !0 }),
3799
+ N && /* @__PURE__ */ n("span", { className: o1.dotBadge, "aria-hidden": !0 }),
3792
3800
  T && /* @__PURE__ */ n(
3793
3801
  "span",
3794
3802
  {
@@ -3811,7 +3819,7 @@ function Ur({
3811
3819
  }
3812
3820
  );
3813
3821
  }
3814
- const me = "_segmentedControl_ge6zp_2", we = "_basic_ge6zp_9", ve = "_fill_ge6zp_15", Le = "_outlined_ge6zp_19", _e = "_icon_ge6zp_25", be = "_segment_ge6zp_2", xe = "_iconSlot_ge6zp_101", Me = "_label_ge6zp_107", ye = "_indicator_ge6zp_114", He = "_indicatorBg_ge6zp_139", Ze = "_indicatorFill_ge6zp_153", Ve = "_indicatorOutlined_ge6zp_158", Ie = "_small_ge6zp_164", Be = "_medium_ge6zp_177", Re = "_large_ge6zp_190", ke = "_selected_ge6zp_204", Se = "_disabled_ge6zp_225", Ae = "_withIcon_ge6zp_281", p1 = {
3822
+ const me = "_segmentedControl_nwt3m_2", we = "_basic_nwt3m_9", ve = "_fill_nwt3m_15", Le = "_outlined_nwt3m_19", _e = "_icon_nwt3m_25", be = "_segment_nwt3m_2", xe = "_iconSlot_nwt3m_101", Me = "_label_nwt3m_107", ye = "_indicator_nwt3m_114", He = "_indicatorBg_nwt3m_139", Ze = "_indicatorFill_nwt3m_153", Ve = "_indicatorOutlined_nwt3m_158", Ie = "_small_nwt3m_164", Be = "_medium_nwt3m_177", Re = "_large_nwt3m_190", ke = "_selected_nwt3m_204", Se = "_disabled_nwt3m_225", Ae = "_withIcon_nwt3m_281", p1 = {
3815
3823
  segmentedControl: me,
3816
3824
  basic: we,
3817
3825
  fill: ve,
@@ -3835,43 +3843,44 @@ function Qr({
3835
3843
  variant: e = "basic",
3836
3844
  type: t = "fill",
3837
3845
  size: o = "medium",
3838
- icon: l = !1,
3839
- label: r,
3840
- items: s,
3841
- value: i,
3842
- onChange: c,
3843
- customStyle: C
3846
+ layout: l,
3847
+ icon: r = !1,
3848
+ label: c,
3849
+ items: i,
3850
+ value: s,
3851
+ onChange: C,
3852
+ customStyle: a
3844
3853
  }) {
3845
- const a = l || e === "icon", f = F(null), d = F(/* @__PURE__ */ new Map()), u = F(s);
3846
- u.current = s;
3847
- const v = F(!1), [h, m] = q({
3854
+ const f = l ?? (e === "icon" ? "hug" : "fill"), d = r || e === "icon", u = F(null), v = F(/* @__PURE__ */ new Map()), h = F(i);
3855
+ h.current = i;
3856
+ const w = F(!1), [L, g] = q({
3848
3857
  opacity: 0
3849
3858
  });
3850
- process.env.NODE_ENV !== "production" && e === "icon" && s.forEach((b) => {
3851
- b.ariaLabel || console.warn(
3852
- `[SegmentedControl] item "${b.value}" is missing ariaLabel for variant="icon".`
3859
+ process.env.NODE_ENV !== "production" && e === "icon" && i.forEach((M) => {
3860
+ M.ariaLabel || console.warn(
3861
+ `[SegmentedControl] item "${M.value}" is missing ariaLabel for variant="icon".`
3853
3862
  );
3854
3863
  });
3855
- const _ = s.findIndex((b) => b.value === i), g = _ !== -1, w = g && _ === 0, L = g && _ === s.length - 1, Z = t === "outlined" ? w && L ? "single" : w ? "first" : L ? "last" : "middle" : void 0, S = g ? i : s.find((b) => !b.disabled)?.value ?? null, x = s.map((b) => b.value).join(",");
3864
+ const m = i.findIndex((M) => M.value === s), _ = m !== -1, H = _ && m === 0, k = _ && m === i.length - 1, x = t === "outlined" ? H && k ? "single" : H ? "first" : k ? "last" : "middle" : void 0, V = _ ? s : i.find((M) => !M.disabled)?.value ?? null, I = i.map((M) => M.value).join(",");
3856
3865
  o9(() => {
3857
- const b = () => {
3858
- const M = d.current.get(i);
3859
- M && m({
3860
- width: M.offsetWidth,
3861
- transform: `translateX(${M.offsetLeft}px)`,
3866
+ const M = () => {
3867
+ const S = v.current.get(s);
3868
+ S && g({
3869
+ width: S.offsetWidth,
3870
+ transform: `translateX(${S.offsetLeft}px)`,
3862
3871
  opacity: 1
3863
3872
  });
3864
3873
  };
3865
- b();
3866
- const V = f.current;
3867
- if (!V) return;
3868
- const R = new ResizeObserver(b);
3869
- return R.observe(V), () => R.disconnect();
3870
- }, [i, e, t, o, x]), z(() => {
3871
- v.current && (d.current.get(i)?.focus(), v.current = !1);
3872
- }, [i]);
3873
- const I = G(
3874
- (b) => {
3874
+ M();
3875
+ const b = u.current;
3876
+ if (!b) return;
3877
+ const B = new ResizeObserver(M);
3878
+ return B.observe(b), () => B.disconnect();
3879
+ }, [s, e, t, o, I]), J(() => {
3880
+ w.current && (v.current.get(s)?.focus(), w.current = !1);
3881
+ }, [s]);
3882
+ const A = G(
3883
+ (M) => {
3875
3884
  if (![
3876
3885
  "ArrowLeft",
3877
3886
  "ArrowRight",
@@ -3879,84 +3888,85 @@ function Qr({
3879
3888
  "ArrowDown",
3880
3889
  "Home",
3881
3890
  "End"
3882
- ].includes(b.key))
3891
+ ].includes(M.key))
3883
3892
  return;
3884
- b.preventDefault();
3885
- const V = u.current.filter((N) => !N.disabled), R = V.findIndex(
3886
- (N) => N.value === i
3893
+ M.preventDefault();
3894
+ const b = h.current.filter((Z) => !Z.disabled), B = b.findIndex(
3895
+ (Z) => Z.value === s
3887
3896
  );
3888
- let M;
3889
- R === -1 ? M = b.key === "ArrowLeft" || b.key === "ArrowUp" || b.key === "End" ? V.length - 1 : 0 : b.key === "ArrowRight" || b.key === "ArrowDown" ? M = (R + 1) % V.length : b.key === "ArrowLeft" || b.key === "ArrowUp" ? M = (R - 1 + V.length) % V.length : b.key === "Home" ? M = 0 : M = V.length - 1;
3890
- const k = V[M];
3891
- k && k.value !== i && (v.current = !0, c?.(k.value));
3897
+ let S;
3898
+ B === -1 ? S = M.key === "ArrowLeft" || M.key === "ArrowUp" || M.key === "End" ? b.length - 1 : 0 : M.key === "ArrowRight" || M.key === "ArrowDown" ? S = (B + 1) % b.length : M.key === "ArrowLeft" || M.key === "ArrowUp" ? S = (B - 1 + b.length) % b.length : M.key === "Home" ? S = 0 : S = b.length - 1;
3899
+ const y = b[S];
3900
+ y && y.value !== s && (w.current = !0, C?.(y.value));
3892
3901
  },
3893
- [i, c]
3902
+ [s, C]
3894
3903
  );
3895
3904
  return /* @__PURE__ */ p(
3896
3905
  "div",
3897
3906
  {
3898
- ref: f,
3907
+ ref: u,
3899
3908
  "data-idb-component": !0,
3909
+ "data-layout": f,
3900
3910
  role: "tablist",
3901
- "aria-label": r,
3911
+ "aria-label": c,
3902
3912
  className: e1(
3903
3913
  p1.segmentedControl,
3904
3914
  p1[e],
3905
3915
  p1[t],
3906
3916
  p1[o],
3907
- e === "basic" && l && p1.withIcon
3917
+ e === "basic" && r && p1.withIcon
3908
3918
  ),
3909
- style: C,
3919
+ style: a,
3910
3920
  children: [
3911
3921
  t === "outlined" && /* @__PURE__ */ n(
3912
3922
  "span",
3913
3923
  {
3914
3924
  "aria-hidden": !0,
3915
3925
  className: p1.indicatorBg,
3916
- style: h
3926
+ style: L
3917
3927
  }
3918
3928
  ),
3919
3929
  /* @__PURE__ */ n(
3920
3930
  "span",
3921
3931
  {
3922
3932
  "aria-hidden": !0,
3923
- "data-position": Z,
3933
+ "data-position": x,
3924
3934
  className: e1(
3925
3935
  p1.indicator,
3926
3936
  t === "fill" ? p1.indicatorFill : p1.indicatorOutlined
3927
3937
  ),
3928
- style: h
3938
+ style: L
3929
3939
  }
3930
3940
  ),
3931
- s.map((b) => {
3932
- const V = b.value === i;
3941
+ i.map((M) => {
3942
+ const b = M.value === s;
3933
3943
  return /* @__PURE__ */ p(
3934
3944
  "button",
3935
3945
  {
3936
3946
  type: "button",
3937
3947
  role: "tab",
3938
- ref: (R) => {
3939
- R ? d.current.set(b.value, R) : d.current.delete(b.value);
3948
+ ref: (B) => {
3949
+ B ? v.current.set(M.value, B) : v.current.delete(M.value);
3940
3950
  },
3941
3951
  className: e1(
3942
3952
  p1.segment,
3943
- V && p1.selected,
3944
- b.disabled && p1.disabled
3953
+ b && p1.selected,
3954
+ M.disabled && p1.disabled
3945
3955
  ),
3946
- disabled: b.disabled,
3947
- "aria-selected": V,
3948
- "aria-label": e === "icon" ? b.ariaLabel : void 0,
3949
- tabIndex: b.value === S ? 0 : -1,
3956
+ disabled: M.disabled,
3957
+ "aria-selected": b,
3958
+ "aria-label": e === "icon" ? M.ariaLabel : void 0,
3959
+ tabIndex: M.value === V ? 0 : -1,
3950
3960
  onClick: () => {
3951
- b.value !== i && c?.(b.value);
3961
+ M.value !== s && C?.(M.value);
3952
3962
  },
3953
- onKeyDown: I,
3963
+ onKeyDown: A,
3954
3964
  children: [
3955
- a && b.icon ? /* @__PURE__ */ n("span", { className: p1.iconSlot, children: b.icon }) : null,
3956
- e === "basic" && b.label ? /* @__PURE__ */ n("span", { className: p1.label, children: b.label }) : null
3965
+ d && M.icon ? /* @__PURE__ */ n("span", { className: p1.iconSlot, children: M.icon }) : null,
3966
+ e === "basic" && M.label ? /* @__PURE__ */ n("span", { className: p1.label, children: M.label }) : null
3957
3967
  ]
3958
3968
  },
3959
- b.value
3969
+ M.value
3960
3970
  );
3961
3971
  })
3962
3972
  ]
@@ -4018,9 +4028,9 @@ function Xr({
4018
4028
  selectable: o = !1,
4019
4029
  interactive: l = !1,
4020
4030
  loading: r = !1,
4021
- skeletonRowCount: s = 5,
4031
+ skeletonRowCount: c = 5,
4022
4032
  emptyContent: i,
4023
- emptyTitle: c,
4033
+ emptyTitle: s,
4024
4034
  emptyDescription: C,
4025
4035
  customStyle: a,
4026
4036
  className: f,
@@ -4028,41 +4038,41 @@ function Xr({
4028
4038
  accordion: u = !1,
4029
4039
  canExpand: v,
4030
4040
  renderAccordionContent: h,
4031
- maxRows: m
4041
+ maxRows: w
4032
4042
  }) {
4033
- const [_, g] = q(/* @__PURE__ */ new Set()), [w, L] = q(/* @__PURE__ */ new Set()), Z = e.getRowModel().rows.map((M) => M.id).join(",");
4034
- z(() => {
4043
+ const [L, g] = q(/* @__PURE__ */ new Set()), [m, _] = q(/* @__PURE__ */ new Set()), H = e.getRowModel().rows.map((b) => b.id).join(",");
4044
+ J(() => {
4035
4045
  if (!u) return;
4036
- const M = new Set(Z.split(",").filter(Boolean));
4037
- g((k) => {
4038
- const N = new Set([...k].filter((y) => M.has(y)));
4039
- return N.size === k.size ? k : N;
4040
- }), L((k) => {
4041
- const N = new Set([...k].filter((y) => M.has(y)));
4042
- return N.size === k.size ? k : N;
4046
+ const b = new Set(H.split(",").filter(Boolean));
4047
+ g((B) => {
4048
+ const S = new Set([...B].filter((y) => b.has(y)));
4049
+ return S.size === B.size ? B : S;
4050
+ }), _((B) => {
4051
+ const S = new Set([...B].filter((y) => b.has(y)));
4052
+ return S.size === B.size ? B : S;
4043
4053
  });
4044
- }, [u, Z]);
4045
- const S = (M) => {
4046
- L((k) => new Set(k).add(M)), g((k) => {
4047
- const N = new Set(k);
4048
- return N.has(M) ? N.delete(M) : N.add(M), N;
4054
+ }, [u, H]);
4055
+ const k = (b) => {
4056
+ _((B) => new Set(B).add(b)), g((B) => {
4057
+ const S = new Set(B);
4058
+ return S.has(b) ? S.delete(b) : S.add(b), S;
4049
4059
  });
4050
- }, x = e.getVisibleLeafColumns(), I = x.length + (o ? 1 : 0) + (u ? 1 : 0), b = () => {
4060
+ }, x = e.getVisibleLeafColumns(), V = x.length + (o ? 1 : 0) + (u ? 1 : 0), I = () => {
4051
4061
  if (i != null) return i;
4052
- if (c != null || C != null)
4062
+ if (s != null || C != null)
4053
4063
  return /* @__PURE__ */ p("div", { className: E.emptyState, children: [
4054
- c && /* @__PURE__ */ n("span", { className: E.emptyTitle, children: c }),
4064
+ s && /* @__PURE__ */ n("span", { className: E.emptyTitle, children: s }),
4055
4065
  C && /* @__PURE__ */ n("span", { className: E.emptyDescription, children: C })
4056
4066
  ] });
4057
- }, V = [E.tableWrapper, E[t], f ?? ""].filter(Boolean).join(" "), R = {
4067
+ }, A = [E.tableWrapper, E[t], f ?? ""].filter(Boolean).join(" "), M = {
4058
4068
  ...a,
4059
- ...m != null && {
4060
- maxHeight: pt + m * ft,
4069
+ ...w != null && {
4070
+ maxHeight: pt + w * ft,
4061
4071
  overflowY: "auto"
4062
4072
  }
4063
4073
  };
4064
- return /* @__PURE__ */ n("div", { "data-idb-component": !0, className: V, style: R, children: /* @__PURE__ */ p("table", { className: E.table, children: [
4065
- /* @__PURE__ */ n("thead", { className: E.thead, children: e.getHeaderGroups().map((M) => /* @__PURE__ */ p("tr", { className: E.tr, children: [
4074
+ return /* @__PURE__ */ n("div", { "data-idb-component": !0, className: A, style: M, children: /* @__PURE__ */ p("table", { className: E.table, children: [
4075
+ /* @__PURE__ */ n("thead", { className: E.thead, children: e.getHeaderGroups().map((b) => /* @__PURE__ */ p("tr", { className: E.tr, children: [
4066
4076
  u && /* @__PURE__ */ n("th", { className: `${E.th} ${E.accordionCell}` }),
4067
4077
  o && /* @__PURE__ */ n("th", { className: `${E.th} ${E.checkboxCell}`, children: /* @__PURE__ */ n(
4068
4078
  n2,
@@ -4074,34 +4084,34 @@ function Xr({
4074
4084
  onChange: () => e.toggleAllRowsSelected(!e.getIsAllRowsSelected())
4075
4085
  }
4076
4086
  ) }),
4077
- M.headers.map((k) => /* @__PURE__ */ n(
4087
+ b.headers.map((B) => /* @__PURE__ */ n(
4078
4088
  "th",
4079
4089
  {
4080
4090
  className: [
4081
4091
  E.th,
4082
- k.column.getCanSort() ? E.sortable : ""
4092
+ B.column.getCanSort() ? E.sortable : ""
4083
4093
  ].filter(Boolean).join(" "),
4084
- onClick: k.column.getToggleSortingHandler(),
4085
- style: { width: k.getSize() },
4086
- children: k.isPlaceholder ? null : u2(
4087
- k.column.columnDef.header,
4088
- k.getContext()
4094
+ onClick: B.column.getToggleSortingHandler(),
4095
+ style: { width: B.getSize() },
4096
+ children: B.isPlaceholder ? null : u2(
4097
+ B.column.columnDef.header,
4098
+ B.getContext()
4089
4099
  )
4090
4100
  },
4091
- k.id
4101
+ B.id
4092
4102
  ))
4093
- ] }, M.id)) }),
4094
- /* @__PURE__ */ n("tbody", { className: E.tbody, children: r ? Array.from({ length: s }, (M, k) => /* @__PURE__ */ p("tr", { className: E.tr, children: [
4103
+ ] }, b.id)) }),
4104
+ /* @__PURE__ */ n("tbody", { className: E.tbody, children: r ? Array.from({ length: c }, (b, B) => /* @__PURE__ */ p("tr", { className: E.tr, children: [
4095
4105
  u && /* @__PURE__ */ n("td", { className: `${E.td} ${E.accordionCell}` }),
4096
4106
  o && /* @__PURE__ */ n("td", { className: `${E.td} ${E.checkboxCell}`, children: /* @__PURE__ */ n("span", { className: E.skeletonCheckbox }) }),
4097
- x.map((N) => /* @__PURE__ */ n("td", { className: E.td, children: /* @__PURE__ */ n("span", { className: E.skeleton }) }, N.id))
4098
- ] }, `skeleton-${k}`)) : e.getRowModel().rows.length === 0 ? /* @__PURE__ */ n("tr", { children: /* @__PURE__ */ n("td", { colSpan: I, className: E.stateCell, children: b() }) }) : e.getRowModel().rows.map((M) => {
4099
- const k = M.getIsSelected(), N = M.getCanSelect(), y = !!d || o && N, H = _.has(M.id), T = w.has(M.id), A = u && (v ? v(M) : !!h), D = A && T && h ? h(M) : null, O = [
4107
+ x.map((S) => /* @__PURE__ */ n("td", { className: E.td, children: /* @__PURE__ */ n("span", { className: E.skeleton }) }, S.id))
4108
+ ] }, `skeleton-${B}`)) : e.getRowModel().rows.length === 0 ? /* @__PURE__ */ n("tr", { children: /* @__PURE__ */ n("td", { colSpan: V, className: E.stateCell, children: I() }) }) : e.getRowModel().rows.map((b) => {
4109
+ const B = b.getIsSelected(), S = b.getCanSelect(), y = !!d || o && S, Z = L.has(b.id), T = m.has(b.id), N = u && (v ? v(b) : !!h), D = N && T && h ? h(b) : null, O = [
4100
4110
  E.tr,
4101
4111
  l || d ? E.interactiveRow : "",
4102
- o && N && !l && !d ? E.clickableRow : "",
4103
- k ? E.selectedRow : "",
4104
- A && H ? E.expandedRow : ""
4112
+ o && S && !l && !d ? E.clickableRow : "",
4113
+ B ? E.selectedRow : "",
4114
+ N && Z ? E.expandedRow : ""
4105
4115
  ].filter(Boolean).join(" ");
4106
4116
  return /* @__PURE__ */ p(O2, { children: [
4107
4117
  /* @__PURE__ */ p(
@@ -4109,20 +4119,20 @@ function Xr({
4109
4119
  {
4110
4120
  className: O,
4111
4121
  tabIndex: l || d ? 0 : void 0,
4112
- onClick: y ? () => d ? d(M) : M.toggleSelected() : void 0,
4122
+ onClick: y ? () => d ? d(b) : b.toggleSelected() : void 0,
4113
4123
  children: [
4114
- u && /* @__PURE__ */ n("td", { className: `${E.td} ${E.accordionCell}`, children: A && /* @__PURE__ */ n(
4124
+ u && /* @__PURE__ */ n("td", { className: `${E.td} ${E.accordionCell}`, children: N && /* @__PURE__ */ n(
4115
4125
  "button",
4116
4126
  {
4117
4127
  type: "button",
4118
- "aria-expanded": H,
4119
- "aria-controls": `accordion-content-${M.id}`,
4128
+ "aria-expanded": Z,
4129
+ "aria-controls": `accordion-content-${b.id}`,
4120
4130
  className: [
4121
4131
  E.accordionToggle,
4122
- H ? E.accordionToggleExpanded : ""
4132
+ Z ? E.accordionToggleExpanded : ""
4123
4133
  ].filter(Boolean).join(" "),
4124
4134
  onClick: (U) => {
4125
- U.stopPropagation(), S(M.id);
4135
+ U.stopPropagation(), k(b.id);
4126
4136
  },
4127
4137
  dangerouslySetInnerHTML: { __html: ht }
4128
4138
  }
@@ -4132,44 +4142,44 @@ function Xr({
4132
4142
  {
4133
4143
  className: `${E.td} ${E.checkboxCell}`,
4134
4144
  onClick: (U) => {
4135
- U.stopPropagation(), !U.target.closest("label") && N && M.toggleSelected();
4145
+ U.stopPropagation(), !U.target.closest("label") && S && b.toggleSelected();
4136
4146
  },
4137
4147
  children: /* @__PURE__ */ n(
4138
4148
  n2,
4139
4149
  {
4140
4150
  size: "small",
4141
- checked: k,
4142
- disabled: !N,
4143
- onChange: (U) => M.toggleSelected(U)
4151
+ checked: B,
4152
+ disabled: !S,
4153
+ onChange: (U) => b.toggleSelected(U)
4144
4154
  }
4145
4155
  )
4146
4156
  }
4147
4157
  ),
4148
- M.getVisibleCells().map((U) => /* @__PURE__ */ n("td", { className: E.td, children: u2(
4158
+ b.getVisibleCells().map((U) => /* @__PURE__ */ n("td", { className: E.td, children: u2(
4149
4159
  U.column.columnDef.cell,
4150
4160
  U.getContext()
4151
4161
  ) }, U.id))
4152
4162
  ]
4153
4163
  }
4154
4164
  ),
4155
- A && /* @__PURE__ */ n("tr", { className: E.accordionRow, children: /* @__PURE__ */ n("td", { colSpan: I, className: E.accordionContent, children: /* @__PURE__ */ n(
4165
+ N && /* @__PURE__ */ n("tr", { className: E.accordionRow, children: /* @__PURE__ */ n("td", { colSpan: V, className: E.accordionContent, children: /* @__PURE__ */ n(
4156
4166
  "div",
4157
4167
  {
4158
4168
  className: [
4159
4169
  E.accordionGrid,
4160
- H ? E.accordionGridExpanded : ""
4170
+ Z ? E.accordionGridExpanded : ""
4161
4171
  ].filter(Boolean).join(" "),
4162
4172
  children: /* @__PURE__ */ n("div", { className: E.accordionInner, children: /* @__PURE__ */ n("div", { className: E.accordionBody, children: /* @__PURE__ */ n(
4163
4173
  "div",
4164
4174
  {
4165
- id: `accordion-content-${M.id}`,
4175
+ id: `accordion-content-${b.id}`,
4166
4176
  className: E.accordionBodyContent,
4167
4177
  children: D
4168
4178
  }
4169
4179
  ) }) })
4170
4180
  }
4171
4181
  ) }) })
4172
- ] }, M.id);
4182
+ ] }, b.id);
4173
4183
  }) })
4174
4184
  ] }) });
4175
4185
  }
@@ -4201,7 +4211,7 @@ const wt = `<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="h
4201
4211
  <path d="M13.7496 12C13.7496 12.9665 12.9661 13.75 11.9996 13.75C11.0331 13.75 10.2496 12.9665 10.2496 12C10.2496 11.0335 11.0331 10.25 11.9996 10.25C12.9661 10.25 13.7496 11.0335 13.7496 12Z" fill="currentColor"/>
4202
4212
  <path d="M20.4996 12C20.4996 12.9665 19.7161 13.75 18.7496 13.75C17.7831 13.75 16.9996 12.9665 16.9996 12C16.9996 11.0335 17.7831 10.25 18.7496 10.25C19.7161 10.25 20.4996 11.0335 20.4996 12Z" fill="currentColor"/>
4203
4213
  </svg>
4204
- `, _t = "_pagination_10akw_1", bt = "_withTrailingContent_10akw_11", xt = "_buttonContainer_10akw_18", Mt = "_trailingContent_10akw_22", yt = "_minimizeButtonContainer_10akw_37", Ht = "_pageList_10akw_42", Zt = "_pageButtonItem_10akw_48", Vt = "_arrowButtonContent_10akw_55", It = "_arrowButtonLabel_10akw_61", Bt = "_previousButtonLabel_10akw_65", Rt = "_nextButtonLabel_10akw_69", kt = "_ellipsis_10akw_74", St = "_minimizeText_10akw_83", At = "_skeletonPage_10akw_95", Nt = "_skeletonMinimize_10akw_111", Et = "_trailingLabel_10akw_134", Tt = "_trailingInput_10akw_139", J = {
4214
+ `, _t = "_pagination_10akw_1", bt = "_withTrailingContent_10akw_11", xt = "_buttonContainer_10akw_18", Mt = "_trailingContent_10akw_22", yt = "_minimizeButtonContainer_10akw_37", Ht = "_pageList_10akw_42", Zt = "_pageButtonItem_10akw_48", Vt = "_arrowButtonContent_10akw_55", It = "_arrowButtonLabel_10akw_61", Bt = "_previousButtonLabel_10akw_65", Rt = "_nextButtonLabel_10akw_69", kt = "_ellipsis_10akw_74", St = "_minimizeText_10akw_83", At = "_skeletonPage_10akw_95", Nt = "_skeletonMinimize_10akw_111", Et = "_trailingLabel_10akw_134", Tt = "_trailingInput_10akw_139", z = {
4205
4215
  pagination: _t,
4206
4216
  withTrailingContent: bt,
4207
4217
  buttonContainer: xt,
@@ -4243,8 +4253,8 @@ function Pt(e, t, o) {
4243
4253
  page: i
4244
4254
  }));
4245
4255
  const l = Math.floor(o / 2);
4246
- let r = t - l, s = r + o - 1;
4247
- return r < 0 && (r = 0, s = o - 1), s >= e && (s = e - 1, r = s - o + 1), P1(r, s).map((i) => ({ type: "page", page: i }));
4256
+ let r = t - l, c = r + o - 1;
4257
+ return r < 0 && (r = 0, c = o - 1), c >= e && (c = e - 1, r = c - o + 1), P1(r, c).map((i) => ({ type: "page", page: i }));
4248
4258
  }
4249
4259
  function jt(e, t, o, l) {
4250
4260
  if (e <= 0) return [];
@@ -4253,21 +4263,21 @@ function jt(e, t, o, l) {
4253
4263
  type: "page",
4254
4264
  page: f
4255
4265
  }));
4256
- const r = $t[o] ?? 2, s = Dt[o] ?? 7, i = e - 1, c = t - r, C = t + r;
4257
- if (c <= 1) {
4258
- const f = Math.max(C, s - 1), d = P1(0, Math.min(f, i - 1)).map(
4266
+ const r = $t[o] ?? 2, c = Dt[o] ?? 7, i = e - 1, s = t - r, C = t + r;
4267
+ if (s <= 1) {
4268
+ const f = Math.max(C, c - 1), d = P1(0, Math.min(f, i - 1)).map(
4259
4269
  (u) => ({ type: "page", page: u })
4260
4270
  );
4261
4271
  return f < i - 1 && d.push({ type: "ellipsis", key: "trailing" }), d.push({ type: "page", page: i }), d;
4262
4272
  }
4263
4273
  if (C >= i - 1) {
4264
- const f = Math.min(c, i - s + 1), d = [{ type: "page", page: 0 }];
4274
+ const f = Math.min(s, i - c + 1), d = [{ type: "page", page: 0 }];
4265
4275
  return f > 1 && d.push({ type: "ellipsis", key: "leading" }), P1(Math.max(f, 1), i).forEach((u) => {
4266
4276
  d.push({ type: "page", page: u });
4267
4277
  }), d;
4268
4278
  }
4269
4279
  const a = [{ type: "page", page: 0 }];
4270
- return a.push({ type: "ellipsis", key: "leading" }), P1(c, C).forEach(
4280
+ return a.push({ type: "ellipsis", key: "leading" }), P1(s, C).forEach(
4271
4281
  (f) => a.push({ type: "page", page: f })
4272
4282
  ), a.push({ type: "ellipsis", key: "trailing" }), a.push({ type: "page", page: i }), a;
4273
4283
  }
@@ -4309,9 +4319,9 @@ function Yr({
4309
4319
  onPageChange: o,
4310
4320
  canPreviousPage: l,
4311
4321
  canNextPage: r,
4312
- onPreviousPage: s,
4322
+ onPreviousPage: c,
4313
4323
  onNextPage: i,
4314
- variant: c,
4324
+ variant: s,
4315
4325
  boundary: C = !0,
4316
4326
  trailingContent: a = !1,
4317
4327
  trailingContentGap: f = 40,
@@ -4319,44 +4329,44 @@ function Yr({
4319
4329
  loading: u = !1,
4320
4330
  prevLabel: v = "이전",
4321
4331
  nextLabel: h = "다음",
4322
- jumpLabel: m = "페이지 이동",
4323
- outOfRangeToastText: _,
4332
+ jumpLabel: w = "페이지 이동",
4333
+ outOfRangeToastText: L,
4324
4334
  customStyle: g,
4325
- className: w
4335
+ className: m
4326
4336
  }) {
4327
- const L = Ot(c), Z = Math.max(Number(t) || 0, 0), S = L === "minimize", x = Z > 0 ? `${e + 1}` : "", [I, b] = q(x), V = Z1(
4328
- () => Wt(Z, e, L, C),
4329
- [Z, e, L, C]
4337
+ const _ = Ot(s), H = Math.max(Number(t) || 0, 0), k = _ === "minimize", x = H > 0 ? `${e + 1}` : "", [V, I] = q(x), A = Z1(
4338
+ () => Wt(H, e, _, C),
4339
+ [H, e, _, C]
4330
4340
  );
4331
- z(() => {
4332
- b(x);
4341
+ J(() => {
4342
+ I(x);
4333
4343
  }, [x]);
4334
- const R = (H) => {
4335
- H < 0 || H >= Z || H === e || o(H);
4336
- }, M = () => {
4337
- if (!I || Z <= 0) {
4338
- b(x);
4344
+ const M = (Z) => {
4345
+ Z < 0 || Z >= H || Z === e || o(Z);
4346
+ }, b = () => {
4347
+ if (!V || H <= 0) {
4348
+ I(x);
4339
4349
  return;
4340
4350
  }
4341
- const H = Number(I);
4342
- if (!Number.isFinite(H)) {
4343
- b(x);
4351
+ const Z = Number(V);
4352
+ if (!Number.isFinite(Z)) {
4353
+ I(x);
4344
4354
  return;
4345
4355
  }
4346
- if ((H < 1 || H > Z) && _) {
4347
- b(x), c3({ message: _ });
4356
+ if ((Z < 1 || Z > H) && L) {
4357
+ I(x), c3({ message: L });
4348
4358
  return;
4349
4359
  }
4350
- const A = Math.min(Math.max(H, 1), Z) - 1;
4351
- R(A), b(`${A + 1}`);
4352
- }, k = (H) => {
4353
- b(H.target.value.replace(/\D/g, ""));
4354
- }, N = (H) => {
4355
- H.key === "Enter" && (H.preventDefault(), M());
4360
+ const N = Math.min(Math.max(Z, 1), H) - 1;
4361
+ M(N), I(`${N + 1}`);
4362
+ }, B = (Z) => {
4363
+ I(Z.target.value.replace(/\D/g, ""));
4364
+ }, S = (Z) => {
4365
+ Z.key === "Enter" && (Z.preventDefault(), b());
4356
4366
  }, y = [
4357
- J.pagination,
4358
- a ? J.withTrailingContent : "",
4359
- w ?? ""
4367
+ z.pagination,
4368
+ a ? z.withTrailingContent : "",
4369
+ m ?? ""
4360
4370
  ].filter(Boolean).join(" ");
4361
4371
  return /* @__PURE__ */ p(
4362
4372
  "div",
@@ -4372,8 +4382,8 @@ function Yr({
4372
4382
  "div",
4373
4383
  {
4374
4384
  className: [
4375
- J.buttonContainer,
4376
- S ? J.minimizeButtonContainer : ""
4385
+ z.buttonContainer,
4386
+ k ? z.minimizeButtonContainer : ""
4377
4387
  ].filter(Boolean).join(" "),
4378
4388
  children: [
4379
4389
  /* @__PURE__ */ n(
@@ -4381,38 +4391,38 @@ function Yr({
4381
4391
  {
4382
4392
  variant: "secondary",
4383
4393
  size: "medium",
4384
- onClick: s,
4394
+ onClick: c,
4385
4395
  disabled: u || !l,
4386
4396
  customStyle: f2(u || !l),
4387
- children: /* @__PURE__ */ p("div", { className: J.arrowButtonContent, children: [
4397
+ children: /* @__PURE__ */ p("div", { className: z.arrowButtonContent, children: [
4388
4398
  /* @__PURE__ */ n(k9, { svg: wt }),
4389
- !S && /* @__PURE__ */ n(
4399
+ !k && /* @__PURE__ */ n(
4390
4400
  "span",
4391
4401
  {
4392
- className: `${J.arrowButtonLabel} ${J.previousButtonLabel}`,
4402
+ className: `${z.arrowButtonLabel} ${z.previousButtonLabel}`,
4393
4403
  children: v
4394
4404
  }
4395
4405
  )
4396
4406
  ] })
4397
4407
  }
4398
4408
  ),
4399
- S ? u ? /* @__PURE__ */ n("span", { className: J.skeletonMinimize }) : /* @__PURE__ */ n("span", { className: J.minimizeText, children: Z > 0 ? `${e + 1}/${Z}` : "0/0" }) : u ? /* @__PURE__ */ n("div", { className: J.pageList, children: Array.from(
4400
- { length: L9[L] ?? L9.extended },
4401
- (H, T) => /* @__PURE__ */ n("span", { className: J.skeletonPage }, T)
4402
- ) }) : /* @__PURE__ */ n("div", { className: J.pageList, children: V.map(
4403
- (H) => H.type === "ellipsis" ? /* @__PURE__ */ n("span", { className: J.ellipsis, children: /* @__PURE__ */ n(k9, { svg: Lt }) }, H.key) : /* @__PURE__ */ n("div", { className: J.pageButtonItem, children: /* @__PURE__ */ n(
4409
+ k ? u ? /* @__PURE__ */ n("span", { className: z.skeletonMinimize }) : /* @__PURE__ */ n("span", { className: z.minimizeText, children: H > 0 ? `${e + 1}/${H}` : "0/0" }) : u ? /* @__PURE__ */ n("div", { className: z.pageList, children: Array.from(
4410
+ { length: L9[_] ?? L9.extended },
4411
+ (Z, T) => /* @__PURE__ */ n("span", { className: z.skeletonPage }, T)
4412
+ ) }) : /* @__PURE__ */ n("div", { className: z.pageList, children: A.map(
4413
+ (Z) => Z.type === "ellipsis" ? /* @__PURE__ */ n("span", { className: z.ellipsis, children: /* @__PURE__ */ n(k9, { svg: Lt }) }, Z.key) : /* @__PURE__ */ n("div", { className: z.pageButtonItem, children: /* @__PURE__ */ n(
4404
4414
  u9,
4405
4415
  {
4406
4416
  widthType: "flexible",
4407
- onClick: () => R(H.page),
4408
- variant: H.page === e ? "primary" : "secondary",
4417
+ onClick: () => M(Z.page),
4418
+ variant: Z.page === e ? "primary" : "secondary",
4409
4419
  customStyle: {
4410
4420
  ...Gt,
4411
- ...H.page === e ? qt : Z2
4421
+ ...Z.page === e ? qt : Z2
4412
4422
  },
4413
- children: H.page + 1
4423
+ children: Z.page + 1
4414
4424
  }
4415
- ) }, H.page)
4425
+ ) }, Z.page)
4416
4426
  ) }),
4417
4427
  /* @__PURE__ */ n(
4418
4428
  u9,
@@ -4422,11 +4432,11 @@ function Yr({
4422
4432
  onClick: i,
4423
4433
  disabled: u || !r,
4424
4434
  customStyle: f2(u || !r),
4425
- children: /* @__PURE__ */ p("div", { className: J.arrowButtonContent, children: [
4426
- !S && /* @__PURE__ */ n(
4435
+ children: /* @__PURE__ */ p("div", { className: z.arrowButtonContent, children: [
4436
+ !k && /* @__PURE__ */ n(
4427
4437
  "span",
4428
4438
  {
4429
- className: `${J.arrowButtonLabel} ${J.nextButtonLabel}`,
4439
+ className: `${z.arrowButtonLabel} ${z.nextButtonLabel}`,
4430
4440
  children: h
4431
4441
  }
4432
4442
  ),
@@ -4440,21 +4450,21 @@ function Yr({
4440
4450
  a && /* @__PURE__ */ p(
4441
4451
  "div",
4442
4452
  {
4443
- className: J.trailingContent,
4453
+ className: z.trailingContent,
4444
4454
  style: d ? { justifySelf: "end", marginLeft: 0 } : void 0,
4445
4455
  children: [
4446
- /* @__PURE__ */ n("span", { className: J.trailingLabel, children: m }),
4456
+ /* @__PURE__ */ n("span", { className: z.trailingLabel, children: w }),
4447
4457
  /* @__PURE__ */ n(
4448
4458
  "input",
4449
4459
  {
4450
4460
  type: "text",
4451
4461
  inputMode: "numeric",
4452
- value: I,
4453
- onChange: k,
4454
- onKeyDown: N,
4455
- onBlur: M,
4456
- className: J.trailingInput,
4457
- disabled: Z <= 0
4462
+ value: V,
4463
+ onChange: B,
4464
+ onKeyDown: S,
4465
+ onBlur: b,
4466
+ className: z.trailingInput,
4467
+ disabled: H <= 0
4458
4468
  }
4459
4469
  )
4460
4470
  ]