@sikka/hawa 0.23.11-next → 0.24.0

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 (104) hide show
  1. package/dist/Chip-H5BnuDdx.d.ts +36 -0
  2. package/dist/Chip-hr2gRBJ-.d.mts +36 -0
  3. package/dist/accordion/index.d.mts +2 -1
  4. package/dist/accordion/index.d.ts +2 -1
  5. package/dist/accordion/index.mjs +7 -219
  6. package/dist/alert/index.d.mts +1 -1
  7. package/dist/alert/index.d.ts +1 -1
  8. package/dist/backToTop/index.mjs +3 -102
  9. package/dist/blocks/auth/index.mjs +2444 -116
  10. package/dist/blocks/feedback/index.mjs +92 -30
  11. package/dist/blocks/index.js +381 -1827
  12. package/dist/blocks/index.mjs +17 -16
  13. package/dist/blocks/misc/index.mjs +107 -45
  14. package/dist/blocks/pricing/index.js +761 -2563
  15. package/dist/blocks/pricing/index.mjs +242 -1734
  16. package/dist/chip/index.d.mts +2 -37
  17. package/dist/chip/index.d.ts +2 -37
  18. package/dist/chip/index.mjs +3 -83
  19. package/dist/{chunk-DGWAHQRX.mjs → chunk-26FHSPJI.mjs} +101 -1
  20. package/dist/chunk-3KMBSNM3.mjs +1077 -0
  21. package/dist/chunk-72HYR6WB.mjs +88 -0
  22. package/dist/{chunk-QGKW5R5F.mjs → chunk-7XRVH6O7.mjs} +1 -68
  23. package/dist/chunk-D75D7LGZ.mjs +189 -0
  24. package/dist/{chunk-TR56G3NM.mjs → chunk-O4FANSN5.mjs} +939 -189
  25. package/dist/{chunk-P2O6R3S6.mjs → chunk-OT7WQYPD.mjs} +1 -64
  26. package/dist/chunk-QBE2IIIH.mjs +229 -0
  27. package/dist/chunk-UTGVG66T.mjs +163 -0
  28. package/dist/chunk-W77KCP35.mjs +151 -0
  29. package/dist/chunk-ZCZ3WARS.mjs +12 -0
  30. package/dist/codeBlock/index.mjs +310 -684
  31. package/dist/colorPicker/index.d.mts +1 -2
  32. package/dist/colorPicker/index.d.ts +1 -2
  33. package/dist/colorPicker/index.mjs +167 -2
  34. package/dist/combobox/index.mjs +43 -19
  35. package/dist/{commonTypes-Abm7GBJu.d.mts → commonTypes-N7XOVCit.d.mts} +1 -2
  36. package/dist/{commonTypes-Abm7GBJu.d.ts → commonTypes-N7XOVCit.d.ts} +1 -2
  37. package/dist/dataTable/index.d.mts +1 -1
  38. package/dist/dataTable/index.d.ts +1 -1
  39. package/dist/dataTable/index.mjs +358 -109
  40. package/dist/dropdownMenu/index.d.mts +2 -1
  41. package/dist/dropdownMenu/index.d.ts +2 -1
  42. package/dist/elements/index.d.mts +66 -7
  43. package/dist/elements/index.d.ts +66 -7
  44. package/dist/elements/index.mjs +3161 -111
  45. package/dist/fileUploader/index.d.mts +2 -2
  46. package/dist/fileUploader/index.d.ts +2 -2
  47. package/dist/index-DUZFcPRO.d.mts +38 -0
  48. package/dist/index-DUZFcPRO.d.ts +38 -0
  49. package/dist/input/index.d.mts +9 -1
  50. package/dist/input/index.d.ts +9 -1
  51. package/dist/input/index.mjs +97 -15
  52. package/dist/label/index.d.mts +1 -2
  53. package/dist/label/index.d.ts +1 -2
  54. package/dist/label/index.mjs +87 -3
  55. package/dist/layout/index.d.mts +1 -2
  56. package/dist/layout/index.d.ts +1 -2
  57. package/dist/layout/index.js +1494 -3251
  58. package/dist/layout/index.mjs +6 -5
  59. package/dist/navigationMenu/index.d.mts +2 -1
  60. package/dist/navigationMenu/index.d.ts +2 -1
  61. package/dist/pagination/index.d.mts +3 -4
  62. package/dist/pagination/index.d.ts +3 -4
  63. package/dist/passwordInput/index.d.mts +4 -4
  64. package/dist/passwordInput/index.d.ts +4 -4
  65. package/dist/popover/index.d.mts +2 -1
  66. package/dist/popover/index.d.ts +2 -1
  67. package/dist/progressCircle/index.d.mts +4 -4
  68. package/dist/progressCircle/index.d.ts +4 -4
  69. package/dist/radio/index.d.mts +4 -1
  70. package/dist/radio/index.d.ts +4 -1
  71. package/dist/scrollArea/index.d.mts +1 -2
  72. package/dist/scrollArea/index.d.ts +1 -2
  73. package/dist/simpleTable/index.d.mts +3 -3
  74. package/dist/simpleTable/index.d.ts +3 -3
  75. package/dist/skeleton/index.d.mts +3 -3
  76. package/dist/skeleton/index.d.ts +3 -3
  77. package/dist/skeleton/index.mjs +29 -3
  78. package/dist/tabs/index.d.mts +1 -21
  79. package/dist/tabs/index.d.ts +1 -21
  80. package/dist/tabs/index.mjs +14 -94
  81. package/dist/toast/index.d.mts +1 -1
  82. package/dist/toast/index.d.ts +1 -1
  83. package/dist/toast/index.mjs +127 -9
  84. package/dist/toaster/index.d.mts +3 -3
  85. package/dist/toaster/index.d.ts +3 -3
  86. package/dist/toaster/index.mjs +129 -12
  87. package/dist/tooltip/index.d.mts +3 -3
  88. package/dist/tooltip/index.d.ts +3 -3
  89. package/package.json +2 -2
  90. package/dist/SimpleTable-EE4ejgUR.d.mts +0 -97
  91. package/dist/SimpleTable-vY1ziD-2.d.ts +0 -97
  92. package/dist/chunk-HSOVWPQN.mjs +0 -138
  93. package/dist/chunk-LRLLDOQZ.mjs +0 -178
  94. package/dist/chunk-ND4BWUKH.mjs +0 -34
  95. package/dist/chunk-RYORXSDA.mjs +0 -7519
  96. package/dist/chunk-UAVBFK53.mjs +0 -346
  97. package/dist/commonTypes-2IGtJ5cq.d.mts +0 -3
  98. package/dist/commonTypes-2IGtJ5cq.d.ts +0 -3
  99. package/dist/commonTypes-2k6FnHw5.d.mts +0 -4
  100. package/dist/commonTypes-2k6FnHw5.d.ts +0 -4
  101. package/dist/commonTypes-Dqxlu-9C.d.mts +0 -4
  102. package/dist/commonTypes-Dqxlu-9C.d.ts +0 -4
  103. package/dist/commonTypes-ko_NGEoT.d.mts +0 -3
  104. package/dist/commonTypes-ko_NGEoT.d.ts +0 -3
@@ -1,19 +1,16 @@
1
- import {
2
- Alert,
3
- Checkbox,
4
- Logos,
5
- PhoneInput,
6
- PinInput,
7
- StopPropagationWrapper
8
- } from "../../chunk-TR56G3NM.mjs";
9
1
  import {
10
2
  Input
11
3
  } from "../../chunk-A25EXELT.mjs";
12
4
  import {
13
- EyeIcon,
14
- HiddenEyeIcon,
5
+ StopPropagationWrapper
6
+ } from "../../chunk-ZCZ3WARS.mjs";
7
+ import {
15
8
  Select
16
- } from "../../chunk-UAVBFK53.mjs";
9
+ } from "../../chunk-UTGVG66T.mjs";
10
+ import {
11
+ EyeIcon,
12
+ HiddenEyeIcon
13
+ } from "../../chunk-D75D7LGZ.mjs";
17
14
  import {
18
15
  Button,
19
16
  Card,
@@ -22,22 +19,2131 @@ import {
22
19
  CardFooter,
23
20
  CardHeader,
24
21
  CardTitle,
22
+ Label,
25
23
  Loading,
26
24
  cn
27
25
  } from "../../chunk-677VOLD4.mjs";
28
26
 
29
27
  // components/blocks/auth/LoginForm.tsx
30
- import React2, { useState } from "react";
28
+ import React5, { useState as useState3 } from "react";
31
29
  import { Controller, useForm } from "react-hook-form";
32
30
  import { zodResolver } from "@hookform/resolvers/zod";
33
31
  import { parsePhoneNumber } from "libphonenumber-js";
34
32
  import * as z from "zod";
35
33
 
34
+ // components/elements/alert/Alert.tsx
35
+ import React, { useRef, useState, useEffect } from "react";
36
+ var Alert = ({
37
+ variant = "normal",
38
+ direction = "ltr",
39
+ severity = "none",
40
+ duration,
41
+ icon,
42
+ className,
43
+ ...props
44
+ }) => {
45
+ const alertRef = useRef(null);
46
+ const [closed, setClosed] = useState(false);
47
+ useEffect(() => {
48
+ if (duration) {
49
+ const timeoutHide = setTimeout(() => {
50
+ setClosed(true);
51
+ }, duration);
52
+ const timeoutDestroy = setTimeout(() => {
53
+ setClosed(true);
54
+ if (alertRef == null ? void 0 : alertRef.current) {
55
+ alertRef == null ? void 0 : alertRef.current.removeChild(alertRef == null ? void 0 : alertRef.current.children[0]);
56
+ }
57
+ }, duration + 1e3);
58
+ return () => {
59
+ clearTimeout(timeoutHide);
60
+ clearTimeout(timeoutDestroy);
61
+ };
62
+ }
63
+ }, [duration]);
64
+ let closeButtonStyle = {
65
+ none: "",
66
+ info: "",
67
+ warning: "",
68
+ error: "",
69
+ success: "",
70
+ hyper: "",
71
+ oceanic: ""
72
+ };
73
+ let styleVariant = {
74
+ none: "hawa-text-gray-700 hawa-bg-gray-100 dark:hawa-bg-gray-900 ",
75
+ info: "hawa-text-info-foreground hawa-bg-info/90",
76
+ warning: "hawa-text-warning-foreground hawa-bg-warning/90",
77
+ error: "hawa-text-destructive-foreground hawa-bg-destructive/90",
78
+ success: "hawa-text-success-foreground hawa-bg-success/90",
79
+ hyper: "hawa-text-white hawa-bg-gradient-to-tl hawa-from-pink-700 hawa-via-red-500 hawa-to-yellow-600 ",
80
+ oceanic: "hawa-text-white hawa-bg-gradient-to-bl hawa-from-green-500 hawa-via-blue-700 hawa-to-purple-500"
81
+ };
82
+ return /* @__PURE__ */ React.createElement("div", { ref: alertRef }, /* @__PURE__ */ React.createElement(
83
+ "div",
84
+ {
85
+ "data-testid": "alert",
86
+ "aria-label": "Alert",
87
+ role: "alert",
88
+ dir: direction,
89
+ className: cn(
90
+ "hawa-relative hawa-mb-4 hawa-flex hawa-flex-col hawa-rounded hawa-p-4 hawa-text-sm hawa-transition-all",
91
+ styleVariant[severity],
92
+ closed ? "hawa-opacity-0" : "hawa-opacity-100",
93
+ className
94
+ )
95
+ },
96
+ /* @__PURE__ */ React.createElement("div", { className: "hawa-flex hawa-flex-row" }, icon && /* @__PURE__ */ React.createElement(
97
+ "div",
98
+ {
99
+ className: direction === "rtl" ? "hawa-pl-2 hawa-pt-1" : "hawa-pr-2 hawa-pt-1"
100
+ },
101
+ icon
102
+ ), /* @__PURE__ */ React.createElement("div", { className: "hawa-flex hawa-flex-col" }, /* @__PURE__ */ React.createElement(
103
+ "span",
104
+ {
105
+ className: cn(
106
+ "hawa-font-bold",
107
+ direction === "rtl" ? "hawa-ml-8" : "hawa-mr-8"
108
+ )
109
+ },
110
+ props.title
111
+ ), /* @__PURE__ */ React.createElement(
112
+ "span",
113
+ {
114
+ className: cn(
115
+ direction === "rtl" ? "hawa-ml-8" : "hawa-mr-8",
116
+ props.persistent ? "hawa-w-full" : "hawa-w-[calc(100% - 40px)]"
117
+ )
118
+ },
119
+ props.text
120
+ ), props.actions && /* @__PURE__ */ React.createElement("div", { className: "hawa-mt-2 hawa-flex hawa-flex-row hawa-gap-2" }, props.actions.map((act, index) => /* @__PURE__ */ React.createElement(
121
+ Button,
122
+ {
123
+ key: index,
124
+ variant: act.variant,
125
+ onClick: act.onClick()
126
+ },
127
+ act.label
128
+ ))))),
129
+ !props.persistent && /* @__PURE__ */ React.createElement(
130
+ "button",
131
+ {
132
+ type: "button",
133
+ "data-dismiss-target": "#alert-default",
134
+ "aria-label": "Close",
135
+ className: cn(
136
+ "hawa-absolute hawa-top-2 hawa-inline-flex hawa-h-9 hawa-w-9 hawa-items-center hawa-justify-center hawa-rounded-inner hawa-p-1.5 hawa-transition-all hover:hawa-text-gray-900",
137
+ closeButtonStyle[severity],
138
+ direction === "rtl" ? "hawa-left-2" : "hawa-right-2"
139
+ ),
140
+ onClick: () => {
141
+ if (props.onAlertClosed) {
142
+ props.onAlertClosed();
143
+ }
144
+ setClosed(true);
145
+ setTimeout(() => {
146
+ if (alertRef == null ? void 0 : alertRef.current) {
147
+ alertRef == null ? void 0 : alertRef.current.removeChild(alertRef == null ? void 0 : alertRef.current.children[0]);
148
+ }
149
+ }, 200);
150
+ }
151
+ },
152
+ /* @__PURE__ */ React.createElement("span", { className: "hawa-sr-only" }, "Close"),
153
+ /* @__PURE__ */ React.createElement(
154
+ "svg",
155
+ {
156
+ "aria-label": "Close Icon",
157
+ "aria-hidden": "true",
158
+ className: "hawa-h-5 hawa-w-5",
159
+ fill: "currentColor",
160
+ viewBox: "0 0 20 20"
161
+ },
162
+ /* @__PURE__ */ React.createElement(
163
+ "path",
164
+ {
165
+ fillRule: "evenodd",
166
+ d: "M4.293 4.293a1 1 0 011.414 0L10 8.586l4.293-4.293a1 1 0 111.414 1.414L11.414 10l4.293 4.293a1 1 0 01-1.414 1.414L10 11.414l-4.293 4.293a1 1 0 01-1.414-1.414L8.586 10 4.293 5.707a1 1 0 010-1.414z",
167
+ clipRule: "evenodd"
168
+ }
169
+ )
170
+ )
171
+ )
172
+ ));
173
+ };
174
+
175
+ // components/elements/phoneInput/PhoneInput.tsx
176
+ import React2, { useState as useState2, useRef as useRef2, useEffect as useEffect2 } from "react";
177
+
178
+ // components/countries.ts
179
+ var countries = [
180
+ {
181
+ country_label: "Saudi Arabia",
182
+ code: "SA",
183
+ unicode: "🇸🇦",
184
+ image: "https://cdn.jsdelivr.net/npm/country-flag-emoji-json@2.0.0/dist/images/SA.svg",
185
+ label: "+966"
186
+ },
187
+ {
188
+ country_label: "United Arab Emirates",
189
+ code: "AE",
190
+ unicode: "🇦🇪",
191
+ image: "https://cdn.jsdelivr.net/npm/country-flag-emoji-json@2.0.0/dist/images/AE.svg",
192
+ label: "+971"
193
+ },
194
+ {
195
+ country_label: "Bahrain",
196
+ code: "BH",
197
+ unicode: "🇧🇭",
198
+ image: "https://cdn.jsdelivr.net/npm/country-flag-emoji-json@2.0.0/dist/images/BH.svg",
199
+ label: "+973"
200
+ },
201
+ {
202
+ country_label: "Kuwait",
203
+ code: "KW",
204
+ unicode: "🇰🇼",
205
+ image: "https://cdn.jsdelivr.net/npm/country-flag-emoji-json@2.0.0/dist/images/KW.svg",
206
+ label: "+965"
207
+ },
208
+ {
209
+ country_label: "Qatar",
210
+ code: "QA",
211
+ unicode: "🇶🇦",
212
+ image: "https://cdn.jsdelivr.net/npm/country-flag-emoji-json@2.0.0/dist/images/QA.svg",
213
+ label: "+974"
214
+ },
215
+ {
216
+ country_label: "Oman",
217
+ code: "OM",
218
+ unicode: "🇴🇲",
219
+ image: "https://cdn.jsdelivr.net/npm/country-flag-emoji-json@2.0.0/dist/images/OM.svg",
220
+ label: "+968"
221
+ },
222
+ {
223
+ country_label: "Andorra",
224
+ value: "Andorra",
225
+ code: "AD",
226
+ unicode: "🇦🇩",
227
+ image: "https://cdn.jsdelivr.net/npm/country-flag-emoji-json@2.0.0/dist/images/AD.svg",
228
+ label: "+376"
229
+ },
230
+ {
231
+ country_label: "Afghanistan",
232
+ code: "AF",
233
+ unicode: "🇦🇫",
234
+ image: "https://cdn.jsdelivr.net/npm/country-flag-emoji-json@2.0.0/dist/images/AF.svg",
235
+ label: "+93"
236
+ },
237
+ {
238
+ country_label: "Antigua & Barbuda",
239
+ code: "AG",
240
+ unicode: "🇦🇬",
241
+ image: "https://cdn.jsdelivr.net/npm/country-flag-emoji-json@2.0.0/dist/images/AG.svg",
242
+ label: "+1268"
243
+ },
244
+ {
245
+ country_label: "Anguilla",
246
+ code: "AI",
247
+ unicode: "🇦🇮",
248
+ image: "https://cdn.jsdelivr.net/npm/country-flag-emoji-json@2.0.0/dist/images/AI.svg",
249
+ label: "+1264"
250
+ },
251
+ {
252
+ country_label: "Albania",
253
+ code: "AL",
254
+ unicode: "🇦🇱",
255
+ image: "https://cdn.jsdelivr.net/npm/country-flag-emoji-json@2.0.0/dist/images/AL.svg",
256
+ label: "+355"
257
+ },
258
+ {
259
+ country_label: "Armenia",
260
+ code: "AM",
261
+ unicode: "🇦🇲",
262
+ image: "https://cdn.jsdelivr.net/npm/country-flag-emoji-json@2.0.0/dist/images/AM.svg",
263
+ label: "+374"
264
+ },
265
+ {
266
+ country_label: "Angola",
267
+ code: "AO",
268
+ unicode: "🇦🇴",
269
+ image: "https://cdn.jsdelivr.net/npm/country-flag-emoji-json@2.0.0/dist/images/AO.svg",
270
+ label: "+244"
271
+ },
272
+ {
273
+ country_label: "Antarctica",
274
+ code: "AQ",
275
+ unicode: "🇦🇶",
276
+ image: "https://cdn.jsdelivr.net/npm/country-flag-emoji-json@2.0.0/dist/images/AQ.svg",
277
+ label: "+672"
278
+ },
279
+ {
280
+ country_label: "Argentina",
281
+ code: "AR",
282
+ unicode: "🇦🇷",
283
+ image: "https://cdn.jsdelivr.net/npm/country-flag-emoji-json@2.0.0/dist/images/AR.svg",
284
+ label: "+54"
285
+ },
286
+ {
287
+ country_label: "American Samoa",
288
+ code: "AS",
289
+ unicode: "🇦🇸",
290
+ image: "https://cdn.jsdelivr.net/npm/country-flag-emoji-json@2.0.0/dist/images/AS.svg",
291
+ label: "+1684"
292
+ },
293
+ {
294
+ country_label: "Austria",
295
+ code: "AT",
296
+ unicode: "🇦🇹",
297
+ image: "https://cdn.jsdelivr.net/npm/country-flag-emoji-json@2.0.0/dist/images/AT.svg",
298
+ label: "+43"
299
+ },
300
+ {
301
+ country_label: "Australia",
302
+ code: "AU",
303
+ unicode: "🇦🇺",
304
+ image: "https://cdn.jsdelivr.net/npm/country-flag-emoji-json@2.0.0/dist/images/AU.svg",
305
+ label: "+61"
306
+ },
307
+ {
308
+ country_label: "Aruba",
309
+ code: "AW",
310
+ unicode: "🇦🇼",
311
+ image: "https://cdn.jsdelivr.net/npm/country-flag-emoji-json@2.0.0/dist/images/AW.svg",
312
+ label: "+297"
313
+ },
314
+ {
315
+ country_label: "\xC5land Islands",
316
+ code: "AX",
317
+ unicode: "🇦🇽",
318
+ image: "https://cdn.jsdelivr.net/npm/country-flag-emoji-json@2.0.0/dist/images/AX.svg",
319
+ label: "+358"
320
+ },
321
+ {
322
+ country_label: "Azerbaijan",
323
+ code: "AZ",
324
+ unicode: "🇦🇿",
325
+ image: "https://cdn.jsdelivr.net/npm/country-flag-emoji-json@2.0.0/dist/images/AZ.svg",
326
+ label: "+994"
327
+ },
328
+ {
329
+ country_label: "Bosnia & Herzegovina",
330
+ code: "BA",
331
+ unicode: "🇧🇦",
332
+ image: "https://cdn.jsdelivr.net/npm/country-flag-emoji-json@2.0.0/dist/images/BA.svg",
333
+ label: "+387"
334
+ },
335
+ {
336
+ country_label: "Barbados",
337
+ code: "BB",
338
+ unicode: "🇧🇧",
339
+ image: "https://cdn.jsdelivr.net/npm/country-flag-emoji-json@2.0.0/dist/images/BB.svg",
340
+ label: "+1246"
341
+ },
342
+ {
343
+ country_label: "Bangladesh",
344
+ code: "BD",
345
+ unicode: "🇧🇩",
346
+ image: "https://cdn.jsdelivr.net/npm/country-flag-emoji-json@2.0.0/dist/images/BD.svg",
347
+ label: "+880"
348
+ },
349
+ {
350
+ country_label: "Belgium",
351
+ code: "BE",
352
+ unicode: "🇧🇪",
353
+ image: "https://cdn.jsdelivr.net/npm/country-flag-emoji-json@2.0.0/dist/images/BE.svg",
354
+ label: "+32"
355
+ },
356
+ {
357
+ country_label: "Burkina Faso",
358
+ code: "BF",
359
+ unicode: "🇧🇫",
360
+ image: "https://cdn.jsdelivr.net/npm/country-flag-emoji-json@2.0.0/dist/images/BF.svg",
361
+ label: "+226"
362
+ },
363
+ {
364
+ country_label: "Bulgaria",
365
+ code: "BG",
366
+ unicode: "🇧🇬",
367
+ image: "https://cdn.jsdelivr.net/npm/country-flag-emoji-json@2.0.0/dist/images/BG.svg",
368
+ label: "+359"
369
+ },
370
+ {
371
+ country_label: "Burundi",
372
+ code: "BI",
373
+ unicode: "🇧🇮",
374
+ image: "https://cdn.jsdelivr.net/npm/country-flag-emoji-json@2.0.0/dist/images/BI.svg",
375
+ label: "+257"
376
+ },
377
+ {
378
+ country_label: "Benin",
379
+ code: "BJ",
380
+ unicode: "🇧🇯",
381
+ image: "https://cdn.jsdelivr.net/npm/country-flag-emoji-json@2.0.0/dist/images/BJ.svg",
382
+ label: "+229"
383
+ },
384
+ {
385
+ country_label: "St. Barth\xE9lemy",
386
+ code: "BL",
387
+ unicode: "🇧🇱",
388
+ image: "https://cdn.jsdelivr.net/npm/country-flag-emoji-json@2.0.0/dist/images/BL.svg",
389
+ label: "+590"
390
+ },
391
+ {
392
+ country_label: "Bermuda",
393
+ code: "BM",
394
+ unicode: "🇧🇲",
395
+ image: "https://cdn.jsdelivr.net/npm/country-flag-emoji-json@2.0.0/dist/images/BM.svg",
396
+ label: "+1441"
397
+ },
398
+ {
399
+ country_label: "Brunei",
400
+ code: "BN",
401
+ unicode: "🇧🇳",
402
+ image: "https://cdn.jsdelivr.net/npm/country-flag-emoji-json@2.0.0/dist/images/BN.svg",
403
+ label: "+673"
404
+ },
405
+ {
406
+ country_label: "Bolivia",
407
+ code: "BO",
408
+ unicode: "🇧🇴",
409
+ image: "https://cdn.jsdelivr.net/npm/country-flag-emoji-json@2.0.0/dist/images/BO.svg",
410
+ label: "+591"
411
+ },
412
+ {
413
+ country_label: "Brazil",
414
+ code: "BR",
415
+ unicode: "🇧🇷",
416
+ image: "https://cdn.jsdelivr.net/npm/country-flag-emoji-json@2.0.0/dist/images/BR.svg",
417
+ label: "+55"
418
+ },
419
+ {
420
+ country_label: "Bahamas",
421
+ code: "BS",
422
+ unicode: "🇧🇸",
423
+ image: "https://cdn.jsdelivr.net/npm/country-flag-emoji-json@2.0.0/dist/images/BS.svg",
424
+ label: "+1242"
425
+ },
426
+ {
427
+ country_label: "Bhutan",
428
+ code: "BT",
429
+ unicode: "🇧🇹",
430
+ image: "https://cdn.jsdelivr.net/npm/country-flag-emoji-json@2.0.0/dist/images/BT.svg",
431
+ label: "+975"
432
+ },
433
+ {
434
+ country_label: "Botswana",
435
+ code: "BW",
436
+ unicode: "🇧🇼",
437
+ image: "https://cdn.jsdelivr.net/npm/country-flag-emoji-json@2.0.0/dist/images/BW.svg",
438
+ label: "+267"
439
+ },
440
+ {
441
+ country_label: "Belarus",
442
+ code: "BY",
443
+ unicode: "🇧🇾",
444
+ image: "https://cdn.jsdelivr.net/npm/country-flag-emoji-json@2.0.0/dist/images/BY.svg",
445
+ label: "+375"
446
+ },
447
+ {
448
+ country_label: "Belize",
449
+ code: "BZ",
450
+ unicode: "🇧🇿",
451
+ image: "https://cdn.jsdelivr.net/npm/country-flag-emoji-json@2.0.0/dist/images/BZ.svg",
452
+ label: "+501"
453
+ },
454
+ {
455
+ country_label: "Canada",
456
+ code: "CA",
457
+ unicode: "🇨🇦",
458
+ image: "https://cdn.jsdelivr.net/npm/country-flag-emoji-json@2.0.0/dist/images/CA.svg",
459
+ label: "+1"
460
+ },
461
+ {
462
+ country_label: "Cocos (Keeling) Islands",
463
+ code: "CC",
464
+ unicode: "🇨🇨",
465
+ image: "https://cdn.jsdelivr.net/npm/country-flag-emoji-json@2.0.0/dist/images/CC.svg",
466
+ label: "+61"
467
+ },
468
+ {
469
+ country_label: "Congo - Kinshasa",
470
+ code: "CD",
471
+ unicode: "🇨🇩",
472
+ image: "https://cdn.jsdelivr.net/npm/country-flag-emoji-json@2.0.0/dist/images/CD.svg",
473
+ label: "+243"
474
+ },
475
+ {
476
+ country_label: "Central African Republic",
477
+ code: "CF",
478
+ unicode: "🇨🇫",
479
+ image: "https://cdn.jsdelivr.net/npm/country-flag-emoji-json@2.0.0/dist/images/CF.svg",
480
+ label: "+236"
481
+ },
482
+ {
483
+ country_label: "Congo - Brazzaville",
484
+ code: "CG",
485
+ unicode: "🇨🇬",
486
+ image: "https://cdn.jsdelivr.net/npm/country-flag-emoji-json@2.0.0/dist/images/CG.svg",
487
+ label: "+242"
488
+ },
489
+ {
490
+ country_label: "Switzerland",
491
+ code: "CH",
492
+ unicode: "🇨🇭",
493
+ image: "https://cdn.jsdelivr.net/npm/country-flag-emoji-json@2.0.0/dist/images/CH.svg",
494
+ label: "+41"
495
+ },
496
+ {
497
+ country_label: "C\xF4te d\u2019Ivoire",
498
+ code: "CI",
499
+ unicode: "🇨🇮",
500
+ image: "https://cdn.jsdelivr.net/npm/country-flag-emoji-json@2.0.0/dist/images/CI.svg",
501
+ label: "+225"
502
+ },
503
+ {
504
+ country_label: "Cook Islands",
505
+ code: "CK",
506
+ unicode: "🇨🇰",
507
+ image: "https://cdn.jsdelivr.net/npm/country-flag-emoji-json@2.0.0/dist/images/CK.svg",
508
+ label: "+682"
509
+ },
510
+ {
511
+ country_label: "Chile",
512
+ code: "CL",
513
+ unicode: "🇨🇱",
514
+ image: "https://cdn.jsdelivr.net/npm/country-flag-emoji-json@2.0.0/dist/images/CL.svg",
515
+ label: "+56"
516
+ },
517
+ {
518
+ country_label: "Cameroon",
519
+ code: "CM",
520
+ unicode: "🇨🇲",
521
+ image: "https://cdn.jsdelivr.net/npm/country-flag-emoji-json@2.0.0/dist/images/CM.svg",
522
+ label: "+237"
523
+ },
524
+ {
525
+ country_label: "China",
526
+ code: "CN",
527
+ unicode: "🇨🇳",
528
+ image: "https://cdn.jsdelivr.net/npm/country-flag-emoji-json@2.0.0/dist/images/CN.svg",
529
+ label: "+86"
530
+ },
531
+ {
532
+ country_label: "Colombia",
533
+ code: "CO",
534
+ unicode: "🇨🇴",
535
+ image: "https://cdn.jsdelivr.net/npm/country-flag-emoji-json@2.0.0/dist/images/CO.svg",
536
+ label: "+57"
537
+ },
538
+ {
539
+ country_label: "Costa Rica",
540
+ code: "CR",
541
+ unicode: "🇨🇷",
542
+ image: "https://cdn.jsdelivr.net/npm/country-flag-emoji-json@2.0.0/dist/images/CR.svg",
543
+ label: "+506"
544
+ },
545
+ {
546
+ country_label: "Cuba",
547
+ code: "CU",
548
+ unicode: "🇨🇺",
549
+ image: "https://cdn.jsdelivr.net/npm/country-flag-emoji-json@2.0.0/dist/images/CU.svg",
550
+ label: "+53"
551
+ },
552
+ {
553
+ country_label: "Cape Verde",
554
+ code: "CV",
555
+ unicode: "🇨🇻",
556
+ image: "https://cdn.jsdelivr.net/npm/country-flag-emoji-json@2.0.0/dist/images/CV.svg",
557
+ label: "+238"
558
+ },
559
+ {
560
+ country_label: "Christmas Island",
561
+ code: "CX",
562
+ unicode: "🇨🇽",
563
+ image: "https://cdn.jsdelivr.net/npm/country-flag-emoji-json@2.0.0/dist/images/CX.svg",
564
+ label: "+61"
565
+ },
566
+ {
567
+ country_label: "Cyprus",
568
+ code: "CY",
569
+ unicode: "🇨🇾",
570
+ image: "https://cdn.jsdelivr.net/npm/country-flag-emoji-json@2.0.0/dist/images/CY.svg",
571
+ label: "+357"
572
+ },
573
+ {
574
+ country_label: "Czechia",
575
+ code: "CZ",
576
+ unicode: "🇨🇿",
577
+ image: "https://cdn.jsdelivr.net/npm/country-flag-emoji-json@2.0.0/dist/images/CZ.svg",
578
+ label: "+420"
579
+ },
580
+ {
581
+ country_label: "Germany",
582
+ code: "DE",
583
+ unicode: "🇩🇪",
584
+ image: "https://cdn.jsdelivr.net/npm/country-flag-emoji-json@2.0.0/dist/images/DE.svg",
585
+ label: "+49"
586
+ },
587
+ {
588
+ country_label: "Djibouti",
589
+ code: "DJ",
590
+ unicode: "🇩🇯",
591
+ image: "https://cdn.jsdelivr.net/npm/country-flag-emoji-json@2.0.0/dist/images/DJ.svg",
592
+ label: "+253"
593
+ },
594
+ {
595
+ country_label: "Denmark",
596
+ code: "DK",
597
+ unicode: "🇩🇰",
598
+ image: "https://cdn.jsdelivr.net/npm/country-flag-emoji-json@2.0.0/dist/images/DK.svg",
599
+ label: "+45"
600
+ },
601
+ {
602
+ country_label: "Dominica",
603
+ code: "DM",
604
+ unicode: "🇩🇲",
605
+ image: "https://cdn.jsdelivr.net/npm/country-flag-emoji-json@2.0.0/dist/images/DM.svg",
606
+ label: "+1767"
607
+ },
608
+ {
609
+ country_label: "Dominican Republic",
610
+ code: "DO",
611
+ unicode: "🇩🇴",
612
+ image: "https://cdn.jsdelivr.net/npm/country-flag-emoji-json@2.0.0/dist/images/DO.svg",
613
+ label: "+1849"
614
+ },
615
+ {
616
+ country_label: "Algeria",
617
+ code: "DZ",
618
+ unicode: "🇩🇿",
619
+ image: "https://cdn.jsdelivr.net/npm/country-flag-emoji-json@2.0.0/dist/images/DZ.svg",
620
+ label: "+213"
621
+ },
622
+ {
623
+ country_label: "Ecuador",
624
+ code: "EC",
625
+ unicode: "🇪🇨",
626
+ image: "https://cdn.jsdelivr.net/npm/country-flag-emoji-json@2.0.0/dist/images/EC.svg",
627
+ label: "+593"
628
+ },
629
+ {
630
+ country_label: "Estonia",
631
+ code: "EE",
632
+ unicode: "🇪🇪",
633
+ image: "https://cdn.jsdelivr.net/npm/country-flag-emoji-json@2.0.0/dist/images/EE.svg",
634
+ label: "+372"
635
+ },
636
+ {
637
+ country_label: "Egypt",
638
+ code: "EG",
639
+ unicode: "🇪🇬",
640
+ image: "https://cdn.jsdelivr.net/npm/country-flag-emoji-json@2.0.0/dist/images/EG.svg",
641
+ label: "+20"
642
+ },
643
+ {
644
+ country_label: "Eritrea",
645
+ code: "ER",
646
+ unicode: "🇪🇷",
647
+ image: "https://cdn.jsdelivr.net/npm/country-flag-emoji-json@2.0.0/dist/images/ER.svg",
648
+ label: "+291"
649
+ },
650
+ {
651
+ country_label: "Spain",
652
+ code: "ES",
653
+ unicode: "🇪🇸",
654
+ image: "https://cdn.jsdelivr.net/npm/country-flag-emoji-json@2.0.0/dist/images/ES.svg",
655
+ label: "+34"
656
+ },
657
+ {
658
+ country_label: "Ethiopia",
659
+ code: "ET",
660
+ unicode: "🇪🇹",
661
+ image: "https://cdn.jsdelivr.net/npm/country-flag-emoji-json@2.0.0/dist/images/ET.svg",
662
+ label: "+251"
663
+ },
664
+ {
665
+ country_label: "Finland",
666
+ code: "FI",
667
+ unicode: "🇫🇮",
668
+ image: "https://cdn.jsdelivr.net/npm/country-flag-emoji-json@2.0.0/dist/images/FI.svg",
669
+ label: "+358"
670
+ },
671
+ {
672
+ country_label: "Fiji",
673
+ code: "FJ",
674
+ unicode: "🇫🇯",
675
+ image: "https://cdn.jsdelivr.net/npm/country-flag-emoji-json@2.0.0/dist/images/FJ.svg",
676
+ label: "+679"
677
+ },
678
+ {
679
+ country_label: "Falkland Islands",
680
+ code: "FK",
681
+ unicode: "🇫🇰",
682
+ image: "https://cdn.jsdelivr.net/npm/country-flag-emoji-json@2.0.0/dist/images/FK.svg",
683
+ label: "+500"
684
+ },
685
+ {
686
+ country_label: "Micronesia",
687
+ code: "FM",
688
+ unicode: "🇫🇲",
689
+ image: "https://cdn.jsdelivr.net/npm/country-flag-emoji-json@2.0.0/dist/images/FM.svg",
690
+ label: "+691"
691
+ },
692
+ {
693
+ country_label: "Faroe Islands",
694
+ code: "FO",
695
+ unicode: "🇫🇴",
696
+ image: "https://cdn.jsdelivr.net/npm/country-flag-emoji-json@2.0.0/dist/images/FO.svg",
697
+ label: "+298"
698
+ },
699
+ {
700
+ country_label: "France",
701
+ code: "FR",
702
+ unicode: "🇫🇷",
703
+ image: "https://cdn.jsdelivr.net/npm/country-flag-emoji-json@2.0.0/dist/images/FR.svg",
704
+ label: "+33"
705
+ },
706
+ {
707
+ country_label: "Gabon",
708
+ code: "GA",
709
+ unicode: "🇬🇦",
710
+ image: "https://cdn.jsdelivr.net/npm/country-flag-emoji-json@2.0.0/dist/images/GA.svg",
711
+ label: "+241"
712
+ },
713
+ {
714
+ country_label: "United Kingdom",
715
+ code: "GB",
716
+ unicode: "🇬🇧",
717
+ image: "https://cdn.jsdelivr.net/npm/country-flag-emoji-json@2.0.0/dist/images/GB.svg",
718
+ label: "+44"
719
+ },
720
+ {
721
+ country_label: "Grenada",
722
+ code: "GD",
723
+ unicode: "🇬🇩",
724
+ image: "https://cdn.jsdelivr.net/npm/country-flag-emoji-json@2.0.0/dist/images/GD.svg",
725
+ label: "+1473"
726
+ },
727
+ {
728
+ country_label: "Georgia",
729
+ code: "GE",
730
+ unicode: "🇬🇪",
731
+ image: "https://cdn.jsdelivr.net/npm/country-flag-emoji-json@2.0.0/dist/images/GE.svg",
732
+ label: "+995"
733
+ },
734
+ {
735
+ country_label: "French Guiana",
736
+ code: "GF",
737
+ unicode: "🇬🇫",
738
+ image: "https://cdn.jsdelivr.net/npm/country-flag-emoji-json@2.0.0/dist/images/GF.svg",
739
+ label: "+594"
740
+ },
741
+ {
742
+ country_label: "Guernsey",
743
+ code: "GG",
744
+ unicode: "🇬🇬",
745
+ image: "https://cdn.jsdelivr.net/npm/country-flag-emoji-json@2.0.0/dist/images/GG.svg",
746
+ label: "+44"
747
+ },
748
+ {
749
+ country_label: "Ghana",
750
+ code: "GH",
751
+ unicode: "🇬🇭",
752
+ image: "https://cdn.jsdelivr.net/npm/country-flag-emoji-json@2.0.0/dist/images/GH.svg",
753
+ label: "+233"
754
+ },
755
+ {
756
+ country_label: "Gibraltar",
757
+ code: "GI",
758
+ unicode: "🇬🇮",
759
+ image: "https://cdn.jsdelivr.net/npm/country-flag-emoji-json@2.0.0/dist/images/GI.svg",
760
+ label: "+350"
761
+ },
762
+ {
763
+ country_label: "Greenland",
764
+ code: "GL",
765
+ unicode: "🇬🇱",
766
+ image: "https://cdn.jsdelivr.net/npm/country-flag-emoji-json@2.0.0/dist/images/GL.svg",
767
+ label: "+299"
768
+ },
769
+ {
770
+ country_label: "Gambia",
771
+ code: "GM",
772
+ unicode: "🇬🇲",
773
+ image: "https://cdn.jsdelivr.net/npm/country-flag-emoji-json@2.0.0/dist/images/GM.svg",
774
+ label: "+220"
775
+ },
776
+ {
777
+ country_label: "Guinea",
778
+ code: "GN",
779
+ unicode: "🇬🇳",
780
+ image: "https://cdn.jsdelivr.net/npm/country-flag-emoji-json@2.0.0/dist/images/GN.svg",
781
+ label: "+224"
782
+ },
783
+ {
784
+ country_label: "Guadeloupe",
785
+ code: "GP",
786
+ unicode: "🇬🇵",
787
+ image: "https://cdn.jsdelivr.net/npm/country-flag-emoji-json@2.0.0/dist/images/GP.svg",
788
+ label: "+590"
789
+ },
790
+ {
791
+ country_label: "Equatorial Guinea",
792
+ code: "GQ",
793
+ unicode: "🇬🇶",
794
+ image: "https://cdn.jsdelivr.net/npm/country-flag-emoji-json@2.0.0/dist/images/GQ.svg",
795
+ label: "+240"
796
+ },
797
+ {
798
+ country_label: "Greece",
799
+ code: "GR",
800
+ unicode: "🇬🇷",
801
+ image: "https://cdn.jsdelivr.net/npm/country-flag-emoji-json@2.0.0/dist/images/GR.svg",
802
+ label: "+30"
803
+ },
804
+ {
805
+ country_label: "South Georgia & South Sandwich Islands",
806
+ code: "GS",
807
+ unicode: "🇬🇸",
808
+ image: "https://cdn.jsdelivr.net/npm/country-flag-emoji-json@2.0.0/dist/images/GS.svg",
809
+ label: "+500"
810
+ },
811
+ {
812
+ country_label: "Guatemala",
813
+ code: "GT",
814
+ unicode: "🇬🇹",
815
+ image: "https://cdn.jsdelivr.net/npm/country-flag-emoji-json@2.0.0/dist/images/GT.svg",
816
+ label: "+502"
817
+ },
818
+ {
819
+ country_label: "Guam",
820
+ code: "GU",
821
+ unicode: "🇬🇺",
822
+ image: "https://cdn.jsdelivr.net/npm/country-flag-emoji-json@2.0.0/dist/images/GU.svg",
823
+ label: "+1671"
824
+ },
825
+ {
826
+ country_label: "Guinea-Bissau",
827
+ code: "GW",
828
+ unicode: "🇬🇼",
829
+ image: "https://cdn.jsdelivr.net/npm/country-flag-emoji-json@2.0.0/dist/images/GW.svg",
830
+ label: "+245"
831
+ },
832
+ {
833
+ country_label: "Guyana",
834
+ code: "GY",
835
+ unicode: "🇬🇾",
836
+ image: "https://cdn.jsdelivr.net/npm/country-flag-emoji-json@2.0.0/dist/images/GY.svg",
837
+ label: "+595"
838
+ },
839
+ {
840
+ country_label: "Hong Kong SAR China",
841
+ code: "HK",
842
+ unicode: "🇭🇰",
843
+ image: "https://cdn.jsdelivr.net/npm/country-flag-emoji-json@2.0.0/dist/images/HK.svg",
844
+ label: "+852"
845
+ },
846
+ {
847
+ country_label: "Honduras",
848
+ code: "HN",
849
+ unicode: "🇭🇳",
850
+ image: "https://cdn.jsdelivr.net/npm/country-flag-emoji-json@2.0.0/dist/images/HN.svg",
851
+ label: "+504"
852
+ },
853
+ {
854
+ country_label: "Croatia",
855
+ code: "HR",
856
+ unicode: "🇭🇷",
857
+ image: "https://cdn.jsdelivr.net/npm/country-flag-emoji-json@2.0.0/dist/images/HR.svg",
858
+ label: "+385"
859
+ },
860
+ {
861
+ country_label: "Haiti",
862
+ code: "HT",
863
+ unicode: "🇭🇹",
864
+ image: "https://cdn.jsdelivr.net/npm/country-flag-emoji-json@2.0.0/dist/images/HT.svg",
865
+ label: "+509"
866
+ },
867
+ {
868
+ country_label: "Hungary",
869
+ code: "HU",
870
+ unicode: "🇭🇺",
871
+ image: "https://cdn.jsdelivr.net/npm/country-flag-emoji-json@2.0.0/dist/images/HU.svg",
872
+ label: "+36"
873
+ },
874
+ {
875
+ country_label: "Indonesia",
876
+ code: "ID",
877
+ unicode: "🇮🇩",
878
+ image: "https://cdn.jsdelivr.net/npm/country-flag-emoji-json@2.0.0/dist/images/ID.svg",
879
+ label: "+62"
880
+ },
881
+ {
882
+ country_label: "Ireland",
883
+ code: "IE",
884
+ unicode: "🇮🇪",
885
+ image: "https://cdn.jsdelivr.net/npm/country-flag-emoji-json@2.0.0/dist/images/IE.svg",
886
+ label: "+353"
887
+ },
888
+ {
889
+ country_label: "Israel",
890
+ code: "IL",
891
+ unicode: "🇮🇱",
892
+ image: "https://cdn.jsdelivr.net/npm/country-flag-emoji-json@2.0.0/dist/images/IL.svg",
893
+ label: "+972"
894
+ },
895
+ {
896
+ country_label: "Isle of Man",
897
+ code: "IM",
898
+ unicode: "🇮🇲",
899
+ image: "https://cdn.jsdelivr.net/npm/country-flag-emoji-json@2.0.0/dist/images/IM.svg",
900
+ label: "+44"
901
+ },
902
+ {
903
+ country_label: "India",
904
+ code: "IN",
905
+ unicode: "🇮🇳",
906
+ image: "https://cdn.jsdelivr.net/npm/country-flag-emoji-json@2.0.0/dist/images/IN.svg",
907
+ label: "+91"
908
+ },
909
+ {
910
+ country_label: "British Indian Ocean Territory",
911
+ code: "IO",
912
+ unicode: "🇮🇴",
913
+ image: "https://cdn.jsdelivr.net/npm/country-flag-emoji-json@2.0.0/dist/images/IO.svg",
914
+ label: "+246"
915
+ },
916
+ {
917
+ country_label: "Iraq",
918
+ code: "IQ",
919
+ unicode: "🇮🇶",
920
+ image: "https://cdn.jsdelivr.net/npm/country-flag-emoji-json@2.0.0/dist/images/IQ.svg",
921
+ label: "+964"
922
+ },
923
+ {
924
+ country_label: "Iran",
925
+ code: "IR",
926
+ unicode: "🇮🇷",
927
+ image: "https://cdn.jsdelivr.net/npm/country-flag-emoji-json@2.0.0/dist/images/IR.svg",
928
+ label: "+98"
929
+ },
930
+ {
931
+ country_label: "Iceland",
932
+ code: "IS",
933
+ unicode: "🇮🇸",
934
+ image: "https://cdn.jsdelivr.net/npm/country-flag-emoji-json@2.0.0/dist/images/IS.svg",
935
+ label: "+354"
936
+ },
937
+ {
938
+ country_label: "Italy",
939
+ code: "IT",
940
+ unicode: "🇮🇹",
941
+ image: "https://cdn.jsdelivr.net/npm/country-flag-emoji-json@2.0.0/dist/images/IT.svg",
942
+ label: "+39"
943
+ },
944
+ {
945
+ country_label: "Jersey",
946
+ code: "JE",
947
+ unicode: "🇯🇪",
948
+ image: "https://cdn.jsdelivr.net/npm/country-flag-emoji-json@2.0.0/dist/images/JE.svg",
949
+ label: "+44"
950
+ },
951
+ {
952
+ country_label: "Jamaica",
953
+ code: "JM",
954
+ unicode: "🇯🇲",
955
+ image: "https://cdn.jsdelivr.net/npm/country-flag-emoji-json@2.0.0/dist/images/JM.svg",
956
+ label: "+1876"
957
+ },
958
+ {
959
+ country_label: "Jordan",
960
+ code: "JO",
961
+ unicode: "🇯🇴",
962
+ image: "https://cdn.jsdelivr.net/npm/country-flag-emoji-json@2.0.0/dist/images/JO.svg",
963
+ label: "+962"
964
+ },
965
+ {
966
+ country_label: "Japan",
967
+ code: "JP",
968
+ unicode: "🇯🇵",
969
+ image: "https://cdn.jsdelivr.net/npm/country-flag-emoji-json@2.0.0/dist/images/JP.svg",
970
+ label: "+81"
971
+ },
972
+ {
973
+ country_label: "Kenya",
974
+ code: "KE",
975
+ unicode: "🇰🇪",
976
+ image: "https://cdn.jsdelivr.net/npm/country-flag-emoji-json@2.0.0/dist/images/KE.svg",
977
+ label: "+254"
978
+ },
979
+ {
980
+ country_label: "Kyrgyzstan",
981
+ code: "KG",
982
+ unicode: "🇰🇬",
983
+ image: "https://cdn.jsdelivr.net/npm/country-flag-emoji-json@2.0.0/dist/images/KG.svg",
984
+ label: "+996"
985
+ },
986
+ {
987
+ country_label: "Cambodia",
988
+ code: "KH",
989
+ unicode: "🇰🇭",
990
+ image: "https://cdn.jsdelivr.net/npm/country-flag-emoji-json@2.0.0/dist/images/KH.svg",
991
+ label: "+855"
992
+ },
993
+ {
994
+ country_label: "Kiribati",
995
+ code: "KI",
996
+ unicode: "🇰🇮",
997
+ image: "https://cdn.jsdelivr.net/npm/country-flag-emoji-json@2.0.0/dist/images/KI.svg",
998
+ label: "+686"
999
+ },
1000
+ {
1001
+ country_label: "Comoros",
1002
+ code: "KM",
1003
+ unicode: "🇰🇲",
1004
+ image: "https://cdn.jsdelivr.net/npm/country-flag-emoji-json@2.0.0/dist/images/KM.svg",
1005
+ label: "+269"
1006
+ },
1007
+ {
1008
+ country_label: "St. Kitts & Nevis",
1009
+ code: "KN",
1010
+ unicode: "🇰🇳",
1011
+ image: "https://cdn.jsdelivr.net/npm/country-flag-emoji-json@2.0.0/dist/images/KN.svg",
1012
+ label: "+1869"
1013
+ },
1014
+ {
1015
+ country_label: "North Korea",
1016
+ code: "KP",
1017
+ unicode: "🇰🇵",
1018
+ image: "https://cdn.jsdelivr.net/npm/country-flag-emoji-json@2.0.0/dist/images/KP.svg",
1019
+ label: "+850"
1020
+ },
1021
+ {
1022
+ country_label: "South Korea",
1023
+ code: "KR",
1024
+ unicode: "🇰🇷",
1025
+ image: "https://cdn.jsdelivr.net/npm/country-flag-emoji-json@2.0.0/dist/images/KR.svg",
1026
+ label: "+82"
1027
+ },
1028
+ {
1029
+ country_label: "Cayman Islands",
1030
+ code: "KY",
1031
+ unicode: "🇰🇾",
1032
+ image: "https://cdn.jsdelivr.net/npm/country-flag-emoji-json@2.0.0/dist/images/KY.svg",
1033
+ label: "+ 345"
1034
+ },
1035
+ {
1036
+ country_label: "Kazakhstan",
1037
+ code: "KZ",
1038
+ unicode: "🇰🇿",
1039
+ image: "https://cdn.jsdelivr.net/npm/country-flag-emoji-json@2.0.0/dist/images/KZ.svg",
1040
+ label: "+77"
1041
+ },
1042
+ {
1043
+ country_label: "Laos",
1044
+ code: "LA",
1045
+ unicode: "🇱🇦",
1046
+ image: "https://cdn.jsdelivr.net/npm/country-flag-emoji-json@2.0.0/dist/images/LA.svg",
1047
+ label: "+856"
1048
+ },
1049
+ {
1050
+ country_label: "Lebanon",
1051
+ code: "LB",
1052
+ unicode: "🇱🇧",
1053
+ image: "https://cdn.jsdelivr.net/npm/country-flag-emoji-json@2.0.0/dist/images/LB.svg",
1054
+ label: "+961"
1055
+ },
1056
+ {
1057
+ country_label: "St. Lucia",
1058
+ code: "LC",
1059
+ unicode: "🇱🇨",
1060
+ image: "https://cdn.jsdelivr.net/npm/country-flag-emoji-json@2.0.0/dist/images/LC.svg",
1061
+ label: "+1758"
1062
+ },
1063
+ {
1064
+ country_label: "Liechtenstein",
1065
+ code: "LI",
1066
+ unicode: "🇱🇮",
1067
+ image: "https://cdn.jsdelivr.net/npm/country-flag-emoji-json@2.0.0/dist/images/LI.svg",
1068
+ label: "+423"
1069
+ },
1070
+ {
1071
+ country_label: "Sri Lanka",
1072
+ code: "LK",
1073
+ unicode: "🇱🇰",
1074
+ image: "https://cdn.jsdelivr.net/npm/country-flag-emoji-json@2.0.0/dist/images/LK.svg",
1075
+ label: "+94"
1076
+ },
1077
+ {
1078
+ country_label: "Liberia",
1079
+ code: "LR",
1080
+ unicode: "🇱🇷",
1081
+ image: "https://cdn.jsdelivr.net/npm/country-flag-emoji-json@2.0.0/dist/images/LR.svg",
1082
+ label: "+231"
1083
+ },
1084
+ {
1085
+ country_label: "Lesotho",
1086
+ code: "LS",
1087
+ unicode: "🇱🇸",
1088
+ image: "https://cdn.jsdelivr.net/npm/country-flag-emoji-json@2.0.0/dist/images/LS.svg",
1089
+ label: "+266"
1090
+ },
1091
+ {
1092
+ country_label: "Lithuania",
1093
+ code: "LT",
1094
+ unicode: "🇱🇹",
1095
+ image: "https://cdn.jsdelivr.net/npm/country-flag-emoji-json@2.0.0/dist/images/LT.svg",
1096
+ label: "+370"
1097
+ },
1098
+ {
1099
+ country_label: "Luxembourg",
1100
+ code: "LU",
1101
+ unicode: "🇱🇺",
1102
+ image: "https://cdn.jsdelivr.net/npm/country-flag-emoji-json@2.0.0/dist/images/LU.svg",
1103
+ label: "+352"
1104
+ },
1105
+ {
1106
+ country_label: "Latvia",
1107
+ code: "LV",
1108
+ unicode: "🇱🇻",
1109
+ image: "https://cdn.jsdelivr.net/npm/country-flag-emoji-json@2.0.0/dist/images/LV.svg",
1110
+ label: "+371"
1111
+ },
1112
+ {
1113
+ country_label: "Libya",
1114
+ code: "LY",
1115
+ unicode: "🇱🇾",
1116
+ image: "https://cdn.jsdelivr.net/npm/country-flag-emoji-json@2.0.0/dist/images/LY.svg",
1117
+ label: "+218"
1118
+ },
1119
+ {
1120
+ country_label: "Morocco",
1121
+ code: "MA",
1122
+ unicode: "🇲🇦",
1123
+ image: "https://cdn.jsdelivr.net/npm/country-flag-emoji-json@2.0.0/dist/images/MA.svg",
1124
+ label: "+212"
1125
+ },
1126
+ {
1127
+ country_label: "Monaco",
1128
+ code: "MC",
1129
+ unicode: "🇲🇨",
1130
+ image: "https://cdn.jsdelivr.net/npm/country-flag-emoji-json@2.0.0/dist/images/MC.svg",
1131
+ label: "+377"
1132
+ },
1133
+ {
1134
+ country_label: "Moldova",
1135
+ code: "MD",
1136
+ unicode: "🇲🇩",
1137
+ image: "https://cdn.jsdelivr.net/npm/country-flag-emoji-json@2.0.0/dist/images/MD.svg",
1138
+ label: "+373"
1139
+ },
1140
+ {
1141
+ country_label: "Montenegro",
1142
+ code: "ME",
1143
+ unicode: "🇲🇪",
1144
+ image: "https://cdn.jsdelivr.net/npm/country-flag-emoji-json@2.0.0/dist/images/ME.svg",
1145
+ label: "+382"
1146
+ },
1147
+ {
1148
+ country_label: "St. Martin",
1149
+ code: "MF",
1150
+ unicode: "🇲🇫",
1151
+ image: "https://cdn.jsdelivr.net/npm/country-flag-emoji-json@2.0.0/dist/images/MF.svg",
1152
+ label: "+590"
1153
+ },
1154
+ {
1155
+ country_label: "Madagascar",
1156
+ code: "MG",
1157
+ unicode: "🇲🇬",
1158
+ image: "https://cdn.jsdelivr.net/npm/country-flag-emoji-json@2.0.0/dist/images/MG.svg",
1159
+ label: "+261"
1160
+ },
1161
+ {
1162
+ country_label: "Marshall Islands",
1163
+ code: "MH",
1164
+ unicode: "🇲🇭",
1165
+ image: "https://cdn.jsdelivr.net/npm/country-flag-emoji-json@2.0.0/dist/images/MH.svg",
1166
+ label: "+692"
1167
+ },
1168
+ {
1169
+ country_label: "North Macedonia",
1170
+ code: "MK",
1171
+ unicode: "🇲🇰",
1172
+ image: "https://cdn.jsdelivr.net/npm/country-flag-emoji-json@2.0.0/dist/images/MK.svg",
1173
+ label: "+389"
1174
+ },
1175
+ {
1176
+ country_label: "Mali",
1177
+ code: "ML",
1178
+ unicode: "🇲🇱",
1179
+ image: "https://cdn.jsdelivr.net/npm/country-flag-emoji-json@2.0.0/dist/images/ML.svg",
1180
+ label: "+223"
1181
+ },
1182
+ {
1183
+ country_label: "Myanmar (Burma)",
1184
+ code: "MM",
1185
+ unicode: "🇲🇲",
1186
+ image: "https://cdn.jsdelivr.net/npm/country-flag-emoji-json@2.0.0/dist/images/MM.svg",
1187
+ label: "+95"
1188
+ },
1189
+ {
1190
+ country_label: "Mongolia",
1191
+ code: "MN",
1192
+ unicode: "🇲🇳",
1193
+ image: "https://cdn.jsdelivr.net/npm/country-flag-emoji-json@2.0.0/dist/images/MN.svg",
1194
+ label: "+976"
1195
+ },
1196
+ {
1197
+ country_label: "Macao SAR China",
1198
+ code: "MO",
1199
+ unicode: "🇲🇴",
1200
+ image: "https://cdn.jsdelivr.net/npm/country-flag-emoji-json@2.0.0/dist/images/MO.svg",
1201
+ label: "+853"
1202
+ },
1203
+ {
1204
+ country_label: "Northern Mariana Islands",
1205
+ code: "MP",
1206
+ unicode: "🇲🇵",
1207
+ image: "https://cdn.jsdelivr.net/npm/country-flag-emoji-json@2.0.0/dist/images/MP.svg",
1208
+ label: "+1670"
1209
+ },
1210
+ {
1211
+ country_label: "Martinique",
1212
+ code: "MQ",
1213
+ unicode: "🇲🇶",
1214
+ image: "https://cdn.jsdelivr.net/npm/country-flag-emoji-json@2.0.0/dist/images/MQ.svg",
1215
+ label: "+596"
1216
+ },
1217
+ {
1218
+ country_label: "Mauritania",
1219
+ code: "MR",
1220
+ unicode: "🇲🇷",
1221
+ image: "https://cdn.jsdelivr.net/npm/country-flag-emoji-json@2.0.0/dist/images/MR.svg",
1222
+ label: "+222"
1223
+ },
1224
+ {
1225
+ country_label: "Montserrat",
1226
+ code: "MS",
1227
+ unicode: "🇲🇸",
1228
+ image: "https://cdn.jsdelivr.net/npm/country-flag-emoji-json@2.0.0/dist/images/MS.svg",
1229
+ label: "+1664"
1230
+ },
1231
+ {
1232
+ country_label: "Malta",
1233
+ code: "MT",
1234
+ unicode: "🇲🇹",
1235
+ image: "https://cdn.jsdelivr.net/npm/country-flag-emoji-json@2.0.0/dist/images/MT.svg",
1236
+ label: "+356"
1237
+ },
1238
+ {
1239
+ country_label: "Mauritius",
1240
+ code: "MU",
1241
+ unicode: "🇲🇺",
1242
+ image: "https://cdn.jsdelivr.net/npm/country-flag-emoji-json@2.0.0/dist/images/MU.svg",
1243
+ label: "+230"
1244
+ },
1245
+ {
1246
+ country_label: "Maldives",
1247
+ code: "MV",
1248
+ unicode: "🇲🇻",
1249
+ image: "https://cdn.jsdelivr.net/npm/country-flag-emoji-json@2.0.0/dist/images/MV.svg",
1250
+ label: "+960"
1251
+ },
1252
+ {
1253
+ country_label: "Malawi",
1254
+ code: "MW",
1255
+ unicode: "🇲🇼",
1256
+ image: "https://cdn.jsdelivr.net/npm/country-flag-emoji-json@2.0.0/dist/images/MW.svg",
1257
+ label: "+265"
1258
+ },
1259
+ {
1260
+ country_label: "Mexico",
1261
+ code: "MX",
1262
+ unicode: "🇲🇽",
1263
+ image: "https://cdn.jsdelivr.net/npm/country-flag-emoji-json@2.0.0/dist/images/MX.svg",
1264
+ label: "+52"
1265
+ },
1266
+ {
1267
+ country_label: "Malaysia",
1268
+ code: "MY",
1269
+ unicode: "🇲🇾",
1270
+ image: "https://cdn.jsdelivr.net/npm/country-flag-emoji-json@2.0.0/dist/images/MY.svg",
1271
+ label: "+60"
1272
+ },
1273
+ {
1274
+ country_label: "Mozambique",
1275
+ code: "MZ",
1276
+ unicode: "🇲🇿",
1277
+ image: "https://cdn.jsdelivr.net/npm/country-flag-emoji-json@2.0.0/dist/images/MZ.svg",
1278
+ label: "+258"
1279
+ },
1280
+ {
1281
+ country_label: "Namibia",
1282
+ code: "NA",
1283
+ unicode: "🇳🇦",
1284
+ image: "https://cdn.jsdelivr.net/npm/country-flag-emoji-json@2.0.0/dist/images/NA.svg",
1285
+ label: "+264"
1286
+ },
1287
+ {
1288
+ country_label: "New Caledonia",
1289
+ code: "NC",
1290
+ unicode: "🇳🇨",
1291
+ image: "https://cdn.jsdelivr.net/npm/country-flag-emoji-json@2.0.0/dist/images/NC.svg",
1292
+ label: "+687"
1293
+ },
1294
+ {
1295
+ country_label: "Niger",
1296
+ code: "NE",
1297
+ unicode: "🇳🇪",
1298
+ image: "https://cdn.jsdelivr.net/npm/country-flag-emoji-json@2.0.0/dist/images/NE.svg",
1299
+ label: "+227"
1300
+ },
1301
+ {
1302
+ country_label: "Norfolk Island",
1303
+ code: "NF",
1304
+ unicode: "🇳🇫",
1305
+ image: "https://cdn.jsdelivr.net/npm/country-flag-emoji-json@2.0.0/dist/images/NF.svg",
1306
+ label: "+672"
1307
+ },
1308
+ {
1309
+ country_label: "Nigeria",
1310
+ code: "NG",
1311
+ unicode: "🇳🇬",
1312
+ image: "https://cdn.jsdelivr.net/npm/country-flag-emoji-json@2.0.0/dist/images/NG.svg",
1313
+ label: "+234"
1314
+ },
1315
+ {
1316
+ country_label: "Nicaragua",
1317
+ code: "NI",
1318
+ unicode: "🇳🇮",
1319
+ image: "https://cdn.jsdelivr.net/npm/country-flag-emoji-json@2.0.0/dist/images/NI.svg",
1320
+ label: "+505"
1321
+ },
1322
+ {
1323
+ country_label: "Netherlands",
1324
+ code: "NL",
1325
+ unicode: "🇳🇱",
1326
+ image: "https://cdn.jsdelivr.net/npm/country-flag-emoji-json@2.0.0/dist/images/NL.svg",
1327
+ label: "+31"
1328
+ },
1329
+ {
1330
+ country_label: "Norway",
1331
+ code: "NO",
1332
+ unicode: "🇳🇴",
1333
+ image: "https://cdn.jsdelivr.net/npm/country-flag-emoji-json@2.0.0/dist/images/NO.svg",
1334
+ label: "+47"
1335
+ },
1336
+ {
1337
+ country_label: "Nepal",
1338
+ code: "NP",
1339
+ unicode: "🇳🇵",
1340
+ image: "https://cdn.jsdelivr.net/npm/country-flag-emoji-json@2.0.0/dist/images/NP.svg",
1341
+ label: "+977"
1342
+ },
1343
+ {
1344
+ country_label: "Nauru",
1345
+ code: "NR",
1346
+ unicode: "🇳🇷",
1347
+ image: "https://cdn.jsdelivr.net/npm/country-flag-emoji-json@2.0.0/dist/images/NR.svg",
1348
+ label: "+674"
1349
+ },
1350
+ {
1351
+ country_label: "Niue",
1352
+ code: "NU",
1353
+ unicode: "🇳🇺",
1354
+ image: "https://cdn.jsdelivr.net/npm/country-flag-emoji-json@2.0.0/dist/images/NU.svg",
1355
+ label: "+683"
1356
+ },
1357
+ {
1358
+ country_label: "New Zealand",
1359
+ code: "NZ",
1360
+ unicode: "🇳🇿",
1361
+ image: "https://cdn.jsdelivr.net/npm/country-flag-emoji-json@2.0.0/dist/images/NZ.svg",
1362
+ label: "+64"
1363
+ },
1364
+ {
1365
+ country_label: "Panama",
1366
+ code: "PA",
1367
+ unicode: "🇵🇦",
1368
+ image: "https://cdn.jsdelivr.net/npm/country-flag-emoji-json@2.0.0/dist/images/PA.svg",
1369
+ label: "+507"
1370
+ },
1371
+ {
1372
+ country_label: "Peru",
1373
+ code: "PE",
1374
+ unicode: "🇵🇪",
1375
+ image: "https://cdn.jsdelivr.net/npm/country-flag-emoji-json@2.0.0/dist/images/PE.svg",
1376
+ label: "+51"
1377
+ },
1378
+ {
1379
+ country_label: "French Polynesia",
1380
+ code: "PF",
1381
+ unicode: "🇵🇫",
1382
+ image: "https://cdn.jsdelivr.net/npm/country-flag-emoji-json@2.0.0/dist/images/PF.svg",
1383
+ label: "+689"
1384
+ },
1385
+ {
1386
+ country_label: "Papua New Guinea",
1387
+ code: "PG",
1388
+ unicode: "🇵🇬",
1389
+ image: "https://cdn.jsdelivr.net/npm/country-flag-emoji-json@2.0.0/dist/images/PG.svg",
1390
+ label: "+675"
1391
+ },
1392
+ {
1393
+ country_label: "Philippines",
1394
+ code: "PH",
1395
+ unicode: "🇵🇭",
1396
+ image: "https://cdn.jsdelivr.net/npm/country-flag-emoji-json@2.0.0/dist/images/PH.svg",
1397
+ label: "+63"
1398
+ },
1399
+ {
1400
+ country_label: "Pakistan",
1401
+ code: "PK",
1402
+ unicode: "🇵🇰",
1403
+ image: "https://cdn.jsdelivr.net/npm/country-flag-emoji-json@2.0.0/dist/images/PK.svg",
1404
+ label: "+92"
1405
+ },
1406
+ {
1407
+ country_label: "Poland",
1408
+ code: "PL",
1409
+ unicode: "🇵🇱",
1410
+ image: "https://cdn.jsdelivr.net/npm/country-flag-emoji-json@2.0.0/dist/images/PL.svg",
1411
+ label: "+48"
1412
+ },
1413
+ {
1414
+ country_label: "St. Pierre & Miquelon",
1415
+ code: "PM",
1416
+ unicode: "🇵🇲",
1417
+ image: "https://cdn.jsdelivr.net/npm/country-flag-emoji-json@2.0.0/dist/images/PM.svg",
1418
+ label: "+508"
1419
+ },
1420
+ {
1421
+ country_label: "Pitcairn Islands",
1422
+ code: "PN",
1423
+ unicode: "🇵🇳",
1424
+ image: "https://cdn.jsdelivr.net/npm/country-flag-emoji-json@2.0.0/dist/images/PN.svg",
1425
+ label: "+872"
1426
+ },
1427
+ {
1428
+ country_label: "Puerto Rico",
1429
+ code: "PR",
1430
+ unicode: "🇵🇷",
1431
+ image: "https://cdn.jsdelivr.net/npm/country-flag-emoji-json@2.0.0/dist/images/PR.svg",
1432
+ label: "+1939"
1433
+ },
1434
+ {
1435
+ country_label: "Palestinian Territories",
1436
+ code: "PS",
1437
+ unicode: "🇵🇸",
1438
+ image: "https://cdn.jsdelivr.net/npm/country-flag-emoji-json@2.0.0/dist/images/PS.svg",
1439
+ label: "+970"
1440
+ },
1441
+ {
1442
+ country_label: "Portugal",
1443
+ code: "PT",
1444
+ unicode: "🇵🇹",
1445
+ image: "https://cdn.jsdelivr.net/npm/country-flag-emoji-json@2.0.0/dist/images/PT.svg",
1446
+ label: "+351"
1447
+ },
1448
+ {
1449
+ country_label: "Palau",
1450
+ code: "PW",
1451
+ unicode: "🇵🇼",
1452
+ image: "https://cdn.jsdelivr.net/npm/country-flag-emoji-json@2.0.0/dist/images/PW.svg",
1453
+ label: "+680"
1454
+ },
1455
+ {
1456
+ country_label: "Paraguay",
1457
+ code: "PY",
1458
+ unicode: "🇵🇾",
1459
+ image: "https://cdn.jsdelivr.net/npm/country-flag-emoji-json@2.0.0/dist/images/PY.svg",
1460
+ label: "+595"
1461
+ },
1462
+ {
1463
+ country_label: "R\xE9union",
1464
+ code: "RE",
1465
+ unicode: "🇷🇪",
1466
+ image: "https://cdn.jsdelivr.net/npm/country-flag-emoji-json@2.0.0/dist/images/RE.svg",
1467
+ label: "+262"
1468
+ },
1469
+ {
1470
+ country_label: "Romania",
1471
+ code: "RO",
1472
+ unicode: "🇷🇴",
1473
+ image: "https://cdn.jsdelivr.net/npm/country-flag-emoji-json@2.0.0/dist/images/RO.svg",
1474
+ label: "+40"
1475
+ },
1476
+ {
1477
+ country_label: "Serbia",
1478
+ code: "RS",
1479
+ unicode: "🇷🇸",
1480
+ image: "https://cdn.jsdelivr.net/npm/country-flag-emoji-json@2.0.0/dist/images/RS.svg",
1481
+ label: "+381"
1482
+ },
1483
+ {
1484
+ country_label: "Russia",
1485
+ code: "RU",
1486
+ unicode: "🇷🇺",
1487
+ image: "https://cdn.jsdelivr.net/npm/country-flag-emoji-json@2.0.0/dist/images/RU.svg",
1488
+ label: "+7"
1489
+ },
1490
+ {
1491
+ country_label: "Rwanda",
1492
+ code: "RW",
1493
+ unicode: "🇷🇼",
1494
+ image: "https://cdn.jsdelivr.net/npm/country-flag-emoji-json@2.0.0/dist/images/RW.svg",
1495
+ label: "+250"
1496
+ },
1497
+ {
1498
+ country_label: "Solomon Islands",
1499
+ code: "SB",
1500
+ unicode: "🇸🇧",
1501
+ image: "https://cdn.jsdelivr.net/npm/country-flag-emoji-json@2.0.0/dist/images/SB.svg",
1502
+ label: "+677"
1503
+ },
1504
+ {
1505
+ country_label: "Seychelles",
1506
+ code: "SC",
1507
+ unicode: "🇸🇨",
1508
+ image: "https://cdn.jsdelivr.net/npm/country-flag-emoji-json@2.0.0/dist/images/SC.svg",
1509
+ label: "+248"
1510
+ },
1511
+ {
1512
+ country_label: "Sudan",
1513
+ code: "SD",
1514
+ unicode: "🇸🇩",
1515
+ image: "https://cdn.jsdelivr.net/npm/country-flag-emoji-json@2.0.0/dist/images/SD.svg",
1516
+ label: "+249"
1517
+ },
1518
+ {
1519
+ country_label: "Sweden",
1520
+ code: "SE",
1521
+ unicode: "🇸🇪",
1522
+ image: "https://cdn.jsdelivr.net/npm/country-flag-emoji-json@2.0.0/dist/images/SE.svg",
1523
+ label: "+46"
1524
+ },
1525
+ {
1526
+ country_label: "Singapore",
1527
+ code: "SG",
1528
+ unicode: "🇸🇬",
1529
+ image: "https://cdn.jsdelivr.net/npm/country-flag-emoji-json@2.0.0/dist/images/SG.svg",
1530
+ label: "+65"
1531
+ },
1532
+ {
1533
+ country_label: "St. Helena",
1534
+ code: "SH",
1535
+ unicode: "🇸🇭",
1536
+ image: "https://cdn.jsdelivr.net/npm/country-flag-emoji-json@2.0.0/dist/images/SH.svg",
1537
+ label: "+290"
1538
+ },
1539
+ {
1540
+ country_label: "Slovenia",
1541
+ code: "SI",
1542
+ unicode: "🇸🇮",
1543
+ image: "https://cdn.jsdelivr.net/npm/country-flag-emoji-json@2.0.0/dist/images/SI.svg",
1544
+ label: "+386"
1545
+ },
1546
+ {
1547
+ country_label: "Svalbard & Jan Mayen",
1548
+ code: "SJ",
1549
+ unicode: "🇸🇯",
1550
+ image: "https://cdn.jsdelivr.net/npm/country-flag-emoji-json@2.0.0/dist/images/SJ.svg",
1551
+ label: "+47"
1552
+ },
1553
+ {
1554
+ country_label: "Slovakia",
1555
+ code: "SK",
1556
+ unicode: "🇸🇰",
1557
+ image: "https://cdn.jsdelivr.net/npm/country-flag-emoji-json@2.0.0/dist/images/SK.svg",
1558
+ label: "+421"
1559
+ },
1560
+ {
1561
+ country_label: "Sierra Leone",
1562
+ code: "SL",
1563
+ unicode: "🇸🇱",
1564
+ image: "https://cdn.jsdelivr.net/npm/country-flag-emoji-json@2.0.0/dist/images/SL.svg",
1565
+ label: "+232"
1566
+ },
1567
+ {
1568
+ country_label: "San Marino",
1569
+ code: "SM",
1570
+ unicode: "🇸🇲",
1571
+ image: "https://cdn.jsdelivr.net/npm/country-flag-emoji-json@2.0.0/dist/images/SM.svg",
1572
+ label: "+378"
1573
+ },
1574
+ {
1575
+ country_label: "Senegal",
1576
+ code: "SN",
1577
+ unicode: "🇸🇳",
1578
+ image: "https://cdn.jsdelivr.net/npm/country-flag-emoji-json@2.0.0/dist/images/SN.svg",
1579
+ label: "+221"
1580
+ },
1581
+ {
1582
+ country_label: "Somalia",
1583
+ code: "SO",
1584
+ unicode: "🇸🇴",
1585
+ image: "https://cdn.jsdelivr.net/npm/country-flag-emoji-json@2.0.0/dist/images/SO.svg",
1586
+ label: "+252"
1587
+ },
1588
+ {
1589
+ country_label: "Suriname",
1590
+ code: "SR",
1591
+ unicode: "🇸🇷",
1592
+ image: "https://cdn.jsdelivr.net/npm/country-flag-emoji-json@2.0.0/dist/images/SR.svg",
1593
+ label: "+597"
1594
+ },
1595
+ {
1596
+ country_label: "South Sudan",
1597
+ code: "SS",
1598
+ unicode: "🇸🇸",
1599
+ image: "https://cdn.jsdelivr.net/npm/country-flag-emoji-json@2.0.0/dist/images/SS.svg",
1600
+ label: "+211"
1601
+ },
1602
+ {
1603
+ country_label: "S\xE3o Tom\xE9 & Pr\xEDncipe",
1604
+ code: "ST",
1605
+ unicode: "🇸🇹",
1606
+ image: "https://cdn.jsdelivr.net/npm/country-flag-emoji-json@2.0.0/dist/images/ST.svg",
1607
+ label: "+239"
1608
+ },
1609
+ {
1610
+ country_label: "El Salvador",
1611
+ code: "SV",
1612
+ unicode: "🇸🇻",
1613
+ image: "https://cdn.jsdelivr.net/npm/country-flag-emoji-json@2.0.0/dist/images/SV.svg",
1614
+ label: "+503"
1615
+ },
1616
+ {
1617
+ country_label: "Syria",
1618
+ code: "SY",
1619
+ unicode: "🇸🇾",
1620
+ image: "https://cdn.jsdelivr.net/npm/country-flag-emoji-json@2.0.0/dist/images/SY.svg",
1621
+ label: "+963"
1622
+ },
1623
+ {
1624
+ country_label: "Eswatini",
1625
+ code: "SZ",
1626
+ unicode: "🇸🇿",
1627
+ image: "https://cdn.jsdelivr.net/npm/country-flag-emoji-json@2.0.0/dist/images/SZ.svg",
1628
+ label: "+268"
1629
+ },
1630
+ {
1631
+ country_label: "Turks & Caicos Islands",
1632
+ code: "TC",
1633
+ unicode: "🇹🇨",
1634
+ image: "https://cdn.jsdelivr.net/npm/country-flag-emoji-json@2.0.0/dist/images/TC.svg",
1635
+ label: "+1649"
1636
+ },
1637
+ {
1638
+ country_label: "Chad",
1639
+ code: "TD",
1640
+ unicode: "🇹🇩",
1641
+ image: "https://cdn.jsdelivr.net/npm/country-flag-emoji-json@2.0.0/dist/images/TD.svg",
1642
+ label: "+235"
1643
+ },
1644
+ {
1645
+ country_label: "Togo",
1646
+ code: "TG",
1647
+ unicode: "🇹🇬",
1648
+ image: "https://cdn.jsdelivr.net/npm/country-flag-emoji-json@2.0.0/dist/images/TG.svg",
1649
+ label: "+228"
1650
+ },
1651
+ {
1652
+ country_label: "Thailand",
1653
+ code: "TH",
1654
+ unicode: "🇹🇭",
1655
+ image: "https://cdn.jsdelivr.net/npm/country-flag-emoji-json@2.0.0/dist/images/TH.svg",
1656
+ label: "+66"
1657
+ },
1658
+ {
1659
+ country_label: "Tajikistan",
1660
+ code: "TJ",
1661
+ unicode: "🇹🇯",
1662
+ image: "https://cdn.jsdelivr.net/npm/country-flag-emoji-json@2.0.0/dist/images/TJ.svg",
1663
+ label: "+992"
1664
+ },
1665
+ {
1666
+ country_label: "Tokelau",
1667
+ code: "TK",
1668
+ unicode: "🇹🇰",
1669
+ image: "https://cdn.jsdelivr.net/npm/country-flag-emoji-json@2.0.0/dist/images/TK.svg",
1670
+ label: "+690"
1671
+ },
1672
+ {
1673
+ country_label: "Timor-Leste",
1674
+ code: "TL",
1675
+ unicode: "🇹🇱",
1676
+ image: "https://cdn.jsdelivr.net/npm/country-flag-emoji-json@2.0.0/dist/images/TL.svg",
1677
+ label: "+670"
1678
+ },
1679
+ {
1680
+ country_label: "Turkmenistan",
1681
+ code: "TM",
1682
+ unicode: "🇹🇲",
1683
+ image: "https://cdn.jsdelivr.net/npm/country-flag-emoji-json@2.0.0/dist/images/TM.svg",
1684
+ label: "+993"
1685
+ },
1686
+ {
1687
+ country_label: "Tunisia",
1688
+ code: "TN",
1689
+ unicode: "🇹🇳",
1690
+ image: "https://cdn.jsdelivr.net/npm/country-flag-emoji-json@2.0.0/dist/images/TN.svg",
1691
+ label: "+216"
1692
+ },
1693
+ {
1694
+ country_label: "Tonga",
1695
+ code: "TO",
1696
+ unicode: "🇹🇴",
1697
+ image: "https://cdn.jsdelivr.net/npm/country-flag-emoji-json@2.0.0/dist/images/TO.svg",
1698
+ label: "+676"
1699
+ },
1700
+ {
1701
+ country_label: "Turkey",
1702
+ code: "TR",
1703
+ unicode: "🇹🇷",
1704
+ image: "https://cdn.jsdelivr.net/npm/country-flag-emoji-json@2.0.0/dist/images/TR.svg",
1705
+ label: "+90"
1706
+ },
1707
+ {
1708
+ country_label: "Trinidad & Tobago",
1709
+ code: "TT",
1710
+ unicode: "🇹🇹",
1711
+ image: "https://cdn.jsdelivr.net/npm/country-flag-emoji-json@2.0.0/dist/images/TT.svg",
1712
+ label: "+1868"
1713
+ },
1714
+ {
1715
+ country_label: "Tuvalu",
1716
+ code: "TV",
1717
+ unicode: "🇹🇻",
1718
+ image: "https://cdn.jsdelivr.net/npm/country-flag-emoji-json@2.0.0/dist/images/TV.svg",
1719
+ label: "+688"
1720
+ },
1721
+ {
1722
+ country_label: "Taiwan",
1723
+ code: "TW",
1724
+ unicode: "🇹🇼",
1725
+ image: "https://cdn.jsdelivr.net/npm/country-flag-emoji-json@2.0.0/dist/images/TW.svg",
1726
+ label: "+886"
1727
+ },
1728
+ {
1729
+ country_label: "Tanzania",
1730
+ code: "TZ",
1731
+ unicode: "🇹🇿",
1732
+ image: "https://cdn.jsdelivr.net/npm/country-flag-emoji-json@2.0.0/dist/images/TZ.svg",
1733
+ label: "+255"
1734
+ },
1735
+ {
1736
+ country_label: "Ukraine",
1737
+ code: "UA",
1738
+ unicode: "🇺🇦",
1739
+ image: "https://cdn.jsdelivr.net/npm/country-flag-emoji-json@2.0.0/dist/images/UA.svg",
1740
+ label: "+380"
1741
+ },
1742
+ {
1743
+ country_label: "Uganda",
1744
+ code: "UG",
1745
+ unicode: "🇺🇬",
1746
+ image: "https://cdn.jsdelivr.net/npm/country-flag-emoji-json@2.0.0/dist/images/UG.svg",
1747
+ label: "+256"
1748
+ },
1749
+ {
1750
+ country_label: "United States",
1751
+ code: "US",
1752
+ unicode: "🇺🇸",
1753
+ image: "https://cdn.jsdelivr.net/npm/country-flag-emoji-json@2.0.0/dist/images/US.svg",
1754
+ label: "+1"
1755
+ },
1756
+ {
1757
+ country_label: "Uruguay",
1758
+ code: "UY",
1759
+ unicode: "🇺🇾",
1760
+ image: "https://cdn.jsdelivr.net/npm/country-flag-emoji-json@2.0.0/dist/images/UY.svg",
1761
+ label: "+598"
1762
+ },
1763
+ {
1764
+ country_label: "Uzbekistan",
1765
+ code: "UZ",
1766
+ unicode: "🇺🇿",
1767
+ image: "https://cdn.jsdelivr.net/npm/country-flag-emoji-json@2.0.0/dist/images/UZ.svg",
1768
+ label: "+998"
1769
+ },
1770
+ {
1771
+ country_label: "Vatican City",
1772
+ code: "VA",
1773
+ unicode: "🇻🇦",
1774
+ image: "https://cdn.jsdelivr.net/npm/country-flag-emoji-json@2.0.0/dist/images/VA.svg",
1775
+ label: "+379"
1776
+ },
1777
+ {
1778
+ country_label: "St. Vincent & Grenadines",
1779
+ code: "VC",
1780
+ unicode: "🇻🇨",
1781
+ image: "https://cdn.jsdelivr.net/npm/country-flag-emoji-json@2.0.0/dist/images/VC.svg",
1782
+ label: "+1784"
1783
+ },
1784
+ {
1785
+ country_label: "Venezuela",
1786
+ code: "VE",
1787
+ unicode: "🇻🇪",
1788
+ image: "https://cdn.jsdelivr.net/npm/country-flag-emoji-json@2.0.0/dist/images/VE.svg",
1789
+ label: "+58"
1790
+ },
1791
+ {
1792
+ country_label: "British Virgin Islands",
1793
+ code: "VG",
1794
+ unicode: "🇻🇬",
1795
+ image: "https://cdn.jsdelivr.net/npm/country-flag-emoji-json@2.0.0/dist/images/VG.svg",
1796
+ label: "+1284"
1797
+ },
1798
+ {
1799
+ country_label: "U.S. Virgin Islands",
1800
+ code: "VI",
1801
+ unicode: "🇻🇮",
1802
+ image: "https://cdn.jsdelivr.net/npm/country-flag-emoji-json@2.0.0/dist/images/VI.svg",
1803
+ label: "+1340"
1804
+ },
1805
+ {
1806
+ country_label: "Vietnam",
1807
+ code: "VN",
1808
+ unicode: "🇻🇳",
1809
+ image: "https://cdn.jsdelivr.net/npm/country-flag-emoji-json@2.0.0/dist/images/VN.svg",
1810
+ label: "+84"
1811
+ },
1812
+ {
1813
+ country_label: "Vanuatu",
1814
+ code: "VU",
1815
+ unicode: "🇻🇺",
1816
+ image: "https://cdn.jsdelivr.net/npm/country-flag-emoji-json@2.0.0/dist/images/VU.svg",
1817
+ label: "+678"
1818
+ },
1819
+ {
1820
+ country_label: "Wallis & Futuna",
1821
+ code: "WF",
1822
+ unicode: "🇼🇫",
1823
+ image: "https://cdn.jsdelivr.net/npm/country-flag-emoji-json@2.0.0/dist/images/WF.svg",
1824
+ label: "+681"
1825
+ },
1826
+ {
1827
+ country_label: "Samoa",
1828
+ code: "WS",
1829
+ unicode: "🇼🇸",
1830
+ image: "https://cdn.jsdelivr.net/npm/country-flag-emoji-json@2.0.0/dist/images/WS.svg",
1831
+ label: "+685"
1832
+ },
1833
+ {
1834
+ country_label: "Yemen",
1835
+ code: "YE",
1836
+ unicode: "🇾🇪",
1837
+ image: "https://cdn.jsdelivr.net/npm/country-flag-emoji-json@2.0.0/dist/images/YE.svg",
1838
+ label: "+967"
1839
+ },
1840
+ {
1841
+ country_label: "Mayotte",
1842
+ code: "YT",
1843
+ unicode: "🇾🇹",
1844
+ image: "https://cdn.jsdelivr.net/npm/country-flag-emoji-json@2.0.0/dist/images/YT.svg",
1845
+ label: "+262"
1846
+ },
1847
+ {
1848
+ country_label: "South Africa",
1849
+ code: "ZA",
1850
+ unicode: "🇿🇦",
1851
+ image: "https://cdn.jsdelivr.net/npm/country-flag-emoji-json@2.0.0/dist/images/ZA.svg",
1852
+ label: "+27"
1853
+ },
1854
+ {
1855
+ country_label: "Zambia",
1856
+ code: "ZM",
1857
+ unicode: "🇿🇲",
1858
+ image: "https://cdn.jsdelivr.net/npm/country-flag-emoji-json@2.0.0/dist/images/ZM.svg",
1859
+ label: "+260"
1860
+ },
1861
+ {
1862
+ country_label: "Zimbabwe",
1863
+ code: "ZW",
1864
+ unicode: "🇿🇼",
1865
+ image: "https://cdn.jsdelivr.net/npm/country-flag-emoji-json@2.0.0/dist/images/ZW.svg",
1866
+ label: "+263"
1867
+ }
1868
+ ];
1869
+ var countries_default = countries;
1870
+
1871
+ // components/elements/phoneInput/PhoneInput.tsx
1872
+ var PhoneInput = ({ labelProps, ...props }) => {
1873
+ const [phoneNumber, setPhoneNumber] = useState2("");
1874
+ const [countryCode, setCountryCode] = useState2(props.preferredCountry);
1875
+ const inputRef = useRef2(null);
1876
+ useEffect2(() => {
1877
+ var _a;
1878
+ if (inputRef.current) {
1879
+ (_a = inputRef.current) == null ? void 0 : _a.focus();
1880
+ }
1881
+ }, []);
1882
+ const handleInputChange = (e) => {
1883
+ const validChars = /^[0-9-()]+$/;
1884
+ const input = e.target.value;
1885
+ if (input === "" || validChars.test(input)) {
1886
+ setPhoneNumber(input);
1887
+ }
1888
+ if (props.handleChange) {
1889
+ props.handleChange(`${countryCode == null ? void 0 : countryCode.label}-${e.target.value}`);
1890
+ } else {
1891
+ console.log("handleChange prop was not provided in <PhoneInput/>");
1892
+ }
1893
+ };
1894
+ return /* @__PURE__ */ React2.createElement("div", { className: "hawa-flex hawa-h-fit hawa-w-full hawa-flex-col hawa-gap-2" }, props.label && /* @__PURE__ */ React2.createElement(Label, { ...labelProps }, props.label), /* @__PURE__ */ React2.createElement("div", { dir: "ltr", className: "hawa-flex hawa-w-full hawa-flex-row" }, /* @__PURE__ */ React2.createElement(
1895
+ Select,
1896
+ {
1897
+ width: "fit",
1898
+ hideHelperText: true,
1899
+ phoneCode: true,
1900
+ hideIndicator: true,
1901
+ placeholder: "Code",
1902
+ options: countries_default,
1903
+ isMulti: false,
1904
+ isSearchable: true,
1905
+ isClearable: false,
1906
+ defaultValue: props.preferredCountry,
1907
+ value: countryCode == null ? void 0 : countryCode.label,
1908
+ onChange: setCountryCode
1909
+ }
1910
+ ), /* @__PURE__ */ React2.createElement("div", { className: "hawa-relative hawa-flex hawa-h-fit hawa-w-full hawa-flex-col hawa-justify-center hawa-gap-0" }, /* @__PURE__ */ React2.createElement(
1911
+ "input",
1912
+ {
1913
+ ref: inputRef,
1914
+ id: "phone-number",
1915
+ className: cn(
1916
+ "hawa-block hawa-h-[40px] hawa-w-full hawa-rounded hawa-rounded-l-none hawa-border hawa-border-l-0 hawa-border-l-transparent hawa-bg-background hawa-p-2 hawa-text-sm hawa-transition-all"
1917
+ ),
1918
+ onChange: handleInputChange,
1919
+ value: phoneNumber,
1920
+ type: "tel",
1921
+ placeholder: "531045453"
1922
+ }
1923
+ ))), /* @__PURE__ */ React2.createElement(
1924
+ "p",
1925
+ {
1926
+ className: cn(
1927
+ "hawa-my-0 hawa-text-start hawa-text-xs hawa-text-helper-color hawa-transition-all",
1928
+ props.helperText ? "hawa-h-4 hawa-opacity-100" : "hawa-h-0 hawa-opacity-0"
1929
+ )
1930
+ },
1931
+ props.helperText
1932
+ ));
1933
+ };
1934
+
1935
+ // components/blocks/auth/AuthButtons.tsx
1936
+ import React4 from "react";
1937
+
1938
+ // components/elements/logos/Logos.tsx
1939
+ import React3 from "react";
1940
+ var Logos = {
1941
+ hawa: (props) => /* @__PURE__ */ React3.createElement(
1942
+ "svg",
1943
+ {
1944
+ xmlns: "http://www.w3.org/2000/svg",
1945
+ xmlSpace: "preserve",
1946
+ viewBox: "0 0 765 765",
1947
+ ...props
1948
+ },
1949
+ /* @__PURE__ */ React3.createElement(
1950
+ "path",
1951
+ {
1952
+ d: "M382.5 0C171.6 0 0 171.6 0 382.5V765h382.5C593.4 765 765 593.4 765 382.5S593.4 0 382.5 0zM281.6 305.7c98 0 177.7 79.7 177.7 177.7 0 98-79.7 177.7-177.7 177.7s-177.7-79.7-177.7-177.7c0-98 79.7-177.7 177.7-177.7zm246 314.5c23.2-41.6 35.6-88.7 35.6-136.7 0-155.3-126.3-281.6-281.6-281.6-48 0-95.1 12.4-136.8 35.6C194.9 156 285 104 382.5 104c153.6 0 278.6 125 278.6 278.6 0 97.3-52 187.5-133.5 237.6z",
1953
+ fill: "currentColor"
1954
+ }
1955
+ )
1956
+ ),
1957
+ sikka: (props) => /* @__PURE__ */ React3.createElement(
1958
+ "svg",
1959
+ {
1960
+ xmlns: "http://www.w3.org/2000/svg",
1961
+ xmlnsXlink: "http://www.w3.org/1999/xlink",
1962
+ xmlSpace: "preserve",
1963
+ viewBox: "0 0 916.5 765",
1964
+ fill: "currentColor",
1965
+ ...props
1966
+ },
1967
+ /* @__PURE__ */ React3.createElement("defs", null, /* @__PURE__ */ React3.createElement("path", { id: "a", d: "M0 0h916.5v765H0z" })),
1968
+ /* @__PURE__ */ React3.createElement("clipPath", { id: "b" }, /* @__PURE__ */ React3.createElement("use", { xlinkHref: "#a", overflow: "visible" })),
1969
+ /* @__PURE__ */ React3.createElement("g", { clipPath: "url(#b)" }, /* @__PURE__ */ React3.createElement("defs", null, /* @__PURE__ */ React3.createElement("path", { id: "c", d: "M0 0h916.5v765H0z" })), /* @__PURE__ */ React3.createElement("clipPath", { id: "d" }, /* @__PURE__ */ React3.createElement("use", { xlinkHref: "#c", overflow: "visible" })), /* @__PURE__ */ React3.createElement("g", { clipPath: "url(#d)" }, /* @__PURE__ */ React3.createElement("path", { d: "M458.3 0h-31.9c-14.6 0-26.5 11.9-26.5 26.3v313.3L136.6 17.1C126 3.9 120.7 0 106.1 0H9.7C.5 0 0 7.9 0 17.1 0 21 1.3 26.3 4 29l288.7 353.6L4 736.1c-2.7 2.7-4 7.9-4 11.8 0 9.2.4 17.1 9.7 17.1h96.4c14.6 0 19.9-3.9 30.5-17.1l263.3-322.5v313.3c0 14.4 11.9 26.3 26.5 26.3h31.9M458.3 765h31.9c14.6 0 26.5-11.8 26.5-26.3V425.5L780 748c10.7 13.2 15.9 17.1 30.5 17.1h96.4c9.2 0 9.7-7.9 9.7-17.1 0-3.9-1.3-9.2-4-11.8L623.8 382.5 912.5 28.9c2.7-2.7 4-7.9 4-11.9 0-9.2-.5-17.1-9.7-17.1h-96.4c-14.6 0-19.9 3.9-30.5 17.1L516.7 339.5V26.3c0-14.4-11.9-26.3-26.5-26.3h-31.9" })))
1970
+ ),
1971
+ mail: (props) => /* @__PURE__ */ React3.createElement(
1972
+ "svg",
1973
+ {
1974
+ stroke: "currentColor",
1975
+ fill: "none",
1976
+ strokeWidth: "2",
1977
+ viewBox: "0 0 24 24",
1978
+ strokeLinecap: "round",
1979
+ strokeLinejoin: "round",
1980
+ xmlns: "http://www.w3.org/2000/svg",
1981
+ ...props
1982
+ },
1983
+ /* @__PURE__ */ React3.createElement("path", { d: "M4 4h16c1.1 0 2 .9 2 2v12c0 1.1-.9 2-2 2H4c-1.1 0-2-.9-2-2V6c0-1.1.9-2 2-2z" }),
1984
+ /* @__PURE__ */ React3.createElement("polyline", { points: "22,6 12,13 2,6" })
1985
+ ),
1986
+ phone: (props) => /* @__PURE__ */ React3.createElement(
1987
+ "svg",
1988
+ {
1989
+ stroke: "currentColor",
1990
+ fill: "none",
1991
+ strokeWidth: "2",
1992
+ viewBox: "0 0 24 24",
1993
+ "aria-hidden": "true",
1994
+ xmlns: "http://www.w3.org/2000/svg",
1995
+ ...props
1996
+ },
1997
+ /* @__PURE__ */ React3.createElement(
1998
+ "path",
1999
+ {
2000
+ strokeLinecap: "round",
2001
+ strokeLinejoin: "round",
2002
+ d: "M10.5 1.5H8.25A2.25 2.25 0 006 3.75v16.5a2.25 2.25 0 002.25 2.25h7.5A2.25 2.25 0 0018 20.25V3.75a2.25 2.25 0 00-2.25-2.25H13.5m-3 0V3h3V1.5m-3 0h3m-3 18.75h3"
2003
+ }
2004
+ )
2005
+ ),
2006
+ twitter: (props) => /* @__PURE__ */ React3.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 24 24", ...props }, /* @__PURE__ */ React3.createElement(
2007
+ "path",
2008
+ {
2009
+ fill: "currentColor",
2010
+ d: "M21.543 7.104c.015.211.015.423.015.636 0 6.507-4.954 14.01-14.01 14.01v-.003A13.94 13.94 0 0 1 0 19.539a9.88 9.88 0 0 0 7.287-2.041 4.93 4.93 0 0 1-4.6-3.42 4.916 4.916 0 0 0 2.223-.084A4.926 4.926 0 0 1 .96 9.167v-.062a4.887 4.887 0 0 0 2.235.616A4.928 4.928 0 0 1 1.67 3.148a13.98 13.98 0 0 0 10.15 5.144 4.929 4.929 0 0 1 8.39-4.49 9.868 9.868 0 0 0 3.128-1.196 4.941 4.941 0 0 1-2.165 2.724A9.828 9.828 0 0 0 24 4.555a10.019 10.019 0 0 1-2.457 2.549z"
2011
+ }
2012
+ )),
2013
+ instagram: (props) => /* @__PURE__ */ React3.createElement(
2014
+ "svg",
2015
+ {
2016
+ xmlns: "http://www.w3.org/2000/svg",
2017
+ fill: "currentColor",
2018
+ viewBox: "0 0 16 16",
2019
+ ...props
2020
+ },
2021
+ /* @__PURE__ */ React3.createElement("path", { d: "M8 0C5.829 0 5.556.01 4.703.048 3.85.088 3.269.222 2.76.42a3.917 3.917 0 0 0-1.417.923A3.927 3.927 0 0 0 .42 2.76C.222 3.268.087 3.85.048 4.7.01 5.555 0 5.827 0 8.001c0 2.172.01 2.444.048 3.297.04.852.174 1.433.372 1.942.205.526.478.972.923 1.417.444.445.89.719 1.416.923.51.198 1.09.333 1.942.372C5.555 15.99 5.827 16 8 16s2.444-.01 3.298-.048c.851-.04 1.434-.174 1.943-.372a3.916 3.916 0 0 0 1.416-.923c.445-.445.718-.891.923-1.417.197-.509.332-1.09.372-1.942C15.99 10.445 16 10.173 16 8s-.01-2.445-.048-3.299c-.04-.851-.175-1.433-.372-1.941a3.926 3.926 0 0 0-.923-1.417A3.911 3.911 0 0 0 13.24.42c-.51-.198-1.092-.333-1.943-.372C10.443.01 10.172 0 7.998 0h.003zm-.717 1.442h.718c2.136 0 2.389.007 3.232.046.78.035 1.204.166 1.486.275.373.145.64.319.92.599.28.28.453.546.598.92.11.281.24.705.275 1.485.039.843.047 1.096.047 3.231s-.008 2.389-.047 3.232c-.035.78-.166 1.203-.275 1.485a2.47 2.47 0 0 1-.599.919c-.28.28-.546.453-.92.598-.28.11-.704.24-1.485.276-.843.038-1.096.047-3.232.047s-2.39-.009-3.233-.047c-.78-.036-1.203-.166-1.485-.276a2.478 2.478 0 0 1-.92-.598 2.48 2.48 0 0 1-.6-.92c-.109-.281-.24-.705-.275-1.485-.038-.843-.046-1.096-.046-3.233 0-2.136.008-2.388.046-3.231.036-.78.166-1.204.276-1.486.145-.373.319-.64.599-.92.28-.28.546-.453.92-.598.282-.11.705-.24 1.485-.276.738-.034 1.024-.044 2.515-.045v.002zm4.988 1.328a.96.96 0 1 0 0 1.92.96.96 0 0 0 0-1.92zm-4.27 1.122a4.109 4.109 0 1 0 0 8.217 4.109 4.109 0 0 0 0-8.217zm0 1.441a2.667 2.667 0 1 1 0 5.334 2.667 2.667 0 0 1 0-5.334z" })
2022
+ ),
2023
+ microsoft: (props) => /* @__PURE__ */ React3.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 20 20", ...props }, /* @__PURE__ */ React3.createElement(
2024
+ "path",
2025
+ {
2026
+ fill: "currentColor",
2027
+ d: "M7.462 0H0v7.19h7.462V0zM16 0H8.538v7.19H16V0zM7.462 8.211H0V16h7.462V8.211zm8.538 0H8.538V16H16V8.211z"
2028
+ }
2029
+ )),
2030
+ github: (props) => /* @__PURE__ */ React3.createElement(
2031
+ "svg",
2032
+ {
2033
+ xmlns: "http://www.w3.org/2000/svg",
2034
+ viewBox: "0 0 438.549 438.549",
2035
+ ...props
2036
+ },
2037
+ /* @__PURE__ */ React3.createElement(
2038
+ "path",
2039
+ {
2040
+ fill: "currentColor",
2041
+ d: "M409.132 114.573c-19.608-33.596-46.205-60.194-79.798-79.8-33.598-19.607-70.277-29.408-110.063-29.408-39.781 0-76.472 9.804-110.063 29.408-33.596 19.605-60.192 46.204-79.8 79.8C9.803 148.168 0 184.854 0 224.63c0 47.78 13.94 90.745 41.827 128.906 27.884 38.164 63.906 64.572 108.063 79.227 5.14.954 8.945.283 11.419-1.996 2.475-2.282 3.711-5.14 3.711-8.562 0-.571-.049-5.708-.144-15.417a2549.81 2549.81 0 01-.144-25.406l-6.567 1.136c-4.187.767-9.469 1.092-15.846 1-6.374-.089-12.991-.757-19.842-1.999-6.854-1.231-13.229-4.086-19.13-8.559-5.898-4.473-10.085-10.328-12.56-17.556l-2.855-6.57c-1.903-4.374-4.899-9.233-8.992-14.559-4.093-5.331-8.232-8.945-12.419-10.848l-1.999-1.431c-1.332-.951-2.568-2.098-3.711-3.429-1.142-1.331-1.997-2.663-2.568-3.997-.572-1.335-.098-2.43 1.427-3.289 1.525-.859 4.281-1.276 8.28-1.276l5.708.853c3.807.763 8.516 3.042 14.133 6.851 5.614 3.806 10.229 8.754 13.846 14.842 4.38 7.806 9.657 13.754 15.846 17.847 6.184 4.093 12.419 6.136 18.699 6.136 6.28 0 11.704-.476 16.274-1.423 4.565-.952 8.848-2.383 12.847-4.285 1.713-12.758 6.377-22.559 13.988-29.41-10.848-1.14-20.601-2.857-29.264-5.14-8.658-2.286-17.605-5.996-26.835-11.14-9.235-5.137-16.896-11.516-22.985-19.126-6.09-7.614-11.088-17.61-14.987-29.979-3.901-12.374-5.852-26.648-5.852-42.826 0-23.035 7.52-42.637 22.557-58.817-7.044-17.318-6.379-36.732 1.997-58.24 5.52-1.715 13.706-.428 24.554 3.853 10.85 4.283 18.794 7.952 23.84 10.994 5.046 3.041 9.089 5.618 12.135 7.708 17.705-4.947 35.976-7.421 54.818-7.421s37.117 2.474 54.823 7.421l10.849-6.849c7.419-4.57 16.18-8.758 26.262-12.565 10.088-3.805 17.802-4.853 23.134-3.138 8.562 21.509 9.325 40.922 2.279 58.24 15.036 16.18 22.559 35.787 22.559 58.817 0 16.178-1.958 30.497-5.853 42.966-3.9 12.471-8.941 22.457-15.125 29.979-6.191 7.521-13.901 13.85-23.131 18.986-9.232 5.14-18.182 8.85-26.84 11.136-8.662 2.286-18.415 4.004-29.263 5.146 9.894 8.562 14.842 22.077 14.842 40.539v60.237c0 3.422 1.19 6.279 3.572 8.562 2.379 2.279 6.136 2.95 11.276 1.995 44.163-14.653 80.185-41.062 108.068-79.226 27.88-38.161 41.825-81.126 41.825-128.906-.01-39.771-9.818-76.454-29.414-110.049z"
2042
+ }
2043
+ )
2044
+ ),
2045
+ radix: (props) => /* @__PURE__ */ React3.createElement("svg", { viewBox: "0 0 25 25", fill: "none", ...props }, /* @__PURE__ */ React3.createElement(
2046
+ "path",
2047
+ {
2048
+ d: "M12 25C7.58173 25 4 21.4183 4 17C4 12.5817 7.58173 9 12 9V25Z",
2049
+ fill: "currentcolor"
2050
+ }
2051
+ ), /* @__PURE__ */ React3.createElement("path", { d: "M12 0H4V8H12V0Z", fill: "currentcolor" }), /* @__PURE__ */ React3.createElement(
2052
+ "path",
2053
+ {
2054
+ d: "M17 8C19.2091 8 21 6.20914 21 4C21 1.79086 19.2091 0 17 0C14.7909 0 13 1.79086 13 4C13 6.20914 14.7909 8 17 8Z",
2055
+ fill: "currentcolor"
2056
+ }
2057
+ )),
2058
+ aria: (props) => /* @__PURE__ */ React3.createElement("svg", { role: "img", viewBox: "0 0 24 24", fill: "currentColor", ...props }, /* @__PURE__ */ React3.createElement("path", { d: "M13.966 22.624l-1.69-4.281H8.122l3.892-9.144 5.662 13.425zM8.884 1.376H0v21.248zm15.116 0h-8.884L24 22.624Z" })),
2059
+ npm: (props) => /* @__PURE__ */ React3.createElement("svg", { viewBox: "0 0 24 24", ...props }, /* @__PURE__ */ React3.createElement(
2060
+ "path",
2061
+ {
2062
+ d: "M1.763 0C.786 0 0 .786 0 1.763v20.474C0 23.214.786 24 1.763 24h20.474c.977 0 1.763-.786 1.763-1.763V1.763C24 .786 23.214 0 22.237 0zM5.13 5.323l13.837.019-.009 13.836h-3.464l.01-10.382h-3.456L12.04 19.17H5.113z",
2063
+ fill: "currentColor"
2064
+ }
2065
+ )),
2066
+ yarn: (props) => /* @__PURE__ */ React3.createElement("svg", { viewBox: "0 0 24 24", ...props }, /* @__PURE__ */ React3.createElement(
2067
+ "path",
2068
+ {
2069
+ d: "M12 0C5.375 0 0 5.375 0 12s5.375 12 12 12 12-5.375 12-12S18.625 0 12 0zm.768 4.105c.183 0 .363.053.525.157.125.083.287.185.755 1.154.31-.088.468-.042.551-.019.204.056.366.19.463.375.477.917.542 2.553.334 3.605-.241 1.232-.755 2.029-1.131 2.576.324.329.778.899 1.117 1.825.278.774.31 1.478.273 2.015a5.51 5.51 0 0 0 .602-.329c.593-.366 1.487-.917 2.553-.931.714-.009 1.269.445 1.353 1.103a1.23 1.23 0 0 1-.945 1.362c-.649.158-.95.278-1.821.843-1.232.797-2.539 1.242-3.012 1.39a1.686 1.686 0 0 1-.704.343c-.737.181-3.266.315-3.466.315h-.046c-.783 0-1.214-.241-1.45-.491-.658.329-1.51.19-2.122-.134a1.078 1.078 0 0 1-.58-1.153 1.243 1.243 0 0 1-.153-.195c-.162-.25-.528-.936-.454-1.946.056-.723.556-1.367.88-1.71a5.522 5.522 0 0 1 .408-2.256c.306-.727.885-1.348 1.32-1.737-.32-.537-.644-1.367-.329-2.21.227-.602.412-.936.82-1.08h-.005c.199-.074.389-.153.486-.259a3.418 3.418 0 0 1 2.298-1.103c.037-.093.079-.185.125-.283.31-.658.639-1.029 1.024-1.168a.94.94 0 0 1 .328-.06zm.006.7c-.507.016-1.001 1.519-1.001 1.519s-1.27-.204-2.266.871c-.199.218-.468.334-.746.44-.079.028-.176.023-.417.672-.371.991.625 2.094.625 2.094s-1.186.839-1.626 1.881c-.486 1.144-.338 2.261-.338 2.261s-.843.732-.899 1.487c-.051.663.139 1.2.343 1.515.227.343.51.176.51.176s-.561.653-.037.931c.477.25 1.283.394 1.71-.037.31-.31.371-1.001.486-1.283.028-.065.12.111.209.199.097.093.264.195.264.195s-.755.324-.445 1.066c.102.246.468.403 1.066.398.222-.005 2.664-.139 3.313-.296.375-.088.505-.283.505-.283s1.566-.431 2.998-1.357c.917-.598 1.293-.76 2.034-.936.612-.148.57-1.098-.241-1.084-.839.009-1.575.44-2.196.825-1.163.718-1.742.672-1.742.672l-.018-.032c-.079-.13.371-1.293-.134-2.678-.547-1.515-1.413-1.881-1.344-1.997.297-.5 1.038-1.297 1.334-2.78.176-.899.13-2.377-.269-3.151-.074-.144-.732.241-.732.241s-.616-1.371-.788-1.483a.271.271 0 0 0-.157-.046z",
2070
+ fill: "currentColor"
2071
+ }
2072
+ )),
2073
+ pnpm: (props) => /* @__PURE__ */ React3.createElement("svg", { viewBox: "0 0 24 24", ...props }, /* @__PURE__ */ React3.createElement(
2074
+ "path",
2075
+ {
2076
+ d: "M0 0v7.5h7.5V0zm8.25 0v7.5h7.498V0zm8.25 0v7.5H24V0zM8.25 8.25v7.5h7.498v-7.5zm8.25 0v7.5H24v-7.5zM0 16.5V24h7.5v-7.5zm8.25 0V24h7.498v-7.5zm8.25 0V24H24v-7.5z",
2077
+ fill: "currentColor"
2078
+ }
2079
+ )),
2080
+ react: (props) => /* @__PURE__ */ React3.createElement("svg", { viewBox: "0 0 24 24", ...props }, /* @__PURE__ */ React3.createElement(
2081
+ "path",
2082
+ {
2083
+ d: "M14.23 12.004a2.236 2.236 0 0 1-2.235 2.236 2.236 2.236 0 0 1-2.236-2.236 2.236 2.236 0 0 1 2.235-2.236 2.236 2.236 0 0 1 2.236 2.236zm2.648-10.69c-1.346 0-3.107.96-4.888 2.622-1.78-1.653-3.542-2.602-4.887-2.602-.41 0-.783.093-1.106.278-1.375.793-1.683 3.264-.973 6.365C1.98 8.917 0 10.42 0 12.004c0 1.59 1.99 3.097 5.043 4.03-.704 3.113-.39 5.588.988 6.38.32.187.69.275 1.102.275 1.345 0 3.107-.96 4.888-2.624 1.78 1.654 3.542 2.603 4.887 2.603.41 0 .783-.09 1.106-.275 1.374-.792 1.683-3.263.973-6.365C22.02 15.096 24 13.59 24 12.004c0-1.59-1.99-3.097-5.043-4.032.704-3.11.39-5.587-.988-6.38-.318-.184-.688-.277-1.092-.278zm-.005 1.09v.006c.225 0 .406.044.558.127.666.382.955 1.835.73 3.704-.054.46-.142.945-.25 1.44-.96-.236-2.006-.417-3.107-.534-.66-.905-1.345-1.727-2.035-2.447 1.592-1.48 3.087-2.292 4.105-2.295zm-9.77.02c1.012 0 2.514.808 4.11 2.28-.686.72-1.37 1.537-2.02 2.442-1.107.117-2.154.298-3.113.538-.112-.49-.195-.964-.254-1.42-.23-1.868.054-3.32.714-3.707.19-.09.4-.127.563-.132zm4.882 3.05c.455.468.91.992 1.36 1.564-.44-.02-.89-.034-1.345-.034-.46 0-.915.01-1.36.034.44-.572.895-1.096 1.345-1.565zM12 8.1c.74 0 1.477.034 2.202.093.406.582.802 1.203 1.183 1.86.372.64.71 1.29 1.018 1.946-.308.655-.646 1.31-1.013 1.95-.38.66-.773 1.288-1.18 1.87-.728.063-1.466.098-2.21.098-.74 0-1.477-.035-2.202-.093-.406-.582-.802-1.204-1.183-1.86-.372-.64-.71-1.29-1.018-1.946.303-.657.646-1.313 1.013-1.954.38-.66.773-1.286 1.18-1.868.728-.064 1.466-.098 2.21-.098zm-3.635.254c-.24.377-.48.763-.704 1.16-.225.39-.435.782-.635 1.174-.265-.656-.49-1.31-.676-1.947.64-.15 1.315-.283 2.015-.386zm7.26 0c.695.103 1.365.23 2.006.387-.18.632-.405 1.282-.66 1.933-.2-.39-.41-.783-.64-1.174-.225-.392-.465-.774-.705-1.146zm3.063.675c.484.15.944.317 1.375.498 1.732.74 2.852 1.708 2.852 2.476-.005.768-1.125 1.74-2.857 2.475-.42.18-.88.342-1.355.493-.28-.958-.646-1.956-1.1-2.98.45-1.017.81-2.01 1.085-2.964zm-13.395.004c.278.96.645 1.957 1.1 2.98-.45 1.017-.812 2.01-1.086 2.964-.484-.15-.944-.318-1.37-.5-1.732-.737-2.852-1.706-2.852-2.474 0-.768 1.12-1.742 2.852-2.476.42-.18.88-.342 1.356-.494zm11.678 4.28c.265.657.49 1.312.676 1.948-.64.157-1.316.29-2.016.39.24-.375.48-.762.705-1.158.225-.39.435-.788.636-1.18zm-9.945.02c.2.392.41.783.64 1.175.23.39.465.772.705 1.143-.695-.102-1.365-.23-2.006-.386.18-.63.406-1.282.66-1.933zM17.92 16.32c.112.493.2.968.254 1.423.23 1.868-.054 3.32-.714 3.708-.147.09-.338.128-.563.128-1.012 0-2.514-.807-4.11-2.28.686-.72 1.37-1.536 2.02-2.44 1.107-.118 2.154-.3 3.113-.54zm-11.83.01c.96.234 2.006.415 3.107.532.66.905 1.345 1.727 2.035 2.446-1.595 1.483-3.092 2.295-4.11 2.295-.22-.005-.406-.05-.553-.132-.666-.38-.955-1.834-.73-3.703.054-.46.142-.944.25-1.438zm4.56.64c.44.02.89.034 1.345.034.46 0 .915-.01 1.36-.034-.44.572-.895 1.095-1.345 1.565-.455-.47-.91-.993-1.36-1.565z",
2084
+ fill: "currentColor"
2085
+ }
2086
+ )),
2087
+ tailwind: (props) => /* @__PURE__ */ React3.createElement("svg", { viewBox: "0 0 24 24", ...props }, /* @__PURE__ */ React3.createElement(
2088
+ "path",
2089
+ {
2090
+ d: "M12.001,4.8c-3.2,0-5.2,1.6-6,4.8c1.2-1.6,2.6-2.2,4.2-1.8c0.913,0.228,1.565,0.89,2.288,1.624 C13.666,10.618,15.027,12,18.001,12c3.2,0,5.2-1.6,6-4.8c-1.2,1.6-2.6,2.2-4.2,1.8c-0.913-0.228-1.565-0.89-2.288-1.624 C16.337,6.182,14.976,4.8,12.001,4.8z M6.001,12c-3.2,0-5.2,1.6-6,4.8c1.2-1.6,2.6-2.2,4.2-1.8c0.913,0.228,1.565,0.89,2.288,1.624 c1.177,1.194,2.538,2.576,5.512,2.576c3.2,0,5.2-1.6,6-4.8c-1.2,1.6-2.6,2.2-4.2,1.8c-0.913-0.228-1.565-0.89-2.288-1.624 C10.337,13.382,8.976,12,6.001,12z",
2091
+ fill: "currentColor"
2092
+ }
2093
+ )),
2094
+ google: (props) => /* @__PURE__ */ React3.createElement("svg", { role: "img", viewBox: "0 0 24 24", ...props }, /* @__PURE__ */ React3.createElement(
2095
+ "path",
2096
+ {
2097
+ fill: "currentColor",
2098
+ d: "M12.48 10.92v3.28h7.84c-.24 1.84-.853 3.187-1.787 4.133-1.147 1.147-2.933 2.4-6.053 2.4-4.827 0-8.6-3.893-8.6-8.72s3.773-8.72 8.6-8.72c2.6 0 4.507 1.027 5.907 2.347l2.307-2.307C18.747 1.44 16.133 0 12.48 0 5.867 0 .307 5.387.307 12s5.56 12 12.173 12c3.573 0 6.267-1.173 8.373-3.36 2.16-2.16 2.84-5.213 2.84-7.667 0-.76-.053-1.467-.173-2.053H12.48z"
2099
+ }
2100
+ )),
2101
+ apple: (props) => /* @__PURE__ */ React3.createElement("svg", { role: "img", viewBox: "0 0 24 24", ...props }, /* @__PURE__ */ React3.createElement(
2102
+ "path",
2103
+ {
2104
+ d: "M12.152 6.896c-.948 0-2.415-1.078-3.96-1.04-2.04.027-3.91 1.183-4.961 3.014-2.117 3.675-.546 9.103 1.519 12.09 1.013 1.454 2.208 3.09 3.792 3.039 1.52-.065 2.09-.987 3.935-.987 1.831 0 2.35.987 3.96.948 1.637-.026 2.676-1.48 3.676-2.948 1.156-1.688 1.636-3.325 1.662-3.415-.039-.013-3.182-1.221-3.22-4.857-.026-3.04 2.48-4.494 2.597-4.559-1.429-2.09-3.623-2.324-4.39-2.376-2-.156-3.675 1.09-4.61 1.09zM15.53 3.83c.843-1.012 1.4-2.427 1.245-3.83-1.207.052-2.662.805-3.532 1.818-.78.896-1.454 2.338-1.273 3.714 1.338.104 2.715-.688 3.559-1.701",
2105
+ fill: "currentColor"
2106
+ }
2107
+ )),
2108
+ paypal: (props) => /* @__PURE__ */ React3.createElement("svg", { role: "img", viewBox: "0 0 24 24", ...props }, /* @__PURE__ */ React3.createElement(
2109
+ "path",
2110
+ {
2111
+ d: "M7.076 21.337H2.47a.641.641 0 0 1-.633-.74L4.944.901C5.026.382 5.474 0 5.998 0h7.46c2.57 0 4.578.543 5.69 1.81 1.01 1.15 1.304 2.42 1.012 4.287-.023.143-.047.288-.077.437-.983 5.05-4.349 6.797-8.647 6.797h-2.19c-.524 0-.968.382-1.05.9l-1.12 7.106zm14.146-14.42a3.35 3.35 0 0 0-.607-.541c-.013.076-.026.175-.041.254-.93 4.778-4.005 7.201-9.138 7.201h-2.19a.563.563 0 0 0-.556.479l-1.187 7.527h-.506l-.24 1.516a.56.56 0 0 0 .554.647h3.882c.46 0 .85-.334.922-.788.06-.26.76-4.852.816-5.09a.932.932 0 0 1 .923-.788h.58c3.76 0 6.705-1.528 7.565-5.946.36-1.847.174-3.388-.777-4.471z",
2112
+ fill: "currentColor"
2113
+ }
2114
+ )),
2115
+ spinner: (props) => /* @__PURE__ */ React3.createElement(
2116
+ "svg",
2117
+ {
2118
+ xmlns: "http://www.w3.org/2000/svg",
2119
+ width: "24",
2120
+ height: "24",
2121
+ viewBox: "0 0 24 24",
2122
+ fill: "none",
2123
+ stroke: "currentColor",
2124
+ strokeWidth: "2",
2125
+ strokeLinecap: "round",
2126
+ strokeLinejoin: "round",
2127
+ ...props
2128
+ },
2129
+ /* @__PURE__ */ React3.createElement("path", { d: "M21 12a9 9 0 1 1-6.219-8.56" })
2130
+ ),
2131
+ whatsapp: (props) => /* @__PURE__ */ React3.createElement(
2132
+ "svg",
2133
+ {
2134
+ xmlns: "http://www.w3.org/2000/svg",
2135
+ viewBox: "0 0 24 24",
2136
+ fill: "currentColor",
2137
+ ...props
2138
+ },
2139
+ /* @__PURE__ */ React3.createElement("path", { d: "M.057 24l1.687-6.163c-1.041-1.804-1.588-3.849-1.587-5.946.003-6.556 5.338-11.891 11.893-11.891 3.181.001 6.167 1.24 8.413 3.488 2.245 2.248 3.481 5.236 3.48 8.414-.003 6.557-5.338 11.892-11.893 11.892-1.99-.001-3.951-.5-5.688-1.448l-6.305 1.654zm6.597-3.807c1.676.995 3.276 1.591 5.392 1.592 5.448 0 9.886-4.434 9.889-9.885.002-5.462-4.415-9.89-9.881-9.892-5.452 0-9.887 4.434-9.889 9.884-.001 2.225.651 3.891 1.746 5.634l-.999 3.648 3.742-.981zm11.387-5.464c-.074-.124-.272-.198-.57-.347-.297-.149-1.758-.868-2.031-.967-.272-.099-.47-.149-.669.149-.198.297-.768.967-.941 1.165-.173.198-.347.223-.644.074-.297-.149-1.255-.462-2.39-1.475-.883-.788-1.48-1.761-1.653-2.059-.173-.297-.018-.458.13-.606.134-.133.297-.347.446-.521.151-.172.2-.296.3-.495.099-.198.05-.372-.025-.521-.075-.148-.669-1.611-.916-2.206-.242-.579-.487-.501-.669-.51l-.57-.01c-.198 0-.52.074-.792.372s-1.04 1.016-1.04 2.479 1.065 2.876 1.213 3.074c.149.198 2.095 3.2 5.076 4.487.709.306 1.263.489 1.694.626.712.226 1.36.194 1.872.118.571-.085 1.758-.719 2.006-1.413.248-.695.248-1.29.173-1.414z" })
2140
+ )
2141
+ };
2142
+
36
2143
  // components/blocks/auth/AuthButtons.tsx
37
- import React from "react";
38
2144
  var AuthButtons = (props) => {
39
2145
  var _a, _b, _c, _d, _e, _f, _g, _h, _i, _j, _k, _l, _m, _n;
40
- return /* @__PURE__ */ React.createElement("div", { className: "hawa-flex hawa-flex-col hawa-gap-4" }, props.viaGoogle && /* @__PURE__ */ React.createElement(
2146
+ return /* @__PURE__ */ React4.createElement("div", { className: "hawa-flex hawa-flex-col hawa-gap-4" }, props.viaGoogle && /* @__PURE__ */ React4.createElement(
41
2147
  Button,
42
2148
  {
43
2149
  disabled: props.isGoogleLoading,
@@ -45,9 +2151,9 @@ var AuthButtons = (props) => {
45
2151
  variant: "outline",
46
2152
  onClick: props.handleGoogle
47
2153
  },
48
- props.isGoogleLoading ? /* @__PURE__ */ React.createElement(Loading, { size: "button" }) : /* @__PURE__ */ React.createElement(Logos.google, { className: "hawa-icon" }),
2154
+ props.isGoogleLoading ? /* @__PURE__ */ React4.createElement(Loading, { size: "button" }) : /* @__PURE__ */ React4.createElement(Logos.google, { className: "hawa-icon" }),
49
2155
  (_b = (_a = props.texts) == null ? void 0 : _a.continueWithGoogle) != null ? _b : "Continue With Google"
50
- ), props.viaGithub && /* @__PURE__ */ React.createElement(
2156
+ ), props.viaGithub && /* @__PURE__ */ React4.createElement(
51
2157
  Button,
52
2158
  {
53
2159
  disabled: props.isGithubLoading,
@@ -55,9 +2161,9 @@ var AuthButtons = (props) => {
55
2161
  variant: "outline",
56
2162
  onClick: props.handleGithub
57
2163
  },
58
- props.isGithubLoading ? /* @__PURE__ */ React.createElement(Loading, { size: "button" }) : /* @__PURE__ */ React.createElement(Logos.github, { className: "hawa-icon" }),
2164
+ props.isGithubLoading ? /* @__PURE__ */ React4.createElement(Loading, { size: "button" }) : /* @__PURE__ */ React4.createElement(Logos.github, { className: "hawa-icon" }),
59
2165
  (_d = (_c = props.texts) == null ? void 0 : _c.continueWithGithub) != null ? _d : "Continue With Github"
60
- ), props.viaTwitter && /* @__PURE__ */ React.createElement(
2166
+ ), props.viaTwitter && /* @__PURE__ */ React4.createElement(
61
2167
  Button,
62
2168
  {
63
2169
  disabled: props.isTwitterLoading,
@@ -65,9 +2171,9 @@ var AuthButtons = (props) => {
65
2171
  variant: "outline",
66
2172
  onClick: props.handleTwitter
67
2173
  },
68
- props.isTwitterLoading ? /* @__PURE__ */ React.createElement(Loading, { size: "button" }) : /* @__PURE__ */ React.createElement(Logos.twitter, { className: "hawa-icon" }),
2174
+ props.isTwitterLoading ? /* @__PURE__ */ React4.createElement(Loading, { size: "button" }) : /* @__PURE__ */ React4.createElement(Logos.twitter, { className: "hawa-icon" }),
69
2175
  (_f = (_e = props.texts) == null ? void 0 : _e.continueWithTwitter) != null ? _f : "Continue With Twitter"
70
- ), props.viaApple && /* @__PURE__ */ React.createElement(
2176
+ ), props.viaApple && /* @__PURE__ */ React4.createElement(
71
2177
  Button,
72
2178
  {
73
2179
  disabled: props.isAppleLoading,
@@ -75,9 +2181,9 @@ var AuthButtons = (props) => {
75
2181
  variant: "outline",
76
2182
  onClick: props.handleApple
77
2183
  },
78
- props.isAppleLoading ? /* @__PURE__ */ React.createElement(Loading, { size: "button" }) : /* @__PURE__ */ React.createElement(Logos.apple, { className: "hawa-icon" }),
2184
+ props.isAppleLoading ? /* @__PURE__ */ React4.createElement(Loading, { size: "button" }) : /* @__PURE__ */ React4.createElement(Logos.apple, { className: "hawa-icon" }),
79
2185
  (_h = (_g = props.texts) == null ? void 0 : _g.continueWithApple) != null ? _h : "Continue With Apple"
80
- ), props.viaMicrosoft && /* @__PURE__ */ React.createElement(
2186
+ ), props.viaMicrosoft && /* @__PURE__ */ React4.createElement(
81
2187
  Button,
82
2188
  {
83
2189
  disabled: props.isMicrosoftLoading,
@@ -85,9 +2191,9 @@ var AuthButtons = (props) => {
85
2191
  variant: "outline",
86
2192
  onClick: props.handleMicrosoft
87
2193
  },
88
- props.isMicrosoftLoading ? /* @__PURE__ */ React.createElement(Loading, { size: "button" }) : /* @__PURE__ */ React.createElement(Logos.microsoft, { className: "hawa-icon" }),
2194
+ props.isMicrosoftLoading ? /* @__PURE__ */ React4.createElement(Loading, { size: "button" }) : /* @__PURE__ */ React4.createElement(Logos.microsoft, { className: "hawa-icon" }),
89
2195
  (_j = (_i = props.texts) == null ? void 0 : _i.continueWithMicrosoft) != null ? _j : "Continue With Microsoft"
90
- ), props.viaEmail && /* @__PURE__ */ React.createElement(
2196
+ ), props.viaEmail && /* @__PURE__ */ React4.createElement(
91
2197
  Button,
92
2198
  {
93
2199
  disabled: props.isEmailLoading,
@@ -95,9 +2201,9 @@ var AuthButtons = (props) => {
95
2201
  variant: "outline",
96
2202
  onClick: props.handleEmail
97
2203
  },
98
- props.isEmailLoading ? /* @__PURE__ */ React.createElement(Loading, { size: "button" }) : /* @__PURE__ */ React.createElement(Logos.mail, { className: "hawa-icon" }),
2204
+ props.isEmailLoading ? /* @__PURE__ */ React4.createElement(Loading, { size: "button" }) : /* @__PURE__ */ React4.createElement(Logos.mail, { className: "hawa-icon" }),
99
2205
  (_l = (_k = props.texts) == null ? void 0 : _k.continueWithEmail) != null ? _l : "Continue With Email"
100
- ), props.viaPhone && /* @__PURE__ */ React.createElement(
2206
+ ), props.viaPhone && /* @__PURE__ */ React4.createElement(
101
2207
  Button,
102
2208
  {
103
2209
  disabled: props.isPhoneLoading,
@@ -105,7 +2211,7 @@ var AuthButtons = (props) => {
105
2211
  variant: "outline",
106
2212
  onClick: props.handlePhone
107
2213
  },
108
- props.isPhoneLoading ? /* @__PURE__ */ React.createElement(Loading, { size: "button" }) : /* @__PURE__ */ React.createElement(Logos.phone, { className: "hawa-icon" }),
2214
+ props.isPhoneLoading ? /* @__PURE__ */ React4.createElement(Loading, { size: "button" }) : /* @__PURE__ */ React4.createElement(Logos.phone, { className: "hawa-icon" }),
109
2215
  (_n = (_m = props.texts) == null ? void 0 : _m.continueWithPhone) != null ? _n : "Continue With Phone"
110
2216
  ));
111
2217
  };
@@ -118,7 +2224,7 @@ var LoginForm = ({
118
2224
  ...props
119
2225
  }) => {
120
2226
  var _a, _b, _c, _d, _e, _f, _g, _h, _i, _j, _k, _l, _m, _n, _o, _p, _q;
121
- const [passwordVisible, setPasswordVisible] = useState(false);
2227
+ const [passwordVisible, setPasswordVisible] = useState3(false);
122
2228
  const thirdPartyAuthTexts = {
123
2229
  continueWithGoogle: texts == null ? void 0 : texts.continueWithGoogle,
124
2230
  continueWithTwitter: texts == null ? void 0 : texts.continueWithTwitter,
@@ -168,14 +2274,14 @@ var LoginForm = ({
168
2274
  const renderFields = () => {
169
2275
  switch (loginType) {
170
2276
  case "email":
171
- return /* @__PURE__ */ React2.createElement(React2.Fragment, null, /* @__PURE__ */ React2.createElement(
2277
+ return /* @__PURE__ */ React5.createElement(React5.Fragment, null, /* @__PURE__ */ React5.createElement(
172
2278
  Controller,
173
2279
  {
174
2280
  control,
175
2281
  name: "email",
176
2282
  render: ({ field }) => {
177
2283
  var _a2, _b2, _c2;
178
- return /* @__PURE__ */ React2.createElement(
2284
+ return /* @__PURE__ */ React5.createElement(
179
2285
  Input,
180
2286
  {
181
2287
  inputProps: {
@@ -192,27 +2298,27 @@ var LoginForm = ({
192
2298
  );
193
2299
  }
194
2300
  }
195
- ), /* @__PURE__ */ React2.createElement("div", null, /* @__PURE__ */ React2.createElement(
2301
+ ), /* @__PURE__ */ React5.createElement("div", null, /* @__PURE__ */ React5.createElement(
196
2302
  Controller,
197
2303
  {
198
2304
  control,
199
2305
  name: "password",
200
2306
  render: ({ field }) => {
201
2307
  var _a2, _b2, _c2;
202
- return /* @__PURE__ */ React2.createElement(
2308
+ return /* @__PURE__ */ React5.createElement(
203
2309
  Input,
204
2310
  {
205
2311
  width: "full",
206
2312
  autoComplete: "current-password",
207
2313
  type: passwordVisible ? "text" : "password",
208
2314
  label: ((_a2 = texts == null ? void 0 : texts.password) == null ? void 0 : _a2.label) || "Password",
209
- endIcon: /* @__PURE__ */ React2.createElement(
2315
+ endIcon: /* @__PURE__ */ React5.createElement(
210
2316
  "div",
211
2317
  {
212
2318
  className: "hawa-cursor-pointer",
213
2319
  onClick: () => setPasswordVisible(!passwordVisible)
214
2320
  },
215
- passwordVisible ? /* @__PURE__ */ React2.createElement(EyeIcon, { className: "hawa-text-gray-500" }) : /* @__PURE__ */ React2.createElement(HiddenEyeIcon, { className: "hawa-text-gray-500" })
2321
+ passwordVisible ? /* @__PURE__ */ React5.createElement(EyeIcon, { className: "hawa-text-gray-500" }) : /* @__PURE__ */ React5.createElement(HiddenEyeIcon, { className: "hawa-text-gray-500" })
216
2322
  ),
217
2323
  placeholder: ((_b2 = texts == null ? void 0 : texts.password) == null ? void 0 : _b2.placeholder) || "Enter your password",
218
2324
  helperText: (_c2 = formState.errors.password) == null ? void 0 : _c2.message,
@@ -221,7 +2327,7 @@ var LoginForm = ({
221
2327
  );
222
2328
  }
223
2329
  }
224
- ), !props.withoutResetPassword && /* @__PURE__ */ React2.createElement(
2330
+ ), !props.withoutResetPassword && /* @__PURE__ */ React5.createElement(
225
2331
  "div",
226
2332
  {
227
2333
  onClick: props.onForgotPassword,
@@ -230,14 +2336,14 @@ var LoginForm = ({
230
2336
  (texts == null ? void 0 : texts.forgotPassword) || "Forgot Password?"
231
2337
  )));
232
2338
  case "username":
233
- return /* @__PURE__ */ React2.createElement(React2.Fragment, null, /* @__PURE__ */ React2.createElement(
2339
+ return /* @__PURE__ */ React5.createElement(React5.Fragment, null, /* @__PURE__ */ React5.createElement(
234
2340
  Controller,
235
2341
  {
236
2342
  control,
237
2343
  name: "username",
238
2344
  render: ({ field }) => {
239
2345
  var _a2, _b2, _c2;
240
- return /* @__PURE__ */ React2.createElement(
2346
+ return /* @__PURE__ */ React5.createElement(
241
2347
  Input,
242
2348
  {
243
2349
  width: "full",
@@ -250,27 +2356,27 @@ var LoginForm = ({
250
2356
  );
251
2357
  }
252
2358
  }
253
- ), /* @__PURE__ */ React2.createElement("div", null, /* @__PURE__ */ React2.createElement(
2359
+ ), /* @__PURE__ */ React5.createElement("div", null, /* @__PURE__ */ React5.createElement(
254
2360
  Controller,
255
2361
  {
256
2362
  control,
257
2363
  name: "password",
258
2364
  render: ({ field }) => {
259
2365
  var _a2, _b2, _c2;
260
- return /* @__PURE__ */ React2.createElement(
2366
+ return /* @__PURE__ */ React5.createElement(
261
2367
  Input,
262
2368
  {
263
2369
  width: "full",
264
2370
  autoComplete: "current-password",
265
2371
  type: passwordVisible ? "text" : "password",
266
2372
  label: (_a2 = texts == null ? void 0 : texts.password) == null ? void 0 : _a2.label,
267
- endIcon: /* @__PURE__ */ React2.createElement(
2373
+ endIcon: /* @__PURE__ */ React5.createElement(
268
2374
  "div",
269
2375
  {
270
2376
  className: "hawa-cursor-pointer",
271
2377
  onClick: () => setPasswordVisible(!passwordVisible)
272
2378
  },
273
- passwordVisible ? /* @__PURE__ */ React2.createElement(EyeIcon, { className: "hawa-text-gray-500" }) : /* @__PURE__ */ React2.createElement(HiddenEyeIcon, { className: "hawa-text-gray-500" })
2379
+ passwordVisible ? /* @__PURE__ */ React5.createElement(EyeIcon, { className: "hawa-text-gray-500" }) : /* @__PURE__ */ React5.createElement(HiddenEyeIcon, { className: "hawa-text-gray-500" })
274
2380
  ),
275
2381
  placeholder: ((_b2 = texts == null ? void 0 : texts.password) == null ? void 0 : _b2.placeholder) || "Enter your password",
276
2382
  helperText: (_c2 = formState.errors.password) == null ? void 0 : _c2.message,
@@ -279,7 +2385,7 @@ var LoginForm = ({
279
2385
  );
280
2386
  }
281
2387
  }
282
- ), !props.withoutResetPassword && /* @__PURE__ */ React2.createElement(
2388
+ ), !props.withoutResetPassword && /* @__PURE__ */ React5.createElement(
283
2389
  "div",
284
2390
  {
285
2391
  onClick: props.onForgotPassword,
@@ -288,14 +2394,14 @@ var LoginForm = ({
288
2394
  (texts == null ? void 0 : texts.forgotPassword) || "Forgot Password?"
289
2395
  )));
290
2396
  case "phone":
291
- return /* @__PURE__ */ React2.createElement(React2.Fragment, null, /* @__PURE__ */ React2.createElement(
2397
+ return /* @__PURE__ */ React5.createElement(React5.Fragment, null, /* @__PURE__ */ React5.createElement(
292
2398
  Controller,
293
2399
  {
294
2400
  control,
295
2401
  name: "phone",
296
2402
  render: ({ field }) => {
297
2403
  var _a2, _b2;
298
- return /* @__PURE__ */ React2.createElement(
2404
+ return /* @__PURE__ */ React5.createElement(
299
2405
  PhoneInput,
300
2406
  {
301
2407
  label: (_a2 = texts == null ? void 0 : texts.phone) == null ? void 0 : _a2.label,
@@ -308,14 +2414,14 @@ var LoginForm = ({
308
2414
  }
309
2415
  ));
310
2416
  case "link":
311
- return /* @__PURE__ */ React2.createElement(React2.Fragment, null, /* @__PURE__ */ React2.createElement(
2417
+ return /* @__PURE__ */ React5.createElement(React5.Fragment, null, /* @__PURE__ */ React5.createElement(
312
2418
  Controller,
313
2419
  {
314
2420
  control,
315
2421
  name: "email",
316
2422
  render: ({ field }) => {
317
2423
  var _a2, _b2, _c2;
318
- return /* @__PURE__ */ React2.createElement(
2424
+ return /* @__PURE__ */ React5.createElement(
319
2425
  Input,
320
2426
  {
321
2427
  width: "full",
@@ -333,7 +2439,7 @@ var LoginForm = ({
333
2439
  break;
334
2440
  }
335
2441
  };
336
- return /* @__PURE__ */ React2.createElement("div", { className: "hawa-flex hawa-flex-col hawa-gap-4" }, /* @__PURE__ */ React2.createElement(Card, { dir: props.direction }, /* @__PURE__ */ React2.createElement(CardContent, { headless: true }, props.showError && /* @__PURE__ */ React2.createElement(
2442
+ return /* @__PURE__ */ React5.createElement("div", { className: "hawa-flex hawa-flex-col hawa-gap-4" }, /* @__PURE__ */ React5.createElement(Card, { dir: props.direction }, /* @__PURE__ */ React5.createElement(CardContent, { headless: true }, props.showError && /* @__PURE__ */ React5.createElement(
337
2443
  Alert,
338
2444
  {
339
2445
  direction: props.direction,
@@ -341,7 +2447,7 @@ var LoginForm = ({
341
2447
  text: props.errorText,
342
2448
  severity: "error"
343
2449
  }
344
- ), /* @__PURE__ */ React2.createElement(
2450
+ ), /* @__PURE__ */ React5.createElement(
345
2451
  "form",
346
2452
  {
347
2453
  noValidate: true,
@@ -355,7 +2461,7 @@ var LoginForm = ({
355
2461
  })
356
2462
  },
357
2463
  renderFields(),
358
- /* @__PURE__ */ React2.createElement(
2464
+ /* @__PURE__ */ React5.createElement(
359
2465
  Button,
360
2466
  {
361
2467
  className: "hawa-mt-0 hawa-w-full",
@@ -366,7 +2472,7 @@ var LoginForm = ({
366
2472
  (texts == null ? void 0 : texts.loginText) || "Login"
367
2473
  ),
368
2474
  props.additionalButtons,
369
- props.allowRegister && /* @__PURE__ */ React2.createElement("div", { className: "hawa-select-none hawa-p-3 hawa-text-center hawa-text-sm hawa-font-normal dark:hawa-text-gray-300" }, (texts == null ? void 0 : texts.newUserText) || "New user?", " ", /* @__PURE__ */ React2.createElement(
2475
+ props.allowRegister && /* @__PURE__ */ React5.createElement("div", { className: "hawa-select-none hawa-p-3 hawa-text-center hawa-text-sm hawa-font-normal dark:hawa-text-gray-300" }, (texts == null ? void 0 : texts.newUserText) || "New user?", " ", /* @__PURE__ */ React5.createElement(
370
2476
  "span",
371
2477
  {
372
2478
  onClick: props.onRouteToRegister,
@@ -374,14 +2480,14 @@ var LoginForm = ({
374
2480
  },
375
2481
  (texts == null ? void 0 : texts.createAccount) || "Create Account"
376
2482
  ))
377
- )), props.viaGithub || props.viaGoogle || props.viaTwitter ? /* @__PURE__ */ React2.createElement(
2483
+ )), props.viaGithub || props.viaGoogle || props.viaTwitter ? /* @__PURE__ */ React5.createElement(
378
2484
  CardFooter,
379
2485
  {
380
2486
  className: cn(
381
2487
  props.logosOnly ? "hawa-flex hawa-flex-row hawa-justify-center hawa-gap-2" : "hawa-grid hawa-grid-cols-1 hawa-gap-2"
382
2488
  )
383
2489
  },
384
- /* @__PURE__ */ React2.createElement(
2490
+ /* @__PURE__ */ React5.createElement(
385
2491
  AuthButtons,
386
2492
  {
387
2493
  texts: thirdPartyAuthTexts,
@@ -400,17 +2506,155 @@ var LoginForm = ({
400
2506
  };
401
2507
 
402
2508
  // components/blocks/auth/RegisterForm.tsx
403
- import React3, { useState as useState2 } from "react";
2509
+ import React7, { useState as useState4 } from "react";
404
2510
  import { Controller as Controller2, FormProvider, useForm as useForm2 } from "react-hook-form";
405
2511
  import { zodResolver as zodResolver2 } from "@hookform/resolvers/zod";
406
2512
  import * as z2 from "zod";
2513
+
2514
+ // components/elements/checkbox/Checkbox.tsx
2515
+ import * as React6 from "react";
2516
+ import * as CheckboxPrimitive from "@radix-ui/react-checkbox";
2517
+ var Checkbox = ({
2518
+ id,
2519
+ label,
2520
+ sublabel,
2521
+ helperText,
2522
+ disabled,
2523
+ size = "default",
2524
+ radius = "inherit",
2525
+ ...props
2526
+ }) => {
2527
+ let labelLineHeightStyles = {
2528
+ xs: sublabel || helperText ? 0.5 : 0.1,
2529
+ sm: 0.6,
2530
+ default: 0.7,
2531
+ md: 0.8,
2532
+ lg: 0.9,
2533
+ xl: 1
2534
+ };
2535
+ return /* @__PURE__ */ React6.createElement(
2536
+ "div",
2537
+ {
2538
+ className: cn(
2539
+ "hawa-flex hawa-gap-2",
2540
+ "hawa-items-top",
2541
+ sublabel || helperText ? "hawa-items-top" : "hawa-items-center"
2542
+ )
2543
+ },
2544
+ /* @__PURE__ */ React6.createElement(
2545
+ CheckboxElement,
2546
+ {
2547
+ ...props,
2548
+ size,
2549
+ radius,
2550
+ disabled,
2551
+ id
2552
+ }
2553
+ ),
2554
+ (label || helperText) && /* @__PURE__ */ React6.createElement("div", { className: "hawa-grid hawa-gap-1.5 hawa-leading-none" }, label && /* @__PURE__ */ React6.createElement(
2555
+ "label",
2556
+ {
2557
+ htmlFor: id,
2558
+ className: cn(
2559
+ "hawa-w-fit hawa-select-none hawa-pt-0.5 hawa-text-sm hawa-font-medium hawa-leading-none",
2560
+ disabled ? "hawa-cursor-not-allowed hawa-text-muted-foreground hawa-opacity-70 " : "hawa-cursor-pointer"
2561
+ ),
2562
+ style: {
2563
+ lineHeight: labelLineHeightStyles[size]
2564
+ }
2565
+ },
2566
+ label
2567
+ ), sublabel && /* @__PURE__ */ React6.createElement(
2568
+ "label",
2569
+ {
2570
+ htmlFor: id,
2571
+ className: cn(
2572
+ "hawa-w-fit hawa-select-none hawa-text-sm hawa-text-muted-foreground",
2573
+ disabled ? "hawa-cursor-not-allowed hawa-text-muted-foreground hawa-opacity-70" : "hawa-cursor-pointer"
2574
+ )
2575
+ },
2576
+ sublabel
2577
+ ), helperText && !disabled && /* @__PURE__ */ React6.createElement(
2578
+ "label",
2579
+ {
2580
+ htmlFor: id,
2581
+ className: cn(
2582
+ "hawa-w-fit hawa-select-none hawa-text-xs hawa-text-helper-color",
2583
+ disabled && "hawa-cursor-not-allowed hawa-opacity-70"
2584
+ )
2585
+ },
2586
+ helperText
2587
+ ))
2588
+ );
2589
+ };
2590
+ var CheckboxElement = React6.forwardRef(({ radius = "inherit", size = "default", className, ...props }, ref) => {
2591
+ let checkboxRadius = {
2592
+ none: "hawa-rounded-none",
2593
+ inherit: "hawa-rounded-sm",
2594
+ full: "hawa-rounded-full"
2595
+ };
2596
+ let checkboxSizes = {
2597
+ xs: "hawa-w-3 hawa-h-3",
2598
+ sm: "hawa-w-6 hawa-h-6",
2599
+ default: "hawa-icon",
2600
+ md: "hawa-w-8 hawa-h-8",
2601
+ lg: "hawa-w-10 hawa-h-10",
2602
+ xl: "hawa-w-12 hawa-h-12"
2603
+ };
2604
+ let checkboxIndicatorSizes = {
2605
+ xs: "0.5em",
2606
+ default: "0.60em",
2607
+ sm: "0.75em",
2608
+ md: "0.875em",
2609
+ lg: "1em",
2610
+ xl: "1.25em"
2611
+ };
2612
+ return /* @__PURE__ */ React6.createElement(
2613
+ CheckboxPrimitive.Root,
2614
+ {
2615
+ ref,
2616
+ className: cn(
2617
+ "hawa-peer hawa-shrink-0 hawa-border hawa-border-primary hawa-ring-offset-background focus-visible:hawa-outline-none focus-visible:hawa-ring-2 focus-visible:hawa-ring-ring focus-visible:hawa-ring-offset-2 disabled:hawa-cursor-not-allowed disabled:hawa-opacity-50 data-[state=checked]:hawa-bg-primary data-[state=checked]:hawa-text-primary-foreground",
2618
+ checkboxSizes[size],
2619
+ checkboxRadius[radius],
2620
+ className
2621
+ ),
2622
+ ...props
2623
+ },
2624
+ /* @__PURE__ */ React6.createElement(
2625
+ CheckboxPrimitive.Indicator,
2626
+ {
2627
+ className: cn(
2628
+ "hawa-flex hawa-items-center hawa-justify-center hawa-text-current"
2629
+ )
2630
+ },
2631
+ /* @__PURE__ */ React6.createElement(
2632
+ "svg",
2633
+ {
2634
+ "aria-label": "Check Mark",
2635
+ stroke: "currentColor",
2636
+ fill: "currentColor",
2637
+ strokeWidth: "0",
2638
+ viewBox: "0 0 512 512",
2639
+ height: checkboxIndicatorSizes[size],
2640
+ width: checkboxIndicatorSizes[size]
2641
+ },
2642
+ /* @__PURE__ */ React6.createElement("path", { d: "M173.898 439.404l-166.4-166.4c-9.997-9.997-9.997-26.206 0-36.204l36.203-36.204c9.997-9.998 26.207-9.998 36.204 0L192 312.69 432.095 72.596c9.997-9.997 26.207-9.997 36.204 0l36.203 36.204c9.997 9.997 9.997 26.206 0 36.204l-294.4 294.401c-9.998 9.997-26.207 9.997-36.204-.001z" })
2643
+ ),
2644
+ " "
2645
+ )
2646
+ );
2647
+ });
2648
+ CheckboxElement.displayName = CheckboxPrimitive.Root.displayName;
2649
+
2650
+ // components/blocks/auth/RegisterForm.tsx
407
2651
  var RegisterForm = ({
408
2652
  texts,
409
2653
  registerFields = ["email"],
410
2654
  ...props
411
2655
  }) => {
412
2656
  var _a, _b, _c, _d, _e, _f;
413
- const [passwordVisible, setPasswordVisible] = useState2(false);
2657
+ const [passwordVisible, setPasswordVisible] = useState4(false);
414
2658
  const thirdPartyAuthTexts = {
415
2659
  continueWithGoogle: texts == null ? void 0 : texts.continueWithGoogle,
416
2660
  continueWithTwitter: texts == null ? void 0 : texts.continueWithTwitter,
@@ -461,14 +2705,14 @@ var RegisterForm = ({
461
2705
  const { handleSubmit, control, formState } = useForm2({
462
2706
  resolver: zodResolver2(formSchema)
463
2707
  });
464
- return /* @__PURE__ */ React3.createElement("div", { className: "hawa-flex hawa-flex-col hawa-gap-4" }, /* @__PURE__ */ React3.createElement(Card, { dir: props.direction }, /* @__PURE__ */ React3.createElement(CardContent, { headless: true }, /* @__PURE__ */ React3.createElement("div", null, props.showError && /* @__PURE__ */ React3.createElement(
2708
+ return /* @__PURE__ */ React7.createElement("div", { className: "hawa-flex hawa-flex-col hawa-gap-4" }, /* @__PURE__ */ React7.createElement(Card, { dir: props.direction }, /* @__PURE__ */ React7.createElement(CardContent, { headless: true }, /* @__PURE__ */ React7.createElement("div", null, props.showError && /* @__PURE__ */ React7.createElement(
465
2709
  Alert,
466
2710
  {
467
2711
  title: props.errorTitle,
468
2712
  text: props.errorText,
469
2713
  severity: "error"
470
2714
  }
471
- ), /* @__PURE__ */ React3.createElement(FormProvider, { ...methods }, /* @__PURE__ */ React3.createElement(
2715
+ ), /* @__PURE__ */ React7.createElement(FormProvider, { ...methods }, /* @__PURE__ */ React7.createElement(
472
2716
  "form",
473
2717
  {
474
2718
  noValidate: true,
@@ -483,9 +2727,9 @@ var RegisterForm = ({
483
2727
  }),
484
2728
  className: "hawa-flex hawa-flex-col hawa-gap-4"
485
2729
  },
486
- /* @__PURE__ */ React3.createElement("div", { className: "hawa-flex hawa-flex-col hawa-gap-4" }, registerFields.map((fld, i) => {
2730
+ /* @__PURE__ */ React7.createElement("div", { className: "hawa-flex hawa-flex-col hawa-gap-4" }, registerFields.map((fld, i) => {
487
2731
  if (fld === "fullname") {
488
- return /* @__PURE__ */ React3.createElement(
2732
+ return /* @__PURE__ */ React7.createElement(
489
2733
  Controller2,
490
2734
  {
491
2735
  key: i,
@@ -493,7 +2737,7 @@ var RegisterForm = ({
493
2737
  name: "fullName",
494
2738
  render: ({ field }) => {
495
2739
  var _a2, _b2, _c2;
496
- return /* @__PURE__ */ React3.createElement(
2740
+ return /* @__PURE__ */ React7.createElement(
497
2741
  Input,
498
2742
  {
499
2743
  width: "full",
@@ -508,7 +2752,7 @@ var RegisterForm = ({
508
2752
  );
509
2753
  }
510
2754
  if (fld === "email") {
511
- return /* @__PURE__ */ React3.createElement(
2755
+ return /* @__PURE__ */ React7.createElement(
512
2756
  Controller2,
513
2757
  {
514
2758
  key: i,
@@ -516,7 +2760,7 @@ var RegisterForm = ({
516
2760
  name: "email",
517
2761
  render: ({ field }) => {
518
2762
  var _a2, _b2, _c2;
519
- return /* @__PURE__ */ React3.createElement(
2763
+ return /* @__PURE__ */ React7.createElement(
520
2764
  Input,
521
2765
  {
522
2766
  dir: "ltr",
@@ -536,7 +2780,7 @@ var RegisterForm = ({
536
2780
  );
537
2781
  }
538
2782
  if (fld === "username") {
539
- return /* @__PURE__ */ React3.createElement(
2783
+ return /* @__PURE__ */ React7.createElement(
540
2784
  Controller2,
541
2785
  {
542
2786
  key: i,
@@ -544,7 +2788,7 @@ var RegisterForm = ({
544
2788
  name: "username",
545
2789
  render: ({ field }) => {
546
2790
  var _a2, _b2, _c2;
547
- return /* @__PURE__ */ React3.createElement(
2791
+ return /* @__PURE__ */ React7.createElement(
548
2792
  Input,
549
2793
  {
550
2794
  width: "full",
@@ -560,25 +2804,25 @@ var RegisterForm = ({
560
2804
  );
561
2805
  }
562
2806
  })),
563
- /* @__PURE__ */ React3.createElement(
2807
+ /* @__PURE__ */ React7.createElement(
564
2808
  Controller2,
565
2809
  {
566
2810
  control,
567
2811
  name: "password",
568
2812
  render: ({ field }) => {
569
2813
  var _a2, _b2, _c2;
570
- return /* @__PURE__ */ React3.createElement(
2814
+ return /* @__PURE__ */ React7.createElement(
571
2815
  Input,
572
2816
  {
573
2817
  width: "full",
574
2818
  type: passwordVisible ? "text" : "password",
575
- endIcon: /* @__PURE__ */ React3.createElement(
2819
+ endIcon: /* @__PURE__ */ React7.createElement(
576
2820
  "div",
577
2821
  {
578
2822
  className: "hawa-cursor-pointer",
579
2823
  onClick: () => setPasswordVisible(!passwordVisible)
580
2824
  },
581
- passwordVisible ? /* @__PURE__ */ React3.createElement(EyeIcon, { className: "hawa-text-gray-500" }) : /* @__PURE__ */ React3.createElement(HiddenEyeIcon, { className: "hawa-text-gray-500" }),
2825
+ passwordVisible ? /* @__PURE__ */ React7.createElement(EyeIcon, { className: "hawa-text-gray-500" }) : /* @__PURE__ */ React7.createElement(HiddenEyeIcon, { className: "hawa-text-gray-500" }),
582
2826
  " "
583
2827
  ),
584
2828
  autoComplete: "new-password",
@@ -591,14 +2835,14 @@ var RegisterForm = ({
591
2835
  }
592
2836
  }
593
2837
  ),
594
- /* @__PURE__ */ React3.createElement(
2838
+ /* @__PURE__ */ React7.createElement(
595
2839
  Controller2,
596
2840
  {
597
2841
  control,
598
2842
  name: "confirm_password",
599
2843
  render: ({ field }) => {
600
2844
  var _a2, _b2, _c2;
601
- return /* @__PURE__ */ React3.createElement(
2845
+ return /* @__PURE__ */ React7.createElement(
602
2846
  Input,
603
2847
  {
604
2848
  width: "full",
@@ -614,14 +2858,14 @@ var RegisterForm = ({
614
2858
  }
615
2859
  ),
616
2860
  props.additionalInputs,
617
- props.showRefCode && /* @__PURE__ */ React3.createElement(
2861
+ props.showRefCode && /* @__PURE__ */ React7.createElement(
618
2862
  Controller2,
619
2863
  {
620
2864
  control,
621
2865
  name: "refCode",
622
2866
  render: ({ field }) => {
623
2867
  var _a2;
624
- return /* @__PURE__ */ React3.createElement(
2868
+ return /* @__PURE__ */ React7.createElement(
625
2869
  Input,
626
2870
  {
627
2871
  width: "full",
@@ -634,14 +2878,14 @@ var RegisterForm = ({
634
2878
  }
635
2879
  }
636
2880
  ),
637
- props.showUserSource && /* @__PURE__ */ React3.createElement(
2881
+ props.showUserSource && /* @__PURE__ */ React7.createElement(
638
2882
  Controller2,
639
2883
  {
640
2884
  control,
641
2885
  name: "reference",
642
2886
  render: ({ field }) => {
643
2887
  var _a2, _b2;
644
- return /* @__PURE__ */ React3.createElement(
2888
+ return /* @__PURE__ */ React7.createElement(
645
2889
  Select,
646
2890
  {
647
2891
  label: ((_a2 = texts == null ? void 0 : texts.userReference) == null ? void 0 : _a2.label) || "How did you learn about us?",
@@ -659,20 +2903,20 @@ var RegisterForm = ({
659
2903
  }
660
2904
  }
661
2905
  ),
662
- /* @__PURE__ */ React3.createElement("div", { className: "hawa-flex hawa-flex-col hawa-gap-3" }, props.showTermsOption && /* @__PURE__ */ React3.createElement(
2906
+ /* @__PURE__ */ React7.createElement("div", { className: "hawa-flex hawa-flex-col hawa-gap-3" }, props.showTermsOption && /* @__PURE__ */ React7.createElement(
663
2907
  Controller2,
664
2908
  {
665
2909
  control,
666
2910
  name: "terms_accepted",
667
2911
  render: ({ field }) => {
668
2912
  var _a2, _b2;
669
- return /* @__PURE__ */ React3.createElement(
2913
+ return /* @__PURE__ */ React7.createElement(
670
2914
  Checkbox,
671
2915
  {
672
2916
  id: "terms_accepted",
673
2917
  helperText: (_b2 = (_a2 = formState.errors.terms_accepted) == null ? void 0 : _a2.message) == null ? void 0 : _b2.toString(),
674
2918
  onCheckedChange: (e) => field.onChange(e),
675
- label: /* @__PURE__ */ React3.createElement("div", { className: "hawa-flex hawa-flex-row hawa-gap-0.5" }, /* @__PURE__ */ React3.createElement("span", null, texts == null ? void 0 : texts.iAcceptText), " ", /* @__PURE__ */ React3.createElement(StopPropagationWrapper, null, /* @__PURE__ */ React3.createElement(
2919
+ label: /* @__PURE__ */ React7.createElement("div", { className: "hawa-flex hawa-flex-row hawa-gap-0.5" }, /* @__PURE__ */ React7.createElement("span", null, texts == null ? void 0 : texts.iAcceptText), " ", /* @__PURE__ */ React7.createElement(StopPropagationWrapper, null, /* @__PURE__ */ React7.createElement(
676
2920
  "a",
677
2921
  {
678
2922
  onClick: props.onRouteToTOS,
@@ -684,12 +2928,12 @@ var RegisterForm = ({
684
2928
  );
685
2929
  }
686
2930
  }
687
- ), props.showNewsletterOption && /* @__PURE__ */ React3.createElement(
2931
+ ), props.showNewsletterOption && /* @__PURE__ */ React7.createElement(
688
2932
  Controller2,
689
2933
  {
690
2934
  control,
691
2935
  name: "newsletter_accepted",
692
- render: ({ field }) => /* @__PURE__ */ React3.createElement(
2936
+ render: ({ field }) => /* @__PURE__ */ React7.createElement(
693
2937
  Checkbox,
694
2938
  {
695
2939
  id: "newsletter_accepted",
@@ -699,7 +2943,7 @@ var RegisterForm = ({
699
2943
  )
700
2944
  }
701
2945
  )),
702
- /* @__PURE__ */ React3.createElement(
2946
+ /* @__PURE__ */ React7.createElement(
703
2947
  Button,
704
2948
  {
705
2949
  isLoading: props.isLoading,
@@ -708,14 +2952,14 @@ var RegisterForm = ({
708
2952
  texts == null ? void 0 : texts.registerText
709
2953
  ),
710
2954
  props.additionalButtons
711
- )), /* @__PURE__ */ React3.createElement("div", { className: "hawa-flex hawa-flex-row hawa-items-center hawa-justify-center hawa-gap-1 hawa-p-3 hawa-text-center hawa-text-sm hawa-font-normal dark:hawa-text-white" }, /* @__PURE__ */ React3.createElement("span", null, texts == null ? void 0 : texts.existingUserText), /* @__PURE__ */ React3.createElement("span", { onClick: props.onRouteToLogin, className: "clickable-link" }, (texts == null ? void 0 : texts.loginText) || "Login")))), props.viaGithub || props.viaGoogle || props.viaTwitter ? /* @__PURE__ */ React3.createElement(
2955
+ )), /* @__PURE__ */ React7.createElement("div", { className: "hawa-flex hawa-flex-row hawa-items-center hawa-justify-center hawa-gap-1 hawa-p-3 hawa-text-center hawa-text-sm hawa-font-normal dark:hawa-text-white" }, /* @__PURE__ */ React7.createElement("span", null, texts == null ? void 0 : texts.existingUserText), /* @__PURE__ */ React7.createElement("span", { onClick: props.onRouteToLogin, className: "clickable-link" }, (texts == null ? void 0 : texts.loginText) || "Login")))), props.viaGithub || props.viaGoogle || props.viaTwitter ? /* @__PURE__ */ React7.createElement(
712
2956
  CardFooter,
713
2957
  {
714
2958
  className: cn(
715
2959
  props.logosOnly ? "hawa-flex hawa-flex-row hawa-justify-center hawa-gap-2" : "hawa-grid hawa-grid-cols-1 hawa-gap-2"
716
2960
  )
717
2961
  },
718
- /* @__PURE__ */ React3.createElement(
2962
+ /* @__PURE__ */ React7.createElement(
719
2963
  AuthButtons,
720
2964
  {
721
2965
  texts: thirdPartyAuthTexts,
@@ -734,7 +2978,7 @@ var RegisterForm = ({
734
2978
  };
735
2979
 
736
2980
  // components/blocks/auth/AppLanding.tsx
737
- import React4 from "react";
2981
+ import React8 from "react";
738
2982
  var AppLanding = ({ texts, ...props }) => {
739
2983
  const thirdPartyAuthTexts = {
740
2984
  continueWithGoogle: texts == null ? void 0 : texts.continueWithGoogle,
@@ -745,7 +2989,7 @@ var AppLanding = ({ texts, ...props }) => {
745
2989
  continueWithEmail: texts == null ? void 0 : texts.continueWithEmail,
746
2990
  continueWithPhone: texts == null ? void 0 : texts.continueWithPhone
747
2991
  };
748
- return /* @__PURE__ */ React4.createElement("div", { dir: props.direction }, /* @__PURE__ */ React4.createElement(Card, null, /* @__PURE__ */ React4.createElement(CardContent, { headless: true, className: "hawa-flex hawa-flex-col hawa-gap-6" }, /* @__PURE__ */ React4.createElement(
2992
+ return /* @__PURE__ */ React8.createElement("div", { dir: props.direction }, /* @__PURE__ */ React8.createElement(Card, null, /* @__PURE__ */ React8.createElement(CardContent, { headless: true, className: "hawa-flex hawa-flex-col hawa-gap-6" }, /* @__PURE__ */ React8.createElement(
749
2993
  AuthButtons,
750
2994
  {
751
2995
  texts: thirdPartyAuthTexts,
@@ -764,7 +3008,7 @@ var AppLanding = ({ texts, ...props }) => {
764
3008
  handleEmail: props.handleEmail,
765
3009
  handlePhone: props.handlePhone
766
3010
  }
767
- ), props.allowRegister && /* @__PURE__ */ React4.createElement("div", { className: "hawa-p-3 hawa-text-center hawa-text-sm hawa-font-normal dark:hawa-text-gray-300" }, texts == null ? void 0 : texts.newUserText, " ", /* @__PURE__ */ React4.createElement(
3011
+ ), props.allowRegister && /* @__PURE__ */ React8.createElement("div", { className: "hawa-p-3 hawa-text-center hawa-text-sm hawa-font-normal dark:hawa-text-gray-300" }, texts == null ? void 0 : texts.newUserText, " ", /* @__PURE__ */ React8.createElement(
768
3012
  "span",
769
3013
  {
770
3014
  onClick: props.handleRouteToRegister,
@@ -775,9 +3019,9 @@ var AppLanding = ({ texts, ...props }) => {
775
3019
  };
776
3020
 
777
3021
  // components/blocks/auth/CheckEmail.tsx
778
- import React5 from "react";
3022
+ import React9 from "react";
779
3023
  var CheckEmail = ({ texts, handleResend }) => {
780
- return /* @__PURE__ */ React5.createElement(Card, null, /* @__PURE__ */ React5.createElement(CardContent, { headless: true }, /* @__PURE__ */ React5.createElement("div", { className: "hawa-flex hawa-flex-col hawa-items-center hawa-justify-center hawa-text-center" }, /* @__PURE__ */ React5.createElement("div", { className: "hawa-flex hawa-h-16 hawa-w-16 hawa-flex-col hawa-items-center hawa-justify-center hawa-rounded-3xl hawa-bg-primary hawa-text-6xl hawa-font-bold hawa-text-primary-foreground" }, /* @__PURE__ */ React5.createElement(
3024
+ return /* @__PURE__ */ React9.createElement(Card, null, /* @__PURE__ */ React9.createElement(CardContent, { headless: true }, /* @__PURE__ */ React9.createElement("div", { className: "hawa-flex hawa-flex-col hawa-items-center hawa-justify-center hawa-text-center" }, /* @__PURE__ */ React9.createElement("div", { className: "hawa-flex hawa-h-16 hawa-w-16 hawa-flex-col hawa-items-center hawa-justify-center hawa-rounded-3xl hawa-bg-primary hawa-text-6xl hawa-font-bold hawa-text-primary-foreground" }, /* @__PURE__ */ React9.createElement(
781
3025
  "svg",
782
3026
  {
783
3027
  stroke: "currentColor",
@@ -790,13 +3034,13 @@ var CheckEmail = ({ texts, handleResend }) => {
790
3034
  width: "0.5em",
791
3035
  xmlns: "http://www.w3.org/2000/svg"
792
3036
  },
793
- /* @__PURE__ */ React5.createElement("path", { d: "M4 4h16c1.1 0 2 .9 2 2v12c0 1.1-.9 2-2 2H4c-1.1 0-2-.9-2-2V6c0-1.1.9-2 2-2z" }),
794
- /* @__PURE__ */ React5.createElement("polyline", { points: "22,6 12,13 2,6" })
795
- )), /* @__PURE__ */ React5.createElement("div", { className: "hawa-m-2 hawa-text-xl hawa-font-bold" }, (texts == null ? void 0 : texts.checkEmail) || "Check your Email"), /* @__PURE__ */ React5.createElement("div", { className: "hawa-text-sm" }, (texts == null ? void 0 : texts.pleaseVerify) || "Thank you for signing up! To complete your registration, we've sent a verification email to the address you provided. Please check your inbox and follow the instructions in the email to activate your account."))), /* @__PURE__ */ React5.createElement(CardFooter, { className: "hawa-flex hawa-flex-col hawa-justify-center " }, /* @__PURE__ */ React5.createElement("span", { className: "clickable-link hawa-text-sm", onClick: handleResend }, (texts == null ? void 0 : texts.resendEmail) || "Resend Email")));
3037
+ /* @__PURE__ */ React9.createElement("path", { d: "M4 4h16c1.1 0 2 .9 2 2v12c0 1.1-.9 2-2 2H4c-1.1 0-2-.9-2-2V6c0-1.1.9-2 2-2z" }),
3038
+ /* @__PURE__ */ React9.createElement("polyline", { points: "22,6 12,13 2,6" })
3039
+ )), /* @__PURE__ */ React9.createElement("div", { className: "hawa-m-2 hawa-text-xl hawa-font-bold" }, (texts == null ? void 0 : texts.checkEmail) || "Check your Email"), /* @__PURE__ */ React9.createElement("div", { className: "hawa-text-sm" }, (texts == null ? void 0 : texts.pleaseVerify) || "Thank you for signing up! To complete your registration, we've sent a verification email to the address you provided. Please check your inbox and follow the instructions in the email to activate your account."))), /* @__PURE__ */ React9.createElement(CardFooter, { className: "hawa-flex hawa-flex-col hawa-justify-center " }, /* @__PURE__ */ React9.createElement("span", { className: "clickable-link hawa-text-sm", onClick: handleResend }, (texts == null ? void 0 : texts.resendEmail) || "Resend Email")));
796
3040
  };
797
3041
 
798
3042
  // components/blocks/auth/NewPassword.tsx
799
- import React6, { useState as useState3 } from "react";
3043
+ import React10, { useState as useState5 } from "react";
800
3044
  import { Controller as Controller3, useForm as useForm3 } from "react-hook-form";
801
3045
  import { zodResolver as zodResolver3 } from "@hookform/resolvers/zod";
802
3046
  import * as z3 from "zod";
@@ -814,8 +3058,8 @@ var NewPasswordForm = ({ texts, ...props }) => {
814
3058
  const { handleSubmit, control, formState } = useForm3({
815
3059
  resolver: zodResolver3(formSchema)
816
3060
  });
817
- const [matchError, setMatchError] = useState3(false);
818
- return /* @__PURE__ */ React6.createElement(Card, { dir: props.direction }, matchError && /* @__PURE__ */ React6.createElement(Alert, { text: (_g = texts == null ? void 0 : texts.confirm) == null ? void 0 : _g.dontMatch, severity: "error" }), props.passwordChanged ? /* @__PURE__ */ React6.createElement(CardContent, { headless: true }, /* @__PURE__ */ React6.createElement("div", { className: "hawa-text-center" }, texts == null ? void 0 : texts.passwordChanged)) : /* @__PURE__ */ React6.createElement(
3061
+ const [matchError, setMatchError] = useState5(false);
3062
+ return /* @__PURE__ */ React10.createElement(Card, { dir: props.direction }, matchError && /* @__PURE__ */ React10.createElement(Alert, { text: (_g = texts == null ? void 0 : texts.confirm) == null ? void 0 : _g.dontMatch, severity: "error" }), props.passwordChanged ? /* @__PURE__ */ React10.createElement(CardContent, { headless: true }, /* @__PURE__ */ React10.createElement("div", { className: "hawa-text-center" }, texts == null ? void 0 : texts.passwordChanged)) : /* @__PURE__ */ React10.createElement(
819
3063
  "form",
820
3064
  {
821
3065
  noValidate: true,
@@ -829,21 +3073,21 @@ var NewPasswordForm = ({ texts, ...props }) => {
829
3073
  }
830
3074
  })
831
3075
  },
832
- !props.headless && /* @__PURE__ */ React6.createElement(CardHeader, null, /* @__PURE__ */ React6.createElement(CardTitle, null, "Create Password"), /* @__PURE__ */ React6.createElement(CardDescription, null, "Set a new password for your account")),
833
- /* @__PURE__ */ React6.createElement(
3076
+ !props.headless && /* @__PURE__ */ React10.createElement(CardHeader, null, /* @__PURE__ */ React10.createElement(CardTitle, null, "Create Password"), /* @__PURE__ */ React10.createElement(CardDescription, null, "Set a new password for your account")),
3077
+ /* @__PURE__ */ React10.createElement(
834
3078
  CardContent,
835
3079
  {
836
3080
  headless: props.headless,
837
3081
  className: "hawa-flex hawa-flex-col hawa-gap-4"
838
3082
  },
839
- /* @__PURE__ */ React6.createElement(
3083
+ /* @__PURE__ */ React10.createElement(
840
3084
  Controller3,
841
3085
  {
842
3086
  control,
843
3087
  name: "password",
844
3088
  render: ({ field }) => {
845
3089
  var _a2, _b2, _c2;
846
- return /* @__PURE__ */ React6.createElement(
3090
+ return /* @__PURE__ */ React10.createElement(
847
3091
  Input,
848
3092
  {
849
3093
  width: "full",
@@ -858,14 +3102,14 @@ var NewPasswordForm = ({ texts, ...props }) => {
858
3102
  }
859
3103
  }
860
3104
  ),
861
- /* @__PURE__ */ React6.createElement(
3105
+ /* @__PURE__ */ React10.createElement(
862
3106
  Controller3,
863
3107
  {
864
3108
  control,
865
3109
  name: "confirm_password",
866
3110
  render: ({ field }) => {
867
3111
  var _a2, _b2, _c2;
868
- return /* @__PURE__ */ React6.createElement(
3112
+ return /* @__PURE__ */ React10.createElement(
869
3113
  Input,
870
3114
  {
871
3115
  width: "full",
@@ -881,7 +3125,7 @@ var NewPasswordForm = ({ texts, ...props }) => {
881
3125
  }
882
3126
  )
883
3127
  ),
884
- /* @__PURE__ */ React6.createElement(CardFooter, { className: "hawa-flex hawa-flex-col" }, /* @__PURE__ */ React6.createElement(Button, { className: "hawa-w-full", type: "submit" }, texts == null ? void 0 : texts.updatePassword), props.allowRegister && /* @__PURE__ */ React6.createElement("div", { className: "hawa-mt-4 hawa-pb-0 hawa-text-center hawa-text-sm dark:hawa-text-gray-300" }, (_h = texts == null ? void 0 : texts.dontHaveAccount) != null ? _h : "Don't have an account? ", /* @__PURE__ */ React6.createElement(
3128
+ /* @__PURE__ */ React10.createElement(CardFooter, { className: "hawa-flex hawa-flex-col" }, /* @__PURE__ */ React10.createElement(Button, { className: "hawa-w-full", type: "submit" }, texts == null ? void 0 : texts.updatePassword), props.allowRegister && /* @__PURE__ */ React10.createElement("div", { className: "hawa-mt-4 hawa-pb-0 hawa-text-center hawa-text-sm dark:hawa-text-gray-300" }, (_h = texts == null ? void 0 : texts.dontHaveAccount) != null ? _h : "Don't have an account? ", /* @__PURE__ */ React10.createElement(
885
3129
  "span",
886
3130
  {
887
3131
  className: "clickable-link",
@@ -893,7 +3137,7 @@ var NewPasswordForm = ({ texts, ...props }) => {
893
3137
  };
894
3138
 
895
3139
  // components/blocks/auth/ResetPassword.tsx
896
- import React7 from "react";
3140
+ import React11 from "react";
897
3141
  import { Controller as Controller4, useForm as useForm4 } from "react-hook-form";
898
3142
  import { zodResolver as zodResolver4 } from "@hookform/resolvers/zod";
899
3143
  import * as z4 from "zod";
@@ -905,7 +3149,7 @@ var ResetPasswordForm = (props) => {
905
3149
  const { handleSubmit, control, formState } = useForm4({
906
3150
  resolver: zodResolver4(formSchema)
907
3151
  });
908
- return /* @__PURE__ */ React7.createElement(Card, { dir: props.direction }, !props.sent ? /* @__PURE__ */ React7.createElement(React7.Fragment, null, !props.headless && /* @__PURE__ */ React7.createElement(CardHeader, null, /* @__PURE__ */ React7.createElement(CardTitle, null, " ", ((_g = props.texts) == null ? void 0 : _g.headTitle) || "Reset Password"), /* @__PURE__ */ React7.createElement(CardDescription, null, ((_h = props.texts) == null ? void 0 : _h.headDescription) || "Enter your email to reset your account password")), /* @__PURE__ */ React7.createElement(
3152
+ return /* @__PURE__ */ React11.createElement(Card, { dir: props.direction }, !props.sent ? /* @__PURE__ */ React11.createElement(React11.Fragment, null, !props.headless && /* @__PURE__ */ React11.createElement(CardHeader, null, /* @__PURE__ */ React11.createElement(CardTitle, null, " ", ((_g = props.texts) == null ? void 0 : _g.headTitle) || "Reset Password"), /* @__PURE__ */ React11.createElement(CardDescription, null, ((_h = props.texts) == null ? void 0 : _h.headDescription) || "Enter your email to reset your account password")), /* @__PURE__ */ React11.createElement(
909
3153
  "form",
910
3154
  {
911
3155
  noValidate: true,
@@ -917,14 +3161,14 @@ var ResetPasswordForm = (props) => {
917
3161
  }
918
3162
  })
919
3163
  },
920
- /* @__PURE__ */ React7.createElement(CardContent, { headless: props.headless }, /* @__PURE__ */ React7.createElement(
3164
+ /* @__PURE__ */ React11.createElement(CardContent, { headless: props.headless }, /* @__PURE__ */ React11.createElement(
921
3165
  Controller4,
922
3166
  {
923
3167
  control,
924
3168
  name: "email",
925
3169
  render: ({ field }) => {
926
3170
  var _a2, _b2, _c2, _d2, _e2;
927
- return /* @__PURE__ */ React7.createElement(
3171
+ return /* @__PURE__ */ React11.createElement(
928
3172
  Input,
929
3173
  {
930
3174
  width: "full",
@@ -937,7 +3181,7 @@ var ResetPasswordForm = (props) => {
937
3181
  }
938
3182
  }
939
3183
  )),
940
- /* @__PURE__ */ React7.createElement(CardFooter, { className: "hawa-flex hawa-flex-col" }, /* @__PURE__ */ React7.createElement(Button, { type: "submit", className: "hawa-w-full" }, (_i = props.texts) == null ? void 0 : _i.resetPassword), props.allowRegister && /* @__PURE__ */ React7.createElement("div", { className: "hawa-mt-4 hawa-pb-0 hawa-text-center hawa-text-sm dark:hawa-text-gray-300" }, (_k = (_j = props.texts) == null ? void 0 : _j.dontHaveAccount) != null ? _k : "Don't have an account? ", /* @__PURE__ */ React7.createElement(
3184
+ /* @__PURE__ */ React11.createElement(CardFooter, { className: "hawa-flex hawa-flex-col" }, /* @__PURE__ */ React11.createElement(Button, { type: "submit", className: "hawa-w-full" }, (_i = props.texts) == null ? void 0 : _i.resetPassword), props.allowRegister && /* @__PURE__ */ React11.createElement("div", { className: "hawa-mt-4 hawa-pb-0 hawa-text-center hawa-text-sm dark:hawa-text-gray-300" }, (_k = (_j = props.texts) == null ? void 0 : _j.dontHaveAccount) != null ? _k : "Don't have an account? ", /* @__PURE__ */ React11.createElement(
941
3185
  "span",
942
3186
  {
943
3187
  className: "clickable-link",
@@ -945,14 +3189,98 @@ var ResetPasswordForm = (props) => {
945
3189
  },
946
3190
  (_m = (_l = props.texts) == null ? void 0 : _l.registerText) != null ? _m : "Register"
947
3191
  )))
948
- )) : /* @__PURE__ */ React7.createElement(CardContent, { headless: true }, /* @__PURE__ */ React7.createElement("div", { className: "hawa-text-center" }, (_n = props.texts) == null ? void 0 : _n.emailSentText)));
3192
+ )) : /* @__PURE__ */ React11.createElement(CardContent, { headless: true }, /* @__PURE__ */ React11.createElement("div", { className: "hawa-text-center" }, (_n = props.texts) == null ? void 0 : _n.emailSentText)));
949
3193
  };
950
3194
 
951
3195
  // components/blocks/auth/CodeConfirmation.tsx
952
- import React8, { useEffect, useState as useState4 } from "react";
3196
+ import React13, { useEffect as useEffect4, useState as useState7 } from "react";
953
3197
  import { Controller as Controller5, useForm as useForm5 } from "react-hook-form";
954
3198
  import { zodResolver as zodResolver5 } from "@hookform/resolvers/zod";
955
3199
  import * as z5 from "zod";
3200
+
3201
+ // components/elements/pinInput/PinInput.tsx
3202
+ import React12, { useEffect as useEffect3, useState as useState6 } from "react";
3203
+ var PinInput = ({
3204
+ label,
3205
+ icon,
3206
+ digits,
3207
+ width = "normal",
3208
+ getPins,
3209
+ inputProps,
3210
+ ...props
3211
+ }) => {
3212
+ const [pin, setPin] = useState6(Array.from(Array(digits)));
3213
+ const handleKeyDown = (e, index) => {
3214
+ let backTo = 0;
3215
+ if (e.key === "Backspace") {
3216
+ e.target.value.length === 0 ? backTo = index - 1 : backTo = index;
3217
+ const previousInput = document.getElementById(`input-${backTo}`);
3218
+ previousInput == null ? void 0 : previousInput.focus();
3219
+ }
3220
+ };
3221
+ useEffect3(() => {
3222
+ let unfilled = pin.includes(void 0);
3223
+ if (!unfilled && getPins) {
3224
+ getPins(pin);
3225
+ }
3226
+ });
3227
+ const handleChange = (e, index) => {
3228
+ if (!/^\d*$/.test(e.target.value)) {
3229
+ const newPin = [...pin];
3230
+ newPin[index] = "";
3231
+ setPin(newPin);
3232
+ return;
3233
+ } else {
3234
+ const newPin = [...pin];
3235
+ newPin[index] = e.target.value;
3236
+ setPin(newPin);
3237
+ if (e.target.value.length === 1) {
3238
+ const nextInput = document.getElementById(`input-${index + 1}`);
3239
+ nextInput == null ? void 0 : nextInput.focus();
3240
+ } else if (e.target.value.length === 0) {
3241
+ const previousInput = document.getElementById(`input-${index - 1}`);
3242
+ previousInput == null ? void 0 : previousInput.focus();
3243
+ }
3244
+ }
3245
+ };
3246
+ return /* @__PURE__ */ React12.createElement("div", { className: "hawa-flex hawa-flex-col hawa-gap-2" }, /* @__PURE__ */ React12.createElement(
3247
+ "div",
3248
+ {
3249
+ className: "hawa-flex hawa-w-full hawa-flex-row hawa-justify-center hawa-gap-2",
3250
+ dir: "ltr"
3251
+ },
3252
+ pin.map((value, index) => /* @__PURE__ */ React12.createElement(
3253
+ "input",
3254
+ {
3255
+ key: index,
3256
+ type: "text",
3257
+ maxLength: 1,
3258
+ value,
3259
+ id: `input-${index}`,
3260
+ pattern: "[0-9]*",
3261
+ className: cn(
3262
+ "hawa-h-10 hawa-rounded hawa-border hawa-bg-background hawa-text-center",
3263
+ width === "full" ? "hawa-w-full" : "hawa-w-10"
3264
+ ),
3265
+ onChange: (e) => handleChange(e, index),
3266
+ onKeyDown: (e) => handleKeyDown(e, index),
3267
+ onFocus: (e) => e.target.select(),
3268
+ ...inputProps
3269
+ }
3270
+ ))
3271
+ ), /* @__PURE__ */ React12.createElement(
3272
+ "p",
3273
+ {
3274
+ className: cn(
3275
+ "hawa-my-0 hawa-text-start hawa-text-xs hawa-text-helper-color hawa-transition-all",
3276
+ props.helperText ? "hawa-h-4 hawa-opacity-100" : "hawa-h-0 hawa-opacity-0"
3277
+ )
3278
+ },
3279
+ props.helperText
3280
+ ));
3281
+ };
3282
+
3283
+ // components/blocks/auth/CodeConfirmation.tsx
956
3284
  var CodeConfirmation = (props) => {
957
3285
  var _a, _b, _c, _d, _e, _f, _g, _h, _i, _j, _k;
958
3286
  const formSchema = z5.object({
@@ -961,9 +3289,9 @@ var CodeConfirmation = (props) => {
961
3289
  const { handleSubmit, control, formState, setValue } = useForm5({
962
3290
  resolver: zodResolver5(formSchema)
963
3291
  });
964
- const [resendTimer, setResendTimer] = useState4(null);
965
- const [remainingTime, setRemainingTime] = useState4(0);
966
- const [showResendTimer, setShowResendTimer] = useState4(false);
3292
+ const [resendTimer, setResendTimer] = useState7(null);
3293
+ const [remainingTime, setRemainingTime] = useState7(0);
3294
+ const [showResendTimer, setShowResendTimer] = useState7(false);
967
3295
  const startResendTimer = () => {
968
3296
  if (resendTimer !== null) {
969
3297
  clearInterval(resendTimer);
@@ -985,21 +3313,21 @@ var CodeConfirmation = (props) => {
985
3313
  }, 1e3);
986
3314
  setResendTimer(newTimer);
987
3315
  };
988
- useEffect(() => {
3316
+ useEffect4(() => {
989
3317
  return () => {
990
3318
  if (resendTimer !== null) {
991
3319
  clearInterval(resendTimer);
992
3320
  }
993
3321
  };
994
3322
  }, []);
995
- return /* @__PURE__ */ React8.createElement(Card, null, /* @__PURE__ */ React8.createElement(CardContent, { headless: true }, props.showError && /* @__PURE__ */ React8.createElement(
3323
+ return /* @__PURE__ */ React13.createElement(Card, null, /* @__PURE__ */ React13.createElement(CardContent, { headless: true }, props.showError && /* @__PURE__ */ React13.createElement(
996
3324
  Alert,
997
3325
  {
998
3326
  title: props.errorTitle,
999
3327
  text: props.errorText,
1000
3328
  severity: "error"
1001
3329
  }
1002
- ), /* @__PURE__ */ React8.createElement("div", { className: "hawa-mb-4 dark:hawa-text-white" }, /* @__PURE__ */ React8.createElement("div", { className: "hawa-text-lg hawa-font-bold" }, ((_c = props.texts) == null ? void 0 : _c.checkYourPhone) || "Please check your phone"), /* @__PURE__ */ React8.createElement("div", { className: "hawa-text-muted-foreground" }, /* @__PURE__ */ React8.createElement("span", null, ((_d = props.texts) == null ? void 0 : _d.weSentCode) || "We've sent a code to "), /* @__PURE__ */ React8.createElement("span", null, props.phoneNumber))), /* @__PURE__ */ React8.createElement(
3330
+ ), /* @__PURE__ */ React13.createElement("div", { className: "hawa-mb-4 dark:hawa-text-white" }, /* @__PURE__ */ React13.createElement("div", { className: "hawa-text-lg hawa-font-bold" }, ((_c = props.texts) == null ? void 0 : _c.checkYourPhone) || "Please check your phone"), /* @__PURE__ */ React13.createElement("div", { className: "hawa-text-muted-foreground" }, /* @__PURE__ */ React13.createElement("span", null, ((_d = props.texts) == null ? void 0 : _d.weSentCode) || "We've sent a code to "), /* @__PURE__ */ React13.createElement("span", null, props.phoneNumber))), /* @__PURE__ */ React13.createElement(
1003
3331
  "form",
1004
3332
  {
1005
3333
  noValidate: true,
@@ -1013,14 +3341,14 @@ var CodeConfirmation = (props) => {
1013
3341
  }
1014
3342
  })
1015
3343
  },
1016
- /* @__PURE__ */ React8.createElement(
3344
+ /* @__PURE__ */ React13.createElement(
1017
3345
  Controller5,
1018
3346
  {
1019
3347
  control,
1020
3348
  name: "otp_code",
1021
3349
  render: ({ field }) => {
1022
3350
  var _a2;
1023
- return /* @__PURE__ */ React8.createElement(
3351
+ return /* @__PURE__ */ React13.createElement(
1024
3352
  PinInput,
1025
3353
  {
1026
3354
  width: "full",
@@ -1032,7 +3360,7 @@ var CodeConfirmation = (props) => {
1032
3360
  }
1033
3361
  }
1034
3362
  ),
1035
- showResendTimer ? /* @__PURE__ */ React8.createElement("div", { className: " hawa-py-2 hawa-text-center hawa-text-xs hawa-text-muted-foreground" }, (_e = props.texts) == null ? void 0 : _e.resendCodeTimer, " ", /* @__PURE__ */ React8.createElement("strong", null, remainingTime), " ", (_f = props.texts) == null ? void 0 : _f.seconds) : /* @__PURE__ */ React8.createElement("div", { className: " hawa-py-2 hawa-text-center hawa-text-xs hawa-text-muted-foreground" }, /* @__PURE__ */ React8.createElement("span", null, (_h = (_g = props.texts) == null ? void 0 : _g.didntGetCode) != null ? _h : "Didn't get the code?"), " ", /* @__PURE__ */ React8.createElement(
3363
+ showResendTimer ? /* @__PURE__ */ React13.createElement("div", { className: " hawa-py-2 hawa-text-center hawa-text-xs hawa-text-muted-foreground" }, (_e = props.texts) == null ? void 0 : _e.resendCodeTimer, " ", /* @__PURE__ */ React13.createElement("strong", null, remainingTime), " ", (_f = props.texts) == null ? void 0 : _f.seconds) : /* @__PURE__ */ React13.createElement("div", { className: " hawa-py-2 hawa-text-center hawa-text-xs hawa-text-muted-foreground" }, /* @__PURE__ */ React13.createElement("span", null, (_h = (_g = props.texts) == null ? void 0 : _g.didntGetCode) != null ? _h : "Didn't get the code?"), " ", /* @__PURE__ */ React13.createElement(
1036
3364
  "span",
1037
3365
  {
1038
3366
  className: "clickable-link",
@@ -1043,7 +3371,7 @@ var CodeConfirmation = (props) => {
1043
3371
  },
1044
3372
  ((_i = props.texts) == null ? void 0 : _i.resendCode) || "Click to resend"
1045
3373
  )),
1046
- /* @__PURE__ */ React8.createElement("div", { className: "hawa-mt-4 hawa-grid hawa-grid-cols-2 hawa-gap-2" }, /* @__PURE__ */ React8.createElement(Button, { variant: "secondary" }, ((_j = props.texts) == null ? void 0 : _j.cancel) || "Cancel"), /* @__PURE__ */ React8.createElement(Button, { isLoading: props.confirmLoading }, ((_k = props.texts) == null ? void 0 : _k.confirm) || "Confirm"))
3374
+ /* @__PURE__ */ React13.createElement("div", { className: "hawa-mt-4 hawa-grid hawa-grid-cols-2 hawa-gap-2" }, /* @__PURE__ */ React13.createElement(Button, { variant: "secondary" }, ((_j = props.texts) == null ? void 0 : _j.cancel) || "Cancel"), /* @__PURE__ */ React13.createElement(Button, { isLoading: props.confirmLoading }, ((_k = props.texts) == null ? void 0 : _k.confirm) || "Confirm"))
1047
3375
  )));
1048
3376
  };
1049
3377
  export {