@nypl/design-system-react-components 0.25.12 → 0.25.13
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/CHANGELOG.md +63 -1
- package/dist/components/Accordion/Accordion.d.ts +5 -3
- package/dist/components/Accordion/AccordionTypes.d.ts +5 -0
- package/dist/components/Breadcrumbs/Breadcrumbs.d.ts +3 -3
- package/dist/components/Breadcrumbs/BreadcrumbsTypes.d.ts +1 -1
- package/dist/components/Card/Card.d.ts +11 -20
- package/dist/components/Checkbox/Checkbox.d.ts +1 -1
- package/dist/components/CheckboxGroup/CheckboxGroup.d.ts +4 -2
- package/dist/components/Heading/Heading.d.ts +4 -4
- package/dist/components/Heading/HeadingTypes.d.ts +1 -1
- package/dist/components/Hero/Hero.d.ts +7 -4
- package/dist/components/Icons/IconTypes.d.ts +1 -0
- package/dist/components/Image/Image.d.ts +25 -7
- package/dist/components/Image/ImageTypes.d.ts +4 -4
- package/dist/components/Logo/LogoTypes.d.ts +2 -2
- package/dist/components/Notification/Notification.d.ts +4 -4
- package/dist/components/Radio/Radio.d.ts +1 -1
- package/dist/components/RadioGroup/RadioGroup.d.ts +4 -2
- package/dist/components/Select/Select.d.ts +2 -2
- package/dist/components/SkeletonLoader/SkeletonLoader.d.ts +4 -3
- package/dist/components/SkeletonLoader/SkeletonLoaderTypes.d.ts +0 -4
- package/dist/components/StructuredContent/StructuredContent.d.ts +9 -22
- package/dist/components/Tabs/Tabs.d.ts +3 -3
- package/dist/components/Template/Template.d.ts +13 -5
- package/dist/components/Text/Text.d.ts +3 -3
- package/dist/components/Text/TextTypes.d.ts +1 -1
- package/dist/components/TextInput/TextInput.d.ts +2 -2
- package/dist/components/Toggle/Toggle.d.ts +6 -7
- package/dist/components/Toggle/{ToggleSizes.d.ts → ToggleTypes.d.ts} +1 -1
- package/dist/design-system-react-components.cjs.development.js +505 -422
- package/dist/design-system-react-components.cjs.development.js.map +1 -1
- package/dist/design-system-react-components.cjs.production.min.js +1 -1
- package/dist/design-system-react-components.cjs.production.min.js.map +1 -1
- package/dist/design-system-react-components.esm.js +514 -435
- package/dist/design-system-react-components.esm.js.map +1 -1
- package/dist/helpers/enums.d.ts +4 -0
- package/dist/index.d.ts +7 -8
- package/dist/theme/components/accordion.d.ts +7 -12
- package/dist/theme/components/breadcrumb.d.ts +3 -0
- package/dist/theme/components/card.d.ts +4 -4
- package/dist/theme/components/checkbox.d.ts +1 -0
- package/dist/theme/components/checkboxGroup.d.ts +3 -1
- package/dist/theme/components/global.d.ts +2 -1
- package/dist/theme/components/hero.d.ts +1 -1
- package/dist/theme/components/image.d.ts +1 -1
- package/dist/theme/components/notification.d.ts +4 -4
- package/dist/theme/components/pagination.d.ts +2 -5
- package/dist/theme/components/radio.d.ts +1 -0
- package/dist/theme/components/radioGroup.d.ts +3 -1
- package/dist/theme/components/select.d.ts +3 -0
- package/dist/theme/components/toggle.d.ts +13 -1
- package/package.json +1 -1
- package/src/components/AccessibilityGuide/SkipNavigation.stories.mdx +34 -0
- package/src/components/Accordion/Accordion.stories.mdx +150 -66
- package/src/components/Accordion/Accordion.test.tsx +44 -17
- package/src/components/Accordion/Accordion.tsx +50 -20
- package/src/components/Accordion/AccordionTypes.tsx +5 -0
- package/src/components/Accordion/__snapshots__/Accordion.test.tsx.snap +244 -2
- package/src/components/Breadcrumbs/Breadcrumbs.stories.mdx +17 -15
- package/src/components/Breadcrumbs/Breadcrumbs.test.tsx +6 -6
- package/src/components/Breadcrumbs/Breadcrumbs.tsx +6 -6
- package/src/components/Breadcrumbs/BreadcrumbsTypes.tsx +1 -1
- package/src/components/Card/Card.stories.mdx +236 -165
- package/src/components/Card/Card.test.tsx +36 -18
- package/src/components/Card/Card.tsx +84 -59
- package/src/components/Card/__snapshots__/Card.test.tsx.snap +25 -65
- package/src/components/Chakra/Center.stories.mdx +2 -2
- package/src/components/Checkbox/Checkbox.stories.mdx +13 -1
- package/src/components/Checkbox/Checkbox.test.tsx +58 -2
- package/src/components/Checkbox/Checkbox.tsx +6 -1
- package/src/components/Checkbox/__snapshots__/Checkbox.test.tsx.snap +76 -0
- package/src/components/CheckboxGroup/CheckboxGroup.stories.mdx +73 -9
- package/src/components/CheckboxGroup/CheckboxGroup.test.tsx +79 -9
- package/src/components/CheckboxGroup/CheckboxGroup.tsx +10 -7
- package/src/components/CheckboxGroup/__snapshots__/CheckboxGroup.test.tsx.snap +169 -0
- package/src/components/ComponentWrapper/ComponentWrapper.tsx +1 -1
- package/src/components/DatePicker/DatePicker.test.tsx +5 -2
- package/src/components/DatePicker/DatePicker.tsx +5 -2
- package/src/components/Form/Form.stories.mdx +47 -9
- package/src/components/Form/Form.test.tsx +1 -1
- package/src/components/Form/Form.tsx +3 -1
- package/src/components/Grid/SimpleGrid.stories.mdx +53 -35
- package/src/components/Grid/SimpleGrid.test.tsx +15 -9
- package/src/components/Heading/Heading.stories.mdx +21 -23
- package/src/components/Heading/Heading.test.tsx +7 -7
- package/src/components/Heading/Heading.tsx +10 -14
- package/src/components/Heading/HeadingTypes.tsx +1 -1
- package/src/components/Heading/__snapshots__/Heading.test.tsx.snap +1 -1
- package/src/components/Hero/Hero.stories.mdx +27 -27
- package/src/components/Hero/Hero.test.tsx +113 -58
- package/src/components/Hero/Hero.tsx +43 -20
- package/src/components/HorizontalRule/HorizontalRule.test.tsx +6 -4
- package/src/components/HorizontalRule/HorizontalRule.tsx +3 -2
- package/src/components/Icons/Icon.stories.mdx +50 -18
- package/src/components/Icons/Icon.test.tsx +13 -2
- package/src/components/Icons/Icon.tsx +11 -6
- package/src/components/Icons/IconTypes.tsx +1 -0
- package/src/components/Image/Image.stories.mdx +133 -68
- package/src/components/Image/Image.test.tsx +32 -48
- package/src/components/Image/Image.tsx +46 -26
- package/src/components/Image/ImageTypes.ts +4 -4
- package/src/components/Image/__snapshots__/Image.test.tsx.snap +60 -13
- package/src/components/Link/Link.tsx +8 -1
- package/src/components/List/List.stories.mdx +1 -1
- package/src/components/List/List.test.tsx +7 -4
- package/src/components/List/List.tsx +7 -4
- package/src/components/Logo/Logo.stories.mdx +13 -13
- package/src/components/Logo/Logo.test.tsx +12 -2
- package/src/components/Logo/Logo.tsx +10 -5
- package/src/components/Logo/LogoTypes.tsx +1 -1
- package/src/components/Notification/Notification.stories.mdx +5 -5
- package/src/components/Notification/Notification.tsx +10 -10
- package/src/components/Pagination/Pagination.stories.mdx +4 -3
- package/src/components/Pagination/Pagination.test.tsx +30 -2
- package/src/components/Pagination/Pagination.tsx +6 -3
- package/src/components/ProgressIndicator/ProgressIndicator.stories.mdx +1 -1
- package/src/components/ProgressIndicator/ProgressIndicator.test.tsx +6 -2
- package/src/components/ProgressIndicator/ProgressIndicator.tsx +3 -1
- package/src/components/Radio/Radio.stories.mdx +13 -1
- package/src/components/Radio/Radio.test.tsx +56 -2
- package/src/components/Radio/Radio.tsx +6 -1
- package/src/components/Radio/__snapshots__/Radio.test.tsx.snap +61 -0
- package/src/components/RadioGroup/RadioGroup.stories.mdx +73 -9
- package/src/components/RadioGroup/RadioGroup.test.tsx +72 -7
- package/src/components/RadioGroup/RadioGroup.tsx +10 -7
- package/src/components/RadioGroup/__snapshots__/RadioGroup.test.tsx.snap +140 -0
- package/src/components/SearchBar/SearchBar.stories.mdx +1 -1
- package/src/components/SearchBar/SearchBar.tsx +3 -3
- package/src/components/Select/Select.stories.mdx +26 -16
- package/src/components/Select/Select.test.tsx +1 -36
- package/src/components/Select/Select.tsx +4 -16
- package/src/components/SkeletonLoader/SkeletonLoader.stories.mdx +12 -14
- package/src/components/SkeletonLoader/SkeletonLoader.test.tsx +6 -8
- package/src/components/SkeletonLoader/SkeletonLoader.tsx +5 -7
- package/src/components/SkeletonLoader/SkeletonLoaderTypes.tsx +0 -5
- package/src/components/Slider/Slider.stories.mdx +41 -8
- package/src/components/Slider/Slider.tsx +4 -4
- package/src/components/StatusBadge/StatusBadge.test.tsx +3 -1
- package/src/components/StatusBadge/StatusBadge.tsx +1 -1
- package/src/components/StructuredContent/StructuredContent.stories.mdx +103 -54
- package/src/components/StructuredContent/StructuredContent.test.tsx +129 -102
- package/src/components/StructuredContent/StructuredContent.tsx +43 -53
- package/src/components/StyleGuide/ColorCard.tsx +3 -3
- package/src/components/StyleGuide/Typography.stories.mdx +17 -12
- package/src/components/Table/Table.test.tsx +1 -1
- package/src/components/Table/Table.tsx +3 -1
- package/src/components/Tabs/Tabs.stories.mdx +8 -8
- package/src/components/Tabs/Tabs.test.tsx +13 -11
- package/src/components/Tabs/Tabs.tsx +18 -15
- package/src/components/Template/Template.stories.mdx +62 -25
- package/src/components/Template/Template.test.tsx +35 -5
- package/src/components/Template/Template.tsx +26 -13
- package/src/components/Template/__snapshots__/Template.test.tsx.snap +4 -2
- package/src/components/Text/Text.stories.mdx +13 -15
- package/src/components/Text/Text.test.tsx +6 -15
- package/src/components/Text/Text.tsx +7 -12
- package/src/components/Text/TextTypes.tsx +1 -1
- package/src/components/TextInput/TextInput.stories.mdx +9 -9
- package/src/components/TextInput/TextInput.test.tsx +28 -27
- package/src/components/TextInput/TextInput.tsx +4 -4
- package/src/components/Toggle/Toggle.stories.mdx +12 -22
- package/src/components/Toggle/Toggle.test.tsx +15 -2
- package/src/components/Toggle/Toggle.tsx +8 -9
- package/src/components/Toggle/{ToggleSizes.tsx → ToggleTypes.tsx} +1 -1
- package/src/components/Toggle/__snapshots__/Toggle.test.tsx.snap +64 -0
- package/src/components/VideoPlayer/VideoPlayer.test.tsx +18 -6
- package/src/components/VideoPlayer/VideoPlayer.tsx +14 -7
- package/src/docs/{Intro.stories.mdx → Welcome.stories.mdx} +5 -9
- package/src/{components/Card/CardTypes.tsx → helpers/enums.ts} +2 -2
- package/src/hooks/tests/useNYPLTheme.test.tsx +1 -1
- package/src/hooks/useCarouselStyles.stories.mdx +10 -0
- package/src/hooks/useNYPLTheme.ts +1 -1
- package/src/index.ts +7 -14
- package/src/theme/components/accordion.ts +7 -12
- package/src/theme/components/breadcrumb.ts +3 -0
- package/src/theme/components/card.ts +29 -20
- package/src/theme/components/checkboxGroup.ts +3 -1
- package/src/theme/components/global.ts +4 -3
- package/src/theme/components/hero.ts +1 -1
- package/src/theme/components/icon.ts +5 -2
- package/src/theme/components/image.ts +1 -1
- package/src/theme/components/list.ts +1 -1
- package/src/theme/components/notification.ts +5 -5
- package/src/theme/components/pagination.ts +2 -5
- package/src/theme/components/progressIndicator.ts +3 -3
- package/src/theme/components/radioGroup.ts +3 -1
- package/src/theme/components/select.ts +6 -0
- package/src/theme/components/toggle.ts +26 -3
- package/src/utils/componentCategories.ts +27 -19
- package/dist/components/Card/CardTypes.d.ts +0 -4
- package/dist/components/CheckboxGroup/CheckboxGroupLayoutTypes.d.ts +0 -4
- package/dist/components/RadioGroup/RadioGroupLayoutTypes.d.ts +0 -4
- package/src/components/CheckboxGroup/CheckboxGroupLayoutTypes.tsx +0 -4
- package/src/components/RadioGroup/RadioGroupLayoutTypes.tsx +0 -4
|
@@ -12,6 +12,12 @@ var ReactDatePicker = _interopDefault(require('react-datepicker'));
|
|
|
12
12
|
var themeTools = require('@chakra-ui/theme-tools');
|
|
13
13
|
var system = require('@chakra-ui/system');
|
|
14
14
|
|
|
15
|
+
(function (AccordionTypes) {
|
|
16
|
+
AccordionTypes["Default"] = "default";
|
|
17
|
+
AccordionTypes["Warning"] = "warning";
|
|
18
|
+
AccordionTypes["Error"] = "error";
|
|
19
|
+
})(exports.AccordionTypes || (exports.AccordionTypes = {}));
|
|
20
|
+
|
|
15
21
|
function _extends() {
|
|
16
22
|
_extends = Object.assign || function (target) {
|
|
17
23
|
for (var i = 1; i < arguments.length; i++) {
|
|
@@ -108,6 +114,7 @@ function generateUUID() {
|
|
|
108
114
|
})(exports.IconColors || (exports.IconColors = {}));
|
|
109
115
|
|
|
110
116
|
(function (IconSizes) {
|
|
117
|
+
IconSizes["Default"] = "default";
|
|
111
118
|
IconSizes["Small"] = "small";
|
|
112
119
|
IconSizes["Medium"] = "medium";
|
|
113
120
|
IconSizes["Large"] = "large";
|
|
@@ -747,7 +754,7 @@ function SvgDownload(_ref) {
|
|
|
747
754
|
})));
|
|
748
755
|
}
|
|
749
756
|
|
|
750
|
-
var _path$j
|
|
757
|
+
var _path$j;
|
|
751
758
|
|
|
752
759
|
var _excluded$j = ["title", "titleId"];
|
|
753
760
|
|
|
@@ -763,16 +770,15 @@ function SvgErrorFilled(_ref) {
|
|
|
763
770
|
props = _objectWithoutProperties$j(_ref, _excluded$j);
|
|
764
771
|
|
|
765
772
|
return /*#__PURE__*/React.createElement("svg", _extends$k({
|
|
766
|
-
viewBox: "0 0 24
|
|
773
|
+
viewBox: "0 0 24 24",
|
|
767
774
|
xmlns: "http://www.w3.org/2000/svg",
|
|
768
775
|
"aria-labelledby": titleId
|
|
769
776
|
}, props), title ? /*#__PURE__*/React.createElement("title", {
|
|
770
777
|
id: titleId
|
|
771
778
|
}, title) : null, _path$j || (_path$j = /*#__PURE__*/React.createElement("path", {
|
|
772
|
-
|
|
773
|
-
|
|
774
|
-
d: "
|
|
775
|
-
fill: "#fff"
|
|
779
|
+
fillRule: "evenodd",
|
|
780
|
+
clipRule: "evenodd",
|
|
781
|
+
d: "M12 0C5.376 0 0 5.376 0 12s5.376 12 12 12 12-5.376 12-12S18.624 0 12 0zm1.2 13.2h-2.4V6h2.4v7.2zM10.8 18h2.4v-2.4h-2.4V18z"
|
|
776
782
|
})));
|
|
777
783
|
}
|
|
778
784
|
|
|
@@ -952,7 +958,7 @@ function SvgSpeakerNotes(_ref) {
|
|
|
952
958
|
})));
|
|
953
959
|
}
|
|
954
960
|
|
|
955
|
-
var _path$o, _path2$
|
|
961
|
+
var _path$o, _path2$9;
|
|
956
962
|
|
|
957
963
|
var _excluded$q = ["title", "titleId"];
|
|
958
964
|
|
|
@@ -977,13 +983,13 @@ function SvgUtilityAccountFilled(_ref) {
|
|
|
977
983
|
}, title) : null, _path$o || (_path$o = /*#__PURE__*/React.createElement("path", {
|
|
978
984
|
clipRule: "evenodd",
|
|
979
985
|
d: "M18.25 7.866c0 3.136-2.798 5.678-6.25 5.678s-6.25-2.542-6.25-5.678S8.548 2.188 12 2.188s6.25 2.542 6.25 5.678z"
|
|
980
|
-
})), _path2$
|
|
986
|
+
})), _path2$9 || (_path2$9 = /*#__PURE__*/React.createElement("path", {
|
|
981
987
|
clipRule: "evenodd",
|
|
982
988
|
d: "M11.225 12.993c-6.245.466-8.974 5.763-9.23 9.206h20s-3.078-9.78-10.77-9.206z"
|
|
983
989
|
})));
|
|
984
990
|
}
|
|
985
991
|
|
|
986
|
-
var _path$p, _path2$
|
|
992
|
+
var _path$p, _path2$a;
|
|
987
993
|
|
|
988
994
|
var _excluded$r = ["title", "titleId"];
|
|
989
995
|
|
|
@@ -1011,7 +1017,7 @@ function SvgUtilityAccountUnfilled(_ref) {
|
|
|
1011
1017
|
d: "M17.8 7.807c0 2.87-2.558 5.263-5.8 5.263s-5.8-2.393-5.8-5.263S8.758 2.544 12 2.544s5.8 2.393 5.8 5.263z",
|
|
1012
1018
|
fill: "#fff",
|
|
1013
1019
|
stroke: "#000"
|
|
1014
|
-
})), _path2$
|
|
1020
|
+
})), _path2$a || (_path2$a = /*#__PURE__*/React.createElement("path", {
|
|
1015
1021
|
fillRule: "evenodd",
|
|
1016
1022
|
clipRule: "evenodd",
|
|
1017
1023
|
d: "M11.225 13.071c-6.245.466-8.974 5.763-9.23 9.207h20s-3.078-9.78-10.77-9.207z",
|
|
@@ -1090,6 +1096,8 @@ var iconSvgs = {
|
|
|
1090
1096
|
*/
|
|
1091
1097
|
|
|
1092
1098
|
function Icon(props) {
|
|
1099
|
+
var _children$props, _children$props2;
|
|
1100
|
+
|
|
1093
1101
|
var _props$additionalStyl = props.additionalStyles,
|
|
1094
1102
|
additionalStyles = _props$additionalStyl === void 0 ? {} : _props$additionalStyl,
|
|
1095
1103
|
_props$align = props.align,
|
|
@@ -1106,7 +1114,7 @@ function Icon(props) {
|
|
|
1106
1114
|
id = _props$id === void 0 ? generateUUID() : _props$id,
|
|
1107
1115
|
name = props.name,
|
|
1108
1116
|
_props$size = props.size,
|
|
1109
|
-
size = _props$size === void 0 ? exports.IconSizes.
|
|
1117
|
+
size = _props$size === void 0 ? exports.IconSizes.Default : _props$size,
|
|
1110
1118
|
_props$title = props.title,
|
|
1111
1119
|
title = _props$title === void 0 ? name + " icon" : _props$title,
|
|
1112
1120
|
_props$type = props.type,
|
|
@@ -1128,10 +1136,10 @@ function Icon(props) {
|
|
|
1128
1136
|
var childSVG = null; // Component prop validation
|
|
1129
1137
|
|
|
1130
1138
|
if (name && children) {
|
|
1131
|
-
console.warn("Icon
|
|
1139
|
+
console.warn("NYPL Reservoir Icon: Pass in either a `name` prop or an `svg` element " + "child. Do not pass both.");
|
|
1132
1140
|
return null;
|
|
1133
1141
|
} else if (!name && !children) {
|
|
1134
|
-
console.warn("Icon: Pass an icon `name` prop or an SVG child to ensure an icon appears.");
|
|
1142
|
+
console.warn("NYPL Reservoir Icon: Pass an icon `name` prop or an SVG child to " + "ensure an icon appears.");
|
|
1135
1143
|
return null;
|
|
1136
1144
|
} // The user wants to render an existing icon. Load the icon and render it
|
|
1137
1145
|
// as a component through Chakra's Icon component. Otherwise, we're going to
|
|
@@ -1149,10 +1157,10 @@ function Icon(props) {
|
|
|
1149
1157
|
// Apply icon props to the SVG child.
|
|
1150
1158
|
|
|
1151
1159
|
|
|
1152
|
-
if (children.type === "svg" || children.props.type === "svg" || children.props.mdxType === "svg") {
|
|
1160
|
+
if (children.type === "svg" || ((_children$props = children.props) == null ? void 0 : _children$props.type) === "svg" || ((_children$props2 = children.props) == null ? void 0 : _children$props2.mdxType) === "svg") {
|
|
1153
1161
|
childSVG = React.cloneElement(children, _extends({}, iconProps));
|
|
1154
1162
|
} else {
|
|
1155
|
-
console.warn("
|
|
1163
|
+
console.warn("NYPL Reservoir Icon: An `svg` element must be passed to the `Icon` " + "component as its child.");
|
|
1156
1164
|
}
|
|
1157
1165
|
|
|
1158
1166
|
return React.createElement(react.Box, {
|
|
@@ -1184,15 +1192,16 @@ var getIcon = function getIcon(isExpanded, index, id) {
|
|
|
1184
1192
|
*/
|
|
1185
1193
|
|
|
1186
1194
|
|
|
1187
|
-
var
|
|
1188
|
-
var _data;
|
|
1195
|
+
var getElementsFromData = function getElementsFromData(data, id) {
|
|
1196
|
+
var _colorMap, _data;
|
|
1189
1197
|
|
|
1190
1198
|
if (data === void 0) {
|
|
1191
1199
|
data = [];
|
|
1192
1200
|
}
|
|
1193
1201
|
|
|
1194
|
-
// For FAQ-style multiple accordions, the button should be bigger.
|
|
1202
|
+
var colorMap = (_colorMap = {}, _colorMap[exports.AccordionTypes.Default] = "ui.white", _colorMap[exports.AccordionTypes.Warning] = "ui.status.primary", _colorMap[exports.AccordionTypes.Error] = "ui.status.secondary", _colorMap); // For FAQ-style multiple accordions, the button should be bigger.
|
|
1195
1203
|
// Otherwise, use the default.
|
|
1204
|
+
|
|
1196
1205
|
var multiplePadding = ((_data = data) == null ? void 0 : _data.length) > 1 ? 4 : null;
|
|
1197
1206
|
return data.map(function (content, index) {
|
|
1198
1207
|
// This is done to support both string and DOM element input.
|
|
@@ -1211,9 +1220,18 @@ var getElementsFromContentData = function getElementsFromContentData(data, id) {
|
|
|
1211
1220
|
key: index
|
|
1212
1221
|
}, function (_ref) {
|
|
1213
1222
|
var isExpanded = _ref.isExpanded;
|
|
1223
|
+
var bgColorByAccordionType = colorMap[content.accordionType];
|
|
1214
1224
|
return React.createElement(React.Fragment, null, React.createElement(react.AccordionButton, {
|
|
1215
1225
|
id: id + "-button-" + index,
|
|
1216
|
-
padding: multiplePadding
|
|
1226
|
+
padding: multiplePadding,
|
|
1227
|
+
bg: !content.accordionType ? colorMap["default"] : bgColorByAccordionType,
|
|
1228
|
+
_expanded: {
|
|
1229
|
+
bg: !content.accordionType || content.accordionType === "default" ? "ui.gray.light-warm" : bgColorByAccordionType
|
|
1230
|
+
},
|
|
1231
|
+
_hover: {
|
|
1232
|
+
bg: !content.accordionType || content.accordionType === "default" ? "transparent" : bgColorByAccordionType,
|
|
1233
|
+
borderColor: "ui.gray.dark"
|
|
1234
|
+
}
|
|
1217
1235
|
}, React.createElement(react.Box, {
|
|
1218
1236
|
flex: "1",
|
|
1219
1237
|
textAlign: "left"
|
|
@@ -1228,7 +1246,7 @@ var getElementsFromContentData = function getElementsFromContentData(data, id) {
|
|
|
1228
1246
|
|
|
1229
1247
|
|
|
1230
1248
|
function Accordion(props) {
|
|
1231
|
-
var
|
|
1249
|
+
var accordionData = props.accordionData,
|
|
1232
1250
|
_props$id = props.id,
|
|
1233
1251
|
id = _props$id === void 0 ? generateUUID() : _props$id,
|
|
1234
1252
|
_props$isDefaultOpen = props.isDefaultOpen,
|
|
@@ -1239,17 +1257,17 @@ function Accordion(props) {
|
|
|
1239
1257
|
id: id,
|
|
1240
1258
|
defaultIndex: [openFirstAccordion],
|
|
1241
1259
|
allowMultiple: true
|
|
1242
|
-
},
|
|
1260
|
+
}, getElementsFromData(accordionData, id));
|
|
1243
1261
|
}
|
|
1244
1262
|
|
|
1245
|
-
(function (
|
|
1246
|
-
|
|
1247
|
-
|
|
1248
|
-
|
|
1249
|
-
|
|
1250
|
-
|
|
1251
|
-
|
|
1252
|
-
})(exports.
|
|
1263
|
+
(function (BreadcrumbsTypes) {
|
|
1264
|
+
BreadcrumbsTypes["Blogs"] = "blogs";
|
|
1265
|
+
BreadcrumbsTypes["BooksAndMore"] = "booksAndMore";
|
|
1266
|
+
BreadcrumbsTypes["Education"] = "education";
|
|
1267
|
+
BreadcrumbsTypes["Locations"] = "locations";
|
|
1268
|
+
BreadcrumbsTypes["Research"] = "research";
|
|
1269
|
+
BreadcrumbsTypes["WhatsOn"] = "whatsOn";
|
|
1270
|
+
})(exports.BreadcrumbsTypes || (exports.BreadcrumbsTypes = {}));
|
|
1253
1271
|
|
|
1254
1272
|
// Utility functions to use throughout the codebase
|
|
1255
1273
|
|
|
@@ -1291,7 +1309,7 @@ var getVariant = function getVariant(variant, collection, fallback) {
|
|
|
1291
1309
|
return variantMap[variant] || fallback;
|
|
1292
1310
|
};
|
|
1293
1311
|
|
|
1294
|
-
var getElementsFromData = function getElementsFromData(data, breadcrumbsID) {
|
|
1312
|
+
var getElementsFromData$1 = function getElementsFromData(data, breadcrumbsID) {
|
|
1295
1313
|
if (!(data != null && data.length)) {
|
|
1296
1314
|
return {};
|
|
1297
1315
|
}
|
|
@@ -1320,14 +1338,14 @@ function Breadcrumbs(props) {
|
|
|
1320
1338
|
var _props$additionalStyl = props.additionalStyles,
|
|
1321
1339
|
additionalStyles = _props$additionalStyl === void 0 ? {} : _props$additionalStyl,
|
|
1322
1340
|
breadcrumbsData = props.breadcrumbsData,
|
|
1341
|
+
breadcrumbsType = props.breadcrumbsType,
|
|
1323
1342
|
className = props.className,
|
|
1324
|
-
colorVariant = props.colorVariant,
|
|
1325
1343
|
_props$id = props.id,
|
|
1326
1344
|
id = _props$id === void 0 ? generateUUID() : _props$id;
|
|
1327
|
-
var variant = getVariant(
|
|
1345
|
+
var variant = getVariant(breadcrumbsType, exports.BreadcrumbsTypes);
|
|
1328
1346
|
|
|
1329
1347
|
if (!breadcrumbsData || breadcrumbsData.length === 0) {
|
|
1330
|
-
throw new Error("
|
|
1348
|
+
throw new Error("NYPL Reservoir Breadcrumbs: No data was passed to the `breadcrumbsData` prop.");
|
|
1331
1349
|
}
|
|
1332
1350
|
|
|
1333
1351
|
var styles = react.useStyleConfig("Breadcrumb", {
|
|
@@ -1336,7 +1354,7 @@ function Breadcrumbs(props) {
|
|
|
1336
1354
|
|
|
1337
1355
|
var finalStyles = _extends({}, styles, additionalStyles);
|
|
1338
1356
|
|
|
1339
|
-
var breadcrumbItems = getElementsFromData(breadcrumbsData, id);
|
|
1357
|
+
var breadcrumbItems = getElementsFromData$1(breadcrumbsData, id);
|
|
1340
1358
|
var ariaAttrs = {
|
|
1341
1359
|
"aria-label": "Breadcrumb"
|
|
1342
1360
|
};
|
|
@@ -1416,17 +1434,17 @@ function Button(props) {
|
|
|
1416
1434
|
}, attributes, btnCallback), children);
|
|
1417
1435
|
}
|
|
1418
1436
|
|
|
1419
|
-
(function (
|
|
1420
|
-
|
|
1421
|
-
|
|
1422
|
-
})(exports.
|
|
1437
|
+
(function (LayoutTypes) {
|
|
1438
|
+
LayoutTypes["Column"] = "column";
|
|
1439
|
+
LayoutTypes["Row"] = "row";
|
|
1440
|
+
})(exports.LayoutTypes || (exports.LayoutTypes = {}));
|
|
1423
1441
|
|
|
1424
|
-
(function (
|
|
1425
|
-
|
|
1426
|
-
|
|
1427
|
-
|
|
1428
|
-
|
|
1429
|
-
})(exports.
|
|
1442
|
+
(function (HeadingSizes) {
|
|
1443
|
+
HeadingSizes["Primary"] = "primary";
|
|
1444
|
+
HeadingSizes["Secondary"] = "secondary";
|
|
1445
|
+
HeadingSizes["Tertiary"] = "tertiary";
|
|
1446
|
+
HeadingSizes["Callout"] = "callout";
|
|
1447
|
+
})(exports.HeadingSizes || (exports.HeadingSizes = {}));
|
|
1430
1448
|
|
|
1431
1449
|
(function (HeadingLevels) {
|
|
1432
1450
|
HeadingLevels["One"] = "one";
|
|
@@ -1471,7 +1489,8 @@ function getWithDirectionIcon(children, type, linkId) {
|
|
|
1471
1489
|
className: "more-link",
|
|
1472
1490
|
iconRotation: iconRotation,
|
|
1473
1491
|
id: iconId,
|
|
1474
|
-
name: exports.IconNames.Arrow
|
|
1492
|
+
name: exports.IconNames.Arrow,
|
|
1493
|
+
size: exports.IconSizes.Medium
|
|
1475
1494
|
});
|
|
1476
1495
|
return React.createElement(React.Fragment, null, type === exports.LinkTypes.Backwards && icon, children, type === exports.LinkTypes.Forwards && icon);
|
|
1477
1496
|
}
|
|
@@ -1482,7 +1501,8 @@ function getExternalIcon(children, linkId) {
|
|
|
1482
1501
|
align: exports.IconAlign.Right,
|
|
1483
1502
|
className: "more-link",
|
|
1484
1503
|
id: iconId,
|
|
1485
|
-
name: exports.IconNames.ActionLaunch
|
|
1504
|
+
name: exports.IconNames.ActionLaunch,
|
|
1505
|
+
size: exports.IconSizes.Medium
|
|
1486
1506
|
});
|
|
1487
1507
|
return React.createElement(React.Fragment, null, children, icon);
|
|
1488
1508
|
}
|
|
@@ -1591,16 +1611,16 @@ function Heading(props) {
|
|
|
1591
1611
|
var _props$additionalStyl = props.additionalStyles,
|
|
1592
1612
|
additionalStyles = _props$additionalStyl === void 0 ? {} : _props$additionalStyl,
|
|
1593
1613
|
className = props.className,
|
|
1594
|
-
displaySize = props.displaySize,
|
|
1595
1614
|
_props$id = props.id,
|
|
1596
1615
|
id = _props$id === void 0 ? generateUUID() : _props$id,
|
|
1597
1616
|
_props$level = props.level,
|
|
1598
1617
|
level = _props$level === void 0 ? exports.HeadingLevels.Two : _props$level,
|
|
1618
|
+
size = props.size,
|
|
1599
1619
|
text = props.text,
|
|
1600
1620
|
url = props.url,
|
|
1601
1621
|
urlClass = props.urlClass;
|
|
1602
1622
|
var finalLevel = getMappedLevel(level);
|
|
1603
|
-
var variant =
|
|
1623
|
+
var variant = size ? getVariant(size, exports.HeadingSizes) : "h" + finalLevel;
|
|
1604
1624
|
var styles = react.useStyleConfig("Heading", {
|
|
1605
1625
|
variant: variant
|
|
1606
1626
|
}); // Combine native base styles with any additional styles.
|
|
@@ -1611,15 +1631,12 @@ function Heading(props) {
|
|
|
1611
1631
|
var asHeading = "h" + finalLevel;
|
|
1612
1632
|
|
|
1613
1633
|
if (!props.children && !text) {
|
|
1614
|
-
throw new Error("Heading
|
|
1634
|
+
throw new Error("NYPL Reservoir Heading: No children or value was passed to the `text` prop.");
|
|
1615
1635
|
}
|
|
1616
1636
|
|
|
1617
1637
|
if (React.Children.count(props.children) > 1) {
|
|
1618
|
-
|
|
1619
|
-
|
|
1620
|
-
}); // Catching the error because React's error isn't as helpful.
|
|
1621
|
-
|
|
1622
|
-
throw new Error("Please only pass one child into Heading, got " + children.join(", "));
|
|
1638
|
+
// Catching the error because React's error isn't as helpful.
|
|
1639
|
+
throw new Error("NYPL Reservoir Heading: Only pass one child into Heading.");
|
|
1623
1640
|
}
|
|
1624
1641
|
|
|
1625
1642
|
var contentToRender = props.children ? props.children : text;
|
|
@@ -1649,11 +1666,11 @@ function Heading(props) {
|
|
|
1649
1666
|
|
|
1650
1667
|
(function (ImageSizes) {
|
|
1651
1668
|
ImageSizes["Default"] = "default";
|
|
1652
|
-
ImageSizes["Large"] = "large";
|
|
1653
|
-
ImageSizes["Medium"] = "medium";
|
|
1654
|
-
ImageSizes["Small"] = "small";
|
|
1655
|
-
ImageSizes["ExtraSmall"] = "xsmall";
|
|
1656
1669
|
ImageSizes["ExtraExtraSmall"] = "xxsmall";
|
|
1670
|
+
ImageSizes["ExtraSmall"] = "xsmall";
|
|
1671
|
+
ImageSizes["Small"] = "small";
|
|
1672
|
+
ImageSizes["Medium"] = "medium";
|
|
1673
|
+
ImageSizes["Large"] = "large";
|
|
1657
1674
|
})(exports.ImageSizes || (exports.ImageSizes = {}));
|
|
1658
1675
|
|
|
1659
1676
|
(function (ImageTypes) {
|
|
@@ -1667,13 +1684,13 @@ function ImageWrapper(props) {
|
|
|
1667
1684
|
_props$className = props.className,
|
|
1668
1685
|
className = _props$className === void 0 ? "" : _props$className,
|
|
1669
1686
|
children = props.children,
|
|
1670
|
-
_props$
|
|
1671
|
-
|
|
1672
|
-
_props$
|
|
1673
|
-
|
|
1687
|
+
_props$aspectRatio = props.aspectRatio,
|
|
1688
|
+
aspectRatio = _props$aspectRatio === void 0 ? exports.ImageRatios.Original : _props$aspectRatio,
|
|
1689
|
+
_props$size = props.size,
|
|
1690
|
+
size = _props$size === void 0 ? exports.ImageSizes.Default : _props$size;
|
|
1674
1691
|
var styles = react.useMultiStyleConfig("CustomImageWrapper", {
|
|
1675
|
-
ratio:
|
|
1676
|
-
size:
|
|
1692
|
+
ratio: aspectRatio,
|
|
1693
|
+
size: size
|
|
1677
1694
|
});
|
|
1678
1695
|
return React.createElement(react.Box, {
|
|
1679
1696
|
className: "the-wrap " + className,
|
|
@@ -1692,26 +1709,26 @@ function Image(props) {
|
|
|
1692
1709
|
_props$additionalWrap2 = props.additionalWrapperStyles,
|
|
1693
1710
|
additionalWrapperStyles = _props$additionalWrap2 === void 0 ? {} : _props$additionalWrap2,
|
|
1694
1711
|
alt = props.alt,
|
|
1712
|
+
_props$aspectRatio2 = props.aspectRatio,
|
|
1713
|
+
aspectRatio = _props$aspectRatio2 === void 0 ? exports.ImageRatios.Original : _props$aspectRatio2,
|
|
1714
|
+
caption = props.caption,
|
|
1695
1715
|
_props$className2 = props.className,
|
|
1696
1716
|
className = _props$className2 === void 0 ? "" : _props$className2,
|
|
1697
1717
|
component = props.component,
|
|
1698
|
-
|
|
1699
|
-
imageAspectRatio = _props$imageAspectRat2 === void 0 ? exports.ImageRatios.Original : _props$imageAspectRat2,
|
|
1700
|
-
imageCaption = props.imageCaption,
|
|
1701
|
-
imageCredit = props.imageCredit,
|
|
1702
|
-
_props$imageSize2 = props.imageSize,
|
|
1703
|
-
imageSize = _props$imageSize2 === void 0 ? exports.ImageSizes.Default : _props$imageSize2,
|
|
1718
|
+
credit = props.credit,
|
|
1704
1719
|
_props$imageType = props.imageType,
|
|
1705
1720
|
imageType = _props$imageType === void 0 ? exports.ImageTypes.Default : _props$imageType,
|
|
1721
|
+
_props$size2 = props.size,
|
|
1722
|
+
size = _props$size2 === void 0 ? exports.ImageSizes.Default : _props$size2,
|
|
1706
1723
|
src = props.src;
|
|
1707
|
-
var useImageWrapper =
|
|
1724
|
+
var useImageWrapper = aspectRatio !== exports.ImageRatios.Original;
|
|
1708
1725
|
var styles = react.useMultiStyleConfig("CustomImage", {
|
|
1709
1726
|
variant: imageType,
|
|
1710
|
-
size:
|
|
1727
|
+
size: size
|
|
1711
1728
|
});
|
|
1712
1729
|
|
|
1713
1730
|
if (alt && alt.length > 300) {
|
|
1714
|
-
throw new Error("Alt
|
|
1731
|
+
throw new Error("NYPL Reservoir Image: Alt text must be less than 300 characters.");
|
|
1715
1732
|
}
|
|
1716
1733
|
|
|
1717
1734
|
var imageComponent = component ? component : React.createElement(react.Box, {
|
|
@@ -1721,22 +1738,54 @@ function Image(props) {
|
|
|
1721
1738
|
__css: _extends({}, styles.img, additionalImageStyles)
|
|
1722
1739
|
});
|
|
1723
1740
|
var finalImage = useImageWrapper ? React.createElement(ImageWrapper, {
|
|
1741
|
+
additionalWrapperStyles: additionalWrapperStyles,
|
|
1742
|
+
aspectRatio: aspectRatio,
|
|
1724
1743
|
className: className,
|
|
1725
|
-
|
|
1726
|
-
imageSize: imageSize,
|
|
1727
|
-
additionalWrapperStyles: additionalWrapperStyles
|
|
1744
|
+
size: size
|
|
1728
1745
|
}, imageComponent) : imageComponent;
|
|
1729
|
-
return
|
|
1746
|
+
return caption || credit ? React.createElement(react.Box, {
|
|
1730
1747
|
as: "figure",
|
|
1731
1748
|
__css: _extends({}, styles.figure, additionalFigureStyles)
|
|
1732
1749
|
}, finalImage, React.createElement(react.Box, {
|
|
1733
1750
|
as: "figcaption",
|
|
1734
1751
|
__css: styles.figcaption
|
|
1735
|
-
},
|
|
1752
|
+
}, caption && React.createElement(react.Box, {
|
|
1736
1753
|
__css: styles.captionWrappers
|
|
1737
|
-
},
|
|
1754
|
+
}, caption), credit && React.createElement(react.Box, {
|
|
1738
1755
|
__css: styles.captionWrappers
|
|
1739
|
-
},
|
|
1756
|
+
}, credit))) : finalImage;
|
|
1757
|
+
}
|
|
1758
|
+
|
|
1759
|
+
/**
|
|
1760
|
+
* React hook used to get the window size on device resizing.
|
|
1761
|
+
* Based on https://usehooks-typescript.com/react-hook/use-window-size
|
|
1762
|
+
*/
|
|
1763
|
+
|
|
1764
|
+
function useWindowSize() {
|
|
1765
|
+
var _React$useState = React__default.useState({
|
|
1766
|
+
width: 0,
|
|
1767
|
+
height: 0
|
|
1768
|
+
}),
|
|
1769
|
+
windowSize = _React$useState[0],
|
|
1770
|
+
setWindowSize = _React$useState[1];
|
|
1771
|
+
|
|
1772
|
+
React__default.useEffect(function () {
|
|
1773
|
+
var handler = function handler() {
|
|
1774
|
+
setWindowSize({
|
|
1775
|
+
width: window.innerWidth,
|
|
1776
|
+
height: window.innerHeight
|
|
1777
|
+
});
|
|
1778
|
+
}; // Set size at the first client-side load
|
|
1779
|
+
|
|
1780
|
+
|
|
1781
|
+
handler();
|
|
1782
|
+
window.addEventListener("resize", handler); // Remove event listener on cleanup
|
|
1783
|
+
|
|
1784
|
+
return function () {
|
|
1785
|
+
window.removeEventListener("resize", handler);
|
|
1786
|
+
};
|
|
1787
|
+
}, []);
|
|
1788
|
+
return windowSize;
|
|
1740
1789
|
}
|
|
1741
1790
|
|
|
1742
1791
|
/**
|
|
@@ -1747,27 +1796,31 @@ function Image(props) {
|
|
|
1747
1796
|
|
|
1748
1797
|
function CardImage(props) {
|
|
1749
1798
|
var alt = props.alt,
|
|
1750
|
-
|
|
1799
|
+
aspectRatio = props.aspectRatio,
|
|
1800
|
+
caption = props.caption,
|
|
1751
1801
|
component = props.component,
|
|
1752
|
-
|
|
1753
|
-
|
|
1754
|
-
|
|
1755
|
-
|
|
1756
|
-
|
|
1802
|
+
credit = props.credit,
|
|
1803
|
+
isAtEnd = props.isAtEnd,
|
|
1804
|
+
isCentered = props.isCentered,
|
|
1805
|
+
layout = props.layout,
|
|
1806
|
+
size = props.size,
|
|
1807
|
+
src = props.src; // Additional styles to add to the `Image` component.
|
|
1757
1808
|
|
|
1758
1809
|
var styles = react.useStyleConfig("CardImage", {
|
|
1759
|
-
|
|
1760
|
-
|
|
1761
|
-
|
|
1810
|
+
imageIsAtEnd: isAtEnd,
|
|
1811
|
+
isCentered: isCentered,
|
|
1812
|
+
size: size,
|
|
1762
1813
|
layout: layout
|
|
1763
1814
|
});
|
|
1764
1815
|
return React.createElement(react.Box, {
|
|
1765
1816
|
__css: styles
|
|
1766
1817
|
}, React.createElement(Image, {
|
|
1767
1818
|
alt: alt,
|
|
1819
|
+
caption: caption,
|
|
1768
1820
|
component: component,
|
|
1769
|
-
|
|
1770
|
-
|
|
1821
|
+
credit: credit,
|
|
1822
|
+
aspectRatio: aspectRatio,
|
|
1823
|
+
size: size,
|
|
1771
1824
|
src: src
|
|
1772
1825
|
}));
|
|
1773
1826
|
} // CardHeading child-component
|
|
@@ -1786,14 +1839,14 @@ function CardContent(props) {
|
|
|
1786
1839
|
function CardActions(props) {
|
|
1787
1840
|
var bottomBorder = props.bottomBorder,
|
|
1788
1841
|
children = props.children,
|
|
1789
|
-
|
|
1790
|
-
|
|
1791
|
-
|
|
1842
|
+
isCentered = props.isCentered,
|
|
1843
|
+
layout = props.layout,
|
|
1844
|
+
topBorder = props.topBorder;
|
|
1792
1845
|
var styles = react.useStyleConfig("CardActions", {
|
|
1793
1846
|
bottomBorder: bottomBorder,
|
|
1794
|
-
|
|
1795
|
-
|
|
1796
|
-
|
|
1847
|
+
isCentered: isCentered,
|
|
1848
|
+
layout: layout,
|
|
1849
|
+
topBorder: topBorder
|
|
1797
1850
|
});
|
|
1798
1851
|
return children && React.createElement(react.Box, {
|
|
1799
1852
|
__css: styles
|
|
@@ -1830,42 +1883,61 @@ function CardLinkOverlay(_ref2) {
|
|
|
1830
1883
|
function Card(props) {
|
|
1831
1884
|
var backgroundColor = props.backgroundColor,
|
|
1832
1885
|
border = props.border,
|
|
1833
|
-
_props$center = props.center,
|
|
1834
|
-
center = _props$center === void 0 ? false : _props$center,
|
|
1835
1886
|
children = props.children,
|
|
1836
1887
|
className = props.className,
|
|
1837
1888
|
foregroundColor = props.foregroundColor,
|
|
1838
1889
|
_props$id = props.id,
|
|
1839
1890
|
id = _props$id === void 0 ? generateUUID() : _props$id,
|
|
1840
|
-
_props$
|
|
1841
|
-
|
|
1842
|
-
|
|
1843
|
-
|
|
1844
|
-
|
|
1845
|
-
|
|
1846
|
-
|
|
1847
|
-
|
|
1848
|
-
|
|
1891
|
+
_props$imageProps = props.imageProps,
|
|
1892
|
+
imageProps = _props$imageProps === void 0 ? {
|
|
1893
|
+
alt: "",
|
|
1894
|
+
aspectRatio: exports.ImageRatios.Square,
|
|
1895
|
+
caption: undefined,
|
|
1896
|
+
component: undefined,
|
|
1897
|
+
credit: undefined,
|
|
1898
|
+
isAtEnd: false,
|
|
1899
|
+
size: exports.ImageSizes.Default,
|
|
1900
|
+
src: ""
|
|
1901
|
+
} : _props$imageProps,
|
|
1902
|
+
_props$isCentered = props.isCentered,
|
|
1903
|
+
isCentered = _props$isCentered === void 0 ? false : _props$isCentered,
|
|
1849
1904
|
_props$layout = props.layout,
|
|
1850
|
-
layout = _props$layout === void 0 ? exports.
|
|
1905
|
+
layout = _props$layout === void 0 ? exports.LayoutTypes.Column : _props$layout,
|
|
1851
1906
|
mainActionLink = props.mainActionLink;
|
|
1852
|
-
var hasImage =
|
|
1853
|
-
|
|
1907
|
+
var hasImage = imageProps.src || imageProps.component;
|
|
1908
|
+
|
|
1909
|
+
var _React$useState = React.useState(imageProps.size),
|
|
1910
|
+
finalImageSize = _React$useState[0],
|
|
1911
|
+
setFinalImageSize = _React$useState[1];
|
|
1912
|
+
|
|
1913
|
+
var finalImageAspectRatio = imageProps.component ? exports.ImageRatios.Original : imageProps.aspectRatio;
|
|
1854
1914
|
var customColors = {};
|
|
1855
1915
|
var cardContents = [];
|
|
1916
|
+
var windowDimensions = useWindowSize();
|
|
1856
1917
|
var cardHeadingCount = 0;
|
|
1857
1918
|
|
|
1858
|
-
if (
|
|
1859
|
-
console.warn("Both `
|
|
1860
|
-
}
|
|
1919
|
+
if (imageProps.component && imageProps.aspectRatio !== exports.ImageRatios.Square) {
|
|
1920
|
+
console.warn("NYPL Reservoir Card: Both the `imageProps.component` and `imageProps.aspectRatio` " + "props were set but `imageProps.aspectRatio` will be ignored in favor " + "of the aspect ratio on `imageProps.component` prop.");
|
|
1921
|
+
} // The `Card`'s image should always display as 100% width on mobile. To
|
|
1922
|
+
// achieve this, we set the size to `ImageSizes.Default` only when the
|
|
1923
|
+
// viewport is less than "600px". Otherwise, we set the size to
|
|
1924
|
+
// the value passed in via `imageSize`.
|
|
1925
|
+
|
|
1861
1926
|
|
|
1927
|
+
React.useEffect(function () {
|
|
1928
|
+
if (windowDimensions.width < 600) {
|
|
1929
|
+
setFinalImageSize(exports.ImageSizes.Default);
|
|
1930
|
+
} else {
|
|
1931
|
+
setFinalImageSize(imageProps.size);
|
|
1932
|
+
}
|
|
1933
|
+
}, [windowDimensions.width, imageProps.size]);
|
|
1862
1934
|
backgroundColor && (customColors["backgroundColor"] = backgroundColor);
|
|
1863
1935
|
foregroundColor && (customColors["color"] = foregroundColor);
|
|
1864
1936
|
var styles = react.useMultiStyleConfig("Card", {
|
|
1865
1937
|
border: border,
|
|
1866
|
-
center: center,
|
|
1867
1938
|
hasImage: hasImage,
|
|
1868
|
-
|
|
1939
|
+
imageIsAtEnd: imageProps.isAtEnd,
|
|
1940
|
+
isCentered: isCentered,
|
|
1869
1941
|
layout: layout,
|
|
1870
1942
|
mainActionLink: mainActionLink
|
|
1871
1943
|
});
|
|
@@ -1882,7 +1954,7 @@ function Card(props) {
|
|
|
1882
1954
|
var elem = React.cloneElement(child, {
|
|
1883
1955
|
additionalStyles: _extends({}, styles.heading, child.props.additionalStyles),
|
|
1884
1956
|
key: key,
|
|
1885
|
-
|
|
1957
|
+
isCentered: isCentered,
|
|
1886
1958
|
// Override the child text with the potential `CardLinkOverlay`.
|
|
1887
1959
|
children: newChildren,
|
|
1888
1960
|
layout: layout
|
|
@@ -1892,7 +1964,7 @@ function Card(props) {
|
|
|
1892
1964
|
} else if (child.type === CardContent || child.props.mdxType === "CardContent" || child.type === CardActions || child.props.mdxType === "CardActions") {
|
|
1893
1965
|
var _elem = React.cloneElement(child, {
|
|
1894
1966
|
key: key,
|
|
1895
|
-
|
|
1967
|
+
isCentered: isCentered,
|
|
1896
1968
|
layout: layout
|
|
1897
1969
|
});
|
|
1898
1970
|
|
|
@@ -1906,13 +1978,15 @@ function Card(props) {
|
|
|
1906
1978
|
className: className,
|
|
1907
1979
|
__css: _extends({}, styles, customColors)
|
|
1908
1980
|
}, hasImage && React.createElement(CardImage, {
|
|
1909
|
-
|
|
1910
|
-
|
|
1911
|
-
|
|
1912
|
-
|
|
1913
|
-
|
|
1914
|
-
|
|
1915
|
-
layout: layout
|
|
1981
|
+
alt: imageProps.alt,
|
|
1982
|
+
aspectRatio: finalImageAspectRatio,
|
|
1983
|
+
caption: imageProps.caption,
|
|
1984
|
+
component: imageProps.component,
|
|
1985
|
+
credit: imageProps.credit,
|
|
1986
|
+
isAtEnd: imageProps.isAtEnd,
|
|
1987
|
+
layout: layout,
|
|
1988
|
+
size: finalImageSize,
|
|
1989
|
+
src: imageProps.src ? imageProps.src : undefined
|
|
1916
1990
|
}), React.createElement(react.Box, {
|
|
1917
1991
|
className: "card-body",
|
|
1918
1992
|
__css: styles.body
|
|
@@ -2009,6 +2083,10 @@ var Checkbox = /*#__PURE__*/React.forwardRef(function (props, ref) {
|
|
|
2009
2083
|
var icon = !isIndeterminate ? React.createElement(CheckboxIcon, null) : undefined;
|
|
2010
2084
|
|
|
2011
2085
|
if (!showLabel) {
|
|
2086
|
+
if (typeof labelText !== "string") {
|
|
2087
|
+
console.warn("NYPL Reservoir Checkbox: `labelText` must be a string when `showLabel` is false.");
|
|
2088
|
+
}
|
|
2089
|
+
|
|
2012
2090
|
ariaAttributes["aria-label"] = labelText && footnote ? labelText + " - " + footnote : labelText;
|
|
2013
2091
|
} else {
|
|
2014
2092
|
if (footnote) ariaAttributes["aria-describedby"] = id + "-helperText";
|
|
@@ -2042,11 +2120,6 @@ var Checkbox = /*#__PURE__*/React.forwardRef(function (props, ref) {
|
|
|
2042
2120
|
})));
|
|
2043
2121
|
});
|
|
2044
2122
|
|
|
2045
|
-
(function (CheckboxGroupLayoutTypes) {
|
|
2046
|
-
CheckboxGroupLayoutTypes["Column"] = "column";
|
|
2047
|
-
CheckboxGroupLayoutTypes["Row"] = "row";
|
|
2048
|
-
})(exports.CheckboxGroupLayoutTypes || (exports.CheckboxGroupLayoutTypes = {}));
|
|
2049
|
-
|
|
2050
2123
|
/**
|
|
2051
2124
|
* A wrapper component that renders a `fieldset` element along with a `legend`
|
|
2052
2125
|
* element as its first child. Commonly used to wrap form components.
|
|
@@ -2183,13 +2256,15 @@ var CheckboxGroup = /*#__PURE__*/React.forwardRef(function (props, ref) {
|
|
|
2183
2256
|
invalidText = props.invalidText,
|
|
2184
2257
|
_props$isDisabled = props.isDisabled,
|
|
2185
2258
|
isDisabled = _props$isDisabled === void 0 ? false : _props$isDisabled,
|
|
2259
|
+
_props$isFullWidth = props.isFullWidth,
|
|
2260
|
+
isFullWidth = _props$isFullWidth === void 0 ? false : _props$isFullWidth,
|
|
2186
2261
|
_props$isInvalid = props.isInvalid,
|
|
2187
2262
|
isInvalid = _props$isInvalid === void 0 ? false : _props$isInvalid,
|
|
2188
2263
|
_props$isRequired = props.isRequired,
|
|
2189
2264
|
isRequired = _props$isRequired === void 0 ? false : _props$isRequired,
|
|
2190
2265
|
labelText = props.labelText,
|
|
2191
2266
|
_props$layout = props.layout,
|
|
2192
|
-
layout = _props$layout === void 0 ? exports.
|
|
2267
|
+
layout = _props$layout === void 0 ? exports.LayoutTypes.Column : _props$layout,
|
|
2193
2268
|
name = props.name,
|
|
2194
2269
|
onChange = props.onChange,
|
|
2195
2270
|
_props$optReqFlag = props.optReqFlag,
|
|
@@ -2199,7 +2274,7 @@ var CheckboxGroup = /*#__PURE__*/React.forwardRef(function (props, ref) {
|
|
|
2199
2274
|
_props$showLabel = props.showLabel,
|
|
2200
2275
|
showLabel = _props$showLabel === void 0 ? true : _props$showLabel;
|
|
2201
2276
|
var footnote = isInvalid ? invalidText : helperText;
|
|
2202
|
-
var spacingProp = layout === exports.
|
|
2277
|
+
var spacingProp = layout === exports.LayoutTypes.Column ? spacing.s : spacing.l;
|
|
2203
2278
|
var newChildren = [];
|
|
2204
2279
|
var checkboxProps = defaultValue && onChange ? {
|
|
2205
2280
|
defaultValue: defaultValue,
|
|
@@ -2210,7 +2285,7 @@ var CheckboxGroup = /*#__PURE__*/React.forwardRef(function (props, ref) {
|
|
|
2210
2285
|
if (child.type !== Checkbox) {
|
|
2211
2286
|
// Special case for Storybook MDX documentation.
|
|
2212
2287
|
if (child.props.mdxType && child.props.mdxType === "Checkbox") ; else {
|
|
2213
|
-
console.warn("Only `Checkbox` components are
|
|
2288
|
+
console.warn("NYPL Reservoir CheckboxGroup: Only `Checkbox` components are " + "allowed as children.");
|
|
2214
2289
|
}
|
|
2215
2290
|
}
|
|
2216
2291
|
|
|
@@ -2227,7 +2302,9 @@ var CheckboxGroup = /*#__PURE__*/React.forwardRef(function (props, ref) {
|
|
|
2227
2302
|
}
|
|
2228
2303
|
}); // Get the Chakra-based styles for the custom elements in this component.
|
|
2229
2304
|
|
|
2230
|
-
var styles = react.useMultiStyleConfig("CheckboxGroup", {
|
|
2305
|
+
var styles = react.useMultiStyleConfig("CheckboxGroup", {
|
|
2306
|
+
isFullWidth: isFullWidth
|
|
2307
|
+
});
|
|
2231
2308
|
return React.createElement(Fieldset, {
|
|
2232
2309
|
id: id + "-checkbox-group",
|
|
2233
2310
|
isLegendHidden: !showLabel,
|
|
@@ -2306,7 +2383,7 @@ function FormRow(props) {
|
|
|
2306
2383
|
});
|
|
2307
2384
|
}
|
|
2308
2385
|
|
|
2309
|
-
console.warn("FormRow
|
|
2386
|
+
console.warn("NYPL Reservoir FormRow: Children must be `FormField` components.");
|
|
2310
2387
|
return null;
|
|
2311
2388
|
});
|
|
2312
2389
|
return React.createElement(SimpleGrid, {
|
|
@@ -2413,6 +2490,7 @@ var checkboxRadioLabelStyles = {
|
|
|
2413
2490
|
fontWeight: "text.default",
|
|
2414
2491
|
marginBottom: "0",
|
|
2415
2492
|
marginLeft: "xs",
|
|
2493
|
+
width: "100%",
|
|
2416
2494
|
_disabled: {
|
|
2417
2495
|
color: "ui.gray.dark",
|
|
2418
2496
|
opacity: 1,
|
|
@@ -2436,15 +2514,22 @@ var checkboxRadioHelperStyle = /*#__PURE__*/_extends({}, helperTextMargin, {
|
|
|
2436
2514
|
}
|
|
2437
2515
|
});
|
|
2438
2516
|
|
|
2439
|
-
var checkboxRadioGroupStyles = {
|
|
2440
|
-
|
|
2441
|
-
|
|
2442
|
-
},
|
|
2443
|
-
stack: {
|
|
2444
|
-
width: "fit-content"
|
|
2517
|
+
var checkboxRadioGroupStyles = function checkboxRadioGroupStyles(isFullWidth) {
|
|
2518
|
+
if (isFullWidth === void 0) {
|
|
2519
|
+
isFullWidth = false;
|
|
2445
2520
|
}
|
|
2521
|
+
|
|
2522
|
+
return {
|
|
2523
|
+
helper: {
|
|
2524
|
+
marginTop: "s"
|
|
2525
|
+
},
|
|
2526
|
+
stack: {
|
|
2527
|
+
width: isFullWidth ? "100%" : "fit-content"
|
|
2528
|
+
}
|
|
2529
|
+
};
|
|
2446
2530
|
}; // Used in `Label` and `Fieldset`.
|
|
2447
2531
|
|
|
2532
|
+
|
|
2448
2533
|
var labelLegendText = {
|
|
2449
2534
|
alignItems: "baseline",
|
|
2450
2535
|
width: "100%",
|
|
@@ -2576,13 +2661,13 @@ var TextInput = /*#__PURE__*/React.forwardRef(function (props, ref) {
|
|
|
2576
2661
|
showOptReqLabel = _props$showOptReqLabe === void 0 ? true : _props$showOptReqLabe,
|
|
2577
2662
|
_props$step = props.step,
|
|
2578
2663
|
step = _props$step === void 0 ? 1 : _props$step,
|
|
2664
|
+
_props$textInputType = props.textInputType,
|
|
2665
|
+
textInputType = _props$textInputType === void 0 ? TextInputVariants.Default : _props$textInputType,
|
|
2579
2666
|
_props$type = props.type,
|
|
2580
2667
|
type = _props$type === void 0 ? exports.TextInputTypes.text : _props$type,
|
|
2581
|
-
value = props.value
|
|
2582
|
-
_props$variantType = props.variantType,
|
|
2583
|
-
variantType = _props$variantType === void 0 ? TextInputVariants.Default : _props$variantType;
|
|
2668
|
+
value = props.value;
|
|
2584
2669
|
var styles = react.useMultiStyleConfig("TextInput", {
|
|
2585
|
-
variant:
|
|
2670
|
+
variant: textInputType
|
|
2586
2671
|
});
|
|
2587
2672
|
|
|
2588
2673
|
var finalStyles = _extends({}, styles, additionalStyles);
|
|
@@ -2871,11 +2956,11 @@ var DatePicker = /*#__PURE__*/React__default.forwardRef(function (props, ref) {
|
|
|
2871
2956
|
}
|
|
2872
2957
|
|
|
2873
2958
|
if (ref && !nameFrom || refTo && !nameTo) {
|
|
2874
|
-
console.warn("A `ref` or `refTo` prop was passed but not the equivalent `nameFrom` or `nameTo` prop.");
|
|
2959
|
+
console.warn("NYPL Reservoir DatePicker: A `ref` or `refTo` prop was passed but " + "not the equivalent `nameFrom` or `nameTo` prop.");
|
|
2875
2960
|
}
|
|
2876
2961
|
|
|
2877
2962
|
if (onChange && (ref || refTo || nameFrom || nameTo)) {
|
|
2878
|
-
console.warn("
|
|
2963
|
+
console.warn("NYPL Reservoir DatePicker: A `ref`, `refTo`, `nameFrom`, or `nameTo` " + "prop was passed and an `onChange` prop as well. Use whichever is best " + "for your app but not both.");
|
|
2879
2964
|
} // Set the "From" DatePicker values here based on the base props. If a date
|
|
2880
2965
|
// range is selected, additional props get added automatically.
|
|
2881
2966
|
|
|
@@ -3339,23 +3424,18 @@ var typography = {
|
|
|
3339
3424
|
};
|
|
3340
3425
|
|
|
3341
3426
|
var containerStyles = {
|
|
3342
|
-
|
|
3343
|
-
borderRightWidth: "1px",
|
|
3344
|
-
borderColor: "ui.gray.medium",
|
|
3427
|
+
border: "none",
|
|
3345
3428
|
width: "100%"
|
|
3346
3429
|
};
|
|
3347
3430
|
var buttonStyles = {
|
|
3348
|
-
|
|
3349
|
-
fontWeight:
|
|
3350
|
-
_hover: {
|
|
3351
|
-
bg: "ui.gray.light-cool"
|
|
3352
|
-
}
|
|
3431
|
+
borderWidth: "1px",
|
|
3432
|
+
fontWeight: "medium"
|
|
3353
3433
|
};
|
|
3354
3434
|
var panelStyles = {
|
|
3355
|
-
|
|
3356
|
-
|
|
3357
|
-
|
|
3358
|
-
|
|
3435
|
+
padding: "s",
|
|
3436
|
+
borderLeftWidth: "1px",
|
|
3437
|
+
borderRightWidth: "1px",
|
|
3438
|
+
borderBottomWidth: "1px"
|
|
3359
3439
|
};
|
|
3360
3440
|
var Accordion$1 = {
|
|
3361
3441
|
parts: ["container", "button", "panel"],
|
|
@@ -3374,6 +3454,9 @@ var blogs = {
|
|
|
3374
3454
|
_hover: {
|
|
3375
3455
|
color: "ui.gray.xdark"
|
|
3376
3456
|
}
|
|
3457
|
+
},
|
|
3458
|
+
svg: {
|
|
3459
|
+
fill: "ui.black"
|
|
3377
3460
|
}
|
|
3378
3461
|
};
|
|
3379
3462
|
var booksAndMore = {
|
|
@@ -3632,7 +3715,7 @@ var imageSizes = {
|
|
|
3632
3715
|
var getBodyPaddingStyles = function getBodyPaddingStyles(_ref) {
|
|
3633
3716
|
var border = _ref.border,
|
|
3634
3717
|
hasImage = _ref.hasImage,
|
|
3635
|
-
|
|
3718
|
+
imageIsAtEnd = _ref.imageIsAtEnd,
|
|
3636
3719
|
isRow = _ref.isRow;
|
|
3637
3720
|
var bodyPadding = null;
|
|
3638
3721
|
|
|
@@ -3654,7 +3737,7 @@ var getBodyPaddingStyles = function getBodyPaddingStyles(_ref) {
|
|
|
3654
3737
|
md: "var(--nypl-space-s) var(--nypl-space-s) var(--nypl-space-s) 0"
|
|
3655
3738
|
};
|
|
3656
3739
|
|
|
3657
|
-
if (
|
|
3740
|
+
if (imageIsAtEnd) {
|
|
3658
3741
|
bodyPadding = {
|
|
3659
3742
|
base: "var(--nypl-space-s) var(--nypl-space-s) 0",
|
|
3660
3743
|
md: "var(--nypl-space-s) 0 var(--nypl-space-s) var(--nypl-space-s)"
|
|
@@ -3669,9 +3752,9 @@ var Card$1 = {
|
|
|
3669
3752
|
parts: ["body", "heading"],
|
|
3670
3753
|
baseStyle: function baseStyle(props) {
|
|
3671
3754
|
var border = props.border,
|
|
3672
|
-
center = props.center,
|
|
3673
3755
|
hasImage = props.hasImage,
|
|
3674
|
-
|
|
3756
|
+
imageIsAtEnd = props.imageIsAtEnd,
|
|
3757
|
+
isCentered = props.isCentered,
|
|
3675
3758
|
layout = props.layout,
|
|
3676
3759
|
mainActionLink = props.mainActionLink;
|
|
3677
3760
|
var isRow = layout === "row";
|
|
@@ -3683,7 +3766,7 @@ var Card$1 = {
|
|
|
3683
3766
|
},
|
|
3684
3767
|
maxWidth: "100%",
|
|
3685
3768
|
textAlign: "left",
|
|
3686
|
-
alignItems:
|
|
3769
|
+
alignItems: isCentered ? "center" : null
|
|
3687
3770
|
} : {};
|
|
3688
3771
|
var baseBorderStyles = border ? {
|
|
3689
3772
|
border: "1px solid",
|
|
@@ -3692,12 +3775,12 @@ var Card$1 = {
|
|
|
3692
3775
|
var bodyPadding = getBodyPaddingStyles({
|
|
3693
3776
|
border: border,
|
|
3694
3777
|
hasImage: hasImage,
|
|
3695
|
-
|
|
3778
|
+
imageIsAtEnd: imageIsAtEnd,
|
|
3696
3779
|
isRow: isRow
|
|
3697
3780
|
});
|
|
3698
3781
|
var bodyMargin = null;
|
|
3699
3782
|
|
|
3700
|
-
if (
|
|
3783
|
+
if (isCentered) {
|
|
3701
3784
|
bodyMargin = "auto";
|
|
3702
3785
|
|
|
3703
3786
|
if (isRow) {
|
|
@@ -3709,7 +3792,7 @@ var Card$1 = {
|
|
|
3709
3792
|
alignItems: "flex-start",
|
|
3710
3793
|
display: "flex",
|
|
3711
3794
|
flexFlow: "column wrap",
|
|
3712
|
-
textAlign:
|
|
3795
|
+
textAlign: isCentered ? "center" : null,
|
|
3713
3796
|
heading: {
|
|
3714
3797
|
marginBottom: "xs",
|
|
3715
3798
|
a: mainActionLink ? {
|
|
@@ -3732,15 +3815,15 @@ var Card$1 = {
|
|
|
3732
3815
|
var CardActions$1 = {
|
|
3733
3816
|
baseStyle: function baseStyle(props) {
|
|
3734
3817
|
var bottomBorder = props.bottomBorder,
|
|
3735
|
-
|
|
3818
|
+
isCentered = props.isCentered,
|
|
3736
3819
|
layout = props.layout,
|
|
3737
3820
|
topBorder = props.topBorder;
|
|
3738
|
-
var justifyContent = null;
|
|
3821
|
+
var justifyContent = null; // Only center in the column layout.
|
|
3739
3822
|
|
|
3740
|
-
if (
|
|
3741
|
-
justifyContent = "center";
|
|
3742
|
-
} else if (layout === "row") {
|
|
3823
|
+
if (layout === "row") {
|
|
3743
3824
|
justifyContent = "left";
|
|
3825
|
+
} else if (isCentered) {
|
|
3826
|
+
justifyContent = "center";
|
|
3744
3827
|
}
|
|
3745
3828
|
|
|
3746
3829
|
var topBorderStyles = topBorder ? {
|
|
@@ -3774,12 +3857,12 @@ var CardContent$1 = {
|
|
|
3774
3857
|
};
|
|
3775
3858
|
var CardImage$1 = {
|
|
3776
3859
|
baseStyle: function baseStyle(_ref2) {
|
|
3777
|
-
var
|
|
3778
|
-
|
|
3779
|
-
|
|
3860
|
+
var imageIsAtEnd = _ref2.imageIsAtEnd,
|
|
3861
|
+
isCentered = _ref2.isCentered,
|
|
3862
|
+
size = _ref2.size,
|
|
3780
3863
|
layout = _ref2.layout;
|
|
3781
3864
|
// These sizes are only for the "row" layout.
|
|
3782
|
-
var
|
|
3865
|
+
var imageSize = imageSizes[size] || {};
|
|
3783
3866
|
var layoutStyles = layout === "row" ? _extends({
|
|
3784
3867
|
flex: {
|
|
3785
3868
|
md: "0 0 225px"
|
|
@@ -3789,25 +3872,26 @@ var CardImage$1 = {
|
|
|
3789
3872
|
md: "50%"
|
|
3790
3873
|
},
|
|
3791
3874
|
textAlign: "left",
|
|
3792
|
-
alignItems:
|
|
3875
|
+
alignItems: isCentered ? "center" : null,
|
|
3793
3876
|
margin: {
|
|
3794
|
-
base:
|
|
3795
|
-
md:
|
|
3877
|
+
base: imageIsAtEnd ? "var(--nypl-space-m) 0 0" : null,
|
|
3878
|
+
md: imageIsAtEnd ? "0 0 0 var(--nypl-space-m)" : "0 var(--nypl-space-m) 0 0"
|
|
3796
3879
|
},
|
|
3797
3880
|
width: {
|
|
3798
3881
|
base: "100%",
|
|
3799
3882
|
md: null
|
|
3800
|
-
}
|
|
3801
|
-
|
|
3883
|
+
},
|
|
3884
|
+
marginBottom: ["xs", "xs"]
|
|
3885
|
+
}, imageSize) : {
|
|
3802
3886
|
marginBottom: "xs",
|
|
3803
3887
|
width: "100%"
|
|
3804
3888
|
};
|
|
3805
|
-
var
|
|
3889
|
+
var imageIsAtEndStyles = imageIsAtEnd ? {
|
|
3806
3890
|
marginBottom: "0",
|
|
3807
3891
|
marginTop: "s",
|
|
3808
3892
|
order: "2"
|
|
3809
3893
|
} : {};
|
|
3810
|
-
return _extends({},
|
|
3894
|
+
return _extends({}, imageIsAtEndStyles, layoutStyles);
|
|
3811
3895
|
}
|
|
3812
3896
|
};
|
|
3813
3897
|
var Card$2 = {
|
|
@@ -3915,7 +3999,11 @@ var ComponentWrapper = {
|
|
|
3915
3999
|
|
|
3916
4000
|
var CheckboxGroup$1 = {
|
|
3917
4001
|
parts: ["helper", "stack"],
|
|
3918
|
-
baseStyle:
|
|
4002
|
+
baseStyle: function baseStyle(_ref) {
|
|
4003
|
+
var _ref$isFullWidth = _ref.isFullWidth,
|
|
4004
|
+
isFullWidth = _ref$isFullWidth === void 0 ? false : _ref$isFullWidth;
|
|
4005
|
+
return _extends({}, checkboxRadioGroupStyles(isFullWidth));
|
|
4006
|
+
}
|
|
3919
4007
|
};
|
|
3920
4008
|
|
|
3921
4009
|
var imageWrap = {
|
|
@@ -3993,7 +4081,8 @@ var CustomImage = {
|
|
|
3993
4081
|
}
|
|
3994
4082
|
}),
|
|
3995
4083
|
figcaption: {
|
|
3996
|
-
fontStyle: "italic"
|
|
4084
|
+
fontStyle: "italic",
|
|
4085
|
+
fontSize: "text.tag"
|
|
3997
4086
|
},
|
|
3998
4087
|
img: _extends({
|
|
3999
4088
|
display: "block",
|
|
@@ -4003,8 +4092,7 @@ var CustomImage = {
|
|
|
4003
4092
|
width: "100%"
|
|
4004
4093
|
}, imageSizes$1[size]),
|
|
4005
4094
|
captionWrappers: {
|
|
4006
|
-
marginBottom: "xxs"
|
|
4007
|
-
fontSize: "text.caption"
|
|
4095
|
+
marginBottom: "xxs"
|
|
4008
4096
|
}
|
|
4009
4097
|
};
|
|
4010
4098
|
}
|
|
@@ -4062,6 +4150,12 @@ var Select = {
|
|
|
4062
4150
|
parts: ["select", "helper"],
|
|
4063
4151
|
baseStyle: {
|
|
4064
4152
|
marginBottom: "xs",
|
|
4153
|
+
// The backgroundColor set to "ui.white" hides the arrow SVG icon when
|
|
4154
|
+
// the component is focused. The background is added for dark mode and
|
|
4155
|
+
// so we need to add specific selector.
|
|
4156
|
+
".chakra-select__icon-wrapper": {
|
|
4157
|
+
zIndex: "9999"
|
|
4158
|
+
},
|
|
4065
4159
|
helper: /*#__PURE__*/_extends({}, helperTextMargin),
|
|
4066
4160
|
select: select
|
|
4067
4161
|
},
|
|
@@ -4409,7 +4503,7 @@ var campaign = {
|
|
|
4409
4503
|
alignItems: "center",
|
|
4410
4504
|
display: "flex",
|
|
4411
4505
|
justifyContent: "center",
|
|
4412
|
-
marginBottom: "xxl",
|
|
4506
|
+
marginBottom: ["0", "0", "xxl"],
|
|
4413
4507
|
minHeight: "300px",
|
|
4414
4508
|
overflow: "visible",
|
|
4415
4509
|
padding: {
|
|
@@ -4532,8 +4626,8 @@ var HorizontalRule = {
|
|
|
4532
4626
|
var svgBase = {
|
|
4533
4627
|
display: "inline-block",
|
|
4534
4628
|
fill: "currentColor",
|
|
4535
|
-
width: "
|
|
4536
|
-
height: "
|
|
4629
|
+
width: "auto",
|
|
4630
|
+
height: "100%"
|
|
4537
4631
|
};
|
|
4538
4632
|
var align = {
|
|
4539
4633
|
none: {},
|
|
@@ -4575,6 +4669,9 @@ var size = {
|
|
|
4575
4669
|
height: "var(--nypl-space-m)",
|
|
4576
4670
|
width: "var(--nypl-space-m)"
|
|
4577
4671
|
},
|
|
4672
|
+
"default": {
|
|
4673
|
+
width: "100%"
|
|
4674
|
+
},
|
|
4578
4675
|
medium: {
|
|
4579
4676
|
height: "1.125rem",
|
|
4580
4677
|
width: "1.125rem"
|
|
@@ -4625,7 +4722,7 @@ var List = {
|
|
|
4625
4722
|
padding: noStyling ? "0" : null,
|
|
4626
4723
|
display: inline ? "flex" : null,
|
|
4627
4724
|
li: {
|
|
4628
|
-
marginRight: inline ? "
|
|
4725
|
+
marginRight: inline ? "xs" : null,
|
|
4629
4726
|
listStyleType: inline ? "none" : null,
|
|
4630
4727
|
_notFirst: {
|
|
4631
4728
|
marginTop: inline ? null : "xxs"
|
|
@@ -4762,8 +4859,8 @@ var Logo = {
|
|
|
4762
4859
|
var Notification = {
|
|
4763
4860
|
parts: ["container", "dismissibleButton", "icon"],
|
|
4764
4861
|
baseStyle: function baseStyle(_ref) {
|
|
4765
|
-
var
|
|
4766
|
-
|
|
4862
|
+
var dismissible = _ref.dismissible,
|
|
4863
|
+
isCentered = _ref.isCentered,
|
|
4767
4864
|
noMargin = _ref.noMargin,
|
|
4768
4865
|
notificationType = _ref.notificationType;
|
|
4769
4866
|
var bg = "ui.status.primary";
|
|
@@ -4777,7 +4874,7 @@ var Notification = {
|
|
|
4777
4874
|
display: "flex",
|
|
4778
4875
|
fontSize: "-1",
|
|
4779
4876
|
position: "relative",
|
|
4780
|
-
textAlign:
|
|
4877
|
+
textAlign: isCentered ? "center" : null,
|
|
4781
4878
|
borderRadius: noMargin ? "0" : "4px",
|
|
4782
4879
|
margin: noMargin ? "0" : "s",
|
|
4783
4880
|
container: {
|
|
@@ -4785,7 +4882,7 @@ var Notification = {
|
|
|
4785
4882
|
maxWidth: "var(--nypl-breakpoint-xl)",
|
|
4786
4883
|
padding: "s",
|
|
4787
4884
|
paddingRight: dismissible ? "l" : null,
|
|
4788
|
-
paddingLeft:
|
|
4885
|
+
paddingLeft: isCentered && dismissible ? "l" : null,
|
|
4789
4886
|
width: "100%"
|
|
4790
4887
|
},
|
|
4791
4888
|
dismissibleButton: {
|
|
@@ -4842,8 +4939,8 @@ var NotificationContent = {
|
|
|
4842
4939
|
var NotificationHeading = {
|
|
4843
4940
|
parts: ["heading"],
|
|
4844
4941
|
baseStyle: function baseStyle(_ref3) {
|
|
4845
|
-
var
|
|
4846
|
-
|
|
4942
|
+
var icon = _ref3.icon,
|
|
4943
|
+
isCentered = _ref3.isCentered,
|
|
4847
4944
|
notificationType = _ref3.notificationType;
|
|
4848
4945
|
var color = "ui.black";
|
|
4849
4946
|
|
|
@@ -4856,7 +4953,7 @@ var NotificationHeading = {
|
|
|
4856
4953
|
return {
|
|
4857
4954
|
display: "flex",
|
|
4858
4955
|
marginBottom: "xxs",
|
|
4859
|
-
justifyContent:
|
|
4956
|
+
justifyContent: isCentered ? "center" : null,
|
|
4860
4957
|
heading: {
|
|
4861
4958
|
marginBottom: "0",
|
|
4862
4959
|
marginTop: icon ? "xxxs" : "0",
|
|
@@ -4874,7 +4971,6 @@ var NotificationStyles = {
|
|
|
4874
4971
|
var Pagination = {
|
|
4875
4972
|
parts: ["link"],
|
|
4876
4973
|
baseStyle: {
|
|
4877
|
-
marginBottom: "l",
|
|
4878
4974
|
alignItems: "stretch",
|
|
4879
4975
|
display: "flex",
|
|
4880
4976
|
width: "100%",
|
|
@@ -4882,10 +4978,8 @@ var Pagination = {
|
|
|
4882
4978
|
lineHeight: "1.15",
|
|
4883
4979
|
textDecoration: "none"
|
|
4884
4980
|
},
|
|
4885
|
-
|
|
4886
|
-
|
|
4887
|
-
marginTop: "xxs"
|
|
4888
|
-
}
|
|
4981
|
+
ul: {
|
|
4982
|
+
marginBottom: "0"
|
|
4889
4983
|
}
|
|
4890
4984
|
}
|
|
4891
4985
|
};
|
|
@@ -4911,8 +5005,8 @@ var ProgressIndicator = {
|
|
|
4911
5005
|
// Note: we have to target the SVG HTMl elements in order
|
|
4912
5006
|
// to override the default styles.
|
|
4913
5007
|
svg: {
|
|
4914
|
-
height: size === exports.ProgressIndicatorSizes.
|
|
4915
|
-
width: size === exports.ProgressIndicatorSizes.
|
|
5008
|
+
height: size === exports.ProgressIndicatorSizes.Default ? "48px" : "24px",
|
|
5009
|
+
width: size === exports.ProgressIndicatorSizes.Default ? "48px" : "24px",
|
|
4916
5010
|
display: "block",
|
|
4917
5011
|
circle: {
|
|
4918
5012
|
_first: {
|
|
@@ -4940,7 +5034,7 @@ var ProgressIndicator = {
|
|
|
4940
5034
|
bg: darkMode ? "ui.gray.dark" : "ui.gray.light-cool",
|
|
4941
5035
|
height: {
|
|
4942
5036
|
base: "4px",
|
|
4943
|
-
md: size === exports.ProgressIndicatorSizes.
|
|
5037
|
+
md: size === exports.ProgressIndicatorSizes.Default ? "8px" : "4px"
|
|
4944
5038
|
}
|
|
4945
5039
|
},
|
|
4946
5040
|
linearContainer: {
|
|
@@ -5041,7 +5135,11 @@ var Radio = {
|
|
|
5041
5135
|
|
|
5042
5136
|
var RadioGroup = {
|
|
5043
5137
|
parts: ["helper", "stack"],
|
|
5044
|
-
baseStyle:
|
|
5138
|
+
baseStyle: function baseStyle(_ref) {
|
|
5139
|
+
var _ref$isFullWidth = _ref.isFullWidth,
|
|
5140
|
+
isFullWidth = _ref$isFullWidth === void 0 ? false : _ref$isFullWidth;
|
|
5141
|
+
return _extends({}, checkboxRadioGroupStyles(isFullWidth));
|
|
5142
|
+
}
|
|
5045
5143
|
};
|
|
5046
5144
|
|
|
5047
5145
|
var SearchBar = {
|
|
@@ -5755,6 +5853,7 @@ var TextInput$1 = {
|
|
|
5755
5853
|
}
|
|
5756
5854
|
};
|
|
5757
5855
|
|
|
5856
|
+
var _container, _container2;
|
|
5758
5857
|
var baseStyle$4 = {
|
|
5759
5858
|
label: {
|
|
5760
5859
|
alignItems: "start",
|
|
@@ -5765,6 +5864,8 @@ var baseStyle$4 = {
|
|
|
5765
5864
|
marginLeft: "xxs"
|
|
5766
5865
|
})
|
|
5767
5866
|
};
|
|
5867
|
+
var $width = /*#__PURE__*/themeTools.cssVar("switch-track-width");
|
|
5868
|
+
var $height = /*#__PURE__*/themeTools.cssVar("switch-track-height");
|
|
5768
5869
|
var Switch = {
|
|
5769
5870
|
baseStyle: function baseStyle(_ref) {
|
|
5770
5871
|
var size = _ref.size;
|
|
@@ -5774,7 +5875,7 @@ var Switch = {
|
|
|
5774
5875
|
track: {
|
|
5775
5876
|
border: "1px solid",
|
|
5776
5877
|
borderColor: "ui.gray.medium",
|
|
5777
|
-
p: "
|
|
5878
|
+
p: "1px",
|
|
5778
5879
|
_checked: {
|
|
5779
5880
|
bg: "ui.link.primary",
|
|
5780
5881
|
borderColor: "ui.link.primary",
|
|
@@ -5804,7 +5905,7 @@ var Switch = {
|
|
|
5804
5905
|
label: {
|
|
5805
5906
|
fontSize: "label.default",
|
|
5806
5907
|
marginLeft: "xs",
|
|
5807
|
-
marginTop: size === "lg" ? "
|
|
5908
|
+
marginTop: size === "lg" ? "xxxs" : null,
|
|
5808
5909
|
_disabled: {
|
|
5809
5910
|
fontStyle: "italic"
|
|
5810
5911
|
}
|
|
@@ -5816,6 +5917,14 @@ var Switch = {
|
|
|
5816
5917
|
}
|
|
5817
5918
|
};
|
|
5818
5919
|
},
|
|
5920
|
+
sizes: {
|
|
5921
|
+
sm: {
|
|
5922
|
+
container: (_container = {}, _container[$width.variable] = "2.25rem", _container[$height.variable] = "1rem", _container)
|
|
5923
|
+
},
|
|
5924
|
+
lg: {
|
|
5925
|
+
container: (_container2 = {}, _container2[$width.variable] = "3.25rem", _container2[$height.variable] = "1.5rem", _container2)
|
|
5926
|
+
}
|
|
5927
|
+
},
|
|
5819
5928
|
defaultProps: {
|
|
5820
5929
|
colorScheme: "white"
|
|
5821
5930
|
}
|
|
@@ -6001,7 +6110,8 @@ function Hero$1(props) {
|
|
|
6001
6110
|
foregroundColor = props.foregroundColor,
|
|
6002
6111
|
heading = props.heading,
|
|
6003
6112
|
heroType = props.heroType,
|
|
6004
|
-
|
|
6113
|
+
imageAlt = props.imageAlt,
|
|
6114
|
+
imageSrc = props.imageSrc,
|
|
6005
6115
|
locationDetails = props.locationDetails,
|
|
6006
6116
|
subHeaderText = props.subHeaderText;
|
|
6007
6117
|
var variant = getVariant$1(heroType);
|
|
@@ -6016,32 +6126,36 @@ function Hero$1(props) {
|
|
|
6016
6126
|
var backgroundImageStyle = {};
|
|
6017
6127
|
var contentBoxStyling = {};
|
|
6018
6128
|
|
|
6129
|
+
if (imageSrc && !imageAlt) {
|
|
6130
|
+
console.warn("NYPL Reservoir: The \"imageSrc\" prop was passed but the \"imageAlt\" props was not. This will make the rendered image inaccessible.");
|
|
6131
|
+
}
|
|
6132
|
+
|
|
6019
6133
|
if (heroType === exports.HeroTypes.Primary) {
|
|
6020
6134
|
if (!backgroundImageSrc) {
|
|
6021
|
-
console.warn("
|
|
6135
|
+
console.warn("NYPL Reservoir Hero: It is recommended to use the `backgroundImageSrc` " + "prop for the `HeroTypes.Primary` `heroType` variant.");
|
|
6022
6136
|
}
|
|
6023
6137
|
|
|
6024
|
-
if (
|
|
6025
|
-
console.warn("
|
|
6138
|
+
if (imageAlt && imageSrc) {
|
|
6139
|
+
console.warn("NYPL Reservoir Hero: The `imageSrc` and `imageAlt` props have been " + "passed, but the `HeroTypes.Primary` `heroType` variant will not use it.");
|
|
6026
6140
|
}
|
|
6027
6141
|
} else if (locationDetails) {
|
|
6028
|
-
console.warn("
|
|
6142
|
+
console.warn("NYPL Reservoir Hero: The `locationDetails` prop should only be used " + "with the `HeroTypes.Primary` `heroType` variant.");
|
|
6029
6143
|
}
|
|
6030
6144
|
|
|
6031
6145
|
if (HeroSecondaryTypes.includes(heroType) && backgroundImageSrc) {
|
|
6032
|
-
console.warn("
|
|
6146
|
+
console.warn("NYPL Reservoir Hero: The `backgroundImageSrc` prop has been passed, " + "but the `HeroTypes.Secondary` `heroType` variant will not use it.");
|
|
6033
6147
|
}
|
|
6034
6148
|
|
|
6035
|
-
if (heroType === exports.HeroTypes.Tertiary && (backgroundImageSrc ||
|
|
6036
|
-
console.warn("
|
|
6149
|
+
if (heroType === exports.HeroTypes.Tertiary && (backgroundImageSrc || imageSrc)) {
|
|
6150
|
+
console.warn("NYPL Reservoir Hero: The `HeroTypes.Tertiary` `heroType` variant hero " + "will not use any of the image props.");
|
|
6037
6151
|
}
|
|
6038
6152
|
|
|
6039
|
-
if (heroType === exports.HeroTypes.Campaign && (!backgroundImageSrc || !
|
|
6040
|
-
console.warn("
|
|
6153
|
+
if (heroType === exports.HeroTypes.Campaign && (!backgroundImageSrc || !imageSrc)) {
|
|
6154
|
+
console.warn("NYPL Reservoir Hero: It is recommended to use both the " + "`backgroundImageSrc` and `imageSrc` props for the " + "`HeroTypes.Campaign` `heroType` variant.");
|
|
6041
6155
|
}
|
|
6042
6156
|
|
|
6043
6157
|
if (heroType === exports.HeroTypes.FiftyFifty && backgroundImageSrc) {
|
|
6044
|
-
console.warn("
|
|
6158
|
+
console.warn("NYPL Reservoir Hero: The `backgroundImageSrc` prop has been passed, " + "but the `HeroTypes.FiftyFifty` `heroType` variant hero will not use it.");
|
|
6045
6159
|
}
|
|
6046
6160
|
|
|
6047
6161
|
if (heroType === exports.HeroTypes.Primary) {
|
|
@@ -6066,12 +6180,18 @@ function Hero$1(props) {
|
|
|
6066
6180
|
backgroundColor: backgroundColor
|
|
6067
6181
|
};
|
|
6068
6182
|
} else if (foregroundColor || backgroundColor) {
|
|
6069
|
-
console.warn("
|
|
6183
|
+
console.warn("NYPL Reservoir Hero: The `foregroundColor` and/or `backgroundColor` " + "props have been passed, but the `HeroTypes.Secondary` `heroType` " + "variant will not use them.");
|
|
6070
6184
|
}
|
|
6071
6185
|
|
|
6072
|
-
var childrenToRender = heroType === exports.HeroTypes.Campaign ? React.createElement(React.Fragment, null,
|
|
6186
|
+
var childrenToRender = heroType === exports.HeroTypes.Campaign ? React.createElement(React.Fragment, null, React.createElement(Image, {
|
|
6187
|
+
alt: imageAlt,
|
|
6188
|
+
src: imageSrc
|
|
6189
|
+
}), React.createElement(react.Box, {
|
|
6073
6190
|
__css: styles.interior
|
|
6074
|
-
}, finalHeading, subHeaderText)) : React.createElement(React.Fragment, null, heroType !== exports.HeroTypes.Primary && heroType !== exports.HeroTypes.Tertiary &&
|
|
6191
|
+
}, finalHeading, subHeaderText)) : React.createElement(React.Fragment, null, heroType !== exports.HeroTypes.Primary && heroType !== exports.HeroTypes.Tertiary && React.createElement(Image, {
|
|
6192
|
+
alt: imageAlt,
|
|
6193
|
+
src: imageSrc
|
|
6194
|
+
}), finalHeading, heroType === exports.HeroTypes.Tertiary && subHeaderText ? React.createElement("p", null, subHeaderText) : React.createElement(react.Box, {
|
|
6075
6195
|
__css: styles.bodyText
|
|
6076
6196
|
}, subHeaderText));
|
|
6077
6197
|
return React.createElement(react.Box, {
|
|
@@ -6099,7 +6219,7 @@ function HorizontalRule$1(props) {
|
|
|
6099
6219
|
var finalHeight = height;
|
|
6100
6220
|
|
|
6101
6221
|
if (height.endsWith("%")) {
|
|
6102
|
-
console.warn("
|
|
6222
|
+
console.warn("NYPL Reservoir HorizontalRule: An invalid value was passed for the " + "`height` prop, so the default value of 2px will be used. A valid " + "value should be a whole number, a `px` value, a `em` value, or a `rem` value.");
|
|
6103
6223
|
finalHeight = "2px";
|
|
6104
6224
|
}
|
|
6105
6225
|
|
|
@@ -6154,12 +6274,12 @@ function List$1(props) {
|
|
|
6154
6274
|
// prop must be used.
|
|
6155
6275
|
|
|
6156
6276
|
if (children && (listItems || (listItems == null ? void 0 : listItems.length) > 0)) {
|
|
6157
|
-
console.warn("Pass in either `<li>`, `<dt>`, or `<dd>` children or use the `listItems` data prop
|
|
6277
|
+
console.warn("NYPL Reservoir List: Pass in either `<li>`, `<dt>`, or `<dd>` " + "children or use the `listItems` data prop. Do not use both.");
|
|
6158
6278
|
return null;
|
|
6159
6279
|
}
|
|
6160
6280
|
|
|
6161
6281
|
if (!children && !listItems) {
|
|
6162
|
-
console.warn("
|
|
6282
|
+
console.warn("NYPL Reservoir List: Pass in either `<li>` children or pass data in " + "the `listItems` prop, not both.");
|
|
6163
6283
|
return null;
|
|
6164
6284
|
}
|
|
6165
6285
|
/**
|
|
@@ -6205,7 +6325,7 @@ function List$1(props) {
|
|
|
6205
6325
|
var _child$props;
|
|
6206
6326
|
|
|
6207
6327
|
if (child && (child == null ? void 0 : child.type) !== "li" && (child == null ? void 0 : (_child$props = child.props) == null ? void 0 : _child$props.mdxType) !== "li") {
|
|
6208
|
-
console.warn("Direct children of `List` (" + listType + ")
|
|
6328
|
+
console.warn("NYPL Reservoir List: Direct children of `List` (" + listType + ") must be `<li>`s.");
|
|
6209
6329
|
}
|
|
6210
6330
|
});
|
|
6211
6331
|
};
|
|
@@ -6218,7 +6338,7 @@ function List$1(props) {
|
|
|
6218
6338
|
var checkDefinitionChildrenError = function checkDefinitionChildrenError() {
|
|
6219
6339
|
React.Children.map(children, function (child) {
|
|
6220
6340
|
if (child.type !== "dt" && child.type !== "dd" && child.type !== React.Fragment && child.props.mdxType !== "dt" && child.props.mdxType !== "dd" && child.props.mdxType !== React.Fragment) {
|
|
6221
|
-
console.warn("Direct children of `List` (definition)
|
|
6341
|
+
console.warn("NYPL Reservoir List: Direct children of `List` (definition) must " + "be `<dt>`s and `<dd>`s.");
|
|
6222
6342
|
}
|
|
6223
6343
|
});
|
|
6224
6344
|
};
|
|
@@ -6254,12 +6374,12 @@ function List$1(props) {
|
|
|
6254
6374
|
})(exports.LogoColors || (exports.LogoColors = {}));
|
|
6255
6375
|
|
|
6256
6376
|
(function (LogoSizes) {
|
|
6377
|
+
LogoSizes["Default"] = "default";
|
|
6257
6378
|
LogoSizes["ExtraExtraSmall"] = "xxsmall";
|
|
6258
6379
|
LogoSizes["ExtraSmall"] = "xsmall";
|
|
6259
6380
|
LogoSizes["Small"] = "small";
|
|
6260
6381
|
LogoSizes["Medium"] = "medium";
|
|
6261
6382
|
LogoSizes["Large"] = "large";
|
|
6262
|
-
LogoSizes["Default"] = "default";
|
|
6263
6383
|
})(exports.LogoSizes || (exports.LogoSizes = {}));
|
|
6264
6384
|
|
|
6265
6385
|
(function (LogoNames) {
|
|
@@ -6302,7 +6422,7 @@ function List$1(props) {
|
|
|
6302
6422
|
LogoNames["TreasuresColorNegative"] = "logo_treasures_color_negative";
|
|
6303
6423
|
})(exports.LogoNames || (exports.LogoNames = {}));
|
|
6304
6424
|
|
|
6305
|
-
var _path$r, _path2$
|
|
6425
|
+
var _path$r, _path2$b, _path3$7;
|
|
6306
6426
|
|
|
6307
6427
|
var _excluded$u = ["title", "titleId"];
|
|
6308
6428
|
|
|
@@ -6325,14 +6445,14 @@ function SvgLogoBplBlack(_ref) {
|
|
|
6325
6445
|
id: titleId
|
|
6326
6446
|
}, title) : null, _path$r || (_path$r = /*#__PURE__*/React.createElement("path", {
|
|
6327
6447
|
d: "M277.596 75.851c0-8.969-.046-17.9-.046-26.856-.017-6.498 1.196-19.651-11.682-24.62a21.793 21.793 0 00-3.504-.857 26.033 26.033 0 00-9.896.857 22.683 22.683 0 00-6.023 3.272c-.433.31-1.281 1.032-1.839 1.528a37.42 37.42 0 00-3.353 3.46c-.026 0 .271-7.03.304-8.416h-47.732c-.104.227-6.666 24.573-7.274 26.683-.514-2.001-7.572-25.973-7.748-26.683h-25.154V0h-25.465v24.455c-.027.02-27.162 0-27.324 0-.047.048-12.675 10.12-13.121 10.465 0-12.655.003-34.704.003-34.885C79.384.035 70.97 0 62.612 0l.003 14.073a17.495 17.495 0 00-5.506-7.93c-.265-.22-.914-.769-1.43-1.115-3.792-2.545-5.283-3.012-9.714-4.107-1.293-.25-2.599-.428-3.912-.532-.714-.067-3.53-.218-4.05-.233a511.856 511.856 0 00-8.722-.078H0c0 25.333.016 50.656.047 75.97.716 0 34.158-.142 34.76-.142 1.346 0 2.306-.06 3.593-.06a54.641 54.641 0 008.575-.913 22.543 22.543 0 009.106-4.218c5.638-4.787 6.307-8.214 6.529-8.579l-.012 13.608h24.978V61.406c.345-.284 2.788-2.312 2.84-2.312.998 1.287 12.898 15.798 13.608 16.65h49.625V29.749c.026 0 19.356 42.224 19.62 42.873-.63 1.275-18.374 38.247-18.374 38.273h27.074c.365-.877 35.612-80.465 35.612-80.517.026 0-.02 18.05-.02 45.473h25.574v-22.78c0-5.166-.943-9.81 5.232-9.633 2.316.067 3.614 2.61 3.711 3.975v28.438h25.518zM37.066 55.633c-2.638 2.797-7.72 2.224-11.953 2.224V46.128c7.693 0 8.73.014 9.917.52a5.163 5.163 0 013.279 4.881c0 2.353-.525 3.341-1.244 4.104zm0-28.068c-2.638 2.798-7.72 2.224-11.953 2.224V18.06c7.693 0 8.73.014 9.917.521a5.161 5.161 0 013.279 4.88c0 2.353-.525 3.341-1.244 4.104zM62.55 48.67c-.521-2.765-4.888-7.078-7.423-8.7a28.146 28.146 0 00-2.657-1.48c-.37-.184-1.21-.522-1.237-.548a21.838 21.838 0 008.863-6.267 12.437 12.437 0 002.481-4.32c0 6.93-.002 21.315-.027 21.315zm65.599 21.213c-.026 0-20.484-26.864-20.51-26.864.717-.568 20.484-15.963 20.51-15.963v42.827z"
|
|
6328
|
-
})), _path2$
|
|
6448
|
+
})), _path2$b || (_path2$b = /*#__PURE__*/React.createElement("path", {
|
|
6329
6449
|
d: "M143.024 91.463a9.616 9.616 0 014.517.779c.238.12.781.368 1.012.467v6.607c-.052 0-2.502-2.406-5.328-1.42a4.676 4.676 0 00-2.07 2.289 6.187 6.187 0 00-.234 1.947c.168 1.822 2.034 3.917 5.296 3.037a6.235 6.235 0 002.336-1.557v6.619c-.851.416-1.737.755-2.648 1.012a11.662 11.662 0 01-8.177-1.479c-2.858-1.686-5.447-6.505-3.816-11.526a10.187 10.187 0 015.607-5.996 15.995 15.995 0 013.505-.78zM73.247 92.086h7.32v8.566c0 1.546-.104 3.156.546 4.05a2.904 2.904 0 002.492.779 3.415 3.415 0 001.635-.623c.762-.778.7-2.44.7-3.972v-8.8h7.243c0 .646.153 11.962-.233 13.784-.358 1.991-2.237 4.1-5.218 5.062-.806.229-1.632.378-2.468.444a22.52 22.52 0 01-3.92-.027 11.616 11.616 0 01-4.733-1.325 7.206 7.206 0 01-2.825-3.407 20.363 20.363 0 01-.539-5.653v-8.878zm12.694 8.8v-8.8h7.242c0 .646.153 11.962-.233 13.784M72.299 90.562a7.908 7.908 0 00-6.896-6.605c-2.204-.324-13.694-.15-13.878-.15v27.158h7.768v-8.722c5.783.02 9.628-.167 11.837-3.738.513-.944.88-1.96 1.087-3.015.061-.324.197-1.088.207-1.331.051-1.2.01-2.404-.126-3.597zm-8.4 4.367c-1.085.974-2.94.77-4.592.77v-5.567c3.061.041 3.627.287 4.075.518a2.552 2.552 0 011.045 2.079c-.02 1.298-.203 1.835-.528 2.2zM115.861 98.816a9.561 9.561 0 00-6.368-6.922 8.678 8.678 0 00-7.821 1.282V81.028H94.43v29.826h7.242v-1.246a5.681 5.681 0 002.959 1.635 10.3 10.3 0 005.497-.421 9.964 9.964 0 006.029-8.456 14.998 14.998 0 00-.296-3.55zm-10.803 6.252a3.607 3.607 0 01-2.008-.61 3.61 3.61 0 01-.548-5.562 3.614 3.614 0 115.112 5.113 3.612 3.612 0 01-2.556 1.059zM129.029 89.763a4.035 4.035 0 100-8.07 4.035 4.035 0 000 8.07zM116.931 81.058h7.23v29.799h-7.23s-.03-29.83 0-29.8zM125.368 92.11h7.23v18.747h-7.23s-.03-18.777 0-18.747zM223.562 89.763a4.034 4.034 0 100-8.068 4.034 4.034 0 000 8.068zM219.901 92.11h7.23v18.747h-7.23s-.03-18.777 0-18.747zM249.872 98.87a9.56 9.56 0 00-6.368-6.922 8.676 8.676 0 00-7.82 1.282V81.082h-7.243v29.826h7.243v-1.246a5.681 5.681 0 002.959 1.635 10.3 10.3 0 005.497-.421 9.967 9.967 0 006.029-8.456 14.997 14.997 0 00-.297-3.55zm-10.802 6.252a3.62 3.62 0 01-3.34-2.232 3.616 3.616 0 113.34 2.232zM279.092 92.093l.001 1.063c-.231-.137-.575-.427-.913-.62a6.268 6.268 0 00-2.292-.862c-5.628-.588-8.082 2.038-9.532 3.934a9.069 9.069 0 00-.973 2.13h-.094v-5.645c-5.361-.32-6.973 2.197-7.024 2.197v-2.197h-7.305v18.761l7.267-.005c.159-5.709-.388-9.522.788-11.215a3.866 3.866 0 012.457-1.318 7.012 7.012 0 011.893.06c.525.149 1.038.337 1.535.563a24.451 24.451 0 00-.234 3.504c.538 4.526 2.694 6.926 6.074 8.411 2.552 1.06 7.019.69 8.241-1.151h.162c0 .39.008 1.004.008 1.151h7.242V92.093h-7.301zm-3.356 13.029a3.62 3.62 0 01-3.34-2.232 3.616 3.616 0 113.34 2.232zM202.876 83.728v27.121h15.981v-6.719l-8.166.027v-20.43s-7.842-.026-7.815 0zM302.06 99.127c-.508-.165-1.39-.624-1.947-.737a6.497 6.497 0 00-1.736-.06 3.731 3.731 0 00-2.614 1.318c-1.176 1.693-.588 5.495-.747 11.204h-7.308V92.093h7.305v2.21c.051 0 1.693-2.21 7.024-2.21 0 .359.036 5.216.036 5.641l-.013 1.393zm-14.352 11.725V92.093h7.242"
|
|
6330
6450
|
})), _path3$7 || (_path3$7 = /*#__PURE__*/React.createElement("path", {
|
|
6331
6451
|
d: "M301.248 92.093l9.194 15.863-6.274 11.735h8.167l14.709-27.598h-8.206l-4.381 8.643-4.516-8.643s-8.679-.014-8.693 0z"
|
|
6332
6452
|
})));
|
|
6333
6453
|
}
|
|
6334
6454
|
|
|
6335
|
-
var _path$s, _path2$
|
|
6455
|
+
var _path$s, _path2$c, _path3$8;
|
|
6336
6456
|
|
|
6337
6457
|
var _excluded$v = ["title", "titleId"];
|
|
6338
6458
|
|
|
@@ -6356,7 +6476,7 @@ function SvgLogoBplWhite(_ref) {
|
|
|
6356
6476
|
id: titleId
|
|
6357
6477
|
}, title) : null, _path$s || (_path$s = /*#__PURE__*/React.createElement("path", {
|
|
6358
6478
|
d: "M277.596 75.851c0-8.969-.046-17.9-.046-26.856-.017-6.498 1.196-19.651-11.682-24.62a21.793 21.793 0 00-3.504-.857 26.033 26.033 0 00-9.896.857 22.683 22.683 0 00-6.023 3.272c-.433.31-1.281 1.032-1.839 1.528a37.42 37.42 0 00-3.353 3.46c-.026 0 .271-7.03.304-8.416h-47.732c-.104.227-6.666 24.573-7.274 26.683-.514-2.001-7.572-25.973-7.748-26.683h-25.154V0h-25.465v24.455c-.027.02-27.162 0-27.324 0-.047.048-12.675 10.12-13.121 10.465 0-12.655.003-34.704.003-34.885C79.384.035 70.97 0 62.612 0l.003 14.073a17.495 17.495 0 00-5.506-7.93c-.265-.22-.914-.769-1.43-1.115-3.792-2.545-5.283-3.012-9.714-4.107-1.293-.25-2.599-.428-3.912-.532-.714-.067-3.53-.218-4.05-.233a511.856 511.856 0 00-8.722-.078H0c0 25.333.016 50.656.047 75.97.716 0 34.158-.142 34.76-.142 1.346 0 2.306-.06 3.593-.06a54.641 54.641 0 008.575-.913 22.543 22.543 0 009.106-4.218c5.638-4.787 6.307-8.214 6.529-8.579l-.012 13.608h24.978V61.406c.345-.284 2.788-2.312 2.84-2.312.998 1.287 12.898 15.798 13.608 16.65h49.625V29.749c.026 0 19.356 42.224 19.62 42.873-.63 1.275-18.374 38.247-18.374 38.273h27.074c.365-.877 35.612-80.465 35.612-80.517.026 0-.02 18.05-.02 45.473h25.574v-22.78c0-5.166-.943-9.81 5.232-9.633 2.316.067 3.614 2.61 3.711 3.975v28.438h25.518zM37.066 55.633c-2.638 2.797-7.72 2.224-11.953 2.224V46.128c7.693 0 8.73.014 9.917.52a5.163 5.163 0 013.279 4.881c0 2.353-.525 3.341-1.244 4.104zm0-28.068c-2.638 2.798-7.72 2.224-11.953 2.224V18.06c7.693 0 8.73.014 9.917.521a5.161 5.161 0 013.279 4.88c0 2.353-.525 3.341-1.244 4.104zM62.55 48.67c-.521-2.765-4.888-7.078-7.423-8.7a28.146 28.146 0 00-2.657-1.48c-.37-.184-1.21-.522-1.237-.548a21.838 21.838 0 008.863-6.267 12.437 12.437 0 002.481-4.32c0 6.93-.002 21.315-.027 21.315zm65.599 21.213c-.026 0-20.484-26.864-20.51-26.864.717-.568 20.484-15.963 20.51-15.963v42.827z"
|
|
6359
|
-
})), _path2$
|
|
6479
|
+
})), _path2$c || (_path2$c = /*#__PURE__*/React.createElement("path", {
|
|
6360
6480
|
d: "M143.024 91.463a9.616 9.616 0 014.517.779c.238.12.781.368 1.012.467v6.607c-.052 0-2.502-2.406-5.328-1.42a4.676 4.676 0 00-2.07 2.289 6.187 6.187 0 00-.234 1.947c.168 1.822 2.034 3.917 5.296 3.037a6.235 6.235 0 002.336-1.557v6.619c-.851.416-1.737.755-2.648 1.012a11.662 11.662 0 01-8.177-1.479c-2.858-1.686-5.447-6.505-3.816-11.526a10.187 10.187 0 015.607-5.996 15.995 15.995 0 013.505-.78zM73.247 92.086h7.32v8.566c0 1.546-.104 3.156.546 4.05a2.904 2.904 0 002.492.779 3.415 3.415 0 001.635-.623c.762-.778.7-2.44.7-3.972v-8.8h7.243c0 .646.153 11.962-.233 13.784-.358 1.991-2.237 4.1-5.218 5.062-.806.229-1.632.378-2.468.444a22.52 22.52 0 01-3.92-.027 11.616 11.616 0 01-4.733-1.325 7.206 7.206 0 01-2.825-3.407 20.363 20.363 0 01-.539-5.653v-8.878zm12.694 8.8v-8.8h7.242c0 .646.153 11.962-.233 13.784M72.299 90.562a7.908 7.908 0 00-6.896-6.605c-2.204-.324-13.694-.15-13.878-.15v27.158h7.768v-8.722c5.783.02 9.628-.167 11.837-3.738.513-.944.88-1.96 1.087-3.015.061-.324.197-1.088.207-1.331.051-1.2.01-2.404-.126-3.597zm-8.4 4.367c-1.085.974-2.94.77-4.592.77v-5.567c3.061.041 3.627.287 4.075.518a2.552 2.552 0 011.045 2.079c-.02 1.298-.203 1.835-.528 2.2zM115.861 98.816a9.561 9.561 0 00-6.368-6.922 8.678 8.678 0 00-7.821 1.282V81.028H94.43v29.826h7.242v-1.246a5.681 5.681 0 002.959 1.635 10.3 10.3 0 005.497-.421 9.964 9.964 0 006.029-8.456 14.998 14.998 0 00-.296-3.55zm-10.803 6.252a3.607 3.607 0 01-2.008-.61 3.61 3.61 0 01-.548-5.562 3.614 3.614 0 115.112 5.113 3.612 3.612 0 01-2.556 1.059zM129.029 89.763a4.035 4.035 0 100-8.07 4.035 4.035 0 000 8.07zM116.931 81.058h7.23v29.799h-7.23s-.03-29.83 0-29.8zM125.368 92.11h7.23v18.747h-7.23s-.03-18.777 0-18.747zM223.562 89.763a4.034 4.034 0 100-8.068 4.034 4.034 0 000 8.068zM219.901 92.11h7.23v18.747h-7.23s-.03-18.777 0-18.747zM249.872 98.87a9.56 9.56 0 00-6.368-6.922 8.676 8.676 0 00-7.82 1.282V81.082h-7.243v29.826h7.243v-1.246a5.681 5.681 0 002.959 1.635 10.3 10.3 0 005.497-.421 9.967 9.967 0 006.029-8.456 14.997 14.997 0 00-.297-3.55zm-10.802 6.252a3.62 3.62 0 01-3.34-2.232 3.616 3.616 0 113.34 2.232zM279.092 92.093l.001 1.063c-.231-.137-.575-.427-.913-.62a6.268 6.268 0 00-2.292-.862c-5.628-.588-8.082 2.038-9.532 3.934a9.069 9.069 0 00-.973 2.13h-.094v-5.645c-5.361-.32-6.973 2.197-7.024 2.197v-2.197h-7.305v18.761l7.267-.005c.159-5.709-.388-9.522.788-11.215a3.866 3.866 0 012.457-1.318 7.012 7.012 0 011.893.06c.525.149 1.038.337 1.535.563a24.451 24.451 0 00-.234 3.504c.538 4.526 2.694 6.926 6.074 8.411 2.552 1.06 7.019.69 8.241-1.151h.162c0 .39.008 1.004.008 1.151h7.242V92.093h-7.301zm-3.356 13.029a3.62 3.62 0 01-3.34-2.232 3.616 3.616 0 113.34 2.232zM202.876 83.728v27.121h15.981v-6.719l-8.166.027v-20.43s-7.842-.026-7.815 0zM302.06 99.127c-.508-.165-1.39-.624-1.947-.737a6.497 6.497 0 00-1.736-.06 3.731 3.731 0 00-2.614 1.318c-1.176 1.693-.588 5.495-.747 11.204h-7.308V92.093h7.305v2.21c.051 0 1.693-2.21 7.024-2.21 0 .359.036 5.216.036 5.641l-.013 1.393zm-14.352 11.725V92.093h7.242"
|
|
6361
6481
|
})), _path3$8 || (_path3$8 = /*#__PURE__*/React.createElement("path", {
|
|
6362
6482
|
d: "M301.248 92.093l9.194 15.863-6.274 11.735h8.167l14.709-27.598h-8.206l-4.381 8.643-4.516-8.643s-8.679-.014-8.693 0z"
|
|
@@ -6421,7 +6541,7 @@ function SvgLogoCleverWhite(_ref) {
|
|
|
6421
6541
|
})));
|
|
6422
6542
|
}
|
|
6423
6543
|
|
|
6424
|
-
var _path$v, _path2$
|
|
6544
|
+
var _path$v, _path2$d, _path3$9, _path4$1, _path5, _path6, _path7, _path8, _path9, _path10, _path11, _path12, _path13;
|
|
6425
6545
|
|
|
6426
6546
|
var _excluded$y = ["title", "titleId"];
|
|
6427
6547
|
|
|
@@ -6446,7 +6566,7 @@ function SvgLogoFirstbookColor(_ref) {
|
|
|
6446
6566
|
}, title) : null, _path$v || (_path$v = /*#__PURE__*/React.createElement("path", {
|
|
6447
6567
|
d: "M154.516 34.244l-46.123 6.988 44.085-9.731a.68.68 0 00.411-.344.736.736 0 00.057-.547.726.726 0 00-.289-.395.677.677 0 00-.463-.112l-46.156 9.784 43.418-12.51a.655.655 0 00.237-.123.705.705 0 00.254-.474.715.715 0 00-.024-.276.714.714 0 00-.317-.434.66.66 0 00-.518-.073l-43.601 12.23 40.546-14.501a.696.696 0 00.396-.36.749.749 0 00.038-.549.712.712 0 00-.345-.415.658.658 0 00-.524-.039l-42.666 14.659 39.026-16.965a.704.704 0 00.373-.386.753.753 0 00.003-.549.705.705 0 00-.369-.39.658.658 0 00-.525-.003L99.893 36.393l37.172-19.813a.714.714 0 00.319-.435.749.749 0 00-.068-.543.71.71 0 00-.382-.317.673.673 0 00-.487.02l-38.575 19.97 33.95-21.822a.76.76 0 00.233-.891.674.674 0 00-.697-.344.665.665 0 00-.254.1L94.766 35.03l31.144-24.46a.715.715 0 00.253-.746.73.73 0 00-.119-.25.694.694 0 00-.194-.193.646.646 0 00-.758.036L92.128 34.593l27.42-26.609a.757.757 0 00-.038-.976.68.68 0 00-.931-.072L89.523 34.331l23.262-28.583a.745.745 0 00-.067-1.013.668.668 0 00-.969.07l-24.08 28.617 18.486-29.404a.752.752 0 00.005-.797.676.676 0 00-.702-.31.697.697 0 00-.438.302l-20.04 30.49 14.111-31.1a.746.746 0 00-.03-.544.697.697 0 00-.387-.364.656.656 0 00-.447-.005.69.69 0 00-.355.284L83.195 32.76l9.168-31.134a.73.73 0 00-.084-.528.687.687 0 00-.417-.31.658.658 0 00-.456.066.705.705 0 00-.312.353l-10.02 31.308 4.61-31.448a.742.742 0 00-.122-.534.662.662 0 00-.957-.16.722.722 0 00-.274.467l-5.444 32.2L78.719.715a.733.733 0 00-.2-.506.67.67 0 00-.485-.21.67.67 0 00-.484.21.733.733 0 00-.2.506l-.518 32.532L71.605.786a.72.72 0 00-.278-.444.661.661 0 00-.932.145.74.74 0 00-.143.509l4.459 32.531L64.274 1.24a.704.704 0 00-.341-.372.657.657 0 00-.492-.036.69.69 0 00-.387.32.745.745 0 00-.083.508l9.502 31.867L57.11 2.08a.69.69 0 00-.416-.334.658.658 0 00-.519.072.73.73 0 00-.303.4.766.766 0 00.02.509l14.444 31.098L49.93 3.39a.706.706 0 00-.194-.196.672.672 0 00-.52-.099.675.675 0 00-.247.112.741.741 0 00-.282.746c.02.093.056.18.107.259l19.054 29.578L43.033 5.05a.69.69 0 00-.474-.236.658.658 0 00-.495.184.716.716 0 00-.225.496.75.75 0 00.175.517L65.66 34.296 36.253 7.181a.668.668 0 00-.968.052.738.738 0 00.05 1.013L62.42 34 30.175 9.54a.656.656 0 00-.508-.133.65.65 0 00-.25.098.681.681 0 00-.194.193.712.712 0 00-.136.527.72.72 0 00.27.468l30.776 23.971-35.72-22.38a.65.65 0 00-.517-.087.657.657 0 00-.241.12.691.691 0 00-.177.21.745.745 0 00-.083.537c.041.183.149.342.3.442L58.08 35.624l-39.126-20.18a.657.657 0 00-.504-.015.696.696 0 00-.378.35.747.747 0 00-.046.525c.049.175.16.324.31.416l36.788 19.498L14.16 18.747a.659.659 0 00-.746.16.721.721 0 00-.198.508.746.746 0 00.204.505c.063.066.14.119.223.154l39.81 17.454L9.835 22.503a.66.66 0 00-.735.21.727.727 0 00-.167.522c.007.094.03.186.071.27.082.171.224.3.397.36L51.399 38.77 6.128 26.539a.66.66 0 00-.49.1.715.715 0 00-.295.42.746.746 0 00.057.52c.08.158.215.28.377.34l43.819 12.23-46.49-9.487a.658.658 0 00-.523.06.73.73 0 00-.352.709.743.743 0 00.253.482c.07.059.15.103.237.13h.1l43.535 9.294-45.421-6.64a.663.663 0 00-.487.15.742.742 0 00-.138.975c.1.15.252.255.424.291l32.68 5.084 44.303 5.434 37.84-4.7 39.159-6.272a.666.666 0 00.466-.258.732.732 0 00.126-.248c.026-.091.035-.186.026-.28a.742.742 0 00-.247-.487.674.674 0 00-.505-.16l-.066.018z",
|
|
6448
6568
|
fill: "#ED1C24"
|
|
6449
|
-
})), _path2$
|
|
6569
|
+
})), _path2$d || (_path2$d = /*#__PURE__*/React.createElement("path", {
|
|
6450
6570
|
d: "M167.41 138.023a1.828 1.828 0 00-.484-.402c.338-.034.652-.195.885-.454.205-.246.313-.565.3-.891a1.428 1.428 0 00-.2-.734 1.032 1.032 0 00-.518-.454 3.043 3.043 0 00-1.052-.122h-1.67v4.699h.819v-1.747h.167c.133-.016.267-.016.4 0a.756.756 0 01.234.175c.15.192.284.402.418.612l.567.891h1.119l-.551-.891a4.553 4.553 0 00-.434-.682zm-1.336-.908h-.518v-1.276h.552c.195.106.414.154.634.14a.494.494 0 01.334.175.559.559 0 01.117.367.586.586 0 010 .332.446.446 0 01-.234.192 3.21 3.21 0 01-.885.07z",
|
|
6451
6571
|
fill: "#00ACE4"
|
|
6452
6572
|
})), _path3$9 || (_path3$9 = /*#__PURE__*/React.createElement("path", {
|
|
@@ -6554,7 +6674,7 @@ function SvgLogoFirstbookColorNegative(_ref) {
|
|
|
6554
6674
|
}))));
|
|
6555
6675
|
}
|
|
6556
6676
|
|
|
6557
|
-
var _path$w, _path2$
|
|
6677
|
+
var _path$w, _path2$e;
|
|
6558
6678
|
|
|
6559
6679
|
var _excluded$A = ["title", "titleId"];
|
|
6560
6680
|
|
|
@@ -6579,7 +6699,7 @@ function SvgLogoLpaColor(_ref) {
|
|
|
6579
6699
|
}, title) : null, _path$w || (_path$w = /*#__PURE__*/React.createElement("path", {
|
|
6580
6700
|
d: "M44.43 13.745c-3.302-2.913-7.002-4.835-11.527-5.58-5.565-.93-9.692.404-12.047 1.179-.489.155-.55.465-.55.868-.03 1.023.397 1.829.734 2.139.367.34.734.154 1.284-.032 2.17-.744 5.167-1.27 8.316-.899 2.997.341 5.779 1.271 7.858 2.45-2.935.433-7.338 1.58-11.955 4.959-3.791-.217-8.56.31-13.85 3.007C2.664 26.92-3.634 39.846 2.297 53.919c2.416 5.703 7.889 10.973 14.279 12.864 3.73 1.116 7.063 1.023 7.95.96.275.218.733.559 1.284.93 8.958 6.014 17.213 4.805 22.075 2.108 4.464-2.48 10.395-8.71 10.579-19.56 8.285-8.09 6.726-17.42 5.625-21.388-2.599-9.454-11.282-15.437-19.66-16.088zm9.54 33.478c.03.713-.276 1.023-1.102 1.612-1.1.775-2.782 1.705-4.433 2.232-.214.062-.306-.186-.245-.341.214-.403.52-1.023.704-1.426.367-.806.733-1.643 1.04-2.449.641-1.674 1.283-3.844 1.68-5.61.062-.28.245-.31.337-.155.184.279.795 1.673 1.223 3.068.459 1.488.764 2.666.795 3.07zm-8.562.961c-.642 1.333-1.223 2.449-1.834 3.224-.367.465-2.783 1.302-7.247-.62-3.118-1.333-4.892-2.728-7.552-6.262-.611-.837-1.1-1.55-1.437-2.077-.367-.588-.55-1.053-1.59-.837-.764.155-2.385.806-3.271 2.14-.337.526-.092.96.214 1.456.58.992 1.468 2.17 2.293 3.162 2.905 3.534 6.574 6.51 10.885 7.998.58.185 1.681.495 2.17.62.337.093.49.495.306.681-1.131 1.24-4.066 3.255-4.953 3.72-2.14 1.116-4.311 1.891-5.931 2.139-.55.093-1.07.186-1.835-.465-.948-.837-1.804-1.829-2.568-2.82-1.498-1.985-2.66-4.248-3.455-6.603-1.651-4.867-1.835-10.168-.703-15.158 1.04-4.619 3.18-8.959 6.298-12.492.428-.496 2.049-2.108 2.538-2.45.397-.247.917-.495 2.201-.247 2.08.434 5.565 1.457 9.295 3.782 4.984 3.1 7.827 6.54 8.714 7.656.703.899.734 1.519.611 2.51-.428 4.185-2.018 8.587-3.149 10.943zM43.39 18.178c.245.031.52.093.887.589.703.992 1.865 3.007 2.323 4.06.826 1.985 1.468 4.526 1.743 5.797.061.31-.183.248-.275.186-.275-.31-.856-.806-1.04-.96-.855-.869-3.332-2.883-6.237-4.588-2.599-1.52-5.656-2.76-6.91-3.1-.153-.031-.214-.279-.03-.372.55-.248 2.323-.93 4.464-1.333 1.65-.31 3.516-.434 5.075-.279zM4.132 46.696c-1.07-6.664.917-13.205 5.228-17.452 2.324-2.293 5.137-4.122 8.225-5.145.917-.31 2.568-.744 3.669-.93.306-.031.397.34.214.527-1.04 1.116-2.507 3.44-2.966 4.215-3.577 6.045-5.136 13.33-4.403 20.335.887 8.648 5.106 13.856 5.779 14.755.153.217.306.589-.03.651-.062 0-.398-.062-.887-.155-9.57-2.139-13.82-10.57-14.83-16.8zm27.212 20.242c-.367-.155-.337-.434 0-.558.947-.341 2.69-1.054 3.516-1.52a26.587 26.587 0 004.647-3.223c.734-.62 2.293-2.046 3.21-3.13.306-.373.826-1.024 1.835-1.148 1.957-.217 2.538-.31 3.914-.65 1.314-.342 3.577-1.147 5.075-1.984.184-.093.49 0 .398.465-.673 3.378-2.997 8.586-7.155 11.252-4.8 3.162-10.395 2.82-15.44.496zm26.63-23.528c-.244.403-.611.31-.764-.03-.122-.373-.275-.9-.398-1.272-.642-1.797-1.436-3.564-2.415-5.207a56.94 56.94 0 00-1.62-2.542c-.367-.558-.367-.837-.367-1.519-.03-3.875-1.223-9.206-3.119-12.647-.183-.341.092-.558.306-.465 5.106 2.387 7.858 5.89 9.172 9.206 2.936 7.378.52 12.275-.795 14.476z",
|
|
6581
6701
|
fill: "#008375"
|
|
6582
|
-
})), _path2$
|
|
6702
|
+
})), _path2$e || (_path2$e = /*#__PURE__*/React.createElement("path", {
|
|
6583
6703
|
d: "M84.349 38.204c0-2.356-1.804-3.472-4.158-3.472h-3.578v11.005h2.324V41.8h.978c2.722 0 4.434-1.21 4.434-3.596zm-2.324.031c0 1.209-.611 1.829-2.079 1.829h-1.009V36.53h1.07c1.437-.03 2.018.59 2.018 1.705zm4.892 3.968h5.014c.276-2.976-.947-4.712-3.424-4.712-2.202 0-3.914 1.643-3.914 4.185 0 2.573 1.498 4.247 4.158 4.247 1.621 0 2.447-.465 2.966-.775l-.703-1.426c-.397.186-.978.558-2.079.558-1.284 0-1.896-.837-2.018-2.077zm0-1.488c.153-1.054.673-1.643 1.59-1.643.978 0 1.345.744 1.376 1.643h-2.966zm11.557-3.007c-.183-.093-.489-.217-1.07-.217-1.009 0-1.65.682-1.987 1.302v-1.085h-2.17v8.029h2.17v-5.053c.183-.372.764-1.209 1.712-1.209.459 0 .703.093.826.186l.52-1.953zm3.578 1.612h1.895v-1.643h-1.895v-.65c0-1.055.397-1.582 1.284-1.582.581 0 .948.155 1.101.217l.489-1.643c-.184-.124-.765-.372-1.927-.372-2.017 0-3.118 1.302-3.118 3.224v.837h-1.193v1.643h1.193v6.417h2.171V39.32zm10.242 2.325c0-2.077-1.253-4.185-4.005-4.185s-3.944 2.17-3.944 4.247 1.192 4.185 3.975 4.185c2.751.03 3.974-2.201 3.974-4.247zm-2.293.093c0 1.488-.428 2.51-1.681 2.51-1.223 0-1.713-1.084-1.713-2.603 0-1.488.398-2.542 1.621-2.542 1.253 0 1.773 1.116 1.773 2.635zm8.653-4.03c-.184-.093-.489-.217-1.07-.217-1.009 0-1.651.682-1.988 1.302v-1.085h-2.17v8.029h2.17v-5.053c.184-.372.765-1.209 1.713-1.209.458 0 .703.093.825.186l.52-1.953zm7.307 1.054c-.305-.744-.917-1.27-2.048-1.27-1.284 0-1.957.712-2.385 1.177v-.992h-2.11v8.029h2.171V40.28c.153-.217.673-.992 1.468-.992.642 0 .917.403.917 1.209v5.177h2.171v-5.487c.305-.372.795-.899 1.467-.899.704 0 .948.434.948 1.209v5.177h2.171v-5.642c0-1.488-.581-2.604-2.263-2.604-1.131.062-1.865.558-2.507 1.333zm8.622-1.085h-2.17v8.029h2.17v-8.029zm.245-2.356c0-.682-.581-1.302-1.345-1.302-.765 0-1.315.59-1.315 1.302 0 .713.55 1.333 1.315 1.333a1.34 1.34 0 001.345-1.333zm8.714 10.385v-5.642c0-1.488-.642-2.604-2.385-2.604-1.315 0-2.11.713-2.538 1.21v-.993h-2.109v8.029h2.17v-5.394c.153-.217.795-.992 1.621-.992.795 0 1.07.403 1.07 1.209v5.177h2.171zm6.084-8.029c-.397-.124-.886-.186-1.406-.186-2.202 0-3.516 1.178-3.516 2.914 0 1.054.52 1.89 1.406 2.418-.458.279-.886.744-.886 1.519 0 .589.275.96.703 1.209-.795.434-1.346 1.084-1.346 1.953 0 1.456 1.315 2.138 3.486 2.138 2.599 0 4.342-1.209 4.342-2.914 0-2.386-2.079-2.386-3.731-2.48-1.131-.061-1.589-.154-1.589-.588 0-.217.152-.372.305-.465.306.062.612.093.948.093 2.202 0 3.425-1.178 3.425-2.914 0-.465-.092-.899-.306-1.302h1.07v-1.426h-2.905v.031zm-1.406 4.216c-.887 0-1.437-.558-1.437-1.488 0-.93.55-1.488 1.437-1.488s1.437.558 1.437 1.488c0 .93-.52 1.488-1.437 1.488zm-.917 4.092c.336.062.703.093 1.07.124 1.162.093 1.895.062 1.895.898 0 .682-.733 1.178-2.079 1.178-1.1 0-1.559-.434-1.559-1.085.031-.465.245-.837.673-1.115zm11.863-2.325h4.341l.734 2.077h2.507l-4.25-11.005h-2.232l-4.127 11.005h2.323l.704-2.077zm3.669-1.86h-3.027l.917-2.635c.336-.93.55-1.767.581-1.89h.031c.03.123.244.96.58 1.89l.918 2.635zm9.937-4.092c-.184-.093-.49-.217-1.071-.217-1.009 0-1.651.682-1.987 1.302v-1.085h-2.171v8.029h2.171v-5.053c.184-.372.764-1.209 1.712-1.209.459 0 .704.093.826.186l.52-1.953zm1.498 1.612v4.092c0 1.55.642 2.51 2.507 2.51.978 0 1.651-.278 1.987-.464l-.489-1.643c-.153.093-.581.31-1.039.31-.612 0-.795-.341-.795-1.147V39.32h1.865v-1.643h-1.865v-2.325H174.3v2.325h-1.284v1.643h1.254zm10.732 4.03c0-1.364-.918-1.922-2.171-2.45-.918-.371-1.621-.526-1.621-1.053 0-.434.337-.713 1.101-.713s1.376.31 1.682.527l.764-1.488c-.367-.217-1.192-.65-2.538-.65-1.804 0-2.966.96-2.966 2.448 0 1.209.673 1.86 1.774 2.387 1.131.558 1.987.682 1.987 1.24 0 .465-.458.713-1.315.713-.886 0-1.651-.434-1.956-.651l-.734 1.519c.489.34 1.406.744 2.813.744 2.018 0 3.18-.9 3.18-2.573zM76.72 29.733h5.228v-.775h-4.342V18.73h-.886v11.004zm7.246-9.516c.367 0 .642-.31.642-.682a.65.65 0 00-.642-.65.65.65 0 00-.642.65c0 .372.275.682.642.682zm-.428 9.516h.856V21.86h-.856v7.873zm5.565.186c2.384 0 3.852-1.922 3.852-4.153 0-2.294-1.07-4.092-3.302-4.092-.795 0-1.56.372-2.049.899V17.83h-.856V29.3c.581.371 1.437.62 2.355.62zm.03-.744c-.611 0-1.162-.124-1.529-.31v-5.517c.428-.496 1.223-.9 1.896-.9 1.896 0 2.538 1.644 2.538 3.349.03 1.642-.917 3.378-2.905 3.378zm5.779.558h.856v-5.486c.214-.465.917-1.736 1.987-1.736.337 0 .52.062.642.124l.214-.806c-.122-.062-.397-.124-.733-.124-1.101 0-1.804.96-2.08 1.55V21.89h-.886v7.842zm6.604.186c.917 0 1.804-.465 2.354-1.178.031.28.061.744.123.992h.856c-.092-.34-.153-.899-.153-1.58v-3.968c0-1.705-.887-2.511-2.477-2.511-1.009 0-1.865.34-2.537.992l.458.589c.642-.62 1.284-.837 2.018-.837 1.162 0 1.712.589 1.712 1.86v.899h-.367c-1.804 0-4.097.589-4.097 2.697-.06 1.24.826 2.045 2.11 2.045zm.122-.744c-.672 0-1.406-.465-1.406-1.332 0-1.457 1.467-1.984 3.21-1.984h.367v2.107c-.581.775-1.315 1.21-2.171 1.21zm5.32.558h.856v-5.486c.215-.465.918-1.736 1.988-1.736.336 0 .52.062.642.124l.214-.806c-.122-.062-.398-.124-.734-.124-1.101 0-1.804.96-2.079 1.55V21.89h-.856v7.842h-.031zm4.77 3.782c1.682 0 2.293-1.178 2.844-2.666l3.332-9.02h-.886l-2.385 6.757-2.446-6.757h-.918l2.905 7.811-.397 1.116c-.459 1.24-.918 1.984-2.049 1.984-.306 0-.428-.03-.55-.062l-.123.713c.153.093.337.124.673.124zm11.588-3.782h.826v-7.191h2.017v-.682h-2.017v-1.24c0-1.426.58-2.17 1.773-2.17.458 0 .825.124.978.217l.214-.744c-.214-.093-.611-.217-1.192-.217-1.712 0-2.63 1.085-2.63 2.883v1.333h-1.345v.682h1.345v7.13h.031zm6.879.186c2.446 0 3.547-2.17 3.547-4.153 0-1.953-1.131-4.092-3.577-4.092-2.446 0-3.486 2.139-3.486 4.123.031 1.983 1.101 4.122 3.516 4.122zm.031-.744c-1.743 0-2.63-1.611-2.63-3.41 0-1.766.795-3.347 2.569-3.347 1.773 0 2.69 1.612 2.69 3.379 0 1.797-.856 3.378-2.629 3.378zm5.473.558h.856v-5.486c.214-.465.917-1.736 1.987-1.736.337 0 .52.062.642.124l.214-.806c-.122-.062-.397-.124-.733-.124-1.101 0-1.804.96-2.079 1.55V21.89h-.857v7.842h-.03zm10.793.186a2.65 2.65 0 001.498-.465l-.336-.65c-.153.123-.612.371-1.07.371-.704 0-.948-.434-.948-1.24v-5.362h1.987v-.682h-1.987v-2.263h-.856v2.232h-1.315v.682h1.315v5.424c0 1.24.55 1.953 1.712 1.953zm3.149-.186h.856V24c.275-.434 1.223-1.55 2.385-1.55 1.162 0 1.59.713 1.59 1.89v5.394h.856v-5.58c0-1.425-.642-2.48-2.263-2.48-1.314 0-2.201.9-2.568 1.427v-5.27h-.856v11.903zm11.068.186c1.254 0 2.14-.434 2.63-.806l-.367-.682c-.428.341-1.254.744-2.232.744-1.865 0-2.599-1.643-2.63-3.44v-.186h5.351c.031-.155.031-.28.031-.434 0-2.015-1.071-3.441-2.936-3.441-2.079 0-3.332 1.829-3.332 4.03 0 2.293 1.1 4.215 3.485 4.215zm-2.538-5.083c.214-1.364 1.009-2.418 2.355-2.418 1.467 0 2.079 1.209 2.109 2.418h-4.464zM76.687 12.688h.825V3.14l6.513 9.548h.825V1.684h-.856v9.485l-6.451-9.485h-.887v11.004h.03zm13.178.155c1.253 0 2.14-.434 2.63-.806l-.368-.682c-.428.34-1.253.744-2.232.744-1.865 0-2.599-1.643-2.63-3.44v-.187h5.351c.031-.155.031-.279.031-.434 0-2.015-1.07-3.44-2.935-3.44-2.08 0-3.333 1.828-3.333 4.03 0 2.293 1.1 4.215 3.486 4.215zM87.327 7.79c.214-1.364 1.009-2.418 2.354-2.418 1.468 0 2.08 1.21 2.11 2.418h-4.464zm8.5 4.898h.795l2.11-6.634 2.109 6.634h.795l2.354-7.874h-.856l-1.895 6.572-2.049-6.572h-.825l-2.049 6.54-1.896-6.54h-.917l2.324 7.874zm15.257 0h.886V8.534l3.608-6.85h-.917l-3.088 5.951h-.031l-3.088-5.951h-1.009l3.639 6.85v4.154zm7.093.155c2.446 0 3.547-2.17 3.547-4.154 0-1.953-1.132-4.092-3.578-4.092-2.445 0-3.485 2.14-3.485 4.123 0 2.015 1.07 4.123 3.516 4.123zm0-.744c-1.773 0-2.629-1.612-2.629-3.41 0-1.767.795-3.348 2.568-3.348 1.773 0 2.691 1.612 2.691 3.38 0 1.797-.857 3.378-2.63 3.378zm5.167.589h.856V7.2c.214-.465.918-1.736 1.988-1.736.336 0 .519.062.642.124l.214-.806c-.122-.062-.398-.124-.734-.124-1.101 0-1.804.961-2.079 1.55V4.845h-.887v7.843zm9.723 0h1.07l-3.608-4.433 3.425-3.44h-1.07l-3.394 3.44 3.577 4.433zm-4.525 0h.856V.816h-.856v11.872zm11.007 0h.887v-4.68h1.376c2.446 0 3.821-1.24 3.821-3.225 0-1.953-1.437-3.1-3.699-3.1h-2.385v11.005zm.887-5.456V2.46h1.376c2.079 0 2.874.991 2.874 2.355 0 1.457-.857 2.418-2.905 2.418h-1.345zm8.866 5.61c1.315 0 2.202-.867 2.569-1.456 0 .434.061 1.023.122 1.302h.856c-.092-.31-.153-.9-.153-1.52V4.815h-.856v5.704c-.275.465-1.223 1.58-2.385 1.58-1.192 0-1.59-.743-1.59-1.89V4.814h-.856v5.549c0 1.426.642 2.48 2.293 2.48zm8.072 0c2.385 0 3.853-1.921 3.853-4.153 0-2.294-1.07-4.092-3.302-4.092-.795 0-1.56.372-2.049.9V.753h-.856v11.469c.55.403 1.406.62 2.354.62zm.031-.743c-.612 0-1.162-.124-1.498-.31V6.302c.428-.496 1.223-.899 1.895-.899 1.896 0 2.538 1.643 2.538 3.348-.031 1.643-.978 3.348-2.935 3.348zm5.442.589h.856V.816h-.856v11.872zm3.73-9.548c.367 0 .642-.31.642-.681a.65.65 0 00-.642-.651.65.65 0 00-.642.65c0 .403.306.682.642.682zm-.428 9.548h.856V4.814h-.856v7.874zm5.901.155c1.162 0 1.988-.434 2.416-.806l-.367-.651c-.337.31-1.101.713-1.988.713-1.712 0-2.476-1.674-2.476-3.41 0-1.829.795-3.348 2.507-3.348.856 0 1.437.341 1.896.713l.428-.62c-.428-.372-1.162-.837-2.324-.837-1.987 0-3.424 1.612-3.424 4.123 0 2.139 1.1 4.123 3.332 4.123z",
|
|
6584
6704
|
fill: "#000"
|
|
6585
6705
|
})));
|
|
@@ -6695,7 +6815,7 @@ function SvgLogoMlnWhite(_ref) {
|
|
|
6695
6815
|
}))));
|
|
6696
6816
|
}
|
|
6697
6817
|
|
|
6698
|
-
var _path$z, _path2$
|
|
6818
|
+
var _path$z, _path2$f, _path3$a, _path4$2, _path5$1, _path6$1, _path7$1;
|
|
6699
6819
|
|
|
6700
6820
|
var _excluded$F = ["title", "titleId"];
|
|
6701
6821
|
|
|
@@ -6718,7 +6838,7 @@ function SvgLogoNyplFullBlack(_ref) {
|
|
|
6718
6838
|
id: titleId
|
|
6719
6839
|
}, title) : null, _path$z || (_path$z = /*#__PURE__*/React.createElement("path", {
|
|
6720
6840
|
d: "M485.288 7.284h7.269l53.44 77.4v-77.4h7v89.65h-6.867l-53.978-77.94v77.94h-6.864V7.284m126.535 49.67c-.134-9.691-5.114-19.652-17.365-19.652-11.171 0-17.634 8.614-19.518 19.653zm-44.692 7.27c0-18.172 10.5-32.98 27.597-32.98 16.422 0 25.442 13.192 24.094 31.498h-44.287v1.482c.136 14.673 6.328 28.134 21.674 28.134 8.21 0 15.076-3.366 18.576-6.059l2.96 5.52c-4.038 2.961-11.441 6.596-21.807 6.596-19.652 0-28.807-15.75-28.807-34.191m59.225-31.5h7.539l15.617 53.442 16.825-53.442h6.865L690.028 86.3l15.749-53.575h7.001l-19.385 64.21h-6.46l-17.366-54.112-17.365 54.112h-6.46l-19.386-64.21m148.337 30.422L744.676 7.284h8.345l25.44 48.459h.27l25.442-48.46h7.539l-29.75 55.863v33.788h-7.27V63.146m81.841 1.751c0-14.404-7.673-27.595-22.345-27.595-14.538 0-21.134 12.922-21.134 27.326 0 14.538 7.135 27.73 21.672 27.73 14.671 0 21.807-12.924 21.807-27.461zm-50.882 0c0-16.154 8.614-33.653 28.805-33.653 20.193 0 29.481 17.365 29.481 33.384 0 16.153-9.153 33.787-29.346 33.787-20.191 0-28.94-17.365-28.94-33.518m71.73-32.173h7v11.173c2.423-4.711 8.211-12.653 17.231-12.653 2.96 0 5.115.674 6.192 1.078l-1.75 6.594c-1.078-.404-2.558-.942-5.251-.942-8.884 0-14.673 10.5-16.421 14.27v44.69h-7.001v-64.21m51.013 28.134l28.135-28.134h8.75l-28.402 28.134 29.883 36.076h-8.75zM920.724.015h7v96.919h-7V.014m-416.725 187.38c17.095 0 24.094-7.808 24.094-19.654 0-11.173-6.73-19.25-23.826-19.25h-11.44v38.904zm-18.576-45.23h19.518c18.846 0 30.69 9.29 30.69 25.308 0 16.151-11.172 26.248-31.498 26.248h-11.307v38.094h-7.403v-89.65m61.513 70.805v-45.364h7v43.883c0 9.424 3.365 15.48 13.191 15.48 9.559 0 17.498-9.018 19.654-12.787v-46.576h6.999v51.825c0 5.115.538 9.962 1.212 12.384h-7.135c-.402-2.153-.942-7-.942-10.5-3.096 4.847-10.365 11.981-21.268 11.981-13.46 0-18.711-8.75-18.711-20.326m107.957-13.191c0-14-5.385-27.326-21-27.326-5.518 0-11.98 3.23-15.615 7.269v44.96c2.961 1.48 7.402 2.557 12.52 2.557 16.286 0 24.095-14.134 24.095-27.46zm-43.614 28.672v-93.555h6.999v38.634c3.904-4.443 10.232-7.404 16.827-7.404 18.305 0 27.19 14.672 27.19 33.383 0 18.038-12.115 33.787-31.768 33.787-7.672 0-14.806-1.884-19.248-4.845m65.416-93.555h7.001v96.92h-7v-96.92m27.862 32.71h7.134v64.21h-7.134zm-1.75-18.98c0-3.095 2.424-5.385 5.252-5.385 2.958 0 5.382 2.29 5.382 5.386s-2.424 5.52-5.382 5.52c-2.828 0-5.252-2.425-5.252-5.52m22.343 51.017c0-20.326 11.712-33.518 28.269-33.518 9.558 0 15.615 3.635 19.114 6.73l-3.635 5.115c-3.633-3.096-8.48-5.788-15.612-5.788-14.27 0-20.732 12.384-20.732 27.192 0 14.269 6.328 27.864 20.597 27.864 7.404 0 13.594-3.23 16.422-5.788l3.096 5.25c-3.5 3.096-10.23 6.595-19.923 6.595-18.441 0-27.596-16.422-27.596-33.652M483.403 366.697v-89.65h19.114v74.303H535.9v15.347h-52.498m66.689 0V301.14h18.036v65.558zm9.02-74.035c-6.328 0-10.906-4.981-10.906-10.77 0-5.654 4.578-10.5 10.905-10.5 6.327 0 11.037 4.846 11.037 10.5 0 5.789-4.71 10.77-11.037 10.77m42.67 60.17c1.21.403 4.037 1.482 9.018 1.482 9.961 0 15.883-7.404 15.883-20.865 0-12.25-4.17-19.788-13.864-19.788-5.652 0-9.961 3.634-11.037 4.98zm0-83.055v36.48c2.961-2.963 8.75-6.731 16.017-6.731 16.425 0 27.866 11.306 27.866 33.923 0 22.343-15.077 34.863-34.865 34.863-14.807 0-23.826-3.77-26.922-5.25v-93.285h17.904m94.224 47.114c-1.077-.672-3.097-1.482-6.868-1.482-7.94 0-12.651 7.002-14.267 9.961v41.327h-17.904V301.14h17.904v8.887c2.826-4.847 8.212-10.5 16.557-10.5 4.846 0 7.404.942 8.885 1.752l-4.307 15.613m45.362 20.728h-2.29c-10.498 0-17.767 3.1-17.767 10.77 0 4.846 3.905 6.865 7.941 6.865 6.463 0 10.232-3.77 12.116-5.787zm2.02 29.078c-.54-1.617-.942-4.98-1.079-7-2.96 3.5-9.153 8.615-18.44 8.615-11.174 0-19.788-6.73-19.788-18.442 0-17.096 17.634-23.288 34.998-23.288h2.289v-3.769c0-5.654-2.29-9.152-10.635-9.152-8.48 0-14.269 4.44-16.691 6.19l-7.808-10.901c3.904-3.5 12.52-9.424 26.52-9.424 17.903 0 26.383 6.866 26.383 24.23v23.557c0 8.883.941 15.209 1.884 19.384h-17.633m69.186-49.806c-1.076-.672-3.096-1.482-6.864-1.482-7.942 0-12.654 7.002-14.27 9.961v41.327h-17.904V301.14h17.904v8.887c2.828-4.847 8.212-10.5 16.558-10.5 4.844 0 7.403.942 8.884 1.752l-4.308 15.613m10.768-15.752h19.113l14.54 43.212h.673l13.326-43.212h18.442l-27.057 72.556c-5.789 15.48-12.654 24.499-30.556 24.499-5.52 0-8.75-.805-10.096-1.21l2.557-14.135c.942.27 2.423.672 6.327.672 9.153 0 12.384-4.44 14.94-11.441l2.423-6.73-24.632-64.21"
|
|
6721
|
-
})), _path2$
|
|
6841
|
+
})), _path2$f || (_path2$f = /*#__PURE__*/React.createElement("path", {
|
|
6722
6842
|
d: "M244.07 275.908c-.632 3.292-2.639 9.649-5.848 10.062-3.233.413-5.562-3.053-7.881-4.352-3.912-2.182-9.444-3.61-14.556-5.302-4.41-1.462-10.457-3.27-12.23-7.479-2.657-6.265 3.55-9.229 8.02-10.605 4.21-1.293 7.292-1.78 12.78-2.036 8.075-.388 15.784.768 18.495 5.844 1.635 3.057 2.133 9.122 1.22 13.868zm74.12 4.038c-14.064-6.882-32.33-10.33-45.62-17.713-10.522-5.834-18.59-15.471-29.913-20.664-11.552-5.656-28.94-11.341-35.586-12.98-23.496-5.78-43.231 1.747-50.076 7.164-12.781 10.1-22.766 26.516-18.87 50.134 1.65 9.984 4.723 18.383 9.607 25.29 19.818 27.99 56.91 37.084 86.295 54.742 1.036.705 2.118.517 2.78-.383 4.935-7.258 8.947-13.1 17.26-16.558 8.44-3.524 21.722-2.327 33.174-1.77 11.83.573 24.6-.538 28.891-6.655 5.127-7.301 4.828-22.013-2.997-26.508-4.199-2.42-10.459-2.53-15.025-4.635-3.332-1.54-5.901-4.422-7.739-8.428-1.54-3.352-2.973-8.856-.976-12.447 1.84-3.308 6.475-2.372 10.199-1.506 7.38 1.694 19.711 3.49 26.811.376 2.092-1.068-5.386-6.076-8.216-7.459M20.98 299.71c.424-2.396.609-3.063 2.052-4.947 2.286-3.418 30.024-34.543 73.016-42.085 5.658-.811 9.734-.419 10.661 1.849 1.625 3.976-1.667 6.266-5.629 8.56-68.952 41.21-64.064 102.472-64.725 127.532.208 10.252-7.195 12.118-9.043 7.288-8.092-22.074-14.896-56.673-6.333-98.197m46.657-90.251c1.413-1.499 2.334-2.187 4.43-2.778 26.481-6.578 53.046-2.39 72.177 6.14 4.294 1.902 6.229 4.596 3.409 6.405-3.587 2.084-14.456 9.154-20.464 14.752-1.746 1.505-4.86 1.584-6.697 1.34-22.426-2.956-34.074-4.703-67.787 8.077-5.173 2.175-9.826-.784-7.445-4.85 4.489-8.04 14.927-21.49 22.377-29.086M111.209 183c-5.798-.66-5.88-4.902-3.428-6.553 6.3-4.414 16.521-9.743 26.804-13.82 3.078-1.22 4.668-1.537 7.487-1.255 7.578.759 20.125 5.86 34.522 16.133 17.266 12.32 32.626 35.725 22.354 33.83-6.497-1.125-3.668-.816-11.283-1.652-7.781-.69-12.888.11-16.475-.256-1.562-.128-2.793-1.168-3.893-2.07-14.573-13.067-31.407-21.36-56.088-24.357",
|
|
6723
6843
|
fill: "#fff"
|
|
6724
6844
|
})), _path3$a || (_path3$a = /*#__PURE__*/React.createElement("path", {
|
|
@@ -6778,7 +6898,7 @@ function SvgLogoNyplFullWhite(_ref) {
|
|
|
6778
6898
|
})))));
|
|
6779
6899
|
}
|
|
6780
6900
|
|
|
6781
|
-
var _path$A, _path2$
|
|
6901
|
+
var _path$A, _path2$g, _path3$b;
|
|
6782
6902
|
|
|
6783
6903
|
var _excluded$H = ["title", "titleId"];
|
|
6784
6904
|
|
|
@@ -6803,7 +6923,7 @@ function SvgLogoNyplLionBlack(_ref) {
|
|
|
6803
6923
|
}, title) : null, _path$A || (_path$A = /*#__PURE__*/React.createElement("path", {
|
|
6804
6924
|
d: "M80.251 43.353c-.87-1.65-3.396-2.04-6.052-1.91a16.55 16.55 0 00-4.18.651c-1.48.434-3.484 1.433-2.613 3.473.566 1.39 2.57 1.954 4.006 2.432 1.655.564 3.484.998 4.746 1.736.74.434 1.524 1.563 2.57 1.433 1.044-.13 1.698-2.214 1.915-3.256.305-1.607.175-3.56-.392-4.559z",
|
|
6805
6925
|
fill: "#000"
|
|
6806
|
-
})), _path2$
|
|
6926
|
+
})), _path2$g || (_path2$g = /*#__PURE__*/React.createElement("path", {
|
|
6807
6927
|
fillRule: "evenodd",
|
|
6808
6928
|
clipRule: "evenodd",
|
|
6809
6929
|
d: "M68.103.112C31.047.112.87 30.155.87 67.492c0 37.336 30.394 67.423 67.275 67.423 37.448 0 67.798-30.043 67.798-67.38C135.901 30.155 105.551.112 68.103.112zM28.652 114.77a10.757 10.757 0 01-2.482-3.039c-5.748-9.16-8.97-41.548-1.568-52.531 2.352-3.864 4.834-2.084 4.006.911-1.437 6.686-.566 10.42 2.7 17.67 3.631 7.609 12.59 17.32 19.008 24.279 2.664 2.887 4.89 5.301 6.117 6.893 7.185 9.29 9.58 16.063 9.536 17.887-.043 1.389-.305 2.3-2.787 2.083-12.932-.998-25.517-6.382-34.53-14.153zm99.052-30.575l.054-.162C138.6 47.52 111.647 4.497 64.837 6.19c-2.961.174-5.4 1.086-3.222 2.779 6.662 5.123 10.232 11.765 11.495 17.8.087.52.349.825 1.045 1.042 3.048.825 10.756 3.864 13.15 5.687.95.723 1.892 1.69 2.868 2.693 1.487 1.528 3.052 3.136 4.84 4.08 3.412 1.8 6.769 3.27 10.024 4.698h.003c1.77.777 3.511 1.54 5.213 2.335 2.134.955 6.053 3.56 5.792 6.642-.041.485-.157.952-.269 1.404-.13.518-.254 1.018-.254 1.505 0 .562.232 1.19.45 1.783.136.368.267.723.334 1.039.446 2.111.563 4.279.348 6.425-.305 2.301-1.045 5.948-2.351 8.075-.134.207-.282.4-.429.592-.375.49-.74.967-.834 1.623a11.233 11.233 0 01-.697 2.518c-.13.217-.13.608.131.65 5.138 1.911 10.494 5.34 12.889 7.12 1.22.881 1.83-.951 2.341-2.485zm-18.975-20.828a13.058 13.058 0 01-.13-1.215c0-.359.593-.806 1.046-1.147.095-.072.184-.139.26-.2a13.999 13.999 0 011.785-1.258c.14-.07.223.055.273.13.013.02.023.035.032.044 1.742 2.604 1.089 9.073-.174 12.156-.131.303-.392.434-.523.217-.653-1.39-1.567-2.649-2.656-3.3a.689.689 0 01-.218-.52c.435-1.599.538-3.268.305-4.907zM68.495 32.24c-7.708-1.867-14.152.564-16.373 2.344-4.18 3.3-7.446 8.64-6.14 16.238.523 3.256 1.524 5.99 3.136 8.248 4.45 6.297 11.622 9.674 18.79 13.048 3.21 1.512 6.42 3.023 9.382 4.796a.632.632 0 00.915-.13l.016-.024c1.604-2.334 2.91-4.235 5.601-5.36 2.43-1 6.123-.808 9.537-.63h.004c.44.023.874.046 1.302.066 3.875.173 8.055-.174 9.449-2.171 1.698-2.388 1.611-7.163-.958-8.64-.742-.415-1.668-.622-2.595-.83-.816-.181-1.633-.364-2.326-.69-1.088-.477-1.916-1.432-2.525-2.734-.48-1.086-.958-2.866-.305-4.038.556-1.066 2.037-.75 3.246-.49l.063.013c2.395.564 6.445 1.128 8.752.13.654-.347-1.785-1.997-2.699-2.431-2.15-1.062-4.607-1.873-7.06-2.684-2.765-.913-5.525-1.825-7.832-3.09-1.545-.858-2.923-1.961-4.307-3.07-1.7-1.36-3.408-2.727-5.447-3.66a74.478 74.478 0 00-11.626-4.211zM37.186 17.391c-1.872-.217-1.915-1.606-1.132-2.127a47.598 47.598 0 018.753-4.515 4.145 4.145 0 012.438-.391c2.482.26 6.575 1.91 11.278 5.253 5.617 3.994 10.668 11.635 7.315 11.027a34.483 34.483 0 00-3.7-.52c-1.441-.124-2.612-.093-3.57-.067-.723.02-1.325.036-1.83-.02a2.276 2.276 0 01-1.263-.695c-4.746-4.255-10.233-6.946-18.288-7.945zm51.818 59.652a3.828 3.828 0 00-1.655 2.214c-.027.09-.069.215-.118.361-.187.558-.473 1.413-.404 1.723.067.37.58.897.969 1.297.113.116.215.221.293.31a35.34 35.34 0 002.744 2.908 7.351 7.351 0 001.61 1.26c.604.3 1.44.37 2.348.445.273.022.55.045.832.075l.034.004c3.344.346 7.026.728 8.892-1.176.218-.217.305-.868.348-1.302.206-1.336.871-2.37 1.537-3.406.741-1.154 1.484-2.31 1.599-3.888a6.11 6.11 0 00-.349-2.605 2.827 2.827 0 00-1.437-1.737c-1.213-.509-2.098.102-2.896.652-.291.2-.57.393-.849.52-1.622.769-4 .934-6.289 1.094l-.503.035c-.296.02-.594.04-.89.058h-.001c-2.234.14-4.432.277-5.815 1.158zM22.948 26.03c.385-.43.883-.746 1.437-.912a37.386 37.386 0 0123.557 1.997c1.393.608 2.046 1.476 1.132 2.084-1.176.695-4.703 2.996-6.662 4.819-.566.478-1.568.521-2.177.434l-.246-.032c-7.157-.935-11.025-1.44-21.875 2.68-1.698.695-3.222-.26-2.438-1.563 1.437-2.648 4.833-7.033 7.272-9.507zM8.36 53.816a2.946 2.946 0 00-.653 1.606c-2.787 13.502-.566 24.79 2.09 31.997.61 1.563 3.048.955 2.961-2.388.017-.605.023-1.275.03-2.002.082-9.085.246-27.125 21.09-39.546 1.262-.738 2.35-1.476 1.828-2.778-.305-.738-1.655-.868-3.484-.608-14.064 2.475-23.121 12.59-23.862 13.72zm27.738 17.28c-3.963-9.639-1.393-18.279.392-21.578.87-1.65 1.741-2.735 2.874-2.431 1.219.347 1.524 1.606 1.698 3.907 1.263 19.233 12.932 25.702 27.563 32.518 11.583 5.904 24.733 12.633 35.75 28.957 1.654 2.345 1.916 3.777.043 5.123-6.705 4.559-12.802 7.771-21.728 9.855-1.35.304-2.743.087-3.919-2.995-6.742-17.265-15.964-24.728-24.497-31.632-7.174-5.805-13.86-11.216-18.176-21.725zm73.067 38.334c.609 1.172 1.698 2.649 3.57.782 3.223-3.17 7.795-9.291 9.319-12.243.035-.077.074-.154.115-.235.258-.511.56-1.11.146-1.936-.74-1.52-4.877-6.165-7.664-8.292l-.033-.025c-1.086-.823-2.55-1.933-3.929-2.32a3.246 3.246 0 00-1.089-.13c-1.025.118-1.158.592-1.561 2.034l-.137.484c-.74 2.518-2.177 4.298-3.44 4.82a6.957 6.957 0 01-3.745.607c-1.088-.087-1.654.912-.914 1.65 4.136 4.515 6.705 9.204 9.362 14.804z",
|
|
@@ -7204,7 +7324,7 @@ function SvgLogoQplAltWhite(_ref) {
|
|
|
7204
7324
|
})));
|
|
7205
7325
|
}
|
|
7206
7326
|
|
|
7207
|
-
var _path$E, _path2$
|
|
7327
|
+
var _path$E, _path2$h, _path3$c, _path4$3, _path5$2;
|
|
7208
7328
|
|
|
7209
7329
|
var _excluded$P = ["title", "titleId"];
|
|
7210
7330
|
|
|
@@ -7229,7 +7349,7 @@ function SvgLogoQplBlack(_ref) {
|
|
|
7229
7349
|
fillRule: "evenodd",
|
|
7230
7350
|
clipRule: "evenodd",
|
|
7231
7351
|
d: "M32.462 9.322v18.643l-8.116 4.66V13.984l-8.114-4.66-8.116 4.66v18.642L0 27.965V9.322L8.116 4.66 16.23 0h.002l8.115 4.66 8.115 4.66v.002zM8.114 32.626l8.117-4.662 8.115 4.662 8.116 4.66-8.116 4.66-8.115-4.66-8.117-4.66z"
|
|
7232
|
-
})), _path2$
|
|
7352
|
+
})), _path2$h || (_path2$h = /*#__PURE__*/React.createElement("path", {
|
|
7233
7353
|
fillRule: "evenodd",
|
|
7234
7354
|
clipRule: "evenodd",
|
|
7235
7355
|
d: "M8.115 32.626l16.223 9.32 8.112-4.66-16.225-9.322-8.11 4.662z"
|
|
@@ -7307,7 +7427,7 @@ function SvgLogoQplColor(_ref) {
|
|
|
7307
7427
|
})))));
|
|
7308
7428
|
}
|
|
7309
7429
|
|
|
7310
|
-
var _path$F, _path2$
|
|
7430
|
+
var _path$F, _path2$i, _path3$d, _path4$4, _path5$3;
|
|
7311
7431
|
|
|
7312
7432
|
var _excluded$R = ["title", "titleId"];
|
|
7313
7433
|
|
|
@@ -7333,7 +7453,7 @@ function SvgLogoQplWhite(_ref) {
|
|
|
7333
7453
|
fillRule: "evenodd",
|
|
7334
7454
|
clipRule: "evenodd",
|
|
7335
7455
|
d: "M32.462 9.322v18.643l-8.116 4.66V13.984l-8.114-4.66-8.116 4.66v18.642L0 27.965V9.322L8.116 4.66 16.23 0h.002l8.115 4.66 8.115 4.66v.002zM8.114 32.626l8.117-4.662 8.115 4.662 8.116 4.66-8.116 4.66-8.115-4.66-8.117-4.66z"
|
|
7336
|
-
})), _path2$
|
|
7456
|
+
})), _path2$i || (_path2$i = /*#__PURE__*/React.createElement("path", {
|
|
7337
7457
|
fillRule: "evenodd",
|
|
7338
7458
|
clipRule: "evenodd",
|
|
7339
7459
|
d: "M8.115 32.626l16.223 9.32 8.112-4.66-16.225-9.322-8.11 4.662z"
|
|
@@ -7350,7 +7470,7 @@ function SvgLogoQplWhite(_ref) {
|
|
|
7350
7470
|
})));
|
|
7351
7471
|
}
|
|
7352
7472
|
|
|
7353
|
-
var _path$G, _path2$
|
|
7473
|
+
var _path$G, _path2$j, _path3$e, _path4$5, _path5$4;
|
|
7354
7474
|
|
|
7355
7475
|
var _excluded$S = ["title", "titleId"];
|
|
7356
7476
|
|
|
@@ -7373,7 +7493,7 @@ function SvgLogoSchomburgBlack(_ref) {
|
|
|
7373
7493
|
id: titleId
|
|
7374
7494
|
}, title) : null, _path$G || (_path$G = /*#__PURE__*/React.createElement("path", {
|
|
7375
7495
|
d: "M72.306 33.437a.607.607 0 100-1.213c-.306 0-.613.27-.613.606.034.337.307.607.613.607zm-.374 8.728h.817v-7.212h-.817v7.212zm2.758 0h.784v-5.257c.442-.674 1.328-1.416 2.248-1.416 1.09 0 1.498.674 1.498 1.72v4.953h.783v-5.122c0-1.315-.613-2.258-2.111-2.258-1.022 0-1.873.606-2.418 1.314v-1.146h-.784v7.212zm9.707 0h2.316c2.316 0 3.78-.81 3.78-2.797 0-1.45-1.056-2.292-2.316-2.528v-.033c1.124-.27 1.873-1.045 1.873-2.224 0-1.786-1.294-2.494-3.303-2.494H84.43v10.076h-.034zm.817-.708v-4.246h1.533c1.975 0 2.895.809 2.895 2.19 0 1.45-.954 2.09-2.93 2.09h-1.498v-.034zm0-4.954v-3.706h1.43c1.703 0 2.555.539 2.555 1.82 0 1.246-.817 1.886-2.554 1.886h-1.43zm6.948 5.662h.783V31.28h-.783v10.885zm4.632.168a2.87 2.87 0 002.213-1.078c0 .27.069.674.103.91h.783c-.102-.304-.17-.843-.17-1.45v-3.639c0-1.55-.852-2.291-2.35-2.291-.954 0-1.737.303-2.384.91l.442.539c.613-.573 1.192-.775 1.908-.775 1.09 0 1.6.539 1.6 1.718v.81h-.34c-1.703 0-3.849.538-3.849 2.459 0 1.146.818 1.887 2.044 1.887zm.102-.674c-.647 0-1.328-.438-1.328-1.213 0-1.348 1.396-1.82 3.03-1.82h.341v1.921c-.51.708-1.226 1.112-2.043 1.112zm7.458.674c1.09 0 1.874-.404 2.248-.741l-.34-.607c-.307.303-1.022.64-1.873.64-1.635 0-2.35-1.516-2.35-3.133 0-1.652.749-3.067 2.35-3.067.817 0 1.362.303 1.77.64l.409-.572c-.408-.337-1.09-.742-2.179-.742-1.874 0-3.202 1.483-3.202 3.774.034 1.955 1.09 3.808 3.167 3.808zm7.936-.168h.987l-3.405-4.044 3.235-3.168h-.987l-3.202 3.168 3.372 4.044zm-4.223 0h.783V31.28h-.783v10.885zm13.589.168c1.328 0 2.384-.438 2.997-1.01l-.409-.607c-.613.539-1.464.876-2.554.876-2.589 0-4.053-2.157-4.053-4.55 0-2.358 1.464-4.481 4.019-4.481.953 0 1.702.27 2.316.674l.442-.64c-.715-.472-1.566-.742-2.724-.742-3.065 0-4.905 2.46-4.905 5.19 0 2.83 1.805 5.29 4.871 5.29zm6.709 0c1.226 0 2.077-.809 2.418-1.348 0 .405.068.944.102 1.18h.818c-.069-.27-.137-.81-.137-1.382v-5.83h-.783v5.223c-.238.438-1.158 1.45-2.248 1.45-1.124 0-1.498-.674-1.498-1.753v-4.92h-.784v5.089c0 1.314.579 2.291 2.112 2.291zm5.756-.168h.783V31.28h-.783v10.885zm5.245.168c.681 0 1.192-.27 1.396-.438l-.307-.607c-.136.102-.579.337-1.021.337-.647 0-.886-.404-.886-1.145v-4.92h1.873v-.64h-1.873v-2.056h-.783v2.056h-1.226v.64h1.226v4.953c0 1.18.511 1.82 1.601 1.82zm5.006 0c1.226 0 2.077-.809 2.418-1.348 0 .405.068.944.102 1.18h.818c-.069-.27-.137-.81-.137-1.382v-5.83h-.783v5.223c-.238.438-1.158 1.45-2.248 1.45-1.124 0-1.498-.674-1.498-1.753v-4.92h-.784v5.089c0 1.314.579 2.291 2.112 2.291zm5.756-.168h.783v-5.021c.204-.438.851-1.618 1.873-1.618.307 0 .477.068.613.101l.205-.741c-.137-.034-.375-.135-.716-.135-1.021 0-1.669.91-1.941 1.415V34.92h-.783v7.245h-.034zm7.356.168c1.192 0 2.009-.404 2.486-.741l-.34-.607a3.708 3.708 0 01-2.112.674c-1.737 0-2.452-1.516-2.452-3.167v-.169h5.04v-.404c0-1.854-1.021-3.134-2.758-3.134-1.941 0-3.133 1.651-3.133 3.707 0 2.055 1.021 3.841 3.269 3.841zm-2.384-4.65c.204-1.247.954-2.224 2.214-2.224 1.396 0 1.975 1.112 1.975 2.224H155.1zM72.1 26.53h.783v-6.572h1.907v-.64h-1.907v-1.146c0-1.314.545-1.988 1.67-1.988.442 0 .748.101.919.202l.204-.707c-.204-.102-.579-.203-1.124-.203-1.6 0-2.452.977-2.452 2.629v1.213h-1.26v.64h1.26v6.571zm6.777.168c2.282 0 3.338-1.989 3.338-3.808 0-1.786-1.056-3.74-3.338-3.74-2.281 0-3.27 1.954-3.27 3.774s.989 3.774 3.27 3.774zm.035-.674c-1.67 0-2.453-1.483-2.453-3.134 0-1.618.75-3.067 2.418-3.067 1.67 0 2.555 1.483 2.555 3.1-.034 1.652-.852 3.1-2.52 3.1zm4.836.505h.783v-5.02c.204-.439.851-1.618 1.873-1.618.307 0 .477.067.613.1l.205-.74c-.137-.034-.375-.135-.716-.135-1.022 0-1.668.876-1.941 1.415v-1.247h-.783v7.245h-.034zm8.446 0h.851v-4.886h.273c.613 0 .783.101 1.805 1.483l2.486 3.403h1.022l-2.827-3.808c-.579-.741-.783-1.01-.988-1.112h.136c1.772-.067 2.998-.91 2.998-2.56 0-1.686-1.26-2.596-3.304-2.596h-2.418V26.53h-.034zm.817-5.56v-3.808h1.465c1.668 0 2.554.64 2.554 1.887 0 1.247-.851 1.921-2.486 1.921H93.01zm9.604 5.729c1.192 0 2.01-.405 2.487-.742l-.341-.606a3.707 3.707 0 01-2.111.674c-1.737 0-2.453-1.517-2.453-3.168v-.168h5.041v-.405c0-1.853-1.022-3.134-2.759-3.134-1.941 0-3.133 1.651-3.133 3.707 0 2.09 1.056 3.842 3.269 3.842zm-2.384-4.65c.205-1.247.954-2.225 2.214-2.225 1.397 0 1.941 1.112 1.975 2.224h-4.189zm8.447 4.683c1.498 0 2.452-.775 2.452-2.022 0-1.179-1.022-1.684-2.146-2.19-.851-.37-1.566-.674-1.566-1.516 0-.708.476-1.18 1.362-1.18a2.71 2.71 0 011.669.573l.408-.573c-.34-.27-1.055-.674-2.077-.674-1.362 0-2.146.81-2.146 1.887 0 1.18.92 1.685 2.01 2.157.987.438 1.668.775 1.668 1.584 0 .775-.647 1.247-1.634 1.247-.784 0-1.533-.337-1.873-.607l-.341.607c.443.337 1.26.707 2.214.707zm7.016-.033c1.192 0 2.009-.405 2.486-.742l-.341-.606a3.707 3.707 0 01-2.111.674c-1.737 0-2.453-1.517-2.453-3.168v-.168h5.041v-.405c0-1.853-1.022-3.134-2.759-3.134-1.941 0-3.133 1.651-3.133 3.707 0 2.09 1.056 3.842 3.27 3.842zm-2.385-4.65c.205-1.247.954-2.225 2.214-2.225 1.397 0 1.941 1.112 1.976 2.224h-4.19zm8.379 4.65a2.87 2.87 0 002.213-1.079c0 .27.068.674.103.91h.783c-.102-.303-.136-.842-.136-1.449v-3.64c0-1.55-.852-2.29-2.35-2.29-.954 0-1.737.303-2.384.91l.442.538c.613-.572 1.192-.775 1.908-.775 1.089 0 1.6.54 1.6 1.719v.809h-.34c-1.703 0-3.849.539-3.849 2.46-.034 1.145.784 1.887 2.01 1.887zm.102-.674c-.647 0-1.328-.438-1.328-1.213 0-1.348 1.396-1.82 3.031-1.82h.34v1.92c-.545.708-1.226 1.113-2.043 1.113zm5.313.505h.783v-5.02c.204-.439.851-1.618 1.873-1.618.307 0 .477.067.613.1l.205-.74c-.137-.034-.375-.135-.716-.135-1.021 0-1.668.876-1.941 1.415v-1.247h-.817v7.245zm7.186.169c1.09 0 1.873-.405 2.248-.742l-.341-.606c-.306.303-1.022.64-1.873.64-1.635 0-2.35-1.516-2.35-3.134 0-1.651.749-3.066 2.35-3.066.817 0 1.362.303 1.771.64l.409-.573c-.409-.337-1.09-.741-2.18-.741-1.873 0-3.201 1.482-3.201 3.774.034 1.954 1.055 3.808 3.167 3.808zm3.985-.169h.783v-5.257c.272-.404 1.158-1.415 2.248-1.415 1.09 0 1.498.674 1.498 1.719v4.953h.784v-5.122c0-1.314-.613-2.258-2.112-2.258-1.226 0-2.078.81-2.418 1.315v-4.82h-.783V26.53zM74.452 48.769v-.809h-3.576v.809h1.294v3.808h.988v-3.808h1.294zm3.44 3.808v-2.36c0-.606-.273-1.078-1.022-1.078a1.36 1.36 0 00-1.056.506v-2.022h-.92v4.987h.92v-2.325c.068-.1.34-.438.716-.438.34 0 .442.169.442.506v2.19h.92v.034zm1.532-1.483h2.18c.102-1.247-.409-1.988-1.464-1.988-.954 0-1.703.674-1.703 1.752 0 1.078.647 1.786 1.77 1.786.716 0 1.056-.202 1.26-.337l-.306-.607c-.17.068-.442.236-.885.236-.545.034-.817-.337-.852-.842zm0-.64c.069-.438.273-.708.681-.708.443 0 .58.303.58.708h-1.26zm8.48 2.123V47.96h-.885v2.426c0 .37.034.708.034.742 0 0-.204-.371-.477-.775l-1.668-2.393h-1.056v4.617h.885v-2.629c0-.303-.034-.606-.034-.606s.17.337.443.707l1.805 2.561h.954v-.033zm1.567-1.483h2.18c.102-1.247-.409-1.988-1.465-1.988-.953 0-1.702.674-1.702 1.752 0 1.078.647 1.786 1.77 1.786.716 0 1.056-.202 1.26-.337l-.306-.607c-.17.068-.442.236-.885.236-.545.034-.818-.337-.852-.842zm0-.64c.069-.438.273-.708.681-.708.443 0 .58.303.58.708h-1.26zm7.425-1.247h-.92l-.545 2.157-.579-2.157h-.851l-.579 2.157-.51-2.157h-.989l.954 3.37h.852l.715-2.258.715 2.258h.851l.886-3.37zm5.551-1.247h-.953l-.988 1.954-.988-1.954h-1.09l1.533 2.864v1.753h.988v-1.753l1.498-2.864zm3.031 2.898c0-.876-.545-1.752-1.737-1.752-1.192 0-1.702.91-1.702 1.786s.51 1.752 1.702 1.752c1.226 0 1.737-.944 1.737-1.786zm-.987.034c0 .64-.205 1.044-.716 1.044-.51 0-.749-.471-.749-1.078 0-.606.17-1.078.715-1.078.511 0 .75.471.75 1.112zm3.78-1.685a.974.974 0 00-.477-.101c-.443 0-.715.303-.851.539v-.472h-.92v3.37h.92V50.42c.068-.169.34-.506.749-.506.204 0 .307.034.341.068l.238-.775zm1.328 1.718l1.09 1.652h1.09l-1.294-1.854 1.26-1.516h-1.022l-1.124 1.348v-2.966h-.919v4.988h.919v-1.652zm7.561-1.516c0-.977-.783-1.449-1.771-1.449h-1.533v4.617h.988v-1.652h.443c1.158 0 1.873-.505 1.873-1.516zm-.988 0c0 .505-.272.775-.885.775h-.443v-1.483h.477c.613 0 .851.27.851.708zm1.465-.202v2.359c0 .606.272 1.078 1.022 1.078.579 0 .919-.303 1.089-.54 0 .136.034.371.069.439h.919c-.034-.202-.102-.54-.102-.977v-2.393h-.92v2.258c-.068.067-.34.438-.715.438-.34 0-.443-.169-.443-.505v-2.19h-.919v.033zm3.78-1.618v4.785c.17.068.613.27 1.397.27 1.021 0 1.805-.64 1.805-1.786 0-1.18-.579-1.752-1.465-1.752-.374 0-.681.202-.817.337v-1.854h-.92zm.954 2.494c.068-.067.272-.27.579-.27.511 0 .715.371.715 1.011 0 .708-.307 1.079-.817 1.079-.273 0-.409-.068-.477-.068v-1.752zm3.814-2.494h-.919v4.988h.919v-4.988zm1.873 1.618h-.953v3.37h.953v-3.37zm.103-1.011c0-.303-.239-.54-.579-.54-.341 0-.579.237-.579.54 0 .303.238.54.579.54.34.033.579-.237.579-.54zm3.439 4.145l-.272-.607c-.102.068-.341.202-.749.202-.579 0-.852-.471-.852-1.078 0-.606.273-1.045.818-1.045.34 0 .545.101.715.203l.306-.64c-.17-.102-.476-.27-1.055-.27-1.022 0-1.805.64-1.805 1.786 0 1.044.681 1.752 1.77 1.752.648 0 .954-.202 1.124-.303zm4.905.236v-.775h-1.737v-3.808h-.988v4.616h2.725v-.033zm1.498-3.37h-.953v3.37h.953v-3.37zm.102-1.011c0-.303-.238-.54-.579-.54-.34 0-.579.237-.579.54 0 .303.239.54.579.54.341.033.579-.237.579-.54zm.784-.607v4.785c.17.068.613.27 1.396.27 1.022 0 1.805-.64 1.805-1.786 0-1.18-.579-1.752-1.464-1.752-.375 0-.682.202-.818.337v-1.854h-.919zm.953 2.494c.068-.067.273-.27.579-.27.511 0 .715.371.715 1.011 0 .708-.306 1.079-.817 1.079-.272 0-.409-.068-.477-.068v-1.752zm5.075-.876c-.068-.034-.204-.101-.477-.101-.443 0-.715.303-.851.539v-.472h-.92v3.37h.92V50.42c.068-.169.34-.506.749-.506.204 0 .306.034.34.068l.239-.775zm3.133 3.37c-.034-.203-.102-.54-.102-1.011v-1.213c0-.91-.443-1.247-1.362-1.247-.716 0-1.192.303-1.397.471l.409.573c.136-.1.443-.303.885-.303.443 0 .545.169.545.472v.202h-.136c-.919 0-1.805.303-1.805 1.213 0 .607.443.944 1.022.944.477 0 .817-.27.953-.438 0 .1.035.27.069.37h.919v-.033zm-1.022-.91c-.102.1-.306.303-.613.303-.204 0-.408-.101-.408-.337 0-.404.374-.54.919-.54h.136v.574h-.034zm3.951-2.46c-.068-.034-.204-.101-.477-.101-.442 0-.715.303-.851.539v-.472h-.92v3.37h.92V50.42c.068-.169.34-.506.749-.506.204 0 .307.034.341.068l.238-.775zm1.396 3.302l-.136.337c-.136.37-.306.607-.783.607-.204 0-.273-.034-.341-.034l-.136.741c.068.034.238.068.511.068.919 0 1.294-.472 1.601-1.247l1.396-3.74h-.954l-.681 2.224h-.034l-.749-2.225h-.988l1.294 3.27zM55.275 46.374l3.541 3.539 1.84-1.82-3.576-3.505 2.928-2.898-1.839-1.785-8.31 8.222 8.378 8.256 1.84-1.786-6.573-6.47 1.77-1.753zM.613 41.693l6.54 6.436-1.772 1.718-3.542-3.504L0 48.129l3.576 3.538-2.997 2.965 1.84 1.786 8.343-8.29-8.344-8.255-1.805 1.82zM16.075 56.992L30.31 71.077l14.27-14.12 1.805-1.785L30.345 39.3l-1.805 1.786 14.202 14.086-12.431 12.3-14.202-14.086h-.034L4.802 64.54l1.839 1.82 9.434-9.368z"
|
|
7376
|
-
})), _path2$
|
|
7496
|
+
})), _path2$j || (_path2$j = /*#__PURE__*/React.createElement("path", {
|
|
7377
7497
|
d: "M30.31 74.513L16.072 60.427l-8.14 8.088L9.74 70.3l6.334-6.268 1.737 1.718-5.892 5.83 1.805 1.786 5.892-5.83 1.737 1.719-4.836 4.785 1.84 1.82 4.835-4.785 1.737 1.718-2.997 2.966 1.84 1.786 2.962-2.966 3.576 3.538 3.576-3.504 2.963 2.965 1.84-1.82-2.998-2.965 1.771-1.718 4.837 4.785 1.805-1.82-4.837-4.785 1.737-1.719 5.892 5.83 1.84-1.786-5.892-5.83 1.702-1.718L50.88 70.3l1.84-1.82-6.336-6.268 1.737-1.718 5.892 5.83 1.805-1.82-6.845-6.774-.852-.842L30.31 74.513zM48.136 49.83l-1.83 1.81L56.42 61.649l1.83-1.81L48.136 49.83z"
|
|
7378
7498
|
})), _path3$e || (_path3$e = /*#__PURE__*/React.createElement("path", {
|
|
7379
7499
|
d: "M28.709 62.417l1.6 1.617 8.958-8.862-1.805-1.786-12.431-12.3 5.313-5.223 14.202 14.052h.034l13.725-13.58-1.805-1.82L44.58 46.31 30.344 32.224l-8.957 8.862 14.236 14.086-5.313 5.257-12.397-12.3-1.84-1.786L2.315 59.957l1.84 1.786 11.92-11.794 12.635 12.468zM4.18 34.547l-1.83 1.811 10.186 10.08 1.83-1.811L4.18 34.547z"
|
|
@@ -7384,7 +7504,7 @@ function SvgLogoSchomburgBlack(_ref) {
|
|
|
7384
7504
|
})));
|
|
7385
7505
|
}
|
|
7386
7506
|
|
|
7387
|
-
var _path$H, _path2$
|
|
7507
|
+
var _path$H, _path2$k, _path3$f, _path4$6, _path5$5;
|
|
7388
7508
|
|
|
7389
7509
|
var _excluded$T = ["title", "titleId"];
|
|
7390
7510
|
|
|
@@ -7407,7 +7527,7 @@ function SvgLogoSchomburgCircleBlack(_ref) {
|
|
|
7407
7527
|
id: titleId
|
|
7408
7528
|
}, title) : null, _path$H || (_path$H = /*#__PURE__*/React.createElement("path", {
|
|
7409
7529
|
d: "M60.907 31.366l3.903 3.89 2.026-2-3.94-3.854 3.227-3.187-2.026-1.964-9.157 9.042 9.232 9.079 2.026-1.964-7.242-7.115 1.951-1.927zM.675 26.216l7.206 7.078-1.952 1.89-3.903-3.854L0 33.294l3.94 3.89-3.302 3.262 2.026 1.964 9.194-9.116-9.194-9.08-1.989 2.002zM17.714 43.04l15.687 15.49 15.723-15.527 1.99-1.964-17.676-17.454-1.989 1.964 15.649 15.49-13.697 13.526-15.65-15.49h-.037L5.293 51.34l2.026 2.001L17.714 43.04z"
|
|
7410
|
-
})), _path2$
|
|
7530
|
+
})), _path2$k || (_path2$k = /*#__PURE__*/React.createElement("path", {
|
|
7411
7531
|
d: "M33.397 62.312l-15.686-15.49-8.969 8.893 1.99 1.964 6.98-6.892 1.913 1.89-6.492 6.41 1.989 1.965 6.492-6.411 1.914 1.89-5.329 5.262 2.026 2.001 5.33-5.262 1.913 1.89-3.302 3.26 2.026 1.965 3.265-3.261 3.94 3.89 3.94-3.853 3.266 3.26 2.026-2-3.302-3.261 1.951-1.89 5.329 5.262 1.989-2.001-5.329-5.262 1.914-1.89 6.492 6.41 2.026-1.963-6.492-6.411 1.877-1.89 6.98 6.892 2.026-2-6.98-6.893 1.914-1.89 6.492 6.41 1.99-2-7.544-7.45-.938-.926-19.627 19.382zM53.041 35.163l-2.017 1.991L62.17 48.16l2.017-1.992L53.04 35.163z"
|
|
7412
7532
|
})), _path3$f || (_path3$f = /*#__PURE__*/React.createElement("path", {
|
|
7413
7533
|
d: "M31.635 49.008l1.764 1.779 9.87-9.746-1.99-1.964L27.582 25.55l5.854-5.744 15.65 15.454h.037l15.123-14.935-1.989-2-13.134 12.97-15.687-15.49-9.87 9.745 15.687 15.49-5.854 5.782-13.66-13.527-2.026-1.964L2.552 46.303l2.026 1.964 13.135-12.97 13.922 13.711zM4.603 18.36l-2.017 1.992L13.81 31.436l2.017-1.991L4.603 18.36z"
|
|
@@ -7418,7 +7538,7 @@ function SvgLogoSchomburgCircleBlack(_ref) {
|
|
|
7418
7538
|
})));
|
|
7419
7539
|
}
|
|
7420
7540
|
|
|
7421
|
-
var _path$I, _path2$
|
|
7541
|
+
var _path$I, _path2$l, _path3$g, _path4$7, _path5$6;
|
|
7422
7542
|
|
|
7423
7543
|
var _excluded$U = ["title", "titleId"];
|
|
7424
7544
|
|
|
@@ -7443,7 +7563,7 @@ function SvgLogoSchomburgCircleColor(_ref) {
|
|
|
7443
7563
|
}, title) : null, _path$I || (_path$I = /*#__PURE__*/React.createElement("path", {
|
|
7444
7564
|
d: "M60.907 31.366l3.903 3.89 2.026-2-3.94-3.854 3.227-3.187-2.026-1.964-9.157 9.042 9.232 9.079 2.026-1.964-7.242-7.115 1.951-1.927zM.675 26.216l7.206 7.078-1.952 1.89-3.903-3.854L0 33.294l3.94 3.89-3.302 3.262 2.026 1.964 9.194-9.116-9.194-9.08-1.989 2.002zM17.714 43.04l15.687 15.49 15.723-15.527 1.99-1.964-17.676-17.454-1.989 1.964 15.649 15.49-13.697 13.526-15.65-15.49h-.037L5.293 51.34l2.026 2.001L17.714 43.04z",
|
|
7445
7565
|
fill: "#C54B38"
|
|
7446
|
-
})), _path2$
|
|
7566
|
+
})), _path2$l || (_path2$l = /*#__PURE__*/React.createElement("path", {
|
|
7447
7567
|
d: "M33.397 62.312l-15.686-15.49-8.969 8.893 1.99 1.964 6.98-6.892 1.913 1.89-6.492 6.41 1.989 1.965 6.492-6.411 1.914 1.89-5.329 5.262 2.026 2.001 5.33-5.262 1.913 1.89-3.302 3.26 2.026 1.965 3.265-3.261 3.94 3.89 3.94-3.853 3.266 3.26 2.026-2-3.302-3.261 1.951-1.89 5.329 5.262 1.989-2.001-5.329-5.262 1.914-1.89 6.492 6.41 2.026-1.963-6.492-6.411 1.877-1.89 6.98 6.892 2.026-2-6.98-6.893 1.914-1.89 6.492 6.41 1.99-2-7.544-7.45-.938-.926-19.627 19.382zM53.041 35.163l-2.017 1.991L62.17 48.16l2.017-1.992L53.04 35.163z",
|
|
7448
7568
|
fill: "#C54B38"
|
|
7449
7569
|
})), _path3$g || (_path3$g = /*#__PURE__*/React.createElement("path", {
|
|
@@ -7458,7 +7578,7 @@ function SvgLogoSchomburgCircleColor(_ref) {
|
|
|
7458
7578
|
})));
|
|
7459
7579
|
}
|
|
7460
7580
|
|
|
7461
|
-
var _path$J, _path2$
|
|
7581
|
+
var _path$J, _path2$m, _path3$h, _path4$8, _path5$7;
|
|
7462
7582
|
|
|
7463
7583
|
var _excluded$V = ["title", "titleId"];
|
|
7464
7584
|
|
|
@@ -7482,7 +7602,7 @@ function SvgLogoSchomburgCircleWhite(_ref) {
|
|
|
7482
7602
|
id: titleId
|
|
7483
7603
|
}, title) : null, _path$J || (_path$J = /*#__PURE__*/React.createElement("path", {
|
|
7484
7604
|
d: "M60.907 31.366l3.903 3.89 2.026-2-3.94-3.854 3.227-3.187-2.026-1.964-9.157 9.042 9.232 9.079 2.026-1.964-7.242-7.115 1.951-1.927zM.675 26.216l7.206 7.078-1.952 1.89-3.903-3.854L0 33.294l3.94 3.89-3.302 3.262 2.026 1.964 9.194-9.116-9.194-9.08-1.989 2.002zM17.714 43.04l15.687 15.49 15.723-15.527 1.99-1.964-17.676-17.454-1.989 1.964 15.649 15.49-13.697 13.526-15.65-15.49h-.037L5.293 51.34l2.026 2.001L17.714 43.04z"
|
|
7485
|
-
})), _path2$
|
|
7605
|
+
})), _path2$m || (_path2$m = /*#__PURE__*/React.createElement("path", {
|
|
7486
7606
|
d: "M33.397 62.312l-15.686-15.49-8.969 8.893 1.99 1.964 6.98-6.892 1.913 1.89-6.492 6.41 1.989 1.965 6.492-6.411 1.914 1.89-5.329 5.262 2.026 2.001 5.33-5.262 1.913 1.89-3.302 3.26 2.026 1.965 3.265-3.261 3.94 3.89 3.94-3.853 3.266 3.26 2.026-2-3.302-3.261 1.951-1.89 5.329 5.262 1.989-2.001-5.329-5.262 1.914-1.89 6.492 6.41 2.026-1.963-6.492-6.411 1.877-1.89 6.98 6.892 2.026-2-6.98-6.893 1.914-1.89 6.492 6.41 1.99-2-7.544-7.45-.938-.926-19.627 19.382zM53.041 35.163l-2.017 1.991L62.17 48.16l2.017-1.992L53.04 35.163z"
|
|
7487
7607
|
})), _path3$h || (_path3$h = /*#__PURE__*/React.createElement("path", {
|
|
7488
7608
|
d: "M31.635 49.008l1.764 1.779 9.87-9.746-1.99-1.964L27.582 25.55l5.854-5.744 15.65 15.454h.037l15.123-14.935-1.989-2-13.134 12.97-15.687-15.49-9.87 9.745 15.687 15.49-5.854 5.782-13.66-13.527-2.026-1.964L2.552 46.303l2.026 1.964 13.135-12.97 13.922 13.711zM4.603 18.36l-2.017 1.992L13.81 31.436l2.017-1.991L4.603 18.36z"
|
|
@@ -7493,7 +7613,7 @@ function SvgLogoSchomburgCircleWhite(_ref) {
|
|
|
7493
7613
|
})));
|
|
7494
7614
|
}
|
|
7495
7615
|
|
|
7496
|
-
var _path$K, _path2$
|
|
7616
|
+
var _path$K, _path2$n, _path3$i, _path4$9, _path5$8, _path6$2, _path7$2;
|
|
7497
7617
|
|
|
7498
7618
|
var _excluded$W = ["title", "titleId"];
|
|
7499
7619
|
|
|
@@ -7518,7 +7638,7 @@ function SvgLogoSchomburgColor(_ref) {
|
|
|
7518
7638
|
}, title) : null, _path$K || (_path$K = /*#__PURE__*/React.createElement("path", {
|
|
7519
7639
|
d: "M72.306 33.437a.607.607 0 100-1.213c-.306 0-.613.27-.613.606.034.337.307.607.613.607zm-.374 8.728h.817v-7.212h-.817v7.212zm2.758 0h.784v-5.257c.442-.674 1.328-1.416 2.248-1.416 1.09 0 1.498.674 1.498 1.72v4.953h.783v-5.122c0-1.315-.613-2.258-2.111-2.258-1.022 0-1.873.606-2.418 1.314v-1.146h-.784v7.212zm9.707 0h2.316c2.316 0 3.78-.81 3.78-2.797 0-1.45-1.056-2.292-2.316-2.528v-.033c1.124-.27 1.873-1.045 1.873-2.224 0-1.786-1.294-2.494-3.303-2.494H84.43v10.076h-.034zm.817-.708v-4.246h1.533c1.975 0 2.895.809 2.895 2.19 0 1.45-.954 2.09-2.93 2.09h-1.498v-.034zm0-4.954v-3.706h1.43c1.703 0 2.555.539 2.555 1.82 0 1.246-.817 1.886-2.554 1.886h-1.43zm6.948 5.662h.783V31.28h-.783v10.885zm4.632.168a2.87 2.87 0 002.213-1.078c0 .27.069.674.103.91h.783c-.102-.304-.17-.843-.17-1.45v-3.639c0-1.55-.852-2.291-2.35-2.291-.954 0-1.737.303-2.384.91l.442.539c.613-.573 1.192-.775 1.908-.775 1.09 0 1.6.539 1.6 1.718v.81h-.34c-1.703 0-3.849.538-3.849 2.459 0 1.146.818 1.887 2.044 1.887zm.102-.674c-.647 0-1.328-.438-1.328-1.213 0-1.348 1.396-1.82 3.03-1.82h.341v1.921c-.51.708-1.226 1.112-2.043 1.112zm7.458.674c1.09 0 1.874-.404 2.248-.741l-.34-.607c-.307.303-1.022.64-1.873.64-1.635 0-2.35-1.516-2.35-3.133 0-1.652.749-3.067 2.35-3.067.817 0 1.362.303 1.77.64l.409-.572c-.408-.337-1.09-.742-2.179-.742-1.874 0-3.202 1.483-3.202 3.774.034 1.955 1.09 3.808 3.167 3.808zm7.936-.168h.987l-3.405-4.044 3.235-3.168h-.987l-3.202 3.168 3.372 4.044zm-4.223 0h.783V31.28h-.783v10.885zm13.589.168c1.328 0 2.384-.438 2.997-1.01l-.409-.607c-.613.539-1.464.876-2.554.876-2.589 0-4.053-2.157-4.053-4.55 0-2.358 1.464-4.481 4.019-4.481.953 0 1.702.27 2.316.674l.442-.64c-.715-.472-1.566-.742-2.724-.742-3.065 0-4.905 2.46-4.905 5.19 0 2.83 1.805 5.29 4.871 5.29zm6.709 0c1.226 0 2.077-.809 2.418-1.348 0 .405.068.944.102 1.18h.818c-.069-.27-.137-.81-.137-1.382v-5.83h-.783v5.223c-.238.438-1.158 1.45-2.248 1.45-1.124 0-1.498-.674-1.498-1.753v-4.92h-.784v5.089c0 1.314.579 2.291 2.112 2.291zm5.756-.168h.783V31.28h-.783v10.885zm5.245.168c.681 0 1.192-.27 1.396-.438l-.307-.607c-.136.102-.579.337-1.021.337-.647 0-.886-.404-.886-1.145v-4.92h1.873v-.64h-1.873v-2.056h-.783v2.056h-1.226v.64h1.226v4.953c0 1.18.511 1.82 1.601 1.82zm5.006 0c1.226 0 2.077-.809 2.418-1.348 0 .405.068.944.102 1.18h.818c-.069-.27-.137-.81-.137-1.382v-5.83h-.783v5.223c-.238.438-1.158 1.45-2.248 1.45-1.124 0-1.498-.674-1.498-1.753v-4.92h-.784v5.089c0 1.314.579 2.291 2.112 2.291zm5.756-.168h.783v-5.021c.204-.438.851-1.618 1.873-1.618.307 0 .477.068.613.101l.205-.741c-.137-.034-.375-.135-.716-.135-1.021 0-1.669.91-1.941 1.415V34.92h-.783v7.245h-.034zm7.356.168c1.192 0 2.009-.404 2.486-.741l-.34-.607a3.708 3.708 0 01-2.112.674c-1.737 0-2.452-1.516-2.452-3.167v-.169h5.04v-.404c0-1.854-1.021-3.134-2.758-3.134-1.941 0-3.133 1.651-3.133 3.707 0 2.055 1.021 3.841 3.269 3.841zm-2.384-4.65c.204-1.247.954-2.224 2.214-2.224 1.396 0 1.975 1.112 1.975 2.224H155.1zM72.1 26.53h.783v-6.572h1.907v-.64h-1.907v-1.146c0-1.314.545-1.988 1.67-1.988.442 0 .748.101.919.202l.204-.707c-.204-.102-.579-.203-1.124-.203-1.6 0-2.452.977-2.452 2.629v1.213h-1.26v.64h1.26v6.571zm6.777.168c2.282 0 3.338-1.989 3.338-3.808 0-1.786-1.056-3.74-3.338-3.74-2.281 0-3.27 1.954-3.27 3.774s.989 3.774 3.27 3.774zm.035-.674c-1.67 0-2.453-1.483-2.453-3.134 0-1.618.75-3.067 2.418-3.067 1.67 0 2.555 1.483 2.555 3.1-.034 1.652-.852 3.1-2.52 3.1zm4.836.505h.783v-5.02c.204-.439.851-1.618 1.873-1.618.307 0 .477.067.613.1l.205-.74c-.137-.034-.375-.135-.716-.135-1.022 0-1.668.876-1.941 1.415v-1.247h-.783v7.245h-.034zm8.446 0h.851v-4.886h.273c.613 0 .783.101 1.805 1.483l2.486 3.403h1.022l-2.827-3.808c-.579-.741-.783-1.01-.988-1.112h.136c1.772-.067 2.998-.91 2.998-2.56 0-1.686-1.26-2.596-3.304-2.596h-2.418V26.53h-.034zm.817-5.56v-3.808h1.465c1.668 0 2.554.64 2.554 1.887 0 1.247-.851 1.921-2.486 1.921H93.01zm9.604 5.729c1.192 0 2.01-.405 2.487-.742l-.341-.606a3.707 3.707 0 01-2.111.674c-1.737 0-2.453-1.517-2.453-3.168v-.168h5.041v-.405c0-1.853-1.022-3.134-2.759-3.134-1.941 0-3.133 1.651-3.133 3.707 0 2.09 1.056 3.842 3.269 3.842zm-2.384-4.65c.205-1.247.954-2.225 2.214-2.225 1.397 0 1.941 1.112 1.975 2.224h-4.189zm8.447 4.683c1.498 0 2.452-.775 2.452-2.022 0-1.179-1.022-1.684-2.146-2.19-.851-.37-1.566-.674-1.566-1.516 0-.708.476-1.18 1.362-1.18a2.71 2.71 0 011.669.573l.408-.573c-.34-.27-1.055-.674-2.077-.674-1.362 0-2.146.81-2.146 1.887 0 1.18.92 1.685 2.01 2.157.987.438 1.668.775 1.668 1.584 0 .775-.647 1.247-1.634 1.247-.784 0-1.533-.337-1.873-.607l-.341.607c.443.337 1.26.707 2.214.707zm7.016-.033c1.192 0 2.009-.405 2.486-.742l-.341-.606a3.707 3.707 0 01-2.111.674c-1.737 0-2.453-1.517-2.453-3.168v-.168h5.041v-.405c0-1.853-1.022-3.134-2.759-3.134-1.941 0-3.133 1.651-3.133 3.707 0 2.09 1.056 3.842 3.27 3.842zm-2.385-4.65c.205-1.247.954-2.225 2.214-2.225 1.397 0 1.941 1.112 1.976 2.224h-4.19zm8.379 4.65a2.87 2.87 0 002.213-1.079c0 .27.068.674.103.91h.783c-.102-.303-.136-.842-.136-1.449v-3.64c0-1.55-.852-2.29-2.35-2.29-.954 0-1.737.303-2.384.91l.442.538c.613-.572 1.192-.775 1.908-.775 1.089 0 1.6.54 1.6 1.719v.809h-.34c-1.703 0-3.849.539-3.849 2.46-.034 1.145.784 1.887 2.01 1.887zm.102-.674c-.647 0-1.328-.438-1.328-1.213 0-1.348 1.396-1.82 3.031-1.82h.34v1.92c-.545.708-1.226 1.113-2.043 1.113zm5.313.505h.783v-5.02c.204-.439.851-1.618 1.873-1.618.307 0 .477.067.613.1l.205-.74c-.137-.034-.375-.135-.716-.135-1.021 0-1.668.876-1.941 1.415v-1.247h-.817v7.245zm7.186.169c1.09 0 1.873-.405 2.248-.742l-.341-.606c-.306.303-1.022.64-1.873.64-1.635 0-2.35-1.516-2.35-3.134 0-1.651.749-3.066 2.35-3.066.817 0 1.362.303 1.771.64l.409-.573c-.409-.337-1.09-.741-2.18-.741-1.873 0-3.201 1.482-3.201 3.774.034 1.954 1.055 3.808 3.167 3.808zm3.985-.169h.783v-5.257c.272-.404 1.158-1.415 2.248-1.415 1.09 0 1.498.674 1.498 1.719v4.953h.784v-5.122c0-1.314-.613-2.258-2.112-2.258-1.226 0-2.078.81-2.418 1.315v-4.82h-.783V26.53zM74.452 48.769v-.809h-3.576v.809h1.294v3.808h.988v-3.808h1.294zm3.44 3.808v-2.36c0-.606-.273-1.078-1.022-1.078a1.36 1.36 0 00-1.056.506v-2.022h-.92v4.987h.92v-2.325c.068-.1.34-.438.716-.438.34 0 .442.169.442.506v2.19h.92v.034zm1.532-1.483h2.18c.102-1.247-.409-1.988-1.464-1.988-.954 0-1.703.674-1.703 1.752 0 1.078.647 1.786 1.77 1.786.716 0 1.056-.202 1.26-.337l-.306-.607c-.17.068-.442.236-.885.236-.545.034-.817-.337-.852-.842zm0-.64c.069-.438.273-.708.681-.708.443 0 .58.303.58.708h-1.26zm8.48 2.123V47.96h-.885v2.426c0 .37.034.708.034.742 0 0-.204-.371-.477-.775l-1.668-2.393h-1.056v4.617h.885v-2.629c0-.303-.034-.606-.034-.606s.17.337.443.707l1.805 2.561h.954v-.033zm1.567-1.483h2.18c.102-1.247-.409-1.988-1.465-1.988-.953 0-1.702.674-1.702 1.752 0 1.078.647 1.786 1.77 1.786.716 0 1.056-.202 1.26-.337l-.306-.607c-.17.068-.442.236-.885.236-.545.034-.818-.337-.852-.842zm0-.64c.069-.438.273-.708.681-.708.443 0 .58.303.58.708h-1.26zm7.425-1.247h-.92l-.545 2.157-.579-2.157h-.851l-.579 2.157-.51-2.157h-.989l.954 3.37h.852l.715-2.258.715 2.258h.851l.886-3.37zm5.551-1.247h-.953l-.988 1.954-.988-1.954h-1.09l1.533 2.864v1.753h.988v-1.753l1.498-2.864zm3.031 2.898c0-.876-.545-1.752-1.737-1.752-1.192 0-1.702.91-1.702 1.786s.51 1.752 1.702 1.752c1.226 0 1.737-.944 1.737-1.786zm-.987.034c0 .64-.205 1.044-.716 1.044-.51 0-.749-.471-.749-1.078 0-.606.17-1.078.715-1.078.511 0 .75.471.75 1.112zm3.78-1.685a.974.974 0 00-.477-.101c-.443 0-.715.303-.851.539v-.472h-.92v3.37h.92V50.42c.068-.169.34-.506.749-.506.204 0 .307.034.341.068l.238-.775zm1.328 1.718l1.09 1.652h1.09l-1.294-1.854 1.26-1.516h-1.022l-1.124 1.348v-2.966h-.919v4.988h.919v-1.652zm7.561-1.516c0-.977-.783-1.449-1.771-1.449h-1.533v4.617h.988v-1.652h.443c1.158 0 1.873-.505 1.873-1.516zm-.988 0c0 .505-.272.775-.885.775h-.443v-1.483h.477c.613 0 .851.27.851.708zm1.465-.202v2.359c0 .606.272 1.078 1.022 1.078.579 0 .919-.303 1.089-.54 0 .136.034.371.069.439h.919c-.034-.202-.102-.54-.102-.977v-2.393h-.92v2.258c-.068.067-.34.438-.715.438-.34 0-.443-.169-.443-.505v-2.19h-.919v.033zm3.78-1.618v4.785c.17.068.613.27 1.397.27 1.021 0 1.805-.64 1.805-1.786 0-1.18-.579-1.752-1.465-1.752-.374 0-.681.202-.817.337v-1.854h-.92zm.954 2.494c.068-.067.272-.27.579-.27.511 0 .715.371.715 1.011 0 .708-.307 1.079-.817 1.079-.273 0-.409-.068-.477-.068v-1.752zm3.814-2.494h-.919v4.988h.919v-4.988zm1.873 1.618h-.953v3.37h.953v-3.37zm.103-1.011c0-.303-.239-.54-.579-.54-.341 0-.579.237-.579.54 0 .303.238.54.579.54.34.033.579-.237.579-.54zm3.439 4.145l-.272-.607c-.102.068-.341.202-.749.202-.579 0-.852-.471-.852-1.078 0-.606.273-1.045.818-1.045.34 0 .545.101.715.203l.306-.64c-.17-.102-.476-.27-1.055-.27-1.022 0-1.805.64-1.805 1.786 0 1.044.681 1.752 1.77 1.752.648 0 .954-.202 1.124-.303zm4.905.236v-.775h-1.737v-3.808h-.988v4.616h2.725v-.033zm1.498-3.37h-.953v3.37h.953v-3.37zm.102-1.011c0-.303-.238-.54-.579-.54-.34 0-.579.237-.579.54 0 .303.239.54.579.54.341.033.579-.237.579-.54zm.784-.607v4.785c.17.068.613.27 1.396.27 1.022 0 1.805-.64 1.805-1.786 0-1.18-.579-1.752-1.464-1.752-.375 0-.682.202-.818.337v-1.854h-.919zm.953 2.494c.068-.067.273-.27.579-.27.511 0 .715.371.715 1.011 0 .708-.306 1.079-.817 1.079-.272 0-.409-.068-.477-.068v-1.752zm5.075-.876c-.068-.034-.204-.101-.477-.101-.443 0-.715.303-.851.539v-.472h-.92v3.37h.92V50.42c.068-.169.34-.506.749-.506.204 0 .306.034.34.068l.239-.775zm3.133 3.37c-.034-.203-.102-.54-.102-1.011v-1.213c0-.91-.443-1.247-1.362-1.247-.716 0-1.192.303-1.397.471l.409.573c.136-.1.443-.303.885-.303.443 0 .545.169.545.472v.202h-.136c-.919 0-1.805.303-1.805 1.213 0 .607.443.944 1.022.944.477 0 .817-.27.953-.438 0 .1.035.27.069.37h.919v-.033zm-1.022-.91c-.102.1-.306.303-.613.303-.204 0-.408-.101-.408-.337 0-.404.374-.54.919-.54h.136v.574h-.034zm3.951-2.46c-.068-.034-.204-.101-.477-.101-.442 0-.715.303-.851.539v-.472h-.92v3.37h.92V50.42c.068-.169.34-.506.749-.506.204 0 .307.034.341.068l.238-.775zm1.396 3.302l-.136.337c-.136.37-.306.607-.783.607-.204 0-.273-.034-.341-.034l-.136.741c.068.034.238.068.511.068.919 0 1.294-.472 1.601-1.247l1.396-3.74h-.954l-.681 2.224h-.034l-.749-2.225h-.988l1.294 3.27z",
|
|
7520
7640
|
fill: "#010101"
|
|
7521
|
-
})), _path2$
|
|
7641
|
+
})), _path2$n || (_path2$n = /*#__PURE__*/React.createElement("path", {
|
|
7522
7642
|
d: "M55.275 46.374l3.541 3.539 1.84-1.82-3.576-3.505 2.928-2.898-1.839-1.785-8.31 8.222 8.378 8.256 1.84-1.786-6.573-6.47 1.77-1.753zM.613 41.693l6.54 6.436-1.772 1.718-3.542-3.504L0 48.129l3.576 3.538-2.997 2.965 1.84 1.786 8.343-8.29-8.344-8.255-1.805 1.82zM16.075 56.992L30.31 71.077l14.27-14.12 1.805-1.785L30.345 39.3l-1.805 1.786 14.202 14.086-12.431 12.3-14.202-14.086h-.034L4.802 64.54l1.839 1.82 9.434-9.368z",
|
|
7523
7643
|
fill: "#C54B38"
|
|
7524
7644
|
})), _path3$i || (_path3$i = /*#__PURE__*/React.createElement("path", {
|
|
@@ -7539,7 +7659,7 @@ function SvgLogoSchomburgColor(_ref) {
|
|
|
7539
7659
|
})));
|
|
7540
7660
|
}
|
|
7541
7661
|
|
|
7542
|
-
var _path$L, _path2$
|
|
7662
|
+
var _path$L, _path2$o, _path3$j, _path4$a, _path5$9;
|
|
7543
7663
|
|
|
7544
7664
|
var _excluded$X = ["title", "titleId"];
|
|
7545
7665
|
|
|
@@ -7563,7 +7683,7 @@ function SvgLogoSchomburgWhite(_ref) {
|
|
|
7563
7683
|
id: titleId
|
|
7564
7684
|
}, title) : null, _path$L || (_path$L = /*#__PURE__*/React.createElement("path", {
|
|
7565
7685
|
d: "M72.306 33.437a.607.607 0 100-1.213c-.306 0-.613.27-.613.606.034.337.307.607.613.607zm-.374 8.728h.817v-7.212h-.817v7.212zm2.758 0h.784v-5.257c.442-.674 1.328-1.416 2.248-1.416 1.09 0 1.498.674 1.498 1.72v4.953h.783v-5.122c0-1.315-.613-2.258-2.111-2.258-1.022 0-1.873.606-2.418 1.314v-1.146h-.784v7.212zm9.707 0h2.316c2.316 0 3.78-.81 3.78-2.797 0-1.45-1.056-2.292-2.316-2.528v-.033c1.124-.27 1.873-1.045 1.873-2.224 0-1.786-1.294-2.494-3.303-2.494H84.43v10.076h-.034zm.817-.708v-4.246h1.533c1.975 0 2.895.809 2.895 2.19 0 1.45-.954 2.09-2.93 2.09h-1.498v-.034zm0-4.954v-3.706h1.43c1.703 0 2.555.539 2.555 1.82 0 1.246-.817 1.886-2.554 1.886h-1.43zm6.948 5.662h.783V31.28h-.783v10.885zm4.632.168a2.87 2.87 0 002.213-1.078c0 .27.069.674.103.91h.783c-.102-.304-.17-.843-.17-1.45v-3.639c0-1.55-.852-2.291-2.35-2.291-.954 0-1.737.303-2.384.91l.442.539c.613-.573 1.192-.775 1.908-.775 1.09 0 1.6.539 1.6 1.718v.81h-.34c-1.703 0-3.849.538-3.849 2.459 0 1.146.818 1.887 2.044 1.887zm.102-.674c-.647 0-1.328-.438-1.328-1.213 0-1.348 1.396-1.82 3.03-1.82h.341v1.921c-.51.708-1.226 1.112-2.043 1.112zm7.458.674c1.09 0 1.874-.404 2.248-.741l-.34-.607c-.307.303-1.022.64-1.873.64-1.635 0-2.35-1.516-2.35-3.133 0-1.652.749-3.067 2.35-3.067.817 0 1.362.303 1.77.64l.409-.572c-.408-.337-1.09-.742-2.179-.742-1.874 0-3.202 1.483-3.202 3.774.034 1.955 1.09 3.808 3.167 3.808zm7.936-.168h.987l-3.405-4.044 3.235-3.168h-.987l-3.202 3.168 3.372 4.044zm-4.223 0h.783V31.28h-.783v10.885zm13.589.168c1.328 0 2.384-.438 2.997-1.01l-.409-.607c-.613.539-1.464.876-2.554.876-2.589 0-4.053-2.157-4.053-4.55 0-2.358 1.464-4.481 4.019-4.481.953 0 1.702.27 2.316.674l.442-.64c-.715-.472-1.566-.742-2.724-.742-3.065 0-4.905 2.46-4.905 5.19 0 2.83 1.805 5.29 4.871 5.29zm6.709 0c1.226 0 2.077-.809 2.418-1.348 0 .405.068.944.102 1.18h.818c-.069-.27-.137-.81-.137-1.382v-5.83h-.783v5.223c-.238.438-1.158 1.45-2.248 1.45-1.124 0-1.498-.674-1.498-1.753v-4.92h-.784v5.089c0 1.314.579 2.291 2.112 2.291zm5.756-.168h.783V31.28h-.783v10.885zm5.245.168c.681 0 1.192-.27 1.396-.438l-.307-.607c-.136.102-.579.337-1.021.337-.647 0-.886-.404-.886-1.145v-4.92h1.873v-.64h-1.873v-2.056h-.783v2.056h-1.226v.64h1.226v4.953c0 1.18.511 1.82 1.601 1.82zm5.006 0c1.226 0 2.077-.809 2.418-1.348 0 .405.068.944.102 1.18h.818c-.069-.27-.137-.81-.137-1.382v-5.83h-.783v5.223c-.238.438-1.158 1.45-2.248 1.45-1.124 0-1.498-.674-1.498-1.753v-4.92h-.784v5.089c0 1.314.579 2.291 2.112 2.291zm5.756-.168h.783v-5.021c.204-.438.851-1.618 1.873-1.618.307 0 .477.068.613.101l.205-.741c-.137-.034-.375-.135-.716-.135-1.021 0-1.669.91-1.941 1.415V34.92h-.783v7.245h-.034zm7.356.168c1.192 0 2.009-.404 2.486-.741l-.34-.607a3.708 3.708 0 01-2.112.674c-1.737 0-2.452-1.516-2.452-3.167v-.169h5.04v-.404c0-1.854-1.021-3.134-2.758-3.134-1.941 0-3.133 1.651-3.133 3.707 0 2.055 1.021 3.841 3.269 3.841zm-2.384-4.65c.204-1.247.954-2.224 2.214-2.224 1.396 0 1.975 1.112 1.975 2.224H155.1zM72.1 26.53h.783v-6.572h1.907v-.64h-1.907v-1.146c0-1.314.545-1.988 1.67-1.988.442 0 .748.101.919.202l.204-.707c-.204-.102-.579-.203-1.124-.203-1.6 0-2.452.977-2.452 2.629v1.213h-1.26v.64h1.26v6.571zm6.777.168c2.282 0 3.338-1.989 3.338-3.808 0-1.786-1.056-3.74-3.338-3.74-2.281 0-3.27 1.954-3.27 3.774s.989 3.774 3.27 3.774zm.035-.674c-1.67 0-2.453-1.483-2.453-3.134 0-1.618.75-3.067 2.418-3.067 1.67 0 2.555 1.483 2.555 3.1-.034 1.652-.852 3.1-2.52 3.1zm4.836.505h.783v-5.02c.204-.439.851-1.618 1.873-1.618.307 0 .477.067.613.1l.205-.74c-.137-.034-.375-.135-.716-.135-1.022 0-1.668.876-1.941 1.415v-1.247h-.783v7.245h-.034zm8.446 0h.851v-4.886h.273c.613 0 .783.101 1.805 1.483l2.486 3.403h1.022l-2.827-3.808c-.579-.741-.783-1.01-.988-1.112h.136c1.772-.067 2.998-.91 2.998-2.56 0-1.686-1.26-2.596-3.304-2.596h-2.418V26.53h-.034zm.817-5.56v-3.808h1.465c1.668 0 2.554.64 2.554 1.887 0 1.247-.851 1.921-2.486 1.921H93.01zm9.604 5.729c1.192 0 2.01-.405 2.487-.742l-.341-.606a3.707 3.707 0 01-2.111.674c-1.737 0-2.453-1.517-2.453-3.168v-.168h5.041v-.405c0-1.853-1.022-3.134-2.759-3.134-1.941 0-3.133 1.651-3.133 3.707 0 2.09 1.056 3.842 3.269 3.842zm-2.384-4.65c.205-1.247.954-2.225 2.214-2.225 1.397 0 1.941 1.112 1.975 2.224h-4.189zm8.447 4.683c1.498 0 2.452-.775 2.452-2.022 0-1.179-1.022-1.684-2.146-2.19-.851-.37-1.566-.674-1.566-1.516 0-.708.476-1.18 1.362-1.18a2.71 2.71 0 011.669.573l.408-.573c-.34-.27-1.055-.674-2.077-.674-1.362 0-2.146.81-2.146 1.887 0 1.18.92 1.685 2.01 2.157.987.438 1.668.775 1.668 1.584 0 .775-.647 1.247-1.634 1.247-.784 0-1.533-.337-1.873-.607l-.341.607c.443.337 1.26.707 2.214.707zm7.016-.033c1.192 0 2.009-.405 2.486-.742l-.341-.606a3.707 3.707 0 01-2.111.674c-1.737 0-2.453-1.517-2.453-3.168v-.168h5.041v-.405c0-1.853-1.022-3.134-2.759-3.134-1.941 0-3.133 1.651-3.133 3.707 0 2.09 1.056 3.842 3.27 3.842zm-2.385-4.65c.205-1.247.954-2.225 2.214-2.225 1.397 0 1.941 1.112 1.976 2.224h-4.19zm8.379 4.65a2.87 2.87 0 002.213-1.079c0 .27.068.674.103.91h.783c-.102-.303-.136-.842-.136-1.449v-3.64c0-1.55-.852-2.29-2.35-2.29-.954 0-1.737.303-2.384.91l.442.538c.613-.572 1.192-.775 1.908-.775 1.089 0 1.6.54 1.6 1.719v.809h-.34c-1.703 0-3.849.539-3.849 2.46-.034 1.145.784 1.887 2.01 1.887zm.102-.674c-.647 0-1.328-.438-1.328-1.213 0-1.348 1.396-1.82 3.031-1.82h.34v1.92c-.545.708-1.226 1.113-2.043 1.113zm5.313.505h.783v-5.02c.204-.439.851-1.618 1.873-1.618.307 0 .477.067.613.1l.205-.74c-.137-.034-.375-.135-.716-.135-1.021 0-1.668.876-1.941 1.415v-1.247h-.817v7.245zm7.186.169c1.09 0 1.873-.405 2.248-.742l-.341-.606c-.306.303-1.022.64-1.873.64-1.635 0-2.35-1.516-2.35-3.134 0-1.651.749-3.066 2.35-3.066.817 0 1.362.303 1.771.64l.409-.573c-.409-.337-1.09-.741-2.18-.741-1.873 0-3.201 1.482-3.201 3.774.034 1.954 1.055 3.808 3.167 3.808zm3.985-.169h.783v-5.257c.272-.404 1.158-1.415 2.248-1.415 1.09 0 1.498.674 1.498 1.719v4.953h.784v-5.122c0-1.314-.613-2.258-2.112-2.258-1.226 0-2.078.81-2.418 1.315v-4.82h-.783V26.53zM74.452 48.769v-.809h-3.576v.809h1.294v3.808h.988v-3.808h1.294zm3.44 3.808v-2.36c0-.606-.273-1.078-1.022-1.078a1.36 1.36 0 00-1.056.506v-2.022h-.92v4.987h.92v-2.325c.068-.1.34-.438.716-.438.34 0 .442.169.442.506v2.19h.92v.034zm1.532-1.483h2.18c.102-1.247-.409-1.988-1.464-1.988-.954 0-1.703.674-1.703 1.752 0 1.078.647 1.786 1.77 1.786.716 0 1.056-.202 1.26-.337l-.306-.607c-.17.068-.442.236-.885.236-.545.034-.817-.337-.852-.842zm0-.64c.069-.438.273-.708.681-.708.443 0 .58.303.58.708h-1.26zm8.48 2.123V47.96h-.885v2.426c0 .37.034.708.034.742 0 0-.204-.371-.477-.775l-1.668-2.393h-1.056v4.617h.885v-2.629c0-.303-.034-.606-.034-.606s.17.337.443.707l1.805 2.561h.954v-.033zm1.567-1.483h2.18c.102-1.247-.409-1.988-1.465-1.988-.953 0-1.702.674-1.702 1.752 0 1.078.647 1.786 1.77 1.786.716 0 1.056-.202 1.26-.337l-.306-.607c-.17.068-.442.236-.885.236-.545.034-.818-.337-.852-.842zm0-.64c.069-.438.273-.708.681-.708.443 0 .58.303.58.708h-1.26zm7.425-1.247h-.92l-.545 2.157-.579-2.157h-.851l-.579 2.157-.51-2.157h-.989l.954 3.37h.852l.715-2.258.715 2.258h.851l.886-3.37zm5.551-1.247h-.953l-.988 1.954-.988-1.954h-1.09l1.533 2.864v1.753h.988v-1.753l1.498-2.864zm3.031 2.898c0-.876-.545-1.752-1.737-1.752-1.192 0-1.702.91-1.702 1.786s.51 1.752 1.702 1.752c1.226 0 1.737-.944 1.737-1.786zm-.987.034c0 .64-.205 1.044-.716 1.044-.51 0-.749-.471-.749-1.078 0-.606.17-1.078.715-1.078.511 0 .75.471.75 1.112zm3.78-1.685a.974.974 0 00-.477-.101c-.443 0-.715.303-.851.539v-.472h-.92v3.37h.92V50.42c.068-.169.34-.506.749-.506.204 0 .307.034.341.068l.238-.775zm1.328 1.718l1.09 1.652h1.09l-1.294-1.854 1.26-1.516h-1.022l-1.124 1.348v-2.966h-.919v4.988h.919v-1.652zm7.561-1.516c0-.977-.783-1.449-1.771-1.449h-1.533v4.617h.988v-1.652h.443c1.158 0 1.873-.505 1.873-1.516zm-.988 0c0 .505-.272.775-.885.775h-.443v-1.483h.477c.613 0 .851.27.851.708zm1.465-.202v2.359c0 .606.272 1.078 1.022 1.078.579 0 .919-.303 1.089-.54 0 .136.034.371.069.439h.919c-.034-.202-.102-.54-.102-.977v-2.393h-.92v2.258c-.068.067-.34.438-.715.438-.34 0-.443-.169-.443-.505v-2.19h-.919v.033zm3.78-1.618v4.785c.17.068.613.27 1.397.27 1.021 0 1.805-.64 1.805-1.786 0-1.18-.579-1.752-1.465-1.752-.374 0-.681.202-.817.337v-1.854h-.92zm.954 2.494c.068-.067.272-.27.579-.27.511 0 .715.371.715 1.011 0 .708-.307 1.079-.817 1.079-.273 0-.409-.068-.477-.068v-1.752zm3.814-2.494h-.919v4.988h.919v-4.988zm1.873 1.618h-.953v3.37h.953v-3.37zm.103-1.011c0-.303-.239-.54-.579-.54-.341 0-.579.237-.579.54 0 .303.238.54.579.54.34.033.579-.237.579-.54zm3.439 4.145l-.272-.607c-.102.068-.341.202-.749.202-.579 0-.852-.471-.852-1.078 0-.606.273-1.045.818-1.045.34 0 .545.101.715.203l.306-.64c-.17-.102-.476-.27-1.055-.27-1.022 0-1.805.64-1.805 1.786 0 1.044.681 1.752 1.77 1.752.648 0 .954-.202 1.124-.303zm4.905.236v-.775h-1.737v-3.808h-.988v4.616h2.725v-.033zm1.498-3.37h-.953v3.37h.953v-3.37zm.102-1.011c0-.303-.238-.54-.579-.54-.34 0-.579.237-.579.54 0 .303.239.54.579.54.341.033.579-.237.579-.54zm.784-.607v4.785c.17.068.613.27 1.396.27 1.022 0 1.805-.64 1.805-1.786 0-1.18-.579-1.752-1.464-1.752-.375 0-.682.202-.818.337v-1.854h-.919zm.953 2.494c.068-.067.273-.27.579-.27.511 0 .715.371.715 1.011 0 .708-.306 1.079-.817 1.079-.272 0-.409-.068-.477-.068v-1.752zm5.075-.876c-.068-.034-.204-.101-.477-.101-.443 0-.715.303-.851.539v-.472h-.92v3.37h.92V50.42c.068-.169.34-.506.749-.506.204 0 .306.034.34.068l.239-.775zm3.133 3.37c-.034-.203-.102-.54-.102-1.011v-1.213c0-.91-.443-1.247-1.362-1.247-.716 0-1.192.303-1.397.471l.409.573c.136-.1.443-.303.885-.303.443 0 .545.169.545.472v.202h-.136c-.919 0-1.805.303-1.805 1.213 0 .607.443.944 1.022.944.477 0 .817-.27.953-.438 0 .1.035.27.069.37h.919v-.033zm-1.022-.91c-.102.1-.306.303-.613.303-.204 0-.408-.101-.408-.337 0-.404.374-.54.919-.54h.136v.574h-.034zm3.951-2.46c-.068-.034-.204-.101-.477-.101-.442 0-.715.303-.851.539v-.472h-.92v3.37h.92V50.42c.068-.169.34-.506.749-.506.204 0 .307.034.341.068l.238-.775zm1.396 3.302l-.136.337c-.136.37-.306.607-.783.607-.204 0-.273-.034-.341-.034l-.136.741c.068.034.238.068.511.068.919 0 1.294-.472 1.601-1.247l1.396-3.74h-.954l-.681 2.224h-.034l-.749-2.225h-.988l1.294 3.27zM55.275 46.374l3.541 3.539 1.84-1.82-3.576-3.505 2.928-2.898-1.839-1.785-8.31 8.222 8.378 8.256 1.84-1.786-6.573-6.47 1.77-1.753zM.613 41.693l6.54 6.436-1.772 1.718-3.542-3.504L0 48.129l3.576 3.538-2.997 2.965 1.84 1.786 8.343-8.29-8.344-8.255-1.805 1.82zM16.075 56.992L30.31 71.077l14.27-14.12 1.805-1.785L30.345 39.3l-1.805 1.786 14.202 14.086-12.431 12.3-14.202-14.086h-.034L4.802 64.54l1.839 1.82 9.434-9.368z"
|
|
7566
|
-
})), _path2$
|
|
7686
|
+
})), _path2$o || (_path2$o = /*#__PURE__*/React.createElement("path", {
|
|
7567
7687
|
d: "M30.31 74.513L16.072 60.427l-8.14 8.088L9.74 70.3l6.334-6.268 1.737 1.718-5.892 5.83 1.805 1.786 5.892-5.83 1.737 1.719-4.836 4.785 1.84 1.82 4.835-4.785 1.737 1.718-2.997 2.966 1.84 1.786 2.962-2.966 3.576 3.538 3.576-3.504 2.963 2.965 1.84-1.82-2.998-2.965 1.771-1.718 4.837 4.785 1.805-1.82-4.837-4.785 1.737-1.719 5.892 5.83 1.84-1.786-5.892-5.83 1.702-1.718L50.88 70.3l1.84-1.82-6.336-6.268 1.737-1.718 5.892 5.83 1.805-1.82-6.845-6.774-.852-.842L30.31 74.513zM48.136 49.83l-1.83 1.81L56.42 61.649l1.83-1.81L48.136 49.83z"
|
|
7568
7688
|
})), _path3$j || (_path3$j = /*#__PURE__*/React.createElement("path", {
|
|
7569
7689
|
d: "M28.709 62.417l1.6 1.617 8.958-8.862-1.805-1.786-12.431-12.3 5.313-5.223 14.202 14.052h.034l13.725-13.58-1.805-1.82L44.58 46.31 30.344 32.224l-8.957 8.862 14.236 14.086-5.313 5.257-12.397-12.3-1.84-1.786L2.315 59.957l1.84 1.786 11.92-11.794 12.635 12.468zM4.18 34.547l-1.83 1.811 10.186 10.08 1.83-1.811L4.18 34.547z"
|
|
@@ -7748,7 +7868,7 @@ function SvgLogoSnflWhite(_ref) {
|
|
|
7748
7868
|
})));
|
|
7749
7869
|
}
|
|
7750
7870
|
|
|
7751
|
-
var _path$O, _path2$
|
|
7871
|
+
var _path$O, _path2$p, _path3$k, _path4$b, _path5$a, _path6$3, _path7$3, _path8$1, _path9$1, _path10$1, _path11$1, _path12$1, _path13$1, _path14, _path15, _path16, _path17, _path18, _path19, _path20, _path21, _path22, _path23, _path24, _path25, _path26, _path27, _path28, _path29, _path30, _path31, _path32, _path33, _path34, _path35, _path36, _path37, _path38, _path39, _path40, _path41, _path42, _path43, _path44, _path45, _path46, _path47, _path48, _path49, _path50, _path51, _path52, _path53, _path54, _path55;
|
|
7752
7872
|
|
|
7753
7873
|
var _excluded$11 = ["title", "titleId"];
|
|
7754
7874
|
|
|
@@ -7773,7 +7893,7 @@ function SvgLogoTreasuresColor(_ref) {
|
|
|
7773
7893
|
}, title) : null, _path$O || (_path$O = /*#__PURE__*/React.createElement("path", {
|
|
7774
7894
|
d: "M21.553 153.725c-.997-.059-3.455-.118-5.33-.118-1.874 0-4.332.059-5.329.118-.059 0-.118-.177-.059-.236 2.111-.819 2.99-1.986 2.99-6.894v-31.067H10.31c-5.742 0-8.141 1.284-10.075 6.54-.059.059-.236 0-.236-.059.236-3.388.236-7.123.118-9.168 0-.118.06-.177.177-.177 1.174.059 5.388.118 8.142.118h15.581c2.753 0 6.968-.059 8.141-.118.118 0 .177.059.177.177-.118 2.045-.118 5.78.119 9.168 0 .059-.178.118-.237.059-1.934-5.256-4.332-6.54-10.075-6.54H18.63v31.067c0 4.908.878 6.075 2.99 6.894.05.059-.008.236-.067.236z",
|
|
7775
7895
|
fill: "#D3BA81"
|
|
7776
|
-
})), _path2$
|
|
7896
|
+
})), _path2$p || (_path2$p = /*#__PURE__*/React.createElement("path", {
|
|
7777
7897
|
d: "M21.553 153.725c-.997-.059-3.455-.118-5.33-.118-1.874 0-4.332.059-5.329.118-.059 0-.118-.177-.059-.236 2.111-.819 2.99-1.986 2.99-6.894v-31.067H10.31c-5.742 0-8.141 1.284-10.075 6.54-.059.059-.236 0-.236-.059.236-3.388.236-7.123.118-9.168 0-.118.06-.177.177-.177 1.174.059 5.388.118 8.142.118h15.581c2.753 0 6.968-.059 8.141-.118.118 0 .177.059.177.177-.118 2.045-.118 5.78.119 9.168 0 .059-.178.118-.237.059-1.934-5.256-4.332-6.54-10.075-6.54H18.63v31.067c0 4.908.878 6.075 2.99 6.894.05.059-.008.236-.067.236zM51.246 115.536h-7.263v16.762h7.263c6.503 0 9.367-2.568 9.367-8.407.007-5.845-2.864-8.355-9.367-8.355zm5.27 18.859l6.385 11.854c1.934 3.616 3.75 5.196 5.912 5.196.524 0 1.174-.177 1.174-.177.059 0 .177.177.177.236-.642 1.343-2.34 2.569-4.569 2.569-3.166 0-4.982-1.639-7.322-6.016l-6.909-13.02h-7.38v11.559c0 4.908.878 6.074 2.989 6.894.059.059 0 .236-.06.236-.996-.059-3.454-.118-5.328-.118-1.875 0-4.156.059-5.152.118-.06 0-.118-.177-.06-.236 1.934-.82 2.813-1.868 2.813-6.599v-27.332c0-4.732-.879-5.78-2.812-6.599-.06-.059 0-.236.059-.236 0 0 1.756.059 6.148.059h8.724c9.315 0 14.35 3.565 14.35 10.924 0 6.015-3.219 9.581-9.139 10.688z",
|
|
7778
7898
|
fill: "#D3BA81"
|
|
7779
7899
|
})), _path3$k || (_path3$k = /*#__PURE__*/React.createElement("path", {
|
|
@@ -7938,7 +8058,7 @@ function SvgLogoTreasuresColor(_ref) {
|
|
|
7938
8058
|
})));
|
|
7939
8059
|
}
|
|
7940
8060
|
|
|
7941
|
-
var _path$P, _path2$
|
|
8061
|
+
var _path$P, _path2$q, _path3$l, _path4$c, _path5$b, _path6$4, _path7$4, _path8$2, _path9$2, _path10$2, _path11$2, _path12$2, _path13$2, _path14$1, _path15$1, _path16$1, _path17$1, _path18$1, _path19$1, _path20$1, _path21$1, _path22$1, _path23$1, _path24$1, _path25$1, _path26$1, _path27$1, _path28$1, _path29$1, _path30$1, _path31$1, _path32$1, _path33$1, _path34$1, _path35$1, _path36$1, _path37$1, _path38$1, _path39$1, _path40$1, _path41$1, _path42$1, _path43$1, _path44$1, _path45$1, _path46$1, _path47$1, _path48$1, _path49$1, _path50$1, _path51$1, _path52$1, _path53$1, _path54$1, _path55$1;
|
|
7942
8062
|
|
|
7943
8063
|
var _excluded$12 = ["title", "titleId"];
|
|
7944
8064
|
|
|
@@ -7963,7 +8083,7 @@ function SvgLogoTreasuresColorNegative(_ref) {
|
|
|
7963
8083
|
}, title) : null, _path$P || (_path$P = /*#__PURE__*/React.createElement("path", {
|
|
7964
8084
|
d: "M23.553 154.725c-.997-.059-3.455-.118-5.33-.118-1.874 0-4.332.059-5.329.118-.059 0-.118-.177-.059-.236 2.111-.819 2.99-1.986 2.99-6.894v-31.067H12.31c-5.742 0-8.141 1.284-10.075 6.54-.059.059-.236 0-.236-.059.236-3.388.236-7.123.118-9.168 0-.118.06-.177.177-.177 1.174.059 5.388.118 8.142.118h15.581c2.753 0 6.968-.059 8.141-.118.118 0 .177.059.177.177-.118 2.045-.118 5.78.119 9.168 0 .059-.178.118-.237.059-1.934-5.256-4.332-6.54-10.075-6.54H20.63v31.067c0 4.908.878 6.075 2.99 6.894.05.059-.008.236-.067.236z",
|
|
7965
8085
|
fill: "#D3BA81"
|
|
7966
|
-
})), _path2$
|
|
8086
|
+
})), _path2$q || (_path2$q = /*#__PURE__*/React.createElement("path", {
|
|
7967
8087
|
d: "M23.553 154.725c-.997-.059-3.455-.118-5.33-.118-1.874 0-4.332.059-5.329.118-.059 0-.118-.177-.059-.236 2.111-.819 2.99-1.986 2.99-6.894v-31.067H12.31c-5.742 0-8.141 1.284-10.075 6.54-.059.059-.236 0-.236-.059.236-3.388.236-7.123.118-9.168 0-.118.06-.177.177-.177 1.174.059 5.388.118 8.142.118h15.581c2.753 0 6.968-.059 8.141-.118.118 0 .177.059.177.177-.118 2.045-.118 5.78.119 9.168 0 .059-.178.118-.237.059-1.934-5.256-4.332-6.54-10.075-6.54H20.63v31.067c0 4.908.878 6.075 2.99 6.894.05.059-.008.236-.067.236zM53.246 116.536h-7.263v16.762h7.263c6.503 0 9.367-2.568 9.367-8.407.007-5.845-2.864-8.355-9.367-8.355zm5.27 18.859l6.385 11.854c1.934 3.616 3.75 5.196 5.912 5.196.524 0 1.174-.177 1.174-.177.059 0 .177.177.177.236-.642 1.343-2.34 2.569-4.569 2.569-3.166 0-4.982-1.639-7.322-6.016l-6.909-13.02h-7.38v11.559c0 4.908.878 6.074 2.989 6.894.059.059 0 .236-.06.236-.996-.059-3.454-.118-5.328-.118-1.875 0-4.156.059-5.152.118-.06 0-.118-.177-.06-.236 1.934-.82 2.813-1.868 2.813-6.599v-27.332c0-4.732-.879-5.78-2.812-6.599-.06-.059 0-.236.059-.236 0 0 1.756.059 6.148.059h8.724c9.315 0 14.35 3.565 14.35 10.924 0 6.015-3.219 9.581-9.139 10.688z",
|
|
7968
8088
|
fill: "#D3BA81"
|
|
7969
8089
|
})), _path3$l || (_path3$l = /*#__PURE__*/React.createElement("path", {
|
|
@@ -8175,6 +8295,8 @@ var logoSvgs = {
|
|
|
8175
8295
|
*/
|
|
8176
8296
|
|
|
8177
8297
|
function Logo$1(props) {
|
|
8298
|
+
var _children$props, _children$props2;
|
|
8299
|
+
|
|
8178
8300
|
var _props$additionalStyl = props.additionalStyles,
|
|
8179
8301
|
additionalStyles = _props$additionalStyl === void 0 ? {} : _props$additionalStyl,
|
|
8180
8302
|
children = props.children,
|
|
@@ -8201,10 +8323,10 @@ function Logo$1(props) {
|
|
|
8201
8323
|
var childSVG = null; // Component prop validation
|
|
8202
8324
|
|
|
8203
8325
|
if (name && children) {
|
|
8204
|
-
console.warn("Logo
|
|
8326
|
+
console.warn("NYPL Reservoir Logo: Pass either a `name` prop or an `svg` element " + "child. Do not pass both.");
|
|
8205
8327
|
return null;
|
|
8206
8328
|
} else if (!name && !children) {
|
|
8207
|
-
console.warn("Pass a logo `name` prop or an SVG child to `Logo` to ensure a logo appears.");
|
|
8329
|
+
console.warn("NYPL Reservoir Logo: Pass a logo `name` prop or an SVG child to " + "`Logo` to ensure a logo appears.");
|
|
8208
8330
|
return null;
|
|
8209
8331
|
} // The user wants to render an existing logo. Load the logo and render it
|
|
8210
8332
|
// as a component through Chakra's Icon component. Otherwise, we're going to
|
|
@@ -8222,10 +8344,10 @@ function Logo$1(props) {
|
|
|
8222
8344
|
// Apply logo props to the SVG child.
|
|
8223
8345
|
|
|
8224
8346
|
|
|
8225
|
-
if (children.type === "svg" || children.props.type === "svg" || children.props.mdxType === "svg") {
|
|
8347
|
+
if (children.type === "svg" || ((_children$props = children.props) == null ? void 0 : _children$props.type) === "svg" || ((_children$props2 = children.props) == null ? void 0 : _children$props2.mdxType) === "svg") {
|
|
8226
8348
|
childSVG = React.cloneElement(children, _extends({}, logoProps));
|
|
8227
8349
|
} else {
|
|
8228
|
-
console.warn("
|
|
8350
|
+
console.warn("NYPL Reservoir Logo: An `svg` element must be passed to the `Logo` " + "component as its child.");
|
|
8229
8351
|
}
|
|
8230
8352
|
|
|
8231
8353
|
return React.createElement(react.Box, {
|
|
@@ -8272,14 +8394,14 @@ var Modal = /*#__PURE__*/function (_React$Component) {
|
|
|
8272
8394
|
*/
|
|
8273
8395
|
|
|
8274
8396
|
function NotificationHeading$1(props) {
|
|
8275
|
-
var
|
|
8276
|
-
children = props.children,
|
|
8397
|
+
var children = props.children,
|
|
8277
8398
|
icon = props.icon,
|
|
8278
8399
|
id = props.id,
|
|
8400
|
+
isCentered = props.isCentered,
|
|
8279
8401
|
notificationType = props.notificationType;
|
|
8280
8402
|
var styles = react.useMultiStyleConfig("NotificationHeading", {
|
|
8281
|
-
centered: centered,
|
|
8282
8403
|
icon: icon,
|
|
8404
|
+
isCentered: isCentered,
|
|
8283
8405
|
notificationType: notificationType
|
|
8284
8406
|
});
|
|
8285
8407
|
return React__default.createElement(react.Box, {
|
|
@@ -8318,14 +8440,14 @@ function NotificationContent$1(props) {
|
|
|
8318
8440
|
|
|
8319
8441
|
function Notification$1(props) {
|
|
8320
8442
|
var ariaLabel = props.ariaLabel,
|
|
8321
|
-
_props$centered = props.centered,
|
|
8322
|
-
centered = _props$centered === void 0 ? false : _props$centered,
|
|
8323
8443
|
className = props.className,
|
|
8324
8444
|
_props$dismissible = props.dismissible,
|
|
8325
8445
|
dismissible = _props$dismissible === void 0 ? false : _props$dismissible,
|
|
8326
8446
|
icon = props.icon,
|
|
8327
8447
|
_props$id = props.id,
|
|
8328
8448
|
id = _props$id === void 0 ? generateUUID() : _props$id,
|
|
8449
|
+
_props$isCentered = props.isCentered,
|
|
8450
|
+
isCentered = _props$isCentered === void 0 ? false : _props$isCentered,
|
|
8329
8451
|
_props$noMargin = props.noMargin,
|
|
8330
8452
|
noMargin = _props$noMargin === void 0 ? false : _props$noMargin,
|
|
8331
8453
|
notificationContent = props.notificationContent,
|
|
@@ -8344,8 +8466,8 @@ function Notification$1(props) {
|
|
|
8344
8466
|
};
|
|
8345
8467
|
|
|
8346
8468
|
var styles = react.useMultiStyleConfig("Notification", {
|
|
8347
|
-
centered: centered,
|
|
8348
8469
|
dismissible: dismissible,
|
|
8470
|
+
isCentered: isCentered,
|
|
8349
8471
|
noMargin: noMargin,
|
|
8350
8472
|
notificationType: notificationType
|
|
8351
8473
|
});
|
|
@@ -8400,13 +8522,13 @@ function Notification$1(props) {
|
|
|
8400
8522
|
}));
|
|
8401
8523
|
var iconElem = iconElement();
|
|
8402
8524
|
var childHeading = notificationHeading && React__default.createElement(NotificationHeading$1, {
|
|
8403
|
-
centered: centered,
|
|
8404
8525
|
icon: iconElem,
|
|
8405
8526
|
id: id,
|
|
8527
|
+
isCentered: isCentered,
|
|
8406
8528
|
notificationType: notificationType
|
|
8407
8529
|
}, notificationHeading); // Specific alignment styles for the content.
|
|
8408
8530
|
|
|
8409
|
-
var alignText = childHeading && showIcon && (!!icon || !
|
|
8531
|
+
var alignText = childHeading && showIcon && (!!icon || !isCentered);
|
|
8410
8532
|
var childContent = React__default.createElement(NotificationContent$1, {
|
|
8411
8533
|
alignText: alignText,
|
|
8412
8534
|
icon: !childHeading ? iconElem : null,
|
|
@@ -8467,11 +8589,11 @@ var Pagination$1 = function Pagination(props) {
|
|
|
8467
8589
|
}
|
|
8468
8590
|
|
|
8469
8591
|
if (getPageHref && onPageChange) {
|
|
8470
|
-
console.warn("NYPL Reservoir Pagination: Props for both `getPageHref` and `onPageChange` are passed.
|
|
8592
|
+
console.warn("NYPL Reservoir Pagination: Props for both `getPageHref` and " + "`onPageChange` are passed. The component will default to using " + "`getPageHref`.");
|
|
8471
8593
|
}
|
|
8472
8594
|
|
|
8473
8595
|
if (getPageHref && currentPage) {
|
|
8474
|
-
console.warn("NYPL Reservoir Pagination: The `currentPage` prop does not work with the `getPageHref` prop. Use `currentPage` with `onPageChange` instead.");
|
|
8596
|
+
console.warn("NYPL Reservoir Pagination: The `currentPage` prop does not work with " + "the `getPageHref` prop. Use `currentPage` with `onPageChange` instead.");
|
|
8475
8597
|
} // If `getPageHref` was passed, then links should go to a new page.
|
|
8476
8598
|
|
|
8477
8599
|
|
|
@@ -8498,7 +8620,7 @@ var Pagination$1 = function Pagination(props) {
|
|
|
8498
8620
|
|
|
8499
8621
|
var nextPage = function nextPage(e) {
|
|
8500
8622
|
if (selectedPage < pageCount) {
|
|
8501
|
-
handlePageClick(e,
|
|
8623
|
+
handlePageClick(e, nextPageNumber);
|
|
8502
8624
|
}
|
|
8503
8625
|
};
|
|
8504
8626
|
/**
|
|
@@ -8662,7 +8784,7 @@ var ProgressIndicator$1 = function ProgressIndicator(props) {
|
|
|
8662
8784
|
var finalValue = value;
|
|
8663
8785
|
|
|
8664
8786
|
if (finalValue < 0 || finalValue > 100) {
|
|
8665
|
-
console.warn("ProgressIndicator:
|
|
8787
|
+
console.warn("NYPL Reservoir ProgressIndicator: An invalid value was passed for the" + " `value` prop, so 0 will be used. A valid value should be a number" + " between 0 and 100.");
|
|
8666
8788
|
finalValue = 0;
|
|
8667
8789
|
}
|
|
8668
8790
|
|
|
@@ -8741,6 +8863,10 @@ var Radio$1 = /*#__PURE__*/React.forwardRef(function (props, ref) {
|
|
|
8741
8863
|
var attributes = {};
|
|
8742
8864
|
|
|
8743
8865
|
if (!showLabel) {
|
|
8866
|
+
if (typeof labelText !== "string") {
|
|
8867
|
+
console.warn("NYPL Reservoir Radio: `labelText` must be a string when `showLabel` is false.");
|
|
8868
|
+
}
|
|
8869
|
+
|
|
8744
8870
|
attributes["aria-label"] = labelText && footnote ? labelText + " - " + footnote : labelText;
|
|
8745
8871
|
} else {
|
|
8746
8872
|
if (footnote) {
|
|
@@ -8771,11 +8897,6 @@ var Radio$1 = /*#__PURE__*/React.forwardRef(function (props, ref) {
|
|
|
8771
8897
|
})));
|
|
8772
8898
|
});
|
|
8773
8899
|
|
|
8774
|
-
(function (RadioGroupLayoutTypes) {
|
|
8775
|
-
RadioGroupLayoutTypes["Column"] = "column";
|
|
8776
|
-
RadioGroupLayoutTypes["Row"] = "row";
|
|
8777
|
-
})(exports.RadioGroupLayoutTypes || (exports.RadioGroupLayoutTypes = {}));
|
|
8778
|
-
|
|
8779
8900
|
var onChangeDefault$1 = function onChangeDefault() {
|
|
8780
8901
|
return;
|
|
8781
8902
|
};
|
|
@@ -8790,13 +8911,15 @@ var RadioGroup$1 = /*#__PURE__*/React.forwardRef(function (props, ref) {
|
|
|
8790
8911
|
invalidText = props.invalidText,
|
|
8791
8912
|
_props$isDisabled = props.isDisabled,
|
|
8792
8913
|
isDisabled = _props$isDisabled === void 0 ? false : _props$isDisabled,
|
|
8914
|
+
_props$isFullWidth = props.isFullWidth,
|
|
8915
|
+
isFullWidth = _props$isFullWidth === void 0 ? false : _props$isFullWidth,
|
|
8793
8916
|
_props$isInvalid = props.isInvalid,
|
|
8794
8917
|
isInvalid = _props$isInvalid === void 0 ? false : _props$isInvalid,
|
|
8795
8918
|
_props$isRequired = props.isRequired,
|
|
8796
8919
|
isRequired = _props$isRequired === void 0 ? false : _props$isRequired,
|
|
8797
8920
|
labelText = props.labelText,
|
|
8798
8921
|
_props$layout = props.layout,
|
|
8799
|
-
layout = _props$layout === void 0 ? exports.
|
|
8922
|
+
layout = _props$layout === void 0 ? exports.LayoutTypes.Column : _props$layout,
|
|
8800
8923
|
name = props.name,
|
|
8801
8924
|
_props$onChange = props.onChange,
|
|
8802
8925
|
onChange = _props$onChange === void 0 ? onChangeDefault$1 : _props$onChange,
|
|
@@ -8807,7 +8930,7 @@ var RadioGroup$1 = /*#__PURE__*/React.forwardRef(function (props, ref) {
|
|
|
8807
8930
|
_props$showLabel = props.showLabel,
|
|
8808
8931
|
showLabel = _props$showLabel === void 0 ? true : _props$showLabel;
|
|
8809
8932
|
var footnote = isInvalid ? invalidText : helperText;
|
|
8810
|
-
var spacingProp = layout === exports.
|
|
8933
|
+
var spacingProp = layout === exports.LayoutTypes.Column ? spacing.s : spacing.l;
|
|
8811
8934
|
var newChildren = []; // Use Chakra's RadioGroup hook to set and get the proper props
|
|
8812
8935
|
// or the custom components.
|
|
8813
8936
|
|
|
@@ -8825,7 +8948,7 @@ var RadioGroup$1 = /*#__PURE__*/React.forwardRef(function (props, ref) {
|
|
|
8825
8948
|
if (child.type !== Radio$1) {
|
|
8826
8949
|
// Special case for Storybook MDX documentation.
|
|
8827
8950
|
if (child.props.mdxType && child.props.mdxType === "Radio") ; else {
|
|
8828
|
-
console.warn("Only `Radio` components are allowed inside the `RadioGroup` component.");
|
|
8951
|
+
console.warn("NYPL Reservoir RadioGroup: Only `Radio` components are allowed " + "inside the `RadioGroup` component.");
|
|
8829
8952
|
}
|
|
8830
8953
|
}
|
|
8831
8954
|
|
|
@@ -8849,7 +8972,9 @@ var RadioGroup$1 = /*#__PURE__*/React.forwardRef(function (props, ref) {
|
|
|
8849
8972
|
}
|
|
8850
8973
|
}); // Get the Chakra-based styles for the custom elements in this component.
|
|
8851
8974
|
|
|
8852
|
-
var styles = react.useMultiStyleConfig("RadioGroup", {
|
|
8975
|
+
var styles = react.useMultiStyleConfig("RadioGroup", {
|
|
8976
|
+
isFullWidth: isFullWidth
|
|
8977
|
+
});
|
|
8853
8978
|
return React.createElement(Fieldset, {
|
|
8854
8979
|
className: className,
|
|
8855
8980
|
id: "radio-group-" + id,
|
|
@@ -8872,23 +8997,23 @@ var RadioGroup$1 = /*#__PURE__*/React.forwardRef(function (props, ref) {
|
|
|
8872
8997
|
})));
|
|
8873
8998
|
});
|
|
8874
8999
|
|
|
8875
|
-
(function (
|
|
8876
|
-
|
|
8877
|
-
|
|
8878
|
-
|
|
8879
|
-
|
|
8880
|
-
})(exports.
|
|
9000
|
+
(function (TextSizes) {
|
|
9001
|
+
TextSizes["Default"] = "default";
|
|
9002
|
+
TextSizes["Caption"] = "caption";
|
|
9003
|
+
TextSizes["Tag"] = "tag";
|
|
9004
|
+
TextSizes["Mini"] = "mini";
|
|
9005
|
+
})(exports.TextSizes || (exports.TextSizes = {}));
|
|
8881
9006
|
|
|
8882
9007
|
function Text$1(props) {
|
|
8883
9008
|
var children = props.children,
|
|
8884
9009
|
_props$className = props.className,
|
|
8885
9010
|
className = _props$className === void 0 ? "" : _props$className,
|
|
8886
|
-
_props$displaySize = props.displaySize,
|
|
8887
|
-
displaySize = _props$displaySize === void 0 ? exports.TextDisplaySizes.Default : _props$displaySize,
|
|
8888
9011
|
isBold = props.isBold,
|
|
8889
9012
|
isItalic = props.isItalic,
|
|
8890
|
-
noSpace = props.noSpace
|
|
8891
|
-
|
|
9013
|
+
noSpace = props.noSpace,
|
|
9014
|
+
_props$size = props.size,
|
|
9015
|
+
size = _props$size === void 0 ? exports.TextSizes.Default : _props$size;
|
|
9016
|
+
var variant = getVariant(size, exports.TextSizes, exports.TextSizes.Default);
|
|
8892
9017
|
var styles = react.useStyleConfig("Text", {
|
|
8893
9018
|
variant: variant,
|
|
8894
9019
|
isBold: isBold,
|
|
@@ -8897,7 +9022,7 @@ function Text$1(props) {
|
|
|
8897
9022
|
});
|
|
8898
9023
|
|
|
8899
9024
|
if (!children) {
|
|
8900
|
-
console.warn("
|
|
9025
|
+
console.warn("NYPL Reservoir Text: No children were passed and the `Text` component " + "will not render correctly.");
|
|
8901
9026
|
}
|
|
8902
9027
|
|
|
8903
9028
|
return React.createElement(react.Text, {
|
|
@@ -8924,7 +9049,7 @@ function ComponentWrapper$1(props) {
|
|
|
8924
9049
|
// doesn't compile. This is meant to log in non-Typescript apps.
|
|
8925
9050
|
|
|
8926
9051
|
if (!hasChildren) {
|
|
8927
|
-
console.warn("
|
|
9052
|
+
console.warn("NYPL Reservoir ComponentWrapper: No children were passed.");
|
|
8928
9053
|
}
|
|
8929
9054
|
|
|
8930
9055
|
return React.createElement(react.Box, {
|
|
@@ -8980,14 +9105,14 @@ var Select$1 = /*#__PURE__*/React__default.forwardRef(function (props, ref) {
|
|
|
8980
9105
|
showLabel = _props$showLabel === void 0 ? true : _props$showLabel,
|
|
8981
9106
|
_props$showOptReqLabe = props.showOptReqLabel,
|
|
8982
9107
|
showOptReqLabel = _props$showOptReqLabe === void 0 ? true : _props$showOptReqLabe,
|
|
8983
|
-
_props$
|
|
8984
|
-
|
|
9108
|
+
_props$selectType = props.selectType,
|
|
9109
|
+
selectType = _props$selectType === void 0 ? SelectTypes.Default : _props$selectType,
|
|
8985
9110
|
_props$value = props.value,
|
|
8986
9111
|
value = _props$value === void 0 ? "" : _props$value;
|
|
8987
9112
|
var ariaAttributes = {};
|
|
8988
9113
|
var optReqFlag = isRequired ? "Required" : "Optional";
|
|
8989
9114
|
var styles = react.useMultiStyleConfig("CustomSelect", {
|
|
8990
|
-
variant:
|
|
9115
|
+
variant: selectType
|
|
8991
9116
|
});
|
|
8992
9117
|
var finalInvalidText = invalidText ? invalidText : "There is an error related to this field.";
|
|
8993
9118
|
var footnote = isInvalid ? finalInvalidText : helperText; // To control the `Select` component, both `onChange` and `value`
|
|
@@ -9004,14 +9129,6 @@ var Select$1 = /*#__PURE__*/React__default.forwardRef(function (props, ref) {
|
|
|
9004
9129
|
ariaAttributes["aria-describedby"] = id + "-helperText";
|
|
9005
9130
|
}
|
|
9006
9131
|
|
|
9007
|
-
if (React__default.Children.count(children) > 10) {
|
|
9008
|
-
console.warn("NYPL DS recommends that <select> fields have no more than 10 options; an auto-complete text input is a good alternative for 11 or more options.");
|
|
9009
|
-
}
|
|
9010
|
-
|
|
9011
|
-
if (React__default.Children.count(children) < 4) {
|
|
9012
|
-
console.warn("NYPL DS recommends that <select> fields have at least 4 options; a radio button group is a good alternative for 3 or fewer options.");
|
|
9013
|
-
}
|
|
9014
|
-
|
|
9015
9132
|
return React__default.createElement(react.Box, {
|
|
9016
9133
|
className: className,
|
|
9017
9134
|
__css: _extends({}, styles, additionalStyles)
|
|
@@ -9105,7 +9222,7 @@ function SearchBar$1(props) {
|
|
|
9105
9222
|
labelText: selectProps == null ? void 0 : selectProps.labelText,
|
|
9106
9223
|
name: selectProps == null ? void 0 : selectProps.name,
|
|
9107
9224
|
onChange: selectProps == null ? void 0 : selectProps.onChange,
|
|
9108
|
-
|
|
9225
|
+
selectType: SelectTypes.SearchBar
|
|
9109
9226
|
}, stateProps), selectProps == null ? void 0 : selectProps.optionsData.map(function (option) {
|
|
9110
9227
|
return React.createElement("option", {
|
|
9111
9228
|
key: option,
|
|
@@ -9119,8 +9236,8 @@ function SearchBar$1(props) {
|
|
|
9119
9236
|
name: textInputProps == null ? void 0 : textInputProps.name,
|
|
9120
9237
|
onChange: textInputProps == null ? void 0 : textInputProps.onChange,
|
|
9121
9238
|
placeholder: textInputPlaceholder,
|
|
9239
|
+
textInputType: selectElem ? TextInputVariants.SearchBarSelect : TextInputVariants.SearchBar,
|
|
9122
9240
|
type: exports.TextInputTypes.text,
|
|
9123
|
-
variantType: selectElem ? TextInputVariants.SearchBarSelect : TextInputVariants.SearchBar,
|
|
9124
9241
|
value: textInputProps == null ? void 0 : textInputProps.value
|
|
9125
9242
|
}, stateProps)); // Render the `Button` component.
|
|
9126
9243
|
|
|
@@ -9160,11 +9277,6 @@ function SearchBar$1(props) {
|
|
|
9160
9277
|
}, selectElem, textInputElem, buttonElem));
|
|
9161
9278
|
}
|
|
9162
9279
|
|
|
9163
|
-
(function (SkeletonLoaderLayouts) {
|
|
9164
|
-
SkeletonLoaderLayouts["Row"] = "row";
|
|
9165
|
-
SkeletonLoaderLayouts["Column"] = "column";
|
|
9166
|
-
})(exports.SkeletonLoaderLayouts || (exports.SkeletonLoaderLayouts = {}));
|
|
9167
|
-
|
|
9168
9280
|
(function (SkeletonLoaderImageRatios) {
|
|
9169
9281
|
SkeletonLoaderImageRatios["Landscape"] = "landscape";
|
|
9170
9282
|
SkeletonLoaderImageRatios["Portrait"] = "portrait";
|
|
@@ -9187,7 +9299,7 @@ function SkeletonLoader$1(props) {
|
|
|
9187
9299
|
_props$imageAspectRat = props.imageAspectRatio,
|
|
9188
9300
|
imageAspectRatio = _props$imageAspectRat === void 0 ? exports.SkeletonLoaderImageRatios.Square : _props$imageAspectRat,
|
|
9189
9301
|
_props$layout = props.layout,
|
|
9190
|
-
layout = _props$layout === void 0 ? exports.
|
|
9302
|
+
layout = _props$layout === void 0 ? exports.LayoutTypes.Column : _props$layout,
|
|
9191
9303
|
_props$showButton = props.showButton,
|
|
9192
9304
|
showButton = _props$showButton === void 0 ? false : _props$showButton,
|
|
9193
9305
|
_props$showContent = props.showContent,
|
|
@@ -9334,12 +9446,8 @@ function Slider(props) {
|
|
|
9334
9446
|
min: min,
|
|
9335
9447
|
name: name,
|
|
9336
9448
|
onChange: function onChange(val) {
|
|
9337
|
-
|
|
9338
|
-
|
|
9339
|
-
// Call the passed in `onChange` function prop to get the
|
|
9340
|
-
// *final* value once a user stops dragging the slider.
|
|
9341
|
-
onChangeEnd: function onChangeEnd(val) {
|
|
9342
|
-
return _onChange && _onChange(val);
|
|
9449
|
+
setCurrentValue(val);
|
|
9450
|
+
_onChange && _onChange(val);
|
|
9343
9451
|
},
|
|
9344
9452
|
step: step,
|
|
9345
9453
|
// Additional margins so slider thumbs don't overflow past the
|
|
@@ -9502,7 +9610,7 @@ function StatusBadge$1(props) {
|
|
|
9502
9610
|
});
|
|
9503
9611
|
|
|
9504
9612
|
if (!children) {
|
|
9505
|
-
console.warn("
|
|
9613
|
+
console.warn("NYPL Reservoir StatusBadge: No children were passed.");
|
|
9506
9614
|
}
|
|
9507
9615
|
|
|
9508
9616
|
return React.createElement(react.Box, {
|
|
@@ -9528,11 +9636,11 @@ function StructuredContentImage(props) {
|
|
|
9528
9636
|
additionalImageStyles = props.additionalImageStyles,
|
|
9529
9637
|
additionalWrapperStyles = props.additionalWrapperStyles,
|
|
9530
9638
|
alt = props.alt,
|
|
9639
|
+
aspectRatio = props.aspectRatio,
|
|
9640
|
+
caption = props.caption,
|
|
9531
9641
|
component = props.component,
|
|
9532
|
-
|
|
9533
|
-
|
|
9534
|
-
imageCredit = props.imageCredit,
|
|
9535
|
-
imageSize = props.imageSize,
|
|
9642
|
+
credit = props.credit,
|
|
9643
|
+
size = props.size,
|
|
9536
9644
|
src = props.src;
|
|
9537
9645
|
return React.createElement(Image, {
|
|
9538
9646
|
additionalFigureStyles: additionalFigureStyles,
|
|
@@ -9540,10 +9648,10 @@ function StructuredContentImage(props) {
|
|
|
9540
9648
|
additionalWrapperStyles: additionalWrapperStyles,
|
|
9541
9649
|
alt: alt,
|
|
9542
9650
|
component: component,
|
|
9543
|
-
|
|
9544
|
-
|
|
9545
|
-
|
|
9546
|
-
|
|
9651
|
+
aspectRatio: aspectRatio,
|
|
9652
|
+
size: size,
|
|
9653
|
+
caption: caption,
|
|
9654
|
+
credit: credit,
|
|
9547
9655
|
src: src
|
|
9548
9656
|
});
|
|
9549
9657
|
}
|
|
@@ -9559,25 +9667,24 @@ function StructuredContent$1(props) {
|
|
|
9559
9667
|
headingText = props.headingText,
|
|
9560
9668
|
_props$id = props.id,
|
|
9561
9669
|
id = _props$id === void 0 ? generateUUID() : _props$id,
|
|
9562
|
-
_props$
|
|
9563
|
-
|
|
9564
|
-
|
|
9565
|
-
|
|
9566
|
-
|
|
9567
|
-
|
|
9568
|
-
|
|
9569
|
-
|
|
9570
|
-
|
|
9571
|
-
|
|
9572
|
-
|
|
9573
|
-
imageSrc = props.imageSrc,
|
|
9670
|
+
_props$imageProps = props.imageProps,
|
|
9671
|
+
imageProps = _props$imageProps === void 0 ? {
|
|
9672
|
+
alt: "",
|
|
9673
|
+
aspectRatio: exports.ImageRatios.Square,
|
|
9674
|
+
caption: undefined,
|
|
9675
|
+
component: undefined,
|
|
9676
|
+
credit: undefined,
|
|
9677
|
+
position: exports.StructuredContentImagePosition.Left,
|
|
9678
|
+
size: exports.ImageSizes.Medium,
|
|
9679
|
+
src: ""
|
|
9680
|
+
} : _props$imageProps,
|
|
9574
9681
|
bodyContent = props.bodyContent;
|
|
9575
|
-
var hasImage =
|
|
9576
|
-
var hasFigureImage =
|
|
9682
|
+
var hasImage = imageProps.src || imageProps.component;
|
|
9683
|
+
var hasFigureImage = imageProps.caption || imageProps.credit;
|
|
9577
9684
|
var styles = react.useMultiStyleConfig("StructuredContent", {
|
|
9578
9685
|
hasFigureImage: hasFigureImage,
|
|
9579
|
-
imageAspectRatio:
|
|
9580
|
-
imagePosition:
|
|
9686
|
+
imageAspectRatio: imageProps.aspectRatio,
|
|
9687
|
+
imagePosition: imageProps.position
|
|
9581
9688
|
});
|
|
9582
9689
|
var finalBodyContent = typeof bodyContent === "string" ? React.createElement("div", {
|
|
9583
9690
|
dangerouslySetInnerHTML: {
|
|
@@ -9585,8 +9692,8 @@ function StructuredContent$1(props) {
|
|
|
9585
9692
|
}
|
|
9586
9693
|
}) : React.createElement(react.Box, null, bodyContent);
|
|
9587
9694
|
|
|
9588
|
-
if (hasImage && !
|
|
9589
|
-
console.warn("StructuredContent: `
|
|
9695
|
+
if (hasImage && !imageProps.alt) {
|
|
9696
|
+
console.warn("NYPL Reservoir StructuredContent: The `imageProps.alt` prop is required " + "when using an image.");
|
|
9590
9697
|
}
|
|
9591
9698
|
|
|
9592
9699
|
return React.createElement(react.Box, {
|
|
@@ -9597,20 +9704,20 @@ function StructuredContent$1(props) {
|
|
|
9597
9704
|
id: id + "-heading",
|
|
9598
9705
|
level: exports.HeadingLevels.Two
|
|
9599
9706
|
}, headingText), calloutText && React.createElement(Heading, {
|
|
9600
|
-
displaySize: exports.HeadingDisplaySizes.Callout,
|
|
9601
9707
|
id: id + "-callout",
|
|
9602
|
-
level: exports.HeadingLevels.Three
|
|
9708
|
+
level: exports.HeadingLevels.Three,
|
|
9709
|
+
size: exports.HeadingSizes.Callout
|
|
9603
9710
|
}, calloutText), hasImage && React.createElement(StructuredContentImage, {
|
|
9604
9711
|
additionalFigureStyles: styles.imageFigure,
|
|
9605
9712
|
additionalImageStyles: styles.image,
|
|
9606
9713
|
additionalWrapperStyles: styles.imageWrapper,
|
|
9607
|
-
alt:
|
|
9608
|
-
component:
|
|
9609
|
-
|
|
9610
|
-
|
|
9611
|
-
|
|
9612
|
-
|
|
9613
|
-
src:
|
|
9714
|
+
alt: imageProps.alt,
|
|
9715
|
+
component: imageProps.component,
|
|
9716
|
+
aspectRatio: imageProps.aspectRatio,
|
|
9717
|
+
caption: imageProps.caption,
|
|
9718
|
+
credit: imageProps.credit,
|
|
9719
|
+
size: imageProps.size,
|
|
9720
|
+
src: imageProps.src ? imageProps.src : null
|
|
9614
9721
|
}), finalBodyContent);
|
|
9615
9722
|
}
|
|
9616
9723
|
|
|
@@ -9668,38 +9775,6 @@ var useCarouselStyles = function useCarouselStyles(slidesCount, slideWidth) {
|
|
|
9668
9775
|
};
|
|
9669
9776
|
};
|
|
9670
9777
|
|
|
9671
|
-
/**
|
|
9672
|
-
* React hook used to get the window size on device resizing.
|
|
9673
|
-
* Based on https://usehooks-typescript.com/react-hook/use-window-size
|
|
9674
|
-
*/
|
|
9675
|
-
|
|
9676
|
-
function useWindowSize() {
|
|
9677
|
-
var _React$useState = React__default.useState({
|
|
9678
|
-
width: 0,
|
|
9679
|
-
height: 0
|
|
9680
|
-
}),
|
|
9681
|
-
windowSize = _React$useState[0],
|
|
9682
|
-
setWindowSize = _React$useState[1];
|
|
9683
|
-
|
|
9684
|
-
React__default.useEffect(function () {
|
|
9685
|
-
var handler = function handler() {
|
|
9686
|
-
setWindowSize({
|
|
9687
|
-
width: window.innerWidth,
|
|
9688
|
-
height: window.innerHeight
|
|
9689
|
-
});
|
|
9690
|
-
}; // Set size at the first client-side load
|
|
9691
|
-
|
|
9692
|
-
|
|
9693
|
-
handler();
|
|
9694
|
-
window.addEventListener("resize", handler); // Remove event listener on cleanup
|
|
9695
|
-
|
|
9696
|
-
return function () {
|
|
9697
|
-
window.removeEventListener("resize", handler);
|
|
9698
|
-
};
|
|
9699
|
-
}, []);
|
|
9700
|
-
return windowSize;
|
|
9701
|
-
}
|
|
9702
|
-
|
|
9703
9778
|
/**
|
|
9704
9779
|
* An internal function used to update the hash in the URL.
|
|
9705
9780
|
* This function is only used when `useHash` is `true`.
|
|
@@ -9714,7 +9789,7 @@ var onClickHash = function onClickHash(tabHash) {
|
|
|
9714
9789
|
*/
|
|
9715
9790
|
|
|
9716
9791
|
|
|
9717
|
-
var
|
|
9792
|
+
var getElementsFromData$2 = function getElementsFromData(data, useHash) {
|
|
9718
9793
|
var tabs = [];
|
|
9719
9794
|
var panels = [];
|
|
9720
9795
|
|
|
@@ -9726,7 +9801,7 @@ var getElementsFromContentData$1 = function getElementsFromContentData(data, use
|
|
|
9726
9801
|
}
|
|
9727
9802
|
|
|
9728
9803
|
if ((data == null ? void 0 : data.length) > 6) {
|
|
9729
|
-
console.warn("Tabs:
|
|
9804
|
+
console.warn("NYPL Reservoir Tabs: it is recommended to use no more than six tabs. If " + "more than six tabs are needed, consider other navigational patterns.");
|
|
9730
9805
|
}
|
|
9731
9806
|
|
|
9732
9807
|
data.forEach(function (tab, index) {
|
|
@@ -9788,7 +9863,7 @@ var getElementsFromChildren = function getElementsFromChildren(children) {
|
|
|
9788
9863
|
var childTabs = React.Children.count(child.props.children);
|
|
9789
9864
|
|
|
9790
9865
|
if (childTabs > 6) {
|
|
9791
|
-
console.warn("Tabs:
|
|
9866
|
+
console.warn("NYPL Reservoir Tabs: It is recommended to use no more than six tabs. " + "If more than six tabs are needed, consider other navigational patterns.");
|
|
9792
9867
|
}
|
|
9793
9868
|
}
|
|
9794
9869
|
|
|
@@ -9811,12 +9886,12 @@ function Tabs(props) {
|
|
|
9811
9886
|
var _tabs$, _tabProps$children;
|
|
9812
9887
|
|
|
9813
9888
|
var children = props.children,
|
|
9814
|
-
contentData = props.contentData,
|
|
9815
9889
|
_props$defaultIndex = props.defaultIndex,
|
|
9816
9890
|
defaultIndex = _props$defaultIndex === void 0 ? 0 : _props$defaultIndex,
|
|
9817
9891
|
_props$id = props.id,
|
|
9818
9892
|
id = _props$id === void 0 ? generateUUID() : _props$id,
|
|
9819
9893
|
onChange = props.onChange,
|
|
9894
|
+
tabsData = props.tabsData,
|
|
9820
9895
|
_props$useHash = props.useHash,
|
|
9821
9896
|
useHash = _props$useHash === void 0 ? false : _props$useHash;
|
|
9822
9897
|
var styles = react.useMultiStyleConfig("Tabs", {}); // Just an estimate of the tab width for the mobile carousel.
|
|
@@ -9831,14 +9906,14 @@ function Tabs(props) {
|
|
|
9831
9906
|
|
|
9832
9907
|
var windowDimensions = useWindowSize();
|
|
9833
9908
|
|
|
9834
|
-
var _ref =
|
|
9909
|
+
var _ref = tabsData ? getElementsFromData$2(tabsData, useHash) : getElementsFromChildren(children),
|
|
9835
9910
|
tabs = _ref.tabs,
|
|
9836
9911
|
panels = _ref.panels;
|
|
9837
9912
|
|
|
9838
9913
|
if (tabs.length === 0 || panels.length === 0) {
|
|
9839
|
-
console.warn("Tabs: Pass data in the `
|
|
9914
|
+
console.warn("NYPL Reservoir Tabs: Pass data in the `contentData` props or as children.");
|
|
9840
9915
|
} // `tabs` is an array for the children component approach but an object for
|
|
9841
|
-
// the `
|
|
9916
|
+
// the `tabsData` prop approach. We need to get the right props key value
|
|
9842
9917
|
// to set the carousel's length.
|
|
9843
9918
|
|
|
9844
9919
|
|
|
@@ -9893,8 +9968,8 @@ function Tabs(props) {
|
|
|
9893
9968
|
size: exports.IconSizes.Small
|
|
9894
9969
|
}));
|
|
9895
9970
|
|
|
9896
|
-
if (children &&
|
|
9897
|
-
console.warn("Tabs: Only pass children or data in the `
|
|
9971
|
+
if (children && tabsData != null && tabsData.length) {
|
|
9972
|
+
console.warn("NYPL Reservoir Tabs: Only pass children or data in the `contentData` " + "prop. Do not pass both.");
|
|
9898
9973
|
}
|
|
9899
9974
|
|
|
9900
9975
|
return React.createElement(react.Tabs, {
|
|
@@ -9968,7 +10043,7 @@ var TemplateHeader$1 = function TemplateHeader(_ref) {
|
|
|
9968
10043
|
var _child$props;
|
|
9969
10044
|
|
|
9970
10045
|
if ((child == null ? void 0 : child.type) === "header" || (child == null ? void 0 : (_child$props = child.props) == null ? void 0 : _child$props.mdxType) === "header") {
|
|
9971
|
-
console.warn("
|
|
10046
|
+
console.warn("NYPL Reservoir TemplateHeader: An HTML `header` element was passed " + "in. Set `renderHeaderElement` to `false` to avoid nested HTML " + "`header` elements.");
|
|
9972
10047
|
}
|
|
9973
10048
|
});
|
|
9974
10049
|
headerElement = React.createElement(react.Box, {
|
|
@@ -9994,18 +10069,22 @@ var TemplateBreakout$1 = function TemplateBreakout(props) {
|
|
|
9994
10069
|
};
|
|
9995
10070
|
/**
|
|
9996
10071
|
* This component is most useful to render content on the page. This renders an
|
|
9997
|
-
* HTML `<main>` element
|
|
9998
|
-
*
|
|
9999
|
-
*
|
|
10000
|
-
*
|
|
10001
|
-
*
|
|
10072
|
+
* HTML `<main>` element with an id of "mainContent". The "mainContent" id should
|
|
10073
|
+
* be used as the consuming application's skip navigation link. The `TemplateContent`
|
|
10074
|
+
* component also takes a `sidebar` prop with optional "left" or "right" values.
|
|
10075
|
+
* This will set the correct *styling* needed for the `TemplateContentPrimary`
|
|
10076
|
+
* and `TemplateContentSidebar` components. Note that `TemplateContentPrimary`
|
|
10077
|
+
* and `TemplateContentSidebar` must be ordered correctly as children elements
|
|
10078
|
+
* for the appropriate styles to take effect.
|
|
10002
10079
|
*/
|
|
10003
10080
|
|
|
10004
10081
|
|
|
10005
10082
|
var TemplateContent$1 = function TemplateContent(props) {
|
|
10006
|
-
var
|
|
10007
|
-
|
|
10008
|
-
|
|
10083
|
+
var children = props.children,
|
|
10084
|
+
_props$id = props.id,
|
|
10085
|
+
id = _props$id === void 0 ? "mainContent" : _props$id,
|
|
10086
|
+
_props$sidebar = props.sidebar,
|
|
10087
|
+
sidebar = _props$sidebar === void 0 ? "none" : _props$sidebar;
|
|
10009
10088
|
var styles = react.useStyleConfig("TemplateContent", {
|
|
10010
10089
|
variant: sidebar !== "none" ? "sidebar" : null
|
|
10011
10090
|
}); // Manually pass in the `sidebar` prop to the `TemplateContentPrimary` and
|
|
@@ -10026,6 +10105,7 @@ var TemplateContent$1 = function TemplateContent(props) {
|
|
|
10026
10105
|
});
|
|
10027
10106
|
return React.createElement(react.Box, {
|
|
10028
10107
|
as: "main",
|
|
10108
|
+
id: id,
|
|
10029
10109
|
__css: styles
|
|
10030
10110
|
}, newChildren);
|
|
10031
10111
|
};
|
|
@@ -10103,7 +10183,7 @@ var TemplateFooter = function TemplateFooter(_ref2) {
|
|
|
10103
10183
|
var _child$props4;
|
|
10104
10184
|
|
|
10105
10185
|
if ((child == null ? void 0 : child.type) === "footer" || (child == null ? void 0 : (_child$props4 = child.props) == null ? void 0 : _child$props4.mdxType) === "footer") {
|
|
10106
|
-
console.warn("
|
|
10186
|
+
console.warn("NYPL Reservoir TemplateFooter: An HTML `footer` element was passed " + "in. Set `renderFooterElement` to `false` to avoid nested HTML " + "`footer` elements.");
|
|
10107
10187
|
}
|
|
10108
10188
|
});
|
|
10109
10189
|
footerElement = React.createElement(react.Box, {
|
|
@@ -10125,6 +10205,8 @@ var TemplateFooter = function TemplateFooter(_ref2) {
|
|
|
10125
10205
|
var TemplateAppContainer = function TemplateAppContainer(props) {
|
|
10126
10206
|
var aboveHeader = props.aboveHeader,
|
|
10127
10207
|
breakout = props.breakout,
|
|
10208
|
+
_props$contentId = props.contentId,
|
|
10209
|
+
contentId = _props$contentId === void 0 ? "mainContent" : _props$contentId,
|
|
10128
10210
|
contentPrimary = props.contentPrimary,
|
|
10129
10211
|
contentSidebar = props.contentSidebar,
|
|
10130
10212
|
contentTop = props.contentTop,
|
|
@@ -10144,6 +10226,7 @@ var TemplateAppContainer = function TemplateAppContainer(props) {
|
|
|
10144
10226
|
return React.createElement(Template$1, null, aboveHeaderElem, (header || breakoutElem) && React.createElement(TemplateHeader$1, {
|
|
10145
10227
|
renderHeaderElement: renderHeaderElement
|
|
10146
10228
|
}, header, breakoutElem), React.createElement(TemplateContent$1, {
|
|
10229
|
+
id: contentId,
|
|
10147
10230
|
sidebar: sidebar
|
|
10148
10231
|
}, contentTopElem, sidebar === "left" && contentSidebarElem, contentPrimaryElem, sidebar === "right" && contentSidebarElem), footer && React.createElement(TemplateFooter, {
|
|
10149
10232
|
renderFooterElement: renderFooterElement
|
|
@@ -10151,7 +10234,7 @@ var TemplateAppContainer = function TemplateAppContainer(props) {
|
|
|
10151
10234
|
};
|
|
10152
10235
|
|
|
10153
10236
|
(function (ToggleSizes) {
|
|
10154
|
-
ToggleSizes["
|
|
10237
|
+
ToggleSizes["Default"] = "default";
|
|
10155
10238
|
ToggleSizes["Small"] = "small";
|
|
10156
10239
|
})(exports.ToggleSizes || (exports.ToggleSizes = {}));
|
|
10157
10240
|
|
|
@@ -10183,7 +10266,7 @@ var Toggle$2 = /*#__PURE__*/React.forwardRef(function (props, ref) {
|
|
|
10183
10266
|
_props$onChange = props.onChange,
|
|
10184
10267
|
onChange = _props$onChange === void 0 ? onChangeDefault$2 : _props$onChange,
|
|
10185
10268
|
_props$size = props.size,
|
|
10186
|
-
size = _props$size === void 0 ? exports.ToggleSizes.
|
|
10269
|
+
size = _props$size === void 0 ? exports.ToggleSizes.Default : _props$size;
|
|
10187
10270
|
var footnote = isInvalid ? invalidText : helperText;
|
|
10188
10271
|
var ariaAttributes = {};
|
|
10189
10272
|
var styles = react.useMultiStyleConfig("Toggle", {});
|
|
@@ -10200,7 +10283,7 @@ var Toggle$2 = /*#__PURE__*/React.forwardRef(function (props, ref) {
|
|
|
10200
10283
|
isInvalid: isInvalid,
|
|
10201
10284
|
isRequired: isRequired,
|
|
10202
10285
|
ref: ref,
|
|
10203
|
-
size: size === exports.ToggleSizes.
|
|
10286
|
+
size: size === exports.ToggleSizes.Default ? "lg" : "sm",
|
|
10204
10287
|
lineHeight: "1.5"
|
|
10205
10288
|
}, isChecked !== undefined ? {
|
|
10206
10289
|
isChecked: isChecked,
|
|
@@ -10228,7 +10311,7 @@ function useNYPLTheme() {
|
|
|
10228
10311
|
var theme = react.useTheme();
|
|
10229
10312
|
|
|
10230
10313
|
if (!theme || Object.keys(theme).length === 0) {
|
|
10231
|
-
console.warn("
|
|
10314
|
+
console.warn("NYPL Reservoir useNYPLTheme: hook must be used inside of `<DSProvider />`.");
|
|
10232
10315
|
return {};
|
|
10233
10316
|
} // Chakra provides a lot of their own styles but
|
|
10234
10317
|
// only NYPL styles should be exported.
|
|
@@ -10311,30 +10394,30 @@ function VideoPlayer$1(props) {
|
|
|
10311
10394
|
var videoSrc = videoType === exports.VideoPlayerTypes.Vimeo ? "https://player.vimeo.com/video/" + videoId + "?autoplay=0&loop=0" : "https://www.youtube.com/embed/" + videoId + "?disablekb=1&autoplay=0&fs=1&modestbranding=0";
|
|
10312
10395
|
var iFrameTitleEmbedCode = iframeTitle ? "" + iframeTitle : "Video player";
|
|
10313
10396
|
var embedCodeFinal = embedCode && embedCode.includes("<iframe") && !embedCode.includes("title=") ? embedCode.replace("<iframe ", "<iframe title=\"" + iFrameTitleEmbedCode + "\" ") : embedCode;
|
|
10314
|
-
var errorMessage = "<strong>Error:</strong> This video player has not been configured properly. Please contact the site administrator.";
|
|
10397
|
+
var errorMessage = "<strong>Error:</strong> This video player has not been configured " + "properly. Please contact the site administrator.";
|
|
10315
10398
|
var isInvalid = false;
|
|
10316
10399
|
|
|
10317
10400
|
if (!embedCodeFinal && !videoType && !videoId) {
|
|
10318
|
-
console.warn("VideoPlayer
|
|
10401
|
+
console.warn("NYPL Reservoir VideoPlayer: Pass in either the `embedCode` prop or " + "both the `videoType` and `videoId` props; none were passed.");
|
|
10319
10402
|
isInvalid = true;
|
|
10320
10403
|
} else if (!embedCodeFinal && !videoType) {
|
|
10321
|
-
console.warn("
|
|
10404
|
+
console.warn("NYPL Reservoir VideoPlayer: The `videoType` prop is also required. " + "Only the `videoId` prop was set.");
|
|
10322
10405
|
isInvalid = true;
|
|
10323
10406
|
} else if (!embedCodeFinal && !videoId) {
|
|
10324
|
-
console.warn("
|
|
10407
|
+
console.warn("NYPL Reservoir VideoPlayer: The `videoId` prop is also required. " + "Only the `videoType` prop was set.");
|
|
10325
10408
|
isInvalid = true;
|
|
10326
10409
|
} else if (embedCodeFinal && (videoType || videoId)) {
|
|
10327
|
-
console.warn("VideoPlayer
|
|
10410
|
+
console.warn("NYPL Reservoir VideoPlayer: Pass in either the `embedCode` prop or " + "both the `videoType` and `videoId` props; all were set.");
|
|
10328
10411
|
isInvalid = true;
|
|
10329
10412
|
}
|
|
10330
10413
|
|
|
10331
10414
|
if (videoId && (videoId.includes("://") || videoId.includes("http") || videoId.includes(".") || videoId.includes("youtube") || videoId.includes("vimeo"))) {
|
|
10332
|
-
console.warn("
|
|
10415
|
+
console.warn("NYPL Reservoir VideoPlayer: The `videoId` prop is not configured properly.");
|
|
10333
10416
|
isInvalid = true;
|
|
10334
10417
|
}
|
|
10335
10418
|
|
|
10336
10419
|
if (embedCodeFinal && (!embedCodeFinal.includes("vimeo.com") && !embedCodeFinal.includes("youtube.com") || !embedCodeFinal.includes("<iframe") || !embedCodeFinal.includes("</iframe"))) {
|
|
10337
|
-
console.warn("
|
|
10420
|
+
console.warn("NYPL Reservoir VideoPlayer: The `embedCode` prop is not configured properly.");
|
|
10338
10421
|
isInvalid = true;
|
|
10339
10422
|
}
|
|
10340
10423
|
|
|
@@ -10416,7 +10499,7 @@ function Table(props) {
|
|
|
10416
10499
|
|
|
10417
10500
|
var tableBodyElems = function tableBodyElems() {
|
|
10418
10501
|
if (!Array.isArray(tableData) || tableData.length <= 0 || tableData[0].constructor !== Array) {
|
|
10419
|
-
console.warn("Table:
|
|
10502
|
+
console.warn("NYPL Reservoir Table: Data in the `tableData` prop must be a two dimensional array.");
|
|
10420
10503
|
return null;
|
|
10421
10504
|
}
|
|
10422
10505
|
|