@leabankab/component-library 8.8.0 → 8.9.1

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.
Files changed (136) hide show
  1. package/CHANGELOG.md +30 -0
  2. package/dist/component-library.es.js +1241 -1215
  3. package/dist/component-library.es.js.map +1 -1
  4. package/dist/component-library.umd.js +2 -2
  5. package/dist/component-library.umd.js.map +1 -1
  6. package/dist/components/buttons/{action-button.d.ts → action-button/action-button.d.ts} +1 -1
  7. package/dist/components/buttons/{button.d.ts → button/button.d.ts} +2 -2
  8. package/dist/components/buttons/{close-button.d.ts → close-button/close-button.d.ts} +1 -1
  9. package/dist/components/buttons/{download-trigger.d.ts → download-trigger/download-trigger.d.ts} +2 -2
  10. package/dist/components/buttons/{icon-button.d.ts → icon-button/icon-button.d.ts} +1 -1
  11. package/dist/components/buttons/index.d.ts +6 -6
  12. package/dist/components/buttons/{skip-link.d.ts → skip-link/skip-link.d.ts} +1 -1
  13. package/dist/components/data-display/{card.d.ts → card/card.d.ts} +1 -1
  14. package/dist/components/data-display/{chip.d.ts → chip/chip.d.ts} +1 -1
  15. package/dist/components/data-display/index.d.ts +17 -16
  16. package/dist/components/data-display/{link-card.d.ts → link-card/link-card.d.ts} +1 -1
  17. package/dist/components/data-display/{media-card.d.ts → media-card/media-card.d.ts} +1 -1
  18. package/dist/components/data-display/{service-card.d.ts → service-card/service-card.d.ts} +1 -1
  19. package/dist/components/feedback/{alert.d.ts → alert/alert.d.ts} +2 -2
  20. package/dist/components/feedback/{global-alert.d.ts → global-alert/global-alert.d.ts} +1 -1
  21. package/dist/components/feedback/index.d.ts +8 -8
  22. package/dist/components/feedback/{toast.d.ts → toast/toast.d.ts} +1 -1
  23. package/dist/components/form/{autocomplete.d.ts → autocomplete/autocomplete.d.ts} +2 -2
  24. package/dist/components/form/{email-input.d.ts → email-input/email-input.d.ts} +1 -1
  25. package/dist/components/form/index.d.ts +12 -12
  26. package/dist/components/form/{multi-select.d.ts → multi-select/multi-select.d.ts} +1 -1
  27. package/dist/components/form/{number-input-unit.d.ts → number-input/number-input-unit.d.ts} +2 -2
  28. package/dist/components/form/{radio.d.ts → radio/radio.d.ts} +2 -2
  29. package/dist/components/form/{radio-card.d.ts → radio-card/radio-card.d.ts} +3 -3
  30. package/dist/components/form/{select.d.ts → select/select.d.ts} +13 -3
  31. package/dist/components/form/select-field.d.ts +20 -1
  32. package/dist/components/form/{slider.d.ts → slider/slider.d.ts} +1 -1
  33. package/dist/components/index.d.ts +1 -2
  34. package/dist/components/layout/{container.d.ts → container/container.d.ts} +1 -1
  35. package/dist/components/layout/{grid.d.ts → grid/grid.d.ts} +2 -2
  36. package/dist/components/layout/index.d.ts +3 -3
  37. package/dist/components/layout/{stack.d.ts → stack/stack.d.ts} +2 -2
  38. package/dist/components/navigation/{form-stepper.d.ts → form-stepper/form-stepper.d.ts} +2 -2
  39. package/dist/components/navigation/index.d.ts +9 -8
  40. package/dist/components/navigation/{linear-form-stepper.d.ts → linear-form-stepper/linear-form-stepper.d.ts} +2 -2
  41. package/dist/components/navigation/{progress-circle.d.ts → progress-circle/progress-circle.d.ts} +1 -1
  42. package/dist/components/navigation/{tabs.d.ts → tabs/tabs.d.ts} +1 -1
  43. package/dist/components/surfaces/index.d.ts +3 -3
  44. package/dist/components/typography/index.d.ts +3 -3
  45. package/dist/components/typography/{link.d.ts → link/link.d.ts} +1 -1
  46. package/dist/components/typography/{text.d.ts → text/text.d.ts} +4 -4
  47. package/dist/cookie-consent-react.cjs.map +1 -1
  48. package/dist/cookie-consent-react.mjs +3 -3
  49. package/dist/cookie-consent-react.mjs.map +1 -1
  50. package/dist/index.css +1 -1
  51. package/dist/utils/{formatDecimalString.d.ts → format-decimal-string.d.ts} +1 -1
  52. package/dist/utils/index.d.ts +5 -5
  53. package/dist/website/alert-banner/alert-banner.d.ts +48 -0
  54. package/dist/website/arrow-reveal-link.d.ts +22 -0
  55. package/dist/website/{use-carousel.d.ts → carousel/use-carousel.d.ts} +3 -1
  56. package/dist/website/{expanding-cards-item.d.ts → expanding-cards/expanding-cards-item.d.ts} +1 -1
  57. package/dist/website/index.d.ts +25 -21
  58. package/dist/website/{payment-feature.d.ts → payment-feature/payment-feature.d.ts} +1 -1
  59. package/dist/website/{section.d.ts → section/section.d.ts} +1 -1
  60. package/dist/website/side-nav/side-nav.d.ts +57 -0
  61. package/dist/website/side-nav/use-side-nav-labels.d.ts +5 -0
  62. package/dist/website/site-footer/flags.d.ts +7 -0
  63. package/dist/website/site-footer/site-footer.d.ts +122 -0
  64. package/dist/website/site-footer/use-site-footer-labels.d.ts +7 -0
  65. package/dist/website/site-header/site-header-menu.d.ts +21 -0
  66. package/dist/website/site-header/site-header.d.ts +141 -0
  67. package/dist/website/site-header-link.d.ts +16 -0
  68. package/dist/website/use-site-header-labels.d.ts +7 -0
  69. package/dist/website.cjs +1 -1
  70. package/dist/website.cjs.map +1 -1
  71. package/dist/website.css +1 -1
  72. package/dist/website.mjs +1185 -433
  73. package/dist/website.mjs.map +1 -1
  74. package/package.json +1 -1
  75. package/dist/components/ui/index.d.ts +0 -2
  76. /package/dist/components/buttons/{use-download-labels.d.ts → download-trigger/use-download-labels.d.ts} +0 -0
  77. /package/dist/components/data-display/{article-card.d.ts → article-card/article-card.d.ts} +0 -0
  78. /package/dist/components/data-display/{avatar.d.ts → avatar/avatar.d.ts} +0 -0
  79. /package/dist/components/{ui → data-display/brand-divider}/brand-divider.d.ts +0 -0
  80. /package/dist/components/data-display/{use-chip-labels.d.ts → chip/use-chip-labels.d.ts} +0 -0
  81. /package/dist/components/data-display/{data-field.d.ts → data-field/data-field.d.ts} +0 -0
  82. /package/dist/components/data-display/{featured-image.d.ts → featured-image/featured-image.d.ts} +0 -0
  83. /package/dist/components/data-display/{arrow-circle.d.ts → link-card/arrow-circle.d.ts} +0 -0
  84. /package/dist/components/data-display/{partner-row.d.ts → partner-row/partner-row.d.ts} +0 -0
  85. /package/dist/components/data-display/{rich-text.d.ts → rich-text/rich-text.d.ts} +0 -0
  86. /package/dist/components/data-display/{star-rating.d.ts → star-rating/star-rating.d.ts} +0 -0
  87. /package/dist/components/data-display/{use-star-rating-labels.d.ts → star-rating/use-star-rating-labels.d.ts} +0 -0
  88. /package/dist/components/data-display/{table.d.ts → table/table.d.ts} +0 -0
  89. /package/dist/components/data-display/{testimonial-card.d.ts → testimonial-card/testimonial-card.d.ts} +0 -0
  90. /package/dist/components/data-display/{tooltip.d.ts → tooltip/tooltip.d.ts} +0 -0
  91. /package/dist/components/data-display/{use-video-player-labels.d.ts → video-player/use-video-player-labels.d.ts} +0 -0
  92. /package/dist/components/data-display/{video-player.d.ts → video-player/video-player.d.ts} +0 -0
  93. /package/dist/components/feedback/{dialog.d.ts → dialog/dialog.d.ts} +0 -0
  94. /package/dist/components/feedback/{simple-dialog.d.ts → dialog/simple-dialog.d.ts} +0 -0
  95. /package/dist/components/feedback/{drawer.d.ts → drawer/drawer.d.ts} +0 -0
  96. /package/dist/components/feedback/{simple-drawer.d.ts → drawer/simple-drawer.d.ts} +0 -0
  97. /package/dist/components/feedback/{skeleton.d.ts → skeleton/skeleton.d.ts} +0 -0
  98. /package/dist/components/form/{amount-slider.d.ts → amount-slider/amount-slider.d.ts} +0 -0
  99. /package/dist/components/form/{checkbox.d.ts → checkbox/checkbox.d.ts} +0 -0
  100. /package/dist/components/form/{input.d.ts → input/input.d.ts} +0 -0
  101. /package/dist/components/form/{number-input.d.ts → number-input/number-input.d.ts} +0 -0
  102. /package/dist/components/form/{switch.d.ts → switch/switch.d.ts} +0 -0
  103. /package/dist/components/{ui → navigation/app-header}/app-header.d.ts +0 -0
  104. /package/dist/components/navigation/{breadcrumbs.d.ts → breadcrumbs/breadcrumbs.d.ts} +0 -0
  105. /package/dist/components/navigation/{use-breadcrumbs-labels.d.ts → breadcrumbs/use-breadcrumbs-labels.d.ts} +0 -0
  106. /package/dist/components/navigation/{step-progress.d.ts → linear-form-stepper/step-progress.d.ts} +0 -0
  107. /package/dist/components/navigation/{pagination.d.ts → pagination/pagination.d.ts} +0 -0
  108. /package/dist/components/navigation/{pagination-dots.d.ts → pagination-dots/pagination-dots.d.ts} +0 -0
  109. /package/dist/components/surfaces/{accordion.d.ts → accordion/accordion.d.ts} +0 -0
  110. /package/dist/components/surfaces/{simple-accordion.d.ts → accordion/simple-accordion.d.ts} +0 -0
  111. /package/dist/components/surfaces/{panel.d.ts → panel/panel.d.ts} +0 -0
  112. /package/dist/components/typography/{lists.d.ts → lists/lists.d.ts} +0 -0
  113. /package/dist/utils/{downloadFile.d.ts → download-file.d.ts} +0 -0
  114. /package/dist/utils/{formatDecimal.d.ts → format-decimal.d.ts} +0 -0
  115. /package/dist/utils/{formatPercentage.d.ts → format-percentage.d.ts} +0 -0
  116. /package/dist/utils/{parseExpirationDate.d.ts → parse-expiration-date.d.ts} +0 -0
  117. /package/dist/website/{brand-letters.d.ts → brand-letters/brand-letters.d.ts} +0 -0
  118. /package/dist/website/{use-brand-letters-labels.d.ts → brand-letters/use-brand-letters-labels.d.ts} +0 -0
  119. /package/dist/website/{calculator.d.ts → calculator/calculator.d.ts} +0 -0
  120. /package/dist/website/{carousel.d.ts → carousel/carousel.d.ts} +0 -0
  121. /package/dist/website/{use-carousel-labels.d.ts → carousel/use-carousel-labels.d.ts} +0 -0
  122. /package/dist/website/{cta-banner.d.ts → cta-banner/cta-banner.d.ts} +0 -0
  123. /package/dist/website/{expanding-cards-context.d.ts → expanding-cards/expanding-cards-context.d.ts} +0 -0
  124. /package/dist/website/{expanding-cards.d.ts → expanding-cards/expanding-cards.d.ts} +0 -0
  125. /package/dist/website/{hero.d.ts → hero/hero.d.ts} +0 -0
  126. /package/dist/website/{hero-service-grid.d.ts → hero-service-grid/hero-service-grid.d.ts} +0 -0
  127. /package/dist/website/{navigation-grid.d.ts → navigation-grid/navigation-grid.d.ts} +0 -0
  128. /package/dist/website/{partner-list.d.ts → partner-list/partner-list.d.ts} +0 -0
  129. /package/dist/website/{use-partner-list-labels.d.ts → partner-list/use-partner-list-labels.d.ts} +0 -0
  130. /package/dist/website/{promo-grid.d.ts → promo-grid/promo-grid.d.ts} +0 -0
  131. /package/dist/website/{section-header.d.ts → section-header/section-header.d.ts} +0 -0
  132. /package/dist/website/{service-card-grid.d.ts → service-card-grid/service-card-grid.d.ts} +0 -0
  133. /package/dist/website/{split-content.d.ts → split-content/split-content.d.ts} +0 -0
  134. /package/dist/website/{stats.d.ts → stats/stats.d.ts} +0 -0
  135. /package/dist/website/{testimonials.d.ts → testimonials/testimonials.d.ts} +0 -0
  136. /package/dist/website/{use-testimonials-labels.d.ts → testimonials/use-testimonials-labels.d.ts} +0 -0
@@ -1,9 +1,9 @@
1
1
  "use client";
2
2
  import { AnimatePresence as e, animate as t, motion as n, useMotionValue as r, useReducedMotion as i } from "motion/react";
3
3
  import { Children as a, Fragment as o, createContext as s, isValidElement as c, useCallback as l, useContext as u, useEffect as d, useId as f, useLayoutEffect as p, useMemo as m, useRef as h, useState as g } from "react";
4
- import { ArrowLeft as _, ArrowRight as v, Check as y, ChevronDown as b, ChevronRight as x, CircleAlert as S, CircleCheck as C, CircleX as w, Info as T, InfoIcon as E, Minus as ee, Pause as D, Play as O, Plus as te, Search as ne, TriangleAlert as re, X as ie } from "lucide-react";
5
- import { Fragment as k, jsx as A, jsxs as j } from "react/jsx-runtime";
6
- import { Button as M } from "@base-ui/react/button";
4
+ import { ArrowLeft as _, ArrowRight as v, Check as y, ChevronDown as b, ChevronRight as x, CircleAlert as S, CircleCheck as C, CircleX as w, Info as T, InfoIcon as E, Minus as ee, Pause as D, Play as O, Plus as k, Search as te, TriangleAlert as ne, X as re } from "lucide-react";
5
+ import { Fragment as A, jsx as j, jsxs as M } from "react/jsx-runtime";
6
+ import { Button as ie } from "@base-ui/react/button";
7
7
  import { useRender as N } from "@base-ui/react/use-render";
8
8
  import { Popover as P } from "@base-ui/react/popover";
9
9
  import { Tooltip as F } from "@base-ui/react/tooltip";
@@ -66,7 +66,7 @@ var xe = Object.defineProperty, Se = (e, t) => {
66
66
  ...i ? { colour: i(s) } : {},
67
67
  ...a ? { spin: (s % 2 == 0 ? 1 : -1) * 120 } : {}
68
68
  };
69
- }), we = ({ particles: e, variant: t = "illustration", delay: r = t === "illustration" ? .18 : .1, duration: i = t === "illustration" ? 1.1 : .8, useCurrentColor: a = t === "icon" }) => e.map((e) => /* @__PURE__ */ A(n.span, {
69
+ }), we = ({ particles: e, variant: t = "illustration", delay: r = t === "illustration" ? .18 : .1, duration: i = t === "illustration" ? 1.1 : .8, useCurrentColor: a = t === "icon" }) => e.map((e) => /* @__PURE__ */ j(n.span, {
70
70
  initial: {
71
71
  x: 0,
72
72
  y: 0,
@@ -127,18 +127,18 @@ var xe = Object.defineProperty, Se = (e, t) => {
127
127
  backgroundColor: a ? "currentColor" : e.colour,
128
128
  pointerEvents: "none"
129
129
  }
130
- }, e.id)), Te = ({ size: e, iconSize: t, className: n, children: r }) => /* @__PURE__ */ A("span", {
130
+ }, e.id)), Te = ({ size: e, iconSize: t, className: n, children: r }) => /* @__PURE__ */ j("span", {
131
131
  className: [H.Badge, n].filter(Boolean).join(" "),
132
132
  style: {
133
133
  width: e,
134
134
  height: e
135
135
  },
136
- children: r ?? /* @__PURE__ */ A(y, {
136
+ children: r ?? /* @__PURE__ */ j(y, {
137
137
  size: t,
138
138
  strokeWidth: 3,
139
139
  "aria-hidden": !0
140
140
  })
141
- }), Ee = 44, De = ({ size: e, thickness: t = 3.6, label: n, className: r }) => /* @__PURE__ */ A("span", {
141
+ }), Ee = 44, De = ({ size: e, thickness: t = 3.6, label: n, className: r }) => /* @__PURE__ */ j("span", {
142
142
  ...n == null ? { "aria-hidden": !0 } : {
143
143
  role: "progressbar",
144
144
  "aria-label": n
@@ -148,10 +148,10 @@ var xe = Object.defineProperty, Se = (e, t) => {
148
148
  width: e,
149
149
  height: e
150
150
  },
151
- children: /* @__PURE__ */ A("svg", {
151
+ children: /* @__PURE__ */ j("svg", {
152
152
  className: H.SpinnerSvg,
153
153
  viewBox: `${Ee / 2} ${Ee / 2} ${Ee} ${Ee}`,
154
- children: /* @__PURE__ */ A("circle", {
154
+ children: /* @__PURE__ */ j("circle", {
155
155
  cx: Ee,
156
156
  cy: Ee,
157
157
  r: (Ee - t) / 2,
@@ -212,7 +212,7 @@ var Me = U({
212
212
  distanceAt: (e) => .7 + e % 2 * .25,
213
213
  dotSizeAt: (e) => Math.max(2, Math.round(r * .1)) + e % 2
214
214
  }), [f, r]), h = s ? 0 : .2;
215
- return /* @__PURE__ */ j("span", {
215
+ return /* @__PURE__ */ M("span", {
216
216
  role: "img",
217
217
  "aria-label": o ?? c[t],
218
218
  className: H.StatusIcon,
@@ -221,38 +221,38 @@ var Me = U({
221
221
  width: r,
222
222
  height: r
223
223
  },
224
- children: [/* @__PURE__ */ j(e, {
224
+ children: [/* @__PURE__ */ M(e, {
225
225
  mode: "wait",
226
226
  children: [
227
- t === "pending" && /* @__PURE__ */ A(n.span, {
227
+ t === "pending" && /* @__PURE__ */ j(n.span, {
228
228
  initial: { opacity: 0 },
229
229
  animate: { opacity: 1 },
230
230
  exit: { opacity: 0 },
231
231
  transition: { duration: h },
232
232
  className: H.State,
233
- children: /* @__PURE__ */ A("span", {
233
+ children: /* @__PURE__ */ j("span", {
234
234
  className: H.Ring,
235
235
  style: { borderWidth: l }
236
236
  })
237
237
  }, "pending"),
238
- t === "loading" && /* @__PURE__ */ A(n.span, {
238
+ t === "loading" && /* @__PURE__ */ j(n.span, {
239
239
  initial: { opacity: 0 },
240
240
  animate: { opacity: 1 },
241
241
  exit: { opacity: 0 },
242
242
  transition: { duration: h },
243
243
  className: H.State,
244
- children: /* @__PURE__ */ A(De, {
244
+ children: /* @__PURE__ */ j(De, {
245
245
  size: r,
246
246
  thickness: u
247
247
  })
248
248
  }, "loading"),
249
- t === "done" && /* @__PURE__ */ A(n.span, {
249
+ t === "done" && /* @__PURE__ */ j(n.span, {
250
250
  initial: { opacity: 0 },
251
251
  animate: { opacity: 1 },
252
252
  exit: { opacity: 0 },
253
253
  transition: { duration: h },
254
254
  className: H.State,
255
- children: /* @__PURE__ */ A(n.span, {
255
+ children: /* @__PURE__ */ j(n.span, {
256
256
  initial: !s && { scale: 0 },
257
257
  animate: s ? {} : { scale: [
258
258
  0,
@@ -269,14 +269,14 @@ var Me = U({
269
269
  ]
270
270
  },
271
271
  style: { display: "flex" },
272
- children: /* @__PURE__ */ A(Te, {
272
+ children: /* @__PURE__ */ j(Te, {
273
273
  size: r,
274
274
  iconSize: d
275
275
  })
276
276
  })
277
277
  }, "done")
278
278
  ]
279
- }), !s && t === "done" && /* @__PURE__ */ A(we, {
279
+ }), !s && t === "done" && /* @__PURE__ */ j(we, {
280
280
  particles: p,
281
281
  variant: "icon"
282
282
  })]
@@ -489,7 +489,7 @@ var Me = U({
489
489
  colourAt: (e) => Je[e % Je.length],
490
490
  withSpin: !0
491
491
  }), [u]);
492
- return /* @__PURE__ */ j("div", {
492
+ return /* @__PURE__ */ M("div", {
493
493
  role: "img",
494
494
  "aria-label": r ?? o.confirmed,
495
495
  className: H.Check,
@@ -499,18 +499,18 @@ var Me = U({
499
499
  height: s
500
500
  },
501
501
  children: [
502
- /* @__PURE__ */ A("span", {
502
+ /* @__PURE__ */ j("span", {
503
503
  className: H.Halo,
504
504
  style: {
505
505
  width: c,
506
506
  height: c
507
507
  }
508
508
  }),
509
- !a && /* @__PURE__ */ A(we, {
509
+ !a && /* @__PURE__ */ j(we, {
510
510
  particles: d,
511
511
  variant: "illustration"
512
512
  }),
513
- /* @__PURE__ */ A(n.div, {
513
+ /* @__PURE__ */ j(n.div, {
514
514
  initial: !a && {
515
515
  scale: 0,
516
516
  rotate: -25
@@ -533,7 +533,7 @@ var Me = U({
533
533
  ]
534
534
  },
535
535
  style: { display: "flex" },
536
- children: /* @__PURE__ */ A(Te, {
536
+ children: /* @__PURE__ */ j(Te, {
537
537
  size: c,
538
538
  iconSize: l,
539
539
  className: H.CheckBadge
@@ -557,29 +557,29 @@ var Me = U({
557
557
  width: r,
558
558
  height: r
559
559
  };
560
- return /* @__PURE__ */ j("div", {
560
+ return /* @__PURE__ */ M("div", {
561
561
  className: H.Pulse,
562
562
  style: {
563
563
  width: n,
564
564
  height: n
565
565
  },
566
566
  children: [
567
- /* @__PURE__ */ A("span", {
567
+ /* @__PURE__ */ j("span", {
568
568
  className: H.PulseRing,
569
569
  style: o
570
570
  }),
571
- /* @__PURE__ */ A("span", {
571
+ /* @__PURE__ */ j("span", {
572
572
  className: H.PulseRing,
573
573
  style: {
574
574
  ...o,
575
575
  animationDelay: "0.4s"
576
576
  }
577
577
  }),
578
- /* @__PURE__ */ A("span", {
578
+ /* @__PURE__ */ j("span", {
579
579
  className: H.PulseCentre,
580
580
  style: o
581
581
  }),
582
- /* @__PURE__ */ A(De, {
582
+ /* @__PURE__ */ j(De, {
583
583
  size: i,
584
584
  label: t ?? a.loading,
585
585
  className: H.PulseSpinner
@@ -605,7 +605,7 @@ var Me = U({
605
605
  return () => window.clearTimeout(r);
606
606
  }, [t, o]);
607
607
  let _ = Qe[r], v = l ? 0 : .35;
608
- return /* @__PURE__ */ j("div", {
608
+ return /* @__PURE__ */ M("div", {
609
609
  role: "status",
610
610
  "aria-live": "polite",
611
611
  className: H.Status,
@@ -613,29 +613,29 @@ var Me = U({
613
613
  width: _,
614
614
  height: _
615
615
  },
616
- children: [/* @__PURE__ */ A(e, {
616
+ children: [/* @__PURE__ */ j(e, {
617
617
  mode: "sync",
618
- children: f ? /* @__PURE__ */ A(n.div, {
618
+ children: f ? /* @__PURE__ */ j(n.div, {
619
619
  "aria-hidden": !0,
620
620
  initial: { opacity: 0 },
621
621
  animate: { opacity: 1 },
622
622
  exit: { opacity: 0 },
623
623
  transition: { duration: v },
624
624
  className: H.Layer,
625
- children: /* @__PURE__ */ A(Ye, {
625
+ children: /* @__PURE__ */ j(Ye, {
626
626
  size: r,
627
627
  color: a
628
628
  })
629
- }, "check") : /* @__PURE__ */ A(n.div, {
629
+ }, "check") : /* @__PURE__ */ j(n.div, {
630
630
  "aria-hidden": !0,
631
631
  initial: { opacity: 0 },
632
632
  animate: { opacity: 1 },
633
633
  exit: { opacity: 0 },
634
634
  transition: { duration: v },
635
635
  className: H.Layer,
636
- children: /* @__PURE__ */ A(Ze, { size: r })
636
+ children: /* @__PURE__ */ j(Ze, { size: r })
637
637
  }, "pulse")
638
- }), /* @__PURE__ */ A("span", {
638
+ }), /* @__PURE__ */ j("span", {
639
639
  className: H.SrOnly,
640
640
  children: f ? c ?? u.done : s ?? u.loading
641
641
  })]
@@ -670,7 +670,7 @@ function it({ loading: e = !1, disabled: t, className: n, render: r, nativeButto
670
670
  className: typeof n == "function" ? n({ disabled: c }) : n,
671
671
  onClick: c ? rt : s.onClick
672
672
  }
673
- }) || /* @__PURE__ */ A(M, {
673
+ }) || /* @__PURE__ */ j(ie, {
674
674
  ...s,
675
675
  ...u,
676
676
  ref: o,
@@ -682,7 +682,7 @@ function it({ loading: e = !1, disabled: t, className: n, render: r, nativeButto
682
682
  });
683
683
  }
684
684
  function at({ variant: e = "solid", color: t = "primary", size: n = "md", className: r, ...i }) {
685
- return /* @__PURE__ */ A(it, {
685
+ return /* @__PURE__ */ j(it, {
686
686
  ...i,
687
687
  "data-variant": e,
688
688
  "data-color": t,
@@ -691,40 +691,40 @@ function at({ variant: e = "solid", color: t = "primary", size: n = "md", classN
691
691
  });
692
692
  }
693
693
  //#endregion
694
- //#region src/components/buttons/action-button.tsx
694
+ //#region src/components/buttons/action-button/action-button.tsx
695
695
  function ot({ children: e, className: t, size: n = "lg", iconOnly: r = !1, ...i }) {
696
- return /* @__PURE__ */ j(it, {
696
+ return /* @__PURE__ */ M(it, {
697
697
  ...i,
698
698
  "data-size": n,
699
699
  "data-icon-only": r || void 0,
700
700
  className: G(et.ActionButton, t),
701
- children: [e != null && /* @__PURE__ */ A("span", {
701
+ children: [e != null && /* @__PURE__ */ j("span", {
702
702
  className: et.Label,
703
703
  children: e
704
- }), /* @__PURE__ */ A("span", {
704
+ }), /* @__PURE__ */ j("span", {
705
705
  "aria-hidden": !0,
706
706
  className: et.Disc,
707
- children: /* @__PURE__ */ A(v, { className: et.Arrow })
707
+ children: /* @__PURE__ */ j(v, { className: et.Arrow })
708
708
  })]
709
709
  });
710
710
  }
711
711
  //#endregion
712
- //#region src/components/buttons/button.tsx
712
+ //#region src/components/buttons/button/button.tsx
713
713
  function st({ startIcon: e, endIcon: t, loading: n = !1, loadingLabel: r, children: i, ...a }) {
714
- return /* @__PURE__ */ j(k, { children: [/* @__PURE__ */ j(at, {
714
+ return /* @__PURE__ */ M(A, { children: [/* @__PURE__ */ M(at, {
715
715
  ...a,
716
716
  loading: n,
717
717
  "data-start-icon": n || e != null || void 0,
718
718
  "data-end-icon": t != null || void 0,
719
719
  children: [
720
- n ? /* @__PURE__ */ A("span", {
720
+ n ? /* @__PURE__ */ j("span", {
721
721
  className: tt.Spinner,
722
722
  "aria-hidden": !0
723
723
  }) : e,
724
724
  i,
725
725
  t
726
726
  ]
727
- }), r != null && /* @__PURE__ */ A("span", {
727
+ }), r != null && /* @__PURE__ */ j("span", {
728
728
  role: "status",
729
729
  className: tt.SrOnly,
730
730
  children: n ? r : null
@@ -739,32 +739,32 @@ var ct = U({ close: {
739
739
  es: "Cerrar"
740
740
  } });
741
741
  //#endregion
742
- //#region src/components/buttons/icon-button.tsx
742
+ //#region src/components/buttons/icon-button/icon-button.tsx
743
743
  function lt({ loading: e = !1, className: t, children: n, ...r }) {
744
- return /* @__PURE__ */ A(at, {
744
+ return /* @__PURE__ */ j(at, {
745
745
  ...r,
746
746
  loading: e,
747
747
  className: G(tt.IconButton, t),
748
- children: e ? /* @__PURE__ */ A("span", {
748
+ children: e ? /* @__PURE__ */ j("span", {
749
749
  className: tt.Spinner,
750
750
  "aria-hidden": !0
751
751
  }) : n
752
752
  });
753
753
  }
754
754
  //#endregion
755
- //#region src/components/buttons/close-button.tsx
755
+ //#region src/components/buttons/close-button/close-button.tsx
756
756
  function ut({ label: e, variant: t = "ghost", color: n = "secondary", ...r }) {
757
757
  let i = ct();
758
- return /* @__PURE__ */ A(lt, {
758
+ return /* @__PURE__ */ j(lt, {
759
759
  ...r,
760
760
  variant: t,
761
761
  color: n,
762
762
  "aria-label": e ?? i.close,
763
- children: /* @__PURE__ */ A(ie, { "aria-hidden": !0 })
763
+ children: /* @__PURE__ */ j(re, { "aria-hidden": !0 })
764
764
  });
765
765
  }
766
766
  //#endregion
767
- //#region src/utils/downloadFile.ts
767
+ //#region src/utils/download-file.ts
768
768
  async function dt(e) {
769
769
  return typeof e == "function" ? e() : e;
770
770
  }
@@ -773,7 +773,7 @@ function ft(e, t, n) {
773
773
  a.href = i, a.download = t, a.rel = "noopener", a.click(), URL.revokeObjectURL(i);
774
774
  }
775
775
  //#endregion
776
- //#region src/components/buttons/use-download-labels.ts
776
+ //#region src/components/buttons/download-trigger/use-download-labels.ts
777
777
  var pt = U({ download: {
778
778
  no: "Last ned",
779
779
  se: "Ladda ner",
@@ -790,7 +790,7 @@ var pt = U({ download: {
790
790
  u(!1);
791
791
  }
792
792
  };
793
- return /* @__PURE__ */ A(st, {
793
+ return /* @__PURE__ */ j(st, {
794
794
  ...s,
795
795
  loading: d,
796
796
  onClick: f,
@@ -798,10 +798,10 @@ var pt = U({ download: {
798
798
  });
799
799
  }, ht = { SkipLink: "_SkipLink_1f71c_1" };
800
800
  //#endregion
801
- //#region src/components/buttons/skip-link.tsx
801
+ //#region src/components/buttons/skip-link/skip-link.tsx
802
802
  function gt({ href: e, children: t, className: n, style: r }) {
803
- return /* @__PURE__ */ A(at, {
804
- render: /* @__PURE__ */ A("a", { href: e }),
803
+ return /* @__PURE__ */ j(at, {
804
+ render: /* @__PURE__ */ j("a", { href: e }),
805
805
  color: "secondary",
806
806
  className: G(ht.SkipLink, n),
807
807
  style: r,
@@ -846,21 +846,21 @@ var xt = {
846
846
  DataField: "_DataField_14g0w_1",
847
847
  Label: "_Label_14g0w_16",
848
848
  Value: "_Value_14g0w_21"
849
- }, St = (e) => typeof e == "string" || typeof e == "number", Ct = ({ label: e, value: t, divider: n = !0, className: r, ...i }) => /* @__PURE__ */ j("div", {
849
+ }, St = (e) => typeof e == "string" || typeof e == "number", Ct = ({ label: e, value: t, divider: n = !0, className: r, ...i }) => /* @__PURE__ */ M("div", {
850
850
  ...i,
851
851
  className: [xt.DataField, r].filter(Boolean).join(" "),
852
852
  "data-divider": n || void 0,
853
- children: [/* @__PURE__ */ A("div", {
853
+ children: [/* @__PURE__ */ j("div", {
854
854
  className: xt.Label,
855
- children: St(e) ? /* @__PURE__ */ A(bt, {
856
- render: /* @__PURE__ */ A("span", {}),
855
+ children: St(e) ? /* @__PURE__ */ j(bt, {
856
+ render: /* @__PURE__ */ j("span", {}),
857
857
  color: "text.subtle",
858
858
  children: e
859
859
  }) : e
860
- }), /* @__PURE__ */ A("div", {
860
+ }), /* @__PURE__ */ j("div", {
861
861
  className: xt.Value,
862
- children: St(t) ? /* @__PURE__ */ A(bt, {
863
- render: /* @__PURE__ */ A("span", {}),
862
+ children: St(t) ? /* @__PURE__ */ j(bt, {
863
+ render: /* @__PURE__ */ j("span", {}),
864
864
  fontWeight: "medium",
865
865
  children: t
866
866
  }) : t
@@ -870,7 +870,7 @@ var xt = {
870
870
  Content: "_Content_6b69s_57"
871
871
  };
872
872
  //#endregion
873
- //#region src/components/data-display/card.tsx
873
+ //#region src/components/data-display/card/card.tsx
874
874
  function Tt({ render: e, ref: t, className: n, color: r, variant: i = "outlined", ...a }) {
875
875
  return N({
876
876
  render: e,
@@ -905,10 +905,10 @@ var Dt = {
905
905
  es: "Eliminar"
906
906
  } });
907
907
  //#endregion
908
- //#region src/components/data-display/chip.tsx
908
+ //#region src/components/data-display/chip/chip.tsx
909
909
  function kt({ label: e, color: t = "primary", variant: n = "filled", size: r = "md", icon: i, onDelete: a, deleteLabel: o, disabled: s = !1, className: c, tabIndex: l, ...u }) {
910
910
  let d = Ot(), f = o ?? (typeof e == "string" ? `${d.remove} ${e}` : d.remove);
911
- return /* @__PURE__ */ j("span", {
911
+ return /* @__PURE__ */ M("span", {
912
912
  ...u,
913
913
  tabIndex: l,
914
914
  className: [Dt.Chip, c].filter(Boolean).join(" "),
@@ -917,22 +917,22 @@ function kt({ label: e, color: t = "primary", variant: n = "filled", size: r = "
917
917
  "data-size": r,
918
918
  "data-disabled": s ? "" : void 0,
919
919
  children: [
920
- i != null && /* @__PURE__ */ A("span", {
920
+ i != null && /* @__PURE__ */ j("span", {
921
921
  className: Dt.Icon,
922
922
  children: i
923
923
  }),
924
- /* @__PURE__ */ A("span", {
924
+ /* @__PURE__ */ j("span", {
925
925
  className: Dt.Label,
926
926
  children: e
927
927
  }),
928
- a && /* @__PURE__ */ A("button", {
928
+ a && /* @__PURE__ */ j("button", {
929
929
  type: "button",
930
930
  "aria-label": f,
931
931
  className: Dt.Delete,
932
932
  disabled: s,
933
933
  tabIndex: l === -1 ? -1 : void 0,
934
934
  onClick: a,
935
- children: /* @__PURE__ */ A(w, { "aria-hidden": !0 })
935
+ children: /* @__PURE__ */ j(w, { "aria-hidden": !0 })
936
936
  })
937
937
  ]
938
938
  });
@@ -953,17 +953,17 @@ var At = {
953
953
  };
954
954
  }, Nt = "a[href], button:not([disabled]), input, select, textarea, [tabindex]:not([tabindex=\"-1\"])", Pt = 14, Ft = 100;
955
955
  function It({ title: e, openOn: t, placement: n = "top", surfaceVariant: r = "light", children: i, ariaLabel: a, triggerIcon: o, triggerVariant: s = "icon", className: c, style: l }) {
956
- let [u, d] = g(!1), p = f(), m = f(), h = /* @__PURE__ */ A("button", {
956
+ let [u, d] = g(!1), p = f(), m = f(), h = /* @__PURE__ */ j("button", {
957
957
  type: "button",
958
958
  "aria-label": a,
959
959
  className: [At.Trigger, c].filter(Boolean).join(" "),
960
960
  style: l,
961
961
  "data-variant": s,
962
- children: o ?? /* @__PURE__ */ A("span", {
962
+ children: o ?? /* @__PURE__ */ j("span", {
963
963
  "aria-hidden": !0,
964
964
  className: At.Mark
965
965
  })
966
- }), _ = i ?? h, v = (e) => i ? e : /* @__PURE__ */ A("span", {
966
+ }), _ = i ?? h, v = (e) => i ? e : /* @__PURE__ */ j("span", {
967
967
  className: At.TriggerBox,
968
968
  children: e
969
969
  });
@@ -974,24 +974,24 @@ function It({ title: e, openOn: t, placement: n = "top", surfaceVariant: r = "li
974
974
  let t = e.currentTarget.querySelectorAll(Nt), n = t[t.length - 1];
975
975
  (n == null || e.target === n) && (e.preventDefault(), d(!1));
976
976
  };
977
- return /* @__PURE__ */ j(P.Root, {
977
+ return /* @__PURE__ */ M(P.Root, {
978
978
  open: u,
979
979
  onOpenChange: d,
980
- children: [v(/* @__PURE__ */ A(P.Trigger, {
980
+ children: [v(/* @__PURE__ */ j(P.Trigger, {
981
981
  render: _,
982
982
  id: t,
983
983
  openOnHover: !0,
984
984
  delay: Ft
985
- })), /* @__PURE__ */ A(P.Portal, { children: /* @__PURE__ */ A(P.Positioner, {
985
+ })), /* @__PURE__ */ j(P.Portal, { children: /* @__PURE__ */ j(P.Positioner, {
986
986
  ...Mt(n),
987
987
  className: At.Positioner,
988
- children: /* @__PURE__ */ j(P.Popup, {
988
+ children: /* @__PURE__ */ M(P.Popup, {
989
989
  "aria-labelledby": t,
990
990
  onKeyDown: a,
991
991
  className: At.Popup,
992
992
  "data-surface": r,
993
- children: [/* @__PURE__ */ A(P.Arrow, { className: At.Arrow }), /* @__PURE__ */ A(P.Description, {
994
- render: /* @__PURE__ */ A("div", {}),
993
+ children: [/* @__PURE__ */ j(P.Arrow, { className: At.Arrow }), /* @__PURE__ */ j(P.Description, {
994
+ render: /* @__PURE__ */ j("div", {}),
995
995
  children: e
996
996
  })]
997
997
  })
@@ -999,22 +999,22 @@ function It({ title: e, openOn: t, placement: n = "top", surfaceVariant: r = "li
999
999
  });
1000
1000
  }
1001
1001
  let y = [i?.props["aria-describedby"], u && m].filter(Boolean).join(" ") || void 0;
1002
- return /* @__PURE__ */ j(F.Root, {
1002
+ return /* @__PURE__ */ M(F.Root, {
1003
1003
  open: u,
1004
1004
  onOpenChange: d,
1005
- children: [v(/* @__PURE__ */ A(F.Trigger, {
1005
+ children: [v(/* @__PURE__ */ j(F.Trigger, {
1006
1006
  render: _,
1007
1007
  delay: Ft,
1008
1008
  "aria-describedby": y
1009
- })), /* @__PURE__ */ A(F.Portal, { children: /* @__PURE__ */ A(F.Positioner, {
1009
+ })), /* @__PURE__ */ j(F.Portal, { children: /* @__PURE__ */ j(F.Positioner, {
1010
1010
  ...Mt(n),
1011
1011
  className: At.Positioner,
1012
- children: /* @__PURE__ */ j(F.Popup, {
1012
+ children: /* @__PURE__ */ M(F.Popup, {
1013
1013
  id: m,
1014
1014
  role: "tooltip",
1015
1015
  className: At.Popup,
1016
1016
  "data-surface": r,
1017
- children: [/* @__PURE__ */ A(F.Arrow, { className: At.Arrow }), e]
1017
+ children: [/* @__PURE__ */ j(F.Arrow, { className: At.Arrow }), e]
1018
1018
  })
1019
1019
  }) })]
1020
1020
  });
@@ -1025,17 +1025,17 @@ var Lt = {
1025
1025
  Fallback: "_Fallback_11qzb_20"
1026
1026
  };
1027
1027
  //#endregion
1028
- //#region src/components/data-display/avatar.tsx
1028
+ //#region src/components/data-display/avatar/avatar.tsx
1029
1029
  function Rt({ src: e, alt: t, imageRender: n, className: r, ...i }) {
1030
- return /* @__PURE__ */ j(ae.Root, {
1030
+ return /* @__PURE__ */ M(ae.Root, {
1031
1031
  ...i,
1032
1032
  className: G(Lt.Avatar, r),
1033
- children: [e != null && /* @__PURE__ */ A(ae.Image, {
1033
+ children: [e != null && /* @__PURE__ */ j(ae.Image, {
1034
1034
  src: e,
1035
1035
  alt: t,
1036
1036
  render: n,
1037
1037
  className: Lt.Image
1038
- }), /* @__PURE__ */ A(ae.Fallback, {
1038
+ }), /* @__PURE__ */ j(ae.Fallback, {
1039
1039
  className: Lt.Fallback,
1040
1040
  role: t ? "img" : void 0,
1041
1041
  "aria-label": t || void 0,
@@ -1054,17 +1054,17 @@ var zt = {
1054
1054
  } }), Vt = "M9.07088 0.612344C9.41462 -0.204115 10.5854 -0.204114 10.9291 0.612346L12.9579 5.43123C13.1029 5.77543 13.4306 6.01061 13.8067 6.0404L19.0727 6.45748C19.9649 6.52814 20.3267 7.62813 19.6469 8.2034L15.6348 11.5987C15.3482 11.8412 15.223 12.2218 15.3106 12.5843L16.5363 17.661C16.744 18.5211 15.7969 19.201 15.033 18.7401L10.5245 16.0196C10.2025 15.8252 9.7975 15.8252 9.47548 16.0196L4.96699 18.7401C4.20311 19.201 3.25596 18.5211 3.46363 17.661L4.68942 12.5843C4.77698 12.2218 4.65182 11.8412 4.36526 11.5987L0.353062 8.2034C-0.326718 7.62813 0.0350679 6.52814 0.927291 6.45748L6.19336 6.0404C6.5695 6.01061 6.89716 5.77543 7.04207 5.43123L9.07088 0.612344Z";
1055
1055
  function Ht({ rating: e, max: t = 5, className: n, ...r }) {
1056
1056
  let i = Bt(), a = Math.max(0, Math.round(t)), o = Math.min(Math.max(0, Math.round(e)), a);
1057
- return /* @__PURE__ */ A("span", {
1057
+ return /* @__PURE__ */ j("span", {
1058
1058
  role: "img",
1059
1059
  "aria-label": i.label.replace("{rating}", String(o)).replace("{max}", String(a)),
1060
1060
  ...r,
1061
1061
  className: [zt.StarRating, n].filter(Boolean).join(" "),
1062
- children: Array.from({ length: o }, (e, t) => /* @__PURE__ */ A("svg", {
1062
+ children: Array.from({ length: o }, (e, t) => /* @__PURE__ */ j("svg", {
1063
1063
  className: zt.Star,
1064
1064
  viewBox: "0 0 20 19",
1065
1065
  "aria-hidden": !0,
1066
1066
  focusable: "false",
1067
- children: /* @__PURE__ */ A("path", { d: Vt })
1067
+ children: /* @__PURE__ */ j("path", { d: Vt })
1068
1068
  }, t))
1069
1069
  });
1070
1070
  }
@@ -1093,7 +1093,7 @@ function Gt({ render: e, ref: t, className: n, size: r, ...i }) {
1093
1093
  className: G(Ut.Table, n)({})
1094
1094
  }
1095
1095
  });
1096
- return /* @__PURE__ */ A("div", {
1096
+ return /* @__PURE__ */ j("div", {
1097
1097
  ref: a,
1098
1098
  className: Ut.Scroll,
1099
1099
  ...o && {
@@ -1112,7 +1112,7 @@ function Kt({ render: e, ref: t, ...n }) {
1112
1112
  defaultTagName: "thead",
1113
1113
  props: n
1114
1114
  });
1115
- return /* @__PURE__ */ A(Wt.Provider, {
1115
+ return /* @__PURE__ */ j(Wt.Provider, {
1116
1116
  value: "head",
1117
1117
  children: r
1118
1118
  });
@@ -1124,7 +1124,7 @@ function qt({ render: e, ref: t, ...n }) {
1124
1124
  defaultTagName: "tbody",
1125
1125
  props: n
1126
1126
  });
1127
- return /* @__PURE__ */ A(Wt.Provider, {
1127
+ return /* @__PURE__ */ j(Wt.Provider, {
1128
1128
  value: "body",
1129
1129
  children: r
1130
1130
  });
@@ -1168,7 +1168,7 @@ function Xt({ render: e, ref: t, className: n, align: r, ...i }) {
1168
1168
  }
1169
1169
  var Zt = { RichText: "_RichText_yo3dd_11" };
1170
1170
  //#endregion
1171
- //#region src/components/data-display/rich-text.tsx
1171
+ //#region src/components/data-display/rich-text/rich-text.tsx
1172
1172
  function Qt({ render: e, ref: t, className: n, ...r }) {
1173
1173
  return N({
1174
1174
  render: e,
@@ -1186,7 +1186,7 @@ var $t = {
1186
1186
  Action: "_Action_13cbe_35"
1187
1187
  };
1188
1188
  //#endregion
1189
- //#region src/components/data-display/featured-image.tsx
1189
+ //#region src/components/data-display/featured-image/featured-image.tsx
1190
1190
  function en({ src: e, alt: t, imageRender: n, action: r, className: i, ...a }) {
1191
1191
  let o = N({
1192
1192
  render: n,
@@ -1197,10 +1197,10 @@ function en({ src: e, alt: t, imageRender: n, action: r, className: i, ...a }) {
1197
1197
  className: $t.Image
1198
1198
  }
1199
1199
  });
1200
- return /* @__PURE__ */ j("div", {
1200
+ return /* @__PURE__ */ M("div", {
1201
1201
  ...a,
1202
1202
  className: [$t.FeaturedImage, i].filter(Boolean).join(" "),
1203
- children: [o, r != null && /* @__PURE__ */ A("div", {
1203
+ children: [o, r != null && /* @__PURE__ */ j("div", {
1204
1204
  className: $t.Action,
1205
1205
  children: r
1206
1206
  })]
@@ -1239,10 +1239,10 @@ function an({ src: e, poster: t, className: n, ...r }) {
1239
1239
  let e = a.current;
1240
1240
  e && (e.paused ? e.play().catch(() => {}) : e.pause());
1241
1241
  };
1242
- return /* @__PURE__ */ j("div", {
1242
+ return /* @__PURE__ */ M("div", {
1243
1243
  ...r,
1244
1244
  className: [tn.VideoPlayer, n].filter(Boolean).join(" "),
1245
- children: [/* @__PURE__ */ A("video", {
1245
+ children: [/* @__PURE__ */ j("video", {
1246
1246
  ref: a,
1247
1247
  className: tn.Video,
1248
1248
  src: e,
@@ -1253,12 +1253,12 @@ function an({ src: e, poster: t, className: n, ...r }) {
1253
1253
  "aria-hidden": !0,
1254
1254
  onPlay: () => s(!0),
1255
1255
  onPause: () => s(!1)
1256
- }), /* @__PURE__ */ A(lt, {
1256
+ }), /* @__PURE__ */ j(lt, {
1257
1257
  variant: "elevated",
1258
1258
  color: "secondary",
1259
1259
  "aria-label": o ? i.pause : i.play,
1260
1260
  onClick: c,
1261
- children: A(o ? D : O, { "aria-hidden": !0 })
1261
+ children: j(o ? D : O, { "aria-hidden": !0 })
1262
1262
  })]
1263
1263
  });
1264
1264
  }
@@ -1267,14 +1267,14 @@ var on = {
1267
1267
  Arrow: "_Arrow_154zo_2"
1268
1268
  };
1269
1269
  //#endregion
1270
- //#region src/components/data-display/arrow-circle.tsx
1270
+ //#region src/components/data-display/link-card/arrow-circle.tsx
1271
1271
  function sn({ variant: e = "outline", size: t = "lg", className: n }) {
1272
- return /* @__PURE__ */ A("span", {
1272
+ return /* @__PURE__ */ j("span", {
1273
1273
  "aria-hidden": !0,
1274
1274
  "data-variant": e,
1275
1275
  "data-size": t,
1276
1276
  className: [on.ArrowCircle, n].filter(Boolean).join(" "),
1277
- children: /* @__PURE__ */ A(v, { className: on.Arrow })
1277
+ children: /* @__PURE__ */ j(v, { className: on.Arrow })
1278
1278
  });
1279
1279
  }
1280
1280
  var cn = {
@@ -1283,7 +1283,7 @@ var cn = {
1283
1283
  Arrow: "_Arrow_1jl1o_69"
1284
1284
  };
1285
1285
  //#endregion
1286
- //#region src/components/data-display/link-card.tsx
1286
+ //#region src/components/data-display/link-card/link-card.tsx
1287
1287
  function ln({ title: e, titleRender: t, surface: n = "base", render: r, ref: i, className: a, ...o }) {
1288
1288
  let s = N({
1289
1289
  render: t,
@@ -1301,7 +1301,7 @@ function ln({ title: e, titleRender: t, surface: n = "base", render: r, ref: i,
1301
1301
  ...o,
1302
1302
  "data-surface": n,
1303
1303
  className: G(cn.LinkCard, a)({}),
1304
- children: /* @__PURE__ */ j(k, { children: [s, /* @__PURE__ */ A(sn, { className: cn.Arrow })] })
1304
+ children: /* @__PURE__ */ M(A, { children: [s, /* @__PURE__ */ j(sn, { className: cn.Arrow })] })
1305
1305
  }
1306
1306
  });
1307
1307
  }
@@ -1317,7 +1317,7 @@ var un = {
1317
1317
  Image: "_Image_7szz1_109"
1318
1318
  }, dn = (e) => c(e) && (e.props.href != null || e.props.to != null);
1319
1319
  //#endregion
1320
- //#region src/components/data-display/media-card.tsx
1320
+ //#region src/components/data-display/media-card/media-card.tsx
1321
1321
  function fn({ title: e, titleRender: t, text: n, src: r, alt: i, imageRender: a, orientation: o = "horizontal", imagePosition: s, imageAsBackground: c = !1, surface: l = "base", action: u, priceExample: d, render: p, ref: m, className: h, ...g }) {
1322
1322
  let _ = f(), v = dn(p), y = `${_}-title`, b = `${_}-text`, x = o === "horizontal", S = N({
1323
1323
  render: t,
@@ -1354,27 +1354,27 @@ function fn({ title: e, titleRender: t, text: n, src: r, alt: i, imageRender: a,
1354
1354
  "data-has-image": C != null || void 0,
1355
1355
  "data-link": v || void 0,
1356
1356
  className: G(un.MediaCard, h)({}),
1357
- children: /* @__PURE__ */ j(k, { children: [/* @__PURE__ */ j("div", {
1357
+ children: /* @__PURE__ */ M(A, { children: [/* @__PURE__ */ M("div", {
1358
1358
  className: un.Content,
1359
1359
  children: [
1360
- /* @__PURE__ */ j("div", {
1360
+ /* @__PURE__ */ M("div", {
1361
1361
  className: un.Text,
1362
- children: [S, n != null && /* @__PURE__ */ A("p", {
1362
+ children: [S, n != null && /* @__PURE__ */ j("p", {
1363
1363
  className: un.Description,
1364
1364
  id: v ? b : void 0,
1365
1365
  children: n
1366
1366
  })]
1367
1367
  }),
1368
- !v && u != null && /* @__PURE__ */ A("div", {
1368
+ !v && u != null && /* @__PURE__ */ j("div", {
1369
1369
  className: un.Action,
1370
1370
  children: u
1371
1371
  }),
1372
- d != null && /* @__PURE__ */ A("p", {
1372
+ d != null && /* @__PURE__ */ j("p", {
1373
1373
  className: un.Price,
1374
1374
  children: d
1375
1375
  })
1376
1376
  ]
1377
- }), C != null && /* @__PURE__ */ A("div", {
1377
+ }), C != null && /* @__PURE__ */ j("div", {
1378
1378
  className: un.Media,
1379
1379
  children: C
1380
1380
  })] })
@@ -1390,7 +1390,7 @@ var pn = {
1390
1390
  Text: "_Text_6lhty_90"
1391
1391
  };
1392
1392
  //#endregion
1393
- //#region src/components/data-display/service-card.tsx
1393
+ //#region src/components/data-display/service-card/service-card.tsx
1394
1394
  function mn({ title: e, titleRender: t, text: n, icon: r, src: i, alt: a, imageRender: o, layout: s = "stacked", surface: c = "base", render: l, ref: u, className: d, ...p }) {
1395
1395
  let m = f(), h = dn(l), g = `${m}-title`, _ = `${m}-text`, v = N({
1396
1396
  render: t,
@@ -1424,15 +1424,15 @@ function mn({ title: e, titleRender: t, text: n, icon: r, src: i, alt: a, imageR
1424
1424
  "data-surface": c,
1425
1425
  "data-link": h || void 0,
1426
1426
  className: G(pn.ServiceCard, d)({}),
1427
- children: /* @__PURE__ */ j(k, { children: [y, /* @__PURE__ */ j("div", {
1427
+ children: /* @__PURE__ */ M(A, { children: [y, /* @__PURE__ */ M("div", {
1428
1428
  className: pn.Content,
1429
1429
  children: [
1430
- r != null && /* @__PURE__ */ A("span", {
1430
+ r != null && /* @__PURE__ */ j("span", {
1431
1431
  className: pn.Icon,
1432
1432
  children: r
1433
1433
  }),
1434
1434
  v,
1435
- n != null && /* @__PURE__ */ A("p", {
1435
+ n != null && /* @__PURE__ */ j("p", {
1436
1436
  className: pn.Text,
1437
1437
  id: h ? _ : void 0,
1438
1438
  children: n
@@ -1453,30 +1453,30 @@ var hn = {
1453
1453
  Meta: "_Meta_fjkq4_79"
1454
1454
  };
1455
1455
  //#endregion
1456
- //#region src/components/data-display/testimonial-card.tsx
1456
+ //#region src/components/data-display/testimonial-card/testimonial-card.tsx
1457
1457
  function gn({ quote: e, name: t, meta: n, rating: r, avatarSrc: i, avatarImageRender: a, className: o, ...s }) {
1458
- return /* @__PURE__ */ j("figure", {
1458
+ return /* @__PURE__ */ M("figure", {
1459
1459
  ...s,
1460
1460
  className: [hn.TestimonialCard, o].filter(Boolean).join(" "),
1461
- children: [/* @__PURE__ */ j("div", {
1461
+ children: [/* @__PURE__ */ M("div", {
1462
1462
  className: hn.Top,
1463
- children: [r != null && /* @__PURE__ */ A(Ht, { rating: r }), /* @__PURE__ */ A("blockquote", {
1463
+ children: [r != null && /* @__PURE__ */ j(Ht, { rating: r }), /* @__PURE__ */ j("blockquote", {
1464
1464
  className: hn.Quote,
1465
- children: typeof e == "string" || typeof e == "number" ? /* @__PURE__ */ A("p", { children: e }) : e
1465
+ children: typeof e == "string" || typeof e == "number" ? /* @__PURE__ */ j("p", { children: e }) : e
1466
1466
  })]
1467
- }), /* @__PURE__ */ j("figcaption", {
1467
+ }), /* @__PURE__ */ M("figcaption", {
1468
1468
  className: hn.Author,
1469
- children: [/* @__PURE__ */ A(Rt, {
1469
+ children: [/* @__PURE__ */ j(Rt, {
1470
1470
  src: i,
1471
1471
  alt: "",
1472
1472
  imageRender: a,
1473
1473
  className: hn.Avatar
1474
- }), /* @__PURE__ */ j("span", {
1474
+ }), /* @__PURE__ */ M("span", {
1475
1475
  className: hn.Person,
1476
- children: [/* @__PURE__ */ A("span", {
1476
+ children: [/* @__PURE__ */ j("span", {
1477
1477
  className: hn.Name,
1478
1478
  children: t
1479
- }), n != null && /* @__PURE__ */ A("span", {
1479
+ }), n != null && /* @__PURE__ */ j("span", {
1480
1480
  className: hn.Meta,
1481
1481
  children: n
1482
1482
  })]
@@ -1493,7 +1493,7 @@ var _n = {
1493
1493
  Meta: "_Meta_1mnm0_79"
1494
1494
  };
1495
1495
  //#endregion
1496
- //#region src/components/data-display/article-card.tsx
1496
+ //#region src/components/data-display/article-card/article-card.tsx
1497
1497
  function vn({ title: e, titleRender: t, excerpt: n, meta: r, src: i, alt: a, imageRender: o, variant: s = "post", render: c, ref: l, className: u, ...d }) {
1498
1498
  let p = f(), m = `${p}-title`, h = `${p}-excerpt`, g = `${p}-meta`, _ = r != null && r.length > 0, v = [n != null && h, _ && g].filter(Boolean).join(" ") || void 0, y = N({
1499
1499
  render: t,
@@ -1523,19 +1523,19 @@ function vn({ title: e, titleRender: t, excerpt: n, meta: r, src: i, alt: a, ima
1523
1523
  ...d,
1524
1524
  "data-variant": s,
1525
1525
  className: G(_n.ArticleCard, u)({}),
1526
- children: /* @__PURE__ */ j(k, { children: [b, /* @__PURE__ */ j("div", {
1526
+ children: /* @__PURE__ */ M(A, { children: [b, /* @__PURE__ */ M("div", {
1527
1527
  className: _n.Content,
1528
1528
  children: [
1529
1529
  y,
1530
- n != null && /* @__PURE__ */ A("p", {
1530
+ n != null && /* @__PURE__ */ j("p", {
1531
1531
  className: _n.Excerpt,
1532
1532
  id: h,
1533
1533
  children: n
1534
1534
  }),
1535
- _ && /* @__PURE__ */ A("span", {
1535
+ _ && /* @__PURE__ */ j("span", {
1536
1536
  className: _n.Meta,
1537
1537
  id: g,
1538
- children: r.map((e, t) => /* @__PURE__ */ A(kt, {
1538
+ children: r.map((e, t) => /* @__PURE__ */ j(kt, {
1539
1539
  label: e,
1540
1540
  color: "muted",
1541
1541
  size: "lg"
@@ -1553,7 +1553,7 @@ var yn = {
1553
1553
  Logo: "_Logo_1nldh_50"
1554
1554
  };
1555
1555
  //#endregion
1556
- //#region src/components/data-display/partner-row.tsx
1556
+ //#region src/components/data-display/partner-row/partner-row.tsx
1557
1557
  function bn({ src: e, alt: t, imageRender: n, render: r, ref: i, className: a, children: o, ...s }) {
1558
1558
  let c = N({
1559
1559
  enabled: e != null,
@@ -1573,17 +1573,21 @@ function bn({ src: e, alt: t, imageRender: n, render: r, ref: i, className: a, c
1573
1573
  ...s,
1574
1574
  "data-has-logo": c != null || void 0,
1575
1575
  className: G(yn.PartnerRow, a)({}),
1576
- children: /* @__PURE__ */ j(k, { children: [/* @__PURE__ */ A("div", {
1576
+ children: /* @__PURE__ */ M(A, { children: [/* @__PURE__ */ j("div", {
1577
1577
  className: yn.Content,
1578
1578
  children: o
1579
- }), c != null && /* @__PURE__ */ A("div", {
1579
+ }), c != null && /* @__PURE__ */ j("div", {
1580
1580
  className: yn.Tile,
1581
1581
  children: c
1582
1582
  })] })
1583
1583
  }
1584
1584
  });
1585
1585
  }
1586
- var K = {
1586
+ var xn = { BrandDivider: "_BrandDivider_10exs_6" }, Sn = ({ size: e = "sm" }) => /* @__PURE__ */ j("div", {
1587
+ "aria-hidden": "true",
1588
+ className: xn.BrandDivider,
1589
+ "data-size": e
1590
+ }), K = {
1587
1591
  Alert: "_Alert_q79pt_9",
1588
1592
  Layout: "_Layout_q79pt_31",
1589
1593
  Icon: "_Icon_q79pt_37",
@@ -1591,32 +1595,32 @@ var K = {
1591
1595
  Title: "_Title_q79pt_58",
1592
1596
  Action: "_Action_q79pt_62",
1593
1597
  Close: "_Close_q79pt_110"
1594
- }, xn = ["primary", "neutral"], Sn = {
1595
- success: /* @__PURE__ */ A(C, {
1598
+ }, Cn = ["primary", "neutral"], wn = {
1599
+ success: /* @__PURE__ */ j(C, {
1596
1600
  size: "1em",
1597
1601
  "aria-hidden": !0
1598
1602
  }),
1599
- info: /* @__PURE__ */ A(T, {
1603
+ info: /* @__PURE__ */ j(T, {
1600
1604
  size: "1em",
1601
1605
  "aria-hidden": !0
1602
1606
  }),
1603
- warning: /* @__PURE__ */ A(re, {
1607
+ warning: /* @__PURE__ */ j(ne, {
1604
1608
  size: "1em",
1605
1609
  "aria-hidden": !0
1606
1610
  }),
1607
- error: /* @__PURE__ */ A(S, {
1611
+ error: /* @__PURE__ */ j(S, {
1608
1612
  size: "1em",
1609
1613
  "aria-hidden": !0
1610
1614
  })
1611
- }, Cn = (e, t) => e ?? (t && xn.includes(t) ? "info" : "success");
1612
- function wn({ severity: e, color: t, variant: n = "standard", size: r = "lg", icon: i, action: a, onClose: o, closeLabel: s, role: c, children: l, ...u }) {
1613
- let d = Cn(e, t), f = {
1615
+ }, Tn = (e, t) => e ?? (t && Cn.includes(t) ? "info" : "success");
1616
+ function En({ severity: e, color: t, variant: n = "standard", size: r = "lg", icon: i, action: a, onClose: o, closeLabel: s, role: c, children: l, ...u }) {
1617
+ let d = Tn(e, t), f = {
1614
1618
  ...u,
1615
1619
  role: c ?? (d === "error" || d === "warning" ? "alert" : "status"),
1616
1620
  "data-color": t ?? d,
1617
1621
  "data-variant": n,
1618
1622
  "data-size": r
1619
- }, p = i === void 0 ? Sn[d] : i, m = a ?? (o && /* @__PURE__ */ A(ut, {
1623
+ }, p = i === void 0 ? wn[d] : i, m = a ?? (o && /* @__PURE__ */ j(ut, {
1620
1624
  size: "sm",
1621
1625
  label: s,
1622
1626
  onClick: o,
@@ -1624,16 +1628,16 @@ function wn({ severity: e, color: t, variant: n = "standard", size: r = "lg", ic
1624
1628
  }));
1625
1629
  return {
1626
1630
  rootProps: f,
1627
- content: /* @__PURE__ */ j(k, { children: [
1628
- p !== !1 && p != null && /* @__PURE__ */ A("div", {
1631
+ content: /* @__PURE__ */ M(A, { children: [
1632
+ p !== !1 && p != null && /* @__PURE__ */ j("div", {
1629
1633
  className: K.Icon,
1630
1634
  children: p
1631
1635
  }),
1632
- /* @__PURE__ */ A("div", {
1636
+ /* @__PURE__ */ j("div", {
1633
1637
  className: K.Message,
1634
1638
  children: l
1635
1639
  }),
1636
- m && /* @__PURE__ */ A("div", {
1640
+ m && /* @__PURE__ */ j("div", {
1637
1641
  className: K.Action,
1638
1642
  children: m
1639
1643
  })
@@ -1641,10 +1645,10 @@ function wn({ severity: e, color: t, variant: n = "standard", size: r = "lg", ic
1641
1645
  };
1642
1646
  }
1643
1647
  //#endregion
1644
- //#region src/components/feedback/alert.tsx
1645
- function Tn({ className: e, ...t }) {
1646
- let { rootProps: n, content: r } = wn(t);
1647
- return /* @__PURE__ */ A("div", {
1648
+ //#region src/components/feedback/alert/alert.tsx
1649
+ function Dn({ className: e, ...t }) {
1650
+ let { rootProps: n, content: r } = En(t);
1651
+ return /* @__PURE__ */ j("div", {
1648
1652
  ...n,
1649
1653
  className: [
1650
1654
  K.Alert,
@@ -1654,13 +1658,13 @@ function Tn({ className: e, ...t }) {
1654
1658
  children: r
1655
1659
  });
1656
1660
  }
1657
- function En({ className: e, ...t }) {
1658
- return /* @__PURE__ */ A("div", {
1661
+ function On({ className: e, ...t }) {
1662
+ return /* @__PURE__ */ j("div", {
1659
1663
  ...t,
1660
1664
  className: [K.Title, e].filter(Boolean).join(" ")
1661
1665
  });
1662
1666
  }
1663
- var Dn = {
1667
+ var kn = {
1664
1668
  Backdrop: "_Backdrop_1do7v_8",
1665
1669
  Viewport: "_Viewport_1do7v_22",
1666
1670
  Popup: "_Popup_1do7v_38",
@@ -1670,85 +1674,85 @@ var Dn = {
1670
1674
  Content: "_Content_1do7v_111",
1671
1675
  Footer: "_Footer_1do7v_119",
1672
1676
  CloseButton: "_CloseButton_1do7v_135"
1673
- }, On = /* @__PURE__ */ Se({
1674
- Backdrop: () => Mn,
1675
- Close: () => Bn,
1676
- CloseButton: () => Vn,
1677
- Content: () => Rn,
1678
- Description: () => Ln,
1679
- Footer: () => zn,
1680
- Header: () => Fn,
1681
- Popup: () => Pn,
1682
- Portal: () => jn,
1683
- Root: () => kn,
1684
- Title: () => In,
1685
- Trigger: () => An,
1686
- Viewport: () => Nn
1687
- }), kn = I.Root, An = I.Trigger, jn = I.Portal;
1688
- function Mn({ className: e, ...t }) {
1689
- return /* @__PURE__ */ A(I.Backdrop, {
1677
+ }, An = /* @__PURE__ */ Se({
1678
+ Backdrop: () => Pn,
1679
+ Close: () => Hn,
1680
+ CloseButton: () => Un,
1681
+ Content: () => Bn,
1682
+ Description: () => zn,
1683
+ Footer: () => Vn,
1684
+ Header: () => Ln,
1685
+ Popup: () => In,
1686
+ Portal: () => Nn,
1687
+ Root: () => jn,
1688
+ Title: () => Rn,
1689
+ Trigger: () => Mn,
1690
+ Viewport: () => Fn
1691
+ }), jn = I.Root, Mn = I.Trigger, Nn = I.Portal;
1692
+ function Pn({ className: e, ...t }) {
1693
+ return /* @__PURE__ */ j(I.Backdrop, {
1690
1694
  ...t,
1691
- className: G(Dn.Backdrop, e)
1695
+ className: G(kn.Backdrop, e)
1692
1696
  });
1693
1697
  }
1694
- function Nn({ className: e, ...t }) {
1695
- return /* @__PURE__ */ A(I.Viewport, {
1698
+ function Fn({ className: e, ...t }) {
1699
+ return /* @__PURE__ */ j(I.Viewport, {
1696
1700
  ...t,
1697
- className: G(Dn.Viewport, e)
1701
+ className: G(kn.Viewport, e)
1698
1702
  });
1699
1703
  }
1700
- function Pn({ size: e = "sm", fullScreenOnMobile: t, className: n, ...r }) {
1701
- return /* @__PURE__ */ A(I.Popup, {
1704
+ function In({ size: e = "sm", fullScreenOnMobile: t, className: n, ...r }) {
1705
+ return /* @__PURE__ */ j(I.Popup, {
1702
1706
  ...r,
1703
1707
  "data-size": e,
1704
1708
  "data-full-screen-on-mobile": t || void 0,
1705
- className: G(Dn.Popup, n)
1709
+ className: G(kn.Popup, n)
1706
1710
  });
1707
1711
  }
1708
- function Fn({ className: e, ...t }) {
1709
- return /* @__PURE__ */ A("div", {
1712
+ function Ln({ className: e, ...t }) {
1713
+ return /* @__PURE__ */ j("div", {
1710
1714
  ...t,
1711
- className: [Dn.Header, e].filter(Boolean).join(" ")
1715
+ className: [kn.Header, e].filter(Boolean).join(" ")
1712
1716
  });
1713
1717
  }
1714
- function In({ className: e, ...t }) {
1715
- return /* @__PURE__ */ A(I.Title, {
1718
+ function Rn({ className: e, ...t }) {
1719
+ return /* @__PURE__ */ j(I.Title, {
1716
1720
  ...t,
1717
- className: G(Dn.Title, e)
1721
+ className: G(kn.Title, e)
1718
1722
  });
1719
1723
  }
1720
- function Ln({ className: e, ...t }) {
1721
- return /* @__PURE__ */ A(I.Description, {
1724
+ function zn({ className: e, ...t }) {
1725
+ return /* @__PURE__ */ j(I.Description, {
1722
1726
  ...t,
1723
- className: G(Dn.Description, e)
1727
+ className: G(kn.Description, e)
1724
1728
  });
1725
1729
  }
1726
- function Rn({ className: e, ...t }) {
1727
- return /* @__PURE__ */ A("div", {
1730
+ function Bn({ className: e, ...t }) {
1731
+ return /* @__PURE__ */ j("div", {
1728
1732
  ...t,
1729
- className: [Dn.Content, e].filter(Boolean).join(" ")
1733
+ className: [kn.Content, e].filter(Boolean).join(" ")
1730
1734
  });
1731
1735
  }
1732
- function zn({ className: e, ...t }) {
1733
- return /* @__PURE__ */ A("div", {
1736
+ function Vn({ className: e, ...t }) {
1737
+ return /* @__PURE__ */ j("div", {
1734
1738
  ...t,
1735
- className: [Dn.Footer, e].filter(Boolean).join(" ")
1739
+ className: [kn.Footer, e].filter(Boolean).join(" ")
1736
1740
  });
1737
1741
  }
1738
- var Bn = I.Close;
1739
- function Vn({ label: e, className: t, ...n }) {
1742
+ var Hn = I.Close;
1743
+ function Un({ label: e, className: t, ...n }) {
1740
1744
  let r = ct();
1741
- return /* @__PURE__ */ A(I.Close, {
1745
+ return /* @__PURE__ */ j(I.Close, {
1742
1746
  ...n,
1743
1747
  "aria-label": e ?? r.close,
1744
- className: G(Dn.CloseButton, t),
1745
- children: /* @__PURE__ */ A(ie, {
1748
+ className: G(kn.CloseButton, t),
1749
+ children: /* @__PURE__ */ j(re, {
1746
1750
  size: 20,
1747
1751
  "aria-hidden": !0
1748
1752
  })
1749
1753
  });
1750
1754
  }
1751
- var Hn = {
1755
+ var Wn = {
1752
1756
  Backdrop: "_Backdrop_12k26_12",
1753
1757
  Viewport: "_Viewport_12k26_27",
1754
1758
  Popup: "_Popup_12k26_35",
@@ -1758,117 +1762,117 @@ var Hn = {
1758
1762
  Description: "_Description_12k26_155",
1759
1763
  Content: "_Content_12k26_169",
1760
1764
  CloseButton: "_CloseButton_12k26_176"
1761
- }, Un = /* @__PURE__ */ Se({
1762
- Backdrop: () => Jn,
1763
- Close: () => nr,
1764
- CloseButton: () => rr,
1765
- Content: () => tr,
1766
- Description: () => er,
1767
- Handle: () => Zn,
1768
- Header: () => Qn,
1769
- Popup: () => Xn,
1770
- Portal: () => qn,
1771
- Root: () => Gn,
1772
- Title: () => $n,
1773
- Trigger: () => Kn,
1774
- Viewport: () => Yn
1775
- }), Wn = {
1765
+ }, Gn = /* @__PURE__ */ Se({
1766
+ Backdrop: () => Xn,
1767
+ Close: () => ir,
1768
+ CloseButton: () => ar,
1769
+ Content: () => rr,
1770
+ Description: () => nr,
1771
+ Handle: () => $n,
1772
+ Header: () => er,
1773
+ Popup: () => Qn,
1774
+ Portal: () => Yn,
1775
+ Root: () => qn,
1776
+ Title: () => tr,
1777
+ Trigger: () => Jn,
1778
+ Viewport: () => Zn
1779
+ }), Kn = {
1776
1780
  left: "left",
1777
1781
  right: "right",
1778
1782
  top: "up",
1779
1783
  bottom: "down"
1780
1784
  };
1781
- function Gn({ side: e = "right", ...t }) {
1782
- return /* @__PURE__ */ A(L.Root, {
1785
+ function qn({ side: e = "right", ...t }) {
1786
+ return /* @__PURE__ */ j(L.Root, {
1783
1787
  ...t,
1784
- swipeDirection: Wn[e]
1788
+ swipeDirection: Kn[e]
1785
1789
  });
1786
1790
  }
1787
- var Kn = L.Trigger, qn = L.Portal;
1788
- function Jn({ className: e, ...t }) {
1789
- return /* @__PURE__ */ A(L.Backdrop, {
1791
+ var Jn = L.Trigger, Yn = L.Portal;
1792
+ function Xn({ className: e, ...t }) {
1793
+ return /* @__PURE__ */ j(L.Backdrop, {
1790
1794
  ...t,
1791
- className: G(Hn.Backdrop, e)
1795
+ className: G(Wn.Backdrop, e)
1792
1796
  });
1793
1797
  }
1794
- function Yn({ className: e, ...t }) {
1795
- return /* @__PURE__ */ A(L.Viewport, {
1798
+ function Zn({ className: e, ...t }) {
1799
+ return /* @__PURE__ */ j(L.Viewport, {
1796
1800
  ...t,
1797
- className: G(Hn.Viewport, e)
1801
+ className: G(Wn.Viewport, e)
1798
1802
  });
1799
1803
  }
1800
- function Xn({ className: e, ...t }) {
1801
- return /* @__PURE__ */ A(L.Popup, {
1804
+ function Qn({ className: e, ...t }) {
1805
+ return /* @__PURE__ */ j(L.Popup, {
1802
1806
  ...t,
1803
- className: G(Hn.Popup, e)
1807
+ className: G(Wn.Popup, e)
1804
1808
  });
1805
1809
  }
1806
- function Zn({ className: e, ...t }) {
1807
- return /* @__PURE__ */ A("div", {
1810
+ function $n({ className: e, ...t }) {
1811
+ return /* @__PURE__ */ j("div", {
1808
1812
  ...t,
1809
1813
  "aria-hidden": !0,
1810
- className: [Hn.Handle, e].filter(Boolean).join(" ")
1814
+ className: [Wn.Handle, e].filter(Boolean).join(" ")
1811
1815
  });
1812
1816
  }
1813
- function Qn({ className: e, ...t }) {
1814
- return /* @__PURE__ */ A("div", {
1817
+ function er({ className: e, ...t }) {
1818
+ return /* @__PURE__ */ j("div", {
1815
1819
  ...t,
1816
- className: [Hn.Header, e].filter(Boolean).join(" ")
1820
+ className: [Wn.Header, e].filter(Boolean).join(" ")
1817
1821
  });
1818
1822
  }
1819
- function $n({ className: e, ...t }) {
1820
- return /* @__PURE__ */ A(L.Title, {
1823
+ function tr({ className: e, ...t }) {
1824
+ return /* @__PURE__ */ j(L.Title, {
1821
1825
  ...t,
1822
- className: G(Hn.Title, e)
1826
+ className: G(Wn.Title, e)
1823
1827
  });
1824
1828
  }
1825
- function er({ className: e, ...t }) {
1826
- return /* @__PURE__ */ A(L.Description, {
1829
+ function nr({ className: e, ...t }) {
1830
+ return /* @__PURE__ */ j(L.Description, {
1827
1831
  ...t,
1828
- className: G(Hn.Description, e)
1832
+ className: G(Wn.Description, e)
1829
1833
  });
1830
1834
  }
1831
- function tr({ className: e, ...t }) {
1832
- return /* @__PURE__ */ A(L.Content, {
1835
+ function rr({ className: e, ...t }) {
1836
+ return /* @__PURE__ */ j(L.Content, {
1833
1837
  ...t,
1834
- className: G(Hn.Content, e)
1838
+ className: G(Wn.Content, e)
1835
1839
  });
1836
1840
  }
1837
- var nr = L.Close;
1838
- function rr({ label: e, className: t, ...n }) {
1841
+ var ir = L.Close;
1842
+ function ar({ label: e, className: t, ...n }) {
1839
1843
  let r = ct();
1840
- return /* @__PURE__ */ A(L.Close, {
1844
+ return /* @__PURE__ */ j(L.Close, {
1841
1845
  ...n,
1842
1846
  "aria-label": e ?? r.close,
1843
- className: G(Hn.CloseButton, t),
1844
- children: /* @__PURE__ */ A(ie, {
1847
+ className: G(Wn.CloseButton, t),
1848
+ children: /* @__PURE__ */ j(re, {
1845
1849
  size: 20,
1846
1850
  "aria-hidden": !0
1847
1851
  })
1848
1852
  });
1849
1853
  }
1850
- var ir = { Container: "_Container_15dwv_1" };
1854
+ var or = { Container: "_Container_15dwv_1" };
1851
1855
  //#endregion
1852
- //#region src/components/layout/container.tsx
1853
- function ar({ size: e = "lg", render: t, className: n, ...r }) {
1856
+ //#region src/components/layout/container/container.tsx
1857
+ function sr({ size: e = "lg", render: t, className: n, ...r }) {
1854
1858
  return N({
1855
1859
  render: t,
1856
1860
  props: {
1857
1861
  ...r,
1858
1862
  "data-size": e,
1859
- className: G(ir.Container, n)({})
1863
+ className: G(or.Container, n)({})
1860
1864
  }
1861
1865
  });
1862
1866
  }
1863
1867
  //#endregion
1864
- //#region src/components/feedback/global-alert.tsx
1865
- function or({ fluid: e = !1, className: t, innerClassName: n, ...r }) {
1866
- let { rootProps: i, content: a } = wn(r);
1867
- return /* @__PURE__ */ A("div", {
1868
+ //#region src/components/feedback/global-alert/global-alert.tsx
1869
+ function cr({ fluid: e = !1, className: t, innerClassName: n, ...r }) {
1870
+ let { rootProps: i, content: a } = En(r);
1871
+ return /* @__PURE__ */ j("div", {
1868
1872
  ...i,
1869
1873
  "data-global": "",
1870
1874
  className: [K.Alert, t].filter(Boolean).join(" "),
1871
- children: /* @__PURE__ */ A(ar, {
1875
+ children: /* @__PURE__ */ j(sr, {
1872
1876
  className: [K.Layout, n].filter(Boolean).join(" "),
1873
1877
  "data-fluid": e || void 0,
1874
1878
  children: a
@@ -1876,14 +1880,14 @@ function or({ fluid: e = !1, className: t, innerClassName: n, ...r }) {
1876
1880
  });
1877
1881
  }
1878
1882
  //#endregion
1879
- //#region src/components/feedback/simple-dialog.tsx
1880
- function sr({ title: e, description: t, children: n, closeLabel: r, size: i, fullScreenOnMobile: a, hideCloseButton: o, ...s }) {
1881
- return /* @__PURE__ */ A(kn, {
1883
+ //#region src/components/feedback/dialog/simple-dialog.tsx
1884
+ function lr({ title: e, description: t, children: n, closeLabel: r, size: i, fullScreenOnMobile: a, hideCloseButton: o, ...s }) {
1885
+ return /* @__PURE__ */ j(jn, {
1882
1886
  ...s,
1883
- children: /* @__PURE__ */ j(jn, { children: [/* @__PURE__ */ A(Mn, {}), /* @__PURE__ */ A(Nn, { children: /* @__PURE__ */ j(Pn, {
1887
+ children: /* @__PURE__ */ M(Nn, { children: [/* @__PURE__ */ j(Pn, {}), /* @__PURE__ */ j(Fn, { children: /* @__PURE__ */ M(In, {
1884
1888
  size: i,
1885
1889
  fullScreenOnMobile: a,
1886
- children: [/* @__PURE__ */ j(Fn, { children: [/* @__PURE__ */ A(In, { children: e }), !o && /* @__PURE__ */ A(Vn, { label: r })] }), /* @__PURE__ */ j(Rn, { children: [t != null && /* @__PURE__ */ A(Ln, {
1890
+ children: [/* @__PURE__ */ M(Ln, { children: [/* @__PURE__ */ j(Rn, { children: e }), !o && /* @__PURE__ */ j(Un, { label: r })] }), /* @__PURE__ */ M(Bn, { children: [t != null && /* @__PURE__ */ j(zn, {
1887
1891
  "data-last": n == null || void 0,
1888
1892
  children: t
1889
1893
  }), n] })]
@@ -1891,30 +1895,30 @@ function sr({ title: e, description: t, children: n, closeLabel: r, size: i, ful
1891
1895
  });
1892
1896
  }
1893
1897
  //#endregion
1894
- //#region src/components/feedback/simple-drawer.tsx
1895
- function cr({ title: e, description: t, children: n, closeLabel: r, side: i = "right", ...a }) {
1896
- return /* @__PURE__ */ A(Gn, {
1898
+ //#region src/components/feedback/drawer/simple-drawer.tsx
1899
+ function ur({ title: e, description: t, children: n, closeLabel: r, side: i = "right", ...a }) {
1900
+ return /* @__PURE__ */ j(qn, {
1897
1901
  ...a,
1898
1902
  side: i,
1899
- children: /* @__PURE__ */ j(qn, { children: [/* @__PURE__ */ A(Jn, {}), /* @__PURE__ */ A(Yn, { children: /* @__PURE__ */ j(Xn, { children: [
1900
- i === "bottom" && /* @__PURE__ */ A(Zn, {}),
1901
- /* @__PURE__ */ j(Qn, { children: [/* @__PURE__ */ A($n, { children: e }), /* @__PURE__ */ A(rr, { label: r })] }),
1902
- /* @__PURE__ */ j(tr, { children: [t != null && /* @__PURE__ */ A(er, {
1903
+ children: /* @__PURE__ */ M(Yn, { children: [/* @__PURE__ */ j(Xn, {}), /* @__PURE__ */ j(Zn, { children: /* @__PURE__ */ M(Qn, { children: [
1904
+ i === "bottom" && /* @__PURE__ */ j($n, {}),
1905
+ /* @__PURE__ */ M(er, { children: [/* @__PURE__ */ j(tr, { children: e }), /* @__PURE__ */ j(ar, { label: r })] }),
1906
+ /* @__PURE__ */ M(rr, { children: [t != null && /* @__PURE__ */ j(nr, {
1903
1907
  "data-last": n == null || void 0,
1904
1908
  children: t
1905
1909
  }), n] }),
1906
- i === "top" && /* @__PURE__ */ A(Zn, {})
1910
+ i === "top" && /* @__PURE__ */ j($n, {})
1907
1911
  ] }) })] })
1908
1912
  });
1909
1913
  }
1910
- var lr = {
1914
+ var dr = {
1911
1915
  Viewport: "_Viewport_42vay_10",
1912
1916
  Toast: "_Toast_42vay_34",
1913
1917
  Content: "_Content_42vay_123",
1914
1918
  Description: "_Description_42vay_143",
1915
1919
  ToastAction: "_ToastAction_42vay_148"
1916
- }, ur = ({ severity: e, color: t, priority: n, action: r, ...i }) => {
1917
- let a = Cn(e, t);
1920
+ }, fr = ({ severity: e, color: t, priority: n, action: r, ...i }) => {
1921
+ let a = Tn(e, t);
1918
1922
  return {
1919
1923
  ...i,
1920
1924
  type: a,
@@ -1928,94 +1932,94 @@ var lr = {
1928
1932
  color: t ?? a
1929
1933
  }
1930
1934
  };
1931
- }, dr = /* @__PURE__ */ new WeakMap();
1932
- function fr() {
1935
+ }, pr = /* @__PURE__ */ new WeakMap();
1936
+ function mr() {
1933
1937
  let e = R.createToastManager(), t = {
1934
- add: (t) => e.add(ur(t)),
1938
+ add: (t) => e.add(fr(t)),
1935
1939
  close: (t) => e.close(t)
1936
1940
  };
1937
- return dr.set(t, e), t;
1941
+ return pr.set(t, e), t;
1938
1942
  }
1939
- var pr = s(null);
1940
- function mr() {
1941
- let e = u(pr);
1943
+ var hr = s(null);
1944
+ function gr() {
1945
+ let e = u(hr);
1942
1946
  if (!e) throw Error("useToastManager must be used inside a ToastProvider.");
1943
1947
  return e;
1944
1948
  }
1945
- var hr = U({ notifications: {
1949
+ var _r = U({ notifications: {
1946
1950
  no: "Varsler",
1947
1951
  se: "Aviseringar",
1948
1952
  fi: "Ilmoitukset",
1949
1953
  es: "Notificaciones"
1950
1954
  } });
1951
- function gr({ children: e, timeout: t, limit: n, toastManager: r }) {
1952
- let [i] = g(fr), a = r ?? i, o = hr();
1953
- return /* @__PURE__ */ A(pr.Provider, {
1955
+ function vr({ children: e, timeout: t, limit: n, toastManager: r }) {
1956
+ let [i] = g(mr), a = r ?? i, o = _r();
1957
+ return /* @__PURE__ */ j(hr.Provider, {
1954
1958
  value: a,
1955
- children: /* @__PURE__ */ j(R.Provider, {
1959
+ children: /* @__PURE__ */ M(R.Provider, {
1956
1960
  timeout: t,
1957
1961
  limit: n,
1958
- toastManager: dr.get(a),
1959
- children: [e, /* @__PURE__ */ A(R.Portal, { children: /* @__PURE__ */ A(R.Viewport, {
1962
+ toastManager: pr.get(a),
1963
+ children: [e, /* @__PURE__ */ j(R.Portal, { children: /* @__PURE__ */ j(R.Viewport, {
1960
1964
  "aria-label": o.notifications,
1961
- className: lr.Viewport,
1962
- children: /* @__PURE__ */ A(_r, {})
1965
+ className: dr.Viewport,
1966
+ children: /* @__PURE__ */ j(yr, {})
1963
1967
  }) })]
1964
1968
  })
1965
1969
  });
1966
1970
  }
1967
- function _r() {
1971
+ function yr() {
1968
1972
  let { toasts: e } = R.useToastManager();
1969
- return e.map((e) => /* @__PURE__ */ A(vr, { toast: e }, e.id));
1973
+ return e.map((e) => /* @__PURE__ */ j(br, { toast: e }, e.id));
1970
1974
  }
1971
- function vr({ toast: e }) {
1975
+ function br({ toast: e }) {
1972
1976
  let t = e.data?.severity ?? "success";
1973
- return /* @__PURE__ */ A(R.Root, {
1977
+ return /* @__PURE__ */ j(R.Root, {
1974
1978
  toast: e,
1975
1979
  "data-color": e.data?.color ?? t,
1976
1980
  "data-variant": "standard",
1977
1981
  "data-size": "lg",
1978
- className: `${K.Alert} ${lr.Toast}`,
1979
- children: /* @__PURE__ */ j(R.Content, {
1980
- className: `${K.Layout} ${lr.Content}`,
1982
+ className: `${K.Alert} ${dr.Toast}`,
1983
+ children: /* @__PURE__ */ M(R.Content, {
1984
+ className: `${K.Layout} ${dr.Content}`,
1981
1985
  children: [
1982
- /* @__PURE__ */ A("div", {
1986
+ /* @__PURE__ */ j("div", {
1983
1987
  className: K.Icon,
1984
- children: Sn[t]
1988
+ children: wn[t]
1985
1989
  }),
1986
- /* @__PURE__ */ j("div", {
1990
+ /* @__PURE__ */ M("div", {
1987
1991
  className: K.Message,
1988
1992
  children: [
1989
- /* @__PURE__ */ A(R.Title, {
1990
- render: /* @__PURE__ */ A("div", {}),
1993
+ /* @__PURE__ */ j(R.Title, {
1994
+ render: /* @__PURE__ */ j("div", {}),
1991
1995
  className: K.Title
1992
1996
  }),
1993
- /* @__PURE__ */ A(R.Description, { className: lr.Description }),
1994
- /* @__PURE__ */ A(R.Action, {
1995
- render: /* @__PURE__ */ A(st, {
1997
+ /* @__PURE__ */ j(R.Description, { className: dr.Description }),
1998
+ /* @__PURE__ */ j(R.Action, {
1999
+ render: /* @__PURE__ */ j(st, {
1996
2000
  size: "sm",
1997
2001
  variant: "outline",
1998
2002
  color: "secondary"
1999
2003
  }),
2000
- className: lr.ToastAction
2004
+ className: dr.ToastAction
2001
2005
  })
2002
2006
  ]
2003
2007
  }),
2004
- /* @__PURE__ */ A("div", {
2008
+ /* @__PURE__ */ j("div", {
2005
2009
  className: K.Action,
2006
- children: /* @__PURE__ */ A(R.Close, { render: /* @__PURE__ */ A(ut, { size: "sm" }) })
2010
+ children: /* @__PURE__ */ j(R.Close, { render: /* @__PURE__ */ j(ut, { size: "sm" }) })
2007
2011
  })
2008
2012
  ]
2009
2013
  })
2010
2014
  });
2011
2015
  }
2012
- var yr = {
2016
+ var xr = {
2013
2017
  Skeleton: "_Skeleton_1ek0w_6",
2014
2018
  "skeleton-pulse": "_skeleton-pulse_1ek0w_1"
2015
2019
  };
2016
2020
  //#endregion
2017
- //#region src/components/feedback/skeleton.tsx
2018
- function br({ render: e, ref: t, className: n, ...r }) {
2021
+ //#region src/components/feedback/skeleton/skeleton.tsx
2022
+ function Sr({ render: e, ref: t, className: n, ...r }) {
2019
2023
  return N({
2020
2024
  render: e,
2021
2025
  ref: t,
@@ -2023,70 +2027,70 @@ function br({ render: e, ref: t, className: n, ...r }) {
2023
2027
  props: {
2024
2028
  "aria-hidden": !0,
2025
2029
  ...r,
2026
- className: G(yr.Skeleton, n)({})
2030
+ className: G(xr.Skeleton, n)({})
2027
2031
  }
2028
2032
  });
2029
2033
  }
2030
- var xr = {
2034
+ var Cr = {
2031
2035
  AmountSlider: "_AmountSlider_1ccju_10",
2032
2036
  Label: "_Label_1ccju_21",
2033
2037
  Input: "_Input_1ccju_31",
2034
2038
  Slider: "_Slider_1ccju_83"
2035
- }, Sr = {
2039
+ }, wr = {
2036
2040
  Control: "_Control_1zreo_12",
2037
2041
  Track: "_Track_1zreo_56",
2038
2042
  Indicator: "_Indicator_1zreo_76",
2039
2043
  Thumb: "_Thumb_1zreo_92",
2040
2044
  Range: "_Range_1zreo_124",
2041
2045
  HelperText: "_HelperText_1zreo_136"
2042
- }, Cr = (e) => /* @__PURE__ */ A(k, { children: e.children });
2043
- function wr({ "aria-label": e, "aria-describedby": t }) {
2044
- return /* @__PURE__ */ A(B.Control, {
2045
- className: Sr.Control,
2046
- children: /* @__PURE__ */ j(B.Track, {
2047
- className: Sr.Track,
2048
- children: [/* @__PURE__ */ A(B.Indicator, { className: Sr.Indicator }), /* @__PURE__ */ A(B.Thumb, {
2049
- className: Sr.Thumb,
2046
+ }, Tr = (e) => /* @__PURE__ */ j(A, { children: e.children });
2047
+ function Er({ "aria-label": e, "aria-describedby": t }) {
2048
+ return /* @__PURE__ */ j(B.Control, {
2049
+ className: wr.Control,
2050
+ children: /* @__PURE__ */ M(B.Track, {
2051
+ className: wr.Track,
2052
+ children: [/* @__PURE__ */ j(B.Indicator, { className: wr.Indicator }), /* @__PURE__ */ j(B.Thumb, {
2053
+ className: wr.Thumb,
2050
2054
  "aria-label": e,
2051
2055
  "aria-describedby": t
2052
2056
  })]
2053
2057
  })
2054
2058
  });
2055
2059
  }
2056
- function Tr({ min: e, max: t, format: n, locale: r }) {
2060
+ function Dr({ min: e, max: t, format: n, locale: r }) {
2057
2061
  let i = m(() => new Intl.NumberFormat(r, n), [r, n]);
2058
- return /* @__PURE__ */ j("div", {
2059
- className: Sr.Range,
2062
+ return /* @__PURE__ */ M("div", {
2063
+ className: wr.Range,
2060
2064
  "aria-hidden": !0,
2061
- children: [/* @__PURE__ */ A("span", { children: i.format(e) }), /* @__PURE__ */ A("span", { children: i.format(t) })]
2065
+ children: [/* @__PURE__ */ j("span", { children: i.format(e) }), /* @__PURE__ */ j("span", { children: i.format(t) })]
2062
2066
  });
2063
2067
  }
2064
- function Er({ id: e, error: t, children: n }) {
2065
- return /* @__PURE__ */ A("p", {
2068
+ function Or({ id: e, error: t, children: n }) {
2069
+ return /* @__PURE__ */ j("p", {
2066
2070
  id: e,
2067
- className: Sr.HelperText,
2071
+ className: wr.HelperText,
2068
2072
  "data-invalid": t ? "" : void 0,
2069
2073
  role: t ? "alert" : void 0,
2070
2074
  children: n
2071
2075
  });
2072
2076
  }
2073
2077
  //#endregion
2074
- //#region src/components/form/amount-slider.tsx
2075
- function Dr({ label: e, min: t, max: n, step: r = 1, value: i, defaultValue: a, onValueChange: o, format: s, locale: c, name: l, disabled: u = !1, helperText: d, error: p = !1, className: m, ...h }) {
2078
+ //#region src/components/form/amount-slider/amount-slider.tsx
2079
+ function kr({ label: e, min: t, max: n, step: r = 1, value: i, defaultValue: a, onValueChange: o, format: s, locale: c, name: l, disabled: u = !1, helperText: d, error: p = !1, className: m, ...h }) {
2076
2080
  let _ = f(), v = f(), y = f(), b = d == null ? void 0 : y, [x, S] = g(a ?? t), C = i ?? x, [w, T] = g(), E = (e) => {
2077
2081
  T(void 0), i === void 0 && S(e), e !== C && o?.(e);
2078
2082
  };
2079
- return /* @__PURE__ */ j("div", {
2083
+ return /* @__PURE__ */ M("div", {
2080
2084
  ...h,
2081
- className: [xr.AmountSlider, m].filter(Boolean).join(" "),
2085
+ className: [Cr.AmountSlider, m].filter(Boolean).join(" "),
2082
2086
  children: [
2083
- /* @__PURE__ */ A("label", {
2087
+ /* @__PURE__ */ j("label", {
2084
2088
  id: _,
2085
2089
  htmlFor: v,
2086
- className: xr.Label,
2090
+ className: Cr.Label,
2087
2091
  children: e
2088
2092
  }),
2089
- /* @__PURE__ */ A(z.Root, {
2093
+ /* @__PURE__ */ j(z.Root, {
2090
2094
  id: v,
2091
2095
  name: l,
2092
2096
  value: w === void 0 ? C : w,
@@ -2103,17 +2107,17 @@ function Dr({ label: e, min: t, max: n, step: r = 1, value: i, defaultValue: a,
2103
2107
  format: s,
2104
2108
  locale: c,
2105
2109
  disabled: u,
2106
- children: /* @__PURE__ */ A(z.Input, {
2107
- className: xr.Input,
2110
+ children: /* @__PURE__ */ j(z.Input, {
2111
+ className: Cr.Input,
2108
2112
  "aria-describedby": b,
2109
2113
  "aria-invalid": p || void 0,
2110
2114
  "data-invalid": p ? "" : void 0
2111
2115
  })
2112
2116
  }),
2113
- /* @__PURE__ */ A(oe.Root, {
2117
+ /* @__PURE__ */ j(oe.Root, {
2114
2118
  invalid: p,
2115
- render: Cr,
2116
- children: /* @__PURE__ */ j(B.Root, {
2119
+ render: Tr,
2120
+ children: /* @__PURE__ */ M(B.Root, {
2117
2121
  value: C,
2118
2122
  onValueChange: E,
2119
2123
  min: t,
@@ -2123,8 +2127,8 @@ function Dr({ label: e, min: t, max: n, step: r = 1, value: i, defaultValue: a,
2123
2127
  locale: c,
2124
2128
  disabled: u,
2125
2129
  "aria-labelledby": _,
2126
- className: xr.Slider,
2127
- children: [/* @__PURE__ */ A(wr, { "aria-describedby": b }), /* @__PURE__ */ A(Tr, {
2130
+ className: Cr.Slider,
2131
+ children: [/* @__PURE__ */ j(Er, { "aria-describedby": b }), /* @__PURE__ */ j(Dr, {
2128
2132
  min: t,
2129
2133
  max: n,
2130
2134
  format: s,
@@ -2132,7 +2136,7 @@ function Dr({ label: e, min: t, max: n, step: r = 1, value: i, defaultValue: a,
2132
2136
  })]
2133
2137
  })
2134
2138
  }),
2135
- d != null && /* @__PURE__ */ A(Er, {
2139
+ d != null && /* @__PURE__ */ j(Or, {
2136
2140
  id: y,
2137
2141
  error: p,
2138
2142
  children: d
@@ -2153,53 +2157,53 @@ var q = {
2153
2157
  Chips: "_Chips_ghj8z_113",
2154
2158
  ChipInput: "_ChipInput_ghj8z_124",
2155
2159
  Popup: "_Popup_ghj8z_161"
2156
- }, Or = {
2160
+ }, Ar = {
2157
2161
  GroupLabel: "_GroupLabel_kcgec_11",
2158
2162
  HelperText: "_HelperText_kcgec_33"
2159
- }, kr = U({ moreInformation: {
2163
+ }, jr = U({ moreInformation: {
2160
2164
  no: "Mer informasjon",
2161
2165
  se: "Mer information",
2162
2166
  fi: "Lisätietoja",
2163
2167
  es: "Más información"
2164
- } }), Ar = ({ className: e }) => /* @__PURE__ */ A("span", {
2168
+ } }), Mr = ({ className: e }) => /* @__PURE__ */ j("span", {
2165
2169
  "aria-hidden": !0,
2166
2170
  className: e,
2167
2171
  children: " *"
2168
2172
  });
2169
- function jr({ id: e, error: t, warning: n = !1, children: r }) {
2170
- return /* @__PURE__ */ A("p", {
2173
+ function Nr({ id: e, error: t, warning: n = !1, children: r }) {
2174
+ return /* @__PURE__ */ j("p", {
2171
2175
  id: e,
2172
- className: Or.HelperText,
2176
+ className: Ar.HelperText,
2173
2177
  "data-invalid": t ? "" : void 0,
2174
2178
  "data-warning": n && !t ? "" : void 0,
2175
2179
  role: t ? "alert" : n ? "status" : void 0,
2176
2180
  children: r
2177
2181
  });
2178
2182
  }
2179
- function Mr(e, t, n) {
2183
+ function Pr(e, t, n) {
2180
2184
  let r = !n && t != null && t !== !1 && t !== "";
2181
2185
  return {
2182
2186
  content: r ? t : e,
2183
2187
  warning: r
2184
2188
  };
2185
2189
  }
2186
- function Nr({ id: e, htmlFor: t, tooltip: n, required: r, error: i, disabled: a, children: o }) {
2187
- let s = kr(), c = n != null && n !== !1;
2188
- return /* @__PURE__ */ j("div", {
2189
- className: Or.GroupLabel,
2190
+ function Fr({ id: e, htmlFor: t, tooltip: n, required: r, error: i, disabled: a, children: o }) {
2191
+ let s = jr(), c = n != null && n !== !1;
2192
+ return /* @__PURE__ */ M("div", {
2193
+ className: Ar.GroupLabel,
2190
2194
  "data-invalid": i ? "" : void 0,
2191
2195
  "data-disabled": a ? "" : void 0,
2192
- children: [/* @__PURE__ */ j("span", { children: [t == null ? /* @__PURE__ */ A("span", {
2196
+ children: [/* @__PURE__ */ M("span", { children: [t == null ? /* @__PURE__ */ j("span", {
2193
2197
  id: e,
2194
2198
  children: o
2195
- }) : /* @__PURE__ */ A("label", {
2199
+ }) : /* @__PURE__ */ j("label", {
2196
2200
  id: e,
2197
2201
  htmlFor: t,
2198
2202
  children: o
2199
- }), r && /* @__PURE__ */ A(Ar, {})] }), c && /* @__PURE__ */ A(It, {
2203
+ }), r && /* @__PURE__ */ j(Mr, {})] }), c && /* @__PURE__ */ j(It, {
2200
2204
  title: n,
2201
2205
  ariaLabel: s.moreInformation,
2202
- triggerIcon: /* @__PURE__ */ A(E, {
2206
+ triggerIcon: /* @__PURE__ */ j(E, {
2203
2207
  size: 16,
2204
2208
  "aria-hidden": !0
2205
2209
  }),
@@ -2221,7 +2225,7 @@ var J = {
2221
2225
  Item: "_Item_8mvp9_62",
2222
2226
  ItemText: "_ItemText_8mvp9_81",
2223
2227
  Empty: "_Empty_8mvp9_57"
2224
- }, Pr = U({
2228
+ }, Ir = U({
2225
2229
  noOptions: {
2226
2230
  no: "Ingen alternativer",
2227
2231
  se: "Inga alternativ",
@@ -2255,7 +2259,7 @@ var J = {
2255
2259
  });
2256
2260
  //#endregion
2257
2261
  //#region src/components/form/use-blur-outside.ts
2258
- function Fr(e, t) {
2262
+ function Lr(e, t) {
2259
2263
  return (n) => {
2260
2264
  e && window.setTimeout(() => {
2261
2265
  let r = document.activeElement;
@@ -2265,20 +2269,20 @@ function Fr(e, t) {
2265
2269
  }
2266
2270
  //#endregion
2267
2271
  //#region src/components/form/combo-field.tsx
2268
- var Ir = (...e) => e.filter(Boolean).join(" ") || void 0;
2269
- function Lr({ label: e, helperText: t, error: n = !1, warning: r, required: i = !1, disabled: a = !1, placeholder: o, onBlur: s, id: c, "aria-label": l, "aria-labelledby": u, "aria-describedby": d, className: p, style: m, ref: _, renderRoot: v, inputProps: y, chips: x, filled: S = !1, clearable: C = !1, trigger: w = !1, selectTextOnClick: T = !1, children: E, afterHelperText: ee }) {
2270
- let D = Pr(), O = f(), te = c ?? O, ne = f(), re = f(), M = e != null, N = Mr(t, r, n), P = N.content != null, F = x !== void 0, ae = h(null), I = h(null), L = Fr(s, [ae, I]), [R, oe] = g(!1), z = h(!1), B = /* @__PURE__ */ A(V.Input, {
2272
+ var Rr = (...e) => e.filter(Boolean).join(" ") || void 0;
2273
+ function zr({ label: e, helperText: t, error: n = !1, warning: r, required: i = !1, disabled: a = !1, placeholder: o, onBlur: s, id: c, "aria-label": l, "aria-labelledby": u, "aria-describedby": d, className: p, style: m, ref: _, renderRoot: v, inputProps: y, chips: x, filled: S = !1, clearable: C = !1, trigger: w = !1, selectTextOnClick: T = !1, children: E, afterHelperText: ee }) {
2274
+ let D = Ir(), O = f(), k = c ?? O, te = f(), ne = f(), ie = e != null, N = Pr(t, r, n), P = N.content != null, F = x !== void 0, ae = h(null), I = h(null), L = Lr(s, [ae, I]), [R, oe] = g(!1), z = h(!1), B = /* @__PURE__ */ j(V.Input, {
2271
2275
  ...y,
2272
2276
  ref: _,
2273
- id: te,
2277
+ id: k,
2274
2278
  disabled: a,
2275
2279
  required: i,
2276
2280
  placeholder: o || " ",
2277
2281
  "aria-label": l,
2278
- "aria-labelledby": u ?? (M ? ne : void 0),
2282
+ "aria-labelledby": u ?? (ie ? te : void 0),
2279
2283
  "aria-invalid": n || void 0,
2280
- "aria-describedby": Ir(P && re, d),
2281
- className: F ? q.ChipInput : Ir(J.Control, q.Control),
2284
+ "aria-describedby": Rr(P && ne, d),
2285
+ className: F ? q.ChipInput : Rr(J.Control, q.Control),
2282
2286
  onFocus: () => {
2283
2287
  z.current = !0;
2284
2288
  },
@@ -2290,67 +2294,67 @@ function Lr({ label: e, helperText: t, error: n = !1, warning: r, required: i =
2290
2294
  e.key === "Escape" && e.currentTarget.getAttribute("aria-expanded") !== "true" && e.preventBaseUIHandler();
2291
2295
  }
2292
2296
  });
2293
- return /* @__PURE__ */ j("div", {
2294
- className: Ir(J.Field, q.Field, p),
2297
+ return /* @__PURE__ */ M("div", {
2298
+ className: Rr(J.Field, q.Field, p),
2295
2299
  style: m,
2296
2300
  children: [
2297
- v(/* @__PURE__ */ j(k, { children: [/* @__PURE__ */ j(V.InputGroup, {
2301
+ v(/* @__PURE__ */ M(A, { children: [/* @__PURE__ */ M(V.InputGroup, {
2298
2302
  ref: ae,
2299
- className: Ir(J.Box, q.Box),
2303
+ className: Rr(J.Box, q.Box),
2300
2304
  "data-invalid": n ? "" : void 0,
2301
- "data-has-label": M ? "" : void 0,
2305
+ "data-has-label": ie ? "" : void 0,
2302
2306
  "data-filled": S ? "" : void 0,
2303
2307
  onBlur: L,
2304
2308
  onKeyDownCapture: () => oe(!0),
2305
2309
  onPointerDownCapture: () => oe(!1),
2306
- children: [/* @__PURE__ */ j("div", {
2307
- className: Ir(J.Inner, q.Inner),
2308
- children: [M && /* @__PURE__ */ j("label", {
2309
- id: ne,
2310
- htmlFor: te,
2311
- className: Ir(J.Label, q.Label),
2312
- children: [e, i && /* @__PURE__ */ A(Ar, {})]
2313
- }), F ? /* @__PURE__ */ j(V.Chips, {
2310
+ children: [/* @__PURE__ */ M("div", {
2311
+ className: Rr(J.Inner, q.Inner),
2312
+ children: [ie && /* @__PURE__ */ M("label", {
2313
+ id: te,
2314
+ htmlFor: k,
2315
+ className: Rr(J.Label, q.Label),
2316
+ children: [e, i && /* @__PURE__ */ j(Mr, {})]
2317
+ }), F ? /* @__PURE__ */ M(V.Chips, {
2314
2318
  className: q.Chips,
2315
2319
  children: [x, B]
2316
2320
  }) : B]
2317
- }), (C || w) && /* @__PURE__ */ j("div", {
2321
+ }), (C || w) && /* @__PURE__ */ M("div", {
2318
2322
  className: q.Buttons,
2319
- children: [C && /* @__PURE__ */ A(V.Clear, {
2320
- className: Ir(q.Button, q.Clear),
2323
+ children: [C && /* @__PURE__ */ j(V.Clear, {
2324
+ className: Rr(q.Button, q.Clear),
2321
2325
  "aria-label": D.clear,
2322
2326
  tabIndex: -1,
2323
- children: /* @__PURE__ */ A(ie, { "aria-hidden": !0 })
2324
- }), w && /* @__PURE__ */ A(V.Trigger, {
2325
- className: Ir(q.Button, q.Trigger),
2327
+ children: /* @__PURE__ */ j(re, { "aria-hidden": !0 })
2328
+ }), w && /* @__PURE__ */ j(V.Trigger, {
2329
+ className: Rr(q.Button, q.Trigger),
2326
2330
  tabIndex: -1,
2327
- render: (e, t) => /* @__PURE__ */ A("button", {
2331
+ render: (e, t) => /* @__PURE__ */ j("button", {
2328
2332
  ...e,
2329
2333
  role: void 0,
2330
2334
  "aria-haspopup": "listbox",
2331
2335
  "aria-required": void 0,
2332
2336
  "aria-label": t.open ? D.close : D.open
2333
2337
  }),
2334
- children: /* @__PURE__ */ A(b, { "aria-hidden": !0 })
2338
+ children: /* @__PURE__ */ j(b, { "aria-hidden": !0 })
2335
2339
  })]
2336
2340
  })]
2337
- }), /* @__PURE__ */ A(V.Portal, { children: /* @__PURE__ */ A(V.Positioner, {
2341
+ }), /* @__PURE__ */ j(V.Portal, { children: /* @__PURE__ */ j(V.Positioner, {
2338
2342
  anchor: ae,
2339
2343
  side: "bottom",
2340
2344
  align: "start",
2341
2345
  sideOffset: 0,
2342
2346
  className: Y.Positioner,
2343
- children: /* @__PURE__ */ A(V.Popup, {
2347
+ children: /* @__PURE__ */ j(V.Popup, {
2344
2348
  ref: I,
2345
- className: Ir(Y.Popup, q.Popup),
2349
+ className: Rr(Y.Popup, q.Popup),
2346
2350
  "data-keyboard": R ? "" : void 0,
2347
2351
  onBlur: L,
2348
2352
  onPointerDownCapture: () => oe(!1),
2349
2353
  children: E
2350
2354
  })
2351
2355
  }) })] })),
2352
- P && /* @__PURE__ */ A(jr, {
2353
- id: re,
2356
+ P && /* @__PURE__ */ j(Nr, {
2357
+ id: ne,
2354
2358
  error: n,
2355
2359
  warning: N.warning,
2356
2360
  children: N.content
@@ -2360,75 +2364,75 @@ function Lr({ label: e, helperText: t, error: n = !1, warning: r, required: i =
2360
2364
  });
2361
2365
  }
2362
2366
  //#endregion
2363
- //#region src/components/form/autocomplete.tsx
2364
- var Rr = (e, t) => e.value === t.value;
2365
- function zr({ noOptionsText: e, loading: t, isDisabled: n }) {
2366
- let r = Pr();
2367
- return /* @__PURE__ */ j(k, { children: [/* @__PURE__ */ A(V.Empty, {
2367
+ //#region src/components/form/autocomplete/autocomplete.tsx
2368
+ var Br = (e, t) => e.value === t.value;
2369
+ function Vr({ noOptionsText: e, loading: t, isDisabled: n }) {
2370
+ let r = Ir();
2371
+ return /* @__PURE__ */ M(A, { children: [/* @__PURE__ */ j(V.Empty, {
2368
2372
  className: Y.Empty,
2369
2373
  children: t ? r.loading : e ?? r.noOptions
2370
- }), /* @__PURE__ */ A(V.List, {
2374
+ }), /* @__PURE__ */ j(V.List, {
2371
2375
  className: Y.List,
2372
- children: (e) => /* @__PURE__ */ A(V.Item, {
2376
+ children: (e) => /* @__PURE__ */ j(V.Item, {
2373
2377
  value: e,
2374
2378
  disabled: e.disabled || n?.(e),
2375
2379
  className: Y.Item,
2376
- children: /* @__PURE__ */ A("span", {
2380
+ children: /* @__PURE__ */ j("span", {
2377
2381
  className: Y.ItemText,
2378
2382
  children: e.label
2379
2383
  })
2380
2384
  }, e.value)
2381
2385
  })] });
2382
2386
  }
2383
- function Br({ options: e, value: t, defaultValue: n = "", onValueChange: r, noOptionsText: i, loading: a, name: o, ...s }) {
2387
+ function Hr({ options: e, value: t, defaultValue: n = "", onValueChange: r, noOptionsText: i, loading: a, name: o, ...s }) {
2384
2388
  let c = t !== void 0, [l, u] = g(n), d = c ? t : l, f = e.find((e) => e.value === d) ?? null;
2385
- return /* @__PURE__ */ A(Lr, {
2389
+ return /* @__PURE__ */ j(zr, {
2386
2390
  ...s,
2387
2391
  clearable: !0,
2388
2392
  trigger: !0,
2389
2393
  selectTextOnClick: !0,
2390
- renderRoot: (t) => /* @__PURE__ */ A(V.Root, {
2394
+ renderRoot: (t) => /* @__PURE__ */ j(V.Root, {
2391
2395
  items: e,
2392
2396
  value: f,
2393
2397
  onValueChange: (e) => {
2394
2398
  let t = e?.value ?? "";
2395
2399
  t !== d && (c || u(t), r?.(t));
2396
2400
  },
2397
- isItemEqualToValue: Rr,
2401
+ isItemEqualToValue: Br,
2398
2402
  name: o,
2399
2403
  disabled: s.disabled,
2400
2404
  required: s.required,
2401
2405
  highlightItemOnHover: !1,
2402
2406
  children: t
2403
2407
  }),
2404
- children: /* @__PURE__ */ A(zr, {
2408
+ children: /* @__PURE__ */ j(Vr, {
2405
2409
  noOptionsText: i,
2406
2410
  loading: a
2407
2411
  })
2408
2412
  });
2409
2413
  }
2410
- function Vr({ options: e, value: t, defaultValue: n = [], onValueChange: r, min: i = 1, max: a, noOptionsText: o, loading: s, name: c, multiple: l, ...u }) {
2414
+ function Ur({ options: e, value: t, defaultValue: n = [], onValueChange: r, min: i = 1, max: a, noOptionsText: o, loading: s, name: c, multiple: l, ...u }) {
2411
2415
  let d = Ot(), f = t !== void 0, [p, m] = g(n), h = f ? t : p, [_, v] = g(""), y = h.map((t) => e.find((e) => e.value === t)).filter((e) => e !== void 0), b = a !== void 0 && h.length >= a, x = h.length <= i, S = !u.disabled && !x;
2412
- return /* @__PURE__ */ A(Lr, {
2416
+ return /* @__PURE__ */ j(zr, {
2413
2417
  ...u,
2414
2418
  clearable: i <= 0,
2415
2419
  trigger: !0,
2416
2420
  filled: y.length > 0,
2417
- chips: y.map((e) => /* @__PURE__ */ j(V.Chip, {
2421
+ chips: y.map((e) => /* @__PURE__ */ M(V.Chip, {
2418
2422
  className: Dt.Chip,
2419
2423
  "data-color": "primary",
2420
2424
  "data-variant": "filled",
2421
2425
  "data-size": "sm",
2422
- children: [/* @__PURE__ */ A("span", {
2426
+ children: [/* @__PURE__ */ j("span", {
2423
2427
  className: Dt.Label,
2424
2428
  children: e.label
2425
- }), S && /* @__PURE__ */ A(V.ChipRemove, {
2429
+ }), S && /* @__PURE__ */ j(V.ChipRemove, {
2426
2430
  className: Dt.Delete,
2427
2431
  "aria-label": `${d.remove} ${e.label}`,
2428
- children: /* @__PURE__ */ A(w, { "aria-hidden": !0 })
2432
+ children: /* @__PURE__ */ j(w, { "aria-hidden": !0 })
2429
2433
  })]
2430
2434
  }, e.value)),
2431
- renderRoot: (t) => /* @__PURE__ */ A(V.Root, {
2435
+ renderRoot: (t) => /* @__PURE__ */ j(V.Root, {
2432
2436
  multiple: !0,
2433
2437
  items: e,
2434
2438
  value: y,
@@ -2442,14 +2446,14 @@ function Vr({ options: e, value: t, defaultValue: n = [], onValueChange: r, min:
2442
2446
  let n = e.map((e) => e.value);
2443
2447
  n.length < i && n.length < h.length || a !== void 0 && n.length > a && n.length > h.length || (f || m(n), r?.(n));
2444
2448
  },
2445
- isItemEqualToValue: Rr,
2449
+ isItemEqualToValue: Br,
2446
2450
  name: c,
2447
2451
  disabled: u.disabled,
2448
2452
  required: u.required,
2449
2453
  highlightItemOnHover: !1,
2450
2454
  children: t
2451
2455
  }),
2452
- children: /* @__PURE__ */ A(zr, {
2456
+ children: /* @__PURE__ */ j(Vr, {
2453
2457
  noOptionsText: o,
2454
2458
  loading: s,
2455
2459
  isDisabled: (e) => {
@@ -2459,18 +2463,18 @@ function Vr({ options: e, value: t, defaultValue: n = [], onValueChange: r, min:
2459
2463
  })
2460
2464
  });
2461
2465
  }
2462
- function Hr(e) {
2463
- return e.multiple ? /* @__PURE__ */ A(Vr, { ...e }) : /* @__PURE__ */ A(Br, { ...e });
2466
+ function Wr(e) {
2467
+ return e.multiple ? /* @__PURE__ */ j(Ur, { ...e }) : /* @__PURE__ */ j(Hr, { ...e });
2464
2468
  }
2465
- var Ur = {
2469
+ var Gr = {
2466
2470
  Checkbox: "_Checkbox_1vdzh_7",
2467
2471
  Box: "_Box_1vdzh_13",
2468
2472
  Tick: "_Tick_1vdzh_55"
2469
- }, Wr = /* @__PURE__ */ A("svg", {
2470
- className: Ur.Tick,
2473
+ }, Kr = /* @__PURE__ */ j("svg", {
2474
+ className: Gr.Tick,
2471
2475
  viewBox: "0 0 24 24",
2472
2476
  "aria-hidden": !0,
2473
- children: /* @__PURE__ */ A("path", {
2477
+ children: /* @__PURE__ */ j("path", {
2474
2478
  d: "M5 12.5l4.5 4.5L19 7",
2475
2479
  fill: "none",
2476
2480
  stroke: "currentColor",
@@ -2479,20 +2483,20 @@ var Ur = {
2479
2483
  strokeLinejoin: "round",
2480
2484
  pathLength: 1
2481
2485
  })
2482
- }), Gr = ({ checked: e }) => /* @__PURE__ */ A("span", {
2483
- className: Ur.Box,
2486
+ }), qr = ({ checked: e }) => /* @__PURE__ */ j("span", {
2487
+ className: Gr.Box,
2484
2488
  "data-checked": e ? "" : void 0,
2485
2489
  "aria-hidden": !0,
2486
- children: Wr
2487
- }), Kr = {
2490
+ children: Kr
2491
+ }), Jr = {
2488
2492
  Row: "_Row_1uv3x_10",
2489
2493
  Asterisk: "_Asterisk_1uv3x_31",
2490
2494
  Text: "_Text_1uv3x_35"
2491
- }, qr = (...e) => e.filter(Boolean).join(" ") || void 0;
2492
- function Jr({ label: e, helperText: t, error: n = !1, checked: r, defaultChecked: i, onCheckedChange: a, name: o, value: s, disabled: c = !1, required: l = !1, id: u, onBlur: d, onFocus: p, "aria-label": m, "aria-labelledby": h, "aria-describedby": g, className: _, style: v, ref: y }) {
2493
- let b = f(), x = e != null, S = t != null, C = !x && !S, w = /* @__PURE__ */ A(se.Root, {
2495
+ }, Yr = (...e) => e.filter(Boolean).join(" ") || void 0;
2496
+ function Xr({ label: e, helperText: t, error: n = !1, checked: r, defaultChecked: i, onCheckedChange: a, name: o, value: s, disabled: c = !1, required: l = !1, id: u, onBlur: d, onFocus: p, "aria-label": m, "aria-labelledby": h, "aria-describedby": g, className: _, style: v, ref: y }) {
2497
+ let b = f(), x = e != null, S = t != null, C = !x && !S, w = /* @__PURE__ */ j(se.Root, {
2494
2498
  nativeButton: !0,
2495
- render: /* @__PURE__ */ A("button", { type: "button" }),
2499
+ render: /* @__PURE__ */ j("button", { type: "button" }),
2496
2500
  id: u,
2497
2501
  inputRef: y,
2498
2502
  checked: r,
@@ -2506,23 +2510,23 @@ function Jr({ label: e, helperText: t, error: n = !1, checked: r, defaultChecked
2506
2510
  onFocus: p,
2507
2511
  "aria-label": m,
2508
2512
  "aria-labelledby": h,
2509
- "aria-describedby": qr(S && b, g),
2513
+ "aria-describedby": Yr(S && b, g),
2510
2514
  "aria-invalid": n ? !0 : void 0,
2511
- className: C ? qr(Ur.Box, _) : Ur.Box,
2515
+ className: C ? Yr(Gr.Box, _) : Gr.Box,
2512
2516
  style: C ? v : void 0,
2513
- children: Wr
2517
+ children: Kr
2514
2518
  });
2515
- return C ? w : /* @__PURE__ */ j("div", {
2516
- className: qr(Ur.Checkbox, _),
2519
+ return C ? w : /* @__PURE__ */ M("div", {
2520
+ className: Yr(Gr.Checkbox, _),
2517
2521
  style: v,
2518
- children: [x ? /* @__PURE__ */ j("label", {
2519
- className: Kr.Row,
2522
+ children: [x ? /* @__PURE__ */ M("label", {
2523
+ className: Jr.Row,
2520
2524
  "data-invalid": n ? "" : void 0,
2521
- children: [w, /* @__PURE__ */ j("span", {
2522
- className: Kr.Text,
2523
- children: [e, l && /* @__PURE__ */ A(Ar, { className: Kr.Asterisk })]
2525
+ children: [w, /* @__PURE__ */ M("span", {
2526
+ className: Jr.Text,
2527
+ children: [e, l && /* @__PURE__ */ j(Mr, { className: Jr.Asterisk })]
2524
2528
  })]
2525
- }) : w, S && /* @__PURE__ */ A(jr, {
2529
+ }) : w, S && /* @__PURE__ */ j(Nr, {
2526
2530
  id: b,
2527
2531
  error: n,
2528
2532
  children: t
@@ -2537,7 +2541,7 @@ var X = () => ({ valid: !1 }), Z = (e) => ({
2537
2541
  });
2538
2542
  //#endregion
2539
2543
  //#region src/validation/national-id.ts
2540
- function Yr(e) {
2544
+ function Zr(e) {
2541
2545
  let t = 0, n = e.length % 2 == 0;
2542
2546
  for (let r of e) {
2543
2547
  let e = Number(r);
@@ -2545,14 +2549,14 @@ function Yr(e) {
2545
2549
  }
2546
2550
  return t % 10 == 0;
2547
2551
  }
2548
- function Xr(e) {
2552
+ function Qr(e) {
2549
2553
  let t = e.replace(/\D/g, "");
2550
2554
  if (t.length === 12 && (t = t.slice(2)), t.length !== 10) return !1;
2551
2555
  let n = Number(t.slice(2, 4)), r = Number(t.slice(4, 6));
2552
- return n < 1 || n > 12 || r < 1 || r > 31 ? !1 : Yr(t);
2556
+ return n < 1 || n > 12 || r < 1 || r > 31 ? !1 : Zr(t);
2553
2557
  }
2554
- var Zr = "0123456789ABCDEFHJKLMNPRSTUVWXY";
2555
- function Qr(e) {
2558
+ var $r = "0123456789ABCDEFHJKLMNPRSTUVWXY";
2559
+ function ei(e) {
2556
2560
  let t = e.replace(/\s/g, "").toUpperCase();
2557
2561
  if (!/^\d{6}[+\-A]\d{3}[0-9A-Y]$/.test(t)) return !1;
2558
2562
  let n = Number(t.slice(0, 2)), r = Number(t.slice(2, 4)), i = Number(t.slice(4, 6)), a = t[6], o = a === "+" ? 1800 : a === "-" ? 1900 : a === "A" ? 2e3 : null;
@@ -2560,9 +2564,9 @@ function Qr(e) {
2560
2564
  let s = o + i, c = new Date(s, r - 1, n);
2561
2565
  if (c.getFullYear() !== s || c.getMonth() !== r - 1 || c.getDate() !== n) return !1;
2562
2566
  let l = Number(`${t.slice(0, 6)}${t.slice(7, 10)}`);
2563
- return t[10] === Zr[l % 31];
2567
+ return t[10] === $r[l % 31];
2564
2568
  }
2565
- var $r = [
2569
+ var ti = [
2566
2570
  3,
2567
2571
  7,
2568
2572
  6,
@@ -2572,7 +2576,7 @@ var $r = [
2572
2576
  4,
2573
2577
  5,
2574
2578
  2
2575
- ], ei = [
2579
+ ], ni = [
2576
2580
  5,
2577
2581
  4,
2578
2582
  3,
@@ -2584,64 +2588,64 @@ var $r = [
2584
2588
  3,
2585
2589
  2
2586
2590
  ];
2587
- function ti(e, t) {
2591
+ function ri(e, t) {
2588
2592
  let n = t.reduce((t, n, r) => t + n * e[r], 0) % 11;
2589
2593
  return n === 0 ? 0 : 11 - n;
2590
2594
  }
2591
- function ni(e) {
2595
+ function ii(e) {
2592
2596
  let t = e.replace(/\D/g, "");
2593
2597
  if (t.length !== 11) return !1;
2594
2598
  let n = t.split("").map(Number), r = Number(t.slice(0, 2)), i = Number(t.slice(2, 4)), a = r > 40 ? r - 40 : r, o = i > 40 ? i - 40 : i;
2595
2599
  if (o < 1 || o > 12 || a < 1 || a > 31) return !1;
2596
- let s = ti(n.slice(0, 9), $r);
2600
+ let s = ri(n.slice(0, 9), ti);
2597
2601
  if (s === 11 || s !== n[9]) return !1;
2598
- let c = ti(n.slice(0, 10), ei);
2602
+ let c = ri(n.slice(0, 10), ni);
2599
2603
  return c !== 11 && c === n[10];
2600
2604
  }
2601
- var ri = "TRWAGMYFPDXBNJZSQVHLCKE", ii = {
2605
+ var ai = "TRWAGMYFPDXBNJZSQVHLCKE", oi = {
2602
2606
  X: "0",
2603
2607
  Y: "1",
2604
2608
  Z: "2"
2605
2609
  };
2606
- function ai(e) {
2610
+ function si(e) {
2607
2611
  let t = e.replace(/[\s-]/g, "").toUpperCase();
2608
2612
  if (!/^[XYZ]?\d{7,8}[A-Z]$/.test(t)) return !1;
2609
2613
  let n = t.slice(-1), r = t.slice(0, -1), i = r[0];
2610
- return i in ii && (r = ii[i] + r.slice(1)), r.length === 8 && ri[Number(r) % 23] === n;
2614
+ return i in oi && (r = oi[i] + r.slice(1)), r.length === 8 && ai[Number(r) % 23] === n;
2611
2615
  }
2612
- var oi = {
2613
- SE: Xr,
2614
- FI: Qr,
2615
- NO: ni,
2616
- ES: ai
2616
+ var ci = {
2617
+ SE: Qr,
2618
+ FI: ei,
2619
+ NO: ii,
2620
+ ES: si
2617
2621
  };
2618
- function si(e, t) {
2619
- return oi[e](t);
2622
+ function li(e, t) {
2623
+ return ci[e](t);
2620
2624
  }
2621
- function ci(e, t) {
2622
- return si(e, t) ? Z(t.replace(/[\s-]/g, "").toUpperCase()) : X();
2625
+ function ui(e, t) {
2626
+ return li(e, t) ? Z(t.replace(/[\s-]/g, "").toUpperCase()) : X();
2623
2627
  }
2624
- var li = {
2628
+ var di = {
2625
2629
  SE: 12,
2626
2630
  FI: 11,
2627
2631
  NO: 11,
2628
2632
  ES: 9
2629
- }, ui = /[‐-―−]/g, di = {
2633
+ }, fi = /[‐-―−]/g, pi = {
2630
2634
  SE: (e) => e.replace(/\D/g, ""),
2631
- FI: (e) => e.replace(ui, "-").toUpperCase().replace(/[^0-9A-Z+-]/g, ""),
2635
+ FI: (e) => e.replace(fi, "-").toUpperCase().replace(/[^0-9A-Z+-]/g, ""),
2632
2636
  NO: (e) => e.replace(/\D/g, ""),
2633
2637
  ES: (e) => e.toUpperCase().replace(/[^0-9A-Z]/g, "")
2634
2638
  };
2635
- function fi(e, t) {
2636
- return di[e](t);
2639
+ function mi(e, t) {
2640
+ return pi[e](t);
2637
2641
  }
2638
- function pi(e, t, n) {
2639
- let r = fi(e, t ?? ""), i = fi(e, n ?? "");
2640
- return r !== "" && r === i && si(e, r);
2642
+ function hi(e, t, n) {
2643
+ let r = mi(e, t ?? ""), i = mi(e, n ?? "");
2644
+ return r !== "" && r === i && li(e, r);
2641
2645
  }
2642
2646
  //#endregion
2643
2647
  //#region src/validation/mobile-patterns.ts
2644
- var mi = {
2648
+ var gi = {
2645
2649
  SE: "7[023689]\\d{7}",
2646
2650
  FI: "4946\\d{2,6}|(?:4[0-8]|50)\\d{4,8}",
2647
2651
  NO: "(?:4[015-9]|9\\d)\\d{6}",
@@ -2649,53 +2653,53 @@ var mi = {
2649
2653
  };
2650
2654
  //#endregion
2651
2655
  //#region src/validation/phone.ts
2652
- function hi(e, t) {
2656
+ function _i(e, t) {
2653
2657
  let n = t.replace(/\s/g, "");
2654
2658
  if (n === "") return X();
2655
2659
  let r = fe(n, e);
2656
2660
  return !r || !r.isValid() ? X() : Z(r.number);
2657
2661
  }
2658
- function gi(e, t) {
2659
- return hi(e, t).valid;
2662
+ function vi(e, t) {
2663
+ return _i(e, t).valid;
2660
2664
  }
2661
- var _i = Object.fromEntries(Object.entries(mi).map(([e, t]) => [e, RegExp(`^(?:${t})$`)]));
2662
- function vi(e) {
2663
- return Object.prototype.hasOwnProperty.call(mi, e);
2665
+ var yi = Object.fromEntries(Object.entries(gi).map(([e, t]) => [e, RegExp(`^(?:${t})$`)]));
2666
+ function bi(e) {
2667
+ return Object.prototype.hasOwnProperty.call(gi, e);
2664
2668
  }
2665
- function yi(e, t) {
2669
+ function xi(e, t) {
2666
2670
  let n = t.replace(/\s/g, "");
2667
2671
  if (n === "") return X();
2668
2672
  let r = fe(n, e);
2669
- return !r || !r.isValid() || r.country !== e || !_i[e].test(r.nationalNumber) ? X() : Z(r.number);
2673
+ return !r || !r.isValid() || r.country !== e || !yi[e].test(r.nationalNumber) ? X() : Z(r.number);
2670
2674
  }
2671
- function bi(e, t, n) {
2672
- let r = hi(e, t ?? ""), i = hi(e, n ?? "");
2675
+ function Si(e, t, n) {
2676
+ let r = _i(e, t ?? ""), i = _i(e, n ?? "");
2673
2677
  return r.valid && i.valid && r.normalized === i.normalized;
2674
2678
  }
2675
2679
  //#endregion
2676
2680
  //#region src/validation/modulo-97.ts
2677
- var xi = (e) => {
2681
+ var Ci = (e) => {
2678
2682
  let t = 0;
2679
2683
  for (let n of e) t = (t * 10 + Number(n)) % 97;
2680
2684
  return t;
2681
- }, Si = (e) => e.replace(/[A-Z]/g, (e) => String(e.charCodeAt(0) - 55)), Ci = {
2685
+ }, wi = (e) => e.replace(/[A-Z]/g, (e) => String(e.charCodeAt(0) - 55)), Ti = {
2682
2686
  SE: 24,
2683
2687
  FI: 18,
2684
2688
  NO: 15,
2685
2689
  ES: 24
2686
2690
  };
2687
- function wi(e) {
2691
+ function Ei(e) {
2688
2692
  return e.replace(/[\s-]/g, "").toUpperCase();
2689
2693
  }
2690
- function Ti(e, t) {
2691
- let n = wi(e);
2694
+ function Di(e, t) {
2695
+ let n = Ei(e);
2692
2696
  if (!/^[A-Z]{2}\d{2}[A-Z0-9]+$/.test(n)) return !1;
2693
2697
  let r = n.slice(0, 2);
2694
2698
  if (t && r !== t) return !1;
2695
- let i = Ci[r];
2696
- return i && n.length !== i ? !1 : xi(Si(n.slice(4) + n.slice(0, 4))) === 1;
2699
+ let i = Ti[r];
2700
+ return i && n.length !== i ? !1 : Ci(wi(n.slice(4) + n.slice(0, 4))) === 1;
2697
2701
  }
2698
- var Ei = [
2702
+ var Oi = [
2699
2703
  5,
2700
2704
  4,
2701
2705
  3,
@@ -2707,33 +2711,33 @@ var Ei = [
2707
2711
  3,
2708
2712
  2
2709
2713
  ];
2710
- function Di(e) {
2714
+ function ki(e) {
2711
2715
  let t = e.replace(/\D/g, "");
2712
2716
  if (t.length !== 11) return !1;
2713
- let n = t.split("").map(Number), r = Ei.reduce((e, t, r) => e + t * n[r], 0) % 11, i = r === 0 ? 0 : 11 - r;
2717
+ let n = t.split("").map(Number), r = Oi.reduce((e, t, r) => e + t * n[r], 0) % 11, i = r === 0 ? 0 : 11 - r;
2714
2718
  return i < 10 && i === n[10];
2715
2719
  }
2716
- function Oi(e) {
2720
+ function Ai(e) {
2717
2721
  let t = e.replace(/\D/g, "");
2718
2722
  return t.length >= 10 && t.length <= 15;
2719
2723
  }
2720
- function ki(e, t) {
2721
- let n = wi(t), r = /^[A-Z]{2}\d{2}/.test(n);
2724
+ function ji(e, t) {
2725
+ let n = Ei(t), r = /^[A-Z]{2}\d{2}/.test(n);
2722
2726
  switch (e) {
2723
2727
  case "FI":
2724
- case "ES": return Ti(n, e) ? Z(n) : X();
2725
- case "NO": return r ? Ti(n, "NO") ? Z(n) : X() : Di(n) ? Z(n.replace(/\D/g, "")) : X();
2726
- case "SE": return r ? Ti(n, "SE") ? Z(n) : X() : Oi(n) ? Z(n.replace(/\D/g, "")) : X();
2728
+ case "ES": return Di(n, e) ? Z(n) : X();
2729
+ case "NO": return r ? Di(n, "NO") ? Z(n) : X() : ki(n) ? Z(n.replace(/\D/g, "")) : X();
2730
+ case "SE": return r ? Di(n, "SE") ? Z(n) : X() : Ai(n) ? Z(n.replace(/\D/g, "")) : X();
2727
2731
  }
2728
2732
  }
2729
- function Ai(e, t) {
2730
- return ki(e, t).valid;
2733
+ function Mi(e, t) {
2734
+ return ji(e, t).valid;
2731
2735
  }
2732
2736
  //#endregion
2733
2737
  //#region src/validation/reference-number.ts
2734
- var ji = (e) => e.replace(/\s/g, "").toUpperCase();
2735
- function Mi(e) {
2736
- let t = ji(e);
2738
+ var Ni = (e) => e.replace(/\s/g, "").toUpperCase();
2739
+ function Pi(e) {
2740
+ let t = Ni(e);
2737
2741
  if (!/^[1-9]\d{3,19}$/.test(t)) return !1;
2738
2742
  let n = t.slice(0, -1), r = Number(t.at(-1)), i = [
2739
2743
  7,
@@ -2743,20 +2747,20 @@ function Mi(e) {
2743
2747
  for (let e = n.length - 1, t = 0; e >= 0; e--) a += Number(n[e]) * i[t % i.length], t++;
2744
2748
  return (10 - a % 10) % 10 === r;
2745
2749
  }
2746
- function Ni(e) {
2747
- let t = ji(e);
2748
- return /^RF\d{2}[1-9]\d{3,19}$/.test(t) ? xi(`${t.slice(4)}2715${t.slice(2, 4)}`) === 1 : !1;
2750
+ function Fi(e) {
2751
+ let t = Ni(e);
2752
+ return /^RF\d{2}[1-9]\d{3,19}$/.test(t) ? Ci(`${t.slice(4)}2715${t.slice(2, 4)}`) === 1 : !1;
2749
2753
  }
2750
- function Pi(e) {
2751
- let t = ji(e);
2752
- return Mi(t) || Ni(t) ? Z(t) : X();
2754
+ function Ii(e) {
2755
+ let t = Ni(e);
2756
+ return Pi(t) || Fi(t) ? Z(t) : X();
2753
2757
  }
2754
- function Fi(e) {
2755
- return Pi(e).valid;
2758
+ function Li(e) {
2759
+ return Ii(e).valid;
2756
2760
  }
2757
2761
  //#endregion
2758
2762
  //#region src/validation/email.ts
2759
- var Ii = /^[a-zA-Z0-9.!#$%&'*+/=?^_`{|}~-]+@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)+$/, Li = [
2763
+ var Ri = /^[a-zA-Z0-9.!#$%&'*+/=?^_`{|}~-]+@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)+$/, zi = [
2760
2764
  "gmail.com",
2761
2765
  "outlook.com",
2762
2766
  "hotmail.com",
@@ -2783,26 +2787,26 @@ var Ii = /^[a-zA-Z0-9.!#$%&'*+/=?^_`{|}~-]+@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-z
2783
2787
  "yahoo.se",
2784
2788
  "yahoo.no"
2785
2789
  ];
2786
- function Ri(e) {
2790
+ function Bi(e) {
2787
2791
  let t = e.trim();
2788
- if (!Ii.test(t)) return X();
2792
+ if (!Ri.test(t)) return X();
2789
2793
  let n = t.lastIndexOf("@");
2790
2794
  return n >= 0 && t.slice(n + 1).toLowerCase().endsWith(".con") ? X() : Z(t.toLowerCase());
2791
2795
  }
2792
- function zi(e) {
2793
- return Ri(e).valid;
2796
+ function Vi(e) {
2797
+ return Bi(e).valid;
2794
2798
  }
2795
- function Bi(e, t = Li) {
2799
+ function Hi(e, t = zi) {
2796
2800
  let n = e.indexOf("@");
2797
2801
  if (n < 1) return [];
2798
2802
  let r = e.slice(0, n), i = e.slice(n + 1).toLowerCase();
2799
2803
  return i.includes(".") && t.includes(i) ? [] : t.filter((e) => e.startsWith(i)).map((e) => `${r}@${e}`);
2800
2804
  }
2801
- function Vi(e, t) {
2805
+ function Ui(e, t) {
2802
2806
  let n = (e ?? "").trim().toLowerCase(), r = (t ?? "").trim().toLowerCase();
2803
2807
  return n !== "" && n === r;
2804
2808
  }
2805
- var Hi = [
2809
+ var Wi = [
2806
2810
  "mail.com",
2807
2811
  "email.com",
2808
2812
  "ymail.com",
@@ -2825,8 +2829,8 @@ var Hi = [
2825
2829
  "telenor.com",
2826
2830
  "spray.se",
2827
2831
  "bredband.net"
2828
- ], Ui = /* @__PURE__ */ "com,net,org,se,no,fi,es,nu,dk,is,ax,fo,gl,de,eu,uk,co.uk,fr,it,nl,be,at,ch,pl,ee,lv,lt,pt,ie,us,ca,info,biz,edu,gov,io,me,app,dev".split(",");
2829
- function Wi(e, t) {
2832
+ ], Gi = /* @__PURE__ */ "com,net,org,se,no,fi,es,nu,dk,is,ax,fo,gl,de,eu,uk,co.uk,fr,it,nl,be,at,ch,pl,ee,lv,lt,pt,ie,us,ca,info,biz,edu,gov,io,me,app,dev".split(",");
2833
+ function Ki(e, t) {
2830
2834
  let n = Array.from({ length: e.length + 1 }, (e, n) => Array.from({ length: t.length + 1 }, (e, t) => n === 0 ? t : t === 0 ? n : 0));
2831
2835
  for (let r = 1; r <= e.length; r++) for (let i = 1; i <= t.length; i++) {
2832
2836
  let a = e[r - 1] === t[i - 1] ? 0 : 1;
@@ -2834,10 +2838,10 @@ function Wi(e, t) {
2834
2838
  }
2835
2839
  return n[e.length][t.length];
2836
2840
  }
2837
- function Gi(e, t, n) {
2841
+ function qi(e, t, n) {
2838
2842
  let r, i = n + 1, a = !1;
2839
2843
  for (let n of t) {
2840
- let t = Wi(e, n);
2844
+ let t = Ki(e, n);
2841
2845
  t < i ? [r, i, a] = [
2842
2846
  n,
2843
2847
  t,
@@ -2846,33 +2850,33 @@ function Gi(e, t, n) {
2846
2850
  }
2847
2851
  return a ? void 0 : r;
2848
2852
  }
2849
- function Ki(e, t = Li) {
2853
+ function Ji(e, t = zi) {
2850
2854
  let n = e.trim(), r = n.lastIndexOf("@");
2851
2855
  if (r < 1) return;
2852
2856
  let i = n.slice(0, r), a = n.slice(r + 1).toLowerCase().replace(/\.+$/, "");
2853
2857
  if (!/^[a-z0-9-]+(\.[a-z0-9-]+)*$/.test(a)) return;
2854
- let o = [...t, ...Hi];
2858
+ let o = [...t, ...Wi];
2855
2859
  if (o.includes(a)) return;
2856
- let s = (e) => e && e !== a && !Hi.includes(e) ? `${i}@${e}` : void 0, c = (e) => e.slice(0, e.indexOf(".")), l = (e) => e.slice(e.indexOf(".") + 1), u = a.indexOf(".");
2860
+ let s = (e) => e && e !== a && !Wi.includes(e) ? `${i}@${e}` : void 0, c = (e) => e.slice(0, e.indexOf(".")), l = (e) => e.slice(e.indexOf(".") + 1), u = a.indexOf(".");
2857
2861
  if (u < 0) {
2858
- let e = Gi(a, [...new Set(t.map(c))], a.length >= 6 ? 2 : 1);
2862
+ let e = qi(a, [...new Set(t.map(c))], a.length >= 6 ? 2 : 1);
2859
2863
  return s(t.find((t) => c(t) === e));
2860
2864
  }
2861
2865
  let d = a.slice(0, u), f = a.slice(u + 1);
2862
- if (Ui.includes(f)) return s(Gi(a, o.filter((e) => l(e) === f), 1));
2863
- let p = Gi(a, o, a.length >= 9 ? 2 : 1);
2866
+ if (Gi.includes(f)) return s(qi(a, o.filter((e) => l(e) === f), 1));
2867
+ let p = qi(a, o, a.length >= 9 ? 2 : 1);
2864
2868
  if (p) return s(p);
2865
- let m = Gi(f, Ui, 1);
2869
+ let m = qi(f, Gi, 1);
2866
2870
  return m ? s(`${d}.${m}`) : void 0;
2867
2871
  }
2868
- var qi = {
2872
+ var Yi = {
2869
2873
  Link: "_Link_1osbi_7",
2870
2874
  Text: "_Text_1osbi_87",
2871
2875
  Arrow: "_Arrow_1osbi_91"
2872
2876
  };
2873
2877
  //#endregion
2874
- //#region src/components/typography/link.tsx
2875
- function Ji({ color: e = "secondary", arrow: t = !1, render: n, ref: r, className: i, ...a }) {
2878
+ //#region src/components/typography/link/link.tsx
2879
+ function Xi({ color: e = "secondary", arrow: t = !1, render: n, ref: r, className: i, ...a }) {
2876
2880
  return N({
2877
2881
  render: n,
2878
2882
  ref: r,
@@ -2881,36 +2885,36 @@ function Ji({ color: e = "secondary", arrow: t = !1, render: n, ref: r, classNam
2881
2885
  ...a,
2882
2886
  "data-color": e,
2883
2887
  "data-arrow": t || void 0,
2884
- className: G(qi.Link, i)({}),
2885
- ...t && { children: /* @__PURE__ */ j(k, { children: [/* @__PURE__ */ A("span", {
2886
- className: qi.Text,
2888
+ className: G(Yi.Link, i)({}),
2889
+ ...t && { children: /* @__PURE__ */ M(A, { children: [/* @__PURE__ */ j("span", {
2890
+ className: Yi.Text,
2887
2891
  children: a.children
2888
- }), /* @__PURE__ */ A(x, {
2892
+ }), /* @__PURE__ */ j(x, {
2889
2893
  "aria-hidden": !0,
2890
- className: qi.Arrow
2894
+ className: Yi.Arrow
2891
2895
  })] }) }
2892
2896
  }
2893
2897
  });
2894
2898
  }
2895
- var Yi = {
2899
+ var Zi = {
2896
2900
  Root: "_Root_1vl2r_9",
2897
2901
  Item: "_Item_1vl2r_19",
2898
2902
  Marker: "_Marker_1vl2r_28",
2899
2903
  Content: "_Content_1vl2r_60"
2900
- }, Xi = /* @__PURE__ */ Se({
2901
- Item: () => ta,
2902
- Root: () => ea
2903
- }), Zi = s(null), Qi = () => {
2904
- let e = u(Zi);
2904
+ }, Qi = /* @__PURE__ */ Se({
2905
+ Item: () => ra,
2906
+ Root: () => na
2907
+ }), $i = s(null), ea = () => {
2908
+ let e = u($i);
2905
2909
  if (!e) throw Error("List parts must be used within <List.Root>");
2906
2910
  return e;
2907
- }, $i = (...e) => e.filter(Boolean).join(" "), ea = ({ variant: e = "ul", gap: t = 1.5, className: n, style: r, children: i, ...a }) => {
2911
+ }, ta = (...e) => e.filter(Boolean).join(" "), na = ({ variant: e = "ul", gap: t = 1.5, className: n, style: r, children: i, ...a }) => {
2908
2912
  let o = e;
2909
- return /* @__PURE__ */ A(Zi.Provider, {
2913
+ return /* @__PURE__ */ j($i.Provider, {
2910
2914
  value: { variant: e },
2911
- children: /* @__PURE__ */ A(o, {
2915
+ children: /* @__PURE__ */ j(o, {
2912
2916
  ...a,
2913
- className: $i(Yi.Root, n),
2917
+ className: ta(Zi.Root, n),
2914
2918
  style: {
2915
2919
  "--_gap": t,
2916
2920
  ...r
@@ -2918,54 +2922,54 @@ var Yi = {
2918
2922
  children: i
2919
2923
  })
2920
2924
  });
2921
- }, ta = ({ icon: e, gap: t = 1.5, className: n, style: r, children: i, ...a }) => {
2922
- let { variant: o } = Qi(), s = e ? "icon" : o === "ol" ? "number" : "dot";
2923
- return /* @__PURE__ */ j("li", {
2925
+ }, ra = ({ icon: e, gap: t = 1.5, className: n, style: r, children: i, ...a }) => {
2926
+ let { variant: o } = ea(), s = e ? "icon" : o === "ol" ? "number" : "dot";
2927
+ return /* @__PURE__ */ M("li", {
2924
2928
  ...a,
2925
- className: $i(Yi.Item, n),
2929
+ className: ta(Zi.Item, n),
2926
2930
  style: {
2927
2931
  "--_gap": e ? t : 0,
2928
2932
  ...r
2929
2933
  },
2930
- children: [/* @__PURE__ */ A("span", {
2931
- className: Yi.Marker,
2934
+ children: [/* @__PURE__ */ j("span", {
2935
+ className: Zi.Marker,
2932
2936
  "data-marker": s,
2933
2937
  children: e
2934
- }), /* @__PURE__ */ A("div", {
2935
- className: Yi.Content,
2936
- children: typeof i == "string" ? /* @__PURE__ */ A(bt, { children: i }) : i
2938
+ }), /* @__PURE__ */ j("div", {
2939
+ className: Zi.Content,
2940
+ children: typeof i == "string" ? /* @__PURE__ */ j(bt, { children: i }) : i
2937
2941
  })]
2938
2942
  });
2939
- }, na = { Suggestion: "_Suggestion_1nncz_7" };
2943
+ }, ia = { Suggestion: "_Suggestion_1nncz_7" };
2940
2944
  //#endregion
2941
- //#region src/components/form/email-input.tsx
2942
- function ra({ value: e, defaultValue: t = "", onValueChange: n, domains: r = Li, maxSuggestions: i = 6, autoComplete: a = "email", suggestCorrection: o = !0, name: s, onBlur: c, ref: l, ...u }) {
2943
- let d = ia(), f = e !== void 0, [p, _] = g(t), v = f ? e : p, y = h(null), b = (e) => {
2945
+ //#region src/components/form/email-input/email-input.tsx
2946
+ function aa({ value: e, defaultValue: t = "", onValueChange: n, domains: r = zi, maxSuggestions: i = 6, autoComplete: a = "email", suggestCorrection: o = !0, name: s, onBlur: c, ref: l, ...u }) {
2947
+ let d = oa(), f = e !== void 0, [p, _] = g(t), v = f ? e : p, y = h(null), b = (e) => {
2944
2948
  if (y.current = e, typeof l == "function") return l(e);
2945
2949
  l && (l.current = e);
2946
2950
  }, [x, S] = g(), C = o && !u.disabled ? x : void 0, w = (e) => {
2947
2951
  f || _(e), S(void 0), n?.(e);
2948
2952
  }, T = () => {
2949
2953
  x != null && (w(x), y.current?.focus());
2950
- }, [E, ee] = g(!1), D = m(() => Bi(v, r).slice(0, i), [
2954
+ }, [E, ee] = g(!1), D = m(() => Hi(v, r).slice(0, i), [
2951
2955
  v,
2952
2956
  r,
2953
2957
  i
2954
2958
  ]);
2955
- return /* @__PURE__ */ A(Lr, {
2959
+ return /* @__PURE__ */ j(zr, {
2956
2960
  ...u,
2957
2961
  ref: b,
2958
2962
  onBlur: (e) => {
2959
- o && S(Ki(v, r)), c?.(e);
2963
+ o && S(Ji(v, r)), c?.(e);
2960
2964
  },
2961
- afterHelperText: o && /* @__PURE__ */ A("div", {
2965
+ afterHelperText: o && /* @__PURE__ */ j("div", {
2962
2966
  role: "status",
2963
- className: na.Suggestion,
2964
- children: C != null && /* @__PURE__ */ j("p", { children: [
2967
+ className: ia.Suggestion,
2968
+ children: C != null && /* @__PURE__ */ M("p", { children: [
2965
2969
  d.didYouMean,
2966
2970
  " ",
2967
- /* @__PURE__ */ A(Ji, {
2968
- render: /* @__PURE__ */ A("button", { type: "button" }),
2971
+ /* @__PURE__ */ j(Xi, {
2972
+ render: /* @__PURE__ */ j("button", { type: "button" }),
2969
2973
  color: "primary",
2970
2974
  "aria-label": `${d.use} ${C}`,
2971
2975
  onClick: T,
@@ -2982,7 +2986,7 @@ function ra({ value: e, defaultValue: t = "", onValueChange: n, domains: r = Li,
2982
2986
  autoCapitalize: "none",
2983
2987
  spellCheck: !1
2984
2988
  },
2985
- renderRoot: (e) => /* @__PURE__ */ A(ce.Root, {
2989
+ renderRoot: (e) => /* @__PURE__ */ j(ce.Root, {
2986
2990
  items: D,
2987
2991
  filter: null,
2988
2992
  open: E && D.length > 0,
@@ -2994,12 +2998,12 @@ function ra({ value: e, defaultValue: t = "", onValueChange: n, domains: r = Li,
2994
2998
  highlightItemOnHover: !1,
2995
2999
  children: e
2996
3000
  }),
2997
- children: /* @__PURE__ */ A(ce.List, {
3001
+ children: /* @__PURE__ */ j(ce.List, {
2998
3002
  className: Y.List,
2999
- children: (e) => /* @__PURE__ */ A(ce.Item, {
3003
+ children: (e) => /* @__PURE__ */ j(ce.Item, {
3000
3004
  value: e,
3001
3005
  className: Y.Item,
3002
- children: /* @__PURE__ */ A("span", {
3006
+ children: /* @__PURE__ */ j("span", {
3003
3007
  className: Y.ItemText,
3004
3008
  children: e
3005
3009
  })
@@ -3007,7 +3011,7 @@ function ra({ value: e, defaultValue: t = "", onValueChange: n, domains: r = Li,
3007
3011
  })
3008
3012
  });
3009
3013
  }
3010
- var ia = U({
3014
+ var oa = U({
3011
3015
  didYouMean: {
3012
3016
  no: "Mente du",
3013
3017
  se: "Menade du",
@@ -3020,8 +3024,8 @@ var ia = U({
3020
3024
  fi: "Käytä",
3021
3025
  es: "Usar"
3022
3026
  }
3023
- }), aa = (...e) => e.filter(Boolean).join(" ") || void 0, oa = typeof document > "u" ? d : p;
3024
- function sa(e, t) {
3027
+ }), sa = (...e) => e.filter(Boolean).join(" ") || void 0, ca = typeof document > "u" ? d : p;
3028
+ function la(e, t) {
3025
3029
  let n = h(null), r = () => {
3026
3030
  let e = n.current;
3027
3031
  if (!e) return;
@@ -3029,7 +3033,7 @@ function sa(e, t) {
3029
3033
  let r = getComputedStyle(e), i = t == null ? Infinity : parseFloat(r.lineHeight) * t + parseFloat(r.paddingTop) + parseFloat(r.paddingBottom), a = e.scrollHeight;
3030
3034
  e.style.height = `${Math.min(a, i)}px`, e.style.overflowY = a > i ? "auto" : "hidden";
3031
3035
  };
3032
- return oa(() => {
3036
+ return ca(() => {
3033
3037
  e && r();
3034
3038
  }), d(() => {
3035
3039
  let t = n.current;
@@ -3041,16 +3045,16 @@ function sa(e, t) {
3041
3045
  };
3042
3046
  }, [e, t]), n;
3043
3047
  }
3044
- function ca({ label: e, labelPlacement: t = "inside", tooltip: n, helperText: r, error: i = !1, warning: a, value: o, defaultValue: s, onValueChange: c, startAdornment: l, endAdornment: u, multiline: d = !1, rows: p, minRows: m, maxRows: h, className: g, style: _, ref: v, id: y, disabled: b = !1, required: x = !1, placeholder: S, "aria-describedby": C, ...w }) {
3045
- let T = f(), E = y ?? T, ee = f(), D = f(), O = e != null, te = O && t === "outside", ne = Mr(r, a, i), re = ne.content != null, ie = sa(d && p == null, h), k = (e) => {
3046
- if (ie.current = e, typeof v == "function") return v(e);
3048
+ function ua({ label: e, labelPlacement: t = "inside", tooltip: n, helperText: r, error: i = !1, warning: a, value: o, defaultValue: s, onValueChange: c, startAdornment: l, endAdornment: u, multiline: d = !1, rows: p, minRows: m, maxRows: h, className: g, style: _, ref: v, id: y, disabled: b = !1, required: x = !1, placeholder: S, "aria-describedby": C, ...w }) {
3049
+ let T = f(), E = y ?? T, ee = f(), D = f(), O = e != null, k = O && t === "outside", te = Pr(r, a, i), ne = te.content != null, re = la(d && p == null, h), A = (e) => {
3050
+ if (re.current = e, typeof v == "function") return v(e);
3047
3051
  v && (v.current = e);
3048
3052
  };
3049
- return /* @__PURE__ */ j("div", {
3050
- className: aa(J.Field, g),
3053
+ return /* @__PURE__ */ M("div", {
3054
+ className: sa(J.Field, g),
3051
3055
  style: _,
3052
3056
  children: [
3053
- te && /* @__PURE__ */ A(Nr, {
3057
+ k && /* @__PURE__ */ j(Fr, {
3054
3058
  id: ee,
3055
3059
  htmlFor: E,
3056
3060
  tooltip: n,
@@ -3059,30 +3063,30 @@ function ca({ label: e, labelPlacement: t = "inside", tooltip: n, helperText: r,
3059
3063
  disabled: b,
3060
3064
  children: e
3061
3065
  }),
3062
- /* @__PURE__ */ j("div", {
3066
+ /* @__PURE__ */ M("div", {
3063
3067
  className: J.Box,
3064
3068
  "data-invalid": i ? "" : void 0,
3065
3069
  "data-disabled": b ? "" : void 0,
3066
- "data-has-label": O && !te ? "" : void 0,
3067
- "data-label-outside": te ? "" : void 0,
3070
+ "data-has-label": O && !k ? "" : void 0,
3071
+ "data-label-outside": k ? "" : void 0,
3068
3072
  onClick: (e) => {
3069
3073
  e.target.closest("button, a, input, textarea, select, [tabindex]") || e.currentTarget.querySelector("input, textarea")?.focus();
3070
3074
  },
3071
3075
  children: [
3072
- l != null && /* @__PURE__ */ A("span", {
3076
+ l != null && /* @__PURE__ */ j("span", {
3073
3077
  className: J.Adornment,
3074
3078
  "data-position": "start",
3075
3079
  children: l
3076
3080
  }),
3077
- /* @__PURE__ */ j("div", {
3081
+ /* @__PURE__ */ M("div", {
3078
3082
  className: J.Inner,
3079
- children: [O && !te && /* @__PURE__ */ j("label", {
3083
+ children: [O && !k && /* @__PURE__ */ M("label", {
3080
3084
  htmlFor: E,
3081
3085
  className: J.Label,
3082
- children: [e, x && /* @__PURE__ */ A(Ar, {})]
3083
- }), /* @__PURE__ */ A(pe, {
3086
+ children: [e, x && /* @__PURE__ */ j(Mr, {})]
3087
+ }), /* @__PURE__ */ j(pe, {
3084
3088
  ...w,
3085
- ref: k,
3089
+ ref: A,
3086
3090
  id: E,
3087
3091
  value: o,
3088
3092
  defaultValue: s,
@@ -3091,183 +3095,206 @@ function ca({ label: e, labelPlacement: t = "inside", tooltip: n, helperText: r,
3091
3095
  required: x,
3092
3096
  placeholder: S || " ",
3093
3097
  "aria-invalid": i,
3094
- "aria-describedby": aa(re && D, C),
3098
+ "aria-describedby": sa(ne && D, C),
3095
3099
  className: J.Control,
3096
- render: d ? /* @__PURE__ */ A("textarea", { rows: p ?? m ?? 1 }) : void 0
3100
+ render: d ? /* @__PURE__ */ j("textarea", { rows: p ?? m ?? 1 }) : void 0
3097
3101
  })]
3098
3102
  }),
3099
- u != null && /* @__PURE__ */ A("span", {
3103
+ u != null && /* @__PURE__ */ j("span", {
3100
3104
  className: J.Adornment,
3101
3105
  "data-position": "end",
3102
3106
  children: u
3103
3107
  })
3104
3108
  ]
3105
3109
  }),
3106
- re && /* @__PURE__ */ A(jr, {
3110
+ ne && /* @__PURE__ */ j(Nr, {
3107
3111
  id: D,
3108
3112
  error: i,
3109
- warning: ne.warning,
3110
- children: ne.content
3113
+ warning: te.warning,
3114
+ children: te.content
3111
3115
  })
3112
3116
  ]
3113
3117
  });
3114
3118
  }
3115
3119
  var Q = {
3116
- Field: "_Field_13rno_13",
3117
- Box: "_Box_13rno_16",
3118
- Trigger: "_Trigger_13rno_44",
3119
- Inner: "_Inner_13rno_63",
3120
- Display: "_Display_13rno_68",
3121
- Placeholder: "_Placeholder_13rno_78",
3122
- Label: "_Label_13rno_92",
3123
- Icon: "_Icon_13rno_137",
3124
- EndAdornment: "_EndAdornment_13rno_155",
3125
- SrOnly: "_SrOnly_13rno_165",
3126
- Chips: "_Chips_13rno_178",
3127
- ChipRow: "_ChipRow_13rno_184",
3128
- ChipMeasure: "_ChipMeasure_13rno_195"
3129
- }, la = (...e) => e.filter(Boolean).join(" ") || void 0;
3130
- function ua({ side: e, onSideChange: t, ...n }) {
3120
+ Field: "_Field_5ah93_13",
3121
+ Box: "_Box_5ah93_16",
3122
+ Trigger: "_Trigger_5ah93_44",
3123
+ Inner: "_Inner_5ah93_63",
3124
+ Display: "_Display_5ah93_68",
3125
+ Placeholder: "_Placeholder_5ah93_78",
3126
+ Label: "_Label_5ah93_92",
3127
+ Icon: "_Icon_5ah93_137",
3128
+ EndAdornment: "_EndAdornment_5ah93_155",
3129
+ SrOnly: "_SrOnly_5ah93_165",
3130
+ OptionIcon: "_OptionIcon_5ah93_201",
3131
+ Chips: "_Chips_5ah93_216",
3132
+ ChipRow: "_ChipRow_5ah93_222",
3133
+ ChipMeasure: "_ChipMeasure_5ah93_233"
3134
+ }, da = (...e) => e.filter(Boolean).join(" ") || void 0;
3135
+ function fa({ side: e, onSideChange: t, ...n }) {
3131
3136
  return d(() => {
3132
3137
  t(e === "top" ? "top" : "bottom");
3133
- }, [e, t]), /* @__PURE__ */ A("div", { ...n });
3138
+ }, [e, t]), /* @__PURE__ */ j("div", { ...n });
3134
3139
  }
3135
- function da({ label: e, helperText: t, error: n = !1, required: r = !1, disabled: i = !1, placeholder: a, startAdornment: o, endAdornment: s, open: c, onOpenChange: l, onBlur: u, name: d, id: p, "aria-label": m, "aria-labelledby": _, "aria-describedby": v, className: y, style: x, ref: S, multiple: C, value: w, onValueChange: T, filled: E, display: ee, displayHidden: D = !1, valueText: O, children: te }) {
3136
- let ne = f(), re = p ?? ne, ie = f(), k = f(), M = e != null, N = t != null, [P, F] = g(!1), ae = c ?? P, [I, L] = g("bottom"), R = h(null), oe = h(null), z = Fr(u, [R, oe]);
3137
- return /* @__PURE__ */ j("div", {
3138
- className: la(J.Field, Q.Field, y),
3140
+ function pa({ label: e, helperText: t, error: n = !1, required: r = !1, disabled: i = !1, placeholder: a, startAdornment: o, endAdornment: s, open: c, onOpenChange: l, onBlur: u, name: d, id: p, "aria-label": m, "aria-labelledby": _, "aria-describedby": v, className: y, style: x, ref: S, size: C = "md", multiple: w, value: T, onValueChange: E, filled: ee, display: D, displayHidden: O = !1, valueText: k, children: te }) {
3141
+ let ne = f(), re = p ?? ne, A = f(), ie = f(), N = e != null, P = N && C === "sm", F = t != null, [ae, I] = g(!1), L = c ?? ae, [R, oe] = g("bottom"), z = h(null), B = h(null), V = Lr(u, [z, B]);
3142
+ return /* @__PURE__ */ M("div", {
3143
+ className: da(J.Field, Q.Field, y),
3139
3144
  style: x,
3140
- children: [/* @__PURE__ */ j(me.Root, {
3141
- id: re,
3142
- name: d,
3143
- multiple: C,
3144
- value: w,
3145
- onValueChange: T,
3146
- open: ae,
3147
- onOpenChange: (e) => {
3148
- c === void 0 && F(e), l?.(e);
3149
- },
3150
- disabled: i,
3151
- required: r,
3152
- highlightItemOnHover: !1,
3153
- children: [/* @__PURE__ */ j("div", {
3154
- ref: R,
3155
- className: la(J.Box, Q.Box),
3156
- "data-invalid": n ? "" : void 0,
3157
- "data-disabled": i ? "" : void 0,
3158
- "data-has-label": M ? "" : void 0,
3159
- "data-has-placeholder": a ? "" : void 0,
3160
- "data-filled": E ? "" : void 0,
3161
- "data-open": ae ? "" : void 0,
3162
- "data-popup-side": ae ? I : void 0,
3163
- onBlur: z,
3164
- children: [
3165
- /* @__PURE__ */ A(me.Trigger, {
3166
- ref: S,
3167
- nativeButton: !1,
3168
- render: /* @__PURE__ */ A("div", {}),
3169
- "aria-label": m,
3170
- "aria-labelledby": _ ?? (M ? ie : void 0),
3171
- "aria-describedby": la(N && k, v),
3172
- "aria-invalid": n || void 0,
3173
- "aria-required": r || void 0,
3174
- className: Q.Trigger,
3175
- children: /* @__PURE__ */ A("span", {
3176
- className: Q.SrOnly,
3177
- children: O
3178
- })
3179
- }),
3180
- o != null && /* @__PURE__ */ A("span", {
3181
- className: J.Adornment,
3182
- "data-position": "start",
3183
- children: o
3184
- }),
3185
- /* @__PURE__ */ j("div", {
3186
- className: la(J.Inner, Q.Inner),
3187
- children: [M && /* @__PURE__ */ j("span", {
3188
- id: ie,
3189
- className: Q.Label,
3190
- children: [e, r && /* @__PURE__ */ A(Ar, {})]
3191
- }), /* @__PURE__ */ A("div", {
3192
- className: Q.Display,
3193
- "aria-hidden": D || void 0,
3194
- children: E ? ee : a && /* @__PURE__ */ A("span", {
3195
- className: Q.Placeholder,
3196
- "aria-hidden": !0,
3197
- children: a
3145
+ children: [
3146
+ P && /* @__PURE__ */ j(Fr, {
3147
+ id: A,
3148
+ required: r,
3149
+ error: n,
3150
+ disabled: i,
3151
+ children: e
3152
+ }),
3153
+ /* @__PURE__ */ M(me.Root, {
3154
+ id: re,
3155
+ name: d,
3156
+ multiple: w,
3157
+ value: T,
3158
+ onValueChange: E,
3159
+ open: L,
3160
+ onOpenChange: (e) => {
3161
+ c === void 0 && I(e), l?.(e);
3162
+ },
3163
+ disabled: i,
3164
+ required: r,
3165
+ highlightItemOnHover: !1,
3166
+ children: [/* @__PURE__ */ M("div", {
3167
+ ref: z,
3168
+ className: da(J.Box, Q.Box),
3169
+ "data-invalid": n ? "" : void 0,
3170
+ "data-disabled": i ? "" : void 0,
3171
+ "data-size": C === "md" ? void 0 : C,
3172
+ "data-has-label": N && !P ? "" : void 0,
3173
+ "data-has-placeholder": a ? "" : void 0,
3174
+ "data-filled": ee ? "" : void 0,
3175
+ "data-open": L ? "" : void 0,
3176
+ "data-popup-side": L ? R : void 0,
3177
+ onBlur: V,
3178
+ children: [
3179
+ /* @__PURE__ */ j(me.Trigger, {
3180
+ ref: S,
3181
+ nativeButton: !1,
3182
+ render: /* @__PURE__ */ j("div", {}),
3183
+ "aria-label": m,
3184
+ "aria-labelledby": _ ?? (N ? A : void 0),
3185
+ "aria-describedby": da(F && ie, v),
3186
+ "aria-invalid": n || void 0,
3187
+ "aria-required": r || void 0,
3188
+ className: Q.Trigger,
3189
+ children: /* @__PURE__ */ j("span", {
3190
+ className: Q.SrOnly,
3191
+ children: k
3198
3192
  })
3199
- })]
3200
- }),
3201
- s != null && /* @__PURE__ */ A("span", {
3202
- className: Q.EndAdornment,
3203
- children: s
3193
+ }),
3194
+ o != null && /* @__PURE__ */ j("span", {
3195
+ className: J.Adornment,
3196
+ "data-position": "start",
3197
+ children: o
3198
+ }),
3199
+ /* @__PURE__ */ M("div", {
3200
+ className: da(J.Inner, Q.Inner),
3201
+ children: [N && !P && /* @__PURE__ */ M("span", {
3202
+ id: A,
3203
+ className: Q.Label,
3204
+ children: [e, r && /* @__PURE__ */ j(Mr, {})]
3205
+ }), /* @__PURE__ */ j("div", {
3206
+ className: Q.Display,
3207
+ "aria-hidden": O || void 0,
3208
+ children: ee ? D : a && /* @__PURE__ */ j("span", {
3209
+ className: Q.Placeholder,
3210
+ "aria-hidden": !0,
3211
+ children: a
3212
+ })
3213
+ })]
3214
+ }),
3215
+ s != null && /* @__PURE__ */ j("span", {
3216
+ className: Q.EndAdornment,
3217
+ children: s
3218
+ }),
3219
+ /* @__PURE__ */ j(b, {
3220
+ className: Q.Icon,
3221
+ "aria-hidden": !0
3222
+ })
3223
+ ]
3224
+ }), /* @__PURE__ */ j(me.Portal, { children: /* @__PURE__ */ j(me.Positioner, {
3225
+ side: "bottom",
3226
+ align: "start",
3227
+ sideOffset: 0,
3228
+ alignItemWithTrigger: !1,
3229
+ className: Y.Positioner,
3230
+ render: (e, t) => /* @__PURE__ */ j(fa, {
3231
+ ...e,
3232
+ side: t.side,
3233
+ onSideChange: oe
3204
3234
  }),
3205
- /* @__PURE__ */ A(b, {
3206
- className: Q.Icon,
3207
- "aria-hidden": !0
3208
- })
3209
- ]
3210
- }), /* @__PURE__ */ A(me.Portal, { children: /* @__PURE__ */ A(me.Positioner, {
3211
- side: "bottom",
3212
- align: "start",
3213
- sideOffset: 0,
3214
- alignItemWithTrigger: !1,
3215
- className: Y.Positioner,
3216
- render: (e, t) => /* @__PURE__ */ A(ua, {
3217
- ...e,
3218
- side: t.side,
3219
- onSideChange: L
3220
- }),
3221
- children: /* @__PURE__ */ A(me.Popup, {
3222
- ref: oe,
3223
- className: Y.Popup,
3224
- onBlur: z,
3225
- children: /* @__PURE__ */ A(me.List, {
3226
- className: Y.List,
3227
- children: te
3235
+ children: /* @__PURE__ */ j(me.Popup, {
3236
+ ref: B,
3237
+ className: Y.Popup,
3238
+ onBlur: V,
3239
+ children: /* @__PURE__ */ j(me.List, {
3240
+ className: Y.List,
3241
+ children: te
3242
+ })
3228
3243
  })
3229
- })
3230
- }) })]
3231
- }), N && /* @__PURE__ */ A(jr, {
3232
- id: k,
3233
- error: n,
3234
- children: t
3235
- })]
3244
+ }) })]
3245
+ }),
3246
+ F && /* @__PURE__ */ j(Nr, {
3247
+ id: ie,
3248
+ error: n,
3249
+ children: t
3250
+ })
3251
+ ]
3236
3252
  });
3237
3253
  }
3238
- function fa({ option: e, disabled: t, children: n }) {
3239
- return /* @__PURE__ */ j(me.Item, {
3254
+ function ma({ option: e, disabled: t, children: n }) {
3255
+ return /* @__PURE__ */ M(me.Item, {
3240
3256
  value: e.value,
3241
3257
  label: e.label,
3242
3258
  disabled: t ?? e.disabled,
3243
3259
  className: Y.Item,
3244
- children: [n, /* @__PURE__ */ A(me.ItemText, {
3245
- className: Y.ItemText,
3246
- children: e.label
3247
- })]
3260
+ children: [
3261
+ n,
3262
+ e.icon != null && /* @__PURE__ */ j(ha, { children: e.icon }),
3263
+ /* @__PURE__ */ j(me.ItemText, {
3264
+ className: Y.ItemText,
3265
+ children: e.label
3266
+ })
3267
+ ]
3268
+ });
3269
+ }
3270
+ function ha({ children: e }) {
3271
+ return /* @__PURE__ */ j("span", {
3272
+ "aria-hidden": !0,
3273
+ className: Q.OptionIcon,
3274
+ children: e
3248
3275
  });
3249
3276
  }
3250
3277
  //#endregion
3251
- //#region src/components/form/multi-select.tsx
3252
- var pa = 4, ma = typeof document > "u" ? d : p;
3253
- function ha({ items: e, canDelete: t, onDelete: n }) {
3278
+ //#region src/components/form/multi-select/multi-select.tsx
3279
+ var ga = 4, _a = typeof document > "u" ? d : p;
3280
+ function va({ items: e, canDelete: t, onDelete: n }) {
3254
3281
  let r = h(null), i = h(null), [a, o] = g(e.length), s = l(() => {
3255
3282
  let t = r.current, n = i.current;
3256
3283
  if (!t || !n) return;
3257
- let a = t.clientWidth, s = Array.from(n.children), c = s[s.length - 1], l = s.slice(0, -1), u = c ? c.offsetWidth + pa : 0;
3258
- if (l.reduce((e, t, n) => e + t.offsetWidth + (n > 0 ? pa : 0), 0) <= a) {
3284
+ let a = t.clientWidth, s = Array.from(n.children), c = s[s.length - 1], l = s.slice(0, -1), u = c ? c.offsetWidth + ga : 0;
3285
+ if (l.reduce((e, t, n) => e + t.offsetWidth + (n > 0 ? ga : 0), 0) <= a) {
3259
3286
  o(e.length);
3260
3287
  return;
3261
3288
  }
3262
3289
  let d = 0, f = 0;
3263
3290
  for (let e = 0; e < l.length; e++) {
3264
- let t = l[e].offsetWidth + (e > 0 ? pa : 0);
3291
+ let t = l[e].offsetWidth + (e > 0 ? ga : 0);
3265
3292
  if (d + t + u <= a) d += t, f += 1;
3266
3293
  else break;
3267
3294
  }
3268
3295
  o(f);
3269
3296
  }, [e.length]);
3270
- ma(() => {
3297
+ _a(() => {
3271
3298
  s();
3272
3299
  }, [
3273
3300
  s,
@@ -3279,7 +3306,7 @@ function ha({ items: e, canDelete: t, onDelete: n }) {
3279
3306
  let t = new ResizeObserver(() => s());
3280
3307
  return t.observe(e), () => t.disconnect();
3281
3308
  }, [s]);
3282
- let c = Math.max(e.length - a, 0), u = (e) => /* @__PURE__ */ A(kt, {
3309
+ let c = Math.max(e.length - a, 0), u = (e) => /* @__PURE__ */ j(kt, {
3283
3310
  size: "sm",
3284
3311
  label: e.label,
3285
3312
  style: {
@@ -3287,27 +3314,27 @@ function ha({ items: e, canDelete: t, onDelete: n }) {
3287
3314
  maxWidth: "100%"
3288
3315
  },
3289
3316
  onDelete: t ? () => n(e.value) : void 0
3290
- }, e.value), f = (e) => /* @__PURE__ */ A(kt, {
3317
+ }, e.value), f = (e) => /* @__PURE__ */ j(kt, {
3291
3318
  color: "neutral",
3292
3319
  size: "sm",
3293
3320
  label: `+${e}`,
3294
3321
  style: { flexShrink: 0 }
3295
3322
  });
3296
- return /* @__PURE__ */ j("div", {
3323
+ return /* @__PURE__ */ M("div", {
3297
3324
  className: Q.Chips,
3298
- children: [/* @__PURE__ */ j("div", {
3325
+ children: [/* @__PURE__ */ M("div", {
3299
3326
  ref: i,
3300
3327
  "aria-hidden": !0,
3301
3328
  className: Q.ChipMeasure,
3302
3329
  children: [e.map((e) => u(e)), f(e.length)]
3303
- }), /* @__PURE__ */ j("div", {
3330
+ }), /* @__PURE__ */ M("div", {
3304
3331
  ref: r,
3305
3332
  className: Q.ChipRow,
3306
3333
  children: [e.slice(0, a).map((e) => u(e)), c > 0 && f(c)]
3307
3334
  })]
3308
3335
  });
3309
3336
  }
3310
- function ga({ options: e, value: t, defaultValue: n = [], onValueChange: r, renderValue: i, min: a = 1, max: o, disabled: s = !1, ref: c, ...l }) {
3337
+ function ya({ options: e, value: t, defaultValue: n = [], onValueChange: r, renderValue: i, min: a = 1, max: o, disabled: s = !1, ref: c, ...l }) {
3311
3338
  let u = t !== void 0, [d, f] = g(n), p = u ? t : d, m = h(null), _ = (e) => {
3312
3339
  if (m.current = e, typeof c == "function") return c(e);
3313
3340
  c && (c.current = e);
@@ -3321,7 +3348,7 @@ function ga({ options: e, value: t, defaultValue: n = [], onValueChange: r, rend
3321
3348
  value: t,
3322
3349
  label: t
3323
3350
  });
3324
- return /* @__PURE__ */ A(da, {
3351
+ return /* @__PURE__ */ j(pa, {
3325
3352
  ...l,
3326
3353
  ref: _,
3327
3354
  disabled: s,
@@ -3329,7 +3356,7 @@ function ga({ options: e, value: t, defaultValue: n = [], onValueChange: r, rend
3329
3356
  value: p,
3330
3357
  onValueChange: (e) => x(e ?? []),
3331
3358
  filled: p.length > 0,
3332
- display: i ? i(p) : /* @__PURE__ */ A(ha, {
3359
+ display: i ? i(p) : /* @__PURE__ */ j(va, {
3333
3360
  items: w,
3334
3361
  canDelete: C,
3335
3362
  onDelete: S
@@ -3337,17 +3364,17 @@ function ga({ options: e, value: t, defaultValue: n = [], onValueChange: r, rend
3337
3364
  valueText: w.map((e) => e.label).join(", "),
3338
3365
  children: e.map((e) => {
3339
3366
  let t = p.includes(e.value);
3340
- return /* @__PURE__ */ A(fa, {
3367
+ return /* @__PURE__ */ j(ma, {
3341
3368
  option: e,
3342
3369
  disabled: v && !t || y && t || e.disabled,
3343
- children: /* @__PURE__ */ A(Gr, { checked: t })
3370
+ children: /* @__PURE__ */ j(qr, { checked: t })
3344
3371
  }, e.value);
3345
3372
  })
3346
3373
  });
3347
3374
  }
3348
3375
  //#endregion
3349
3376
  //#region src/hooks/country/countries.ts
3350
- var _a = {
3377
+ var ba = {
3351
3378
  NO: {
3352
3379
  country: "NO",
3353
3380
  locale: "nb-NO",
@@ -3368,17 +3395,17 @@ var _a = {
3368
3395
  locale: "es-ES",
3369
3396
  currency: "EUR"
3370
3397
  }
3371
- }, va = {
3398
+ }, xa = {
3372
3399
  no: "NO",
3373
3400
  se: "SE",
3374
3401
  fi: "FI",
3375
3402
  es: "ES"
3376
3403
  };
3377
- function ya(e) {
3404
+ function Sa(e) {
3378
3405
  return typeof e == "object" && !!e && !c(e) && "type" in e && (e.type === "years" || e.type === "currency");
3379
3406
  }
3380
- function ba(e, t, n) {
3381
- let { locale: r, currency: i } = _a[va[t]], a = e.type === "years" ? {
3407
+ function Ca(e, t, n) {
3408
+ let { locale: r, currency: i } = ba[xa[t]], a = e.type === "years" ? {
3382
3409
  style: "unit",
3383
3410
  unit: "year",
3384
3411
  unitDisplay: "long"
@@ -3389,17 +3416,17 @@ function ba(e, t, n) {
3389
3416
  };
3390
3417
  return new Intl.NumberFormat(r, a).formatToParts(e.type === "years" ? n ?? 0 : 0).find((t) => t.type === (e.type === "years" ? "unit" : "currency"))?.value ?? "";
3391
3418
  }
3392
- var xa = {
3419
+ var wa = {
3393
3420
  Unit: "_Unit_1g5fk_11",
3394
3421
  Box: "_Box_1g5fk_25",
3395
3422
  Steppers: "_Steppers_1g5fk_29",
3396
3423
  Stepper: "_Stepper_1g5fk_29"
3397
- }, Sa = (...e) => e.filter(Boolean).join(" ") || void 0;
3398
- function Ca({ label: e, labelPlacement: t = "inside", tooltip: n, helperText: r, error: i = !1, warning: a, required: o = !1, disabled: s = !1, id: c, placeholder: l, startIcon: u, unit: d, showSteppers: p = !0, className: m, style: h, ref: _, value: v, defaultValue: y, onValueChange: b, ...x }) {
3399
- let S = je(), [C, w] = g(y ?? null), T = v === void 0 ? C : v, E = ya(d) ? ba(d, S, T) : d, D = f(), O = c ?? D, ne = f(), re = f(), ie = f(), k = wa(), M = e != null, N = M && t === "outside", P = Mr(r, a, i), F = P.content != null, ae = Sa(F && re, E != null && E !== "" && ie), I = (e) => {
3424
+ }, Ta = (...e) => e.filter(Boolean).join(" ") || void 0;
3425
+ function Ea({ label: e, labelPlacement: t = "inside", tooltip: n, helperText: r, error: i = !1, warning: a, required: o = !1, disabled: s = !1, id: c, placeholder: l, startIcon: u, unit: d, showSteppers: p = !0, className: m, style: h, ref: _, value: v, defaultValue: y, onValueChange: b, ...x }) {
3426
+ let S = je(), [C, w] = g(y ?? null), T = v === void 0 ? C : v, E = Sa(d) ? Ca(d, S, T) : d, D = f(), O = c ?? D, te = f(), ne = f(), re = f(), A = Da(), ie = e != null, N = ie && t === "outside", P = Pr(r, a, i), F = P.content != null, ae = Ta(F && ne, E != null && E !== "" && re), I = (e) => {
3400
3427
  e.target.closest("button, a, input, [tabindex]") || e.currentTarget.querySelector("input")?.focus();
3401
3428
  };
3402
- return /* @__PURE__ */ j(z.Root, {
3429
+ return /* @__PURE__ */ M(z.Root, {
3403
3430
  ...x,
3404
3431
  value: v,
3405
3432
  defaultValue: y,
@@ -3409,11 +3436,11 @@ function Ca({ label: e, labelPlacement: t = "inside", tooltip: n, helperText: r,
3409
3436
  id: O,
3410
3437
  disabled: s,
3411
3438
  required: o,
3412
- className: Sa(J.Field, m),
3439
+ className: Ta(J.Field, m),
3413
3440
  style: h,
3414
3441
  children: [
3415
- N && /* @__PURE__ */ A(Nr, {
3416
- id: ne,
3442
+ N && /* @__PURE__ */ j(Fr, {
3443
+ id: te,
3417
3444
  htmlFor: O,
3418
3445
  tooltip: n,
3419
3446
  required: o,
@@ -3421,27 +3448,27 @@ function Ca({ label: e, labelPlacement: t = "inside", tooltip: n, helperText: r,
3421
3448
  disabled: s,
3422
3449
  children: e
3423
3450
  }),
3424
- /* @__PURE__ */ j("div", {
3425
- className: Sa(J.Box, xa.Box),
3451
+ /* @__PURE__ */ M("div", {
3452
+ className: Ta(J.Box, wa.Box),
3426
3453
  "data-invalid": i ? "" : void 0,
3427
3454
  "data-disabled": s ? "" : void 0,
3428
- "data-has-label": M && !N ? "" : void 0,
3455
+ "data-has-label": ie && !N ? "" : void 0,
3429
3456
  "data-label-outside": N ? "" : void 0,
3430
3457
  onClick: I,
3431
3458
  children: [
3432
- u != null && /* @__PURE__ */ A("span", {
3459
+ u != null && /* @__PURE__ */ j("span", {
3433
3460
  className: J.Adornment,
3434
3461
  "data-position": "start",
3435
3462
  "aria-hidden": !0,
3436
3463
  children: u
3437
3464
  }),
3438
- /* @__PURE__ */ j("div", {
3465
+ /* @__PURE__ */ M("div", {
3439
3466
  className: J.Inner,
3440
- children: [M && !N && /* @__PURE__ */ j("label", {
3467
+ children: [ie && !N && /* @__PURE__ */ M("label", {
3441
3468
  htmlFor: O,
3442
3469
  className: J.Label,
3443
- children: [e, o && /* @__PURE__ */ A(Ar, {})]
3444
- }), /* @__PURE__ */ A(z.Input, {
3470
+ children: [e, o && /* @__PURE__ */ j(Mr, {})]
3471
+ }), /* @__PURE__ */ j(z.Input, {
3445
3472
  ref: _,
3446
3473
  placeholder: l || " ",
3447
3474
  "aria-invalid": i || void 0,
@@ -3449,24 +3476,24 @@ function Ca({ label: e, labelPlacement: t = "inside", tooltip: n, helperText: r,
3449
3476
  className: J.Control
3450
3477
  })]
3451
3478
  }),
3452
- E != null && E !== "" && /* @__PURE__ */ A("span", {
3453
- id: ie,
3454
- className: xa.Unit,
3479
+ E != null && E !== "" && /* @__PURE__ */ j("span", {
3480
+ id: re,
3481
+ className: wa.Unit,
3455
3482
  children: E
3456
3483
  }),
3457
- p && /* @__PURE__ */ j("span", {
3458
- className: xa.Steppers,
3459
- children: [/* @__PURE__ */ A(z.Decrement, {
3460
- "aria-label": k.decrease,
3461
- className: xa.Stepper,
3462
- children: /* @__PURE__ */ A(ee, {
3484
+ p && /* @__PURE__ */ M("span", {
3485
+ className: wa.Steppers,
3486
+ children: [/* @__PURE__ */ j(z.Decrement, {
3487
+ "aria-label": A.decrease,
3488
+ className: wa.Stepper,
3489
+ children: /* @__PURE__ */ j(ee, {
3463
3490
  size: 16,
3464
3491
  "aria-hidden": !0
3465
3492
  })
3466
- }), /* @__PURE__ */ A(z.Increment, {
3467
- "aria-label": k.increase,
3468
- className: xa.Stepper,
3469
- children: /* @__PURE__ */ A(te, {
3493
+ }), /* @__PURE__ */ j(z.Increment, {
3494
+ "aria-label": A.increase,
3495
+ className: wa.Stepper,
3496
+ children: /* @__PURE__ */ j(k, {
3470
3497
  size: 16,
3471
3498
  "aria-hidden": !0
3472
3499
  })
@@ -3474,8 +3501,8 @@ function Ca({ label: e, labelPlacement: t = "inside", tooltip: n, helperText: r,
3474
3501
  })
3475
3502
  ]
3476
3503
  }),
3477
- F && /* @__PURE__ */ A(jr, {
3478
- id: re,
3504
+ F && /* @__PURE__ */ j(Nr, {
3505
+ id: ne,
3479
3506
  error: i,
3480
3507
  warning: P.warning,
3481
3508
  children: P.content
@@ -3483,7 +3510,7 @@ function Ca({ label: e, labelPlacement: t = "inside", tooltip: n, helperText: r,
3483
3510
  ]
3484
3511
  });
3485
3512
  }
3486
- var wa = U({
3513
+ var Da = U({
3487
3514
  increase: {
3488
3515
  no: "Øk",
3489
3516
  se: "Öka",
@@ -3496,23 +3523,23 @@ var wa = U({
3496
3523
  fi: "Vähennä",
3497
3524
  es: "Disminuir"
3498
3525
  }
3499
- }), Ta = [
3526
+ }), Oa = [
3500
3527
  "FI",
3501
3528
  "SE",
3502
3529
  "NO",
3503
3530
  "ES"
3504
3531
  ];
3505
- function Ea(e) {
3532
+ function ka(e) {
3506
3533
  return e.toUpperCase().replace(/[A-Z]/g, (e) => String.fromCodePoint(127397 + e.charCodeAt(0)));
3507
3534
  }
3508
- function Da(e) {
3535
+ function Aa(e) {
3509
3536
  let t = new Intl.DisplayNames([e], { type: "region" }), n = ue(), r = (e, n) => ({
3510
3537
  code: e,
3511
3538
  dialCode: de(e),
3512
3539
  name: t.of(e) ?? e,
3513
- flag: Ea(e),
3540
+ flag: ka(e),
3514
3541
  pinned: n
3515
- }), i = Ta.filter((e) => n.includes(e)).map((e) => r(e, !0)), a = n.filter((e) => !Ta.includes(e)).map((e) => r(e, !1)).sort((t, n) => t.name.localeCompare(n.name, e));
3542
+ }), i = Oa.filter((e) => n.includes(e)).map((e) => r(e, !0)), a = n.filter((e) => !Oa.includes(e)).map((e) => r(e, !1)).sort((t, n) => t.name.localeCompare(n.name, e));
3516
3543
  return [...i, ...a];
3517
3544
  }
3518
3545
  var $ = {
@@ -3533,18 +3560,18 @@ var $ = {
3533
3560
  CountryName: "_CountryName_gcp2o_199",
3534
3561
  CountryDial: "_CountryDial_gcp2o_212",
3535
3562
  Separator: "_Separator_gcp2o_221"
3536
- }, Oa = {
3563
+ }, ja = {
3537
3564
  no: "NO",
3538
3565
  se: "SE",
3539
3566
  fi: "FI",
3540
3567
  es: "ES"
3541
- }, ka = {
3568
+ }, Ma = {
3542
3569
  no: "nb-NO",
3543
3570
  se: "sv-SE",
3544
3571
  fi: "fi-FI",
3545
3572
  es: "es-ES"
3546
3573
  };
3547
- function Aa(e, t) {
3574
+ function Na(e, t) {
3548
3575
  if (e === "NO") {
3549
3576
  let e = t.replace(/\D/g, "").slice(0, 8);
3550
3577
  return [
@@ -3555,25 +3582,25 @@ function Aa(e, t) {
3555
3582
  }
3556
3583
  return new le(e).input(t);
3557
3584
  }
3558
- function ja(e, t) {
3559
- if (e === "NO") return Aa(e, t);
3585
+ function Pa(e, t) {
3586
+ if (e === "NO") return Na(e, t);
3560
3587
  let n = de(e);
3561
3588
  return new le(e).input(`+${n}${t}`).replace(`+${n}`, "").trim();
3562
3589
  }
3563
- function Ma(e, t) {
3564
- return /^\s*[+0]/.test(t) ? new le(e).input(t) : ja(e, t.replace(/\D/g, ""));
3590
+ function Fa(e, t) {
3591
+ return /^\s*[+0]/.test(t) ? new le(e).input(t) : Pa(e, t.replace(/\D/g, ""));
3565
3592
  }
3566
- function Na(e, t) {
3593
+ function Ia(e, t) {
3567
3594
  let n = fe(t.replace(/[\s-]/g, ""), e);
3568
- return n && n.countryCallingCode === de(e) ? ja(e, n.nationalNumber) : Ma(e, t);
3595
+ return n && n.countryCallingCode === de(e) ? Pa(e, n.nationalNumber) : Fa(e, t);
3569
3596
  }
3570
- function Pa(e, t, { sameCountry: n, mobileOnly: r }) {
3597
+ function La(e, t, { sameCountry: n, mobileOnly: r }) {
3571
3598
  let i = () => {
3572
3599
  let n = fe(t.replace(/\s/g, ""), e);
3573
3600
  return n?.isValid() && n.country === e ? Z(n.number) : X();
3574
3601
  };
3575
- if (r && vi(e)) {
3576
- let n = yi(e, t);
3602
+ if (r && bi(e)) {
3603
+ let n = xi(e, t);
3577
3604
  return n.valid ? {
3578
3605
  ...n,
3579
3606
  landline: !1
@@ -3583,11 +3610,11 @@ function Pa(e, t, { sameCountry: n, mobileOnly: r }) {
3583
3610
  };
3584
3611
  }
3585
3612
  return {
3586
- ...n ? i() : hi(e, t),
3613
+ ...n ? i() : _i(e, t),
3587
3614
  landline: !1
3588
3615
  };
3589
3616
  }
3590
- var Fa = U({
3617
+ var Ra = U({
3591
3618
  countryLabel: {
3592
3619
  no: "Landskode",
3593
3620
  se: "Landskod",
@@ -3618,10 +3645,10 @@ var Fa = U({
3618
3645
  fi: "Anna matkapuhelinnumero",
3619
3646
  es: "Introduce un número de móvil"
3620
3647
  }
3621
- }), Ia = (...e) => e.filter(Boolean).join(" ") || void 0, La = (e) => `${e.name} ${e.code} ${e.dialCode} +${e.dialCode}`, Ra = (e, t) => e.code === t.code;
3622
- function za({ options: e, value: t, onChange: n, ariaLabel: r, searchLabel: i, noOptionsText: a, disabled: s, open: c, onOpenChange: l, anchorRef: u }) {
3648
+ }), za = (...e) => e.filter(Boolean).join(" ") || void 0, Ba = (e) => `${e.name} ${e.code} ${e.dialCode} +${e.dialCode}`, Va = (e, t) => e.code === t.code;
3649
+ function Ha({ options: e, value: t, onChange: n, ariaLabel: r, searchLabel: i, noOptionsText: a, disabled: s, open: c, onOpenChange: l, anchorRef: u }) {
3623
3650
  let { contains: d } = V.useFilter({ sensitivity: "base" }), [f, p] = g(""), [m, h] = g(!1), _ = e.find((e) => e.code === t) ?? null, v = e.filter((e) => e.pinned).length;
3624
- return /* @__PURE__ */ j(V.Root, {
3651
+ return /* @__PURE__ */ M(V.Root, {
3625
3652
  items: e,
3626
3653
  value: _,
3627
3654
  onValueChange: (e) => {
@@ -3631,70 +3658,70 @@ function za({ options: e, value: t, onChange: n, ariaLabel: r, searchLabel: i, n
3631
3658
  onInputValueChange: p,
3632
3659
  open: c,
3633
3660
  onOpenChange: l,
3634
- filter: (e, t) => d(La(e), t),
3661
+ filter: (e, t) => d(Ba(e), t),
3635
3662
  itemToStringLabel: (e) => e.name,
3636
3663
  itemToStringValue: (e) => e.code,
3637
- isItemEqualToValue: Ra,
3664
+ isItemEqualToValue: Va,
3638
3665
  disabled: s,
3639
3666
  highlightItemOnHover: !1,
3640
- children: [/* @__PURE__ */ j(V.Trigger, {
3667
+ children: [/* @__PURE__ */ M(V.Trigger, {
3641
3668
  className: $.Trigger,
3642
3669
  "aria-label": _ ? `${r}, ${_.name}` : r,
3643
- children: [_ && /* @__PURE__ */ j(k, { children: [/* @__PURE__ */ A("span", {
3670
+ children: [_ && /* @__PURE__ */ M(A, { children: [/* @__PURE__ */ j("span", {
3644
3671
  "aria-hidden": !0,
3645
3672
  className: $.Flag,
3646
3673
  children: _.flag
3647
- }), /* @__PURE__ */ j("span", {
3674
+ }), /* @__PURE__ */ M("span", {
3648
3675
  className: $.Dial,
3649
3676
  children: ["+", _.dialCode]
3650
- })] }), /* @__PURE__ */ A(b, {
3677
+ })] }), /* @__PURE__ */ j(b, {
3651
3678
  "aria-hidden": !0,
3652
3679
  className: $.Chevron
3653
3680
  })]
3654
- }), /* @__PURE__ */ A(V.Portal, { children: /* @__PURE__ */ A(V.Positioner, {
3681
+ }), /* @__PURE__ */ j(V.Portal, { children: /* @__PURE__ */ j(V.Positioner, {
3655
3682
  anchor: u,
3656
3683
  side: "bottom",
3657
3684
  align: "start",
3658
3685
  sideOffset: 4,
3659
3686
  className: Y.Positioner,
3660
- children: /* @__PURE__ */ j(V.Popup, {
3687
+ children: /* @__PURE__ */ M(V.Popup, {
3661
3688
  className: $.Popup,
3662
3689
  "aria-label": r,
3663
3690
  "data-keyboard": m ? "" : void 0,
3664
3691
  onKeyDownCapture: () => h(!0),
3665
3692
  onPointerDownCapture: () => h(!1),
3666
3693
  children: [
3667
- /* @__PURE__ */ j("div", {
3694
+ /* @__PURE__ */ M("div", {
3668
3695
  className: $.Search,
3669
- children: [/* @__PURE__ */ A(ne, { "aria-hidden": !0 }), /* @__PURE__ */ A(V.Input, {
3696
+ children: [/* @__PURE__ */ j(te, { "aria-hidden": !0 }), /* @__PURE__ */ j(V.Input, {
3670
3697
  className: $.SearchInput,
3671
3698
  placeholder: i,
3672
3699
  "aria-label": i
3673
3700
  })]
3674
3701
  }),
3675
- /* @__PURE__ */ A(V.Empty, {
3702
+ /* @__PURE__ */ j(V.Empty, {
3676
3703
  className: Y.Empty,
3677
3704
  children: a
3678
3705
  }),
3679
- /* @__PURE__ */ A(V.List, {
3680
- className: Ia(Y.List, $.List),
3681
- children: (e, t) => /* @__PURE__ */ j(o, { children: [f === "" && v > 0 && t === v && /* @__PURE__ */ A("div", {
3706
+ /* @__PURE__ */ j(V.List, {
3707
+ className: za(Y.List, $.List),
3708
+ children: (e, t) => /* @__PURE__ */ M(o, { children: [f === "" && v > 0 && t === v && /* @__PURE__ */ j("div", {
3682
3709
  role: "presentation",
3683
3710
  className: $.Separator
3684
- }), /* @__PURE__ */ j(V.Item, {
3711
+ }), /* @__PURE__ */ M(V.Item, {
3685
3712
  value: e,
3686
- className: Ia(Y.Item, $.Country),
3713
+ className: za(Y.Item, $.Country),
3687
3714
  children: [
3688
- /* @__PURE__ */ A("span", {
3715
+ /* @__PURE__ */ j("span", {
3689
3716
  "aria-hidden": !0,
3690
3717
  className: $.Flag,
3691
3718
  children: e.flag
3692
3719
  }),
3693
- /* @__PURE__ */ A("span", {
3720
+ /* @__PURE__ */ j("span", {
3694
3721
  className: $.CountryName,
3695
3722
  children: e.name
3696
3723
  }),
3697
- /* @__PURE__ */ j("span", {
3724
+ /* @__PURE__ */ M("span", {
3698
3725
  className: $.CountryDial,
3699
3726
  children: ["+", e.dialCode]
3700
3727
  })
@@ -3706,19 +3733,19 @@ function za({ options: e, value: t, onChange: n, ariaLabel: r, searchLabel: i, n
3706
3733
  }) })]
3707
3734
  });
3708
3735
  }
3709
- function Ba({ label: e, helperText: t, error: n, required: r = !1, disabled: i = !1, id: a, country: o, defaultCountry: s, onCountryChange: c, value: l, defaultValue: u, onValueChange: d, onBlur: p, countries: _, mobileOnly: v = !1, validateOnBlur: y = !0, className: b, style: x, ref: S, "aria-describedby": C, ...w }) {
3710
- let T = je(), E = Fa(), ee = f(), D = a ?? ee, O = f(), te = f(), ne = h(null), [re, ie] = g(!1), k = _ != null && _.length > 0 ? _ : null, M = k?.length === 1, N = k?.join(","), P = m(() => {
3711
- let e = Da(ka[T]), t = N?.split(",");
3736
+ function Ua({ label: e, helperText: t, error: n, required: r = !1, disabled: i = !1, id: a, country: o, defaultCountry: s, onCountryChange: c, value: l, defaultValue: u, onValueChange: d, onBlur: p, countries: _, mobileOnly: v = !1, validateOnBlur: y = !0, className: b, style: x, ref: S, "aria-describedby": C, ...w }) {
3737
+ let T = je(), E = Ra(), ee = f(), D = a ?? ee, O = f(), k = f(), te = h(null), [ne, re] = g(!1), A = _ != null && _.length > 0 ? _ : null, ie = A?.length === 1, N = A?.join(","), P = m(() => {
3738
+ let e = Aa(Ma[T]), t = N?.split(",");
3712
3739
  return t ? e.filter((e) => t.includes(e.code)) : e;
3713
- }, [T, N]), F = s ?? Oa[T], [ae, I] = g(k && !k.includes(F) ? k[0] : F), L = o ?? ae, R = {
3714
- sameCountry: k != null,
3740
+ }, [T, N]), F = s ?? ja[T], [ae, I] = g(A && !A.includes(F) ? A[0] : F), L = o ?? ae, R = {
3741
+ sameCountry: A != null,
3715
3742
  mobileOnly: v
3716
- }, [oe, z] = g(u ?? ""), B = l ?? oe, [V, se] = g(!1), ce = Pa(L, B, R), le = {
3743
+ }, [oe, z] = g(u ?? ""), B = l ?? oe, [V, se] = g(!1), ce = La(L, B, R), le = {
3717
3744
  country: L,
3718
3745
  e164: ce.normalized,
3719
3746
  isValid: ce.valid
3720
3747
  }, ue = y && V && B.trim() !== "" && !le.isValid, de = n ?? ue, pe = t ?? (ue ? ce.landline ? E.notMobile : E.invalid : void 0), me = pe != null, he = (e, t) => {
3721
- let n = Pa(t, e, R);
3748
+ let n = La(t, e, R);
3722
3749
  d?.(e, {
3723
3750
  country: t,
3724
3751
  e164: n.normalized,
@@ -3730,48 +3757,48 @@ function Ba({ label: e, helperText: t, error: n, required: r = !1, disabled: i =
3730
3757
  o === void 0 && I(e), c?.(e), he(B, e);
3731
3758
  }, ve = (e) => {
3732
3759
  let t = e.target.value;
3733
- if (!k) {
3734
- ge(Aa(L, t), L);
3760
+ if (!A) {
3761
+ ge(Na(L, t), L);
3735
3762
  return;
3736
3763
  }
3737
3764
  if (t.length - B.length > 1) {
3738
- let e = fe(t.replace(/[\s-]/g, ""), L), n = e?.country && k.includes(e.country) ? e.country : L;
3739
- ge(Na(n, t), n);
3765
+ let e = fe(t.replace(/[\s-]/g, ""), L), n = e?.country && A.includes(e.country) ? e.country : L;
3766
+ ge(Ia(n, t), n);
3740
3767
  return;
3741
3768
  }
3742
- ge(Ma(L, t), L);
3769
+ ge(Fa(L, t), L);
3743
3770
  }, ye = (e) => {
3744
- if (se(!0), k) {
3745
- let e = Na(L, B);
3771
+ if (se(!0), A) {
3772
+ let e = Ia(L, B);
3746
3773
  e !== B && ge(e, L);
3747
3774
  }
3748
3775
  p?.(e);
3749
- }, be = M ? P.find((e) => e.code === L) : void 0;
3750
- return /* @__PURE__ */ j("div", {
3751
- className: Ia(J.Field, $.Field, b),
3776
+ }, be = ie ? P.find((e) => e.code === L) : void 0;
3777
+ return /* @__PURE__ */ M("div", {
3778
+ className: za(J.Field, $.Field, b),
3752
3779
  style: x,
3753
- children: [/* @__PURE__ */ j("div", {
3754
- ref: ne,
3755
- className: Ia(J.Box, $.Box),
3780
+ children: [/* @__PURE__ */ M("div", {
3781
+ ref: te,
3782
+ className: za(J.Box, $.Box),
3756
3783
  "data-invalid": de ? "" : void 0,
3757
3784
  "data-disabled": i ? "" : void 0,
3758
- "data-country-open": re ? "" : void 0,
3785
+ "data-country-open": ne ? "" : void 0,
3759
3786
  onClick: (e) => {
3760
3787
  let t = e.target;
3761
3788
  e.currentTarget.contains(t) && (t.closest("button, input") || e.currentTarget.querySelector("input[type=\"tel\"]")?.focus());
3762
3789
  },
3763
- children: [M ? be && /* @__PURE__ */ j("span", {
3790
+ children: [ie ? be && /* @__PURE__ */ M("span", {
3764
3791
  className: $.DialCode,
3765
- children: [/* @__PURE__ */ A("span", {
3792
+ children: [/* @__PURE__ */ j("span", {
3766
3793
  "aria-hidden": !0,
3767
3794
  className: $.Flag,
3768
3795
  children: be.flag
3769
- }), /* @__PURE__ */ j("span", {
3770
- id: te,
3796
+ }), /* @__PURE__ */ M("span", {
3797
+ id: k,
3771
3798
  className: $.Dial,
3772
3799
  children: ["+", be.dialCode]
3773
3800
  })]
3774
- }) : /* @__PURE__ */ A(za, {
3801
+ }) : /* @__PURE__ */ j(Ha, {
3775
3802
  options: P,
3776
3803
  value: L,
3777
3804
  onChange: _e,
@@ -3779,16 +3806,16 @@ function Ba({ label: e, helperText: t, error: n, required: r = !1, disabled: i =
3779
3806
  searchLabel: E.searchCountry,
3780
3807
  noOptionsText: E.noCountries,
3781
3808
  disabled: i,
3782
- open: re,
3783
- onOpenChange: ie,
3784
- anchorRef: ne
3785
- }), /* @__PURE__ */ j("div", {
3786
- className: Ia(J.Inner, $.Inner),
3787
- children: [e != null && /* @__PURE__ */ j("label", {
3809
+ open: ne,
3810
+ onOpenChange: re,
3811
+ anchorRef: te
3812
+ }), /* @__PURE__ */ M("div", {
3813
+ className: za(J.Inner, $.Inner),
3814
+ children: [e != null && /* @__PURE__ */ M("label", {
3788
3815
  htmlFor: D,
3789
- className: Ia(J.Label, $.Label),
3790
- children: [e, r && /* @__PURE__ */ A(Ar, {})]
3791
- }), /* @__PURE__ */ A("input", {
3816
+ className: za(J.Label, $.Label),
3817
+ children: [e, r && /* @__PURE__ */ j(Mr, {})]
3818
+ }), /* @__PURE__ */ j("input", {
3792
3819
  inputMode: "tel",
3793
3820
  autoComplete: "tel-national",
3794
3821
  ...w,
@@ -3801,42 +3828,42 @@ function Ba({ label: e, helperText: t, error: n, required: r = !1, disabled: i =
3801
3828
  disabled: i,
3802
3829
  required: r,
3803
3830
  "aria-invalid": de,
3804
- "aria-describedby": Ia(be && te, me && O, C),
3831
+ "aria-describedby": za(be && k, me && O, C),
3805
3832
  className: J.Control
3806
3833
  })]
3807
3834
  })]
3808
- }), me && /* @__PURE__ */ A(jr, {
3835
+ }), me && /* @__PURE__ */ j(Nr, {
3809
3836
  id: O,
3810
3837
  error: de,
3811
3838
  children: pe
3812
3839
  })]
3813
3840
  });
3814
3841
  }
3815
- var Va = {
3842
+ var Wa = {
3816
3843
  Options: "_Options_hhfuh_8",
3817
3844
  Circle: "_Circle_hhfuh_19",
3818
3845
  Dot: "_Dot_hhfuh_67"
3819
- }, Ha = Va.Circle, Ua = Va.Dot, Wa = ({ checked: e = !1, size: t = "md", className: n }) => /* @__PURE__ */ A("span", {
3846
+ }, Ga = Wa.Circle, Ka = Wa.Dot, qa = ({ checked: e = !1, size: t = "md", className: n }) => /* @__PURE__ */ j("span", {
3820
3847
  "aria-hidden": !0,
3821
- className: [Va.Circle, n].filter(Boolean).join(" "),
3848
+ className: [Wa.Circle, n].filter(Boolean).join(" "),
3822
3849
  "data-size": t,
3823
3850
  "data-checked": e ? "" : void 0,
3824
- children: /* @__PURE__ */ A("span", { className: Va.Dot })
3825
- }), Ga = { Group: "_Group_2xgbn_8" }, Ka = s(null), qa = (e) => {
3826
- let t = u(Ka);
3851
+ children: /* @__PURE__ */ j("span", { className: Wa.Dot })
3852
+ }), Ja = { Group: "_Group_2xgbn_8" }, Ya = s(null), Xa = (e) => {
3853
+ let t = u(Ya);
3827
3854
  if (!t) throw Error(`<${e}> must be rendered inside a <RadioGroup.Root> or <RadioCard.Group>.`);
3828
3855
  return t;
3829
- }, Ja = (...e) => e.filter(Boolean).join(" ") || void 0;
3830
- function Ya({ label: e, tooltip: t, helperText: n, error: r = !1, value: i, defaultValue: a, onValueChange: o, name: s, disabled: c = !1, required: l = !1, onBlur: u, id: d, "aria-label": p, "aria-labelledby": h, "aria-describedby": g, className: _, style: v, ref: y, size: b, cardSize: x, optionsClassName: S, optionsStyle: C, optionsDataColumns: w, children: T }) {
3831
- let E = f(), ee = f(), D = e != null, O = n != null, te = m(() => ({
3856
+ }, Za = (...e) => e.filter(Boolean).join(" ") || void 0;
3857
+ function Qa({ label: e, tooltip: t, helperText: n, error: r = !1, value: i, defaultValue: a, onValueChange: o, name: s, disabled: c = !1, required: l = !1, onBlur: u, id: d, "aria-label": p, "aria-labelledby": h, "aria-describedby": g, className: _, style: v, ref: y, size: b, cardSize: x, optionsClassName: S, optionsStyle: C, optionsDataColumns: w, children: T }) {
3858
+ let E = f(), ee = f(), D = e != null, O = n != null, k = m(() => ({
3832
3859
  size: b,
3833
3860
  cardSize: x
3834
3861
  }), [b, x]);
3835
- return /* @__PURE__ */ j("div", {
3836
- className: Ja(Ga.Group, _),
3862
+ return /* @__PURE__ */ M("div", {
3863
+ className: Za(Ja.Group, _),
3837
3864
  style: v,
3838
3865
  children: [
3839
- D && /* @__PURE__ */ A(Nr, {
3866
+ D && /* @__PURE__ */ j(Fr, {
3840
3867
  id: E,
3841
3868
  tooltip: t,
3842
3869
  required: l,
@@ -3844,9 +3871,9 @@ function Ya({ label: e, tooltip: t, helperText: n, error: r = !1, value: i, defa
3844
3871
  disabled: c,
3845
3872
  children: e
3846
3873
  }),
3847
- /* @__PURE__ */ A(Ka.Provider, {
3848
- value: te,
3849
- children: /* @__PURE__ */ A(ge, {
3874
+ /* @__PURE__ */ j(Ya.Provider, {
3875
+ value: k,
3876
+ children: /* @__PURE__ */ j(ge, {
3850
3877
  id: d,
3851
3878
  inputRef: y,
3852
3879
  name: s,
@@ -3857,7 +3884,7 @@ function Ya({ label: e, tooltip: t, helperText: n, error: r = !1, value: i, defa
3857
3884
  required: l,
3858
3885
  "aria-label": p,
3859
3886
  "aria-labelledby": D ? E : h,
3860
- "aria-describedby": Ja(O && ee, g),
3887
+ "aria-describedby": Za(O && ee, g),
3861
3888
  "aria-invalid": r ? !0 : void 0,
3862
3889
  onBlur: (e) => {
3863
3890
  e.currentTarget.contains(e.relatedTarget) || u?.(e);
@@ -3868,7 +3895,7 @@ function Ya({ label: e, tooltip: t, helperText: n, error: r = !1, value: i, defa
3868
3895
  children: T
3869
3896
  })
3870
3897
  }),
3871
- O && /* @__PURE__ */ A(jr, {
3898
+ O && /* @__PURE__ */ j(Nr, {
3872
3899
  id: ee,
3873
3900
  error: r,
3874
3901
  children: n
@@ -3877,49 +3904,49 @@ function Ya({ label: e, tooltip: t, helperText: n, error: r = !1, value: i, defa
3877
3904
  });
3878
3905
  }
3879
3906
  //#endregion
3880
- //#region src/components/form/radio.tsx
3881
- var Xa = /* @__PURE__ */ Se({
3882
- Item: () => Qa,
3883
- Root: () => $a
3884
- }), Za = (...e) => e.filter(Boolean).join(" ") || void 0;
3885
- function Qa({ value: e, label: t, disabled: n = !1, size: r, id: i, "aria-label": a, className: o, style: s, ref: c }) {
3886
- let l = qa("RadioGroup.Item"), u = t == null, d = /* @__PURE__ */ A(he.Root, {
3907
+ //#region src/components/form/radio/radio.tsx
3908
+ var $a = /* @__PURE__ */ Se({
3909
+ Item: () => to,
3910
+ Root: () => no
3911
+ }), eo = (...e) => e.filter(Boolean).join(" ") || void 0;
3912
+ function to({ value: e, label: t, disabled: n = !1, size: r, id: i, "aria-label": a, className: o, style: s, ref: c }) {
3913
+ let l = Xa("RadioGroup.Item"), u = t == null, d = /* @__PURE__ */ j(he.Root, {
3887
3914
  nativeButton: !0,
3888
- render: /* @__PURE__ */ A("button", { type: "button" }),
3915
+ render: /* @__PURE__ */ j("button", { type: "button" }),
3889
3916
  id: i,
3890
3917
  inputRef: c,
3891
3918
  value: e,
3892
3919
  disabled: n,
3893
3920
  "aria-label": a,
3894
3921
  "data-size": r ?? l.size ?? "md",
3895
- className: u ? Za(Ha, o) : Ha,
3922
+ className: u ? eo(Ga, o) : Ga,
3896
3923
  style: u ? s : void 0,
3897
- children: /* @__PURE__ */ A(he.Indicator, {
3924
+ children: /* @__PURE__ */ j(he.Indicator, {
3898
3925
  keepMounted: !0,
3899
- className: Ua
3926
+ className: Ka
3900
3927
  })
3901
3928
  });
3902
- return u ? d : /* @__PURE__ */ j("label", {
3903
- className: Za(Kr.Row, o),
3929
+ return u ? d : /* @__PURE__ */ M("label", {
3930
+ className: eo(Jr.Row, o),
3904
3931
  style: s,
3905
- children: [d, /* @__PURE__ */ A("span", {
3906
- className: Kr.Text,
3932
+ children: [d, /* @__PURE__ */ j("span", {
3933
+ className: Jr.Text,
3907
3934
  children: t
3908
3935
  })]
3909
3936
  });
3910
3937
  }
3911
- function $a({ options: e, children: t, ...n }) {
3912
- return /* @__PURE__ */ j(Ya, {
3938
+ function no({ options: e, children: t, ...n }) {
3939
+ return /* @__PURE__ */ M(Qa, {
3913
3940
  ...n,
3914
- optionsClassName: Va.Options,
3915
- children: [e?.map((e) => /* @__PURE__ */ A(Qa, {
3941
+ optionsClassName: Wa.Options,
3942
+ children: [e?.map((e) => /* @__PURE__ */ j(to, {
3916
3943
  value: e.value,
3917
3944
  label: e.label,
3918
3945
  disabled: e.disabled
3919
3946
  }, String(e.value))), t]
3920
3947
  });
3921
3948
  }
3922
- var eo = {
3949
+ var ro = {
3923
3950
  Options: "_Options_1myxj_8",
3924
3951
  Card: "_Card_1myxj_19",
3925
3952
  Radio: "_Radio_1myxj_61",
@@ -3928,97 +3955,98 @@ var eo = {
3928
3955
  Content: "_Content_1myxj_116",
3929
3956
  Label: "_Label_1myxj_133",
3930
3957
  Description: "_Description_1myxj_142"
3931
- }, to = /* @__PURE__ */ Se({
3932
- Content: () => oo,
3933
- Description: () => co,
3934
- Group: () => lo,
3935
- Icon: () => ao,
3936
- Indicator: () => io,
3937
- Label: () => so,
3938
- Root: () => ro
3939
- }), no = (...e) => e.filter(Boolean).join(" ") || void 0;
3940
- function ro({ value: e, orientation: t = "horizontal", disabled: n = !1, size: r, className: i, style: a, ref: o, children: s }) {
3941
- let c = qa("RadioCard.Root");
3942
- return /* @__PURE__ */ j("label", {
3958
+ }, io = /* @__PURE__ */ Se({
3959
+ Content: () => lo,
3960
+ Description: () => fo,
3961
+ Group: () => po,
3962
+ Icon: () => co,
3963
+ Indicator: () => so,
3964
+ Label: () => uo,
3965
+ Root: () => oo
3966
+ }), ao = (...e) => e.filter(Boolean).join(" ") || void 0;
3967
+ function oo({ value: e, orientation: t = "horizontal", disabled: n = !1, size: r, className: i, style: a, ref: o, children: s }) {
3968
+ let c = Xa("RadioCard.Root");
3969
+ return /* @__PURE__ */ M("label", {
3943
3970
  ref: o,
3944
- className: no(eo.Card, i),
3971
+ className: ao(ro.Card, i),
3945
3972
  style: a,
3946
3973
  "data-orientation": t,
3947
3974
  "data-size": r ?? c.cardSize ?? "lg",
3948
- children: [/* @__PURE__ */ A(he.Root, {
3975
+ children: [/* @__PURE__ */ j(he.Root, {
3949
3976
  nativeButton: !0,
3950
- render: /* @__PURE__ */ A("button", { type: "button" }),
3977
+ render: /* @__PURE__ */ j("button", { type: "button" }),
3951
3978
  value: e,
3952
3979
  disabled: n,
3953
- className: eo.Radio
3980
+ className: ro.Radio
3954
3981
  }), s]
3955
3982
  });
3956
3983
  }
3957
- var io = ({ size: e }) => /* @__PURE__ */ A(Wa, {
3984
+ var so = ({ size: e }) => /* @__PURE__ */ j(qa, {
3958
3985
  size: e,
3959
- className: eo.Indicator
3960
- }), ao = ({ size: e = 24, icon: t }) => /* @__PURE__ */ A(t, {
3986
+ className: ro.Indicator
3987
+ }), co = ({ size: e = 24, icon: t }) => /* @__PURE__ */ j(t, {
3961
3988
  size: e,
3962
3989
  "aria-hidden": !0,
3963
- className: eo.Icon
3964
- }), oo = ({ children: e, className: t, style: n }) => /* @__PURE__ */ A("span", {
3965
- className: no(eo.Content, t),
3990
+ className: ro.Icon
3991
+ }), lo = ({ children: e, className: t, style: n }) => /* @__PURE__ */ j("span", {
3992
+ className: ao(ro.Content, t),
3966
3993
  style: n,
3967
3994
  children: e
3968
- }), so = ({ children: e }) => /* @__PURE__ */ A("span", {
3969
- className: eo.Label,
3995
+ }), uo = ({ children: e }) => /* @__PURE__ */ j("span", {
3996
+ className: ro.Label,
3970
3997
  children: e
3971
- }), co = ({ children: e }) => /* @__PURE__ */ A("span", {
3972
- className: eo.Description,
3998
+ }), fo = ({ children: e }) => /* @__PURE__ */ j("span", {
3999
+ className: ro.Description,
3973
4000
  children: e
3974
4001
  });
3975
- function lo({ options: e, columns: t = 1, size: n, children: r, ...i }) {
3976
- return /* @__PURE__ */ j(Ya, {
4002
+ function po({ options: e, columns: t = 1, size: n, children: r, ...i }) {
4003
+ return /* @__PURE__ */ M(Qa, {
3977
4004
  ...i,
3978
4005
  cardSize: n,
3979
- optionsClassName: eo.Options,
4006
+ optionsClassName: ro.Options,
3980
4007
  optionsStyle: { "--radio-card-columns": t },
3981
4008
  optionsDataColumns: t > 1 ? "many" : void 0,
3982
- children: [e?.map((e) => /* @__PURE__ */ j(ro, {
4009
+ children: [e?.map((e) => /* @__PURE__ */ M(oo, {
3983
4010
  value: e.value,
3984
4011
  disabled: e.disabled,
3985
- children: [/* @__PURE__ */ A(io, {}), e.label]
4012
+ children: [/* @__PURE__ */ j(so, {}), e.label]
3986
4013
  }, String(e.value))), r]
3987
4014
  });
3988
4015
  }
3989
4016
  //#endregion
3990
- //#region src/components/form/select.tsx
3991
- function uo({ options: e, value: t, defaultValue: n = "", onValueChange: r, ...i }) {
3992
- let a = t !== void 0, [o, s] = g(n), c = a ? t : o, l = e.find((e) => e.value === c);
3993
- return /* @__PURE__ */ A(da, {
3994
- ...i,
4017
+ //#region src/components/form/select/select.tsx
4018
+ function mo({ options: e, value: t, defaultValue: n = "", onValueChange: r, startAdornment: i, ...a }) {
4019
+ let o = t !== void 0, [s, c] = g(n), l = o ? t : s, u = e.find((e) => e.value === l);
4020
+ return /* @__PURE__ */ j(pa, {
4021
+ ...a,
4022
+ startAdornment: i ?? (u?.icon == null ? null : /* @__PURE__ */ j(ha, { children: u.icon })),
3995
4023
  multiple: !1,
3996
- value: l ? l.value : null,
4024
+ value: u ? u.value : null,
3997
4025
  onValueChange: (e) => {
3998
4026
  let t = e ?? "";
3999
- a || s(t), r?.(t);
4027
+ o || c(t), r?.(t);
4000
4028
  },
4001
- filled: l != null,
4002
- display: l?.label,
4029
+ filled: u != null,
4030
+ display: u?.label,
4003
4031
  displayHidden: !0,
4004
- valueText: l?.label ?? "",
4005
- children: e.map((e) => /* @__PURE__ */ A(fa, { option: e }, e.value))
4032
+ valueText: u?.label ?? "",
4033
+ children: e.map((e) => /* @__PURE__ */ j(ma, { option: e }, e.value))
4006
4034
  });
4007
4035
  }
4008
- var fo = {
4036
+ var ho = {
4009
4037
  Slider: "_Slider_1qpll_10",
4010
4038
  Header: "_Header_1qpll_21",
4011
4039
  Label: "_Label_1qpll_28",
4012
4040
  Value: "_Value_1qpll_33"
4013
4041
  };
4014
4042
  //#endregion
4015
- //#region src/components/form/slider.tsx
4016
- function po({ label: e, "aria-label": t, helperText: n, error: r = !1, color: i = "primary", min: a = 0, max: o = 100, format: s, locale: c, className: l, ...u }) {
4043
+ //#region src/components/form/slider/slider.tsx
4044
+ function go({ label: e, "aria-label": t, helperText: n, error: r = !1, color: i = "primary", min: a = 0, max: o = 100, format: s, locale: c, className: l, ...u }) {
4017
4045
  let d = f(), p = f();
4018
- return /* @__PURE__ */ A(oe.Root, {
4046
+ return /* @__PURE__ */ j(oe.Root, {
4019
4047
  invalid: r,
4020
- render: Cr,
4021
- children: /* @__PURE__ */ j(B.Root, {
4048
+ render: Tr,
4049
+ children: /* @__PURE__ */ M(B.Root, {
4022
4050
  ...u,
4023
4051
  min: a,
4024
4052
  max: o,
@@ -4026,27 +4054,27 @@ function po({ label: e, "aria-label": t, helperText: n, error: r = !1, color: i
4026
4054
  locale: c,
4027
4055
  "aria-labelledby": e == null ? void 0 : d,
4028
4056
  "data-color": i,
4029
- className: G(fo.Slider, l),
4057
+ className: G(ho.Slider, l),
4030
4058
  children: [
4031
- /* @__PURE__ */ j("div", {
4032
- className: fo.Header,
4033
- children: [e != null && /* @__PURE__ */ A("div", {
4059
+ /* @__PURE__ */ M("div", {
4060
+ className: ho.Header,
4061
+ children: [e != null && /* @__PURE__ */ j("div", {
4034
4062
  id: d,
4035
- className: fo.Label,
4063
+ className: ho.Label,
4036
4064
  children: e
4037
- }), /* @__PURE__ */ A(B.Value, { className: fo.Value })]
4065
+ }), /* @__PURE__ */ j(B.Value, { className: ho.Value })]
4038
4066
  }),
4039
- /* @__PURE__ */ A(wr, {
4067
+ /* @__PURE__ */ j(Er, {
4040
4068
  "aria-label": t,
4041
4069
  "aria-describedby": n == null ? void 0 : p
4042
4070
  }),
4043
- /* @__PURE__ */ A(Tr, {
4071
+ /* @__PURE__ */ j(Dr, {
4044
4072
  min: a,
4045
4073
  max: o,
4046
4074
  format: s,
4047
4075
  locale: c
4048
4076
  }),
4049
- n != null && /* @__PURE__ */ A(Er, {
4077
+ n != null && /* @__PURE__ */ j(Or, {
4050
4078
  id: p,
4051
4079
  error: r,
4052
4080
  children: n
@@ -4055,63 +4083,63 @@ function po({ label: e, "aria-label": t, helperText: n, error: r = !1, color: i
4055
4083
  })
4056
4084
  });
4057
4085
  }
4058
- var mo = {
4086
+ var _o = {
4059
4087
  Switch: "_Switch_9c9ji_7",
4060
4088
  Thumb: "_Thumb_9c9ji_36"
4061
4089
  };
4062
4090
  //#endregion
4063
- //#region src/components/form/switch.tsx
4064
- function ho({ className: e, ...t }) {
4065
- return /* @__PURE__ */ A(_e.Root, {
4091
+ //#region src/components/form/switch/switch.tsx
4092
+ function vo({ className: e, ...t }) {
4093
+ return /* @__PURE__ */ j(_e.Root, {
4066
4094
  ...t,
4067
- className: G(mo.Switch, e),
4068
- children: /* @__PURE__ */ A(_e.Thumb, { className: mo.Thumb })
4095
+ className: G(_o.Switch, e),
4096
+ children: /* @__PURE__ */ j(_e.Thumb, { className: _o.Thumb })
4069
4097
  });
4070
4098
  }
4071
- var go = {
4099
+ var yo = {
4072
4100
  Grid: "_Grid_19t94_10",
4073
4101
  GridItem: "_GridItem_19t94_31"
4074
- }, _o = (e) => typeof e == "object" && !!e;
4075
- function vo(e, t, n = String) {
4102
+ }, bo = (e) => typeof e == "object" && !!e;
4103
+ function xo(e, t, n = String) {
4076
4104
  if (t === void 0) return {};
4077
- let r = _o(t) ? Object.entries(t) : [["base", t]], i = {};
4105
+ let r = bo(t) ? Object.entries(t) : [["base", t]], i = {};
4078
4106
  for (let [t, a] of r) a !== void 0 && (i[`--_${e}-${t}`] = n(a));
4079
4107
  return i;
4080
4108
  }
4081
4109
  //#endregion
4082
- //#region src/components/layout/grid.tsx
4083
- function yo({ columns: e, gap: t, render: n, className: r, style: i, ...a }) {
4110
+ //#region src/components/layout/grid/grid.tsx
4111
+ function So({ columns: e, gap: t, render: n, className: r, style: i, ...a }) {
4084
4112
  return N({
4085
4113
  render: n,
4086
4114
  props: {
4087
4115
  ...a,
4088
- className: G(go.Grid, r)({}),
4116
+ className: G(yo.Grid, r)({}),
4089
4117
  style: {
4090
- ...vo("columns", e),
4091
- ...vo("gap", t),
4118
+ ...xo("columns", e),
4119
+ ...xo("gap", t),
4092
4120
  ...i
4093
4121
  }
4094
4122
  }
4095
4123
  });
4096
4124
  }
4097
- var bo = (e) => e === "full" ? "1 / -1" : `span ${e} / span ${e}`;
4098
- function xo({ span: e, render: t, className: n, style: r, ...i }) {
4125
+ var Co = (e) => e === "full" ? "1 / -1" : `span ${e} / span ${e}`;
4126
+ function wo({ span: e, render: t, className: n, style: r, ...i }) {
4099
4127
  return N({
4100
4128
  render: t,
4101
4129
  props: {
4102
4130
  ...i,
4103
- className: G(go.GridItem, n)({}),
4131
+ className: G(yo.GridItem, n)({}),
4104
4132
  style: {
4105
- ...vo("span", e, bo),
4133
+ ...xo("span", e, Co),
4106
4134
  ...r
4107
4135
  }
4108
4136
  }
4109
4137
  });
4110
4138
  }
4111
- var So = { Stack: "_Stack_11xqj_10" };
4139
+ var To = { Stack: "_Stack_11xqj_10" };
4112
4140
  //#endregion
4113
- //#region src/components/layout/stack.tsx
4114
- function Co({ direction: e, gap: t, align: n, justify: r, wrap: i = !1, render: a, className: o, style: s, ...c }) {
4141
+ //#region src/components/layout/stack/stack.tsx
4142
+ function Eo({ direction: e, gap: t, align: n, justify: r, wrap: i = !1, render: a, className: o, style: s, ...c }) {
4115
4143
  return N({
4116
4144
  render: a,
4117
4145
  props: {
@@ -4119,22 +4147,22 @@ function Co({ direction: e, gap: t, align: n, justify: r, wrap: i = !1, render:
4119
4147
  "data-align": n,
4120
4148
  "data-justify": r,
4121
4149
  "data-wrap": i || void 0,
4122
- className: G(So.Stack, o)({}),
4150
+ className: G(To.Stack, o)({}),
4123
4151
  style: {
4124
- ...vo("direction", e),
4125
- ...vo("gap", t),
4152
+ ...xo("direction", e),
4153
+ ...xo("gap", t),
4126
4154
  ...s
4127
4155
  }
4128
4156
  }
4129
4157
  });
4130
4158
  }
4131
- function wo(e) {
4132
- return /* @__PURE__ */ A(Co, {
4159
+ function Do(e) {
4160
+ return /* @__PURE__ */ j(Eo, {
4133
4161
  ...e,
4134
4162
  direction: "row"
4135
4163
  });
4136
4164
  }
4137
- var To = {
4165
+ var Oo = {
4138
4166
  Header: "_Header_1p9o4_7",
4139
4167
  Lead: "_Lead_1p9o4_15",
4140
4168
  Titles: "_Titles_1p9o4_21",
@@ -4142,12 +4170,12 @@ var To = {
4142
4170
  Next: "_Next_1p9o4_42",
4143
4171
  Divider: "_Divider_1p9o4_51",
4144
4172
  SrOnly: "_SrOnly_1p9o4_58"
4145
- }, Eo = {
4173
+ }, ko = {
4146
4174
  ProgressCircle: "_ProgressCircle_a7wgh_11",
4147
4175
  Svg: "_Svg_a7wgh_23",
4148
4176
  Track: "_Track_a7wgh_31",
4149
4177
  Value: "_Value_a7wgh_35"
4150
- }, Do = [
4178
+ }, Ao = [
4151
4179
  .69,
4152
4180
  .33,
4153
4181
  .61,
@@ -4158,10 +4186,10 @@ var To = {
4158
4186
  .54,
4159
4187
  .62,
4160
4188
  .64
4161
- ], Oo = .43, ko = .69, Ao = (e, t) => {
4162
- let n = Array.from(e).reduce((e, t) => e + (t === "/" ? Oo : Do[Number(t)] ?? .69), 0);
4163
- return Math.max(t - 4, 0) / Math.hypot(n, ko);
4164
- }, jo = ({ value: e, max: a, color: o = "primary", size: s = 48, strokeWidth: c = 4, showValue: l = !0, label: u }) => {
4189
+ ], jo = .43, Mo = .69, No = (e, t) => {
4190
+ let n = Array.from(e).reduce((e, t) => e + (t === "/" ? jo : Ao[Number(t)] ?? .69), 0);
4191
+ return Math.max(t - 4, 0) / Math.hypot(n, Mo);
4192
+ }, Po = ({ value: e, max: a, color: o = "primary", size: s = 48, strokeWidth: c = 4, showValue: l = !0, label: u }) => {
4165
4193
  let f = i(), p = (s - c) / 2, m = 2 * Math.PI * p, h = a > 0 ? Math.min(Math.max(e / a, 0), 1) : 0, g = (e) => m * (1 - e), _ = r(g(0));
4166
4194
  d(() => {
4167
4195
  let e = g(h);
@@ -4180,8 +4208,8 @@ var To = {
4180
4208
  f,
4181
4209
  _
4182
4210
  ]);
4183
- let v = `${e}/${a}`, y = Ao(v, s - 2 * c);
4184
- return /* @__PURE__ */ j("div", {
4211
+ let v = `${e}/${a}`, y = No(v, s - 2 * c);
4212
+ return /* @__PURE__ */ M("div", {
4185
4213
  ...u ? {
4186
4214
  role: "progressbar",
4187
4215
  "aria-label": u,
@@ -4189,27 +4217,27 @@ var To = {
4189
4217
  "aria-valuemax": a,
4190
4218
  "aria-valuenow": e
4191
4219
  } : { "aria-hidden": !0 },
4192
- className: Eo.ProgressCircle,
4220
+ className: ko.ProgressCircle,
4193
4221
  "data-color": o,
4194
4222
  style: {
4195
4223
  width: s,
4196
4224
  height: s,
4197
4225
  "--_label-fit": `${y.toFixed(2)}px`
4198
4226
  },
4199
- children: [/* @__PURE__ */ j("svg", {
4200
- className: Eo.Svg,
4227
+ children: [/* @__PURE__ */ M("svg", {
4228
+ className: ko.Svg,
4201
4229
  width: s,
4202
4230
  height: s,
4203
4231
  viewBox: `0 0 ${s} ${s}`,
4204
- children: [/* @__PURE__ */ A("circle", {
4205
- className: Eo.Track,
4232
+ children: [/* @__PURE__ */ j("circle", {
4233
+ className: ko.Track,
4206
4234
  cx: s / 2,
4207
4235
  cy: s / 2,
4208
4236
  r: p,
4209
4237
  fill: "none",
4210
4238
  stroke: "currentColor",
4211
4239
  strokeWidth: c
4212
- }), /* @__PURE__ */ A(n.circle, {
4240
+ }), /* @__PURE__ */ j(n.circle, {
4213
4241
  cx: s / 2,
4214
4242
  cy: s / 2,
4215
4243
  r: p,
@@ -4220,12 +4248,12 @@ var To = {
4220
4248
  strokeDasharray: m,
4221
4249
  style: { strokeDashoffset: _ }
4222
4250
  })]
4223
- }), l && /* @__PURE__ */ A("span", {
4224
- className: Eo.Value,
4251
+ }), l && /* @__PURE__ */ j("span", {
4252
+ className: ko.Value,
4225
4253
  children: v
4226
4254
  })]
4227
4255
  });
4228
- }, Mo = U({
4256
+ }, Fo = U({
4229
4257
  back: {
4230
4258
  no: "Tilbake",
4231
4259
  se: "Tillbaka",
@@ -4250,34 +4278,34 @@ var To = {
4250
4278
  fi: "/",
4251
4279
  es: "de"
4252
4280
  }
4253
- }), No = ({ currentStep: e, totalSteps: t, title: n, nextStep: r, onBack: i, color: a = "primary", titleAs: o = "heading", headingLevel: s = "h1", titleId: c, labels: l, showDivider: u = !0 }) => {
4281
+ }), Io = ({ currentStep: e, totalSteps: t, title: n, nextStep: r, onBack: i, color: a = "primary", titleAs: o = "heading", headingLevel: s = "h1", titleId: c, labels: l, showDivider: u = !0 }) => {
4254
4282
  let d = {
4255
- ...Mo(),
4283
+ ...Fo(),
4256
4284
  ...l
4257
4285
  }, p = f(), m = c ?? p, h = o === "heading" ? s : "p", g = `, ${d.step} ${e} ${d.of} ${t}`;
4258
- return /* @__PURE__ */ j(k, { children: [/* @__PURE__ */ j("div", {
4259
- className: To.Header,
4260
- children: [/* @__PURE__ */ j("div", {
4261
- className: To.Lead,
4262
- children: [i && /* @__PURE__ */ A(lt, {
4286
+ return /* @__PURE__ */ M(A, { children: [/* @__PURE__ */ M("div", {
4287
+ className: Oo.Header,
4288
+ children: [/* @__PURE__ */ M("div", {
4289
+ className: Oo.Lead,
4290
+ children: [i && /* @__PURE__ */ j(lt, {
4263
4291
  "aria-label": d.back,
4264
4292
  onClick: i,
4265
4293
  variant: "outline",
4266
4294
  color: "secondary",
4267
- children: /* @__PURE__ */ A(_, { "aria-hidden": !0 })
4268
- }), /* @__PURE__ */ j("div", {
4269
- className: To.Titles,
4270
- children: [/* @__PURE__ */ j(h, {
4295
+ children: /* @__PURE__ */ j(_, { "aria-hidden": !0 })
4296
+ }), /* @__PURE__ */ M("div", {
4297
+ className: Oo.Titles,
4298
+ children: [/* @__PURE__ */ M(h, {
4271
4299
  id: m,
4272
4300
  tabIndex: -1,
4273
- className: To.Title,
4301
+ className: Oo.Title,
4274
4302
  "data-title-as": o,
4275
- children: [n, /* @__PURE__ */ A("span", {
4276
- className: To.SrOnly,
4303
+ children: [n, /* @__PURE__ */ j("span", {
4304
+ className: Oo.SrOnly,
4277
4305
  children: g
4278
4306
  })]
4279
- }), r != null && /* @__PURE__ */ j("p", {
4280
- className: To.Next,
4307
+ }), r != null && /* @__PURE__ */ M("p", {
4308
+ className: Oo.Next,
4281
4309
  children: [
4282
4310
  d.next,
4283
4311
  ": ",
@@ -4285,13 +4313,13 @@ var To = {
4285
4313
  ]
4286
4314
  })]
4287
4315
  })]
4288
- }), /* @__PURE__ */ A(jo, {
4316
+ }), /* @__PURE__ */ j(Po, {
4289
4317
  value: e,
4290
4318
  max: t,
4291
4319
  color: a
4292
4320
  })]
4293
- }), u && /* @__PURE__ */ A("hr", { className: To.Divider })] });
4294
- }, Po = {
4321
+ }), u && /* @__PURE__ */ j("hr", { className: Oo.Divider })] });
4322
+ }, Lo = {
4295
4323
  LinearFormStepper: "_LinearFormStepper_160tf_7",
4296
4324
  Progress: "_Progress_160tf_22",
4297
4325
  Track: "_Track_160tf_26",
@@ -4300,54 +4328,54 @@ var To = {
4300
4328
  Title: "_Title_160tf_47",
4301
4329
  TitleText: "_TitleText_160tf_57",
4302
4330
  "stepper-title-in": "_stepper-title-in_160tf_1"
4303
- }, Fo = ({ currentStep: e, totalSteps: t, title: n, onBack: r, color: i = "primary", headingLevel: a = "h1", titleId: o, labels: s }) => {
4331
+ }, Ro = ({ currentStep: e, totalSteps: t, title: n, onBack: r, color: i = "primary", headingLevel: a = "h1", titleId: o, labels: s }) => {
4304
4332
  let c = {
4305
- ...Mo(),
4333
+ ...Fo(),
4306
4334
  ...s
4307
4335
  }, l = f(), u = o ?? l;
4308
- return /* @__PURE__ */ j("div", {
4309
- className: Po.LinearFormStepper,
4336
+ return /* @__PURE__ */ M("div", {
4337
+ className: Lo.LinearFormStepper,
4310
4338
  "data-color": i,
4311
- children: [/* @__PURE__ */ A(ve.Root, {
4312
- className: Po.Progress,
4339
+ children: [/* @__PURE__ */ j(ve.Root, {
4340
+ className: Lo.Progress,
4313
4341
  value: e,
4314
4342
  max: t,
4315
4343
  "aria-labelledby": u,
4316
4344
  getAriaValueText: () => `${c.step} ${e} ${c.of} ${t}`,
4317
- children: /* @__PURE__ */ A(ve.Track, {
4318
- className: Po.Track,
4319
- children: /* @__PURE__ */ A(ve.Indicator, { className: Po.Indicator })
4345
+ children: /* @__PURE__ */ j(ve.Track, {
4346
+ className: Lo.Track,
4347
+ children: /* @__PURE__ */ j(ve.Indicator, { className: Lo.Indicator })
4320
4348
  })
4321
- }), /* @__PURE__ */ j("div", {
4322
- className: Po.Header,
4323
- children: [r && /* @__PURE__ */ A(lt, {
4349
+ }), /* @__PURE__ */ M("div", {
4350
+ className: Lo.Header,
4351
+ children: [r && /* @__PURE__ */ j(lt, {
4324
4352
  "aria-label": c.back,
4325
4353
  onClick: r,
4326
4354
  variant: "outline",
4327
4355
  color: "secondary",
4328
- children: /* @__PURE__ */ A(_, { "aria-hidden": !0 })
4329
- }), /* @__PURE__ */ A(a, {
4356
+ children: /* @__PURE__ */ j(_, { "aria-hidden": !0 })
4357
+ }), /* @__PURE__ */ j(a, {
4330
4358
  id: u,
4331
4359
  tabIndex: -1,
4332
- className: Po.Title,
4333
- children: /* @__PURE__ */ A("span", {
4334
- className: Po.TitleText,
4360
+ className: Lo.Title,
4361
+ children: /* @__PURE__ */ j("span", {
4362
+ className: Lo.TitleText,
4335
4363
  children: n
4336
4364
  }, e)
4337
4365
  })]
4338
4366
  })]
4339
4367
  });
4340
- }, Io = s(null), Lo = s(null), Ro = ({ children: e, initialProgress: t }) => {
4368
+ }, zo = s(null), Bo = s(null), Vo = ({ children: e, initialProgress: t }) => {
4341
4369
  let [n, r] = g(t ?? null);
4342
- return /* @__PURE__ */ A(Lo.Provider, {
4370
+ return /* @__PURE__ */ j(Bo.Provider, {
4343
4371
  value: r,
4344
- children: /* @__PURE__ */ A(Io.Provider, {
4372
+ children: /* @__PURE__ */ j(zo.Provider, {
4345
4373
  value: n,
4346
4374
  children: e
4347
4375
  })
4348
4376
  });
4349
- }, zo = () => u(Io), Bo = (e) => {
4350
- let t = u(Lo), n = e?.currentStep, r = e?.totalSteps, i = e?.title;
4377
+ }, Ho = () => u(zo), Uo = (e) => {
4378
+ let t = u(Bo), n = e?.currentStep, r = e?.totalSteps, i = e?.title;
4351
4379
  d(() => {
4352
4380
  !t || n === void 0 || r === void 0 || i === void 0 || t({
4353
4381
  currentStep: n,
@@ -4360,58 +4388,58 @@ var To = {
4360
4388
  r,
4361
4389
  i
4362
4390
  ]);
4363
- }, Vo = (e) => {
4364
- let t = zo();
4365
- return t ? /* @__PURE__ */ A(Fo, {
4391
+ }, Wo = (e) => {
4392
+ let t = Ho();
4393
+ return t ? /* @__PURE__ */ j(Ro, {
4366
4394
  ...e,
4367
4395
  ...t
4368
4396
  }) : null;
4369
- }, Ho = {
4397
+ }, Go = {
4370
4398
  Tabs: "_Tabs_y4jai_7",
4371
4399
  List: "_List_y4jai_28",
4372
4400
  Tab: "_Tab_y4jai_7",
4373
4401
  Panel: "_Panel_y4jai_95",
4374
4402
  Indicator: "_Indicator_y4jai_104"
4375
- }, Uo = /* @__PURE__ */ Se({
4376
- Indicator: () => qo,
4377
- List: () => Go,
4378
- Panel: () => Jo,
4379
- Root: () => Wo,
4380
- Tab: () => Ko
4403
+ }, Ko = /* @__PURE__ */ Se({
4404
+ Indicator: () => Xo,
4405
+ List: () => Jo,
4406
+ Panel: () => Zo,
4407
+ Root: () => qo,
4408
+ Tab: () => Yo
4381
4409
  });
4382
- function Wo({ color: e = "primary", className: t, ...n }) {
4383
- return /* @__PURE__ */ A(ye.Root, {
4410
+ function qo({ color: e = "primary", className: t, ...n }) {
4411
+ return /* @__PURE__ */ j(ye.Root, {
4384
4412
  ...n,
4385
4413
  "data-color": e,
4386
- className: G(Ho.Tabs, t)
4414
+ className: G(Go.Tabs, t)
4387
4415
  });
4388
4416
  }
4389
- function Go({ children: e, className: t, ...n }) {
4390
- return /* @__PURE__ */ j(ye.List, {
4417
+ function Jo({ children: e, className: t, ...n }) {
4418
+ return /* @__PURE__ */ M(ye.List, {
4391
4419
  ...n,
4392
- className: G(Ho.List, t),
4393
- children: [e, /* @__PURE__ */ A(qo, {})]
4420
+ className: G(Go.List, t),
4421
+ children: [e, /* @__PURE__ */ j(Xo, {})]
4394
4422
  });
4395
4423
  }
4396
- function Ko({ className: e, ...t }) {
4397
- return /* @__PURE__ */ A(ye.Tab, {
4424
+ function Yo({ className: e, ...t }) {
4425
+ return /* @__PURE__ */ j(ye.Tab, {
4398
4426
  ...t,
4399
- className: G(Ho.Tab, e)
4427
+ className: G(Go.Tab, e)
4400
4428
  });
4401
4429
  }
4402
- function qo({ className: e, ...t }) {
4403
- return /* @__PURE__ */ A(ye.Indicator, {
4430
+ function Xo({ className: e, ...t }) {
4431
+ return /* @__PURE__ */ j(ye.Indicator, {
4404
4432
  ...t,
4405
- className: G(Ho.Indicator, e)
4433
+ className: G(Go.Indicator, e)
4406
4434
  });
4407
4435
  }
4408
- function Jo({ className: e, ...t }) {
4409
- return /* @__PURE__ */ A(ye.Panel, {
4436
+ function Zo({ className: e, ...t }) {
4437
+ return /* @__PURE__ */ j(ye.Panel, {
4410
4438
  ...t,
4411
- className: G(Ho.Panel, e)
4439
+ className: G(Go.Panel, e)
4412
4440
  });
4413
4441
  }
4414
- var Yo = {
4442
+ var Qo = {
4415
4443
  Breadcrumbs: "_Breadcrumbs_1p42m_8",
4416
4444
  List: "_List_1p42m_12",
4417
4445
  Item: "_Item_1p42m_26",
@@ -4419,15 +4447,15 @@ var Yo = {
4419
4447
  Link: "_Link_1p42m_39",
4420
4448
  Text: "_Text_1p42m_40",
4421
4449
  Current: "_Current_1p42m_55"
4422
- }, Xo = U({ label: {
4450
+ }, $o = U({ label: {
4423
4451
  no: "Brødsmulesti",
4424
4452
  se: "Brödsmulor",
4425
4453
  fi: "Murupolku",
4426
4454
  es: "Ruta de navegación"
4427
4455
  } });
4428
4456
  //#endregion
4429
- //#region src/components/navigation/breadcrumbs.tsx
4430
- function Zo({ item: e }) {
4457
+ //#region src/components/navigation/breadcrumbs/breadcrumbs.tsx
4458
+ function es({ item: e }) {
4431
4459
  let t = e.href != null || e.render != null;
4432
4460
  return N({
4433
4461
  enabled: t,
@@ -4435,45 +4463,45 @@ function Zo({ item: e }) {
4435
4463
  defaultTagName: "a",
4436
4464
  props: {
4437
4465
  href: e.href,
4438
- className: Yo.Link,
4466
+ className: Qo.Link,
4439
4467
  children: e.label
4440
4468
  }
4441
- }) ?? /* @__PURE__ */ A("span", {
4442
- className: Yo.Text,
4469
+ }) ?? /* @__PURE__ */ j("span", {
4470
+ className: Qo.Text,
4443
4471
  children: e.label
4444
4472
  });
4445
4473
  }
4446
- function Qo({ items: e, className: t, ...n }) {
4447
- let r = Xo();
4474
+ function ts({ items: e, className: t, ...n }) {
4475
+ let r = $o();
4448
4476
  if (e.length === 0) return null;
4449
4477
  let i = e.length - 1;
4450
- return /* @__PURE__ */ A("nav", {
4478
+ return /* @__PURE__ */ j("nav", {
4451
4479
  "aria-label": r.label,
4452
4480
  ...n,
4453
- className: [Yo.Breadcrumbs, t].filter(Boolean).join(" "),
4454
- children: /* @__PURE__ */ A("ol", {
4455
- className: Yo.List,
4456
- children: e.map((e, t) => /* @__PURE__ */ j("li", {
4457
- className: Yo.Item,
4458
- children: [t > 0 && /* @__PURE__ */ A("span", {
4481
+ className: [Qo.Breadcrumbs, t].filter(Boolean).join(" "),
4482
+ children: /* @__PURE__ */ j("ol", {
4483
+ className: Qo.List,
4484
+ children: e.map((e, t) => /* @__PURE__ */ M("li", {
4485
+ className: Qo.Item,
4486
+ children: [t > 0 && /* @__PURE__ */ j("span", {
4459
4487
  "aria-hidden": !0,
4460
- className: Yo.Separator,
4488
+ className: Qo.Separator,
4461
4489
  children: "/"
4462
- }), t === i ? /* @__PURE__ */ A("span", {
4490
+ }), t === i ? /* @__PURE__ */ j("span", {
4463
4491
  "aria-current": "page",
4464
- className: Yo.Current,
4492
+ className: Qo.Current,
4465
4493
  children: e.label
4466
- }) : /* @__PURE__ */ A(Zo, { item: e })]
4494
+ }) : /* @__PURE__ */ j(es, { item: e })]
4467
4495
  }, t))
4468
4496
  })
4469
4497
  });
4470
4498
  }
4471
- var $o = {
4499
+ var ns = {
4472
4500
  Pagination: "_Pagination_18k1j_7",
4473
4501
  List: "_List_18k1j_11",
4474
4502
  Item: "_Item_18k1j_21",
4475
4503
  Ellipsis: "_Ellipsis_18k1j_75"
4476
- }, es = U({
4504
+ }, rs = U({
4477
4505
  label: {
4478
4506
  no: "Sider",
4479
4507
  se: "Sidor",
@@ -4504,20 +4532,20 @@ var $o = {
4504
4532
  fi: "Siirry sivulle {page}",
4505
4533
  es: "Ir a la página {page}"
4506
4534
  }
4507
- }), ts = (e, t) => e.replace("{page}", String(t));
4535
+ }), is = (e, t) => e.replace("{page}", String(t));
4508
4536
  //#endregion
4509
- //#region src/components/navigation/pagination.tsx
4510
- function ns(e, t) {
4537
+ //#region src/components/navigation/pagination/pagination.tsx
4538
+ function as(e, t) {
4511
4539
  if (t <= 7) return Array.from({ length: t }, (e, t) => t + 1);
4512
4540
  let n = Math.max(2, e - 1), r = Math.min(t - 1, e + 1), i = [1];
4513
4541
  n > 2 && i.push("start-ellipsis");
4514
4542
  for (let e = n; e <= r; e += 1) i.push(e);
4515
4543
  return r < t - 1 && i.push("end-ellipsis"), i.push(t), i;
4516
4544
  }
4517
- var rs = (e, t) => Math.min(Math.max(Math.round(e), 1), Math.max(t, 1));
4518
- function is({ page: e, label: t, current: n = !1, disabled: r = !1, renderLink: i, onSelect: a, children: o }) {
4545
+ var os = (e, t) => Math.min(Math.max(Math.round(e), 1), Math.max(t, 1));
4546
+ function ss({ page: e, label: t, current: n = !1, disabled: r = !1, renderLink: i, onSelect: a, children: o }) {
4519
4547
  let s = {
4520
- className: $o.Item,
4548
+ className: ns.Item,
4521
4549
  "aria-label": t,
4522
4550
  "aria-current": n ? "page" : void 0,
4523
4551
  "data-current": n ? "" : void 0,
@@ -4532,51 +4560,51 @@ function is({ page: e, label: t, current: n = !1, disabled: r = !1, renderLink:
4532
4560
  ...s,
4533
4561
  onClick: () => a(e)
4534
4562
  }
4535
- }) || (i == null ? /* @__PURE__ */ A("button", {
4563
+ }) || (i == null ? /* @__PURE__ */ j("button", {
4536
4564
  ...s,
4537
4565
  type: "button",
4538
4566
  "aria-disabled": r || void 0,
4539
4567
  onClick: () => {
4540
4568
  r || a(e);
4541
4569
  }
4542
- }) : /* @__PURE__ */ A("span", {
4570
+ }) : /* @__PURE__ */ j("span", {
4543
4571
  ...s,
4544
4572
  "aria-disabled": "true"
4545
4573
  }));
4546
4574
  }
4547
- function as({ count: e, value: t, defaultValue: n = 1, onValueChange: r, renderLink: i, className: a, ...o }) {
4548
- let s = es(), [c, l] = g(n), u = rs(t ?? c, e);
4575
+ function cs({ count: e, value: t, defaultValue: n = 1, onValueChange: r, renderLink: i, className: a, ...o }) {
4576
+ let s = rs(), [c, l] = g(n), u = os(t ?? c, e);
4549
4577
  if (e <= 1) return null;
4550
4578
  let d = (e) => {
4551
4579
  t === void 0 && l(e), e !== u && r?.(e);
4552
4580
  };
4553
- return /* @__PURE__ */ A("nav", {
4581
+ return /* @__PURE__ */ j("nav", {
4554
4582
  "aria-label": s.label,
4555
4583
  ...o,
4556
- className: [$o.Pagination, a].filter(Boolean).join(" "),
4557
- children: /* @__PURE__ */ j("ul", {
4558
- className: $o.List,
4584
+ className: [ns.Pagination, a].filter(Boolean).join(" "),
4585
+ children: /* @__PURE__ */ M("ul", {
4586
+ className: ns.List,
4559
4587
  children: [
4560
- /* @__PURE__ */ A("li", { children: /* @__PURE__ */ A(is, {
4588
+ /* @__PURE__ */ j("li", { children: /* @__PURE__ */ j(ss, {
4561
4589
  page: u - 1,
4562
4590
  disabled: u <= 1,
4563
4591
  renderLink: i,
4564
4592
  onSelect: d,
4565
4593
  children: s.previous
4566
4594
  }) }),
4567
- ns(u, e).map((e) => typeof e == "number" ? /* @__PURE__ */ A("li", { children: /* @__PURE__ */ A(is, {
4595
+ as(u, e).map((e) => typeof e == "number" ? /* @__PURE__ */ j("li", { children: /* @__PURE__ */ j(ss, {
4568
4596
  page: e,
4569
- label: ts(s.page, e),
4597
+ label: is(s.page, e),
4570
4598
  current: e === u,
4571
4599
  renderLink: i,
4572
4600
  onSelect: d,
4573
4601
  children: e
4574
- }) }, e) : /* @__PURE__ */ A("li", {
4602
+ }) }, e) : /* @__PURE__ */ j("li", {
4575
4603
  "aria-hidden": !0,
4576
- className: $o.Ellipsis,
4604
+ className: ns.Ellipsis,
4577
4605
  children: "…"
4578
4606
  }, e)),
4579
- /* @__PURE__ */ A("li", { children: /* @__PURE__ */ A(is, {
4607
+ /* @__PURE__ */ j("li", { children: /* @__PURE__ */ j(ss, {
4580
4608
  page: u + 1,
4581
4609
  disabled: u >= e,
4582
4610
  renderLink: i,
@@ -4587,29 +4615,29 @@ function as({ count: e, value: t, defaultValue: n = 1, onValueChange: r, renderL
4587
4615
  })
4588
4616
  });
4589
4617
  }
4590
- var os = {
4618
+ var ls = {
4591
4619
  PaginationDots: "_PaginationDots_17xgb_12",
4592
4620
  Dot: "_Dot_17xgb_19"
4593
4621
  };
4594
4622
  //#endregion
4595
- //#region src/components/navigation/pagination-dots.tsx
4596
- function ss({ count: e, value: t, defaultValue: n = 1, onValueChange: r, getItemLabel: i, className: a, ...o }) {
4597
- let s = es(), [c, l] = g(n), u = t ?? c;
4623
+ //#region src/components/navigation/pagination-dots/pagination-dots.tsx
4624
+ function us({ count: e, value: t, defaultValue: n = 1, onValueChange: r, getItemLabel: i, className: a, ...o }) {
4625
+ let s = rs(), [c, l] = g(n), u = t ?? c;
4598
4626
  if (e <= 1) return null;
4599
4627
  let d = (e) => {
4600
4628
  t === void 0 && l(e), e !== u && r?.(e);
4601
4629
  };
4602
- return /* @__PURE__ */ A("div", {
4630
+ return /* @__PURE__ */ j("div", {
4603
4631
  role: "group",
4604
4632
  "aria-label": s.label,
4605
4633
  ...o,
4606
- className: [os.PaginationDots, a].filter(Boolean).join(" "),
4634
+ className: [ls.PaginationDots, a].filter(Boolean).join(" "),
4607
4635
  children: Array.from({ length: e }, (e, t) => {
4608
4636
  let n = t + 1, r = n === u;
4609
- return /* @__PURE__ */ A("button", {
4637
+ return /* @__PURE__ */ j("button", {
4610
4638
  type: "button",
4611
- className: os.Dot,
4612
- "aria-label": i?.(n) ?? ts(s.goToPage, n),
4639
+ className: ls.Dot,
4640
+ "aria-label": i?.(n) ?? is(s.goToPage, n),
4613
4641
  "aria-current": r || void 0,
4614
4642
  "data-current": r ? "" : void 0,
4615
4643
  onClick: () => d(n)
@@ -4617,7 +4645,34 @@ function ss({ count: e, value: t, defaultValue: n = 1, onValueChange: r, getItem
4617
4645
  })
4618
4646
  });
4619
4647
  }
4620
- var cs = {
4648
+ var ds = {
4649
+ AppHeader: "_AppHeader_1s0uj_1",
4650
+ AppHeaderContent: "_AppHeaderContent_1s0uj_11",
4651
+ AppHeaderLogo: "_AppHeaderLogo_1s0uj_28",
4652
+ AppHeaderActions: "_AppHeaderActions_1s0uj_33"
4653
+ }, fs = ({ brandDivider: e = !0, fluid: t = !1, children: n, logo: r, className: i }) => {
4654
+ let o = a.toArray(n).length > 0;
4655
+ return /* @__PURE__ */ M("header", {
4656
+ className: [ds.AppHeader, i].filter(Boolean).join(" "),
4657
+ "data-brand-divider": e || void 0,
4658
+ "data-has-children": o || void 0,
4659
+ children: [/* @__PURE__ */ M(sr, {
4660
+ className: ds.AppHeaderContent,
4661
+ "data-fluid": t || void 0,
4662
+ children: [/* @__PURE__ */ j("div", {
4663
+ className: ds.AppHeaderLogo,
4664
+ children: r || /* @__PURE__ */ j("img", {
4665
+ src: "/leabank-logo.png",
4666
+ alt: "Logo",
4667
+ width: 100
4668
+ })
4669
+ }), o && /* @__PURE__ */ j("div", {
4670
+ className: ds.AppHeaderActions,
4671
+ children: n
4672
+ })]
4673
+ }), e && /* @__PURE__ */ j(Sn, { size: "sm" })]
4674
+ });
4675
+ }, ps = {
4621
4676
  Root: "_Root_oibl2_13",
4622
4677
  Item: "_Item_oibl2_10",
4623
4678
  Header: "_Header_oibl2_10",
@@ -4626,81 +4681,81 @@ var cs = {
4626
4681
  Icon: "_Icon_oibl2_153",
4627
4682
  Panel: "_Panel_oibl2_171",
4628
4683
  Content: "_Content_oibl2_182"
4629
- }, ls = /* @__PURE__ */ Se({
4630
- Header: () => fs,
4631
- Item: () => ds,
4632
- Panel: () => ms,
4633
- Root: () => us,
4634
- Trigger: () => ps
4684
+ }, ms = /* @__PURE__ */ Se({
4685
+ Header: () => _s,
4686
+ Item: () => gs,
4687
+ Panel: () => ys,
4688
+ Root: () => hs,
4689
+ Trigger: () => vs
4635
4690
  });
4636
- function us({ variant: e = "outline", iconPosition: t = "end", className: n, ...r }) {
4637
- return /* @__PURE__ */ A(be.Root, {
4691
+ function hs({ variant: e = "outline", iconPosition: t = "end", className: n, ...r }) {
4692
+ return /* @__PURE__ */ j(be.Root, {
4638
4693
  ...r,
4639
4694
  "data-variant": e,
4640
4695
  "data-icon-position": t,
4641
- className: G(cs.Root, n)
4696
+ className: G(ps.Root, n)
4642
4697
  });
4643
4698
  }
4644
- function ds({ className: e, ...t }) {
4645
- return /* @__PURE__ */ A(be.Item, {
4699
+ function gs({ className: e, ...t }) {
4700
+ return /* @__PURE__ */ j(be.Item, {
4646
4701
  ...t,
4647
- className: G(cs.Item, e)
4702
+ className: G(ps.Item, e)
4648
4703
  });
4649
4704
  }
4650
- function fs({ className: e, ...t }) {
4651
- return /* @__PURE__ */ A(be.Header, {
4705
+ function _s({ className: e, ...t }) {
4706
+ return /* @__PURE__ */ j(be.Header, {
4652
4707
  ...t,
4653
- className: G(cs.Header, e)
4708
+ className: G(ps.Header, e)
4654
4709
  });
4655
4710
  }
4656
- function ps({ children: e, className: t, ...n }) {
4657
- return /* @__PURE__ */ j(be.Trigger, {
4711
+ function vs({ children: e, className: t, ...n }) {
4712
+ return /* @__PURE__ */ M(be.Trigger, {
4658
4713
  ...n,
4659
- className: G(cs.Trigger, t),
4660
- children: [/* @__PURE__ */ A("span", {
4661
- className: cs.Label,
4714
+ className: G(ps.Trigger, t),
4715
+ children: [/* @__PURE__ */ j("span", {
4716
+ className: ps.Label,
4662
4717
  children: e
4663
- }), /* @__PURE__ */ A(b, {
4664
- className: cs.Icon,
4718
+ }), /* @__PURE__ */ j(b, {
4719
+ className: ps.Icon,
4665
4720
  size: 20,
4666
4721
  "aria-hidden": !0
4667
4722
  })]
4668
4723
  });
4669
4724
  }
4670
- function ms({ children: e, className: t, ...n }) {
4671
- return /* @__PURE__ */ A(be.Panel, {
4725
+ function ys({ children: e, className: t, ...n }) {
4726
+ return /* @__PURE__ */ j(be.Panel, {
4672
4727
  ...n,
4673
- className: G(cs.Panel, t),
4674
- children: /* @__PURE__ */ A("div", {
4675
- className: cs.Content,
4728
+ className: G(ps.Panel, t),
4729
+ children: /* @__PURE__ */ j("div", {
4730
+ className: ps.Content,
4676
4731
  children: e
4677
4732
  })
4678
4733
  });
4679
4734
  }
4680
4735
  //#endregion
4681
- //#region src/components/surfaces/simple-accordion.tsx
4682
- function hs({ items: e, title: t, content: n, action: r, ...i }) {
4736
+ //#region src/components/surfaces/accordion/simple-accordion.tsx
4737
+ function bs({ items: e, title: t, content: n, action: r, ...i }) {
4683
4738
  let a = e ?? [{
4684
4739
  title: t,
4685
4740
  content: n,
4686
4741
  action: r
4687
4742
  }];
4688
- return /* @__PURE__ */ A(us, {
4743
+ return /* @__PURE__ */ j(hs, {
4689
4744
  ...i,
4690
4745
  children: a.map((e, t) => {
4691
4746
  let n = e.value ?? String(t);
4692
- return /* @__PURE__ */ j(ds, {
4747
+ return /* @__PURE__ */ M(gs, {
4693
4748
  value: n,
4694
4749
  disabled: e.disabled,
4695
- children: [/* @__PURE__ */ j(fs, { children: [/* @__PURE__ */ A(ps, { children: e.title }), e.action] }), /* @__PURE__ */ A(ms, { children: e.content })]
4750
+ children: [/* @__PURE__ */ M(_s, { children: [/* @__PURE__ */ j(vs, { children: e.title }), e.action] }), /* @__PURE__ */ j(ys, { children: e.content })]
4696
4751
  }, n);
4697
4752
  })
4698
4753
  });
4699
4754
  }
4700
- var gs = { Panel: "_Panel_1n14v_7" };
4755
+ var xs = { Panel: "_Panel_1n14v_7" };
4701
4756
  //#endregion
4702
- //#region src/components/surfaces/panel.tsx
4703
- function _s({ render: e, ref: t, className: n, size: r, ...i }) {
4757
+ //#region src/components/surfaces/panel/panel.tsx
4758
+ function Ss({ render: e, ref: t, className: n, size: r, ...i }) {
4704
4759
  return N({
4705
4760
  render: e,
4706
4761
  ref: t,
@@ -4708,65 +4763,36 @@ function _s({ render: e, ref: t, className: n, size: r, ...i }) {
4708
4763
  props: {
4709
4764
  ...i,
4710
4765
  "data-size": r,
4711
- className: G(gs.Panel, n)({})
4766
+ className: G(xs.Panel, n)({})
4712
4767
  }
4713
4768
  });
4714
4769
  }
4715
- var vs = { BrandDivider: "_BrandDivider_10exs_6" }, ys = ({ size: e = "sm" }) => /* @__PURE__ */ A("div", {
4716
- "aria-hidden": "true",
4717
- className: vs.BrandDivider,
4718
- "data-size": e
4719
- }), bs = {
4720
- AppHeader: "_AppHeader_1s0uj_1",
4721
- AppHeaderContent: "_AppHeaderContent_1s0uj_11",
4722
- AppHeaderLogo: "_AppHeaderLogo_1s0uj_28",
4723
- AppHeaderActions: "_AppHeaderActions_1s0uj_33"
4724
- }, xs = ({ brandDivider: e = !0, fluid: t = !1, children: n, logo: r, className: i }) => {
4725
- let o = a.toArray(n).length > 0;
4726
- return /* @__PURE__ */ j("header", {
4727
- className: [bs.AppHeader, i].filter(Boolean).join(" "),
4728
- "data-brand-divider": e || void 0,
4729
- "data-has-children": o || void 0,
4730
- children: [/* @__PURE__ */ j(ar, {
4731
- className: bs.AppHeaderContent,
4732
- "data-fluid": t || void 0,
4733
- children: [/* @__PURE__ */ A("div", {
4734
- className: bs.AppHeaderLogo,
4735
- children: r || /* @__PURE__ */ A("img", {
4736
- src: "/leabank-logo.png",
4737
- alt: "Logo",
4738
- width: 100
4739
- })
4740
- }), o && /* @__PURE__ */ A("div", {
4741
- className: bs.AppHeaderActions,
4742
- children: n
4743
- })]
4744
- }), e && /* @__PURE__ */ A(ys, { size: "sm" })]
4745
- });
4746
- }, Ss = s(null);
4747
- function Cs({ country: e, children: t }) {
4770
+ //#endregion
4771
+ //#region src/hooks/country/country-context.tsx
4772
+ var Cs = s(null);
4773
+ function ws({ country: e, children: t }) {
4748
4774
  let n = m(() => {
4749
- let t = _a[e];
4775
+ let t = ba[e];
4750
4776
  return {
4751
4777
  country: t.country,
4752
4778
  locale: t.locale,
4753
4779
  currency: t.currency
4754
4780
  };
4755
4781
  }, [e]);
4756
- return /* @__PURE__ */ A(Ss.Provider, {
4782
+ return /* @__PURE__ */ j(Cs.Provider, {
4757
4783
  value: n,
4758
4784
  children: t
4759
4785
  });
4760
4786
  }
4761
- function ws() {
4762
- let e = u(Ss);
4787
+ function Ts() {
4788
+ let e = u(Cs);
4763
4789
  if (!e) throw Error("Country hooks must be used within a <CountryProvider>.");
4764
4790
  return e;
4765
4791
  }
4766
4792
  //#endregion
4767
4793
  //#region src/hooks/use-format-currency.ts
4768
- function Ts() {
4769
- let { locale: e, currency: t } = ws(), n = m(() => new Intl.NumberFormat(e, {
4794
+ function Es() {
4795
+ let { locale: e, currency: t } = Ts(), n = m(() => new Intl.NumberFormat(e, {
4770
4796
  style: "currency",
4771
4797
  currency: t
4772
4798
  }), [e, t]);
@@ -4785,29 +4811,29 @@ function Ts() {
4785
4811
  }
4786
4812
  //#endregion
4787
4813
  //#region src/hooks/use-format-date.ts
4788
- var Es = {
4814
+ var Ds = {
4789
4815
  year: "numeric",
4790
4816
  month: "short",
4791
4817
  day: "numeric"
4792
4818
  };
4793
- function Ds(e) {
4819
+ function Os(e) {
4794
4820
  return e instanceof Date ? e : new Date(e);
4795
4821
  }
4796
- function Os() {
4797
- let { locale: e } = ws(), t = m(() => new Intl.DateTimeFormat(e, Es), [e]);
4822
+ function ks() {
4823
+ let { locale: e } = Ts(), t = m(() => new Intl.DateTimeFormat(e, Ds), [e]);
4798
4824
  return l((n, r) => {
4799
- let i = Ds(n);
4825
+ let i = Os(n);
4800
4826
  return r ? new Intl.DateTimeFormat(e, r).format(i) : t.format(i);
4801
4827
  }, [t, e]);
4802
4828
  }
4803
4829
  //#endregion
4804
4830
  //#region src/hooks/use-format-number.ts
4805
- function ks() {
4806
- let { locale: e } = ws(), t = m(() => new Intl.NumberFormat(e), [e]);
4831
+ function As() {
4832
+ let { locale: e } = Ts(), t = m(() => new Intl.NumberFormat(e), [e]);
4807
4833
  return l((n, r) => r ? new Intl.NumberFormat(e, r).format(n) : t.format(n), [t, e]);
4808
4834
  }
4809
- function As() {
4810
- let { locale: e } = ws(), t = m(() => new Intl.NumberFormat(e, {
4835
+ function js() {
4836
+ let { locale: e } = Ts(), t = m(() => new Intl.NumberFormat(e, {
4811
4837
  style: "percent",
4812
4838
  minimumFractionDigits: 2,
4813
4839
  maximumFractionDigits: 2
@@ -4819,59 +4845,59 @@ function As() {
4819
4845
  }
4820
4846
  //#endregion
4821
4847
  //#region src/hooks/validation/use-validation.ts
4822
- function js() {
4823
- let { country: e } = ws(), t = l((t) => si(e, t), [e]), n = l((t) => ci(e, t), [e]);
4824
- return Object.assign(t, { validate: n });
4825
- }
4826
4848
  function Ms() {
4827
- let { country: e } = ws(), t = l((t) => gi(e, t), [e]), n = l((t) => hi(e, t), [e]);
4849
+ let { country: e } = Ts(), t = l((t) => li(e, t), [e]), n = l((t) => ui(e, t), [e]);
4828
4850
  return Object.assign(t, { validate: n });
4829
4851
  }
4830
4852
  function Ns() {
4831
- let { country: e } = ws(), t = l((t) => Ai(e, t), [e]), n = l((t) => ki(e, t), [e]);
4853
+ let { country: e } = Ts(), t = l((t) => vi(e, t), [e]), n = l((t) => _i(e, t), [e]);
4854
+ return Object.assign(t, { validate: n });
4855
+ }
4856
+ function Ps() {
4857
+ let { country: e } = Ts(), t = l((t) => Mi(e, t), [e]), n = l((t) => ji(e, t), [e]);
4832
4858
  return Object.assign(t, { validate: n });
4833
4859
  }
4834
4860
  //#endregion
4835
4861
  //#region src/provider/lea-provider.tsx
4836
- function Ps({ language: e = "no", children: t }) {
4837
- return /* @__PURE__ */ A(Ae.Provider, {
4862
+ function Fs({ language: e = "no", children: t }) {
4863
+ return /* @__PURE__ */ j(Ae.Provider, {
4838
4864
  value: e,
4839
4865
  children: t
4840
4866
  });
4841
4867
  }
4842
4868
  //#endregion
4843
4869
  //#region src/theme/tokens/breakpoints.ts
4844
- var Fs = {
4870
+ var Is = {
4845
4871
  xs: 0,
4846
4872
  sm: 600,
4847
4873
  md: 900,
4848
4874
  lg: 1200,
4849
4875
  xl: 1536
4850
- }, Is = {
4876
+ }, Ls = {
4851
4877
  mobile: 640,
4852
4878
  tablet: 768,
4853
4879
  desktop: 1024,
4854
4880
  header: 1312,
4855
4881
  wide: 1440
4856
- }, Ls = ({ value: e, decimalPlaces: t = 2 }) => Number(Math.round(parseFloat(e + "e" + t)) + "e-" + t), Rs = ({ value: e, decimalPlaces: t = 2 }) => Ls({
4882
+ }, Rs = ({ value: e, decimalPlaces: t = 2 }) => Number(Math.round(parseFloat(e + "e" + t)) + "e-" + t), zs = ({ value: e, decimalPlaces: t = 2 }) => Rs({
4857
4883
  value: e,
4858
4884
  decimalPlaces: t
4859
- }).toFixed(t), zs = ({ value: e, decimalPlaces: t = 2 }) => Ls({
4885
+ }).toFixed(t), Bs = ({ value: e, decimalPlaces: t = 2 }) => Rs({
4860
4886
  value: e,
4861
4887
  decimalPlaces: t
4862
- }) % 1 == 0 ? Rs({
4888
+ }) % 1 == 0 ? zs({
4863
4889
  value: e,
4864
4890
  decimalPlaces: 0
4865
- }).replace(".", ",") : Rs({
4891
+ }).replace(".", ",") : zs({
4866
4892
  value: e,
4867
4893
  decimalPlaces: t
4868
- }).replace(".", ","), Bs = (e, t = 2) => zs({
4894
+ }).replace(".", ","), Vs = (e, t = 2) => Bs({
4869
4895
  value: e,
4870
4896
  decimalPlaces: t
4871
4897
  }) + "%";
4872
4898
  //#endregion
4873
- //#region src/utils/parseExpirationDate.ts
4874
- function Vs(e) {
4899
+ //#region src/utils/parse-expiration-date.ts
4900
+ function Hs(e) {
4875
4901
  let t = e.match(/^([0-9]{2})([0-9]{2})$/);
4876
4902
  return t ? {
4877
4903
  month: t[1],
@@ -4882,6 +4908,6 @@ function Vs(e) {
4882
4908
  };
4883
4909
  }
4884
4910
  //#endregion
4885
- export { ls as Accordion, ot as ActionButton, Tn as Alert, En as AlertTitle, Dr as AmountSlider, xs as AppHeader, vn as ArticleCard, Hr as Autocomplete, Rt as Avatar, ys as BrandDivider, Qo as Breadcrumbs, st as Button, Li as COMMON_EMAIL_DOMAINS, _a as COUNTRIES, Tt as Card, Et as CardContent, Ye as CheckAnimation, Jr as Checkbox, kt as Chip, ut as CloseButton, ar as Container, Cs as CountryProvider, ke as DEFAULT_LANGUAGE, Ct as DataField, On as Dialog, mt as DownloadTrigger, Un as Drawer, ra as EmailInput, en as FeaturedImage, No as FormStepper, or as GlobalAlert, yo as Grid, xo as GridItem, wo as HStack, lt as IconButton, ca as Input, Oe as LANGUAGES, Ae as LanguageContext, Ps as LeaProvider, Fo as LinearFormStepper, Ji as Link, ln as LinkCard, Xi as List, fn as MediaCard, ga as MultiSelect, li as NATIONAL_ID_LENGTH, Ca as NumberInput, Ta as PINNED_COUNTRIES, as as Pagination, ss as PaginationDots, _s as Panel, bn as PartnerRow, Ba as PhoneNumberInput, jo as ProgressCircle, Ze as PulseAnimation, to as RadioCard, Xa as RadioGroup, Qt as RichText, uo as Select, mn as ServiceCard, hs as SimpleAccordion, sr as SimpleDialog, cr as SimpleDrawer, br as Skeleton, gt as SkipLink, po as Slider, Co as Stack, Ht as StarRating, $e as StatusAnimation, Pe as StatusIcon, Vo as StepProgressHeader, Ro as StepProgressProvider, ho as Switch, Gt as Table, qt as TableBody, Xt as TableCell, Kt as TableHead, Yt as TableHeaderCell, Jt as TableRow, Uo as Tabs, gn as TestimonialCard, bt as Text, gr as ToastProvider, It as Tooltip, an as VideoPlayer, Fs as breakpoints, fr as createToastManager, U as createTranslation, ft as downloadFile, Ls as fixDecimals, Rs as fixDecimalsToString, Ea as flagEmoji, zs as formatDecimalString, Bs as formatPercentage, Da as getCountryOptions, Bi as getEmailDomainSuggestions, X as invalid, vi as isMobileCountry, Vi as isSameEmail, pi as isSameNationalId, bi as isSamePhone, Ai as isValidBankAccount, zi as isValidEmail, Mi as isValidFinnishDomesticReference, Qr as isValidFinnishNationalId, Fi as isValidFinnishReference, Ni as isValidFinnishRfReference, Ti as isValidIban, si as isValidNationalId, Di as isValidNorwegianAccount, ni as isValidNorwegianNationalId, gi as isValidPhoneNumber, ai as isValidSpanishNationalId, Oi as isValidSwedishAccount, Xr as isValidSwedishNationalId, fi as normalizeNationalId, Vs as parseExpirationDate, dt as resolveDownloadData, Ki as suggestEmailCorrection, ws as useCountry, Ts as useFormatCurrency, Os as useFormatDate, ks as useFormatNumber, As as useFormatPercentage, je as useLanguage, Bo as useReportStepProgress, zo as useStepProgress, Mo as useStepperLabels, mr as useToastManager, Ns as useValidateBankAccount, js as useValidateNationalId, Ms as useValidatePhoneNumber, Z as valid, ki as validateBankAccount, Ri as validateEmail, Pi as validateFinnishReference, yi as validateMobileNumber, ci as validateNationalId, hi as validatePhoneNumber, Is as websiteBreakpoints };
4911
+ export { ms as Accordion, ot as ActionButton, Dn as Alert, On as AlertTitle, kr as AmountSlider, fs as AppHeader, vn as ArticleCard, Wr as Autocomplete, Rt as Avatar, Sn as BrandDivider, ts as Breadcrumbs, st as Button, zi as COMMON_EMAIL_DOMAINS, ba as COUNTRIES, Tt as Card, Et as CardContent, Ye as CheckAnimation, Xr as Checkbox, kt as Chip, ut as CloseButton, sr as Container, ws as CountryProvider, ke as DEFAULT_LANGUAGE, Ct as DataField, An as Dialog, mt as DownloadTrigger, Gn as Drawer, aa as EmailInput, en as FeaturedImage, Io as FormStepper, cr as GlobalAlert, So as Grid, wo as GridItem, Do as HStack, lt as IconButton, ua as Input, Oe as LANGUAGES, Ae as LanguageContext, Fs as LeaProvider, Ro as LinearFormStepper, Xi as Link, ln as LinkCard, Qi as List, fn as MediaCard, ya as MultiSelect, di as NATIONAL_ID_LENGTH, Ea as NumberInput, Oa as PINNED_COUNTRIES, cs as Pagination, us as PaginationDots, Ss as Panel, bn as PartnerRow, Ua as PhoneNumberInput, Po as ProgressCircle, Ze as PulseAnimation, io as RadioCard, $a as RadioGroup, Qt as RichText, mo as Select, mn as ServiceCard, bs as SimpleAccordion, lr as SimpleDialog, ur as SimpleDrawer, Sr as Skeleton, gt as SkipLink, go as Slider, Eo as Stack, Ht as StarRating, $e as StatusAnimation, Pe as StatusIcon, Wo as StepProgressHeader, Vo as StepProgressProvider, vo as Switch, Gt as Table, qt as TableBody, Xt as TableCell, Kt as TableHead, Yt as TableHeaderCell, Jt as TableRow, Ko as Tabs, gn as TestimonialCard, bt as Text, vr as ToastProvider, It as Tooltip, an as VideoPlayer, Is as breakpoints, mr as createToastManager, U as createTranslation, ft as downloadFile, Rs as fixDecimals, zs as fixDecimalsToString, ka as flagEmoji, Bs as formatDecimalString, Vs as formatPercentage, Aa as getCountryOptions, Hi as getEmailDomainSuggestions, X as invalid, bi as isMobileCountry, Ui as isSameEmail, hi as isSameNationalId, Si as isSamePhone, Mi as isValidBankAccount, Vi as isValidEmail, Pi as isValidFinnishDomesticReference, ei as isValidFinnishNationalId, Li as isValidFinnishReference, Fi as isValidFinnishRfReference, Di as isValidIban, li as isValidNationalId, ki as isValidNorwegianAccount, ii as isValidNorwegianNationalId, vi as isValidPhoneNumber, si as isValidSpanishNationalId, Ai as isValidSwedishAccount, Qr as isValidSwedishNationalId, mi as normalizeNationalId, Hs as parseExpirationDate, dt as resolveDownloadData, Ji as suggestEmailCorrection, Ts as useCountry, Es as useFormatCurrency, ks as useFormatDate, As as useFormatNumber, js as useFormatPercentage, je as useLanguage, Uo as useReportStepProgress, Ho as useStepProgress, Fo as useStepperLabels, gr as useToastManager, Ps as useValidateBankAccount, Ms as useValidateNationalId, Ns as useValidatePhoneNumber, Z as valid, ji as validateBankAccount, Bi as validateEmail, Ii as validateFinnishReference, xi as validateMobileNumber, ui as validateNationalId, _i as validatePhoneNumber, Ls as websiteBreakpoints };
4886
4912
 
4887
4913
  //# sourceMappingURL=component-library.es.js.map