@sikka/hawa 0.48.0-next → 0.49.0-next
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/accordion/index.js +3 -28
- package/dist/accordion/index.js.map +1 -1
- package/dist/accordion/index.mjs +3 -28
- package/dist/accordion/index.mjs.map +1 -1
- package/dist/alert/index.js +53 -98
- package/dist/alert/index.js.map +1 -1
- package/dist/alert/index.mjs +53 -98
- package/dist/alert/index.mjs.map +1 -1
- package/dist/appLayout/index.d.mts +2 -0
- package/dist/appLayout/index.d.ts +2 -0
- package/dist/appLayout/index.js +263 -409
- package/dist/appLayout/index.js.map +1 -1
- package/dist/appLayout/index.mjs +263 -409
- package/dist/appLayout/index.mjs.map +1 -1
- package/dist/appMenubar/index.js +15 -20
- package/dist/appMenubar/index.js.map +1 -1
- package/dist/appMenubar/index.mjs +15 -20
- package/dist/appMenubar/index.mjs.map +1 -1
- package/dist/appTabs/index.js +28 -37
- package/dist/appTabs/index.js.map +1 -1
- package/dist/appTabs/index.mjs +28 -37
- package/dist/appTabs/index.mjs.map +1 -1
- package/dist/appTopbar/index.js +125 -173
- package/dist/appTopbar/index.js.map +1 -1
- package/dist/appTopbar/index.mjs +125 -173
- package/dist/appTopbar/index.mjs.map +1 -1
- package/dist/avatar/index.js.map +1 -1
- package/dist/avatar/index.mjs.map +1 -1
- package/dist/backToTop/index.js +50 -82
- package/dist/backToTop/index.js.map +1 -1
- package/dist/backToTop/index.mjs +50 -82
- package/dist/backToTop/index.mjs.map +1 -1
- package/dist/badge/index.d.mts +1 -1
- package/dist/badge/index.d.ts +1 -1
- package/dist/badge/index.js +2 -18
- package/dist/badge/index.js.map +1 -1
- package/dist/badge/index.mjs +2 -18
- package/dist/badge/index.mjs.map +1 -1
- package/dist/blocks/auth/index.d.mts +1 -0
- package/dist/blocks/auth/index.d.ts +1 -0
- package/dist/blocks/auth/index.js +539 -792
- package/dist/blocks/auth/index.mjs +433 -604
- package/dist/blocks/feedback/index.js +214 -375
- package/dist/blocks/feedback/index.mjs +12 -25
- package/dist/blocks/index.d.mts +1 -0
- package/dist/blocks/index.d.ts +1 -0
- package/dist/blocks/index.js +940 -1445
- package/dist/blocks/index.mjs +469 -615
- package/dist/blocks/misc/index.js +136 -251
- package/dist/blocks/misc/index.mjs +29 -54
- package/dist/blocks/pricing/index.js +220 -397
- package/dist/blocks/pricing/index.mjs +63 -134
- package/dist/breadcrumb/index.js +1 -5
- package/dist/breadcrumb/index.js.map +1 -1
- package/dist/breadcrumb/index.mjs +1 -5
- package/dist/breadcrumb/index.mjs.map +1 -1
- package/dist/button/index.js +50 -82
- package/dist/button/index.js.map +1 -1
- package/dist/button/index.mjs +50 -82
- package/dist/button/index.mjs.map +1 -1
- package/dist/calendar/index.js +50 -82
- package/dist/calendar/index.js.map +1 -1
- package/dist/calendar/index.mjs +50 -82
- package/dist/calendar/index.mjs.map +1 -1
- package/dist/card/index.js +7 -35
- package/dist/card/index.js.map +1 -1
- package/dist/card/index.mjs +7 -35
- package/dist/card/index.mjs.map +1 -1
- package/dist/carousel/index.js +15 -27
- package/dist/carousel/index.js.map +1 -1
- package/dist/carousel/index.mjs +15 -27
- package/dist/carousel/index.mjs.map +1 -1
- package/dist/checkbox/index.js +2 -13
- package/dist/checkbox/index.js.map +1 -1
- package/dist/checkbox/index.mjs +2 -13
- package/dist/checkbox/index.mjs.map +1 -1
- package/dist/chip/index.js +2 -16
- package/dist/chip/index.js.map +1 -1
- package/dist/chip/index.mjs +2 -16
- package/dist/chip/index.mjs.map +1 -1
- package/dist/{chunk-WUMDFBEK.mjs → chunk-3CHFVHTW.mjs} +43 -54
- package/dist/{chunk-2LUXOXAL.mjs → chunk-5SQBJRWE.mjs} +3 -9
- package/dist/{chunk-C2UOOH4X.mjs → chunk-B53SP2WZ.mjs} +3 -17
- package/dist/chunk-GHGWQVTM.mjs +150 -0
- package/dist/{chunk-5S5DR7KF.mjs → chunk-I23ONEDJ.mjs} +2 -10
- package/dist/{chunk-JFWD2ICY.mjs → chunk-JT7R3L5O.mjs} +54 -62
- package/dist/{chunk-6SJUUJOV.mjs → chunk-KDGJZPWK.mjs} +295 -574
- package/dist/{chunk-AWJSHOYU.mjs → chunk-KSJGXQTE.mjs} +1 -1
- package/dist/{chunk-NMW4GM4G.mjs → chunk-SE2JMXYG.mjs} +104 -144
- package/dist/{chunk-GBLWUEYN.mjs → chunk-ULRL4WI6.mjs} +176 -256
- package/dist/{chunk-IFWYR5W2.mjs → chunk-VUELRPUL.mjs} +57 -117
- package/dist/{chunk-WL7C2A5D.mjs → chunk-WQR4XZGL.mjs} +8 -15
- package/dist/codeBlock/index.js +50 -82
- package/dist/codeBlock/index.js.map +1 -1
- package/dist/codeBlock/index.mjs +50 -82
- package/dist/codeBlock/index.mjs.map +1 -1
- package/dist/colorPicker/index.js +21 -33
- package/dist/colorPicker/index.js.map +1 -1
- package/dist/colorPicker/index.mjs +22 -37
- package/dist/colorPicker/index.mjs.map +1 -1
- package/dist/combobox/index.d.mts +1 -1
- package/dist/combobox/index.d.ts +1 -1
- package/dist/combobox/index.js +141 -223
- package/dist/combobox/index.js.map +1 -1
- package/dist/combobox/index.mjs +141 -223
- package/dist/combobox/index.mjs.map +1 -1
- package/dist/command/index.d.mts +1 -1
- package/dist/command/index.d.ts +1 -1
- package/dist/command/index.js +129 -212
- package/dist/command/index.js.map +1 -1
- package/dist/command/index.mjs +129 -212
- package/dist/command/index.mjs.map +1 -1
- package/dist/dataTable/index.js +254 -394
- package/dist/dataTable/index.js.map +1 -1
- package/dist/dataTable/index.mjs +254 -394
- package/dist/dataTable/index.mjs.map +1 -1
- package/dist/datePicker/index.js +64 -105
- package/dist/datePicker/index.js.map +1 -1
- package/dist/datePicker/index.mjs +64 -105
- package/dist/datePicker/index.mjs.map +1 -1
- package/dist/destroyableCard/index.js +8 -39
- package/dist/destroyableCard/index.js.map +1 -1
- package/dist/destroyableCard/index.mjs +8 -39
- package/dist/destroyableCard/index.mjs.map +1 -1
- package/dist/dialog/index.js +70 -122
- package/dist/dialog/index.js.map +1 -1
- package/dist/dialog/index.mjs +70 -122
- package/dist/dialog/index.mjs.map +1 -1
- package/dist/docsLayout/index.js +169 -358
- package/dist/docsLayout/index.js.map +1 -1
- package/dist/docsLayout/index.mjs +169 -358
- package/dist/docsLayout/index.mjs.map +1 -1
- package/dist/docsSidebar/index.js +9 -16
- package/dist/docsSidebar/index.js.map +1 -1
- package/dist/docsSidebar/index.mjs +9 -16
- package/dist/docsSidebar/index.mjs.map +1 -1
- package/dist/dropdownMenu/index.js +124 -164
- package/dist/dropdownMenu/index.js.map +1 -1
- package/dist/dropdownMenu/index.mjs +124 -164
- package/dist/dropdownMenu/index.mjs.map +1 -1
- package/dist/elements/index.d.mts +3 -3
- package/dist/elements/index.d.ts +3 -3
- package/dist/elements/index.js +841 -1505
- package/dist/elements/index.mjs +381 -718
- package/dist/fileDropzone/index.js +60 -159
- package/dist/fileDropzone/index.js.map +1 -1
- package/dist/fileDropzone/index.mjs +60 -159
- package/dist/fileDropzone/index.mjs.map +1 -1
- package/dist/glow/index.js +4 -16
- package/dist/glow/index.js.map +1 -1
- package/dist/glow/index.mjs +4 -16
- package/dist/glow/index.mjs.map +1 -1
- package/dist/hooks/index.d.mts +1 -5
- package/dist/hooks/index.d.ts +1 -5
- package/dist/hooks/index.js +11 -24
- package/dist/hooks/index.mjs +2 -2
- package/dist/{index-B0aJcA6d.d.ts → index-BgNycocQ.d.mts} +2 -2
- package/dist/{index-B0aJcA6d.d.mts → index-BgNycocQ.d.ts} +2 -2
- package/dist/index.css +1 -6
- package/dist/index.d.mts +7 -8
- package/dist/index.d.ts +7 -8
- package/dist/index.js +1549 -2512
- package/dist/index.mjs +1550 -2516
- package/dist/input/index.js +20 -29
- package/dist/input/index.js.map +1 -1
- package/dist/input/index.mjs +20 -29
- package/dist/input/index.mjs.map +1 -1
- package/dist/interfaceSettings/index.js +122 -163
- package/dist/interfaceSettings/index.js.map +1 -1
- package/dist/interfaceSettings/index.mjs +122 -163
- package/dist/interfaceSettings/index.mjs.map +1 -1
- package/dist/label/index.js +19 -26
- package/dist/label/index.js.map +1 -1
- package/dist/label/index.mjs +19 -26
- package/dist/label/index.mjs.map +1 -1
- package/dist/layout/index.d.mts +2 -0
- package/dist/layout/index.d.ts +2 -0
- package/dist/layout/index.js +434 -790
- package/dist/layout/index.mjs +143 -243
- package/dist/loading/index.js +30 -53
- package/dist/loading/index.js.map +1 -1
- package/dist/loading/index.mjs +30 -53
- package/dist/loading/index.mjs.map +1 -1
- package/dist/logos/index.js +66 -191
- package/dist/logos/index.js.map +1 -1
- package/dist/logos/index.mjs +66 -191
- package/dist/logos/index.mjs.map +1 -1
- package/dist/navbar/index.js +1 -4
- package/dist/navbar/index.js.map +1 -1
- package/dist/navbar/index.mjs +1 -4
- package/dist/navbar/index.mjs.map +1 -1
- package/dist/navigationMenu/index.js +14 -22
- package/dist/navigationMenu/index.js.map +1 -1
- package/dist/navigationMenu/index.mjs +14 -22
- package/dist/navigationMenu/index.mjs.map +1 -1
- package/dist/pagination/index.js +1 -5
- package/dist/pagination/index.js.map +1 -1
- package/dist/pagination/index.mjs +1 -5
- package/dist/pagination/index.mjs.map +1 -1
- package/dist/passwordInput/index.js +36 -65
- package/dist/passwordInput/index.js.map +1 -1
- package/dist/passwordInput/index.mjs +36 -65
- package/dist/passwordInput/index.mjs.map +1 -1
- package/dist/phoneInput/index.js +20 -29
- package/dist/phoneInput/index.js.map +1 -1
- package/dist/phoneInput/index.mjs +20 -29
- package/dist/phoneInput/index.mjs.map +1 -1
- package/dist/pinInput/index.js +14 -16
- package/dist/pinInput/index.js.map +1 -1
- package/dist/pinInput/index.mjs +14 -16
- package/dist/pinInput/index.mjs.map +1 -1
- package/dist/popover/index.js +14 -24
- package/dist/popover/index.js.map +1 -1
- package/dist/popover/index.mjs +14 -24
- package/dist/popover/index.mjs.map +1 -1
- package/dist/progress/index.js +19 -26
- package/dist/progress/index.js.map +1 -1
- package/dist/progress/index.mjs +19 -26
- package/dist/progress/index.mjs.map +1 -1
- package/dist/progressCircle/index.js +67 -71
- package/dist/progressCircle/index.js.map +1 -1
- package/dist/progressCircle/index.mjs +67 -71
- package/dist/progressCircle/index.mjs.map +1 -1
- package/dist/radio/index.js +122 -163
- package/dist/radio/index.js.map +1 -1
- package/dist/radio/index.mjs +122 -163
- package/dist/radio/index.mjs.map +1 -1
- package/dist/scrollArea/index.js.map +1 -1
- package/dist/scrollArea/index.mjs.map +1 -1
- package/dist/scrollIndicator/index.js +1 -4
- package/dist/scrollIndicator/index.js.map +1 -1
- package/dist/scrollIndicator/index.mjs +1 -4
- package/dist/scrollIndicator/index.mjs.map +1 -1
- package/dist/select/index.js +20 -29
- package/dist/select/index.js.map +1 -1
- package/dist/select/index.mjs +20 -29
- package/dist/select/index.mjs.map +1 -1
- package/dist/separator/index.js.map +1 -1
- package/dist/separator/index.mjs.map +1 -1
- package/dist/sheet/index.js +42 -53
- package/dist/sheet/index.js.map +1 -1
- package/dist/sheet/index.mjs +42 -53
- package/dist/sheet/index.mjs.map +1 -1
- package/dist/sidebar/index.js +66 -133
- package/dist/sidebar/index.js.map +1 -1
- package/dist/sidebar/index.mjs +66 -133
- package/dist/sidebar/index.mjs.map +1 -1
- package/dist/signature/index.js +19 -26
- package/dist/signature/index.js.map +1 -1
- package/dist/signature/index.mjs +19 -26
- package/dist/signature/index.mjs.map +1 -1
- package/dist/simpleTable/index.js +50 -81
- package/dist/simpleTable/index.js.map +1 -1
- package/dist/simpleTable/index.mjs +50 -81
- package/dist/simpleTable/index.mjs.map +1 -1
- package/dist/skeleton/index.js.map +1 -1
- package/dist/skeleton/index.mjs.map +1 -1
- package/dist/slider/index.js.map +1 -1
- package/dist/slider/index.mjs.map +1 -1
- package/dist/sonner/index.js.map +1 -1
- package/dist/sonner/index.mjs.map +1 -1
- package/dist/sortButton/index.js +50 -82
- package/dist/sortButton/index.js.map +1 -1
- package/dist/sortButton/index.mjs +50 -82
- package/dist/sortButton/index.mjs.map +1 -1
- package/dist/splitButton/index.js +214 -294
- package/dist/splitButton/index.js.map +1 -1
- package/dist/splitButton/index.mjs +214 -294
- package/dist/splitButton/index.mjs.map +1 -1
- package/dist/stats/index.js +7 -35
- package/dist/stats/index.js.map +1 -1
- package/dist/stats/index.mjs +7 -35
- package/dist/stats/index.mjs.map +1 -1
- package/dist/switch/index.js +24 -34
- package/dist/switch/index.js.map +1 -1
- package/dist/switch/index.mjs +24 -34
- package/dist/switch/index.mjs.map +1 -1
- package/dist/table/index.js +27 -29
- package/dist/table/index.js.map +1 -1
- package/dist/table/index.mjs +27 -29
- package/dist/table/index.mjs.map +1 -1
- package/dist/tabs/index.js +54 -76
- package/dist/tabs/index.js.map +1 -1
- package/dist/tabs/index.mjs +54 -76
- package/dist/tabs/index.mjs.map +1 -1
- package/dist/textarea/index.js +21 -38
- package/dist/textarea/index.js.map +1 -1
- package/dist/textarea/index.mjs +21 -38
- package/dist/textarea/index.mjs.map +1 -1
- package/dist/toast/index.js +2 -10
- package/dist/toast/index.js.map +1 -1
- package/dist/toast/index.mjs +2 -10
- package/dist/toast/index.mjs.map +1 -1
- package/dist/toaster/index.js +3 -16
- package/dist/toaster/index.js.map +1 -1
- package/dist/toaster/index.mjs +3 -16
- package/dist/toaster/index.mjs.map +1 -1
- package/dist/tooltip/index.js +19 -26
- package/dist/tooltip/index.js.map +1 -1
- package/dist/tooltip/index.mjs +19 -26
- package/dist/tooltip/index.mjs.map +1 -1
- package/package.json +12 -12
- package/dist/chunk-JP2N5WKD.mjs +0 -190
@@ -60,9 +60,7 @@ var import_class_variance_authority = require("class-variance-authority");
|
|
60
60
|
|
61
61
|
// elements/helperText/HelperText.tsx
|
62
62
|
var import_react = __toESM(require("react"));
|
63
|
-
var HelperText = ({
|
64
|
-
helperText
|
65
|
-
}) => /* @__PURE__ */ import_react.default.createElement(
|
63
|
+
var HelperText = ({ helperText }) => /* @__PURE__ */ import_react.default.createElement(
|
66
64
|
"p",
|
67
65
|
{
|
68
66
|
className: cn(
|
@@ -113,38 +111,31 @@ var Tooltip = ({
|
|
113
111
|
delayDuration = 300,
|
114
112
|
...props
|
115
113
|
}) => {
|
116
|
-
return /* @__PURE__ */ import_react2.default.createElement(
|
117
|
-
TooltipPrimitive.
|
114
|
+
return /* @__PURE__ */ import_react2.default.createElement(TooltipPrimitive.TooltipProvider, { delayDuration, ...providerProps }, /* @__PURE__ */ import_react2.default.createElement(
|
115
|
+
TooltipPrimitive.Root,
|
118
116
|
{
|
119
|
-
|
120
|
-
|
117
|
+
open: !disabled && open,
|
118
|
+
defaultOpen,
|
119
|
+
onOpenChange,
|
120
|
+
...props
|
121
121
|
},
|
122
|
+
/* @__PURE__ */ import_react2.default.createElement(TooltipPrimitive.Trigger, { ...triggerProps }, children),
|
122
123
|
/* @__PURE__ */ import_react2.default.createElement(
|
123
|
-
|
124
|
+
TooltipContent,
|
124
125
|
{
|
125
|
-
|
126
|
-
|
127
|
-
|
128
|
-
...
|
126
|
+
size,
|
127
|
+
side,
|
128
|
+
align: "center",
|
129
|
+
...contentProps,
|
130
|
+
style: {
|
131
|
+
...contentProps == null ? void 0 : contentProps.style,
|
132
|
+
maxWidth: "var(--radix-tooltip-content-available-width)",
|
133
|
+
maxHeight: "var(--radix-tooltip-content-available-height)"
|
134
|
+
}
|
129
135
|
},
|
130
|
-
|
131
|
-
/* @__PURE__ */ import_react2.default.createElement(
|
132
|
-
TooltipContent,
|
133
|
-
{
|
134
|
-
size,
|
135
|
-
side,
|
136
|
-
align: "center",
|
137
|
-
...contentProps,
|
138
|
-
style: {
|
139
|
-
...contentProps == null ? void 0 : contentProps.style,
|
140
|
-
maxWidth: "var(--radix-tooltip-content-available-width)",
|
141
|
-
maxHeight: "var(--radix-tooltip-content-available-height)"
|
142
|
-
}
|
143
|
-
},
|
144
|
-
content
|
145
|
-
)
|
136
|
+
content
|
146
137
|
)
|
147
|
-
);
|
138
|
+
));
|
148
139
|
};
|
149
140
|
|
150
141
|
// elements/label/Label.tsx
|
@@ -221,57 +212,42 @@ var Loading = ({
|
|
221
212
|
};
|
222
213
|
switch (design.split("-")[0]) {
|
223
214
|
case "dots":
|
224
|
-
return /* @__PURE__ */ import_react3.default.createElement(
|
215
|
+
return /* @__PURE__ */ import_react3.default.createElement("div", { className: cn("hawa-flex hawa-flex-row hawa-gap-2", classNames == null ? void 0 : classNames.container) }, /* @__PURE__ */ import_react3.default.createElement(
|
225
216
|
"div",
|
226
217
|
{
|
227
218
|
className: cn(
|
228
|
-
"hawa-
|
229
|
-
|
219
|
+
"hawa-animate-bounce hawa-rounded-full hawa-delay-100 hawa-repeat-infinite",
|
220
|
+
size === "button" ? "hawa-h-2 hawa-w-2" : sizeStyles[size],
|
221
|
+
animationStyles[design.split("-")[1]],
|
222
|
+
color ? color : "hawa-bg-primary"
|
230
223
|
)
|
231
|
-
}
|
232
|
-
|
233
|
-
|
234
|
-
|
235
|
-
|
236
|
-
|
237
|
-
|
238
|
-
|
239
|
-
|
240
|
-
|
241
|
-
|
242
|
-
|
243
|
-
|
244
|
-
|
245
|
-
|
246
|
-
|
247
|
-
|
248
|
-
|
249
|
-
|
250
|
-
|
251
|
-
|
252
|
-
|
253
|
-
),
|
254
|
-
/* @__PURE__ */ import_react3.default.createElement(
|
255
|
-
"div",
|
256
|
-
{
|
257
|
-
className: cn(
|
258
|
-
"hawa-animate-bounce hawa-rounded-full hawa-delay-300 hawa-repeat-infinite",
|
259
|
-
size === "button" ? "hawa-h-2 hawa-w-2" : sizeStyles[size],
|
260
|
-
animationStyles[design.split("-")[1]],
|
261
|
-
color ? color : "hawa-bg-primary"
|
262
|
-
)
|
263
|
-
}
|
264
|
-
)
|
265
|
-
);
|
224
|
+
}
|
225
|
+
), /* @__PURE__ */ import_react3.default.createElement(
|
226
|
+
"div",
|
227
|
+
{
|
228
|
+
className: cn(
|
229
|
+
"hawa-animate-bounce hawa-rounded-full hawa-delay-200 hawa-repeat-infinite",
|
230
|
+
size === "button" ? "hawa-h-2 hawa-w-2" : sizeStyles[size],
|
231
|
+
animationStyles[design.split("-")[1]],
|
232
|
+
color ? color : "hawa-bg-primary"
|
233
|
+
)
|
234
|
+
}
|
235
|
+
), /* @__PURE__ */ import_react3.default.createElement(
|
236
|
+
"div",
|
237
|
+
{
|
238
|
+
className: cn(
|
239
|
+
"hawa-animate-bounce hawa-rounded-full hawa-delay-300 hawa-repeat-infinite",
|
240
|
+
size === "button" ? "hawa-h-2 hawa-w-2" : sizeStyles[size],
|
241
|
+
animationStyles[design.split("-")[1]],
|
242
|
+
color ? color : "hawa-bg-primary"
|
243
|
+
)
|
244
|
+
}
|
245
|
+
));
|
266
246
|
case "square":
|
267
247
|
return /* @__PURE__ */ import_react3.default.createElement(
|
268
248
|
"svg",
|
269
249
|
{
|
270
|
-
className: cn(
|
271
|
-
"squircle-container",
|
272
|
-
sizeStyles[size],
|
273
|
-
classNames == null ? void 0 : classNames.container
|
274
|
-
),
|
250
|
+
className: cn("squircle-container", sizeStyles[size], classNames == null ? void 0 : classNames.container),
|
275
251
|
viewBox: "0 0 35 35",
|
276
252
|
height: "35",
|
277
253
|
width: "35"
|
@@ -312,11 +288,7 @@ var Loading = ({
|
|
312
288
|
height: "37",
|
313
289
|
width: "37",
|
314
290
|
preserveAspectRatio: "xMidYMid meet",
|
315
|
-
className: cn(
|
316
|
-
"squircle-container",
|
317
|
-
sizeStyles[size],
|
318
|
-
classNames == null ? void 0 : classNames.container
|
319
|
-
)
|
291
|
+
className: cn("squircle-container", sizeStyles[size], classNames == null ? void 0 : classNames.container)
|
320
292
|
},
|
321
293
|
/* @__PURE__ */ import_react3.default.createElement(
|
322
294
|
"path",
|
@@ -359,11 +331,7 @@ var Loading = ({
|
|
359
331
|
viewBox: "0 0 40 40",
|
360
332
|
height: "40",
|
361
333
|
width: "40",
|
362
|
-
className: cn(
|
363
|
-
"circle-container",
|
364
|
-
sizeStyles[size],
|
365
|
-
classNames == null ? void 0 : classNames.container
|
366
|
-
)
|
334
|
+
className: cn("circle-container", sizeStyles[size], classNames == null ? void 0 : classNames.container)
|
367
335
|
},
|
368
336
|
/* @__PURE__ */ import_react3.default.createElement(
|
369
337
|
"circle",
|
@@ -653,22 +621,13 @@ var Logos = {
|
|
653
621
|
}
|
654
622
|
)
|
655
623
|
),
|
656
|
-
hawa: (props) => /* @__PURE__ */ import_react4.default.createElement(
|
657
|
-
"
|
624
|
+
hawa: (props) => /* @__PURE__ */ import_react4.default.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", xmlSpace: "preserve", viewBox: "0 0 765 765", ...props }, /* @__PURE__ */ import_react4.default.createElement(
|
625
|
+
"path",
|
658
626
|
{
|
659
|
-
|
660
|
-
|
661
|
-
|
662
|
-
|
663
|
-
},
|
664
|
-
/* @__PURE__ */ import_react4.default.createElement(
|
665
|
-
"path",
|
666
|
-
{
|
667
|
-
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",
|
668
|
-
fill: "currentColor"
|
669
|
-
}
|
670
|
-
)
|
671
|
-
),
|
627
|
+
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",
|
628
|
+
fill: "currentColor"
|
629
|
+
}
|
630
|
+
)),
|
672
631
|
sikka: (props) => /* @__PURE__ */ import_react4.default.createElement(
|
673
632
|
"svg",
|
674
633
|
{
|
@@ -737,101 +696,42 @@ var Logos = {
|
|
737
696
|
d: "M18.901 1.153h3.68l-8.04 9.19L24 22.846h-7.406l-5.8-7.584-6.638 7.584H.474l8.6-9.83L0 1.154h7.594l5.243 6.932ZM17.61 20.644h2.039L6.486 3.24H4.298Z"
|
738
697
|
}
|
739
698
|
)),
|
740
|
-
instagram: (props) => /* @__PURE__ */ import_react4.default.createElement(
|
741
|
-
|
699
|
+
instagram: (props) => /* @__PURE__ */ import_react4.default.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", fill: "currentColor", viewBox: "0 0 16 16", ...props }, /* @__PURE__ */ import_react4.default.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" })),
|
700
|
+
telegram: (props) => /* @__PURE__ */ import_react4.default.createElement("svg", { role: "img", viewBox: "0 0 24 24", xmlns: "http://www.w3.org/2000/svg", ...props }, /* @__PURE__ */ import_react4.default.createElement("title", null, "Telegram"), /* @__PURE__ */ import_react4.default.createElement(
|
701
|
+
"path",
|
742
702
|
{
|
743
|
-
xmlns: "http://www.w3.org/2000/svg",
|
744
703
|
fill: "currentColor",
|
745
|
-
|
746
|
-
|
747
|
-
|
748
|
-
|
749
|
-
|
750
|
-
telegram: (props) => /* @__PURE__ */ import_react4.default.createElement(
|
751
|
-
"svg",
|
752
|
-
{
|
753
|
-
role: "img",
|
754
|
-
viewBox: "0 0 24 24",
|
755
|
-
xmlns: "http://www.w3.org/2000/svg",
|
756
|
-
...props
|
757
|
-
},
|
758
|
-
/* @__PURE__ */ import_react4.default.createElement("title", null, "Telegram"),
|
759
|
-
/* @__PURE__ */ import_react4.default.createElement(
|
760
|
-
"path",
|
761
|
-
{
|
762
|
-
fill: "currentColor",
|
763
|
-
d: "M11.944 0A12 12 0 0 0 0 12a12 12 0 0 0 12 12 12 12 0 0 0 12-12A12 12 0 0 0 12 0a12 12 0 0 0-.056 0zm4.962 7.224c.1-.002.321.023.465.14a.506.506 0 0 1 .171.325c.016.093.036.306.02.472-.18 1.898-.962 6.502-1.36 8.627-.168.9-.499 1.201-.82 1.23-.696.065-1.225-.46-1.9-.902-1.056-.693-1.653-1.124-2.678-1.8-1.185-.78-.417-1.21.258-1.91.177-.184 3.247-2.977 3.307-3.23.007-.032.014-.15-.056-.212s-.174-.041-.249-.024c-.106.024-1.793 1.14-5.061 3.345-.48.33-.913.49-1.302.48-.428-.008-1.252-.241-1.865-.44-.752-.245-1.349-.374-1.297-.789.027-.216.325-.437.893-.663 3.498-1.524 5.83-2.529 6.998-3.014 3.332-1.386 4.025-1.627 4.476-1.635z"
|
764
|
-
}
|
765
|
-
)
|
766
|
-
),
|
767
|
-
youtube: (props) => /* @__PURE__ */ import_react4.default.createElement(
|
768
|
-
"svg",
|
704
|
+
d: "M11.944 0A12 12 0 0 0 0 12a12 12 0 0 0 12 12 12 12 0 0 0 12-12A12 12 0 0 0 12 0a12 12 0 0 0-.056 0zm4.962 7.224c.1-.002.321.023.465.14a.506.506 0 0 1 .171.325c.016.093.036.306.02.472-.18 1.898-.962 6.502-1.36 8.627-.168.9-.499 1.201-.82 1.23-.696.065-1.225-.46-1.9-.902-1.056-.693-1.653-1.124-2.678-1.8-1.185-.78-.417-1.21.258-1.91.177-.184 3.247-2.977 3.307-3.23.007-.032.014-.15-.056-.212s-.174-.041-.249-.024c-.106.024-1.793 1.14-5.061 3.345-.48.33-.913.49-1.302.48-.428-.008-1.252-.241-1.865-.44-.752-.245-1.349-.374-1.297-.789.027-.216.325-.437.893-.663 3.498-1.524 5.83-2.529 6.998-3.014 3.332-1.386 4.025-1.627 4.476-1.635z"
|
705
|
+
}
|
706
|
+
)),
|
707
|
+
youtube: (props) => /* @__PURE__ */ import_react4.default.createElement("svg", { role: "img", viewBox: "0 0 24 24", xmlns: "http://www.w3.org/2000/svg", ...props }, /* @__PURE__ */ import_react4.default.createElement("title", null, "YouTube"), /* @__PURE__ */ import_react4.default.createElement(
|
708
|
+
"path",
|
769
709
|
{
|
770
|
-
|
771
|
-
|
772
|
-
|
773
|
-
|
774
|
-
|
775
|
-
|
776
|
-
/* @__PURE__ */ import_react4.default.createElement(
|
777
|
-
"path",
|
778
|
-
{
|
779
|
-
fill: "currentColor",
|
780
|
-
d: "M23.498 6.186a3.016 3.016 0 0 0-2.122-2.136C19.505 3.545 12 3.545 12 3.545s-7.505 0-9.377.505A3.017 3.017 0 0 0 .502 6.186C0 8.07 0 12 0 12s0 3.93.502 5.814a3.016 3.016 0 0 0 2.122 2.136c1.871.505 9.376.505 9.376.505s7.505 0 9.377-.505a3.015 3.015 0 0 0 2.122-2.136C24 15.93 24 12 24 12s0-3.93-.502-5.814zM9.545 15.568V8.432L15.818 12l-6.273 3.568z"
|
781
|
-
}
|
782
|
-
)
|
783
|
-
),
|
784
|
-
tiktok: (props) => /* @__PURE__ */ import_react4.default.createElement(
|
785
|
-
"svg",
|
710
|
+
fill: "currentColor",
|
711
|
+
d: "M23.498 6.186a3.016 3.016 0 0 0-2.122-2.136C19.505 3.545 12 3.545 12 3.545s-7.505 0-9.377.505A3.017 3.017 0 0 0 .502 6.186C0 8.07 0 12 0 12s0 3.93.502 5.814a3.016 3.016 0 0 0 2.122 2.136c1.871.505 9.376.505 9.376.505s7.505 0 9.377-.505a3.015 3.015 0 0 0 2.122-2.136C24 15.93 24 12 24 12s0-3.93-.502-5.814zM9.545 15.568V8.432L15.818 12l-6.273 3.568z"
|
712
|
+
}
|
713
|
+
)),
|
714
|
+
tiktok: (props) => /* @__PURE__ */ import_react4.default.createElement("svg", { role: "img", viewBox: "0 0 24 24", xmlns: "http://www.w3.org/2000/svg", ...props }, /* @__PURE__ */ import_react4.default.createElement("title", null, "TikTok"), /* @__PURE__ */ import_react4.default.createElement(
|
715
|
+
"path",
|
786
716
|
{
|
787
|
-
|
788
|
-
|
789
|
-
|
790
|
-
|
791
|
-
|
792
|
-
|
793
|
-
/* @__PURE__ */ import_react4.default.createElement(
|
794
|
-
"path",
|
795
|
-
{
|
796
|
-
fill: "currentColor",
|
797
|
-
d: "M12.525.02c1.31-.02 2.61-.01 3.91-.02.08 1.53.63 3.09 1.75 4.17 1.12 1.11 2.7 1.62 4.24 1.79v4.03c-1.44-.05-2.89-.35-4.2-.97-.57-.26-1.1-.59-1.62-.93-.01 2.92.01 5.84-.02 8.75-.08 1.4-.54 2.79-1.35 3.94-1.31 1.92-3.58 3.17-5.91 3.21-1.43.08-2.86-.31-4.08-1.03-2.02-1.19-3.44-3.37-3.65-5.71-.02-.5-.03-1-.01-1.49.18-1.9 1.12-3.72 2.58-4.96 1.66-1.44 3.98-2.13 6.15-1.72.02 1.48-.04 2.96-.04 4.44-.99-.32-2.15-.23-3.02.37-.63.41-1.11 1.04-1.36 1.75-.21.51-.15 1.07-.14 1.61.24 1.64 1.82 3.02 3.5 2.87 1.12-.01 2.19-.66 2.77-1.61.19-.33.4-.67.41-1.06.1-1.79.06-3.57.07-5.36.01-4.03-.01-8.05.02-12.07z"
|
798
|
-
}
|
799
|
-
)
|
800
|
-
),
|
801
|
-
linkedin: (props) => /* @__PURE__ */ import_react4.default.createElement(
|
802
|
-
"svg",
|
717
|
+
fill: "currentColor",
|
718
|
+
d: "M12.525.02c1.31-.02 2.61-.01 3.91-.02.08 1.53.63 3.09 1.75 4.17 1.12 1.11 2.7 1.62 4.24 1.79v4.03c-1.44-.05-2.89-.35-4.2-.97-.57-.26-1.1-.59-1.62-.93-.01 2.92.01 5.84-.02 8.75-.08 1.4-.54 2.79-1.35 3.94-1.31 1.92-3.58 3.17-5.91 3.21-1.43.08-2.86-.31-4.08-1.03-2.02-1.19-3.44-3.37-3.65-5.71-.02-.5-.03-1-.01-1.49.18-1.9 1.12-3.72 2.58-4.96 1.66-1.44 3.98-2.13 6.15-1.72.02 1.48-.04 2.96-.04 4.44-.99-.32-2.15-.23-3.02.37-.63.41-1.11 1.04-1.36 1.75-.21.51-.15 1.07-.14 1.61.24 1.64 1.82 3.02 3.5 2.87 1.12-.01 2.19-.66 2.77-1.61.19-.33.4-.67.41-1.06.1-1.79.06-3.57.07-5.36.01-4.03-.01-8.05.02-12.07z"
|
719
|
+
}
|
720
|
+
)),
|
721
|
+
linkedin: (props) => /* @__PURE__ */ import_react4.default.createElement("svg", { role: "img", viewBox: "0 0 24 24", xmlns: "http://www.w3.org/2000/svg", ...props }, /* @__PURE__ */ import_react4.default.createElement("title", null, "LinkedIn"), /* @__PURE__ */ import_react4.default.createElement(
|
722
|
+
"path",
|
803
723
|
{
|
804
|
-
|
805
|
-
|
806
|
-
|
807
|
-
|
808
|
-
|
809
|
-
|
810
|
-
/* @__PURE__ */ import_react4.default.createElement(
|
811
|
-
"path",
|
812
|
-
{
|
813
|
-
fill: "currentColor",
|
814
|
-
d: "M20.447 20.452h-3.554v-5.569c0-1.328-.027-3.037-1.852-3.037-1.853 0-2.136 1.445-2.136 2.939v5.667H9.351V9h3.414v1.561h.046c.477-.9 1.637-1.85 3.37-1.85 3.601 0 4.267 2.37 4.267 5.455v6.286zM5.337 7.433c-1.144 0-2.063-.926-2.063-2.065 0-1.138.92-2.063 2.063-2.063 1.14 0 2.064.925 2.064 2.063 0 1.139-.925 2.065-2.064 2.065zm1.782 13.019H3.555V9h3.564v11.452zM22.225 0H1.771C.792 0 0 .774 0 1.729v20.542C0 23.227.792 24 1.771 24h20.451C23.2 24 24 23.227 24 22.271V1.729C24 .774 23.2 0 22.222 0h.003z"
|
815
|
-
}
|
816
|
-
)
|
817
|
-
),
|
818
|
-
behance: (props) => /* @__PURE__ */ import_react4.default.createElement(
|
819
|
-
"svg",
|
724
|
+
fill: "currentColor",
|
725
|
+
d: "M20.447 20.452h-3.554v-5.569c0-1.328-.027-3.037-1.852-3.037-1.853 0-2.136 1.445-2.136 2.939v5.667H9.351V9h3.414v1.561h.046c.477-.9 1.637-1.85 3.37-1.85 3.601 0 4.267 2.37 4.267 5.455v6.286zM5.337 7.433c-1.144 0-2.063-.926-2.063-2.065 0-1.138.92-2.063 2.063-2.063 1.14 0 2.064.925 2.064 2.063 0 1.139-.925 2.065-2.064 2.065zm1.782 13.019H3.555V9h3.564v11.452zM22.225 0H1.771C.792 0 0 .774 0 1.729v20.542C0 23.227.792 24 1.771 24h20.451C23.2 24 24 23.227 24 22.271V1.729C24 .774 23.2 0 22.222 0h.003z"
|
726
|
+
}
|
727
|
+
)),
|
728
|
+
behance: (props) => /* @__PURE__ */ import_react4.default.createElement("svg", { role: "img", viewBox: "0 0 24 24", xmlns: "http://www.w3.org/2000/svg", ...props }, /* @__PURE__ */ import_react4.default.createElement("title", null, "Behance"), /* @__PURE__ */ import_react4.default.createElement(
|
729
|
+
"path",
|
820
730
|
{
|
821
|
-
|
822
|
-
|
823
|
-
|
824
|
-
|
825
|
-
},
|
826
|
-
/* @__PURE__ */ import_react4.default.createElement("title", null, "Behance"),
|
827
|
-
/* @__PURE__ */ import_react4.default.createElement(
|
828
|
-
"path",
|
829
|
-
{
|
830
|
-
fill: "currentColor",
|
831
|
-
d: "M16.969 16.927a2.561 2.561 0 0 0 1.901.677 2.501 2.501 0 0 0 1.531-.475c.362-.235.636-.584.779-.99h2.585a5.091 5.091 0 0 1-1.9 2.896 5.292 5.292 0 0 1-3.091.88 5.839 5.839 0 0 1-2.284-.433 4.871 4.871 0 0 1-1.723-1.211 5.657 5.657 0 0 1-1.08-1.874 7.057 7.057 0 0 1-.383-2.393c-.005-.8.129-1.595.396-2.349a5.313 5.313 0 0 1 5.088-3.604 4.87 4.87 0 0 1 2.376.563c.661.362 1.231.87 1.668 1.485a6.2 6.2 0 0 1 .943 2.133c.194.821.263 1.666.205 2.508h-7.699c-.063.79.184 1.574.688 2.187ZM6.947 4.084a8.065 8.065 0 0 1 1.928.198 4.29 4.29 0 0 1 1.49.638c.418.303.748.711.958 1.182.241.579.357 1.203.341 1.83a3.506 3.506 0 0 1-.506 1.961 3.726 3.726 0 0 1-1.503 1.287 3.588 3.588 0 0 1 2.027 1.437c.464.747.697 1.615.67 2.494a4.593 4.593 0 0 1-.423 2.032 3.945 3.945 0 0 1-1.163 1.413 5.114 5.114 0 0 1-1.683.807 7.135 7.135 0 0 1-1.928.259H0V4.084h6.947Zm-.235 12.9c.308.004.616-.029.916-.099a2.18 2.18 0 0 0 .766-.332c.228-.158.411-.371.534-.619.142-.317.208-.663.191-1.009a2.08 2.08 0 0 0-.642-1.715 2.618 2.618 0 0 0-1.696-.505h-3.54v4.279h3.471Zm13.635-5.967a2.13 2.13 0 0 0-1.654-.619 2.336 2.336 0 0 0-1.163.259 2.474 2.474 0 0 0-.738.62 2.359 2.359 0 0 0-.396.792c-.074.239-.12.485-.137.734h4.769a3.239 3.239 0 0 0-.679-1.785l-.002-.001Zm-13.813-.648a2.254 2.254 0 0 0 1.423-.433c.399-.355.607-.88.56-1.413a1.916 1.916 0 0 0-.178-.891 1.298 1.298 0 0 0-.495-.533 1.851 1.851 0 0 0-.711-.274 3.966 3.966 0 0 0-.835-.073H3.241v3.631h3.293v-.014ZM21.62 5.122h-5.976v1.527h5.976V5.122Z"
|
832
|
-
}
|
833
|
-
)
|
834
|
-
),
|
731
|
+
fill: "currentColor",
|
732
|
+
d: "M16.969 16.927a2.561 2.561 0 0 0 1.901.677 2.501 2.501 0 0 0 1.531-.475c.362-.235.636-.584.779-.99h2.585a5.091 5.091 0 0 1-1.9 2.896 5.292 5.292 0 0 1-3.091.88 5.839 5.839 0 0 1-2.284-.433 4.871 4.871 0 0 1-1.723-1.211 5.657 5.657 0 0 1-1.08-1.874 7.057 7.057 0 0 1-.383-2.393c-.005-.8.129-1.595.396-2.349a5.313 5.313 0 0 1 5.088-3.604 4.87 4.87 0 0 1 2.376.563c.661.362 1.231.87 1.668 1.485a6.2 6.2 0 0 1 .943 2.133c.194.821.263 1.666.205 2.508h-7.699c-.063.79.184 1.574.688 2.187ZM6.947 4.084a8.065 8.065 0 0 1 1.928.198 4.29 4.29 0 0 1 1.49.638c.418.303.748.711.958 1.182.241.579.357 1.203.341 1.83a3.506 3.506 0 0 1-.506 1.961 3.726 3.726 0 0 1-1.503 1.287 3.588 3.588 0 0 1 2.027 1.437c.464.747.697 1.615.67 2.494a4.593 4.593 0 0 1-.423 2.032 3.945 3.945 0 0 1-1.163 1.413 5.114 5.114 0 0 1-1.683.807 7.135 7.135 0 0 1-1.928.259H0V4.084h6.947Zm-.235 12.9c.308.004.616-.029.916-.099a2.18 2.18 0 0 0 .766-.332c.228-.158.411-.371.534-.619.142-.317.208-.663.191-1.009a2.08 2.08 0 0 0-.642-1.715 2.618 2.618 0 0 0-1.696-.505h-3.54v4.279h3.471Zm13.635-5.967a2.13 2.13 0 0 0-1.654-.619 2.336 2.336 0 0 0-1.163.259 2.474 2.474 0 0 0-.738.62 2.359 2.359 0 0 0-.396.792c-.074.239-.12.485-.137.734h4.769a3.239 3.239 0 0 0-.679-1.785l-.002-.001Zm-13.813-.648a2.254 2.254 0 0 0 1.423-.433c.399-.355.607-.88.56-1.413a1.916 1.916 0 0 0-.178-.891 1.298 1.298 0 0 0-.495-.533 1.851 1.851 0 0 0-.711-.274 3.966 3.966 0 0 0-.835-.073H3.241v3.631h3.293v-.014ZM21.62 5.122h-5.976v1.527h5.976V5.122Z"
|
733
|
+
}
|
734
|
+
)),
|
835
735
|
microsoft: (props) => /* @__PURE__ */ import_react4.default.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 20 20", ...props }, /* @__PURE__ */ import_react4.default.createElement(
|
836
736
|
"path",
|
837
737
|
{
|
@@ -839,21 +739,13 @@ var Logos = {
|
|
839
739
|
d: "M7.462 0H0v7.19h7.462V0zM16 0H8.538v7.19H16V0zM7.462 8.211H0V16h7.462V8.211zm8.538 0H8.538V16H16V8.211z"
|
840
740
|
}
|
841
741
|
)),
|
842
|
-
github: (props) => /* @__PURE__ */ import_react4.default.createElement(
|
843
|
-
"
|
742
|
+
github: (props) => /* @__PURE__ */ import_react4.default.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 438.549 438.549", ...props }, /* @__PURE__ */ import_react4.default.createElement(
|
743
|
+
"path",
|
844
744
|
{
|
845
|
-
|
846
|
-
|
847
|
-
|
848
|
-
|
849
|
-
/* @__PURE__ */ import_react4.default.createElement(
|
850
|
-
"path",
|
851
|
-
{
|
852
|
-
fill: "currentColor",
|
853
|
-
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"
|
854
|
-
}
|
855
|
-
)
|
856
|
-
),
|
745
|
+
fill: "currentColor",
|
746
|
+
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"
|
747
|
+
}
|
748
|
+
)),
|
857
749
|
radix: (props) => /* @__PURE__ */ import_react4.default.createElement("svg", { viewBox: "0 0 25 25", fill: "none", ...props }, /* @__PURE__ */ import_react4.default.createElement(
|
858
750
|
"path",
|
859
751
|
{
|
@@ -910,23 +802,13 @@ var Logos = {
|
|
910
802
|
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"
|
911
803
|
}
|
912
804
|
)),
|
913
|
-
googleplay: (props) => /* @__PURE__ */ import_react4.default.createElement(
|
914
|
-
"
|
805
|
+
googleplay: (props) => /* @__PURE__ */ import_react4.default.createElement("svg", { role: "img", viewBox: "0 0 24 24", xmlns: "http://www.w3.org/2000/svg", ...props }, /* @__PURE__ */ import_react4.default.createElement("title", null, "Google Play"), /* @__PURE__ */ import_react4.default.createElement(
|
806
|
+
"path",
|
915
807
|
{
|
916
|
-
|
917
|
-
|
918
|
-
|
919
|
-
|
920
|
-
},
|
921
|
-
/* @__PURE__ */ import_react4.default.createElement("title", null, "Google Play"),
|
922
|
-
/* @__PURE__ */ import_react4.default.createElement(
|
923
|
-
"path",
|
924
|
-
{
|
925
|
-
fill: "currentColor",
|
926
|
-
d: "M22.018 13.298l-3.919 2.218-3.515-3.493 3.543-3.521 3.891 2.202a1.49 1.49 0 0 1 0 2.594zM1.337.924a1.486 1.486 0 0 0-.112.568v21.017c0 .217.045.419.124.6l11.155-11.087L1.337.924zm12.207 10.065l3.258-3.238L3.45.195a1.466 1.466 0 0 0-.946-.179l11.04 10.973zm0 2.067l-11 10.933c.298.036.612-.016.906-.183l13.324-7.54-3.23-3.21z"
|
927
|
-
}
|
928
|
-
)
|
929
|
-
),
|
808
|
+
fill: "currentColor",
|
809
|
+
d: "M22.018 13.298l-3.919 2.218-3.515-3.493 3.543-3.521 3.891 2.202a1.49 1.49 0 0 1 0 2.594zM1.337.924a1.486 1.486 0 0 0-.112.568v21.017c0 .217.045.419.124.6l11.155-11.087L1.337.924zm12.207 10.065l3.258-3.238L3.45.195a1.466 1.466 0 0 0-.946-.179l11.04 10.973zm0 2.067l-11 10.933c.298.036.612-.016.906-.183l13.324-7.54-3.23-3.21z"
|
810
|
+
}
|
811
|
+
)),
|
930
812
|
apple: (props) => /* @__PURE__ */ import_react4.default.createElement("svg", { role: "img", viewBox: "0 0 24 24", ...props }, /* @__PURE__ */ import_react4.default.createElement(
|
931
813
|
"path",
|
932
814
|
{
|
@@ -934,23 +816,13 @@ var Logos = {
|
|
934
816
|
fill: "currentColor"
|
935
817
|
}
|
936
818
|
)),
|
937
|
-
applestore: (props) => /* @__PURE__ */ import_react4.default.createElement(
|
938
|
-
"
|
819
|
+
applestore: (props) => /* @__PURE__ */ import_react4.default.createElement("svg", { role: "img", viewBox: "0 0 24 24", xmlns: "http://www.w3.org/2000/svg", ...props }, /* @__PURE__ */ import_react4.default.createElement("title", null, "App Store"), /* @__PURE__ */ import_react4.default.createElement(
|
820
|
+
"path",
|
939
821
|
{
|
940
|
-
|
941
|
-
|
942
|
-
|
943
|
-
|
944
|
-
},
|
945
|
-
/* @__PURE__ */ import_react4.default.createElement("title", null, "App Store"),
|
946
|
-
/* @__PURE__ */ import_react4.default.createElement(
|
947
|
-
"path",
|
948
|
-
{
|
949
|
-
fill: "currentColor",
|
950
|
-
d: "M8.8086 14.9194l6.1107-11.0368c.0837-.1513.1682-.302.2437-.4584.0685-.142.1267-.2854.1646-.4403.0803-.3259.0588-.6656-.066-.9767-.1238-.3095-.3417-.5678-.6201-.7355a1.4175 1.4175 0 0 0-.921-.1924c-.3207.043-.6135.1935-.8443.4288-.1094.1118-.1996.2361-.2832.369-.092.1463-.175.2979-.259.4492l-.3864.6979-.3865-.6979c-.0837-.1515-.1667-.303-.2587-.4492-.0837-.1329-.1739-.2572-.2835-.369-.2305-.2353-.5233-.3857-.844-.429a1.4181 1.4181 0 0 0-.921.1926c-.2784.1677-.4964.426-.6203.7355-.1246.311-.1461.6508-.066.9767.038.155.0962.2984.1648.4403.0753.1564.1598.307.2437.4584l1.248 2.2543-4.8625 8.7825H2.0295c-.1676 0-.3351-.0007-.5026.0092-.1522.009-.3004.0284-.448.0714-.3108.0906-.5822.2798-.7783.548-.195.2665-.3006.5929-.3006.9279 0 .3352.1057.6612.3006.9277.196.2683.4675.4575.7782.548.1477.043.296.0623.4481.0715.1675.01.335.009.5026.009h13.0974c.0171-.0357.059-.1294.1-.2697.415-1.4151-.6156-2.843-2.0347-2.843zM3.113 18.5418l-.7922 1.5008c-.0818.1553-.1644.31-.2384.4705-.067.1458-.124.293-.1611.452-.0785.3346-.0576.6834.0645 1.0029.1212.3175.3346.583.607.7549.2727.172.5891.2416.9013.1975.3139-.044.6005-.1986.8263-.4402.1072-.1148.1954-.2424.2772-.3787.0902-.1503.1714-.3059.2535-.4612L6 19.4636c-.0896-.149-.9473-1.4704-2.887-.9218m20.5861-3.0056a1.4707 1.4707 0 0 0-.779-.5407c-.1476-.0425-.2961-.0616-.4483-.0705-.1678-.0099-.3352-.0091-.503-.0091H18.648l-4.3891-7.817c-.6655.7005-.9632 1.485-1.0773 2.1976-.1655 1.0333.0367 2.0934.546 3.0004l5.2741 9.3933c.084.1494.167.299.2591.4435.0837.131.1739.2537.2836.364.231.2323.5238.3809.8449.4232.3192.0424.643-.0244.9217-.1899.2784-.1653.4968-.4204.621-.7257.1246-.3072.146-.6425.0658-.9641-.0381-.1529-.0962-.2945-.165-.4346-.0753-.1543-.1598-.303-.2438-.4524l-1.216-2.1662h1.596c.1677 0 .3351.0009.5029-.009.1522-.009.3007-.028.4483-.0705a1.4707 1.4707 0 0 0 .779-.5407A1.5386 1.5386 0 0 0 24 16.452a1.539 1.539 0 0 0-.3009-.9158Z"
|
951
|
-
}
|
952
|
-
)
|
953
|
-
),
|
822
|
+
fill: "currentColor",
|
823
|
+
d: "M8.8086 14.9194l6.1107-11.0368c.0837-.1513.1682-.302.2437-.4584.0685-.142.1267-.2854.1646-.4403.0803-.3259.0588-.6656-.066-.9767-.1238-.3095-.3417-.5678-.6201-.7355a1.4175 1.4175 0 0 0-.921-.1924c-.3207.043-.6135.1935-.8443.4288-.1094.1118-.1996.2361-.2832.369-.092.1463-.175.2979-.259.4492l-.3864.6979-.3865-.6979c-.0837-.1515-.1667-.303-.2587-.4492-.0837-.1329-.1739-.2572-.2835-.369-.2305-.2353-.5233-.3857-.844-.429a1.4181 1.4181 0 0 0-.921.1926c-.2784.1677-.4964.426-.6203.7355-.1246.311-.1461.6508-.066.9767.038.155.0962.2984.1648.4403.0753.1564.1598.307.2437.4584l1.248 2.2543-4.8625 8.7825H2.0295c-.1676 0-.3351-.0007-.5026.0092-.1522.009-.3004.0284-.448.0714-.3108.0906-.5822.2798-.7783.548-.195.2665-.3006.5929-.3006.9279 0 .3352.1057.6612.3006.9277.196.2683.4675.4575.7782.548.1477.043.296.0623.4481.0715.1675.01.335.009.5026.009h13.0974c.0171-.0357.059-.1294.1-.2697.415-1.4151-.6156-2.843-2.0347-2.843zM3.113 18.5418l-.7922 1.5008c-.0818.1553-.1644.31-.2384.4705-.067.1458-.124.293-.1611.452-.0785.3346-.0576.6834.0645 1.0029.1212.3175.3346.583.607.7549.2727.172.5891.2416.9013.1975.3139-.044.6005-.1986.8263-.4402.1072-.1148.1954-.2424.2772-.3787.0902-.1503.1714-.3059.2535-.4612L6 19.4636c-.0896-.149-.9473-1.4704-2.887-.9218m20.5861-3.0056a1.4707 1.4707 0 0 0-.779-.5407c-.1476-.0425-.2961-.0616-.4483-.0705-.1678-.0099-.3352-.0091-.503-.0091H18.648l-4.3891-7.817c-.6655.7005-.9632 1.485-1.0773 2.1976-.1655 1.0333.0367 2.0934.546 3.0004l5.2741 9.3933c.084.1494.167.299.2591.4435.0837.131.1739.2537.2836.364.231.2323.5238.3809.8449.4232.3192.0424.643-.0244.9217-.1899.2784-.1653.4968-.4204.621-.7257.1246-.3072.146-.6425.0658-.9641-.0381-.1529-.0962-.2945-.165-.4346-.0753-.1543-.1598-.303-.2438-.4524l-1.216-2.1662h1.596c.1677 0 .3351.0009.5029-.009.1522-.009.3007-.028.4483-.0705a1.4707 1.4707 0 0 0 .779-.5407A1.5386 1.5386 0 0 0 24 16.452a1.539 1.539 0 0 0-.3009-.9158Z"
|
824
|
+
}
|
825
|
+
)),
|
954
826
|
paypal: (props) => /* @__PURE__ */ import_react4.default.createElement("svg", { role: "img", viewBox: "0 0 24 24", ...props }, /* @__PURE__ */ import_react4.default.createElement(
|
955
827
|
"path",
|
956
828
|
{
|
@@ -974,50 +846,21 @@ var Logos = {
|
|
974
846
|
},
|
975
847
|
/* @__PURE__ */ import_react4.default.createElement("path", { d: "M21 12a9 9 0 1 1-6.219-8.56" })
|
976
848
|
),
|
977
|
-
whatsapp: (props) => /* @__PURE__ */ import_react4.default.createElement(
|
978
|
-
|
849
|
+
whatsapp: (props) => /* @__PURE__ */ import_react4.default.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 24 24", fill: "currentColor", ...props }, /* @__PURE__ */ import_react4.default.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" })),
|
850
|
+
visa: (props) => /* @__PURE__ */ import_react4.default.createElement("svg", { role: "img", viewBox: "0 0 24 24", xmlns: "http://www.w3.org/2000/svg", ...props }, /* @__PURE__ */ import_react4.default.createElement("title", null, "Visa"), /* @__PURE__ */ import_react4.default.createElement(
|
851
|
+
"path",
|
979
852
|
{
|
980
|
-
xmlns: "http://www.w3.org/2000/svg",
|
981
|
-
viewBox: "0 0 24 24",
|
982
853
|
fill: "currentColor",
|
983
|
-
|
984
|
-
}
|
985
|
-
|
986
|
-
),
|
987
|
-
|
988
|
-
"svg",
|
989
|
-
{
|
990
|
-
role: "img",
|
991
|
-
viewBox: "0 0 24 24",
|
992
|
-
xmlns: "http://www.w3.org/2000/svg",
|
993
|
-
...props
|
994
|
-
},
|
995
|
-
/* @__PURE__ */ import_react4.default.createElement("title", null, "Visa"),
|
996
|
-
/* @__PURE__ */ import_react4.default.createElement(
|
997
|
-
"path",
|
998
|
-
{
|
999
|
-
fill: "currentColor",
|
1000
|
-
d: "M9.112 8.262L5.97 15.758H3.92L2.374 9.775c-.094-.368-.175-.503-.461-.658C1.447 8.864.677 8.627 0 8.479l.046-.217h3.3a.904.904 0 01.894.764l.817 4.338 2.018-5.102zm8.033 5.049c.008-1.979-2.736-2.088-2.717-2.972.006-.269.262-.555.822-.628a3.66 3.66 0 011.913.336l.34-1.59a5.207 5.207 0 00-1.814-.333c-1.917 0-3.266 1.02-3.278 2.479-.012 1.079.963 1.68 1.698 2.04.756.367 1.01.603 1.006.931-.005.504-.602.725-1.16.734-.975.015-1.54-.263-1.992-.473l-.351 1.642c.453.208 1.289.39 2.156.398 2.037 0 3.37-1.006 3.377-2.564m5.061 2.447H24l-1.565-7.496h-1.656a.883.883 0 00-.826.55l-2.909 6.946h2.036l.405-1.12h2.488zm-2.163-2.656l1.02-2.815.588 2.815zm-8.16-4.84l-1.603 7.496H8.34l1.605-7.496z"
|
1001
|
-
}
|
1002
|
-
)
|
1003
|
-
),
|
1004
|
-
mastercard: (props) => /* @__PURE__ */ import_react4.default.createElement(
|
1005
|
-
"svg",
|
854
|
+
d: "M9.112 8.262L5.97 15.758H3.92L2.374 9.775c-.094-.368-.175-.503-.461-.658C1.447 8.864.677 8.627 0 8.479l.046-.217h3.3a.904.904 0 01.894.764l.817 4.338 2.018-5.102zm8.033 5.049c.008-1.979-2.736-2.088-2.717-2.972.006-.269.262-.555.822-.628a3.66 3.66 0 011.913.336l.34-1.59a5.207 5.207 0 00-1.814-.333c-1.917 0-3.266 1.02-3.278 2.479-.012 1.079.963 1.68 1.698 2.04.756.367 1.01.603 1.006.931-.005.504-.602.725-1.16.734-.975.015-1.54-.263-1.992-.473l-.351 1.642c.453.208 1.289.39 2.156.398 2.037 0 3.37-1.006 3.377-2.564m5.061 2.447H24l-1.565-7.496h-1.656a.883.883 0 00-.826.55l-2.909 6.946h2.036l.405-1.12h2.488zm-2.163-2.656l1.02-2.815.588 2.815zm-8.16-4.84l-1.603 7.496H8.34l1.605-7.496z"
|
855
|
+
}
|
856
|
+
)),
|
857
|
+
mastercard: (props) => /* @__PURE__ */ import_react4.default.createElement("svg", { role: "img", viewBox: "0 0 24 24", xmlns: "http://www.w3.org/2000/svg", ...props }, /* @__PURE__ */ import_react4.default.createElement("title", null, "MasterCard"), /* @__PURE__ */ import_react4.default.createElement(
|
858
|
+
"path",
|
1006
859
|
{
|
1007
|
-
|
1008
|
-
|
1009
|
-
|
1010
|
-
|
1011
|
-
},
|
1012
|
-
/* @__PURE__ */ import_react4.default.createElement("title", null, "MasterCard"),
|
1013
|
-
/* @__PURE__ */ import_react4.default.createElement(
|
1014
|
-
"path",
|
1015
|
-
{
|
1016
|
-
fill: "currentColor",
|
1017
|
-
d: "M11.343 18.031c.058.049.12.098.181.146-1.177.783-2.59 1.238-4.107 1.238C3.32 19.416 0 16.096 0 12c0-4.095 3.32-7.416 7.416-7.416 1.518 0 2.931.456 4.105 1.238-.06.051-.12.098-.165.15C9.6 7.489 8.595 9.688 8.595 12c0 2.311 1.001 4.51 2.748 6.031zm5.241-13.447c-1.52 0-2.931.456-4.105 1.238.06.051.12.098.165.15C14.4 7.489 15.405 9.688 15.405 12c0 2.31-1.001 4.507-2.748 6.031-.058.049-.12.098-.181.146 1.177.783 2.588 1.238 4.107 1.238C20.68 19.416 24 16.096 24 12c0-4.094-3.32-7.416-7.416-7.416zM12 6.174c-.096.075-.189.15-.28.231C10.156 7.764 9.169 9.765 9.169 12c0 2.236.987 4.236 2.551 5.595.09.08.185.158.28.232.096-.074.189-.152.28-.232 1.563-1.359 2.551-3.359 2.551-5.595 0-2.235-.987-4.236-2.551-5.595-.09-.08-.184-.156-.28-.231z"
|
1018
|
-
}
|
1019
|
-
)
|
1020
|
-
)
|
860
|
+
fill: "currentColor",
|
861
|
+
d: "M11.343 18.031c.058.049.12.098.181.146-1.177.783-2.59 1.238-4.107 1.238C3.32 19.416 0 16.096 0 12c0-4.095 3.32-7.416 7.416-7.416 1.518 0 2.931.456 4.105 1.238-.06.051-.12.098-.165.15C9.6 7.489 8.595 9.688 8.595 12c0 2.311 1.001 4.51 2.748 6.031zm5.241-13.447c-1.52 0-2.931.456-4.105 1.238.06.051.12.098.165.15C14.4 7.489 15.405 9.688 15.405 12c0 2.31-1.001 4.507-2.748 6.031-.058.049-.12.098-.181.146 1.177.783 2.588 1.238 4.107 1.238C20.68 19.416 24 16.096 24 12c0-4.094-3.32-7.416-7.416-7.416zM12 6.174c-.096.075-.189.15-.28.231C10.156 7.764 9.169 9.765 9.169 12c0 2.236.987 4.236 2.551 5.595.09.08.185.158.28.232.096-.074.189-.152.28-.232 1.563-1.359 2.551-3.359 2.551-5.595 0-2.235-.987-4.236-2.551-5.595-.09-.08-.184-.156-.28-.231z"
|
862
|
+
}
|
863
|
+
))
|
1021
864
|
};
|
1022
865
|
|
1023
866
|
// blocks/auth/AuthButtons.tsx
|
@@ -1217,20 +1060,9 @@ var Alert = ({
|
|
1217
1060
|
), props.actions && /* @__PURE__ */ import_react6.default.createElement(
|
1218
1061
|
"div",
|
1219
1062
|
{
|
1220
|
-
className: cn(
|
1221
|
-
"hawa-mt-2 hawa-flex hawa-flex-row hawa-gap-2",
|
1222
|
-
classNames == null ? void 0 : classNames.actions
|
1223
|
-
)
|
1063
|
+
className: cn("hawa-mt-2 hawa-flex hawa-flex-row hawa-gap-2", classNames == null ? void 0 : classNames.actions)
|
1224
1064
|
},
|
1225
|
-
props.actions.map((act, index) => /* @__PURE__ */ import_react6.default.createElement(
|
1226
|
-
Button,
|
1227
|
-
{
|
1228
|
-
key: index,
|
1229
|
-
variant: act.variant,
|
1230
|
-
onClick: act.onClick()
|
1231
|
-
},
|
1232
|
-
act.label
|
1233
|
-
))
|
1065
|
+
props.actions.map((act, index) => /* @__PURE__ */ import_react6.default.createElement(Button, { key: index, variant: act.variant, onClick: act.onClick() }, act.label))
|
1234
1066
|
))),
|
1235
1067
|
!props.persistent && /* @__PURE__ */ import_react6.default.createElement(
|
1236
1068
|
"button",
|
@@ -1252,9 +1084,7 @@ var Alert = ({
|
|
1252
1084
|
setClosed(true);
|
1253
1085
|
setTimeout(() => {
|
1254
1086
|
if (alertRef == null ? void 0 : alertRef.current) {
|
1255
|
-
alertRef == null ? void 0 : alertRef.current.removeChild(
|
1256
|
-
alertRef == null ? void 0 : alertRef.current.children[0]
|
1257
|
-
);
|
1087
|
+
alertRef == null ? void 0 : alertRef.current.removeChild(alertRef == null ? void 0 : alertRef.current.children[0]);
|
1258
1088
|
}
|
1259
1089
|
}, 200);
|
1260
1090
|
}
|
@@ -1286,13 +1116,7 @@ var Alert = ({
|
|
1286
1116
|
// elements/card/Card.tsx
|
1287
1117
|
var React9 = __toESM(require("react"));
|
1288
1118
|
var Card = React9.forwardRef(
|
1289
|
-
({
|
1290
|
-
className,
|
1291
|
-
variant = "default",
|
1292
|
-
clickable = false,
|
1293
|
-
asContainer = false,
|
1294
|
-
...props
|
1295
|
-
}, ref) => {
|
1119
|
+
({ className, variant = "default", clickable = false, asContainer = false, ...props }, ref) => {
|
1296
1120
|
let variantStyles = {
|
1297
1121
|
default: cn(
|
1298
1122
|
"hawa-rounded hawa-border hawa-bg-card hawa-text-card-foreground hawa-shadow-sm",
|
@@ -1304,14 +1128,7 @@ var Card = React9.forwardRef(
|
|
1304
1128
|
clickable && "hawa-cursor-pointer active:hawa-translate-x-0.5 active:hawa-translate-y-0.5 active:hawa-shadow-color-primary-active active:translate-x-0.5 active:translate-y-0.5 active:shadow-color-primary-active"
|
1305
1129
|
)
|
1306
1130
|
};
|
1307
|
-
return /* @__PURE__ */ React9.createElement(
|
1308
|
-
"div",
|
1309
|
-
{
|
1310
|
-
ref,
|
1311
|
-
className: cn(!asContainer && variantStyles[variant], className),
|
1312
|
-
...props
|
1313
|
-
}
|
1314
|
-
);
|
1131
|
+
return /* @__PURE__ */ React9.createElement("div", { ref, className: cn(!asContainer && variantStyles[variant], className), ...props });
|
1315
1132
|
}
|
1316
1133
|
);
|
1317
1134
|
var CardHeader = React9.forwardRef(
|
@@ -1319,30 +1136,15 @@ var CardHeader = React9.forwardRef(
|
|
1319
1136
|
"div",
|
1320
1137
|
{
|
1321
1138
|
ref,
|
1322
|
-
className: cn(
|
1323
|
-
"hawa-flex hawa-flex-col hawa-space-y-1.5 hawa-p-6",
|
1324
|
-
className
|
1325
|
-
),
|
1139
|
+
className: cn("hawa-flex hawa-flex-col hawa-space-y-1.5 hawa-p-6", className),
|
1326
1140
|
...props
|
1327
1141
|
}
|
1328
1142
|
), props.actions && /* @__PURE__ */ React9.createElement("div", { className: "hawa-p-6" }, props.actions))
|
1329
1143
|
);
|
1330
|
-
var CardTitle = React9.forwardRef(
|
1331
|
-
"h3",
|
1332
|
-
|
1333
|
-
|
1334
|
-
className: cn("hawa-text-2xl hawa-font-semibold", className),
|
1335
|
-
...props
|
1336
|
-
}
|
1337
|
-
));
|
1338
|
-
var CardDescription = React9.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ React9.createElement(
|
1339
|
-
"p",
|
1340
|
-
{
|
1341
|
-
ref,
|
1342
|
-
className: cn("hawa-text-sm hawa-text-muted-foreground", className),
|
1343
|
-
...props
|
1344
|
-
}
|
1345
|
-
));
|
1144
|
+
var CardTitle = React9.forwardRef(
|
1145
|
+
({ className, ...props }, ref) => /* @__PURE__ */ React9.createElement("h3", { ref, className: cn("hawa-text-2xl hawa-font-semibold", className), ...props })
|
1146
|
+
);
|
1147
|
+
var CardDescription = React9.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ React9.createElement("p", { ref, className: cn("hawa-text-sm hawa-text-muted-foreground", className), ...props }));
|
1346
1148
|
var CardContent = React9.forwardRef(
|
1347
1149
|
({ headless, noPadding, className, ...props }, ref) => /* @__PURE__ */ React9.createElement(
|
1348
1150
|
"div",
|
@@ -3918,16 +3720,7 @@ var Checkbox = ({
|
|
3918
3720
|
size === "default" ? "hawa-items-top" : "hawa-items-center"
|
3919
3721
|
)
|
3920
3722
|
},
|
3921
|
-
/* @__PURE__ */ React18.createElement(
|
3922
|
-
CheckboxElement,
|
3923
|
-
{
|
3924
|
-
...props,
|
3925
|
-
size,
|
3926
|
-
radius,
|
3927
|
-
disabled,
|
3928
|
-
id
|
3929
|
-
}
|
3930
|
-
),
|
3723
|
+
/* @__PURE__ */ React18.createElement(CheckboxElement, { ...props, size, radius, disabled, id }),
|
3931
3724
|
(label || helperText) && /* @__PURE__ */ React18.createElement("div", { className: "hawa-grid hawa-gap-1.5" }, label && /* @__PURE__ */ React18.createElement(
|
3932
3725
|
"label",
|
3933
3726
|
{
|
@@ -4002,9 +3795,7 @@ var CheckboxElement = React18.forwardRef(({ radius = "inherit", size = "default"
|
|
4002
3795
|
/* @__PURE__ */ React18.createElement(
|
4003
3796
|
CheckboxPrimitive.Indicator,
|
4004
3797
|
{
|
4005
|
-
className: cn(
|
4006
|
-
"hawa-flex hawa-items-center hawa-justify-center hawa-text-current"
|
4007
|
-
)
|
3798
|
+
className: cn("hawa-flex hawa-items-center hawa-justify-center hawa-text-current")
|
4008
3799
|
},
|
4009
3800
|
/* @__PURE__ */ React18.createElement(
|
4010
3801
|
"svg",
|
@@ -4132,16 +3923,7 @@ var import_tailwind_variants = require("tailwind-variants");
|
|
4132
3923
|
// elements/chip/Chip.tsx
|
4133
3924
|
var import_react36 = __toESM(require("react"));
|
4134
3925
|
var Chip = import_react36.default.forwardRef(
|
4135
|
-
({
|
4136
|
-
label,
|
4137
|
-
size = "normal",
|
4138
|
-
icon,
|
4139
|
-
color,
|
4140
|
-
radius = "inherit",
|
4141
|
-
dot,
|
4142
|
-
dotStatus = "none",
|
4143
|
-
...rest
|
4144
|
-
}, ref) => {
|
3926
|
+
({ label, size = "normal", icon, color, radius = "inherit", dot, dotStatus = "none", ...rest }, ref) => {
|
4145
3927
|
let defaultStyles = "hawa-flex hawa-flex-row hawa-w-fit hawa-gap-1 hawa-items-center hawa-px-2.5 hawa-py-1 hawa-font-bold ";
|
4146
3928
|
let radiusStyles = {
|
4147
3929
|
inherit: " hawa-rounded",
|
@@ -4188,12 +3970,7 @@ var Chip = import_react36.default.forwardRef(
|
|
4188
3970
|
rest.className
|
4189
3971
|
)
|
4190
3972
|
},
|
4191
|
-
dot && /* @__PURE__ */ import_react36.default.createElement(
|
4192
|
-
"span",
|
4193
|
-
{
|
4194
|
-
className: cn(dotStyles[size], dotStatusStyles[dotStatus])
|
4195
|
-
}
|
4196
|
-
),
|
3973
|
+
dot && /* @__PURE__ */ import_react36.default.createElement("span", { className: cn(dotStyles[size], dotStatusStyles[dotStatus]) }),
|
4197
3974
|
icon && icon,
|
4198
3975
|
label
|
4199
3976
|
);
|
@@ -4410,83 +4187,75 @@ var Tabs = React30.forwardRef(
|
|
4410
4187
|
/* @__PURE__ */ React30.createElement(TabsContext.Provider, { value: { orientation, variant, scrollable } }, props.children)
|
4411
4188
|
)
|
4412
4189
|
);
|
4413
|
-
var TabsList = React30.forwardRef(
|
4414
|
-
|
4415
|
-
|
4416
|
-
|
4417
|
-
|
4418
|
-
|
4419
|
-
|
4420
|
-
ref,
|
4421
|
-
className: cn(
|
4422
|
-
tabsListVariant({ variant, orientation }),
|
4423
|
-
"hawa-flex-row hawa-flex-nowrap",
|
4424
|
-
className
|
4425
|
-
),
|
4426
|
-
...props
|
4427
|
-
}
|
4428
|
-
));
|
4429
|
-
} else {
|
4430
|
-
return /* @__PURE__ */ React30.createElement(
|
4431
|
-
TabsPrimitive.List,
|
4432
|
-
{
|
4433
|
-
ref,
|
4434
|
-
className: cn(
|
4435
|
-
tabsListVariant({ variant, orientation }),
|
4436
|
-
orientation === "vertical" ? "hawa-flex-col" : "hawa-flex-row",
|
4437
|
-
"hawa-flex-wrap",
|
4438
|
-
className
|
4439
|
-
),
|
4440
|
-
...props
|
4441
|
-
}
|
4442
|
-
);
|
4443
|
-
}
|
4444
|
-
});
|
4445
|
-
var TabsTrigger = React30.forwardRef(
|
4446
|
-
({ className, chipProps, withPopover = false, onPopoverClick, ...props }, ref) => {
|
4447
|
-
const { orientation, variant } = React30.useContext(TabsContext);
|
4448
|
-
if (withPopover) {
|
4449
|
-
return /* @__PURE__ */ React30.createElement(Popover.Root, { open: props.showPopover }, /* @__PURE__ */ React30.createElement(Popover.Anchor, { asChild: true }, /* @__PURE__ */ React30.createElement(
|
4450
|
-
TabsPrimitive.Trigger,
|
4190
|
+
var TabsList = React30.forwardRef(
|
4191
|
+
({ className, classNames, ...props }, ref) => {
|
4192
|
+
const { orientation, variant, scrollable } = React30.useContext(TabsContext);
|
4193
|
+
const { width } = useViewportSize();
|
4194
|
+
if (scrollable && width < 768 && orientation === "horizontal") {
|
4195
|
+
return /* @__PURE__ */ React30.createElement(ScrollArea, { orientation: "horizontal", className: classNames == null ? void 0 : classNames.scrollArea }, /* @__PURE__ */ React30.createElement(
|
4196
|
+
TabsPrimitive.List,
|
4451
4197
|
{
|
4198
|
+
ref,
|
4452
4199
|
className: cn(
|
4453
|
-
|
4454
|
-
"hawa-
|
4200
|
+
tabsListVariant({ variant, orientation }),
|
4201
|
+
"hawa-flex-row hawa-flex-nowrap",
|
4455
4202
|
className
|
4456
4203
|
),
|
4457
4204
|
...props
|
4458
|
-
}
|
4459
|
-
props.children,
|
4460
|
-
chipProps && /* @__PURE__ */ React30.createElement(Chip, { ...chipProps })
|
4461
|
-
)), /* @__PURE__ */ React30.createElement(
|
4462
|
-
Popover.Content,
|
4463
|
-
{
|
4464
|
-
onClick: onPopoverClick,
|
4465
|
-
asChild: true,
|
4466
|
-
className: cn(
|
4467
|
-
"dark:dark-shadow hawa-z-50 hawa-rounded hawa-border hawa-bg-popover hawa-text-popover-foreground hawa-shadow-md hawa-outline-none data-[state=open]:hawa-animate-in data-[state=closed]:hawa-animate-out data-[state=closed]:hawa-fade-out-0 data-[state=open]:hawa-fade-in-0 data-[state=closed]:hawa-zoom-out-95 data-[state=open]:hawa-zoom-in-95 data-[side=bottom]:hawa-slide-in-from-top-2 data-[side=left]:hawa-slide-in-from-right-2 data-[side=right]:hawa-slide-in-from-left-2 data-[side=top]:hawa-slide-in-from-bottom-2",
|
4468
|
-
"hawa-arrow-default-top hawa-mt-2"
|
4469
|
-
)
|
4470
|
-
},
|
4471
|
-
/* @__PURE__ */ React30.createElement("div", { className: "hawa-p-2" }, " ", props.popoverContent)
|
4205
|
+
}
|
4472
4206
|
));
|
4473
4207
|
} else {
|
4474
4208
|
return /* @__PURE__ */ React30.createElement(
|
4475
|
-
TabsPrimitive.
|
4209
|
+
TabsPrimitive.List,
|
4476
4210
|
{
|
4211
|
+
ref,
|
4477
4212
|
className: cn(
|
4478
|
-
|
4479
|
-
"hawa-
|
4213
|
+
tabsListVariant({ variant, orientation }),
|
4214
|
+
orientation === "vertical" ? "hawa-flex-col" : "hawa-flex-row",
|
4215
|
+
"hawa-flex-wrap",
|
4480
4216
|
className
|
4481
4217
|
),
|
4482
4218
|
...props
|
4483
|
-
}
|
4484
|
-
props.children,
|
4485
|
-
chipProps && /* @__PURE__ */ React30.createElement(Chip, { ...chipProps })
|
4219
|
+
}
|
4486
4220
|
);
|
4487
4221
|
}
|
4488
4222
|
}
|
4489
4223
|
);
|
4224
|
+
var TabsTrigger = React30.forwardRef(({ className, chipProps, withPopover = false, onPopoverClick, ...props }, ref) => {
|
4225
|
+
const { orientation, variant } = React30.useContext(TabsContext);
|
4226
|
+
if (withPopover) {
|
4227
|
+
return /* @__PURE__ */ React30.createElement(Popover.Root, { open: props.showPopover }, /* @__PURE__ */ React30.createElement(Popover.Anchor, { asChild: true }, /* @__PURE__ */ React30.createElement(
|
4228
|
+
TabsPrimitive.Trigger,
|
4229
|
+
{
|
4230
|
+
className: cn(tabsTriggerVariant({ variant, orientation }), "hawa-relative", className),
|
4231
|
+
...props
|
4232
|
+
},
|
4233
|
+
props.children,
|
4234
|
+
chipProps && /* @__PURE__ */ React30.createElement(Chip, { ...chipProps })
|
4235
|
+
)), /* @__PURE__ */ React30.createElement(
|
4236
|
+
Popover.Content,
|
4237
|
+
{
|
4238
|
+
onClick: onPopoverClick,
|
4239
|
+
asChild: true,
|
4240
|
+
className: cn(
|
4241
|
+
"dark:dark-shadow hawa-z-50 hawa-rounded hawa-border hawa-bg-popover hawa-text-popover-foreground hawa-shadow-md hawa-outline-none data-[state=open]:hawa-animate-in data-[state=closed]:hawa-animate-out data-[state=closed]:hawa-fade-out-0 data-[state=open]:hawa-fade-in-0 data-[state=closed]:hawa-zoom-out-95 data-[state=open]:hawa-zoom-in-95 data-[side=bottom]:hawa-slide-in-from-top-2 data-[side=left]:hawa-slide-in-from-right-2 data-[side=right]:hawa-slide-in-from-left-2 data-[side=top]:hawa-slide-in-from-bottom-2",
|
4242
|
+
"hawa-arrow-default-top hawa-mt-2"
|
4243
|
+
)
|
4244
|
+
},
|
4245
|
+
/* @__PURE__ */ React30.createElement("div", { className: "hawa-p-2" }, " ", props.popoverContent)
|
4246
|
+
));
|
4247
|
+
} else {
|
4248
|
+
return /* @__PURE__ */ React30.createElement(
|
4249
|
+
TabsPrimitive.Trigger,
|
4250
|
+
{
|
4251
|
+
className: cn(tabsTriggerVariant({ variant, orientation }), "hawa-relative", className),
|
4252
|
+
...props
|
4253
|
+
},
|
4254
|
+
props.children,
|
4255
|
+
chipProps && /* @__PURE__ */ React30.createElement(Chip, { ...chipProps })
|
4256
|
+
);
|
4257
|
+
}
|
4258
|
+
});
|
4490
4259
|
var TabsContent = React30.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ React30.createElement(
|
4491
4260
|
TabsPrimitive.Content,
|
4492
4261
|
{
|
@@ -4638,385 +4407,398 @@ var RegisterForm = ({
|
|
4638
4407
|
headless: registerTypes ? registerTypes.length <= 1 : true,
|
4639
4408
|
noPadding: props.cardless
|
4640
4409
|
},
|
4641
|
-
/* @__PURE__ */ import_react37.default.createElement(
|
4642
|
-
|
4410
|
+
/* @__PURE__ */ import_react37.default.createElement(
|
4411
|
+
"div",
|
4643
4412
|
{
|
4644
|
-
|
4645
|
-
|
4646
|
-
|
4647
|
-
|
4648
|
-
|
4649
|
-
|
4650
|
-
|
4413
|
+
className: cn(registerTypes && registerTypes.length > 1 ? "hawa-mt-6 hawa-mb-0" : "")
|
4414
|
+
},
|
4415
|
+
props.showError && /* @__PURE__ */ import_react37.default.createElement(
|
4416
|
+
Alert,
|
4417
|
+
{
|
4418
|
+
direction: props.direction,
|
4419
|
+
title: props.errorTitle,
|
4420
|
+
text: props.errorText,
|
4421
|
+
severity: "error",
|
4422
|
+
onAlertClosed: () => {
|
4423
|
+
if (props.onErrorDismissed) {
|
4424
|
+
props.onErrorDismissed();
|
4425
|
+
}
|
4651
4426
|
}
|
4652
4427
|
}
|
4653
|
-
|
4654
|
-
|
4655
|
-
|
4656
|
-
{
|
4657
|
-
noValidate: true,
|
4658
|
-
onSubmit: handleSubmit((e) => {
|
4659
|
-
if (props.onRegister) {
|
4660
|
-
return props.onRegister(e);
|
4661
|
-
} else {
|
4662
|
-
console.log("Form is submitted but onRegister prop is missing");
|
4663
|
-
}
|
4664
|
-
}),
|
4665
|
-
className: "hawa-flex hawa-flex-col hawa-gap-4"
|
4666
|
-
},
|
4667
|
-
/* @__PURE__ */ import_react37.default.createElement(
|
4668
|
-
Tabs,
|
4428
|
+
),
|
4429
|
+
/* @__PURE__ */ import_react37.default.createElement(import_react_hook_form2.FormProvider, { ...methods }, /* @__PURE__ */ import_react37.default.createElement(
|
4430
|
+
"form",
|
4669
4431
|
{
|
4670
|
-
|
4671
|
-
|
4672
|
-
|
4673
|
-
|
4674
|
-
|
4675
|
-
|
4432
|
+
noValidate: true,
|
4433
|
+
onSubmit: handleSubmit((e) => {
|
4434
|
+
if (props.onRegister) {
|
4435
|
+
return props.onRegister(e);
|
4436
|
+
} else {
|
4437
|
+
console.log("Form is submitted but onRegister prop is missing");
|
4676
4438
|
}
|
4677
|
-
)
|
4439
|
+
}),
|
4440
|
+
className: "hawa-flex hawa-flex-col hawa-gap-4"
|
4678
4441
|
},
|
4679
|
-
registerTypes && registerTypes.length > 1 && /* @__PURE__ */ import_react37.default.createElement(CardHeader, { className: "hawa-w-full hawa-px-0 hawa-py-0 hawa-my-4 hawa-mt-6" }, /* @__PURE__ */ import_react37.default.createElement(TabsList, { className: "hawa-w-full" }, registerTypes.map((registerType) => /* @__PURE__ */ import_react37.default.createElement(TabsTrigger, { value: registerType.value }, registerType.label)))),
|
4680
4442
|
/* @__PURE__ */ import_react37.default.createElement(
|
4681
|
-
|
4443
|
+
Tabs,
|
4682
4444
|
{
|
4683
|
-
|
4684
|
-
|
4685
|
-
|
4686
|
-
|
4687
|
-
|
4688
|
-
|
4689
|
-
|
4690
|
-
|
4691
|
-
|
4692
|
-
|
4693
|
-
import_react_hook_form2.Controller,
|
4694
|
-
{
|
4695
|
-
key: i,
|
4696
|
-
control,
|
4697
|
-
name: "fullName",
|
4698
|
-
render: ({ field }) => {
|
4699
|
-
var _a2, _b2, _c2;
|
4700
|
-
return /* @__PURE__ */ import_react37.default.createElement(
|
4701
|
-
Input,
|
4702
|
-
{
|
4703
|
-
width: "full",
|
4704
|
-
label: ((_a2 = texts == null ? void 0 : texts.fullName) == null ? void 0 : _a2.label) || "Full Name",
|
4705
|
-
placeholder: (_b2 = texts == null ? void 0 : texts.fullName) == null ? void 0 : _b2.placeholder,
|
4706
|
-
helperText: (_c2 = formState.errors.fullName) == null ? void 0 : _c2.message,
|
4707
|
-
...field
|
4708
|
-
}
|
4709
|
-
);
|
4710
|
-
}
|
4711
|
-
}
|
4712
|
-
);
|
4713
|
-
}
|
4714
|
-
if (fld === "email") {
|
4715
|
-
return /* @__PURE__ */ import_react37.default.createElement(
|
4716
|
-
import_react_hook_form2.Controller,
|
4717
|
-
{
|
4718
|
-
key: i,
|
4719
|
-
control,
|
4720
|
-
name: "email",
|
4721
|
-
render: ({ field }) => {
|
4722
|
-
var _a2, _b2, _c2;
|
4723
|
-
return /* @__PURE__ */ import_react37.default.createElement(
|
4724
|
-
Input,
|
4725
|
-
{
|
4726
|
-
dir: "ltr",
|
4727
|
-
inputProps: {
|
4728
|
-
className: props.direction === "rtl" ? "hawa-text-right" : "hawa-text-left"
|
4729
|
-
},
|
4730
|
-
width: "full",
|
4731
|
-
autoComplete: "email",
|
4732
|
-
label: ((_a2 = texts == null ? void 0 : texts.email) == null ? void 0 : _a2.label) || "Email",
|
4733
|
-
helperText: (_b2 = formState.errors.email) == null ? void 0 : _b2.message,
|
4734
|
-
placeholder: ((_c2 = texts == null ? void 0 : texts.email) == null ? void 0 : _c2.placeholder) || "Enter your email",
|
4735
|
-
...field,
|
4736
|
-
onChange: (e) => {
|
4737
|
-
field.onChange(e.target.value.toLowerCase().trim());
|
4738
|
-
}
|
4739
|
-
}
|
4740
|
-
);
|
4741
|
-
}
|
4742
|
-
}
|
4743
|
-
);
|
4744
|
-
}
|
4745
|
-
if (fld === "username") {
|
4746
|
-
return /* @__PURE__ */ import_react37.default.createElement(
|
4747
|
-
import_react_hook_form2.Controller,
|
4748
|
-
{
|
4749
|
-
key: i,
|
4750
|
-
control,
|
4751
|
-
name: "username",
|
4752
|
-
render: ({ field }) => {
|
4753
|
-
var _a2, _b2, _c2, _d2;
|
4754
|
-
return /* @__PURE__ */ import_react37.default.createElement(
|
4755
|
-
Input,
|
4756
|
-
{
|
4757
|
-
width: "full",
|
4758
|
-
autoComplete: "username",
|
4759
|
-
label: ((_a2 = texts == null ? void 0 : texts.username) == null ? void 0 : _a2.label) || "Username",
|
4760
|
-
labelProps: {
|
4761
|
-
...(_b2 = props.usernameOptions) == null ? void 0 : _b2.label
|
4762
|
-
},
|
4763
|
-
helperText: (_c2 = formState.errors.username) == null ? void 0 : _c2.message,
|
4764
|
-
placeholder: (_d2 = texts == null ? void 0 : texts.username) == null ? void 0 : _d2.placeholder,
|
4765
|
-
...field
|
4766
|
-
}
|
4767
|
-
);
|
4768
|
-
}
|
4445
|
+
dir: props.direction,
|
4446
|
+
value: selectedRegisterType.value,
|
4447
|
+
onValueChange: (e) => {
|
4448
|
+
if (props.onRegisterTypeChange) {
|
4449
|
+
props.onRegisterTypeChange(e);
|
4450
|
+
}
|
4451
|
+
setSelectedRegisterType(
|
4452
|
+
(registerTypes == null ? void 0 : registerTypes.find((r) => r.value === e)) || registerTypes && registerTypes[0] || {
|
4453
|
+
label: "Password",
|
4454
|
+
value: "password"
|
4769
4455
|
}
|
4770
4456
|
);
|
4771
4457
|
}
|
4772
|
-
}
|
4458
|
+
},
|
4459
|
+
registerTypes && registerTypes.length > 1 && /* @__PURE__ */ import_react37.default.createElement(CardHeader, { className: "hawa-w-full hawa-px-0 hawa-py-0 hawa-mb-4" }, /* @__PURE__ */ import_react37.default.createElement(TabsList, { className: "hawa-w-full" }, registerTypes.map((registerType, k) => /* @__PURE__ */ import_react37.default.createElement(TabsTrigger, { key: k, value: registerType.value }, registerType.label)))),
|
4773
4460
|
/* @__PURE__ */ import_react37.default.createElement(
|
4774
|
-
|
4461
|
+
TabsContent,
|
4775
4462
|
{
|
4776
|
-
|
4777
|
-
|
4778
|
-
|
4779
|
-
|
4463
|
+
value: "password",
|
4464
|
+
className: cn(
|
4465
|
+
"hawa-flex hawa-flex-col hawa-gap-4",
|
4466
|
+
selectedRegisterType.value === "password" ? "hawa-block" : "hawa-hidden"
|
4467
|
+
),
|
4468
|
+
dir: props.direction
|
4469
|
+
},
|
4470
|
+
/* @__PURE__ */ import_react37.default.createElement("div", { className: "hawa-flex hawa-flex-col hawa-gap-4" }, registerFields.map((fld, i) => {
|
4471
|
+
if (fld === "fullname") {
|
4780
4472
|
return /* @__PURE__ */ import_react37.default.createElement(
|
4781
|
-
|
4473
|
+
import_react_hook_form2.Controller,
|
4782
4474
|
{
|
4783
|
-
|
4784
|
-
|
4785
|
-
|
4786
|
-
|
4787
|
-
|
4788
|
-
|
4789
|
-
|
4790
|
-
|
4791
|
-
|
4792
|
-
|
4793
|
-
|
4794
|
-
|
4795
|
-
|
4796
|
-
|
4797
|
-
|
4798
|
-
|
4475
|
+
key: i,
|
4476
|
+
control,
|
4477
|
+
name: "fullName",
|
4478
|
+
render: ({ field }) => {
|
4479
|
+
var _a2, _b2, _c2;
|
4480
|
+
return /* @__PURE__ */ import_react37.default.createElement(
|
4481
|
+
Input,
|
4482
|
+
{
|
4483
|
+
width: "full",
|
4484
|
+
label: ((_a2 = texts == null ? void 0 : texts.fullName) == null ? void 0 : _a2.label) || "Full Name",
|
4485
|
+
placeholder: (_b2 = texts == null ? void 0 : texts.fullName) == null ? void 0 : _b2.placeholder,
|
4486
|
+
helperText: (_c2 = formState.errors.fullName) == null ? void 0 : _c2.message,
|
4487
|
+
...field
|
4488
|
+
}
|
4489
|
+
);
|
4490
|
+
}
|
4799
4491
|
}
|
4800
4492
|
);
|
4801
4493
|
}
|
4802
|
-
|
4803
|
-
),
|
4804
|
-
/* @__PURE__ */ import_react37.default.createElement(
|
4805
|
-
import_react_hook_form2.Controller,
|
4806
|
-
{
|
4807
|
-
control,
|
4808
|
-
name: "confirm_password",
|
4809
|
-
render: ({ field }) => {
|
4810
|
-
var _a2, _b2, _c2;
|
4494
|
+
if (fld === "email") {
|
4811
4495
|
return /* @__PURE__ */ import_react37.default.createElement(
|
4812
|
-
|
4496
|
+
import_react_hook_form2.Controller,
|
4813
4497
|
{
|
4814
|
-
|
4815
|
-
|
4816
|
-
|
4817
|
-
|
4818
|
-
|
4819
|
-
|
4820
|
-
|
4821
|
-
|
4822
|
-
|
4823
|
-
|
4824
|
-
|
4825
|
-
|
4826
|
-
|
4827
|
-
|
4828
|
-
|
4829
|
-
|
4498
|
+
key: i,
|
4499
|
+
control,
|
4500
|
+
name: "email",
|
4501
|
+
render: ({ field }) => {
|
4502
|
+
var _a2, _b2, _c2;
|
4503
|
+
return /* @__PURE__ */ import_react37.default.createElement(
|
4504
|
+
Input,
|
4505
|
+
{
|
4506
|
+
dir: "ltr",
|
4507
|
+
inputProps: {
|
4508
|
+
className: props.direction === "rtl" ? "hawa-text-right" : "hawa-text-left"
|
4509
|
+
},
|
4510
|
+
width: "full",
|
4511
|
+
autoComplete: "email",
|
4512
|
+
label: ((_a2 = texts == null ? void 0 : texts.email) == null ? void 0 : _a2.label) || "Email",
|
4513
|
+
helperText: (_b2 = formState.errors.email) == null ? void 0 : _b2.message,
|
4514
|
+
placeholder: ((_c2 = texts == null ? void 0 : texts.email) == null ? void 0 : _c2.placeholder) || "Enter your email",
|
4515
|
+
...field,
|
4516
|
+
onChange: (e) => {
|
4517
|
+
field.onChange(e.target.value.toLowerCase().trim());
|
4518
|
+
}
|
4519
|
+
}
|
4520
|
+
);
|
4521
|
+
}
|
4830
4522
|
}
|
4831
4523
|
);
|
4832
4524
|
}
|
4833
|
-
|
4834
|
-
),
|
4835
|
-
props.additionalInputs,
|
4836
|
-
props.showRefCode && /* @__PURE__ */ import_react37.default.createElement(
|
4837
|
-
import_react_hook_form2.Controller,
|
4838
|
-
{
|
4839
|
-
control,
|
4840
|
-
name: "refCode",
|
4841
|
-
render: ({ field }) => {
|
4842
|
-
var _a2;
|
4525
|
+
if (fld === "username") {
|
4843
4526
|
return /* @__PURE__ */ import_react37.default.createElement(
|
4844
|
-
|
4527
|
+
import_react_hook_form2.Controller,
|
4845
4528
|
{
|
4846
|
-
|
4847
|
-
|
4848
|
-
|
4849
|
-
|
4850
|
-
|
4529
|
+
key: i,
|
4530
|
+
control,
|
4531
|
+
name: "username",
|
4532
|
+
render: ({ field }) => {
|
4533
|
+
var _a2, _b2, _c2, _d2;
|
4534
|
+
return /* @__PURE__ */ import_react37.default.createElement(
|
4535
|
+
Input,
|
4536
|
+
{
|
4537
|
+
width: "full",
|
4538
|
+
autoComplete: "username",
|
4539
|
+
label: ((_a2 = texts == null ? void 0 : texts.username) == null ? void 0 : _a2.label) || "Username",
|
4540
|
+
labelProps: {
|
4541
|
+
...(_b2 = props.usernameOptions) == null ? void 0 : _b2.label
|
4542
|
+
},
|
4543
|
+
helperText: (_c2 = formState.errors.username) == null ? void 0 : _c2.message,
|
4544
|
+
placeholder: (_d2 = texts == null ? void 0 : texts.username) == null ? void 0 : _d2.placeholder,
|
4545
|
+
...field
|
4546
|
+
}
|
4547
|
+
);
|
4548
|
+
}
|
4851
4549
|
}
|
4852
4550
|
);
|
4853
4551
|
}
|
4854
|
-
}
|
4855
|
-
|
4856
|
-
|
4857
|
-
|
4858
|
-
|
4859
|
-
|
4860
|
-
|
4861
|
-
|
4862
|
-
|
4863
|
-
|
4864
|
-
|
4865
|
-
|
4866
|
-
|
4867
|
-
|
4868
|
-
|
4869
|
-
|
4870
|
-
|
4871
|
-
|
4872
|
-
|
4873
|
-
|
4874
|
-
|
4875
|
-
|
4552
|
+
})),
|
4553
|
+
/* @__PURE__ */ import_react37.default.createElement(
|
4554
|
+
import_react_hook_form2.Controller,
|
4555
|
+
{
|
4556
|
+
control,
|
4557
|
+
name: "password",
|
4558
|
+
render: ({ field }) => {
|
4559
|
+
var _a2, _b2, _c2;
|
4560
|
+
return /* @__PURE__ */ import_react37.default.createElement(
|
4561
|
+
Input,
|
4562
|
+
{
|
4563
|
+
width: "full",
|
4564
|
+
type: passwordVisible ? "text" : "password",
|
4565
|
+
autoComplete: "new-password",
|
4566
|
+
label: ((_a2 = texts == null ? void 0 : texts.password) == null ? void 0 : _a2.label) || "Password",
|
4567
|
+
placeholder: (_b2 = texts == null ? void 0 : texts.password) == null ? void 0 : _b2.placeholder,
|
4568
|
+
helperText: (_c2 = formState.errors.password) == null ? void 0 : _c2.message,
|
4569
|
+
endIcon: /* @__PURE__ */ import_react37.default.createElement(
|
4570
|
+
"div",
|
4571
|
+
{
|
4572
|
+
className: "hawa-cursor-pointer",
|
4573
|
+
onClick: () => setPasswordVisible(!passwordVisible)
|
4574
|
+
},
|
4575
|
+
passwordVisible ? /* @__PURE__ */ import_react37.default.createElement(EyeIcon, { className: "hawa-text-gray-500" }) : /* @__PURE__ */ import_react37.default.createElement(HiddenEyeIcon, { className: "hawa-text-gray-500" }),
|
4576
|
+
" "
|
4577
|
+
),
|
4578
|
+
...field
|
4579
|
+
}
|
4580
|
+
);
|
4581
|
+
}
|
4876
4582
|
}
|
4877
|
-
}
|
4878
|
-
)
|
4879
|
-
),
|
4880
|
-
/* @__PURE__ */ import_react37.default.createElement(
|
4881
|
-
TabsContent,
|
4882
|
-
{
|
4883
|
-
value: "phone",
|
4884
|
-
className: cn(
|
4885
|
-
"hawa-flex hawa-flex-col hawa-gap-4",
|
4886
|
-
selectedRegisterType.value === "phone" ? "hawa-block" : "hawa-hidden"
|
4887
4583
|
),
|
4888
|
-
|
4889
|
-
|
4584
|
+
/* @__PURE__ */ import_react37.default.createElement(
|
4585
|
+
import_react_hook_form2.Controller,
|
4586
|
+
{
|
4587
|
+
control,
|
4588
|
+
name: "confirm_password",
|
4589
|
+
render: ({ field }) => {
|
4590
|
+
var _a2, _b2, _c2;
|
4591
|
+
return /* @__PURE__ */ import_react37.default.createElement(
|
4592
|
+
Input,
|
4593
|
+
{
|
4594
|
+
width: "full",
|
4595
|
+
type: passwordVisible ? "text" : "password",
|
4596
|
+
autoComplete: "new-password",
|
4597
|
+
label: ((_a2 = texts == null ? void 0 : texts.confirm) == null ? void 0 : _a2.label) || "Confirm Password",
|
4598
|
+
placeholder: ((_b2 = texts == null ? void 0 : texts.confirm) == null ? void 0 : _b2.placeholder) || "Confirm your Password",
|
4599
|
+
helperText: (_c2 = formState.errors.confirm_password) == null ? void 0 : _c2.message,
|
4600
|
+
endIcon: /* @__PURE__ */ import_react37.default.createElement(
|
4601
|
+
"div",
|
4602
|
+
{
|
4603
|
+
className: "hawa-cursor-pointer",
|
4604
|
+
onClick: () => setPasswordVisible(!passwordVisible)
|
4605
|
+
},
|
4606
|
+
passwordVisible ? /* @__PURE__ */ import_react37.default.createElement(EyeIcon, { className: "hawa-text-gray-500" }) : /* @__PURE__ */ import_react37.default.createElement(HiddenEyeIcon, { className: "hawa-text-gray-500" }),
|
4607
|
+
" "
|
4608
|
+
),
|
4609
|
+
...field
|
4610
|
+
}
|
4611
|
+
);
|
4612
|
+
}
|
4613
|
+
}
|
4614
|
+
),
|
4615
|
+
props.additionalInputs,
|
4616
|
+
props.showRefCode && /* @__PURE__ */ import_react37.default.createElement(
|
4617
|
+
import_react_hook_form2.Controller,
|
4618
|
+
{
|
4619
|
+
control,
|
4620
|
+
name: "refCode",
|
4621
|
+
render: ({ field }) => {
|
4622
|
+
var _a2;
|
4623
|
+
return /* @__PURE__ */ import_react37.default.createElement(
|
4624
|
+
Input,
|
4625
|
+
{
|
4626
|
+
width: "full",
|
4627
|
+
label: texts == null ? void 0 : texts.refCode,
|
4628
|
+
placeholder: (texts == null ? void 0 : texts.refCodePlaceholder) || "Enter the referral code",
|
4629
|
+
helperText: (_a2 = formState.errors.refCode) == null ? void 0 : _a2.message,
|
4630
|
+
...field
|
4631
|
+
}
|
4632
|
+
);
|
4633
|
+
}
|
4634
|
+
}
|
4635
|
+
),
|
4636
|
+
props.showUserSource && /* @__PURE__ */ import_react37.default.createElement(
|
4637
|
+
import_react_hook_form2.Controller,
|
4638
|
+
{
|
4639
|
+
control,
|
4640
|
+
name: "reference",
|
4641
|
+
render: ({ field }) => {
|
4642
|
+
var _a2, _b2;
|
4643
|
+
return /* @__PURE__ */ import_react37.default.createElement(
|
4644
|
+
Select,
|
4645
|
+
{
|
4646
|
+
label: ((_a2 = texts == null ? void 0 : texts.userReference) == null ? void 0 : _a2.label) || "How did you learn about us?",
|
4647
|
+
placeholder: (_b2 = texts == null ? void 0 : texts.userReference) == null ? void 0 : _b2.placeholder,
|
4648
|
+
isCreatable: false,
|
4649
|
+
isMulti: false,
|
4650
|
+
isSearchable: false,
|
4651
|
+
isClearable: false,
|
4652
|
+
options: props.userReferenceOptions || [],
|
4653
|
+
onChange: (e) => field.onChange(e)
|
4654
|
+
}
|
4655
|
+
);
|
4656
|
+
}
|
4657
|
+
}
|
4658
|
+
)
|
4659
|
+
),
|
4890
4660
|
/* @__PURE__ */ import_react37.default.createElement(
|
4891
|
-
|
4661
|
+
TabsContent,
|
4892
4662
|
{
|
4893
|
-
|
4894
|
-
|
4895
|
-
|
4896
|
-
|
4897
|
-
|
4898
|
-
|
4899
|
-
|
4900
|
-
|
4901
|
-
|
4902
|
-
|
4903
|
-
|
4904
|
-
|
4905
|
-
|
4906
|
-
|
4907
|
-
|
4908
|
-
|
4909
|
-
|
4663
|
+
value: "phone",
|
4664
|
+
className: cn(
|
4665
|
+
"hawa-flex hawa-flex-col hawa-gap-4",
|
4666
|
+
selectedRegisterType.value === "phone" ? "hawa-block" : "hawa-hidden"
|
4667
|
+
),
|
4668
|
+
dir: props.direction
|
4669
|
+
},
|
4670
|
+
/* @__PURE__ */ import_react37.default.createElement(
|
4671
|
+
import_react_hook_form2.Controller,
|
4672
|
+
{
|
4673
|
+
control,
|
4674
|
+
name: "phone",
|
4675
|
+
render: ({ field }) => {
|
4676
|
+
var _a2, _b2;
|
4677
|
+
return /* @__PURE__ */ import_react37.default.createElement(
|
4678
|
+
PhoneInput,
|
4679
|
+
{
|
4680
|
+
label: ((_a2 = texts == null ? void 0 : texts.phone) == null ? void 0 : _a2.label) || "Phone Number",
|
4681
|
+
helperText: (_b2 = formState.errors.phone) == null ? void 0 : _b2.message,
|
4682
|
+
preferredCountry: { label: "+966" },
|
4683
|
+
...props.phoneInputProps,
|
4684
|
+
handleChange: (e) => {
|
4685
|
+
if ((0, import_libphonenumber_js2.isValidPhoneNumber)(e) && (0, import_libphonenumber_js2.isPossiblePhoneNumber)(e) && (0, import_libphonenumber_js2.validatePhoneNumberLength)(e) === void 0) {
|
4686
|
+
let parsed = (0, import_libphonenumber_js2.parsePhoneNumber)(e);
|
4687
|
+
field.onChange(parsed.number);
|
4688
|
+
} else {
|
4689
|
+
field.onChange(e);
|
4690
|
+
}
|
4910
4691
|
}
|
4911
4692
|
}
|
4912
|
-
|
4913
|
-
|
4693
|
+
);
|
4694
|
+
}
|
4914
4695
|
}
|
4915
|
-
|
4696
|
+
),
|
4697
|
+
props.additionalInputs,
|
4698
|
+
props.showRefCode && /* @__PURE__ */ import_react37.default.createElement(
|
4699
|
+
import_react_hook_form2.Controller,
|
4700
|
+
{
|
4701
|
+
control,
|
4702
|
+
name: "refCode",
|
4703
|
+
render: ({ field }) => {
|
4704
|
+
var _a2;
|
4705
|
+
return /* @__PURE__ */ import_react37.default.createElement(
|
4706
|
+
Input,
|
4707
|
+
{
|
4708
|
+
width: "full",
|
4709
|
+
label: texts == null ? void 0 : texts.refCode,
|
4710
|
+
placeholder: (texts == null ? void 0 : texts.refCodePlaceholder) || "Enter the referral code",
|
4711
|
+
helperText: (_a2 = formState.errors.refCode) == null ? void 0 : _a2.message,
|
4712
|
+
...field
|
4713
|
+
}
|
4714
|
+
);
|
4715
|
+
}
|
4716
|
+
}
|
4717
|
+
),
|
4718
|
+
props.showUserSource && /* @__PURE__ */ import_react37.default.createElement(
|
4719
|
+
import_react_hook_form2.Controller,
|
4720
|
+
{
|
4721
|
+
control,
|
4722
|
+
name: "reference",
|
4723
|
+
render: ({ field }) => {
|
4724
|
+
var _a2, _b2;
|
4725
|
+
return /* @__PURE__ */ import_react37.default.createElement(
|
4726
|
+
Select,
|
4727
|
+
{
|
4728
|
+
label: ((_a2 = texts == null ? void 0 : texts.userReference) == null ? void 0 : _a2.label) || "How did you learn about us?",
|
4729
|
+
placeholder: (_b2 = texts == null ? void 0 : texts.userReference) == null ? void 0 : _b2.placeholder,
|
4730
|
+
isCreatable: false,
|
4731
|
+
isMulti: false,
|
4732
|
+
isSearchable: false,
|
4733
|
+
isClearable: false,
|
4734
|
+
options: props.userReferenceOptions || [],
|
4735
|
+
onChange: (e) => field.onChange(e)
|
4736
|
+
}
|
4737
|
+
);
|
4738
|
+
}
|
4739
|
+
}
|
4740
|
+
)
|
4916
4741
|
),
|
4917
|
-
|
4918
|
-
props.showRefCode && /* @__PURE__ */ import_react37.default.createElement(
|
4742
|
+
showTermsOption || showNewsletterOption ? /* @__PURE__ */ import_react37.default.createElement("div", { className: "hawa-flex hawa-flex-col hawa-gap-3 hawa-mb-2" }, showTermsOption && /* @__PURE__ */ import_react37.default.createElement(
|
4919
4743
|
import_react_hook_form2.Controller,
|
4920
4744
|
{
|
4921
4745
|
control,
|
4922
|
-
name: "
|
4746
|
+
name: "terms_accepted",
|
4923
4747
|
render: ({ field }) => {
|
4924
|
-
var _a2;
|
4748
|
+
var _a2, _b2;
|
4925
4749
|
return /* @__PURE__ */ import_react37.default.createElement(
|
4926
|
-
|
4750
|
+
Checkbox,
|
4927
4751
|
{
|
4928
|
-
|
4929
|
-
|
4930
|
-
|
4931
|
-
|
4932
|
-
|
4752
|
+
id: "terms_accepted",
|
4753
|
+
helperText: (_b2 = (_a2 = formState.errors.terms_accepted) == null ? void 0 : _a2.message) == null ? void 0 : _b2.toString(),
|
4754
|
+
onCheckedChange: (e) => field.onChange(e),
|
4755
|
+
label: /* @__PURE__ */ import_react37.default.createElement("div", { className: "hawa-flex hawa-flex-row hawa-gap-0.5 hawa-whitespace-nowrap hawa-flex-wrap" }, (texts == null ? void 0 : texts.iAcceptText) || "I accept the", " ", /* @__PURE__ */ import_react37.default.createElement(StopPropagationWrapper, null, /* @__PURE__ */ import_react37.default.createElement(
|
4756
|
+
"span",
|
4757
|
+
{
|
4758
|
+
onClick: (e) => {
|
4759
|
+
e.preventDefault();
|
4760
|
+
if (props.onRouteToTOS) {
|
4761
|
+
props.onRouteToTOS();
|
4762
|
+
}
|
4763
|
+
},
|
4764
|
+
className: "clickable-link"
|
4765
|
+
},
|
4766
|
+
(texts == null ? void 0 : texts.termsText) || "Terms of Service"
|
4767
|
+
)))
|
4933
4768
|
}
|
4934
4769
|
);
|
4935
4770
|
}
|
4936
4771
|
}
|
4937
|
-
),
|
4938
|
-
props.showUserSource && /* @__PURE__ */ import_react37.default.createElement(
|
4772
|
+
), showNewsletterOption && /* @__PURE__ */ import_react37.default.createElement(
|
4939
4773
|
import_react_hook_form2.Controller,
|
4940
4774
|
{
|
4941
4775
|
control,
|
4942
|
-
name: "
|
4943
|
-
render: ({ field }) =>
|
4944
|
-
var _a2, _b2;
|
4945
|
-
return /* @__PURE__ */ import_react37.default.createElement(
|
4946
|
-
Select,
|
4947
|
-
{
|
4948
|
-
label: ((_a2 = texts == null ? void 0 : texts.userReference) == null ? void 0 : _a2.label) || "How did you learn about us?",
|
4949
|
-
placeholder: (_b2 = texts == null ? void 0 : texts.userReference) == null ? void 0 : _b2.placeholder,
|
4950
|
-
isCreatable: false,
|
4951
|
-
isMulti: false,
|
4952
|
-
isSearchable: false,
|
4953
|
-
isClearable: false,
|
4954
|
-
options: props.userReferenceOptions || [],
|
4955
|
-
onChange: (e) => field.onChange(e)
|
4956
|
-
}
|
4957
|
-
);
|
4958
|
-
}
|
4959
|
-
}
|
4960
|
-
)
|
4961
|
-
),
|
4962
|
-
showTermsOption || showNewsletterOption ? /* @__PURE__ */ import_react37.default.createElement("div", { className: "hawa-flex hawa-flex-col hawa-gap-3 hawa-mb-2" }, showTermsOption && /* @__PURE__ */ import_react37.default.createElement(
|
4963
|
-
import_react_hook_form2.Controller,
|
4964
|
-
{
|
4965
|
-
control,
|
4966
|
-
name: "terms_accepted",
|
4967
|
-
render: ({ field }) => {
|
4968
|
-
var _a2, _b2;
|
4969
|
-
return /* @__PURE__ */ import_react37.default.createElement(
|
4776
|
+
name: "newsletter_accepted",
|
4777
|
+
render: ({ field }) => /* @__PURE__ */ import_react37.default.createElement(
|
4970
4778
|
Checkbox,
|
4971
4779
|
{
|
4972
|
-
id: "
|
4973
|
-
|
4974
|
-
onCheckedChange:
|
4975
|
-
label: /* @__PURE__ */ import_react37.default.createElement("div", { className: "hawa-flex hawa-flex-row hawa-gap-0.5 hawa-whitespace-nowrap hawa-flex-wrap" }, (texts == null ? void 0 : texts.iAcceptText) || "I accept the", " ", /* @__PURE__ */ import_react37.default.createElement(StopPropagationWrapper, null, /* @__PURE__ */ import_react37.default.createElement(
|
4976
|
-
"span",
|
4977
|
-
{
|
4978
|
-
onClick: (e) => {
|
4979
|
-
e.preventDefault();
|
4980
|
-
if (props.onRouteToTOS) {
|
4981
|
-
props.onRouteToTOS();
|
4982
|
-
}
|
4983
|
-
},
|
4984
|
-
className: "clickable-link"
|
4985
|
-
},
|
4986
|
-
(texts == null ? void 0 : texts.termsText) || "Terms of Service"
|
4987
|
-
)))
|
4780
|
+
id: "newsletter_accepted",
|
4781
|
+
label: (texts == null ? void 0 : texts.subscribeToNewsletter) || "Subscribe to our newsletter",
|
4782
|
+
onCheckedChange: field.onChange
|
4988
4783
|
}
|
4989
|
-
)
|
4784
|
+
)
|
4990
4785
|
}
|
4991
|
-
|
4992
|
-
),
|
4993
|
-
|
4786
|
+
)) : null
|
4787
|
+
),
|
4788
|
+
/* @__PURE__ */ import_react37.default.createElement(
|
4789
|
+
Button,
|
4994
4790
|
{
|
4995
|
-
|
4996
|
-
|
4997
|
-
|
4998
|
-
|
4999
|
-
|
5000
|
-
|
5001
|
-
|
5002
|
-
|
5003
|
-
|
5004
|
-
|
5005
|
-
|
5006
|
-
)) : null
|
5007
|
-
),
|
5008
|
-
/* @__PURE__ */ import_react37.default.createElement(
|
5009
|
-
Button,
|
5010
|
-
{
|
5011
|
-
className: "hawa-w-full",
|
5012
|
-
type: "submit",
|
5013
|
-
isLoading: props.isLoading,
|
5014
|
-
disabled: props.isLoading
|
5015
|
-
},
|
5016
|
-
(texts == null ? void 0 : texts.registerText) || "Register"
|
5017
|
-
),
|
5018
|
-
props.additionalButtons
|
5019
|
-
)), props.onRouteToLogin && /* @__PURE__ */ import_react37.default.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__ */ import_react37.default.createElement("span", null, (texts == null ? void 0 : texts.existingUserText) || "Already have an account?"), /* @__PURE__ */ import_react37.default.createElement("span", { onClick: props.onRouteToLogin, className: "clickable-link" }, (texts == null ? void 0 : texts.loginText) || "Login")))
|
4791
|
+
className: "hawa-w-full",
|
4792
|
+
type: "submit",
|
4793
|
+
isLoading: props.isLoading,
|
4794
|
+
disabled: props.isLoading
|
4795
|
+
},
|
4796
|
+
(texts == null ? void 0 : texts.registerText) || "Register"
|
4797
|
+
),
|
4798
|
+
props.additionalButtons
|
4799
|
+
)),
|
4800
|
+
props.onRouteToLogin && /* @__PURE__ */ import_react37.default.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__ */ import_react37.default.createElement("span", null, (texts == null ? void 0 : texts.existingUserText) || "Already have an account?"), /* @__PURE__ */ import_react37.default.createElement("span", { onClick: props.onRouteToLogin, className: "clickable-link" }, (texts == null ? void 0 : texts.loginText) || "Login"))
|
4801
|
+
)
|
5020
4802
|
),
|
5021
4803
|
props.viaGithub || props.viaGoogle || props.viaTwitter ? /* @__PURE__ */ import_react37.default.createElement(
|
5022
4804
|
CardFooter,
|
@@ -5076,14 +4858,7 @@ var AppLanding = ({ texts, ...props }) => {
|
|
5076
4858
|
handleEmail: props.handleEmail,
|
5077
4859
|
handlePhone: props.handlePhone
|
5078
4860
|
}
|
5079
|
-
), props.allowRegister && /* @__PURE__ */ import_react38.default.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__ */ import_react38.default.createElement(
|
5080
|
-
"span",
|
5081
|
-
{
|
5082
|
-
onClick: props.handleRouteToRegister,
|
5083
|
-
className: "clickable-link"
|
5084
|
-
},
|
5085
|
-
texts == null ? void 0 : texts.createAccount
|
5086
|
-
)))));
|
4861
|
+
), props.allowRegister && /* @__PURE__ */ import_react38.default.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__ */ import_react38.default.createElement("span", { onClick: props.handleRouteToRegister, className: "clickable-link" }, texts == null ? void 0 : texts.createAccount)))));
|
5087
4862
|
};
|
5088
4863
|
|
5089
4864
|
// blocks/auth/CheckEmail.tsx
|
@@ -5112,11 +4887,7 @@ var import_react40 = __toESM(require("react"));
|
|
5112
4887
|
var import_react_hook_form3 = require("react-hook-form");
|
5113
4888
|
var import_zod3 = require("@hookform/resolvers/zod");
|
5114
4889
|
var z3 = __toESM(require("zod"));
|
5115
|
-
var NewPasswordForm = ({
|
5116
|
-
texts,
|
5117
|
-
isLoading,
|
5118
|
-
...props
|
5119
|
-
}) => {
|
4890
|
+
var NewPasswordForm = ({ texts, isLoading, ...props }) => {
|
5120
4891
|
var _a, _b, _c, _d, _e, _f, _g, _h;
|
5121
4892
|
const formSchema = z3.object({
|
5122
4893
|
password: z3.string({ required_error: (_a = texts == null ? void 0 : texts.password) == null ? void 0 : _a.required }).min(1, { message: (_b = texts == null ? void 0 : texts.password) == null ? void 0 : _b.required }).min(8, { message: (_c = texts == null ? void 0 : texts.password) == null ? void 0 : _c.tooShort }),
|
@@ -5138,9 +4909,7 @@ var NewPasswordForm = ({
|
|
5138
4909
|
if (props.handleNewPassword) {
|
5139
4910
|
return props.handleNewPassword(e);
|
5140
4911
|
} else {
|
5141
|
-
console.log(
|
5142
|
-
"Form is submitted but handleSubmission prop is missing"
|
5143
|
-
);
|
4912
|
+
console.log("Form is submitted but handleSubmission prop is missing");
|
5144
4913
|
}
|
5145
4914
|
})
|
5146
4915
|
},
|
@@ -5194,14 +4963,7 @@ var NewPasswordForm = ({
|
|
5194
4963
|
);
|
5195
4964
|
}
|
5196
4965
|
}
|
5197
|
-
)), /* @__PURE__ */ import_react40.default.createElement(Button, { className: "hawa-w-full", type: "submit", isLoading }, texts == null ? void 0 : texts.updatePassword), props.allowRegister && /* @__PURE__ */ import_react40.default.createElement("div", { className: "hawa-mt-4 hawa-pb-0 hawa-text-center hawa-text-sm dark:hawa-text-gray-300" }, (_g = texts == null ? void 0 : texts.dontHaveAccount) != null ? _g : "Don't have an account? ", /* @__PURE__ */ import_react40.default.createElement(
|
5198
|
-
"span",
|
5199
|
-
{
|
5200
|
-
className: "clickable-link",
|
5201
|
-
onClick: props.handleRouteToRegister
|
5202
|
-
},
|
5203
|
-
(_h = texts == null ? void 0 : texts.registerText) != null ? _h : "Register"
|
5204
|
-
)))
|
4966
|
+
)), /* @__PURE__ */ import_react40.default.createElement(Button, { className: "hawa-w-full", type: "submit", isLoading }, texts == null ? void 0 : texts.updatePassword), props.allowRegister && /* @__PURE__ */ import_react40.default.createElement("div", { className: "hawa-mt-4 hawa-pb-0 hawa-text-center hawa-text-sm dark:hawa-text-gray-300" }, (_g = texts == null ? void 0 : texts.dontHaveAccount) != null ? _g : "Don't have an account? ", /* @__PURE__ */ import_react40.default.createElement("span", { className: "clickable-link", onClick: props.handleRouteToRegister }, (_h = texts == null ? void 0 : texts.registerText) != null ? _h : "Register")))
|
5205
4967
|
));
|
5206
4968
|
};
|
5207
4969
|
|
@@ -5267,22 +5029,7 @@ var ResetPasswordForm = ({
|
|
5267
5029
|
}
|
5268
5030
|
}
|
5269
5031
|
)),
|
5270
|
-
/* @__PURE__ */ import_react41.default.createElement(CardFooter, { className: "hawa-flex hawa-flex-col" }, /* @__PURE__ */ import_react41.default.createElement(
|
5271
|
-
Button,
|
5272
|
-
{
|
5273
|
-
type: "submit",
|
5274
|
-
className: "hawa-w-full",
|
5275
|
-
isLoading
|
5276
|
-
},
|
5277
|
-
((_i = props.texts) == null ? void 0 : _i.resetPassword) || "Reset Password"
|
5278
|
-
), allowRegister && /* @__PURE__ */ import_react41.default.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__ */ import_react41.default.createElement(
|
5279
|
-
"span",
|
5280
|
-
{
|
5281
|
-
className: "clickable-link",
|
5282
|
-
onClick: props.handleRouteToRegister
|
5283
|
-
},
|
5284
|
-
(_m = (_l = props.texts) == null ? void 0 : _l.registerText) != null ? _m : "Register"
|
5285
|
-
)))
|
5032
|
+
/* @__PURE__ */ import_react41.default.createElement(CardFooter, { className: "hawa-flex hawa-flex-col" }, /* @__PURE__ */ import_react41.default.createElement(Button, { type: "submit", className: "hawa-w-full", isLoading }, ((_i = props.texts) == null ? void 0 : _i.resetPassword) || "Reset Password"), allowRegister && /* @__PURE__ */ import_react41.default.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__ */ import_react41.default.createElement("span", { className: "clickable-link", onClick: props.handleRouteToRegister }, (_m = (_l = props.texts) == null ? void 0 : _l.registerText) != null ? _m : "Register")))
|
5286
5033
|
)) : /* @__PURE__ */ import_react41.default.createElement(CardContent, { headless: true }, /* @__PURE__ */ import_react41.default.createElement("div", { className: "hawa-text-center" }, ((_n = props.texts) == null ? void 0 : _n.emailSentText) || "An email has been sent with a link to set a new password")));
|
5287
5034
|
};
|
5288
5035
|
|
@@ -5296,19 +5043,19 @@ var z5 = __toESM(require("zod"));
|
|
5296
5043
|
var React36 = __toESM(require("react"));
|
5297
5044
|
var import_input_otp = require("input-otp");
|
5298
5045
|
|
5299
|
-
// ../../node_modules/.pnpm/lucide-react@0.
|
5046
|
+
// ../../node_modules/.pnpm/lucide-react@0.435.0_react@18.3.1/node_modules/lucide-react/dist/esm/createLucideIcon.js
|
5300
5047
|
var import_react43 = require("react");
|
5301
5048
|
|
5302
|
-
// ../../node_modules/.pnpm/lucide-react@0.
|
5049
|
+
// ../../node_modules/.pnpm/lucide-react@0.435.0_react@18.3.1/node_modules/lucide-react/dist/esm/shared/src/utils.js
|
5303
5050
|
var toKebabCase = (string6) => string6.replace(/([a-z0-9])([A-Z])/g, "$1-$2").toLowerCase();
|
5304
5051
|
var mergeClasses = (...classes) => classes.filter((className, index, array) => {
|
5305
5052
|
return Boolean(className) && array.indexOf(className) === index;
|
5306
5053
|
}).join(" ");
|
5307
5054
|
|
5308
|
-
// ../../node_modules/.pnpm/lucide-react@0.
|
5055
|
+
// ../../node_modules/.pnpm/lucide-react@0.435.0_react@18.3.1/node_modules/lucide-react/dist/esm/Icon.js
|
5309
5056
|
var import_react42 = require("react");
|
5310
5057
|
|
5311
|
-
// ../../node_modules/.pnpm/lucide-react@0.
|
5058
|
+
// ../../node_modules/.pnpm/lucide-react@0.435.0_react@18.3.1/node_modules/lucide-react/dist/esm/defaultAttributes.js
|
5312
5059
|
var defaultAttributes = {
|
5313
5060
|
xmlns: "http://www.w3.org/2000/svg",
|
5314
5061
|
width: 24,
|
@@ -5321,7 +5068,7 @@ var defaultAttributes = {
|
|
5321
5068
|
strokeLinejoin: "round"
|
5322
5069
|
};
|
5323
5070
|
|
5324
|
-
// ../../node_modules/.pnpm/lucide-react@0.
|
5071
|
+
// ../../node_modules/.pnpm/lucide-react@0.435.0_react@18.3.1/node_modules/lucide-react/dist/esm/Icon.js
|
5325
5072
|
var Icon = (0, import_react42.forwardRef)(
|
5326
5073
|
({
|
5327
5074
|
color = "currentColor",
|
@@ -5353,7 +5100,7 @@ var Icon = (0, import_react42.forwardRef)(
|
|
5353
5100
|
}
|
5354
5101
|
);
|
5355
5102
|
|
5356
|
-
// ../../node_modules/.pnpm/lucide-react@0.
|
5103
|
+
// ../../node_modules/.pnpm/lucide-react@0.435.0_react@18.3.1/node_modules/lucide-react/dist/esm/createLucideIcon.js
|
5357
5104
|
var createLucideIcon = (iconName, iconNode) => {
|
5358
5105
|
const Component = (0, import_react43.forwardRef)(
|
5359
5106
|
({ className, ...props }, ref) => (0, import_react43.createElement)(Icon, {
|
@@ -5367,7 +5114,7 @@ var createLucideIcon = (iconName, iconNode) => {
|
|
5367
5114
|
return Component;
|
5368
5115
|
};
|
5369
5116
|
|
5370
|
-
// ../../node_modules/.pnpm/lucide-react@0.
|
5117
|
+
// ../../node_modules/.pnpm/lucide-react@0.435.0_react@18.3.1/node_modules/lucide-react/dist/esm/icons/dot.js
|
5371
5118
|
var Dot = createLucideIcon("Dot", [
|
5372
5119
|
["circle", { cx: "12.1", cy: "12.1", r: "1", key: "18d7e5" }]
|
5373
5120
|
]);
|
@@ -5464,7 +5211,7 @@ var CodeConfirmation = ({ codeLength = 6, ...props }) => {
|
|
5464
5211
|
}
|
5465
5212
|
};
|
5466
5213
|
}, []);
|
5467
|
-
return /* @__PURE__ */ import_react44.default.createElement(Card, null, /* @__PURE__ */ import_react44.default.createElement(CardContent, { headless: true }, props.showError && /* @__PURE__ */ import_react44.default.createElement(Alert, { title: props.errorTitle, text: props.errorText, severity: "error" }), /* @__PURE__ */ import_react44.default.createElement("div", { className: "hawa-mb-4 dark:hawa-text-white" }, /* @__PURE__ */ import_react44.default.createElement("div", { className: "hawa-text-lg hawa-font-bold" }, ((_c = props.texts) == null ? void 0 : _c.checkYourIdentifier) || "Please check your phone"), /* @__PURE__ */ import_react44.default.createElement("div", { className: "hawa-text-muted-foreground" }, /* @__PURE__ */ import_react44.default.createElement("span", null, (
|
5214
|
+
return /* @__PURE__ */ import_react44.default.createElement(Card, null, /* @__PURE__ */ import_react44.default.createElement(CardContent, { headless: true }, props.showError && /* @__PURE__ */ import_react44.default.createElement(Alert, { title: props.errorTitle, text: props.errorText, severity: "error" }), /* @__PURE__ */ import_react44.default.createElement("div", { className: "hawa-mb-4 dark:hawa-text-white" }, /* @__PURE__ */ import_react44.default.createElement("div", { className: "hawa-text-lg hawa-font-bold" }, ((_c = props.texts) == null ? void 0 : _c.checkYourIdentifier) || "Please check your phone"), /* @__PURE__ */ import_react44.default.createElement("div", { className: "hawa-text-muted-foreground hawa-flex hawa-flex-row" }, /* @__PURE__ */ import_react44.default.createElement("span", null, `${(_d = props.texts) == null ? void 0 : _d.weSentCode} ` || `We've sent a code to `, /* @__PURE__ */ import_react44.default.createElement("span", { dir: "ltr" }, props.identifier)))), /* @__PURE__ */ import_react44.default.createElement(
|
5468
5215
|
"form",
|
5469
5216
|
{
|
5470
5217
|
noValidate: true,
|
@@ -5537,7 +5284,7 @@ var CodeConfirmation = ({ codeLength = 6, ...props }) => {
|
|
5537
5284
|
|
5538
5285
|
lucide-react/dist/esm/shared/src/utils.js:
|
5539
5286
|
(**
|
5540
|
-
* @license lucide-react v0.
|
5287
|
+
* @license lucide-react v0.435.0 - ISC
|
5541
5288
|
*
|
5542
5289
|
* This source code is licensed under the ISC license.
|
5543
5290
|
* See the LICENSE file in the root directory of this source tree.
|
@@ -5545,7 +5292,7 @@ lucide-react/dist/esm/shared/src/utils.js:
|
|
5545
5292
|
|
5546
5293
|
lucide-react/dist/esm/defaultAttributes.js:
|
5547
5294
|
(**
|
5548
|
-
* @license lucide-react v0.
|
5295
|
+
* @license lucide-react v0.435.0 - ISC
|
5549
5296
|
*
|
5550
5297
|
* This source code is licensed under the ISC license.
|
5551
5298
|
* See the LICENSE file in the root directory of this source tree.
|
@@ -5553,7 +5300,7 @@ lucide-react/dist/esm/defaultAttributes.js:
|
|
5553
5300
|
|
5554
5301
|
lucide-react/dist/esm/Icon.js:
|
5555
5302
|
(**
|
5556
|
-
* @license lucide-react v0.
|
5303
|
+
* @license lucide-react v0.435.0 - ISC
|
5557
5304
|
*
|
5558
5305
|
* This source code is licensed under the ISC license.
|
5559
5306
|
* See the LICENSE file in the root directory of this source tree.
|
@@ -5561,7 +5308,7 @@ lucide-react/dist/esm/Icon.js:
|
|
5561
5308
|
|
5562
5309
|
lucide-react/dist/esm/createLucideIcon.js:
|
5563
5310
|
(**
|
5564
|
-
* @license lucide-react v0.
|
5311
|
+
* @license lucide-react v0.435.0 - ISC
|
5565
5312
|
*
|
5566
5313
|
* This source code is licensed under the ISC license.
|
5567
5314
|
* See the LICENSE file in the root directory of this source tree.
|
@@ -5569,7 +5316,7 @@ lucide-react/dist/esm/createLucideIcon.js:
|
|
5569
5316
|
|
5570
5317
|
lucide-react/dist/esm/icons/dot.js:
|
5571
5318
|
(**
|
5572
|
-
* @license lucide-react v0.
|
5319
|
+
* @license lucide-react v0.435.0 - ISC
|
5573
5320
|
*
|
5574
5321
|
* This source code is licensed under the ISC license.
|
5575
5322
|
* See the LICENSE file in the root directory of this source tree.
|
@@ -5577,7 +5324,7 @@ lucide-react/dist/esm/icons/dot.js:
|
|
5577
5324
|
|
5578
5325
|
lucide-react/dist/esm/lucide-react.js:
|
5579
5326
|
(**
|
5580
|
-
* @license lucide-react v0.
|
5327
|
+
* @license lucide-react v0.435.0 - ISC
|
5581
5328
|
*
|
5582
5329
|
* This source code is licensed under the ISC license.
|
5583
5330
|
* See the LICENSE file in the root directory of this source tree.
|