@scbt-ecom/ui 0.91.1 → 0.91.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/widget.js CHANGED
@@ -13,18 +13,18 @@ var jt = (e, t, r, n) => ({
13
13
  return h(e, t, n);
14
14
  }
15
15
  });
16
- import { Z as we, _ as ve, $ as ze, a0 as T, a1 as At, a2 as Le, a3 as Qe, a4 as qt, a5 as W, a6 as $e, a7 as Ve, a8 as We, a9 as Ae, aa as Ut, ab as Kt, ac as qe, ad as Zt, ae as Yt, af as Ue, j as o, B as ht, c as D, R as F, o as Ne, G as Ke, F as R, i as c, T as pt, s as Ze, v as Ye, q as Nt, L as Xe, p as Pt, A as dt, W as Rt, ag as Je, r as Ge, X as Ct, E as se, ah as Dt, ai as tr, M as er } from "./index-BKq2JR4V.js";
17
- import { c as a, T as _ } from "./typeGuards-BHbj394R.js";
16
+ import { Z as we, _ as ve, $ as ze, a0 as T, a1 as At, a2 as Le, a3 as Qe, a4 as qt, a5 as W, a6 as $e, a7 as Ve, a8 as We, a9 as Ae, aa as Ut, ab as Kt, ac as qe, ad as Zt, ae as Yt, af as Ue, j as o, B as ht, c as D, R as F, o as Ne, G as Ke, F as R, i as c, T as pt, s as Ze, v as Ye, q as Nt, L as Xe, p as Pt, A as dt, W as Rt, ag as Je, r as Ge, X as Ct, E as se, ah as Dt, ai as tr, M as er } from "./index-BLcEyVj0.js";
17
+ import { c as l, T as _ } from "./typeGuards-BHbj394R.js";
18
18
  import * as ut from "react";
19
19
  import { lazy as B, useCallback as Ce, useState as O, memo as ft, useMemo as ct, createElement as St, useRef as Ht, useReducer as rr, forwardRef as nr, useEffect as wt } from "react";
20
20
  import { i as Xt } from "./isClient-C9aZtt2Q.js";
21
21
  import { s as or, c as It, a as ir, l as dr } from "./localStorageActions-CkWWvUS3.js";
22
- import { u as at, b as Mt, a as ar, g as _t, F as lr } from "./useDebounce-5MeprqTX.js";
22
+ import { u as lt, b as Mt, a as lr, g as _t, F as ar } from "./useDebounce-5MeprqTX.js";
23
23
  import { z as zt, Z as Ot } from "./index-Cj4n5Vtu.js";
24
24
  import { au as Lt } from "./utils-U4W3nat7.js";
25
25
  import { b as ur, u as mr, a as xr } from "./useFieldsProgress-C918amw-.js";
26
26
  import { createPortal as Se } from "react-dom";
27
- var Q, be, hr = (be = class extends we {
27
+ var Q, ge, hr = (ge = class extends we {
28
28
  constructor(t = {}) {
29
29
  super();
30
30
  N(this, Q);
@@ -32,15 +32,15 @@ var Q, be, hr = (be = class extends we {
32
32
  }
33
33
  build(t, r, n) {
34
34
  const i = r.queryKey, d = r.queryHash ?? ve(i, r);
35
- let l = this.get(d);
36
- return l || (l = new ze({
35
+ let a = this.get(d);
36
+ return a || (a = new ze({
37
37
  client: t,
38
38
  queryKey: i,
39
39
  queryHash: d,
40
40
  options: t.defaultQueryOptions(r),
41
41
  state: n,
42
42
  defaultOptions: t.getQueryDefaults(i)
43
- }), this.add(l)), l;
43
+ }), this.add(a)), a;
44
44
  }
45
45
  add(t) {
46
46
  h(this, Q).has(t.queryHash) || (h(this, Q).set(t.queryHash, t), this.notify({
@@ -96,7 +96,7 @@ var Q, be, hr = (be = class extends we {
96
96
  });
97
97
  });
98
98
  }
99
- }, Q = new WeakMap(), be), $, M, s, V, U, je, pr = (je = class extends Le {
99
+ }, Q = new WeakMap(), ge), $, M, s, V, U, je, pr = (je = class extends Le {
100
100
  constructor(t) {
101
101
  super();
102
102
  N(this, V);
@@ -134,7 +134,7 @@ var Q, be, hr = (be = class extends we {
134
134
  this.execute(this.state.variables);
135
135
  }
136
136
  async execute(t) {
137
- var d, l, u, x, m, p, f, S, y, E, k, I, P, z, v, C, L, X, gt, bt;
137
+ var d, a, u, x, m, p, f, S, y, E, k, I, P, z, v, C, L, X, bt, gt;
138
138
  const r = () => {
139
139
  q(this, V, U).call(this, { type: "continue" });
140
140
  };
@@ -157,7 +157,7 @@ var Q, be, hr = (be = class extends we {
157
157
  if (n)
158
158
  r();
159
159
  else {
160
- q(this, V, U).call(this, { type: "pending", variables: t, isPaused: i }), await ((l = (d = h(this, M).config).onMutate) == null ? void 0 : l.call(
160
+ q(this, V, U).call(this, { type: "pending", variables: t, isPaused: i }), await ((a = (d = h(this, M).config).onMutate) == null ? void 0 : a.call(
161
161
  d,
162
162
  t,
163
163
  this
@@ -205,8 +205,8 @@ var Q, be, hr = (be = class extends we {
205
205
  this.state.variables,
206
206
  this.state.context,
207
207
  this
208
- )), await ((bt = (gt = this.options).onSettled) == null ? void 0 : bt.call(
209
- gt,
208
+ )), await ((gt = (bt = this.options).onSettled) == null ? void 0 : gt.call(
209
+ bt,
210
210
  void 0,
211
211
  w,
212
212
  t,
@@ -398,7 +398,7 @@ function Jt(e) {
398
398
  return {
399
399
  onFetch: (t, r) => {
400
400
  var p, f, S, y, E;
401
- const n = t.options, i = (S = (f = (p = t.fetchOptions) == null ? void 0 : p.meta) == null ? void 0 : f.fetchMore) == null ? void 0 : S.direction, d = ((y = t.state.data) == null ? void 0 : y.pages) || [], l = ((E = t.state.data) == null ? void 0 : E.pageParams) || [];
401
+ const n = t.options, i = (S = (f = (p = t.fetchOptions) == null ? void 0 : p.meta) == null ? void 0 : f.fetchMore) == null ? void 0 : S.direction, d = ((y = t.state.data) == null ? void 0 : y.pages) || [], a = ((E = t.state.data) == null ? void 0 : E.pageParams) || [];
402
402
  let u = { pages: [], pageParams: [] }, x = 0;
403
403
  const m = async () => {
404
404
  let k = !1;
@@ -414,7 +414,7 @@ function Jt(e) {
414
414
  return Promise.reject();
415
415
  if (C == null && v.pages.length)
416
416
  return Promise.resolve(v);
417
- const gt = (() => {
417
+ const bt = (() => {
418
418
  const Vt = {
419
419
  client: t.client,
420
420
  queryKey: t.queryKey,
@@ -423,22 +423,22 @@ function Jt(e) {
423
423
  meta: t.options.meta
424
424
  };
425
425
  return I(Vt), Vt;
426
- })(), bt = await P(gt), { maxPages: w } = t.options, J = L ? Ve : We;
426
+ })(), gt = await P(bt), { maxPages: w } = t.options, J = L ? Ve : We;
427
427
  return {
428
- pages: J(v.pages, bt, w),
428
+ pages: J(v.pages, gt, w),
429
429
  pageParams: J(v.pageParams, C, w)
430
430
  };
431
431
  };
432
432
  if (i && d.length) {
433
- const v = i === "backward", C = v ? gr : Gt, L = {
433
+ const v = i === "backward", C = v ? br : Gt, L = {
434
434
  pages: d,
435
- pageParams: l
435
+ pageParams: a
436
436
  }, X = C(n, L);
437
437
  u = await z(L, X, v);
438
438
  } else {
439
439
  const v = e ?? d.length;
440
440
  do {
441
- const C = x === 0 ? l[0] ?? n.initialPageParam : Gt(n, u);
441
+ const C = x === 0 ? a[0] ?? n.initialPageParam : Gt(n, u);
442
442
  if (x > 0 && C == null)
443
443
  break;
444
444
  u = await z(u, C), x++;
@@ -472,13 +472,13 @@ function Gt(e, { pages: t, pageParams: r }) {
472
472
  r
473
473
  ) : void 0;
474
474
  }
475
- function gr(e, { pages: t, pageParams: r }) {
475
+ function br(e, { pages: t, pageParams: r }) {
476
476
  var n;
477
477
  return t.length > 0 ? (n = e.getPreviousPageParam) == null ? void 0 : n.call(e, t[0], t, r[0], r) : void 0;
478
478
  }
479
- var b, K, Z, et, rt, Y, nt, ot, ke, br = (ke = class {
479
+ var g, K, Z, et, rt, Y, nt, ot, ke, gr = (ke = class {
480
480
  constructor(e = {}) {
481
- N(this, b);
481
+ N(this, g);
482
482
  N(this, K);
483
483
  N(this, Z);
484
484
  N(this, et);
@@ -486,13 +486,13 @@ var b, K, Z, et, rt, Y, nt, ot, ke, br = (ke = class {
486
486
  N(this, Y);
487
487
  N(this, nt);
488
488
  N(this, ot);
489
- j(this, b, e.queryCache || new hr()), j(this, K, e.mutationCache || new cr()), j(this, Z, e.defaultOptions || {}), j(this, et, /* @__PURE__ */ new Map()), j(this, rt, /* @__PURE__ */ new Map()), j(this, Y, 0);
489
+ j(this, g, e.queryCache || new hr()), j(this, K, e.mutationCache || new cr()), j(this, Z, e.defaultOptions || {}), j(this, et, /* @__PURE__ */ new Map()), j(this, rt, /* @__PURE__ */ new Map()), j(this, Y, 0);
490
490
  }
491
491
  mount() {
492
492
  jt(this, Y)._++, h(this, Y) === 1 && (j(this, nt, Ae.subscribe(async (e) => {
493
- e && (await this.resumePausedMutations(), h(this, b).onFocus());
493
+ e && (await this.resumePausedMutations(), h(this, g).onFocus());
494
494
  })), j(this, ot, Ut.subscribe(async (e) => {
495
- e && (await this.resumePausedMutations(), h(this, b).onOnline());
495
+ e && (await this.resumePausedMutations(), h(this, g).onOnline());
496
496
  })));
497
497
  }
498
498
  unmount() {
@@ -500,7 +500,7 @@ var b, K, Z, et, rt, Y, nt, ot, ke, br = (ke = class {
500
500
  jt(this, Y)._--, h(this, Y) === 0 && ((e = h(this, nt)) == null || e.call(this), j(this, nt, void 0), (t = h(this, ot)) == null || t.call(this), j(this, ot, void 0));
501
501
  }
502
502
  isFetching(e) {
503
- return h(this, b).findAll({ ...e, fetchStatus: "fetching" }).length;
503
+ return h(this, g).findAll({ ...e, fetchStatus: "fetching" }).length;
504
504
  }
505
505
  isMutating(e) {
506
506
  return h(this, K).findAll({ ...e, status: "pending" }).length;
@@ -515,28 +515,28 @@ var b, K, Z, et, rt, Y, nt, ot, ke, br = (ke = class {
515
515
  getQueryData(e) {
516
516
  var r;
517
517
  const t = this.defaultQueryOptions({ queryKey: e });
518
- return (r = h(this, b).get(t.queryHash)) == null ? void 0 : r.state.data;
518
+ return (r = h(this, g).get(t.queryHash)) == null ? void 0 : r.state.data;
519
519
  }
520
520
  ensureQueryData(e) {
521
- const t = this.defaultQueryOptions(e), r = h(this, b).build(this, t), n = r.state.data;
521
+ const t = this.defaultQueryOptions(e), r = h(this, g).build(this, t), n = r.state.data;
522
522
  return n === void 0 ? this.fetchQuery(e) : (e.revalidateIfStale && r.isStaleByTime(Kt(t.staleTime, r)) && this.prefetchQuery(t), Promise.resolve(n));
523
523
  }
524
524
  getQueriesData(e) {
525
- return h(this, b).findAll(e).map(({ queryKey: t, state: r }) => {
525
+ return h(this, g).findAll(e).map(({ queryKey: t, state: r }) => {
526
526
  const n = r.data;
527
527
  return [t, n];
528
528
  });
529
529
  }
530
530
  setQueryData(e, t, r) {
531
- const n = this.defaultQueryOptions({ queryKey: e }), i = h(this, b).get(
531
+ const n = this.defaultQueryOptions({ queryKey: e }), i = h(this, g).get(
532
532
  n.queryHash
533
- ), d = i == null ? void 0 : i.state.data, l = qe(t, d);
534
- if (l !== void 0)
535
- return h(this, b).build(this, n).setData(l, { ...r, manual: !0 });
533
+ ), d = i == null ? void 0 : i.state.data, a = qe(t, d);
534
+ if (a !== void 0)
535
+ return h(this, g).build(this, n).setData(a, { ...r, manual: !0 });
536
536
  }
537
537
  setQueriesData(e, t, r) {
538
538
  return T.batch(
539
- () => h(this, b).findAll(e).map(({ queryKey: n }) => [
539
+ () => h(this, g).findAll(e).map(({ queryKey: n }) => [
540
540
  n,
541
541
  this.setQueryData(n, t, r)
542
542
  ])
@@ -545,12 +545,12 @@ var b, K, Z, et, rt, Y, nt, ot, ke, br = (ke = class {
545
545
  getQueryState(e) {
546
546
  var r;
547
547
  const t = this.defaultQueryOptions({ queryKey: e });
548
- return (r = h(this, b).get(
548
+ return (r = h(this, g).get(
549
549
  t.queryHash
550
550
  )) == null ? void 0 : r.state;
551
551
  }
552
552
  removeQueries(e) {
553
- const t = h(this, b);
553
+ const t = h(this, g);
554
554
  T.batch(() => {
555
555
  t.findAll(e).forEach((r) => {
556
556
  t.remove(r);
@@ -558,7 +558,7 @@ var b, K, Z, et, rt, Y, nt, ot, ke, br = (ke = class {
558
558
  });
559
559
  }
560
560
  resetQueries(e, t) {
561
- const r = h(this, b);
561
+ const r = h(this, g);
562
562
  return T.batch(() => (r.findAll(e).forEach((n) => {
563
563
  n.reset();
564
564
  }), this.refetchQueries(
@@ -571,12 +571,12 @@ var b, K, Z, et, rt, Y, nt, ot, ke, br = (ke = class {
571
571
  }
572
572
  cancelQueries(e, t = {}) {
573
573
  const r = { revert: !0, ...t }, n = T.batch(
574
- () => h(this, b).findAll(e).map((i) => i.cancel(r))
574
+ () => h(this, g).findAll(e).map((i) => i.cancel(r))
575
575
  );
576
576
  return Promise.all(n).then(W).catch(W);
577
577
  }
578
578
  invalidateQueries(e, t = {}) {
579
- return T.batch(() => (h(this, b).findAll(e).forEach((r) => {
579
+ return T.batch(() => (h(this, g).findAll(e).forEach((r) => {
580
580
  r.invalidate();
581
581
  }), (e == null ? void 0 : e.refetchType) === "none" ? Promise.resolve() : this.refetchQueries(
582
582
  {
@@ -591,7 +591,7 @@ var b, K, Z, et, rt, Y, nt, ot, ke, br = (ke = class {
591
591
  ...t,
592
592
  cancelRefetch: t.cancelRefetch ?? !0
593
593
  }, n = T.batch(
594
- () => h(this, b).findAll(e).filter((i) => !i.isDisabled() && !i.isStatic()).map((i) => {
594
+ () => h(this, g).findAll(e).filter((i) => !i.isDisabled() && !i.isStatic()).map((i) => {
595
595
  let d = i.fetch(void 0, r);
596
596
  return r.throwOnError || (d = d.catch(W)), i.state.fetchStatus === "paused" ? Promise.resolve() : d;
597
597
  })
@@ -601,7 +601,7 @@ var b, K, Z, et, rt, Y, nt, ot, ke, br = (ke = class {
601
601
  fetchQuery(e) {
602
602
  const t = this.defaultQueryOptions(e);
603
603
  t.retry === void 0 && (t.retry = !1);
604
- const r = h(this, b).build(this, t);
604
+ const r = h(this, g).build(this, t);
605
605
  return r.isStaleByTime(
606
606
  Kt(t.staleTime, r)
607
607
  ) ? r.fetch(t) : Promise.resolve(r.state.data);
@@ -622,7 +622,7 @@ var b, K, Z, et, rt, Y, nt, ot, ke, br = (ke = class {
622
622
  return Ut.isOnline() ? h(this, K).resumePausedMutations() : Promise.resolve();
623
623
  }
624
624
  getQueryCache() {
625
- return h(this, b);
625
+ return h(this, g);
626
626
  }
627
627
  getMutationCache() {
628
628
  return h(this, K);
@@ -680,9 +680,9 @@ var b, K, Z, et, rt, Y, nt, ot, ke, br = (ke = class {
680
680
  };
681
681
  }
682
682
  clear() {
683
- h(this, b).clear(), h(this, K).clear();
683
+ h(this, g).clear(), h(this, K).clear();
684
684
  }
685
- }, b = new WeakMap(), K = new WeakMap(), Z = new WeakMap(), et = new WeakMap(), rt = new WeakMap(), Y = new WeakMap(), nt = new WeakMap(), ot = new WeakMap(), ke);
685
+ }, g = new WeakMap(), K = new WeakMap(), Z = new WeakMap(), et = new WeakMap(), rt = new WeakMap(), Y = new WeakMap(), nt = new WeakMap(), ot = new WeakMap(), ke);
686
686
  const jr = B(() => Promise.resolve().then(() => Wr)), yr = B(() => Promise.resolve().then(() => Bo)), kr = B(() => Promise.resolve().then(() => Un)), wr = B(() => Promise.resolve().then(() => Zn)), vr = B(() => Promise.resolve().then(() => Jr)), Nr = B(() => Promise.resolve().then(() => Qr)), Cr = B(() => Promise.resolve().then(() => cn)), Sr = B(() => Promise.resolve().then(() => un)), Ir = B(() => Promise.resolve().then(() => po)), Mr = B(() => Promise.resolve().then(() => en)), _r = B(() => Promise.resolve().then(() => Hn)), Or = B(() => Promise.resolve().then(() => zr)), Tr = B(() => Promise.resolve().then(() => Ro)), Fr = B(() => Promise.resolve().then(() => Zo)), Br = {
687
687
  header: Nr,
688
688
  seoHeader: Ir,
@@ -698,7 +698,7 @@ const jr = B(() => Promise.resolve().then(() => Wr)), yr = B(() => Promise.resol
698
698
  footer: vr,
699
699
  infoBlock: Tr,
700
700
  userFeedback: Fr
701
- }, Er = Object.keys(Br), g = Er.reduce(
701
+ }, Er = Object.keys(Br), b = Er.reduce(
702
702
  (e, t) => (e[t] = t, e),
703
703
  {}
704
704
  ), Pr = (e) => Ce(() => {
@@ -725,7 +725,7 @@ const jr = B(() => Promise.resolve().then(() => Wr)), yr = B(() => Promise.resol
725
725
  }
726
726
  }, [e]), tt = ({ handlerOptions: e, className: t, ...r }) => {
727
727
  const n = Pr(e);
728
- return /* @__PURE__ */ o.jsx(ht, { className: a(t), onClick: n, ...r, children: r.children });
728
+ return /* @__PURE__ */ o.jsx(ht, { className: l(t), onClick: n, ...r, children: r.children });
729
729
  }, Rr = D(
730
730
  "flex flex-col justify-between overflow-hidden rounded-md bg-color-blue-grey-100 py-6 desktop:flex-row desktop:px-0 desktop:py-0",
731
731
  {
@@ -744,31 +744,31 @@ const jr = B(() => Promise.resolve().then(() => Wr)), yr = B(() => Promise.resol
744
744
  mobileImg: n,
745
745
  classes: i,
746
746
  withButton: d,
747
- button: l,
747
+ button: a,
748
748
  variant: u,
749
749
  color: x
750
750
  }) => {
751
- const { isDesktop: m } = at();
751
+ const { isDesktop: m } = lt();
752
752
  return /* @__PURE__ */ o.jsxs(
753
753
  "li",
754
754
  {
755
755
  style: { backgroundColor: x ?? "#F3F4F7" },
756
- className: a(Rr({ variant: u }), { "pb-0": n }, { "pb-12": !n }, i == null ? void 0 : i.root),
756
+ className: l(Rr({ variant: u }), { "pb-0": n }, { "pb-12": !n }, i == null ? void 0 : i.root),
757
757
  children: [
758
- /* @__PURE__ */ o.jsxs("div", { className: a("flex flex-col items-start justify-between px-4 desktop:px-8 desktop:py-8", i == null ? void 0 : i.wrapper), children: [
759
- /* @__PURE__ */ o.jsxs("div", { className: a("flex flex-col gap-4", i == null ? void 0 : i.textContainer), children: [
760
- /* @__PURE__ */ o.jsx("div", { dangerouslySetInnerHTML: { __html: t }, className: a("desktop:desk-title-bold-s", i == null ? void 0 : i.title) }),
758
+ /* @__PURE__ */ o.jsxs("div", { className: l("flex flex-col items-start justify-between px-4 desktop:px-8 desktop:py-8", i == null ? void 0 : i.wrapper), children: [
759
+ /* @__PURE__ */ o.jsxs("div", { className: l("flex flex-col gap-4", i == null ? void 0 : i.textContainer), children: [
760
+ /* @__PURE__ */ o.jsx("div", { dangerouslySetInnerHTML: { __html: t }, className: l("desktop:desk-title-bold-s", i == null ? void 0 : i.title) }),
761
761
  /* @__PURE__ */ o.jsx(
762
762
  "div",
763
763
  {
764
764
  dangerouslySetInnerHTML: { __html: e },
765
- className: a("mob-body-regular-l text-icon-blue-grey-800 desktop:desk-body-regular-l", i == null ? void 0 : i.subtitle)
765
+ className: l("mob-body-regular-l text-icon-blue-grey-800 desktop:desk-body-regular-l", i == null ? void 0 : i.subtitle)
766
766
  }
767
767
  )
768
768
  ] }),
769
- d && m && (l == null ? void 0 : l.handlerOptions) && /* @__PURE__ */ o.jsx(tt, { intent: "primary", className: a("desktop:w-[200px]", i == null ? void 0 : i.button), size: "lg", ...l })
769
+ d && m && (a == null ? void 0 : a.handlerOptions) && /* @__PURE__ */ o.jsx(tt, { intent: "primary", className: l("desktop:w-[200px]", i == null ? void 0 : i.button), size: "lg", ...a })
770
770
  ] }),
771
- (n || m) && r && /* @__PURE__ */ o.jsx("div", { className: a("flex w-full justify-end", i == null ? void 0 : i.imgContainer), children: r && "url" in r && _.isObject(r) ? /* @__PURE__ */ o.jsx("img", { className: a("h-[246px] object-cover", i == null ? void 0 : i.img), src: r.url, alt: r.alt }) : r })
771
+ (n || m) && r && /* @__PURE__ */ o.jsx("div", { className: l("flex w-full justify-end", i == null ? void 0 : i.imgContainer), children: r && "url" in r && _.isObject(r) ? /* @__PURE__ */ o.jsx("img", { className: l("h-[246px] object-cover", i == null ? void 0 : i.img), src: r.url, alt: r.alt }) : r })
772
772
  ]
773
773
  },
774
774
  t
@@ -781,15 +781,15 @@ const jr = B(() => Promise.resolve().then(() => Wr)), yr = B(() => Promise.resol
781
781
  fourCards: "grid-cols-1 mobile:grid-rows-[400px,1fr,1fr,400px] desktop:grid-cols-3"
782
782
  }
783
783
  }
784
- }), st = ({ headline: e, details: t, variant: r, classes: n }) => /* @__PURE__ */ o.jsx("section", { id: g.benefit, "data-test-id": g.benefit, className: a(n == null ? void 0 : n.root), children: /* @__PURE__ */ o.jsxs(F, { className: n == null ? void 0 : n.container, children: [
784
+ }), st = ({ headline: e, details: t, variant: r, classes: n }) => /* @__PURE__ */ o.jsx("section", { id: b.benefit, "data-test-id": b.benefit, className: l(n == null ? void 0 : n.root), children: /* @__PURE__ */ o.jsxs(F, { className: n == null ? void 0 : n.container, children: [
785
785
  /* @__PURE__ */ o.jsx(
786
786
  "div",
787
787
  {
788
788
  dangerouslySetInnerHTML: { __html: e },
789
- className: a("mob-headline-bold-s mb-8 desktop:desk-headline-bold-m", n == null ? void 0 : n.heading)
789
+ className: l("mob-headline-bold-s mb-8 desktop:desk-headline-bold-m", n == null ? void 0 : n.heading)
790
790
  }
791
791
  ),
792
- /* @__PURE__ */ o.jsx("ul", { className: a(Hr({ variant: r }), n == null ? void 0 : n.grid), children: t == null ? void 0 : t.map((i) => /* @__PURE__ */ o.jsx(Dr, { variant: r, classes: n == null ? void 0 : n.item, ...i }, i.title)) })
792
+ /* @__PURE__ */ o.jsx("ul", { className: l(Hr({ variant: r }), n == null ? void 0 : n.grid), children: t == null ? void 0 : t.map((i) => /* @__PURE__ */ o.jsx(Dr, { variant: r, classes: n == null ? void 0 : n.item, ...i }, i.title)) })
793
793
  ] }) }), zr = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
794
794
  __proto__: null,
795
795
  Benefit: st,
@@ -808,10 +808,10 @@ const jr = B(() => Promise.resolve().then(() => Wr)), yr = B(() => Promise.resol
808
808
  return /* @__PURE__ */ o.jsx(
809
809
  "header",
810
810
  {
811
- id: g.header,
812
- "data-test-id": g.header,
813
- className: a("flex h-[64px] items-center justify-center bg-color-white desktop:h-[72px]", n == null ? void 0 : n.root),
814
- children: /* @__PURE__ */ o.jsx(F, { className: a(n == null ? void 0 : n.container), children: /* @__PURE__ */ o.jsxs("div", { className: a("flex items-center justify-between gap-5", n == null ? void 0 : n.wrapper), children: [
811
+ id: b.header,
812
+ "data-test-id": b.header,
813
+ className: l("flex h-[64px] items-center justify-center bg-color-white desktop:h-[72px]", n == null ? void 0 : n.root),
814
+ children: /* @__PURE__ */ o.jsx(F, { className: l(n == null ? void 0 : n.container), children: /* @__PURE__ */ o.jsxs("div", { className: l("flex items-center justify-between gap-5", n == null ? void 0 : n.wrapper), children: [
815
815
  /* @__PURE__ */ o.jsx(
816
816
  "a",
817
817
  {
@@ -819,7 +819,7 @@ const jr = B(() => Promise.resolve().then(() => Wr)), yr = B(() => Promise.resol
819
819
  "aria-label": "logo",
820
820
  target: "_blank",
821
821
  rel: "noreferrer",
822
- className: a(
822
+ className: l(
823
823
  "flex items-center justify-center [&_svg]:w-[132px] desktop:[&_svg]:h-[32px] desktop:[&_svg]:w-[192px]",
824
824
  n == null ? void 0 : n.logo
825
825
  ),
@@ -839,7 +839,7 @@ const jr = B(() => Promise.resolve().then(() => Wr)), yr = B(() => Promise.resol
839
839
  return /* @__PURE__ */ o.jsxs(
840
840
  "div",
841
841
  {
842
- className: a(
842
+ className: l(
843
843
  "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",
844
844
  { "flex items-center gap-4": n == null ? void 0 : n.enabled },
845
845
  t == null ? void 0 : t.group
@@ -848,7 +848,7 @@ const jr = B(() => Promise.resolve().then(() => Wr)), yr = B(() => Promise.resol
848
848
  r.enabled && /* @__PURE__ */ o.jsx(
849
849
  tt,
850
850
  {
851
- className: a("w-full desktop:max-w-[216px]", t == null ? void 0 : t.primary),
851
+ className: l("w-full desktop:max-w-[216px]", t == null ? void 0 : t.primary),
852
852
  size: "lg",
853
853
  intent: "primary",
854
854
  ...r.buttonContent
@@ -859,7 +859,7 @@ const jr = B(() => Promise.resolve().then(() => Wr)), yr = B(() => Promise.resol
859
859
  {
860
860
  intent: "secondary",
861
861
  size: "lg",
862
- className: a("w-full desktop:max-w-[216px]", t == null ? void 0 : t.secondary),
862
+ className: l("w-full desktop:max-w-[216px]", t == null ? void 0 : t.secondary),
863
863
  ...r.buttonContent
864
864
  }
865
865
  )
@@ -868,11 +868,11 @@ const jr = B(() => Promise.resolve().then(() => Wr)), yr = B(() => Promise.resol
868
868
  );
869
869
  }, vt = ({ details: e, classes: t }) => {
870
870
  const { variant: r, items: n } = e ?? {};
871
- return /* @__PURE__ */ o.jsx("div", { className: a("flex items-center justify-center pb-8", t == null ? void 0 : t.root), children: /* @__PURE__ */ o.jsx(
871
+ return /* @__PURE__ */ o.jsx("div", { className: l("flex items-center justify-center pb-8", t == null ? void 0 : t.root), children: /* @__PURE__ */ o.jsx(
872
872
  "div",
873
873
  {
874
874
  id: "advantages",
875
- className: a(
875
+ className: l(
876
876
  "z-10 m-auto flex w-full min-w-[328px] max-w-[636px] flex-col gap-8 rounded-md bg-color-white p-6 shadow-sm desktop:w-full desktop:flex-row desktop:items-start desktop:gap-0 desktop:p-0 desktop:py-6",
877
877
  { "desktop:max-w-[860px]": r === "threeCards" },
878
878
  { "desktop:max-w-[1140px]": r === "fourCards" },
@@ -881,13 +881,13 @@ const jr = B(() => Promise.resolve().then(() => Wr)), yr = B(() => Promise.resol
881
881
  children: n == null ? void 0 : n.map(({ title: i, description: d }) => /* @__PURE__ */ o.jsxs(
882
882
  "div",
883
883
  {
884
- className: a(
884
+ className: l(
885
885
  'after:content-[" "] relative flex h-full w-full flex-col gap-1 after:absolute after:-bottom-4 after:left-1/2 after:h-[1px] after:w-full after:-translate-x-1/2 after:bg-color-blue-grey-300 last:after:hidden desktop:w-[285px] desktop:items-center desktop:px-8 desktop:after:bottom-auto desktop:after:left-auto desktop:after:right-0 desktop:after:top-1/2 desktop:after:h-10 desktop:after:w-[1px] desktop:after:-translate-y-1/2 desktop:after:translate-x-0',
886
886
  t == null ? void 0 : t.item
887
887
  ),
888
888
  children: [
889
- /* @__PURE__ */ o.jsx(R, { as: "h4", className: a("text-color-dark", t == null ? void 0 : t.title), children: i }),
890
- /* @__PURE__ */ o.jsx("p", { className: a("desk-body-regular-l text-color-secondary", t == null ? void 0 : t.description), children: d })
889
+ /* @__PURE__ */ o.jsx(R, { as: "h4", className: l("text-color-dark", t == null ? void 0 : t.title), children: i }),
890
+ /* @__PURE__ */ o.jsx("p", { className: l("desk-body-regular-l text-color-secondary", t == null ? void 0 : t.description), children: d })
891
891
  ]
892
892
  },
893
893
  i
@@ -901,35 +901,35 @@ const jr = B(() => Promise.resolve().then(() => Wr)), yr = B(() => Promise.resol
901
901
  advantages: n,
902
902
  classes: i,
903
903
  images: d,
904
- backgroundColor: l
904
+ backgroundColor: a
905
905
  }) => {
906
906
  var m;
907
- const { isMobile: u } = at(), x = (n == null ? void 0 : n.details) && ((m = n == null ? void 0 : n.details) == null ? void 0 : m.items.length) > 0;
907
+ const { isMobile: u } = lt(), x = (n == null ? void 0 : n.details) && ((m = n == null ? void 0 : n.details) == null ? void 0 : m.items.length) > 0;
908
908
  return /* @__PURE__ */ o.jsxs(o.Fragment, { children: [
909
909
  /* @__PURE__ */ o.jsxs(
910
910
  "section",
911
911
  {
912
- id: g.banner,
913
- "data-test-id": g.banner,
914
- style: { backgroundColor: l ?? "#d9edff" },
915
- className: a("relative h-[552px] desktop:h-[456px]", i == null ? void 0 : i.root),
912
+ id: b.banner,
913
+ "data-test-id": b.banner,
914
+ style: { backgroundColor: a ?? "#d9edff" },
915
+ className: l("relative h-[552px] desktop:h-[456px]", i == null ? void 0 : i.root),
916
916
  children: [
917
- /* @__PURE__ */ o.jsx("div", { className: "absolute bottom-0 left-0 right-0 top-0 mx-auto h-full max-w-[1920px] desktop:h-[456px]", children: u ? /* @__PURE__ */ o.jsx("img", { src: d.mobile, className: "h-full w-full object-cover object-center", alt: d.alt }) : /* @__PURE__ */ o.jsx("img", { src: d.desktop, alt: d.alt, className: "h-full w-full object-cover object-center" }) }),
918
- /* @__PURE__ */ o.jsxs(F, { className: a("h-full", i == null ? void 0 : i.container), children: [
919
- /* @__PURE__ */ o.jsx("div", { className: a("flex h-full", i == null ? void 0 : i.wrapper), children: /* @__PURE__ */ o.jsxs("div", { className: a("flex w-[328px] flex-col gap-10 pt-6 desktop:w-full desktop:pt-20", i == null ? void 0 : i.textBlock), children: [
917
+ /* @__PURE__ */ o.jsx("div", { className: "absolute bottom-0 left-0 right-0 top-0 mx-auto h-full max-w-[1920px] desktop:h-[456px]", children: u ? /* @__PURE__ */ o.jsx("img", { src: d == null ? void 0 : d.mobile, className: "h-full w-full object-cover object-center", alt: d == null ? void 0 : d.alt }) : /* @__PURE__ */ o.jsx("img", { src: d == null ? void 0 : d.desktop, alt: d == null ? void 0 : d.alt, className: "h-full w-full object-cover object-center" }) }),
918
+ /* @__PURE__ */ o.jsxs(F, { className: l("h-full", i == null ? void 0 : i.container), children: [
919
+ /* @__PURE__ */ o.jsx("div", { className: l("flex h-full", i == null ? void 0 : i.wrapper), children: /* @__PURE__ */ o.jsxs("div", { className: l("flex w-[328px] flex-col gap-10 pt-6 desktop:w-full desktop:pt-20", i == null ? void 0 : i.textBlock), children: [
920
920
  /* @__PURE__ */ o.jsxs("div", { className: "z-10 flex flex-col gap-4", children: [
921
921
  /* @__PURE__ */ o.jsx(
922
922
  "div",
923
923
  {
924
924
  dangerouslySetInnerHTML: { __html: e },
925
- className: a("mob-headline-bold-m text-color-dark desktop:desk-headline-bold-l", i == null ? void 0 : i.title)
925
+ className: l("mob-headline-bold-m text-color-dark desktop:desk-headline-bold-l", i == null ? void 0 : i.title)
926
926
  }
927
927
  ),
928
928
  /* @__PURE__ */ o.jsx(
929
929
  "div",
930
930
  {
931
931
  dangerouslySetInnerHTML: { __html: t },
932
- className: a("desk-body-regular-l text-color-dark", i == null ? void 0 : i.subtitle)
932
+ className: l("desk-body-regular-l text-color-dark", i == null ? void 0 : i.subtitle)
933
933
  }
934
934
  )
935
935
  ] }),
@@ -965,34 +965,34 @@ const jr = B(() => Promise.resolve().then(() => Wr)), yr = B(() => Promise.resol
965
965
  advantages: n,
966
966
  classes: i,
967
967
  images: d,
968
- backgroundColor: l
968
+ backgroundColor: a
969
969
  }) => {
970
970
  var x;
971
971
  const u = (n == null ? void 0 : n.details) && ((x = n == null ? void 0 : n.details) == null ? void 0 : x.items.length) > 0;
972
972
  return /* @__PURE__ */ o.jsxs(
973
973
  "section",
974
974
  {
975
- id: g.banner,
976
- style: { backgroundColor: l ?? "#d9edff" },
977
- "data-test-id": g.banner,
978
- className: a("", i == null ? void 0 : i.root),
975
+ id: b.banner,
976
+ style: { backgroundColor: a ?? "#d9edff" },
977
+ "data-test-id": b.banner,
978
+ className: l("", i == null ? void 0 : i.root),
979
979
  children: [
980
- /* @__PURE__ */ o.jsxs(F, { className: a("relative desktop:h-[456px]", i == null ? void 0 : i.container), children: [
981
- /* @__PURE__ */ o.jsxs("div", { className: a("flex flex-col desktop:flex-row desktop:justify-between", i == null ? void 0 : i.wrapper), children: [
980
+ /* @__PURE__ */ o.jsxs(F, { className: l("relative desktop:h-[456px]", i == null ? void 0 : i.container), children: [
981
+ /* @__PURE__ */ o.jsxs("div", { className: l("flex flex-col desktop:flex-row desktop:justify-between", i == null ? void 0 : i.wrapper), children: [
982
982
  /* @__PURE__ */ o.jsxs("div", { className: "flex flex-col desktop:gap-10 desktop:pt-20", children: [
983
- /* @__PURE__ */ o.jsxs("div", { className: a("flex flex-col gap-4 pt-6 desktop:pt-0", i == null ? void 0 : i.textBlock), children: [
983
+ /* @__PURE__ */ o.jsxs("div", { className: l("flex flex-col gap-4 pt-6 desktop:pt-0", i == null ? void 0 : i.textBlock), children: [
984
984
  /* @__PURE__ */ o.jsx(
985
985
  "div",
986
986
  {
987
987
  dangerouslySetInnerHTML: { __html: e },
988
- className: a("mob-headline-bold-m text-color-dark desktop:desk-headline-bold-l", i == null ? void 0 : i.title)
988
+ className: l("mob-headline-bold-m text-color-dark desktop:desk-headline-bold-l", i == null ? void 0 : i.title)
989
989
  }
990
990
  ),
991
991
  /* @__PURE__ */ o.jsx(
992
992
  "div",
993
993
  {
994
994
  dangerouslySetInnerHTML: { __html: t },
995
- className: a("desk-body-regular-l text-color-dark", i == null ? void 0 : i.subtitle)
995
+ className: l("desk-body-regular-l text-color-dark", i == null ? void 0 : i.subtitle)
996
996
  }
997
997
  )
998
998
  ] }),
@@ -1009,21 +1009,21 @@ const jr = B(() => Promise.resolve().then(() => Wr)), yr = B(() => Promise.resol
1009
1009
  /* @__PURE__ */ o.jsx(
1010
1010
  "div",
1011
1011
  {
1012
- className: a(
1012
+ className: l(
1013
1013
  "relative flex h-[356px] justify-center desktop:hidden desktop:h-[456px] desktop:w-[550px]",
1014
1014
  i == null ? void 0 : i.imageContainer
1015
1015
  ),
1016
- children: /* @__PURE__ */ o.jsx("img", { src: d.mobile, alt: d.alt, className: "h-full object-contain" })
1016
+ children: /* @__PURE__ */ o.jsx("img", { src: d == null ? void 0 : d.mobile, alt: d == null ? void 0 : d.alt, className: "h-full object-contain" })
1017
1017
  }
1018
1018
  ),
1019
1019
  /* @__PURE__ */ o.jsx(
1020
1020
  "div",
1021
1021
  {
1022
- className: a(
1022
+ className: l(
1023
1023
  "relative flex h-[356px] justify-center mobile:hidden desktop:h-[456px] desktop:w-[550px]",
1024
1024
  i == null ? void 0 : i.imageContainer
1025
1025
  ),
1026
- children: /* @__PURE__ */ o.jsx("img", { src: d.desktop, alt: d.alt, className: "h-full object-contain" })
1026
+ children: /* @__PURE__ */ o.jsx("img", { src: d == null ? void 0 : d.desktop, alt: d == null ? void 0 : d.alt, className: "h-full object-contain" })
1027
1027
  }
1028
1028
  )
1029
1029
  ] }),
@@ -1060,52 +1060,52 @@ const jr = B(() => Promise.resolve().then(() => Wr)), yr = B(() => Promise.resol
1060
1060
  __proto__: null,
1061
1061
  Banner: ee,
1062
1062
  default: ee
1063
- }, Symbol.toStringTag, { value: "Module" })), Ar = ({ socialsLinks: e, classes: t }) => /* @__PURE__ */ o.jsx("div", { className: a("mt-4 flex items-center gap-2 desktop:mt-6", t == null ? void 0 : t.socialRoot), children: e == null ? void 0 : e.map(({ iconName: r, href: n, ...i }) => /* @__PURE__ */ o.jsx(
1063
+ }, Symbol.toStringTag, { value: "Module" })), Ar = ({ socialsLinks: e, classes: t }) => /* @__PURE__ */ o.jsx("div", { className: l("mt-4 flex items-center gap-2 desktop:mt-6", t == null ? void 0 : t.socialRoot), children: e == null ? void 0 : e.map(({ iconName: r, href: n, ...i }) => /* @__PURE__ */ o.jsx(
1064
1064
  "a",
1065
1065
  {
1066
- className: a("flex size-8 items-center justify-center rounded-full bg-[#52576a] p-2", t == null ? void 0 : t.socialLink),
1066
+ className: l("flex size-8 items-center justify-center rounded-full bg-[#52576a] p-2", t == null ? void 0 : t.socialLink),
1067
1067
  href: n,
1068
1068
  "aria-label": r.replace("social/", ""),
1069
1069
  ...i,
1070
- children: /* @__PURE__ */ o.jsx(c, { name: r, className: a("h-full w-full text-icon-white", t == null ? void 0 : t.socialIcon) })
1070
+ children: /* @__PURE__ */ o.jsx(c, { name: r, className: l("h-full w-full text-icon-white", t == null ? void 0 : t.socialIcon) })
1071
1071
  },
1072
1072
  n
1073
- )) }), qr = ({ phones: e, classes: t }) => /* @__PURE__ */ o.jsx("div", { className: a("flex flex-col gap-4 desktop:items-end", t == null ? void 0 : t.phonesRoot), children: e == null ? void 0 : e.map(({ phone: r, text: n }) => /* @__PURE__ */ o.jsx(
1073
+ )) }), qr = ({ phones: e, classes: t }) => /* @__PURE__ */ o.jsx("div", { className: l("flex flex-col gap-4 desktop:items-end", t == null ? void 0 : t.phonesRoot), children: e == null ? void 0 : e.map(({ phone: r, text: n }) => /* @__PURE__ */ o.jsx(
1074
1074
  Ne,
1075
1075
  {
1076
1076
  phone: It(r),
1077
1077
  text: n,
1078
1078
  classes: {
1079
- root: a(t == null ? void 0 : t.phoneWrapper),
1080
- text: a("text-color-footer", t == null ? void 0 : t.phoneText),
1081
- link: a("text-color-white mobile:m-0", t == null ? void 0 : t.phoneLink)
1079
+ root: l(t == null ? void 0 : t.phoneWrapper),
1080
+ text: l("text-color-footer", t == null ? void 0 : t.phoneText),
1081
+ link: l("text-color-white mobile:m-0", t == null ? void 0 : t.phoneLink)
1082
1082
  }
1083
1083
  },
1084
1084
  r
1085
1085
  )) }), Ur = ({ classes: e, details: t }) => /* @__PURE__ */ o.jsx(
1086
1086
  "div",
1087
1087
  {
1088
- className: a(
1088
+ className: l(
1089
1089
  "mt-6 grid grid-cols-1 gap-6 border-b border-blue-grey-500 pb-6 desktop:my-8 desktop:grid-cols-4 desktop:gap-10 desktop:pb-8",
1090
1090
  e == null ? void 0 : e.navRoot
1091
1091
  ),
1092
1092
  children: t == null ? void 0 : t.map(
1093
- ({ column: r }) => r == null ? void 0 : r.map(({ groupLabel: n, links: i }) => /* @__PURE__ */ o.jsxs("div", { className: a("flex flex-col gap-4", e == null ? void 0 : e.navGroup), children: [
1094
- /* @__PURE__ */ o.jsx("div", { className: a("desk-body-medium-l text-color-white", e == null ? void 0 : e.navLabel), children: n }),
1095
- /* @__PURE__ */ o.jsx("div", { className: a("flex flex-col gap-1", e == null ? void 0 : e.navLinks), children: i == null ? void 0 : i.map(({ path: d, label: l, ...u }) => /* @__PURE__ */ o.jsx(
1093
+ ({ column: r }) => r == null ? void 0 : r.map(({ groupLabel: n, links: i }) => /* @__PURE__ */ o.jsxs("div", { className: l("flex flex-col gap-4", e == null ? void 0 : e.navGroup), children: [
1094
+ /* @__PURE__ */ o.jsx("div", { className: l("desk-body-medium-l text-color-white", e == null ? void 0 : e.navLabel), children: n }),
1095
+ /* @__PURE__ */ o.jsx("div", { className: l("flex flex-col gap-1", e == null ? void 0 : e.navLinks), children: i == null ? void 0 : i.map(({ path: d, label: a, ...u }) => /* @__PURE__ */ o.jsx(
1096
1096
  pt,
1097
1097
  {
1098
1098
  href: d,
1099
- "aria-label": l,
1099
+ "aria-label": a,
1100
1100
  intent: "white",
1101
1101
  classes: {
1102
1102
  link: e == null ? void 0 : e.navLink,
1103
1103
  icon: e == null ? void 0 : e.navLinkIcon
1104
1104
  },
1105
1105
  ...u,
1106
- children: l
1106
+ children: a
1107
1107
  },
1108
- l
1108
+ a
1109
1109
  )) })
1110
1110
  ] }, n))
1111
1111
  )
@@ -1115,7 +1115,7 @@ const jr = B(() => Promise.resolve().then(() => Wr)), yr = B(() => Promise.resol
1115
1115
  return /* @__PURE__ */ o.jsx(
1116
1116
  "div",
1117
1117
  {
1118
- className: a("desk-body-regular-m text-color-footer [&_>p]:inline", t == null ? void 0 : t.copyRight),
1118
+ className: l("desk-body-regular-m text-color-footer [&_>p]:inline", t == null ? void 0 : t.copyRight),
1119
1119
  dangerouslySetInnerHTML: {
1120
1120
  __html: `© 2004-${r} ${e}`
1121
1121
  }
@@ -1126,8 +1126,8 @@ const jr = B(() => Promise.resolve().then(() => Wr)), yr = B(() => Promise.resol
1126
1126
  {
1127
1127
  "aria-label": "logo",
1128
1128
  href: "https://sovcombank.ru/",
1129
- className: a("block h-[24px] w-[132px] desktop:h-[32px] desktop:w-[194px]", e == null ? void 0 : e.footerLogo),
1130
- children: /* @__PURE__ */ o.jsx(c, { name: "brandLogos/logoWhite", className: a("size-full", e == null ? void 0 : e.footerLogoIcon) })
1129
+ className: l("block h-[24px] w-[132px] desktop:h-[32px] desktop:w-[194px]", e == null ? void 0 : e.footerLogo),
1130
+ children: /* @__PURE__ */ o.jsx(c, { name: "brandLogos/logoWhite", className: l("size-full", e == null ? void 0 : e.footerLogoIcon) })
1131
1131
  }
1132
1132
  ), Yr = ({ classes: e }) => /* @__PURE__ */ o.jsx(
1133
1133
  pt,
@@ -1138,22 +1138,22 @@ const jr = B(() => Promise.resolve().then(() => Wr)), yr = B(() => Promise.resol
1138
1138
  "aria-label": "site-map",
1139
1139
  rel: "noreferrer",
1140
1140
  classes: {
1141
- link: a("mobile:mt-6", e == null ? void 0 : e.siteMapLink),
1141
+ link: l("mobile:mt-6", e == null ? void 0 : e.siteMapLink),
1142
1142
  icon: e == null ? void 0 : e.siteMapLinkIcon
1143
1143
  },
1144
1144
  children: "Карта сайта"
1145
1145
  }
1146
1146
  ), Xr = ({ text: e, classes: t }) => {
1147
- const [r, n] = ut.useState(!1), [i, d] = ut.useState(!1), l = ut.useRef(null);
1147
+ const [r, n] = ut.useState(!1), [i, d] = ut.useState(!1), a = ut.useRef(null);
1148
1148
  return ut.useEffect(() => {
1149
- const u = l.current;
1149
+ const u = a.current;
1150
1150
  u && d(u.scrollHeight > u.clientHeight);
1151
- }, []), /* @__PURE__ */ o.jsxs("div", { className: a("mt-8 flex flex-col gap-4", t == null ? void 0 : t.ligalRoot), children: [
1151
+ }, []), /* @__PURE__ */ o.jsxs("div", { className: l("mt-8 flex flex-col gap-4", t == null ? void 0 : t.ligalRoot), children: [
1152
1152
  /* @__PURE__ */ o.jsx(
1153
1153
  "div",
1154
1154
  {
1155
- ref: l,
1156
- className: a("desk-body-regular-m text-color-footer", { "line-clamp-3": !r }, t == null ? void 0 : t.ligalText),
1155
+ ref: a,
1156
+ className: l("desk-body-regular-m text-color-footer", { "line-clamp-3": !r }, t == null ? void 0 : t.ligalText),
1157
1157
  dangerouslySetInnerHTML: { __html: e }
1158
1158
  }
1159
1159
  ),
@@ -1163,7 +1163,7 @@ const jr = B(() => Promise.resolve().then(() => Wr)), yr = B(() => Promise.resol
1163
1163
  tabIndex: 0,
1164
1164
  role: "button",
1165
1165
  onClick: () => n((u) => !u),
1166
- className: a(
1166
+ className: l(
1167
1167
  "desk-body-regular-l w-max cursor-pointer font-medium text-color-footer transition-colors hover:text-color-white",
1168
1168
  t == null ? void 0 : t.ligalButton
1169
1169
  ),
@@ -1178,23 +1178,23 @@ const jr = B(() => Promise.resolve().then(() => Wr)), yr = B(() => Promise.resol
1178
1178
  copyright: n,
1179
1179
  classes: i,
1180
1180
  details: d,
1181
- siteMap: l = !0
1181
+ siteMap: a = !0
1182
1182
  }) => /* @__PURE__ */ o.jsx(
1183
1183
  "footer",
1184
1184
  {
1185
- id: g.footer,
1186
- "data-test-id": g.footer,
1187
- className: a("w-full bg-color-footer py-8 desktop:py-10", i == null ? void 0 : i.root),
1188
- children: /* @__PURE__ */ o.jsx(F, { className: a(i == null ? void 0 : i.footerContainer), children: /* @__PURE__ */ o.jsxs("div", { className: a("mobile:pb-[176px]", i == null ? void 0 : i.footerWrapper), children: [
1185
+ id: b.footer,
1186
+ "data-test-id": b.footer,
1187
+ className: l("w-full bg-color-footer py-8 desktop:py-10", i == null ? void 0 : i.root),
1188
+ children: /* @__PURE__ */ o.jsx(F, { className: l(i == null ? void 0 : i.footerContainer), children: /* @__PURE__ */ o.jsxs("div", { className: l("mobile:pb-[176px]", i == null ? void 0 : i.footerWrapper), children: [
1189
1189
  /* @__PURE__ */ o.jsxs(
1190
1190
  "div",
1191
1191
  {
1192
- className: a(
1192
+ className: l(
1193
1193
  "flex flex-col items-start justify-between gap-4 border-b border-solid border-blue-grey-500 pb-6 desktop:flex-row desktop:gap-6 desktop:pb-8",
1194
1194
  i == null ? void 0 : i.footerHead
1195
1195
  ),
1196
1196
  children: [
1197
- /* @__PURE__ */ o.jsxs("div", { className: a(i == null ? void 0 : i.footerSocialBlock), children: [
1197
+ /* @__PURE__ */ o.jsxs("div", { className: l(i == null ? void 0 : i.footerSocialBlock), children: [
1198
1198
  /* @__PURE__ */ o.jsx(Zr, { classes: i == null ? void 0 : i.footerLogo }),
1199
1199
  e.enabled && /* @__PURE__ */ o.jsx(Ar, { socialsLinks: e.links, classes: i == null ? void 0 : i.socialLinks })
1200
1200
  ] }),
@@ -1207,13 +1207,13 @@ const jr = B(() => Promise.resolve().then(() => Wr)), yr = B(() => Promise.resol
1207
1207
  /* @__PURE__ */ o.jsxs(
1208
1208
  "div",
1209
1209
  {
1210
- className: a(
1210
+ className: l(
1211
1211
  "mt-6 flex flex-col-reverse items-start justify-between gap-4 desktop:mt-8 desktop:flex-row desktop:gap-6",
1212
1212
  i == null ? void 0 : i.footerBottom
1213
1213
  ),
1214
1214
  children: [
1215
1215
  n.enabled && /* @__PURE__ */ o.jsx(Kr, { text: n.text, classes: i == null ? void 0 : i.copyright }),
1216
- l && /* @__PURE__ */ o.jsx(Yr, { classes: i == null ? void 0 : i.siteMap })
1216
+ a && /* @__PURE__ */ o.jsx(Yr, { classes: i == null ? void 0 : i.siteMap })
1217
1217
  ]
1218
1218
  }
1219
1219
  )
@@ -1224,12 +1224,12 @@ const jr = B(() => Promise.resolve().then(() => Wr)), yr = B(() => Promise.resol
1224
1224
  Footer: re,
1225
1225
  default: re
1226
1226
  }, Symbol.toStringTag, { value: "Module" })), Gr = (e) => {
1227
- var d, l;
1227
+ var d, a;
1228
1228
  const { classes: t, index: r, title: n, description: i } = e;
1229
1229
  return /* @__PURE__ */ o.jsxs(
1230
1230
  "div",
1231
1231
  {
1232
- className: a(
1232
+ className: l(
1233
1233
  "flex w-[328px] max-w-[328px] flex-col gap-4 rounded-md border border-solid border-blue-grey-500 p-4 desktop:w-[348px] desktop:max-w-[348px] desktop:border-none desktop:p-0",
1234
1234
  t == null ? void 0 : t.singleStep
1235
1235
  ),
@@ -1237,31 +1237,31 @@ const jr = B(() => Promise.resolve().then(() => Wr)), yr = B(() => Promise.resol
1237
1237
  /* @__PURE__ */ o.jsx(
1238
1238
  "div",
1239
1239
  {
1240
- className: a(
1240
+ className: l(
1241
1241
  "mob-headline-bold-s flex size-10 items-center justify-center rounded-sm bg-color-blue-grey-500 text-color-white desktop:desk-title-bold-l desktop:size-12",
1242
1242
  t == null ? void 0 : t.numeric
1243
1243
  ),
1244
1244
  children: r
1245
1245
  }
1246
1246
  ),
1247
- /* @__PURE__ */ o.jsxs("div", { className: a("flex flex-col gap-6", t == null ? void 0 : t.stepContainer), children: [
1248
- /* @__PURE__ */ o.jsxs("div", { className: a("flex flex-col gap-2"), children: [
1247
+ /* @__PURE__ */ o.jsxs("div", { className: l("flex flex-col gap-6", t == null ? void 0 : t.stepContainer), children: [
1248
+ /* @__PURE__ */ o.jsxs("div", { className: l("flex flex-col gap-2"), children: [
1249
1249
  n && /* @__PURE__ */ o.jsx(
1250
1250
  "div",
1251
1251
  {
1252
1252
  dangerouslySetInnerHTML: { __html: n },
1253
- className: a("mob-title-bold-m text-color-dark desktop:desk-title-bold-s", t == null ? void 0 : t.title)
1253
+ className: l("mob-title-bold-m text-color-dark desktop:desk-title-bold-s", t == null ? void 0 : t.title)
1254
1254
  }
1255
1255
  ),
1256
1256
  /* @__PURE__ */ o.jsx(
1257
1257
  "div",
1258
1258
  {
1259
1259
  dangerouslySetInnerHTML: { __html: i ?? "" },
1260
- className: a("desk-body-regular-l text-color-tetriary", t == null ? void 0 : t.description)
1260
+ className: l("desk-body-regular-l text-color-tetriary", t == null ? void 0 : t.description)
1261
1261
  }
1262
1262
  )
1263
1263
  ] }),
1264
- e.type === "withImage" && Object.keys((e == null ? void 0 : e.image) ?? {}).length > 0 && /* @__PURE__ */ o.jsx("div", { className: a("h-[368px] w-[348px] mobile:hidden", t == null ? void 0 : t.imageContainer), children: /* @__PURE__ */ o.jsx("img", { className: a("h-full w-full object-contain", t == null ? void 0 : t.image), src: (d = e == null ? void 0 : e.image) == null ? void 0 : d.src, alt: (l = e == null ? void 0 : e.image) == null ? void 0 : l.alt }) })
1264
+ e.type === "withImage" && Object.keys((e == null ? void 0 : e.image) ?? {}).length > 0 && /* @__PURE__ */ o.jsx("div", { className: l("h-[368px] w-[348px] mobile:hidden", t == null ? void 0 : t.imageContainer), children: /* @__PURE__ */ o.jsx("img", { className: l("h-full w-full object-contain", t == null ? void 0 : t.image), src: (d = e == null ? void 0 : e.image) == null ? void 0 : d.src, alt: (a = e == null ? void 0 : e.image) == null ? void 0 : a.alt }) })
1265
1265
  ] })
1266
1266
  ]
1267
1267
  }
@@ -1289,12 +1289,12 @@ const jr = B(() => Promise.resolve().then(() => Wr)), yr = B(() => Promise.resol
1289
1289
  },
1290
1290
  ...i
1291
1291
  },
1292
- children: e.details.map((l, u) => /* @__PURE__ */ o.jsx(
1292
+ children: e.details.map((a, u) => /* @__PURE__ */ o.jsx(
1293
1293
  Ye,
1294
1294
  {
1295
1295
  variant: "fullScreen",
1296
1296
  slideIndex: u,
1297
- ...l,
1297
+ ...a,
1298
1298
  classes: {
1299
1299
  slide: "mobile:w-[328px] desktop:w-[1140px]",
1300
1300
  ...d
@@ -1304,11 +1304,11 @@ const jr = B(() => Promise.resolve().then(() => Wr)), yr = B(() => Promise.resol
1304
1304
  ))
1305
1305
  }
1306
1306
  );
1307
- }, tn = ft(({ stepperTabs: e, activeStepper: t, setActiveStepper: r, classes: n }) => /* @__PURE__ */ o.jsx("div", { className: a("customScrollbar-y scrollHidden flex items-center gap-4 overflow-x-auto", n == null ? void 0 : n.wrapper), children: e == null ? void 0 : e.map(({ headline: i }) => /* @__PURE__ */ o.jsx(
1307
+ }, tn = ft(({ stepperTabs: e, activeStepper: t, setActiveStepper: r, classes: n }) => /* @__PURE__ */ o.jsx("div", { className: l("customScrollbar-y scrollHidden flex items-center gap-4 overflow-x-auto", n == null ? void 0 : n.wrapper), children: e == null ? void 0 : e.map(({ headline: i }) => /* @__PURE__ */ o.jsx(
1308
1308
  "button",
1309
1309
  {
1310
1310
  onClick: () => r(i),
1311
- className: a(
1311
+ className: l(
1312
1312
  "mob-body-regular-m text-nowrap rounded-sm bg-color-blue-grey-100 px-3 py-1.5 text-color-secondary outline-1 outline-offset-4 outline-transparent desktop:desk-body-regular-l focus:outline-primary-focus desktop:px-4 desktop:py-3",
1313
1313
  { "bg-icon-primary-default text-color-white": t === i },
1314
1314
  n == null ? void 0 : n.tab
@@ -1318,9 +1318,9 @@ const jr = B(() => Promise.resolve().then(() => Wr)), yr = B(() => Promise.resol
1318
1318
  i
1319
1319
  )) })), ne = ({ steppers: e, classes: t }) => {
1320
1320
  var x, m;
1321
- const r = e.length > 1, [n, i] = O(r ? (x = e[0]) == null ? void 0 : x.headline : ""), d = ct(() => e == null ? void 0 : e.map(({ headline: p }) => ({ headline: p })), [e]), l = r ? d == null ? void 0 : d.findIndex((p) => p.headline === n) : 0, u = e[l];
1322
- return /* @__PURE__ */ o.jsx("section", { id: g.stepper, "data-test-id": g.stepper, className: t == null ? void 0 : t.root, children: /* @__PURE__ */ o.jsx(F, { className: a(t == null ? void 0 : t.container, "mobile:max-w-[360px]"), children: /* @__PURE__ */ o.jsxs("div", { className: a("flex flex-col gap-6 desktop:items-start desktop:gap-12", t == null ? void 0 : t.wrapper), children: [
1323
- /* @__PURE__ */ o.jsx(R, { as: "h2", className: a("text-color-dark", t == null ? void 0 : t.headline), children: u.headline }),
1321
+ const r = e && (e == null ? void 0 : e.length) > 1, [n, i] = O(r ? (x = e == null ? void 0 : e[0]) == null ? void 0 : x.headline : ""), d = ct(() => e == null ? void 0 : e.map(({ headline: p }) => ({ headline: p })), [e]), a = r ? d == null ? void 0 : d.findIndex((p) => p.headline === n) : 0, u = e == null ? void 0 : e[a];
1322
+ return /* @__PURE__ */ o.jsx("section", { id: b.stepper, "data-test-id": b.stepper, className: t == null ? void 0 : t.root, children: /* @__PURE__ */ o.jsx(F, { className: l(t == null ? void 0 : t.container, "mobile:max-w-[360px]"), children: /* @__PURE__ */ o.jsxs("div", { className: l("flex flex-col gap-6 desktop:items-start desktop:gap-12", t == null ? void 0 : t.wrapper), children: [
1323
+ /* @__PURE__ */ o.jsx(R, { as: "h2", className: l("text-color-dark", t == null ? void 0 : t.headline), children: u.headline }),
1324
1324
  /* @__PURE__ */ o.jsxs("div", { className: "flex flex-col gap-6 desktop:gap-10", children: [
1325
1325
  r && /* @__PURE__ */ o.jsx(
1326
1326
  tn,
@@ -1335,12 +1335,12 @@ const jr = B(() => Promise.resolve().then(() => Wr)), yr = B(() => Promise.resol
1335
1335
  /* @__PURE__ */ o.jsx(
1336
1336
  "div",
1337
1337
  {
1338
- className: a(
1338
+ className: l(
1339
1339
  "flex w-full flex-col items-start gap-6 desktop:flex-row desktop:items-start desktop:gap-12",
1340
1340
  t == null ? void 0 : t.stepsWrapper,
1341
1341
  { "mobile:hidden": u.withImages }
1342
1342
  ),
1343
- children: (m = u.details) == null ? void 0 : m.map((p, f) => /* @__PURE__ */ St(Gr, { ...p, key: p.description, index: f + 1, classes: t == null ? void 0 : t.step }))
1343
+ children: (m = u == null ? void 0 : u.details) == null ? void 0 : m.map((p, f) => /* @__PURE__ */ St(Gr, { ...p, key: p.description, index: f + 1, classes: t == null ? void 0 : t.step }))
1344
1344
  }
1345
1345
  )
1346
1346
  ] })
@@ -1433,7 +1433,7 @@ const jr = B(() => Promise.resolve().then(() => Wr)), yr = B(() => Promise.resol
1433
1433
  class: "desktop:h-[272px] desktop:w-[500px]"
1434
1434
  }
1435
1435
  ]
1436
- }), an = ({ data: e, intent: t }) => {
1436
+ }), ln = ({ data: e, intent: t }) => {
1437
1437
  const {
1438
1438
  title: r,
1439
1439
  description: n,
@@ -1441,14 +1441,14 @@ const jr = B(() => Promise.resolve().then(() => Wr)), yr = B(() => Promise.resol
1441
1441
  enabled: !1
1442
1442
  }
1443
1443
  } = e;
1444
- return /* @__PURE__ */ o.jsx("li", { className: a(on({ intent: t })), children: /* @__PURE__ */ o.jsxs("div", { className: "desktop:max-w-[264px]", children: [
1445
- /* @__PURE__ */ o.jsxs("div", { className: a("mb-2 flex items-center gap-2"), children: [
1446
- /* @__PURE__ */ o.jsx("h4", { className: a("mob-title-bold-m text-color-dark"), children: r }),
1447
- i.enabled && /* @__PURE__ */ o.jsx(Nt, { triggerElement: /* @__PURE__ */ o.jsx(c, { className: a("size-5 text-icon-blue-grey-600"), name: "info/helpCircle" }), children: i.text })
1444
+ return /* @__PURE__ */ o.jsx("li", { className: l(on({ intent: t })), children: /* @__PURE__ */ o.jsxs("div", { className: "desktop:max-w-[264px]", children: [
1445
+ /* @__PURE__ */ o.jsxs("div", { className: l("mb-2 flex items-center gap-2"), children: [
1446
+ /* @__PURE__ */ o.jsx("h4", { className: l("mob-title-bold-m text-color-dark"), children: r }),
1447
+ i.enabled && /* @__PURE__ */ o.jsx(Nt, { triggerElement: /* @__PURE__ */ o.jsx(c, { className: l("size-5 text-icon-blue-grey-600"), name: "info/helpCircle" }), children: i.text })
1448
1448
  ] }),
1449
- /* @__PURE__ */ o.jsx("div", { className: a("mob-body-regular-l text-color-secondary"), dangerouslySetInnerHTML: { __html: n } })
1449
+ /* @__PURE__ */ o.jsx("div", { className: l("mob-body-regular-l text-color-secondary"), dangerouslySetInnerHTML: { __html: n } })
1450
1450
  ] }) });
1451
- }, Bt = ({ intent: e, headline: t, desktopHidden: r = !1, mobileHidden: n = !1 }) => /* @__PURE__ */ o.jsx("h2", { className: a(rn({ intent: e, desktopHidden: r, mobileHidden: n })), children: t }), ln = ({ details: e, intent: t, withButton: r }) => /* @__PURE__ */ o.jsx("ul", { className: a(nn({ intent: t, withButton: r })), children: e == null ? void 0 : e.map((n, i) => /* @__PURE__ */ o.jsx(an, { intent: t, data: n }, i)) }), oe = ({
1451
+ }, Bt = ({ intent: e, headline: t, desktopHidden: r = !1, mobileHidden: n = !1 }) => /* @__PURE__ */ o.jsx("h2", { className: l(rn({ intent: e, desktopHidden: r, mobileHidden: n })), children: t }), an = ({ details: e, intent: t, withButton: r }) => /* @__PURE__ */ o.jsx("ul", { className: l(nn({ intent: t, withButton: r })), children: e == null ? void 0 : e.map((n, i) => /* @__PURE__ */ o.jsx(ln, { intent: t, data: n }, i)) }), oe = ({
1452
1452
  headline: e,
1453
1453
  buttonConfig: t,
1454
1454
  intent: r = "twoItems",
@@ -1456,30 +1456,30 @@ const jr = B(() => Promise.resolve().then(() => Wr)), yr = B(() => Promise.resol
1456
1456
  image: i,
1457
1457
  classes: d
1458
1458
  }) => {
1459
- const l = r === "fourItems", u = r === "twoItems", x = i && "url" in i && _.isObject(i) ? /* @__PURE__ */ o.jsx("img", { className: "w-full object-contain", alt: i.alt, src: i.url }) : i;
1460
- return /* @__PURE__ */ o.jsx("section", { id: g.longBanner, "data-test-id": g.longBanner, className: a(d == null ? void 0 : d.root), children: /* @__PURE__ */ o.jsxs(F, { className: a(d == null ? void 0 : d.container), children: [
1459
+ const a = r === "fourItems", u = r === "twoItems", x = i && "url" in i && _.isObject(i) ? /* @__PURE__ */ o.jsx("img", { className: "w-full object-contain", alt: i.alt, src: i.url }) : i;
1460
+ return /* @__PURE__ */ o.jsx("section", { id: b.longBanner, "data-test-id": b.longBanner, className: l(d == null ? void 0 : d.root), children: /* @__PURE__ */ o.jsxs(F, { className: l(d == null ? void 0 : d.container), children: [
1461
1461
  u && /* @__PURE__ */ o.jsx(Bt, { intent: r, headline: e }),
1462
1462
  /* @__PURE__ */ o.jsxs(
1463
1463
  "div",
1464
1464
  {
1465
- className: a(
1465
+ className: l(
1466
1466
  "bg-banner-skyblue-100 px-6 pb-8 pt-6 desktop:flex desktop:flex-row-reverse desktop:justify-between desktop:px-0 desktop:py-0 desktop:pl-12",
1467
1467
  d == null ? void 0 : d.contentContainer
1468
1468
  ),
1469
1469
  children: [
1470
- l && /* @__PURE__ */ o.jsx(Bt, { intent: r, headline: e, desktopHidden: !0 }),
1471
- /* @__PURE__ */ o.jsx("div", { className: a(dn({ intent: r, withButton: t == null ? void 0 : t.enabled }), d == null ? void 0 : d.imgContainer), children: x }),
1470
+ a && /* @__PURE__ */ o.jsx(Bt, { intent: r, headline: e, desktopHidden: !0 }),
1471
+ /* @__PURE__ */ o.jsx("div", { className: l(dn({ intent: r, withButton: t == null ? void 0 : t.enabled }), d == null ? void 0 : d.imgContainer), children: x }),
1472
1472
  /* @__PURE__ */ o.jsxs(
1473
1473
  "div",
1474
1474
  {
1475
- className: a("desktop:flex desktop:flex-col desktop:justify-center desktop:py-10", d == null ? void 0 : d.textWithBtnContainer),
1475
+ className: l("desktop:flex desktop:flex-col desktop:justify-center desktop:py-10", d == null ? void 0 : d.textWithBtnContainer),
1476
1476
  children: [
1477
- l && /* @__PURE__ */ o.jsx(Bt, { intent: r, headline: e, mobileHidden: !0 }),
1478
- /* @__PURE__ */ o.jsx(ln, { details: n, intent: r, withButton: (t == null ? void 0 : t.enabled) ?? !1 }),
1477
+ a && /* @__PURE__ */ o.jsx(Bt, { intent: r, headline: e, mobileHidden: !0 }),
1478
+ /* @__PURE__ */ o.jsx(an, { details: n, intent: r, withButton: (t == null ? void 0 : t.enabled) ?? !1 }),
1479
1479
  (t == null ? void 0 : t.enabled) && t && /* @__PURE__ */ o.jsx(
1480
1480
  tt,
1481
1481
  {
1482
- className: a("w-full px-4 desktop:w-max", d == null ? void 0 : d.button),
1482
+ className: l("w-full px-4 desktop:w-max", d == null ? void 0 : d.button),
1483
1483
  size: "lg",
1484
1484
  intent: "secondary",
1485
1485
  ...t.buttonContent
@@ -1504,7 +1504,7 @@ const jr = B(() => Promise.resolve().then(() => Wr)), yr = B(() => Promise.resol
1504
1504
  "div",
1505
1505
  {
1506
1506
  tabIndex: 0,
1507
- className: a(
1507
+ className: l(
1508
1508
  "relative flex h-[90px] w-full max-w-[328px] items-center justify-center rounded-sm p-2 desktop:max-w-[524px]",
1509
1509
  "bg-color-white outline outline-1 outline-warm-grey-200 transition-colors focus-visible:outline-primary-focus",
1510
1510
  r == null ? void 0 : r.root
@@ -1512,7 +1512,7 @@ const jr = B(() => Promise.resolve().then(() => Wr)), yr = B(() => Promise.resol
1512
1512
  children: /* @__PURE__ */ o.jsx(
1513
1513
  "div",
1514
1514
  {
1515
- className: a(
1515
+ className: l(
1516
1516
  "flex h-[74px] flex-1 cursor-pointer rounded-sm px-2 py-3 transition-colors desktop:px-4 desktop:py-3",
1517
1517
  "bg-color-blue-grey-100 hover:bg-color-blue-grey-200 active:bg-color-blue-grey-300",
1518
1518
  { "items-center": t },
@@ -1550,14 +1550,14 @@ const jr = B(() => Promise.resolve().then(() => Wr)), yr = B(() => Promise.resol
1550
1550
  /* @__PURE__ */ o.jsx("stop", { offset: "0.6875", stopColor: "#EE2F53" }),
1551
1551
  /* @__PURE__ */ o.jsx("stop", { offset: "1", stopColor: "#EE2F53" })
1552
1552
  ] }) })
1553
- ] }), _e = ({ mainLink: e, subLink: t, isMobile: r, classes: n }) => /* @__PURE__ */ o.jsxs("div", { className: a("flex flex-col", n == null ? void 0 : n.linksWrapper), children: [
1553
+ ] }), _e = ({ mainLink: e, subLink: t, isMobile: r, classes: n }) => /* @__PURE__ */ o.jsxs("div", { className: l("flex flex-col", n == null ? void 0 : n.linksWrapper), children: [
1554
1554
  /* @__PURE__ */ o.jsx(
1555
1555
  "a",
1556
1556
  {
1557
1557
  href: e.href,
1558
1558
  target: "_blank",
1559
1559
  rel: "noreferrer",
1560
- className: a(
1560
+ className: l(
1561
1561
  'before:content=[" "] desk-body-medium-l z-[4] text-color-dark before:absolute before:left-1/2 before:top-1/2 before:h-full before:w-full before:-translate-x-1/2 before:-translate-y-1/2',
1562
1562
  n == null ? void 0 : n.linksMainLink
1563
1563
  ),
@@ -1573,52 +1573,52 @@ const jr = B(() => Promise.resolve().then(() => Wr)), yr = B(() => Promise.resol
1573
1573
  target: "_blank",
1574
1574
  rel: "noreferrer",
1575
1575
  classes: {
1576
- link: a("w-max relative z-[6] p-0 desk-body-regular-m text-color-tetriary", n == null ? void 0 : n.linksSubLink)
1576
+ link: l("w-max relative z-[6] p-0 desk-body-regular-m text-color-tetriary", n == null ? void 0 : n.linksSubLink)
1577
1577
  },
1578
1578
  children: t == null ? void 0 : t.text
1579
1579
  }
1580
1580
  )
1581
1581
  ] }), ie = ({ mainLink: e, subLink: t, isLoading: r, badge: n, loaderProps: i, classes: d }) => {
1582
- const { isMobile: l } = at();
1582
+ const { isMobile: a } = lt();
1583
1583
  return /* @__PURE__ */ o.jsx(Me, { isLoading: r, loaderProps: i, classes: d == null ? void 0 : d.authWrapper, children: /* @__PURE__ */ o.jsxs(
1584
1584
  "div",
1585
1585
  {
1586
- className: a(
1586
+ className: l(
1587
1587
  "flex flex-1 items-center justify-between gap-1",
1588
- { "justify-center": !n && l },
1588
+ { "justify-center": !n && a },
1589
1589
  d == null ? void 0 : d.innerWrapper
1590
1590
  ),
1591
1591
  children: [
1592
- /* @__PURE__ */ o.jsxs("div", { className: a("flex items-center gap-1 desktop:gap-4", d == null ? void 0 : d.textContent), children: [
1592
+ /* @__PURE__ */ o.jsxs("div", { className: l("flex items-center gap-1 desktop:gap-4", d == null ? void 0 : d.textContent), children: [
1593
1593
  /* @__PURE__ */ o.jsxs("div", { children: [
1594
- /* @__PURE__ */ o.jsx(c, { name: "logos/mts", className: a("relative z-[9] size-7 desktop:size-8", d == null ? void 0 : d.mtsLogo) }),
1595
- /* @__PURE__ */ o.jsx(c, { name: "logos/megafon", className: a("relative z-[8] -ml-4 size-7 desktop:size-8", d == null ? void 0 : d.megafonLogo) }),
1596
- /* @__PURE__ */ o.jsx(c, { name: "logos/beeline", className: a("relative z-[7] -ml-4 size-7 desktop:size-8", d == null ? void 0 : d.beelineLogo) })
1594
+ /* @__PURE__ */ o.jsx(c, { name: "logos/mts", className: l("relative z-[9] size-7 desktop:size-8", d == null ? void 0 : d.mtsLogo) }),
1595
+ /* @__PURE__ */ o.jsx(c, { name: "logos/megafon", className: l("relative z-[8] -ml-4 size-7 desktop:size-8", d == null ? void 0 : d.megafonLogo) }),
1596
+ /* @__PURE__ */ o.jsx(c, { name: "logos/beeline", className: l("relative z-[7] -ml-4 size-7 desktop:size-8", d == null ? void 0 : d.beelineLogo) })
1597
1597
  ] }),
1598
- /* @__PURE__ */ o.jsx(_e, { mainLink: e, subLink: t, isMobile: l, classes: d == null ? void 0 : d.links }),
1599
- /* @__PURE__ */ o.jsx(c, { name: "arrows/arrowRight", className: a("mobile:hidden", d == null ? void 0 : d.arrowIcon) })
1598
+ /* @__PURE__ */ o.jsx(_e, { mainLink: e, subLink: t, isMobile: a, classes: d == null ? void 0 : d.links }),
1599
+ /* @__PURE__ */ o.jsx(c, { name: "arrows/arrowRight", className: l("mobile:hidden", d == null ? void 0 : d.arrowIcon) })
1600
1600
  ] }),
1601
- n && /* @__PURE__ */ o.jsx(Pt, { className: a("bg-color-positive", d == null ? void 0 : d.badge), children: n })
1601
+ n && /* @__PURE__ */ o.jsx(Pt, { className: l("bg-color-positive", d == null ? void 0 : d.badge), children: n })
1602
1602
  ]
1603
1603
  }
1604
1604
  ) });
1605
1605
  }, de = ({ mainLink: e, subLink: t, isLoading: r, badge: n, loaderProps: i, classes: d }) => {
1606
- const { isMobile: l } = at();
1606
+ const { isMobile: a } = lt();
1607
1607
  return /* @__PURE__ */ o.jsx(Me, { isLoading: r, loaderProps: i, classes: d == null ? void 0 : d.authWrapper, children: /* @__PURE__ */ o.jsxs(
1608
1608
  "div",
1609
1609
  {
1610
- className: a(
1610
+ className: l(
1611
1611
  "flex flex-1 items-center justify-between gap-1",
1612
- { "justify-center": !n && l },
1612
+ { "justify-center": !n && a },
1613
1613
  d == null ? void 0 : d.innerWrapper
1614
1614
  ),
1615
1615
  children: [
1616
- /* @__PURE__ */ o.jsxs("div", { className: a("flex items-center gap-1 desktop:gap-4", d == null ? void 0 : d.textContent), children: [
1617
- /* @__PURE__ */ o.jsx(mn, { className: a("size-7 desktop:size-8", d == null ? void 0 : d.esiaLogo) }),
1618
- /* @__PURE__ */ o.jsx(_e, { mainLink: e, subLink: t, isMobile: l, classes: d == null ? void 0 : d.links }),
1619
- /* @__PURE__ */ o.jsx(c, { name: "arrows/arrowRight", className: a("mobile:hidden", d == null ? void 0 : d.arrowIcon) })
1616
+ /* @__PURE__ */ o.jsxs("div", { className: l("flex items-center gap-1 desktop:gap-4", d == null ? void 0 : d.textContent), children: [
1617
+ /* @__PURE__ */ o.jsx(mn, { className: l("size-7 desktop:size-8", d == null ? void 0 : d.esiaLogo) }),
1618
+ /* @__PURE__ */ o.jsx(_e, { mainLink: e, subLink: t, isMobile: a, classes: d == null ? void 0 : d.links }),
1619
+ /* @__PURE__ */ o.jsx(c, { name: "arrows/arrowRight", className: l("mobile:hidden", d == null ? void 0 : d.arrowIcon) })
1620
1620
  ] }),
1621
- n && /* @__PURE__ */ o.jsx(Pt, { className: a("bg-color-positive", d == null ? void 0 : d.badge), children: n })
1621
+ n && /* @__PURE__ */ o.jsx(Pt, { className: l("bg-color-positive", d == null ? void 0 : d.badge), children: n })
1622
1622
  ]
1623
1623
  }
1624
1624
  ) });
@@ -1630,20 +1630,20 @@ const jr = B(() => Promise.resolve().then(() => Wr)), yr = B(() => Promise.resol
1630
1630
  return /* @__PURE__ */ o.jsx(ie, { ...e });
1631
1631
  case Et.COMBINE:
1632
1632
  default:
1633
- const { esiaConfig: t, mobileIdConfig: r, subtitle: n, badge: i, classes: d } = e, l = !n && !i ? ut.Fragment : "div";
1633
+ const { esiaConfig: t, mobileIdConfig: r, subtitle: n, badge: i, classes: d } = e, a = !n && !i ? ut.Fragment : "div";
1634
1634
  return /* @__PURE__ */ o.jsxs(
1635
1635
  "div",
1636
1636
  {
1637
- className: a(
1637
+ className: l(
1638
1638
  "flex w-[328px] flex-col items-center justify-center gap-2 rounded-sm bg-color-white px-2 py-4 outline outline-1 outline-warm-grey-200 desktop:w-[524px] desktop:p-4",
1639
1639
  d == null ? void 0 : d.root
1640
1640
  ),
1641
1641
  children: [
1642
- /* @__PURE__ */ o.jsxs(l, { className: a("flex w-full items-center justify-between gap-2", d == null ? void 0 : d.topContent), children: [
1643
- n && /* @__PURE__ */ o.jsx("h5", { className: a("desk-body-regular-l flex flex-1 text-color-dark", d == null ? void 0 : d.subtitle), children: n }),
1644
- i && /* @__PURE__ */ o.jsx(Pt, { className: a("bg-color-positive", d == null ? void 0 : d.badge), children: i })
1642
+ /* @__PURE__ */ o.jsxs(a, { className: l("flex w-full items-center justify-between gap-2", d == null ? void 0 : d.topContent), children: [
1643
+ n && /* @__PURE__ */ o.jsx("h5", { className: l("desk-body-regular-l flex flex-1 text-color-dark", d == null ? void 0 : d.subtitle), children: n }),
1644
+ i && /* @__PURE__ */ o.jsx(Pt, { className: l("bg-color-positive", d == null ? void 0 : d.badge), children: i })
1645
1645
  ] }),
1646
- /* @__PURE__ */ o.jsxs("div", { className: a("grid w-full grid-cols-2 gap-2 desktop:gap-4", d == null ? void 0 : d.authWrapper), children: [
1646
+ /* @__PURE__ */ o.jsxs("div", { className: l("grid w-full grid-cols-2 gap-2 desktop:gap-4", d == null ? void 0 : d.authWrapper), children: [
1647
1647
  /* @__PURE__ */ o.jsx(
1648
1648
  de,
1649
1649
  {
@@ -1671,12 +1671,12 @@ const jr = B(() => Promise.resolve().then(() => Wr)), yr = B(() => Promise.resol
1671
1671
  }
1672
1672
  );
1673
1673
  }
1674
- }, di = (e) => xn(e), ae = ({ links: e, classes: t }) => /* @__PURE__ */ o.jsx("nav", { className: a("flex flex-col gap-1", t == null ? void 0 : t.linksWrapper), children: e == null ? void 0 : e.map(({ path: r, label: n, ...i }) => /* @__PURE__ */ o.jsx(
1674
+ }, di = (e) => xn(e), le = ({ links: e, classes: t }) => /* @__PURE__ */ o.jsx("nav", { className: l("flex flex-col gap-1", t == null ? void 0 : t.linksWrapper), children: e == null ? void 0 : e.map(({ path: r, label: n, ...i }) => /* @__PURE__ */ o.jsx(
1675
1675
  pt,
1676
1676
  {
1677
1677
  classes: {
1678
- link: a("w-max", t == null ? void 0 : t.linkText),
1679
- icon: a(t == null ? void 0 : t.linkIcon)
1678
+ link: l("w-max", t == null ? void 0 : t.linkText),
1679
+ icon: l(t == null ? void 0 : t.linkIcon)
1680
1680
  },
1681
1681
  intent: "dark",
1682
1682
  href: r,
@@ -1685,32 +1685,32 @@ const jr = B(() => Promise.resolve().then(() => Wr)), yr = B(() => Promise.resol
1685
1685
  },
1686
1686
  r
1687
1687
  )) }), hn = ({ groupLabel: e, links: t, mobileAccordionProps: r, classes: n }) => {
1688
- var d, l, u;
1689
- const { isMobile: i } = at();
1690
- return /* @__PURE__ */ o.jsxs("div", { className: a("flex flex-col gap-2", n == null ? void 0 : n.columnGroup), children: [
1688
+ var d, a, u;
1689
+ const { isMobile: i } = lt();
1690
+ return /* @__PURE__ */ o.jsxs("div", { className: l("flex flex-col gap-2", n == null ? void 0 : n.columnGroup), children: [
1691
1691
  !i && /* @__PURE__ */ o.jsxs(o.Fragment, { children: [
1692
- /* @__PURE__ */ o.jsx("h5", { className: a("mob-body-medium-l text-color-dark desktop:desk-body-medium-l", n == null ? void 0 : n.columnGroupHeading), children: e }),
1693
- /* @__PURE__ */ o.jsx(ae, { links: t, classes: n == null ? void 0 : n.linksList }, "desktop")
1692
+ /* @__PURE__ */ o.jsx("h5", { className: l("mob-body-medium-l text-color-dark desktop:desk-body-medium-l", n == null ? void 0 : n.columnGroupHeading), children: e }),
1693
+ /* @__PURE__ */ o.jsx(le, { links: t, classes: n == null ? void 0 : n.linksList }, "desktop")
1694
1694
  ] }),
1695
1695
  i && /* @__PURE__ */ o.jsx(
1696
1696
  dt,
1697
1697
  {
1698
1698
  defaultOpen: !0,
1699
1699
  label: e,
1700
- icon: /* @__PURE__ */ o.jsx(c, { name: "arrows/arrowRight", className: a("rotate-90 transition-transform group-data-[state=open]:-rotate-90") }),
1700
+ icon: /* @__PURE__ */ o.jsx(c, { name: "arrows/arrowRight", className: l("rotate-90 transition-transform group-data-[state=open]:-rotate-90") }),
1701
1701
  ...r,
1702
1702
  classes: {
1703
1703
  ...r == null ? void 0 : r.classes,
1704
1704
  header: {
1705
- trigger: a("p-0 bg-color-blue-grey-100", (l = (d = r == null ? void 0 : r.classes) == null ? void 0 : d.header) == null ? void 0 : l.trigger)
1705
+ trigger: l("p-0 bg-color-blue-grey-100", (a = (d = r == null ? void 0 : r.classes) == null ? void 0 : d.header) == null ? void 0 : a.trigger)
1706
1706
  },
1707
- contentInner: a("py-2 px-4", (u = r == null ? void 0 : r.classes) == null ? void 0 : u.contentInner)
1707
+ contentInner: l("py-2 px-4", (u = r == null ? void 0 : r.classes) == null ? void 0 : u.contentInner)
1708
1708
  },
1709
- children: /* @__PURE__ */ o.jsx(ae, { links: t, classes: n == null ? void 0 : n.linksList }, "mobile")
1709
+ children: /* @__PURE__ */ o.jsx(le, { links: t, classes: n == null ? void 0 : n.linksList }, "mobile")
1710
1710
  }
1711
1711
  )
1712
1712
  ] });
1713
- }, pn = ({ column: e, mobileAccordionProps: t, classes: r }) => /* @__PURE__ */ o.jsx("div", { className: a("flex flex-col gap-4 desktop:gap-6", r == null ? void 0 : r.column), children: e == null ? void 0 : e.map((n) => /* @__PURE__ */ o.jsx(hn, { ...t, ...n, classes: r == null ? void 0 : r.columnGroup }, n.groupLabel)) }), fn = D("grid gap-4 grid-cols-1", {
1713
+ }, pn = ({ column: e, mobileAccordionProps: t, classes: r }) => /* @__PURE__ */ o.jsx("div", { className: l("flex flex-col gap-4 desktop:gap-6", r == null ? void 0 : r.column), children: e == null ? void 0 : e.map((n) => /* @__PURE__ */ o.jsx(hn, { ...t, ...n, classes: r == null ? void 0 : r.columnGroup }, n.groupLabel)) }), fn = D("grid gap-4 grid-cols-1", {
1714
1714
  variants: {
1715
1715
  variant: {
1716
1716
  twoCols: "desktop:grid-cols-2",
@@ -1721,49 +1721,49 @@ const jr = B(() => Promise.resolve().then(() => Wr)), yr = B(() => Promise.resol
1721
1721
  defaultVariants: {
1722
1722
  variant: "fourCols"
1723
1723
  }
1724
- }), le = ({
1724
+ }), ae = ({
1725
1725
  variant: e,
1726
1726
  details: t,
1727
1727
  headline: r,
1728
1728
  mobileAccordionProps: n,
1729
1729
  rootAccordionProps: i,
1730
1730
  classes: d,
1731
- defaultOpen: l
1731
+ defaultOpen: a
1732
1732
  }) => {
1733
1733
  var u, x, m;
1734
1734
  return /* @__PURE__ */ o.jsx(
1735
1735
  "section",
1736
1736
  {
1737
- id: g.interLinking,
1738
- "data-test-id": g.interLinking,
1739
- className: a("min-w-full desktop:min-w-[1140px]", d == null ? void 0 : d.root),
1737
+ id: b.interLinking,
1738
+ "data-test-id": b.interLinking,
1739
+ className: l("min-w-full desktop:min-w-[1140px]", d == null ? void 0 : d.root),
1740
1740
  children: /* @__PURE__ */ o.jsx(F, { children: /* @__PURE__ */ o.jsx(
1741
1741
  dt,
1742
1742
  {
1743
- defaultOpen: l,
1744
- label: /* @__PURE__ */ o.jsx(R, { as: "h4", className: a("text-left", d == null ? void 0 : d.headline), children: r }),
1743
+ defaultOpen: a,
1744
+ label: /* @__PURE__ */ o.jsx(R, { as: "h4", className: l("text-left", d == null ? void 0 : d.headline), children: r }),
1745
1745
  ...i,
1746
1746
  classes: {
1747
1747
  ...i == null ? void 0 : i.classes,
1748
1748
  header: {
1749
- trigger: a("bg-color-blue-grey-100", (x = (u = i == null ? void 0 : i.classes) == null ? void 0 : u.header) == null ? void 0 : x.trigger)
1749
+ trigger: l("bg-color-blue-grey-100", (x = (u = i == null ? void 0 : i.classes) == null ? void 0 : u.header) == null ? void 0 : x.trigger)
1750
1750
  },
1751
- content: a("max-w-full bg-color-blue-grey-100 relative", (m = i == null ? void 0 : i.classes) == null ? void 0 : m.content)
1751
+ content: l("max-w-full bg-color-blue-grey-100 relative", (m = i == null ? void 0 : i.classes) == null ? void 0 : m.content)
1752
1752
  },
1753
- children: /* @__PURE__ */ o.jsx("div", { className: a(fn({ variant: e }), d == null ? void 0 : d.columnsWrapper), children: t == null ? void 0 : t.map((p, f) => /* @__PURE__ */ o.jsx(pn, { ...p, ...n, classes: d == null ? void 0 : d.column }, f)) })
1753
+ children: /* @__PURE__ */ o.jsx("div", { className: l(fn({ variant: e }), d == null ? void 0 : d.columnsWrapper), children: t == null ? void 0 : t.map((p, f) => /* @__PURE__ */ o.jsx(pn, { ...p, ...n, classes: d == null ? void 0 : d.column }, f)) })
1754
1754
  }
1755
1755
  ) })
1756
1756
  }
1757
1757
  );
1758
1758
  }, cn = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
1759
1759
  __proto__: null,
1760
- InterLinking: le,
1761
- default: le
1762
- }, Symbol.toStringTag, { value: "Module" })), gn = ({ tabsNames: e, activeTab: t, setActiveTab: r, classes: n }) => /* @__PURE__ */ o.jsx("div", { className: a("hidden-scroll flex items-center gap-4 overflow-x-auto p-[6px]", n == null ? void 0 : n.tabs), children: e && e.map((i, d) => /* @__PURE__ */ o.jsx(
1760
+ InterLinking: ae,
1761
+ default: ae
1762
+ }, Symbol.toStringTag, { value: "Module" })), bn = ({ tabsNames: e, activeTab: t, setActiveTab: r, classes: n }) => /* @__PURE__ */ o.jsx("div", { className: l("hidden-scroll flex items-center gap-4 overflow-x-auto p-[6px]", n == null ? void 0 : n.tabs), children: e && e.map((i, d) => /* @__PURE__ */ o.jsx(
1763
1763
  "button",
1764
1764
  {
1765
1765
  onClick: () => r(d),
1766
- className: a(
1766
+ className: l(
1767
1767
  "mob-body-regular-m text-nowrap rounded-sm bg-color-blue-grey-100 px-3 py-1.5 text-color-secondary outline-1 outline-offset-4 outline-transparent focus:outline-primary-focus desktop:px-4 desktop:py-3",
1768
1768
  {
1769
1769
  "bg-icon-primary-default text-color-white": t === d
@@ -1773,8 +1773,8 @@ const jr = B(() => Promise.resolve().then(() => Wr)), yr = B(() => Promise.resol
1773
1773
  children: i
1774
1774
  },
1775
1775
  i
1776
- )) }), bn = (e) => e.variant === "HTML", jn = (e) => e.variant === "DOCUMENTS", yn = (e) => e.variant === "TABLE", kn = ({ html: e, config: t, classes: r, accordionConfig: n }) => {
1777
- const i = /* @__PURE__ */ o.jsx("div", { className: a(r == null ? void 0 : r.html), dangerouslySetInnerHTML: { __html: e ?? "" } });
1776
+ )) }), gn = (e) => e.variant === "HTML", jn = (e) => e.variant === "DOCUMENTS", yn = (e) => e.variant === "TABLE", kn = ({ html: e, config: t, classes: r, accordionConfig: n }) => {
1777
+ const i = /* @__PURE__ */ o.jsx("div", { className: l(r == null ? void 0 : r.html), dangerouslySetInnerHTML: { __html: e ?? "" } });
1778
1778
  return /* @__PURE__ */ o.jsx(o.Fragment, { children: t && (t != null && t.isAccordion) && (t != null && t.accordionTitle) ? /* @__PURE__ */ o.jsx(dt, { label: t == null ? void 0 : t.accordionTitle, ...n, children: (n == null ? void 0 : n.children) ?? i }) : i });
1779
1779
  }, wn = (e, t) => ({
1780
1780
  rows: e == null ? void 0 : e.map(({ row: r }) => ({
@@ -1800,7 +1800,7 @@ const jr = B(() => Promise.resolve().then(() => Wr)), yr = B(() => Promise.resol
1800
1800
  threeCols: "grid-cols-3 gap-12"
1801
1801
  }
1802
1802
  }
1803
- }), Cn = ({ headings: e, columnsVariant: t, classes: r }) => /* @__PURE__ */ o.jsx("div", { className: a(Nn({ columnsVariant: t }), r == null ? void 0 : r.row), children: e == null ? void 0 : e.map((n) => /* @__PURE__ */ o.jsx("div", { className: a("text-color-secondary", r == null ? void 0 : r.cell), children: n == null ? void 0 : n.heading }, n == null ? void 0 : n.heading)) }), Sn = D("desktop:grid mobile:hidden items-center", {
1803
+ }), Cn = ({ headings: e, columnsVariant: t, classes: r }) => /* @__PURE__ */ o.jsx("div", { className: l(Nn({ columnsVariant: t }), r == null ? void 0 : r.row), children: e == null ? void 0 : e.map((n) => /* @__PURE__ */ o.jsx("div", { className: l("text-color-secondary", r == null ? void 0 : r.cell), children: n == null ? void 0 : n.heading }, n == null ? void 0 : n.heading)) }), Sn = D("desktop:grid mobile:hidden items-center", {
1804
1804
  variants: {
1805
1805
  columnsVariant: {
1806
1806
  twoCols: "grid-cols-2 gap-16",
@@ -1811,13 +1811,13 @@ const jr = B(() => Promise.resolve().then(() => Wr)), yr = B(() => Promise.resol
1811
1811
  separator: "px-4 py-4 border-t border-solid border-warm-grey-200"
1812
1812
  }
1813
1813
  }
1814
- }), In = ({ row: e, tableVariant: t, columnsVariant: r, rowIndex: n, classes: i }) => /* @__PURE__ */ o.jsx("div", { className: a(Sn({ columnsVariant: r, tableVariant: t }), { "border-none": n === 0 }, i == null ? void 0 : i.row), children: e == null ? void 0 : e.map(({ cell: d }, l) => /* @__PURE__ */ o.jsx(
1814
+ }), In = ({ row: e, tableVariant: t, columnsVariant: r, rowIndex: n, classes: i }) => /* @__PURE__ */ o.jsx("div", { className: l(Sn({ columnsVariant: r, tableVariant: t }), { "border-none": n === 0 }, i == null ? void 0 : i.row), children: e == null ? void 0 : e.map(({ cell: d }, a) => /* @__PURE__ */ o.jsx(
1815
1815
  "div",
1816
1816
  {
1817
- className: a("desk-body-regular-l text-color-dark", { "font-medium": l !== 0 }, i == null ? void 0 : i.cell),
1817
+ className: l("desk-body-regular-l text-color-dark", { "font-medium": a !== 0 }, i == null ? void 0 : i.cell),
1818
1818
  children: d && d
1819
1819
  },
1820
- l
1820
+ a
1821
1821
  )) }), Mn = D("mobile:flex desktop:hidden flex-col gap-2", {
1822
1822
  variants: {
1823
1823
  tableVariant: {
@@ -1825,12 +1825,12 @@ const jr = B(() => Promise.resolve().then(() => Wr)), yr = B(() => Promise.resol
1825
1825
  separator: "py-4 border-t border-solid border-warm-grey-200 first:border-none"
1826
1826
  }
1827
1827
  }
1828
- }), _n = ({ row: e, tableVariant: t, columnsVariant: r, headingsExist: n, classes: i }) => /* @__PURE__ */ o.jsx("div", { className: a(Mn({ tableVariant: t }), i == null ? void 0 : i.row), children: e == null ? void 0 : e.map(({ cell: d, heading: l }, u) => /* @__PURE__ */ o.jsxs("div", { className: a("grid grid-cols-2 gap-3", { "grid-cols-1 gap-0": !n }, i == null ? void 0 : i.wrapper), children: [
1829
- l && /* @__PURE__ */ o.jsx("div", { className: a("mob-body-regular-l text-color-secondary", i == null ? void 0 : i.heading), children: l }),
1828
+ }), _n = ({ row: e, tableVariant: t, columnsVariant: r, headingsExist: n, classes: i }) => /* @__PURE__ */ o.jsx("div", { className: l(Mn({ tableVariant: t }), i == null ? void 0 : i.row), children: e == null ? void 0 : e.map(({ cell: d, heading: a }, u) => /* @__PURE__ */ o.jsxs("div", { className: l("grid grid-cols-2 gap-3", { "grid-cols-1 gap-0": !n }, i == null ? void 0 : i.wrapper), children: [
1829
+ a && /* @__PURE__ */ o.jsx("div", { className: l("mob-body-regular-l text-color-secondary", i == null ? void 0 : i.heading), children: a }),
1830
1830
  /* @__PURE__ */ o.jsx(
1831
1831
  "div",
1832
1832
  {
1833
- className: a(
1833
+ className: l(
1834
1834
  "mob-body-regular-l text-color-dark",
1835
1835
  {
1836
1836
  "font-medium": u !== 0 && r === "twoCols" || r === "threeCols" || r === "twoCols" && n
@@ -1842,9 +1842,9 @@ const jr = B(() => Promise.resolve().then(() => Wr)), yr = B(() => Promise.resol
1842
1842
  )
1843
1843
  ] }, u)) }), On = ({ tableVariant: e, rows: t, headings: r, columnsVariant: n, classes: i }) => {
1844
1844
  var u;
1845
- const d = ((u = wn(t, r)) == null ? void 0 : u.rows) ?? [], l = !!(r && r.length > 0);
1846
- return /* @__PURE__ */ o.jsxs("div", { className: a("flex flex-col", i == null ? void 0 : i.wrapper), children: [
1847
- l && /* @__PURE__ */ o.jsx(Cn, { headings: r, columnsVariant: n, classes: i == null ? void 0 : i.desktopHeading }),
1845
+ const d = ((u = wn(t, r)) == null ? void 0 : u.rows) ?? [], a = !!(r && r.length > 0);
1846
+ return /* @__PURE__ */ o.jsxs("div", { className: l("flex flex-col", i == null ? void 0 : i.wrapper), children: [
1847
+ a && /* @__PURE__ */ o.jsx(Cn, { headings: r, columnsVariant: n, classes: i == null ? void 0 : i.desktopHeading }),
1848
1848
  t == null ? void 0 : t.map((x, m) => /* @__PURE__ */ o.jsx(
1849
1849
  In,
1850
1850
  {
@@ -1859,7 +1859,7 @@ const jr = B(() => Promise.resolve().then(() => Wr)), yr = B(() => Promise.resol
1859
1859
  d == null ? void 0 : d.map((x, m) => /* @__PURE__ */ o.jsx(
1860
1860
  _n,
1861
1861
  {
1862
- headingsExist: l,
1862
+ headingsExist: a,
1863
1863
  tableVariant: e,
1864
1864
  columnsVariant: n,
1865
1865
  classes: i == null ? void 0 : i.desktopRow,
@@ -1875,17 +1875,17 @@ const jr = B(() => Promise.resolve().then(() => Wr)), yr = B(() => Promise.resol
1875
1875
  config: n,
1876
1876
  rows: i,
1877
1877
  title: d,
1878
- headings: l,
1878
+ headings: a,
1879
1879
  accordionConfig: u,
1880
1880
  classes: x
1881
1881
  }) => {
1882
- const m = /* @__PURE__ */ o.jsxs("div", { className: a(vn({ columnsVariant: r }), x == null ? void 0 : x.wrapper), children: [
1883
- d && /* @__PURE__ */ o.jsx(R, { as: "h4", className: a("mb-4 desktop:mb-6", x == null ? void 0 : x.headline), children: d }),
1884
- /* @__PURE__ */ o.jsx(On, { tableVariant: e, rows: i, headings: l, columnsVariant: r }),
1882
+ const m = /* @__PURE__ */ o.jsxs("div", { className: l(vn({ columnsVariant: r }), x == null ? void 0 : x.wrapper), children: [
1883
+ d && /* @__PURE__ */ o.jsx(R, { as: "h4", className: l("mb-4 desktop:mb-6", x == null ? void 0 : x.headline), children: d }),
1884
+ /* @__PURE__ */ o.jsx(On, { tableVariant: e, rows: i, headings: a, columnsVariant: r }),
1885
1885
  t && /* @__PURE__ */ o.jsx(
1886
1886
  "div",
1887
1887
  {
1888
- className: a("mt-2 [&&]:desk-body-regular-m desktop:mt-2", x == null ? void 0 : x.description),
1888
+ className: l("mt-2 [&&]:desk-body-regular-m desktop:mt-2", x == null ? void 0 : x.description),
1889
1889
  dangerouslySetInnerHTML: { __html: t ?? "" }
1890
1890
  }
1891
1891
  )
@@ -1911,57 +1911,57 @@ const jr = B(() => Promise.resolve().then(() => Wr)), yr = B(() => Promise.resol
1911
1911
  target: "_blank",
1912
1912
  rel: "noreferrer",
1913
1913
  tabIndex: 0,
1914
- className: a(
1914
+ className: l(
1915
1915
  "group flex w-full cursor-pointer items-center gap-2 rounded-sm p-1 outline outline-2 outline-transparent transition-colors focus-within:outline-primary-focus",
1916
1916
  i == null ? void 0 : i.link
1917
1917
  ),
1918
1918
  children: [
1919
- /* @__PURE__ */ o.jsx(c, { name: Fn[n], className: a(Bn({ iconType: n }), i == null ? void 0 : i.icon) }),
1920
- /* @__PURE__ */ o.jsxs("div", { className: a("flex flex-1 flex-col", i == null ? void 0 : i.wrapper), children: [
1921
- /* @__PURE__ */ o.jsx("p", { className: a("desk-body-medium-l text-color-dark", i == null ? void 0 : i.label), children: e }),
1922
- /* @__PURE__ */ o.jsxs("div", { className: a("desk-body-regular-m text-color-disabled", i == null ? void 0 : i.size), children: [
1919
+ /* @__PURE__ */ o.jsx(c, { name: Fn[n], className: l(Bn({ iconType: n }), i == null ? void 0 : i.icon) }),
1920
+ /* @__PURE__ */ o.jsxs("div", { className: l("flex flex-1 flex-col", i == null ? void 0 : i.wrapper), children: [
1921
+ /* @__PURE__ */ o.jsx("p", { className: l("desk-body-medium-l text-color-dark", i == null ? void 0 : i.label), children: e }),
1922
+ /* @__PURE__ */ o.jsxs("div", { className: l("desk-body-regular-m text-color-disabled", i == null ? void 0 : i.size), children: [
1923
1923
  Number(t),
1924
1924
  " КБ"
1925
1925
  ] })
1926
1926
  ] })
1927
1927
  ]
1928
1928
  }
1929
- ), Pn = ({ docs: e, config: t, title: r, iconType: n, description: i, classes: d, accordionConfig: l }) => {
1930
- const u = /* @__PURE__ */ o.jsxs("div", { className: a("flex max-w-[680px] flex-col", d == null ? void 0 : d.wrapper), children: [
1929
+ ), Pn = ({ docs: e, config: t, title: r, iconType: n, description: i, classes: d, accordionConfig: a }) => {
1930
+ const u = /* @__PURE__ */ o.jsxs("div", { className: l("flex max-w-[680px] flex-col", d == null ? void 0 : d.wrapper), children: [
1931
1931
  r && /* @__PURE__ */ o.jsx(R, { as: "h3", className: "mb-4", children: r }),
1932
- /* @__PURE__ */ o.jsx("div", { className: a("flex flex-col gap-4", d == null ? void 0 : d.documentsWrapper), children: e == null ? void 0 : e.map((x) => /* @__PURE__ */ o.jsx(En, { iconType: n, ...x, classes: d == null ? void 0 : d.singleDocument }, x.label)) }),
1933
- i && /* @__PURE__ */ o.jsx("div", { className: a("mt-4", d == null ? void 0 : d.description), dangerouslySetInnerHTML: { __html: i ?? "" } })
1932
+ /* @__PURE__ */ o.jsx("div", { className: l("flex flex-col gap-4", d == null ? void 0 : d.documentsWrapper), children: e == null ? void 0 : e.map((x) => /* @__PURE__ */ o.jsx(En, { iconType: n, ...x, classes: d == null ? void 0 : d.singleDocument }, x.label)) }),
1933
+ i && /* @__PURE__ */ o.jsx("div", { className: l("mt-4", d == null ? void 0 : d.description), dangerouslySetInnerHTML: { __html: i ?? "" } })
1934
1934
  ] });
1935
- return /* @__PURE__ */ o.jsx(o.Fragment, { children: t && (t != null && t.isAccordion) && (t != null && t.accordionTitle) ? /* @__PURE__ */ o.jsx(dt, { label: t == null ? void 0 : t.accordionTitle, ...l, children: (l == null ? void 0 : l.children) || u }) : u });
1935
+ return /* @__PURE__ */ o.jsx(o.Fragment, { children: t && (t != null && t.isAccordion) && (t != null && t.accordionTitle) ? /* @__PURE__ */ o.jsx(dt, { label: t == null ? void 0 : t.accordionTitle, ...a, children: (a == null ? void 0 : a.children) || u }) : u });
1936
1936
  }, Rn = ({ entity: e, classes: t, accordionsConfig: r }) => {
1937
1937
  var n, i, d;
1938
1938
  switch (!0) {
1939
- case bn(e):
1940
- return (n = e.details) == null ? void 0 : n.map((l, u) => {
1939
+ case gn(e):
1940
+ return (n = e.details) == null ? void 0 : n.map((a, u) => {
1941
1941
  var x;
1942
- return /* @__PURE__ */ o.jsx(kn, { ...l, accordionConfig: r == null ? void 0 : r.htmlAccordion, classes: (x = t == null ? void 0 : t.entities) == null ? void 0 : x.html }, u);
1942
+ return /* @__PURE__ */ o.jsx(kn, { ...a, accordionConfig: r == null ? void 0 : r.htmlAccordion, classes: (x = t == null ? void 0 : t.entities) == null ? void 0 : x.html }, u);
1943
1943
  });
1944
1944
  case jn(e):
1945
- return (i = e.details) == null ? void 0 : i.map((l, u) => {
1945
+ return (i = e.details) == null ? void 0 : i.map((a, u) => {
1946
1946
  var x;
1947
1947
  return /* @__PURE__ */ o.jsx(
1948
1948
  Pn,
1949
1949
  {
1950
1950
  accordionConfig: r == null ? void 0 : r.documentAccordion,
1951
- ...l,
1951
+ ...a,
1952
1952
  classes: (x = t == null ? void 0 : t.entities) == null ? void 0 : x.documents
1953
1953
  },
1954
1954
  u
1955
1955
  );
1956
1956
  });
1957
1957
  case yn(e):
1958
- return (d = e.details) == null ? void 0 : d.map((l, u) => {
1958
+ return (d = e.details) == null ? void 0 : d.map((a, u) => {
1959
1959
  var x;
1960
1960
  return /* @__PURE__ */ o.jsx(
1961
1961
  Tn,
1962
1962
  {
1963
1963
  accordionConfig: r == null ? void 0 : r.tableAccordion,
1964
- ...l,
1964
+ ...a,
1965
1965
  classes: (x = t == null ? void 0 : t.entities) == null ? void 0 : x.table
1966
1966
  },
1967
1967
  u
@@ -1970,13 +1970,13 @@ const jr = B(() => Promise.resolve().then(() => Wr)), yr = B(() => Promise.resol
1970
1970
  default:
1971
1971
  return null;
1972
1972
  }
1973
- }, Dn = ({ entity: e, classes: t, accordionsConfig: r }) => /* @__PURE__ */ o.jsx("div", { className: a("flex flex-col gap-6", t == null ? void 0 : t.entityWrapper), children: Rn({ entity: e, classes: t, accordionsConfig: r }) }), ue = ({ headline: e, tabs: t, classes: r, accordionsConfig: n }) => {
1973
+ }, Dn = ({ entity: e, classes: t, accordionsConfig: r }) => /* @__PURE__ */ o.jsx("div", { className: l("flex flex-col gap-6", t == null ? void 0 : t.entityWrapper), children: Rn({ entity: e, classes: t, accordionsConfig: r }) }), ue = ({ headline: e, tabs: t, classes: r, accordionsConfig: n }) => {
1974
1974
  var u, x;
1975
- const [i, d] = O(0), l = ct(() => t == null ? void 0 : t.map((m) => m == null ? void 0 : m.tabName), [t]) ?? [];
1976
- return !t || (t == null ? void 0 : t.length) === 0 ? null : /* @__PURE__ */ o.jsx("section", { id: g.usefulInfo, "data-test-id": g.usefulInfo, className: a(r == null ? void 0 : r.root), children: /* @__PURE__ */ o.jsxs(F, { className: a(r == null ? void 0 : r.container), children: [
1977
- /* @__PURE__ */ o.jsx(R, { className: a(r == null ? void 0 : r.headline), as: "h2", children: e }),
1978
- /* @__PURE__ */ o.jsx("div", { className: a("mt-6 flex flex-col gap-2 desktop:mt-12", r == null ? void 0 : r.tabsWrapper), children: /* @__PURE__ */ o.jsx(gn, { tabsNames: l, activeTab: i, setActiveTab: d, classes: r == null ? void 0 : r.tabs }) }),
1979
- /* @__PURE__ */ o.jsx("div", { className: a("mt-6 flex flex-col gap-6", r == null ? void 0 : r.contentWrapper), children: (x = (u = t == null ? void 0 : t[i]) == null ? void 0 : u.contents) == null ? void 0 : x.map((m, p) => /* @__PURE__ */ o.jsx(Dn, { accordionsConfig: n, ...m, classes: r == null ? void 0 : r.entityClasses }, p)) })
1975
+ const [i, d] = O(0), a = ct(() => t == null ? void 0 : t.map((m) => m == null ? void 0 : m.tabName), [t]) ?? [];
1976
+ return !t || (t == null ? void 0 : t.length) === 0 ? null : /* @__PURE__ */ o.jsx("section", { id: b.usefulInfo, "data-test-id": b.usefulInfo, className: l(r == null ? void 0 : r.root), children: /* @__PURE__ */ o.jsxs(F, { className: l(r == null ? void 0 : r.container), children: [
1977
+ /* @__PURE__ */ o.jsx(R, { className: l(r == null ? void 0 : r.headline), as: "h2", children: e }),
1978
+ /* @__PURE__ */ o.jsx("div", { className: l("mt-6 flex flex-col gap-2 desktop:mt-12", r == null ? void 0 : r.tabsWrapper), children: /* @__PURE__ */ o.jsx(bn, { tabsNames: a, activeTab: i, setActiveTab: d, classes: r == null ? void 0 : r.tabs }) }),
1979
+ /* @__PURE__ */ o.jsx("div", { className: l("mt-6 flex flex-col gap-6", r == null ? void 0 : r.contentWrapper), children: (x = (u = t == null ? void 0 : t[i]) == null ? void 0 : u.contents) == null ? void 0 : x.map((m, p) => /* @__PURE__ */ o.jsx(Dn, { accordionsConfig: n, ...m, classes: r == null ? void 0 : r.entityClasses }, p)) })
1980
1980
  ] }) });
1981
1981
  }, Hn = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
1982
1982
  __proto__: null,
@@ -1999,7 +1999,7 @@ class zn {
1999
1999
  * @param as Тип возвращаемых данных ('string' или 'node')
2000
2000
  */
2001
2001
  traverse(t, r = "string", n) {
2002
- const { includeSolidText: i, recursive: d, element: l } = this.options || {};
2002
+ const { includeSolidText: i, recursive: d, element: a } = this.options || {};
2003
2003
  switch (t.nodeType) {
2004
2004
  case this.ELEMENT_NODE:
2005
2005
  const u = t, x = u.tagName.toLowerCase();
@@ -2007,7 +2007,7 @@ class zn {
2007
2007
  console.warn("Found script node. For better security this node will be skipped.");
2008
2008
  break;
2009
2009
  }
2010
- if (l && x !== l)
2010
+ if (a && x !== a)
2011
2011
  break;
2012
2012
  if (r === "node")
2013
2013
  n.push(t);
@@ -2038,11 +2038,11 @@ class zn {
2038
2038
  * @returns Массив тегов или нод
2039
2039
  */
2040
2040
  async parse(t, r = "string") {
2041
- const { includeBody: n } = this.options || {}, i = [], d = [], l = await this.parseFromString(t), u = r === "string" ? i : d;
2041
+ const { includeBody: n } = this.options || {}, i = [], d = [], a = await this.parseFromString(t), u = r === "string" ? i : d;
2042
2042
  if (n)
2043
- this.traverse(l.body, r, u);
2043
+ this.traverse(a.body, r, u);
2044
2044
  else
2045
- for (const x of l.body.childNodes)
2045
+ for (const x of a.body.childNodes)
2046
2046
  this.traverse(x, r, u);
2047
2047
  return { stringNodes: i, nodes: d };
2048
2048
  }
@@ -2057,7 +2057,7 @@ class zn {
2057
2057
  }
2058
2058
  }
2059
2059
  const Ln = typeof window < "u";
2060
- class ai extends zn {
2060
+ class li extends zn {
2061
2061
  constructor(t) {
2062
2062
  super(t);
2063
2063
  }
@@ -2090,10 +2090,10 @@ const it = ({ html: e, as: t, ...r }) => {
2090
2090
  return n[i.name] = d, n;
2091
2091
  }, {});
2092
2092
  return Lt(r);
2093
- }, An = new br(), Te = ({ children: e }) => /* @__PURE__ */ o.jsx(Je, { client: An, children: e }), qn = (e, t, r, n) => e.type === "off" ? null : e.type === "text" ? /* @__PURE__ */ o.jsx(it, { html: e.message, as: "div", className: n == null ? void 0 : n.content }) : /* @__PURE__ */ o.jsxs(
2093
+ }, An = new gr(), Te = ({ children: e }) => /* @__PURE__ */ o.jsx(Je, { client: An, children: e }), qn = (e, t, r, n) => e.type === "off" ? null : e.type === "text" ? /* @__PURE__ */ o.jsx(it, { html: e.message, as: "div", className: n == null ? void 0 : n.content }) : /* @__PURE__ */ o.jsxs(
2094
2094
  "label",
2095
2095
  {
2096
- className: a(
2096
+ className: l(
2097
2097
  "mob-body-regular-s text-color-dark",
2098
2098
  "desktop:desk-body-regular-m desktop:gap-x-4",
2099
2099
  "flex items-center justify-items-start gap-x-3"
@@ -2110,7 +2110,7 @@ const it = ({ html: e, as: t, ...r }) => {
2110
2110
  approvement: n,
2111
2111
  chips: i,
2112
2112
  submitProps: d,
2113
- classes: l,
2113
+ classes: a,
2114
2114
  buttonGroup: u
2115
2115
  }) => {
2116
2116
  var z, v;
@@ -2121,10 +2121,10 @@ const it = ({ html: e, as: t, ...r }) => {
2121
2121
  }), k = Qn(r, e), I = ur({ control: y, fields: k || [], schema: f }), P = (C) => {
2122
2122
  x && x({ ...C, agree: m });
2123
2123
  };
2124
- return /* @__PURE__ */ o.jsx(Te, { children: /* @__PURE__ */ o.jsx("section", { id: g.form, "data-test-id": g.form, className: a("w-full", l == null ? void 0 : l.root), children: /* @__PURE__ */ o.jsxs(
2124
+ return /* @__PURE__ */ o.jsx(Te, { children: /* @__PURE__ */ o.jsx("section", { id: b.form, "data-test-id": b.form, className: l("w-full", a == null ? void 0 : a.root), children: /* @__PURE__ */ o.jsxs(
2125
2125
  F,
2126
2126
  {
2127
- className: a(
2127
+ className: l(
2128
2128
  "!max-w-[636px] border-warm-grey-200 px-4 desktop:gap-8 desktop:p-14",
2129
2129
  "relative mx-auto flex flex-col gap-6 rounded-sm py-8 desktop:border"
2130
2130
  ),
@@ -2132,25 +2132,25 @@ const it = ({ html: e, as: t, ...r }) => {
2132
2132
  i.enabled && /* @__PURE__ */ o.jsxs(
2133
2133
  "div",
2134
2134
  {
2135
- className: a(
2135
+ className: l(
2136
2136
  "desk-body-regular-l flex items-center gap-x-2 rounded-sm desktop:absolute",
2137
2137
  "bg-color-blue-grey-100 px-2 py-1 text-color-tetriary",
2138
2138
  "right-4 top-4 w-max",
2139
- (z = l == null ? void 0 : l.chips) == null ? void 0 : z.root
2139
+ (z = a == null ? void 0 : a.chips) == null ? void 0 : z.root
2140
2140
  ),
2141
2141
  children: [
2142
- i.image && /* @__PURE__ */ o.jsx(c, { name: i.image, className: a("size-6", (v = l == null ? void 0 : l.chips) == null ? void 0 : v.icon) }),
2142
+ i.image && /* @__PURE__ */ o.jsx(c, { name: i.image, className: l("size-6", (v = a == null ? void 0 : a.chips) == null ? void 0 : v.icon) }),
2143
2143
  i.content
2144
2144
  ]
2145
2145
  }
2146
2146
  ),
2147
- /* @__PURE__ */ o.jsx(R, { as: "h2", className: a("desktop:hidden", l == null ? void 0 : l.title), children: t }),
2148
- /* @__PURE__ */ o.jsx(R, { as: "h3", className: a("mobile:hidden", l == null ? void 0 : l.title), children: t }),
2147
+ /* @__PURE__ */ o.jsx(R, { as: "h2", className: l("desktop:hidden", a == null ? void 0 : a.title), children: t }),
2148
+ /* @__PURE__ */ o.jsx(R, { as: "h3", className: l("mobile:hidden", a == null ? void 0 : a.title), children: t }),
2149
2149
  /* @__PURE__ */ o.jsxs(
2150
2150
  "form",
2151
2151
  {
2152
2152
  onSubmit: E(P),
2153
- className: a("flex w-full flex-col gap-y-6", "desktop:gap-y-8", l == null ? void 0 : l.form),
2153
+ className: l("flex w-full flex-col gap-y-6", "desktop:gap-y-8", a == null ? void 0 : a.form),
2154
2154
  children: [
2155
2155
  r.enabled && /* @__PURE__ */ o.jsx(
2156
2156
  Ge,
@@ -2159,12 +2159,12 @@ const it = ({ html: e, as: t, ...r }) => {
2159
2159
  topContent: /* @__PURE__ */ o.jsx(it, { html: r.title }),
2160
2160
  bottomContent: /* @__PURE__ */ o.jsx(it, { html: r.subtitle }),
2161
2161
  maxPercent: r.maxPercent,
2162
- classes: l == null ? void 0 : l.progressBar
2162
+ classes: a == null ? void 0 : a.progressBar
2163
2163
  }
2164
2164
  ),
2165
2165
  /* @__PURE__ */ o.jsx(Qt, { control: y, fields: e }),
2166
2166
  /* @__PURE__ */ o.jsxs("div", { className: "mob-body-regular-m flex flex-col items-start justify-center gap-4", children: [
2167
- qn(n, m, p, l == null ? void 0 : l.approvement),
2167
+ qn(n, m, p, a == null ? void 0 : a.approvement),
2168
2168
  /* @__PURE__ */ o.jsx("div", { className: "flex w-full flex-col items-center justify-center gap-4 desktop:flex-row", children: u == null ? void 0 : u.map((C, L) => {
2169
2169
  const X = C.type === "submit" && n.type === "checkbox" ? !m : !1;
2170
2170
  return /* @__PURE__ */ St(
@@ -2173,12 +2173,12 @@ const it = ({ html: e, as: t, ...r }) => {
2173
2173
  ...C,
2174
2174
  key: L,
2175
2175
  disabled: X,
2176
- className: a(
2176
+ className: l(
2177
2177
  "w-full whitespace-nowrap",
2178
2178
  {
2179
2179
  "w-full": !!n
2180
2180
  },
2181
- l == null ? void 0 : l.submit
2181
+ a == null ? void 0 : a.submit
2182
2182
  )
2183
2183
  }
2184
2184
  );
@@ -2197,7 +2197,7 @@ const it = ({ html: e, as: t, ...r }) => {
2197
2197
  }, Symbol.toStringTag, { value: "Module" })), Kn = (e, t, r, n) => e.type === "off" ? null : e.type === "text" ? /* @__PURE__ */ o.jsx(it, { html: e.message, as: "div", className: n == null ? void 0 : n.content }) : /* @__PURE__ */ o.jsxs(
2198
2198
  "label",
2199
2199
  {
2200
- className: a(
2200
+ className: l(
2201
2201
  "mob-body-regular-s text-color-dark",
2202
2202
  "desktop:desk-body-regular-m desktop:gap-x-4",
2203
2203
  "flex items-center justify-items-start gap-x-3"
@@ -2214,7 +2214,7 @@ const it = ({ html: e, as: t, ...r }) => {
2214
2214
  submitProps: n,
2215
2215
  dialogId: i,
2216
2216
  classes: d,
2217
- buttonGroup: l,
2217
+ buttonGroup: a,
2218
2218
  ...u
2219
2219
  }) => {
2220
2220
  const { submitCallback: x } = n ?? {}, [m, p] = O(!1), f = $t(e), S = Ot.getZodDefaults(f), { control: y, handleSubmit: E } = Mt({
@@ -2227,7 +2227,7 @@ const it = ({ html: e, as: t, ...r }) => {
2227
2227
  return /* @__PURE__ */ o.jsx(Te, { children: /* @__PURE__ */ o.jsx(se, { id: i, title: t, ...u, children: /* @__PURE__ */ o.jsxs("form", { onSubmit: E(k), className: "flex flex-col gap-6", children: [
2228
2228
  /* @__PURE__ */ o.jsx(Qt, { control: y, fields: e }),
2229
2229
  Kn(r, m, p, d == null ? void 0 : d.approvement),
2230
- l == null ? void 0 : l.map((I, P) => {
2230
+ a == null ? void 0 : a.map((I, P) => {
2231
2231
  const z = I.type === "submit" && r.type === "checkbox" ? !m : !1;
2232
2232
  return /* @__PURE__ */ St(
2233
2233
  ht,
@@ -2235,7 +2235,7 @@ const it = ({ html: e, as: t, ...r }) => {
2235
2235
  ...I,
2236
2236
  key: P,
2237
2237
  disabled: z,
2238
- className: a(
2238
+ className: l(
2239
2239
  "w-full whitespace-nowrap",
2240
2240
  {
2241
2241
  "w-full": !!r
@@ -2250,7 +2250,7 @@ const it = ({ html: e, as: t, ...r }) => {
2250
2250
  __proto__: null,
2251
2251
  DynamicFormDialog: xe,
2252
2252
  default: xe
2253
- }, Symbol.toStringTag, { value: "Module" })), lt = () => ({
2253
+ }, Symbol.toStringTag, { value: "Module" })), at = () => ({
2254
2254
  approve: {
2255
2255
  icon: {
2256
2256
  element: /* @__PURE__ */ o.jsx(c, { name: "status/iconMark" }),
@@ -2311,23 +2311,23 @@ const it = ({ html: e, as: t, ...r }) => {
2311
2311
  text: "Вернуться на главную"
2312
2312
  }
2313
2313
  }
2314
- }), li = ({ status: e, navigationFn: t }) => /* @__PURE__ */ o.jsx("div", { className: "flex flex-col", children: /* @__PURE__ */ o.jsx(F, { className: "flex flex-col justify-center", children: /* @__PURE__ */ o.jsxs("div", { className: "mt-32 flex w-full flex-col items-center gap-8 desktop:gap-12", children: [
2314
+ }), ai = ({ status: e, navigationFn: t }) => /* @__PURE__ */ o.jsx("div", { className: "flex flex-col", children: /* @__PURE__ */ o.jsx(F, { className: "flex flex-col justify-center", children: /* @__PURE__ */ o.jsxs("div", { className: "mt-32 flex w-full flex-col items-center gap-8 desktop:gap-12", children: [
2315
2315
  /* @__PURE__ */ o.jsx(
2316
2316
  "span",
2317
2317
  {
2318
- className: a(
2318
+ className: l(
2319
2319
  "flex size-16 items-center justify-center rounded-full bg-color-positive-light",
2320
- `${lt()[e].icon.bg}`
2320
+ `${at()[e].icon.bg}`
2321
2321
  ),
2322
- children: lt()[e].icon.element
2322
+ children: at()[e].icon.element
2323
2323
  }
2324
2324
  ),
2325
2325
  /* @__PURE__ */ o.jsxs("div", { className: "flex flex-col items-center gap-2 text-center desktop:gap-6", children: [
2326
- /* @__PURE__ */ o.jsx(R, { as: "h2", children: lt()[e].title }),
2327
- /* @__PURE__ */ o.jsx("p", { className: "desk-body-regular-l text-color-dark", children: lt()[e].description })
2326
+ /* @__PURE__ */ o.jsx(R, { as: "h2", children: at()[e].title }),
2327
+ /* @__PURE__ */ o.jsx("p", { className: "desk-body-regular-l text-color-dark", children: at()[e].description })
2328
2328
  ] }),
2329
- /* @__PURE__ */ o.jsx(ht, { size: "lg", className: "w-full max-w-[328px] desktop:desk-body-regular-l desktop:w-[256px]", onClick: t, children: lt()[e].button.text })
2330
- ] }) }) }), Fe = ({ breadcrumb: e, className: t, ...r }) => /* @__PURE__ */ o.jsx("a", { href: e.path, className: a("desk-body-regular-m", t), ...r, children: e.label }), Yn = [
2329
+ /* @__PURE__ */ o.jsx(ht, { size: "lg", className: "w-full max-w-[328px] desktop:desk-body-regular-l desktop:w-[256px]", onClick: t, children: at()[e].button.text })
2330
+ ] }) }) }), Fe = ({ breadcrumb: e, className: t, ...r }) => /* @__PURE__ */ o.jsx("a", { href: e.path, className: l("desk-body-regular-m", t), ...r, children: e.label }), Yn = [
2331
2331
  {
2332
2332
  label: "Главная",
2333
2333
  path: "https://sovcombank.ru/apply/credit/kredit-na-kartu/"
@@ -2341,14 +2341,14 @@ const it = ({ html: e, as: t, ...r }) => {
2341
2341
  disabled: !0
2342
2342
  }
2343
2343
  ], kt = (e, t, r, n) => e.map((i, d) => {
2344
- const l = d === n;
2344
+ const a = d === n;
2345
2345
  return /* @__PURE__ */ o.jsxs("div", { className: "flex items-center gap-x-1", children: [
2346
2346
  /* @__PURE__ */ o.jsx(
2347
2347
  Fe,
2348
2348
  {
2349
2349
  breadcrumb: i,
2350
- className: a(r, {
2351
- "pointer-events-none text-color-primary-disabled": l,
2350
+ className: l(r, {
2351
+ "pointer-events-none text-color-primary-disabled": a,
2352
2352
  "text-color-blue-grey-600": i.disabled
2353
2353
  })
2354
2354
  }
@@ -2356,16 +2356,16 @@ const it = ({ html: e, as: t, ...r }) => {
2356
2356
  d !== e.length - 1 && t
2357
2357
  ] }, i.label);
2358
2358
  }), Xn = ({ separator: e, ellipsis: t, classes: r, breadcrumbs: n = Yn }) => {
2359
- const [i, d] = O(!1), l = Ht(null);
2360
- ar(l, () => d(!1));
2359
+ const [i, d] = O(!1), a = Ht(null);
2360
+ lr(a, () => d(!1));
2361
2361
  const { first: u, middle: x, last: m } = ct(() => {
2362
2362
  let f = [], S = [], y = [];
2363
2363
  return t && (f = n.slice(0, t), S = n.slice(t, n.length - t), y = n.slice(n.length - t)), { first: f, middle: S, last: y };
2364
- }, [n, t]), p = e ?? /* @__PURE__ */ o.jsx(c, { name: "arrows/arrowRight", className: a("size-4", r == null ? void 0 : r.separator) });
2364
+ }, [n, t]), p = e ?? /* @__PURE__ */ o.jsx(c, { name: "arrows/arrowRight", className: l("size-4", r == null ? void 0 : r.separator) });
2365
2365
  return /* @__PURE__ */ o.jsx(
2366
2366
  "div",
2367
2367
  {
2368
- className: a(
2368
+ className: l(
2369
2369
  "flex max-w-[840px] flex-wrap items-center",
2370
2370
  "gap-x-2 gap-y-1 py-4 text-color-primary-default",
2371
2371
  r == null ? void 0 : r.root
@@ -2384,8 +2384,8 @@ const it = ({ html: e, as: t, ...r }) => {
2384
2384
  /* @__PURE__ */ o.jsx(
2385
2385
  "ul",
2386
2386
  {
2387
- ref: l,
2388
- className: a(
2387
+ ref: a,
2388
+ className: l(
2389
2389
  "invisible absolute max-h-[264px] overflow-y-auto",
2390
2390
  "w-[280px] rounded-sm bg-color-white",
2391
2391
  "customScrollbar-y p-1 opacity-0 shadow-sm",
@@ -2397,7 +2397,7 @@ const it = ({ html: e, as: t, ...r }) => {
2397
2397
  Fe,
2398
2398
  {
2399
2399
  breadcrumb: f,
2400
- className: a(
2400
+ className: l(
2401
2401
  "desk-body-regular-l inline-block py-3",
2402
2402
  "w-full rounded-sm bg-color-white px-2",
2403
2403
  "text-color-dark hover:bg-color-primary-tr-hover",
@@ -2461,13 +2461,13 @@ const Jn = (e, t) => {
2461
2461
  transition: { duration: 0.2 },
2462
2462
  className: 'absolute z-20 w-full bg-color-white after:absolute after:left-1/2 after:top-[-1px] after:h-[1px] after:w-full after:max-w-[636px] after:-translate-x-1/2 after:bg-color-blue-grey-200 after:content-[""] after:desktop:max-w-[1140px]',
2463
2463
  children: /* @__PURE__ */ o.jsx("div", { className: "mx-auto flex w-full max-w-[1140px] gap-x-[56px] py-10", children: e.map((i) => {
2464
- var l;
2464
+ var a;
2465
2465
  const d = i.link ? "a" : "p";
2466
2466
  return /* @__PURE__ */ o.jsxs("div", { className: "flex flex-col gap-y-6", children: [
2467
2467
  i.title && /* @__PURE__ */ o.jsxs(
2468
2468
  d,
2469
2469
  {
2470
- href: ((l = i.link) == null ? void 0 : l.href) ?? void 0,
2470
+ href: ((a = i.link) == null ? void 0 : a.href) ?? void 0,
2471
2471
  className: "flex items-center gap-x-1 text-16 uppercase text-color-primary-default",
2472
2472
  children: [
2473
2473
  i.title,
@@ -2490,18 +2490,18 @@ const Jn = (e, t) => {
2490
2490
  );
2491
2491
  }, ro = nr(({ category: e, active: t, onActiveTabChange: r }, n) => {
2492
2492
  var x, m;
2493
- const i = n && "current" in n ? n : null, d = (x = i == null ? void 0 : i.current) == null ? void 0 : x.getBoundingClientRect(), l = t && !_.isArrayEmpty(e.children), u = e.link ? _.isStringEmpty(e.link.href) ? "span" : "a" : "span";
2493
+ const i = n && "current" in n ? n : null, d = (x = i == null ? void 0 : i.current) == null ? void 0 : x.getBoundingClientRect(), a = t && !_.isArrayEmpty(e.children), u = e.link ? _.isStringEmpty(e.link.href) ? "span" : "a" : "span";
2494
2494
  return /* @__PURE__ */ o.jsxs(
2495
2495
  Dt.div,
2496
2496
  {
2497
2497
  ref: n,
2498
- className: a(
2498
+ className: l(
2499
2499
  "relative flex cursor-default items-center justify-center py-4 text-color-dark",
2500
2500
  'after:content="" after:absolute after:bottom-0 after:left-1/2 after:h-[1px]',
2501
2501
  "after:w-0 after:-translate-x-1/2 after:bg-color-primary-default after:duration-100",
2502
2502
  {
2503
- "text-color-primary-default": l,
2504
- "after:w-full": l
2503
+ "text-color-primary-default": a,
2504
+ "after:w-full": a
2505
2505
  }
2506
2506
  ),
2507
2507
  onMouseEnter: () => r(e.title),
@@ -2509,7 +2509,7 @@ const Jn = (e, t) => {
2509
2509
  onFocus: () => r(e.title),
2510
2510
  children: [
2511
2511
  /* @__PURE__ */ o.jsx(u, { href: u === "a" ? (m = e.link) == null ? void 0 : m.href : void 0, className: "desk-body-regular-m outline-none", children: e.title }),
2512
- l && /* @__PURE__ */ o.jsx(
2512
+ a && /* @__PURE__ */ o.jsx(
2513
2513
  eo,
2514
2514
  {
2515
2515
  categories: e.children,
@@ -2546,7 +2546,7 @@ const Jn = (e, t) => {
2546
2546
  ]
2547
2547
  }
2548
2548
  ) });
2549
- }, io = ft(oo), ao = ({
2549
+ }, io = ft(oo), lo = ({
2550
2550
  category: e,
2551
2551
  selectedCategory: t,
2552
2552
  onCurrentCategoryChange: r,
@@ -2560,7 +2560,7 @@ const Jn = (e, t) => {
2560
2560
  onClick: () => {
2561
2561
  r(e.children[0]), n(e);
2562
2562
  },
2563
- className: a("group/category relative cursor-default text-color-blue-grey-600 duration-100 hover:text-color-dark", {
2563
+ className: l("group/category relative cursor-default text-color-blue-grey-600 duration-100 hover:text-color-dark", {
2564
2564
  "text-color-dark": i
2565
2565
  }),
2566
2566
  children: [
@@ -2568,46 +2568,46 @@ const Jn = (e, t) => {
2568
2568
  e.children.length > 1 && /* @__PURE__ */ o.jsx(
2569
2569
  "div",
2570
2570
  {
2571
- className: a(
2571
+ className: l(
2572
2572
  "absolute right-0 top-full z-10 flex w-max flex-col",
2573
2573
  "invisible bg-color-white opacity-0 shadow-sm group-hover/category:visible group-hover/category:opacity-100",
2574
2574
  "rounded-sm p-1"
2575
2575
  ),
2576
- children: e.children.map((l) => /* @__PURE__ */ o.jsx(
2576
+ children: e.children.map((a) => /* @__PURE__ */ o.jsx(
2577
2577
  "span",
2578
2578
  {
2579
2579
  onClick: (u) => {
2580
- u.stopPropagation(), u.nativeEvent.stopPropagation(), n(e), r(l);
2580
+ u.stopPropagation(), u.nativeEvent.stopPropagation(), n(e), r(a);
2581
2581
  },
2582
- className: a(
2582
+ className: l(
2583
2583
  "desk-body-regular-l rounded-sm px-3 py-3.5 text-color-dark duration-100 hover:bg-color-primary-tr-hover hover:text-color-dark",
2584
2584
  {
2585
- "text-color-primary-default": t.title === l.title
2585
+ "text-color-primary-default": t.title === a.title
2586
2586
  }
2587
2587
  ),
2588
- children: l.title
2588
+ children: a.title
2589
2589
  },
2590
- l.title
2590
+ a.title
2591
2591
  ))
2592
2592
  }
2593
2593
  )
2594
2594
  ]
2595
2595
  }
2596
- ), lo = ({ categories: e, helpers: t, phone: r }) => {
2596
+ ), ao = ({ categories: e, helpers: t, phone: r }) => {
2597
2597
  const [n, i] = Gn({ root: e[0].children[0], current: e[0].children[0] });
2598
2598
  return /* @__PURE__ */ o.jsxs("div", { className: "mobile:hidden", children: [
2599
2599
  /* @__PURE__ */ o.jsxs("div", { className: "flex w-full items-center justify-between gap-x-4 border-b border-b-[rgba(234,237,241)] py-4", children: [
2600
2600
  /* @__PURE__ */ o.jsx(c, { name: "brandLogos/logoMain", className: "mr-auto w-[130px]" }),
2601
2601
  e.map((d) => {
2602
- const l = n.root.title === d.title;
2602
+ const a = n.root.title === d.title;
2603
2603
  return /* @__PURE__ */ o.jsx(
2604
- ao,
2604
+ lo,
2605
2605
  {
2606
2606
  category: d,
2607
2607
  selectedCategory: n.current,
2608
2608
  onCurrentCategoryChange: (u) => i(sn(u)),
2609
2609
  onRootCategoryChange: (u) => i(to(u)),
2610
- active: l
2610
+ active: a
2611
2611
  },
2612
2612
  d.title
2613
2613
  );
@@ -2648,7 +2648,7 @@ const Jn = (e, t) => {
2648
2648
  trigger: "py-2 data-[open=false]:bg-color-white",
2649
2649
  label: "desk-body-regular-m"
2650
2650
  },
2651
- content: a(
2651
+ content: l(
2652
2652
  "relative",
2653
2653
  'after:content-"" after:absolute after:w-[calc(100%-32px)]',
2654
2654
  "after:bottom-0 after:left-1/2 after:-translate-x-1/2",
@@ -2671,8 +2671,8 @@ const Jn = (e, t) => {
2671
2671
  }
2672
2672
  ),
2673
2673
  t.children.map((d) => {
2674
- var l;
2675
- return /* @__PURE__ */ o.jsx("li", { className: "inline-block w-full [&:not(:last-child)]:mb-3", children: /* @__PURE__ */ o.jsx("a", { href: (l = d.link) == null ? void 0 : l.href, className: "w-full", children: d.title }) }, d.title);
2674
+ var a;
2675
+ return /* @__PURE__ */ o.jsx("li", { className: "inline-block w-full [&:not(:last-child)]:mb-3", children: /* @__PURE__ */ o.jsx("a", { href: (a = d.link) == null ? void 0 : a.href, className: "w-full", children: d.title }) }, d.title);
2676
2676
  })
2677
2677
  ] }, t.title);
2678
2678
  }) })
@@ -2682,8 +2682,8 @@ const Jn = (e, t) => {
2682
2682
  value: t.title ?? "",
2683
2683
  label: t.title ?? ""
2684
2684
  })), xo = ({ categories: e, helpers: t, phone: r, ...n }) => {
2685
- const i = mo(e), [d, l] = O(i[0]), u = (m) => {
2686
- _.isUndefined(m) || _.isArray(m) || l(m);
2685
+ const i = mo(e), [d, a] = O(i[0]), u = (m) => {
2686
+ _.isUndefined(m) || _.isArray(m) || a(m);
2687
2687
  }, x = ct(() => {
2688
2688
  var m;
2689
2689
  return _.isUndefined(d) || _.isArray(d) ? [] : ((m = e.find((p) => p.title === d.value)) == null ? void 0 : m.children) ?? [];
@@ -2692,7 +2692,7 @@ const Jn = (e, t) => {
2692
2692
  Dt.div,
2693
2693
  {
2694
2694
  ...n,
2695
- className: a(
2695
+ className: l(
2696
2696
  "absolute z-10 w-full max-w-[calc(636px-32px)]",
2697
2697
  "absolute left-1/2 top-full bg-color-white p-4",
2698
2698
  "-translate-x-1/2 overflow-x-hidden",
@@ -2725,7 +2725,7 @@ const Jn = (e, t) => {
2725
2725
  );
2726
2726
  }, ho = ({ categories: e, helpers: t, phone: r }) => {
2727
2727
  var x, m, p;
2728
- const n = Ht(null), i = (x = n.current) == null ? void 0 : x.getBoundingClientRect(), [d, l] = O(!1), u = () => l(!d);
2728
+ const n = Ht(null), i = (x = n.current) == null ? void 0 : x.getBoundingClientRect(), [d, a] = O(!1), u = () => a(!d);
2729
2729
  return /* @__PURE__ */ o.jsxs(
2730
2730
  "div",
2731
2731
  {
@@ -2753,16 +2753,16 @@ const Jn = (e, t) => {
2753
2753
  }
2754
2754
  );
2755
2755
  }, he = ({ categories: e, helpers: t, phone: r, breadcrumbs: n, classes: i }) => {
2756
- const { isMobile: d } = at();
2757
- return /* @__PURE__ */ o.jsx("div", { id: g.seoHeader, "data-test-id": g.seoHeader, className: a("w-full bg-color-white", i == null ? void 0 : i.root), children: /* @__PURE__ */ o.jsxs(F, { className: "mx-auto w-full", children: [
2758
- /* @__PURE__ */ o.jsx(ho, { categories: e.map((l) => l.children).flat(), helpers: t, phone: r }),
2759
- /* @__PURE__ */ o.jsx(lo, { categories: e, helpers: t, phone: r }),
2756
+ const { isMobile: d } = lt();
2757
+ return /* @__PURE__ */ o.jsx("div", { id: b.seoHeader, "data-test-id": b.seoHeader, className: l("w-full bg-color-white", i == null ? void 0 : i.root), children: /* @__PURE__ */ o.jsxs(F, { className: "mx-auto w-full", children: [
2758
+ /* @__PURE__ */ o.jsx(ho, { categories: e.map((a) => a.children).flat(), helpers: t, phone: r }),
2759
+ /* @__PURE__ */ o.jsx(ao, { categories: e, helpers: t, phone: r }),
2760
2760
  /* @__PURE__ */ o.jsx(
2761
2761
  Xn,
2762
2762
  {
2763
2763
  ellipsis: d ? 1 : void 0,
2764
2764
  breadcrumbs: n,
2765
- matcher: (l) => ({ label: ir(l.label).split("-").join(" ") })
2765
+ matcher: (a) => ({ label: ir(a.label).split("-").join(" ") })
2766
2766
  }
2767
2767
  )
2768
2768
  ] }) });
@@ -2793,18 +2793,18 @@ const Jn = (e, t) => {
2793
2793
  default:
2794
2794
  return Ee(e, Number(t));
2795
2795
  }
2796
- }, co = (e) => Object.values(e).reduce((r, n) => r.merge($t(n.fields)), Lt({})), go = (e, t) => (e.match(/[a-zA-Z_$][a-zA-Z0-9_$]*/g) || []).filter((i) => !(i in t)).length > 0 ? "" : e, Pe = (e, t) => {
2797
- const r = Object.entries(t).map(([x, m]) => [x, _.isNil(m) ? "1" : m]), n = r.map(([x]) => x), i = r.map(([, x]) => x), d = go(e, Object.fromEntries(r)), u = new Function(...n, `return ${d};`)(...i.map(Number));
2796
+ }, co = (e) => Object.values(e).reduce((r, n) => r.merge($t(n.fields)), Lt({})), bo = (e, t) => (e.match(/[a-zA-Z_$][a-zA-Z0-9_$]*/g) || []).filter((i) => !(i in t)).length > 0 ? "" : e, Pe = (e, t) => {
2797
+ const r = Object.entries(t).map(([x, m]) => [x, _.isNil(m) ? "1" : m]), n = r.map(([x]) => x), i = r.map(([, x]) => x), d = bo(e, Object.fromEntries(r)), u = new Function(...n, `return ${d};`)(...i.map(Number));
2798
2798
  return Number.isNaN(Number(u)) ? "0" : u.toString();
2799
- }, bo = (e, t) => e.map((r) => ({
2799
+ }, go = (e, t) => e.map((r) => ({
2800
2800
  ...r,
2801
2801
  value: Be(r.value) ? Pe(r.value.formula, t) : r.value
2802
- })), jo = ({ subtitle: e, title: t, classes: r }) => /* @__PURE__ */ o.jsx(o.Fragment, { children: (t || e) && /* @__PURE__ */ o.jsxs("div", { className: a("flex flex-col gap-2", r == null ? void 0 : r.wrapper), children: [
2802
+ })), jo = ({ subtitle: e, title: t, classes: r }) => /* @__PURE__ */ o.jsx(o.Fragment, { children: (t || e) && /* @__PURE__ */ o.jsxs("div", { className: l("flex flex-col gap-2", r == null ? void 0 : r.wrapper), children: [
2803
2803
  t && /* @__PURE__ */ o.jsx(R, { as: "h3", className: r == null ? void 0 : r.title, children: t }),
2804
- e && /* @__PURE__ */ o.jsx("div", { className: a("desk-body-regular-l text-color-dark", r == null ? void 0 : r.subtitle), children: e })
2805
- ] }) }), yo = ({ rootDescription: e, rootValue: t, suffix: r, classes: n }) => /* @__PURE__ */ o.jsxs("div", { className: a("mb-6 flex items-center justify-between gap-6", n == null ? void 0 : n.wrapper), children: [
2806
- /* @__PURE__ */ o.jsx("p", { className: a("desk-body-regular-l text-color-dark", n == null ? void 0 : n.description), children: e }),
2807
- /* @__PURE__ */ o.jsx("div", { className: a("desk-title-bold-l flex items-center gap-1 text-color-dark", n == null ? void 0 : n.value), children: Ee(r, Number(t)) })
2804
+ e && /* @__PURE__ */ o.jsx("div", { className: l("desk-body-regular-l text-color-dark", r == null ? void 0 : r.subtitle), children: e })
2805
+ ] }) }), yo = ({ rootDescription: e, rootValue: t, suffix: r, classes: n }) => /* @__PURE__ */ o.jsxs("div", { className: l("mb-6 flex items-center justify-between gap-6", n == null ? void 0 : n.wrapper), children: [
2806
+ /* @__PURE__ */ o.jsx("p", { className: l("desk-body-regular-l text-color-dark", n == null ? void 0 : n.description), children: e }),
2807
+ /* @__PURE__ */ o.jsx("div", { className: l("desk-title-bold-l flex items-center gap-1 text-color-dark", n == null ? void 0 : n.value), children: Ee(r, Number(t)) })
2808
2808
  ] }), ko = ({ hint: e, value: t, label: r, mode: n, color: i = "dark", accent: d = !1 }) => /* @__PURE__ */ o.jsxs("div", { className: "flex items-center justify-between gap-4", children: [
2809
2809
  /* @__PURE__ */ o.jsxs("div", { className: "flex items-center gap-2", children: [
2810
2810
  /* @__PURE__ */ o.jsx("p", { className: "desk-body-regular-l text-color-dark", children: r }),
@@ -2820,7 +2820,7 @@ const Jn = (e, t) => {
2820
2820
  /* @__PURE__ */ o.jsx(
2821
2821
  "span",
2822
2822
  {
2823
- className: a("desk-body-medium-l text-color-dark", {
2823
+ className: l("desk-body-medium-l text-color-dark", {
2824
2824
  "[&&]:desk-title-bold-s": d,
2825
2825
  "text-color-primary-default": i === "blue"
2826
2826
  }),
@@ -2828,12 +2828,12 @@ const Jn = (e, t) => {
2828
2828
  }
2829
2829
  )
2830
2830
  ] }), wo = ({ infoList: e, classes: t }) => {
2831
- const { watch: r } = _t(), n = r(), i = bo(e, n);
2832
- return /* @__PURE__ */ o.jsx("div", { className: a("my-4 flex flex-col gap-3 border-t border-solid border-blue-grey-500 pt-4", t == null ? void 0 : t.wrapper), children: i == null ? void 0 : i.map((d) => /* @__PURE__ */ o.jsx(ko, { ...d }, d.label)) });
2833
- }, vo = ({ iconName: e, text: t, hint: r, classes: n, popoverProps: i }) => /* @__PURE__ */ o.jsxs("div", { className: a("mb-6 flex items-center gap-2", n == null ? void 0 : n.wrapper), children: [
2834
- /* @__PURE__ */ o.jsxs("div", { className: a("flex items-center gap-1", n == null ? void 0 : n.block), children: [
2835
- /* @__PURE__ */ o.jsx(c, { name: e, className: a("size-6 text-icon-blue-grey-800", n == null ? void 0 : n.icon) }),
2836
- /* @__PURE__ */ o.jsx("p", { className: a("desk-body-regular-l text-color-tetriary", n == null ? void 0 : n.description), children: t })
2831
+ const { watch: r } = _t(), n = r(), i = go(e, n);
2832
+ return /* @__PURE__ */ o.jsx("div", { className: l("my-4 flex flex-col gap-3 border-t border-solid border-blue-grey-500 pt-4", t == null ? void 0 : t.wrapper), children: i == null ? void 0 : i.map((d) => /* @__PURE__ */ o.jsx(ko, { ...d }, d.label)) });
2833
+ }, vo = ({ iconName: e, text: t, hint: r, classes: n, popoverProps: i }) => /* @__PURE__ */ o.jsxs("div", { className: l("mb-6 flex items-center gap-2", n == null ? void 0 : n.wrapper), children: [
2834
+ /* @__PURE__ */ o.jsxs("div", { className: l("flex items-center gap-1", n == null ? void 0 : n.block), children: [
2835
+ /* @__PURE__ */ o.jsx(c, { name: e, className: l("size-6 text-icon-blue-grey-800", n == null ? void 0 : n.icon) }),
2836
+ /* @__PURE__ */ o.jsx("p", { className: l("desk-body-regular-l text-color-tetriary", n == null ? void 0 : n.description), children: t })
2837
2837
  ] }),
2838
2838
  r && /* @__PURE__ */ o.jsx(
2839
2839
  Nt,
@@ -2846,8 +2846,8 @@ const Jn = (e, t) => {
2846
2846
  )
2847
2847
  ] }), No = ({ assistHint: e, buttonsConfig: t, bottomDescription: r, classes: n }) => /* @__PURE__ */ o.jsxs("div", { children: [
2848
2848
  e && /* @__PURE__ */ o.jsx(vo, { ...e, classes: n == null ? void 0 : n.assistHint }),
2849
- /* @__PURE__ */ o.jsx("div", { className: a("flex items-center gap-4 mobile:flex-col", n == null ? void 0 : n.buttonsWrapper), children: t == null ? void 0 : t.map((i, d) => /* @__PURE__ */ o.jsx(tt, { className: "w-full", ...i }, d)) }),
2850
- r && /* @__PURE__ */ o.jsx("p", { className: a("desk-body-regular-m mt-4 text-color-secondary", n == null ? void 0 : n.bottomDescription), children: r })
2849
+ /* @__PURE__ */ o.jsx("div", { className: l("flex items-center gap-4 mobile:flex-col", n == null ? void 0 : n.buttonsWrapper), children: t == null ? void 0 : t.map((i, d) => /* @__PURE__ */ o.jsx(tt, { className: "w-full", ...i }, d)) }),
2850
+ r && /* @__PURE__ */ o.jsx("p", { className: l("desk-body-regular-m mt-4 text-color-secondary", n == null ? void 0 : n.bottomDescription), children: r })
2851
2851
  ] }), Co = ({
2852
2852
  rootDescription: e,
2853
2853
  bottomDescription: t,
@@ -2855,11 +2855,11 @@ const Jn = (e, t) => {
2855
2855
  title: n,
2856
2856
  subtitle: i,
2857
2857
  buttonsConfig: d,
2858
- infoList: l,
2858
+ infoList: a,
2859
2859
  suffix: u,
2860
2860
  assistHint: x,
2861
2861
  classes: m
2862
- }) => /* @__PURE__ */ o.jsxs("div", { className: a("w-[456px] rounded-md bg-color-blue-grey-100 p-8", m == null ? void 0 : m.wrapper), children: [
2862
+ }) => /* @__PURE__ */ o.jsxs("div", { className: l("w-[456px] rounded-md bg-color-blue-grey-100 p-8", m == null ? void 0 : m.wrapper), children: [
2863
2863
  /* @__PURE__ */ o.jsx(
2864
2864
  yo,
2865
2865
  {
@@ -2870,7 +2870,7 @@ const Jn = (e, t) => {
2870
2870
  }
2871
2871
  ),
2872
2872
  /* @__PURE__ */ o.jsx(jo, { title: n, subtitle: i, classes: m == null ? void 0 : m.calculatedInfoHead }),
2873
- /* @__PURE__ */ o.jsx(wo, { infoList: l, classes: m == null ? void 0 : m.calculatorInfoBody }),
2873
+ /* @__PURE__ */ o.jsx(wo, { infoList: a, classes: m == null ? void 0 : m.calculatorInfoBody }),
2874
2874
  /* @__PURE__ */ o.jsx(
2875
2875
  No,
2876
2876
  {
@@ -2884,7 +2884,7 @@ const Jn = (e, t) => {
2884
2884
  slidersGroupConfig: e,
2885
2885
  additionalSliderGroupConfig: t
2886
2886
  }) => {
2887
- const [r, n] = O(!1), { watch: i, setValue: d } = _t(), l = e == null ? void 0 : e.fields.find(({ args: P }) => P.name === "sum"), { args: u } = l || {}, { max: x, name: m, defaultValue: p } = u || {}, f = i(m), { min: S, name: y } = (t == null ? void 0 : t.args) ?? {}, E = i(y), k = Number(x ?? 0) - (f ?? p);
2887
+ const [r, n] = O(!1), { watch: i, setValue: d } = _t(), a = e == null ? void 0 : e.fields.find(({ args: P }) => P.name === "sum"), { args: u } = a || {}, { max: x, name: m, defaultValue: p } = u || {}, f = i(m), { min: S, name: y } = (t == null ? void 0 : t.args) ?? {}, E = i(y), k = Number(x ?? 0) - (f ?? p);
2888
2888
  return wt(() => {
2889
2889
  E > k && d(y, k);
2890
2890
  }, [k, E, d, f]), wt(() => {
@@ -2900,8 +2900,8 @@ const Jn = (e, t) => {
2900
2900
  onCheckedChange: () => {
2901
2901
  n((P) => !P), E <= 0 && d(y, S), Number(x) === f && (d(m ?? "", f - So), d(y, S));
2902
2902
  },
2903
- sliderSumExist: !_.isObjectEmpty(l == null ? void 0 : l.args),
2904
- sliderSumCorrectType: (l == null ? void 0 : l.args.componentType) === "algorithmic" || (l == null ? void 0 : l.args.componentType) === "step"
2903
+ sliderSumExist: !_.isObjectEmpty(a == null ? void 0 : a.args),
2904
+ sliderSumCorrectType: (a == null ? void 0 : a.args.componentType) === "algorithmic" || (a == null ? void 0 : a.args.componentType) === "step"
2905
2905
  };
2906
2906
  }, Io = (e) => {
2907
2907
  switch (e) {
@@ -2918,21 +2918,21 @@ const Jn = (e, t) => {
2918
2918
  modalProps: i,
2919
2919
  contentVariant: d
2920
2920
  }) => {
2921
- const [l, u] = mr(!1);
2922
- return /* @__PURE__ */ o.jsxs("div", { className: a("flex flex-col gap-4 rounded-sm bg-color-blue-grey-100 p-4", n == null ? void 0 : n.wrapper), children: [
2923
- r && /* @__PURE__ */ o.jsx("p", { className: a("desk-body-regular-l text-color-tetriary", n == null ? void 0 : n.description), children: r }),
2921
+ const [a, u] = mr(!1);
2922
+ return /* @__PURE__ */ o.jsxs("div", { className: l("flex flex-col gap-4 rounded-sm bg-color-blue-grey-100 p-4", n == null ? void 0 : n.wrapper), children: [
2923
+ r && /* @__PURE__ */ o.jsx("p", { className: l("desk-body-regular-l text-color-tetriary", n == null ? void 0 : n.description), children: r }),
2924
2924
  /* @__PURE__ */ o.jsx(
2925
2925
  "button",
2926
2926
  {
2927
2927
  onClick: () => u(!0),
2928
- className: a(
2928
+ className: l(
2929
2929
  "desk-body-regular-l w-max cursor-pointer text-color-primary-default underline underline-offset-4",
2930
2930
  n == null ? void 0 : n.button
2931
2931
  ),
2932
2932
  children: e
2933
2933
  }
2934
2934
  ),
2935
- /* @__PURE__ */ o.jsx(er, { title: t, isModalOpen: l, closeModal: () => u(!1), ...i, children: Io(d) })
2935
+ /* @__PURE__ */ o.jsx(er, { title: t, isModalOpen: a, closeModal: () => u(!1), ...i, children: Io(d) })
2936
2936
  ] });
2937
2937
  }, G = ({ fields: e }) => {
2938
2938
  const { control: t } = _t();
@@ -2942,13 +2942,13 @@ const Jn = (e, t) => {
2942
2942
  additionalSliderGroupConfig: t,
2943
2943
  classes: r
2944
2944
  }) => {
2945
- const { control: n } = _t(), { sliderVisible: i, additionalSliderMax: d, onCheckedChange: l } = Re({
2945
+ const { control: n } = _t(), { sliderVisible: i, additionalSliderMax: d, onCheckedChange: a } = Re({
2946
2946
  slidersGroupConfig: e,
2947
2947
  additionalSliderGroupConfig: t
2948
2948
  });
2949
- return _.isNil(t == null ? void 0 : t.args) || !(t != null && t.args) ? null : /* @__PURE__ */ o.jsxs("div", { className: a("flex flex-col gap-4", r == null ? void 0 : r.wrapper), children: [
2950
- /* @__PURE__ */ o.jsxs("div", { className: a("inline-flex items-center gap-2", r == null ? void 0 : r.block), children: [
2951
- /* @__PURE__ */ o.jsx(Ct.SwitchBase, { checked: i, onCheckedChange: l }),
2949
+ return _.isNil(t == null ? void 0 : t.args) || !(t != null && t.args) ? null : /* @__PURE__ */ o.jsxs("div", { className: l("flex flex-col gap-4", r == null ? void 0 : r.wrapper), children: [
2950
+ /* @__PURE__ */ o.jsxs("div", { className: l("inline-flex items-center gap-2", r == null ? void 0 : r.block), children: [
2951
+ /* @__PURE__ */ o.jsx(Ct.SwitchBase, { checked: i, onCheckedChange: a }),
2952
2952
  /* @__PURE__ */ o.jsx("p", { className: "desk-body-regular-l", children: "Хочу получить деньги дополнительно" })
2953
2953
  ] }),
2954
2954
  i && /* @__PURE__ */ o.jsx(
@@ -2969,15 +2969,15 @@ const Jn = (e, t) => {
2969
2969
  slidersGroupConfig: t.slidersGroupConfig,
2970
2970
  additionalSliderGroupConfig: t.additionalSliderGroupConfig
2971
2971
  });
2972
- return /* @__PURE__ */ o.jsxs("div", { className: a("flex flex-1 flex-col gap-8", r == null ? void 0 : r.rootFieldsWrapper), children: [
2972
+ return /* @__PURE__ */ o.jsxs("div", { className: l("flex flex-1 flex-col gap-8", r == null ? void 0 : r.rootFieldsWrapper), children: [
2973
2973
  (e == null ? void 0 : e.triggerText) && (e == null ? void 0 : e.contentVariant) && /* @__PURE__ */ o.jsx(Mo, { classes: r == null ? void 0 : r.modalClasses, ...e }),
2974
- (t == null ? void 0 : t.selectGroupConfig) && /* @__PURE__ */ o.jsx("div", { className: a("flex flex-col gap-4", r == null ? void 0 : r.selectFieldsWrapper), children: /* @__PURE__ */ o.jsx(G, { ...t == null ? void 0 : t.selectGroupConfig }) }),
2974
+ (t == null ? void 0 : t.selectGroupConfig) && /* @__PURE__ */ o.jsx("div", { className: l("flex flex-col gap-4", r == null ? void 0 : r.selectFieldsWrapper), children: /* @__PURE__ */ o.jsx(G, { ...t == null ? void 0 : t.selectGroupConfig }) }),
2975
2975
  (t == null ? void 0 : t.slidersGroupConfig) && /* @__PURE__ */ o.jsx(G, { ...t == null ? void 0 : t.slidersGroupConfig }),
2976
2976
  (t == null ? void 0 : t.radioGroupTabConfig) && /* @__PURE__ */ o.jsx(G, { ...t == null ? void 0 : t.radioGroupTabConfig }),
2977
- (t == null ? void 0 : t.checkboxGroupConfig) && /* @__PURE__ */ o.jsx("div", { className: a("flex flex-col gap-4", r == null ? void 0 : r.checkboxFieldsWrapper), children: /* @__PURE__ */ o.jsx(G, { ...t == null ? void 0 : t.checkboxGroupConfig }) }),
2977
+ (t == null ? void 0 : t.checkboxGroupConfig) && /* @__PURE__ */ o.jsx("div", { className: l("flex flex-col gap-4", r == null ? void 0 : r.checkboxFieldsWrapper), children: /* @__PURE__ */ o.jsx(G, { ...t == null ? void 0 : t.checkboxGroupConfig }) }),
2978
2978
  (t == null ? void 0 : t.radioGroupConfig) && /* @__PURE__ */ o.jsx(G, { ...t == null ? void 0 : t.radioGroupConfig }),
2979
2979
  (t == null ? void 0 : t.radioGroupCardConfig) && /* @__PURE__ */ o.jsx(G, { ...t == null ? void 0 : t.radioGroupCardConfig }),
2980
- (t == null ? void 0 : t.switchGroupConfig) && /* @__PURE__ */ o.jsx("div", { className: a("flex flex-col gap-4", r == null ? void 0 : r.switchFieldsWrapper), children: /* @__PURE__ */ o.jsx(G, { ...t == null ? void 0 : t.switchGroupConfig }) }),
2980
+ (t == null ? void 0 : t.switchGroupConfig) && /* @__PURE__ */ o.jsx("div", { className: l("flex flex-col gap-4", r == null ? void 0 : r.switchFieldsWrapper), children: /* @__PURE__ */ o.jsx(G, { ...t == null ? void 0 : t.switchGroupConfig }) }),
2981
2981
  ((d = t.additionalSliderGroupConfig) == null ? void 0 : d.args.enabled) && t.slidersGroupConfig && t.additionalSliderGroupConfig && n && i && /* @__PURE__ */ o.jsx(
2982
2982
  _o,
2983
2983
  {
@@ -2986,11 +2986,11 @@ const Jn = (e, t) => {
2986
2986
  }
2987
2987
  )
2988
2988
  ] });
2989
- }, To = ft(({ calculatorTabs: e, activeCalculator: t, setActiveCalculator: r, classes: n }) => /* @__PURE__ */ o.jsx("div", { className: a("mb-8 flex items-center gap-4", n == null ? void 0 : n.wrapper), children: e == null ? void 0 : e.map(({ name: i, label: d }) => /* @__PURE__ */ o.jsx(
2989
+ }, To = ft(({ calculatorTabs: e, activeCalculator: t, setActiveCalculator: r, classes: n }) => /* @__PURE__ */ o.jsx("div", { className: l("mb-8 flex items-center gap-4", n == null ? void 0 : n.wrapper), children: e == null ? void 0 : e.map(({ name: i, label: d }) => /* @__PURE__ */ o.jsx(
2990
2990
  "button",
2991
2991
  {
2992
2992
  onClick: () => r(i),
2993
- className: a(
2993
+ className: l(
2994
2994
  "mob-body-regular-m text-nowrap rounded-sm bg-color-blue-grey-100 px-3 py-1.5 text-color-secondary outline-1 outline-offset-4 outline-transparent desktop:desk-body-regular-l focus:outline-primary-focus desktop:px-4 desktop:py-3",
2995
2995
  { "bg-icon-primary-default text-color-white": t === i },
2996
2996
  n == null ? void 0 : n.tab
@@ -3007,24 +3007,24 @@ const Jn = (e, t) => {
3007
3007
  schema: n,
3008
3008
  mode: "onBlur",
3009
3009
  defaultValues: Ot.getZodDefaults(n)
3010
- }), d = i.watch(), { rootValue: l } = e;
3010
+ }), d = i.watch(), { rootValue: a } = e;
3011
3011
  wt(() => {
3012
3012
  dr.setItem("calculatorData", JSON.stringify(d));
3013
3013
  }, [d]);
3014
- const u = Be(l) ? Pe(l.formula, d) : l, x = { ...e, rootValue: u };
3015
- return /* @__PURE__ */ o.jsx(lr, { ...i, children: /* @__PURE__ */ o.jsxs("div", { className: a("flex items-start gap-16", r == null ? void 0 : r.wrapper), children: [
3014
+ const u = Be(a) ? Pe(a.formula, d) : a, x = { ...e, rootValue: u };
3015
+ return /* @__PURE__ */ o.jsx(ar, { ...i, children: /* @__PURE__ */ o.jsxs("div", { className: l("flex items-start gap-16", r == null ? void 0 : r.wrapper), children: [
3016
3016
  /* @__PURE__ */ o.jsx(Oo, { ...t, classes: r == null ? void 0 : r.calculatorFields }),
3017
3017
  /* @__PURE__ */ o.jsx(Co, { ...x, classes: r == null ? void 0 : r.calculatorInfo })
3018
3018
  ] }) });
3019
3019
  }, pe = ({ calculators: e, headline: t, classes: r }) => {
3020
3020
  var m;
3021
- const n = e.length > 1, [i, d] = O(n ? (m = e[0]) == null ? void 0 : m.name : ""), l = ct(() => e == null ? void 0 : e.map(({ name: p, label: f }) => ({ name: p, label: f })), [e]), u = n ? l == null ? void 0 : l.findIndex((p) => p.name === i) : 0, x = e[u];
3022
- return /* @__PURE__ */ o.jsx("section", { id: g.calculator, "data-test-id": g.calculator, className: a(r == null ? void 0 : r.root), children: /* @__PURE__ */ o.jsx(F, { className: a(r == null ? void 0 : r.container), children: /* @__PURE__ */ o.jsxs("div", { className: a(r == null ? void 0 : r.wrapper), children: [
3023
- /* @__PURE__ */ o.jsx(R, { className: a("mb-12", r == null ? void 0 : r.headline), as: "h2", children: t }),
3021
+ const n = e.length > 1, [i, d] = O(n ? (m = e[0]) == null ? void 0 : m.name : ""), a = ct(() => e == null ? void 0 : e.map(({ name: p, label: f }) => ({ name: p, label: f })), [e]), u = n ? a == null ? void 0 : a.findIndex((p) => p.name === i) : 0, x = e[u];
3022
+ return /* @__PURE__ */ o.jsx("section", { id: b.calculator, "data-test-id": b.calculator, className: l(r == null ? void 0 : r.root), children: /* @__PURE__ */ o.jsx(F, { className: l(r == null ? void 0 : r.container), children: /* @__PURE__ */ o.jsxs("div", { className: l(r == null ? void 0 : r.wrapper), children: [
3023
+ /* @__PURE__ */ o.jsx(R, { className: l("mb-12", r == null ? void 0 : r.headline), as: "h2", children: t }),
3024
3024
  n && /* @__PURE__ */ o.jsx(
3025
3025
  To,
3026
3026
  {
3027
- calculatorTabs: l,
3027
+ calculatorTabs: a,
3028
3028
  activeCalculator: i,
3029
3029
  setActiveCalculator: d,
3030
3030
  classes: r == null ? void 0 : r.calculatorTabs
@@ -3045,21 +3045,21 @@ const Jn = (e, t) => {
3045
3045
  __proto__: null,
3046
3046
  Calculator: pe,
3047
3047
  default: pe
3048
- }, Symbol.toStringTag, { value: "Module" })), Eo = ({ linksList: e, classes: t }) => /* @__PURE__ */ o.jsx("div", { className: a("mt-4 flex flex-wrap items-center gap-4 desktop:mt-12 desktop:gap-8", t == null ? void 0 : t.list), children: e == null ? void 0 : e.map((r, n) => /* @__PURE__ */ o.jsx(pt, { withUnderline: !0, size: "md", classes: t == null ? void 0 : t.customLink, ...r }, n)) }), Po = ({ heading: e, buttonsGroup: t, description: r, images: n, linksList: i, classes: d }) => {
3049
- const l = t && (t == null ? void 0 : t.length) > 0, u = i && (i == null ? void 0 : i.length) > 0;
3050
- return /* @__PURE__ */ o.jsxs("div", { className: a("flex flex-col", d == null ? void 0 : d.wrapper), children: [
3051
- /* @__PURE__ */ o.jsxs("div", { className: a("flex flex-col gap-4 mobile:mb-2", d == null ? void 0 : d.textBlock), children: [
3052
- /* @__PURE__ */ o.jsx(R, { as: "h2", className: a(d == null ? void 0 : d.heading), children: e }),
3048
+ }, Symbol.toStringTag, { value: "Module" })), Eo = ({ linksList: e, classes: t }) => /* @__PURE__ */ o.jsx("div", { className: l("mt-4 flex flex-wrap items-center gap-4 desktop:mt-12 desktop:gap-8", t == null ? void 0 : t.list), children: e == null ? void 0 : e.map((r, n) => /* @__PURE__ */ o.jsx(pt, { withUnderline: !0, size: "md", classes: t == null ? void 0 : t.customLink, ...r }, n)) }), Po = ({ heading: e, buttonsGroup: t, description: r, images: n, linksList: i, classes: d }) => {
3049
+ const a = t && (t == null ? void 0 : t.length) > 0, u = i && (i == null ? void 0 : i.length) > 0;
3050
+ return /* @__PURE__ */ o.jsxs("div", { className: l("flex flex-col", d == null ? void 0 : d.wrapper), children: [
3051
+ /* @__PURE__ */ o.jsxs("div", { className: l("flex flex-col gap-4 mobile:mb-2", d == null ? void 0 : d.textBlock), children: [
3052
+ /* @__PURE__ */ o.jsx(R, { as: "h2", className: l(d == null ? void 0 : d.heading), children: e }),
3053
3053
  r && /* @__PURE__ */ o.jsx(
3054
3054
  "p",
3055
3055
  {
3056
3056
  dangerouslySetInnerHTML: { __html: r },
3057
- className: a("desk-body-regular-l text-color-dark", d == null ? void 0 : d.description)
3057
+ className: l("desk-body-regular-l text-color-dark", d == null ? void 0 : d.description)
3058
3058
  }
3059
3059
  )
3060
3060
  ] }),
3061
- /* @__PURE__ */ o.jsx("div", { className: a("h-full w-full desktop:hidden", d == null ? void 0 : d.imageMobileWrapper), children: /* @__PURE__ */ o.jsx("img", { src: n.mobile, alt: n.alt, className: a("h-full w-full object-contain", d == null ? void 0 : d.imageMobile) }) }),
3062
- l && /* @__PURE__ */ o.jsx("div", { className: a("mt-2 flex items-center gap-3 mobile:flex-col desktop:mt-8 desktop:gap-8", d == null ? void 0 : d.buttonsGroup), children: t == null ? void 0 : t.map((x, m) => /* @__PURE__ */ o.jsx(tt, { className: "w-full desktop:w-[216px]", ...x }, m)) }),
3061
+ /* @__PURE__ */ o.jsx("div", { className: l("h-full w-full desktop:hidden", d == null ? void 0 : d.imageMobileWrapper), children: /* @__PURE__ */ o.jsx("img", { src: n == null ? void 0 : n.mobile, alt: n == null ? void 0 : n.alt, className: l("h-full w-full object-contain", d == null ? void 0 : d.imageMobile) }) }),
3062
+ a && /* @__PURE__ */ o.jsx("div", { className: l("mt-2 flex items-center gap-3 mobile:flex-col desktop:mt-8 desktop:gap-8", d == null ? void 0 : d.buttonsGroup), children: t == null ? void 0 : t.map((x, m) => /* @__PURE__ */ o.jsx(tt, { className: "w-full desktop:w-[216px]", ...x }, m)) }),
3063
3063
  u && /* @__PURE__ */ o.jsx(Eo, { linksList: i, classes: d == null ? void 0 : d.linksList })
3064
3064
  ] });
3065
3065
  }, fe = (e) => {
@@ -3067,19 +3067,19 @@ const Jn = (e, t) => {
3067
3067
  return /* @__PURE__ */ o.jsx(
3068
3068
  "section",
3069
3069
  {
3070
- id: g.infoBlock,
3071
- "data-test-id": g.infoBlock,
3070
+ id: b.infoBlock,
3071
+ "data-test-id": b.infoBlock,
3072
3072
  style: { backgroundColor: r },
3073
- className: a("py-14", i == null ? void 0 : i.root),
3074
- children: /* @__PURE__ */ o.jsx(F, { children: /* @__PURE__ */ o.jsxs("div", { className: a("flex items-center justify-between gap-11 mobile:flex-col", i == null ? void 0 : i.container), children: [
3073
+ className: l("py-14", i == null ? void 0 : i.root),
3074
+ children: /* @__PURE__ */ o.jsx(F, { children: /* @__PURE__ */ o.jsxs("div", { className: l("flex items-center justify-between gap-11 mobile:flex-col", i == null ? void 0 : i.container), children: [
3075
3075
  /* @__PURE__ */ o.jsx(Po, { images: n, classes: i == null ? void 0 : i.rootContent, ...d }),
3076
3076
  /* @__PURE__ */ o.jsx(
3077
3077
  "div",
3078
3078
  {
3079
- className: a("h-[200px] w-full max-w-[432px] mobile:hidden", i == null ? void 0 : i.imageDesktopWrapper, {
3079
+ className: l("h-[200px] w-full max-w-[432px] mobile:hidden", i == null ? void 0 : i.imageDesktopWrapper, {
3080
3080
  "h-[238px]": t === "md"
3081
3081
  }),
3082
- children: /* @__PURE__ */ o.jsx("img", { src: n.desktop, alt: n.alt, className: a("h-full w-full object-contain", i == null ? void 0 : i.imageDesktop) })
3082
+ children: /* @__PURE__ */ o.jsx("img", { src: n == null ? void 0 : n.desktop, alt: n == null ? void 0 : n.alt, className: l("h-full w-full object-contain", i == null ? void 0 : i.imageDesktop) })
3083
3083
  }
3084
3084
  )
3085
3085
  ] }) })
@@ -3117,16 +3117,16 @@ const Jn = (e, t) => {
3117
3117
  }, []), /* @__PURE__ */ o.jsx(
3118
3118
  "div",
3119
3119
  {
3120
- className: a(
3120
+ className: l(
3121
3121
  "invisible flex size-16 items-center justify-center rounded-full bg-color-secondary-default opacity-0 transition-all hover:bg-color-secondary-hover",
3122
3122
  { "opacity-1 visible": t && !e }
3123
3123
  ),
3124
3124
  children: /* @__PURE__ */ o.jsx(c, { name: "general/heart", className: "size-7 fill-transparent stroke-white stroke-[3px]" })
3125
3125
  }
3126
3126
  );
3127
- }), zo = "Спасибо за оценку!", Lo = ({ title: e = zo, classes: t }) => /* @__PURE__ */ o.jsxs("div", { className: a("flex flex-col items-center gap-4 text-center", t == null ? void 0 : t.wrapper), children: [
3128
- /* @__PURE__ */ o.jsx(c, { name: "status/succesCircle", className: a(t == null ? void 0 : t.icon) }),
3129
- /* @__PURE__ */ o.jsx("p", { className: a("desk-body-medium-l", t == null ? void 0 : t.title), children: e })
3127
+ }), zo = "Спасибо за оценку!", Lo = ({ title: e = zo, classes: t }) => /* @__PURE__ */ o.jsxs("div", { className: l("flex flex-col items-center gap-4 text-center", t == null ? void 0 : t.wrapper), children: [
3128
+ /* @__PURE__ */ o.jsx(c, { name: "status/succesCircle", className: l(t == null ? void 0 : t.icon) }),
3129
+ /* @__PURE__ */ o.jsx("p", { className: l("desk-body-medium-l", t == null ? void 0 : t.title), children: e })
3130
3130
  ] }), Qo = "Расскажите о впечатлениях", $o = /* @__PURE__ */ o.jsxs(o.Fragment, { children: [
3131
3131
  "Вам нравится сайт банка? ",
3132
3132
  /* @__PURE__ */ o.jsx("br", {}),
@@ -3139,7 +3139,7 @@ const Jn = (e, t) => {
3139
3139
  subtitle: i = $o,
3140
3140
  classes: d
3141
3141
  }) => {
3142
- const { control: l, handleSubmit: u } = Mt({
3142
+ const { control: a, handleSubmit: u } = Mt({
3143
3143
  mode: "onBlur",
3144
3144
  schema: ce,
3145
3145
  defaultValues: Ot.getZodDefaults(ce)
@@ -3151,21 +3151,21 @@ const Jn = (e, t) => {
3151
3151
  ...m
3152
3152
  }), r("finally"));
3153
3153
  };
3154
- return /* @__PURE__ */ o.jsxs("form", { onSubmit: u(x), className: a("flex flex-col gap-4", d == null ? void 0 : d.form), children: [
3155
- /* @__PURE__ */ o.jsxs("div", { className: a("flex flex-col gap-2 text-center", d == null ? void 0 : d.textBlock), children: [
3156
- /* @__PURE__ */ o.jsx("p", { className: a("desk-body-medium-l", d == null ? void 0 : d.title), children: n }),
3157
- /* @__PURE__ */ o.jsx("p", { className: a("desk-body-regular-l", d == null ? void 0 : d.subtitle), children: i })
3154
+ return /* @__PURE__ */ o.jsxs("form", { onSubmit: u(x), className: l("flex flex-col gap-4", d == null ? void 0 : d.form), children: [
3155
+ /* @__PURE__ */ o.jsxs("div", { className: l("flex flex-col gap-2 text-center", d == null ? void 0 : d.textBlock), children: [
3156
+ /* @__PURE__ */ o.jsx("p", { className: l("desk-body-medium-l", d == null ? void 0 : d.title), children: n }),
3157
+ /* @__PURE__ */ o.jsx("p", { className: l("desk-body-regular-l", d == null ? void 0 : d.subtitle), children: i })
3158
3158
  ] }),
3159
3159
  /* @__PURE__ */ o.jsx(
3160
3160
  Rt.TextareaControl,
3161
3161
  {
3162
- control: l,
3162
+ control: a,
3163
3163
  name: "review",
3164
3164
  label: "Поделитесь вашим мнением",
3165
3165
  classes: d == null ? void 0 : d.textareaClasses
3166
3166
  }
3167
3167
  ),
3168
- /* @__PURE__ */ o.jsx(ht, { type: "submit", size: "sm", intent: "negative", className: a("w-full", d == null ? void 0 : d.button), children: "Отправить" })
3168
+ /* @__PURE__ */ o.jsx(ht, { type: "submit", size: "sm", intent: "negative", className: l("w-full", d == null ? void 0 : d.button), children: "Отправить" })
3169
3169
  ] });
3170
3170
  }, Wo = Array(5).fill(0), Ao = "Ваше мнение важно для нас!", qo = "Пожалуйста, оцените работу сайта, чтобы мы сделали его еще удобнее", Uo = ({
3171
3171
  handleMouseLeave: e,
@@ -3174,17 +3174,17 @@ const Jn = (e, t) => {
3174
3174
  handleSelectRating: n,
3175
3175
  handleMouseEnter: i,
3176
3176
  title: d = Ao,
3177
- subtitle: l = qo,
3177
+ subtitle: a = qo,
3178
3178
  classes: u
3179
- }) => /* @__PURE__ */ o.jsxs("div", { className: a("flex flex-col items-center gap-4", u == null ? void 0 : u.wrapper), children: [
3180
- /* @__PURE__ */ o.jsxs("div", { className: a("flex flex-col gap-2 text-center", u == null ? void 0 : u.textBlock), children: [
3181
- /* @__PURE__ */ o.jsx("p", { className: a("desk-body-medium-l", u == null ? void 0 : u.title), children: d }),
3182
- /* @__PURE__ */ o.jsx("p", { className: a("desk-body-regular-l", u == null ? void 0 : u.subtitle), children: l })
3179
+ }) => /* @__PURE__ */ o.jsxs("div", { className: l("flex flex-col items-center gap-4", u == null ? void 0 : u.wrapper), children: [
3180
+ /* @__PURE__ */ o.jsxs("div", { className: l("flex flex-col gap-2 text-center", u == null ? void 0 : u.textBlock), children: [
3181
+ /* @__PURE__ */ o.jsx("p", { className: l("desk-body-medium-l", u == null ? void 0 : u.title), children: d }),
3182
+ /* @__PURE__ */ o.jsx("p", { className: l("desk-body-regular-l", u == null ? void 0 : u.subtitle), children: a })
3183
3183
  ] }),
3184
- /* @__PURE__ */ o.jsx("div", { className: a("flex items-center gap-2", u == null ? void 0 : u.ratingsWrapper), children: Wo.map((x, m) => /* @__PURE__ */ o.jsx(
3184
+ /* @__PURE__ */ o.jsx("div", { className: l("flex items-center gap-2", u == null ? void 0 : u.ratingsWrapper), children: Wo.map((x, m) => /* @__PURE__ */ o.jsx(
3185
3185
  "button",
3186
3186
  {
3187
- className: a("size-8", u == null ? void 0 : u.ratingBtn),
3187
+ className: l("size-8", u == null ? void 0 : u.ratingBtn),
3188
3188
  onMouseEnter: () => i(m + 1),
3189
3189
  onMouseLeave: () => e(),
3190
3190
  onClick: () => n(m + 1),
@@ -3192,7 +3192,7 @@ const Jn = (e, t) => {
3192
3192
  c,
3193
3193
  {
3194
3194
  name: "general/heart",
3195
- className: a("fill-[#b0c0d2] transition-colors duration-12", u == null ? void 0 : u.ratingIcon, {
3195
+ className: l("fill-[#b0c0d2] transition-colors duration-12", u == null ? void 0 : u.ratingIcon, {
3196
3196
  "fill-secondary-default": m < (t || r)
3197
3197
  })
3198
3198
  }
@@ -3201,7 +3201,7 @@ const Jn = (e, t) => {
3201
3201
  m
3202
3202
  )) })
3203
3203
  ] }), Ko = ({ formStep: e, setFormStep: t, ratingProps: r, ...n }) => {
3204
- var i, d, l;
3204
+ var i, d, a;
3205
3205
  switch (e) {
3206
3206
  case "rating":
3207
3207
  return /* @__PURE__ */ o.jsx(Uo, { ...r, classes: (i = n.classes) == null ? void 0 : i.selectRating, ...n.selectRatingStepProps });
@@ -3217,11 +3217,11 @@ const Jn = (e, t) => {
3217
3217
  }
3218
3218
  );
3219
3219
  case "finally":
3220
- return /* @__PURE__ */ o.jsx(Lo, { classes: (l = n.classes) == null ? void 0 : l.finally, ...n.finallyStepProps });
3220
+ return /* @__PURE__ */ o.jsx(Lo, { classes: (a = n.classes) == null ? void 0 : a.finally, ...n.finallyStepProps });
3221
3221
  }
3222
- }, ge = (e) => {
3222
+ }, be = (e) => {
3223
3223
  const [t, r] = O("rating"), n = Do(r), { classes: i } = e;
3224
- return /* @__PURE__ */ o.jsx("div", { className: a("fixed right-5 top-[80%] z-[1000]", i == null ? void 0 : i.root), children: /* @__PURE__ */ o.jsx(
3224
+ return /* @__PURE__ */ o.jsx("div", { className: l("fixed right-5 top-[80%] z-[1000]", i == null ? void 0 : i.root), children: /* @__PURE__ */ o.jsx(
3225
3225
  Nt,
3226
3226
  {
3227
3227
  side: "top",
@@ -3234,13 +3234,13 @@ const Jn = (e, t) => {
3234
3234
  },
3235
3235
  triggerElement: /* @__PURE__ */ o.jsx(Ho, {}),
3236
3236
  ...e == null ? void 0 : e.popoverProps,
3237
- children: /* @__PURE__ */ o.jsx("div", { className: a("w-full", i == null ? void 0 : i.wrapper), children: Ko({ formStep: t, setFormStep: r, ratingProps: n, ...e }) })
3237
+ children: /* @__PURE__ */ o.jsx("div", { className: l("w-full", i == null ? void 0 : i.wrapper), children: Ko({ formStep: t, setFormStep: r, ratingProps: n, ...e }) })
3238
3238
  }
3239
3239
  ) });
3240
3240
  }, Zo = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
3241
3241
  __proto__: null,
3242
- UserFeedback: ge,
3243
- default: ge
3242
+ UserFeedback: be,
3243
+ default: be
3244
3244
  }, Symbol.toStringTag, { value: "Module" }));
3245
3245
  export {
3246
3246
  di as AuthProvider,
@@ -3253,22 +3253,22 @@ export {
3253
3253
  Fo as CalculatorView,
3254
3254
  me as DynamicForm,
3255
3255
  xe as DynamicFormDialog,
3256
- li as FallbacksView,
3256
+ ai as FallbacksView,
3257
3257
  Qt as FieldMapper,
3258
3258
  re as Footer,
3259
- ai as HTMLParser,
3259
+ li as HTMLParser,
3260
3260
  it as HTMLRenderer,
3261
3261
  te as Header,
3262
3262
  fe as InfoBlock,
3263
- le as InterLinking,
3263
+ ae as InterLinking,
3264
3264
  Er as KEYS_OF_WIDGET_LIST,
3265
3265
  oe as LongBanner,
3266
3266
  he as SeoHeader,
3267
3267
  ne as Stepper,
3268
3268
  ue as UsefulInfo,
3269
- ge as UserFeedback,
3269
+ be as UserFeedback,
3270
3270
  Br as WIDGET_LIST_MAP,
3271
3271
  An as queryClient,
3272
- g as widgetIds
3272
+ b as widgetIds
3273
3273
  };
3274
3274
  //# sourceMappingURL=widget.js.map