@latte-macchiat-io/latte-vanilla-components 0.0.176 → 0.0.178

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 (219) hide show
  1. package/package.json +9 -22
  2. package/src/assets/styles/mediaqueries.tsx +24 -0
  3. package/src/components/Actions/Actions.tsx +132 -0
  4. package/src/components/Actions/export.tsx +4 -0
  5. package/src/components/{Main/stories.ts → Actions/stories.tsx} +14 -13
  6. package/src/components/Button/Button.tsx +132 -0
  7. package/src/components/Button/export.tsx +5 -0
  8. package/src/components/Carousel/Carousel.tsx +328 -0
  9. package/src/components/Carousel/export.tsx +4 -0
  10. package/src/components/Columns/Columns.tsx +142 -0
  11. package/src/components/Columns/export.tsx +5 -0
  12. package/src/components/ConsentCookie/ConsentCookie.tsx +202 -0
  13. package/src/components/ConsentCookie/export.tsx +4 -0
  14. package/src/components/{Icon/stories.ts → ConsentCookie/stories.tsx} +7 -8
  15. package/src/components/Footer/Footer.tsx +130 -0
  16. package/src/components/Footer/export.tsx +4 -0
  17. package/src/components/Footer/stories.tsx +26 -0
  18. package/src/components/Form/Form.tsx +127 -0
  19. package/src/components/Form/Row/Row.tsx +137 -0
  20. package/src/components/Form/Row/stories.tsx +41 -0
  21. package/src/components/Form/TextField/Input/Input.tsx +139 -0
  22. package/src/components/Form/TextField/Input/export.tsx +6 -0
  23. package/src/components/Form/TextField/Label/Label.tsx +133 -0
  24. package/src/components/Form/TextField/Label/export.tsx +4 -0
  25. package/src/components/Form/TextField/TextField.tsx +200 -0
  26. package/src/components/Form/TextField/Textarea/Textarea.tsx +135 -0
  27. package/src/components/Form/TextField/Textarea/export.tsx +6 -0
  28. package/src/components/Form/TextField/Textarea/stories.tsx +44 -0
  29. package/src/components/Form/TextField/export.tsx +4 -0
  30. package/src/components/Form/export.tsx +4 -0
  31. package/src/components/Header/Header.tsx +158 -0
  32. package/src/components/Header/HeaderOverlay/index.tsx +32 -0
  33. package/src/components/Header/ToggleNav/index.tsx +32 -0
  34. package/src/components/Header/export.tsx +4 -0
  35. package/src/components/Header/stories.tsx +26 -0
  36. package/src/components/Icon/Icon.tsx +159 -0
  37. package/src/components/Icon/export.tsx +4 -0
  38. package/src/components/KeyNumber/KeyNumber.tsx +166 -0
  39. package/src/components/KeyNumber/export.tsx +4 -0
  40. package/src/components/LanguageSwitcher/LanguageSwitcher.tsx +168 -0
  41. package/src/components/LanguageSwitcher/export.tsx +4 -0
  42. package/src/components/Logo/Logo.tsx +137 -0
  43. package/src/components/Logo/export.tsx +4 -0
  44. package/src/components/Logo/stories.tsx +28 -0
  45. package/src/components/Main/Main.tsx +130 -0
  46. package/src/components/Main/export.tsx +4 -0
  47. package/src/components/Modal/Modal.tsx +194 -0
  48. package/src/components/Modal/export.tsx +4 -0
  49. package/src/components/Modal/types.tsx +5 -0
  50. package/src/components/Nav/Nav.tsx +129 -0
  51. package/src/components/Nav/export.tsx +4 -0
  52. package/src/components/Nav/stories.tsx +28 -0
  53. package/src/components/NavLegal/NavLegal.tsx +133 -0
  54. package/src/components/NavLegal/export.tsx +4 -0
  55. package/src/components/NavLegal/stories.tsx +28 -0
  56. package/src/components/NavSocial/NavSocial.tsx +169 -0
  57. package/src/components/NavSocial/export.tsx +5 -0
  58. package/src/components/{Columns/stories.ts → NavSocial/stories.tsx} +12 -14
  59. package/src/components/Section/Section.tsx +130 -0
  60. package/src/components/Section/export.tsx +6 -0
  61. package/src/components/ToRemove/ToRemove.tsx +3 -0
  62. package/src/components/Video/Video.tsx +243 -0
  63. package/src/components/Video/export.tsx +2 -0
  64. package/src/components/VideoFullWidth/VideoFullWidth.tsx +152 -0
  65. package/src/components/VideoFullWidth/export.tsx +2 -0
  66. package/dist/components/Actions/Actions.css.ts +0 -113
  67. package/dist/components/Button/Button.css.ts +0 -119
  68. package/dist/components/Carousel/Carousel.css.ts +0 -179
  69. package/dist/components/Columns/Columns.css.ts +0 -185
  70. package/dist/components/ConsentCookie/ConsentCookie.css.ts +0 -167
  71. package/dist/components/Footer/Footer.css.ts +0 -108
  72. package/dist/components/Form/Form.css.ts +0 -64
  73. package/dist/components/Form/Row/Row.css.ts +0 -70
  74. package/dist/components/Form/TextField/Input/Input.css.ts +0 -106
  75. package/dist/components/Form/TextField/Label/Label.css.ts +0 -58
  76. package/dist/components/Form/TextField/TextField.css.ts +0 -139
  77. package/dist/components/Form/TextField/Textarea/Textarea.css.ts +0 -121
  78. package/dist/components/Header/Header.css.ts +0 -111
  79. package/dist/components/Header/HeaderOverlay/styles.css.ts +0 -33
  80. package/dist/components/Header/ToggleNav/styles.css.ts +0 -40
  81. package/dist/components/Icon/Icon.css.ts +0 -102
  82. package/dist/components/KeyNumber/KeyNumber.css.ts +0 -158
  83. package/dist/components/LanguageSwitcher/LanguageSwitcher.css.ts +0 -120
  84. package/dist/components/Logo/Logo.css.ts +0 -98
  85. package/dist/components/Main/Main.css.ts +0 -62
  86. package/dist/components/Modal/Modal.css.ts +0 -203
  87. package/dist/components/Nav/Nav.css.ts +0 -123
  88. package/dist/components/NavLegal/NavLegal.css.ts +0 -121
  89. package/dist/components/NavSocial/NavSocial.css.ts +0 -121
  90. package/dist/components/Section/Section.css.ts +0 -101
  91. package/dist/components/Video/Video.css.ts +0 -210
  92. package/dist/components/VideoFullWidth/VideoFullWidth.css.ts +0 -50
  93. package/dist/css/index.cjs +0 -1
  94. package/dist/css/index.js +0 -34
  95. package/dist/index.cjs.js +0 -2
  96. package/dist/index.es.js +0 -3863
  97. package/dist/styles/sprinkles.css.ts +0 -84
  98. package/dist/theme/contract.css.ts +0 -83
  99. package/dist/theme.css-CNjMk-g_.cjs +0 -1
  100. package/dist/theme.css-Dj6kL9o0.js +0 -3020
  101. package/dist/types/components/Actions/Actions.css.d.ts +0 -74
  102. package/dist/types/components/Actions/Actions.d.ts +0 -7
  103. package/dist/types/components/Actions/stories.d.ts +0 -0
  104. package/dist/types/components/Button/Button.css.d.ts +0 -65
  105. package/dist/types/components/Button/Button.d.ts +0 -8
  106. package/dist/types/components/Button/export.d.ts +0 -0
  107. package/dist/types/components/Button/stories.d.ts +0 -0
  108. package/dist/types/components/Carousel/Carousel.css.d.ts +0 -33
  109. package/dist/types/components/Carousel/Carousel.d.ts +0 -15
  110. package/dist/types/components/Carousel/export.d.ts +0 -0
  111. package/dist/types/components/Columns/Columns.css.d.ts +0 -104
  112. package/dist/types/components/Columns/Columns.d.ts +0 -8
  113. package/dist/types/components/Columns/export.d.ts +0 -0
  114. package/dist/types/components/Columns/stories.d.ts +0 -0
  115. package/dist/types/components/ConsentCookie/ConsentCookie.css.d.ts +0 -15
  116. package/dist/types/components/ConsentCookie/ConsentCookie.d.ts +0 -17
  117. package/dist/types/components/ConsentCookie/export.d.ts +0 -0
  118. package/dist/types/components/ConsentCookie/stories.d.ts +0 -0
  119. package/dist/types/components/Footer/Footer.css.d.ts +0 -50
  120. package/dist/types/components/Footer/Footer.d.ts +0 -7
  121. package/dist/types/components/Footer/export.d.ts +0 -0
  122. package/dist/types/components/Footer/stories.d.ts +0 -6
  123. package/dist/types/components/Form/Form.css.d.ts +0 -46
  124. package/dist/types/components/Form/Form.d.ts +0 -7
  125. package/dist/types/components/Form/Row/Row.css.d.ts +0 -51
  126. package/dist/types/components/Form/Row/Row.d.ts +0 -9
  127. package/dist/types/components/Form/Row/index.d.ts +0 -0
  128. package/dist/types/components/Form/Row/stories.d.ts +0 -0
  129. package/dist/types/components/Form/TextField/Input/Input.css.d.ts +0 -32
  130. package/dist/types/components/Form/TextField/Input/Input.d.ts +0 -10
  131. package/dist/types/components/Form/TextField/Input/export.d.ts +0 -0
  132. package/dist/types/components/Form/TextField/Label/Label.css.d.ts +0 -23
  133. package/dist/types/components/Form/TextField/Label/Label.d.ts +0 -9
  134. package/dist/types/components/Form/TextField/Label/export.d.ts +0 -0
  135. package/dist/types/components/Form/TextField/TextField.css.d.ts +0 -19
  136. package/dist/types/components/Form/TextField/TextField.d.ts +0 -21
  137. package/dist/types/components/Form/TextField/Textarea/Textarea.css.d.ts +0 -56
  138. package/dist/types/components/Form/TextField/Textarea/Textarea.d.ts +0 -8
  139. package/dist/types/components/Form/TextField/Textarea/export.d.ts +0 -0
  140. package/dist/types/components/Form/TextField/Textarea/stories.d.ts +0 -0
  141. package/dist/types/components/Form/TextField/export.d.ts +0 -0
  142. package/dist/types/components/Form/export.d.ts +0 -0
  143. package/dist/types/components/Header/Header.css.d.ts +0 -36
  144. package/dist/types/components/Header/Header.d.ts +0 -11
  145. package/dist/types/components/Header/HeaderOverlay/index.d.ts +0 -7
  146. package/dist/types/components/Header/HeaderOverlay/styles.css.d.ts +0 -5
  147. package/dist/types/components/Header/ToggleNav/index.d.ts +0 -9
  148. package/dist/types/components/Header/ToggleNav/styles.css.d.ts +0 -5
  149. package/dist/types/components/Header/export.d.ts +0 -0
  150. package/dist/types/components/Header/stories.d.ts +0 -6
  151. package/dist/types/components/Icon/Icon.css.d.ts +0 -45
  152. package/dist/types/components/Icon/Icon.d.ts +0 -12
  153. package/dist/types/components/Icon/export.d.ts +0 -0
  154. package/dist/types/components/Icon/path.d.ts +0 -19
  155. package/dist/types/components/Icon/stories.d.ts +0 -0
  156. package/dist/types/components/KeyNumber/KeyNumber.css.d.ts +0 -40
  157. package/dist/types/components/KeyNumber/KeyNumber.d.ts +0 -15
  158. package/dist/types/components/KeyNumber/export.d.ts +0 -0
  159. package/dist/types/components/LanguageSwitcher/LanguageSwitcher.css.d.ts +0 -18
  160. package/dist/types/components/LanguageSwitcher/LanguageSwitcher.d.ts +0 -16
  161. package/dist/types/components/LanguageSwitcher/export.d.ts +0 -0
  162. package/dist/types/components/Logo/Logo.css.d.ts +0 -54
  163. package/dist/types/components/Logo/Logo.d.ts +0 -8
  164. package/dist/types/components/Logo/export.d.ts +0 -0
  165. package/dist/types/components/Logo/stories.d.ts +0 -6
  166. package/dist/types/components/Main/Main.css.d.ts +0 -32
  167. package/dist/types/components/Main/Main.d.ts +0 -7
  168. package/dist/types/components/Main/export.d.ts +0 -0
  169. package/dist/types/components/Main/stories.d.ts +0 -0
  170. package/dist/types/components/Modal/Modal.css.d.ts +0 -82
  171. package/dist/types/components/Modal/Modal.d.ts +0 -15
  172. package/dist/types/components/Modal/export.d.ts +0 -0
  173. package/dist/types/components/Modal/types.d.ts +0 -5
  174. package/dist/types/components/Nav/Nav.css.d.ts +0 -52
  175. package/dist/types/components/Nav/Nav.d.ts +0 -7
  176. package/dist/types/components/Nav/export.d.ts +0 -0
  177. package/dist/types/components/Nav/stories.d.ts +0 -6
  178. package/dist/types/components/NavLegal/NavLegal.css.d.ts +0 -57
  179. package/dist/types/components/NavLegal/NavLegal.d.ts +0 -7
  180. package/dist/types/components/NavLegal/export.d.ts +0 -0
  181. package/dist/types/components/NavLegal/stories.d.ts +0 -6
  182. package/dist/types/components/NavSocial/NavSocial.css.d.ts +0 -30
  183. package/dist/types/components/NavSocial/NavSocial.d.ts +0 -15
  184. package/dist/types/components/NavSocial/export.d.ts +0 -0
  185. package/dist/types/components/NavSocial/stories.d.ts +0 -0
  186. package/dist/types/components/Section/Section.css.d.ts +0 -60
  187. package/dist/types/components/Section/Section.d.ts +0 -7
  188. package/dist/types/components/Section/export.d.ts +0 -0
  189. package/dist/types/components/Section/stories.d.ts +0 -0
  190. package/dist/types/components/ToRemove/ToRemove.d.ts +0 -1
  191. package/dist/types/components/Video/Video.css.d.ts +0 -43
  192. package/dist/types/components/Video/Video.d.ts +0 -17
  193. package/dist/types/components/Video/export.d.ts +0 -0
  194. package/dist/types/components/VideoFullWidth/VideoFullWidth.css.d.ts +0 -18
  195. package/dist/types/components/VideoFullWidth/VideoFullWidth.d.ts +0 -14
  196. package/dist/types/components/VideoFullWidth/export.d.ts +0 -0
  197. package/dist/types/css/index.d.ts +0 -28
  198. package/dist/types/index.d.ts +0 -58
  199. package/dist/types/styles/mediaqueries.d.ts +0 -16
  200. package/dist/types/styles/sprinkles.css.d.ts +0 -3423
  201. package/dist/types/theme/baseThemeValues.d.ts +0 -158
  202. package/dist/types/theme/contract.css.d.ts +0 -79
  203. package/dist/types/theme/index.d.ts +0 -3
  204. package/dist/types/theme/utils.d.ts +0 -86
  205. package/dist/types/utils/cookie.d.ts +0 -2
  206. package/dist/types/utils/deep-merge-objects.d.ts +0 -2
  207. package/dist/types/utils/theme.css.d.ts +0 -173
  208. package/dist/types/utils/use-breakpoint-key.d.ts +0 -1
  209. package/dist/types/utils/use-window-size.d.ts +0 -5
  210. package/dist/utils/theme.css.ts +0 -129
  211. package/src/components/Button/stories.ts +0 -127
  212. package/src/components/Section/stories.ts +0 -64
  213. package/src/css/index.ts +0 -33
  214. package/src/themes/dark.ts +0 -3
  215. package/src/themes/index.ts +0 -5
  216. package/src/themes/light.ts +0 -3
  217. /package/{dist/types/components/Actions/export.d.ts → src/components/Form/Row/index.tsx} +0 -0
  218. /package/{dist/types/components/NavLegal/types.d.ts → src/components/NavLegal/types.tsx} +0 -0
  219. /package/{dist/types/components/NavSocial/types.d.ts → src/components/NavSocial/types.tsx} +0 -0
package/dist/index.es.js DELETED
@@ -1,3863 +0,0 @@
1
- import { t as Ge, F as ge, G as Ke, s as ie, d as Ze, C as Je, w as Qe, o as et, H as tt, h as nt, z as at, p as rt, I as it, y as st, x as ot, v as lt, J as ct, f as ut, b as dt, K as Ue, L as ft, M as ht, N as mt, O as pt, P as De, Q as vt, e as gt, R as yt, S as bt, T as wt, U as Nt, g as Vt, V as Rt, W as St, q as Et, X as Ct, B as Ot, A as xt, Y as At, Z as Mt, u as Tt, _ as kt, $ as Ft, a0 as It, a1 as Lt, a2 as jt, a3 as zt, a4 as Pt, D as _t, E as Ut, i as Dt, j as Bt, a5 as Ht, a6 as Wt, a7 as $t, a8 as Xt, a9 as Be, m as qt, l as Yt, k as Gt, n as Kt } from "./theme.css-Dj6kL9o0.js";
2
- import { a as Jn, c as Qn, aa as ea, r as ta } from "./theme.css-Dj6kL9o0.js";
3
- import { jsx as m, jsxs as he, Fragment as Zt } from "react/jsx-runtime";
4
- import * as Se from "react";
5
- import Jt, { forwardRef as se, useState as ye, useEffect as pe, useRef as Ie, useMemo as Qt } from "react";
6
- const Bn = (e) => ({
7
- ...ge,
8
- ...e,
9
- colors: {
10
- ...ge.colors,
11
- ...e.colors
12
- },
13
- space: {
14
- ...ge.space,
15
- ...e.space
16
- },
17
- radii: {
18
- ...ge.radii,
19
- ...e.radii
20
- },
21
- fonts: {
22
- ...ge.fonts,
23
- ...e.fonts
24
- },
25
- fontSizes: {
26
- ...ge.fontSizes,
27
- ...e.fontSizes
28
- },
29
- lineHeights: {
30
- ...ge.lineHeights,
31
- ...e.lineHeights
32
- },
33
- shadows: {
34
- ...ge.shadows,
35
- ...e.shadows
36
- }
37
- }), Hn = () => Ge, Wn = (e = !1) => e ? Ke : ge, $n = () => {
38
- const e = document.documentElement, r = e.getAttribute("data-theme") === "dark" ? null : "dark";
39
- return r ? e.setAttribute("data-theme", r) : e.removeAttribute("data-theme"), r === "dark";
40
- }, Xn = (e) => {
41
- const n = document.documentElement;
42
- e === "dark" ? n.setAttribute("data-theme", "dark") : n.removeAttribute("data-theme");
43
- }, qn = () => typeof window > "u" ? "light" : document.documentElement.getAttribute("data-theme") === "dark" ? "dark" : "light";
44
- function Xe(e) {
45
- var n, r, o = "";
46
- if (typeof e == "string" || typeof e == "number") o += e;
47
- else if (typeof e == "object") if (Array.isArray(e)) {
48
- var t = e.length;
49
- for (n = 0; n < t; n++) e[n] && (r = Xe(e[n])) && (o && (o += " "), o += r);
50
- } else for (r in e) e[r] && (o && (o += " "), o += r);
51
- return o;
52
- }
53
- function ae() {
54
- for (var e, n, r = 0, o = "", t = arguments.length; r < t; r++) (e = arguments[r]) && (n = Xe(e)) && (o && (o += " "), o += n);
55
- return o;
56
- }
57
- const Le = se(
58
- ({
59
- variant: e,
60
- size: n,
61
- fullWidth: r,
62
- isPending: o = !1,
63
- disabled: t,
64
- css: u,
65
- className: d,
66
- children: c,
67
- // Extract sprinkles props
68
- margin: h,
69
- marginTop: v,
70
- marginBottom: N,
71
- marginLeft: x,
72
- marginRight: U,
73
- padding: A,
74
- paddingTop: V,
75
- paddingBottom: P,
76
- paddingLeft: M,
77
- paddingRight: g,
78
- gap: T,
79
- display: L,
80
- flexDirection: Y,
81
- justifyContent: D,
82
- flexWrap: Z,
83
- flex: J,
84
- width: s,
85
- height: a,
86
- minWidth: i,
87
- maxWidth: l,
88
- minHeight: f,
89
- position: p,
90
- top: E,
91
- bottom: R,
92
- left: y,
93
- right: b,
94
- zIndex: w,
95
- fontSize: j,
96
- fontFamily: z,
97
- lineHeight: B,
98
- textAlign: H,
99
- fontWeight: k,
100
- color: C,
101
- backgroundColor: W,
102
- borderRadius: S,
103
- borderWidth: $,
104
- borderStyle: F,
105
- borderColor: I,
106
- boxShadow: X,
107
- opacity: q,
108
- overflow: G,
109
- overflowX: O,
110
- overflowY: K,
111
- ..._
112
- }, Q) => /* @__PURE__ */ m(
113
- "button",
114
- {
115
- ref: Q,
116
- className: ae(
117
- Ze({ variant: e, size: n, fullWidth: r }),
118
- ie({
119
- margin: h,
120
- marginTop: v,
121
- marginBottom: N,
122
- marginLeft: x,
123
- marginRight: U,
124
- padding: A,
125
- paddingTop: V,
126
- paddingBottom: P,
127
- paddingLeft: M,
128
- paddingRight: g,
129
- gap: T,
130
- display: L,
131
- flexDirection: Y,
132
- justifyContent: D,
133
- flexWrap: Z,
134
- flex: J,
135
- width: s,
136
- height: a,
137
- minWidth: i,
138
- maxWidth: l,
139
- minHeight: f,
140
- position: p,
141
- top: E,
142
- bottom: R,
143
- left: y,
144
- right: b,
145
- zIndex: w,
146
- fontSize: j,
147
- fontFamily: z,
148
- lineHeight: B,
149
- textAlign: H,
150
- fontWeight: k,
151
- color: C,
152
- backgroundColor: W,
153
- borderRadius: S,
154
- borderWidth: $,
155
- borderStyle: F,
156
- borderColor: I,
157
- boxShadow: X,
158
- opacity: q,
159
- overflow: G,
160
- overflowX: O,
161
- overflowY: K
162
- }),
163
- u,
164
- d
165
- ),
166
- disabled: t || o,
167
- ..._,
168
- children: o ? "Loading..." : c
169
- }
170
- )
171
- );
172
- Le.displayName = "Button";
173
- const Yn = se(
174
- ({
175
- children: e,
176
- align: n,
177
- isDark: r,
178
- isFullHeight: o,
179
- spacing: t,
180
- as: u = "section",
181
- css: d,
182
- className: c,
183
- // Extract sprinkles props
184
- margin: h,
185
- marginTop: v,
186
- marginBottom: N,
187
- marginLeft: x,
188
- marginRight: U,
189
- padding: A,
190
- paddingTop: V,
191
- paddingBottom: P,
192
- paddingLeft: M,
193
- paddingRight: g,
194
- gap: T,
195
- display: L,
196
- flexDirection: Y,
197
- justifyContent: D,
198
- flexWrap: Z,
199
- flex: J,
200
- width: s,
201
- height: a,
202
- minWidth: i,
203
- maxWidth: l,
204
- minHeight: f,
205
- position: p,
206
- top: E,
207
- bottom: R,
208
- left: y,
209
- right: b,
210
- zIndex: w,
211
- fontSize: j,
212
- fontFamily: z,
213
- lineHeight: B,
214
- textAlign: H,
215
- fontWeight: k,
216
- color: C,
217
- backgroundColor: W,
218
- borderRadius: S,
219
- borderWidth: $,
220
- borderStyle: F,
221
- borderColor: I,
222
- boxShadow: X,
223
- opacity: q,
224
- overflow: G,
225
- overflowX: O,
226
- overflowY: K,
227
- ..._
228
- }, Q) => /* @__PURE__ */ m(
229
- u,
230
- {
231
- ref: Q,
232
- className: ae(
233
- Je({ align: n, isDark: r, isFullHeight: o, spacing: t }),
234
- ie({
235
- margin: h,
236
- marginTop: v,
237
- marginBottom: N,
238
- marginLeft: x,
239
- marginRight: U,
240
- padding: A,
241
- paddingTop: V,
242
- paddingBottom: P,
243
- paddingLeft: M,
244
- paddingRight: g,
245
- gap: T,
246
- display: L,
247
- flexDirection: Y,
248
- justifyContent: D,
249
- flexWrap: Z,
250
- flex: J,
251
- width: s,
252
- height: a,
253
- minWidth: i,
254
- maxWidth: l,
255
- minHeight: f,
256
- position: p,
257
- top: E,
258
- bottom: R,
259
- left: y,
260
- right: b,
261
- zIndex: w,
262
- fontSize: j,
263
- fontFamily: z,
264
- lineHeight: B,
265
- textAlign: H,
266
- fontWeight: k,
267
- color: C,
268
- backgroundColor: W,
269
- borderRadius: S,
270
- borderWidth: $,
271
- borderStyle: F,
272
- borderColor: I,
273
- boxShadow: X,
274
- opacity: q,
275
- overflow: G,
276
- overflowX: O,
277
- overflowY: K
278
- }),
279
- d,
280
- c
281
- ),
282
- ..._,
283
- children: e
284
- }
285
- )
286
- ), en = se(
287
- ({
288
- children: e,
289
- centered: n,
290
- fullWidth: r,
291
- noPadding: o,
292
- as: t = "main",
293
- css: u,
294
- className: d,
295
- // Extract sprinkles props
296
- margin: c,
297
- marginTop: h,
298
- marginBottom: v,
299
- marginLeft: N,
300
- marginRight: x,
301
- padding: U,
302
- paddingTop: A,
303
- paddingBottom: V,
304
- paddingLeft: P,
305
- paddingRight: M,
306
- gap: g,
307
- display: T,
308
- flexDirection: L,
309
- justifyContent: Y,
310
- flexWrap: D,
311
- flex: Z,
312
- width: J,
313
- height: s,
314
- minWidth: a,
315
- maxWidth: i,
316
- minHeight: l,
317
- position: f,
318
- top: p,
319
- bottom: E,
320
- left: R,
321
- right: y,
322
- zIndex: b,
323
- fontSize: w,
324
- fontFamily: j,
325
- lineHeight: z,
326
- textAlign: B,
327
- fontWeight: H,
328
- color: k,
329
- backgroundColor: C,
330
- borderRadius: W,
331
- borderWidth: S,
332
- borderStyle: $,
333
- borderColor: F,
334
- boxShadow: I,
335
- opacity: X,
336
- overflow: q,
337
- overflowX: G,
338
- overflowY: O,
339
- ...K
340
- }, _) => /* @__PURE__ */ m(
341
- t,
342
- {
343
- ref: _,
344
- className: ae(
345
- Qe({ centered: n, fullWidth: r, noPadding: o }),
346
- ie({
347
- margin: c,
348
- marginTop: h,
349
- marginBottom: v,
350
- marginLeft: N,
351
- marginRight: x,
352
- padding: U,
353
- paddingTop: A,
354
- paddingBottom: V,
355
- paddingLeft: P,
356
- paddingRight: M,
357
- gap: g,
358
- display: T,
359
- flexDirection: L,
360
- justifyContent: Y,
361
- flexWrap: D,
362
- flex: Z,
363
- width: J,
364
- height: s,
365
- minWidth: a,
366
- maxWidth: i,
367
- minHeight: l,
368
- position: f,
369
- top: p,
370
- bottom: E,
371
- left: R,
372
- right: y,
373
- zIndex: b,
374
- fontSize: w,
375
- fontFamily: j,
376
- lineHeight: z,
377
- textAlign: B,
378
- fontWeight: H,
379
- color: k,
380
- backgroundColor: C,
381
- borderRadius: W,
382
- borderWidth: S,
383
- borderStyle: $,
384
- borderColor: F,
385
- boxShadow: I,
386
- opacity: X,
387
- overflow: q,
388
- overflowX: G,
389
- overflowY: O
390
- }),
391
- u,
392
- d
393
- ),
394
- ...K,
395
- children: e
396
- }
397
- )
398
- );
399
- en.displayName = "Main";
400
- const tn = se(
401
- ({
402
- children: e,
403
- position: n,
404
- variant: r,
405
- size: o,
406
- isFixed: t,
407
- // Legacy prop
408
- hideToggleNav: u,
409
- childrenOverlay: d,
410
- displayToggleNavOnDesktop: c,
411
- as: h = "header",
412
- css: v,
413
- className: N,
414
- // Extract sprinkles props
415
- margin: x,
416
- marginTop: U,
417
- marginBottom: A,
418
- marginLeft: V,
419
- marginRight: P,
420
- padding: M,
421
- paddingTop: g,
422
- paddingBottom: T,
423
- paddingLeft: L,
424
- paddingRight: Y,
425
- gap: D,
426
- display: Z,
427
- flexDirection: J,
428
- justifyContent: s,
429
- flexWrap: a,
430
- flex: i,
431
- width: l,
432
- height: f,
433
- minWidth: p,
434
- maxWidth: E,
435
- minHeight: R,
436
- zIndex: y,
437
- fontSize: b,
438
- fontFamily: w,
439
- lineHeight: j,
440
- textAlign: z,
441
- fontWeight: B,
442
- color: H,
443
- backgroundColor: k,
444
- borderRadius: C,
445
- borderWidth: W,
446
- borderStyle: S,
447
- borderColor: $,
448
- boxShadow: F,
449
- opacity: I,
450
- overflow: X,
451
- overflowX: q,
452
- overflowY: G,
453
- ...O
454
- }, K) => {
455
- const [_, Q] = ye(!1), te = n || (t ? "fixed" : "relative");
456
- return /* @__PURE__ */ he(Zt, { children: [
457
- /* @__PURE__ */ he(
458
- h,
459
- {
460
- ref: K,
461
- className: ae(
462
- et({ variant: r, size: o }),
463
- ie({
464
- margin: x,
465
- marginTop: U,
466
- marginBottom: A,
467
- marginLeft: V,
468
- marginRight: P,
469
- padding: M,
470
- paddingTop: g,
471
- paddingBottom: T,
472
- paddingLeft: L,
473
- paddingRight: Y,
474
- gap: D,
475
- display: Z,
476
- flexDirection: J,
477
- justifyContent: s,
478
- flexWrap: a,
479
- flex: i,
480
- width: l,
481
- height: f,
482
- minWidth: p,
483
- maxWidth: E,
484
- minHeight: R,
485
- zIndex: y,
486
- fontSize: b,
487
- fontFamily: w,
488
- lineHeight: j,
489
- textAlign: z,
490
- fontWeight: B,
491
- color: H,
492
- backgroundColor: k,
493
- borderRadius: C,
494
- borderWidth: W,
495
- borderStyle: S,
496
- borderColor: $,
497
- boxShadow: F,
498
- opacity: I,
499
- overflow: X,
500
- overflowX: q,
501
- overflowY: G
502
- }),
503
- v,
504
- N
505
- ),
506
- ...O,
507
- children: [
508
- d && /* @__PURE__ */ m("div", { className: ae("header-overlay", _ && "header-overlay--open"), children: d }),
509
- e,
510
- !u && /* @__PURE__ */ he(
511
- "button",
512
- {
513
- type: "button",
514
- className: "header-nav-toggle",
515
- onClick: () => Q(!_),
516
- "aria-expanded": _,
517
- "aria-label": "Toggle navigation",
518
- children: [
519
- /* @__PURE__ */ m("span", { className: "sr-only", children: "Toggle navigation" }),
520
- /* @__PURE__ */ he("div", { className: `hamburger ${_ ? "hamburger--open" : ""}`, children: [
521
- /* @__PURE__ */ m("span", {}),
522
- /* @__PURE__ */ m("span", {}),
523
- /* @__PURE__ */ m("span", {})
524
- ] })
525
- ]
526
- }
527
- )
528
- ]
529
- }
530
- ),
531
- (te === "fixed" || t) && /* @__PURE__ */ m("div", { className: tt })
532
- ] });
533
- }
534
- );
535
- tn.displayName = "Header";
536
- const nn = se(
537
- ({
538
- children: e,
539
- variant: n,
540
- size: r,
541
- layout: o,
542
- as: t = "footer",
543
- css: u,
544
- className: d,
545
- // Extract sprinkles props
546
- margin: c,
547
- marginTop: h,
548
- marginBottom: v,
549
- marginLeft: N,
550
- marginRight: x,
551
- padding: U,
552
- paddingTop: A,
553
- paddingBottom: V,
554
- paddingLeft: P,
555
- paddingRight: M,
556
- gap: g,
557
- display: T,
558
- flexDirection: L,
559
- justifyContent: Y,
560
- flexWrap: D,
561
- flex: Z,
562
- width: J,
563
- height: s,
564
- minWidth: a,
565
- maxWidth: i,
566
- minHeight: l,
567
- position: f,
568
- top: p,
569
- bottom: E,
570
- left: R,
571
- right: y,
572
- zIndex: b,
573
- fontSize: w,
574
- fontFamily: j,
575
- lineHeight: z,
576
- textAlign: B,
577
- fontWeight: H,
578
- color: k,
579
- backgroundColor: C,
580
- borderRadius: W,
581
- borderWidth: S,
582
- borderStyle: $,
583
- borderColor: F,
584
- boxShadow: I,
585
- opacity: X,
586
- overflow: q,
587
- overflowX: G,
588
- overflowY: O,
589
- ...K
590
- }, _) => /* @__PURE__ */ m(
591
- t,
592
- {
593
- ref: _,
594
- className: ae(
595
- nt({ variant: n, size: r, layout: o }),
596
- ie({
597
- margin: c,
598
- marginTop: h,
599
- marginBottom: v,
600
- marginLeft: N,
601
- marginRight: x,
602
- padding: U,
603
- paddingTop: A,
604
- paddingBottom: V,
605
- paddingLeft: P,
606
- paddingRight: M,
607
- gap: g,
608
- display: T,
609
- flexDirection: L,
610
- justifyContent: Y,
611
- flexWrap: D,
612
- flex: Z,
613
- width: J,
614
- height: s,
615
- minWidth: a,
616
- maxWidth: i,
617
- minHeight: l,
618
- position: f,
619
- top: p,
620
- bottom: E,
621
- left: R,
622
- right: y,
623
- zIndex: b,
624
- fontSize: w,
625
- fontFamily: j,
626
- lineHeight: z,
627
- textAlign: B,
628
- fontWeight: H,
629
- color: k,
630
- backgroundColor: C,
631
- borderRadius: W,
632
- borderWidth: S,
633
- borderStyle: $,
634
- borderColor: F,
635
- boxShadow: I,
636
- opacity: X,
637
- overflow: q,
638
- overflowX: G,
639
- overflowY: O
640
- }),
641
- u,
642
- d
643
- ),
644
- ...K,
645
- children: e
646
- }
647
- )
648
- );
649
- nn.displayName = "Footer";
650
- const an = se(
651
- ({
652
- children: e,
653
- orientation: n,
654
- variant: r,
655
- justify: o,
656
- as: t = "nav",
657
- css: u,
658
- className: d,
659
- // Extract sprinkles props
660
- margin: c,
661
- marginTop: h,
662
- marginBottom: v,
663
- marginLeft: N,
664
- marginRight: x,
665
- padding: U,
666
- paddingTop: A,
667
- paddingBottom: V,
668
- paddingLeft: P,
669
- paddingRight: M,
670
- gap: g,
671
- display: T,
672
- flexDirection: L,
673
- justifyContent: Y,
674
- flexWrap: D,
675
- flex: Z,
676
- width: J,
677
- height: s,
678
- minWidth: a,
679
- maxWidth: i,
680
- minHeight: l,
681
- position: f,
682
- top: p,
683
- bottom: E,
684
- left: R,
685
- right: y,
686
- zIndex: b,
687
- fontSize: w,
688
- fontFamily: j,
689
- lineHeight: z,
690
- textAlign: B,
691
- fontWeight: H,
692
- color: k,
693
- backgroundColor: C,
694
- borderRadius: W,
695
- borderWidth: S,
696
- borderStyle: $,
697
- borderColor: F,
698
- boxShadow: I,
699
- opacity: X,
700
- overflow: q,
701
- overflowX: G,
702
- overflowY: O,
703
- ...K
704
- }, _) => /* @__PURE__ */ m(
705
- t,
706
- {
707
- ref: _,
708
- className: ae(
709
- at({ orientation: n, variant: r, justify: o }),
710
- ie({
711
- margin: c,
712
- marginTop: h,
713
- marginBottom: v,
714
- marginLeft: N,
715
- marginRight: x,
716
- padding: U,
717
- paddingTop: A,
718
- paddingBottom: V,
719
- paddingLeft: P,
720
- paddingRight: M,
721
- gap: g,
722
- display: T,
723
- flexDirection: L,
724
- justifyContent: Y,
725
- flexWrap: D,
726
- flex: Z,
727
- width: J,
728
- height: s,
729
- minWidth: a,
730
- maxWidth: i,
731
- minHeight: l,
732
- position: f,
733
- top: p,
734
- bottom: E,
735
- left: R,
736
- right: y,
737
- zIndex: b,
738
- fontSize: w,
739
- fontFamily: j,
740
- lineHeight: z,
741
- textAlign: B,
742
- fontWeight: H,
743
- color: k,
744
- backgroundColor: C,
745
- borderRadius: W,
746
- borderWidth: S,
747
- borderStyle: $,
748
- borderColor: F,
749
- boxShadow: I,
750
- opacity: X,
751
- overflow: q,
752
- overflowX: G,
753
- overflowY: O
754
- }),
755
- u,
756
- d
757
- ),
758
- ...K,
759
- children: e
760
- }
761
- )
762
- );
763
- an.displayName = "Nav";
764
- const rn = {
765
- caret: "M8.12 9.29 12 13.17l3.88-3.88c.39-.39 1.02-.39 1.41 0 .39.39.39 1.02 0 1.41l-4.59 4.59c-.39.39-1.02.39-1.41 0L6.7 10.7a.9959.9959 0 0 1 0-1.41c.39-.38 1.03-.39 1.42 0",
766
- close: "M18.3 5.71a.996.996 0 0 0-1.41 0L12 10.59 7.11 5.7a.996.996 0 0 0-1.41 0c-.39.39-.39 1.02 0 1.41L10.59 12 5.7 16.89c-.39.39-.39 1.02 0 1.41s1.02.39 1.41 0L12 13.41l4.89 4.89c.39.39 1.02.39 1.41 0s.39-1.02 0-1.41L13.41 12l4.89-4.89c.38-.38.38-1.02 0-1.4",
767
- arrowBack: "M19 11H7.83l4.88-4.88c.39-.39.39-1.03 0-1.42a.996.996 0 0 0-1.41 0l-6.59 6.59c-.39.39-.39 1.02 0 1.41l6.59 6.59c.39.39 1.02.39 1.41 0s.39-1.02 0-1.41L7.83 13H19c.55 0 1-.45 1-1s-.45-1-1-1",
768
- arrowForward: "M5 13h11.17l-4.88 4.88c-.39.39-.39 1.03 0 1.42s1.02.39 1.41 0l6.59-6.59c.39-.39.39-1.02 0-1.41l-6.58-6.6a.996.996 0 0 0-1.41 0c-.39.39-.39 1.02 0 1.41L16.17 11H5c-.55 0-1 .45-1 1s.45 1 1 1",
769
- //video
770
- play: "M8 5v14l11-7z",
771
- pause: "M6 19h4V5H6zm8-14v14h4V5z",
772
- volumeMute: "M7 9v6h4l5 5V4l-5 5z",
773
- volumeUp: "M3 9v6h4l5 5V4L7 9zm13.5 3c0-1.77-1.02-3.29-2.5-4.03v8.05c1.48-.73 2.5-2.25 2.5-4.02M14 3.23v2.06c2.89.86 5 3.54 5 6.71s-2.11 5.85-5 6.71v2.06c4.01-.91 7-4.49 7-8.77s-2.99-7.86-7-8.77",
774
- // Social
775
- socialFacebook: "M 22.2816,10.9924 C 22.2816,4.92145 17.3602,0 11.2892,0 5.21832,0 0.296875,4.92145 0.296875,10.9924 c 0,5.4865 4.019725,10.0342 9.274805,10.8588 V 14.1698 H 6.78065 V 10.9924 H 9.57168 V 8.57061 c 0,-2.75496 1.64112,-4.27672 4.15202,-4.27672 1.2023,0 2.4606,0.2147 2.4606,0.2147 v 2.70515 h -1.3861 c -1.3654,0 -1.7914,0.8474 -1.7914,1.71756 v 2.0611 h 3.0487 l -0.4874,3.1774 h -2.5613 v 7.6814 c 5.2551,-0.8246 9.2748,-5.3723 9.2748,-10.8588 z",
776
- socialInstagram: "M7.8 2h8.4C19.4 2 22 4.6 22 7.8v8.4a5.8 5.8 0 0 1-5.8 5.8H7.8C4.6 22 2 19.4 2 16.2V7.8A5.8 5.8 0 0 1 7.8 2m-.2 2A3.6 3.6 0 0 0 4 7.6v8.8C4 18.39 5.61 20 7.6 20h8.8a3.6 3.6 0 0 0 3.6-3.6V7.6C20 5.61 18.39 4 16.4 4H7.6m9.65 1.5a1.25 1.25 0 0 1 1.25 1.25A1.25 1.25 0 0 1 17.25 8 1.25 1.25 0 0 1 16 6.75a1.25 1.25 0 0 1 1.25-1.25M12 7a5 5 0 0 1 5 5 5 5 0 0 1-5 5 5 5 0 0 1-5-5 5 5 0 0 1 5-5m0 2a3 3 0 0 0-3 3 3 3 0 0 0 3 3 3 3 0 0 0 3-3 3 3 0 0 0-3-3z",
777
- socialPinterest: "M9.04 21.54c.96.29 1.93.46 2.96.46a10 10 0 0 0 10-10A10 10 0 0 0 12 2 10 10 0 0 0 2 12c0 4.25 2.67 7.9 6.44 9.34-.09-.78-.18-2.07 0-2.96l1.15-4.94s-.29-.58-.29-1.5c0-1.38.86-2.41 1.84-2.41.86 0 1.26.63 1.26 1.44 0 .86-.57 2.09-.86 3.27-.17.98.52 1.84 1.52 1.84 1.78 0 3.16-1.9 3.16-4.58 0-2.4-1.72-4.04-4.19-4.04-2.82 0-4.48 2.1-4.48 4.31 0 .86.28 1.73.74 2.3.09.06.09.14.06.29l-.29 1.09c0 .17-.11.23-.28.11-1.28-.56-2.02-2.38-2.02-3.85 0-3.16 2.24-6.03 6.56-6.03 3.44 0 6.12 2.47 6.12 5.75 0 3.44-2.13 6.2-5.18 6.2-.97 0-1.92-.52-2.26-1.13l-.67 2.37c-.23.86-.86 2.01-1.29 2.7v-.03z",
778
- socialLinkedIn: "M19 3a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h14m-.5 15.5v-5.3a3.26 3.26 0 0 0-3.26-3.26c-.85 0-1.84.52-2.32 1.3v-1.11h-2.79v8.37h2.79v-4.93c0-.77.62-1.4 1.39-1.4a1.4 1.4 0 0 1 1.4 1.4v4.93h2.79M6.88 8.56a1.68 1.68 0 0 0 1.68-1.68c0-.93-.75-1.69-1.68-1.69a1.69 1.69 0 0 0-1.69 1.69c0 .93.76 1.68 1.69 1.68m1.39 9.94v-8.37H5.5v8.37h2.77z",
779
- socialSpotify: "",
780
- socialTiktok: "M21,2H3A1,1,0,0,0,2,3V21a1,1,0,0,0,1,1H21a1,1,0,0,0,1-1V3A1,1,0,0,0,21,2Zm-3.281,8.725h0c-.109.011-.219.016-.328.017A3.571,3.571,0,0,1,14.4,9.129v5.493a4.061,4.061,0,1,1-4.06-4.06c.085,0,.167.008.251.013v2a2.067,2.067,0,1,0-.251,4.119A2.123,2.123,0,0,0,12.5,14.649l.02-9.331h1.914A3.564,3.564,0,0,0,17.719,8.5Z",
781
- socialX: "M18.244 2.25h3.308l-7.227 8.26 8.502 11.24H16.17l-5.214-6.817L4.99 21.75H1.68l7.73-8.835L1.254 2.25H8.08l4.713 6.231zm-1.161 17.52h1.833L7.084 4.126H5.117z",
782
- socialYoutube: "M10 15l5.19-3L10 9v6m11.56-7.83c.13.47.22 1.1.28 1.9.07.8.1 1.49.1 2.09L22 12c0 2.19-.16 3.8-.44 4.83-.25.9-.83 1.48-1.73 1.73-.47.13-1.33.22-2.65.28-1.3.07-2.49.1-3.59.1L12 19c-4.19 0-6.8-.16-7.83-.44-.9-.25-1.48-.83-1.73-1.73-.13-.47-.22-1.1-.28-1.9-.07-.8-.1-1.49-.1-2.09L2 12c0-2.19.16-3.8.44-4.83.25-.9.83-1.48 1.73-1.73.47-.13 1.33-.22 2.65-.28 1.3-.07 2.49-.1 3.59-.1L12 5c4.19 0 6.8.16 7.83.44.9.25 1.48.83 1.73 1.73z"
783
- }, ve = se(
784
- ({
785
- icon: e,
786
- iconPath: n,
787
- size: r,
788
- color: o,
789
- customSize: t,
790
- customColor: u,
791
- interactive: d,
792
- viewBox: c = "0 0 24 24",
793
- css: h,
794
- className: v,
795
- // Extract sprinkles props
796
- margin: N,
797
- marginTop: x,
798
- marginBottom: U,
799
- marginLeft: A,
800
- marginRight: V,
801
- padding: P,
802
- paddingTop: M,
803
- paddingBottom: g,
804
- paddingLeft: T,
805
- paddingRight: L,
806
- gap: Y,
807
- display: D,
808
- flexDirection: Z,
809
- justifyContent: J,
810
- flexWrap: s,
811
- flex: a,
812
- width: i,
813
- height: l,
814
- minWidth: f,
815
- maxWidth: p,
816
- minHeight: E,
817
- position: R,
818
- top: y,
819
- bottom: b,
820
- left: w,
821
- right: j,
822
- zIndex: z,
823
- fontSize: B,
824
- fontFamily: H,
825
- lineHeight: k,
826
- textAlign: C,
827
- fontWeight: W,
828
- backgroundColor: S,
829
- borderRadius: $,
830
- borderWidth: F,
831
- borderStyle: I,
832
- borderColor: X,
833
- boxShadow: q,
834
- opacity: G,
835
- overflow: O,
836
- overflowX: K,
837
- overflowY: _,
838
- ...Q
839
- }, te) => {
840
- const ne = n || (e ? rn[e] : ""), ee = t ? {
841
- width: `${t}px`,
842
- height: `${t}px`
843
- } : {}, ce = u ? {
844
- fill: u
845
- } : {};
846
- return /* @__PURE__ */ m(
847
- "svg",
848
- {
849
- ref: te,
850
- viewBox: c,
851
- className: ae(
852
- rt({ size: t ? void 0 : r, interactive: d }),
853
- ie({
854
- margin: N,
855
- marginTop: x,
856
- marginBottom: U,
857
- marginLeft: A,
858
- marginRight: V,
859
- padding: P,
860
- paddingTop: M,
861
- paddingBottom: g,
862
- paddingLeft: T,
863
- paddingRight: L,
864
- gap: Y,
865
- display: D,
866
- flexDirection: Z,
867
- justifyContent: J,
868
- flexWrap: s,
869
- flex: a,
870
- width: i,
871
- height: l,
872
- minWidth: f,
873
- maxWidth: p,
874
- minHeight: E,
875
- position: R,
876
- top: y,
877
- bottom: b,
878
- left: w,
879
- right: j,
880
- zIndex: z,
881
- fontSize: B,
882
- fontFamily: H,
883
- lineHeight: k,
884
- textAlign: C,
885
- fontWeight: W,
886
- backgroundColor: S,
887
- borderRadius: $,
888
- borderWidth: F,
889
- borderStyle: I,
890
- borderColor: X,
891
- boxShadow: q,
892
- opacity: G,
893
- overflow: O,
894
- overflowX: K,
895
- overflowY: _
896
- }),
897
- h,
898
- v
899
- ),
900
- style: ee,
901
- "aria-hidden": !Q["aria-label"] && !Q["aria-labelledby"],
902
- ...Q,
903
- children: /* @__PURE__ */ m("path", { className: n, d: ne, style: ce })
904
- }
905
- );
906
- }
907
- );
908
- ve.displayName = "Icon";
909
- const sn = se(
910
- ({
911
- children: e,
912
- isOpen: n,
913
- onClose: r,
914
- showCloseButton: o = !0,
915
- closeOnBackdropClick: t = !0,
916
- closeOnEscape: u = !0,
917
- contentProps: d = {},
918
- size: c,
919
- centered: h,
920
- css: v,
921
- className: N,
922
- // Extract sprinkles props
923
- margin: x,
924
- marginTop: U,
925
- marginBottom: A,
926
- marginLeft: V,
927
- marginRight: P,
928
- padding: M,
929
- paddingTop: g,
930
- paddingBottom: T,
931
- paddingLeft: L,
932
- paddingRight: Y,
933
- gap: D,
934
- display: Z,
935
- flexDirection: J,
936
- justifyContent: s,
937
- flexWrap: a,
938
- flex: i,
939
- width: l,
940
- height: f,
941
- minWidth: p,
942
- maxWidth: E,
943
- minHeight: R,
944
- position: y,
945
- top: b,
946
- bottom: w,
947
- left: j,
948
- right: z,
949
- zIndex: B,
950
- fontSize: H,
951
- fontFamily: k,
952
- lineHeight: C,
953
- textAlign: W,
954
- fontWeight: S,
955
- color: $,
956
- backgroundColor: F,
957
- borderRadius: I,
958
- borderWidth: X,
959
- borderStyle: q,
960
- borderColor: G,
961
- boxShadow: O,
962
- opacity: K,
963
- overflow: _,
964
- overflowX: Q,
965
- overflowY: te,
966
- ...ne
967
- }, ee) => {
968
- const [ce, le] = ye(n);
969
- pe(() => {
970
- if (n)
971
- le(!0), document.body.style.overflow = "hidden";
972
- else {
973
- const fe = setTimeout(() => le(!1), 300);
974
- return document.body.style.overflow = "", () => clearTimeout(fe);
975
- }
976
- }, [n]), pe(() => {
977
- const fe = (oe) => {
978
- u && oe.key === "Escape" && r && r();
979
- };
980
- if (n)
981
- return document.addEventListener("keydown", fe), () => document.removeEventListener("keydown", fe);
982
- }, [n, u, r]);
983
- const de = (fe) => {
984
- t && fe.target === fe.currentTarget && r && r();
985
- };
986
- return ce ? /* @__PURE__ */ m(
987
- "div",
988
- {
989
- ref: ee,
990
- className: ae(
991
- ot({ size: c, centered: h }),
992
- ie({
993
- margin: x,
994
- marginTop: U,
995
- marginBottom: A,
996
- marginLeft: V,
997
- marginRight: P,
998
- padding: M,
999
- paddingTop: g,
1000
- paddingBottom: T,
1001
- paddingLeft: L,
1002
- paddingRight: Y,
1003
- gap: D,
1004
- display: Z,
1005
- flexDirection: J,
1006
- justifyContent: s,
1007
- flexWrap: a,
1008
- flex: i,
1009
- width: l,
1010
- height: f,
1011
- minWidth: p,
1012
- maxWidth: E,
1013
- minHeight: R,
1014
- position: y,
1015
- top: b,
1016
- bottom: w,
1017
- left: j,
1018
- right: z,
1019
- zIndex: B,
1020
- fontSize: H,
1021
- fontFamily: k,
1022
- lineHeight: C,
1023
- textAlign: W,
1024
- fontWeight: S,
1025
- color: $,
1026
- backgroundColor: F,
1027
- borderRadius: I,
1028
- borderWidth: X,
1029
- borderStyle: q,
1030
- borderColor: G,
1031
- boxShadow: O,
1032
- opacity: K,
1033
- overflow: _,
1034
- overflowX: Q,
1035
- overflowY: te
1036
- }),
1037
- v,
1038
- N
1039
- ),
1040
- onClick: de,
1041
- role: "dialog",
1042
- "aria-modal": "true",
1043
- ...ne,
1044
- children: /* @__PURE__ */ he(
1045
- "div",
1046
- {
1047
- className: ae(
1048
- st({
1049
- size: d.size || c,
1050
- align: d.align
1051
- }),
1052
- d.css,
1053
- d.className
1054
- ),
1055
- children: [
1056
- o && r && /* @__PURE__ */ m("button", { type: "button", className: it, onClick: r, "aria-label": "Close modal", children: /* @__PURE__ */ m(ve, { icon: "close", size: "sm" }) }),
1057
- e
1058
- ]
1059
- }
1060
- )
1061
- }
1062
- ) : null;
1063
- }
1064
- );
1065
- sn.displayName = "Modal";
1066
- const on = se(
1067
- ({
1068
- children: e,
1069
- size: n,
1070
- variant: r,
1071
- responsive: o,
1072
- as: t = "div",
1073
- href: u,
1074
- css: d,
1075
- className: c,
1076
- // Extract sprinkles props
1077
- margin: h,
1078
- marginTop: v,
1079
- marginBottom: N,
1080
- marginLeft: x,
1081
- marginRight: U,
1082
- padding: A,
1083
- paddingTop: V,
1084
- paddingBottom: P,
1085
- paddingLeft: M,
1086
- paddingRight: g,
1087
- gap: T,
1088
- display: L,
1089
- flexDirection: Y,
1090
- justifyContent: D,
1091
- flexWrap: Z,
1092
- flex: J,
1093
- width: s,
1094
- height: a,
1095
- minWidth: i,
1096
- maxWidth: l,
1097
- minHeight: f,
1098
- position: p,
1099
- top: E,
1100
- bottom: R,
1101
- left: y,
1102
- right: b,
1103
- zIndex: w,
1104
- fontSize: j,
1105
- fontFamily: z,
1106
- lineHeight: B,
1107
- textAlign: H,
1108
- fontWeight: k,
1109
- color: C,
1110
- backgroundColor: W,
1111
- borderRadius: S,
1112
- borderWidth: $,
1113
- borderStyle: F,
1114
- borderColor: I,
1115
- boxShadow: X,
1116
- opacity: q,
1117
- overflow: G,
1118
- overflowX: O,
1119
- overflowY: K,
1120
- ..._
1121
- }, Q) => /* @__PURE__ */ m(
1122
- "div",
1123
- {
1124
- ref: Q,
1125
- className: ae(
1126
- lt({ size: n, variant: u ? "link" : r, responsive: o }),
1127
- ie({
1128
- margin: h,
1129
- marginTop: v,
1130
- marginBottom: N,
1131
- marginLeft: x,
1132
- marginRight: U,
1133
- padding: A,
1134
- paddingTop: V,
1135
- paddingBottom: P,
1136
- paddingLeft: M,
1137
- paddingRight: g,
1138
- gap: T,
1139
- display: L,
1140
- flexDirection: Y,
1141
- justifyContent: D,
1142
- flexWrap: Z,
1143
- flex: J,
1144
- width: s,
1145
- height: a,
1146
- minWidth: i,
1147
- maxWidth: l,
1148
- minHeight: f,
1149
- position: p,
1150
- top: E,
1151
- bottom: R,
1152
- left: y,
1153
- right: b,
1154
- zIndex: w,
1155
- fontSize: j,
1156
- fontFamily: z,
1157
- lineHeight: B,
1158
- textAlign: H,
1159
- fontWeight: k,
1160
- color: C,
1161
- backgroundColor: W,
1162
- borderRadius: S,
1163
- borderWidth: $,
1164
- borderStyle: F,
1165
- borderColor: I,
1166
- boxShadow: X,
1167
- opacity: q,
1168
- overflow: G,
1169
- overflowX: O,
1170
- overflowY: K
1171
- }),
1172
- d,
1173
- c
1174
- ),
1175
- ..._,
1176
- children: e
1177
- }
1178
- )
1179
- );
1180
- on.displayName = "Logo";
1181
- const ln = se(
1182
- ({
1183
- children: e,
1184
- columns: n,
1185
- align: r,
1186
- spacing: o,
1187
- wrap: t,
1188
- reverse: u,
1189
- alignItems: d,
1190
- as: c = "div",
1191
- css: h,
1192
- className: v,
1193
- // Extract sprinkles props
1194
- margin: N,
1195
- marginTop: x,
1196
- marginBottom: U,
1197
- marginLeft: A,
1198
- marginRight: V,
1199
- padding: P,
1200
- paddingTop: M,
1201
- paddingBottom: g,
1202
- paddingLeft: T,
1203
- paddingRight: L,
1204
- gap: Y,
1205
- display: D,
1206
- flexDirection: Z,
1207
- justifyContent: J,
1208
- flexWrap: s,
1209
- flex: a,
1210
- width: i,
1211
- height: l,
1212
- minWidth: f,
1213
- maxWidth: p,
1214
- minHeight: E,
1215
- position: R,
1216
- top: y,
1217
- bottom: b,
1218
- left: w,
1219
- right: j,
1220
- zIndex: z,
1221
- fontSize: B,
1222
- fontFamily: H,
1223
- lineHeight: k,
1224
- textAlign: C,
1225
- fontWeight: W,
1226
- color: S,
1227
- backgroundColor: $,
1228
- borderRadius: F,
1229
- borderWidth: I,
1230
- borderStyle: X,
1231
- borderColor: q,
1232
- boxShadow: G,
1233
- opacity: O,
1234
- overflow: K,
1235
- overflowX: _,
1236
- overflowY: Q,
1237
- ...te
1238
- }, ne) => {
1239
- const ee = Array.isArray(e) ? e : [e];
1240
- return /* @__PURE__ */ m(
1241
- c,
1242
- {
1243
- ref: ne,
1244
- className: ae(
1245
- ut({ align: r, spacing: o, wrap: t, reverse: u, alignItems: d }),
1246
- ie({
1247
- margin: N,
1248
- marginTop: x,
1249
- marginBottom: U,
1250
- marginLeft: A,
1251
- marginRight: V,
1252
- padding: P,
1253
- paddingTop: M,
1254
- paddingBottom: g,
1255
- paddingLeft: T,
1256
- paddingRight: L,
1257
- gap: Y,
1258
- display: D,
1259
- flexDirection: Z,
1260
- justifyContent: J,
1261
- flexWrap: s,
1262
- flex: a,
1263
- width: i,
1264
- height: l,
1265
- minWidth: f,
1266
- maxWidth: p,
1267
- minHeight: E,
1268
- position: R,
1269
- top: y,
1270
- bottom: b,
1271
- left: w,
1272
- right: j,
1273
- zIndex: z,
1274
- fontSize: B,
1275
- fontFamily: H,
1276
- lineHeight: k,
1277
- textAlign: C,
1278
- fontWeight: W,
1279
- color: S,
1280
- backgroundColor: $,
1281
- borderRadius: F,
1282
- borderWidth: I,
1283
- borderStyle: X,
1284
- borderColor: q,
1285
- boxShadow: G,
1286
- opacity: O,
1287
- overflow: K,
1288
- overflowX: _,
1289
- overflowY: Q
1290
- }),
1291
- h,
1292
- v
1293
- ),
1294
- ...te,
1295
- children: n && n.length > 0 ? ee.map((ce, le) => /* @__PURE__ */ m("div", { className: ae(n[le] && ct[n[le]]), children: ce }, le)) : e
1296
- }
1297
- );
1298
- }
1299
- );
1300
- ln.displayName = "Columns";
1301
- const cn = se(
1302
- ({
1303
- children: e,
1304
- align: n,
1305
- direction: r,
1306
- spacing: o,
1307
- wrap: t,
1308
- fullWidth: u,
1309
- as: d = "div",
1310
- css: c,
1311
- className: h,
1312
- // Extract sprinkles props
1313
- margin: v,
1314
- marginTop: N,
1315
- marginBottom: x,
1316
- marginLeft: U,
1317
- marginRight: A,
1318
- padding: V,
1319
- paddingTop: P,
1320
- paddingBottom: M,
1321
- paddingLeft: g,
1322
- paddingRight: T,
1323
- gap: L,
1324
- display: Y,
1325
- flexDirection: D,
1326
- justifyContent: Z,
1327
- flexWrap: J,
1328
- flex: s,
1329
- width: a,
1330
- height: i,
1331
- minWidth: l,
1332
- maxWidth: f,
1333
- minHeight: p,
1334
- position: E,
1335
- top: R,
1336
- bottom: y,
1337
- left: b,
1338
- right: w,
1339
- zIndex: j,
1340
- fontSize: z,
1341
- fontFamily: B,
1342
- lineHeight: H,
1343
- textAlign: k,
1344
- fontWeight: C,
1345
- color: W,
1346
- backgroundColor: S,
1347
- borderRadius: $,
1348
- borderWidth: F,
1349
- borderStyle: I,
1350
- borderColor: X,
1351
- boxShadow: q,
1352
- opacity: G,
1353
- overflow: O,
1354
- overflowX: K,
1355
- overflowY: _,
1356
- ...Q
1357
- }, te) => /* @__PURE__ */ m(
1358
- d,
1359
- {
1360
- ref: te,
1361
- className: ae(
1362
- dt({ align: n, direction: r, spacing: o, wrap: t, fullWidth: u }),
1363
- ie({
1364
- margin: v,
1365
- marginTop: N,
1366
- marginBottom: x,
1367
- marginLeft: U,
1368
- marginRight: A,
1369
- padding: V,
1370
- paddingTop: P,
1371
- paddingBottom: M,
1372
- paddingLeft: g,
1373
- paddingRight: T,
1374
- gap: L,
1375
- display: Y,
1376
- flexDirection: D,
1377
- justifyContent: Z,
1378
- flexWrap: J,
1379
- flex: s,
1380
- width: a,
1381
- height: i,
1382
- minWidth: l,
1383
- maxWidth: f,
1384
- minHeight: p,
1385
- position: E,
1386
- top: R,
1387
- bottom: y,
1388
- left: b,
1389
- right: w,
1390
- zIndex: j,
1391
- fontSize: z,
1392
- fontFamily: B,
1393
- lineHeight: H,
1394
- textAlign: k,
1395
- fontWeight: C,
1396
- color: W,
1397
- backgroundColor: S,
1398
- borderRadius: $,
1399
- borderWidth: F,
1400
- borderStyle: I,
1401
- borderColor: X,
1402
- boxShadow: q,
1403
- opacity: G,
1404
- overflow: O,
1405
- overflowX: K,
1406
- overflowY: _
1407
- }),
1408
- c,
1409
- h
1410
- ),
1411
- ...Q,
1412
- children: e
1413
- }
1414
- )
1415
- );
1416
- cn.displayName = "Actions";
1417
- const un = () => {
1418
- const [e, n] = ye({
1419
- width: void 0,
1420
- height: void 0
1421
- });
1422
- return pe(() => {
1423
- const r = () => {
1424
- n({
1425
- width: window.innerWidth,
1426
- height: window.innerHeight
1427
- });
1428
- };
1429
- return window.addEventListener("resize", r), r(), () => window.removeEventListener("resize", r);
1430
- }, []), e;
1431
- }, dn = se(
1432
- ({
1433
- data: e,
1434
- itemsPerView: n = 1,
1435
- showNavButtons: r = !1,
1436
- showBullets: o = !1,
1437
- autoplay: t = !1,
1438
- autoplayInterval: u = 3e3,
1439
- gap: d = 16,
1440
- fullWidth: c,
1441
- as: h = "div",
1442
- css: v,
1443
- className: N,
1444
- // Extract sprinkles props
1445
- margin: x,
1446
- marginTop: U,
1447
- marginBottom: A,
1448
- marginLeft: V,
1449
- marginRight: P,
1450
- padding: M,
1451
- paddingTop: g,
1452
- paddingBottom: T,
1453
- paddingLeft: L,
1454
- paddingRight: Y,
1455
- display: D,
1456
- flexDirection: Z,
1457
- justifyContent: J,
1458
- flexWrap: s,
1459
- flex: a,
1460
- width: i,
1461
- height: l,
1462
- minWidth: f,
1463
- maxWidth: p,
1464
- minHeight: E,
1465
- position: R,
1466
- top: y,
1467
- bottom: b,
1468
- left: w,
1469
- right: j,
1470
- zIndex: z,
1471
- fontSize: B,
1472
- fontFamily: H,
1473
- lineHeight: k,
1474
- textAlign: C,
1475
- fontWeight: W,
1476
- color: S,
1477
- backgroundColor: $,
1478
- borderRadius: F,
1479
- borderWidth: I,
1480
- borderStyle: X,
1481
- borderColor: q,
1482
- boxShadow: G,
1483
- opacity: O,
1484
- overflow: K,
1485
- overflowX: _,
1486
- overflowY: Q,
1487
- ...te
1488
- }, ne) => {
1489
- const { width: ee } = un(), [ce, le] = ye(0), [de, fe] = ye(0), [oe, me] = ye(n), be = Ie(null), we = Ie(null), Ce = ee !== void 0 && ee > Ue.md, Oe = ee !== void 0 && ee > Ue.lg;
1490
- pe(() => {
1491
- me(Oe ? n : Ce ? Math.max(1, Math.floor(n / 2)) : 1);
1492
- }, [Ce, Oe, n]), pe(() => {
1493
- const re = () => {
1494
- if (be.current) {
1495
- const ue = be.current.getBoundingClientRect().width, Ve = (oe - 1) * d;
1496
- fe((ue - Ve) / oe);
1497
- }
1498
- };
1499
- return re(), window.addEventListener("resize", re), () => window.removeEventListener("resize", re);
1500
- }, [oe, d]), pe(() => {
1501
- if (!t) return;
1502
- const re = setInterval(() => {
1503
- le((ue) => {
1504
- const Ve = Math.max(0, e.length - oe);
1505
- return ue >= Ve ? 0 : ue + 1;
1506
- });
1507
- }, u);
1508
- return () => clearInterval(re);
1509
- }, [t, u, e.length, oe]), pe(() => {
1510
- const re = be.current;
1511
- if (!re) return;
1512
- let ue = 0, Ve = 0;
1513
- const ze = (Ae) => {
1514
- ue = Ae.changedTouches[0].screenX;
1515
- }, Pe = (Ae) => {
1516
- Ve = Ae.changedTouches[0].screenX, Ye();
1517
- }, Ye = () => {
1518
- const _e = ue - Ve;
1519
- Math.abs(_e) > 100 && (_e > 0 ? xe() : Ne());
1520
- };
1521
- return re.addEventListener("touchstart", ze, { passive: !0 }), re.addEventListener("touchend", Pe, { passive: !0 }), () => {
1522
- re.removeEventListener("touchstart", ze), re.removeEventListener("touchend", Pe);
1523
- };
1524
- }, []);
1525
- const Ne = () => {
1526
- le((re) => Math.max(0, re - 1));
1527
- }, xe = () => {
1528
- const re = Math.max(0, e.length - oe);
1529
- le((ue) => Math.min(re, ue + 1));
1530
- }, ke = (re) => {
1531
- const ue = Math.max(0, e.length - oe);
1532
- le(Math.min(re, ue));
1533
- }, Fe = -(ce * (de + d)), Re = Math.max(0, e.length - oe);
1534
- return /* @__PURE__ */ he(
1535
- h,
1536
- {
1537
- ref: ne,
1538
- className: ae(
1539
- gt({ fullWidth: c }),
1540
- ie({
1541
- margin: x,
1542
- marginTop: U,
1543
- marginBottom: A,
1544
- marginLeft: V,
1545
- marginRight: P,
1546
- padding: M,
1547
- paddingTop: g,
1548
- paddingBottom: T,
1549
- paddingLeft: L,
1550
- paddingRight: Y,
1551
- display: D,
1552
- flexDirection: Z,
1553
- justifyContent: J,
1554
- flexWrap: s,
1555
- flex: a,
1556
- width: i,
1557
- height: l,
1558
- minWidth: f,
1559
- maxWidth: p,
1560
- minHeight: E,
1561
- position: R,
1562
- top: y,
1563
- bottom: b,
1564
- left: w,
1565
- right: j,
1566
- zIndex: z,
1567
- fontSize: B,
1568
- fontFamily: H,
1569
- lineHeight: k,
1570
- textAlign: C,
1571
- fontWeight: W,
1572
- color: S,
1573
- backgroundColor: $,
1574
- borderRadius: F,
1575
- borderWidth: I,
1576
- borderStyle: X,
1577
- borderColor: q,
1578
- boxShadow: G,
1579
- opacity: O,
1580
- overflow: K,
1581
- overflowX: _,
1582
- overflowY: Q
1583
- }),
1584
- v,
1585
- N
1586
- ),
1587
- ...te,
1588
- children: [
1589
- /* @__PURE__ */ m("div", { ref: be, className: ft, children: /* @__PURE__ */ m(
1590
- "div",
1591
- {
1592
- ref: we,
1593
- className: ht,
1594
- style: {
1595
- transform: `translateX(${Fe}px)`,
1596
- gap: `${d}px`
1597
- },
1598
- children: e.map((re, ue) => /* @__PURE__ */ m("div", { className: mt, style: { width: `${de}px` }, children: re }, ue))
1599
- }
1600
- ) }),
1601
- r && /* @__PURE__ */ he("div", { className: pt, children: [
1602
- /* @__PURE__ */ m("button", { type: "button", className: De, onClick: Ne, disabled: ce === 0, "aria-label": "Previous slide", children: /* @__PURE__ */ m(ve, { icon: "arrowBack", size: "md" }) }),
1603
- /* @__PURE__ */ m("button", { type: "button", className: De, onClick: xe, disabled: ce >= Re, "aria-label": "Next slide", children: /* @__PURE__ */ m(ve, { icon: "arrowForward", size: "md" }) })
1604
- ] }),
1605
- o && /* @__PURE__ */ m("div", { className: vt, children: Array.from({ length: Re + 1 }, (re, ue) => /* @__PURE__ */ m(
1606
- "button",
1607
- {
1608
- type: "button",
1609
- className: ae(yt, ue === ce && bt),
1610
- onClick: () => ke(ue),
1611
- "aria-label": `Go to slide ${ue + 1}`
1612
- },
1613
- ue
1614
- )) })
1615
- ]
1616
- }
1617
- );
1618
- }
1619
- );
1620
- dn.displayName = "Carousel";
1621
- function fn(e) {
1622
- const n = e + "=", o = decodeURIComponent(document.cookie).split(";");
1623
- for (let t = 0; t < o.length; t++) {
1624
- let u = o[t];
1625
- for (; u.charAt(0) == " "; )
1626
- u = u.substring(1);
1627
- if (u.indexOf(n) == 0)
1628
- return u.substring(n.length, u.length);
1629
- }
1630
- return "";
1631
- }
1632
- function He(e, n, r) {
1633
- const o = /* @__PURE__ */ new Date();
1634
- o.setTime(o.getTime() + r * 24 * 60 * 60 * 1e3);
1635
- const t = "expires=" + o.toUTCString();
1636
- document.cookie = e + "=" + n + ";" + t + ";path=/";
1637
- }
1638
- const hn = se(
1639
- ({
1640
- children: e,
1641
- variant: n,
1642
- cookieName: r = "consent",
1643
- cookieExpirationDays: o = 365,
1644
- onAccept: t,
1645
- onReject: u,
1646
- translations: d,
1647
- enableGoogleAnalytics: c = !0,
1648
- css: h,
1649
- className: v,
1650
- // Extract sprinkles props
1651
- margin: N,
1652
- marginTop: x,
1653
- marginBottom: U,
1654
- marginLeft: A,
1655
- marginRight: V,
1656
- padding: P,
1657
- paddingTop: M,
1658
- paddingBottom: g,
1659
- paddingLeft: T,
1660
- paddingRight: L,
1661
- gap: Y,
1662
- display: D,
1663
- flexDirection: Z,
1664
- justifyContent: J,
1665
- flexWrap: s,
1666
- flex: a,
1667
- width: i,
1668
- height: l,
1669
- minWidth: f,
1670
- maxWidth: p,
1671
- minHeight: E,
1672
- zIndex: R,
1673
- fontSize: y,
1674
- fontFamily: b,
1675
- lineHeight: w,
1676
- textAlign: j,
1677
- fontWeight: z,
1678
- color: B,
1679
- backgroundColor: H,
1680
- borderRadius: k,
1681
- borderWidth: C,
1682
- borderStyle: W,
1683
- borderColor: S,
1684
- boxShadow: $,
1685
- opacity: F,
1686
- overflow: I,
1687
- overflowX: X,
1688
- overflowY: q,
1689
- ...G
1690
- }, O) => {
1691
- const [K, _] = ye(!1), Q = () => {
1692
- _(!1), He(r, "true", o), c && typeof window < "u" && typeof window.gtag < "u" && window.gtag("consent", "update", {
1693
- analytics_storage: "granted"
1694
- }), t?.();
1695
- }, te = () => {
1696
- _(!1), He(r, "false", o), c && typeof window < "u" && typeof window.gtag < "u" && window.gtag("consent", "update", {
1697
- analytics_storage: "denied"
1698
- }), u?.();
1699
- };
1700
- return pe(() => {
1701
- const ne = fn(r), ee = ne !== "true" && ne !== "false", ce = ne === "true";
1702
- if (ee && _(!0), c && typeof window < "u" && typeof window.gtag < "u") {
1703
- const le = ce ? "granted" : "denied";
1704
- window.gtag("consent", "update", {
1705
- analytics_storage: le
1706
- });
1707
- }
1708
- }, [r, c]), K ? /* @__PURE__ */ m(
1709
- "div",
1710
- {
1711
- ref: O,
1712
- className: ae(
1713
- Vt({ variant: n }),
1714
- ie({
1715
- margin: N,
1716
- marginTop: x,
1717
- marginBottom: U,
1718
- marginLeft: A,
1719
- marginRight: V,
1720
- padding: P,
1721
- paddingTop: M,
1722
- paddingBottom: g,
1723
- paddingLeft: T,
1724
- paddingRight: L,
1725
- gap: Y,
1726
- display: D,
1727
- flexDirection: Z,
1728
- justifyContent: J,
1729
- flexWrap: s,
1730
- flex: a,
1731
- width: i,
1732
- height: l,
1733
- minWidth: f,
1734
- maxWidth: p,
1735
- minHeight: E,
1736
- zIndex: R,
1737
- fontSize: y,
1738
- fontFamily: b,
1739
- lineHeight: w,
1740
- textAlign: j,
1741
- fontWeight: z,
1742
- color: B,
1743
- backgroundColor: H,
1744
- borderRadius: k,
1745
- borderWidth: C,
1746
- borderStyle: W,
1747
- borderColor: S,
1748
- boxShadow: $,
1749
- opacity: F,
1750
- overflow: I,
1751
- overflowX: X,
1752
- overflowY: q
1753
- }),
1754
- h,
1755
- v
1756
- ),
1757
- role: "dialog",
1758
- "aria-modal": "true",
1759
- "aria-labelledby": "consent-title",
1760
- ...G,
1761
- children: /* @__PURE__ */ he("div", { className: wt, children: [
1762
- e,
1763
- /* @__PURE__ */ he("div", { className: Nt, children: [
1764
- /* @__PURE__ */ m(Le, { variant: "outline", size: "sm", onClick: te, children: d?.actions.reject || "Reject" }),
1765
- /* @__PURE__ */ m(Le, { variant: "primary", size: "sm", onClick: Q, children: d?.actions.accept || "Accept" })
1766
- ] })
1767
- ] })
1768
- }
1769
- ) : null;
1770
- }
1771
- );
1772
- hn.displayName = "ConsentCookie";
1773
- function mn(e) {
1774
- return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
1775
- }
1776
- function pn(e) {
1777
- if (Object.prototype.hasOwnProperty.call(e, "__esModule")) return e;
1778
- var n = e.default;
1779
- if (typeof n == "function") {
1780
- var r = function o() {
1781
- var t = !1;
1782
- try {
1783
- t = this instanceof o;
1784
- } catch {
1785
- }
1786
- return t ? Reflect.construct(n, arguments, this.constructor) : n.apply(this, arguments);
1787
- };
1788
- r.prototype = n.prototype;
1789
- } else r = {};
1790
- return Object.defineProperty(r, "__esModule", { value: !0 }), Object.keys(e).forEach(function(o) {
1791
- var t = Object.getOwnPropertyDescriptor(e, o);
1792
- Object.defineProperty(r, o, t.get ? t : {
1793
- enumerable: !0,
1794
- get: function() {
1795
- return e[o];
1796
- }
1797
- });
1798
- }), r;
1799
- }
1800
- var Ee = {}, Te = function() {
1801
- return Te = Object.assign || function(e) {
1802
- for (var n, r = 1, o = arguments.length; r < o; r++) for (var t in n = arguments[r]) Object.prototype.hasOwnProperty.call(n, t) && (e[t] = n[t]);
1803
- return e;
1804
- }, Te.apply(this, arguments);
1805
- }, vn = (function() {
1806
- function e(n, r, o) {
1807
- var t = this;
1808
- this.endVal = r, this.options = o, this.version = "2.8.0", this.defaults = { startVal: 0, decimalPlaces: 0, duration: 2, useEasing: !0, useGrouping: !0, useIndianSeparators: !1, smartEasingThreshold: 999, smartEasingAmount: 333, separator: ",", decimal: ".", prefix: "", suffix: "", enableScrollSpy: !1, scrollSpyDelay: 200, scrollSpyOnce: !1 }, this.finalEndVal = null, this.useEasing = !0, this.countDown = !1, this.error = "", this.startVal = 0, this.paused = !0, this.once = !1, this.count = function(u) {
1809
- t.startTime || (t.startTime = u);
1810
- var d = u - t.startTime;
1811
- t.remaining = t.duration - d, t.useEasing ? t.countDown ? t.frameVal = t.startVal - t.easingFn(d, 0, t.startVal - t.endVal, t.duration) : t.frameVal = t.easingFn(d, t.startVal, t.endVal - t.startVal, t.duration) : t.frameVal = t.startVal + (t.endVal - t.startVal) * (d / t.duration);
1812
- var c = t.countDown ? t.frameVal < t.endVal : t.frameVal > t.endVal;
1813
- t.frameVal = c ? t.endVal : t.frameVal, t.frameVal = Number(t.frameVal.toFixed(t.options.decimalPlaces)), t.printValue(t.frameVal), d < t.duration ? t.rAF = requestAnimationFrame(t.count) : t.finalEndVal !== null ? t.update(t.finalEndVal) : t.options.onCompleteCallback && t.options.onCompleteCallback();
1814
- }, this.formatNumber = function(u) {
1815
- var d, c, h, v, N = u < 0 ? "-" : "";
1816
- d = Math.abs(u).toFixed(t.options.decimalPlaces);
1817
- var x = (d += "").split(".");
1818
- if (c = x[0], h = x.length > 1 ? t.options.decimal + x[1] : "", t.options.useGrouping) {
1819
- v = "";
1820
- for (var U = 3, A = 0, V = 0, P = c.length; V < P; ++V) t.options.useIndianSeparators && V === 4 && (U = 2, A = 1), V !== 0 && A % U == 0 && (v = t.options.separator + v), A++, v = c[P - V - 1] + v;
1821
- c = v;
1822
- }
1823
- return t.options.numerals && t.options.numerals.length && (c = c.replace(/[0-9]/g, (function(M) {
1824
- return t.options.numerals[+M];
1825
- })), h = h.replace(/[0-9]/g, (function(M) {
1826
- return t.options.numerals[+M];
1827
- }))), N + t.options.prefix + c + h + t.options.suffix;
1828
- }, this.easeOutExpo = function(u, d, c, h) {
1829
- return c * (1 - Math.pow(2, -10 * u / h)) * 1024 / 1023 + d;
1830
- }, this.options = Te(Te({}, this.defaults), o), this.formattingFn = this.options.formattingFn ? this.options.formattingFn : this.formatNumber, this.easingFn = this.options.easingFn ? this.options.easingFn : this.easeOutExpo, this.startVal = this.validateValue(this.options.startVal), this.frameVal = this.startVal, this.endVal = this.validateValue(r), this.options.decimalPlaces = Math.max(this.options.decimalPlaces), this.resetDuration(), this.options.separator = String(this.options.separator), this.useEasing = this.options.useEasing, this.options.separator === "" && (this.options.useGrouping = !1), this.el = typeof n == "string" ? document.getElementById(n) : n, this.el ? this.printValue(this.startVal) : this.error = "[CountUp] target is null or undefined", typeof window < "u" && this.options.enableScrollSpy && (this.error ? console.error(this.error, n) : (window.onScrollFns = window.onScrollFns || [], window.onScrollFns.push((function() {
1831
- return t.handleScroll(t);
1832
- })), window.onscroll = function() {
1833
- window.onScrollFns.forEach((function(u) {
1834
- return u();
1835
- }));
1836
- }, this.handleScroll(this)));
1837
- }
1838
- return e.prototype.handleScroll = function(n) {
1839
- if (n && window && !n.once) {
1840
- var r = window.innerHeight + window.scrollY, o = n.el.getBoundingClientRect(), t = o.top + window.pageYOffset, u = o.top + o.height + window.pageYOffset;
1841
- u < r && u > window.scrollY && n.paused ? (n.paused = !1, setTimeout((function() {
1842
- return n.start();
1843
- }), n.options.scrollSpyDelay), n.options.scrollSpyOnce && (n.once = !0)) : (window.scrollY > u || t > r) && !n.paused && n.reset();
1844
- }
1845
- }, e.prototype.determineDirectionAndSmartEasing = function() {
1846
- var n = this.finalEndVal ? this.finalEndVal : this.endVal;
1847
- this.countDown = this.startVal > n;
1848
- var r = n - this.startVal;
1849
- if (Math.abs(r) > this.options.smartEasingThreshold && this.options.useEasing) {
1850
- this.finalEndVal = n;
1851
- var o = this.countDown ? 1 : -1;
1852
- this.endVal = n + o * this.options.smartEasingAmount, this.duration = this.duration / 2;
1853
- } else this.endVal = n, this.finalEndVal = null;
1854
- this.finalEndVal !== null ? this.useEasing = !1 : this.useEasing = this.options.useEasing;
1855
- }, e.prototype.start = function(n) {
1856
- this.error || (this.options.onStartCallback && this.options.onStartCallback(), n && (this.options.onCompleteCallback = n), this.duration > 0 ? (this.determineDirectionAndSmartEasing(), this.paused = !1, this.rAF = requestAnimationFrame(this.count)) : this.printValue(this.endVal));
1857
- }, e.prototype.pauseResume = function() {
1858
- this.paused ? (this.startTime = null, this.duration = this.remaining, this.startVal = this.frameVal, this.determineDirectionAndSmartEasing(), this.rAF = requestAnimationFrame(this.count)) : cancelAnimationFrame(this.rAF), this.paused = !this.paused;
1859
- }, e.prototype.reset = function() {
1860
- cancelAnimationFrame(this.rAF), this.paused = !0, this.resetDuration(), this.startVal = this.validateValue(this.options.startVal), this.frameVal = this.startVal, this.printValue(this.startVal);
1861
- }, e.prototype.update = function(n) {
1862
- cancelAnimationFrame(this.rAF), this.startTime = null, this.endVal = this.validateValue(n), this.endVal !== this.frameVal && (this.startVal = this.frameVal, this.finalEndVal == null && this.resetDuration(), this.finalEndVal = null, this.determineDirectionAndSmartEasing(), this.rAF = requestAnimationFrame(this.count));
1863
- }, e.prototype.printValue = function(n) {
1864
- var r;
1865
- if (this.el) {
1866
- var o = this.formattingFn(n);
1867
- !((r = this.options.plugin) === null || r === void 0) && r.render ? this.options.plugin.render(this.el, o) : this.el.tagName === "INPUT" ? this.el.value = o : this.el.tagName === "text" || this.el.tagName === "tspan" ? this.el.textContent = o : this.el.innerHTML = o;
1868
- }
1869
- }, e.prototype.ensureNumber = function(n) {
1870
- return typeof n == "number" && !isNaN(n);
1871
- }, e.prototype.validateValue = function(n) {
1872
- var r = Number(n);
1873
- return this.ensureNumber(r) ? r : (this.error = "[CountUp] invalid start or end value: ".concat(n), null);
1874
- }, e.prototype.resetDuration = function() {
1875
- this.startTime = null, this.duration = 1e3 * Number(this.options.duration), this.remaining = this.duration;
1876
- }, e;
1877
- })();
1878
- const gn = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
1879
- __proto__: null,
1880
- CountUp: vn
1881
- }, Symbol.toStringTag, { value: "Module" })), yn = /* @__PURE__ */ pn(gn);
1882
- var We;
1883
- function bn() {
1884
- if (We) return Ee;
1885
- We = 1, Object.defineProperty(Ee, "__esModule", { value: !0 });
1886
- var e = Jt, n = yn;
1887
- function r(s, a) {
1888
- var i = s == null ? null : typeof Symbol < "u" && s[Symbol.iterator] || s["@@iterator"];
1889
- if (i != null) {
1890
- var l, f, p, E, R = [], y = !0, b = !1;
1891
- try {
1892
- if (p = (i = i.call(s)).next, a !== 0) for (; !(y = (l = p.call(i)).done) && (R.push(l.value), R.length !== a); y = !0) ;
1893
- } catch (w) {
1894
- b = !0, f = w;
1895
- } finally {
1896
- try {
1897
- if (!y && i.return != null && (E = i.return(), Object(E) !== E)) return;
1898
- } finally {
1899
- if (b) throw f;
1900
- }
1901
- }
1902
- return R;
1903
- }
1904
- }
1905
- function o(s, a) {
1906
- var i = Object.keys(s);
1907
- if (Object.getOwnPropertySymbols) {
1908
- var l = Object.getOwnPropertySymbols(s);
1909
- a && (l = l.filter(function(f) {
1910
- return Object.getOwnPropertyDescriptor(s, f).enumerable;
1911
- })), i.push.apply(i, l);
1912
- }
1913
- return i;
1914
- }
1915
- function t(s) {
1916
- for (var a = 1; a < arguments.length; a++) {
1917
- var i = arguments[a] != null ? arguments[a] : {};
1918
- a % 2 ? o(Object(i), !0).forEach(function(l) {
1919
- c(s, l, i[l]);
1920
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(s, Object.getOwnPropertyDescriptors(i)) : o(Object(i)).forEach(function(l) {
1921
- Object.defineProperty(s, l, Object.getOwnPropertyDescriptor(i, l));
1922
- });
1923
- }
1924
- return s;
1925
- }
1926
- function u(s, a) {
1927
- if (typeof s != "object" || !s) return s;
1928
- var i = s[Symbol.toPrimitive];
1929
- if (i !== void 0) {
1930
- var l = i.call(s, a);
1931
- if (typeof l != "object") return l;
1932
- throw new TypeError("@@toPrimitive must return a primitive value.");
1933
- }
1934
- return (a === "string" ? String : Number)(s);
1935
- }
1936
- function d(s) {
1937
- var a = u(s, "string");
1938
- return typeof a == "symbol" ? a : String(a);
1939
- }
1940
- function c(s, a, i) {
1941
- return a = d(a), a in s ? Object.defineProperty(s, a, {
1942
- value: i,
1943
- enumerable: !0,
1944
- configurable: !0,
1945
- writable: !0
1946
- }) : s[a] = i, s;
1947
- }
1948
- function h() {
1949
- return h = Object.assign ? Object.assign.bind() : function(s) {
1950
- for (var a = 1; a < arguments.length; a++) {
1951
- var i = arguments[a];
1952
- for (var l in i)
1953
- Object.prototype.hasOwnProperty.call(i, l) && (s[l] = i[l]);
1954
- }
1955
- return s;
1956
- }, h.apply(this, arguments);
1957
- }
1958
- function v(s, a) {
1959
- if (s == null) return {};
1960
- var i = {}, l = Object.keys(s), f, p;
1961
- for (p = 0; p < l.length; p++)
1962
- f = l[p], !(a.indexOf(f) >= 0) && (i[f] = s[f]);
1963
- return i;
1964
- }
1965
- function N(s, a) {
1966
- if (s == null) return {};
1967
- var i = v(s, a), l, f;
1968
- if (Object.getOwnPropertySymbols) {
1969
- var p = Object.getOwnPropertySymbols(s);
1970
- for (f = 0; f < p.length; f++)
1971
- l = p[f], !(a.indexOf(l) >= 0) && Object.prototype.propertyIsEnumerable.call(s, l) && (i[l] = s[l]);
1972
- }
1973
- return i;
1974
- }
1975
- function x(s, a) {
1976
- return U(s) || r(s, a) || A(s, a) || P();
1977
- }
1978
- function U(s) {
1979
- if (Array.isArray(s)) return s;
1980
- }
1981
- function A(s, a) {
1982
- if (s) {
1983
- if (typeof s == "string") return V(s, a);
1984
- var i = Object.prototype.toString.call(s).slice(8, -1);
1985
- if (i === "Object" && s.constructor && (i = s.constructor.name), i === "Map" || i === "Set") return Array.from(s);
1986
- if (i === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(i)) return V(s, a);
1987
- }
1988
- }
1989
- function V(s, a) {
1990
- (a == null || a > s.length) && (a = s.length);
1991
- for (var i = 0, l = new Array(a); i < a; i++) l[i] = s[i];
1992
- return l;
1993
- }
1994
- function P() {
1995
- throw new TypeError(`Invalid attempt to destructure non-iterable instance.
1996
- In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`);
1997
- }
1998
- var M = typeof window < "u" && typeof window.document < "u" && typeof window.document.createElement < "u" ? e.useLayoutEffect : e.useEffect;
1999
- function g(s) {
2000
- var a = e.useRef(s);
2001
- return M(function() {
2002
- a.current = s;
2003
- }), e.useCallback(function() {
2004
- for (var i = arguments.length, l = new Array(i), f = 0; f < i; f++)
2005
- l[f] = arguments[f];
2006
- return a.current.apply(void 0, l);
2007
- }, []);
2008
- }
2009
- var T = function(a, i) {
2010
- var l = i.decimal, f = i.decimals, p = i.duration, E = i.easingFn, R = i.end, y = i.formattingFn, b = i.numerals, w = i.prefix, j = i.separator, z = i.start, B = i.suffix, H = i.useEasing, k = i.useGrouping, C = i.useIndianSeparators, W = i.enableScrollSpy, S = i.scrollSpyDelay, $ = i.scrollSpyOnce, F = i.plugin;
2011
- return new n.CountUp(a, R, {
2012
- startVal: z,
2013
- duration: p,
2014
- decimal: l,
2015
- decimalPlaces: f,
2016
- easingFn: E,
2017
- formattingFn: y,
2018
- numerals: b,
2019
- separator: j,
2020
- prefix: w,
2021
- suffix: B,
2022
- plugin: F,
2023
- useEasing: H,
2024
- useIndianSeparators: C,
2025
- useGrouping: k,
2026
- enableScrollSpy: W,
2027
- scrollSpyDelay: S,
2028
- scrollSpyOnce: $
2029
- });
2030
- }, L = ["ref", "startOnMount", "enableReinitialize", "delay", "onEnd", "onStart", "onPauseResume", "onReset", "onUpdate"], Y = {
2031
- decimal: ".",
2032
- separator: ",",
2033
- delay: null,
2034
- prefix: "",
2035
- suffix: "",
2036
- duration: 2,
2037
- start: 0,
2038
- decimals: 0,
2039
- startOnMount: !0,
2040
- enableReinitialize: !0,
2041
- useEasing: !0,
2042
- useGrouping: !0,
2043
- useIndianSeparators: !1
2044
- }, D = function(a) {
2045
- var i = Object.fromEntries(Object.entries(a).filter(function(O) {
2046
- var K = x(O, 2), _ = K[1];
2047
- return _ !== void 0;
2048
- })), l = e.useMemo(function() {
2049
- return t(t({}, Y), i);
2050
- }, [a]), f = l.ref, p = l.startOnMount, E = l.enableReinitialize, R = l.delay, y = l.onEnd, b = l.onStart, w = l.onPauseResume, j = l.onReset, z = l.onUpdate, B = N(l, L), H = e.useRef(), k = e.useRef(), C = e.useRef(!1), W = g(function() {
2051
- return T(typeof f == "string" ? f : f.current, B);
2052
- }), S = g(function(O) {
2053
- var K = H.current;
2054
- if (K && !O)
2055
- return K;
2056
- var _ = W();
2057
- return H.current = _, _;
2058
- }), $ = g(function() {
2059
- var O = function() {
2060
- return S(!0).start(function() {
2061
- y?.({
2062
- pauseResume: F,
2063
- reset: I,
2064
- start: q,
2065
- update: X
2066
- });
2067
- });
2068
- };
2069
- R && R > 0 ? k.current = setTimeout(O, R * 1e3) : O(), b?.({
2070
- pauseResume: F,
2071
- reset: I,
2072
- update: X
2073
- });
2074
- }), F = g(function() {
2075
- S().pauseResume(), w?.({
2076
- reset: I,
2077
- start: q,
2078
- update: X
2079
- });
2080
- }), I = g(function() {
2081
- S().el && (k.current && clearTimeout(k.current), S().reset(), j?.({
2082
- pauseResume: F,
2083
- start: q,
2084
- update: X
2085
- }));
2086
- }), X = g(function(O) {
2087
- S().update(O), z?.({
2088
- pauseResume: F,
2089
- reset: I,
2090
- start: q
2091
- });
2092
- }), q = g(function() {
2093
- I(), $();
2094
- }), G = g(function(O) {
2095
- p && (O && I(), $());
2096
- });
2097
- return e.useEffect(function() {
2098
- C.current ? E && G(!0) : (C.current = !0, G());
2099
- }, [E, C, G, R, a.start, a.suffix, a.prefix, a.duration, a.separator, a.decimals, a.decimal, a.formattingFn]), e.useEffect(function() {
2100
- return function() {
2101
- I();
2102
- };
2103
- }, [I]), {
2104
- start: q,
2105
- pauseResume: F,
2106
- reset: I,
2107
- update: X,
2108
- getCountUp: S
2109
- };
2110
- }, Z = ["className", "redraw", "containerProps", "children", "style"], J = function(a) {
2111
- var i = a.className, l = a.redraw, f = a.containerProps, p = a.children, E = a.style, R = N(a, Z), y = e.useRef(null), b = e.useRef(!1), w = D(t(t({}, R), {}, {
2112
- ref: y,
2113
- startOnMount: typeof p != "function" || a.delay === 0,
2114
- // component manually restarts
2115
- enableReinitialize: !1
2116
- })), j = w.start, z = w.reset, B = w.update, H = w.pauseResume, k = w.getCountUp, C = g(function() {
2117
- j();
2118
- }), W = g(function(F) {
2119
- a.preserveValue || z(), B(F);
2120
- }), S = g(function() {
2121
- if (typeof a.children == "function" && !(y.current instanceof Element)) {
2122
- console.error(`Couldn't find attached element to hook the CountUp instance into! Try to attach "containerRef" from the render prop to a an Element, eg. <span ref={containerRef} />.`);
2123
- return;
2124
- }
2125
- k();
2126
- });
2127
- e.useEffect(function() {
2128
- S();
2129
- }, [S]), e.useEffect(function() {
2130
- b.current && W(a.end);
2131
- }, [a.end, W]);
2132
- var $ = l && a;
2133
- return e.useEffect(function() {
2134
- l && b.current && C();
2135
- }, [C, l, $]), e.useEffect(function() {
2136
- !l && b.current && C();
2137
- }, [C, l, a.start, a.suffix, a.prefix, a.duration, a.separator, a.decimals, a.decimal, a.className, a.formattingFn]), e.useEffect(function() {
2138
- b.current = !0;
2139
- }, []), typeof p == "function" ? p({
2140
- countUpRef: y,
2141
- start: j,
2142
- reset: z,
2143
- update: B,
2144
- pauseResume: H,
2145
- getCountUp: k
2146
- }) : /* @__PURE__ */ e.createElement("span", h({
2147
- className: i,
2148
- ref: y,
2149
- style: E
2150
- }, f), typeof a.start < "u" ? k().formattingFn(a.start) : "");
2151
- };
2152
- return Ee.default = J, Ee.useCountUp = D, Ee;
2153
- }
2154
- var wn = bn();
2155
- const Nn = /* @__PURE__ */ mn(wn);
2156
- var je = /* @__PURE__ */ new Map(), Me = /* @__PURE__ */ new WeakMap(), $e = 0, Vn = void 0;
2157
- function Rn(e) {
2158
- return e ? (Me.has(e) || ($e += 1, Me.set(e, $e.toString())), Me.get(e)) : "0";
2159
- }
2160
- function Sn(e) {
2161
- return Object.keys(e).sort().filter(
2162
- (n) => e[n] !== void 0
2163
- ).map((n) => `${n}_${n === "root" ? Rn(e.root) : e[n]}`).toString();
2164
- }
2165
- function En(e) {
2166
- const n = Sn(e);
2167
- let r = je.get(n);
2168
- if (!r) {
2169
- const o = /* @__PURE__ */ new Map();
2170
- let t;
2171
- const u = new IntersectionObserver((d) => {
2172
- d.forEach((c) => {
2173
- var h;
2174
- const v = c.isIntersecting && t.some((N) => c.intersectionRatio >= N);
2175
- e.trackVisibility && typeof c.isVisible > "u" && (c.isVisible = v), (h = o.get(c.target)) == null || h.forEach((N) => {
2176
- N(v, c);
2177
- });
2178
- });
2179
- }, e);
2180
- t = u.thresholds || (Array.isArray(e.threshold) ? e.threshold : [e.threshold || 0]), r = {
2181
- id: n,
2182
- observer: u,
2183
- elements: o
2184
- }, je.set(n, r);
2185
- }
2186
- return r;
2187
- }
2188
- function Cn(e, n, r = {}, o = Vn) {
2189
- if (typeof window.IntersectionObserver > "u" && o !== void 0) {
2190
- const h = e.getBoundingClientRect();
2191
- return n(o, {
2192
- isIntersecting: o,
2193
- target: e,
2194
- intersectionRatio: typeof r.threshold == "number" ? r.threshold : 0,
2195
- time: 0,
2196
- boundingClientRect: h,
2197
- intersectionRect: h,
2198
- rootBounds: h
2199
- }), () => {
2200
- };
2201
- }
2202
- const { id: t, observer: u, elements: d } = En(r), c = d.get(e) || [];
2203
- return d.has(e) || d.set(e, c), c.push(n), u.observe(e), function() {
2204
- c.splice(c.indexOf(n), 1), c.length === 0 && (d.delete(e), u.unobserve(e)), d.size === 0 && (u.disconnect(), je.delete(t));
2205
- };
2206
- }
2207
- function On({
2208
- threshold: e,
2209
- delay: n,
2210
- trackVisibility: r,
2211
- rootMargin: o,
2212
- root: t,
2213
- triggerOnce: u,
2214
- skip: d,
2215
- initialInView: c,
2216
- fallbackInView: h,
2217
- onChange: v
2218
- } = {}) {
2219
- var N;
2220
- const [x, U] = Se.useState(null), A = Se.useRef(v), [V, P] = Se.useState({
2221
- inView: !!c,
2222
- entry: void 0
2223
- });
2224
- A.current = v, Se.useEffect(
2225
- () => {
2226
- if (d || !x) return;
2227
- let L;
2228
- return L = Cn(
2229
- x,
2230
- (Y, D) => {
2231
- P({
2232
- inView: Y,
2233
- entry: D
2234
- }), A.current && A.current(Y, D), D.isIntersecting && u && L && (L(), L = void 0);
2235
- },
2236
- {
2237
- root: t,
2238
- rootMargin: o,
2239
- threshold: e,
2240
- // @ts-ignore
2241
- trackVisibility: r,
2242
- // @ts-ignore
2243
- delay: n
2244
- },
2245
- h
2246
- ), () => {
2247
- L && L();
2248
- };
2249
- },
2250
- // We break the rule here, because we aren't including the actual `threshold` variable
2251
- // eslint-disable-next-line react-hooks/exhaustive-deps
2252
- [
2253
- // If the threshold is an array, convert it to a string, so it won't change between renders.
2254
- Array.isArray(e) ? e.toString() : e,
2255
- x,
2256
- t,
2257
- o,
2258
- u,
2259
- d,
2260
- r,
2261
- h,
2262
- n
2263
- ]
2264
- );
2265
- const M = (N = V.entry) == null ? void 0 : N.target, g = Se.useRef(void 0);
2266
- !x && M && !u && !d && g.current !== M && (g.current = M, P({
2267
- inView: !!c,
2268
- entry: void 0
2269
- }));
2270
- const T = [U, V.inView, V.entry];
2271
- return T.ref = T[0], T.inView = T[1], T.entry = T[2], T;
2272
- }
2273
- const xn = se(
2274
- ({
2275
- value: e,
2276
- label: n,
2277
- suffix: r = "",
2278
- prefix: o = "",
2279
- duration: t = 2,
2280
- threshold: u = 0.3,
2281
- separator: d = ",",
2282
- decimals: c = 0,
2283
- size: h,
2284
- variant: v,
2285
- align: N,
2286
- color: x,
2287
- as: U = "div",
2288
- css: A,
2289
- className: V,
2290
- // Extract sprinkles props
2291
- margin: P,
2292
- marginTop: M,
2293
- marginBottom: g,
2294
- marginLeft: T,
2295
- marginRight: L,
2296
- padding: Y,
2297
- paddingTop: D,
2298
- paddingBottom: Z,
2299
- paddingLeft: J,
2300
- paddingRight: s,
2301
- gap: a,
2302
- display: i,
2303
- flexDirection: l,
2304
- justifyContent: f,
2305
- flexWrap: p,
2306
- flex: E,
2307
- width: R,
2308
- height: y,
2309
- minWidth: b,
2310
- maxWidth: w,
2311
- minHeight: j,
2312
- position: z,
2313
- top: B,
2314
- bottom: H,
2315
- left: k,
2316
- right: C,
2317
- zIndex: W,
2318
- fontSize: S,
2319
- fontFamily: $,
2320
- lineHeight: F,
2321
- textAlign: I,
2322
- fontWeight: X,
2323
- backgroundColor: q,
2324
- borderRadius: G,
2325
- borderWidth: O,
2326
- borderStyle: K,
2327
- borderColor: _,
2328
- boxShadow: Q,
2329
- opacity: te,
2330
- overflow: ne,
2331
- overflowX: ee,
2332
- overflowY: ce,
2333
- ...le
2334
- }, de) => {
2335
- const [fe, oe] = On({
2336
- threshold: u,
2337
- triggerOnce: !0
2338
- });
2339
- return /* @__PURE__ */ he(
2340
- U,
2341
- {
2342
- ref: (me) => {
2343
- fe(me), de && (typeof de == "function" ? de(me) : de.current = me);
2344
- },
2345
- className: ae(
2346
- Et({ size: h, variant: v, align: N }),
2347
- ie({
2348
- margin: P,
2349
- marginTop: M,
2350
- marginBottom: g,
2351
- marginLeft: T,
2352
- marginRight: L,
2353
- padding: Y,
2354
- paddingTop: D,
2355
- paddingBottom: Z,
2356
- paddingLeft: J,
2357
- paddingRight: s,
2358
- gap: a,
2359
- display: i,
2360
- flexDirection: l,
2361
- justifyContent: f,
2362
- flexWrap: p,
2363
- flex: E,
2364
- width: R,
2365
- height: y,
2366
- minWidth: b,
2367
- maxWidth: w,
2368
- minHeight: j,
2369
- position: z,
2370
- top: B,
2371
- bottom: H,
2372
- left: k,
2373
- right: C,
2374
- zIndex: W,
2375
- fontSize: S,
2376
- fontFamily: $,
2377
- lineHeight: F,
2378
- textAlign: I,
2379
- fontWeight: X,
2380
- backgroundColor: q,
2381
- borderRadius: G,
2382
- borderWidth: O,
2383
- borderStyle: K,
2384
- borderColor: _,
2385
- boxShadow: Q,
2386
- opacity: te,
2387
- overflow: ne,
2388
- overflowX: ee,
2389
- overflowY: ce
2390
- }),
2391
- A,
2392
- V
2393
- ),
2394
- ...le,
2395
- children: [
2396
- /* @__PURE__ */ he("div", { className: Rt, children: [
2397
- o,
2398
- /* @__PURE__ */ m("span", { children: /* @__PURE__ */ m(Nn, { end: oe ? e : 0, duration: t, separator: d, decimals: c }) }),
2399
- r
2400
- ] }),
2401
- /* @__PURE__ */ m("p", { className: St, children: n })
2402
- ]
2403
- }
2404
- );
2405
- }
2406
- );
2407
- xn.displayName = "KeyNumber";
2408
- const An = se(
2409
- ({
2410
- links: e,
2411
- iconSize: n = "md",
2412
- orientation: r,
2413
- size: o,
2414
- variant: t,
2415
- as: u = "nav",
2416
- css: d,
2417
- className: c,
2418
- // Extract sprinkles props
2419
- margin: h,
2420
- marginTop: v,
2421
- marginBottom: N,
2422
- marginLeft: x,
2423
- marginRight: U,
2424
- padding: A,
2425
- paddingTop: V,
2426
- paddingBottom: P,
2427
- paddingLeft: M,
2428
- paddingRight: g,
2429
- gap: T,
2430
- display: L,
2431
- flexDirection: Y,
2432
- justifyContent: D,
2433
- flexWrap: Z,
2434
- flex: J,
2435
- width: s,
2436
- height: a,
2437
- minWidth: i,
2438
- maxWidth: l,
2439
- minHeight: f,
2440
- position: p,
2441
- top: E,
2442
- bottom: R,
2443
- left: y,
2444
- right: b,
2445
- zIndex: w,
2446
- fontSize: j,
2447
- fontFamily: z,
2448
- lineHeight: B,
2449
- textAlign: H,
2450
- fontWeight: k,
2451
- color: C,
2452
- backgroundColor: W,
2453
- borderRadius: S,
2454
- borderWidth: $,
2455
- borderStyle: F,
2456
- borderColor: I,
2457
- boxShadow: X,
2458
- opacity: q,
2459
- overflow: G,
2460
- overflowX: O,
2461
- overflowY: K,
2462
- ..._
2463
- }, Q) => {
2464
- const te = (ne) => ({
2465
- instagram: "socialInstagram",
2466
- linkedIn: "socialLinkedIn",
2467
- facebook: "socialFacebook",
2468
- pinterest: "socialPinterest",
2469
- spotify: "socialSpotify",
2470
- X: "socialX",
2471
- youtube: "socialYoutube",
2472
- tiktok: "socialTiktok"
2473
- })[ne];
2474
- return /* @__PURE__ */ m(
2475
- u,
2476
- {
2477
- ref: Q,
2478
- className: ae(
2479
- Ot({ orientation: r, size: o, variant: t }),
2480
- ie({
2481
- margin: h,
2482
- marginTop: v,
2483
- marginBottom: N,
2484
- marginLeft: x,
2485
- marginRight: U,
2486
- padding: A,
2487
- paddingTop: V,
2488
- paddingBottom: P,
2489
- paddingLeft: M,
2490
- paddingRight: g,
2491
- gap: T,
2492
- display: L,
2493
- flexDirection: Y,
2494
- justifyContent: D,
2495
- flexWrap: Z,
2496
- flex: J,
2497
- width: s,
2498
- height: a,
2499
- minWidth: i,
2500
- maxWidth: l,
2501
- minHeight: f,
2502
- position: p,
2503
- top: E,
2504
- bottom: R,
2505
- left: y,
2506
- right: b,
2507
- zIndex: w,
2508
- fontSize: j,
2509
- fontFamily: z,
2510
- lineHeight: B,
2511
- textAlign: H,
2512
- fontWeight: k,
2513
- color: C,
2514
- backgroundColor: W,
2515
- borderRadius: S,
2516
- borderWidth: $,
2517
- borderStyle: F,
2518
- borderColor: I,
2519
- boxShadow: X,
2520
- opacity: q,
2521
- overflow: G,
2522
- overflowX: O,
2523
- overflowY: K
2524
- }),
2525
- d,
2526
- c
2527
- ),
2528
- role: "navigation",
2529
- "aria-label": "Social media links",
2530
- ..._,
2531
- children: e.map((ne, ee) => /* @__PURE__ */ m(
2532
- "a",
2533
- {
2534
- href: ne.url,
2535
- target: "_blank",
2536
- rel: "noopener noreferrer",
2537
- className: Ct,
2538
- "aria-label": ne.label || `Visit our ${ne.name} page`,
2539
- children: /* @__PURE__ */ m(ve, { icon: te(ne.name), size: n, "aria-hidden": "true" })
2540
- },
2541
- `${ne.name}-${ee}`
2542
- ))
2543
- }
2544
- );
2545
- }
2546
- );
2547
- An.displayName = "NavSocial";
2548
- const Mn = se(
2549
- ({
2550
- children: e,
2551
- orientation: n,
2552
- size: r,
2553
- variant: o,
2554
- align: t,
2555
- as: u = "nav",
2556
- css: d,
2557
- className: c,
2558
- // Extract sprinkles props
2559
- margin: h,
2560
- marginTop: v,
2561
- marginBottom: N,
2562
- marginLeft: x,
2563
- marginRight: U,
2564
- padding: A,
2565
- paddingTop: V,
2566
- paddingBottom: P,
2567
- paddingLeft: M,
2568
- paddingRight: g,
2569
- gap: T,
2570
- display: L,
2571
- flexDirection: Y,
2572
- justifyContent: D,
2573
- flexWrap: Z,
2574
- flex: J,
2575
- width: s,
2576
- height: a,
2577
- minWidth: i,
2578
- maxWidth: l,
2579
- minHeight: f,
2580
- position: p,
2581
- top: E,
2582
- bottom: R,
2583
- left: y,
2584
- right: b,
2585
- zIndex: w,
2586
- fontSize: j,
2587
- fontFamily: z,
2588
- lineHeight: B,
2589
- textAlign: H,
2590
- fontWeight: k,
2591
- color: C,
2592
- backgroundColor: W,
2593
- borderRadius: S,
2594
- borderWidth: $,
2595
- borderStyle: F,
2596
- borderColor: I,
2597
- boxShadow: X,
2598
- opacity: q,
2599
- overflow: G,
2600
- overflowX: O,
2601
- overflowY: K,
2602
- ..._
2603
- }, Q) => /* @__PURE__ */ m(
2604
- u,
2605
- {
2606
- ref: Q,
2607
- className: ae(
2608
- xt({ orientation: n, size: r, variant: o, align: t }),
2609
- ie({
2610
- margin: h,
2611
- marginTop: v,
2612
- marginBottom: N,
2613
- marginLeft: x,
2614
- marginRight: U,
2615
- padding: A,
2616
- paddingTop: V,
2617
- paddingBottom: P,
2618
- paddingLeft: M,
2619
- paddingRight: g,
2620
- gap: T,
2621
- display: L,
2622
- flexDirection: Y,
2623
- justifyContent: D,
2624
- flexWrap: Z,
2625
- flex: J,
2626
- width: s,
2627
- height: a,
2628
- minWidth: i,
2629
- maxWidth: l,
2630
- minHeight: f,
2631
- position: p,
2632
- top: E,
2633
- bottom: R,
2634
- left: y,
2635
- right: b,
2636
- zIndex: w,
2637
- fontSize: j,
2638
- fontFamily: z,
2639
- lineHeight: B,
2640
- textAlign: H,
2641
- fontWeight: k,
2642
- color: C,
2643
- backgroundColor: W,
2644
- borderRadius: S,
2645
- borderWidth: $,
2646
- borderStyle: F,
2647
- borderColor: I,
2648
- boxShadow: X,
2649
- opacity: q,
2650
- overflow: G,
2651
- overflowX: O,
2652
- overflowY: K
2653
- }),
2654
- d,
2655
- c
2656
- ),
2657
- role: "navigation",
2658
- "aria-label": "Legal navigation",
2659
- ..._,
2660
- children: e
2661
- }
2662
- )
2663
- );
2664
- Mn.displayName = "NavLegal";
2665
- const Tn = se(
2666
- ({
2667
- locales: e,
2668
- currentLocale: n,
2669
- onChange: r,
2670
- disabled: o = !1,
2671
- placeholder: t,
2672
- variant: u,
2673
- size: d,
2674
- css: c,
2675
- className: h,
2676
- // Extract sprinkles props
2677
- margin: v,
2678
- marginTop: N,
2679
- marginBottom: x,
2680
- marginLeft: U,
2681
- marginRight: A,
2682
- padding: V,
2683
- paddingTop: P,
2684
- paddingBottom: M,
2685
- paddingLeft: g,
2686
- paddingRight: T,
2687
- gap: L,
2688
- display: Y,
2689
- flexDirection: D,
2690
- justifyContent: Z,
2691
- flexWrap: J,
2692
- flex: s,
2693
- width: a,
2694
- height: i,
2695
- minWidth: l,
2696
- maxWidth: f,
2697
- minHeight: p,
2698
- position: E,
2699
- top: R,
2700
- bottom: y,
2701
- left: b,
2702
- right: w,
2703
- zIndex: j,
2704
- fontSize: z,
2705
- fontFamily: B,
2706
- lineHeight: H,
2707
- textAlign: k,
2708
- fontWeight: C,
2709
- color: W,
2710
- backgroundColor: S,
2711
- borderRadius: $,
2712
- borderWidth: F,
2713
- borderStyle: I,
2714
- borderColor: X,
2715
- boxShadow: q,
2716
- opacity: G,
2717
- overflow: O,
2718
- overflowX: K,
2719
- overflowY: _,
2720
- ...Q
2721
- }, te) => {
2722
- const ne = (ee) => {
2723
- r(ee.target.value);
2724
- };
2725
- return /* @__PURE__ */ he(
2726
- "div",
2727
- {
2728
- ref: te,
2729
- className: ae(
2730
- Tt({ variant: u, size: d }),
2731
- ie({
2732
- margin: v,
2733
- marginTop: N,
2734
- marginBottom: x,
2735
- marginLeft: U,
2736
- marginRight: A,
2737
- padding: V,
2738
- paddingTop: P,
2739
- paddingBottom: M,
2740
- paddingLeft: g,
2741
- paddingRight: T,
2742
- gap: L,
2743
- display: Y,
2744
- flexDirection: D,
2745
- justifyContent: Z,
2746
- flexWrap: J,
2747
- flex: s,
2748
- width: a,
2749
- height: i,
2750
- minWidth: l,
2751
- maxWidth: f,
2752
- minHeight: p,
2753
- position: E,
2754
- top: R,
2755
- bottom: y,
2756
- left: b,
2757
- right: w,
2758
- zIndex: j,
2759
- fontSize: z,
2760
- fontFamily: B,
2761
- lineHeight: H,
2762
- textAlign: k,
2763
- fontWeight: C,
2764
- color: W,
2765
- backgroundColor: S,
2766
- borderRadius: $,
2767
- borderWidth: F,
2768
- borderStyle: I,
2769
- borderColor: X,
2770
- boxShadow: q,
2771
- opacity: G,
2772
- overflow: O,
2773
- overflowX: K,
2774
- overflowY: _
2775
- }),
2776
- c,
2777
- h
2778
- ),
2779
- ...Q,
2780
- children: [
2781
- /* @__PURE__ */ he(
2782
- "select",
2783
- {
2784
- className: At,
2785
- value: n,
2786
- onChange: ne,
2787
- disabled: o,
2788
- "aria-label": "Switch language",
2789
- children: [
2790
- t && /* @__PURE__ */ m("option", { value: "", disabled: !0, children: t }),
2791
- e.map((ee) => /* @__PURE__ */ m("option", { value: ee.code, disabled: ee.code === n, children: ee.label || ee.name }, ee.code))
2792
- ]
2793
- }
2794
- ),
2795
- /* @__PURE__ */ m("div", { className: Mt, children: /* @__PURE__ */ m(ve, { icon: "caret", size: "sm" }) })
2796
- ]
2797
- }
2798
- );
2799
- }
2800
- );
2801
- Tn.displayName = "LanguageSwitcher";
2802
- const qe = se(
2803
- ({
2804
- video: e,
2805
- poster: n,
2806
- isAutoPlay: r = !1,
2807
- startMuted: o = !1,
2808
- showControls: t = !1,
2809
- hidePlayButton: u = !1,
2810
- isVideoFullWidth: d = !1,
2811
- isPlayingFullScreen: c = !1,
2812
- onPlay: h,
2813
- onClose: v,
2814
- onEnded: N,
2815
- size: x,
2816
- aspectRatio: U,
2817
- css: A,
2818
- className: V,
2819
- // Extract sprinkles props
2820
- margin: P,
2821
- marginTop: M,
2822
- marginBottom: g,
2823
- marginLeft: T,
2824
- marginRight: L,
2825
- padding: Y,
2826
- paddingTop: D,
2827
- paddingBottom: Z,
2828
- paddingLeft: J,
2829
- paddingRight: s,
2830
- gap: a,
2831
- display: i,
2832
- flexDirection: l,
2833
- justifyContent: f,
2834
- flexWrap: p,
2835
- flex: E,
2836
- width: R,
2837
- height: y,
2838
- minWidth: b,
2839
- maxWidth: w,
2840
- minHeight: j,
2841
- position: z,
2842
- top: B,
2843
- bottom: H,
2844
- left: k,
2845
- right: C,
2846
- zIndex: W,
2847
- fontSize: S,
2848
- fontFamily: $,
2849
- lineHeight: F,
2850
- textAlign: I,
2851
- fontWeight: X,
2852
- color: q,
2853
- backgroundColor: G,
2854
- borderRadius: O,
2855
- borderWidth: K,
2856
- borderStyle: _,
2857
- borderColor: Q,
2858
- boxShadow: te,
2859
- opacity: ne,
2860
- overflow: ee,
2861
- overflowX: ce,
2862
- overflowY: le,
2863
- ...de
2864
- }, fe) => {
2865
- const oe = Ie(null), [me, be] = ye(!1), [we, Ce] = ye(r || o), Oe = () => {
2866
- h && h(), oe.current?.play(), be(!0);
2867
- }, Ne = () => {
2868
- v && v(), oe.current?.pause(), be(!1);
2869
- }, xe = () => {
2870
- oe.current?.pause(), be(!1);
2871
- }, ke = () => {
2872
- const re = !we;
2873
- Ce(re), oe.current && (oe.current.muted = re);
2874
- }, Fe = () => {
2875
- N && N(), Ne();
2876
- }, Re = (re) => {
2877
- re.key === "Escape" && Ne();
2878
- };
2879
- return pe(() => (window.addEventListener("keydown", Re), () => {
2880
- window.removeEventListener("keydown", Re);
2881
- }), []), pe(() => {
2882
- oe.current && (oe.current.muted = we);
2883
- }, [we]), /* @__PURE__ */ he(
2884
- "div",
2885
- {
2886
- ref: fe,
2887
- className: ae(
2888
- _t({
2889
- size: d ? "fullWidth" : x,
2890
- aspectRatio: U
2891
- }),
2892
- ie({
2893
- margin: P,
2894
- marginTop: M,
2895
- marginBottom: g,
2896
- marginLeft: T,
2897
- marginRight: L,
2898
- padding: Y,
2899
- paddingTop: D,
2900
- paddingBottom: Z,
2901
- paddingLeft: J,
2902
- paddingRight: s,
2903
- gap: a,
2904
- display: i,
2905
- flexDirection: l,
2906
- justifyContent: f,
2907
- flexWrap: p,
2908
- flex: E,
2909
- width: R,
2910
- height: y,
2911
- minWidth: b,
2912
- maxWidth: w,
2913
- minHeight: j,
2914
- position: z,
2915
- top: B,
2916
- bottom: H,
2917
- left: k,
2918
- right: C,
2919
- zIndex: W,
2920
- fontSize: S,
2921
- fontFamily: $,
2922
- lineHeight: F,
2923
- textAlign: I,
2924
- fontWeight: X,
2925
- color: q,
2926
- backgroundColor: G,
2927
- borderRadius: O,
2928
- borderWidth: K,
2929
- borderStyle: _,
2930
- borderColor: Q,
2931
- boxShadow: te,
2932
- opacity: ne,
2933
- overflow: ee,
2934
- overflowX: ce,
2935
- overflowY: le
2936
- }),
2937
- A,
2938
- V
2939
- ),
2940
- ...de,
2941
- children: [
2942
- /* @__PURE__ */ m("video", { ref: oe, className: kt, playsInline: !0, muted: we, autoPlay: r, onEnded: Fe, children: /* @__PURE__ */ m("source", { src: e, type: "video/mp4" }) }),
2943
- n && /* @__PURE__ */ m("div", { className: Ft, "data-playing": me, children: /* @__PURE__ */ m("img", { src: n, alt: "Video poster", className: It, sizes: "2560" }) }),
2944
- !u && !r && /* @__PURE__ */ m("button", { className: Lt, "data-playing": me, onClick: Oe, "aria-label": "Play video", type: "button", children: /* @__PURE__ */ m(ve, { icon: "play", size: "lg" }) }),
2945
- c && /* @__PURE__ */ m("button", { className: jt, onClick: Ne, "aria-label": "Close video", type: "button", children: /* @__PURE__ */ m(ve, { icon: "close", size: "md" }) }),
2946
- me && t && /* @__PURE__ */ m("button", { className: zt, onClick: xe, "aria-label": "Pause video", type: "button", children: /* @__PURE__ */ m(ve, { icon: "pause", size: "md" }) }),
2947
- t && /* @__PURE__ */ m("button", { className: Pt, onClick: ke, "aria-label": we ? "Unmute video" : "Mute video", type: "button", children: /* @__PURE__ */ m(ve, { icon: we ? "volumeMute" : "volumeUp", size: "md" }) })
2948
- ]
2949
- }
2950
- );
2951
- }
2952
- );
2953
- qe.displayName = "Video";
2954
- const kn = se(
2955
- ({
2956
- video: e,
2957
- poster: n,
2958
- isAutoPlay: r = !1,
2959
- startMuted: o = !1,
2960
- showControls: t = !1,
2961
- onPlay: u,
2962
- onClose: d,
2963
- onEnded: c,
2964
- aspectRatio: h,
2965
- css: v,
2966
- className: N,
2967
- // Extract sprinkles props
2968
- margin: x,
2969
- marginTop: U,
2970
- marginBottom: A,
2971
- marginLeft: V,
2972
- marginRight: P,
2973
- padding: M,
2974
- paddingTop: g,
2975
- paddingBottom: T,
2976
- paddingLeft: L,
2977
- paddingRight: Y,
2978
- gap: D,
2979
- display: Z,
2980
- flexDirection: J,
2981
- justifyContent: s,
2982
- flexWrap: a,
2983
- flex: i,
2984
- width: l,
2985
- height: f,
2986
- minWidth: p,
2987
- maxWidth: E,
2988
- minHeight: R,
2989
- position: y,
2990
- top: b,
2991
- bottom: w,
2992
- left: j,
2993
- right: z,
2994
- zIndex: B,
2995
- fontSize: H,
2996
- fontFamily: k,
2997
- lineHeight: C,
2998
- textAlign: W,
2999
- fontWeight: S,
3000
- color: $,
3001
- backgroundColor: F,
3002
- borderRadius: I,
3003
- borderWidth: X,
3004
- borderStyle: q,
3005
- borderColor: G,
3006
- boxShadow: O,
3007
- opacity: K,
3008
- overflow: _,
3009
- overflowX: Q,
3010
- overflowY: te,
3011
- ...ne
3012
- }, ee) => /* @__PURE__ */ m(
3013
- "div",
3014
- {
3015
- ref: ee,
3016
- className: ae(
3017
- Ut({ aspectRatio: h }),
3018
- ie({
3019
- margin: x,
3020
- marginTop: U,
3021
- marginBottom: A,
3022
- marginLeft: V,
3023
- marginRight: P,
3024
- padding: M,
3025
- paddingTop: g,
3026
- paddingBottom: T,
3027
- paddingLeft: L,
3028
- paddingRight: Y,
3029
- gap: D,
3030
- display: Z,
3031
- flexDirection: J,
3032
- justifyContent: s,
3033
- flexWrap: a,
3034
- flex: i,
3035
- width: l,
3036
- height: f,
3037
- minWidth: p,
3038
- maxWidth: E,
3039
- minHeight: R,
3040
- position: y,
3041
- top: b,
3042
- bottom: w,
3043
- left: j,
3044
- right: z,
3045
- zIndex: B,
3046
- fontSize: H,
3047
- fontFamily: k,
3048
- lineHeight: C,
3049
- textAlign: W,
3050
- fontWeight: S,
3051
- color: $,
3052
- backgroundColor: F,
3053
- borderRadius: I,
3054
- borderWidth: X,
3055
- borderStyle: q,
3056
- borderColor: G,
3057
- boxShadow: O,
3058
- opacity: K,
3059
- overflow: _,
3060
- overflowX: Q,
3061
- overflowY: te
3062
- }),
3063
- v,
3064
- N
3065
- ),
3066
- ...ne,
3067
- children: /* @__PURE__ */ m(
3068
- qe,
3069
- {
3070
- video: e,
3071
- poster: n,
3072
- isAutoPlay: r,
3073
- startMuted: o,
3074
- showControls: t,
3075
- onPlay: u,
3076
- onClose: d,
3077
- onEnded: c,
3078
- isVideoFullWidth: !0,
3079
- size: "fullWidth"
3080
- }
3081
- )
3082
- }
3083
- )
3084
- );
3085
- kn.displayName = "VideoFullWidth";
3086
- const Fn = se(
3087
- ({
3088
- children: e,
3089
- spacing: n,
3090
- layout: r,
3091
- css: o,
3092
- className: t,
3093
- // Extract sprinkles props
3094
- margin: u,
3095
- marginTop: d,
3096
- marginBottom: c,
3097
- marginLeft: h,
3098
- marginRight: v,
3099
- padding: N,
3100
- paddingTop: x,
3101
- paddingBottom: U,
3102
- paddingLeft: A,
3103
- paddingRight: V,
3104
- gap: P,
3105
- display: M,
3106
- flexDirection: g,
3107
- justifyContent: T,
3108
- flexWrap: L,
3109
- flex: Y,
3110
- width: D,
3111
- height: Z,
3112
- minWidth: J,
3113
- maxWidth: s,
3114
- minHeight: a,
3115
- position: i,
3116
- top: l,
3117
- bottom: f,
3118
- left: p,
3119
- right: E,
3120
- zIndex: R,
3121
- fontSize: y,
3122
- fontFamily: b,
3123
- lineHeight: w,
3124
- textAlign: j,
3125
- fontWeight: z,
3126
- color: B,
3127
- backgroundColor: H,
3128
- borderRadius: k,
3129
- borderWidth: C,
3130
- borderStyle: W,
3131
- borderColor: S,
3132
- boxShadow: $,
3133
- opacity: F,
3134
- overflow: I,
3135
- overflowX: X,
3136
- overflowY: q,
3137
- ...G
3138
- }, O) => /* @__PURE__ */ m(
3139
- "form",
3140
- {
3141
- ref: O,
3142
- className: ae(
3143
- Dt({ spacing: n, layout: r }),
3144
- ie({
3145
- margin: u,
3146
- marginTop: d,
3147
- marginBottom: c,
3148
- marginLeft: h,
3149
- marginRight: v,
3150
- padding: N,
3151
- paddingTop: x,
3152
- paddingBottom: U,
3153
- paddingLeft: A,
3154
- paddingRight: V,
3155
- gap: P,
3156
- display: M,
3157
- flexDirection: g,
3158
- justifyContent: T,
3159
- flexWrap: L,
3160
- flex: Y,
3161
- width: D,
3162
- height: Z,
3163
- minWidth: J,
3164
- maxWidth: s,
3165
- minHeight: a,
3166
- position: i,
3167
- top: l,
3168
- bottom: f,
3169
- left: p,
3170
- right: E,
3171
- zIndex: R,
3172
- fontSize: y,
3173
- fontFamily: b,
3174
- lineHeight: w,
3175
- textAlign: j,
3176
- fontWeight: z,
3177
- color: B,
3178
- backgroundColor: H,
3179
- borderRadius: k,
3180
- borderWidth: C,
3181
- borderStyle: W,
3182
- borderColor: S,
3183
- boxShadow: $,
3184
- opacity: F,
3185
- overflow: I,
3186
- overflowX: X,
3187
- overflowY: q
3188
- }),
3189
- o,
3190
- t
3191
- ),
3192
- ...G,
3193
- children: e
3194
- }
3195
- )
3196
- );
3197
- Fn.displayName = "Form";
3198
- const In = se(
3199
- ({
3200
- children: e,
3201
- align: n,
3202
- variant: r,
3203
- spacing: o,
3204
- isActions: t = !1,
3205
- isMessage: u = !1,
3206
- css: d,
3207
- className: c,
3208
- // Extract sprinkles props
3209
- margin: h,
3210
- marginTop: v,
3211
- marginBottom: N,
3212
- marginLeft: x,
3213
- marginRight: U,
3214
- padding: A,
3215
- paddingTop: V,
3216
- paddingBottom: P,
3217
- paddingLeft: M,
3218
- paddingRight: g,
3219
- gap: T,
3220
- display: L,
3221
- flexDirection: Y,
3222
- justifyContent: D,
3223
- flexWrap: Z,
3224
- flex: J,
3225
- width: s,
3226
- height: a,
3227
- minWidth: i,
3228
- maxWidth: l,
3229
- minHeight: f,
3230
- position: p,
3231
- top: E,
3232
- bottom: R,
3233
- left: y,
3234
- right: b,
3235
- zIndex: w,
3236
- fontSize: j,
3237
- fontFamily: z,
3238
- lineHeight: B,
3239
- textAlign: H,
3240
- fontWeight: k,
3241
- color: C,
3242
- backgroundColor: W,
3243
- borderRadius: S,
3244
- borderWidth: $,
3245
- borderStyle: F,
3246
- borderColor: I,
3247
- boxShadow: X,
3248
- opacity: q,
3249
- overflow: G,
3250
- overflowX: O,
3251
- overflowY: K,
3252
- ..._
3253
- }, Q) => {
3254
- let te = r;
3255
- return t && (te = "actions"), u && (te = "message"), /* @__PURE__ */ m(
3256
- "div",
3257
- {
3258
- ref: Q,
3259
- className: ae(
3260
- Bt({ align: n, variant: te, spacing: o }),
3261
- ie({
3262
- margin: h,
3263
- marginTop: v,
3264
- marginBottom: N,
3265
- marginLeft: x,
3266
- marginRight: U,
3267
- padding: A,
3268
- paddingTop: V,
3269
- paddingBottom: P,
3270
- paddingLeft: M,
3271
- paddingRight: g,
3272
- gap: T,
3273
- display: L,
3274
- flexDirection: Y,
3275
- justifyContent: D,
3276
- flexWrap: Z,
3277
- flex: J,
3278
- width: s,
3279
- height: a,
3280
- minWidth: i,
3281
- maxWidth: l,
3282
- minHeight: f,
3283
- position: p,
3284
- top: E,
3285
- bottom: R,
3286
- left: y,
3287
- right: b,
3288
- zIndex: w,
3289
- fontSize: j,
3290
- fontFamily: z,
3291
- lineHeight: B,
3292
- textAlign: H,
3293
- fontWeight: k,
3294
- color: C,
3295
- backgroundColor: W,
3296
- borderRadius: S,
3297
- borderWidth: $,
3298
- borderStyle: F,
3299
- borderColor: I,
3300
- boxShadow: X,
3301
- opacity: q,
3302
- overflow: G,
3303
- overflowX: O,
3304
- overflowY: K
3305
- }),
3306
- d,
3307
- c
3308
- ),
3309
- ..._,
3310
- children: e
3311
- }
3312
- );
3313
- }
3314
- );
3315
- In.displayName = "Row";
3316
- const Ln = se(
3317
- ({
3318
- name: e,
3319
- label: n,
3320
- value: r = "",
3321
- rows: o = 3,
3322
- disabled: t = !1,
3323
- required: u = !1,
3324
- placeholder: d = "",
3325
- errors: c,
3326
- type: h = "text",
3327
- onChange: v,
3328
- size: N,
3329
- css: x,
3330
- className: U,
3331
- // Extract sprinkles props
3332
- margin: A,
3333
- marginTop: V,
3334
- marginBottom: P,
3335
- marginLeft: M,
3336
- marginRight: g,
3337
- padding: T,
3338
- paddingTop: L,
3339
- paddingBottom: Y,
3340
- paddingLeft: D,
3341
- paddingRight: Z,
3342
- gap: J,
3343
- display: s,
3344
- flexDirection: a,
3345
- justifyContent: i,
3346
- flexWrap: l,
3347
- flex: f,
3348
- width: p,
3349
- height: E,
3350
- minWidth: R,
3351
- maxWidth: y,
3352
- minHeight: b,
3353
- position: w,
3354
- top: j,
3355
- bottom: z,
3356
- left: B,
3357
- right: H,
3358
- zIndex: k,
3359
- fontSize: C,
3360
- fontFamily: W,
3361
- lineHeight: S,
3362
- textAlign: $,
3363
- fontWeight: F,
3364
- color: I,
3365
- backgroundColor: X,
3366
- borderRadius: q,
3367
- borderWidth: G,
3368
- borderStyle: O,
3369
- borderColor: K,
3370
- boxShadow: _,
3371
- opacity: Q,
3372
- overflow: te,
3373
- overflowX: ne,
3374
- overflowY: ee,
3375
- ...ce
3376
- }, le) => {
3377
- const de = Qt(() => c ? Array.isArray(c) ? c.length > 0 : !!c : !1, [c]), fe = h === "textarea";
3378
- return /* @__PURE__ */ he(
3379
- "div",
3380
- {
3381
- ref: le,
3382
- className: ae(
3383
- qt({ size: N }),
3384
- ie({
3385
- margin: A,
3386
- marginTop: V,
3387
- marginBottom: P,
3388
- marginLeft: M,
3389
- marginRight: g,
3390
- padding: T,
3391
- paddingTop: L,
3392
- paddingBottom: Y,
3393
- paddingLeft: D,
3394
- paddingRight: Z,
3395
- gap: J,
3396
- display: s,
3397
- flexDirection: a,
3398
- justifyContent: i,
3399
- flexWrap: l,
3400
- flex: f,
3401
- width: p,
3402
- height: E,
3403
- minWidth: R,
3404
- maxWidth: y,
3405
- minHeight: b,
3406
- position: w,
3407
- top: j,
3408
- bottom: z,
3409
- left: B,
3410
- right: H,
3411
- zIndex: k,
3412
- fontSize: C,
3413
- fontFamily: W,
3414
- lineHeight: S,
3415
- textAlign: $,
3416
- fontWeight: F,
3417
- color: I,
3418
- backgroundColor: X,
3419
- borderRadius: q,
3420
- borderWidth: G,
3421
- borderStyle: O,
3422
- borderColor: K,
3423
- boxShadow: _,
3424
- opacity: Q,
3425
- overflow: te,
3426
- overflowX: ne,
3427
- overflowY: ee
3428
- }),
3429
- x,
3430
- U
3431
- ),
3432
- ...ce,
3433
- children: [
3434
- n && /* @__PURE__ */ m("label", { htmlFor: e, className: Ht, "data-required": u, children: n }),
3435
- fe ? /* @__PURE__ */ m(
3436
- "textarea",
3437
- {
3438
- id: e,
3439
- name: e,
3440
- rows: o,
3441
- value: r,
3442
- disabled: t,
3443
- placeholder: d,
3444
- className: Wt,
3445
- onChange: v,
3446
- "data-error": de,
3447
- required: u
3448
- }
3449
- ) : /* @__PURE__ */ m(
3450
- "input",
3451
- {
3452
- id: e,
3453
- name: e,
3454
- type: h,
3455
- value: r,
3456
- disabled: t,
3457
- placeholder: d,
3458
- className: $t,
3459
- onChange: v,
3460
- "data-error": de,
3461
- required: u
3462
- }
3463
- ),
3464
- de && /* @__PURE__ */ m("div", { className: Xt, children: Array.isArray(c) ? c.map((oe, me) => /* @__PURE__ */ m("span", { className: Be, children: oe }, me)) : /* @__PURE__ */ m("span", { className: Be, children: c }) })
3465
- ]
3466
- }
3467
- );
3468
- }
3469
- );
3470
- Ln.displayName = "TextField";
3471
- const jn = se(
3472
- ({
3473
- label: e,
3474
- name: n,
3475
- required: r = !1,
3476
- size: o,
3477
- variant: t,
3478
- css: u,
3479
- className: d,
3480
- // Extract sprinkles props
3481
- margin: c,
3482
- marginTop: h,
3483
- marginBottom: v,
3484
- marginLeft: N,
3485
- marginRight: x,
3486
- padding: U,
3487
- paddingTop: A,
3488
- paddingBottom: V,
3489
- paddingLeft: P,
3490
- paddingRight: M,
3491
- gap: g,
3492
- display: T,
3493
- flexDirection: L,
3494
- justifyContent: Y,
3495
- flexWrap: D,
3496
- flex: Z,
3497
- width: J,
3498
- height: s,
3499
- minWidth: a,
3500
- maxWidth: i,
3501
- minHeight: l,
3502
- position: f,
3503
- top: p,
3504
- bottom: E,
3505
- left: R,
3506
- right: y,
3507
- zIndex: b,
3508
- fontSize: w,
3509
- fontFamily: j,
3510
- lineHeight: z,
3511
- textAlign: B,
3512
- fontWeight: H,
3513
- color: k,
3514
- backgroundColor: C,
3515
- borderRadius: W,
3516
- borderWidth: S,
3517
- borderStyle: $,
3518
- borderColor: F,
3519
- boxShadow: I,
3520
- opacity: X,
3521
- overflow: q,
3522
- overflowX: G,
3523
- overflowY: O,
3524
- ...K
3525
- }, _) => /* @__PURE__ */ m(
3526
- "label",
3527
- {
3528
- ref: _,
3529
- htmlFor: n,
3530
- className: ae(
3531
- Yt({ size: o, variant: t }),
3532
- ie({
3533
- margin: c,
3534
- marginTop: h,
3535
- marginBottom: v,
3536
- marginLeft: N,
3537
- marginRight: x,
3538
- padding: U,
3539
- paddingTop: A,
3540
- paddingBottom: V,
3541
- paddingLeft: P,
3542
- paddingRight: M,
3543
- gap: g,
3544
- display: T,
3545
- flexDirection: L,
3546
- justifyContent: Y,
3547
- flexWrap: D,
3548
- flex: Z,
3549
- width: J,
3550
- height: s,
3551
- minWidth: a,
3552
- maxWidth: i,
3553
- minHeight: l,
3554
- position: f,
3555
- top: p,
3556
- bottom: E,
3557
- left: R,
3558
- right: y,
3559
- zIndex: b,
3560
- fontSize: w,
3561
- fontFamily: j,
3562
- lineHeight: z,
3563
- textAlign: B,
3564
- fontWeight: H,
3565
- color: k,
3566
- backgroundColor: C,
3567
- borderRadius: W,
3568
- borderWidth: S,
3569
- borderStyle: $,
3570
- borderColor: F,
3571
- boxShadow: I,
3572
- opacity: X,
3573
- overflow: q,
3574
- overflowX: G,
3575
- overflowY: O
3576
- }),
3577
- u,
3578
- d
3579
- ),
3580
- "data-required": r,
3581
- ...K,
3582
- children: e
3583
- }
3584
- )
3585
- );
3586
- jn.displayName = "Label";
3587
- const zn = se(
3588
- ({
3589
- name: e,
3590
- type: n = "text",
3591
- hasError: r = !1,
3592
- size: o,
3593
- variant: t,
3594
- css: u,
3595
- className: d,
3596
- // Extract sprinkles props
3597
- margin: c,
3598
- marginTop: h,
3599
- marginBottom: v,
3600
- marginLeft: N,
3601
- marginRight: x,
3602
- padding: U,
3603
- paddingTop: A,
3604
- paddingBottom: V,
3605
- paddingLeft: P,
3606
- paddingRight: M,
3607
- gap: g,
3608
- display: T,
3609
- flexDirection: L,
3610
- justifyContent: Y,
3611
- flexWrap: D,
3612
- flex: Z,
3613
- width: J,
3614
- height: s,
3615
- minWidth: a,
3616
- maxWidth: i,
3617
- minHeight: l,
3618
- position: f,
3619
- top: p,
3620
- bottom: E,
3621
- left: R,
3622
- right: y,
3623
- zIndex: b,
3624
- fontSize: w,
3625
- fontFamily: j,
3626
- lineHeight: z,
3627
- textAlign: B,
3628
- fontWeight: H,
3629
- color: k,
3630
- backgroundColor: C,
3631
- borderRadius: W,
3632
- borderWidth: S,
3633
- borderStyle: $,
3634
- borderColor: F,
3635
- boxShadow: I,
3636
- opacity: X,
3637
- overflow: q,
3638
- overflowX: G,
3639
- overflowY: O,
3640
- ...K
3641
- }, _) => /* @__PURE__ */ m(
3642
- "input",
3643
- {
3644
- ref: _,
3645
- id: e,
3646
- name: e,
3647
- type: n,
3648
- className: ae(
3649
- Gt({ size: o, variant: t }),
3650
- ie({
3651
- margin: c,
3652
- marginTop: h,
3653
- marginBottom: v,
3654
- marginLeft: N,
3655
- marginRight: x,
3656
- padding: U,
3657
- paddingTop: A,
3658
- paddingBottom: V,
3659
- paddingLeft: P,
3660
- paddingRight: M,
3661
- gap: g,
3662
- display: T,
3663
- flexDirection: L,
3664
- justifyContent: Y,
3665
- flexWrap: D,
3666
- flex: Z,
3667
- width: J,
3668
- height: s,
3669
- minWidth: a,
3670
- maxWidth: i,
3671
- minHeight: l,
3672
- position: f,
3673
- top: p,
3674
- bottom: E,
3675
- left: R,
3676
- right: y,
3677
- zIndex: b,
3678
- fontSize: w,
3679
- fontFamily: j,
3680
- lineHeight: z,
3681
- textAlign: B,
3682
- fontWeight: H,
3683
- color: k,
3684
- backgroundColor: C,
3685
- borderRadius: W,
3686
- borderWidth: S,
3687
- borderStyle: $,
3688
- borderColor: F,
3689
- boxShadow: I,
3690
- opacity: X,
3691
- overflow: q,
3692
- overflowX: G,
3693
- overflowY: O
3694
- }),
3695
- u,
3696
- d
3697
- ),
3698
- "data-error": r,
3699
- ...K
3700
- }
3701
- )
3702
- );
3703
- zn.displayName = "Input";
3704
- const Pn = se(
3705
- ({
3706
- name: e,
3707
- hasError: n = !1,
3708
- size: r,
3709
- variant: o,
3710
- resize: t,
3711
- css: u,
3712
- className: d,
3713
- // Extract sprinkles props
3714
- margin: c,
3715
- marginTop: h,
3716
- marginBottom: v,
3717
- marginLeft: N,
3718
- marginRight: x,
3719
- padding: U,
3720
- paddingTop: A,
3721
- paddingBottom: V,
3722
- paddingLeft: P,
3723
- paddingRight: M,
3724
- gap: g,
3725
- display: T,
3726
- flexDirection: L,
3727
- justifyContent: Y,
3728
- flexWrap: D,
3729
- flex: Z,
3730
- width: J,
3731
- height: s,
3732
- minWidth: a,
3733
- maxWidth: i,
3734
- minHeight: l,
3735
- position: f,
3736
- top: p,
3737
- bottom: E,
3738
- left: R,
3739
- right: y,
3740
- zIndex: b,
3741
- fontSize: w,
3742
- fontFamily: j,
3743
- lineHeight: z,
3744
- textAlign: B,
3745
- fontWeight: H,
3746
- color: k,
3747
- backgroundColor: C,
3748
- borderRadius: W,
3749
- borderWidth: S,
3750
- borderStyle: $,
3751
- borderColor: F,
3752
- boxShadow: I,
3753
- opacity: X,
3754
- overflow: q,
3755
- overflowX: G,
3756
- overflowY: O,
3757
- ...K
3758
- }, _) => /* @__PURE__ */ m(
3759
- "textarea",
3760
- {
3761
- ref: _,
3762
- id: e,
3763
- name: e,
3764
- className: ae(
3765
- Kt({ size: r, variant: o, resize: t }),
3766
- ie({
3767
- margin: c,
3768
- marginTop: h,
3769
- marginBottom: v,
3770
- marginLeft: N,
3771
- marginRight: x,
3772
- padding: U,
3773
- paddingTop: A,
3774
- paddingBottom: V,
3775
- paddingLeft: P,
3776
- paddingRight: M,
3777
- gap: g,
3778
- display: T,
3779
- flexDirection: L,
3780
- justifyContent: Y,
3781
- flexWrap: D,
3782
- flex: Z,
3783
- width: J,
3784
- height: s,
3785
- minWidth: a,
3786
- maxWidth: i,
3787
- minHeight: l,
3788
- position: f,
3789
- top: p,
3790
- bottom: E,
3791
- left: R,
3792
- right: y,
3793
- zIndex: b,
3794
- fontSize: w,
3795
- fontFamily: j,
3796
- lineHeight: z,
3797
- textAlign: B,
3798
- fontWeight: H,
3799
- color: k,
3800
- backgroundColor: C,
3801
- borderRadius: W,
3802
- borderWidth: S,
3803
- borderStyle: $,
3804
- borderColor: F,
3805
- boxShadow: I,
3806
- opacity: X,
3807
- overflow: q,
3808
- overflowX: G,
3809
- overflowY: O
3810
- }),
3811
- u,
3812
- d
3813
- ),
3814
- "data-error": n,
3815
- ...K
3816
- }
3817
- )
3818
- );
3819
- Pn.displayName = "Textarea";
3820
- const Gn = () => /* @__PURE__ */ m("div", { children: "ToRemove" });
3821
- export {
3822
- cn as Actions,
3823
- Le as Button,
3824
- dn as Carousel,
3825
- ln as Columns,
3826
- hn as ConsentCookie,
3827
- nn as Footer,
3828
- Fn as Form,
3829
- tn as Header,
3830
- ve as Icon,
3831
- zn as Input,
3832
- xn as KeyNumber,
3833
- jn as Label,
3834
- Tn as LanguageSwitcher,
3835
- on as Logo,
3836
- en as Main,
3837
- sn as Modal,
3838
- an as Nav,
3839
- Mn as NavLegal,
3840
- An as NavSocial,
3841
- In as Row,
3842
- Yn as Section,
3843
- Ln as TextField,
3844
- Pn as Textarea,
3845
- Gn as ToRemove,
3846
- qe as Video,
3847
- kn as VideoFullWidth,
3848
- Ke as baseDarkTheme,
3849
- ge as baseLightTheme,
3850
- Ue as breakpoints,
3851
- Jn as createDarkTheme,
3852
- Qn as createLightTheme,
3853
- Bn as createThemeOverride,
3854
- qn as getCurrentTheme,
3855
- Hn as getThemeContract,
3856
- Wn as getThemeValues,
3857
- ea as queries,
3858
- ta as responsiveProperties,
3859
- Xn as setTheme,
3860
- ie as sprinkles,
3861
- Ge as themeContract,
3862
- $n as toggleTheme
3863
- };