@scbt-ecom/ui 0.91.3 → 0.91.4

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
@@ -1,46 +1,46 @@
1
1
  var De = Object.defineProperty;
2
- var Wt = (e) => {
2
+ var At = (e) => {
3
3
  throw TypeError(e);
4
4
  };
5
5
  var He = (e, t, r) => t in e ? De(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r;
6
- var Tt = (e, t, r) => He(e, typeof t != "symbol" ? t + "" : t, r), Ft = (e, t, r) => t.has(e) || Wt("Cannot " + r);
7
- var h = (e, t, r) => (Ft(e, t, "read from private field"), r ? r.call(e) : t.get(e)), N = (e, t, r) => t.has(e) ? Wt("Cannot add the same private member more than once") : t instanceof WeakSet ? t.add(e) : t.set(e, r), j = (e, t, r, n) => (Ft(e, t, "write to private field"), n ? n.call(e, r) : t.set(e, r), r), q = (e, t, r) => (Ft(e, t, "access private method"), r);
6
+ var Tt = (e, t, r) => He(e, typeof t != "symbol" ? t + "" : t, r), Ft = (e, t, r) => t.has(e) || At("Cannot " + r);
7
+ var h = (e, t, r) => (Ft(e, t, "read from private field"), r ? r.call(e) : t.get(e)), S = (e, t, r) => t.has(e) ? At("Cannot add the same private member more than once") : t instanceof WeakSet ? t.add(e) : t.set(e, r), y = (e, t, r, n) => (Ft(e, t, "write to private field"), n ? n.call(e, r) : t.set(e, r), r), q = (e, t, r) => (Ft(e, t, "access private method"), r);
8
8
  var jt = (e, t, r, n) => ({
9
9
  set _(i) {
10
- j(e, t, i, r);
10
+ y(e, t, i, r);
11
11
  },
12
12
  get _() {
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-BLcEyVj0.js";
17
- import { c as l, T as _ } from "./typeGuards-BHbj394R.js";
16
+ import { Z as we, _ as ve, $ as ze, a0 as T, a1 as Wt, a2 as Le, a3 as Qe, a4 as qt, a5 as A, a6 as $e, a7 as Ve, a8 as Ae, a9 as We, 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-DGpsSEYL.js";
17
+ import { c as a, T as j } 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 lt, b as Mt, a as lr, g as _t, F as ar } from "./useDebounce-5MeprqTX.js";
22
+ import { u as at, b as Mt, a as ar, g as _t, F as lr } from "./useDebounce-DqiN3mnG.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
- import { b as ur, u as mr, a as xr } from "./useFieldsProgress-C918amw-.js";
25
+ import { b as ur, u as mr, a as xr } from "./useFieldsProgress-C13Klwl7.js";
26
26
  import { createPortal as Se } from "react-dom";
27
27
  var Q, ge, hr = (ge = class extends we {
28
28
  constructor(t = {}) {
29
29
  super();
30
- N(this, Q);
31
- this.config = t, j(this, Q, /* @__PURE__ */ new Map());
30
+ S(this, Q);
31
+ this.config = t, y(this, Q, /* @__PURE__ */ new Map());
32
32
  }
33
33
  build(t, r, n) {
34
34
  const i = r.queryKey, d = r.queryHash ?? ve(i, r);
35
- let a = this.get(d);
36
- return a || (a = new ze({
35
+ let l = this.get(d);
36
+ return l || (l = 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(a)), a;
43
+ }), this.add(l)), l;
44
44
  }
45
45
  add(t) {
46
46
  h(this, Q).has(t.queryHash) || (h(this, Q).set(t.queryHash, t), this.notify({
@@ -68,12 +68,12 @@ var Q, ge, hr = (ge = class extends we {
68
68
  find(t) {
69
69
  const r = { exact: !0, ...t };
70
70
  return this.getAll().find(
71
- (n) => At(r, n)
71
+ (n) => Wt(r, n)
72
72
  );
73
73
  }
74
74
  findAll(t = {}) {
75
75
  const r = this.getAll();
76
- return Object.keys(t).length > 0 ? r.filter((n) => At(t, n)) : r;
76
+ return Object.keys(t).length > 0 ? r.filter((n) => Wt(t, n)) : r;
77
77
  }
78
78
  notify(t) {
79
79
  T.batch(() => {
@@ -96,14 +96,14 @@ var Q, ge, hr = (ge = class extends we {
96
96
  });
97
97
  });
98
98
  }
99
- }, Q = new WeakMap(), ge), $, M, s, V, U, je, pr = (je = class extends Le {
99
+ }, Q = new WeakMap(), ge), $, _, s, V, U, je, pr = (je = class extends Le {
100
100
  constructor(t) {
101
101
  super();
102
- N(this, V);
103
- N(this, $);
104
- N(this, M);
105
- N(this, s);
106
- this.mutationId = t.mutationId, j(this, M, t.mutationCache), j(this, $, []), this.state = t.state || fr(), this.setOptions(t.options), this.scheduleGc();
102
+ S(this, V);
103
+ S(this, $);
104
+ S(this, _);
105
+ S(this, s);
106
+ this.mutationId = t.mutationId, y(this, _, t.mutationCache), y(this, $, []), this.state = t.state || fr(), this.setOptions(t.options), this.scheduleGc();
107
107
  }
108
108
  setOptions(t) {
109
109
  this.options = t, this.updateGcTime(this.options.gcTime);
@@ -112,21 +112,21 @@ var Q, ge, hr = (ge = class extends we {
112
112
  return this.options.meta;
113
113
  }
114
114
  addObserver(t) {
115
- h(this, $).includes(t) || (h(this, $).push(t), this.clearGcTimeout(), h(this, M).notify({
115
+ h(this, $).includes(t) || (h(this, $).push(t), this.clearGcTimeout(), h(this, _).notify({
116
116
  type: "observerAdded",
117
117
  mutation: this,
118
118
  observer: t
119
119
  }));
120
120
  }
121
121
  removeObserver(t) {
122
- j(this, $, h(this, $).filter((r) => r !== t)), this.scheduleGc(), h(this, M).notify({
122
+ y(this, $, h(this, $).filter((r) => r !== t)), this.scheduleGc(), h(this, _).notify({
123
123
  type: "observerRemoved",
124
124
  mutation: this,
125
125
  observer: t
126
126
  });
127
127
  }
128
128
  optionalRemove() {
129
- h(this, $).length || (this.state.status === "pending" ? this.scheduleGc() : h(this, M).remove(this));
129
+ h(this, $).length || (this.state.status === "pending" ? this.scheduleGc() : h(this, _).remove(this));
130
130
  }
131
131
  continue() {
132
132
  var t;
@@ -134,14 +134,14 @@ var Q, ge, hr = (ge = class extends we {
134
134
  this.execute(this.state.variables);
135
135
  }
136
136
  async execute(t) {
137
- var d, a, u, x, m, p, f, S, y, E, k, I, P, z, v, C, L, X, bt, gt;
137
+ var d, l, u, x, m, p, f, k, w, E, v, M, P, z, C, I, L, X, bt, gt;
138
138
  const r = () => {
139
139
  q(this, V, U).call(this, { type: "continue" });
140
140
  };
141
- j(this, s, Qe({
141
+ y(this, s, Qe({
142
142
  fn: () => this.options.mutationFn ? this.options.mutationFn(t) : Promise.reject(new Error("No mutationFn found")),
143
- onFail: (w, J) => {
144
- q(this, V, U).call(this, { type: "failed", failureCount: w, error: J });
143
+ onFail: (N, J) => {
144
+ q(this, V, U).call(this, { type: "failed", failureCount: N, error: J });
145
145
  },
146
146
  onPause: () => {
147
147
  q(this, V, U).call(this, { type: "pause" });
@@ -150,14 +150,14 @@ var Q, ge, hr = (ge = class extends we {
150
150
  retry: this.options.retry ?? 0,
151
151
  retryDelay: this.options.retryDelay,
152
152
  networkMode: this.options.networkMode,
153
- canRun: () => h(this, M).canRun(this)
153
+ canRun: () => h(this, _).canRun(this)
154
154
  }));
155
155
  const n = this.state.status === "pending", i = !h(this, s).canStart();
156
156
  try {
157
157
  if (n)
158
158
  r();
159
159
  else {
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(
160
+ q(this, V, U).call(this, { type: "pending", variables: t, isPaused: i }), await ((l = (d = h(this, _).config).onMutate) == null ? void 0 : l.call(
161
161
  d,
162
162
  t,
163
163
  this
@@ -170,56 +170,56 @@ var Q, ge, hr = (ge = class extends we {
170
170
  isPaused: i
171
171
  });
172
172
  }
173
- const w = await h(this, s).start();
174
- return await ((p = (m = h(this, M).config).onSuccess) == null ? void 0 : p.call(
173
+ const N = await h(this, s).start();
174
+ return await ((p = (m = h(this, _).config).onSuccess) == null ? void 0 : p.call(
175
175
  m,
176
- w,
176
+ N,
177
177
  t,
178
178
  this.state.context,
179
179
  this
180
- )), await ((S = (f = this.options).onSuccess) == null ? void 0 : S.call(f, w, t, this.state.context)), await ((E = (y = h(this, M).config).onSettled) == null ? void 0 : E.call(
181
- y,
180
+ )), await ((k = (f = this.options).onSuccess) == null ? void 0 : k.call(f, N, t, this.state.context)), await ((E = (w = h(this, _).config).onSettled) == null ? void 0 : E.call(
182
181
  w,
182
+ N,
183
183
  null,
184
184
  this.state.variables,
185
185
  this.state.context,
186
186
  this
187
- )), await ((I = (k = this.options).onSettled) == null ? void 0 : I.call(k, w, null, t, this.state.context)), q(this, V, U).call(this, { type: "success", data: w }), w;
188
- } catch (w) {
187
+ )), await ((M = (v = this.options).onSettled) == null ? void 0 : M.call(v, N, null, t, this.state.context)), q(this, V, U).call(this, { type: "success", data: N }), N;
188
+ } catch (N) {
189
189
  try {
190
- throw await ((z = (P = h(this, M).config).onError) == null ? void 0 : z.call(
190
+ throw await ((z = (P = h(this, _).config).onError) == null ? void 0 : z.call(
191
191
  P,
192
- w,
192
+ N,
193
193
  t,
194
194
  this.state.context,
195
195
  this
196
- )), await ((C = (v = this.options).onError) == null ? void 0 : C.call(
197
- v,
198
- w,
196
+ )), await ((I = (C = this.options).onError) == null ? void 0 : I.call(
197
+ C,
198
+ N,
199
199
  t,
200
200
  this.state.context
201
- )), await ((X = (L = h(this, M).config).onSettled) == null ? void 0 : X.call(
201
+ )), await ((X = (L = h(this, _).config).onSettled) == null ? void 0 : X.call(
202
202
  L,
203
203
  void 0,
204
- w,
204
+ N,
205
205
  this.state.variables,
206
206
  this.state.context,
207
207
  this
208
208
  )), await ((gt = (bt = this.options).onSettled) == null ? void 0 : gt.call(
209
209
  bt,
210
210
  void 0,
211
- w,
211
+ N,
212
212
  t,
213
213
  this.state.context
214
- )), w;
214
+ )), N;
215
215
  } finally {
216
- q(this, V, U).call(this, { type: "error", error: w });
216
+ q(this, V, U).call(this, { type: "error", error: N });
217
217
  }
218
218
  } finally {
219
- h(this, M).runNext(this);
219
+ h(this, _).runNext(this);
220
220
  }
221
221
  }
222
- }, $ = new WeakMap(), M = new WeakMap(), s = new WeakMap(), V = new WeakSet(), U = function(t) {
222
+ }, $ = new WeakMap(), _ = new WeakMap(), s = new WeakMap(), V = new WeakSet(), U = function(t) {
223
223
  const r = (n) => {
224
224
  switch (t.type) {
225
225
  case "failed":
@@ -276,7 +276,7 @@ var Q, ge, hr = (ge = class extends we {
276
276
  this.state = r(this.state), T.batch(() => {
277
277
  h(this, $).forEach((n) => {
278
278
  n.onMutationUpdate(t);
279
- }), h(this, M).notify({
279
+ }), h(this, _).notify({
280
280
  mutation: this,
281
281
  type: "updated",
282
282
  action: t
@@ -296,13 +296,13 @@ function fr() {
296
296
  submittedAt: 0
297
297
  };
298
298
  }
299
- var A, H, xt, ye, cr = (ye = class extends we {
299
+ var W, H, xt, ye, cr = (ye = class extends we {
300
300
  constructor(t = {}) {
301
301
  super();
302
- N(this, A);
303
- N(this, H);
304
- N(this, xt);
305
- this.config = t, j(this, A, /* @__PURE__ */ new Set()), j(this, H, /* @__PURE__ */ new Map()), j(this, xt, 0);
302
+ S(this, W);
303
+ S(this, H);
304
+ S(this, xt);
305
+ this.config = t, y(this, W, /* @__PURE__ */ new Set()), y(this, H, /* @__PURE__ */ new Map()), y(this, xt, 0);
306
306
  }
307
307
  build(t, r, n) {
308
308
  const i = new pr({
@@ -314,7 +314,7 @@ var A, H, xt, ye, cr = (ye = class extends we {
314
314
  return this.add(i), i;
315
315
  }
316
316
  add(t) {
317
- h(this, A).add(t);
317
+ h(this, W).add(t);
318
318
  const r = yt(t);
319
319
  if (typeof r == "string") {
320
320
  const n = h(this, H).get(r);
@@ -323,7 +323,7 @@ var A, H, xt, ye, cr = (ye = class extends we {
323
323
  this.notify({ type: "added", mutation: t });
324
324
  }
325
325
  remove(t) {
326
- if (h(this, A).delete(t)) {
326
+ if (h(this, W).delete(t)) {
327
327
  const r = yt(t);
328
328
  if (typeof r == "string") {
329
329
  const n = h(this, H).get(r);
@@ -357,13 +357,13 @@ var A, H, xt, ye, cr = (ye = class extends we {
357
357
  }
358
358
  clear() {
359
359
  T.batch(() => {
360
- h(this, A).forEach((t) => {
360
+ h(this, W).forEach((t) => {
361
361
  this.notify({ type: "removed", mutation: t });
362
- }), h(this, A).clear(), h(this, H).clear();
362
+ }), h(this, W).clear(), h(this, H).clear();
363
363
  });
364
364
  }
365
365
  getAll() {
366
- return Array.from(h(this, A));
366
+ return Array.from(h(this, W));
367
367
  }
368
368
  find(t) {
369
369
  const r = { exact: !0, ...t };
@@ -385,11 +385,11 @@ var A, H, xt, ye, cr = (ye = class extends we {
385
385
  const t = this.getAll().filter((r) => r.state.isPaused);
386
386
  return T.batch(
387
387
  () => Promise.all(
388
- t.map((r) => r.continue().catch(W))
388
+ t.map((r) => r.continue().catch(A))
389
389
  )
390
390
  );
391
391
  }
392
- }, A = new WeakMap(), H = new WeakMap(), xt = new WeakMap(), ye);
392
+ }, W = new WeakMap(), H = new WeakMap(), xt = new WeakMap(), ye);
393
393
  function yt(e) {
394
394
  var t;
395
395
  return (t = e.options.scope) == null ? void 0 : t.id;
@@ -397,59 +397,59 @@ function yt(e) {
397
397
  function Jt(e) {
398
398
  return {
399
399
  onFetch: (t, r) => {
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) || [], a = ((E = t.state.data) == null ? void 0 : E.pageParams) || [];
400
+ var p, f, k, w, E;
401
+ const n = t.options, i = (k = (f = (p = t.fetchOptions) == null ? void 0 : p.meta) == null ? void 0 : f.fetchMore) == null ? void 0 : k.direction, d = ((w = t.state.data) == null ? void 0 : w.pages) || [], l = ((E = t.state.data) == null ? void 0 : E.pageParams) || [];
402
402
  let u = { pages: [], pageParams: [] }, x = 0;
403
403
  const m = async () => {
404
- let k = !1;
405
- const I = (v) => {
406
- Object.defineProperty(v, "signal", {
404
+ let v = !1;
405
+ const M = (C) => {
406
+ Object.defineProperty(C, "signal", {
407
407
  enumerable: !0,
408
- get: () => (t.signal.aborted ? k = !0 : t.signal.addEventListener("abort", () => {
409
- k = !0;
408
+ get: () => (t.signal.aborted ? v = !0 : t.signal.addEventListener("abort", () => {
409
+ v = !0;
410
410
  }), t.signal)
411
411
  });
412
- }, P = $e(t.options, t.fetchOptions), z = async (v, C, L) => {
413
- if (k)
412
+ }, P = $e(t.options, t.fetchOptions), z = async (C, I, L) => {
413
+ if (v)
414
414
  return Promise.reject();
415
- if (C == null && v.pages.length)
416
- return Promise.resolve(v);
415
+ if (I == null && C.pages.length)
416
+ return Promise.resolve(C);
417
417
  const bt = (() => {
418
418
  const Vt = {
419
419
  client: t.client,
420
420
  queryKey: t.queryKey,
421
- pageParam: C,
421
+ pageParam: I,
422
422
  direction: L ? "backward" : "forward",
423
423
  meta: t.options.meta
424
424
  };
425
- return I(Vt), Vt;
426
- })(), gt = await P(bt), { maxPages: w } = t.options, J = L ? Ve : We;
425
+ return M(Vt), Vt;
426
+ })(), gt = await P(bt), { maxPages: N } = t.options, J = L ? Ve : Ae;
427
427
  return {
428
- pages: J(v.pages, gt, w),
429
- pageParams: J(v.pageParams, C, w)
428
+ pages: J(C.pages, gt, N),
429
+ pageParams: J(C.pageParams, I, N)
430
430
  };
431
431
  };
432
432
  if (i && d.length) {
433
- const v = i === "backward", C = v ? br : Gt, L = {
433
+ const C = i === "backward", I = C ? br : Gt, L = {
434
434
  pages: d,
435
- pageParams: a
436
- }, X = C(n, L);
437
- u = await z(L, X, v);
435
+ pageParams: l
436
+ }, X = I(n, L);
437
+ u = await z(L, X, C);
438
438
  } else {
439
- const v = e ?? d.length;
439
+ const C = e ?? d.length;
440
440
  do {
441
- const C = x === 0 ? a[0] ?? n.initialPageParam : Gt(n, u);
442
- if (x > 0 && C == null)
441
+ const I = x === 0 ? l[0] ?? n.initialPageParam : Gt(n, u);
442
+ if (x > 0 && I == null)
443
443
  break;
444
- u = await z(u, C), x++;
445
- } while (x < v);
444
+ u = await z(u, I), x++;
445
+ } while (x < C);
446
446
  }
447
447
  return u;
448
448
  };
449
449
  t.options.persister ? t.fetchFn = () => {
450
- var k, I;
451
- return (I = (k = t.options).persister) == null ? void 0 : I.call(
452
- k,
450
+ var v, M;
451
+ return (M = (v = t.options).persister) == null ? void 0 : M.call(
452
+ v,
453
453
  m,
454
454
  {
455
455
  client: t.client,
@@ -478,26 +478,26 @@ function br(e, { pages: t, pageParams: r }) {
478
478
  }
479
479
  var g, K, Z, et, rt, Y, nt, ot, ke, gr = (ke = class {
480
480
  constructor(e = {}) {
481
- N(this, g);
482
- N(this, K);
483
- N(this, Z);
484
- N(this, et);
485
- N(this, rt);
486
- N(this, Y);
487
- N(this, nt);
488
- N(this, ot);
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);
481
+ S(this, g);
482
+ S(this, K);
483
+ S(this, Z);
484
+ S(this, et);
485
+ S(this, rt);
486
+ S(this, Y);
487
+ S(this, nt);
488
+ S(this, ot);
489
+ y(this, g, e.queryCache || new hr()), y(this, K, e.mutationCache || new cr()), y(this, Z, e.defaultOptions || {}), y(this, et, /* @__PURE__ */ new Map()), y(this, rt, /* @__PURE__ */ new Map()), y(this, Y, 0);
490
490
  }
491
491
  mount() {
492
- jt(this, Y)._++, h(this, Y) === 1 && (j(this, nt, Ae.subscribe(async (e) => {
492
+ jt(this, Y)._++, h(this, Y) === 1 && (y(this, nt, We.subscribe(async (e) => {
493
493
  e && (await this.resumePausedMutations(), h(this, g).onFocus());
494
- })), j(this, ot, Ut.subscribe(async (e) => {
494
+ })), y(this, ot, Ut.subscribe(async (e) => {
495
495
  e && (await this.resumePausedMutations(), h(this, g).onOnline());
496
496
  })));
497
497
  }
498
498
  unmount() {
499
499
  var e, t;
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));
500
+ jt(this, Y)._--, h(this, Y) === 0 && ((e = h(this, nt)) == null || e.call(this), y(this, nt, void 0), (t = h(this, ot)) == null || t.call(this), y(this, ot, void 0));
501
501
  }
502
502
  isFetching(e) {
503
503
  return h(this, g).findAll({ ...e, fetchStatus: "fetching" }).length;
@@ -530,9 +530,9 @@ var g, K, Z, et, rt, Y, nt, ot, ke, gr = (ke = class {
530
530
  setQueryData(e, t, r) {
531
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, a = qe(t, d);
534
- if (a !== void 0)
535
- return h(this, g).build(this, n).setData(a, { ...r, manual: !0 });
533
+ ), d = i == null ? void 0 : i.state.data, l = qe(t, d);
534
+ if (l !== void 0)
535
+ return h(this, g).build(this, n).setData(l, { ...r, manual: !0 });
536
536
  }
537
537
  setQueriesData(e, t, r) {
538
538
  return T.batch(
@@ -573,7 +573,7 @@ var g, K, Z, et, rt, Y, nt, ot, ke, gr = (ke = class {
573
573
  const r = { revert: !0, ...t }, n = T.batch(
574
574
  () => h(this, g).findAll(e).map((i) => i.cancel(r))
575
575
  );
576
- return Promise.all(n).then(W).catch(W);
576
+ return Promise.all(n).then(A).catch(A);
577
577
  }
578
578
  invalidateQueries(e, t = {}) {
579
579
  return T.batch(() => (h(this, g).findAll(e).forEach((r) => {
@@ -593,10 +593,10 @@ var g, K, Z, et, rt, Y, nt, ot, ke, gr = (ke = class {
593
593
  }, n = T.batch(
594
594
  () => h(this, g).findAll(e).filter((i) => !i.isDisabled() && !i.isStatic()).map((i) => {
595
595
  let d = i.fetch(void 0, r);
596
- return r.throwOnError || (d = d.catch(W)), i.state.fetchStatus === "paused" ? Promise.resolve() : d;
596
+ return r.throwOnError || (d = d.catch(A)), i.state.fetchStatus === "paused" ? Promise.resolve() : d;
597
597
  })
598
598
  );
599
- return Promise.all(n).then(W);
599
+ return Promise.all(n).then(A);
600
600
  }
601
601
  fetchQuery(e) {
602
602
  const t = this.defaultQueryOptions(e);
@@ -607,13 +607,13 @@ var g, K, Z, et, rt, Y, nt, ot, ke, gr = (ke = class {
607
607
  ) ? r.fetch(t) : Promise.resolve(r.state.data);
608
608
  }
609
609
  prefetchQuery(e) {
610
- return this.fetchQuery(e).then(W).catch(W);
610
+ return this.fetchQuery(e).then(A).catch(A);
611
611
  }
612
612
  fetchInfiniteQuery(e) {
613
613
  return e.behavior = Jt(e.pages), this.fetchQuery(e);
614
614
  }
615
615
  prefetchInfiniteQuery(e) {
616
- return this.fetchInfiniteQuery(e).then(W).catch(W);
616
+ return this.fetchInfiniteQuery(e).then(A).catch(A);
617
617
  }
618
618
  ensureInfiniteQueryData(e) {
619
619
  return e.behavior = Jt(e.pages), this.ensureQueryData(e);
@@ -631,7 +631,7 @@ var g, K, Z, et, rt, Y, nt, ot, ke, gr = (ke = class {
631
631
  return h(this, Z);
632
632
  }
633
633
  setDefaultOptions(e) {
634
- j(this, Z, e);
634
+ y(this, Z, e);
635
635
  }
636
636
  setQueryDefaults(e, t) {
637
637
  h(this, et).set(Zt(e), {
@@ -683,7 +683,7 @@ var g, K, Z, et, rt, Y, nt, ot, ke, gr = (ke = class {
683
683
  h(this, g).clear(), h(this, K).clear();
684
684
  }
685
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
- 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 = {
686
+ const jr = B(() => Promise.resolve().then(() => Ar)), 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,
689
689
  banner: jr,
@@ -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: l(t), onClick: n, ...r, children: r.children });
728
+ return /* @__PURE__ */ o.jsx(ht, { className: a(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: a,
747
+ button: l,
748
748
  variant: u,
749
749
  color: x
750
750
  }) => {
751
- const { isDesktop: m } = lt();
751
+ const { isDesktop: m } = at();
752
752
  return /* @__PURE__ */ o.jsxs(
753
753
  "li",
754
754
  {
755
755
  style: { backgroundColor: x ?? "#F3F4F7" },
756
- className: l(Rr({ variant: u }), { "pb-0": n }, { "pb-12": !n }, i == null ? void 0 : i.root),
756
+ className: a(Rr({ variant: u }), { "pb-0": n }, { "pb-12": !n }, i == null ? void 0 : i.root),
757
757
  children: [
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) }),
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) }),
761
761
  /* @__PURE__ */ o.jsx(
762
762
  "div",
763
763
  {
764
764
  dangerouslySetInnerHTML: { __html: e },
765
- className: l("mob-body-regular-l text-icon-blue-grey-800 desktop:desk-body-regular-l", i == null ? void 0 : i.subtitle)
765
+ className: a("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 && (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 })
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 })
770
770
  ] }),
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 })
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 && j.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 })
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: 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: [
784
+ }), st = ({ headline: e, details: t, variant: r, classes: n }) => /* @__PURE__ */ o.jsx("section", { id: b.benefit, "data-test-id": b.benefit, className: a(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: l("mob-headline-bold-s mb-8 desktop:desk-headline-bold-m", n == null ? void 0 : n.heading)
789
+ className: a("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: 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)) })
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)) })
793
793
  ] }) }), zr = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
794
794
  __proto__: null,
795
795
  Benefit: st,
@@ -810,8 +810,8 @@ const jr = B(() => Promise.resolve().then(() => Wr)), yr = B(() => Promise.resol
810
810
  {
811
811
  id: b.header,
812
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: [
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: [
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: l(
822
+ className: a(
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: l(
842
+ className: a(
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: l("w-full desktop:max-w-[216px]", t == null ? void 0 : t.primary),
851
+ className: a("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: l("w-full desktop:max-w-[216px]", t == null ? void 0 : t.secondary),
862
+ className: a("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: l("flex items-center justify-center pb-8", t == null ? void 0 : t.root), children: /* @__PURE__ */ o.jsx(
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(
872
872
  "div",
873
873
  {
874
874
  id: "advantages",
875
- className: l(
875
+ className: a(
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: l(
884
+ className: a(
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: 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 })
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 })
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: a
904
+ backgroundColor: l
905
905
  }) => {
906
906
  var m;
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;
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;
908
908
  return /* @__PURE__ */ o.jsxs(o.Fragment, { children: [
909
909
  /* @__PURE__ */ o.jsxs(
910
910
  "section",
911
911
  {
912
912
  id: b.banner,
913
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),
914
+ style: { backgroundColor: l ?? "#d9edff" },
915
+ className: a("relative h-[552px] desktop:h-[456px]", i == null ? void 0 : i.root),
916
916
  children: [
917
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: [
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: [
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: l("mob-headline-bold-m text-color-dark desktop:desk-headline-bold-l", i == null ? void 0 : i.title)
925
+ className: a("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: l("desk-body-regular-l text-color-dark", i == null ? void 0 : i.subtitle)
932
+ className: a("desk-body-regular-l text-color-dark", i == null ? void 0 : i.subtitle)
933
933
  }
934
934
  )
935
935
  ] }),
@@ -965,7 +965,7 @@ 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: a
968
+ backgroundColor: l
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;
@@ -973,26 +973,26 @@ const jr = B(() => Promise.resolve().then(() => Wr)), yr = B(() => Promise.resol
973
973
  "section",
974
974
  {
975
975
  id: b.banner,
976
- style: { backgroundColor: a ?? "#d9edff" },
976
+ style: { backgroundColor: l ?? "#d9edff" },
977
977
  "data-test-id": b.banner,
978
- className: l("", i == null ? void 0 : i.root),
978
+ className: a("", i == null ? void 0 : i.root),
979
979
  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: [
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: [
982
982
  /* @__PURE__ */ o.jsxs("div", { className: "flex flex-col desktop:gap-10 desktop:pt-20", 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: [
983
+ /* @__PURE__ */ o.jsxs("div", { className: a("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: l("mob-headline-bold-m text-color-dark desktop:desk-headline-bold-l", i == null ? void 0 : i.title)
988
+ className: a("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: l("desk-body-regular-l text-color-dark", i == null ? void 0 : i.subtitle)
995
+ className: a("desk-body-regular-l text-color-dark", i == null ? void 0 : i.subtitle)
996
996
  }
997
997
  )
998
998
  ] }),
@@ -1009,7 +1009,7 @@ const jr = B(() => Promise.resolve().then(() => Wr)), yr = B(() => Promise.resol
1009
1009
  /* @__PURE__ */ o.jsx(
1010
1010
  "div",
1011
1011
  {
1012
- className: l(
1012
+ className: a(
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
  ),
@@ -1019,7 +1019,7 @@ const jr = B(() => Promise.resolve().then(() => Wr)), yr = B(() => Promise.resol
1019
1019
  /* @__PURE__ */ o.jsx(
1020
1020
  "div",
1021
1021
  {
1022
- className: l(
1022
+ className: a(
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
  ),
@@ -1056,56 +1056,56 @@ const jr = B(() => Promise.resolve().then(() => Wr)), yr = B(() => Promise.resol
1056
1056
  default:
1057
1057
  return /* @__PURE__ */ o.jsx(Vr, { ...t });
1058
1058
  }
1059
- }, Wr = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
1059
+ }, Ar = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
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: 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(
1063
+ }, Symbol.toStringTag, { value: "Module" })), Wr = ({ 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(
1064
1064
  "a",
1065
1065
  {
1066
- className: l("flex size-8 items-center justify-center rounded-full bg-[#52576a] p-2", t == null ? void 0 : t.socialLink),
1066
+ className: a("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: l("h-full w-full text-icon-white", t == null ? void 0 : t.socialIcon) })
1070
+ children: /* @__PURE__ */ o.jsx(c, { name: r, className: a("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: 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(
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(
1074
1074
  Ne,
1075
1075
  {
1076
1076
  phone: It(r),
1077
1077
  text: n,
1078
1078
  classes: {
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)
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)
1082
1082
  }
1083
1083
  },
1084
1084
  r
1085
1085
  )) }), Ur = ({ classes: e, details: t }) => /* @__PURE__ */ o.jsx(
1086
1086
  "div",
1087
1087
  {
1088
- className: l(
1088
+ className: a(
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: 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(
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(
1096
1096
  pt,
1097
1097
  {
1098
1098
  href: d,
1099
- "aria-label": a,
1099
+ "aria-label": l,
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: a
1106
+ children: l
1107
1107
  },
1108
- a
1108
+ l
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: l("desk-body-regular-m text-color-footer [&_>p]:inline", t == null ? void 0 : t.copyRight),
1118
+ className: a("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: 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) })
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) })
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: l("mobile:mt-6", e == null ? void 0 : e.siteMapLink),
1141
+ link: a("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), a = ut.useRef(null);
1147
+ const [r, n] = ut.useState(!1), [i, d] = ut.useState(!1), l = ut.useRef(null);
1148
1148
  return ut.useEffect(() => {
1149
- const u = a.current;
1149
+ const u = l.current;
1150
1150
  u && d(u.scrollHeight > u.clientHeight);
1151
- }, []), /* @__PURE__ */ o.jsxs("div", { className: l("mt-8 flex flex-col gap-4", t == null ? void 0 : t.ligalRoot), children: [
1151
+ }, []), /* @__PURE__ */ o.jsxs("div", { className: a("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: a,
1156
- className: l("desk-body-regular-m text-color-footer", { "line-clamp-3": !r }, t == null ? void 0 : t.ligalText),
1155
+ ref: l,
1156
+ className: a("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: l(
1166
+ className: a(
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,42 +1178,42 @@ 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: a = !0
1181
+ siteMap: l = !0
1182
1182
  }) => /* @__PURE__ */ o.jsx(
1183
1183
  "footer",
1184
1184
  {
1185
1185
  id: b.footer,
1186
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: [
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: [
1189
1189
  /* @__PURE__ */ o.jsxs(
1190
1190
  "div",
1191
1191
  {
1192
- className: l(
1192
+ className: a(
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: l(i == null ? void 0 : i.footerSocialBlock), children: [
1197
+ /* @__PURE__ */ o.jsxs("div", { className: a(i == null ? void 0 : i.footerSocialBlock), children: [
1198
1198
  /* @__PURE__ */ o.jsx(Zr, { classes: i == null ? void 0 : i.footerLogo }),
1199
- e.enabled && /* @__PURE__ */ o.jsx(Ar, { socialsLinks: e.links, classes: i == null ? void 0 : i.socialLinks })
1199
+ e.enabled && /* @__PURE__ */ o.jsx(Wr, { socialsLinks: e.links, classes: i == null ? void 0 : i.socialLinks })
1200
1200
  ] }),
1201
1201
  t.enabled && /* @__PURE__ */ o.jsx(qr, { phones: t.items, classes: i == null ? void 0 : i.phonesBlock })
1202
1202
  ]
1203
1203
  }
1204
1204
  ),
1205
- !_.isArrayEmpty(d) && /* @__PURE__ */ o.jsx(Ur, { details: d, classes: i == null ? void 0 : i.navLinks }),
1205
+ !j.isArrayEmpty(d) && /* @__PURE__ */ o.jsx(Ur, { details: d, classes: i == null ? void 0 : i.navLinks }),
1206
1206
  r.enabled && /* @__PURE__ */ o.jsx(Xr, { text: r.text }),
1207
1207
  /* @__PURE__ */ o.jsxs(
1208
1208
  "div",
1209
1209
  {
1210
- className: l(
1210
+ className: a(
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
- a && /* @__PURE__ */ o.jsx(Yr, { classes: i == null ? void 0 : i.siteMap })
1216
+ l && /* @__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, a;
1227
+ var d, l;
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: l(
1232
+ className: a(
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: l(
1240
+ className: a(
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: 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: [
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: [
1249
1249
  n && /* @__PURE__ */ o.jsx(
1250
1250
  "div",
1251
1251
  {
1252
1252
  dangerouslySetInnerHTML: { __html: n },
1253
- className: l("mob-title-bold-m text-color-dark desktop:desk-title-bold-s", t == null ? void 0 : t.title)
1253
+ className: a("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: l("desk-body-regular-l text-color-tetriary", t == null ? void 0 : t.description)
1260
+ className: a("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: 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 }) })
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 }) })
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((a, u) => /* @__PURE__ */ o.jsx(
1292
+ children: e.details.map((l, u) => /* @__PURE__ */ o.jsx(
1293
1293
  Ye,
1294
1294
  {
1295
1295
  variant: "fullScreen",
1296
1296
  slideIndex: u,
1297
- ...a,
1297
+ ...l,
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: 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(
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(
1308
1308
  "button",
1309
1309
  {
1310
1310
  onClick: () => r(i),
1311
- className: l(
1311
+ className: a(
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 && (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 }),
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]), l = r ? d == null ? void 0 : d.findIndex((p) => p.headline === n) : 0, u = e == null ? void 0 : e[l];
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: 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 }),
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,7 +1335,7 @@ const jr = B(() => Promise.resolve().then(() => Wr)), yr = B(() => Promise.resol
1335
1335
  /* @__PURE__ */ o.jsx(
1336
1336
  "div",
1337
1337
  {
1338
- className: l(
1338
+ className: a(
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 }
@@ -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
- }), ln = ({ data: e, intent: t }) => {
1436
+ }), an = ({ 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: 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 })
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 })
1448
1448
  ] }),
1449
- /* @__PURE__ */ o.jsx("div", { className: l("mob-body-regular-l text-color-secondary"), dangerouslySetInnerHTML: { __html: n } })
1449
+ /* @__PURE__ */ o.jsx("div", { className: a("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: 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 = ({
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 = ({
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 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: [
1459
+ const l = r === "fourItems", u = r === "twoItems", x = i && "url" in i && j.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: a(d == null ? void 0 : d.root), children: /* @__PURE__ */ o.jsxs(F, { className: a(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: l(
1465
+ className: a(
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
- 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 }),
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 }),
1472
1472
  /* @__PURE__ */ o.jsxs(
1473
1473
  "div",
1474
1474
  {
1475
- className: l("desktop:flex desktop:flex-col desktop:justify-center desktop:py-10", d == null ? void 0 : d.textWithBtnContainer),
1475
+ className: a("desktop:flex desktop:flex-col desktop:justify-center desktop:py-10", d == null ? void 0 : d.textWithBtnContainer),
1476
1476
  children: [
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 }),
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 }),
1479
1479
  (t == null ? void 0 : t.enabled) && t && /* @__PURE__ */ o.jsx(
1480
1480
  tt,
1481
1481
  {
1482
- className: l("w-full px-4 desktop:w-max", d == null ? void 0 : d.button),
1482
+ className: a("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: l(
1507
+ className: a(
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: l(
1515
+ className: a(
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: l("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: a("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: l(
1560
+ className: a(
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: l("w-max relative z-[6] p-0 desk-body-regular-m text-color-tetriary", n == null ? void 0 : n.linksSubLink)
1576
+ link: a("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: a } = lt();
1582
+ const { isMobile: l } = at();
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: l(
1586
+ className: a(
1587
1587
  "flex flex-1 items-center justify-between gap-1",
1588
- { "justify-center": !n && a },
1588
+ { "justify-center": !n && l },
1589
1589
  d == null ? void 0 : d.innerWrapper
1590
1590
  ),
1591
1591
  children: [
1592
- /* @__PURE__ */ o.jsxs("div", { className: l("flex items-center gap-1 desktop:gap-4", d == null ? void 0 : d.textContent), children: [
1592
+ /* @__PURE__ */ o.jsxs("div", { className: a("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: 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) })
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) })
1597
1597
  ] }),
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) })
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) })
1600
1600
  ] }),
1601
- n && /* @__PURE__ */ o.jsx(Pt, { className: l("bg-color-positive", d == null ? void 0 : d.badge), children: n })
1601
+ n && /* @__PURE__ */ o.jsx(Pt, { className: a("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: a } = lt();
1606
+ const { isMobile: l } = at();
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: l(
1610
+ className: a(
1611
1611
  "flex flex-1 items-center justify-between gap-1",
1612
- { "justify-center": !n && a },
1612
+ { "justify-center": !n && l },
1613
1613
  d == null ? void 0 : d.innerWrapper
1614
1614
  ),
1615
1615
  children: [
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) })
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) })
1620
1620
  ] }),
1621
- n && /* @__PURE__ */ o.jsx(Pt, { className: l("bg-color-positive", d == null ? void 0 : d.badge), children: n })
1621
+ n && /* @__PURE__ */ o.jsx(Pt, { className: a("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, a = !n && !i ? ut.Fragment : "div";
1633
+ const { esiaConfig: t, mobileIdConfig: r, subtitle: n, badge: i, classes: d } = e, l = !n && !i ? ut.Fragment : "div";
1634
1634
  return /* @__PURE__ */ o.jsxs(
1635
1635
  "div",
1636
1636
  {
1637
- className: l(
1637
+ className: a(
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(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 })
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 })
1645
1645
  ] }),
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: [
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: [
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), 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(
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(
1675
1675
  pt,
1676
1676
  {
1677
1677
  classes: {
1678
- link: l("w-max", t == null ? void 0 : t.linkText),
1679
- icon: l(t == null ? void 0 : t.linkIcon)
1678
+ link: a("w-max", t == null ? void 0 : t.linkText),
1679
+ icon: a(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, 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: [
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: [
1691
1691
  !i && /* @__PURE__ */ o.jsxs(o.Fragment, { children: [
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")
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")
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: l("rotate-90 transition-transform group-data-[state=open]:-rotate-90") }),
1700
+ icon: /* @__PURE__ */ o.jsx(c, { name: "arrows/arrowRight", className: a("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: 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)
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)
1706
1706
  },
1707
- contentInner: l("py-2 px-4", (u = r == null ? void 0 : r.classes) == null ? void 0 : u.contentInner)
1707
+ contentInner: a("py-2 px-4", (u = r == null ? void 0 : r.classes) == null ? void 0 : u.contentInner)
1708
1708
  },
1709
- children: /* @__PURE__ */ o.jsx(le, { links: t, classes: n == null ? void 0 : n.linksList }, "mobile")
1709
+ children: /* @__PURE__ */ o.jsx(ae, { 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: 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", {
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", {
1714
1714
  variants: {
1715
1715
  variant: {
1716
1716
  twoCols: "desktop:grid-cols-2",
@@ -1721,14 +1721,14 @@ const jr = B(() => Promise.resolve().then(() => Wr)), yr = B(() => Promise.resol
1721
1721
  defaultVariants: {
1722
1722
  variant: "fourCols"
1723
1723
  }
1724
- }), ae = ({
1724
+ }), le = ({
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: a
1731
+ defaultOpen: l
1732
1732
  }) => {
1733
1733
  var u, x, m;
1734
1734
  return /* @__PURE__ */ o.jsx(
@@ -1736,34 +1736,34 @@ const jr = B(() => Promise.resolve().then(() => Wr)), yr = B(() => Promise.resol
1736
1736
  {
1737
1737
  id: b.interLinking,
1738
1738
  "data-test-id": b.interLinking,
1739
- className: l("min-w-full desktop:min-w-[1140px]", d == null ? void 0 : d.root),
1739
+ className: a("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: a,
1744
- label: /* @__PURE__ */ o.jsx(R, { as: "h4", className: l("text-left", d == null ? void 0 : d.headline), children: r }),
1743
+ defaultOpen: l,
1744
+ label: /* @__PURE__ */ o.jsx(R, { as: "h4", className: a("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: l("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: a("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: l("max-w-full bg-color-blue-grey-100 relative", (m = i == null ? void 0 : i.classes) == null ? void 0 : m.content)
1751
+ content: a("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: 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)) })
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)) })
1754
1754
  }
1755
1755
  ) })
1756
1756
  }
1757
1757
  );
1758
1758
  }, cn = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
1759
1759
  __proto__: null,
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(
1760
+ InterLinking: le,
1761
+ default: le
1762
+ }, Symbol.toStringTag, { value: "Module" })), bn = ({ 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(
1763
1763
  "button",
1764
1764
  {
1765
1765
  onClick: () => r(d),
1766
- className: l(
1766
+ className: a(
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
@@ -1774,7 +1774,7 @@ const jr = B(() => Promise.resolve().then(() => Wr)), yr = B(() => Promise.resol
1774
1774
  },
1775
1775
  i
1776
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 ?? "" } });
1777
+ const i = /* @__PURE__ */ o.jsx("div", { className: a(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: 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", {
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", {
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: 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(
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(
1815
1815
  "div",
1816
1816
  {
1817
- className: l("desk-body-regular-l text-color-dark", { "font-medium": a !== 0 }, i == null ? void 0 : i.cell),
1817
+ className: a("desk-body-regular-l text-color-dark", { "font-medium": l !== 0 }, i == null ? void 0 : i.cell),
1818
1818
  children: d && d
1819
1819
  },
1820
- a
1820
+ l
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: 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 }),
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 }),
1830
1830
  /* @__PURE__ */ o.jsx(
1831
1831
  "div",
1832
1832
  {
1833
- className: l(
1833
+ className: a(
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) ?? [], 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 }),
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 }),
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: a,
1862
+ headingsExist: l,
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: a,
1878
+ headings: l,
1879
1879
  accordionConfig: u,
1880
1880
  classes: x
1881
1881
  }) => {
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 }),
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 }),
1885
1885
  t && /* @__PURE__ */ o.jsx(
1886
1886
  "div",
1887
1887
  {
1888
- className: l("mt-2 [&&]:desk-body-regular-m desktop:mt-2", x == null ? void 0 : x.description),
1888
+ className: a("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: l(
1914
+ className: a(
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: 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: [
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: [
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: a }) => {
1930
- const u = /* @__PURE__ */ o.jsxs("div", { className: l("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: l }) => {
1930
+ const u = /* @__PURE__ */ o.jsxs("div", { className: a("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: 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 ?? "" } })
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 ?? "" } })
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, ...a, children: (a == null ? void 0 : a.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, ...l, children: (l == null ? void 0 : l.children) || u }) : u });
1936
1936
  }, Rn = ({ entity: e, classes: t, accordionsConfig: r }) => {
1937
1937
  var n, i, d;
1938
1938
  switch (!0) {
1939
1939
  case gn(e):
1940
- return (n = e.details) == null ? void 0 : n.map((a, u) => {
1940
+ return (n = e.details) == null ? void 0 : n.map((l, u) => {
1941
1941
  var x;
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);
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);
1943
1943
  });
1944
1944
  case jn(e):
1945
- return (i = e.details) == null ? void 0 : i.map((a, u) => {
1945
+ return (i = e.details) == null ? void 0 : i.map((l, 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
- ...a,
1951
+ ...l,
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((a, u) => {
1958
+ return (d = e.details) == null ? void 0 : d.map((l, 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
- ...a,
1964
+ ...l,
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: 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 }) => {
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 }) => {
1974
1974
  var u, x;
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)) })
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: b.usefulInfo, "data-test-id": b.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(bn, { 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)) })
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: a } = this.options || {};
2002
+ const { includeSolidText: i, recursive: d, element: l } = 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 (a && x !== a)
2010
+ if (l && x !== l)
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 = [], a = await this.parseFromString(t), u = r === "string" ? i : d;
2041
+ const { includeBody: n } = this.options || {}, i = [], d = [], l = await this.parseFromString(t), u = r === "string" ? i : d;
2042
2042
  if (n)
2043
- this.traverse(a.body, r, u);
2043
+ this.traverse(l.body, r, u);
2044
2044
  else
2045
- for (const x of a.body.childNodes)
2045
+ for (const x of l.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 li extends zn {
2060
+ class ai extends zn {
2061
2061
  constructor(t) {
2062
2062
  super(t);
2063
2063
  }
@@ -2073,14 +2073,14 @@ const it = ({ html: e, as: t, ...r }) => {
2073
2073
  ...r.args.progress
2074
2074
  })) : null, $n = ["getFioSchema"], Oe = (e, t, r) => {
2075
2075
  const n = e[t];
2076
- if (_.isNil(n))
2076
+ if (j.isNil(n))
2077
2077
  throw new Error(`validation for type ${String(t)} not found`);
2078
- if (!_.isFunction(n))
2078
+ if (!j.isFunction(n))
2079
2079
  throw new Error(`Cannot generate ${String(t)} because is not a function`);
2080
2080
  return n(r);
2081
- }, Vn = (e, t) => Oe(zt.base, e, t), Wn = (e, t) => Oe(zt.dadata, e, t), $t = (e) => {
2081
+ }, Vn = (e, t) => Oe(zt.base, e, t), An = (e, t) => Oe(zt.dadata, e, t), $t = (e) => {
2082
2082
  const r = ((e == null ? void 0 : e.map((n) => ({ name: n.args.name, validation: n.args.validation }))) ?? []).reduce((n, i) => {
2083
- const d = $n.includes(i.validation.type) ? Wn(
2083
+ const d = $n.includes(i.validation.type) ? An(
2084
2084
  i.validation.type,
2085
2085
  i.validation.args
2086
2086
  ) : Vn(
@@ -2090,16 +2090,24 @@ 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 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(
2093
+ }, Wn = new gr(), Te = ({ children: e }) => /* @__PURE__ */ o.jsx(Je, { client: Wn, 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: l(
2096
+ className: a(
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"
2100
2100
  ),
2101
2101
  children: [
2102
- /* @__PURE__ */ o.jsx(Ct.CheckboxBase, { classes: n == null ? void 0 : n.checkbox, checked: t, onCheckedChange: r }),
2102
+ /* @__PURE__ */ o.jsx(
2103
+ Ct.CheckboxBase,
2104
+ {
2105
+ "aria-label": "Согласие на обработку персональных данных",
2106
+ classes: n == null ? void 0 : n.checkbox,
2107
+ checked: t,
2108
+ onCheckedChange: r
2109
+ }
2110
+ ),
2103
2111
  /* @__PURE__ */ o.jsx(it, { html: e.content, as: "div", className: n == null ? void 0 : n.content })
2104
2112
  ]
2105
2113
  }
@@ -2110,21 +2118,21 @@ const it = ({ html: e, as: t, ...r }) => {
2110
2118
  approvement: n,
2111
2119
  chips: i,
2112
2120
  submitProps: d,
2113
- classes: a,
2121
+ classes: l,
2114
2122
  buttonGroup: u
2115
2123
  }) => {
2116
- var z, v;
2117
- const { submitCallback: x } = d || {}, [m, p] = O(!1), f = $t(e), S = Ot.getZodDefaults(f), { control: y, handleSubmit: E } = Mt({
2124
+ var z, C;
2125
+ const { submitCallback: x } = d || {}, [m, p] = O(!1), f = $t(e), k = Ot.getZodDefaults(f), { control: w, handleSubmit: E } = Mt({
2118
2126
  schema: f,
2119
- defaultValues: S,
2127
+ defaultValues: k,
2120
2128
  mode: "onBlur"
2121
- }), k = Qn(r, e), I = ur({ control: y, fields: k || [], schema: f }), P = (C) => {
2122
- x && x({ ...C, agree: m });
2129
+ }), v = Qn(r, e), M = ur({ control: w, fields: v || [], schema: f }), P = (I) => {
2130
+ x && x({ ...I, agree: m });
2123
2131
  };
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(
2132
+ return /* @__PURE__ */ o.jsx(Te, { children: /* @__PURE__ */ o.jsx("section", { id: b.form, "data-test-id": b.form, className: a("w-full", l == null ? void 0 : l.root), children: /* @__PURE__ */ o.jsxs(
2125
2133
  F,
2126
2134
  {
2127
- className: l(
2135
+ className: a(
2128
2136
  "!max-w-[636px] border-warm-grey-200 px-4 desktop:gap-8 desktop:p-14",
2129
2137
  "relative mx-auto flex flex-col gap-6 rounded-sm py-8 desktop:border"
2130
2138
  ),
@@ -2132,53 +2140,53 @@ const it = ({ html: e, as: t, ...r }) => {
2132
2140
  i.enabled && /* @__PURE__ */ o.jsxs(
2133
2141
  "div",
2134
2142
  {
2135
- className: l(
2143
+ className: a(
2136
2144
  "desk-body-regular-l flex items-center gap-x-2 rounded-sm desktop:absolute",
2137
2145
  "bg-color-blue-grey-100 px-2 py-1 text-color-tetriary",
2138
2146
  "right-4 top-4 w-max",
2139
- (z = a == null ? void 0 : a.chips) == null ? void 0 : z.root
2147
+ (z = l == null ? void 0 : l.chips) == null ? void 0 : z.root
2140
2148
  ),
2141
2149
  children: [
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) }),
2150
+ i.image && /* @__PURE__ */ o.jsx(c, { name: i.image, className: a("size-6", (C = l == null ? void 0 : l.chips) == null ? void 0 : C.icon) }),
2143
2151
  i.content
2144
2152
  ]
2145
2153
  }
2146
2154
  ),
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 }),
2155
+ /* @__PURE__ */ o.jsx(R, { as: "h2", className: a("desktop:hidden", l == null ? void 0 : l.title), children: t }),
2156
+ /* @__PURE__ */ o.jsx(R, { as: "h3", className: a("mobile:hidden", l == null ? void 0 : l.title), children: t }),
2149
2157
  /* @__PURE__ */ o.jsxs(
2150
2158
  "form",
2151
2159
  {
2152
2160
  onSubmit: E(P),
2153
- className: l("flex w-full flex-col gap-y-6", "desktop:gap-y-8", a == null ? void 0 : a.form),
2161
+ className: a("flex w-full flex-col gap-y-6", "desktop:gap-y-8", l == null ? void 0 : l.form),
2154
2162
  children: [
2155
2163
  r.enabled && /* @__PURE__ */ o.jsx(
2156
2164
  Ge,
2157
2165
  {
2158
- progress: I,
2166
+ progress: M,
2159
2167
  topContent: /* @__PURE__ */ o.jsx(it, { html: r.title }),
2160
2168
  bottomContent: /* @__PURE__ */ o.jsx(it, { html: r.subtitle }),
2161
2169
  maxPercent: r.maxPercent,
2162
- classes: a == null ? void 0 : a.progressBar
2170
+ classes: l == null ? void 0 : l.progressBar
2163
2171
  }
2164
2172
  ),
2165
- /* @__PURE__ */ o.jsx(Qt, { control: y, fields: e }),
2173
+ /* @__PURE__ */ o.jsx(Qt, { control: w, fields: e }),
2166
2174
  /* @__PURE__ */ o.jsxs("div", { className: "mob-body-regular-m flex flex-col items-start justify-center gap-4", children: [
2167
- qn(n, m, p, a == null ? void 0 : a.approvement),
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
- const X = C.type === "submit" && n.type === "checkbox" ? !m : !1;
2175
+ qn(n, m, p, l == null ? void 0 : l.approvement),
2176
+ /* @__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((I, L) => {
2177
+ const X = I.type === "submit" && n.type === "checkbox" ? !m : !1;
2170
2178
  return /* @__PURE__ */ St(
2171
2179
  ht,
2172
2180
  {
2173
- ...C,
2181
+ ...I,
2174
2182
  key: L,
2175
2183
  disabled: X,
2176
- className: l(
2184
+ className: a(
2177
2185
  "w-full whitespace-nowrap",
2178
2186
  {
2179
2187
  "w-full": !!n
2180
2188
  },
2181
- a == null ? void 0 : a.submit
2189
+ l == null ? void 0 : l.submit
2182
2190
  )
2183
2191
  }
2184
2192
  );
@@ -2197,13 +2205,21 @@ const it = ({ html: e, as: t, ...r }) => {
2197
2205
  }, 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
2206
  "label",
2199
2207
  {
2200
- className: l(
2208
+ className: a(
2201
2209
  "mob-body-regular-s text-color-dark",
2202
2210
  "desktop:desk-body-regular-m desktop:gap-x-4",
2203
2211
  "flex items-center justify-items-start gap-x-3"
2204
2212
  ),
2205
2213
  children: [
2206
- /* @__PURE__ */ o.jsx(Ct.CheckboxBase, { classes: n == null ? void 0 : n.checkbox, checked: t, onCheckedChange: r }),
2214
+ /* @__PURE__ */ o.jsx(
2215
+ Ct.CheckboxBase,
2216
+ {
2217
+ "aria-label": "Согласие на обработку персональных данных",
2218
+ classes: n == null ? void 0 : n.checkbox,
2219
+ checked: t,
2220
+ onCheckedChange: r
2221
+ }
2222
+ ),
2207
2223
  /* @__PURE__ */ o.jsx(it, { html: e.content, as: "div", className: n == null ? void 0 : n.content })
2208
2224
  ]
2209
2225
  }
@@ -2214,28 +2230,28 @@ const it = ({ html: e, as: t, ...r }) => {
2214
2230
  submitProps: n,
2215
2231
  dialogId: i,
2216
2232
  classes: d,
2217
- buttonGroup: a,
2233
+ buttonGroup: l,
2218
2234
  ...u
2219
2235
  }) => {
2220
- const { submitCallback: x } = n ?? {}, [m, p] = O(!1), f = $t(e), S = Ot.getZodDefaults(f), { control: y, handleSubmit: E } = Mt({
2236
+ const { submitCallback: x } = n ?? {}, [m, p] = O(!1), f = $t(e), k = Ot.getZodDefaults(f), { control: w, handleSubmit: E } = Mt({
2221
2237
  schema: f,
2222
- defaultValues: S,
2238
+ defaultValues: k,
2223
2239
  mode: "onBlur"
2224
- }), k = (I) => {
2225
- x && x({ ...I, agree: m });
2240
+ }), v = (M) => {
2241
+ x && x({ ...M, agree: m });
2226
2242
  };
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
- /* @__PURE__ */ o.jsx(Qt, { control: y, fields: e }),
2243
+ return /* @__PURE__ */ o.jsx(Te, { children: /* @__PURE__ */ o.jsx(se, { id: i, title: t, ...u, children: /* @__PURE__ */ o.jsxs("form", { onSubmit: E(v), className: "flex flex-col gap-6", children: [
2244
+ /* @__PURE__ */ o.jsx(Qt, { control: w, fields: e }),
2229
2245
  Kn(r, m, p, d == null ? void 0 : d.approvement),
2230
- a == null ? void 0 : a.map((I, P) => {
2231
- const z = I.type === "submit" && r.type === "checkbox" ? !m : !1;
2246
+ l == null ? void 0 : l.map((M, P) => {
2247
+ const z = M.type === "submit" && r.type === "checkbox" ? !m : !1;
2232
2248
  return /* @__PURE__ */ St(
2233
2249
  ht,
2234
2250
  {
2235
- ...I,
2251
+ ...M,
2236
2252
  key: P,
2237
2253
  disabled: z,
2238
- className: l(
2254
+ className: a(
2239
2255
  "w-full whitespace-nowrap",
2240
2256
  {
2241
2257
  "w-full": !!r
@@ -2250,7 +2266,7 @@ const it = ({ html: e, as: t, ...r }) => {
2250
2266
  __proto__: null,
2251
2267
  DynamicFormDialog: xe,
2252
2268
  default: xe
2253
- }, Symbol.toStringTag, { value: "Module" })), at = () => ({
2269
+ }, Symbol.toStringTag, { value: "Module" })), lt = () => ({
2254
2270
  approve: {
2255
2271
  icon: {
2256
2272
  element: /* @__PURE__ */ o.jsx(c, { name: "status/iconMark" }),
@@ -2311,23 +2327,23 @@ const it = ({ html: e, as: t, ...r }) => {
2311
2327
  text: "Вернуться на главную"
2312
2328
  }
2313
2329
  }
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: [
2330
+ }), 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: [
2315
2331
  /* @__PURE__ */ o.jsx(
2316
2332
  "span",
2317
2333
  {
2318
- className: l(
2334
+ className: a(
2319
2335
  "flex size-16 items-center justify-center rounded-full bg-color-positive-light",
2320
- `${at()[e].icon.bg}`
2336
+ `${lt()[e].icon.bg}`
2321
2337
  ),
2322
- children: at()[e].icon.element
2338
+ children: lt()[e].icon.element
2323
2339
  }
2324
2340
  ),
2325
2341
  /* @__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: at()[e].title }),
2327
- /* @__PURE__ */ o.jsx("p", { className: "desk-body-regular-l text-color-dark", children: at()[e].description })
2342
+ /* @__PURE__ */ o.jsx(R, { as: "h2", children: lt()[e].title }),
2343
+ /* @__PURE__ */ o.jsx("p", { className: "desk-body-regular-l text-color-dark", children: lt()[e].description })
2328
2344
  ] }),
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 = [
2345
+ /* @__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 })
2346
+ ] }) }) }), 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 = [
2331
2347
  {
2332
2348
  label: "Главная",
2333
2349
  path: "https://sovcombank.ru/apply/credit/kredit-na-kartu/"
@@ -2341,14 +2357,14 @@ const it = ({ html: e, as: t, ...r }) => {
2341
2357
  disabled: !0
2342
2358
  }
2343
2359
  ], kt = (e, t, r, n) => e.map((i, d) => {
2344
- const a = d === n;
2360
+ const l = d === n;
2345
2361
  return /* @__PURE__ */ o.jsxs("div", { className: "flex items-center gap-x-1", children: [
2346
2362
  /* @__PURE__ */ o.jsx(
2347
2363
  Fe,
2348
2364
  {
2349
2365
  breadcrumb: i,
2350
- className: l(r, {
2351
- "pointer-events-none text-color-primary-disabled": a,
2366
+ className: a(r, {
2367
+ "pointer-events-none text-color-primary-disabled": l,
2352
2368
  "text-color-blue-grey-600": i.disabled
2353
2369
  })
2354
2370
  }
@@ -2356,16 +2372,16 @@ const it = ({ html: e, as: t, ...r }) => {
2356
2372
  d !== e.length - 1 && t
2357
2373
  ] }, i.label);
2358
2374
  }), Xn = ({ separator: e, ellipsis: t, classes: r, breadcrumbs: n = Yn }) => {
2359
- const [i, d] = O(!1), a = Ht(null);
2360
- lr(a, () => d(!1));
2375
+ const [i, d] = O(!1), l = Ht(null);
2376
+ ar(l, () => d(!1));
2361
2377
  const { first: u, middle: x, last: m } = ct(() => {
2362
- let f = [], S = [], y = [];
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: l("size-4", r == null ? void 0 : r.separator) });
2378
+ let f = [], k = [], w = [];
2379
+ return t && (f = n.slice(0, t), k = n.slice(t, n.length - t), w = n.slice(n.length - t)), { first: f, middle: k, last: w };
2380
+ }, [n, t]), p = e ?? /* @__PURE__ */ o.jsx(c, { name: "arrows/arrowRight", className: a("size-4", r == null ? void 0 : r.separator) });
2365
2381
  return /* @__PURE__ */ o.jsx(
2366
2382
  "div",
2367
2383
  {
2368
- className: l(
2384
+ className: a(
2369
2385
  "flex max-w-[840px] flex-wrap items-center",
2370
2386
  "gap-x-2 gap-y-1 py-4 text-color-primary-default",
2371
2387
  r == null ? void 0 : r.root
@@ -2384,8 +2400,8 @@ const it = ({ html: e, as: t, ...r }) => {
2384
2400
  /* @__PURE__ */ o.jsx(
2385
2401
  "ul",
2386
2402
  {
2387
- ref: a,
2388
- className: l(
2403
+ ref: l,
2404
+ className: a(
2389
2405
  "invisible absolute max-h-[264px] overflow-y-auto",
2390
2406
  "w-[280px] rounded-sm bg-color-white",
2391
2407
  "customScrollbar-y p-1 opacity-0 shadow-sm",
@@ -2397,7 +2413,7 @@ const it = ({ html: e, as: t, ...r }) => {
2397
2413
  Fe,
2398
2414
  {
2399
2415
  breadcrumb: f,
2400
- className: l(
2416
+ className: a(
2401
2417
  "desk-body-regular-l inline-block py-3",
2402
2418
  "w-full rounded-sm bg-color-white px-2",
2403
2419
  "text-color-dark hover:bg-color-primary-tr-hover",
@@ -2461,13 +2477,13 @@ const Jn = (e, t) => {
2461
2477
  transition: { duration: 0.2 },
2462
2478
  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
2479
  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 a;
2480
+ var l;
2465
2481
  const d = i.link ? "a" : "p";
2466
2482
  return /* @__PURE__ */ o.jsxs("div", { className: "flex flex-col gap-y-6", children: [
2467
2483
  i.title && /* @__PURE__ */ o.jsxs(
2468
2484
  d,
2469
2485
  {
2470
- href: ((a = i.link) == null ? void 0 : a.href) ?? void 0,
2486
+ href: ((l = i.link) == null ? void 0 : l.href) ?? void 0,
2471
2487
  className: "flex items-center gap-x-1 text-16 uppercase text-color-primary-default",
2472
2488
  children: [
2473
2489
  i.title,
@@ -2490,18 +2506,18 @@ const Jn = (e, t) => {
2490
2506
  );
2491
2507
  }, ro = nr(({ category: e, active: t, onActiveTabChange: r }, n) => {
2492
2508
  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(), a = t && !_.isArrayEmpty(e.children), u = e.link ? _.isStringEmpty(e.link.href) ? "span" : "a" : "span";
2509
+ const i = n && "current" in n ? n : null, d = (x = i == null ? void 0 : i.current) == null ? void 0 : x.getBoundingClientRect(), l = t && !j.isArrayEmpty(e.children), u = e.link ? j.isStringEmpty(e.link.href) ? "span" : "a" : "span";
2494
2510
  return /* @__PURE__ */ o.jsxs(
2495
2511
  Dt.div,
2496
2512
  {
2497
2513
  ref: n,
2498
- className: l(
2514
+ className: a(
2499
2515
  "relative flex cursor-default items-center justify-center py-4 text-color-dark",
2500
2516
  'after:content="" after:absolute after:bottom-0 after:left-1/2 after:h-[1px]',
2501
2517
  "after:w-0 after:-translate-x-1/2 after:bg-color-primary-default after:duration-100",
2502
2518
  {
2503
- "text-color-primary-default": a,
2504
- "after:w-full": a
2519
+ "text-color-primary-default": l,
2520
+ "after:w-full": l
2505
2521
  }
2506
2522
  ),
2507
2523
  onMouseEnter: () => r(e.title),
@@ -2509,7 +2525,7 @@ const Jn = (e, t) => {
2509
2525
  onFocus: () => r(e.title),
2510
2526
  children: [
2511
2527
  /* @__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
- a && /* @__PURE__ */ o.jsx(
2528
+ l && /* @__PURE__ */ o.jsx(
2513
2529
  eo,
2514
2530
  {
2515
2531
  categories: e.children,
@@ -2546,7 +2562,7 @@ const Jn = (e, t) => {
2546
2562
  ]
2547
2563
  }
2548
2564
  ) });
2549
- }, io = ft(oo), lo = ({
2565
+ }, io = ft(oo), ao = ({
2550
2566
  category: e,
2551
2567
  selectedCategory: t,
2552
2568
  onCurrentCategoryChange: r,
@@ -2560,7 +2576,7 @@ const Jn = (e, t) => {
2560
2576
  onClick: () => {
2561
2577
  r(e.children[0]), n(e);
2562
2578
  },
2563
- className: l("group/category relative cursor-default text-color-blue-grey-600 duration-100 hover:text-color-dark", {
2579
+ className: a("group/category relative cursor-default text-color-blue-grey-600 duration-100 hover:text-color-dark", {
2564
2580
  "text-color-dark": i
2565
2581
  }),
2566
2582
  children: [
@@ -2568,46 +2584,46 @@ const Jn = (e, t) => {
2568
2584
  e.children.length > 1 && /* @__PURE__ */ o.jsx(
2569
2585
  "div",
2570
2586
  {
2571
- className: l(
2587
+ className: a(
2572
2588
  "absolute right-0 top-full z-10 flex w-max flex-col",
2573
2589
  "invisible bg-color-white opacity-0 shadow-sm group-hover/category:visible group-hover/category:opacity-100",
2574
2590
  "rounded-sm p-1"
2575
2591
  ),
2576
- children: e.children.map((a) => /* @__PURE__ */ o.jsx(
2592
+ children: e.children.map((l) => /* @__PURE__ */ o.jsx(
2577
2593
  "span",
2578
2594
  {
2579
2595
  onClick: (u) => {
2580
- u.stopPropagation(), u.nativeEvent.stopPropagation(), n(e), r(a);
2596
+ u.stopPropagation(), u.nativeEvent.stopPropagation(), n(e), r(l);
2581
2597
  },
2582
- className: l(
2598
+ className: a(
2583
2599
  "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
2600
  {
2585
- "text-color-primary-default": t.title === a.title
2601
+ "text-color-primary-default": t.title === l.title
2586
2602
  }
2587
2603
  ),
2588
- children: a.title
2604
+ children: l.title
2589
2605
  },
2590
- a.title
2606
+ l.title
2591
2607
  ))
2592
2608
  }
2593
2609
  )
2594
2610
  ]
2595
2611
  }
2596
- ), ao = ({ categories: e, helpers: t, phone: r }) => {
2612
+ ), lo = ({ categories: e, helpers: t, phone: r }) => {
2597
2613
  const [n, i] = Gn({ root: e[0].children[0], current: e[0].children[0] });
2598
2614
  return /* @__PURE__ */ o.jsxs("div", { className: "mobile:hidden", children: [
2599
2615
  /* @__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
2616
  /* @__PURE__ */ o.jsx(c, { name: "brandLogos/logoMain", className: "mr-auto w-[130px]" }),
2601
2617
  e.map((d) => {
2602
- const a = n.root.title === d.title;
2618
+ const l = n.root.title === d.title;
2603
2619
  return /* @__PURE__ */ o.jsx(
2604
- lo,
2620
+ ao,
2605
2621
  {
2606
2622
  category: d,
2607
2623
  selectedCategory: n.current,
2608
2624
  onCurrentCategoryChange: (u) => i(sn(u)),
2609
2625
  onRootCategoryChange: (u) => i(to(u)),
2610
- active: a
2626
+ active: l
2611
2627
  },
2612
2628
  d.title
2613
2629
  );
@@ -2648,7 +2664,7 @@ const Jn = (e, t) => {
2648
2664
  trigger: "py-2 data-[open=false]:bg-color-white",
2649
2665
  label: "desk-body-regular-m"
2650
2666
  },
2651
- content: l(
2667
+ content: a(
2652
2668
  "relative",
2653
2669
  'after:content-"" after:absolute after:w-[calc(100%-32px)]',
2654
2670
  "after:bottom-0 after:left-1/2 after:-translate-x-1/2",
@@ -2671,8 +2687,8 @@ const Jn = (e, t) => {
2671
2687
  }
2672
2688
  ),
2673
2689
  t.children.map((d) => {
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);
2690
+ var l;
2691
+ 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);
2676
2692
  })
2677
2693
  ] }, t.title);
2678
2694
  }) })
@@ -2682,17 +2698,17 @@ const Jn = (e, t) => {
2682
2698
  value: t.title ?? "",
2683
2699
  label: t.title ?? ""
2684
2700
  })), xo = ({ categories: e, helpers: t, phone: r, ...n }) => {
2685
- const i = mo(e), [d, a] = O(i[0]), u = (m) => {
2686
- _.isUndefined(m) || _.isArray(m) || a(m);
2701
+ const i = mo(e), [d, l] = O(i[0]), u = (m) => {
2702
+ j.isUndefined(m) || j.isArray(m) || l(m);
2687
2703
  }, x = ct(() => {
2688
2704
  var m;
2689
- return _.isUndefined(d) || _.isArray(d) ? [] : ((m = e.find((p) => p.title === d.value)) == null ? void 0 : m.children) ?? [];
2705
+ return j.isUndefined(d) || j.isArray(d) ? [] : ((m = e.find((p) => p.title === d.value)) == null ? void 0 : m.children) ?? [];
2690
2706
  }, [d, e]);
2691
2707
  return /* @__PURE__ */ o.jsxs(
2692
2708
  Dt.div,
2693
2709
  {
2694
2710
  ...n,
2695
- className: l(
2711
+ className: a(
2696
2712
  "absolute z-10 w-full max-w-[calc(636px-32px)]",
2697
2713
  "absolute left-1/2 top-full bg-color-white p-4",
2698
2714
  "-translate-x-1/2 overflow-x-hidden",
@@ -2704,7 +2720,7 @@ const Jn = (e, t) => {
2704
2720
  /* @__PURE__ */ o.jsx(Ct.SelectBase, { label: "Категория", options: i, value: d, onChange: u }),
2705
2721
  /* @__PURE__ */ o.jsx("div", { className: "flex w-full flex-col items-center justify-center gap-y-1", children: x.map((m) => {
2706
2722
  var p;
2707
- return _.isArrayEmpty(m.children) ? /* @__PURE__ */ o.jsx("div", { className: "w-full px-4 py-2.5", children: /* @__PURE__ */ o.jsx("a", { href: (p = m.link) == null ? void 0 : p.href, className: "desk-body-regular-m inline-block w-full", children: m.title }) }, m.title) : /* @__PURE__ */ o.jsx(uo, { category: m }, m.title);
2723
+ return j.isArrayEmpty(m.children) ? /* @__PURE__ */ o.jsx("div", { className: "w-full px-4 py-2.5", children: /* @__PURE__ */ o.jsx("a", { href: (p = m.link) == null ? void 0 : p.href, className: "desk-body-regular-m inline-block w-full", children: m.title }) }, m.title) : /* @__PURE__ */ o.jsx(uo, { category: m }, m.title);
2708
2724
  }) }),
2709
2725
  /* @__PURE__ */ o.jsx("div", { className: "h-[1px] w-full bg-color-blue-grey-200" }),
2710
2726
  /* @__PURE__ */ o.jsxs("div", { className: "flex w-full flex-col items-center justify-center gap-y-1", children: [
@@ -2725,7 +2741,7 @@ const Jn = (e, t) => {
2725
2741
  );
2726
2742
  }, ho = ({ categories: e, helpers: t, phone: r }) => {
2727
2743
  var x, m, p;
2728
- const n = Ht(null), i = (x = n.current) == null ? void 0 : x.getBoundingClientRect(), [d, a] = O(!1), u = () => a(!d);
2744
+ const n = Ht(null), i = (x = n.current) == null ? void 0 : x.getBoundingClientRect(), [d, l] = O(!1), u = () => l(!d);
2729
2745
  return /* @__PURE__ */ o.jsxs(
2730
2746
  "div",
2731
2747
  {
@@ -2733,7 +2749,7 @@ const Jn = (e, t) => {
2733
2749
  className: "relative flex w-full items-center justify-between border-b border-b-blue-grey-500 py-4 desktop:hidden",
2734
2750
  children: [
2735
2751
  /* @__PURE__ */ o.jsx(c, { name: "brandLogos/logoMain", className: "w-[130px]" }),
2736
- /* @__PURE__ */ o.jsx("button", { type: "button", onClick: u, className: "h-max w-max", children: /* @__PURE__ */ o.jsx(c, { name: d ? "general/close" : "general/menu", className: "size-6 text-color-primary-default" }) }),
2752
+ /* @__PURE__ */ o.jsx("button", { "aria-label": "Open menu", type: "button", onClick: u, className: "h-max w-max", children: /* @__PURE__ */ o.jsx(c, { name: d ? "general/close" : "general/menu", className: "size-6 text-color-primary-default" }) }),
2737
2753
  d && Se(
2738
2754
  /* @__PURE__ */ o.jsx(
2739
2755
  xo,
@@ -2753,16 +2769,16 @@ const Jn = (e, t) => {
2753
2769
  }
2754
2770
  );
2755
2771
  }, he = ({ categories: e, helpers: t, phone: r, breadcrumbs: n, classes: i }) => {
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 }),
2772
+ const { isMobile: d } = at();
2773
+ return /* @__PURE__ */ o.jsx("div", { id: b.seoHeader, "data-test-id": b.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: [
2774
+ /* @__PURE__ */ o.jsx(ho, { categories: e.map((l) => l.children).flat(), helpers: t, phone: r }),
2775
+ /* @__PURE__ */ o.jsx(lo, { categories: e, helpers: t, phone: r }),
2760
2776
  /* @__PURE__ */ o.jsx(
2761
2777
  Xn,
2762
2778
  {
2763
2779
  ellipsis: d ? 1 : void 0,
2764
2780
  breadcrumbs: n,
2765
- matcher: (a) => ({ label: ir(a.label).split("-").join(" ") })
2781
+ matcher: (l) => ({ label: ir(l.label).split("-").join(" ") })
2766
2782
  }
2767
2783
  )
2768
2784
  ] }) });
@@ -2794,17 +2810,17 @@ const Jn = (e, t) => {
2794
2810
  return Ee(e, Number(t));
2795
2811
  }
2796
2812
  }, 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));
2813
+ const r = Object.entries(t).map(([x, m]) => [x, j.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
2814
  return Number.isNaN(Number(u)) ? "0" : u.toString();
2799
2815
  }, go = (e, t) => e.map((r) => ({
2800
2816
  ...r,
2801
2817
  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: l("flex flex-col gap-2", r == null ? void 0 : r.wrapper), children: [
2818
+ })), 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: [
2803
2819
  t && /* @__PURE__ */ o.jsx(R, { as: "h3", className: r == null ? void 0 : r.title, children: 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)) })
2820
+ e && /* @__PURE__ */ o.jsx("div", { className: a("desk-body-regular-l text-color-dark", r == null ? void 0 : r.subtitle), children: e })
2821
+ ] }) }), 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: [
2822
+ /* @__PURE__ */ o.jsx("p", { className: a("desk-body-regular-l text-color-dark", n == null ? void 0 : n.description), children: e }),
2823
+ /* @__PURE__ */ o.jsx("div", { className: a("desk-title-bold-l flex items-center gap-1 text-color-dark mobile:mob-title-bold-l", n == null ? void 0 : n.value), children: Ee(r, Number(t)) })
2808
2824
  ] }), 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
2825
  /* @__PURE__ */ o.jsxs("div", { className: "flex items-center gap-2", children: [
2810
2826
  /* @__PURE__ */ o.jsx("p", { className: "desk-body-regular-l text-color-dark", children: r }),
@@ -2820,7 +2836,7 @@ const Jn = (e, t) => {
2820
2836
  /* @__PURE__ */ o.jsx(
2821
2837
  "span",
2822
2838
  {
2823
- className: l("desk-body-medium-l text-color-dark", {
2839
+ className: a("desk-body-medium-l text-color-dark", {
2824
2840
  "[&&]:desk-title-bold-s": d,
2825
2841
  "text-color-primary-default": i === "blue"
2826
2842
  }),
@@ -2829,11 +2845,11 @@ const Jn = (e, t) => {
2829
2845
  )
2830
2846
  ] }), wo = ({ infoList: e, classes: t }) => {
2831
2847
  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 })
2848
+ return /* @__PURE__ */ o.jsx("div", { className: a("mb-6 mt-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)) });
2849
+ }, 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: [
2850
+ /* @__PURE__ */ o.jsxs("div", { className: a("flex items-center gap-1", n == null ? void 0 : n.block), children: [
2851
+ /* @__PURE__ */ o.jsx(c, { name: e, className: a("size-6 text-icon-blue-grey-800", n == null ? void 0 : n.icon) }),
2852
+ /* @__PURE__ */ o.jsx("p", { className: a("desk-body-regular-l text-color-tetriary", n == null ? void 0 : n.description), children: t })
2837
2853
  ] }),
2838
2854
  r && /* @__PURE__ */ o.jsx(
2839
2855
  Nt,
@@ -2846,8 +2862,8 @@ const Jn = (e, t) => {
2846
2862
  )
2847
2863
  ] }), No = ({ assistHint: e, buttonsConfig: t, bottomDescription: r, classes: n }) => /* @__PURE__ */ o.jsxs("div", { children: [
2848
2864
  e && /* @__PURE__ */ o.jsx(vo, { ...e, classes: n == null ? void 0 : n.assistHint }),
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 })
2865
+ /* @__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)) }),
2866
+ r && /* @__PURE__ */ o.jsx("p", { className: a("desk-body-regular-m mt-4 text-color-secondary", n == null ? void 0 : n.bottomDescription), children: r })
2851
2867
  ] }), Co = ({
2852
2868
  rootDescription: e,
2853
2869
  bottomDescription: t,
@@ -2855,11 +2871,11 @@ const Jn = (e, t) => {
2855
2871
  title: n,
2856
2872
  subtitle: i,
2857
2873
  buttonsConfig: d,
2858
- infoList: a,
2874
+ infoList: l,
2859
2875
  suffix: u,
2860
2876
  assistHint: x,
2861
2877
  classes: m
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: [
2878
+ }) => /* @__PURE__ */ o.jsxs("div", { className: a("w-full max-w-[456px] rounded-md bg-color-blue-grey-100 p-8 mobile:px-4 mobile:py-8", m == null ? void 0 : m.wrapper), children: [
2863
2879
  /* @__PURE__ */ o.jsx(
2864
2880
  yo,
2865
2881
  {
@@ -2870,7 +2886,7 @@ const Jn = (e, t) => {
2870
2886
  }
2871
2887
  ),
2872
2888
  /* @__PURE__ */ o.jsx(jo, { title: n, subtitle: i, classes: m == null ? void 0 : m.calculatedInfoHead }),
2873
- /* @__PURE__ */ o.jsx(wo, { infoList: a, classes: m == null ? void 0 : m.calculatorInfoBody }),
2889
+ /* @__PURE__ */ o.jsx(wo, { infoList: l, classes: m == null ? void 0 : m.calculatorInfoBody }),
2874
2890
  /* @__PURE__ */ o.jsx(
2875
2891
  No,
2876
2892
  {
@@ -2884,10 +2900,10 @@ const Jn = (e, t) => {
2884
2900
  slidersGroupConfig: e,
2885
2901
  additionalSliderGroupConfig: t
2886
2902
  }) => {
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);
2903
+ 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: k, name: w } = (t == null ? void 0 : t.args) ?? {}, E = i(w), v = Number(x ?? 0) - (f ?? p);
2888
2904
  return wt(() => {
2889
- E > k && d(y, k);
2890
- }, [k, E, d, f]), wt(() => {
2905
+ E > v && d(w, v);
2906
+ }, [v, E, d, f]), wt(() => {
2891
2907
  Number(x) === f && n(!1);
2892
2908
  }, [n, x, f]), {
2893
2909
  sliderVisible: r,
@@ -2896,12 +2912,12 @@ const Jn = (e, t) => {
2896
2912
  sumName: m,
2897
2913
  sumDefaultValue: p,
2898
2914
  sumValue: f,
2899
- additionalSliderMax: k,
2915
+ additionalSliderMax: v,
2900
2916
  onCheckedChange: () => {
2901
- n((P) => !P), E <= 0 && d(y, S), Number(x) === f && (d(m ?? "", f - So), d(y, S));
2917
+ n((P) => !P), E <= 0 && d(w, k), Number(x) === f && (d(m ?? "", f - So), d(w, k));
2902
2918
  },
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"
2919
+ sliderSumExist: !j.isObjectEmpty(l == null ? void 0 : l.args),
2920
+ sliderSumCorrectType: (l == null ? void 0 : l.args.componentType) === "algorithmic" || (l == null ? void 0 : l.args.componentType) === "step"
2905
2921
  };
2906
2922
  }, Io = (e) => {
2907
2923
  switch (e) {
@@ -2918,21 +2934,21 @@ const Jn = (e, t) => {
2918
2934
  modalProps: i,
2919
2935
  contentVariant: d
2920
2936
  }) => {
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 }),
2937
+ const [l, u] = mr(!1);
2938
+ 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: [
2939
+ r && /* @__PURE__ */ o.jsx("p", { className: a("desk-body-regular-l text-color-tetriary", n == null ? void 0 : n.description), children: r }),
2924
2940
  /* @__PURE__ */ o.jsx(
2925
2941
  "button",
2926
2942
  {
2927
2943
  onClick: () => u(!0),
2928
- className: l(
2944
+ className: a(
2929
2945
  "desk-body-regular-l w-max cursor-pointer text-color-primary-default underline underline-offset-4",
2930
2946
  n == null ? void 0 : n.button
2931
2947
  ),
2932
2948
  children: e
2933
2949
  }
2934
2950
  ),
2935
- /* @__PURE__ */ o.jsx(er, { title: t, isModalOpen: a, closeModal: () => u(!1), ...i, children: Io(d) })
2951
+ /* @__PURE__ */ o.jsx(er, { title: t, isModalOpen: l, closeModal: () => u(!1), ...i, children: Io(d) })
2936
2952
  ] });
2937
2953
  }, G = ({ fields: e }) => {
2938
2954
  const { control: t } = _t();
@@ -2942,13 +2958,13 @@ const Jn = (e, t) => {
2942
2958
  additionalSliderGroupConfig: t,
2943
2959
  classes: r
2944
2960
  }) => {
2945
- const { control: n } = _t(), { sliderVisible: i, additionalSliderMax: d, onCheckedChange: a } = Re({
2961
+ const { control: n } = _t(), { sliderVisible: i, additionalSliderMax: d, onCheckedChange: l } = Re({
2946
2962
  slidersGroupConfig: e,
2947
2963
  additionalSliderGroupConfig: t
2948
2964
  });
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 }),
2965
+ return j.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: [
2966
+ /* @__PURE__ */ o.jsxs("div", { className: a("inline-flex items-center gap-2", r == null ? void 0 : r.block), children: [
2967
+ /* @__PURE__ */ o.jsx(Ct.SwitchBase, { checked: i, onCheckedChange: l }),
2952
2968
  /* @__PURE__ */ o.jsx("p", { className: "desk-body-regular-l", children: "Хочу получить деньги дополнительно" })
2953
2969
  ] }),
2954
2970
  i && /* @__PURE__ */ o.jsx(
@@ -2964,21 +2980,21 @@ const Jn = (e, t) => {
2964
2980
  )
2965
2981
  ] });
2966
2982
  }, Oo = ({ modalConfig: e, fieldsGroup: t, classes: r }) => {
2967
- var d;
2983
+ var d, l, u, x, m, p, f, k;
2968
2984
  const { sliderSumExist: n, sliderSumCorrectType: i } = Re({
2969
2985
  slidersGroupConfig: t.slidersGroupConfig,
2970
2986
  additionalSliderGroupConfig: t.additionalSliderGroupConfig
2971
2987
  });
2972
- return /* @__PURE__ */ o.jsxs("div", { className: l("flex flex-1 flex-col gap-8", r == null ? void 0 : r.rootFieldsWrapper), children: [
2988
+ return /* @__PURE__ */ o.jsxs("div", { className: a("flex flex-1 flex-col gap-6 mobile:w-full desktop:gap-8", r == null ? void 0 : r.rootFieldsWrapper), children: [
2973
2989
  (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: l("flex flex-col gap-4", r == null ? void 0 : r.selectFieldsWrapper), children: /* @__PURE__ */ o.jsx(G, { ...t == null ? void 0 : t.selectGroupConfig }) }),
2975
- (t == null ? void 0 : t.slidersGroupConfig) && /* @__PURE__ */ o.jsx(G, { ...t == null ? void 0 : t.slidersGroupConfig }),
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: l("flex flex-col gap-4", r == null ? void 0 : r.checkboxFieldsWrapper), children: /* @__PURE__ */ o.jsx(G, { ...t == null ? void 0 : t.checkboxGroupConfig }) }),
2978
- (t == null ? void 0 : t.radioGroupConfig) && /* @__PURE__ */ o.jsx(G, { ...t == null ? void 0 : t.radioGroupConfig }),
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: l("flex flex-col gap-4", r == null ? void 0 : r.switchFieldsWrapper), children: /* @__PURE__ */ o.jsx(G, { ...t == null ? void 0 : t.switchGroupConfig }) }),
2981
- ((d = t.additionalSliderGroupConfig) == null ? void 0 : d.args.enabled) && t.slidersGroupConfig && t.additionalSliderGroupConfig && n && i && /* @__PURE__ */ o.jsx(
2990
+ (t == null ? void 0 : t.selectGroupConfig) && !j.isArrayEmpty((d = t == null ? void 0 : t.selectGroupConfig) == null ? void 0 : d.fields) && /* @__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 }) }),
2991
+ (t == null ? void 0 : t.slidersGroupConfig) && !j.isArrayEmpty((l = t == null ? void 0 : t.slidersGroupConfig) == null ? void 0 : l.fields) && /* @__PURE__ */ o.jsx(G, { ...t == null ? void 0 : t.slidersGroupConfig }),
2992
+ (t == null ? void 0 : t.radioGroupTabConfig) && !j.isArrayEmpty((u = t == null ? void 0 : t.radioGroupTabConfig) == null ? void 0 : u.fields) && /* @__PURE__ */ o.jsx(G, { ...t == null ? void 0 : t.radioGroupTabConfig }),
2993
+ (t == null ? void 0 : t.checkboxGroupConfig) && !j.isArrayEmpty((x = t == null ? void 0 : t.checkboxGroupConfig) == null ? void 0 : x.fields) && /* @__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 }) }),
2994
+ (t == null ? void 0 : t.radioGroupConfig) && !j.isArrayEmpty((m = t == null ? void 0 : t.radioGroupConfig) == null ? void 0 : m.fields) && /* @__PURE__ */ o.jsx(G, { ...t == null ? void 0 : t.radioGroupConfig }),
2995
+ (t == null ? void 0 : t.radioGroupCardConfig) && !j.isArrayEmpty((p = t == null ? void 0 : t.radioGroupCardConfig) == null ? void 0 : p.fields) && /* @__PURE__ */ o.jsx(G, { ...t == null ? void 0 : t.radioGroupCardConfig }),
2996
+ (t == null ? void 0 : t.switchGroupConfig) && !j.isArrayEmpty((f = t == null ? void 0 : t.switchGroupConfig) == null ? void 0 : f.fields) && /* @__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 }) }),
2997
+ ((k = t.additionalSliderGroupConfig) == null ? void 0 : k.args.enabled) && t.slidersGroupConfig && t.additionalSliderGroupConfig && n && i && /* @__PURE__ */ o.jsx(
2982
2998
  _o,
2983
2999
  {
2984
3000
  slidersGroupConfig: t.slidersGroupConfig,
@@ -2986,11 +3002,11 @@ const Jn = (e, t) => {
2986
3002
  }
2987
3003
  )
2988
3004
  ] });
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(
3005
+ }, 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(
2990
3006
  "button",
2991
3007
  {
2992
3008
  onClick: () => r(i),
2993
- className: l(
3009
+ className: a(
2994
3010
  "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
3011
  { "bg-icon-primary-default text-color-white": t === i },
2996
3012
  n == null ? void 0 : n.tab
@@ -3007,24 +3023,24 @@ const Jn = (e, t) => {
3007
3023
  schema: n,
3008
3024
  mode: "onBlur",
3009
3025
  defaultValues: Ot.getZodDefaults(n)
3010
- }), d = i.watch(), { rootValue: a } = e;
3026
+ }), d = i.watch(), { rootValue: l } = e;
3011
3027
  wt(() => {
3012
3028
  dr.setItem("calculatorData", JSON.stringify(d));
3013
3029
  }, [d]);
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: [
3030
+ const u = Be(l) ? Pe(l.formula, d) : l, x = { ...e, rootValue: u };
3031
+ return /* @__PURE__ */ o.jsx(lr, { ...i, children: /* @__PURE__ */ o.jsxs("div", { className: a("flex items-start gap-16 mobile:flex-col mobile:items-center mobile:gap-8", r == null ? void 0 : r.wrapper), children: [
3016
3032
  /* @__PURE__ */ o.jsx(Oo, { ...t, classes: r == null ? void 0 : r.calculatorFields }),
3017
3033
  /* @__PURE__ */ o.jsx(Co, { ...x, classes: r == null ? void 0 : r.calculatorInfo })
3018
3034
  ] }) });
3019
3035
  }, pe = ({ calculators: e, headline: t, classes: r }) => {
3020
3036
  var m;
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 }),
3037
+ 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];
3038
+ return /* @__PURE__ */ o.jsx("section", { id: b.calculator, "data-test-id": b.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: [
3039
+ /* @__PURE__ */ o.jsx(R, { className: a("mb-8 desktop:mb-12", r == null ? void 0 : r.headline), as: "h2", children: t }),
3024
3040
  n && /* @__PURE__ */ o.jsx(
3025
3041
  To,
3026
3042
  {
3027
- calculatorTabs: a,
3043
+ calculatorTabs: l,
3028
3044
  activeCalculator: i,
3029
3045
  setActiveCalculator: d,
3030
3046
  classes: r == null ? void 0 : r.calculatorTabs
@@ -3045,21 +3061,21 @@ const Jn = (e, t) => {
3045
3061
  __proto__: null,
3046
3062
  Calculator: pe,
3047
3063
  default: pe
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 }),
3064
+ }, 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 }) => {
3065
+ const l = t && (t == null ? void 0 : t.length) > 0, u = i && (i == null ? void 0 : i.length) > 0;
3066
+ return /* @__PURE__ */ o.jsxs("div", { className: a("flex flex-col", d == null ? void 0 : d.wrapper), children: [
3067
+ /* @__PURE__ */ o.jsxs("div", { className: a("flex flex-col gap-4 mobile:mb-2", d == null ? void 0 : d.textBlock), children: [
3068
+ /* @__PURE__ */ o.jsx(R, { as: "h2", className: a(d == null ? void 0 : d.heading), children: e }),
3053
3069
  r && /* @__PURE__ */ o.jsx(
3054
3070
  "p",
3055
3071
  {
3056
3072
  dangerouslySetInnerHTML: { __html: r },
3057
- className: l("desk-body-regular-l text-color-dark", d == null ? void 0 : d.description)
3073
+ className: a("desk-body-regular-l text-color-dark", d == null ? void 0 : d.description)
3058
3074
  }
3059
3075
  )
3060
3076
  ] }),
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)) }),
3077
+ /* @__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 == null ? void 0 : n.mobile, alt: n == null ? void 0 : n.alt, className: a("h-full w-full object-contain", d == null ? void 0 : d.imageMobile) }) }),
3078
+ 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)) }),
3063
3079
  u && /* @__PURE__ */ o.jsx(Eo, { linksList: i, classes: d == null ? void 0 : d.linksList })
3064
3080
  ] });
3065
3081
  }, fe = (e) => {
@@ -3070,16 +3086,16 @@ const Jn = (e, t) => {
3070
3086
  id: b.infoBlock,
3071
3087
  "data-test-id": b.infoBlock,
3072
3088
  style: { backgroundColor: r },
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: [
3089
+ className: a("py-14", i == null ? void 0 : i.root),
3090
+ 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: [
3075
3091
  /* @__PURE__ */ o.jsx(Po, { images: n, classes: i == null ? void 0 : i.rootContent, ...d }),
3076
3092
  /* @__PURE__ */ o.jsx(
3077
3093
  "div",
3078
3094
  {
3079
- className: l("h-[200px] w-full max-w-[432px] mobile:hidden", i == null ? void 0 : i.imageDesktopWrapper, {
3095
+ className: a("h-[200px] w-full max-w-[432px] mobile:hidden", i == null ? void 0 : i.imageDesktopWrapper, {
3080
3096
  "h-[238px]": t === "md"
3081
3097
  }),
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) })
3098
+ children: /* @__PURE__ */ o.jsx("img", { src: n == null ? void 0 : n.desktop, alt: n == null ? void 0 : n.alt, className: a("h-full w-full object-contain", i == null ? void 0 : i.imageDesktop) })
3083
3099
  }
3084
3100
  )
3085
3101
  ] }) })
@@ -3117,16 +3133,16 @@ const Jn = (e, t) => {
3117
3133
  }, []), /* @__PURE__ */ o.jsx(
3118
3134
  "div",
3119
3135
  {
3120
- className: l(
3136
+ className: a(
3121
3137
  "invisible flex size-16 items-center justify-center rounded-full bg-color-secondary-default opacity-0 transition-all hover:bg-color-secondary-hover",
3122
3138
  { "opacity-1 visible": t && !e }
3123
3139
  ),
3124
3140
  children: /* @__PURE__ */ o.jsx(c, { name: "general/heart", className: "size-7 fill-transparent stroke-white stroke-[3px]" })
3125
3141
  }
3126
3142
  );
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 })
3143
+ }), 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: [
3144
+ /* @__PURE__ */ o.jsx(c, { name: "status/succesCircle", className: a(t == null ? void 0 : t.icon) }),
3145
+ /* @__PURE__ */ o.jsx("p", { className: a("desk-body-medium-l", t == null ? void 0 : t.title), children: e })
3130
3146
  ] }), Qo = "Расскажите о впечатлениях", $o = /* @__PURE__ */ o.jsxs(o.Fragment, { children: [
3131
3147
  "Вам нравится сайт банка? ",
3132
3148
  /* @__PURE__ */ o.jsx("br", {}),
@@ -3139,7 +3155,7 @@ const Jn = (e, t) => {
3139
3155
  subtitle: i = $o,
3140
3156
  classes: d
3141
3157
  }) => {
3142
- const { control: a, handleSubmit: u } = Mt({
3158
+ const { control: l, handleSubmit: u } = Mt({
3143
3159
  mode: "onBlur",
3144
3160
  schema: ce,
3145
3161
  defaultValues: Ot.getZodDefaults(ce)
@@ -3151,40 +3167,40 @@ const Jn = (e, t) => {
3151
3167
  ...m
3152
3168
  }), r("finally"));
3153
3169
  };
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 })
3170
+ return /* @__PURE__ */ o.jsxs("form", { onSubmit: u(x), className: a("flex flex-col gap-4", d == null ? void 0 : d.form), children: [
3171
+ /* @__PURE__ */ o.jsxs("div", { className: a("flex flex-col gap-2 text-center", d == null ? void 0 : d.textBlock), children: [
3172
+ /* @__PURE__ */ o.jsx("p", { className: a("desk-body-medium-l", d == null ? void 0 : d.title), children: n }),
3173
+ /* @__PURE__ */ o.jsx("p", { className: a("desk-body-regular-l", d == null ? void 0 : d.subtitle), children: i })
3158
3174
  ] }),
3159
3175
  /* @__PURE__ */ o.jsx(
3160
3176
  Rt.TextareaControl,
3161
3177
  {
3162
- control: a,
3178
+ control: l,
3163
3179
  name: "review",
3164
3180
  label: "Поделитесь вашим мнением",
3165
3181
  classes: d == null ? void 0 : d.textareaClasses
3166
3182
  }
3167
3183
  ),
3168
- /* @__PURE__ */ o.jsx(ht, { type: "submit", size: "sm", intent: "negative", className: l("w-full", d == null ? void 0 : d.button), children: "Отправить" })
3184
+ /* @__PURE__ */ o.jsx(ht, { type: "submit", size: "sm", intent: "negative", className: a("w-full", d == null ? void 0 : d.button), children: "Отправить" })
3169
3185
  ] });
3170
- }, Wo = Array(5).fill(0), Ao = "Ваше мнение важно для нас!", qo = "Пожалуйста, оцените работу сайта, чтобы мы сделали его еще удобнее", Uo = ({
3186
+ }, Ao = Array(5).fill(0), Wo = "Ваше мнение важно для нас!", qo = "Пожалуйста, оцените работу сайта, чтобы мы сделали его еще удобнее", Uo = ({
3171
3187
  handleMouseLeave: e,
3172
3188
  hoveredRatings: t,
3173
3189
  selectedRating: r,
3174
3190
  handleSelectRating: n,
3175
3191
  handleMouseEnter: i,
3176
- title: d = Ao,
3177
- subtitle: a = qo,
3192
+ title: d = Wo,
3193
+ subtitle: l = qo,
3178
3194
  classes: u
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 })
3195
+ }) => /* @__PURE__ */ o.jsxs("div", { className: a("flex flex-col items-center gap-4", u == null ? void 0 : u.wrapper), children: [
3196
+ /* @__PURE__ */ o.jsxs("div", { className: a("flex flex-col gap-2 text-center", u == null ? void 0 : u.textBlock), children: [
3197
+ /* @__PURE__ */ o.jsx("p", { className: a("desk-body-medium-l", u == null ? void 0 : u.title), children: d }),
3198
+ /* @__PURE__ */ o.jsx("p", { className: a("desk-body-regular-l", u == null ? void 0 : u.subtitle), children: l })
3183
3199
  ] }),
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(
3200
+ /* @__PURE__ */ o.jsx("div", { className: a("flex items-center gap-2", u == null ? void 0 : u.ratingsWrapper), children: Ao.map((x, m) => /* @__PURE__ */ o.jsx(
3185
3201
  "button",
3186
3202
  {
3187
- className: l("size-8", u == null ? void 0 : u.ratingBtn),
3203
+ className: a("size-8", u == null ? void 0 : u.ratingBtn),
3188
3204
  onMouseEnter: () => i(m + 1),
3189
3205
  onMouseLeave: () => e(),
3190
3206
  onClick: () => n(m + 1),
@@ -3192,7 +3208,7 @@ const Jn = (e, t) => {
3192
3208
  c,
3193
3209
  {
3194
3210
  name: "general/heart",
3195
- className: l("fill-[#b0c0d2] transition-colors duration-12", u == null ? void 0 : u.ratingIcon, {
3211
+ className: a("fill-[#b0c0d2] transition-colors duration-12", u == null ? void 0 : u.ratingIcon, {
3196
3212
  "fill-secondary-default": m < (t || r)
3197
3213
  })
3198
3214
  }
@@ -3201,7 +3217,7 @@ const Jn = (e, t) => {
3201
3217
  m
3202
3218
  )) })
3203
3219
  ] }), Ko = ({ formStep: e, setFormStep: t, ratingProps: r, ...n }) => {
3204
- var i, d, a;
3220
+ var i, d, l;
3205
3221
  switch (e) {
3206
3222
  case "rating":
3207
3223
  return /* @__PURE__ */ o.jsx(Uo, { ...r, classes: (i = n.classes) == null ? void 0 : i.selectRating, ...n.selectRatingStepProps });
@@ -3217,11 +3233,11 @@ const Jn = (e, t) => {
3217
3233
  }
3218
3234
  );
3219
3235
  case "finally":
3220
- return /* @__PURE__ */ o.jsx(Lo, { classes: (a = n.classes) == null ? void 0 : a.finally, ...n.finallyStepProps });
3236
+ return /* @__PURE__ */ o.jsx(Lo, { classes: (l = n.classes) == null ? void 0 : l.finally, ...n.finallyStepProps });
3221
3237
  }
3222
3238
  }, be = (e) => {
3223
3239
  const [t, r] = O("rating"), n = Do(r), { classes: i } = e;
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(
3240
+ return /* @__PURE__ */ o.jsx("div", { className: a("fixed right-5 top-[80%] z-[1000]", i == null ? void 0 : i.root), children: /* @__PURE__ */ o.jsx(
3225
3241
  Nt,
3226
3242
  {
3227
3243
  side: "top",
@@ -3234,7 +3250,7 @@ const Jn = (e, t) => {
3234
3250
  },
3235
3251
  triggerElement: /* @__PURE__ */ o.jsx(Ho, {}),
3236
3252
  ...e == null ? void 0 : e.popoverProps,
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 }) })
3253
+ children: /* @__PURE__ */ o.jsx("div", { className: a("w-full", i == null ? void 0 : i.wrapper), children: Ko({ formStep: t, setFormStep: r, ratingProps: n, ...e }) })
3238
3254
  }
3239
3255
  ) });
3240
3256
  }, Zo = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
@@ -3253,14 +3269,14 @@ export {
3253
3269
  Fo as CalculatorView,
3254
3270
  me as DynamicForm,
3255
3271
  xe as DynamicFormDialog,
3256
- ai as FallbacksView,
3272
+ li as FallbacksView,
3257
3273
  Qt as FieldMapper,
3258
3274
  re as Footer,
3259
- li as HTMLParser,
3275
+ ai as HTMLParser,
3260
3276
  it as HTMLRenderer,
3261
3277
  te as Header,
3262
3278
  fe as InfoBlock,
3263
- ae as InterLinking,
3279
+ le as InterLinking,
3264
3280
  Er as KEYS_OF_WIDGET_LIST,
3265
3281
  oe as LongBanner,
3266
3282
  he as SeoHeader,
@@ -3268,7 +3284,7 @@ export {
3268
3284
  ue as UsefulInfo,
3269
3285
  be as UserFeedback,
3270
3286
  Br as WIDGET_LIST_MAP,
3271
- An as queryClient,
3287
+ Wn as queryClient,
3272
3288
  b as widgetIds
3273
3289
  };
3274
3290
  //# sourceMappingURL=widget.js.map