@scbt-ecom/ui 0.9.3 → 0.10.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/client.js +6713 -6621
- package/dist/client.js.map +1 -1
- package/dist/hybrid.js +136 -140
- package/dist/hybrid.js.map +1 -1
- package/dist/shared/api/apiInstance.d.ts +16 -0
- package/dist/shared/api/index.d.ts +1 -0
- package/dist/shared/constants/index.d.ts +0 -1
- package/dist/shared/ui/formElements/dadataControl/autocompleteDadata/model/api.d.ts +1 -1
- package/dist/shared/ui/formElements/dadataControl/autocompleteDadata/model/useDadata.d.ts +184 -3
- package/dist/style.css +1 -1
- package/package.json +2 -1
- package/dist/shared/constants/api.d.ts +0 -4
package/dist/hybrid.js
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
var Ve = Object.defineProperty;
|
|
2
2
|
var Qe = (o, r, e) => r in o ? Ve(o, r, { enumerable: !0, configurable: !0, writable: !0, value: e }) : o[r] = e;
|
|
3
3
|
var s = (o, r, e) => Qe(o, typeof r != "symbol" ? r + "" : r, e);
|
|
4
|
-
import { j as i, c as d, H as
|
|
5
|
-
import { B as
|
|
4
|
+
import { j as i, c as d, H as L, a as N, I as T, L as $e, z as D, g as xe, u as be, P as Ge } from "./utils-tailwind-D1D1tL_o.js";
|
|
5
|
+
import { B as Kn, N as Sn, i as eo } from "./utils-tailwind-D1D1tL_o.js";
|
|
6
6
|
import * as z from "react";
|
|
7
7
|
import { forwardRef as ye } from "react";
|
|
8
|
-
const In = (o, r) => JSON.stringify(o) === JSON.stringify(r), Mn = (o) => o.split("-").map((r) => r.charAt(0).toUpperCase() + r.slice(1).toLowerCase()).join("-"), we = 6048e5, Xe = 6e4,
|
|
8
|
+
const In = (o, r) => JSON.stringify(o) === JSON.stringify(r), Mn = (o) => o.split("-").map((r) => r.charAt(0).toUpperCase() + r.slice(1).toLowerCase()).join("-"), we = 6048e5, Xe = 6e4, Ze = 36e5, Ue = 1e3, se = Symbol.for("constructDateFrom");
|
|
9
9
|
function v(o, r) {
|
|
10
10
|
return typeof o == "function" ? o(r) : o && typeof o == "object" && se in o ? o[se](r) : o instanceof Date ? new o.constructor(r) : new Date(r);
|
|
11
11
|
}
|
|
@@ -17,23 +17,23 @@ function ge(o, r, e) {
|
|
|
17
17
|
return isNaN(r) ? v((e == null ? void 0 : e.in) || o, NaN) : (r && t.setDate(t.getDate() + r), t);
|
|
18
18
|
}
|
|
19
19
|
let Je = {};
|
|
20
|
-
function
|
|
20
|
+
function A() {
|
|
21
21
|
return Je;
|
|
22
22
|
}
|
|
23
23
|
function O(o, r) {
|
|
24
24
|
var u, f, m, b;
|
|
25
|
-
const e =
|
|
25
|
+
const e = A(), t = (r == null ? void 0 : r.weekStartsOn) ?? ((f = (u = r == null ? void 0 : r.locale) == null ? void 0 : u.options) == null ? void 0 : f.weekStartsOn) ?? e.weekStartsOn ?? ((b = (m = e.locale) == null ? void 0 : m.options) == null ? void 0 : b.weekStartsOn) ?? 0, n = j(o, r == null ? void 0 : r.in), a = n.getDay(), l = (a < t ? 7 : 0) + a - t;
|
|
26
26
|
return n.setDate(n.getDate() - l), n.setHours(0, 0, 0, 0), n;
|
|
27
27
|
}
|
|
28
|
-
function
|
|
28
|
+
function W(o, r) {
|
|
29
29
|
return O(o, { ...r, weekStartsOn: 1 });
|
|
30
30
|
}
|
|
31
31
|
function Ke(o, r) {
|
|
32
32
|
const e = j(o, r == null ? void 0 : r.in), t = e.getFullYear(), n = v(e, 0);
|
|
33
33
|
n.setFullYear(t + 1, 0, 4), n.setHours(0, 0, 0, 0);
|
|
34
|
-
const a =
|
|
34
|
+
const a = W(n), l = v(e, 0);
|
|
35
35
|
l.setFullYear(t, 0, 4), l.setHours(0, 0, 0, 0);
|
|
36
|
-
const u =
|
|
36
|
+
const u = W(l);
|
|
37
37
|
return e.getTime() >= a.getTime() ? t + 1 : e.getTime() >= u.getTime() ? t : t - 1;
|
|
38
38
|
}
|
|
39
39
|
function ke(o) {
|
|
@@ -52,7 +52,7 @@ function ke(o) {
|
|
|
52
52
|
}
|
|
53
53
|
function Se(o, r) {
|
|
54
54
|
const e = Ke(o, r), t = v(o, 0);
|
|
55
|
-
return t.setFullYear(e, 0, 4), t.setHours(0, 0, 0, 0),
|
|
55
|
+
return t.setFullYear(e, 0, 4), t.setHours(0, 0, 0, 0), W(t);
|
|
56
56
|
}
|
|
57
57
|
function et(o) {
|
|
58
58
|
return o instanceof Date || typeof o == "object" && Object.prototype.toString.call(o) === "[object Date]";
|
|
@@ -127,7 +127,7 @@ const rt = {
|
|
|
127
127
|
const n = rt[o];
|
|
128
128
|
return typeof n == "string" ? t = n : r === 1 ? t = n.one : t = n.other.replace("{{count}}", r.toString()), e != null && e.addSuffix ? e.comparison && e.comparison > 0 ? "in " + t : t + " ago" : t;
|
|
129
129
|
};
|
|
130
|
-
function
|
|
130
|
+
function U(o) {
|
|
131
131
|
return (r = {}) => {
|
|
132
132
|
const e = r.width ? String(r.width) : o.defaultWidth;
|
|
133
133
|
return o.formats[e] || o.formats[o.defaultWidth];
|
|
@@ -149,15 +149,15 @@ const ot = {
|
|
|
149
149
|
medium: "{{date}}, {{time}}",
|
|
150
150
|
short: "{{date}}, {{time}}"
|
|
151
151
|
}, dt = {
|
|
152
|
-
date:
|
|
152
|
+
date: U({
|
|
153
153
|
formats: ot,
|
|
154
154
|
defaultWidth: "full"
|
|
155
155
|
}),
|
|
156
|
-
time:
|
|
156
|
+
time: U({
|
|
157
157
|
formats: at,
|
|
158
158
|
defaultWidth: "full"
|
|
159
159
|
}),
|
|
160
|
-
dateTime:
|
|
160
|
+
dateTime: U({
|
|
161
161
|
formats: it,
|
|
162
162
|
defaultWidth: "full"
|
|
163
163
|
})
|
|
@@ -169,7 +169,7 @@ const ot = {
|
|
|
169
169
|
nextWeek: "eeee 'at' p",
|
|
170
170
|
other: "P"
|
|
171
171
|
}, st = (o, r, e, t) => lt[o];
|
|
172
|
-
function
|
|
172
|
+
function H(o) {
|
|
173
173
|
return (r, e) => {
|
|
174
174
|
const t = e != null && e.context ? String(e.context) : "standalone";
|
|
175
175
|
let n;
|
|
@@ -311,24 +311,24 @@ const ut = {
|
|
|
311
311
|
return e + "th";
|
|
312
312
|
}, bt = {
|
|
313
313
|
ordinalNumber: xt,
|
|
314
|
-
era:
|
|
314
|
+
era: H({
|
|
315
315
|
values: ut,
|
|
316
316
|
defaultWidth: "wide"
|
|
317
317
|
}),
|
|
318
|
-
quarter:
|
|
318
|
+
quarter: H({
|
|
319
319
|
values: ct,
|
|
320
320
|
defaultWidth: "wide",
|
|
321
321
|
argumentCallback: (o) => o - 1
|
|
322
322
|
}),
|
|
323
|
-
month:
|
|
323
|
+
month: H({
|
|
324
324
|
values: ft,
|
|
325
325
|
defaultWidth: "wide"
|
|
326
326
|
}),
|
|
327
|
-
day:
|
|
327
|
+
day: H({
|
|
328
328
|
values: mt,
|
|
329
329
|
defaultWidth: "wide"
|
|
330
330
|
}),
|
|
331
|
-
dayPeriod:
|
|
331
|
+
dayPeriod: H({
|
|
332
332
|
values: ht,
|
|
333
333
|
defaultWidth: "wide",
|
|
334
334
|
formattingValues: pt,
|
|
@@ -381,11 +381,11 @@ const kt = /^(\d+)(th|st|nd|rd)?/i, vt = /\d+/i, jt = {
|
|
|
381
381
|
wide: /^(before christ|before common era|anno domini|common era)/i
|
|
382
382
|
}, Dt = {
|
|
383
383
|
any: [/^b/i, /^(a|c)/i]
|
|
384
|
-
},
|
|
384
|
+
}, Nt = {
|
|
385
385
|
narrow: /^[1234]/i,
|
|
386
386
|
abbreviated: /^q[1234]/i,
|
|
387
387
|
wide: /^[1234](th|st|nd|rd)? quarter/i
|
|
388
|
-
},
|
|
388
|
+
}, Tt = {
|
|
389
389
|
any: [/1/i, /2/i, /3/i, /4/i]
|
|
390
390
|
}, Pt = {
|
|
391
391
|
narrow: /^[jfmasond]/i,
|
|
@@ -455,9 +455,9 @@ const kt = /^(\d+)(th|st|nd|rd)?/i, vt = /\d+/i, jt = {
|
|
|
455
455
|
defaultParseWidth: "any"
|
|
456
456
|
}),
|
|
457
457
|
quarter: B({
|
|
458
|
-
matchPatterns:
|
|
458
|
+
matchPatterns: Nt,
|
|
459
459
|
defaultMatchWidth: "wide",
|
|
460
|
-
parsePatterns:
|
|
460
|
+
parsePatterns: Tt,
|
|
461
461
|
defaultParseWidth: "any",
|
|
462
462
|
valueCallback: (o) => o + 1
|
|
463
463
|
}),
|
|
@@ -492,25 +492,25 @@ const kt = /^(\d+)(th|st|nd|rd)?/i, vt = /\d+/i, jt = {
|
|
|
492
492
|
}
|
|
493
493
|
};
|
|
494
494
|
function Yt(o, r) {
|
|
495
|
-
const e = j(o, r == null ? void 0 : r.in), t = +
|
|
495
|
+
const e = j(o, r == null ? void 0 : r.in), t = +W(e) - +Se(e);
|
|
496
496
|
return Math.round(t / we) + 1;
|
|
497
497
|
}
|
|
498
498
|
function ve(o, r) {
|
|
499
499
|
var b, c, P, F;
|
|
500
|
-
const e = j(o, r == null ? void 0 : r.in), t = e.getFullYear(), n =
|
|
500
|
+
const e = j(o, r == null ? void 0 : r.in), t = e.getFullYear(), n = A(), a = (r == null ? void 0 : r.firstWeekContainsDate) ?? ((c = (b = r == null ? void 0 : r.locale) == null ? void 0 : b.options) == null ? void 0 : c.firstWeekContainsDate) ?? n.firstWeekContainsDate ?? ((F = (P = n.locale) == null ? void 0 : P.options) == null ? void 0 : F.firstWeekContainsDate) ?? 1, l = v((r == null ? void 0 : r.in) || o, 0);
|
|
501
501
|
l.setFullYear(t + 1, 0, a), l.setHours(0, 0, 0, 0);
|
|
502
502
|
const u = O(l, r), f = v((r == null ? void 0 : r.in) || o, 0);
|
|
503
503
|
f.setFullYear(t, 0, a), f.setHours(0, 0, 0, 0);
|
|
504
504
|
const m = O(f, r);
|
|
505
505
|
return +e >= +u ? t + 1 : +e >= +m ? t : t - 1;
|
|
506
506
|
}
|
|
507
|
-
function
|
|
507
|
+
function Wt(o, r) {
|
|
508
508
|
var u, f, m, b;
|
|
509
|
-
const e =
|
|
509
|
+
const e = A(), t = (r == null ? void 0 : r.firstWeekContainsDate) ?? ((f = (u = r == null ? void 0 : r.locale) == null ? void 0 : u.options) == null ? void 0 : f.firstWeekContainsDate) ?? e.firstWeekContainsDate ?? ((b = (m = e.locale) == null ? void 0 : m.options) == null ? void 0 : b.firstWeekContainsDate) ?? 1, n = ve(o, r), a = v((r == null ? void 0 : r.in) || o, 0);
|
|
510
510
|
return a.setFullYear(n, 0, t), a.setHours(0, 0, 0, 0), O(a, r);
|
|
511
511
|
}
|
|
512
|
-
function
|
|
513
|
-
const e = j(o, r == null ? void 0 : r.in), t = +O(e, r) - +
|
|
512
|
+
function Lt(o, r) {
|
|
513
|
+
const e = j(o, r == null ? void 0 : r.in), t = +O(e, r) - +Wt(e, r);
|
|
514
514
|
return Math.round(t / we) + 1;
|
|
515
515
|
}
|
|
516
516
|
const ue = (o, r) => {
|
|
@@ -537,7 +537,7 @@ const ue = (o, r) => {
|
|
|
537
537
|
default:
|
|
538
538
|
return r.time({ width: "full" });
|
|
539
539
|
}
|
|
540
|
-
},
|
|
540
|
+
}, Ht = (o, r) => {
|
|
541
541
|
const e = o.match(/(P+)(p+)?/) || [], t = e[1], n = e[2];
|
|
542
542
|
if (!n)
|
|
543
543
|
return ue(o, r);
|
|
@@ -560,13 +560,13 @@ const ue = (o, r) => {
|
|
|
560
560
|
return a.replace("{{date}}", ue(t, r)).replace("{{time}}", je(n, r));
|
|
561
561
|
}, ce = {
|
|
562
562
|
p: je,
|
|
563
|
-
P:
|
|
564
|
-
}, Bt = /^D+$/,
|
|
563
|
+
P: Ht
|
|
564
|
+
}, Bt = /^D+$/, At = /^Y+$/, Rt = ["D", "DD", "YY", "YYYY"];
|
|
565
565
|
function zt(o) {
|
|
566
566
|
return Bt.test(o);
|
|
567
567
|
}
|
|
568
568
|
function qt(o) {
|
|
569
|
-
return
|
|
569
|
+
return At.test(o);
|
|
570
570
|
}
|
|
571
571
|
function fe(o, r, e) {
|
|
572
572
|
const t = Vt(o, r, e);
|
|
@@ -577,7 +577,7 @@ function Vt(o, r, e) {
|
|
|
577
577
|
return `Use \`${o.toLowerCase()}\` instead of \`${o}\` (in \`${r}\`) for formatting ${t} to the input \`${e}\`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md`;
|
|
578
578
|
}
|
|
579
579
|
function Qt() {
|
|
580
|
-
return Object.assign({},
|
|
580
|
+
return Object.assign({}, A());
|
|
581
581
|
}
|
|
582
582
|
function $t(o, r) {
|
|
583
583
|
const e = j(o, r == null ? void 0 : r.in).getDay();
|
|
@@ -596,7 +596,7 @@ function Xt(o) {
|
|
|
596
596
|
var r;
|
|
597
597
|
return typeof o == "function" && ((r = o.prototype) == null ? void 0 : r.constructor) === o;
|
|
598
598
|
}
|
|
599
|
-
const
|
|
599
|
+
const Zt = 10;
|
|
600
600
|
class De {
|
|
601
601
|
constructor() {
|
|
602
602
|
s(this, "subPriority", 0);
|
|
@@ -605,7 +605,7 @@ class De {
|
|
|
605
605
|
return !0;
|
|
606
606
|
}
|
|
607
607
|
}
|
|
608
|
-
class
|
|
608
|
+
class Ut extends De {
|
|
609
609
|
constructor(r, e, t, n, a) {
|
|
610
610
|
super(), this.value = r, this.validateValue = e, this.setValue = t, this.priority = n, a && (this.subPriority = a);
|
|
611
611
|
}
|
|
@@ -619,7 +619,7 @@ class Zt extends De {
|
|
|
619
619
|
class Jt extends De {
|
|
620
620
|
constructor(e, t) {
|
|
621
621
|
super();
|
|
622
|
-
s(this, "priority",
|
|
622
|
+
s(this, "priority", Zt);
|
|
623
623
|
s(this, "subPriority", -1);
|
|
624
624
|
this.context = e || ((n) => v(t, n));
|
|
625
625
|
}
|
|
@@ -631,7 +631,7 @@ class p {
|
|
|
631
631
|
run(r, e, t, n) {
|
|
632
632
|
const a = this.parse(r, e, t, n);
|
|
633
633
|
return a ? {
|
|
634
|
-
setter: new
|
|
634
|
+
setter: new Ut(
|
|
635
635
|
a.value,
|
|
636
636
|
this.validate,
|
|
637
637
|
this.set,
|
|
@@ -737,11 +737,11 @@ function M(o, r) {
|
|
|
737
737
|
};
|
|
738
738
|
const t = e[1] === "+" ? 1 : -1, n = e[2] ? parseInt(e[2], 10) : 0, a = e[3] ? parseInt(e[3], 10) : 0, l = e[5] ? parseInt(e[5], 10) : 0;
|
|
739
739
|
return {
|
|
740
|
-
value: t * (n *
|
|
740
|
+
value: t * (n * Ze + a * Xe + l * Ue),
|
|
741
741
|
rest: r.slice(e[0].length)
|
|
742
742
|
};
|
|
743
743
|
}
|
|
744
|
-
function
|
|
744
|
+
function Ne(o) {
|
|
745
745
|
return x(g.anyDigitsSigned, o);
|
|
746
746
|
}
|
|
747
747
|
function w(o, r) {
|
|
@@ -789,7 +789,7 @@ function S(o) {
|
|
|
789
789
|
return 0;
|
|
790
790
|
}
|
|
791
791
|
}
|
|
792
|
-
function
|
|
792
|
+
function Te(o, r) {
|
|
793
793
|
const e = r > 0, t = e ? r : 1 - r;
|
|
794
794
|
let n;
|
|
795
795
|
if (t <= 50)
|
|
@@ -834,7 +834,7 @@ class St extends p {
|
|
|
834
834
|
set(e, t, n) {
|
|
835
835
|
const a = e.getFullYear();
|
|
836
836
|
if (n.isTwoDigitYear) {
|
|
837
|
-
const u =
|
|
837
|
+
const u = Te(
|
|
838
838
|
n.year,
|
|
839
839
|
a
|
|
840
840
|
);
|
|
@@ -889,7 +889,7 @@ class er extends p {
|
|
|
889
889
|
set(e, t, n, a) {
|
|
890
890
|
const l = ve(e, a);
|
|
891
891
|
if (n.isTwoDigitYear) {
|
|
892
|
-
const f =
|
|
892
|
+
const f = Te(
|
|
893
893
|
n.year,
|
|
894
894
|
l
|
|
895
895
|
);
|
|
@@ -930,7 +930,7 @@ class tr extends p {
|
|
|
930
930
|
}
|
|
931
931
|
set(e, t, n) {
|
|
932
932
|
const a = v(e, 0);
|
|
933
|
-
return a.setFullYear(n, 0, 4), a.setHours(0, 0, 0, 0),
|
|
933
|
+
return a.setFullYear(n, 0, 4), a.setHours(0, 0, 0, 0), W(a);
|
|
934
934
|
}
|
|
935
935
|
}
|
|
936
936
|
class rr extends p {
|
|
@@ -1195,7 +1195,7 @@ class ir extends p {
|
|
|
1195
1195
|
}
|
|
1196
1196
|
}
|
|
1197
1197
|
function dr(o, r, e) {
|
|
1198
|
-
const t = j(o, e == null ? void 0 : e.in), n =
|
|
1198
|
+
const t = j(o, e == null ? void 0 : e.in), n = Lt(t, e) - r;
|
|
1199
1199
|
return t.setDate(t.getDate() - n * 7), j(t, e == null ? void 0 : e.in);
|
|
1200
1200
|
}
|
|
1201
1201
|
class lr extends p {
|
|
@@ -1274,7 +1274,7 @@ class ur extends p {
|
|
|
1274
1274
|
return t >= 1 && t <= 53;
|
|
1275
1275
|
}
|
|
1276
1276
|
set(e, t, n) {
|
|
1277
|
-
return
|
|
1277
|
+
return W(sr(e, n));
|
|
1278
1278
|
}
|
|
1279
1279
|
}
|
|
1280
1280
|
const cr = [31, 28, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31], fr = [
|
|
@@ -1373,7 +1373,7 @@ class hr extends p {
|
|
|
1373
1373
|
}
|
|
1374
1374
|
function ee(o, r, e) {
|
|
1375
1375
|
var c, P, F, C;
|
|
1376
|
-
const t =
|
|
1376
|
+
const t = A(), n = (e == null ? void 0 : e.weekStartsOn) ?? ((P = (c = e == null ? void 0 : e.locale) == null ? void 0 : c.options) == null ? void 0 : P.weekStartsOn) ?? t.weekStartsOn ?? ((C = (F = t.locale) == null ? void 0 : F.options) == null ? void 0 : C.weekStartsOn) ?? 0, a = j(o, e == null ? void 0 : e.in), l = a.getDay(), f = (r % 7 + 7) % 7, m = 7 - n, b = r < 0 || r > 6 ? r - (l + m) % 7 : (f + m) % 7 - (l + m) % 7;
|
|
1377
1377
|
return ge(a, b, e);
|
|
1378
1378
|
}
|
|
1379
1379
|
class pr extends p {
|
|
@@ -1807,7 +1807,7 @@ class Dr extends p {
|
|
|
1807
1807
|
return e.setHours(n, 0, 0, 0), e;
|
|
1808
1808
|
}
|
|
1809
1809
|
}
|
|
1810
|
-
class
|
|
1810
|
+
class Nr extends p {
|
|
1811
1811
|
constructor() {
|
|
1812
1812
|
super(...arguments);
|
|
1813
1813
|
s(this, "priority", 70);
|
|
@@ -1830,7 +1830,7 @@ class Tr extends p {
|
|
|
1830
1830
|
return e.getHours() >= 12 && n < 12 ? e.setHours(n + 12, 0, 0, 0) : e.setHours(n, 0, 0, 0), e;
|
|
1831
1831
|
}
|
|
1832
1832
|
}
|
|
1833
|
-
class
|
|
1833
|
+
class Tr extends p {
|
|
1834
1834
|
constructor() {
|
|
1835
1835
|
super(...arguments);
|
|
1836
1836
|
s(this, "priority", 70);
|
|
@@ -1995,7 +1995,7 @@ class Er extends p {
|
|
|
1995
1995
|
s(this, "incompatibleTokens", "*");
|
|
1996
1996
|
}
|
|
1997
1997
|
parse(e) {
|
|
1998
|
-
return
|
|
1998
|
+
return Ne(e);
|
|
1999
1999
|
}
|
|
2000
2000
|
set(e, t, n) {
|
|
2001
2001
|
return [v(e, n * 1e3), { timestampIsSet: !0 }];
|
|
@@ -2008,7 +2008,7 @@ class Or extends p {
|
|
|
2008
2008
|
s(this, "incompatibleTokens", "*");
|
|
2009
2009
|
}
|
|
2010
2010
|
parse(e) {
|
|
2011
|
-
return
|
|
2011
|
+
return Ne(e);
|
|
2012
2012
|
}
|
|
2013
2013
|
set(e, t, n) {
|
|
2014
2014
|
return [v(e, n), { timestampIsSet: !0 }];
|
|
@@ -2037,8 +2037,8 @@ const Fr = {
|
|
|
2037
2037
|
B: new vr(),
|
|
2038
2038
|
h: new jr(),
|
|
2039
2039
|
H: new Dr(),
|
|
2040
|
-
K: new
|
|
2041
|
-
k: new
|
|
2040
|
+
K: new Nr(),
|
|
2041
|
+
k: new Tr(),
|
|
2042
2042
|
m: new Pr(),
|
|
2043
2043
|
s: new _r(),
|
|
2044
2044
|
S: new Ir(),
|
|
@@ -2046,7 +2046,7 @@ const Fr = {
|
|
|
2046
2046
|
x: new Cr(),
|
|
2047
2047
|
t: new Er(),
|
|
2048
2048
|
T: new Or()
|
|
2049
|
-
}, Yr = /[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,
|
|
2049
|
+
}, Yr = /[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g, Wr = /P+p+|P+|p+|''|'(''|[^'])+('|$)|./g, Lr = /^'([^]*?)'?$/, Hr = /''/g, Br = /\S/, Ar = /[a-zA-Z]/;
|
|
2050
2050
|
function _e(o, r, e, t) {
|
|
2051
2051
|
var re, ne, oe, ae;
|
|
2052
2052
|
const n = () => v(e, NaN), a = Qt(), l = a.locale ?? Ft, u = a.firstWeekContainsDate ?? ((ne = (re = a.locale) == null ? void 0 : re.options) == null ? void 0 : ne.firstWeekContainsDate) ?? 1, f = a.weekStartsOn ?? ((ae = (oe = a.locale) == null ? void 0 : oe.options) == null ? void 0 : ae.weekStartsOn) ?? 0;
|
|
@@ -2056,7 +2056,7 @@ function _e(o, r, e, t) {
|
|
|
2056
2056
|
firstWeekContainsDate: u,
|
|
2057
2057
|
weekStartsOn: f,
|
|
2058
2058
|
locale: l
|
|
2059
|
-
}, b = [new Jt(t == null ? void 0 : t.in, e)], c = r.match(
|
|
2059
|
+
}, b = [new Jt(t == null ? void 0 : t.in, e)], c = r.match(Wr).map((h) => {
|
|
2060
2060
|
const y = h[0];
|
|
2061
2061
|
if (y in ce) {
|
|
2062
2062
|
const _ = ce[y];
|
|
@@ -2082,17 +2082,17 @@ function _e(o, r, e, t) {
|
|
|
2082
2082
|
`The format string mustn't contain \`${h}\` and any other token at the same time`
|
|
2083
2083
|
);
|
|
2084
2084
|
P.push({ token: y, fullToken: h });
|
|
2085
|
-
const
|
|
2085
|
+
const Z = _.run(
|
|
2086
2086
|
o,
|
|
2087
2087
|
h,
|
|
2088
2088
|
l.match,
|
|
2089
2089
|
m
|
|
2090
2090
|
);
|
|
2091
|
-
if (!
|
|
2091
|
+
if (!Z)
|
|
2092
2092
|
return n();
|
|
2093
|
-
b.push(
|
|
2093
|
+
b.push(Z.setter), o = Z.rest;
|
|
2094
2094
|
} else {
|
|
2095
|
-
if (y.match(
|
|
2095
|
+
if (y.match(Ar))
|
|
2096
2096
|
throw new RangeError(
|
|
2097
2097
|
"Format string contains an unescaped latin alphabet character `" + y + "`"
|
|
2098
2098
|
);
|
|
@@ -2119,16 +2119,16 @@ function _e(o, r, e, t) {
|
|
|
2119
2119
|
return C;
|
|
2120
2120
|
}
|
|
2121
2121
|
function Rr(o) {
|
|
2122
|
-
return o.match(
|
|
2122
|
+
return o.match(Lr)[1].replace(Hr, "'");
|
|
2123
2123
|
}
|
|
2124
|
-
const Cn = (o, r = "dd.MM.yyyy") => _e(o, r, /* @__PURE__ */ new Date()), Ie = ({ children: o, className: r, ...e }) => /* @__PURE__ */ i.jsx("section", { className: d("pb-16 desktop:pb-20", r), ...e, children: o }), Y = ({ children: o, offset: r = !0, className: e, ...t }) => /* @__PURE__ */ i.jsx("div", { className: d("m-auto w-full max-w-[636px] desktop:max-w-[1140px]", { "mobile:px-4": r }, e), ...t, children: o }), zr =
|
|
2124
|
+
const Cn = (o, r = "dd.MM.yyyy") => _e(o, r, /* @__PURE__ */ new Date()), Ie = ({ children: o, className: r, ...e }) => /* @__PURE__ */ i.jsx("section", { className: d("pb-16 desktop:pb-20", r), ...e, children: o }), Y = ({ children: o, offset: r = !0, className: e, ...t }) => /* @__PURE__ */ i.jsx("div", { className: d("m-auto w-full max-w-[636px] desktop:max-w-[1140px]", { "mobile:px-4": r }, e), ...t, children: o }), zr = N("grid", {
|
|
2125
2125
|
variants: {
|
|
2126
2126
|
columnCount: {
|
|
2127
2127
|
twoColumns: "grid-cols-[repeat(2,minmax(172px,_1fr))] desktop:grid-cols-[repeat(2,minmax(172px,_1fr))]",
|
|
2128
2128
|
threeColumns: "grid-cols-[repeat(3,minmax(172px,_1fr))] desktop:grid-cols-[repeat(3,minmax(312px,_1fr))]"
|
|
2129
2129
|
}
|
|
2130
2130
|
}
|
|
2131
|
-
}), qr =
|
|
2131
|
+
}), qr = N("grid", {
|
|
2132
2132
|
variants: {
|
|
2133
2133
|
columnCount: {
|
|
2134
2134
|
twoColumns: "",
|
|
@@ -2161,7 +2161,7 @@ const Cn = (o, r = "dd.MM.yyyy") => _e(o, r, /* @__PURE__ */ new Date()), Ie = (
|
|
|
2161
2161
|
class: "grid-cols-[repeat(3,_auto)]"
|
|
2162
2162
|
}
|
|
2163
2163
|
]
|
|
2164
|
-
}), Vr =
|
|
2164
|
+
}), Vr = N("grid", {
|
|
2165
2165
|
variants: {
|
|
2166
2166
|
columnCount: {
|
|
2167
2167
|
twoColumns: "",
|
|
@@ -2174,7 +2174,7 @@ const Cn = (o, r = "dd.MM.yyyy") => _e(o, r, /* @__PURE__ */ new Date()), Ie = (
|
|
|
2174
2174
|
class: "overflow-x-scroll max-w-[368px] mb-1"
|
|
2175
2175
|
}
|
|
2176
2176
|
]
|
|
2177
|
-
}), Qr =
|
|
2177
|
+
}), Qr = N("border-b border-warm-grey-200 py-4 desktop:desk-body-regular-l mob-body-regular-l", {
|
|
2178
2178
|
variants: {
|
|
2179
2179
|
columnCount: {
|
|
2180
2180
|
twoColumns: "",
|
|
@@ -2202,7 +2202,7 @@ const Cn = (o, r = "dd.MM.yyyy") => _e(o, r, /* @__PURE__ */ new Date()), Ie = (
|
|
|
2202
2202
|
}) => {
|
|
2203
2203
|
const l = e && e.length > 0 ? "exist" : "notExist";
|
|
2204
2204
|
return /* @__PURE__ */ i.jsx(Y, { children: /* @__PURE__ */ i.jsxs("div", { className: d("flex flex-col", a == null ? void 0 : a.tableRootWrapper), children: [
|
|
2205
|
-
/* @__PURE__ */ i.jsx(
|
|
2205
|
+
/* @__PURE__ */ i.jsx(L, { as: "h3", className: d("mob-title-bold-m pb-6 desktop:desk-title-bold-s", a == null ? void 0 : a.tableHeading), children: o }),
|
|
2206
2206
|
/* @__PURE__ */ i.jsxs("div", { className: d(Vr({ columnCount: n }), a == null ? void 0 : a.tableBody), children: [
|
|
2207
2207
|
/* @__PURE__ */ i.jsx("ul", { className: d(zr({ columnCount: n }), a == null ? void 0 : a.tableTitlesContainer), children: e == null ? void 0 : e.map((u) => /* @__PURE__ */ i.jsx(
|
|
2208
2208
|
"li",
|
|
@@ -2241,7 +2241,7 @@ const Cn = (o, r = "dd.MM.yyyy") => _e(o, r, /* @__PURE__ */ new Date()), Ie = (
|
|
|
2241
2241
|
}
|
|
2242
2242
|
),
|
|
2243
2243
|
/* @__PURE__ */ i.jsx(
|
|
2244
|
-
|
|
2244
|
+
T,
|
|
2245
2245
|
{
|
|
2246
2246
|
name: "arrows/arrowRight",
|
|
2247
2247
|
className: d("size-4 text-icon-primary-default", { "!text-icon-disabled": r == null ? void 0 : r.isDisabled })
|
|
@@ -2260,7 +2260,7 @@ const Cn = (o, r = "dd.MM.yyyy") => _e(o, r, /* @__PURE__ */ new Date()), Ie = (
|
|
|
2260
2260
|
default:
|
|
2261
2261
|
return o;
|
|
2262
2262
|
}
|
|
2263
|
-
}, Gr =
|
|
2263
|
+
}, Gr = N(
|
|
2264
2264
|
"relative flex items-center justify-center gap-4 cursor-pointer rounded-sm w-max px-4 outline-offset-4 outline-transparent outline-2 desk-body-regular-l transition duration-12 active:scale-[0.97] disabled:pointer-events-none",
|
|
2265
2265
|
{
|
|
2266
2266
|
variants: {
|
|
@@ -2347,7 +2347,7 @@ const Cn = (o, r = "dd.MM.yyyy") => _e(o, r, /* @__PURE__ */ new Date()), Ie = (
|
|
|
2347
2347
|
] })
|
|
2348
2348
|
}
|
|
2349
2349
|
)
|
|
2350
|
-
), Xr =
|
|
2350
|
+
), Xr = N(
|
|
2351
2351
|
"group flex items-center justify-center cursor-pointer rounded-full outline-offset-[3px] outline-transparent outline-2 transition duration-12 active:scale-[0.97] disabled:pointer-events-none",
|
|
2352
2352
|
{
|
|
2353
2353
|
variants: {
|
|
@@ -2369,7 +2369,7 @@ const Cn = (o, r = "dd.MM.yyyy") => _e(o, r, /* @__PURE__ */ new Date()), Ie = (
|
|
|
2369
2369
|
}
|
|
2370
2370
|
), Fn = ye(
|
|
2371
2371
|
({ size: o, intent: r, children: e, classes: t, type: n = "button", ...a }, l) => /* @__PURE__ */ i.jsx("button", { ref: l, type: n, className: d(Xr({ intent: r, size: o }), t == null ? void 0 : t.button), ...a, children: /* @__PURE__ */ i.jsx("span", { className: d(t == null ? void 0 : t.icon), children: e }) })
|
|
2372
|
-
),
|
|
2372
|
+
), Zr = N(
|
|
2373
2373
|
"group underline underline-offset-4 outline-none p-[2px] rounded-sm border border-solid border-transparent",
|
|
2374
2374
|
{
|
|
2375
2375
|
variants: {
|
|
@@ -2397,7 +2397,7 @@ const Cn = (o, r = "dd.MM.yyyy") => _e(o, r, /* @__PURE__ */ new Date()), Ie = (
|
|
|
2397
2397
|
size: "sm"
|
|
2398
2398
|
}
|
|
2399
2399
|
}
|
|
2400
|
-
),
|
|
2400
|
+
), Ur = N("size-6", {
|
|
2401
2401
|
variants: {
|
|
2402
2402
|
intent: {
|
|
2403
2403
|
blue: "text-icon-primary-default group-hover:text-icon-primary-hover group-focus:text-icon-primary-default ",
|
|
@@ -2421,10 +2421,10 @@ const Cn = (o, r = "dd.MM.yyyy") => _e(o, r, /* @__PURE__ */ new Date()), Ie = (
|
|
|
2421
2421
|
size: a,
|
|
2422
2422
|
icon: l = "arrows/arrowLink",
|
|
2423
2423
|
...u
|
|
2424
|
-
}) => /* @__PURE__ */ i.jsxs(o, { className: d(
|
|
2424
|
+
}) => /* @__PURE__ */ i.jsxs(o, { className: d(Zr({ intent: r, withIcon: t, disabled: n, size: a })), ...u, children: [
|
|
2425
2425
|
e,
|
|
2426
|
-
t && /* @__PURE__ */ i.jsx(
|
|
2427
|
-
] }), Jr =
|
|
2426
|
+
t && /* @__PURE__ */ i.jsx(T, { name: l, className: d(Ur({ intent: r, disabled: n })) })
|
|
2427
|
+
] }), Jr = N("size-8 transition-colors", {
|
|
2428
2428
|
variants: {
|
|
2429
2429
|
intent: {
|
|
2430
2430
|
outline: "text-icon-secondary-dark-default group-hover:text-icon-secondary-dark-hover",
|
|
@@ -2437,7 +2437,7 @@ const Cn = (o, r = "dd.MM.yyyy") => _e(o, r, /* @__PURE__ */ new Date()), Ie = (
|
|
|
2437
2437
|
}), Kr = {
|
|
2438
2438
|
filled: "files/documentFilled",
|
|
2439
2439
|
outline: "files/documentOutline"
|
|
2440
|
-
},
|
|
2440
|
+
}, Wn = ({ text: o, size: r, sizeType: e, href: t, intent: n = "outline" }) => /* @__PURE__ */ i.jsxs(
|
|
2441
2441
|
"a",
|
|
2442
2442
|
{
|
|
2443
2443
|
href: t,
|
|
@@ -2448,7 +2448,7 @@ const Cn = (o, r = "dd.MM.yyyy") => _e(o, r, /* @__PURE__ */ new Date()), Ie = (
|
|
|
2448
2448
|
"group flex cursor-pointer items-center gap-2 rounded-sm p-1 outline outline-2 outline-transparent transition-colors focus-within:outline-primary-focus desktop:max-w-[592px]"
|
|
2449
2449
|
),
|
|
2450
2450
|
children: [
|
|
2451
|
-
/* @__PURE__ */ i.jsx(
|
|
2451
|
+
/* @__PURE__ */ i.jsx(T, { name: Kr[n], className: d(Jr({ intent: n })) }),
|
|
2452
2452
|
/* @__PURE__ */ i.jsxs("div", { className: d("flex flex-1 flex-col"), children: [
|
|
2453
2453
|
/* @__PURE__ */ i.jsx("p", { className: d("desk-body-medium-l text-color-dark"), children: o }),
|
|
2454
2454
|
/* @__PURE__ */ i.jsxs("div", { className: d("desk-body-regular-m text-color-disabled"), children: [
|
|
@@ -2469,7 +2469,7 @@ const Cn = (o, r = "dd.MM.yyyy") => _e(o, r, /* @__PURE__ */ new Date()), Ie = (
|
|
|
2469
2469
|
}
|
|
2470
2470
|
),
|
|
2471
2471
|
/* @__PURE__ */ i.jsx("p", { className: d("desk-body-regular-l text-color-tetriary", e == null ? void 0 : e.text), children: r })
|
|
2472
|
-
] }),
|
|
2472
|
+
] }), Ln = ({ topContent: o, bottomContent: r, progress: e, maxPercent: t = 100, classes: n }) => /* @__PURE__ */ i.jsxs("div", { className: d("flex w-full flex-col", n == null ? void 0 : n.wrapper), children: [
|
|
2473
2473
|
o && /* @__PURE__ */ i.jsx("div", { className: d("mb-2 flex justify-between gap-5", n == null ? void 0 : n.topContent), children: o }),
|
|
2474
2474
|
/* @__PURE__ */ i.jsxs("div", { className: d("relative h-2 w-[328xp] rounded-md bg-color-blue-grey-100 desktop:w-[524px]", n == null ? void 0 : n.progressBar), children: [
|
|
2475
2475
|
/* @__PURE__ */ i.jsx(
|
|
@@ -2491,13 +2491,13 @@ const Cn = (o, r = "dd.MM.yyyy") => _e(o, r, /* @__PURE__ */ new Date()), Ie = (
|
|
|
2491
2491
|
)
|
|
2492
2492
|
] }),
|
|
2493
2493
|
r && /* @__PURE__ */ i.jsx("div", { className: d("mt-2 flex justify-between gap-5", n == null ? void 0 : n.bottomContent), children: r })
|
|
2494
|
-
] }),
|
|
2495
|
-
main: /* @__PURE__ */ i.jsx(
|
|
2496
|
-
white: /* @__PURE__ */ i.jsx(
|
|
2497
|
-
gray: /* @__PURE__ */ i.jsx(
|
|
2498
|
-
black: /* @__PURE__ */ i.jsx(
|
|
2499
|
-
business: /* @__PURE__ */ i.jsx(
|
|
2500
|
-
insurance: /* @__PURE__ */ i.jsx(
|
|
2494
|
+
] }), Hn = ({ className: o }) => /* @__PURE__ */ i.jsx("div", { className: d("skeleton-apply h-full w-full", o) }), Sr = {
|
|
2495
|
+
main: /* @__PURE__ */ i.jsx(T, { name: "brandLogos/logoMain" }),
|
|
2496
|
+
white: /* @__PURE__ */ i.jsx(T, { name: "brandLogos/logoWhite" }),
|
|
2497
|
+
gray: /* @__PURE__ */ i.jsx(T, { name: "brandLogos/logoGray" }),
|
|
2498
|
+
black: /* @__PURE__ */ i.jsx(T, { name: "brandLogos/logoBlack" }),
|
|
2499
|
+
business: /* @__PURE__ */ i.jsx(T, { name: "brandLogos/logoBusiness" }),
|
|
2500
|
+
insurance: /* @__PURE__ */ i.jsx(T, { name: "brandLogos/logoInsurance" })
|
|
2501
2501
|
}, en = /^[\u0400-\u04FF\u00CB\u00EB -]+$/, me = /^(?:[^-]+(?:-[^-]+){0,4}|[^-]+)$/, tn = /^[a-zA-Zа-яА-ЯёЁ]+(?:\s*-\s*[a-zA-Zа-яА-ЯёЁ]+){0,4}(?:\s+[a-zA-Zа-яА-ЯёЁ]+(?:\s*-\s*[a-zA-Zа-яА-ЯёЁ]+){0,4})?$/i, q = {
|
|
2502
2502
|
REQUIRED: "Поле обязательно к заполнению",
|
|
2503
2503
|
MIN_LENGTH: "Минимальная длина символов должна быть не менее",
|
|
@@ -2535,7 +2535,7 @@ const Cn = (o, r = "dd.MM.yyyy") => _e(o, r, /* @__PURE__ */ new Date()), Ie = (
|
|
|
2535
2535
|
code: D.ZodIssueCode.custom,
|
|
2536
2536
|
message: "Неверно введено отчество"
|
|
2537
2537
|
}));
|
|
2538
|
-
}),
|
|
2538
|
+
}), An = D.string().length(10, { message: q.INVALID_DATE }).superRefine((o, r) => {
|
|
2539
2539
|
const [e, t, n] = (o == null ? void 0 : o.split(".")) ?? "", a = _e(`${e}/${t}/${n}`, "dd/MM/yyyy", /* @__PURE__ */ new Date());
|
|
2540
2540
|
+n <= 1950 && r.addIssue({
|
|
2541
2541
|
code: D.ZodIssueCode.custom,
|
|
@@ -2697,7 +2697,7 @@ const Cn = (o, r = "dd.MM.yyyy") => _e(o, r, /* @__PURE__ */ new Date()), Ie = (
|
|
|
2697
2697
|
28: "28px",
|
|
2698
2698
|
32: "32px",
|
|
2699
2699
|
40: "40px"
|
|
2700
|
-
},
|
|
2700
|
+
}, We = {
|
|
2701
2701
|
16: "16px",
|
|
2702
2702
|
20: "20px",
|
|
2703
2703
|
22: "22px",
|
|
@@ -2706,7 +2706,7 @@ const Cn = (o, r = "dd.MM.yyyy") => _e(o, r, /* @__PURE__ */ new Date()), Ie = (
|
|
|
2706
2706
|
32: "32px",
|
|
2707
2707
|
40: "40px",
|
|
2708
2708
|
48: "48px"
|
|
2709
|
-
},
|
|
2709
|
+
}, Le = {
|
|
2710
2710
|
/* # Headline */
|
|
2711
2711
|
".mob-headline-bold-m": {
|
|
2712
2712
|
"@apply font-bold text-28 leading-32": ""
|
|
@@ -2765,8 +2765,8 @@ const Cn = (o, r = "dd.MM.yyyy") => _e(o, r, /* @__PURE__ */ new Date()), Ie = (
|
|
|
2765
2765
|
".desk-body-regular-s": {
|
|
2766
2766
|
"@apply font-normal text-12 leading-16": ""
|
|
2767
2767
|
}
|
|
2768
|
-
}
|
|
2769
|
-
var
|
|
2768
|
+
};
|
|
2769
|
+
var He = {}, Be = {};
|
|
2770
2770
|
(function(o) {
|
|
2771
2771
|
Object.defineProperty(o, "__esModule", {
|
|
2772
2772
|
value: !0
|
|
@@ -2810,10 +2810,10 @@ var Le = {}, Be = {};
|
|
|
2810
2810
|
};
|
|
2811
2811
|
}
|
|
2812
2812
|
const t = r.default;
|
|
2813
|
-
})(
|
|
2814
|
-
let J =
|
|
2815
|
-
var
|
|
2816
|
-
const X = /* @__PURE__ */ xe(
|
|
2813
|
+
})(He);
|
|
2814
|
+
let J = He;
|
|
2815
|
+
var Ae = (J.__esModule ? J : { default: J }).default;
|
|
2816
|
+
const X = /* @__PURE__ */ xe(Ae), on = Ae;
|
|
2817
2817
|
function he(o) {
|
|
2818
2818
|
return Object.fromEntries(
|
|
2819
2819
|
Object.entries(o).filter(([r]) => r !== "DEFAULT")
|
|
@@ -2975,7 +2975,7 @@ var an = on(
|
|
|
2975
2975
|
}
|
|
2976
2976
|
}
|
|
2977
2977
|
);
|
|
2978
|
-
const Re = /* @__PURE__ */ xe(an),
|
|
2978
|
+
const Re = /* @__PURE__ */ xe(an), zn = {
|
|
2979
2979
|
theme: {
|
|
2980
2980
|
backgroundColor: {
|
|
2981
2981
|
color: $,
|
|
@@ -2993,7 +2993,7 @@ const Re = /* @__PURE__ */ xe(an), $n = {
|
|
|
2993
2993
|
borderRadius: Oe,
|
|
2994
2994
|
fontFamily: { roboto: ["var(--ff-roboto)", "sans-serif"] },
|
|
2995
2995
|
fontSize: Ye,
|
|
2996
|
-
lineHeight:
|
|
2996
|
+
lineHeight: We,
|
|
2997
2997
|
gradientColorStops: $,
|
|
2998
2998
|
boxShadow: {
|
|
2999
2999
|
sm: "0 8px 20px 0 rgba(0, 0, 0, 0.08)",
|
|
@@ -3047,7 +3047,7 @@ const Re = /* @__PURE__ */ xe(an), $n = {
|
|
|
3047
3047
|
plugins: [
|
|
3048
3048
|
Re,
|
|
3049
3049
|
X(({ addComponents: o }) => {
|
|
3050
|
-
o(
|
|
3050
|
+
o(Le);
|
|
3051
3051
|
}),
|
|
3052
3052
|
X(function({ matchUtilities: o, theme: r }) {
|
|
3053
3053
|
o(
|
|
@@ -3062,7 +3062,7 @@ const Re = /* @__PURE__ */ xe(an), $n = {
|
|
|
3062
3062
|
);
|
|
3063
3063
|
})
|
|
3064
3064
|
]
|
|
3065
|
-
},
|
|
3065
|
+
}, qn = {
|
|
3066
3066
|
theme: {
|
|
3067
3067
|
extend: {
|
|
3068
3068
|
transitionDuration: {
|
|
@@ -3102,7 +3102,7 @@ const Re = /* @__PURE__ */ xe(an), $n = {
|
|
|
3102
3102
|
}
|
|
3103
3103
|
}
|
|
3104
3104
|
}
|
|
3105
|
-
},
|
|
3105
|
+
}, Vn = {
|
|
3106
3106
|
theme: {
|
|
3107
3107
|
screens: {
|
|
3108
3108
|
mobile: { max: "1187px" },
|
|
@@ -3124,7 +3124,7 @@ const Re = /* @__PURE__ */ xe(an), $n = {
|
|
|
3124
3124
|
borderRadius: Oe,
|
|
3125
3125
|
fontFamily: { roboto: ["var(--ff-roboto)", "sans-serif"] },
|
|
3126
3126
|
fontSize: Ye,
|
|
3127
|
-
lineHeight:
|
|
3127
|
+
lineHeight: We,
|
|
3128
3128
|
gradientColorStops: $,
|
|
3129
3129
|
boxShadow: {
|
|
3130
3130
|
sm: "0 8px 20px 0 rgba(0, 0, 0, 0.08)",
|
|
@@ -3139,7 +3139,7 @@ const Re = /* @__PURE__ */ xe(an), $n = {
|
|
|
3139
3139
|
plugins: [
|
|
3140
3140
|
Re,
|
|
3141
3141
|
X(({ addComponents: o }) => {
|
|
3142
|
-
o(
|
|
3142
|
+
o(Le);
|
|
3143
3143
|
}),
|
|
3144
3144
|
X(function({ matchUtilities: o, theme: r }) {
|
|
3145
3145
|
o(
|
|
@@ -3197,7 +3197,7 @@ const Re = /* @__PURE__ */ xe(an), $n = {
|
|
|
3197
3197
|
r == null ? void 0 : r.advantageItem
|
|
3198
3198
|
),
|
|
3199
3199
|
children: [
|
|
3200
|
-
/* @__PURE__ */ i.jsx(
|
|
3200
|
+
/* @__PURE__ */ i.jsx(L, { as: "h4", className: d("text-color-dark", r == null ? void 0 : r.advantageTitle), children: e }),
|
|
3201
3201
|
/* @__PURE__ */ i.jsx("p", { className: d("desk-body-regular-l text-color-secondary", r == null ? void 0 : r.advantageDescription), children: t })
|
|
3202
3202
|
]
|
|
3203
3203
|
},
|
|
@@ -3254,7 +3254,7 @@ const Re = /* @__PURE__ */ xe(an), $n = {
|
|
|
3254
3254
|
className: d("flex w-[328px] flex-col gap-10 pt-6 desktop:w-full desktop:pt-20", n == null ? void 0 : n.textBlock),
|
|
3255
3255
|
children: [
|
|
3256
3256
|
/* @__PURE__ */ i.jsxs("div", { className: "flex flex-col gap-4", children: [
|
|
3257
|
-
/* @__PURE__ */ i.jsx(
|
|
3257
|
+
/* @__PURE__ */ i.jsx(L, { "data-id": "banner-title", as: "h1", className: d("text-color-white", n == null ? void 0 : n.title), children: o }),
|
|
3258
3258
|
/* @__PURE__ */ i.jsx("p", { "data-id": "banner-subtitle", className: d("desk-body-regular-l text-color-white", n == null ? void 0 : n.subtitle), children: r })
|
|
3259
3259
|
] }),
|
|
3260
3260
|
/* @__PURE__ */ i.jsx(
|
|
@@ -3299,7 +3299,7 @@ const Re = /* @__PURE__ */ xe(an), $n = {
|
|
|
3299
3299
|
/* @__PURE__ */ i.jsxs("div", { "data-id": "banner", className: d("flex flex-col desktop:flex-row desktop:justify-between", n == null ? void 0 : n.wrapper), children: [
|
|
3300
3300
|
/* @__PURE__ */ i.jsxs("div", { className: "flex flex-col desktop:gap-10 desktop:pt-20", children: [
|
|
3301
3301
|
/* @__PURE__ */ i.jsxs("div", { "data-id": "banner-text-block", className: d("flex flex-col gap-4 pt-6 desktop:pt-0", n == null ? void 0 : n.textBlock), children: [
|
|
3302
|
-
/* @__PURE__ */ i.jsx(
|
|
3302
|
+
/* @__PURE__ */ i.jsx(L, { "data-id": "banner-title", as: "h1", className: d("text-color-dark", n == null ? void 0 : n.title), children: o }),
|
|
3303
3303
|
/* @__PURE__ */ i.jsx("p", { "data-id": "banner-subtitle", className: d("desk-body-regular-l text-color-dark", n == null ? void 0 : n.subtitle), children: r })
|
|
3304
3304
|
] }),
|
|
3305
3305
|
/* @__PURE__ */ i.jsx(ze, { buttonsConfig: e, classes: n })
|
|
@@ -3329,7 +3329,7 @@ const Re = /* @__PURE__ */ xe(an), $n = {
|
|
|
3329
3329
|
] }) }),
|
|
3330
3330
|
f && m
|
|
3331
3331
|
] });
|
|
3332
|
-
},
|
|
3332
|
+
}, Qn = ({ bannerVariant: o, ...r }) => {
|
|
3333
3333
|
switch (o) {
|
|
3334
3334
|
case "separateImg":
|
|
3335
3335
|
return /* @__PURE__ */ i.jsx(pe, { ...r });
|
|
@@ -3437,7 +3437,7 @@ const Re = /* @__PURE__ */ xe(an), $n = {
|
|
|
3437
3437
|
{
|
|
3438
3438
|
className: d("flex size-8 items-center justify-center rounded-full bg-[#52576a] p-2", r == null ? void 0 : r.socialLink),
|
|
3439
3439
|
href: t,
|
|
3440
|
-
children: /* @__PURE__ */ i.jsx(
|
|
3440
|
+
children: /* @__PURE__ */ i.jsx(T, { name: e, className: d("h-full w-full text-icon-white", r == null ? void 0 : r.socialIcon) })
|
|
3441
3441
|
},
|
|
3442
3442
|
t
|
|
3443
3443
|
)) }), hn = ({ phones: o, classes: r }) => /* @__PURE__ */ i.jsx("div", { className: d("flex flex-col items-end gap-4", r == null ? void 0 : r.phonesRoot), children: o == null ? void 0 : o.map(({ phone: e, text: t }) => /* @__PURE__ */ i.jsx(
|
|
@@ -3487,7 +3487,7 @@ const Re = /* @__PURE__ */ xe(an), $n = {
|
|
|
3487
3487
|
}
|
|
3488
3488
|
)
|
|
3489
3489
|
] });
|
|
3490
|
-
}, bn = ({ text: o, classes: r }) => /* @__PURE__ */ i.jsx("div", { className: d("desk-body-regular-m text-color-footer", r == null ? void 0 : r.text), children: o }),
|
|
3490
|
+
}, bn = ({ text: o, classes: r }) => /* @__PURE__ */ i.jsx("div", { className: d("desk-body-regular-m text-color-footer", r == null ? void 0 : r.text), children: o }), $n = ({
|
|
3491
3491
|
withSocial: o = !0,
|
|
3492
3492
|
withPhones: r = !0,
|
|
3493
3493
|
withNavLinks: e = !0,
|
|
@@ -3503,7 +3503,7 @@ const Re = /* @__PURE__ */ xe(an), $n = {
|
|
|
3503
3503
|
}) => /* @__PURE__ */ i.jsx(Ie, { className: d("w-full", c == null ? void 0 : c.section), children: /* @__PURE__ */ i.jsx(Y, { className: d(c == null ? void 0 : c.container), children: /* @__PURE__ */ i.jsxs("div", { className: d("bg-color-footer px-4 py-8 desktop:px-6 desktop:py-10", c == null ? void 0 : c.footerRoot), children: [
|
|
3504
3504
|
/* @__PURE__ */ i.jsxs("div", { className: d("mb-8 flex items-center justify-between gap-6", c == null ? void 0 : c.footerHead), children: [
|
|
3505
3505
|
/* @__PURE__ */ i.jsxs("div", { className: d(c == null ? void 0 : c.footerSocialBlock), children: [
|
|
3506
|
-
/* @__PURE__ */ i.jsx("a", { href: "/", className: d(c == null ? void 0 : c.footerLogo), children: /* @__PURE__ */ i.jsx(
|
|
3506
|
+
/* @__PURE__ */ i.jsx("a", { href: "/", className: d(c == null ? void 0 : c.footerLogo), children: /* @__PURE__ */ i.jsx(T, { name: "brandLogos/logoWhite", className: "h-[32px] w-[194px]" }) }),
|
|
3507
3507
|
o && /* @__PURE__ */ i.jsx(mn, { socialsLinks: l, classes: c })
|
|
3508
3508
|
] }),
|
|
3509
3509
|
r && /* @__PURE__ */ i.jsx(hn, { phones: u, classes: c })
|
|
@@ -3545,7 +3545,7 @@ const Re = /* @__PURE__ */ xe(an), $n = {
|
|
|
3545
3545
|
default:
|
|
3546
3546
|
return null;
|
|
3547
3547
|
}
|
|
3548
|
-
},
|
|
3548
|
+
}, Gn = (o) => {
|
|
3549
3549
|
const { logoPath: r = "/", logoType: e = "main", classes: t } = o;
|
|
3550
3550
|
return /* @__PURE__ */ i.jsx("header", { className: d("flex h-[72px] items-center justify-center bg-color-white", t == null ? void 0 : t.header), children: /* @__PURE__ */ i.jsx(Y, { className: d(t == null ? void 0 : t.container), children: /* @__PURE__ */ i.jsxs("div", { className: d("flex items-center justify-between gap-5", t == null ? void 0 : t.wrapper), children: [
|
|
3551
3551
|
/* @__PURE__ */ i.jsx(
|
|
@@ -3582,13 +3582,13 @@ const Re = /* @__PURE__ */ xe(an), $n = {
|
|
|
3582
3582
|
}
|
|
3583
3583
|
),
|
|
3584
3584
|
/* @__PURE__ */ i.jsxs("div", { className: d("flex flex-col gap-4", t == null ? void 0 : t.textBlock), children: [
|
|
3585
|
-
/* @__PURE__ */ i.jsx(
|
|
3585
|
+
/* @__PURE__ */ i.jsx(L, { as: "h4", className: d("text-color-dark", t == null ? void 0 : t.title), children: o }),
|
|
3586
3586
|
/* @__PURE__ */ i.jsx("p", { className: d("desk-body-regular-l text-color-tetriary", t == null ? void 0 : t.description), children: r })
|
|
3587
3587
|
] })
|
|
3588
3588
|
]
|
|
3589
3589
|
}
|
|
3590
|
-
),
|
|
3591
|
-
/* @__PURE__ */ i.jsx(
|
|
3590
|
+
), Xn = ({ heading: o, stepsList: r, classes: e }) => /* @__PURE__ */ i.jsx(Ie, { children: /* @__PURE__ */ i.jsx(Y, { children: /* @__PURE__ */ i.jsxs("div", { className: d("flex flex-col gap-12", e == null ? void 0 : e.root), children: [
|
|
3591
|
+
/* @__PURE__ */ i.jsx(L, { as: "h2", className: d("text-color-dark", e == null ? void 0 : e.headline), children: o }),
|
|
3592
3592
|
/* @__PURE__ */ i.jsx(
|
|
3593
3593
|
"div",
|
|
3594
3594
|
{
|
|
@@ -3599,7 +3599,7 @@ const Re = /* @__PURE__ */ xe(an), $n = {
|
|
|
3599
3599
|
children: r == null ? void 0 : r.map((t, n) => /* @__PURE__ */ i.jsx(wn, { index: n + 1, ...t, classes: e }, t.title))
|
|
3600
3600
|
}
|
|
3601
3601
|
)
|
|
3602
|
-
] }) }) }), gn =
|
|
3602
|
+
] }) }) }), gn = N("", {
|
|
3603
3603
|
variants: {
|
|
3604
3604
|
intent: {
|
|
3605
3605
|
twoItems: "mob-headline-bold-s mb-6 desktop:desk-headline-bold-m desktop:mb-12",
|
|
@@ -3615,7 +3615,7 @@ const Re = /* @__PURE__ */ xe(an), $n = {
|
|
|
3615
3615
|
defaultVariants: {
|
|
3616
3616
|
intent: "twoItems"
|
|
3617
3617
|
}
|
|
3618
|
-
}), kn =
|
|
3618
|
+
}), kn = N("desktop:max-h-[98px]", {
|
|
3619
3619
|
variants: {
|
|
3620
3620
|
intent: {
|
|
3621
3621
|
twoItems: "",
|
|
@@ -3647,7 +3647,7 @@ const Re = /* @__PURE__ */ xe(an), $n = {
|
|
|
3647
3647
|
class: "desktop:grid grid-rows-2 desktop:gap-x-10 desktop:gap-y-4 grid-flow-col"
|
|
3648
3648
|
}
|
|
3649
3649
|
]
|
|
3650
|
-
}), vn =
|
|
3650
|
+
}), vn = N("border-blue-grey-500 pb-6 mobile:mb-6 mobile:border-b mobile:last:pb-0 mobile:last:mb-0", {
|
|
3651
3651
|
variants: {
|
|
3652
3652
|
intent: {
|
|
3653
3653
|
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',
|
|
@@ -3657,7 +3657,7 @@ const Re = /* @__PURE__ */ xe(an), $n = {
|
|
|
3657
3657
|
defaultVariants: {
|
|
3658
3658
|
intent: "twoItems"
|
|
3659
3659
|
}
|
|
3660
|
-
}), jn =
|
|
3660
|
+
}), jn = N("mobile:mx-auto mobile:mb-8, h-[172px] w-[280px] ", {
|
|
3661
3661
|
variants: {
|
|
3662
3662
|
intent: {
|
|
3663
3663
|
twoItems: "desktop:h-[232px] desktop:w-[500px]",
|
|
@@ -3688,11 +3688,11 @@ const Re = /* @__PURE__ */ xe(an), $n = {
|
|
|
3688
3688
|
return /* @__PURE__ */ i.jsx("li", { className: d(vn({ intent: r })), children: /* @__PURE__ */ i.jsxs("div", { className: "desktop:max-w-[264px]", children: [
|
|
3689
3689
|
/* @__PURE__ */ i.jsxs("div", { className: d("mb-2 flex items-center gap-2"), children: [
|
|
3690
3690
|
/* @__PURE__ */ i.jsx("h4", { className: d("mob-title-bold-m text-color-dark"), children: e }),
|
|
3691
|
-
n && /* @__PURE__ */ i.jsx(Ge, { triggerElement: /* @__PURE__ */ i.jsx(
|
|
3691
|
+
n && /* @__PURE__ */ i.jsx(Ge, { triggerElement: /* @__PURE__ */ i.jsx(T, { className: d("size-4 text-icon-blue-grey-600"), name: "info/helpCircle" }), children: n })
|
|
3692
3692
|
] }),
|
|
3693
3693
|
/* @__PURE__ */ i.jsx("p", { className: d("mob-body-regular-l text-color-secondary"), children: t })
|
|
3694
3694
|
] }) });
|
|
3695
|
-
}, K = ({ intent: o, title: r, desktopHidden: e = !1, mobileHidden: t = !1 }) => /* @__PURE__ */ i.jsx("h2", { className: d(gn({ intent: o, desktopHidden: e, mobileHidden: t })), children: r }),
|
|
3695
|
+
}, K = ({ intent: o, title: r, desktopHidden: e = !1, mobileHidden: t = !1 }) => /* @__PURE__ */ i.jsx("h2", { className: d(gn({ intent: o, desktopHidden: e, mobileHidden: t })), children: r }), Nn = ({ textContent: o, intent: r, withButton: e }) => /* @__PURE__ */ i.jsx("ul", { className: d(kn({ intent: r, withButton: e })), children: o == null ? void 0 : o.map((t, n) => /* @__PURE__ */ i.jsx(Dn, { intent: r, data: t }, n)) }), Zn = ({
|
|
3696
3696
|
title: o,
|
|
3697
3697
|
buttonConfig: r,
|
|
3698
3698
|
intent: e = "twoItems",
|
|
@@ -3719,7 +3719,7 @@ const Re = /* @__PURE__ */ xe(an), $n = {
|
|
|
3719
3719
|
className: d("desktop:flex desktop:flex-col desktop:justify-center desktop:py-10", a == null ? void 0 : a.textWithBtnContainer),
|
|
3720
3720
|
children: [
|
|
3721
3721
|
u && /* @__PURE__ */ i.jsx(K, { intent: e, title: o, mobileHidden: !0 }),
|
|
3722
|
-
/* @__PURE__ */ i.jsx(
|
|
3722
|
+
/* @__PURE__ */ i.jsx(Nn, { textContent: t, intent: e, withButton: l }),
|
|
3723
3723
|
l && /* @__PURE__ */ i.jsx(
|
|
3724
3724
|
Q,
|
|
3725
3725
|
{
|
|
@@ -3740,57 +3740,53 @@ const Re = /* @__PURE__ */ xe(an), $n = {
|
|
|
3740
3740
|
};
|
|
3741
3741
|
export {
|
|
3742
3742
|
qe as Advantages,
|
|
3743
|
-
|
|
3744
|
-
|
|
3743
|
+
Kn as Badge,
|
|
3744
|
+
Qn as Banner,
|
|
3745
3745
|
pe as BannerWithSeparateImg,
|
|
3746
3746
|
On as Breadcrumbs,
|
|
3747
3747
|
Q as Button,
|
|
3748
3748
|
Fn as ButtonIcon,
|
|
3749
3749
|
Yn as CustomLink,
|
|
3750
|
-
|
|
3751
|
-
|
|
3752
|
-
|
|
3753
|
-
|
|
3754
|
-
W as Heading,
|
|
3755
|
-
N as Icon,
|
|
3750
|
+
Wn as Document,
|
|
3751
|
+
$n as Footer,
|
|
3752
|
+
L as Heading,
|
|
3753
|
+
T as Icon,
|
|
3756
3754
|
$e as Loader,
|
|
3757
|
-
|
|
3758
|
-
|
|
3759
|
-
|
|
3755
|
+
Zn as LongBanner,
|
|
3756
|
+
Sn as Notification,
|
|
3757
|
+
Gn as PageHeader,
|
|
3760
3758
|
Me as PhoneView,
|
|
3761
|
-
|
|
3759
|
+
Ln as ProgressBar,
|
|
3762
3760
|
Y as ResponsiveContainer,
|
|
3763
3761
|
me as RgxCheckForHyphen,
|
|
3764
3762
|
tn as RgxPatronymic,
|
|
3765
3763
|
en as RgxUnicode,
|
|
3766
3764
|
Ie as Section,
|
|
3767
|
-
|
|
3768
|
-
|
|
3765
|
+
Hn as Skeleton,
|
|
3766
|
+
Xn as Stepper,
|
|
3769
3767
|
En as Table,
|
|
3770
3768
|
q as VALIDATION_MESSAGES,
|
|
3771
|
-
Vn as VITE_DADATA_BASE_CACHE_URL,
|
|
3772
|
-
Qn as VITE_DADATA_BASE_CONSTANTS_URL,
|
|
3773
3769
|
$ as allowedBackgroundColors,
|
|
3774
3770
|
Fe as allowedBackgroundDeg,
|
|
3775
3771
|
Ee as allowedBannersBackgroundColors,
|
|
3776
3772
|
Oe as allowedBorderRadius,
|
|
3777
3773
|
Ye as allowedFontSize,
|
|
3778
3774
|
E as allowedIconsColors,
|
|
3779
|
-
|
|
3775
|
+
We as allowedLineHeight,
|
|
3780
3776
|
G as allowedStrokeColors,
|
|
3781
3777
|
Ce as allowedTextColors,
|
|
3782
|
-
|
|
3778
|
+
Le as allowedTextStyles,
|
|
3783
3779
|
nn as allowedZIndex,
|
|
3784
3780
|
Mn as capitalize,
|
|
3785
3781
|
d as cn,
|
|
3786
3782
|
In as deepCompare,
|
|
3787
|
-
|
|
3783
|
+
qn as extendsPreset,
|
|
3788
3784
|
Cn as formatToDate,
|
|
3789
3785
|
rn as formattedDadataFio,
|
|
3790
|
-
|
|
3791
|
-
|
|
3792
|
-
|
|
3793
|
-
|
|
3786
|
+
eo as isClient,
|
|
3787
|
+
Vn as resetPreset,
|
|
3788
|
+
zn as tailwindConfigBase,
|
|
3789
|
+
An as zodCalendarValidate,
|
|
3794
3790
|
Bn as zodDadataFioSchema,
|
|
3795
3791
|
Rn as zodPhoneSchema
|
|
3796
3792
|
};
|