@scbt-ecom/ui 0.11.2 → 0.12.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/client.js CHANGED
@@ -1,4 +1,4 @@
1
- import { j as b, u as Mt, S as Ph, d as nr, e as Ln, f as ms, h as Je, k as ze, l as gs, m as fE, c as R, I as He, n as Jb, o as pE, D as hE, C as mE, p as gE, q as vE, r as bE, i as yE, t as xE, H as vs, a as Vl, b as CE, v as Bl, w as SE, x as yo, y as wE, E as Ub, F as Dc, G as Nc, J as EE, K as IE, M as AE, N as TE, O as kE, Q as Kb, P as qb, z as ME, g as OE, _ as vi, L as RE, B as qu, A as Qb, R as Mf, s as PE } from "./Advantages-BekdFZ62.js";
1
+ import { j as b, u as Mt, S as Ph, d as nr, e as Ln, f as ms, h as Je, k as ze, l as gs, m as fE, c as O, I as He, n as Jb, o as pE, D as hE, C as mE, p as gE, q as vE, r as bE, i as yE, t as xE, H as vs, a as Vl, b as CE, v as Bl, w as SE, x as yo, y as wE, E as Ub, F as Dc, G as Nc, J as EE, K as IE, M as AE, N as TE, O as kE, Q as Kb, P as qb, z as ME, g as OE, _ as vi, L as RE, B as qu, A as Qb, R as Mf, s as PE } from "./Advantages-BekdFZ62.js";
2
2
  import * as w from "react";
3
3
  import Y, { useCallback as he, useSyncExternalStore as Qu, createContext as tt, useContext as Me, useId as gn, useEffect as Oe, Component as ey, useLayoutEffect as to, useRef as fe, useInsertionEffect as ty, useMemo as Ie, forwardRef as rr, Fragment as Xt, createElement as ny, Children as DE, isValidElement as ry, useState as Re, cloneElement as NE, useReducer as Of, createRef as FE, useDebugValue as iy, useImperativeHandle as VE } from "react";
4
4
  import { queryOptions as BE, keepPreviousData as LE, useQuery as jE } from "@tanstack/react-query";
@@ -410,22 +410,22 @@ function xy(t) {
410
410
  }
411
411
  var oI = uy, sI = hy, aI = gy, lI = vy, cI = yy;
412
412
  const Cy = w.forwardRef(
413
- ({ children: t, classes: e, ...n }, r) => /* @__PURE__ */ b.jsx(aI, { className: R("rounded-sm bg-color-primary-light-default", e == null ? void 0 : e.header), children: /* @__PURE__ */ b.jsxs(
413
+ ({ children: t, classes: e, ...n }, r) => /* @__PURE__ */ b.jsx(aI, { className: O("rounded-sm bg-color-primary-light-default", e == null ? void 0 : e.header), children: /* @__PURE__ */ b.jsxs(
414
414
  lI,
415
415
  {
416
416
  ref: r,
417
- className: R(
417
+ className: O(
418
418
  "group flex w-full cursor-pointer items-center justify-between gap-5 rounded-sm border border-solid border-transparent bg-color-transparent px-6 py-5 outline-0 focus:border-primary-default",
419
419
  e == null ? void 0 : e.trigger
420
420
  ),
421
421
  ...n,
422
422
  children: [
423
- /* @__PURE__ */ b.jsx("div", { className: R("desk-body-medium-l text-color-dark", e == null ? void 0 : e.inner), children: t }),
423
+ /* @__PURE__ */ b.jsx("div", { className: O("desk-body-medium-l text-color-dark", e == null ? void 0 : e.inner), children: t }),
424
424
  /* @__PURE__ */ b.jsx(
425
425
  He,
426
426
  {
427
427
  name: "arrows/arrowCircle",
428
- className: R(
428
+ className: O(
429
429
  "size-8 rotate-180 text-icon-blue-grey-800 transition-all group-data-[state=open]:rotate-0",
430
430
  e == null ? void 0 : e.icon
431
431
  )
@@ -436,16 +436,16 @@ const Cy = w.forwardRef(
436
436
  ) })
437
437
  );
438
438
  Cy.displayName = "AccordionHeader";
439
- const uI = ({ children: t, label: e, classes: n, defaultOpen: r }) => /* @__PURE__ */ b.jsx(oI, { className: R("flex flex-col gap-5", n == null ? void 0 : n.accordion), type: "multiple", defaultValue: r, children: /* @__PURE__ */ b.jsxs(sI, { className: R("w-full disabled:text-color-dark", n == null ? void 0 : n.item), value: e.toString(), children: [
439
+ const uI = ({ children: t, label: e, classes: n, defaultOpen: r }) => /* @__PURE__ */ b.jsx(oI, { className: O("flex flex-col gap-5", n == null ? void 0 : n.accordion), type: "multiple", defaultValue: r, children: /* @__PURE__ */ b.jsxs(sI, { className: O("w-full disabled:text-color-dark", n == null ? void 0 : n.item), value: e.toString(), children: [
440
440
  /* @__PURE__ */ b.jsx(Cy, { classes: n, children: e }),
441
441
  /* @__PURE__ */ b.jsx(
442
442
  cI,
443
443
  {
444
- className: R(
444
+ className: O(
445
445
  "desk-body-regular-l overflow-hidden bg-color-transparent text-color-dark transition-all data-[state=closed]:animate-slideUp data-[state=open]:animate-slideDown",
446
446
  n == null ? void 0 : n.content
447
447
  ),
448
- children: /* @__PURE__ */ b.jsx("div", { className: R("p-6", n == null ? void 0 : n.contentInner), children: t })
448
+ children: /* @__PURE__ */ b.jsx("div", { className: O("p-6", n == null ? void 0 : n.contentInner), children: t })
449
449
  }
450
450
  )
451
451
  ] }) });
@@ -1370,24 +1370,24 @@ function ZI(t = {}) {
1370
1370
  });
1371
1371
  }
1372
1372
  }, v = (E, A) => {
1373
- !e.disabled && (u.isValidating || u.validatingFields) && ((E || Array.from(a.mount)).forEach((O) => {
1374
- O && (A ? Ge(n.validatingFields, O, A) : dt(n.validatingFields, O));
1373
+ !e.disabled && (u.isValidating || u.validatingFields) && ((E || Array.from(a.mount)).forEach((R) => {
1374
+ R && (A ? Ge(n.validatingFields, R, A) : dt(n.validatingFields, R));
1375
1375
  }), d.state.next({
1376
1376
  validatingFields: n.validatingFields,
1377
1377
  isValidating: !jt(n.validatingFields)
1378
1378
  }));
1379
- }, y = (E, A = [], O, Q, H = !0, z = !0) => {
1380
- if (Q && O && !e.disabled) {
1379
+ }, y = (E, A = [], R, Q, H = !0, z = !0) => {
1380
+ if (Q && R && !e.disabled) {
1381
1381
  if (s.action = !0, z && Array.isArray(oe(r, E))) {
1382
- const N = O(oe(r, E), Q.argA, Q.argB);
1382
+ const N = R(oe(r, E), Q.argA, Q.argB);
1383
1383
  H && Ge(r, E, N);
1384
1384
  }
1385
1385
  if (z && Array.isArray(oe(n.errors, E))) {
1386
- const N = O(oe(n.errors, E), Q.argA, Q.argB);
1386
+ const N = R(oe(n.errors, E), Q.argA, Q.argB);
1387
1387
  H && Ge(n.errors, E, N), XI(n.errors, E);
1388
1388
  }
1389
1389
  if (u.touchedFields && z && Array.isArray(oe(n.touchedFields, E))) {
1390
- const N = O(oe(n.touchedFields, E), Q.argA, Q.argB);
1390
+ const N = R(oe(n.touchedFields, E), Q.argA, Q.argB);
1391
1391
  H && Ge(n.touchedFields, E, N);
1392
1392
  }
1393
1393
  u.dirtyFields && (n.dirtyFields = lo(i, o)), d.state.next({
@@ -1408,34 +1408,34 @@ function ZI(t = {}) {
1408
1408
  errors: n.errors,
1409
1409
  isValid: !1
1410
1410
  });
1411
- }, x = (E, A, O, Q) => {
1411
+ }, x = (E, A, R, Q) => {
1412
1412
  const H = oe(r, E);
1413
1413
  if (H) {
1414
- const z = oe(o, E, qe(O) ? oe(i, E) : O);
1414
+ const z = oe(o, E, qe(R) ? oe(i, E) : R);
1415
1415
  qe(z) || Q && Q.defaultChecked || A ? Ge(o, E, A ? z : Bc(H._f)) : J(E, z), s.mount && g();
1416
1416
  }
1417
- }, I = (E, A, O, Q, H) => {
1417
+ }, I = (E, A, R, Q, H) => {
1418
1418
  let z = !1, N = !1;
1419
1419
  const Z = {
1420
1420
  name: E
1421
1421
  };
1422
1422
  if (!e.disabled) {
1423
1423
  const pe = !!(oe(r, E) && oe(r, E)._f && oe(r, E)._f.disabled);
1424
- if (!O || Q) {
1424
+ if (!R || Q) {
1425
1425
  u.isDirty && (N = n.isDirty, n.isDirty = Z.isDirty = V(), z = N !== Z.isDirty);
1426
1426
  const Se = pe || hr(oe(i, E), A);
1427
1427
  N = !!(!pe && oe(n.dirtyFields, E)), Se || pe ? dt(n.dirtyFields, E) : Ge(n.dirtyFields, E, !0), Z.dirtyFields = n.dirtyFields, z = z || u.dirtyFields && N !== !Se;
1428
1428
  }
1429
- if (O) {
1429
+ if (R) {
1430
1430
  const Se = oe(n.touchedFields, E);
1431
- Se || (Ge(n.touchedFields, E, O), Z.touchedFields = n.touchedFields, z = z || u.touchedFields && Se !== O);
1431
+ Se || (Ge(n.touchedFields, E, R), Z.touchedFields = n.touchedFields, z = z || u.touchedFields && Se !== R);
1432
1432
  }
1433
1433
  z && H && d.state.next(Z);
1434
1434
  }
1435
1435
  return z ? Z : {};
1436
- }, k = (E, A, O, Q) => {
1436
+ }, k = (E, A, R, Q) => {
1437
1437
  const H = oe(n.errors, E), z = u.isValid && Ht(A) && n.isValid !== A;
1438
- if (e.delayError && O ? (l = m(() => C(E, O)), l(e.delayError)) : (clearTimeout(c), l = null, O ? Ge(n.errors, E, O) : dt(n.errors, E)), (O ? !hr(H, O) : H) || !jt(Q) || z) {
1438
+ if (e.delayError && R ? (l = m(() => C(E, R)), l(e.delayError)) : (clearTimeout(c), l = null, R ? Ge(n.errors, E, R) : dt(n.errors, E)), (R ? !hr(H, R) : H) || !jt(Q) || z) {
1439
1439
  const N = {
1440
1440
  ...Q,
1441
1441
  ...z && Ht(A) ? { isValid: A } : {},
@@ -1454,14 +1454,14 @@ function ZI(t = {}) {
1454
1454
  }, M = async (E) => {
1455
1455
  const { errors: A } = await T(E);
1456
1456
  if (E)
1457
- for (const O of E) {
1458
- const Q = oe(A, O);
1459
- Q ? Ge(n.errors, O, Q) : dt(n.errors, O);
1457
+ for (const R of E) {
1458
+ const Q = oe(A, R);
1459
+ Q ? Ge(n.errors, R, Q) : dt(n.errors, R);
1460
1460
  }
1461
1461
  else
1462
1462
  n.errors = A;
1463
1463
  return A;
1464
- }, L = async (E, A, O = {
1464
+ }, L = async (E, A, R = {
1465
1465
  valid: !0
1466
1466
  }) => {
1467
1467
  for (const Q in E) {
@@ -1472,23 +1472,23 @@ function ZI(t = {}) {
1472
1472
  const Z = a.array.has(z.name), pe = H._f && HI(H._f);
1473
1473
  pe && u.validatingFields && v([Q], !0);
1474
1474
  const Se = await Gh(H, o, h, e.shouldUseNativeValidation && !A, Z);
1475
- if (pe && u.validatingFields && v([Q]), Se[z.name] && (O.valid = !1, A))
1475
+ if (pe && u.validatingFields && v([Q]), Se[z.name] && (R.valid = !1, A))
1476
1476
  break;
1477
1477
  !A && (oe(Se, z.name) ? Z ? LI(n.errors, Se, z.name) : Ge(n.errors, z.name, Se[z.name]) : dt(n.errors, z.name));
1478
1478
  }
1479
- !jt(N) && await L(N, A, O);
1479
+ !jt(N) && await L(N, A, R);
1480
1480
  }
1481
1481
  }
1482
- return O.valid;
1482
+ return R.valid;
1483
1483
  }, W = () => {
1484
1484
  for (const E of a.unMount) {
1485
1485
  const A = oe(r, E);
1486
- A && (A._f.refs ? A._f.refs.every((O) => !Vc(O)) : !Vc(A._f.ref)) && re(E);
1486
+ A && (A._f.refs ? A._f.refs.every((R) => !Vc(R)) : !Vc(A._f.ref)) && re(E);
1487
1487
  }
1488
1488
  a.unMount = /* @__PURE__ */ new Set();
1489
- }, V = (E, A) => !e.disabled && (E && A && Ge(o, E, A), !hr($(), i)), B = (E, A, O) => jy(E, a, {
1489
+ }, V = (E, A) => !e.disabled && (E && A && Ge(o, E, A), !hr($(), i)), B = (E, A, R) => jy(E, a, {
1490
1490
  ...s.mount ? o : qe(A) ? i : Mn(E) ? { [E]: A } : A
1491
- }, O, A), G = (E) => Xl(oe(s.mount ? o : i, E, e.shouldUnregister ? oe(i, E, []) : [])), J = (E, A, O = {}) => {
1491
+ }, R, A), G = (E) => Xl(oe(s.mount ? o : i, E, e.shouldUnregister ? oe(i, E, []) : [])), J = (E, A, R = {}) => {
1492
1492
  const Q = oe(r, E);
1493
1493
  let H = A;
1494
1494
  if (Q) {
@@ -1498,76 +1498,76 @@ function ZI(t = {}) {
1498
1498
  values: { ...o }
1499
1499
  })));
1500
1500
  }
1501
- (O.shouldDirty || O.shouldTouch) && I(E, H, O.shouldTouch, O.shouldDirty, !0), O.shouldValidate && P(E);
1502
- }, F = (E, A, O) => {
1501
+ (R.shouldDirty || R.shouldTouch) && I(E, H, R.shouldTouch, R.shouldDirty, !0), R.shouldValidate && P(E);
1502
+ }, F = (E, A, R) => {
1503
1503
  for (const Q in A) {
1504
1504
  const H = A[Q], z = `${E}.${Q}`, N = oe(r, z);
1505
- (a.array.has(E) || st(H) || N && !N._f) && !Zr(H) ? F(z, H, O) : J(z, H, O);
1505
+ (a.array.has(E) || st(H) || N && !N._f) && !Zr(H) ? F(z, H, R) : J(z, H, R);
1506
1506
  }
1507
- }, j = (E, A, O = {}) => {
1507
+ }, j = (E, A, R = {}) => {
1508
1508
  const Q = oe(r, E), H = a.array.has(E), z = Lt(A);
1509
1509
  Ge(o, E, z), H ? (d.array.next({
1510
1510
  name: E,
1511
1511
  values: { ...o }
1512
- }), (u.isDirty || u.dirtyFields) && O.shouldDirty && d.state.next({
1512
+ }), (u.isDirty || u.dirtyFields) && R.shouldDirty && d.state.next({
1513
1513
  name: E,
1514
1514
  dirtyFields: lo(i, o),
1515
1515
  isDirty: V(E, z)
1516
- })) : Q && !Q._f && !Dt(z) ? F(E, z, O) : J(E, z, O), Fh(E, a) && d.state.next({ ...n }), d.values.next({
1516
+ })) : Q && !Q._f && !Dt(z) ? F(E, z, R) : J(E, z, R), Fh(E, a) && d.state.next({ ...n }), d.values.next({
1517
1517
  name: s.mount ? E : void 0,
1518
1518
  values: { ...o }
1519
1519
  });
1520
1520
  }, ee = async (E) => {
1521
1521
  s.mount = !0;
1522
1522
  const A = E.target;
1523
- let O = A.name, Q = !0;
1524
- const H = oe(r, O), z = () => A.type ? Bc(H._f) : Dy(E), N = (Z) => {
1525
- Q = Number.isNaN(Z) || Zr(Z) && isNaN(Z.getTime()) || hr(Z, oe(o, O, Z));
1523
+ let R = A.name, Q = !0;
1524
+ const H = oe(r, R), z = () => A.type ? Bc(H._f) : Dy(E), N = (Z) => {
1525
+ Q = Number.isNaN(Z) || Zr(Z) && isNaN(Z.getTime()) || hr(Z, oe(o, R, Z));
1526
1526
  };
1527
1527
  if (H) {
1528
1528
  let Z, pe;
1529
- const Se = z(), Ze = E.type === wa.BLUR || E.type === wa.FOCUS_OUT, xn = !$I(H._f) && !e.resolver && !oe(n.errors, O) && !H._f.deps || WI(Ze, oe(n.touchedFields, O), n.isSubmitted, p, f), qt = Fh(O, a, Ze);
1530
- Ge(o, O, Se), Ze ? (H._f.onBlur && H._f.onBlur(E), l && l(0)) : H._f.onChange && H._f.onChange(E);
1531
- const jn = I(O, Se, Ze, !1), Lr = !jt(jn) || qt;
1529
+ const Se = z(), Ze = E.type === wa.BLUR || E.type === wa.FOCUS_OUT, xn = !$I(H._f) && !e.resolver && !oe(n.errors, R) && !H._f.deps || WI(Ze, oe(n.touchedFields, R), n.isSubmitted, p, f), qt = Fh(R, a, Ze);
1530
+ Ge(o, R, Se), Ze ? (H._f.onBlur && H._f.onBlur(E), l && l(0)) : H._f.onChange && H._f.onChange(E);
1531
+ const jn = I(R, Se, Ze, !1), Lr = !jt(jn) || qt;
1532
1532
  if (!Ze && d.values.next({
1533
- name: O,
1533
+ name: R,
1534
1534
  type: E.type,
1535
1535
  values: { ...o }
1536
1536
  }), xn)
1537
- return u.isValid && (e.mode === "onBlur" ? Ze && g() : g()), Lr && d.state.next({ name: O, ...qt ? {} : jn });
1537
+ return u.isValid && (e.mode === "onBlur" ? Ze && g() : g()), Lr && d.state.next({ name: R, ...qt ? {} : jn });
1538
1538
  if (!Ze && qt && d.state.next({ ...n }), e.resolver) {
1539
- const { errors: Bt } = await T([O]);
1539
+ const { errors: Bt } = await T([R]);
1540
1540
  if (N(Se), Q) {
1541
- const Cn = _h(n.errors, r, O), ar = _h(Bt, r, Cn.name || O);
1542
- Z = ar.error, O = ar.name, pe = jt(Bt);
1541
+ const Cn = _h(n.errors, r, R), ar = _h(Bt, r, Cn.name || R);
1542
+ Z = ar.error, R = ar.name, pe = jt(Bt);
1543
1543
  }
1544
1544
  } else
1545
- v([O], !0), Z = (await Gh(H, o, h, e.shouldUseNativeValidation))[O], v([O]), N(Se), Q && (Z ? pe = !1 : u.isValid && (pe = await L(r, !0)));
1546
- Q && (H._f.deps && P(H._f.deps), k(O, pe, Z, jn));
1545
+ v([R], !0), Z = (await Gh(H, o, h, e.shouldUseNativeValidation))[R], v([R]), N(Se), Q && (Z ? pe = !1 : u.isValid && (pe = await L(r, !0)));
1546
+ Q && (H._f.deps && P(H._f.deps), k(R, pe, Z, jn));
1547
1547
  }
1548
1548
  }, ie = (E, A) => {
1549
1549
  if (oe(n.errors, A) && E.focus)
1550
1550
  return E.focus(), 1;
1551
1551
  }, P = async (E, A = {}) => {
1552
- let O, Q;
1552
+ let R, Q;
1553
1553
  const H = ko(E);
1554
1554
  if (e.resolver) {
1555
1555
  const z = await M(qe(E) ? E : H);
1556
- O = jt(z), Q = E ? !H.some((N) => oe(z, N)) : O;
1556
+ R = jt(z), Q = E ? !H.some((N) => oe(z, N)) : R;
1557
1557
  } else E ? (Q = (await Promise.all(H.map(async (z) => {
1558
1558
  const N = oe(r, z);
1559
1559
  return await L(N && N._f ? { [z]: N } : N);
1560
- }))).every(Boolean), !(!Q && !n.isValid) && g()) : Q = O = await L(r);
1560
+ }))).every(Boolean), !(!Q && !n.isValid) && g()) : Q = R = await L(r);
1561
1561
  return d.state.next({
1562
- ...!Mn(E) || u.isValid && O !== n.isValid ? {} : { name: E },
1563
- ...e.resolver || !E ? { isValid: O } : {},
1562
+ ...!Mn(E) || u.isValid && R !== n.isValid ? {} : { name: E },
1563
+ ...e.resolver || !E ? { isValid: R } : {},
1564
1564
  errors: n.errors
1565
1565
  }), A.shouldFocus && !Q && Mo(r, ie, E ? H : a.mount), Q;
1566
1566
  }, $ = (E) => {
1567
1567
  const A = {
1568
1568
  ...s.mount ? o : i
1569
1569
  };
1570
- return qe(E) ? A : Mn(E) ? oe(A, E) : E.map((O) => oe(A, O));
1570
+ return qe(E) ? A : Mn(E) ? oe(A, E) : E.map((R) => oe(A, R));
1571
1571
  }, X = (E, A) => ({
1572
1572
  invalid: !!oe((A || n).errors, E),
1573
1573
  isDirty: !!oe((A || n).dirtyFields, E),
@@ -1578,7 +1578,7 @@ function ZI(t = {}) {
1578
1578
  E && ko(E).forEach((A) => dt(n.errors, A)), d.state.next({
1579
1579
  errors: E ? n.errors : {}
1580
1580
  });
1581
- }, ne = (E, A, O) => {
1581
+ }, ne = (E, A, R) => {
1582
1582
  const Q = (oe(r, E, { _f: {} })._f || {}).ref, H = oe(n.errors, E) || {}, { ref: z, message: N, type: Z, ...pe } = H;
1583
1583
  Ge(n.errors, E, {
1584
1584
  ...pe,
@@ -1588,36 +1588,36 @@ function ZI(t = {}) {
1588
1588
  name: E,
1589
1589
  errors: n.errors,
1590
1590
  isValid: !1
1591
- }), O && O.shouldFocus && Q && Q.focus && Q.focus();
1591
+ }), R && R.shouldFocus && Q && Q.focus && Q.focus();
1592
1592
  }, ae = (E, A) => kn(E) ? d.values.subscribe({
1593
- next: (O) => E(B(void 0, A), O)
1593
+ next: (R) => E(B(void 0, A), R)
1594
1594
  }) : B(E, A, !0), re = (E, A = {}) => {
1595
- for (const O of E ? ko(E) : a.mount)
1596
- a.mount.delete(O), a.array.delete(O), A.keepValue || (dt(r, O), dt(o, O)), !A.keepError && dt(n.errors, O), !A.keepDirty && dt(n.dirtyFields, O), !A.keepTouched && dt(n.touchedFields, O), !A.keepIsValidating && dt(n.validatingFields, O), !e.shouldUnregister && !A.keepDefaultValue && dt(i, O);
1595
+ for (const R of E ? ko(E) : a.mount)
1596
+ a.mount.delete(R), a.array.delete(R), A.keepValue || (dt(r, R), dt(o, R)), !A.keepError && dt(n.errors, R), !A.keepDirty && dt(n.dirtyFields, R), !A.keepTouched && dt(n.touchedFields, R), !A.keepIsValidating && dt(n.validatingFields, R), !e.shouldUnregister && !A.keepDefaultValue && dt(i, R);
1597
1597
  d.values.next({
1598
1598
  values: { ...o }
1599
1599
  }), d.state.next({
1600
1600
  ...n,
1601
1601
  ...A.keepDirty ? { isDirty: V() } : {}
1602
1602
  }), !A.keepIsValid && g();
1603
- }, se = ({ disabled: E, name: A, field: O, fields: Q, value: H }) => {
1603
+ }, se = ({ disabled: E, name: A, field: R, fields: Q, value: H }) => {
1604
1604
  if (Ht(E) && s.mount || E) {
1605
- const z = E ? void 0 : qe(H) ? Bc(O ? O._f : oe(Q, A)._f) : H;
1605
+ const z = E ? void 0 : qe(H) ? Bc(R ? R._f : oe(Q, A)._f) : H;
1606
1606
  (E || !E && !qe(z)) && Ge(o, A, z), I(A, z, !1, !1, !0);
1607
1607
  }
1608
1608
  }, ce = (E, A = {}) => {
1609
- let O = oe(r, E);
1609
+ let R = oe(r, E);
1610
1610
  const Q = Ht(A.disabled) || Ht(e.disabled);
1611
1611
  return Ge(r, E, {
1612
- ...O || {},
1612
+ ...R || {},
1613
1613
  _f: {
1614
- ...O && O._f ? O._f : { ref: { name: E } },
1614
+ ...R && R._f ? R._f : { ref: { name: E } },
1615
1615
  name: E,
1616
1616
  mount: !0,
1617
1617
  ...A
1618
1618
  }
1619
- }), a.mount.add(E), O ? se({
1620
- field: O,
1619
+ }), a.mount.add(E), R ? se({
1620
+ field: R,
1621
1621
  disabled: Ht(A.disabled) ? A.disabled : e.disabled,
1622
1622
  name: E,
1623
1623
  value: A.value
@@ -1636,13 +1636,13 @@ function ZI(t = {}) {
1636
1636
  onBlur: ee,
1637
1637
  ref: (H) => {
1638
1638
  if (H) {
1639
- ce(E, A), O = oe(r, E);
1640
- const z = qe(H.value) && H.querySelectorAll && H.querySelectorAll("input,select,textarea")[0] || H, N = zI(z), Z = O._f.refs || [];
1641
- if (N ? Z.find((pe) => pe === z) : z === O._f.ref)
1639
+ ce(E, A), R = oe(r, E);
1640
+ const z = qe(H.value) && H.querySelectorAll && H.querySelectorAll("input,select,textarea")[0] || H, N = zI(z), Z = R._f.refs || [];
1641
+ if (N ? Z.find((pe) => pe === z) : z === R._f.ref)
1642
1642
  return;
1643
1643
  Ge(r, E, {
1644
1644
  _f: {
1645
- ...O._f,
1645
+ ...R._f,
1646
1646
  ...N ? {
1647
1647
  refs: [
1648
1648
  ...Z.filter(Vc),
@@ -1654,20 +1654,20 @@ function ZI(t = {}) {
1654
1654
  }
1655
1655
  }), x(E, !1, void 0, z);
1656
1656
  } else
1657
- O = oe(r, E, {}), O._f && (O._f.mount = !1), (e.shouldUnregister || A.shouldUnregister) && !(Ny(a.array, E) && s.action) && a.unMount.add(E);
1657
+ R = oe(r, E, {}), R._f && (R._f.mount = !1), (e.shouldUnregister || A.shouldUnregister) && !(Ny(a.array, E) && s.action) && a.unMount.add(E);
1658
1658
  }
1659
1659
  };
1660
1660
  }, me = () => e.shouldFocusError && Mo(r, ie, a.mount), ye = (E) => {
1661
- Ht(E) && (d.state.next({ disabled: E }), Mo(r, (A, O) => {
1662
- const Q = oe(r, O);
1661
+ Ht(E) && (d.state.next({ disabled: E }), Mo(r, (A, R) => {
1662
+ const Q = oe(r, R);
1663
1663
  Q && (A.disabled = Q._f.disabled || E, Array.isArray(Q._f.refs) && Q._f.refs.forEach((H) => {
1664
1664
  H.disabled = Q._f.disabled || E;
1665
1665
  }));
1666
1666
  }, 0, !1));
1667
- }, Pe = (E, A) => async (O) => {
1667
+ }, Pe = (E, A) => async (R) => {
1668
1668
  let Q;
1669
- if (O && (O.preventDefault && O.preventDefault(), O.persist && O.persist()), e.disabled) {
1670
- A && await A({ ...n.errors }, O);
1669
+ if (R && (R.preventDefault && R.preventDefault(), R.persist && R.persist()), e.disabled) {
1670
+ A && await A({ ...n.errors }, R);
1671
1671
  return;
1672
1672
  }
1673
1673
  let H = Lt(o);
@@ -1683,12 +1683,12 @@ function ZI(t = {}) {
1683
1683
  errors: {}
1684
1684
  });
1685
1685
  try {
1686
- await E(H, O);
1686
+ await E(H, R);
1687
1687
  } catch (z) {
1688
1688
  Q = z;
1689
1689
  }
1690
1690
  } else
1691
- A && await A({ ...n.errors }, O), me(), setTimeout(me);
1691
+ A && await A({ ...n.errors }, R), me(), setTimeout(me);
1692
1692
  if (d.state.next({
1693
1693
  isSubmitted: !0,
1694
1694
  isSubmitting: !1,
@@ -1700,8 +1700,8 @@ function ZI(t = {}) {
1700
1700
  }, D = (E, A = {}) => {
1701
1701
  oe(r, E) && (qe(A.defaultValue) ? j(E, Lt(oe(i, E))) : (j(E, A.defaultValue), Ge(i, E, Lt(A.defaultValue))), A.keepTouched || dt(n.touchedFields, E), A.keepDirty || (dt(n.dirtyFields, E), n.isDirty = A.defaultValue ? V(E, Lt(oe(i, E))) : V()), A.keepError || (dt(n.errors, E), u.isValid && g()), d.state.next({ ...n }));
1702
1702
  }, _e = (E, A = {}) => {
1703
- const O = E ? Lt(E) : i, Q = Lt(O), H = jt(E), z = H ? i : Q;
1704
- if (A.keepDefaultValues || (i = O), !A.keepValues) {
1703
+ const R = E ? Lt(E) : i, Q = Lt(R), H = jt(E), z = H ? i : Q;
1704
+ if (A.keepDefaultValues || (i = R), !A.keepValues) {
1705
1705
  if (A.keepDirtyValues) {
1706
1706
  const N = /* @__PURE__ */ new Set([
1707
1707
  ...a.mount,
@@ -1830,7 +1830,7 @@ function ZI(t = {}) {
1830
1830
  unregister: re,
1831
1831
  setError: ne,
1832
1832
  setFocus: (E, A = {}) => {
1833
- const O = oe(r, E), Q = O && O._f;
1833
+ const R = oe(r, E), Q = R && R._f;
1834
1834
  if (Q) {
1835
1835
  const H = Q.refs ? Q.refs[0] : Q.ref;
1836
1836
  H.focus && (H.focus(), A.shouldSelect && kn(H.select) && H.select());
@@ -1977,12 +1977,12 @@ const Q$ = ({ schema: t, ...e }) => JI({
1977
1977
  }) => {
1978
1978
  const [c, u] = w.useState(!1), d = w.useRef(null), { isMobile: f } = Wl();
1979
1979
  return Ry(d, () => u(!1)), /* @__PURE__ */ b.jsx(TI, { children: /* @__PURE__ */ b.jsx(kI, { open: c, onOpenChange: u, defaultOpen: s, delayDuration: n, children: /* @__PURE__ */ b.jsxs("div", { onClick: () => u(!!f), children: [
1980
- /* @__PURE__ */ b.jsx(MI, { asChild: !0, className: R("cursor-pointer", a == null ? void 0 : a.trigger), children: t }),
1980
+ /* @__PURE__ */ b.jsx(MI, { asChild: !0, className: O("cursor-pointer", a == null ? void 0 : a.trigger), children: t }),
1981
1981
  /* @__PURE__ */ b.jsxs(
1982
1982
  OI,
1983
1983
  {
1984
1984
  onPointerDownOutside: (p) => p.preventDefault(),
1985
- className: R(
1985
+ className: O(
1986
1986
  "desk-body-regular-m w-48 origin-center animate-scale-in rounded-sm bg-color-white p-4 text-color-dark shadow-sm",
1987
1987
  a == null ? void 0 : a.content
1988
1988
  ),
@@ -1993,7 +1993,7 @@ const Q$ = ({ schema: t, ...e }) => JI({
1993
1993
  ...l,
1994
1994
  children: [
1995
1995
  e,
1996
- /* @__PURE__ */ b.jsx(RI, { width: 12, height: 6, className: R("fill-white", a == null ? void 0 : a.arrow) })
1996
+ /* @__PURE__ */ b.jsx(RI, { width: 12, height: 6, className: O("fill-white", a == null ? void 0 : a.arrow) })
1997
1997
  ]
1998
1998
  }
1999
1999
  )
@@ -2357,13 +2357,13 @@ const tW = ({ renderContent: t, defaultActiveTabId: e = "1", value: n, onChangeT
2357
2357
  value: n,
2358
2358
  onValueChange: r,
2359
2359
  defaultValue: e,
2360
- className: R("flex flex-col", i == null ? void 0 : i.root),
2360
+ className: O("flex flex-col", i == null ? void 0 : i.root),
2361
2361
  children: [
2362
- /* @__PURE__ */ b.jsx(bA, { "aria-label": "Manage your account", className: R("flex items-center gap-4", i == null ? void 0 : i.list), children: (o = t == null ? void 0 : t.triggers) == null ? void 0 : o.map(({ id: a, label: l }) => /* @__PURE__ */ b.jsx(
2362
+ /* @__PURE__ */ b.jsx(bA, { "aria-label": "Manage your account", className: O("flex items-center gap-4", i == null ? void 0 : i.list), children: (o = t == null ? void 0 : t.triggers) == null ? void 0 : o.map(({ id: a, label: l }) => /* @__PURE__ */ b.jsx(
2363
2363
  yA,
2364
2364
  {
2365
2365
  value: a,
2366
- className: R(
2366
+ className: O(
2367
2367
  'desk-body-regular-l cursor-pointer rounded-sm bg-color-blue-grey-100 px-4 py-2 text-color-secondary outline outline-2 outline-offset-2 outline-transparent transition-colors hover:bg-color-blue-grey-200 hover:text-color-secondary data-[state="active"]:!bg-color-primary-default data-[state="active"]:!text-color-white',
2368
2368
  i == null ? void 0 : i.trigger
2369
2369
  ),
@@ -2371,7 +2371,7 @@ const tW = ({ renderContent: t, defaultActiveTabId: e = "1", value: n, onChangeT
2371
2371
  },
2372
2372
  a
2373
2373
  )) }),
2374
- /* @__PURE__ */ b.jsx("div", { className: R("flex flex-col gap-4", i == null ? void 0 : i.contentsWrapper), children: (s = t == null ? void 0 : t.contents) == null ? void 0 : s.map(({ id: a, body: l, accordion: c }) => c && (c != null && c.title) ? /* @__PURE__ */ b.jsx($h, { value: a, className: R("py-8", i == null ? void 0 : i.content), children: /* @__PURE__ */ b.jsx(uI, { label: c == null ? void 0 : c.title, children: l }) }, a) : /* @__PURE__ */ b.jsx($h, { value: a, className: R("py-8", i == null ? void 0 : i.content), children: l }, a)) })
2374
+ /* @__PURE__ */ b.jsx("div", { className: O("flex flex-col gap-4", i == null ? void 0 : i.contentsWrapper), children: (s = t == null ? void 0 : t.contents) == null ? void 0 : s.map(({ id: a, body: l, accordion: c }) => c && (c != null && c.title) ? /* @__PURE__ */ b.jsx($h, { value: a, className: O("py-8", i == null ? void 0 : i.content), children: /* @__PURE__ */ b.jsx(uI, { label: c == null ? void 0 : c.title, children: l }) }, a) : /* @__PURE__ */ b.jsx($h, { value: a, className: O("py-8", i == null ? void 0 : i.content), children: l }, a)) })
2375
2375
  ]
2376
2376
  }
2377
2377
  );
@@ -7152,14 +7152,14 @@ const _O = ({ children: t, exitBeforeEnter: e, custom: n, initial: r = !0, onExi
7152
7152
  animate: { opacity: 1, scale: 1 },
7153
7153
  exit: { opacity: 0, scale: 0 },
7154
7154
  transition: { duration: 0.3, ease: "easeInOut" }
7155
- }, WO = ({ title: t, closeModal: e, classes: n }) => /* @__PURE__ */ b.jsxs("div", { className: R("flex items-start justify-between gap-4", n == null ? void 0 : n.header), children: [
7156
- t && /* @__PURE__ */ b.jsx(vs, { as: "h3", className: R("flex-1 text-color-dark", n == null ? void 0 : n.title), children: t }),
7155
+ }, WO = ({ title: t, closeModal: e, classes: n }) => /* @__PURE__ */ b.jsxs("div", { className: O("flex items-start justify-between gap-4", n == null ? void 0 : n.header), children: [
7156
+ t && /* @__PURE__ */ b.jsx(vs, { as: "h3", className: O("flex-1 text-color-dark", n == null ? void 0 : n.title), children: t }),
7157
7157
  /* @__PURE__ */ b.jsx(
7158
7158
  He,
7159
7159
  {
7160
7160
  onClick: e,
7161
7161
  name: "general/close",
7162
- className: R("size-8 cursor-pointer text-icon-dark-hover", n == null ? void 0 : n.icon)
7162
+ className: O("size-8 cursor-pointer text-icon-dark-hover", n == null ? void 0 : n.icon)
7163
7163
  }
7164
7164
  )
7165
7165
  ] }), iW = ({
@@ -7176,7 +7176,7 @@ const _O = ({ children: t, exitBeforeEnter: e, custom: n, initial: r = !0, onExi
7176
7176
  {
7177
7177
  tabIndex: -1,
7178
7178
  onClick: o,
7179
- className: R(
7179
+ className: O(
7180
7180
  "z-1000 fixed inset-0 flex h-screen w-screen items-center justify-center bg-color-overlay",
7181
7181
  s == null ? void 0 : s.overlay
7182
7182
  ),
@@ -7188,14 +7188,14 @@ const _O = ({ children: t, exitBeforeEnter: e, custom: n, initial: r = !0, onExi
7188
7188
  rg.div,
7189
7189
  {
7190
7190
  onClick: (c) => c.stopPropagation(),
7191
- className: R(
7191
+ className: O(
7192
7192
  "w-full max-w-[600px] rounded-md bg-color-white px-4 py-6 shadow-sm desktop:px-6 desktop:py-8",
7193
7193
  s == null ? void 0 : s.modal
7194
7194
  ),
7195
7195
  ...$O,
7196
7196
  children: [
7197
7197
  /* @__PURE__ */ b.jsx(WO, { title: t, closeModal: o, classes: s }),
7198
- /* @__PURE__ */ b.jsx("div", { className: R("mt-4", s == null ? void 0 : s.content), children: e })
7198
+ /* @__PURE__ */ b.jsx("div", { className: O("mt-4", s == null ? void 0 : s.content), children: e })
7199
7199
  ]
7200
7200
  }
7201
7201
  )
@@ -7591,7 +7591,7 @@ const FR = Vl(
7591
7591
  intent: "info"
7592
7592
  }
7593
7593
  }
7594
- ), ag = ({ intent: t, text: e, customIcon: n, closure: r = !0, content: i, id: o }) => /* @__PURE__ */ b.jsxs("div", { className: R(FR({ intent: t })), children: [
7594
+ ), ag = ({ intent: t, text: e, customIcon: n, closure: r = !0, content: i, id: o }) => /* @__PURE__ */ b.jsxs("div", { className: O(FR({ intent: t })), children: [
7595
7595
  /* @__PURE__ */ b.jsxs("div", { className: "flex items-center gap-2", children: [
7596
7596
  /* @__PURE__ */ b.jsx("span", { className: "size-6", children: n }),
7597
7597
  /* @__PURE__ */ b.jsx("div", { className: "desk-body-regular-m text-color-white", children: e })
@@ -7626,11 +7626,11 @@ const FR = Vl(
7626
7626
  }
7627
7627
  }
7628
7628
  );
7629
- }, BR = ({ keyList: t, classes: e }) => /* @__PURE__ */ b.jsx("div", { className: R("flex items-center gap-1", e == null ? void 0 : e.root), children: t == null ? void 0 : t.map((n, r) => /* @__PURE__ */ b.jsxs("div", { className: R("flex items-center gap-1", e == null ? void 0 : e.keys), children: [
7629
+ }, BR = ({ keyList: t, classes: e }) => /* @__PURE__ */ b.jsx("div", { className: O("flex items-center gap-1", e == null ? void 0 : e.root), children: t == null ? void 0 : t.map((n, r) => /* @__PURE__ */ b.jsxs("div", { className: O("flex items-center gap-1", e == null ? void 0 : e.keys), children: [
7630
7630
  /* @__PURE__ */ b.jsx(
7631
7631
  "span",
7632
7632
  {
7633
- className: R(
7633
+ className: O(
7634
7634
  "desk-body-regular-s rounded-sm border border-solid border-warm-grey-200 px-2 py-1 capitalize",
7635
7635
  e == null ? void 0 : e.key
7636
7636
  ),
@@ -7650,10 +7650,10 @@ const FR = Vl(
7650
7650
  defaultVariants: {
7651
7651
  size: "full"
7652
7652
  }
7653
- }), xi = ({ size: t, className: e, children: n }) => /* @__PURE__ */ b.jsx("div", { className: R(LR({ size: t }), e), children: n }), jR = ({ badge: t, withValidateIcons: e, isValid: n, isInvalid: r, classes: i }) => /* @__PURE__ */ b.jsxs(b.Fragment, { children: [
7654
- n && e && /* @__PURE__ */ b.jsx(He, { name: "general/check", className: R("size-6 text-icon-positive-default", i == null ? void 0 : i.successIcon) }),
7655
- r && e && /* @__PURE__ */ b.jsx(He, { name: "info/warningCircle", className: R("size-5 text-icon-secondary-default", i == null ? void 0 : i.errorIcon) }),
7656
- t && !n && /* @__PURE__ */ b.jsx(CE, { className: R("bg-color-positive text-color-white", i == null ? void 0 : i.badge), children: t })
7653
+ }), xi = ({ size: t, className: e, children: n }) => /* @__PURE__ */ b.jsx("div", { className: O(LR({ size: t }), e), children: n }), jR = ({ badge: t, withValidateIcons: e, isValid: n, isInvalid: r, classes: i }) => /* @__PURE__ */ b.jsxs(b.Fragment, { children: [
7654
+ n && e && /* @__PURE__ */ b.jsx(He, { name: "general/check", className: O("size-6 text-icon-positive-default", i == null ? void 0 : i.successIcon) }),
7655
+ r && e && /* @__PURE__ */ b.jsx(He, { name: "info/warningCircle", className: O("size-5 text-icon-secondary-default", i == null ? void 0 : i.errorIcon) }),
7656
+ t && !n && /* @__PURE__ */ b.jsx(CE, { className: O("bg-color-positive text-color-white", i == null ? void 0 : i.badge), children: t })
7657
7657
  ] }), GR = ({ onClickIcon: t, onKeyDownIcon: e, icon: n, classes: r }) => {
7658
7658
  const i = (t || e) && {
7659
7659
  role: "button",
@@ -7662,7 +7662,7 @@ const FR = Vl(
7662
7662
  onClick: t,
7663
7663
  onKeyDown: e
7664
7664
  };
7665
- return /* @__PURE__ */ b.jsx("span", { ...i, className: R("outline-none", r == null ? void 0 : r.icon), children: n });
7665
+ return /* @__PURE__ */ b.jsx("span", { ...i, className: O("outline-none", r == null ? void 0 : r.icon), children: n });
7666
7666
  }, Is = ({
7667
7667
  badge: t,
7668
7668
  invalid: e,
@@ -7674,7 +7674,7 @@ const FR = Vl(
7674
7674
  classes: a
7675
7675
  }) => {
7676
7676
  const l = !e && n, c = e && n;
7677
- return /* @__PURE__ */ b.jsxs("div", { className: R("mr-4 flex items-center gap-4", a == null ? void 0 : a.fieldAttachmentRoot), children: [
7677
+ return /* @__PURE__ */ b.jsxs("div", { className: O("mr-4 flex items-center gap-4", a == null ? void 0 : a.fieldAttachmentRoot), children: [
7678
7678
  i && /* @__PURE__ */ b.jsx(GR, { icon: i, onClickIcon: o, onKeyDownIcon: s, classes: a }),
7679
7679
  /* @__PURE__ */ b.jsx(
7680
7680
  jR,
@@ -7691,7 +7691,7 @@ const FR = Vl(
7691
7691
  "label",
7692
7692
  {
7693
7693
  htmlFor: e,
7694
- className: R(
7694
+ className: O(
7695
7695
  "desk-body-regular-l pointer-events-none absolute left-4 top-2/4 -translate-y-1/2 text-color-blue-grey-600 transition-all duration-15 group-focus-within:desk-body-regular-s group-focus-within:top-2 group-focus-within:translate-y-0 group-focus-within:bg-color-transparent group-focus-within:text-color-tetriary",
7696
7696
  { "!top-2 translate-y-0 !bg-color-transparent text-color-tetriary [&&]:desk-body-regular-s": r },
7697
7697
  { "text-color-disabled": t },
@@ -7708,7 +7708,7 @@ const FR = Vl(
7708
7708
  ), As = ({ children: t, error: e, disabled: n, classes: r, label: i, value: o, fieldId: s }) => /* @__PURE__ */ b.jsxs(
7709
7709
  "div",
7710
7710
  {
7711
- className: R(
7711
+ className: O(
7712
7712
  "relative flex items-center justify-between rounded-sm border border-solid border-transparent bg-color-blue-grey-100 transition-colors hover:bg-color-blue-grey-200 focus:outline-blue-grey-800 active:bg-color-blue-grey-100 group-focus-within:border-blue-grey-800",
7713
7713
  { "!border-negative": e },
7714
7714
  { "!bg-color-blue-grey-100": n },
@@ -7733,7 +7733,7 @@ const FR = Vl(
7733
7733
  defaultVariants: {
7734
7734
  intent: "simple"
7735
7735
  }
7736
- }), Ut = ({ intent: t, as: e = "p", disabled: n, text: r, className: i, ...o }) => r ? /* @__PURE__ */ b.jsx(e, { className: R(zR({ intent: t, disabled: n }), i), ...o, children: r }) : null, sW = ({
7736
+ }), Ut = ({ intent: t, as: e = "p", disabled: n, text: r, className: i, ...o }) => r ? /* @__PURE__ */ b.jsx(e, { className: O(zR({ intent: t, disabled: n }), i), ...o, children: r }) : null, sW = ({
7737
7737
  label: t,
7738
7738
  helperText: e,
7739
7739
  control: n,
@@ -7775,7 +7775,7 @@ const FR = Vl(
7775
7775
  onChange: (S) => {
7776
7776
  m(S), p(d.name);
7777
7777
  },
7778
- className: R(
7778
+ className: O(
7779
7779
  "desk-body-regular-l h-[56px] w-full rounded-md bg-color-transparent px-4 pt-5 text-color-dark outline-none transition-all",
7780
7780
  o == null ? void 0 : o.input
7781
7781
  ),
@@ -8100,17 +8100,17 @@ function Kx(t) {
8100
8100
  }, X = function(te, E, A) {
8101
8101
  return Va(te, E, y(te), A);
8102
8102
  }, _ = function(te, E, A) {
8103
- var O = y(E), Q = qR(E, T, te, A, O, C, S);
8104
- return Q = Va(E, Q, O), Q;
8103
+ var R = y(E), Q = qR(E, T, te, A, R, C, S);
8104
+ return Q = Va(E, Q, R), Q;
8105
8105
  }, ne = function(te) {
8106
8106
  var E = te.formattedValue;
8107
8107
  E === void 0 && (E = "");
8108
- var A = te.input, O = te.source, Q = te.event, H = te.numAsString, z;
8108
+ var A = te.input, R = te.source, Q = te.event, H = te.numAsString, z;
8109
8109
  if (A) {
8110
8110
  var N = te.inputValue || A.value, Z = qc(A);
8111
8111
  A.value = E, z = _(N, E, Z), z !== void 0 && $(A, z, E);
8112
8112
  }
8113
- E !== T && B(P(E, H), { event: Q, source: O });
8113
+ E !== T && B(P(E, H), { event: Q, source: R });
8114
8114
  };
8115
8115
  Oe(function() {
8116
8116
  var te = V.current, E = te.formattedValue, A = te.numAsString;
@@ -8128,7 +8128,7 @@ function Kx(t) {
8128
8128
  }
8129
8129
  }, [T]);
8130
8130
  var se = function(te, E, A) {
8131
- var O = E.target, Q = W.current ? ZR(W.current, O.selectionEnd) : Yx(T, te), H = Object.assign(Object.assign({}, Q), { lastValue: T }), z = a(te, H), N = ie(z);
8131
+ var R = E.target, Q = W.current ? ZR(W.current, R.selectionEnd) : Yx(T, te), H = Object.assign(Object.assign({}, Q), { lastValue: T }), z = a(te, H), N = ie(z);
8132
8132
  if (z = a(N, void 0), d && !d(P(N, z))) {
8133
8133
  var Z = E.target, pe = qc(Z), Se = _(te, T, pe);
8134
8134
  return Z.value = T, $(Z, Se, T), !1;
@@ -8143,20 +8143,20 @@ function Kx(t) {
8143
8143
  }), !0;
8144
8144
  }, ce = function(te, E) {
8145
8145
  E === void 0 && (E = 0);
8146
- var A = te.selectionStart, O = te.selectionEnd;
8147
- W.current = { selectionStart: A, selectionEnd: O + E };
8146
+ var A = te.selectionStart, R = te.selectionEnd;
8147
+ W.current = { selectionStart: A, selectionEnd: R + E };
8148
8148
  }, me = function(te) {
8149
- var E = te.target, A = E.value, O = se(A, te, Uo.event);
8150
- O && f(te), W.current = void 0;
8149
+ var E = te.target, A = E.value, R = se(A, te, Uo.event);
8150
+ R && f(te), W.current = void 0;
8151
8151
  }, ye = function(te) {
8152
- var E = te.target, A = te.key, O = E.selectionStart, Q = E.selectionEnd, H = E.value;
8152
+ var E = te.target, A = te.key, R = E.selectionStart, Q = E.selectionEnd, H = E.value;
8153
8153
  H === void 0 && (H = "");
8154
8154
  var z;
8155
- A === "ArrowLeft" || A === "Backspace" ? z = Math.max(O - 1, 0) : A === "ArrowRight" ? z = Math.min(O + 1, H.length) : A === "Delete" && (z = O);
8155
+ A === "ArrowLeft" || A === "Backspace" ? z = Math.max(R - 1, 0) : A === "ArrowRight" ? z = Math.min(R + 1, H.length) : A === "Delete" && (z = R);
8156
8156
  var N = 0;
8157
- A === "Delete" && O === Q && (N = 1);
8157
+ A === "Delete" && R === Q && (N = 1);
8158
8158
  var Z = A === "ArrowLeft" || A === "ArrowRight";
8159
- if (z === void 0 || O !== Q && !Z) {
8159
+ if (z === void 0 || R !== Q && !Z) {
8160
8160
  p(te), ce(E, N);
8161
8161
  return;
8162
8162
  }
@@ -8168,10 +8168,10 @@ function Kx(t) {
8168
8168
  pe !== z && $(E, pe, H), p(te), ce(E, N);
8169
8169
  }, Pe = function(te) {
8170
8170
  var E = te.target, A = function() {
8171
- var O = E.selectionStart, Q = E.selectionEnd, H = E.value;
8172
- if (H === void 0 && (H = ""), O === Q) {
8173
- var z = X(H, O);
8174
- z !== O && $(E, z, H);
8171
+ var R = E.selectionStart, Q = E.selectionEnd, H = E.value;
8172
+ if (H === void 0 && (H = ""), R === Q) {
8173
+ var z = X(H, R);
8174
+ z !== R && $(E, z, H);
8175
8175
  }
8176
8176
  };
8177
8177
  A(), requestAnimationFrame(function() {
@@ -8181,10 +8181,10 @@ function Kx(t) {
8181
8181
  te.persist && te.persist();
8182
8182
  var E = te.target, A = te.currentTarget;
8183
8183
  j.current = E, ee.current.focusTimeout = setTimeout(function() {
8184
- var O = E.selectionStart, Q = E.selectionEnd, H = E.value;
8184
+ var R = E.selectionStart, Q = E.selectionEnd, H = E.value;
8185
8185
  H === void 0 && (H = "");
8186
- var z = X(H, O);
8187
- z !== O && !(O === 0 && Q === H.length) && $(E, z, H), m(Object.assign(Object.assign({}, te), { currentTarget: A }));
8186
+ var z = X(H, R);
8187
+ z !== R && !(R === 0 && Q === H.length) && $(E, z, H), m(Object.assign(Object.assign({}, te), { currentTarget: A }));
8188
8188
  }, 0);
8189
8189
  }, _e = function(te) {
8190
8190
  j.current = null, clearTimeout(ee.current.focusTimeout), clearTimeout(ee.current.setCaretTimeout), g(te);
@@ -8554,7 +8554,7 @@ const gP = (t, e) => ({ onValueChange: ({ inputValue: s, onChange: a, source: l
8554
8554
  onFocus: (F) => k({ event: F, setShowMask: C }),
8555
8555
  onBlur: (F) => T({ event: F, setShowMask: C, hookFormBlur: W }),
8556
8556
  getInputRef: V,
8557
- className: R(
8557
+ className: O(
8558
8558
  "desk-body-regular-l h-[56px] w-full rounded-md bg-color-transparent px-4 pt-5 text-color-dark outline-none transition-all",
8559
8559
  c == null ? void 0 : c.input
8560
8560
  ),
@@ -8726,12 +8726,12 @@ const cW = ({
8726
8726
  {
8727
8727
  name: o.name,
8728
8728
  control: t,
8729
- render: ({ field: { onChange: a, value: l, ...c }, fieldState: { error: u } }) => /* @__PURE__ */ b.jsxs("div", { className: R("flex max-w-[450px] flex-col", i == null ? void 0 : i.root), children: [
8730
- /* @__PURE__ */ b.jsxs("div", { className: R("flex items-center gap-2", i == null ? void 0 : i.wrapper), children: [
8729
+ render: ({ field: { onChange: a, value: l, ...c }, fieldState: { error: u } }) => /* @__PURE__ */ b.jsxs("div", { className: O("flex max-w-[450px] flex-col", i == null ? void 0 : i.root), children: [
8730
+ /* @__PURE__ */ b.jsxs("div", { className: O("flex items-center gap-2", i == null ? void 0 : i.wrapper), children: [
8731
8731
  /* @__PURE__ */ b.jsx(
8732
8732
  "div",
8733
8733
  {
8734
- className: R(
8734
+ className: O(
8735
8735
  "flex size-10 items-center justify-center rounded-full transition-all focus-within:bg-color-primary-tr-focus hover:bg-color-primary-tr-hover",
8736
8736
  i == null ? void 0 : i.field,
8737
8737
  { "!bg-color-transparent": r }
@@ -8745,7 +8745,7 @@ const cW = ({
8745
8745
  disabled: r,
8746
8746
  defaultChecked: l,
8747
8747
  checked: l,
8748
- className: R(
8748
+ className: O(
8749
8749
  "flex size-6 cursor-pointer items-center justify-center rounded-sm border border-solid border-blue-grey-700 outline-none active:bg-color-primary-tr-pressed disabled:border-transparent data-[state=checked]:bg-color-primary-default data-[state=checked]:disabled:bg-color-primary-disabled data-[state=unchecked]:disabled:bg-color-blue-grey-300",
8750
8750
  { "!border-negative": !!(u != null && u.message) },
8751
8751
  i == null ? void 0 : i.input
@@ -8755,8 +8755,8 @@ const cW = ({
8755
8755
  children: /* @__PURE__ */ b.jsx(
8756
8756
  SP,
8757
8757
  {
8758
- className: R("flex items-center justify-center data-[state=checked]:text-icon-white", i == null ? void 0 : i.indicator),
8759
- children: /* @__PURE__ */ b.jsx(He, { name: "general/check", className: R("size-5", i == null ? void 0 : i.icon) })
8758
+ className: O("flex items-center justify-center data-[state=checked]:text-icon-white", i == null ? void 0 : i.indicator),
8759
+ children: /* @__PURE__ */ b.jsx(He, { name: "general/check", className: O("size-5", i == null ? void 0 : i.icon) })
8760
8760
  }
8761
8761
  )
8762
8762
  }
@@ -8766,7 +8766,7 @@ const cW = ({
8766
8766
  /* @__PURE__ */ b.jsx(
8767
8767
  "label",
8768
8768
  {
8769
- className: R(
8769
+ className: O(
8770
8770
  "desk-body-regular-m flex-1 cursor-pointer text-color-dark",
8771
8771
  { "text-color-disabled": r },
8772
8772
  i == null ? void 0 : i.label
@@ -8905,7 +8905,7 @@ const dW = ({
8905
8905
  {
8906
8906
  name: o.name,
8907
8907
  control: n,
8908
- render: ({ field: { onChange: a, value: l, ...c }, fieldState: { error: u } }) => /* @__PURE__ */ b.jsxs("div", { className: R("flex items-center gap-2", e == null ? void 0 : e.root), children: [
8908
+ render: ({ field: { onChange: a, value: l, ...c }, fieldState: { error: u } }) => /* @__PURE__ */ b.jsxs("div", { className: O("flex items-center gap-2", e == null ? void 0 : e.root), children: [
8909
8909
  /* @__PURE__ */ b.jsx(
8910
8910
  TP,
8911
8911
  {
@@ -8914,7 +8914,7 @@ const dW = ({
8914
8914
  onCheckedChange: a,
8915
8915
  value: l,
8916
8916
  checked: l,
8917
- className: R(
8917
+ className: O(
8918
8918
  "h-6 w-10 rounded-full bg-color-blue-grey-300 p-[2px] outline-2 outline-offset-4 outline-transparent focus:outline-primary-focus data-[state=checked]:bg-color-primary-default hover:data-[state=checked]:bg-color-primary-hover",
8919
8919
  { "data-[state=checked]:!bg-color-primary-disabled data-[state=unchecked]:!bg-color-blue-grey-200": t },
8920
8920
  e == null ? void 0 : e.input
@@ -8925,7 +8925,7 @@ const dW = ({
8925
8925
  kP,
8926
8926
  {
8927
8927
  id: s,
8928
- className: R(
8928
+ className: O(
8929
8929
  "block size-5 rounded-full bg-color-white transition-all duration-200 will-change-transform data-[state=checked]:translate-x-4",
8930
8930
  e == null ? void 0 : e.thumb
8931
8931
  )
@@ -8933,11 +8933,11 @@ const dW = ({
8933
8933
  )
8934
8934
  }
8935
8935
  ),
8936
- /* @__PURE__ */ b.jsxs("div", { className: R("flex flex-col", e == null ? void 0 : e.textBlock), children: [
8936
+ /* @__PURE__ */ b.jsxs("div", { className: O("flex flex-col", e == null ? void 0 : e.textBlock), children: [
8937
8937
  /* @__PURE__ */ b.jsx(
8938
8938
  "label",
8939
8939
  {
8940
- className: R("desk-body-regular-l text-color-dark", { "text-color-disabled": t }, e == null ? void 0 : e.label),
8940
+ className: O("desk-body-regular-l text-color-dark", { "text-color-disabled": t }, e == null ? void 0 : e.label),
8941
8941
  htmlFor: s,
8942
8942
  children: i
8943
8943
  }
@@ -8945,7 +8945,7 @@ const dW = ({
8945
8945
  /* @__PURE__ */ b.jsx(
8946
8946
  Ut,
8947
8947
  {
8948
- className: R("mt-0", e == null ? void 0 : e.message),
8948
+ className: O("mt-0", e == null ? void 0 : e.message),
8949
8949
  intent: u != null && u.message ? "error" : "simple",
8950
8950
  text: (u == null ? void 0 : u.message) || r,
8951
8951
  disabled: t
@@ -8980,18 +8980,18 @@ const dW = ({
8980
8980
  /* @__PURE__ */ b.jsxs(
8981
8981
  "div",
8982
8982
  {
8983
- className: R(
8983
+ className: O(
8984
8984
  "relative flex h-[120px] flex-col rounded-sm border border-solid border-transparent bg-color-blue-grey-100 transition-colors hover:bg-color-blue-grey-200 focus:outline-blue-grey-800 active:bg-color-blue-grey-100 group-focus-within:border-blue-grey-800",
8985
8985
  { "!border-negative": m },
8986
8986
  { "!bg-color-blue-grey-100": r },
8987
8987
  o == null ? void 0 : o.field
8988
8988
  ),
8989
8989
  children: [
8990
- /* @__PURE__ */ b.jsxs("div", { className: R("flex items-center justify-between px-4 pt-2", o == null ? void 0 : o.head), children: [
8990
+ /* @__PURE__ */ b.jsxs("div", { className: O("flex items-center justify-between px-4 pt-2", o == null ? void 0 : o.head), children: [
8991
8991
  /* @__PURE__ */ b.jsx(
8992
8992
  "label",
8993
8993
  {
8994
- className: R("desk-body-regular-s text-color-tetriary", { "text-color-disabled": r }, o == null ? void 0 : o.label),
8994
+ className: O("desk-body-regular-s text-color-tetriary", { "text-color-disabled": r }, o == null ? void 0 : o.label),
8995
8995
  htmlFor: p,
8996
8996
  children: t
8997
8997
  }
@@ -9007,20 +9007,20 @@ const dW = ({
9007
9007
  invalid: g,
9008
9008
  isTouched: v,
9009
9009
  classes: {
9010
- fieldAttachmentRoot: R("mr-0", o == null ? void 0 : o.fieldAttachmentRoot),
9010
+ fieldAttachmentRoot: O("mr-0", o == null ? void 0 : o.fieldAttachmentRoot),
9011
9011
  ...o
9012
9012
  }
9013
9013
  }
9014
9014
  )
9015
9015
  ] }),
9016
- /* @__PURE__ */ b.jsx("div", { className: R("flex w-full items-start px-4 py-2", o == null ? void 0 : o.scrollArea), children: /* @__PURE__ */ b.jsx(
9016
+ /* @__PURE__ */ b.jsx("div", { className: O("flex w-full items-start px-4 py-2", o == null ? void 0 : o.scrollArea), children: /* @__PURE__ */ b.jsx(
9017
9017
  "textarea",
9018
9018
  {
9019
9019
  "aria-invalid": m != null && m.message ? "true" : "false",
9020
9020
  id: p,
9021
9021
  disabled: r,
9022
9022
  placeholder: d,
9023
- className: R(
9023
+ className: O(
9024
9024
  "customScrollbar-y desk-body-regular-l h-[78px] w-full flex-1 resize-none rounded-md bg-color-transparent text-color-dark outline-none transition-all placeholder:text-color-blue-grey-600",
9025
9025
  { "placeholder:text-color-disabled": r },
9026
9026
  o == null ? void 0 : o.input
@@ -11726,28 +11726,28 @@ const R2 = (t, e) => {
11726
11726
  z1,
11727
11727
  {
11728
11728
  transition: !0,
11729
- className: R(
11729
+ className: O(
11730
11730
  "scrollHidden absolute top-14 z-50 mt-2 flex w-full flex-col bg-color-white transition-[transform,_opacity] empty:invisible data-[closed]:scale-95 data-[closed]:opacity-0",
11731
11731
  e == null ? void 0 : e.options
11732
11732
  ),
11733
11733
  children: /* @__PURE__ */ b.jsx(
11734
11734
  "div",
11735
11735
  {
11736
- className: R("rounded-sm border border-solid border-blue-grey-700 p-1", {
11736
+ className: O("rounded-sm border border-solid border-blue-grey-700 p-1", {
11737
11737
  "border-transparent p-0": !n
11738
11738
  }),
11739
- children: /* @__PURE__ */ b.jsx("div", { className: R("customScrollbar-y !max-h-[246px] overflow-x-hidden", e == null ? void 0 : e.optionsScrollArea), children: n && /* @__PURE__ */ b.jsx(b.Fragment, { children: t == null ? void 0 : t.map(({ value: r, additionalText: i, isDisabled: o }, s) => /* @__PURE__ */ b.jsx(
11739
+ children: /* @__PURE__ */ b.jsx("div", { className: O("customScrollbar-y !max-h-[246px] overflow-x-hidden", e == null ? void 0 : e.optionsScrollArea), children: n && /* @__PURE__ */ b.jsx(b.Fragment, { children: t == null ? void 0 : t.map(({ value: r, additionalText: i, isDisabled: o }, s) => /* @__PURE__ */ b.jsx(
11740
11740
  _1,
11741
11741
  {
11742
11742
  disabled: o,
11743
11743
  value: r ?? "",
11744
- className: R(
11744
+ className: O(
11745
11745
  "flex max-w-[calc(100%-2px)] cursor-pointer items-center justify-between gap-2 rounded-sm p-2 transition-colors hover:bg-color-primary-tr-hover hover:text-color-primary-hover data-[disabled]:pointer-events-none data-[disabled]:bg-color-blue-grey-100 data-[focus]:bg-color-primary-tr-hover data-[disabled]:text-color-disabled data-[focus]:text-color-primary-hover",
11746
11746
  e == null ? void 0 : e.option
11747
11747
  ),
11748
- children: /* @__PURE__ */ b.jsxs("div", { className: R("flex flex-col gap-1", e == null ? void 0 : e.optionValueView), children: [
11749
- /* @__PURE__ */ b.jsx("p", { className: R("desk-body-regular-l", e == null ? void 0 : e.optionSuggestionValue), children: r }),
11750
- i && /* @__PURE__ */ b.jsx("span", { className: R("desk-body-regular-s text-color-tetriary", e == null ? void 0 : e.optionAdditionalText), children: i })
11748
+ children: /* @__PURE__ */ b.jsxs("div", { className: O("flex flex-col gap-1", e == null ? void 0 : e.optionValueView), children: [
11749
+ /* @__PURE__ */ b.jsx("p", { className: O("desk-body-regular-l", e == null ? void 0 : e.optionSuggestionValue), children: r }),
11750
+ i && /* @__PURE__ */ b.jsx("span", { className: O("desk-body-regular-s text-color-tetriary", e == null ? void 0 : e.optionAdditionalText), children: i })
11751
11751
  ] })
11752
11752
  },
11753
11753
  s
@@ -11806,7 +11806,7 @@ const R2 = (t, e) => {
11806
11806
  onChange: (M) => {
11807
11807
  C(M.target.value), g(M.target.value), p && p();
11808
11808
  },
11809
- className: R(
11809
+ className: O(
11810
11810
  "desk-body-regular-l z-10 h-[56px] w-full rounded-md bg-color-transparent px-4 pt-5 text-color-dark outline-none transition-all",
11811
11811
  a == null ? void 0 : a.input
11812
11812
  ),
@@ -15700,51 +15700,51 @@ var xL = /* @__PURE__ */ rr(function(t, e) {
15700
15700
  }, n));
15701
15701
  }), CL = xL;
15702
15702
  const SL = (t, e, n) => ({
15703
- dropdownIndicator: () => R("absolute top-1/2 right-4 !p-0 -translate-y-1/2", n == null ? void 0 : n.dropdownIndicator),
15704
- indicatorsContainer: () => R("", n == null ? void 0 : n.indicatorsContainer),
15705
- input: () => R(
15703
+ dropdownIndicator: () => O("absolute top-1/2 right-4 !p-0 -translate-y-1/2", n == null ? void 0 : n.dropdownIndicator),
15704
+ indicatorsContainer: () => O("", n == null ? void 0 : n.indicatorsContainer),
15705
+ input: () => O(
15706
15706
  "desk-body-regular-l !p-0 !m-0 z-10 rounded-md bg-color-transparent text-color-dark outline-none transition-all",
15707
15707
  n == null ? void 0 : n.inputCombobox
15708
15708
  ),
15709
- valueContainer: () => R("desk-body-regular-l mr-7 gap-2 !p-0", n == null ? void 0 : n.valueContainer),
15710
- control: () => R(
15709
+ valueContainer: () => O("desk-body-regular-l mr-7 gap-2 !p-0", n == null ? void 0 : n.valueContainer),
15710
+ control: () => O(
15711
15711
  "p-4 !min-h-[56px] !bg-color-transparent !border-transparent transition-colors !shadow-[0px_0px_0px_0px_rgba(0,0,0,0)]",
15712
15712
  { "p-0 pt-5 pl-4": !t },
15713
15713
  n == null ? void 0 : n.controlCombobox
15714
15714
  ),
15715
- container: () => R("w-full !static", n == null ? void 0 : n.containerCombobox),
15716
- menuList: () => R("scrollHidden !customScrollbar-y !max-h-[246px] flex flex-col gap-[2px] overflow-x-hidden p-2", n == null ? void 0 : n.menuList),
15717
- menu: (r) => R(
15715
+ container: () => O("w-full !static", n == null ? void 0 : n.containerCombobox),
15716
+ menuList: () => O("scrollHidden !customScrollbar-y !max-h-[246px] flex flex-col gap-[2px] overflow-x-hidden p-2", n == null ? void 0 : n.menuList),
15717
+ menu: (r) => O(
15718
15718
  "absolute !p-0 top-14 transition-all z-10 mt-2 flex w-full flex-col rounded-md border border-solid border-blue-grey-700 bg-color-white p-2 transition-all empty:invisible !shadow-[0px_0px_0px_0px_rgba(0,0,0,0)]",
15719
15719
  { "scale-100 visible opacity-100": r.selectProps.menuIsOpen },
15720
15720
  { "scale-95 invisible opacity-0": !r.selectProps.menuIsOpen },
15721
15721
  n == null ? void 0 : n.menuCombobox
15722
15722
  ),
15723
- group: () => R("bg-color-positive z-10", n == null ? void 0 : n.groupCombobox),
15724
- option: (r) => R(
15723
+ group: () => O("bg-color-positive z-10", n == null ? void 0 : n.groupCombobox),
15724
+ option: (r) => O(
15725
15725
  "flex !pl-10 cursor-pointer bg-color-initial text-color-initial items-center justify-between gap-2 active:!bg-color-blue-grey-200 rounded-sm px-3 py-3 hover:!bg-color-blue-grey-200 data-[disabled]:pointer-events-none data-[disabled]:!bg-color-blue-grey-100 data-[selected=true]:!bg-color-negative data-[disabled]:!text-color-disabled focus:!bg-color-blue-grey-200 active:!bg-color-blue-grey-200 hover:text-color-primary-hover",
15726
15726
  { "!pl-2": !t },
15727
15727
  { "!bg-color-primary-tr-focus !text-color-primary-hover": r.isSelected },
15728
15728
  { "!bg-color-primary-tr-focus !text-color-primary-hover": r.isFocused },
15729
15729
  n == null ? void 0 : n.optionCombobox
15730
15730
  ),
15731
- noOptionsMessage: () => R("!desk-body-regular-m !text-color-tetriary", n == null ? void 0 : n.noOptionsMessage),
15732
- singleValue: () => R("!m-0", n == null ? void 0 : n.singleValue),
15733
- multiValue: () => R("!bg-color-blue-grey-300 truncate max-w-[300px] !rounded-sm px-[8px] !m-0 py-[5px]", n == null ? void 0 : n.multiValue),
15734
- multiValueLabel: () => R("[&&]:desk-body-regular-l !p-0 pl-[6px] !text-color-secondary", n == null ? void 0 : n.multiValueLabel),
15735
- multiValueRemove: () => R("hover:!bg-color-transparent", n == null ? void 0 : n.multiValueRemove),
15736
- placeholder: () => R("!text-icon-blue-grey-600 !desk-body-regular-l", { "!text-color-disabled": e }, n == null ? void 0 : n.placeholderCombobox),
15737
- indicatorSeparator: () => R("!hidden", n == null ? void 0 : n.indicatorSeparator)
15731
+ noOptionsMessage: () => O("!desk-body-regular-m !text-color-tetriary", n == null ? void 0 : n.noOptionsMessage),
15732
+ singleValue: () => O("!m-0", n == null ? void 0 : n.singleValue),
15733
+ multiValue: () => O("!bg-color-blue-grey-300 truncate max-w-[300px] !rounded-sm px-[8px] !m-0 py-[5px]", n == null ? void 0 : n.multiValue),
15734
+ multiValueLabel: () => O("[&&]:desk-body-regular-l !p-0 pl-[6px] !text-color-secondary", n == null ? void 0 : n.multiValueLabel),
15735
+ multiValueRemove: () => O("hover:!bg-color-transparent", n == null ? void 0 : n.multiValueRemove),
15736
+ placeholder: () => O("!text-icon-blue-grey-600 !desk-body-regular-l", { "!text-color-disabled": e }, n == null ? void 0 : n.placeholderCombobox),
15737
+ indicatorSeparator: () => O("!hidden", n == null ? void 0 : n.indicatorSeparator)
15738
15738
  }), wL = ({ isSelected: t, classes: e, ...n }) => {
15739
15739
  const r = (i) => {
15740
15740
  n.innerProps.onClick && n.innerProps.onClick(i);
15741
15741
  };
15742
- return /* @__PURE__ */ b.jsxs("div", { className: R("relative flex cursor-pointer items-center", e == null ? void 0 : e.optionCustom), children: [
15742
+ return /* @__PURE__ */ b.jsxs("div", { className: O("relative flex cursor-pointer items-center", e == null ? void 0 : e.optionCustom), children: [
15743
15743
  n.isMulti && /* @__PURE__ */ b.jsx(
15744
15744
  "span",
15745
15745
  {
15746
15746
  onClick: r,
15747
- className: R(
15747
+ className: O(
15748
15748
  "absolute left-1 flex size-6 items-center justify-center rounded-sm border-2 border-blue-grey-700",
15749
15749
  { "border-none bg-color-primary-default": t },
15750
15750
  e == null ? void 0 : e.checkboxIsMulti
@@ -15753,7 +15753,7 @@ const SL = (t, e, n) => ({
15753
15753
  He,
15754
15754
  {
15755
15755
  name: "general/check",
15756
- className: R("size-5 text-icon-white", { invisible: !t }, e == null ? void 0 : e.checkboxIsMultiIcon)
15756
+ className: O("size-5 text-icon-white", { invisible: !t }, e == null ? void 0 : e.checkboxIsMultiIcon)
15757
15757
  }
15758
15758
  )
15759
15759
  }
@@ -15764,13 +15764,13 @@ const SL = (t, e, n) => ({
15764
15764
  He,
15765
15765
  {
15766
15766
  name: "arrows/arrowRight",
15767
- className: R(
15767
+ className: O(
15768
15768
  "size-6 rotate-90 text-icon-blue-grey-600 transition-all",
15769
15769
  { "-rotate-90": e.selectProps.menuIsOpen },
15770
15770
  t == null ? void 0 : t.indicatorIcon
15771
15771
  )
15772
15772
  }
15773
- ) }), IL = ({ classes: t, ...e }) => /* @__PURE__ */ b.jsx(pc.MultiValueRemove, { ...e, children: /* @__PURE__ */ b.jsx(He, { name: "general/close", className: R("size-4 text-icon-blue-grey-800", t == null ? void 0 : t.multiRemoveIcon) }) }), xW = ({
15773
+ ) }), IL = ({ classes: t, ...e }) => /* @__PURE__ */ b.jsx(pc.MultiValueRemove, { ...e, children: /* @__PURE__ */ b.jsx(He, { name: "general/close", className: O("size-4 text-icon-blue-grey-800", t == null ? void 0 : t.multiRemoveIcon) }) }), xW = ({
15774
15774
  options: t,
15775
15775
  control: e,
15776
15776
  defaultValue: n,
@@ -15797,7 +15797,7 @@ const SL = (t, e, n) => ({
15797
15797
  /* @__PURE__ */ b.jsxs(
15798
15798
  "div",
15799
15799
  {
15800
- className: R(
15800
+ className: O(
15801
15801
  "relative flex rounded-sm border border-solid border-transparent bg-color-blue-grey-100 transition-colors hover:bg-color-blue-grey-200 focus:outline-blue-grey-800 active:bg-color-blue-grey-100 group-focus-within:border-blue-grey-800",
15802
15802
  { "!border-negative": S },
15803
15803
  { "!bg-color-blue-grey-100": o }
@@ -16284,11 +16284,11 @@ function WL(t, e) {
16284
16284
  }
16285
16285
  var GC = Zp, XL = VC, YL = BC, ZL = LC;
16286
16286
  const JL = w.forwardRef(
16287
- ({ min: t, max: e, classes: n, ...r }, i) => /* @__PURE__ */ b.jsx("div", { className: R("absolute bottom-[-7px] w-full px-4", n == null ? void 0 : n.sliderWrapper), children: /* @__PURE__ */ b.jsxs(
16287
+ ({ min: t, max: e, classes: n, ...r }, i) => /* @__PURE__ */ b.jsx("div", { className: O("absolute bottom-[-7px] w-full px-4", n == null ? void 0 : n.sliderWrapper), children: /* @__PURE__ */ b.jsxs(
16288
16288
  GC,
16289
16289
  {
16290
16290
  ref: i,
16291
- className: R("relative flex h-4 w-full touch-none select-none items-center", n == null ? void 0 : n.sliderRoot),
16291
+ className: O("relative flex h-4 w-full touch-none select-none items-center", n == null ? void 0 : n.sliderRoot),
16292
16292
  min: t,
16293
16293
  max: e,
16294
16294
  ...r,
@@ -16296,18 +16296,18 @@ const JL = w.forwardRef(
16296
16296
  /* @__PURE__ */ b.jsx(
16297
16297
  XL,
16298
16298
  {
16299
- className: R(
16299
+ className: O(
16300
16300
  "relative h-[2px] w-full grow overflow-hidden rounded-full bg-color-blue-grey-500",
16301
16301
  n == null ? void 0 : n.sliderTrack
16302
16302
  ),
16303
- children: /* @__PURE__ */ b.jsx(YL, { className: R("absolute h-full bg-color-primary-default", n == null ? void 0 : n.sliderRange) })
16303
+ children: /* @__PURE__ */ b.jsx(YL, { className: O("absolute h-full bg-color-primary-default", n == null ? void 0 : n.sliderRange) })
16304
16304
  }
16305
16305
  ),
16306
16306
  /* @__PURE__ */ b.jsx(
16307
16307
  ZL,
16308
16308
  {
16309
16309
  "aria-label": "slider-thumb",
16310
- className: R(
16310
+ className: O(
16311
16311
  'ring-offset-background block h-4 w-4 cursor-pointer rounded-full bg-color-primary-default transition-colors hover:before:absolute hover:before:left-1/2 hover:before:top-1/2 hover:before:h-8 hover:before:w-8 hover:before:-translate-x-1/2 hover:before:-translate-y-1/2 hover:before:rounded-full hover:before:bg-color-primary-tr-hover hover:before:content-[""] focus:outline-none focus:before:bg-color-primary-tr-pressed disabled:pointer-events-none disabled:opacity-50',
16312
16312
  n == null ? void 0 : n.sliderThumb
16313
16313
  )
@@ -16353,7 +16353,7 @@ const SW = ({
16353
16353
  {
16354
16354
  control: r,
16355
16355
  name: v.name,
16356
- render: ({ field: { onChange: M, value: L, onBlur: W }, fieldState: { error: V } }) => /* @__PURE__ */ b.jsxs("div", { className: R("flex flex-col gap-1", i == null ? void 0 : i.sliderRoot), children: [
16356
+ render: ({ field: { onChange: M, value: L, onBlur: W }, fieldState: { error: V } }) => /* @__PURE__ */ b.jsxs("div", { className: O("flex flex-col gap-1", i == null ? void 0 : i.sliderRoot), children: [
16357
16357
  /* @__PURE__ */ b.jsxs(xi, { size: e, className: i == null ? void 0 : i.sliderContainer, children: [
16358
16358
  /* @__PURE__ */ b.jsx(
16359
16359
  As,
@@ -16364,7 +16364,7 @@ const SW = ({
16364
16364
  fieldId: C,
16365
16365
  disabled: o,
16366
16366
  classes: {
16367
- fieldWrapperRoot: R(
16367
+ fieldWrapperRoot: O(
16368
16368
  "bg-color-white hover:bg-color-blue-grey-200 focus-within:bg-color-blue-grey-200 focus:bg-color-blue-grey-200 border-blue-grey-500",
16369
16369
  i == null ? void 0 : i.fieldWrapperRoot
16370
16370
  ),
@@ -16389,7 +16389,7 @@ const SW = ({
16389
16389
  onValueChange: ({ floatValue: B }) => {
16390
16390
  k(M, B), s && s(B);
16391
16391
  },
16392
- className: R(
16392
+ className: O(
16393
16393
  "group/slider desk-title-bold-s h-[56px] w-full rounded-md bg-color-transparent px-4 pt-5 text-color-dark outline-none transition-all",
16394
16394
  i == null ? void 0 : i.input
16395
16395
  ),
@@ -16416,7 +16416,7 @@ const SW = ({
16416
16416
  onClickIcon: x,
16417
16417
  onKeyDownIcon: g,
16418
16418
  classes: {
16419
- icon: R("group/icon", i == null ? void 0 : i.icon),
16419
+ icon: O("group/icon", i == null ? void 0 : i.icon),
16420
16420
  ...i
16421
16421
  }
16422
16422
  }
@@ -16434,9 +16434,9 @@ const SW = ({
16434
16434
  }
16435
16435
  )
16436
16436
  ] }),
16437
- /* @__PURE__ */ b.jsxs("div", { className: R("flex justify-between", i == null ? void 0 : i.textWrapper), children: [
16438
- /* @__PURE__ */ b.jsx("span", { className: R("desk-body-regular-m text-color-tetriary", i == null ? void 0 : i.spanLeft), children: u }),
16439
- /* @__PURE__ */ b.jsx("span", { className: R("desk-body-regular-m text-color-tetriary", i == null ? void 0 : i.spanRight), children: d })
16437
+ /* @__PURE__ */ b.jsxs("div", { className: O("flex justify-between", i == null ? void 0 : i.textWrapper), children: [
16438
+ /* @__PURE__ */ b.jsx("span", { className: O("desk-body-regular-m text-color-tetriary", i == null ? void 0 : i.spanLeft), children: u }),
16439
+ /* @__PURE__ */ b.jsx("span", { className: O("desk-body-regular-m text-color-tetriary", i == null ? void 0 : i.spanRight), children: d })
16440
16440
  ] })
16441
16441
  ] })
16442
16442
  }
@@ -31674,7 +31674,7 @@ const Ow = Mw(!1, !0), Rw = Mw(!0, !0), MH = Ot.create({
31674
31674
  {
31675
31675
  type: "button",
31676
31676
  onClick: i,
31677
- className: R(
31677
+ className: O(
31678
31678
  "flex size-8 cursor-pointer items-center justify-center rounded-sm text-color-secondary outline-none transition-colors hover:bg-color-primary-hover hover:text-color-white focus:bg-color-primary-focus focus:text-color-white",
31679
31679
  { "!bg-color-primary-hover !text-color-white": o }
31680
31680
  ),
@@ -31703,7 +31703,7 @@ const Ow = Mw(!1, !0), Rw = Mw(!0, !0), MH = Ot.create({
31703
31703
  {
31704
31704
  type: "button",
31705
31705
  onClick: () => t.chain().focus().toggleHeading({ level: e }).run(),
31706
- className: R(
31706
+ className: O(
31707
31707
  "desk-body-regular-l flex size-8 cursor-pointer items-center justify-center rounded-sm text-color-secondary outline-none transition-colors hover:bg-color-primary-hover hover:text-color-white",
31708
31708
  { "!bg-color-primary-hover !text-color-white": t.isActive("heading", { level: e }) }
31709
31709
  ),
@@ -31735,7 +31735,7 @@ const Ow = Mw(!1, !0), Rw = Mw(!0, !0), MH = Ot.create({
31735
31735
  {
31736
31736
  title: "Обернуть в ссылку",
31737
31737
  onClick: e,
31738
- className: R(
31738
+ className: O(
31739
31739
  "flex size-8 cursor-pointer items-center justify-center rounded-sm text-color-secondary outline-none transition-colors hover:bg-color-primary-hover hover:text-color-white focus:bg-color-primary-focus focus:text-color-white",
31740
31740
  { "!bg-color-primary-hover !text-color-white": t.isActive("link") }
31741
31741
  ),
@@ -31763,7 +31763,7 @@ const Ow = Mw(!1, !0), Rw = Mw(!0, !0), MH = Ot.create({
31763
31763
  type: "button",
31764
31764
  style: { background: n },
31765
31765
  onClick: () => t.chain().focus().setColor(n).run(),
31766
- className: R(
31766
+ className: O(
31767
31767
  "desk-body-regular-m cursor-pointer rounded-sm px-3 py-1 text-left text-color-white outline-none transition-transform hover:scale-105",
31768
31768
  { "text-color-dark": n === "#FFFFFF" }
31769
31769
  ),
@@ -31796,15 +31796,15 @@ const Ow = Mw(!1, !0), Rw = Mw(!0, !0), MH = Ot.create({
31796
31796
  return c.replace(/\xA0/g, " ");
31797
31797
  },
31798
31798
  attributes: {
31799
- class: R("p-4 outline-none min-h-[240px]", i == null ? void 0 : i.editor)
31799
+ class: O("p-4 outline-none min-h-[240px]", i == null ? void 0 : i.editor)
31800
31800
  }
31801
31801
  },
31802
31802
  ...a
31803
31803
  });
31804
- return l ? /* @__PURE__ */ b.jsxs("div", { className: R("flex flex-col", i == null ? void 0 : i.root), children: [
31805
- /* @__PURE__ */ b.jsxs("div", { className: R("relative flex w-full flex-col rounded-md border border-solid border-warm-grey-200", i == null ? void 0 : i.wrapper), children: [
31804
+ return l ? /* @__PURE__ */ b.jsxs("div", { className: O("flex flex-col", i == null ? void 0 : i.root), children: [
31805
+ /* @__PURE__ */ b.jsxs("div", { className: O("relative flex w-full flex-col rounded-md border border-solid border-warm-grey-200", i == null ? void 0 : i.wrapper), children: [
31806
31806
  /* @__PURE__ */ b.jsx(t5, { editor: l }),
31807
- !e && /* @__PURE__ */ b.jsx("p", { className: R("absolute left-4 top-16 text-color-disabled", i == null ? void 0 : i.label), children: n }),
31807
+ !e && /* @__PURE__ */ b.jsx("p", { className: O("absolute left-4 top-16 text-color-disabled", i == null ? void 0 : i.label), children: n }),
31808
31808
  /* @__PURE__ */ b.jsx(o_, { editor: l })
31809
31809
  ] }),
31810
31810
  /* @__PURE__ */ b.jsx(
@@ -31861,7 +31861,7 @@ const Ow = Mw(!1, !0), Rw = Mw(!0, !0), MH = Ot.create({
31861
31861
  return /* @__PURE__ */ b.jsxs(
31862
31862
  "div",
31863
31863
  {
31864
- className: R(
31864
+ className: O(
31865
31865
  'flex h-[64px] w-[476px] rounded-sm bg-[length:100%_100%] bg-no-repeat hover:border hover:border-primary-hover hover:bg-color-primary-tr-hover focus-visible:border focus-visible:border-primary-hover focus-visible:bg-color-primary-tr-hover focus-visible:outline-none active:border active:border-primary-hover active:bg-color-primary-tr-pressed [&:not(:hover)(:focus-visible)(:active)(:disabled)]:bg-[url("/static/files/border.svg")]',
31866
31866
  n == null ? void 0 : n.borderContent,
31867
31867
  { "bg-color-primary-light-default opacity-50": r },
@@ -31870,11 +31870,11 @@ const Ow = Mw(!1, !0), Rw = Mw(!0, !0), MH = Ot.create({
31870
31870
  ref: s,
31871
31871
  ...a,
31872
31872
  children: [
31873
- /* @__PURE__ */ b.jsxs("div", { className: R("flex h-full w-full items-center justify-center gap-2", n == null ? void 0 : n.wrapperTextContent), children: [
31874
- /* @__PURE__ */ b.jsx(He, { name: "files/upload", className: R("text-icon-primary-default", n == null ? void 0 : n.uploaderIcon) }),
31875
- /* @__PURE__ */ b.jsxs("p", { className: R("desk-body-regular-l select-none text-icon-primary-default", n == null ? void 0 : n.wrapperTextContent), children: [
31873
+ /* @__PURE__ */ b.jsxs("div", { className: O("flex h-full w-full items-center justify-center gap-2", n == null ? void 0 : n.wrapperTextContent), children: [
31874
+ /* @__PURE__ */ b.jsx(He, { name: "files/upload", className: O("text-icon-primary-default", n == null ? void 0 : n.uploaderIcon) }),
31875
+ /* @__PURE__ */ b.jsxs("p", { className: O("desk-body-regular-l select-none text-icon-primary-default", n == null ? void 0 : n.wrapperTextContent), children: [
31876
31876
  "Выберите файл",
31877
- /* @__PURE__ */ b.jsx("span", { className: R("text-icon-blue-grey-600", n == null ? void 0 : n.selectFileTextSpan), children: " или перетащите сюда" })
31877
+ /* @__PURE__ */ b.jsx("span", { className: O("text-icon-blue-grey-600", n == null ? void 0 : n.selectFileTextSpan), children: " или перетащите сюда" })
31878
31878
  ] })
31879
31879
  ] }),
31880
31880
  /* @__PURE__ */ b.jsx(
@@ -31884,7 +31884,7 @@ const Ow = Mw(!1, !0), Rw = Mw(!0, !0), MH = Ot.create({
31884
31884
  ref: e.inputRef,
31885
31885
  disabled: r,
31886
31886
  ...e.getInputProps(),
31887
- className: R(n == null ? void 0 : n.uploaderInput)
31887
+ className: O(n == null ? void 0 : n.uploaderInput)
31888
31888
  }
31889
31889
  )
31890
31890
  ]
@@ -34452,7 +34452,7 @@ function Ww() {
34452
34452
  var re = he(function(N) {
34453
34453
  T ? T(N) : console.error(N);
34454
34454
  }, [T]), se = he(function(N) {
34455
- N.preventDefault(), N.persist(), O(N), ne.current = [].concat(K5(ne.current), [N.target]), oa(N) && Promise.resolve(i(N)).then(function(Z) {
34455
+ N.preventDefault(), N.persist(), R(N), ne.current = [].concat(K5(ne.current), [N.target]), oa(N) && Promise.resolve(i(N)).then(function(Z) {
34456
34456
  if (!(Dl(N) && !k)) {
34457
34457
  var pe = Z.length, Se = pe > 0 && L5({
34458
34458
  files: Z,
@@ -34474,7 +34474,7 @@ function Ww() {
34474
34474
  return re(Z);
34475
34475
  });
34476
34476
  }, [i, c, re, k, L, s, o, a, l, M]), ce = he(function(N) {
34477
- N.preventDefault(), N.persist(), O(N);
34477
+ N.preventDefault(), N.persist(), R(N);
34478
34478
  var Z = oa(N);
34479
34479
  if (Z && N.dataTransfer)
34480
34480
  try {
@@ -34483,7 +34483,7 @@ function Ww() {
34483
34483
  }
34484
34484
  return Z && d && d(N), !1;
34485
34485
  }, [d, k]), me = he(function(N) {
34486
- N.preventDefault(), N.persist(), O(N);
34486
+ N.preventDefault(), N.persist(), R(N);
34487
34487
  var Z = ne.current.filter(function(Se) {
34488
34488
  return G.current && G.current.contains(Se);
34489
34489
  }), pe = Z.indexOf(N.target);
@@ -34520,7 +34520,7 @@ function Ww() {
34520
34520
  type: "setFiles"
34521
34521
  }), f && f(pe, Se, Z), Se.length > 0 && h && h(Se, Z), pe.length > 0 && p && p(pe, Z);
34522
34522
  }, [ie, a, L, s, o, l, f, p, h, M]), Pe = he(function(N) {
34523
- N.preventDefault(), N.persist(), O(N), ne.current = [], oa(N) && Promise.resolve(i(N)).then(function(Z) {
34523
+ N.preventDefault(), N.persist(), R(N), ne.current = [], oa(N) && Promise.resolve(i(N)).then(function(Z) {
34524
34524
  Dl(N) && !k || ye(Z, N);
34525
34525
  }).catch(function(Z) {
34526
34526
  return re(Z);
@@ -34570,7 +34570,7 @@ function Ww() {
34570
34570
  return x ? null : te(Z);
34571
34571
  }, A = function(Z) {
34572
34572
  return I ? null : te(Z);
34573
- }, O = function(Z) {
34573
+ }, R = function(Z) {
34574
34574
  k && Z.stopPropagation();
34575
34575
  }, Q = Ie(function() {
34576
34576
  return function() {
@@ -34708,24 +34708,24 @@ const s$ = ({ dropzoneOptions: t, controlledFiles: e, onValueChange: n }) => {
34708
34708
  }, [t]), /* @__PURE__ */ b.jsx(b.Fragment, { children: r ? /* @__PURE__ */ b.jsx(
34709
34709
  Zy,
34710
34710
  {
34711
- triggerElement: /* @__PURE__ */ b.jsx("p", { ref: n, className: R("desk-body-regular-m max-w-[300px] truncate text-color-dark"), children: t.name }),
34711
+ triggerElement: /* @__PURE__ */ b.jsx("p", { ref: n, className: O("desk-body-regular-m max-w-[300px] truncate text-color-dark"), children: t.name }),
34712
34712
  children: t.name
34713
34713
  }
34714
- ) : /* @__PURE__ */ b.jsx("p", { ref: n, className: R("desk-body-regular-m text-color-dark", e == null ? void 0 : e.fileText), children: t.name }) });
34714
+ ) : /* @__PURE__ */ b.jsx("p", { ref: n, className: O("desk-body-regular-m text-color-dark", e == null ? void 0 : e.fileText), children: t.name }) });
34715
34715
  }, l$ = ({ filesStatus: t, removeFile: e, classes: n, file: r, index: i }) => {
34716
34716
  const o = r.size / 1024 / 1024;
34717
- return /* @__PURE__ */ b.jsxs("li", { className: R("flex h-6 items-center justify-between p-1", n == null ? void 0 : n.fileWrapperContent), children: [
34718
- /* @__PURE__ */ b.jsxs("div", { className: R("flex items-center gap-2", n == null ? void 0 : n.fileContent), children: [
34717
+ return /* @__PURE__ */ b.jsxs("li", { className: O("flex h-6 items-center justify-between p-1", n == null ? void 0 : n.fileWrapperContent), children: [
34718
+ /* @__PURE__ */ b.jsxs("div", { className: O("flex items-center gap-2", n == null ? void 0 : n.fileContent), children: [
34719
34719
  t[r.name] === "loading" && /* @__PURE__ */ b.jsx(RE, { size: "sm" }),
34720
34720
  t[r.name] === "success" && /* @__PURE__ */ b.jsx(He, { name: "general/check", className: "text-icon-positive-default" }),
34721
34721
  /* @__PURE__ */ b.jsx(a$, { file: r, classes: n })
34722
34722
  ] }),
34723
- /* @__PURE__ */ b.jsxs("div", { className: R("flex items-center gap-2", n == null ? void 0 : n.fileButtonDeleteWrapper), children: [
34723
+ /* @__PURE__ */ b.jsxs("div", { className: O("flex items-center gap-2", n == null ? void 0 : n.fileButtonDeleteWrapper), children: [
34724
34724
  /* @__PURE__ */ b.jsx("p", { className: "desk-body-regular-m text-color-blue-grey-600", children: `${o.toFixed(1)} MB` }),
34725
- /* @__PURE__ */ b.jsx("button", { className: R("cursor-pointer", n == null ? void 0 : n.fileButtonDelete), onClick: () => e(i), children: /* @__PURE__ */ b.jsx(He, { name: "general/close", className: R("text-icon-blue-grey-600", n == null ? void 0 : n.fileDeleteIcon) }) })
34725
+ /* @__PURE__ */ b.jsx("button", { className: O("cursor-pointer", n == null ? void 0 : n.fileButtonDelete), onClick: () => e(i), children: /* @__PURE__ */ b.jsx(He, { name: "general/close", className: O("text-icon-blue-grey-600", n == null ? void 0 : n.fileDeleteIcon) }) })
34726
34726
  ] })
34727
34727
  ] }, r.name);
34728
- }, c$ = ({ controlledFiles: t, filesStatus: e, classes: n, removeFile: r }) => t && t.length > 0 ? /* @__PURE__ */ b.jsx("ul", { className: R("flex max-w-[476px] flex-col gap-1 px-1", n == null ? void 0 : n.filesWrapperContent), children: t.map((o, s) => /* @__PURE__ */ b.jsx(l$, { file: o, index: s, filesStatus: e, removeFile: r, classes: n }, s)) }) : null, u$ = w.forwardRef(function({
34728
+ }, c$ = ({ controlledFiles: t, filesStatus: e, classes: n, removeFile: r }) => t && t.length > 0 ? /* @__PURE__ */ b.jsx("ul", { className: O("flex max-w-[476px] flex-col gap-1 px-1", n == null ? void 0 : n.filesWrapperContent), children: t.map((o, s) => /* @__PURE__ */ b.jsx(l$, { file: o, index: s, filesStatus: e, removeFile: r, classes: n }, s)) }) : null, u$ = w.forwardRef(function({
34729
34729
  dropzoneOptions: e = Pw,
34730
34730
  controlledFiles: n,
34731
34731
  onValueChange: r,
@@ -34741,7 +34741,7 @@ const s$ = ({ dropzoneOptions: t, controlledFiles: e, onValueChange: n }) => {
34741
34741
  onValueChange: r
34742
34742
  });
34743
34743
  return /* @__PURE__ */ b.jsxs(b.Fragment, { children: [
34744
- /* @__PURE__ */ b.jsxs("div", { className: R("relative mb-3 w-[476px]", a == null ? void 0 : a.wrapperMainContent), children: [
34744
+ /* @__PURE__ */ b.jsxs("div", { className: O("relative mb-3 w-[476px]", a == null ? void 0 : a.wrapperMainContent), children: [
34745
34745
  /* @__PURE__ */ b.jsx(r5, { ref: c, name: l, classes: a, error: s, disabled: o, dropzoneState: f }),
34746
34746
  /* @__PURE__ */ b.jsx(
34747
34747
  Ut,
@@ -34988,11 +34988,11 @@ var y$ = "RadioGroupIndicator", nE = w.forwardRef(
34988
34988
  );
34989
34989
  nE.displayName = y$;
34990
34990
  var x$ = Qw, C$ = tE, S$ = nE;
34991
- const w$ = ({ radioItemsGroup: t, classes: e, error: n }) => /* @__PURE__ */ b.jsx(b.Fragment, { children: t == null ? void 0 : t.map(({ label: r, value: i, isDisabled: o }) => /* @__PURE__ */ b.jsxs("div", { className: R("flex items-center gap-2", e == null ? void 0 : e.radioOption), children: [
34991
+ const w$ = ({ radioItemsGroup: t, classes: e, error: n }) => /* @__PURE__ */ b.jsx(b.Fragment, { children: t == null ? void 0 : t.map(({ label: r, value: i, isDisabled: o }) => /* @__PURE__ */ b.jsxs("div", { className: O("flex items-center gap-2", e == null ? void 0 : e.radioOption), children: [
34992
34992
  /* @__PURE__ */ b.jsx(
34993
34993
  "div",
34994
34994
  {
34995
- className: R(
34995
+ className: O(
34996
34996
  "flex size-10 items-center justify-center rounded-full transition-all focus-within:bg-color-primary-tr-focus hover:bg-color-primary-tr-hover",
34997
34997
  e == null ? void 0 : e.radio,
34998
34998
  { "!bg-color-transparent": o }
@@ -35001,7 +35001,7 @@ const w$ = ({ radioItemsGroup: t, classes: e, error: n }) => /* @__PURE__ */ b.j
35001
35001
  C$,
35002
35002
  {
35003
35003
  disabled: o,
35004
- className: R(
35004
+ className: O(
35005
35005
  "relative size-6 cursor-pointer rounded-full border-2 border-solid bg-color-transparent outline-none transition-all data-[state=checked]:border-primary-default data-[state=unchecked]:border-blue-grey-700",
35006
35006
  {
35007
35007
  "data-[state=checked]:!border-primary-disabled data-[state=unchecked]:border-transparent data-[state=unchecked]:bg-color-blue-grey-300": o
@@ -35014,7 +35014,7 @@ const w$ = ({ radioItemsGroup: t, classes: e, error: n }) => /* @__PURE__ */ b.j
35014
35014
  children: /* @__PURE__ */ b.jsx(
35015
35015
  S$,
35016
35016
  {
35017
- className: R(
35017
+ className: O(
35018
35018
  'after:content-[" "] relative flex h-full w-full items-center justify-center after:block after:size-3 after:rounded-full after:bg-color-primary-default',
35019
35019
  { "after:bg-color-primary-disabled": o },
35020
35020
  e == null ? void 0 : e.radioIndicator
@@ -35029,7 +35029,7 @@ const w$ = ({ radioItemsGroup: t, classes: e, error: n }) => /* @__PURE__ */ b.j
35029
35029
  "label",
35030
35030
  {
35031
35031
  htmlFor: i,
35032
- className: R(
35032
+ className: O(
35033
35033
  "desk-body-regular-l cursor-pointer text-color-dark",
35034
35034
  { "text-color-disabled": o },
35035
35035
  e == null ? void 0 : e.radioLabel
@@ -35061,16 +35061,16 @@ const w$ = ({ radioItemsGroup: t, classes: e, error: n }) => /* @__PURE__ */ b.j
35061
35061
  {
35062
35062
  name: a.name,
35063
35063
  control: e,
35064
- render: ({ field: { onChange: l, value: c, ...u }, fieldState: { error: d } }) => /* @__PURE__ */ b.jsxs("div", { className: R("flex max-w-max flex-col gap-4", o == null ? void 0 : o.root), children: [
35065
- n && /* @__PURE__ */ b.jsx("span", { className: R("desk-body-regular-l text-color-dark", o == null ? void 0 : o.groupName), children: n }),
35066
- /* @__PURE__ */ b.jsxs("div", { className: R("flex flex-col", o == null ? void 0 : o.field), children: [
35064
+ render: ({ field: { onChange: l, value: c, ...u }, fieldState: { error: d } }) => /* @__PURE__ */ b.jsxs("div", { className: O("flex max-w-max flex-col gap-4", o == null ? void 0 : o.root), children: [
35065
+ n && /* @__PURE__ */ b.jsx("span", { className: O("desk-body-regular-l text-color-dark", o == null ? void 0 : o.groupName), children: n }),
35066
+ /* @__PURE__ */ b.jsxs("div", { className: O("flex flex-col", o == null ? void 0 : o.field), children: [
35067
35067
  /* @__PURE__ */ b.jsx(
35068
35068
  x$,
35069
35069
  {
35070
35070
  onValueChange: l,
35071
35071
  value: c,
35072
35072
  defaultValue: c,
35073
- className: R(E$({ orientation: s }), o == null ? void 0 : o.radioGroup),
35073
+ className: O(E$({ orientation: s }), o == null ? void 0 : o.radioGroup),
35074
35074
  ...u,
35075
35075
  ...a,
35076
35076
  children: /* @__PURE__ */ b.jsx(w$, { radioItemsGroup: t, error: !!(d != null && d.message), classes: o })
@@ -35156,7 +35156,7 @@ const w$ = ({ radioItemsGroup: t, classes: e, error: n }) => /* @__PURE__ */ b.j
35156
35156
  ), k$ = ({ optionsList: t, menuIsOpen: e, onSelectOption: n }) => /* @__PURE__ */ b.jsx(
35157
35157
  "div",
35158
35158
  {
35159
- className: R(
35159
+ className: O(
35160
35160
  "invisible absolute top-[64px] z-10 h-[208px] w-full scale-0 rounded-sm bg-color-white p-1 opacity-0 shadow-sm transition-all",
35161
35161
  { "opacity-1 scale-1 visible": e }
35162
35162
  ),
@@ -35217,7 +35217,7 @@ const w$ = ({ radioItemsGroup: t, classes: e, error: n }) => /* @__PURE__ */ b.j
35217
35217
  allowNegative: !1,
35218
35218
  disabled: o,
35219
35219
  value: g,
35220
- className: R(
35220
+ className: O(
35221
35221
  "desk-body-regular-l h-[56px] w-full rounded-md bg-color-transparent px-4 pt-5 text-color-dark outline-none transition-all",
35222
35222
  i == null ? void 0 : i.input
35223
35223
  ),
@@ -35308,9 +35308,9 @@ var sE = w.createContext({}), aE = w.forwardRef((t, e) => {
35308
35308
  X(null), ne(null);
35309
35309
  return;
35310
35310
  }
35311
- let A = U.selectionStart, O = U.selectionEnd, Q = U.selectionDirection, H = U.maxLength, z = U.value, N = F.current.prev, Z = -1, pe = -1, Se;
35312
- if (z.length !== 0 && A !== null && O !== null) {
35313
- let jn = A === O, Lr = A === z.length && z.length < H;
35311
+ let A = U.selectionStart, R = U.selectionEnd, Q = U.selectionDirection, H = U.maxLength, z = U.value, N = F.current.prev, Z = -1, pe = -1, Se;
35312
+ if (z.length !== 0 && A !== null && R !== null) {
35313
+ let jn = A === R, Lr = A === z.length && z.length < H;
35314
35314
  if (jn && !Lr) {
35315
35315
  let Bt = A;
35316
35316
  if (Bt === 0) Z = 0, pe = 1, Se = "forward";
@@ -35327,14 +35327,14 @@ var sE = w.createContext({}), aE = w.forwardRef((t, e) => {
35327
35327
  }
35328
35328
  Z !== -1 && pe !== -1 && Z !== pe && B.current.setSelectionRange(Z, pe, Se);
35329
35329
  }
35330
- let Ze = Z !== -1 ? Z : A, xn = pe !== -1 ? pe : O, qt = Se ?? Q;
35330
+ let Ze = Z !== -1 ? Z : A, xn = pe !== -1 ? pe : R, qt = Se ?? Q;
35331
35331
  X(Ze), ne(xn), F.current.prev = [Ze, xn, qt];
35332
35332
  }
35333
35333
  if (document.addEventListener("selectionchange", De, { capture: !0 }), De(), document.activeElement === U && P(!0), !document.getElementById("input-otp-style")) {
35334
35334
  let A = document.createElement("style");
35335
35335
  if (A.id = "input-otp-style", document.head.appendChild(A), A.sheet) {
35336
- let O = "background: transparent !important; color: transparent !important; border-color: transparent !important; opacity: 0 !important; box-shadow: none !important; -webkit-box-shadow: none !important; -webkit-text-fill-color: transparent !important;";
35337
- bo(A.sheet, "[data-input-otp]::selection { background: transparent !important; color: transparent !important; }"), bo(A.sheet, `[data-input-otp]:autofill { ${O} }`), bo(A.sheet, `[data-input-otp]:-webkit-autofill { ${O} }`), bo(A.sheet, "@supports (-webkit-touch-callout: none) { [data-input-otp] { letter-spacing: -.6em !important; font-weight: 100 !important; font-stretch: ultra-condensed; font-optical-sizing: none !important; left: -1px !important; right: 1px !important; } }"), bo(A.sheet, "[data-input-otp] + * { pointer-events: all !important; }");
35336
+ let R = "background: transparent !important; color: transparent !important; border-color: transparent !important; opacity: 0 !important; box-shadow: none !important; -webkit-box-shadow: none !important; -webkit-text-fill-color: transparent !important;";
35337
+ bo(A.sheet, "[data-input-otp]::selection { background: transparent !important; color: transparent !important; }"), bo(A.sheet, `[data-input-otp]:autofill { ${R} }`), bo(A.sheet, `[data-input-otp]:-webkit-autofill { ${R} }`), bo(A.sheet, "@supports (-webkit-touch-callout: none) { [data-input-otp] { letter-spacing: -.6em !important; font-weight: 100 !important; font-stretch: ultra-condensed; font-optical-sizing: none !important; left: -1px !important; right: 1px !important; } }"), bo(A.sheet, "[data-input-otp] + * { pointer-events: all !important; }");
35338
35338
  }
35339
35339
  }
35340
35340
  let te = () => {
@@ -35351,8 +35351,8 @@ var sE = w.createContext({}), aE = w.forwardRef((t, e) => {
35351
35351
  F$(() => {
35352
35352
  var U, le, De, te;
35353
35353
  (U = B.current) == null || U.dispatchEvent(new Event("input"));
35354
- let E = (le = B.current) == null ? void 0 : le.selectionStart, A = (De = B.current) == null ? void 0 : De.selectionEnd, O = (te = B.current) == null ? void 0 : te.selectionDirection;
35355
- E !== null && A !== null && (X(E), ne(A), F.current.prev = [E, A, O]);
35354
+ let E = (le = B.current) == null ? void 0 : le.selectionStart, A = (De = B.current) == null ? void 0 : De.selectionEnd, R = (te = B.current) == null ? void 0 : te.selectionDirection;
35355
+ E !== null && A !== null && (X(E), ne(A), F.current.prev = [E, A, R]);
35356
35356
  });
35357
35357
  }, [M, ie]), w.useEffect(() => {
35358
35358
  L !== void 0 && M !== L && L.length < o && M.length === o && (u == null || u(M));
@@ -35377,7 +35377,7 @@ var sE = w.createContext({}), aE = w.forwardRef((t, e) => {
35377
35377
  if (!f && (!J.current.isIOS || !U.clipboardData || !te)) return;
35378
35378
  let E = U.clipboardData.getData("text/plain"), A = f ? f(E) : E;
35379
35379
  console.log({ _content: E, content: A }), U.preventDefault();
35380
- let O = (le = B.current) == null ? void 0 : le.selectionStart, Q = (De = B.current) == null ? void 0 : De.selectionEnd, H = (O !== Q ? M.slice(0, O) + A + M.slice(Q) : M.slice(0, O) + A + M.slice(O)).slice(0, o);
35380
+ let R = (le = B.current) == null ? void 0 : le.selectionStart, Q = (De = B.current) == null ? void 0 : De.selectionEnd, H = (R !== Q ? M.slice(0, R) + A + M.slice(Q) : M.slice(0, R) + A + M.slice(R)).slice(0, o);
35381
35381
  if (H.length > 0 && V && !V.test(H)) return;
35382
35382
  te.value = H, W(H);
35383
35383
  let z = Math.min(H.length, o - 1), N = H.length;
@@ -35436,8 +35436,8 @@ const lE = rr(({ classes: t, ...e }, n) => /* @__PURE__ */ b.jsx(
35436
35436
  aE,
35437
35437
  {
35438
35438
  ref: n,
35439
- containerClassName: R("flex items-center w-full", t == null ? void 0 : t.inputContainer),
35440
- className: R("disabled:cursor-not-allowed", t == null ? void 0 : t.input),
35439
+ containerClassName: O("flex items-center w-full", t == null ? void 0 : t.inputContainer),
35440
+ className: O("disabled:cursor-not-allowed", t == null ? void 0 : t.input),
35441
35441
  ...e
35442
35442
  }
35443
35443
  ));
@@ -35448,18 +35448,18 @@ const cE = rr(({ index: t, classes: e, ...n }, r) => {
35448
35448
  "div",
35449
35449
  {
35450
35450
  ref: r,
35451
- className: R(
35451
+ className: O(
35452
35452
  "desk-headline-bold-m relative flex size-10 items-center justify-center bg-color-dark bg-color-transparent",
35453
35453
  e == null ? void 0 : e.singleChar
35454
35454
  ),
35455
35455
  ...n,
35456
35456
  children: [
35457
35457
  o,
35458
- s && /* @__PURE__ */ b.jsx("div", { className: R("pointer-events-none absolute inset-0 flex items-center justify-center", e == null ? void 0 : e.caretWrapper), children: /* @__PURE__ */ b.jsx("div", { className: R("h-5 w-px animate-caret-blink bg-color-dark duration-1000", e == null ? void 0 : e.caret) }) }),
35458
+ s && /* @__PURE__ */ b.jsx("div", { className: O("pointer-events-none absolute inset-0 flex items-center justify-center", e == null ? void 0 : e.caretWrapper), children: /* @__PURE__ */ b.jsx("div", { className: O("h-5 w-px animate-caret-blink bg-color-dark duration-1000", e == null ? void 0 : e.caret) }) }),
35459
35459
  /* @__PURE__ */ b.jsx(
35460
35460
  "span",
35461
35461
  {
35462
- className: R("absolute bottom-0 h-px w-8 bg-color-blue-grey-500", { "bg-color-dark": a }, e == null ? void 0 : e.substrate)
35462
+ className: O("absolute bottom-0 h-px w-8 bg-color-blue-grey-500", { "bg-color-dark": a }, e == null ? void 0 : e.substrate)
35463
35463
  }
35464
35464
  )
35465
35465
  ]
@@ -35484,8 +35484,8 @@ const MW = ({
35484
35484
  {
35485
35485
  control: t,
35486
35486
  name: s.name,
35487
- render: ({ field: { value: l, ...c }, fieldState: { error: u } }) => /* @__PURE__ */ b.jsxs("div", { className: R("m-auto w-max", n == null ? void 0 : n.root), children: [
35488
- /* @__PURE__ */ b.jsx(lE, { pattern: _$, value: l ?? "", ...c, maxLength: e, children: /* @__PURE__ */ b.jsx("div", { className: R("m-auto flex w-max items-center gap-4", n == null ? void 0 : n.wrapper), children: e > 0 && Array.from({ length: e }, (d, f) => /* @__PURE__ */ b.jsx(cE, { index: f }, f)) }) }),
35487
+ render: ({ field: { value: l, ...c }, fieldState: { error: u } }) => /* @__PURE__ */ b.jsxs("div", { className: O("m-auto w-max", n == null ? void 0 : n.root), children: [
35488
+ /* @__PURE__ */ b.jsx(lE, { pattern: _$, value: l ?? "", ...c, maxLength: e, children: /* @__PURE__ */ b.jsx("div", { className: O("m-auto flex w-max items-center gap-4", n == null ? void 0 : n.wrapper), children: e > 0 && Array.from({ length: e }, (d, f) => /* @__PURE__ */ b.jsx(cE, { index: f }, f)) }) }),
35489
35489
  /* @__PURE__ */ b.jsx(
35490
35490
  Ut,
35491
35491
  {
@@ -35505,21 +35505,21 @@ const MW = ({
35505
35505
  "div",
35506
35506
  {
35507
35507
  "data-id": "banner-buttons-group",
35508
- className: R(
35508
+ className: O(
35509
35509
  "grid-buttons-apply absolute bottom-6 left-1/2 flex w-full -translate-x-1/2 flex-col justify-self-center px-4 desktop:static desktop:left-auto desktop:max-w-full desktop:translate-x-0 desktop:flex-row desktop:justify-normal desktop:px-0",
35510
35510
  { "flex items-center gap-4": r },
35511
35511
  e == null ? void 0 : e.group,
35512
35512
  n
35513
35513
  ),
35514
35514
  children: [
35515
- /* @__PURE__ */ b.jsx(qu, { intent: "primary", ...t.primary, isFull: !0, className: R("desktop:max-w-[216px]", e == null ? void 0 : e.primary), children: t.primary.children }),
35515
+ /* @__PURE__ */ b.jsx(qu, { intent: "primary", ...t.primary, isFull: !0, className: O("desktop:max-w-[216px]", e == null ? void 0 : e.primary), children: t.primary.children }),
35516
35516
  r && /* @__PURE__ */ b.jsx(
35517
35517
  qu,
35518
35518
  {
35519
35519
  intent: "secondary",
35520
35520
  ...t == null ? void 0 : t.secondary,
35521
35521
  isFull: !0,
35522
- className: R("desktop:max-w-[216px]", e == null ? void 0 : e.secondary),
35522
+ className: O("desktop:max-w-[216px]", e == null ? void 0 : e.secondary),
35523
35523
  children: (i = t == null ? void 0 : t.secondary) == null ? void 0 : i.children
35524
35524
  }
35525
35525
  )
@@ -35539,7 +35539,7 @@ const MW = ({
35539
35539
  "div",
35540
35540
  {
35541
35541
  "data-id": "banner-advantages",
35542
- className: R(
35542
+ className: O(
35543
35543
  "flex items-center justify-center pt-4 desktop:absolute desktop:bottom-[-50px] desktop:right-1/2 desktop:translate-x-1/2 desktop:pt-0",
35544
35544
  i == null ? void 0 : i.advantageContainer
35545
35545
  ),
@@ -35547,7 +35547,7 @@ const MW = ({
35547
35547
  }
35548
35548
  );
35549
35549
  return /* @__PURE__ */ b.jsxs(b.Fragment, { children: [
35550
- /* @__PURE__ */ b.jsxs("section", { "data-id": "banner-section", className: R("relative h-[552px] desktop:h-[456px]", i == null ? void 0 : i.section), children: [
35550
+ /* @__PURE__ */ b.jsxs("section", { "data-id": "banner-section", className: O("relative h-[552px] desktop:h-[456px]", i == null ? void 0 : i.section), children: [
35551
35551
  /* @__PURE__ */ b.jsx(
35552
35552
  "div",
35553
35553
  {
@@ -35562,22 +35562,22 @@ const MW = ({
35562
35562
  "data-id": "banner-image",
35563
35563
  src: o,
35564
35564
  alt: "Картинка баннера",
35565
- className: R("h-full w-full object-cover object-center", i == null ? void 0 : i.image)
35565
+ className: O("h-full w-full object-cover object-center", i == null ? void 0 : i.image)
35566
35566
  }
35567
35567
  )
35568
35568
  ] })
35569
35569
  }
35570
35570
  ),
35571
- /* @__PURE__ */ b.jsxs(Mf, { "data-id": "banner-container", className: R("h-full", i == null ? void 0 : i.container), children: [
35572
- /* @__PURE__ */ b.jsx("div", { "data-id": "banner", className: R("flex h-full", i == null ? void 0 : i.wrapper), children: /* @__PURE__ */ b.jsxs(
35571
+ /* @__PURE__ */ b.jsxs(Mf, { "data-id": "banner-container", className: O("h-full", i == null ? void 0 : i.container), children: [
35572
+ /* @__PURE__ */ b.jsx("div", { "data-id": "banner", className: O("flex h-full", i == null ? void 0 : i.wrapper), children: /* @__PURE__ */ b.jsxs(
35573
35573
  "div",
35574
35574
  {
35575
35575
  "data-id": "banner-text-block",
35576
- className: R("flex w-[328px] flex-col gap-10 pt-6 desktop:w-full desktop:pt-20", i == null ? void 0 : i.textBlock),
35576
+ className: O("flex w-[328px] flex-col gap-10 pt-6 desktop:w-full desktop:pt-20", i == null ? void 0 : i.textBlock),
35577
35577
  children: [
35578
35578
  /* @__PURE__ */ b.jsxs("div", { className: "flex flex-col gap-4", children: [
35579
- /* @__PURE__ */ b.jsx(vs, { "data-id": "banner-title", as: "h1", className: R("text-color-white", i == null ? void 0 : i.title), children: t }),
35580
- /* @__PURE__ */ b.jsx("p", { "data-id": "banner-subtitle", className: R("desk-body-regular-l text-color-white", i == null ? void 0 : i.subtitle), children: e })
35579
+ /* @__PURE__ */ b.jsx(vs, { "data-id": "banner-title", as: "h1", className: O("text-color-white", i == null ? void 0 : i.title), children: t }),
35580
+ /* @__PURE__ */ b.jsx("p", { "data-id": "banner-subtitle", className: O("desk-body-regular-l text-color-white", i == null ? void 0 : i.subtitle), children: e })
35581
35581
  ] }),
35582
35582
  /* @__PURE__ */ b.jsx(
35583
35583
  uE,
@@ -35609,7 +35609,7 @@ const MW = ({
35609
35609
  "div",
35610
35610
  {
35611
35611
  "data-id": "banner-advantages",
35612
- className: R(
35612
+ className: O(
35613
35613
  "flex items-center justify-center rounded-md bg-color-blue-grey-100 p-4 desktop:absolute desktop:bottom-[-50px] desktop:right-1/2 desktop:translate-x-1/2 desktop:p-0",
35614
35614
  i == null ? void 0 : i.advantageContainer
35615
35615
  ),
@@ -35617,12 +35617,12 @@ const MW = ({
35617
35617
  }
35618
35618
  );
35619
35619
  return /* @__PURE__ */ b.jsxs(b.Fragment, { children: [
35620
- /* @__PURE__ */ b.jsx("section", { "data-id": "banner-section", className: R("bg-banner-skyblue-300 desktop:h-[456px]", i == null ? void 0 : i.section), children: /* @__PURE__ */ b.jsxs(Mf, { "data-id": "banner-container", className: R("relative", i == null ? void 0 : i.container), children: [
35621
- /* @__PURE__ */ b.jsxs("div", { "data-id": "banner", className: R("flex flex-col desktop:flex-row desktop:justify-between", i == null ? void 0 : i.wrapper), children: [
35620
+ /* @__PURE__ */ b.jsx("section", { "data-id": "banner-section", className: O("bg-banner-skyblue-300 desktop:h-[456px]", i == null ? void 0 : i.section), children: /* @__PURE__ */ b.jsxs(Mf, { "data-id": "banner-container", className: O("relative", i == null ? void 0 : i.container), children: [
35621
+ /* @__PURE__ */ b.jsxs("div", { "data-id": "banner", className: O("flex flex-col desktop:flex-row desktop:justify-between", i == null ? void 0 : i.wrapper), children: [
35622
35622
  /* @__PURE__ */ b.jsxs("div", { className: "flex flex-col desktop:gap-10 desktop:pt-20", children: [
35623
- /* @__PURE__ */ b.jsxs("div", { "data-id": "banner-text-block", className: R("flex flex-col gap-4 pt-6 desktop:pt-0", i == null ? void 0 : i.textBlock), children: [
35624
- /* @__PURE__ */ b.jsx(vs, { "data-id": "banner-title", as: "h1", className: R("text-color-dark", i == null ? void 0 : i.title), children: t }),
35625
- /* @__PURE__ */ b.jsx("p", { "data-id": "banner-subtitle", className: R("desk-body-regular-l text-color-dark", i == null ? void 0 : i.subtitle), children: e })
35623
+ /* @__PURE__ */ b.jsxs("div", { "data-id": "banner-text-block", className: O("flex flex-col gap-4 pt-6 desktop:pt-0", i == null ? void 0 : i.textBlock), children: [
35624
+ /* @__PURE__ */ b.jsx(vs, { "data-id": "banner-title", as: "h1", className: O("text-color-dark", i == null ? void 0 : i.title), children: t }),
35625
+ /* @__PURE__ */ b.jsx("p", { "data-id": "banner-subtitle", className: O("desk-body-regular-l text-color-dark", i == null ? void 0 : i.subtitle), children: e })
35626
35626
  ] }),
35627
35627
  /* @__PURE__ */ b.jsx(uE, { buttonsConfig: n, classes: i })
35628
35628
  ] }),
@@ -35630,7 +35630,7 @@ const MW = ({
35630
35630
  "div",
35631
35631
  {
35632
35632
  "data-id": "banner-image-wrapper",
35633
- className: R("flex h-[356px] justify-center desktop:h-[456px] desktop:w-[550px]", i == null ? void 0 : i.imageContainer),
35633
+ className: O("flex h-[356px] justify-center desktop:h-[456px] desktop:w-[550px]", i == null ? void 0 : i.imageContainer),
35634
35634
  children: /* @__PURE__ */ b.jsxs("picture", { children: [
35635
35635
  /* @__PURE__ */ b.jsx("source", { media: "(min-width: 1128px)", srcSet: s == null ? void 0 : s.large }),
35636
35636
  /* @__PURE__ */ b.jsx("source", { media: "(max-width: 1127px)", srcSet: s == null ? void 0 : s.mob }),
@@ -35640,7 +35640,7 @@ const MW = ({
35640
35640
  "data-id": "banner-image",
35641
35641
  src: o,
35642
35642
  alt: "Картинка баннера",
35643
- className: R("h-full object-cover", i == null ? void 0 : i.image)
35643
+ className: O("h-full object-cover", i == null ? void 0 : i.image)
35644
35644
  }
35645
35645
  )
35646
35646
  ] })
@@ -35661,29 +35661,38 @@ const MW = ({
35661
35661
  return /* @__PURE__ */ b.jsx(Zb, { ...e });
35662
35662
  }
35663
35663
  }, $$ = ({ description: t, title: e, img: n, mobileImg: r, classes: i, index: o }) => {
35664
- const { isDesktop: s } = Wl(), a = /* @__PURE__ */ b.jsx(b.Fragment, { children: o === 0 && s && /* @__PURE__ */ b.jsx(qu, { intent: "primary", className: "desktop:w-[200px]", onClick: () => PE("personal_form"), size: "lg", children: "Оформить заявку" }) });
35664
+ const { isDesktop: s } = Wl(), a = /* @__PURE__ */ b.jsx(b.Fragment, { children: o === 0 && s && /* @__PURE__ */ b.jsx(
35665
+ qu,
35666
+ {
35667
+ intent: "primary",
35668
+ className: O("desktop:w-[200px]", i == null ? void 0 : i.button),
35669
+ onClick: () => PE("personal_form"),
35670
+ size: "lg",
35671
+ children: "Оформить заявку"
35672
+ }
35673
+ ) });
35665
35674
  return /* @__PURE__ */ b.jsxs(
35666
35675
  "li",
35667
35676
  {
35668
- className: R(
35677
+ className: O(
35669
35678
  "flex flex-col overflow-hidden rounded-md bg-color-blue-grey-100 py-6 desktop:flex-row desktop:px-0 desktop:py-0 desktop:first:col-span-full",
35670
35679
  { "pb-0": r },
35671
35680
  i == null ? void 0 : i.item
35672
35681
  ),
35673
35682
  children: [
35674
- /* @__PURE__ */ b.jsxs("div", { className: "flex flex-col items-start justify-between px-4 desktop:py-8 desktop:pl-8", children: [
35675
- /* @__PURE__ */ b.jsxs("div", { className: "flex flex-col gap-4", children: [
35676
- /* @__PURE__ */ b.jsx(vs, { as: "h4", className: "desktop:desk-title-bold-s", children: e }),
35677
- /* @__PURE__ */ b.jsx("p", { className: "mob-body-regular-l text-icon-blue-grey-800 desktop:desk-body-regular-l", children: t })
35683
+ /* @__PURE__ */ b.jsxs("div", { className: O("flex flex-col items-start justify-between px-4 desktop:py-8 desktop:pl-8", i == null ? void 0 : i.itemWrapper), children: [
35684
+ /* @__PURE__ */ b.jsxs("div", { className: O("flex flex-col gap-4", i == null ? void 0 : i.itemTextContainer), children: [
35685
+ /* @__PURE__ */ b.jsx(vs, { as: "h4", className: O("desktop:desk-title-bold-s", i == null ? void 0 : i.headingBenefitItem), children: e }),
35686
+ /* @__PURE__ */ b.jsx("p", { className: O("mob-body-regular-l text-icon-blue-grey-800 desktop:desk-body-regular-l", i == null ? void 0 : i.itemDescription), children: t })
35678
35687
  ] }),
35679
35688
  a
35680
35689
  ] }),
35681
- (r || s) && /* @__PURE__ */ b.jsx("div", { className: "w-full", children: /* @__PURE__ */ b.jsx("img", { className: "h-[246px] object-cover", src: n, alt: e }) })
35690
+ (r || s) && /* @__PURE__ */ b.jsx("div", { className: O("w-full", i == null ? void 0 : i.imgWrapper), children: /* @__PURE__ */ b.jsx("img", { className: O("h-[246px] object-cover", i == null ? void 0 : i.img), src: n, alt: e }) })
35682
35691
  ]
35683
35692
  },
35684
35693
  n
35685
35694
  );
35686
- }, PW = ({ heading: t, content: e, classes: n }) => /* @__PURE__ */ b.jsx("section", { className: "pb-20", children: /* @__PURE__ */ b.jsxs(Mf, { children: [
35695
+ }, PW = ({ heading: t, content: e, classes: n }) => /* @__PURE__ */ b.jsx("section", { className: O("pb-20", n == null ? void 0 : n.section), children: /* @__PURE__ */ b.jsxs(Mf, { children: [
35687
35696
  /* @__PURE__ */ b.jsx(vs, { className: "mb-8", as: "h2", children: t }),
35688
35697
  /* @__PURE__ */ b.jsx("ul", { className: "grid grid-cols-1 gap-4 desktop:grid-cols-2", children: e == null ? void 0 : e.map((r, i) => /* @__PURE__ */ b.jsx($$, { index: i, classes: n, ...r }, r.img)) })
35689
35698
  ] }) });