@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
package/dist/blocks/index.js
CHANGED
|
@@ -81,9 +81,7 @@ var import_class_variance_authority = require("class-variance-authority");
|
|
|
81
81
|
|
|
82
82
|
// elements/helperText/HelperText.tsx
|
|
83
83
|
var import_react = __toESM(require("react"));
|
|
84
|
-
var HelperText = ({
|
|
85
|
-
helperText
|
|
86
|
-
}) => /* @__PURE__ */ import_react.default.createElement(
|
|
84
|
+
var HelperText = ({ helperText }) => /* @__PURE__ */ import_react.default.createElement(
|
|
87
85
|
"p",
|
|
88
86
|
{
|
|
89
87
|
className: cn(
|
|
@@ -134,38 +132,31 @@ var Tooltip = ({
|
|
|
134
132
|
delayDuration = 300,
|
|
135
133
|
...props
|
|
136
134
|
}) => {
|
|
137
|
-
return /* @__PURE__ */ import_react2.default.createElement(
|
|
138
|
-
TooltipPrimitive.
|
|
135
|
+
return /* @__PURE__ */ import_react2.default.createElement(TooltipPrimitive.TooltipProvider, { delayDuration, ...providerProps }, /* @__PURE__ */ import_react2.default.createElement(
|
|
136
|
+
TooltipPrimitive.Root,
|
|
139
137
|
{
|
|
140
|
-
|
|
141
|
-
|
|
138
|
+
open: !disabled && open,
|
|
139
|
+
defaultOpen,
|
|
140
|
+
onOpenChange,
|
|
141
|
+
...props
|
|
142
142
|
},
|
|
143
|
+
/* @__PURE__ */ import_react2.default.createElement(TooltipPrimitive.Trigger, { ...triggerProps }, children),
|
|
143
144
|
/* @__PURE__ */ import_react2.default.createElement(
|
|
144
|
-
|
|
145
|
+
TooltipContent,
|
|
145
146
|
{
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
...
|
|
147
|
+
size,
|
|
148
|
+
side,
|
|
149
|
+
align: "center",
|
|
150
|
+
...contentProps,
|
|
151
|
+
style: {
|
|
152
|
+
...contentProps == null ? void 0 : contentProps.style,
|
|
153
|
+
maxWidth: "var(--radix-tooltip-content-available-width)",
|
|
154
|
+
maxHeight: "var(--radix-tooltip-content-available-height)"
|
|
155
|
+
}
|
|
150
156
|
},
|
|
151
|
-
|
|
152
|
-
/* @__PURE__ */ import_react2.default.createElement(
|
|
153
|
-
TooltipContent,
|
|
154
|
-
{
|
|
155
|
-
size,
|
|
156
|
-
side,
|
|
157
|
-
align: "center",
|
|
158
|
-
...contentProps,
|
|
159
|
-
style: {
|
|
160
|
-
...contentProps == null ? void 0 : contentProps.style,
|
|
161
|
-
maxWidth: "var(--radix-tooltip-content-available-width)",
|
|
162
|
-
maxHeight: "var(--radix-tooltip-content-available-height)"
|
|
163
|
-
}
|
|
164
|
-
},
|
|
165
|
-
content
|
|
166
|
-
)
|
|
157
|
+
content
|
|
167
158
|
)
|
|
168
|
-
);
|
|
159
|
+
));
|
|
169
160
|
};
|
|
170
161
|
|
|
171
162
|
// elements/label/Label.tsx
|
|
@@ -242,57 +233,42 @@ var Loading = ({
|
|
|
242
233
|
};
|
|
243
234
|
switch (design.split("-")[0]) {
|
|
244
235
|
case "dots":
|
|
245
|
-
return /* @__PURE__ */ import_react3.default.createElement(
|
|
236
|
+
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(
|
|
246
237
|
"div",
|
|
247
238
|
{
|
|
248
239
|
className: cn(
|
|
249
|
-
"hawa-
|
|
250
|
-
|
|
240
|
+
"hawa-animate-bounce hawa-rounded-full hawa-delay-100 hawa-repeat-infinite",
|
|
241
|
+
size === "button" ? "hawa-h-2 hawa-w-2" : sizeStyles[size],
|
|
242
|
+
animationStyles[design.split("-")[1]],
|
|
243
|
+
color ? color : "hawa-bg-primary"
|
|
251
244
|
)
|
|
252
|
-
}
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
),
|
|
275
|
-
/* @__PURE__ */ import_react3.default.createElement(
|
|
276
|
-
"div",
|
|
277
|
-
{
|
|
278
|
-
className: cn(
|
|
279
|
-
"hawa-animate-bounce hawa-rounded-full hawa-delay-300 hawa-repeat-infinite",
|
|
280
|
-
size === "button" ? "hawa-h-2 hawa-w-2" : sizeStyles[size],
|
|
281
|
-
animationStyles[design.split("-")[1]],
|
|
282
|
-
color ? color : "hawa-bg-primary"
|
|
283
|
-
)
|
|
284
|
-
}
|
|
285
|
-
)
|
|
286
|
-
);
|
|
245
|
+
}
|
|
246
|
+
), /* @__PURE__ */ import_react3.default.createElement(
|
|
247
|
+
"div",
|
|
248
|
+
{
|
|
249
|
+
className: cn(
|
|
250
|
+
"hawa-animate-bounce hawa-rounded-full hawa-delay-200 hawa-repeat-infinite",
|
|
251
|
+
size === "button" ? "hawa-h-2 hawa-w-2" : sizeStyles[size],
|
|
252
|
+
animationStyles[design.split("-")[1]],
|
|
253
|
+
color ? color : "hawa-bg-primary"
|
|
254
|
+
)
|
|
255
|
+
}
|
|
256
|
+
), /* @__PURE__ */ import_react3.default.createElement(
|
|
257
|
+
"div",
|
|
258
|
+
{
|
|
259
|
+
className: cn(
|
|
260
|
+
"hawa-animate-bounce hawa-rounded-full hawa-delay-300 hawa-repeat-infinite",
|
|
261
|
+
size === "button" ? "hawa-h-2 hawa-w-2" : sizeStyles[size],
|
|
262
|
+
animationStyles[design.split("-")[1]],
|
|
263
|
+
color ? color : "hawa-bg-primary"
|
|
264
|
+
)
|
|
265
|
+
}
|
|
266
|
+
));
|
|
287
267
|
case "square":
|
|
288
268
|
return /* @__PURE__ */ import_react3.default.createElement(
|
|
289
269
|
"svg",
|
|
290
270
|
{
|
|
291
|
-
className: cn(
|
|
292
|
-
"squircle-container",
|
|
293
|
-
sizeStyles[size],
|
|
294
|
-
classNames == null ? void 0 : classNames.container
|
|
295
|
-
),
|
|
271
|
+
className: cn("squircle-container", sizeStyles[size], classNames == null ? void 0 : classNames.container),
|
|
296
272
|
viewBox: "0 0 35 35",
|
|
297
273
|
height: "35",
|
|
298
274
|
width: "35"
|
|
@@ -333,11 +309,7 @@ var Loading = ({
|
|
|
333
309
|
height: "37",
|
|
334
310
|
width: "37",
|
|
335
311
|
preserveAspectRatio: "xMidYMid meet",
|
|
336
|
-
className: cn(
|
|
337
|
-
"squircle-container",
|
|
338
|
-
sizeStyles[size],
|
|
339
|
-
classNames == null ? void 0 : classNames.container
|
|
340
|
-
)
|
|
312
|
+
className: cn("squircle-container", sizeStyles[size], classNames == null ? void 0 : classNames.container)
|
|
341
313
|
},
|
|
342
314
|
/* @__PURE__ */ import_react3.default.createElement(
|
|
343
315
|
"path",
|
|
@@ -380,11 +352,7 @@ var Loading = ({
|
|
|
380
352
|
viewBox: "0 0 40 40",
|
|
381
353
|
height: "40",
|
|
382
354
|
width: "40",
|
|
383
|
-
className: cn(
|
|
384
|
-
"circle-container",
|
|
385
|
-
sizeStyles[size],
|
|
386
|
-
classNames == null ? void 0 : classNames.container
|
|
387
|
-
)
|
|
355
|
+
className: cn("circle-container", sizeStyles[size], classNames == null ? void 0 : classNames.container)
|
|
388
356
|
},
|
|
389
357
|
/* @__PURE__ */ import_react3.default.createElement(
|
|
390
358
|
"circle",
|
|
@@ -674,22 +642,13 @@ var Logos = {
|
|
|
674
642
|
}
|
|
675
643
|
)
|
|
676
644
|
),
|
|
677
|
-
hawa: (props) => /* @__PURE__ */ import_react4.default.createElement(
|
|
678
|
-
"
|
|
645
|
+
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(
|
|
646
|
+
"path",
|
|
679
647
|
{
|
|
680
|
-
|
|
681
|
-
|
|
682
|
-
|
|
683
|
-
|
|
684
|
-
},
|
|
685
|
-
/* @__PURE__ */ import_react4.default.createElement(
|
|
686
|
-
"path",
|
|
687
|
-
{
|
|
688
|
-
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",
|
|
689
|
-
fill: "currentColor"
|
|
690
|
-
}
|
|
691
|
-
)
|
|
692
|
-
),
|
|
648
|
+
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",
|
|
649
|
+
fill: "currentColor"
|
|
650
|
+
}
|
|
651
|
+
)),
|
|
693
652
|
sikka: (props) => /* @__PURE__ */ import_react4.default.createElement(
|
|
694
653
|
"svg",
|
|
695
654
|
{
|
|
@@ -758,101 +717,42 @@ var Logos = {
|
|
|
758
717
|
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"
|
|
759
718
|
}
|
|
760
719
|
)),
|
|
761
|
-
instagram: (props) => /* @__PURE__ */ import_react4.default.createElement(
|
|
762
|
-
|
|
720
|
+
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" })),
|
|
721
|
+
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(
|
|
722
|
+
"path",
|
|
763
723
|
{
|
|
764
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
765
724
|
fill: "currentColor",
|
|
766
|
-
|
|
767
|
-
|
|
768
|
-
|
|
769
|
-
|
|
770
|
-
|
|
771
|
-
telegram: (props) => /* @__PURE__ */ import_react4.default.createElement(
|
|
772
|
-
"svg",
|
|
773
|
-
{
|
|
774
|
-
role: "img",
|
|
775
|
-
viewBox: "0 0 24 24",
|
|
776
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
777
|
-
...props
|
|
778
|
-
},
|
|
779
|
-
/* @__PURE__ */ import_react4.default.createElement("title", null, "Telegram"),
|
|
780
|
-
/* @__PURE__ */ import_react4.default.createElement(
|
|
781
|
-
"path",
|
|
782
|
-
{
|
|
783
|
-
fill: "currentColor",
|
|
784
|
-
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"
|
|
785
|
-
}
|
|
786
|
-
)
|
|
787
|
-
),
|
|
788
|
-
youtube: (props) => /* @__PURE__ */ import_react4.default.createElement(
|
|
789
|
-
"svg",
|
|
725
|
+
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"
|
|
726
|
+
}
|
|
727
|
+
)),
|
|
728
|
+
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(
|
|
729
|
+
"path",
|
|
790
730
|
{
|
|
791
|
-
|
|
792
|
-
|
|
793
|
-
|
|
794
|
-
|
|
795
|
-
|
|
796
|
-
|
|
797
|
-
/* @__PURE__ */ import_react4.default.createElement(
|
|
798
|
-
"path",
|
|
799
|
-
{
|
|
800
|
-
fill: "currentColor",
|
|
801
|
-
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"
|
|
802
|
-
}
|
|
803
|
-
)
|
|
804
|
-
),
|
|
805
|
-
tiktok: (props) => /* @__PURE__ */ import_react4.default.createElement(
|
|
806
|
-
"svg",
|
|
731
|
+
fill: "currentColor",
|
|
732
|
+
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"
|
|
733
|
+
}
|
|
734
|
+
)),
|
|
735
|
+
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(
|
|
736
|
+
"path",
|
|
807
737
|
{
|
|
808
|
-
|
|
809
|
-
|
|
810
|
-
|
|
811
|
-
|
|
812
|
-
|
|
813
|
-
|
|
814
|
-
/* @__PURE__ */ import_react4.default.createElement(
|
|
815
|
-
"path",
|
|
816
|
-
{
|
|
817
|
-
fill: "currentColor",
|
|
818
|
-
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"
|
|
819
|
-
}
|
|
820
|
-
)
|
|
821
|
-
),
|
|
822
|
-
linkedin: (props) => /* @__PURE__ */ import_react4.default.createElement(
|
|
823
|
-
"svg",
|
|
738
|
+
fill: "currentColor",
|
|
739
|
+
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"
|
|
740
|
+
}
|
|
741
|
+
)),
|
|
742
|
+
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(
|
|
743
|
+
"path",
|
|
824
744
|
{
|
|
825
|
-
|
|
826
|
-
|
|
827
|
-
|
|
828
|
-
|
|
829
|
-
|
|
830
|
-
|
|
831
|
-
/* @__PURE__ */ import_react4.default.createElement(
|
|
832
|
-
"path",
|
|
833
|
-
{
|
|
834
|
-
fill: "currentColor",
|
|
835
|
-
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"
|
|
836
|
-
}
|
|
837
|
-
)
|
|
838
|
-
),
|
|
839
|
-
behance: (props) => /* @__PURE__ */ import_react4.default.createElement(
|
|
840
|
-
"svg",
|
|
745
|
+
fill: "currentColor",
|
|
746
|
+
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"
|
|
747
|
+
}
|
|
748
|
+
)),
|
|
749
|
+
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(
|
|
750
|
+
"path",
|
|
841
751
|
{
|
|
842
|
-
|
|
843
|
-
|
|
844
|
-
|
|
845
|
-
|
|
846
|
-
},
|
|
847
|
-
/* @__PURE__ */ import_react4.default.createElement("title", null, "Behance"),
|
|
848
|
-
/* @__PURE__ */ import_react4.default.createElement(
|
|
849
|
-
"path",
|
|
850
|
-
{
|
|
851
|
-
fill: "currentColor",
|
|
852
|
-
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"
|
|
853
|
-
}
|
|
854
|
-
)
|
|
855
|
-
),
|
|
752
|
+
fill: "currentColor",
|
|
753
|
+
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"
|
|
754
|
+
}
|
|
755
|
+
)),
|
|
856
756
|
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(
|
|
857
757
|
"path",
|
|
858
758
|
{
|
|
@@ -860,21 +760,13 @@ var Logos = {
|
|
|
860
760
|
d: "M7.462 0H0v7.19h7.462V0zM16 0H8.538v7.19H16V0zM7.462 8.211H0V16h7.462V8.211zm8.538 0H8.538V16H16V8.211z"
|
|
861
761
|
}
|
|
862
762
|
)),
|
|
863
|
-
github: (props) => /* @__PURE__ */ import_react4.default.createElement(
|
|
864
|
-
"
|
|
763
|
+
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(
|
|
764
|
+
"path",
|
|
865
765
|
{
|
|
866
|
-
|
|
867
|
-
|
|
868
|
-
|
|
869
|
-
|
|
870
|
-
/* @__PURE__ */ import_react4.default.createElement(
|
|
871
|
-
"path",
|
|
872
|
-
{
|
|
873
|
-
fill: "currentColor",
|
|
874
|
-
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"
|
|
875
|
-
}
|
|
876
|
-
)
|
|
877
|
-
),
|
|
766
|
+
fill: "currentColor",
|
|
767
|
+
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"
|
|
768
|
+
}
|
|
769
|
+
)),
|
|
878
770
|
radix: (props) => /* @__PURE__ */ import_react4.default.createElement("svg", { viewBox: "0 0 25 25", fill: "none", ...props }, /* @__PURE__ */ import_react4.default.createElement(
|
|
879
771
|
"path",
|
|
880
772
|
{
|
|
@@ -931,23 +823,13 @@ var Logos = {
|
|
|
931
823
|
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"
|
|
932
824
|
}
|
|
933
825
|
)),
|
|
934
|
-
googleplay: (props) => /* @__PURE__ */ import_react4.default.createElement(
|
|
935
|
-
"
|
|
826
|
+
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(
|
|
827
|
+
"path",
|
|
936
828
|
{
|
|
937
|
-
|
|
938
|
-
|
|
939
|
-
|
|
940
|
-
|
|
941
|
-
},
|
|
942
|
-
/* @__PURE__ */ import_react4.default.createElement("title", null, "Google Play"),
|
|
943
|
-
/* @__PURE__ */ import_react4.default.createElement(
|
|
944
|
-
"path",
|
|
945
|
-
{
|
|
946
|
-
fill: "currentColor",
|
|
947
|
-
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"
|
|
948
|
-
}
|
|
949
|
-
)
|
|
950
|
-
),
|
|
829
|
+
fill: "currentColor",
|
|
830
|
+
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"
|
|
831
|
+
}
|
|
832
|
+
)),
|
|
951
833
|
apple: (props) => /* @__PURE__ */ import_react4.default.createElement("svg", { role: "img", viewBox: "0 0 24 24", ...props }, /* @__PURE__ */ import_react4.default.createElement(
|
|
952
834
|
"path",
|
|
953
835
|
{
|
|
@@ -955,23 +837,13 @@ var Logos = {
|
|
|
955
837
|
fill: "currentColor"
|
|
956
838
|
}
|
|
957
839
|
)),
|
|
958
|
-
applestore: (props) => /* @__PURE__ */ import_react4.default.createElement(
|
|
959
|
-
"
|
|
840
|
+
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(
|
|
841
|
+
"path",
|
|
960
842
|
{
|
|
961
|
-
|
|
962
|
-
|
|
963
|
-
|
|
964
|
-
|
|
965
|
-
},
|
|
966
|
-
/* @__PURE__ */ import_react4.default.createElement("title", null, "App Store"),
|
|
967
|
-
/* @__PURE__ */ import_react4.default.createElement(
|
|
968
|
-
"path",
|
|
969
|
-
{
|
|
970
|
-
fill: "currentColor",
|
|
971
|
-
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"
|
|
972
|
-
}
|
|
973
|
-
)
|
|
974
|
-
),
|
|
843
|
+
fill: "currentColor",
|
|
844
|
+
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"
|
|
845
|
+
}
|
|
846
|
+
)),
|
|
975
847
|
paypal: (props) => /* @__PURE__ */ import_react4.default.createElement("svg", { role: "img", viewBox: "0 0 24 24", ...props }, /* @__PURE__ */ import_react4.default.createElement(
|
|
976
848
|
"path",
|
|
977
849
|
{
|
|
@@ -995,50 +867,21 @@ var Logos = {
|
|
|
995
867
|
},
|
|
996
868
|
/* @__PURE__ */ import_react4.default.createElement("path", { d: "M21 12a9 9 0 1 1-6.219-8.56" })
|
|
997
869
|
),
|
|
998
|
-
whatsapp: (props) => /* @__PURE__ */ import_react4.default.createElement(
|
|
999
|
-
|
|
870
|
+
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" })),
|
|
871
|
+
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(
|
|
872
|
+
"path",
|
|
1000
873
|
{
|
|
1001
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
1002
|
-
viewBox: "0 0 24 24",
|
|
1003
874
|
fill: "currentColor",
|
|
1004
|
-
|
|
1005
|
-
}
|
|
1006
|
-
|
|
1007
|
-
),
|
|
1008
|
-
|
|
1009
|
-
"svg",
|
|
1010
|
-
{
|
|
1011
|
-
role: "img",
|
|
1012
|
-
viewBox: "0 0 24 24",
|
|
1013
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
1014
|
-
...props
|
|
1015
|
-
},
|
|
1016
|
-
/* @__PURE__ */ import_react4.default.createElement("title", null, "Visa"),
|
|
1017
|
-
/* @__PURE__ */ import_react4.default.createElement(
|
|
1018
|
-
"path",
|
|
1019
|
-
{
|
|
1020
|
-
fill: "currentColor",
|
|
1021
|
-
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"
|
|
1022
|
-
}
|
|
1023
|
-
)
|
|
1024
|
-
),
|
|
1025
|
-
mastercard: (props) => /* @__PURE__ */ import_react4.default.createElement(
|
|
1026
|
-
"svg",
|
|
875
|
+
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"
|
|
876
|
+
}
|
|
877
|
+
)),
|
|
878
|
+
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(
|
|
879
|
+
"path",
|
|
1027
880
|
{
|
|
1028
|
-
|
|
1029
|
-
|
|
1030
|
-
|
|
1031
|
-
|
|
1032
|
-
},
|
|
1033
|
-
/* @__PURE__ */ import_react4.default.createElement("title", null, "MasterCard"),
|
|
1034
|
-
/* @__PURE__ */ import_react4.default.createElement(
|
|
1035
|
-
"path",
|
|
1036
|
-
{
|
|
1037
|
-
fill: "currentColor",
|
|
1038
|
-
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"
|
|
1039
|
-
}
|
|
1040
|
-
)
|
|
1041
|
-
)
|
|
881
|
+
fill: "currentColor",
|
|
882
|
+
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"
|
|
883
|
+
}
|
|
884
|
+
))
|
|
1042
885
|
};
|
|
1043
886
|
|
|
1044
887
|
// blocks/auth/AuthButtons.tsx
|
|
@@ -1238,20 +1081,9 @@ var Alert = ({
|
|
|
1238
1081
|
), props.actions && /* @__PURE__ */ import_react6.default.createElement(
|
|
1239
1082
|
"div",
|
|
1240
1083
|
{
|
|
1241
|
-
className: cn(
|
|
1242
|
-
"hawa-mt-2 hawa-flex hawa-flex-row hawa-gap-2",
|
|
1243
|
-
classNames == null ? void 0 : classNames.actions
|
|
1244
|
-
)
|
|
1084
|
+
className: cn("hawa-mt-2 hawa-flex hawa-flex-row hawa-gap-2", classNames == null ? void 0 : classNames.actions)
|
|
1245
1085
|
},
|
|
1246
|
-
props.actions.map((act, index) => /* @__PURE__ */ import_react6.default.createElement(
|
|
1247
|
-
Button,
|
|
1248
|
-
{
|
|
1249
|
-
key: index,
|
|
1250
|
-
variant: act.variant,
|
|
1251
|
-
onClick: act.onClick()
|
|
1252
|
-
},
|
|
1253
|
-
act.label
|
|
1254
|
-
))
|
|
1086
|
+
props.actions.map((act, index) => /* @__PURE__ */ import_react6.default.createElement(Button, { key: index, variant: act.variant, onClick: act.onClick() }, act.label))
|
|
1255
1087
|
))),
|
|
1256
1088
|
!props.persistent && /* @__PURE__ */ import_react6.default.createElement(
|
|
1257
1089
|
"button",
|
|
@@ -1273,9 +1105,7 @@ var Alert = ({
|
|
|
1273
1105
|
setClosed(true);
|
|
1274
1106
|
setTimeout(() => {
|
|
1275
1107
|
if (alertRef == null ? void 0 : alertRef.current) {
|
|
1276
|
-
alertRef == null ? void 0 : alertRef.current.removeChild(
|
|
1277
|
-
alertRef == null ? void 0 : alertRef.current.children[0]
|
|
1278
|
-
);
|
|
1108
|
+
alertRef == null ? void 0 : alertRef.current.removeChild(alertRef == null ? void 0 : alertRef.current.children[0]);
|
|
1279
1109
|
}
|
|
1280
1110
|
}, 200);
|
|
1281
1111
|
}
|
|
@@ -1307,13 +1137,7 @@ var Alert = ({
|
|
|
1307
1137
|
// elements/card/Card.tsx
|
|
1308
1138
|
var React9 = __toESM(require("react"));
|
|
1309
1139
|
var Card = React9.forwardRef(
|
|
1310
|
-
({
|
|
1311
|
-
className,
|
|
1312
|
-
variant = "default",
|
|
1313
|
-
clickable = false,
|
|
1314
|
-
asContainer = false,
|
|
1315
|
-
...props
|
|
1316
|
-
}, ref) => {
|
|
1140
|
+
({ className, variant = "default", clickable = false, asContainer = false, ...props }, ref) => {
|
|
1317
1141
|
let variantStyles = {
|
|
1318
1142
|
default: cn(
|
|
1319
1143
|
"hawa-rounded hawa-border hawa-bg-card hawa-text-card-foreground hawa-shadow-sm",
|
|
@@ -1325,14 +1149,7 @@ var Card = React9.forwardRef(
|
|
|
1325
1149
|
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"
|
|
1326
1150
|
)
|
|
1327
1151
|
};
|
|
1328
|
-
return /* @__PURE__ */ React9.createElement(
|
|
1329
|
-
"div",
|
|
1330
|
-
{
|
|
1331
|
-
ref,
|
|
1332
|
-
className: cn(!asContainer && variantStyles[variant], className),
|
|
1333
|
-
...props
|
|
1334
|
-
}
|
|
1335
|
-
);
|
|
1152
|
+
return /* @__PURE__ */ React9.createElement("div", { ref, className: cn(!asContainer && variantStyles[variant], className), ...props });
|
|
1336
1153
|
}
|
|
1337
1154
|
);
|
|
1338
1155
|
var CardHeader = React9.forwardRef(
|
|
@@ -1340,30 +1157,15 @@ var CardHeader = React9.forwardRef(
|
|
|
1340
1157
|
"div",
|
|
1341
1158
|
{
|
|
1342
1159
|
ref,
|
|
1343
|
-
className: cn(
|
|
1344
|
-
"hawa-flex hawa-flex-col hawa-space-y-1.5 hawa-p-6",
|
|
1345
|
-
className
|
|
1346
|
-
),
|
|
1160
|
+
className: cn("hawa-flex hawa-flex-col hawa-space-y-1.5 hawa-p-6", className),
|
|
1347
1161
|
...props
|
|
1348
1162
|
}
|
|
1349
1163
|
), props.actions && /* @__PURE__ */ React9.createElement("div", { className: "hawa-p-6" }, props.actions))
|
|
1350
1164
|
);
|
|
1351
|
-
var CardTitle = React9.forwardRef(
|
|
1352
|
-
"h3",
|
|
1353
|
-
|
|
1354
|
-
|
|
1355
|
-
className: cn("hawa-text-2xl hawa-font-semibold", className),
|
|
1356
|
-
...props
|
|
1357
|
-
}
|
|
1358
|
-
));
|
|
1359
|
-
var CardDescription = React9.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ React9.createElement(
|
|
1360
|
-
"p",
|
|
1361
|
-
{
|
|
1362
|
-
ref,
|
|
1363
|
-
className: cn("hawa-text-sm hawa-text-muted-foreground", className),
|
|
1364
|
-
...props
|
|
1365
|
-
}
|
|
1366
|
-
));
|
|
1165
|
+
var CardTitle = React9.forwardRef(
|
|
1166
|
+
({ className, ...props }, ref) => /* @__PURE__ */ React9.createElement("h3", { ref, className: cn("hawa-text-2xl hawa-font-semibold", className), ...props })
|
|
1167
|
+
);
|
|
1168
|
+
var CardDescription = React9.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ React9.createElement("p", { ref, className: cn("hawa-text-sm hawa-text-muted-foreground", className), ...props }));
|
|
1367
1169
|
var CardContent = React9.forwardRef(
|
|
1368
1170
|
({ headless, noPadding, className, ...props }, ref) => /* @__PURE__ */ React9.createElement(
|
|
1369
1171
|
"div",
|
|
@@ -3542,96 +3344,56 @@ var PhoneInput = ({
|
|
|
3542
3344
|
|
|
3543
3345
|
// icons/Emojis.tsx
|
|
3544
3346
|
var import_react11 = __toESM(require("react"));
|
|
3545
|
-
var VeryGoodEmoji = () => /* @__PURE__ */ import_react11.default.createElement(
|
|
3546
|
-
"
|
|
3347
|
+
var VeryGoodEmoji = () => /* @__PURE__ */ import_react11.default.createElement("svg", { fill: "none", height: "16", viewBox: "0 0 16 16", width: "16", xmlns: "http://www.w3.org/2000/svg" }, /* @__PURE__ */ import_react11.default.createElement("g", { clipPath: "url(#clip0_53_166)" }, /* @__PURE__ */ import_react11.default.createElement(
|
|
3348
|
+
"path",
|
|
3547
3349
|
{
|
|
3548
|
-
|
|
3549
|
-
|
|
3550
|
-
|
|
3551
|
-
|
|
3552
|
-
|
|
3553
|
-
|
|
3554
|
-
|
|
3555
|
-
"path",
|
|
3556
|
-
{
|
|
3557
|
-
clipRule: "evenodd",
|
|
3558
|
-
d: "M14.5 8C14.5 11.5899 11.5899 14.5 8 14.5C4.41015 14.5 1.5 11.5899 1.5 8C1.5 4.41015 4.41015 1.5 8 1.5C11.5899 1.5 14.5 4.41015 14.5 8ZM16 8C16 12.4183 12.4183 16 8 16C3.58172 16 0 12.4183 0 8C0 3.58172 3.58172 0 8 0C12.4183 0 16 3.58172 16 8ZM4.5 8.97498H3.875V9.59998C3.875 11.4747 5.81046 12.8637 7.99817 12.8637C10.1879 12.8637 12.125 11.4832 12.125 9.59998V8.97498H11.5H4.5ZM7.99817 11.6137C6.59406 11.6137 5.63842 10.9482 5.28118 10.225H10.7202C10.3641 10.9504 9.40797 11.6137 7.99817 11.6137Z",
|
|
3559
|
-
fill: "currentColor",
|
|
3560
|
-
fillRule: "evenodd"
|
|
3561
|
-
}
|
|
3562
|
-
), /* @__PURE__ */ import_react11.default.createElement(
|
|
3563
|
-
"path",
|
|
3564
|
-
{
|
|
3565
|
-
clipRule: "evenodd",
|
|
3566
|
-
d: "M6.15295 4.92093L5.375 3.5L4.59705 4.92093L3 5.21885L4.11625 6.39495L3.90717 8L5.375 7.30593L6.84283 8L6.63375 6.39495L7.75 5.21885L6.15295 4.92093ZM11.403 4.92093L10.625 3.5L9.84705 4.92093L8.25 5.21885L9.36625 6.39495L9.15717 8L10.625 7.30593L12.0928 8L11.8837 6.39495L13 5.21885L11.403 4.92093Z",
|
|
3567
|
-
fill: "#FF990A",
|
|
3568
|
-
fillRule: "evenodd"
|
|
3569
|
-
}
|
|
3570
|
-
))
|
|
3571
|
-
);
|
|
3572
|
-
var GoodEmoji = () => /* @__PURE__ */ import_react11.default.createElement(
|
|
3573
|
-
"svg",
|
|
3350
|
+
clipRule: "evenodd",
|
|
3351
|
+
d: "M14.5 8C14.5 11.5899 11.5899 14.5 8 14.5C4.41015 14.5 1.5 11.5899 1.5 8C1.5 4.41015 4.41015 1.5 8 1.5C11.5899 1.5 14.5 4.41015 14.5 8ZM16 8C16 12.4183 12.4183 16 8 16C3.58172 16 0 12.4183 0 8C0 3.58172 3.58172 0 8 0C12.4183 0 16 3.58172 16 8ZM4.5 8.97498H3.875V9.59998C3.875 11.4747 5.81046 12.8637 7.99817 12.8637C10.1879 12.8637 12.125 11.4832 12.125 9.59998V8.97498H11.5H4.5ZM7.99817 11.6137C6.59406 11.6137 5.63842 10.9482 5.28118 10.225H10.7202C10.3641 10.9504 9.40797 11.6137 7.99817 11.6137Z",
|
|
3352
|
+
fill: "currentColor",
|
|
3353
|
+
fillRule: "evenodd"
|
|
3354
|
+
}
|
|
3355
|
+
), /* @__PURE__ */ import_react11.default.createElement(
|
|
3356
|
+
"path",
|
|
3574
3357
|
{
|
|
3575
|
-
|
|
3576
|
-
|
|
3577
|
-
|
|
3578
|
-
|
|
3579
|
-
|
|
3580
|
-
|
|
3581
|
-
|
|
3582
|
-
|
|
3583
|
-
{
|
|
3584
|
-
clipRule: "evenodd",
|
|
3585
|
-
d: "M14.5 8C14.5 11.5899 11.5899 14.5 8 14.5C4.41015 14.5 1.5 11.5899 1.5 8C1.5 4.41015 4.41015 1.5 8 1.5C11.5899 1.5 14.5 4.41015 14.5 8ZM16 8C16 12.4183 12.4183 16 8 16C3.58172 16 0 12.4183 0 8C0 3.58172 3.58172 0 8 0C12.4183 0 16 3.58172 16 8ZM11.5249 10.8478L11.8727 10.3286L10.8342 9.6329L10.4863 10.1522C9.94904 10.9543 9.0363 11.4802 8.00098 11.4802C6.96759 11.4802 6.05634 10.9563 5.51863 10.1567L5.16986 9.63804L4.13259 10.3356L4.48137 10.8542C5.2414 11.9844 6.53398 12.7302 8.00098 12.7302C9.47073 12.7302 10.7654 11.9816 11.5249 10.8478ZM6.75 6.75C6.75 7.30228 6.30228 7.75 5.75 7.75C5.19772 7.75 4.75 7.30228 4.75 6.75C4.75 6.19772 5.19772 5.75 5.75 5.75C6.30228 5.75 6.75 6.19772 6.75 6.75ZM10.25 7.75C10.8023 7.75 11.25 7.30228 11.25 6.75C11.25 6.19772 10.8023 5.75 10.25 5.75C9.69771 5.75 9.25 6.19772 9.25 6.75C9.25 7.30228 9.69771 7.75 10.25 7.75Z",
|
|
3586
|
-
fill: "currentColor",
|
|
3587
|
-
fillRule: "evenodd"
|
|
3588
|
-
}
|
|
3589
|
-
))
|
|
3590
|
-
);
|
|
3591
|
-
var BadEmoji = () => /* @__PURE__ */ import_react11.default.createElement(
|
|
3592
|
-
"svg",
|
|
3358
|
+
clipRule: "evenodd",
|
|
3359
|
+
d: "M6.15295 4.92093L5.375 3.5L4.59705 4.92093L3 5.21885L4.11625 6.39495L3.90717 8L5.375 7.30593L6.84283 8L6.63375 6.39495L7.75 5.21885L6.15295 4.92093ZM11.403 4.92093L10.625 3.5L9.84705 4.92093L8.25 5.21885L9.36625 6.39495L9.15717 8L10.625 7.30593L12.0928 8L11.8837 6.39495L13 5.21885L11.403 4.92093Z",
|
|
3360
|
+
fill: "#FF990A",
|
|
3361
|
+
fillRule: "evenodd"
|
|
3362
|
+
}
|
|
3363
|
+
)));
|
|
3364
|
+
var GoodEmoji = () => /* @__PURE__ */ import_react11.default.createElement("svg", { fill: "none", height: "16", viewBox: "0 0 16 16", width: "16", xmlns: "http://www.w3.org/2000/svg" }, /* @__PURE__ */ import_react11.default.createElement("g", { clipPath: "url(#clip0_53_167)" }, /* @__PURE__ */ import_react11.default.createElement(
|
|
3365
|
+
"path",
|
|
3593
3366
|
{
|
|
3594
|
-
|
|
3595
|
-
|
|
3596
|
-
|
|
3597
|
-
|
|
3598
|
-
|
|
3599
|
-
|
|
3600
|
-
|
|
3601
|
-
|
|
3602
|
-
{
|
|
3603
|
-
clipRule: "evenodd",
|
|
3604
|
-
d: "M14.5 8C14.5 11.5899 11.5899 14.5 8 14.5C4.41015 14.5 1.5 11.5899 1.5 8C1.5 4.41015 4.41015 1.5 8 1.5C11.5899 1.5 14.5 4.41015 14.5 8ZM16 8C16 12.4183 12.4183 16 8 16C3.58172 16 0 12.4183 0 8C0 3.58172 3.58172 0 8 0C12.4183 0 16 3.58172 16 8ZM5.75 7.75C6.30228 7.75 6.75 7.30228 6.75 6.75C6.75 6.19772 6.30228 5.75 5.75 5.75C5.19772 5.75 4.75 6.19772 4.75 6.75C4.75 7.30228 5.19772 7.75 5.75 7.75ZM11.25 6.75C11.25 7.30228 10.8023 7.75 10.25 7.75C9.69771 7.75 9.25 7.30228 9.25 6.75C9.25 6.19772 9.69771 5.75 10.25 5.75C10.8023 5.75 11.25 6.19772 11.25 6.75ZM11.5249 11.2622L11.8727 11.7814L10.8342 12.4771L10.4863 11.9578C9.94904 11.1557 9.0363 10.6298 8.00098 10.6298C6.96759 10.6298 6.05634 11.1537 5.51863 11.9533L5.16986 12.4719L4.13259 11.7744L4.48137 11.2558C5.2414 10.1256 6.53398 9.37982 8.00098 9.37982C9.47073 9.37982 10.7654 10.1284 11.5249 11.2622Z",
|
|
3605
|
-
fill: "currentColor",
|
|
3606
|
-
fillRule: "evenodd"
|
|
3607
|
-
}
|
|
3608
|
-
))
|
|
3609
|
-
);
|
|
3610
|
-
var VeryBadEmoji = () => /* @__PURE__ */ import_react11.default.createElement(
|
|
3611
|
-
"svg",
|
|
3367
|
+
clipRule: "evenodd",
|
|
3368
|
+
d: "M14.5 8C14.5 11.5899 11.5899 14.5 8 14.5C4.41015 14.5 1.5 11.5899 1.5 8C1.5 4.41015 4.41015 1.5 8 1.5C11.5899 1.5 14.5 4.41015 14.5 8ZM16 8C16 12.4183 12.4183 16 8 16C3.58172 16 0 12.4183 0 8C0 3.58172 3.58172 0 8 0C12.4183 0 16 3.58172 16 8ZM11.5249 10.8478L11.8727 10.3286L10.8342 9.6329L10.4863 10.1522C9.94904 10.9543 9.0363 11.4802 8.00098 11.4802C6.96759 11.4802 6.05634 10.9563 5.51863 10.1567L5.16986 9.63804L4.13259 10.3356L4.48137 10.8542C5.2414 11.9844 6.53398 12.7302 8.00098 12.7302C9.47073 12.7302 10.7654 11.9816 11.5249 10.8478ZM6.75 6.75C6.75 7.30228 6.30228 7.75 5.75 7.75C5.19772 7.75 4.75 7.30228 4.75 6.75C4.75 6.19772 5.19772 5.75 5.75 5.75C6.30228 5.75 6.75 6.19772 6.75 6.75ZM10.25 7.75C10.8023 7.75 11.25 7.30228 11.25 6.75C11.25 6.19772 10.8023 5.75 10.25 5.75C9.69771 5.75 9.25 6.19772 9.25 6.75C9.25 7.30228 9.69771 7.75 10.25 7.75Z",
|
|
3369
|
+
fill: "currentColor",
|
|
3370
|
+
fillRule: "evenodd"
|
|
3371
|
+
}
|
|
3372
|
+
)));
|
|
3373
|
+
var BadEmoji = () => /* @__PURE__ */ import_react11.default.createElement("svg", { fill: "none", height: "16", viewBox: "0 0 16 16", width: "16", xmlns: "http://www.w3.org/2000/svg" }, /* @__PURE__ */ import_react11.default.createElement("g", { clipPath: "url(#clip0_53_152)" }, /* @__PURE__ */ import_react11.default.createElement(
|
|
3374
|
+
"path",
|
|
3612
3375
|
{
|
|
3613
|
-
|
|
3614
|
-
|
|
3615
|
-
|
|
3616
|
-
|
|
3617
|
-
|
|
3618
|
-
|
|
3619
|
-
|
|
3620
|
-
|
|
3621
|
-
|
|
3622
|
-
|
|
3623
|
-
|
|
3624
|
-
|
|
3625
|
-
|
|
3626
|
-
|
|
3627
|
-
|
|
3628
|
-
|
|
3629
|
-
|
|
3630
|
-
|
|
3631
|
-
|
|
3632
|
-
|
|
3633
|
-
|
|
3634
|
-
);
|
|
3376
|
+
clipRule: "evenodd",
|
|
3377
|
+
d: "M14.5 8C14.5 11.5899 11.5899 14.5 8 14.5C4.41015 14.5 1.5 11.5899 1.5 8C1.5 4.41015 4.41015 1.5 8 1.5C11.5899 1.5 14.5 4.41015 14.5 8ZM16 8C16 12.4183 12.4183 16 8 16C3.58172 16 0 12.4183 0 8C0 3.58172 3.58172 0 8 0C12.4183 0 16 3.58172 16 8ZM5.75 7.75C6.30228 7.75 6.75 7.30228 6.75 6.75C6.75 6.19772 6.30228 5.75 5.75 5.75C5.19772 5.75 4.75 6.19772 4.75 6.75C4.75 7.30228 5.19772 7.75 5.75 7.75ZM11.25 6.75C11.25 7.30228 10.8023 7.75 10.25 7.75C9.69771 7.75 9.25 7.30228 9.25 6.75C9.25 6.19772 9.69771 5.75 10.25 5.75C10.8023 5.75 11.25 6.19772 11.25 6.75ZM11.5249 11.2622L11.8727 11.7814L10.8342 12.4771L10.4863 11.9578C9.94904 11.1557 9.0363 10.6298 8.00098 10.6298C6.96759 10.6298 6.05634 11.1537 5.51863 11.9533L5.16986 12.4719L4.13259 11.7744L4.48137 11.2558C5.2414 10.1256 6.53398 9.37982 8.00098 9.37982C9.47073 9.37982 10.7654 10.1284 11.5249 11.2622Z",
|
|
3378
|
+
fill: "currentColor",
|
|
3379
|
+
fillRule: "evenodd"
|
|
3380
|
+
}
|
|
3381
|
+
)));
|
|
3382
|
+
var VeryBadEmoji = () => /* @__PURE__ */ import_react11.default.createElement("svg", { fill: "none", height: "16", viewBox: "0 0 16 16", width: "16", xmlns: "http://www.w3.org/2000/svg" }, /* @__PURE__ */ import_react11.default.createElement("g", { clipPath: "url(#clip0_53_151)" }, /* @__PURE__ */ import_react11.default.createElement(
|
|
3383
|
+
"path",
|
|
3384
|
+
{
|
|
3385
|
+
d: "M11.841 12.0225C12.7197 12.9324 12.7197 14.4077 11.841 15.3176C10.9623 16.2275 9.53769 16.2275 8.65901 15.3176C7.78033 14.4077 7.78033 12.9324 8.65901 12.0225L10.25 10.375L11.841 12.0225Z",
|
|
3386
|
+
fill: "#0070F3"
|
|
3387
|
+
}
|
|
3388
|
+
), /* @__PURE__ */ import_react11.default.createElement(
|
|
3389
|
+
"path",
|
|
3390
|
+
{
|
|
3391
|
+
clipRule: "evenodd",
|
|
3392
|
+
d: "M8 1.5C4.41015 1.5 1.5 4.41015 1.5 8C1.5 10.9668 3.48826 13.4711 6.20649 14.2496L5.79351 15.6916C2.44895 14.7338 0 11.6539 0 8C0 3.58172 3.58172 0 8 0C12.4183 0 16 3.58172 16 8C16 9.4652 15.6054 10.8405 14.9162 12.023L13.6203 11.2677C14.1794 10.3083 14.5 9.19272 14.5 8C14.5 4.41015 11.5899 1.5 8 1.5ZM6.75 6.75C6.75 7.30228 6.30228 7.75 5.75 7.75C5.19772 7.75 4.75 7.30228 4.75 6.75C4.75 6.19772 5.19772 5.75 5.75 5.75C6.30228 5.75 6.75 6.19772 6.75 6.75ZM10.25 7.75C10.8023 7.75 11.25 7.30228 11.25 6.75C11.25 6.19772 10.8023 5.75 10.25 5.75C9.69771 5.75 9.25 6.19772 9.25 6.75C9.25 7.30228 9.69771 7.75 10.25 7.75Z",
|
|
3393
|
+
fill: "currentColor",
|
|
3394
|
+
fillRule: "evenodd"
|
|
3395
|
+
}
|
|
3396
|
+
)));
|
|
3635
3397
|
|
|
3636
3398
|
// icons/InputIcons.tsx
|
|
3637
3399
|
var import_react12 = __toESM(require("react"));
|
|
@@ -4075,16 +3837,7 @@ var Checkbox = ({
|
|
|
4075
3837
|
size === "default" ? "hawa-items-top" : "hawa-items-center"
|
|
4076
3838
|
)
|
|
4077
3839
|
},
|
|
4078
|
-
/* @__PURE__ */ React18.createElement(
|
|
4079
|
-
CheckboxElement,
|
|
4080
|
-
{
|
|
4081
|
-
...props,
|
|
4082
|
-
size,
|
|
4083
|
-
radius,
|
|
4084
|
-
disabled,
|
|
4085
|
-
id
|
|
4086
|
-
}
|
|
4087
|
-
),
|
|
3840
|
+
/* @__PURE__ */ React18.createElement(CheckboxElement, { ...props, size, radius, disabled, id }),
|
|
4088
3841
|
(label || helperText) && /* @__PURE__ */ React18.createElement("div", { className: "hawa-grid hawa-gap-1.5" }, label && /* @__PURE__ */ React18.createElement(
|
|
4089
3842
|
"label",
|
|
4090
3843
|
{
|
|
@@ -4159,9 +3912,7 @@ var CheckboxElement = React18.forwardRef(({ radius = "inherit", size = "default"
|
|
|
4159
3912
|
/* @__PURE__ */ React18.createElement(
|
|
4160
3913
|
CheckboxPrimitive.Indicator,
|
|
4161
3914
|
{
|
|
4162
|
-
className: cn(
|
|
4163
|
-
"hawa-flex hawa-items-center hawa-justify-center hawa-text-current"
|
|
4164
|
-
)
|
|
3915
|
+
className: cn("hawa-flex hawa-items-center hawa-justify-center hawa-text-current")
|
|
4165
3916
|
},
|
|
4166
3917
|
/* @__PURE__ */ React18.createElement(
|
|
4167
3918
|
"svg",
|
|
@@ -4347,16 +4098,7 @@ var import_tailwind_variants = require("tailwind-variants");
|
|
|
4347
4098
|
// elements/chip/Chip.tsx
|
|
4348
4099
|
var import_react36 = __toESM(require("react"));
|
|
4349
4100
|
var Chip = import_react36.default.forwardRef(
|
|
4350
|
-
({
|
|
4351
|
-
label,
|
|
4352
|
-
size = "normal",
|
|
4353
|
-
icon,
|
|
4354
|
-
color,
|
|
4355
|
-
radius = "inherit",
|
|
4356
|
-
dot,
|
|
4357
|
-
dotStatus = "none",
|
|
4358
|
-
...rest
|
|
4359
|
-
}, ref) => {
|
|
4101
|
+
({ label, size = "normal", icon, color, radius = "inherit", dot, dotStatus = "none", ...rest }, ref) => {
|
|
4360
4102
|
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 ";
|
|
4361
4103
|
let radiusStyles = {
|
|
4362
4104
|
inherit: " hawa-rounded",
|
|
@@ -4403,12 +4145,7 @@ var Chip = import_react36.default.forwardRef(
|
|
|
4403
4145
|
rest.className
|
|
4404
4146
|
)
|
|
4405
4147
|
},
|
|
4406
|
-
dot && /* @__PURE__ */ import_react36.default.createElement(
|
|
4407
|
-
"span",
|
|
4408
|
-
{
|
|
4409
|
-
className: cn(dotStyles[size], dotStatusStyles[dotStatus])
|
|
4410
|
-
}
|
|
4411
|
-
),
|
|
4148
|
+
dot && /* @__PURE__ */ import_react36.default.createElement("span", { className: cn(dotStyles[size], dotStatusStyles[dotStatus]) }),
|
|
4412
4149
|
icon && icon,
|
|
4413
4150
|
label
|
|
4414
4151
|
);
|
|
@@ -4625,83 +4362,75 @@ var Tabs = React30.forwardRef(
|
|
|
4625
4362
|
/* @__PURE__ */ React30.createElement(TabsContext.Provider, { value: { orientation, variant, scrollable } }, props.children)
|
|
4626
4363
|
)
|
|
4627
4364
|
);
|
|
4628
|
-
var TabsList = React30.forwardRef(
|
|
4629
|
-
|
|
4630
|
-
|
|
4631
|
-
|
|
4632
|
-
|
|
4633
|
-
|
|
4634
|
-
|
|
4635
|
-
ref,
|
|
4636
|
-
className: cn(
|
|
4637
|
-
tabsListVariant({ variant, orientation }),
|
|
4638
|
-
"hawa-flex-row hawa-flex-nowrap",
|
|
4639
|
-
className
|
|
4640
|
-
),
|
|
4641
|
-
...props
|
|
4642
|
-
}
|
|
4643
|
-
));
|
|
4644
|
-
} else {
|
|
4645
|
-
return /* @__PURE__ */ React30.createElement(
|
|
4646
|
-
TabsPrimitive.List,
|
|
4647
|
-
{
|
|
4648
|
-
ref,
|
|
4649
|
-
className: cn(
|
|
4650
|
-
tabsListVariant({ variant, orientation }),
|
|
4651
|
-
orientation === "vertical" ? "hawa-flex-col" : "hawa-flex-row",
|
|
4652
|
-
"hawa-flex-wrap",
|
|
4653
|
-
className
|
|
4654
|
-
),
|
|
4655
|
-
...props
|
|
4656
|
-
}
|
|
4657
|
-
);
|
|
4658
|
-
}
|
|
4659
|
-
});
|
|
4660
|
-
var TabsTrigger = React30.forwardRef(
|
|
4661
|
-
({ className, chipProps, withPopover = false, onPopoverClick, ...props }, ref) => {
|
|
4662
|
-
const { orientation, variant } = React30.useContext(TabsContext);
|
|
4663
|
-
if (withPopover) {
|
|
4664
|
-
return /* @__PURE__ */ React30.createElement(Popover.Root, { open: props.showPopover }, /* @__PURE__ */ React30.createElement(Popover.Anchor, { asChild: true }, /* @__PURE__ */ React30.createElement(
|
|
4665
|
-
TabsPrimitive.Trigger,
|
|
4365
|
+
var TabsList = React30.forwardRef(
|
|
4366
|
+
({ className, classNames, ...props }, ref) => {
|
|
4367
|
+
const { orientation, variant, scrollable } = React30.useContext(TabsContext);
|
|
4368
|
+
const { width } = useViewportSize();
|
|
4369
|
+
if (scrollable && width < 768 && orientation === "horizontal") {
|
|
4370
|
+
return /* @__PURE__ */ React30.createElement(ScrollArea, { orientation: "horizontal", className: classNames == null ? void 0 : classNames.scrollArea }, /* @__PURE__ */ React30.createElement(
|
|
4371
|
+
TabsPrimitive.List,
|
|
4666
4372
|
{
|
|
4373
|
+
ref,
|
|
4667
4374
|
className: cn(
|
|
4668
|
-
|
|
4669
|
-
"hawa-
|
|
4375
|
+
tabsListVariant({ variant, orientation }),
|
|
4376
|
+
"hawa-flex-row hawa-flex-nowrap",
|
|
4670
4377
|
className
|
|
4671
4378
|
),
|
|
4672
4379
|
...props
|
|
4673
|
-
}
|
|
4674
|
-
props.children,
|
|
4675
|
-
chipProps && /* @__PURE__ */ React30.createElement(Chip, { ...chipProps })
|
|
4676
|
-
)), /* @__PURE__ */ React30.createElement(
|
|
4677
|
-
Popover.Content,
|
|
4678
|
-
{
|
|
4679
|
-
onClick: onPopoverClick,
|
|
4680
|
-
asChild: true,
|
|
4681
|
-
className: cn(
|
|
4682
|
-
"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",
|
|
4683
|
-
"hawa-arrow-default-top hawa-mt-2"
|
|
4684
|
-
)
|
|
4685
|
-
},
|
|
4686
|
-
/* @__PURE__ */ React30.createElement("div", { className: "hawa-p-2" }, " ", props.popoverContent)
|
|
4380
|
+
}
|
|
4687
4381
|
));
|
|
4688
4382
|
} else {
|
|
4689
4383
|
return /* @__PURE__ */ React30.createElement(
|
|
4690
|
-
TabsPrimitive.
|
|
4384
|
+
TabsPrimitive.List,
|
|
4691
4385
|
{
|
|
4386
|
+
ref,
|
|
4692
4387
|
className: cn(
|
|
4693
|
-
|
|
4694
|
-
"hawa-
|
|
4388
|
+
tabsListVariant({ variant, orientation }),
|
|
4389
|
+
orientation === "vertical" ? "hawa-flex-col" : "hawa-flex-row",
|
|
4390
|
+
"hawa-flex-wrap",
|
|
4695
4391
|
className
|
|
4696
4392
|
),
|
|
4697
4393
|
...props
|
|
4698
|
-
}
|
|
4699
|
-
props.children,
|
|
4700
|
-
chipProps && /* @__PURE__ */ React30.createElement(Chip, { ...chipProps })
|
|
4394
|
+
}
|
|
4701
4395
|
);
|
|
4702
4396
|
}
|
|
4703
4397
|
}
|
|
4704
4398
|
);
|
|
4399
|
+
var TabsTrigger = React30.forwardRef(({ className, chipProps, withPopover = false, onPopoverClick, ...props }, ref) => {
|
|
4400
|
+
const { orientation, variant } = React30.useContext(TabsContext);
|
|
4401
|
+
if (withPopover) {
|
|
4402
|
+
return /* @__PURE__ */ React30.createElement(Popover.Root, { open: props.showPopover }, /* @__PURE__ */ React30.createElement(Popover.Anchor, { asChild: true }, /* @__PURE__ */ React30.createElement(
|
|
4403
|
+
TabsPrimitive.Trigger,
|
|
4404
|
+
{
|
|
4405
|
+
className: cn(tabsTriggerVariant({ variant, orientation }), "hawa-relative", className),
|
|
4406
|
+
...props
|
|
4407
|
+
},
|
|
4408
|
+
props.children,
|
|
4409
|
+
chipProps && /* @__PURE__ */ React30.createElement(Chip, { ...chipProps })
|
|
4410
|
+
)), /* @__PURE__ */ React30.createElement(
|
|
4411
|
+
Popover.Content,
|
|
4412
|
+
{
|
|
4413
|
+
onClick: onPopoverClick,
|
|
4414
|
+
asChild: true,
|
|
4415
|
+
className: cn(
|
|
4416
|
+
"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",
|
|
4417
|
+
"hawa-arrow-default-top hawa-mt-2"
|
|
4418
|
+
)
|
|
4419
|
+
},
|
|
4420
|
+
/* @__PURE__ */ React30.createElement("div", { className: "hawa-p-2" }, " ", props.popoverContent)
|
|
4421
|
+
));
|
|
4422
|
+
} else {
|
|
4423
|
+
return /* @__PURE__ */ React30.createElement(
|
|
4424
|
+
TabsPrimitive.Trigger,
|
|
4425
|
+
{
|
|
4426
|
+
className: cn(tabsTriggerVariant({ variant, orientation }), "hawa-relative", className),
|
|
4427
|
+
...props
|
|
4428
|
+
},
|
|
4429
|
+
props.children,
|
|
4430
|
+
chipProps && /* @__PURE__ */ React30.createElement(Chip, { ...chipProps })
|
|
4431
|
+
);
|
|
4432
|
+
}
|
|
4433
|
+
});
|
|
4705
4434
|
var TabsContent = React30.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ React30.createElement(
|
|
4706
4435
|
TabsPrimitive.Content,
|
|
4707
4436
|
{
|
|
@@ -4853,385 +4582,398 @@ var RegisterForm = ({
|
|
|
4853
4582
|
headless: registerTypes ? registerTypes.length <= 1 : true,
|
|
4854
4583
|
noPadding: props.cardless
|
|
4855
4584
|
},
|
|
4856
|
-
/* @__PURE__ */ import_react37.default.createElement(
|
|
4857
|
-
|
|
4585
|
+
/* @__PURE__ */ import_react37.default.createElement(
|
|
4586
|
+
"div",
|
|
4858
4587
|
{
|
|
4859
|
-
|
|
4860
|
-
|
|
4861
|
-
|
|
4862
|
-
|
|
4863
|
-
|
|
4864
|
-
|
|
4865
|
-
|
|
4588
|
+
className: cn(registerTypes && registerTypes.length > 1 ? "hawa-mt-6 hawa-mb-0" : "")
|
|
4589
|
+
},
|
|
4590
|
+
props.showError && /* @__PURE__ */ import_react37.default.createElement(
|
|
4591
|
+
Alert,
|
|
4592
|
+
{
|
|
4593
|
+
direction: props.direction,
|
|
4594
|
+
title: props.errorTitle,
|
|
4595
|
+
text: props.errorText,
|
|
4596
|
+
severity: "error",
|
|
4597
|
+
onAlertClosed: () => {
|
|
4598
|
+
if (props.onErrorDismissed) {
|
|
4599
|
+
props.onErrorDismissed();
|
|
4600
|
+
}
|
|
4866
4601
|
}
|
|
4867
4602
|
}
|
|
4868
|
-
|
|
4869
|
-
|
|
4870
|
-
|
|
4871
|
-
{
|
|
4872
|
-
noValidate: true,
|
|
4873
|
-
onSubmit: handleSubmit((e) => {
|
|
4874
|
-
if (props.onRegister) {
|
|
4875
|
-
return props.onRegister(e);
|
|
4876
|
-
} else {
|
|
4877
|
-
console.log("Form is submitted but onRegister prop is missing");
|
|
4878
|
-
}
|
|
4879
|
-
}),
|
|
4880
|
-
className: "hawa-flex hawa-flex-col hawa-gap-4"
|
|
4881
|
-
},
|
|
4882
|
-
/* @__PURE__ */ import_react37.default.createElement(
|
|
4883
|
-
Tabs,
|
|
4603
|
+
),
|
|
4604
|
+
/* @__PURE__ */ import_react37.default.createElement(import_react_hook_form2.FormProvider, { ...methods }, /* @__PURE__ */ import_react37.default.createElement(
|
|
4605
|
+
"form",
|
|
4884
4606
|
{
|
|
4885
|
-
|
|
4886
|
-
|
|
4887
|
-
|
|
4888
|
-
|
|
4889
|
-
|
|
4890
|
-
|
|
4607
|
+
noValidate: true,
|
|
4608
|
+
onSubmit: handleSubmit((e) => {
|
|
4609
|
+
if (props.onRegister) {
|
|
4610
|
+
return props.onRegister(e);
|
|
4611
|
+
} else {
|
|
4612
|
+
console.log("Form is submitted but onRegister prop is missing");
|
|
4891
4613
|
}
|
|
4892
|
-
)
|
|
4614
|
+
}),
|
|
4615
|
+
className: "hawa-flex hawa-flex-col hawa-gap-4"
|
|
4893
4616
|
},
|
|
4894
|
-
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)))),
|
|
4895
4617
|
/* @__PURE__ */ import_react37.default.createElement(
|
|
4896
|
-
|
|
4618
|
+
Tabs,
|
|
4897
4619
|
{
|
|
4898
|
-
|
|
4899
|
-
|
|
4900
|
-
|
|
4901
|
-
|
|
4902
|
-
|
|
4903
|
-
|
|
4904
|
-
|
|
4905
|
-
|
|
4906
|
-
|
|
4907
|
-
|
|
4908
|
-
import_react_hook_form2.Controller,
|
|
4909
|
-
{
|
|
4910
|
-
key: i,
|
|
4911
|
-
control,
|
|
4912
|
-
name: "fullName",
|
|
4913
|
-
render: ({ field }) => {
|
|
4914
|
-
var _a2, _b2, _c2;
|
|
4915
|
-
return /* @__PURE__ */ import_react37.default.createElement(
|
|
4916
|
-
Input,
|
|
4917
|
-
{
|
|
4918
|
-
width: "full",
|
|
4919
|
-
label: ((_a2 = texts == null ? void 0 : texts.fullName) == null ? void 0 : _a2.label) || "Full Name",
|
|
4920
|
-
placeholder: (_b2 = texts == null ? void 0 : texts.fullName) == null ? void 0 : _b2.placeholder,
|
|
4921
|
-
helperText: (_c2 = formState.errors.fullName) == null ? void 0 : _c2.message,
|
|
4922
|
-
...field
|
|
4923
|
-
}
|
|
4924
|
-
);
|
|
4925
|
-
}
|
|
4926
|
-
}
|
|
4927
|
-
);
|
|
4928
|
-
}
|
|
4929
|
-
if (fld === "email") {
|
|
4930
|
-
return /* @__PURE__ */ import_react37.default.createElement(
|
|
4931
|
-
import_react_hook_form2.Controller,
|
|
4932
|
-
{
|
|
4933
|
-
key: i,
|
|
4934
|
-
control,
|
|
4935
|
-
name: "email",
|
|
4936
|
-
render: ({ field }) => {
|
|
4937
|
-
var _a2, _b2, _c2;
|
|
4938
|
-
return /* @__PURE__ */ import_react37.default.createElement(
|
|
4939
|
-
Input,
|
|
4940
|
-
{
|
|
4941
|
-
dir: "ltr",
|
|
4942
|
-
inputProps: {
|
|
4943
|
-
className: props.direction === "rtl" ? "hawa-text-right" : "hawa-text-left"
|
|
4944
|
-
},
|
|
4945
|
-
width: "full",
|
|
4946
|
-
autoComplete: "email",
|
|
4947
|
-
label: ((_a2 = texts == null ? void 0 : texts.email) == null ? void 0 : _a2.label) || "Email",
|
|
4948
|
-
helperText: (_b2 = formState.errors.email) == null ? void 0 : _b2.message,
|
|
4949
|
-
placeholder: ((_c2 = texts == null ? void 0 : texts.email) == null ? void 0 : _c2.placeholder) || "Enter your email",
|
|
4950
|
-
...field,
|
|
4951
|
-
onChange: (e) => {
|
|
4952
|
-
field.onChange(e.target.value.toLowerCase().trim());
|
|
4953
|
-
}
|
|
4954
|
-
}
|
|
4955
|
-
);
|
|
4956
|
-
}
|
|
4957
|
-
}
|
|
4958
|
-
);
|
|
4959
|
-
}
|
|
4960
|
-
if (fld === "username") {
|
|
4961
|
-
return /* @__PURE__ */ import_react37.default.createElement(
|
|
4962
|
-
import_react_hook_form2.Controller,
|
|
4963
|
-
{
|
|
4964
|
-
key: i,
|
|
4965
|
-
control,
|
|
4966
|
-
name: "username",
|
|
4967
|
-
render: ({ field }) => {
|
|
4968
|
-
var _a2, _b2, _c2, _d2;
|
|
4969
|
-
return /* @__PURE__ */ import_react37.default.createElement(
|
|
4970
|
-
Input,
|
|
4971
|
-
{
|
|
4972
|
-
width: "full",
|
|
4973
|
-
autoComplete: "username",
|
|
4974
|
-
label: ((_a2 = texts == null ? void 0 : texts.username) == null ? void 0 : _a2.label) || "Username",
|
|
4975
|
-
labelProps: {
|
|
4976
|
-
...(_b2 = props.usernameOptions) == null ? void 0 : _b2.label
|
|
4977
|
-
},
|
|
4978
|
-
helperText: (_c2 = formState.errors.username) == null ? void 0 : _c2.message,
|
|
4979
|
-
placeholder: (_d2 = texts == null ? void 0 : texts.username) == null ? void 0 : _d2.placeholder,
|
|
4980
|
-
...field
|
|
4981
|
-
}
|
|
4982
|
-
);
|
|
4983
|
-
}
|
|
4620
|
+
dir: props.direction,
|
|
4621
|
+
value: selectedRegisterType.value,
|
|
4622
|
+
onValueChange: (e) => {
|
|
4623
|
+
if (props.onRegisterTypeChange) {
|
|
4624
|
+
props.onRegisterTypeChange(e);
|
|
4625
|
+
}
|
|
4626
|
+
setSelectedRegisterType(
|
|
4627
|
+
(registerTypes == null ? void 0 : registerTypes.find((r) => r.value === e)) || registerTypes && registerTypes[0] || {
|
|
4628
|
+
label: "Password",
|
|
4629
|
+
value: "password"
|
|
4984
4630
|
}
|
|
4985
4631
|
);
|
|
4986
4632
|
}
|
|
4987
|
-
}
|
|
4633
|
+
},
|
|
4634
|
+
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)))),
|
|
4988
4635
|
/* @__PURE__ */ import_react37.default.createElement(
|
|
4989
|
-
|
|
4636
|
+
TabsContent,
|
|
4990
4637
|
{
|
|
4991
|
-
|
|
4992
|
-
|
|
4993
|
-
|
|
4994
|
-
|
|
4638
|
+
value: "password",
|
|
4639
|
+
className: cn(
|
|
4640
|
+
"hawa-flex hawa-flex-col hawa-gap-4",
|
|
4641
|
+
selectedRegisterType.value === "password" ? "hawa-block" : "hawa-hidden"
|
|
4642
|
+
),
|
|
4643
|
+
dir: props.direction
|
|
4644
|
+
},
|
|
4645
|
+
/* @__PURE__ */ import_react37.default.createElement("div", { className: "hawa-flex hawa-flex-col hawa-gap-4" }, registerFields.map((fld, i) => {
|
|
4646
|
+
if (fld === "fullname") {
|
|
4995
4647
|
return /* @__PURE__ */ import_react37.default.createElement(
|
|
4996
|
-
|
|
4648
|
+
import_react_hook_form2.Controller,
|
|
4997
4649
|
{
|
|
4998
|
-
|
|
4999
|
-
|
|
5000
|
-
|
|
5001
|
-
|
|
5002
|
-
|
|
5003
|
-
|
|
5004
|
-
|
|
5005
|
-
|
|
5006
|
-
|
|
5007
|
-
|
|
5008
|
-
|
|
5009
|
-
|
|
5010
|
-
|
|
5011
|
-
|
|
5012
|
-
|
|
5013
|
-
|
|
4650
|
+
key: i,
|
|
4651
|
+
control,
|
|
4652
|
+
name: "fullName",
|
|
4653
|
+
render: ({ field }) => {
|
|
4654
|
+
var _a2, _b2, _c2;
|
|
4655
|
+
return /* @__PURE__ */ import_react37.default.createElement(
|
|
4656
|
+
Input,
|
|
4657
|
+
{
|
|
4658
|
+
width: "full",
|
|
4659
|
+
label: ((_a2 = texts == null ? void 0 : texts.fullName) == null ? void 0 : _a2.label) || "Full Name",
|
|
4660
|
+
placeholder: (_b2 = texts == null ? void 0 : texts.fullName) == null ? void 0 : _b2.placeholder,
|
|
4661
|
+
helperText: (_c2 = formState.errors.fullName) == null ? void 0 : _c2.message,
|
|
4662
|
+
...field
|
|
4663
|
+
}
|
|
4664
|
+
);
|
|
4665
|
+
}
|
|
5014
4666
|
}
|
|
5015
4667
|
);
|
|
5016
4668
|
}
|
|
5017
|
-
|
|
5018
|
-
),
|
|
5019
|
-
/* @__PURE__ */ import_react37.default.createElement(
|
|
5020
|
-
import_react_hook_form2.Controller,
|
|
5021
|
-
{
|
|
5022
|
-
control,
|
|
5023
|
-
name: "confirm_password",
|
|
5024
|
-
render: ({ field }) => {
|
|
5025
|
-
var _a2, _b2, _c2;
|
|
4669
|
+
if (fld === "email") {
|
|
5026
4670
|
return /* @__PURE__ */ import_react37.default.createElement(
|
|
5027
|
-
|
|
4671
|
+
import_react_hook_form2.Controller,
|
|
5028
4672
|
{
|
|
5029
|
-
|
|
5030
|
-
|
|
5031
|
-
|
|
5032
|
-
|
|
5033
|
-
|
|
5034
|
-
|
|
5035
|
-
|
|
5036
|
-
|
|
5037
|
-
|
|
5038
|
-
|
|
5039
|
-
|
|
5040
|
-
|
|
5041
|
-
|
|
5042
|
-
|
|
5043
|
-
|
|
5044
|
-
|
|
4673
|
+
key: i,
|
|
4674
|
+
control,
|
|
4675
|
+
name: "email",
|
|
4676
|
+
render: ({ field }) => {
|
|
4677
|
+
var _a2, _b2, _c2;
|
|
4678
|
+
return /* @__PURE__ */ import_react37.default.createElement(
|
|
4679
|
+
Input,
|
|
4680
|
+
{
|
|
4681
|
+
dir: "ltr",
|
|
4682
|
+
inputProps: {
|
|
4683
|
+
className: props.direction === "rtl" ? "hawa-text-right" : "hawa-text-left"
|
|
4684
|
+
},
|
|
4685
|
+
width: "full",
|
|
4686
|
+
autoComplete: "email",
|
|
4687
|
+
label: ((_a2 = texts == null ? void 0 : texts.email) == null ? void 0 : _a2.label) || "Email",
|
|
4688
|
+
helperText: (_b2 = formState.errors.email) == null ? void 0 : _b2.message,
|
|
4689
|
+
placeholder: ((_c2 = texts == null ? void 0 : texts.email) == null ? void 0 : _c2.placeholder) || "Enter your email",
|
|
4690
|
+
...field,
|
|
4691
|
+
onChange: (e) => {
|
|
4692
|
+
field.onChange(e.target.value.toLowerCase().trim());
|
|
4693
|
+
}
|
|
4694
|
+
}
|
|
4695
|
+
);
|
|
4696
|
+
}
|
|
5045
4697
|
}
|
|
5046
4698
|
);
|
|
5047
4699
|
}
|
|
5048
|
-
|
|
5049
|
-
),
|
|
5050
|
-
props.additionalInputs,
|
|
5051
|
-
props.showRefCode && /* @__PURE__ */ import_react37.default.createElement(
|
|
5052
|
-
import_react_hook_form2.Controller,
|
|
5053
|
-
{
|
|
5054
|
-
control,
|
|
5055
|
-
name: "refCode",
|
|
5056
|
-
render: ({ field }) => {
|
|
5057
|
-
var _a2;
|
|
4700
|
+
if (fld === "username") {
|
|
5058
4701
|
return /* @__PURE__ */ import_react37.default.createElement(
|
|
5059
|
-
|
|
4702
|
+
import_react_hook_form2.Controller,
|
|
5060
4703
|
{
|
|
5061
|
-
|
|
5062
|
-
|
|
5063
|
-
|
|
5064
|
-
|
|
5065
|
-
|
|
4704
|
+
key: i,
|
|
4705
|
+
control,
|
|
4706
|
+
name: "username",
|
|
4707
|
+
render: ({ field }) => {
|
|
4708
|
+
var _a2, _b2, _c2, _d2;
|
|
4709
|
+
return /* @__PURE__ */ import_react37.default.createElement(
|
|
4710
|
+
Input,
|
|
4711
|
+
{
|
|
4712
|
+
width: "full",
|
|
4713
|
+
autoComplete: "username",
|
|
4714
|
+
label: ((_a2 = texts == null ? void 0 : texts.username) == null ? void 0 : _a2.label) || "Username",
|
|
4715
|
+
labelProps: {
|
|
4716
|
+
...(_b2 = props.usernameOptions) == null ? void 0 : _b2.label
|
|
4717
|
+
},
|
|
4718
|
+
helperText: (_c2 = formState.errors.username) == null ? void 0 : _c2.message,
|
|
4719
|
+
placeholder: (_d2 = texts == null ? void 0 : texts.username) == null ? void 0 : _d2.placeholder,
|
|
4720
|
+
...field
|
|
4721
|
+
}
|
|
4722
|
+
);
|
|
4723
|
+
}
|
|
5066
4724
|
}
|
|
5067
4725
|
);
|
|
5068
4726
|
}
|
|
5069
|
-
}
|
|
5070
|
-
|
|
5071
|
-
|
|
5072
|
-
|
|
5073
|
-
|
|
5074
|
-
|
|
5075
|
-
|
|
5076
|
-
|
|
5077
|
-
|
|
5078
|
-
|
|
5079
|
-
|
|
5080
|
-
|
|
5081
|
-
|
|
5082
|
-
|
|
5083
|
-
|
|
5084
|
-
|
|
5085
|
-
|
|
5086
|
-
|
|
5087
|
-
|
|
5088
|
-
|
|
5089
|
-
|
|
5090
|
-
|
|
4727
|
+
})),
|
|
4728
|
+
/* @__PURE__ */ import_react37.default.createElement(
|
|
4729
|
+
import_react_hook_form2.Controller,
|
|
4730
|
+
{
|
|
4731
|
+
control,
|
|
4732
|
+
name: "password",
|
|
4733
|
+
render: ({ field }) => {
|
|
4734
|
+
var _a2, _b2, _c2;
|
|
4735
|
+
return /* @__PURE__ */ import_react37.default.createElement(
|
|
4736
|
+
Input,
|
|
4737
|
+
{
|
|
4738
|
+
width: "full",
|
|
4739
|
+
type: passwordVisible ? "text" : "password",
|
|
4740
|
+
autoComplete: "new-password",
|
|
4741
|
+
label: ((_a2 = texts == null ? void 0 : texts.password) == null ? void 0 : _a2.label) || "Password",
|
|
4742
|
+
placeholder: (_b2 = texts == null ? void 0 : texts.password) == null ? void 0 : _b2.placeholder,
|
|
4743
|
+
helperText: (_c2 = formState.errors.password) == null ? void 0 : _c2.message,
|
|
4744
|
+
endIcon: /* @__PURE__ */ import_react37.default.createElement(
|
|
4745
|
+
"div",
|
|
4746
|
+
{
|
|
4747
|
+
className: "hawa-cursor-pointer",
|
|
4748
|
+
onClick: () => setPasswordVisible(!passwordVisible)
|
|
4749
|
+
},
|
|
4750
|
+
passwordVisible ? /* @__PURE__ */ import_react37.default.createElement(EyeIcon, { className: "hawa-text-gray-500" }) : /* @__PURE__ */ import_react37.default.createElement(HiddenEyeIcon, { className: "hawa-text-gray-500" }),
|
|
4751
|
+
" "
|
|
4752
|
+
),
|
|
4753
|
+
...field
|
|
4754
|
+
}
|
|
4755
|
+
);
|
|
4756
|
+
}
|
|
5091
4757
|
}
|
|
5092
|
-
}
|
|
5093
|
-
)
|
|
5094
|
-
),
|
|
5095
|
-
/* @__PURE__ */ import_react37.default.createElement(
|
|
5096
|
-
TabsContent,
|
|
5097
|
-
{
|
|
5098
|
-
value: "phone",
|
|
5099
|
-
className: cn(
|
|
5100
|
-
"hawa-flex hawa-flex-col hawa-gap-4",
|
|
5101
|
-
selectedRegisterType.value === "phone" ? "hawa-block" : "hawa-hidden"
|
|
5102
4758
|
),
|
|
5103
|
-
|
|
5104
|
-
|
|
4759
|
+
/* @__PURE__ */ import_react37.default.createElement(
|
|
4760
|
+
import_react_hook_form2.Controller,
|
|
4761
|
+
{
|
|
4762
|
+
control,
|
|
4763
|
+
name: "confirm_password",
|
|
4764
|
+
render: ({ field }) => {
|
|
4765
|
+
var _a2, _b2, _c2;
|
|
4766
|
+
return /* @__PURE__ */ import_react37.default.createElement(
|
|
4767
|
+
Input,
|
|
4768
|
+
{
|
|
4769
|
+
width: "full",
|
|
4770
|
+
type: passwordVisible ? "text" : "password",
|
|
4771
|
+
autoComplete: "new-password",
|
|
4772
|
+
label: ((_a2 = texts == null ? void 0 : texts.confirm) == null ? void 0 : _a2.label) || "Confirm Password",
|
|
4773
|
+
placeholder: ((_b2 = texts == null ? void 0 : texts.confirm) == null ? void 0 : _b2.placeholder) || "Confirm your Password",
|
|
4774
|
+
helperText: (_c2 = formState.errors.confirm_password) == null ? void 0 : _c2.message,
|
|
4775
|
+
endIcon: /* @__PURE__ */ import_react37.default.createElement(
|
|
4776
|
+
"div",
|
|
4777
|
+
{
|
|
4778
|
+
className: "hawa-cursor-pointer",
|
|
4779
|
+
onClick: () => setPasswordVisible(!passwordVisible)
|
|
4780
|
+
},
|
|
4781
|
+
passwordVisible ? /* @__PURE__ */ import_react37.default.createElement(EyeIcon, { className: "hawa-text-gray-500" }) : /* @__PURE__ */ import_react37.default.createElement(HiddenEyeIcon, { className: "hawa-text-gray-500" }),
|
|
4782
|
+
" "
|
|
4783
|
+
),
|
|
4784
|
+
...field
|
|
4785
|
+
}
|
|
4786
|
+
);
|
|
4787
|
+
}
|
|
4788
|
+
}
|
|
4789
|
+
),
|
|
4790
|
+
props.additionalInputs,
|
|
4791
|
+
props.showRefCode && /* @__PURE__ */ import_react37.default.createElement(
|
|
4792
|
+
import_react_hook_form2.Controller,
|
|
4793
|
+
{
|
|
4794
|
+
control,
|
|
4795
|
+
name: "refCode",
|
|
4796
|
+
render: ({ field }) => {
|
|
4797
|
+
var _a2;
|
|
4798
|
+
return /* @__PURE__ */ import_react37.default.createElement(
|
|
4799
|
+
Input,
|
|
4800
|
+
{
|
|
4801
|
+
width: "full",
|
|
4802
|
+
label: texts == null ? void 0 : texts.refCode,
|
|
4803
|
+
placeholder: (texts == null ? void 0 : texts.refCodePlaceholder) || "Enter the referral code",
|
|
4804
|
+
helperText: (_a2 = formState.errors.refCode) == null ? void 0 : _a2.message,
|
|
4805
|
+
...field
|
|
4806
|
+
}
|
|
4807
|
+
);
|
|
4808
|
+
}
|
|
4809
|
+
}
|
|
4810
|
+
),
|
|
4811
|
+
props.showUserSource && /* @__PURE__ */ import_react37.default.createElement(
|
|
4812
|
+
import_react_hook_form2.Controller,
|
|
4813
|
+
{
|
|
4814
|
+
control,
|
|
4815
|
+
name: "reference",
|
|
4816
|
+
render: ({ field }) => {
|
|
4817
|
+
var _a2, _b2;
|
|
4818
|
+
return /* @__PURE__ */ import_react37.default.createElement(
|
|
4819
|
+
Select,
|
|
4820
|
+
{
|
|
4821
|
+
label: ((_a2 = texts == null ? void 0 : texts.userReference) == null ? void 0 : _a2.label) || "How did you learn about us?",
|
|
4822
|
+
placeholder: (_b2 = texts == null ? void 0 : texts.userReference) == null ? void 0 : _b2.placeholder,
|
|
4823
|
+
isCreatable: false,
|
|
4824
|
+
isMulti: false,
|
|
4825
|
+
isSearchable: false,
|
|
4826
|
+
isClearable: false,
|
|
4827
|
+
options: props.userReferenceOptions || [],
|
|
4828
|
+
onChange: (e) => field.onChange(e)
|
|
4829
|
+
}
|
|
4830
|
+
);
|
|
4831
|
+
}
|
|
4832
|
+
}
|
|
4833
|
+
)
|
|
4834
|
+
),
|
|
5105
4835
|
/* @__PURE__ */ import_react37.default.createElement(
|
|
5106
|
-
|
|
4836
|
+
TabsContent,
|
|
5107
4837
|
{
|
|
5108
|
-
|
|
5109
|
-
|
|
5110
|
-
|
|
5111
|
-
|
|
5112
|
-
|
|
5113
|
-
|
|
5114
|
-
|
|
5115
|
-
|
|
5116
|
-
|
|
5117
|
-
|
|
5118
|
-
|
|
5119
|
-
|
|
5120
|
-
|
|
5121
|
-
|
|
5122
|
-
|
|
5123
|
-
|
|
5124
|
-
|
|
4838
|
+
value: "phone",
|
|
4839
|
+
className: cn(
|
|
4840
|
+
"hawa-flex hawa-flex-col hawa-gap-4",
|
|
4841
|
+
selectedRegisterType.value === "phone" ? "hawa-block" : "hawa-hidden"
|
|
4842
|
+
),
|
|
4843
|
+
dir: props.direction
|
|
4844
|
+
},
|
|
4845
|
+
/* @__PURE__ */ import_react37.default.createElement(
|
|
4846
|
+
import_react_hook_form2.Controller,
|
|
4847
|
+
{
|
|
4848
|
+
control,
|
|
4849
|
+
name: "phone",
|
|
4850
|
+
render: ({ field }) => {
|
|
4851
|
+
var _a2, _b2;
|
|
4852
|
+
return /* @__PURE__ */ import_react37.default.createElement(
|
|
4853
|
+
PhoneInput,
|
|
4854
|
+
{
|
|
4855
|
+
label: ((_a2 = texts == null ? void 0 : texts.phone) == null ? void 0 : _a2.label) || "Phone Number",
|
|
4856
|
+
helperText: (_b2 = formState.errors.phone) == null ? void 0 : _b2.message,
|
|
4857
|
+
preferredCountry: { label: "+966" },
|
|
4858
|
+
...props.phoneInputProps,
|
|
4859
|
+
handleChange: (e) => {
|
|
4860
|
+
if ((0, import_libphonenumber_js2.isValidPhoneNumber)(e) && (0, import_libphonenumber_js2.isPossiblePhoneNumber)(e) && (0, import_libphonenumber_js2.validatePhoneNumberLength)(e) === void 0) {
|
|
4861
|
+
let parsed = (0, import_libphonenumber_js2.parsePhoneNumber)(e);
|
|
4862
|
+
field.onChange(parsed.number);
|
|
4863
|
+
} else {
|
|
4864
|
+
field.onChange(e);
|
|
4865
|
+
}
|
|
5125
4866
|
}
|
|
5126
4867
|
}
|
|
5127
|
-
|
|
5128
|
-
|
|
4868
|
+
);
|
|
4869
|
+
}
|
|
5129
4870
|
}
|
|
5130
|
-
|
|
4871
|
+
),
|
|
4872
|
+
props.additionalInputs,
|
|
4873
|
+
props.showRefCode && /* @__PURE__ */ import_react37.default.createElement(
|
|
4874
|
+
import_react_hook_form2.Controller,
|
|
4875
|
+
{
|
|
4876
|
+
control,
|
|
4877
|
+
name: "refCode",
|
|
4878
|
+
render: ({ field }) => {
|
|
4879
|
+
var _a2;
|
|
4880
|
+
return /* @__PURE__ */ import_react37.default.createElement(
|
|
4881
|
+
Input,
|
|
4882
|
+
{
|
|
4883
|
+
width: "full",
|
|
4884
|
+
label: texts == null ? void 0 : texts.refCode,
|
|
4885
|
+
placeholder: (texts == null ? void 0 : texts.refCodePlaceholder) || "Enter the referral code",
|
|
4886
|
+
helperText: (_a2 = formState.errors.refCode) == null ? void 0 : _a2.message,
|
|
4887
|
+
...field
|
|
4888
|
+
}
|
|
4889
|
+
);
|
|
4890
|
+
}
|
|
4891
|
+
}
|
|
4892
|
+
),
|
|
4893
|
+
props.showUserSource && /* @__PURE__ */ import_react37.default.createElement(
|
|
4894
|
+
import_react_hook_form2.Controller,
|
|
4895
|
+
{
|
|
4896
|
+
control,
|
|
4897
|
+
name: "reference",
|
|
4898
|
+
render: ({ field }) => {
|
|
4899
|
+
var _a2, _b2;
|
|
4900
|
+
return /* @__PURE__ */ import_react37.default.createElement(
|
|
4901
|
+
Select,
|
|
4902
|
+
{
|
|
4903
|
+
label: ((_a2 = texts == null ? void 0 : texts.userReference) == null ? void 0 : _a2.label) || "How did you learn about us?",
|
|
4904
|
+
placeholder: (_b2 = texts == null ? void 0 : texts.userReference) == null ? void 0 : _b2.placeholder,
|
|
4905
|
+
isCreatable: false,
|
|
4906
|
+
isMulti: false,
|
|
4907
|
+
isSearchable: false,
|
|
4908
|
+
isClearable: false,
|
|
4909
|
+
options: props.userReferenceOptions || [],
|
|
4910
|
+
onChange: (e) => field.onChange(e)
|
|
4911
|
+
}
|
|
4912
|
+
);
|
|
4913
|
+
}
|
|
4914
|
+
}
|
|
4915
|
+
)
|
|
5131
4916
|
),
|
|
5132
|
-
|
|
5133
|
-
props.showRefCode && /* @__PURE__ */ import_react37.default.createElement(
|
|
4917
|
+
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(
|
|
5134
4918
|
import_react_hook_form2.Controller,
|
|
5135
4919
|
{
|
|
5136
4920
|
control,
|
|
5137
|
-
name: "
|
|
4921
|
+
name: "terms_accepted",
|
|
5138
4922
|
render: ({ field }) => {
|
|
5139
|
-
var _a2;
|
|
4923
|
+
var _a2, _b2;
|
|
5140
4924
|
return /* @__PURE__ */ import_react37.default.createElement(
|
|
5141
|
-
|
|
4925
|
+
Checkbox,
|
|
5142
4926
|
{
|
|
5143
|
-
|
|
5144
|
-
|
|
5145
|
-
|
|
5146
|
-
|
|
5147
|
-
|
|
4927
|
+
id: "terms_accepted",
|
|
4928
|
+
helperText: (_b2 = (_a2 = formState.errors.terms_accepted) == null ? void 0 : _a2.message) == null ? void 0 : _b2.toString(),
|
|
4929
|
+
onCheckedChange: (e) => field.onChange(e),
|
|
4930
|
+
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(
|
|
4931
|
+
"span",
|
|
4932
|
+
{
|
|
4933
|
+
onClick: (e) => {
|
|
4934
|
+
e.preventDefault();
|
|
4935
|
+
if (props.onRouteToTOS) {
|
|
4936
|
+
props.onRouteToTOS();
|
|
4937
|
+
}
|
|
4938
|
+
},
|
|
4939
|
+
className: "clickable-link"
|
|
4940
|
+
},
|
|
4941
|
+
(texts == null ? void 0 : texts.termsText) || "Terms of Service"
|
|
4942
|
+
)))
|
|
5148
4943
|
}
|
|
5149
4944
|
);
|
|
5150
4945
|
}
|
|
5151
4946
|
}
|
|
5152
|
-
),
|
|
5153
|
-
props.showUserSource && /* @__PURE__ */ import_react37.default.createElement(
|
|
4947
|
+
), showNewsletterOption && /* @__PURE__ */ import_react37.default.createElement(
|
|
5154
4948
|
import_react_hook_form2.Controller,
|
|
5155
4949
|
{
|
|
5156
4950
|
control,
|
|
5157
|
-
name: "
|
|
5158
|
-
render: ({ field }) =>
|
|
5159
|
-
var _a2, _b2;
|
|
5160
|
-
return /* @__PURE__ */ import_react37.default.createElement(
|
|
5161
|
-
Select,
|
|
5162
|
-
{
|
|
5163
|
-
label: ((_a2 = texts == null ? void 0 : texts.userReference) == null ? void 0 : _a2.label) || "How did you learn about us?",
|
|
5164
|
-
placeholder: (_b2 = texts == null ? void 0 : texts.userReference) == null ? void 0 : _b2.placeholder,
|
|
5165
|
-
isCreatable: false,
|
|
5166
|
-
isMulti: false,
|
|
5167
|
-
isSearchable: false,
|
|
5168
|
-
isClearable: false,
|
|
5169
|
-
options: props.userReferenceOptions || [],
|
|
5170
|
-
onChange: (e) => field.onChange(e)
|
|
5171
|
-
}
|
|
5172
|
-
);
|
|
5173
|
-
}
|
|
5174
|
-
}
|
|
5175
|
-
)
|
|
5176
|
-
),
|
|
5177
|
-
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(
|
|
5178
|
-
import_react_hook_form2.Controller,
|
|
5179
|
-
{
|
|
5180
|
-
control,
|
|
5181
|
-
name: "terms_accepted",
|
|
5182
|
-
render: ({ field }) => {
|
|
5183
|
-
var _a2, _b2;
|
|
5184
|
-
return /* @__PURE__ */ import_react37.default.createElement(
|
|
4951
|
+
name: "newsletter_accepted",
|
|
4952
|
+
render: ({ field }) => /* @__PURE__ */ import_react37.default.createElement(
|
|
5185
4953
|
Checkbox,
|
|
5186
4954
|
{
|
|
5187
|
-
id: "
|
|
5188
|
-
|
|
5189
|
-
onCheckedChange:
|
|
5190
|
-
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(
|
|
5191
|
-
"span",
|
|
5192
|
-
{
|
|
5193
|
-
onClick: (e) => {
|
|
5194
|
-
e.preventDefault();
|
|
5195
|
-
if (props.onRouteToTOS) {
|
|
5196
|
-
props.onRouteToTOS();
|
|
5197
|
-
}
|
|
5198
|
-
},
|
|
5199
|
-
className: "clickable-link"
|
|
5200
|
-
},
|
|
5201
|
-
(texts == null ? void 0 : texts.termsText) || "Terms of Service"
|
|
5202
|
-
)))
|
|
4955
|
+
id: "newsletter_accepted",
|
|
4956
|
+
label: (texts == null ? void 0 : texts.subscribeToNewsletter) || "Subscribe to our newsletter",
|
|
4957
|
+
onCheckedChange: field.onChange
|
|
5203
4958
|
}
|
|
5204
|
-
)
|
|
4959
|
+
)
|
|
5205
4960
|
}
|
|
5206
|
-
|
|
5207
|
-
),
|
|
5208
|
-
|
|
4961
|
+
)) : null
|
|
4962
|
+
),
|
|
4963
|
+
/* @__PURE__ */ import_react37.default.createElement(
|
|
4964
|
+
Button,
|
|
5209
4965
|
{
|
|
5210
|
-
|
|
5211
|
-
|
|
5212
|
-
|
|
5213
|
-
|
|
5214
|
-
|
|
5215
|
-
|
|
5216
|
-
|
|
5217
|
-
|
|
5218
|
-
|
|
5219
|
-
|
|
5220
|
-
|
|
5221
|
-
)) : null
|
|
5222
|
-
),
|
|
5223
|
-
/* @__PURE__ */ import_react37.default.createElement(
|
|
5224
|
-
Button,
|
|
5225
|
-
{
|
|
5226
|
-
className: "hawa-w-full",
|
|
5227
|
-
type: "submit",
|
|
5228
|
-
isLoading: props.isLoading,
|
|
5229
|
-
disabled: props.isLoading
|
|
5230
|
-
},
|
|
5231
|
-
(texts == null ? void 0 : texts.registerText) || "Register"
|
|
5232
|
-
),
|
|
5233
|
-
props.additionalButtons
|
|
5234
|
-
)), 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")))
|
|
4966
|
+
className: "hawa-w-full",
|
|
4967
|
+
type: "submit",
|
|
4968
|
+
isLoading: props.isLoading,
|
|
4969
|
+
disabled: props.isLoading
|
|
4970
|
+
},
|
|
4971
|
+
(texts == null ? void 0 : texts.registerText) || "Register"
|
|
4972
|
+
),
|
|
4973
|
+
props.additionalButtons
|
|
4974
|
+
)),
|
|
4975
|
+
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"))
|
|
4976
|
+
)
|
|
5235
4977
|
),
|
|
5236
4978
|
props.viaGithub || props.viaGoogle || props.viaTwitter ? /* @__PURE__ */ import_react37.default.createElement(
|
|
5237
4979
|
CardFooter,
|
|
@@ -5291,14 +5033,7 @@ var AppLanding = ({ texts, ...props }) => {
|
|
|
5291
5033
|
handleEmail: props.handleEmail,
|
|
5292
5034
|
handlePhone: props.handlePhone
|
|
5293
5035
|
}
|
|
5294
|
-
), 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(
|
|
5295
|
-
"span",
|
|
5296
|
-
{
|
|
5297
|
-
onClick: props.handleRouteToRegister,
|
|
5298
|
-
className: "clickable-link"
|
|
5299
|
-
},
|
|
5300
|
-
texts == null ? void 0 : texts.createAccount
|
|
5301
|
-
)))));
|
|
5036
|
+
), 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)))));
|
|
5302
5037
|
};
|
|
5303
5038
|
|
|
5304
5039
|
// blocks/auth/CheckEmail.tsx
|
|
@@ -5327,11 +5062,7 @@ var import_react40 = __toESM(require("react"));
|
|
|
5327
5062
|
var import_react_hook_form3 = require("react-hook-form");
|
|
5328
5063
|
var import_zod3 = require("@hookform/resolvers/zod");
|
|
5329
5064
|
var z3 = __toESM(require("zod"));
|
|
5330
|
-
var NewPasswordForm = ({
|
|
5331
|
-
texts,
|
|
5332
|
-
isLoading,
|
|
5333
|
-
...props
|
|
5334
|
-
}) => {
|
|
5065
|
+
var NewPasswordForm = ({ texts, isLoading, ...props }) => {
|
|
5335
5066
|
var _a, _b, _c, _d, _e, _f, _g, _h;
|
|
5336
5067
|
const formSchema = z3.object({
|
|
5337
5068
|
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 }),
|
|
@@ -5353,9 +5084,7 @@ var NewPasswordForm = ({
|
|
|
5353
5084
|
if (props.handleNewPassword) {
|
|
5354
5085
|
return props.handleNewPassword(e);
|
|
5355
5086
|
} else {
|
|
5356
|
-
console.log(
|
|
5357
|
-
"Form is submitted but handleSubmission prop is missing"
|
|
5358
|
-
);
|
|
5087
|
+
console.log("Form is submitted but handleSubmission prop is missing");
|
|
5359
5088
|
}
|
|
5360
5089
|
})
|
|
5361
5090
|
},
|
|
@@ -5409,14 +5138,7 @@ var NewPasswordForm = ({
|
|
|
5409
5138
|
);
|
|
5410
5139
|
}
|
|
5411
5140
|
}
|
|
5412
|
-
)), /* @__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(
|
|
5413
|
-
"span",
|
|
5414
|
-
{
|
|
5415
|
-
className: "clickable-link",
|
|
5416
|
-
onClick: props.handleRouteToRegister
|
|
5417
|
-
},
|
|
5418
|
-
(_h = texts == null ? void 0 : texts.registerText) != null ? _h : "Register"
|
|
5419
|
-
)))
|
|
5141
|
+
)), /* @__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")))
|
|
5420
5142
|
));
|
|
5421
5143
|
};
|
|
5422
5144
|
|
|
@@ -5482,22 +5204,7 @@ var ResetPasswordForm = ({
|
|
|
5482
5204
|
}
|
|
5483
5205
|
}
|
|
5484
5206
|
)),
|
|
5485
|
-
/* @__PURE__ */ import_react41.default.createElement(CardFooter, { className: "hawa-flex hawa-flex-col" }, /* @__PURE__ */ import_react41.default.createElement(
|
|
5486
|
-
Button,
|
|
5487
|
-
{
|
|
5488
|
-
type: "submit",
|
|
5489
|
-
className: "hawa-w-full",
|
|
5490
|
-
isLoading
|
|
5491
|
-
},
|
|
5492
|
-
((_i = props.texts) == null ? void 0 : _i.resetPassword) || "Reset Password"
|
|
5493
|
-
), 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(
|
|
5494
|
-
"span",
|
|
5495
|
-
{
|
|
5496
|
-
className: "clickable-link",
|
|
5497
|
-
onClick: props.handleRouteToRegister
|
|
5498
|
-
},
|
|
5499
|
-
(_m = (_l = props.texts) == null ? void 0 : _l.registerText) != null ? _m : "Register"
|
|
5500
|
-
)))
|
|
5207
|
+
/* @__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")))
|
|
5501
5208
|
)) : /* @__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")));
|
|
5502
5209
|
};
|
|
5503
5210
|
|
|
@@ -5511,19 +5218,19 @@ var z5 = __toESM(require("zod"));
|
|
|
5511
5218
|
var React36 = __toESM(require("react"));
|
|
5512
5219
|
var import_input_otp = require("input-otp");
|
|
5513
5220
|
|
|
5514
|
-
// ../../node_modules/.pnpm/lucide-react@0.
|
|
5221
|
+
// ../../node_modules/.pnpm/lucide-react@0.435.0_react@18.3.1/node_modules/lucide-react/dist/esm/createLucideIcon.js
|
|
5515
5222
|
var import_react43 = require("react");
|
|
5516
5223
|
|
|
5517
|
-
// ../../node_modules/.pnpm/lucide-react@0.
|
|
5224
|
+
// ../../node_modules/.pnpm/lucide-react@0.435.0_react@18.3.1/node_modules/lucide-react/dist/esm/shared/src/utils.js
|
|
5518
5225
|
var toKebabCase = (string9) => string9.replace(/([a-z0-9])([A-Z])/g, "$1-$2").toLowerCase();
|
|
5519
5226
|
var mergeClasses = (...classes) => classes.filter((className, index, array) => {
|
|
5520
5227
|
return Boolean(className) && array.indexOf(className) === index;
|
|
5521
5228
|
}).join(" ");
|
|
5522
5229
|
|
|
5523
|
-
// ../../node_modules/.pnpm/lucide-react@0.
|
|
5230
|
+
// ../../node_modules/.pnpm/lucide-react@0.435.0_react@18.3.1/node_modules/lucide-react/dist/esm/Icon.js
|
|
5524
5231
|
var import_react42 = require("react");
|
|
5525
5232
|
|
|
5526
|
-
// ../../node_modules/.pnpm/lucide-react@0.
|
|
5233
|
+
// ../../node_modules/.pnpm/lucide-react@0.435.0_react@18.3.1/node_modules/lucide-react/dist/esm/defaultAttributes.js
|
|
5527
5234
|
var defaultAttributes = {
|
|
5528
5235
|
xmlns: "http://www.w3.org/2000/svg",
|
|
5529
5236
|
width: 24,
|
|
@@ -5536,7 +5243,7 @@ var defaultAttributes = {
|
|
|
5536
5243
|
strokeLinejoin: "round"
|
|
5537
5244
|
};
|
|
5538
5245
|
|
|
5539
|
-
// ../../node_modules/.pnpm/lucide-react@0.
|
|
5246
|
+
// ../../node_modules/.pnpm/lucide-react@0.435.0_react@18.3.1/node_modules/lucide-react/dist/esm/Icon.js
|
|
5540
5247
|
var Icon = (0, import_react42.forwardRef)(
|
|
5541
5248
|
({
|
|
5542
5249
|
color = "currentColor",
|
|
@@ -5568,7 +5275,7 @@ var Icon = (0, import_react42.forwardRef)(
|
|
|
5568
5275
|
}
|
|
5569
5276
|
);
|
|
5570
5277
|
|
|
5571
|
-
// ../../node_modules/.pnpm/lucide-react@0.
|
|
5278
|
+
// ../../node_modules/.pnpm/lucide-react@0.435.0_react@18.3.1/node_modules/lucide-react/dist/esm/createLucideIcon.js
|
|
5572
5279
|
var createLucideIcon = (iconName, iconNode) => {
|
|
5573
5280
|
const Component = (0, import_react43.forwardRef)(
|
|
5574
5281
|
({ className, ...props }, ref) => (0, import_react43.createElement)(Icon, {
|
|
@@ -5582,7 +5289,7 @@ var createLucideIcon = (iconName, iconNode) => {
|
|
|
5582
5289
|
return Component;
|
|
5583
5290
|
};
|
|
5584
5291
|
|
|
5585
|
-
// ../../node_modules/.pnpm/lucide-react@0.
|
|
5292
|
+
// ../../node_modules/.pnpm/lucide-react@0.435.0_react@18.3.1/node_modules/lucide-react/dist/esm/icons/dot.js
|
|
5586
5293
|
var Dot = createLucideIcon("Dot", [
|
|
5587
5294
|
["circle", { cx: "12.1", cy: "12.1", r: "1", key: "18d7e5" }]
|
|
5588
5295
|
]);
|
|
@@ -5679,7 +5386,7 @@ var CodeConfirmation = ({ codeLength = 6, ...props }) => {
|
|
|
5679
5386
|
}
|
|
5680
5387
|
};
|
|
5681
5388
|
}, []);
|
|
5682
|
-
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, (
|
|
5389
|
+
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(
|
|
5683
5390
|
"form",
|
|
5684
5391
|
{
|
|
5685
5392
|
noValidate: true,
|
|
@@ -5751,21 +5458,19 @@ var import_react_tabs = require("@radix-ui/react-tabs");
|
|
|
5751
5458
|
// elements/popover/Popover.tsx
|
|
5752
5459
|
var React38 = __toESM(require("react"));
|
|
5753
5460
|
var PopoverPrimitive = __toESM(require("@radix-ui/react-popover"));
|
|
5754
|
-
var PopoverContent = React38.forwardRef(
|
|
5755
|
-
|
|
5756
|
-
|
|
5757
|
-
|
|
5758
|
-
|
|
5759
|
-
|
|
5760
|
-
|
|
5761
|
-
|
|
5762
|
-
|
|
5763
|
-
|
|
5764
|
-
|
|
5765
|
-
|
|
5766
|
-
|
|
5767
|
-
))
|
|
5768
|
-
);
|
|
5461
|
+
var PopoverContent = React38.forwardRef(({ className, align = "center", sideOffset = 4, container, ...props }, ref) => /* @__PURE__ */ React38.createElement(PopoverPrimitive.Portal, { container }, /* @__PURE__ */ React38.createElement(
|
|
5462
|
+
PopoverPrimitive.Content,
|
|
5463
|
+
{
|
|
5464
|
+
ref,
|
|
5465
|
+
align,
|
|
5466
|
+
sideOffset,
|
|
5467
|
+
className: cn(
|
|
5468
|
+
"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",
|
|
5469
|
+
className
|
|
5470
|
+
),
|
|
5471
|
+
...props
|
|
5472
|
+
}
|
|
5473
|
+
)));
|
|
5769
5474
|
PopoverContent.displayName = PopoverPrimitive.Content.displayName;
|
|
5770
5475
|
var Popover2 = ({
|
|
5771
5476
|
trigger,
|
|
@@ -5785,15 +5490,7 @@ var Popover2 = ({
|
|
|
5785
5490
|
trigger: "var(--radix-popover-trigger-width)",
|
|
5786
5491
|
default: "auto"
|
|
5787
5492
|
};
|
|
5788
|
-
return /* @__PURE__ */ React38.createElement(PopoverPrimitive.Root, { open, ...props }, /* @__PURE__ */ React38.createElement(
|
|
5789
|
-
PopoverPrimitive.Trigger,
|
|
5790
|
-
{
|
|
5791
|
-
className: "hawa-w-full",
|
|
5792
|
-
disabled: disableTrigger,
|
|
5793
|
-
...triggerProps
|
|
5794
|
-
},
|
|
5795
|
-
trigger
|
|
5796
|
-
), /* @__PURE__ */ React38.createElement(
|
|
5493
|
+
return /* @__PURE__ */ React38.createElement(PopoverPrimitive.Root, { open, ...props }, /* @__PURE__ */ React38.createElement(PopoverPrimitive.Trigger, { className: "hawa-w-full", disabled: disableTrigger, ...triggerProps }, trigger), /* @__PURE__ */ React38.createElement(
|
|
5797
5494
|
PopoverContent,
|
|
5798
5495
|
{
|
|
5799
5496
|
side,
|
|
@@ -5847,12 +5544,8 @@ var Radio = (0, import_react45.forwardRef)(
|
|
|
5847
5544
|
default: "hawa-max-w-fit",
|
|
5848
5545
|
full: "hawa-w-full"
|
|
5849
5546
|
};
|
|
5850
|
-
const [parentDirection, setParentDirection] = import_react45.default.useState(
|
|
5851
|
-
|
|
5852
|
-
);
|
|
5853
|
-
const [selectedOption, setSelectedOption] = (0, import_react45.useState)(
|
|
5854
|
-
props.defaultValue || props.value
|
|
5855
|
-
);
|
|
5547
|
+
const [parentDirection, setParentDirection] = import_react45.default.useState(null);
|
|
5548
|
+
const [selectedOption, setSelectedOption] = (0, import_react45.useState)(props.defaultValue || props.value);
|
|
5856
5549
|
const [openTooltip, setOpenTooltip] = (0, import_react45.useState)(null);
|
|
5857
5550
|
const parentRef = (0, import_react45.useRef)(null);
|
|
5858
5551
|
(0, import_react45.useEffect)(() => {
|
|
@@ -5881,89 +5574,78 @@ var Radio = (0, import_react45.forwardRef)(
|
|
|
5881
5574
|
];
|
|
5882
5575
|
switch (design) {
|
|
5883
5576
|
case "tabs":
|
|
5884
|
-
return /* @__PURE__ */ import_react45.default.createElement(
|
|
5885
|
-
|
|
5577
|
+
return /* @__PURE__ */ import_react45.default.createElement("div", { className: cn("hawa-gap-2 hawa-flex hawa-flex-col", containerClassNames == null ? void 0 : containerClassNames.tabs) }, props.label && /* @__PURE__ */ import_react45.default.createElement(Label, { ...labelProps }, props.label), /* @__PURE__ */ import_react45.default.createElement(import_react_tabs.Tabs, null, /* @__PURE__ */ import_react45.default.createElement(
|
|
5578
|
+
import_react_tabs.TabsList,
|
|
5886
5579
|
{
|
|
5580
|
+
role: "tablist",
|
|
5581
|
+
ref: parentRef,
|
|
5887
5582
|
className: cn(
|
|
5888
|
-
"hawa-
|
|
5889
|
-
|
|
5583
|
+
props.options && ((_a = props.options) == null ? void 0 : _a.length) > 2 ? "hawa-flex-wrap xs:hawa-max-w-full xs:hawa-flex-nowrap" : "",
|
|
5584
|
+
"hawa-select-none hawa-whitespace-nowrap hawa-rounded hawa-border hawa-text-center hawa-font-medium hawa-h-[40px]",
|
|
5585
|
+
orientationStyle[orientation],
|
|
5586
|
+
widthStyle[width],
|
|
5587
|
+
tabsContainerClassName,
|
|
5588
|
+
props.direction === "rtl" ? "hawa-flex-row-reverse" : ""
|
|
5890
5589
|
)
|
|
5891
5590
|
},
|
|
5892
|
-
props.
|
|
5893
|
-
|
|
5894
|
-
|
|
5895
|
-
|
|
5896
|
-
|
|
5897
|
-
|
|
5898
|
-
|
|
5899
|
-
|
|
5900
|
-
|
|
5901
|
-
|
|
5902
|
-
widthStyle[width],
|
|
5903
|
-
tabsContainerClassName,
|
|
5904
|
-
props.direction === "rtl" ? "hawa-flex-row-reverse" : ""
|
|
5905
|
-
)
|
|
5906
|
-
},
|
|
5907
|
-
(_b = props.options) == null ? void 0 : _b.map((opt, o) => {
|
|
5908
|
-
return opt.tooltip ? /* @__PURE__ */ import_react45.default.createElement(
|
|
5909
|
-
PopoverRoot,
|
|
5591
|
+
(_b = props.options) == null ? void 0 : _b.map((opt, o) => {
|
|
5592
|
+
return opt.tooltip ? /* @__PURE__ */ import_react45.default.createElement(
|
|
5593
|
+
PopoverRoot,
|
|
5594
|
+
{
|
|
5595
|
+
key: o,
|
|
5596
|
+
open: o === openTooltip,
|
|
5597
|
+
onOpenChange: (bool) => setOpenTooltip(bool ? o : null)
|
|
5598
|
+
},
|
|
5599
|
+
/* @__PURE__ */ import_react45.default.createElement(
|
|
5600
|
+
PopoverTrigger,
|
|
5910
5601
|
{
|
|
5911
|
-
|
|
5912
|
-
|
|
5913
|
-
|
|
5602
|
+
onMouseEnter: () => setOpenTooltip(o),
|
|
5603
|
+
onMouseLeave: () => setOpenTooltip(null),
|
|
5604
|
+
asChild: true
|
|
5914
5605
|
},
|
|
5915
5606
|
/* @__PURE__ */ import_react45.default.createElement(
|
|
5916
|
-
|
|
5607
|
+
import_react_tabs.TabsTrigger,
|
|
5917
5608
|
{
|
|
5918
|
-
|
|
5919
|
-
|
|
5920
|
-
|
|
5921
|
-
|
|
5922
|
-
|
|
5923
|
-
|
|
5924
|
-
|
|
5925
|
-
"aria-current": selectedOption === opt.value ? "page" : void 0,
|
|
5926
|
-
value: opt.value,
|
|
5927
|
-
role: "tab",
|
|
5928
|
-
tabIndex: 0,
|
|
5929
|
-
onClick: () => {
|
|
5930
|
-
if (props.disabled || opt.disabled) return;
|
|
5931
|
-
handleChange(opt);
|
|
5932
|
-
},
|
|
5933
|
-
className: cn(
|
|
5934
|
-
...radio_option_tabs_styling,
|
|
5935
|
-
selectedOption === opt.value ? activeTabStyle : inactiveTabStyle
|
|
5936
|
-
)
|
|
5609
|
+
"aria-current": selectedOption === opt.value ? "page" : void 0,
|
|
5610
|
+
value: opt.value,
|
|
5611
|
+
role: "tab",
|
|
5612
|
+
tabIndex: 0,
|
|
5613
|
+
onClick: () => {
|
|
5614
|
+
if (props.disabled || opt.disabled) return;
|
|
5615
|
+
handleChange(opt);
|
|
5937
5616
|
},
|
|
5938
|
-
|
|
5939
|
-
|
|
5940
|
-
|
|
5941
|
-
|
|
5942
|
-
/* @__PURE__ */ import_react45.default.createElement(PopoverContent, { ...opt.tooltipContentProps }, opt.tooltip)
|
|
5943
|
-
) : /* @__PURE__ */ import_react45.default.createElement(
|
|
5944
|
-
import_react_tabs.TabsTrigger,
|
|
5945
|
-
{
|
|
5946
|
-
key: o,
|
|
5947
|
-
role: "tab",
|
|
5948
|
-
tabIndex: 0,
|
|
5949
|
-
"aria-current": selectedOption === opt.value ? "page" : void 0,
|
|
5950
|
-
onClick: () => {
|
|
5951
|
-
if (props.disabled || opt.disabled) return;
|
|
5952
|
-
handleChange(opt);
|
|
5617
|
+
className: cn(
|
|
5618
|
+
...radio_option_tabs_styling,
|
|
5619
|
+
selectedOption === opt.value ? activeTabStyle : inactiveTabStyle
|
|
5620
|
+
)
|
|
5953
5621
|
},
|
|
5954
|
-
|
|
5955
|
-
|
|
5956
|
-
|
|
5957
|
-
|
|
5958
|
-
|
|
5622
|
+
opt.icon && opt.icon,
|
|
5623
|
+
opt.label
|
|
5624
|
+
)
|
|
5625
|
+
),
|
|
5626
|
+
/* @__PURE__ */ import_react45.default.createElement(PopoverContent, { ...opt.tooltipContentProps }, opt.tooltip)
|
|
5627
|
+
) : /* @__PURE__ */ import_react45.default.createElement(
|
|
5628
|
+
import_react_tabs.TabsTrigger,
|
|
5629
|
+
{
|
|
5630
|
+
key: o,
|
|
5631
|
+
role: "tab",
|
|
5632
|
+
tabIndex: 0,
|
|
5633
|
+
"aria-current": selectedOption === opt.value ? "page" : void 0,
|
|
5634
|
+
onClick: () => {
|
|
5635
|
+
if (props.disabled || opt.disabled) return;
|
|
5636
|
+
handleChange(opt);
|
|
5959
5637
|
},
|
|
5960
|
-
|
|
5961
|
-
|
|
5962
|
-
|
|
5963
|
-
|
|
5964
|
-
|
|
5965
|
-
|
|
5966
|
-
|
|
5638
|
+
className: cn(
|
|
5639
|
+
...radio_option_tabs_styling,
|
|
5640
|
+
selectedOption === opt.value ? activeTabStyle : inactiveTabStyle
|
|
5641
|
+
),
|
|
5642
|
+
value: opt.value
|
|
5643
|
+
},
|
|
5644
|
+
opt.icon && opt.icon,
|
|
5645
|
+
opt.label
|
|
5646
|
+
);
|
|
5647
|
+
})
|
|
5648
|
+
)), !forceHideHelperText && /* @__PURE__ */ import_react45.default.createElement(HelperText, { helperText: props.helperText }));
|
|
5967
5649
|
case "bordered":
|
|
5968
5650
|
return /* @__PURE__ */ import_react45.default.createElement(
|
|
5969
5651
|
"div",
|
|
@@ -6011,11 +5693,7 @@ var Radio = (0, import_react45.forwardRef)(
|
|
|
6011
5693
|
return /* @__PURE__ */ import_react45.default.createElement(
|
|
6012
5694
|
"ul",
|
|
6013
5695
|
{
|
|
6014
|
-
className: cn(
|
|
6015
|
-
orientationStyle[orientation],
|
|
6016
|
-
"hawa-gap-4",
|
|
6017
|
-
containerClassNames == null ? void 0 : containerClassNames.cards
|
|
6018
|
-
)
|
|
5696
|
+
className: cn(orientationStyle[orientation], "hawa-gap-4", containerClassNames == null ? void 0 : containerClassNames.cards)
|
|
6019
5697
|
},
|
|
6020
5698
|
(_c = props.options) == null ? void 0 : _c.map((opt, o) => /* @__PURE__ */ import_react45.default.createElement("li", { key: o, onClick: () => handleChange(opt) }, /* @__PURE__ */ import_react45.default.createElement(
|
|
6021
5699
|
"input",
|
|
@@ -6041,49 +5719,38 @@ var Radio = (0, import_react45.forwardRef)(
|
|
|
6041
5719
|
)))
|
|
6042
5720
|
);
|
|
6043
5721
|
default:
|
|
6044
|
-
return /* @__PURE__ */ import_react45.default.createElement(
|
|
5722
|
+
return /* @__PURE__ */ import_react45.default.createElement("div", { className: cn("hawa-flex hawa-flex-col hawa-gap-2", containerClassNames == null ? void 0 : containerClassNames.default) }, props.label && /* @__PURE__ */ import_react45.default.createElement(Label, { ...labelProps }, props.label), /* @__PURE__ */ import_react45.default.createElement("div", { className: cn(orientationStyle[orientation], "hawa-gap-2") }, props.options && props.options.map((opt, i) => /* @__PURE__ */ import_react45.default.createElement(
|
|
6045
5723
|
"div",
|
|
6046
|
-
{
|
|
6047
|
-
className: cn(
|
|
6048
|
-
"hawa-flex hawa-
|
|
6049
|
-
|
|
6050
|
-
)
|
|
6051
|
-
|
|
6052
|
-
|
|
6053
|
-
/* @__PURE__ */ import_react45.default.createElement(
|
|
6054
|
-
"
|
|
6055
|
-
{
|
|
6056
|
-
|
|
6057
|
-
|
|
6058
|
-
|
|
6059
|
-
|
|
6060
|
-
|
|
6061
|
-
|
|
6062
|
-
|
|
6063
|
-
|
|
6064
|
-
|
|
6065
|
-
|
|
6066
|
-
|
|
6067
|
-
|
|
6068
|
-
|
|
6069
|
-
|
|
6070
|
-
|
|
6071
|
-
|
|
6072
|
-
|
|
6073
|
-
|
|
6074
|
-
|
|
6075
|
-
|
|
6076
|
-
htmlFor: opt.value.toString(),
|
|
6077
|
-
className: cn(
|
|
6078
|
-
"hawa-text-sm hawa-font-medium dark:hawa-text-white",
|
|
6079
|
-
opt.disabled ? "hawa-text-gray-400" : "hawa-cursor-pointer hawa-text-gray-900"
|
|
6080
|
-
)
|
|
6081
|
-
},
|
|
6082
|
-
opt.label
|
|
6083
|
-
)
|
|
6084
|
-
))),
|
|
6085
|
-
/* @__PURE__ */ import_react45.default.createElement(HelperText, { helperText: props.helperText })
|
|
6086
|
-
);
|
|
5724
|
+
{
|
|
5725
|
+
className: cn(
|
|
5726
|
+
"radio-item radio-item-default hawa-flex hawa-items-center hawa-transition-all",
|
|
5727
|
+
props.direction === "rtl" ? "margin-left right-3px" : "margin-right left-3px"
|
|
5728
|
+
),
|
|
5729
|
+
key: i + 1
|
|
5730
|
+
},
|
|
5731
|
+
/* @__PURE__ */ import_react45.default.createElement(
|
|
5732
|
+
"input",
|
|
5733
|
+
{
|
|
5734
|
+
disabled: opt.disabled,
|
|
5735
|
+
id: opt.value.toString(),
|
|
5736
|
+
type: "radio",
|
|
5737
|
+
value: opt.value,
|
|
5738
|
+
name,
|
|
5739
|
+
onChange: () => handleChange(opt)
|
|
5740
|
+
}
|
|
5741
|
+
),
|
|
5742
|
+
/* @__PURE__ */ import_react45.default.createElement(
|
|
5743
|
+
"label",
|
|
5744
|
+
{
|
|
5745
|
+
htmlFor: opt.value.toString(),
|
|
5746
|
+
className: cn(
|
|
5747
|
+
"hawa-text-sm hawa-font-medium dark:hawa-text-white",
|
|
5748
|
+
opt.disabled ? "hawa-text-gray-400" : "hawa-cursor-pointer hawa-text-gray-900"
|
|
5749
|
+
)
|
|
5750
|
+
},
|
|
5751
|
+
opt.label
|
|
5752
|
+
)
|
|
5753
|
+
))), /* @__PURE__ */ import_react45.default.createElement(HelperText, { helperText: props.helperText }));
|
|
6087
5754
|
}
|
|
6088
5755
|
}
|
|
6089
5756
|
);
|
|
@@ -6111,15 +5778,7 @@ var Textarea = React40.forwardRef(
|
|
|
6111
5778
|
className
|
|
6112
5779
|
)
|
|
6113
5780
|
},
|
|
6114
|
-
/* @__PURE__ */ React40.createElement("div", { className: "hawa-flex hawa-flex-row hawa-justify-between" }, props.label && /* @__PURE__ */ React40.createElement(Label, { ...labelProps }, props.label), showCount && countPosition === "top" && /* @__PURE__ */ React40.createElement(
|
|
6115
|
-
"div",
|
|
6116
|
-
{
|
|
6117
|
-
className: "hawa-text-start hawa-text-xs hawa-transition-all hawa-leading-none"
|
|
6118
|
-
},
|
|
6119
|
-
(textareaProps == null ? void 0 : textareaProps.value) ? String(textareaProps == null ? void 0 : textareaProps.value).length : 0,
|
|
6120
|
-
"/",
|
|
6121
|
-
textareaProps == null ? void 0 : textareaProps.maxLength
|
|
6122
|
-
)),
|
|
5781
|
+
/* @__PURE__ */ React40.createElement("div", { className: "hawa-flex hawa-flex-row hawa-justify-between" }, props.label && /* @__PURE__ */ React40.createElement(Label, { ...labelProps }, props.label), showCount && countPosition === "top" && /* @__PURE__ */ React40.createElement("div", { className: "hawa-text-start hawa-text-xs hawa-transition-all hawa-leading-none" }, (textareaProps == null ? void 0 : textareaProps.value) ? String(textareaProps == null ? void 0 : textareaProps.value).length : 0, "/", textareaProps == null ? void 0 : textareaProps.maxLength)),
|
|
6123
5782
|
isLoading ? /* @__PURE__ */ React40.createElement(Skeleton, { style: { height: 40 } }) : /* @__PURE__ */ React40.createElement(
|
|
6124
5783
|
"textarea",
|
|
6125
5784
|
{
|
|
@@ -6168,19 +5827,13 @@ var UserReferralSource = ({
|
|
|
6168
5827
|
return /* @__PURE__ */ import_react46.default.createElement(
|
|
6169
5828
|
"div",
|
|
6170
5829
|
{
|
|
6171
|
-
className: cn(
|
|
6172
|
-
"hawa-transition-all",
|
|
6173
|
-
closed ? "hawa-opacity-0" : "hawa-opacity-100"
|
|
6174
|
-
),
|
|
5830
|
+
className: cn("hawa-transition-all", closed ? "hawa-opacity-0" : "hawa-opacity-100"),
|
|
6175
5831
|
ref: popUpRef
|
|
6176
5832
|
},
|
|
6177
5833
|
/* @__PURE__ */ import_react46.default.createElement(
|
|
6178
5834
|
Card,
|
|
6179
5835
|
{
|
|
6180
|
-
className: cn(
|
|
6181
|
-
"hawa-fixed hawa-bottom-4 hawa-p-0 ",
|
|
6182
|
-
boxPosition[position]
|
|
6183
|
-
),
|
|
5836
|
+
className: cn("hawa-fixed hawa-bottom-4 hawa-p-0", boxPosition[position]),
|
|
6184
5837
|
dir: props.direction
|
|
6185
5838
|
},
|
|
6186
5839
|
/* @__PURE__ */ import_react46.default.createElement(
|
|
@@ -6189,7 +5842,7 @@ var UserReferralSource = ({
|
|
|
6189
5842
|
type: "button",
|
|
6190
5843
|
className: cn(
|
|
6191
5844
|
props.direction === "rtl" ? "hawa-left-2" : "hawa-right-2",
|
|
6192
|
-
"hawa-absolute
|
|
5845
|
+
"hawa-absolute hawa-top-2 hawa-inline-flex hawa-h-8 hawa-w-8 hawa-rounded hawa-p-1.5 hawa-text-gray-400 hawa-transition-all hover:hawa-bg-gray-100 hover:hawa-text-gray-900 focus:hawa-ring-2 focus:hawa-ring-gray-300 dark:hawa-bg-gray-800 dark:hawa-text-gray-500 dark:hover:hawa-bg-gray-700 dark:hover:hawa-text-white"
|
|
6193
5846
|
),
|
|
6194
5847
|
"data-dismiss-target": "#toast-default",
|
|
6195
5848
|
"aria-label": "Close",
|
|
@@ -6241,7 +5894,7 @@ var UserReferralSource = ({
|
|
|
6241
5894
|
)
|
|
6242
5895
|
},
|
|
6243
5896
|
/* @__PURE__ */ import_react46.default.createElement("div", { className: "hawa-mt-4 hawa-font-bold" }, props.question),
|
|
6244
|
-
/* @__PURE__ */ import_react46.default.createElement("div", { className: "hawa-flex hawa-w-full hawa-flex-row hawa-gap-1 hawa-rounded
|
|
5897
|
+
/* @__PURE__ */ import_react46.default.createElement("div", { className: "hawa-flex hawa-w-full hawa-flex-row hawa-gap-1 hawa-rounded" }, /* @__PURE__ */ import_react46.default.createElement(
|
|
6245
5898
|
import_react_hook_form6.Controller,
|
|
6246
5899
|
{
|
|
6247
5900
|
control,
|
|
@@ -6293,10 +5946,7 @@ var UserReferralSource = ({
|
|
|
6293
5946
|
|
|
6294
5947
|
// blocks/feedback/FeedbackRating.tsx
|
|
6295
5948
|
var import_react47 = __toESM(require("react"));
|
|
6296
|
-
var FeedbackRating = ({
|
|
6297
|
-
position = "bottom-right",
|
|
6298
|
-
...props
|
|
6299
|
-
}) => {
|
|
5949
|
+
var FeedbackRating = ({ position = "bottom-right", ...props }) => {
|
|
6300
5950
|
const [closed, setClosed] = (0, import_react47.useState)(false);
|
|
6301
5951
|
const [answered, setAnswered] = (0, import_react47.useState)(false);
|
|
6302
5952
|
const [clickedOption, setClickedOption] = (0, import_react47.useState)(null);
|
|
@@ -6386,9 +6036,7 @@ var FeedbackRating = ({
|
|
|
6386
6036
|
}, 4800);
|
|
6387
6037
|
setTimeout(() => {
|
|
6388
6038
|
var _a, _b;
|
|
6389
|
-
(_b = popUpRef.current) == null ? void 0 : _b.removeChild(
|
|
6390
|
-
(_a = popUpRef.current) == null ? void 0 : _a.children[0]
|
|
6391
|
-
);
|
|
6039
|
+
(_b = popUpRef.current) == null ? void 0 : _b.removeChild((_a = popUpRef.current) == null ? void 0 : _a.children[0]);
|
|
6392
6040
|
clearTimeout(timeoutDestroy);
|
|
6393
6041
|
}, 5300);
|
|
6394
6042
|
},
|
|
@@ -6538,9 +6186,7 @@ var FeedbackForm = (props) => {
|
|
|
6538
6186
|
return /* @__PURE__ */ import_react49.default.createElement(
|
|
6539
6187
|
Card,
|
|
6540
6188
|
{
|
|
6541
|
-
className: cn(
|
|
6542
|
-
props.cardless ? "hawa-border-none hawa-bg-transparent hawa-shadow-none" : ""
|
|
6543
|
-
),
|
|
6189
|
+
className: cn(props.cardless ? "hawa-border-none hawa-bg-transparent hawa-shadow-none" : ""),
|
|
6544
6190
|
style: props.cardless ? { boxShadow: "none" } : void 0
|
|
6545
6191
|
},
|
|
6546
6192
|
/* @__PURE__ */ import_react49.default.createElement(CardContent, { headless: true, className: props.cardless ? "!hawa-p-0" : "" }, props.sent ? /* @__PURE__ */ import_react49.default.createElement("div", { className: "hawa-text-center hawa-min-h-[200px] hawa-flex hawa-flex-col hawa-justify-center" }, /* @__PURE__ */ import_react49.default.createElement("div", { className: "hawa-font-bold hawa-text-lg" }, props.texts.sentTitle || "Form submitted"), /* @__PURE__ */ import_react49.default.createElement("div", { className: "hawa-text-md" }, props.texts.sentSubtitle || "Thank you for your submission")) : /* @__PURE__ */ import_react49.default.createElement(
|
|
@@ -6713,10 +6359,7 @@ var LeadGenerator = ({ texts, submitHandler }) => {
|
|
|
6713
6359
|
|
|
6714
6360
|
// blocks/misc/Announcement.tsx
|
|
6715
6361
|
var import_react54 = __toESM(require("react"));
|
|
6716
|
-
var Announcement = ({
|
|
6717
|
-
onActionClick,
|
|
6718
|
-
...props
|
|
6719
|
-
}) => {
|
|
6362
|
+
var Announcement = ({ onActionClick, ...props }) => {
|
|
6720
6363
|
return /* @__PURE__ */ import_react54.default.createElement(Card, null, /* @__PURE__ */ import_react54.default.createElement(
|
|
6721
6364
|
CardContent,
|
|
6722
6365
|
{
|
|
@@ -6724,14 +6367,7 @@ var Announcement = ({
|
|
|
6724
6367
|
className: "hawa-flex hawa-flex-row hawa-items-center hawa-justify-between"
|
|
6725
6368
|
},
|
|
6726
6369
|
/* @__PURE__ */ import_react54.default.createElement("div", { className: "hawa-flex hawa-flex-col hawa-items-start hawa-justify-center" }, /* @__PURE__ */ import_react54.default.createElement("span", { className: "hawa-text-lg hawa-font-bold" }, props.title), /* @__PURE__ */ import_react54.default.createElement("span", { className: "hawa-text-sm" }, props.subtitle)),
|
|
6727
|
-
/* @__PURE__ */ import_react54.default.createElement(
|
|
6728
|
-
Button,
|
|
6729
|
-
{
|
|
6730
|
-
onClick: () => onActionClick(),
|
|
6731
|
-
className: "hawa-whitespace-nowrap"
|
|
6732
|
-
},
|
|
6733
|
-
props.actionText
|
|
6734
|
-
)
|
|
6370
|
+
/* @__PURE__ */ import_react54.default.createElement(Button, { onClick: () => onActionClick(), className: "hawa-whitespace-nowrap" }, props.actionText)
|
|
6735
6371
|
));
|
|
6736
6372
|
};
|
|
6737
6373
|
|
|
@@ -6777,25 +6413,22 @@ var ContactForm = ({
|
|
|
6777
6413
|
}) => {
|
|
6778
6414
|
var _a, _b, _c, _d, _e;
|
|
6779
6415
|
const customFieldsSchema = z8.object({
|
|
6780
|
-
...customFields == null ? void 0 : customFields.reduce(
|
|
6781
|
-
(
|
|
6782
|
-
|
|
6783
|
-
|
|
6784
|
-
|
|
6785
|
-
|
|
6786
|
-
|
|
6787
|
-
|
|
6788
|
-
|
|
6789
|
-
|
|
6790
|
-
|
|
6791
|
-
|
|
6792
|
-
|
|
6793
|
-
|
|
6794
|
-
|
|
6795
|
-
|
|
6796
|
-
},
|
|
6797
|
-
{}
|
|
6798
|
-
)
|
|
6416
|
+
...customFields == null ? void 0 : customFields.reduce((acc, curr) => {
|
|
6417
|
+
switch (curr.type) {
|
|
6418
|
+
case "text":
|
|
6419
|
+
acc[curr.name] = z8.string().optional().default("");
|
|
6420
|
+
break;
|
|
6421
|
+
case "number":
|
|
6422
|
+
acc[curr.name] = z8.string().optional().default("");
|
|
6423
|
+
break;
|
|
6424
|
+
case "select":
|
|
6425
|
+
acc[curr.name] = z8.string().optional().default("");
|
|
6426
|
+
break;
|
|
6427
|
+
default:
|
|
6428
|
+
break;
|
|
6429
|
+
}
|
|
6430
|
+
return acc;
|
|
6431
|
+
}, {})
|
|
6799
6432
|
});
|
|
6800
6433
|
const contactFormSchema = z8.object({
|
|
6801
6434
|
name: z8.string({ required_error: (texts == null ? void 0 : texts.name.required) || "Name is required" }).min(1, (texts == null ? void 0 : texts.name.required) || "Name is required").default(""),
|
|
@@ -6865,13 +6498,10 @@ var ContactForm = ({
|
|
|
6865
6498
|
/* @__PURE__ */ import_react57.default.createElement(
|
|
6866
6499
|
"div",
|
|
6867
6500
|
{
|
|
6868
|
-
className: cn(
|
|
6869
|
-
"hawa-flex
|
|
6870
|
-
|
|
6871
|
-
|
|
6872
|
-
"hawa-flex-col": size === "sm"
|
|
6873
|
-
}
|
|
6874
|
-
)
|
|
6501
|
+
className: cn("hawa-flex hawa-items-start hawa-justify-start hawa-gap-2", {
|
|
6502
|
+
"hawa-flex-row": size === "default",
|
|
6503
|
+
"hawa-flex-col": size === "sm"
|
|
6504
|
+
})
|
|
6875
6505
|
},
|
|
6876
6506
|
/* @__PURE__ */ import_react57.default.createElement(
|
|
6877
6507
|
import_react_hook_form9.Controller,
|
|
@@ -6969,9 +6599,7 @@ var ContactForm = ({
|
|
|
6969
6599
|
placeholder: texts == null ? void 0 : texts.message.placeholder,
|
|
6970
6600
|
className: "hawa-min-h-20",
|
|
6971
6601
|
...field,
|
|
6972
|
-
onKeyDown: getHotkeyHandler([
|
|
6973
|
-
["mod+enter", () => SubmitForm(getValues())]
|
|
6974
|
-
])
|
|
6602
|
+
onKeyDown: getHotkeyHandler([["mod+enter", () => SubmitForm(getValues())]])
|
|
6975
6603
|
},
|
|
6976
6604
|
classNames: { textarea: "hawa-min-h-40 hawa-h-full" },
|
|
6977
6605
|
helperText: (_a2 = errors.message) == null ? void 0 : _a2.message
|
|
@@ -6980,14 +6608,7 @@ var ContactForm = ({
|
|
|
6980
6608
|
}
|
|
6981
6609
|
}
|
|
6982
6610
|
),
|
|
6983
|
-
/* @__PURE__ */ import_react57.default.createElement(
|
|
6984
|
-
Button,
|
|
6985
|
-
{
|
|
6986
|
-
type: "submit",
|
|
6987
|
-
className: cn("hawa-w-full", classNames == null ? void 0 : classNames.submitButton)
|
|
6988
|
-
},
|
|
6989
|
-
(texts == null ? void 0 : texts.submit) || "Submit"
|
|
6990
|
-
)
|
|
6611
|
+
/* @__PURE__ */ import_react57.default.createElement(Button, { type: "submit", className: cn("hawa-w-full", classNames == null ? void 0 : classNames.submitButton) }, (texts == null ? void 0 : texts.submit) || "Submit")
|
|
6991
6612
|
))
|
|
6992
6613
|
);
|
|
6993
6614
|
};
|
|
@@ -7036,10 +6657,7 @@ var ActionCard = (props) => {
|
|
|
7036
6657
|
|
|
7037
6658
|
// blocks/cards/AdCard.tsx
|
|
7038
6659
|
var import_react59 = __toESM(require("react"));
|
|
7039
|
-
var AdCard = ({
|
|
7040
|
-
orientation = "vertical",
|
|
7041
|
-
...props
|
|
7042
|
-
}) => {
|
|
6660
|
+
var AdCard = ({ orientation = "vertical", ...props }) => {
|
|
7043
6661
|
const adRef = (0, import_react59.useRef)(null);
|
|
7044
6662
|
const [closed, setClosed] = (0, import_react59.useState)(false);
|
|
7045
6663
|
let duration = 0;
|
|
@@ -7068,43 +6686,34 @@ var AdCard = ({
|
|
|
7068
6686
|
horizontal: "hawa-w-auto hawa-h-full hawa-bg-blue-500 hawa-rounded-inner",
|
|
7069
6687
|
vertical: "hawa-bg-blue-500 hawa-rounded-inner hawa-w-auto "
|
|
7070
6688
|
};
|
|
7071
|
-
return /* @__PURE__ */ import_react59.default.createElement("div", { ref: adRef }, /* @__PURE__ */ import_react59.default.createElement(
|
|
7072
|
-
"
|
|
6689
|
+
return /* @__PURE__ */ import_react59.default.createElement("div", { ref: adRef }, /* @__PURE__ */ import_react59.default.createElement("div", { className: cn(cardStyles[orientation], props.className), onClick: props.handleClick }, /* @__PURE__ */ import_react59.default.createElement("div", { className: "hawa-flex hawa-aspect-square hawa-w-full hawa-max-w-fit hawa-items-start" }, /* @__PURE__ */ import_react59.default.createElement(
|
|
6690
|
+
"img",
|
|
7073
6691
|
{
|
|
7074
|
-
|
|
7075
|
-
|
|
7076
|
-
}
|
|
7077
|
-
|
|
7078
|
-
|
|
7079
|
-
|
|
7080
|
-
|
|
7081
|
-
|
|
7082
|
-
|
|
7083
|
-
|
|
7084
|
-
|
|
7085
|
-
|
|
7086
|
-
|
|
7087
|
-
{
|
|
7088
|
-
onClick: (e) => {
|
|
7089
|
-
e.stopPropagation();
|
|
7090
|
-
if (props.canHide) {
|
|
7091
|
-
setClosed(true);
|
|
7092
|
-
setTimeout(() => {
|
|
7093
|
-
if (adRef.current) {
|
|
7094
|
-
adRef.current.removeChild(adRef.current.children[0]);
|
|
7095
|
-
}
|
|
7096
|
-
}, 200);
|
|
7097
|
-
} else {
|
|
7098
|
-
if (props.handleCantHide) {
|
|
7099
|
-
props.handleCantHide();
|
|
6692
|
+
src: props.imageURL ? props.imageURL : "https://via.placeholder.com/50",
|
|
6693
|
+
className: imageStyles[orientation]
|
|
6694
|
+
}
|
|
6695
|
+
)), /* @__PURE__ */ import_react59.default.createElement("div", { className: "hawa-w-full hawa-text-xs" }, /* @__PURE__ */ import_react59.default.createElement("div", { className: "hawa-font-bold" }, props.title), /* @__PURE__ */ import_react59.default.createElement("div", { className: "hawa-text-[12px]" }, props.description)), props.canHide && /* @__PURE__ */ import_react59.default.createElement(
|
|
6696
|
+
"span",
|
|
6697
|
+
{
|
|
6698
|
+
onClick: (e) => {
|
|
6699
|
+
e.stopPropagation();
|
|
6700
|
+
if (props.canHide) {
|
|
6701
|
+
setClosed(true);
|
|
6702
|
+
setTimeout(() => {
|
|
6703
|
+
if (adRef.current) {
|
|
6704
|
+
adRef.current.removeChild(adRef.current.children[0]);
|
|
7100
6705
|
}
|
|
6706
|
+
}, 200);
|
|
6707
|
+
} else {
|
|
6708
|
+
if (props.handleCantHide) {
|
|
6709
|
+
props.handleCantHide();
|
|
7101
6710
|
}
|
|
7102
|
-
}
|
|
7103
|
-
className: "hawa-absolute hawa-right-0 hawa-top-0 hawa-h-fit hawa-cursor-pointer hawa-select-none hawa-rounded-bl-lg hawa-rounded-tr-lg hawa-bg-primary/50 hawa-px-2.5 hawa-py-0.5 hawa-text-[10px] hawa-font-semibold hawa-text-primary-foreground"
|
|
6711
|
+
}
|
|
7104
6712
|
},
|
|
7105
|
-
"
|
|
7106
|
-
|
|
7107
|
-
|
|
6713
|
+
className: "hawa-absolute hawa-right-0 hawa-top-0 hawa-h-fit hawa-cursor-pointer hawa-select-none hawa-rounded-bl-lg hawa-rounded-tr-lg hawa-bg-primary/50 hawa-px-2.5 hawa-py-0.5 hawa-text-[10px] hawa-font-semibold hawa-text-primary-foreground"
|
|
6714
|
+
},
|
|
6715
|
+
"Hide"
|
|
6716
|
+
)));
|
|
7108
6717
|
};
|
|
7109
6718
|
|
|
7110
6719
|
// blocks/cards/PricingCard.tsx
|
|
@@ -7143,13 +6752,7 @@ var PricingCard = ({
|
|
|
7143
6752
|
medium: "hawa-w-full hawa-rounded hawa-min-w-fit hawa-border dark:hawa-border-gray-700 hawa-bg-background",
|
|
7144
6753
|
large: "hawa-w-full hawa-max-w-lg hawa-rounded hawa-border dark:hawa-border-gray-700 hawa-bg-background"
|
|
7145
6754
|
};
|
|
7146
|
-
return /* @__PURE__ */ import_react60.default.createElement(import_react60.default.Fragment, null, props.isLoadingCard ? /* @__PURE__ */ import_react60.default.createElement(
|
|
7147
|
-
Skeleton,
|
|
7148
|
-
{
|
|
7149
|
-
className: cn(cardSizes[size], "hawa-h-[200px]"),
|
|
7150
|
-
fade: "bottom"
|
|
7151
|
-
}
|
|
7152
|
-
) : /* @__PURE__ */ import_react60.default.createElement(
|
|
6755
|
+
return /* @__PURE__ */ import_react60.default.createElement(import_react60.default.Fragment, null, props.isLoadingCard ? /* @__PURE__ */ import_react60.default.createElement(Skeleton, { className: cn(cardSizes[size], "hawa-h-[200px]"), fade: "bottom" }) : /* @__PURE__ */ import_react60.default.createElement(
|
|
7153
6756
|
Card,
|
|
7154
6757
|
{
|
|
7155
6758
|
dir: direction,
|
|
@@ -7204,48 +6807,26 @@ var PricingCard = ({
|
|
|
7204
6807
|
clipRule: "evenodd"
|
|
7205
6808
|
}
|
|
7206
6809
|
)
|
|
7207
|
-
) : /* @__PURE__ */ import_react60.default.createElement("div", { className: "hawa-m-2 hawa-mx-2.5 hawa-h-4 hawa-w-4 hawa-rounded-full hawa-bg-primary/10" }), /* @__PURE__ */ import_react60.default.createElement("span", { className: "hawa-flex hawa-flex-row hawa-items-center hawa-gap-2 hawa-whitespace-nowrap hawa-text-start hawa-font-normal hawa-leading-tight hawa-text-primary/70" }, feature.text, " ", feature.soon && feature.included && /* @__PURE__ */ import_react60.default.createElement(
|
|
7208
|
-
|
|
7209
|
-
|
|
7210
|
-
label: ((_a2 = props.texts) == null ? void 0 : _a2.soon) || "",
|
|
7211
|
-
color: "oceanic",
|
|
7212
|
-
size: "small"
|
|
7213
|
-
}
|
|
7214
|
-
))),
|
|
7215
|
-
feature.hint && /* @__PURE__ */ import_react60.default.createElement(
|
|
7216
|
-
Tooltip,
|
|
6810
|
+
) : /* @__PURE__ */ import_react60.default.createElement("div", { className: "hawa-m-2 hawa-mx-2.5 hawa-h-4 hawa-w-4 hawa-rounded-full hawa-bg-primary/10" }), /* @__PURE__ */ import_react60.default.createElement("span", { className: "hawa-flex hawa-flex-row hawa-items-center hawa-gap-2 hawa-whitespace-nowrap hawa-text-start hawa-font-normal hawa-leading-tight hawa-text-primary/70" }, feature.text, " ", feature.soon && feature.included && /* @__PURE__ */ import_react60.default.createElement(Chip, { label: ((_a2 = props.texts) == null ? void 0 : _a2.soon) || "", color: "oceanic", size: "small" }))),
|
|
6811
|
+
feature.hint && /* @__PURE__ */ import_react60.default.createElement(Tooltip, { content: feature.hint, side: feature.hintSide }, /* @__PURE__ */ import_react60.default.createElement(
|
|
6812
|
+
"svg",
|
|
7217
6813
|
{
|
|
7218
|
-
|
|
7219
|
-
|
|
6814
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
6815
|
+
className: "hawa-h-[14px] hawa-w-[14px] hawa-cursor-help",
|
|
6816
|
+
viewBox: "0 0 24 24",
|
|
6817
|
+
fill: "none",
|
|
6818
|
+
stroke: "currentColor",
|
|
6819
|
+
strokeWidth: "2",
|
|
6820
|
+
strokeLinecap: "round",
|
|
6821
|
+
strokeLinejoin: "round"
|
|
7220
6822
|
},
|
|
7221
|
-
/* @__PURE__ */ import_react60.default.createElement(
|
|
7222
|
-
|
|
7223
|
-
|
|
7224
|
-
|
|
7225
|
-
className: "hawa-h-[14px] hawa-w-[14px] hawa-cursor-help",
|
|
7226
|
-
viewBox: "0 0 24 24",
|
|
7227
|
-
fill: "none",
|
|
7228
|
-
stroke: "currentColor",
|
|
7229
|
-
strokeWidth: "2",
|
|
7230
|
-
strokeLinecap: "round",
|
|
7231
|
-
strokeLinejoin: "round"
|
|
7232
|
-
},
|
|
7233
|
-
/* @__PURE__ */ import_react60.default.createElement("circle", { cx: "12", cy: "12", r: "10" }),
|
|
7234
|
-
/* @__PURE__ */ import_react60.default.createElement("path", { d: "M9.09 9a3 3 0 0 1 5.83 1c0 2-3 3-3 3" }),
|
|
7235
|
-
/* @__PURE__ */ import_react60.default.createElement("path", { d: "M12 17h.01" })
|
|
7236
|
-
)
|
|
7237
|
-
)
|
|
6823
|
+
/* @__PURE__ */ import_react60.default.createElement("circle", { cx: "12", cy: "12", r: "10" }),
|
|
6824
|
+
/* @__PURE__ */ import_react60.default.createElement("path", { d: "M9.09 9a3 3 0 0 1 5.83 1c0 2-3 3-3 3" }),
|
|
6825
|
+
/* @__PURE__ */ import_react60.default.createElement("path", { d: "M12 17h.01" })
|
|
6826
|
+
))
|
|
7238
6827
|
);
|
|
7239
6828
|
})),
|
|
7240
|
-
/* @__PURE__ */ import_react60.default.createElement(
|
|
7241
|
-
Button,
|
|
7242
|
-
{
|
|
7243
|
-
onClick: props.onPlanClicked,
|
|
7244
|
-
disabled: currentPlan,
|
|
7245
|
-
className: "hawa-w-full"
|
|
7246
|
-
},
|
|
7247
|
-
(_i = props.texts) == null ? void 0 : _i.buttonText
|
|
7248
|
-
)
|
|
6829
|
+
/* @__PURE__ */ import_react60.default.createElement(Button, { onClick: props.onPlanClicked, disabled: currentPlan, className: "hawa-w-full" }, (_i = props.texts) == null ? void 0 : _i.buttonText)
|
|
7249
6830
|
))
|
|
7250
6831
|
));
|
|
7251
6832
|
};
|
|
@@ -7421,17 +7002,11 @@ var DropdownMenuSeparator = React57.forwardRef(({ className, ...props }, ref) =>
|
|
|
7421
7002
|
}
|
|
7422
7003
|
));
|
|
7423
7004
|
DropdownMenuSeparator.displayName = DropdownMenuPrimitive.Separator.displayName;
|
|
7424
|
-
var DropdownMenuShortcut = ({
|
|
7425
|
-
className,
|
|
7426
|
-
...props
|
|
7427
|
-
}) => {
|
|
7005
|
+
var DropdownMenuShortcut = ({ className, ...props }) => {
|
|
7428
7006
|
return /* @__PURE__ */ React57.createElement(
|
|
7429
7007
|
"span",
|
|
7430
7008
|
{
|
|
7431
|
-
className: cn(
|
|
7432
|
-
"hawa-text-xs hawa-tracking-widest hawa-opacity-60",
|
|
7433
|
-
className
|
|
7434
|
-
),
|
|
7009
|
+
className: cn("hawa-text-xs hawa-tracking-widest hawa-opacity-60", className),
|
|
7435
7010
|
...props
|
|
7436
7011
|
}
|
|
7437
7012
|
);
|
|
@@ -7468,178 +7043,144 @@ var DropdownMenu = ({
|
|
|
7468
7043
|
default: "hawa-px-2 hawa-py-3 ",
|
|
7469
7044
|
sm: "hawa-text-xs hawa-px-1.5 hawa-py-1.5 "
|
|
7470
7045
|
};
|
|
7471
|
-
let [values, setValues] = React57.useState(
|
|
7472
|
-
|
|
7473
|
-
|
|
7474
|
-
return /* @__PURE__ */ React57.createElement(
|
|
7475
|
-
DropdownMenuRoot,
|
|
7046
|
+
let [values, setValues] = React57.useState(items.map((item) => item.currentOption));
|
|
7047
|
+
return /* @__PURE__ */ React57.createElement(DropdownMenuRoot, { onOpenChange, open, modal: false, dir: direction }, /* @__PURE__ */ React57.createElement(
|
|
7048
|
+
DropdownMenuTrigger,
|
|
7476
7049
|
{
|
|
7477
|
-
|
|
7478
|
-
|
|
7479
|
-
|
|
7480
|
-
dir: direction
|
|
7050
|
+
asChild: true,
|
|
7051
|
+
className: cn(classNames == null ? void 0 : classNames.trigger, triggerClassname),
|
|
7052
|
+
...triggerProps
|
|
7481
7053
|
},
|
|
7482
|
-
|
|
7483
|
-
|
|
7484
|
-
|
|
7485
|
-
|
|
7486
|
-
|
|
7487
|
-
|
|
7488
|
-
|
|
7489
|
-
|
|
7490
|
-
|
|
7491
|
-
|
|
7492
|
-
|
|
7493
|
-
|
|
7494
|
-
|
|
7495
|
-
|
|
7496
|
-
|
|
7497
|
-
|
|
7498
|
-
className: cn(
|
|
7499
|
-
className,
|
|
7500
|
-
classNames == null ? void 0 : classNames.content,
|
|
7501
|
-
widthStyles[width],
|
|
7502
|
-
"hawa-flex hawa-flex-col hawa-gap-1 hawa-overflow-y-auto"
|
|
7503
|
-
),
|
|
7504
|
-
style: {
|
|
7505
|
-
maxHeight: "var(--radix-dropdown-menu-content-available-height)"
|
|
7506
|
-
},
|
|
7507
|
-
...contentProps
|
|
7054
|
+
trigger
|
|
7055
|
+
), /* @__PURE__ */ React57.createElement(import_react61.Portal, null, /* @__PURE__ */ React57.createElement(
|
|
7056
|
+
DropdownMenuContent,
|
|
7057
|
+
{
|
|
7058
|
+
side,
|
|
7059
|
+
sideOffset,
|
|
7060
|
+
align,
|
|
7061
|
+
alignOffset,
|
|
7062
|
+
className: cn(
|
|
7063
|
+
className,
|
|
7064
|
+
classNames == null ? void 0 : classNames.content,
|
|
7065
|
+
widthStyles[width],
|
|
7066
|
+
"hawa-flex hawa-flex-col hawa-gap-1 hawa-overflow-y-auto"
|
|
7067
|
+
),
|
|
7068
|
+
style: {
|
|
7069
|
+
maxHeight: "var(--radix-dropdown-menu-content-available-height)"
|
|
7508
7070
|
},
|
|
7509
|
-
|
|
7510
|
-
|
|
7511
|
-
|
|
7512
|
-
|
|
7513
|
-
|
|
7514
|
-
|
|
7515
|
-
|
|
7516
|
-
|
|
7517
|
-
|
|
7518
|
-
|
|
7519
|
-
|
|
7520
|
-
|
|
7521
|
-
}
|
|
7522
|
-
|
|
7523
|
-
|
|
7524
|
-
|
|
7525
|
-
|
|
7526
|
-
|
|
7527
|
-
|
|
7528
|
-
|
|
7529
|
-
|
|
7530
|
-
|
|
7531
|
-
|
|
7532
|
-
item.label && item.label
|
|
7533
|
-
), /* @__PURE__ */ React57.createElement(DropdownMenuSubContent, null, /* @__PURE__ */ React57.createElement(
|
|
7534
|
-
DropdownMenuRadioGroup,
|
|
7535
|
-
{
|
|
7536
|
-
value: values[index],
|
|
7537
|
-
onValueChange: (e) => {
|
|
7538
|
-
let newValues = [...values];
|
|
7539
|
-
newValues[index] = e;
|
|
7540
|
-
setValues(newValues);
|
|
7541
|
-
console.log("changing to ", e);
|
|
7542
|
-
if (item.onOptionChange) {
|
|
7543
|
-
item.onOptionChange(e);
|
|
7544
|
-
}
|
|
7071
|
+
...contentProps
|
|
7072
|
+
},
|
|
7073
|
+
header && header,
|
|
7074
|
+
items && items.map((item, index) => {
|
|
7075
|
+
var _a;
|
|
7076
|
+
const ItemLinkComponent = item.slug ? LinkComponent : "a";
|
|
7077
|
+
if (item.itemType === "separator") {
|
|
7078
|
+
return /* @__PURE__ */ React57.createElement(DropdownMenuSeparator, { key: index, className: classNames == null ? void 0 : classNames.separator });
|
|
7079
|
+
} else if (item.itemType === "label") {
|
|
7080
|
+
return /* @__PURE__ */ React57.createElement(DropdownMenuLabel, { key: index }, item.label);
|
|
7081
|
+
} else if (item.itemType === "radio") {
|
|
7082
|
+
let dd = item.currentOption;
|
|
7083
|
+
return /* @__PURE__ */ React57.createElement(DropdownMenuSub, { key: index }, /* @__PURE__ */ React57.createElement(DropdownMenuSubTrigger, { dir: direction, className: cn(sizeStyles[size]) }, item.icon && item.icon, item.label && item.label), /* @__PURE__ */ React57.createElement(DropdownMenuSubContent, null, /* @__PURE__ */ React57.createElement(
|
|
7084
|
+
DropdownMenuRadioGroup,
|
|
7085
|
+
{
|
|
7086
|
+
value: values[index],
|
|
7087
|
+
onValueChange: (e) => {
|
|
7088
|
+
let newValues = [...values];
|
|
7089
|
+
newValues[index] = e;
|
|
7090
|
+
setValues(newValues);
|
|
7091
|
+
console.log("changing to ", e);
|
|
7092
|
+
if (item.onOptionChange) {
|
|
7093
|
+
item.onOptionChange(e);
|
|
7545
7094
|
}
|
|
7546
|
-
}
|
|
7547
|
-
|
|
7548
|
-
)))
|
|
7549
|
-
|
|
7550
|
-
|
|
7551
|
-
|
|
7552
|
-
|
|
7553
|
-
|
|
7554
|
-
|
|
7555
|
-
|
|
7556
|
-
className: cn(sizeStyles[size])
|
|
7557
|
-
},
|
|
7558
|
-
item.icon && item.icon,
|
|
7559
|
-
item.label && item.label
|
|
7560
|
-
), /* @__PURE__ */ React57.createElement(import_react61.Portal, null, /* @__PURE__ */ React57.createElement(DropdownMenuSubContent, null, item.subitems.map((subitem, subIndex) => {
|
|
7561
|
-
const SubitemLinkComponent = subitem.slug ? LinkComponent : "a";
|
|
7562
|
-
return /* @__PURE__ */ React57.createElement(
|
|
7563
|
-
DropdownMenuItem,
|
|
7564
|
-
{
|
|
7565
|
-
key: subIndex,
|
|
7566
|
-
LinkComponent: SubitemLinkComponent,
|
|
7567
|
-
slug: subitem.slug,
|
|
7568
|
-
disabled: subitem.disabled,
|
|
7569
|
-
className: cn(
|
|
7570
|
-
sizeStyles[size],
|
|
7571
|
-
!item.icon && !item.label ? "hawa-px-0 hawa-py-0 focus:hawa-bg-transparent" : "focus:hawa-bg-accent"
|
|
7572
|
-
),
|
|
7573
|
-
onMouseDown: (event) => {
|
|
7574
|
-
if (event.button === 1 || event.button === 0 && event.ctrlKey) {
|
|
7575
|
-
event.preventDefault();
|
|
7576
|
-
if (subitem.onMiddleClick) {
|
|
7577
|
-
subitem.onMiddleClick(item.value);
|
|
7578
|
-
}
|
|
7579
|
-
}
|
|
7580
|
-
},
|
|
7581
|
-
onSelect: () => {
|
|
7582
|
-
subitem.action && subitem.action();
|
|
7583
|
-
if (onItemSelect) {
|
|
7584
|
-
onItemSelect(subitem.value);
|
|
7585
|
-
}
|
|
7586
|
-
}
|
|
7587
|
-
},
|
|
7588
|
-
subitem.icon && subitem.icon,
|
|
7589
|
-
subitem.label && subitem.label
|
|
7590
|
-
);
|
|
7591
|
-
})))) : /* @__PURE__ */ React57.createElement(
|
|
7095
|
+
}
|
|
7096
|
+
},
|
|
7097
|
+
(_a = item.options) == null ? void 0 : _a.map((opt, i) => /* @__PURE__ */ React57.createElement(DropdownMenuRadioItem, { key: i, value: opt.value }, opt.label))
|
|
7098
|
+
)));
|
|
7099
|
+
} else if (item.itemType === "custom") {
|
|
7100
|
+
return /* @__PURE__ */ React57.createElement("div", { key: index }, item.content);
|
|
7101
|
+
} else {
|
|
7102
|
+
return item.subitems ? /* @__PURE__ */ React57.createElement(DropdownMenuSub, { key: index }, /* @__PURE__ */ React57.createElement(DropdownMenuSubTrigger, { dir: direction, className: cn(sizeStyles[size]) }, item.icon && item.icon, item.label && item.label), /* @__PURE__ */ React57.createElement(import_react61.Portal, null, /* @__PURE__ */ React57.createElement(DropdownMenuSubContent, null, item.subitems.map((subitem, subIndex) => {
|
|
7103
|
+
const SubitemLinkComponent = subitem.slug ? LinkComponent : "a";
|
|
7104
|
+
return /* @__PURE__ */ React57.createElement(
|
|
7592
7105
|
DropdownMenuItem,
|
|
7593
7106
|
{
|
|
7594
|
-
|
|
7595
|
-
|
|
7596
|
-
|
|
7597
|
-
disabled:
|
|
7107
|
+
key: subIndex,
|
|
7108
|
+
LinkComponent: SubitemLinkComponent,
|
|
7109
|
+
slug: subitem.slug,
|
|
7110
|
+
disabled: subitem.disabled,
|
|
7111
|
+
className: cn(
|
|
7112
|
+
sizeStyles[size],
|
|
7113
|
+
!item.icon && !item.label ? "hawa-px-0 hawa-py-0 focus:hawa-bg-transparent" : "focus:hawa-bg-accent"
|
|
7114
|
+
),
|
|
7598
7115
|
onMouseDown: (event) => {
|
|
7599
7116
|
if (event.button === 1 || event.button === 0 && event.ctrlKey) {
|
|
7600
7117
|
event.preventDefault();
|
|
7601
|
-
if (
|
|
7602
|
-
|
|
7118
|
+
if (subitem.onMiddleClick) {
|
|
7119
|
+
subitem.onMiddleClick(item.value);
|
|
7603
7120
|
}
|
|
7604
7121
|
}
|
|
7605
7122
|
},
|
|
7606
|
-
|
|
7607
|
-
|
|
7608
|
-
|
|
7123
|
+
onSelect: () => {
|
|
7124
|
+
subitem.action && subitem.action();
|
|
7125
|
+
if (onItemSelect) {
|
|
7126
|
+
onItemSelect(subitem.value);
|
|
7609
7127
|
}
|
|
7610
|
-
}
|
|
7611
|
-
|
|
7612
|
-
|
|
7613
|
-
|
|
7128
|
+
}
|
|
7129
|
+
},
|
|
7130
|
+
subitem.icon && subitem.icon,
|
|
7131
|
+
subitem.label && subitem.label
|
|
7132
|
+
);
|
|
7133
|
+
})))) : /* @__PURE__ */ React57.createElement(
|
|
7134
|
+
DropdownMenuItem,
|
|
7135
|
+
{
|
|
7136
|
+
LinkComponent: ItemLinkComponent,
|
|
7137
|
+
slug: item.slug,
|
|
7138
|
+
key: index,
|
|
7139
|
+
disabled: item.disabled,
|
|
7140
|
+
onMouseDown: (event) => {
|
|
7141
|
+
if (event.button === 1 || event.button === 0 && event.ctrlKey) {
|
|
7142
|
+
event.preventDefault();
|
|
7143
|
+
if (item.onMiddleClick) {
|
|
7144
|
+
item.onMiddleClick(item.value);
|
|
7614
7145
|
}
|
|
7615
|
-
|
|
7616
|
-
|
|
7617
|
-
|
|
7618
|
-
|
|
7619
|
-
|
|
7620
|
-
|
|
7621
|
-
|
|
7622
|
-
|
|
7623
|
-
|
|
7146
|
+
}
|
|
7147
|
+
},
|
|
7148
|
+
onClick: (event) => {
|
|
7149
|
+
if (item.onClick) {
|
|
7150
|
+
item.onClick(item.value);
|
|
7151
|
+
}
|
|
7152
|
+
},
|
|
7153
|
+
onSelect: (e) => {
|
|
7154
|
+
if (item.presist) {
|
|
7155
|
+
e.preventDefault();
|
|
7156
|
+
}
|
|
7157
|
+
if (item.action) {
|
|
7158
|
+
item.action();
|
|
7159
|
+
if (onItemSelect) {
|
|
7160
|
+
onItemSelect(item.value);
|
|
7624
7161
|
}
|
|
7625
|
-
}
|
|
7626
|
-
|
|
7627
|
-
|
|
7628
|
-
|
|
7629
|
-
|
|
7630
|
-
sizeStyles[size],
|
|
7631
|
-
!item.icon && !item.label ? "hawa-px-0 hawa-py-0 focus:hawa-bg-transparent" : "focus:hawa-bg-accent",
|
|
7632
|
-
item.presist && "focus:hawa-bg-transparent",
|
|
7633
|
-
classNames == null ? void 0 : classNames.item
|
|
7634
|
-
)
|
|
7162
|
+
} else {
|
|
7163
|
+
if (onItemSelect) {
|
|
7164
|
+
onItemSelect(item.value);
|
|
7165
|
+
}
|
|
7166
|
+
}
|
|
7635
7167
|
},
|
|
7636
|
-
|
|
7637
|
-
|
|
7638
|
-
|
|
7639
|
-
|
|
7640
|
-
|
|
7641
|
-
|
|
7642
|
-
|
|
7168
|
+
end: item.end,
|
|
7169
|
+
shortcut: item.shortcut,
|
|
7170
|
+
badged: item.badged,
|
|
7171
|
+
className: cn(
|
|
7172
|
+
sizeStyles[size],
|
|
7173
|
+
!item.icon && !item.label ? "hawa-px-0 hawa-py-0 focus:hawa-bg-transparent" : "focus:hawa-bg-accent",
|
|
7174
|
+
item.presist && "focus:hawa-bg-transparent",
|
|
7175
|
+
classNames == null ? void 0 : classNames.item
|
|
7176
|
+
)
|
|
7177
|
+
},
|
|
7178
|
+
item.icon && item.icon,
|
|
7179
|
+
item.label && item.label
|
|
7180
|
+
);
|
|
7181
|
+
}
|
|
7182
|
+
})
|
|
7183
|
+
)));
|
|
7643
7184
|
};
|
|
7644
7185
|
|
|
7645
7186
|
// blocks/cards/ItemCard.tsx
|
|
@@ -7723,25 +7264,16 @@ var ItemCard = ({
|
|
|
7723
7264
|
DropdownMenu,
|
|
7724
7265
|
{
|
|
7725
7266
|
items: headerActions,
|
|
7726
|
-
trigger: /* @__PURE__ */ import_react62.default.createElement(
|
|
7727
|
-
|
|
7267
|
+
trigger: /* @__PURE__ */ import_react62.default.createElement(Button, { variant: "ghost", size: "smallIcon", onClick: handleOpenActionHeader }, /* @__PURE__ */ import_react62.default.createElement("span", { className: "hawa-sr-only" }, "Open dropdown"), /* @__PURE__ */ import_react62.default.createElement(
|
|
7268
|
+
"svg",
|
|
7728
7269
|
{
|
|
7729
|
-
|
|
7730
|
-
|
|
7731
|
-
|
|
7270
|
+
className: "hawa-h-5 hawa-w-5",
|
|
7271
|
+
"aria-hidden": "true",
|
|
7272
|
+
fill: "currentColor",
|
|
7273
|
+
viewBox: "0 0 20 20"
|
|
7732
7274
|
},
|
|
7733
|
-
/* @__PURE__ */ import_react62.default.createElement("
|
|
7734
|
-
|
|
7735
|
-
"svg",
|
|
7736
|
-
{
|
|
7737
|
-
className: "hawa-h-5 hawa-w-5",
|
|
7738
|
-
"aria-hidden": "true",
|
|
7739
|
-
fill: "currentColor",
|
|
7740
|
-
viewBox: "0 0 20 20"
|
|
7741
|
-
},
|
|
7742
|
-
/* @__PURE__ */ import_react62.default.createElement("path", { d: "M10 6a2 2 0 110-4 2 2 0 010 4zM10 12a2 2 0 110-4 2 2 0 010 4zM10 18a2 2 0 110-4 2 2 0 010 4z" })
|
|
7743
|
-
)
|
|
7744
|
-
)
|
|
7275
|
+
/* @__PURE__ */ import_react62.default.createElement("path", { d: "M10 6a2 2 0 110-4 2 2 0 010 4zM10 12a2 2 0 110-4 2 2 0 010 4zM10 18a2 2 0 110-4 2 2 0 010 4z" })
|
|
7276
|
+
))
|
|
7745
7277
|
}
|
|
7746
7278
|
))), /* @__PURE__ */ import_react62.default.createElement("div", { className: "hawa-mx-2" }, header && /* @__PURE__ */ import_react62.default.createElement("h5", { className: "hawa-mb-2 hawa-text-2xl hawa-font-bold hawa-tracking-tight" }, header), content && /* @__PURE__ */ import_react62.default.createElement("span", { className: "hawa-w-full hawa-font-normal" }, content)), actions || counts ? /* @__PURE__ */ import_react62.default.createElement(
|
|
7747
7279
|
"div",
|
|
@@ -7838,11 +7370,7 @@ var PricingPlans = ({
|
|
|
7838
7370
|
var import_react65 = __toESM(require("react"));
|
|
7839
7371
|
var ComparingPlans = (props) => {
|
|
7840
7372
|
const uniqueFeatures = Array.from(
|
|
7841
|
-
new Set(
|
|
7842
|
-
props.plans.flatMap(
|
|
7843
|
-
(plan) => plan.features.map((feature) => feature.text)
|
|
7844
|
-
)
|
|
7845
|
-
)
|
|
7373
|
+
new Set(props.plans.flatMap((plan) => plan.features.map((feature) => feature.text)))
|
|
7846
7374
|
);
|
|
7847
7375
|
return /* @__PURE__ */ import_react65.default.createElement("div", { id: "detailed-pricing", className: "hawa-w-full" }, /* @__PURE__ */ import_react65.default.createElement("div", { className: "hawa-mb-2 hawa-flex hawa-w-full hawa-flex-col hawa-justify-between hawa-gap-2 sm:hawa-flex-row" }, /* @__PURE__ */ import_react65.default.createElement(
|
|
7848
7376
|
Radio,
|
|
@@ -7912,9 +7440,7 @@ var ComparingPlans = (props) => {
|
|
|
7912
7440
|
)
|
|
7913
7441
|
},
|
|
7914
7442
|
/* @__PURE__ */ import_react65.default.createElement("div", { className: "hawa-flex hawa-flex-row hawa-items-center hawa-gap-2 hawa-text-foreground" }, featureText, props.plans.some(
|
|
7915
|
-
(plan) => plan.features.some(
|
|
7916
|
-
(feature) => feature.text === featureText && feature.hint
|
|
7917
|
-
)
|
|
7443
|
+
(plan) => plan.features.some((feature) => feature.text === featureText && feature.hint)
|
|
7918
7444
|
) && /* @__PURE__ */ import_react65.default.createElement(
|
|
7919
7445
|
Tooltip,
|
|
7920
7446
|
{
|
|
@@ -7922,13 +7448,9 @@ var ComparingPlans = (props) => {
|
|
|
7922
7448
|
content: (_b = (_a = props.plans.find(
|
|
7923
7449
|
(plan) => {
|
|
7924
7450
|
var _a2;
|
|
7925
|
-
return (_a2 = plan.features.find(
|
|
7926
|
-
(feature) => feature.text === featureText
|
|
7927
|
-
)) == null ? void 0 : _a2.hint;
|
|
7451
|
+
return (_a2 = plan.features.find((feature) => feature.text === featureText)) == null ? void 0 : _a2.hint;
|
|
7928
7452
|
}
|
|
7929
|
-
)) == null ? void 0 : _a.features.find(
|
|
7930
|
-
(feature) => feature.text === featureText
|
|
7931
|
-
)) == null ? void 0 : _b.hint
|
|
7453
|
+
)) == null ? void 0 : _a.features.find((feature) => feature.text === featureText)) == null ? void 0 : _b.hint
|
|
7932
7454
|
},
|
|
7933
7455
|
/* @__PURE__ */ import_react65.default.createElement(
|
|
7934
7456
|
"svg",
|
|
@@ -7943,9 +7465,7 @@ var ComparingPlans = (props) => {
|
|
|
7943
7465
|
/* @__PURE__ */ import_react65.default.createElement("path", { d: "M16 8A8 8 0 1 1 0 8a8 8 0 0 1 16 0zM8 4a.905.905 0 0 0-.9.995l.35 3.507a.552.552 0 0 0 1.1 0l.35-3.507A.905.905 0 0 0 8 4zm.002 6a1 1 0 1 0 0 2 1 1 0 0 0 0-2z" })
|
|
7944
7466
|
)
|
|
7945
7467
|
), props.plans.some(
|
|
7946
|
-
(plan) => plan.features.some(
|
|
7947
|
-
(feature) => feature.text === featureText && feature.soon
|
|
7948
|
-
)
|
|
7468
|
+
(plan) => plan.features.some((feature) => feature.text === featureText && feature.soon)
|
|
7949
7469
|
) && /* @__PURE__ */ import_react65.default.createElement(
|
|
7950
7470
|
Chip,
|
|
7951
7471
|
{
|
|
@@ -7957,9 +7477,7 @@ var ComparingPlans = (props) => {
|
|
|
7957
7477
|
}
|
|
7958
7478
|
)),
|
|
7959
7479
|
props.plans.map((plan, planIndex) => {
|
|
7960
|
-
const feature = plan.features.find(
|
|
7961
|
-
(f) => f.text === featureText
|
|
7962
|
-
);
|
|
7480
|
+
const feature = plan.features.find((f) => f.text === featureText);
|
|
7963
7481
|
return /* @__PURE__ */ import_react65.default.createElement(
|
|
7964
7482
|
"div",
|
|
7965
7483
|
{
|
|
@@ -7973,32 +7491,25 @@ var ComparingPlans = (props) => {
|
|
|
7973
7491
|
})
|
|
7974
7492
|
), props.showButtons && /* @__PURE__ */ import_react65.default.createElement("div", { className: "hawa-grid hawa-grid-cols-[1fr_repeat(3,_minmax(0,_1fr))] hawa-gap-x-16 hawa-px-4 hawa-py-5" }, /* @__PURE__ */ import_react65.default.createElement("div", { className: "hawa-flex hawa-items-center" }), props.plans.map((plan, i) => {
|
|
7975
7493
|
var _a;
|
|
7976
|
-
return /* @__PURE__ */ import_react65.default.createElement(
|
|
7977
|
-
|
|
7494
|
+
return /* @__PURE__ */ import_react65.default.createElement("div", { key: i, className: "hawa-flex hawa-items-center hawa-justify-center" }, /* @__PURE__ */ import_react65.default.createElement(
|
|
7495
|
+
Button,
|
|
7978
7496
|
{
|
|
7979
|
-
|
|
7980
|
-
|
|
7981
|
-
|
|
7982
|
-
|
|
7983
|
-
|
|
7984
|
-
|
|
7985
|
-
|
|
7986
|
-
|
|
7987
|
-
|
|
7988
|
-
|
|
7989
|
-
|
|
7990
|
-
// plan: plan.id,
|
|
7991
|
-
currency: (_a2 = props.currentCurrency) == null ? void 0 : _a2.value,
|
|
7992
|
-
cycle: (_b = props.currentCycle) == null ? void 0 : _b.value,
|
|
7993
|
-
...plan
|
|
7994
|
-
};
|
|
7995
|
-
props.onPlanClicked(clickedData);
|
|
7996
|
-
}
|
|
7497
|
+
className: "hawa-w-full hawa-max-w-xs",
|
|
7498
|
+
onClick: () => {
|
|
7499
|
+
var _a2, _b;
|
|
7500
|
+
if (props.onPlanClicked) {
|
|
7501
|
+
let clickedData = {
|
|
7502
|
+
// plan: plan.id,
|
|
7503
|
+
currency: (_a2 = props.currentCurrency) == null ? void 0 : _a2.value,
|
|
7504
|
+
cycle: (_b = props.currentCycle) == null ? void 0 : _b.value,
|
|
7505
|
+
...plan
|
|
7506
|
+
};
|
|
7507
|
+
props.onPlanClicked(clickedData);
|
|
7997
7508
|
}
|
|
7998
|
-
}
|
|
7999
|
-
|
|
8000
|
-
)
|
|
8001
|
-
);
|
|
7509
|
+
}
|
|
7510
|
+
},
|
|
7511
|
+
((_a = plan.texts) == null ? void 0 : _a.buttonText) || "Get Started"
|
|
7512
|
+
));
|
|
8002
7513
|
})));
|
|
8003
7514
|
};
|
|
8004
7515
|
|
|
@@ -8027,41 +7538,25 @@ var HorizontalPricing = (props) => {
|
|
|
8027
7538
|
options: props.billingCycles,
|
|
8028
7539
|
defaultValue: props.currentCycle
|
|
8029
7540
|
}
|
|
8030
|
-
)), data.map((d, i) => /* @__PURE__ */ import_react66.default.createElement(
|
|
8031
|
-
"
|
|
7541
|
+
)), data.map((d, i) => /* @__PURE__ */ import_react66.default.createElement("label", { key: i, htmlFor: d.title, className: "", onClick: () => setSelectedCard(d.title) }, /* @__PURE__ */ import_react66.default.createElement(
|
|
7542
|
+
"input",
|
|
7543
|
+
{
|
|
7544
|
+
type: "radio",
|
|
7545
|
+
name: "radio",
|
|
7546
|
+
id: d.title,
|
|
7547
|
+
className: "hawa-peer hawa-appearance-none"
|
|
7548
|
+
}
|
|
7549
|
+
), /* @__PURE__ */ import_react66.default.createElement(
|
|
7550
|
+
"div",
|
|
8032
7551
|
{
|
|
8033
|
-
|
|
8034
|
-
|
|
8035
|
-
|
|
8036
|
-
|
|
7552
|
+
className: cn(
|
|
7553
|
+
selectedCard === d.title ? "peer-checked:hawa-border-primary peer-checked:hawa-ring-4 peer-checked:hawa-ring-primary/20" : "",
|
|
7554
|
+
"hawa-peer hawa-flex hawa-cursor-pointer hawa-items-center hawa-justify-between hawa-rounded-xl hawa-border hawa-bg-background hawa-px-5 hawa-py-4 hawa-shadow dark:hawa-text-white peer-checked:[&_.active]:hawa-block peer-checked:[&_.default]:hawa-hidden"
|
|
7555
|
+
)
|
|
8037
7556
|
},
|
|
8038
|
-
/* @__PURE__ */ import_react66.default.createElement(
|
|
8039
|
-
|
|
8040
|
-
|
|
8041
|
-
type: "radio",
|
|
8042
|
-
name: "radio",
|
|
8043
|
-
id: d.title,
|
|
8044
|
-
className: "hawa-peer hawa-appearance-none"
|
|
8045
|
-
}
|
|
8046
|
-
),
|
|
8047
|
-
/* @__PURE__ */ import_react66.default.createElement(
|
|
8048
|
-
"div",
|
|
8049
|
-
{
|
|
8050
|
-
className: cn(
|
|
8051
|
-
selectedCard === d.title ? "peer-checked:hawa-border-primary peer-checked:hawa-ring-4 peer-checked:hawa-ring-primary/20" : "",
|
|
8052
|
-
"hawa-peer hawa-flex hawa-cursor-pointer hawa-items-center hawa-justify-between hawa-rounded-xl hawa-border hawa-bg-background hawa-px-5 hawa-py-4 hawa-shadow dark:hawa-text-white peer-checked:[&_.active]:hawa-block peer-checked:[&_.default]:hawa-hidden"
|
|
8053
|
-
)
|
|
8054
|
-
},
|
|
8055
|
-
/* @__PURE__ */ import_react66.default.createElement("div", { className: "hawa-peer hawa-flex hawa-items-center hawa-gap-4" }, /* @__PURE__ */ import_react66.default.createElement(CheckIcons, null), /* @__PURE__ */ import_react66.default.createElement(
|
|
8056
|
-
CardText,
|
|
8057
|
-
{
|
|
8058
|
-
title: "Enterprise",
|
|
8059
|
-
subtitle: "For startups and new businesses"
|
|
8060
|
-
}
|
|
8061
|
-
)),
|
|
8062
|
-
/* @__PURE__ */ import_react66.default.createElement(CardPrice, { amount: d.price, cycle: d.cycle })
|
|
8063
|
-
)
|
|
8064
|
-
))));
|
|
7557
|
+
/* @__PURE__ */ import_react66.default.createElement("div", { className: "hawa-peer hawa-flex hawa-items-center hawa-gap-4" }, /* @__PURE__ */ import_react66.default.createElement(CheckIcons, null), /* @__PURE__ */ import_react66.default.createElement(CardText, { title: "Enterprise", subtitle: "For startups and new businesses" })),
|
|
7558
|
+
/* @__PURE__ */ import_react66.default.createElement(CardPrice, { amount: d.price, cycle: d.cycle })
|
|
7559
|
+
)))));
|
|
8065
7560
|
};
|
|
8066
7561
|
var CheckIcons = () => /* @__PURE__ */ import_react66.default.createElement(import_react66.default.Fragment, null, /* @__PURE__ */ import_react66.default.createElement(
|
|
8067
7562
|
"svg",
|
|
@@ -8178,7 +7673,7 @@ var Usage = (props) => {
|
|
|
8178
7673
|
|
|
8179
7674
|
lucide-react/dist/esm/shared/src/utils.js:
|
|
8180
7675
|
(**
|
|
8181
|
-
* @license lucide-react v0.
|
|
7676
|
+
* @license lucide-react v0.435.0 - ISC
|
|
8182
7677
|
*
|
|
8183
7678
|
* This source code is licensed under the ISC license.
|
|
8184
7679
|
* See the LICENSE file in the root directory of this source tree.
|
|
@@ -8186,7 +7681,7 @@ lucide-react/dist/esm/shared/src/utils.js:
|
|
|
8186
7681
|
|
|
8187
7682
|
lucide-react/dist/esm/defaultAttributes.js:
|
|
8188
7683
|
(**
|
|
8189
|
-
* @license lucide-react v0.
|
|
7684
|
+
* @license lucide-react v0.435.0 - ISC
|
|
8190
7685
|
*
|
|
8191
7686
|
* This source code is licensed under the ISC license.
|
|
8192
7687
|
* See the LICENSE file in the root directory of this source tree.
|
|
@@ -8194,7 +7689,7 @@ lucide-react/dist/esm/defaultAttributes.js:
|
|
|
8194
7689
|
|
|
8195
7690
|
lucide-react/dist/esm/Icon.js:
|
|
8196
7691
|
(**
|
|
8197
|
-
* @license lucide-react v0.
|
|
7692
|
+
* @license lucide-react v0.435.0 - ISC
|
|
8198
7693
|
*
|
|
8199
7694
|
* This source code is licensed under the ISC license.
|
|
8200
7695
|
* See the LICENSE file in the root directory of this source tree.
|
|
@@ -8202,7 +7697,7 @@ lucide-react/dist/esm/Icon.js:
|
|
|
8202
7697
|
|
|
8203
7698
|
lucide-react/dist/esm/createLucideIcon.js:
|
|
8204
7699
|
(**
|
|
8205
|
-
* @license lucide-react v0.
|
|
7700
|
+
* @license lucide-react v0.435.0 - ISC
|
|
8206
7701
|
*
|
|
8207
7702
|
* This source code is licensed under the ISC license.
|
|
8208
7703
|
* See the LICENSE file in the root directory of this source tree.
|
|
@@ -8210,7 +7705,7 @@ lucide-react/dist/esm/createLucideIcon.js:
|
|
|
8210
7705
|
|
|
8211
7706
|
lucide-react/dist/esm/icons/dot.js:
|
|
8212
7707
|
(**
|
|
8213
|
-
* @license lucide-react v0.
|
|
7708
|
+
* @license lucide-react v0.435.0 - ISC
|
|
8214
7709
|
*
|
|
8215
7710
|
* This source code is licensed under the ISC license.
|
|
8216
7711
|
* See the LICENSE file in the root directory of this source tree.
|
|
@@ -8218,7 +7713,7 @@ lucide-react/dist/esm/icons/dot.js:
|
|
|
8218
7713
|
|
|
8219
7714
|
lucide-react/dist/esm/lucide-react.js:
|
|
8220
7715
|
(**
|
|
8221
|
-
* @license lucide-react v0.
|
|
7716
|
+
* @license lucide-react v0.435.0 - ISC
|
|
8222
7717
|
*
|
|
8223
7718
|
* This source code is licensed under the ISC license.
|
|
8224
7719
|
* See the LICENSE file in the root directory of this source tree.
|