@obosbbl/grunnmuren-react 1.14.0-beta.1 → 1.14.0-beta.2

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.
@@ -1,30 +1,31 @@
1
1
  'use client';
2
- import { jsx as o, jsxs as b, Fragment as W } from "react/jsx-runtime";
3
- import K, { createContext as w, useContext as A, useState as M, useCallback as E, useEffect as xe, useId as re, forwardRef as g, Children as X, isValidElement as ne, cloneElement as Y, useRef as S, useMemo as C, useReducer as Ne } from "react";
4
- import { ChevronDown as ae, Warning as oe, InfoCircle as se, LoadingSpinner as we, CheckCircle as ye, MenuAlt as Ie, Close as Ee, ChevronRight as Ce, ChevronLeft as Se } from "@obosbbl/grunnmuren-icons";
5
- import { useCollapse as Re } from "react-collapsed";
2
+ import { jsx as o, jsxs as f, Fragment as O } from "react/jsx-runtime";
3
+ import { createContext as N, useContext as A, useState as q, useCallback as I, useEffect as fe, useId as _, forwardRef as g, Children as Z, isValidElement as $, cloneElement as W, useRef as E, useMemo as C, useReducer as he } from "react";
4
+ import { ChevronDown as ee, Warning as te, InfoCircle as re, LoadingSpinner as ge, CheckCircle as pe, MenuAlt as Ae, Close as xe, ChevronRight as ve, ChevronLeft as Ne } from "@obosbbl/grunnmuren-icons";
5
+ import { useCollapse as we } from "react-collapsed";
6
6
  import l from "clsx";
7
- import B from "@react-hook/merged-ref";
8
- const I = () => {
9
- }, ke = 300, qe = "duration-300", U = (e) => {
7
+ import { useMediaQuery as ne, useUpdateEffect as ye } from "@react-hookz/web";
8
+ import K from "@react-hook/merged-ref";
9
+ const y = () => {
10
+ }, Ie = 300, Ce = "duration-300", X = (e) => {
10
11
  const { className: r, ...t } = e;
11
12
  return /* @__PURE__ */ o("div", { className: l(r, "flex flex-col gap-2"), ...t });
12
- }, Q = w({
13
+ }, Y = N({
13
14
  isExpanded: !1,
14
- setExpanded: I,
15
+ setExpanded: y,
15
16
  // @ts-expect-error noop
16
- getCollapseProps: I,
17
+ getCollapseProps: y,
17
18
  // @ts-expect-error noop
18
- getToggleProps: I,
19
- onChange: I
20
- }), Me = (e) => {
21
- const { className: r, defaultOpen: t, onChange: n = I, open: a, ...s } = e, i = Re({
19
+ getToggleProps: y,
20
+ onChange: y
21
+ }), Ee = (e) => {
22
+ const { className: r, defaultOpen: t, onChange: n = y, open: a, ...s } = e, i = we({
22
23
  defaultExpanded: t,
23
24
  isExpanded: a,
24
- duration: ke,
25
+ duration: Ie,
25
26
  easing: "cubic-bezier(0.25, 0.1, 0.25, 1)"
26
27
  });
27
- return /* @__PURE__ */ o(Q.Provider, { value: { onChange: n, ...i }, children: /* @__PURE__ */ o(
28
+ return /* @__PURE__ */ o(Y.Provider, { value: { onChange: n, ...i }, children: /* @__PURE__ */ o(
28
29
  "div",
29
30
  {
30
31
  className: l(
@@ -35,9 +36,9 @@ const I = () => {
35
36
  ...s
36
37
  }
37
38
  ) });
38
- }, Le = (e) => {
39
- const { children: r, className: t, as: n = "h3", ...a } = e, { getToggleProps: s, onChange: i, isExpanded: c } = A(Q), u = s({ onClick: () => i(!c) });
40
- return /* @__PURE__ */ o(n, { children: /* @__PURE__ */ b(
39
+ }, Re = (e) => {
40
+ const { children: r, className: t, as: n = "h3", ...a } = e, { getToggleProps: s, onChange: i, isExpanded: c } = A(Y), m = s({ onClick: () => i(!c) });
41
+ return /* @__PURE__ */ o(n, { children: /* @__PURE__ */ f(
41
42
  "button",
42
43
  {
43
44
  className: l(
@@ -45,27 +46,27 @@ const I = () => {
45
46
  "focus-visible:outline-blue-dark aria-expanded:bg-green-dark group flex min-h-[4rem] w-full items-center justify-between px-5 py-4 text-left text-lg font-semibold focus:outline-none focus-visible:outline-4 focus-visible:outline-offset-0 aria-expanded:text-white"
46
47
  ),
47
48
  ...a,
48
- ...u,
49
- id: ie(u["aria-controls"]),
49
+ ...m,
50
+ id: ae(m["aria-controls"]),
50
51
  children: [
51
52
  r,
52
53
  /* @__PURE__ */ o(
53
- ae,
54
+ ee,
54
55
  {
55
- className: `shrink-0 text-sm ${qe} group-aria-expanded:rotate-180`
56
+ className: `shrink-0 text-sm ${Ce} group-aria-expanded:rotate-180`
56
57
  }
57
58
  )
58
59
  ]
59
60
  }
60
61
  ) });
61
- }, Pe = (e) => {
62
- const { getCollapseProps: r } = A(Q), { className: t, ...n } = e, a = r();
63
- return /* @__PURE__ */ o("div", { ...a, "aria-labelledby": ie(a.id), children: /* @__PURE__ */ o("div", { className: l(t, "p-5 pb-10"), ...n }) });
64
- }, ie = (e) => e + "toggle";
65
- U.Item = Me;
66
- U.Header = Le;
67
- U.Content = Pe;
68
- const Et = (e) => {
62
+ }, ke = (e) => {
63
+ const { getCollapseProps: r } = A(Y), { className: t, ...n } = e, a = r();
64
+ return /* @__PURE__ */ o("div", { ...a, "aria-labelledby": ae(a.id), children: /* @__PURE__ */ o("div", { className: l(t, "p-5 pb-10"), ...n }) });
65
+ }, ae = (e) => e + "toggle";
66
+ X.Item = Ee;
67
+ X.Header = Re;
68
+ X.Content = ke;
69
+ const dt = (e) => {
69
70
  const { className: r, children: t, heading: n, severity: a = "alert", ...s } = e;
70
71
  return /* @__PURE__ */ o(
71
72
  "section",
@@ -76,58 +77,23 @@ const Et = (e) => {
76
77
  }),
77
78
  role: "alert",
78
79
  ...s,
79
- children: /* @__PURE__ */ b("div", { className: "flex justify-center", children: [
80
+ children: /* @__PURE__ */ f("div", { className: "flex justify-center", children: [
80
81
  /* @__PURE__ */ o(
81
- ze,
82
+ Se,
82
83
  {
83
84
  className: "mr-4 flex-none md:mr-8 md:text-2xl",
84
85
  severity: a
85
86
  }
86
87
  ),
87
- /* @__PURE__ */ b("div", { className: "w-prose flex-initial", children: [
88
+ /* @__PURE__ */ f("div", { className: "w-prose flex-initial", children: [
88
89
  /* @__PURE__ */ o("h2", { className: "h4 mb-2", children: n }),
89
90
  t
90
91
  ] })
91
92
  ] })
92
93
  }
93
94
  );
94
- }, ze = ({ severity: e, className: r }) => e === "alert" ? /* @__PURE__ */ o(oe, { className: l(r, "text-red") }) : /* @__PURE__ */ o(se, { className: l(r, "text-orange") });
95
- var le = {}, N = {};
96
- Object.defineProperty(N, "__esModule", { value: !0 });
97
- N.isNavigator = N.isBrowser = N.off = N.on = N.noop = void 0;
98
- var Ve = function() {
99
- };
100
- N.noop = Ve;
101
- function Te(e) {
102
- for (var r = [], t = 1; t < arguments.length; t++)
103
- r[t - 1] = arguments[t];
104
- e && e.addEventListener && e.addEventListener.apply(e, r);
105
- }
106
- N.on = Te;
107
- function Fe(e) {
108
- for (var r = [], t = 1; t < arguments.length; t++)
109
- r[t - 1] = arguments[t];
110
- e && e.removeEventListener && e.removeEventListener.apply(e, r);
111
- }
112
- N.off = Fe;
113
- N.isBrowser = typeof window < "u";
114
- N.isNavigator = typeof navigator < "u";
115
- Object.defineProperty(le, "__esModule", { value: !0 });
116
- var $ = K, Je = N, Oe = function(e, r) {
117
- return r !== void 0 ? r : Je.isBrowser ? window.matchMedia(e).matches : (process.env.NODE_ENV !== "production" && console.warn("`useMedia` When server side rendering, defaultState should be defined to prevent a hydration mismatches."), !1);
118
- }, je = function(e, r) {
119
- var t = $.useState(Oe(e, r)), n = t[0], a = t[1];
120
- return $.useEffect(function() {
121
- var s = !0, i = window.matchMedia(e), c = function() {
122
- s && a(!!i.matches);
123
- };
124
- return i.addListener(c), a(i.matches), function() {
125
- s = !1, i.removeListener(c);
126
- };
127
- }, [e]), n;
128
- }, de = le.default = je;
129
- const Ze = "(prefers-reduced-motion: reduce)", Ct = (e = !1) => de(Ze, e);
130
- function ce(e) {
95
+ }, Se = ({ severity: e, className: r }) => e === "alert" ? /* @__PURE__ */ o(te, { className: l(r, "text-red") }) : /* @__PURE__ */ o(re, { className: l(r, "text-orange") }), qe = "(prefers-reduced-motion: reduce)", ct = (e = !1) => ne(qe, { initializeWithValue: e });
96
+ function oe(e) {
131
97
  switch (e) {
132
98
  case "gray":
133
99
  return "bg-gray-lightest";
@@ -141,34 +107,34 @@ function ce(e) {
141
107
  return "bg-sky-light";
142
108
  }
143
109
  }
144
- const We = (e) => de("(max-width: 767.9px)", e);
110
+ const Le = (e) => ne("(max-width: 767.9px)", { initializeWithValue: e });
145
111
  function L(e, r = !0) {
146
- const [t, n] = M("indeterminate"), [a, s] = M(), i = E((d) => {
112
+ const [t, n] = q("indeterminate"), [a, s] = q(), i = I((d) => {
147
113
  d.target.checkValidity() && (n("valid"), s(void 0));
148
- }, []), c = E(
114
+ }, []), c = I(
149
115
  (d) => {
150
116
  t !== "indeterminate" && d.target.checkValidity() && (n("valid"), s(void 0));
151
117
  },
152
118
  [t]
153
- ), u = E((d) => {
119
+ ), m = I((d) => {
154
120
  d.preventDefault();
155
- const m = d.target.validationMessage;
156
- s(m), n("invalid");
121
+ const u = d.target.validationMessage;
122
+ s(u), n("invalid");
157
123
  }, []);
158
- return xe(() => {
159
- var m;
124
+ return fe(() => {
125
+ var u;
160
126
  const { current: d } = e;
161
127
  return r && // @ts-expect-error respect the <form noValidate> attribute if we are rendered inside a form
162
- ((m = d == null ? void 0 : d.form) == null ? void 0 : m.noValidate) !== !0 && (d == null || d.addEventListener("blur", i), d == null || d.addEventListener("input", c), d == null || d.addEventListener("invalid", u)), () => {
163
- d == null || d.removeEventListener("blur", i), d == null || d.removeEventListener("input", c), d == null || d.removeEventListener("invalid", u);
128
+ ((u = d == null ? void 0 : d.form) == null ? void 0 : u.noValidate) !== !0 && (d == null || d.addEventListener("blur", i), d == null || d.addEventListener("input", c), d == null || d.addEventListener("invalid", m)), () => {
129
+ d == null || d.removeEventListener("blur", i), d == null || d.removeEventListener("input", c), d == null || d.removeEventListener("invalid", m);
164
130
  };
165
131
  }, [r, c]), { validity: t, validationMessage: a };
166
132
  }
167
133
  function R(e) {
168
- const r = re();
134
+ const r = _();
169
135
  return e ?? r;
170
136
  }
171
- const St = (e) => {
137
+ const mt = (e) => {
172
138
  const {
173
139
  bgColor: r,
174
140
  className: t,
@@ -176,15 +142,15 @@ const St = (e) => {
176
142
  heading: a,
177
143
  image: s,
178
144
  ...i
179
- } = e, c = ce(r);
180
- return /* @__PURE__ */ o("article", { className: l(t, c, "px-4 py-8 md:py-14"), ...i, children: /* @__PURE__ */ b("div", { className: "container flex flex-col justify-center gap-4 md:flex-row md:gap-12", children: [
145
+ } = e, c = oe(r);
146
+ return /* @__PURE__ */ o("article", { className: l(t, c, "px-4 py-8 md:py-14"), ...i, children: /* @__PURE__ */ f("div", { className: "container flex flex-col justify-center gap-4 md:flex-row md:gap-12", children: [
181
147
  s,
182
- /* @__PURE__ */ b("div", { className: "max-w-prose", children: [
148
+ /* @__PURE__ */ f("div", { className: "max-w-prose", children: [
183
149
  a && /* @__PURE__ */ o("h2", { className: "h3 mb-4", children: a }),
184
150
  n
185
151
  ] })
186
152
  ] }) });
187
- }, Rt = (e) => /* @__PURE__ */ o(
153
+ }, ut = (e) => /* @__PURE__ */ o(
188
154
  "img",
189
155
  {
190
156
  loading: "lazy",
@@ -192,7 +158,7 @@ const St = (e) => {
192
158
  className: "w-20 flex-none self-center md:w-32 md:self-start",
193
159
  ...e
194
160
  }
195
- ), Ke = {
161
+ ), Me = {
196
162
  "standard-primary": "bg-green border-green text-white",
197
163
  "standard-secondary": "bg-white border-green text-black",
198
164
  "mint-primary": "bg-mint border-mint text-black",
@@ -201,7 +167,7 @@ const St = (e) => {
201
167
  "white-secondary": "bg-transparent border-white text-white",
202
168
  "light-green-primary": "bg-green-light border-green-light text-black",
203
169
  "light-green-secondary": "bg-transparent border-green-light text-green-light"
204
- }, kt = g((e, r) => {
170
+ }, bt = g((e, r) => {
205
171
  const {
206
172
  children: t,
207
173
  className: n,
@@ -209,10 +175,10 @@ const St = (e) => {
209
175
  href: s,
210
176
  loading: i,
211
177
  type: c = "button",
212
- variant: u = "primary",
178
+ variant: m = "primary",
213
179
  ...d
214
- } = e, m = A(P), f = Ke[`${a ?? m}-${u}`], p = l(n, f, "button"), x = i ? /* @__PURE__ */ o(Xe, { children: t }) : t;
215
- return /* @__PURE__ */ o(W, { children: s ? /* @__PURE__ */ o(
180
+ } = e, u = A(M), b = Me[`${a ?? u}-${m}`], p = l(n, b, "button"), v = i ? /* @__PURE__ */ o(Pe, { children: t }) : t;
181
+ return /* @__PURE__ */ o(O, { children: s ? /* @__PURE__ */ o(
216
182
  "a",
217
183
  {
218
184
  "aria-busy": i ? !0 : void 0,
@@ -220,7 +186,7 @@ const St = (e) => {
220
186
  href: s,
221
187
  ref: r,
222
188
  className: p,
223
- children: x
189
+ children: v
224
190
  }
225
191
  ) : /* @__PURE__ */ o(
226
192
  "button",
@@ -230,34 +196,34 @@ const St = (e) => {
230
196
  type: c,
231
197
  ref: r,
232
198
  className: p,
233
- children: x
199
+ children: v
234
200
  }
235
201
  ) });
236
- }), Xe = (e) => /* @__PURE__ */ b(W, { children: [
237
- me(e.children),
202
+ }), Pe = (e) => /* @__PURE__ */ f(O, { children: [
203
+ se(e.children),
238
204
  /* @__PURE__ */ o(
239
205
  "span",
240
206
  {
241
207
  className: "!visible absolute bottom-1 left-1 right-1 top-1 grid place-items-center overflow-hidden bg-inherit",
242
208
  "aria-hidden": !0,
243
- children: /* @__PURE__ */ o(we, { className: "animate-spin" })
209
+ children: /* @__PURE__ */ o(ge, { className: "animate-spin" })
244
210
  }
245
211
  )
246
212
  ] });
247
- function me(e) {
248
- return X.map(e, (r) => {
249
- if (!ne(r))
213
+ function se(e) {
214
+ return Z.map(e, (r) => {
215
+ if (!$(r))
250
216
  return typeof r == "string" ? /* @__PURE__ */ o("span", { children: r }) : r;
251
217
  if (r.props.children) {
252
218
  const t = {
253
- children: me(r.props.children)
219
+ children: se(r.props.children)
254
220
  };
255
- r = Y(r, t);
221
+ r = W(r, t);
256
222
  }
257
223
  return r;
258
224
  });
259
225
  }
260
- const P = w("standard"), ue = w(!0), Ye = (e, r) => {
226
+ const M = N("standard"), ie = N(!0), ze = (e, r) => {
261
227
  const {
262
228
  as: t = "div",
263
229
  body: n,
@@ -266,7 +232,7 @@ const P = w("standard"), ue = w(!0), Ye = (e, r) => {
266
232
  rightAlignBody: i = !0,
267
233
  ...c
268
234
  } = e;
269
- return /* @__PURE__ */ b(
235
+ return /* @__PURE__ */ f(
270
236
  t,
271
237
  {
272
238
  className: l(
@@ -276,12 +242,12 @@ const P = w("standard"), ue = w(!0), Ye = (e, r) => {
276
242
  ...c,
277
243
  ref: r,
278
244
  children: [
279
- /* @__PURE__ */ o(ue.Provider, { value: i, children: s }),
245
+ /* @__PURE__ */ o(ie.Provider, { value: i, children: s }),
280
246
  n
281
247
  ]
282
248
  }
283
249
  );
284
- }, Be = g(Ye), Ue = g(
250
+ }, Ve = g(ze), Te = g(
285
251
  (e, r) => {
286
252
  const { className: t, ...n } = e;
287
253
  return /* @__PURE__ */ o(
@@ -293,16 +259,16 @@ const P = w("standard"), ue = w(!0), Ye = (e, r) => {
293
259
  }
294
260
  );
295
261
  }
296
- ), Qe = g(
262
+ ), Fe = g(
297
263
  (e, r) => {
298
- const { className: t, children: n, ...a } = e, s = A(ue), i = l(
264
+ const { className: t, children: n, ...a } = e, s = A(ie), i = l(
299
265
  t,
300
266
  "max-md:rounded-b-3xl w-full",
301
267
  s ? "md:rounded-r-3xl" : "md:rounded-l-3xl md:order-1"
302
268
  );
303
- if (ne(n)) {
304
- const c = X.only(n);
305
- return Y(c, {
269
+ if ($(n)) {
270
+ const c = Z.only(n);
271
+ return W(c, {
306
272
  // @ts-expect-error assume className prop is allowed
307
273
  className: i,
308
274
  ref: r,
@@ -311,10 +277,10 @@ const P = w("standard"), ue = w(!0), Ye = (e, r) => {
311
277
  }
312
278
  return /* @__PURE__ */ o("img", { className: i, ref: r, ...a });
313
279
  }
314
- ), qt = Object.assign({}, Be, {
315
- Body: Ue,
316
- Image: Qe
317
- }), He = (e, r) => {
280
+ ), ft = Object.assign({}, Ve, {
281
+ Body: Te,
282
+ Image: Fe
283
+ }), Je = (e, r) => {
318
284
  const {
319
285
  as: t = "div",
320
286
  className: n,
@@ -332,7 +298,7 @@ const P = w("standard"), ue = w(!0), Ye = (e, r) => {
332
298
  ref: r
333
299
  }
334
300
  );
335
- }, Mt = g(He), Lt = g(
301
+ }, ht = g(Je), gt = g(
336
302
  (e, r) => {
337
303
  const { className: t, ...n } = e;
338
304
  return /* @__PURE__ */ o(
@@ -345,9 +311,9 @@ const P = w("standard"), ue = w(!0), Ye = (e, r) => {
345
311
  }
346
312
  );
347
313
  }
348
- ), Pt = g(
314
+ ), pt = g(
349
315
  (e, r) => {
350
- const { bgColor: t, className: n, ...a } = e, s = ce(t);
316
+ const { bgColor: t, className: n, ...a } = e, s = oe(t);
351
317
  return /* @__PURE__ */ o("div", { className: l(s, n), children: /* @__PURE__ */ o(
352
318
  "div",
353
319
  {
@@ -357,12 +323,12 @@ const P = w("standard"), ue = w(!0), Ye = (e, r) => {
357
323
  }
358
324
  ) });
359
325
  }
360
- ), zt = g(
326
+ ), At = g(
361
327
  (e, r) => {
362
328
  const { className: t, ...n } = e;
363
329
  return /* @__PURE__ */ o("div", { className: l(t, "p-8 md:px-10"), ...n, ref: r });
364
330
  }
365
- ), Vt = g((e, r) => {
331
+ ), xt = g((e, r) => {
366
332
  const { className: t, ...n } = e;
367
333
  return /* @__PURE__ */ o(
368
334
  "a",
@@ -375,7 +341,7 @@ const P = w("standard"), ue = w(!0), Ye = (e, r) => {
375
341
  ...n
376
342
  }
377
343
  );
378
- }), Tt = g(
344
+ }), vt = g(
379
345
  (e, r) => {
380
346
  const {
381
347
  children: t,
@@ -384,12 +350,12 @@ const P = w("standard"), ue = w(!0), Ye = (e, r) => {
384
350
  id: s,
385
351
  disableValidation: i = !1,
386
352
  ...c
387
- } = e, u = S(null), { validity: d, validationMessage: m } = L(
388
- u,
353
+ } = e, m = E(null), { validity: d, validationMessage: u } = L(
354
+ m,
389
355
  !i
390
- ), h = R(s), f = h + "err", p = a || m;
391
- return /* @__PURE__ */ b("div", { className: "grid gap-2", children: [
392
- /* @__PURE__ */ b("label", { className: l(n, "flex cursor-pointer gap-2.5"), children: [
356
+ ), h = R(s), b = h + "err", p = a || u;
357
+ return /* @__PURE__ */ f("div", { className: "grid gap-2", children: [
358
+ /* @__PURE__ */ f("label", { className: l(n, "flex cursor-pointer gap-2.5"), children: [
393
359
  /* @__PURE__ */ o(
394
360
  "input",
395
361
  {
@@ -404,32 +370,32 @@ const P = w("standard"), ue = w(!0), Ye = (e, r) => {
404
370
  ref: r,
405
371
  type: "checkbox",
406
372
  ...c,
407
- "aria-describedby": p ? f : void 0,
373
+ "aria-describedby": p ? b : void 0,
408
374
  "aria-invalid": !!a || d === "invalid"
409
375
  }
410
376
  ),
411
377
  t
412
378
  ] }),
413
- p && /* @__PURE__ */ o(k, { id: f, children: p })
379
+ p && /* @__PURE__ */ o(k, { id: b, children: p })
414
380
  ] });
415
381
  }
416
- ), De = {
382
+ ), je = {
417
383
  sky: "bg-sky border-sky",
418
384
  "red-light": "bg-red-light border-red-light",
419
385
  mint: "bg-mint border-mint",
420
386
  "orange-light": "bg-orange-light border-orange-light",
421
387
  "green-light": "bg-green-light border-green-light",
422
388
  "blue-light": "bg-blue-light border-blue-light"
423
- }, Ge = {
389
+ }, Oe = {
424
390
  sky: "text-blue-dark",
425
391
  "red-light": "text-red",
426
392
  mint: "text-green",
427
393
  "orange-light": "text-black",
428
394
  "green-light": "text-green",
429
395
  "blue-light": "text-blue-dark"
430
- }, Ft = (e) => {
431
- const { className: r, color: t, icon: n, children: a, variant: s = "filled" } = e, i = t && De[t], c = t && Ge[t];
432
- return /* @__PURE__ */ b(
396
+ }, Nt = (e) => {
397
+ const { className: r, color: t, icon: n, children: a, variant: s = "filled" } = e, i = t && je[t], c = t && Oe[t];
398
+ return /* @__PURE__ */ f(
433
399
  "div",
434
400
  {
435
401
  className: l(
@@ -451,9 +417,9 @@ const P = w("standard"), ue = w(!0), Ye = (e, r) => {
451
417
  ]
452
418
  }
453
419
  );
454
- }, Jt = (e) => {
420
+ }, wt = (e) => {
455
421
  const { className: r, children: t, ...n } = e;
456
- return /* @__PURE__ */ o(P.Provider, { value: "white", children: /* @__PURE__ */ o(
422
+ return /* @__PURE__ */ o(M.Provider, { value: "white", children: /* @__PURE__ */ o(
457
423
  "footer",
458
424
  {
459
425
  className: l(
@@ -465,9 +431,9 @@ const P = w("standard"), ue = w(!0), Ye = (e, r) => {
465
431
  children: /* @__PURE__ */ o("div", { className: "container", children: t })
466
432
  }
467
433
  ) });
468
- }, Ot = (e) => {
434
+ }, yt = (e) => {
469
435
  const { heading: r, children: t, className: n, ...a } = e;
470
- return /* @__PURE__ */ b(
436
+ return /* @__PURE__ */ f(
471
437
  "form",
472
438
  {
473
439
  className: l(
@@ -476,12 +442,12 @@ const P = w("standard"), ue = w(!0), Ye = (e, r) => {
476
442
  ),
477
443
  ...a,
478
444
  children: [
479
- r && /* @__PURE__ */ o(_e, { children: r }),
445
+ r && /* @__PURE__ */ o(Ze, { children: r }),
480
446
  /* @__PURE__ */ o("div", { className: "p-6 md:p-10", children: t })
481
447
  ]
482
448
  }
483
449
  );
484
- }, _e = (e) => {
450
+ }, Ze = (e) => {
485
451
  const { className: r, ...t } = e;
486
452
  return /* @__PURE__ */ o(
487
453
  "h2",
@@ -493,7 +459,7 @@ const P = w("standard"), ue = w(!0), Ye = (e, r) => {
493
459
  ...t
494
460
  }
495
461
  );
496
- }, jt = (e) => {
462
+ }, It = (e) => {
497
463
  const { className: r, ...t } = e;
498
464
  return /* @__PURE__ */ o(
499
465
  "div",
@@ -509,7 +475,7 @@ const P = w("standard"), ue = w(!0), Ye = (e, r) => {
509
475
  );
510
476
  }, k = (e) => {
511
477
  const { children: r, className: t, ...n } = e;
512
- return /* @__PURE__ */ b(
478
+ return /* @__PURE__ */ f(
513
479
  "div",
514
480
  {
515
481
  className: l(
@@ -519,17 +485,17 @@ const P = w("standard"), ue = w(!0), Ye = (e, r) => {
519
485
  "aria-live": "polite",
520
486
  ...n,
521
487
  children: [
522
- /* @__PURE__ */ o(oe, { className: "text-red flex-shrink-0" }),
488
+ /* @__PURE__ */ o(te, { className: "text-red flex-shrink-0" }),
523
489
  r
524
490
  ]
525
491
  }
526
492
  );
527
- }, z = (e) => {
493
+ }, P = (e) => {
528
494
  const { className: r, children: t, ...n } = e;
529
495
  return /* @__PURE__ */ o("div", { className: l(r, "text-gray-dark text-sm"), ...n, children: t });
530
- }, V = (e) => {
496
+ }, z = (e) => {
531
497
  const { className: r, children: t, isRequired: n, isInvalid: a, ...s } = e;
532
- return /* @__PURE__ */ b(
498
+ return /* @__PURE__ */ f(
533
499
  "label",
534
500
  {
535
501
  className: l(r, "block cursor-pointer font-semibold"),
@@ -549,9 +515,9 @@ const P = w("standard"), ue = w(!0), Ye = (e, r) => {
549
515
  ]
550
516
  }
551
517
  );
552
- }, Zt = (e) => {
518
+ }, Ct = (e) => {
553
519
  const { className: r, heading: t, text: n, ...a } = e;
554
- return /* @__PURE__ */ b(
520
+ return /* @__PURE__ */ f(
555
521
  "div",
556
522
  {
557
523
  className: l(
@@ -575,7 +541,7 @@ const P = w("standard"), ue = w(!0), Ye = (e, r) => {
575
541
  ]
576
542
  }
577
543
  );
578
- }, $e = (e) => {
544
+ }, We = (e) => {
579
545
  const { className: r, collapsed: t, step: n, onClick: a, children: s, formStatus: i } = e;
580
546
  return /* @__PURE__ */ o(
581
547
  "button",
@@ -589,7 +555,7 @@ const P = w("standard"), ue = w(!0), Ye = (e, r) => {
589
555
  "border-green bg-green text-white": t && i === "completed"
590
556
  }),
591
557
  children: /* @__PURE__ */ o(
592
- et,
558
+ Ke,
593
559
  {
594
560
  collapsed: t,
595
561
  step: n,
@@ -599,7 +565,7 @@ const P = w("standard"), ue = w(!0), Ye = (e, r) => {
599
565
  )
600
566
  }
601
567
  );
602
- }, et = (e) => {
568
+ }, Ke = (e) => {
603
569
  const { collapsed: r, step: t, children: n, formStatus: a } = e, s = C(() => {
604
570
  switch (a) {
605
571
  case "blank":
@@ -614,10 +580,10 @@ const P = w("standard"), ue = w(!0), Ye = (e, r) => {
614
580
  case "blank":
615
581
  return /* @__PURE__ */ o("div", { children: t });
616
582
  case "completed":
617
- return /* @__PURE__ */ o(ye, { className: "h-10 w-10 md:h-12 md:w-12" });
583
+ return /* @__PURE__ */ o(pe, { className: "h-10 w-10 md:h-12 md:w-12" });
618
584
  }
619
585
  }, [a, t, r]);
620
- return /* @__PURE__ */ b(
586
+ return /* @__PURE__ */ f(
621
587
  "h2",
622
588
  {
623
589
  className: l(
@@ -656,7 +622,7 @@ const P = w("standard"), ue = w(!0), Ye = (e, r) => {
656
622
  ]
657
623
  }
658
624
  );
659
- }, fe = w([
625
+ }, le = N([
660
626
  {
661
627
  activeStep: 1,
662
628
  formData: {}
@@ -664,10 +630,10 @@ const P = w("standard"), ue = w(!0), Ye = (e, r) => {
664
630
  () => {
665
631
  }
666
632
  ]);
667
- function tt(e) {
668
- const [r, t] = A(fe), n = E(async () => {
633
+ function Xe(e) {
634
+ const [r, t] = A(le), n = I(async () => {
669
635
  t({ type: "PREV_STEP" });
670
- }, [t]), a = E(
636
+ }, [t]), a = I(
671
637
  (s) => {
672
638
  t({
673
639
  type: "SET_FORM_STEP_DATA",
@@ -686,7 +652,7 @@ function tt(e) {
686
652
  formData: r.formData
687
653
  };
688
654
  }
689
- function rt(e, r) {
655
+ function Ye(e, r) {
690
656
  switch (r.type) {
691
657
  case "NEXT_STEP":
692
658
  return {
@@ -713,75 +679,62 @@ function rt(e, r) {
713
679
  };
714
680
  }
715
681
  }
716
- function Wt({ children: e }) {
717
- const [r, t] = Ne(rt, {
682
+ function Et({ children: e }) {
683
+ const [r, t] = he(Ye, {
718
684
  activeStep: 1,
719
685
  formData: {}
720
686
  }), n = C(() => [r, t], [r, t]);
721
- return /* @__PURE__ */ o(fe.Provider, { value: n, children: e });
687
+ return /* @__PURE__ */ o(le.Provider, { value: n, children: e });
722
688
  }
723
- var be = {}, T = {};
724
- Object.defineProperty(T, "__esModule", { value: !0 });
725
- T.useFirstMountState = void 0;
726
- var nt = K;
727
- function at() {
728
- var e = nt.useRef(!0);
729
- return e.current ? (e.current = !1, !0) : e.current;
730
- }
731
- T.useFirstMountState = at;
732
- Object.defineProperty(be, "__esModule", { value: !0 });
733
- var ot = K, st = T, it = function(e, r) {
734
- var t = st.useFirstMountState();
735
- ot.useEffect(function() {
736
- if (!t)
737
- return e();
738
- }, r);
739
- }, lt = be.default = it;
740
- const Kt = (e) => {
689
+ const Rt = (e) => {
741
690
  const {
742
691
  children: r,
743
692
  heading: t,
744
693
  step: n,
745
694
  formStatus: a = "blank",
746
695
  onSubmit: s,
747
- ...i
748
- } = e, { isActive: c, setActiveStep: u, activeStep: d } = tt(n), m = S(null), h = E(() => {
749
- n < d && u(n);
750
- }, [d, n, u]);
751
- return lt(() => {
752
- var f;
753
- c && ((f = m.current) == null || f.scrollIntoView({ behavior: "smooth" }));
754
- }, [c]), /* @__PURE__ */ b(
696
+ className: i,
697
+ ...c
698
+ } = e, { isActive: m, setActiveStep: d, activeStep: u } = Xe(n), h = E(null), b = I(() => {
699
+ n < u && d(n);
700
+ }, [u, n, d]);
701
+ return ye(() => {
702
+ var p;
703
+ m && ((p = h.current) == null || p.scrollIntoView({ behavior: "smooth" }));
704
+ }, [m]), /* @__PURE__ */ f(
755
705
  "form",
756
706
  {
757
707
  className: l(
758
- "border-blue-dark block overflow-hidden rounded-lg border-2",
759
- { "rounded-t-2xl md:rounded-t-3xl": n === 1 },
760
- { "border-none": a === "completed" && !c }
708
+ "border-blue-dark relative block overflow-hidden rounded-lg border-2",
709
+ i,
710
+ {
711
+ "rounded-t-2xl md:rounded-t-3xl": n === 1,
712
+ "border-none": a === "completed" && !m
713
+ }
761
714
  ),
762
715
  onSubmit: s,
763
- ref: m,
764
- ...i,
716
+ ref: h,
717
+ ...c,
765
718
  children: [
766
719
  /* @__PURE__ */ o(
767
- $e,
720
+ We,
768
721
  {
769
722
  step: n,
770
723
  formStatus: a,
771
- collapsed: !c,
772
- onClick: h,
724
+ collapsed: !m,
725
+ onClick: b,
773
726
  children: t
774
727
  }
775
728
  ),
776
- c && /* @__PURE__ */ o("div", { className: "p-6 md:p-10", children: r })
729
+ m && /* @__PURE__ */ o("div", { className: "p-6 md:p-10", children: r })
777
730
  ]
778
731
  }
779
732
  );
780
733
  };
781
- function ge(e) {
734
+ function de(e) {
782
735
  return e !== "vertical-split" && e !== "below-center" && e !== "below-left";
783
736
  }
784
- const F = w({ bgColor: "white", contentPosition: "below-center", hasImage: !1 }), Xt = g((e, r) => {
737
+ const V = N({ bgColor: "white", contentPosition: "below-center", hasImage: !1 }), kt = g((e, r) => {
785
738
  const {
786
739
  bgColor: t = "white",
787
740
  children: n,
@@ -789,19 +742,19 @@ const F = w({ bgColor: "white", contentPosition: "below-center", hasImage: !1 })
789
742
  contentPosition: s = "below-center",
790
743
  image: i,
791
744
  ...c
792
- } = e, u = i != null, d = u ? s : "below-center", m = C(
745
+ } = e, m = i != null, d = m ? s : "below-center", u = C(
793
746
  () => ({
794
747
  bgColor: t,
795
748
  contentPosition: d,
796
- hasImage: u
749
+ hasImage: m
797
750
  }),
798
- [t, d, u]
751
+ [t, d, m]
799
752
  );
800
753
  return /* @__PURE__ */ o(
801
- P.Provider,
754
+ M.Provider,
802
755
  {
803
756
  value: t === "white" ? "standard" : "mint",
804
- children: /* @__PURE__ */ o(F.Provider, { value: m, children: /* @__PURE__ */ b(
757
+ children: /* @__PURE__ */ o(V.Provider, { value: u, children: /* @__PURE__ */ f(
805
758
  "div",
806
759
  {
807
760
  className: l(
@@ -812,7 +765,7 @@ const F = w({ bgColor: "white", contentPosition: "below-center", hasImage: !1 })
812
765
  "md:grid-cols-[50%,50%]": d === "vertical-split"
813
766
  }
814
767
  ),
815
- style: ge(d) ? { gridTemplateAreas: '"hero"' } : void 0,
768
+ style: de(d) ? { gridTemplateAreas: '"hero"' } : void 0,
816
769
  ...c,
817
770
  ref: r,
818
771
  children: [
@@ -823,10 +776,10 @@ const F = w({ bgColor: "white", contentPosition: "below-center", hasImage: !1 })
823
776
  ) })
824
777
  }
825
778
  );
826
- }), Yt = g(
779
+ }), St = g(
827
780
  (e, r) => {
828
- const { contentPosition: t } = A(F);
829
- return /* @__PURE__ */ b(
781
+ const { contentPosition: t } = A(V);
782
+ return /* @__PURE__ */ f(
830
783
  "picture",
831
784
  {
832
785
  className: l(e.className, "aspect-w-6 aspect-h-7 block", {
@@ -851,10 +804,10 @@ const F = w({ bgColor: "white", contentPosition: "below-center", hasImage: !1 })
851
804
  }
852
805
  );
853
806
  }
854
- ), Bt = g(
807
+ ), qt = g(
855
808
  (e, r) => {
856
- const { bgColor: t, contentPosition: n, hasImage: a } = A(F), { children: s, className: i, heading: c, description: u, ...d } = e, m = ge(n);
857
- return /* @__PURE__ */ b(
809
+ const { bgColor: t, contentPosition: n, hasImage: a } = A(V), { children: s, className: i, heading: c, description: m, ...d } = e, u = de(n);
810
+ return /* @__PURE__ */ f(
858
811
  "div",
859
812
  {
860
813
  className: l(
@@ -876,7 +829,7 @@ const F = w({ bgColor: "white", contentPosition: "below-center", hasImage: !1 })
876
829
  // Below left style
877
830
  "md:-mt-32 md:ml-[8%] md:max-w-[58%] md:text-left": n === "below-left",
878
831
  // styles for when the contain is fully contained within the image
879
- "md:mx-32 md:my-9 md:w-2/5": m,
832
+ "md:mx-32 md:my-9 md:w-2/5": u,
880
833
  "self-end justify-self-start": n === "bottom-left",
881
834
  "self-start justify-self-start": n === "top-left",
882
835
  "self-start justify-self-end": n === "top-right",
@@ -885,19 +838,19 @@ const F = w({ bgColor: "white", contentPosition: "below-center", hasImage: !1 })
885
838
  }
886
839
  ),
887
840
  ...d,
888
- style: m ? { gridArea: "hero" } : void 0,
841
+ style: u ? { gridArea: "hero" } : void 0,
889
842
  ref: r,
890
843
  children: [
891
844
  /* @__PURE__ */ o("h1", { children: c }),
892
- u && /* @__PURE__ */ o("p", { className: "text-lg font-semibold md:text-xl", children: u }),
845
+ m && /* @__PURE__ */ o("p", { className: "text-lg font-semibold md:text-xl", children: m }),
893
846
  s
894
847
  ]
895
848
  }
896
849
  );
897
850
  }
898
- ), Ut = g(
851
+ ), Lt = g(
899
852
  (e, r) => {
900
- const { className: t, ...n } = e, { contentPosition: a } = A(F);
853
+ const { className: t, ...n } = e, { contentPosition: a } = A(V);
901
854
  return /* @__PURE__ */ o(
902
855
  "div",
903
856
  {
@@ -914,7 +867,7 @@ const F = w({ bgColor: "white", contentPosition: "below-center", hasImage: !1 })
914
867
  }
915
868
  );
916
869
  }
917
- ), he = g((e, r) => {
870
+ ), ce = g((e, r) => {
918
871
  const {
919
872
  className: t,
920
873
  isInvalid: n,
@@ -922,10 +875,10 @@ const F = w({ bgColor: "white", contentPosition: "below-center", hasImage: !1 })
922
875
  as: s,
923
876
  type: i,
924
877
  rightAddon: c,
925
- leftAddon: u,
878
+ leftAddon: m,
926
879
  ...d
927
- } = e, m = s ?? "input", h = dt(m, i);
928
- return /* @__PURE__ */ b(
880
+ } = e, u = s ?? "input", h = Qe(u, i);
881
+ return /* @__PURE__ */ f(
929
882
  "div",
930
883
  {
931
884
  className: l(
@@ -936,14 +889,14 @@ const F = w({ bgColor: "white", contentPosition: "below-center", hasImage: !1 })
936
889
  "border-red focus-within:border-red": n,
937
890
  "w-fit": a != null,
938
891
  "w-full": a == null,
939
- "pl-4": u,
892
+ "pl-4": m,
940
893
  "pr-4": c
941
894
  }
942
895
  ),
943
896
  children: [
944
- u,
897
+ m,
945
898
  /* @__PURE__ */ o(
946
- m,
899
+ u,
947
900
  {
948
901
  "aria-invalid": n,
949
902
  ref: r,
@@ -958,28 +911,28 @@ const F = w({ bgColor: "white", contentPosition: "below-center", hasImage: !1 })
958
911
  }
959
912
  );
960
913
  });
961
- function dt(e, r) {
914
+ function Qe(e, r) {
962
915
  if (r != null)
963
916
  return r;
964
917
  if (e === "input")
965
918
  return "text";
966
919
  }
967
- const Qt = (e) => {
920
+ const Mt = (e) => {
968
921
  let r = "";
969
- return e.icon && (r = "inline-flex items-center gap-2"), /* @__PURE__ */ b("a", { className: r, href: e.href, children: [
922
+ return e.icon && (r = "inline-flex items-center gap-2"), /* @__PURE__ */ f("a", { className: r, href: e.href, children: [
970
923
  e.icon,
971
924
  e.children
972
925
  ] });
973
- }, q = w({
974
- setIsExpanded: I,
926
+ }, S = N({
927
+ setIsExpanded: y,
975
928
  isExpanded: !1,
976
929
  collapsibleId: ""
977
- }), Ht = (e) => {
978
- const { className: r, children: t, ...n } = e, a = re(), [s, i] = M(!1), c = C(
930
+ }), Pt = (e) => {
931
+ const { className: r, children: t, ...n } = e, a = _(), [s, i] = q(!1), c = C(
979
932
  () => ({ isExpanded: s, setIsExpanded: i, collapsibleId: a }),
980
933
  [s, a]
981
934
  );
982
- return /* @__PURE__ */ o(P.Provider, { value: "white", children: /* @__PURE__ */ o(q.Provider, { value: c, children: /* @__PURE__ */ o(
935
+ return /* @__PURE__ */ o(M.Provider, { value: "white", children: /* @__PURE__ */ o(S.Provider, { value: c, children: /* @__PURE__ */ o(
983
936
  "div",
984
937
  {
985
938
  className: l(
@@ -990,8 +943,8 @@ const Qt = (e) => {
990
943
  children: /* @__PURE__ */ o("div", { className: "container", children: t })
991
944
  }
992
945
  ) }) });
993
- }, Dt = (e) => {
994
- const { className: r, children: t, ...n } = e, { isExpanded: a } = A(q);
946
+ }, zt = (e) => {
947
+ const { className: r, children: t, ...n } = e, { isExpanded: a } = A(S);
995
948
  return /* @__PURE__ */ o(
996
949
  "nav",
997
950
  {
@@ -1006,7 +959,7 @@ const Qt = (e) => {
1006
959
  children: t
1007
960
  }
1008
961
  );
1009
- }, Gt = g(
962
+ }, Vt = g(
1010
963
  (e, r) => {
1011
964
  const { active: t, className: n, children: a, ...s } = e;
1012
965
  return /* @__PURE__ */ o(
@@ -1026,10 +979,10 @@ const Qt = (e) => {
1026
979
  }
1027
980
  );
1028
981
  }
1029
- ), ct = () => {
1030
- const { isExpanded: e, setIsExpanded: r, collapsibleId: t } = A(q);
1031
- let n = Ie, a = "Meny";
1032
- return e && (n = Ee, a = "Lukk"), /* @__PURE__ */ b(
982
+ ), Ue = () => {
983
+ const { isExpanded: e, setIsExpanded: r, collapsibleId: t } = A(S);
984
+ let n = Ae, a = "Meny";
985
+ return e && (n = xe, a = "Lukk"), /* @__PURE__ */ f(
1033
986
  "button",
1034
987
  {
1035
988
  "aria-controls": t,
@@ -1043,9 +996,9 @@ const Qt = (e) => {
1043
996
  ]
1044
997
  }
1045
998
  );
1046
- }, _t = (e) => {
999
+ }, Tt = (e) => {
1047
1000
  const { className: r, children: t, logo: n, ...a } = e;
1048
- return /* @__PURE__ */ b(
1001
+ return /* @__PURE__ */ f(
1049
1002
  "div",
1050
1003
  {
1051
1004
  className: l(r, "flex items-center justify-between gap-8"),
@@ -1053,12 +1006,12 @@ const Qt = (e) => {
1053
1006
  children: [
1054
1007
  n,
1055
1008
  /* @__PURE__ */ o("div", { className: "hidden md:block", children: t }),
1056
- /* @__PURE__ */ o(ct, {})
1009
+ /* @__PURE__ */ o(Ue, {})
1057
1010
  ]
1058
1011
  }
1059
1012
  );
1060
- }, $t = (e) => {
1061
- const { className: r, children: t, ...n } = e, { collapsibleId: a, isExpanded: s } = A(q);
1013
+ }, Ft = (e) => {
1014
+ const { className: r, children: t, ...n } = e, { collapsibleId: a, isExpanded: s } = A(S);
1062
1015
  return /* @__PURE__ */ o(
1063
1016
  "div",
1064
1017
  {
@@ -1071,10 +1024,10 @@ const Qt = (e) => {
1071
1024
  children: t
1072
1025
  }
1073
1026
  );
1074
- }, er = (e) => {
1075
- const { isExpanded: r } = A(q), t = We(!1);
1076
- return !r || !t ? null : /* @__PURE__ */ o(W, { children: e.children });
1077
- }, y = 2, J = w({ currentPage: 0, pageCount: 0 }), tr = (e) => {
1027
+ }, Jt = (e) => {
1028
+ const { isExpanded: r } = A(S), t = Le(!1);
1029
+ return !r || !t ? null : /* @__PURE__ */ o(O, { children: e.children });
1030
+ }, w = 2, T = N({ currentPage: 0, pageCount: 0 }), jt = (e) => {
1078
1031
  const {
1079
1032
  className: r,
1080
1033
  page: t,
@@ -1083,33 +1036,33 @@ const Qt = (e) => {
1083
1036
  getItemHref: s,
1084
1037
  getItemAriaLabel: i,
1085
1038
  nextPageAriaLabel: c,
1086
- prevPageAriaLabel: u,
1039
+ prevPageAriaLabel: m,
1087
1040
  ...d
1088
- } = e, m = C(
1041
+ } = e, u = C(
1089
1042
  () => ({
1090
1043
  currentPage: Math.max(1, Math.min(t, n)),
1091
1044
  pageCount: Math.max(1, n)
1092
1045
  }),
1093
1046
  [t, n]
1094
- ), h = (f) => (p) => {
1095
- a && (p.preventDefault(), a(f));
1047
+ ), h = (b) => (p) => {
1048
+ a && (p.preventDefault(), a(b));
1096
1049
  };
1097
- return /* @__PURE__ */ o(J.Provider, { value: m, children: /* @__PURE__ */ b(
1050
+ return /* @__PURE__ */ o(T.Provider, { value: u, children: /* @__PURE__ */ f(
1098
1051
  "nav",
1099
1052
  {
1100
1053
  className: l("flex justify-center gap-2 sm:gap-4", r),
1101
1054
  ...d,
1102
1055
  children: [
1103
1056
  /* @__PURE__ */ o(
1104
- ut,
1057
+ He,
1105
1058
  {
1106
- "aria-label": u,
1059
+ "aria-label": m,
1107
1060
  href: s(t - 1),
1108
1061
  onClick: h(t - 1)
1109
1062
  }
1110
1063
  ),
1111
1064
  /* @__PURE__ */ o(
1112
- ee,
1065
+ G,
1113
1066
  {
1114
1067
  page: 1,
1115
1068
  href: s(1),
@@ -1118,20 +1071,20 @@ const Qt = (e) => {
1118
1071
  selected: t === 1
1119
1072
  }
1120
1073
  ),
1121
- n > 2 + y * 2 && t > y + 2 && /* @__PURE__ */ o(ft, {}),
1122
- /* @__PURE__ */ o(bt, { children: (f) => /* @__PURE__ */ o(
1123
- ee,
1074
+ n > 2 + w * 2 && t > w + 2 && /* @__PURE__ */ o(Ge, {}),
1075
+ /* @__PURE__ */ o(De, { children: (b) => /* @__PURE__ */ o(
1076
+ G,
1124
1077
  {
1125
- href: s(f),
1126
- onClick: h(f),
1127
- "aria-label": i(f),
1128
- page: f,
1129
- selected: f === t
1078
+ href: s(b),
1079
+ onClick: h(b),
1080
+ "aria-label": i(b),
1081
+ page: b,
1082
+ selected: b === t
1130
1083
  },
1131
- f
1084
+ b
1132
1085
  ) }),
1133
1086
  /* @__PURE__ */ o(
1134
- mt,
1087
+ Be,
1135
1088
  {
1136
1089
  "aria-label": c,
1137
1090
  href: s(t + 1),
@@ -1141,33 +1094,33 @@ const Qt = (e) => {
1141
1094
  ]
1142
1095
  }
1143
1096
  ) });
1144
- }, mt = g((e, r) => {
1145
- const { currentPage: t, pageCount: n } = A(J), a = t >= n;
1097
+ }, Be = g((e, r) => {
1098
+ const { currentPage: t, pageCount: n } = A(T), a = t >= n;
1146
1099
  return /* @__PURE__ */ o(
1147
- H,
1100
+ Q,
1148
1101
  {
1149
1102
  "aria-hidden": a,
1150
1103
  className: a ? "invisible" : void 0,
1151
1104
  ref: r,
1152
1105
  rel: "next",
1153
1106
  ...e,
1154
- children: /* @__PURE__ */ o(Ce, {})
1107
+ children: /* @__PURE__ */ o(ve, {})
1155
1108
  }
1156
1109
  );
1157
- }), ut = g((e, r) => {
1158
- const { currentPage: t } = A(J), n = t <= 1;
1110
+ }), He = g((e, r) => {
1111
+ const { currentPage: t } = A(T), n = t <= 1;
1159
1112
  return /* @__PURE__ */ o(
1160
- H,
1113
+ Q,
1161
1114
  {
1162
1115
  "aria-hidden": n,
1163
1116
  className: n ? "invisible" : void 0,
1164
1117
  ref: r,
1165
1118
  rel: "prev",
1166
1119
  ...e,
1167
- children: /* @__PURE__ */ o(Se, {})
1120
+ children: /* @__PURE__ */ o(Ne, {})
1168
1121
  }
1169
1122
  );
1170
- }), H = g((e, r) => {
1123
+ }), Q = g((e, r) => {
1171
1124
  const { className: t, ...n } = e;
1172
1125
  return /* @__PURE__ */ o(
1173
1126
  "a",
@@ -1180,38 +1133,38 @@ const Qt = (e) => {
1180
1133
  ...n
1181
1134
  }
1182
1135
  );
1183
- }), ft = () => /* @__PURE__ */ o("span", { className: "flex h-9 w-9 cursor-default items-center justify-center border-2 border-transparent sm:h-10 sm:w-10", children: "..." }), bt = ({ children: e }) => {
1184
- const { currentPage: r, pageCount: t } = A(J), n = Math.min(
1185
- Math.max(2 + y * 2, r + y),
1136
+ }), Ge = () => /* @__PURE__ */ o("span", { className: "flex h-9 w-9 cursor-default items-center justify-center border-2 border-transparent sm:h-10 sm:w-10", children: "..." }), De = ({ children: e }) => {
1137
+ const { currentPage: r, pageCount: t } = A(T), n = Math.min(
1138
+ Math.max(2 + w * 2, r + w),
1186
1139
  t
1187
1140
  );
1188
1141
  let a = Math.max(
1189
- Math.min(r - y, n - y * 2),
1142
+ Math.min(r - w, n - w * 2),
1190
1143
  1
1191
1144
  );
1192
- return a - y === 0 && (a = a - 1), Array.from({ length: n - a }, (i, c) => a + c + 1).map((i) => e(i));
1193
- }, ee = g((e, r) => {
1145
+ return a - w === 0 && (a = a - 1), Array.from({ length: n - a }, (i, c) => a + c + 1).map((i) => e(i));
1146
+ }, G = g((e, r) => {
1194
1147
  const { page: t, selected: n, ...a } = e;
1195
- return /* @__PURE__ */ o(H, { "aria-current": n ? "page" : void 0, ref: r, ...a, children: t });
1196
- }), pe = w({
1148
+ return /* @__PURE__ */ o(Q, { "aria-current": n ? "page" : void 0, ref: r, ...a, children: t });
1149
+ }), me = N({
1197
1150
  defaultValue: void 0,
1198
1151
  isControlled: !1,
1199
1152
  name: void 0,
1200
- onChange: I,
1153
+ onChange: y,
1201
1154
  required: !1,
1202
1155
  value: void 0,
1203
1156
  error: !1
1204
- }), rr = g((e, r) => {
1205
- const { children: t, className: n, ...a } = e, { defaultValue: s, isControlled: i, name: c, onChange: u, required: d, value: m, error: h } = A(pe);
1206
- return /* @__PURE__ */ b("label", { className: l(n, "flex cursor-pointer gap-2.5"), children: [
1157
+ }), Ot = g((e, r) => {
1158
+ const { children: t, className: n, ...a } = e, { defaultValue: s, isControlled: i, name: c, onChange: m, required: d, value: u, error: h } = A(me);
1159
+ return /* @__PURE__ */ f("label", { className: l(n, "flex cursor-pointer gap-2.5"), children: [
1207
1160
  /* @__PURE__ */ o(
1208
1161
  "input",
1209
1162
  {
1210
1163
  className: l("radio", h && "border-red"),
1211
1164
  defaultChecked: i ? void 0 : a.value === s,
1212
- checked: i ? a.value === m : void 0,
1165
+ checked: i ? a.value === u : void 0,
1213
1166
  name: c,
1214
- onChange: i ? u : void 0,
1167
+ onChange: i ? m : void 0,
1215
1168
  required: d,
1216
1169
  type: "radio",
1217
1170
  ref: r,
@@ -1220,7 +1173,7 @@ const Qt = (e) => {
1220
1173
  ),
1221
1174
  t
1222
1175
  ] });
1223
- }), nr = g(
1176
+ }), Zt = g(
1224
1177
  (e, r) => {
1225
1178
  const t = "value" in e, {
1226
1179
  className: n,
@@ -1228,57 +1181,57 @@ const Qt = (e) => {
1228
1181
  description: s,
1229
1182
  error: i,
1230
1183
  id: c,
1231
- children: u,
1184
+ children: m,
1232
1185
  label: d,
1233
- name: m,
1186
+ name: u,
1234
1187
  onChange: h,
1235
- required: f,
1188
+ required: b,
1236
1189
  value: p,
1237
- ...x
1238
- } = e, v = E(
1239
- (Ae) => {
1240
- const ve = Ae.target.value;
1241
- h == null || h(ve);
1190
+ ...v
1191
+ } = e, x = I(
1192
+ (ue) => {
1193
+ const be = ue.target.value;
1194
+ h == null || h(be);
1242
1195
  },
1243
1196
  [h]
1244
- ), O = C(
1197
+ ), F = C(
1245
1198
  () => ({
1246
1199
  defaultValue: a,
1247
1200
  isControlled: t,
1248
- name: m,
1249
- onChange: v,
1250
- required: f,
1201
+ name: u,
1202
+ onChange: x,
1203
+ required: b,
1251
1204
  value: p,
1252
1205
  error: !!i
1253
1206
  }),
1254
- [a, t, m, v, f, p, i]
1255
- ), j = R(c), D = `${j}:label`, G = `${j}:help`, _ = j + "err", Z = i;
1256
- return /* @__PURE__ */ o(pe.Provider, { value: O, children: /* @__PURE__ */ b(
1207
+ [a, t, u, x, b, p, i]
1208
+ ), J = R(c), U = `${J}:label`, B = `${J}:help`, H = J + "err", j = i;
1209
+ return /* @__PURE__ */ o(me.Provider, { value: F, children: /* @__PURE__ */ f(
1257
1210
  "div",
1258
1211
  {
1259
1212
  "aria-describedby": l({
1260
- [_]: Z,
1261
- [G]: s
1213
+ [H]: j,
1214
+ [B]: s
1262
1215
  }) || void 0,
1263
1216
  "aria-invalid": !!i,
1264
- "aria-labelledby": d ? D : void 0,
1217
+ "aria-labelledby": d ? U : void 0,
1265
1218
  className: l(n, "flex flex-col gap-4"),
1266
1219
  role: "radiogroup",
1267
1220
  ref: r,
1268
- ...x,
1221
+ ...v,
1269
1222
  children: [
1270
- d && /* @__PURE__ */ o(V, { id: D, isRequired: f, isInvalid: !!i, children: d }),
1271
- s && /* @__PURE__ */ o(z, { id: G, children: s }),
1272
- u,
1273
- Z && /* @__PURE__ */ o(k, { id: _, children: Z })
1223
+ d && /* @__PURE__ */ o(z, { id: U, isRequired: b, isInvalid: !!i, children: d }),
1224
+ s && /* @__PURE__ */ o(P, { id: B, children: s }),
1225
+ m,
1226
+ j && /* @__PURE__ */ o(k, { id: H, children: j })
1274
1227
  ]
1275
1228
  }
1276
1229
  ) });
1277
1230
  }
1278
- ), gt = g(
1231
+ ), _e = g(
1279
1232
  (e, r) => {
1280
1233
  const { children: t, className: n, isInvalid: a, size: s, ...i } = e, c = s === "small";
1281
- return /* @__PURE__ */ b("div", { className: l(n, "relative", c && "text-sm"), children: [
1234
+ return /* @__PURE__ */ f("div", { className: l(n, "relative", c && "text-sm"), children: [
1282
1235
  /* @__PURE__ */ o(
1283
1236
  "select",
1284
1237
  {
@@ -1294,7 +1247,7 @@ const Qt = (e) => {
1294
1247
  }
1295
1248
  ),
1296
1249
  /* @__PURE__ */ o(
1297
- ae,
1250
+ ee,
1298
1251
  {
1299
1252
  className: l(
1300
1253
  "pointer-events-none absolute bottom-0 top-0 my-auto",
@@ -1304,7 +1257,7 @@ const Qt = (e) => {
1304
1257
  )
1305
1258
  ] });
1306
1259
  }
1307
- ), ar = g(
1260
+ ), Wt = g(
1308
1261
  (e, r) => {
1309
1262
  const {
1310
1263
  description: t,
@@ -1313,41 +1266,41 @@ const Qt = (e) => {
1313
1266
  label: s,
1314
1267
  disableValidation: i = !1,
1315
1268
  ...c
1316
- } = e, u = S(null), d = B(u, r), { validity: m, validationMessage: h } = L(
1317
- u,
1269
+ } = e, m = E(null), d = K(m, r), { validity: u, validationMessage: h } = L(
1270
+ m,
1318
1271
  !i
1319
- ), f = R(a), p = f + "help", x = f + "err", v = n || h;
1320
- return /* @__PURE__ */ b("div", { className: "grid gap-2", children: [
1272
+ ), b = R(a), p = b + "help", v = b + "err", x = n || h;
1273
+ return /* @__PURE__ */ f("div", { className: "grid gap-2", children: [
1321
1274
  /* @__PURE__ */ o(
1322
- V,
1275
+ z,
1323
1276
  {
1324
- htmlFor: f,
1277
+ htmlFor: b,
1325
1278
  isRequired: e.required,
1326
- isInvalid: !!n || m === "invalid",
1279
+ isInvalid: !!n || u === "invalid",
1327
1280
  children: s
1328
1281
  }
1329
1282
  ),
1330
- t && /* @__PURE__ */ o(z, { id: p, children: t }),
1283
+ t && /* @__PURE__ */ o(P, { id: p, children: t }),
1331
1284
  /* @__PURE__ */ o(
1332
- gt,
1285
+ _e,
1333
1286
  {
1334
- id: f,
1287
+ id: b,
1335
1288
  ref: d,
1336
1289
  ...c,
1337
- isInvalid: !!n || m === "invalid",
1290
+ isInvalid: !!n || u === "invalid",
1338
1291
  "aria-describedby": l({
1339
- [x]: v,
1292
+ [v]: x,
1340
1293
  [p]: t
1341
1294
  }) || void 0
1342
1295
  }
1343
1296
  ),
1344
- v && /* @__PURE__ */ o(k, { id: x, children: v })
1297
+ x && /* @__PURE__ */ o(k, { id: v, children: x })
1345
1298
  ] });
1346
1299
  }
1347
- ), or = (e) => {
1348
- const { heading: r, children: t, closeSnackbar: n } = e, [a, s] = M(!1);
1349
- return /* @__PURE__ */ o("div", { className: "container max-w-[59rem]", children: /* @__PURE__ */ o("div", { className: "bg-orange-light px-8 py-4 max-md:p-4", children: /* @__PURE__ */ b("div", { className: "snackbar grid items-center", children: [
1350
- /* @__PURE__ */ o(se, { className: "text-orange snackbar-icon mr-4 self-start md:mr-8 md:text-2xl" }),
1300
+ ), Kt = (e) => {
1301
+ const { heading: r, children: t, closeSnackbar: n } = e, [a, s] = q(!1);
1302
+ return /* @__PURE__ */ o("div", { className: "container max-w-[59rem]", children: /* @__PURE__ */ o("div", { className: "bg-orange-light px-8 py-4 max-md:p-4", children: /* @__PURE__ */ f("div", { className: "snackbar grid items-center", children: [
1303
+ /* @__PURE__ */ o(re, { className: "text-orange snackbar-icon mr-4 self-start md:mr-8 md:text-2xl" }),
1351
1304
  /* @__PURE__ */ o(
1352
1305
  "h3",
1353
1306
  {
@@ -1360,20 +1313,20 @@ const Qt = (e) => {
1360
1313
  children: r
1361
1314
  }
1362
1315
  ),
1363
- /* @__PURE__ */ b("div", { className: "snackbar-actions flex justify-end gap-4 max-md:mt-3 md:ml-4", children: [
1316
+ /* @__PURE__ */ f("div", { className: "snackbar-actions flex justify-end gap-4 max-md:mt-3 md:ml-4", children: [
1364
1317
  /* @__PURE__ */ o(
1365
- te,
1318
+ D,
1366
1319
  {
1367
1320
  "aria-expanded": a,
1368
1321
  onClick: () => s(!a),
1369
1322
  children: a ? "Les mindre" : "Les mer"
1370
1323
  }
1371
1324
  ),
1372
- /* @__PURE__ */ o(te, { onClick: n, children: "Ok" })
1325
+ /* @__PURE__ */ o(D, { onClick: n, children: "Ok" })
1373
1326
  ] }),
1374
1327
  a && t
1375
1328
  ] }) }) });
1376
- }, te = (e) => /* @__PURE__ */ o(
1329
+ }, D = (e) => /* @__PURE__ */ o(
1377
1330
  "button",
1378
1331
  {
1379
1332
  className: l(
@@ -1383,21 +1336,21 @@ const Qt = (e) => {
1383
1336
  ...e,
1384
1337
  children: e.children
1385
1338
  }
1386
- ), sr = (e) => /* @__PURE__ */ o(
1339
+ ), Xt = (e) => /* @__PURE__ */ o(
1387
1340
  "div",
1388
1341
  {
1389
1342
  className: "snackbar-content my-4 max-h-[50vh] max-w-prose overflow-y-auto",
1390
1343
  ...e,
1391
1344
  children: e.children
1392
1345
  }
1393
- ), ht = (e) => {
1346
+ ), $e = (e) => {
1394
1347
  const { align: r = "center", children: t, className: n, ...a } = e;
1395
- return /* @__PURE__ */ o("ol", { className: l(n, "flex flex-col gap-8 md:gap-12"), ...a, children: X.map(t, (s) => Y(s, {
1348
+ return /* @__PURE__ */ o("ol", { className: l(n, "flex flex-col gap-8 md:gap-12"), ...a, children: Z.map(t, (s) => W(s, {
1396
1349
  align: r
1397
1350
  })) });
1398
- }, pt = (e) => {
1351
+ }, et = (e) => {
1399
1352
  const { className: r, children: t, bullet: n, align: a = "center", ...s } = e;
1400
- return /* @__PURE__ */ b(
1353
+ return /* @__PURE__ */ f(
1401
1354
  "li",
1402
1355
  {
1403
1356
  className: l(
@@ -1407,12 +1360,12 @@ const Qt = (e) => {
1407
1360
  ),
1408
1361
  ...s,
1409
1362
  children: [
1410
- /* @__PURE__ */ o(At, { align: a, children: n }),
1363
+ /* @__PURE__ */ o(tt, { align: a, children: n }),
1411
1364
  t
1412
1365
  ]
1413
1366
  }
1414
1367
  );
1415
- }, At = ({ align: e, ...r }) => /* @__PURE__ */ o(
1368
+ }, tt = ({ align: e, ...r }) => /* @__PURE__ */ o(
1416
1369
  "span",
1417
1370
  {
1418
1371
  "aria-hidden": !0,
@@ -1426,8 +1379,8 @@ const Qt = (e) => {
1426
1379
  ...r
1427
1380
  }
1428
1381
  );
1429
- ht.Item = pt;
1430
- const ir = g(
1382
+ $e.Item = et;
1383
+ const Yt = g(
1431
1384
  (e, r) => {
1432
1385
  const {
1433
1386
  description: t,
@@ -1436,39 +1389,39 @@ const ir = g(
1436
1389
  label: s,
1437
1390
  disableValidation: i = !1,
1438
1391
  ...c
1439
- } = e, u = S(null), d = B(u, r), { validity: m, validationMessage: h } = L(
1440
- u,
1392
+ } = e, m = E(null), d = K(m, r), { validity: u, validationMessage: h } = L(
1393
+ m,
1441
1394
  !i
1442
- ), f = R(a), p = f + "help", x = f + "err", v = n || h;
1443
- return /* @__PURE__ */ b("div", { className: "grid gap-2", children: [
1395
+ ), b = R(a), p = b + "help", v = b + "err", x = n || h;
1396
+ return /* @__PURE__ */ f("div", { className: "grid gap-2", children: [
1444
1397
  /* @__PURE__ */ o(
1445
- V,
1398
+ z,
1446
1399
  {
1447
- htmlFor: f,
1400
+ htmlFor: b,
1448
1401
  isRequired: e.required,
1449
- isInvalid: !!n || m === "invalid",
1402
+ isInvalid: !!n || u === "invalid",
1450
1403
  children: s
1451
1404
  }
1452
1405
  ),
1453
- t && /* @__PURE__ */ o(z, { id: p, children: t }),
1406
+ t && /* @__PURE__ */ o(P, { id: p, children: t }),
1454
1407
  /* @__PURE__ */ o(
1455
- he,
1408
+ ce,
1456
1409
  {
1457
1410
  as: "textarea",
1458
1411
  ref: d,
1459
- id: f,
1412
+ id: b,
1460
1413
  ...c,
1461
- isInvalid: !!n || m === "invalid",
1414
+ isInvalid: !!n || u === "invalid",
1462
1415
  "aria-describedby": l({
1463
- [x]: v,
1416
+ [v]: x,
1464
1417
  [p]: t
1465
1418
  }) || void 0
1466
1419
  }
1467
1420
  ),
1468
- v && /* @__PURE__ */ o(k, { id: x, children: v })
1421
+ x && /* @__PURE__ */ o(k, { id: v, children: x })
1469
1422
  ] });
1470
1423
  }
1471
- ), lr = g(
1424
+ ), Qt = g(
1472
1425
  (e, r) => {
1473
1426
  const {
1474
1427
  description: t,
@@ -1477,99 +1430,98 @@ const ir = g(
1477
1430
  label: s,
1478
1431
  type: i = "text",
1479
1432
  disableValidation: c = !1,
1480
- ...u
1481
- } = e, d = S(null), { validity: m, validationMessage: h } = L(
1433
+ ...m
1434
+ } = e, d = E(null), { validity: u, validationMessage: h } = L(
1482
1435
  d,
1483
1436
  !c
1484
- ), f = R(a), p = f + "help", x = f + "err", v = n || h, O = B(d, r);
1485
- return /* @__PURE__ */ b("div", { className: "grid gap-2", children: [
1437
+ ), b = R(a), p = b + "help", v = b + "err", x = n || h, F = K(d, r);
1438
+ return /* @__PURE__ */ f("div", { className: "grid gap-2", children: [
1486
1439
  /* @__PURE__ */ o(
1487
- V,
1440
+ z,
1488
1441
  {
1489
- htmlFor: f,
1442
+ htmlFor: b,
1490
1443
  isRequired: e.required,
1491
- isInvalid: !!n || m === "invalid",
1444
+ isInvalid: !!n || u === "invalid",
1492
1445
  children: s
1493
1446
  }
1494
1447
  ),
1495
- t && /* @__PURE__ */ o(z, { id: p, children: t }),
1448
+ t && /* @__PURE__ */ o(P, { id: p, children: t }),
1496
1449
  /* @__PURE__ */ o(
1497
- he,
1450
+ ce,
1498
1451
  {
1499
- id: f,
1500
- ref: O,
1452
+ id: b,
1453
+ ref: F,
1501
1454
  type: i,
1502
- ...u,
1503
- isInvalid: !!n || m === "invalid",
1455
+ ...m,
1456
+ isInvalid: !!n || u === "invalid",
1504
1457
  "aria-describedby": l({
1505
- [x]: v,
1458
+ [v]: x,
1506
1459
  [p]: t
1507
1460
  }) || void 0
1508
1461
  }
1509
1462
  ),
1510
- v && /* @__PURE__ */ o(k, { id: x, children: v })
1463
+ x && /* @__PURE__ */ o(k, { id: v, children: x })
1511
1464
  ] });
1512
1465
  }
1513
1466
  );
1514
1467
  export {
1515
- U as Accordion,
1516
- Pe as AccordionContent,
1517
- Le as AccordionHeader,
1518
- Me as AccordionItem,
1519
- Et as Alert,
1520
- St as Banner,
1521
- Rt as BannerImage,
1522
- kt as Button,
1523
- P as ButtonColorContext,
1524
- qt as Campaign,
1525
- Mt as Card,
1526
- zt as CardContent,
1527
- Lt as CardImage,
1528
- Vt as CardLinkOverlay,
1529
- Pt as CardList,
1530
- Tt as Checkbox,
1531
- Ft as Chip,
1532
- Jt as Footer,
1533
- Ot as Form,
1534
- jt as FormError,
1468
+ X as Accordion,
1469
+ ke as AccordionContent,
1470
+ Re as AccordionHeader,
1471
+ Ee as AccordionItem,
1472
+ dt as Alert,
1473
+ mt as Banner,
1474
+ ut as BannerImage,
1475
+ bt as Button,
1476
+ M as ButtonColorContext,
1477
+ ft as Campaign,
1478
+ ht as Card,
1479
+ At as CardContent,
1480
+ gt as CardImage,
1481
+ xt as CardLinkOverlay,
1482
+ pt as CardList,
1483
+ vt as Checkbox,
1484
+ Nt as Chip,
1485
+ wt as Footer,
1486
+ yt as Form,
1487
+ It as FormError,
1535
1488
  k as FormErrorMessage,
1536
- _e as FormHeading,
1537
- z as FormHelperText,
1538
- V as FormLabel,
1539
- Kt as FormStep,
1540
- $e as FormStepHeader,
1541
- et as FormStepHeaderContent,
1542
- Wt as FormStepProvider,
1543
- Zt as FormSuccess,
1544
- Xt as Hero,
1545
- Ut as HeroActions,
1546
- Bt as HeroContent,
1547
- F as HeroContext,
1548
- Yt as HeroImage,
1549
- he as Input,
1550
- Qt as Link,
1551
- Ht as Navbar,
1552
- $t as NavbarCollapsible,
1553
- _t as NavbarContent,
1554
- er as NavbarExpandedMobileContent,
1555
- Gt as NavbarItem,
1556
- Dt as NavbarItems,
1557
- tr as Pagination,
1558
- rr as Radio,
1559
- nr as RadioGroup,
1560
- ar as Select,
1561
- or as Snackbar,
1562
- te as SnackbarButton,
1563
- sr as SnackbarContent,
1564
- ht as StepList,
1565
- pt as StepListItem,
1566
- ir as TextArea,
1567
- lr as TextField,
1568
- ce as useBlockBackgroundColor,
1489
+ Ze as FormHeading,
1490
+ P as FormHelperText,
1491
+ z as FormLabel,
1492
+ Rt as FormStep,
1493
+ We as FormStepHeader,
1494
+ Ke as FormStepHeaderContent,
1495
+ Et as FormStepProvider,
1496
+ Ct as FormSuccess,
1497
+ kt as Hero,
1498
+ Lt as HeroActions,
1499
+ qt as HeroContent,
1500
+ V as HeroContext,
1501
+ St as HeroImage,
1502
+ ce as Input,
1503
+ Mt as Link,
1504
+ Pt as Navbar,
1505
+ Ft as NavbarCollapsible,
1506
+ Tt as NavbarContent,
1507
+ Jt as NavbarExpandedMobileContent,
1508
+ Vt as NavbarItem,
1509
+ zt as NavbarItems,
1510
+ jt as Pagination,
1511
+ Ot as Radio,
1512
+ Zt as RadioGroup,
1513
+ Wt as Select,
1514
+ Kt as Snackbar,
1515
+ D as SnackbarButton,
1516
+ Xt as SnackbarContent,
1517
+ $e as StepList,
1518
+ et as StepListItem,
1519
+ Yt as TextArea,
1520
+ Qt as TextField,
1521
+ oe as useBlockBackgroundColor,
1569
1522
  R as useFallbackId,
1570
1523
  L as useFormControlValidity,
1571
- tt as useFormStepContext,
1572
- de as useMedia,
1573
- Ct as usePrefersReducedMotion,
1574
- We as useScreenMaxWidthMd
1524
+ Xe as useFormStepContext,
1525
+ ct as usePrefersReducedMotion,
1526
+ Le as useScreenMaxWidthMd
1575
1527
  };