@yakavkaz/uikit 0.0.2 → 0.0.3
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/common/nextLink.d.ts +3 -0
- package/dist/common/nextLink.d.ts.map +1 -0
- package/dist/components/header/Header.d.ts +9 -2
- package/dist/components/header/Header.d.ts.map +1 -1
- package/dist/components/logo/Logo.d.ts +0 -1
- package/dist/components/logo/Logo.d.ts.map +1 -1
- package/dist/index.cjs +1 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +430 -393
- package/dist/index.js.map +1 -1
- package/dist/style.css +1 -1
- package/package.json +2 -1
package/dist/index.js
CHANGED
|
@@ -1,19 +1,19 @@
|
|
|
1
|
-
import { jsx as e, jsxs as i, Fragment as
|
|
1
|
+
import { jsx as e, jsxs as i, Fragment as u } from "react/jsx-runtime";
|
|
2
2
|
import * as J from "@radix-ui/react-select";
|
|
3
|
-
import { forwardRef as M, memo as p, useId as
|
|
4
|
-
import
|
|
5
|
-
import { Slot as
|
|
6
|
-
import * as
|
|
3
|
+
import { forwardRef as M, memo as p, useId as W, useMemo as N, useState as P } from "react";
|
|
4
|
+
import m, { clsx as b } from "clsx";
|
|
5
|
+
import { Slot as f } from "@radix-ui/react-slot";
|
|
6
|
+
import * as L from "@radix-ui/react-checkbox";
|
|
7
7
|
import * as q from "@radix-ui/react-label";
|
|
8
|
-
import * as
|
|
9
|
-
const V = (
|
|
8
|
+
import * as G from "@radix-ui/react-dropdown-menu";
|
|
9
|
+
const V = (A, g) => /* @__PURE__ */ e(
|
|
10
10
|
"svg",
|
|
11
11
|
{
|
|
12
12
|
xmlns: "http://www.w3.org/2000/svg",
|
|
13
13
|
fill: "none",
|
|
14
14
|
viewBox: "0 0 24 24",
|
|
15
|
-
ref:
|
|
16
|
-
...
|
|
15
|
+
ref: g,
|
|
16
|
+
...A,
|
|
17
17
|
children: /* @__PURE__ */ e(
|
|
18
18
|
"path",
|
|
19
19
|
{
|
|
@@ -22,14 +22,14 @@ const V = (g, A) => /* @__PURE__ */ e(
|
|
|
22
22
|
}
|
|
23
23
|
)
|
|
24
24
|
}
|
|
25
|
-
), _ = M(V), $ = (
|
|
25
|
+
), _ = M(V), $ = (A, g) => /* @__PURE__ */ e(
|
|
26
26
|
"svg",
|
|
27
27
|
{
|
|
28
28
|
xmlns: "http://www.w3.org/2000/svg",
|
|
29
29
|
fill: "none",
|
|
30
30
|
viewBox: "0 0 380 100",
|
|
31
|
-
ref:
|
|
32
|
-
...
|
|
31
|
+
ref: g,
|
|
32
|
+
...A,
|
|
33
33
|
children: /* @__PURE__ */ e(
|
|
34
34
|
"path",
|
|
35
35
|
{
|
|
@@ -38,14 +38,14 @@ const V = (g, A) => /* @__PURE__ */ e(
|
|
|
38
38
|
}
|
|
39
39
|
)
|
|
40
40
|
}
|
|
41
|
-
),
|
|
41
|
+
), H = M($), ee = (A, g) => /* @__PURE__ */ i(
|
|
42
42
|
"svg",
|
|
43
43
|
{
|
|
44
44
|
xmlns: "http://www.w3.org/2000/svg",
|
|
45
45
|
fill: "none",
|
|
46
46
|
viewBox: "0 0 24 24",
|
|
47
|
-
ref:
|
|
48
|
-
...
|
|
47
|
+
ref: g,
|
|
48
|
+
...A,
|
|
49
49
|
children: [
|
|
50
50
|
/* @__PURE__ */ e("g", { clipPath: "url(#checkmark-outline_svg__a)", children: /* @__PURE__ */ e(
|
|
51
51
|
"path",
|
|
@@ -57,14 +57,14 @@ const V = (g, A) => /* @__PURE__ */ e(
|
|
|
57
57
|
/* @__PURE__ */ e("defs", { children: /* @__PURE__ */ e("clipPath", { id: "checkmark-outline_svg__a", children: /* @__PURE__ */ e("path", { fill: "currentColor", d: "M0 0h24v24H0z" }) }) })
|
|
58
58
|
]
|
|
59
59
|
}
|
|
60
|
-
), ge = M(ee), Ae = (
|
|
60
|
+
), ge = M(ee), Ae = (A, g) => /* @__PURE__ */ i(
|
|
61
61
|
"svg",
|
|
62
62
|
{
|
|
63
63
|
xmlns: "http://www.w3.org/2000/svg",
|
|
64
64
|
fill: "none",
|
|
65
65
|
viewBox: "0 0 24 24",
|
|
66
|
-
ref:
|
|
67
|
-
...
|
|
66
|
+
ref: g,
|
|
67
|
+
...A,
|
|
68
68
|
children: [
|
|
69
69
|
/* @__PURE__ */ e("g", { clipPath: "url(#close_svg__a)", children: /* @__PURE__ */ e(
|
|
70
70
|
"path",
|
|
@@ -76,14 +76,14 @@ const V = (g, A) => /* @__PURE__ */ e(
|
|
|
76
76
|
/* @__PURE__ */ e("defs", { children: /* @__PURE__ */ e("clipPath", { id: "close_svg__a", children: /* @__PURE__ */ e("path", { fill: "currentColor", d: "M0 0h24v24H0z" }) }) })
|
|
77
77
|
]
|
|
78
78
|
}
|
|
79
|
-
), ce = M(Ae), ie = (
|
|
79
|
+
), ce = M(Ae), ie = (A, g) => /* @__PURE__ */ i(
|
|
80
80
|
"svg",
|
|
81
81
|
{
|
|
82
82
|
xmlns: "http://www.w3.org/2000/svg",
|
|
83
83
|
fill: "none",
|
|
84
84
|
viewBox: "0 0 24 24",
|
|
85
|
-
ref:
|
|
86
|
-
...
|
|
85
|
+
ref: g,
|
|
86
|
+
...A,
|
|
87
87
|
children: [
|
|
88
88
|
/* @__PURE__ */ i("g", { fill: "currentColor", clipPath: "url(#eye-off-outline_svg__a)", children: [
|
|
89
89
|
/* @__PURE__ */ e("path", { d: "M4.71 3.29a1.004 1.004 0 1 0-1.42 1.42l5.63 5.63a3.5 3.5 0 0 0 4.74 4.74l5.63 5.63a1.002 1.002 0 0 0 1.639-.325 1 1 0 0 0-.219-1.095zM12 13.5a1.5 1.5 0 0 1-1.5-1.5v-.07l1.56 1.56z" }),
|
|
@@ -92,14 +92,14 @@ const V = (g, A) => /* @__PURE__ */ e(
|
|
|
92
92
|
/* @__PURE__ */ e("defs", { children: /* @__PURE__ */ e("clipPath", { id: "eye-off-outline_svg__a", children: /* @__PURE__ */ e("path", { fill: "currentColor", d: "M0 0h24v24H0z" }) }) })
|
|
93
93
|
]
|
|
94
94
|
}
|
|
95
|
-
), Be = M(ie), ne = (
|
|
95
|
+
), Be = M(ie), ne = (A, g) => /* @__PURE__ */ i(
|
|
96
96
|
"svg",
|
|
97
97
|
{
|
|
98
98
|
xmlns: "http://www.w3.org/2000/svg",
|
|
99
99
|
fill: "none",
|
|
100
100
|
viewBox: "0 0 24 24",
|
|
101
|
-
ref:
|
|
102
|
-
...
|
|
101
|
+
ref: g,
|
|
102
|
+
...A,
|
|
103
103
|
children: [
|
|
104
104
|
/* @__PURE__ */ i("g", { fill: "currentColor", clipPath: "url(#eye-off_svg__a)", children: [
|
|
105
105
|
/* @__PURE__ */ e("path", { d: "M12 13.5a1.5 1.5 0 1 0 0-3 1.5 1.5 0 0 0 0 3M15.29 18.12 14 16.78l-.07-.07-1.27-1.27A3.5 3.5 0 0 1 8.5 12a4 4 0 0 1 .06-.61l-2-2L5 7.87a15.9 15.9 0 0 0-2.87 3.63 1 1 0 0 0 0 1c.63 1.09 4 6.5 9.89 6.5h.25a9.5 9.5 0 0 0 3.23-.67zM8.59 5.76l2.8 2.8A4 4 0 0 1 12 8.5a3.5 3.5 0 0 1 3.5 3.5 4 4 0 0 1-.06.61l2.68 2.68.84.84a15.9 15.9 0 0 0 2.91-3.63 1 1 0 0 0 0-1c-.64-1.11-4.16-6.68-10.14-6.5a9.5 9.5 0 0 0-3.23.67z" }),
|
|
@@ -108,14 +108,14 @@ const V = (g, A) => /* @__PURE__ */ e(
|
|
|
108
108
|
/* @__PURE__ */ e("defs", { children: /* @__PURE__ */ e("clipPath", { id: "eye-off_svg__a", children: /* @__PURE__ */ e("path", { fill: "currentColor", d: "M0 0h24v24H0z" }) }) })
|
|
109
109
|
]
|
|
110
110
|
}
|
|
111
|
-
), Me = M(ne), Ye = (
|
|
111
|
+
), Me = M(ne), Ye = (A, g) => /* @__PURE__ */ i(
|
|
112
112
|
"svg",
|
|
113
113
|
{
|
|
114
114
|
xmlns: "http://www.w3.org/2000/svg",
|
|
115
115
|
fill: "none",
|
|
116
116
|
viewBox: "0 0 24 24",
|
|
117
|
-
ref:
|
|
118
|
-
...
|
|
117
|
+
ref: g,
|
|
118
|
+
...A,
|
|
119
119
|
children: [
|
|
120
120
|
/* @__PURE__ */ i("g", { fill: "currentColor", clipPath: "url(#eye-outline_svg__a)", children: [
|
|
121
121
|
/* @__PURE__ */ e("path", { d: "M21.87 11.5c-.64-1.11-4.16-6.68-10.14-6.5-5.53.14-8.73 5-9.6 6.5a1 1 0 0 0 0 1c.63 1.09 4 6.5 9.89 6.5h.25c5.53-.14 8.74-5 9.6-6.5a1 1 0 0 0 0-1M12.22 17c-4.31.1-7.12-3.59-8-5 1-1.61 3.61-4.9 7.61-5 4.29-.11 7.11 3.59 8 5-1.03 1.61-3.61 4.9-7.61 5" }),
|
|
@@ -124,14 +124,14 @@ const V = (g, A) => /* @__PURE__ */ e(
|
|
|
124
124
|
/* @__PURE__ */ e("defs", { children: /* @__PURE__ */ e("clipPath", { id: "eye-outline_svg__a", children: /* @__PURE__ */ e("path", { fill: "currentColor", d: "M0 0h24v24H0z" }) }) })
|
|
125
125
|
]
|
|
126
126
|
}
|
|
127
|
-
),
|
|
127
|
+
), me = M(Ye), xe = (A, g) => /* @__PURE__ */ i(
|
|
128
128
|
"svg",
|
|
129
129
|
{
|
|
130
130
|
xmlns: "http://www.w3.org/2000/svg",
|
|
131
131
|
fill: "none",
|
|
132
132
|
viewBox: "0 0 24 24",
|
|
133
|
-
ref:
|
|
134
|
-
...
|
|
133
|
+
ref: g,
|
|
134
|
+
...A,
|
|
135
135
|
children: [
|
|
136
136
|
/* @__PURE__ */ i("g", { fill: "currentColor", clipPath: "url(#eye_svg__a)", children: [
|
|
137
137
|
/* @__PURE__ */ e("path", { d: "M12 13.5a1.5 1.5 0 1 0 0-3 1.5 1.5 0 0 0 0 3" }),
|
|
@@ -140,14 +140,14 @@ const V = (g, A) => /* @__PURE__ */ e(
|
|
|
140
140
|
/* @__PURE__ */ e("defs", { children: /* @__PURE__ */ e("clipPath", { id: "eye_svg__a", children: /* @__PURE__ */ e("path", { fill: "currentColor", d: "M0 0h24v24H0z" }) }) })
|
|
141
141
|
]
|
|
142
142
|
}
|
|
143
|
-
), le = M(
|
|
143
|
+
), le = M(xe), Ee = (A, g) => /* @__PURE__ */ e(
|
|
144
144
|
"svg",
|
|
145
145
|
{
|
|
146
146
|
xmlns: "http://www.w3.org/2000/svg",
|
|
147
147
|
fill: "none",
|
|
148
148
|
viewBox: "0 0 24 24",
|
|
149
|
-
ref:
|
|
150
|
-
...
|
|
149
|
+
ref: g,
|
|
150
|
+
...A,
|
|
151
151
|
children: /* @__PURE__ */ e(
|
|
152
152
|
"path",
|
|
153
153
|
{
|
|
@@ -156,14 +156,14 @@ const V = (g, A) => /* @__PURE__ */ e(
|
|
|
156
156
|
}
|
|
157
157
|
)
|
|
158
158
|
}
|
|
159
|
-
), we = M(Ee), he = (
|
|
159
|
+
), we = M(Ee), he = (A, g) => /* @__PURE__ */ i(
|
|
160
160
|
"svg",
|
|
161
161
|
{
|
|
162
162
|
xmlns: "http://www.w3.org/2000/svg",
|
|
163
163
|
fill: "none",
|
|
164
164
|
viewBox: "0 0 60 60",
|
|
165
|
-
ref:
|
|
166
|
-
...
|
|
165
|
+
ref: g,
|
|
166
|
+
...A,
|
|
167
167
|
children: [
|
|
168
168
|
/* @__PURE__ */ e("path", { fill: "currentColor", d: "M.5.5h59v59H.5z" }),
|
|
169
169
|
/* @__PURE__ */ e("path", { stroke: "#D9D9D9", d: "M.5.5h59v59H.5z" }),
|
|
@@ -207,14 +207,14 @@ const V = (g, A) => /* @__PURE__ */ e(
|
|
|
207
207
|
) })
|
|
208
208
|
]
|
|
209
209
|
}
|
|
210
|
-
),
|
|
210
|
+
), ae = M(he), Ie = (A, g) => /* @__PURE__ */ e(
|
|
211
211
|
"svg",
|
|
212
212
|
{
|
|
213
213
|
xmlns: "http://www.w3.org/2000/svg",
|
|
214
214
|
fill: "none",
|
|
215
215
|
viewBox: "0 0 24 24",
|
|
216
|
-
ref:
|
|
217
|
-
...
|
|
216
|
+
ref: g,
|
|
217
|
+
...A,
|
|
218
218
|
children: /* @__PURE__ */ e(
|
|
219
219
|
"path",
|
|
220
220
|
{
|
|
@@ -223,24 +223,24 @@ const V = (g, A) => /* @__PURE__ */ e(
|
|
|
223
223
|
}
|
|
224
224
|
)
|
|
225
225
|
}
|
|
226
|
-
), oe = M(
|
|
226
|
+
), oe = M(Ie), se = (A, g) => /* @__PURE__ */ e(
|
|
227
227
|
"svg",
|
|
228
228
|
{
|
|
229
229
|
xmlns: "http://www.w3.org/2000/svg",
|
|
230
230
|
fill: "none",
|
|
231
231
|
viewBox: "0 0 24 24",
|
|
232
|
-
ref:
|
|
233
|
-
...
|
|
232
|
+
ref: g,
|
|
233
|
+
...A,
|
|
234
234
|
children: /* @__PURE__ */ e("path", { fill: "currentColor", d: "m12 15.4-6-6L7.4 8l4.6 4.6L16.6 8 18 9.4z" })
|
|
235
235
|
}
|
|
236
|
-
), Je = M(se), Ce = (
|
|
236
|
+
), Je = M(se), Ce = (A, g) => /* @__PURE__ */ e(
|
|
237
237
|
"svg",
|
|
238
238
|
{
|
|
239
239
|
xmlns: "http://www.w3.org/2000/svg",
|
|
240
240
|
fill: "none",
|
|
241
241
|
viewBox: "0 0 24 24",
|
|
242
|
-
ref:
|
|
243
|
-
...
|
|
242
|
+
ref: g,
|
|
243
|
+
...A,
|
|
244
244
|
children: /* @__PURE__ */ e(
|
|
245
245
|
"path",
|
|
246
246
|
{
|
|
@@ -249,14 +249,14 @@ const V = (g, A) => /* @__PURE__ */ e(
|
|
|
249
249
|
}
|
|
250
250
|
)
|
|
251
251
|
}
|
|
252
|
-
), ze = M(Ce), te = (
|
|
252
|
+
), ze = M(Ce), te = (A, g) => /* @__PURE__ */ i(
|
|
253
253
|
"svg",
|
|
254
254
|
{
|
|
255
255
|
xmlns: "http://www.w3.org/2000/svg",
|
|
256
256
|
fill: "none",
|
|
257
257
|
viewBox: "0 0 62 62",
|
|
258
|
-
ref:
|
|
259
|
-
...
|
|
258
|
+
ref: g,
|
|
259
|
+
...A,
|
|
260
260
|
children: [
|
|
261
261
|
/* @__PURE__ */ e("path", { stroke: "#D9D9D9", d: "M1 1h60v60H1z" }),
|
|
262
262
|
/* @__PURE__ */ e(
|
|
@@ -268,24 +268,24 @@ const V = (g, A) => /* @__PURE__ */ e(
|
|
|
268
268
|
)
|
|
269
269
|
]
|
|
270
270
|
}
|
|
271
|
-
), Ge = M(te), fe = (
|
|
271
|
+
), Ge = M(te), fe = (A, g) => /* @__PURE__ */ e(
|
|
272
272
|
"svg",
|
|
273
273
|
{
|
|
274
274
|
xmlns: "http://www.w3.org/2000/svg",
|
|
275
275
|
fill: "none",
|
|
276
276
|
viewBox: "0 0 24 24",
|
|
277
|
-
ref:
|
|
278
|
-
...
|
|
277
|
+
ref: g,
|
|
278
|
+
...A,
|
|
279
279
|
children: /* @__PURE__ */ e("path", { fill: "currentColor", d: "M3 18v-2h18v2zm0-5v-2h18v2zm0-5V6h18v2z" })
|
|
280
280
|
}
|
|
281
|
-
), re = M(fe), ue = (
|
|
281
|
+
), re = M(fe), ue = (A, g) => /* @__PURE__ */ e(
|
|
282
282
|
"svg",
|
|
283
283
|
{
|
|
284
284
|
xmlns: "http://www.w3.org/2000/svg",
|
|
285
285
|
fill: "none",
|
|
286
286
|
viewBox: "0 0 24 24",
|
|
287
|
-
ref:
|
|
288
|
-
...
|
|
287
|
+
ref: g,
|
|
288
|
+
...A,
|
|
289
289
|
children: /* @__PURE__ */ e(
|
|
290
290
|
"path",
|
|
291
291
|
{
|
|
@@ -294,14 +294,14 @@ const V = (g, A) => /* @__PURE__ */ e(
|
|
|
294
294
|
}
|
|
295
295
|
)
|
|
296
296
|
}
|
|
297
|
-
), Qe = M(ue), Re = (
|
|
297
|
+
), Qe = M(ue), Re = (A, g) => /* @__PURE__ */ i(
|
|
298
298
|
"svg",
|
|
299
299
|
{
|
|
300
300
|
xmlns: "http://www.w3.org/2000/svg",
|
|
301
301
|
fill: "none",
|
|
302
302
|
viewBox: "0 0 24 24",
|
|
303
|
-
ref:
|
|
304
|
-
...
|
|
303
|
+
ref: g,
|
|
304
|
+
...A,
|
|
305
305
|
children: [
|
|
306
306
|
/* @__PURE__ */ e("g", { clipPath: "url(#telegram_svg__a)", children: /* @__PURE__ */ e(
|
|
307
307
|
"path",
|
|
@@ -313,14 +313,14 @@ const V = (g, A) => /* @__PURE__ */ e(
|
|
|
313
313
|
/* @__PURE__ */ e("defs", { children: /* @__PURE__ */ e("clipPath", { id: "telegram_svg__a", children: /* @__PURE__ */ e("path", { fill: "currentColor", d: "M0 0h24v24H0z" }) }) })
|
|
314
314
|
]
|
|
315
315
|
}
|
|
316
|
-
), ke = M(Re),
|
|
316
|
+
), ke = M(Re), ve = (A, g) => /* @__PURE__ */ i(
|
|
317
317
|
"svg",
|
|
318
318
|
{
|
|
319
319
|
xmlns: "http://www.w3.org/2000/svg",
|
|
320
320
|
fill: "none",
|
|
321
321
|
viewBox: "0 0 24 24",
|
|
322
|
-
ref:
|
|
323
|
-
...
|
|
322
|
+
ref: g,
|
|
323
|
+
...A,
|
|
324
324
|
children: [
|
|
325
325
|
/* @__PURE__ */ e("g", { clipPath: "url(#vk_svg__a)", children: /* @__PURE__ */ e(
|
|
326
326
|
"path",
|
|
@@ -332,14 +332,14 @@ const V = (g, A) => /* @__PURE__ */ e(
|
|
|
332
332
|
/* @__PURE__ */ e("defs", { children: /* @__PURE__ */ e("clipPath", { id: "vk_svg__a", children: /* @__PURE__ */ e("path", { fill: "currentColor", d: "M0 0h24v24H0z" }) }) })
|
|
333
333
|
]
|
|
334
334
|
}
|
|
335
|
-
),
|
|
335
|
+
), Oe = M(ve), Ze = (A, g) => /* @__PURE__ */ i(
|
|
336
336
|
"svg",
|
|
337
337
|
{
|
|
338
338
|
xmlns: "http://www.w3.org/2000/svg",
|
|
339
339
|
fill: "none",
|
|
340
340
|
viewBox: "0 0 62 62",
|
|
341
|
-
ref:
|
|
342
|
-
...
|
|
341
|
+
ref: g,
|
|
342
|
+
...A,
|
|
343
343
|
children: [
|
|
344
344
|
/* @__PURE__ */ e("path", { stroke: "#D9D9D9", d: "M1 1h60v60H1z" }),
|
|
345
345
|
/* @__PURE__ */ e(
|
|
@@ -358,14 +358,14 @@ const V = (g, A) => /* @__PURE__ */ e(
|
|
|
358
358
|
)
|
|
359
359
|
]
|
|
360
360
|
}
|
|
361
|
-
), de = M(Ze), Fe = (
|
|
361
|
+
), de = M(Ze), Fe = (A, g) => /* @__PURE__ */ e(
|
|
362
362
|
"svg",
|
|
363
363
|
{
|
|
364
364
|
xmlns: "http://www.w3.org/2000/svg",
|
|
365
365
|
fill: "none",
|
|
366
366
|
viewBox: "0 0 24 24",
|
|
367
|
-
ref:
|
|
368
|
-
...
|
|
367
|
+
ref: g,
|
|
368
|
+
...A,
|
|
369
369
|
children: /* @__PURE__ */ e(
|
|
370
370
|
"path",
|
|
371
371
|
{
|
|
@@ -376,14 +376,14 @@ const V = (g, A) => /* @__PURE__ */ e(
|
|
|
376
376
|
}
|
|
377
377
|
)
|
|
378
378
|
}
|
|
379
|
-
), je = M(Fe), De = (
|
|
379
|
+
), je = M(Fe), De = (A, g) => /* @__PURE__ */ i(
|
|
380
380
|
"svg",
|
|
381
381
|
{
|
|
382
382
|
xmlns: "http://www.w3.org/2000/svg",
|
|
383
383
|
fill: "none",
|
|
384
384
|
viewBox: "0 0 20 20",
|
|
385
|
-
ref:
|
|
386
|
-
...
|
|
385
|
+
ref: g,
|
|
386
|
+
...A,
|
|
387
387
|
children: [
|
|
388
388
|
/* @__PURE__ */ e("g", { clipPath: "url(#x_svg__a)", children: /* @__PURE__ */ e(
|
|
389
389
|
"path",
|
|
@@ -395,14 +395,14 @@ const V = (g, A) => /* @__PURE__ */ e(
|
|
|
395
395
|
/* @__PURE__ */ e("defs", { children: /* @__PURE__ */ e("clipPath", { id: "x_svg__a", children: /* @__PURE__ */ e("path", { fill: "currentColor", d: "M0 0h20v20H0z" }) }) })
|
|
396
396
|
]
|
|
397
397
|
}
|
|
398
|
-
), Le = M(De), We = (
|
|
398
|
+
), Le = M(De), We = (A, g) => /* @__PURE__ */ i(
|
|
399
399
|
"svg",
|
|
400
400
|
{
|
|
401
401
|
xmlns: "http://www.w3.org/2000/svg",
|
|
402
402
|
fill: "none",
|
|
403
403
|
viewBox: "0 0 34 24",
|
|
404
|
-
ref:
|
|
405
|
-
...
|
|
404
|
+
ref: g,
|
|
405
|
+
...A,
|
|
406
406
|
children: [
|
|
407
407
|
/* @__PURE__ */ e(
|
|
408
408
|
"path",
|
|
@@ -420,14 +420,14 @@ const V = (g, A) => /* @__PURE__ */ e(
|
|
|
420
420
|
)
|
|
421
421
|
]
|
|
422
422
|
}
|
|
423
|
-
), He = M(We), Se = (
|
|
423
|
+
), He = M(We), Se = (A, g) => /* @__PURE__ */ i(
|
|
424
424
|
"svg",
|
|
425
425
|
{
|
|
426
426
|
xmlns: "http://www.w3.org/2000/svg",
|
|
427
427
|
fill: "none",
|
|
428
428
|
viewBox: "0 0 62 62",
|
|
429
|
-
ref:
|
|
430
|
-
...
|
|
429
|
+
ref: g,
|
|
430
|
+
...A,
|
|
431
431
|
children: [
|
|
432
432
|
/* @__PURE__ */ e("path", { stroke: "#D9D9D9", d: "M1 1h60v60H1z" }),
|
|
433
433
|
/* @__PURE__ */ e(
|
|
@@ -442,15 +442,15 @@ const V = (g, A) => /* @__PURE__ */ e(
|
|
|
442
442
|
), Ue = M(Se), ye = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
443
443
|
__proto__: null,
|
|
444
444
|
Arrow: _,
|
|
445
|
-
BannerBgYak:
|
|
445
|
+
BannerBgYak: H,
|
|
446
446
|
CheckmarkOutline: ge,
|
|
447
447
|
Close: ce,
|
|
448
448
|
Eye: le,
|
|
449
449
|
EyeOff: Me,
|
|
450
450
|
EyeOffOutline: Be,
|
|
451
|
-
EyeOutline:
|
|
451
|
+
EyeOutline: me,
|
|
452
452
|
Filter: we,
|
|
453
|
-
Gos:
|
|
453
|
+
Gos: ae,
|
|
454
454
|
Journalist: oe,
|
|
455
455
|
KeyboardArrowDown: Je,
|
|
456
456
|
LocationOn: ze,
|
|
@@ -458,16 +458,16 @@ const V = (g, A) => /* @__PURE__ */ e(
|
|
|
458
458
|
Menu: re,
|
|
459
459
|
Search: Qe,
|
|
460
460
|
Telegram: ke,
|
|
461
|
-
Vk:
|
|
461
|
+
Vk: Oe,
|
|
462
462
|
VkAuth: de,
|
|
463
463
|
Whatsaap: je,
|
|
464
464
|
X: Le,
|
|
465
465
|
Yak: He,
|
|
466
466
|
Yandex: Ue
|
|
467
|
-
}, Symbol.toStringTag, { value: "Module" })), Te = ({ iconId:
|
|
468
|
-
const
|
|
469
|
-
return
|
|
470
|
-
}, Ke = M(Te),
|
|
467
|
+
}, Symbol.toStringTag, { value: "Module" })), Te = ({ iconId: A, ...g }, B) => {
|
|
468
|
+
const n = ye[A];
|
|
469
|
+
return n ? /* @__PURE__ */ e(n, { ...g, ref: B }) : null;
|
|
470
|
+
}, Ke = M(Te), I = p(Ke), h = {
|
|
471
471
|
large: "large",
|
|
472
472
|
// 48px
|
|
473
473
|
h1: "h1",
|
|
@@ -548,52 +548,52 @@ const V = (g, A) => /* @__PURE__ */ e(
|
|
|
548
548
|
// 16px
|
|
549
549
|
[h.small_link]: "text-xxs font-regular text-primary-500 underline cursor-pointer"
|
|
550
550
|
// 14px
|
|
551
|
-
},
|
|
552
|
-
({ asChild:
|
|
553
|
-
const
|
|
551
|
+
}, o = M(
|
|
552
|
+
({ asChild: A, variant: g = h.regular_text_16, className: B, ...n }, c) => {
|
|
553
|
+
const x = A ? f : "span", Y = Xe[g];
|
|
554
554
|
return /* @__PURE__ */ e(
|
|
555
|
-
|
|
555
|
+
x,
|
|
556
556
|
{
|
|
557
|
-
ref:
|
|
558
|
-
className:
|
|
557
|
+
ref: c,
|
|
558
|
+
className: m(
|
|
559
559
|
"font-primary",
|
|
560
560
|
// Базовый шрифт
|
|
561
561
|
Y,
|
|
562
|
-
|
|
562
|
+
B
|
|
563
563
|
),
|
|
564
|
-
...
|
|
564
|
+
...n
|
|
565
565
|
}
|
|
566
566
|
);
|
|
567
567
|
}
|
|
568
568
|
);
|
|
569
|
-
|
|
570
|
-
const
|
|
569
|
+
o.displayName = "Typography";
|
|
570
|
+
const S = M(
|
|
571
571
|
({
|
|
572
|
-
children:
|
|
573
|
-
className:
|
|
574
|
-
defaultValue:
|
|
575
|
-
triggerIcon:
|
|
576
|
-
style:
|
|
577
|
-
placeholder:
|
|
572
|
+
children: A,
|
|
573
|
+
className: g,
|
|
574
|
+
defaultValue: B = "10",
|
|
575
|
+
triggerIcon: n,
|
|
576
|
+
style: c,
|
|
577
|
+
placeholder: x,
|
|
578
578
|
label: Y,
|
|
579
579
|
labelColor: w,
|
|
580
580
|
...E
|
|
581
|
-
}, l) => /* @__PURE__ */ i("div", { className:
|
|
581
|
+
}, l) => /* @__PURE__ */ i("div", { className: m("flex flex-col gap-1", g), children: [
|
|
582
582
|
Y && /* @__PURE__ */ e(
|
|
583
|
-
|
|
583
|
+
o,
|
|
584
584
|
{
|
|
585
585
|
style: { color: w },
|
|
586
586
|
variant: h.regular_text_14,
|
|
587
587
|
children: Y[0]?.toUpperCase() + Y.slice(1)
|
|
588
588
|
}
|
|
589
589
|
),
|
|
590
|
-
/* @__PURE__ */ i(J.Root, { defaultValue:
|
|
590
|
+
/* @__PURE__ */ i(J.Root, { defaultValue: B, ...E, children: [
|
|
591
591
|
/* @__PURE__ */ i(
|
|
592
592
|
J.Trigger,
|
|
593
593
|
{
|
|
594
594
|
ref: l,
|
|
595
|
-
style:
|
|
596
|
-
className:
|
|
595
|
+
style: c,
|
|
596
|
+
className: m(
|
|
597
597
|
"inline-flex items-center justify-between gap-2",
|
|
598
598
|
"px-3 py-1.5 text-black",
|
|
599
599
|
"transition-colors",
|
|
@@ -603,10 +603,10 @@ const j = M(
|
|
|
603
603
|
"formattedDate-[state=open]:text-light-900 outline-none"
|
|
604
604
|
),
|
|
605
605
|
children: [
|
|
606
|
-
/* @__PURE__ */ e("div", { className: "flex items-center gap-2", children:
|
|
607
|
-
/* @__PURE__ */ e(J.Value, { placeholder:
|
|
606
|
+
/* @__PURE__ */ e("div", { className: "flex items-center gap-2", children: n && /* @__PURE__ */ e(J.Icon, { className: "h-6 w-6", children: n }) }),
|
|
607
|
+
/* @__PURE__ */ e(J.Value, { placeholder: x }),
|
|
608
608
|
/* @__PURE__ */ e(J.Icon, { className: "text-black", children: /* @__PURE__ */ e(
|
|
609
|
-
|
|
609
|
+
I,
|
|
610
610
|
{
|
|
611
611
|
iconId: "KeyboardArrowDown",
|
|
612
612
|
className: "h-6 w-6 transition-transform duration-300 data-[state=open]:rotate-180"
|
|
@@ -621,44 +621,44 @@ const j = M(
|
|
|
621
621
|
className: "z-50 bg-white w-[--radix-select-trigger-width] overflow-hidden shadow-lg",
|
|
622
622
|
position: "popper",
|
|
623
623
|
sideOffset: 4,
|
|
624
|
-
children: /* @__PURE__ */ e(J.Viewport, { className: "p-1 max-h-[200px]", children:
|
|
624
|
+
children: /* @__PURE__ */ e(J.Viewport, { className: "p-1 max-h-[200px]", children: A })
|
|
625
625
|
}
|
|
626
626
|
) })
|
|
627
627
|
] })
|
|
628
628
|
] })
|
|
629
629
|
);
|
|
630
|
-
|
|
631
|
-
const
|
|
632
|
-
({ children:
|
|
630
|
+
S.displayName = "Selector";
|
|
631
|
+
const U = M(
|
|
632
|
+
({ children: A, className: g = "", value: B, disabled: n }, c) => /* @__PURE__ */ e(
|
|
633
633
|
J.Item,
|
|
634
634
|
{
|
|
635
|
-
ref:
|
|
636
|
-
value:
|
|
637
|
-
disabled:
|
|
638
|
-
className:
|
|
635
|
+
ref: c,
|
|
636
|
+
value: B,
|
|
637
|
+
disabled: n,
|
|
638
|
+
className: m(
|
|
639
639
|
"relative flex cursor-pointer select-none items-center px-3 py-1.5 text-sm",
|
|
640
640
|
"formattedDate-[highlighted]:text-success-300",
|
|
641
641
|
"formattedDate-[disabled]:pointer-events-none formattedDate-[disabled]:text-primary-900",
|
|
642
642
|
"outline-none",
|
|
643
|
-
|
|
643
|
+
g
|
|
644
644
|
),
|
|
645
|
-
children: /* @__PURE__ */ e(J.ItemText, { children:
|
|
645
|
+
children: /* @__PURE__ */ e(J.ItemText, { children: A })
|
|
646
646
|
}
|
|
647
647
|
)
|
|
648
648
|
);
|
|
649
|
-
|
|
650
|
-
const pe = ({ children:
|
|
651
|
-
const
|
|
652
|
-
return
|
|
649
|
+
U.displayName = "SelectItem";
|
|
650
|
+
const pe = ({ children: A, className: g }) => A ? /* @__PURE__ */ e("div", { className: m("w-full", g), children: A }) : /* @__PURE__ */ e("div", { className: m("w-full", g), children: "Пустая карточка" }), Ne = (A) => {
|
|
651
|
+
const g = W();
|
|
652
|
+
return A || g;
|
|
653
653
|
}, Pe = M(
|
|
654
|
-
({ checked:
|
|
655
|
-
const E = Ne(
|
|
654
|
+
({ checked: A, className: g, disabled: B = !1, id: n, label: c, onValueChange: x, ...Y }, w) => {
|
|
655
|
+
const E = Ne(n);
|
|
656
656
|
return /* @__PURE__ */ i("div", { className: "flex items-center", children: [
|
|
657
657
|
/* @__PURE__ */ e(
|
|
658
|
-
|
|
658
|
+
L.Root,
|
|
659
659
|
{
|
|
660
|
-
checked:
|
|
661
|
-
className:
|
|
660
|
+
checked: A,
|
|
661
|
+
className: m(
|
|
662
662
|
"relative cursor-pointer flex items-center justify-center w-[18px] h-[18px] border-2 border-dark-900 rounded-sm",
|
|
663
663
|
"formattedDate-[state=checked]:bg-white formattedDate-[state=checked]:border-dark-900",
|
|
664
664
|
"formattedDate-[disabled]:cursor-default",
|
|
@@ -668,105 +668,105 @@ const pe = ({ children: g, className: A }) => g ? /* @__PURE__ */ e("div", { cla
|
|
|
668
668
|
"focus:before:bg-gray-100",
|
|
669
669
|
"hover:before:bg-gray-100",
|
|
670
670
|
"active:before:bg-gray-100",
|
|
671
|
-
|
|
671
|
+
g
|
|
672
672
|
),
|
|
673
673
|
id: E,
|
|
674
|
-
disabled:
|
|
675
|
-
onCheckedChange:
|
|
674
|
+
disabled: B,
|
|
675
|
+
onCheckedChange: x,
|
|
676
676
|
...Y,
|
|
677
677
|
ref: w,
|
|
678
678
|
children: /* @__PURE__ */ e(
|
|
679
|
-
|
|
679
|
+
L.Indicator,
|
|
680
680
|
{
|
|
681
|
-
className:
|
|
681
|
+
className: m(
|
|
682
682
|
"flex items-center justify-center text-gray-900",
|
|
683
683
|
"formattedDate-[disabled]:text-gray-400"
|
|
684
684
|
),
|
|
685
|
-
children: /* @__PURE__ */ e(
|
|
685
|
+
children: /* @__PURE__ */ e(I, { iconId: "CheckmarkOutline", width: 18 })
|
|
686
686
|
}
|
|
687
687
|
)
|
|
688
688
|
}
|
|
689
689
|
),
|
|
690
|
-
/* @__PURE__ */ e(
|
|
690
|
+
/* @__PURE__ */ e(o, { asChild: !0, variant: h.regular_text_14, children: /* @__PURE__ */ e(
|
|
691
691
|
"label",
|
|
692
692
|
{
|
|
693
|
-
className:
|
|
693
|
+
className: m(
|
|
694
694
|
"cursor-pointer select-none pl-2.5 text-dark-900",
|
|
695
|
-
|
|
695
|
+
B && "cursor-default text-gray-300"
|
|
696
696
|
),
|
|
697
697
|
htmlFor: E,
|
|
698
|
-
children:
|
|
698
|
+
children: c
|
|
699
699
|
}
|
|
700
700
|
) })
|
|
701
701
|
] });
|
|
702
702
|
}
|
|
703
703
|
);
|
|
704
704
|
Pe.displayName = "Checkbox";
|
|
705
|
-
const
|
|
706
|
-
({ asChild:
|
|
707
|
-
const E =
|
|
708
|
-
|
|
709
|
-
},
|
|
705
|
+
const F = M(
|
|
706
|
+
({ asChild: A, onClick: g, variant: B = "primary", fullWidth: n, className: c, disabled: x, ...Y }, w) => {
|
|
707
|
+
const E = A ? f : "button", l = (s) => {
|
|
708
|
+
x && s.preventDefault();
|
|
709
|
+
}, a = m(
|
|
710
710
|
"border border-success-700 font-medium hover:border-success-600 active:border-success-800 focus:ring-2 focus:ring-success-800 disabled:border-success-300 disabled:cursor-not-allowed disabled:pointer-events-none",
|
|
711
711
|
{
|
|
712
|
-
"text-success-700 hover:text-success-600 active:text-green-700 focus:text-success-800 disabled:text-success-300":
|
|
713
|
-
"text-dark-900 hover:text-dark-800 active:text-dark-900 focus:text-dark-900 disabled:text-gray-400":
|
|
712
|
+
"text-success-700 hover:text-success-600 active:text-green-700 focus:text-success-800 disabled:text-success-300": B === "outline",
|
|
713
|
+
"text-dark-900 hover:text-dark-800 active:text-dark-900 focus:text-dark-900 disabled:text-gray-400": B === "outlineBlackText"
|
|
714
714
|
}
|
|
715
715
|
);
|
|
716
716
|
return /* @__PURE__ */ e(
|
|
717
717
|
E,
|
|
718
718
|
{
|
|
719
|
-
disabled:
|
|
720
|
-
onClick:
|
|
719
|
+
disabled: x,
|
|
720
|
+
onClick: A && x ? l : g,
|
|
721
721
|
ref: w,
|
|
722
722
|
...Y,
|
|
723
|
-
className:
|
|
723
|
+
className: m(
|
|
724
724
|
// Base style
|
|
725
725
|
"inline-flex items-center justify-center gap-2.5 box-border text-xs font-semibold leading-6 text-center whitespace-nowrap rounded-sm",
|
|
726
726
|
"cursor-pointer outline-none px-4 py-3",
|
|
727
727
|
{
|
|
728
728
|
// Primary
|
|
729
|
-
"bg-success-700 text-light-100 font-semibold hover:bg-success-600 active:bg-success-800 focus:ring-2 focus:ring-success-800 focus:bg-success-700 disabled:bg-success-300 disabled:text-gray-300":
|
|
729
|
+
"bg-success-700 text-light-100 font-semibold hover:bg-success-600 active:bg-success-800 focus:ring-2 focus:ring-success-800 focus:bg-success-700 disabled:bg-success-300 disabled:text-gray-300": B === "primary",
|
|
730
730
|
//Outline or outlineBlackText
|
|
731
|
-
[
|
|
731
|
+
[a]: B === "outline" || B === "outlineBlackText"
|
|
732
732
|
},
|
|
733
|
-
|
|
734
|
-
|
|
735
|
-
|
|
733
|
+
n && "w-full text-center",
|
|
734
|
+
c,
|
|
735
|
+
A && x && "cursor-not-allowed pointer-events-none"
|
|
736
736
|
)
|
|
737
737
|
}
|
|
738
738
|
);
|
|
739
739
|
}
|
|
740
740
|
);
|
|
741
|
-
|
|
741
|
+
F.displayName = "Button";
|
|
742
742
|
const be = M(
|
|
743
743
|
({
|
|
744
|
-
asChild:
|
|
745
|
-
className:
|
|
746
|
-
children:
|
|
747
|
-
color:
|
|
748
|
-
typographyVariant:
|
|
749
|
-
iconId:
|
|
744
|
+
asChild: A,
|
|
745
|
+
className: g,
|
|
746
|
+
children: B,
|
|
747
|
+
color: n = "success",
|
|
748
|
+
typographyVariant: c = "semibold_small_text",
|
|
749
|
+
iconId: x,
|
|
750
750
|
...Y
|
|
751
751
|
}, w) => /* @__PURE__ */ e(
|
|
752
|
-
|
|
752
|
+
A ? f : "span",
|
|
753
753
|
{
|
|
754
754
|
ref: w,
|
|
755
|
-
className:
|
|
755
|
+
className: m("flex items-center gap-2", g),
|
|
756
756
|
...Y,
|
|
757
|
-
children: /* @__PURE__ */ i(
|
|
758
|
-
|
|
757
|
+
children: /* @__PURE__ */ i(u, { children: [
|
|
758
|
+
x && /* @__PURE__ */ e(I, { iconId: x, width: 24, height: 24 }),
|
|
759
759
|
/* @__PURE__ */ e(
|
|
760
|
-
|
|
760
|
+
o,
|
|
761
761
|
{
|
|
762
|
-
variant:
|
|
763
|
-
asChild:
|
|
764
|
-
className:
|
|
765
|
-
"text-dark-900":
|
|
766
|
-
"text-success-700":
|
|
767
|
-
"text-warning-300":
|
|
762
|
+
variant: c,
|
|
763
|
+
asChild: A,
|
|
764
|
+
className: m({
|
|
765
|
+
"text-dark-900": n === "dark",
|
|
766
|
+
"text-success-700": n === "success",
|
|
767
|
+
"text-warning-300": n === "warning"
|
|
768
768
|
}),
|
|
769
|
-
children:
|
|
769
|
+
children: B
|
|
770
770
|
}
|
|
771
771
|
)
|
|
772
772
|
] })
|
|
@@ -774,16 +774,16 @@ const be = M(
|
|
|
774
774
|
)
|
|
775
775
|
);
|
|
776
776
|
be.displayName = "Tag";
|
|
777
|
-
function qe(
|
|
778
|
-
const
|
|
779
|
-
if (isNaN(
|
|
777
|
+
function qe(A, g = "short") {
|
|
778
|
+
const B = typeof A == "string" ? new Date(A) : A;
|
|
779
|
+
if (isNaN(B.getTime()))
|
|
780
780
|
return "Неверная дата";
|
|
781
|
-
const
|
|
782
|
-
if (
|
|
783
|
-
return
|
|
781
|
+
const n = /* @__PURE__ */ new Date("2025-08-05T15:18:00+02:00"), c = /* @__PURE__ */ new Date("2025-08-12T23:59:59+02:00");
|
|
782
|
+
if (g === "relative")
|
|
783
|
+
return B <= c && B >= n ? `до ${new Intl.DateTimeFormat("ru-RU", {
|
|
784
784
|
day: "numeric",
|
|
785
785
|
month: "long"
|
|
786
|
-
}).format(
|
|
786
|
+
}).format(B).replace(/\./g, "")}` : "Дата вне диапазона";
|
|
787
787
|
const Y = new Intl.DateTimeFormat("ru-RU", {
|
|
788
788
|
timeZone: "Europe/Paris",
|
|
789
789
|
// CEST
|
|
@@ -795,7 +795,7 @@ function qe(g, A = "short") {
|
|
|
795
795
|
// окт
|
|
796
796
|
year: "numeric",
|
|
797
797
|
// 2025
|
|
798
|
-
...
|
|
798
|
+
...g === "full" && {
|
|
799
799
|
hour: "2-digit",
|
|
800
800
|
// 21
|
|
801
801
|
minute: "2-digit",
|
|
@@ -803,29 +803,29 @@ function qe(g, A = "short") {
|
|
|
803
803
|
hour12: !1
|
|
804
804
|
// 24-часовой формат
|
|
805
805
|
}
|
|
806
|
-
}).formatToParts(
|
|
807
|
-
if (
|
|
806
|
+
}).formatToParts(B);
|
|
807
|
+
if (g === "short")
|
|
808
808
|
return Y.filter((l) => ["weekday", "day", "month", "year"].includes(l.type)).map((l) => l.type === "weekday" ? l.value.charAt(0).toUpperCase() + l.value.slice(1) : l.value).join(" ").replace(/\./g, "");
|
|
809
809
|
const w = Y.filter((l) => ["weekday", "day", "month", "year"].includes(l.type)).map((l) => l.type === "weekday" ? l.value.charAt(0).toUpperCase() + l.value.slice(1) : l.value).join(" ").replace(/\./g, ""), E = Y.filter((l) => ["hour", "minute"].includes(l.type)).map((l) => l.value).join(":");
|
|
810
810
|
return `${w} в ${E}`;
|
|
811
811
|
}
|
|
812
812
|
const Ve = M(
|
|
813
813
|
({
|
|
814
|
-
className:
|
|
815
|
-
date:
|
|
816
|
-
variant:
|
|
817
|
-
...
|
|
814
|
+
className: A,
|
|
815
|
+
date: g,
|
|
816
|
+
variant: B = "short",
|
|
817
|
+
...n
|
|
818
818
|
}) => {
|
|
819
|
-
const
|
|
819
|
+
const c = qe(g, B);
|
|
820
820
|
return /* @__PURE__ */ e(
|
|
821
|
-
|
|
821
|
+
o,
|
|
822
822
|
{
|
|
823
823
|
variant: "small_text",
|
|
824
|
-
className:
|
|
825
|
-
"text-red-600":
|
|
824
|
+
className: m("text-light-900", A, {
|
|
825
|
+
"text-red-600": c === "Неверная дата" || c === "Дата вне диапазона"
|
|
826
826
|
}),
|
|
827
|
-
...
|
|
828
|
-
children:
|
|
827
|
+
...n,
|
|
828
|
+
children: c
|
|
829
829
|
}
|
|
830
830
|
);
|
|
831
831
|
}
|
|
@@ -833,44 +833,43 @@ const Ve = M(
|
|
|
833
833
|
Ve.displayName = "FormattedDate";
|
|
834
834
|
const _e = M(
|
|
835
835
|
({
|
|
836
|
-
asChild:
|
|
837
|
-
className:
|
|
838
|
-
iconId:
|
|
839
|
-
typographyVariant:
|
|
840
|
-
children:
|
|
841
|
-
...
|
|
836
|
+
asChild: A,
|
|
837
|
+
className: g,
|
|
838
|
+
iconId: B = "Arrow",
|
|
839
|
+
typographyVariant: n = "h3",
|
|
840
|
+
children: c,
|
|
841
|
+
...x
|
|
842
842
|
}, Y) => /* @__PURE__ */ e(
|
|
843
|
-
|
|
843
|
+
A ? f : "div",
|
|
844
844
|
{
|
|
845
845
|
ref: Y,
|
|
846
|
-
className:
|
|
846
|
+
className: m(
|
|
847
847
|
"w-full max-w-[500px] relative flex items-center justify-between",
|
|
848
848
|
"before:content-[''] before:absolute before:left-0 before:top-1/2 before:-translate-y-1/2 before:w-3 before:h-6 before:bg-success-700 pl-6",
|
|
849
|
-
|
|
849
|
+
g
|
|
850
850
|
),
|
|
851
|
-
...
|
|
851
|
+
...x,
|
|
852
852
|
children: /* @__PURE__ */ i("div", { className: "flex items-center justify-between w-full", children: [
|
|
853
|
-
|
|
854
|
-
/* @__PURE__ */ e(
|
|
853
|
+
c && /* @__PURE__ */ e(o, { variant: n, children: c }),
|
|
854
|
+
/* @__PURE__ */ e(I, { iconId: B, width: 24, height: 24 })
|
|
855
855
|
] })
|
|
856
856
|
}
|
|
857
857
|
)
|
|
858
858
|
);
|
|
859
859
|
_e.displayName = "PreviewTitle";
|
|
860
|
-
const
|
|
860
|
+
const j = M(
|
|
861
861
|
({
|
|
862
|
-
asChild:
|
|
863
|
-
className:
|
|
864
|
-
sectionName:
|
|
865
|
-
iconId:
|
|
866
|
-
variant:
|
|
867
|
-
withTM:
|
|
862
|
+
asChild: A,
|
|
863
|
+
className: g,
|
|
864
|
+
sectionName: B = "",
|
|
865
|
+
iconId: n = "Yak",
|
|
866
|
+
variant: c = "small",
|
|
867
|
+
withTM: x = !1,
|
|
868
868
|
iconColor: Y = "text-success-700",
|
|
869
|
-
|
|
870
|
-
|
|
871
|
-
|
|
872
|
-
|
|
873
|
-
switch (n) {
|
|
869
|
+
...w
|
|
870
|
+
}, E) => {
|
|
871
|
+
const l = A ? f : "div", a = () => {
|
|
872
|
+
switch (c) {
|
|
874
873
|
case "large":
|
|
875
874
|
return { width: 61, height: 44 };
|
|
876
875
|
case "medium":
|
|
@@ -879,8 +878,8 @@ const k = M(
|
|
|
879
878
|
default:
|
|
880
879
|
return { width: 33, height: 24 };
|
|
881
880
|
}
|
|
882
|
-
},
|
|
883
|
-
switch (
|
|
881
|
+
}, s = () => {
|
|
882
|
+
switch (c) {
|
|
884
883
|
case "large":
|
|
885
884
|
return "h1_semibold";
|
|
886
885
|
case "medium":
|
|
@@ -891,196 +890,196 @@ const k = M(
|
|
|
891
890
|
}
|
|
892
891
|
};
|
|
893
892
|
return /* @__PURE__ */ e(
|
|
894
|
-
|
|
893
|
+
l,
|
|
895
894
|
{
|
|
896
|
-
ref:
|
|
897
|
-
className:
|
|
898
|
-
...
|
|
895
|
+
ref: E,
|
|
896
|
+
className: m("inline-flex items-center gap-1", g),
|
|
897
|
+
...w,
|
|
899
898
|
children: /* @__PURE__ */ i("div", { className: "flex items-center gap-1", children: [
|
|
900
899
|
/* @__PURE__ */ e(
|
|
901
|
-
|
|
900
|
+
I,
|
|
902
901
|
{
|
|
903
|
-
iconId:
|
|
902
|
+
iconId: n,
|
|
904
903
|
width: a().width,
|
|
905
904
|
height: a().height,
|
|
906
|
-
className:
|
|
905
|
+
className: m("fill-current", Y),
|
|
907
906
|
style: { color: Y !== "currentColor" && !Y.startsWith("text-") ? Y : void 0 }
|
|
908
907
|
}
|
|
909
908
|
),
|
|
910
|
-
/* @__PURE__ */ i(
|
|
911
|
-
|
|
912
|
-
|
|
909
|
+
/* @__PURE__ */ i(o, { variant: s(), children: [
|
|
910
|
+
"Якавказ",
|
|
911
|
+
x && /* @__PURE__ */ e("sup", { className: "text-[9px] align-super tracking-tight", children: "™" })
|
|
913
912
|
] }),
|
|
914
|
-
/* @__PURE__ */ e(
|
|
913
|
+
/* @__PURE__ */ e(o, { variant: "h2_normal", children: B })
|
|
915
914
|
] })
|
|
916
915
|
}
|
|
917
916
|
);
|
|
918
917
|
}
|
|
919
918
|
);
|
|
920
|
-
|
|
921
|
-
const $e = ({ children:
|
|
919
|
+
j.displayName = "Logo";
|
|
920
|
+
const $e = ({ children: A, className: g, label: B, required: n, labelColor: c = "primary", ...x }) => {
|
|
922
921
|
const Y = N(
|
|
923
922
|
() => ({
|
|
924
923
|
label: b(
|
|
925
924
|
"inline-block mb-1 text-sm leading-6",
|
|
926
|
-
|
|
927
|
-
|
|
928
|
-
|
|
925
|
+
g,
|
|
926
|
+
c === "primary" && "text-light-900",
|
|
927
|
+
c === "disabled" && "text-dark-100"
|
|
929
928
|
),
|
|
930
929
|
required: "ml-0.5 text-danger-300"
|
|
931
930
|
}),
|
|
932
|
-
[
|
|
931
|
+
[g, c]
|
|
933
932
|
);
|
|
934
|
-
return /* @__PURE__ */ i(q.Root, { ...
|
|
935
|
-
|
|
936
|
-
|
|
937
|
-
|
|
933
|
+
return /* @__PURE__ */ i(q.Root, { ...x, children: [
|
|
934
|
+
B && /* @__PURE__ */ i("div", { className: Y.label, children: [
|
|
935
|
+
B,
|
|
936
|
+
n && /* @__PURE__ */ e("span", { className: Y.required, children: "*" })
|
|
938
937
|
] }),
|
|
939
|
-
|
|
938
|
+
A
|
|
940
939
|
] });
|
|
941
940
|
}, eg = M(
|
|
942
941
|
({
|
|
943
|
-
className:
|
|
944
|
-
onClearClick:
|
|
945
|
-
errorMessage:
|
|
946
|
-
iconEnd:
|
|
947
|
-
iconStart:
|
|
948
|
-
label:
|
|
942
|
+
className: A,
|
|
943
|
+
onClearClick: g,
|
|
944
|
+
errorMessage: B,
|
|
945
|
+
iconEnd: n,
|
|
946
|
+
iconStart: c,
|
|
947
|
+
label: x,
|
|
949
948
|
onEnter: Y,
|
|
950
949
|
onKeyDown: w,
|
|
951
950
|
required: E,
|
|
952
951
|
search: l,
|
|
953
|
-
password:
|
|
954
|
-
type:
|
|
955
|
-
labelColor:
|
|
956
|
-
id:
|
|
957
|
-
inputColor:
|
|
958
|
-
...
|
|
959
|
-
},
|
|
960
|
-
const
|
|
961
|
-
l && (
|
|
962
|
-
|
|
952
|
+
password: a,
|
|
953
|
+
type: s,
|
|
954
|
+
labelColor: Q,
|
|
955
|
+
id: R,
|
|
956
|
+
inputColor: k,
|
|
957
|
+
...C
|
|
958
|
+
}, v) => {
|
|
959
|
+
const r = !!B && B.length > 0, [z, O] = P(!1), t = W(), D = R ?? t;
|
|
960
|
+
l && (c = /* @__PURE__ */ e(I, { iconId: "Search", width: 20, className: "text-success-700 focus-within:text-light-100" }), s = "search"), a && (n = /* @__PURE__ */ e(
|
|
961
|
+
I,
|
|
963
962
|
{
|
|
964
|
-
iconId:
|
|
965
|
-
onClick: () =>
|
|
963
|
+
iconId: z ? "EyeOutline" : "EyeOffOutline",
|
|
964
|
+
onClick: () => O(!z),
|
|
966
965
|
className: "cursor-pointer",
|
|
967
966
|
width: 24,
|
|
968
967
|
height: 24
|
|
969
968
|
}
|
|
970
|
-
),
|
|
971
|
-
const K = (
|
|
972
|
-
Y &&
|
|
973
|
-
},
|
|
974
|
-
return /* @__PURE__ */ i("div", { className:
|
|
975
|
-
|
|
969
|
+
), s = z ? "text" : "password");
|
|
970
|
+
const K = (d) => {
|
|
971
|
+
Y && d.key === "Enter" && Y(d), w?.(d);
|
|
972
|
+
}, Z = g && C.value && C.value.length > 0, X = (c ? "start" : "") + (n ? "end" : "");
|
|
973
|
+
return /* @__PURE__ */ i("div", { className: m("flex flex-col w-full", A), children: [
|
|
974
|
+
x && /* @__PURE__ */ e($e, { htmlFor: D, label: x, required: E, labelColor: Q }),
|
|
976
975
|
/* @__PURE__ */ i("div", { className: "relative flex items-center", children: [
|
|
977
|
-
!!
|
|
976
|
+
!!c && /* @__PURE__ */ e("span", { className: "absolute top-1/2 left-5 -translate-y-1/2 grid place-items-center w-6 h-6", children: c }),
|
|
978
977
|
/* @__PURE__ */ e(
|
|
979
978
|
"input",
|
|
980
979
|
{
|
|
981
|
-
className:
|
|
980
|
+
className: m(
|
|
982
981
|
"box-border w-full h-[52px] px-4 font-normal text-xs text-dark-900 bg-transparent border border-light-700 outline-none",
|
|
983
|
-
|
|
984
|
-
|
|
985
|
-
|
|
982
|
+
r && "border-danger-300",
|
|
983
|
+
c && "pl-12",
|
|
984
|
+
n && Z || n || Z ? "pr-12" : "",
|
|
986
985
|
"placeholder:text-dark-200",
|
|
987
986
|
"disabled:text-dark-100 disabled:cursor-not-allowed",
|
|
988
987
|
"focus:text-dark-900 focus:border-light-700",
|
|
989
988
|
"hover:not(:disabled):cursor-text hover:not(:disabled):border-light-700"
|
|
990
989
|
),
|
|
991
990
|
style: {
|
|
992
|
-
backgroundColor:
|
|
993
|
-
...
|
|
991
|
+
backgroundColor: k,
|
|
992
|
+
...s === "search" && { "::-webkit-search-cancel-button": { display: "none" } },
|
|
994
993
|
transition: "all 5000s ease-in-out 0s"
|
|
995
994
|
},
|
|
996
995
|
"data-icon": X,
|
|
997
|
-
id:
|
|
996
|
+
id: D,
|
|
998
997
|
name: "text",
|
|
999
998
|
onKeyDown: K,
|
|
1000
|
-
ref:
|
|
999
|
+
ref: v,
|
|
1001
1000
|
required: E,
|
|
1002
|
-
type:
|
|
1003
|
-
...
|
|
1001
|
+
type: s,
|
|
1002
|
+
...C
|
|
1004
1003
|
}
|
|
1005
1004
|
),
|
|
1006
|
-
|
|
1005
|
+
Z && /* @__PURE__ */ e(
|
|
1007
1006
|
"button",
|
|
1008
1007
|
{
|
|
1009
|
-
className:
|
|
1008
|
+
className: m(
|
|
1010
1009
|
"absolute top-1/2 -translate-y-1/2 cursor-pointer bg-transparent border-none w-6 h-6 text-dark-900",
|
|
1011
|
-
|
|
1010
|
+
n ? "right-12" : "right-5"
|
|
1012
1011
|
),
|
|
1013
|
-
onClick:
|
|
1012
|
+
onClick: g,
|
|
1014
1013
|
type: "button",
|
|
1015
|
-
children: !
|
|
1014
|
+
children: !a && /* @__PURE__ */ e(I, { iconId: "Close", width: 24, height: 24 })
|
|
1016
1015
|
}
|
|
1017
1016
|
),
|
|
1018
|
-
!!
|
|
1017
|
+
!!n && /* @__PURE__ */ e("span", { className: "absolute top-1/2 right-5 -translate-y-1/2 grid place-items-center w-6 h-6", children: n })
|
|
1019
1018
|
] }),
|
|
1020
|
-
|
|
1019
|
+
r && /* @__PURE__ */ e("span", { className: "text-xs font-normal text-danger-300", children: B })
|
|
1021
1020
|
] });
|
|
1022
1021
|
}
|
|
1023
1022
|
);
|
|
1024
1023
|
eg.displayName = "TextField";
|
|
1025
|
-
const
|
|
1024
|
+
const y = M(
|
|
1026
1025
|
({
|
|
1027
|
-
items:
|
|
1028
|
-
triggerLabel:
|
|
1029
|
-
triggerIcon:
|
|
1030
|
-
labelTypography:
|
|
1031
|
-
className:
|
|
1032
|
-
style:
|
|
1026
|
+
items: A,
|
|
1027
|
+
triggerLabel: g = "Ещё",
|
|
1028
|
+
triggerIcon: B = "KeyboardArrowDown",
|
|
1029
|
+
labelTypography: n = "semibold_text_16",
|
|
1030
|
+
className: c,
|
|
1031
|
+
style: x,
|
|
1033
1032
|
children: Y
|
|
1034
1033
|
}, w) => /* @__PURE__ */ i(
|
|
1035
1034
|
"div",
|
|
1036
1035
|
{
|
|
1037
1036
|
ref: w,
|
|
1038
|
-
className:
|
|
1039
|
-
style:
|
|
1037
|
+
className: m("inline-flex items-center", c),
|
|
1038
|
+
style: x,
|
|
1040
1039
|
children: [
|
|
1041
|
-
/* @__PURE__ */ i(
|
|
1042
|
-
/* @__PURE__ */ e(
|
|
1040
|
+
/* @__PURE__ */ i(G.Root, { children: [
|
|
1041
|
+
/* @__PURE__ */ e(G.Trigger, { asChild: !0, children: /* @__PURE__ */ i(
|
|
1043
1042
|
"button",
|
|
1044
1043
|
{
|
|
1045
|
-
className:
|
|
1044
|
+
className: m(
|
|
1046
1045
|
"flex items-center gap-2 px-3 py-1.5 text-black",
|
|
1047
1046
|
"hover:text-light-900 transition-colors",
|
|
1048
1047
|
"outline-none"
|
|
1049
1048
|
),
|
|
1050
|
-
"aria-label":
|
|
1049
|
+
"aria-label": g,
|
|
1051
1050
|
children: [
|
|
1052
|
-
/* @__PURE__ */ e(
|
|
1051
|
+
/* @__PURE__ */ e(o, { variant: n, children: g }),
|
|
1053
1052
|
/* @__PURE__ */ e(
|
|
1054
|
-
|
|
1053
|
+
I,
|
|
1055
1054
|
{
|
|
1056
|
-
iconId:
|
|
1055
|
+
iconId: B,
|
|
1057
1056
|
className: "h-6 w-6 transition-transform duration-300 data-[state=open]:rotate-180"
|
|
1058
1057
|
}
|
|
1059
1058
|
)
|
|
1060
1059
|
]
|
|
1061
1060
|
}
|
|
1062
1061
|
) }),
|
|
1063
|
-
/* @__PURE__ */ e(
|
|
1064
|
-
|
|
1062
|
+
/* @__PURE__ */ e(G.Portal, { children: /* @__PURE__ */ e(
|
|
1063
|
+
G.Content,
|
|
1065
1064
|
{
|
|
1066
|
-
className:
|
|
1065
|
+
className: m(
|
|
1067
1066
|
"z-50 min-w-[150px] bg-white shadow-lg rounded-md p-1",
|
|
1068
1067
|
"max-h-[200px] overflow-auto"
|
|
1069
1068
|
),
|
|
1070
1069
|
sideOffset: 4,
|
|
1071
1070
|
align: "end",
|
|
1072
|
-
children:
|
|
1073
|
-
|
|
1071
|
+
children: A.map((E) => /* @__PURE__ */ e(
|
|
1072
|
+
G.Item,
|
|
1074
1073
|
{
|
|
1075
1074
|
asChild: !0,
|
|
1076
1075
|
disabled: E.disabled,
|
|
1077
|
-
className:
|
|
1076
|
+
className: m(
|
|
1078
1077
|
"flex items-center px-3 py-1.5 text-sm cursor-pointer",
|
|
1079
1078
|
"hover:bg-light-100 hover:text-success-300",
|
|
1080
1079
|
"data-[disabled]:pointer-events-none data-[disabled]:text-primary-900",
|
|
1081
1080
|
"outline-none"
|
|
1082
1081
|
),
|
|
1083
|
-
children: /* @__PURE__ */ e("a", { href: E.href, children: /* @__PURE__ */ e(
|
|
1082
|
+
children: /* @__PURE__ */ e("a", { href: E.href, children: /* @__PURE__ */ e(o, { variant: n, children: E.label }) })
|
|
1084
1083
|
},
|
|
1085
1084
|
E.label
|
|
1086
1085
|
))
|
|
@@ -1092,92 +1091,130 @@ const L = M(
|
|
|
1092
1091
|
}
|
|
1093
1092
|
)
|
|
1094
1093
|
);
|
|
1095
|
-
|
|
1096
|
-
const
|
|
1097
|
-
({ items:
|
|
1098
|
-
const Y =
|
|
1094
|
+
y.displayName = "DropdownMenu";
|
|
1095
|
+
const T = M(
|
|
1096
|
+
({ items: A, className: g, style: B, children: n, lengthItem: c = 5 }, x) => {
|
|
1097
|
+
const Y = A.slice(0, c), w = A.slice(c);
|
|
1099
1098
|
return /* @__PURE__ */ i(
|
|
1100
1099
|
"ul",
|
|
1101
1100
|
{
|
|
1102
|
-
ref:
|
|
1103
|
-
className:
|
|
1101
|
+
ref: x,
|
|
1102
|
+
className: m(
|
|
1104
1103
|
"flex gap-6 justify-center items-center max-w-[630px] mx-auto",
|
|
1105
|
-
|
|
1104
|
+
g
|
|
1106
1105
|
),
|
|
1107
|
-
style:
|
|
1106
|
+
style: B,
|
|
1108
1107
|
children: [
|
|
1109
|
-
Y.map((E) => /* @__PURE__ */ e("li", { children: /* @__PURE__ */ e("a", { href: E.href, children: /* @__PURE__ */ e(
|
|
1110
|
-
w.length > 0 && /* @__PURE__ */ e("li", { children: /* @__PURE__ */ e(
|
|
1111
|
-
|
|
1108
|
+
Y.map((E) => /* @__PURE__ */ e("li", { children: /* @__PURE__ */ e("a", { href: E.href, children: /* @__PURE__ */ e(o, { variant: h.semibold_text_16, children: E.label }) }) }, E.label)),
|
|
1109
|
+
w.length > 0 && /* @__PURE__ */ e("li", { children: /* @__PURE__ */ e(y, { items: w }) }),
|
|
1110
|
+
n
|
|
1112
1111
|
]
|
|
1113
1112
|
}
|
|
1114
1113
|
);
|
|
1115
1114
|
}
|
|
1116
1115
|
);
|
|
1117
|
-
|
|
1118
|
-
const gg =
|
|
1119
|
-
|
|
1120
|
-
|
|
1121
|
-
|
|
1122
|
-
|
|
1123
|
-
|
|
1124
|
-
|
|
1125
|
-
|
|
1126
|
-
|
|
1127
|
-
|
|
1128
|
-
|
|
1129
|
-
|
|
1130
|
-
|
|
1131
|
-
|
|
1132
|
-
|
|
1133
|
-
|
|
1134
|
-
|
|
1135
|
-
|
|
1136
|
-
|
|
1116
|
+
T.displayName = "Navigation";
|
|
1117
|
+
const gg = [
|
|
1118
|
+
{ label: "Туризм", href: "/tourism" },
|
|
1119
|
+
{ label: "Транспорт", href: "/transport" },
|
|
1120
|
+
{ label: "Госуслуги", href: "/services" },
|
|
1121
|
+
{ label: "Здоровье", href: "/health" },
|
|
1122
|
+
{ label: "Образование", href: "/education" }
|
|
1123
|
+
], Ag = ["Ингушетия", "Чечня", "Дагестан"], lg = M(function({
|
|
1124
|
+
navigation: g,
|
|
1125
|
+
navItems: B = gg,
|
|
1126
|
+
lengthItem: n = 5,
|
|
1127
|
+
locations: c = Ag,
|
|
1128
|
+
defaultLocation: x = c[0],
|
|
1129
|
+
locationValue: Y,
|
|
1130
|
+
onLocationChange: w,
|
|
1131
|
+
withSearchAndMenu: E = !1,
|
|
1132
|
+
onLoginClick: l,
|
|
1133
|
+
onMenuClick: a,
|
|
1134
|
+
onSearchClick: s,
|
|
1135
|
+
className: Q,
|
|
1136
|
+
sectionName: R = "",
|
|
1137
|
+
logoHref: k = "#",
|
|
1138
|
+
style: C,
|
|
1139
|
+
LinkComponent: v
|
|
1140
|
+
// например, прокинуть из next: Link
|
|
1141
|
+
}, r) {
|
|
1142
|
+
const z = Array.isArray(c) && c.length > 0, O = v ?? "a";
|
|
1143
|
+
return /* @__PURE__ */ i(
|
|
1137
1144
|
"header",
|
|
1138
1145
|
{
|
|
1139
|
-
ref:
|
|
1140
|
-
|
|
1141
|
-
|
|
1142
|
-
|
|
1146
|
+
ref: r,
|
|
1147
|
+
role: "banner",
|
|
1148
|
+
className: m(
|
|
1149
|
+
"flex items-center justify-between bg-white shadow-md px-3 py-3 sm:px-4",
|
|
1150
|
+
Q
|
|
1143
1151
|
),
|
|
1144
|
-
style:
|
|
1152
|
+
style: C,
|
|
1145
1153
|
children: [
|
|
1146
|
-
/* @__PURE__ */ i("div", { className: "flex items-center", children: [
|
|
1147
|
-
/* @__PURE__ */ i("div", { className: "flex items-center gap-4", children: [
|
|
1148
|
-
|
|
1149
|
-
|
|
1150
|
-
|
|
1154
|
+
/* @__PURE__ */ i("div", { className: "flex items-center min-w-0", children: [
|
|
1155
|
+
/* @__PURE__ */ i("div", { className: "flex items-center gap-3 sm:gap-4", children: [
|
|
1156
|
+
E && /* @__PURE__ */ i(u, { children: [
|
|
1157
|
+
/* @__PURE__ */ e(
|
|
1158
|
+
"button",
|
|
1159
|
+
{
|
|
1160
|
+
type: "button",
|
|
1161
|
+
onClick: a,
|
|
1162
|
+
"aria-label": "Открыть меню",
|
|
1163
|
+
"aria-haspopup": "menu",
|
|
1164
|
+
className: "p-1",
|
|
1165
|
+
children: /* @__PURE__ */ e(I, { iconId: "Menu", className: "h-6 w-6 text-black" })
|
|
1166
|
+
}
|
|
1167
|
+
),
|
|
1168
|
+
/* @__PURE__ */ e(
|
|
1169
|
+
"button",
|
|
1170
|
+
{
|
|
1171
|
+
type: "button",
|
|
1172
|
+
onClick: s,
|
|
1173
|
+
"aria-label": "Поиск",
|
|
1174
|
+
className: "p-1",
|
|
1175
|
+
children: /* @__PURE__ */ e(I, { iconId: "Search", className: "h-6 w-6 text-black" })
|
|
1176
|
+
}
|
|
1177
|
+
)
|
|
1178
|
+
] }),
|
|
1179
|
+
/* @__PURE__ */ e(O, { href: k, "aria-label": "На главную", className: "inline-flex", children: /* @__PURE__ */ e(j, { variant: "small", sectionName: R }) })
|
|
1151
1180
|
] }),
|
|
1152
|
-
/* @__PURE__ */ e("nav", { className: "ml-10", children: g || /* @__PURE__ */ e(W, { items: A, lengthItem: c }) })
|
|
1153
|
-
] }),
|
|
1154
|
-
/* @__PURE__ */ i("div", { className: "flex items-center gap-6", children: [
|
|
1155
1181
|
/* @__PURE__ */ e(
|
|
1156
|
-
|
|
1182
|
+
"nav",
|
|
1157
1183
|
{
|
|
1158
|
-
|
|
1159
|
-
|
|
1184
|
+
className: m("ml-4 sm:ml-6", E && "hidden md:block"),
|
|
1185
|
+
"aria-label": "Основная навигация",
|
|
1186
|
+
children: g ?? /* @__PURE__ */ e(T, { items: B, lengthItem: n })
|
|
1187
|
+
}
|
|
1188
|
+
)
|
|
1189
|
+
] }),
|
|
1190
|
+
/* @__PURE__ */ i("div", { className: "flex items-center gap-3 sm:gap-6", children: [
|
|
1191
|
+
z && /* @__PURE__ */ e(
|
|
1192
|
+
S,
|
|
1193
|
+
{
|
|
1194
|
+
defaultValue: Y ? void 0 : x,
|
|
1195
|
+
value: Y,
|
|
1196
|
+
onValueChange: w,
|
|
1197
|
+
className: "w-[140px] sm:w-[150px]",
|
|
1160
1198
|
labelColor: "black",
|
|
1161
|
-
triggerIcon: /* @__PURE__ */ e(
|
|
1162
|
-
|
|
1199
|
+
triggerIcon: /* @__PURE__ */ e(I, { iconId: "LocationOn", className: "w-6 h-6" }),
|
|
1200
|
+
"aria-label": "Выбор региона",
|
|
1201
|
+
children: c.map((t) => /* @__PURE__ */ e(U, { value: t, children: t }, t))
|
|
1163
1202
|
}
|
|
1164
1203
|
),
|
|
1165
|
-
/* @__PURE__ */ e(
|
|
1204
|
+
/* @__PURE__ */ e(F, { type: "button", onClick: l, variant: "outlineBlackText", children: "Войти" })
|
|
1166
1205
|
] })
|
|
1167
1206
|
]
|
|
1168
1207
|
}
|
|
1169
|
-
)
|
|
1170
|
-
)
|
|
1171
|
-
gg.displayName = "Header";
|
|
1172
|
-
const Ag = (g, A) => /* @__PURE__ */ i(
|
|
1208
|
+
);
|
|
1209
|
+
}), cg = (A, g) => /* @__PURE__ */ i(
|
|
1173
1210
|
"svg",
|
|
1174
1211
|
{
|
|
1175
1212
|
xmlns: "http://www.w3.org/2000/svg",
|
|
1176
1213
|
xmlnsXlink: "http://www.w3.org/1999/xlink",
|
|
1177
1214
|
fill: "none",
|
|
1178
1215
|
viewBox: "0 0 274 395",
|
|
1179
|
-
ref:
|
|
1180
|
-
...
|
|
1216
|
+
ref: g,
|
|
1217
|
+
...A,
|
|
1181
1218
|
children: [
|
|
1182
1219
|
/* @__PURE__ */ e("path", { fill: "#00AA85", d: "M342.5 326.897V395h-137v-68.103z" }),
|
|
1183
1220
|
/* @__PURE__ */ e(
|
|
@@ -1397,13 +1434,13 @@ const Ag = (g, A) => /* @__PURE__ */ i(
|
|
|
1397
1434
|
] })
|
|
1398
1435
|
]
|
|
1399
1436
|
}
|
|
1400
|
-
),
|
|
1401
|
-
children:
|
|
1402
|
-
onClick:
|
|
1403
|
-
variantColor:
|
|
1404
|
-
variantView:
|
|
1405
|
-
href:
|
|
1406
|
-
className:
|
|
1437
|
+
), ig = M(cg), Eg = ({
|
|
1438
|
+
children: A,
|
|
1439
|
+
onClick: g,
|
|
1440
|
+
variantColor: B = "success",
|
|
1441
|
+
variantView: n = "secondary",
|
|
1442
|
+
href: c = "#",
|
|
1443
|
+
className: x
|
|
1407
1444
|
}) => {
|
|
1408
1445
|
const Y = {
|
|
1409
1446
|
success: {
|
|
@@ -1416,34 +1453,34 @@ const Ag = (g, A) => /* @__PURE__ */ i(
|
|
|
1416
1453
|
bgButton: "!bg-purple-800",
|
|
1417
1454
|
bgCard: "bg-purple-100"
|
|
1418
1455
|
}
|
|
1419
|
-
}, { text: w, bgButton: E, bgCard: l } = Y[
|
|
1456
|
+
}, { text: w, bgButton: E, bgCard: l } = Y[B], a = n === "primary";
|
|
1420
1457
|
return /* @__PURE__ */ i(
|
|
1421
1458
|
pe,
|
|
1422
1459
|
{
|
|
1423
|
-
className:
|
|
1460
|
+
className: m(
|
|
1424
1461
|
"w-full flex overflow-hidden",
|
|
1425
|
-
|
|
1462
|
+
a ? "items-center justify-between px-7 max-h-[100px] overflow-hidden" : "max-w-[416px] flex-col justify-between relative min-h-[602px] p-7",
|
|
1426
1463
|
l,
|
|
1427
|
-
|
|
1464
|
+
x
|
|
1428
1465
|
),
|
|
1429
1466
|
children: [
|
|
1430
|
-
/* @__PURE__ */ i("div", { className:
|
|
1431
|
-
/* @__PURE__ */ e(
|
|
1432
|
-
/* @__PURE__ */ e("div", { className:
|
|
1467
|
+
/* @__PURE__ */ i("div", { className: m(a ? "flex items-center" : "flex flex-col gap-10"), children: [
|
|
1468
|
+
/* @__PURE__ */ e(j, { iconColor: w, variant: "medium", withTM: !0 }),
|
|
1469
|
+
/* @__PURE__ */ e("div", { className: m("ml-10", a ? "max-w-[340px] text-xs" : "max-w-[200px]"), children: A })
|
|
1433
1470
|
] }),
|
|
1434
|
-
|
|
1435
|
-
/* @__PURE__ */ e(
|
|
1436
|
-
/* @__PURE__ */ e(
|
|
1437
|
-
] }) : /* @__PURE__ */ i(
|
|
1471
|
+
a ? /* @__PURE__ */ i(u, { children: [
|
|
1472
|
+
/* @__PURE__ */ e(H, { className: m("fill-current", w), width: "380px" }),
|
|
1473
|
+
/* @__PURE__ */ e(F, { variant: "primary", className: m(E), onClick: g, children: /* @__PURE__ */ e("a", { href: c, children: "Подробнее" }) })
|
|
1474
|
+
] }) : /* @__PURE__ */ i(u, { children: [
|
|
1438
1475
|
/* @__PURE__ */ e(
|
|
1439
|
-
|
|
1476
|
+
ig,
|
|
1440
1477
|
{
|
|
1441
1478
|
width: 380,
|
|
1442
1479
|
height: 380,
|
|
1443
1480
|
className: "absolute bottom-0 right-[-60px]"
|
|
1444
1481
|
}
|
|
1445
1482
|
),
|
|
1446
|
-
/* @__PURE__ */ e(
|
|
1483
|
+
/* @__PURE__ */ e(o, { variant: "medium_26", className: m(w), onClick: g, children: /* @__PURE__ */ e("a", { href: c, children: "yakavkaz.ru" }) })
|
|
1447
1484
|
] })
|
|
1448
1485
|
]
|
|
1449
1486
|
}
|
|
@@ -1451,41 +1488,41 @@ const Ag = (g, A) => /* @__PURE__ */ i(
|
|
|
1451
1488
|
};
|
|
1452
1489
|
export {
|
|
1453
1490
|
_ as Arrow,
|
|
1454
|
-
|
|
1455
|
-
|
|
1456
|
-
|
|
1491
|
+
Eg as Banner,
|
|
1492
|
+
H as BannerBgYak,
|
|
1493
|
+
F as Button,
|
|
1457
1494
|
pe as Card,
|
|
1458
1495
|
Pe as Checkbox,
|
|
1459
1496
|
ge as CheckmarkOutline,
|
|
1460
1497
|
ce as Close,
|
|
1461
|
-
|
|
1462
|
-
|
|
1498
|
+
y as DropdownMenu,
|
|
1499
|
+
I as DynamicIcon,
|
|
1463
1500
|
le as Eye,
|
|
1464
1501
|
Me as EyeOff,
|
|
1465
1502
|
Be as EyeOffOutline,
|
|
1466
|
-
|
|
1503
|
+
me as EyeOutline,
|
|
1467
1504
|
we as Filter,
|
|
1468
1505
|
Ve as FormattedDate,
|
|
1469
|
-
|
|
1470
|
-
|
|
1506
|
+
ae as Gos,
|
|
1507
|
+
lg as Header,
|
|
1471
1508
|
oe as Journalist,
|
|
1472
1509
|
Je as KeyboardArrowDown,
|
|
1473
1510
|
$e as Label,
|
|
1474
1511
|
ze as LocationOn,
|
|
1475
|
-
|
|
1512
|
+
j as Logo,
|
|
1476
1513
|
Ge as MailAuth,
|
|
1477
1514
|
re as Menu,
|
|
1478
|
-
|
|
1515
|
+
T as Navigation,
|
|
1479
1516
|
_e as PreviewTitle,
|
|
1480
1517
|
Qe as Search,
|
|
1481
|
-
|
|
1482
|
-
|
|
1518
|
+
U as SelectItem,
|
|
1519
|
+
S as Selector,
|
|
1483
1520
|
be as Tag,
|
|
1484
1521
|
ke as Telegram,
|
|
1485
1522
|
eg as TextField,
|
|
1486
|
-
|
|
1523
|
+
o as Typography,
|
|
1487
1524
|
h as TypographyVariant,
|
|
1488
|
-
|
|
1525
|
+
Oe as Vk,
|
|
1489
1526
|
de as VkAuth,
|
|
1490
1527
|
je as Whatsaap,
|
|
1491
1528
|
Le as X,
|