@scbt-ecom/ui 0.62.0 → 0.63.0
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/{index-DzIu8nCP.js → index-9RerNC5J.js} +9 -4
- package/dist/{index-DzIu8nCP.js.map → index-9RerNC5J.js.map} +1 -1
- package/dist/ui.js +2 -2
- package/dist/widget.js +181 -172
- package/dist/widget.js.map +1 -1
- package/dist/widgets/banner/Banner.d.ts +4 -19
- package/dist/widgets/banner/model/types.d.ts +18 -4
- package/dist/widgets/banner/ui/index.d.ts +0 -1
- package/dist/widgets/benefit/model/types.d.ts +1 -0
- package/dist/widgets/longBanner/LongBanner.d.ts +3 -12
- package/dist/widgets/longBanner/model/types.d.ts +12 -0
- package/package.json +1 -1
- package/dist/widgets/banner/ui/BannerButtonsGroup.d.ts +0 -13
package/dist/widget.js
CHANGED
|
@@ -4,22 +4,22 @@ var It = (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
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
|
|
8
|
-
var
|
|
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) ? 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 ht = (e, t, r, n) => ({
|
|
9
9
|
set _(i) {
|
|
10
10
|
y(e, t, i, r);
|
|
11
11
|
},
|
|
12
12
|
get _() {
|
|
13
|
-
return
|
|
13
|
+
return h(e, t, n);
|
|
14
14
|
}
|
|
15
15
|
});
|
|
16
|
-
import { S as Vt, w as Wt, Q as le, x as
|
|
16
|
+
import { S as Vt, w as Wt, Q as le, x as E, y as Et, 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 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-9RerNC5J.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
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 Y, c as
|
|
22
|
+
import { a as Y, c as Ee, b as Me } 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,54 +43,54 @@ var F, zt, Be = (zt = class extends Vt {
|
|
|
43
43
|
}), this.add(l)), l;
|
|
44
44
|
}
|
|
45
45
|
add(t) {
|
|
46
|
-
|
|
46
|
+
h(this, F).has(t.queryHash) || (h(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 =
|
|
53
|
-
r && (t.destroy(), r === 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 }));
|
|
54
54
|
}
|
|
55
55
|
clear() {
|
|
56
|
-
|
|
56
|
+
E.batch(() => {
|
|
57
57
|
this.getAll().forEach((t) => {
|
|
58
58
|
this.remove(t);
|
|
59
59
|
});
|
|
60
60
|
});
|
|
61
61
|
}
|
|
62
62
|
get(t) {
|
|
63
|
-
return
|
|
63
|
+
return h(this, F).get(t);
|
|
64
64
|
}
|
|
65
65
|
getAll() {
|
|
66
|
-
return [...
|
|
66
|
+
return [...h(this, F).values()];
|
|
67
67
|
}
|
|
68
68
|
find(t) {
|
|
69
69
|
const r = { exact: !0, ...t };
|
|
70
70
|
return this.getAll().find(
|
|
71
|
-
(n) =>
|
|
71
|
+
(n) => Et(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) =>
|
|
76
|
+
return Object.keys(t).length > 0 ? r.filter((n) => Et(t, n)) : r;
|
|
77
77
|
}
|
|
78
78
|
notify(t) {
|
|
79
|
-
|
|
79
|
+
E.batch(() => {
|
|
80
80
|
this.listeners.forEach((r) => {
|
|
81
81
|
r(t);
|
|
82
82
|
});
|
|
83
83
|
});
|
|
84
84
|
}
|
|
85
85
|
onFocus() {
|
|
86
|
-
|
|
86
|
+
E.batch(() => {
|
|
87
87
|
this.getAll().forEach((t) => {
|
|
88
88
|
t.onFocus();
|
|
89
89
|
});
|
|
90
90
|
});
|
|
91
91
|
}
|
|
92
92
|
onOnline() {
|
|
93
|
-
|
|
93
|
+
E.batch(() => {
|
|
94
94
|
this.getAll().forEach((t) => {
|
|
95
95
|
t.onOnline();
|
|
96
96
|
});
|
|
@@ -112,29 +112,29 @@ var F, zt, Be = (zt = class extends Vt {
|
|
|
112
112
|
return this.options.meta;
|
|
113
113
|
}
|
|
114
114
|
addObserver(t) {
|
|
115
|
-
|
|
115
|
+
h(this, B).includes(t) || (h(this, B).push(t), this.clearGcTimeout(), h(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,
|
|
122
|
+
y(this, B, h(this, B).filter((r) => r !== t)), this.scheduleGc(), h(this, I).notify({
|
|
123
123
|
type: "observerRemoved",
|
|
124
124
|
mutation: this,
|
|
125
125
|
observer: t
|
|
126
126
|
});
|
|
127
127
|
}
|
|
128
128
|
optionalRemove() {
|
|
129
|
-
|
|
129
|
+
h(this, B).length || (this.state.status === "pending" ? this.scheduleGc() : h(this, I).remove(this));
|
|
130
130
|
}
|
|
131
131
|
continue() {
|
|
132
132
|
var t;
|
|
133
|
-
return ((t =
|
|
133
|
+
return ((t = h(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,
|
|
137
|
+
var i, d, l, u, p, m, x, f, b, v, N, T, _, K, D, s, O, Q, $, pt;
|
|
138
138
|
y(this, X, pe({
|
|
139
139
|
fn: () => this.options.mutationFn ? this.options.mutationFn(t) : Promise.reject(new Error("No mutationFn found")),
|
|
140
140
|
onFail: (w, Z) => {
|
|
@@ -149,12 +149,12 @@ var F, zt, Be = (zt = class extends Vt {
|
|
|
149
149
|
retry: this.options.retry ?? 0,
|
|
150
150
|
retryDelay: this.options.retryDelay,
|
|
151
151
|
networkMode: this.options.networkMode,
|
|
152
|
-
canRun: () =>
|
|
152
|
+
canRun: () => h(this, I).canRun(this)
|
|
153
153
|
}));
|
|
154
|
-
const r = this.state.status === "pending", n = !
|
|
154
|
+
const r = this.state.status === "pending", n = !h(this, X).canStart();
|
|
155
155
|
try {
|
|
156
156
|
if (!r) {
|
|
157
|
-
z(this, R, q).call(this, { type: "pending", variables: t, isPaused: n }), await ((d = (i =
|
|
157
|
+
z(this, R, q).call(this, { type: "pending", variables: t, isPaused: n }), await ((d = (i = h(this, I).config).onMutate) == null ? void 0 : d.call(
|
|
158
158
|
i,
|
|
159
159
|
t,
|
|
160
160
|
this
|
|
@@ -167,14 +167,14 @@ var F, zt, Be = (zt = class extends Vt {
|
|
|
167
167
|
isPaused: n
|
|
168
168
|
});
|
|
169
169
|
}
|
|
170
|
-
const w = await
|
|
171
|
-
return await ((
|
|
170
|
+
const w = await h(this, X).start();
|
|
171
|
+
return await ((m = (p = h(this, I).config).onSuccess) == null ? void 0 : m.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 =
|
|
177
|
+
)), await ((f = (x = this.options).onSuccess) == null ? void 0 : f.call(x, w, t, this.state.context)), await ((v = (b = h(this, I).config).onSettled) == null ? void 0 : v.call(
|
|
178
178
|
b,
|
|
179
179
|
w,
|
|
180
180
|
null,
|
|
@@ -184,7 +184,7 @@ var F, zt, Be = (zt = class extends Vt {
|
|
|
184
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 ((K = (_ =
|
|
187
|
+
throw await ((K = (_ = h(this, I).config).onError) == null ? void 0 : K.call(
|
|
188
188
|
_,
|
|
189
189
|
w,
|
|
190
190
|
t,
|
|
@@ -195,7 +195,7 @@ var F, zt, Be = (zt = class extends Vt {
|
|
|
195
195
|
w,
|
|
196
196
|
t,
|
|
197
197
|
this.state.context
|
|
198
|
-
)), await ((Q = (O =
|
|
198
|
+
)), await ((Q = (O = h(this, I).config).onSettled) == null ? void 0 : Q.call(
|
|
199
199
|
O,
|
|
200
200
|
void 0,
|
|
201
201
|
w,
|
|
@@ -213,7 +213,7 @@ var F, zt, Be = (zt = class extends Vt {
|
|
|
213
213
|
z(this, R, q).call(this, { type: "error", error: w });
|
|
214
214
|
}
|
|
215
215
|
} finally {
|
|
216
|
-
|
|
216
|
+
h(this, I).runNext(this);
|
|
217
217
|
}
|
|
218
218
|
}
|
|
219
219
|
}, B = new WeakMap(), I = new WeakMap(), X = new WeakMap(), R = new WeakSet(), q = function(t) {
|
|
@@ -270,10 +270,10 @@ var F, zt, Be = (zt = class extends Vt {
|
|
|
270
270
|
};
|
|
271
271
|
}
|
|
272
272
|
};
|
|
273
|
-
this.state = r(this.state),
|
|
274
|
-
|
|
273
|
+
this.state = r(this.state), E.batch(() => {
|
|
274
|
+
h(this, B).forEach((n) => {
|
|
275
275
|
n.onMutationUpdate(t);
|
|
276
|
-
}),
|
|
276
|
+
}), h(this, I).notify({
|
|
277
277
|
mutation: this,
|
|
278
278
|
type: "updated",
|
|
279
279
|
action: t
|
|
@@ -304,39 +304,39 @@ var L, S, ut, At, _e = (At = class extends Vt {
|
|
|
304
304
|
build(t, r, n) {
|
|
305
305
|
const i = new Re({
|
|
306
306
|
mutationCache: this,
|
|
307
|
-
mutationId: ++
|
|
307
|
+
mutationId: ++ht(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
|
-
|
|
315
|
-
const r =
|
|
314
|
+
h(this, L).add(t);
|
|
315
|
+
const r = mt(t);
|
|
316
316
|
if (typeof r == "string") {
|
|
317
|
-
const n =
|
|
318
|
-
n ? n.push(t) :
|
|
317
|
+
const n = h(this, S).get(r);
|
|
318
|
+
n ? n.push(t) : h(this, S).set(r, [t]);
|
|
319
319
|
}
|
|
320
320
|
this.notify({ type: "added", mutation: t });
|
|
321
321
|
}
|
|
322
322
|
remove(t) {
|
|
323
|
-
if (
|
|
324
|
-
const r =
|
|
323
|
+
if (h(this, L).delete(t)) {
|
|
324
|
+
const r = mt(t);
|
|
325
325
|
if (typeof r == "string") {
|
|
326
|
-
const n =
|
|
326
|
+
const n = h(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 &&
|
|
331
|
+
} else n[0] === t && h(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 =
|
|
337
|
+
const r = mt(t);
|
|
338
338
|
if (typeof r == "string") {
|
|
339
|
-
const n =
|
|
339
|
+
const n = h(this, S).get(r), i = n == null ? void 0 : n.find(
|
|
340
340
|
(d) => d.state.status === "pending"
|
|
341
341
|
);
|
|
342
342
|
return !i || i === t;
|
|
@@ -345,34 +345,34 @@ var L, S, ut, At, _e = (At = class extends Vt {
|
|
|
345
345
|
}
|
|
346
346
|
runNext(t) {
|
|
347
347
|
var n;
|
|
348
|
-
const r =
|
|
348
|
+
const r = mt(t);
|
|
349
349
|
if (typeof r == "string") {
|
|
350
|
-
const i = (n =
|
|
350
|
+
const i = (n = h(this, S).get(r)) == null ? void 0 : n.find((d) => d !== t && d.state.isPaused);
|
|
351
351
|
return (i == null ? void 0 : i.continue()) ?? Promise.resolve();
|
|
352
352
|
} else
|
|
353
353
|
return Promise.resolve();
|
|
354
354
|
}
|
|
355
355
|
clear() {
|
|
356
|
-
|
|
357
|
-
|
|
356
|
+
E.batch(() => {
|
|
357
|
+
h(this, L).forEach((t) => {
|
|
358
358
|
this.notify({ type: "removed", mutation: t });
|
|
359
|
-
}),
|
|
359
|
+
}), h(this, L).clear(), h(this, S).clear();
|
|
360
360
|
});
|
|
361
361
|
}
|
|
362
362
|
getAll() {
|
|
363
|
-
return Array.from(
|
|
363
|
+
return Array.from(h(this, L));
|
|
364
364
|
}
|
|
365
365
|
find(t) {
|
|
366
366
|
const r = { exact: !0, ...t };
|
|
367
367
|
return this.getAll().find(
|
|
368
|
-
(n) =>
|
|
368
|
+
(n) => Mt(r, n)
|
|
369
369
|
);
|
|
370
370
|
}
|
|
371
371
|
findAll(t = {}) {
|
|
372
|
-
return this.getAll().filter((r) =>
|
|
372
|
+
return this.getAll().filter((r) => Mt(t, r));
|
|
373
373
|
}
|
|
374
374
|
notify(t) {
|
|
375
|
-
|
|
375
|
+
E.batch(() => {
|
|
376
376
|
this.listeners.forEach((r) => {
|
|
377
377
|
r(t);
|
|
378
378
|
});
|
|
@@ -380,14 +380,14 @@ var L, 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
|
|
383
|
+
return E.batch(
|
|
384
384
|
() => Promise.all(
|
|
385
385
|
t.map((r) => r.continue().catch(P))
|
|
386
386
|
)
|
|
387
387
|
);
|
|
388
388
|
}
|
|
389
389
|
}, L = new WeakMap(), S = new WeakMap(), ut = new WeakMap(), At);
|
|
390
|
-
function
|
|
390
|
+
function mt(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
|
|
400
|
+
const m = async () => {
|
|
401
401
|
let T = !1;
|
|
402
402
|
const _ = (s) => {
|
|
403
403
|
Object.defineProperty(s, "signal", {
|
|
@@ -406,7 +406,7 @@ function Ht(e) {
|
|
|
406
406
|
T = !0;
|
|
407
407
|
}), t.signal)
|
|
408
408
|
});
|
|
409
|
-
}, K =
|
|
409
|
+
}, K = he(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)
|
|
@@ -421,7 +421,7 @@ function Ht(e) {
|
|
|
421
421
|
_($);
|
|
422
422
|
const pt = await K(
|
|
423
423
|
$
|
|
424
|
-
), { maxPages: w } = t.options, Z = Q ?
|
|
424
|
+
), { maxPages: w } = t.options, Z = Q ? me : xe;
|
|
425
425
|
return {
|
|
426
426
|
pages: Z(s.pages, pt, w),
|
|
427
427
|
pageParams: Z(s.pageParams, O, w)
|
|
@@ -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
|
-
|
|
451
|
+
m,
|
|
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 =
|
|
460
|
+
} : t.fetchFn = m;
|
|
461
461
|
}
|
|
462
462
|
};
|
|
463
463
|
}
|
|
@@ -487,47 +487,47 @@ var g, A, U, tt, et, V, rt, nt, Ut, Le = (Ut = class {
|
|
|
487
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
|
-
|
|
491
|
-
e && (await this.resumePausedMutations(),
|
|
490
|
+
ht(this, V)._++, h(this, V) === 1 && (y(this, rt, fe.subscribe(async (e) => {
|
|
491
|
+
e && (await this.resumePausedMutations(), h(this, g).onFocus());
|
|
492
492
|
})), y(this, nt, Ot.subscribe(async (e) => {
|
|
493
|
-
e && (await this.resumePausedMutations(),
|
|
493
|
+
e && (await this.resumePausedMutations(), h(this, g).onOnline());
|
|
494
494
|
})));
|
|
495
495
|
}
|
|
496
496
|
unmount() {
|
|
497
497
|
var e, t;
|
|
498
|
-
|
|
498
|
+
ht(this, V)._--, h(this, V) === 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));
|
|
499
499
|
}
|
|
500
500
|
isFetching(e) {
|
|
501
|
-
return
|
|
501
|
+
return h(this, g).findAll({ ...e, fetchStatus: "fetching" }).length;
|
|
502
502
|
}
|
|
503
503
|
isMutating(e) {
|
|
504
|
-
return
|
|
504
|
+
return h(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 =
|
|
509
|
+
return (r = h(this, g).get(t.queryHash)) == null ? void 0 : r.state.data;
|
|
510
510
|
}
|
|
511
511
|
ensureQueryData(e) {
|
|
512
|
-
const t = this.defaultQueryOptions(e), r =
|
|
512
|
+
const t = this.defaultQueryOptions(e), r = h(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
|
|
516
|
+
return h(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 =
|
|
522
|
+
const n = this.defaultQueryOptions({ queryKey: e }), i = h(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
|
|
526
|
+
return h(this, g).build(this, n).setData(l, { ...r, manual: !0 });
|
|
527
527
|
}
|
|
528
528
|
setQueriesData(e, t, r) {
|
|
529
|
-
return
|
|
530
|
-
() =>
|
|
529
|
+
return E.batch(
|
|
530
|
+
() => h(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, A, U, tt, et, V, rt, nt, Ut, Le = (Ut = class {
|
|
|
536
536
|
getQueryState(e) {
|
|
537
537
|
var r;
|
|
538
538
|
const t = this.defaultQueryOptions({ queryKey: e });
|
|
539
|
-
return (r =
|
|
539
|
+
return (r = h(this, g).get(
|
|
540
540
|
t.queryHash
|
|
541
541
|
)) == null ? void 0 : r.state;
|
|
542
542
|
}
|
|
543
543
|
removeQueries(e) {
|
|
544
|
-
const t =
|
|
545
|
-
|
|
544
|
+
const t = h(this, g);
|
|
545
|
+
E.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 =
|
|
553
|
-
return
|
|
552
|
+
const r = h(this, g);
|
|
553
|
+
return E.batch(() => (r.findAll(e).forEach((n) => {
|
|
554
554
|
n.reset();
|
|
555
555
|
}), this.refetchQueries(
|
|
556
556
|
{
|
|
@@ -561,13 +561,13 @@ var g, A, U, tt, et, V, rt, nt, Ut, Le = (Ut = class {
|
|
|
561
561
|
)));
|
|
562
562
|
}
|
|
563
563
|
cancelQueries(e, t = {}) {
|
|
564
|
-
const r = { revert: !0, ...t }, n =
|
|
565
|
-
() =>
|
|
564
|
+
const r = { revert: !0, ...t }, n = E.batch(
|
|
565
|
+
() => h(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
|
|
570
|
+
return E.batch(() => (h(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, A, U, tt, et, V, rt, nt, Ut, Le = (Ut = class {
|
|
|
581
581
|
const r = {
|
|
582
582
|
...t,
|
|
583
583
|
cancelRefetch: t.cancelRefetch ?? !0
|
|
584
|
-
}, n =
|
|
585
|
-
() =>
|
|
584
|
+
}, n = E.batch(
|
|
585
|
+
() => h(this, g).findAll(e).filter((i) => !i.isDisabled()).map((i) => {
|
|
586
586
|
let d = i.fetch(void 0, r);
|
|
587
587
|
return r.throwOnError || (d = d.catch(P)), i.state.fetchStatus === "paused" ? Promise.resolve() : d;
|
|
588
588
|
})
|
|
@@ -592,7 +592,7 @@ var g, A, U, tt, et, V, rt, nt, Ut, Le = (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 =
|
|
595
|
+
const r = h(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, A, U, tt, et, V, rt, nt, Ut, Le = (Ut = class {
|
|
|
610
610
|
return e.behavior = Ht(e.pages), this.ensureQueryData(e);
|
|
611
611
|
}
|
|
612
612
|
resumePausedMutations() {
|
|
613
|
-
return Ot.isOnline() ?
|
|
613
|
+
return Ot.isOnline() ? h(this, A).resumePausedMutations() : Promise.resolve();
|
|
614
614
|
}
|
|
615
615
|
getQueryCache() {
|
|
616
|
-
return
|
|
616
|
+
return h(this, g);
|
|
617
617
|
}
|
|
618
618
|
getMutationCache() {
|
|
619
|
-
return
|
|
619
|
+
return h(this, A);
|
|
620
620
|
}
|
|
621
621
|
getDefaultOptions() {
|
|
622
|
-
return
|
|
622
|
+
return h(this, U);
|
|
623
623
|
}
|
|
624
624
|
setDefaultOptions(e) {
|
|
625
625
|
y(this, U, e);
|
|
626
626
|
}
|
|
627
627
|
setQueryDefaults(e, t) {
|
|
628
|
-
|
|
628
|
+
h(this, tt).set(Ft(e), {
|
|
629
629
|
queryKey: e,
|
|
630
630
|
defaultOptions: t
|
|
631
631
|
});
|
|
632
632
|
}
|
|
633
633
|
getQueryDefaults(e) {
|
|
634
|
-
const t = [...
|
|
634
|
+
const t = [...h(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
|
-
|
|
640
|
+
h(this, et).set(Ft(e), {
|
|
641
641
|
mutationKey: e,
|
|
642
642
|
defaultOptions: t
|
|
643
643
|
});
|
|
644
644
|
}
|
|
645
645
|
getMutationDefaults(e) {
|
|
646
|
-
const t = [...
|
|
646
|
+
const t = [...h(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, A, U, tt, et, V, rt, nt, Ut, Le = (Ut = class {
|
|
|
652
652
|
if (e._defaulted)
|
|
653
653
|
return e;
|
|
654
654
|
const t = {
|
|
655
|
-
...
|
|
655
|
+
...h(this, U).queries,
|
|
656
656
|
...this.getQueryDefaults(e.queryKey),
|
|
657
657
|
...e,
|
|
658
658
|
_defaulted: !0
|
|
@@ -664,14 +664,14 @@ var g, A, U, tt, et, V, rt, nt, Ut, Le = (Ut = class {
|
|
|
664
664
|
}
|
|
665
665
|
defaultMutationOptions(e) {
|
|
666
666
|
return e != null && e._defaulted ? e : {
|
|
667
|
-
...
|
|
667
|
+
...h(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
|
-
|
|
674
|
+
h(this, g).clear(), h(this, A).clear();
|
|
675
675
|
}
|
|
676
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
677
|
const De = [
|
|
@@ -704,7 +704,7 @@ const De = [
|
|
|
704
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 =
|
|
707
|
+
}, ze = M(
|
|
708
708
|
"flex flex-col justify-between overflow-hidden rounded-md bg-color-blue-grey-100 py-6 desktop:flex-row desktop:px-0 desktop:py-0",
|
|
709
709
|
{
|
|
710
710
|
variants: {
|
|
@@ -726,7 +726,7 @@ const De = [
|
|
|
726
726
|
variant: u,
|
|
727
727
|
color: p
|
|
728
728
|
}) => {
|
|
729
|
-
const { isDesktop:
|
|
729
|
+
const { isDesktop: m } = Y();
|
|
730
730
|
return /* @__PURE__ */ o.jsxs(
|
|
731
731
|
"li",
|
|
732
732
|
{
|
|
@@ -744,14 +744,14 @@ const De = [
|
|
|
744
744
|
}
|
|
745
745
|
)
|
|
746
746
|
] }),
|
|
747
|
-
d &&
|
|
747
|
+
d && m && (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 ||
|
|
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: r.alt }) : r })
|
|
750
750
|
]
|
|
751
751
|
},
|
|
752
752
|
t
|
|
753
753
|
);
|
|
754
|
-
}, Ae =
|
|
754
|
+
}, Ae = M("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",
|
|
@@ -815,7 +815,7 @@ const De = [
|
|
|
815
815
|
color: u
|
|
816
816
|
}) => {
|
|
817
817
|
var T;
|
|
818
|
-
const { isDesktop: p, isMobile:
|
|
818
|
+
const { isDesktop: p, isMobile: m } = 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 De = [
|
|
|
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:
|
|
837
|
+
/* @__PURE__ */ o.jsx("div", { className: "absolute bottom-0 left-0 right-0 top-0 mx-auto h-full max-w-[1920px] desktop:h-[456px]", children: m ? b : v }),
|
|
838
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: [
|
|
@@ -888,7 +888,7 @@ const De = [
|
|
|
888
888
|
]
|
|
889
889
|
}
|
|
890
890
|
),
|
|
891
|
-
|
|
891
|
+
m && (n == null ? void 0 : n.enabled) && N
|
|
892
892
|
] });
|
|
893
893
|
}, Pt = ({
|
|
894
894
|
headTitle: e,
|
|
@@ -901,7 +901,7 @@ const De = [
|
|
|
901
901
|
color: u
|
|
902
902
|
}) => {
|
|
903
903
|
var v, N;
|
|
904
|
-
const { isMobile: p } = Y(), { primary:
|
|
904
|
+
const { isMobile: p } = Y(), { primary: m, secondary: x } = r || {}, f = d && "url" in d && k.isObject(d) ? /* @__PURE__ */ o.jsx("img", { className: "w-full object-contain", alt: d.alt, src: d.url }) : d, b = l && "url" in l && k.isObject(l) ? /* @__PURE__ */ o.jsx("img", { className: "w-full object-contain", alt: l.alt, src: l.url }) : l;
|
|
905
905
|
return /* @__PURE__ */ o.jsxs(o.Fragment, { children: [
|
|
906
906
|
/* @__PURE__ */ o.jsx(
|
|
907
907
|
"section",
|
|
@@ -938,13 +938,13 @@ const De = [
|
|
|
938
938
|
i == null ? void 0 : i.group
|
|
939
939
|
),
|
|
940
940
|
children: [
|
|
941
|
-
|
|
941
|
+
m.enabled && /* @__PURE__ */ o.jsx(
|
|
942
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
|
-
...
|
|
947
|
+
...m.buttonContent
|
|
948
948
|
}
|
|
949
949
|
),
|
|
950
950
|
(x == null ? void 0 : x.enabled) && /* @__PURE__ */ o.jsx(
|
|
@@ -952,14 +952,23 @@ const De = [
|
|
|
952
952
|
{
|
|
953
953
|
intent: "secondary",
|
|
954
954
|
className: a("w-full desktop:max-w-[216px]", i == null ? void 0 : i.secondary),
|
|
955
|
-
...
|
|
955
|
+
...m.buttonContent
|
|
956
956
|
}
|
|
957
957
|
)
|
|
958
958
|
]
|
|
959
959
|
}
|
|
960
960
|
)
|
|
961
961
|
] }),
|
|
962
|
-
/* @__PURE__ */ o.jsx(
|
|
962
|
+
/* @__PURE__ */ o.jsx(
|
|
963
|
+
"div",
|
|
964
|
+
{
|
|
965
|
+
className: a(
|
|
966
|
+
"relative flex h-[356px] justify-center desktop:h-[456px] desktop:w-[550px]",
|
|
967
|
+
i == null ? void 0 : i.imageContainer
|
|
968
|
+
),
|
|
969
|
+
children: p ? f : b
|
|
970
|
+
}
|
|
971
|
+
)
|
|
963
972
|
] }),
|
|
964
973
|
(n == null ? void 0 : n.enabled) && /* @__PURE__ */ o.jsx(
|
|
965
974
|
"div",
|
|
@@ -1225,7 +1234,7 @@ const De = [
|
|
|
1225
1234
|
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))
|
|
1226
1235
|
}
|
|
1227
1236
|
)
|
|
1228
|
-
] }) }) }), tr =
|
|
1237
|
+
] }) }) }), tr = M("", {
|
|
1229
1238
|
variants: {
|
|
1230
1239
|
intent: {
|
|
1231
1240
|
twoItems: "mob-headline-bold-s mb-6 desktop:desk-headline-bold-m desktop:mb-12",
|
|
@@ -1241,7 +1250,7 @@ const De = [
|
|
|
1241
1250
|
defaultVariants: {
|
|
1242
1251
|
intent: "twoItems"
|
|
1243
1252
|
}
|
|
1244
|
-
}), er =
|
|
1253
|
+
}), er = M("", {
|
|
1245
1254
|
variants: {
|
|
1246
1255
|
intent: {
|
|
1247
1256
|
twoItems: "",
|
|
@@ -1273,7 +1282,7 @@ const De = [
|
|
|
1273
1282
|
class: "desktop:grid grid-rows-2 desktop:gap-x-10 desktop:gap-y-4 grid-flow-col"
|
|
1274
1283
|
}
|
|
1275
1284
|
]
|
|
1276
|
-
}), rr =
|
|
1285
|
+
}), rr = M("border-blue-grey-500 pb-6 mobile:mb-6 mobile:border-b mobile:last:pb-0 mobile:last:mb-0", {
|
|
1277
1286
|
variants: {
|
|
1278
1287
|
intent: {
|
|
1279
1288
|
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',
|
|
@@ -1283,7 +1292,7 @@ const De = [
|
|
|
1283
1292
|
defaultVariants: {
|
|
1284
1293
|
intent: "twoItems"
|
|
1285
1294
|
}
|
|
1286
|
-
}), nr =
|
|
1295
|
+
}), nr = M("mobile:mx-auto mobile:mb-8, h-[172px] w-[280px] ", {
|
|
1287
1296
|
variants: {
|
|
1288
1297
|
intent: {
|
|
1289
1298
|
twoItems: "desktop:h-[232px] desktop:w-[500px]",
|
|
@@ -1332,7 +1341,7 @@ const De = [
|
|
|
1332
1341
|
image: i,
|
|
1333
1342
|
classes: d
|
|
1334
1343
|
}) => {
|
|
1335
|
-
const l = r === "fourItems", u = r === "twoItems", p = i && "url" in i && k.isObject(i) ? /* @__PURE__ */ o.jsx("img", { className: "w-full object-contain", alt:
|
|
1344
|
+
const l = r === "fourItems", u = r === "twoItems", p = i && "url" in i && k.isObject(i) ? /* @__PURE__ */ o.jsx("img", { className: "w-full object-contain", alt: i.alt, src: i.url }) : i;
|
|
1336
1345
|
return /* @__PURE__ */ o.jsx("section", { id: j.longBanner, "data-test-id": j.longBanner, className: a(d == null ? void 0 : d.root), children: /* @__PURE__ */ o.jsxs(H, { className: a(d == null ? void 0 : d.container), children: [
|
|
1337
1346
|
u && /* @__PURE__ */ o.jsx(jt, { intent: r, headline: e }),
|
|
1338
1347
|
/* @__PURE__ */ o.jsxs(
|
|
@@ -1581,7 +1590,7 @@ const De = [
|
|
|
1581
1590
|
}
|
|
1582
1591
|
)
|
|
1583
1592
|
] });
|
|
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 =
|
|
1593
|
+
}, 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", {
|
|
1585
1594
|
variants: {
|
|
1586
1595
|
variant: {
|
|
1587
1596
|
twoCols: "desktop:grid-cols-2",
|
|
@@ -1592,7 +1601,7 @@ const De = [
|
|
|
1592
1601
|
defaultVariants: {
|
|
1593
1602
|
variant: "fourCols"
|
|
1594
1603
|
}
|
|
1595
|
-
}),
|
|
1604
|
+
}), En = ({
|
|
1596
1605
|
variant: e,
|
|
1597
1606
|
details: t,
|
|
1598
1607
|
headline: r,
|
|
@@ -1601,7 +1610,7 @@ const De = [
|
|
|
1601
1610
|
classes: d,
|
|
1602
1611
|
defaultOpen: l
|
|
1603
1612
|
}) => {
|
|
1604
|
-
var u, p,
|
|
1613
|
+
var u, p, m;
|
|
1605
1614
|
return /* @__PURE__ */ o.jsx(
|
|
1606
1615
|
"section",
|
|
1607
1616
|
{
|
|
@@ -1619,14 +1628,14 @@ const De = [
|
|
|
1619
1628
|
header: {
|
|
1620
1629
|
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)
|
|
1621
1630
|
},
|
|
1622
|
-
content: a("max-w-full bg-color-blue-grey-100 relative", (
|
|
1631
|
+
content: a("max-w-full bg-color-blue-grey-100 relative", (m = i == null ? void 0 : i.classes) == null ? void 0 : m.content)
|
|
1623
1632
|
},
|
|
1624
1633
|
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)) })
|
|
1625
1634
|
}
|
|
1626
1635
|
) })
|
|
1627
1636
|
}
|
|
1628
1637
|
);
|
|
1629
|
-
},
|
|
1638
|
+
}, 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(
|
|
1630
1639
|
"button",
|
|
1631
1640
|
{
|
|
1632
1641
|
onClick: () => r(d),
|
|
@@ -1640,7 +1649,7 @@ const De = [
|
|
|
1640
1649
|
children: i
|
|
1641
1650
|
},
|
|
1642
1651
|
i
|
|
1643
|
-
)) }),
|
|
1652
|
+
)) }), mr = (e) => e.variant === "HTML", xr = (e) => e.variant === "DOCUMENTS", fr = (e) => e.variant === "TABLE", cr = ({ html: e, config: t, classes: r, accordionConfig: n }) => {
|
|
1644
1653
|
const i = /* @__PURE__ */ o.jsx("div", { className: a(r == null ? void 0 : r.html), dangerouslySetInnerHTML: { __html: e ?? "" } });
|
|
1645
1654
|
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 });
|
|
1646
1655
|
}, br = (e, t) => ({
|
|
@@ -1653,21 +1662,21 @@ const De = [
|
|
|
1653
1662
|
};
|
|
1654
1663
|
})
|
|
1655
1664
|
}))
|
|
1656
|
-
}), gr =
|
|
1665
|
+
}), gr = M("flex flex-col", {
|
|
1657
1666
|
variants: {
|
|
1658
1667
|
columnsVariant: {
|
|
1659
1668
|
twoCols: "w-full max-w-[656px]",
|
|
1660
1669
|
threeCols: "w-full max-w-[768px]"
|
|
1661
1670
|
}
|
|
1662
1671
|
}
|
|
1663
|
-
}), jr =
|
|
1672
|
+
}), jr = M("desktop:grid mobile:hidden px-4 mb-4", {
|
|
1664
1673
|
variants: {
|
|
1665
1674
|
columnsVariant: {
|
|
1666
1675
|
twoCols: "grid-cols-2 gap-16",
|
|
1667
1676
|
threeCols: "grid-cols-3 gap-12"
|
|
1668
1677
|
}
|
|
1669
1678
|
}
|
|
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 =
|
|
1679
|
+
}), 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("desktop:grid mobile:hidden items-center", {
|
|
1671
1680
|
variants: {
|
|
1672
1681
|
columnsVariant: {
|
|
1673
1682
|
twoCols: "grid-cols-2 gap-16",
|
|
@@ -1685,7 +1694,7 @@ const De = [
|
|
|
1685
1694
|
children: d && d
|
|
1686
1695
|
},
|
|
1687
1696
|
l
|
|
1688
|
-
)) }), vr =
|
|
1697
|
+
)) }), vr = M("mobile:flex desktop:hidden flex-col gap-2", {
|
|
1689
1698
|
variants: {
|
|
1690
1699
|
tableVariant: {
|
|
1691
1700
|
filled: "px-4 py-4 odd:bg-color-primary-light-default",
|
|
@@ -1712,18 +1721,18 @@ const De = [
|
|
|
1712
1721
|
const d = ((u = br(t, r)) == null ? void 0 : u.rows) ?? [], l = !!(r && r.length > 0);
|
|
1713
1722
|
return /* @__PURE__ */ o.jsxs("div", { className: a("flex flex-col", i == null ? void 0 : i.wrapper), children: [
|
|
1714
1723
|
l && /* @__PURE__ */ o.jsx(yr, { headings: r, columnsVariant: n, classes: i == null ? void 0 : i.desktopHeading }),
|
|
1715
|
-
t == null ? void 0 : t.map((p,
|
|
1724
|
+
t == null ? void 0 : t.map((p, m) => /* @__PURE__ */ o.jsx(
|
|
1716
1725
|
wr,
|
|
1717
1726
|
{
|
|
1718
|
-
rowIndex:
|
|
1727
|
+
rowIndex: m,
|
|
1719
1728
|
tableVariant: e,
|
|
1720
1729
|
columnsVariant: n,
|
|
1721
1730
|
classes: i == null ? void 0 : i.desktopRow,
|
|
1722
1731
|
...p
|
|
1723
1732
|
},
|
|
1724
|
-
|
|
1733
|
+
m
|
|
1725
1734
|
)),
|
|
1726
|
-
d == null ? void 0 : d.map((p,
|
|
1735
|
+
d == null ? void 0 : d.map((p, m) => /* @__PURE__ */ o.jsx(
|
|
1727
1736
|
Nr,
|
|
1728
1737
|
{
|
|
1729
1738
|
headingsExist: l,
|
|
@@ -1732,7 +1741,7 @@ const De = [
|
|
|
1732
1741
|
classes: i == null ? void 0 : i.desktopRow,
|
|
1733
1742
|
...p
|
|
1734
1743
|
},
|
|
1735
|
-
|
|
1744
|
+
m
|
|
1736
1745
|
))
|
|
1737
1746
|
] });
|
|
1738
1747
|
}, Cr = ({
|
|
@@ -1746,7 +1755,7 @@ const De = [
|
|
|
1746
1755
|
accordionConfig: u,
|
|
1747
1756
|
classes: p
|
|
1748
1757
|
}) => {
|
|
1749
|
-
const
|
|
1758
|
+
const m = /* @__PURE__ */ o.jsxs("div", { className: a(gr({ columnsVariant: r }), p == null ? void 0 : p.wrapper), children: [
|
|
1750
1759
|
d && /* @__PURE__ */ o.jsx(W, { as: "h4", className: a("mb-4 desktop:mb-6", p == null ? void 0 : p.headline), children: d }),
|
|
1751
1760
|
/* @__PURE__ */ o.jsx(sr, { tableVariant: e, rows: i, headings: l, columnsVariant: r }),
|
|
1752
1761
|
t && /* @__PURE__ */ o.jsx(
|
|
@@ -1757,11 +1766,11 @@ const De = [
|
|
|
1757
1766
|
}
|
|
1758
1767
|
)
|
|
1759
1768
|
] });
|
|
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) ||
|
|
1769
|
+
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 });
|
|
1761
1770
|
}, Tr = {
|
|
1762
1771
|
documentFilled: "files/documentFilled",
|
|
1763
1772
|
documentOutline: "files/documentOutline"
|
|
1764
|
-
}, Ir =
|
|
1773
|
+
}, Ir = M("size-8 transition-colors", {
|
|
1765
1774
|
variants: {
|
|
1766
1775
|
iconType: {
|
|
1767
1776
|
documentOutline: "text-icon-secondary-dark-default group-hover:text-icon-secondary-dark-hover",
|
|
@@ -1771,7 +1780,7 @@ const De = [
|
|
|
1771
1780
|
defaultVariants: {
|
|
1772
1781
|
iconType: "documentOutline"
|
|
1773
1782
|
}
|
|
1774
|
-
}),
|
|
1783
|
+
}), Er = ({ label: e, size: t, url: r, iconType: n, classes: i }) => /* @__PURE__ */ o.jsxs(
|
|
1775
1784
|
"a",
|
|
1776
1785
|
{
|
|
1777
1786
|
href: r,
|
|
@@ -1793,17 +1802,17 @@ const De = [
|
|
|
1793
1802
|
] })
|
|
1794
1803
|
]
|
|
1795
1804
|
}
|
|
1796
|
-
),
|
|
1805
|
+
), Mr = ({ docs: e, config: t, title: r, iconType: n, description: i, classes: d, accordionConfig: l }) => {
|
|
1797
1806
|
const u = /* @__PURE__ */ o.jsxs("div", { className: a("flex max-w-[680px] flex-col", d == null ? void 0 : d.wrapper), children: [
|
|
1798
1807
|
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(
|
|
1808
|
+
/* @__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(Er, { iconType: n, ...p, classes: d == null ? void 0 : d.singleDocument }, p.label)) }),
|
|
1800
1809
|
i && /* @__PURE__ */ o.jsx("div", { className: a("mt-4", d == null ? void 0 : d.description), dangerouslySetInnerHTML: { __html: i ?? "" } })
|
|
1801
1810
|
] });
|
|
1802
1811
|
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 });
|
|
1803
1812
|
}, Or = ({ entity: e, classes: t, accordionsConfig: r }) => {
|
|
1804
1813
|
var n, i, d;
|
|
1805
1814
|
switch (!0) {
|
|
1806
|
-
case
|
|
1815
|
+
case mr(e):
|
|
1807
1816
|
return (n = e.details) == null ? void 0 : n.map((l, u) => {
|
|
1808
1817
|
var p;
|
|
1809
1818
|
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);
|
|
@@ -1812,7 +1821,7 @@ const De = [
|
|
|
1812
1821
|
return (i = e.details) == null ? void 0 : i.map((l, u) => {
|
|
1813
1822
|
var p;
|
|
1814
1823
|
return /* @__PURE__ */ o.jsx(
|
|
1815
|
-
|
|
1824
|
+
Mr,
|
|
1816
1825
|
{
|
|
1817
1826
|
accordionConfig: r == null ? void 0 : r.documentAccordion,
|
|
1818
1827
|
...l,
|
|
@@ -1837,13 +1846,13 @@ const De = [
|
|
|
1837
1846
|
default:
|
|
1838
1847
|
return null;
|
|
1839
1848
|
}
|
|
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 }) }),
|
|
1849
|
+
}, 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 }) => {
|
|
1841
1850
|
var u, p;
|
|
1842
|
-
const [i, d] = G(0), l = Ct(() => t == null ? void 0 : t.map((
|
|
1851
|
+
const [i, d] = G(0), l = Ct(() => t == null ? void 0 : t.map((m) => m == null ? void 0 : m.tabName), [t]) ?? [];
|
|
1843
1852
|
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: [
|
|
1844
1853
|
/* @__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(
|
|
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((
|
|
1854
|
+
/* @__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 }) }),
|
|
1855
|
+
/* @__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)) })
|
|
1847
1856
|
] }) });
|
|
1848
1857
|
}, Fr = ({ fields: e, control: t }) => e.map(({ type: r, args: n }) => {
|
|
1849
1858
|
const i = ke[r];
|
|
@@ -1876,12 +1885,12 @@ class Br {
|
|
|
1876
1885
|
if (r === "node")
|
|
1877
1886
|
n.push(t);
|
|
1878
1887
|
else {
|
|
1879
|
-
const
|
|
1880
|
-
n.push(
|
|
1888
|
+
const m = u.outerHTML.trim();
|
|
1889
|
+
n.push(m);
|
|
1881
1890
|
}
|
|
1882
1891
|
if (d)
|
|
1883
|
-
for (const
|
|
1884
|
-
this.traverse(
|
|
1892
|
+
for (const m of t.childNodes)
|
|
1893
|
+
this.traverse(m, r, n);
|
|
1885
1894
|
break;
|
|
1886
1895
|
// если узел - текстовый и требуется его добавить, добавляем
|
|
1887
1896
|
case this.TEXT_NODE:
|
|
@@ -1890,8 +1899,8 @@ class Br {
|
|
|
1890
1899
|
if (r === "node")
|
|
1891
1900
|
n.push(t);
|
|
1892
1901
|
else {
|
|
1893
|
-
const
|
|
1894
|
-
|
|
1902
|
+
const m = t.textContent;
|
|
1903
|
+
m && n.push(m);
|
|
1895
1904
|
}
|
|
1896
1905
|
break;
|
|
1897
1906
|
}
|
|
@@ -1965,14 +1974,14 @@ class wt {
|
|
|
1965
1974
|
break;
|
|
1966
1975
|
case "style":
|
|
1967
1976
|
u = "style";
|
|
1968
|
-
const
|
|
1977
|
+
const m = {};
|
|
1969
1978
|
l.value.split(";").forEach((x) => {
|
|
1970
1979
|
const [f, b] = x.split(":");
|
|
1971
1980
|
if (f && b) {
|
|
1972
1981
|
const v = f.trim().replace(/-([a-z])/g, (N, T) => T.toUpperCase());
|
|
1973
|
-
|
|
1982
|
+
m[v] = b.trim();
|
|
1974
1983
|
}
|
|
1975
|
-
}), p =
|
|
1984
|
+
}), p = m;
|
|
1976
1985
|
break;
|
|
1977
1986
|
}
|
|
1978
1987
|
i[u] = p;
|
|
@@ -2054,7 +2063,7 @@ const Pr = ({ promises: e }) => {
|
|
|
2054
2063
|
classes: l
|
|
2055
2064
|
}) => {
|
|
2056
2065
|
var K, D;
|
|
2057
|
-
const { submitCallback: u, ...p } = d || {}, [
|
|
2066
|
+
const { submitCallback: u, ...p } = d || {}, [m, x] = G(!1), f = zr(e), { control: b, handleSubmit: v } = Ee({
|
|
2058
2067
|
schema: f,
|
|
2059
2068
|
defaultValues: Se.getZodDefaults(f),
|
|
2060
2069
|
mode: "onBlur"
|
|
@@ -2106,13 +2115,13 @@ const Pr = ({ promises: e }) => {
|
|
|
2106
2115
|
),
|
|
2107
2116
|
/* @__PURE__ */ o.jsx(Fr, { control: b, fields: e }),
|
|
2108
2117
|
/* @__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: [
|
|
2109
|
-
Vr(n,
|
|
2118
|
+
Vr(n, m, x, l == null ? void 0 : l.approvement),
|
|
2110
2119
|
/* @__PURE__ */ o.jsx(
|
|
2111
2120
|
vt,
|
|
2112
2121
|
{
|
|
2113
2122
|
...p,
|
|
2114
2123
|
type: "submit",
|
|
2115
|
-
disabled: n.type === "checkbox" ? !
|
|
2124
|
+
disabled: n.type === "checkbox" ? !m : !1,
|
|
2116
2125
|
className: a(
|
|
2117
2126
|
"w-full whitespace-nowrap",
|
|
2118
2127
|
{
|
|
@@ -2214,7 +2223,7 @@ const Pr = ({ promises: e }) => {
|
|
|
2214
2223
|
return;
|
|
2215
2224
|
let u = window.location.pathname.split("/").filter((x) => !k.isStringEmpty(x));
|
|
2216
2225
|
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));
|
|
2217
|
-
let p = [],
|
|
2226
|
+
let p = [], m = "";
|
|
2218
2227
|
if (i) {
|
|
2219
2228
|
const x = {
|
|
2220
2229
|
index: 0,
|
|
@@ -2225,13 +2234,13 @@ const Pr = ({ promises: e }) => {
|
|
|
2225
2234
|
p.push(x);
|
|
2226
2235
|
}
|
|
2227
2236
|
u.forEach((x, f) => {
|
|
2228
|
-
|
|
2237
|
+
m += `/${x}`;
|
|
2229
2238
|
const b = {
|
|
2230
2239
|
// while root enabled we need to increment index
|
|
2231
2240
|
// cuz we have root breadcrumb
|
|
2232
2241
|
index: i ? f + 1 : f,
|
|
2233
2242
|
id: Rt(),
|
|
2234
|
-
path:
|
|
2243
|
+
path: m,
|
|
2235
2244
|
label: x
|
|
2236
2245
|
};
|
|
2237
2246
|
p.push(b);
|
|
@@ -2256,8 +2265,8 @@ const Pr = ({ promises: e }) => {
|
|
|
2256
2265
|
] }, i.id);
|
|
2257
2266
|
}), Gr = ({ separator: e, ellipsis: t, classes: r, ...n }) => {
|
|
2258
2267
|
const [i, d] = G(!1), l = Tt(null);
|
|
2259
|
-
|
|
2260
|
-
const u = Wr(n), { first: p, middle:
|
|
2268
|
+
Me(l, () => d(!1));
|
|
2269
|
+
const u = Wr(n), { first: p, middle: m, last: x } = Ct(() => {
|
|
2261
2270
|
let b = [], v = [], N = [];
|
|
2262
2271
|
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 };
|
|
2263
2272
|
}, [u, t]), f = e ?? /* @__PURE__ */ o.jsx(c, { name: "arrows/arrowRight", className: a("size-4", r == null ? void 0 : r.separator) });
|
|
@@ -2277,7 +2286,7 @@ const Pr = ({ promises: e }) => {
|
|
|
2277
2286
|
/* @__PURE__ */ o.jsxs(o.Fragment, { children: [
|
|
2278
2287
|
xt(p, f, r == null ? void 0 : r.breadcrumb),
|
|
2279
2288
|
f,
|
|
2280
|
-
|
|
2289
|
+
m.length > 0 && /* @__PURE__ */ o.jsxs(o.Fragment, { children: [
|
|
2281
2290
|
/* @__PURE__ */ o.jsxs("div", { className: "relative", children: [
|
|
2282
2291
|
/* @__PURE__ */ o.jsx("button", { onClick: () => d(!0), children: "..." }),
|
|
2283
2292
|
/* @__PURE__ */ o.jsx(
|
|
@@ -2292,7 +2301,7 @@ const Pr = ({ promises: e }) => {
|
|
|
2292
2301
|
"visible opacity-100": i
|
|
2293
2302
|
}
|
|
2294
2303
|
),
|
|
2295
|
-
children:
|
|
2304
|
+
children: m.map((b) => /* @__PURE__ */ o.jsx("li", { children: /* @__PURE__ */ o.jsx(
|
|
2296
2305
|
ie,
|
|
2297
2306
|
{
|
|
2298
2307
|
breadcrumb: b,
|
|
@@ -2567,11 +2576,11 @@ const Kr = (e, t) => {
|
|
|
2567
2576
|
value: t.title ?? "",
|
|
2568
2577
|
label: t.title ?? ""
|
|
2569
2578
|
})), ln = ({ categories: e, helpers: t, phone: r, ...n }) => {
|
|
2570
|
-
const i = an(e), [d, l] = G(i[0]), u = (
|
|
2571
|
-
k.isUndefined(
|
|
2579
|
+
const i = an(e), [d, l] = G(i[0]), u = (m) => {
|
|
2580
|
+
k.isUndefined(m) || k.isArray(m) || l(m);
|
|
2572
2581
|
}, p = Ct(() => {
|
|
2573
|
-
var
|
|
2574
|
-
return k.isUndefined(d) || k.isArray(d) ? [] : ((
|
|
2582
|
+
var m;
|
|
2583
|
+
return k.isUndefined(d) || k.isArray(d) ? [] : ((m = e.find((x) => x.title === d.value)) == null ? void 0 : m.children) ?? [];
|
|
2575
2584
|
}, [d, e]);
|
|
2576
2585
|
return /* @__PURE__ */ o.jsxs(
|
|
2577
2586
|
st.div,
|
|
@@ -2587,18 +2596,18 @@ const Kr = (e, t) => {
|
|
|
2587
2596
|
animate: { opacity: 1 },
|
|
2588
2597
|
children: [
|
|
2589
2598
|
/* @__PURE__ */ o.jsx(Kt.SelectBase, { label: "Категория", options: i, value: d, onChange: u }),
|
|
2590
|
-
/* @__PURE__ */ o.jsx("div", { className: "flex w-full flex-col items-center justify-center gap-y-1", children: p.map((
|
|
2599
|
+
/* @__PURE__ */ o.jsx("div", { className: "flex w-full flex-col items-center justify-center gap-y-1", children: p.map((m) => {
|
|
2591
2600
|
var x;
|
|
2592
|
-
return k.isArrayEmpty(
|
|
2601
|
+
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);
|
|
2593
2602
|
}) }),
|
|
2594
2603
|
/* @__PURE__ */ o.jsx("div", { className: "h-[1px] w-full bg-color-blue-grey-200" }),
|
|
2595
2604
|
/* @__PURE__ */ o.jsxs("div", { className: "flex w-full flex-col items-center justify-center gap-y-1", children: [
|
|
2596
|
-
t.map((
|
|
2605
|
+
t.map((m) => {
|
|
2597
2606
|
var x, f;
|
|
2598
|
-
return /* @__PURE__ */ o.jsx("div", { className: "w-full px-4 py-2.5", children: /* @__PURE__ */ o.jsxs("a", { href: (x =
|
|
2599
|
-
((f =
|
|
2600
|
-
|
|
2601
|
-
] }) },
|
|
2607
|
+
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: [
|
|
2608
|
+
((f = m.link) == null ? void 0 : f.icon) && /* @__PURE__ */ o.jsx(c, { name: m.link.icon, className: "size-4" }),
|
|
2609
|
+
m.title
|
|
2610
|
+
] }) }, m.title);
|
|
2602
2611
|
}),
|
|
2603
2612
|
/* @__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: [
|
|
2604
2613
|
/* @__PURE__ */ o.jsx(c, { name: "communication/phone", className: "size-4" }),
|
|
@@ -2655,11 +2664,11 @@ export {
|
|
|
2655
2664
|
_r as HTMLParser,
|
|
2656
2665
|
ft as HTMLRenderer,
|
|
2657
2666
|
vn as Header,
|
|
2658
|
-
|
|
2667
|
+
En as InterLinking,
|
|
2659
2668
|
Tn as LongBanner,
|
|
2660
2669
|
Fn as SeoHeader,
|
|
2661
2670
|
Cn as Stepper,
|
|
2662
|
-
|
|
2671
|
+
Mn as UsefulInfo,
|
|
2663
2672
|
De as WIDGET_LIST,
|
|
2664
2673
|
Ar as queryClient,
|
|
2665
2674
|
j as widgetIds
|