@idbrnd/design-system 2.1.2 → 2.1.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
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,
@@ -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 b = typeof m == "string" || typeof m == "number" ? _1.text : _1.node;
120
+ return /* @__PURE__ */ n("span", { className: b, 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
+ c?.(m), !s && !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
  }
@@ -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 b = typeof m == "string" || typeof m == "number" ? b1.text : b1.node;
187
+ return /* @__PURE__ */ n("span", { className: b, 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
+ c?.(m), !s && !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
  }
@@ -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 b = typeof m == "string" || typeof m == "number" ? x1.text : x1.node;
254
+ return /* @__PURE__ */ n("span", { className: b, 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
+ c?.(m), !s && !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
  }
@@ -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 b = typeof m == "string" || typeof m == "number" ? M1.text : M1.node;
321
+ return /* @__PURE__ */ n("span", { className: b, 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
+ c?.(m), !s && !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
  }
@@ -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: b = !1,
576
576
  // 전체 비활성화 여부
577
- readOnly: Z = !1,
577
+ readOnly: H = !1,
578
578
  // 읽기 전용 여부
579
579
  ...S
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, _ = s, B = i, { currentValue: I, handleFocus: M, handleBlur: R, handleChange: N } = 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(() => I == null ? !1 : Array.isArray(I) ? I.length > 0 : typeof I == "number" ? !0 : String(I).length > 0, [I]), Z = Z1(() => g9(f), [f]), T = Z1(() => g9(C), [C]), A = Z !== 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 = [
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
+ !b && a1 ? Q.focused : "",
592
+ b ? Q.disabled : ""
593
+ ].filter(Boolean).join(" "), l1 = [Q.inputField, Q[`input-${o}`]].join(" "), K = Q.root, B1 = [Q.label, b ? Q.labelDisabled : ""].filter(Boolean).join(" "), g1 = Z1(() => O ? A ? Z : "에러 메시지가 표시됩니다." : C === !1 || C === void 0 || C === null ? null : C === !0 ? "2~19자 이내로 입력해 주세요." : T ?? null, [C, O, A, 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
+ b ? Q.helperDisabled : "",
599
599
  a && g1 === null ? Q.helperPlaceholder : ""
600
600
  ].filter(Boolean).join(" ");
601
601
  return /* @__PURE__ */ p(
@@ -608,8 +608,8 @@ 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 }),
611
+ _ ? /* @__PURE__ */ p("label", { htmlFor: V, className: B1, children: [
612
+ /* @__PURE__ */ n("span", { children: B }),
613
613
  c ? /* @__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: [
@@ -617,15 +617,15 @@ function K4({
617
617
  /* @__PURE__ */ n(
618
618
  "input",
619
619
  {
620
- id: I,
620
+ id: V,
621
621
  type: e,
622
- value: R,
622
+ value: I,
623
623
  className: l1,
624
624
  onFocus: M,
625
- onBlur: k,
625
+ onBlur: R,
626
626
  onChange: N,
627
- disabled: L,
628
- readOnly: Z,
627
+ disabled: b,
628
+ readOnly: H,
629
629
  required: c,
630
630
  ...S
631
631
  }
@@ -634,7 +634,7 @@ function K4({
634
634
  Q4,
635
635
  {
636
636
  content: u,
637
- disabled: L
637
+ disabled: b
638
638
  }
639
639
  )
640
640
  ] }) }),
@@ -682,28 +682,28 @@ 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: b = 20,
694
694
  // 최대 입력 길이
695
- required: Z = !1,
695
+ required: H = !1,
696
696
  // 필수 입력 여부
697
697
  errorMessage: S,
698
698
  // 에러 상태 문구
699
699
  onBlur: x,
700
700
  // 포커스 이탈 핸들러
701
- onKeyDown: I,
701
+ onKeyDown: V,
702
702
  // 키다운 핸들러
703
- ...b
703
+ ..._
704
704
  }) {
705
- const V = _9(), R = h ?? V, M = () => o(e), k = () => {
706
- const A = document.getElementById(R);
705
+ const B = _9(), I = h ?? B, M = () => o(e), R = () => {
706
+ const A = document.getElementById(I);
707
707
  if (!(A instanceof HTMLInputElement))
708
708
  return;
709
709
  const D = Object.getOwnPropertyDescriptor(HTMLInputElement.prototype, "value")?.set;
@@ -714,11 +714,11 @@ function Sr({
714
714
  l();
715
715
  return;
716
716
  }
717
- k();
717
+ R();
718
718
  }
719
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: [
720
+ V?.(A), !A.defaultPrevented && (A.key !== "Enter" || A.nativeEvent.isComposing || (A.preventDefault(), M()));
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
  {
@@ -755,11 +755,11 @@ function Sr({
755
755
  return /* @__PURE__ */ n(
756
756
  K4,
757
757
  {
758
- ...b,
759
- id: R,
760
- name: m,
758
+ ..._,
759
+ id: I,
760
+ name: w,
761
761
  value: e,
762
- placeholder: _,
762
+ placeholder: L,
763
763
  onChange: t,
764
764
  onBlur: x,
765
765
  onKeyDown: y,
@@ -769,14 +769,14 @@ function Sr({
769
769
  size: r,
770
770
  heading: c,
771
771
  headingContent: C,
772
- required: Z,
772
+ required: H,
773
773
  description: f,
774
774
  fixedDescriptionHeight: d,
775
- variant: H,
775
+ variant: Z,
776
776
  errorMessage: S,
777
777
  leadingIcon: g,
778
778
  trailingContent: T,
779
- maxLength: L,
779
+ maxLength: b,
780
780
  disabled: u,
781
781
  readOnly: v
782
782
  }
@@ -812,11 +812,11 @@ function n2({
812
812
  ...f
813
813
  }) {
814
814
  const d = F(null);
815
- z(() => {
815
+ J(() => {
816
816
  d.current && (d.current.indeterminate = c);
817
817
  }, [c]);
818
- const u = (m) => {
819
- a?.(m.target.checked);
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],
@@ -1163,7 +1163,7 @@ function A3(e) {
1163
1163
  }
1164
1164
  function N3({ snackbar: e, onPauseAutoHide: t, onResumeAutoHide: o, onClose: l }) {
1165
1165
  const r = F(null), [s, i] = q(!1), c = K1(e.heading), C = K1(e.description);
1166
- z(() => {
1166
+ J(() => {
1167
1167
  if (!c) {
1168
1168
  i(!1);
1169
1169
  return;
@@ -1172,16 +1172,16 @@ 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
1186
  }, [c, e.description, e.heading]);
1187
1187
  const a = c && !s, f = c ? C ? /* @__PURE__ */ p(S1, { children: [
@@ -1323,10 +1323,10 @@ 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
  {
@@ -1631,50 +1631,58 @@ function Pr({
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 I = v.current.getBoundingClientRect();
1637
+ L(v2(I, 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 I = v.current.firstElementChild ?? v.current;
1646
+ return I.scrollWidth > I.clientWidth || I.scrollHeight > I.clientHeight;
1647
+ }, [i]), b = G(() => {
1648
+ m() && u(!0);
1649
+ }, [m]), H = G(() => {
1650
+ u(!1), L(null);
1651
+ }, []), S = 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 I = (M) => {
1662
+ const R = M.target;
1663
+ v.current?.contains(R) || h.current?.contains(R) || 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", I), window.addEventListener("scroll", H, !0), window.addEventListener("resize", H), () => {
1666
+ document.removeEventListener("mousedown", I), 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 b(), window.addEventListener("scroll", g, !0), window.addEventListener("resize", g), () => {
1671
+ window.removeEventListener("scroll", g, !0), window.removeEventListener("resize", g);
1672
+ };
1673
+ }, [t, b, g]);
1674
+ const x = typeof e == "function" ? e(H) : e, V = c ? { backgroundColor: c } : void 0, _ = s ?? "span", B = e1(
1668
1675
  Y.tooltip,
1669
1676
  Y[o]
1670
1677
  );
1671
1678
  return /* @__PURE__ */ p(S1, { children: [
1672
1679
  F2(
1673
- I,
1680
+ _,
1674
1681
  {
1675
1682
  ref: v,
1676
1683
  className: Y.trigger,
1677
- ...t === "hover" ? { onMouseEnter: w, onMouseLeave: L } : { onClick: Z }
1684
+ ...t === "hover" ? { onMouseEnter: b, onMouseLeave: H } : t === "click" ? { onClick: S } : {}
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: B,
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
  ),
@@ -1755,26 +1763,26 @@ function x2({
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 _ = 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 (_ && _.scrollWidth > _.clientWidth) {
1772
+ const B = window.innerHeight - x.currentTarget.getBoundingClientRect().bottom > 80 ? "bottom" : "top";
1773
+ v(x.currentTarget, V, B);
1766
1774
  }
1767
1775
  },
1768
1776
  [v]
1769
- ), L = G(
1777
+ ), b = G(
1770
1778
  () => h(),
1771
1779
  [h]
1772
- ), Z = e1(n1.menu, n1[o]), S = Z1(
1780
+ ), H = e1(n1.menu, n1[o]), S = 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
1787
  }, [S]), /* @__PURE__ */ p(S1, { children: [
1780
1788
  /* @__PURE__ */ p(
@@ -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
1822
  children: S.map((x) => {
1815
- const I = x.value === s, b = !!x.disabled;
1823
+ const V = x.value === s, _ = !!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 && !_ && n1.selectedItem,
1830
+ _ && n1.disabledItem
1823
1831
  ),
1824
- onClick: (V) => {
1825
- V.stopPropagation(), b || i(x);
1832
+ onClick: (B) => {
1833
+ B.stopPropagation(), _ || i(x);
1826
1834
  },
1827
- onMouseEnter: (V) => w(V, x.label),
1828
- onMouseLeave: L,
1835
+ onMouseEnter: (B) => m(B, x.label),
1836
+ onMouseLeave: b,
1829
1837
  role: "option",
1830
- "aria-selected": I,
1831
- "aria-disabled": b || void 0,
1838
+ "aria-selected": V,
1839
+ "aria-disabled": _ || 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: c && !_ ? { color: c } : void 0,
1839
1847
  children: x.label
1840
1848
  }
1841
1849
  )
@@ -1871,43 +1879,43 @@ 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(), b = `${m}-listbox`, [H, S] = q(!1), [x, V] = q(!1), [_, B] = q(null), [I, M] = q("bottom"), { tooltip: R, showTooltip: N, hideTooltip: y } = L2(), Z = F(null), T = F(null), A = 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
+ M(L1 ? "top" : "bottom"), B({
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
+ S(!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(), S(!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) || A.current && A.current.contains(f1) || K();
1901
1909
  }, W = (C1) => {
1902
1910
  A.current && A.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";
@@ -1915,8 +1923,8 @@ function jr({
1915
1923
  }
1916
1924
  }, [C?.label, N]), 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 k = 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: k,
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 ? b : void 0,
1953
1961
  onClick: B1,
1954
1962
  onKeyDown: r1,
1955
1963
  style: h != null ? { width: `${h}px` } : void 0,
@@ -1967,7 +1975,7 @@ function jr({
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
  ),
@@ -1975,15 +1983,15 @@ function jr({
1975
1983
  "div",
1976
1984
  {
1977
1985
  className: P,
1978
- style: m != null ? { width: `${m}px` } : void 0,
1986
+ style: w != null ? { width: `${w}px` } : void 0,
1979
1987
  children: s
1980
1988
  }
1981
1989
  )
1982
1990
  ]
1983
1991
  }
1984
1992
  ),
1985
- /* @__PURE__ */ n(_2, { tooltip: k }),
1986
- Z && b9(
1993
+ /* @__PURE__ */ n(_2, { tooltip: R }),
1994
+ H && b9(
1987
1995
  /* @__PURE__ */ n(
1988
1996
  "div",
1989
1997
  {
@@ -1991,16 +1999,16 @@ function jr({
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: _?.top,
2003
+ left: _?.left,
2004
+ width: _?.width,
1997
2005
  zIndex: 9999,
1998
- ...R === "top" && { transform: "translateY(-100%)" }
2006
+ ...I === "top" && { transform: "translateY(-100%)" }
1999
2007
  },
2000
2008
  children: /* @__PURE__ */ n(
2001
2009
  x2,
2002
2010
  {
2003
- listboxId: L,
2011
+ listboxId: b,
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: I
2013
2021
  }
2014
2022
  )
2015
2023
  }
@@ -2034,46 +2042,46 @@ function y7({
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({
2045
+ const u = `${_9()}-listbox`, [v, h] = q(!1), [w, L] = q(!1), [g, m] = q(null), b = F(null), H = F(null), S = F(), x = G(() => {
2046
+ if (b.current) {
2047
+ const M = b.current.getBoundingClientRect();
2048
+ m({
2041
2049
  top: M.bottom + window.scrollY + 4,
2042
2050
  left: M.left + window.scrollX,
2043
2051
  width: f ?? M.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), S.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
+ }, []), _ = G(() => {
2059
+ a || (v && !w ? V() : v || (x(), h(!0)));
2060
+ }, [a, v, w, x, V]), B = G((M) => {
2061
+ s(M), V();
2062
+ }, [s, V]);
2063
+ J(() => () => clearTimeout(S.current), []), J(() => {
2064
+ const M = (R) => {
2065
+ const N = R.target;
2066
+ b.current && b.current.contains(N) || H.current && H.current.contains(N) || V();
2059
2067
  };
2060
2068
  return v && (document.addEventListener("click", M), window.addEventListener("resize", x), window.addEventListener("scroll", x, !0)), () => {
2061
2069
  document.removeEventListener("click", M), 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 I = G((M) => {
2073
+ M.key === "Escape" && v && (M.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: b,
2072
2080
  className: x7.root,
2073
2081
  "data-idb-component": "dropdown",
2074
2082
  style: C,
2075
- onClick: b,
2076
- onKeyDown: R,
2083
+ onClick: _,
2084
+ onKeyDown: I,
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,
2110
+ onSelect: B,
2103
2111
  textColor: c,
2104
- closing: m
2112
+ closing: w
2105
2113
  }
2106
2114
  )
2107
2115
  }
@@ -2306,14 +2314,14 @@ 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; )
2319
+ i || (i = L, o(), o());
2320
+ const g = L - i;
2321
+ for (i = L, c += g; c >= s; )
2314
2322
  o(), c -= s;
2315
- const w = c / s;
2316
- l(w), C && (C = t.requestAnimationFrame(d));
2323
+ const m = c / s;
2324
+ l(m), C && (C = t.requestAnimationFrame(d));
2317
2325
  }
2318
2326
  function u() {
2319
2327
  C || (C = t.requestAnimationFrame(d));
@@ -2337,10 +2345,10 @@ function Q7(e, t) {
2337
2345
  const o = t === "rtl", l = e === "y", r = l ? "y" : "x", s = l ? "x" : "y", i = !l && o ? -1 : 1, c = 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";
@@ -2416,66 +2424,66 @@ function y2(e, t, o) {
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, s, i, c, C, a, f, d, u, v, h, w, L, g, m) {
2420
2428
  const {
2421
- cross: L,
2422
- direction: Z
2429
+ cross: b,
2430
+ direction: H
2423
2431
  } = e, S = ["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(), _ = n9(), B = T1(50, 225).constrain(v.measure(20)), I = {
2426
2434
  mouse: 300,
2427
2435
  touch: 400
2428
2436
  }, M = {
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
+ }, R = h ? 43 : 25;
2440
+ let N = !1, y = 0, Z = 0, T = !1, A = !1, D = !1, O = !1;
2441
+ function U(k) {
2442
+ if (!m) return;
2435
2443
  function P(W) {
2436
- (x9(w) || w(B, W)) && g1(W);
2444
+ (x9(m) || m(k, 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(), _.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 k = O ? o : t;
2456
+ _.add(k, "touchmove", r1, x).add(k, "touchend", i1).add(k, "mousemove", r1, x).add(k, "mouseup", i1);
2449
2457
  }
2450
- function l1(B) {
2451
- const P = B.nodeName || "";
2458
+ function l1(k) {
2459
+ const P = k.nodeName || "";
2452
2460
  return S.includes(P);
2453
2461
  }
2454
2462
  function K() {
2455
- return (h ? M : R)[O ? "mouse" : "touch"];
2463
+ return (h ? M : I)[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(k, P) {
2466
+ const $ = d.add(j9(k) * -1), W = f.byDistance(k, !h).distance;
2467
+ return h || X(k) < B ? 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(k) {
2470
+ const P = D9(k, l);
2471
+ O = P, D = h && P && !k.buttons && N, N = Y1(r.get(), i.get()) >= 2, !(P && k.button !== 0) && (l1(k.target) || (T = !0, s.pointerDown(k), a.useFriction(0).useDuration(0), r.set(i), h1(), y = s.readPoint(k), Z = s.readPoint(k, b), 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(k) {
2474
+ if (!D9(k, l) && k.touches.length >= 2) return i1(k);
2475
+ const $ = s.readPoint(k), W = s.readPoint(k, b), C1 = Y1($, y), f1 = Y1(W, Z);
2476
+ if (!A && !O && (!k.cancelable || (A = C1 > f1, !A)))
2477
+ return i1(k);
2478
+ const R1 = s.pointerMove(k);
2479
+ C1 > w && (D = !0), a.useFriction(0.3).useDuration(0.75), c.start(), r.add(H(R1)), k.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(k) {
2482
+ const $ = f.byDistance(0, !1).index !== d.get(), W = s.pointerUp(k) * K(), C1 = B1(H(W), $), f1 = W7(W, C1), R1 = R - 10 * f1, L1 = g + f1 / 50;
2483
+ A = !1, T = !1, _.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(k) {
2486
+ D && (k.stopPropagation(), k.preventDefault(), D = !1);
2479
2487
  }
2480
2488
  function s1() {
2481
2489
  return T;
@@ -2504,8 +2512,8 @@ function K7(e, t) {
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 = s(d) - s(l), h = s(d) - s(r) > 170, w = u / v;
2516
+ return v && !h && X(w) > 0.1 ? w : 0;
2509
2517
  }
2510
2518
  return {
2511
2519
  pointerDown: c,
@@ -2546,26 +2554,26 @@ function J7(e) {
2546
2554
  function z7(e, t, o, l, r, s, i) {
2547
2555
  const c = [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(_) {
2560
+ function v(L) {
2553
2561
  if (!s) 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 b 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 = b.target === e, S = l.indexOf(b.target), x = H ? a : f[S], V = u(H ? e : l[S]);
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(s) || s(L, m)) && g(m);
2567
2575
  }), o.requestAnimationFrame(() => {
2568
- c.forEach((w) => C.observe(w));
2576
+ c.forEach((m) => C.observe(m));
2569
2577
  });
2570
2578
  }
2571
2579
  function h() {
@@ -2579,9 +2587,9 @@ function z7(e, t, o, l, r, s, i) {
2579
2587
  function e8(e, t, o, l, r, s) {
2580
2588
  let i = 0, c = 0, C = r, a = s, 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 _ = 0;
2592
+ return V ? (i = 0, o.set(l), e.set(l), _ = x) : (o.set(e), i += x / C, i *= a, f += i, e.add(i), _ = f - d), c = j9(_), d = f, S;
2585
2593
  }
2586
2594
  function v() {
2587
2595
  const x = l.get() - t.get();
@@ -2590,34 +2598,34 @@ function e8(e, t, o, l, r, s) {
2590
2598
  function h() {
2591
2599
  return C;
2592
2600
  }
2593
- function m() {
2601
+ function w() {
2594
2602
  return c;
2595
2603
  }
2596
- function _() {
2604
+ function L() {
2597
2605
  return i;
2598
2606
  }
2599
2607
  function g() {
2600
- return L(r);
2608
+ return b(r);
2601
2609
  }
2602
- function w() {
2603
- return Z(s);
2610
+ function m() {
2611
+ return H(s);
2604
2612
  }
2605
- function L(x) {
2613
+ function b(x) {
2606
2614
  return C = x, S;
2607
2615
  }
2608
- function Z(x) {
2616
+ function H(x) {
2609
2617
  return a = x, S;
2610
2618
  }
2611
2619
  const S = {
2612
- direction: m,
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: b
2621
2629
  };
2622
2630
  return S;
2623
2631
  }
@@ -2629,8 +2637,8 @@ function t8(e, t, o, l, r) {
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 = c.constrain(w / i);
2641
+ o.subtract(L * g), !v && X(L) < s && (o.set(e.constrain(o.get())), l.useDuration(25).useBaseFriction());
2634
2642
  }
2635
2643
  function d(v) {
2636
2644
  C = !v;
@@ -2643,20 +2651,20 @@ function t8(e, t, o, l, r) {
2643
2651
  }
2644
2652
  function n8(e, t, o, l, r) {
2645
2653
  const s = T1(-t + e, 0), i = d(), c = f(), C = u();
2646
- function a(h, m) {
2647
- return Y1(h, m) <= 1;
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
+ } = s, m = s.constrain(h), b = !w, H = W9(o, w);
2667
+ return b ? 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() {
@@ -2664,9 +2672,9 @@ function n8(e, t, o, l, r) {
2664
2672
  if (l === "keepSnaps") return i;
2665
2673
  const {
2666
2674
  min: h,
2667
- max: m
2675
+ max: w
2668
2676
  } = c;
2669
- return i.slice(h, m);
2677
+ return i.slice(h, w);
2670
2678
  }
2671
2679
  return {
2672
2680
  snapsContained: C,
@@ -2717,13 +2725,13 @@ function i8(e, t, o, l, r) {
2717
2725
  groupSlides: c
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 c(l).map((w) => V1(w)[i] - w[0][s]).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[s] - w[s]).map((w) => -X(w));
2724
2732
  }
2725
2733
  function v() {
2726
- return c(a).map((m) => m[0]).map((m, _) => m + C[_]);
2734
+ return c(a).map((w) => w[0]).map((w, L) => w + C[L]);
2727
2735
  }
2728
2736
  return {
2729
2737
  snaps: a,
@@ -2739,15 +2747,15 @@ function C8(e, t, o, l, r, s) {
2739
2747
  } = l, a = f();
2740
2748
  function f() {
2741
2749
  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);
2750
+ return o.length === 1 ? [s] : v ? u : u.slice(c, 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 b = V1(L[0]) + 1;
2754
+ return d2(b);
2747
2755
  }
2748
- if (w) {
2749
- const L = r9(s) - V1(_)[0] + 1;
2750
- return d2(L, V1(_)[0]);
2756
+ if (m) {
2757
+ const b = r9(s) - V1(L)[0] + 1;
2758
+ return d2(b, V1(L)[0]);
2751
2759
  }
2752
2760
  return h;
2753
2761
  });
@@ -2763,44 +2771,44 @@ function s8(e, t, o, l, r) {
2763
2771
  constrain: c
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) : c(h), L = t.map((m, b) => ({
2778
+ diff: f(m - w, 0),
2779
+ index: b
2780
+ })).sort((m, b) => X(m.diff) - X(b.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), b = !e && s(L);
2807
+ if (!w || b) 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, S = h + f(H, 0);
2804
2812
  return {
2805
2813
  index: g,
2806
2814
  distance: S
@@ -2838,15 +2846,15 @@ function a8(e, t, o, l, r, s, i, c) {
2838
2846
  let a = 0;
2839
2847
  function f(v) {
2840
2848
  if (!c) return;
2841
- function h(m) {
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((b) => b.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
+ s.add(document, "keydown", d, !1), t.forEach((w, L) => {
2856
+ s.add(w, "focus", (g) => {
2857
+ (x9(c) || c(v, g)) && h(L);
2850
2858
  }, C);
2851
2859
  });
2852
2860
  }
@@ -2908,65 +2916,65 @@ function H2(e, t) {
2908
2916
  };
2909
2917
  }
2910
2918
  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);
2919
+ const f = e9(r), d = e9(r).reverse(), u = g().concat(m());
2920
+ function v(V, _) {
2921
+ return V.reduce((B, I) => B - r[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, _) {
2924
+ return V.reduce((B, I) => v(B, _) > 0 ? B.concat([I]) : B, []);
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 s.map((_, B) => ({
2928
+ start: _ - l[B] + 0.5 + V,
2929
+ end: _ + 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, _, B) {
2933
+ const I = w(_);
2934
+ return V.map((M) => {
2935
+ const R = B ? 0 : -o, N = B ? o : 0, y = B ? "end" : "start", Z = I[M][y];
2928
2936
  return {
2929
2937
  index: M,
2930
- loopPoint: H,
2938
+ loopPoint: Z,
2931
2939
  slideLocation: G1(-1),
2932
2940
  translate: H2(e, C[M]),
2933
- target: () => c.get() > H ? k : N
2941
+ target: () => c.get() > Z ? R : N
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], _ = h(d, V);
2947
+ return L(_, 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, _ = h(f, V);
2951
+ return L(_, -o, !0);
2944
2952
  }
2945
- function L() {
2953
+ function b() {
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 _ = f.filter((B) => B !== V);
2958
+ return v(_, 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: _,
2965
+ translate: B,
2966
+ slideLocation: I
2967
+ } = V, M = _();
2968
+ M !== I.get() && (B.to(M), I.set(M));
2961
2969
  });
2962
2970
  }
2963
2971
  function S() {
2964
- u.forEach((I) => I.translate.clear());
2972
+ u.forEach((V) => V.translate.clear());
2965
2973
  }
2966
2974
  return {
2967
- canLoop: L,
2975
+ canLoop: b,
2968
2976
  clear: S,
2969
- loop: Z,
2977
+ loop: H,
2970
2978
  loopPoints: u
2971
2979
  };
2972
2980
  }
@@ -3000,9 +3008,9 @@ function h8(e, t, o, l) {
3000
3008
  let s = null, i = null, c, C = !1;
3001
3009
  function a() {
3002
3010
  c = new IntersectionObserver((h) => {
3003
- C || (h.forEach((m) => {
3004
- const _ = t.indexOf(m.target);
3005
- r[_] = m;
3011
+ C || (h.forEach((w) => {
3012
+ const L = t.indexOf(w.target);
3013
+ r[L] = w;
3006
3014
  }), s = null, i = null, o.emit("slidesInView"));
3007
3015
  }, {
3008
3016
  root: e.parentElement,
@@ -3013,18 +3021,18 @@ function h8(e, t, o, l) {
3013
3021
  c && c.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
3032
  if (h && s) return s;
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 && (s = w), h || (i = w), w;
3028
3036
  }
3029
3037
  return {
3030
3038
  init: a,
@@ -3037,21 +3045,21 @@ function f8(e, t, o, l, r, s) {
3037
3045
  measureSize: i,
3038
3046
  startEdge: c,
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[c] - m[c]);
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 = s.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, b, H) => {
3061
+ const S = !b, x = W9(H, b);
3062
+ return S ? u[b] + f : x ? u[b] + d : H[b + 1][c] - m[c];
3055
3063
  }).map(X);
3056
3064
  }
3057
3065
  return {
@@ -3067,23 +3075,23 @@ function p8(e, t, o, l, r, s, i, c, C) {
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((b) => b % m === 0).map((b) => g.slice(b, b + 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, b, H) => {
3083
+ const S = V1(m) || 0, x = S === 0, V = b === r9(g), _ = r[a] - s[S][a], B = r[a] - s[b][f], I = !l && x ? d(i) : 0, M = !l && V ? d(c) : 0, R = X(B - M - (_ + I));
3084
+ return H && R > t + C && m.push(b), V && m.push(g.length), m;
3085
+ }, []).map((m, b, H) => {
3086
+ const S = Math.max(H[b - 1] || 0);
3087
+ return g.slice(S, 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
3097
  function g8(e, t, o, l, r, s, i) {
@@ -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,
3110
+ containScroll: m,
3111
+ watchResize: b,
3112
+ watchSlides: H,
3105
3113
  watchDrag: S,
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, {
3115
+ } = s, V = 2, _ = Y7(), B = _.measure(t), I = o.map(_.measure), M = Q7(C, a), R = M.measureSize(B), N = J7(R), y = G7(c, R), Z = !d && !!m, T = d || !!m, {
3108
3116
  slideSizes: A,
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(M, B, I, o, T, r), a1 = p8(M, R, L, d, B, I, 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(M, y, B, I, 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(R, 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), k = ({
3121
3129
  dragHandler: D1,
3122
3130
  scrollBody: Z9,
3123
3131
  scrollBounds: V9,
@@ -3146,14 +3154,14 @@ 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, () => k(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: B,
3164
+ slideRects: I,
3157
3165
  animation: $,
3158
3166
  axis: M,
3159
3167
  dragHandler: X7(M, e, l, r, E1, K7(M, r), f1, $, y9, q1, M9, v1, i, N, v, h, g, W, S),
@@ -3166,7 +3174,7 @@ function g8(e, t, o, l, r, s, i) {
3166
3174
  offsetLocation: L1,
3167
3175
  previousLocation: R1,
3168
3176
  options: s,
3169
- resizeHandler: z7(t, i, r, o, M, L, b),
3177
+ resizeHandler: z7(t, i, r, o, M, b, _),
3170
3178
  scrollBody: q1,
3171
3179
  scrollBounds: t8(i1, L1, E1, q1, N),
3172
3180
  scrollLooper: l8(K, i1, L1, [f1, L1, R1, E1]),
@@ -3175,9 +3183,9 @@ function g8(e, t, o, l, r, s, i) {
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(M, R, K, A, 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,
@@ -3281,54 +3289,54 @@ function v9(e, t, o) {
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 = M;
3293
+ let L = !1, g, m = a(w8, v9.globalOptions), b = a(m), H = [], S, x, V;
3294
+ function _() {
3287
3295
  const {
3288
3296
  container: j,
3289
- slides: B
3290
- } = L;
3297
+ slides: k
3298
+ } = b;
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(k) ? x.querySelectorAll(k) : k;
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 B(j) {
3304
+ const k = g8(e, x, V, l, r, j, C);
3305
+ if (j.loop && !k.slideLooper.canLoop()) {
3298
3306
  const P = Object.assign({}, j, {
3299
3307
  loop: !1
3300
3308
  });
3301
- return V(P);
3309
+ return B(P);
3302
3310
  }
3303
- return B;
3311
+ return k;
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 I(j, k) {
3314
+ L || (m = a(m, j), b = f(m), H = k || H, _(), g = B(b), 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) => c.add(P, "change", M)), 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), S = i.init(s1, H)));
3309
3317
  }
3310
- function M(j, B) {
3318
+ function M(j, k) {
3311
3319
  const P = a1();
3312
- k(), R(a({
3320
+ R(), I(a({
3313
3321
  startIndex: P
3314
- }, j), B), C.emit("reInit");
3322
+ }, j), k), C.emit("reInit");
3315
3323
  }
3316
- function k() {
3324
+ function R() {
3317
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(), c.clear();
3318
3326
  }
3319
3327
  function N() {
3320
- _ || (_ = !0, c.clear(), k(), C.emit("destroy"), C.clear());
3328
+ L || (L = !0, c.clear(), R(), 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, k, P) {
3331
+ !b.active || L || (g.scrollBody.useBaseFriction().useDuration(k === !0 ? 0 : b.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 k = g.index.add(1).get();
3335
+ y(k, j, -1);
3328
3336
  }
3329
3337
  function T(j) {
3330
- const B = g.index.add(-1).get();
3331
- y(B, j, 1);
3338
+ const k = g.index.add(-1).get();
3339
+ y(k, j, 1);
3332
3340
  }
3333
3341
  function A() {
3334
3342
  return g.index.add(1).get() !== a1();
@@ -3367,7 +3375,7 @@ 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
3381
  canScrollNext: A,
@@ -3380,9 +3388,9 @@ function v9(e, t, o) {
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,18 +3400,18 @@ 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 I(t, o), setTimeout(() => C.emit("init"), 0), s1;
3396
3404
  }
3397
3405
  v9.globalOptions = void 0;
3398
3406
  function i9(e = {}, t = []) {
3399
3407
  const o = F(e), l = F(t), [r, s] = q(), [i, c] = 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);
@@ -3442,11 +3450,11 @@ function Wr({
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);
@@ -3496,25 +3504,25 @@ function qr({
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 = (b) => {
3511
+ L.current?.contains(b.target) || w(!1);
3512
+ }, m = (b) => {
3513
+ b.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,
@@ -3526,7 +3534,7 @@ function qr({
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
  {
@@ -3585,7 +3593,7 @@ function Gr({
3585
3593
  dragFree: !0,
3586
3594
  containScroll: "keepSnaps"
3587
3595
  }), [C, a] = q(!1), [f, d] = q(!l);
3588
- return z(() => {
3596
+ return J(() => {
3589
3597
  if (!c || l) {
3590
3598
  a(!1), d(!l);
3591
3599
  return;
@@ -3661,41 +3669,41 @@ function Ur({
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
+ }), [b, H] = q(!1), [S, 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
+ }), B = e.findIndex((y) => y.value === t) !== -1 ? t : e.find((y) => !y.disabled)?.value ?? null, I = e.map((y) => `${y.value}:${y.numberBadge ?? ""}`).join(","), M = 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]), R = 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") {
3698
+ if (L.current === "fill") {
3691
3699
  const A = 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) + A * 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",
@@ -3703,7 +3711,7 @@ function Ur({
3703
3711
  }), T && (h.current !== null && cancelAnimationFrame(h.current), h.current = requestAnimationFrame(() => {
3704
3712
  h.current = null;
3705
3713
  const A = d.current.findIndex(
3706
- (D) => D.value === m.current
3714
+ (D) => D.value === w.current
3707
3715
  );
3708
3716
  A !== -1 && x.scrollTo(A, !0);
3709
3717
  })));
@@ -3712,38 +3720,38 @@ function Ur({
3712
3720
  M();
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(M);
3724
+ return Z.observe(y), () => Z.disconnect();
3725
+ }, [l, r, I, M]), J(() => {
3718
3726
  if (!x) return;
3719
- k();
3720
- const y = new ResizeObserver(k);
3727
+ R();
3728
+ const y = new ResizeObserver(R);
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, R, I]), 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(M), Z = () => requestAnimationFrame(M);
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, M]), 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
3745
  const N = 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
3752
  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];
3753
+ T === -1 ? A = y.key === "ArrowLeft" || y.key === "End" ? Z.length - 1 : 0 : y.key === "ArrowRight" ? A = (T + 1) % Z.length : y.key === "ArrowLeft" ? A = (T - 1 + Z.length) % Z.length : y.key === "Home" ? A = 0 : A = Z.length - 1;
3754
+ const D = Z[A];
3747
3755
  D && D.value !== t && (u.current = !0, o?.(D.value));
3748
3756
  },
3749
3757
  [t, o]
@@ -3759,13 +3767,13 @@ function Ur({
3759
3767
  o1.tab,
3760
3768
  o1[l],
3761
3769
  r === "fill" && o1.fill,
3762
- L && o1.overflowing,
3770
+ b && o1.overflowing,
3763
3771
  s && o1.horizontalPadding
3764
3772
  ),
3765
3773
  style: C,
3766
3774
  children: [
3767
3775
  /* @__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;
3776
+ const Z = y.value === t, T = y.numberBadge !== void 0 && y.numberBadge > 0, A = y.badge && !T;
3769
3777
  return /* @__PURE__ */ n(
3770
3778
  "button",
3771
3779
  {
@@ -3776,12 +3784,12 @@ 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 === B ? 0 : -1,
3785
3793
  onClick: () => {
3786
3794
  y.value !== t && o?.(y.value);
3787
3795
  },
@@ -3844,34 +3852,34 @@ function Qr({
3844
3852
  }) {
3845
3853
  const a = l || e === "icon", f = F(null), d = F(/* @__PURE__ */ new Map()), u = F(s);
3846
3854
  u.current = s;
3847
- const v = F(!1), [h, m] = q({
3855
+ const v = F(!1), [h, w] = q({
3848
3856
  opacity: 0
3849
3857
  });
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".`
3858
+ process.env.NODE_ENV !== "production" && e === "icon" && s.forEach((_) => {
3859
+ _.ariaLabel || console.warn(
3860
+ `[SegmentedControl] item "${_.value}" is missing ariaLabel for variant="icon".`
3853
3861
  );
3854
3862
  });
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(",");
3863
+ const L = s.findIndex((_) => _.value === i), g = L !== -1, m = g && L === 0, b = g && L === s.length - 1, H = t === "outlined" ? m && b ? "single" : m ? "first" : b ? "last" : "middle" : void 0, S = g ? i : s.find((_) => !_.disabled)?.value ?? null, x = s.map((_) => _.value).join(",");
3856
3864
  o9(() => {
3857
- const b = () => {
3865
+ const _ = () => {
3858
3866
  const M = d.current.get(i);
3859
- M && m({
3867
+ M && w({
3860
3868
  width: M.offsetWidth,
3861
3869
  transform: `translateX(${M.offsetLeft}px)`,
3862
3870
  opacity: 1
3863
3871
  });
3864
3872
  };
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(() => {
3873
+ _();
3874
+ const B = f.current;
3875
+ if (!B) return;
3876
+ const I = new ResizeObserver(_);
3877
+ return I.observe(B), () => I.disconnect();
3878
+ }, [i, e, t, o, x]), J(() => {
3871
3879
  v.current && (d.current.get(i)?.focus(), v.current = !1);
3872
3880
  }, [i]);
3873
- const I = G(
3874
- (b) => {
3881
+ const V = G(
3882
+ (_) => {
3875
3883
  if (![
3876
3884
  "ArrowLeft",
3877
3885
  "ArrowRight",
@@ -3879,16 +3887,16 @@ function Qr({
3879
3887
  "ArrowDown",
3880
3888
  "Home",
3881
3889
  "End"
3882
- ].includes(b.key))
3890
+ ].includes(_.key))
3883
3891
  return;
3884
- b.preventDefault();
3885
- const V = u.current.filter((N) => !N.disabled), R = V.findIndex(
3892
+ _.preventDefault();
3893
+ const B = u.current.filter((N) => !N.disabled), I = B.findIndex(
3886
3894
  (N) => N.value === i
3887
3895
  );
3888
3896
  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
+ I === -1 ? M = _.key === "ArrowLeft" || _.key === "ArrowUp" || _.key === "End" ? B.length - 1 : 0 : _.key === "ArrowRight" || _.key === "ArrowDown" ? M = (I + 1) % B.length : _.key === "ArrowLeft" || _.key === "ArrowUp" ? M = (I - 1 + B.length) % B.length : _.key === "Home" ? M = 0 : M = B.length - 1;
3898
+ const R = B[M];
3899
+ R && R.value !== i && (v.current = !0, c?.(R.value));
3892
3900
  },
3893
3901
  [i, c]
3894
3902
  );
@@ -3920,7 +3928,7 @@ function Qr({
3920
3928
  "span",
3921
3929
  {
3922
3930
  "aria-hidden": !0,
3923
- "data-position": Z,
3931
+ "data-position": H,
3924
3932
  className: e1(
3925
3933
  p1.indicator,
3926
3934
  t === "fill" ? p1.indicatorFill : p1.indicatorOutlined
@@ -3928,35 +3936,35 @@ function Qr({
3928
3936
  style: h
3929
3937
  }
3930
3938
  ),
3931
- s.map((b) => {
3932
- const V = b.value === i;
3939
+ s.map((_) => {
3940
+ const B = _.value === i;
3933
3941
  return /* @__PURE__ */ p(
3934
3942
  "button",
3935
3943
  {
3936
3944
  type: "button",
3937
3945
  role: "tab",
3938
- ref: (R) => {
3939
- R ? d.current.set(b.value, R) : d.current.delete(b.value);
3946
+ ref: (I) => {
3947
+ I ? d.current.set(_.value, I) : d.current.delete(_.value);
3940
3948
  },
3941
3949
  className: e1(
3942
3950
  p1.segment,
3943
- V && p1.selected,
3944
- b.disabled && p1.disabled
3951
+ B && p1.selected,
3952
+ _.disabled && p1.disabled
3945
3953
  ),
3946
- disabled: b.disabled,
3947
- "aria-selected": V,
3948
- "aria-label": e === "icon" ? b.ariaLabel : void 0,
3949
- tabIndex: b.value === S ? 0 : -1,
3954
+ disabled: _.disabled,
3955
+ "aria-selected": B,
3956
+ "aria-label": e === "icon" ? _.ariaLabel : void 0,
3957
+ tabIndex: _.value === S ? 0 : -1,
3950
3958
  onClick: () => {
3951
- b.value !== i && c?.(b.value);
3959
+ _.value !== i && c?.(_.value);
3952
3960
  },
3953
- onKeyDown: I,
3961
+ onKeyDown: V,
3954
3962
  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
3963
+ a && _.icon ? /* @__PURE__ */ n("span", { className: p1.iconSlot, children: _.icon }) : null,
3964
+ e === "basic" && _.label ? /* @__PURE__ */ n("span", { className: p1.label, children: _.label }) : null
3957
3965
  ]
3958
3966
  },
3959
- b.value
3967
+ _.value
3960
3968
  );
3961
3969
  })
3962
3970
  ]
@@ -4028,40 +4036,40 @@ function Xr({
4028
4036
  accordion: u = !1,
4029
4037
  canExpand: v,
4030
4038
  renderAccordionContent: h,
4031
- maxRows: m
4039
+ maxRows: w
4032
4040
  }) {
4033
- const [_, g] = q(/* @__PURE__ */ new Set()), [w, L] = q(/* @__PURE__ */ new Set()), Z = e.getRowModel().rows.map((M) => M.id).join(",");
4034
- z(() => {
4041
+ const [L, g] = q(/* @__PURE__ */ new Set()), [m, b] = q(/* @__PURE__ */ new Set()), H = e.getRowModel().rows.map((M) => M.id).join(",");
4042
+ J(() => {
4035
4043
  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;
4044
+ const M = new Set(H.split(",").filter(Boolean));
4045
+ g((R) => {
4046
+ const N = new Set([...R].filter((y) => M.has(y)));
4047
+ return N.size === R.size ? R : N;
4048
+ }), b((R) => {
4049
+ const N = new Set([...R].filter((y) => M.has(y)));
4050
+ return N.size === R.size ? R : N;
4043
4051
  });
4044
- }, [u, Z]);
4052
+ }, [u, H]);
4045
4053
  const S = (M) => {
4046
- L((k) => new Set(k).add(M)), g((k) => {
4047
- const N = new Set(k);
4054
+ b((R) => new Set(R).add(M)), g((R) => {
4055
+ const N = new Set(R);
4048
4056
  return N.has(M) ? N.delete(M) : N.add(M), N;
4049
4057
  });
4050
- }, x = e.getVisibleLeafColumns(), I = x.length + (o ? 1 : 0) + (u ? 1 : 0), b = () => {
4058
+ }, x = e.getVisibleLeafColumns(), V = x.length + (o ? 1 : 0) + (u ? 1 : 0), _ = () => {
4051
4059
  if (i != null) return i;
4052
4060
  if (c != null || C != null)
4053
4061
  return /* @__PURE__ */ p("div", { className: E.emptyState, children: [
4054
4062
  c && /* @__PURE__ */ n("span", { className: E.emptyTitle, children: c }),
4055
4063
  C && /* @__PURE__ */ n("span", { className: E.emptyDescription, children: C })
4056
4064
  ] });
4057
- }, V = [E.tableWrapper, E[t], f ?? ""].filter(Boolean).join(" "), R = {
4065
+ }, B = [E.tableWrapper, E[t], f ?? ""].filter(Boolean).join(" "), I = {
4058
4066
  ...a,
4059
- ...m != null && {
4060
- maxHeight: pt + m * ft,
4067
+ ...w != null && {
4068
+ maxHeight: pt + w * ft,
4061
4069
  overflowY: "auto"
4062
4070
  }
4063
4071
  };
4064
- return /* @__PURE__ */ n("div", { "data-idb-component": !0, className: V, style: R, children: /* @__PURE__ */ p("table", { className: E.table, children: [
4072
+ return /* @__PURE__ */ n("div", { "data-idb-component": !0, className: B, style: I, children: /* @__PURE__ */ p("table", { className: E.table, children: [
4065
4073
  /* @__PURE__ */ n("thead", { className: E.thead, children: e.getHeaderGroups().map((M) => /* @__PURE__ */ p("tr", { className: E.tr, children: [
4066
4074
  u && /* @__PURE__ */ n("th", { className: `${E.th} ${E.accordionCell}` }),
4067
4075
  o && /* @__PURE__ */ n("th", { className: `${E.th} ${E.checkboxCell}`, children: /* @__PURE__ */ n(
@@ -4074,34 +4082,34 @@ function Xr({
4074
4082
  onChange: () => e.toggleAllRowsSelected(!e.getIsAllRowsSelected())
4075
4083
  }
4076
4084
  ) }),
4077
- M.headers.map((k) => /* @__PURE__ */ n(
4085
+ M.headers.map((R) => /* @__PURE__ */ n(
4078
4086
  "th",
4079
4087
  {
4080
4088
  className: [
4081
4089
  E.th,
4082
- k.column.getCanSort() ? E.sortable : ""
4090
+ R.column.getCanSort() ? E.sortable : ""
4083
4091
  ].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()
4092
+ onClick: R.column.getToggleSortingHandler(),
4093
+ style: { width: R.getSize() },
4094
+ children: R.isPlaceholder ? null : u2(
4095
+ R.column.columnDef.header,
4096
+ R.getContext()
4089
4097
  )
4090
4098
  },
4091
- k.id
4099
+ R.id
4092
4100
  ))
4093
4101
  ] }, M.id)) }),
4094
- /* @__PURE__ */ n("tbody", { className: E.tbody, children: r ? Array.from({ length: s }, (M, k) => /* @__PURE__ */ p("tr", { className: E.tr, children: [
4102
+ /* @__PURE__ */ n("tbody", { className: E.tbody, children: r ? Array.from({ length: s }, (M, R) => /* @__PURE__ */ p("tr", { className: E.tr, children: [
4095
4103
  u && /* @__PURE__ */ n("td", { className: `${E.td} ${E.accordionCell}` }),
4096
4104
  o && /* @__PURE__ */ n("td", { className: `${E.td} ${E.checkboxCell}`, children: /* @__PURE__ */ n("span", { className: E.skeletonCheckbox }) }),
4097
4105
  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 = [
4106
+ ] }, `skeleton-${R}`)) : e.getRowModel().rows.length === 0 ? /* @__PURE__ */ n("tr", { children: /* @__PURE__ */ n("td", { colSpan: V, className: E.stateCell, children: _() }) }) : e.getRowModel().rows.map((M) => {
4107
+ const R = M.getIsSelected(), N = M.getCanSelect(), y = !!d || o && N, Z = L.has(M.id), T = m.has(M.id), A = u && (v ? v(M) : !!h), D = A && T && h ? h(M) : null, O = [
4100
4108
  E.tr,
4101
4109
  l || d ? E.interactiveRow : "",
4102
4110
  o && N && !l && !d ? E.clickableRow : "",
4103
- k ? E.selectedRow : "",
4104
- A && H ? E.expandedRow : ""
4111
+ R ? E.selectedRow : "",
4112
+ A && Z ? E.expandedRow : ""
4105
4113
  ].filter(Boolean).join(" ");
4106
4114
  return /* @__PURE__ */ p(O2, { children: [
4107
4115
  /* @__PURE__ */ p(
@@ -4115,11 +4123,11 @@ function Xr({
4115
4123
  "button",
4116
4124
  {
4117
4125
  type: "button",
4118
- "aria-expanded": H,
4126
+ "aria-expanded": Z,
4119
4127
  "aria-controls": `accordion-content-${M.id}`,
4120
4128
  className: [
4121
4129
  E.accordionToggle,
4122
- H ? E.accordionToggleExpanded : ""
4130
+ Z ? E.accordionToggleExpanded : ""
4123
4131
  ].filter(Boolean).join(" "),
4124
4132
  onClick: (U) => {
4125
4133
  U.stopPropagation(), S(M.id);
@@ -4138,7 +4146,7 @@ function Xr({
4138
4146
  n2,
4139
4147
  {
4140
4148
  size: "small",
4141
- checked: k,
4149
+ checked: R,
4142
4150
  disabled: !N,
4143
4151
  onChange: (U) => M.toggleSelected(U)
4144
4152
  }
@@ -4152,12 +4160,12 @@ function Xr({
4152
4160
  ]
4153
4161
  }
4154
4162
  ),
4155
- A && /* @__PURE__ */ n("tr", { className: E.accordionRow, children: /* @__PURE__ */ n("td", { colSpan: I, className: E.accordionContent, children: /* @__PURE__ */ n(
4163
+ A && /* @__PURE__ */ n("tr", { className: E.accordionRow, children: /* @__PURE__ */ n("td", { colSpan: V, className: E.accordionContent, children: /* @__PURE__ */ n(
4156
4164
  "div",
4157
4165
  {
4158
4166
  className: [
4159
4167
  E.accordionGrid,
4160
- H ? E.accordionGridExpanded : ""
4168
+ Z ? E.accordionGridExpanded : ""
4161
4169
  ].filter(Boolean).join(" "),
4162
4170
  children: /* @__PURE__ */ n("div", { className: E.accordionInner, children: /* @__PURE__ */ n("div", { className: E.accordionBody, children: /* @__PURE__ */ n(
4163
4171
  "div",
@@ -4201,7 +4209,7 @@ const wt = `<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="h
4201
4209
  <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
4210
  <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
4211
  </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 = {
4212
+ `, _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
4213
  pagination: _t,
4206
4214
  withTrailingContent: bt,
4207
4215
  buttonContainer: xt,
@@ -4319,44 +4327,44 @@ function Yr({
4319
4327
  loading: u = !1,
4320
4328
  prevLabel: v = "이전",
4321
4329
  nextLabel: h = "다음",
4322
- jumpLabel: m = "페이지 이동",
4323
- outOfRangeToastText: _,
4330
+ jumpLabel: w = "페이지 이동",
4331
+ outOfRangeToastText: L,
4324
4332
  customStyle: g,
4325
- className: w
4333
+ className: m
4326
4334
  }) {
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]
4335
+ const b = Ot(c), H = Math.max(Number(t) || 0, 0), S = b === "minimize", x = H > 0 ? `${e + 1}` : "", [V, _] = q(x), B = Z1(
4336
+ () => Wt(H, e, b, C),
4337
+ [H, e, b, C]
4330
4338
  );
4331
- z(() => {
4332
- b(x);
4339
+ J(() => {
4340
+ _(x);
4333
4341
  }, [x]);
4334
- const R = (H) => {
4335
- H < 0 || H >= Z || H === e || o(H);
4342
+ const I = (Z) => {
4343
+ Z < 0 || Z >= H || Z === e || o(Z);
4336
4344
  }, M = () => {
4337
- if (!I || Z <= 0) {
4338
- b(x);
4345
+ if (!V || H <= 0) {
4346
+ _(x);
4339
4347
  return;
4340
4348
  }
4341
- const H = Number(I);
4342
- if (!Number.isFinite(H)) {
4343
- b(x);
4349
+ const Z = Number(V);
4350
+ if (!Number.isFinite(Z)) {
4351
+ _(x);
4344
4352
  return;
4345
4353
  }
4346
- if ((H < 1 || H > Z) && _) {
4347
- b(x), c3({ message: _ });
4354
+ if ((Z < 1 || Z > H) && L) {
4355
+ _(x), c3({ message: L });
4348
4356
  return;
4349
4357
  }
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());
4358
+ const A = Math.min(Math.max(Z, 1), H) - 1;
4359
+ I(A), _(`${A + 1}`);
4360
+ }, R = (Z) => {
4361
+ _(Z.target.value.replace(/\D/g, ""));
4362
+ }, N = (Z) => {
4363
+ Z.key === "Enter" && (Z.preventDefault(), M());
4356
4364
  }, y = [
4357
- J.pagination,
4358
- a ? J.withTrailingContent : "",
4359
- w ?? ""
4365
+ z.pagination,
4366
+ a ? z.withTrailingContent : "",
4367
+ m ?? ""
4360
4368
  ].filter(Boolean).join(" ");
4361
4369
  return /* @__PURE__ */ p(
4362
4370
  "div",
@@ -4372,8 +4380,8 @@ function Yr({
4372
4380
  "div",
4373
4381
  {
4374
4382
  className: [
4375
- J.buttonContainer,
4376
- S ? J.minimizeButtonContainer : ""
4383
+ z.buttonContainer,
4384
+ S ? z.minimizeButtonContainer : ""
4377
4385
  ].filter(Boolean).join(" "),
4378
4386
  children: [
4379
4387
  /* @__PURE__ */ n(
@@ -4384,35 +4392,35 @@ function Yr({
4384
4392
  onClick: s,
4385
4393
  disabled: u || !l,
4386
4394
  customStyle: f2(u || !l),
4387
- children: /* @__PURE__ */ p("div", { className: J.arrowButtonContent, children: [
4395
+ children: /* @__PURE__ */ p("div", { className: z.arrowButtonContent, children: [
4388
4396
  /* @__PURE__ */ n(k9, { svg: wt }),
4389
4397
  !S && /* @__PURE__ */ n(
4390
4398
  "span",
4391
4399
  {
4392
- className: `${J.arrowButtonLabel} ${J.previousButtonLabel}`,
4400
+ className: `${z.arrowButtonLabel} ${z.previousButtonLabel}`,
4393
4401
  children: v
4394
4402
  }
4395
4403
  )
4396
4404
  ] })
4397
4405
  }
4398
4406
  ),
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(
4407
+ S ? 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(
4408
+ { length: L9[b] ?? L9.extended },
4409
+ (Z, T) => /* @__PURE__ */ n("span", { className: z.skeletonPage }, T)
4410
+ ) }) : /* @__PURE__ */ n("div", { className: z.pageList, children: B.map(
4411
+ (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
4412
  u9,
4405
4413
  {
4406
4414
  widthType: "flexible",
4407
- onClick: () => R(H.page),
4408
- variant: H.page === e ? "primary" : "secondary",
4415
+ onClick: () => I(Z.page),
4416
+ variant: Z.page === e ? "primary" : "secondary",
4409
4417
  customStyle: {
4410
4418
  ...Gt,
4411
- ...H.page === e ? qt : Z2
4419
+ ...Z.page === e ? qt : Z2
4412
4420
  },
4413
- children: H.page + 1
4421
+ children: Z.page + 1
4414
4422
  }
4415
- ) }, H.page)
4423
+ ) }, Z.page)
4416
4424
  ) }),
4417
4425
  /* @__PURE__ */ n(
4418
4426
  u9,
@@ -4422,11 +4430,11 @@ function Yr({
4422
4430
  onClick: i,
4423
4431
  disabled: u || !r,
4424
4432
  customStyle: f2(u || !r),
4425
- children: /* @__PURE__ */ p("div", { className: J.arrowButtonContent, children: [
4433
+ children: /* @__PURE__ */ p("div", { className: z.arrowButtonContent, children: [
4426
4434
  !S && /* @__PURE__ */ n(
4427
4435
  "span",
4428
4436
  {
4429
- className: `${J.arrowButtonLabel} ${J.nextButtonLabel}`,
4437
+ className: `${z.arrowButtonLabel} ${z.nextButtonLabel}`,
4430
4438
  children: h
4431
4439
  }
4432
4440
  ),
@@ -4440,21 +4448,21 @@ function Yr({
4440
4448
  a && /* @__PURE__ */ p(
4441
4449
  "div",
4442
4450
  {
4443
- className: J.trailingContent,
4451
+ className: z.trailingContent,
4444
4452
  style: d ? { justifySelf: "end", marginLeft: 0 } : void 0,
4445
4453
  children: [
4446
- /* @__PURE__ */ n("span", { className: J.trailingLabel, children: m }),
4454
+ /* @__PURE__ */ n("span", { className: z.trailingLabel, children: w }),
4447
4455
  /* @__PURE__ */ n(
4448
4456
  "input",
4449
4457
  {
4450
4458
  type: "text",
4451
4459
  inputMode: "numeric",
4452
- value: I,
4453
- onChange: k,
4460
+ value: V,
4461
+ onChange: R,
4454
4462
  onKeyDown: N,
4455
4463
  onBlur: M,
4456
- className: J.trailingInput,
4457
- disabled: Z <= 0
4464
+ className: z.trailingInput,
4465
+ disabled: H <= 0
4458
4466
  }
4459
4467
  )
4460
4468
  ]