@scbt-ecom/ui 0.61.6 → 0.61.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/widget.js CHANGED
@@ -1,44 +1,44 @@
1
1
  var de = Object.defineProperty;
2
- var Tt = (e) => {
2
+ var Et = (e) => {
3
3
  throw TypeError(e);
4
4
  };
5
5
  var ae = (e, t, r) => t in e ? de(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r;
6
- var it = (e, t, r) => ae(e, typeof t != "symbol" ? t + "" : t, r), gt = (e, t, r) => t.has(e) || Tt("Cannot " + r);
7
- var h = (e, t, r) => (gt(e, t, "read from private field"), r ? r.call(e) : t.get(e)), C = (e, t, r) => t.has(e) ? Tt("Cannot add the same private member more than once") : t instanceof WeakSet ? t.add(e) : t.set(e, r), y = (e, t, r, o) => (gt(e, t, "write to private field"), o ? o.call(e, r) : t.set(e, r), r), q = (e, t, r) => (gt(e, t, "access private method"), r);
8
- var ht = (e, t, r, o) => ({
6
+ var it = (e, t, r) => ae(e, typeof t != "symbol" ? t + "" : t, r), gt = (e, t, r) => t.has(e) || Et("Cannot " + r);
7
+ var h = (e, t, r) => (gt(e, t, "read from private field"), r ? r.call(e) : t.get(e)), C = (e, t, r) => t.has(e) ? Et("Cannot add the same private member more than once") : t instanceof WeakSet ? t.add(e) : t.set(e, r), y = (e, t, r, n) => (gt(e, t, "write to private field"), n ? n.call(e, r) : t.set(e, r), r), q = (e, t, r) => (gt(e, t, "access private method"), r);
8
+ var ht = (e, t, r, n) => ({
9
9
  set _(i) {
10
10
  y(e, t, i, r);
11
11
  },
12
12
  get _() {
13
- return h(e, t, o);
13
+ return h(e, t, n);
14
14
  }
15
15
  });
16
- import { S as Ut, w as Vt, Q as le, x as I, y as Et, z as ue, E as pe, F as It, G as P, J as he, M as me, T as xe, W as fe, X as Mt, Y as Ot, Z as ce, _ as St, $ as Ft, a0 as be, j as n, B as wt, c as M, R as H, l as Wt, r as ge, H as L, i as c, s as ct, p as je, L as ye, n as vt, A as ot, t as ke, a1 as we, q as ve, U as Gt, m as Nt, k as Ne } from "./index-CeBEX-QQ.js";
16
+ import { S as Vt, w as Wt, Q as le, x as I, y as It, z as ue, E as pe, F as Mt, G as P, J as he, M as me, T as xe, W as fe, X as Ot, Y as St, Z as ce, _ as Ft, $ as Bt, a0 as be, j as o, B as vt, c as M, R as H, l as Gt, r as ge, H as L, i as c, s as ct, p as je, L as ye, n as Nt, A as ot, t as ke, a1 as we, q as ve, U as Kt, m as st, k as Ne } from "./index-agLtUw8q.js";
17
17
  import { c as a, T as k } from "./typeGuards-Bhdr9KYW.js";
18
18
  import * as at from "react";
19
- import { useCallback as Kt, useState as G, useMemo as st, createElement as $t, Fragment as se, useEffect as Zt, useRef as Ct, useReducer as Ce, memo as Xt } from "react";
20
- import { s as Te, c as bt, g as Bt, a as Ee } from "./uuid-2wKG15vy.js";
21
- import { i as Jt } from "./isClient-C9aZtt2Q.js";
19
+ import { useCallback as $t, useState as G, useMemo as Ct, createElement as Zt, Fragment as se, useEffect as Xt, useRef as Tt, useReducer as Ce, memo as Jt } from "react";
20
+ import { s as Te, c as bt, g as Rt, a as Ee } from "./uuid-2wKG15vy.js";
21
+ import { i as Yt } from "./isClient-C9aZtt2Q.js";
22
22
  import { a as K, c as Ie, b as Me } from "./useDebounce-QgEEiWs9.js";
23
- import { o as Oe } from "./utils-Cc0awqbk.js";
24
- import { z as Yt, Z as Se } from "./index-DGoeevV2.js";
23
+ import { o as Oe } from "./utils-DaXd4sci.js";
24
+ import { z as te, Z as Se } from "./index-BKXpPQ1s.js";
25
25
  import { u as Fe } from "./useFieldsProgress-BXzIWmGP.js";
26
- import { createPortal as te } from "react-dom";
27
- var F, Qt, Be = (Qt = class extends Ut {
26
+ import { createPortal as ee } from "react-dom";
27
+ var F, zt, Be = (zt = class extends Vt {
28
28
  constructor(t = {}) {
29
29
  super();
30
30
  C(this, F);
31
31
  this.config = t, y(this, F, /* @__PURE__ */ new Map());
32
32
  }
33
- build(t, r, o) {
34
- const i = r.queryKey, d = r.queryHash ?? Vt(i, r);
33
+ build(t, r, n) {
34
+ const i = r.queryKey, d = r.queryHash ?? Wt(i, r);
35
35
  let l = this.get(d);
36
36
  return l || (l = new le({
37
37
  client: t,
38
38
  queryKey: i,
39
39
  queryHash: d,
40
40
  options: t.defaultQueryOptions(r),
41
- state: o,
41
+ state: n,
42
42
  defaultOptions: t.getQueryDefaults(i)
43
43
  }), this.add(l)), l;
44
44
  }
@@ -68,12 +68,12 @@ var F, Qt, Be = (Qt = class extends Ut {
68
68
  find(t) {
69
69
  const r = { exact: !0, ...t };
70
70
  return this.getAll().find(
71
- (o) => Et(r, o)
71
+ (n) => It(r, n)
72
72
  );
73
73
  }
74
74
  findAll(t = {}) {
75
75
  const r = this.getAll();
76
- return Object.keys(t).length > 0 ? r.filter((o) => Et(t, o)) : r;
76
+ return Object.keys(t).length > 0 ? r.filter((n) => It(t, n)) : r;
77
77
  }
78
78
  notify(t) {
79
79
  I.batch(() => {
@@ -96,7 +96,7 @@ var F, Qt, Be = (Qt = class extends Ut {
96
96
  });
97
97
  });
98
98
  }
99
- }, F = new WeakMap(), Qt), B, E, J, R, A, zt, Re = (zt = class extends ue {
99
+ }, F = new WeakMap(), zt), B, E, J, R, A, qt, Re = (qt = class extends ue {
100
100
  constructor(t) {
101
101
  super();
102
102
  C(this, R);
@@ -134,11 +134,11 @@ var F, Qt, Be = (Qt = class extends Ut {
134
134
  this.execute(this.state.variables);
135
135
  }
136
136
  async execute(t) {
137
- var i, d, l, u, p, m, x, f, b, T, N, w, _, $, Q, s, O, z, Z, pt;
137
+ var i, d, l, u, p, m, x, f, b, v, N, T, _, $, Q, s, O, z, Z, pt;
138
138
  y(this, J, pe({
139
139
  fn: () => this.options.mutationFn ? this.options.mutationFn(t) : Promise.reject(new Error("No mutationFn found")),
140
- onFail: (v, X) => {
141
- q(this, R, A).call(this, { type: "failed", failureCount: v, error: X });
140
+ onFail: (w, X) => {
141
+ q(this, R, A).call(this, { type: "failed", failureCount: w, error: X });
142
142
  },
143
143
  onPause: () => {
144
144
  q(this, R, A).call(this, { type: "pause" });
@@ -151,10 +151,10 @@ var F, Qt, Be = (Qt = class extends Ut {
151
151
  networkMode: this.options.networkMode,
152
152
  canRun: () => h(this, E).canRun(this)
153
153
  }));
154
- const r = this.state.status === "pending", o = !h(this, J).canStart();
154
+ const r = this.state.status === "pending", n = !h(this, J).canStart();
155
155
  try {
156
156
  if (!r) {
157
- q(this, R, A).call(this, { type: "pending", variables: t, isPaused: o }), await ((d = (i = h(this, E).config).onMutate) == null ? void 0 : d.call(
157
+ q(this, R, A).call(this, { type: "pending", variables: t, isPaused: n }), await ((d = (i = h(this, E).config).onMutate) == null ? void 0 : d.call(
158
158
  i,
159
159
  t,
160
160
  this
@@ -164,80 +164,80 @@ var F, Qt, Be = (Qt = class extends Ut {
164
164
  type: "pending",
165
165
  context: X,
166
166
  variables: t,
167
- isPaused: o
167
+ isPaused: n
168
168
  });
169
169
  }
170
- const v = await h(this, J).start();
170
+ const w = await h(this, J).start();
171
171
  return await ((m = (p = h(this, E).config).onSuccess) == null ? void 0 : m.call(
172
172
  p,
173
- v,
173
+ w,
174
174
  t,
175
175
  this.state.context,
176
176
  this
177
- )), await ((f = (x = this.options).onSuccess) == null ? void 0 : f.call(x, v, t, this.state.context)), await ((T = (b = h(this, E).config).onSettled) == null ? void 0 : T.call(
177
+ )), await ((f = (x = this.options).onSuccess) == null ? void 0 : f.call(x, w, t, this.state.context)), await ((v = (b = h(this, E).config).onSettled) == null ? void 0 : v.call(
178
178
  b,
179
- v,
179
+ w,
180
180
  null,
181
181
  this.state.variables,
182
182
  this.state.context,
183
183
  this
184
- )), await ((w = (N = this.options).onSettled) == null ? void 0 : w.call(N, v, null, t, this.state.context)), q(this, R, A).call(this, { type: "success", data: v }), v;
185
- } catch (v) {
184
+ )), await ((T = (N = this.options).onSettled) == null ? void 0 : T.call(N, w, null, t, this.state.context)), q(this, R, A).call(this, { type: "success", data: w }), w;
185
+ } catch (w) {
186
186
  try {
187
187
  throw await (($ = (_ = h(this, E).config).onError) == null ? void 0 : $.call(
188
188
  _,
189
- v,
189
+ w,
190
190
  t,
191
191
  this.state.context,
192
192
  this
193
193
  )), await ((s = (Q = this.options).onError) == null ? void 0 : s.call(
194
194
  Q,
195
- v,
195
+ w,
196
196
  t,
197
197
  this.state.context
198
198
  )), await ((z = (O = h(this, E).config).onSettled) == null ? void 0 : z.call(
199
199
  O,
200
200
  void 0,
201
- v,
201
+ w,
202
202
  this.state.variables,
203
203
  this.state.context,
204
204
  this
205
205
  )), await ((pt = (Z = this.options).onSettled) == null ? void 0 : pt.call(
206
206
  Z,
207
207
  void 0,
208
- v,
208
+ w,
209
209
  t,
210
210
  this.state.context
211
- )), v;
211
+ )), w;
212
212
  } finally {
213
- q(this, R, A).call(this, { type: "error", error: v });
213
+ q(this, R, A).call(this, { type: "error", error: w });
214
214
  }
215
215
  } finally {
216
216
  h(this, E).runNext(this);
217
217
  }
218
218
  }
219
219
  }, B = new WeakMap(), E = new WeakMap(), J = new WeakMap(), R = new WeakSet(), A = function(t) {
220
- const r = (o) => {
220
+ const r = (n) => {
221
221
  switch (t.type) {
222
222
  case "failed":
223
223
  return {
224
- ...o,
224
+ ...n,
225
225
  failureCount: t.failureCount,
226
226
  failureReason: t.error
227
227
  };
228
228
  case "pause":
229
229
  return {
230
- ...o,
230
+ ...n,
231
231
  isPaused: !0
232
232
  };
233
233
  case "continue":
234
234
  return {
235
- ...o,
235
+ ...n,
236
236
  isPaused: !1
237
237
  };
238
238
  case "pending":
239
239
  return {
240
- ...o,
240
+ ...n,
241
241
  context: t.context,
242
242
  data: void 0,
243
243
  failureCount: 0,
@@ -250,7 +250,7 @@ var F, Qt, Be = (Qt = class extends Ut {
250
250
  };
251
251
  case "success":
252
252
  return {
253
- ...o,
253
+ ...n,
254
254
  data: t.data,
255
255
  failureCount: 0,
256
256
  failureReason: null,
@@ -260,10 +260,10 @@ var F, Qt, Be = (Qt = class extends Ut {
260
260
  };
261
261
  case "error":
262
262
  return {
263
- ...o,
263
+ ...n,
264
264
  data: void 0,
265
265
  error: t.error,
266
- failureCount: o.failureCount + 1,
266
+ failureCount: n.failureCount + 1,
267
267
  failureReason: t.error,
268
268
  isPaused: !1,
269
269
  status: "error"
@@ -271,15 +271,15 @@ var F, Qt, Be = (Qt = class extends Ut {
271
271
  }
272
272
  };
273
273
  this.state = r(this.state), I.batch(() => {
274
- h(this, B).forEach((o) => {
275
- o.onMutationUpdate(t);
274
+ h(this, B).forEach((n) => {
275
+ n.onMutationUpdate(t);
276
276
  }), h(this, E).notify({
277
277
  mutation: this,
278
278
  type: "updated",
279
279
  action: t
280
280
  });
281
281
  });
282
- }, zt);
282
+ }, qt);
283
283
  function He() {
284
284
  return {
285
285
  context: void 0,
@@ -293,7 +293,7 @@ function He() {
293
293
  submittedAt: 0
294
294
  };
295
295
  }
296
- var D, S, ut, qt, _e = (qt = class extends Ut {
296
+ var D, S, ut, At, _e = (At = class extends Vt {
297
297
  constructor(t = {}) {
298
298
  super();
299
299
  C(this, D);
@@ -301,12 +301,12 @@ var D, S, ut, qt, _e = (qt = class extends Ut {
301
301
  C(this, ut);
302
302
  this.config = t, y(this, D, /* @__PURE__ */ new Set()), y(this, S, /* @__PURE__ */ new Map()), y(this, ut, 0);
303
303
  }
304
- build(t, r, o) {
304
+ build(t, r, n) {
305
305
  const i = new Re({
306
306
  mutationCache: this,
307
307
  mutationId: ++ht(this, ut)._,
308
308
  options: t.defaultMutationOptions(r),
309
- state: o
309
+ state: n
310
310
  });
311
311
  return this.add(i), i;
312
312
  }
@@ -314,8 +314,8 @@ var D, S, ut, qt, _e = (qt = class extends Ut {
314
314
  h(this, D).add(t);
315
315
  const r = mt(t);
316
316
  if (typeof r == "string") {
317
- const o = h(this, S).get(r);
318
- o ? o.push(t) : h(this, S).set(r, [t]);
317
+ const n = h(this, S).get(r);
318
+ n ? n.push(t) : h(this, S).set(r, [t]);
319
319
  }
320
320
  this.notify({ type: "added", mutation: t });
321
321
  }
@@ -323,12 +323,12 @@ var D, S, ut, qt, _e = (qt = class extends Ut {
323
323
  if (h(this, D).delete(t)) {
324
324
  const r = mt(t);
325
325
  if (typeof r == "string") {
326
- const o = h(this, S).get(r);
327
- if (o)
328
- if (o.length > 1) {
329
- const i = o.indexOf(t);
330
- i !== -1 && o.splice(i, 1);
331
- } else o[0] === t && h(this, S).delete(r);
326
+ const n = h(this, S).get(r);
327
+ if (n)
328
+ if (n.length > 1) {
329
+ const i = n.indexOf(t);
330
+ i !== -1 && n.splice(i, 1);
331
+ } else n[0] === t && h(this, S).delete(r);
332
332
  }
333
333
  }
334
334
  this.notify({ type: "removed", mutation: t });
@@ -336,7 +336,7 @@ var D, S, ut, qt, _e = (qt = class extends Ut {
336
336
  canRun(t) {
337
337
  const r = mt(t);
338
338
  if (typeof r == "string") {
339
- const o = h(this, S).get(r), i = o == null ? void 0 : o.find(
339
+ const n = h(this, S).get(r), i = n == null ? void 0 : n.find(
340
340
  (d) => d.state.status === "pending"
341
341
  );
342
342
  return !i || i === t;
@@ -344,10 +344,10 @@ var D, S, ut, qt, _e = (qt = class extends Ut {
344
344
  return !0;
345
345
  }
346
346
  runNext(t) {
347
- var o;
347
+ var n;
348
348
  const r = mt(t);
349
349
  if (typeof r == "string") {
350
- const i = (o = h(this, S).get(r)) == null ? void 0 : o.find((d) => d !== t && d.state.isPaused);
350
+ const i = (n = h(this, S).get(r)) == null ? void 0 : n.find((d) => d !== t && d.state.isPaused);
351
351
  return (i == null ? void 0 : i.continue()) ?? Promise.resolve();
352
352
  } else
353
353
  return Promise.resolve();
@@ -365,11 +365,11 @@ var D, S, ut, qt, _e = (qt = class extends Ut {
365
365
  find(t) {
366
366
  const r = { exact: !0, ...t };
367
367
  return this.getAll().find(
368
- (o) => It(r, o)
368
+ (n) => Mt(r, n)
369
369
  );
370
370
  }
371
371
  findAll(t = {}) {
372
- return this.getAll().filter((r) => It(t, r));
372
+ return this.getAll().filter((r) => Mt(t, r));
373
373
  }
374
374
  notify(t) {
375
375
  I.batch(() => {
@@ -386,28 +386,28 @@ var D, S, ut, qt, _e = (qt = class extends Ut {
386
386
  )
387
387
  );
388
388
  }
389
- }, D = new WeakMap(), S = new WeakMap(), ut = new WeakMap(), qt);
389
+ }, D = new WeakMap(), S = new WeakMap(), ut = new WeakMap(), At);
390
390
  function mt(e) {
391
391
  var t;
392
392
  return (t = e.options.scope) == null ? void 0 : t.id;
393
393
  }
394
- function Rt(e) {
394
+ function Ht(e) {
395
395
  return {
396
396
  onFetch: (t, r) => {
397
- var x, f, b, T, N;
398
- const o = t.options, i = (b = (f = (x = t.fetchOptions) == null ? void 0 : x.meta) == null ? void 0 : f.fetchMore) == null ? void 0 : b.direction, d = ((T = t.state.data) == null ? void 0 : T.pages) || [], l = ((N = t.state.data) == null ? void 0 : N.pageParams) || [];
397
+ var x, f, b, v, N;
398
+ const n = t.options, i = (b = (f = (x = t.fetchOptions) == null ? void 0 : x.meta) == null ? void 0 : f.fetchMore) == null ? void 0 : b.direction, d = ((v = t.state.data) == null ? void 0 : v.pages) || [], l = ((N = t.state.data) == null ? void 0 : N.pageParams) || [];
399
399
  let u = { pages: [], pageParams: [] }, p = 0;
400
400
  const m = async () => {
401
- let w = !1;
401
+ let T = !1;
402
402
  const _ = (s) => {
403
403
  Object.defineProperty(s, "signal", {
404
404
  enumerable: !0,
405
- get: () => (t.signal.aborted ? w = !0 : t.signal.addEventListener("abort", () => {
406
- w = !0;
405
+ get: () => (t.signal.aborted ? T = !0 : t.signal.addEventListener("abort", () => {
406
+ T = !0;
407
407
  }), t.signal)
408
408
  });
409
409
  }, $ = he(t.options, t.fetchOptions), Q = async (s, O, z) => {
410
- if (w)
410
+ if (T)
411
411
  return Promise.reject();
412
412
  if (O == null && s.pages.length)
413
413
  return Promise.resolve(s);
@@ -421,22 +421,22 @@ function Rt(e) {
421
421
  _(Z);
422
422
  const pt = await $(
423
423
  Z
424
- ), { maxPages: v } = t.options, X = z ? me : xe;
424
+ ), { maxPages: w } = t.options, X = z ? me : xe;
425
425
  return {
426
- pages: X(s.pages, pt, v),
427
- pageParams: X(s.pageParams, O, v)
426
+ pages: X(s.pages, pt, w),
427
+ pageParams: X(s.pageParams, O, w)
428
428
  };
429
429
  };
430
430
  if (i && d.length) {
431
- const s = i === "backward", O = s ? Pe : Ht, z = {
431
+ const s = i === "backward", O = s ? Pe : _t, z = {
432
432
  pages: d,
433
433
  pageParams: l
434
- }, Z = O(o, z);
434
+ }, Z = O(n, z);
435
435
  u = await Q(z, Z, s);
436
436
  } else {
437
437
  const s = e ?? d.length;
438
438
  do {
439
- const O = p === 0 ? l[0] ?? o.initialPageParam : Ht(o, u);
439
+ const O = p === 0 ? l[0] ?? n.initialPageParam : _t(n, u);
440
440
  if (p > 0 && O == null)
441
441
  break;
442
442
  u = await Q(u, O), p++;
@@ -445,9 +445,9 @@ function Rt(e) {
445
445
  return u;
446
446
  };
447
447
  t.options.persister ? t.fetchFn = () => {
448
- var w, _;
449
- return (_ = (w = t.options).persister) == null ? void 0 : _.call(
450
- w,
448
+ var T, _;
449
+ return (_ = (T = t.options).persister) == null ? void 0 : _.call(
450
+ T,
451
451
  m,
452
452
  {
453
453
  client: t.client,
@@ -461,20 +461,20 @@ function Rt(e) {
461
461
  }
462
462
  };
463
463
  }
464
- function Ht(e, { pages: t, pageParams: r }) {
465
- const o = t.length - 1;
464
+ function _t(e, { pages: t, pageParams: r }) {
465
+ const n = t.length - 1;
466
466
  return t.length > 0 ? e.getNextPageParam(
467
- t[o],
467
+ t[n],
468
468
  t,
469
- r[o],
469
+ r[n],
470
470
  r
471
471
  ) : void 0;
472
472
  }
473
473
  function Pe(e, { pages: t, pageParams: r }) {
474
- var o;
475
- return t.length > 0 ? (o = e.getPreviousPageParam) == null ? void 0 : o.call(e, t[0], t, r[0], r) : void 0;
474
+ var n;
475
+ return t.length > 0 ? (n = e.getPreviousPageParam) == null ? void 0 : n.call(e, t[0], t, r[0], r) : void 0;
476
476
  }
477
- var g, U, V, tt, et, W, rt, nt, At, De = (At = class {
477
+ var g, U, V, tt, et, W, rt, nt, Ut, De = (Ut = class {
478
478
  constructor(e = {}) {
479
479
  C(this, g);
480
480
  C(this, U);
@@ -489,7 +489,7 @@ var g, U, V, tt, et, W, rt, nt, At, De = (At = class {
489
489
  mount() {
490
490
  ht(this, W)._++, h(this, W) === 1 && (y(this, rt, fe.subscribe(async (e) => {
491
491
  e && (await this.resumePausedMutations(), h(this, g).onFocus());
492
- })), y(this, nt, Mt.subscribe(async (e) => {
492
+ })), y(this, nt, Ot.subscribe(async (e) => {
493
493
  e && (await this.resumePausedMutations(), h(this, g).onOnline());
494
494
  })));
495
495
  }
@@ -509,27 +509,27 @@ var g, U, V, tt, et, W, rt, nt, At, De = (At = class {
509
509
  return (r = h(this, g).get(t.queryHash)) == null ? void 0 : r.state.data;
510
510
  }
511
511
  ensureQueryData(e) {
512
- const t = this.defaultQueryOptions(e), r = h(this, g).build(this, t), o = r.state.data;
513
- return o === void 0 ? this.fetchQuery(e) : (e.revalidateIfStale && r.isStaleByTime(Ot(t.staleTime, r)) && this.prefetchQuery(t), Promise.resolve(o));
512
+ const t = this.defaultQueryOptions(e), r = h(this, g).build(this, t), n = r.state.data;
513
+ return n === void 0 ? this.fetchQuery(e) : (e.revalidateIfStale && r.isStaleByTime(St(t.staleTime, r)) && this.prefetchQuery(t), Promise.resolve(n));
514
514
  }
515
515
  getQueriesData(e) {
516
516
  return h(this, g).findAll(e).map(({ queryKey: t, state: r }) => {
517
- const o = r.data;
518
- return [t, o];
517
+ const n = r.data;
518
+ return [t, n];
519
519
  });
520
520
  }
521
521
  setQueryData(e, t, r) {
522
- const o = this.defaultQueryOptions({ queryKey: e }), i = h(this, g).get(
523
- o.queryHash
522
+ const n = this.defaultQueryOptions({ queryKey: e }), i = h(this, g).get(
523
+ n.queryHash
524
524
  ), d = i == null ? void 0 : i.state.data, l = ce(t, d);
525
525
  if (l !== void 0)
526
- return h(this, g).build(this, o).setData(l, { ...r, manual: !0 });
526
+ return h(this, g).build(this, n).setData(l, { ...r, manual: !0 });
527
527
  }
528
528
  setQueriesData(e, t, r) {
529
529
  return I.batch(
530
- () => h(this, g).findAll(e).map(({ queryKey: o }) => [
531
- o,
532
- this.setQueryData(o, t, r)
530
+ () => h(this, g).findAll(e).map(({ queryKey: n }) => [
531
+ n,
532
+ this.setQueryData(n, t, r)
533
533
  ])
534
534
  );
535
535
  }
@@ -550,8 +550,8 @@ var g, U, V, tt, et, W, rt, nt, At, De = (At = class {
550
550
  }
551
551
  resetQueries(e, t) {
552
552
  const r = h(this, g);
553
- return I.batch(() => (r.findAll(e).forEach((o) => {
554
- o.reset();
553
+ return I.batch(() => (r.findAll(e).forEach((n) => {
554
+ n.reset();
555
555
  }), this.refetchQueries(
556
556
  {
557
557
  type: "active",
@@ -561,10 +561,10 @@ var g, U, V, tt, et, W, rt, nt, At, De = (At = class {
561
561
  )));
562
562
  }
563
563
  cancelQueries(e, t = {}) {
564
- const r = { revert: !0, ...t }, o = I.batch(
564
+ const r = { revert: !0, ...t }, n = I.batch(
565
565
  () => h(this, g).findAll(e).map((i) => i.cancel(r))
566
566
  );
567
- return Promise.all(o).then(P).catch(P);
567
+ return Promise.all(n).then(P).catch(P);
568
568
  }
569
569
  invalidateQueries(e, t = {}) {
570
570
  return I.batch(() => (h(this, g).findAll(e).forEach((r) => {
@@ -581,36 +581,36 @@ var g, U, V, tt, et, W, rt, nt, At, De = (At = class {
581
581
  const r = {
582
582
  ...t,
583
583
  cancelRefetch: t.cancelRefetch ?? !0
584
- }, o = I.batch(
584
+ }, n = I.batch(
585
585
  () => h(this, g).findAll(e).filter((i) => !i.isDisabled()).map((i) => {
586
586
  let d = i.fetch(void 0, r);
587
587
  return r.throwOnError || (d = d.catch(P)), i.state.fetchStatus === "paused" ? Promise.resolve() : d;
588
588
  })
589
589
  );
590
- return Promise.all(o).then(P);
590
+ return Promise.all(n).then(P);
591
591
  }
592
592
  fetchQuery(e) {
593
593
  const t = this.defaultQueryOptions(e);
594
594
  t.retry === void 0 && (t.retry = !1);
595
595
  const r = h(this, g).build(this, t);
596
596
  return r.isStaleByTime(
597
- Ot(t.staleTime, r)
597
+ St(t.staleTime, r)
598
598
  ) ? r.fetch(t) : Promise.resolve(r.state.data);
599
599
  }
600
600
  prefetchQuery(e) {
601
601
  return this.fetchQuery(e).then(P).catch(P);
602
602
  }
603
603
  fetchInfiniteQuery(e) {
604
- return e.behavior = Rt(e.pages), this.fetchQuery(e);
604
+ return e.behavior = Ht(e.pages), this.fetchQuery(e);
605
605
  }
606
606
  prefetchInfiniteQuery(e) {
607
607
  return this.fetchInfiniteQuery(e).then(P).catch(P);
608
608
  }
609
609
  ensureInfiniteQueryData(e) {
610
- return e.behavior = Rt(e.pages), this.ensureQueryData(e);
610
+ return e.behavior = Ht(e.pages), this.ensureQueryData(e);
611
611
  }
612
612
  resumePausedMutations() {
613
- return Mt.isOnline() ? h(this, U).resumePausedMutations() : Promise.resolve();
613
+ return Ot.isOnline() ? h(this, U).resumePausedMutations() : Promise.resolve();
614
614
  }
615
615
  getQueryCache() {
616
616
  return h(this, g);
@@ -625,27 +625,27 @@ var g, U, V, tt, et, W, rt, nt, At, De = (At = class {
625
625
  y(this, V, e);
626
626
  }
627
627
  setQueryDefaults(e, t) {
628
- h(this, tt).set(St(e), {
628
+ h(this, tt).set(Ft(e), {
629
629
  queryKey: e,
630
630
  defaultOptions: t
631
631
  });
632
632
  }
633
633
  getQueryDefaults(e) {
634
634
  const t = [...h(this, tt).values()], r = {};
635
- return t.forEach((o) => {
636
- Ft(e, o.queryKey) && Object.assign(r, o.defaultOptions);
635
+ return t.forEach((n) => {
636
+ Bt(e, n.queryKey) && Object.assign(r, n.defaultOptions);
637
637
  }), r;
638
638
  }
639
639
  setMutationDefaults(e, t) {
640
- h(this, et).set(St(e), {
640
+ h(this, et).set(Ft(e), {
641
641
  mutationKey: e,
642
642
  defaultOptions: t
643
643
  });
644
644
  }
645
645
  getMutationDefaults(e) {
646
646
  const t = [...h(this, et).values()], r = {};
647
- return t.forEach((o) => {
648
- Ft(e, o.mutationKey) && Object.assign(r, o.defaultOptions);
647
+ return t.forEach((n) => {
648
+ Bt(e, n.mutationKey) && Object.assign(r, n.defaultOptions);
649
649
  }), r;
650
650
  }
651
651
  defaultQueryOptions(e) {
@@ -657,7 +657,7 @@ var g, U, V, tt, et, W, rt, nt, At, De = (At = class {
657
657
  ...e,
658
658
  _defaulted: !0
659
659
  };
660
- return t.queryHash || (t.queryHash = Vt(
660
+ return t.queryHash || (t.queryHash = Wt(
661
661
  t.queryKey,
662
662
  t
663
663
  )), t.refetchOnReconnect === void 0 && (t.refetchOnReconnect = t.networkMode !== "always"), t.throwOnError === void 0 && (t.throwOnError = !!t.suspense), !t.networkMode && t.persister && (t.networkMode = "offlineFirst"), t.queryFn === be && (t.enabled = !1), t;
@@ -673,7 +673,7 @@ var g, U, V, tt, et, W, rt, nt, At, De = (At = class {
673
673
  clear() {
674
674
  h(this, g).clear(), h(this, U).clear();
675
675
  }
676
- }, g = new WeakMap(), U = new WeakMap(), V = new WeakMap(), tt = new WeakMap(), et = new WeakMap(), W = new WeakMap(), rt = new WeakMap(), nt = new WeakMap(), At);
676
+ }, g = new WeakMap(), U = new WeakMap(), V = new WeakMap(), tt = new WeakMap(), et = new WeakMap(), W = new WeakMap(), rt = new WeakMap(), nt = new WeakMap(), Ut);
677
677
  const Le = [
678
678
  "header",
679
679
  "footer",
@@ -688,11 +688,11 @@ const Le = [
688
688
  ], j = Le.reduce(
689
689
  (e, t) => (e[t] = t, e),
690
690
  {}
691
- ), Qe = (e) => Kt(() => {
691
+ ), Qe = (e) => $t(() => {
692
692
  switch (e.handler) {
693
693
  case "navigate": {
694
- const { url: r, target: o, rel: i } = e;
695
- Jt && (window == null || window.open(r, o, i));
694
+ const { url: r, target: n, rel: i } = e;
695
+ Yt && (window == null || window.open(r, n, i));
696
696
  break;
697
697
  }
698
698
  case "scroll": {
@@ -703,7 +703,7 @@ const Le = [
703
703
  }
704
704
  }, [e]), Y = ({ handlerOptions: e, ...t }) => {
705
705
  const r = Qe(e);
706
- return /* @__PURE__ */ n.jsx(wt, { onClick: r, ...t, children: t.children });
706
+ return /* @__PURE__ */ o.jsx(vt, { onClick: r, ...t, children: t.children });
707
707
  }, ze = M(
708
708
  "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",
709
709
  {
@@ -719,7 +719,7 @@ const Le = [
719
719
  subtitle: e,
720
720
  title: t,
721
721
  img: r,
722
- mobileImg: o,
722
+ mobileImg: n,
723
723
  classes: i,
724
724
  withButton: d,
725
725
  button: l,
@@ -727,16 +727,16 @@ const Le = [
727
727
  color: p
728
728
  }) => {
729
729
  const { isDesktop: m } = K();
730
- return /* @__PURE__ */ n.jsxs(
730
+ return /* @__PURE__ */ o.jsxs(
731
731
  "li",
732
732
  {
733
733
  style: { backgroundColor: p ?? "#F3F4F7" },
734
- className: a(ze({ variant: u }), { "pb-0": o }, { "pb-12": !o }, i == null ? void 0 : i.root),
734
+ className: a(ze({ variant: u }), { "pb-0": n }, { "pb-12": !n }, i == null ? void 0 : i.root),
735
735
  children: [
736
- /* @__PURE__ */ n.jsxs("div", { className: a("flex flex-col items-start justify-between px-4 desktop:px-8 desktop:py-8", i == null ? void 0 : i.wrapper), children: [
737
- /* @__PURE__ */ n.jsxs("div", { className: a("flex flex-col gap-4", i == null ? void 0 : i.textContainer), children: [
738
- /* @__PURE__ */ n.jsx("div", { dangerouslySetInnerHTML: { __html: t }, className: a("desktop:desk-title-bold-s", i == null ? void 0 : i.title) }),
739
- /* @__PURE__ */ n.jsx(
736
+ /* @__PURE__ */ o.jsxs("div", { className: a("flex flex-col items-start justify-between px-4 desktop:px-8 desktop:py-8", i == null ? void 0 : i.wrapper), children: [
737
+ /* @__PURE__ */ o.jsxs("div", { className: a("flex flex-col gap-4", i == null ? void 0 : i.textContainer), children: [
738
+ /* @__PURE__ */ o.jsx("div", { dangerouslySetInnerHTML: { __html: t }, className: a("desktop:desk-title-bold-s", i == null ? void 0 : i.title) }),
739
+ /* @__PURE__ */ o.jsx(
740
740
  "div",
741
741
  {
742
742
  dangerouslySetInnerHTML: { __html: e },
@@ -744,9 +744,9 @@ const Le = [
744
744
  }
745
745
  )
746
746
  ] }),
747
- d && m && (l == null ? void 0 : l.handlerOptions) && /* @__PURE__ */ n.jsx(Y, { intent: "primary", className: a("desktop:w-[200px]", i == null ? void 0 : i.button), size: "lg", ...l })
747
+ d && m && (l == null ? void 0 : l.handlerOptions) && /* @__PURE__ */ o.jsx(Y, { intent: "primary", className: a("desktop:w-[200px]", i == null ? void 0 : i.button), size: "lg", ...l })
748
748
  ] }),
749
- (o || m) && r && /* @__PURE__ */ n.jsx("div", { className: a("flex w-full justify-end", i == null ? void 0 : i.imgContainer), children: r && "url" in r && k.isObject(r) ? /* @__PURE__ */ n.jsx("img", { className: a("h-[246px] object-cover", i == null ? void 0 : i.img), src: r.url, alt: t }) : r })
749
+ (n || m) && r && /* @__PURE__ */ o.jsx("div", { className: a("flex w-full justify-end", i == null ? void 0 : i.imgContainer), children: r && "url" in r && k.isObject(r) ? /* @__PURE__ */ o.jsx("img", { className: a("h-[246px] object-cover", i == null ? void 0 : i.img), src: r.url, alt: t }) : r })
750
750
  ]
751
751
  },
752
752
  t
@@ -759,34 +759,34 @@ const Le = [
759
759
  fourCards: "grid-cols-1 mobile:grid-rows-[400px,1fr,1fr,400px] desktop:grid-cols-3"
760
760
  }
761
761
  }
762
- }), wn = ({ headline: e, details: t, variant: r, classes: o }) => /* @__PURE__ */ n.jsx("section", { id: j.benefit, "data-test-id": j.benefit, className: a("pb-20", o == null ? void 0 : o.root), children: /* @__PURE__ */ n.jsxs(H, { className: o == null ? void 0 : o.container, children: [
763
- /* @__PURE__ */ n.jsx(
762
+ }), wn = ({ headline: e, details: t, variant: r, classes: n }) => /* @__PURE__ */ o.jsx("section", { id: j.benefit, "data-test-id": j.benefit, className: a("pb-20", n == null ? void 0 : n.root), children: /* @__PURE__ */ o.jsxs(H, { className: n == null ? void 0 : n.container, children: [
763
+ /* @__PURE__ */ o.jsx(
764
764
  "div",
765
765
  {
766
766
  dangerouslySetInnerHTML: { __html: e },
767
- className: a("mob-headline-bold-s mb-8 desktop:desk-headline-bold-m", o == null ? void 0 : o.heading)
767
+ className: a("mob-headline-bold-s mb-8 desktop:desk-headline-bold-m", n == null ? void 0 : n.heading)
768
768
  }
769
769
  ),
770
- /* @__PURE__ */ n.jsx("ul", { className: a(Ae({ variant: r }), o == null ? void 0 : o.grid), children: t == null ? void 0 : t.map((i) => /* @__PURE__ */ n.jsx(qe, { variant: r, classes: o == null ? void 0 : o.item, ...i }, i.title)) })
770
+ /* @__PURE__ */ o.jsx("ul", { className: a(Ae({ variant: r }), n == null ? void 0 : n.grid), children: t == null ? void 0 : t.map((i) => /* @__PURE__ */ o.jsx(qe, { variant: r, classes: n == null ? void 0 : n.item, ...i }, i.title)) })
771
771
  ] }) }), Ue = ({ variant: e, details: t }) => {
772
772
  switch (e) {
773
773
  case "withButton":
774
- return /* @__PURE__ */ n.jsx(Y, { ...t });
774
+ return /* @__PURE__ */ o.jsx(Y, { ...t });
775
775
  case "withPhone":
776
- return /* @__PURE__ */ n.jsx(Wt, { classes: { root: "items-end" }, ...t, phone: bt(t.phone) });
776
+ return /* @__PURE__ */ o.jsx(Gt, { classes: { root: "items-end" }, ...t, phone: bt(t.phone) });
777
777
  default:
778
778
  return null;
779
779
  }
780
780
  }, vn = (e) => {
781
- const { logoPath: t = "/", logoType: r = "main", classes: o } = e;
782
- return /* @__PURE__ */ n.jsx(
781
+ const { logoPath: t = "/", logoType: r = "main", classes: n } = e;
782
+ return /* @__PURE__ */ o.jsx(
783
783
  "header",
784
784
  {
785
785
  id: j.header,
786
786
  "data-test-id": j.header,
787
- className: a("flex h-[64px] items-center justify-center bg-color-white desktop:h-[72px]", o == null ? void 0 : o.header),
788
- children: /* @__PURE__ */ n.jsx(H, { className: a(o == null ? void 0 : o.container), children: /* @__PURE__ */ n.jsxs("div", { className: a("flex items-center justify-between gap-5", o == null ? void 0 : o.wrapper), children: [
789
- /* @__PURE__ */ n.jsx(
787
+ className: a("flex h-[64px] items-center justify-center bg-color-white desktop:h-[72px]", n == null ? void 0 : n.header),
788
+ children: /* @__PURE__ */ o.jsx(H, { className: a(n == null ? void 0 : n.container), children: /* @__PURE__ */ o.jsxs("div", { className: a("flex items-center justify-between gap-5", n == null ? void 0 : n.wrapper), children: [
789
+ /* @__PURE__ */ o.jsx(
790
790
  "a",
791
791
  {
792
792
  href: t,
@@ -795,7 +795,7 @@ const Le = [
795
795
  rel: "noreferrer",
796
796
  className: a(
797
797
  "flex items-center justify-center [&_svg]:w-[132px] desktop:[&_svg]:h-[32px] desktop:[&_svg]:w-[192px]",
798
- o == null ? void 0 : o.logo
798
+ n == null ? void 0 : n.logo
799
799
  ),
800
800
  children: ge[r]
801
801
  }
@@ -808,25 +808,25 @@ const Le = [
808
808
  headTitle: e,
809
809
  subtitle: t,
810
810
  buttonsConfig: r,
811
- advantages: o,
811
+ advantages: n,
812
812
  classes: i,
813
813
  imgMobile: d,
814
814
  imgDesktop: l,
815
815
  color: u
816
816
  }) => {
817
- var w;
818
- const { isDesktop: p, isMobile: m } = K(), { primary: x, secondary: f } = r || {}, b = d && "url" in d && k.isObject(d) ? /* @__PURE__ */ n.jsx("img", { className: "h-full w-full object-cover object-center", alt: "Картинка баннера", src: d.url }) : d, T = l && "url" in l && k.isObject(l) ? /* @__PURE__ */ n.jsx("img", { className: "h-full w-full object-cover object-center", alt: "Картинка баннера", src: l.url }) : l, N = /* @__PURE__ */ n.jsx(
817
+ var T;
818
+ const { isDesktop: p, isMobile: m } = K(), { primary: x, secondary: f } = r || {}, b = d && "url" in d && k.isObject(d) ? /* @__PURE__ */ o.jsx("img", { className: "h-full w-full object-cover object-center", alt: "Картинка баннера", src: d.url }) : d, v = l && "url" in l && k.isObject(l) ? /* @__PURE__ */ o.jsx("img", { className: "h-full w-full object-cover object-center", alt: "Картинка баннера", src: l.url }) : l, N = /* @__PURE__ */ o.jsx(
819
819
  "div",
820
820
  {
821
821
  className: a(
822
822
  "flex items-center justify-center pt-4 desktop:absolute desktop:bottom-[-50px] desktop:right-1/2 desktop:translate-x-1/2 desktop:pt-0",
823
823
  i == null ? void 0 : i.advantageContainer
824
824
  ),
825
- children: (o == null ? void 0 : o.details) && ((w = o == null ? void 0 : o.details) == null ? void 0 : w.items.length) > 0 && /* @__PURE__ */ n.jsx(ee, { ...o })
825
+ children: (n == null ? void 0 : n.details) && ((T = n == null ? void 0 : n.details) == null ? void 0 : T.items.length) > 0 && /* @__PURE__ */ o.jsx(kt, { ...n })
826
826
  }
827
827
  );
828
- return /* @__PURE__ */ n.jsxs(n.Fragment, { children: [
829
- /* @__PURE__ */ n.jsxs(
828
+ return /* @__PURE__ */ o.jsxs(o.Fragment, { children: [
829
+ /* @__PURE__ */ o.jsxs(
830
830
  "section",
831
831
  {
832
832
  id: j.banner,
@@ -834,18 +834,18 @@ const Le = [
834
834
  style: { backgroundColor: u ?? "#d9edff" },
835
835
  className: a("relative h-[552px] desktop:h-[456px]", i == null ? void 0 : i.root),
836
836
  children: [
837
- /* @__PURE__ */ n.jsx("div", { className: "absolute bottom-0 left-0 right-0 top-0 mx-auto h-full max-w-[1920px] desktop:h-[456px]", children: m ? b : T }),
838
- /* @__PURE__ */ n.jsxs(H, { className: a("h-full", i == null ? void 0 : i.container), children: [
839
- /* @__PURE__ */ n.jsx("div", { className: a("flex h-full", i == null ? void 0 : i.wrapper), children: /* @__PURE__ */ n.jsxs("div", { className: a("flex w-[328px] flex-col gap-10 pt-6 desktop:w-full desktop:pt-20", i == null ? void 0 : i.textBlock), children: [
840
- /* @__PURE__ */ n.jsxs("div", { className: "z-10 flex flex-col gap-4", children: [
841
- /* @__PURE__ */ n.jsx(
837
+ /* @__PURE__ */ o.jsx("div", { className: "absolute bottom-0 left-0 right-0 top-0 mx-auto h-full max-w-[1920px] desktop:h-[456px]", children: m ? b : v }),
838
+ /* @__PURE__ */ o.jsxs(H, { className: a("h-full", i == null ? void 0 : i.container), children: [
839
+ /* @__PURE__ */ o.jsx("div", { className: a("flex h-full", i == null ? void 0 : i.wrapper), children: /* @__PURE__ */ o.jsxs("div", { className: a("flex w-[328px] flex-col gap-10 pt-6 desktop:w-full desktop:pt-20", i == null ? void 0 : i.textBlock), children: [
840
+ /* @__PURE__ */ o.jsxs("div", { className: "z-10 flex flex-col gap-4", children: [
841
+ /* @__PURE__ */ o.jsx(
842
842
  "div",
843
843
  {
844
844
  dangerouslySetInnerHTML: { __html: e },
845
845
  className: a("mob-headline-bold-m text-color-dark desktop:desk-headline-bold-l", i == null ? void 0 : i.title)
846
846
  }
847
847
  ),
848
- /* @__PURE__ */ n.jsx(
848
+ /* @__PURE__ */ o.jsx(
849
849
  "div",
850
850
  {
851
851
  dangerouslySetInnerHTML: { __html: t },
@@ -853,7 +853,7 @@ const Le = [
853
853
  }
854
854
  )
855
855
  ] }),
856
- /* @__PURE__ */ n.jsxs(
856
+ /* @__PURE__ */ o.jsxs(
857
857
  "div",
858
858
  {
859
859
  className: a(
@@ -862,7 +862,7 @@ const Le = [
862
862
  i == null ? void 0 : i.group
863
863
  ),
864
864
  children: [
865
- x.enabled && /* @__PURE__ */ n.jsx(
865
+ x.enabled && /* @__PURE__ */ o.jsx(
866
866
  Y,
867
867
  {
868
868
  className: a("w-full desktop:max-w-[216px]", i == null ? void 0 : i.primary),
@@ -871,7 +871,7 @@ const Le = [
871
871
  ...x.buttonContent
872
872
  }
873
873
  ),
874
- (f == null ? void 0 : f.enabled) && /* @__PURE__ */ n.jsx(
874
+ (f == null ? void 0 : f.enabled) && /* @__PURE__ */ o.jsx(
875
875
  Y,
876
876
  {
877
877
  intent: "secondary",
@@ -883,54 +883,45 @@ const Le = [
883
883
  }
884
884
  )
885
885
  ] }) }),
886
- p && (o == null ? void 0 : o.enabled) && N
886
+ p && (n == null ? void 0 : n.enabled) && N
887
887
  ] })
888
888
  ]
889
889
  }
890
890
  ),
891
- m && (o == null ? void 0 : o.enabled) && N
891
+ m && (n == null ? void 0 : n.enabled) && N
892
892
  ] });
893
- }, _t = ({
893
+ }, Pt = ({
894
894
  headTitle: e,
895
895
  subtitle: t,
896
896
  buttonsConfig: r,
897
- advantages: o,
897
+ advantages: n,
898
898
  classes: i,
899
899
  imgMobile: d,
900
900
  imgDesktop: l,
901
901
  color: u
902
902
  }) => {
903
- var w;
904
- const { isDesktop: p, isMobile: m } = K(), { primary: x, secondary: f } = r || {}, b = d && "url" in d && k.isObject(d) ? /* @__PURE__ */ n.jsx("img", { className: "w-full object-contain", alt: "Картинка баннера", src: d.url }) : d, T = l && "url" in l && k.isObject(l) ? /* @__PURE__ */ n.jsx("img", { className: "w-full object-contain", alt: "Картинка баннера", src: l.url }) : l, N = /* @__PURE__ */ n.jsx(
905
- "div",
906
- {
907
- className: a(
908
- "flex items-center justify-center rounded-md bg-color-blue-grey-100 p-4 pb-8 desktop:absolute desktop:bottom-[-50px] desktop:right-1/2 desktop:translate-x-1/2 desktop:p-0",
909
- i == null ? void 0 : i.advantageContainer
910
- ),
911
- children: (o == null ? void 0 : o.details) && ((w = o == null ? void 0 : o.details) == null ? void 0 : w.items.length) > 0 && /* @__PURE__ */ n.jsx(ee, { ...o })
912
- }
913
- );
914
- return /* @__PURE__ */ n.jsxs(n.Fragment, { children: [
915
- /* @__PURE__ */ n.jsx(
903
+ var v, N;
904
+ const { isMobile: p } = K(), { primary: m, secondary: x } = r || {}, f = d && "url" in d && k.isObject(d) ? /* @__PURE__ */ o.jsx("img", { className: "w-full object-contain", alt: "Картинка баннера", src: d.url }) : d, b = l && "url" in l && k.isObject(l) ? /* @__PURE__ */ o.jsx("img", { className: "w-full object-contain", alt: "Картинка баннера", src: l.url }) : l;
905
+ return /* @__PURE__ */ o.jsxs(o.Fragment, { children: [
906
+ /* @__PURE__ */ o.jsx(
916
907
  "section",
917
908
  {
918
909
  id: j.banner,
919
910
  "data-test-id": j.banner,
920
911
  style: { backgroundColor: u ?? "#d9edff" },
921
912
  className: a("bg-banner-skyblue-300 desktop:h-[456px]", i == null ? void 0 : i.root),
922
- children: /* @__PURE__ */ n.jsxs(H, { className: a("relative", i == null ? void 0 : i.container), children: [
923
- /* @__PURE__ */ n.jsxs("div", { className: a("flex flex-col desktop:flex-row desktop:justify-between", i == null ? void 0 : i.wrapper), children: [
924
- /* @__PURE__ */ n.jsxs("div", { className: "flex flex-col desktop:gap-10 desktop:pt-20", children: [
925
- /* @__PURE__ */ n.jsxs("div", { className: a("flex flex-col gap-4 pt-6 desktop:pt-0", i == null ? void 0 : i.textBlock), children: [
926
- /* @__PURE__ */ n.jsx(
913
+ children: /* @__PURE__ */ o.jsxs(H, { className: a("relative", i == null ? void 0 : i.container), children: [
914
+ /* @__PURE__ */ o.jsxs("div", { className: a("flex flex-col desktop:flex-row desktop:justify-between", i == null ? void 0 : i.wrapper), children: [
915
+ /* @__PURE__ */ o.jsxs("div", { className: "flex flex-col desktop:gap-10 desktop:pt-20", children: [
916
+ /* @__PURE__ */ o.jsxs("div", { className: a("flex flex-col gap-4 pt-6 desktop:pt-0", i == null ? void 0 : i.textBlock), children: [
917
+ /* @__PURE__ */ o.jsx(
927
918
  "div",
928
919
  {
929
920
  dangerouslySetInnerHTML: { __html: e },
930
921
  className: a("mob-headline-bold-m text-color-dark desktop:desk-headline-bold-l", i == null ? void 0 : i.title)
931
922
  }
932
923
  ),
933
- /* @__PURE__ */ n.jsx(
924
+ /* @__PURE__ */ o.jsx(
934
925
  "div",
935
926
  {
936
927
  dangerouslySetInnerHTML: { __html: t },
@@ -938,56 +929,74 @@ const Le = [
938
929
  }
939
930
  )
940
931
  ] }),
941
- /* @__PURE__ */ n.jsxs(
932
+ /* @__PURE__ */ o.jsxs(
942
933
  "div",
943
934
  {
944
935
  className: a(
945
936
  "grid-buttons-apply absolute bottom-6 left-1/2 flex w-full -translate-x-1/2 flex-col justify-self-center px-4 desktop:static desktop:left-auto desktop:max-w-full desktop:translate-x-0 desktop:flex-row desktop:justify-normal desktop:px-0",
946
- { "flex items-center gap-4": f == null ? void 0 : f.enabled },
937
+ { "flex items-center gap-4": x == null ? void 0 : x.enabled },
947
938
  i == null ? void 0 : i.group
948
939
  ),
949
940
  children: [
950
- x.enabled && /* @__PURE__ */ n.jsx(
941
+ m.enabled && /* @__PURE__ */ o.jsx(
951
942
  Y,
952
943
  {
953
944
  className: a("w-full desktop:max-w-[216px]", i == null ? void 0 : i.primary),
954
945
  size: "lg",
955
946
  intent: "primary",
956
- ...x.buttonContent
947
+ ...m.buttonContent
957
948
  }
958
949
  ),
959
- (f == null ? void 0 : f.enabled) && /* @__PURE__ */ n.jsx(
950
+ (x == null ? void 0 : x.enabled) && /* @__PURE__ */ o.jsx(
960
951
  Y,
961
952
  {
962
953
  intent: "secondary",
963
954
  className: a("w-full desktop:max-w-[216px]", i == null ? void 0 : i.secondary),
964
- ...x.buttonContent
955
+ ...m.buttonContent
965
956
  }
966
957
  )
967
958
  ]
968
959
  }
969
960
  )
970
961
  ] }),
971
- /* @__PURE__ */ n.jsx("div", { className: a("flex h-[356px] justify-center desktop:h-[456px] desktop:w-[550px]", i == null ? void 0 : i.imageContainer), children: m ? b : T })
962
+ /* @__PURE__ */ o.jsx("div", { className: a("flex h-[356px] justify-center desktop:h-[456px] desktop:w-[550px]", i == null ? void 0 : i.imageContainer), children: p ? f : b })
972
963
  ] }),
973
- p && (o == null ? void 0 : o.enabled) && N
964
+ (n == null ? void 0 : n.enabled) && /* @__PURE__ */ o.jsx(
965
+ "div",
966
+ {
967
+ className: a(
968
+ "items-center justify-center rounded-md bg-color-blue-grey-100 p-4 pb-8 mobile:hidden desktop:absolute desktop:bottom-[-50px] desktop:right-1/2 desktop:flex desktop:translate-x-1/2 desktop:p-0",
969
+ i == null ? void 0 : i.advantageContainer
970
+ ),
971
+ children: (n == null ? void 0 : n.details) && ((v = n == null ? void 0 : n.details) == null ? void 0 : v.items.length) > 0 && /* @__PURE__ */ o.jsx(kt, { ...n })
972
+ }
973
+ )
974
974
  ] })
975
975
  }
976
976
  ),
977
- m && (o == null ? void 0 : o.enabled) && N
977
+ (n == null ? void 0 : n.enabled) && /* @__PURE__ */ o.jsx(
978
+ "div",
979
+ {
980
+ className: a(
981
+ "flex items-center justify-center rounded-md bg-color-blue-grey-100 p-4 pb-8 desktop:absolute desktop:bottom-[-50px] desktop:right-1/2 desktop:hidden desktop:translate-x-1/2 desktop:p-0",
982
+ i == null ? void 0 : i.advantageContainer
983
+ ),
984
+ children: (n == null ? void 0 : n.details) && ((N = n == null ? void 0 : n.details) == null ? void 0 : N.items.length) > 0 && /* @__PURE__ */ o.jsx(kt, { ...n })
985
+ }
986
+ )
978
987
  ] });
979
988
  }, Nn = ({ variant: e, ...t }) => {
980
989
  switch (e) {
981
990
  case "separateImg":
982
- return /* @__PURE__ */ n.jsx(_t, { ...t });
991
+ return /* @__PURE__ */ o.jsx(Pt, { ...t });
983
992
  case "fullImg":
984
- return /* @__PURE__ */ n.jsx(Ve, { ...t });
993
+ return /* @__PURE__ */ o.jsx(Ve, { ...t });
985
994
  default:
986
- return /* @__PURE__ */ n.jsx(_t, { ...t });
995
+ return /* @__PURE__ */ o.jsx(Pt, { ...t });
987
996
  }
988
- }, ee = ({ details: e, classes: t }) => {
989
- const { variant: r, items: o } = e ?? {};
990
- return /* @__PURE__ */ n.jsx(
997
+ }, kt = ({ details: e, classes: t }) => {
998
+ const { variant: r, items: n } = e ?? {};
999
+ return /* @__PURE__ */ o.jsx(
991
1000
  "div",
992
1001
  {
993
1002
  id: "advantages",
@@ -997,7 +1006,7 @@ const Le = [
997
1006
  { "desktop:max-w-[1140px]": r === "fourCards" },
998
1007
  t == null ? void 0 : t.root
999
1008
  ),
1000
- children: o == null ? void 0 : o.map(({ title: i, description: d }) => /* @__PURE__ */ n.jsxs(
1009
+ children: n == null ? void 0 : n.map(({ title: i, description: d }) => /* @__PURE__ */ o.jsxs(
1001
1010
  "div",
1002
1011
  {
1003
1012
  className: a(
@@ -1005,28 +1014,28 @@ const Le = [
1005
1014
  t == null ? void 0 : t.item
1006
1015
  ),
1007
1016
  children: [
1008
- /* @__PURE__ */ n.jsx(L, { as: "h4", className: a("text-color-dark", t == null ? void 0 : t.title), children: i }),
1009
- /* @__PURE__ */ n.jsx("p", { className: a("desk-body-regular-l text-color-secondary", t == null ? void 0 : t.description), children: d })
1017
+ /* @__PURE__ */ o.jsx(L, { as: "h4", className: a("text-color-dark", t == null ? void 0 : t.title), children: i }),
1018
+ /* @__PURE__ */ o.jsx("p", { className: a("desk-body-regular-l text-color-secondary", t == null ? void 0 : t.description), children: d })
1010
1019
  ]
1011
1020
  },
1012
1021
  i
1013
1022
  ))
1014
1023
  }
1015
1024
  );
1016
- }, We = ({ socialsLinks: e, classes: t }) => /* @__PURE__ */ n.jsx("div", { className: a("mt-4 flex items-center gap-2 desktop:mt-6", t == null ? void 0 : t.socialRoot), children: e == null ? void 0 : e.map(({ iconName: r, href: o }) => /* @__PURE__ */ n.jsx(
1025
+ }, We = ({ socialsLinks: e, classes: t }) => /* @__PURE__ */ o.jsx("div", { className: a("mt-4 flex items-center gap-2 desktop:mt-6", t == null ? void 0 : t.socialRoot), children: e == null ? void 0 : e.map(({ iconName: r, href: n }) => /* @__PURE__ */ o.jsx(
1017
1026
  "a",
1018
1027
  {
1019
1028
  className: a("flex size-8 items-center justify-center rounded-full bg-[#52576a] p-2", t == null ? void 0 : t.socialLink),
1020
- href: o,
1029
+ href: n,
1021
1030
  "aria-label": r.replace("social/", ""),
1022
- children: /* @__PURE__ */ n.jsx(c, { name: r, className: a("h-full w-full text-icon-white", t == null ? void 0 : t.socialIcon) })
1031
+ children: /* @__PURE__ */ o.jsx(c, { name: r, className: a("h-full w-full text-icon-white", t == null ? void 0 : t.socialIcon) })
1023
1032
  },
1024
- o
1025
- )) }), Ge = ({ phones: e, classes: t }) => /* @__PURE__ */ n.jsx("div", { className: a("flex flex-col gap-4 desktop:items-end", t == null ? void 0 : t.phonesRoot), children: e == null ? void 0 : e.map(({ phone: r, text: o }) => /* @__PURE__ */ n.jsx(
1026
- Wt,
1033
+ n
1034
+ )) }), Ge = ({ phones: e, classes: t }) => /* @__PURE__ */ o.jsx("div", { className: a("flex flex-col gap-4 desktop:items-end", t == null ? void 0 : t.phonesRoot), children: e == null ? void 0 : e.map(({ phone: r, text: n }) => /* @__PURE__ */ o.jsx(
1035
+ Gt,
1027
1036
  {
1028
1037
  phone: bt(r),
1029
- text: o,
1038
+ text: n,
1030
1039
  classes: {
1031
1040
  root: a(t == null ? void 0 : t.phoneWrapper),
1032
1041
  text: a("text-color-footer", t == null ? void 0 : t.phoneText),
@@ -1034,7 +1043,7 @@ const Le = [
1034
1043
  }
1035
1044
  },
1036
1045
  r
1037
- )) }), Ke = ({ classes: e, details: t }) => /* @__PURE__ */ n.jsx(
1046
+ )) }), Ke = ({ classes: e, details: t }) => /* @__PURE__ */ o.jsx(
1038
1047
  "div",
1039
1048
  {
1040
1049
  className: a(
@@ -1042,9 +1051,9 @@ const Le = [
1042
1051
  e == null ? void 0 : e.navRoot
1043
1052
  ),
1044
1053
  children: t == null ? void 0 : t.map(
1045
- ({ column: r }) => r == null ? void 0 : r.map(({ groupLabel: o, links: i }) => /* @__PURE__ */ n.jsxs("div", { className: a("flex flex-col gap-4", e == null ? void 0 : e.navGroup), children: [
1046
- /* @__PURE__ */ n.jsx("div", { className: a("desk-body-medium-l text-color-white", e == null ? void 0 : e.navLabel), children: o }),
1047
- /* @__PURE__ */ n.jsx("div", { className: a("flex flex-col gap-1", e == null ? void 0 : e.navLinks), children: i == null ? void 0 : i.map(({ path: d, label: l }) => /* @__PURE__ */ n.jsx(
1054
+ ({ column: r }) => r == null ? void 0 : r.map(({ groupLabel: n, links: i }) => /* @__PURE__ */ o.jsxs("div", { className: a("flex flex-col gap-4", e == null ? void 0 : e.navGroup), children: [
1055
+ /* @__PURE__ */ o.jsx("div", { className: a("desk-body-medium-l text-color-white", e == null ? void 0 : e.navLabel), children: n }),
1056
+ /* @__PURE__ */ o.jsx("div", { className: a("flex flex-col gap-1", e == null ? void 0 : e.navLinks), children: i == null ? void 0 : i.map(({ path: d, label: l }) => /* @__PURE__ */ o.jsx(
1048
1057
  ct,
1049
1058
  {
1050
1059
  href: d,
@@ -1058,24 +1067,24 @@ const Le = [
1058
1067
  },
1059
1068
  l
1060
1069
  )) })
1061
- ] }, o))
1070
+ ] }, n))
1062
1071
  )
1063
1072
  }
1064
- ), $e = ({ text: e, classes: t }) => /* @__PURE__ */ n.jsx(
1073
+ ), $e = ({ text: e, classes: t }) => /* @__PURE__ */ o.jsx(
1065
1074
  "div",
1066
1075
  {
1067
1076
  className: a("desk-body-regular-m text-color-footer", t == null ? void 0 : t.copyRight),
1068
1077
  dangerouslySetInnerHTML: { __html: e }
1069
1078
  }
1070
- ), Ze = ({ classes: e }) => /* @__PURE__ */ n.jsx(
1079
+ ), Ze = ({ classes: e }) => /* @__PURE__ */ o.jsx(
1071
1080
  "a",
1072
1081
  {
1073
1082
  "aria-label": "logo",
1074
1083
  href: "https://sovcombank.ru/",
1075
1084
  className: a("block h-[24px] w-[132px] desktop:h-[32px] desktop:w-[194px]", e == null ? void 0 : e.footerLogo),
1076
- children: /* @__PURE__ */ n.jsx(c, { name: "brandLogos/logoWhite", className: a("size-full", e == null ? void 0 : e.footerLogoIcon) })
1085
+ children: /* @__PURE__ */ o.jsx(c, { name: "brandLogos/logoWhite", className: a("size-full", e == null ? void 0 : e.footerLogoIcon) })
1077
1086
  }
1078
- ), Xe = ({ classes: e }) => /* @__PURE__ */ n.jsx(
1087
+ ), Xe = ({ classes: e }) => /* @__PURE__ */ o.jsx(
1079
1088
  ct,
1080
1089
  {
1081
1090
  intent: "white",
@@ -1090,12 +1099,12 @@ const Le = [
1090
1099
  children: "Карта сайта"
1091
1100
  }
1092
1101
  ), Je = ({ text: e, classes: t }) => {
1093
- const [r, o] = at.useState(!1), [i, d] = at.useState(!1), l = at.useRef(null);
1102
+ const [r, n] = at.useState(!1), [i, d] = at.useState(!1), l = at.useRef(null);
1094
1103
  return at.useEffect(() => {
1095
1104
  const u = l.current;
1096
1105
  u && d(u.scrollHeight > u.clientHeight);
1097
- }, []), /* @__PURE__ */ n.jsxs("div", { className: a("mt-8 flex flex-col gap-4", t == null ? void 0 : t.ligalRoot), children: [
1098
- /* @__PURE__ */ n.jsx(
1106
+ }, []), /* @__PURE__ */ o.jsxs("div", { className: a("mt-8 flex flex-col gap-4", t == null ? void 0 : t.ligalRoot), children: [
1107
+ /* @__PURE__ */ o.jsx(
1099
1108
  "div",
1100
1109
  {
1101
1110
  ref: l,
@@ -1103,12 +1112,12 @@ const Le = [
1103
1112
  dangerouslySetInnerHTML: { __html: e }
1104
1113
  }
1105
1114
  ),
1106
- i && /* @__PURE__ */ n.jsx(
1115
+ i && /* @__PURE__ */ o.jsx(
1107
1116
  "div",
1108
1117
  {
1109
1118
  tabIndex: 0,
1110
1119
  role: "button",
1111
- onClick: () => o((u) => !u),
1120
+ onClick: () => n((u) => !u),
1112
1121
  className: a(
1113
1122
  "desk-body-regular-l w-max cursor-pointer font-medium text-color-footer transition-colors hover:text-color-white",
1114
1123
  t == null ? void 0 : t.ligalButton
@@ -1121,18 +1130,18 @@ const Le = [
1121
1130
  socialsLinks: e,
1122
1131
  phones: t,
1123
1132
  ligal: r,
1124
- copyright: o,
1133
+ copyright: n,
1125
1134
  classes: i,
1126
1135
  details: d,
1127
1136
  siteMap: l = !0
1128
- }) => /* @__PURE__ */ n.jsx(
1137
+ }) => /* @__PURE__ */ o.jsx(
1129
1138
  "footer",
1130
1139
  {
1131
1140
  id: j.footer,
1132
1141
  "data-test-id": j.footer,
1133
1142
  className: a("w-full bg-color-footer py-8 desktop:py-10", i == null ? void 0 : i.root),
1134
- children: /* @__PURE__ */ n.jsx(H, { className: a(i == null ? void 0 : i.footerContainer), children: /* @__PURE__ */ n.jsxs("div", { className: a("mobile:pb-[176px]", i == null ? void 0 : i.footerWrapper), children: [
1135
- /* @__PURE__ */ n.jsxs(
1143
+ children: /* @__PURE__ */ o.jsx(H, { className: a(i == null ? void 0 : i.footerContainer), children: /* @__PURE__ */ o.jsxs("div", { className: a("mobile:pb-[176px]", i == null ? void 0 : i.footerWrapper), children: [
1144
+ /* @__PURE__ */ o.jsxs(
1136
1145
  "div",
1137
1146
  {
1138
1147
  className: a(
@@ -1140,17 +1149,17 @@ const Le = [
1140
1149
  i == null ? void 0 : i.footerHead
1141
1150
  ),
1142
1151
  children: [
1143
- /* @__PURE__ */ n.jsxs("div", { className: a(i == null ? void 0 : i.footerSocialBlock), children: [
1144
- /* @__PURE__ */ n.jsx(Ze, { classes: i == null ? void 0 : i.footerLogo }),
1145
- e.enabled && /* @__PURE__ */ n.jsx(We, { socialsLinks: e.links, classes: i == null ? void 0 : i.socialLinks })
1152
+ /* @__PURE__ */ o.jsxs("div", { className: a(i == null ? void 0 : i.footerSocialBlock), children: [
1153
+ /* @__PURE__ */ o.jsx(Ze, { classes: i == null ? void 0 : i.footerLogo }),
1154
+ e.enabled && /* @__PURE__ */ o.jsx(We, { socialsLinks: e.links, classes: i == null ? void 0 : i.socialLinks })
1146
1155
  ] }),
1147
- t.enabled && /* @__PURE__ */ n.jsx(Ge, { phones: t.items, classes: i == null ? void 0 : i.phonesBlock })
1156
+ t.enabled && /* @__PURE__ */ o.jsx(Ge, { phones: t.items, classes: i == null ? void 0 : i.phonesBlock })
1148
1157
  ]
1149
1158
  }
1150
1159
  ),
1151
- !k.isArrayEmpty(d) && /* @__PURE__ */ n.jsx(Ke, { details: d, classes: i == null ? void 0 : i.navLinks }),
1152
- r.enabled && /* @__PURE__ */ n.jsx(Je, { text: r.text }),
1153
- /* @__PURE__ */ n.jsxs(
1160
+ !k.isArrayEmpty(d) && /* @__PURE__ */ o.jsx(Ke, { details: d, classes: i == null ? void 0 : i.navLinks }),
1161
+ r.enabled && /* @__PURE__ */ o.jsx(Je, { text: r.text }),
1162
+ /* @__PURE__ */ o.jsxs(
1154
1163
  "div",
1155
1164
  {
1156
1165
  className: a(
@@ -1158,16 +1167,16 @@ const Le = [
1158
1167
  i == null ? void 0 : i.footerBottom
1159
1168
  ),
1160
1169
  children: [
1161
- o.enabled && /* @__PURE__ */ n.jsx($e, { text: o.text, classes: i == null ? void 0 : i.copyright }),
1162
- l && /* @__PURE__ */ n.jsx(Xe, { classes: i == null ? void 0 : i.siteMap })
1170
+ n.enabled && /* @__PURE__ */ o.jsx($e, { text: n.text, classes: i == null ? void 0 : i.copyright }),
1171
+ l && /* @__PURE__ */ o.jsx(Xe, { classes: i == null ? void 0 : i.siteMap })
1163
1172
  ]
1164
1173
  }
1165
1174
  )
1166
1175
  ] }) })
1167
1176
  }
1168
- ), Ye = ({ classes: e, index: t, variant: r, title: o, description: i }) => {
1169
- const d = r === "withTitleAndDescription" && o;
1170
- return /* @__PURE__ */ n.jsxs(
1177
+ ), Ye = ({ classes: e, index: t, variant: r, title: n, description: i }) => {
1178
+ const d = r === "withTitleAndDescription" && n;
1179
+ return /* @__PURE__ */ o.jsxs(
1171
1180
  "div",
1172
1181
  {
1173
1182
  className: a(
@@ -1175,7 +1184,7 @@ const Le = [
1175
1184
  e == null ? void 0 : e.singleStep
1176
1185
  ),
1177
1186
  children: [
1178
- /* @__PURE__ */ n.jsx(
1187
+ /* @__PURE__ */ o.jsx(
1179
1188
  "div",
1180
1189
  {
1181
1190
  className: a(
@@ -1185,9 +1194,9 @@ const Le = [
1185
1194
  children: t
1186
1195
  }
1187
1196
  ),
1188
- /* @__PURE__ */ n.jsxs("div", { className: a("flex flex-col gap-2"), children: [
1189
- d && /* @__PURE__ */ n.jsx(L, { as: "h4", className: a("text-color-dark", e == null ? void 0 : e.title), children: o }),
1190
- /* @__PURE__ */ n.jsx(
1197
+ /* @__PURE__ */ o.jsxs("div", { className: a("flex flex-col gap-2"), children: [
1198
+ d && /* @__PURE__ */ o.jsx(L, { as: "h4", className: a("text-color-dark", e == null ? void 0 : e.title), children: n }),
1199
+ /* @__PURE__ */ o.jsx(
1191
1200
  "div",
1192
1201
  {
1193
1202
  dangerouslySetInnerHTML: { __html: i ?? "" },
@@ -1198,16 +1207,16 @@ const Le = [
1198
1207
  ]
1199
1208
  }
1200
1209
  );
1201
- }, Cn = ({ headline: e, details: t, variant: r, classes: o }) => /* @__PURE__ */ n.jsx("section", { id: j.stepper, "data-test-id": j.stepper, className: o == null ? void 0 : o.root, children: /* @__PURE__ */ n.jsx(H, { className: o == null ? void 0 : o.container, children: /* @__PURE__ */ n.jsxs("div", { className: a("flex flex-col gap-6 desktop:items-start desktop:gap-12", o == null ? void 0 : o.wrapper), children: [
1202
- /* @__PURE__ */ n.jsx(L, { as: "h2", className: a("text-color-dark", o == null ? void 0 : o.headline), children: e }),
1203
- /* @__PURE__ */ n.jsx(
1210
+ }, Cn = ({ headline: e, details: t, variant: r, classes: n }) => /* @__PURE__ */ o.jsx("section", { id: j.stepper, "data-test-id": j.stepper, className: n == null ? void 0 : n.root, children: /* @__PURE__ */ o.jsx(H, { className: n == null ? void 0 : n.container, children: /* @__PURE__ */ o.jsxs("div", { className: a("flex flex-col gap-6 desktop:items-start desktop:gap-12", n == null ? void 0 : n.wrapper), children: [
1211
+ /* @__PURE__ */ o.jsx(L, { as: "h2", className: a("text-color-dark", n == null ? void 0 : n.headline), children: e }),
1212
+ /* @__PURE__ */ o.jsx(
1204
1213
  "div",
1205
1214
  {
1206
1215
  className: a(
1207
1216
  "flex w-full flex-col items-start gap-6 desktop:flex-row desktop:items-start desktop:gap-12",
1208
- o == null ? void 0 : o.stepsWrapper
1217
+ n == null ? void 0 : n.stepsWrapper
1209
1218
  ),
1210
- children: t == null ? void 0 : t.map((i, d) => /* @__PURE__ */ n.jsx(Ye, { variant: r, ...i, index: d + 1, classes: o == null ? void 0 : o.step }, i.description))
1219
+ children: t == null ? void 0 : t.map((i, d) => /* @__PURE__ */ o.jsx(Ye, { variant: r, ...i, index: d + 1, classes: n == null ? void 0 : n.step }, i.description))
1211
1220
  }
1212
1221
  )
1213
1222
  ] }) }) }), tr = M("", {
@@ -1297,30 +1306,30 @@ const Le = [
1297
1306
  }), or = ({ data: e, intent: t }) => {
1298
1307
  const {
1299
1308
  title: r,
1300
- description: o,
1309
+ description: n,
1301
1310
  popover: i = {
1302
1311
  enabled: !1
1303
1312
  }
1304
1313
  } = e;
1305
- return /* @__PURE__ */ n.jsx("li", { className: a(rr({ intent: t })), children: /* @__PURE__ */ n.jsxs("div", { className: "desktop:max-w-[264px]", children: [
1306
- /* @__PURE__ */ n.jsxs("div", { className: a("mb-2 flex items-center gap-2"), children: [
1307
- /* @__PURE__ */ n.jsx("h4", { className: a("mob-title-bold-m text-color-dark"), children: r }),
1308
- i.enabled && /* @__PURE__ */ n.jsx(je, { triggerElement: /* @__PURE__ */ n.jsx(c, { className: a("size-5 text-icon-blue-grey-600"), name: "info/helpCircle" }), children: i.text })
1314
+ return /* @__PURE__ */ o.jsx("li", { className: a(rr({ intent: t })), children: /* @__PURE__ */ o.jsxs("div", { className: "desktop:max-w-[264px]", children: [
1315
+ /* @__PURE__ */ o.jsxs("div", { className: a("mb-2 flex items-center gap-2"), children: [
1316
+ /* @__PURE__ */ o.jsx("h4", { className: a("mob-title-bold-m text-color-dark"), children: r }),
1317
+ i.enabled && /* @__PURE__ */ o.jsx(je, { triggerElement: /* @__PURE__ */ o.jsx(c, { className: a("size-5 text-icon-blue-grey-600"), name: "info/helpCircle" }), children: i.text })
1309
1318
  ] }),
1310
- /* @__PURE__ */ n.jsx("div", { className: a("mob-body-regular-l text-color-secondary"), dangerouslySetInnerHTML: { __html: o } })
1319
+ /* @__PURE__ */ o.jsx("div", { className: a("mob-body-regular-l text-color-secondary"), dangerouslySetInnerHTML: { __html: n } })
1311
1320
  ] }) });
1312
- }, jt = ({ intent: e, headline: t, desktopHidden: r = !1, mobileHidden: o = !1 }) => /* @__PURE__ */ n.jsx("h2", { className: a(tr({ intent: e, desktopHidden: r, mobileHidden: o })), children: t }), ir = ({ details: e, intent: t, withButton: r }) => /* @__PURE__ */ n.jsx("ul", { className: a(er({ intent: t, withButton: r })), children: e == null ? void 0 : e.map((o, i) => /* @__PURE__ */ n.jsx(or, { intent: t, data: o }, i)) }), Tn = ({
1321
+ }, jt = ({ intent: e, headline: t, desktopHidden: r = !1, mobileHidden: n = !1 }) => /* @__PURE__ */ o.jsx("h2", { className: a(tr({ intent: e, desktopHidden: r, mobileHidden: n })), children: t }), ir = ({ details: e, intent: t, withButton: r }) => /* @__PURE__ */ o.jsx("ul", { className: a(er({ intent: t, withButton: r })), children: e == null ? void 0 : e.map((n, i) => /* @__PURE__ */ o.jsx(or, { intent: t, data: n }, i)) }), Tn = ({
1313
1322
  headline: e,
1314
1323
  buttonConfig: t,
1315
1324
  intent: r = "twoItems",
1316
- details: o,
1325
+ details: n,
1317
1326
  image: i,
1318
1327
  classes: d
1319
1328
  }) => {
1320
- const l = r === "fourItems", u = r === "twoItems", p = i && "url" in i && k.isObject(i) ? /* @__PURE__ */ n.jsx("img", { className: "w-full object-contain", alt: "Картинка баннера", src: i.url }) : i;
1321
- return /* @__PURE__ */ n.jsx("section", { id: j.longBanner, "data-test-id": j.longBanner, className: a(d == null ? void 0 : d.root), children: /* @__PURE__ */ n.jsxs(H, { className: a(d == null ? void 0 : d.container), children: [
1322
- u && /* @__PURE__ */ n.jsx(jt, { intent: r, headline: e }),
1323
- /* @__PURE__ */ n.jsxs(
1329
+ const l = r === "fourItems", u = r === "twoItems", p = i && "url" in i && k.isObject(i) ? /* @__PURE__ */ o.jsx("img", { className: "w-full object-contain", alt: "Картинка баннера", src: i.url }) : i;
1330
+ return /* @__PURE__ */ o.jsx("section", { id: j.longBanner, "data-test-id": j.longBanner, className: a(d == null ? void 0 : d.root), children: /* @__PURE__ */ o.jsxs(H, { className: a(d == null ? void 0 : d.container), children: [
1331
+ u && /* @__PURE__ */ o.jsx(jt, { intent: r, headline: e }),
1332
+ /* @__PURE__ */ o.jsxs(
1324
1333
  "div",
1325
1334
  {
1326
1335
  className: a(
@@ -1328,16 +1337,16 @@ const Le = [
1328
1337
  d == null ? void 0 : d.contentContainer
1329
1338
  ),
1330
1339
  children: [
1331
- l && /* @__PURE__ */ n.jsx(jt, { intent: r, headline: e, desktopHidden: !0 }),
1332
- /* @__PURE__ */ n.jsx("div", { className: a(nr({ intent: r, withButton: t == null ? void 0 : t.enabled }), d == null ? void 0 : d.imgContainer), children: p }),
1333
- /* @__PURE__ */ n.jsxs(
1340
+ l && /* @__PURE__ */ o.jsx(jt, { intent: r, headline: e, desktopHidden: !0 }),
1341
+ /* @__PURE__ */ o.jsx("div", { className: a(nr({ intent: r, withButton: t == null ? void 0 : t.enabled }), d == null ? void 0 : d.imgContainer), children: p }),
1342
+ /* @__PURE__ */ o.jsxs(
1334
1343
  "div",
1335
1344
  {
1336
1345
  className: a("desktop:flex desktop:flex-col desktop:justify-center desktop:py-10", d == null ? void 0 : d.textWithBtnContainer),
1337
1346
  children: [
1338
- l && /* @__PURE__ */ n.jsx(jt, { intent: r, headline: e, mobileHidden: !0 }),
1339
- /* @__PURE__ */ n.jsx(ir, { details: o, intent: r, withButton: (t == null ? void 0 : t.enabled) ?? !1 }),
1340
- (t == null ? void 0 : t.enabled) && t && /* @__PURE__ */ n.jsx(
1347
+ l && /* @__PURE__ */ o.jsx(jt, { intent: r, headline: e, mobileHidden: !0 }),
1348
+ /* @__PURE__ */ o.jsx(ir, { details: n, intent: r, withButton: (t == null ? void 0 : t.enabled) ?? !1 }),
1349
+ (t == null ? void 0 : t.enabled) && t && /* @__PURE__ */ o.jsx(
1341
1350
  Y,
1342
1351
  {
1343
1352
  className: a("w-full px-4 desktop:w-max", d == null ? void 0 : d.button),
@@ -1357,7 +1366,7 @@ const Le = [
1357
1366
  ESIA: "esia",
1358
1367
  MOBILE_ID: "mobileId",
1359
1368
  COMBINE: "combine"
1360
- }, re = ({ children: e, isLoading: t, classes: r, loaderProps: o }) => /* @__PURE__ */ n.jsx(
1369
+ }, re = ({ children: e, isLoading: t, classes: r, loaderProps: n }) => /* @__PURE__ */ o.jsx(
1361
1370
  "div",
1362
1371
  {
1363
1372
  tabIndex: 0,
@@ -1366,7 +1375,7 @@ const Le = [
1366
1375
  "bg-color-white outline outline-1 outline-warm-grey-200 transition-colors focus-visible:outline-primary-focus",
1367
1376
  r == null ? void 0 : r.root
1368
1377
  ),
1369
- children: /* @__PURE__ */ n.jsx(
1378
+ children: /* @__PURE__ */ o.jsx(
1370
1379
  "div",
1371
1380
  {
1372
1381
  className: a(
@@ -1375,40 +1384,40 @@ const Le = [
1375
1384
  { "items-center": t },
1376
1385
  r == null ? void 0 : r.wrapper
1377
1386
  ),
1378
- children: t ? /* @__PURE__ */ n.jsx(ye, { position: "static", classes: { wrapper: "size-8 m-auto" }, ...o }) : e
1387
+ children: t ? /* @__PURE__ */ o.jsx(ye, { position: "static", classes: { wrapper: "size-8 m-auto" }, ...n }) : e
1379
1388
  }
1380
1389
  )
1381
1390
  }
1382
- ), dr = ({ ...e }) => /* @__PURE__ */ n.jsxs("svg", { width: "32", height: "32", viewBox: "0 0 32 32", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e, children: [
1383
- /* @__PURE__ */ n.jsx(
1391
+ ), dr = ({ ...e }) => /* @__PURE__ */ o.jsxs("svg", { width: "32", height: "32", viewBox: "0 0 32 32", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e, children: [
1392
+ /* @__PURE__ */ o.jsx(
1384
1393
  "path",
1385
1394
  {
1386
1395
  d: "M30.3986 10.6149C30.2728 8.96576 29.014 6.85155 27.7553 5.83672C26.3398 4.79816 24.8691 3.83828 23.3497 2.96139C21.8418 2.06068 20.2871 1.24201 18.6923 0.508895C17.8404 0.15868 16.927 -0.0139306 16.007 0.00148264C15.0868 -0.0180029 14.1725 0.154761 13.3217 0.508895C11.7272 1.24253 10.1725 2.06119 8.66438 2.96139C6.23081 4.44134 4.25878 5.83672 4.25878 5.83672C3.22329 6.71008 2.43892 7.83418 1.97146 9.09195C1.87834 9.34251 2.07032 9.59987 2.33762 9.59987H4.2568C4.55401 9.59987 4.82321 9.43281 4.98085 9.18085C5.33539 8.61417 5.77902 8.10202 6.29948 7.66607C6.29948 7.66607 7.92774 6.52186 9.93709 5.3083C11.1823 4.57013 12.466 3.89884 13.7826 3.29725C14.485 3.00687 15.2399 2.8652 15.9998 2.88118C16.7593 2.86854 17.5136 3.01008 18.217 3.29725C19.5337 3.89841 20.8174 4.56972 22.0624 5.3083C23.317 6.02735 24.5313 6.81445 25.7 7.66607C26.7394 8.49823 27.7787 10.2319 27.8826 11.5841C27.8826 11.5841 28.1251 13.5952 28.1598 15.9772C28.1576 17.4483 28.0767 18.9183 27.9173 20.3807C27.6755 21.912 26.8879 23.3038 25.7 24.2988C25.7 24.2988 24.0718 25.4777 22.0624 26.6912C20.8172 27.4294 19.5335 28.1007 18.217 28.7023C17.5145 28.9927 16.7596 29.1343 15.9998 29.1184C15.2409 29.1343 14.4867 28.9963 13.7826 28.7127C12.4658 28.1115 11.1821 27.4402 9.93709 26.7016C7.92774 25.5228 6.29948 24.3092 6.29948 24.3092C5.84515 23.9454 5.39081 23.4094 5.01172 22.8082C4.85581 22.561 4.5896 22.3997 4.2973 22.3997H2.34718C2.07645 22.3997 1.88475 22.6629 1.98611 22.914C2.49249 24.168 3.37564 25.4212 4.25878 26.1332C4.25878 26.1332 6.23081 27.6132 8.66438 29.0508C10.1723 29.9515 11.7269 30.7702 13.3217 31.5033C14.1745 31.8492 15.088 32.0175 16.007 31.998C16.9273 32.0175 17.8416 31.8448 18.6923 31.4906C20.2869 30.757 21.8415 29.9383 23.3497 29.0381C25.7833 27.5582 27.7553 26.1205 27.7553 26.1205C29.1939 24.9072 30.1478 23.2098 30.4406 21.3424C30.6337 19.5589 30.7317 17.7663 30.7343 15.9723C30.6923 13.0673 30.3986 10.6149 30.3986 10.6149Z",
1387
1396
  fill: "url(#paint0_linear_6493_452)"
1388
1397
  }
1389
1398
  ),
1390
- /* @__PURE__ */ n.jsx(
1399
+ /* @__PURE__ */ o.jsx(
1391
1400
  "path",
1392
1401
  {
1393
1402
  d: "M1.27985 12.4821C1.27985 12.1286 1.56638 11.8421 1.91985 11.8421H11.8398C12.1933 11.8421 12.4798 12.1286 12.4798 12.4821V14.4021C12.4798 14.7555 12.1933 15.0421 11.8398 15.0421H1.27985V12.4821Z",
1394
1403
  fill: "#0066B3"
1395
1404
  }
1396
1405
  ),
1397
- /* @__PURE__ */ n.jsx(
1406
+ /* @__PURE__ */ o.jsx(
1398
1407
  "path",
1399
1408
  {
1400
1409
  d: "M1.27985 16.9618H21.4398C21.7933 16.9618 22.0798 17.2484 22.0798 17.6018V19.5218C22.0798 19.8752 21.7933 20.1618 21.4398 20.1618H1.91985C1.56638 20.1618 1.27985 19.8752 1.27985 19.5218V16.9618Z",
1401
1410
  fill: "#EE2F53"
1402
1411
  }
1403
1412
  ),
1404
- /* @__PURE__ */ n.jsx("defs", { children: /* @__PURE__ */ n.jsxs("linearGradient", { id: "paint0_linear_6493_452", x1: "16.0071", y1: "0", x2: "16.0071", y2: "31.9996", gradientUnits: "userSpaceOnUse", children: [
1405
- /* @__PURE__ */ n.jsx("stop", { stopColor: "#0066B3" }),
1406
- /* @__PURE__ */ n.jsx("stop", { offset: "0.354167", stopColor: "#0066B3" }),
1407
- /* @__PURE__ */ n.jsx("stop", { offset: "0.6875", stopColor: "#EE2F53" }),
1408
- /* @__PURE__ */ n.jsx("stop", { offset: "1", stopColor: "#EE2F53" })
1413
+ /* @__PURE__ */ o.jsx("defs", { children: /* @__PURE__ */ o.jsxs("linearGradient", { id: "paint0_linear_6493_452", x1: "16.0071", y1: "0", x2: "16.0071", y2: "31.9996", gradientUnits: "userSpaceOnUse", children: [
1414
+ /* @__PURE__ */ o.jsx("stop", { stopColor: "#0066B3" }),
1415
+ /* @__PURE__ */ o.jsx("stop", { offset: "0.354167", stopColor: "#0066B3" }),
1416
+ /* @__PURE__ */ o.jsx("stop", { offset: "0.6875", stopColor: "#EE2F53" }),
1417
+ /* @__PURE__ */ o.jsx("stop", { offset: "1", stopColor: "#EE2F53" })
1409
1418
  ] }) })
1410
- ] }), ne = ({ mainLink: e, subLink: t, isMobile: r, classes: o }) => /* @__PURE__ */ n.jsxs("div", { className: a("flex flex-col", o == null ? void 0 : o.linksWrapper), children: [
1411
- /* @__PURE__ */ n.jsx(
1419
+ ] }), ne = ({ mainLink: e, subLink: t, isMobile: r, classes: n }) => /* @__PURE__ */ o.jsxs("div", { className: a("flex flex-col", n == null ? void 0 : n.linksWrapper), children: [
1420
+ /* @__PURE__ */ o.jsx(
1412
1421
  "a",
1413
1422
  {
1414
1423
  href: e.href,
@@ -1416,12 +1425,12 @@ const Le = [
1416
1425
  rel: "noreferrer",
1417
1426
  className: a(
1418
1427
  'before:content=[" "] desk-body-medium-l z-[4] text-color-dark before:absolute before:left-1/2 before:top-1/2 before:h-full before:w-full before:-translate-x-1/2 before:-translate-y-1/2',
1419
- o == null ? void 0 : o.linksMainLink
1428
+ n == null ? void 0 : n.linksMainLink
1420
1429
  ),
1421
1430
  children: r ? e.mobileTitle : e.title
1422
1431
  }
1423
1432
  ),
1424
- (t == null ? void 0 : t.text) && (t == null ? void 0 : t.href) && /* @__PURE__ */ n.jsx(
1433
+ (t == null ? void 0 : t.text) && (t == null ? void 0 : t.href) && /* @__PURE__ */ o.jsx(
1425
1434
  ct,
1426
1435
  {
1427
1436
  intent: "blue",
@@ -1430,65 +1439,65 @@ const Le = [
1430
1439
  target: "_blank",
1431
1440
  rel: "noreferrer",
1432
1441
  classes: {
1433
- link: a("w-max relative z-[6] p-0 desk-body-regular-m text-color-tetriary", o == null ? void 0 : o.linksSubLink)
1442
+ link: a("w-max relative z-[6] p-0 desk-body-regular-m text-color-tetriary", n == null ? void 0 : n.linksSubLink)
1434
1443
  },
1435
1444
  children: t == null ? void 0 : t.text
1436
1445
  }
1437
1446
  )
1438
- ] }), Pt = ({ mainLink: e, subLink: t, isLoading: r, badge: o, loaderProps: i, classes: d }) => {
1447
+ ] }), Dt = ({ mainLink: e, subLink: t, isLoading: r, badge: n, loaderProps: i, classes: d }) => {
1439
1448
  const { isMobile: l } = K();
1440
- return /* @__PURE__ */ n.jsx(re, { isLoading: r, loaderProps: i, classes: d == null ? void 0 : d.authWrapper, children: /* @__PURE__ */ n.jsxs(
1449
+ return /* @__PURE__ */ o.jsx(re, { isLoading: r, loaderProps: i, classes: d == null ? void 0 : d.authWrapper, children: /* @__PURE__ */ o.jsxs(
1441
1450
  "div",
1442
1451
  {
1443
1452
  className: a(
1444
1453
  "flex flex-1 items-center justify-between gap-1",
1445
- { "justify-center": !o && l },
1454
+ { "justify-center": !n && l },
1446
1455
  d == null ? void 0 : d.innerWrapper
1447
1456
  ),
1448
1457
  children: [
1449
- /* @__PURE__ */ n.jsxs("div", { className: a("flex items-center gap-1 desktop:gap-4", d == null ? void 0 : d.textContent), children: [
1450
- /* @__PURE__ */ n.jsxs("div", { children: [
1451
- /* @__PURE__ */ n.jsx(c, { name: "logos/mts", className: a("relative z-[9] size-7 desktop:size-8", d == null ? void 0 : d.mtsLogo) }),
1452
- /* @__PURE__ */ n.jsx(c, { name: "logos/megafon", className: a("relative z-[8] -ml-4 size-7 desktop:size-8", d == null ? void 0 : d.megafonLogo) }),
1453
- /* @__PURE__ */ n.jsx(c, { name: "logos/beeline", className: a("relative z-[7] -ml-4 size-7 desktop:size-8", d == null ? void 0 : d.beelineLogo) })
1458
+ /* @__PURE__ */ o.jsxs("div", { className: a("flex items-center gap-1 desktop:gap-4", d == null ? void 0 : d.textContent), children: [
1459
+ /* @__PURE__ */ o.jsxs("div", { children: [
1460
+ /* @__PURE__ */ o.jsx(c, { name: "logos/mts", className: a("relative z-[9] size-7 desktop:size-8", d == null ? void 0 : d.mtsLogo) }),
1461
+ /* @__PURE__ */ o.jsx(c, { name: "logos/megafon", className: a("relative z-[8] -ml-4 size-7 desktop:size-8", d == null ? void 0 : d.megafonLogo) }),
1462
+ /* @__PURE__ */ o.jsx(c, { name: "logos/beeline", className: a("relative z-[7] -ml-4 size-7 desktop:size-8", d == null ? void 0 : d.beelineLogo) })
1454
1463
  ] }),
1455
- /* @__PURE__ */ n.jsx(ne, { mainLink: e, subLink: t, isMobile: l, classes: d == null ? void 0 : d.links }),
1456
- /* @__PURE__ */ n.jsx(c, { name: "arrows/arrowRight", className: a("mobile:hidden", d == null ? void 0 : d.arrowIcon) })
1464
+ /* @__PURE__ */ o.jsx(ne, { mainLink: e, subLink: t, isMobile: l, classes: d == null ? void 0 : d.links }),
1465
+ /* @__PURE__ */ o.jsx(c, { name: "arrows/arrowRight", className: a("mobile:hidden", d == null ? void 0 : d.arrowIcon) })
1457
1466
  ] }),
1458
- o && /* @__PURE__ */ n.jsx(vt, { className: a("bg-color-positive", d == null ? void 0 : d.badge), children: o })
1467
+ n && /* @__PURE__ */ o.jsx(Nt, { className: a("bg-color-positive", d == null ? void 0 : d.badge), children: n })
1459
1468
  ]
1460
1469
  }
1461
1470
  ) });
1462
- }, Dt = ({ mainLink: e, subLink: t, isLoading: r, badge: o, loaderProps: i, classes: d }) => {
1471
+ }, Lt = ({ mainLink: e, subLink: t, isLoading: r, badge: n, loaderProps: i, classes: d }) => {
1463
1472
  const { isMobile: l } = K();
1464
- return /* @__PURE__ */ n.jsx(re, { isLoading: r, loaderProps: i, classes: d == null ? void 0 : d.authWrapper, children: /* @__PURE__ */ n.jsxs(
1473
+ return /* @__PURE__ */ o.jsx(re, { isLoading: r, loaderProps: i, classes: d == null ? void 0 : d.authWrapper, children: /* @__PURE__ */ o.jsxs(
1465
1474
  "div",
1466
1475
  {
1467
1476
  className: a(
1468
1477
  "flex flex-1 items-center justify-between gap-1",
1469
- { "justify-center": !o && l },
1478
+ { "justify-center": !n && l },
1470
1479
  d == null ? void 0 : d.innerWrapper
1471
1480
  ),
1472
1481
  children: [
1473
- /* @__PURE__ */ n.jsxs("div", { className: a("flex items-center gap-1 desktop:gap-4", d == null ? void 0 : d.textContent), children: [
1474
- /* @__PURE__ */ n.jsx(dr, { className: a("size-7 desktop:size-8", d == null ? void 0 : d.esiaLogo) }),
1475
- /* @__PURE__ */ n.jsx(ne, { mainLink: e, subLink: t, isMobile: l, classes: d == null ? void 0 : d.links }),
1476
- /* @__PURE__ */ n.jsx(c, { name: "arrows/arrowRight", className: a("mobile:hidden", d == null ? void 0 : d.arrowIcon) })
1482
+ /* @__PURE__ */ o.jsxs("div", { className: a("flex items-center gap-1 desktop:gap-4", d == null ? void 0 : d.textContent), children: [
1483
+ /* @__PURE__ */ o.jsx(dr, { className: a("size-7 desktop:size-8", d == null ? void 0 : d.esiaLogo) }),
1484
+ /* @__PURE__ */ o.jsx(ne, { mainLink: e, subLink: t, isMobile: l, classes: d == null ? void 0 : d.links }),
1485
+ /* @__PURE__ */ o.jsx(c, { name: "arrows/arrowRight", className: a("mobile:hidden", d == null ? void 0 : d.arrowIcon) })
1477
1486
  ] }),
1478
- o && /* @__PURE__ */ n.jsx(vt, { className: a("bg-color-positive", d == null ? void 0 : d.badge), children: o })
1487
+ n && /* @__PURE__ */ o.jsx(Nt, { className: a("bg-color-positive", d == null ? void 0 : d.badge), children: n })
1479
1488
  ]
1480
1489
  }
1481
1490
  ) });
1482
1491
  }, ar = (e) => {
1483
1492
  switch (e.mode) {
1484
1493
  case yt.ESIA:
1485
- return /* @__PURE__ */ n.jsx(Dt, { ...e });
1494
+ return /* @__PURE__ */ o.jsx(Lt, { ...e });
1486
1495
  case yt.MOBILE_ID:
1487
- return /* @__PURE__ */ n.jsx(Pt, { ...e });
1496
+ return /* @__PURE__ */ o.jsx(Dt, { ...e });
1488
1497
  case yt.COMBINE:
1489
1498
  default:
1490
- const { esiaConfig: t, mobileIdConfig: r, subtitle: o, badge: i, classes: d } = e, l = !o && !i ? at.Fragment : "div";
1491
- return /* @__PURE__ */ n.jsxs(
1499
+ const { esiaConfig: t, mobileIdConfig: r, subtitle: n, badge: i, classes: d } = e, l = !n && !i ? at.Fragment : "div";
1500
+ return /* @__PURE__ */ o.jsxs(
1492
1501
  "div",
1493
1502
  {
1494
1503
  className: a(
@@ -1496,13 +1505,13 @@ const Le = [
1496
1505
  d == null ? void 0 : d.root
1497
1506
  ),
1498
1507
  children: [
1499
- /* @__PURE__ */ n.jsxs(l, { className: a("flex w-full items-center justify-between gap-2", d == null ? void 0 : d.topContent), children: [
1500
- o && /* @__PURE__ */ n.jsx("h5", { className: a("desk-body-regular-l flex flex-1 text-color-dark", d == null ? void 0 : d.subtitle), children: o }),
1501
- i && /* @__PURE__ */ n.jsx(vt, { className: a("bg-color-positive", d == null ? void 0 : d.badge), children: i })
1508
+ /* @__PURE__ */ o.jsxs(l, { className: a("flex w-full items-center justify-between gap-2", d == null ? void 0 : d.topContent), children: [
1509
+ n && /* @__PURE__ */ o.jsx("h5", { className: a("desk-body-regular-l flex flex-1 text-color-dark", d == null ? void 0 : d.subtitle), children: n }),
1510
+ i && /* @__PURE__ */ o.jsx(Nt, { className: a("bg-color-positive", d == null ? void 0 : d.badge), children: i })
1502
1511
  ] }),
1503
- /* @__PURE__ */ n.jsxs("div", { className: a("grid w-full grid-cols-2 gap-2 desktop:gap-4", d == null ? void 0 : d.authWrapper), children: [
1504
- /* @__PURE__ */ n.jsx(
1505
- Dt,
1512
+ /* @__PURE__ */ o.jsxs("div", { className: a("grid w-full grid-cols-2 gap-2 desktop:gap-4", d == null ? void 0 : d.authWrapper), children: [
1513
+ /* @__PURE__ */ o.jsx(
1514
+ Lt,
1506
1515
  {
1507
1516
  ...t,
1508
1517
  classes: {
@@ -1512,8 +1521,8 @@ const Le = [
1512
1521
  }
1513
1522
  }
1514
1523
  ),
1515
- /* @__PURE__ */ n.jsx(
1516
- Pt,
1524
+ /* @__PURE__ */ o.jsx(
1525
+ Dt,
1517
1526
  {
1518
1527
  ...r,
1519
1528
  classes: {
@@ -1528,7 +1537,7 @@ const Le = [
1528
1537
  }
1529
1538
  );
1530
1539
  }
1531
- }, En = (e) => ar(e), Lt = ({ links: e, classes: t }) => /* @__PURE__ */ n.jsx("nav", { className: a("flex flex-col gap-1", t == null ? void 0 : t.linksWrapper), children: e == null ? void 0 : e.map(({ path: r, label: o }) => /* @__PURE__ */ n.jsx(
1540
+ }, En = (e) => ar(e), Qt = ({ links: e, classes: t }) => /* @__PURE__ */ o.jsx("nav", { className: a("flex flex-col gap-1", t == null ? void 0 : t.linksWrapper), children: e == null ? void 0 : e.map(({ path: r, label: n }) => /* @__PURE__ */ o.jsx(
1532
1541
  ct,
1533
1542
  {
1534
1543
  classes: {
@@ -1537,23 +1546,23 @@ const Le = [
1537
1546
  },
1538
1547
  intent: "dark",
1539
1548
  href: r,
1540
- children: o
1549
+ children: n
1541
1550
  },
1542
1551
  r
1543
- )) }), lr = ({ groupLabel: e, links: t, mobileAccordionProps: r, classes: o }) => {
1552
+ )) }), lr = ({ groupLabel: e, links: t, mobileAccordionProps: r, classes: n }) => {
1544
1553
  var d, l, u;
1545
1554
  const { isMobile: i } = K();
1546
- return /* @__PURE__ */ n.jsxs("div", { className: a("flex flex-col gap-2", o == null ? void 0 : o.columnGroup), children: [
1547
- !i && /* @__PURE__ */ n.jsxs(n.Fragment, { children: [
1548
- /* @__PURE__ */ n.jsx("h5", { className: a("mob-body-medium-l text-color-dark desktop:desk-body-medium-l", o == null ? void 0 : o.columnGroupHeading), children: e }),
1549
- /* @__PURE__ */ n.jsx(Lt, { links: t, classes: o == null ? void 0 : o.linksList }, "desktop")
1555
+ return /* @__PURE__ */ o.jsxs("div", { className: a("flex flex-col gap-2", n == null ? void 0 : n.columnGroup), children: [
1556
+ !i && /* @__PURE__ */ o.jsxs(o.Fragment, { children: [
1557
+ /* @__PURE__ */ o.jsx("h5", { className: a("mob-body-medium-l text-color-dark desktop:desk-body-medium-l", n == null ? void 0 : n.columnGroupHeading), children: e }),
1558
+ /* @__PURE__ */ o.jsx(Qt, { links: t, classes: n == null ? void 0 : n.linksList }, "desktop")
1550
1559
  ] }),
1551
- i && /* @__PURE__ */ n.jsx(
1560
+ i && /* @__PURE__ */ o.jsx(
1552
1561
  ot,
1553
1562
  {
1554
1563
  defaultOpen: !0,
1555
1564
  label: e,
1556
- icon: /* @__PURE__ */ n.jsx(c, { name: "arrows/arrowRight", className: a("rotate-90 transition-transform group-data-[state=open]:-rotate-90") }),
1565
+ icon: /* @__PURE__ */ o.jsx(c, { name: "arrows/arrowRight", className: a("rotate-90 transition-transform group-data-[state=open]:-rotate-90") }),
1557
1566
  ...r,
1558
1567
  classes: {
1559
1568
  ...r == null ? void 0 : r.classes,
@@ -1562,11 +1571,11 @@ const Le = [
1562
1571
  },
1563
1572
  contentInner: a("py-2 px-4", (u = r == null ? void 0 : r.classes) == null ? void 0 : u.contentInner)
1564
1573
  },
1565
- children: /* @__PURE__ */ n.jsx(Lt, { links: t, classes: o == null ? void 0 : o.linksList }, "mobile")
1574
+ children: /* @__PURE__ */ o.jsx(Qt, { links: t, classes: n == null ? void 0 : n.linksList }, "mobile")
1566
1575
  }
1567
1576
  )
1568
1577
  ] });
1569
- }, ur = ({ column: e, mobileAccordionProps: t, classes: r }) => /* @__PURE__ */ n.jsx("div", { className: a("flex flex-col gap-4 desktop:gap-6", r == null ? void 0 : r.column), children: e == null ? void 0 : e.map((o) => /* @__PURE__ */ n.jsx(lr, { ...t, ...o, classes: r == null ? void 0 : r.columnGroup }, o.groupLabel)) }), pr = M("grid gap-4 grid-cols-1", {
1578
+ }, ur = ({ column: e, mobileAccordionProps: t, classes: r }) => /* @__PURE__ */ o.jsx("div", { className: a("flex flex-col gap-4 desktop:gap-6", r == null ? void 0 : r.column), children: e == null ? void 0 : e.map((n) => /* @__PURE__ */ o.jsx(lr, { ...t, ...n, classes: r == null ? void 0 : r.columnGroup }, n.groupLabel)) }), pr = M("grid gap-4 grid-cols-1", {
1570
1579
  variants: {
1571
1580
  variant: {
1572
1581
  twoCols: "desktop:grid-cols-2",
@@ -1581,22 +1590,22 @@ const Le = [
1581
1590
  variant: e,
1582
1591
  details: t,
1583
1592
  headline: r,
1584
- mobileAccordionProps: o,
1593
+ mobileAccordionProps: n,
1585
1594
  rootAccordionProps: i,
1586
1595
  classes: d
1587
1596
  }) => {
1588
1597
  var l, u, p;
1589
- return /* @__PURE__ */ n.jsx(
1598
+ return /* @__PURE__ */ o.jsx(
1590
1599
  "section",
1591
1600
  {
1592
1601
  id: j.interLinking,
1593
1602
  "data-test-id": j.interLinking,
1594
1603
  className: a("min-w-full desktop:min-w-[1140px]", d == null ? void 0 : d.root),
1595
- children: /* @__PURE__ */ n.jsx(H, { children: /* @__PURE__ */ n.jsx(
1604
+ children: /* @__PURE__ */ o.jsx(H, { children: /* @__PURE__ */ o.jsx(
1596
1605
  ot,
1597
1606
  {
1598
1607
  defaultOpen: !0,
1599
- label: /* @__PURE__ */ n.jsx(L, { as: "h4", className: a("text-left", d == null ? void 0 : d.headline), children: r }),
1608
+ label: /* @__PURE__ */ o.jsx(L, { as: "h4", className: a("text-left", d == null ? void 0 : d.headline), children: r }),
1600
1609
  ...i,
1601
1610
  classes: {
1602
1611
  ...i == null ? void 0 : i.classes,
@@ -1605,12 +1614,12 @@ const Le = [
1605
1614
  },
1606
1615
  content: a("max-w-full bg-color-blue-grey-100 relative", (p = i == null ? void 0 : i.classes) == null ? void 0 : p.content)
1607
1616
  },
1608
- children: /* @__PURE__ */ n.jsx("div", { className: a(pr({ variant: e }), d == null ? void 0 : d.columnsWrapper), children: t == null ? void 0 : t.map((m, x) => /* @__PURE__ */ n.jsx(ur, { ...m, ...o, classes: d == null ? void 0 : d.column }, x)) })
1617
+ children: /* @__PURE__ */ o.jsx("div", { className: a(pr({ variant: e }), d == null ? void 0 : d.columnsWrapper), children: t == null ? void 0 : t.map((m, x) => /* @__PURE__ */ o.jsx(ur, { ...m, ...n, classes: d == null ? void 0 : d.column }, x)) })
1609
1618
  }
1610
1619
  ) })
1611
1620
  }
1612
1621
  );
1613
- }, hr = ({ tabsNames: e, activeTab: t, setActiveTab: r, classes: o }) => /* @__PURE__ */ n.jsx("div", { className: a("hidden-scroll flex items-center gap-4 overflow-x-auto p-[6px]", o == null ? void 0 : o.tabs), children: e && e.map((i, d) => /* @__PURE__ */ n.jsx(
1622
+ }, hr = ({ tabsNames: e, activeTab: t, setActiveTab: r, classes: n }) => /* @__PURE__ */ o.jsx("div", { className: a("hidden-scroll flex items-center gap-4 overflow-x-auto p-[6px]", n == null ? void 0 : n.tabs), children: e && e.map((i, d) => /* @__PURE__ */ o.jsx(
1614
1623
  "button",
1615
1624
  {
1616
1625
  onClick: () => r(d),
@@ -1619,20 +1628,20 @@ const Le = [
1619
1628
  {
1620
1629
  "bg-icon-primary-default text-color-white": t === d
1621
1630
  },
1622
- o == null ? void 0 : o.button
1631
+ n == null ? void 0 : n.button
1623
1632
  ),
1624
1633
  children: i
1625
1634
  },
1626
1635
  i
1627
- )) }), mr = (e) => e.variant === "HTML", xr = (e) => e.variant === "DOCUMENTS", fr = (e) => e.variant === "TABLE", cr = ({ html: e, config: t, classes: r, accordionConfig: o }) => {
1628
- const i = /* @__PURE__ */ n.jsx("div", { className: a(r == null ? void 0 : r.html), dangerouslySetInnerHTML: { __html: e ?? "" } });
1629
- return /* @__PURE__ */ n.jsx(n.Fragment, { children: t && (t != null && t.isAccordion) && (t != null && t.accordionTitle) ? /* @__PURE__ */ n.jsx(ot, { label: t == null ? void 0 : t.accordionTitle, ...o, children: (o == null ? void 0 : o.children) ?? i }) : i });
1636
+ )) }), mr = (e) => e.variant === "HTML", xr = (e) => e.variant === "DOCUMENTS", fr = (e) => e.variant === "TABLE", cr = ({ html: e, config: t, classes: r, accordionConfig: n }) => {
1637
+ const i = /* @__PURE__ */ o.jsx("div", { className: a(r == null ? void 0 : r.html), dangerouslySetInnerHTML: { __html: e ?? "" } });
1638
+ return /* @__PURE__ */ o.jsx(o.Fragment, { children: t && (t != null && t.isAccordion) && (t != null && t.accordionTitle) ? /* @__PURE__ */ o.jsx(ot, { label: t == null ? void 0 : t.accordionTitle, ...n, children: (n == null ? void 0 : n.children) ?? i }) : i });
1630
1639
  }, br = (e, t) => ({
1631
1640
  rows: e == null ? void 0 : e.map(({ row: r }) => ({
1632
- row: r == null ? void 0 : r.map((o, i) => {
1641
+ row: r == null ? void 0 : r.map((n, i) => {
1633
1642
  var d;
1634
1643
  return {
1635
- ...o,
1644
+ ...n,
1636
1645
  heading: t && ((d = t[i]) == null ? void 0 : d.heading)
1637
1646
  };
1638
1647
  })
@@ -1651,7 +1660,7 @@ const Le = [
1651
1660
  threeCols: "grid-cols-3 gap-12"
1652
1661
  }
1653
1662
  }
1654
- }), yr = ({ headings: e, columnsVariant: t, classes: r }) => /* @__PURE__ */ n.jsx("div", { className: a(jr({ columnsVariant: t }), r == null ? void 0 : r.row), children: e == null ? void 0 : e.map((o) => /* @__PURE__ */ n.jsx("div", { className: a("text-color-secondary", r == null ? void 0 : r.cell), children: o == null ? void 0 : o.heading }, o == null ? void 0 : o.heading)) }), kr = M("grid items-center", {
1663
+ }), yr = ({ headings: e, columnsVariant: t, classes: r }) => /* @__PURE__ */ o.jsx("div", { className: a(jr({ columnsVariant: t }), r == null ? void 0 : r.row), children: e == null ? void 0 : e.map((n) => /* @__PURE__ */ o.jsx("div", { className: a("text-color-secondary", r == null ? void 0 : r.cell), children: n == null ? void 0 : n.heading }, n == null ? void 0 : n.heading)) }), kr = M("grid items-center", {
1655
1664
  variants: {
1656
1665
  columnsVariant: {
1657
1666
  twoCols: "grid-cols-2 gap-16",
@@ -1662,7 +1671,7 @@ const Le = [
1662
1671
  separator: "px-4 py-4 border-t border-solid border-warm-grey-200"
1663
1672
  }
1664
1673
  }
1665
- }), wr = ({ row: e, tableVariant: t, columnsVariant: r, rowIndex: o, classes: i }) => /* @__PURE__ */ n.jsx("div", { className: a(kr({ columnsVariant: r, tableVariant: t }), { "border-none": o === 0 }, i == null ? void 0 : i.row), children: e == null ? void 0 : e.map(({ cell: d }, l) => /* @__PURE__ */ n.jsx(
1674
+ }), wr = ({ row: e, tableVariant: t, columnsVariant: r, rowIndex: n, classes: i }) => /* @__PURE__ */ o.jsx("div", { className: a(kr({ columnsVariant: r, tableVariant: t }), { "border-none": n === 0 }, i == null ? void 0 : i.row), children: e == null ? void 0 : e.map(({ cell: d }, l) => /* @__PURE__ */ o.jsx(
1666
1675
  "div",
1667
1676
  {
1668
1677
  className: a("desk-body-regular-l text-color-dark", { "font-medium": l !== 0 }, i == null ? void 0 : i.cell),
@@ -1676,42 +1685,42 @@ const Le = [
1676
1685
  separator: "py-4 border-t border-solid border-warm-grey-200 first:border-none"
1677
1686
  }
1678
1687
  }
1679
- }), Nr = ({ row: e, tableVariant: t, columnsVariant: r, headingsExist: o, classes: i }) => /* @__PURE__ */ n.jsx("div", { className: a(vr({ tableVariant: t }), i == null ? void 0 : i.row), children: e == null ? void 0 : e.map(({ cell: d, heading: l }, u) => /* @__PURE__ */ n.jsxs("div", { className: a("grid grid-cols-2 gap-3", { "grid-cols-1 gap-0": !o }, i == null ? void 0 : i.wrapper), children: [
1680
- l && /* @__PURE__ */ n.jsx("div", { className: a("mob-body-regular-l text-color-secondary", i == null ? void 0 : i.heading), children: l }),
1681
- /* @__PURE__ */ n.jsx(
1688
+ }), Nr = ({ row: e, tableVariant: t, columnsVariant: r, headingsExist: n, classes: i }) => /* @__PURE__ */ o.jsx("div", { className: a(vr({ tableVariant: t }), i == null ? void 0 : i.row), children: e == null ? void 0 : e.map(({ cell: d, heading: l }, u) => /* @__PURE__ */ o.jsxs("div", { className: a("grid grid-cols-2 gap-3", { "grid-cols-1 gap-0": !n }, i == null ? void 0 : i.wrapper), children: [
1689
+ l && /* @__PURE__ */ o.jsx("div", { className: a("mob-body-regular-l text-color-secondary", i == null ? void 0 : i.heading), children: l }),
1690
+ /* @__PURE__ */ o.jsx(
1682
1691
  "div",
1683
1692
  {
1684
1693
  className: a(
1685
1694
  "mob-body-regular-l text-color-dark",
1686
1695
  {
1687
- "font-medium": u !== 0 && r === "twoCols" || r === "threeCols" || r === "twoCols" && o
1696
+ "font-medium": u !== 0 && r === "twoCols" || r === "threeCols" || r === "twoCols" && n
1688
1697
  },
1689
1698
  i == null ? void 0 : i.cell
1690
1699
  ),
1691
1700
  children: d
1692
1701
  }
1693
1702
  )
1694
- ] }, u)) }), sr = ({ tableVariant: e, rows: t, headings: r, columnsVariant: o, classes: i }) => {
1703
+ ] }, u)) }), sr = ({ tableVariant: e, rows: t, headings: r, columnsVariant: n, classes: i }) => {
1695
1704
  var p;
1696
1705
  const { isDesktop: d } = K(), l = ((p = br(t, r)) == null ? void 0 : p.rows) ?? [], u = !!(r && r.length > 0);
1697
- return /* @__PURE__ */ n.jsxs("div", { className: a("flex flex-col", i == null ? void 0 : i.wrapper), children: [
1698
- d && u && /* @__PURE__ */ n.jsx(yr, { headings: r, columnsVariant: o, classes: i == null ? void 0 : i.desktopHeading }),
1699
- d ? /* @__PURE__ */ n.jsx(n.Fragment, { children: t == null ? void 0 : t.map((m, x) => /* @__PURE__ */ n.jsx(
1706
+ return /* @__PURE__ */ o.jsxs("div", { className: a("flex flex-col", i == null ? void 0 : i.wrapper), children: [
1707
+ d && u && /* @__PURE__ */ o.jsx(yr, { headings: r, columnsVariant: n, classes: i == null ? void 0 : i.desktopHeading }),
1708
+ d ? /* @__PURE__ */ o.jsx(o.Fragment, { children: t == null ? void 0 : t.map((m, x) => /* @__PURE__ */ o.jsx(
1700
1709
  wr,
1701
1710
  {
1702
1711
  rowIndex: x,
1703
1712
  tableVariant: e,
1704
- columnsVariant: o,
1713
+ columnsVariant: n,
1705
1714
  classes: i == null ? void 0 : i.desktopRow,
1706
1715
  ...m
1707
1716
  },
1708
1717
  x
1709
- )) }) : /* @__PURE__ */ n.jsx(n.Fragment, { children: l == null ? void 0 : l.map((m, x) => /* @__PURE__ */ n.jsx(
1718
+ )) }) : /* @__PURE__ */ o.jsx(o.Fragment, { children: l == null ? void 0 : l.map((m, x) => /* @__PURE__ */ o.jsx(
1710
1719
  Nr,
1711
1720
  {
1712
1721
  headingsExist: u,
1713
1722
  tableVariant: e,
1714
- columnsVariant: o,
1723
+ columnsVariant: n,
1715
1724
  classes: i == null ? void 0 : i.desktopRow,
1716
1725
  ...m
1717
1726
  },
@@ -1722,17 +1731,17 @@ const Le = [
1722
1731
  tableVariant: e,
1723
1732
  description: t,
1724
1733
  columnsVariant: r,
1725
- config: o,
1734
+ config: n,
1726
1735
  rows: i,
1727
1736
  title: d,
1728
1737
  headings: l,
1729
1738
  accordionConfig: u,
1730
1739
  classes: p
1731
1740
  }) => {
1732
- const m = /* @__PURE__ */ n.jsxs("div", { className: a(gr({ columnsVariant: r }), p == null ? void 0 : p.wrapper), children: [
1733
- d && /* @__PURE__ */ n.jsx(L, { as: "h4", className: a("mb-4 desktop:mb-6", p == null ? void 0 : p.headline), children: d }),
1734
- /* @__PURE__ */ n.jsx(sr, { tableVariant: e, rows: i, headings: l, columnsVariant: r }),
1735
- t && /* @__PURE__ */ n.jsx(
1741
+ const m = /* @__PURE__ */ o.jsxs("div", { className: a(gr({ columnsVariant: r }), p == null ? void 0 : p.wrapper), children: [
1742
+ d && /* @__PURE__ */ o.jsx(L, { as: "h4", className: a("mb-4 desktop:mb-6", p == null ? void 0 : p.headline), children: d }),
1743
+ /* @__PURE__ */ o.jsx(sr, { tableVariant: e, rows: i, headings: l, columnsVariant: r }),
1744
+ t && /* @__PURE__ */ o.jsx(
1736
1745
  "div",
1737
1746
  {
1738
1747
  className: a("mt-2 [&&]:desk-body-regular-m desktop:mt-2", p == null ? void 0 : p.description),
@@ -1740,7 +1749,7 @@ const Le = [
1740
1749
  }
1741
1750
  )
1742
1751
  ] });
1743
- return /* @__PURE__ */ n.jsx(n.Fragment, { children: o && (o != null && o.isAccordion) && (o != null && o.accordionTitle) ? /* @__PURE__ */ n.jsx(ot, { label: o == null ? void 0 : o.accordionTitle, ...u, children: (u == null ? void 0 : u.children) || m }) : m });
1752
+ return /* @__PURE__ */ o.jsx(o.Fragment, { children: n && (n != null && n.isAccordion) && (n != null && n.accordionTitle) ? /* @__PURE__ */ o.jsx(ot, { label: n == null ? void 0 : n.accordionTitle, ...u, children: (u == null ? void 0 : u.children) || m }) : m });
1744
1753
  }, Tr = {
1745
1754
  documentFilled: "files/documentFilled",
1746
1755
  documentOutline: "files/documentOutline"
@@ -1754,7 +1763,7 @@ const Le = [
1754
1763
  defaultVariants: {
1755
1764
  iconType: "documentOutline"
1756
1765
  }
1757
- }), Ir = ({ label: e, size: t, url: r, iconType: o, classes: i }) => /* @__PURE__ */ n.jsxs(
1766
+ }), Ir = ({ label: e, size: t, url: r, iconType: n, classes: i }) => /* @__PURE__ */ o.jsxs(
1758
1767
  "a",
1759
1768
  {
1760
1769
  href: r,
@@ -1766,35 +1775,35 @@ const Le = [
1766
1775
  i == null ? void 0 : i.link
1767
1776
  ),
1768
1777
  children: [
1769
- /* @__PURE__ */ n.jsx(c, { name: Tr[o], className: a(Er({ iconType: o }), i == null ? void 0 : i.icon) }),
1770
- /* @__PURE__ */ n.jsxs("div", { className: a("flex flex-1 flex-col", i == null ? void 0 : i.wrapper), children: [
1771
- /* @__PURE__ */ n.jsx("p", { className: a("desk-body-medium-l text-color-dark", i == null ? void 0 : i.label), children: e }),
1772
- /* @__PURE__ */ n.jsxs("div", { className: a("desk-body-regular-m text-color-disabled", i == null ? void 0 : i.size), children: [
1778
+ /* @__PURE__ */ o.jsx(c, { name: Tr[n], className: a(Er({ iconType: n }), i == null ? void 0 : i.icon) }),
1779
+ /* @__PURE__ */ o.jsxs("div", { className: a("flex flex-1 flex-col", i == null ? void 0 : i.wrapper), children: [
1780
+ /* @__PURE__ */ o.jsx("p", { className: a("desk-body-medium-l text-color-dark", i == null ? void 0 : i.label), children: e }),
1781
+ /* @__PURE__ */ o.jsxs("div", { className: a("desk-body-regular-m text-color-disabled", i == null ? void 0 : i.size), children: [
1773
1782
  Number(t),
1774
1783
  " КБ"
1775
1784
  ] })
1776
1785
  ] })
1777
1786
  ]
1778
1787
  }
1779
- ), Mr = ({ docs: e, config: t, title: r, iconType: o, description: i, classes: d, accordionConfig: l }) => {
1780
- const u = /* @__PURE__ */ n.jsxs("div", { className: a("flex max-w-[680px] flex-col", d == null ? void 0 : d.wrapper), children: [
1781
- r && /* @__PURE__ */ n.jsx(L, { as: "h3", className: "mb-4", children: r }),
1782
- /* @__PURE__ */ n.jsx("div", { className: a("flex flex-col gap-4", d == null ? void 0 : d.documentsWrapper), children: e == null ? void 0 : e.map((p) => /* @__PURE__ */ n.jsx(Ir, { iconType: o, ...p, classes: d == null ? void 0 : d.singleDocument }, p.label)) }),
1783
- i && /* @__PURE__ */ n.jsx("div", { className: a("mt-4", d == null ? void 0 : d.description), dangerouslySetInnerHTML: { __html: i ?? "" } })
1788
+ ), Mr = ({ docs: e, config: t, title: r, iconType: n, description: i, classes: d, accordionConfig: l }) => {
1789
+ const u = /* @__PURE__ */ o.jsxs("div", { className: a("flex max-w-[680px] flex-col", d == null ? void 0 : d.wrapper), children: [
1790
+ r && /* @__PURE__ */ o.jsx(L, { as: "h3", className: "mb-4", children: r }),
1791
+ /* @__PURE__ */ o.jsx("div", { className: a("flex flex-col gap-4", d == null ? void 0 : d.documentsWrapper), children: e == null ? void 0 : e.map((p) => /* @__PURE__ */ o.jsx(Ir, { iconType: n, ...p, classes: d == null ? void 0 : d.singleDocument }, p.label)) }),
1792
+ i && /* @__PURE__ */ o.jsx("div", { className: a("mt-4", d == null ? void 0 : d.description), dangerouslySetInnerHTML: { __html: i ?? "" } })
1784
1793
  ] });
1785
- return /* @__PURE__ */ n.jsx(n.Fragment, { children: t && (t != null && t.isAccordion) && (t != null && t.accordionTitle) ? /* @__PURE__ */ n.jsx(ot, { label: t == null ? void 0 : t.accordionTitle, ...l, children: (l == null ? void 0 : l.children) || u }) : u });
1794
+ return /* @__PURE__ */ o.jsx(o.Fragment, { children: t && (t != null && t.isAccordion) && (t != null && t.accordionTitle) ? /* @__PURE__ */ o.jsx(ot, { label: t == null ? void 0 : t.accordionTitle, ...l, children: (l == null ? void 0 : l.children) || u }) : u });
1786
1795
  }, Or = ({ entity: e, classes: t, accordionsConfig: r }) => {
1787
- var o, i, d;
1796
+ var n, i, d;
1788
1797
  switch (!0) {
1789
1798
  case mr(e):
1790
- return (o = e.details) == null ? void 0 : o.map((l, u) => {
1799
+ return (n = e.details) == null ? void 0 : n.map((l, u) => {
1791
1800
  var p;
1792
- return /* @__PURE__ */ n.jsx(cr, { ...l, accordionConfig: r == null ? void 0 : r.htmlAccordion, classes: (p = t == null ? void 0 : t.entities) == null ? void 0 : p.html }, u);
1801
+ return /* @__PURE__ */ o.jsx(cr, { ...l, accordionConfig: r == null ? void 0 : r.htmlAccordion, classes: (p = t == null ? void 0 : t.entities) == null ? void 0 : p.html }, u);
1793
1802
  });
1794
1803
  case xr(e):
1795
1804
  return (i = e.details) == null ? void 0 : i.map((l, u) => {
1796
1805
  var p;
1797
- return /* @__PURE__ */ n.jsx(
1806
+ return /* @__PURE__ */ o.jsx(
1798
1807
  Mr,
1799
1808
  {
1800
1809
  accordionConfig: r == null ? void 0 : r.documentAccordion,
@@ -1807,7 +1816,7 @@ const Le = [
1807
1816
  case fr(e):
1808
1817
  return (d = e.details) == null ? void 0 : d.map((l, u) => {
1809
1818
  var p;
1810
- return /* @__PURE__ */ n.jsx(
1819
+ return /* @__PURE__ */ o.jsx(
1811
1820
  Cr,
1812
1821
  {
1813
1822
  accordionConfig: r == null ? void 0 : r.tableAccordion,
@@ -1820,17 +1829,17 @@ const Le = [
1820
1829
  default:
1821
1830
  return null;
1822
1831
  }
1823
- }, Sr = ({ entity: e, classes: t, accordionsConfig: r }) => /* @__PURE__ */ n.jsx("div", { className: a("flex flex-col gap-6", t == null ? void 0 : t.entityWrapper), children: Or({ entity: e, classes: t, accordionsConfig: r }) }), Mn = ({ headline: e, tabs: t, classes: r, accordionsConfig: o }) => {
1832
+ }, Sr = ({ entity: e, classes: t, accordionsConfig: r }) => /* @__PURE__ */ o.jsx("div", { className: a("flex flex-col gap-6", t == null ? void 0 : t.entityWrapper), children: Or({ entity: e, classes: t, accordionsConfig: r }) }), Mn = ({ headline: e, tabs: t, classes: r, accordionsConfig: n }) => {
1824
1833
  var u, p;
1825
- const [i, d] = G(0), l = st(() => t == null ? void 0 : t.map((m) => m == null ? void 0 : m.tabName), [t]) ?? [];
1826
- return !t || (t == null ? void 0 : t.length) === 0 ? null : /* @__PURE__ */ n.jsx("section", { id: j.usefulInfo, "data-test-id": j.usefulInfo, className: a(r == null ? void 0 : r.root), children: /* @__PURE__ */ n.jsxs(H, { className: a(r == null ? void 0 : r.container), children: [
1827
- /* @__PURE__ */ n.jsx(L, { className: a(r == null ? void 0 : r.headline), as: "h2", children: e }),
1828
- /* @__PURE__ */ n.jsx("div", { className: a("mt-6 flex flex-col gap-2 desktop:mt-12", r == null ? void 0 : r.tabsWrapper), children: /* @__PURE__ */ n.jsx(hr, { tabsNames: l, activeTab: i, setActiveTab: d, classes: r == null ? void 0 : r.tabs }) }),
1829
- /* @__PURE__ */ n.jsx("div", { className: a("mt-6 flex flex-col gap-6", r == null ? void 0 : r.contentWrapper), children: (p = (u = t == null ? void 0 : t[i]) == null ? void 0 : u.contents) == null ? void 0 : p.map((m, x) => /* @__PURE__ */ n.jsx(Sr, { accordionsConfig: o, ...m, classes: r == null ? void 0 : r.entityClasses }, x)) })
1834
+ const [i, d] = G(0), l = Ct(() => t == null ? void 0 : t.map((m) => m == null ? void 0 : m.tabName), [t]) ?? [];
1835
+ return !t || (t == null ? void 0 : t.length) === 0 ? null : /* @__PURE__ */ o.jsx("section", { id: j.usefulInfo, "data-test-id": j.usefulInfo, className: a(r == null ? void 0 : r.root), children: /* @__PURE__ */ o.jsxs(H, { className: a(r == null ? void 0 : r.container), children: [
1836
+ /* @__PURE__ */ o.jsx(L, { className: a(r == null ? void 0 : r.headline), as: "h2", children: e }),
1837
+ /* @__PURE__ */ o.jsx("div", { className: a("mt-6 flex flex-col gap-2 desktop:mt-12", r == null ? void 0 : r.tabsWrapper), children: /* @__PURE__ */ o.jsx(hr, { tabsNames: l, activeTab: i, setActiveTab: d, classes: r == null ? void 0 : r.tabs }) }),
1838
+ /* @__PURE__ */ o.jsx("div", { className: a("mt-6 flex flex-col gap-6", r == null ? void 0 : r.contentWrapper), children: (p = (u = t == null ? void 0 : t[i]) == null ? void 0 : u.contents) == null ? void 0 : p.map((m, x) => /* @__PURE__ */ o.jsx(Sr, { accordionsConfig: n, ...m, classes: r == null ? void 0 : r.entityClasses }, x)) })
1830
1839
  ] }) });
1831
- }, Fr = ({ fields: e, control: t }) => e.map(({ type: r, args: o }) => {
1840
+ }, Fr = ({ fields: e, control: t }) => e.map(({ type: r, args: n }) => {
1832
1841
  const i = ke[r];
1833
- return /* @__PURE__ */ $t(i, { ...o, key: o.name, control: t });
1842
+ return /* @__PURE__ */ Zt(i, { ...n, key: n.name, control: t });
1834
1843
  });
1835
1844
  class Br {
1836
1845
  constructor(t) {
@@ -1844,7 +1853,7 @@ class Br {
1844
1853
  * @param elements Массив для сбора элементов
1845
1854
  * @param as Тип возвращаемых данных ('string' или 'node')
1846
1855
  */
1847
- traverse(t, r = "string", o) {
1856
+ traverse(t, r = "string", n) {
1848
1857
  const { includeSolidText: i, recursive: d, element: l } = this.options || {};
1849
1858
  switch (t.nodeType) {
1850
1859
  // если узел - элемент
@@ -1857,24 +1866,24 @@ class Br {
1857
1866
  if (l && p !== l)
1858
1867
  break;
1859
1868
  if (r === "node")
1860
- o.push(t);
1869
+ n.push(t);
1861
1870
  else {
1862
1871
  const m = u.outerHTML.trim();
1863
- o.push(m);
1872
+ n.push(m);
1864
1873
  }
1865
1874
  if (d)
1866
1875
  for (const m of t.childNodes)
1867
- this.traverse(m, r, o);
1876
+ this.traverse(m, r, n);
1868
1877
  break;
1869
1878
  // если узел - текстовый и требуется его добавить, добавляем
1870
1879
  case this.TEXT_NODE:
1871
1880
  if (!i)
1872
1881
  break;
1873
1882
  if (r === "node")
1874
- o.push(t);
1883
+ n.push(t);
1875
1884
  else {
1876
1885
  const m = t.textContent;
1877
- m && o.push(m);
1886
+ m && n.push(m);
1878
1887
  }
1879
1888
  break;
1880
1889
  }
@@ -1886,8 +1895,8 @@ class Br {
1886
1895
  * @returns Массив тегов или нод
1887
1896
  */
1888
1897
  async parse(t, r = "string") {
1889
- const { includeBody: o } = this.options || {}, i = [], d = [], l = await this.parseFromString(t), u = r === "string" ? i : d;
1890
- if (o)
1898
+ const { includeBody: n } = this.options || {}, i = [], d = [], l = await this.parseFromString(t), u = r === "string" ? i : d;
1899
+ if (n)
1891
1900
  this.traverse(l.body, r, u);
1892
1901
  else
1893
1902
  for (const p of l.body.childNodes)
@@ -1920,7 +1929,7 @@ class _r extends Br {
1920
1929
  return new DOMParser().parseFromString(t, "text/html");
1921
1930
  }
1922
1931
  }
1923
- class kt {
1932
+ class wt {
1924
1933
  /**
1925
1934
  * Функция для парсинга ноды в react элемент
1926
1935
  */
@@ -1928,7 +1937,7 @@ class kt {
1928
1937
  if (t.nodeType === this.TEXT_NODE)
1929
1938
  return t.textContent ?? null;
1930
1939
  if (t.nodeType === this.ELEMENT_NODE) {
1931
- const r = t, o = r.tagName.toLowerCase(), i = {};
1940
+ const r = t, n = r.tagName.toLowerCase(), i = {};
1932
1941
  for (const l of r.attributes) {
1933
1942
  let u = l.name, p = l.value;
1934
1943
  switch (l.name) {
@@ -1952,8 +1961,8 @@ class kt {
1952
1961
  l.value.split(";").forEach((x) => {
1953
1962
  const [f, b] = x.split(":");
1954
1963
  if (f && b) {
1955
- const T = f.trim().replace(/-([a-z])/g, (N, w) => w.toUpperCase());
1956
- m[T] = b.trim();
1964
+ const v = f.trim().replace(/-([a-z])/g, (N, T) => T.toUpperCase());
1965
+ m[v] = b.trim();
1957
1966
  }
1958
1967
  }), p = m;
1959
1968
  break;
@@ -1966,7 +1975,7 @@ class kt {
1966
1975
  const u = this.parseNode(l);
1967
1976
  u && d.push(u);
1968
1977
  }
1969
- return $t(o, i, ...d);
1978
+ return Zt(n, i, ...d);
1970
1979
  }
1971
1980
  return null;
1972
1981
  }
@@ -1974,33 +1983,33 @@ class kt {
1974
1983
  * функция для преобразования html строки в react элементы
1975
1984
  */
1976
1985
  static async toReactNodes(t, r) {
1977
- const o = new _r(r), { nodes: i } = await o.parse(t, "node");
1986
+ const n = new _r(r), { nodes: i } = await n.parse(t, "node");
1978
1987
  return i.map((d) => this.parseNode(d));
1979
1988
  }
1980
1989
  }
1981
- it(kt, "TEXT_NODE", 3), it(kt, "ELEMENT_NODE", 1);
1990
+ it(wt, "TEXT_NODE", 3), it(wt, "ELEMENT_NODE", 1);
1982
1991
  const Pr = ({ promises: e }) => {
1983
1992
  const [t, r] = G([]);
1984
- return Zt(() => {
1993
+ return Xt(() => {
1985
1994
  (async () => {
1986
1995
  r(await e);
1987
1996
  })();
1988
- }, [e]), /* @__PURE__ */ n.jsx(n.Fragment, { children: t });
1989
- }, ft = ({ html: e, options: t, as: r, ...o }) => {
1990
- const i = r ?? se, d = r ? o : {}, l = kt.toReactNodes(e, t);
1997
+ }, [e]), /* @__PURE__ */ o.jsx(o.Fragment, { children: t });
1998
+ }, ft = ({ html: e, options: t, as: r, ...n }) => {
1999
+ const i = r ?? se, d = r ? n : {}, l = wt.toReactNodes(e, t);
1991
2000
  return (
1992
2001
  // @ts-expect-error disable warning
1993
- /* @__PURE__ */ n.jsx(i, { ...d, children: /* @__PURE__ */ n.jsx(Pr, { promises: l }) })
2002
+ /* @__PURE__ */ o.jsx(i, { ...d, children: /* @__PURE__ */ o.jsx(Pr, { promises: l }) })
1994
2003
  );
1995
2004
  }, Dr = ["getFioSchema"], oe = (e, t, r) => {
1996
- const o = e[t];
1997
- if (k.isNil(o))
2005
+ const n = e[t];
2006
+ if (k.isNil(n))
1998
2007
  throw new Error(`validation for type ${String(t)} not found`);
1999
- if (!k.isFunction(o))
2008
+ if (!k.isFunction(n))
2000
2009
  throw new Error(`Cannot generate ${String(t)} because is not a function`);
2001
- return o(r);
2002
- }, Lr = (e, t) => oe(Yt.base, e, t), Qr = (e, t) => oe(Yt.dadata, e, t), zr = (e) => {
2003
- const r = e.map((o) => ({ name: o.args.name, validation: o.args.validation })).reduce((o, i) => {
2010
+ return n(r);
2011
+ }, Lr = (e, t) => oe(te.base, e, t), Qr = (e, t) => oe(te.dadata, e, t), zr = (e) => {
2012
+ const r = e.map((n) => ({ name: n.args.name, validation: n.args.validation })).reduce((n, i) => {
2004
2013
  const d = Dr.includes(i.validation.type) ? Qr(
2005
2014
  i.validation.type,
2006
2015
  i.validation.args
@@ -2008,13 +2017,13 @@ const Pr = ({ promises: e }) => {
2008
2017
  i.validation.type,
2009
2018
  i.validation.args
2010
2019
  );
2011
- return o[i.name] = d, o;
2020
+ return n[i.name] = d, n;
2012
2021
  }, {});
2013
2022
  return Oe(r);
2014
2023
  }, qr = (e, t) => e.enabled ? t.map((r) => ({
2015
2024
  name: r.args.name,
2016
2025
  ...r.args.progress
2017
- })) : null, Ar = new De(), Ur = ({ children: e }) => /* @__PURE__ */ n.jsx(we, { client: Ar, children: e }), Vr = (e, t, r, o) => e.type === "off" ? null : e.type === "text" ? /* @__PURE__ */ n.jsx(ft, { html: e.message, as: "div", className: o == null ? void 0 : o.content }) : /* @__PURE__ */ n.jsxs(
2026
+ })) : null, Ar = new De(), Ur = ({ children: e }) => /* @__PURE__ */ o.jsx(we, { client: Ar, children: e }), Vr = (e, t, r, n) => e.type === "off" ? null : e.type === "text" ? /* @__PURE__ */ o.jsx(ft, { html: e.message, as: "div", className: n == null ? void 0 : n.content }) : /* @__PURE__ */ o.jsxs(
2018
2027
  "label",
2019
2028
  {
2020
2029
  className: a(
@@ -2023,28 +2032,28 @@ const Pr = ({ promises: e }) => {
2023
2032
  "flex items-center justify-items-start gap-x-3"
2024
2033
  ),
2025
2034
  children: [
2026
- /* @__PURE__ */ n.jsx(Gt.CheckboxBase, { classes: o == null ? void 0 : o.checkbox, checked: t, onCheckedChange: r }),
2027
- /* @__PURE__ */ n.jsx(ft, { html: e.content, as: "div", className: o == null ? void 0 : o.content })
2035
+ /* @__PURE__ */ o.jsx(Kt.CheckboxBase, { classes: n == null ? void 0 : n.checkbox, checked: t, onCheckedChange: r }),
2036
+ /* @__PURE__ */ o.jsx(ft, { html: e.content, as: "div", className: n == null ? void 0 : n.content })
2028
2037
  ]
2029
2038
  }
2030
2039
  ), On = ({
2031
2040
  fields: e,
2032
2041
  title: t,
2033
2042
  progress: r,
2034
- approvement: o,
2043
+ approvement: n,
2035
2044
  chips: i,
2036
2045
  submitProps: d,
2037
2046
  classes: l
2038
2047
  }) => {
2039
2048
  var $, Q;
2040
- const { submitCallback: u, ...p } = d || {}, [m, x] = G(!1), f = zr(e), { control: b, handleSubmit: T } = Ie({
2049
+ const { submitCallback: u, ...p } = d || {}, [m, x] = G(!1), f = zr(e), { control: b, handleSubmit: v } = Ie({
2041
2050
  schema: f,
2042
2051
  defaultValues: Se.getZodDefaults(f),
2043
2052
  mode: "onBlur"
2044
- }), N = qr(r, e), w = Fe({ control: b, fields: N || [], schema: f }), _ = (s) => {
2053
+ }), N = qr(r, e), T = Fe({ control: b, fields: N || [], schema: f }), _ = (s) => {
2045
2054
  u && u(s), console.warn(s);
2046
2055
  };
2047
- return /* @__PURE__ */ n.jsx(Ur, { children: /* @__PURE__ */ n.jsxs(
2056
+ return /* @__PURE__ */ o.jsx(Ur, { children: /* @__PURE__ */ o.jsxs(
2048
2057
  "div",
2049
2058
  {
2050
2059
  id: j.form,
@@ -2055,7 +2064,7 @@ const Pr = ({ promises: e }) => {
2055
2064
  l == null ? void 0 : l.root
2056
2065
  ),
2057
2066
  children: [
2058
- i.enabled && /* @__PURE__ */ n.jsxs(
2067
+ i.enabled && /* @__PURE__ */ o.jsxs(
2059
2068
  "div",
2060
2069
  {
2061
2070
  className: a(
@@ -2065,41 +2074,41 @@ const Pr = ({ promises: e }) => {
2065
2074
  ($ = l == null ? void 0 : l.chips) == null ? void 0 : $.root
2066
2075
  ),
2067
2076
  children: [
2068
- i.image && /* @__PURE__ */ n.jsx(c, { name: i.image, className: a("size-4", (Q = l == null ? void 0 : l.chips) == null ? void 0 : Q.icon) }),
2077
+ i.image && /* @__PURE__ */ o.jsx(c, { name: i.image, className: a("size-4", (Q = l == null ? void 0 : l.chips) == null ? void 0 : Q.icon) }),
2069
2078
  i.content
2070
2079
  ]
2071
2080
  }
2072
2081
  ),
2073
- /* @__PURE__ */ n.jsx(L, { as: "h3", className: l == null ? void 0 : l.title, children: t }),
2074
- /* @__PURE__ */ n.jsxs(
2082
+ /* @__PURE__ */ o.jsx(L, { as: "h3", className: l == null ? void 0 : l.title, children: t }),
2083
+ /* @__PURE__ */ o.jsxs(
2075
2084
  "form",
2076
2085
  {
2077
- onSubmit: T(_),
2086
+ onSubmit: v(_),
2078
2087
  className: a("flex w-[328px] flex-col gap-y-6", "desktop:w-[524px] desktop:gap-y-8", l == null ? void 0 : l.form),
2079
2088
  children: [
2080
- r.enabled && /* @__PURE__ */ n.jsx(
2089
+ r.enabled && /* @__PURE__ */ o.jsx(
2081
2090
  ve,
2082
2091
  {
2083
- progress: w,
2084
- topContent: /* @__PURE__ */ n.jsx(ft, { html: r.title }),
2085
- bottomContent: /* @__PURE__ */ n.jsx(ft, { html: r.subtitle }),
2092
+ progress: T,
2093
+ topContent: /* @__PURE__ */ o.jsx(ft, { html: r.title }),
2094
+ bottomContent: /* @__PURE__ */ o.jsx(ft, { html: r.subtitle }),
2086
2095
  maxPercent: r.maxPercent,
2087
2096
  classes: l == null ? void 0 : l.progressBar
2088
2097
  }
2089
2098
  ),
2090
- /* @__PURE__ */ n.jsx(Fr, { control: b, fields: e }),
2091
- /* @__PURE__ */ n.jsxs("div", { className: "mob-body-regular-m flex flex-col items-center justify-center gap-4 desktop:flex-row desktop:justify-between", children: [
2092
- Vr(o, m, x, l == null ? void 0 : l.approvement),
2093
- /* @__PURE__ */ n.jsx(
2094
- wt,
2099
+ /* @__PURE__ */ o.jsx(Fr, { control: b, fields: e }),
2100
+ /* @__PURE__ */ o.jsxs("div", { className: "mob-body-regular-m flex flex-col items-center justify-center gap-4 desktop:flex-row desktop:justify-between", children: [
2101
+ Vr(n, m, x, l == null ? void 0 : l.approvement),
2102
+ /* @__PURE__ */ o.jsx(
2103
+ vt,
2095
2104
  {
2096
2105
  ...p,
2097
2106
  type: "submit",
2098
- disabled: o.type === "checkbox" ? !m : !1,
2107
+ disabled: n.type === "checkbox" ? !m : !1,
2099
2108
  className: a(
2100
2109
  "w-full whitespace-nowrap",
2101
2110
  {
2102
- "w-full desktop:w-[216px]": !!o
2111
+ "w-full desktop:w-[216px]": !!n
2103
2112
  },
2104
2113
  l == null ? void 0 : l.submit
2105
2114
  ),
@@ -2116,13 +2125,13 @@ const Pr = ({ promises: e }) => {
2116
2125
  }, dt = () => ({
2117
2126
  approve: {
2118
2127
  icon: {
2119
- element: /* @__PURE__ */ n.jsx(c, { name: "status/iconMark" }),
2128
+ element: /* @__PURE__ */ o.jsx(c, { name: "status/iconMark" }),
2120
2129
  bg: "bg-color-positive-light"
2121
2130
  },
2122
2131
  title: "Ваша заявка отправлена",
2123
- description: /* @__PURE__ */ n.jsxs(n.Fragment, { children: [
2132
+ description: /* @__PURE__ */ o.jsxs(o.Fragment, { children: [
2124
2133
  "В ближайшее время с Вами свяжутся ",
2125
- /* @__PURE__ */ n.jsx("br", {}),
2134
+ /* @__PURE__ */ o.jsx("br", {}),
2126
2135
  " специалисты нашего Банка"
2127
2136
  ] }),
2128
2137
  button: {
@@ -2131,13 +2140,13 @@ const Pr = ({ promises: e }) => {
2131
2140
  },
2132
2141
  repeated: {
2133
2142
  icon: {
2134
- element: /* @__PURE__ */ n.jsx(c, { name: "status/iconUser" }),
2143
+ element: /* @__PURE__ */ o.jsx(c, { name: "status/iconUser" }),
2135
2144
  bg: "bg-color-positive-light"
2136
2145
  },
2137
2146
  title: "Мы вас узнали",
2138
- description: /* @__PURE__ */ n.jsxs(n.Fragment, { children: [
2147
+ description: /* @__PURE__ */ o.jsxs(o.Fragment, { children: [
2139
2148
  "Решение по прошлой заявке ещё активно. ",
2140
- /* @__PURE__ */ n.jsx("br", {}),
2149
+ /* @__PURE__ */ o.jsx("br", {}),
2141
2150
  "Возвращайтесь к нам позже"
2142
2151
  ] }),
2143
2152
  button: {
@@ -2146,13 +2155,13 @@ const Pr = ({ promises: e }) => {
2146
2155
  },
2147
2156
  error: {
2148
2157
  icon: {
2149
- element: /* @__PURE__ */ n.jsx(c, { name: "status/iconRetry" }),
2158
+ element: /* @__PURE__ */ o.jsx(c, { name: "status/iconRetry" }),
2150
2159
  bg: "bg-color-warning-light"
2151
2160
  },
2152
2161
  title: "Что-то пошло не так",
2153
- description: /* @__PURE__ */ n.jsxs(n.Fragment, { children: [
2162
+ description: /* @__PURE__ */ o.jsxs(o.Fragment, { children: [
2154
2163
  "Обновите страницу или попробуйте ",
2155
- /* @__PURE__ */ n.jsx("br", {}),
2164
+ /* @__PURE__ */ o.jsx("br", {}),
2156
2165
  " снова через 5 минут"
2157
2166
  ] }),
2158
2167
  button: {
@@ -2161,21 +2170,21 @@ const Pr = ({ promises: e }) => {
2161
2170
  },
2162
2171
  reject: {
2163
2172
  icon: {
2164
- element: /* @__PURE__ */ n.jsx(c, { name: "status/badSmile" }),
2173
+ element: /* @__PURE__ */ o.jsx(c, { name: "status/badSmile" }),
2165
2174
  bg: "bg-color-negative-light"
2166
2175
  },
2167
2176
  title: "Нам очень жаль",
2168
- description: /* @__PURE__ */ n.jsxs(n.Fragment, { children: [
2177
+ description: /* @__PURE__ */ o.jsxs(o.Fragment, { children: [
2169
2178
  "К сожалению, сейчас мы не можем ",
2170
- /* @__PURE__ */ n.jsx("br", {}),
2179
+ /* @__PURE__ */ o.jsx("br", {}),
2171
2180
  " принять вашу заявку"
2172
2181
  ] }),
2173
2182
  button: {
2174
2183
  text: "Вернуться на главную"
2175
2184
  }
2176
2185
  }
2177
- }), Sn = ({ status: e, navigationFn: t }) => /* @__PURE__ */ n.jsx("div", { className: "flex flex-col", children: /* @__PURE__ */ n.jsx(H, { className: "flex flex-col justify-center", children: /* @__PURE__ */ n.jsxs("div", { className: "mt-32 flex w-full flex-col items-center gap-8 desktop:gap-12", children: [
2178
- /* @__PURE__ */ n.jsx(
2186
+ }), Sn = ({ status: e, navigationFn: t }) => /* @__PURE__ */ o.jsx("div", { className: "flex flex-col", children: /* @__PURE__ */ o.jsx(H, { 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: [
2187
+ /* @__PURE__ */ o.jsx(
2179
2188
  "span",
2180
2189
  {
2181
2190
  className: a(
@@ -2185,15 +2194,15 @@ const Pr = ({ promises: e }) => {
2185
2194
  children: dt()[e].icon.element
2186
2195
  }
2187
2196
  ),
2188
- /* @__PURE__ */ n.jsxs("div", { className: "flex flex-col items-center gap-2 text-center desktop:gap-6", children: [
2189
- /* @__PURE__ */ n.jsx(L, { as: "h2", children: dt()[e].title }),
2190
- /* @__PURE__ */ n.jsx("p", { className: "desk-body-regular-l text-color-dark", children: dt()[e].description })
2197
+ /* @__PURE__ */ o.jsxs("div", { className: "flex flex-col items-center gap-2 text-center desktop:gap-6", children: [
2198
+ /* @__PURE__ */ o.jsx(L, { as: "h2", children: dt()[e].title }),
2199
+ /* @__PURE__ */ o.jsx("p", { className: "desk-body-regular-l text-color-dark", children: dt()[e].description })
2191
2200
  ] }),
2192
- /* @__PURE__ */ n.jsx(wt, { size: "lg", className: "w-full max-w-[328px] desktop:desk-body-regular-l desktop:w-[256px]", onClick: t, children: dt()[e].button.text })
2193
- ] }) }) }), ie = ({ breadcrumb: e, className: t, ...r }) => /* @__PURE__ */ n.jsx("a", { href: e.path, className: a("desk-body-regular-m", t), ...r, children: e.label }), Wr = ({ startsWith: e, endsWith: t, matcher: r, filter: o, rootEnabled: i = !0 }) => {
2201
+ /* @__PURE__ */ o.jsx(vt, { size: "lg", className: "w-full max-w-[328px] desktop:desk-body-regular-l desktop:w-[256px]", onClick: t, children: dt()[e].button.text })
2202
+ ] }) }) }), ie = ({ breadcrumb: e, className: t, ...r }) => /* @__PURE__ */ o.jsx("a", { href: e.path, className: a("desk-body-regular-m", t), ...r, children: e.label }), Wr = ({ startsWith: e, endsWith: t, matcher: r, filter: n, rootEnabled: i = !0 }) => {
2194
2203
  const [d, l] = G([]);
2195
- return Zt(() => {
2196
- if (!Jt)
2204
+ return Xt(() => {
2205
+ if (!Yt)
2197
2206
  return;
2198
2207
  let u = window.location.pathname.split("/").filter((x) => !k.isStringEmpty(x));
2199
2208
  k.isUndefined(e) || (k.isString(e) ? u = u.slice(u.findIndex((x) => x === e)) : u = u.slice(e)), k.isUndefined(t) || (k.isString(t) ? u = u.slice(0, u.findIndex((x) => x === t) + 1) : u = u.slice(0, t + 1));
@@ -2201,7 +2210,7 @@ const Pr = ({ promises: e }) => {
2201
2210
  if (i) {
2202
2211
  const x = {
2203
2212
  index: 0,
2204
- id: Bt(),
2213
+ id: Rt(),
2205
2214
  path: "/",
2206
2215
  label: "home"
2207
2216
  };
@@ -2213,7 +2222,7 @@ const Pr = ({ promises: e }) => {
2213
2222
  // while root enabled we need to increment index
2214
2223
  // cuz we have root breadcrumb
2215
2224
  index: i ? f + 1 : f,
2216
- id: Bt(),
2225
+ id: Rt(),
2217
2226
  path: m,
2218
2227
  label: x
2219
2228
  };
@@ -2221,12 +2230,12 @@ const Pr = ({ promises: e }) => {
2221
2230
  }), r && (p = p.map((x) => ({
2222
2231
  ...x,
2223
2232
  ...r(x)
2224
- }))), l(o ? p.filter(o) : p);
2225
- }, [t, o, r, i, e]), d;
2226
- }, xt = (e, t, r, o) => e.map((i, d) => {
2227
- const l = d === o;
2228
- return /* @__PURE__ */ n.jsxs("div", { className: "flex items-center gap-x-2", children: [
2229
- /* @__PURE__ */ n.jsx(
2233
+ }))), l(n ? p.filter(n) : p);
2234
+ }, [t, n, r, i, e]), d;
2235
+ }, xt = (e, t, r, n) => e.map((i, d) => {
2236
+ const l = d === n;
2237
+ return /* @__PURE__ */ o.jsxs("div", { className: "flex items-center gap-x-2", children: [
2238
+ /* @__PURE__ */ o.jsx(
2230
2239
  ie,
2231
2240
  {
2232
2241
  breadcrumb: i,
@@ -2237,14 +2246,14 @@ const Pr = ({ promises: e }) => {
2237
2246
  ),
2238
2247
  d !== e.length - 1 && t
2239
2248
  ] }, i.id);
2240
- }), Gr = ({ separator: e, ellipsis: t, classes: r, ...o }) => {
2241
- const [i, d] = G(!1), l = Ct(null);
2249
+ }), Gr = ({ separator: e, ellipsis: t, classes: r, ...n }) => {
2250
+ const [i, d] = G(!1), l = Tt(null);
2242
2251
  Me(l, () => d(!1));
2243
- const u = Wr(o), { first: p, middle: m, last: x } = st(() => {
2244
- let b = [], T = [], N = [];
2245
- return t && (b = u.slice(0, t), T = u.slice(t, u.length - t), N = u.slice(u.length - t)), { first: b, middle: T, last: N };
2246
- }, [u, t]), f = e ?? /* @__PURE__ */ n.jsx(c, { name: "arrows/arrowRight", className: a("size-4", r == null ? void 0 : r.separator) });
2247
- return /* @__PURE__ */ n.jsx(
2252
+ const u = Wr(n), { first: p, middle: m, last: x } = Ct(() => {
2253
+ let b = [], v = [], N = [];
2254
+ return t && (b = u.slice(0, t), v = u.slice(t, u.length - t), N = u.slice(u.length - t)), { first: b, middle: v, last: N };
2255
+ }, [u, t]), f = e ?? /* @__PURE__ */ o.jsx(c, { name: "arrows/arrowRight", className: a("size-4", r == null ? void 0 : r.separator) });
2256
+ return /* @__PURE__ */ o.jsx(
2248
2257
  "div",
2249
2258
  {
2250
2259
  className: a(
@@ -2254,16 +2263,16 @@ const Pr = ({ promises: e }) => {
2254
2263
  ),
2255
2264
  children: t ? (
2256
2265
  // if ellipsis provided, render hidden breadcrumbs
2257
- /* @__PURE__ */ n.jsx(n.Fragment, { children: u.length > t * 2 + 1 ? (
2266
+ /* @__PURE__ */ o.jsx(o.Fragment, { children: u.length > t * 2 + 1 ? (
2258
2267
  // if we have more than ellipsis (visible crumbs) + available hidden crumbs
2259
2268
  // render hidden breadcrumbs
2260
- /* @__PURE__ */ n.jsxs(n.Fragment, { children: [
2269
+ /* @__PURE__ */ o.jsxs(o.Fragment, { children: [
2261
2270
  xt(p, f, r == null ? void 0 : r.breadcrumb),
2262
2271
  f,
2263
- m.length > 0 && /* @__PURE__ */ n.jsxs(n.Fragment, { children: [
2264
- /* @__PURE__ */ n.jsxs("div", { className: "relative", children: [
2265
- /* @__PURE__ */ n.jsx("button", { onClick: () => d(!0), children: "..." }),
2266
- /* @__PURE__ */ n.jsx(
2272
+ m.length > 0 && /* @__PURE__ */ o.jsxs(o.Fragment, { children: [
2273
+ /* @__PURE__ */ o.jsxs("div", { className: "relative", children: [
2274
+ /* @__PURE__ */ o.jsx("button", { onClick: () => d(!0), children: "..." }),
2275
+ /* @__PURE__ */ o.jsx(
2267
2276
  "ul",
2268
2277
  {
2269
2278
  ref: l,
@@ -2275,7 +2284,7 @@ const Pr = ({ promises: e }) => {
2275
2284
  "visible opacity-100": i
2276
2285
  }
2277
2286
  ),
2278
- children: m.map((b) => /* @__PURE__ */ n.jsx("li", { children: /* @__PURE__ */ n.jsx(
2287
+ children: m.map((b) => /* @__PURE__ */ o.jsx("li", { children: /* @__PURE__ */ o.jsx(
2279
2288
  ie,
2280
2289
  {
2281
2290
  breadcrumb: b,
@@ -2330,9 +2339,9 @@ const Kr = (e, t) => {
2330
2339
  }), Xr = (e) => ({
2331
2340
  type: lt.ROOT,
2332
2341
  payload: e
2333
- }), Jr = ({ categories: e, ...t }) => te(
2334
- /* @__PURE__ */ n.jsx(
2335
- Nt.div,
2342
+ }), Jr = ({ categories: e, ...t }) => ee(
2343
+ /* @__PURE__ */ o.jsx(
2344
+ st.div,
2336
2345
  {
2337
2346
  ...t,
2338
2347
  layout: !0,
@@ -2340,24 +2349,24 @@ const Kr = (e, t) => {
2340
2349
  animate: { opacity: 1 },
2341
2350
  transition: { duration: 0.2 },
2342
2351
  className: "absolute bg-color-white",
2343
- children: /* @__PURE__ */ n.jsx("div", { className: "mx-auto flex w-[1140px] gap-x-[56px] py-10", children: e.map((r) => {
2352
+ children: /* @__PURE__ */ o.jsx("div", { className: "mx-auto flex w-[1140px] gap-x-[56px] py-10", children: e.map((r) => {
2344
2353
  var i;
2345
- const o = r.link ? "a" : "p";
2346
- return /* @__PURE__ */ n.jsxs("div", { className: "flex flex-col gap-y-6", children: [
2347
- r.title && /* @__PURE__ */ n.jsxs(
2348
- o,
2354
+ const n = r.link ? "a" : "p";
2355
+ return /* @__PURE__ */ o.jsxs("div", { className: "flex flex-col gap-y-6", children: [
2356
+ r.title && /* @__PURE__ */ o.jsxs(
2357
+ n,
2349
2358
  {
2350
2359
  href: ((i = r.link) == null ? void 0 : i.href) ?? void 0,
2351
2360
  className: "flex items-center gap-x-1 text-16 uppercase text-color-primary-default",
2352
2361
  children: [
2353
2362
  r.title,
2354
- /* @__PURE__ */ n.jsx(c, { name: "arrows/arrowLink", className: "size-6" })
2363
+ /* @__PURE__ */ o.jsx(c, { name: "arrows/arrowLink", className: "size-6" })
2355
2364
  ]
2356
2365
  }
2357
2366
  ),
2358
- /* @__PURE__ */ n.jsx("ul", { className: "w-[328px]", children: r.children.map((d) => {
2367
+ /* @__PURE__ */ o.jsx("ul", { className: "w-[328px]", children: r.children.map((d) => {
2359
2368
  var l;
2360
- return /* @__PURE__ */ n.jsx("li", { className: "w-full [&:not(:last-child)]:mb-4", children: /* @__PURE__ */ n.jsx("a", { href: (l = d.link) == null ? void 0 : l.href, className: "w-full text-16", children: d.title }) }, d.title);
2369
+ return /* @__PURE__ */ o.jsx("li", { className: "w-full [&:not(:last-child)]:mb-4", children: /* @__PURE__ */ o.jsx("a", { href: (l = d.link) == null ? void 0 : l.href, className: "w-full text-16", children: d.title }) }, d.title);
2361
2370
  }) })
2362
2371
  ] }, r.title);
2363
2372
  }) })
@@ -2366,11 +2375,11 @@ const Kr = (e, t) => {
2366
2375
  document.body
2367
2376
  ), Yr = ({ category: e, active: t, onActiveTabChange: r }) => {
2368
2377
  var u, p;
2369
- const o = Ct(null), i = (u = o.current) == null ? void 0 : u.getBoundingClientRect(), d = t && !k.isArrayEmpty(e.children), l = k.isArrayEmpty(e.children) ? "a" : "span";
2370
- return /* @__PURE__ */ n.jsxs(
2371
- Nt.div,
2378
+ const n = Tt(null), i = (u = n.current) == null ? void 0 : u.getBoundingClientRect(), d = t && !k.isArrayEmpty(e.children), l = k.isArrayEmpty(e.children) ? "a" : "span";
2379
+ return /* @__PURE__ */ o.jsxs(
2380
+ st.div,
2372
2381
  {
2373
- ref: o,
2382
+ ref: n,
2374
2383
  className: a(
2375
2384
  "relative flex cursor-default items-center justify-center py-4 text-color-dark",
2376
2385
  'after:content="" after:absolute after:bottom-0 after:left-1/2 after:h-[1px]',
@@ -2384,8 +2393,8 @@ const Kr = (e, t) => {
2384
2393
  onMouseLeave: () => r(null),
2385
2394
  onFocus: () => r(e.title),
2386
2395
  children: [
2387
- /* @__PURE__ */ n.jsx(l, { href: l === "a" ? (p = e.link) == null ? void 0 : p.href : void 0, className: "desk-body-regular-m outline-none", children: e.title }),
2388
- d && /* @__PURE__ */ n.jsx(
2396
+ /* @__PURE__ */ o.jsx(l, { href: l === "a" ? (p = e.link) == null ? void 0 : p.href : void 0, className: "desk-body-regular-m outline-none", children: e.title }),
2397
+ d && /* @__PURE__ */ o.jsx(
2389
2398
  Jr,
2390
2399
  {
2391
2400
  categories: e.children,
@@ -2398,42 +2407,42 @@ const Kr = (e, t) => {
2398
2407
  ]
2399
2408
  }
2400
2409
  );
2401
- }, tn = Xt(Yr), en = ({ categories: e }) => {
2402
- const [t, r] = G(null), o = Kt((i) => {
2410
+ }, tn = Jt(Yr), en = ({ categories: e }) => {
2411
+ const [t, r] = G(null), n = $t((i) => {
2403
2412
  r(i);
2404
2413
  }, []);
2405
- return /* @__PURE__ */ n.jsx(Ne, { mode: "sync", children: /* @__PURE__ */ n.jsxs("div", { id: "tabs", className: "relative flex w-full items-center justify-between gap-x-4 border-b border-b-[rgba(234,237,241)]", children: [
2406
- e.map((i) => /* @__PURE__ */ n.jsx(
2414
+ return /* @__PURE__ */ o.jsx(Ne, { mode: "sync", children: /* @__PURE__ */ o.jsxs("div", { id: "tabs", className: "relative flex w-full items-center justify-between gap-x-4 border-b border-b-[rgba(234,237,241)]", children: [
2415
+ e.map((i) => /* @__PURE__ */ o.jsx(
2407
2416
  tn,
2408
2417
  {
2409
2418
  category: i,
2410
2419
  active: t === i.title,
2411
- onActiveTabChange: o
2420
+ onActiveTabChange: n
2412
2421
  },
2413
2422
  i.title
2414
2423
  )),
2415
- /* @__PURE__ */ n.jsx("div", { className: "ml-auto", children: "Личный кабинет" })
2424
+ /* @__PURE__ */ o.jsx("div", { className: "ml-auto", children: "Личный кабинет" })
2416
2425
  ] }) });
2417
- }, rn = Xt(en), nn = ({
2426
+ }, rn = Jt(en), nn = ({
2418
2427
  category: e,
2419
2428
  selectedCategory: t,
2420
2429
  onCurrentCategoryChange: r,
2421
- onRootCategoryChange: o,
2430
+ onRootCategoryChange: n,
2422
2431
  active: i,
2423
2432
  ...d
2424
- }) => /* @__PURE__ */ n.jsxs(
2433
+ }) => /* @__PURE__ */ o.jsxs(
2425
2434
  "div",
2426
2435
  {
2427
2436
  ...d,
2428
2437
  onClick: () => {
2429
- r(e.children[0]), o(e);
2438
+ r(e.children[0]), n(e);
2430
2439
  },
2431
2440
  className: a("group/category relative cursor-default text-color-blue-grey-600 duration-100 hover:text-color-dark", {
2432
2441
  "text-color-dark": i
2433
2442
  }),
2434
2443
  children: [
2435
- /* @__PURE__ */ n.jsx("span", { className: "desk-body-regular-m", children: e.title }),
2436
- e.children.length > 1 && /* @__PURE__ */ n.jsx(
2444
+ /* @__PURE__ */ o.jsx("span", { className: "desk-body-regular-m", children: e.title }),
2445
+ e.children.length > 1 && /* @__PURE__ */ o.jsx(
2437
2446
  "div",
2438
2447
  {
2439
2448
  className: a(
@@ -2441,11 +2450,11 @@ const Kr = (e, t) => {
2441
2450
  "invisible bg-color-white opacity-0 shadow-sm group-hover/category:visible group-hover/category:opacity-100",
2442
2451
  "rounded-sm p-1"
2443
2452
  ),
2444
- children: e.children.map((l) => /* @__PURE__ */ n.jsx(
2453
+ children: e.children.map((l) => /* @__PURE__ */ o.jsx(
2445
2454
  "span",
2446
2455
  {
2447
2456
  onClick: (u) => {
2448
- u.stopPropagation(), u.nativeEvent.stopPropagation(), o(e), r(l);
2457
+ u.stopPropagation(), u.nativeEvent.stopPropagation(), n(e), r(l);
2449
2458
  },
2450
2459
  className: a(
2451
2460
  "desk-body-regular-l rounded-sm px-3 py-3.5 text-color-dark duration-100 hover:bg-color-primary-tr-hover hover:text-color-dark",
@@ -2462,17 +2471,17 @@ const Kr = (e, t) => {
2462
2471
  ]
2463
2472
  }
2464
2473
  ), on = ({ categories: e, helpers: t, phone: r }) => {
2465
- const [o, i] = $r({ root: e[0].children[0], current: e[0].children[0] });
2466
- return /* @__PURE__ */ n.jsxs(n.Fragment, { children: [
2467
- /* @__PURE__ */ n.jsxs("div", { className: "flex w-full items-center justify-between gap-x-4 border-b border-b-[rgba(234,237,241)] py-4", children: [
2468
- /* @__PURE__ */ n.jsx(c, { name: "brandLogos/logoMain", className: "mr-auto w-[130px]" }),
2474
+ const [n, i] = $r({ root: e[0].children[0], current: e[0].children[0] });
2475
+ return /* @__PURE__ */ o.jsxs(o.Fragment, { children: [
2476
+ /* @__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: [
2477
+ /* @__PURE__ */ o.jsx(c, { name: "brandLogos/logoMain", className: "mr-auto w-[130px]" }),
2469
2478
  e.map((d) => {
2470
- const l = o.root.title === d.title;
2471
- return /* @__PURE__ */ n.jsx(
2479
+ const l = n.root.title === d.title;
2480
+ return /* @__PURE__ */ o.jsx(
2472
2481
  nn,
2473
2482
  {
2474
2483
  category: d,
2475
- selectedCategory: o.current,
2484
+ selectedCategory: n.current,
2476
2485
  onCurrentCategoryChange: (u) => i(Zr(u)),
2477
2486
  onRootCategoryChange: (u) => i(Xr(u)),
2478
2487
  active: l
@@ -2480,21 +2489,21 @@ const Kr = (e, t) => {
2480
2489
  d.title
2481
2490
  );
2482
2491
  }),
2483
- /* @__PURE__ */ n.jsx("div", { className: "h-3.5 w-[1px] rounded-sm bg-color-blue-grey-500" }),
2484
- t.map((d) => /* @__PURE__ */ n.jsxs(
2492
+ /* @__PURE__ */ o.jsx("div", { className: "h-3.5 w-[1px] rounded-sm bg-color-blue-grey-500" }),
2493
+ t.map((d) => /* @__PURE__ */ o.jsxs(
2485
2494
  "a",
2486
2495
  {
2487
2496
  href: d.link.href,
2488
2497
  className: "desk-body-regular-m flex items-center gap-x-1 text-color-blue-grey-600 duration-100 hover:text-color-dark",
2489
2498
  children: [
2490
- d.link.icon && /* @__PURE__ */ n.jsx(c, { name: d.link.icon, className: "size-4" }),
2499
+ d.link.icon && /* @__PURE__ */ o.jsx(c, { name: d.link.icon, className: "size-4" }),
2491
2500
  d.title
2492
2501
  ]
2493
2502
  },
2494
2503
  d.title
2495
2504
  )),
2496
- /* @__PURE__ */ n.jsx("div", { className: "h-3.5 w-[1px] rounded-sm bg-color-blue-grey-500" }),
2497
- /* @__PURE__ */ n.jsx(
2505
+ /* @__PURE__ */ o.jsx("div", { className: "h-3.5 w-[1px] rounded-sm bg-color-blue-grey-500" }),
2506
+ /* @__PURE__ */ o.jsx(
2498
2507
  "a",
2499
2508
  {
2500
2509
  href: `tel:${r}`,
@@ -2503,13 +2512,13 @@ const Kr = (e, t) => {
2503
2512
  }
2504
2513
  )
2505
2514
  ] }),
2506
- /* @__PURE__ */ n.jsx(rn, { categories: o.current.children })
2515
+ /* @__PURE__ */ o.jsx(rn, { categories: n.current.children })
2507
2516
  ] });
2508
- }, dn = ({ category: e }) => /* @__PURE__ */ n.jsx(
2517
+ }, dn = ({ category: e }) => /* @__PURE__ */ o.jsx(
2509
2518
  ot,
2510
2519
  {
2511
2520
  label: e.title ?? "",
2512
- icon: /* @__PURE__ */ n.jsx(c, { name: "arrows/arrowRight", className: "-rotate-90" }),
2521
+ icon: /* @__PURE__ */ o.jsx(c, { name: "arrows/arrowRight", className: "-rotate-90" }),
2513
2522
  classes: {
2514
2523
  root: "w-full",
2515
2524
  header: {
@@ -2523,24 +2532,24 @@ const Kr = (e, t) => {
2523
2532
  "after:h-[1px] after:bg-color-blue-grey-200"
2524
2533
  )
2525
2534
  },
2526
- children: /* @__PURE__ */ n.jsx("div", { className: "flex flex-col items-start justify-center gap-y-4", children: e.children.map((t) => {
2535
+ children: /* @__PURE__ */ o.jsx("div", { className: "flex flex-col items-start justify-center gap-y-4", children: e.children.map((t) => {
2527
2536
  var i;
2528
- const r = !!t.link, o = r ? "a" : "p";
2529
- return /* @__PURE__ */ n.jsxs("ul", { className: "w-full list-none p-0", children: [
2530
- /* @__PURE__ */ n.jsxs(
2531
- o,
2537
+ const r = !!t.link, n = r ? "a" : "p";
2538
+ return /* @__PURE__ */ o.jsxs("ul", { className: "w-full list-none p-0", children: [
2539
+ /* @__PURE__ */ o.jsxs(
2540
+ n,
2532
2541
  {
2533
2542
  href: r ? (i = t.link) == null ? void 0 : i.href : void 0,
2534
2543
  className: "mb-3 flex items-center gap-x-1 text-16 text-color-primary-default",
2535
2544
  children: [
2536
2545
  t.title,
2537
- /* @__PURE__ */ n.jsx(c, { name: "arrows/arrowLink" })
2546
+ /* @__PURE__ */ o.jsx(c, { name: "arrows/arrowLink" })
2538
2547
  ]
2539
2548
  }
2540
2549
  ),
2541
2550
  t.children.map((d) => {
2542
2551
  var l;
2543
- return /* @__PURE__ */ n.jsx("li", { className: "inline-block w-full [&:not(:last-child)]:mb-3", children: /* @__PURE__ */ n.jsx("a", { href: (l = d.link) == null ? void 0 : l.href, className: "w-full", children: d.title }) }, d.title);
2552
+ return /* @__PURE__ */ o.jsx("li", { className: "inline-block w-full [&:not(:last-child)]:mb-3", children: /* @__PURE__ */ o.jsx("a", { href: (l = d.link) == null ? void 0 : l.href, className: "w-full", children: d.title }) }, d.title);
2544
2553
  })
2545
2554
  ] }, t.title);
2546
2555
  }) })
@@ -2549,17 +2558,17 @@ const Kr = (e, t) => {
2549
2558
  ), an = (e) => e.map((t) => ({
2550
2559
  value: t.title ?? "",
2551
2560
  label: t.title ?? ""
2552
- })), ln = ({ categories: e, helpers: t, phone: r, ...o }) => {
2561
+ })), ln = ({ categories: e, helpers: t, phone: r, ...n }) => {
2553
2562
  const i = an(e), [d, l] = G(i[0]), u = (m) => {
2554
2563
  k.isUndefined(m) || k.isArray(m) || l(m);
2555
- }, p = st(() => {
2564
+ }, p = Ct(() => {
2556
2565
  var m;
2557
2566
  return k.isUndefined(d) || k.isArray(d) ? [] : ((m = e.find((x) => x.title === d.value)) == null ? void 0 : m.children) ?? [];
2558
2567
  }, [d, e]);
2559
- return /* @__PURE__ */ n.jsxs(
2560
- Nt.div,
2568
+ return /* @__PURE__ */ o.jsxs(
2569
+ st.div,
2561
2570
  {
2562
- ...o,
2571
+ ...n,
2563
2572
  className: a(
2564
2573
  "absolute w-full max-w-[calc(636px-32px)]",
2565
2574
  "absolute left-1/2 top-full bg-color-white p-4",
@@ -2569,22 +2578,22 @@ const Kr = (e, t) => {
2569
2578
  initial: { opacity: 0 },
2570
2579
  animate: { opacity: 1 },
2571
2580
  children: [
2572
- /* @__PURE__ */ n.jsx(Gt.SelectBase, { label: "Категория", options: i, value: d, onChange: u }),
2573
- /* @__PURE__ */ n.jsx("div", { className: "flex w-full flex-col items-center justify-center gap-y-1", children: p.map((m) => {
2581
+ /* @__PURE__ */ o.jsx(Kt.SelectBase, { label: "Категория", options: i, value: d, onChange: u }),
2582
+ /* @__PURE__ */ o.jsx("div", { className: "flex w-full flex-col items-center justify-center gap-y-1", children: p.map((m) => {
2574
2583
  var x;
2575
- return k.isArrayEmpty(m.children) ? /* @__PURE__ */ n.jsx("div", { className: "w-full px-4 py-2.5", children: /* @__PURE__ */ n.jsx("a", { href: (x = m.link) == null ? void 0 : x.href, className: "desk-body-regular-m inline-block w-full", children: m.title }) }, m.title) : /* @__PURE__ */ n.jsx(dn, { category: m }, m.title);
2584
+ return k.isArrayEmpty(m.children) ? /* @__PURE__ */ o.jsx("div", { className: "w-full px-4 py-2.5", children: /* @__PURE__ */ o.jsx("a", { href: (x = m.link) == null ? void 0 : x.href, className: "desk-body-regular-m inline-block w-full", children: m.title }) }, m.title) : /* @__PURE__ */ o.jsx(dn, { category: m }, m.title);
2576
2585
  }) }),
2577
- /* @__PURE__ */ n.jsx("div", { className: "h-[1px] w-full bg-color-blue-grey-200" }),
2578
- /* @__PURE__ */ n.jsxs("div", { className: "flex w-full flex-col items-center justify-center gap-y-1", children: [
2586
+ /* @__PURE__ */ o.jsx("div", { className: "h-[1px] w-full bg-color-blue-grey-200" }),
2587
+ /* @__PURE__ */ o.jsxs("div", { className: "flex w-full flex-col items-center justify-center gap-y-1", children: [
2579
2588
  t.map((m) => {
2580
2589
  var x, f;
2581
- return /* @__PURE__ */ n.jsx("div", { className: "w-full px-4 py-2.5", children: /* @__PURE__ */ n.jsxs("a", { href: (x = m.link) == null ? void 0 : x.href, className: "flex w-full items-center gap-x-1", children: [
2582
- ((f = m.link) == null ? void 0 : f.icon) && /* @__PURE__ */ n.jsx(c, { name: m.link.icon, className: "size-4" }),
2590
+ return /* @__PURE__ */ o.jsx("div", { className: "w-full px-4 py-2.5", children: /* @__PURE__ */ o.jsxs("a", { href: (x = m.link) == null ? void 0 : x.href, className: "flex w-full items-center gap-x-1", children: [
2591
+ ((f = m.link) == null ? void 0 : f.icon) && /* @__PURE__ */ o.jsx(c, { name: m.link.icon, className: "size-4" }),
2583
2592
  m.title
2584
2593
  ] }) }, m.title);
2585
2594
  }),
2586
- /* @__PURE__ */ n.jsx("div", { className: "w-full px-4 py-2.5", children: /* @__PURE__ */ n.jsxs("a", { href: `tel:${r}`, className: "flex w-full items-center gap-x-1", children: [
2587
- /* @__PURE__ */ n.jsx(c, { name: "communication/phone", className: "size-4" }),
2595
+ /* @__PURE__ */ o.jsx("div", { className: "w-full px-4 py-2.5", children: /* @__PURE__ */ o.jsxs("a", { href: `tel:${r}`, className: "flex w-full items-center gap-x-1", children: [
2596
+ /* @__PURE__ */ o.jsx(c, { name: "communication/phone", className: "size-4" }),
2588
2597
  bt(r)
2589
2598
  ] }) })
2590
2599
  ] })
@@ -2593,12 +2602,12 @@ const Kr = (e, t) => {
2593
2602
  );
2594
2603
  }, un = ({ categories: e, helpers: t, phone: r }) => {
2595
2604
  var p;
2596
- const o = Ct(null), i = (p = o.current) == null ? void 0 : p.getBoundingClientRect(), [d, l] = G(!1), u = () => l(!d);
2597
- return /* @__PURE__ */ n.jsxs("div", { ref: o, className: "relative flex w-full items-center justify-between border-b border-b-blue-grey-500 py-4", children: [
2598
- /* @__PURE__ */ n.jsx(c, { name: "brandLogos/logoMain", className: "w-[130px]" }),
2599
- /* @__PURE__ */ n.jsx("button", { type: "button", onClick: u, className: "h-max w-max", children: /* @__PURE__ */ n.jsx(c, { name: d ? "general/close" : "general/menu", className: "size-6 text-color-primary-default" }) }),
2600
- d && te(
2601
- /* @__PURE__ */ n.jsx(
2605
+ const n = Tt(null), i = (p = n.current) == null ? void 0 : p.getBoundingClientRect(), [d, l] = G(!1), u = () => l(!d);
2606
+ return /* @__PURE__ */ o.jsxs("div", { ref: n, className: "relative flex w-full items-center justify-between border-b border-b-blue-grey-500 py-4", children: [
2607
+ /* @__PURE__ */ o.jsx(c, { name: "brandLogos/logoMain", className: "w-[130px]" }),
2608
+ /* @__PURE__ */ o.jsx("button", { type: "button", onClick: u, className: "h-max w-max", children: /* @__PURE__ */ o.jsx(c, { name: d ? "general/close" : "general/menu", className: "size-6 text-color-primary-default" }) }),
2609
+ d && ee(
2610
+ /* @__PURE__ */ o.jsx(
2602
2611
  ln,
2603
2612
  {
2604
2613
  categories: e,
@@ -2611,23 +2620,23 @@ const Kr = (e, t) => {
2611
2620
  )
2612
2621
  ] });
2613
2622
  }, Fn = ({ categories: e, helpers: t, phone: r }) => {
2614
- const { isMobile: o } = K();
2615
- return /* @__PURE__ */ n.jsxs("div", { id: j.seoHeader, "data-test-id": j.seoHeader, className: "mx-auto w-full max-w-[1440px]", children: [
2616
- o ? /* @__PURE__ */ n.jsx(un, { categories: e.map((i) => i.children).flat(), helpers: t, phone: r }) : /* @__PURE__ */ n.jsx(on, { categories: e, helpers: t, phone: r }),
2617
- /* @__PURE__ */ n.jsx(
2623
+ const { isMobile: n } = K();
2624
+ return /* @__PURE__ */ o.jsxs("div", { id: j.seoHeader, "data-test-id": j.seoHeader, className: "mx-auto w-full max-w-[1440px]", children: [
2625
+ n ? /* @__PURE__ */ o.jsx(un, { categories: e.map((i) => i.children).flat(), helpers: t, phone: r }) : /* @__PURE__ */ o.jsx(on, { categories: e, helpers: t, phone: r }),
2626
+ /* @__PURE__ */ o.jsx(
2618
2627
  Gr,
2619
2628
  {
2620
- ellipsis: o ? 1 : void 0,
2629
+ ellipsis: n ? 1 : void 0,
2621
2630
  matcher: (i) => ({ label: Ee(i.label).split("-").join(" ") })
2622
2631
  }
2623
2632
  )
2624
2633
  ] });
2625
2634
  };
2626
2635
  export {
2627
- ee as Advantages,
2636
+ kt as Advantages,
2628
2637
  En as AuthProvider,
2629
2638
  Nn as Banner,
2630
- _t as BannerWithSeparateImg,
2639
+ Pt as BannerWithSeparateImg,
2631
2640
  wn as Benefit,
2632
2641
  Gr as Breadcrumbs,
2633
2642
  Y as ButtonWithHandlers,