fermmap-shared 0.9.0 → 0.9.2
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/main.cjs +392 -196
- package/dist/main.cjs.map +1 -1
- package/dist/main.css +197 -133
- package/dist/main.css.map +1 -1
- package/dist/module.css +197 -133
- package/dist/module.css.map +1 -1
- package/dist/module.mjs +395 -199
- package/dist/module.mjs.map +1 -1
- package/package.json +2 -3
package/dist/module.mjs
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import "./module.css";
|
|
2
2
|
import {jsx as $3A86U$jsx, jsxs as $3A86U$jsxs, Fragment as $3A86U$Fragment} from "react/jsx-runtime";
|
|
3
|
-
import {ModalOverlay as $3A86U$ModalOverlay, Modal as $3A86U$Modal, Dialog as $3A86U$Dialog, Heading as $3A86U$Heading, Button as $3A86U$Button, TextField as $3A86U$TextField, Label as $3A86U$Label, Input as $3A86U$Input, Text as $3A86U$Text, useFilter as $3A86U$useFilter, Autocomplete as $3A86U$Autocomplete, SearchField as $3A86U$SearchField, ListBox as $3A86U$ListBox, ListBoxItem as $3A86U$ListBoxItem, Table as $3A86U$Table, TableHeader as $3A86U$TableHeader, Column as $3A86U$Column, TableBody as $3A86U$TableBody, Row as $3A86U$Row, Cell as $3A86U$Cell, Checkbox as $3A86U$Checkbox, ProgressBar as $3A86U$ProgressBar, ComboBox as $3A86U$ComboBox,
|
|
4
|
-
import {useState as $3A86U$useState, createContext as $3A86U$createContext, useContext as $3A86U$useContext, useMemo as $3A86U$useMemo,
|
|
3
|
+
import {ModalOverlay as $3A86U$ModalOverlay, Modal as $3A86U$Modal, Dialog as $3A86U$Dialog, Heading as $3A86U$Heading, Button as $3A86U$Button, TextField as $3A86U$TextField, Label as $3A86U$Label, Input as $3A86U$Input, Text as $3A86U$Text, FieldError as $3A86U$FieldError, useFilter as $3A86U$useFilter, Autocomplete as $3A86U$Autocomplete, SearchField as $3A86U$SearchField, ListBox as $3A86U$ListBox, ListBoxItem as $3A86U$ListBoxItem, Table as $3A86U$Table, TableHeader as $3A86U$TableHeader, Column as $3A86U$Column, TableBody as $3A86U$TableBody, Collection as $3A86U$Collection, Row as $3A86U$Row, Cell as $3A86U$Cell, TableLoadMoreItem as $3A86U$TableLoadMoreItem, Checkbox as $3A86U$Checkbox, ProgressBar as $3A86U$ProgressBar, ComboBox as $3A86U$ComboBox, Popover as $3A86U$Popover, Link as $3A86U$Link, DisclosureGroup as $3A86U$DisclosureGroup, Disclosure as $3A86U$Disclosure, DisclosureStateContext as $3A86U$DisclosureStateContext, DisclosurePanel as $3A86U$DisclosurePanel, ToggleButtonGroup as $3A86U$ToggleButtonGroup, ToggleButton as $3A86U$ToggleButton, SelectionIndicator as $3A86U$SelectionIndicator, MenuTrigger as $3A86U$MenuTrigger, Menu as $3A86U$Menu, Separator as $3A86U$Separator, MenuItem as $3A86U$MenuItem, Radio as $3A86U$Radio, RadioGroup as $3A86U$RadioGroup, Tabs as $3A86U$Tabs, TabList as $3A86U$TabList, Tab as $3A86U$Tab, Select as $3A86U$Select, SelectValue as $3A86U$SelectValue, DialogTrigger as $3A86U$DialogTrigger, Switch as $3A86U$Switch, TabPanel as $3A86U$TabPanel, TextArea as $3A86U$TextArea} from "react-aria-components";
|
|
4
|
+
import {useState as $3A86U$useState, createContext as $3A86U$createContext, useContext as $3A86U$useContext, useMemo as $3A86U$useMemo, useEffect as $3A86U$useEffect, useId as $3A86U$useId, useRef as $3A86U$useRef} from "react";
|
|
5
5
|
import {IntlProvider as $3A86U$IntlProvider, useIntl as $3A86U$useIntl} from "react-intl";
|
|
6
6
|
import $3A86U$reactspectrums2iconsSearch from "@react-spectrum/s2/icons/Search";
|
|
7
7
|
import $3A86U$reactspectrums2iconsCheckmarkCircle from "@react-spectrum/s2/icons/CheckmarkCircle";
|
|
@@ -12,6 +12,7 @@ import $3A86U$reactspectrums2iconsClose from "@react-spectrum/s2/icons/Close";
|
|
|
12
12
|
import {useRouter as $3A86U$useRouter} from "next/navigation";
|
|
13
13
|
import $3A86U$reactspectrums2iconsGlobeGrid from "@react-spectrum/s2/icons/GlobeGrid";
|
|
14
14
|
import $3A86U$reactspectrums2iconsViewList from "@react-spectrum/s2/icons/ViewList";
|
|
15
|
+
import {useMediaQuery as $3A86U$useMediaQuery} from "@react-spectrum/utils";
|
|
15
16
|
|
|
16
17
|
|
|
17
18
|
function $parcel$export(e, n, v, s) {
|
|
@@ -51,6 +52,11 @@ $parcel$export($8a93cc78f6eaa206$exports, "Button", () => $4aac1ae7c2a46df4$expo
|
|
|
51
52
|
$parcel$export($8a93cc78f6eaa206$exports, "Checkbox", () => $35fcc32020885daa$export$48513f6b9f8ce62d);
|
|
52
53
|
$parcel$export($8a93cc78f6eaa206$exports, "CloseButton", () => $07aaa6869c77f679$export$de65de8213222d10);
|
|
53
54
|
$parcel$export($8a93cc78f6eaa206$exports, "ComboBox", () => $d6f6f2bb59cbf8cf$export$72b9695b8216309a);
|
|
55
|
+
$parcel$export($8a93cc78f6eaa206$exports, "CookieConsent", () => $60effdf45f810c51$export$e06767a507a85916);
|
|
56
|
+
$parcel$export($8a93cc78f6eaa206$exports, "getConsentLevel", () => $60effdf45f810c51$export$d9c3278f7514faac);
|
|
57
|
+
$parcel$export($8a93cc78f6eaa206$exports, "canUseAnalytics", () => $60effdf45f810c51$export$789e7db30a32746e);
|
|
58
|
+
$parcel$export($8a93cc78f6eaa206$exports, "canUseEssentials", () => $60effdf45f810c51$export$2024021dc39f38be);
|
|
59
|
+
$parcel$export($8a93cc78f6eaa206$exports, "hasConsented", () => $60effdf45f810c51$export$2f5968b662bd1947);
|
|
54
60
|
$parcel$export($8a93cc78f6eaa206$exports, "DisclosureGroup", () => $5ddfe94eba6154eb$export$944aceb4f8c89f10);
|
|
55
61
|
$parcel$export($8a93cc78f6eaa206$exports, "FermentTypeBadge", () => $e33d8e4603185098$export$3dd2bd9a4b724d5b);
|
|
56
62
|
$parcel$export($8a93cc78f6eaa206$exports, "FilterTabs", () => $a7c96df248e47957$export$221f31a87e5a826c);
|
|
@@ -159,8 +165,9 @@ const $4aac1ae7c2a46df4$var$buttonStyles = function anonymous(props) {
|
|
|
159
165
|
rules += ' plc12';
|
|
160
166
|
} else {
|
|
161
167
|
if (props.variant === "navigation") rules += ' pMbOPsb12';
|
|
162
|
-
else if (props.variant === "danger") rules += '
|
|
168
|
+
else if (props.variant === "danger") rules += ' pmM8ah12';
|
|
163
169
|
else if (props.variant === "secondary") rules += ' pMbOPsb12';
|
|
170
|
+
else if (props.variant === "primary") rules += ' ppxXPsb12';
|
|
164
171
|
rules += ' plb12';
|
|
165
172
|
}
|
|
166
173
|
rules += ' sd12';
|
|
@@ -187,28 +194,29 @@ const $4aac1ae7c2a46df4$var$buttonStyles = function anonymous(props) {
|
|
|
187
194
|
else if (props.size === "S") rules += ' Re12';
|
|
188
195
|
else rules += ' Rf12';
|
|
189
196
|
if (props.variant === "navigation") rules += ' ZJ12';
|
|
197
|
+
rules += ' -_8sjo0b-t5ZbAob12';
|
|
190
198
|
if (props.isDisabled) {
|
|
191
|
-
|
|
192
|
-
|
|
199
|
+
rules += ' gH12';
|
|
200
|
+
rules += ' gld12';
|
|
193
201
|
} else {
|
|
194
202
|
if (props.variant === "danger") {
|
|
195
|
-
if (props.isPressed) rules += '
|
|
196
|
-
else if (props.
|
|
197
|
-
else if (props.isHovered) rules += '
|
|
198
|
-
else rules += '
|
|
203
|
+
if (props.isPressed) rules += ' gD1cDZ12';
|
|
204
|
+
else if (props.isFocusVisible) rules += ' g0F3CZ12';
|
|
205
|
+
else if (props.isHovered) rules += ' g0F3CZ12';
|
|
206
|
+
else rules += ' gnkUCZ12';
|
|
199
207
|
} else if (props.variant === "navigation") {
|
|
200
208
|
if (props.isPressed) rules += ' gjpY2ub12';
|
|
201
|
-
else if (props.
|
|
209
|
+
else if (props.isFocusVisible) rules += ' gG3O2ub12';
|
|
202
210
|
else if (props.isHovered) rules += ' gG3O2ub12';
|
|
203
211
|
else rules += ' g912';
|
|
204
212
|
} else if (props.variant === "secondary") {
|
|
205
213
|
if (props.isPressed) rules += ' gWK72ub12';
|
|
206
|
-
else if (props.
|
|
214
|
+
else if (props.isFocusVisible) rules += ' gjpY2ub12';
|
|
207
215
|
else if (props.isHovered) rules += ' gjpY2ub12';
|
|
208
216
|
else rules += ' gG3O2ub12';
|
|
209
217
|
} else if (props.variant === "primary") {
|
|
210
218
|
if (props.isPressed) rules += ' ggNcPsb12';
|
|
211
|
-
else if (props.
|
|
219
|
+
else if (props.isFocusVisible) rules += ' ggNcPsb12';
|
|
212
220
|
else if (props.isHovered) rules += ' ggNcPsb12';
|
|
213
221
|
else rules += ' gDr3Osb12';
|
|
214
222
|
} else rules += ' gDr3Osb12';
|
|
@@ -292,11 +300,12 @@ const $f62becf1f473d668$var$inputStyles = function anonymous(props) {
|
|
|
292
300
|
rules += ' gqlRAZb12';
|
|
293
301
|
return rules;
|
|
294
302
|
};
|
|
295
|
-
const $f62becf1f473d668$export$923a9dafaeef3fba = " uk12 uch12 udi12 uea12 ugb12 uhd12 uje12 u2NhKxcl12 uic12 -_6BNtrc-c12 vx12 wb12 xb12 _xa12 _Fb12 _FnuYUwec12 pKYKCZ12
|
|
296
|
-
const $f62becf1f473d668$export$bf233b285dc0c047 = " uk12 uch12 udi12 uea12 ugb12 uhd12 uje12 u2NhKxcl12 uic12 -_6BNtrc-c12 vx12 wb12 xb12 _xa12 _Fb12 _FnuYUwec12 pMbOPsb12
|
|
303
|
+
const $f62becf1f473d668$export$923a9dafaeef3fba = " uk12 uch12 udi12 uea12 ugb12 uhd12 uje12 u2NhKxcl12 uic12 -_6BNtrc-c12 vx12 wb12 xb12 _xa12 _Fb12 _FnuYUwec12 pKYKCZ12";
|
|
304
|
+
const $f62becf1f473d668$export$bf233b285dc0c047 = " uk12 uch12 udi12 uea12 ugb12 uhd12 uje12 u2NhKxcl12 uic12 -_6BNtrc-c12 vx12 wb12 xb12 _xa12 _Fb12 _FnuYUwec12 pMbOPsb12";
|
|
297
305
|
function $f62becf1f473d668$export$2c73285ae9390cec({ label: label, type: type = 'text', error: error, description: description, placeholder: placeholder, ...props }) {
|
|
298
306
|
return (0, $3A86U$jsxs)((0, $3A86U$TextField), {
|
|
299
307
|
className: $f62becf1f473d668$export$298b9ad7287f04ba,
|
|
308
|
+
isInvalid: !!error,
|
|
300
309
|
...props,
|
|
301
310
|
children: [
|
|
302
311
|
(0, $3A86U$jsx)((0, $3A86U$Label), {
|
|
@@ -313,8 +322,7 @@ function $f62becf1f473d668$export$2c73285ae9390cec({ label: label, type: type =
|
|
|
313
322
|
className: $f62becf1f473d668$export$bf233b285dc0c047,
|
|
314
323
|
children: description
|
|
315
324
|
}),
|
|
316
|
-
|
|
317
|
-
slot: "errorMessage",
|
|
325
|
+
(0, $3A86U$jsx)((0, $3A86U$FieldError), {
|
|
318
326
|
className: $f62becf1f473d668$export$923a9dafaeef3fba,
|
|
319
327
|
children: error
|
|
320
328
|
})
|
|
@@ -718,6 +726,7 @@ function $f156c2ac5fd12c51$export$2f2b9559550c7bbc({ items: items, selectedKeys:
|
|
|
718
726
|
className: $f156c2ac5fd12c51$var$searchFieldStyles,
|
|
719
727
|
"aria-label": ariaLabel || label,
|
|
720
728
|
isDisabled: isDisabled,
|
|
729
|
+
isInvalid: !!error,
|
|
721
730
|
children: [
|
|
722
731
|
(0, $3A86U$jsx)((0, $3A86U$Label), {
|
|
723
732
|
className: $f156c2ac5fd12c51$var$labelStyles,
|
|
@@ -769,7 +778,7 @@ function $f156c2ac5fd12c51$export$2f2b9559550c7bbc({ items: items, selectedKeys:
|
|
|
769
778
|
}, item.id);
|
|
770
779
|
}
|
|
771
780
|
}),
|
|
772
|
-
|
|
781
|
+
(0, $3A86U$jsx)((0, $3A86U$FieldError), {
|
|
773
782
|
className: $f156c2ac5fd12c51$var$errorStyles,
|
|
774
783
|
children: error
|
|
775
784
|
})
|
|
@@ -942,9 +951,9 @@ function $61479464bb5fd0ad$export$c17561cb55d4db30({ label: label, value: value
|
|
|
942
951
|
|
|
943
952
|
|
|
944
953
|
|
|
945
|
-
const $8fd64f6a3d6adad1$var$tableContainerStyles = " gqlRAZb12 oe12 ne12 ke12 je12 _kb12 hb12 mb12 lb12 _jf12 i05TOsb12 _Na12 Pa12";
|
|
954
|
+
const $8fd64f6a3d6adad1$var$tableContainerStyles = " gqlRAZb12 oe12 ne12 ke12 je12 _kb12 hb12 mb12 lb12 _jf12 i05TOsb12 _Na12 Pa12 K3qtvrc12";
|
|
946
955
|
const $8fd64f6a3d6adad1$var$tableStyles = " Za12 __na12";
|
|
947
|
-
const $8fd64f6a3d6adad1$var$tableHeaderStyles = " gG3O2ub12 hb12";
|
|
956
|
+
const $8fd64f6a3d6adad1$var$tableHeaderStyles = " gG3O2ub12 hb12 _Pe12 Wr12 _9c12";
|
|
948
957
|
const $8fd64f6a3d6adad1$var$columnHeaderStyles = function anonymous(props) {
|
|
949
958
|
let rules = " ";
|
|
950
959
|
rules += ' Tf12';
|
|
@@ -1033,69 +1042,59 @@ const $8fd64f6a3d6adad1$var$cellStyles = function anonymous(props) {
|
|
|
1033
1042
|
};
|
|
1034
1043
|
const $8fd64f6a3d6adad1$var$checkboxCellStyles = " Tf12 Qf12 Sf12 Rf12 ZF12 hb12";
|
|
1035
1044
|
const $8fd64f6a3d6adad1$var$emptyStateStyles = " To12 Qo12 So12 Ro12 _Wa12 uk12 uch12 udi12 uea12 ugb12 uhd12 uje12 u2NhKxcl12 uic12 -_6BNtrc-d12 vx12 wb12 xb12 _xa12 _Fb12 _FnuYUwec12 pMbOPsb12";
|
|
1036
|
-
|
|
1037
|
-
const
|
|
1038
|
-
|
|
1039
|
-
|
|
1040
|
-
|
|
1041
|
-
|
|
1042
|
-
|
|
1043
|
-
|
|
1044
|
-
|
|
1045
|
-
|
|
1046
|
-
|
|
1047
|
-
|
|
1048
|
-
|
|
1049
|
-
|
|
1050
|
-
|
|
1051
|
-
|
|
1052
|
-
onLoadMore,
|
|
1053
|
-
isLoadingMore
|
|
1054
|
-
]);
|
|
1055
|
-
return (0, $3A86U$jsxs)((0, $3A86U$Fragment), {
|
|
1056
|
-
children: [
|
|
1057
|
-
(0, $3A86U$jsx)("div", {
|
|
1058
|
-
className: $8fd64f6a3d6adad1$var$tableContainerStyles,
|
|
1059
|
-
children: (0, $3A86U$jsxs)((0, $3A86U$Table), {
|
|
1060
|
-
"aria-label": ariaLabel,
|
|
1061
|
-
selectionMode: selectionMode,
|
|
1062
|
-
selectedKeys: selectedKeys,
|
|
1063
|
-
onSelectionChange: onSelectionChange,
|
|
1064
|
-
onRowAction: onRowAction,
|
|
1065
|
-
sortDescriptor: sortDescriptor,
|
|
1066
|
-
onSortChange: onSortChange,
|
|
1067
|
-
className: $8fd64f6a3d6adad1$var$tableStyles,
|
|
1045
|
+
function $8fd64f6a3d6adad1$export$54ec01a60f47d33d({ data: data, columns: columns, onRowAction: onRowAction, ariaLabel: ariaLabel, sortDescriptor: sortDescriptor, onSortChange: onSortChange, selectionMode: selectionMode = 'none', selectedKeys: selectedKeys, onSelectionChange: onSelectionChange, onLoadMore: onLoadMore, isLoading: isLoading = false, emptyMessage: emptyMessage }) {
|
|
1046
|
+
const intl = (0, $e4a23425e1acf543$export$5aebe9a147f4d146)();
|
|
1047
|
+
return (0, $3A86U$jsx)("div", {
|
|
1048
|
+
className: $8fd64f6a3d6adad1$var$tableContainerStyles,
|
|
1049
|
+
children: (0, $3A86U$jsxs)((0, $3A86U$Table), {
|
|
1050
|
+
"aria-label": ariaLabel,
|
|
1051
|
+
selectionMode: selectionMode,
|
|
1052
|
+
selectedKeys: selectedKeys,
|
|
1053
|
+
onSelectionChange: onSelectionChange,
|
|
1054
|
+
onRowAction: onRowAction,
|
|
1055
|
+
sortDescriptor: sortDescriptor,
|
|
1056
|
+
onSortChange: onSortChange,
|
|
1057
|
+
className: $8fd64f6a3d6adad1$var$tableStyles,
|
|
1058
|
+
children: [
|
|
1059
|
+
(0, $3A86U$jsxs)((0, $3A86U$TableHeader), {
|
|
1060
|
+
className: $8fd64f6a3d6adad1$var$tableHeaderStyles,
|
|
1068
1061
|
children: [
|
|
1069
|
-
(0, $3A86U$
|
|
1070
|
-
className: $8fd64f6a3d6adad1$var$
|
|
1071
|
-
|
|
1072
|
-
|
|
1073
|
-
|
|
1074
|
-
|
|
1075
|
-
|
|
1076
|
-
|
|
1077
|
-
|
|
1078
|
-
|
|
1079
|
-
|
|
1080
|
-
|
|
1062
|
+
selectionMode === 'multiple' && (0, $3A86U$jsx)((0, $3A86U$Column), {
|
|
1063
|
+
className: $8fd64f6a3d6adad1$var$columnHeaderStyles({
|
|
1064
|
+
align: 'center',
|
|
1065
|
+
alignItems: 'center'
|
|
1066
|
+
}),
|
|
1067
|
+
children: (0, $3A86U$jsx)((0, $35fcc32020885daa$export$48513f6b9f8ce62d), {
|
|
1068
|
+
slot: "selection",
|
|
1069
|
+
size: "S"
|
|
1070
|
+
})
|
|
1071
|
+
}),
|
|
1072
|
+
columns.map((column)=>(0, $3A86U$jsx)((0, $3A86U$Column), {
|
|
1073
|
+
id: column.key,
|
|
1074
|
+
isRowHeader: column.isRowHeader,
|
|
1075
|
+
allowsSorting: !!onSortChange,
|
|
1076
|
+
className: $8fd64f6a3d6adad1$var$columnHeaderStyles({
|
|
1077
|
+
align: column.align
|
|
1081
1078
|
}),
|
|
1082
|
-
|
|
1083
|
-
|
|
1084
|
-
|
|
1085
|
-
|
|
1086
|
-
|
|
1087
|
-
|
|
1088
|
-
|
|
1089
|
-
|
|
1090
|
-
|
|
1091
|
-
|
|
1079
|
+
children: column.label
|
|
1080
|
+
}, column.key))
|
|
1081
|
+
]
|
|
1082
|
+
}),
|
|
1083
|
+
(0, $3A86U$jsxs)((0, $3A86U$TableBody), {
|
|
1084
|
+
renderEmptyState: ()=>(0, $3A86U$jsx)("div", {
|
|
1085
|
+
className: $8fd64f6a3d6adad1$var$emptyStateStyles,
|
|
1086
|
+
children: isLoading ? (0, $3A86U$jsx)((0, $61479464bb5fd0ad$export$c17561cb55d4db30), {
|
|
1087
|
+
isIndeterminate: true,
|
|
1088
|
+
label: intl.formatMessage({
|
|
1089
|
+
id: 'table.common.loading'
|
|
1090
|
+
})
|
|
1091
|
+
}) : emptyMessage || intl.formatMessage({
|
|
1092
|
+
id: 'common.noData'
|
|
1093
|
+
})
|
|
1092
1094
|
}),
|
|
1093
|
-
|
|
1095
|
+
children: [
|
|
1096
|
+
(0, $3A86U$jsx)((0, $3A86U$Collection), {
|
|
1094
1097
|
items: data,
|
|
1095
|
-
renderEmptyState: ()=>(0, $3A86U$jsx)("div", {
|
|
1096
|
-
className: $8fd64f6a3d6adad1$var$emptyStateStyles,
|
|
1097
|
-
children: "No data available"
|
|
1098
|
-
}),
|
|
1099
1098
|
children: (item)=>(0, $3A86U$jsxs)((0, $3A86U$Row), {
|
|
1100
1099
|
id: item.id,
|
|
1101
1100
|
className: (renderProps)=>$8fd64f6a3d6adad1$var$rowStyles({
|
|
@@ -1119,22 +1118,20 @@ function $8fd64f6a3d6adad1$export$54ec01a60f47d33d({ data: data, columns: column
|
|
|
1119
1118
|
}, column.key))
|
|
1120
1119
|
]
|
|
1121
1120
|
}, item.id)
|
|
1121
|
+
}),
|
|
1122
|
+
(0, $3A86U$jsx)((0, $3A86U$TableLoadMoreItem), {
|
|
1123
|
+
onLoadMore: onLoadMore,
|
|
1124
|
+
children: (0, $3A86U$jsx)((0, $61479464bb5fd0ad$export$c17561cb55d4db30), {
|
|
1125
|
+
isIndeterminate: true,
|
|
1126
|
+
label: intl.formatMessage({
|
|
1127
|
+
id: 'table.common.loadingMore'
|
|
1128
|
+
})
|
|
1129
|
+
})
|
|
1122
1130
|
})
|
|
1123
1131
|
]
|
|
1124
1132
|
})
|
|
1125
|
-
|
|
1126
|
-
|
|
1127
|
-
ref: observerTarget,
|
|
1128
|
-
className: $8fd64f6a3d6adad1$var$scrollTriggerStyles
|
|
1129
|
-
}),
|
|
1130
|
-
isLoadingMore && (0, $3A86U$jsx)("div", {
|
|
1131
|
-
className: $8fd64f6a3d6adad1$var$loadingStyles,
|
|
1132
|
-
children: (0, $3A86U$jsx)((0, $61479464bb5fd0ad$export$c17561cb55d4db30), {
|
|
1133
|
-
isIndeterminate: true,
|
|
1134
|
-
"aria-label": "Loading more items"
|
|
1135
|
-
})
|
|
1136
|
-
})
|
|
1137
|
-
]
|
|
1133
|
+
]
|
|
1134
|
+
})
|
|
1138
1135
|
});
|
|
1139
1136
|
}
|
|
1140
1137
|
|
|
@@ -1185,29 +1182,6 @@ const $038bc2c2a6874c27$var$avatarButtonStyles = function anonymous(props) {
|
|
|
1185
1182
|
rules += ' Oh12';
|
|
1186
1183
|
rules += ' _Mc12';
|
|
1187
1184
|
rules += ' _Kd12';
|
|
1188
|
-
rules += ' sd12';
|
|
1189
|
-
rules += ' eb12';
|
|
1190
|
-
rules += ' Ug12';
|
|
1191
|
-
rules += ' qg12';
|
|
1192
|
-
rules += ' Tt12';
|
|
1193
|
-
rules += ' Qt12';
|
|
1194
|
-
rules += ' Sf12';
|
|
1195
|
-
rules += ' Rf12';
|
|
1196
|
-
if (props.isFocusVisible) rules += ' g05TOsb12';
|
|
1197
|
-
else if (props.isPressed) rules += ' gDr3Osb12';
|
|
1198
|
-
else if (props.isHovered) rules += ' g05TOsb12';
|
|
1199
|
-
else rules += ' gnKKOsb12';
|
|
1200
|
-
rules += ' po12';
|
|
1201
|
-
rules += ' og12';
|
|
1202
|
-
rules += ' ng12';
|
|
1203
|
-
rules += ' kg12';
|
|
1204
|
-
rules += ' jg12';
|
|
1205
|
-
rules += ' _kc12';
|
|
1206
|
-
rules += ' hc12';
|
|
1207
|
-
rules += ' mc12';
|
|
1208
|
-
rules += ' lc12';
|
|
1209
|
-
rules += ' _jf12';
|
|
1210
|
-
rules += ' iDr3Osb12';
|
|
1211
1185
|
rules += ' uk12';
|
|
1212
1186
|
rules += ' uch12';
|
|
1213
1187
|
rules += ' udi12';
|
|
@@ -1234,20 +1208,44 @@ const $038bc2c2a6874c27$var$avatarButtonStyles = function anonymous(props) {
|
|
|
1234
1208
|
rules += ' _Fd12';
|
|
1235
1209
|
rules += ' _FezxGHba12';
|
|
1236
1210
|
rules += ' _FnuYUweb12';
|
|
1211
|
+
rules += ' pMbOPsb12';
|
|
1212
|
+
rules += ' sd12';
|
|
1213
|
+
rules += ' eb12';
|
|
1214
|
+
rules += ' Ug12';
|
|
1215
|
+
rules += ' qg12';
|
|
1216
|
+
rules += ' Tt12';
|
|
1217
|
+
rules += ' Qt12';
|
|
1218
|
+
rules += ' Sf12';
|
|
1219
|
+
rules += ' Rf12';
|
|
1220
|
+
if (props.isFocusVisible) rules += ' g05TOsb12';
|
|
1221
|
+
else if (props.isPressed) rules += ' gDr3Osb12';
|
|
1222
|
+
else if (props.isHovered) rules += ' g05TOsb12';
|
|
1223
|
+
else rules += ' gnKKOsb12';
|
|
1224
|
+
rules += ' og12';
|
|
1225
|
+
rules += ' ng12';
|
|
1226
|
+
rules += ' kg12';
|
|
1227
|
+
rules += ' jg12';
|
|
1228
|
+
rules += ' _kc12';
|
|
1229
|
+
rules += ' hc12';
|
|
1230
|
+
rules += ' mc12';
|
|
1231
|
+
rules += ' lc12';
|
|
1232
|
+
rules += ' _jf12';
|
|
1233
|
+
rules += ' iDr3Osb12';
|
|
1237
1234
|
rules += ' ry12';
|
|
1238
1235
|
return rules;
|
|
1239
1236
|
};
|
|
1240
|
-
const $038bc2c2a6874c27$var$avatarCircleStyles = " sd12 eb12 _Ca12 ZC12 Fx12 og12 ng12 kg12 jg12
|
|
1241
|
-
const $038bc2c2a6874c27$export$5525762649f7bdac = ({ initials: initials, name: name, ...props })=>{
|
|
1237
|
+
const $038bc2c2a6874c27$var$avatarCircleStyles = " sd12 eb12 _Ca12 ZC12 Fx12 og12 ng12 kg12 jg12 gMbOPsb12 uk12 uch12 udi12 uea12 ugb12 uhd12 uje12 u2NhKxcl12 uic12 -_6BNtrc-e12 vx12 wd12 xd12 _xa12 wX0cczbc12 xX0cczbc12 _xX0cczba12 wfd12 xfd12 _xfa12 wfX0cczbc12 xfX0cczbc12 _xfX0cczba12 _Fd12 _FezxGHba12 _FnuYUweb12 pmM8ah12";
|
|
1238
|
+
const $038bc2c2a6874c27$export$5525762649f7bdac = ({ initials: initials, name: name, showName: showName = true, ...props })=>{
|
|
1242
1239
|
return (0, $3A86U$jsxs)((0, $3A86U$Button), {
|
|
1243
1240
|
...props,
|
|
1241
|
+
"aria-label": !showName && name && !props['aria-label'] ? name : props['aria-label'],
|
|
1244
1242
|
className: (renderProps)=>$038bc2c2a6874c27$var$avatarButtonStyles(renderProps),
|
|
1245
1243
|
children: [
|
|
1246
1244
|
(0, $3A86U$jsx)("div", {
|
|
1247
1245
|
className: $038bc2c2a6874c27$var$avatarCircleStyles,
|
|
1248
1246
|
children: initials
|
|
1249
1247
|
}),
|
|
1250
|
-
(0, $3A86U$jsx)("span", {
|
|
1248
|
+
showName && name && (0, $3A86U$jsx)("span", {
|
|
1251
1249
|
children: name
|
|
1252
1250
|
})
|
|
1253
1251
|
]
|
|
@@ -1427,9 +1425,13 @@ const $d6f6f2bb59cbf8cf$var$inputStyles = function anonymous(props) {
|
|
|
1427
1425
|
};
|
|
1428
1426
|
const $d6f6f2bb59cbf8cf$var$buttonStyles = function anonymous(props) {
|
|
1429
1427
|
let rules = " ";
|
|
1428
|
+
if (props.isFocusVisible) rules += ' _Lf12';
|
|
1429
|
+
else rules += ' _Le12';
|
|
1430
|
+
rules += ' Oh12';
|
|
1431
|
+
rules += ' _Mc12';
|
|
1432
|
+
rules += ' _Kd12';
|
|
1430
1433
|
rules += ' _5c12';
|
|
1431
1434
|
rules += ' Ii12';
|
|
1432
|
-
rules += ' Hv12';
|
|
1433
1435
|
rules += ' Tp12';
|
|
1434
1436
|
rules += ' Qp12';
|
|
1435
1437
|
rules += ' Sp12';
|
|
@@ -1519,6 +1521,7 @@ function $d6f6f2bb59cbf8cf$export$72b9695b8216309a({ label: label, description:
|
|
|
1519
1521
|
onSelectionChange: onSelectionChange,
|
|
1520
1522
|
isDisabled: isDisabled,
|
|
1521
1523
|
isRequired: isRequired,
|
|
1524
|
+
isInvalid: !!errorMessage,
|
|
1522
1525
|
"aria-label": ariaLabel || label,
|
|
1523
1526
|
children: [
|
|
1524
1527
|
label && (0, $3A86U$jsx)((0, $3A86U$Label), {
|
|
@@ -1572,6 +1575,209 @@ function $d6f6f2bb59cbf8cf$export$72b9695b8216309a({ label: label, description:
|
|
|
1572
1575
|
|
|
1573
1576
|
|
|
1574
1577
|
|
|
1578
|
+
const $7e3a08a0d5ffc4c6$var$linkStyles = function anonymous(props) {
|
|
1579
|
+
let rules = " ";
|
|
1580
|
+
if (props.isFocusVisible) rules += ' _Lf12';
|
|
1581
|
+
else rules += ' _Le12';
|
|
1582
|
+
rules += ' Oh12';
|
|
1583
|
+
rules += ' _Mc12';
|
|
1584
|
+
rules += ' _Kd12';
|
|
1585
|
+
rules += ' uk12';
|
|
1586
|
+
rules += ' uch12';
|
|
1587
|
+
rules += ' udi12';
|
|
1588
|
+
rules += ' uea12';
|
|
1589
|
+
rules += ' ugb12';
|
|
1590
|
+
rules += ' uhd12';
|
|
1591
|
+
rules += ' uje12';
|
|
1592
|
+
rules += ' u2NhKxcl12';
|
|
1593
|
+
rules += ' uic12';
|
|
1594
|
+
rules += ' -_6BNtrc-d12';
|
|
1595
|
+
rules += ' vx12';
|
|
1596
|
+
rules += ' wb12';
|
|
1597
|
+
rules += ' xb12';
|
|
1598
|
+
rules += ' _xa12';
|
|
1599
|
+
rules += ' _Fb12';
|
|
1600
|
+
rules += ' _FnuYUwec12';
|
|
1601
|
+
if (props.colorScheme === "dark") {
|
|
1602
|
+
if (props.isPressed) rules += ' pMbOPsb12';
|
|
1603
|
+
else if (props.isHovered) rules += ' pMbOPsb12';
|
|
1604
|
+
else rules += ' ppxXPsb12';
|
|
1605
|
+
} else if (props.colorScheme === "light") {
|
|
1606
|
+
if (props.isPressed) rules += ' pG3O2ub12';
|
|
1607
|
+
else if (props.isHovered) rules += ' p3HF2ub12';
|
|
1608
|
+
else rules += ' pmM8ah12';
|
|
1609
|
+
} else if (props.isPressed) rules += ' ppxXPsb12';
|
|
1610
|
+
else if (props.isHovered) rules += ' ppxXPsb12';
|
|
1611
|
+
else rules += ' pMbOPsb12';
|
|
1612
|
+
if (props.isQuiet) rules += ' _Xa12';
|
|
1613
|
+
else {
|
|
1614
|
+
rules += ' _Xb12';
|
|
1615
|
+
rules += ' __Va12';
|
|
1616
|
+
}
|
|
1617
|
+
rules += ' ry12';
|
|
1618
|
+
if (props.isHovered) rules += ' g912';
|
|
1619
|
+
else rules += ' g912';
|
|
1620
|
+
return rules;
|
|
1621
|
+
};
|
|
1622
|
+
function $7e3a08a0d5ffc4c6$export$a6c7ac8248d6e38a({ children: children, href: href, isExternal: isExternal, isQuiet: isQuiet = false, colorScheme: colorScheme = 'default', className: className, ...props }) {
|
|
1623
|
+
// Automatically detect external links if not specified
|
|
1624
|
+
const isExternalLink = isExternal ?? (href?.toString().startsWith('http://') || href?.toString().startsWith('https://'));
|
|
1625
|
+
const externalProps = isExternalLink ? {
|
|
1626
|
+
target: '_blank',
|
|
1627
|
+
rel: 'noopener noreferrer'
|
|
1628
|
+
} : {};
|
|
1629
|
+
return (0, $3A86U$jsx)((0, $3A86U$Link), {
|
|
1630
|
+
...props,
|
|
1631
|
+
...externalProps,
|
|
1632
|
+
href: href,
|
|
1633
|
+
className: className || $7e3a08a0d5ffc4c6$var$linkStyles({
|
|
1634
|
+
isQuiet: isQuiet,
|
|
1635
|
+
colorScheme: colorScheme
|
|
1636
|
+
}),
|
|
1637
|
+
children: children
|
|
1638
|
+
});
|
|
1639
|
+
}
|
|
1640
|
+
|
|
1641
|
+
|
|
1642
|
+
const $60effdf45f810c51$var$bannerStyles = " _Pb12 _lr12 _Er12 _Rr12 gpxXPsb12 px12 Tf12 Qf12 Sf12 Soh12 Rf12 Roh12 _nLeasBb12 _9unpurc12 sd12 _ta12 _toc12 ee12 eob12 _Ce12 Ul12 ql12";
|
|
1643
|
+
const $60effdf45f810c51$var$messageStyles = " uk12 uch12 udi12 uea12 ugb12 uhd12 uje12 u2NhKxcl12 uic12 -_6BNtrc-d12 vx12 wb12 xb12 _xa12 _Fb12 _FnuYUwec12 pLYrGTd12 Jy12 Gy12 Iy12 Hy12 _ub12";
|
|
1644
|
+
const $60effdf45f810c51$var$actionsStyles = " sd12 Ue12 qe12 eb12 _va12 _wb12";
|
|
1645
|
+
const $60effdf45f810c51$var$linkStyles = " pG3O2ub12";
|
|
1646
|
+
function $60effdf45f810c51$export$e06767a507a85916({ storagePrefix: storagePrefix, intl: intl, privacyPolicyUrl: privacyPolicyUrl = '/privacy-policy', additionalEssentialKeys: additionalEssentialKeys = [], onConsentChange: onConsentChange }) {
|
|
1647
|
+
const [isVisible, setIsVisible] = (0, $3A86U$useState)(false);
|
|
1648
|
+
const consentKey = 'cookie-consent';
|
|
1649
|
+
(0, $3A86U$useEffect)(()=>{
|
|
1650
|
+
// Check if user has already made a choice
|
|
1651
|
+
const consent = localStorage.getItem(consentKey);
|
|
1652
|
+
if (consent === null) setIsVisible(true);
|
|
1653
|
+
}, []);
|
|
1654
|
+
const clearNonEssentialStorage = ()=>{
|
|
1655
|
+
// Essential keys that should never be removed (strictly necessary for site operation)
|
|
1656
|
+
const essentialKeys = [
|
|
1657
|
+
consentKey,
|
|
1658
|
+
`${storagePrefix}-theme`,
|
|
1659
|
+
...additionalEssentialKeys
|
|
1660
|
+
];
|
|
1661
|
+
// Remove all localStorage items except essential ones
|
|
1662
|
+
const keys = Object.keys(localStorage);
|
|
1663
|
+
keys.forEach((key)=>{
|
|
1664
|
+
const isEssential = essentialKeys.includes(key);
|
|
1665
|
+
if (!isEssential) localStorage.removeItem(key);
|
|
1666
|
+
});
|
|
1667
|
+
// Clear non-essential cookies (analytics, tracking, Vercel platform cookies)
|
|
1668
|
+
if (typeof document !== 'undefined') document.cookie.split(';').forEach((cookie)=>{
|
|
1669
|
+
const name = cookie.split('=')[0].trim();
|
|
1670
|
+
// Clear analytics cookies
|
|
1671
|
+
if (name.startsWith('_ga') || name.startsWith('_gid')) document.cookie = `${name}=; expires=Thu, 01 Jan 1970 00:00:00 UTC; path=/;`;
|
|
1672
|
+
// Clear Vercel platform cookies (not essential for end users)
|
|
1673
|
+
if (name.startsWith('__vercel') || name.startsWith('_vercel') || name.startsWith('__prerender')) document.cookie = `${name}=; expires=Thu, 01 Jan 1970 00:00:00 UTC; path=/;`;
|
|
1674
|
+
});
|
|
1675
|
+
};
|
|
1676
|
+
const clearAllStorage = ()=>{
|
|
1677
|
+
const consentValue = localStorage.getItem(consentKey);
|
|
1678
|
+
localStorage.clear();
|
|
1679
|
+
// Restore only the consent preference itself
|
|
1680
|
+
if (consentValue) localStorage.setItem(consentKey, consentValue);
|
|
1681
|
+
// Clear ALL cookies including Vercel platform cookies
|
|
1682
|
+
if (typeof document !== 'undefined') document.cookie.split(';').forEach((cookie)=>{
|
|
1683
|
+
const name = cookie.split('=')[0].trim();
|
|
1684
|
+
// Remove all cookies - user has rejected everything
|
|
1685
|
+
document.cookie = `${name}=; expires=Thu, 01 Jan 1970 00:00:00 UTC; path=/;`;
|
|
1686
|
+
});
|
|
1687
|
+
};
|
|
1688
|
+
const handleAccept = ()=>{
|
|
1689
|
+
localStorage.setItem(consentKey, 'accepted');
|
|
1690
|
+
setIsVisible(false);
|
|
1691
|
+
onConsentChange?.('accepted');
|
|
1692
|
+
// When analytics is implemented, initialize here
|
|
1693
|
+
// Example: initializeGoogleAnalytics();
|
|
1694
|
+
};
|
|
1695
|
+
const handleEssential = ()=>{
|
|
1696
|
+
localStorage.setItem(consentKey, 'essential');
|
|
1697
|
+
setIsVisible(false);
|
|
1698
|
+
clearNonEssentialStorage();
|
|
1699
|
+
onConsentChange?.('essential');
|
|
1700
|
+
// Ensure analytics is not initialized
|
|
1701
|
+
};
|
|
1702
|
+
const handleReject = ()=>{
|
|
1703
|
+
localStorage.setItem(consentKey, 'rejected');
|
|
1704
|
+
clearAllStorage();
|
|
1705
|
+
setIsVisible(false);
|
|
1706
|
+
onConsentChange?.('rejected');
|
|
1707
|
+
// Ensure analytics is not initialized
|
|
1708
|
+
};
|
|
1709
|
+
if (!isVisible) return null;
|
|
1710
|
+
return (0, $3A86U$jsxs)("div", {
|
|
1711
|
+
className: $60effdf45f810c51$var$bannerStyles,
|
|
1712
|
+
children: [
|
|
1713
|
+
(0, $3A86U$jsxs)("p", {
|
|
1714
|
+
className: $60effdf45f810c51$var$messageStyles,
|
|
1715
|
+
children: [
|
|
1716
|
+
intl.formatMessage({
|
|
1717
|
+
id: 'cookieConsent.message'
|
|
1718
|
+
}),
|
|
1719
|
+
' ',
|
|
1720
|
+
(0, $3A86U$jsx)((0, $7e3a08a0d5ffc4c6$export$a6c7ac8248d6e38a), {
|
|
1721
|
+
href: privacyPolicyUrl,
|
|
1722
|
+
className: $60effdf45f810c51$var$linkStyles,
|
|
1723
|
+
children: intl.formatMessage({
|
|
1724
|
+
id: 'cookieConsent.learnMore'
|
|
1725
|
+
})
|
|
1726
|
+
})
|
|
1727
|
+
]
|
|
1728
|
+
}),
|
|
1729
|
+
(0, $3A86U$jsxs)("div", {
|
|
1730
|
+
className: $60effdf45f810c51$var$actionsStyles,
|
|
1731
|
+
children: [
|
|
1732
|
+
(0, $3A86U$jsx)((0, $4aac1ae7c2a46df4$export$353f5b6fc5456de1), {
|
|
1733
|
+
onPress: handleReject,
|
|
1734
|
+
variant: "danger",
|
|
1735
|
+
children: intl.formatMessage({
|
|
1736
|
+
id: 'cookieConsent.reject'
|
|
1737
|
+
})
|
|
1738
|
+
}),
|
|
1739
|
+
(0, $3A86U$jsx)((0, $4aac1ae7c2a46df4$export$353f5b6fc5456de1), {
|
|
1740
|
+
onPress: handleEssential,
|
|
1741
|
+
variant: "secondary",
|
|
1742
|
+
children: intl.formatMessage({
|
|
1743
|
+
id: 'cookieConsent.essential'
|
|
1744
|
+
})
|
|
1745
|
+
}),
|
|
1746
|
+
(0, $3A86U$jsx)((0, $4aac1ae7c2a46df4$export$353f5b6fc5456de1), {
|
|
1747
|
+
onPress: handleAccept,
|
|
1748
|
+
variant: "primary",
|
|
1749
|
+
children: intl.formatMessage({
|
|
1750
|
+
id: 'cookieConsent.accept'
|
|
1751
|
+
})
|
|
1752
|
+
})
|
|
1753
|
+
]
|
|
1754
|
+
})
|
|
1755
|
+
]
|
|
1756
|
+
});
|
|
1757
|
+
}
|
|
1758
|
+
function $60effdf45f810c51$export$d9c3278f7514faac() {
|
|
1759
|
+
if (typeof window === 'undefined') return null;
|
|
1760
|
+
const consent = localStorage.getItem('cookie-consent');
|
|
1761
|
+
if (consent === 'accepted' || consent === 'essential' || consent === 'rejected') return consent;
|
|
1762
|
+
return null;
|
|
1763
|
+
}
|
|
1764
|
+
function $60effdf45f810c51$export$789e7db30a32746e() {
|
|
1765
|
+
return $60effdf45f810c51$export$d9c3278f7514faac() === 'accepted';
|
|
1766
|
+
}
|
|
1767
|
+
function $60effdf45f810c51$export$2024021dc39f38be() {
|
|
1768
|
+
const level = $60effdf45f810c51$export$d9c3278f7514faac();
|
|
1769
|
+
return level === 'accepted' || level === 'essential';
|
|
1770
|
+
}
|
|
1771
|
+
function $60effdf45f810c51$export$2f5968b662bd1947() {
|
|
1772
|
+
return $60effdf45f810c51$export$d9c3278f7514faac() !== null;
|
|
1773
|
+
}
|
|
1774
|
+
|
|
1775
|
+
|
|
1776
|
+
|
|
1777
|
+
|
|
1778
|
+
|
|
1779
|
+
|
|
1780
|
+
|
|
1575
1781
|
// Disclosure container - very thin grey border, full width button appearance
|
|
1576
1782
|
const $5ddfe94eba6154eb$var$disclosureContainerStyles = " _je12 _ka12 ha12 ma12 la12 iA12 oc12 nc12 kc12 jc12 _Nc12 Pc12 Za12 g3HF2ub12";
|
|
1577
1783
|
// Disclosure trigger button - blends seamlessly with container
|
|
@@ -1938,6 +2144,7 @@ function $e6c4d3d9e51c440a$export$d1328f67a56fa517({ label: label, children: chi
|
|
|
1938
2144
|
className: $e6c4d3d9e51c440a$var$labeledValueStyles({
|
|
1939
2145
|
labelPosition: labelPosition
|
|
1940
2146
|
}),
|
|
2147
|
+
isInvalid: !!error,
|
|
1941
2148
|
...props,
|
|
1942
2149
|
children: [
|
|
1943
2150
|
(0, $3A86U$jsxs)((0, $3A86U$Label), {
|
|
@@ -1957,8 +2164,7 @@ function $e6c4d3d9e51c440a$export$d1328f67a56fa517({ label: label, children: chi
|
|
|
1957
2164
|
className: (0, $f62becf1f473d668$export$bf233b285dc0c047),
|
|
1958
2165
|
children: description
|
|
1959
2166
|
}),
|
|
1960
|
-
|
|
1961
|
-
slot: "errorMessage",
|
|
2167
|
+
(0, $3A86U$jsx)((0, $3A86U$FieldError), {
|
|
1962
2168
|
className: (0, $f62becf1f473d668$export$923a9dafaeef3fba),
|
|
1963
2169
|
children: error
|
|
1964
2170
|
})
|
|
@@ -1969,62 +2175,6 @@ function $e6c4d3d9e51c440a$export$d1328f67a56fa517({ label: label, children: chi
|
|
|
1969
2175
|
|
|
1970
2176
|
|
|
1971
2177
|
|
|
1972
|
-
const $7e3a08a0d5ffc4c6$var$linkStyles = function anonymous(props) {
|
|
1973
|
-
let rules = " ";
|
|
1974
|
-
if (props.isFocusVisible) rules += ' _Lf12';
|
|
1975
|
-
else rules += ' _Le12';
|
|
1976
|
-
rules += ' Oh12';
|
|
1977
|
-
rules += ' _Mc12';
|
|
1978
|
-
rules += ' _Kd12';
|
|
1979
|
-
rules += ' uk12';
|
|
1980
|
-
rules += ' uch12';
|
|
1981
|
-
rules += ' udi12';
|
|
1982
|
-
rules += ' uea12';
|
|
1983
|
-
rules += ' ugb12';
|
|
1984
|
-
rules += ' uhd12';
|
|
1985
|
-
rules += ' uje12';
|
|
1986
|
-
rules += ' u2NhKxcl12';
|
|
1987
|
-
rules += ' uic12';
|
|
1988
|
-
rules += ' -_6BNtrc-d12';
|
|
1989
|
-
rules += ' vx12';
|
|
1990
|
-
rules += ' wb12';
|
|
1991
|
-
rules += ' xb12';
|
|
1992
|
-
rules += ' _xa12';
|
|
1993
|
-
rules += ' _Fb12';
|
|
1994
|
-
rules += ' _FnuYUwec12';
|
|
1995
|
-
if (props.isPressed) rules += ' ppxXPsb12';
|
|
1996
|
-
else if (props.isHovered) rules += ' ppxXPsb12';
|
|
1997
|
-
else rules += ' pMbOPsb12';
|
|
1998
|
-
if (props.isQuiet) rules += ' _Xa12';
|
|
1999
|
-
else {
|
|
2000
|
-
rules += ' _Xb12';
|
|
2001
|
-
rules += ' __Va12';
|
|
2002
|
-
}
|
|
2003
|
-
rules += ' ry12';
|
|
2004
|
-
if (props.isHovered) rules += ' g912';
|
|
2005
|
-
else rules += ' g912';
|
|
2006
|
-
return rules;
|
|
2007
|
-
};
|
|
2008
|
-
function $7e3a08a0d5ffc4c6$export$a6c7ac8248d6e38a({ children: children, href: href, isExternal: isExternal, isQuiet: isQuiet = false, className: className, ...props }) {
|
|
2009
|
-
// Automatically detect external links if not specified
|
|
2010
|
-
const isExternalLink = isExternal ?? (href?.toString().startsWith('http://') || href?.toString().startsWith('https://'));
|
|
2011
|
-
const externalProps = isExternalLink ? {
|
|
2012
|
-
target: '_blank',
|
|
2013
|
-
rel: 'noopener noreferrer'
|
|
2014
|
-
} : {};
|
|
2015
|
-
return (0, $3A86U$jsx)((0, $3A86U$Link), {
|
|
2016
|
-
...props,
|
|
2017
|
-
...externalProps,
|
|
2018
|
-
href: href,
|
|
2019
|
-
className: className || $7e3a08a0d5ffc4c6$var$linkStyles({
|
|
2020
|
-
isQuiet: isQuiet
|
|
2021
|
-
}),
|
|
2022
|
-
children: children
|
|
2023
|
-
});
|
|
2024
|
-
}
|
|
2025
|
-
|
|
2026
|
-
|
|
2027
|
-
|
|
2028
2178
|
|
|
2029
2179
|
const $92c9d60a35906344$var$linkButtonStyles = function anonymous(props) {
|
|
2030
2180
|
let rules = " ";
|
|
@@ -2109,8 +2259,9 @@ const $92c9d60a35906344$var$linkButtonStyles = function anonymous(props) {
|
|
|
2109
2259
|
if (props.isPressed) rules += ' ppxXPsb12';
|
|
2110
2260
|
else if (props.isHovered) rules += ' ppxXPsb12';
|
|
2111
2261
|
else rules += ' pMbOPsb12';
|
|
2112
|
-
} else if (props.variant === "danger") rules += '
|
|
2262
|
+
} else if (props.variant === "danger") rules += ' pmM8ah12';
|
|
2113
2263
|
else if (props.variant === "secondary") rules += ' pMbOPsb12';
|
|
2264
|
+
else if (props.variant === "primary") rules += ' ppxXPsb12';
|
|
2114
2265
|
rules += ' plb12';
|
|
2115
2266
|
}
|
|
2116
2267
|
rules += ' sd12';
|
|
@@ -2149,10 +2300,10 @@ const $92c9d60a35906344$var$linkButtonStyles = function anonymous(props) {
|
|
|
2149
2300
|
else if (props.isHovered) rules += ' gG3O2ub12';
|
|
2150
2301
|
else rules += ' g912';
|
|
2151
2302
|
} else if (props.variant === "danger") {
|
|
2152
|
-
if (props.isPressed) rules += '
|
|
2153
|
-
else if (props.isFocusVisible) rules += '
|
|
2154
|
-
else if (props.isHovered) rules += '
|
|
2155
|
-
else rules += '
|
|
2303
|
+
if (props.isPressed) rules += ' gD1cDZ12';
|
|
2304
|
+
else if (props.isFocusVisible) rules += ' g0F3CZ12';
|
|
2305
|
+
else if (props.isHovered) rules += ' g0F3CZ12';
|
|
2306
|
+
else rules += ' gnkUCZ12';
|
|
2156
2307
|
} else if (props.variant === "navigation") {
|
|
2157
2308
|
if (props.isPressed) rules += ' gjpY2ub12';
|
|
2158
2309
|
else if (props.isFocusVisible) rules += ' gG3O2ub12';
|
|
@@ -2455,7 +2606,8 @@ const $4f3552ad992cebcc$var$radioInnerDotStyles = function anonymous(props) {
|
|
|
2455
2606
|
else rules += ' _Ia12';
|
|
2456
2607
|
return rules;
|
|
2457
2608
|
};
|
|
2458
|
-
const $4f3552ad992cebcc$var$errorStyles = " uk12 uch12 udi12 uea12 ugb12 uhd12 uje12 u2NhKxcl12 uic12 -_6BNtrc-c12 vx12 wb12 xb12 _xa12 _Fb12 _FnuYUwec12 pKYKCZ12
|
|
2609
|
+
const $4f3552ad992cebcc$var$errorStyles = " uk12 uch12 udi12 uea12 ugb12 uhd12 uje12 u2NhKxcl12 uic12 -_6BNtrc-c12 vx12 wb12 xb12 _xa12 _Fb12 _FnuYUwec12 pKYKCZ12";
|
|
2610
|
+
const $4f3552ad992cebcc$var$descriptionStyles = " uk12 uch12 udi12 uea12 ugb12 uhd12 uje12 u2NhKxcl12 uic12 -_6BNtrc-c12 vx12 wb12 xb12 _xa12 _Fb12 _FnuYUwec12 pMbOPsb12";
|
|
2459
2611
|
function $4f3552ad992cebcc$export$d7b12c4107be0d61({ children: children, ...props }) {
|
|
2460
2612
|
return (0, $3A86U$jsx)((0, $3A86U$Radio), {
|
|
2461
2613
|
...props,
|
|
@@ -2475,10 +2627,11 @@ function $4f3552ad992cebcc$export$d7b12c4107be0d61({ children: children, ...prop
|
|
|
2475
2627
|
})
|
|
2476
2628
|
});
|
|
2477
2629
|
}
|
|
2478
|
-
function $4f3552ad992cebcc$export$a98f0dcb43a68a25({ label: label, options: options, error: error, ...props }) {
|
|
2630
|
+
function $4f3552ad992cebcc$export$a98f0dcb43a68a25({ label: label, options: options, error: error, description: description, ...props }) {
|
|
2479
2631
|
let ariaLabelId = (0, $3A86U$useId)();
|
|
2480
2632
|
return (0, $3A86U$jsxs)((0, $3A86U$RadioGroup), {
|
|
2481
2633
|
...props,
|
|
2634
|
+
isInvalid: !!error,
|
|
2482
2635
|
className: $4f3552ad992cebcc$var$radioGroupStyles,
|
|
2483
2636
|
"aria-labelledby": ariaLabelId,
|
|
2484
2637
|
children: [
|
|
@@ -2494,7 +2647,12 @@ function $4f3552ad992cebcc$export$a98f0dcb43a68a25({ label: label, options: opti
|
|
|
2494
2647
|
children: option.label
|
|
2495
2648
|
}, option.id))
|
|
2496
2649
|
}),
|
|
2497
|
-
error && (0, $3A86U$jsx)(
|
|
2650
|
+
description && !error && (0, $3A86U$jsx)((0, $3A86U$Text), {
|
|
2651
|
+
slot: "description",
|
|
2652
|
+
className: $4f3552ad992cebcc$var$descriptionStyles,
|
|
2653
|
+
children: description
|
|
2654
|
+
}),
|
|
2655
|
+
(0, $3A86U$jsx)((0, $3A86U$FieldError), {
|
|
2498
2656
|
className: $4f3552ad992cebcc$var$errorStyles,
|
|
2499
2657
|
children: error
|
|
2500
2658
|
})
|
|
@@ -2592,7 +2750,9 @@ const $9260936bb33ab2d4$var$clearButtonStyles = function anonymous(props) {
|
|
|
2592
2750
|
else rules += ' pcsq3ub12';
|
|
2593
2751
|
return rules;
|
|
2594
2752
|
};
|
|
2595
|
-
|
|
2753
|
+
const $9260936bb33ab2d4$var$descriptionStyles = " uk12 uch12 udi12 uea12 ugb12 uhd12 uje12 u2NhKxcl12 uic12 -_6BNtrc-c12 vx12 wb12 xb12 _xa12 _Fb12 _FnuYUwec12 pMbOPsb12";
|
|
2754
|
+
const $9260936bb33ab2d4$var$errorStyles = " uk12 uch12 udi12 uea12 ugb12 uhd12 uje12 u2NhKxcl12 uic12 -_6BNtrc-c12 vx12 wb12 xb12 _xa12 _Fb12 _FnuYUwec12 pKYKCZ12";
|
|
2755
|
+
function $9260936bb33ab2d4$export$b94867ecbd698f21({ value: value, onChange: onChange, label: label, placeholder: placeholder, ariaLabel: ariaLabel, description: description, error: error }) {
|
|
2596
2756
|
const intl = (0, $e4a23425e1acf543$export$5aebe9a147f4d146)();
|
|
2597
2757
|
return (0, $3A86U$jsx)("div", {
|
|
2598
2758
|
className: $9260936bb33ab2d4$var$searchFieldContainerStyles,
|
|
@@ -2600,6 +2760,7 @@ function $9260936bb33ab2d4$export$b94867ecbd698f21({ value: value, onChange: onC
|
|
|
2600
2760
|
value: value,
|
|
2601
2761
|
onChange: onChange,
|
|
2602
2762
|
className: $9260936bb33ab2d4$var$searchFieldStyles,
|
|
2763
|
+
isInvalid: !!error,
|
|
2603
2764
|
"aria-label": ariaLabel,
|
|
2604
2765
|
children: ({ isEmpty: isEmpty })=>(0, $3A86U$jsxs)((0, $3A86U$Fragment), {
|
|
2605
2766
|
children: [
|
|
@@ -2630,6 +2791,15 @@ function $9260936bb33ab2d4$export$b94867ecbd698f21({ value: value, onChange: onC
|
|
|
2630
2791
|
})
|
|
2631
2792
|
})
|
|
2632
2793
|
]
|
|
2794
|
+
}),
|
|
2795
|
+
description && !error && (0, $3A86U$jsx)((0, $3A86U$Text), {
|
|
2796
|
+
slot: "description",
|
|
2797
|
+
className: $9260936bb33ab2d4$var$descriptionStyles,
|
|
2798
|
+
children: description
|
|
2799
|
+
}),
|
|
2800
|
+
(0, $3A86U$jsx)((0, $3A86U$FieldError), {
|
|
2801
|
+
className: $9260936bb33ab2d4$var$errorStyles,
|
|
2802
|
+
children: error
|
|
2633
2803
|
})
|
|
2634
2804
|
]
|
|
2635
2805
|
})
|
|
@@ -2904,6 +3074,8 @@ function $a1d74ef12fdf3857$export$460d6ec869d02044({ children: children, ...prop
|
|
|
2904
3074
|
|
|
2905
3075
|
const $4c94f3494e92f172$var$selectContainerStyles = " sd12 _ta12 Ub12 qb12 Ng12";
|
|
2906
3076
|
const $4c94f3494e92f172$var$labelStyles = " uk12 uch12 udi12 uea12 ugb12 uhd12 uje12 u2NhKxcl12 uic12 -_6BNtrc-d12 vx12 wb12 xb12 _xa12 _Fb12 _FnuYUwec12 pMbOPsb12";
|
|
3077
|
+
const $4c94f3494e92f172$var$descriptionStyles = " uk12 uch12 udi12 uea12 ugb12 uhd12 uje12 u2NhKxcl12 uic12 -_6BNtrc-c12 vx12 wb12 xb12 _xa12 _Fb12 _FnuYUwec12 pMbOPsb12";
|
|
3078
|
+
const $4c94f3494e92f172$var$errorStyles = " uk12 uch12 udi12 uea12 ugb12 uhd12 uje12 u2NhKxcl12 uic12 -_6BNtrc-c12 vx12 wb12 xb12 _xa12 _Fb12 _FnuYUwec12 pKYKCZ12";
|
|
2907
3079
|
const $4c94f3494e92f172$var$buttonStyles = function anonymous(props) {
|
|
2908
3080
|
let rules = " ";
|
|
2909
3081
|
if (props.isFocusVisible) rules += ' _Lf12';
|
|
@@ -3002,9 +3174,10 @@ const $4c94f3494e92f172$var$listBoxItemStyles = function anonymous(props) {
|
|
|
3002
3174
|
else rules += ' g912';
|
|
3003
3175
|
return rules;
|
|
3004
3176
|
};
|
|
3005
|
-
function $4c94f3494e92f172$export$ef9b1a59e592288f({ label: label, options: options, placeholder: placeholder, ...props }) {
|
|
3177
|
+
function $4c94f3494e92f172$export$ef9b1a59e592288f({ label: label, options: options, placeholder: placeholder, description: description, error: error, ...props }) {
|
|
3006
3178
|
return (0, $3A86U$jsxs)((0, $3A86U$Select), {
|
|
3007
3179
|
...props,
|
|
3180
|
+
isInvalid: !!error,
|
|
3008
3181
|
className: $4c94f3494e92f172$var$selectContainerStyles,
|
|
3009
3182
|
children: [
|
|
3010
3183
|
(0, $3A86U$jsx)((0, $3A86U$Label), {
|
|
@@ -3021,6 +3194,15 @@ function $4c94f3494e92f172$export$ef9b1a59e592288f({ label: label, options: opti
|
|
|
3021
3194
|
})
|
|
3022
3195
|
]
|
|
3023
3196
|
}),
|
|
3197
|
+
description && !error && (0, $3A86U$jsx)((0, $3A86U$Text), {
|
|
3198
|
+
slot: "description",
|
|
3199
|
+
className: $4c94f3494e92f172$var$descriptionStyles,
|
|
3200
|
+
children: description
|
|
3201
|
+
}),
|
|
3202
|
+
(0, $3A86U$jsx)((0, $3A86U$FieldError), {
|
|
3203
|
+
className: $4c94f3494e92f172$var$errorStyles,
|
|
3204
|
+
children: error
|
|
3205
|
+
}),
|
|
3024
3206
|
(0, $3A86U$jsx)((0, $3A86U$Popover), {
|
|
3025
3207
|
className: $4c94f3494e92f172$var$popoverStyles,
|
|
3026
3208
|
children: (0, $3A86U$jsx)((0, $3A86U$ListBox), {
|
|
@@ -3627,6 +3809,7 @@ const $73303ac6ce50c127$var$tabStyles = function anonymous(props) {
|
|
|
3627
3809
|
else rules += ' iA12';
|
|
3628
3810
|
if (props.isDisabled) rules += ' ru12';
|
|
3629
3811
|
else rules += ' ry12';
|
|
3812
|
+
rules += ' _Xa12';
|
|
3630
3813
|
rules += ' Xc12';
|
|
3631
3814
|
return rules;
|
|
3632
3815
|
};
|
|
@@ -3764,7 +3947,7 @@ const $db470a4073e4639a$var$textareaStyles = function anonymous(props) {
|
|
|
3764
3947
|
rules += ' Pa12';
|
|
3765
3948
|
return rules;
|
|
3766
3949
|
};
|
|
3767
|
-
function $db470a4073e4639a$export$f5c9f3c2c4054eec({ label: label, error: error, placeholder: placeholder, value: value, ...props }) {
|
|
3950
|
+
function $db470a4073e4639a$export$f5c9f3c2c4054eec({ label: label, error: error, description: description, placeholder: placeholder, value: value, ...props }) {
|
|
3768
3951
|
const textareaRef = (0, $3A86U$useRef)(null);
|
|
3769
3952
|
// Auto-grow on value change
|
|
3770
3953
|
(0, $3A86U$useEffect)(()=>{
|
|
@@ -3780,6 +3963,7 @@ function $db470a4073e4639a$export$f5c9f3c2c4054eec({ label: label, error: error,
|
|
|
3780
3963
|
]);
|
|
3781
3964
|
return (0, $3A86U$jsxs)((0, $3A86U$TextField), {
|
|
3782
3965
|
className: (0, $f62becf1f473d668$export$298b9ad7287f04ba),
|
|
3966
|
+
isInvalid: !!error,
|
|
3783
3967
|
...props,
|
|
3784
3968
|
value: value,
|
|
3785
3969
|
children: [
|
|
@@ -3792,7 +3976,12 @@ function $db470a4073e4639a$export$f5c9f3c2c4054eec({ label: label, error: error,
|
|
|
3792
3976
|
className: $db470a4073e4639a$var$textareaStyles,
|
|
3793
3977
|
placeholder: placeholder
|
|
3794
3978
|
}),
|
|
3795
|
-
error && (0, $3A86U$jsx)(
|
|
3979
|
+
description && !error && (0, $3A86U$jsx)((0, $3A86U$Text), {
|
|
3980
|
+
slot: "description",
|
|
3981
|
+
className: (0, $f62becf1f473d668$export$bf233b285dc0c047),
|
|
3982
|
+
children: description
|
|
3983
|
+
}),
|
|
3984
|
+
(0, $3A86U$jsx)((0, $3A86U$FieldError), {
|
|
3796
3985
|
className: (0, $f62becf1f473d668$export$923a9dafaeef3fba),
|
|
3797
3986
|
children: error
|
|
3798
3987
|
})
|
|
@@ -3817,7 +4006,7 @@ $parcel$export($b9dc9736b0835428$exports, "useFilters", () => $5035dda096f080f5$
|
|
|
3817
4006
|
|
|
3818
4007
|
|
|
3819
4008
|
const $14dac782240849bf$var$ThemeContext = /*#__PURE__*/ (0, $3A86U$createContext)(undefined);
|
|
3820
|
-
const $14dac782240849bf$var$THEME_STORAGE_KEY = '
|
|
4009
|
+
const $14dac782240849bf$var$THEME_STORAGE_KEY = 'worldferments-theme';
|
|
3821
4010
|
// Get initial theme synchronously to prevent flicker
|
|
3822
4011
|
function $14dac782240849bf$var$getInitialTheme() {
|
|
3823
4012
|
if (!(0, $20eaf1306ff19a16$export$4e09c449d6c407f7)) return 'light';
|
|
@@ -3834,18 +4023,15 @@ function $14dac782240849bf$var$getInitialTheme() {
|
|
|
3834
4023
|
return (0, $20eaf1306ff19a16$export$7dd80fbc14cd23b1).matchMedia('(prefers-color-scheme: dark)').matches ? 'dark' : 'light';
|
|
3835
4024
|
}
|
|
3836
4025
|
function $14dac782240849bf$export$d8964aec282183a3({ children: children }) {
|
|
3837
|
-
//
|
|
3838
|
-
|
|
3839
|
-
|
|
3840
|
-
return $14dac782240849bf$var$getInitialTheme();
|
|
3841
|
-
});
|
|
4026
|
+
// Always start with 'light' to match server render
|
|
4027
|
+
// Will update to actual theme after mount
|
|
4028
|
+
const [colorScheme, setColorScheme] = (0, $3A86U$useState)('light');
|
|
3842
4029
|
const [mounted, setMounted] = (0, $3A86U$useState)(false);
|
|
3843
|
-
// Set mounted flag on client
|
|
4030
|
+
// Set mounted flag and sync to actual theme on client
|
|
3844
4031
|
(0, $3A86U$useEffect)(()=>{
|
|
3845
4032
|
setMounted(true);
|
|
3846
|
-
// Ensure colorScheme matches what's actually set
|
|
3847
4033
|
const actual = $14dac782240849bf$var$getInitialTheme();
|
|
3848
|
-
|
|
4034
|
+
setColorScheme(actual);
|
|
3849
4035
|
}, []);
|
|
3850
4036
|
// Update html attribute and localStorage when scheme changes
|
|
3851
4037
|
(0, $3A86U$useEffect)(()=>{
|
|
@@ -3920,7 +4106,7 @@ function $5035dda096f080f5$export$973ca22476b0e05f() {
|
|
|
3920
4106
|
|
|
3921
4107
|
// Export all locale message files for i18n
|
|
3922
4108
|
var $3584f36bea2ac447$exports = {};
|
|
3923
|
-
$3584f36bea2ac447$exports = JSON.parse("{\"app.title\":\"World Ferments\",\"app.subtitle\":\"Explore Fermented Foods Around the World\",\"home.hello\":\"Hello World!\",\"home.description\":\"Next.js is running successfully with React Aria Components and React Spectrum S2. The foundation is set!\",\"home.checkHealth\":\"Check API Health\",\"home.healthChecking\":\"Checking health...\",\"home.healthClickPrompt\":\"Click the button to check API health\",\"health.status\":\"Status\",\"health.database\":\"Database\",\"health.time\":\"Time\",\"health.error\":\"Error\",\"health.siteUrls\":\"Site URLs\",\"health.apiEndpoints\":\"API Endpoints\",\"theme.toggle.label\":\"Dark Mode\",\"theme.toggle.ariaLabel\":\"Toggle dark mode\",\"features.map\":\"Coming soon: Interactive map with fermented foods\",\"features.browse\":\"Browse by region, category, and culture\",\"ferments.subtitle\":\"Explore and discover fermented foods from around the world\",\"ferments.loading\":\"Loading...\",\"ferments.count\":\"{count, plural, =0 {No ferments found} one {# ferment found} other {# ferments found}}\",\"ferments.filter.category\":\"Category\",\"ferments.filter.country\":\"Country\",\"ferments.filter.allCategories\":\"All Categories\",\"ferments.filter.allCountries\":\"All Countries\",\"ferments.filter.all\":\"All\",\"ferments.filter.alphabetLabel\":\"Filter by first letter\",\"ferments.filter.clear\":\"Clear Filters\",\"ferments.filter.loading\":\"Loading filters...\",\"ferments.filter.category.ariaLabel\":\"Filter by category\",\"ferments.filter.country.ariaLabel\":\"Filter by country\",\"ferments.search.placeholder\":\"Search ferments...\",\"ferments.search.label\":\"Search\",\"ferments.search.ariaLabel\":\"Search ferments by name or description\",\"ferments.search.clear\":\"Clear\",\"ferment.detail.backToBrowse\":\"Back to Browse\",\"ferment.detail.loading\":\"Loading ferment details...\",\"ferment.detail.notFound\":\"Ferment not found\",\"ferment.detail.error\":\"Failed to load ferment details\",\"ferment.detail.country\":\"Country\",\"ferment.detail.region\":\"Region\",\"ferment.detail.category\":\"Category\",\"ferment.detail.ingredients\":\"Ingredients\",\"ferment.detail.learnMore\":\"Learn More\",\"ferment.detail.viewSource\":\"View Source\",\"ferment.detail.location\":\"Location\",\"ferment.detail.coordinates\":\"Coordinates\",\"ferment.detail.relatedFerments\":\"Related Ferments\",\"ferment.detail.close\":\"Close\",\"map.loading\":\"Loading map...\",\"map.error.title\":\"Map Error\",\"map.error.load\":\"Failed to load ferments for map\",\"map.error.noToken\":\"Mapbox token not configured. Please set NEXT_PUBLIC_MAPBOX_TOKEN in your environment.\",\"map.error.init\":\"Failed to initialize map\",\"map.ariaLabel\":\"Interactive map showing fermented foods around the world\",\"map.marker.label\":\"{name} from {country}\",\"map.popup.viewDetails\":\"View details\",\"nav.map\":\"Map\",\"nav.list\":\"List\",\"nav.viewToggle.ariaLabel\":\"Switch between map and list views\",\"nav.about\":\"About\",\"common.back\":\"Back\",\"common.loading\":\"Loading...\",\"common.saving\":\"Saving...\",\"filterTabs.ariaLabel\":\"Filter options\",\"statCard.viewAll\":\"View all\",\"ferments.category.all\":\"All Categories\",\"ferments.category.vegetable\":\"Vegetable\",\"ferments.category.dairy\":\"Dairy\",\"ferments.category.grain\":\"Grain\",\"ferments.category.legume\":\"Legume\",\"ferments.category.beverage\":\"Beverage\",\"ferments.category.condiment\":\"Condiment\",\"ferments.category.protein\":\"Protein\",\"ferments.category.fruit\":\"Fruit\",\"ferments.category.other\":\"Other\",\"sources.content_type.about\":\"About\",\"sources.content_type.history\":\"History\",\"sources.content_type.recipes\":\"Recipes\",\"sources.content_type.tools\":\"Tools & Equipment\",\"sources.content_type.starters\":\"Starters & Cultures\",\"sources.content_type.culture\":\"Cultural Context\",\"sources.content_type.scientific\":\"Scientific Research\",\"sources.content_type.commercial\":\"Commercial Products\",\"sources.content_type.course\":\"Courses & Tutorials\",\"sources.content_type.general\":\"General Information\"}");
|
|
4109
|
+
$3584f36bea2ac447$exports = JSON.parse("{\"app.title\":\"World Ferments\",\"app.subtitle\":\"Explore Fermented Foods Around the World\",\"home.hello\":\"Hello World!\",\"home.description\":\"Next.js is running successfully with React Aria Components and React Spectrum S2. The foundation is set!\",\"home.checkHealth\":\"Check API Health\",\"home.healthChecking\":\"Checking health...\",\"home.healthClickPrompt\":\"Click the button to check API health\",\"health.status\":\"Status\",\"health.database\":\"Database\",\"health.time\":\"Time\",\"health.error\":\"Error\",\"health.siteUrls\":\"Site URLs\",\"health.apiEndpoints\":\"API Endpoints\",\"theme.toggle.label\":\"Dark Mode\",\"theme.toggle.ariaLabel\":\"Toggle dark mode\",\"features.map\":\"Coming soon: Interactive map with fermented foods\",\"features.browse\":\"Browse by region, category, and culture\",\"ferments.subtitle\":\"Explore and discover fermented foods from around the world\",\"ferments.loading\":\"Loading...\",\"ferments.count\":\"{count, plural, =0 {No ferments found} one {# ferment found} other {# ferments found}}\",\"ferments.filter.category\":\"Category\",\"ferments.filter.country\":\"Country\",\"ferments.filter.allCategories\":\"All Categories\",\"ferments.filter.allCountries\":\"All Countries\",\"ferments.filter.all\":\"All\",\"ferments.filter.alphabetLabel\":\"Filter by first letter\",\"ferments.filter.clear\":\"Clear Filters\",\"ferments.filter.loading\":\"Loading filters...\",\"ferments.filter.category.ariaLabel\":\"Filter by category\",\"ferments.filter.country.ariaLabel\":\"Filter by country\",\"ferments.search.placeholder\":\"Search ferments...\",\"ferments.search.label\":\"Search\",\"ferments.search.ariaLabel\":\"Search ferments by name or description\",\"ferments.search.clear\":\"Clear\",\"ferment.detail.backToBrowse\":\"Back to Browse\",\"ferment.detail.loading\":\"Loading ferment details...\",\"ferment.detail.notFound\":\"Ferment not found\",\"ferment.detail.error\":\"Failed to load ferment details\",\"ferment.detail.country\":\"Country\",\"ferment.detail.region\":\"Region\",\"ferment.detail.category\":\"Category\",\"ferment.detail.ingredients\":\"Ingredients\",\"ferment.detail.learnMore\":\"Learn More\",\"ferment.detail.viewSource\":\"View Source\",\"ferment.detail.location\":\"Location\",\"ferment.detail.coordinates\":\"Coordinates\",\"ferment.detail.relatedFerments\":\"Related Ferments\",\"ferment.detail.close\":\"Close\",\"map.loading\":\"Loading map...\",\"map.error.title\":\"Map Error\",\"map.error.load\":\"Failed to load ferments for map\",\"map.error.noToken\":\"Mapbox token not configured. Please set NEXT_PUBLIC_MAPBOX_TOKEN in your environment.\",\"map.error.init\":\"Failed to initialize map\",\"map.ariaLabel\":\"Interactive map showing fermented foods around the world\",\"map.marker.label\":\"{name} from {country}\",\"map.popup.viewDetails\":\"View details\",\"nav.map\":\"Map\",\"nav.list\":\"List\",\"nav.viewToggle.ariaLabel\":\"Switch between map and list views\",\"nav.about\":\"About\",\"common.back\":\"Back\",\"common.loading\":\"Loading...\",\"common.saving\":\"Saving...\",\"common.noData\":\"No data available\",\"table.common.loading\":\"Loading data...\",\"table.common.loadingMore\":\"Loading more data...\",\"filterTabs.ariaLabel\":\"Filter options\",\"statCard.viewAll\":\"View all\",\"ferments.category.all\":\"All Categories\",\"ferments.category.vegetable\":\"Vegetable\",\"ferments.category.dairy\":\"Dairy\",\"ferments.category.grain\":\"Grain\",\"ferments.category.legume\":\"Legume\",\"ferments.category.beverage\":\"Beverage\",\"ferments.category.condiment\":\"Condiment\",\"ferments.category.protein\":\"Protein\",\"ferments.category.fruit\":\"Fruit\",\"ferments.category.other\":\"Other\",\"sources.content_type.about\":\"About\",\"sources.content_type.history\":\"History\",\"sources.content_type.recipes\":\"Recipes\",\"sources.content_type.tools\":\"Tools & Equipment\",\"sources.content_type.starters\":\"Starters & Cultures\",\"sources.content_type.culture\":\"Cultural Context\",\"sources.content_type.scientific\":\"Scientific Research\",\"sources.content_type.commercial\":\"Commercial Products\",\"sources.content_type.course\":\"Courses & Tutorials\",\"sources.content_type.general\":\"General Information\"}");
|
|
3924
4110
|
|
|
3925
4111
|
|
|
3926
4112
|
const $b3d6b2f9c08830bf$export$d0451c6199f2a163 = {
|
|
@@ -3968,7 +4154,17 @@ function $63f988b4583af0b2$export$5d7f9913734d3d5f(filters) {
|
|
|
3968
4154
|
}
|
|
3969
4155
|
|
|
3970
4156
|
|
|
4157
|
+
var $ff0c2eb38f220801$exports = {};
|
|
4158
|
+
|
|
4159
|
+
$parcel$export($ff0c2eb38f220801$exports, "useIsMobileDevice", () => $ff0c2eb38f220801$export$736bf165441b18c7);
|
|
4160
|
+
|
|
4161
|
+
function $ff0c2eb38f220801$export$736bf165441b18c7() {
|
|
4162
|
+
return (0, $3A86U$useMediaQuery)('(max-width: 640px)');
|
|
4163
|
+
}
|
|
4164
|
+
|
|
4165
|
+
|
|
3971
4166
|
$parcel$exportWildcard($5cabf87c599fa41c$exports, $63f988b4583af0b2$exports);
|
|
4167
|
+
$parcel$exportWildcard($5cabf87c599fa41c$exports, $ff0c2eb38f220801$exports);
|
|
3972
4168
|
|
|
3973
4169
|
|
|
3974
4170
|
var $b5d45cad097c69a9$exports = {};
|
|
@@ -4135,5 +4331,5 @@ $parcel$exportWildcard($be9c1f6b736f678e$exports, $2c570e2bb65234ea$exports);
|
|
|
4135
4331
|
|
|
4136
4332
|
|
|
4137
4333
|
|
|
4138
|
-
export {$b3d6b2f9c08830bf$export$d0451c6199f2a163 as localeMessages, $a6c6e9de70b2177d$export$de466dd8317b0b75 as AlertDialog, $a6c6e9de70b2177d$export$a551a871839880f9 as PromptDialog, $f156c2ac5fd12c51$export$2f2b9559550c7bbc as Autocomplete, $07375c4c274a5e99$export$5f8b5a1eceff31bd as AutocompleteTable, $038bc2c2a6874c27$export$5525762649f7bdac as AvatarButton, $e2023e6e190b3690$export$37acb3580601e69a as Badge, $4aac1ae7c2a46df4$export$353f5b6fc5456de1 as Button, $35fcc32020885daa$export$48513f6b9f8ce62d as Checkbox, $07aaa6869c77f679$export$de65de8213222d10 as CloseButton, $d6f6f2bb59cbf8cf$export$72b9695b8216309a as ComboBox, $5ddfe94eba6154eb$export$944aceb4f8c89f10 as DisclosureGroup, $e33d8e4603185098$export$3dd2bd9a4b724d5b as FermentTypeBadge, $a7c96df248e47957$export$221f31a87e5a826c as FilterTabs, $e6c4d3d9e51c440a$export$d1328f67a56fa517 as LabeledValue, $7e3a08a0d5ffc4c6$export$a6c7ac8248d6e38a as Link, $92c9d60a35906344$export$29d11c0fe2fc51d8 as LinkButton, $9317e67b0b0534b2$export$d9b273488cd8ce6f as Menu, $3b45ce15fb15c24d$export$ace2b65713be14d8 as PasswordStrength, $0cce5ab1682825e8$export$5b6b19405a83ff9d as Popover, $61479464bb5fd0ad$export$c17561cb55d4db30 as ProgressBar, $4f3552ad992cebcc$export$a98f0dcb43a68a25 as RadioGroup, $9260936bb33ab2d4$export$b94867ecbd698f21 as SearchField, $dc7b7ce521817383$export$668709c620d0b8e2 as SegmentedControl, $a1d74ef12fdf3857$export$5a020dcde0a57edb as SegmentedTabs, $a1d74ef12fdf3857$export$9a31a1604f014635 as SegmentedTabList, $a1d74ef12fdf3857$export$460d6ec869d02044 as SegmentedTab, $4c94f3494e92f172$export$ef9b1a59e592288f as Select, $ce4fd2235ca222b0$export$64133607978931b as SourceCategoryBadge, $c7af66d6eab82960$export$b5cddb1a6bf990a0 as StatCard, $b32787d33db6deae$export$b5d5cf8927ab7262 as Switch, $8fd64f6a3d6adad1$export$54ec01a60f47d33d as Table, $73303ac6ce50c127$export$b2539bed5023c21c as Tabs, $73303ac6ce50c127$export$e51a686c67fdaa2d as TabList, $73303ac6ce50c127$export$3e41faf802a29e71 as Tab, $73303ac6ce50c127$export$3d96ec278d3efce4 as TabPanel, $db470a4073e4639a$export$f5c9f3c2c4054eec as TextArea, $f62becf1f473d668$export$2c73285ae9390cec as TextField, $14dac782240849bf$export$d8964aec282183a3 as ThemeProvider, $14dac782240849bf$export$93d4e7f90805808f as useTheme, $e4a23425e1acf543$export$a54013f0d02a8f82 as I18nProvider, $e4a23425e1acf543$export$5aebe9a147f4d146 as useIntl, $5035dda096f080f5$export$66b627500eff8faa as FilterProvider, $5035dda096f080f5$export$973ca22476b0e05f as useFilters, $63f988b4583af0b2$export$42d0f19526e5d9da as DEFAULT_FILTERS, $63f988b4583af0b2$export$a15c90bdf31a4ff3 as hasActiveFilters, $63f988b4583af0b2$export$d0e6b6bfede2a57 as clearFilters, $63f988b4583af0b2$export$fa59a93dacecf201 as updateFilter, $63f988b4583af0b2$export$5d7f9913734d3d5f as filtersToQueryParams, $4ae0d6a0ccb53610$export$457d6d213bf79459 as textFieldInputStyles, $b413b04534c20d7d$export$2514cbae0d5c71c5 as getCategoryColors, $816b80b7e9fabfce$export$8d65bcf2e041e7f5 as getSourceCategoryColors, $0e1acab33491c629$export$3872f43ce732a9d5 as getCategoryOptions, $0e1acab33491c629$export$240a372764fd2451 as getSourceCategoryOptions, $0e1acab33491c629$export$90169ffd4a6ec1f5 as FERMENT_CATEGORIES, $0e1acab33491c629$export$2002190b63448c99 as SOURCE_CATEGORIES, $0e62a2c35fb1f646$export$644d8ea042df96a6 as api, $20eaf1306ff19a16$export$4e09c449d6c407f7 as isBrowser, $20eaf1306ff19a16$export$62858bae88b53fd0 as isDocument, $20eaf1306ff19a16$export$7dd80fbc14cd23b1 as safeWindow, $20eaf1306ff19a16$export$9aee702616bdf23c as safeDocument, $20eaf1306ff19a16$export$2aa78e70b3d79ddc as safeLocalStorage};
|
|
4334
|
+
export {$b3d6b2f9c08830bf$export$d0451c6199f2a163 as localeMessages, $a6c6e9de70b2177d$export$de466dd8317b0b75 as AlertDialog, $a6c6e9de70b2177d$export$a551a871839880f9 as PromptDialog, $f156c2ac5fd12c51$export$2f2b9559550c7bbc as Autocomplete, $07375c4c274a5e99$export$5f8b5a1eceff31bd as AutocompleteTable, $038bc2c2a6874c27$export$5525762649f7bdac as AvatarButton, $e2023e6e190b3690$export$37acb3580601e69a as Badge, $4aac1ae7c2a46df4$export$353f5b6fc5456de1 as Button, $35fcc32020885daa$export$48513f6b9f8ce62d as Checkbox, $07aaa6869c77f679$export$de65de8213222d10 as CloseButton, $d6f6f2bb59cbf8cf$export$72b9695b8216309a as ComboBox, $60effdf45f810c51$export$e06767a507a85916 as CookieConsent, $60effdf45f810c51$export$d9c3278f7514faac as getConsentLevel, $60effdf45f810c51$export$789e7db30a32746e as canUseAnalytics, $60effdf45f810c51$export$2024021dc39f38be as canUseEssentials, $60effdf45f810c51$export$2f5968b662bd1947 as hasConsented, $5ddfe94eba6154eb$export$944aceb4f8c89f10 as DisclosureGroup, $e33d8e4603185098$export$3dd2bd9a4b724d5b as FermentTypeBadge, $a7c96df248e47957$export$221f31a87e5a826c as FilterTabs, $e6c4d3d9e51c440a$export$d1328f67a56fa517 as LabeledValue, $7e3a08a0d5ffc4c6$export$a6c7ac8248d6e38a as Link, $92c9d60a35906344$export$29d11c0fe2fc51d8 as LinkButton, $9317e67b0b0534b2$export$d9b273488cd8ce6f as Menu, $3b45ce15fb15c24d$export$ace2b65713be14d8 as PasswordStrength, $0cce5ab1682825e8$export$5b6b19405a83ff9d as Popover, $61479464bb5fd0ad$export$c17561cb55d4db30 as ProgressBar, $4f3552ad992cebcc$export$a98f0dcb43a68a25 as RadioGroup, $9260936bb33ab2d4$export$b94867ecbd698f21 as SearchField, $dc7b7ce521817383$export$668709c620d0b8e2 as SegmentedControl, $a1d74ef12fdf3857$export$5a020dcde0a57edb as SegmentedTabs, $a1d74ef12fdf3857$export$9a31a1604f014635 as SegmentedTabList, $a1d74ef12fdf3857$export$460d6ec869d02044 as SegmentedTab, $4c94f3494e92f172$export$ef9b1a59e592288f as Select, $ce4fd2235ca222b0$export$64133607978931b as SourceCategoryBadge, $c7af66d6eab82960$export$b5cddb1a6bf990a0 as StatCard, $b32787d33db6deae$export$b5d5cf8927ab7262 as Switch, $8fd64f6a3d6adad1$export$54ec01a60f47d33d as Table, $73303ac6ce50c127$export$b2539bed5023c21c as Tabs, $73303ac6ce50c127$export$e51a686c67fdaa2d as TabList, $73303ac6ce50c127$export$3e41faf802a29e71 as Tab, $73303ac6ce50c127$export$3d96ec278d3efce4 as TabPanel, $db470a4073e4639a$export$f5c9f3c2c4054eec as TextArea, $f62becf1f473d668$export$2c73285ae9390cec as TextField, $14dac782240849bf$export$d8964aec282183a3 as ThemeProvider, $14dac782240849bf$export$93d4e7f90805808f as useTheme, $e4a23425e1acf543$export$a54013f0d02a8f82 as I18nProvider, $e4a23425e1acf543$export$5aebe9a147f4d146 as useIntl, $5035dda096f080f5$export$66b627500eff8faa as FilterProvider, $5035dda096f080f5$export$973ca22476b0e05f as useFilters, $63f988b4583af0b2$export$42d0f19526e5d9da as DEFAULT_FILTERS, $63f988b4583af0b2$export$a15c90bdf31a4ff3 as hasActiveFilters, $63f988b4583af0b2$export$d0e6b6bfede2a57 as clearFilters, $63f988b4583af0b2$export$fa59a93dacecf201 as updateFilter, $63f988b4583af0b2$export$5d7f9913734d3d5f as filtersToQueryParams, $ff0c2eb38f220801$export$736bf165441b18c7 as useIsMobileDevice, $4ae0d6a0ccb53610$export$457d6d213bf79459 as textFieldInputStyles, $b413b04534c20d7d$export$2514cbae0d5c71c5 as getCategoryColors, $816b80b7e9fabfce$export$8d65bcf2e041e7f5 as getSourceCategoryColors, $0e1acab33491c629$export$3872f43ce732a9d5 as getCategoryOptions, $0e1acab33491c629$export$240a372764fd2451 as getSourceCategoryOptions, $0e1acab33491c629$export$90169ffd4a6ec1f5 as FERMENT_CATEGORIES, $0e1acab33491c629$export$2002190b63448c99 as SOURCE_CATEGORIES, $0e62a2c35fb1f646$export$644d8ea042df96a6 as api, $20eaf1306ff19a16$export$4e09c449d6c407f7 as isBrowser, $20eaf1306ff19a16$export$62858bae88b53fd0 as isDocument, $20eaf1306ff19a16$export$7dd80fbc14cd23b1 as safeWindow, $20eaf1306ff19a16$export$9aee702616bdf23c as safeDocument, $20eaf1306ff19a16$export$2aa78e70b3d79ddc as safeLocalStorage};
|
|
4139
4335
|
//# sourceMappingURL=module.mjs.map
|