@scbt-ecom/ui 0.78.2 → 0.78.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/widget.js CHANGED
@@ -1,10 +1,10 @@
1
1
  var Bt = Object.defineProperty;
2
- var Le = (t) => {
2
+ var Qe = (t) => {
3
3
  throw TypeError(t);
4
4
  };
5
5
  var Pt = (t, e, r) => e in t ? Bt(t, e, { enumerable: !0, configurable: !0, writable: !0, value: r }) : t[e] = r;
6
- var de = (t, e, r) => Pt(t, typeof e != "symbol" ? e + "" : e, r), Ce = (t, e, r) => e.has(t) || Le("Cannot " + r);
7
- var x = (t, e, r) => (Ce(t, e, "read from private field"), r ? r.call(t) : e.get(t)), _ = (t, e, r) => e.has(t) ? Le("Cannot add the same private member more than once") : e instanceof WeakSet ? e.add(t) : e.set(t, r), w = (t, e, r, o) => (Ce(t, e, "write to private field"), o ? o.call(t, r) : e.set(t, r), r), U = (t, e, r) => (Ce(t, e, "access private method"), r);
6
+ var de = (t, e, r) => Pt(t, typeof e != "symbol" ? e + "" : e, r), Ce = (t, e, r) => e.has(t) || Qe("Cannot " + r);
7
+ var x = (t, e, r) => (Ce(t, e, "read from private field"), r ? r.call(t) : e.get(t)), I = (t, e, r) => e.has(t) ? Qe("Cannot add the same private member more than once") : e instanceof WeakSet ? e.add(t) : e.set(t, r), w = (t, e, r, o) => (Ce(t, e, "write to private field"), o ? o.call(t, r) : e.set(t, r), r), q = (t, e, r) => (Ce(t, e, "access private method"), r);
8
8
  var fe = (t, e, r, o) => ({
9
9
  set _(i) {
10
10
  w(t, e, i, r);
@@ -13,25 +13,25 @@ var fe = (t, e, r, o) => ({
13
13
  return x(t, e, o);
14
14
  }
15
15
  });
16
- import { S as bt, y as st, Q as Dt, z as S, E as Qe, F as Rt, G as Ht, J as Ve, T as Q, W as zt, X as Lt, Y as Qt, Z as Vt, _ as $e, $ as Ae, a0 as $t, a1 as Ue, a2 as qe, a3 as At, j as n, B as je, c as E, R as P, n as gt, t as Ut, H as L, i as s, v as ye, q as Se, L as qt, o as Ee, A as ae, w as jt, a4 as Wt, r as Kt, U as ke, s as Zt, a5 as Fe, a6 as Xt, M as Yt } from "./index-BUV7eJPv.js";
16
+ import { S as st, z as gt, Q as Dt, E as S, F as Ve, G as Rt, J as Ht, T as $e, W as $, X as zt, Y as Lt, Z as Qt, _ as Vt, $ as Ae, a0 as Ue, a1 as $t, a2 as qe, a3 as We, a4 as At, j as n, B as je, c as E, R as F, o as jt, v as Ut, H as Q, i as s, w as ye, r as Se, L as qt, p as Ee, A as ae, x as yt, a5 as Wt, s as Kt, U as ke, t as Zt, a6 as Fe, a7 as Xt, M as Yt } from "./index-B2IoSSqc.js";
17
17
  import { c as l, T as v } from "./typeGuards-CSiImkUY.js";
18
18
  import * as me from "react";
19
- import { lazy as F, useCallback as yt, useState as D, useMemo as we, createElement as kt, Fragment as Jt, useEffect as ge, useRef as Be, useReducer as Gt, memo as Pe, forwardRef as er } from "react";
19
+ import { lazy as B, useCallback as kt, useState as D, useMemo as we, createElement as Be, Fragment as Jt, useEffect as ge, useRef as Pe, useReducer as Gt, memo as De, forwardRef as er } from "react";
20
20
  import { i as Ie } from "./isClient-C9aZtt2Q.js";
21
- import { scrollToElement as tr, createPhoneNumber as ve, getUuid as We, capitalize as rr } from "./utils.js";
22
- import { u as ee, b as De, a as nr, g as Ne, F as or } from "./useDebounce-BH0d8exl.js";
23
- import { z as wt, Z as Re } from "./index-DwZjTCDF.js";
21
+ import { scrollToElement as tr, createPhoneNumber as ve, getUuid as Ke, capitalize as rr } from "./utils.js";
22
+ import { u as ee, b as Re, a as nr, g as Ne, F as or } from "./useDebounce-BH0d8exl.js";
23
+ import { z as wt, Z as He } from "./index-DwZjTCDF.js";
24
24
  import { au as vt } from "./utils-CnDzHNQ6.js";
25
25
  import { a as ir, u as ar } from "./useFieldsProgress-dcSmd8dw.js";
26
26
  import { createPortal as Nt } from "react-dom";
27
- var R, xt, lr = (xt = class extends bt {
27
+ var H, pt, lr = (pt = class extends st {
28
28
  constructor(e = {}) {
29
29
  super();
30
- _(this, R);
31
- this.config = e, w(this, R, /* @__PURE__ */ new Map());
30
+ I(this, H);
31
+ this.config = e, w(this, H, /* @__PURE__ */ new Map());
32
32
  }
33
33
  build(e, r, o) {
34
- const i = r.queryKey, a = r.queryHash ?? st(i, r);
34
+ const i = r.queryKey, a = r.queryHash ?? gt(i, r);
35
35
  let d = this.get(a);
36
36
  return d || (d = new Dt({
37
37
  client: e,
@@ -43,14 +43,14 @@ var R, xt, lr = (xt = class extends bt {
43
43
  }), this.add(d)), d;
44
44
  }
45
45
  add(e) {
46
- x(this, R).has(e.queryHash) || (x(this, R).set(e.queryHash, e), this.notify({
46
+ x(this, H).has(e.queryHash) || (x(this, H).set(e.queryHash, e), this.notify({
47
47
  type: "added",
48
48
  query: e
49
49
  }));
50
50
  }
51
51
  remove(e) {
52
- const r = x(this, R).get(e.queryHash);
53
- r && (e.destroy(), r === e && x(this, R).delete(e.queryHash), this.notify({ type: "removed", query: e }));
52
+ const r = x(this, H).get(e.queryHash);
53
+ r && (e.destroy(), r === e && x(this, H).delete(e.queryHash), this.notify({ type: "removed", query: e }));
54
54
  }
55
55
  clear() {
56
56
  S.batch(() => {
@@ -60,20 +60,20 @@ var R, xt, lr = (xt = class extends bt {
60
60
  });
61
61
  }
62
62
  get(e) {
63
- return x(this, R).get(e);
63
+ return x(this, H).get(e);
64
64
  }
65
65
  getAll() {
66
- return [...x(this, R).values()];
66
+ return [...x(this, H).values()];
67
67
  }
68
68
  find(e) {
69
69
  const r = { exact: !0, ...e };
70
70
  return this.getAll().find(
71
- (o) => Qe(r, o)
71
+ (o) => Ve(r, o)
72
72
  );
73
73
  }
74
74
  findAll(e = {}) {
75
75
  const r = this.getAll();
76
- return Object.keys(e).length > 0 ? r.filter((o) => Qe(e, o)) : r;
76
+ return Object.keys(e).length > 0 ? r.filter((o) => Ve(e, o)) : r;
77
77
  }
78
78
  notify(e) {
79
79
  S.batch(() => {
@@ -96,14 +96,14 @@ var R, xt, lr = (xt = class extends bt {
96
96
  });
97
97
  });
98
98
  }
99
- }, R = new WeakMap(), xt), H, T, G, z, q, pt, dr = (pt = class extends Rt {
99
+ }, H = new WeakMap(), pt), z, O, G, L, W, ct, dr = (ct = class extends Rt {
100
100
  constructor(e) {
101
101
  super();
102
- _(this, z);
103
- _(this, H);
104
- _(this, T);
105
- _(this, G);
106
- this.mutationId = e.mutationId, w(this, T, e.mutationCache), w(this, H, []), this.state = e.state || ur(), this.setOptions(e.options), this.scheduleGc();
102
+ I(this, L);
103
+ I(this, z);
104
+ I(this, O);
105
+ I(this, G);
106
+ this.mutationId = e.mutationId, w(this, O, e.mutationCache), w(this, z, []), this.state = e.state || ur(), this.setOptions(e.options), this.scheduleGc();
107
107
  }
108
108
  setOptions(e) {
109
109
  this.options = e, this.updateGcTime(this.options.gcTime);
@@ -112,21 +112,21 @@ var R, xt, lr = (xt = class extends bt {
112
112
  return this.options.meta;
113
113
  }
114
114
  addObserver(e) {
115
- x(this, H).includes(e) || (x(this, H).push(e), this.clearGcTimeout(), x(this, T).notify({
115
+ x(this, z).includes(e) || (x(this, z).push(e), this.clearGcTimeout(), x(this, O).notify({
116
116
  type: "observerAdded",
117
117
  mutation: this,
118
118
  observer: e
119
119
  }));
120
120
  }
121
121
  removeObserver(e) {
122
- w(this, H, x(this, H).filter((r) => r !== e)), this.scheduleGc(), x(this, T).notify({
122
+ w(this, z, x(this, z).filter((r) => r !== e)), this.scheduleGc(), x(this, O).notify({
123
123
  type: "observerRemoved",
124
124
  mutation: this,
125
125
  observer: e
126
126
  });
127
127
  }
128
128
  optionalRemove() {
129
- x(this, H).length || (this.state.status === "pending" ? this.scheduleGc() : x(this, T).remove(this));
129
+ x(this, z).length || (this.state.status === "pending" ? this.scheduleGc() : x(this, O).remove(this));
130
130
  }
131
131
  continue() {
132
132
  var e;
@@ -134,36 +134,36 @@ var R, xt, lr = (xt = class extends bt {
134
134
  this.execute(this.state.variables);
135
135
  }
136
136
  async execute(e) {
137
- var a, d, u, m, h, p, c, f, b, j, g, N, I, $, M, O, A, Y, pe, le;
137
+ var a, d, u, m, h, p, c, f, b, j, g, N, T, U, M, _, R, V, pe, le;
138
138
  const r = () => {
139
- U(this, z, q).call(this, { type: "continue" });
139
+ q(this, L, W).call(this, { type: "continue" });
140
140
  };
141
141
  w(this, G, Ht({
142
142
  fn: () => this.options.mutationFn ? this.options.mutationFn(e) : Promise.reject(new Error("No mutationFn found")),
143
143
  onFail: (C, ce) => {
144
- U(this, z, q).call(this, { type: "failed", failureCount: C, error: ce });
144
+ q(this, L, W).call(this, { type: "failed", failureCount: C, error: ce });
145
145
  },
146
146
  onPause: () => {
147
- U(this, z, q).call(this, { type: "pause" });
147
+ q(this, L, W).call(this, { type: "pause" });
148
148
  },
149
149
  onContinue: r,
150
150
  retry: this.options.retry ?? 0,
151
151
  retryDelay: this.options.retryDelay,
152
152
  networkMode: this.options.networkMode,
153
- canRun: () => x(this, T).canRun(this)
153
+ canRun: () => x(this, O).canRun(this)
154
154
  }));
155
155
  const o = this.state.status === "pending", i = !x(this, G).canStart();
156
156
  try {
157
157
  if (o)
158
158
  r();
159
159
  else {
160
- U(this, z, q).call(this, { type: "pending", variables: e, isPaused: i }), await ((d = (a = x(this, T).config).onMutate) == null ? void 0 : d.call(
160
+ q(this, L, W).call(this, { type: "pending", variables: e, isPaused: i }), await ((d = (a = x(this, O).config).onMutate) == null ? void 0 : d.call(
161
161
  a,
162
162
  e,
163
163
  this
164
164
  ));
165
165
  const ce = await ((m = (u = this.options).onMutate) == null ? void 0 : m.call(u, e));
166
- ce !== this.state.context && U(this, z, q).call(this, {
166
+ ce !== this.state.context && q(this, L, W).call(this, {
167
167
  type: "pending",
168
168
  context: ce,
169
169
  variables: e,
@@ -171,35 +171,35 @@ var R, xt, lr = (xt = class extends bt {
171
171
  });
172
172
  }
173
173
  const C = await x(this, G).start();
174
- return await ((p = (h = x(this, T).config).onSuccess) == null ? void 0 : p.call(
174
+ return await ((p = (h = x(this, O).config).onSuccess) == null ? void 0 : p.call(
175
175
  h,
176
176
  C,
177
177
  e,
178
178
  this.state.context,
179
179
  this
180
- )), await ((f = (c = this.options).onSuccess) == null ? void 0 : f.call(c, C, e, this.state.context)), await ((j = (b = x(this, T).config).onSettled) == null ? void 0 : j.call(
180
+ )), await ((f = (c = this.options).onSuccess) == null ? void 0 : f.call(c, C, e, this.state.context)), await ((j = (b = x(this, O).config).onSettled) == null ? void 0 : j.call(
181
181
  b,
182
182
  C,
183
183
  null,
184
184
  this.state.variables,
185
185
  this.state.context,
186
186
  this
187
- )), await ((N = (g = this.options).onSettled) == null ? void 0 : N.call(g, C, null, e, this.state.context)), U(this, z, q).call(this, { type: "success", data: C }), C;
187
+ )), await ((N = (g = this.options).onSettled) == null ? void 0 : N.call(g, C, null, e, this.state.context)), q(this, L, W).call(this, { type: "success", data: C }), C;
188
188
  } catch (C) {
189
189
  try {
190
- throw await (($ = (I = x(this, T).config).onError) == null ? void 0 : $.call(
191
- I,
190
+ throw await ((U = (T = x(this, O).config).onError) == null ? void 0 : U.call(
191
+ T,
192
192
  C,
193
193
  e,
194
194
  this.state.context,
195
195
  this
196
- )), await ((O = (M = this.options).onError) == null ? void 0 : O.call(
196
+ )), await ((_ = (M = this.options).onError) == null ? void 0 : _.call(
197
197
  M,
198
198
  C,
199
199
  e,
200
200
  this.state.context
201
- )), await ((Y = (A = x(this, T).config).onSettled) == null ? void 0 : Y.call(
202
- A,
201
+ )), await ((V = (R = x(this, O).config).onSettled) == null ? void 0 : V.call(
202
+ R,
203
203
  void 0,
204
204
  C,
205
205
  this.state.variables,
@@ -213,13 +213,13 @@ var R, xt, lr = (xt = class extends bt {
213
213
  this.state.context
214
214
  )), C;
215
215
  } finally {
216
- U(this, z, q).call(this, { type: "error", error: C });
216
+ q(this, L, W).call(this, { type: "error", error: C });
217
217
  }
218
218
  } finally {
219
- x(this, T).runNext(this);
219
+ x(this, O).runNext(this);
220
220
  }
221
221
  }
222
- }, H = new WeakMap(), T = new WeakMap(), G = new WeakMap(), z = new WeakSet(), q = function(e) {
222
+ }, z = new WeakMap(), O = new WeakMap(), G = new WeakMap(), L = new WeakSet(), W = function(e) {
223
223
  const r = (o) => {
224
224
  switch (e.type) {
225
225
  case "failed":
@@ -274,15 +274,15 @@ var R, xt, lr = (xt = class extends bt {
274
274
  }
275
275
  };
276
276
  this.state = r(this.state), S.batch(() => {
277
- x(this, H).forEach((o) => {
277
+ x(this, z).forEach((o) => {
278
278
  o.onMutationUpdate(e);
279
- }), x(this, T).notify({
279
+ }), x(this, O).notify({
280
280
  mutation: this,
281
281
  type: "updated",
282
282
  action: e
283
283
  });
284
284
  });
285
- }, pt);
285
+ }, ct);
286
286
  function ur() {
287
287
  return {
288
288
  context: void 0,
@@ -296,13 +296,13 @@ function ur() {
296
296
  submittedAt: 0
297
297
  };
298
298
  }
299
- var V, B, xe, ct, mr = (ct = class extends bt {
299
+ var A, P, xe, ft, mr = (ft = class extends st {
300
300
  constructor(e = {}) {
301
301
  super();
302
- _(this, V);
303
- _(this, B);
304
- _(this, xe);
305
- this.config = e, w(this, V, /* @__PURE__ */ new Set()), w(this, B, /* @__PURE__ */ new Map()), w(this, xe, 0);
302
+ I(this, A);
303
+ I(this, P);
304
+ I(this, xe);
305
+ this.config = e, w(this, A, /* @__PURE__ */ new Set()), w(this, P, /* @__PURE__ */ new Map()), w(this, xe, 0);
306
306
  }
307
307
  build(e, r, o) {
308
308
  const i = new dr({
@@ -314,24 +314,24 @@ var V, B, xe, ct, mr = (ct = class extends bt {
314
314
  return this.add(i), i;
315
315
  }
316
316
  add(e) {
317
- x(this, V).add(e);
317
+ x(this, A).add(e);
318
318
  const r = be(e);
319
319
  if (typeof r == "string") {
320
- const o = x(this, B).get(r);
321
- o ? o.push(e) : x(this, B).set(r, [e]);
320
+ const o = x(this, P).get(r);
321
+ o ? o.push(e) : x(this, P).set(r, [e]);
322
322
  }
323
323
  this.notify({ type: "added", mutation: e });
324
324
  }
325
325
  remove(e) {
326
- if (x(this, V).delete(e)) {
326
+ if (x(this, A).delete(e)) {
327
327
  const r = be(e);
328
328
  if (typeof r == "string") {
329
- const o = x(this, B).get(r);
329
+ const o = x(this, P).get(r);
330
330
  if (o)
331
331
  if (o.length > 1) {
332
332
  const i = o.indexOf(e);
333
333
  i !== -1 && o.splice(i, 1);
334
- } else o[0] === e && x(this, B).delete(r);
334
+ } else o[0] === e && x(this, P).delete(r);
335
335
  }
336
336
  }
337
337
  this.notify({ type: "removed", mutation: e });
@@ -339,7 +339,7 @@ var V, B, xe, ct, mr = (ct = class extends bt {
339
339
  canRun(e) {
340
340
  const r = be(e);
341
341
  if (typeof r == "string") {
342
- const o = x(this, B).get(r), i = o == null ? void 0 : o.find(
342
+ const o = x(this, P).get(r), i = o == null ? void 0 : o.find(
343
343
  (a) => a.state.status === "pending"
344
344
  );
345
345
  return !i || i === e;
@@ -350,29 +350,29 @@ var V, B, xe, ct, mr = (ct = class extends bt {
350
350
  var o;
351
351
  const r = be(e);
352
352
  if (typeof r == "string") {
353
- const i = (o = x(this, B).get(r)) == null ? void 0 : o.find((a) => a !== e && a.state.isPaused);
353
+ const i = (o = x(this, P).get(r)) == null ? void 0 : o.find((a) => a !== e && a.state.isPaused);
354
354
  return (i == null ? void 0 : i.continue()) ?? Promise.resolve();
355
355
  } else
356
356
  return Promise.resolve();
357
357
  }
358
358
  clear() {
359
359
  S.batch(() => {
360
- x(this, V).forEach((e) => {
360
+ x(this, A).forEach((e) => {
361
361
  this.notify({ type: "removed", mutation: e });
362
- }), x(this, V).clear(), x(this, B).clear();
362
+ }), x(this, A).clear(), x(this, P).clear();
363
363
  });
364
364
  }
365
365
  getAll() {
366
- return Array.from(x(this, V));
366
+ return Array.from(x(this, A));
367
367
  }
368
368
  find(e) {
369
369
  const r = { exact: !0, ...e };
370
370
  return this.getAll().find(
371
- (o) => Ve(r, o)
371
+ (o) => $e(r, o)
372
372
  );
373
373
  }
374
374
  findAll(e = {}) {
375
- return this.getAll().filter((r) => Ve(e, r));
375
+ return this.getAll().filter((r) => $e(e, r));
376
376
  }
377
377
  notify(e) {
378
378
  S.batch(() => {
@@ -385,16 +385,16 @@ var V, B, xe, ct, mr = (ct = class extends bt {
385
385
  const e = this.getAll().filter((r) => r.state.isPaused);
386
386
  return S.batch(
387
387
  () => Promise.all(
388
- e.map((r) => r.continue().catch(Q))
388
+ e.map((r) => r.continue().catch($))
389
389
  )
390
390
  );
391
391
  }
392
- }, V = new WeakMap(), B = new WeakMap(), xe = new WeakMap(), ct);
392
+ }, A = new WeakMap(), P = new WeakMap(), xe = new WeakMap(), ft);
393
393
  function be(t) {
394
394
  var e;
395
395
  return (e = t.options.scope) == null ? void 0 : e.id;
396
396
  }
397
- function Ke(t) {
397
+ function Ze(t) {
398
398
  return {
399
399
  onFetch: (e, r) => {
400
400
  var p, c, f, b, j;
@@ -409,40 +409,40 @@ function Ke(t) {
409
409
  g = !0;
410
410
  }), e.signal)
411
411
  });
412
- }, I = zt(e.options, e.fetchOptions), $ = async (M, O, A) => {
412
+ }, T = zt(e.options, e.fetchOptions), U = async (M, _, R) => {
413
413
  if (g)
414
414
  return Promise.reject();
415
- if (O == null && M.pages.length)
415
+ if (_ == null && M.pages.length)
416
416
  return Promise.resolve(M);
417
- const Y = {
417
+ const V = {
418
418
  client: e.client,
419
419
  queryKey: e.queryKey,
420
- pageParam: O,
421
- direction: A ? "backward" : "forward",
420
+ pageParam: _,
421
+ direction: R ? "backward" : "forward",
422
422
  meta: e.options.meta
423
423
  };
424
- N(Y);
425
- const pe = await I(
426
- Y
427
- ), { maxPages: le } = e.options, C = A ? Lt : Qt;
424
+ N(V);
425
+ const pe = await T(
426
+ V
427
+ ), { maxPages: le } = e.options, C = R ? Lt : Qt;
428
428
  return {
429
429
  pages: C(M.pages, pe, le),
430
- pageParams: C(M.pageParams, O, le)
430
+ pageParams: C(M.pageParams, _, le)
431
431
  };
432
432
  };
433
433
  if (i && a.length) {
434
- const M = i === "backward", O = M ? hr : Ze, A = {
434
+ const M = i === "backward", _ = M ? hr : Xe, R = {
435
435
  pages: a,
436
436
  pageParams: d
437
- }, Y = O(o, A);
438
- u = await $(A, Y, M);
437
+ }, V = _(o, R);
438
+ u = await U(R, V, M);
439
439
  } else {
440
440
  const M = t ?? a.length;
441
441
  do {
442
- const O = m === 0 ? d[0] ?? o.initialPageParam : Ze(o, u);
443
- if (m > 0 && O == null)
442
+ const _ = m === 0 ? d[0] ?? o.initialPageParam : Xe(o, u);
443
+ if (m > 0 && _ == null)
444
444
  break;
445
- u = await $(u, O), m++;
445
+ u = await U(u, _), m++;
446
446
  } while (m < M);
447
447
  }
448
448
  return u;
@@ -464,7 +464,7 @@ function Ke(t) {
464
464
  }
465
465
  };
466
466
  }
467
- function Ze(t, { pages: e, pageParams: r }) {
467
+ function Xe(t, { pages: e, pageParams: r }) {
468
468
  const o = e.length - 1;
469
469
  return e.length > 0 ? t.getNextPageParam(
470
470
  e[o],
@@ -477,34 +477,34 @@ function hr(t, { pages: e, pageParams: r }) {
477
477
  var o;
478
478
  return e.length > 0 ? (o = t.getPreviousPageParam) == null ? void 0 : o.call(t, e[0], e, r[0], r) : void 0;
479
479
  }
480
- var k, W, K, te, re, Z, ne, oe, ft, xr = (ft = class {
480
+ var k, K, Z, te, re, X, ne, oe, bt, xr = (bt = class {
481
481
  constructor(t = {}) {
482
- _(this, k);
483
- _(this, W);
484
- _(this, K);
485
- _(this, te);
486
- _(this, re);
487
- _(this, Z);
488
- _(this, ne);
489
- _(this, oe);
490
- w(this, k, t.queryCache || new lr()), w(this, W, t.mutationCache || new mr()), w(this, K, t.defaultOptions || {}), w(this, te, /* @__PURE__ */ new Map()), w(this, re, /* @__PURE__ */ new Map()), w(this, Z, 0);
482
+ I(this, k);
483
+ I(this, K);
484
+ I(this, Z);
485
+ I(this, te);
486
+ I(this, re);
487
+ I(this, X);
488
+ I(this, ne);
489
+ I(this, oe);
490
+ w(this, k, t.queryCache || new lr()), w(this, K, t.mutationCache || new mr()), w(this, Z, t.defaultOptions || {}), w(this, te, /* @__PURE__ */ new Map()), w(this, re, /* @__PURE__ */ new Map()), w(this, X, 0);
491
491
  }
492
492
  mount() {
493
- fe(this, Z)._++, x(this, Z) === 1 && (w(this, ne, Vt.subscribe(async (t) => {
493
+ fe(this, X)._++, x(this, X) === 1 && (w(this, ne, Vt.subscribe(async (t) => {
494
494
  t && (await this.resumePausedMutations(), x(this, k).onFocus());
495
- })), w(this, oe, $e.subscribe(async (t) => {
495
+ })), w(this, oe, Ae.subscribe(async (t) => {
496
496
  t && (await this.resumePausedMutations(), x(this, k).onOnline());
497
497
  })));
498
498
  }
499
499
  unmount() {
500
500
  var t, e;
501
- fe(this, Z)._--, x(this, Z) === 0 && ((t = x(this, ne)) == null || t.call(this), w(this, ne, void 0), (e = x(this, oe)) == null || e.call(this), w(this, oe, void 0));
501
+ fe(this, X)._--, x(this, X) === 0 && ((t = x(this, ne)) == null || t.call(this), w(this, ne, void 0), (e = x(this, oe)) == null || e.call(this), w(this, oe, void 0));
502
502
  }
503
503
  isFetching(t) {
504
504
  return x(this, k).findAll({ ...t, fetchStatus: "fetching" }).length;
505
505
  }
506
506
  isMutating(t) {
507
- return x(this, W).findAll({ ...t, status: "pending" }).length;
507
+ return x(this, K).findAll({ ...t, status: "pending" }).length;
508
508
  }
509
509
  /**
510
510
  * Imperative (non-reactive) way to retrieve data for a QueryKey.
@@ -520,7 +520,7 @@ var k, W, K, te, re, Z, ne, oe, ft, xr = (ft = class {
520
520
  }
521
521
  ensureQueryData(t) {
522
522
  const e = this.defaultQueryOptions(t), r = x(this, k).build(this, e), o = r.state.data;
523
- return o === void 0 ? this.fetchQuery(t) : (t.revalidateIfStale && r.isStaleByTime(Ae(e.staleTime, r)) && this.prefetchQuery(e), Promise.resolve(o));
523
+ return o === void 0 ? this.fetchQuery(t) : (t.revalidateIfStale && r.isStaleByTime(Ue(e.staleTime, r)) && this.prefetchQuery(e), Promise.resolve(o));
524
524
  }
525
525
  getQueriesData(t) {
526
526
  return x(this, k).findAll(t).map(({ queryKey: e, state: r }) => {
@@ -574,7 +574,7 @@ var k, W, K, te, re, Z, ne, oe, ft, xr = (ft = class {
574
574
  const r = { revert: !0, ...e }, o = S.batch(
575
575
  () => x(this, k).findAll(t).map((i) => i.cancel(r))
576
576
  );
577
- return Promise.all(o).then(Q).catch(Q);
577
+ return Promise.all(o).then($).catch($);
578
578
  }
579
579
  invalidateQueries(t, e = {}) {
580
580
  return S.batch(() => (x(this, k).findAll(t).forEach((r) => {
@@ -594,48 +594,48 @@ var k, W, K, te, re, Z, ne, oe, ft, xr = (ft = class {
594
594
  }, o = S.batch(
595
595
  () => x(this, k).findAll(t).filter((i) => !i.isDisabled() && !i.isStatic()).map((i) => {
596
596
  let a = i.fetch(void 0, r);
597
- return r.throwOnError || (a = a.catch(Q)), i.state.fetchStatus === "paused" ? Promise.resolve() : a;
597
+ return r.throwOnError || (a = a.catch($)), i.state.fetchStatus === "paused" ? Promise.resolve() : a;
598
598
  })
599
599
  );
600
- return Promise.all(o).then(Q);
600
+ return Promise.all(o).then($);
601
601
  }
602
602
  fetchQuery(t) {
603
603
  const e = this.defaultQueryOptions(t);
604
604
  e.retry === void 0 && (e.retry = !1);
605
605
  const r = x(this, k).build(this, e);
606
606
  return r.isStaleByTime(
607
- Ae(e.staleTime, r)
607
+ Ue(e.staleTime, r)
608
608
  ) ? r.fetch(e) : Promise.resolve(r.state.data);
609
609
  }
610
610
  prefetchQuery(t) {
611
- return this.fetchQuery(t).then(Q).catch(Q);
611
+ return this.fetchQuery(t).then($).catch($);
612
612
  }
613
613
  fetchInfiniteQuery(t) {
614
- return t.behavior = Ke(t.pages), this.fetchQuery(t);
614
+ return t.behavior = Ze(t.pages), this.fetchQuery(t);
615
615
  }
616
616
  prefetchInfiniteQuery(t) {
617
- return this.fetchInfiniteQuery(t).then(Q).catch(Q);
617
+ return this.fetchInfiniteQuery(t).then($).catch($);
618
618
  }
619
619
  ensureInfiniteQueryData(t) {
620
- return t.behavior = Ke(t.pages), this.ensureQueryData(t);
620
+ return t.behavior = Ze(t.pages), this.ensureQueryData(t);
621
621
  }
622
622
  resumePausedMutations() {
623
- return $e.isOnline() ? x(this, W).resumePausedMutations() : Promise.resolve();
623
+ return Ae.isOnline() ? x(this, K).resumePausedMutations() : Promise.resolve();
624
624
  }
625
625
  getQueryCache() {
626
626
  return x(this, k);
627
627
  }
628
628
  getMutationCache() {
629
- return x(this, W);
629
+ return x(this, K);
630
630
  }
631
631
  getDefaultOptions() {
632
- return x(this, K);
632
+ return x(this, Z);
633
633
  }
634
634
  setDefaultOptions(t) {
635
- w(this, K, t);
635
+ w(this, Z, t);
636
636
  }
637
637
  setQueryDefaults(t, e) {
638
- x(this, te).set(Ue(t), {
638
+ x(this, te).set(qe(t), {
639
639
  queryKey: t,
640
640
  defaultOptions: e
641
641
  });
@@ -643,11 +643,11 @@ var k, W, K, te, re, Z, ne, oe, ft, xr = (ft = class {
643
643
  getQueryDefaults(t) {
644
644
  const e = [...x(this, te).values()], r = {};
645
645
  return e.forEach((o) => {
646
- qe(t, o.queryKey) && Object.assign(r, o.defaultOptions);
646
+ We(t, o.queryKey) && Object.assign(r, o.defaultOptions);
647
647
  }), r;
648
648
  }
649
649
  setMutationDefaults(t, e) {
650
- x(this, re).set(Ue(t), {
650
+ x(this, re).set(qe(t), {
651
651
  mutationKey: t,
652
652
  defaultOptions: e
653
653
  });
@@ -655,36 +655,36 @@ var k, W, K, te, re, Z, ne, oe, ft, xr = (ft = class {
655
655
  getMutationDefaults(t) {
656
656
  const e = [...x(this, re).values()], r = {};
657
657
  return e.forEach((o) => {
658
- qe(t, o.mutationKey) && Object.assign(r, o.defaultOptions);
658
+ We(t, o.mutationKey) && Object.assign(r, o.defaultOptions);
659
659
  }), r;
660
660
  }
661
661
  defaultQueryOptions(t) {
662
662
  if (t._defaulted)
663
663
  return t;
664
664
  const e = {
665
- ...x(this, K).queries,
665
+ ...x(this, Z).queries,
666
666
  ...this.getQueryDefaults(t.queryKey),
667
667
  ...t,
668
668
  _defaulted: !0
669
669
  };
670
- return e.queryHash || (e.queryHash = st(
670
+ return e.queryHash || (e.queryHash = gt(
671
671
  e.queryKey,
672
672
  e
673
673
  )), e.refetchOnReconnect === void 0 && (e.refetchOnReconnect = e.networkMode !== "always"), e.throwOnError === void 0 && (e.throwOnError = !!e.suspense), !e.networkMode && e.persister && (e.networkMode = "offlineFirst"), e.queryFn === At && (e.enabled = !1), e;
674
674
  }
675
675
  defaultMutationOptions(t) {
676
676
  return t != null && t._defaulted ? t : {
677
- ...x(this, K).mutations,
677
+ ...x(this, Z).mutations,
678
678
  ...(t == null ? void 0 : t.mutationKey) && this.getMutationDefaults(t.mutationKey),
679
679
  ...t,
680
680
  _defaulted: !0
681
681
  };
682
682
  }
683
683
  clear() {
684
- x(this, k).clear(), x(this, W).clear();
684
+ x(this, k).clear(), x(this, K).clear();
685
685
  }
686
- }, k = new WeakMap(), W = new WeakMap(), K = new WeakMap(), te = new WeakMap(), re = new WeakMap(), Z = new WeakMap(), ne = new WeakMap(), oe = new WeakMap(), ft);
687
- const pr = F(() => Promise.resolve().then(() => Pr)), cr = F(() => Promise.resolve().then(() => No)), fr = F(() => Promise.resolve().then(() => Hn)), br = F(() => Promise.resolve().then(() => Ln)), sr = F(() => Promise.resolve().then(() => $r)), gr = F(() => Promise.resolve().then(() => Fr)), jr = F(() => Promise.resolve().then(() => on)), yr = F(() => Promise.resolve().then(() => Jr)), kr = F(() => Promise.resolve().then(() => oo)), wr = F(() => Promise.resolve().then(() => Ur)), vr = F(() => Promise.resolve().then(() => _n)), Nr = F(() => Promise.resolve().then(() => Sr)), Cr = {
686
+ }, k = new WeakMap(), K = new WeakMap(), Z = new WeakMap(), te = new WeakMap(), re = new WeakMap(), X = new WeakMap(), ne = new WeakMap(), oe = new WeakMap(), bt);
687
+ const pr = B(() => Promise.resolve().then(() => Pr)), cr = B(() => Promise.resolve().then(() => No)), fr = B(() => Promise.resolve().then(() => Hn)), br = B(() => Promise.resolve().then(() => Ln)), sr = B(() => Promise.resolve().then(() => $r)), gr = B(() => Promise.resolve().then(() => Fr)), jr = B(() => Promise.resolve().then(() => on)), yr = B(() => Promise.resolve().then(() => Jr)), kr = B(() => Promise.resolve().then(() => oo)), wr = B(() => Promise.resolve().then(() => Ur)), vr = B(() => Promise.resolve().then(() => _n)), Nr = B(() => Promise.resolve().then(() => Sr)), Cr = {
688
688
  header: gr,
689
689
  seoHeader: kr,
690
690
  banner: pr,
@@ -700,7 +700,7 @@ const pr = F(() => Promise.resolve().then(() => Pr)), cr = F(() => Promise.resol
700
700
  }, Mr = Object.keys(Cr), y = Mr.reduce(
701
701
  (t, e) => (t[e] = e, t),
702
702
  {}
703
- ), _r = (t) => yt(() => {
703
+ ), _r = (t) => kt(() => {
704
704
  switch (t.handler) {
705
705
  case "navigate": {
706
706
  const { url: r, target: o, rel: i } = t;
@@ -722,7 +722,7 @@ const pr = F(() => Promise.resolve().then(() => Pr)), cr = F(() => Promise.resol
722
722
  o.show();
723
723
  }
724
724
  }
725
- }, [t]), X = ({ handlerOptions: t, className: e, ...r }) => {
725
+ }, [t]), Y = ({ handlerOptions: t, className: e, ...r }) => {
726
726
  const o = _r(t);
727
727
  return /* @__PURE__ */ n.jsx(je, { className: l(e), onClick: o, ...r, children: r.children });
728
728
  }, Ir = E(
@@ -765,7 +765,7 @@ const pr = F(() => Promise.resolve().then(() => Pr)), cr = F(() => Promise.resol
765
765
  }
766
766
  )
767
767
  ] }),
768
- a && h && (d == null ? void 0 : d.handlerOptions) && /* @__PURE__ */ n.jsx(X, { intent: "primary", className: l("desktop:w-[200px]", i == null ? void 0 : i.button), size: "lg", ...d })
768
+ a && h && (d == null ? void 0 : d.handlerOptions) && /* @__PURE__ */ n.jsx(Y, { intent: "primary", className: l("desktop:w-[200px]", i == null ? void 0 : i.button), size: "lg", ...d })
769
769
  ] }),
770
770
  (o || h) && r && /* @__PURE__ */ n.jsx("div", { className: l("flex w-full justify-end", i == null ? void 0 : i.imgContainer), children: r && "url" in r && v.isObject(r) ? /* @__PURE__ */ n.jsx("img", { className: l("h-[246px] object-cover", i == null ? void 0 : i.img), src: r.url, alt: r.alt }) : r })
771
771
  ]
@@ -780,7 +780,7 @@ const pr = F(() => Promise.resolve().then(() => Pr)), cr = F(() => Promise.resol
780
780
  fourCards: "grid-cols-1 mobile:grid-rows-[400px,1fr,1fr,400px] desktop:grid-cols-3"
781
781
  }
782
782
  }
783
- }), Xe = ({ headline: t, details: e, variant: r, classes: o }) => /* @__PURE__ */ n.jsx("section", { id: y.benefit, "data-test-id": y.benefit, className: l("pb-20", o == null ? void 0 : o.root), children: /* @__PURE__ */ n.jsxs(P, { className: o == null ? void 0 : o.container, children: [
783
+ }), Ye = ({ headline: t, details: e, variant: r, classes: o }) => /* @__PURE__ */ n.jsx("section", { id: y.benefit, "data-test-id": y.benefit, className: l("pb-20", o == null ? void 0 : o.root), children: /* @__PURE__ */ n.jsxs(F, { className: o == null ? void 0 : o.container, children: [
784
784
  /* @__PURE__ */ n.jsx(
785
785
  "div",
786
786
  {
@@ -791,18 +791,18 @@ const pr = F(() => Promise.resolve().then(() => Pr)), cr = F(() => Promise.resol
791
791
  /* @__PURE__ */ n.jsx("ul", { className: l(Or({ variant: r }), o == null ? void 0 : o.grid), children: e == null ? void 0 : e.map((i) => /* @__PURE__ */ n.jsx(Tr, { variant: r, classes: o == null ? void 0 : o.item, ...i }, i.title)) })
792
792
  ] }) }), Sr = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
793
793
  __proto__: null,
794
- Benefit: Xe,
795
- default: Xe
794
+ Benefit: Ye,
795
+ default: Ye
796
796
  }, Symbol.toStringTag, { value: "Module" })), Er = ({ variant: t, details: e }) => {
797
797
  switch (t) {
798
798
  case "withButton":
799
- return /* @__PURE__ */ n.jsx(X, { ...e });
799
+ return /* @__PURE__ */ n.jsx(Y, { ...e });
800
800
  case "withPhone":
801
- return /* @__PURE__ */ n.jsx(gt, { classes: { root: "items-end" }, ...e, phone: ve(e.phone) });
801
+ return /* @__PURE__ */ n.jsx(jt, { classes: { root: "items-end" }, ...e, phone: ve(e.phone) });
802
802
  default:
803
803
  return null;
804
804
  }
805
- }, Ye = (t) => {
805
+ }, Je = (t) => {
806
806
  const { logoPath: e = "/", logoType: r = "main", classes: o } = t;
807
807
  return /* @__PURE__ */ n.jsx(
808
808
  "header",
@@ -810,7 +810,7 @@ const pr = F(() => Promise.resolve().then(() => Pr)), cr = F(() => Promise.resol
810
810
  id: y.header,
811
811
  "data-test-id": y.header,
812
812
  className: l("flex h-[64px] items-center justify-center bg-color-white desktop:h-[72px]", o == null ? void 0 : o.header),
813
- children: /* @__PURE__ */ n.jsx(P, { className: l(o == null ? void 0 : o.container), children: /* @__PURE__ */ n.jsxs("div", { className: l("flex items-center justify-between gap-5", o == null ? void 0 : o.wrapper), children: [
813
+ children: /* @__PURE__ */ n.jsx(F, { className: l(o == null ? void 0 : o.container), children: /* @__PURE__ */ n.jsxs("div", { className: l("flex items-center justify-between gap-5", o == null ? void 0 : o.wrapper), children: [
814
814
  /* @__PURE__ */ n.jsx(
815
815
  "a",
816
816
  {
@@ -831,8 +831,8 @@ const pr = F(() => Promise.resolve().then(() => Pr)), cr = F(() => Promise.resol
831
831
  );
832
832
  }, Fr = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
833
833
  __proto__: null,
834
- Header: Ye,
835
- default: Ye
834
+ Header: Je,
835
+ default: Je
836
836
  }, Symbol.toStringTag, { value: "Module" })), Br = ({
837
837
  headTitle: t,
838
838
  subtitle: e,
@@ -846,7 +846,7 @@ const pr = F(() => Promise.resolve().then(() => Pr)), cr = F(() => Promise.resol
846
846
  renderImage: h
847
847
  }) => {
848
848
  var N;
849
- const { isDesktop: p, isMobile: c } = ee(), { primary: f, secondary: b } = r || {}, j = (I) => h ? h(I) : /* @__PURE__ */ n.jsx("img", { ...I }), g = /* @__PURE__ */ n.jsx(
849
+ const { isDesktop: p, isMobile: c } = ee(), { primary: f, secondary: b } = r || {}, j = (T) => h ? h(T) : /* @__PURE__ */ n.jsx("img", { ...T }), g = /* @__PURE__ */ n.jsx(
850
850
  "div",
851
851
  {
852
852
  className: l(
@@ -870,7 +870,7 @@ const pr = F(() => Promise.resolve().then(() => Pr)), cr = F(() => Promise.resol
870
870
  alt: u,
871
871
  className: l("h-full w-full object-cover object-center")
872
872
  }) }),
873
- /* @__PURE__ */ n.jsxs(P, { className: l("h-full", i == null ? void 0 : i.container), children: [
873
+ /* @__PURE__ */ n.jsxs(F, { className: l("h-full", i == null ? void 0 : i.container), children: [
874
874
  /* @__PURE__ */ n.jsx("div", { className: l("flex h-full", i == null ? void 0 : i.wrapper), children: /* @__PURE__ */ n.jsxs("div", { className: l("flex w-[328px] flex-col gap-10 pt-6 desktop:w-full desktop:pt-20", i == null ? void 0 : i.textBlock), children: [
875
875
  /* @__PURE__ */ n.jsxs("div", { className: "z-10 flex flex-col gap-4", children: [
876
876
  /* @__PURE__ */ n.jsx(
@@ -898,7 +898,7 @@ const pr = F(() => Promise.resolve().then(() => Pr)), cr = F(() => Promise.resol
898
898
  ),
899
899
  children: [
900
900
  f.enabled && /* @__PURE__ */ n.jsx(
901
- X,
901
+ Y,
902
902
  {
903
903
  className: l("w-full desktop:max-w-[216px]", i == null ? void 0 : i.primary),
904
904
  size: "lg",
@@ -907,7 +907,7 @@ const pr = F(() => Promise.resolve().then(() => Pr)), cr = F(() => Promise.resol
907
907
  }
908
908
  ),
909
909
  (b == null ? void 0 : b.enabled) && /* @__PURE__ */ n.jsx(
910
- X,
910
+ Y,
911
911
  {
912
912
  intent: "secondary",
913
913
  className: l("w-full desktop:max-w-[216px]", i == null ? void 0 : i.secondary),
@@ -925,7 +925,7 @@ const pr = F(() => Promise.resolve().then(() => Pr)), cr = F(() => Promise.resol
925
925
  ),
926
926
  c && (o == null ? void 0 : o.enabled) && g
927
927
  ] });
928
- }, Je = ({
928
+ }, Ge = ({
929
929
  headTitle: t,
930
930
  subtitle: e,
931
931
  buttonsConfig: r,
@@ -939,13 +939,15 @@ const pr = F(() => Promise.resolve().then(() => Pr)), cr = F(() => Promise.resol
939
939
  }) => {
940
940
  var j, g;
941
941
  const { isMobile: p } = ee(), { primary: c, secondary: f } = r || {}, b = (N) => h ? h(N) : /* @__PURE__ */ n.jsx("img", { ...N });
942
- return /* @__PURE__ */ n.jsxs("section", { id: y.banner, "data-test-id": y.banner, className: l("", i == null ? void 0 : i.root), children: [
943
- /* @__PURE__ */ n.jsxs(
944
- P,
945
- {
946
- style: { backgroundColor: m ?? "#d9edff" },
947
- className: l("relative bg-banner-skyblue-300 desktop:h-[456px]", i == null ? void 0 : i.container),
948
- children: [
942
+ return /* @__PURE__ */ n.jsxs(
943
+ "section",
944
+ {
945
+ id: y.banner,
946
+ style: { backgroundColor: m ?? "#d9edff" },
947
+ "data-test-id": y.banner,
948
+ className: l("", i == null ? void 0 : i.root),
949
+ children: [
950
+ /* @__PURE__ */ n.jsxs(F, { className: l("relative desktop:h-[456px]", i == null ? void 0 : i.container), children: [
949
951
  /* @__PURE__ */ n.jsxs("div", { className: l("flex flex-col desktop:flex-row desktop:justify-between", i == null ? void 0 : i.wrapper), children: [
950
952
  /* @__PURE__ */ n.jsxs("div", { className: "flex flex-col desktop:gap-10 desktop:pt-20", children: [
951
953
  /* @__PURE__ */ n.jsxs("div", { className: l("flex flex-col gap-4 pt-6 desktop:pt-0", i == null ? void 0 : i.textBlock), children: [
@@ -974,7 +976,7 @@ const pr = F(() => Promise.resolve().then(() => Pr)), cr = F(() => Promise.resol
974
976
  ),
975
977
  children: [
976
978
  c.enabled && /* @__PURE__ */ n.jsx(
977
- X,
979
+ Y,
978
980
  {
979
981
  className: l("w-full desktop:max-w-[216px]", i == null ? void 0 : i.primary),
980
982
  size: "lg",
@@ -983,7 +985,7 @@ const pr = F(() => Promise.resolve().then(() => Pr)), cr = F(() => Promise.resol
983
985
  }
984
986
  ),
985
987
  (f == null ? void 0 : f.enabled) && /* @__PURE__ */ n.jsx(
986
- X,
988
+ Y,
987
989
  {
988
990
  intent: "secondary",
989
991
  className: l("w-full desktop:max-w-[216px]", i == null ? void 0 : i.secondary),
@@ -1016,33 +1018,33 @@ const pr = F(() => Promise.resolve().then(() => Pr)), cr = F(() => Promise.resol
1016
1018
  children: (o == null ? void 0 : o.details) && ((j = o == null ? void 0 : o.details) == null ? void 0 : j.items.length) > 0 && /* @__PURE__ */ n.jsx(Te, { ...o })
1017
1019
  }
1018
1020
  )
1019
- ]
1020
- }
1021
- ),
1022
- (o == null ? void 0 : o.enabled) && /* @__PURE__ */ n.jsx(
1023
- "div",
1024
- {
1025
- className: l(
1026
- "flex items-center justify-center rounded-md px-4 pb-8 pt-4 desktop:absolute desktop:bottom-[-50px] desktop:right-1/2 desktop:hidden desktop:translate-x-1/2 desktop:p-0",
1027
- i == null ? void 0 : i.advantageContainer
1028
- ),
1029
- children: (o == null ? void 0 : o.details) && ((g = o == null ? void 0 : o.details) == null ? void 0 : g.items.length) > 0 && /* @__PURE__ */ n.jsx(Te, { ...o })
1030
- }
1031
- )
1032
- ] });
1033
- }, Ge = ({ variant: t, ...e }) => {
1021
+ ] }),
1022
+ (o == null ? void 0 : o.enabled) && /* @__PURE__ */ n.jsx(
1023
+ "div",
1024
+ {
1025
+ className: l(
1026
+ "flex items-center justify-center bg-color-white px-4 pb-8 pt-4 desktop:absolute desktop:bottom-[-50px] desktop:right-1/2 desktop:hidden desktop:translate-x-1/2 desktop:p-0",
1027
+ i == null ? void 0 : i.advantageContainer
1028
+ ),
1029
+ children: (o == null ? void 0 : o.details) && ((g = o == null ? void 0 : o.details) == null ? void 0 : g.items.length) > 0 && /* @__PURE__ */ n.jsx(Te, { ...o })
1030
+ }
1031
+ )
1032
+ ]
1033
+ }
1034
+ );
1035
+ }, et = ({ variant: t, ...e }) => {
1034
1036
  switch (t) {
1035
1037
  case "separateImg":
1036
- return /* @__PURE__ */ n.jsx(Je, { ...e });
1038
+ return /* @__PURE__ */ n.jsx(Ge, { ...e });
1037
1039
  case "fullImg":
1038
1040
  return /* @__PURE__ */ n.jsx(Br, { ...e });
1039
1041
  default:
1040
- return /* @__PURE__ */ n.jsx(Je, { ...e });
1042
+ return /* @__PURE__ */ n.jsx(Ge, { ...e });
1041
1043
  }
1042
1044
  }, Pr = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
1043
1045
  __proto__: null,
1044
- Banner: Ge,
1045
- default: Ge
1046
+ Banner: et,
1047
+ default: et
1046
1048
  }, Symbol.toStringTag, { value: "Module" })), Te = ({ details: t, classes: e }) => {
1047
1049
  const { variant: r, items: o } = t ?? {};
1048
1050
  return /* @__PURE__ */ n.jsx(
@@ -1063,7 +1065,7 @@ const pr = F(() => Promise.resolve().then(() => Pr)), cr = F(() => Promise.resol
1063
1065
  e == null ? void 0 : e.item
1064
1066
  ),
1065
1067
  children: [
1066
- /* @__PURE__ */ n.jsx(L, { as: "h4", className: l("text-color-dark", e == null ? void 0 : e.title), children: i }),
1068
+ /* @__PURE__ */ n.jsx(Q, { as: "h4", className: l("text-color-dark", e == null ? void 0 : e.title), children: i }),
1067
1069
  /* @__PURE__ */ n.jsx("p", { className: l("desk-body-regular-l text-color-secondary", e == null ? void 0 : e.description), children: a })
1068
1070
  ]
1069
1071
  },
@@ -1081,7 +1083,7 @@ const pr = F(() => Promise.resolve().then(() => Pr)), cr = F(() => Promise.resol
1081
1083
  },
1082
1084
  o
1083
1085
  )) }), Rr = ({ phones: t, classes: e }) => /* @__PURE__ */ n.jsx("div", { className: l("flex flex-col gap-4 desktop:items-end", e == null ? void 0 : e.phonesRoot), children: t == null ? void 0 : t.map(({ phone: r, text: o }) => /* @__PURE__ */ n.jsx(
1084
- gt,
1086
+ jt,
1085
1087
  {
1086
1088
  phone: ve(r),
1087
1089
  text: o,
@@ -1175,7 +1177,7 @@ const pr = F(() => Promise.resolve().then(() => Pr)), cr = F(() => Promise.resol
1175
1177
  }
1176
1178
  )
1177
1179
  ] });
1178
- }, et = ({
1180
+ }, tt = ({
1179
1181
  socialsLinks: t,
1180
1182
  phones: e,
1181
1183
  ligal: r,
@@ -1189,7 +1191,7 @@ const pr = F(() => Promise.resolve().then(() => Pr)), cr = F(() => Promise.resol
1189
1191
  id: y.footer,
1190
1192
  "data-test-id": y.footer,
1191
1193
  className: l("w-full bg-color-footer py-8 desktop:py-10", i == null ? void 0 : i.root),
1192
- children: /* @__PURE__ */ n.jsx(P, { className: l(i == null ? void 0 : i.footerContainer), children: /* @__PURE__ */ n.jsxs("div", { className: l("mobile:pb-[176px]", i == null ? void 0 : i.footerWrapper), children: [
1194
+ children: /* @__PURE__ */ n.jsx(F, { className: l(i == null ? void 0 : i.footerContainer), children: /* @__PURE__ */ n.jsxs("div", { className: l("mobile:pb-[176px]", i == null ? void 0 : i.footerWrapper), children: [
1193
1195
  /* @__PURE__ */ n.jsxs(
1194
1196
  "div",
1195
1197
  {
@@ -1225,8 +1227,8 @@ const pr = F(() => Promise.resolve().then(() => Pr)), cr = F(() => Promise.resol
1225
1227
  }
1226
1228
  ), $r = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
1227
1229
  __proto__: null,
1228
- Footer: et,
1229
- default: et
1230
+ Footer: tt,
1231
+ default: tt
1230
1232
  }, Symbol.toStringTag, { value: "Module" })), Ar = ({ classes: t, index: e, variant: r, title: o, description: i }) => {
1231
1233
  const a = r === "withTitleAndDescription" && o;
1232
1234
  return /* @__PURE__ */ n.jsxs(
@@ -1266,8 +1268,8 @@ const pr = F(() => Promise.resolve().then(() => Pr)), cr = F(() => Promise.resol
1266
1268
  ]
1267
1269
  }
1268
1270
  );
1269
- }, tt = ({ headline: t, details: e, variant: r, classes: o }) => /* @__PURE__ */ n.jsx("section", { id: y.stepper, "data-test-id": y.stepper, className: o == null ? void 0 : o.root, children: /* @__PURE__ */ n.jsx(P, { className: o == null ? void 0 : o.container, children: /* @__PURE__ */ n.jsxs("div", { className: l("flex flex-col gap-6 desktop:items-start desktop:gap-12", o == null ? void 0 : o.wrapper), children: [
1270
- /* @__PURE__ */ n.jsx(L, { as: "h2", className: l("text-color-dark", o == null ? void 0 : o.headline), children: t }),
1271
+ }, rt = ({ headline: t, details: e, variant: r, classes: o }) => /* @__PURE__ */ n.jsx("section", { id: y.stepper, "data-test-id": y.stepper, className: o == null ? void 0 : o.root, children: /* @__PURE__ */ n.jsx(F, { className: o == null ? void 0 : o.container, children: /* @__PURE__ */ n.jsxs("div", { className: l("flex flex-col gap-6 desktop:items-start desktop:gap-12", o == null ? void 0 : o.wrapper), children: [
1272
+ /* @__PURE__ */ n.jsx(Q, { as: "h2", className: l("text-color-dark", o == null ? void 0 : o.headline), children: t }),
1271
1273
  /* @__PURE__ */ n.jsx(
1272
1274
  "div",
1273
1275
  {
@@ -1280,8 +1282,8 @@ const pr = F(() => Promise.resolve().then(() => Pr)), cr = F(() => Promise.resol
1280
1282
  )
1281
1283
  ] }) }) }), Ur = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
1282
1284
  __proto__: null,
1283
- Stepper: tt,
1284
- default: tt
1285
+ Stepper: rt,
1286
+ default: rt
1285
1287
  }, Symbol.toStringTag, { value: "Module" })), qr = E("", {
1286
1288
  variants: {
1287
1289
  intent: {
@@ -1381,7 +1383,7 @@ const pr = F(() => Promise.resolve().then(() => Pr)), cr = F(() => Promise.resol
1381
1383
  ] }),
1382
1384
  /* @__PURE__ */ n.jsx("div", { className: l("mob-body-regular-l text-color-secondary"), dangerouslySetInnerHTML: { __html: o } })
1383
1385
  ] }) });
1384
- }, Me = ({ intent: t, headline: e, desktopHidden: r = !1, mobileHidden: o = !1 }) => /* @__PURE__ */ n.jsx("h2", { className: l(qr({ intent: t, desktopHidden: r, mobileHidden: o })), children: e }), Yr = ({ details: t, intent: e, withButton: r }) => /* @__PURE__ */ n.jsx("ul", { className: l(Wr({ intent: e, withButton: r })), children: t == null ? void 0 : t.map((o, i) => /* @__PURE__ */ n.jsx(Xr, { intent: e, data: o }, i)) }), rt = ({
1386
+ }, Me = ({ intent: t, headline: e, desktopHidden: r = !1, mobileHidden: o = !1 }) => /* @__PURE__ */ n.jsx("h2", { className: l(qr({ intent: t, desktopHidden: r, mobileHidden: o })), children: e }), Yr = ({ details: t, intent: e, withButton: r }) => /* @__PURE__ */ n.jsx("ul", { className: l(Wr({ intent: e, withButton: r })), children: t == null ? void 0 : t.map((o, i) => /* @__PURE__ */ n.jsx(Xr, { intent: e, data: o }, i)) }), nt = ({
1385
1387
  headline: t,
1386
1388
  buttonConfig: e,
1387
1389
  intent: r = "twoItems",
@@ -1390,7 +1392,7 @@ const pr = F(() => Promise.resolve().then(() => Pr)), cr = F(() => Promise.resol
1390
1392
  classes: a
1391
1393
  }) => {
1392
1394
  const d = r === "fourItems", u = r === "twoItems", m = i && "url" in i && v.isObject(i) ? /* @__PURE__ */ n.jsx("img", { className: "w-full object-contain", alt: i.alt, src: i.url }) : i;
1393
- return /* @__PURE__ */ n.jsx("section", { id: y.longBanner, "data-test-id": y.longBanner, className: l(a == null ? void 0 : a.root), children: /* @__PURE__ */ n.jsxs(P, { className: l(a == null ? void 0 : a.container), children: [
1395
+ return /* @__PURE__ */ n.jsx("section", { id: y.longBanner, "data-test-id": y.longBanner, className: l(a == null ? void 0 : a.root), children: /* @__PURE__ */ n.jsxs(F, { className: l(a == null ? void 0 : a.container), children: [
1394
1396
  u && /* @__PURE__ */ n.jsx(Me, { intent: r, headline: t }),
1395
1397
  /* @__PURE__ */ n.jsxs(
1396
1398
  "div",
@@ -1410,7 +1412,7 @@ const pr = F(() => Promise.resolve().then(() => Pr)), cr = F(() => Promise.resol
1410
1412
  d && /* @__PURE__ */ n.jsx(Me, { intent: r, headline: t, mobileHidden: !0 }),
1411
1413
  /* @__PURE__ */ n.jsx(Yr, { details: o, intent: r, withButton: (e == null ? void 0 : e.enabled) ?? !1 }),
1412
1414
  (e == null ? void 0 : e.enabled) && e && /* @__PURE__ */ n.jsx(
1413
- X,
1415
+ Y,
1414
1416
  {
1415
1417
  className: l("w-full px-4 desktop:w-max", a == null ? void 0 : a.button),
1416
1418
  size: "lg",
@@ -1427,8 +1429,8 @@ const pr = F(() => Promise.resolve().then(() => Pr)), cr = F(() => Promise.resol
1427
1429
  ] }) });
1428
1430
  }, Jr = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
1429
1431
  __proto__: null,
1430
- LongBanner: rt,
1431
- default: rt
1432
+ LongBanner: nt,
1433
+ default: nt
1432
1434
  }, Symbol.toStringTag, { value: "Module" })), _e = {
1433
1435
  ESIA: "esia",
1434
1436
  MOBILE_ID: "mobileId",
@@ -1511,7 +1513,7 @@ const pr = F(() => Promise.resolve().then(() => Pr)), cr = F(() => Promise.resol
1511
1513
  children: e == null ? void 0 : e.text
1512
1514
  }
1513
1515
  )
1514
- ] }), nt = ({ mainLink: t, subLink: e, isLoading: r, badge: o, loaderProps: i, classes: a }) => {
1516
+ ] }), ot = ({ mainLink: t, subLink: e, isLoading: r, badge: o, loaderProps: i, classes: a }) => {
1515
1517
  const { isMobile: d } = ee();
1516
1518
  return /* @__PURE__ */ n.jsx(Ct, { isLoading: r, loaderProps: i, classes: a == null ? void 0 : a.authWrapper, children: /* @__PURE__ */ n.jsxs(
1517
1519
  "div",
@@ -1535,7 +1537,7 @@ const pr = F(() => Promise.resolve().then(() => Pr)), cr = F(() => Promise.resol
1535
1537
  ]
1536
1538
  }
1537
1539
  ) });
1538
- }, ot = ({ mainLink: t, subLink: e, isLoading: r, badge: o, loaderProps: i, classes: a }) => {
1540
+ }, it = ({ mainLink: t, subLink: e, isLoading: r, badge: o, loaderProps: i, classes: a }) => {
1539
1541
  const { isMobile: d } = ee();
1540
1542
  return /* @__PURE__ */ n.jsx(Ct, { isLoading: r, loaderProps: i, classes: a == null ? void 0 : a.authWrapper, children: /* @__PURE__ */ n.jsxs(
1541
1543
  "div",
@@ -1558,9 +1560,9 @@ const pr = F(() => Promise.resolve().then(() => Pr)), cr = F(() => Promise.resol
1558
1560
  }, en = (t) => {
1559
1561
  switch (t.mode) {
1560
1562
  case _e.ESIA:
1561
- return /* @__PURE__ */ n.jsx(ot, { ...t });
1563
+ return /* @__PURE__ */ n.jsx(it, { ...t });
1562
1564
  case _e.MOBILE_ID:
1563
- return /* @__PURE__ */ n.jsx(nt, { ...t });
1565
+ return /* @__PURE__ */ n.jsx(ot, { ...t });
1564
1566
  case _e.COMBINE:
1565
1567
  default:
1566
1568
  const { esiaConfig: e, mobileIdConfig: r, subtitle: o, badge: i, classes: a } = t, d = !o && !i ? me.Fragment : "div";
@@ -1578,7 +1580,7 @@ const pr = F(() => Promise.resolve().then(() => Pr)), cr = F(() => Promise.resol
1578
1580
  ] }),
1579
1581
  /* @__PURE__ */ n.jsxs("div", { className: l("grid w-full grid-cols-2 gap-2 desktop:gap-4", a == null ? void 0 : a.authWrapper), children: [
1580
1582
  /* @__PURE__ */ n.jsx(
1581
- ot,
1583
+ it,
1582
1584
  {
1583
1585
  ...e,
1584
1586
  classes: {
@@ -1589,7 +1591,7 @@ const pr = F(() => Promise.resolve().then(() => Pr)), cr = F(() => Promise.resol
1589
1591
  }
1590
1592
  ),
1591
1593
  /* @__PURE__ */ n.jsx(
1592
- nt,
1594
+ ot,
1593
1595
  {
1594
1596
  ...r,
1595
1597
  classes: {
@@ -1604,7 +1606,7 @@ const pr = F(() => Promise.resolve().then(() => Pr)), cr = F(() => Promise.resol
1604
1606
  }
1605
1607
  );
1606
1608
  }
1607
- }, Do = (t) => en(t), it = ({ links: t, classes: e }) => /* @__PURE__ */ n.jsx("nav", { className: l("flex flex-col gap-1", e == null ? void 0 : e.linksWrapper), children: t == null ? void 0 : t.map(({ path: r, label: o }) => /* @__PURE__ */ n.jsx(
1609
+ }, Do = (t) => en(t), at = ({ links: t, classes: e }) => /* @__PURE__ */ n.jsx("nav", { className: l("flex flex-col gap-1", e == null ? void 0 : e.linksWrapper), children: t == null ? void 0 : t.map(({ path: r, label: o }) => /* @__PURE__ */ n.jsx(
1608
1610
  ye,
1609
1611
  {
1610
1612
  classes: {
@@ -1622,7 +1624,7 @@ const pr = F(() => Promise.resolve().then(() => Pr)), cr = F(() => Promise.resol
1622
1624
  return /* @__PURE__ */ n.jsxs("div", { className: l("flex flex-col gap-2", o == null ? void 0 : o.columnGroup), children: [
1623
1625
  !i && /* @__PURE__ */ n.jsxs(n.Fragment, { children: [
1624
1626
  /* @__PURE__ */ n.jsx("h5", { className: l("mob-body-medium-l text-color-dark desktop:desk-body-medium-l", o == null ? void 0 : o.columnGroupHeading), children: t }),
1625
- /* @__PURE__ */ n.jsx(it, { links: e, classes: o == null ? void 0 : o.linksList }, "desktop")
1627
+ /* @__PURE__ */ n.jsx(at, { links: e, classes: o == null ? void 0 : o.linksList }, "desktop")
1626
1628
  ] }),
1627
1629
  i && /* @__PURE__ */ n.jsx(
1628
1630
  ae,
@@ -1638,7 +1640,7 @@ const pr = F(() => Promise.resolve().then(() => Pr)), cr = F(() => Promise.resol
1638
1640
  },
1639
1641
  contentInner: l("py-2 px-4", (u = r == null ? void 0 : r.classes) == null ? void 0 : u.contentInner)
1640
1642
  },
1641
- children: /* @__PURE__ */ n.jsx(it, { links: e, classes: o == null ? void 0 : o.linksList }, "mobile")
1643
+ children: /* @__PURE__ */ n.jsx(at, { links: e, classes: o == null ? void 0 : o.linksList }, "mobile")
1642
1644
  }
1643
1645
  )
1644
1646
  ] });
@@ -1653,7 +1655,7 @@ const pr = F(() => Promise.resolve().then(() => Pr)), cr = F(() => Promise.resol
1653
1655
  defaultVariants: {
1654
1656
  variant: "fourCols"
1655
1657
  }
1656
- }), at = ({
1658
+ }), lt = ({
1657
1659
  variant: t,
1658
1660
  details: e,
1659
1661
  headline: r,
@@ -1669,11 +1671,11 @@ const pr = F(() => Promise.resolve().then(() => Pr)), cr = F(() => Promise.resol
1669
1671
  id: y.interLinking,
1670
1672
  "data-test-id": y.interLinking,
1671
1673
  className: l("min-w-full desktop:min-w-[1140px]", a == null ? void 0 : a.root),
1672
- children: /* @__PURE__ */ n.jsx(P, { children: /* @__PURE__ */ n.jsx(
1674
+ children: /* @__PURE__ */ n.jsx(F, { children: /* @__PURE__ */ n.jsx(
1673
1675
  ae,
1674
1676
  {
1675
1677
  defaultOpen: d,
1676
- label: /* @__PURE__ */ n.jsx(L, { as: "h4", className: l("text-left", a == null ? void 0 : a.headline), children: r }),
1678
+ label: /* @__PURE__ */ n.jsx(Q, { as: "h4", className: l("text-left", a == null ? void 0 : a.headline), children: r }),
1677
1679
  ...i,
1678
1680
  classes: {
1679
1681
  ...i == null ? void 0 : i.classes,
@@ -1689,8 +1691,8 @@ const pr = F(() => Promise.resolve().then(() => Pr)), cr = F(() => Promise.resol
1689
1691
  );
1690
1692
  }, on = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
1691
1693
  __proto__: null,
1692
- InterLinking: at,
1693
- default: at
1694
+ InterLinking: lt,
1695
+ default: lt
1694
1696
  }, Symbol.toStringTag, { value: "Module" })), an = ({ tabsNames: t, activeTab: e, setActiveTab: r, classes: o }) => /* @__PURE__ */ n.jsx("div", { className: l("hidden-scroll flex items-center gap-4 overflow-x-auto p-[6px]", o == null ? void 0 : o.tabs), children: t && t.map((i, a) => /* @__PURE__ */ n.jsx(
1695
1697
  "button",
1696
1698
  {
@@ -1812,7 +1814,7 @@ const pr = F(() => Promise.resolve().then(() => Pr)), cr = F(() => Promise.resol
1812
1814
  classes: m
1813
1815
  }) => {
1814
1816
  const h = /* @__PURE__ */ n.jsxs("div", { className: l(xn({ columnsVariant: r }), m == null ? void 0 : m.wrapper), children: [
1815
- a && /* @__PURE__ */ n.jsx(L, { as: "h4", className: l("mb-4 desktop:mb-6", m == null ? void 0 : m.headline), children: a }),
1817
+ a && /* @__PURE__ */ n.jsx(Q, { as: "h4", className: l("mb-4 desktop:mb-6", m == null ? void 0 : m.headline), children: a }),
1816
1818
  /* @__PURE__ */ n.jsx(jn, { tableVariant: t, rows: i, headings: d, columnsVariant: r }),
1817
1819
  e && /* @__PURE__ */ n.jsx(
1818
1820
  "div",
@@ -1860,7 +1862,7 @@ const pr = F(() => Promise.resolve().then(() => Pr)), cr = F(() => Promise.resol
1860
1862
  }
1861
1863
  ), Nn = ({ docs: t, config: e, title: r, iconType: o, description: i, classes: a, accordionConfig: d }) => {
1862
1864
  const u = /* @__PURE__ */ n.jsxs("div", { className: l("flex max-w-[680px] flex-col", a == null ? void 0 : a.wrapper), children: [
1863
- r && /* @__PURE__ */ n.jsx(L, { as: "h3", className: "mb-4", children: r }),
1865
+ r && /* @__PURE__ */ n.jsx(Q, { as: "h3", className: "mb-4", children: r }),
1864
1866
  /* @__PURE__ */ n.jsx("div", { className: l("flex flex-col gap-4", a == null ? void 0 : a.documentsWrapper), children: t == null ? void 0 : t.map((m) => /* @__PURE__ */ n.jsx(vn, { iconType: o, ...m, classes: a == null ? void 0 : a.singleDocument }, m.label)) }),
1865
1867
  i && /* @__PURE__ */ n.jsx("div", { className: l("mt-4", a == null ? void 0 : a.description), dangerouslySetInnerHTML: { __html: i ?? "" } })
1866
1868
  ] });
@@ -1902,21 +1904,21 @@ const pr = F(() => Promise.resolve().then(() => Pr)), cr = F(() => Promise.resol
1902
1904
  default:
1903
1905
  return null;
1904
1906
  }
1905
- }, Mn = ({ entity: t, classes: e, accordionsConfig: r }) => /* @__PURE__ */ n.jsx("div", { className: l("flex flex-col gap-6", e == null ? void 0 : e.entityWrapper), children: Cn({ entity: t, classes: e, accordionsConfig: r }) }), lt = ({ headline: t, tabs: e, classes: r, accordionsConfig: o }) => {
1907
+ }, Mn = ({ entity: t, classes: e, accordionsConfig: r }) => /* @__PURE__ */ n.jsx("div", { className: l("flex flex-col gap-6", e == null ? void 0 : e.entityWrapper), children: Cn({ entity: t, classes: e, accordionsConfig: r }) }), dt = ({ headline: t, tabs: e, classes: r, accordionsConfig: o }) => {
1906
1908
  var u, m;
1907
1909
  const [i, a] = D(0), d = we(() => e == null ? void 0 : e.map((h) => h == null ? void 0 : h.tabName), [e]) ?? [];
1908
- return !e || (e == null ? void 0 : e.length) === 0 ? null : /* @__PURE__ */ n.jsx("section", { id: y.usefulInfo, "data-test-id": y.usefulInfo, className: l(r == null ? void 0 : r.root), children: /* @__PURE__ */ n.jsxs(P, { className: l(r == null ? void 0 : r.container), children: [
1909
- /* @__PURE__ */ n.jsx(L, { className: l(r == null ? void 0 : r.headline), as: "h2", children: t }),
1910
+ return !e || (e == null ? void 0 : e.length) === 0 ? null : /* @__PURE__ */ n.jsx("section", { id: y.usefulInfo, "data-test-id": y.usefulInfo, className: l(r == null ? void 0 : r.root), children: /* @__PURE__ */ n.jsxs(F, { className: l(r == null ? void 0 : r.container), children: [
1911
+ /* @__PURE__ */ n.jsx(Q, { className: l(r == null ? void 0 : r.headline), as: "h2", children: t }),
1910
1912
  /* @__PURE__ */ n.jsx("div", { className: l("mt-6 flex flex-col gap-2 desktop:mt-12", r == null ? void 0 : r.tabsWrapper), children: /* @__PURE__ */ n.jsx(an, { tabsNames: d, activeTab: i, setActiveTab: a, classes: r == null ? void 0 : r.tabs }) }),
1911
1913
  /* @__PURE__ */ n.jsx("div", { className: l("mt-6 flex flex-col gap-6", r == null ? void 0 : r.contentWrapper), children: (m = (u = e == null ? void 0 : e[i]) == null ? void 0 : u.contents) == null ? void 0 : m.map((h, p) => /* @__PURE__ */ n.jsx(Mn, { accordionsConfig: o, ...h, classes: r == null ? void 0 : r.entityClasses }, p)) })
1912
1914
  ] }) });
1913
1915
  }, _n = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
1914
1916
  __proto__: null,
1915
- UsefulInfo: lt,
1916
- default: lt
1917
- }, Symbol.toStringTag, { value: "Module" })), He = ({ fields: t, control: e }) => t.map(({ type: r, args: o }) => {
1918
- const i = jt[r];
1919
- return /* @__PURE__ */ kt(i, { ...o, key: o.name, control: e });
1917
+ UsefulInfo: dt,
1918
+ default: dt
1919
+ }, Symbol.toStringTag, { value: "Module" })), ze = ({ fields: t, control: e }) => t.map(({ type: r, args: o }) => {
1920
+ const i = yt[r];
1921
+ return /* @__PURE__ */ Be(i, { ...o, key: o.name, control: e });
1920
1922
  });
1921
1923
  class In {
1922
1924
  constructor(e) {
@@ -2045,7 +2047,7 @@ class Oe {
2045
2047
  const u = this.parseNode(d);
2046
2048
  u && a.push(u);
2047
2049
  }
2048
- return kt(o, i, ...a);
2050
+ return Be(o, i, ...a);
2049
2051
  }
2050
2052
  return null;
2051
2053
  }
@@ -2081,7 +2083,7 @@ const Sn = ({ promises: t }) => {
2081
2083
  if (!v.isFunction(o))
2082
2084
  throw new Error(`Cannot generate ${String(e)} because is not a function`);
2083
2085
  return o(r);
2084
- }, Bn = (t, e) => _t(wt.base, t, e), Pn = (t, e) => _t(wt.dadata, t, e), ze = (t) => {
2086
+ }, Bn = (t, e) => _t(wt.base, t, e), Pn = (t, e) => _t(wt.dadata, t, e), Le = (t) => {
2085
2087
  const r = ((t == null ? void 0 : t.map((o) => ({ name: o.args.name, validation: o.args.validation }))) ?? []).reduce((o, i) => {
2086
2088
  const a = Fn.includes(i.validation.type) ? Pn(
2087
2089
  i.validation.type,
@@ -2106,32 +2108,30 @@ const Sn = ({ promises: t }) => {
2106
2108
  /* @__PURE__ */ n.jsx(ie, { html: t.content, as: "div", className: o == null ? void 0 : o.content })
2107
2109
  ]
2108
2110
  }
2109
- ), dt = ({
2111
+ ), ut = ({
2110
2112
  fields: t,
2111
2113
  title: e,
2112
2114
  progress: r,
2113
2115
  approvement: o,
2114
2116
  chips: i,
2115
2117
  submitProps: a,
2116
- classes: d
2118
+ classes: d,
2119
+ buttonGroup: u
2117
2120
  }) => {
2118
- var $, M;
2119
- const { submitCallback: u, ...m } = a || {}, [h, p] = D(!1), c = ze(t), f = Re.getZodDefaults(c), { control: b, handleSubmit: j } = De({
2121
+ var U, M;
2122
+ const { submitCallback: m } = a || {}, [h, p] = D(!1), c = Le(t), f = He.getZodDefaults(c), { control: b, handleSubmit: j } = Re({
2120
2123
  schema: c,
2121
2124
  defaultValues: f,
2122
2125
  mode: "onBlur"
2123
- }), g = En(r, t), N = ir({ control: b, fields: g || [], schema: c }), I = (O) => {
2124
- u && u({ ...O, agree: h }), console.warn(O);
2126
+ }), g = En(r, t), N = ir({ control: b, fields: g || [], schema: c }), T = (_) => {
2127
+ m && m({ ..._, agree: h }), console.warn(_);
2125
2128
  };
2126
- return /* @__PURE__ */ n.jsx(It, { children: /* @__PURE__ */ n.jsxs(
2127
- "div",
2129
+ return /* @__PURE__ */ n.jsx(It, { children: /* @__PURE__ */ n.jsx("section", { id: y.form, "data-test-id": y.form, className: l("w-full", d == null ? void 0 : d.root), children: /* @__PURE__ */ n.jsxs(
2130
+ F,
2128
2131
  {
2129
- id: y.form,
2130
- "data-test-id": y.form,
2131
2132
  className: l(
2132
2133
  "border-warm-grey-200 px-4 desktop:gap-8 desktop:p-14",
2133
- "relative mx-auto flex w-max flex-col gap-6 rounded-sm border py-8",
2134
- d == null ? void 0 : d.root
2134
+ "relative mx-auto flex flex-col gap-6 rounded-sm py-8 desktop:border"
2135
2135
  ),
2136
2136
  children: [
2137
2137
  i.enabled && /* @__PURE__ */ n.jsxs(
@@ -2141,7 +2141,7 @@ const Sn = ({ promises: t }) => {
2141
2141
  "desk-body-regular-l flex items-center gap-x-2 rounded-sm desktop:absolute",
2142
2142
  "bg-color-blue-grey-100 px-2 py-1 text-color-tetriary",
2143
2143
  "right-4 top-4 w-max",
2144
- ($ = d == null ? void 0 : d.chips) == null ? void 0 : $.root
2144
+ (U = d == null ? void 0 : d.chips) == null ? void 0 : U.root
2145
2145
  ),
2146
2146
  children: [
2147
2147
  i.image && /* @__PURE__ */ n.jsx(s, { name: i.image, className: l("size-4", (M = d == null ? void 0 : d.chips) == null ? void 0 : M.icon) }),
@@ -2149,12 +2149,12 @@ const Sn = ({ promises: t }) => {
2149
2149
  ]
2150
2150
  }
2151
2151
  ),
2152
- /* @__PURE__ */ n.jsx(L, { as: "h3", className: d == null ? void 0 : d.title, children: e }),
2152
+ /* @__PURE__ */ n.jsx(Q, { as: "h3", className: d == null ? void 0 : d.title, children: e }),
2153
2153
  /* @__PURE__ */ n.jsxs(
2154
2154
  "form",
2155
2155
  {
2156
- onSubmit: j(I),
2157
- className: l("flex w-[328px] flex-col gap-y-6", "desktop:w-[524px] desktop:gap-y-8", d == null ? void 0 : d.form),
2156
+ onSubmit: j(T),
2157
+ className: l("flex w-full flex-col gap-y-6", "desktop:gap-y-8", d == null ? void 0 : d.form),
2158
2158
  children: [
2159
2159
  r.enabled && /* @__PURE__ */ n.jsx(
2160
2160
  Kt,
@@ -2166,36 +2166,38 @@ const Sn = ({ promises: t }) => {
2166
2166
  classes: d == null ? void 0 : d.progressBar
2167
2167
  }
2168
2168
  ),
2169
- /* @__PURE__ */ n.jsx(He, { control: b, fields: t }),
2170
- /* @__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: [
2169
+ /* @__PURE__ */ n.jsx(ze, { control: b, fields: t }),
2170
+ /* @__PURE__ */ n.jsxs("div", { className: "mob-body-regular-m flex flex-col items-start justify-center gap-4", children: [
2171
2171
  Rn(o, h, p, d == null ? void 0 : d.approvement),
2172
- /* @__PURE__ */ n.jsx(
2173
- je,
2174
- {
2175
- ...m,
2176
- type: "submit",
2177
- disabled: o.type === "checkbox" ? !h : !1,
2178
- className: l(
2179
- "w-full whitespace-nowrap",
2180
- {
2181
- "w-full desktop:w-[216px]": !!o
2182
- },
2183
- d == null ? void 0 : d.submit
2184
- ),
2185
- children: "Отправить форму"
2186
- }
2187
- )
2172
+ /* @__PURE__ */ n.jsx("div", { className: "flex w-full flex-col items-center justify-center gap-4 desktop:flex-row", children: u.map((_, R) => {
2173
+ const V = _.type === "submit" && o.type === "checkbox" ? !h : !1;
2174
+ return /* @__PURE__ */ Be(
2175
+ je,
2176
+ {
2177
+ ..._,
2178
+ key: R,
2179
+ disabled: V,
2180
+ className: l(
2181
+ "w-full whitespace-nowrap",
2182
+ {
2183
+ "w-full": !!o
2184
+ },
2185
+ d == null ? void 0 : d.submit
2186
+ )
2187
+ }
2188
+ );
2189
+ }) })
2188
2190
  ] })
2189
2191
  ]
2190
2192
  }
2191
2193
  )
2192
2194
  ]
2193
2195
  }
2194
- ) });
2196
+ ) }) });
2195
2197
  }, Hn = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
2196
2198
  __proto__: null,
2197
- DynamicForm: dt,
2198
- default: dt
2199
+ DynamicForm: ut,
2200
+ default: ut
2199
2201
  }, Symbol.toStringTag, { value: "Module" })), zn = (t, e, r, o) => t.type === "off" ? null : t.type === "text" ? /* @__PURE__ */ n.jsx(ie, { html: t.message, as: "div", className: o == null ? void 0 : o.content }) : /* @__PURE__ */ n.jsxs(
2200
2202
  "label",
2201
2203
  {
@@ -2209,7 +2211,7 @@ const Sn = ({ promises: t }) => {
2209
2211
  /* @__PURE__ */ n.jsx(ie, { html: t.content, as: "div", className: o == null ? void 0 : o.content })
2210
2212
  ]
2211
2213
  }
2212
- ), ut = ({
2214
+ ), mt = ({
2213
2215
  fields: t,
2214
2216
  title: e,
2215
2217
  approvement: r,
@@ -2218,22 +2220,22 @@ const Sn = ({ promises: t }) => {
2218
2220
  classes: a,
2219
2221
  ...d
2220
2222
  }) => {
2221
- const { submitCallback: u, children: m, ...h } = o ?? {}, [p, c] = D(!1), f = ze(t), b = Re.getZodDefaults(f), { control: j, handleSubmit: g } = De({
2223
+ const { submitCallback: u, children: m, ...h } = o ?? {}, [p, c] = D(!1), f = Le(t), b = He.getZodDefaults(f), { control: j, handleSubmit: g } = Re({
2222
2224
  schema: f,
2223
2225
  defaultValues: b,
2224
2226
  mode: "onBlur"
2225
- }), N = (I) => {
2226
- u && u({ ...I, agree: p });
2227
+ }), N = (T) => {
2228
+ u && u({ ...T, agree: p });
2227
2229
  };
2228
2230
  return /* @__PURE__ */ n.jsx(It, { children: /* @__PURE__ */ n.jsx(Zt, { id: i, title: e, ...d, children: /* @__PURE__ */ n.jsxs("form", { onSubmit: g(N), className: "flex flex-col gap-6", children: [
2229
- /* @__PURE__ */ n.jsx(He, { control: j, fields: t }),
2231
+ /* @__PURE__ */ n.jsx(ze, { control: j, fields: t }),
2230
2232
  zn(r, p, c, a == null ? void 0 : a.approvement),
2231
2233
  /* @__PURE__ */ n.jsx(je, { ...h, type: "submit", disabled: r.type === "checkbox" ? !p : !1, className: "w-full", children: m ?? "Отправить форму" })
2232
2234
  ] }) }) });
2233
2235
  }, Ln = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
2234
2236
  __proto__: null,
2235
- DynamicFormDialog: ut,
2236
- default: ut
2237
+ DynamicFormDialog: mt,
2238
+ default: mt
2237
2239
  }, Symbol.toStringTag, { value: "Module" })), ue = () => ({
2238
2240
  approve: {
2239
2241
  icon: {
@@ -2295,7 +2297,7 @@ const Sn = ({ promises: t }) => {
2295
2297
  text: "Вернуться на главную"
2296
2298
  }
2297
2299
  }
2298
- }), Ro = ({ status: t, navigationFn: e }) => /* @__PURE__ */ n.jsx("div", { className: "flex flex-col", children: /* @__PURE__ */ n.jsx(P, { 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: [
2300
+ }), Ro = ({ status: t, navigationFn: e }) => /* @__PURE__ */ n.jsx("div", { className: "flex flex-col", children: /* @__PURE__ */ n.jsx(F, { 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: [
2299
2301
  /* @__PURE__ */ n.jsx(
2300
2302
  "span",
2301
2303
  {
@@ -2307,7 +2309,7 @@ const Sn = ({ promises: t }) => {
2307
2309
  }
2308
2310
  ),
2309
2311
  /* @__PURE__ */ n.jsxs("div", { className: "flex flex-col items-center gap-2 text-center desktop:gap-6", children: [
2310
- /* @__PURE__ */ n.jsx(L, { as: "h2", children: ue()[t].title }),
2312
+ /* @__PURE__ */ n.jsx(Q, { as: "h2", children: ue()[t].title }),
2311
2313
  /* @__PURE__ */ n.jsx("p", { className: "desk-body-regular-l text-color-dark", children: ue()[t].description })
2312
2314
  ] }),
2313
2315
  /* @__PURE__ */ n.jsx(je, { size: "lg", className: "w-full max-w-[328px] desktop:desk-body-regular-l desktop:w-[256px]", onClick: e, children: ue()[t].button.text })
@@ -2322,7 +2324,7 @@ const Sn = ({ promises: t }) => {
2322
2324
  if (i) {
2323
2325
  const p = {
2324
2326
  index: 0,
2325
- id: We(),
2327
+ id: Ke(),
2326
2328
  path: "/",
2327
2329
  label: "home"
2328
2330
  };
@@ -2334,7 +2336,7 @@ const Sn = ({ promises: t }) => {
2334
2336
  // while root enabled we need to increment index
2335
2337
  // cuz we have root breadcrumb
2336
2338
  index: i ? c + 1 : c,
2337
- id: We(),
2339
+ id: Ke(),
2338
2340
  path: h,
2339
2341
  label: p
2340
2342
  };
@@ -2359,7 +2361,7 @@ const Sn = ({ promises: t }) => {
2359
2361
  a !== t.length - 1 && e
2360
2362
  ] }, i.id);
2361
2363
  }), Vn = ({ separator: t, ellipsis: e, classes: r, ...o }) => {
2362
- const [i, a] = D(!1), d = Be(null);
2364
+ const [i, a] = D(!1), d = Pe(null);
2363
2365
  nr(d, () => a(!1));
2364
2366
  const u = Qn(o), { first: m, middle: h, last: p } = we(() => {
2365
2367
  let f = [], b = [], j = [];
@@ -2526,10 +2528,10 @@ const $n = (t, e) => {
2526
2528
  ]
2527
2529
  }
2528
2530
  );
2529
- }), Zn = Pe(Kn), Xn = ({ categories: t }) => {
2530
- const [e, r] = D(null), o = yt((a) => {
2531
+ }), Zn = De(Kn), Xn = ({ categories: t }) => {
2532
+ const [e, r] = D(null), o = kt((a) => {
2531
2533
  r(a);
2532
- }, []), i = Be(null);
2534
+ }, []), i = Pe(null);
2533
2535
  return /* @__PURE__ */ n.jsx(Xt, { mode: "sync", children: /* @__PURE__ */ n.jsxs(
2534
2536
  "div",
2535
2537
  {
@@ -2551,7 +2553,7 @@ const $n = (t, e) => {
2551
2553
  ]
2552
2554
  }
2553
2555
  ) });
2554
- }, Yn = Pe(Xn), Jn = ({
2556
+ }, Yn = De(Xn), Jn = ({
2555
2557
  category: t,
2556
2558
  selectedCategory: e,
2557
2559
  onCurrentCategoryChange: r,
@@ -2730,7 +2732,7 @@ const $n = (t, e) => {
2730
2732
  );
2731
2733
  }, no = ({ categories: t, helpers: e, phone: r }) => {
2732
2734
  var m, h, p;
2733
- const o = Be(null), i = (m = o.current) == null ? void 0 : m.getBoundingClientRect(), [a, d] = D(!1), u = () => d(!a);
2735
+ const o = Pe(null), i = (m = o.current) == null ? void 0 : m.getBoundingClientRect(), [a, d] = D(!1), u = () => d(!a);
2734
2736
  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: [
2735
2737
  /* @__PURE__ */ n.jsx(s, { name: "brandLogos/logoMain", className: "w-[130px]" }),
2736
2738
  /* @__PURE__ */ n.jsx("button", { type: "button", onClick: u, className: "h-max w-max", children: /* @__PURE__ */ n.jsx(s, { name: a ? "general/close" : "general/menu", className: "size-6 text-color-primary-default" }) }),
@@ -2750,7 +2752,7 @@ const $n = (t, e) => {
2750
2752
  ((p = (h = document.body.querySelector("#modal-preview")) == null ? void 0 : h.contentDocument) == null ? void 0 : p.body) ?? document.body
2751
2753
  )
2752
2754
  ] });
2753
- }, mt = ({ categories: t, helpers: e, phone: r }) => {
2755
+ }, ht = ({ categories: t, helpers: e, phone: r }) => {
2754
2756
  const { isMobile: o } = ee();
2755
2757
  return /* @__PURE__ */ n.jsxs("div", { id: y.seoHeader, "data-test-id": y.seoHeader, className: "mx-auto w-full max-w-[1440px]", children: [
2756
2758
  o ? /* @__PURE__ */ n.jsx(no, { categories: t.map((i) => i.children).flat(), helpers: e, phone: r }) : /* @__PURE__ */ n.jsx(Gn, { categories: t, helpers: e, phone: r }),
@@ -2764,8 +2766,8 @@ const $n = (t, e) => {
2764
2766
  ] });
2765
2767
  }, oo = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
2766
2768
  __proto__: null,
2767
- SeoHeader: mt,
2768
- default: mt
2769
+ SeoHeader: ht,
2770
+ default: ht
2769
2771
  }, Symbol.toStringTag, { value: "Module" })), Ot = (t) => typeof t != "string" && "formula" in t, St = (t, e) => {
2770
2772
  let r = e;
2771
2773
  const o = {
@@ -2789,14 +2791,14 @@ const $n = (t, e) => {
2789
2791
  default:
2790
2792
  return St(t, Number(e));
2791
2793
  }
2792
- }, ao = (t) => Object.values(t).reduce((r, o) => r.merge(ze(o.fields)), vt({})), lo = (t, e) => (t.match(/[a-zA-Z_$][a-zA-Z0-9_$]*/g) || []).filter((i) => !(i in e)).length > 0 ? "" : t, Et = (t, e) => {
2794
+ }, ao = (t) => Object.values(t).reduce((r, o) => r.merge(Le(o.fields)), vt({})), lo = (t, e) => (t.match(/[a-zA-Z_$][a-zA-Z0-9_$]*/g) || []).filter((i) => !(i in e)).length > 0 ? "" : t, Et = (t, e) => {
2793
2795
  const r = Object.entries(e).map(([m, h]) => [m, v.isNil(h) ? "1" : h]), o = r.map(([m]) => m), i = r.map(([, m]) => m), a = lo(t, Object.fromEntries(r)), u = new Function(...o, `return ${a};`)(...i.map(Number));
2794
2796
  return Number.isNaN(Number(u)) ? "0" : u.toString();
2795
2797
  }, uo = (t, e) => t.map((r) => ({
2796
2798
  ...r,
2797
2799
  value: Ot(r.value) ? Et(r.value.formula, e) : r.value
2798
2800
  })), mo = ({ subtitle: t, title: e }) => /* @__PURE__ */ n.jsx(n.Fragment, { children: (e || t) && /* @__PURE__ */ n.jsxs("div", { className: "flex flex-col gap-2", children: [
2799
- e && /* @__PURE__ */ n.jsx(L, { as: "h3", children: e }),
2801
+ e && /* @__PURE__ */ n.jsx(Q, { as: "h3", children: e }),
2800
2802
  t && /* @__PURE__ */ n.jsx("div", { className: "desk-body-regular-l text-color-dark", children: t })
2801
2803
  ] }) }), ho = ({ rootDescription: t, rootValue: e, suffix: r }) => /* @__PURE__ */ n.jsxs("div", { className: "mb-6 flex items-center justify-between gap-6", children: [
2802
2804
  /* @__PURE__ */ n.jsx("p", { className: "desk-body-regular-l text-color-dark", children: t }),
@@ -2834,7 +2836,7 @@ const $n = (t, e) => {
2834
2836
  r && /* @__PURE__ */ n.jsx(Se, { withCloseBtn: !1, triggerElement: /* @__PURE__ */ n.jsx(s, { name: "info/helpCircle", className: "size-5 text-icon-blue-grey-600" }), children: /* @__PURE__ */ n.jsx("p", { children: r }) })
2835
2837
  ] }), fo = ({ assistHint: t, buttonsConfig: e, bottomDescription: r }) => /* @__PURE__ */ n.jsxs("div", { children: [
2836
2838
  t && /* @__PURE__ */ n.jsx(co, { ...t }),
2837
- /* @__PURE__ */ n.jsx("div", { className: l("flex items-center gap-4 mobile:flex-col"), children: e == null ? void 0 : e.map((o, i) => /* @__PURE__ */ n.jsx(X, { className: "w-full", ...o }, i)) }),
2839
+ /* @__PURE__ */ n.jsx("div", { className: l("flex items-center gap-4 mobile:flex-col"), children: e == null ? void 0 : e.map((o, i) => /* @__PURE__ */ n.jsx(Y, { className: "w-full", ...o }, i)) }),
2838
2840
  r && /* @__PURE__ */ n.jsx("p", { className: "desk-body-regular-m mt-4 text-color-secondary", children: r })
2839
2841
  ] }), bo = ({
2840
2842
  rootDescription: t,
@@ -2855,7 +2857,7 @@ const $n = (t, e) => {
2855
2857
  slidersGroupConfig: t,
2856
2858
  additionalSliderGroupConfig: e
2857
2859
  }) => {
2858
- const [r, o] = D(!1), { watch: i, setValue: a } = Ne(), d = t == null ? void 0 : t.fields.find(({ args: I }) => I.name === "sum"), { args: u } = d || {}, { max: m, name: h, defaultValue: p } = u || {}, c = i(h), { min: f, name: b } = (e == null ? void 0 : e.args) ?? {}, j = i(b), g = Number(m ?? 0) - (c ?? p);
2860
+ const [r, o] = D(!1), { watch: i, setValue: a } = Ne(), d = t == null ? void 0 : t.fields.find(({ args: T }) => T.name === "sum"), { args: u } = d || {}, { max: m, name: h, defaultValue: p } = u || {}, c = i(h), { min: f, name: b } = (e == null ? void 0 : e.args) ?? {}, j = i(b), g = Number(m ?? 0) - (c ?? p);
2859
2861
  return ge(() => {
2860
2862
  j > g && a(b, g);
2861
2863
  }, [g, j, a, c]), ge(() => {
@@ -2869,7 +2871,7 @@ const $n = (t, e) => {
2869
2871
  sumValue: c,
2870
2872
  additionalSliderMax: g,
2871
2873
  onCheckedChange: () => {
2872
- o((I) => !I), j <= 0 && a(b, f), Number(m) === c && (a(h ?? "", c - so), a(b, f));
2874
+ o((T) => !T), j <= 0 && a(b, f), Number(m) === c && (a(h ?? "", c - so), a(b, f));
2873
2875
  },
2874
2876
  sliderSumExist: !v.isObjectEmpty(d == null ? void 0 : d.args),
2875
2877
  sliderSumCorrectType: (d == null ? void 0 : d.args.componentType) === "algorithmic" || (d == null ? void 0 : d.args.componentType) === "step"
@@ -2897,7 +2899,7 @@ const $n = (t, e) => {
2897
2899
  ] });
2898
2900
  }, J = ({ fields: t }) => {
2899
2901
  const { control: e } = Ne();
2900
- return /* @__PURE__ */ n.jsx(He, { control: e, fields: t });
2902
+ return /* @__PURE__ */ n.jsx(ze, { control: e, fields: t });
2901
2903
  }, yo = ({
2902
2904
  slidersGroupConfig: t,
2903
2905
  additionalSliderGroupConfig: e
@@ -2912,7 +2914,7 @@ const $n = (t, e) => {
2912
2914
  /* @__PURE__ */ n.jsx("p", { className: "desk-body-regular-l", children: "Хочу получить деньги дополнительно" })
2913
2915
  ] }),
2914
2916
  o && /* @__PURE__ */ n.jsx(
2915
- jt.SliderControl,
2917
+ yt.SliderControl,
2916
2918
  {
2917
2919
  ...e.args,
2918
2920
  control: r,
@@ -2946,7 +2948,7 @@ const $n = (t, e) => {
2946
2948
  }
2947
2949
  )
2948
2950
  ] });
2949
- }, wo = Pe(({ calculatorTabs: t, activeCalculator: e, setActiveCalculator: r }) => /* @__PURE__ */ n.jsx("div", { className: "mb-8 flex items-center gap-4", children: t == null ? void 0 : t.map(({ name: o, label: i }) => /* @__PURE__ */ n.jsx(
2951
+ }, wo = De(({ calculatorTabs: t, activeCalculator: e, setActiveCalculator: r }) => /* @__PURE__ */ n.jsx("div", { className: "mb-8 flex items-center gap-4", children: t == null ? void 0 : t.map(({ name: o, label: i }) => /* @__PURE__ */ n.jsx(
2950
2952
  "button",
2951
2953
  {
2952
2954
  onClick: () => r(o),
@@ -2961,20 +2963,20 @@ const $n = (t, e) => {
2961
2963
  calculatorInfoConfig: t,
2962
2964
  calculatorFieldsConfig: e
2963
2965
  }) => {
2964
- const r = ao(e == null ? void 0 : e.fieldsGroup), o = De({
2966
+ const r = ao(e == null ? void 0 : e.fieldsGroup), o = Re({
2965
2967
  schema: r,
2966
2968
  mode: "onBlur",
2967
- defaultValues: Re.getZodDefaults(r)
2969
+ defaultValues: He.getZodDefaults(r)
2968
2970
  }), i = o.watch(), { rootValue: a } = t, d = Ot(a) ? Et(a.formula, i) : a, u = { ...t, rootValue: d };
2969
2971
  return /* @__PURE__ */ n.jsx(or, { ...o, children: /* @__PURE__ */ n.jsxs("div", { className: "flex items-start gap-16", children: [
2970
2972
  /* @__PURE__ */ n.jsx(ko, { ...e }),
2971
2973
  /* @__PURE__ */ n.jsx(bo, { ...u })
2972
2974
  ] }) });
2973
- }, ht = ({ calculators: t, headline: e }) => {
2975
+ }, xt = ({ calculators: t, headline: e }) => {
2974
2976
  var m;
2975
2977
  const r = t.length > 1, [o, i] = D(r ? (m = t[0]) == null ? void 0 : m.name : ""), a = we(() => t == null ? void 0 : t.map(({ name: h, label: p }) => ({ name: h, label: p })), [t]), d = r ? a == null ? void 0 : a.findIndex((h) => h.name === o) : 0, u = t[d];
2976
- return /* @__PURE__ */ n.jsx("section", { id: y.calculator, children: /* @__PURE__ */ n.jsx(P, { children: /* @__PURE__ */ n.jsxs("div", { className: "rounded-md bg-color-white px-10 py-12 shadow-md", children: [
2977
- /* @__PURE__ */ n.jsx(L, { className: "mb-12", as: "h2", children: e }),
2978
+ return /* @__PURE__ */ n.jsx("section", { id: y.calculator, children: /* @__PURE__ */ n.jsx(F, { children: /* @__PURE__ */ n.jsxs("div", { className: "rounded-md bg-color-white px-10 py-12 shadow-md", children: [
2979
+ /* @__PURE__ */ n.jsx(Q, { className: "mb-12", as: "h2", children: e }),
2978
2980
  r && /* @__PURE__ */ n.jsx(
2979
2981
  wo,
2980
2982
  {
@@ -2995,33 +2997,33 @@ const $n = (t, e) => {
2995
2997
  ] }) }) });
2996
2998
  }, No = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
2997
2999
  __proto__: null,
2998
- Calculator: ht,
2999
- default: ht
3000
+ Calculator: xt,
3001
+ default: xt
3000
3002
  }, Symbol.toStringTag, { value: "Module" }));
3001
3003
  export {
3002
3004
  Te as Advantages,
3003
3005
  Do as AuthProvider,
3004
- Ge as Banner,
3005
- Je as BannerWithSeparateImg,
3006
- Xe as Benefit,
3006
+ et as Banner,
3007
+ Ge as BannerWithSeparateImg,
3008
+ Ye as Benefit,
3007
3009
  Vn as Breadcrumbs,
3008
- X as ButtonWithHandlers,
3009
- ht as Calculator,
3010
+ Y as ButtonWithHandlers,
3011
+ xt as Calculator,
3010
3012
  vo as CalculatorView,
3011
- dt as DynamicForm,
3012
- ut as DynamicFormDialog,
3013
+ ut as DynamicForm,
3014
+ mt as DynamicFormDialog,
3013
3015
  Ro as FallbacksView,
3014
- He as FieldMapper,
3015
- et as Footer,
3016
+ ze as FieldMapper,
3017
+ tt as Footer,
3016
3018
  On as HTMLParser,
3017
3019
  ie as HTMLRenderer,
3018
- Ye as Header,
3019
- at as InterLinking,
3020
+ Je as Header,
3021
+ lt as InterLinking,
3020
3022
  Mr as KEYS_OF_WIDGET_LIST,
3021
- rt as LongBanner,
3022
- mt as SeoHeader,
3023
- tt as Stepper,
3024
- lt as UsefulInfo,
3023
+ nt as LongBanner,
3024
+ ht as SeoHeader,
3025
+ rt as Stepper,
3026
+ dt as UsefulInfo,
3025
3027
  Cr as WIDGET_LIST_MAP,
3026
3028
  Dn as queryClient,
3027
3029
  y as widgetIds