@tetjana/flowmakers-ds 0.1.8 → 0.1.10

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.esm.js CHANGED
@@ -1,9 +1,9 @@
1
1
  import { jsxs as c, jsx as e, Fragment as _ } from "react/jsx-runtime";
2
- import { useRef as k, useEffect as b, useState as v } from "react";
3
- const A = ({
4
- variant: a = "primary",
2
+ import { useRef as k, useEffect as w, useState as v } from "react";
3
+ const E = ({
4
+ variant: s = "primary",
5
5
  size: i = "md",
6
- leftIcon: s,
6
+ leftIcon: a,
7
7
  rightIcon: r,
8
8
  children: l,
9
9
  fullWidth: t = !1,
@@ -13,21 +13,21 @@ const A = ({
13
13
  }) => {
14
14
  const m = [
15
15
  "fm-btn",
16
- `fm-btn--${a}`,
16
+ `fm-btn--${s}`,
17
17
  `fm-btn--${i}`,
18
18
  t ? "fm-btn--full" : "",
19
19
  n ? "fm-btn--disabled" : "",
20
20
  d
21
21
  ].filter(Boolean).join(" ");
22
22
  return /* @__PURE__ */ c("button", { className: m, disabled: n, ...o, children: [
23
- s && /* @__PURE__ */ e("span", { className: "fm-btn__icon fm-btn__icon--left", children: s }),
23
+ a && /* @__PURE__ */ e("span", { className: "fm-btn__icon fm-btn__icon--left", children: a }),
24
24
  l && /* @__PURE__ */ e("span", { className: "fm-btn__label", children: l }),
25
25
  r && /* @__PURE__ */ e("span", { className: "fm-btn__icon fm-btn__icon--right", children: r })
26
26
  ] });
27
- }, E = ({
28
- label: a,
27
+ }, H = ({
28
+ label: s,
29
29
  placeholder: i,
30
- state: s = "default",
30
+ state: a = "default",
31
31
  errorMessage: r,
32
32
  successMessage: l,
33
33
  leftIcon: t,
@@ -38,12 +38,12 @@ const A = ({
38
38
  }) => {
39
39
  const f = [
40
40
  "fm-input-wrapper",
41
- `fm-input-wrapper--${s}`,
41
+ `fm-input-wrapper--${a}`,
42
42
  o ? "fm-input-wrapper--disabled" : "",
43
43
  d
44
44
  ].filter(Boolean).join(" ");
45
45
  return /* @__PURE__ */ c("div", { className: f, children: [
46
- a && /* @__PURE__ */ e("label", { className: "fm-input__label", children: a }),
46
+ s && /* @__PURE__ */ e("label", { className: "fm-input__label", children: s }),
47
47
  /* @__PURE__ */ c("div", { className: "fm-input__field", children: [
48
48
  t && /* @__PURE__ */ e("span", { className: "fm-input__icon fm-input__icon--left", children: t }),
49
49
  /* @__PURE__ */ e(
@@ -57,36 +57,36 @@ const A = ({
57
57
  ),
58
58
  n && /* @__PURE__ */ e("span", { className: "fm-input__icon fm-input__icon--right", children: n })
59
59
  ] }),
60
- s === "error" && r && /* @__PURE__ */ e("p", { className: "fm-input__message fm-input__message--error", children: r }),
61
- s === "success" && l && /* @__PURE__ */ e("p", { className: "fm-input__message fm-input__message--success", children: l })
60
+ a === "error" && r && /* @__PURE__ */ e("p", { className: "fm-input__message fm-input__message--error", children: r }),
61
+ a === "success" && l && /* @__PURE__ */ e("p", { className: "fm-input__message fm-input__message--success", children: l })
62
62
  ] });
63
- }, F = ({ children: a, color: i = "grey", className: s = "" }) => {
64
- const r = ["fm-tag", `fm-tag--${i}`, s].filter(Boolean).join(" ");
65
- return /* @__PURE__ */ e("span", { className: r, children: a });
66
- }, H = ({ checked: a, onChange: i, disabled: s, label: r, className: l = "" }) => /* @__PURE__ */ c("label", { className: ["fm-toggle", s ? "fm-toggle--disabled" : "", l].filter(Boolean).join(" "), children: [
63
+ }, F = ({ children: s, color: i = "grey", className: a = "" }) => {
64
+ const r = ["fm-tag", `fm-tag--${i}`, a].filter(Boolean).join(" ");
65
+ return /* @__PURE__ */ e("span", { className: r, children: s });
66
+ }, V = ({ checked: s, onChange: i, disabled: a, label: r, className: l = "" }) => /* @__PURE__ */ c("label", { className: ["fm-toggle", a ? "fm-toggle--disabled" : "", l].filter(Boolean).join(" "), children: [
67
67
  /* @__PURE__ */ e(
68
68
  "input",
69
69
  {
70
70
  type: "checkbox",
71
71
  className: "fm-toggle__input",
72
- checked: a,
72
+ checked: s,
73
73
  onChange: (t) => i(t.target.checked),
74
- disabled: s
74
+ disabled: a
75
75
  }
76
76
  ),
77
77
  /* @__PURE__ */ e("span", { className: "fm-toggle__track", children: /* @__PURE__ */ e("span", { className: "fm-toggle__thumb" }) }),
78
78
  r && /* @__PURE__ */ e("span", { className: "fm-toggle__label", children: r })
79
- ] }), R = ({
80
- checked: a = !1,
79
+ ] }), O = ({
80
+ checked: s = !1,
81
81
  indeterminate: i = !1,
82
- onChange: s,
82
+ onChange: a,
83
83
  disabled: r,
84
84
  size: l = "small",
85
85
  label: t,
86
86
  className: n = ""
87
87
  }) => {
88
88
  const d = k(null);
89
- return b(() => {
89
+ return w(() => {
90
90
  d.current && (d.current.indeterminate = i);
91
91
  }, [i]), /* @__PURE__ */ c("label", { className: ["fm-checkbox", `fm-checkbox--${l}`, r ? "fm-checkbox--disabled" : "", n].filter(Boolean).join(" "), children: [
92
92
  /* @__PURE__ */ e(
@@ -95,49 +95,49 @@ const A = ({
95
95
  ref: d,
96
96
  type: "checkbox",
97
97
  className: "fm-checkbox__input",
98
- checked: a,
99
- onChange: (o) => s == null ? void 0 : s(o.target.checked),
98
+ checked: s,
99
+ onChange: (o) => a == null ? void 0 : a(o.target.checked),
100
100
  disabled: r
101
101
  }
102
102
  ),
103
103
  /* @__PURE__ */ c("span", { className: "fm-checkbox__box", children: [
104
- a && !i && /* @__PURE__ */ e("svg", { width: "10", height: "8", viewBox: "0 0 10 8", fill: "none", children: /* @__PURE__ */ e("path", { d: "M1 4L3.5 6.5L9 1", stroke: "white", strokeWidth: "1.5", strokeLinecap: "round", strokeLinejoin: "round" }) }),
104
+ s && !i && /* @__PURE__ */ e("svg", { width: "10", height: "8", viewBox: "0 0 10 8", fill: "none", children: /* @__PURE__ */ e("path", { d: "M1 4L3.5 6.5L9 1", stroke: "white", strokeWidth: "1.5", strokeLinecap: "round", strokeLinejoin: "round" }) }),
105
105
  i && /* @__PURE__ */ e("span", { className: "fm-checkbox__minus" })
106
106
  ] }),
107
107
  t && /* @__PURE__ */ e("span", { className: "fm-checkbox__label", children: t })
108
108
  ] });
109
- }, O = ({
110
- title: a,
109
+ }, U = ({
110
+ title: s,
111
111
  subtitle: i,
112
- color: s = "purple",
112
+ color: a = "purple",
113
113
  leftSlot: r,
114
114
  rightSlot: l,
115
115
  className: t = ""
116
116
  }) => {
117
- const n = ["fm-header", `fm-header--${s}`, t].filter(Boolean).join(" ");
117
+ const n = ["fm-header", `fm-header--${a}`, t].filter(Boolean).join(" ");
118
118
  return /* @__PURE__ */ c("div", { className: n, children: [
119
119
  r && /* @__PURE__ */ e("div", { className: "fm-header__slot fm-header__slot--left", children: r }),
120
120
  /* @__PURE__ */ c("div", { className: "fm-header__title-block", children: [
121
- /* @__PURE__ */ e("h4", { className: "fm-header__title", children: a }),
121
+ /* @__PURE__ */ e("h4", { className: "fm-header__title", children: s }),
122
122
  i && /* @__PURE__ */ e("p", { className: "fm-header__subtitle", children: i })
123
123
  ] }),
124
124
  l && /* @__PURE__ */ e("div", { className: "fm-header__slot fm-header__slot--right", children: l })
125
125
  ] });
126
- }, U = ({
127
- variant: a = "light",
126
+ }, G = ({
127
+ variant: s = "light",
128
128
  headline: i = "Є ідеї чи пропозиції?",
129
- ctaLabel: s = "Написати нам",
129
+ ctaLabel: a = "Написати нам",
130
130
  onCtaClick: r,
131
131
  sections: l = [],
132
132
  copyright: t = "© 2024 Made by FlowMakers. All rights reserved",
133
133
  className: n = ""
134
134
  }) => {
135
- const d = ["fm-footer", `fm-footer--${a}`, n].filter(Boolean).join(" ");
135
+ const d = ["fm-footer", `fm-footer--${s}`, n].filter(Boolean).join(" ");
136
136
  return /* @__PURE__ */ c("footer", { className: d, children: [
137
137
  /* @__PURE__ */ c("div", { className: "fm-footer__top", children: [
138
138
  /* @__PURE__ */ c("div", { className: "fm-footer__cta-block", children: [
139
139
  /* @__PURE__ */ e("h3", { className: "fm-footer__headline", children: i }),
140
- /* @__PURE__ */ e("button", { className: "fm-footer__cta-btn", onClick: r, children: s })
140
+ /* @__PURE__ */ e("button", { className: "fm-footer__cta-btn", onClick: r, children: a })
141
141
  ] }),
142
142
  /* @__PURE__ */ e("div", { className: "fm-footer__sections", children: l.map((o, m) => /* @__PURE__ */ c("div", { className: "fm-footer__section", children: [
143
143
  /* @__PURE__ */ e("p", { className: "fm-footer__section-title", children: o.title }),
@@ -146,43 +146,43 @@ const A = ({
146
146
  ] }),
147
147
  /* @__PURE__ */ e("div", { className: "fm-footer__bottom", children: /* @__PURE__ */ e("p", { className: "fm-footer__copyright", children: t }) })
148
148
  ] });
149
- }, V = ({
150
- icon: a,
149
+ }, Z = ({
150
+ icon: s,
151
151
  label: i,
152
- active: s = !1,
152
+ active: a = !1,
153
153
  href: r,
154
154
  onClick: l,
155
155
  className: t = ""
156
156
  }) => {
157
157
  const n = [
158
158
  "fm-nav-item",
159
- s ? "fm-nav-item--active" : "",
159
+ a ? "fm-nav-item--active" : "",
160
160
  t
161
161
  ].filter(Boolean).join(" "), d = /* @__PURE__ */ c(_, { children: [
162
- a && /* @__PURE__ */ e("span", { className: "fm-nav-item__icon", children: a }),
162
+ s && /* @__PURE__ */ e("span", { className: "fm-nav-item__icon", children: s }),
163
163
  /* @__PURE__ */ e("span", { className: "fm-nav-item__label", children: i })
164
164
  ] });
165
165
  return r ? /* @__PURE__ */ e("a", { className: n, href: r, children: d }) : /* @__PURE__ */ e("button", { className: n, onClick: l, type: "button", children: d });
166
- }, G = ({
167
- children: a,
166
+ }, z = ({
167
+ children: s,
168
168
  horizontal: i = !1,
169
- className: s = ""
169
+ className: a = ""
170
170
  }) => {
171
171
  const r = [
172
172
  "fm-nav-bar",
173
173
  i ? "fm-nav-bar--horizontal" : "",
174
- s
174
+ a
175
175
  ].filter(Boolean).join(" ");
176
- return /* @__PURE__ */ e("nav", { className: r, children: a });
177
- }, w = {
176
+ return /* @__PURE__ */ e("nav", { className: r, children: s });
177
+ }, b = {
178
178
  available: "Доступно",
179
179
  "in-progress": "В процесі",
180
180
  completed: "Завершено",
181
181
  unavailable: "Недоступно"
182
- }, Z = ({
183
- title: a,
182
+ }, K = ({
183
+ title: s,
184
184
  description: i,
185
- image: s,
185
+ image: a,
186
186
  state: r = "available",
187
187
  tags: l,
188
188
  meta: t,
@@ -196,12 +196,12 @@ const A = ({
196
196
  ].filter(Boolean).join(" ");
197
197
  return /* @__PURE__ */ c("div", { className: o, children: [
198
198
  /* @__PURE__ */ c("div", { className: "fm-card-test__image", children: [
199
- s && /* @__PURE__ */ e("img", { src: s, alt: a }),
199
+ a && /* @__PURE__ */ e("img", { src: a, alt: s }),
200
200
  /* @__PURE__ */ e("div", { className: "fm-card-test__image-overlay" }),
201
- /* @__PURE__ */ e("span", { className: `fm-card-test__status-tag fm-card-test__status-tag--${r}`, children: w[r] })
201
+ /* @__PURE__ */ e("span", { className: `fm-card-test__status-tag fm-card-test__status-tag--${r}`, children: b[r] })
202
202
  ] }),
203
203
  /* @__PURE__ */ c("div", { className: "fm-card-test__content", children: [
204
- /* @__PURE__ */ e("h3", { className: "fm-card-test__title", children: a }),
204
+ /* @__PURE__ */ e("h3", { className: "fm-card-test__title", children: s }),
205
205
  i && /* @__PURE__ */ e("p", { className: "fm-card-test__description", children: i })
206
206
  ] }),
207
207
  l && /* @__PURE__ */ e("div", { className: "fm-card-test__tags", children: l }),
@@ -211,15 +211,15 @@ const A = ({
211
211
  ] }, f)) }),
212
212
  n
213
213
  ] });
214
- }, h = 21, p = 2 * Math.PI * h, L = ({ value: a }) => {
215
- const i = p * (1 - Math.min(100, Math.max(0, a)) / 100), s = a >= 100;
214
+ }, h = 21, p = 2 * Math.PI * h, L = ({ value: s }) => {
215
+ const i = p * (1 - Math.min(100, Math.max(0, s)) / 100), a = s >= 100;
216
216
  return /* @__PURE__ */ c("div", { className: "fm-card-career__progress", children: [
217
217
  /* @__PURE__ */ c("svg", { viewBox: "0 0 50 50", children: [
218
218
  /* @__PURE__ */ e("circle", { className: "fm-card-career__progress-track", cx: "25", cy: "25", r: h }),
219
219
  /* @__PURE__ */ e(
220
220
  "circle",
221
221
  {
222
- className: `fm-card-career__progress-fill${s ? " fm-card-career__progress-fill--complete" : ""}`,
222
+ className: `fm-card-career__progress-fill${a ? " fm-card-career__progress-fill--complete" : ""}`,
223
223
  cx: "25",
224
224
  cy: "25",
225
225
  r: h,
@@ -229,14 +229,14 @@ const A = ({
229
229
  )
230
230
  ] }),
231
231
  /* @__PURE__ */ c("span", { className: "fm-card-career__progress-label", children: [
232
- a,
232
+ s,
233
233
  "%"
234
234
  ] })
235
235
  ] });
236
- }, x = () => /* @__PURE__ */ e("svg", { className: "fm-card-career__chevron", viewBox: "0 0 20 20", fill: "none", children: /* @__PURE__ */ e("path", { d: "M5 7.5l5 5 5-5", stroke: "currentColor", strokeWidth: "1.5", strokeLinecap: "round", strokeLinejoin: "round" }) }), z = ({
237
- title: a,
236
+ }, x = () => /* @__PURE__ */ e("svg", { className: "fm-card-career__chevron", viewBox: "0 0 20 20", fill: "none", children: /* @__PURE__ */ e("path", { d: "M5 7.5l5 5 5-5", stroke: "currentColor", strokeWidth: "1.5", strokeLinecap: "round", strokeLinejoin: "round" }) }), Q = ({
237
+ title: s,
238
238
  subtitle: i,
239
- statusTag: s,
239
+ statusTag: a,
240
240
  tasks: r = [],
241
241
  defaultOpen: l = !1,
242
242
  className: t = ""
@@ -250,8 +250,8 @@ const A = ({
250
250
  /* @__PURE__ */ c("div", { className: "fm-card-career__header", onClick: () => d((m) => !m), children: [
251
251
  /* @__PURE__ */ c("div", { className: "fm-card-career__header-content", children: [
252
252
  /* @__PURE__ */ c("div", { className: "fm-card-career__title-row", children: [
253
- /* @__PURE__ */ e("h3", { className: "fm-card-career__title", children: a }),
254
- s
253
+ /* @__PURE__ */ e("h3", { className: "fm-card-career__title", children: s }),
254
+ a
255
255
  ] }),
256
256
  i && /* @__PURE__ */ e("p", { className: "fm-card-career__subtitle", children: i })
257
257
  ] }),
@@ -327,9 +327,9 @@ const A = ({
327
327
  }
328
328
  ) })
329
329
  }, N = ({
330
- icon: a = "arrow-right",
330
+ icon: s = "arrow-right",
331
331
  size: i = "regular",
332
- variant: s = "filled",
332
+ variant: a = "filled",
333
333
  className: r = "",
334
334
  disabled: l,
335
335
  ...t
@@ -337,18 +337,18 @@ const A = ({
337
337
  const n = [
338
338
  "fm-icon-btn",
339
339
  `fm-icon-btn--${i}`,
340
- `fm-icon-btn--${s}`,
340
+ `fm-icon-btn--${a}`,
341
341
  r
342
342
  ].filter(Boolean).join(" ");
343
- return /* @__PURE__ */ e("button", { className: n, disabled: l, ...t, children: B[a] });
344
- }, K = ({
345
- options: a,
343
+ return /* @__PURE__ */ e("button", { className: n, disabled: l, ...t, children: B[s] });
344
+ }, J = ({
345
+ options: s,
346
346
  value: i,
347
- onChange: s,
347
+ onChange: a,
348
348
  className: r = ""
349
349
  }) => {
350
350
  const l = ["fm-segmented-control", r].filter(Boolean).join(" ");
351
- return /* @__PURE__ */ e("div", { className: l, role: "tablist", children: a.map((t) => /* @__PURE__ */ e(
351
+ return /* @__PURE__ */ e("div", { className: l, role: "tablist", children: s.map((t) => /* @__PURE__ */ e(
352
352
  "button",
353
353
  {
354
354
  role: "tab",
@@ -357,15 +357,15 @@ const A = ({
357
357
  "fm-segmented-control__item",
358
358
  t.value === i ? "fm-segmented-control__item--active" : ""
359
359
  ].filter(Boolean).join(" "),
360
- onClick: () => s == null ? void 0 : s(t.value),
360
+ onClick: () => a == null ? void 0 : a(t.value),
361
361
  children: t.label
362
362
  },
363
363
  t.value
364
364
  )) });
365
- }, Q = ({
366
- variant: a = "dots",
365
+ }, X = ({
366
+ variant: s = "dots",
367
367
  page: i = 1,
368
- total: s = 9,
368
+ total: a = 9,
369
369
  onPrev: r,
370
370
  onNext: l,
371
371
  prevDisabled: t = !1,
@@ -374,7 +374,7 @@ const A = ({
374
374
  }) => {
375
375
  const o = [
376
376
  "fm-pagination",
377
- `fm-pagination--${a}`,
377
+ `fm-pagination--${s}`,
378
378
  d
379
379
  ].filter(Boolean).join(" ");
380
380
  return /* @__PURE__ */ c("div", { className: o, children: [
@@ -387,7 +387,7 @@ const A = ({
387
387
  onClick: r
388
388
  }
389
389
  ),
390
- a === "dots" && /* @__PURE__ */ e("div", { className: "fm-pagination__dots", children: Array.from({ length: s }).map((m, f) => /* @__PURE__ */ e(
390
+ s === "dots" && /* @__PURE__ */ e("div", { className: "fm-pagination__dots", children: Array.from({ length: a }).map((m, f) => /* @__PURE__ */ e(
391
391
  "span",
392
392
  {
393
393
  className: [
@@ -397,10 +397,10 @@ const A = ({
397
397
  },
398
398
  f
399
399
  )) }),
400
- a === "numbers" && /* @__PURE__ */ e("div", { className: "fm-pagination__numbers", children: /* @__PURE__ */ c("span", { className: "fm-pagination__numbers-text", children: [
400
+ s === "numbers" && /* @__PURE__ */ e("div", { className: "fm-pagination__numbers", children: /* @__PURE__ */ c("span", { className: "fm-pagination__numbers-text", children: [
401
401
  i,
402
402
  " з ",
403
- s
403
+ a
404
404
  ] }) }),
405
405
  /* @__PURE__ */ e(
406
406
  N,
@@ -412,84 +412,84 @@ const A = ({
412
412
  }
413
413
  )
414
414
  ] });
415
- }, J = ({
416
- title: a,
415
+ }, Y = ({
416
+ title: s,
417
417
  subtitle: i,
418
- color: s = "purple",
418
+ color: a = "purple",
419
419
  leftAction: r,
420
420
  rightAction: l,
421
421
  className: t = ""
422
422
  }) => {
423
423
  const n = [
424
424
  "fm-widget-header",
425
- `fm-widget-header--${s}`,
425
+ `fm-widget-header--${a}`,
426
426
  t
427
427
  ].filter(Boolean).join(" ");
428
428
  return /* @__PURE__ */ c("div", { className: n, children: [
429
429
  r && /* @__PURE__ */ e("div", { className: "fm-widget-header__action", children: r }),
430
430
  /* @__PURE__ */ c("div", { className: "fm-widget-header__title-group", children: [
431
- /* @__PURE__ */ e("h3", { className: "fm-widget-header__title", children: a }),
431
+ /* @__PURE__ */ e("h3", { className: "fm-widget-header__title", children: s }),
432
432
  i && /* @__PURE__ */ e("p", { className: "fm-widget-header__subtitle", children: i })
433
433
  ] }),
434
434
  l && /* @__PURE__ */ e("div", { className: "fm-widget-header__action", children: l })
435
435
  ] });
436
- }, X = ({
437
- header: a,
436
+ }, ee = ({
437
+ header: s,
438
438
  children: i,
439
- className: s = "",
439
+ className: a = "",
440
440
  width: r
441
441
  }) => {
442
- const l = ["fm-widget-card", s].filter(Boolean).join(" ");
442
+ const l = ["fm-widget-card", a].filter(Boolean).join(" ");
443
443
  return /* @__PURE__ */ c("div", { className: l, style: r ? { width: r } : void 0, children: [
444
- a,
444
+ s,
445
445
  /* @__PURE__ */ e("div", { className: "fm-widget-card__body", children: i })
446
446
  ] });
447
- }, Y = ({
448
- tag: a,
447
+ }, ae = ({
448
+ tag: s,
449
449
  title: i,
450
- text: s,
450
+ text: a,
451
451
  className: r = ""
452
452
  }) => /* @__PURE__ */ c("div", { className: ["fm-widget-news", r].filter(Boolean).join(" "), children: [
453
- a && /* @__PURE__ */ e("div", { className: "fm-widget-news__tag", children: a }),
453
+ s && /* @__PURE__ */ e("div", { className: "fm-widget-news__tag", children: s }),
454
454
  /* @__PURE__ */ c("div", { className: "fm-widget-news__content", children: [
455
455
  /* @__PURE__ */ e("p", { className: "fm-widget-news__title", children: i }),
456
- /* @__PURE__ */ e("p", { className: "fm-widget-news__text", children: s })
456
+ /* @__PURE__ */ e("p", { className: "fm-widget-news__text", children: a })
457
457
  ] })
458
- ] }), ee = ({
459
- image: a,
458
+ ] }), se = ({
459
+ image: s,
460
460
  tag: i,
461
- title: s,
461
+ title: a,
462
462
  className: r = ""
463
463
  }) => /* @__PURE__ */ c("div", { className: ["fm-widget-general-news", r].filter(Boolean).join(" "), children: [
464
- /* @__PURE__ */ e("div", { className: "fm-widget-general-news__image", children: a && /* @__PURE__ */ e("img", { src: a, alt: s }) }),
464
+ /* @__PURE__ */ e("div", { className: "fm-widget-general-news__image", children: s && /* @__PURE__ */ e("img", { src: s, alt: a }) }),
465
465
  /* @__PURE__ */ c("div", { className: "fm-widget-general-news__content", children: [
466
466
  i && /* @__PURE__ */ e("div", { className: "fm-widget-general-news__tag", children: i }),
467
- /* @__PURE__ */ e("p", { className: "fm-widget-general-news__title", children: s })
467
+ /* @__PURE__ */ e("p", { className: "fm-widget-general-news__title", children: a })
468
468
  ] })
469
- ] }), ae = ({
470
- title: a,
469
+ ] }), ie = ({
470
+ title: s,
471
471
  text: i,
472
- date: s,
472
+ date: a,
473
473
  className: r = ""
474
474
  }) => /* @__PURE__ */ c("div", { className: ["fm-widget-notes", r].filter(Boolean).join(" "), children: [
475
- /* @__PURE__ */ e("p", { className: "fm-widget-notes__title", children: a }),
475
+ /* @__PURE__ */ e("p", { className: "fm-widget-notes__title", children: s }),
476
476
  /* @__PURE__ */ e("p", { className: "fm-widget-notes__text", children: i }),
477
- s && /* @__PURE__ */ e("div", { className: "fm-widget-notes__footer", children: /* @__PURE__ */ e("span", { className: "fm-widget-notes__date", children: s }) })
478
- ] }), se = ({
479
- tag: a,
477
+ a && /* @__PURE__ */ e("div", { className: "fm-widget-notes__footer", children: /* @__PURE__ */ e("span", { className: "fm-widget-notes__date", children: a }) })
478
+ ] }), re = ({
479
+ tag: s,
480
480
  text: i,
481
- action: s,
481
+ action: a,
482
482
  className: r = ""
483
483
  }) => /* @__PURE__ */ c("div", { className: ["fm-widget-advice", r].filter(Boolean).join(" "), children: [
484
- a && /* @__PURE__ */ e("div", { className: "fm-widget-advice__tag", children: a }),
484
+ s && /* @__PURE__ */ e("div", { className: "fm-widget-advice__tag", children: s }),
485
485
  /* @__PURE__ */ e("p", { className: "fm-widget-advice__text", children: i }),
486
- s && /* @__PURE__ */ e("div", { className: "fm-widget-advice__action", children: s })
487
- ] }), ie = ({
488
- days: a = [],
486
+ a && /* @__PURE__ */ e("div", { className: "fm-widget-advice__action", children: a })
487
+ ] }), ce = ({
488
+ days: s = [],
489
489
  events: i = [],
490
- className: s = ""
491
- }) => /* @__PURE__ */ c("div", { className: ["fm-widget-calendar", s].filter(Boolean).join(" "), children: [
492
- /* @__PURE__ */ e("div", { className: "fm-widget-calendar__days", children: a.map((r, l) => /* @__PURE__ */ c(
490
+ className: a = ""
491
+ }) => /* @__PURE__ */ c("div", { className: ["fm-widget-calendar", a].filter(Boolean).join(" "), children: [
492
+ /* @__PURE__ */ e("div", { className: "fm-widget-calendar__days", children: s.map((r, l) => /* @__PURE__ */ c(
493
493
  "div",
494
494
  {
495
495
  className: ["fm-widget-calendar__day", r.active ? "fm-widget-calendar__day--active" : ""].filter(Boolean).join(" "),
@@ -508,10 +508,10 @@ const A = ({
508
508
  /* @__PURE__ */ e("span", { className: "fm-widget-calendar__event-time", children: r.time })
509
509
  ] })
510
510
  ] }, l)) })
511
- ] }), re = ({
512
- placeholder: a = "Пошук...",
511
+ ] }), le = ({
512
+ placeholder: s = "Пошук...",
513
513
  className: i = "",
514
- ...s
514
+ ...a
515
515
  }) => /* @__PURE__ */ c("div", { className: `fm-search ${i}`.trim(), children: [
516
516
  /* @__PURE__ */ c("svg", { className: "fm-search__icon", width: "20", height: "20", viewBox: "0 0 20 20", fill: "none", children: [
517
517
  /* @__PURE__ */ e("circle", { cx: "9", cy: "9", r: "6", stroke: "#91939f", strokeWidth: "1.5" }),
@@ -521,15 +521,15 @@ const A = ({
521
521
  "input",
522
522
  {
523
523
  className: "fm-search__input",
524
- placeholder: a,
525
- ...s
524
+ placeholder: s,
525
+ ...a
526
526
  }
527
527
  )
528
- ] }), ce = ({
529
- options: a = [],
528
+ ] }), te = ({
529
+ options: s = [],
530
530
  onSelect: i,
531
- className: s = ""
532
- }) => /* @__PURE__ */ e("div", { className: `fm-dropdown ${s}`.trim(), children: a.map((r) => /* @__PURE__ */ e(
531
+ className: a = ""
532
+ }) => /* @__PURE__ */ e("div", { className: `fm-dropdown ${a}`.trim(), children: s.map((r) => /* @__PURE__ */ e(
533
533
  "button",
534
534
  {
535
535
  className: "fm-dropdown__item",
@@ -538,7 +538,7 @@ const A = ({
538
538
  children: r.label
539
539
  },
540
540
  r.value
541
- )) }), $ = () => /* @__PURE__ */ c("svg", { width: "20", height: "20", viewBox: "0 0 20 20", fill: "none", children: [
541
+ )) }), C = () => /* @__PURE__ */ c("svg", { width: "20", height: "20", viewBox: "0 0 20 20", fill: "none", children: [
542
542
  /* @__PURE__ */ e("rect", { x: "2.5", y: "4.5", width: "15", height: "13", rx: "2", stroke: "currentColor", strokeWidth: "1.3" }),
543
543
  /* @__PURE__ */ e("path", { d: "M6.5 2.5v4M13.5 2.5v4M2.5 8.5h15", stroke: "currentColor", strokeWidth: "1.3", strokeLinecap: "round" }),
544
544
  /* @__PURE__ */ e("circle", { cx: "7", cy: "12", r: "1", fill: "currentColor" }),
@@ -546,22 +546,22 @@ const A = ({
546
546
  /* @__PURE__ */ e("circle", { cx: "13", cy: "12", r: "1", fill: "currentColor" }),
547
547
  /* @__PURE__ */ e("circle", { cx: "7", cy: "15", r: "1", fill: "currentColor" }),
548
548
  /* @__PURE__ */ e("circle", { cx: "10", cy: "15", r: "1", fill: "currentColor" })
549
- ] }), le = ({
550
- label: a,
549
+ ] }), ne = ({
550
+ label: s,
551
551
  helperText: i,
552
- state: s = "default",
552
+ state: a = "default",
553
553
  disabled: r,
554
554
  className: l = "",
555
555
  ...t
556
556
  }) => {
557
- const n = r || s === "disabled", d = [
557
+ const n = r || a === "disabled", d = [
558
558
  "fm-datepicker",
559
- `fm-datepicker--${s}`,
559
+ `fm-datepicker--${a}`,
560
560
  n ? "fm-datepicker--disabled" : "",
561
561
  l
562
562
  ].filter(Boolean).join(" ");
563
563
  return /* @__PURE__ */ c("div", { className: d, children: [
564
- a && /* @__PURE__ */ e("label", { className: "fm-datepicker__label", children: a }),
564
+ s && /* @__PURE__ */ e("label", { className: "fm-datepicker__label", children: s }),
565
565
  /* @__PURE__ */ c("div", { className: "fm-datepicker__field", children: [
566
566
  /* @__PURE__ */ e(
567
567
  "input",
@@ -572,29 +572,29 @@ const A = ({
572
572
  ...t
573
573
  }
574
574
  ),
575
- /* @__PURE__ */ e("span", { className: "fm-datepicker__icon", children: /* @__PURE__ */ e($, {}) })
575
+ /* @__PURE__ */ e("span", { className: "fm-datepicker__icon", children: /* @__PURE__ */ e(C, {}) })
576
576
  ] }),
577
577
  i && /* @__PURE__ */ e("p", { className: "fm-datepicker__helper", children: i })
578
578
  ] });
579
- }, y = () => /* @__PURE__ */ c("svg", { width: "20", height: "20", viewBox: "0 0 20 20", fill: "none", children: [
579
+ }, $ = () => /* @__PURE__ */ c("svg", { width: "20", height: "20", viewBox: "0 0 20 20", fill: "none", children: [
580
580
  /* @__PURE__ */ e("circle", { cx: "10", cy: "10", r: "7", stroke: "currentColor", strokeWidth: "1.3" }),
581
581
  /* @__PURE__ */ e("path", { d: "M10 6.5V10.5L13 12", stroke: "currentColor", strokeWidth: "1.3", strokeLinecap: "round", strokeLinejoin: "round" })
582
- ] }), te = ({
583
- label: a,
582
+ ] }), de = ({
583
+ label: s,
584
584
  helperText: i,
585
- state: s = "default",
585
+ state: a = "default",
586
586
  disabled: r,
587
587
  className: l = "",
588
588
  ...t
589
589
  }) => {
590
- const n = r || s === "disabled", d = [
590
+ const n = r || a === "disabled", d = [
591
591
  "fm-timepicker",
592
- `fm-timepicker--${s}`,
592
+ `fm-timepicker--${a}`,
593
593
  n ? "fm-timepicker--disabled" : "",
594
594
  l
595
595
  ].filter(Boolean).join(" ");
596
596
  return /* @__PURE__ */ c("div", { className: d, children: [
597
- a && /* @__PURE__ */ e("label", { className: "fm-timepicker__label", children: a }),
597
+ s && /* @__PURE__ */ e("label", { className: "fm-timepicker__label", children: s }),
598
598
  /* @__PURE__ */ c("div", { className: "fm-timepicker__field", children: [
599
599
  /* @__PURE__ */ e(
600
600
  "input",
@@ -605,18 +605,18 @@ const A = ({
605
605
  ...t
606
606
  }
607
607
  ),
608
- /* @__PURE__ */ e("span", { className: "fm-timepicker__icon", children: /* @__PURE__ */ e(y, {}) })
608
+ /* @__PURE__ */ e("span", { className: "fm-timepicker__icon", children: /* @__PURE__ */ e($, {}) })
609
609
  ] }),
610
610
  i && /* @__PURE__ */ e("p", { className: "fm-timepicker__helper", children: i })
611
611
  ] });
612
- }, ne = ({
613
- label: a,
612
+ }, oe = ({
613
+ label: s,
614
614
  checked: i = !1,
615
- disabled: s,
615
+ disabled: a,
616
616
  className: r = "",
617
617
  onChange: l,
618
618
  ...t
619
- }) => /* @__PURE__ */ c("label", { className: `fm-radio ${s ? "fm-radio--disabled" : ""} ${r}`.trim(), children: [
619
+ }) => /* @__PURE__ */ c("label", { className: `fm-radio ${a ? "fm-radio--disabled" : ""} ${r}`.trim(), children: [
620
620
  /* @__PURE__ */ e("span", { className: `fm-radio__circle ${i ? "fm-radio__circle--checked" : ""}`, children: i && /* @__PURE__ */ e("span", { className: "fm-radio__dot" }) }),
621
621
  /* @__PURE__ */ e(
622
622
  "input",
@@ -624,50 +624,50 @@ const A = ({
624
624
  type: "radio",
625
625
  className: "fm-radio__input",
626
626
  checked: i,
627
- disabled: s,
627
+ disabled: a,
628
628
  onChange: l,
629
629
  ...t
630
630
  }
631
631
  ),
632
- a && /* @__PURE__ */ e("span", { className: "fm-radio__label", children: a })
633
- ] }), C = () => /* @__PURE__ */ e("svg", { width: "16", height: "12", viewBox: "0 0 16 12", fill: "none", children: /* @__PURE__ */ e("path", { d: "M1.5 6L6 10.5L14.5 1.5", stroke: "white", strokeWidth: "2", strokeLinecap: "round", strokeLinejoin: "round" }) }), j = ({
634
- step: a,
632
+ s && /* @__PURE__ */ e("span", { className: "fm-radio__label", children: s })
633
+ ] }), y = () => /* @__PURE__ */ e("svg", { width: "16", height: "12", viewBox: "0 0 16 12", fill: "none", children: /* @__PURE__ */ e("path", { d: "M1.5 6L6 10.5L14.5 1.5", stroke: "white", strokeWidth: "2", strokeLinecap: "round", strokeLinejoin: "round" }) }), j = ({
634
+ step: s,
635
635
  index: i,
636
- isLast: s
636
+ isLast: a
637
637
  }) => /* @__PURE__ */ c("div", { className: "fm-stepper__step", children: [
638
- /* @__PURE__ */ c("div", { className: `fm-stepper__circle fm-stepper__circle--${a.state}`, children: [
639
- a.state === "done" && /* @__PURE__ */ e(C, {}),
640
- a.state === "in-process" && /* @__PURE__ */ e("span", { className: "fm-stepper__num", children: i + 1 }),
641
- a.state === "inactive" && /* @__PURE__ */ e("span", { className: "fm-stepper__num fm-stepper__num--inactive", children: i + 1 })
638
+ /* @__PURE__ */ c("div", { className: `fm-stepper__circle fm-stepper__circle--${s.state}`, children: [
639
+ s.state === "done" && /* @__PURE__ */ e(y, {}),
640
+ s.state === "in-process" && /* @__PURE__ */ e("span", { className: "fm-stepper__num", children: i + 1 }),
641
+ s.state === "inactive" && /* @__PURE__ */ e("span", { className: "fm-stepper__num fm-stepper__num--inactive", children: i + 1 })
642
642
  ] }),
643
- !s && /* @__PURE__ */ e("div", { className: `fm-stepper__line fm-stepper__line--${a.state}` }),
644
- a.label && /* @__PURE__ */ e("p", { className: `fm-stepper__label fm-stepper__label--${a.state}`, children: a.label })
645
- ] }), de = ({ steps: a, className: i = "" }) => /* @__PURE__ */ e("div", { className: `fm-stepper ${i}`.trim(), children: a.map((s, r) => /* @__PURE__ */ e(j, { step: s, index: r, isLast: r === a.length - 1 }, r)) }), W = () => /* @__PURE__ */ e("svg", { width: "16", height: "12", viewBox: "0 0 16 12", fill: "none", children: /* @__PURE__ */ e("path", { d: "M1.5 6L6 10.5L14.5 1.5", stroke: "white", strokeWidth: "2", strokeLinecap: "round", strokeLinejoin: "round" }) }), M = ({ step: a, isLast: i }) => {
646
- const s = a.state ?? "inactive";
647
- return /* @__PURE__ */ c("div", { className: `fm-stepper-progress__step fm-stepper-progress__step--${s}`, children: [
648
- /* @__PURE__ */ e("div", { className: "fm-stepper-progress__circle", children: /* @__PURE__ */ e(W, {}) }),
643
+ !a && /* @__PURE__ */ e("div", { className: `fm-stepper__line fm-stepper__line--${s.state}` }),
644
+ s.label && /* @__PURE__ */ e("p", { className: `fm-stepper__label fm-stepper__label--${s.state}`, children: s.label })
645
+ ] }), me = ({ steps: s, className: i = "" }) => /* @__PURE__ */ e("div", { className: `fm-stepper ${i}`.trim(), children: s.map((a, r) => /* @__PURE__ */ e(j, { step: a, index: r, isLast: r === s.length - 1 }, r)) }), M = () => /* @__PURE__ */ e("svg", { width: "16", height: "12", viewBox: "0 0 16 12", fill: "none", children: /* @__PURE__ */ e("path", { d: "M1.5 6L6 10.5L14.5 1.5", stroke: "white", strokeWidth: "2", strokeLinecap: "round", strokeLinejoin: "round" }) }), W = ({ step: s, isLast: i }) => {
646
+ const a = s.state ?? "inactive";
647
+ return /* @__PURE__ */ c("div", { className: `fm-stepper-progress__step fm-stepper-progress__step--${a}`, children: [
648
+ /* @__PURE__ */ e("div", { className: "fm-stepper-progress__circle", children: /* @__PURE__ */ e(M, {}) }),
649
649
  !i && /* @__PURE__ */ e("div", { className: "fm-stepper-progress__line" }),
650
- /* @__PURE__ */ e("p", { className: "fm-stepper-progress__label", children: a.label })
650
+ /* @__PURE__ */ e("p", { className: "fm-stepper-progress__label", children: s.label })
651
651
  ] });
652
- }, oe = ({ steps: a, className: i = "" }) => /* @__PURE__ */ e("div", { className: `fm-stepper-progress ${i}`.trim(), children: a.map((s, r) => /* @__PURE__ */ e(M, { step: s, isLast: r === a.length - 1 }, r)) }), me = ({
653
- avatar: a,
652
+ }, fe = ({ steps: s, className: i = "" }) => /* @__PURE__ */ e("div", { className: `fm-stepper-progress ${i}`.trim(), children: s.map((a, r) => /* @__PURE__ */ e(W, { step: a, isLast: r === s.length - 1 }, r)) }), _e = ({
653
+ avatar: s,
654
654
  name: i,
655
- role: s,
655
+ role: a,
656
656
  quote: r,
657
657
  className: l = ""
658
658
  }) => /* @__PURE__ */ c("div", { className: `fm-testimonial ${l}`.trim(), children: [
659
659
  /* @__PURE__ */ c("div", { className: "fm-testimonial__author", children: [
660
- a ? /* @__PURE__ */ e("img", { className: "fm-testimonial__avatar", src: a, alt: i }) : /* @__PURE__ */ e("div", { className: "fm-testimonial__avatar fm-testimonial__avatar--placeholder", children: i.charAt(0) }),
660
+ s ? /* @__PURE__ */ e("img", { className: "fm-testimonial__avatar", src: s, alt: i }) : /* @__PURE__ */ e("div", { className: "fm-testimonial__avatar fm-testimonial__avatar--placeholder", children: i.charAt(0) }),
661
661
  /* @__PURE__ */ c("div", { className: "fm-testimonial__meta", children: [
662
662
  /* @__PURE__ */ e("p", { className: "fm-testimonial__name", children: i }),
663
- s && /* @__PURE__ */ e("p", { className: "fm-testimonial__role", children: s })
663
+ a && /* @__PURE__ */ e("p", { className: "fm-testimonial__role", children: a })
664
664
  ] })
665
665
  ] }),
666
666
  /* @__PURE__ */ e("p", { className: "fm-testimonial__quote", children: r })
667
- ] }), fe = ({
668
- icon: a,
667
+ ] }), he = ({
668
+ icon: s,
669
669
  title: i,
670
- description: s,
670
+ description: a,
671
671
  price: r,
672
672
  period: l = "/місяць",
673
673
  action: t,
@@ -676,10 +676,10 @@ const A = ({
676
676
  className: o = ""
677
677
  }) => /* @__PURE__ */ c("div", { className: `fm-pricecard ${d ? "fm-pricecard--highlighted" : ""} ${o}`.trim(), children: [
678
678
  n && /* @__PURE__ */ e("span", { className: "fm-pricecard__badge", children: n }),
679
- a && /* @__PURE__ */ e("div", { className: "fm-pricecard__icon", children: a }),
679
+ s && /* @__PURE__ */ e("div", { className: "fm-pricecard__icon", children: s }),
680
680
  /* @__PURE__ */ c("div", { className: "fm-pricecard__info", children: [
681
681
  /* @__PURE__ */ e("h3", { className: "fm-pricecard__title", children: i }),
682
- s && /* @__PURE__ */ e("p", { className: "fm-pricecard__desc", children: s })
682
+ a && /* @__PURE__ */ e("p", { className: "fm-pricecard__desc", children: a })
683
683
  ] }),
684
684
  /* @__PURE__ */ c("div", { className: "fm-pricecard__footer", children: [
685
685
  r !== void 0 && /* @__PURE__ */ c("div", { className: "fm-pricecard__price", children: [
@@ -688,28 +688,28 @@ const A = ({
688
688
  ] }),
689
689
  t && /* @__PURE__ */ e("div", { className: "fm-pricecard__action", children: t })
690
690
  ] })
691
- ] }), I = () => /* @__PURE__ */ e("svg", { width: "14", height: "10", viewBox: "0 0 14 10", fill: "none", children: /* @__PURE__ */ e("path", { d: "M1 5L5.5 9.5L13 1", stroke: "white", strokeWidth: "1.5", strokeLinecap: "round", strokeLinejoin: "round" }) }), _e = ({
692
- title: a = "Базовий",
691
+ ] }), I = () => /* @__PURE__ */ e("svg", { width: "14", height: "10", viewBox: "0 0 14 10", fill: "none", children: /* @__PURE__ */ e("path", { d: "M1 5L5.5 9.5L13 1", stroke: "white", strokeWidth: "1.5", strokeLinecap: "round", strokeLinejoin: "round" }) }), pe = ({
692
+ title: s = "Базовий",
693
693
  amount: i = "₴0",
694
- period: s = "/місяць",
694
+ period: a = "/місяць",
695
695
  actionLabel: r = "Отримати",
696
696
  onAction: l,
697
697
  features: t = [],
698
698
  className: n = ""
699
699
  }) => /* @__PURE__ */ c("div", { className: `fm-price ${n}`.trim(), children: [
700
- /* @__PURE__ */ e("p", { className: "fm-price__title", children: a }),
700
+ /* @__PURE__ */ e("p", { className: "fm-price__title", children: s }),
701
701
  /* @__PURE__ */ c("div", { className: "fm-price__amount-row", children: [
702
702
  /* @__PURE__ */ e("span", { className: "fm-price__amount", children: i }),
703
- /* @__PURE__ */ e("span", { className: "fm-price__period", children: s })
703
+ /* @__PURE__ */ e("span", { className: "fm-price__period", children: a })
704
704
  ] }),
705
705
  /* @__PURE__ */ e("button", { className: "fm-price__cta", type: "button", onClick: l, children: r }),
706
706
  t.length > 0 && /* @__PURE__ */ e("ul", { className: "fm-price__features", children: t.map((d, o) => /* @__PURE__ */ c("li", { className: "fm-price__feature", children: [
707
707
  /* @__PURE__ */ e("div", { className: "fm-price__check", children: /* @__PURE__ */ e(I, {}) }),
708
708
  /* @__PURE__ */ e("span", { children: d })
709
709
  ] }, o)) })
710
- ] }), P = () => /* @__PURE__ */ e("svg", { width: "14", height: "10", viewBox: "0 0 14 10", fill: "none", children: /* @__PURE__ */ e("path", { d: "M1 5L5.5 9.5L13 1", stroke: "white", strokeWidth: "1.5", strokeLinecap: "round", strokeLinejoin: "round" }) }), he = ({ children: a, className: i = "" }) => /* @__PURE__ */ c("div", { className: `fm-list-item ${i}`.trim(), children: [
710
+ ] }), P = () => /* @__PURE__ */ e("svg", { width: "14", height: "10", viewBox: "0 0 14 10", fill: "none", children: /* @__PURE__ */ e("path", { d: "M1 5L5.5 9.5L13 1", stroke: "white", strokeWidth: "1.5", strokeLinecap: "round", strokeLinejoin: "round" }) }), Ne = ({ children: s, className: i = "" }) => /* @__PURE__ */ c("div", { className: `fm-list-item ${i}`.trim(), children: [
711
711
  /* @__PURE__ */ e("div", { className: "fm-list-item__check", children: /* @__PURE__ */ e(P, {}) }),
712
- /* @__PURE__ */ e("span", { className: "fm-list-item__text", children: a })
712
+ /* @__PURE__ */ e("span", { className: "fm-list-item__text", children: s })
713
713
  ] }), D = () => /* @__PURE__ */ c("svg", { width: "16", height: "16", viewBox: "0 0 16 16", fill: "none", children: [
714
714
  /* @__PURE__ */ e("path", { d: "M8 1L9.5 6.5L15 8L9.5 9.5L8 15L6.5 9.5L1 8L6.5 6.5L8 1Z", fill: "url(#fm-sparkle-grad)" }),
715
715
  /* @__PURE__ */ e("defs", { children: /* @__PURE__ */ c("linearGradient", { id: "fm-sparkle-grad", x1: "0", y1: "0", x2: "16", y2: "16", gradientUnits: "userSpaceOnUse", children: [
@@ -717,67 +717,67 @@ const A = ({
717
717
  /* @__PURE__ */ e("stop", { offset: "100%", stopColor: "#ffa8f1" })
718
718
  ] }) })
719
719
  ] }), u = ({
720
- label: a = "АІ-помічник для кар'єрного розвитку",
720
+ label: s = "АІ-помічник для кар'єрного розвитку",
721
721
  showIcon: i = !0,
722
- className: s = ""
723
- }) => /* @__PURE__ */ c("div", { className: `fm-tag-big ${s}`.trim(), children: [
722
+ className: a = ""
723
+ }) => /* @__PURE__ */ c("div", { className: `fm-tag-big ${a}`.trim(), children: [
724
724
  i && /* @__PURE__ */ e("span", { className: "fm-tag-big__icon", children: /* @__PURE__ */ e(D, {}) }),
725
- /* @__PURE__ */ e("span", { className: "fm-tag-big__label", children: a })
726
- ] }), pe = ({
727
- tag: a = "Можливості платформи",
725
+ /* @__PURE__ */ e("span", { className: "fm-tag-big__label", children: s })
726
+ ] }), ue = ({
727
+ tag: s = "Можливості платформи",
728
728
  showTag: i = !0,
729
- title: s = "Все для твоєї кар'єри",
729
+ title: a = "Все для твоєї кар'єри",
730
730
  subtitle: r = "Комплексна платформа для пошуку роботи, навчання та професійного розвитку",
731
731
  showSubtitle: l = !0,
732
732
  variant: t = "centered",
733
733
  className: n = ""
734
734
  }) => /* @__PURE__ */ e("div", { className: `fm-section-title fm-section-title--${t} ${n}`.trim(), children: t === "split" ? /* @__PURE__ */ c(_, { children: [
735
735
  /* @__PURE__ */ c("div", { className: "fm-section-title__left", children: [
736
- i && /* @__PURE__ */ e(u, { label: a, showIcon: !1 }),
737
- /* @__PURE__ */ e("h2", { className: "fm-section-title__heading", children: s })
736
+ i && /* @__PURE__ */ e(u, { label: s, showIcon: !1 }),
737
+ /* @__PURE__ */ e("h2", { className: "fm-section-title__heading", children: a })
738
738
  ] }),
739
739
  l && /* @__PURE__ */ e("p", { className: "fm-section-title__subtitle", children: r })
740
740
  ] }) : /* @__PURE__ */ c(_, { children: [
741
- i && /* @__PURE__ */ e(u, { label: a, showIcon: !1 }),
742
- /* @__PURE__ */ e("h2", { className: "fm-section-title__heading", children: s }),
741
+ i && /* @__PURE__ */ e(u, { label: s, showIcon: !1 }),
742
+ /* @__PURE__ */ e("h2", { className: "fm-section-title__heading", children: a }),
743
743
  l && /* @__PURE__ */ e("p", { className: "fm-section-title__subtitle", children: r })
744
- ] }) }), Ne = ({
745
- title: a = "Привіт!",
744
+ ] }) }), ve = ({
745
+ title: s = "Привіт!",
746
746
  subtitle: i = "Сьогодні чудовий день для кар'єрного зростання.",
747
- actionLabel: s = "Почати тренування",
747
+ actionLabel: a = "Почати тренування",
748
748
  showAction: r = !0,
749
749
  onAction: l,
750
750
  className: t = ""
751
751
  }) => /* @__PURE__ */ c("div", { className: `fm-dashboard-title ${t}`.trim(), children: [
752
752
  /* @__PURE__ */ c("div", { className: "fm-dashboard-title__text", children: [
753
- /* @__PURE__ */ e("h1", { className: "fm-dashboard-title__heading", children: a }),
753
+ /* @__PURE__ */ e("h1", { className: "fm-dashboard-title__heading", children: s }),
754
754
  /* @__PURE__ */ e("p", { className: "fm-dashboard-title__subtitle", children: i })
755
755
  ] }),
756
- r && /* @__PURE__ */ e("button", { className: "fm-dashboard-title__action", type: "button", onClick: l, children: s })
757
- ] }), ue = ({
758
- number: a = 1,
756
+ r && /* @__PURE__ */ e("button", { className: "fm-dashboard-title__action", type: "button", onClick: l, children: a })
757
+ ] }), ge = ({
758
+ number: s = 1,
759
759
  title: i = "Пройди тестування",
760
- content: s = "АІ аналізує твої навички, інтерес та досвід",
760
+ content: a = "АІ аналізує твої навички, інтерес та досвід",
761
761
  style: r = "select",
762
762
  className: l = ""
763
763
  }) => /* @__PURE__ */ c("div", { className: `fm-process-step fm-process-step--${r} ${l}`.trim(), children: [
764
- /* @__PURE__ */ e("div", { className: "fm-process-step__number", children: /* @__PURE__ */ e("span", { children: a }) }),
764
+ /* @__PURE__ */ e("div", { className: "fm-process-step__number", children: /* @__PURE__ */ e("span", { children: s }) }),
765
765
  /* @__PURE__ */ c("div", { className: "fm-process-step__body", children: [
766
766
  /* @__PURE__ */ e("h3", { className: "fm-process-step__title", children: i }),
767
- /* @__PURE__ */ e("p", { className: "fm-process-step__content", children: s })
767
+ /* @__PURE__ */ e("p", { className: "fm-process-step__content", children: a })
768
768
  ] })
769
- ] }), T = () => /* @__PURE__ */ e("svg", { width: "14", height: "10", viewBox: "0 0 14 10", fill: "none", children: /* @__PURE__ */ e("path", { d: "M1 5L5.5 9.5L13 1", stroke: "white", strokeWidth: "1.5", strokeLinecap: "round", strokeLinejoin: "round" }) }), ve = ({ tasks: a, className: i = "" }) => /* @__PURE__ */ e("div", { className: `fm-tasks-widget ${i}`.trim(), children: a.map((s, r) => /* @__PURE__ */ c("div", { className: "fm-tasks-widget__row", children: [
770
- /* @__PURE__ */ e("div", { className: `fm-tasks-widget__checkbox ${s.done ? "fm-tasks-widget__checkbox--done" : ""}`, children: s.done && /* @__PURE__ */ e(T, {}) }),
771
- /* @__PURE__ */ e("span", { className: `fm-tasks-widget__label ${s.done ? "fm-tasks-widget__label--done" : ""}`, children: s.label }),
772
- s.time && /* @__PURE__ */ e("span", { className: "fm-tasks-widget__tag", children: s.time })
773
- ] }, r)) }), ge = ({
774
- placeholder: a = "Ваша електронна пошта",
769
+ ] }), q = () => /* @__PURE__ */ e("svg", { width: "14", height: "10", viewBox: "0 0 14 10", fill: "none", children: /* @__PURE__ */ e("path", { d: "M1 5L5.5 9.5L13 1", stroke: "white", strokeWidth: "1.5", strokeLinecap: "round", strokeLinejoin: "round" }) }), ke = ({ tasks: s, className: i = "" }) => /* @__PURE__ */ e("div", { className: `fm-tasks-widget ${i}`.trim(), children: s.map((a, r) => /* @__PURE__ */ c("div", { className: "fm-tasks-widget__row", children: [
770
+ /* @__PURE__ */ e("div", { className: `fm-tasks-widget__checkbox ${a.done ? "fm-tasks-widget__checkbox--done" : ""}`, children: a.done && /* @__PURE__ */ e(q, {}) }),
771
+ /* @__PURE__ */ e("span", { className: `fm-tasks-widget__label ${a.done ? "fm-tasks-widget__label--done" : ""}`, children: a.label }),
772
+ a.time && /* @__PURE__ */ e("span", { className: "fm-tasks-widget__tag", children: a.time })
773
+ ] }, r)) }), we = ({
774
+ placeholder: s = "Ваша електронна пошта",
775
775
  buttonLabel: i = "Почати безкоштовно",
776
- onSubmit: s,
776
+ onSubmit: a,
777
777
  className: r = ""
778
778
  }) => {
779
779
  const [l, t] = v(""), n = (d) => {
780
- d.preventDefault(), s == null || s(l);
780
+ d.preventDefault(), a == null || a(l);
781
781
  };
782
782
  return /* @__PURE__ */ c("form", { className: `fm-signup-form ${r}`.trim(), onSubmit: n, children: [
783
783
  /* @__PURE__ */ e(
@@ -785,92 +785,94 @@ const A = ({
785
785
  {
786
786
  type: "email",
787
787
  className: "fm-signup-form__input",
788
- placeholder: a,
788
+ placeholder: s,
789
789
  value: l,
790
790
  onChange: (d) => t(d.target.value)
791
791
  }
792
792
  ),
793
793
  /* @__PURE__ */ e("button", { type: "submit", className: "fm-signup-form__btn", children: i })
794
794
  ] });
795
- }, ke = ({
796
- icon: a,
795
+ }, be = ({
796
+ icon: s,
797
797
  title: i = "Базовий",
798
- description: s = "Ідеальний старт для знайомства з платформою та визначення кар'єрного напрямку.",
798
+ description: a = "Ідеальний старт для знайомства з платформою та визначення кар'єрного напрямку.",
799
799
  variant: r = "default",
800
800
  className: l = ""
801
801
  }) => /* @__PURE__ */ c("div", { className: `fm-tariffs fm-tariffs--${r} ${l}`.trim(), children: [
802
- a && /* @__PURE__ */ e("div", { className: "fm-tariffs__icon", children: a }),
802
+ s && /* @__PURE__ */ e("div", { className: "fm-tariffs__icon", children: s }),
803
803
  /* @__PURE__ */ c("div", { className: "fm-tariffs__body", children: [
804
804
  /* @__PURE__ */ e("p", { className: "fm-tariffs__title", children: i }),
805
- /* @__PURE__ */ e("p", { className: "fm-tariffs__desc", children: s })
805
+ /* @__PURE__ */ e("p", { className: "fm-tariffs__desc", children: a })
806
806
  ] })
807
- ] }), be = ({
808
- label: a = "Творчість та інновації",
809
- state: i = "default",
810
- selected: s = !1,
811
- onClick: r,
812
- className: l = ""
813
- }) => {
814
- const t = i === "active" || s;
815
- return /* @__PURE__ */ c(
816
- "div",
817
- {
818
- className: [
819
- "fm-question",
820
- `fm-question--${i}`,
821
- t ? "fm-question--selected" : "",
822
- l
823
- ].filter(Boolean).join(" "),
824
- onClick: r,
825
- role: "button",
826
- tabIndex: 0,
827
- onKeyDown: (n) => n.key === "Enter" && (r == null ? void 0 : r()),
828
- children: [
829
- /* @__PURE__ */ e("span", { className: "fm-question__label", children: a }),
830
- /* @__PURE__ */ e("span", { className: `fm-question__radio ${t ? "fm-question__radio--checked" : ""}`, children: t && /* @__PURE__ */ e("span", { className: "fm-question__dot" }) })
831
- ]
832
- }
833
- );
834
- };
807
+ ] }), T = () => /* @__PURE__ */ e("svg", { width: "18", height: "18", viewBox: "0 0 18 18", fill: "none", children: /* @__PURE__ */ e("path", { d: "M9 3.5V14.5M3.5 9H14.5", stroke: "white", strokeWidth: "1.5", strokeLinecap: "round" }) }), S = () => /* @__PURE__ */ e("svg", { width: "18", height: "18", viewBox: "0 0 18 18", fill: "none", children: /* @__PURE__ */ e("path", { d: "M4.5 4.5L13.5 13.5M13.5 4.5L4.5 13.5", stroke: "white", strokeWidth: "1.5", strokeLinecap: "round" }) }), Le = ({
808
+ title: s = "Що таке Rework?",
809
+ text: i = "Rework — це AI-платформа для кар'єрного розвитку, яка допомагає знайти нову професію через персоналізовані тести, симуляції співбесід та розумні рекомендації вакансій.",
810
+ open: a = !1,
811
+ state: r = "default",
812
+ onClick: l,
813
+ className: t = ""
814
+ }) => /* @__PURE__ */ c(
815
+ "div",
816
+ {
817
+ className: [
818
+ "fm-question",
819
+ a ? "fm-question--open" : "",
820
+ !a && r === "hover" ? "fm-question--hover" : "",
821
+ t
822
+ ].filter(Boolean).join(" "),
823
+ onClick: l,
824
+ role: "button",
825
+ tabIndex: 0,
826
+ onKeyDown: (n) => n.key === "Enter" && (l == null ? void 0 : l()),
827
+ "aria-expanded": a,
828
+ children: [
829
+ /* @__PURE__ */ c("div", { className: "fm-question__content", children: [
830
+ /* @__PURE__ */ e("p", { className: "fm-question__title", children: s }),
831
+ a && /* @__PURE__ */ e("p", { className: "fm-question__text", children: i })
832
+ ] }),
833
+ /* @__PURE__ */ e("span", { className: `fm-question__icon ${a ? "fm-question__icon--open" : ""}`, children: a ? /* @__PURE__ */ e(S, {}) : /* @__PURE__ */ e(T, {}) })
834
+ ]
835
+ }
836
+ );
835
837
  export {
836
- A as Button,
837
- ie as CalendarWidget,
838
- z as CardCareer,
839
- Z as CardTest,
840
- R as Checkbox,
841
- Ne as DashboardTitle,
842
- le as DatePicker,
843
- ce as Dropdown,
844
- U as Footer,
845
- ee as GeneralNewsWidget,
846
- O as Header,
838
+ E as Button,
839
+ ce as CalendarWidget,
840
+ Q as CardCareer,
841
+ K as CardTest,
842
+ O as Checkbox,
843
+ ve as DashboardTitle,
844
+ ne as DatePicker,
845
+ te as Dropdown,
846
+ G as Footer,
847
+ se as GeneralNewsWidget,
848
+ U as Header,
847
849
  N as IconButton,
848
- E as Input,
849
- he as ListItem,
850
- G as NavBar,
851
- V as NavItem,
852
- ae as NotesWidget,
853
- Q as Pagination,
854
- se as PersonalAdviceWidget,
855
- Y as PlatformNewsWidget,
856
- _e as Price,
857
- fe as PriceCard,
858
- ue as ProcessStep,
859
- be as Question,
860
- ne as RadioButton,
861
- re as Search,
862
- pe as SectionTitle,
863
- K as SegmentedControl,
864
- ge as SignupForm,
865
- de as Stepper,
866
- oe as StepperProgress,
850
+ H as Input,
851
+ Ne as ListItem,
852
+ z as NavBar,
853
+ Z as NavItem,
854
+ ie as NotesWidget,
855
+ X as Pagination,
856
+ re as PersonalAdviceWidget,
857
+ ae as PlatformNewsWidget,
858
+ pe as Price,
859
+ he as PriceCard,
860
+ ge as ProcessStep,
861
+ Le as Question,
862
+ oe as RadioButton,
863
+ le as Search,
864
+ ue as SectionTitle,
865
+ J as SegmentedControl,
866
+ we as SignupForm,
867
+ me as Stepper,
868
+ fe as StepperProgress,
867
869
  F as Tag,
868
870
  u as TagBig,
869
- ke as Tariffs,
870
- ve as TasksWidget,
871
- me as TestimonialCard,
872
- te as TimePicker,
873
- H as Toggle,
874
- X as WidgetCard,
875
- J as WidgetHeader
871
+ be as Tariffs,
872
+ ke as TasksWidget,
873
+ _e as TestimonialCard,
874
+ de as TimePicker,
875
+ V as Toggle,
876
+ ee as WidgetCard,
877
+ Y as WidgetHeader
876
878
  };