@scbt-ecom/ui 0.61.7 → 0.61.9

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,25 +1,25 @@
1
1
  var de = Object.defineProperty;
2
- var Et = (e) => {
2
+ var It = (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) || 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) => ({
6
+ var it = (e, t, r) => ae(e, typeof t != "symbol" ? t + "" : t, r), gt = (e, t, r) => t.has(e) || It("Cannot " + r);
7
+ var m = (e, t, r) => (gt(e, t, "read from private field"), r ? r.call(e) : t.get(e)), C = (e, t, r) => t.has(e) ? It("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), z = (e, t, r) => (gt(e, t, "access private method"), r);
8
+ var mt = (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, n);
13
+ return m(e, t, n);
14
14
  }
15
15
  });
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";
16
+ import { S as Vt, w as Wt, Q as le, x as M, y as Mt, z as ue, E as pe, F as Et, G as P, J as me, M as he, 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 E, R as H, l as Gt, r as ge, H as W, 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
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";
20
+ import { s as Te, c as bt, g as Rt, a as Ie } from "./uuid-2wKG15vy.js";
21
21
  import { i as Yt } from "./isClient-C9aZtt2Q.js";
22
- import { a as K, c as Ie, b as Me } from "./useDebounce-QgEEiWs9.js";
22
+ import { a as Y, c as Me, b as Ee } from "./useDebounce-QgEEiWs9.js";
23
23
  import { o as Oe } from "./utils-DaXd4sci.js";
24
24
  import { z as te, Z as Se } from "./index-BKXpPQ1s.js";
25
25
  import { u as Fe } from "./useFieldsProgress-BXzIWmGP.js";
@@ -43,67 +43,67 @@ var F, zt, Be = (zt = class extends Vt {
43
43
  }), this.add(l)), l;
44
44
  }
45
45
  add(t) {
46
- h(this, F).has(t.queryHash) || (h(this, F).set(t.queryHash, t), this.notify({
46
+ m(this, F).has(t.queryHash) || (m(this, F).set(t.queryHash, t), this.notify({
47
47
  type: "added",
48
48
  query: t
49
49
  }));
50
50
  }
51
51
  remove(t) {
52
- const r = h(this, F).get(t.queryHash);
53
- r && (t.destroy(), r === t && h(this, F).delete(t.queryHash), this.notify({ type: "removed", query: t }));
52
+ const r = m(this, F).get(t.queryHash);
53
+ r && (t.destroy(), r === t && m(this, F).delete(t.queryHash), this.notify({ type: "removed", query: t }));
54
54
  }
55
55
  clear() {
56
- I.batch(() => {
56
+ M.batch(() => {
57
57
  this.getAll().forEach((t) => {
58
58
  this.remove(t);
59
59
  });
60
60
  });
61
61
  }
62
62
  get(t) {
63
- return h(this, F).get(t);
63
+ return m(this, F).get(t);
64
64
  }
65
65
  getAll() {
66
- return [...h(this, F).values()];
66
+ return [...m(this, F).values()];
67
67
  }
68
68
  find(t) {
69
69
  const r = { exact: !0, ...t };
70
70
  return this.getAll().find(
71
- (n) => It(r, n)
71
+ (n) => Mt(r, n)
72
72
  );
73
73
  }
74
74
  findAll(t = {}) {
75
75
  const r = this.getAll();
76
- return Object.keys(t).length > 0 ? r.filter((n) => It(t, n)) : r;
76
+ return Object.keys(t).length > 0 ? r.filter((n) => Mt(t, n)) : r;
77
77
  }
78
78
  notify(t) {
79
- I.batch(() => {
79
+ M.batch(() => {
80
80
  this.listeners.forEach((r) => {
81
81
  r(t);
82
82
  });
83
83
  });
84
84
  }
85
85
  onFocus() {
86
- I.batch(() => {
86
+ M.batch(() => {
87
87
  this.getAll().forEach((t) => {
88
88
  t.onFocus();
89
89
  });
90
90
  });
91
91
  }
92
92
  onOnline() {
93
- I.batch(() => {
93
+ M.batch(() => {
94
94
  this.getAll().forEach((t) => {
95
95
  t.onOnline();
96
96
  });
97
97
  });
98
98
  }
99
- }, F = new WeakMap(), zt), B, E, J, R, A, qt, Re = (qt = class extends ue {
99
+ }, F = new WeakMap(), zt), B, I, X, R, q, qt, Re = (qt = class extends ue {
100
100
  constructor(t) {
101
101
  super();
102
102
  C(this, R);
103
103
  C(this, B);
104
- C(this, E);
105
- C(this, J);
106
- this.mutationId = t.mutationId, y(this, E, t.mutationCache), y(this, B, []), this.state = t.state || He(), this.setOptions(t.options), this.scheduleGc();
104
+ C(this, I);
105
+ C(this, X);
106
+ this.mutationId = t.mutationId, y(this, I, t.mutationCache), y(this, B, []), this.state = t.state || He(), this.setOptions(t.options), this.scheduleGc();
107
107
  }
108
108
  setOptions(t) {
109
109
  this.options = t, this.updateGcTime(this.options.gcTime);
@@ -112,111 +112,111 @@ var F, zt, Be = (zt = class extends Vt {
112
112
  return this.options.meta;
113
113
  }
114
114
  addObserver(t) {
115
- h(this, B).includes(t) || (h(this, B).push(t), this.clearGcTimeout(), h(this, E).notify({
115
+ m(this, B).includes(t) || (m(this, B).push(t), this.clearGcTimeout(), m(this, I).notify({
116
116
  type: "observerAdded",
117
117
  mutation: this,
118
118
  observer: t
119
119
  }));
120
120
  }
121
121
  removeObserver(t) {
122
- y(this, B, h(this, B).filter((r) => r !== t)), this.scheduleGc(), h(this, E).notify({
122
+ y(this, B, m(this, B).filter((r) => r !== t)), this.scheduleGc(), m(this, I).notify({
123
123
  type: "observerRemoved",
124
124
  mutation: this,
125
125
  observer: t
126
126
  });
127
127
  }
128
128
  optionalRemove() {
129
- h(this, B).length || (this.state.status === "pending" ? this.scheduleGc() : h(this, E).remove(this));
129
+ m(this, B).length || (this.state.status === "pending" ? this.scheduleGc() : m(this, I).remove(this));
130
130
  }
131
131
  continue() {
132
132
  var t;
133
- return ((t = h(this, J)) == null ? void 0 : t.continue()) ?? // continuing a mutation assumes that variables are set, mutation must have been dehydrated before
133
+ return ((t = m(this, X)) == null ? void 0 : t.continue()) ?? // continuing a mutation assumes that variables are set, mutation must have been dehydrated before
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, v, N, T, _, $, Q, s, O, z, Z, pt;
138
- y(this, J, pe({
137
+ var i, d, l, u, p, h, x, f, b, v, N, T, _, K, D, s, O, Q, $, pt;
138
+ y(this, X, pe({
139
139
  fn: () => this.options.mutationFn ? this.options.mutationFn(t) : Promise.reject(new Error("No mutationFn found")),
140
- onFail: (w, X) => {
141
- q(this, R, A).call(this, { type: "failed", failureCount: w, error: X });
140
+ onFail: (w, Z) => {
141
+ z(this, R, q).call(this, { type: "failed", failureCount: w, error: Z });
142
142
  },
143
143
  onPause: () => {
144
- q(this, R, A).call(this, { type: "pause" });
144
+ z(this, R, q).call(this, { type: "pause" });
145
145
  },
146
146
  onContinue: () => {
147
- q(this, R, A).call(this, { type: "continue" });
147
+ z(this, R, q).call(this, { type: "continue" });
148
148
  },
149
149
  retry: this.options.retry ?? 0,
150
150
  retryDelay: this.options.retryDelay,
151
151
  networkMode: this.options.networkMode,
152
- canRun: () => h(this, E).canRun(this)
152
+ canRun: () => m(this, I).canRun(this)
153
153
  }));
154
- const r = this.state.status === "pending", n = !h(this, J).canStart();
154
+ const r = this.state.status === "pending", n = !m(this, X).canStart();
155
155
  try {
156
156
  if (!r) {
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(
157
+ z(this, R, q).call(this, { type: "pending", variables: t, isPaused: n }), await ((d = (i = m(this, I).config).onMutate) == null ? void 0 : d.call(
158
158
  i,
159
159
  t,
160
160
  this
161
161
  ));
162
- const X = await ((u = (l = this.options).onMutate) == null ? void 0 : u.call(l, t));
163
- X !== this.state.context && q(this, R, A).call(this, {
162
+ const Z = await ((u = (l = this.options).onMutate) == null ? void 0 : u.call(l, t));
163
+ Z !== this.state.context && z(this, R, q).call(this, {
164
164
  type: "pending",
165
- context: X,
165
+ context: Z,
166
166
  variables: t,
167
167
  isPaused: n
168
168
  });
169
169
  }
170
- const w = await h(this, J).start();
171
- return await ((m = (p = h(this, E).config).onSuccess) == null ? void 0 : m.call(
170
+ const w = await m(this, X).start();
171
+ return await ((h = (p = m(this, I).config).onSuccess) == null ? void 0 : h.call(
172
172
  p,
173
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, w, t, this.state.context)), await ((v = (b = h(this, E).config).onSettled) == null ? void 0 : v.call(
177
+ )), await ((f = (x = this.options).onSuccess) == null ? void 0 : f.call(x, w, t, this.state.context)), await ((v = (b = m(this, I).config).onSettled) == null ? void 0 : v.call(
178
178
  b,
179
179
  w,
180
180
  null,
181
181
  this.state.variables,
182
182
  this.state.context,
183
183
  this
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;
184
+ )), await ((T = (N = this.options).onSettled) == null ? void 0 : T.call(N, w, null, t, this.state.context)), z(this, R, q).call(this, { type: "success", data: w }), w;
185
185
  } catch (w) {
186
186
  try {
187
- throw await (($ = (_ = h(this, E).config).onError) == null ? void 0 : $.call(
187
+ throw await ((K = (_ = m(this, I).config).onError) == null ? void 0 : K.call(
188
188
  _,
189
189
  w,
190
190
  t,
191
191
  this.state.context,
192
192
  this
193
- )), await ((s = (Q = this.options).onError) == null ? void 0 : s.call(
194
- Q,
193
+ )), await ((s = (D = this.options).onError) == null ? void 0 : s.call(
194
+ D,
195
195
  w,
196
196
  t,
197
197
  this.state.context
198
- )), await ((z = (O = h(this, E).config).onSettled) == null ? void 0 : z.call(
198
+ )), await ((Q = (O = m(this, I).config).onSettled) == null ? void 0 : Q.call(
199
199
  O,
200
200
  void 0,
201
201
  w,
202
202
  this.state.variables,
203
203
  this.state.context,
204
204
  this
205
- )), await ((pt = (Z = this.options).onSettled) == null ? void 0 : pt.call(
206
- Z,
205
+ )), await ((pt = ($ = this.options).onSettled) == null ? void 0 : pt.call(
206
+ $,
207
207
  void 0,
208
208
  w,
209
209
  t,
210
210
  this.state.context
211
211
  )), w;
212
212
  } finally {
213
- q(this, R, A).call(this, { type: "error", error: w });
213
+ z(this, R, q).call(this, { type: "error", error: w });
214
214
  }
215
215
  } finally {
216
- h(this, E).runNext(this);
216
+ m(this, I).runNext(this);
217
217
  }
218
218
  }
219
- }, B = new WeakMap(), E = new WeakMap(), J = new WeakMap(), R = new WeakSet(), A = function(t) {
219
+ }, B = new WeakMap(), I = new WeakMap(), X = new WeakMap(), R = new WeakSet(), q = function(t) {
220
220
  const r = (n) => {
221
221
  switch (t.type) {
222
222
  case "failed":
@@ -270,10 +270,10 @@ var F, zt, Be = (zt = class extends Vt {
270
270
  };
271
271
  }
272
272
  };
273
- this.state = r(this.state), I.batch(() => {
274
- h(this, B).forEach((n) => {
273
+ this.state = r(this.state), M.batch(() => {
274
+ m(this, B).forEach((n) => {
275
275
  n.onMutationUpdate(t);
276
- }), h(this, E).notify({
276
+ }), m(this, I).notify({
277
277
  mutation: this,
278
278
  type: "updated",
279
279
  action: t
@@ -293,50 +293,50 @@ function He() {
293
293
  submittedAt: 0
294
294
  };
295
295
  }
296
- var D, S, ut, At, _e = (At = class extends Vt {
296
+ var L, S, ut, At, _e = (At = class extends Vt {
297
297
  constructor(t = {}) {
298
298
  super();
299
- C(this, D);
299
+ C(this, L);
300
300
  C(this, S);
301
301
  C(this, ut);
302
- this.config = t, y(this, D, /* @__PURE__ */ new Set()), y(this, S, /* @__PURE__ */ new Map()), y(this, ut, 0);
302
+ this.config = t, y(this, L, /* @__PURE__ */ new Set()), y(this, S, /* @__PURE__ */ new Map()), y(this, ut, 0);
303
303
  }
304
304
  build(t, r, n) {
305
305
  const i = new Re({
306
306
  mutationCache: this,
307
- mutationId: ++ht(this, ut)._,
307
+ mutationId: ++mt(this, ut)._,
308
308
  options: t.defaultMutationOptions(r),
309
309
  state: n
310
310
  });
311
311
  return this.add(i), i;
312
312
  }
313
313
  add(t) {
314
- h(this, D).add(t);
315
- const r = mt(t);
314
+ m(this, L).add(t);
315
+ const r = ht(t);
316
316
  if (typeof r == "string") {
317
- const n = h(this, S).get(r);
318
- n ? n.push(t) : h(this, S).set(r, [t]);
317
+ const n = m(this, S).get(r);
318
+ n ? n.push(t) : m(this, S).set(r, [t]);
319
319
  }
320
320
  this.notify({ type: "added", mutation: t });
321
321
  }
322
322
  remove(t) {
323
- if (h(this, D).delete(t)) {
324
- const r = mt(t);
323
+ if (m(this, L).delete(t)) {
324
+ const r = ht(t);
325
325
  if (typeof r == "string") {
326
- const n = h(this, S).get(r);
326
+ const n = m(this, S).get(r);
327
327
  if (n)
328
328
  if (n.length > 1) {
329
329
  const i = n.indexOf(t);
330
330
  i !== -1 && n.splice(i, 1);
331
- } else n[0] === t && h(this, S).delete(r);
331
+ } else n[0] === t && m(this, S).delete(r);
332
332
  }
333
333
  }
334
334
  this.notify({ type: "removed", mutation: t });
335
335
  }
336
336
  canRun(t) {
337
- const r = mt(t);
337
+ const r = ht(t);
338
338
  if (typeof r == "string") {
339
- const n = h(this, S).get(r), i = n == null ? void 0 : n.find(
339
+ const n = m(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;
@@ -345,34 +345,34 @@ var D, S, ut, At, _e = (At = class extends Vt {
345
345
  }
346
346
  runNext(t) {
347
347
  var n;
348
- const r = mt(t);
348
+ const r = ht(t);
349
349
  if (typeof r == "string") {
350
- const i = (n = h(this, S).get(r)) == null ? void 0 : n.find((d) => d !== t && d.state.isPaused);
350
+ const i = (n = m(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();
354
354
  }
355
355
  clear() {
356
- I.batch(() => {
357
- h(this, D).forEach((t) => {
356
+ M.batch(() => {
357
+ m(this, L).forEach((t) => {
358
358
  this.notify({ type: "removed", mutation: t });
359
- }), h(this, D).clear(), h(this, S).clear();
359
+ }), m(this, L).clear(), m(this, S).clear();
360
360
  });
361
361
  }
362
362
  getAll() {
363
- return Array.from(h(this, D));
363
+ return Array.from(m(this, L));
364
364
  }
365
365
  find(t) {
366
366
  const r = { exact: !0, ...t };
367
367
  return this.getAll().find(
368
- (n) => Mt(r, n)
368
+ (n) => Et(r, n)
369
369
  );
370
370
  }
371
371
  findAll(t = {}) {
372
- return this.getAll().filter((r) => Mt(t, r));
372
+ return this.getAll().filter((r) => Et(t, r));
373
373
  }
374
374
  notify(t) {
375
- I.batch(() => {
375
+ M.batch(() => {
376
376
  this.listeners.forEach((r) => {
377
377
  r(t);
378
378
  });
@@ -380,14 +380,14 @@ var D, S, ut, At, _e = (At = class extends Vt {
380
380
  }
381
381
  resumePausedMutations() {
382
382
  const t = this.getAll().filter((r) => r.state.isPaused);
383
- return I.batch(
383
+ return M.batch(
384
384
  () => Promise.all(
385
385
  t.map((r) => r.continue().catch(P))
386
386
  )
387
387
  );
388
388
  }
389
- }, D = new WeakMap(), S = new WeakMap(), ut = new WeakMap(), At);
390
- function mt(e) {
389
+ }, L = new WeakMap(), S = new WeakMap(), ut = new WeakMap(), At);
390
+ function ht(e) {
391
391
  var t;
392
392
  return (t = e.options.scope) == null ? void 0 : t.id;
393
393
  }
@@ -397,7 +397,7 @@ function Ht(e) {
397
397
  var x, f, b, v, N;
398
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
- const m = async () => {
400
+ const h = async () => {
401
401
  let T = !1;
402
402
  const _ = (s) => {
403
403
  Object.defineProperty(s, "signal", {
@@ -406,40 +406,40 @@ function Ht(e) {
406
406
  T = !0;
407
407
  }), t.signal)
408
408
  });
409
- }, $ = he(t.options, t.fetchOptions), Q = async (s, O, z) => {
409
+ }, K = me(t.options, t.fetchOptions), D = async (s, O, Q) => {
410
410
  if (T)
411
411
  return Promise.reject();
412
412
  if (O == null && s.pages.length)
413
413
  return Promise.resolve(s);
414
- const Z = {
414
+ const $ = {
415
415
  client: t.client,
416
416
  queryKey: t.queryKey,
417
417
  pageParam: O,
418
- direction: z ? "backward" : "forward",
418
+ direction: Q ? "backward" : "forward",
419
419
  meta: t.options.meta
420
420
  };
421
- _(Z);
422
- const pt = await $(
423
- Z
424
- ), { maxPages: w } = t.options, X = z ? me : xe;
421
+ _($);
422
+ const pt = await K(
423
+ $
424
+ ), { maxPages: w } = t.options, Z = Q ? he : xe;
425
425
  return {
426
- pages: X(s.pages, pt, w),
427
- pageParams: X(s.pageParams, O, w)
426
+ pages: Z(s.pages, pt, w),
427
+ pageParams: Z(s.pageParams, O, w)
428
428
  };
429
429
  };
430
430
  if (i && d.length) {
431
- const s = i === "backward", O = s ? Pe : _t, z = {
431
+ const s = i === "backward", O = s ? Pe : _t, Q = {
432
432
  pages: d,
433
433
  pageParams: l
434
- }, Z = O(n, z);
435
- u = await Q(z, Z, s);
434
+ }, $ = O(n, Q);
435
+ u = await D(Q, $, s);
436
436
  } else {
437
437
  const s = e ?? d.length;
438
438
  do {
439
439
  const O = p === 0 ? l[0] ?? n.initialPageParam : _t(n, u);
440
440
  if (p > 0 && O == null)
441
441
  break;
442
- u = await Q(u, O), p++;
442
+ u = await D(u, O), p++;
443
443
  } while (p < s);
444
444
  }
445
445
  return u;
@@ -448,7 +448,7 @@ function Ht(e) {
448
448
  var T, _;
449
449
  return (_ = (T = t.options).persister) == null ? void 0 : _.call(
450
450
  T,
451
- m,
451
+ h,
452
452
  {
453
453
  client: t.client,
454
454
  queryKey: t.queryKey,
@@ -457,7 +457,7 @@ function Ht(e) {
457
457
  },
458
458
  r
459
459
  );
460
- } : t.fetchFn = m;
460
+ } : t.fetchFn = h;
461
461
  }
462
462
  };
463
463
  }
@@ -474,60 +474,60 @@ function Pe(e, { pages: t, pageParams: r }) {
474
474
  var n;
475
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, Ut, De = (Ut = class {
477
+ var g, A, U, tt, et, V, rt, nt, Ut, Le = (Ut = class {
478
478
  constructor(e = {}) {
479
479
  C(this, g);
480
+ C(this, A);
480
481
  C(this, U);
481
- C(this, V);
482
482
  C(this, tt);
483
483
  C(this, et);
484
- C(this, W);
484
+ C(this, V);
485
485
  C(this, rt);
486
486
  C(this, nt);
487
- y(this, g, e.queryCache || new Be()), y(this, U, e.mutationCache || new _e()), y(this, V, e.defaultOptions || {}), y(this, tt, /* @__PURE__ */ new Map()), y(this, et, /* @__PURE__ */ new Map()), y(this, W, 0);
487
+ y(this, g, e.queryCache || new Be()), y(this, A, e.mutationCache || new _e()), y(this, U, e.defaultOptions || {}), y(this, tt, /* @__PURE__ */ new Map()), y(this, et, /* @__PURE__ */ new Map()), y(this, V, 0);
488
488
  }
489
489
  mount() {
490
- ht(this, W)._++, h(this, W) === 1 && (y(this, rt, fe.subscribe(async (e) => {
491
- e && (await this.resumePausedMutations(), h(this, g).onFocus());
490
+ mt(this, V)._++, m(this, V) === 1 && (y(this, rt, fe.subscribe(async (e) => {
491
+ e && (await this.resumePausedMutations(), m(this, g).onFocus());
492
492
  })), y(this, nt, Ot.subscribe(async (e) => {
493
- e && (await this.resumePausedMutations(), h(this, g).onOnline());
493
+ e && (await this.resumePausedMutations(), m(this, g).onOnline());
494
494
  })));
495
495
  }
496
496
  unmount() {
497
497
  var e, t;
498
- ht(this, W)._--, h(this, W) === 0 && ((e = h(this, rt)) == null || e.call(this), y(this, rt, void 0), (t = h(this, nt)) == null || t.call(this), y(this, nt, void 0));
498
+ mt(this, V)._--, m(this, V) === 0 && ((e = m(this, rt)) == null || e.call(this), y(this, rt, void 0), (t = m(this, nt)) == null || t.call(this), y(this, nt, void 0));
499
499
  }
500
500
  isFetching(e) {
501
- return h(this, g).findAll({ ...e, fetchStatus: "fetching" }).length;
501
+ return m(this, g).findAll({ ...e, fetchStatus: "fetching" }).length;
502
502
  }
503
503
  isMutating(e) {
504
- return h(this, U).findAll({ ...e, status: "pending" }).length;
504
+ return m(this, A).findAll({ ...e, status: "pending" }).length;
505
505
  }
506
506
  getQueryData(e) {
507
507
  var r;
508
508
  const t = this.defaultQueryOptions({ queryKey: e });
509
- return (r = h(this, g).get(t.queryHash)) == null ? void 0 : r.state.data;
509
+ return (r = m(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), n = r.state.data;
512
+ const t = this.defaultQueryOptions(e), r = m(this, g).build(this, t), n = r.state.data;
513
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
- return h(this, g).findAll(e).map(({ queryKey: t, state: r }) => {
516
+ return m(this, g).findAll(e).map(({ queryKey: t, state: r }) => {
517
517
  const n = r.data;
518
518
  return [t, n];
519
519
  });
520
520
  }
521
521
  setQueryData(e, t, r) {
522
- const n = this.defaultQueryOptions({ queryKey: e }), i = h(this, g).get(
522
+ const n = this.defaultQueryOptions({ queryKey: e }), i = m(this, g).get(
523
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, n).setData(l, { ...r, manual: !0 });
526
+ return m(this, g).build(this, n).setData(l, { ...r, manual: !0 });
527
527
  }
528
528
  setQueriesData(e, t, r) {
529
- return I.batch(
530
- () => h(this, g).findAll(e).map(({ queryKey: n }) => [
529
+ return M.batch(
530
+ () => m(this, g).findAll(e).map(({ queryKey: n }) => [
531
531
  n,
532
532
  this.setQueryData(n, t, r)
533
533
  ])
@@ -536,21 +536,21 @@ var g, U, V, tt, et, W, rt, nt, Ut, De = (Ut = class {
536
536
  getQueryState(e) {
537
537
  var r;
538
538
  const t = this.defaultQueryOptions({ queryKey: e });
539
- return (r = h(this, g).get(
539
+ return (r = m(this, g).get(
540
540
  t.queryHash
541
541
  )) == null ? void 0 : r.state;
542
542
  }
543
543
  removeQueries(e) {
544
- const t = h(this, g);
545
- I.batch(() => {
544
+ const t = m(this, g);
545
+ M.batch(() => {
546
546
  t.findAll(e).forEach((r) => {
547
547
  t.remove(r);
548
548
  });
549
549
  });
550
550
  }
551
551
  resetQueries(e, t) {
552
- const r = h(this, g);
553
- return I.batch(() => (r.findAll(e).forEach((n) => {
552
+ const r = m(this, g);
553
+ return M.batch(() => (r.findAll(e).forEach((n) => {
554
554
  n.reset();
555
555
  }), this.refetchQueries(
556
556
  {
@@ -561,13 +561,13 @@ var g, U, V, tt, et, W, rt, nt, Ut, De = (Ut = class {
561
561
  )));
562
562
  }
563
563
  cancelQueries(e, t = {}) {
564
- const r = { revert: !0, ...t }, n = I.batch(
565
- () => h(this, g).findAll(e).map((i) => i.cancel(r))
564
+ const r = { revert: !0, ...t }, n = M.batch(
565
+ () => m(this, g).findAll(e).map((i) => i.cancel(r))
566
566
  );
567
567
  return Promise.all(n).then(P).catch(P);
568
568
  }
569
569
  invalidateQueries(e, t = {}) {
570
- return I.batch(() => (h(this, g).findAll(e).forEach((r) => {
570
+ return M.batch(() => (m(this, g).findAll(e).forEach((r) => {
571
571
  r.invalidate();
572
572
  }), (e == null ? void 0 : e.refetchType) === "none" ? Promise.resolve() : this.refetchQueries(
573
573
  {
@@ -581,8 +581,8 @@ var g, U, V, tt, et, W, rt, nt, Ut, De = (Ut = class {
581
581
  const r = {
582
582
  ...t,
583
583
  cancelRefetch: t.cancelRefetch ?? !0
584
- }, n = I.batch(
585
- () => h(this, g).findAll(e).filter((i) => !i.isDisabled()).map((i) => {
584
+ }, n = M.batch(
585
+ () => m(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
  })
@@ -592,7 +592,7 @@ var g, U, V, tt, et, W, rt, nt, Ut, De = (Ut = class {
592
592
  fetchQuery(e) {
593
593
  const t = this.defaultQueryOptions(e);
594
594
  t.retry === void 0 && (t.retry = !1);
595
- const r = h(this, g).build(this, t);
595
+ const r = m(this, g).build(this, t);
596
596
  return r.isStaleByTime(
597
597
  St(t.staleTime, r)
598
598
  ) ? r.fetch(t) : Promise.resolve(r.state.data);
@@ -610,40 +610,40 @@ var g, U, V, tt, et, W, rt, nt, Ut, De = (Ut = class {
610
610
  return e.behavior = Ht(e.pages), this.ensureQueryData(e);
611
611
  }
612
612
  resumePausedMutations() {
613
- return Ot.isOnline() ? h(this, U).resumePausedMutations() : Promise.resolve();
613
+ return Ot.isOnline() ? m(this, A).resumePausedMutations() : Promise.resolve();
614
614
  }
615
615
  getQueryCache() {
616
- return h(this, g);
616
+ return m(this, g);
617
617
  }
618
618
  getMutationCache() {
619
- return h(this, U);
619
+ return m(this, A);
620
620
  }
621
621
  getDefaultOptions() {
622
- return h(this, V);
622
+ return m(this, U);
623
623
  }
624
624
  setDefaultOptions(e) {
625
- y(this, V, e);
625
+ y(this, U, e);
626
626
  }
627
627
  setQueryDefaults(e, t) {
628
- h(this, tt).set(Ft(e), {
628
+ m(this, tt).set(Ft(e), {
629
629
  queryKey: e,
630
630
  defaultOptions: t
631
631
  });
632
632
  }
633
633
  getQueryDefaults(e) {
634
- const t = [...h(this, tt).values()], r = {};
634
+ const t = [...m(this, tt).values()], r = {};
635
635
  return t.forEach((n) => {
636
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(Ft(e), {
640
+ m(this, et).set(Ft(e), {
641
641
  mutationKey: e,
642
642
  defaultOptions: t
643
643
  });
644
644
  }
645
645
  getMutationDefaults(e) {
646
- const t = [...h(this, et).values()], r = {};
646
+ const t = [...m(this, et).values()], r = {};
647
647
  return t.forEach((n) => {
648
648
  Bt(e, n.mutationKey) && Object.assign(r, n.defaultOptions);
649
649
  }), r;
@@ -652,7 +652,7 @@ var g, U, V, tt, et, W, rt, nt, Ut, De = (Ut = class {
652
652
  if (e._defaulted)
653
653
  return e;
654
654
  const t = {
655
- ...h(this, V).queries,
655
+ ...m(this, U).queries,
656
656
  ...this.getQueryDefaults(e.queryKey),
657
657
  ...e,
658
658
  _defaulted: !0
@@ -664,17 +664,17 @@ var g, U, V, tt, et, W, rt, nt, Ut, De = (Ut = class {
664
664
  }
665
665
  defaultMutationOptions(e) {
666
666
  return e != null && e._defaulted ? e : {
667
- ...h(this, V).mutations,
667
+ ...m(this, U).mutations,
668
668
  ...(e == null ? void 0 : e.mutationKey) && this.getMutationDefaults(e.mutationKey),
669
669
  ...e,
670
670
  _defaulted: !0
671
671
  };
672
672
  }
673
673
  clear() {
674
- h(this, g).clear(), h(this, U).clear();
674
+ m(this, g).clear(), m(this, A).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(), Ut);
677
- const Le = [
676
+ }, g = new WeakMap(), A = new WeakMap(), U = new WeakMap(), tt = new WeakMap(), et = new WeakMap(), V = new WeakMap(), rt = new WeakMap(), nt = new WeakMap(), Ut);
677
+ const De = [
678
678
  "header",
679
679
  "footer",
680
680
  "interLinking",
@@ -685,7 +685,7 @@ const Le = [
685
685
  "benefit",
686
686
  "form",
687
687
  "seoHeader"
688
- ], j = Le.reduce(
688
+ ], j = De.reduce(
689
689
  (e, t) => (e[t] = t, e),
690
690
  {}
691
691
  ), Qe = (e) => $t(() => {
@@ -701,10 +701,10 @@ const Le = [
701
701
  break;
702
702
  }
703
703
  }
704
- }, [e]), Y = ({ handlerOptions: e, ...t }) => {
704
+ }, [e]), J = ({ handlerOptions: e, ...t }) => {
705
705
  const r = Qe(e);
706
706
  return /* @__PURE__ */ o.jsx(vt, { onClick: r, ...t, children: t.children });
707
- }, ze = M(
707
+ }, ze = E(
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
  {
710
710
  variants: {
@@ -726,7 +726,7 @@ const Le = [
726
726
  variant: u,
727
727
  color: p
728
728
  }) => {
729
- const { isDesktop: m } = K();
729
+ const { isDesktop: h } = Y();
730
730
  return /* @__PURE__ */ o.jsxs(
731
731
  "li",
732
732
  {
@@ -744,14 +744,14 @@ const Le = [
744
744
  }
745
745
  )
746
746
  ] }),
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 })
747
+ d && h && (l == null ? void 0 : l.handlerOptions) && /* @__PURE__ */ o.jsx(J, { intent: "primary", className: a("desktop:w-[200px]", i == null ? void 0 : i.button), size: "lg", ...l })
748
748
  ] }),
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 })
749
+ (n || h) && 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
753
753
  );
754
- }, Ae = M("grid gap-4", {
754
+ }, Ae = E("grid gap-4", {
755
755
  variants: {
756
756
  variant: {
757
757
  twoCards: "grid-cols-1 mobile:grid-rows-[repeat(2,400px)] desktop:grid-cols-2",
@@ -771,7 +771,7 @@ const Le = [
771
771
  ] }) }), Ue = ({ variant: e, details: t }) => {
772
772
  switch (e) {
773
773
  case "withButton":
774
- return /* @__PURE__ */ o.jsx(Y, { ...t });
774
+ return /* @__PURE__ */ o.jsx(J, { ...t });
775
775
  case "withPhone":
776
776
  return /* @__PURE__ */ o.jsx(Gt, { classes: { root: "items-end" }, ...t, phone: bt(t.phone) });
777
777
  default:
@@ -815,7 +815,7 @@ const Le = [
815
815
  color: u
816
816
  }) => {
817
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(
818
+ const { isDesktop: p, isMobile: h } = Y(), { 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(
@@ -834,7 +834,7 @@ 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__ */ 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 }),
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: h ? b : v }),
838
838
  /* @__PURE__ */ o.jsxs(H, { className: a("h-full", i == null ? void 0 : i.container), children: [
839
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
840
  /* @__PURE__ */ o.jsxs("div", { className: "z-10 flex flex-col gap-4", children: [
@@ -863,7 +863,7 @@ const Le = [
863
863
  ),
864
864
  children: [
865
865
  x.enabled && /* @__PURE__ */ o.jsx(
866
- Y,
866
+ J,
867
867
  {
868
868
  className: a("w-full desktop:max-w-[216px]", i == null ? void 0 : i.primary),
869
869
  size: "lg",
@@ -872,7 +872,7 @@ const Le = [
872
872
  }
873
873
  ),
874
874
  (f == null ? void 0 : f.enabled) && /* @__PURE__ */ o.jsx(
875
- Y,
875
+ J,
876
876
  {
877
877
  intent: "secondary",
878
878
  className: a("w-full desktop:max-w-[216px]", i == null ? void 0 : i.secondary),
@@ -888,7 +888,7 @@ const Le = [
888
888
  ]
889
889
  }
890
890
  ),
891
- m && (n == null ? void 0 : n.enabled) && N
891
+ h && (n == null ? void 0 : n.enabled) && N
892
892
  ] });
893
893
  }, Pt = ({
894
894
  headTitle: e,
@@ -901,7 +901,7 @@ const Le = [
901
901
  color: u
902
902
  }) => {
903
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;
904
+ const { isMobile: p } = Y(), { primary: h, 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
905
  return /* @__PURE__ */ o.jsxs(o.Fragment, { children: [
906
906
  /* @__PURE__ */ o.jsx(
907
907
  "section",
@@ -938,21 +938,21 @@ const Le = [
938
938
  i == null ? void 0 : i.group
939
939
  ),
940
940
  children: [
941
- m.enabled && /* @__PURE__ */ o.jsx(
942
- Y,
941
+ h.enabled && /* @__PURE__ */ o.jsx(
942
+ J,
943
943
  {
944
944
  className: a("w-full desktop:max-w-[216px]", i == null ? void 0 : i.primary),
945
945
  size: "lg",
946
946
  intent: "primary",
947
- ...m.buttonContent
947
+ ...h.buttonContent
948
948
  }
949
949
  ),
950
950
  (x == null ? void 0 : x.enabled) && /* @__PURE__ */ o.jsx(
951
- Y,
951
+ J,
952
952
  {
953
953
  intent: "secondary",
954
954
  className: a("w-full desktop:max-w-[216px]", i == null ? void 0 : i.secondary),
955
- ...m.buttonContent
955
+ ...h.buttonContent
956
956
  }
957
957
  )
958
958
  ]
@@ -1014,7 +1014,7 @@ const Le = [
1014
1014
  t == null ? void 0 : t.item
1015
1015
  ),
1016
1016
  children: [
1017
- /* @__PURE__ */ o.jsx(L, { as: "h4", className: a("text-color-dark", t == null ? void 0 : t.title), children: i }),
1017
+ /* @__PURE__ */ o.jsx(W, { as: "h4", className: a("text-color-dark", t == null ? void 0 : t.title), children: i }),
1018
1018
  /* @__PURE__ */ o.jsx("p", { className: a("desk-body-regular-l text-color-secondary", t == null ? void 0 : t.description), children: d })
1019
1019
  ]
1020
1020
  },
@@ -1195,7 +1195,13 @@ const Le = [
1195
1195
  }
1196
1196
  ),
1197
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 }),
1198
+ d && /* @__PURE__ */ o.jsx(
1199
+ "div",
1200
+ {
1201
+ dangerouslySetInnerHTML: { __html: n },
1202
+ className: a("mob-title-bold-m text-color-dark desktop:desk-title-bold-s", e == null ? void 0 : e.title)
1203
+ }
1204
+ ),
1199
1205
  /* @__PURE__ */ o.jsx(
1200
1206
  "div",
1201
1207
  {
@@ -1208,7 +1214,7 @@ const Le = [
1208
1214
  }
1209
1215
  );
1210
1216
  }, 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 }),
1217
+ /* @__PURE__ */ o.jsx(W, { as: "h2", className: a("text-color-dark", n == null ? void 0 : n.headline), children: e }),
1212
1218
  /* @__PURE__ */ o.jsx(
1213
1219
  "div",
1214
1220
  {
@@ -1219,7 +1225,7 @@ const Le = [
1219
1225
  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))
1220
1226
  }
1221
1227
  )
1222
- ] }) }) }), tr = M("", {
1228
+ ] }) }) }), tr = E("", {
1223
1229
  variants: {
1224
1230
  intent: {
1225
1231
  twoItems: "mob-headline-bold-s mb-6 desktop:desk-headline-bold-m desktop:mb-12",
@@ -1235,7 +1241,7 @@ const Le = [
1235
1241
  defaultVariants: {
1236
1242
  intent: "twoItems"
1237
1243
  }
1238
- }), er = M("", {
1244
+ }), er = E("", {
1239
1245
  variants: {
1240
1246
  intent: {
1241
1247
  twoItems: "",
@@ -1267,7 +1273,7 @@ const Le = [
1267
1273
  class: "desktop:grid grid-rows-2 desktop:gap-x-10 desktop:gap-y-4 grid-flow-col"
1268
1274
  }
1269
1275
  ]
1270
- }), rr = M("border-blue-grey-500 pb-6 mobile:mb-6 mobile:border-b mobile:last:pb-0 mobile:last:mb-0", {
1276
+ }), rr = E("border-blue-grey-500 pb-6 mobile:mb-6 mobile:border-b mobile:last:pb-0 mobile:last:mb-0", {
1271
1277
  variants: {
1272
1278
  intent: {
1273
1279
  twoItems: 'last:border-none relative desktop:first:after:top-1/2 desktop:first:after:-translate-y-1/2 desktop:first:after:right-0 desktop:first:after:content-[""] desktop:first:after:block desktop:first:after:absolute desktop:first:after:w-[1px] desktop:first:after:h-[64px] desktop:first:after:bg-color-blue-grey-500 desktop:ml-8 desktop:pr-8 desktop:first:ml-0 desktop:last:pr-0 desktop:pb-3',
@@ -1277,7 +1283,7 @@ const Le = [
1277
1283
  defaultVariants: {
1278
1284
  intent: "twoItems"
1279
1285
  }
1280
- }), nr = M("mobile:mx-auto mobile:mb-8, h-[172px] w-[280px] ", {
1286
+ }), nr = E("mobile:mx-auto mobile:mb-8, h-[172px] w-[280px] ", {
1281
1287
  variants: {
1282
1288
  intent: {
1283
1289
  twoItems: "desktop:h-[232px] desktop:w-[500px]",
@@ -1347,7 +1353,7 @@ const Le = [
1347
1353
  l && /* @__PURE__ */ o.jsx(jt, { intent: r, headline: e, mobileHidden: !0 }),
1348
1354
  /* @__PURE__ */ o.jsx(ir, { details: n, intent: r, withButton: (t == null ? void 0 : t.enabled) ?? !1 }),
1349
1355
  (t == null ? void 0 : t.enabled) && t && /* @__PURE__ */ o.jsx(
1350
- Y,
1356
+ J,
1351
1357
  {
1352
1358
  className: a("w-full px-4 desktop:w-max", d == null ? void 0 : d.button),
1353
1359
  size: "lg",
@@ -1444,8 +1450,8 @@ const Le = [
1444
1450
  children: t == null ? void 0 : t.text
1445
1451
  }
1446
1452
  )
1447
- ] }), Dt = ({ mainLink: e, subLink: t, isLoading: r, badge: n, loaderProps: i, classes: d }) => {
1448
- const { isMobile: l } = K();
1453
+ ] }), Lt = ({ mainLink: e, subLink: t, isLoading: r, badge: n, loaderProps: i, classes: d }) => {
1454
+ const { isMobile: l } = Y();
1449
1455
  return /* @__PURE__ */ o.jsx(re, { isLoading: r, loaderProps: i, classes: d == null ? void 0 : d.authWrapper, children: /* @__PURE__ */ o.jsxs(
1450
1456
  "div",
1451
1457
  {
@@ -1468,8 +1474,8 @@ const Le = [
1468
1474
  ]
1469
1475
  }
1470
1476
  ) });
1471
- }, Lt = ({ mainLink: e, subLink: t, isLoading: r, badge: n, loaderProps: i, classes: d }) => {
1472
- const { isMobile: l } = K();
1477
+ }, Dt = ({ mainLink: e, subLink: t, isLoading: r, badge: n, loaderProps: i, classes: d }) => {
1478
+ const { isMobile: l } = Y();
1473
1479
  return /* @__PURE__ */ o.jsx(re, { isLoading: r, loaderProps: i, classes: d == null ? void 0 : d.authWrapper, children: /* @__PURE__ */ o.jsxs(
1474
1480
  "div",
1475
1481
  {
@@ -1491,9 +1497,9 @@ const Le = [
1491
1497
  }, ar = (e) => {
1492
1498
  switch (e.mode) {
1493
1499
  case yt.ESIA:
1494
- return /* @__PURE__ */ o.jsx(Lt, { ...e });
1495
- case yt.MOBILE_ID:
1496
1500
  return /* @__PURE__ */ o.jsx(Dt, { ...e });
1501
+ case yt.MOBILE_ID:
1502
+ return /* @__PURE__ */ o.jsx(Lt, { ...e });
1497
1503
  case yt.COMBINE:
1498
1504
  default:
1499
1505
  const { esiaConfig: t, mobileIdConfig: r, subtitle: n, badge: i, classes: d } = e, l = !n && !i ? at.Fragment : "div";
@@ -1511,7 +1517,7 @@ const Le = [
1511
1517
  ] }),
1512
1518
  /* @__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
1519
  /* @__PURE__ */ o.jsx(
1514
- Lt,
1520
+ Dt,
1515
1521
  {
1516
1522
  ...t,
1517
1523
  classes: {
@@ -1522,7 +1528,7 @@ const Le = [
1522
1528
  }
1523
1529
  ),
1524
1530
  /* @__PURE__ */ o.jsx(
1525
- Dt,
1531
+ Lt,
1526
1532
  {
1527
1533
  ...r,
1528
1534
  classes: {
@@ -1537,7 +1543,7 @@ const Le = [
1537
1543
  }
1538
1544
  );
1539
1545
  }
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(
1546
+ }, In = (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(
1541
1547
  ct,
1542
1548
  {
1543
1549
  classes: {
@@ -1551,7 +1557,7 @@ const Le = [
1551
1557
  r
1552
1558
  )) }), lr = ({ groupLabel: e, links: t, mobileAccordionProps: r, classes: n }) => {
1553
1559
  var d, l, u;
1554
- const { isMobile: i } = K();
1560
+ const { isMobile: i } = Y();
1555
1561
  return /* @__PURE__ */ o.jsxs("div", { className: a("flex flex-col gap-2", n == null ? void 0 : n.columnGroup), children: [
1556
1562
  !i && /* @__PURE__ */ o.jsxs(o.Fragment, { children: [
1557
1563
  /* @__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 }),
@@ -1575,7 +1581,7 @@ const Le = [
1575
1581
  }
1576
1582
  )
1577
1583
  ] });
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", {
1584
+ }, 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 = E("grid gap-4 grid-cols-1", {
1579
1585
  variants: {
1580
1586
  variant: {
1581
1587
  twoCols: "desktop:grid-cols-2",
@@ -1586,15 +1592,16 @@ const Le = [
1586
1592
  defaultVariants: {
1587
1593
  variant: "fourCols"
1588
1594
  }
1589
- }), In = ({
1595
+ }), Mn = ({
1590
1596
  variant: e,
1591
1597
  details: t,
1592
1598
  headline: r,
1593
1599
  mobileAccordionProps: n,
1594
1600
  rootAccordionProps: i,
1595
- classes: d
1601
+ classes: d,
1602
+ defaultOpen: l
1596
1603
  }) => {
1597
- var l, u, p;
1604
+ var u, p, h;
1598
1605
  return /* @__PURE__ */ o.jsx(
1599
1606
  "section",
1600
1607
  {
@@ -1604,22 +1611,22 @@ const Le = [
1604
1611
  children: /* @__PURE__ */ o.jsx(H, { children: /* @__PURE__ */ o.jsx(
1605
1612
  ot,
1606
1613
  {
1607
- defaultOpen: !0,
1608
- label: /* @__PURE__ */ o.jsx(L, { as: "h4", className: a("text-left", d == null ? void 0 : d.headline), children: r }),
1614
+ defaultOpen: l,
1615
+ label: /* @__PURE__ */ o.jsx(W, { as: "h4", className: a("text-left", d == null ? void 0 : d.headline), children: r }),
1609
1616
  ...i,
1610
1617
  classes: {
1611
1618
  ...i == null ? void 0 : i.classes,
1612
1619
  header: {
1613
- trigger: a("bg-color-blue-grey-100", (u = (l = i == null ? void 0 : i.classes) == null ? void 0 : l.header) == null ? void 0 : u.trigger)
1620
+ trigger: a("bg-color-blue-grey-100", (p = (u = i == null ? void 0 : i.classes) == null ? void 0 : u.header) == null ? void 0 : p.trigger)
1614
1621
  },
1615
- content: a("max-w-full bg-color-blue-grey-100 relative", (p = i == null ? void 0 : i.classes) == null ? void 0 : p.content)
1622
+ content: a("max-w-full bg-color-blue-grey-100 relative", (h = i == null ? void 0 : i.classes) == null ? void 0 : h.content)
1616
1623
  },
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)) })
1624
+ children: /* @__PURE__ */ o.jsx("div", { className: a(pr({ variant: e }), d == null ? void 0 : d.columnsWrapper), children: t == null ? void 0 : t.map((x, f) => /* @__PURE__ */ o.jsx(ur, { ...x, ...n, classes: d == null ? void 0 : d.column }, f)) })
1618
1625
  }
1619
1626
  ) })
1620
1627
  }
1621
1628
  );
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(
1629
+ }, mr = ({ 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(
1623
1630
  "button",
1624
1631
  {
1625
1632
  onClick: () => r(d),
@@ -1633,7 +1640,7 @@ const Le = [
1633
1640
  children: i
1634
1641
  },
1635
1642
  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 }) => {
1643
+ )) }), hr = (e) => e.variant === "HTML", xr = (e) => e.variant === "DOCUMENTS", fr = (e) => e.variant === "TABLE", cr = ({ html: e, config: t, classes: r, accordionConfig: n }) => {
1637
1644
  const i = /* @__PURE__ */ o.jsx("div", { className: a(r == null ? void 0 : r.html), dangerouslySetInnerHTML: { __html: e ?? "" } });
1638
1645
  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 });
1639
1646
  }, br = (e, t) => ({
@@ -1646,21 +1653,21 @@ const Le = [
1646
1653
  };
1647
1654
  })
1648
1655
  }))
1649
- }), gr = M("flex flex-col", {
1656
+ }), gr = E("flex flex-col", {
1650
1657
  variants: {
1651
1658
  columnsVariant: {
1652
1659
  twoCols: "w-full max-w-[656px]",
1653
1660
  threeCols: "w-full max-w-[768px]"
1654
1661
  }
1655
1662
  }
1656
- }), jr = M("grid px-4 mb-4", {
1663
+ }), jr = E("desktop:grid mobile:hidden px-4 mb-4", {
1657
1664
  variants: {
1658
1665
  columnsVariant: {
1659
1666
  twoCols: "grid-cols-2 gap-16",
1660
1667
  threeCols: "grid-cols-3 gap-12"
1661
1668
  }
1662
1669
  }
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", {
1670
+ }), 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 = E("desktop:grid mobile:hidden items-center", {
1664
1671
  variants: {
1665
1672
  columnsVariant: {
1666
1673
  twoCols: "grid-cols-2 gap-16",
@@ -1678,7 +1685,7 @@ const Le = [
1678
1685
  children: d && d
1679
1686
  },
1680
1687
  l
1681
- )) }), vr = M("flex flex-col gap-2", {
1688
+ )) }), vr = E("mobile:flex desktop:hidden flex-col gap-2", {
1682
1689
  variants: {
1683
1690
  tableVariant: {
1684
1691
  filled: "px-4 py-4 odd:bg-color-primary-light-default",
@@ -1701,31 +1708,32 @@ const Le = [
1701
1708
  }
1702
1709
  )
1703
1710
  ] }, u)) }), sr = ({ tableVariant: e, rows: t, headings: r, columnsVariant: n, classes: i }) => {
1704
- var p;
1705
- const { isDesktop: d } = K(), l = ((p = br(t, r)) == null ? void 0 : p.rows) ?? [], u = !!(r && r.length > 0);
1711
+ var u;
1712
+ const d = ((u = br(t, r)) == null ? void 0 : u.rows) ?? [], l = !!(r && r.length > 0);
1706
1713
  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(
1714
+ l && /* @__PURE__ */ o.jsx(yr, { headings: r, columnsVariant: n, classes: i == null ? void 0 : i.desktopHeading }),
1715
+ t == null ? void 0 : t.map((p, h) => /* @__PURE__ */ o.jsx(
1709
1716
  wr,
1710
1717
  {
1711
- rowIndex: x,
1718
+ rowIndex: h,
1712
1719
  tableVariant: e,
1713
1720
  columnsVariant: n,
1714
1721
  classes: i == null ? void 0 : i.desktopRow,
1715
- ...m
1722
+ ...p
1716
1723
  },
1717
- x
1718
- )) }) : /* @__PURE__ */ o.jsx(o.Fragment, { children: l == null ? void 0 : l.map((m, x) => /* @__PURE__ */ o.jsx(
1724
+ h
1725
+ )),
1726
+ d == null ? void 0 : d.map((p, h) => /* @__PURE__ */ o.jsx(
1719
1727
  Nr,
1720
1728
  {
1721
- headingsExist: u,
1729
+ headingsExist: l,
1722
1730
  tableVariant: e,
1723
1731
  columnsVariant: n,
1724
1732
  classes: i == null ? void 0 : i.desktopRow,
1725
- ...m
1733
+ ...p
1726
1734
  },
1727
- x
1728
- )) })
1735
+ h
1736
+ ))
1729
1737
  ] });
1730
1738
  }, Cr = ({
1731
1739
  tableVariant: e,
@@ -1738,8 +1746,8 @@ const Le = [
1738
1746
  accordionConfig: u,
1739
1747
  classes: p
1740
1748
  }) => {
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 }),
1749
+ const h = /* @__PURE__ */ o.jsxs("div", { className: a(gr({ columnsVariant: r }), p == null ? void 0 : p.wrapper), children: [
1750
+ d && /* @__PURE__ */ o.jsx(W, { as: "h4", className: a("mb-4 desktop:mb-6", p == null ? void 0 : p.headline), children: d }),
1743
1751
  /* @__PURE__ */ o.jsx(sr, { tableVariant: e, rows: i, headings: l, columnsVariant: r }),
1744
1752
  t && /* @__PURE__ */ o.jsx(
1745
1753
  "div",
@@ -1749,11 +1757,11 @@ const Le = [
1749
1757
  }
1750
1758
  )
1751
1759
  ] });
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 });
1760
+ 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) || h }) : h });
1753
1761
  }, Tr = {
1754
1762
  documentFilled: "files/documentFilled",
1755
1763
  documentOutline: "files/documentOutline"
1756
- }, Er = M("size-8 transition-colors", {
1764
+ }, Ir = E("size-8 transition-colors", {
1757
1765
  variants: {
1758
1766
  iconType: {
1759
1767
  documentOutline: "text-icon-secondary-dark-default group-hover:text-icon-secondary-dark-hover",
@@ -1763,7 +1771,7 @@ const Le = [
1763
1771
  defaultVariants: {
1764
1772
  iconType: "documentOutline"
1765
1773
  }
1766
- }), Ir = ({ label: e, size: t, url: r, iconType: n, classes: i }) => /* @__PURE__ */ o.jsxs(
1774
+ }), Mr = ({ label: e, size: t, url: r, iconType: n, classes: i }) => /* @__PURE__ */ o.jsxs(
1767
1775
  "a",
1768
1776
  {
1769
1777
  href: r,
@@ -1775,7 +1783,7 @@ const Le = [
1775
1783
  i == null ? void 0 : i.link
1776
1784
  ),
1777
1785
  children: [
1778
- /* @__PURE__ */ o.jsx(c, { name: Tr[n], className: a(Er({ iconType: n }), i == null ? void 0 : i.icon) }),
1786
+ /* @__PURE__ */ o.jsx(c, { name: Tr[n], className: a(Ir({ iconType: n }), i == null ? void 0 : i.icon) }),
1779
1787
  /* @__PURE__ */ o.jsxs("div", { className: a("flex flex-1 flex-col", i == null ? void 0 : i.wrapper), children: [
1780
1788
  /* @__PURE__ */ o.jsx("p", { className: a("desk-body-medium-l text-color-dark", i == null ? void 0 : i.label), children: e }),
1781
1789
  /* @__PURE__ */ o.jsxs("div", { className: a("desk-body-regular-m text-color-disabled", i == null ? void 0 : i.size), children: [
@@ -1785,17 +1793,17 @@ const Le = [
1785
1793
  ] })
1786
1794
  ]
1787
1795
  }
1788
- ), Mr = ({ docs: e, config: t, title: r, iconType: n, description: i, classes: d, accordionConfig: l }) => {
1796
+ ), Er = ({ docs: e, config: t, title: r, iconType: n, description: i, classes: d, accordionConfig: l }) => {
1789
1797
  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)) }),
1798
+ r && /* @__PURE__ */ o.jsx(W, { as: "h3", className: "mb-4", children: r }),
1799
+ /* @__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(Mr, { iconType: n, ...p, classes: d == null ? void 0 : d.singleDocument }, p.label)) }),
1792
1800
  i && /* @__PURE__ */ o.jsx("div", { className: a("mt-4", d == null ? void 0 : d.description), dangerouslySetInnerHTML: { __html: i ?? "" } })
1793
1801
  ] });
1794
1802
  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 });
1795
1803
  }, Or = ({ entity: e, classes: t, accordionsConfig: r }) => {
1796
1804
  var n, i, d;
1797
1805
  switch (!0) {
1798
- case mr(e):
1806
+ case hr(e):
1799
1807
  return (n = e.details) == null ? void 0 : n.map((l, u) => {
1800
1808
  var p;
1801
1809
  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);
@@ -1804,7 +1812,7 @@ const Le = [
1804
1812
  return (i = e.details) == null ? void 0 : i.map((l, u) => {
1805
1813
  var p;
1806
1814
  return /* @__PURE__ */ o.jsx(
1807
- Mr,
1815
+ Er,
1808
1816
  {
1809
1817
  accordionConfig: r == null ? void 0 : r.documentAccordion,
1810
1818
  ...l,
@@ -1829,13 +1837,13 @@ const Le = [
1829
1837
  default:
1830
1838
  return null;
1831
1839
  }
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 }) => {
1840
+ }, 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 }) }), En = ({ headline: e, tabs: t, classes: r, accordionsConfig: n }) => {
1833
1841
  var u, p;
1834
- const [i, d] = G(0), l = Ct(() => t == null ? void 0 : t.map((m) => m == null ? void 0 : m.tabName), [t]) ?? [];
1842
+ const [i, d] = G(0), l = Ct(() => t == null ? void 0 : t.map((h) => h == null ? void 0 : h.tabName), [t]) ?? [];
1835
1843
  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)) })
1844
+ /* @__PURE__ */ o.jsx(W, { className: a(r == null ? void 0 : r.headline), as: "h2", children: e }),
1845
+ /* @__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(mr, { tabsNames: l, activeTab: i, setActiveTab: d, classes: r == null ? void 0 : r.tabs }) }),
1846
+ /* @__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((h, x) => /* @__PURE__ */ o.jsx(Sr, { accordionsConfig: n, ...h, classes: r == null ? void 0 : r.entityClasses }, x)) })
1839
1847
  ] }) });
1840
1848
  }, Fr = ({ fields: e, control: t }) => e.map(({ type: r, args: n }) => {
1841
1849
  const i = ke[r];
@@ -1868,12 +1876,12 @@ class Br {
1868
1876
  if (r === "node")
1869
1877
  n.push(t);
1870
1878
  else {
1871
- const m = u.outerHTML.trim();
1872
- n.push(m);
1879
+ const h = u.outerHTML.trim();
1880
+ n.push(h);
1873
1881
  }
1874
1882
  if (d)
1875
- for (const m of t.childNodes)
1876
- this.traverse(m, r, n);
1883
+ for (const h of t.childNodes)
1884
+ this.traverse(h, r, n);
1877
1885
  break;
1878
1886
  // если узел - текстовый и требуется его добавить, добавляем
1879
1887
  case this.TEXT_NODE:
@@ -1882,8 +1890,8 @@ class Br {
1882
1890
  if (r === "node")
1883
1891
  n.push(t);
1884
1892
  else {
1885
- const m = t.textContent;
1886
- m && n.push(m);
1893
+ const h = t.textContent;
1894
+ h && n.push(h);
1887
1895
  }
1888
1896
  break;
1889
1897
  }
@@ -1957,14 +1965,14 @@ class wt {
1957
1965
  break;
1958
1966
  case "style":
1959
1967
  u = "style";
1960
- const m = {};
1968
+ const h = {};
1961
1969
  l.value.split(";").forEach((x) => {
1962
1970
  const [f, b] = x.split(":");
1963
1971
  if (f && b) {
1964
1972
  const v = f.trim().replace(/-([a-z])/g, (N, T) => T.toUpperCase());
1965
- m[v] = b.trim();
1973
+ h[v] = b.trim();
1966
1974
  }
1967
- }), p = m;
1975
+ }), p = h;
1968
1976
  break;
1969
1977
  }
1970
1978
  i[u] = p;
@@ -2001,19 +2009,19 @@ const Pr = ({ promises: e }) => {
2001
2009
  // @ts-expect-error disable warning
2002
2010
  /* @__PURE__ */ o.jsx(i, { ...d, children: /* @__PURE__ */ o.jsx(Pr, { promises: l }) })
2003
2011
  );
2004
- }, Dr = ["getFioSchema"], oe = (e, t, r) => {
2012
+ }, Lr = ["getFioSchema"], oe = (e, t, r) => {
2005
2013
  const n = e[t];
2006
2014
  if (k.isNil(n))
2007
2015
  throw new Error(`validation for type ${String(t)} not found`);
2008
2016
  if (!k.isFunction(n))
2009
2017
  throw new Error(`Cannot generate ${String(t)} because is not a function`);
2010
2018
  return n(r);
2011
- }, Lr = (e, t) => oe(te.base, e, t), Qr = (e, t) => oe(te.dadata, e, t), zr = (e) => {
2019
+ }, Dr = (e, t) => oe(te.base, e, t), Qr = (e, t) => oe(te.dadata, e, t), zr = (e) => {
2012
2020
  const r = e.map((n) => ({ name: n.args.name, validation: n.args.validation })).reduce((n, i) => {
2013
- const d = Dr.includes(i.validation.type) ? Qr(
2021
+ const d = Lr.includes(i.validation.type) ? Qr(
2014
2022
  i.validation.type,
2015
2023
  i.validation.args
2016
- ) : Lr(
2024
+ ) : Dr(
2017
2025
  i.validation.type,
2018
2026
  i.validation.args
2019
2027
  );
@@ -2023,7 +2031,7 @@ const Pr = ({ promises: e }) => {
2023
2031
  }, qr = (e, t) => e.enabled ? t.map((r) => ({
2024
2032
  name: r.args.name,
2025
2033
  ...r.args.progress
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(
2034
+ })) : null, Ar = new Le(), 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(
2027
2035
  "label",
2028
2036
  {
2029
2037
  className: a(
@@ -2045,8 +2053,8 @@ const Pr = ({ promises: e }) => {
2045
2053
  submitProps: d,
2046
2054
  classes: l
2047
2055
  }) => {
2048
- var $, Q;
2049
- const { submitCallback: u, ...p } = d || {}, [m, x] = G(!1), f = zr(e), { control: b, handleSubmit: v } = Ie({
2056
+ var K, D;
2057
+ const { submitCallback: u, ...p } = d || {}, [h, x] = G(!1), f = zr(e), { control: b, handleSubmit: v } = Me({
2050
2058
  schema: f,
2051
2059
  defaultValues: Se.getZodDefaults(f),
2052
2060
  mode: "onBlur"
@@ -2071,15 +2079,15 @@ const Pr = ({ promises: e }) => {
2071
2079
  "desk-body-regular-l flex items-center gap-x-2 rounded-sm desktop:absolute",
2072
2080
  "bg-color-blue-grey-100 px-2 py-1 text-color-tetriary",
2073
2081
  "right-4 top-4 w-max",
2074
- ($ = l == null ? void 0 : l.chips) == null ? void 0 : $.root
2082
+ (K = l == null ? void 0 : l.chips) == null ? void 0 : K.root
2075
2083
  ),
2076
2084
  children: [
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) }),
2085
+ i.image && /* @__PURE__ */ o.jsx(c, { name: i.image, className: a("size-4", (D = l == null ? void 0 : l.chips) == null ? void 0 : D.icon) }),
2078
2086
  i.content
2079
2087
  ]
2080
2088
  }
2081
2089
  ),
2082
- /* @__PURE__ */ o.jsx(L, { as: "h3", className: l == null ? void 0 : l.title, children: t }),
2090
+ /* @__PURE__ */ o.jsx(W, { as: "h3", className: l == null ? void 0 : l.title, children: t }),
2083
2091
  /* @__PURE__ */ o.jsxs(
2084
2092
  "form",
2085
2093
  {
@@ -2098,13 +2106,13 @@ const Pr = ({ promises: e }) => {
2098
2106
  ),
2099
2107
  /* @__PURE__ */ o.jsx(Fr, { control: b, fields: e }),
2100
2108
  /* @__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),
2109
+ Vr(n, h, x, l == null ? void 0 : l.approvement),
2102
2110
  /* @__PURE__ */ o.jsx(
2103
2111
  vt,
2104
2112
  {
2105
2113
  ...p,
2106
2114
  type: "submit",
2107
- disabled: n.type === "checkbox" ? !m : !1,
2115
+ disabled: n.type === "checkbox" ? !h : !1,
2108
2116
  className: a(
2109
2117
  "w-full whitespace-nowrap",
2110
2118
  {
@@ -2195,7 +2203,7 @@ const Pr = ({ promises: e }) => {
2195
2203
  }
2196
2204
  ),
2197
2205
  /* @__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 }),
2206
+ /* @__PURE__ */ o.jsx(W, { as: "h2", children: dt()[e].title }),
2199
2207
  /* @__PURE__ */ o.jsx("p", { className: "desk-body-regular-l text-color-dark", children: dt()[e].description })
2200
2208
  ] }),
2201
2209
  /* @__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 })
@@ -2206,7 +2214,7 @@ const Pr = ({ promises: e }) => {
2206
2214
  return;
2207
2215
  let u = window.location.pathname.split("/").filter((x) => !k.isStringEmpty(x));
2208
2216
  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));
2209
- let p = [], m = "";
2217
+ let p = [], h = "";
2210
2218
  if (i) {
2211
2219
  const x = {
2212
2220
  index: 0,
@@ -2217,13 +2225,13 @@ const Pr = ({ promises: e }) => {
2217
2225
  p.push(x);
2218
2226
  }
2219
2227
  u.forEach((x, f) => {
2220
- m += `/${x}`;
2228
+ h += `/${x}`;
2221
2229
  const b = {
2222
2230
  // while root enabled we need to increment index
2223
2231
  // cuz we have root breadcrumb
2224
2232
  index: i ? f + 1 : f,
2225
2233
  id: Rt(),
2226
- path: m,
2234
+ path: h,
2227
2235
  label: x
2228
2236
  };
2229
2237
  p.push(b);
@@ -2248,8 +2256,8 @@ const Pr = ({ promises: e }) => {
2248
2256
  ] }, i.id);
2249
2257
  }), Gr = ({ separator: e, ellipsis: t, classes: r, ...n }) => {
2250
2258
  const [i, d] = G(!1), l = Tt(null);
2251
- Me(l, () => d(!1));
2252
- const u = Wr(n), { first: p, middle: m, last: x } = Ct(() => {
2259
+ Ee(l, () => d(!1));
2260
+ const u = Wr(n), { first: p, middle: h, last: x } = Ct(() => {
2253
2261
  let b = [], v = [], N = [];
2254
2262
  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
2263
  }, [u, t]), f = e ?? /* @__PURE__ */ o.jsx(c, { name: "arrows/arrowRight", className: a("size-4", r == null ? void 0 : r.separator) });
@@ -2269,7 +2277,7 @@ const Pr = ({ promises: e }) => {
2269
2277
  /* @__PURE__ */ o.jsxs(o.Fragment, { children: [
2270
2278
  xt(p, f, r == null ? void 0 : r.breadcrumb),
2271
2279
  f,
2272
- m.length > 0 && /* @__PURE__ */ o.jsxs(o.Fragment, { children: [
2280
+ h.length > 0 && /* @__PURE__ */ o.jsxs(o.Fragment, { children: [
2273
2281
  /* @__PURE__ */ o.jsxs("div", { className: "relative", children: [
2274
2282
  /* @__PURE__ */ o.jsx("button", { onClick: () => d(!0), children: "..." }),
2275
2283
  /* @__PURE__ */ o.jsx(
@@ -2284,7 +2292,7 @@ const Pr = ({ promises: e }) => {
2284
2292
  "visible opacity-100": i
2285
2293
  }
2286
2294
  ),
2287
- children: m.map((b) => /* @__PURE__ */ o.jsx("li", { children: /* @__PURE__ */ o.jsx(
2295
+ children: h.map((b) => /* @__PURE__ */ o.jsx("li", { children: /* @__PURE__ */ o.jsx(
2288
2296
  ie,
2289
2297
  {
2290
2298
  breadcrumb: b,
@@ -2559,11 +2567,11 @@ const Kr = (e, t) => {
2559
2567
  value: t.title ?? "",
2560
2568
  label: t.title ?? ""
2561
2569
  })), ln = ({ categories: e, helpers: t, phone: r, ...n }) => {
2562
- const i = an(e), [d, l] = G(i[0]), u = (m) => {
2563
- k.isUndefined(m) || k.isArray(m) || l(m);
2570
+ const i = an(e), [d, l] = G(i[0]), u = (h) => {
2571
+ k.isUndefined(h) || k.isArray(h) || l(h);
2564
2572
  }, p = Ct(() => {
2565
- var m;
2566
- return k.isUndefined(d) || k.isArray(d) ? [] : ((m = e.find((x) => x.title === d.value)) == null ? void 0 : m.children) ?? [];
2573
+ var h;
2574
+ return k.isUndefined(d) || k.isArray(d) ? [] : ((h = e.find((x) => x.title === d.value)) == null ? void 0 : h.children) ?? [];
2567
2575
  }, [d, e]);
2568
2576
  return /* @__PURE__ */ o.jsxs(
2569
2577
  st.div,
@@ -2579,18 +2587,18 @@ const Kr = (e, t) => {
2579
2587
  animate: { opacity: 1 },
2580
2588
  children: [
2581
2589
  /* @__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) => {
2590
+ /* @__PURE__ */ o.jsx("div", { className: "flex w-full flex-col items-center justify-center gap-y-1", children: p.map((h) => {
2583
2591
  var x;
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);
2592
+ return k.isArrayEmpty(h.children) ? /* @__PURE__ */ o.jsx("div", { className: "w-full px-4 py-2.5", children: /* @__PURE__ */ o.jsx("a", { href: (x = h.link) == null ? void 0 : x.href, className: "desk-body-regular-m inline-block w-full", children: h.title }) }, h.title) : /* @__PURE__ */ o.jsx(dn, { category: h }, h.title);
2585
2593
  }) }),
2586
2594
  /* @__PURE__ */ o.jsx("div", { className: "h-[1px] w-full bg-color-blue-grey-200" }),
2587
2595
  /* @__PURE__ */ o.jsxs("div", { className: "flex w-full flex-col items-center justify-center gap-y-1", children: [
2588
- t.map((m) => {
2596
+ t.map((h) => {
2589
2597
  var x, f;
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" }),
2592
- m.title
2593
- ] }) }, m.title);
2598
+ return /* @__PURE__ */ o.jsx("div", { className: "w-full px-4 py-2.5", children: /* @__PURE__ */ o.jsxs("a", { href: (x = h.link) == null ? void 0 : x.href, className: "flex w-full items-center gap-x-1", children: [
2599
+ ((f = h.link) == null ? void 0 : f.icon) && /* @__PURE__ */ o.jsx(c, { name: h.link.icon, className: "size-4" }),
2600
+ h.title
2601
+ ] }) }, h.title);
2594
2602
  }),
2595
2603
  /* @__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
2604
  /* @__PURE__ */ o.jsx(c, { name: "communication/phone", className: "size-4" }),
@@ -2620,26 +2628,26 @@ const Kr = (e, t) => {
2620
2628
  )
2621
2629
  ] });
2622
2630
  }, Fn = ({ categories: e, helpers: t, phone: r }) => {
2623
- const { isMobile: n } = K();
2631
+ const { isMobile: n } = Y();
2624
2632
  return /* @__PURE__ */ o.jsxs("div", { id: j.seoHeader, "data-test-id": j.seoHeader, className: "mx-auto w-full max-w-[1440px]", children: [
2625
2633
  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
2634
  /* @__PURE__ */ o.jsx(
2627
2635
  Gr,
2628
2636
  {
2629
2637
  ellipsis: n ? 1 : void 0,
2630
- matcher: (i) => ({ label: Ee(i.label).split("-").join(" ") })
2638
+ matcher: (i) => ({ label: Ie(i.label).split("-").join(" ") })
2631
2639
  }
2632
2640
  )
2633
2641
  ] });
2634
2642
  };
2635
2643
  export {
2636
2644
  kt as Advantages,
2637
- En as AuthProvider,
2645
+ In as AuthProvider,
2638
2646
  Nn as Banner,
2639
2647
  Pt as BannerWithSeparateImg,
2640
2648
  wn as Benefit,
2641
2649
  Gr as Breadcrumbs,
2642
- Y as ButtonWithHandlers,
2650
+ J as ButtonWithHandlers,
2643
2651
  On as DynamicForm,
2644
2652
  Sn as FallbacksView,
2645
2653
  Fr as FieldMapper,
@@ -2647,12 +2655,12 @@ export {
2647
2655
  _r as HTMLParser,
2648
2656
  ft as HTMLRenderer,
2649
2657
  vn as Header,
2650
- In as InterLinking,
2658
+ Mn as InterLinking,
2651
2659
  Tn as LongBanner,
2652
2660
  Fn as SeoHeader,
2653
2661
  Cn as Stepper,
2654
- Mn as UsefulInfo,
2655
- Le as WIDGET_LIST,
2662
+ En as UsefulInfo,
2663
+ De as WIDGET_LIST,
2656
2664
  Ar as queryClient,
2657
2665
  j as widgetIds
2658
2666
  };