@nypl/design-system-react-components 1.3.0-rc → 1.3.0-rc-2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,6 +1,6 @@
1
- import { chakra, useStyleConfig, Icon as Icon$2, Box, Accordion as Accordion$2, AccordionPanel, AccordionItem, AccordionButton, Button as Button$2, Heading as Heading$2, Text as Text$2, useMultiStyleConfig, Flex, Breadcrumb as Breadcrumb$1, BreadcrumbItem, BreadcrumbLink, useMediaQuery, Stack, useMergeRefs, LinkBox, LinkOverlay, Checkbox as Checkbox$2, CheckboxGroup as CheckboxGroup$2, TableCaption, Thead, Tr, Th, Table as Table$1, Tbody, Td, HStack, SimpleGrid as SimpleGrid$1, Input, Textarea, extendTheme, ChakraProvider, Radio as Radio$2, RadioGroup as RadioGroup$2, useOutsideClick, VStack, Spacer, useDisclosure, Modal, ModalOverlay, ModalContent, ModalHeader, ModalCloseButton, ModalBody, ModalFooter, CircularProgress, CircularProgressLabel, Progress, Select as Select$2, Skeleton as Skeleton$1, RangeSlider, RangeSliderTrack, RangeSliderFilledTrack, RangeSliderThumb, Slider as Slider$1, SliderTrack, SliderFilledTrack, SliderThumb, Tabs as Tabs$1, Tab, TabPanel, TabList, TabPanels, Tooltip as Tooltip$2, Switch as Switch$1, useTheme } from '@chakra-ui/react';
1
+ import { chakra, useStyleConfig, Icon as Icon$2, Box, Accordion as Accordion$2, AccordionPanel, AccordionItem, AccordionButton, Button as Button$2, Heading as Heading$2, Text as Text$2, useMultiStyleConfig, Flex, Breadcrumb as Breadcrumb$1, BreadcrumbItem, BreadcrumbLink, useMediaQuery, Stack, useMergeRefs, LinkBox, LinkOverlay, Checkbox as Checkbox$2, CheckboxGroup as CheckboxGroup$2, TableCaption, Thead, Tr, Th, Table as Table$1, Tbody, Td, HStack, SimpleGrid as SimpleGrid$1, Input, Textarea, extendTheme, ChakraProvider, Radio as Radio$2, RadioGroup as RadioGroup$2, useDisclosure, Drawer, DrawerOverlay, DrawerContent, DrawerHeader, Spacer, DrawerBody, useOutsideClick, VStack, Modal, ModalOverlay, ModalContent, ModalHeader, ModalCloseButton, ModalBody, ModalFooter, CircularProgress, CircularProgressLabel, Progress, Select as Select$2, Skeleton as Skeleton$1, RangeSlider, RangeSliderTrack, RangeSliderFilledTrack, RangeSliderThumb, Slider as Slider$1, SliderTrack, SliderFilledTrack, SliderThumb, Tabs as Tabs$1, Tab, TabPanel, TabList, TabPanels, Tooltip as Tooltip$2, Switch as Switch$1, useTheme } from '@chakra-ui/react';
2
2
  export { Box, Center, Circle, ColorModeScript, Flex, Grid, GridItem, HStack, Spacer, Square, Stack, Tab, TabList, TabPanel, TabPanels, VStack, cookieStorageManager, localStorageManager, useColorMode, useColorModeValue } from '@chakra-ui/react';
3
- import React__default, { createElement, forwardRef, useRef, useState, useEffect, Fragment, useContext } from 'react';
3
+ import React__default, { createElement, forwardRef, useRef, useState, useEffect, Fragment, useReducer, useContext } from 'react';
4
4
  import useNativeLazyLoading from '@charlietango/use-native-lazy-loading';
5
5
  import { useInView } from 'react-intersection-observer';
6
6
  import ReactDatePicker from 'react-datepicker';
@@ -8995,7 +8995,744 @@ var DSProvider = function DSProvider(_ref) {
8995
8995
  }, children);
8996
8996
  };
8997
8997
 
8998
- var _excluded$1b = ["children", "className", "id", "inline", "listItems", "noStyling", "title", "type"];
8998
+ var _excluded$1b = ["children", "icon", "id", "isCentered", "notificationType"],
8999
+ _excluded2$5 = ["alignText", "children", "icon", "notificationType"],
9000
+ _excluded3$3 = ["ariaLabel", "className", "dismissible", "icon", "id", "isCentered", "noMargin", "notificationContent", "notificationHeading", "notificationType", "showIcon"];
9001
+ /**
9002
+ * NotificationHeading child-component.
9003
+ */
9004
+ var NotificationHeading$1 = /*#__PURE__*/chakra(function (props) {
9005
+ var children = props.children,
9006
+ icon = props.icon,
9007
+ id = props.id,
9008
+ isCentered = props.isCentered,
9009
+ notificationType = props.notificationType,
9010
+ rest = _objectWithoutPropertiesLoose(props, _excluded$1b);
9011
+ var styles = useMultiStyleConfig("NotificationHeading", {
9012
+ icon: icon,
9013
+ isCentered: isCentered,
9014
+ notificationType: notificationType
9015
+ });
9016
+ return React__default.createElement(Box, Object.assign({
9017
+ as: "header",
9018
+ __css: styles
9019
+ }, rest), icon, React__default.createElement(Heading, {
9020
+ id: id + "-heading",
9021
+ level: "four",
9022
+ __css: styles.heading
9023
+ }, children));
9024
+ });
9025
+ /**
9026
+ * NotificationContent child-component.
9027
+ */
9028
+ var NotificationContent$1 = /*#__PURE__*/chakra(function (props) {
9029
+ var alignText = props.alignText,
9030
+ children = props.children,
9031
+ icon = props.icon,
9032
+ notificationType = props.notificationType,
9033
+ rest = _objectWithoutPropertiesLoose(props, _excluded2$5);
9034
+ var styles = useMultiStyleConfig("NotificationContent", {
9035
+ alignText: alignText,
9036
+ icon: icon,
9037
+ notificationType: notificationType
9038
+ });
9039
+ return React__default.createElement(Box, Object.assign({
9040
+ __css: styles
9041
+ }, rest), icon, React__default.createElement(Box, {
9042
+ __css: styles.content
9043
+ }, children));
9044
+ });
9045
+ /**
9046
+ * Component used to present users with three different levels of notifications:
9047
+ * standard, announcement, and warning.
9048
+ */
9049
+ var Notification$1 = /*#__PURE__*/chakra( /*#__PURE__*/forwardRef(function (props, ref) {
9050
+ var ariaLabel = props.ariaLabel,
9051
+ className = props.className,
9052
+ _props$dismissible = props.dismissible,
9053
+ dismissible = _props$dismissible === void 0 ? false : _props$dismissible,
9054
+ icon = props.icon,
9055
+ id = props.id,
9056
+ _props$isCentered = props.isCentered,
9057
+ isCentered = _props$isCentered === void 0 ? false : _props$isCentered,
9058
+ _props$noMargin = props.noMargin,
9059
+ noMargin = _props$noMargin === void 0 ? false : _props$noMargin,
9060
+ notificationContent = props.notificationContent,
9061
+ notificationHeading = props.notificationHeading,
9062
+ _props$notificationTy = props.notificationType,
9063
+ notificationType = _props$notificationTy === void 0 ? "standard" : _props$notificationTy,
9064
+ _props$showIcon = props.showIcon,
9065
+ showIcon = _props$showIcon === void 0 ? true : _props$showIcon,
9066
+ rest = _objectWithoutPropertiesLoose(props, _excluded3$3);
9067
+ var _useState = useState(true),
9068
+ isOpen = _useState[0],
9069
+ setIsOpen = _useState[1];
9070
+ var handleClose = function handleClose() {
9071
+ return setIsOpen(false);
9072
+ };
9073
+ var styles = useMultiStyleConfig("Notification", {
9074
+ dismissible: dismissible,
9075
+ isCentered: isCentered,
9076
+ noMargin: noMargin,
9077
+ notificationType: notificationType
9078
+ });
9079
+ var iconElement = function iconElement() {
9080
+ var baseIconProps = {
9081
+ size: "large",
9082
+ __css: styles.icon
9083
+ };
9084
+ // If the icon should not display, return undefined.
9085
+ if (!showIcon) {
9086
+ return undefined;
9087
+ }
9088
+ // If a custom icon is passed, add specific `Notification` styles.
9089
+ if (icon) return React__default.cloneElement(icon, _extends({
9090
+ id: id + "-custom-notification-icon"
9091
+ }, baseIconProps));
9092
+ var iconProps = {
9093
+ announcement: {
9094
+ color: "section.research.secondary",
9095
+ name: "speakerNotes",
9096
+ title: "Notification announcement icon"
9097
+ },
9098
+ standard: {
9099
+ color: "ui.black",
9100
+ name: "alertNotificationImportant",
9101
+ title: "Notification standard icon"
9102
+ },
9103
+ warning: {
9104
+ color: "brand.primary",
9105
+ name: "errorFilled",
9106
+ title: "Notification warning icon"
9107
+ }
9108
+ };
9109
+ return React__default.createElement(Icon, Object.assign({
9110
+ id: id + "-notification-icon"
9111
+ }, iconProps[notificationType], baseIconProps));
9112
+ };
9113
+ var dismissibleButton = dismissible && React__default.createElement(Button, {
9114
+ "aria-label": "Close the notification",
9115
+ buttonType: "text",
9116
+ id: id + "-notification-dismissible-button",
9117
+ onClick: handleClose,
9118
+ __css: styles.dismissibleButton
9119
+ }, React__default.createElement(Icon, {
9120
+ id: id + "-dismissible-notification-icon",
9121
+ name: "close",
9122
+ size: "large",
9123
+ title: "Notification close icon"
9124
+ }));
9125
+ var iconElem = iconElement();
9126
+ var childHeading = notificationHeading && React__default.createElement(NotificationHeading$1, {
9127
+ icon: iconElem,
9128
+ id: id,
9129
+ isCentered: isCentered,
9130
+ notificationType: notificationType
9131
+ }, notificationHeading);
9132
+ // Specific alignment styles for the content.
9133
+ var alignText = !!(childHeading && showIcon && (!!icon || !isCentered));
9134
+ var childContent = React__default.createElement(NotificationContent$1, {
9135
+ alignText: alignText,
9136
+ icon: !childHeading ? iconElem : undefined,
9137
+ notificationType: notificationType
9138
+ }, notificationContent);
9139
+ // If the `Notification` is closed, don't render anything.
9140
+ if (!isOpen) {
9141
+ return null;
9142
+ }
9143
+ return React__default.createElement(Box, Object.assign({
9144
+ "aria-label": ariaLabel,
9145
+ as: "aside",
9146
+ className: className,
9147
+ "data-type": notificationType,
9148
+ id: id,
9149
+ ref: ref,
9150
+ __css: styles
9151
+ }, rest), React__default.createElement(Box, {
9152
+ __css: styles.container
9153
+ }, childHeading, childContent), dismissibleButton);
9154
+ }));
9155
+
9156
+ var _excluded$1c = ["className", "helperText", "id", "invalidText", "isChecked", "isDisabled", "isInvalid", "isRequired", "labelText", "name", "onChange", "showHelperInvalidText", "showLabel", "value"];
9157
+ var Radio$1 = /*#__PURE__*/chakra( /*#__PURE__*/forwardRef(function (props, ref) {
9158
+ var className = props.className,
9159
+ helperText = props.helperText,
9160
+ id = props.id,
9161
+ invalidText = props.invalidText,
9162
+ isChecked = props.isChecked,
9163
+ _props$isDisabled = props.isDisabled,
9164
+ isDisabled = _props$isDisabled === void 0 ? false : _props$isDisabled,
9165
+ _props$isInvalid = props.isInvalid,
9166
+ isInvalid = _props$isInvalid === void 0 ? false : _props$isInvalid,
9167
+ _props$isRequired = props.isRequired,
9168
+ isRequired = _props$isRequired === void 0 ? false : _props$isRequired,
9169
+ labelText = props.labelText,
9170
+ name = props.name,
9171
+ onChange = props.onChange,
9172
+ _props$showHelperInva = props.showHelperInvalidText,
9173
+ showHelperInvalidText = _props$showHelperInva === void 0 ? true : _props$showHelperInva,
9174
+ _props$showLabel = props.showLabel,
9175
+ showLabel = _props$showLabel === void 0 ? true : _props$showLabel,
9176
+ value = props.value,
9177
+ rest = _objectWithoutPropertiesLoose(props, _excluded$1c);
9178
+ var styles = useMultiStyleConfig("Radio", {
9179
+ showLabel: showLabel
9180
+ });
9181
+ var wrapperStyles = useStyleConfig("RadioWrapper");
9182
+ var footnote = isInvalid ? invalidText : helperText;
9183
+ var ariaAttributes = getAriaAttrs({
9184
+ footnote: footnote,
9185
+ id: id,
9186
+ labelText: labelText,
9187
+ name: "Radio",
9188
+ showLabel: showLabel
9189
+ });
9190
+ // We can't use the aria-label because of how Chakra renders its
9191
+ // Radio component. Instead, we'll visually hide the label.
9192
+ delete ariaAttributes["aria-label"];
9193
+ if (!id) {
9194
+ console.warn("NYPL Reservoir Radio: This component's required `id` prop was not passed.");
9195
+ }
9196
+ return React__default.createElement(ComponentWrapper, Object.assign({
9197
+ helperText: helperText,
9198
+ helperTextStyles: styles.helperErrorText,
9199
+ id: id,
9200
+ invalidText: invalidText,
9201
+ isInvalid: isInvalid,
9202
+ showHelperInvalidText: showHelperInvalidText,
9203
+ sx: wrapperStyles
9204
+ }, rest), React__default.createElement(Radio$2, Object.assign({
9205
+ className: className,
9206
+ id: id,
9207
+ isChecked: isChecked,
9208
+ isDisabled: isDisabled,
9209
+ isInvalid: isInvalid,
9210
+ isRequired: isRequired,
9211
+ name: name,
9212
+ onChange: onChange,
9213
+ ref: ref,
9214
+ value: value,
9215
+ alignItems: "flex-start",
9216
+ sx: styles
9217
+ }, ariaAttributes), React__default.createElement(Box, {
9218
+ as: "span",
9219
+ __css: showLabel ? {} : styles.hiddenLabel
9220
+ }, labelText)));
9221
+ }));
9222
+
9223
+ var _excluded$1d = ["children", "className", "defaultValue", "helperText", "id", "invalidText", "isDisabled", "isFullWidth", "isInvalid", "isRequired", "labelText", "layout", "name", "onChange", "showHelperInvalidText", "showLabel", "showRequiredLabel"];
9224
+ /**
9225
+ * RadioGroup is a wrapper for DS `Radio` components that renders as a fieldset
9226
+ * HTML element along with optional helper text. The `name` prop is essential
9227
+ * for this form group element and is not needed for individual DS `Radio`
9228
+ * components when `RadioGroup` is used.
9229
+ */
9230
+ var RadioGroup$1 = /*#__PURE__*/chakra( /*#__PURE__*/forwardRef(function (props, ref) {
9231
+ var children = props.children,
9232
+ _props$className = props.className,
9233
+ className = _props$className === void 0 ? "" : _props$className,
9234
+ defaultValue = props.defaultValue,
9235
+ helperText = props.helperText,
9236
+ id = props.id,
9237
+ invalidText = props.invalidText,
9238
+ _props$isDisabled = props.isDisabled,
9239
+ isDisabled = _props$isDisabled === void 0 ? false : _props$isDisabled,
9240
+ _props$isFullWidth = props.isFullWidth,
9241
+ isFullWidth = _props$isFullWidth === void 0 ? false : _props$isFullWidth,
9242
+ _props$isInvalid = props.isInvalid,
9243
+ isInvalid = _props$isInvalid === void 0 ? false : _props$isInvalid,
9244
+ _props$isRequired = props.isRequired,
9245
+ isRequired = _props$isRequired === void 0 ? false : _props$isRequired,
9246
+ labelText = props.labelText,
9247
+ _props$layout = props.layout,
9248
+ layout = _props$layout === void 0 ? "column" : _props$layout,
9249
+ name = props.name,
9250
+ _onChange = props.onChange,
9251
+ _props$showHelperInva = props.showHelperInvalidText,
9252
+ showHelperInvalidText = _props$showHelperInva === void 0 ? true : _props$showHelperInva,
9253
+ _props$showLabel = props.showLabel,
9254
+ showLabel = _props$showLabel === void 0 ? true : _props$showLabel,
9255
+ _props$showRequiredLa = props.showRequiredLabel,
9256
+ showRequiredLabel = _props$showRequiredLa === void 0 ? true : _props$showRequiredLa,
9257
+ rest = _objectWithoutPropertiesLoose(props, _excluded$1d);
9258
+ var _React$useState = React__default.useState(defaultValue),
9259
+ value = _React$useState[0],
9260
+ setValue = _React$useState[1];
9261
+ var footnote = isInvalid ? invalidText : helperText;
9262
+ var spacingProp = layout === "column" ? spacing.s : spacing.l;
9263
+ var newChildren = [];
9264
+ // Get the Chakra-based styles for the custom elements in this component.
9265
+ var styles = useMultiStyleConfig("RadioGroup", {
9266
+ isFullWidth: isFullWidth
9267
+ });
9268
+ // Props for the `ChakraRadioGroup` component.
9269
+ var radioGroupProps = {
9270
+ "aria-label": !showLabel ? labelText : undefined,
9271
+ name: name,
9272
+ onChange: function onChange(selected) {
9273
+ setValue(selected);
9274
+ _onChange && _onChange(selected);
9275
+ },
9276
+ ref: ref,
9277
+ value: value
9278
+ };
9279
+ if (!id) {
9280
+ console.warn("NYPL Reservoir RadioGroup: This component's required `id` prop was not passed.");
9281
+ }
9282
+ // Go through the Radio children and update them as needed.
9283
+ React__default.Children.map(children, function (child, key) {
9284
+ if ((child == null ? void 0 : child.type) !== Radio$1) {
9285
+ var _child$props, _child$props2;
9286
+ // Special case for Storybook MDX documentation.
9287
+ if ((_child$props = child.props) != null && _child$props.mdxType && ((_child$props2 = child.props) == null ? void 0 : _child$props2.mdxType) === "Radio") ; else {
9288
+ console.warn("NYPL Reservoir RadioGroup: Only `Radio` components are allowed " + "inside the `RadioGroup` component.");
9289
+ }
9290
+ }
9291
+ if (child !== undefined && child !== null) {
9292
+ var newProps = {
9293
+ key: key,
9294
+ isDisabled: isDisabled,
9295
+ isInvalid: isInvalid,
9296
+ isRequired: isRequired
9297
+ };
9298
+ newChildren.push(React__default.cloneElement(child, newProps));
9299
+ }
9300
+ });
9301
+ return React__default.createElement(Fieldset, Object.assign({
9302
+ className: className,
9303
+ id: "radio-group-" + id,
9304
+ isLegendHidden: !showLabel,
9305
+ isRequired: isRequired,
9306
+ legendText: labelText,
9307
+ showRequiredLabel: showRequiredLabel
9308
+ }, rest, {
9309
+ __css: styles
9310
+ }), React__default.createElement(RadioGroup$2, Object.assign({}, radioGroupProps), React__default.createElement(Stack, {
9311
+ direction: [layout],
9312
+ spacing: spacingProp
9313
+ }, newChildren)), footnote && showHelperInvalidText && React__default.createElement(HelperErrorText, {
9314
+ id: id + "-helperErrorText",
9315
+ isInvalid: isInvalid,
9316
+ text: footnote,
9317
+ __css: styles.helperErrorText
9318
+ }));
9319
+ }));
9320
+
9321
+ /**
9322
+ * DS internal helper hook to use state with prop dependencies.
9323
+ */
9324
+ function useStateWithDependencies(initialValue) {
9325
+ var _useState = useState(initialValue),
9326
+ value = _useState[0],
9327
+ setValue = _useState[1];
9328
+ useEffect(function () {
9329
+ setValue(initialValue);
9330
+ }, [initialValue]);
9331
+ return [value, setValue];
9332
+ }
9333
+
9334
+ var initialState = {
9335
+ category: "comment",
9336
+ comment: "",
9337
+ email: ""
9338
+ };
9339
+ /**
9340
+ * Simple reducer to manage the internal state of the form
9341
+ * fields in the FeedbackBox component.
9342
+ */
9343
+ function reducer(state, action) {
9344
+ switch (action.type) {
9345
+ case "category":
9346
+ return _extends({}, state, {
9347
+ category: action.payload
9348
+ });
9349
+ case "comment":
9350
+ return _extends({}, state, {
9351
+ comment: action.payload
9352
+ });
9353
+ case "email":
9354
+ return _extends({}, state, {
9355
+ email: action.payload
9356
+ });
9357
+ case "clear":
9358
+ default:
9359
+ return initialState;
9360
+ }
9361
+ }
9362
+ /**
9363
+ * DS internal helper reducer hook to manage internal state for the FeedbackBox
9364
+ * component. Note: this custom hook is not tested directly as it's an
9365
+ * implementation detail of the FeedbackBox component, following the guidance
9366
+ * of RTL: https://testing-library.com/docs/example-react-hooks-useReducer
9367
+ */
9368
+ function useFeedbackBoxReducer() {
9369
+ var _useReducer = useReducer(reducer, initialState),
9370
+ state = _useReducer[0],
9371
+ dispatch = _useReducer[1];
9372
+ var setCategory = function setCategory(category) {
9373
+ return dispatch({
9374
+ type: "category",
9375
+ payload: category
9376
+ });
9377
+ };
9378
+ var setComment = function setComment(comment) {
9379
+ return dispatch({
9380
+ type: "comment",
9381
+ payload: comment
9382
+ });
9383
+ };
9384
+ var setEmail = function setEmail(email) {
9385
+ return dispatch({
9386
+ type: "email",
9387
+ payload: email
9388
+ });
9389
+ };
9390
+ var clearValues = function clearValues() {
9391
+ return dispatch({
9392
+ type: "clear"
9393
+ });
9394
+ };
9395
+ return {
9396
+ state: state,
9397
+ setCategory: setCategory,
9398
+ setComment: setComment,
9399
+ setEmail: setEmail,
9400
+ clearValues: clearValues
9401
+ };
9402
+ }
9403
+
9404
+ var _excluded$1e = ["className", "confirmationText", "descriptionText", "hiddenFields", "id", "isInvalidComment", "isInvalidEmail", "notificationText", "onSubmit", "showCategoryField", "showEmailField", "title", "view", "isOpen", "onOpen", "onClose"];
9405
+ /**
9406
+ * The `FeedbackBox` component renders a fixed-positioned button on the bottom
9407
+ * right corner of a page that opens a Chakra `Drawer` popup component. Inside
9408
+ * of the popup, a form is rendered with fields that allows users to provide
9409
+ * feedback. The `FeedbackBox` component does *not* call any API with the
9410
+ * submitted data; that feature is the responsibility of the consuming
9411
+ * application.
9412
+ */
9413
+ var FeedbackBox$1 = /*#__PURE__*/chakra( /*#__PURE__*/forwardRef(function (_ref, ref) {
9414
+ var className = _ref.className,
9415
+ confirmationText = _ref.confirmationText,
9416
+ descriptionText = _ref.descriptionText,
9417
+ hiddenFields = _ref.hiddenFields,
9418
+ _ref$id = _ref.id,
9419
+ id = _ref$id === void 0 ? "feedbackbox" : _ref$id,
9420
+ _ref$isInvalidComment = _ref.isInvalidComment,
9421
+ isInvalidComment = _ref$isInvalidComment === void 0 ? false : _ref$isInvalidComment,
9422
+ _ref$isInvalidEmail = _ref.isInvalidEmail,
9423
+ isInvalidEmail = _ref$isInvalidEmail === void 0 ? false : _ref$isInvalidEmail,
9424
+ notificationText = _ref.notificationText,
9425
+ onSubmit = _ref.onSubmit,
9426
+ _ref$showCategoryFiel = _ref.showCategoryField,
9427
+ showCategoryField = _ref$showCategoryFiel === void 0 ? false : _ref$showCategoryFiel,
9428
+ _ref$showEmailField = _ref.showEmailField,
9429
+ showEmailField = _ref$showEmailField === void 0 ? false : _ref$showEmailField,
9430
+ title = _ref.title,
9431
+ _ref$view = _ref.view,
9432
+ view = _ref$view === void 0 ? "form" : _ref$view,
9433
+ isOpen = _ref.isOpen,
9434
+ onOpen = _ref.onOpen,
9435
+ onClose = _ref.onClose,
9436
+ rest = _objectWithoutPropertiesLoose(_ref, _excluded$1e);
9437
+ // We want to keep internal state for the view but also
9438
+ // update if the consuming app updates it, based on API
9439
+ // success and failure responses.
9440
+ var _useStateWithDependen = useStateWithDependencies(view),
9441
+ viewType = _useStateWithDependen[0],
9442
+ setViewType = _useStateWithDependen[1];
9443
+ var _useState = useState(false),
9444
+ isSubmitted = _useState[0],
9445
+ setIsSubmitted = _useState[1];
9446
+ // Helps keep track of form field state values.
9447
+ var _useFeedbackBoxReduce = useFeedbackBoxReducer(),
9448
+ state = _useFeedbackBoxReduce.state,
9449
+ setCategory = _useFeedbackBoxReduce.setCategory,
9450
+ setComment = _useFeedbackBoxReduce.setComment,
9451
+ setEmail = _useFeedbackBoxReduce.setEmail,
9452
+ clearValues = _useFeedbackBoxReduce.clearValues;
9453
+ // Chakra's hook to control Drawer's actions.
9454
+ var disclosure = useDisclosure();
9455
+ var finalIsOpen = isOpen ? isOpen : disclosure.isOpen;
9456
+ var finalOnOpen = onOpen ? onOpen : disclosure.onOpen;
9457
+ var finalOnClose = onClose ? onClose : disclosure.onClose;
9458
+ var focusRef = useRef();
9459
+ var styles = useMultiStyleConfig("FeedbackBox", {});
9460
+ var isFormView = viewType === "form";
9461
+ var isConfirmationView = viewType === "confirmation";
9462
+ var isErrorView = viewType === "error";
9463
+ var confirmationTimeout = 3000;
9464
+ var maxCommentCharacters = 500;
9465
+ var initMinHeight = "275px";
9466
+ var initTemplateRows = "auto 1fr";
9467
+ var minHeightWithCategory = "345px";
9468
+ var minHeightWithEmail = "385px";
9469
+ var minHeightWithCategoryAndEmail = "455px";
9470
+ var drawerMinHeight = initMinHeight;
9471
+ var closeAndResetForm = function closeAndResetForm() {
9472
+ finalOnClose();
9473
+ setViewType("form");
9474
+ clearValues();
9475
+ };
9476
+ var internalOnSubmit = function internalOnSubmit(e) {
9477
+ e.preventDefault();
9478
+ var submittedValues = _extends({}, state);
9479
+ if (hiddenFields) {
9480
+ submittedValues = _extends({}, submittedValues, hiddenFields);
9481
+ }
9482
+ onSubmit && onSubmit(submittedValues);
9483
+ setIsSubmitted(true);
9484
+ };
9485
+ var notificationElement = isFormView && notificationText ? React__default.createElement(Notification$1, {
9486
+ isCentered: true,
9487
+ noMargin: true,
9488
+ notificationContent: notificationText,
9489
+ showIcon: false,
9490
+ sx: {
9491
+ // The padding of the Notification is smaller than
9492
+ // the initial one.
9493
+ "> div": {
9494
+ py: "xs"
9495
+ }
9496
+ }
9497
+ }) : undefined;
9498
+ var descriptionElement = isFormView && descriptionText ? React__default.createElement(Text, {
9499
+ fontWeight: "medium",
9500
+ mb: "0"
9501
+ }, descriptionText) : undefined;
9502
+ var privacyPolicyField = React__default.createElement(FormField, null, React__default.createElement(Link, {
9503
+ href: "https://www.nypl.org/help/about-nypl/legal-notices/privacy-policy",
9504
+ type: "external",
9505
+ fontSize: "text.tag"
9506
+ }, "Privacy Policy"));
9507
+ // When the submit button is clicked, set a timeout before displaying
9508
+ // the confirmation or error screen. This automatically goes to the
9509
+ // confirmation view after three (3) seconds, but the consuming app
9510
+ // can set the error view if there are any issues.
9511
+ useEffect(function () {
9512
+ var timer;
9513
+ if (isSubmitted) {
9514
+ // If the consuming app does not provide any updates based
9515
+ // on its API response, go to confirmation screen.
9516
+ timer = setTimeout(function () {
9517
+ setIsSubmitted(false);
9518
+ if (isErrorView) {
9519
+ setViewType("error");
9520
+ } else {
9521
+ setViewType("confirmation");
9522
+ }
9523
+ clearValues();
9524
+ }, confirmationTimeout);
9525
+ // If the consuming app does pass the API response to the
9526
+ // component, then cancel the timeout above and display the
9527
+ // appropriate screen.
9528
+ if (view !== viewType) {
9529
+ setIsSubmitted(false);
9530
+ setViewType(view);
9531
+ clearTimeout(timer);
9532
+ }
9533
+ }
9534
+ return function () {
9535
+ return clearTimeout(timer);
9536
+ };
9537
+ }, [clearValues, isErrorView, isSubmitted, setViewType, view, viewType]);
9538
+ // Delay focusing on the confirmation or error message
9539
+ // because it's an element that dynamically gets rendered,
9540
+ // so it is not always available in the DOM.
9541
+ useEffect(function () {
9542
+ var timer;
9543
+ if (viewType === "error" || viewType === "confirmation") {
9544
+ timer = setTimeout(function () {
9545
+ var _focusRef$current;
9546
+ focusRef == null ? void 0 : (_focusRef$current = focusRef.current) == null ? void 0 : _focusRef$current.focus();
9547
+ }, 250);
9548
+ }
9549
+ return function () {
9550
+ return clearTimeout(timer);
9551
+ };
9552
+ }, [focusRef, viewType]);
9553
+ if (showCategoryField) {
9554
+ drawerMinHeight = minHeightWithCategory;
9555
+ }
9556
+ if (showEmailField) {
9557
+ drawerMinHeight = minHeightWithEmail;
9558
+ }
9559
+ if (showCategoryField && showEmailField) {
9560
+ drawerMinHeight = minHeightWithCategoryAndEmail;
9561
+ }
9562
+ return React__default.createElement(Box, Object.assign({
9563
+ className: className,
9564
+ id: id,
9565
+ ref: ref,
9566
+ sx: styles
9567
+ }, rest), React__default.createElement(Button, {
9568
+ id: "open",
9569
+ onClick: finalOnOpen,
9570
+ sx: styles.openButton
9571
+ }, title), React__default.createElement(Drawer, {
9572
+ blockScrollOnMount: false,
9573
+ isOpen: finalIsOpen,
9574
+ onClose: finalOnClose,
9575
+ placement: "bottom"
9576
+ }, React__default.createElement(DrawerOverlay, null), React__default.createElement(DrawerContent, {
9577
+ sx: styles.drawerContent
9578
+ }, React__default.createElement(DrawerHeader, {
9579
+ sx: styles.drawerHeader
9580
+ }, React__default.createElement(Text, {
9581
+ "data-testid": "title"
9582
+ }, title), React__default.createElement(Spacer, null), React__default.createElement(Button, {
9583
+ buttonType: "text",
9584
+ id: "close-btn",
9585
+ onClick: finalOnClose,
9586
+ sx: styles.closeButton
9587
+ }, React__default.createElement(Icon, {
9588
+ color: "ui.black",
9589
+ name: "minus",
9590
+ size: "medium"
9591
+ }), React__default.createElement("span", null, "Close ", title))), React__default.createElement(DrawerBody, {
9592
+ sx: styles.drawerBody
9593
+ }, React__default.createElement(Form, {
9594
+ gap: "grid.s",
9595
+ id: "feedback-form",
9596
+ onSubmit: internalOnSubmit,
9597
+ sx: {
9598
+ "> div": {
9599
+ minHeight: drawerMinHeight,
9600
+ gridTemplateRows: initTemplateRows
9601
+ }
9602
+ }
9603
+ }, React__default.createElement(FormField, null, notificationElement, descriptionElement), isFormView && React__default.createElement(React__default.Fragment, null, showCategoryField && React__default.createElement(FormField, null, React__default.createElement(RadioGroup$1, {
9604
+ defaultValue: state.category,
9605
+ id: id + "-category",
9606
+ isDisabled: isSubmitted,
9607
+ labelText: "What is your feedback about?",
9608
+ layout: "row",
9609
+ name: id + "-category",
9610
+ onChange: function onChange(selected) {
9611
+ return setCategory(selected);
9612
+ }
9613
+ }, React__default.createElement(Radio$1, {
9614
+ id: "comment",
9615
+ labelText: "Comment",
9616
+ value: "comment"
9617
+ }), React__default.createElement(Radio$1, {
9618
+ id: "correction",
9619
+ labelText: "Correction",
9620
+ value: "correction"
9621
+ }), React__default.createElement(Radio$1, {
9622
+ id: "bug",
9623
+ labelText: "Bug",
9624
+ value: "bug"
9625
+ }))), React__default.createElement(FormField, null, React__default.createElement(TextInput, {
9626
+ helperText: maxCommentCharacters - state.comment.length + " characters remaining",
9627
+ id: id + "-comment",
9628
+ invalidText: "Please fill out this field.",
9629
+ isDisabled: isSubmitted,
9630
+ isInvalid: isInvalidComment,
9631
+ isRequired: true,
9632
+ labelText: "Comment",
9633
+ maxLength: maxCommentCharacters,
9634
+ name: id + "-comment",
9635
+ onChange: function onChange(e) {
9636
+ return setComment(e.target.value);
9637
+ },
9638
+ placeholder: "Enter your question or feedback here",
9639
+ type: "textarea",
9640
+ defaultValue: state.comment
9641
+ })), showEmailField && React__default.createElement(FormField, null, React__default.createElement(TextInput, {
9642
+ id: id + "-email",
9643
+ invalidText: "Please enter a valid email address.",
9644
+ isDisabled: isSubmitted,
9645
+ isInvalid: isInvalidEmail,
9646
+ labelText: "Email",
9647
+ name: id + "-email",
9648
+ onChange: function onChange(e) {
9649
+ return setEmail(e.target.value);
9650
+ },
9651
+ placeholder: "Enter your email address here",
9652
+ type: "email",
9653
+ value: state.email
9654
+ })), privacyPolicyField, React__default.createElement(FormField, null, React__default.createElement(ButtonGroup, {
9655
+ buttonWidth: "full",
9656
+ id: "submit-cancel"
9657
+ }, React__default.createElement(Button, {
9658
+ buttonType: "secondary",
9659
+ id: "cancel",
9660
+ isDisabled: isSubmitted,
9661
+ key: "cancel",
9662
+ onClick: closeAndResetForm
9663
+ }, "Cancel"), React__default.createElement(Button, {
9664
+ id: "submit",
9665
+ isDisabled: isSubmitted,
9666
+ key: "submit",
9667
+ type: "submit"
9668
+ }, "Submit")))), isConfirmationView && React__default.createElement(React__default.Fragment, null, React__default.createElement(Box, {
9669
+ key: "confirmationWrapper",
9670
+ margin: "auto",
9671
+ tabIndex: 0,
9672
+ textAlign: "center",
9673
+ ref: focusRef
9674
+ }, React__default.createElement(Icon, {
9675
+ name: "actionCheckCircleFilled",
9676
+ size: "large"
9677
+ }), React__default.createElement(Text, {
9678
+ fontWeight: "medium"
9679
+ }, "Thank you for submitting your feedback."), showEmailField && React__default.createElement(Text, null, "If you provided an email address and require a response, our service staff will reach out to you via email."), confirmationText ? React__default.createElement(Text, null, confirmationText) : undefined), privacyPolicyField, React__default.createElement(FormField, null, React__default.createElement(ButtonGroup, {
9680
+ buttonWidth: "full",
9681
+ id: "submit-cancel"
9682
+ }, React__default.createElement(Button, {
9683
+ id: "return-browsing",
9684
+ buttonType: "secondary",
9685
+ onClick: closeAndResetForm
9686
+ }, "Return to Browsing")))), isErrorView && React__default.createElement(React__default.Fragment, null, React__default.createElement(Box, {
9687
+ color: "ui.error.primary",
9688
+ key: "errorWrapper",
9689
+ margin: "auto",
9690
+ tabIndex: 0,
9691
+ textAlign: "center",
9692
+ ref: focusRef
9693
+ }, React__default.createElement(Icon, {
9694
+ color: "ui.error.primary",
9695
+ name: "errorFilled",
9696
+ size: "large"
9697
+ }), React__default.createElement(Text, {
9698
+ fontWeight: "medium"
9699
+ }, "Oops! Something went wrong. An error occured while processing your feedback.")), privacyPolicyField, React__default.createElement(FormField, null, React__default.createElement(ButtonGroup, {
9700
+ buttonWidth: "full",
9701
+ id: "submit-cancel"
9702
+ }, React__default.createElement(Button, {
9703
+ id: "return-browsing2",
9704
+ key: "return-browsing2",
9705
+ buttonType: "secondary",
9706
+ onClick: closeAndResetForm
9707
+ }, "Return to Browsing"), React__default.createElement(Button, {
9708
+ id: "try-again",
9709
+ key: "try-again",
9710
+ onClick: function onClick() {
9711
+ return setViewType("form");
9712
+ }
9713
+ }, "Try Again")))))))));
9714
+ }));
9715
+ function useFeedbackBox() {
9716
+ var _useDisclosure = useDisclosure(),
9717
+ isOpen = _useDisclosure.isOpen,
9718
+ onClose = _useDisclosure.onClose,
9719
+ onOpen = _useDisclosure.onOpen;
9720
+ var InternalFeedbackBox = chakra(function (props) {
9721
+ return React__default.createElement(FeedbackBox$1, Object.assign({
9722
+ isOpen: isOpen,
9723
+ onClose: onClose,
9724
+ onOpen: onOpen
9725
+ }, props));
9726
+ });
9727
+ return {
9728
+ isOpen: isOpen,
9729
+ onClose: onClose,
9730
+ onOpen: onOpen,
9731
+ FeedbackBox: InternalFeedbackBox
9732
+ };
9733
+ }
9734
+
9735
+ var _excluded$1f = ["children", "className", "id", "inline", "listItems", "noStyling", "title", "type"];
8999
9736
  /**
9000
9737
  * A component that renders list item `li` elements or description item `dt`
9001
9738
  * and `dd` elements based on the `type` prop. Note that the `title` prop will
@@ -9013,7 +9750,7 @@ var List$1 = /*#__PURE__*/chakra( /*#__PURE__*/forwardRef(function (props, ref)
9013
9750
  title = props.title,
9014
9751
  _props$type = props.type,
9015
9752
  type = _props$type === void 0 ? "ul" : _props$type,
9016
- rest = _objectWithoutPropertiesLoose(props, _excluded$1b);
9753
+ rest = _objectWithoutPropertiesLoose(props, _excluded$1f);
9017
9754
  var styles = useStyleConfig("List", {
9018
9755
  inline: inline,
9019
9756
  noStyling: noStyling,
@@ -9115,14 +9852,14 @@ var checkListChildrenError = function checkListChildrenError(children, listType,
9115
9852
  };
9116
9853
 
9117
9854
  var _path$L, _path2$f, _path3$7;
9118
- var _excluded$1c = ["title", "titleId"];
9855
+ var _excluded$1g = ["title", "titleId"];
9119
9856
  function _extends$R() { _extends$R = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$R.apply(this, arguments); }
9120
9857
  function _objectWithoutProperties$Q(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose$R(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }
9121
9858
  function _objectWithoutPropertiesLoose$R(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
9122
9859
  var SvgLogoAppleAppStoreBlack = function SvgLogoAppleAppStoreBlack(_ref) {
9123
9860
  var title = _ref.title,
9124
9861
  titleId = _ref.titleId,
9125
- props = _objectWithoutProperties$Q(_ref, _excluded$1c);
9862
+ props = _objectWithoutProperties$Q(_ref, _excluded$1g);
9126
9863
  return /*#__PURE__*/createElement("svg", _extends$R({
9127
9864
  viewBox: "0 0 200 67",
9128
9865
  fill: "none",
@@ -9143,14 +9880,14 @@ var SvgLogoAppleAppStoreBlack = function SvgLogoAppleAppStoreBlack(_ref) {
9143
9880
  };
9144
9881
 
9145
9882
  var _path$M, _path2$g, _path3$8;
9146
- var _excluded$1d = ["title", "titleId"];
9883
+ var _excluded$1h = ["title", "titleId"];
9147
9884
  function _extends$S() { _extends$S = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$S.apply(this, arguments); }
9148
9885
  function _objectWithoutProperties$R(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose$S(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }
9149
9886
  function _objectWithoutPropertiesLoose$S(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
9150
9887
  var SvgLogoAppleAppStoreWhite = function SvgLogoAppleAppStoreWhite(_ref) {
9151
9888
  var title = _ref.title,
9152
9889
  titleId = _ref.titleId,
9153
- props = _objectWithoutProperties$R(_ref, _excluded$1d);
9890
+ props = _objectWithoutProperties$R(_ref, _excluded$1h);
9154
9891
  return /*#__PURE__*/createElement("svg", _extends$S({
9155
9892
  viewBox: "0 0 200 67",
9156
9893
  fill: "none",
@@ -9171,14 +9908,14 @@ var SvgLogoAppleAppStoreWhite = function SvgLogoAppleAppStoreWhite(_ref) {
9171
9908
  };
9172
9909
 
9173
9910
  var _path$N, _path2$h, _path3$9;
9174
- var _excluded$1e = ["title", "titleId"];
9911
+ var _excluded$1i = ["title", "titleId"];
9175
9912
  function _extends$T() { _extends$T = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$T.apply(this, arguments); }
9176
9913
  function _objectWithoutProperties$S(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose$T(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }
9177
9914
  function _objectWithoutPropertiesLoose$T(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
9178
9915
  var SvgLogoBplBlack = function SvgLogoBplBlack(_ref) {
9179
9916
  var title = _ref.title,
9180
9917
  titleId = _ref.titleId,
9181
- props = _objectWithoutProperties$S(_ref, _excluded$1e);
9918
+ props = _objectWithoutProperties$S(_ref, _excluded$1i);
9182
9919
  return /*#__PURE__*/createElement("svg", _extends$T({
9183
9920
  viewBox: "0 0 328 120",
9184
9921
  xmlns: "http://www.w3.org/2000/svg",
@@ -9195,14 +9932,14 @@ var SvgLogoBplBlack = function SvgLogoBplBlack(_ref) {
9195
9932
  };
9196
9933
 
9197
9934
  var _path$O, _path2$i, _path3$a;
9198
- var _excluded$1f = ["title", "titleId"];
9935
+ var _excluded$1j = ["title", "titleId"];
9199
9936
  function _extends$U() { _extends$U = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$U.apply(this, arguments); }
9200
9937
  function _objectWithoutProperties$T(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose$U(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }
9201
9938
  function _objectWithoutPropertiesLoose$U(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
9202
9939
  var SvgLogoBplWhite = function SvgLogoBplWhite(_ref) {
9203
9940
  var title = _ref.title,
9204
9941
  titleId = _ref.titleId,
9205
- props = _objectWithoutProperties$T(_ref, _excluded$1f);
9942
+ props = _objectWithoutProperties$T(_ref, _excluded$1j);
9206
9943
  return /*#__PURE__*/createElement("svg", _extends$U({
9207
9944
  viewBox: "0 0 328 120",
9208
9945
  fill: "#fff",
@@ -9220,14 +9957,14 @@ var SvgLogoBplWhite = function SvgLogoBplWhite(_ref) {
9220
9957
  };
9221
9958
 
9222
9959
  var _rect$2, _path$P;
9223
- var _excluded$1g = ["title", "titleId"];
9960
+ var _excluded$1k = ["title", "titleId"];
9224
9961
  function _extends$V() { _extends$V = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$V.apply(this, arguments); }
9225
9962
  function _objectWithoutProperties$U(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose$V(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }
9226
9963
  function _objectWithoutPropertiesLoose$V(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
9227
9964
  var SvgLogoCleverBadgeColor = function SvgLogoCleverBadgeColor(_ref) {
9228
9965
  var title = _ref.title,
9229
9966
  titleId = _ref.titleId,
9230
- props = _objectWithoutProperties$U(_ref, _excluded$1g);
9967
+ props = _objectWithoutProperties$U(_ref, _excluded$1k);
9231
9968
  return /*#__PURE__*/createElement("svg", _extends$V({
9232
9969
  viewBox: "0 0 118 119",
9233
9970
  fill: "none",
@@ -9250,14 +9987,14 @@ var SvgLogoCleverBadgeColor = function SvgLogoCleverBadgeColor(_ref) {
9250
9987
  };
9251
9988
 
9252
9989
  var _path$Q;
9253
- var _excluded$1h = ["title", "titleId"];
9990
+ var _excluded$1l = ["title", "titleId"];
9254
9991
  function _extends$W() { _extends$W = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$W.apply(this, arguments); }
9255
9992
  function _objectWithoutProperties$V(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose$W(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }
9256
9993
  function _objectWithoutPropertiesLoose$W(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
9257
9994
  var SvgLogoCleverColor = function SvgLogoCleverColor(_ref) {
9258
9995
  var title = _ref.title,
9259
9996
  titleId = _ref.titleId,
9260
- props = _objectWithoutProperties$V(_ref, _excluded$1h);
9997
+ props = _objectWithoutProperties$V(_ref, _excluded$1l);
9261
9998
  return /*#__PURE__*/createElement("svg", _extends$W({
9262
9999
  viewBox: "0 0 312 88",
9263
10000
  fill: "#436CF2",
@@ -9273,14 +10010,14 @@ var SvgLogoCleverColor = function SvgLogoCleverColor(_ref) {
9273
10010
  };
9274
10011
 
9275
10012
  var _path$R;
9276
- var _excluded$1i = ["title", "titleId"];
10013
+ var _excluded$1m = ["title", "titleId"];
9277
10014
  function _extends$X() { _extends$X = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$X.apply(this, arguments); }
9278
10015
  function _objectWithoutProperties$W(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose$X(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }
9279
10016
  function _objectWithoutPropertiesLoose$X(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
9280
10017
  var SvgLogoCleverWhite = function SvgLogoCleverWhite(_ref) {
9281
10018
  var title = _ref.title,
9282
10019
  titleId = _ref.titleId,
9283
- props = _objectWithoutProperties$W(_ref, _excluded$1i);
10020
+ props = _objectWithoutProperties$W(_ref, _excluded$1m);
9284
10021
  return /*#__PURE__*/createElement("svg", _extends$X({
9285
10022
  viewBox: "0 0 312 88",
9286
10023
  fill: "#fff",
@@ -9296,14 +10033,14 @@ var SvgLogoCleverWhite = function SvgLogoCleverWhite(_ref) {
9296
10033
  };
9297
10034
 
9298
10035
  var _path$S, _path2$j, _path3$b, _path4$1, _path5, _path6, _path7, _path8, _path9, _path10, _path11, _path12, _path13;
9299
- var _excluded$1j = ["title", "titleId"];
10036
+ var _excluded$1n = ["title", "titleId"];
9300
10037
  function _extends$Y() { _extends$Y = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$Y.apply(this, arguments); }
9301
10038
  function _objectWithoutProperties$X(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose$Y(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }
9302
10039
  function _objectWithoutPropertiesLoose$Y(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
9303
10040
  var SvgLogoFirstbookColor = function SvgLogoFirstbookColor(_ref) {
9304
10041
  var title = _ref.title,
9305
10042
  titleId = _ref.titleId,
9306
- props = _objectWithoutProperties$X(_ref, _excluded$1j);
10043
+ props = _objectWithoutProperties$X(_ref, _excluded$1n);
9307
10044
  return /*#__PURE__*/createElement("svg", _extends$Y({
9308
10045
  viewBox: "0 0 172 152",
9309
10046
  fill: "none",
@@ -9354,14 +10091,14 @@ var SvgLogoFirstbookColor = function SvgLogoFirstbookColor(_ref) {
9354
10091
  };
9355
10092
 
9356
10093
  var _g$3;
9357
- var _excluded$1k = ["title", "titleId"];
10094
+ var _excluded$1o = ["title", "titleId"];
9358
10095
  function _extends$Z() { _extends$Z = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$Z.apply(this, arguments); }
9359
10096
  function _objectWithoutProperties$Y(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose$Z(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }
9360
10097
  function _objectWithoutPropertiesLoose$Z(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
9361
10098
  var SvgLogoFirstbookColorNegative = function SvgLogoFirstbookColorNegative(_ref) {
9362
10099
  var title = _ref.title,
9363
10100
  titleId = _ref.titleId,
9364
- props = _objectWithoutProperties$Y(_ref, _excluded$1k);
10101
+ props = _objectWithoutProperties$Y(_ref, _excluded$1o);
9365
10102
  return /*#__PURE__*/createElement("svg", _extends$Z({
9366
10103
  viewBox: "0 0 170 150",
9367
10104
  fill: "none",
@@ -9417,14 +10154,14 @@ var SvgLogoFirstbookColorNegative = function SvgLogoFirstbookColorNegative(_ref)
9417
10154
  };
9418
10155
 
9419
10156
  var _g$4, _defs;
9420
- var _excluded$1l = ["title", "titleId"];
10157
+ var _excluded$1p = ["title", "titleId"];
9421
10158
  function _extends$_() { _extends$_ = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$_.apply(this, arguments); }
9422
10159
  function _objectWithoutProperties$Z(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose$_(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }
9423
10160
  function _objectWithoutPropertiesLoose$_(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
9424
10161
  var SvgLogoGooglePlayBlack = function SvgLogoGooglePlayBlack(_ref) {
9425
10162
  var title = _ref.title,
9426
10163
  titleId = _ref.titleId,
9427
- props = _objectWithoutProperties$Z(_ref, _excluded$1l);
10164
+ props = _objectWithoutProperties$Z(_ref, _excluded$1p);
9428
10165
  return /*#__PURE__*/createElement("svg", _extends$_({
9429
10166
  viewBox: "0 0 200 60",
9430
10167
  fill: "none",
@@ -9557,14 +10294,14 @@ var SvgLogoGooglePlayBlack = function SvgLogoGooglePlayBlack(_ref) {
9557
10294
  };
9558
10295
 
9559
10296
  var _path$T, _path2$k;
9560
- var _excluded$1m = ["title", "titleId"];
10297
+ var _excluded$1q = ["title", "titleId"];
9561
10298
  function _extends$$() { _extends$$ = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$$.apply(this, arguments); }
9562
10299
  function _objectWithoutProperties$_(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose$$(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }
9563
10300
  function _objectWithoutPropertiesLoose$$(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
9564
10301
  var SvgLogoLpaColor = function SvgLogoLpaColor(_ref) {
9565
10302
  var title = _ref.title,
9566
10303
  titleId = _ref.titleId,
9567
- props = _objectWithoutProperties$_(_ref, _excluded$1m);
10304
+ props = _objectWithoutProperties$_(_ref, _excluded$1q);
9568
10305
  return /*#__PURE__*/createElement("svg", _extends$$({
9569
10306
  viewBox: "0 0 186 74",
9570
10307
  fill: "none",
@@ -9582,14 +10319,14 @@ var SvgLogoLpaColor = function SvgLogoLpaColor(_ref) {
9582
10319
  };
9583
10320
 
9584
10321
  var _path$U;
9585
- var _excluded$1n = ["title", "titleId"];
10322
+ var _excluded$1r = ["title", "titleId"];
9586
10323
  function _extends$10() { _extends$10 = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$10.apply(this, arguments); }
9587
10324
  function _objectWithoutProperties$$(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose$10(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }
9588
10325
  function _objectWithoutPropertiesLoose$10(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
9589
10326
  var SvgLogoLpaBlack = function SvgLogoLpaBlack(_ref) {
9590
10327
  var title = _ref.title,
9591
10328
  titleId = _ref.titleId,
9592
- props = _objectWithoutProperties$$(_ref, _excluded$1n);
10329
+ props = _objectWithoutProperties$$(_ref, _excluded$1r);
9593
10330
  return /*#__PURE__*/createElement("svg", _extends$10({
9594
10331
  viewBox: "0 0 186 74",
9595
10332
  xmlns: "http://www.w3.org/2000/svg",
@@ -9602,14 +10339,14 @@ var SvgLogoLpaBlack = function SvgLogoLpaBlack(_ref) {
9602
10339
  };
9603
10340
 
9604
10341
  var _path$V;
9605
- var _excluded$1o = ["title", "titleId"];
10342
+ var _excluded$1s = ["title", "titleId"];
9606
10343
  function _extends$11() { _extends$11 = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$11.apply(this, arguments); }
9607
10344
  function _objectWithoutProperties$10(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose$11(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }
9608
10345
  function _objectWithoutPropertiesLoose$11(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
9609
10346
  var SvgLogoLpaWhite = function SvgLogoLpaWhite(_ref) {
9610
10347
  var title = _ref.title,
9611
10348
  titleId = _ref.titleId,
9612
- props = _objectWithoutProperties$10(_ref, _excluded$1o);
10349
+ props = _objectWithoutProperties$10(_ref, _excluded$1s);
9613
10350
  return /*#__PURE__*/createElement("svg", _extends$11({
9614
10351
  viewBox: "0 0 186 74",
9615
10352
  fill: "#fff",
@@ -9623,14 +10360,14 @@ var SvgLogoLpaWhite = function SvgLogoLpaWhite(_ref) {
9623
10360
  };
9624
10361
 
9625
10362
  var _g$5;
9626
- var _excluded$1p = ["title", "titleId"];
10363
+ var _excluded$1t = ["title", "titleId"];
9627
10364
  function _extends$12() { _extends$12 = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$12.apply(this, arguments); }
9628
10365
  function _objectWithoutProperties$11(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose$12(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }
9629
10366
  function _objectWithoutPropertiesLoose$12(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
9630
10367
  var SvgLogoMlnBlack = function SvgLogoMlnBlack(_ref) {
9631
10368
  var title = _ref.title,
9632
10369
  titleId = _ref.titleId,
9633
- props = _objectWithoutProperties$11(_ref, _excluded$1p);
10370
+ props = _objectWithoutProperties$11(_ref, _excluded$1t);
9634
10371
  return /*#__PURE__*/createElement("svg", _extends$12({
9635
10372
  viewBox: "0 0 300 71",
9636
10373
  xmlns: "http://www.w3.org/2000/svg",
@@ -9645,14 +10382,14 @@ var SvgLogoMlnBlack = function SvgLogoMlnBlack(_ref) {
9645
10382
  };
9646
10383
 
9647
10384
  var _g$6;
9648
- var _excluded$1q = ["title", "titleId"];
10385
+ var _excluded$1u = ["title", "titleId"];
9649
10386
  function _extends$13() { _extends$13 = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$13.apply(this, arguments); }
9650
10387
  function _objectWithoutProperties$12(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose$13(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }
9651
10388
  function _objectWithoutPropertiesLoose$13(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
9652
10389
  var SvgLogoMlnColor = function SvgLogoMlnColor(_ref) {
9653
10390
  var title = _ref.title,
9654
10391
  titleId = _ref.titleId,
9655
- props = _objectWithoutProperties$12(_ref, _excluded$1q);
10392
+ props = _objectWithoutProperties$12(_ref, _excluded$1u);
9656
10393
  return /*#__PURE__*/createElement("svg", _extends$13({
9657
10394
  viewBox: "0 0 300 71",
9658
10395
  fill: "#C60917",
@@ -9668,14 +10405,14 @@ var SvgLogoMlnColor = function SvgLogoMlnColor(_ref) {
9668
10405
  };
9669
10406
 
9670
10407
  var _g$7;
9671
- var _excluded$1r = ["title", "titleId"];
10408
+ var _excluded$1v = ["title", "titleId"];
9672
10409
  function _extends$14() { _extends$14 = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$14.apply(this, arguments); }
9673
10410
  function _objectWithoutProperties$13(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose$14(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }
9674
10411
  function _objectWithoutPropertiesLoose$14(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
9675
10412
  var SvgLogoMlnWhite = function SvgLogoMlnWhite(_ref) {
9676
10413
  var title = _ref.title,
9677
10414
  titleId = _ref.titleId,
9678
- props = _objectWithoutProperties$13(_ref, _excluded$1r);
10415
+ props = _objectWithoutProperties$13(_ref, _excluded$1v);
9679
10416
  return /*#__PURE__*/createElement("svg", _extends$14({
9680
10417
  viewBox: "0 0 300 71",
9681
10418
  fill: "#fff",
@@ -9691,14 +10428,14 @@ var SvgLogoMlnWhite = function SvgLogoMlnWhite(_ref) {
9691
10428
  };
9692
10429
 
9693
10430
  var _g$8, _defs$1;
9694
- var _excluded$1s = ["title", "titleId"];
10431
+ var _excluded$1w = ["title", "titleId"];
9695
10432
  function _extends$15() { _extends$15 = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$15.apply(this, arguments); }
9696
10433
  function _objectWithoutProperties$14(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose$15(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }
9697
10434
  function _objectWithoutPropertiesLoose$15(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
9698
10435
  var SvgLogoNycdoeColor = function SvgLogoNycdoeColor(_ref) {
9699
10436
  var title = _ref.title,
9700
10437
  titleId = _ref.titleId,
9701
- props = _objectWithoutProperties$14(_ref, _excluded$1s);
10438
+ props = _objectWithoutProperties$14(_ref, _excluded$1w);
9702
10439
  return /*#__PURE__*/createElement("svg", _extends$15({
9703
10440
  viewBox: "0 0 341 61",
9704
10441
  fill: "none",
@@ -9731,14 +10468,14 @@ var SvgLogoNycdoeColor = function SvgLogoNycdoeColor(_ref) {
9731
10468
  })))));
9732
10469
  };
9733
10470
 
9734
- var _excluded$1t = ["title", "titleId"];
10471
+ var _excluded$1x = ["title", "titleId"];
9735
10472
  function _extends$16() { _extends$16 = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$16.apply(this, arguments); }
9736
10473
  function _objectWithoutProperties$15(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose$16(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }
9737
10474
  function _objectWithoutPropertiesLoose$16(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
9738
10475
  var SvgLogoNyplFullBlack = function SvgLogoNyplFullBlack(_ref) {
9739
10476
  var title = _ref.title,
9740
10477
  titleId = _ref.titleId,
9741
- props = _objectWithoutProperties$15(_ref, _excluded$1t);
10478
+ props = _objectWithoutProperties$15(_ref, _excluded$1x);
9742
10479
  return /*#__PURE__*/createElement("svg", _extends$16({
9743
10480
  xmlns: "http://www.w3.org/2000/svg",
9744
10481
  viewBox: "0 0 966.787 543.733",
@@ -9813,14 +10550,14 @@ var SvgLogoNyplFullBlack = function SvgLogoNyplFullBlack(_ref) {
9813
10550
  };
9814
10551
 
9815
10552
  var _g$9, _defs$2;
9816
- var _excluded$1u = ["title", "titleId"];
10553
+ var _excluded$1y = ["title", "titleId"];
9817
10554
  function _extends$17() { _extends$17 = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$17.apply(this, arguments); }
9818
10555
  function _objectWithoutProperties$16(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose$17(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }
9819
10556
  function _objectWithoutPropertiesLoose$17(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
9820
10557
  var SvgLogoNyplFullWhite = function SvgLogoNyplFullWhite(_ref) {
9821
10558
  var title = _ref.title,
9822
10559
  titleId = _ref.titleId,
9823
- props = _objectWithoutProperties$16(_ref, _excluded$1u);
10560
+ props = _objectWithoutProperties$16(_ref, _excluded$1y);
9824
10561
  return /*#__PURE__*/createElement("svg", _extends$17({
9825
10562
  viewBox: "0 0 967 568",
9826
10563
  fill: "none",
@@ -9848,14 +10585,14 @@ var SvgLogoNyplFullWhite = function SvgLogoNyplFullWhite(_ref) {
9848
10585
  };
9849
10586
 
9850
10587
  var _path$W, _path2$l, _path3$c;
9851
- var _excluded$1v = ["title", "titleId"];
10588
+ var _excluded$1z = ["title", "titleId"];
9852
10589
  function _extends$18() { _extends$18 = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$18.apply(this, arguments); }
9853
10590
  function _objectWithoutProperties$17(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose$18(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }
9854
10591
  function _objectWithoutPropertiesLoose$18(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
9855
10592
  var SvgLogoNyplLionBlack = function SvgLogoNyplLionBlack(_ref) {
9856
10593
  var title = _ref.title,
9857
10594
  titleId = _ref.titleId,
9858
- props = _objectWithoutProperties$17(_ref, _excluded$1v);
10595
+ props = _objectWithoutProperties$17(_ref, _excluded$1z);
9859
10596
  return /*#__PURE__*/createElement("svg", _extends$18({
9860
10597
  viewBox: "0 0 136 135",
9861
10598
  fill: "none",
@@ -9878,14 +10615,14 @@ var SvgLogoNyplLionBlack = function SvgLogoNyplLionBlack(_ref) {
9878
10615
  };
9879
10616
 
9880
10617
  var _path$X;
9881
- var _excluded$1w = ["title", "titleId"];
10618
+ var _excluded$1A = ["title", "titleId"];
9882
10619
  function _extends$19() { _extends$19 = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$19.apply(this, arguments); }
9883
10620
  function _objectWithoutProperties$18(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose$19(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }
9884
10621
  function _objectWithoutPropertiesLoose$19(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
9885
10622
  var SvgLogoNyplLionWhite = function SvgLogoNyplLionWhite(_ref) {
9886
10623
  var title = _ref.title,
9887
10624
  titleId = _ref.titleId,
9888
- props = _objectWithoutProperties$18(_ref, _excluded$1w);
10625
+ props = _objectWithoutProperties$18(_ref, _excluded$1A);
9889
10626
  return /*#__PURE__*/createElement("svg", _extends$19({
9890
10627
  viewBox: "0 0 125 126",
9891
10628
  fill: "none",
@@ -9902,14 +10639,14 @@ var SvgLogoNyplLionWhite = function SvgLogoNyplLionWhite(_ref) {
9902
10639
  };
9903
10640
 
9904
10641
  var _path$Y, _path2$m, _path3$d, _path4$2, _path5$1, _path6$1, _path7$1, _path8$1, _path9$1, _path10$1, _path11$1, _path12$1, _path13$1, _path14, _path15;
9905
- var _excluded$1x = ["title", "titleId"];
10642
+ var _excluded$1B = ["title", "titleId"];
9906
10643
  function _extends$1a() { _extends$1a = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$1a.apply(this, arguments); }
9907
10644
  function _objectWithoutProperties$19(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose$1a(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }
9908
10645
  function _objectWithoutPropertiesLoose$1a(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
9909
10646
  var SvgLogoNyplTextBlack = function SvgLogoNyplTextBlack(_ref) {
9910
10647
  var title = _ref.title,
9911
10648
  titleId = _ref.titleId,
9912
- props = _objectWithoutProperties$19(_ref, _excluded$1x);
10649
+ props = _objectWithoutProperties$19(_ref, _excluded$1B);
9913
10650
  return /*#__PURE__*/createElement("svg", _extends$1a({
9914
10651
  viewBox: "0 0 201 165",
9915
10652
  fill: "none",
@@ -9980,14 +10717,14 @@ var SvgLogoNyplTextBlack = function SvgLogoNyplTextBlack(_ref) {
9980
10717
  };
9981
10718
 
9982
10719
  var _path$Z, _path2$n, _path3$e, _path4$3, _path5$2, _path6$2, _path7$2, _path8$2, _path9$2, _path10$2, _path11$2, _path12$2, _path13$2, _path14$1, _path15$1;
9983
- var _excluded$1y = ["title", "titleId"];
10720
+ var _excluded$1C = ["title", "titleId"];
9984
10721
  function _extends$1b() { _extends$1b = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$1b.apply(this, arguments); }
9985
10722
  function _objectWithoutProperties$1a(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose$1b(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }
9986
10723
  function _objectWithoutPropertiesLoose$1b(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
9987
10724
  var SvgLogoNyplTextWhite = function SvgLogoNyplTextWhite(_ref) {
9988
10725
  var title = _ref.title,
9989
10726
  titleId = _ref.titleId,
9990
- props = _objectWithoutProperties$1a(_ref, _excluded$1y);
10727
+ props = _objectWithoutProperties$1a(_ref, _excluded$1C);
9991
10728
  return /*#__PURE__*/createElement("svg", _extends$1b({
9992
10729
  viewBox: "0 0 201 165",
9993
10730
  fill: "none",
@@ -10058,14 +10795,14 @@ var SvgLogoNyplTextWhite = function SvgLogoNyplTextWhite(_ref) {
10058
10795
  };
10059
10796
 
10060
10797
  var _g$a, _defs$3;
10061
- var _excluded$1z = ["title", "titleId"];
10798
+ var _excluded$1D = ["title", "titleId"];
10062
10799
  function _extends$1c() { _extends$1c = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$1c.apply(this, arguments); }
10063
10800
  function _objectWithoutProperties$1b(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose$1c(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }
10064
10801
  function _objectWithoutPropertiesLoose$1c(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
10065
10802
  var SvgLogoOpenebooksColor = function SvgLogoOpenebooksColor(_ref) {
10066
10803
  var title = _ref.title,
10067
10804
  titleId = _ref.titleId,
10068
- props = _objectWithoutProperties$1b(_ref, _excluded$1z);
10805
+ props = _objectWithoutProperties$1b(_ref, _excluded$1D);
10069
10806
  return /*#__PURE__*/createElement("svg", _extends$1c({
10070
10807
  viewBox: "0 0 152 139",
10071
10808
  fill: "none",
@@ -10113,14 +10850,14 @@ var SvgLogoOpenebooksColor = function SvgLogoOpenebooksColor(_ref) {
10113
10850
  };
10114
10851
 
10115
10852
  var _g$b, _defs$4;
10116
- var _excluded$1A = ["title", "titleId"];
10853
+ var _excluded$1E = ["title", "titleId"];
10117
10854
  function _extends$1d() { _extends$1d = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$1d.apply(this, arguments); }
10118
10855
  function _objectWithoutProperties$1c(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose$1d(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }
10119
10856
  function _objectWithoutPropertiesLoose$1d(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
10120
10857
  var SvgLogoOpenebooksNegative = function SvgLogoOpenebooksNegative(_ref) {
10121
10858
  var title = _ref.title,
10122
10859
  titleId = _ref.titleId,
10123
- props = _objectWithoutProperties$1c(_ref, _excluded$1A);
10860
+ props = _objectWithoutProperties$1c(_ref, _excluded$1E);
10124
10861
  return /*#__PURE__*/createElement("svg", _extends$1d({
10125
10862
  viewBox: "0 0 155 139",
10126
10863
  fill: "none",
@@ -10191,14 +10928,14 @@ var SvgLogoOpenebooksNegative = function SvgLogoOpenebooksNegative(_ref) {
10191
10928
  };
10192
10929
 
10193
10930
  var _g$c, _defs$5;
10194
- var _excluded$1B = ["title", "titleId"];
10931
+ var _excluded$1F = ["title", "titleId"];
10195
10932
  function _extends$1e() { _extends$1e = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$1e.apply(this, arguments); }
10196
10933
  function _objectWithoutProperties$1d(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose$1e(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }
10197
10934
  function _objectWithoutPropertiesLoose$1e(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
10198
10935
  var SvgLogoOpenebooksWithTextColor = function SvgLogoOpenebooksWithTextColor(_ref) {
10199
10936
  var title = _ref.title,
10200
10937
  titleId = _ref.titleId,
10201
- props = _objectWithoutProperties$1d(_ref, _excluded$1B);
10938
+ props = _objectWithoutProperties$1d(_ref, _excluded$1F);
10202
10939
  return /*#__PURE__*/createElement("svg", _extends$1e({
10203
10940
  viewBox: "0 0 152 139",
10204
10941
  fill: "none",
@@ -10246,14 +10983,14 @@ var SvgLogoOpenebooksWithTextColor = function SvgLogoOpenebooksWithTextColor(_re
10246
10983
  };
10247
10984
 
10248
10985
  var _g$d, _defs$6;
10249
- var _excluded$1C = ["title", "titleId"];
10986
+ var _excluded$1G = ["title", "titleId"];
10250
10987
  function _extends$1f() { _extends$1f = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$1f.apply(this, arguments); }
10251
10988
  function _objectWithoutProperties$1e(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose$1f(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }
10252
10989
  function _objectWithoutPropertiesLoose$1f(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
10253
10990
  var SvgLogoOpenebooksWithTextNegative = function SvgLogoOpenebooksWithTextNegative(_ref) {
10254
10991
  var title = _ref.title,
10255
10992
  titleId = _ref.titleId,
10256
- props = _objectWithoutProperties$1e(_ref, _excluded$1C);
10993
+ props = _objectWithoutProperties$1e(_ref, _excluded$1G);
10257
10994
  return /*#__PURE__*/createElement("svg", _extends$1f({
10258
10995
  viewBox: "0 0 155 139",
10259
10996
  fill: "none",
@@ -10327,14 +11064,14 @@ var SvgLogoOpenebooksWithTextNegative = function SvgLogoOpenebooksWithTextNegati
10327
11064
  };
10328
11065
 
10329
11066
  var _path$_;
10330
- var _excluded$1D = ["title", "titleId"];
11067
+ var _excluded$1H = ["title", "titleId"];
10331
11068
  function _extends$1g() { _extends$1g = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$1g.apply(this, arguments); }
10332
11069
  function _objectWithoutProperties$1f(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose$1g(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }
10333
11070
  function _objectWithoutPropertiesLoose$1g(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
10334
11071
  var SvgLogoQplAltBlack = function SvgLogoQplAltBlack(_ref) {
10335
11072
  var title = _ref.title,
10336
11073
  titleId = _ref.titleId,
10337
- props = _objectWithoutProperties$1f(_ref, _excluded$1D);
11074
+ props = _objectWithoutProperties$1f(_ref, _excluded$1H);
10338
11075
  return /*#__PURE__*/createElement("svg", _extends$1g({
10339
11076
  viewBox: "0 0 250 134",
10340
11077
  xmlns: "http://www.w3.org/2000/svg",
@@ -10347,14 +11084,14 @@ var SvgLogoQplAltBlack = function SvgLogoQplAltBlack(_ref) {
10347
11084
  };
10348
11085
 
10349
11086
  var _path$$;
10350
- var _excluded$1E = ["title", "titleId"];
11087
+ var _excluded$1I = ["title", "titleId"];
10351
11088
  function _extends$1h() { _extends$1h = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$1h.apply(this, arguments); }
10352
11089
  function _objectWithoutProperties$1g(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose$1h(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }
10353
11090
  function _objectWithoutPropertiesLoose$1h(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
10354
11091
  var SvgLogoQplAltWhite = function SvgLogoQplAltWhite(_ref) {
10355
11092
  var title = _ref.title,
10356
11093
  titleId = _ref.titleId,
10357
- props = _objectWithoutProperties$1g(_ref, _excluded$1E);
11094
+ props = _objectWithoutProperties$1g(_ref, _excluded$1I);
10358
11095
  return /*#__PURE__*/createElement("svg", _extends$1h({
10359
11096
  viewBox: "0 0 250 134",
10360
11097
  fill: "#fff",
@@ -10368,14 +11105,14 @@ var SvgLogoQplAltWhite = function SvgLogoQplAltWhite(_ref) {
10368
11105
  };
10369
11106
 
10370
11107
  var _path$10, _path2$o, _path3$f, _path4$4, _path5$3;
10371
- var _excluded$1F = ["title", "titleId"];
11108
+ var _excluded$1J = ["title", "titleId"];
10372
11109
  function _extends$1i() { _extends$1i = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$1i.apply(this, arguments); }
10373
11110
  function _objectWithoutProperties$1h(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose$1i(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }
10374
11111
  function _objectWithoutPropertiesLoose$1i(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
10375
11112
  var SvgLogoQplBlack = function SvgLogoQplBlack(_ref) {
10376
11113
  var title = _ref.title,
10377
11114
  titleId = _ref.titleId,
10378
- props = _objectWithoutProperties$1h(_ref, _excluded$1F);
11115
+ props = _objectWithoutProperties$1h(_ref, _excluded$1J);
10379
11116
  return /*#__PURE__*/createElement("svg", _extends$1i({
10380
11117
  viewBox: "0 0 320 43",
10381
11118
  xmlns: "http://www.w3.org/2000/svg",
@@ -10404,14 +11141,14 @@ var SvgLogoQplBlack = function SvgLogoQplBlack(_ref) {
10404
11141
  };
10405
11142
 
10406
11143
  var _g$e, _defs$7;
10407
- var _excluded$1G = ["title", "titleId"];
11144
+ var _excluded$1K = ["title", "titleId"];
10408
11145
  function _extends$1j() { _extends$1j = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$1j.apply(this, arguments); }
10409
11146
  function _objectWithoutProperties$1i(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose$1j(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }
10410
11147
  function _objectWithoutPropertiesLoose$1j(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
10411
11148
  var SvgLogoQplColor = function SvgLogoQplColor(_ref) {
10412
11149
  var title = _ref.title,
10413
11150
  titleId = _ref.titleId,
10414
- props = _objectWithoutProperties$1i(_ref, _excluded$1G);
11151
+ props = _objectWithoutProperties$1i(_ref, _excluded$1K);
10415
11152
  return /*#__PURE__*/createElement("svg", _extends$1j({
10416
11153
  viewBox: "0 0 355 48",
10417
11154
  fill: "none",
@@ -10459,14 +11196,14 @@ var SvgLogoQplColor = function SvgLogoQplColor(_ref) {
10459
11196
  };
10460
11197
 
10461
11198
  var _path$11, _path2$p, _path3$g, _path4$5, _path5$4;
10462
- var _excluded$1H = ["title", "titleId"];
11199
+ var _excluded$1L = ["title", "titleId"];
10463
11200
  function _extends$1k() { _extends$1k = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$1k.apply(this, arguments); }
10464
11201
  function _objectWithoutProperties$1j(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose$1k(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }
10465
11202
  function _objectWithoutPropertiesLoose$1k(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
10466
11203
  var SvgLogoQplWhite = function SvgLogoQplWhite(_ref) {
10467
11204
  var title = _ref.title,
10468
11205
  titleId = _ref.titleId,
10469
- props = _objectWithoutProperties$1j(_ref, _excluded$1H);
11206
+ props = _objectWithoutProperties$1j(_ref, _excluded$1L);
10470
11207
  return /*#__PURE__*/createElement("svg", _extends$1k({
10471
11208
  viewBox: "0 0 320 43",
10472
11209
  fill: "#fff",
@@ -10496,14 +11233,14 @@ var SvgLogoQplWhite = function SvgLogoQplWhite(_ref) {
10496
11233
  };
10497
11234
 
10498
11235
  var _path$12, _path2$q, _path3$h, _path4$6, _path5$5;
10499
- var _excluded$1I = ["title", "titleId"];
11236
+ var _excluded$1M = ["title", "titleId"];
10500
11237
  function _extends$1l() { _extends$1l = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$1l.apply(this, arguments); }
10501
11238
  function _objectWithoutProperties$1k(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose$1l(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }
10502
11239
  function _objectWithoutPropertiesLoose$1l(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
10503
11240
  var SvgLogoReservoirIconColor = function SvgLogoReservoirIconColor(_ref) {
10504
11241
  var title = _ref.title,
10505
11242
  titleId = _ref.titleId,
10506
- props = _objectWithoutProperties$1k(_ref, _excluded$1I);
11243
+ props = _objectWithoutProperties$1k(_ref, _excluded$1M);
10507
11244
  return /*#__PURE__*/createElement("svg", _extends$1l({
10508
11245
  viewBox: "0 0 105 129",
10509
11246
  fill: "none",
@@ -10530,14 +11267,14 @@ var SvgLogoReservoirIconColor = function SvgLogoReservoirIconColor(_ref) {
10530
11267
  };
10531
11268
 
10532
11269
  var _g$f;
10533
- var _excluded$1J = ["title", "titleId"];
11270
+ var _excluded$1N = ["title", "titleId"];
10534
11271
  function _extends$1m() { _extends$1m = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$1m.apply(this, arguments); }
10535
11272
  function _objectWithoutProperties$1l(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose$1m(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }
10536
11273
  function _objectWithoutPropertiesLoose$1m(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
10537
11274
  var SvgLogoReservoirVerticalColor = function SvgLogoReservoirVerticalColor(_ref) {
10538
11275
  var title = _ref.title,
10539
11276
  titleId = _ref.titleId,
10540
- props = _objectWithoutProperties$1l(_ref, _excluded$1J);
11277
+ props = _objectWithoutProperties$1l(_ref, _excluded$1N);
10541
11278
  return /*#__PURE__*/createElement("svg", _extends$1m({
10542
11279
  viewBox: "0 0 234 261",
10543
11280
  fill: "none",
@@ -10563,14 +11300,14 @@ var SvgLogoReservoirVerticalColor = function SvgLogoReservoirVerticalColor(_ref)
10563
11300
  };
10564
11301
 
10565
11302
  var _path$13, _path2$r, _path3$i, _path4$7, _path5$6;
10566
- var _excluded$1K = ["title", "titleId"];
11303
+ var _excluded$1O = ["title", "titleId"];
10567
11304
  function _extends$1n() { _extends$1n = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$1n.apply(this, arguments); }
10568
11305
  function _objectWithoutProperties$1m(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose$1n(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }
10569
11306
  function _objectWithoutPropertiesLoose$1n(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
10570
11307
  var SvgLogoSchomburgBlack = function SvgLogoSchomburgBlack(_ref) {
10571
11308
  var title = _ref.title,
10572
11309
  titleId = _ref.titleId,
10573
- props = _objectWithoutProperties$1m(_ref, _excluded$1K);
11310
+ props = _objectWithoutProperties$1m(_ref, _excluded$1O);
10574
11311
  return /*#__PURE__*/createElement("svg", _extends$1n({
10575
11312
  viewBox: "0 0 185 79",
10576
11313
  xmlns: "http://www.w3.org/2000/svg",
@@ -10591,14 +11328,14 @@ var SvgLogoSchomburgBlack = function SvgLogoSchomburgBlack(_ref) {
10591
11328
  };
10592
11329
 
10593
11330
  var _path$14, _path2$s, _path3$j, _path4$8, _path5$7;
10594
- var _excluded$1L = ["title", "titleId"];
11331
+ var _excluded$1P = ["title", "titleId"];
10595
11332
  function _extends$1o() { _extends$1o = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$1o.apply(this, arguments); }
10596
11333
  function _objectWithoutProperties$1n(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose$1o(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }
10597
11334
  function _objectWithoutPropertiesLoose$1o(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
10598
11335
  var SvgLogoSchomburgCircleBlack = function SvgLogoSchomburgCircleBlack(_ref) {
10599
11336
  var title = _ref.title,
10600
11337
  titleId = _ref.titleId,
10601
- props = _objectWithoutProperties$1n(_ref, _excluded$1L);
11338
+ props = _objectWithoutProperties$1n(_ref, _excluded$1P);
10602
11339
  return /*#__PURE__*/createElement("svg", _extends$1o({
10603
11340
  viewBox: "0 0 67 67",
10604
11341
  xmlns: "http://www.w3.org/2000/svg",
@@ -10619,14 +11356,14 @@ var SvgLogoSchomburgCircleBlack = function SvgLogoSchomburgCircleBlack(_ref) {
10619
11356
  };
10620
11357
 
10621
11358
  var _path$15, _path2$t, _path3$k, _path4$9, _path5$8;
10622
- var _excluded$1M = ["title", "titleId"];
11359
+ var _excluded$1Q = ["title", "titleId"];
10623
11360
  function _extends$1p() { _extends$1p = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$1p.apply(this, arguments); }
10624
11361
  function _objectWithoutProperties$1o(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose$1p(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }
10625
11362
  function _objectWithoutPropertiesLoose$1p(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
10626
11363
  var SvgLogoSchomburgCircleColor = function SvgLogoSchomburgCircleColor(_ref) {
10627
11364
  var title = _ref.title,
10628
11365
  titleId = _ref.titleId,
10629
- props = _objectWithoutProperties$1o(_ref, _excluded$1M);
11366
+ props = _objectWithoutProperties$1o(_ref, _excluded$1Q);
10630
11367
  return /*#__PURE__*/createElement("svg", _extends$1p({
10631
11368
  viewBox: "0 0 67 67",
10632
11369
  fill: "none",
@@ -10653,14 +11390,14 @@ var SvgLogoSchomburgCircleColor = function SvgLogoSchomburgCircleColor(_ref) {
10653
11390
  };
10654
11391
 
10655
11392
  var _path$16, _path2$u, _path3$l, _path4$a, _path5$9;
10656
- var _excluded$1N = ["title", "titleId"];
11393
+ var _excluded$1R = ["title", "titleId"];
10657
11394
  function _extends$1q() { _extends$1q = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$1q.apply(this, arguments); }
10658
11395
  function _objectWithoutProperties$1p(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose$1q(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }
10659
11396
  function _objectWithoutPropertiesLoose$1q(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
10660
11397
  var SvgLogoSchomburgCircleWhite = function SvgLogoSchomburgCircleWhite(_ref) {
10661
11398
  var title = _ref.title,
10662
11399
  titleId = _ref.titleId,
10663
- props = _objectWithoutProperties$1p(_ref, _excluded$1N);
11400
+ props = _objectWithoutProperties$1p(_ref, _excluded$1R);
10664
11401
  return /*#__PURE__*/createElement("svg", _extends$1q({
10665
11402
  viewBox: "0 0 67 67",
10666
11403
  fill: "#fff",
@@ -10682,14 +11419,14 @@ var SvgLogoSchomburgCircleWhite = function SvgLogoSchomburgCircleWhite(_ref) {
10682
11419
  };
10683
11420
 
10684
11421
  var _path$17, _path2$v, _path3$m, _path4$b, _path5$a, _path6$3, _path7$3;
10685
- var _excluded$1O = ["title", "titleId"];
11422
+ var _excluded$1S = ["title", "titleId"];
10686
11423
  function _extends$1r() { _extends$1r = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$1r.apply(this, arguments); }
10687
11424
  function _objectWithoutProperties$1q(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose$1r(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }
10688
11425
  function _objectWithoutPropertiesLoose$1r(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
10689
11426
  var SvgLogoSchomburgColor = function SvgLogoSchomburgColor(_ref) {
10690
11427
  var title = _ref.title,
10691
11428
  titleId = _ref.titleId,
10692
- props = _objectWithoutProperties$1q(_ref, _excluded$1O);
11429
+ props = _objectWithoutProperties$1q(_ref, _excluded$1S);
10693
11430
  return /*#__PURE__*/createElement("svg", _extends$1r({
10694
11431
  viewBox: "0 0 185 79",
10695
11432
  fill: "none",
@@ -10722,14 +11459,14 @@ var SvgLogoSchomburgColor = function SvgLogoSchomburgColor(_ref) {
10722
11459
  };
10723
11460
 
10724
11461
  var _path$18, _path2$w, _path3$n, _path4$c, _path5$b;
10725
- var _excluded$1P = ["title", "titleId"];
11462
+ var _excluded$1T = ["title", "titleId"];
10726
11463
  function _extends$1s() { _extends$1s = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$1s.apply(this, arguments); }
10727
11464
  function _objectWithoutProperties$1r(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose$1s(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }
10728
11465
  function _objectWithoutPropertiesLoose$1s(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
10729
11466
  var SvgLogoSchomburgWhite = function SvgLogoSchomburgWhite(_ref) {
10730
11467
  var title = _ref.title,
10731
11468
  titleId = _ref.titleId,
10732
- props = _objectWithoutProperties$1r(_ref, _excluded$1P);
11469
+ props = _objectWithoutProperties$1r(_ref, _excluded$1T);
10733
11470
  return /*#__PURE__*/createElement("svg", _extends$1s({
10734
11471
  viewBox: "0 0 185 79",
10735
11472
  fill: "#fff",
@@ -10751,14 +11488,14 @@ var SvgLogoSchomburgWhite = function SvgLogoSchomburgWhite(_ref) {
10751
11488
  };
10752
11489
 
10753
11490
  var _g$g, _defs$8;
10754
- var _excluded$1Q = ["title", "titleId"];
11491
+ var _excluded$1U = ["title", "titleId"];
10755
11492
  function _extends$1t() { _extends$1t = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$1t.apply(this, arguments); }
10756
11493
  function _objectWithoutProperties$1s(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose$1t(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }
10757
11494
  function _objectWithoutPropertiesLoose$1t(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
10758
11495
  var SvgLogoSimplyeBlack = function SvgLogoSimplyeBlack(_ref) {
10759
11496
  var title = _ref.title,
10760
11497
  titleId = _ref.titleId,
10761
- props = _objectWithoutProperties$1s(_ref, _excluded$1Q);
11498
+ props = _objectWithoutProperties$1s(_ref, _excluded$1U);
10762
11499
  return /*#__PURE__*/createElement("svg", _extends$1t({
10763
11500
  viewBox: "0 0 512 148",
10764
11501
  xmlns: "http://www.w3.org/2000/svg",
@@ -10783,14 +11520,14 @@ var SvgLogoSimplyeBlack = function SvgLogoSimplyeBlack(_ref) {
10783
11520
  };
10784
11521
 
10785
11522
  var _g$h, _defs$9;
10786
- var _excluded$1R = ["title", "titleId"];
11523
+ var _excluded$1V = ["title", "titleId"];
10787
11524
  function _extends$1u() { _extends$1u = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$1u.apply(this, arguments); }
10788
11525
  function _objectWithoutProperties$1t(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose$1u(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }
10789
11526
  function _objectWithoutPropertiesLoose$1u(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
10790
11527
  var SvgLogoSimplyeWhite = function SvgLogoSimplyeWhite(_ref) {
10791
11528
  var title = _ref.title,
10792
11529
  titleId = _ref.titleId,
10793
- props = _objectWithoutProperties$1t(_ref, _excluded$1R);
11530
+ props = _objectWithoutProperties$1t(_ref, _excluded$1V);
10794
11531
  return /*#__PURE__*/createElement("svg", _extends$1u({
10795
11532
  viewBox: "0 0 512 148",
10796
11533
  fill: "#fff",
@@ -10815,14 +11552,14 @@ var SvgLogoSimplyeWhite = function SvgLogoSimplyeWhite(_ref) {
10815
11552
  };
10816
11553
 
10817
11554
  var _g$i, _defs$a;
10818
- var _excluded$1S = ["title", "titleId"];
11555
+ var _excluded$1W = ["title", "titleId"];
10819
11556
  function _extends$1v() { _extends$1v = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$1v.apply(this, arguments); }
10820
11557
  function _objectWithoutProperties$1u(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose$1v(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }
10821
11558
  function _objectWithoutPropertiesLoose$1v(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
10822
11559
  var SvgLogoSimplyeColor = function SvgLogoSimplyeColor(_ref) {
10823
11560
  var title = _ref.title,
10824
11561
  titleId = _ref.titleId,
10825
- props = _objectWithoutProperties$1u(_ref, _excluded$1S);
11562
+ props = _objectWithoutProperties$1u(_ref, _excluded$1W);
10826
11563
  return /*#__PURE__*/createElement("svg", _extends$1v({
10827
11564
  viewBox: "0 0 682 196",
10828
11565
  fill: "none",
@@ -10854,14 +11591,14 @@ var SvgLogoSimplyeColor = function SvgLogoSimplyeColor(_ref) {
10854
11591
  };
10855
11592
 
10856
11593
  var _path$19;
10857
- var _excluded$1T = ["title", "titleId"];
11594
+ var _excluded$1X = ["title", "titleId"];
10858
11595
  function _extends$1w() { _extends$1w = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$1w.apply(this, arguments); }
10859
11596
  function _objectWithoutProperties$1v(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose$1w(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }
10860
11597
  function _objectWithoutPropertiesLoose$1w(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
10861
11598
  var SvgLogoSnflBlack = function SvgLogoSnflBlack(_ref) {
10862
11599
  var title = _ref.title,
10863
11600
  titleId = _ref.titleId,
10864
- props = _objectWithoutProperties$1v(_ref, _excluded$1T);
11601
+ props = _objectWithoutProperties$1v(_ref, _excluded$1X);
10865
11602
  return /*#__PURE__*/createElement("svg", _extends$1w({
10866
11603
  viewBox: "0 0 84 111",
10867
11604
  xmlns: "http://www.w3.org/2000/svg",
@@ -10874,14 +11611,14 @@ var SvgLogoSnflBlack = function SvgLogoSnflBlack(_ref) {
10874
11611
  };
10875
11612
 
10876
11613
  var _path$1a;
10877
- var _excluded$1U = ["title", "titleId"];
11614
+ var _excluded$1Y = ["title", "titleId"];
10878
11615
  function _extends$1x() { _extends$1x = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$1x.apply(this, arguments); }
10879
11616
  function _objectWithoutProperties$1w(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose$1x(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }
10880
11617
  function _objectWithoutPropertiesLoose$1x(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
10881
11618
  var SvgLogoSnflWhite = function SvgLogoSnflWhite(_ref) {
10882
11619
  var title = _ref.title,
10883
11620
  titleId = _ref.titleId,
10884
- props = _objectWithoutProperties$1w(_ref, _excluded$1U);
11621
+ props = _objectWithoutProperties$1w(_ref, _excluded$1Y);
10885
11622
  return /*#__PURE__*/createElement("svg", _extends$1x({
10886
11623
  viewBox: "0 0 84 111",
10887
11624
  fill: "#fff",
@@ -10895,14 +11632,14 @@ var SvgLogoSnflWhite = function SvgLogoSnflWhite(_ref) {
10895
11632
  };
10896
11633
 
10897
11634
  var _path$1b, _path2$x, _path3$o, _path4$d, _path5$c, _path6$4, _path7$4, _path8$3, _path9$3, _path10$3, _path11$3, _path12$3, _path13$3, _path14$2, _path15$2, _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;
10898
- var _excluded$1V = ["title", "titleId"];
11635
+ var _excluded$1Z = ["title", "titleId"];
10899
11636
  function _extends$1y() { _extends$1y = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$1y.apply(this, arguments); }
10900
11637
  function _objectWithoutProperties$1x(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose$1y(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }
10901
11638
  function _objectWithoutPropertiesLoose$1y(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
10902
11639
  var SvgLogoTreasuresColor = function SvgLogoTreasuresColor(_ref) {
10903
11640
  var title = _ref.title,
10904
11641
  titleId = _ref.titleId,
10905
- props = _objectWithoutProperties$1x(_ref, _excluded$1V);
11642
+ props = _objectWithoutProperties$1x(_ref, _excluded$1Z);
10906
11643
  return /*#__PURE__*/createElement("svg", _extends$1y({
10907
11644
  viewBox: "0 0 324 265",
10908
11645
  fill: "none",
@@ -11079,14 +11816,14 @@ var SvgLogoTreasuresColor = function SvgLogoTreasuresColor(_ref) {
11079
11816
  };
11080
11817
 
11081
11818
  var _path$1c, _path2$y, _path3$p, _path4$e, _path5$d, _path6$5, _path7$5, _path8$4, _path9$4, _path10$4, _path11$4, _path12$4, _path13$4, _path14$3, _path15$3, _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;
11082
- var _excluded$1W = ["title", "titleId"];
11819
+ var _excluded$1_ = ["title", "titleId"];
11083
11820
  function _extends$1z() { _extends$1z = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$1z.apply(this, arguments); }
11084
11821
  function _objectWithoutProperties$1y(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose$1z(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }
11085
11822
  function _objectWithoutPropertiesLoose$1z(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
11086
11823
  var SvgLogoTreasuresColorNegative = function SvgLogoTreasuresColorNegative(_ref) {
11087
11824
  var title = _ref.title,
11088
11825
  titleId = _ref.titleId,
11089
- props = _objectWithoutProperties$1y(_ref, _excluded$1W);
11826
+ props = _objectWithoutProperties$1y(_ref, _excluded$1_);
11090
11827
  return /*#__PURE__*/createElement("svg", _extends$1z({
11091
11828
  viewBox: "0 0 327 266",
11092
11829
  fill: "none",
@@ -11313,7 +12050,7 @@ var logoSvgs = {
11313
12050
  treasuresColorNegative: SvgLogoTreasuresColorNegative
11314
12051
  };
11315
12052
 
11316
- var _excluded$1X = ["children", "className", "decorative", "id", "name", "size", "title"];
12053
+ var _excluded$1$ = ["children", "className", "decorative", "id", "name", "size", "title"];
11317
12054
  /**
11318
12055
  * The `Logo` component renders SVG-based logos and color variants that are
11319
12056
  * commonly used by the New York Public Library.
@@ -11330,7 +12067,7 @@ var Logo$1 = /*#__PURE__*/chakra( /*#__PURE__*/forwardRef(function (props, ref)
11330
12067
  size = _props$size === void 0 ? "medium" : _props$size,
11331
12068
  _props$title = props.title,
11332
12069
  title = _props$title === void 0 ? name + " logo" : _props$title,
11333
- rest = _objectWithoutPropertiesLoose(props, _excluded$1X);
12070
+ rest = _objectWithoutPropertiesLoose(props, _excluded$1$);
11334
12071
  var styles = useStyleConfig("Logo", {
11335
12072
  size: size
11336
12073
  });
@@ -11431,7 +12168,7 @@ var link$1 = {
11431
12168
  }]
11432
12169
  };
11433
12170
 
11434
- var _excluded$1Y = ["className", "id"];
12171
+ var _excluded$20 = ["className", "id"];
11435
12172
  /**
11436
12173
  * This `Footer` component renders the NYPL-branded footer elements such
11437
12174
  * as navigational NYPL.org links, social media links, copyright, and
@@ -11441,7 +12178,7 @@ var Footer$1 = /*#__PURE__*/chakra( /*#__PURE__*/forwardRef(function (_ref, ref)
11441
12178
  var className = _ref.className,
11442
12179
  _ref$id = _ref.id,
11443
12180
  id = _ref$id === void 0 ? "footer" : _ref$id,
11444
- rest = _objectWithoutPropertiesLoose(_ref, _excluded$1Y);
12181
+ rest = _objectWithoutPropertiesLoose(_ref, _excluded$20);
11445
12182
  var styles = useMultiStyleConfig("Footer", {});
11446
12183
  var nyplLinks = link$1.nyplLinks.map(function (links, index) {
11447
12184
  return React__default.createElement(List$1, {
@@ -11499,232 +12236,67 @@ var Footer$1 = /*#__PURE__*/chakra( /*#__PURE__*/forwardRef(function (_ref, ref)
11499
12236
  src: "https://cdn-d8.nypl.org/s3fs-public/2020-05/NYPL_MainFacadeRev2Cam2.png"
11500
12237
  })), React__default.createElement(Box, {
11501
12238
  __css: styles.copyright
11502
- }, React__default.createElement("p", null, "\xA9 The New York Public Library, ", new Date().getFullYear()), React__default.createElement("p", null, "The New York Public Library is a 501(c)(3) | EIN 13-1887440"))), React__default.createElement(Box, {
11503
- __css: styles.logoContainer
11504
- }, React__default.createElement(Logo$1, {
11505
- "aria-label": "The New York Public Library",
11506
- decorative: false,
11507
- name: "nyplTextWhite",
11508
- size: "small",
11509
- title: "The New York Public Library"
11510
- })));
11511
- }));
11512
-
11513
- var _excluded$1Z = ["align", "className"];
11514
- var HorizontalRule$1 = /*#__PURE__*/chakra( /*#__PURE__*/forwardRef(function (props, ref) {
11515
- var align = props.align,
11516
- className = props.className,
11517
- rest = _objectWithoutPropertiesLoose(props, _excluded$1Z);
11518
- var styles = useStyleConfig("HorizontalRule", {
11519
- align: align
11520
- });
11521
- var finalStyles = _extends({}, styles, {
11522
- height: "2px",
11523
- width: "100%"
11524
- });
11525
- return React__default.createElement(Box, Object.assign({
11526
- as: "hr",
11527
- className: className,
11528
- ref: ref,
11529
- __css: finalStyles
11530
- }, rest));
11531
- }));
11532
-
11533
- var _excluded$1_ = ["className", "id", "target"];
11534
- /**
11535
- * SkipNavigation is a component that is used to provide a navigational list of
11536
- * links. The first link is used to skip to the main content of the page using
11537
- * the `#mainContent` id, and the second link points to accessibility information
11538
- * on NYPL.org. These links are visually hidden but can be read by screenreaders.
11539
- */
11540
- var SkipNavigation$1 = /*#__PURE__*/chakra( /*#__PURE__*/forwardRef(function (props, ref) {
11541
- var className = props.className,
11542
- id = props.id,
11543
- _props$target = props.target,
11544
- target = _props$target === void 0 ? "#mainContent" : _props$target,
11545
- rest = _objectWithoutPropertiesLoose(props, _excluded$1_);
11546
- var styles = useStyleConfig("SkipNavigation");
11547
- return React__default.createElement(Box, Object.assign({
11548
- as: "nav",
11549
- "aria-label": "Skip Navigation",
11550
- className: className,
11551
- id: id,
11552
- ref: ref,
11553
- __css: styles
11554
- }, rest), React__default.createElement(List$1, {
11555
- inline: true,
11556
- noStyling: true,
11557
- type: "ul"
11558
- }, React__default.createElement("li", null, React__default.createElement(Link, {
11559
- href: target
11560
- }, "Skip to Main Content")), React__default.createElement("li", null, React__default.createElement(Link, {
11561
- href: "https://www.nypl.org/accessibility"
11562
- }, "Click to learn about accessibility at the Library"))));
11563
- }));
11564
-
11565
- var _excluded$1$ = ["className", "helperText", "id", "invalidText", "isChecked", "isDisabled", "isInvalid", "isRequired", "labelText", "name", "onChange", "showHelperInvalidText", "showLabel", "value"];
11566
- var Radio$1 = /*#__PURE__*/chakra( /*#__PURE__*/forwardRef(function (props, ref) {
11567
- var className = props.className,
11568
- helperText = props.helperText,
11569
- id = props.id,
11570
- invalidText = props.invalidText,
11571
- isChecked = props.isChecked,
11572
- _props$isDisabled = props.isDisabled,
11573
- isDisabled = _props$isDisabled === void 0 ? false : _props$isDisabled,
11574
- _props$isInvalid = props.isInvalid,
11575
- isInvalid = _props$isInvalid === void 0 ? false : _props$isInvalid,
11576
- _props$isRequired = props.isRequired,
11577
- isRequired = _props$isRequired === void 0 ? false : _props$isRequired,
11578
- labelText = props.labelText,
11579
- name = props.name,
11580
- onChange = props.onChange,
11581
- _props$showHelperInva = props.showHelperInvalidText,
11582
- showHelperInvalidText = _props$showHelperInva === void 0 ? true : _props$showHelperInva,
11583
- _props$showLabel = props.showLabel,
11584
- showLabel = _props$showLabel === void 0 ? true : _props$showLabel,
11585
- value = props.value,
11586
- rest = _objectWithoutPropertiesLoose(props, _excluded$1$);
11587
- var styles = useMultiStyleConfig("Radio", {
11588
- showLabel: showLabel
11589
- });
11590
- var wrapperStyles = useStyleConfig("RadioWrapper");
11591
- var footnote = isInvalid ? invalidText : helperText;
11592
- var ariaAttributes = getAriaAttrs({
11593
- footnote: footnote,
11594
- id: id,
11595
- labelText: labelText,
11596
- name: "Radio",
11597
- showLabel: showLabel
11598
- });
11599
- // We can't use the aria-label because of how Chakra renders its
11600
- // Radio component. Instead, we'll visually hide the label.
11601
- delete ariaAttributes["aria-label"];
11602
- if (!id) {
11603
- console.warn("NYPL Reservoir Radio: This component's required `id` prop was not passed.");
11604
- }
11605
- return React__default.createElement(ComponentWrapper, Object.assign({
11606
- helperText: helperText,
11607
- helperTextStyles: styles.helperErrorText,
11608
- id: id,
11609
- invalidText: invalidText,
11610
- isInvalid: isInvalid,
11611
- showHelperInvalidText: showHelperInvalidText,
11612
- sx: wrapperStyles
11613
- }, rest), React__default.createElement(Radio$2, Object.assign({
11614
- className: className,
11615
- id: id,
11616
- isChecked: isChecked,
11617
- isDisabled: isDisabled,
11618
- isInvalid: isInvalid,
11619
- isRequired: isRequired,
11620
- name: name,
11621
- onChange: onChange,
11622
- ref: ref,
11623
- value: value,
11624
- alignItems: "flex-start",
11625
- sx: styles
11626
- }, ariaAttributes), React__default.createElement(Box, {
11627
- as: "span",
11628
- __css: showLabel ? {} : styles.hiddenLabel
11629
- }, labelText)));
11630
- }));
11631
-
11632
- var _excluded$20 = ["children", "className", "defaultValue", "helperText", "id", "invalidText", "isDisabled", "isFullWidth", "isInvalid", "isRequired", "labelText", "layout", "name", "onChange", "showHelperInvalidText", "showLabel", "showRequiredLabel"];
11633
- /**
11634
- * RadioGroup is a wrapper for DS `Radio` components that renders as a fieldset
11635
- * HTML element along with optional helper text. The `name` prop is essential
11636
- * for this form group element and is not needed for individual DS `Radio`
11637
- * components when `RadioGroup` is used.
11638
- */
11639
- var RadioGroup$1 = /*#__PURE__*/chakra( /*#__PURE__*/forwardRef(function (props, ref) {
11640
- var children = props.children,
11641
- _props$className = props.className,
11642
- className = _props$className === void 0 ? "" : _props$className,
11643
- defaultValue = props.defaultValue,
11644
- helperText = props.helperText,
11645
- id = props.id,
11646
- invalidText = props.invalidText,
11647
- _props$isDisabled = props.isDisabled,
11648
- isDisabled = _props$isDisabled === void 0 ? false : _props$isDisabled,
11649
- _props$isFullWidth = props.isFullWidth,
11650
- isFullWidth = _props$isFullWidth === void 0 ? false : _props$isFullWidth,
11651
- _props$isInvalid = props.isInvalid,
11652
- isInvalid = _props$isInvalid === void 0 ? false : _props$isInvalid,
11653
- _props$isRequired = props.isRequired,
11654
- isRequired = _props$isRequired === void 0 ? false : _props$isRequired,
11655
- labelText = props.labelText,
11656
- _props$layout = props.layout,
11657
- layout = _props$layout === void 0 ? "column" : _props$layout,
11658
- name = props.name,
11659
- _onChange = props.onChange,
11660
- _props$showHelperInva = props.showHelperInvalidText,
11661
- showHelperInvalidText = _props$showHelperInva === void 0 ? true : _props$showHelperInva,
11662
- _props$showLabel = props.showLabel,
11663
- showLabel = _props$showLabel === void 0 ? true : _props$showLabel,
11664
- _props$showRequiredLa = props.showRequiredLabel,
11665
- showRequiredLabel = _props$showRequiredLa === void 0 ? true : _props$showRequiredLa,
11666
- rest = _objectWithoutPropertiesLoose(props, _excluded$20);
11667
- var _React$useState = React__default.useState(defaultValue),
11668
- value = _React$useState[0],
11669
- setValue = _React$useState[1];
11670
- var footnote = isInvalid ? invalidText : helperText;
11671
- var spacingProp = layout === "column" ? spacing.s : spacing.l;
11672
- var newChildren = [];
11673
- // Get the Chakra-based styles for the custom elements in this component.
11674
- var styles = useMultiStyleConfig("RadioGroup", {
11675
- isFullWidth: isFullWidth
11676
- });
11677
- // Props for the `ChakraRadioGroup` component.
11678
- var radioGroupProps = {
11679
- "aria-label": !showLabel ? labelText : undefined,
11680
- name: name,
11681
- onChange: function onChange(selected) {
11682
- setValue(selected);
11683
- _onChange && _onChange(selected);
11684
- },
11685
- ref: ref,
11686
- value: value
11687
- };
11688
- if (!id) {
11689
- console.warn("NYPL Reservoir RadioGroup: This component's required `id` prop was not passed.");
11690
- }
11691
- // Go through the Radio children and update them as needed.
11692
- React__default.Children.map(children, function (child, key) {
11693
- if ((child == null ? void 0 : child.type) !== Radio$1) {
11694
- var _child$props, _child$props2;
11695
- // Special case for Storybook MDX documentation.
11696
- if ((_child$props = child.props) != null && _child$props.mdxType && ((_child$props2 = child.props) == null ? void 0 : _child$props2.mdxType) === "Radio") ; else {
11697
- console.warn("NYPL Reservoir RadioGroup: Only `Radio` components are allowed " + "inside the `RadioGroup` component.");
11698
- }
11699
- }
11700
- if (child !== undefined && child !== null) {
11701
- var newProps = {
11702
- key: key,
11703
- isDisabled: isDisabled,
11704
- isInvalid: isInvalid,
11705
- isRequired: isRequired
11706
- };
11707
- newChildren.push(React__default.cloneElement(child, newProps));
11708
- }
12239
+ }, React__default.createElement("p", null, "\xA9 The New York Public Library, ", new Date().getFullYear()), React__default.createElement("p", null, "The New York Public Library is a 501(c)(3) | EIN 13-1887440"))), React__default.createElement(Box, {
12240
+ __css: styles.logoContainer
12241
+ }, React__default.createElement(Logo$1, {
12242
+ "aria-label": "The New York Public Library",
12243
+ decorative: false,
12244
+ name: "nyplTextWhite",
12245
+ size: "small",
12246
+ title: "The New York Public Library"
12247
+ })));
12248
+ }));
12249
+
12250
+ var _excluded$21 = ["align", "className"];
12251
+ var HorizontalRule$1 = /*#__PURE__*/chakra( /*#__PURE__*/forwardRef(function (props, ref) {
12252
+ var align = props.align,
12253
+ className = props.className,
12254
+ rest = _objectWithoutPropertiesLoose(props, _excluded$21);
12255
+ var styles = useStyleConfig("HorizontalRule", {
12256
+ align: align
11709
12257
  });
11710
- return React__default.createElement(Fieldset, Object.assign({
12258
+ var finalStyles = _extends({}, styles, {
12259
+ height: "2px",
12260
+ width: "100%"
12261
+ });
12262
+ return React__default.createElement(Box, Object.assign({
12263
+ as: "hr",
11711
12264
  className: className,
11712
- id: "radio-group-" + id,
11713
- isLegendHidden: !showLabel,
11714
- isRequired: isRequired,
11715
- legendText: labelText,
11716
- showRequiredLabel: showRequiredLabel
11717
- }, rest, {
12265
+ ref: ref,
12266
+ __css: finalStyles
12267
+ }, rest));
12268
+ }));
12269
+
12270
+ var _excluded$22 = ["className", "id", "target"];
12271
+ /**
12272
+ * SkipNavigation is a component that is used to provide a navigational list of
12273
+ * links. The first link is used to skip to the main content of the page using
12274
+ * the `#mainContent` id, and the second link points to accessibility information
12275
+ * on NYPL.org. These links are visually hidden but can be read by screenreaders.
12276
+ */
12277
+ var SkipNavigation$1 = /*#__PURE__*/chakra( /*#__PURE__*/forwardRef(function (props, ref) {
12278
+ var className = props.className,
12279
+ id = props.id,
12280
+ _props$target = props.target,
12281
+ target = _props$target === void 0 ? "#mainContent" : _props$target,
12282
+ rest = _objectWithoutPropertiesLoose(props, _excluded$22);
12283
+ var styles = useStyleConfig("SkipNavigation");
12284
+ return React__default.createElement(Box, Object.assign({
12285
+ as: "nav",
12286
+ "aria-label": "Skip Navigation",
12287
+ className: className,
12288
+ id: id,
12289
+ ref: ref,
11718
12290
  __css: styles
11719
- }), React__default.createElement(RadioGroup$2, Object.assign({}, radioGroupProps), React__default.createElement(Stack, {
11720
- direction: [layout],
11721
- spacing: spacingProp
11722
- }, newChildren)), footnote && showHelperInvalidText && React__default.createElement(HelperErrorText, {
11723
- id: id + "-helperErrorText",
11724
- isInvalid: isInvalid,
11725
- text: footnote,
11726
- __css: styles.helperErrorText
11727
- }));
12291
+ }, rest), React__default.createElement(List$1, {
12292
+ inline: true,
12293
+ noStyling: true,
12294
+ type: "ul"
12295
+ }, React__default.createElement("li", null, React__default.createElement(Link, {
12296
+ href: target
12297
+ }, "Skip to Main Content")), React__default.createElement("li", null, React__default.createElement(Link, {
12298
+ href: "https://www.nypl.org/accessibility"
12299
+ }, "Click to learn about accessibility at the Library"))));
11728
12300
  }));
11729
12301
 
11730
12302
  /*eslint no-useless-escape: 0 */
@@ -12689,164 +13261,6 @@ var HeaderMobileIconNav$1 = /*#__PURE__*/chakra(function () {
12689
13261
  }), React__default.createElement(HeaderMobileNavButton$1, null));
12690
13262
  });
12691
13263
 
12692
- var _excluded$21 = ["children", "icon", "id", "isCentered", "notificationType"],
12693
- _excluded2$5 = ["alignText", "children", "icon", "notificationType"],
12694
- _excluded3$3 = ["ariaLabel", "className", "dismissible", "icon", "id", "isCentered", "noMargin", "notificationContent", "notificationHeading", "notificationType", "showIcon"];
12695
- /**
12696
- * NotificationHeading child-component.
12697
- */
12698
- var NotificationHeading$1 = /*#__PURE__*/chakra(function (props) {
12699
- var children = props.children,
12700
- icon = props.icon,
12701
- id = props.id,
12702
- isCentered = props.isCentered,
12703
- notificationType = props.notificationType,
12704
- rest = _objectWithoutPropertiesLoose(props, _excluded$21);
12705
- var styles = useMultiStyleConfig("NotificationHeading", {
12706
- icon: icon,
12707
- isCentered: isCentered,
12708
- notificationType: notificationType
12709
- });
12710
- return React__default.createElement(Box, Object.assign({
12711
- as: "header",
12712
- __css: styles
12713
- }, rest), icon, React__default.createElement(Heading, {
12714
- id: id + "-heading",
12715
- level: "four",
12716
- __css: styles.heading
12717
- }, children));
12718
- });
12719
- /**
12720
- * NotificationContent child-component.
12721
- */
12722
- var NotificationContent$1 = /*#__PURE__*/chakra(function (props) {
12723
- var alignText = props.alignText,
12724
- children = props.children,
12725
- icon = props.icon,
12726
- notificationType = props.notificationType,
12727
- rest = _objectWithoutPropertiesLoose(props, _excluded2$5);
12728
- var styles = useMultiStyleConfig("NotificationContent", {
12729
- alignText: alignText,
12730
- icon: icon,
12731
- notificationType: notificationType
12732
- });
12733
- return React__default.createElement(Box, Object.assign({
12734
- __css: styles
12735
- }, rest), icon, React__default.createElement(Box, {
12736
- __css: styles.content
12737
- }, children));
12738
- });
12739
- /**
12740
- * Component used to present users with three different levels of notifications:
12741
- * standard, announcement, and warning.
12742
- */
12743
- var Notification$1 = /*#__PURE__*/chakra( /*#__PURE__*/forwardRef(function (props, ref) {
12744
- var ariaLabel = props.ariaLabel,
12745
- className = props.className,
12746
- _props$dismissible = props.dismissible,
12747
- dismissible = _props$dismissible === void 0 ? false : _props$dismissible,
12748
- icon = props.icon,
12749
- id = props.id,
12750
- _props$isCentered = props.isCentered,
12751
- isCentered = _props$isCentered === void 0 ? false : _props$isCentered,
12752
- _props$noMargin = props.noMargin,
12753
- noMargin = _props$noMargin === void 0 ? false : _props$noMargin,
12754
- notificationContent = props.notificationContent,
12755
- notificationHeading = props.notificationHeading,
12756
- _props$notificationTy = props.notificationType,
12757
- notificationType = _props$notificationTy === void 0 ? "standard" : _props$notificationTy,
12758
- _props$showIcon = props.showIcon,
12759
- showIcon = _props$showIcon === void 0 ? true : _props$showIcon,
12760
- rest = _objectWithoutPropertiesLoose(props, _excluded3$3);
12761
- var _useState = useState(true),
12762
- isOpen = _useState[0],
12763
- setIsOpen = _useState[1];
12764
- var handleClose = function handleClose() {
12765
- return setIsOpen(false);
12766
- };
12767
- var styles = useMultiStyleConfig("Notification", {
12768
- dismissible: dismissible,
12769
- isCentered: isCentered,
12770
- noMargin: noMargin,
12771
- notificationType: notificationType
12772
- });
12773
- var iconElement = function iconElement() {
12774
- var baseIconProps = {
12775
- size: "large",
12776
- __css: styles.icon
12777
- };
12778
- // If the icon should not display, return undefined.
12779
- if (!showIcon) {
12780
- return undefined;
12781
- }
12782
- // If a custom icon is passed, add specific `Notification` styles.
12783
- if (icon) return React__default.cloneElement(icon, _extends({
12784
- id: id + "-custom-notification-icon"
12785
- }, baseIconProps));
12786
- var iconProps = {
12787
- announcement: {
12788
- color: "section.research.secondary",
12789
- name: "speakerNotes",
12790
- title: "Notification announcement icon"
12791
- },
12792
- standard: {
12793
- color: "ui.black",
12794
- name: "alertNotificationImportant",
12795
- title: "Notification standard icon"
12796
- },
12797
- warning: {
12798
- color: "brand.primary",
12799
- name: "errorFilled",
12800
- title: "Notification warning icon"
12801
- }
12802
- };
12803
- return React__default.createElement(Icon, Object.assign({
12804
- id: id + "-notification-icon"
12805
- }, iconProps[notificationType], baseIconProps));
12806
- };
12807
- var dismissibleButton = dismissible && React__default.createElement(Button, {
12808
- "aria-label": "Close the notification",
12809
- buttonType: "text",
12810
- id: id + "-notification-dismissible-button",
12811
- onClick: handleClose,
12812
- __css: styles.dismissibleButton
12813
- }, React__default.createElement(Icon, {
12814
- id: id + "-dismissible-notification-icon",
12815
- name: "close",
12816
- size: "large",
12817
- title: "Notification close icon"
12818
- }));
12819
- var iconElem = iconElement();
12820
- var childHeading = notificationHeading && React__default.createElement(NotificationHeading$1, {
12821
- icon: iconElem,
12822
- id: id,
12823
- isCentered: isCentered,
12824
- notificationType: notificationType
12825
- }, notificationHeading);
12826
- // Specific alignment styles for the content.
12827
- var alignText = !!(childHeading && showIcon && (!!icon || !isCentered));
12828
- var childContent = React__default.createElement(NotificationContent$1, {
12829
- alignText: alignText,
12830
- icon: !childHeading ? iconElem : undefined,
12831
- notificationType: notificationType
12832
- }, notificationContent);
12833
- // If the `Notification` is closed, don't render anything.
12834
- if (!isOpen) {
12835
- return null;
12836
- }
12837
- return React__default.createElement(Box, Object.assign({
12838
- "aria-label": ariaLabel,
12839
- as: "aside",
12840
- className: className,
12841
- "data-type": notificationType,
12842
- id: id,
12843
- ref: ref,
12844
- __css: styles
12845
- }, rest), React__default.createElement(Box, {
12846
- __css: styles.container
12847
- }, childHeading, childContent), dismissibleButton);
12848
- }));
12849
-
12850
13264
  /**
12851
13265
  * The HeaderSitewideAlerts component makes an API request to an NYPL API
12852
13266
  * endpoint to fetch NYPL sitewide alerts. While this component can be used in
@@ -13172,7 +13586,7 @@ var Header$1 = /*#__PURE__*/chakra(function (_ref) {
13172
13586
  }))));
13173
13587
  });
13174
13588
 
13175
- var _excluded$22 = ["backgroundColor", "backgroundImageSrc", "foregroundColor", "heading", "heroType", "imageProps", "locationDetails", "subHeaderText"];
13589
+ var _excluded$23 = ["backgroundColor", "backgroundImageSrc", "foregroundColor", "heading", "heroType", "imageProps", "locationDetails", "subHeaderText"];
13176
13590
  // Only used for internal purposes.
13177
13591
  var heroSecondaryTypes = ["secondary", "secondaryBooksAndMore", "secondaryLocations", "secondaryResearch", "secondaryWhatsOn"];
13178
13592
  var Hero$1 = /*#__PURE__*/chakra( /*#__PURE__*/forwardRef(function (props, ref) {
@@ -13188,7 +13602,7 @@ var Hero$1 = /*#__PURE__*/chakra( /*#__PURE__*/forwardRef(function (props, ref)
13188
13602
  } : _props$imageProps,
13189
13603
  locationDetails = props.locationDetails,
13190
13604
  subHeaderText = props.subHeaderText,
13191
- rest = _objectWithoutPropertiesLoose(props, _excluded$22);
13605
+ rest = _objectWithoutPropertiesLoose(props, _excluded$23);
13192
13606
  var styles = useMultiStyleConfig("Hero", {
13193
13607
  variant: heroType
13194
13608
  });
@@ -13277,7 +13691,7 @@ var Hero$1 = /*#__PURE__*/chakra( /*#__PURE__*/forwardRef(function (props, ref)
13277
13691
  }
13278
13692
  });
13279
13693
 
13280
- var _excluded$23 = ["bodyContent", "closeButtonLabel", "headingText", "id", "isOpen", "onClose"],
13694
+ var _excluded$24 = ["bodyContent", "closeButtonLabel", "headingText", "id", "isOpen", "onClose"],
13281
13695
  _excluded2$6 = ["buttonText", "id", "modalProps"],
13282
13696
  _excluded3$4 = ["bodyContent", "closeButtonLabel", "headingText", "id"];
13283
13697
  var BaseModal = /*#__PURE__*/chakra(function (_ref) {
@@ -13288,7 +13702,7 @@ var BaseModal = /*#__PURE__*/chakra(function (_ref) {
13288
13702
  id = _ref.id,
13289
13703
  isOpen = _ref.isOpen,
13290
13704
  onClose = _ref.onClose,
13291
- rest = _objectWithoutPropertiesLoose(_ref, _excluded$23);
13705
+ rest = _objectWithoutPropertiesLoose(_ref, _excluded$24);
13292
13706
  var xlarge = "xl";
13293
13707
  var fullSize = "full";
13294
13708
  var _useNYPLBreakpoints = useNYPLBreakpoints(),
@@ -13369,7 +13783,7 @@ function useModal() {
13369
13783
  };
13370
13784
  }
13371
13785
 
13372
- var _excluded$24 = ["className", "currentPage", "getPageHref", "id", "initialPage", "onPageChange", "pageCount"];
13786
+ var _excluded$25 = ["className", "currentPage", "getPageHref", "id", "initialPage", "onPageChange", "pageCount"];
13373
13787
  /**
13374
13788
  * A component that provides a navigational list of page items.
13375
13789
  */
@@ -13382,7 +13796,7 @@ var Pagination$1 = /*#__PURE__*/chakra( /*#__PURE__*/forwardRef(function (props,
13382
13796
  initialPage = _props$initialPage === void 0 ? 1 : _props$initialPage,
13383
13797
  onPageChange = props.onPageChange,
13384
13798
  pageCount = props.pageCount,
13385
- rest = _objectWithoutPropertiesLoose(props, _excluded$24);
13799
+ rest = _objectWithoutPropertiesLoose(props, _excluded$25);
13386
13800
  var refCurrentPage = useRef(currentPage);
13387
13801
  var _useState = useState(initialPage),
13388
13802
  selectedPage = _useState[0],
@@ -13572,7 +13986,7 @@ var Pagination$1 = /*#__PURE__*/chakra( /*#__PURE__*/forwardRef(function (props,
13572
13986
  }, previousLiLink, getPaginationNumbers(selectedPage), nextLiLink));
13573
13987
  }));
13574
13988
 
13575
- var _excluded$25 = ["darkMode", "id", "indicatorType", "isIndeterminate", "labelText", "showLabel", "size", "value"];
13989
+ var _excluded$26 = ["darkMode", "id", "indicatorType", "isIndeterminate", "labelText", "showLabel", "size", "value"];
13576
13990
  /**
13577
13991
  * A component that displays a progress status for any task that takes a long
13578
13992
  * time to complete or consists of multiple steps. Examples include downloading,
@@ -13593,7 +14007,7 @@ var ProgressIndicator$1 = /*#__PURE__*/chakra( /*#__PURE__*/forwardRef(function
13593
14007
  size = _props$size === void 0 ? "default" : _props$size,
13594
14008
  _props$value = props.value,
13595
14009
  value = _props$value === void 0 ? 0 : _props$value,
13596
- rest = _objectWithoutPropertiesLoose(props, _excluded$25);
14010
+ rest = _objectWithoutPropertiesLoose(props, _excluded$26);
13597
14011
  var styles = useMultiStyleConfig("ProgressIndicator", {
13598
14012
  darkMode: darkMode,
13599
14013
  size: size
@@ -13652,7 +14066,7 @@ var ProgressIndicator$1 = /*#__PURE__*/chakra( /*#__PURE__*/forwardRef(function
13652
14066
  }, rest), progressComponent(indicatorType));
13653
14067
  }));
13654
14068
 
13655
- var _excluded$26 = ["children", "className", "helperText", "id", "invalidText", "isDisabled", "isInvalid", "isRequired", "labelPosition", "labelText", "name", "onChange", "placeholder", "selectType", "showHelperInvalidText", "showLabel", "showRequiredLabel", "value"];
14069
+ var _excluded$27 = ["children", "className", "helperText", "id", "invalidText", "isDisabled", "isInvalid", "isRequired", "labelPosition", "labelText", "name", "onChange", "placeholder", "selectType", "showHelperInvalidText", "showLabel", "showRequiredLabel", "value"];
13656
14070
  /**
13657
14071
  * Component that renders Chakra's `Select` component along with an accessible
13658
14072
  * `Label` and optional `HelperErrorText` component.
@@ -13685,7 +14099,7 @@ var Select$1 = /*#__PURE__*/chakra( /*#__PURE__*/forwardRef(function (props, ref
13685
14099
  showRequiredLabel = _props$showRequiredLa === void 0 ? true : _props$showRequiredLa,
13686
14100
  _props$value = props.value,
13687
14101
  value = _props$value === void 0 ? "" : _props$value,
13688
- rest = _objectWithoutPropertiesLoose(props, _excluded$26);
14102
+ rest = _objectWithoutPropertiesLoose(props, _excluded$27);
13689
14103
  var _useState = useState(0),
13690
14104
  labelWidth = _useState[0],
13691
14105
  setLabelWidth = _useState[1];
@@ -13767,7 +14181,7 @@ var Select$1 = /*#__PURE__*/chakra( /*#__PURE__*/forwardRef(function (props, ref
13767
14181
  }), children)));
13768
14182
  }));
13769
14183
 
13770
- var _excluded$27 = ["action", "buttonOnClick", "className", "descriptionText", "headingText", "helperText", "id", "invalidText", "isDisabled", "isInvalid", "isRequired", "labelText", "method", "noBrandButtonType", "onSubmit", "selectProps", "textInputElement", "textInputProps"];
14184
+ var _excluded$28 = ["action", "buttonOnClick", "className", "descriptionText", "headingText", "helperText", "id", "invalidText", "isDisabled", "isInvalid", "isRequired", "labelText", "method", "noBrandButtonType", "onSubmit", "selectProps", "textInputElement", "textInputProps"];
13771
14185
  /**
13772
14186
  * Renders a wrapper `form` element to be used with `Select` (optional),
13773
14187
  * `Input`, and `Button` components together.
@@ -13795,7 +14209,7 @@ var SearchBar$1 = /*#__PURE__*/chakra( /*#__PURE__*/forwardRef(function (props,
13795
14209
  selectProps = props.selectProps,
13796
14210
  textInputElement = props.textInputElement,
13797
14211
  textInputProps = props.textInputProps,
13798
- rest = _objectWithoutPropertiesLoose(props, _excluded$27);
14212
+ rest = _objectWithoutPropertiesLoose(props, _excluded$28);
13799
14213
  var styles = useMultiStyleConfig("SearchBar", {});
13800
14214
  var stateProps = {
13801
14215
  helperText: "",
@@ -13887,7 +14301,7 @@ var SearchBar$1 = /*#__PURE__*/chakra( /*#__PURE__*/forwardRef(function (props,
13887
14301
  }, selectElem, textInputElem, buttonElem));
13888
14302
  }));
13889
14303
 
13890
- var _excluded$28 = ["className", "contentSize", "headingSize", "imageAspectRatio", "isBordered", "layout", "showButton", "showContent", "showHeading", "showImage", "width"];
14304
+ var _excluded$29 = ["className", "contentSize", "headingSize", "imageAspectRatio", "isBordered", "layout", "showButton", "showContent", "showHeading", "showImage", "width"];
13891
14305
  /**
13892
14306
  * The `SkeletonLoader` component renders a placeholder to be used while
13893
14307
  * dynamic content is loading.
@@ -13913,7 +14327,7 @@ var SkeletonLoader$1 = /*#__PURE__*/chakra( /*#__PURE__*/forwardRef(function (pr
13913
14327
  _props$showImage = props.showImage,
13914
14328
  showImage = _props$showImage === void 0 ? true : _props$showImage,
13915
14329
  width = props.width,
13916
- rest = _objectWithoutPropertiesLoose(props, _excluded$28);
14330
+ rest = _objectWithoutPropertiesLoose(props, _excluded$29);
13917
14331
  var styles = useMultiStyleConfig("SkeletonLoader", {
13918
14332
  isBordered: isBordered,
13919
14333
  imageAspectRatio: imageAspectRatio,
@@ -13971,7 +14385,7 @@ var SkeletonLoader$1 = /*#__PURE__*/chakra( /*#__PURE__*/forwardRef(function (pr
13971
14385
  })))));
13972
14386
  }));
13973
14387
 
13974
- var _excluded$29 = ["className", "defaultValue", "helperText", "id", "invalidText", "isDisabled", "isInvalid", "isRangeSlider", "isRequired", "labelText", "max", "min", "name", "onChange", "showBoxes", "showHelperInvalidText", "showLabel", "showRequiredLabel", "showValues", "step", "value"];
14388
+ var _excluded$2a = ["className", "defaultValue", "helperText", "id", "invalidText", "isDisabled", "isInvalid", "isRangeSlider", "isRequired", "labelText", "max", "min", "name", "onChange", "showBoxes", "showHelperInvalidText", "showLabel", "showRequiredLabel", "showValues", "step", "value"];
13975
14389
  /**
13976
14390
  * The `Slider` component renders a singular value slider or a range slider
13977
14391
  * with a min and max value. The value(s) can be updated through the slider
@@ -14012,7 +14426,7 @@ var Slider = /*#__PURE__*/chakra( /*#__PURE__*/forwardRef(function (props, ref)
14012
14426
  _props$step = props.step,
14013
14427
  step = _props$step === void 0 ? 1 : _props$step,
14014
14428
  value = props.value,
14015
- rest = _objectWithoutPropertiesLoose(props, _excluded$29);
14429
+ rest = _objectWithoutPropertiesLoose(props, _excluded$2a);
14016
14430
  if (!id) {
14017
14431
  console.warn("NYPL Reservoir Slider: This component's required `id` prop was not passed.");
14018
14432
  }
@@ -14203,7 +14617,7 @@ var Slider = /*#__PURE__*/chakra( /*#__PURE__*/forwardRef(function (props, ref)
14203
14617
  }, max), showBoxes && getTextInput("end")));
14204
14618
  }));
14205
14619
 
14206
- var _excluded$2a = ["children", "className", "id", "level"];
14620
+ var _excluded$2b = ["children", "className", "id", "level"];
14207
14621
  /**
14208
14622
  * The `StatusBadge` component is used to display a visual badge for three
14209
14623
  * different status levels.
@@ -14214,7 +14628,7 @@ var StatusBadge$1 = /*#__PURE__*/chakra( /*#__PURE__*/forwardRef(function (props
14214
14628
  id = props.id,
14215
14629
  _props$level = props.level,
14216
14630
  level = _props$level === void 0 ? "low" : _props$level,
14217
- rest = _objectWithoutPropertiesLoose(props, _excluded$2a);
14631
+ rest = _objectWithoutPropertiesLoose(props, _excluded$2b);
14218
14632
  var styles = useStyleConfig("StatusBadge", {
14219
14633
  variant: level
14220
14634
  });
@@ -14229,7 +14643,7 @@ var StatusBadge$1 = /*#__PURE__*/chakra( /*#__PURE__*/forwardRef(function (props
14229
14643
  }, rest), children);
14230
14644
  }));
14231
14645
 
14232
- var _excluded$2b = ["calloutText", "className", "headingText", "id", "imageProps", "bodyContent"];
14646
+ var _excluded$2c = ["calloutText", "className", "headingText", "id", "imageProps", "bodyContent"];
14233
14647
  /**
14234
14648
  * Internal component used in the `StructuredContent` component
14235
14649
  * that renders the DS `Image` component.
@@ -14279,7 +14693,7 @@ var StructuredContent$1 = /*#__PURE__*/chakra( /*#__PURE__*/forwardRef(function
14279
14693
  src: ""
14280
14694
  } : _props$imageProps,
14281
14695
  bodyContent = props.bodyContent,
14282
- rest = _objectWithoutPropertiesLoose(props, _excluded$2b);
14696
+ rest = _objectWithoutPropertiesLoose(props, _excluded$2c);
14283
14697
  var hasImage = imageProps.src || imageProps.component;
14284
14698
  var hasFigureImage = imageProps.caption || imageProps.credit;
14285
14699
  var styles = useMultiStyleConfig("StructuredContent", {
@@ -14412,7 +14826,7 @@ var useCarouselStyles = function useCarouselStyles(slidesCount, slideWidth) {
14412
14826
  };
14413
14827
  };
14414
14828
 
14415
- var _excluded$2c = ["children", "defaultIndex", "id", "onChange", "tabsData", "useHash"];
14829
+ var _excluded$2d = ["children", "defaultIndex", "id", "onChange", "tabsData", "useHash"];
14416
14830
  /**
14417
14831
  * An internal function used to update the hash in the URL.
14418
14832
  * This function is only used when `useHash` is `true`.
@@ -14514,7 +14928,7 @@ var Tabs = /*#__PURE__*/chakra( /*#__PURE__*/forwardRef(function (props, ref) {
14514
14928
  tabsData = props.tabsData,
14515
14929
  _props$useHash = props.useHash,
14516
14930
  useHash = _props$useHash === void 0 ? false : _props$useHash,
14517
- rest = _objectWithoutPropertiesLoose(props, _excluded$2c);
14931
+ rest = _objectWithoutPropertiesLoose(props, _excluded$2d);
14518
14932
  var styles = useMultiStyleConfig("Tabs", {});
14519
14933
  // Just an estimate of the tab width for the mobile carousel.
14520
14934
  var initTabWidth = 65;
@@ -14594,13 +15008,13 @@ var Tabs = /*#__PURE__*/chakra( /*#__PURE__*/forwardRef(function (props, ref) {
14594
15008
  }, React__default.createElement(Box, Object.assign({}, carouselStyle), tabs)), nextButton), panels);
14595
15009
  }));
14596
15010
 
14597
- var _excluded$2d = ["children", "className", "content", "id", "isDisabled", "shouldWrapChildren"];
15011
+ var _excluded$2e = ["children", "className", "content", "id", "isDisabled", "shouldWrapChildren"];
14598
15012
  var Tooltip$1 = /*#__PURE__*/chakra( /*#__PURE__*/forwardRef(function (props, ref) {
14599
15013
  var children = props.children,
14600
15014
  content = props.content,
14601
15015
  isDisabled = props.isDisabled,
14602
15016
  shouldWrapChildren = props.shouldWrapChildren,
14603
- rest = _objectWithoutPropertiesLoose(props, _excluded$2d);
15017
+ rest = _objectWithoutPropertiesLoose(props, _excluded$2e);
14604
15018
  if (typeof content !== "string" && typeof content !== "number") {
14605
15019
  React__default.Children.map(content, function (contentChild) {
14606
15020
  if (contentChild.type !== Icon || contentChild.type !== Image) {
@@ -14725,7 +15139,7 @@ var TagSetFilter$1 = /*#__PURE__*/chakra(function (props) {
14725
15139
  }, "Clear Filters") : null);
14726
15140
  });
14727
15141
 
14728
- var _excluded$2e = ["className", "id", "isDismissible", "onClick", "tagSetData", "type"];
15142
+ var _excluded$2f = ["className", "id", "isDismissible", "onClick", "tagSetData", "type"];
14729
15143
  // Type guard so we can make sure we have a "filter" `TagSet` variant.
14730
15144
  function isFilterType(type) {
14731
15145
  return type === "filter";
@@ -14769,7 +15183,7 @@ var TagSet$1 = /*#__PURE__*/chakra( /*#__PURE__*/forwardRef(function (props, ref
14769
15183
  tagSetData = _props$tagSetData === void 0 ? [] : _props$tagSetData,
14770
15184
  _props$type = props.type,
14771
15185
  type = _props$type === void 0 ? "filter" : _props$type,
14772
- rest = _objectWithoutPropertiesLoose(props, _excluded$2e);
15186
+ rest = _objectWithoutPropertiesLoose(props, _excluded$2f);
14773
15187
  var styles = useStyleConfig("TagSet", {});
14774
15188
  if (!isFilterType(type)) {
14775
15189
  if (isDismissible) {
@@ -14797,7 +15211,7 @@ var TagSet$1 = /*#__PURE__*/chakra( /*#__PURE__*/forwardRef(function (props, ref
14797
15211
  }));
14798
15212
  }));
14799
15213
 
14800
- var _excluded$2f = ["aboveHeader", "breakout", "contentId", "contentBottom", "contentPrimary", "contentSidebar", "contentTop", "footer", "header", "sidebar", "renderFooterElement", "renderHeaderElement", "renderSkipNavigation"];
15214
+ var _excluded$2g = ["aboveHeader", "breakout", "contentId", "contentBottom", "contentPrimary", "contentSidebar", "contentTop", "footer", "header", "sidebar", "renderFooterElement", "renderHeaderElement", "renderSkipNavigation"];
14801
15215
  /**
14802
15216
  * The main top-level parent component that wraps all template-related
14803
15217
  * components.
@@ -15020,7 +15434,7 @@ var TemplateAppContainer = /*#__PURE__*/chakra( /*#__PURE__*/forwardRef(function
15020
15434
  renderHeaderElement = _props$renderHeaderEl === void 0 ? true : _props$renderHeaderEl,
15021
15435
  _props$renderSkipNavi = props.renderSkipNavigation,
15022
15436
  renderSkipNavigation = _props$renderSkipNavi === void 0 ? false : _props$renderSkipNavi,
15023
- rest = _objectWithoutPropertiesLoose(props, _excluded$2f);
15437
+ rest = _objectWithoutPropertiesLoose(props, _excluded$2g);
15024
15438
  var aboveHeaderElem = aboveHeader && React__default.createElement(TemplateAboveHeader, null, aboveHeader);
15025
15439
  var contentTopElem = contentTop && React__default.createElement(TemplateContentTop, null, contentTop);
15026
15440
  var contentPrimaryElem = contentPrimary && React__default.createElement(TemplateContentPrimary$1, null, contentPrimary);
@@ -15038,7 +15452,7 @@ var TemplateAppContainer = /*#__PURE__*/chakra( /*#__PURE__*/forwardRef(function
15038
15452
  }, footer)));
15039
15453
  }));
15040
15454
 
15041
- var _excluded$2g = ["defaultChecked", "helperText", "id", "invalidText", "isChecked", "isDisabled", "isInvalid", "isRequired", "labelText", "name", "onChange", "size"];
15455
+ var _excluded$2h = ["defaultChecked", "helperText", "id", "invalidText", "isChecked", "isDisabled", "isInvalid", "isRequired", "labelText", "name", "onChange", "size"];
15042
15456
  var onChangeDefault = function onChangeDefault() {
15043
15457
  return;
15044
15458
  };
@@ -15064,7 +15478,7 @@ var Toggle$2 = /*#__PURE__*/chakra( /*#__PURE__*/forwardRef(function (props, ref
15064
15478
  onChange = _props$onChange === void 0 ? onChangeDefault : _props$onChange,
15065
15479
  _props$size = props.size,
15066
15480
  size = _props$size === void 0 ? "default" : _props$size,
15067
- rest = _objectWithoutPropertiesLoose(props, _excluded$2g);
15481
+ rest = _objectWithoutPropertiesLoose(props, _excluded$2h);
15068
15482
  var styles = useMultiStyleConfig("Toggle", {
15069
15483
  isDisabled: isDisabled,
15070
15484
  size: size
@@ -15200,7 +15614,7 @@ function useNYPLTheme() {
15200
15614
  };
15201
15615
  }
15202
15616
 
15203
- var _excluded$2h = ["aspectRatio", "className", "descriptionText", "embedCode", "headingText", "helperText", "id", "iframeTitle", "showHelperInvalidText", "videoId", "videoType"];
15617
+ var _excluded$2i = ["aspectRatio", "className", "descriptionText", "embedCode", "headingText", "helperText", "id", "iframeTitle", "showHelperInvalidText", "videoId", "videoType"];
15204
15618
  var VideoPlayer$1 = /*#__PURE__*/chakra( /*#__PURE__*/forwardRef(function (props, ref) {
15205
15619
  var aspectRatio = props.aspectRatio,
15206
15620
  className = props.className,
@@ -15214,7 +15628,7 @@ var VideoPlayer$1 = /*#__PURE__*/chakra( /*#__PURE__*/forwardRef(function (props
15214
15628
  showHelperInvalidText = _props$showHelperInva === void 0 ? true : _props$showHelperInva,
15215
15629
  videoId = props.videoId,
15216
15630
  videoType = props.videoType,
15217
- rest = _objectWithoutPropertiesLoose(props, _excluded$2h);
15631
+ rest = _objectWithoutPropertiesLoose(props, _excluded$2i);
15218
15632
  var iframeTitleFinal = videoType === "vimeo" ? iframeTitle || "Vimeo video player" : iframeTitle || "YouTube video player";
15219
15633
  var videoSrc = videoType === "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";
15220
15634
  var iFrameTitleEmbedCode = iframeTitle ? "" + iframeTitle : "Video player";
@@ -15279,5 +15693,5 @@ var VideoPlayer$1 = /*#__PURE__*/chakra( /*#__PURE__*/forwardRef(function (props
15279
15693
  }, embedElement)));
15280
15694
  }));
15281
15695
 
15282
- export { Accordion, AlphabetFilter, AudioPlayer, Breadcrumbs, Button, ButtonGroup, Card, CardActions, CardContent, CardHeading, Checkbox, CheckboxGroup, ColorCard, DSProvider, DatePicker, Fieldset, Footer$1 as Footer, Form, FormField, FormRow, Header$1 as Header, Heading, HelperErrorText, Hero$1 as Hero, HorizontalRule$1 as HorizontalRule, Icon, Image, Label, Link, List$1 as List, Logo$1 as Logo, ModalTrigger, Notification$1 as Notification, Pagination$1 as Pagination, ProgressIndicator$1 as ProgressIndicator, Radio$1 as Radio, RadioGroup$1 as RadioGroup, SearchBar$1 as SearchBar, Select$1 as Select, SimpleGrid, SkeletonLoader$1 as SkeletonLoader, SkipNavigation$1 as SkipNavigation, Slider, StatusBadge$1 as StatusBadge, StructuredContent$1 as StructuredContent, StyledList$1 as StyledList, Table, Tabs, TagSet$1 as TagSet, Template$1 as Template, TemplateAboveHeader, TemplateAppContainer, TemplateBreakout$1 as TemplateBreakout, TemplateContent$1 as TemplateContent, TemplateContentPrimary$1 as TemplateContentPrimary, TemplateContentSidebar$1 as TemplateContentSidebar, TemplateContentTop, TemplateFooter, TemplateHeader, Text, TextInput, Toggle$2 as Toggle, Tooltip$1 as Tooltip, VideoPlayer$1 as VideoPlayer, useCarouselStyles, useModal, useNYPLBreakpoints, useNYPLTheme, useWindowSize };
15696
+ export { Accordion, AlphabetFilter, AudioPlayer, Breadcrumbs, Button, ButtonGroup, Card, CardActions, CardContent, CardHeading, Checkbox, CheckboxGroup, ColorCard, DSProvider, DatePicker, FeedbackBox$1 as FeedbackBox, Fieldset, Footer$1 as Footer, Form, FormField, FormRow, Header$1 as Header, Heading, HelperErrorText, Hero$1 as Hero, HorizontalRule$1 as HorizontalRule, Icon, Image, Label, Link, List$1 as List, Logo$1 as Logo, ModalTrigger, Notification$1 as Notification, Pagination$1 as Pagination, ProgressIndicator$1 as ProgressIndicator, Radio$1 as Radio, RadioGroup$1 as RadioGroup, SearchBar$1 as SearchBar, Select$1 as Select, SimpleGrid, SkeletonLoader$1 as SkeletonLoader, SkipNavigation$1 as SkipNavigation, Slider, StatusBadge$1 as StatusBadge, StructuredContent$1 as StructuredContent, StyledList$1 as StyledList, Table, Tabs, TagSet$1 as TagSet, Template$1 as Template, TemplateAboveHeader, TemplateAppContainer, TemplateBreakout$1 as TemplateBreakout, TemplateContent$1 as TemplateContent, TemplateContentPrimary$1 as TemplateContentPrimary, TemplateContentSidebar$1 as TemplateContentSidebar, TemplateContentTop, TemplateFooter, TemplateHeader, Text, TextInput, Toggle$2 as Toggle, Tooltip$1 as Tooltip, VideoPlayer$1 as VideoPlayer, useCarouselStyles, useFeedbackBox, useModal, useNYPLBreakpoints, useNYPLTheme, useWindowSize };
15283
15697
  //# sourceMappingURL=design-system-react-components.esm.js.map