@scbt-ecom/ui 0.89.0 → 0.89.2

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
@@ -2,8 +2,8 @@ var Rt = Object.defineProperty;
2
2
  var We = (t) => {
3
3
  throw TypeError(t);
4
4
  };
5
- var st = (t, e, r) => e in t ? Rt(t, e, { enumerable: !0, configurable: !0, writable: !0, value: r }) : t[e] = r;
6
- var Fe = (t, e, r) => st(t, typeof e != "symbol" ? e + "" : e, r), Be = (t, e, r) => e.has(t) || We("Cannot " + r);
5
+ var zt = (t, e, r) => e in t ? Rt(t, e, { enumerable: !0, configurable: !0, writable: !0, value: r }) : t[e] = r;
6
+ var Fe = (t, e, r) => zt(t, typeof e != "symbol" ? e + "" : e, r), Be = (t, e, r) => e.has(t) || We("Cannot " + r);
7
7
  var h = (t, e, r) => (Be(t, e, "read from private field"), r ? r.call(t) : e.get(t)), N = (t, e, r) => e.has(t) ? We("Cannot add the same private member more than once") : e instanceof WeakSet ? e.add(t) : e.set(t, r), j = (t, e, r, n) => (Be(t, e, "write to private field"), n ? n.call(t, r) : e.set(t, r), r), A = (t, e, r) => (Be(t, e, "access private method"), r);
8
8
  var ye = (t, e, r, n) => ({
9
9
  set _(i) {
@@ -14,25 +14,25 @@ var ye = (t, e, r, n) => ({
14
14
  }
15
15
  });
16
16
  import { j as o } from "./mergeRefs-Danc3mp8.js";
17
- import { Y as wt, Z as vt, _ as Ht, $ as T, a0 as Ae, a1 as zt, a2 as Lt, a3 as qe, a4 as $, a5 as Qt, a6 as Vt, a7 as $t, a8 as Wt, a9 as Ue, aa as Ke, ab as At, ac as Ze, ad as Ye, ae as qt, B as pe, c as R, R as F, n as Nt, F as Ut, E as D, i as f, Q as ce, r as Kt, t as Zt, p as Ce, L as Yt, o as De, A as de, U as Re, af as Xt, q as Jt, W as Se, z as Gt, ag as se, ah as er, M as tr } from "./index-BFZfRLgg.js";
17
+ import { Y as vt, Z as Nt, _ as Ht, $ as T, a0 as Ae, a1 as Lt, a2 as Qt, a3 as Ue, a4 as $, a5 as Vt, a6 as $t, a7 as Wt, a8 as At, a9 as qe, aa as Ke, ab as Ut, ac as Ze, ad as Ye, ae as qt, B as pe, c as D, R as F, n as Ct, F as Kt, E as s, i as f, Q as ce, r as Zt, t as Yt, p as Ce, L as Xt, o as se, A as de, U as De, af as Jt, q as Gt, W as Se, z as er, ag as Re, ah as tr, M as rr } from "./index-DM5UjNZl.js";
18
18
  import { c as d, T as _ } from "./typeGuards-BHbj394R.js";
19
19
  import * as me from "react";
20
- import { lazy as E, useCallback as Ct, useState as O, memo as fe, useMemo as ge, createElement as Ie, useRef as He, useReducer as rr, forwardRef as nr, useEffect as ve } from "react";
20
+ import { lazy as B, useCallback as St, useState as O, memo as fe, useMemo as ge, createElement as Ie, useRef as ze, useReducer as nr, forwardRef as or, useEffect as ve } from "react";
21
21
  import { i as Xe } from "./isClient-C9aZtt2Q.js";
22
- import { s as or, c as Me, r as ie, a as ir, l as ar } from "./renderImage-ViVSYcgG.js";
23
- import { u as le, b as _e, a as dr, g as Oe, F as lr } from "./useDebounce-5MeprqTX.js";
24
- import { z as ze, Z as Te } from "./index-Bu5RfW_Z.js";
22
+ import { s as ir, c as Me, r as ie, a as ar, l as dr } from "./renderImage-ViVSYcgG.js";
23
+ import { u as le, b as _e, a as lr, g as Oe, F as ur } from "./useDebounce-5MeprqTX.js";
24
+ import { z as He, Z as Te } from "./index-Bu5RfW_Z.js";
25
25
  import { au as Le } from "./utils-BAhmwXLC.js";
26
- import { b as ur, u as mr, a as xr } from "./useFieldsProgress-C918amw-.js";
27
- import { createPortal as St } from "react-dom";
28
- var L, bt, hr = (bt = class extends wt {
26
+ import { b as mr, u as xr, a as hr } from "./useFieldsProgress-C918amw-.js";
27
+ import { createPortal as It } from "react-dom";
28
+ var L, jt, pr = (jt = class extends vt {
29
29
  constructor(e = {}) {
30
30
  super();
31
31
  N(this, L);
32
32
  this.config = e, j(this, L, /* @__PURE__ */ new Map());
33
33
  }
34
34
  build(e, r, n) {
35
- const i = r.queryKey, a = r.queryHash ?? vt(i, r);
35
+ const i = r.queryKey, a = r.queryHash ?? Nt(i, r);
36
36
  let l = this.get(a);
37
37
  return l || (l = new Ht({
38
38
  client: e,
@@ -97,14 +97,14 @@ var L, bt, hr = (bt = class extends wt {
97
97
  });
98
98
  });
99
99
  }
100
- }, L = new WeakMap(), bt), Q, M, G, V, q, jt, pr = (jt = class extends zt {
100
+ }, L = new WeakMap(), jt), Q, M, G, V, U, yt, cr = (yt = class extends Lt {
101
101
  constructor(e) {
102
102
  super();
103
103
  N(this, V);
104
104
  N(this, Q);
105
105
  N(this, M);
106
106
  N(this, G);
107
- this.mutationId = e.mutationId, j(this, M, e.mutationCache), j(this, Q, []), this.state = e.state || cr(), this.setOptions(e.options), this.scheduleGc();
107
+ this.mutationId = e.mutationId, j(this, M, e.mutationCache), j(this, Q, []), this.state = e.state || fr(), this.setOptions(e.options), this.scheduleGc();
108
108
  }
109
109
  setOptions(e) {
110
110
  this.options = e, this.updateGcTime(this.options.gcTime);
@@ -135,17 +135,17 @@ var L, bt, hr = (bt = class extends wt {
135
135
  this.execute(this.state.variables);
136
136
  }
137
137
  async execute(e) {
138
- var a, l, u, x, m, p, c, S, y, B, k, I, P, H, v, C, z, Y, be, je;
138
+ var a, l, u, x, m, p, c, S, y, E, k, I, P, z, v, C, H, Y, be, je;
139
139
  const r = () => {
140
- A(this, V, q).call(this, { type: "continue" });
140
+ A(this, V, U).call(this, { type: "continue" });
141
141
  };
142
- j(this, G, Lt({
142
+ j(this, G, Qt({
143
143
  fn: () => this.options.mutationFn ? this.options.mutationFn(e) : Promise.reject(new Error("No mutationFn found")),
144
144
  onFail: (w, X) => {
145
- A(this, V, q).call(this, { type: "failed", failureCount: w, error: X });
145
+ A(this, V, U).call(this, { type: "failed", failureCount: w, error: X });
146
146
  },
147
147
  onPause: () => {
148
- A(this, V, q).call(this, { type: "pause" });
148
+ A(this, V, U).call(this, { type: "pause" });
149
149
  },
150
150
  onContinue: r,
151
151
  retry: this.options.retry ?? 0,
@@ -158,13 +158,13 @@ var L, bt, hr = (bt = class extends wt {
158
158
  if (n)
159
159
  r();
160
160
  else {
161
- A(this, V, q).call(this, { type: "pending", variables: e, isPaused: i }), await ((l = (a = h(this, M).config).onMutate) == null ? void 0 : l.call(
161
+ A(this, V, U).call(this, { type: "pending", variables: e, isPaused: i }), await ((l = (a = h(this, M).config).onMutate) == null ? void 0 : l.call(
162
162
  a,
163
163
  e,
164
164
  this
165
165
  ));
166
166
  const X = await ((x = (u = this.options).onMutate) == null ? void 0 : x.call(u, e));
167
- X !== this.state.context && A(this, V, q).call(this, {
167
+ X !== this.state.context && A(this, V, U).call(this, {
168
168
  type: "pending",
169
169
  context: X,
170
170
  variables: e,
@@ -178,17 +178,17 @@ var L, bt, hr = (bt = class extends wt {
178
178
  e,
179
179
  this.state.context,
180
180
  this
181
- )), await ((S = (c = this.options).onSuccess) == null ? void 0 : S.call(c, w, e, this.state.context)), await ((B = (y = h(this, M).config).onSettled) == null ? void 0 : B.call(
181
+ )), await ((S = (c = this.options).onSuccess) == null ? void 0 : S.call(c, w, e, this.state.context)), await ((E = (y = h(this, M).config).onSettled) == null ? void 0 : E.call(
182
182
  y,
183
183
  w,
184
184
  null,
185
185
  this.state.variables,
186
186
  this.state.context,
187
187
  this
188
- )), await ((I = (k = this.options).onSettled) == null ? void 0 : I.call(k, w, null, e, this.state.context)), A(this, V, q).call(this, { type: "success", data: w }), w;
188
+ )), await ((I = (k = this.options).onSettled) == null ? void 0 : I.call(k, w, null, e, this.state.context)), A(this, V, U).call(this, { type: "success", data: w }), w;
189
189
  } catch (w) {
190
190
  try {
191
- throw await ((H = (P = h(this, M).config).onError) == null ? void 0 : H.call(
191
+ throw await ((z = (P = h(this, M).config).onError) == null ? void 0 : z.call(
192
192
  P,
193
193
  w,
194
194
  e,
@@ -199,8 +199,8 @@ var L, bt, hr = (bt = class extends wt {
199
199
  w,
200
200
  e,
201
201
  this.state.context
202
- )), await ((Y = (z = h(this, M).config).onSettled) == null ? void 0 : Y.call(
203
- z,
202
+ )), await ((Y = (H = h(this, M).config).onSettled) == null ? void 0 : Y.call(
203
+ H,
204
204
  void 0,
205
205
  w,
206
206
  this.state.variables,
@@ -214,13 +214,13 @@ var L, bt, hr = (bt = class extends wt {
214
214
  this.state.context
215
215
  )), w;
216
216
  } finally {
217
- A(this, V, q).call(this, { type: "error", error: w });
217
+ A(this, V, U).call(this, { type: "error", error: w });
218
218
  }
219
219
  } finally {
220
220
  h(this, M).runNext(this);
221
221
  }
222
222
  }
223
- }, Q = new WeakMap(), M = new WeakMap(), G = new WeakMap(), V = new WeakSet(), q = function(e) {
223
+ }, Q = new WeakMap(), M = new WeakMap(), G = new WeakMap(), V = new WeakSet(), U = function(e) {
224
224
  const r = (n) => {
225
225
  switch (e.type) {
226
226
  case "failed":
@@ -283,8 +283,8 @@ var L, bt, hr = (bt = class extends wt {
283
283
  action: e
284
284
  });
285
285
  });
286
- }, jt);
287
- function cr() {
286
+ }, yt);
287
+ function fr() {
288
288
  return {
289
289
  context: void 0,
290
290
  data: void 0,
@@ -297,16 +297,16 @@ function cr() {
297
297
  submittedAt: 0
298
298
  };
299
299
  }
300
- var W, s, he, yt, fr = (yt = class extends wt {
300
+ var W, R, he, kt, gr = (kt = class extends vt {
301
301
  constructor(e = {}) {
302
302
  super();
303
303
  N(this, W);
304
- N(this, s);
304
+ N(this, R);
305
305
  N(this, he);
306
- this.config = e, j(this, W, /* @__PURE__ */ new Set()), j(this, s, /* @__PURE__ */ new Map()), j(this, he, 0);
306
+ this.config = e, j(this, W, /* @__PURE__ */ new Set()), j(this, R, /* @__PURE__ */ new Map()), j(this, he, 0);
307
307
  }
308
308
  build(e, r, n) {
309
- const i = new pr({
309
+ const i = new cr({
310
310
  mutationCache: this,
311
311
  mutationId: ++ye(this, he)._,
312
312
  options: e.defaultMutationOptions(r),
@@ -318,8 +318,8 @@ var W, s, he, yt, fr = (yt = class extends wt {
318
318
  h(this, W).add(e);
319
319
  const r = ke(e);
320
320
  if (typeof r == "string") {
321
- const n = h(this, s).get(r);
322
- n ? n.push(e) : h(this, s).set(r, [e]);
321
+ const n = h(this, R).get(r);
322
+ n ? n.push(e) : h(this, R).set(r, [e]);
323
323
  }
324
324
  this.notify({ type: "added", mutation: e });
325
325
  }
@@ -327,12 +327,12 @@ var W, s, he, yt, fr = (yt = class extends wt {
327
327
  if (h(this, W).delete(e)) {
328
328
  const r = ke(e);
329
329
  if (typeof r == "string") {
330
- const n = h(this, s).get(r);
330
+ const n = h(this, R).get(r);
331
331
  if (n)
332
332
  if (n.length > 1) {
333
333
  const i = n.indexOf(e);
334
334
  i !== -1 && n.splice(i, 1);
335
- } else n[0] === e && h(this, s).delete(r);
335
+ } else n[0] === e && h(this, R).delete(r);
336
336
  }
337
337
  }
338
338
  this.notify({ type: "removed", mutation: e });
@@ -340,7 +340,7 @@ var W, s, he, yt, fr = (yt = class extends wt {
340
340
  canRun(e) {
341
341
  const r = ke(e);
342
342
  if (typeof r == "string") {
343
- const n = h(this, s).get(r), i = n == null ? void 0 : n.find(
343
+ const n = h(this, R).get(r), i = n == null ? void 0 : n.find(
344
344
  (a) => a.state.status === "pending"
345
345
  );
346
346
  return !i || i === e;
@@ -351,7 +351,7 @@ var W, s, he, yt, fr = (yt = class extends wt {
351
351
  var n;
352
352
  const r = ke(e);
353
353
  if (typeof r == "string") {
354
- const i = (n = h(this, s).get(r)) == null ? void 0 : n.find((a) => a !== e && a.state.isPaused);
354
+ const i = (n = h(this, R).get(r)) == null ? void 0 : n.find((a) => a !== e && a.state.isPaused);
355
355
  return (i == null ? void 0 : i.continue()) ?? Promise.resolve();
356
356
  } else
357
357
  return Promise.resolve();
@@ -360,7 +360,7 @@ var W, s, he, yt, fr = (yt = class extends wt {
360
360
  T.batch(() => {
361
361
  h(this, W).forEach((e) => {
362
362
  this.notify({ type: "removed", mutation: e });
363
- }), h(this, W).clear(), h(this, s).clear();
363
+ }), h(this, W).clear(), h(this, R).clear();
364
364
  });
365
365
  }
366
366
  getAll() {
@@ -369,11 +369,11 @@ var W, s, he, yt, fr = (yt = class extends wt {
369
369
  find(e) {
370
370
  const r = { exact: !0, ...e };
371
371
  return this.getAll().find(
372
- (n) => qe(r, n)
372
+ (n) => Ue(r, n)
373
373
  );
374
374
  }
375
375
  findAll(e = {}) {
376
- return this.getAll().filter((r) => qe(e, r));
376
+ return this.getAll().filter((r) => Ue(e, r));
377
377
  }
378
378
  notify(e) {
379
379
  T.batch(() => {
@@ -390,7 +390,7 @@ var W, s, he, yt, fr = (yt = class extends wt {
390
390
  )
391
391
  );
392
392
  }
393
- }, W = new WeakMap(), s = new WeakMap(), he = new WeakMap(), yt);
393
+ }, W = new WeakMap(), R = new WeakMap(), he = new WeakMap(), kt);
394
394
  function ke(t) {
395
395
  var e;
396
396
  return (e = t.options.scope) == null ? void 0 : e.id;
@@ -398,8 +398,8 @@ function ke(t) {
398
398
  function Je(t) {
399
399
  return {
400
400
  onFetch: (e, r) => {
401
- var p, c, S, y, B;
402
- const n = e.options, i = (S = (c = (p = e.fetchOptions) == null ? void 0 : p.meta) == null ? void 0 : c.fetchMore) == null ? void 0 : S.direction, a = ((y = e.state.data) == null ? void 0 : y.pages) || [], l = ((B = e.state.data) == null ? void 0 : B.pageParams) || [];
401
+ var p, c, S, y, E;
402
+ const n = e.options, i = (S = (c = (p = e.fetchOptions) == null ? void 0 : p.meta) == null ? void 0 : c.fetchMore) == null ? void 0 : S.direction, a = ((y = e.state.data) == null ? void 0 : y.pages) || [], l = ((E = e.state.data) == null ? void 0 : E.pageParams) || [];
403
403
  let u = { pages: [], pageParams: [] }, x = 0;
404
404
  const m = async () => {
405
405
  let k = !1;
@@ -410,7 +410,7 @@ function Je(t) {
410
410
  k = !0;
411
411
  }), e.signal)
412
412
  });
413
- }, P = Qt(e.options, e.fetchOptions), H = async (v, C, z) => {
413
+ }, P = Vt(e.options, e.fetchOptions), z = async (v, C, H) => {
414
414
  if (k)
415
415
  return Promise.reject();
416
416
  if (C == null && v.pages.length)
@@ -420,29 +420,29 @@ function Je(t) {
420
420
  client: e.client,
421
421
  queryKey: e.queryKey,
422
422
  pageParam: C,
423
- direction: z ? "backward" : "forward",
423
+ direction: H ? "backward" : "forward",
424
424
  meta: e.options.meta
425
425
  };
426
426
  return I($e), $e;
427
- })(), je = await P(be), { maxPages: w } = e.options, X = z ? Vt : $t;
427
+ })(), je = await P(be), { maxPages: w } = e.options, X = H ? $t : Wt;
428
428
  return {
429
429
  pages: X(v.pages, je, w),
430
430
  pageParams: X(v.pageParams, C, w)
431
431
  };
432
432
  };
433
433
  if (i && a.length) {
434
- const v = i === "backward", C = v ? gr : Ge, z = {
434
+ const v = i === "backward", C = v ? br : Ge, H = {
435
435
  pages: a,
436
436
  pageParams: l
437
- }, Y = C(n, z);
438
- u = await H(z, Y, v);
437
+ }, Y = C(n, H);
438
+ u = await z(H, Y, v);
439
439
  } else {
440
440
  const v = t ?? a.length;
441
441
  do {
442
442
  const C = x === 0 ? l[0] ?? n.initialPageParam : Ge(n, u);
443
443
  if (x > 0 && C == null)
444
444
  break;
445
- u = await H(u, C), x++;
445
+ u = await z(u, C), x++;
446
446
  } while (x < v);
447
447
  }
448
448
  return u;
@@ -473,26 +473,26 @@ function Ge(t, { pages: e, pageParams: r }) {
473
473
  r
474
474
  ) : void 0;
475
475
  }
476
- function gr(t, { pages: e, pageParams: r }) {
476
+ function br(t, { pages: e, pageParams: r }) {
477
477
  var n;
478
478
  return e.length > 0 ? (n = t.getPreviousPageParam) == null ? void 0 : n.call(t, e[0], e, r[0], r) : void 0;
479
479
  }
480
- var b, U, K, te, re, Z, ne, oe, kt, br = (kt = class {
480
+ var b, q, K, te, re, Z, ne, oe, wt, jr = (wt = class {
481
481
  constructor(t = {}) {
482
482
  N(this, b);
483
- N(this, U);
483
+ N(this, q);
484
484
  N(this, K);
485
485
  N(this, te);
486
486
  N(this, re);
487
487
  N(this, Z);
488
488
  N(this, ne);
489
489
  N(this, oe);
490
- j(this, b, t.queryCache || new hr()), j(this, U, t.mutationCache || new fr()), j(this, K, t.defaultOptions || {}), j(this, te, /* @__PURE__ */ new Map()), j(this, re, /* @__PURE__ */ new Map()), j(this, Z, 0);
490
+ j(this, b, t.queryCache || new pr()), j(this, q, t.mutationCache || new gr()), j(this, K, t.defaultOptions || {}), j(this, te, /* @__PURE__ */ new Map()), j(this, re, /* @__PURE__ */ new Map()), j(this, Z, 0);
491
491
  }
492
492
  mount() {
493
- ye(this, Z)._++, h(this, Z) === 1 && (j(this, ne, Wt.subscribe(async (t) => {
493
+ ye(this, Z)._++, h(this, Z) === 1 && (j(this, ne, At.subscribe(async (t) => {
494
494
  t && (await this.resumePausedMutations(), h(this, b).onFocus());
495
- })), j(this, oe, Ue.subscribe(async (t) => {
495
+ })), j(this, oe, qe.subscribe(async (t) => {
496
496
  t && (await this.resumePausedMutations(), h(this, b).onOnline());
497
497
  })));
498
498
  }
@@ -504,7 +504,7 @@ var b, U, K, te, re, Z, ne, oe, kt, br = (kt = class {
504
504
  return h(this, b).findAll({ ...t, fetchStatus: "fetching" }).length;
505
505
  }
506
506
  isMutating(t) {
507
- return h(this, U).findAll({ ...t, status: "pending" }).length;
507
+ return h(this, q).findAll({ ...t, status: "pending" }).length;
508
508
  }
509
509
  /**
510
510
  * Imperative (non-reactive) way to retrieve data for a QueryKey.
@@ -531,7 +531,7 @@ var b, U, K, te, re, Z, ne, oe, kt, br = (kt = class {
531
531
  setQueryData(t, e, r) {
532
532
  const n = this.defaultQueryOptions({ queryKey: t }), i = h(this, b).get(
533
533
  n.queryHash
534
- ), a = i == null ? void 0 : i.state.data, l = At(e, a);
534
+ ), a = i == null ? void 0 : i.state.data, l = Ut(e, a);
535
535
  if (l !== void 0)
536
536
  return h(this, b).build(this, n).setData(l, { ...r, manual: !0 });
537
537
  }
@@ -620,13 +620,13 @@ var b, U, K, te, re, Z, ne, oe, kt, br = (kt = class {
620
620
  return t.behavior = Je(t.pages), this.ensureQueryData(t);
621
621
  }
622
622
  resumePausedMutations() {
623
- return Ue.isOnline() ? h(this, U).resumePausedMutations() : Promise.resolve();
623
+ return qe.isOnline() ? h(this, q).resumePausedMutations() : Promise.resolve();
624
624
  }
625
625
  getQueryCache() {
626
626
  return h(this, b);
627
627
  }
628
628
  getMutationCache() {
629
- return h(this, U);
629
+ return h(this, q);
630
630
  }
631
631
  getDefaultOptions() {
632
632
  return h(this, K);
@@ -667,7 +667,7 @@ var b, U, K, te, re, Z, ne, oe, kt, br = (kt = class {
667
667
  ...t,
668
668
  _defaulted: !0
669
669
  };
670
- return e.queryHash || (e.queryHash = vt(
670
+ return e.queryHash || (e.queryHash = Nt(
671
671
  e.queryKey,
672
672
  e
673
673
  )), e.refetchOnReconnect === void 0 && (e.refetchOnReconnect = e.networkMode !== "always"), e.throwOnError === void 0 && (e.throwOnError = !!e.suspense), !e.networkMode && e.persister && (e.networkMode = "offlineFirst"), e.queryFn === qt && (e.enabled = !1), e;
@@ -681,27 +681,28 @@ var b, U, K, te, re, Z, ne, oe, kt, br = (kt = class {
681
681
  };
682
682
  }
683
683
  clear() {
684
- h(this, b).clear(), h(this, U).clear();
685
- }
686
- }, b = new WeakMap(), U = new WeakMap(), K = new WeakMap(), te = new WeakMap(), re = new WeakMap(), Z = new WeakMap(), ne = new WeakMap(), oe = new WeakMap(), kt);
687
- const jr = E(() => Promise.resolve().then(() => Vr)), yr = E(() => Promise.resolve().then(() => Fo)), kr = E(() => Promise.resolve().then(() => An)), wr = E(() => Promise.resolve().then(() => Un)), vr = E(() => Promise.resolve().then(() => Yr)), Nr = E(() => Promise.resolve().then(() => zr)), Cr = E(() => Promise.resolve().then(() => cn)), Sr = E(() => Promise.resolve().then(() => ln)), Ir = E(() => Promise.resolve().then(() => ho)), Mr = E(() => Promise.resolve().then(() => en)), _r = E(() => Promise.resolve().then(() => Rn)), Or = E(() => Promise.resolve().then(() => sr)), Tr = E(() => Promise.resolve().then(() => Po)), Fr = {
688
- header: Nr,
689
- seoHeader: Ir,
690
- banner: jr,
691
- calculator: yr,
692
- form: kr,
693
- formDialog: wr,
694
- stepper: Mr,
695
- benefit: Or,
696
- longBanner: Sr,
697
- usefulInfo: _r,
698
- interLinking: Cr,
699
- footer: vr,
700
- infoBlock: Tr
701
- }, Br = Object.keys(Fr), g = Br.reduce(
684
+ h(this, b).clear(), h(this, q).clear();
685
+ }
686
+ }, b = new WeakMap(), q = new WeakMap(), K = new WeakMap(), te = new WeakMap(), re = new WeakMap(), Z = new WeakMap(), ne = new WeakMap(), oe = new WeakMap(), wt);
687
+ const yr = B(() => Promise.resolve().then(() => Wr)), kr = B(() => Promise.resolve().then(() => Eo)), wr = B(() => Promise.resolve().then(() => qn)), vr = B(() => Promise.resolve().then(() => Zn)), Nr = B(() => Promise.resolve().then(() => Jr)), Cr = B(() => Promise.resolve().then(() => Qr)), Sr = B(() => Promise.resolve().then(() => gn)), Ir = B(() => Promise.resolve().then(() => mn)), Mr = B(() => Promise.resolve().then(() => co)), _r = B(() => Promise.resolve().then(() => rn)), Or = B(() => Promise.resolve().then(() => zn)), Tr = B(() => Promise.resolve().then(() => Hr)), Fr = B(() => Promise.resolve().then(() => Do)), Br = B(() => Promise.resolve().then(() => Wo)), Er = {
688
+ header: Cr,
689
+ seoHeader: Mr,
690
+ banner: yr,
691
+ calculator: kr,
692
+ form: wr,
693
+ formDialog: vr,
694
+ stepper: _r,
695
+ benefit: Tr,
696
+ longBanner: Ir,
697
+ usefulInfo: Or,
698
+ interLinking: Sr,
699
+ footer: Nr,
700
+ infoBlock: Fr,
701
+ userFeedback: Br
702
+ }, Pr = Object.keys(Er), g = Pr.reduce(
702
703
  (t, e) => (t[e] = e, t),
703
704
  {}
704
- ), Er = (t) => Ct(() => {
705
+ ), sr = (t) => St(() => {
705
706
  switch (t.handler) {
706
707
  case "navigate": {
707
708
  const { url: r, target: n, rel: i } = t;
@@ -710,7 +711,7 @@ const jr = E(() => Promise.resolve().then(() => Vr)), yr = E(() => Promise.resol
710
711
  }
711
712
  case "scroll": {
712
713
  const { widgetId: r } = t ?? "";
713
- or({ widgetId: r });
714
+ ir({ widgetId: r });
714
715
  break;
715
716
  }
716
717
  case "dialog": {
@@ -724,9 +725,9 @@ const jr = E(() => Promise.resolve().then(() => Vr)), yr = E(() => Promise.resol
724
725
  }
725
726
  }
726
727
  }, [t]), ee = ({ handlerOptions: t, className: e, ...r }) => {
727
- const n = Er(t);
728
+ const n = sr(t);
728
729
  return /* @__PURE__ */ o.jsx(pe, { className: d(e), onClick: n, ...r, children: r.children });
729
- }, Pr = R(
730
+ }, Dr = D(
730
731
  "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
732
  {
732
733
  variants: {
@@ -737,7 +738,7 @@ const jr = E(() => Promise.resolve().then(() => Vr)), yr = E(() => Promise.resol
737
738
  }
738
739
  }
739
740
  }
740
- ), Dr = ({
741
+ ), Rr = ({
741
742
  subtitle: t,
742
743
  title: e,
743
744
  img: r,
@@ -753,7 +754,7 @@ const jr = E(() => Promise.resolve().then(() => Vr)), yr = E(() => Promise.resol
753
754
  "li",
754
755
  {
755
756
  style: { backgroundColor: x ?? "#F3F4F7" },
756
- className: d(Pr({ variant: u }), { "pb-0": n }, { "pb-12": !n }, i == null ? void 0 : i.root),
757
+ className: d(Dr({ variant: u }), { "pb-0": n }, { "pb-12": !n }, i == null ? void 0 : i.root),
757
758
  children: [
758
759
  /* @__PURE__ */ o.jsxs("div", { className: d("flex flex-col items-start justify-between px-4 desktop:px-8 desktop:py-8", i == null ? void 0 : i.wrapper), children: [
759
760
  /* @__PURE__ */ o.jsxs("div", { className: d("flex flex-col gap-4", i == null ? void 0 : i.textContainer), children: [
@@ -773,7 +774,7 @@ const jr = E(() => Promise.resolve().then(() => Vr)), yr = E(() => Promise.resol
773
774
  },
774
775
  e
775
776
  );
776
- }, Rr = R("grid gap-4", {
777
+ }, zr = D("grid gap-4", {
777
778
  variants: {
778
779
  variant: {
779
780
  twoCards: "grid-cols-1 mobile:grid-rows-[repeat(2,400px)] desktop:grid-cols-2",
@@ -789,17 +790,17 @@ const jr = E(() => Promise.resolve().then(() => Vr)), yr = E(() => Promise.resol
789
790
  className: d("mob-headline-bold-s mb-8 desktop:desk-headline-bold-m", n == null ? void 0 : n.heading)
790
791
  }
791
792
  ),
792
- /* @__PURE__ */ o.jsx("ul", { className: d(Rr({ variant: r }), n == null ? void 0 : n.grid), children: e == null ? void 0 : e.map((i) => /* @__PURE__ */ o.jsx(Dr, { variant: r, classes: n == null ? void 0 : n.item, ...i }, i.title)) })
793
- ] }) }), sr = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
793
+ /* @__PURE__ */ o.jsx("ul", { className: d(zr({ variant: r }), n == null ? void 0 : n.grid), children: e == null ? void 0 : e.map((i) => /* @__PURE__ */ o.jsx(Rr, { variant: r, classes: n == null ? void 0 : n.item, ...i }, i.title)) })
794
+ ] }) }), Hr = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
794
795
  __proto__: null,
795
796
  Benefit: et,
796
797
  default: et
797
- }, Symbol.toStringTag, { value: "Module" })), Hr = ({ variant: t, details: e }) => {
798
+ }, Symbol.toStringTag, { value: "Module" })), Lr = ({ variant: t, details: e }) => {
798
799
  switch (t) {
799
800
  case "withButton":
800
801
  return /* @__PURE__ */ o.jsx(ee, { ...e });
801
802
  case "withPhone":
802
- return /* @__PURE__ */ o.jsx(Nt, { classes: { root: "items-end" }, ...e, phone: Me(e.phone) });
803
+ return /* @__PURE__ */ o.jsx(Ct, { classes: { root: "items-end" }, ...e, phone: Me(e.phone) });
803
804
  default:
804
805
  return null;
805
806
  }
@@ -823,18 +824,18 @@ const jr = E(() => Promise.resolve().then(() => Vr)), yr = E(() => Promise.resol
823
824
  "flex items-center justify-center [&_svg]:w-[132px] desktop:[&_svg]:h-[32px] desktop:[&_svg]:w-[192px]",
824
825
  n == null ? void 0 : n.logo
825
826
  ),
826
- children: Ut[r]
827
+ children: Kt[r]
827
828
  }
828
829
  ),
829
- Hr(t)
830
+ Lr(t)
830
831
  ] }) })
831
832
  }
832
833
  );
833
- }, zr = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
834
+ }, Qr = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
834
835
  __proto__: null,
835
836
  Header: tt,
836
837
  default: tt
837
- }, Symbol.toStringTag, { value: "Module" })), It = ({ buttonConfig: t, classes: e }) => {
838
+ }, Symbol.toStringTag, { value: "Module" })), Mt = ({ buttonConfig: t, classes: e }) => {
838
839
  const { primary: r, secondary: n } = t || {};
839
840
  return /* @__PURE__ */ o.jsxs(
840
841
  "div",
@@ -886,7 +887,7 @@ const jr = E(() => Promise.resolve().then(() => Vr)), yr = E(() => Promise.resol
886
887
  e == null ? void 0 : e.item
887
888
  ),
888
889
  children: [
889
- /* @__PURE__ */ o.jsx(D, { as: "h4", className: d("text-color-dark", e == null ? void 0 : e.title), children: i }),
890
+ /* @__PURE__ */ o.jsx(s, { as: "h4", className: d("text-color-dark", e == null ? void 0 : e.title), children: i }),
890
891
  /* @__PURE__ */ o.jsx("p", { className: d("desk-body-regular-l text-color-secondary", e == null ? void 0 : e.description), children: a })
891
892
  ]
892
893
  },
@@ -894,7 +895,7 @@ const jr = E(() => Promise.resolve().then(() => Vr)), yr = E(() => Promise.resol
894
895
  ))
895
896
  }
896
897
  ) });
897
- }, Lr = ({
898
+ }, Vr = ({
898
899
  headTitle: t,
899
900
  subtitle: e,
900
901
  buttonsConfig: r,
@@ -947,7 +948,7 @@ const jr = E(() => Promise.resolve().then(() => Vr)), yr = E(() => Promise.resol
947
948
  }
948
949
  )
949
950
  ] }),
950
- /* @__PURE__ */ o.jsx(It, { buttonConfig: r })
951
+ /* @__PURE__ */ o.jsx(Mt, { buttonConfig: r })
951
952
  ] }) }),
952
953
  (n == null ? void 0 : n.enabled) && p && /* @__PURE__ */ o.jsx(
953
954
  Ne,
@@ -972,7 +973,7 @@ const jr = E(() => Promise.resolve().then(() => Vr)), yr = E(() => Promise.resol
972
973
  }
973
974
  )
974
975
  ] });
975
- }, Qr = ({
976
+ }, $r = ({
976
977
  headTitle: t,
977
978
  subtitle: e,
978
979
  buttonsConfig: r,
@@ -1013,7 +1014,7 @@ const jr = E(() => Promise.resolve().then(() => Vr)), yr = E(() => Promise.resol
1013
1014
  )
1014
1015
  ] }),
1015
1016
  /* @__PURE__ */ o.jsx(
1016
- It,
1017
+ Mt,
1017
1018
  {
1018
1019
  buttonConfig: r,
1019
1020
  classes: {
@@ -1080,15 +1081,15 @@ const jr = E(() => Promise.resolve().then(() => Vr)), yr = E(() => Promise.resol
1080
1081
  }, rt = ({ variant: t, ...e }) => {
1081
1082
  switch (t) {
1082
1083
  case "fullImg":
1083
- return /* @__PURE__ */ o.jsx(Lr, { ...e });
1084
+ return /* @__PURE__ */ o.jsx(Vr, { ...e });
1084
1085
  default:
1085
- return /* @__PURE__ */ o.jsx(Qr, { ...e });
1086
+ return /* @__PURE__ */ o.jsx($r, { ...e });
1086
1087
  }
1087
- }, Vr = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
1088
+ }, Wr = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
1088
1089
  __proto__: null,
1089
1090
  Banner: rt,
1090
1091
  default: rt
1091
- }, Symbol.toStringTag, { value: "Module" })), $r = ({ socialsLinks: t, classes: e }) => /* @__PURE__ */ o.jsx("div", { className: d("mt-4 flex items-center gap-2 desktop:mt-6", e == null ? void 0 : e.socialRoot), children: t == null ? void 0 : t.map(({ iconName: r, href: n, ...i }) => /* @__PURE__ */ o.jsx(
1092
+ }, Symbol.toStringTag, { value: "Module" })), Ar = ({ socialsLinks: t, classes: e }) => /* @__PURE__ */ o.jsx("div", { className: d("mt-4 flex items-center gap-2 desktop:mt-6", e == null ? void 0 : e.socialRoot), children: t == null ? void 0 : t.map(({ iconName: r, href: n, ...i }) => /* @__PURE__ */ o.jsx(
1092
1093
  "a",
1093
1094
  {
1094
1095
  className: d("flex size-8 items-center justify-center rounded-full bg-[#52576a] p-2", e == null ? void 0 : e.socialLink),
@@ -1098,8 +1099,8 @@ const jr = E(() => Promise.resolve().then(() => Vr)), yr = E(() => Promise.resol
1098
1099
  children: /* @__PURE__ */ o.jsx(f, { name: r, className: d("h-full w-full text-icon-white", e == null ? void 0 : e.socialIcon) })
1099
1100
  },
1100
1101
  n
1101
- )) }), Wr = ({ phones: t, classes: e }) => /* @__PURE__ */ o.jsx("div", { className: d("flex flex-col gap-4 desktop:items-end", e == null ? void 0 : e.phonesRoot), children: t == null ? void 0 : t.map(({ phone: r, text: n }) => /* @__PURE__ */ o.jsx(
1102
- Nt,
1102
+ )) }), Ur = ({ phones: t, classes: e }) => /* @__PURE__ */ o.jsx("div", { className: d("flex flex-col gap-4 desktop:items-end", e == null ? void 0 : e.phonesRoot), children: t == null ? void 0 : t.map(({ phone: r, text: n }) => /* @__PURE__ */ o.jsx(
1103
+ Ct,
1103
1104
  {
1104
1105
  phone: Me(r),
1105
1106
  text: n,
@@ -1110,7 +1111,7 @@ const jr = E(() => Promise.resolve().then(() => Vr)), yr = E(() => Promise.resol
1110
1111
  }
1111
1112
  },
1112
1113
  r
1113
- )) }), Ar = ({ classes: t, details: e }) => /* @__PURE__ */ o.jsx(
1114
+ )) }), qr = ({ classes: t, details: e }) => /* @__PURE__ */ o.jsx(
1114
1115
  "div",
1115
1116
  {
1116
1117
  className: d(
@@ -1138,7 +1139,7 @@ const jr = E(() => Promise.resolve().then(() => Vr)), yr = E(() => Promise.resol
1138
1139
  ] }, n))
1139
1140
  )
1140
1141
  }
1141
- ), qr = ({ text: t, classes: e }) => {
1142
+ ), Kr = ({ text: t, classes: e }) => {
1142
1143
  const r = (/* @__PURE__ */ new Date()).getFullYear();
1143
1144
  return /* @__PURE__ */ o.jsx(
1144
1145
  "div",
@@ -1149,7 +1150,7 @@ const jr = E(() => Promise.resolve().then(() => Vr)), yr = E(() => Promise.resol
1149
1150
  }
1150
1151
  }
1151
1152
  );
1152
- }, Ur = ({ classes: t }) => /* @__PURE__ */ o.jsx(
1153
+ }, Zr = ({ classes: t }) => /* @__PURE__ */ o.jsx(
1153
1154
  "a",
1154
1155
  {
1155
1156
  "aria-label": "logo",
@@ -1157,7 +1158,7 @@ const jr = E(() => Promise.resolve().then(() => Vr)), yr = E(() => Promise.resol
1157
1158
  className: d("block h-[24px] w-[132px] desktop:h-[32px] desktop:w-[194px]", t == null ? void 0 : t.footerLogo),
1158
1159
  children: /* @__PURE__ */ o.jsx(f, { name: "brandLogos/logoWhite", className: d("size-full", t == null ? void 0 : t.footerLogoIcon) })
1159
1160
  }
1160
- ), Kr = ({ classes: t }) => /* @__PURE__ */ o.jsx(
1161
+ ), Yr = ({ classes: t }) => /* @__PURE__ */ o.jsx(
1161
1162
  ce,
1162
1163
  {
1163
1164
  intent: "white",
@@ -1171,7 +1172,7 @@ const jr = E(() => Promise.resolve().then(() => Vr)), yr = E(() => Promise.resol
1171
1172
  },
1172
1173
  children: "Карта сайта"
1173
1174
  }
1174
- ), Zr = ({ text: t, classes: e }) => {
1175
+ ), Xr = ({ text: t, classes: e }) => {
1175
1176
  const [r, n] = me.useState(!1), [i, a] = me.useState(!1), l = me.useRef(null);
1176
1177
  return me.useEffect(() => {
1177
1178
  const u = l.current;
@@ -1223,15 +1224,15 @@ const jr = E(() => Promise.resolve().then(() => Vr)), yr = E(() => Promise.resol
1223
1224
  ),
1224
1225
  children: [
1225
1226
  /* @__PURE__ */ o.jsxs("div", { className: d(i == null ? void 0 : i.footerSocialBlock), children: [
1226
- /* @__PURE__ */ o.jsx(Ur, { classes: i == null ? void 0 : i.footerLogo }),
1227
- t.enabled && /* @__PURE__ */ o.jsx($r, { socialsLinks: t.links, classes: i == null ? void 0 : i.socialLinks })
1227
+ /* @__PURE__ */ o.jsx(Zr, { classes: i == null ? void 0 : i.footerLogo }),
1228
+ t.enabled && /* @__PURE__ */ o.jsx(Ar, { socialsLinks: t.links, classes: i == null ? void 0 : i.socialLinks })
1228
1229
  ] }),
1229
- e.enabled && /* @__PURE__ */ o.jsx(Wr, { phones: e.items, classes: i == null ? void 0 : i.phonesBlock })
1230
+ e.enabled && /* @__PURE__ */ o.jsx(Ur, { phones: e.items, classes: i == null ? void 0 : i.phonesBlock })
1230
1231
  ]
1231
1232
  }
1232
1233
  ),
1233
- !_.isArrayEmpty(a) && /* @__PURE__ */ o.jsx(Ar, { details: a, classes: i == null ? void 0 : i.navLinks }),
1234
- r.enabled && /* @__PURE__ */ o.jsx(Zr, { text: r.text }),
1234
+ !_.isArrayEmpty(a) && /* @__PURE__ */ o.jsx(qr, { details: a, classes: i == null ? void 0 : i.navLinks }),
1235
+ r.enabled && /* @__PURE__ */ o.jsx(Xr, { text: r.text }),
1235
1236
  /* @__PURE__ */ o.jsxs(
1236
1237
  "div",
1237
1238
  {
@@ -1240,18 +1241,18 @@ const jr = E(() => Promise.resolve().then(() => Vr)), yr = E(() => Promise.resol
1240
1241
  i == null ? void 0 : i.footerBottom
1241
1242
  ),
1242
1243
  children: [
1243
- n.enabled && /* @__PURE__ */ o.jsx(qr, { text: n.text, classes: i == null ? void 0 : i.copyright }),
1244
- l && /* @__PURE__ */ o.jsx(Kr, { classes: i == null ? void 0 : i.siteMap })
1244
+ n.enabled && /* @__PURE__ */ o.jsx(Kr, { text: n.text, classes: i == null ? void 0 : i.copyright }),
1245
+ l && /* @__PURE__ */ o.jsx(Yr, { classes: i == null ? void 0 : i.siteMap })
1245
1246
  ]
1246
1247
  }
1247
1248
  )
1248
1249
  ] }) })
1249
1250
  }
1250
- ), Yr = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
1251
+ ), Jr = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
1251
1252
  __proto__: null,
1252
1253
  Footer: nt,
1253
1254
  default: nt
1254
- }, Symbol.toStringTag, { value: "Module" })), Xr = (t) => {
1255
+ }, Symbol.toStringTag, { value: "Module" })), Gr = (t) => {
1255
1256
  var a, l;
1256
1257
  const { classes: e, index: r, title: n, description: i } = t;
1257
1258
  return /* @__PURE__ */ o.jsxs(
@@ -1294,10 +1295,10 @@ const jr = E(() => Promise.resolve().then(() => Vr)), yr = E(() => Promise.resol
1294
1295
  ]
1295
1296
  }
1296
1297
  );
1297
- }, Jr = ({ currentStepper: t, classes: e }) => {
1298
+ }, en = ({ currentStepper: t, classes: e }) => {
1298
1299
  const [r, n] = O(0), { carouselClasses: i, carouselSlideClasses: a } = e || {};
1299
1300
  return /* @__PURE__ */ o.jsx(
1300
- Kt,
1301
+ Zt,
1301
1302
  {
1302
1303
  carouselOptions: {
1303
1304
  dragFree: !1
@@ -1318,7 +1319,7 @@ const jr = E(() => Promise.resolve().then(() => Vr)), yr = E(() => Promise.resol
1318
1319
  ...i
1319
1320
  },
1320
1321
  children: t.details.map((l, u) => /* @__PURE__ */ o.jsx(
1321
- Zt,
1322
+ Yt,
1322
1323
  {
1323
1324
  variant: "fullScreen",
1324
1325
  slideIndex: u,
@@ -1332,7 +1333,7 @@ const jr = E(() => Promise.resolve().then(() => Vr)), yr = E(() => Promise.resol
1332
1333
  ))
1333
1334
  }
1334
1335
  );
1335
- }, Gr = fe(({ stepperTabs: t, activeStepper: e, setActiveStepper: r, classes: n }) => /* @__PURE__ */ o.jsx("div", { className: d("customScrollbar-y scrollHidden flex items-center gap-4 overflow-x-auto", n == null ? void 0 : n.wrapper), children: t == null ? void 0 : t.map(({ headline: i }) => /* @__PURE__ */ o.jsx(
1336
+ }, tn = fe(({ stepperTabs: t, activeStepper: e, setActiveStepper: r, classes: n }) => /* @__PURE__ */ o.jsx("div", { className: d("customScrollbar-y scrollHidden flex items-center gap-4 overflow-x-auto", n == null ? void 0 : n.wrapper), children: t == null ? void 0 : t.map(({ headline: i }) => /* @__PURE__ */ o.jsx(
1336
1337
  "button",
1337
1338
  {
1338
1339
  onClick: () => r(i),
@@ -1348,10 +1349,10 @@ const jr = E(() => Promise.resolve().then(() => Vr)), yr = E(() => Promise.resol
1348
1349
  var x, m;
1349
1350
  const r = t.length > 1, [n, i] = O(r ? (x = t[0]) == null ? void 0 : x.headline : ""), a = ge(() => t == null ? void 0 : t.map(({ headline: p }) => ({ headline: p })), [t]), l = r ? a == null ? void 0 : a.findIndex((p) => p.headline === n) : 0, u = t[l];
1350
1351
  return /* @__PURE__ */ o.jsx("section", { id: g.stepper, "data-test-id": g.stepper, className: e == null ? void 0 : e.root, children: /* @__PURE__ */ o.jsx(F, { className: d(e == null ? void 0 : e.container, "mobile:max-w-[360px]"), children: /* @__PURE__ */ o.jsxs("div", { className: d("flex flex-col gap-6 desktop:items-start desktop:gap-12", e == null ? void 0 : e.wrapper), children: [
1351
- /* @__PURE__ */ o.jsx(D, { as: "h2", className: d("text-color-dark", e == null ? void 0 : e.headline), children: u.headline }),
1352
+ /* @__PURE__ */ o.jsx(s, { as: "h2", className: d("text-color-dark", e == null ? void 0 : e.headline), children: u.headline }),
1352
1353
  /* @__PURE__ */ o.jsxs("div", { className: "flex flex-col gap-6 desktop:gap-10", children: [
1353
1354
  r && /* @__PURE__ */ o.jsx(
1354
- Gr,
1355
+ tn,
1355
1356
  {
1356
1357
  stepperTabs: a,
1357
1358
  activeStepper: n,
@@ -1359,7 +1360,7 @@ const jr = E(() => Promise.resolve().then(() => Vr)), yr = E(() => Promise.resol
1359
1360
  classes: e == null ? void 0 : e.stepperTabs
1360
1361
  }
1361
1362
  ),
1362
- u.withImages && /* @__PURE__ */ o.jsx(Jr, { classes: e == null ? void 0 : e.stepperCarousel, currentStepper: u }),
1363
+ u.withImages && /* @__PURE__ */ o.jsx(en, { classes: e == null ? void 0 : e.stepperCarousel, currentStepper: u }),
1363
1364
  /* @__PURE__ */ o.jsx(
1364
1365
  "div",
1365
1366
  {
@@ -1368,16 +1369,16 @@ const jr = E(() => Promise.resolve().then(() => Vr)), yr = E(() => Promise.resol
1368
1369
  e == null ? void 0 : e.stepsWrapper,
1369
1370
  { "mobile:hidden": u.withImages }
1370
1371
  ),
1371
- children: (m = u.details) == null ? void 0 : m.map((p, c) => /* @__PURE__ */ Ie(Xr, { ...p, key: p.description, index: c + 1, classes: e == null ? void 0 : e.step }))
1372
+ children: (m = u.details) == null ? void 0 : m.map((p, c) => /* @__PURE__ */ Ie(Gr, { ...p, key: p.description, index: c + 1, classes: e == null ? void 0 : e.step }))
1372
1373
  }
1373
1374
  )
1374
1375
  ] })
1375
1376
  ] }) }) }, u.headline);
1376
- }, en = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
1377
+ }, rn = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
1377
1378
  __proto__: null,
1378
1379
  Stepper: ot,
1379
1380
  default: ot
1380
- }, Symbol.toStringTag, { value: "Module" })), tn = R("", {
1381
+ }, Symbol.toStringTag, { value: "Module" })), nn = D("", {
1381
1382
  variants: {
1382
1383
  intent: {
1383
1384
  twoItems: "mob-headline-bold-s mb-6 desktop:desk-headline-bold-m desktop:mb-12",
@@ -1393,7 +1394,7 @@ const jr = E(() => Promise.resolve().then(() => Vr)), yr = E(() => Promise.resol
1393
1394
  defaultVariants: {
1394
1395
  intent: "twoItems"
1395
1396
  }
1396
- }), rn = R("", {
1397
+ }), on = D("", {
1397
1398
  variants: {
1398
1399
  intent: {
1399
1400
  twoItems: "",
@@ -1425,7 +1426,7 @@ const jr = E(() => Promise.resolve().then(() => Vr)), yr = E(() => Promise.resol
1425
1426
  class: "desktop:grid grid-rows-2 desktop:gap-x-10 desktop:gap-y-4 grid-flow-col"
1426
1427
  }
1427
1428
  ]
1428
- }), nn = R("border-blue-grey-500 pb-6 mobile:mb-6 mobile:border-b mobile:last:pb-0 mobile:last:mb-0", {
1429
+ }), an = D("border-blue-grey-500 pb-6 mobile:mb-6 mobile:border-b mobile:last:pb-0 mobile:last:mb-0", {
1429
1430
  variants: {
1430
1431
  intent: {
1431
1432
  twoItems: 'last:border-none relative desktop:first:after:top-1/2 desktop:first:after:-translate-y-1/2 desktop:first:after:right-0 desktop:first:after:content-[""] desktop:first:after:block desktop:first:after:absolute desktop:first:after:w-[1px] desktop:first:after:h-[64px] desktop:first:after:bg-color-blue-grey-500 desktop:ml-8 desktop:pr-8 desktop:first:ml-0 desktop:last:pr-0 desktop:pb-3',
@@ -1435,7 +1436,7 @@ const jr = E(() => Promise.resolve().then(() => Vr)), yr = E(() => Promise.resol
1435
1436
  defaultVariants: {
1436
1437
  intent: "twoItems"
1437
1438
  }
1438
- }), on = R("mobile:mx-auto mobile:mb-8, h-[172px] w-[280px] ", {
1439
+ }), dn = D("mobile:mx-auto mobile:mb-8, h-[172px] w-[280px] ", {
1439
1440
  variants: {
1440
1441
  intent: {
1441
1442
  twoItems: "desktop:h-[232px] desktop:w-[500px]",
@@ -1461,7 +1462,7 @@ const jr = E(() => Promise.resolve().then(() => Vr)), yr = E(() => Promise.resol
1461
1462
  class: "desktop:h-[272px] desktop:w-[500px]"
1462
1463
  }
1463
1464
  ]
1464
- }), an = ({ data: t, intent: e }) => {
1465
+ }), ln = ({ data: t, intent: e }) => {
1465
1466
  const {
1466
1467
  title: r,
1467
1468
  description: n,
@@ -1469,14 +1470,14 @@ const jr = E(() => Promise.resolve().then(() => Vr)), yr = E(() => Promise.resol
1469
1470
  enabled: !1
1470
1471
  }
1471
1472
  } = t;
1472
- return /* @__PURE__ */ o.jsx("li", { className: d(nn({ intent: e })), children: /* @__PURE__ */ o.jsxs("div", { className: "desktop:max-w-[264px]", children: [
1473
+ return /* @__PURE__ */ o.jsx("li", { className: d(an({ intent: e })), children: /* @__PURE__ */ o.jsxs("div", { className: "desktop:max-w-[264px]", children: [
1473
1474
  /* @__PURE__ */ o.jsxs("div", { className: d("mb-2 flex items-center gap-2"), children: [
1474
1475
  /* @__PURE__ */ o.jsx("h4", { className: d("mob-title-bold-m text-color-dark"), children: r }),
1475
1476
  i.enabled && /* @__PURE__ */ o.jsx(Ce, { triggerElement: /* @__PURE__ */ o.jsx(f, { className: d("size-5 text-icon-blue-grey-600"), name: "info/helpCircle" }), children: i.text })
1476
1477
  ] }),
1477
1478
  /* @__PURE__ */ o.jsx("div", { className: d("mob-body-regular-l text-color-secondary"), dangerouslySetInnerHTML: { __html: n } })
1478
1479
  ] }) });
1479
- }, Ee = ({ intent: t, headline: e, desktopHidden: r = !1, mobileHidden: n = !1 }) => /* @__PURE__ */ o.jsx("h2", { className: d(tn({ intent: t, desktopHidden: r, mobileHidden: n })), children: e }), dn = ({ details: t, intent: e, withButton: r }) => /* @__PURE__ */ o.jsx("ul", { className: d(rn({ intent: e, withButton: r })), children: t == null ? void 0 : t.map((n, i) => /* @__PURE__ */ o.jsx(an, { intent: e, data: n }, i)) }), it = ({
1480
+ }, Ee = ({ intent: t, headline: e, desktopHidden: r = !1, mobileHidden: n = !1 }) => /* @__PURE__ */ o.jsx("h2", { className: d(nn({ intent: t, desktopHidden: r, mobileHidden: n })), children: e }), un = ({ details: t, intent: e, withButton: r }) => /* @__PURE__ */ o.jsx("ul", { className: d(on({ intent: e, withButton: r })), children: t == null ? void 0 : t.map((n, i) => /* @__PURE__ */ o.jsx(ln, { intent: e, data: n }, i)) }), it = ({
1480
1481
  headline: t,
1481
1482
  buttonConfig: e,
1482
1483
  intent: r = "twoItems",
@@ -1496,14 +1497,14 @@ const jr = E(() => Promise.resolve().then(() => Vr)), yr = E(() => Promise.resol
1496
1497
  ),
1497
1498
  children: [
1498
1499
  l && /* @__PURE__ */ o.jsx(Ee, { intent: r, headline: t, desktopHidden: !0 }),
1499
- /* @__PURE__ */ o.jsx("div", { className: d(on({ intent: r, withButton: e == null ? void 0 : e.enabled }), a == null ? void 0 : a.imgContainer), children: x }),
1500
+ /* @__PURE__ */ o.jsx("div", { className: d(dn({ intent: r, withButton: e == null ? void 0 : e.enabled }), a == null ? void 0 : a.imgContainer), children: x }),
1500
1501
  /* @__PURE__ */ o.jsxs(
1501
1502
  "div",
1502
1503
  {
1503
1504
  className: d("desktop:flex desktop:flex-col desktop:justify-center desktop:py-10", a == null ? void 0 : a.textWithBtnContainer),
1504
1505
  children: [
1505
1506
  l && /* @__PURE__ */ o.jsx(Ee, { intent: r, headline: t, mobileHidden: !0 }),
1506
- /* @__PURE__ */ o.jsx(dn, { details: n, intent: r, withButton: (e == null ? void 0 : e.enabled) ?? !1 }),
1507
+ /* @__PURE__ */ o.jsx(un, { details: n, intent: r, withButton: (e == null ? void 0 : e.enabled) ?? !1 }),
1507
1508
  (e == null ? void 0 : e.enabled) && e && /* @__PURE__ */ o.jsx(
1508
1509
  ee,
1509
1510
  {
@@ -1520,7 +1521,7 @@ const jr = E(() => Promise.resolve().then(() => Vr)), yr = E(() => Promise.resol
1520
1521
  }
1521
1522
  )
1522
1523
  ] }) });
1523
- }, ln = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
1524
+ }, mn = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
1524
1525
  __proto__: null,
1525
1526
  LongBanner: it,
1526
1527
  default: it
@@ -1528,7 +1529,7 @@ const jr = E(() => Promise.resolve().then(() => Vr)), yr = E(() => Promise.resol
1528
1529
  ESIA: "esia",
1529
1530
  MOBILE_ID: "mobileId",
1530
1531
  COMBINE: "combine"
1531
- }, Mt = ({ children: t, isLoading: e, classes: r, loaderProps: n }) => /* @__PURE__ */ o.jsx(
1532
+ }, _t = ({ children: t, isLoading: e, classes: r, loaderProps: n }) => /* @__PURE__ */ o.jsx(
1532
1533
  "div",
1533
1534
  {
1534
1535
  tabIndex: 0,
@@ -1546,11 +1547,11 @@ const jr = E(() => Promise.resolve().then(() => Vr)), yr = E(() => Promise.resol
1546
1547
  { "items-center": e },
1547
1548
  r == null ? void 0 : r.wrapper
1548
1549
  ),
1549
- children: e ? /* @__PURE__ */ o.jsx(Yt, { position: "static", classes: { wrapper: "size-8 m-auto" }, ...n }) : t
1550
+ children: e ? /* @__PURE__ */ o.jsx(Xt, { position: "static", classes: { wrapper: "size-8 m-auto" }, ...n }) : t
1550
1551
  }
1551
1552
  )
1552
1553
  }
1553
- ), un = ({ ...t }) => /* @__PURE__ */ o.jsxs("svg", { width: "32", height: "32", viewBox: "0 0 32 32", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...t, children: [
1554
+ ), xn = ({ ...t }) => /* @__PURE__ */ o.jsxs("svg", { width: "32", height: "32", viewBox: "0 0 32 32", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...t, children: [
1554
1555
  /* @__PURE__ */ o.jsx(
1555
1556
  "path",
1556
1557
  {
@@ -1578,7 +1579,7 @@ const jr = E(() => Promise.resolve().then(() => Vr)), yr = E(() => Promise.resol
1578
1579
  /* @__PURE__ */ o.jsx("stop", { offset: "0.6875", stopColor: "#EE2F53" }),
1579
1580
  /* @__PURE__ */ o.jsx("stop", { offset: "1", stopColor: "#EE2F53" })
1580
1581
  ] }) })
1581
- ] }), _t = ({ mainLink: t, subLink: e, isMobile: r, classes: n }) => /* @__PURE__ */ o.jsxs("div", { className: d("flex flex-col", n == null ? void 0 : n.linksWrapper), children: [
1582
+ ] }), Ot = ({ mainLink: t, subLink: e, isMobile: r, classes: n }) => /* @__PURE__ */ o.jsxs("div", { className: d("flex flex-col", n == null ? void 0 : n.linksWrapper), children: [
1582
1583
  /* @__PURE__ */ o.jsx(
1583
1584
  "a",
1584
1585
  {
@@ -1608,7 +1609,7 @@ const jr = E(() => Promise.resolve().then(() => Vr)), yr = E(() => Promise.resol
1608
1609
  )
1609
1610
  ] }), at = ({ mainLink: t, subLink: e, isLoading: r, badge: n, loaderProps: i, classes: a }) => {
1610
1611
  const { isMobile: l } = le();
1611
- return /* @__PURE__ */ o.jsx(Mt, { isLoading: r, loaderProps: i, classes: a == null ? void 0 : a.authWrapper, children: /* @__PURE__ */ o.jsxs(
1612
+ return /* @__PURE__ */ o.jsx(_t, { isLoading: r, loaderProps: i, classes: a == null ? void 0 : a.authWrapper, children: /* @__PURE__ */ o.jsxs(
1612
1613
  "div",
1613
1614
  {
1614
1615
  className: d(
@@ -1623,16 +1624,16 @@ const jr = E(() => Promise.resolve().then(() => Vr)), yr = E(() => Promise.resol
1623
1624
  /* @__PURE__ */ o.jsx(f, { name: "logos/megafon", className: d("relative z-[8] -ml-4 size-7 desktop:size-8", a == null ? void 0 : a.megafonLogo) }),
1624
1625
  /* @__PURE__ */ o.jsx(f, { name: "logos/beeline", className: d("relative z-[7] -ml-4 size-7 desktop:size-8", a == null ? void 0 : a.beelineLogo) })
1625
1626
  ] }),
1626
- /* @__PURE__ */ o.jsx(_t, { mainLink: t, subLink: e, isMobile: l, classes: a == null ? void 0 : a.links }),
1627
+ /* @__PURE__ */ o.jsx(Ot, { mainLink: t, subLink: e, isMobile: l, classes: a == null ? void 0 : a.links }),
1627
1628
  /* @__PURE__ */ o.jsx(f, { name: "arrows/arrowRight", className: d("mobile:hidden", a == null ? void 0 : a.arrowIcon) })
1628
1629
  ] }),
1629
- n && /* @__PURE__ */ o.jsx(De, { className: d("bg-color-positive", a == null ? void 0 : a.badge), children: n })
1630
+ n && /* @__PURE__ */ o.jsx(se, { className: d("bg-color-positive", a == null ? void 0 : a.badge), children: n })
1630
1631
  ]
1631
1632
  }
1632
1633
  ) });
1633
1634
  }, dt = ({ mainLink: t, subLink: e, isLoading: r, badge: n, loaderProps: i, classes: a }) => {
1634
1635
  const { isMobile: l } = le();
1635
- return /* @__PURE__ */ o.jsx(Mt, { isLoading: r, loaderProps: i, classes: a == null ? void 0 : a.authWrapper, children: /* @__PURE__ */ o.jsxs(
1636
+ return /* @__PURE__ */ o.jsx(_t, { isLoading: r, loaderProps: i, classes: a == null ? void 0 : a.authWrapper, children: /* @__PURE__ */ o.jsxs(
1636
1637
  "div",
1637
1638
  {
1638
1639
  className: d(
@@ -1642,15 +1643,15 @@ const jr = E(() => Promise.resolve().then(() => Vr)), yr = E(() => Promise.resol
1642
1643
  ),
1643
1644
  children: [
1644
1645
  /* @__PURE__ */ o.jsxs("div", { className: d("flex items-center gap-1 desktop:gap-4", a == null ? void 0 : a.textContent), children: [
1645
- /* @__PURE__ */ o.jsx(un, { className: d("size-7 desktop:size-8", a == null ? void 0 : a.esiaLogo) }),
1646
- /* @__PURE__ */ o.jsx(_t, { mainLink: t, subLink: e, isMobile: l, classes: a == null ? void 0 : a.links }),
1646
+ /* @__PURE__ */ o.jsx(xn, { className: d("size-7 desktop:size-8", a == null ? void 0 : a.esiaLogo) }),
1647
+ /* @__PURE__ */ o.jsx(Ot, { mainLink: t, subLink: e, isMobile: l, classes: a == null ? void 0 : a.links }),
1647
1648
  /* @__PURE__ */ o.jsx(f, { name: "arrows/arrowRight", className: d("mobile:hidden", a == null ? void 0 : a.arrowIcon) })
1648
1649
  ] }),
1649
- n && /* @__PURE__ */ o.jsx(De, { className: d("bg-color-positive", a == null ? void 0 : a.badge), children: n })
1650
+ n && /* @__PURE__ */ o.jsx(se, { className: d("bg-color-positive", a == null ? void 0 : a.badge), children: n })
1650
1651
  ]
1651
1652
  }
1652
1653
  ) });
1653
- }, mn = (t) => {
1654
+ }, hn = (t) => {
1654
1655
  switch (t.mode) {
1655
1656
  case Pe.ESIA:
1656
1657
  return /* @__PURE__ */ o.jsx(dt, { ...t });
@@ -1669,7 +1670,7 @@ const jr = E(() => Promise.resolve().then(() => Vr)), yr = E(() => Promise.resol
1669
1670
  children: [
1670
1671
  /* @__PURE__ */ o.jsxs(l, { className: d("flex w-full items-center justify-between gap-2", a == null ? void 0 : a.topContent), children: [
1671
1672
  n && /* @__PURE__ */ o.jsx("h5", { className: d("desk-body-regular-l flex flex-1 text-color-dark", a == null ? void 0 : a.subtitle), children: n }),
1672
- i && /* @__PURE__ */ o.jsx(De, { className: d("bg-color-positive", a == null ? void 0 : a.badge), children: i })
1673
+ i && /* @__PURE__ */ o.jsx(se, { className: d("bg-color-positive", a == null ? void 0 : a.badge), children: i })
1673
1674
  ] }),
1674
1675
  /* @__PURE__ */ o.jsxs("div", { className: d("grid w-full grid-cols-2 gap-2 desktop:gap-4", a == null ? void 0 : a.authWrapper), children: [
1675
1676
  /* @__PURE__ */ o.jsx(
@@ -1699,7 +1700,7 @@ const jr = E(() => Promise.resolve().then(() => Vr)), yr = E(() => Promise.resol
1699
1700
  }
1700
1701
  );
1701
1702
  }
1702
- }, ei = (t) => mn(t), lt = ({ links: t, classes: e }) => /* @__PURE__ */ o.jsx("nav", { className: d("flex flex-col gap-1", e == null ? void 0 : e.linksWrapper), children: t == null ? void 0 : t.map(({ path: r, label: n, ...i }) => /* @__PURE__ */ o.jsx(
1703
+ }, ni = (t) => hn(t), lt = ({ links: t, classes: e }) => /* @__PURE__ */ o.jsx("nav", { className: d("flex flex-col gap-1", e == null ? void 0 : e.linksWrapper), children: t == null ? void 0 : t.map(({ path: r, label: n, ...i }) => /* @__PURE__ */ o.jsx(
1703
1704
  ce,
1704
1705
  {
1705
1706
  classes: {
@@ -1712,7 +1713,7 @@ const jr = E(() => Promise.resolve().then(() => Vr)), yr = E(() => Promise.resol
1712
1713
  children: n
1713
1714
  },
1714
1715
  r
1715
- )) }), xn = ({ groupLabel: t, links: e, mobileAccordionProps: r, classes: n }) => {
1716
+ )) }), pn = ({ groupLabel: t, links: e, mobileAccordionProps: r, classes: n }) => {
1716
1717
  var a, l, u;
1717
1718
  const { isMobile: i } = le();
1718
1719
  return /* @__PURE__ */ o.jsxs("div", { className: d("flex flex-col gap-2", n == null ? void 0 : n.columnGroup), children: [
@@ -1738,7 +1739,7 @@ const jr = E(() => Promise.resolve().then(() => Vr)), yr = E(() => Promise.resol
1738
1739
  }
1739
1740
  )
1740
1741
  ] });
1741
- }, hn = ({ column: t, mobileAccordionProps: e, classes: r }) => /* @__PURE__ */ o.jsx("div", { className: d("flex flex-col gap-4 desktop:gap-6", r == null ? void 0 : r.column), children: t == null ? void 0 : t.map((n) => /* @__PURE__ */ o.jsx(xn, { ...e, ...n, classes: r == null ? void 0 : r.columnGroup }, n.groupLabel)) }), pn = R("grid gap-4 grid-cols-1", {
1742
+ }, cn = ({ column: t, mobileAccordionProps: e, classes: r }) => /* @__PURE__ */ o.jsx("div", { className: d("flex flex-col gap-4 desktop:gap-6", r == null ? void 0 : r.column), children: t == null ? void 0 : t.map((n) => /* @__PURE__ */ o.jsx(pn, { ...e, ...n, classes: r == null ? void 0 : r.columnGroup }, n.groupLabel)) }), fn = D("grid gap-4 grid-cols-1", {
1742
1743
  variants: {
1743
1744
  variant: {
1744
1745
  twoCols: "desktop:grid-cols-2",
@@ -1769,7 +1770,7 @@ const jr = E(() => Promise.resolve().then(() => Vr)), yr = E(() => Promise.resol
1769
1770
  de,
1770
1771
  {
1771
1772
  defaultOpen: l,
1772
- label: /* @__PURE__ */ o.jsx(D, { as: "h4", className: d("text-left", a == null ? void 0 : a.headline), children: r }),
1773
+ label: /* @__PURE__ */ o.jsx(s, { as: "h4", className: d("text-left", a == null ? void 0 : a.headline), children: r }),
1773
1774
  ...i,
1774
1775
  classes: {
1775
1776
  ...i == null ? void 0 : i.classes,
@@ -1778,16 +1779,16 @@ const jr = E(() => Promise.resolve().then(() => Vr)), yr = E(() => Promise.resol
1778
1779
  },
1779
1780
  content: d("max-w-full bg-color-blue-grey-100 relative", (m = i == null ? void 0 : i.classes) == null ? void 0 : m.content)
1780
1781
  },
1781
- children: /* @__PURE__ */ o.jsx("div", { className: d(pn({ variant: t }), a == null ? void 0 : a.columnsWrapper), children: e == null ? void 0 : e.map((p, c) => /* @__PURE__ */ o.jsx(hn, { ...p, ...n, classes: a == null ? void 0 : a.column }, c)) })
1782
+ children: /* @__PURE__ */ o.jsx("div", { className: d(fn({ variant: t }), a == null ? void 0 : a.columnsWrapper), children: e == null ? void 0 : e.map((p, c) => /* @__PURE__ */ o.jsx(cn, { ...p, ...n, classes: a == null ? void 0 : a.column }, c)) })
1782
1783
  }
1783
1784
  ) })
1784
1785
  }
1785
1786
  );
1786
- }, cn = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
1787
+ }, gn = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
1787
1788
  __proto__: null,
1788
1789
  InterLinking: ut,
1789
1790
  default: ut
1790
- }, Symbol.toStringTag, { value: "Module" })), fn = ({ tabsNames: t, activeTab: e, setActiveTab: r, classes: n }) => /* @__PURE__ */ o.jsx("div", { className: d("hidden-scroll flex items-center gap-4 overflow-x-auto p-[6px]", n == null ? void 0 : n.tabs), children: t && t.map((i, a) => /* @__PURE__ */ o.jsx(
1791
+ }, Symbol.toStringTag, { value: "Module" })), bn = ({ tabsNames: t, activeTab: e, setActiveTab: r, classes: n }) => /* @__PURE__ */ o.jsx("div", { className: d("hidden-scroll flex items-center gap-4 overflow-x-auto p-[6px]", n == null ? void 0 : n.tabs), children: t && t.map((i, a) => /* @__PURE__ */ o.jsx(
1791
1792
  "button",
1792
1793
  {
1793
1794
  onClick: () => r(a),
@@ -1801,10 +1802,10 @@ const jr = E(() => Promise.resolve().then(() => Vr)), yr = E(() => Promise.resol
1801
1802
  children: i
1802
1803
  },
1803
1804
  i
1804
- )) }), gn = (t) => t.variant === "HTML", bn = (t) => t.variant === "DOCUMENTS", jn = (t) => t.variant === "TABLE", yn = ({ html: t, config: e, classes: r, accordionConfig: n }) => {
1805
+ )) }), jn = (t) => t.variant === "HTML", yn = (t) => t.variant === "DOCUMENTS", kn = (t) => t.variant === "TABLE", wn = ({ html: t, config: e, classes: r, accordionConfig: n }) => {
1805
1806
  const i = /* @__PURE__ */ o.jsx("div", { className: d(r == null ? void 0 : r.html), dangerouslySetInnerHTML: { __html: t ?? "" } });
1806
1807
  return /* @__PURE__ */ o.jsx(o.Fragment, { children: e && (e != null && e.isAccordion) && (e != null && e.accordionTitle) ? /* @__PURE__ */ o.jsx(de, { label: e == null ? void 0 : e.accordionTitle, ...n, children: (n == null ? void 0 : n.children) ?? i }) : i });
1807
- }, kn = (t, e) => ({
1808
+ }, vn = (t, e) => ({
1808
1809
  rows: t == null ? void 0 : t.map(({ row: r }) => ({
1809
1810
  row: r == null ? void 0 : r.map((n, i) => {
1810
1811
  var a;
@@ -1814,21 +1815,21 @@ const jr = E(() => Promise.resolve().then(() => Vr)), yr = E(() => Promise.resol
1814
1815
  };
1815
1816
  })
1816
1817
  }))
1817
- }), wn = R("flex flex-col", {
1818
+ }), Nn = D("flex flex-col", {
1818
1819
  variants: {
1819
1820
  columnsVariant: {
1820
1821
  twoCols: "w-full max-w-[656px]",
1821
1822
  threeCols: "w-full max-w-[768px]"
1822
1823
  }
1823
1824
  }
1824
- }), vn = R("desktop:grid mobile:hidden px-4 mb-4", {
1825
+ }), Cn = D("desktop:grid mobile:hidden px-4 mb-4", {
1825
1826
  variants: {
1826
1827
  columnsVariant: {
1827
1828
  twoCols: "grid-cols-2 gap-16",
1828
1829
  threeCols: "grid-cols-3 gap-12"
1829
1830
  }
1830
1831
  }
1831
- }), Nn = ({ headings: t, columnsVariant: e, classes: r }) => /* @__PURE__ */ o.jsx("div", { className: d(vn({ columnsVariant: e }), r == null ? void 0 : r.row), children: t == null ? void 0 : t.map((n) => /* @__PURE__ */ o.jsx("div", { className: d("text-color-secondary", r == null ? void 0 : r.cell), children: n == null ? void 0 : n.heading }, n == null ? void 0 : n.heading)) }), Cn = R("desktop:grid mobile:hidden items-center", {
1832
+ }), Sn = ({ headings: t, columnsVariant: e, classes: r }) => /* @__PURE__ */ o.jsx("div", { className: d(Cn({ columnsVariant: e }), r == null ? void 0 : r.row), children: t == null ? void 0 : t.map((n) => /* @__PURE__ */ o.jsx("div", { className: d("text-color-secondary", r == null ? void 0 : r.cell), children: n == null ? void 0 : n.heading }, n == null ? void 0 : n.heading)) }), In = D("desktop:grid mobile:hidden items-center", {
1832
1833
  variants: {
1833
1834
  columnsVariant: {
1834
1835
  twoCols: "grid-cols-2 gap-16",
@@ -1839,21 +1840,21 @@ const jr = E(() => Promise.resolve().then(() => Vr)), yr = E(() => Promise.resol
1839
1840
  separator: "px-4 py-4 border-t border-solid border-warm-grey-200"
1840
1841
  }
1841
1842
  }
1842
- }), Sn = ({ row: t, tableVariant: e, columnsVariant: r, rowIndex: n, classes: i }) => /* @__PURE__ */ o.jsx("div", { className: d(Cn({ columnsVariant: r, tableVariant: e }), { "border-none": n === 0 }, i == null ? void 0 : i.row), children: t == null ? void 0 : t.map(({ cell: a }, l) => /* @__PURE__ */ o.jsx(
1843
+ }), Mn = ({ row: t, tableVariant: e, columnsVariant: r, rowIndex: n, classes: i }) => /* @__PURE__ */ o.jsx("div", { className: d(In({ columnsVariant: r, tableVariant: e }), { "border-none": n === 0 }, i == null ? void 0 : i.row), children: t == null ? void 0 : t.map(({ cell: a }, l) => /* @__PURE__ */ o.jsx(
1843
1844
  "div",
1844
1845
  {
1845
1846
  className: d("desk-body-regular-l text-color-dark", { "font-medium": l !== 0 }, i == null ? void 0 : i.cell),
1846
1847
  children: a && a
1847
1848
  },
1848
1849
  l
1849
- )) }), In = R("mobile:flex desktop:hidden flex-col gap-2", {
1850
+ )) }), _n = D("mobile:flex desktop:hidden flex-col gap-2", {
1850
1851
  variants: {
1851
1852
  tableVariant: {
1852
1853
  filled: "px-4 py-4 odd:bg-color-primary-light-default",
1853
1854
  separator: "py-4 border-t border-solid border-warm-grey-200 first:border-none"
1854
1855
  }
1855
1856
  }
1856
- }), Mn = ({ row: t, tableVariant: e, columnsVariant: r, headingsExist: n, classes: i }) => /* @__PURE__ */ o.jsx("div", { className: d(In({ tableVariant: e }), i == null ? void 0 : i.row), children: t == null ? void 0 : t.map(({ cell: a, heading: l }, u) => /* @__PURE__ */ o.jsxs("div", { className: d("grid grid-cols-2 gap-3", { "grid-cols-1 gap-0": !n }, i == null ? void 0 : i.wrapper), children: [
1857
+ }), On = ({ row: t, tableVariant: e, columnsVariant: r, headingsExist: n, classes: i }) => /* @__PURE__ */ o.jsx("div", { className: d(_n({ tableVariant: e }), i == null ? void 0 : i.row), children: t == null ? void 0 : t.map(({ cell: a, heading: l }, u) => /* @__PURE__ */ o.jsxs("div", { className: d("grid grid-cols-2 gap-3", { "grid-cols-1 gap-0": !n }, i == null ? void 0 : i.wrapper), children: [
1857
1858
  l && /* @__PURE__ */ o.jsx("div", { className: d("mob-body-regular-l text-color-secondary", i == null ? void 0 : i.heading), children: l }),
1858
1859
  /* @__PURE__ */ o.jsx(
1859
1860
  "div",
@@ -1868,13 +1869,13 @@ const jr = E(() => Promise.resolve().then(() => Vr)), yr = E(() => Promise.resol
1868
1869
  children: a
1869
1870
  }
1870
1871
  )
1871
- ] }, u)) }), _n = ({ tableVariant: t, rows: e, headings: r, columnsVariant: n, classes: i }) => {
1872
+ ] }, u)) }), Tn = ({ tableVariant: t, rows: e, headings: r, columnsVariant: n, classes: i }) => {
1872
1873
  var u;
1873
- const a = ((u = kn(e, r)) == null ? void 0 : u.rows) ?? [], l = !!(r && r.length > 0);
1874
+ const a = ((u = vn(e, r)) == null ? void 0 : u.rows) ?? [], l = !!(r && r.length > 0);
1874
1875
  return /* @__PURE__ */ o.jsxs("div", { className: d("flex flex-col", i == null ? void 0 : i.wrapper), children: [
1875
- l && /* @__PURE__ */ o.jsx(Nn, { headings: r, columnsVariant: n, classes: i == null ? void 0 : i.desktopHeading }),
1876
+ l && /* @__PURE__ */ o.jsx(Sn, { headings: r, columnsVariant: n, classes: i == null ? void 0 : i.desktopHeading }),
1876
1877
  e == null ? void 0 : e.map((x, m) => /* @__PURE__ */ o.jsx(
1877
- Sn,
1878
+ Mn,
1878
1879
  {
1879
1880
  rowIndex: m,
1880
1881
  tableVariant: t,
@@ -1885,7 +1886,7 @@ const jr = E(() => Promise.resolve().then(() => Vr)), yr = E(() => Promise.resol
1885
1886
  m
1886
1887
  )),
1887
1888
  a == null ? void 0 : a.map((x, m) => /* @__PURE__ */ o.jsx(
1888
- Mn,
1889
+ On,
1889
1890
  {
1890
1891
  headingsExist: l,
1891
1892
  tableVariant: t,
@@ -1896,7 +1897,7 @@ const jr = E(() => Promise.resolve().then(() => Vr)), yr = E(() => Promise.resol
1896
1897
  m
1897
1898
  ))
1898
1899
  ] });
1899
- }, On = ({
1900
+ }, Fn = ({
1900
1901
  tableVariant: t,
1901
1902
  description: e,
1902
1903
  columnsVariant: r,
@@ -1907,9 +1908,9 @@ const jr = E(() => Promise.resolve().then(() => Vr)), yr = E(() => Promise.resol
1907
1908
  accordionConfig: u,
1908
1909
  classes: x
1909
1910
  }) => {
1910
- const m = /* @__PURE__ */ o.jsxs("div", { className: d(wn({ columnsVariant: r }), x == null ? void 0 : x.wrapper), children: [
1911
- a && /* @__PURE__ */ o.jsx(D, { as: "h4", className: d("mb-4 desktop:mb-6", x == null ? void 0 : x.headline), children: a }),
1912
- /* @__PURE__ */ o.jsx(_n, { tableVariant: t, rows: i, headings: l, columnsVariant: r }),
1911
+ const m = /* @__PURE__ */ o.jsxs("div", { className: d(Nn({ columnsVariant: r }), x == null ? void 0 : x.wrapper), children: [
1912
+ a && /* @__PURE__ */ o.jsx(s, { as: "h4", className: d("mb-4 desktop:mb-6", x == null ? void 0 : x.headline), children: a }),
1913
+ /* @__PURE__ */ o.jsx(Tn, { tableVariant: t, rows: i, headings: l, columnsVariant: r }),
1913
1914
  e && /* @__PURE__ */ o.jsx(
1914
1915
  "div",
1915
1916
  {
@@ -1919,10 +1920,10 @@ const jr = E(() => Promise.resolve().then(() => Vr)), yr = E(() => Promise.resol
1919
1920
  )
1920
1921
  ] });
1921
1922
  return /* @__PURE__ */ o.jsx(o.Fragment, { children: n && (n != null && n.isAccordion) && (n != null && n.accordionTitle) ? /* @__PURE__ */ o.jsx(de, { label: n == null ? void 0 : n.accordionTitle, ...u, children: (u == null ? void 0 : u.children) || m }) : m });
1922
- }, Tn = {
1923
+ }, Bn = {
1923
1924
  documentFilled: "files/documentFilled",
1924
1925
  documentOutline: "files/documentOutline"
1925
- }, Fn = R("size-8 transition-colors", {
1926
+ }, En = D("size-8 transition-colors", {
1926
1927
  variants: {
1927
1928
  iconType: {
1928
1929
  documentOutline: "text-icon-secondary-dark-default group-hover:text-icon-secondary-dark-hover",
@@ -1932,7 +1933,7 @@ const jr = E(() => Promise.resolve().then(() => Vr)), yr = E(() => Promise.resol
1932
1933
  defaultVariants: {
1933
1934
  iconType: "documentOutline"
1934
1935
  }
1935
- }), Bn = ({ label: t, size: e, url: r, iconType: n, classes: i }) => /* @__PURE__ */ o.jsxs(
1936
+ }), Pn = ({ label: t, size: e, url: r, iconType: n, classes: i }) => /* @__PURE__ */ o.jsxs(
1936
1937
  "a",
1937
1938
  {
1938
1939
  href: r,
@@ -1944,7 +1945,7 @@ const jr = E(() => Promise.resolve().then(() => Vr)), yr = E(() => Promise.resol
1944
1945
  i == null ? void 0 : i.link
1945
1946
  ),
1946
1947
  children: [
1947
- /* @__PURE__ */ o.jsx(f, { name: Tn[n], className: d(Fn({ iconType: n }), i == null ? void 0 : i.icon) }),
1948
+ /* @__PURE__ */ o.jsx(f, { name: Bn[n], className: d(En({ iconType: n }), i == null ? void 0 : i.icon) }),
1948
1949
  /* @__PURE__ */ o.jsxs("div", { className: d("flex flex-1 flex-col", i == null ? void 0 : i.wrapper), children: [
1949
1950
  /* @__PURE__ */ o.jsx("p", { className: d("desk-body-medium-l text-color-dark", i == null ? void 0 : i.label), children: t }),
1950
1951
  /* @__PURE__ */ o.jsxs("div", { className: d("desk-body-regular-m text-color-disabled", i == null ? void 0 : i.size), children: [
@@ -1954,26 +1955,26 @@ const jr = E(() => Promise.resolve().then(() => Vr)), yr = E(() => Promise.resol
1954
1955
  ] })
1955
1956
  ]
1956
1957
  }
1957
- ), En = ({ docs: t, config: e, title: r, iconType: n, description: i, classes: a, accordionConfig: l }) => {
1958
+ ), sn = ({ docs: t, config: e, title: r, iconType: n, description: i, classes: a, accordionConfig: l }) => {
1958
1959
  const u = /* @__PURE__ */ o.jsxs("div", { className: d("flex max-w-[680px] flex-col", a == null ? void 0 : a.wrapper), children: [
1959
- r && /* @__PURE__ */ o.jsx(D, { as: "h3", className: "mb-4", children: r }),
1960
- /* @__PURE__ */ o.jsx("div", { className: d("flex flex-col gap-4", a == null ? void 0 : a.documentsWrapper), children: t == null ? void 0 : t.map((x) => /* @__PURE__ */ o.jsx(Bn, { iconType: n, ...x, classes: a == null ? void 0 : a.singleDocument }, x.label)) }),
1960
+ r && /* @__PURE__ */ o.jsx(s, { as: "h3", className: "mb-4", children: r }),
1961
+ /* @__PURE__ */ o.jsx("div", { className: d("flex flex-col gap-4", a == null ? void 0 : a.documentsWrapper), children: t == null ? void 0 : t.map((x) => /* @__PURE__ */ o.jsx(Pn, { iconType: n, ...x, classes: a == null ? void 0 : a.singleDocument }, x.label)) }),
1961
1962
  i && /* @__PURE__ */ o.jsx("div", { className: d("mt-4", a == null ? void 0 : a.description), dangerouslySetInnerHTML: { __html: i ?? "" } })
1962
1963
  ] });
1963
1964
  return /* @__PURE__ */ o.jsx(o.Fragment, { children: e && (e != null && e.isAccordion) && (e != null && e.accordionTitle) ? /* @__PURE__ */ o.jsx(de, { label: e == null ? void 0 : e.accordionTitle, ...l, children: (l == null ? void 0 : l.children) || u }) : u });
1964
- }, Pn = ({ entity: t, classes: e, accordionsConfig: r }) => {
1965
+ }, Dn = ({ entity: t, classes: e, accordionsConfig: r }) => {
1965
1966
  var n, i, a;
1966
1967
  switch (!0) {
1967
- case gn(t):
1968
+ case jn(t):
1968
1969
  return (n = t.details) == null ? void 0 : n.map((l, u) => {
1969
1970
  var x;
1970
- return /* @__PURE__ */ o.jsx(yn, { ...l, accordionConfig: r == null ? void 0 : r.htmlAccordion, classes: (x = e == null ? void 0 : e.entities) == null ? void 0 : x.html }, u);
1971
+ return /* @__PURE__ */ o.jsx(wn, { ...l, accordionConfig: r == null ? void 0 : r.htmlAccordion, classes: (x = e == null ? void 0 : e.entities) == null ? void 0 : x.html }, u);
1971
1972
  });
1972
- case bn(t):
1973
+ case yn(t):
1973
1974
  return (i = t.details) == null ? void 0 : i.map((l, u) => {
1974
1975
  var x;
1975
1976
  return /* @__PURE__ */ o.jsx(
1976
- En,
1977
+ sn,
1977
1978
  {
1978
1979
  accordionConfig: r == null ? void 0 : r.documentAccordion,
1979
1980
  ...l,
@@ -1982,11 +1983,11 @@ const jr = E(() => Promise.resolve().then(() => Vr)), yr = E(() => Promise.resol
1982
1983
  u
1983
1984
  );
1984
1985
  });
1985
- case jn(t):
1986
+ case kn(t):
1986
1987
  return (a = t.details) == null ? void 0 : a.map((l, u) => {
1987
1988
  var x;
1988
1989
  return /* @__PURE__ */ o.jsx(
1989
- On,
1990
+ Fn,
1990
1991
  {
1991
1992
  accordionConfig: r == null ? void 0 : r.tableAccordion,
1992
1993
  ...l,
@@ -1998,23 +1999,23 @@ const jr = E(() => Promise.resolve().then(() => Vr)), yr = E(() => Promise.resol
1998
1999
  default:
1999
2000
  return null;
2000
2001
  }
2001
- }, Dn = ({ entity: t, classes: e, accordionsConfig: r }) => /* @__PURE__ */ o.jsx("div", { className: d("flex flex-col gap-6", e == null ? void 0 : e.entityWrapper), children: Pn({ entity: t, classes: e, accordionsConfig: r }) }), mt = ({ headline: t, tabs: e, classes: r, accordionsConfig: n }) => {
2002
+ }, Rn = ({ entity: t, classes: e, accordionsConfig: r }) => /* @__PURE__ */ o.jsx("div", { className: d("flex flex-col gap-6", e == null ? void 0 : e.entityWrapper), children: Dn({ entity: t, classes: e, accordionsConfig: r }) }), mt = ({ headline: t, tabs: e, classes: r, accordionsConfig: n }) => {
2002
2003
  var u, x;
2003
2004
  const [i, a] = O(0), l = ge(() => e == null ? void 0 : e.map((m) => m == null ? void 0 : m.tabName), [e]) ?? [];
2004
2005
  return !e || (e == null ? void 0 : e.length) === 0 ? null : /* @__PURE__ */ o.jsx("section", { id: g.usefulInfo, "data-test-id": g.usefulInfo, className: d(r == null ? void 0 : r.root), children: /* @__PURE__ */ o.jsxs(F, { className: d(r == null ? void 0 : r.container), children: [
2005
- /* @__PURE__ */ o.jsx(D, { className: d(r == null ? void 0 : r.headline), as: "h2", children: t }),
2006
- /* @__PURE__ */ o.jsx("div", { className: d("mt-6 flex flex-col gap-2 desktop:mt-12", r == null ? void 0 : r.tabsWrapper), children: /* @__PURE__ */ o.jsx(fn, { tabsNames: l, activeTab: i, setActiveTab: a, classes: r == null ? void 0 : r.tabs }) }),
2007
- /* @__PURE__ */ o.jsx("div", { className: d("mt-6 flex flex-col gap-6", r == null ? void 0 : r.contentWrapper), children: (x = (u = e == null ? void 0 : e[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)) })
2006
+ /* @__PURE__ */ o.jsx(s, { className: d(r == null ? void 0 : r.headline), as: "h2", children: t }),
2007
+ /* @__PURE__ */ o.jsx("div", { className: d("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: a, classes: r == null ? void 0 : r.tabs }) }),
2008
+ /* @__PURE__ */ o.jsx("div", { className: d("mt-6 flex flex-col gap-6", r == null ? void 0 : r.contentWrapper), children: (x = (u = e == null ? void 0 : e[i]) == null ? void 0 : u.contents) == null ? void 0 : x.map((m, p) => /* @__PURE__ */ o.jsx(Rn, { accordionsConfig: n, ...m, classes: r == null ? void 0 : r.entityClasses }, p)) })
2008
2009
  ] }) });
2009
- }, Rn = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
2010
+ }, zn = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
2010
2011
  __proto__: null,
2011
2012
  UsefulInfo: mt,
2012
2013
  default: mt
2013
2014
  }, Symbol.toStringTag, { value: "Module" })), Qe = ({ fields: t, control: e }) => t.map(({ type: r, args: n }) => {
2014
- const i = Re[r];
2015
+ const i = De[r];
2015
2016
  return /* @__PURE__ */ Ie(i, { ...n, key: n.name, control: e });
2016
2017
  });
2017
- class sn {
2018
+ class Hn {
2018
2019
  constructor(e) {
2019
2020
  Fe(this, "TEXT_NODE", 3);
2020
2021
  Fe(this, "ELEMENT_NODE", 1);
@@ -2086,41 +2087,41 @@ class sn {
2086
2087
  return r.length;
2087
2088
  }
2088
2089
  }
2089
- const Hn = typeof window < "u";
2090
- class ti extends sn {
2090
+ const Ln = typeof window < "u";
2091
+ class oi extends Hn {
2091
2092
  constructor(e) {
2092
2093
  super(e);
2093
2094
  }
2094
2095
  async parseFromString(e) {
2095
- return Hn ? new DOMParser().parseFromString(e, "text/html") : Promise.reject();
2096
+ return Ln ? new DOMParser().parseFromString(e, "text/html") : Promise.reject();
2096
2097
  }
2097
2098
  }
2098
2099
  const ae = ({ html: t, as: e, ...r }) => {
2099
2100
  const n = e ?? "div";
2100
2101
  return /* @__PURE__ */ o.jsx(n, { dangerouslySetInnerHTML: { __html: t }, ...r });
2101
- }, zn = (t, e) => t.enabled ? e.map((r) => ({
2102
+ }, Qn = (t, e) => t.enabled ? e.map((r) => ({
2102
2103
  name: r.args.name,
2103
2104
  ...r.args.progress
2104
- })) : null, Ln = ["getFioSchema"], Ot = (t, e, r) => {
2105
+ })) : null, Vn = ["getFioSchema"], Tt = (t, e, r) => {
2105
2106
  const n = t[e];
2106
2107
  if (_.isNil(n))
2107
2108
  throw new Error(`validation for type ${String(e)} not found`);
2108
2109
  if (!_.isFunction(n))
2109
2110
  throw new Error(`Cannot generate ${String(e)} because is not a function`);
2110
2111
  return n(r);
2111
- }, Qn = (t, e) => Ot(ze.base, t, e), Vn = (t, e) => Ot(ze.dadata, t, e), Ve = (t) => {
2112
+ }, $n = (t, e) => Tt(He.base, t, e), Wn = (t, e) => Tt(He.dadata, t, e), Ve = (t) => {
2112
2113
  const r = ((t == null ? void 0 : t.map((n) => ({ name: n.args.name, validation: n.args.validation }))) ?? []).reduce((n, i) => {
2113
- const a = Ln.includes(i.validation.type) ? Vn(
2114
+ const a = Vn.includes(i.validation.type) ? Wn(
2114
2115
  i.validation.type,
2115
2116
  i.validation.args
2116
- ) : Qn(
2117
+ ) : $n(
2117
2118
  i.validation.type,
2118
2119
  i.validation.args
2119
2120
  );
2120
2121
  return n[i.name] = a, n;
2121
2122
  }, {});
2122
2123
  return Le(r);
2123
- }, $n = new br(), Tt = ({ children: t }) => /* @__PURE__ */ o.jsx(Xt, { client: $n, children: t }), Wn = (t, e, r, n) => t.type === "off" ? null : t.type === "text" ? /* @__PURE__ */ o.jsx(ae, { html: t.message, as: "div", className: n == null ? void 0 : n.content }) : /* @__PURE__ */ o.jsxs(
2124
+ }, An = new jr(), Ft = ({ children: t }) => /* @__PURE__ */ o.jsx(Jt, { client: An, children: t }), Un = (t, e, r, n) => t.type === "off" ? null : t.type === "text" ? /* @__PURE__ */ o.jsx(ae, { html: t.message, as: "div", className: n == null ? void 0 : n.content }) : /* @__PURE__ */ o.jsxs(
2124
2125
  "label",
2125
2126
  {
2126
2127
  className: d(
@@ -2143,15 +2144,15 @@ const ae = ({ html: t, as: e, ...r }) => {
2143
2144
  classes: l,
2144
2145
  buttonGroup: u
2145
2146
  }) => {
2146
- var H, v;
2147
- const { submitCallback: x } = a || {}, [m, p] = O(!1), c = Ve(t), S = Te.getZodDefaults(c), { control: y, handleSubmit: B } = _e({
2147
+ var z, v;
2148
+ const { submitCallback: x } = a || {}, [m, p] = O(!1), c = Ve(t), S = Te.getZodDefaults(c), { control: y, handleSubmit: E } = _e({
2148
2149
  schema: c,
2149
2150
  defaultValues: S,
2150
2151
  mode: "onBlur"
2151
- }), k = zn(r, t), I = ur({ control: y, fields: k || [], schema: c }), P = (C) => {
2152
+ }), k = Qn(r, t), I = mr({ control: y, fields: k || [], schema: c }), P = (C) => {
2152
2153
  x && x({ ...C, agree: m });
2153
2154
  };
2154
- return /* @__PURE__ */ o.jsx(Tt, { children: /* @__PURE__ */ o.jsx("section", { id: g.form, "data-test-id": g.form, className: d("w-full", l == null ? void 0 : l.root), children: /* @__PURE__ */ o.jsxs(
2155
+ return /* @__PURE__ */ o.jsx(Ft, { children: /* @__PURE__ */ o.jsx("section", { id: g.form, "data-test-id": g.form, className: d("w-full", l == null ? void 0 : l.root), children: /* @__PURE__ */ o.jsxs(
2155
2156
  F,
2156
2157
  {
2157
2158
  className: d(
@@ -2166,7 +2167,7 @@ const ae = ({ html: t, as: e, ...r }) => {
2166
2167
  "desk-body-regular-l flex items-center gap-x-2 rounded-sm desktop:absolute",
2167
2168
  "bg-color-blue-grey-100 px-2 py-1 text-color-tetriary",
2168
2169
  "right-4 top-4 w-max",
2169
- (H = l == null ? void 0 : l.chips) == null ? void 0 : H.root
2170
+ (z = l == null ? void 0 : l.chips) == null ? void 0 : z.root
2170
2171
  ),
2171
2172
  children: [
2172
2173
  i.image && /* @__PURE__ */ o.jsx(f, { name: i.image, className: d("size-6", (v = l == null ? void 0 : l.chips) == null ? void 0 : v.icon) }),
@@ -2174,16 +2175,16 @@ const ae = ({ html: t, as: e, ...r }) => {
2174
2175
  ]
2175
2176
  }
2176
2177
  ),
2177
- /* @__PURE__ */ o.jsx(D, { as: "h2", className: d("desktop:hidden", l == null ? void 0 : l.title), children: e }),
2178
- /* @__PURE__ */ o.jsx(D, { as: "h3", className: d("mobile:hidden", l == null ? void 0 : l.title), children: e }),
2178
+ /* @__PURE__ */ o.jsx(s, { as: "h2", className: d("desktop:hidden", l == null ? void 0 : l.title), children: e }),
2179
+ /* @__PURE__ */ o.jsx(s, { as: "h3", className: d("mobile:hidden", l == null ? void 0 : l.title), children: e }),
2179
2180
  /* @__PURE__ */ o.jsxs(
2180
2181
  "form",
2181
2182
  {
2182
- onSubmit: B(P),
2183
+ onSubmit: E(P),
2183
2184
  className: d("flex w-full flex-col gap-y-6", "desktop:gap-y-8", l == null ? void 0 : l.form),
2184
2185
  children: [
2185
2186
  r.enabled && /* @__PURE__ */ o.jsx(
2186
- Jt,
2187
+ Gt,
2187
2188
  {
2188
2189
  progress: I,
2189
2190
  topContent: /* @__PURE__ */ o.jsx(ae, { html: r.title }),
@@ -2194,14 +2195,14 @@ const ae = ({ html: t, as: e, ...r }) => {
2194
2195
  ),
2195
2196
  /* @__PURE__ */ o.jsx(Qe, { control: y, fields: t }),
2196
2197
  /* @__PURE__ */ o.jsxs("div", { className: "mob-body-regular-m flex flex-col items-start justify-center gap-4", children: [
2197
- Wn(n, m, p, l == null ? void 0 : l.approvement),
2198
- /* @__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, z) => {
2198
+ Un(n, m, p, l == null ? void 0 : l.approvement),
2199
+ /* @__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, H) => {
2199
2200
  const Y = C.type === "submit" && n.type === "checkbox" ? !m : !1;
2200
2201
  return /* @__PURE__ */ Ie(
2201
2202
  pe,
2202
2203
  {
2203
2204
  ...C,
2204
- key: z,
2205
+ key: H,
2205
2206
  disabled: Y,
2206
2207
  className: d(
2207
2208
  "w-full whitespace-nowrap",
@@ -2220,11 +2221,11 @@ const ae = ({ html: t, as: e, ...r }) => {
2220
2221
  ]
2221
2222
  }
2222
2223
  ) }) });
2223
- }, An = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
2224
+ }, qn = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
2224
2225
  __proto__: null,
2225
2226
  DynamicForm: xt,
2226
2227
  default: xt
2227
- }, Symbol.toStringTag, { value: "Module" })), qn = (t, e, r, n) => t.type === "off" ? null : t.type === "text" ? /* @__PURE__ */ o.jsx(ae, { html: t.message, as: "div", className: n == null ? void 0 : n.content }) : /* @__PURE__ */ o.jsxs(
2228
+ }, Symbol.toStringTag, { value: "Module" })), Kn = (t, e, r, n) => t.type === "off" ? null : t.type === "text" ? /* @__PURE__ */ o.jsx(ae, { html: t.message, as: "div", className: n == null ? void 0 : n.content }) : /* @__PURE__ */ o.jsxs(
2228
2229
  "label",
2229
2230
  {
2230
2231
  className: d(
@@ -2247,24 +2248,24 @@ const ae = ({ html: t, as: e, ...r }) => {
2247
2248
  buttonGroup: l,
2248
2249
  ...u
2249
2250
  }) => {
2250
- const { submitCallback: x } = n ?? {}, [m, p] = O(!1), c = Ve(t), S = Te.getZodDefaults(c), { control: y, handleSubmit: B } = _e({
2251
+ const { submitCallback: x } = n ?? {}, [m, p] = O(!1), c = Ve(t), S = Te.getZodDefaults(c), { control: y, handleSubmit: E } = _e({
2251
2252
  schema: c,
2252
2253
  defaultValues: S,
2253
2254
  mode: "onBlur"
2254
2255
  }), k = (I) => {
2255
2256
  x && x({ ...I, agree: m });
2256
2257
  };
2257
- return /* @__PURE__ */ o.jsx(Tt, { children: /* @__PURE__ */ o.jsx(Gt, { id: i, title: e, ...u, children: /* @__PURE__ */ o.jsxs("form", { onSubmit: B(k), className: "flex flex-col gap-6", children: [
2258
+ return /* @__PURE__ */ o.jsx(Ft, { children: /* @__PURE__ */ o.jsx(er, { id: i, title: e, ...u, children: /* @__PURE__ */ o.jsxs("form", { onSubmit: E(k), className: "flex flex-col gap-6", children: [
2258
2259
  /* @__PURE__ */ o.jsx(Qe, { control: y, fields: t }),
2259
- qn(r, m, p, a == null ? void 0 : a.approvement),
2260
+ Kn(r, m, p, a == null ? void 0 : a.approvement),
2260
2261
  l == null ? void 0 : l.map((I, P) => {
2261
- const H = I.type === "submit" && r.type === "checkbox" ? !m : !1;
2262
+ const z = I.type === "submit" && r.type === "checkbox" ? !m : !1;
2262
2263
  return /* @__PURE__ */ Ie(
2263
2264
  pe,
2264
2265
  {
2265
2266
  ...I,
2266
2267
  key: P,
2267
- disabled: H,
2268
+ disabled: z,
2268
2269
  className: d(
2269
2270
  "w-full whitespace-nowrap",
2270
2271
  {
@@ -2276,7 +2277,7 @@ const ae = ({ html: t, as: e, ...r }) => {
2276
2277
  );
2277
2278
  })
2278
2279
  ] }) }) });
2279
- }, Un = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
2280
+ }, Zn = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
2280
2281
  __proto__: null,
2281
2282
  DynamicFormDialog: ht,
2282
2283
  default: ht
@@ -2341,7 +2342,7 @@ const ae = ({ html: t, as: e, ...r }) => {
2341
2342
  text: "Вернуться на главную"
2342
2343
  }
2343
2344
  }
2344
- }), ri = ({ status: t, navigationFn: e }) => /* @__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: [
2345
+ }), ii = ({ status: t, navigationFn: e }) => /* @__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: [
2345
2346
  /* @__PURE__ */ o.jsx(
2346
2347
  "span",
2347
2348
  {
@@ -2353,11 +2354,11 @@ const ae = ({ html: t, as: e, ...r }) => {
2353
2354
  }
2354
2355
  ),
2355
2356
  /* @__PURE__ */ o.jsxs("div", { className: "flex flex-col items-center gap-2 text-center desktop:gap-6", children: [
2356
- /* @__PURE__ */ o.jsx(D, { as: "h2", children: ue()[t].title }),
2357
+ /* @__PURE__ */ o.jsx(s, { as: "h2", children: ue()[t].title }),
2357
2358
  /* @__PURE__ */ o.jsx("p", { className: "desk-body-regular-l text-color-dark", children: ue()[t].description })
2358
2359
  ] }),
2359
2360
  /* @__PURE__ */ o.jsx(pe, { size: "lg", className: "w-full max-w-[328px] desktop:desk-body-regular-l desktop:w-[256px]", onClick: e, children: ue()[t].button.text })
2360
- ] }) }) }), Ft = ({ breadcrumb: t, className: e, ...r }) => /* @__PURE__ */ o.jsx("a", { href: t.path, className: d("desk-body-regular-m", e), ...r, children: t.label }), Kn = [
2361
+ ] }) }) }), Bt = ({ breadcrumb: t, className: e, ...r }) => /* @__PURE__ */ o.jsx("a", { href: t.path, className: d("desk-body-regular-m", e), ...r, children: t.label }), Yn = [
2361
2362
  {
2362
2363
  label: "Главная",
2363
2364
  path: "https://sovcombank.ru/apply/credit/kredit-na-kartu/"
@@ -2374,7 +2375,7 @@ const ae = ({ html: t, as: e, ...r }) => {
2374
2375
  const l = a === n;
2375
2376
  return /* @__PURE__ */ o.jsxs("div", { className: "flex items-center gap-x-1", children: [
2376
2377
  /* @__PURE__ */ o.jsx(
2377
- Ft,
2378
+ Bt,
2378
2379
  {
2379
2380
  breadcrumb: i,
2380
2381
  className: d(r, {
@@ -2385,9 +2386,9 @@ const ae = ({ html: t, as: e, ...r }) => {
2385
2386
  ),
2386
2387
  a !== t.length - 1 && e
2387
2388
  ] }, i.label);
2388
- }), Zn = ({ separator: t, ellipsis: e, classes: r, breadcrumbs: n = Kn }) => {
2389
- const [i, a] = O(!1), l = He(null);
2390
- dr(l, () => a(!1));
2389
+ }), Xn = ({ separator: t, ellipsis: e, classes: r, breadcrumbs: n = Yn }) => {
2390
+ const [i, a] = O(!1), l = ze(null);
2391
+ lr(l, () => a(!1));
2391
2392
  const { first: u, middle: x, last: m } = ge(() => {
2392
2393
  let c = [], S = [], y = [];
2393
2394
  return e && (c = n.slice(0, e), S = n.slice(e, n.length - e), y = n.slice(n.length - e)), { first: c, middle: S, last: y };
@@ -2424,7 +2425,7 @@ const ae = ({ html: t, as: e, ...r }) => {
2424
2425
  }
2425
2426
  ),
2426
2427
  children: x.map((c) => /* @__PURE__ */ o.jsx("li", { children: /* @__PURE__ */ o.jsx(
2427
- Ft,
2428
+ Bt,
2428
2429
  {
2429
2430
  breadcrumb: c,
2430
2431
  className: d(
@@ -2454,7 +2455,7 @@ const ae = ({ html: t, as: e, ...r }) => {
2454
2455
  );
2455
2456
  };
2456
2457
  var xe = /* @__PURE__ */ ((t) => (t.ROOT = "root", t.CURRENT = "current", t))(xe || {});
2457
- const Yn = (t, e) => {
2458
+ const Jn = (t, e) => {
2458
2459
  switch (e.type) {
2459
2460
  case xe.ROOT:
2460
2461
  return {
@@ -2469,20 +2470,20 @@ const Yn = (t, e) => {
2469
2470
  default:
2470
2471
  return t;
2471
2472
  }
2472
- }, Xn = (t) => {
2473
- const [e, r] = rr(Yn, t);
2473
+ }, Gn = (t) => {
2474
+ const [e, r] = nr(Jn, t);
2474
2475
  return [e, r];
2475
- }, Jn = (t) => ({
2476
+ }, eo = (t) => ({
2476
2477
  type: xe.CURRENT,
2477
2478
  payload: t
2478
- }), Gn = (t) => ({
2479
+ }), to = (t) => ({
2479
2480
  type: xe.ROOT,
2480
2481
  payload: t
2481
- }), eo = ({ categories: t, ...e }) => {
2482
+ }), ro = ({ categories: t, ...e }) => {
2482
2483
  var r, n;
2483
- return St(
2484
+ return It(
2484
2485
  /* @__PURE__ */ o.jsx(
2485
- se.div,
2486
+ Re.div,
2486
2487
  {
2487
2488
  ...e,
2488
2489
  layout: !0,
@@ -2518,11 +2519,11 @@ const Yn = (t, e) => {
2518
2519
  */
2519
2520
  ((n = (r = document.body.querySelector("#modal-preview")) == null ? void 0 : r.contentDocument) == null ? void 0 : n.body) ?? document.body
2520
2521
  );
2521
- }, to = nr(({ category: t, active: e, onActiveTabChange: r }, n) => {
2522
+ }, no = or(({ category: t, active: e, onActiveTabChange: r }, n) => {
2522
2523
  var x, m;
2523
2524
  const i = n && "current" in n ? n : null, a = (x = i == null ? void 0 : i.current) == null ? void 0 : x.getBoundingClientRect(), l = e && !_.isArrayEmpty(t.children), u = t.link ? _.isStringEmpty(t.link.href) ? "span" : "a" : "span";
2524
2525
  return /* @__PURE__ */ o.jsxs(
2525
- se.div,
2526
+ Re.div,
2526
2527
  {
2527
2528
  ref: n,
2528
2529
  className: d(
@@ -2540,7 +2541,7 @@ const Yn = (t, e) => {
2540
2541
  children: [
2541
2542
  /* @__PURE__ */ o.jsx(u, { href: u === "a" ? (m = t.link) == null ? void 0 : m.href : void 0, className: "desk-body-regular-m outline-none", children: t.title }),
2542
2543
  l && /* @__PURE__ */ o.jsx(
2543
- eo,
2544
+ ro,
2544
2545
  {
2545
2546
  categories: t.children,
2546
2547
  style: {
@@ -2551,11 +2552,11 @@ const Yn = (t, e) => {
2551
2552
  ]
2552
2553
  }
2553
2554
  );
2554
- }), ro = fe(to), no = ({ categories: t }) => {
2555
- const [e, r] = O(null), n = Ct((a) => {
2555
+ }), oo = fe(no), io = ({ categories: t }) => {
2556
+ const [e, r] = O(null), n = St((a) => {
2556
2557
  r(a);
2557
- }, []), i = He(null);
2558
- return /* @__PURE__ */ o.jsx(er, { mode: "sync", children: /* @__PURE__ */ o.jsxs(
2558
+ }, []), i = ze(null);
2559
+ return /* @__PURE__ */ o.jsx(tr, { mode: "sync", children: /* @__PURE__ */ o.jsxs(
2559
2560
  "div",
2560
2561
  {
2561
2562
  ref: i,
@@ -2563,7 +2564,7 @@ const Yn = (t, e) => {
2563
2564
  className: "relative flex w-full items-center justify-between gap-x-4 border-b border-b-[rgba(234,237,241)]",
2564
2565
  children: [
2565
2566
  t.map((a) => /* @__PURE__ */ o.jsx(
2566
- ro,
2567
+ oo,
2567
2568
  {
2568
2569
  ref: i,
2569
2570
  category: a,
@@ -2576,7 +2577,7 @@ const Yn = (t, e) => {
2576
2577
  ]
2577
2578
  }
2578
2579
  ) });
2579
- }, oo = fe(no), io = ({
2580
+ }, ao = fe(io), lo = ({
2580
2581
  category: t,
2581
2582
  selectedCategory: e,
2582
2583
  onCurrentCategoryChange: r,
@@ -2623,20 +2624,20 @@ const Yn = (t, e) => {
2623
2624
  )
2624
2625
  ]
2625
2626
  }
2626
- ), ao = ({ categories: t, helpers: e, phone: r }) => {
2627
- const [n, i] = Xn({ root: t[0].children[0], current: t[0].children[0] });
2627
+ ), uo = ({ categories: t, helpers: e, phone: r }) => {
2628
+ const [n, i] = Gn({ root: t[0].children[0], current: t[0].children[0] });
2628
2629
  return /* @__PURE__ */ o.jsxs("div", { className: "mobile:hidden", children: [
2629
2630
  /* @__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: [
2630
2631
  /* @__PURE__ */ o.jsx(f, { name: "brandLogos/logoMain", className: "mr-auto w-[130px]" }),
2631
2632
  t.map((a) => {
2632
2633
  const l = n.root.title === a.title;
2633
2634
  return /* @__PURE__ */ o.jsx(
2634
- io,
2635
+ lo,
2635
2636
  {
2636
2637
  category: a,
2637
2638
  selectedCategory: n.current,
2638
- onCurrentCategoryChange: (u) => i(Jn(u)),
2639
- onRootCategoryChange: (u) => i(Gn(u)),
2639
+ onCurrentCategoryChange: (u) => i(eo(u)),
2640
+ onRootCategoryChange: (u) => i(to(u)),
2640
2641
  active: l
2641
2642
  },
2642
2643
  a.title
@@ -2665,9 +2666,9 @@ const Yn = (t, e) => {
2665
2666
  }
2666
2667
  )
2667
2668
  ] }),
2668
- /* @__PURE__ */ o.jsx(oo, { categories: n.current.children })
2669
+ /* @__PURE__ */ o.jsx(ao, { categories: n.current.children })
2669
2670
  ] });
2670
- }, lo = ({ category: t }) => /* @__PURE__ */ o.jsx(
2671
+ }, mo = ({ category: t }) => /* @__PURE__ */ o.jsx(
2671
2672
  de,
2672
2673
  {
2673
2674
  label: t.title ?? "",
@@ -2708,18 +2709,18 @@ const Yn = (t, e) => {
2708
2709
  }) })
2709
2710
  },
2710
2711
  t.title
2711
- ), uo = (t) => t.map((e) => ({
2712
+ ), xo = (t) => t.map((e) => ({
2712
2713
  value: e.title ?? "",
2713
2714
  label: e.title ?? ""
2714
- })), mo = ({ categories: t, helpers: e, phone: r, ...n }) => {
2715
- const i = uo(t), [a, l] = O(i[0]), u = (m) => {
2715
+ })), ho = ({ categories: t, helpers: e, phone: r, ...n }) => {
2716
+ const i = xo(t), [a, l] = O(i[0]), u = (m) => {
2716
2717
  _.isUndefined(m) || _.isArray(m) || l(m);
2717
2718
  }, x = ge(() => {
2718
2719
  var m;
2719
2720
  return _.isUndefined(a) || _.isArray(a) ? [] : ((m = t.find((p) => p.title === a.value)) == null ? void 0 : m.children) ?? [];
2720
2721
  }, [a, t]);
2721
2722
  return /* @__PURE__ */ o.jsxs(
2722
- se.div,
2723
+ Re.div,
2723
2724
  {
2724
2725
  ...n,
2725
2726
  className: d(
@@ -2734,7 +2735,7 @@ const Yn = (t, e) => {
2734
2735
  /* @__PURE__ */ o.jsx(Se.SelectBase, { label: "Категория", options: i, value: a, onChange: u }),
2735
2736
  /* @__PURE__ */ o.jsx("div", { className: "flex w-full flex-col items-center justify-center gap-y-1", children: x.map((m) => {
2736
2737
  var p;
2737
- 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(lo, { category: m }, m.title);
2738
+ 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(mo, { category: m }, m.title);
2738
2739
  }) }),
2739
2740
  /* @__PURE__ */ o.jsx("div", { className: "h-[1px] w-full bg-color-blue-grey-200" }),
2740
2741
  /* @__PURE__ */ o.jsxs("div", { className: "flex w-full flex-col items-center justify-center gap-y-1", children: [
@@ -2753,9 +2754,9 @@ const Yn = (t, e) => {
2753
2754
  ]
2754
2755
  }
2755
2756
  );
2756
- }, xo = ({ categories: t, helpers: e, phone: r }) => {
2757
+ }, po = ({ categories: t, helpers: e, phone: r }) => {
2757
2758
  var x, m, p;
2758
- const n = He(null), i = (x = n.current) == null ? void 0 : x.getBoundingClientRect(), [a, l] = O(!1), u = () => l(!a);
2759
+ const n = ze(null), i = (x = n.current) == null ? void 0 : x.getBoundingClientRect(), [a, l] = O(!1), u = () => l(!a);
2759
2760
  return /* @__PURE__ */ o.jsxs(
2760
2761
  "div",
2761
2762
  {
@@ -2764,9 +2765,9 @@ const Yn = (t, e) => {
2764
2765
  children: [
2765
2766
  /* @__PURE__ */ o.jsx(f, { name: "brandLogos/logoMain", className: "w-[130px]" }),
2766
2767
  /* @__PURE__ */ o.jsx("button", { type: "button", onClick: u, className: "h-max w-max", children: /* @__PURE__ */ o.jsx(f, { name: a ? "general/close" : "general/menu", className: "size-6 text-color-primary-default" }) }),
2767
- a && St(
2768
+ a && It(
2768
2769
  /* @__PURE__ */ o.jsx(
2769
- mo,
2770
+ ho,
2770
2771
  {
2771
2772
  categories: t,
2772
2773
  helpers: e,
@@ -2785,22 +2786,22 @@ const Yn = (t, e) => {
2785
2786
  }, pt = ({ categories: t, helpers: e, phone: r, breadcrumbs: n, classes: i }) => {
2786
2787
  const { isMobile: a } = le();
2787
2788
  return /* @__PURE__ */ o.jsx("div", { id: g.seoHeader, "data-test-id": g.seoHeader, className: d("w-full bg-color-white", i == null ? void 0 : i.root), children: /* @__PURE__ */ o.jsxs(F, { className: "mx-auto w-full", children: [
2788
- /* @__PURE__ */ o.jsx(xo, { categories: t.map((l) => l.children).flat(), helpers: e, phone: r }),
2789
- /* @__PURE__ */ o.jsx(ao, { categories: t, helpers: e, phone: r }),
2789
+ /* @__PURE__ */ o.jsx(po, { categories: t.map((l) => l.children).flat(), helpers: e, phone: r }),
2790
+ /* @__PURE__ */ o.jsx(uo, { categories: t, helpers: e, phone: r }),
2790
2791
  /* @__PURE__ */ o.jsx(
2791
- Zn,
2792
+ Xn,
2792
2793
  {
2793
2794
  ellipsis: a ? 1 : void 0,
2794
2795
  breadcrumbs: n,
2795
- matcher: (l) => ({ label: ir(l.label).split("-").join(" ") })
2796
+ matcher: (l) => ({ label: ar(l.label).split("-").join(" ") })
2796
2797
  }
2797
2798
  )
2798
2799
  ] }) });
2799
- }, ho = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
2800
+ }, co = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
2800
2801
  __proto__: null,
2801
2802
  SeoHeader: pt,
2802
2803
  default: pt
2803
- }, Symbol.toStringTag, { value: "Module" })), Bt = (t) => typeof t != "string" && "formula" in t, Et = (t, e) => {
2804
+ }, Symbol.toStringTag, { value: "Module" })), Et = (t) => typeof t != "string" && "formula" in t, Pt = (t, e) => {
2804
2805
  let r = e;
2805
2806
  const n = {
2806
2807
  style: t
@@ -2816,26 +2817,26 @@ const Yn = (t, e) => {
2816
2817
  return null;
2817
2818
  }
2818
2819
  return new Intl.NumberFormat("ru-RU", n).format(r);
2819
- }, po = (t, e) => {
2820
+ }, fo = (t, e) => {
2820
2821
  switch (t) {
2821
2822
  case "text":
2822
2823
  return e;
2823
2824
  default:
2824
- return Et(t, Number(e));
2825
+ return Pt(t, Number(e));
2825
2826
  }
2826
- }, co = (t) => Object.values(t).reduce((r, n) => r.merge(Ve(n.fields)), Le({})), fo = (t, e) => (t.match(/[a-zA-Z_$][a-zA-Z0-9_$]*/g) || []).filter((i) => !(i in e)).length > 0 ? "" : t, Pt = (t, e) => {
2827
- const r = Object.entries(e).map(([x, m]) => [x, _.isNil(m) ? "1" : m]), n = r.map(([x]) => x), i = r.map(([, x]) => x), a = fo(t, Object.fromEntries(r)), u = new Function(...n, `return ${a};`)(...i.map(Number));
2827
+ }, go = (t) => Object.values(t).reduce((r, n) => r.merge(Ve(n.fields)), Le({})), bo = (t, e) => (t.match(/[a-zA-Z_$][a-zA-Z0-9_$]*/g) || []).filter((i) => !(i in e)).length > 0 ? "" : t, st = (t, e) => {
2828
+ const r = Object.entries(e).map(([x, m]) => [x, _.isNil(m) ? "1" : m]), n = r.map(([x]) => x), i = r.map(([, x]) => x), a = bo(t, Object.fromEntries(r)), u = new Function(...n, `return ${a};`)(...i.map(Number));
2828
2829
  return Number.isNaN(Number(u)) ? "0" : u.toString();
2829
- }, go = (t, e) => t.map((r) => ({
2830
+ }, jo = (t, e) => t.map((r) => ({
2830
2831
  ...r,
2831
- value: Bt(r.value) ? Pt(r.value.formula, e) : r.value
2832
- })), bo = ({ subtitle: t, title: e, classes: r }) => /* @__PURE__ */ o.jsx(o.Fragment, { children: (e || t) && /* @__PURE__ */ o.jsxs("div", { className: d("flex flex-col gap-2", r == null ? void 0 : r.wrapper), children: [
2833
- e && /* @__PURE__ */ o.jsx(D, { as: "h3", className: r == null ? void 0 : r.title, children: e }),
2832
+ value: Et(r.value) ? st(r.value.formula, e) : r.value
2833
+ })), yo = ({ subtitle: t, title: e, classes: r }) => /* @__PURE__ */ o.jsx(o.Fragment, { children: (e || t) && /* @__PURE__ */ o.jsxs("div", { className: d("flex flex-col gap-2", r == null ? void 0 : r.wrapper), children: [
2834
+ e && /* @__PURE__ */ o.jsx(s, { as: "h3", className: r == null ? void 0 : r.title, children: e }),
2834
2835
  t && /* @__PURE__ */ o.jsx("div", { className: d("desk-body-regular-l text-color-dark", r == null ? void 0 : r.subtitle), children: t })
2835
- ] }) }), jo = ({ rootDescription: t, rootValue: e, suffix: r, classes: n }) => /* @__PURE__ */ o.jsxs("div", { className: d("mb-6 flex items-center justify-between gap-6", n == null ? void 0 : n.wrapper), children: [
2836
+ ] }) }), ko = ({ rootDescription: t, rootValue: e, suffix: r, classes: n }) => /* @__PURE__ */ o.jsxs("div", { className: d("mb-6 flex items-center justify-between gap-6", n == null ? void 0 : n.wrapper), children: [
2836
2837
  /* @__PURE__ */ o.jsx("p", { className: d("desk-body-regular-l text-color-dark", n == null ? void 0 : n.description), children: t }),
2837
- /* @__PURE__ */ o.jsx("div", { className: d("desk-title-bold-l flex items-center gap-1 text-color-dark", n == null ? void 0 : n.value), children: Et(r, Number(e)) })
2838
- ] }), yo = ({ hint: t, value: e, label: r, mode: n, color: i = "dark", accent: a = !1 }) => /* @__PURE__ */ o.jsxs("div", { className: "flex items-center justify-between gap-4", children: [
2838
+ /* @__PURE__ */ o.jsx("div", { className: d("desk-title-bold-l flex items-center gap-1 text-color-dark", n == null ? void 0 : n.value), children: Pt(r, Number(e)) })
2839
+ ] }), wo = ({ hint: t, value: e, label: r, mode: n, color: i = "dark", accent: a = !1 }) => /* @__PURE__ */ o.jsxs("div", { className: "flex items-center justify-between gap-4", children: [
2839
2840
  /* @__PURE__ */ o.jsxs("div", { className: "flex items-center gap-2", children: [
2840
2841
  /* @__PURE__ */ o.jsx("p", { className: "desk-body-regular-l text-color-dark", children: r }),
2841
2842
  t && /* @__PURE__ */ o.jsx(
@@ -2854,13 +2855,13 @@ const Yn = (t, e) => {
2854
2855
  "[&&]:desk-title-bold-s": a,
2855
2856
  "text-color-primary-default": i === "blue"
2856
2857
  }),
2857
- children: po(n, e)
2858
+ children: fo(n, e)
2858
2859
  }
2859
2860
  )
2860
- ] }), ko = ({ infoList: t, classes: e }) => {
2861
- const { watch: r } = Oe(), n = r(), i = go(t, n);
2862
- return /* @__PURE__ */ o.jsx("div", { className: d("my-4 flex flex-col gap-3 border-t border-solid border-blue-grey-500 pt-4", e == null ? void 0 : e.wrapper), children: i == null ? void 0 : i.map((a) => /* @__PURE__ */ o.jsx(yo, { ...a }, a.label)) });
2863
- }, wo = ({ iconName: t, text: e, hint: r, classes: n, popoverProps: i }) => /* @__PURE__ */ o.jsxs("div", { className: d("mb-6 flex items-center gap-2", n == null ? void 0 : n.wrapper), children: [
2861
+ ] }), vo = ({ infoList: t, classes: e }) => {
2862
+ const { watch: r } = Oe(), n = r(), i = jo(t, n);
2863
+ return /* @__PURE__ */ o.jsx("div", { className: d("my-4 flex flex-col gap-3 border-t border-solid border-blue-grey-500 pt-4", e == null ? void 0 : e.wrapper), children: i == null ? void 0 : i.map((a) => /* @__PURE__ */ o.jsx(wo, { ...a }, a.label)) });
2864
+ }, No = ({ iconName: t, text: e, hint: r, classes: n, popoverProps: i }) => /* @__PURE__ */ o.jsxs("div", { className: d("mb-6 flex items-center gap-2", n == null ? void 0 : n.wrapper), children: [
2864
2865
  /* @__PURE__ */ o.jsxs("div", { className: d("flex items-center gap-1", n == null ? void 0 : n.block), children: [
2865
2866
  /* @__PURE__ */ o.jsx(f, { name: t, className: d("size-6 text-icon-blue-grey-800", n == null ? void 0 : n.icon) }),
2866
2867
  /* @__PURE__ */ o.jsx("p", { className: d("desk-body-regular-l text-color-tetriary", n == null ? void 0 : n.description), children: e })
@@ -2874,11 +2875,11 @@ const Yn = (t, e) => {
2874
2875
  children: r
2875
2876
  }
2876
2877
  )
2877
- ] }), vo = ({ assistHint: t, buttonsConfig: e, bottomDescription: r, classes: n }) => /* @__PURE__ */ o.jsxs("div", { children: [
2878
- t && /* @__PURE__ */ o.jsx(wo, { ...t, classes: n == null ? void 0 : n.assistHint }),
2878
+ ] }), Co = ({ assistHint: t, buttonsConfig: e, bottomDescription: r, classes: n }) => /* @__PURE__ */ o.jsxs("div", { children: [
2879
+ t && /* @__PURE__ */ o.jsx(No, { ...t, classes: n == null ? void 0 : n.assistHint }),
2879
2880
  /* @__PURE__ */ o.jsx("div", { className: d("flex items-center gap-4 mobile:flex-col", n == null ? void 0 : n.buttonsWrapper), children: e == null ? void 0 : e.map((i, a) => /* @__PURE__ */ o.jsx(ee, { className: "w-full", ...i }, a)) }),
2880
2881
  r && /* @__PURE__ */ o.jsx("p", { className: d("desk-body-regular-m mt-4 text-color-secondary", n == null ? void 0 : n.bottomDescription), children: r })
2881
- ] }), No = ({
2882
+ ] }), So = ({
2882
2883
  rootDescription: t,
2883
2884
  bottomDescription: e,
2884
2885
  rootValue: r,
@@ -2891,7 +2892,7 @@ const Yn = (t, e) => {
2891
2892
  classes: m
2892
2893
  }) => /* @__PURE__ */ o.jsxs("div", { className: d("w-[456px] rounded-md bg-color-blue-grey-100 p-8", m == null ? void 0 : m.wrapper), children: [
2893
2894
  /* @__PURE__ */ o.jsx(
2894
- jo,
2895
+ ko,
2895
2896
  {
2896
2897
  suffix: u,
2897
2898
  rootValue: r,
@@ -2899,10 +2900,10 @@ const Yn = (t, e) => {
2899
2900
  classes: m == null ? void 0 : m.calculatedBlock
2900
2901
  }
2901
2902
  ),
2902
- /* @__PURE__ */ o.jsx(bo, { title: n, subtitle: i, classes: m == null ? void 0 : m.calculatedInfoHead }),
2903
- /* @__PURE__ */ o.jsx(ko, { infoList: l, classes: m == null ? void 0 : m.calculatorInfoBody }),
2903
+ /* @__PURE__ */ o.jsx(yo, { title: n, subtitle: i, classes: m == null ? void 0 : m.calculatedInfoHead }),
2904
+ /* @__PURE__ */ o.jsx(vo, { infoList: l, classes: m == null ? void 0 : m.calculatorInfoBody }),
2904
2905
  /* @__PURE__ */ o.jsx(
2905
- vo,
2906
+ Co,
2906
2907
  {
2907
2908
  assistHint: x,
2908
2909
  buttonsConfig: a,
@@ -2910,14 +2911,14 @@ const Yn = (t, e) => {
2910
2911
  classes: m == null ? void 0 : m.calculatorInfoFooter
2911
2912
  }
2912
2913
  )
2913
- ] }), Co = 2e4, Dt = ({
2914
+ ] }), Io = 2e4, Dt = ({
2914
2915
  slidersGroupConfig: t,
2915
2916
  additionalSliderGroupConfig: e
2916
2917
  }) => {
2917
- const [r, n] = O(!1), { watch: i, setValue: a } = Oe(), l = t == null ? void 0 : t.fields.find(({ args: P }) => P.name === "sum"), { args: u } = l || {}, { max: x, name: m, defaultValue: p } = u || {}, c = i(m), { min: S, name: y } = (e == null ? void 0 : e.args) ?? {}, B = i(y), k = Number(x ?? 0) - (c ?? p);
2918
+ const [r, n] = O(!1), { watch: i, setValue: a } = Oe(), l = t == null ? void 0 : t.fields.find(({ args: P }) => P.name === "sum"), { args: u } = l || {}, { max: x, name: m, defaultValue: p } = u || {}, c = i(m), { min: S, name: y } = (e == null ? void 0 : e.args) ?? {}, E = i(y), k = Number(x ?? 0) - (c ?? p);
2918
2919
  return ve(() => {
2919
- B > k && a(y, k);
2920
- }, [k, B, a, c]), ve(() => {
2920
+ E > k && a(y, k);
2921
+ }, [k, E, a, c]), ve(() => {
2921
2922
  Number(x) === c && n(!1);
2922
2923
  }, [n, x, c]), {
2923
2924
  sliderVisible: r,
@@ -2928,19 +2929,19 @@ const Yn = (t, e) => {
2928
2929
  sumValue: c,
2929
2930
  additionalSliderMax: k,
2930
2931
  onCheckedChange: () => {
2931
- n((P) => !P), B <= 0 && a(y, S), Number(x) === c && (a(m ?? "", c - Co), a(y, S));
2932
+ n((P) => !P), E <= 0 && a(y, S), Number(x) === c && (a(m ?? "", c - Io), a(y, S));
2932
2933
  },
2933
2934
  sliderSumExist: !_.isObjectEmpty(l == null ? void 0 : l.args),
2934
2935
  sliderSumCorrectType: (l == null ? void 0 : l.args.componentType) === "algorithmic" || (l == null ? void 0 : l.args.componentType) === "step"
2935
2936
  };
2936
- }, So = (t) => {
2937
+ }, Mo = (t) => {
2937
2938
  switch (t) {
2938
2939
  case "content1":
2939
2940
  return /* @__PURE__ */ o.jsx("div", { children: "content 1" });
2940
2941
  case "content2":
2941
2942
  return /* @__PURE__ */ o.jsx("div", { children: "content 2" });
2942
2943
  }
2943
- }, Io = ({
2944
+ }, _o = ({
2944
2945
  triggerText: t,
2945
2946
  modalTitle: e,
2946
2947
  description: r,
@@ -2948,7 +2949,7 @@ const Yn = (t, e) => {
2948
2949
  modalProps: i,
2949
2950
  contentVariant: a
2950
2951
  }) => {
2951
- const [l, u] = mr(!1);
2952
+ const [l, u] = xr(!1);
2952
2953
  return /* @__PURE__ */ o.jsxs("div", { className: d("flex flex-col gap-4 rounded-sm bg-color-blue-grey-100 p-4", n == null ? void 0 : n.wrapper), children: [
2953
2954
  r && /* @__PURE__ */ o.jsx("p", { className: d("desk-body-regular-l text-color-tetriary", n == null ? void 0 : n.description), children: r }),
2954
2955
  /* @__PURE__ */ o.jsx(
@@ -2962,12 +2963,12 @@ const Yn = (t, e) => {
2962
2963
  children: t
2963
2964
  }
2964
2965
  ),
2965
- /* @__PURE__ */ o.jsx(tr, { title: e, isModalOpen: l, closeModal: () => u(!1), ...i, children: So(a) })
2966
+ /* @__PURE__ */ o.jsx(rr, { title: e, isModalOpen: l, closeModal: () => u(!1), ...i, children: Mo(a) })
2966
2967
  ] });
2967
2968
  }, J = ({ fields: t }) => {
2968
2969
  const { control: e } = Oe();
2969
2970
  return /* @__PURE__ */ o.jsx(Qe, { control: e, fields: t });
2970
- }, Mo = ({
2971
+ }, Oo = ({
2971
2972
  slidersGroupConfig: t,
2972
2973
  additionalSliderGroupConfig: e,
2973
2974
  classes: r
@@ -2982,7 +2983,7 @@ const Yn = (t, e) => {
2982
2983
  /* @__PURE__ */ o.jsx("p", { className: "desk-body-regular-l", children: "Хочу получить деньги дополнительно" })
2983
2984
  ] }),
2984
2985
  i && /* @__PURE__ */ o.jsx(
2985
- Re.SliderControl,
2986
+ De.SliderControl,
2986
2987
  {
2987
2988
  ...e.args,
2988
2989
  control: n,
@@ -2993,14 +2994,14 @@ const Yn = (t, e) => {
2993
2994
  }
2994
2995
  )
2995
2996
  ] });
2996
- }, _o = ({ modalConfig: t, fieldsGroup: e, classes: r }) => {
2997
+ }, To = ({ modalConfig: t, fieldsGroup: e, classes: r }) => {
2997
2998
  var a;
2998
2999
  const { sliderSumExist: n, sliderSumCorrectType: i } = Dt({
2999
3000
  slidersGroupConfig: e.slidersGroupConfig,
3000
3001
  additionalSliderGroupConfig: e.additionalSliderGroupConfig
3001
3002
  });
3002
3003
  return /* @__PURE__ */ o.jsxs("div", { className: d("flex flex-1 flex-col gap-8", r == null ? void 0 : r.rootFieldsWrapper), children: [
3003
- (t == null ? void 0 : t.triggerText) && (t == null ? void 0 : t.contentVariant) && /* @__PURE__ */ o.jsx(Io, { classes: r == null ? void 0 : r.modalClasses, ...t }),
3004
+ (t == null ? void 0 : t.triggerText) && (t == null ? void 0 : t.contentVariant) && /* @__PURE__ */ o.jsx(_o, { classes: r == null ? void 0 : r.modalClasses, ...t }),
3004
3005
  (e == null ? void 0 : e.selectGroupConfig) && /* @__PURE__ */ o.jsx("div", { className: d("flex flex-col gap-4", r == null ? void 0 : r.selectFieldsWrapper), children: /* @__PURE__ */ o.jsx(J, { ...e == null ? void 0 : e.selectGroupConfig }) }),
3005
3006
  (e == null ? void 0 : e.slidersGroupConfig) && /* @__PURE__ */ o.jsx(J, { ...e == null ? void 0 : e.slidersGroupConfig }),
3006
3007
  (e == null ? void 0 : e.radioGroupTabConfig) && /* @__PURE__ */ o.jsx(J, { ...e == null ? void 0 : e.radioGroupTabConfig }),
@@ -3009,14 +3010,14 @@ const Yn = (t, e) => {
3009
3010
  (e == null ? void 0 : e.radioGroupCardConfig) && /* @__PURE__ */ o.jsx(J, { ...e == null ? void 0 : e.radioGroupCardConfig }),
3010
3011
  (e == null ? void 0 : e.switchGroupConfig) && /* @__PURE__ */ o.jsx("div", { className: d("flex flex-col gap-4", r == null ? void 0 : r.switchFieldsWrapper), children: /* @__PURE__ */ o.jsx(J, { ...e == null ? void 0 : e.switchGroupConfig }) }),
3011
3012
  ((a = e.additionalSliderGroupConfig) == null ? void 0 : a.args.enabled) && e.slidersGroupConfig && e.additionalSliderGroupConfig && n && i && /* @__PURE__ */ o.jsx(
3012
- Mo,
3013
+ Oo,
3013
3014
  {
3014
3015
  slidersGroupConfig: e.slidersGroupConfig,
3015
3016
  additionalSliderGroupConfig: e.additionalSliderGroupConfig
3016
3017
  }
3017
3018
  )
3018
3019
  ] });
3019
- }, Oo = fe(({ calculatorTabs: t, activeCalculator: e, setActiveCalculator: r, classes: n }) => /* @__PURE__ */ o.jsx("div", { className: d("mb-8 flex items-center gap-4", n == null ? void 0 : n.wrapper), children: t == null ? void 0 : t.map(({ name: i, label: a }) => /* @__PURE__ */ o.jsx(
3020
+ }, Fo = fe(({ calculatorTabs: t, activeCalculator: e, setActiveCalculator: r, classes: n }) => /* @__PURE__ */ o.jsx("div", { className: d("mb-8 flex items-center gap-4", n == null ? void 0 : n.wrapper), children: t == null ? void 0 : t.map(({ name: i, label: a }) => /* @__PURE__ */ o.jsx(
3020
3021
  "button",
3021
3022
  {
3022
3023
  onClick: () => r(i),
@@ -3028,31 +3029,31 @@ const Yn = (t, e) => {
3028
3029
  children: a
3029
3030
  },
3030
3031
  i
3031
- )) })), To = ({
3032
+ )) })), Bo = ({
3032
3033
  calculatorInfoConfig: t,
3033
3034
  calculatorFieldsConfig: e,
3034
3035
  classes: r
3035
3036
  }) => {
3036
- const n = co(e == null ? void 0 : e.fieldsGroup), i = _e({
3037
+ const n = go(e == null ? void 0 : e.fieldsGroup), i = _e({
3037
3038
  schema: n,
3038
3039
  mode: "onBlur",
3039
3040
  defaultValues: Te.getZodDefaults(n)
3040
3041
  }), a = i.watch(), { rootValue: l } = t;
3041
3042
  ve(() => {
3042
- ar.setItem("calculatorData", JSON.stringify(a));
3043
+ dr.setItem("calculatorData", JSON.stringify(a));
3043
3044
  }, [a]);
3044
- const u = Bt(l) ? Pt(l.formula, a) : l, x = { ...t, rootValue: u };
3045
- return /* @__PURE__ */ o.jsx(lr, { ...i, children: /* @__PURE__ */ o.jsxs("div", { className: d("flex items-start gap-16", r == null ? void 0 : r.wrapper), children: [
3046
- /* @__PURE__ */ o.jsx(_o, { ...e, classes: r == null ? void 0 : r.calculatorFields }),
3047
- /* @__PURE__ */ o.jsx(No, { ...x, classes: r == null ? void 0 : r.calculatorInfo })
3045
+ const u = Et(l) ? st(l.formula, a) : l, x = { ...t, rootValue: u };
3046
+ return /* @__PURE__ */ o.jsx(ur, { ...i, children: /* @__PURE__ */ o.jsxs("div", { className: d("flex items-start gap-16", r == null ? void 0 : r.wrapper), children: [
3047
+ /* @__PURE__ */ o.jsx(To, { ...e, classes: r == null ? void 0 : r.calculatorFields }),
3048
+ /* @__PURE__ */ o.jsx(So, { ...x, classes: r == null ? void 0 : r.calculatorInfo })
3048
3049
  ] }) });
3049
3050
  }, ct = ({ calculators: t, headline: e, classes: r }) => {
3050
3051
  var m;
3051
3052
  const n = t.length > 1, [i, a] = O(n ? (m = t[0]) == null ? void 0 : m.name : ""), l = ge(() => t == null ? void 0 : t.map(({ name: p, label: c }) => ({ name: p, label: c })), [t]), u = n ? l == null ? void 0 : l.findIndex((p) => p.name === i) : 0, x = t[u];
3052
3053
  return /* @__PURE__ */ o.jsx("section", { id: g.calculator, "data-test-id": g.calculator, className: d(r == null ? void 0 : r.root), children: /* @__PURE__ */ o.jsx(F, { className: d(r == null ? void 0 : r.container), children: /* @__PURE__ */ o.jsxs("div", { className: d(r == null ? void 0 : r.wrapper), children: [
3053
- /* @__PURE__ */ o.jsx(D, { className: d("mb-12", r == null ? void 0 : r.headline), as: "h2", children: e }),
3054
+ /* @__PURE__ */ o.jsx(s, { className: d("mb-12", r == null ? void 0 : r.headline), as: "h2", children: e }),
3054
3055
  n && /* @__PURE__ */ o.jsx(
3055
- Oo,
3056
+ Fo,
3056
3057
  {
3057
3058
  calculatorTabs: l,
3058
3059
  activeCalculator: i,
@@ -3061,7 +3062,7 @@ const Yn = (t, e) => {
3061
3062
  }
3062
3063
  ),
3063
3064
  /* @__PURE__ */ o.jsx(
3064
- To,
3065
+ Bo,
3065
3066
  {
3066
3067
  name: x.name,
3067
3068
  label: x.label,
@@ -3071,11 +3072,11 @@ const Yn = (t, e) => {
3071
3072
  }
3072
3073
  )
3073
3074
  ] }) }) });
3074
- }, Fo = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
3075
+ }, Eo = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
3075
3076
  __proto__: null,
3076
3077
  Calculator: ct,
3077
3078
  default: ct
3078
- }, Symbol.toStringTag, { value: "Module" })), Bo = ({ linksList: t, classes: e }) => /* @__PURE__ */ o.jsx("div", { className: d("mt-4 flex flex-wrap items-center gap-4 desktop:mt-12 desktop:gap-8", e == null ? void 0 : e.list), children: t == null ? void 0 : t.map((r, n) => /* @__PURE__ */ o.jsx(ce, { withUnderline: !0, size: "md", classes: e == null ? void 0 : e.customLink, ...r }, n)) }), Eo = ({
3079
+ }, Symbol.toStringTag, { value: "Module" })), Po = ({ linksList: t, classes: e }) => /* @__PURE__ */ o.jsx("div", { className: d("mt-4 flex flex-wrap items-center gap-4 desktop:mt-12 desktop:gap-8", e == null ? void 0 : e.list), children: t == null ? void 0 : t.map((r, n) => /* @__PURE__ */ o.jsx(ce, { withUnderline: !0, size: "md", classes: e == null ? void 0 : e.customLink, ...r }, n)) }), so = ({
3079
3080
  heading: t,
3080
3081
  buttonsGroup: e,
3081
3082
  imageMobile: r,
@@ -3087,7 +3088,7 @@ const Yn = (t, e) => {
3087
3088
  const u = e && (e == null ? void 0 : e.length) > 0, x = a && (a == null ? void 0 : a.length) > 0;
3088
3089
  return /* @__PURE__ */ o.jsxs("div", { className: d("flex flex-col", l == null ? void 0 : l.wrapper), children: [
3089
3090
  /* @__PURE__ */ o.jsxs("div", { className: d("flex flex-col gap-4 mobile:mb-2", l == null ? void 0 : l.textBlock), children: [
3090
- /* @__PURE__ */ o.jsx(D, { as: "h2", className: d(l == null ? void 0 : l.heading), children: t }),
3091
+ /* @__PURE__ */ o.jsx(s, { as: "h2", className: d(l == null ? void 0 : l.heading), children: t }),
3091
3092
  i && /* @__PURE__ */ o.jsx(
3092
3093
  "p",
3093
3094
  {
@@ -3104,7 +3105,7 @@ const Yn = (t, e) => {
3104
3105
  renderImageCb: n
3105
3106
  }) }),
3106
3107
  u && /* @__PURE__ */ o.jsx("div", { className: d("mt-2 flex items-center gap-3 mobile:flex-col desktop:mt-8 desktop:gap-8", l == null ? void 0 : l.buttonsGroup), children: e == null ? void 0 : e.map((m, p) => /* @__PURE__ */ o.jsx(ee, { className: "w-full desktop:w-[216px]", ...m }, p)) }),
3107
- x && /* @__PURE__ */ o.jsx(Bo, { linksList: a, classes: l == null ? void 0 : l.linksList })
3108
+ x && /* @__PURE__ */ o.jsx(Po, { linksList: a, classes: l == null ? void 0 : l.linksList })
3108
3109
  ] });
3109
3110
  }, ft = (t) => {
3110
3111
  const { size: e = "md", renderImageCb: r, backgroundColor: n = "#F4F8FE", imageDesktop: i, classes: a, ...l } = t;
@@ -3116,7 +3117,7 @@ const Yn = (t, e) => {
3116
3117
  style: { backgroundColor: n },
3117
3118
  className: d("py-14", a == null ? void 0 : a.root),
3118
3119
  children: /* @__PURE__ */ o.jsx(F, { children: /* @__PURE__ */ o.jsxs("div", { className: d("flex items-center justify-between gap-11 mobile:flex-col", a == null ? void 0 : a.container), children: [
3119
- /* @__PURE__ */ o.jsx(Eo, { renderImageCb: r, classes: a == null ? void 0 : a.rootContent, ...l }),
3120
+ /* @__PURE__ */ o.jsx(so, { renderImageCb: r, classes: a == null ? void 0 : a.rootContent, ...l }),
3120
3121
  /* @__PURE__ */ o.jsx(
3121
3122
  "div",
3122
3123
  {
@@ -3135,11 +3136,11 @@ const Yn = (t, e) => {
3135
3136
  ] }) })
3136
3137
  }
3137
3138
  );
3138
- }, Po = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
3139
+ }, Do = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
3139
3140
  __proto__: null,
3140
3141
  InfoBlock: ft,
3141
3142
  default: ft
3142
- }, Symbol.toStringTag, { value: "Module" })), Do = (t) => {
3143
+ }, Symbol.toStringTag, { value: "Module" })), Ro = (t) => {
3143
3144
  const [e, r] = O(0), [n, i] = O(0);
3144
3145
  return {
3145
3146
  selectedRating: e,
@@ -3155,9 +3156,9 @@ const Yn = (t, e) => {
3155
3156
  }
3156
3157
  };
3157
3158
  }, gt = Le({
3158
- review: ze.base.getStringSchema({ required: !1 })
3159
- }), Ro = fe(() => {
3160
- const t = xr({ ids: ["banner"] }), [e, r] = O(!1);
3159
+ review: He.base.getStringSchema({ required: !1 })
3160
+ }), zo = fe(() => {
3161
+ const t = hr({ ids: ["banner"] }), [e, r] = O(!1);
3161
3162
  return ve(() => {
3162
3163
  r(!1);
3163
3164
  const n = setTimeout(() => {
@@ -3174,10 +3175,10 @@ const Yn = (t, e) => {
3174
3175
  children: /* @__PURE__ */ o.jsx(f, { name: "general/heart", className: "size-7 fill-transparent stroke-white stroke-[3px]" })
3175
3176
  }
3176
3177
  );
3177
- }), so = () => /* @__PURE__ */ o.jsxs("div", { className: "flex flex-col items-center gap-4 text-center", children: [
3178
+ }), Ho = () => /* @__PURE__ */ o.jsxs("div", { className: "flex flex-col items-center gap-4 text-center", children: [
3178
3179
  /* @__PURE__ */ o.jsx(f, { name: "status/succesCircle" }),
3179
3180
  /* @__PURE__ */ o.jsx("p", { className: "desk-body-medium-l", children: "Спасибо за оценку!" })
3180
- ] }), Ho = ({ submitCallback: t, rating: e, setFormStep: r }) => {
3181
+ ] }), Lo = ({ submitCallback: t, rating: e, setFormStep: r }) => {
3181
3182
  const { control: n, handleSubmit: i } = _e({
3182
3183
  mode: "onBlur",
3183
3184
  schema: gt,
@@ -3199,10 +3200,10 @@ const Yn = (t, e) => {
3199
3200
  " У вас есть предложения по его улучшению?"
3200
3201
  ] })
3201
3202
  ] }),
3202
- /* @__PURE__ */ o.jsx(Re.TextareaControl, { control: n, name: "review", label: "Поделитесь вашим мнением" }),
3203
+ /* @__PURE__ */ o.jsx(De.TextareaControl, { control: n, name: "review", label: "Поделитесь вашим мнением" }),
3203
3204
  /* @__PURE__ */ o.jsx(pe, { type: "submit", size: "sm", intent: "negative", className: "w-full", children: "Отправить" })
3204
3205
  ] });
3205
- }, zo = Array(5).fill(0), Lo = ({
3206
+ }, Qo = Array(5).fill(0), Vo = ({
3206
3207
  handleMouseLeave: t,
3207
3208
  hoveredRatings: e,
3208
3209
  selectedRating: r,
@@ -3213,7 +3214,7 @@ const Yn = (t, e) => {
3213
3214
  /* @__PURE__ */ o.jsx("p", { className: "desk-body-medium-l", children: "Ваше мнение важно для нас!" }),
3214
3215
  /* @__PURE__ */ o.jsx("p", { className: "desk-body-regular-l", children: "Пожалуйста, оцените работу сайта, чтобы мы сделали его еще удобнее" })
3215
3216
  ] }),
3216
- /* @__PURE__ */ o.jsx("div", { className: "flex items-center gap-2", children: zo.map((a, l) => /* @__PURE__ */ o.jsx(
3217
+ /* @__PURE__ */ o.jsx("div", { className: "flex items-center gap-2", children: Qo.map((a, l) => /* @__PURE__ */ o.jsx(
3217
3218
  "button",
3218
3219
  {
3219
3220
  className: "size-8",
@@ -3232,17 +3233,17 @@ const Yn = (t, e) => {
3232
3233
  },
3233
3234
  l
3234
3235
  )) })
3235
- ] }), Qo = ({ formStep: t, setFormStep: e, ratingProps: r, submitCallback: n }) => {
3236
+ ] }), $o = ({ formStep: t, setFormStep: e, ratingProps: r, submitCallback: n }) => {
3236
3237
  switch (t) {
3237
3238
  case "rating":
3238
- return /* @__PURE__ */ o.jsx(Lo, { ...r });
3239
+ return /* @__PURE__ */ o.jsx(Vo, { ...r });
3239
3240
  case "review":
3240
- return /* @__PURE__ */ o.jsx(Ho, { submitCallback: n, setFormStep: e, rating: r.selectedRating });
3241
+ return /* @__PURE__ */ o.jsx(Lo, { submitCallback: n, setFormStep: e, rating: r.selectedRating });
3241
3242
  case "finally":
3242
- return /* @__PURE__ */ o.jsx(so, {});
3243
+ return /* @__PURE__ */ o.jsx(Ho, {});
3243
3244
  }
3244
- }, ni = ({ submitCallback: t }) => {
3245
- const [e, r] = O("rating"), n = Do(r);
3245
+ }, bt = ({ submitCallback: t }) => {
3246
+ const [e, r] = O("rating"), n = Ro(r);
3246
3247
  return /* @__PURE__ */ o.jsx("div", { className: "fixed right-5 top-[80%] z-[1000]", children: /* @__PURE__ */ o.jsx(
3247
3248
  Ce,
3248
3249
  {
@@ -3254,38 +3255,42 @@ const Yn = (t, e) => {
3254
3255
  classes: {
3255
3256
  content: "max-w-[330px] w-[330px] p-6"
3256
3257
  },
3257
- triggerElement: /* @__PURE__ */ o.jsx(Ro, {}),
3258
- children: /* @__PURE__ */ o.jsx("div", { className: "w-full", children: Qo({ formStep: e, setFormStep: r, ratingProps: n, submitCallback: t }) })
3258
+ triggerElement: /* @__PURE__ */ o.jsx(zo, {}),
3259
+ children: /* @__PURE__ */ o.jsx("div", { className: "w-full", children: $o({ formStep: e, setFormStep: r, ratingProps: n, submitCallback: t }) })
3259
3260
  }
3260
3261
  ) });
3261
- };
3262
+ }, Wo = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
3263
+ __proto__: null,
3264
+ UserFeedback: bt,
3265
+ default: bt
3266
+ }, Symbol.toStringTag, { value: "Module" }));
3262
3267
  export {
3263
- ei as AuthProvider,
3268
+ ni as AuthProvider,
3264
3269
  rt as Banner,
3265
- Qr as BannerWithSeparateImg,
3270
+ $r as BannerWithSeparateImg,
3266
3271
  et as Benefit,
3267
- Zn as Breadcrumbs,
3272
+ Xn as Breadcrumbs,
3268
3273
  ee as ButtonWithHandlers,
3269
3274
  ct as Calculator,
3270
- To as CalculatorView,
3275
+ Bo as CalculatorView,
3271
3276
  xt as DynamicForm,
3272
3277
  ht as DynamicFormDialog,
3273
- ri as FallbacksView,
3278
+ ii as FallbacksView,
3274
3279
  Qe as FieldMapper,
3275
3280
  nt as Footer,
3276
- ti as HTMLParser,
3281
+ oi as HTMLParser,
3277
3282
  ae as HTMLRenderer,
3278
3283
  tt as Header,
3279
3284
  ft as InfoBlock,
3280
3285
  ut as InterLinking,
3281
- Br as KEYS_OF_WIDGET_LIST,
3286
+ Pr as KEYS_OF_WIDGET_LIST,
3282
3287
  it as LongBanner,
3283
3288
  pt as SeoHeader,
3284
3289
  ot as Stepper,
3285
3290
  mt as UsefulInfo,
3286
- ni as UserFeedback,
3287
- Fr as WIDGET_LIST_MAP,
3288
- $n as queryClient,
3291
+ bt as UserFeedback,
3292
+ Er as WIDGET_LIST_MAP,
3293
+ An as queryClient,
3289
3294
  g as widgetIds
3290
3295
  };
3291
3296
  //# sourceMappingURL=widget.js.map