@nypl/design-system-react-components 1.3.1 → 1.4.0-rc2

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.
Files changed (30) hide show
  1. package/dist/components/FilterBar/FilterBar.d.ts +111 -0
  2. package/dist/components/FilterBar/FilterBar.stories.d.ts +7 -0
  3. package/dist/components/HelperErrorText/HelperErrorText.d.ts +6 -6
  4. package/dist/components/MultiSelect/MultiSelect.d.ts +78 -0
  5. package/dist/components/MultiSelect/MultiSelect.stories.d.ts +4 -0
  6. package/dist/components/MultiSelect/MultiSelectDialog.d.ts +8 -0
  7. package/dist/components/MultiSelect/MultiSelectListbox.d.ts +9 -0
  8. package/dist/components/MultiSelect/MultiSelectMenuButton.d.ts +27 -0
  9. package/dist/components/MultiSelectGroup/MultiSelectGroup.d.ts +26 -0
  10. package/dist/components/MultiSelectGroup/MultiSelectGroup.stories.d.ts +4 -0
  11. package/dist/components/Slider/Slider.d.ts +2 -0
  12. package/dist/design-system-react-components.cjs.development.js +1424 -306
  13. package/dist/design-system-react-components.cjs.development.js.map +1 -1
  14. package/dist/design-system-react-components.cjs.production.min.js +1 -1
  15. package/dist/design-system-react-components.cjs.production.min.js.map +1 -1
  16. package/dist/design-system-react-components.esm.js +1421 -308
  17. package/dist/design-system-react-components.esm.js.map +1 -1
  18. package/dist/hooks/__tests__/useFilterBar.test.d.ts +1 -0
  19. package/dist/hooks/__tests__/useMultiSelect.test.d.ts +1 -0
  20. package/dist/hooks/useFilterBar.d.ts +21 -0
  21. package/dist/hooks/useMultiSelect.d.ts +15 -0
  22. package/dist/index.d.ts +5 -0
  23. package/dist/theme/components/feedbackBox.d.ts +6 -0
  24. package/dist/theme/components/filterBar.d.ts +30 -0
  25. package/dist/theme/components/link.d.ts +22 -0
  26. package/dist/theme/components/multiSelect.d.ts +29 -0
  27. package/dist/theme/components/multiSelectMenuButton.d.ts +72 -0
  28. package/dist/utils/utils.d.ts +4 -0
  29. package/package.json +1 -1
  30. package/CHANGELOG.md +0 -1738
@@ -1,4 +1,4 @@
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';
1
+ import { chakra, useStyleConfig, Icon as Icon$2, Box, Accordion as Accordion$2, AccordionPanel, AccordionItem, AccordionButton, Button as Button$2, useMultiStyleConfig, Heading as Heading$2, Text as Text$2, 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, DrawerBody, VStack, keyframes as keyframes$1, UnorderedList, ListItem, Modal, ModalOverlay, ModalContent, ModalHeader, ModalCloseButton, ModalBody, ModalFooter, useOutsideClick, Spacer, 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
3
  import React__default, { createElement, forwardRef, useRef, useState, useEffect, Fragment, useReducer, useContext } from 'react';
4
4
  import useNativeLazyLoading from '@charlietango/use-native-lazy-loading';
@@ -6,6 +6,7 @@ import { useInView } from 'react-intersection-observer';
6
6
  import ReactDatePicker from 'react-datepicker';
7
7
  import { createBreakpoints, cssVar } from '@chakra-ui/theme-tools';
8
8
  import { keyframes } from '@chakra-ui/system';
9
+ import { useSelect } from 'downshift';
9
10
  import FocusLock from '@chakra-ui/focus-lock';
10
11
  import Cookies from 'js-cookie';
11
12
  import ReactGA from 'react-ga';
@@ -36,6 +37,13 @@ function _objectWithoutPropertiesLoose(source, excluded) {
36
37
  }
37
38
  return target;
38
39
  }
40
+ function _taggedTemplateLiteralLoose(strings, raw) {
41
+ if (!raw) {
42
+ raw = strings.slice(0);
43
+ }
44
+ strings.raw = raw;
45
+ return strings;
46
+ }
39
47
 
40
48
  var _path, _path2, _path3;
41
49
  var _excluded = ["title", "titleId"];
@@ -1596,16 +1604,20 @@ function getWithDirectionIcon(children, type, linkId) {
1596
1604
  });
1597
1605
  return React__default.createElement(React__default.Fragment, null, type === "backwards" && icon, children, type === "forwards" && icon);
1598
1606
  }
1599
- function getExternalIcon(children, linkId) {
1607
+ function getExternalExtraElements(children, linkId, styles) {
1600
1608
  var iconId = linkId + "-icon";
1601
- var icon = React__default.createElement(Icon, {
1609
+ var extraElements = React__default.createElement(React__default.Fragment, null, React__default.createElement(Box, {
1610
+ as: "span",
1611
+ __css: styles
1612
+ }, "This link opens in a new window"), React__default.createElement(Icon, {
1602
1613
  align: "right",
1603
1614
  className: "more-link",
1604
1615
  id: iconId,
1605
1616
  name: "actionLaunch",
1606
- size: "medium"
1607
- });
1608
- return React__default.createElement(React__default.Fragment, null, children, icon);
1617
+ size: "medium",
1618
+ title: "External link"
1619
+ }));
1620
+ return React__default.createElement(React__default.Fragment, null, children, extraElements);
1609
1621
  }
1610
1622
  /**
1611
1623
  * A component that uses an `href` prop or a child anchor element, to create
@@ -1634,12 +1646,16 @@ var Link = /*#__PURE__*/chakra( /*#__PURE__*/forwardRef(function (props, ref) {
1634
1646
  if (type === "action" || type === "forwards" || type === "backwards" || type === "external") {
1635
1647
  variant = "moreLink";
1636
1648
  } else if (type.includes("button")) {
1637
- if (type === "button") {
1638
- console.warn("NYPL Reservoir Link: The \"button\" type is deprecated. Instead, use either \"buttonPrimary\", \"buttonSecondary\", \"buttonPill\", \"buttonCallout\", \"buttonNoBrand\", or \"buttonDisabled\".");
1639
- }
1649
+ /** This deprecation warning is temporarily being removed, but it will be
1650
+ * reinstated once teams are able to update their `Link`s appropriately. */
1651
+ // if (type === "button") {
1652
+ // console.warn(
1653
+ // `NYPL Reservoir Link: The "button" type is deprecated. Instead, use either "buttonPrimary", "buttonSecondary", "buttonPill", "buttonCallout", "buttonNoBrand", or "buttonDisabled".`
1654
+ // );
1655
+ // }
1640
1656
  variant = type;
1641
1657
  }
1642
- var style = useStyleConfig("Link", {
1658
+ var styles = useMultiStyleConfig("Link", {
1643
1659
  variant: variant
1644
1660
  });
1645
1661
  var rel = type === "external" ? "nofollow" : null;
@@ -1647,7 +1663,7 @@ var Link = /*#__PURE__*/chakra( /*#__PURE__*/forwardRef(function (props, ref) {
1647
1663
  // Render with specific direction arrows if the type is
1648
1664
  // "forwards" or "backwards". Or render with the launch icon
1649
1665
  // if the type is "external". Otherwise, do not add an icon.
1650
- var newChildren = (type === "forwards" || type === "backwards") && getWithDirectionIcon(children, type, id) || type === "external" && getExternalIcon(children, id) || children;
1666
+ var newChildren = (type === "forwards" || type === "backwards") && getWithDirectionIcon(children, type, id) || type === "external" && getExternalExtraElements(children, id, styles.srOnly) || children;
1651
1667
  if (!href) {
1652
1668
  // React Types error makes this fail:
1653
1669
  // https://github.com/DefinitelyTyped/DefinitelyTyped/issues/32832
@@ -1659,7 +1675,7 @@ var Link = /*#__PURE__*/chakra( /*#__PURE__*/forwardRef(function (props, ref) {
1659
1675
  var childProps = childrenToClone.props;
1660
1676
  return React__default.createElement(Box, Object.assign({
1661
1677
  as: "span",
1662
- __css: style
1678
+ __css: styles
1663
1679
  }, rest), React__default.cloneElement(childrenToClone, _extends({
1664
1680
  className: className
1665
1681
  }, linkProps, childProps, {
@@ -1676,7 +1692,7 @@ var Link = /*#__PURE__*/chakra( /*#__PURE__*/forwardRef(function (props, ref) {
1676
1692
  onClick: onClick,
1677
1693
  target: target
1678
1694
  }, linkProps, {
1679
- __css: style
1695
+ __css: styles
1680
1696
  }), newChildren);
1681
1697
  }
1682
1698
  }));
@@ -1775,13 +1791,12 @@ var HelperErrorText = /*#__PURE__*/chakra( /*#__PURE__*/forwardRef(function (_re
1775
1791
  text = _ref.text,
1776
1792
  rest = _objectWithoutPropertiesLoose(_ref, _excluded$V);
1777
1793
  // Only announce the text in the invalid state.
1778
- var announceAriaLive = isInvalid;
1779
1794
  var styles = useStyleConfig("HelperErrorText", {
1780
1795
  isInvalid: isInvalid
1781
1796
  });
1782
1797
  var props = _extends({
1783
1798
  "aria-atomic": ariaAtomic,
1784
- "aria-live": announceAriaLive ? ariaLive : "off",
1799
+ "aria-live": ariaLive === "off" ? undefined : ariaLive,
1785
1800
  className: className,
1786
1801
  "data-isinvalid": isInvalid,
1787
1802
  id: id,
@@ -2262,19 +2277,22 @@ var ButtonGroup = /*#__PURE__*/chakra( /*#__PURE__*/forwardRef(function (props,
2262
2277
  buttonWidth: finalButtonWidth
2263
2278
  });
2264
2279
  React__default.Children.map(children, function (child, key) {
2265
- if ((child == null ? void 0 : child.type) !== Button) {
2266
- // Special case for Storybook MDX documentation.
2267
- if (child != null && child.props.mdxType && (child == null ? void 0 : child.props.mdxType) === "Button") ; else {
2268
- console.warn("NYPL Reservoir ButtonGroup: Only Button components can be children of ButtonGroup.");
2269
- return;
2280
+ if (React__default.isValidElement(child)) {
2281
+ if (child.type !== Button) {
2282
+ // Special case for Storybook MDX documentation.
2283
+ // @ts-ignore
2284
+ if (child.props.mdxType && child.props.mdxType === "Button") ; else {
2285
+ console.warn("NYPL Reservoir ButtonGroup: Only Button components can be children of ButtonGroup.");
2286
+ return;
2287
+ }
2270
2288
  }
2289
+ var disabledProps = isDisabled ? {
2290
+ isDisabled: isDisabled
2291
+ } : {};
2292
+ newChildren.push(React__default.cloneElement(child, _extends({
2293
+ key: key
2294
+ }, disabledProps)));
2271
2295
  }
2272
- var disabledProps = isDisabled ? {
2273
- isDisabled: isDisabled
2274
- } : {};
2275
- child && newChildren.push(React__default.cloneElement(child, _extends({
2276
- key: key
2277
- }, disabledProps)));
2278
2296
  });
2279
2297
  return React__default.createElement(Stack, Object.assign({
2280
2298
  className: className,
@@ -3020,8 +3038,7 @@ var CheckboxGroup = /*#__PURE__*/chakra( /*#__PURE__*/forwardRef(function (props
3020
3038
  "data-testid": "checkbox-group",
3021
3039
  direction: [layout],
3022
3040
  spacing: spacingProp,
3023
- ref: ref,
3024
- "aria-label": !showLabel ? labelText : undefined
3041
+ ref: ref
3025
3042
  }, newChildren)), footnote && showHelperInvalidText && React__default.createElement(HelperErrorText, {
3026
3043
  id: id + "-helperErrorText",
3027
3044
  isInvalid: isInvalid,
@@ -3624,12 +3641,18 @@ var TextInput = /*#__PURE__*/chakra( /*#__PURE__*/forwardRef(function (props, re
3624
3641
  });
3625
3642
  var isTextArea = type === "textarea";
3626
3643
  var isHidden = type === "hidden";
3644
+ var hasAutocomplete = false;
3627
3645
  var finalInvalidText = invalidText ? invalidText : "There is an error related to this field.";
3628
3646
  var internalOnChange = function internalOnChange(e) {
3629
3647
  setFinalValue(e.target.value);
3630
3648
  onChange && onChange(e);
3631
3649
  };
3632
3650
  var footnote = isInvalid ? finalInvalidText : helperText;
3651
+ if (type === "tel" || type === "url" || type === "email") {
3652
+ hasAutocomplete = true;
3653
+ var example = TextInputFormats[type] || "";
3654
+ footnote = React__default.createElement(React__default.Fragment, null, "Ex: ", example, React__default.createElement("br", null), footnote);
3655
+ }
3633
3656
  var ariaAttributes = getAriaAttrs({
3634
3657
  footnote: footnote,
3635
3658
  id: id,
@@ -3659,10 +3682,6 @@ var TextInput = /*#__PURE__*/chakra( /*#__PURE__*/forwardRef(function (props, re
3659
3682
  finalIsInvalid = true;
3660
3683
  console.warn("NYPL Reservoir TextInput: The `min` prop is greater than the `max` prop.");
3661
3684
  }
3662
- if (type === "tel" || type === "url" || type === "email") {
3663
- var example = TextInputFormats[type] || "";
3664
- footnote = React__default.createElement(React__default.Fragment, null, "Ex: ", example, React__default.createElement("br", null), footnote);
3665
- }
3666
3685
  // When the type is "hidden", the input element needs fewer attributes.
3667
3686
  options = isHidden ? {
3668
3687
  defaultValue: defaultValue,
@@ -3673,6 +3692,7 @@ var TextInput = /*#__PURE__*/chakra( /*#__PURE__*/forwardRef(function (props, re
3673
3692
  ref: finalRef
3674
3693
  } : _extends({
3675
3694
  "aria-required": isRequired,
3695
+ autocomplete: hasAutocomplete ? type : null,
3676
3696
  defaultValue: defaultValue,
3677
3697
  id: id,
3678
3698
  isDisabled: isDisabled,
@@ -4262,9 +4282,9 @@ var breakpoints = /*#__PURE__*/createBreakpoints({
4262
4282
  var black = "#000";
4263
4283
  var white = "#fff";
4264
4284
  var grayDark = "#616161";
4265
- var grayxxxxDark = "#121212";
4266
- var grayxxxDark = "#191919";
4267
- var grayxxDark = "#212121";
4285
+ var grayxxxxDark = "#191919";
4286
+ var grayxxxDark = "#252525";
4287
+ var grayxxDark = "#2E2E2E";
4268
4288
  var grayxDark = "#424242";
4269
4289
  var grayMedium = "#BDBDBD";
4270
4290
  var grayLightCool = "#E9E9E9";
@@ -4356,26 +4376,26 @@ var colors = {
4356
4376
  secondary: grayxxDark
4357
4377
  },
4358
4378
  error: {
4359
- primary: "#E1454C",
4360
- secondary: "#F67C82"
4379
+ primary: "#E1767B",
4380
+ secondary: "#F08F93"
4361
4381
  },
4362
- focus: "#5181D4",
4382
+ focus: "#6090E3",
4363
4383
  link: {
4364
- primary: "#2085D8",
4365
- secondary: "#50A0E1"
4384
+ primary: "#79B7EB",
4385
+ secondary: "#95CFFF"
4366
4386
  },
4367
4387
  status: {
4368
- primary: "#6F6544",
4369
- secondary: "#6F6765"
4388
+ primary: "#B69C46",
4389
+ secondary: "#CB8E7C"
4370
4390
  },
4371
4391
  success: {
4372
- primary: "#0E3B15",
4373
- secondary: "#0F2912"
4392
+ primary: "#52AA60",
4393
+ secondary: "#81C88A"
4374
4394
  },
4375
4395
  test: "#592B22",
4376
4396
  warning: {
4377
- primary: "#493320",
4378
- secondary: "#482C15"
4397
+ primary: "#DC8034",
4398
+ secondary: "#F1A66A"
4379
4399
  },
4380
4400
  // Semantic colors
4381
4401
  bg: {
@@ -4939,7 +4959,7 @@ var text = function text(_ref4) {
4939
4959
  bg: "transparent"
4940
4960
  },
4941
4961
  _hover: {
4942
- bg: "transparent",
4962
+ bg: "ui.link.primary-05",
4943
4963
  color: "ui.link.secondary"
4944
4964
  }
4945
4965
  });
@@ -4975,9 +4995,9 @@ var iconOnly = function iconOnly(_ref6) {
4975
4995
  paddingInlineStart: "inset.narrow",
4976
4996
  paddingInlineEnd: "inset.narrow",
4977
4997
  _hover: {
4978
- bg: "ui.bg.default",
4979
- borderColor: "ui.link.primary",
4980
- color: "ui.link.primary"
4998
+ bg: "ui.link.primary-05",
4999
+ borderColor: "ui.link.secondary",
5000
+ color: "ui.link.secondary"
4981
5001
  }
4982
5002
  });
4983
5003
  };
@@ -5596,8 +5616,14 @@ var FeedbackBox = {
5596
5616
  parts: ["closeButton", "drawerBody", "drawerContent", "drawerHeader", "openButton"],
5597
5617
  baseStyle: {
5598
5618
  closeButton: {
5619
+ /** This is overriding the default min-height value in order to keep the
5620
+ * button spacing symmetrical. */
5621
+ minHeight: "40px",
5622
+ right: "xs",
5599
5623
  p: "0",
5600
- span: /*#__PURE__*/screenreaderOnly()
5624
+ position: "absolute",
5625
+ span: /*#__PURE__*/screenreaderOnly(),
5626
+ top: "xs"
5601
5627
  },
5602
5628
  drawerBody: {
5603
5629
  paddingTop: "m",
@@ -5617,8 +5643,8 @@ var FeedbackBox = {
5617
5643
  display: "flex",
5618
5644
  fontSize: "text.default",
5619
5645
  px: "m",
5620
- paddingTop: "xs",
5621
- paddingBottom: "xs",
5646
+ paddingTop: "s",
5647
+ paddingBottom: "s",
5622
5648
  p: {
5623
5649
  marginBottom: "0"
5624
5650
  }
@@ -5645,6 +5671,37 @@ var Fieldset$1 = {
5645
5671
  }
5646
5672
  };
5647
5673
 
5674
+ var filterBarWidth = {
5675
+ "default": {
5676
+ width: {
5677
+ base: "100%",
5678
+ md: "265px"
5679
+ }
5680
+ },
5681
+ full: {
5682
+ width: "100%"
5683
+ }
5684
+ };
5685
+ var FilterBar = {
5686
+ parts: ["modalHeader", "modalFooter", "modalCloseButton", "globalButtonGroup", "globalButtonGroupWrapper"],
5687
+ baseStyle: function baseStyle(_ref) {
5688
+ var width = _ref.width;
5689
+ return {
5690
+ width: "full",
5691
+ modalHeader: {
5692
+ bg: "ui.gray.x-light-cool"
5693
+ },
5694
+ modalFooter: {
5695
+ bg: "ui.gray.x-light-cool"
5696
+ },
5697
+ modalCloseButton: {
5698
+ mt: "8px"
5699
+ },
5700
+ globalButtonGroupWrapper: _extends({}, filterBarWidth[width])
5701
+ };
5702
+ }
5703
+ };
5704
+
5648
5705
  var footerGray = "#54514A";
5649
5706
  var Footer = {
5650
5707
  baseStyle: {
@@ -6726,14 +6783,18 @@ var variants = {
6726
6783
  })
6727
6784
  };
6728
6785
  var Link$1 = {
6786
+ parts: ["srOnly"],
6729
6787
  baseStyle: /*#__PURE__*/_extends({}, baseLinkStyles, {
6730
- // This is needed for custom anchor elements or link components
6731
- // that are passed as children to the `Link` component.
6788
+ /** This is needed for custom anchor elements or link components
6789
+ * that are passed as children to the `Link` component. */
6732
6790
  a: {
6733
6791
  _hover: {
6734
6792
  color: "ui.link.secondary"
6735
6793
  }
6736
- }
6794
+ },
6795
+ /** The element will handle descriptive text added to aid
6796
+ * screen readers. */
6797
+ srOnly: /*#__PURE__*/screenreaderOnly()
6737
6798
  }),
6738
6799
  variants: variants
6739
6800
  };
@@ -7369,6 +7430,202 @@ var Logo = {
7369
7430
  }
7370
7431
  };
7371
7432
 
7433
+ var multiSelectWidths = {
7434
+ "default": {
7435
+ width: {
7436
+ base: "100%",
7437
+ md: "250px"
7438
+ }
7439
+ },
7440
+ fitContent: {
7441
+ width: {
7442
+ base: "100%",
7443
+ md: "fit-content"
7444
+ },
7445
+ minWidth: {
7446
+ md: "175px"
7447
+ }
7448
+ },
7449
+ full: {
7450
+ width: "100%"
7451
+ }
7452
+ };
7453
+ var MultiSelect = {
7454
+ parts: ["actionButtons", "menu", "menuButton", "menuContainer", "menuChildren"],
7455
+ baseStyle: function baseStyle(_ref) {
7456
+ var isBlockElement = _ref.isBlockElement,
7457
+ isOpen = _ref.isOpen,
7458
+ _ref$width = _ref.width,
7459
+ width = _ref$width === void 0 ? "default" : _ref$width;
7460
+ return _extends({}, multiSelectWidths[width], {
7461
+ position: "relative",
7462
+ actionButtons: {
7463
+ borderTop: "1px solid",
7464
+ borderColor: "ui.gray.medium",
7465
+ gap: {
7466
+ base: "0",
7467
+ md: "s"
7468
+ },
7469
+ justifyContent: "flex-end",
7470
+ padding: {
7471
+ base: "s",
7472
+ md: "xs"
7473
+ },
7474
+ width: "auto"
7475
+ },
7476
+ menuContainer: _extends({
7477
+ backgroundColor: "white",
7478
+ position: {
7479
+ md: isBlockElement ? "relative" : "absolute"
7480
+ },
7481
+ display: isOpen ? "block" : "none",
7482
+ zIndex: isBlockElement ? 0 : 9999
7483
+ }, width === "fitContent" && {
7484
+ minWidth: {
7485
+ md: "275px"
7486
+ },
7487
+ maxWidth: {
7488
+ md: "375px"
7489
+ }
7490
+ }, {
7491
+ width: "100%",
7492
+ // These are for active states
7493
+ boxSizing: "border-box",
7494
+ border: "1px solid",
7495
+ borderBottomLeftRadius: "button.default",
7496
+ borderBottomRightRadius: "button.default",
7497
+ borderTopLeftRadius: "0",
7498
+ borderTopRightRadius: "0",
7499
+ borderColor: "ui.gray.dark",
7500
+ marginTop: "-1px",
7501
+ paddingX: 0,
7502
+ paddingY: 0,
7503
+ ul: {
7504
+ m: 0,
7505
+ px: 0,
7506
+ py: "xs",
7507
+ li: {
7508
+ p: 0,
7509
+ div: {
7510
+ px: "s",
7511
+ paddingTop: "xs",
7512
+ paddingBottom: "6px",
7513
+ _hover: {
7514
+ bg: "ui.gray.x-light-cool"
7515
+ }
7516
+ }
7517
+ },
7518
+ ul: {
7519
+ py: 0,
7520
+ li: {
7521
+ div: {
7522
+ paddingLeft: "46px",
7523
+ paddingRight: 0
7524
+ }
7525
+ }
7526
+ }
7527
+ }
7528
+ }),
7529
+ menu: {
7530
+ paddingX: "xs",
7531
+ // Controls the height of the multiselect menu, before scroll bar.
7532
+ maxHeight: {
7533
+ base: "100%",
7534
+ md: "285px"
7535
+ },
7536
+ overflowX: {
7537
+ base: "hidden"
7538
+ },
7539
+ overflowY: {
7540
+ base: "auto"
7541
+ },
7542
+ _focus: {
7543
+ outline: "0px !important"
7544
+ }
7545
+ },
7546
+ menuChildren: {
7547
+ paddingLeft: "m",
7548
+ marginBottom: 0
7549
+ }
7550
+ });
7551
+ }
7552
+ };
7553
+
7554
+ var MultiSelectMenuButton = {
7555
+ parts: ["buttonLabel", "menuButton", "selectedItemsCountButton", "toggleIcon"],
7556
+ baseStyle: function baseStyle(_ref) {
7557
+ var _ref$hasSelectedItems = _ref.hasSelectedItems,
7558
+ hasSelectedItems = _ref$hasSelectedItems === void 0 ? false : _ref$hasSelectedItems,
7559
+ _ref$isOpen = _ref.isOpen,
7560
+ isOpen = _ref$isOpen === void 0 ? false : _ref$isOpen;
7561
+ return {
7562
+ buttonLabel: {
7563
+ justifyContent: "flex-start",
7564
+ overflow: "hidden",
7565
+ marginLeft: hasSelectedItems ? "50px" : "0",
7566
+ marginRight: "l",
7567
+ textAlign: "left",
7568
+ textOverflow: "ellipsis",
7569
+ whiteSpace: "nowrap",
7570
+ transition: "margin 150ms ease-out"
7571
+ },
7572
+ menuButton: {
7573
+ alignItems: "center",
7574
+ backgroundColor: isOpen ? "ui.bg.active" : "ui.white",
7575
+ borderBottomLeftRadius: isOpen ? "0" : "button.default",
7576
+ borderBottomRightRadius: isOpen ? "0" : "button.default",
7577
+ borderColor: isOpen ? "ui.gray.dark" : "ui.gray.medium",
7578
+ borderRadius: "button.default",
7579
+ borderWidth: "1px",
7580
+ fontSize: "button.default",
7581
+ minHeight: {
7582
+ base: defaultElementSizes.mobileFieldHeight,
7583
+ md: "auto"
7584
+ },
7585
+ px: "s",
7586
+ py: "xs",
7587
+ display: "inline-flex",
7588
+ justifyContent: "space-between",
7589
+ width: "100%",
7590
+ _hover: {
7591
+ backgroundColor: isOpen ? "ui.bg.active" : "ui.white",
7592
+ borderColor: "ui.gray.dark"
7593
+ },
7594
+ svg: {
7595
+ marginTop: "0"
7596
+ }
7597
+ },
7598
+ selectedItemsCountButton: {
7599
+ alignItems: "center",
7600
+ backgroundColor: "ui.gray.light-cool",
7601
+ border: "1px",
7602
+ borderRadius: "20px",
7603
+ borderColor: isOpen ? "ui.border.hover" : "ui.border.default",
7604
+ display: "flex",
7605
+ flexShrink: 0,
7606
+ fontSize: "text.tag",
7607
+ justifyContent: "flex-end",
7608
+ left: "15px",
7609
+ marginRight: "xs",
7610
+ position: "absolute",
7611
+ top: {
7612
+ base: "12px",
7613
+ md: "10px"
7614
+ },
7615
+ width: "46px",
7616
+ _hover: {
7617
+ borderColor: isOpen ? "ui.gray.xx-dark" : "ui.border.hover"
7618
+ },
7619
+ svg: {
7620
+ marginLeft: "xxs",
7621
+ marginRight: "6px",
7622
+ marginTop: "0"
7623
+ }
7624
+ }
7625
+ };
7626
+ }
7627
+ };
7628
+
7372
7629
  var Notification = {
7373
7630
  parts: ["container", "dismissibleButton", "icon"],
7374
7631
  baseStyle: function baseStyle(_ref) {
@@ -8947,6 +9204,7 @@ var theme = /*#__PURE__*/extendTheme( /*#__PURE__*/_extends({
8947
9204
  DatePicker: DatePicker$1,
8948
9205
  FeedbackBox: FeedbackBox,
8949
9206
  Fieldset: Fieldset$1,
9207
+ FilterBar: FilterBar,
8950
9208
  Footer: Footer,
8951
9209
  Header: Header,
8952
9210
  HeaderLogin: HeaderLogin,
@@ -8967,7 +9225,9 @@ var theme = /*#__PURE__*/extendTheme( /*#__PURE__*/_extends({
8967
9225
  Label: Label$1,
8968
9226
  Link: Link$1,
8969
9227
  List: List,
8970
- Logo: Logo
9228
+ Logo: Logo,
9229
+ MultiSelect: MultiSelect,
9230
+ MultiSelectMenuButton: MultiSelectMenuButton
8971
9231
  }, NotificationStyles, {
8972
9232
  Pagination: Pagination,
8973
9233
  ProgressIndicator: ProgressIndicator,
@@ -9285,7 +9545,6 @@ var RadioGroup$1 = /*#__PURE__*/chakra( /*#__PURE__*/forwardRef(function (props,
9285
9545
  });
9286
9546
  // Props for the `ChakraRadioGroup` component.
9287
9547
  var radioGroupProps = {
9288
- "aria-label": !showLabel ? labelText : undefined,
9289
9548
  name: name,
9290
9549
  onChange: function onChange(selected) {
9291
9550
  setValue(selected);
@@ -9468,6 +9727,9 @@ var FeedbackBox$1 = /*#__PURE__*/chakra( /*#__PURE__*/forwardRef(function (_ref,
9468
9727
  setComment = _useFeedbackBoxReduce.setComment,
9469
9728
  setEmail = _useFeedbackBoxReduce.setEmail,
9470
9729
  clearValues = _useFeedbackBoxReduce.clearValues;
9730
+ // Hook into NYPL breakpoint
9731
+ var _useNYPLBreakpoints = useNYPLBreakpoints(),
9732
+ isLargerThanMobile = _useNYPLBreakpoints.isLargerThanMobile;
9471
9733
  // Chakra's hook to control Drawer's actions.
9472
9734
  var disclosure = useDisclosure();
9473
9735
  var finalIsOpen = isOpen ? isOpen : disclosure.isOpen;
@@ -9480,11 +9742,13 @@ var FeedbackBox$1 = /*#__PURE__*/chakra( /*#__PURE__*/forwardRef(function (_ref,
9480
9742
  var isErrorView = viewType === "error";
9481
9743
  var confirmationTimeout = 3000;
9482
9744
  var maxCommentCharacters = 500;
9483
- var initMinHeight = "275px";
9745
+ var initMinHeight = 165;
9484
9746
  var initTemplateRows = "auto 1fr";
9485
- var minHeightWithCategory = "345px";
9486
- var minHeightWithEmail = "385px";
9487
- var minHeightWithCategoryAndEmail = "455px";
9747
+ var minHeightWithCategory = 235;
9748
+ var minHeightWithEmail = 275;
9749
+ var minHeightWithCategoryAndEmail = 345;
9750
+ var notificationHeightAdjustment = 37;
9751
+ var descriptionHeightAdjustment = 24;
9488
9752
  var drawerMinHeight = initMinHeight;
9489
9753
  var closeAndResetForm = function closeAndResetForm() {
9490
9754
  finalOnClose();
@@ -9511,16 +9775,18 @@ var FeedbackBox$1 = /*#__PURE__*/chakra( /*#__PURE__*/forwardRef(function (_ref,
9511
9775
  "> div": {
9512
9776
  py: "xs"
9513
9777
  }
9514
- }
9778
+ },
9779
+ width: "100%"
9515
9780
  }) : undefined;
9516
9781
  var descriptionElement = isFormView && descriptionText ? React__default.createElement(Text, {
9517
9782
  fontWeight: "medium",
9518
- mb: "0"
9783
+ noSpace: true
9519
9784
  }, descriptionText) : undefined;
9520
9785
  var privacyPolicyField = React__default.createElement(FormField, null, React__default.createElement(Link, {
9521
9786
  href: "https://www.nypl.org/help/about-nypl/legal-notices/privacy-policy",
9522
9787
  type: "external",
9523
- fontSize: "text.tag"
9788
+ fontSize: "text.tag",
9789
+ width: "fit-content"
9524
9790
  }, "Privacy Policy"));
9525
9791
  // When the submit button is clicked, set a timeout before displaying
9526
9792
  // the confirmation or error screen. This automatically goes to the
@@ -9577,6 +9843,16 @@ var FeedbackBox$1 = /*#__PURE__*/chakra( /*#__PURE__*/forwardRef(function (_ref,
9577
9843
  if (showCategoryField && showEmailField) {
9578
9844
  drawerMinHeight = minHeightWithCategoryAndEmail;
9579
9845
  }
9846
+ if (notificationText) {
9847
+ drawerMinHeight += notificationHeightAdjustment;
9848
+ }
9849
+ if (descriptionText) {
9850
+ drawerMinHeight += descriptionHeightAdjustment;
9851
+ }
9852
+ if (notificationText && descriptionText) {
9853
+ drawerMinHeight += 16;
9854
+ }
9855
+ var finalDrawerMinHeight = drawerMinHeight + "px";
9580
9856
  return React__default.createElement(Box, Object.assign({
9581
9857
  className: className,
9582
9858
  id: id,
@@ -9593,11 +9869,7 @@ var FeedbackBox$1 = /*#__PURE__*/chakra( /*#__PURE__*/forwardRef(function (_ref,
9593
9869
  placement: "bottom"
9594
9870
  }, React__default.createElement(DrawerOverlay, null), React__default.createElement(DrawerContent, {
9595
9871
  sx: styles.drawerContent
9596
- }, React__default.createElement(DrawerHeader, {
9597
- sx: styles.drawerHeader
9598
- }, React__default.createElement(Text, {
9599
- "data-testid": "title"
9600
- }, title), React__default.createElement(Spacer, null), React__default.createElement(Button, {
9872
+ }, React__default.createElement(Button, {
9601
9873
  buttonType: "text",
9602
9874
  id: "close-btn",
9603
9875
  onClick: finalOnClose,
@@ -9606,24 +9878,38 @@ var FeedbackBox$1 = /*#__PURE__*/chakra( /*#__PURE__*/forwardRef(function (_ref,
9606
9878
  color: "ui.black",
9607
9879
  name: "minus",
9608
9880
  size: "medium"
9609
- }), React__default.createElement("span", null, "Close ", title))), React__default.createElement(DrawerBody, {
9881
+ }), React__default.createElement("span", null, "Close ", title)), React__default.createElement(DrawerHeader, {
9882
+ sx: styles.drawerHeader
9883
+ }, React__default.createElement(Text, {
9884
+ "data-testid": "title"
9885
+ }, title)), React__default.createElement(DrawerBody, {
9610
9886
  sx: styles.drawerBody
9611
9887
  }, React__default.createElement(Form, {
9612
9888
  gap: "grid.s",
9613
9889
  id: "feedback-form",
9614
9890
  onSubmit: internalOnSubmit,
9615
9891
  sx: {
9616
- "> div": {
9617
- minHeight: drawerMinHeight,
9892
+ ".feedback-body": {
9893
+ alignItems: "flex-start",
9894
+ minHeight: finalDrawerMinHeight,
9618
9895
  gridTemplateRows: initTemplateRows
9896
+ },
9897
+ ".feedback-body.response": {
9898
+ alignItems: "center",
9899
+ display: "flex",
9900
+ flexDirection: "column",
9901
+ justifyContent: "center"
9619
9902
  }
9620
9903
  }
9621
- }, 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, {
9904
+ }, isFormView && React__default.createElement(React__default.Fragment, null, React__default.createElement(VStack, {
9905
+ className: "feedback-body",
9906
+ spacing: "s"
9907
+ }, (notificationElement || descriptionElement) && React__default.createElement(React__default.Fragment, null, notificationElement, descriptionElement), showCategoryField && React__default.createElement(FormField, null, React__default.createElement(RadioGroup$1, {
9622
9908
  defaultValue: state.category,
9623
9909
  id: id + "-category",
9624
9910
  isDisabled: isSubmitted,
9625
9911
  labelText: "What is your feedback about?",
9626
- layout: "row",
9912
+ layout: isLargerThanMobile ? "row" : "column",
9627
9913
  name: id + "-category",
9628
9914
  onChange: function onChange(selected) {
9629
9915
  return setCategory(selected);
@@ -9640,7 +9926,9 @@ var FeedbackBox$1 = /*#__PURE__*/chakra( /*#__PURE__*/forwardRef(function (_ref,
9640
9926
  id: "bug",
9641
9927
  labelText: "Bug",
9642
9928
  value: "bug"
9643
- }))), React__default.createElement(FormField, null, React__default.createElement(TextInput, {
9929
+ }))), React__default.createElement(FormField, {
9930
+ width: "100%"
9931
+ }, React__default.createElement(TextInput, {
9644
9932
  helperText: maxCommentCharacters - state.comment.length + " characters remaining",
9645
9933
  id: id + "-comment",
9646
9934
  invalidText: "Please fill out this field.",
@@ -9656,7 +9944,9 @@ var FeedbackBox$1 = /*#__PURE__*/chakra( /*#__PURE__*/forwardRef(function (_ref,
9656
9944
  placeholder: "Enter your question or feedback here",
9657
9945
  type: "textarea",
9658
9946
  defaultValue: state.comment
9659
- })), showEmailField && React__default.createElement(FormField, null, React__default.createElement(TextInput, {
9947
+ })), showEmailField && React__default.createElement(FormField, {
9948
+ width: "100%"
9949
+ }, React__default.createElement(TextInput, {
9660
9950
  id: id + "-email",
9661
9951
  invalidText: "Please enter a valid email address.",
9662
9952
  isDisabled: isSubmitted,
@@ -9669,7 +9959,7 @@ var FeedbackBox$1 = /*#__PURE__*/chakra( /*#__PURE__*/forwardRef(function (_ref,
9669
9959
  placeholder: "Enter your email address here",
9670
9960
  type: "email",
9671
9961
  value: state.email
9672
- })), privacyPolicyField, React__default.createElement(FormField, null, React__default.createElement(ButtonGroup, {
9962
+ }))), privacyPolicyField, React__default.createElement(FormField, null, React__default.createElement(ButtonGroup, {
9673
9963
  buttonWidth: "full",
9674
9964
  id: "submit-cancel"
9675
9965
  }, React__default.createElement(Button, {
@@ -9684,6 +9974,7 @@ var FeedbackBox$1 = /*#__PURE__*/chakra( /*#__PURE__*/forwardRef(function (_ref,
9684
9974
  key: "submit",
9685
9975
  type: "submit"
9686
9976
  }, "Submit")))), isConfirmationView && React__default.createElement(React__default.Fragment, null, React__default.createElement(Box, {
9977
+ className: "feedback-body response",
9687
9978
  key: "confirmationWrapper",
9688
9979
  margin: "auto",
9689
9980
  tabIndex: 0,
@@ -9702,6 +9993,7 @@ var FeedbackBox$1 = /*#__PURE__*/chakra( /*#__PURE__*/forwardRef(function (_ref,
9702
9993
  buttonType: "secondary",
9703
9994
  onClick: closeAndResetForm
9704
9995
  }, "Return to Browsing")))), isErrorView && React__default.createElement(React__default.Fragment, null, React__default.createElement(Box, {
9996
+ className: "feedback-body response",
9705
9997
  color: "ui.error.primary",
9706
9998
  key: "errorWrapper",
9707
9999
  margin: "auto",
@@ -9750,105 +10042,757 @@ function useFeedbackBox() {
9750
10042
  };
9751
10043
  }
9752
10044
 
9753
- var _excluded$1f = ["children", "className", "id", "inline", "listItems", "noStyling", "title", "type"];
10045
+ var _excluded$1f = ["id", "isOpen", "multiSelectId", "multiSelectLabel", "onClear", "onKeyDown", "onMenuToggle", "selectedItems"];
10046
+ var _templateObject;
10047
+ var grow = /*#__PURE__*/keyframes$1(_templateObject || (_templateObject = /*#__PURE__*/_taggedTemplateLiteralLoose(["\n from {width: 22px; opacity: 0; }\n to {width: 46px; opacity: 1;}\n"])));
9754
10048
  /**
9755
- * A component that renders list item `li` elements or description item `dt`
9756
- * and `dd` elements based on the `type` prop. Note that the `title` prop will
9757
- * only display for the `Description` list type.
10049
+ * The toggle button component used to open and close the `MultiSelect` menu.
10050
+ * A second button is rendered above the main button that displays the current
10051
+ * number of selected items. Clicking on the second button will clear all
10052
+ * the selected items and the main button's close event will not be fired
10053
+ * (as expected).
9758
10054
  */
9759
- var List$1 = /*#__PURE__*/chakra( /*#__PURE__*/forwardRef(function (props, ref) {
9760
- var children = props.children,
9761
- className = props.className,
9762
- id = props.id,
9763
- _props$inline = props.inline,
9764
- inline = _props$inline === void 0 ? false : _props$inline,
9765
- listItems = props.listItems,
9766
- _props$noStyling = props.noStyling,
9767
- noStyling = _props$noStyling === void 0 ? false : _props$noStyling,
9768
- title = props.title,
9769
- _props$type = props.type,
9770
- type = _props$type === void 0 ? "ul" : _props$type,
10055
+ var MultiSelectMenuButton$1 = /*#__PURE__*/forwardRef(function (props, ref) {
10056
+ var _selectedItems$multiS;
10057
+ var id = props.id,
10058
+ isOpen = props.isOpen,
10059
+ multiSelectId = props.multiSelectId,
10060
+ multiSelectLabel = props.multiSelectLabel,
10061
+ onClear = props.onClear,
10062
+ onMenuToggle = props.onMenuToggle,
10063
+ selectedItems = props.selectedItems,
9771
10064
  rest = _objectWithoutPropertiesLoose(props, _excluded$1f);
9772
- var styles = useStyleConfig("List", {
9773
- inline: inline,
9774
- noStyling: noStyling,
9775
- variant: type
10065
+ var iconType = isOpen ? "minus" : "plus";
10066
+ var growAnimation = grow + " 150ms ease-out";
10067
+ // Sets the selected items count on the menu button.
10068
+ var getSelectedItemsCount;
10069
+ var selectedItemsAriaLabel;
10070
+ if (((_selectedItems$multiS = selectedItems[multiSelectId]) == null ? void 0 : _selectedItems$multiS.items.length) > 0) {
10071
+ getSelectedItemsCount = "" + selectedItems[multiSelectId].items.length;
10072
+ var itemPlural = getSelectedItemsCount === "1" ? "" : "s";
10073
+ selectedItemsAriaLabel = "remove " + getSelectedItemsCount + " item" + itemPlural + " selected from " + multiSelectLabel;
10074
+ }
10075
+ var styles = useMultiStyleConfig("MultiSelectMenuButton", {
10076
+ isOpen: isOpen,
10077
+ hasSelectedItems: getSelectedItemsCount
9776
10078
  });
9777
- var listElement = null;
9778
- // Either li/dt/dd children elements must be passed or the `listItems`
9779
- // prop must be used.
9780
- if (children && listItems && (listItems == null ? void 0 : listItems.length) > 0) {
9781
- console.warn("NYPL Reservoir List: Pass in either `<li>`, `<dt>`, or `<dd>` " + "children or use the `listItems` data prop. Do not use both.");
9782
- return null;
9783
- }
9784
- if (!children && !listItems) {
9785
- console.warn("NYPL Reservoir List: Pass in either `<li>` children or pass data in " + "the `listItems` prop, not both.");
9786
- return null;
9787
- }
9788
- /**
9789
- * This returns either the `children` elements passed to the `List` component
9790
- * first, otherwise it will check and render the data passed into the
9791
- * `listItems` props based on the `ListType` type. If it is of type unordered
9792
- * or ordered, it will return `li` elements. Otherwise, it will return a
9793
- * combination of `dt` and `dd` elements for the description type.
9794
- */
9795
- var listChildrenElms = function listChildrenElms(listType) {
9796
- if (children) {
9797
- return children;
9798
- }
9799
- if (!listItems) {
9800
- return null;
9801
- }
9802
- if (listType === "ol" || listType === "ul") {
9803
- return listItems.map(function (item, i) {
9804
- return React__default.createElement("li", {
9805
- key: i
9806
- }, item);
9807
- });
9808
- } else if (listType === "dl") {
9809
- return listItems.map(function (item, i) {
9810
- return [React__default.createElement("dt", {
9811
- key: i + "-term"
9812
- }, item.term), React__default.createElement("dd", {
9813
- key: i + "-des"
9814
- }, item.description)];
9815
- });
10079
+ // We need this for our "fake" button inside the main menu button.
10080
+ function onKeyPress(e) {
10081
+ var enterOrSpace = e.key === "Enter" || e.key === " " || e.key === "Spacebar" || e.which === 13 || e.which === 32;
10082
+ if (enterOrSpace) {
10083
+ e.preventDefault();
10084
+ onClear();
9816
10085
  }
9817
- return null;
9818
- };
9819
- /**
9820
- * Checks for `dt` and `dd` elements and consoles a warning if the
9821
- * children are different HTML elements.
9822
- */
9823
- var checkDescriptionChildrenError = function checkDescriptionChildrenError() {
9824
- React__default.Children.map(children, function (child) {
9825
- if (child.type !== "dt" && child.type !== "dd" && child.type !== React__default.Fragment && child.props.mdxType !== "dt" && child.props.mdxType !== "dd" && child.props.mdxType !== React__default.Fragment) {
9826
- console.warn("NYPL Reservoir List: Direct children of `List` (description) must " + "be `<dt>`s and `<dd>`s.");
9827
- }
9828
- });
9829
- };
9830
- if (type === "ol" || type === "ul") {
9831
- checkListChildrenError(children, type);
9832
- listElement = React__default.createElement(Box, Object.assign({
9833
- as: type,
9834
- id: id,
9835
- className: className,
9836
- ref: ref,
9837
- __css: styles
9838
- }, rest), listChildrenElms(type));
9839
- } else if (type === "dl") {
9840
- checkDescriptionChildrenError();
9841
- listElement = React__default.createElement(Box, Object.assign({
9842
- as: "section",
9843
- id: id,
9844
- className: className,
9845
- ref: ref,
9846
- __css: styles
9847
- }, rest), title && React__default.createElement(Heading, {
9848
- id: id + "-heading"
9849
- }, title), React__default.createElement("dl", null, listChildrenElms(type)));
9850
10086
  }
9851
- return listElement;
10087
+ return React__default.createElement(React__default.Fragment, null, React__default.createElement(Button, Object.assign({
10088
+ buttonType: "secondary",
10089
+ id: id,
10090
+ onClick: onMenuToggle,
10091
+ ref: ref,
10092
+ __css: styles.menuButton
10093
+ }, rest), React__default.createElement(Box, {
10094
+ as: "span",
10095
+ title: multiSelectLabel,
10096
+ __css: styles.buttonLabel
10097
+ }, multiSelectLabel), React__default.createElement(Icon, {
10098
+ id: "ms-" + multiSelectId + "-icon",
10099
+ name: iconType,
10100
+ size: "small"
10101
+ })), getSelectedItemsCount && React__default.createElement(Box, {
10102
+ animation: growAnimation,
10103
+ "aria-label": selectedItemsAriaLabel,
10104
+ as: "span",
10105
+ onClick: onClear,
10106
+ onKeyPress: onKeyPress,
10107
+ role: "button",
10108
+ tabIndex: 0,
10109
+ __css: styles.selectedItemsCountButton
10110
+ }, React__default.createElement(Box, {
10111
+ as: "span",
10112
+ verticalAlign: "text-bottom"
10113
+ }, getSelectedItemsCount), React__default.createElement(Icon, {
10114
+ align: "right",
10115
+ id: "ms-" + multiSelectId + "-selected-items-count-icon",
10116
+ marginLeft: "xs",
10117
+ name: "close",
10118
+ size: "xsmall",
10119
+ title: "Remove selected items"
10120
+ })));
10121
+ });
10122
+
10123
+ var _excluded$1g = ["id", "isBlockElement", "isDefaultOpen", "items", "label", "onChange", "onClear", "selectedItems", "width"];
10124
+ /** MultiSelectListbox renders a non-hierarchical list of checkbox options for the `variant="listbox". It leverager downshift-js for accessiblity. */
10125
+ var MultiSelectListbox = /*#__PURE__*/chakra( /*#__PURE__*/forwardRef(function (props, ref) {
10126
+ var id = props.id,
10127
+ isBlockElement = props.isBlockElement,
10128
+ isDefaultOpen = props.isDefaultOpen,
10129
+ items = props.items,
10130
+ label = props.label,
10131
+ onChange = props.onChange,
10132
+ onClear = props.onClear,
10133
+ selectedItems = props.selectedItems,
10134
+ width = props.width,
10135
+ rest = _objectWithoutPropertiesLoose(props, _excluded$1g);
10136
+ // Downshift.
10137
+ var _useSelect = useSelect({
10138
+ items: items,
10139
+ // Downshift's internal state for handling keyboard and mouse events.
10140
+ stateReducer: function stateReducer(state, actionAndChanges) {
10141
+ var changes = actionAndChanges.changes,
10142
+ type = actionAndChanges.type;
10143
+ switch (type) {
10144
+ case useSelect.stateChangeTypes.MenuKeyDownEnter:
10145
+ case useSelect.stateChangeTypes.MenuKeyDownSpaceButton:
10146
+ case useSelect.stateChangeTypes.ItemClick:
10147
+ return _extends({}, changes, {
10148
+ isOpen: true,
10149
+ highlightedIndex: state.highlightedIndex
10150
+ });
10151
+ default:
10152
+ return changes;
10153
+ }
10154
+ },
10155
+ //@ts-ignore
10156
+ selectedItem: selectedItems,
10157
+ onSelectedItemChange: function onSelectedItemChange(_ref) {
10158
+ var selectedItem = _ref.selectedItem;
10159
+ onChange(selectedItem, id);
10160
+ },
10161
+ initialIsOpen: isDefaultOpen
10162
+ }),
10163
+ getItemProps = _useSelect.getItemProps,
10164
+ getMenuProps = _useSelect.getMenuProps,
10165
+ getToggleButtonProps = _useSelect.getToggleButtonProps,
10166
+ highlightedIndex = _useSelect.highlightedIndex,
10167
+ isOpen = _useSelect.isOpen;
10168
+ var styles = useMultiStyleConfig("MultiSelect", {
10169
+ width: width,
10170
+ isBlockElement: isBlockElement,
10171
+ isOpen: isOpen
10172
+ });
10173
+ // If a item passed to the listbox variant has children,
10174
+ if (items.some(function (item) {
10175
+ return item.children;
10176
+ })) {
10177
+ console.warn("NYPL Reservoir MultiSelect: Only the variant 'dialog' can render nested select items.");
10178
+ }
10179
+ return React__default.createElement(Box, Object.assign({
10180
+ id: id,
10181
+ __css: styles
10182
+ }, rest), React__default.createElement(MultiSelectMenuButton$1, Object.assign({
10183
+ multiSelectId: id,
10184
+ multiSelectLabel: label,
10185
+ isOpen: isOpen,
10186
+ selectedItems: selectedItems,
10187
+ onClear: onClear,
10188
+ ref: ref
10189
+ }, getToggleButtonProps({
10190
+ id: "ms-" + id + "-menu-button",
10191
+ "aria-labelledby": "ms-" + id + "-menu ms-" + id + "-menu-button"
10192
+ }))), React__default.createElement(Box, {
10193
+ __css: styles.menuContainer
10194
+ }, React__default.createElement(UnorderedList, Object.assign({
10195
+ styleType: "none",
10196
+ marginInlineStart: "0"
10197
+ }, getMenuProps({
10198
+ id: "ms-" + id + "-menu",
10199
+ "aria-labelledby": "ms-" + id + "-menu-button"
10200
+ }), {
10201
+ // @FIX This prevents the menu from closing when checkbox or label is clicked.
10202
+ onClick: function onClick(e) {
10203
+ return e.preventDefault();
10204
+ },
10205
+ __css: styles.menu
10206
+ }), isOpen && items.map(function (item, index) {
10207
+ var _selectedItems$id;
10208
+ return React__default.createElement(ListItem, Object.assign({
10209
+ py: 1,
10210
+ // @TODO fix this, we want to pass the key prop as part of ...getItemProps but get
10211
+ // error Missing "key" prop for element in iterator react/jsx-key
10212
+ key: item.id
10213
+ }, getItemProps({
10214
+ id: "ms-" + id + "-item-" + index,
10215
+ key: item.id,
10216
+ item: item,
10217
+ index: index
10218
+ }), {
10219
+ sx: highlightedIndex === index ? {
10220
+ backgroundColor: "ui.gray.x-light-cool"
10221
+ } : {}
10222
+ }), React__default.createElement(Checkbox, {
10223
+ id: item.id,
10224
+ labelText: item.name,
10225
+ name: item.name,
10226
+ isChecked: (_selectedItems$id = selectedItems[id]) == null ? void 0 : _selectedItems$id.items.includes(item.id),
10227
+ onChange: function onChange() {
10228
+ return null;
10229
+ }
10230
+ }));
10231
+ }))));
10232
+ }),
10233
+ // Pass all custom props to Chakra and override, for width prop.
10234
+ {
10235
+ shouldForwardProp: function shouldForwardProp() {
10236
+ return true;
10237
+ }
10238
+ });
10239
+
10240
+ var _excluded$1h = ["id", "isBlockElement", "isDefaultOpen", "items", "label", "onApply", "onChange", "onClear", "onMixedStateChange", "selectedItems", "width"];
10241
+ var MultiSelectDialog = /*#__PURE__*/chakra( /*#__PURE__*/forwardRef(function (props, ref) {
10242
+ var id = props.id,
10243
+ isBlockElement = props.isBlockElement,
10244
+ isDefaultOpen = props.isDefaultOpen,
10245
+ items = props.items,
10246
+ label = props.label,
10247
+ onApply = props.onApply,
10248
+ onChange = props.onChange,
10249
+ onClear = props.onClear,
10250
+ onMixedStateChange = props.onMixedStateChange,
10251
+ selectedItems = props.selectedItems,
10252
+ width = props.width,
10253
+ rest = _objectWithoutPropertiesLoose(props, _excluded$1h);
10254
+ // Use NYPL Breakpoints hook to check screen size
10255
+ var _useNYPLBreakpoints = useNYPLBreakpoints(),
10256
+ isLargerThanMobile = _useNYPLBreakpoints.isLargerThanMobile;
10257
+ // Control the open or closed state of the MultiSelect.
10258
+ var _useState = useState(isDefaultOpen),
10259
+ isOpen = _useState[0],
10260
+ setIsOpen = _useState[1];
10261
+ var styles = useMultiStyleConfig("MultiSelect", {
10262
+ width: width,
10263
+ isBlockElement: isBlockElement,
10264
+ isOpen: isOpen
10265
+ });
10266
+ // Create a ref that we add to the element for which we want to detect outside clicks.
10267
+ var internalRef = useRef();
10268
+ // Custom Hook, Closes the MultiSelect if user clicks outside.
10269
+ function useOnClickOutside(ref, handler) {
10270
+ React__default.useEffect(function () {
10271
+ var listener = function listener(event) {
10272
+ // Do nothing if clicking ref's element or descendent elements
10273
+ if (!ref.current || ref.current.contains(event.target)) {
10274
+ return;
10275
+ }
10276
+ handler(event);
10277
+ };
10278
+ document.addEventListener("mousedown", listener);
10279
+ document.addEventListener("touchstart", listener);
10280
+ return function () {
10281
+ document.removeEventListener("mousedown", listener);
10282
+ document.removeEventListener("touchstart", listener);
10283
+ };
10284
+ }, [ref, handler]);
10285
+ }
10286
+ useOnClickOutside(internalRef, function () {
10287
+ return setIsOpen(false);
10288
+ });
10289
+ // Merge internal ref with the ref passed through the chakra function.
10290
+ var mergedRefs = useMergeRefs(internalRef, ref);
10291
+ var isChecked = function isChecked(multiSelectId, itemId) {
10292
+ if (selectedItems[multiSelectId]) {
10293
+ return !!selectedItems[multiSelectId].items.find(function (selectedItemId) {
10294
+ return selectedItemId === itemId;
10295
+ });
10296
+ }
10297
+ return false;
10298
+ };
10299
+ // isAllChecked defines the isChecked status of parent checkboxes. If all child items are selected, it will turn true, otherwise it returns false.
10300
+ // This prop is only passed to parent options.
10301
+ var isAllChecked = function isAllChecked(multiSelectId, item) {
10302
+ var childIds = item.children.map(function (childItem) {
10303
+ return childItem.id;
10304
+ });
10305
+ if (selectedItems[multiSelectId] !== undefined) {
10306
+ return childIds.every(function (childItem) {
10307
+ return selectedItems[multiSelectId].items.includes(childItem);
10308
+ });
10309
+ }
10310
+ return false;
10311
+ };
10312
+ // isInteterminate will return true if some child items of the parent item are selected. This prop is only passed to parent options.
10313
+ var isIndeterminate = function isIndeterminate(multiSelectId, item) {
10314
+ var childIds = item.children.map(function (childItem) {
10315
+ return childItem.id;
10316
+ });
10317
+ if (selectedItems[multiSelectId] !== undefined && childIds.some(function (childItem) {
10318
+ return selectedItems[multiSelectId].items.includes(childItem);
10319
+ })) {
10320
+ return !isAllChecked(multiSelectId, item);
10321
+ }
10322
+ return false;
10323
+ };
10324
+ return React__default.createElement(Box, Object.assign({
10325
+ id: id,
10326
+ ref: mergedRefs,
10327
+ __css: styles
10328
+ }, rest), React__default.createElement(FocusLock, {
10329
+ isDisabled: !isOpen
10330
+ }, React__default.createElement(MultiSelectMenuButton$1, {
10331
+ id: "ms-" + id + "-menu-button",
10332
+ multiSelectId: id,
10333
+ multiSelectLabel: label,
10334
+ isOpen: isOpen,
10335
+ selectedItems: selectedItems,
10336
+ onMenuToggle: function onMenuToggle() {
10337
+ setIsOpen(!isOpen);
10338
+ },
10339
+ onClear: onClear
10340
+ }), React__default.createElement(Box, Object.assign({
10341
+ role: "dialog",
10342
+ __css: styles.menuContainer
10343
+ }, isOpen && {
10344
+ "aria-modal": true
10345
+ }, {
10346
+ "aria-labelledby": "ms-" + id + "-menu-button"
10347
+ }), React__default.createElement(UnorderedList, {
10348
+ styleType: "none",
10349
+ marginInlineStart: "0",
10350
+ __css: styles.menu
10351
+ }, isOpen && items.map(function (item) {
10352
+ return React__default.createElement(ListItem, {
10353
+ key: item.id,
10354
+ py: "xxs"
10355
+ }, item.children ? React__default.createElement(React__default.Fragment, null, React__default.createElement(Checkbox, Object.assign({
10356
+ id: item.id,
10357
+ labelText: item.name,
10358
+ name: item.name
10359
+ }, onMixedStateChange !== undefined ? {
10360
+ isChecked: isAllChecked(id, item),
10361
+ isIndeterminate: isIndeterminate(id, item),
10362
+ onChange: onMixedStateChange
10363
+ } : {
10364
+ isChecked: isChecked(id, item.id),
10365
+ onChange: onChange
10366
+ })), React__default.createElement(UnorderedList, {
10367
+ styleType: "none",
10368
+ marginInlineStart: "0",
10369
+ __css: styles.menuChildren
10370
+ }, item.children.map(function (childItem) {
10371
+ return React__default.createElement(ListItem, {
10372
+ key: childItem.id,
10373
+ py: "xxs"
10374
+ }, React__default.createElement(Checkbox, {
10375
+ id: childItem.id,
10376
+ labelText: childItem.name,
10377
+ name: childItem.name,
10378
+ isChecked: isChecked(id, childItem.id),
10379
+ onChange: onChange
10380
+ }));
10381
+ }))) : React__default.createElement(Checkbox, {
10382
+ id: item.id,
10383
+ labelText: item.name,
10384
+ name: item.name,
10385
+ isChecked: isChecked(id, item.id),
10386
+ onChange: onChange
10387
+ }));
10388
+ })), isOpen && isLargerThanMobile && React__default.createElement(ButtonGroup, {
10389
+ __css: styles.actionButtons
10390
+ }, React__default.createElement(Button, {
10391
+ id: "ms-" + id + "-clear",
10392
+ buttonType: "link",
10393
+ type: "button",
10394
+ onClick: onClear
10395
+ }, "Clear"), React__default.createElement(Button, {
10396
+ id: "ms-" + id + "-apply",
10397
+ buttonType: "primary",
10398
+ type: "button",
10399
+ onClick: function onClick() {
10400
+ // Close the multiselect on apply.
10401
+ setIsOpen(false);
10402
+ // Run the onApply prop function.
10403
+ onApply();
10404
+ }
10405
+ }, "Apply")))));
10406
+ }),
10407
+ // Pass all custom props to Chakra and override, for width prop.
10408
+ {
10409
+ shouldForwardProp: function shouldForwardProp() {
10410
+ return true;
10411
+ }
10412
+ });
10413
+
10414
+ var _excluded$1i = ["id", "isBlockElement", "isDefaultOpen", "items", "label", "onApply", "onChange", "onClear", "onMixedStateChange", "selectedItems", "variant", "width"];
10415
+ /**
10416
+ * The `MultiSelect` component is a form input element that presents a list
10417
+ * of `Checkbox` components from which a user can make one or multiple
10418
+ * selections. Two variants of the MultiSelect component are offered, each with
10419
+ * slightly different functionality and requirements. Because of these
10420
+ * differences, the two variants are broken out in separate stories below.
10421
+ */
10422
+ var MultiSelect$1 = /*#__PURE__*/chakra( /*#__PURE__*/forwardRef(function (props, ref) {
10423
+ var id = props.id,
10424
+ _props$isBlockElement = props.isBlockElement,
10425
+ isBlockElement = _props$isBlockElement === void 0 ? false : _props$isBlockElement,
10426
+ _props$isDefaultOpen = props.isDefaultOpen,
10427
+ isDefaultOpen = _props$isDefaultOpen === void 0 ? false : _props$isDefaultOpen,
10428
+ items = props.items,
10429
+ label = props.label,
10430
+ onApply = props.onApply,
10431
+ onChange = props.onChange,
10432
+ onClear = props.onClear,
10433
+ onMixedStateChange = props.onMixedStateChange,
10434
+ selectedItems = props.selectedItems,
10435
+ variant = props.variant,
10436
+ _props$width = props.width,
10437
+ width = _props$width === void 0 ? "default" : _props$width,
10438
+ rest = _objectWithoutPropertiesLoose(props, _excluded$1i);
10439
+ var commonProps = {
10440
+ id: id,
10441
+ isBlockElement: isBlockElement,
10442
+ isDefaultOpen: isDefaultOpen,
10443
+ items: items,
10444
+ label: label,
10445
+ onClear: onClear,
10446
+ selectedItems: selectedItems,
10447
+ variant: variant,
10448
+ width: width
10449
+ };
10450
+ if (variant === "listbox") {
10451
+ var listboxOnChange = onChange;
10452
+ return React__default.createElement(MultiSelectListbox, Object.assign({}, commonProps, {
10453
+ ref: ref,
10454
+ onChange: listboxOnChange
10455
+ }, rest));
10456
+ }
10457
+ if (variant === "dialog") {
10458
+ var dialogOnChange = onChange;
10459
+ return React__default.createElement(MultiSelectDialog, Object.assign({}, commonProps, {
10460
+ onChange: dialogOnChange,
10461
+ onMixedStateChange: onMixedStateChange,
10462
+ onApply: onApply,
10463
+ ref: ref
10464
+ }, rest));
10465
+ }
10466
+ return null;
10467
+ }),
10468
+ // Pass all custom props to Chakra and override, for width prop.
10469
+ {
10470
+ shouldForwardProp: function shouldForwardProp() {
10471
+ return true;
10472
+ }
10473
+ });
10474
+
10475
+ var _excluded$1j = ["children", "className", "id", "labelText", "layout", "multiSelectWidth", "showLabel"];
10476
+ /**
10477
+ * `MultiSelectGroup` is a wrapper component specific for `MultiSelect` components. The wrapped `MutliSelect` components can be displayed in a
10478
+ * column or in a row. The `MultiSelectGroup` component renders all the necessary
10479
+ * wrapping and associated text elements, but the child elements
10480
+ * _need_ to be `MultiSelect` components from the NYPL Design System.
10481
+ */
10482
+ var MultiSelectGroup = /*#__PURE__*/chakra( /*#__PURE__*/forwardRef(function (props, ref) {
10483
+ var children = props.children,
10484
+ _props$className = props.className,
10485
+ className = _props$className === void 0 ? "" : _props$className,
10486
+ id = props.id,
10487
+ labelText = props.labelText,
10488
+ _props$layout = props.layout,
10489
+ layout = _props$layout === void 0 ? "row" : _props$layout,
10490
+ _props$multiSelectWid = props.multiSelectWidth,
10491
+ multiSelectWidth = _props$multiSelectWid === void 0 ? "default" : _props$multiSelectWid,
10492
+ _props$showLabel = props.showLabel,
10493
+ showLabel = _props$showLabel === void 0 ? true : _props$showLabel,
10494
+ rest = _objectWithoutPropertiesLoose(props, _excluded$1j);
10495
+ var newChildren = [];
10496
+ var _useNYPLBreakpoints = useNYPLBreakpoints(),
10497
+ isLargerThanMobile = _useNYPLBreakpoints.isLargerThanMobile;
10498
+ var finalLayout = isLargerThanMobile ? layout : "column";
10499
+ var finallWidth = isLargerThanMobile ? multiSelectWidth : "full";
10500
+ var isBlockElement = layout === "column" ? true : false;
10501
+ var styles = useMultiStyleConfig("MultiSelectGroup", {
10502
+ width: finallWidth
10503
+ });
10504
+ // Go through the MultiSelect children and update props as needed.
10505
+ React__default.Children.map(children, function (child) {
10506
+ if (React__default.isValidElement(child)) {
10507
+ // @TODO: DXP needs to pass custom MultiSelects that wrap DS Mutliselects - type check deos not allow DXP to use MultiSelectGroup
10508
+ // if (child.type !== MultiSelect) {
10509
+ // console.warn(
10510
+ // "NYPL Reservoir MultiSelectGroup: Only MultiSelect components can be children of MultiSelectGroup."
10511
+ // );
10512
+ // return;
10513
+ // }
10514
+ if (child.type === MultiSelect$1) {
10515
+ var _props = {
10516
+ isBlockElement: isBlockElement,
10517
+ width: multiSelectWidth
10518
+ };
10519
+ newChildren.push(React__default.cloneElement(child, _props));
10520
+ } else {
10521
+ newChildren.push(React__default.cloneElement(child));
10522
+ }
10523
+ }
10524
+ });
10525
+ return React__default.createElement(Fieldset, Object.assign({
10526
+ id: id + "-multiselect-group",
10527
+ legendText: labelText,
10528
+ isLegendHidden: !showLabel,
10529
+ __css: styles
10530
+ }, rest), React__default.createElement(Stack, {
10531
+ className: className,
10532
+ columnGap: "xs",
10533
+ "data-testid": "multi-select-group",
10534
+ direction: finalLayout,
10535
+ id: id,
10536
+ ref: ref,
10537
+ rowGap: finalLayout === "row" ? "xs" : "0",
10538
+ spacing: isLargerThanMobile ? "xs" : "0",
10539
+ wrap: layout === "row" ? "wrap" : null,
10540
+ sx: {
10541
+ "> div": {
10542
+ _notFirst: {
10543
+ mx: "0"
10544
+ }
10545
+ }
10546
+ }
10547
+ }, newChildren));
10548
+ }));
10549
+
10550
+ var _excluded$1k = ["children", "id", "isOpen", "headingText", "layout", "onClear", "onSubmit", "onToggle", "onOpen", "onClose", "selectedItems", "showClearAll", "showSubmitAll", "filterWidth"];
10551
+ /**
10552
+ * `FilterBar` is a wrapper component for filter components.
10553
+ * The DS considers the following components as filter components:
10554
+ * - `MultiSelectGroup`
10555
+ *
10556
+ * The wrapped components/ component groups can be displayed in a column or
10557
+ * in a row layout. `FilterBar` can render additional `Clear All` and a `Apply Filters` buttons. The two
10558
+ * _optional_ buttons are controlled by the `showClearAll`/ `onClear` or `showSubmitAll`/`onSubmit` props repectively.
10559
+ */
10560
+ var FilterBar$1 = /*#__PURE__*/chakra( /*#__PURE__*/forwardRef(function (props, ref) {
10561
+ var children = props.children,
10562
+ id = props.id,
10563
+ isOpen = props.isOpen,
10564
+ headingText = props.headingText,
10565
+ _props$layout = props.layout,
10566
+ layout = _props$layout === void 0 ? "row" : _props$layout,
10567
+ onClear = props.onClear,
10568
+ onSubmit = props.onSubmit,
10569
+ onToggle = props.onToggle,
10570
+ onOpen = props.onOpen,
10571
+ _onClose = props.onClose,
10572
+ selectedItems = props.selectedItems,
10573
+ _props$showClearAll = props.showClearAll,
10574
+ showClearAll = _props$showClearAll === void 0 ? false : _props$showClearAll,
10575
+ _props$showSubmitAll = props.showSubmitAll,
10576
+ showSubmitAll = _props$showSubmitAll === void 0 ? false : _props$showSubmitAll,
10577
+ filterWidth = props.filterWidth,
10578
+ rest = _objectWithoutPropertiesLoose(props, _excluded$1k);
10579
+ var _useNYPLBreapoints = useNYPLBreakpoints(),
10580
+ isLargerThanMedium = _useNYPLBreapoints.isLargerThanMedium;
10581
+ var finalLayout = isLargerThanMedium ? layout : "column";
10582
+ var finalWidth = isLargerThanMedium ? filterWidth ? filterWidth : finalLayout === "column" ? "full" : "default" : "full";
10583
+ var styles = useMultiStyleConfig("FilterBar", {
10584
+ layout: finalLayout,
10585
+ width: finalWidth
10586
+ });
10587
+ var getSelectedItemsCount = function getSelectedItemsCount() {
10588
+ return Object.entries(selectedItems).length ? "(" + Object.entries(selectedItems).length + ")" : "";
10589
+ };
10590
+ // Warning when onSubmit is passed but the showSubmitAll is missing
10591
+ if (onSubmit && showSubmitAll === false) {
10592
+ console.warn("NYPL Reservoir FilterBar: The `onSubmit` handler was set, but the `Apply Filters` button is not visible.");
10593
+ }
10594
+ // Warning when showSubmitAll is passed but onSubmit is missing
10595
+ if (onSubmit === undefined && showSubmitAll === true) {
10596
+ console.warn("NYPL Reservoir FilterBar: The `Apply Filters` button is rendering but no onSubmit function was passed.");
10597
+ }
10598
+ var newChildren = [];
10599
+ // Go through the FilterBar children and update props as needed.
10600
+ React__default.Children.map(children, function (child) {
10601
+ if (React__default.isValidElement(child)) {
10602
+ if (child.type === MultiSelectGroup) {
10603
+ var _props = {
10604
+ layout: finalLayout,
10605
+ multiSelectWidth: finalWidth
10606
+ };
10607
+ newChildren.push(React__default.cloneElement(child, _props));
10608
+ } else if (child.type === MultiSelect$1) {
10609
+ var _props2 = {
10610
+ isBlockElement: finalLayout === "column",
10611
+ width: finalWidth
10612
+ };
10613
+ newChildren.push(React__default.cloneElement(child, _props2));
10614
+ } else {
10615
+ console.warn("NYPL Reservoir FilterBar: Invalid child component was passed", child);
10616
+ return;
10617
+ }
10618
+ }
10619
+ });
10620
+ return React__default.createElement(Box, Object.assign({
10621
+ id: "filter-bar-" + id,
10622
+ __css: styles,
10623
+ ref: ref
10624
+ }, rest), isLargerThanMedium ? React__default.createElement(React__default.Fragment, null, headingText && React__default.createElement(Heading, {
10625
+ text: headingText,
10626
+ level: "two",
10627
+ size: "tertiary"
10628
+ }), React__default.createElement(Stack, {
10629
+ alignItems: layout === "row" ? "flex-end" : null,
10630
+ columnGap: "l",
10631
+ direction: layout,
10632
+ rowGap: "s",
10633
+ spacing: "0",
10634
+ wrap: layout === "row" ? "wrap" : null,
10635
+ sx: {
10636
+ "> div": {
10637
+ _notFirst: {
10638
+ mx: "0"
10639
+ }
10640
+ }
10641
+ }
10642
+ }, newChildren && newChildren.map(function (newChild, i) {
10643
+ return React__default.createElement(Box, {
10644
+ key: "filter-bar-child-" + i
10645
+ }, newChild);
10646
+ }), (showSubmitAll || showClearAll) && React__default.createElement(ButtonGroup, {
10647
+ layout: finalLayout,
10648
+ __css: styles.globalButtonGroup,
10649
+ buttonWidth: layout === "column" ? "full" : "default"
10650
+ }, showSubmitAll && React__default.createElement(Button, {
10651
+ buttonType: "primary",
10652
+ id: id + "-submit-all-button",
10653
+ onClick: onSubmit
10654
+ }, "Apply Filters"), showClearAll && React__default.createElement(Button, {
10655
+ buttonType: "text",
10656
+ id: id + "-clear-all-button",
10657
+ onClick: onClear,
10658
+ textAlign: "center"
10659
+ }, "Clear Filters")))) : React__default.createElement(React__default.Fragment, null, React__default.createElement(Button, {
10660
+ id: "filter-bar-" + id + "-show-filters",
10661
+ buttonType: "secondary",
10662
+ onClick: function onClick() {
10663
+ onToggle === undefined ? onOpen() : onToggle();
10664
+ }
10665
+ }, "Show Filter " + getSelectedItemsCount()), React__default.createElement(Modal, {
10666
+ isOpen: isOpen,
10667
+ onClose: function onClose() {
10668
+ onToggle === undefined ? _onClose() : onToggle();
10669
+ },
10670
+ size: "full",
10671
+ scrollBehavior: "inside"
10672
+ }, React__default.createElement(ModalOverlay, null), React__default.createElement(ModalContent, null, React__default.createElement(ModalHeader, {
10673
+ sx: styles.modalHeader
10674
+ }, "Filter Criteria"), React__default.createElement(ModalCloseButton, {
10675
+ sx: styles.modalCloseButton
10676
+ }), React__default.createElement(ModalBody, null, newChildren), React__default.createElement(ModalFooter, {
10677
+ sx: styles.modalFooter
10678
+ }, React__default.createElement(ButtonGroup, {
10679
+ layout: "row",
10680
+ buttonWidth: "full"
10681
+ }, React__default.createElement(Button, {
10682
+ id: "filter-bar-" + id + "-see-results",
10683
+ type: "submit",
10684
+ onClick: function onClick() {
10685
+ onSubmit();
10686
+ onToggle === undefined ? _onClose() : onToggle();
10687
+ }
10688
+ }, "Show Results"), React__default.createElement(Button, {
10689
+ id: "filter-bar-" + id + "-clear",
10690
+ buttonType: "text",
10691
+ type: "reset",
10692
+ textAlign: "center",
10693
+ onClick: onClear
10694
+ }, "Clear Filters")))))));
10695
+ }));
10696
+
10697
+ var _excluded$1l = ["children", "className", "id", "inline", "listItems", "noStyling", "title", "type"];
10698
+ /**
10699
+ * A component that renders list item `li` elements or description item `dt`
10700
+ * and `dd` elements based on the `type` prop. Note that the `title` prop will
10701
+ * only display for the `Description` list type.
10702
+ */
10703
+ var List$1 = /*#__PURE__*/chakra( /*#__PURE__*/forwardRef(function (props, ref) {
10704
+ var children = props.children,
10705
+ className = props.className,
10706
+ id = props.id,
10707
+ _props$inline = props.inline,
10708
+ inline = _props$inline === void 0 ? false : _props$inline,
10709
+ listItems = props.listItems,
10710
+ _props$noStyling = props.noStyling,
10711
+ noStyling = _props$noStyling === void 0 ? false : _props$noStyling,
10712
+ title = props.title,
10713
+ _props$type = props.type,
10714
+ type = _props$type === void 0 ? "ul" : _props$type,
10715
+ rest = _objectWithoutPropertiesLoose(props, _excluded$1l);
10716
+ var styles = useStyleConfig("List", {
10717
+ inline: inline,
10718
+ noStyling: noStyling,
10719
+ variant: type
10720
+ });
10721
+ var listElement = null;
10722
+ // Either li/dt/dd children elements must be passed or the `listItems`
10723
+ // prop must be used.
10724
+ if (children && listItems && (listItems == null ? void 0 : listItems.length) > 0) {
10725
+ console.warn("NYPL Reservoir List: Pass in either `<li>`, `<dt>`, or `<dd>` " + "children or use the `listItems` data prop. Do not use both.");
10726
+ return null;
10727
+ }
10728
+ if (!children && !listItems) {
10729
+ console.warn("NYPL Reservoir List: Pass in either `<li>` children or pass data in " + "the `listItems` prop, not both.");
10730
+ return null;
10731
+ }
10732
+ /**
10733
+ * This returns either the `children` elements passed to the `List` component
10734
+ * first, otherwise it will check and render the data passed into the
10735
+ * `listItems` props based on the `ListType` type. If it is of type unordered
10736
+ * or ordered, it will return `li` elements. Otherwise, it will return a
10737
+ * combination of `dt` and `dd` elements for the description type.
10738
+ */
10739
+ var listChildrenElms = function listChildrenElms(listType) {
10740
+ if (children) {
10741
+ return children;
10742
+ }
10743
+ if (!listItems) {
10744
+ return null;
10745
+ }
10746
+ if (listType === "ol" || listType === "ul") {
10747
+ return listItems.map(function (item, i) {
10748
+ return React__default.createElement("li", {
10749
+ key: i
10750
+ }, item);
10751
+ });
10752
+ } else if (listType === "dl") {
10753
+ return listItems.map(function (item, i) {
10754
+ return [React__default.createElement("dt", {
10755
+ key: i + "-term"
10756
+ }, item.term), React__default.createElement("dd", {
10757
+ key: i + "-des"
10758
+ }, item.description)];
10759
+ });
10760
+ }
10761
+ return null;
10762
+ };
10763
+ /**
10764
+ * Checks for `dt` and `dd` elements and consoles a warning if the
10765
+ * children are different HTML elements.
10766
+ */
10767
+ var checkDescriptionChildrenError = function checkDescriptionChildrenError() {
10768
+ React__default.Children.map(children, function (child) {
10769
+ if (child.type !== "dt" && child.type !== "dd" && child.type !== React__default.Fragment && child.props.mdxType !== "dt" && child.props.mdxType !== "dd" && child.props.mdxType !== React__default.Fragment) {
10770
+ console.warn("NYPL Reservoir List: Direct children of `List` (description) must " + "be `<dt>`s and `<dd>`s.");
10771
+ }
10772
+ });
10773
+ };
10774
+ if (type === "ol" || type === "ul") {
10775
+ checkListChildrenError(children, type);
10776
+ listElement = React__default.createElement(Box, Object.assign({
10777
+ as: type,
10778
+ id: id,
10779
+ className: className,
10780
+ ref: ref,
10781
+ __css: styles
10782
+ }, rest), listChildrenElms(type));
10783
+ } else if (type === "dl") {
10784
+ checkDescriptionChildrenError();
10785
+ listElement = React__default.createElement(Box, Object.assign({
10786
+ as: "section",
10787
+ id: id,
10788
+ className: className,
10789
+ ref: ref,
10790
+ __css: styles
10791
+ }, rest), title && React__default.createElement(Heading, {
10792
+ id: id + "-heading"
10793
+ }, title), React__default.createElement("dl", null, listChildrenElms(type)));
10794
+ }
10795
+ return listElement;
9852
10796
  }));
9853
10797
  /**
9854
10798
  * Checks for `li` elements and consoles a warning if the
@@ -9870,14 +10814,14 @@ var checkListChildrenError = function checkListChildrenError(children, listType,
9870
10814
  };
9871
10815
 
9872
10816
  var _path$L, _path2$f, _path3$7;
9873
- var _excluded$1g = ["title", "titleId"];
10817
+ var _excluded$1m = ["title", "titleId"];
9874
10818
  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); }
9875
10819
  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; }
9876
10820
  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; }
9877
10821
  var SvgLogoAppleAppStoreBlack = function SvgLogoAppleAppStoreBlack(_ref) {
9878
10822
  var title = _ref.title,
9879
10823
  titleId = _ref.titleId,
9880
- props = _objectWithoutProperties$Q(_ref, _excluded$1g);
10824
+ props = _objectWithoutProperties$Q(_ref, _excluded$1m);
9881
10825
  return /*#__PURE__*/createElement("svg", _extends$R({
9882
10826
  viewBox: "0 0 200 67",
9883
10827
  fill: "none",
@@ -9898,14 +10842,14 @@ var SvgLogoAppleAppStoreBlack = function SvgLogoAppleAppStoreBlack(_ref) {
9898
10842
  };
9899
10843
 
9900
10844
  var _path$M, _path2$g, _path3$8;
9901
- var _excluded$1h = ["title", "titleId"];
10845
+ var _excluded$1n = ["title", "titleId"];
9902
10846
  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); }
9903
10847
  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; }
9904
10848
  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; }
9905
10849
  var SvgLogoAppleAppStoreWhite = function SvgLogoAppleAppStoreWhite(_ref) {
9906
10850
  var title = _ref.title,
9907
10851
  titleId = _ref.titleId,
9908
- props = _objectWithoutProperties$R(_ref, _excluded$1h);
10852
+ props = _objectWithoutProperties$R(_ref, _excluded$1n);
9909
10853
  return /*#__PURE__*/createElement("svg", _extends$S({
9910
10854
  viewBox: "0 0 200 67",
9911
10855
  fill: "none",
@@ -9926,14 +10870,14 @@ var SvgLogoAppleAppStoreWhite = function SvgLogoAppleAppStoreWhite(_ref) {
9926
10870
  };
9927
10871
 
9928
10872
  var _path$N, _path2$h, _path3$9;
9929
- var _excluded$1i = ["title", "titleId"];
10873
+ var _excluded$1o = ["title", "titleId"];
9930
10874
  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); }
9931
10875
  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; }
9932
10876
  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; }
9933
10877
  var SvgLogoBplBlack = function SvgLogoBplBlack(_ref) {
9934
10878
  var title = _ref.title,
9935
10879
  titleId = _ref.titleId,
9936
- props = _objectWithoutProperties$S(_ref, _excluded$1i);
10880
+ props = _objectWithoutProperties$S(_ref, _excluded$1o);
9937
10881
  return /*#__PURE__*/createElement("svg", _extends$T({
9938
10882
  viewBox: "0 0 328 120",
9939
10883
  xmlns: "http://www.w3.org/2000/svg",
@@ -9950,14 +10894,14 @@ var SvgLogoBplBlack = function SvgLogoBplBlack(_ref) {
9950
10894
  };
9951
10895
 
9952
10896
  var _path$O, _path2$i, _path3$a;
9953
- var _excluded$1j = ["title", "titleId"];
10897
+ var _excluded$1p = ["title", "titleId"];
9954
10898
  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); }
9955
10899
  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; }
9956
10900
  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; }
9957
10901
  var SvgLogoBplWhite = function SvgLogoBplWhite(_ref) {
9958
10902
  var title = _ref.title,
9959
10903
  titleId = _ref.titleId,
9960
- props = _objectWithoutProperties$T(_ref, _excluded$1j);
10904
+ props = _objectWithoutProperties$T(_ref, _excluded$1p);
9961
10905
  return /*#__PURE__*/createElement("svg", _extends$U({
9962
10906
  viewBox: "0 0 328 120",
9963
10907
  fill: "#fff",
@@ -9975,14 +10919,14 @@ var SvgLogoBplWhite = function SvgLogoBplWhite(_ref) {
9975
10919
  };
9976
10920
 
9977
10921
  var _rect$2, _path$P;
9978
- var _excluded$1k = ["title", "titleId"];
10922
+ var _excluded$1q = ["title", "titleId"];
9979
10923
  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); }
9980
10924
  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; }
9981
10925
  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; }
9982
10926
  var SvgLogoCleverBadgeColor = function SvgLogoCleverBadgeColor(_ref) {
9983
10927
  var title = _ref.title,
9984
10928
  titleId = _ref.titleId,
9985
- props = _objectWithoutProperties$U(_ref, _excluded$1k);
10929
+ props = _objectWithoutProperties$U(_ref, _excluded$1q);
9986
10930
  return /*#__PURE__*/createElement("svg", _extends$V({
9987
10931
  viewBox: "0 0 118 119",
9988
10932
  fill: "none",
@@ -10005,14 +10949,14 @@ var SvgLogoCleverBadgeColor = function SvgLogoCleverBadgeColor(_ref) {
10005
10949
  };
10006
10950
 
10007
10951
  var _path$Q;
10008
- var _excluded$1l = ["title", "titleId"];
10952
+ var _excluded$1r = ["title", "titleId"];
10009
10953
  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); }
10010
10954
  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; }
10011
10955
  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; }
10012
10956
  var SvgLogoCleverColor = function SvgLogoCleverColor(_ref) {
10013
10957
  var title = _ref.title,
10014
10958
  titleId = _ref.titleId,
10015
- props = _objectWithoutProperties$V(_ref, _excluded$1l);
10959
+ props = _objectWithoutProperties$V(_ref, _excluded$1r);
10016
10960
  return /*#__PURE__*/createElement("svg", _extends$W({
10017
10961
  viewBox: "0 0 312 88",
10018
10962
  fill: "#436CF2",
@@ -10028,14 +10972,14 @@ var SvgLogoCleverColor = function SvgLogoCleverColor(_ref) {
10028
10972
  };
10029
10973
 
10030
10974
  var _path$R;
10031
- var _excluded$1m = ["title", "titleId"];
10975
+ var _excluded$1s = ["title", "titleId"];
10032
10976
  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); }
10033
10977
  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; }
10034
10978
  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; }
10035
10979
  var SvgLogoCleverWhite = function SvgLogoCleverWhite(_ref) {
10036
10980
  var title = _ref.title,
10037
10981
  titleId = _ref.titleId,
10038
- props = _objectWithoutProperties$W(_ref, _excluded$1m);
10982
+ props = _objectWithoutProperties$W(_ref, _excluded$1s);
10039
10983
  return /*#__PURE__*/createElement("svg", _extends$X({
10040
10984
  viewBox: "0 0 312 88",
10041
10985
  fill: "#fff",
@@ -10051,14 +10995,14 @@ var SvgLogoCleverWhite = function SvgLogoCleverWhite(_ref) {
10051
10995
  };
10052
10996
 
10053
10997
  var _path$S, _path2$j, _path3$b, _path4$1, _path5, _path6, _path7, _path8, _path9, _path10, _path11, _path12, _path13;
10054
- var _excluded$1n = ["title", "titleId"];
10998
+ var _excluded$1t = ["title", "titleId"];
10055
10999
  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); }
10056
11000
  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; }
10057
11001
  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; }
10058
11002
  var SvgLogoFirstbookColor = function SvgLogoFirstbookColor(_ref) {
10059
11003
  var title = _ref.title,
10060
11004
  titleId = _ref.titleId,
10061
- props = _objectWithoutProperties$X(_ref, _excluded$1n);
11005
+ props = _objectWithoutProperties$X(_ref, _excluded$1t);
10062
11006
  return /*#__PURE__*/createElement("svg", _extends$Y({
10063
11007
  viewBox: "0 0 172 152",
10064
11008
  fill: "none",
@@ -10109,14 +11053,14 @@ var SvgLogoFirstbookColor = function SvgLogoFirstbookColor(_ref) {
10109
11053
  };
10110
11054
 
10111
11055
  var _g$3;
10112
- var _excluded$1o = ["title", "titleId"];
11056
+ var _excluded$1u = ["title", "titleId"];
10113
11057
  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); }
10114
11058
  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; }
10115
11059
  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; }
10116
11060
  var SvgLogoFirstbookColorNegative = function SvgLogoFirstbookColorNegative(_ref) {
10117
11061
  var title = _ref.title,
10118
11062
  titleId = _ref.titleId,
10119
- props = _objectWithoutProperties$Y(_ref, _excluded$1o);
11063
+ props = _objectWithoutProperties$Y(_ref, _excluded$1u);
10120
11064
  return /*#__PURE__*/createElement("svg", _extends$Z({
10121
11065
  viewBox: "0 0 170 150",
10122
11066
  fill: "none",
@@ -10172,14 +11116,14 @@ var SvgLogoFirstbookColorNegative = function SvgLogoFirstbookColorNegative(_ref)
10172
11116
  };
10173
11117
 
10174
11118
  var _g$4, _defs;
10175
- var _excluded$1p = ["title", "titleId"];
11119
+ var _excluded$1v = ["title", "titleId"];
10176
11120
  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); }
10177
11121
  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; }
10178
11122
  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; }
10179
11123
  var SvgLogoGooglePlayBlack = function SvgLogoGooglePlayBlack(_ref) {
10180
11124
  var title = _ref.title,
10181
11125
  titleId = _ref.titleId,
10182
- props = _objectWithoutProperties$Z(_ref, _excluded$1p);
11126
+ props = _objectWithoutProperties$Z(_ref, _excluded$1v);
10183
11127
  return /*#__PURE__*/createElement("svg", _extends$_({
10184
11128
  viewBox: "0 0 200 60",
10185
11129
  fill: "none",
@@ -10312,14 +11256,14 @@ var SvgLogoGooglePlayBlack = function SvgLogoGooglePlayBlack(_ref) {
10312
11256
  };
10313
11257
 
10314
11258
  var _path$T, _path2$k;
10315
- var _excluded$1q = ["title", "titleId"];
11259
+ var _excluded$1w = ["title", "titleId"];
10316
11260
  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); }
10317
11261
  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; }
10318
11262
  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; }
10319
11263
  var SvgLogoLpaColor = function SvgLogoLpaColor(_ref) {
10320
11264
  var title = _ref.title,
10321
11265
  titleId = _ref.titleId,
10322
- props = _objectWithoutProperties$_(_ref, _excluded$1q);
11266
+ props = _objectWithoutProperties$_(_ref, _excluded$1w);
10323
11267
  return /*#__PURE__*/createElement("svg", _extends$$({
10324
11268
  viewBox: "0 0 186 74",
10325
11269
  fill: "none",
@@ -10337,14 +11281,14 @@ var SvgLogoLpaColor = function SvgLogoLpaColor(_ref) {
10337
11281
  };
10338
11282
 
10339
11283
  var _path$U;
10340
- var _excluded$1r = ["title", "titleId"];
11284
+ var _excluded$1x = ["title", "titleId"];
10341
11285
  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); }
10342
11286
  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; }
10343
11287
  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; }
10344
11288
  var SvgLogoLpaBlack = function SvgLogoLpaBlack(_ref) {
10345
11289
  var title = _ref.title,
10346
11290
  titleId = _ref.titleId,
10347
- props = _objectWithoutProperties$$(_ref, _excluded$1r);
11291
+ props = _objectWithoutProperties$$(_ref, _excluded$1x);
10348
11292
  return /*#__PURE__*/createElement("svg", _extends$10({
10349
11293
  viewBox: "0 0 186 74",
10350
11294
  xmlns: "http://www.w3.org/2000/svg",
@@ -10357,14 +11301,14 @@ var SvgLogoLpaBlack = function SvgLogoLpaBlack(_ref) {
10357
11301
  };
10358
11302
 
10359
11303
  var _path$V;
10360
- var _excluded$1s = ["title", "titleId"];
11304
+ var _excluded$1y = ["title", "titleId"];
10361
11305
  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); }
10362
11306
  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; }
10363
11307
  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; }
10364
11308
  var SvgLogoLpaWhite = function SvgLogoLpaWhite(_ref) {
10365
11309
  var title = _ref.title,
10366
11310
  titleId = _ref.titleId,
10367
- props = _objectWithoutProperties$10(_ref, _excluded$1s);
11311
+ props = _objectWithoutProperties$10(_ref, _excluded$1y);
10368
11312
  return /*#__PURE__*/createElement("svg", _extends$11({
10369
11313
  viewBox: "0 0 186 74",
10370
11314
  fill: "#fff",
@@ -10378,14 +11322,14 @@ var SvgLogoLpaWhite = function SvgLogoLpaWhite(_ref) {
10378
11322
  };
10379
11323
 
10380
11324
  var _g$5;
10381
- var _excluded$1t = ["title", "titleId"];
11325
+ var _excluded$1z = ["title", "titleId"];
10382
11326
  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); }
10383
11327
  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; }
10384
11328
  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; }
10385
11329
  var SvgLogoMlnBlack = function SvgLogoMlnBlack(_ref) {
10386
11330
  var title = _ref.title,
10387
11331
  titleId = _ref.titleId,
10388
- props = _objectWithoutProperties$11(_ref, _excluded$1t);
11332
+ props = _objectWithoutProperties$11(_ref, _excluded$1z);
10389
11333
  return /*#__PURE__*/createElement("svg", _extends$12({
10390
11334
  viewBox: "0 0 300 71",
10391
11335
  xmlns: "http://www.w3.org/2000/svg",
@@ -10400,14 +11344,14 @@ var SvgLogoMlnBlack = function SvgLogoMlnBlack(_ref) {
10400
11344
  };
10401
11345
 
10402
11346
  var _g$6;
10403
- var _excluded$1u = ["title", "titleId"];
11347
+ var _excluded$1A = ["title", "titleId"];
10404
11348
  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); }
10405
11349
  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; }
10406
11350
  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; }
10407
11351
  var SvgLogoMlnColor = function SvgLogoMlnColor(_ref) {
10408
11352
  var title = _ref.title,
10409
11353
  titleId = _ref.titleId,
10410
- props = _objectWithoutProperties$12(_ref, _excluded$1u);
11354
+ props = _objectWithoutProperties$12(_ref, _excluded$1A);
10411
11355
  return /*#__PURE__*/createElement("svg", _extends$13({
10412
11356
  viewBox: "0 0 300 71",
10413
11357
  fill: "#C60917",
@@ -10423,14 +11367,14 @@ var SvgLogoMlnColor = function SvgLogoMlnColor(_ref) {
10423
11367
  };
10424
11368
 
10425
11369
  var _g$7;
10426
- var _excluded$1v = ["title", "titleId"];
11370
+ var _excluded$1B = ["title", "titleId"];
10427
11371
  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); }
10428
11372
  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; }
10429
11373
  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; }
10430
11374
  var SvgLogoMlnWhite = function SvgLogoMlnWhite(_ref) {
10431
11375
  var title = _ref.title,
10432
11376
  titleId = _ref.titleId,
10433
- props = _objectWithoutProperties$13(_ref, _excluded$1v);
11377
+ props = _objectWithoutProperties$13(_ref, _excluded$1B);
10434
11378
  return /*#__PURE__*/createElement("svg", _extends$14({
10435
11379
  viewBox: "0 0 300 71",
10436
11380
  fill: "#fff",
@@ -10446,14 +11390,14 @@ var SvgLogoMlnWhite = function SvgLogoMlnWhite(_ref) {
10446
11390
  };
10447
11391
 
10448
11392
  var _g$8, _defs$1;
10449
- var _excluded$1w = ["title", "titleId"];
11393
+ var _excluded$1C = ["title", "titleId"];
10450
11394
  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); }
10451
11395
  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; }
10452
11396
  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; }
10453
11397
  var SvgLogoNycdoeColor = function SvgLogoNycdoeColor(_ref) {
10454
11398
  var title = _ref.title,
10455
11399
  titleId = _ref.titleId,
10456
- props = _objectWithoutProperties$14(_ref, _excluded$1w);
11400
+ props = _objectWithoutProperties$14(_ref, _excluded$1C);
10457
11401
  return /*#__PURE__*/createElement("svg", _extends$15({
10458
11402
  viewBox: "0 0 341 61",
10459
11403
  fill: "none",
@@ -10486,14 +11430,14 @@ var SvgLogoNycdoeColor = function SvgLogoNycdoeColor(_ref) {
10486
11430
  })))));
10487
11431
  };
10488
11432
 
10489
- var _excluded$1x = ["title", "titleId"];
11433
+ var _excluded$1D = ["title", "titleId"];
10490
11434
  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); }
10491
11435
  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; }
10492
11436
  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; }
10493
11437
  var SvgLogoNyplFullBlack = function SvgLogoNyplFullBlack(_ref) {
10494
11438
  var title = _ref.title,
10495
11439
  titleId = _ref.titleId,
10496
- props = _objectWithoutProperties$15(_ref, _excluded$1x);
11440
+ props = _objectWithoutProperties$15(_ref, _excluded$1D);
10497
11441
  return /*#__PURE__*/createElement("svg", _extends$16({
10498
11442
  xmlns: "http://www.w3.org/2000/svg",
10499
11443
  viewBox: "0 0 966.787 543.733",
@@ -10568,14 +11512,14 @@ var SvgLogoNyplFullBlack = function SvgLogoNyplFullBlack(_ref) {
10568
11512
  };
10569
11513
 
10570
11514
  var _g$9, _defs$2;
10571
- var _excluded$1y = ["title", "titleId"];
11515
+ var _excluded$1E = ["title", "titleId"];
10572
11516
  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); }
10573
11517
  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; }
10574
11518
  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; }
10575
11519
  var SvgLogoNyplFullWhite = function SvgLogoNyplFullWhite(_ref) {
10576
11520
  var title = _ref.title,
10577
11521
  titleId = _ref.titleId,
10578
- props = _objectWithoutProperties$16(_ref, _excluded$1y);
11522
+ props = _objectWithoutProperties$16(_ref, _excluded$1E);
10579
11523
  return /*#__PURE__*/createElement("svg", _extends$17({
10580
11524
  viewBox: "0 0 967 568",
10581
11525
  fill: "none",
@@ -10603,14 +11547,14 @@ var SvgLogoNyplFullWhite = function SvgLogoNyplFullWhite(_ref) {
10603
11547
  };
10604
11548
 
10605
11549
  var _path$W, _path2$l, _path3$c;
10606
- var _excluded$1z = ["title", "titleId"];
11550
+ var _excluded$1F = ["title", "titleId"];
10607
11551
  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); }
10608
11552
  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; }
10609
11553
  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; }
10610
11554
  var SvgLogoNyplLionBlack = function SvgLogoNyplLionBlack(_ref) {
10611
11555
  var title = _ref.title,
10612
11556
  titleId = _ref.titleId,
10613
- props = _objectWithoutProperties$17(_ref, _excluded$1z);
11557
+ props = _objectWithoutProperties$17(_ref, _excluded$1F);
10614
11558
  return /*#__PURE__*/createElement("svg", _extends$18({
10615
11559
  viewBox: "0 0 136 135",
10616
11560
  fill: "none",
@@ -10633,14 +11577,14 @@ var SvgLogoNyplLionBlack = function SvgLogoNyplLionBlack(_ref) {
10633
11577
  };
10634
11578
 
10635
11579
  var _path$X;
10636
- var _excluded$1A = ["title", "titleId"];
11580
+ var _excluded$1G = ["title", "titleId"];
10637
11581
  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); }
10638
11582
  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; }
10639
11583
  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; }
10640
11584
  var SvgLogoNyplLionWhite = function SvgLogoNyplLionWhite(_ref) {
10641
11585
  var title = _ref.title,
10642
11586
  titleId = _ref.titleId,
10643
- props = _objectWithoutProperties$18(_ref, _excluded$1A);
11587
+ props = _objectWithoutProperties$18(_ref, _excluded$1G);
10644
11588
  return /*#__PURE__*/createElement("svg", _extends$19({
10645
11589
  viewBox: "0 0 125 126",
10646
11590
  fill: "none",
@@ -10657,14 +11601,14 @@ var SvgLogoNyplLionWhite = function SvgLogoNyplLionWhite(_ref) {
10657
11601
  };
10658
11602
 
10659
11603
  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;
10660
- var _excluded$1B = ["title", "titleId"];
11604
+ var _excluded$1H = ["title", "titleId"];
10661
11605
  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); }
10662
11606
  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; }
10663
11607
  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; }
10664
11608
  var SvgLogoNyplTextBlack = function SvgLogoNyplTextBlack(_ref) {
10665
11609
  var title = _ref.title,
10666
11610
  titleId = _ref.titleId,
10667
- props = _objectWithoutProperties$19(_ref, _excluded$1B);
11611
+ props = _objectWithoutProperties$19(_ref, _excluded$1H);
10668
11612
  return /*#__PURE__*/createElement("svg", _extends$1a({
10669
11613
  viewBox: "0 0 201 165",
10670
11614
  fill: "none",
@@ -10735,14 +11679,14 @@ var SvgLogoNyplTextBlack = function SvgLogoNyplTextBlack(_ref) {
10735
11679
  };
10736
11680
 
10737
11681
  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;
10738
- var _excluded$1C = ["title", "titleId"];
11682
+ var _excluded$1I = ["title", "titleId"];
10739
11683
  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); }
10740
11684
  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; }
10741
11685
  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; }
10742
11686
  var SvgLogoNyplTextWhite = function SvgLogoNyplTextWhite(_ref) {
10743
11687
  var title = _ref.title,
10744
11688
  titleId = _ref.titleId,
10745
- props = _objectWithoutProperties$1a(_ref, _excluded$1C);
11689
+ props = _objectWithoutProperties$1a(_ref, _excluded$1I);
10746
11690
  return /*#__PURE__*/createElement("svg", _extends$1b({
10747
11691
  viewBox: "0 0 201 165",
10748
11692
  fill: "none",
@@ -10813,14 +11757,14 @@ var SvgLogoNyplTextWhite = function SvgLogoNyplTextWhite(_ref) {
10813
11757
  };
10814
11758
 
10815
11759
  var _g$a, _defs$3;
10816
- var _excluded$1D = ["title", "titleId"];
11760
+ var _excluded$1J = ["title", "titleId"];
10817
11761
  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); }
10818
11762
  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; }
10819
11763
  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; }
10820
11764
  var SvgLogoOpenebooksColor = function SvgLogoOpenebooksColor(_ref) {
10821
11765
  var title = _ref.title,
10822
11766
  titleId = _ref.titleId,
10823
- props = _objectWithoutProperties$1b(_ref, _excluded$1D);
11767
+ props = _objectWithoutProperties$1b(_ref, _excluded$1J);
10824
11768
  return /*#__PURE__*/createElement("svg", _extends$1c({
10825
11769
  viewBox: "0 0 152 139",
10826
11770
  fill: "none",
@@ -10868,14 +11812,14 @@ var SvgLogoOpenebooksColor = function SvgLogoOpenebooksColor(_ref) {
10868
11812
  };
10869
11813
 
10870
11814
  var _g$b, _defs$4;
10871
- var _excluded$1E = ["title", "titleId"];
11815
+ var _excluded$1K = ["title", "titleId"];
10872
11816
  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); }
10873
11817
  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; }
10874
11818
  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; }
10875
11819
  var SvgLogoOpenebooksNegative = function SvgLogoOpenebooksNegative(_ref) {
10876
11820
  var title = _ref.title,
10877
11821
  titleId = _ref.titleId,
10878
- props = _objectWithoutProperties$1c(_ref, _excluded$1E);
11822
+ props = _objectWithoutProperties$1c(_ref, _excluded$1K);
10879
11823
  return /*#__PURE__*/createElement("svg", _extends$1d({
10880
11824
  viewBox: "0 0 155 139",
10881
11825
  fill: "none",
@@ -10946,14 +11890,14 @@ var SvgLogoOpenebooksNegative = function SvgLogoOpenebooksNegative(_ref) {
10946
11890
  };
10947
11891
 
10948
11892
  var _g$c, _defs$5;
10949
- var _excluded$1F = ["title", "titleId"];
11893
+ var _excluded$1L = ["title", "titleId"];
10950
11894
  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); }
10951
11895
  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; }
10952
11896
  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; }
10953
11897
  var SvgLogoOpenebooksWithTextColor = function SvgLogoOpenebooksWithTextColor(_ref) {
10954
11898
  var title = _ref.title,
10955
11899
  titleId = _ref.titleId,
10956
- props = _objectWithoutProperties$1d(_ref, _excluded$1F);
11900
+ props = _objectWithoutProperties$1d(_ref, _excluded$1L);
10957
11901
  return /*#__PURE__*/createElement("svg", _extends$1e({
10958
11902
  viewBox: "0 0 152 139",
10959
11903
  fill: "none",
@@ -11001,14 +11945,14 @@ var SvgLogoOpenebooksWithTextColor = function SvgLogoOpenebooksWithTextColor(_re
11001
11945
  };
11002
11946
 
11003
11947
  var _g$d, _defs$6;
11004
- var _excluded$1G = ["title", "titleId"];
11948
+ var _excluded$1M = ["title", "titleId"];
11005
11949
  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); }
11006
11950
  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; }
11007
11951
  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; }
11008
11952
  var SvgLogoOpenebooksWithTextNegative = function SvgLogoOpenebooksWithTextNegative(_ref) {
11009
11953
  var title = _ref.title,
11010
11954
  titleId = _ref.titleId,
11011
- props = _objectWithoutProperties$1e(_ref, _excluded$1G);
11955
+ props = _objectWithoutProperties$1e(_ref, _excluded$1M);
11012
11956
  return /*#__PURE__*/createElement("svg", _extends$1f({
11013
11957
  viewBox: "0 0 155 139",
11014
11958
  fill: "none",
@@ -11082,14 +12026,14 @@ var SvgLogoOpenebooksWithTextNegative = function SvgLogoOpenebooksWithTextNegati
11082
12026
  };
11083
12027
 
11084
12028
  var _path$_;
11085
- var _excluded$1H = ["title", "titleId"];
12029
+ var _excluded$1N = ["title", "titleId"];
11086
12030
  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); }
11087
12031
  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; }
11088
12032
  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; }
11089
12033
  var SvgLogoQplAltBlack = function SvgLogoQplAltBlack(_ref) {
11090
12034
  var title = _ref.title,
11091
12035
  titleId = _ref.titleId,
11092
- props = _objectWithoutProperties$1f(_ref, _excluded$1H);
12036
+ props = _objectWithoutProperties$1f(_ref, _excluded$1N);
11093
12037
  return /*#__PURE__*/createElement("svg", _extends$1g({
11094
12038
  viewBox: "0 0 250 134",
11095
12039
  xmlns: "http://www.w3.org/2000/svg",
@@ -11102,14 +12046,14 @@ var SvgLogoQplAltBlack = function SvgLogoQplAltBlack(_ref) {
11102
12046
  };
11103
12047
 
11104
12048
  var _path$$;
11105
- var _excluded$1I = ["title", "titleId"];
12049
+ var _excluded$1O = ["title", "titleId"];
11106
12050
  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); }
11107
12051
  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; }
11108
12052
  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; }
11109
12053
  var SvgLogoQplAltWhite = function SvgLogoQplAltWhite(_ref) {
11110
12054
  var title = _ref.title,
11111
12055
  titleId = _ref.titleId,
11112
- props = _objectWithoutProperties$1g(_ref, _excluded$1I);
12056
+ props = _objectWithoutProperties$1g(_ref, _excluded$1O);
11113
12057
  return /*#__PURE__*/createElement("svg", _extends$1h({
11114
12058
  viewBox: "0 0 250 134",
11115
12059
  fill: "#fff",
@@ -11123,14 +12067,14 @@ var SvgLogoQplAltWhite = function SvgLogoQplAltWhite(_ref) {
11123
12067
  };
11124
12068
 
11125
12069
  var _path$10, _path2$o, _path3$f, _path4$4, _path5$3;
11126
- var _excluded$1J = ["title", "titleId"];
12070
+ var _excluded$1P = ["title", "titleId"];
11127
12071
  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); }
11128
12072
  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; }
11129
12073
  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; }
11130
12074
  var SvgLogoQplBlack = function SvgLogoQplBlack(_ref) {
11131
12075
  var title = _ref.title,
11132
12076
  titleId = _ref.titleId,
11133
- props = _objectWithoutProperties$1h(_ref, _excluded$1J);
12077
+ props = _objectWithoutProperties$1h(_ref, _excluded$1P);
11134
12078
  return /*#__PURE__*/createElement("svg", _extends$1i({
11135
12079
  viewBox: "0 0 320 43",
11136
12080
  xmlns: "http://www.w3.org/2000/svg",
@@ -11159,14 +12103,14 @@ var SvgLogoQplBlack = function SvgLogoQplBlack(_ref) {
11159
12103
  };
11160
12104
 
11161
12105
  var _g$e, _defs$7;
11162
- var _excluded$1K = ["title", "titleId"];
12106
+ var _excluded$1Q = ["title", "titleId"];
11163
12107
  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); }
11164
12108
  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; }
11165
12109
  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; }
11166
12110
  var SvgLogoQplColor = function SvgLogoQplColor(_ref) {
11167
12111
  var title = _ref.title,
11168
12112
  titleId = _ref.titleId,
11169
- props = _objectWithoutProperties$1i(_ref, _excluded$1K);
12113
+ props = _objectWithoutProperties$1i(_ref, _excluded$1Q);
11170
12114
  return /*#__PURE__*/createElement("svg", _extends$1j({
11171
12115
  viewBox: "0 0 355 48",
11172
12116
  fill: "none",
@@ -11214,14 +12158,14 @@ var SvgLogoQplColor = function SvgLogoQplColor(_ref) {
11214
12158
  };
11215
12159
 
11216
12160
  var _path$11, _path2$p, _path3$g, _path4$5, _path5$4;
11217
- var _excluded$1L = ["title", "titleId"];
12161
+ var _excluded$1R = ["title", "titleId"];
11218
12162
  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); }
11219
12163
  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; }
11220
12164
  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; }
11221
12165
  var SvgLogoQplWhite = function SvgLogoQplWhite(_ref) {
11222
12166
  var title = _ref.title,
11223
12167
  titleId = _ref.titleId,
11224
- props = _objectWithoutProperties$1j(_ref, _excluded$1L);
12168
+ props = _objectWithoutProperties$1j(_ref, _excluded$1R);
11225
12169
  return /*#__PURE__*/createElement("svg", _extends$1k({
11226
12170
  viewBox: "0 0 320 43",
11227
12171
  fill: "#fff",
@@ -11251,14 +12195,14 @@ var SvgLogoQplWhite = function SvgLogoQplWhite(_ref) {
11251
12195
  };
11252
12196
 
11253
12197
  var _path$12, _path2$q, _path3$h, _path4$6, _path5$5;
11254
- var _excluded$1M = ["title", "titleId"];
12198
+ var _excluded$1S = ["title", "titleId"];
11255
12199
  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); }
11256
12200
  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; }
11257
12201
  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; }
11258
12202
  var SvgLogoReservoirIconColor = function SvgLogoReservoirIconColor(_ref) {
11259
12203
  var title = _ref.title,
11260
12204
  titleId = _ref.titleId,
11261
- props = _objectWithoutProperties$1k(_ref, _excluded$1M);
12205
+ props = _objectWithoutProperties$1k(_ref, _excluded$1S);
11262
12206
  return /*#__PURE__*/createElement("svg", _extends$1l({
11263
12207
  viewBox: "0 0 105 129",
11264
12208
  fill: "none",
@@ -11285,14 +12229,14 @@ var SvgLogoReservoirIconColor = function SvgLogoReservoirIconColor(_ref) {
11285
12229
  };
11286
12230
 
11287
12231
  var _g$f;
11288
- var _excluded$1N = ["title", "titleId"];
12232
+ var _excluded$1T = ["title", "titleId"];
11289
12233
  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); }
11290
12234
  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; }
11291
12235
  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; }
11292
12236
  var SvgLogoReservoirVerticalColor = function SvgLogoReservoirVerticalColor(_ref) {
11293
12237
  var title = _ref.title,
11294
12238
  titleId = _ref.titleId,
11295
- props = _objectWithoutProperties$1l(_ref, _excluded$1N);
12239
+ props = _objectWithoutProperties$1l(_ref, _excluded$1T);
11296
12240
  return /*#__PURE__*/createElement("svg", _extends$1m({
11297
12241
  viewBox: "0 0 234 261",
11298
12242
  fill: "none",
@@ -11318,14 +12262,14 @@ var SvgLogoReservoirVerticalColor = function SvgLogoReservoirVerticalColor(_ref)
11318
12262
  };
11319
12263
 
11320
12264
  var _path$13, _path2$r, _path3$i, _path4$7, _path5$6;
11321
- var _excluded$1O = ["title", "titleId"];
12265
+ var _excluded$1U = ["title", "titleId"];
11322
12266
  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); }
11323
12267
  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; }
11324
12268
  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; }
11325
12269
  var SvgLogoSchomburgBlack = function SvgLogoSchomburgBlack(_ref) {
11326
12270
  var title = _ref.title,
11327
12271
  titleId = _ref.titleId,
11328
- props = _objectWithoutProperties$1m(_ref, _excluded$1O);
12272
+ props = _objectWithoutProperties$1m(_ref, _excluded$1U);
11329
12273
  return /*#__PURE__*/createElement("svg", _extends$1n({
11330
12274
  viewBox: "0 0 185 79",
11331
12275
  xmlns: "http://www.w3.org/2000/svg",
@@ -11346,14 +12290,14 @@ var SvgLogoSchomburgBlack = function SvgLogoSchomburgBlack(_ref) {
11346
12290
  };
11347
12291
 
11348
12292
  var _path$14, _path2$s, _path3$j, _path4$8, _path5$7;
11349
- var _excluded$1P = ["title", "titleId"];
12293
+ var _excluded$1V = ["title", "titleId"];
11350
12294
  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); }
11351
12295
  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; }
11352
12296
  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; }
11353
12297
  var SvgLogoSchomburgCircleBlack = function SvgLogoSchomburgCircleBlack(_ref) {
11354
12298
  var title = _ref.title,
11355
12299
  titleId = _ref.titleId,
11356
- props = _objectWithoutProperties$1n(_ref, _excluded$1P);
12300
+ props = _objectWithoutProperties$1n(_ref, _excluded$1V);
11357
12301
  return /*#__PURE__*/createElement("svg", _extends$1o({
11358
12302
  viewBox: "0 0 67 67",
11359
12303
  xmlns: "http://www.w3.org/2000/svg",
@@ -11374,14 +12318,14 @@ var SvgLogoSchomburgCircleBlack = function SvgLogoSchomburgCircleBlack(_ref) {
11374
12318
  };
11375
12319
 
11376
12320
  var _path$15, _path2$t, _path3$k, _path4$9, _path5$8;
11377
- var _excluded$1Q = ["title", "titleId"];
12321
+ var _excluded$1W = ["title", "titleId"];
11378
12322
  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); }
11379
12323
  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; }
11380
12324
  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; }
11381
12325
  var SvgLogoSchomburgCircleColor = function SvgLogoSchomburgCircleColor(_ref) {
11382
12326
  var title = _ref.title,
11383
12327
  titleId = _ref.titleId,
11384
- props = _objectWithoutProperties$1o(_ref, _excluded$1Q);
12328
+ props = _objectWithoutProperties$1o(_ref, _excluded$1W);
11385
12329
  return /*#__PURE__*/createElement("svg", _extends$1p({
11386
12330
  viewBox: "0 0 67 67",
11387
12331
  fill: "none",
@@ -11408,14 +12352,14 @@ var SvgLogoSchomburgCircleColor = function SvgLogoSchomburgCircleColor(_ref) {
11408
12352
  };
11409
12353
 
11410
12354
  var _path$16, _path2$u, _path3$l, _path4$a, _path5$9;
11411
- var _excluded$1R = ["title", "titleId"];
12355
+ var _excluded$1X = ["title", "titleId"];
11412
12356
  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); }
11413
12357
  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; }
11414
12358
  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; }
11415
12359
  var SvgLogoSchomburgCircleWhite = function SvgLogoSchomburgCircleWhite(_ref) {
11416
12360
  var title = _ref.title,
11417
12361
  titleId = _ref.titleId,
11418
- props = _objectWithoutProperties$1p(_ref, _excluded$1R);
12362
+ props = _objectWithoutProperties$1p(_ref, _excluded$1X);
11419
12363
  return /*#__PURE__*/createElement("svg", _extends$1q({
11420
12364
  viewBox: "0 0 67 67",
11421
12365
  fill: "#fff",
@@ -11437,14 +12381,14 @@ var SvgLogoSchomburgCircleWhite = function SvgLogoSchomburgCircleWhite(_ref) {
11437
12381
  };
11438
12382
 
11439
12383
  var _path$17, _path2$v, _path3$m, _path4$b, _path5$a, _path6$3, _path7$3;
11440
- var _excluded$1S = ["title", "titleId"];
12384
+ var _excluded$1Y = ["title", "titleId"];
11441
12385
  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); }
11442
12386
  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; }
11443
12387
  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; }
11444
12388
  var SvgLogoSchomburgColor = function SvgLogoSchomburgColor(_ref) {
11445
12389
  var title = _ref.title,
11446
12390
  titleId = _ref.titleId,
11447
- props = _objectWithoutProperties$1q(_ref, _excluded$1S);
12391
+ props = _objectWithoutProperties$1q(_ref, _excluded$1Y);
11448
12392
  return /*#__PURE__*/createElement("svg", _extends$1r({
11449
12393
  viewBox: "0 0 185 79",
11450
12394
  fill: "none",
@@ -11477,14 +12421,14 @@ var SvgLogoSchomburgColor = function SvgLogoSchomburgColor(_ref) {
11477
12421
  };
11478
12422
 
11479
12423
  var _path$18, _path2$w, _path3$n, _path4$c, _path5$b;
11480
- var _excluded$1T = ["title", "titleId"];
12424
+ var _excluded$1Z = ["title", "titleId"];
11481
12425
  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); }
11482
12426
  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; }
11483
12427
  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; }
11484
12428
  var SvgLogoSchomburgWhite = function SvgLogoSchomburgWhite(_ref) {
11485
12429
  var title = _ref.title,
11486
12430
  titleId = _ref.titleId,
11487
- props = _objectWithoutProperties$1r(_ref, _excluded$1T);
12431
+ props = _objectWithoutProperties$1r(_ref, _excluded$1Z);
11488
12432
  return /*#__PURE__*/createElement("svg", _extends$1s({
11489
12433
  viewBox: "0 0 185 79",
11490
12434
  fill: "#fff",
@@ -11506,14 +12450,14 @@ var SvgLogoSchomburgWhite = function SvgLogoSchomburgWhite(_ref) {
11506
12450
  };
11507
12451
 
11508
12452
  var _g$g, _defs$8;
11509
- var _excluded$1U = ["title", "titleId"];
12453
+ var _excluded$1_ = ["title", "titleId"];
11510
12454
  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); }
11511
12455
  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; }
11512
12456
  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; }
11513
12457
  var SvgLogoSimplyeBlack = function SvgLogoSimplyeBlack(_ref) {
11514
12458
  var title = _ref.title,
11515
12459
  titleId = _ref.titleId,
11516
- props = _objectWithoutProperties$1s(_ref, _excluded$1U);
12460
+ props = _objectWithoutProperties$1s(_ref, _excluded$1_);
11517
12461
  return /*#__PURE__*/createElement("svg", _extends$1t({
11518
12462
  viewBox: "0 0 512 148",
11519
12463
  xmlns: "http://www.w3.org/2000/svg",
@@ -11538,14 +12482,14 @@ var SvgLogoSimplyeBlack = function SvgLogoSimplyeBlack(_ref) {
11538
12482
  };
11539
12483
 
11540
12484
  var _g$h, _defs$9;
11541
- var _excluded$1V = ["title", "titleId"];
12485
+ var _excluded$1$ = ["title", "titleId"];
11542
12486
  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); }
11543
12487
  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; }
11544
12488
  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; }
11545
12489
  var SvgLogoSimplyeWhite = function SvgLogoSimplyeWhite(_ref) {
11546
12490
  var title = _ref.title,
11547
12491
  titleId = _ref.titleId,
11548
- props = _objectWithoutProperties$1t(_ref, _excluded$1V);
12492
+ props = _objectWithoutProperties$1t(_ref, _excluded$1$);
11549
12493
  return /*#__PURE__*/createElement("svg", _extends$1u({
11550
12494
  viewBox: "0 0 512 148",
11551
12495
  fill: "#fff",
@@ -11570,14 +12514,14 @@ var SvgLogoSimplyeWhite = function SvgLogoSimplyeWhite(_ref) {
11570
12514
  };
11571
12515
 
11572
12516
  var _g$i, _defs$a;
11573
- var _excluded$1W = ["title", "titleId"];
12517
+ var _excluded$20 = ["title", "titleId"];
11574
12518
  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); }
11575
12519
  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; }
11576
12520
  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; }
11577
12521
  var SvgLogoSimplyeColor = function SvgLogoSimplyeColor(_ref) {
11578
12522
  var title = _ref.title,
11579
12523
  titleId = _ref.titleId,
11580
- props = _objectWithoutProperties$1u(_ref, _excluded$1W);
12524
+ props = _objectWithoutProperties$1u(_ref, _excluded$20);
11581
12525
  return /*#__PURE__*/createElement("svg", _extends$1v({
11582
12526
  viewBox: "0 0 682 196",
11583
12527
  fill: "none",
@@ -11609,14 +12553,14 @@ var SvgLogoSimplyeColor = function SvgLogoSimplyeColor(_ref) {
11609
12553
  };
11610
12554
 
11611
12555
  var _path$19;
11612
- var _excluded$1X = ["title", "titleId"];
12556
+ var _excluded$21 = ["title", "titleId"];
11613
12557
  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); }
11614
12558
  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; }
11615
12559
  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; }
11616
12560
  var SvgLogoSnflBlack = function SvgLogoSnflBlack(_ref) {
11617
12561
  var title = _ref.title,
11618
12562
  titleId = _ref.titleId,
11619
- props = _objectWithoutProperties$1v(_ref, _excluded$1X);
12563
+ props = _objectWithoutProperties$1v(_ref, _excluded$21);
11620
12564
  return /*#__PURE__*/createElement("svg", _extends$1w({
11621
12565
  viewBox: "0 0 84 111",
11622
12566
  xmlns: "http://www.w3.org/2000/svg",
@@ -11629,14 +12573,14 @@ var SvgLogoSnflBlack = function SvgLogoSnflBlack(_ref) {
11629
12573
  };
11630
12574
 
11631
12575
  var _path$1a;
11632
- var _excluded$1Y = ["title", "titleId"];
12576
+ var _excluded$22 = ["title", "titleId"];
11633
12577
  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); }
11634
12578
  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; }
11635
12579
  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; }
11636
12580
  var SvgLogoSnflWhite = function SvgLogoSnflWhite(_ref) {
11637
12581
  var title = _ref.title,
11638
12582
  titleId = _ref.titleId,
11639
- props = _objectWithoutProperties$1w(_ref, _excluded$1Y);
12583
+ props = _objectWithoutProperties$1w(_ref, _excluded$22);
11640
12584
  return /*#__PURE__*/createElement("svg", _extends$1x({
11641
12585
  viewBox: "0 0 84 111",
11642
12586
  fill: "#fff",
@@ -11650,14 +12594,14 @@ var SvgLogoSnflWhite = function SvgLogoSnflWhite(_ref) {
11650
12594
  };
11651
12595
 
11652
12596
  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;
11653
- var _excluded$1Z = ["title", "titleId"];
12597
+ var _excluded$23 = ["title", "titleId"];
11654
12598
  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); }
11655
12599
  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; }
11656
12600
  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; }
11657
12601
  var SvgLogoTreasuresColor = function SvgLogoTreasuresColor(_ref) {
11658
12602
  var title = _ref.title,
11659
12603
  titleId = _ref.titleId,
11660
- props = _objectWithoutProperties$1x(_ref, _excluded$1Z);
12604
+ props = _objectWithoutProperties$1x(_ref, _excluded$23);
11661
12605
  return /*#__PURE__*/createElement("svg", _extends$1y({
11662
12606
  viewBox: "0 0 324 265",
11663
12607
  fill: "none",
@@ -11834,14 +12778,14 @@ var SvgLogoTreasuresColor = function SvgLogoTreasuresColor(_ref) {
11834
12778
  };
11835
12779
 
11836
12780
  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;
11837
- var _excluded$1_ = ["title", "titleId"];
12781
+ var _excluded$24 = ["title", "titleId"];
11838
12782
  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); }
11839
12783
  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; }
11840
12784
  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; }
11841
12785
  var SvgLogoTreasuresColorNegative = function SvgLogoTreasuresColorNegative(_ref) {
11842
12786
  var title = _ref.title,
11843
12787
  titleId = _ref.titleId,
11844
- props = _objectWithoutProperties$1y(_ref, _excluded$1_);
12788
+ props = _objectWithoutProperties$1y(_ref, _excluded$24);
11845
12789
  return /*#__PURE__*/createElement("svg", _extends$1z({
11846
12790
  viewBox: "0 0 327 266",
11847
12791
  fill: "none",
@@ -12068,7 +13012,7 @@ var logoSvgs = {
12068
13012
  treasuresColorNegative: SvgLogoTreasuresColorNegative
12069
13013
  };
12070
13014
 
12071
- var _excluded$1$ = ["children", "className", "decorative", "id", "name", "size", "title"];
13015
+ var _excluded$25 = ["children", "className", "decorative", "id", "name", "size", "title"];
12072
13016
  /**
12073
13017
  * The `Logo` component renders SVG-based logos and color variants that are
12074
13018
  * commonly used by the New York Public Library.
@@ -12085,7 +13029,7 @@ var Logo$1 = /*#__PURE__*/chakra( /*#__PURE__*/forwardRef(function (props, ref)
12085
13029
  size = _props$size === void 0 ? "medium" : _props$size,
12086
13030
  _props$title = props.title,
12087
13031
  title = _props$title === void 0 ? name + " logo" : _props$title,
12088
- rest = _objectWithoutPropertiesLoose(props, _excluded$1$);
13032
+ rest = _objectWithoutPropertiesLoose(props, _excluded$25);
12089
13033
  var styles = useStyleConfig("Logo", {
12090
13034
  size: size
12091
13035
  });
@@ -12186,7 +13130,7 @@ var link$1 = {
12186
13130
  }]
12187
13131
  };
12188
13132
 
12189
- var _excluded$20 = ["className", "id"];
13133
+ var _excluded$26 = ["className", "id"];
12190
13134
  /**
12191
13135
  * This `Footer` component renders the NYPL-branded footer elements such
12192
13136
  * as navigational NYPL.org links, social media links, copyright, and
@@ -12196,7 +13140,7 @@ var Footer$1 = /*#__PURE__*/chakra( /*#__PURE__*/forwardRef(function (_ref, ref)
12196
13140
  var className = _ref.className,
12197
13141
  _ref$id = _ref.id,
12198
13142
  id = _ref$id === void 0 ? "footer" : _ref$id,
12199
- rest = _objectWithoutPropertiesLoose(_ref, _excluded$20);
13143
+ rest = _objectWithoutPropertiesLoose(_ref, _excluded$26);
12200
13144
  var styles = useMultiStyleConfig("Footer", {});
12201
13145
  var nyplLinks = link$1.nyplLinks.map(function (links, index) {
12202
13146
  return React__default.createElement(List$1, {
@@ -12265,11 +13209,11 @@ var Footer$1 = /*#__PURE__*/chakra( /*#__PURE__*/forwardRef(function (_ref, ref)
12265
13209
  })));
12266
13210
  }));
12267
13211
 
12268
- var _excluded$21 = ["align", "className"];
13212
+ var _excluded$27 = ["align", "className"];
12269
13213
  var HorizontalRule$1 = /*#__PURE__*/chakra( /*#__PURE__*/forwardRef(function (props, ref) {
12270
13214
  var align = props.align,
12271
13215
  className = props.className,
12272
- rest = _objectWithoutPropertiesLoose(props, _excluded$21);
13216
+ rest = _objectWithoutPropertiesLoose(props, _excluded$27);
12273
13217
  var styles = useStyleConfig("HorizontalRule", {
12274
13218
  align: align
12275
13219
  });
@@ -12285,7 +13229,7 @@ var HorizontalRule$1 = /*#__PURE__*/chakra( /*#__PURE__*/forwardRef(function (pr
12285
13229
  }, rest));
12286
13230
  }));
12287
13231
 
12288
- var _excluded$22 = ["className", "id", "target"];
13232
+ var _excluded$28 = ["className", "id", "target"];
12289
13233
  /**
12290
13234
  * SkipNavigation is a component that is used to provide a navigational list of
12291
13235
  * links. The first link is used to skip to the main content of the page using
@@ -12297,7 +13241,7 @@ var SkipNavigation$1 = /*#__PURE__*/chakra( /*#__PURE__*/forwardRef(function (pr
12297
13241
  id = props.id,
12298
13242
  _props$target = props.target,
12299
13243
  target = _props$target === void 0 ? "#mainContent" : _props$target,
12300
- rest = _objectWithoutPropertiesLoose(props, _excluded$22);
13244
+ rest = _objectWithoutPropertiesLoose(props, _excluded$28);
12301
13245
  var styles = useStyleConfig("SkipNavigation");
12302
13246
  return React__default.createElement(Box, Object.assign({
12303
13247
  as: "nav",
@@ -13604,7 +14548,7 @@ var Header$1 = /*#__PURE__*/chakra(function (_ref) {
13604
14548
  }))));
13605
14549
  });
13606
14550
 
13607
- var _excluded$23 = ["backgroundColor", "backgroundImageSrc", "foregroundColor", "heading", "heroType", "imageProps", "locationDetails", "subHeaderText"];
14551
+ var _excluded$29 = ["backgroundColor", "backgroundImageSrc", "foregroundColor", "heading", "heroType", "imageProps", "locationDetails", "subHeaderText"];
13608
14552
  // Only used for internal purposes.
13609
14553
  var heroSecondaryTypes = ["secondary", "secondaryBooksAndMore", "secondaryLocations", "secondaryResearch", "secondaryWhatsOn"];
13610
14554
  var Hero$1 = /*#__PURE__*/chakra( /*#__PURE__*/forwardRef(function (props, ref) {
@@ -13620,7 +14564,7 @@ var Hero$1 = /*#__PURE__*/chakra( /*#__PURE__*/forwardRef(function (props, ref)
13620
14564
  } : _props$imageProps,
13621
14565
  locationDetails = props.locationDetails,
13622
14566
  subHeaderText = props.subHeaderText,
13623
- rest = _objectWithoutPropertiesLoose(props, _excluded$23);
14567
+ rest = _objectWithoutPropertiesLoose(props, _excluded$29);
13624
14568
  var styles = useMultiStyleConfig("Hero", {
13625
14569
  variant: heroType
13626
14570
  });
@@ -13709,7 +14653,7 @@ var Hero$1 = /*#__PURE__*/chakra( /*#__PURE__*/forwardRef(function (props, ref)
13709
14653
  }
13710
14654
  });
13711
14655
 
13712
- var _excluded$24 = ["bodyContent", "closeButtonLabel", "headingText", "id", "isOpen", "onClose"],
14656
+ var _excluded$2a = ["bodyContent", "closeButtonLabel", "headingText", "id", "isOpen", "onClose"],
13713
14657
  _excluded2$6 = ["buttonText", "id", "modalProps"],
13714
14658
  _excluded3$4 = ["bodyContent", "closeButtonLabel", "headingText", "id"];
13715
14659
  var BaseModal = /*#__PURE__*/chakra(function (_ref) {
@@ -13720,7 +14664,7 @@ var BaseModal = /*#__PURE__*/chakra(function (_ref) {
13720
14664
  id = _ref.id,
13721
14665
  isOpen = _ref.isOpen,
13722
14666
  onClose = _ref.onClose,
13723
- rest = _objectWithoutPropertiesLoose(_ref, _excluded$24);
14667
+ rest = _objectWithoutPropertiesLoose(_ref, _excluded$2a);
13724
14668
  var xlarge = "xl";
13725
14669
  var fullSize = "full";
13726
14670
  var _useNYPLBreakpoints = useNYPLBreakpoints(),
@@ -13801,7 +14745,7 @@ function useModal() {
13801
14745
  };
13802
14746
  }
13803
14747
 
13804
- var _excluded$25 = ["className", "currentPage", "getPageHref", "id", "initialPage", "onPageChange", "pageCount"];
14748
+ var _excluded$2b = ["className", "currentPage", "getPageHref", "id", "initialPage", "onPageChange", "pageCount"];
13805
14749
  /**
13806
14750
  * A component that provides a navigational list of page items.
13807
14751
  */
@@ -13814,7 +14758,7 @@ var Pagination$1 = /*#__PURE__*/chakra( /*#__PURE__*/forwardRef(function (props,
13814
14758
  initialPage = _props$initialPage === void 0 ? 1 : _props$initialPage,
13815
14759
  onPageChange = props.onPageChange,
13816
14760
  pageCount = props.pageCount,
13817
- rest = _objectWithoutPropertiesLoose(props, _excluded$25);
14761
+ rest = _objectWithoutPropertiesLoose(props, _excluded$2b);
13818
14762
  var refCurrentPage = useRef(currentPage);
13819
14763
  var _useState = useState(initialPage),
13820
14764
  selectedPage = _useState[0],
@@ -14004,7 +14948,7 @@ var Pagination$1 = /*#__PURE__*/chakra( /*#__PURE__*/forwardRef(function (props,
14004
14948
  }, previousLiLink, getPaginationNumbers(selectedPage), nextLiLink));
14005
14949
  }));
14006
14950
 
14007
- var _excluded$26 = ["darkMode", "id", "indicatorType", "isIndeterminate", "labelText", "showLabel", "size", "value"];
14951
+ var _excluded$2c = ["darkMode", "id", "indicatorType", "isIndeterminate", "labelText", "showLabel", "size", "value"];
14008
14952
  /**
14009
14953
  * A component that displays a progress status for any task that takes a long
14010
14954
  * time to complete or consists of multiple steps. Examples include downloading,
@@ -14025,7 +14969,7 @@ var ProgressIndicator$1 = /*#__PURE__*/chakra( /*#__PURE__*/forwardRef(function
14025
14969
  size = _props$size === void 0 ? "default" : _props$size,
14026
14970
  _props$value = props.value,
14027
14971
  value = _props$value === void 0 ? 0 : _props$value,
14028
- rest = _objectWithoutPropertiesLoose(props, _excluded$26);
14972
+ rest = _objectWithoutPropertiesLoose(props, _excluded$2c);
14029
14973
  var styles = useMultiStyleConfig("ProgressIndicator", {
14030
14974
  darkMode: darkMode,
14031
14975
  size: size
@@ -14084,7 +15028,7 @@ var ProgressIndicator$1 = /*#__PURE__*/chakra( /*#__PURE__*/forwardRef(function
14084
15028
  }, rest), progressComponent(indicatorType));
14085
15029
  }));
14086
15030
 
14087
- var _excluded$27 = ["children", "className", "helperText", "id", "invalidText", "isDisabled", "isInvalid", "isRequired", "labelPosition", "labelText", "name", "onChange", "placeholder", "selectType", "showHelperInvalidText", "showLabel", "showRequiredLabel", "value"];
15031
+ var _excluded$2d = ["children", "className", "helperText", "id", "invalidText", "isDisabled", "isInvalid", "isRequired", "labelPosition", "labelText", "name", "onChange", "placeholder", "selectType", "showHelperInvalidText", "showLabel", "showRequiredLabel", "value"];
14088
15032
  /**
14089
15033
  * Component that renders Chakra's `Select` component along with an accessible
14090
15034
  * `Label` and optional `HelperErrorText` component.
@@ -14117,7 +15061,7 @@ var Select$1 = /*#__PURE__*/chakra( /*#__PURE__*/forwardRef(function (props, ref
14117
15061
  showRequiredLabel = _props$showRequiredLa === void 0 ? true : _props$showRequiredLa,
14118
15062
  _props$value = props.value,
14119
15063
  value = _props$value === void 0 ? "" : _props$value,
14120
- rest = _objectWithoutPropertiesLoose(props, _excluded$27);
15064
+ rest = _objectWithoutPropertiesLoose(props, _excluded$2d);
14121
15065
  var _useState = useState(0),
14122
15066
  labelWidth = _useState[0],
14123
15067
  setLabelWidth = _useState[1];
@@ -14199,7 +15143,7 @@ var Select$1 = /*#__PURE__*/chakra( /*#__PURE__*/forwardRef(function (props, ref
14199
15143
  }), children)));
14200
15144
  }));
14201
15145
 
14202
- var _excluded$28 = ["action", "buttonOnClick", "className", "descriptionText", "headingText", "helperText", "id", "invalidText", "isDisabled", "isInvalid", "isRequired", "labelText", "method", "noBrandButtonType", "onSubmit", "selectProps", "textInputElement", "textInputProps"];
15146
+ var _excluded$2e = ["action", "buttonOnClick", "className", "descriptionText", "headingText", "helperText", "id", "invalidText", "isDisabled", "isInvalid", "isRequired", "labelText", "method", "noBrandButtonType", "onSubmit", "selectProps", "textInputElement", "textInputProps"];
14203
15147
  /**
14204
15148
  * Renders a wrapper `form` element to be used with `Select` (optional),
14205
15149
  * `Input`, and `Button` components together.
@@ -14227,7 +15171,7 @@ var SearchBar$1 = /*#__PURE__*/chakra( /*#__PURE__*/forwardRef(function (props,
14227
15171
  selectProps = props.selectProps,
14228
15172
  textInputElement = props.textInputElement,
14229
15173
  textInputProps = props.textInputProps,
14230
- rest = _objectWithoutPropertiesLoose(props, _excluded$28);
15174
+ rest = _objectWithoutPropertiesLoose(props, _excluded$2e);
14231
15175
  var styles = useMultiStyleConfig("SearchBar", {});
14232
15176
  var stateProps = {
14233
15177
  helperText: "",
@@ -14319,7 +15263,7 @@ var SearchBar$1 = /*#__PURE__*/chakra( /*#__PURE__*/forwardRef(function (props,
14319
15263
  }, selectElem, textInputElem, buttonElem));
14320
15264
  }));
14321
15265
 
14322
- var _excluded$29 = ["className", "contentSize", "headingSize", "imageAspectRatio", "isBordered", "layout", "showButton", "showContent", "showHeading", "showImage", "width"];
15266
+ var _excluded$2f = ["className", "contentSize", "headingSize", "imageAspectRatio", "isBordered", "layout", "showButton", "showContent", "showHeading", "showImage", "width"];
14323
15267
  /**
14324
15268
  * The `SkeletonLoader` component renders a placeholder to be used while
14325
15269
  * dynamic content is loading.
@@ -14345,7 +15289,7 @@ var SkeletonLoader$1 = /*#__PURE__*/chakra( /*#__PURE__*/forwardRef(function (pr
14345
15289
  _props$showImage = props.showImage,
14346
15290
  showImage = _props$showImage === void 0 ? true : _props$showImage,
14347
15291
  width = props.width,
14348
- rest = _objectWithoutPropertiesLoose(props, _excluded$29);
15292
+ rest = _objectWithoutPropertiesLoose(props, _excluded$2f);
14349
15293
  var styles = useMultiStyleConfig("SkeletonLoader", {
14350
15294
  isBordered: isBordered,
14351
15295
  imageAspectRatio: imageAspectRatio,
@@ -14403,7 +15347,7 @@ var SkeletonLoader$1 = /*#__PURE__*/chakra( /*#__PURE__*/forwardRef(function (pr
14403
15347
  })))));
14404
15348
  }));
14405
15349
 
14406
- var _excluded$2a = ["className", "defaultValue", "helperText", "id", "invalidText", "isDisabled", "isInvalid", "isRangeSlider", "isRequired", "labelText", "max", "min", "name", "onChange", "showBoxes", "showHelperInvalidText", "showLabel", "showRequiredLabel", "showValues", "step", "value"];
15350
+ var _excluded$2g = ["className", "defaultValue", "helperText", "id", "invalidText", "isDisabled", "isInvalid", "isRangeSlider", "isRequired", "labelText", "max", "min", "name", "onChange", "onChangeEnd", "showBoxes", "showHelperInvalidText", "showLabel", "showRequiredLabel", "showValues", "step", "value"];
14407
15351
  /**
14408
15352
  * The `Slider` component renders a singular value slider or a range slider
14409
15353
  * with a min and max value. The value(s) can be updated through the slider
@@ -14431,6 +15375,7 @@ var Slider = /*#__PURE__*/chakra( /*#__PURE__*/forwardRef(function (props, ref)
14431
15375
  min = _props$min === void 0 ? 0 : _props$min,
14432
15376
  name = props.name,
14433
15377
  _onChange = props.onChange,
15378
+ _onChangeEnd = props.onChangeEnd,
14434
15379
  _props$showBoxes = props.showBoxes,
14435
15380
  showBoxes = _props$showBoxes === void 0 ? true : _props$showBoxes,
14436
15381
  _props$showHelperInva = props.showHelperInvalidText,
@@ -14444,10 +15389,13 @@ var Slider = /*#__PURE__*/chakra( /*#__PURE__*/forwardRef(function (props, ref)
14444
15389
  _props$step = props.step,
14445
15390
  step = _props$step === void 0 ? 1 : _props$step,
14446
15391
  value = props.value,
14447
- rest = _objectWithoutPropertiesLoose(props, _excluded$2a);
15392
+ rest = _objectWithoutPropertiesLoose(props, _excluded$2g);
14448
15393
  if (!id) {
14449
15394
  console.warn("NYPL Reservoir Slider: This component's required `id` prop was not passed.");
14450
15395
  }
15396
+ if (_onChange && _onChangeEnd) {
15397
+ console.warn("NYPL Reservoir Slider: Both `onChange` and `onChangeEnd` props were passed.");
15398
+ }
14451
15399
  // For the RangeSlider, if the defaultValue is not an array, then we set
14452
15400
  // the defaultValue to an array with the min and max values.
14453
15401
  var rangeSliderDefault = typeof defaultValue === "number" ? [min, max] : defaultValue;
@@ -14498,6 +15446,10 @@ var Slider = /*#__PURE__*/chakra( /*#__PURE__*/forwardRef(function (props, ref)
14498
15446
  setCurrentValue(val);
14499
15447
  _onChange && _onChange(val);
14500
15448
  },
15449
+ onChangeEnd: function onChangeEnd(val) {
15450
+ setCurrentValue(val);
15451
+ _onChangeEnd && _onChangeEnd(val);
15452
+ },
14501
15453
  step: step,
14502
15454
  // Additional margins so slider thumbs don't overflow past the
14503
15455
  // edge when the value boxes or min/max values are hidden.
@@ -14534,7 +15486,12 @@ var Slider = /*#__PURE__*/chakra( /*#__PURE__*/forwardRef(function (props, ref)
14534
15486
  setCurrentValue(newValue);
14535
15487
  // If the text input was updated directly,
14536
15488
  // send the data back to the user.
14537
- _onChange && _onChange(newValue);
15489
+ if (_onChange) {
15490
+ _onChange && _onChange(newValue);
15491
+ }
15492
+ if (_onChangeEnd) {
15493
+ _onChangeEnd && _onChangeEnd(newValue);
15494
+ }
14538
15495
  }
14539
15496
  }, textInputSharedProps),
14540
15497
  end: _extends({
@@ -14556,7 +15513,12 @@ var Slider = /*#__PURE__*/chakra( /*#__PURE__*/forwardRef(function (props, ref)
14556
15513
  setCurrentValue(newValue);
14557
15514
  // If the text input was updated directly,
14558
15515
  // send the data back to the user.
14559
- _onChange && _onChange(newValue);
15516
+ if (_onChange) {
15517
+ _onChange && _onChange(newValue);
15518
+ }
15519
+ if (_onChangeEnd) {
15520
+ _onChangeEnd && _onChangeEnd(newValue);
15521
+ }
14560
15522
  }
14561
15523
  }, textInputSharedProps)
14562
15524
  };
@@ -14635,7 +15597,7 @@ var Slider = /*#__PURE__*/chakra( /*#__PURE__*/forwardRef(function (props, ref)
14635
15597
  }, max), showBoxes && getTextInput("end")));
14636
15598
  }));
14637
15599
 
14638
- var _excluded$2b = ["children", "className", "id", "level"];
15600
+ var _excluded$2h = ["children", "className", "id", "level"];
14639
15601
  /**
14640
15602
  * The `StatusBadge` component is used to display a visual badge for three
14641
15603
  * different status levels.
@@ -14646,7 +15608,7 @@ var StatusBadge$1 = /*#__PURE__*/chakra( /*#__PURE__*/forwardRef(function (props
14646
15608
  id = props.id,
14647
15609
  _props$level = props.level,
14648
15610
  level = _props$level === void 0 ? "low" : _props$level,
14649
- rest = _objectWithoutPropertiesLoose(props, _excluded$2b);
15611
+ rest = _objectWithoutPropertiesLoose(props, _excluded$2h);
14650
15612
  var styles = useStyleConfig("StatusBadge", {
14651
15613
  variant: level
14652
15614
  });
@@ -14661,7 +15623,7 @@ var StatusBadge$1 = /*#__PURE__*/chakra( /*#__PURE__*/forwardRef(function (props
14661
15623
  }, rest), children);
14662
15624
  }));
14663
15625
 
14664
- var _excluded$2c = ["calloutText", "className", "headingText", "id", "imageProps", "bodyContent"];
15626
+ var _excluded$2i = ["calloutText", "className", "headingText", "id", "imageProps", "bodyContent"];
14665
15627
  /**
14666
15628
  * Internal component used in the `StructuredContent` component
14667
15629
  * that renders the DS `Image` component.
@@ -14711,7 +15673,7 @@ var StructuredContent$1 = /*#__PURE__*/chakra( /*#__PURE__*/forwardRef(function
14711
15673
  src: ""
14712
15674
  } : _props$imageProps,
14713
15675
  bodyContent = props.bodyContent,
14714
- rest = _objectWithoutPropertiesLoose(props, _excluded$2c);
15676
+ rest = _objectWithoutPropertiesLoose(props, _excluded$2i);
14715
15677
  var hasImage = imageProps.src || imageProps.component;
14716
15678
  var hasFigureImage = imageProps.caption || imageProps.credit;
14717
15679
  var styles = useMultiStyleConfig("StructuredContent", {
@@ -14844,7 +15806,7 @@ var useCarouselStyles = function useCarouselStyles(slidesCount, slideWidth) {
14844
15806
  };
14845
15807
  };
14846
15808
 
14847
- var _excluded$2d = ["children", "defaultIndex", "id", "onChange", "tabsData", "useHash"];
15809
+ var _excluded$2j = ["children", "defaultIndex", "id", "onChange", "tabsData", "useHash"];
14848
15810
  /**
14849
15811
  * An internal function used to update the hash in the URL.
14850
15812
  * This function is only used when `useHash` is `true`.
@@ -14946,7 +15908,7 @@ var Tabs = /*#__PURE__*/chakra( /*#__PURE__*/forwardRef(function (props, ref) {
14946
15908
  tabsData = props.tabsData,
14947
15909
  _props$useHash = props.useHash,
14948
15910
  useHash = _props$useHash === void 0 ? false : _props$useHash,
14949
- rest = _objectWithoutPropertiesLoose(props, _excluded$2d);
15911
+ rest = _objectWithoutPropertiesLoose(props, _excluded$2j);
14950
15912
  var styles = useMultiStyleConfig("Tabs", {});
14951
15913
  // Just an estimate of the tab width for the mobile carousel.
14952
15914
  var initTabWidth = 65;
@@ -15026,13 +15988,13 @@ var Tabs = /*#__PURE__*/chakra( /*#__PURE__*/forwardRef(function (props, ref) {
15026
15988
  }, React__default.createElement(Box, Object.assign({}, carouselStyle), tabs)), nextButton), panels);
15027
15989
  }));
15028
15990
 
15029
- var _excluded$2e = ["children", "className", "content", "id", "isDisabled", "shouldWrapChildren"];
15991
+ var _excluded$2k = ["children", "className", "content", "id", "isDisabled", "shouldWrapChildren"];
15030
15992
  var Tooltip$1 = /*#__PURE__*/chakra( /*#__PURE__*/forwardRef(function (props, ref) {
15031
15993
  var children = props.children,
15032
15994
  content = props.content,
15033
15995
  isDisabled = props.isDisabled,
15034
15996
  shouldWrapChildren = props.shouldWrapChildren,
15035
- rest = _objectWithoutPropertiesLoose(props, _excluded$2e);
15997
+ rest = _objectWithoutPropertiesLoose(props, _excluded$2k);
15036
15998
  if (typeof content !== "string" && typeof content !== "number") {
15037
15999
  React__default.Children.map(content, function (contentChild) {
15038
16000
  if (contentChild.type !== Icon || contentChild.type !== Image) {
@@ -15157,7 +16119,7 @@ var TagSetFilter$1 = /*#__PURE__*/chakra(function (props) {
15157
16119
  }, "Clear Filters") : null);
15158
16120
  });
15159
16121
 
15160
- var _excluded$2f = ["className", "id", "isDismissible", "onClick", "tagSetData", "type"];
16122
+ var _excluded$2l = ["className", "id", "isDismissible", "onClick", "tagSetData", "type"];
15161
16123
  // Type guard so we can make sure we have a "filter" `TagSet` variant.
15162
16124
  function isFilterType(type) {
15163
16125
  return type === "filter";
@@ -15201,7 +16163,7 @@ var TagSet$1 = /*#__PURE__*/chakra( /*#__PURE__*/forwardRef(function (props, ref
15201
16163
  tagSetData = _props$tagSetData === void 0 ? [] : _props$tagSetData,
15202
16164
  _props$type = props.type,
15203
16165
  type = _props$type === void 0 ? "filter" : _props$type,
15204
- rest = _objectWithoutPropertiesLoose(props, _excluded$2f);
16166
+ rest = _objectWithoutPropertiesLoose(props, _excluded$2l);
15205
16167
  var styles = useStyleConfig("TagSet", {});
15206
16168
  if (!isFilterType(type)) {
15207
16169
  if (isDismissible) {
@@ -15229,7 +16191,7 @@ var TagSet$1 = /*#__PURE__*/chakra( /*#__PURE__*/forwardRef(function (props, ref
15229
16191
  }));
15230
16192
  }));
15231
16193
 
15232
- var _excluded$2g = ["aboveHeader", "breakout", "contentId", "contentBottom", "contentPrimary", "contentSidebar", "contentTop", "footer", "header", "sidebar", "renderFooterElement", "renderHeaderElement", "renderSkipNavigation"];
16194
+ var _excluded$2m = ["aboveHeader", "breakout", "contentId", "contentBottom", "contentPrimary", "contentSidebar", "contentTop", "footer", "header", "sidebar", "renderFooterElement", "renderHeaderElement", "renderSkipNavigation"];
15233
16195
  /**
15234
16196
  * The main top-level parent component that wraps all template-related
15235
16197
  * components.
@@ -15452,7 +16414,7 @@ var TemplateAppContainer = /*#__PURE__*/chakra( /*#__PURE__*/forwardRef(function
15452
16414
  renderHeaderElement = _props$renderHeaderEl === void 0 ? true : _props$renderHeaderEl,
15453
16415
  _props$renderSkipNavi = props.renderSkipNavigation,
15454
16416
  renderSkipNavigation = _props$renderSkipNavi === void 0 ? false : _props$renderSkipNavi,
15455
- rest = _objectWithoutPropertiesLoose(props, _excluded$2g);
16417
+ rest = _objectWithoutPropertiesLoose(props, _excluded$2m);
15456
16418
  var aboveHeaderElem = aboveHeader && React__default.createElement(TemplateAboveHeader, null, aboveHeader);
15457
16419
  var contentTopElem = contentTop && React__default.createElement(TemplateContentTop, null, contentTop);
15458
16420
  var contentPrimaryElem = contentPrimary && React__default.createElement(TemplateContentPrimary$1, null, contentPrimary);
@@ -15470,7 +16432,7 @@ var TemplateAppContainer = /*#__PURE__*/chakra( /*#__PURE__*/forwardRef(function
15470
16432
  }, footer)));
15471
16433
  }));
15472
16434
 
15473
- var _excluded$2h = ["defaultChecked", "helperText", "id", "invalidText", "isChecked", "isDisabled", "isInvalid", "isRequired", "labelText", "name", "onChange", "size"];
16435
+ var _excluded$2n = ["defaultChecked", "helperText", "id", "invalidText", "isChecked", "isDisabled", "isInvalid", "isRequired", "labelText", "name", "onChange", "size"];
15474
16436
  var onChangeDefault = function onChangeDefault() {
15475
16437
  return;
15476
16438
  };
@@ -15496,7 +16458,7 @@ var Toggle$2 = /*#__PURE__*/chakra( /*#__PURE__*/forwardRef(function (props, ref
15496
16458
  onChange = _props$onChange === void 0 ? onChangeDefault : _props$onChange,
15497
16459
  _props$size = props.size,
15498
16460
  size = _props$size === void 0 ? "default" : _props$size,
15499
- rest = _objectWithoutPropertiesLoose(props, _excluded$2h);
16461
+ rest = _objectWithoutPropertiesLoose(props, _excluded$2n);
15500
16462
  var styles = useMultiStyleConfig("Toggle", {
15501
16463
  isDisabled: isDisabled,
15502
16464
  size: size
@@ -15542,6 +16504,157 @@ var Toggle$2 = /*#__PURE__*/chakra( /*#__PURE__*/forwardRef(function (props, ref
15542
16504
  }), labelText)));
15543
16505
  }));
15544
16506
 
16507
+ /**
16508
+ * The useMultiSelect hook returns an object containing all the functions and state needed to handle the selectedItems of a `MultiSelect` component.
16509
+ * It can be used in conjunction with one single `MultiSelect` component as well as a group of `MultiSelect`s in the `MultiSelectGroup` component.
16510
+ * The returned object includes the functions onChange, onClear, onMixedStateChange for handling any changes to the selection of items
16511
+ * and the current state of the selection: selectedItems.
16512
+ */
16513
+ function useMultiSelect(initialState) {
16514
+ var _useState = useState(initialState !== undefined ? initialState : {}),
16515
+ selectedItems = _useState[0],
16516
+ _setSelectedItems = _useState[1];
16517
+ /**
16518
+ * handleChange is used for both MultiSelect variants. It handles the state for checkbox options that either have no child options or are child options themselves.
16519
+ * It accepts two arguments - the id of the checkbox option and the id of the MultiSelect component.
16520
+ */
16521
+ var handleChange = function handleChange(itemId, multiSelectId) {
16522
+ var _extends2;
16523
+ var itemIds;
16524
+ // Check if the multiSelect already exists in the state.
16525
+ if (selectedItems.hasOwnProperty(multiSelectId)) {
16526
+ // Make a copy of the existing selected items.
16527
+ itemIds = selectedItems[multiSelectId].items.slice();
16528
+ // If itemId is in the selectedItems, remove it from the array.
16529
+ if (selectedItems[multiSelectId].items.indexOf(itemId) > -1) {
16530
+ itemIds = itemIds.filter(function (id) {
16531
+ return id !== itemId;
16532
+ });
16533
+ } else {
16534
+ // Add it to the array, but modify the copy, not the original.
16535
+ itemIds.push(itemId);
16536
+ }
16537
+ // If there were no items from the multiSelect in the selectedItems before
16538
+ } else {
16539
+ // Add the itemId to the itemsIds
16540
+ itemIds = [];
16541
+ itemIds.push(itemId);
16542
+ }
16543
+ // Update selectedItems on state to reflect the new selection
16544
+ _setSelectedItems(_extends({}, selectedItems, (_extends2 = {}, _extends2[multiSelectId] = {
16545
+ items: itemIds
16546
+ }, _extends2)));
16547
+ };
16548
+ /**
16549
+ * handleMixedStateChange is used only for the "dialog" variant. It handles the state for checkbox options with child options.
16550
+ * It accepts three arguments - the id of the checkbox option (parentId), the id of the MultiSelect component and the items array of the MultiSelect.
16551
+ */
16552
+ var handleMixedStateChange = function handleMixedStateChange(parentId, multiSelectId, items) {
16553
+ var _extends3;
16554
+ // Build an array of child items.
16555
+ var childItems = items.filter(function (item) {
16556
+ return item.id === parentId;
16557
+ })[0].children.map(function (child) {
16558
+ return child.id;
16559
+ });
16560
+ var newItems;
16561
+ // If some items of the multiSelect are already selected
16562
+ if (selectedItems[multiSelectId] !== undefined) {
16563
+ // If all children of the parent are already selected
16564
+ if (childItems.every(function (childItem) {
16565
+ return selectedItems[multiSelectId].items.includes(childItem);
16566
+ })) {
16567
+ // Remove all children from the selectedItems array (unselect all child checkbox options)
16568
+ newItems = selectedItems[multiSelectId].items.filter(function (stateItem) {
16569
+ return !childItems.includes(stateItem);
16570
+ });
16571
+ } else {
16572
+ // Else add missing childItems.
16573
+ newItems = [].concat(childItems.filter(function (childItem) {
16574
+ return !selectedItems[multiSelectId].items.includes(childItem);
16575
+ }), selectedItems[multiSelectId].items);
16576
+ }
16577
+ // If no items of this multiSelect were selected before
16578
+ } else {
16579
+ newItems = childItems;
16580
+ }
16581
+ // Update selectedItems on state to reflect the new selection
16582
+ _setSelectedItems(_extends({}, selectedItems, (_extends3 = {}, _extends3[multiSelectId] = {
16583
+ items: newItems
16584
+ }, _extends3)));
16585
+ };
16586
+ /**
16587
+ * handleClear is used for both MultiSelect variants. It will remove all selected items of specific MultiSelect component from the selectedItems array.
16588
+ * It accepts one argument - the id of the MultiSelect component.
16589
+ */
16590
+ var handleClear = function handleClear(multiSelectId) {
16591
+ var newSelectedItems = {};
16592
+ for (var _i = 0, _Object$keys = Object.keys(selectedItems); _i < _Object$keys.length; _i++) {
16593
+ var key = _Object$keys[_i];
16594
+ if (key !== multiSelectId) {
16595
+ newSelectedItems[key] = selectedItems[key];
16596
+ }
16597
+ }
16598
+ _setSelectedItems(newSelectedItems);
16599
+ };
16600
+ /**
16601
+ * handleClearAll is used to clear all MultiSelects of a group. It will remove all selected items.
16602
+ */
16603
+ var handleClearAll = function handleClearAll() {
16604
+ return _setSelectedItems({});
16605
+ };
16606
+ return {
16607
+ selectedItems: selectedItems,
16608
+ setSelectedItems: function setSelectedItems(newState) {
16609
+ return _setSelectedItems(newState);
16610
+ },
16611
+ onChange: handleChange,
16612
+ onMixedStateChange: handleMixedStateChange,
16613
+ onClear: handleClear,
16614
+ onClearAll: handleClearAll
16615
+ };
16616
+ }
16617
+
16618
+ /**
16619
+ * The `useFilterBar` hook returns an object containing all the functions and state needed to control a FilterBar component and its child components.
16620
+ * The returned object includes the functions `onChange`, `onMixedStateChange`, `onClear` and `onClearAll` for handling any changes to the selectedItems object,
16621
+ * a `setSelectedItems` function that allows to set an initial selectedItems state
16622
+ * and the current state of the selection: `selectedItems`.
16623
+ * In addition it returns all props to handle a filter module overlay for the mobile view: a boolean value representing the current module state: `isModalOpen`,
16624
+ * an `onToggle` function to change the module state or alternatively `onOpen` and `onClose` functions.
16625
+ */
16626
+ function useFilterBar(initialState) {
16627
+ var _useState = useState(false),
16628
+ isModalOpen = _useState[0],
16629
+ setIsModalOpen = _useState[1];
16630
+ var _useMultiSelect = useMultiSelect(initialState),
16631
+ selectedItems = _useMultiSelect.selectedItems,
16632
+ setSelectedItems = _useMultiSelect.setSelectedItems,
16633
+ onChange = _useMultiSelect.onChange,
16634
+ onMixedStateChange = _useMultiSelect.onMixedStateChange,
16635
+ onClear = _useMultiSelect.onClear,
16636
+ onClearAll = _useMultiSelect.onClearAll;
16637
+ var handleToggle = function handleToggle() {
16638
+ return setIsModalOpen(!isModalOpen);
16639
+ };
16640
+ return {
16641
+ selectedItems: selectedItems,
16642
+ setSelectedItems: setSelectedItems,
16643
+ isModalOpen: isModalOpen,
16644
+ onOpen: function onOpen() {
16645
+ return setIsModalOpen(true);
16646
+ },
16647
+ onClose: function onClose() {
16648
+ return setIsModalOpen(false);
16649
+ },
16650
+ onToggle: handleToggle,
16651
+ onChange: onChange,
16652
+ onMixedStateChange: onMixedStateChange,
16653
+ onClear: onClear,
16654
+ onClearAll: onClearAll
16655
+ };
16656
+ }
16657
+
15545
16658
  /**
15546
16659
  * A custom hook that returns the Chakra-based NYPL theme object. This must be
15547
16660
  * used inside a component that is wrapped in the `DSProvider` component, so
@@ -15632,7 +16745,7 @@ function useNYPLTheme() {
15632
16745
  };
15633
16746
  }
15634
16747
 
15635
- var _excluded$2i = ["aspectRatio", "className", "descriptionText", "embedCode", "headingText", "helperText", "id", "iframeTitle", "showHelperInvalidText", "videoId", "videoType"];
16748
+ var _excluded$2o = ["aspectRatio", "className", "descriptionText", "embedCode", "headingText", "helperText", "id", "iframeTitle", "showHelperInvalidText", "videoId", "videoType"];
15636
16749
  var VideoPlayer$1 = /*#__PURE__*/chakra( /*#__PURE__*/forwardRef(function (props, ref) {
15637
16750
  var aspectRatio = props.aspectRatio,
15638
16751
  className = props.className,
@@ -15646,7 +16759,7 @@ var VideoPlayer$1 = /*#__PURE__*/chakra( /*#__PURE__*/forwardRef(function (props
15646
16759
  showHelperInvalidText = _props$showHelperInva === void 0 ? true : _props$showHelperInva,
15647
16760
  videoId = props.videoId,
15648
16761
  videoType = props.videoType,
15649
- rest = _objectWithoutPropertiesLoose(props, _excluded$2i);
16762
+ rest = _objectWithoutPropertiesLoose(props, _excluded$2o);
15650
16763
  var iframeTitleFinal = videoType === "vimeo" ? iframeTitle || "Vimeo video player" : iframeTitle || "YouTube video player";
15651
16764
  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";
15652
16765
  var iFrameTitleEmbedCode = iframeTitle ? "" + iframeTitle : "Video player";
@@ -15711,5 +16824,5 @@ var VideoPlayer$1 = /*#__PURE__*/chakra( /*#__PURE__*/forwardRef(function (props
15711
16824
  }, embedElement)));
15712
16825
  }));
15713
16826
 
15714
- 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 };
16827
+ export { Accordion, AlphabetFilter, AudioPlayer, Breadcrumbs, Button, ButtonGroup, Card, CardActions, CardContent, CardHeading, Checkbox, CheckboxGroup, ColorCard, DSProvider, DatePicker, FeedbackBox$1 as FeedbackBox, Fieldset, FilterBar$1 as FilterBar, 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, MultiSelect$1 as MultiSelect, MultiSelectGroup, 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, useFilterBar, useModal, useMultiSelect, useNYPLBreakpoints, useNYPLTheme, useWindowSize };
15715
16828
  //# sourceMappingURL=design-system-react-components.esm.js.map