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

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 (32) 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/components/TextInput/TextInput.d.ts +2 -0
  13. package/dist/design-system-react-components.cjs.development.js +1425 -287
  14. package/dist/design-system-react-components.cjs.development.js.map +1 -1
  15. package/dist/design-system-react-components.cjs.production.min.js +1 -1
  16. package/dist/design-system-react-components.cjs.production.min.js.map +1 -1
  17. package/dist/design-system-react-components.esm.js +1422 -289
  18. package/dist/design-system-react-components.esm.js.map +1 -1
  19. package/dist/hooks/__tests__/useFilterBar.test.d.ts +1 -0
  20. package/dist/hooks/__tests__/useMultiSelect.test.d.ts +1 -0
  21. package/dist/hooks/useFilterBar.d.ts +21 -0
  22. package/dist/hooks/useMultiSelect.d.ts +15 -0
  23. package/dist/index.d.ts +5 -0
  24. package/dist/theme/components/feedbackBox.d.ts +6 -0
  25. package/dist/theme/components/filterBar.d.ts +30 -0
  26. package/dist/theme/components/link.d.ts +22 -0
  27. package/dist/theme/components/multiSelect.d.ts +29 -0
  28. package/dist/theme/components/multiSelectMenuButton.d.ts +72 -0
  29. package/dist/theme/components/select.d.ts +3 -3
  30. package/dist/utils/utils.d.ts +6 -0
  31. package/package.json +1 -1
  32. package/CHANGELOG.md +0 -1724
@@ -12,6 +12,7 @@ var reactIntersectionObserver = require('react-intersection-observer');
12
12
  var ReactDatePicker = _interopDefault(require('react-datepicker'));
13
13
  var themeTools = require('@chakra-ui/theme-tools');
14
14
  var system = require('@chakra-ui/system');
15
+ var downshift = require('downshift');
15
16
  var FocusLock = _interopDefault(require('@chakra-ui/focus-lock'));
16
17
  var Cookies = _interopDefault(require('js-cookie'));
17
18
  var ReactGA = _interopDefault(require('react-ga'));
@@ -42,6 +43,13 @@ function _objectWithoutPropertiesLoose(source, excluded) {
42
43
  }
43
44
  return target;
44
45
  }
46
+ function _taggedTemplateLiteralLoose(strings, raw) {
47
+ if (!raw) {
48
+ raw = strings.slice(0);
49
+ }
50
+ strings.raw = raw;
51
+ return strings;
52
+ }
45
53
 
46
54
  var _path, _path2, _path3;
47
55
  var _excluded = ["title", "titleId"];
@@ -1602,16 +1610,20 @@ function getWithDirectionIcon(children, type, linkId) {
1602
1610
  });
1603
1611
  return React__default.createElement(React__default.Fragment, null, type === "backwards" && icon, children, type === "forwards" && icon);
1604
1612
  }
1605
- function getExternalIcon(children, linkId) {
1613
+ function getExternalExtraElements(children, linkId, styles) {
1606
1614
  var iconId = linkId + "-icon";
1607
- var icon = React__default.createElement(Icon, {
1615
+ var extraElements = React__default.createElement(React__default.Fragment, null, React__default.createElement(react.Box, {
1616
+ as: "span",
1617
+ __css: styles
1618
+ }, "This link opens in a new window"), React__default.createElement(Icon, {
1608
1619
  align: "right",
1609
1620
  className: "more-link",
1610
1621
  id: iconId,
1611
1622
  name: "actionLaunch",
1612
- size: "medium"
1613
- });
1614
- return React__default.createElement(React__default.Fragment, null, children, icon);
1623
+ size: "medium",
1624
+ title: "External link"
1625
+ }));
1626
+ return React__default.createElement(React__default.Fragment, null, children, extraElements);
1615
1627
  }
1616
1628
  /**
1617
1629
  * A component that uses an `href` prop or a child anchor element, to create
@@ -1640,12 +1652,16 @@ var Link = /*#__PURE__*/react.chakra( /*#__PURE__*/React.forwardRef(function (pr
1640
1652
  if (type === "action" || type === "forwards" || type === "backwards" || type === "external") {
1641
1653
  variant = "moreLink";
1642
1654
  } else if (type.includes("button")) {
1643
- if (type === "button") {
1644
- console.warn("NYPL Reservoir Link: The \"button\" type is deprecated. Instead, use either \"buttonPrimary\", \"buttonSecondary\", \"buttonPill\", \"buttonCallout\", \"buttonNoBrand\", or \"buttonDisabled\".");
1645
- }
1655
+ /** This deprecation warning is temporarily being removed, but it will be
1656
+ * reinstated once teams are able to update their `Link`s appropriately. */
1657
+ // if (type === "button") {
1658
+ // console.warn(
1659
+ // `NYPL Reservoir Link: The "button" type is deprecated. Instead, use either "buttonPrimary", "buttonSecondary", "buttonPill", "buttonCallout", "buttonNoBrand", or "buttonDisabled".`
1660
+ // );
1661
+ // }
1646
1662
  variant = type;
1647
1663
  }
1648
- var style = react.useStyleConfig("Link", {
1664
+ var styles = react.useMultiStyleConfig("Link", {
1649
1665
  variant: variant
1650
1666
  });
1651
1667
  var rel = type === "external" ? "nofollow" : null;
@@ -1653,7 +1669,7 @@ var Link = /*#__PURE__*/react.chakra( /*#__PURE__*/React.forwardRef(function (pr
1653
1669
  // Render with specific direction arrows if the type is
1654
1670
  // "forwards" or "backwards". Or render with the launch icon
1655
1671
  // if the type is "external". Otherwise, do not add an icon.
1656
- var newChildren = (type === "forwards" || type === "backwards") && getWithDirectionIcon(children, type, id) || type === "external" && getExternalIcon(children, id) || children;
1672
+ var newChildren = (type === "forwards" || type === "backwards") && getWithDirectionIcon(children, type, id) || type === "external" && getExternalExtraElements(children, id, styles.srOnly) || children;
1657
1673
  if (!href) {
1658
1674
  // React Types error makes this fail:
1659
1675
  // https://github.com/DefinitelyTyped/DefinitelyTyped/issues/32832
@@ -1665,7 +1681,7 @@ var Link = /*#__PURE__*/react.chakra( /*#__PURE__*/React.forwardRef(function (pr
1665
1681
  var childProps = childrenToClone.props;
1666
1682
  return React__default.createElement(react.Box, Object.assign({
1667
1683
  as: "span",
1668
- __css: style
1684
+ __css: styles
1669
1685
  }, rest), React__default.cloneElement(childrenToClone, _extends({
1670
1686
  className: className
1671
1687
  }, linkProps, childProps, {
@@ -1682,7 +1698,7 @@ var Link = /*#__PURE__*/react.chakra( /*#__PURE__*/React.forwardRef(function (pr
1682
1698
  onClick: onClick,
1683
1699
  target: target
1684
1700
  }, linkProps, {
1685
- __css: style
1701
+ __css: styles
1686
1702
  }), newChildren);
1687
1703
  }
1688
1704
  }));
@@ -1781,13 +1797,12 @@ var HelperErrorText = /*#__PURE__*/react.chakra( /*#__PURE__*/React.forwardRef(f
1781
1797
  text = _ref.text,
1782
1798
  rest = _objectWithoutPropertiesLoose(_ref, _excluded$V);
1783
1799
  // Only announce the text in the invalid state.
1784
- var announceAriaLive = isInvalid;
1785
1800
  var styles = react.useStyleConfig("HelperErrorText", {
1786
1801
  isInvalid: isInvalid
1787
1802
  });
1788
1803
  var props = _extends({
1789
1804
  "aria-atomic": ariaAtomic,
1790
- "aria-live": announceAriaLive ? ariaLive : "off",
1805
+ "aria-live": ariaLive === "off" ? undefined : ariaLive,
1791
1806
  className: className,
1792
1807
  "data-isinvalid": isInvalid,
1793
1808
  id: id,
@@ -2268,19 +2283,22 @@ var ButtonGroup = /*#__PURE__*/react.chakra( /*#__PURE__*/React.forwardRef(funct
2268
2283
  buttonWidth: finalButtonWidth
2269
2284
  });
2270
2285
  React__default.Children.map(children, function (child, key) {
2271
- if ((child == null ? void 0 : child.type) !== Button) {
2272
- // Special case for Storybook MDX documentation.
2273
- if (child != null && child.props.mdxType && (child == null ? void 0 : child.props.mdxType) === "Button") ; else {
2274
- console.warn("NYPL Reservoir ButtonGroup: Only Button components can be children of ButtonGroup.");
2275
- return;
2286
+ if (React__default.isValidElement(child)) {
2287
+ if (child.type !== Button) {
2288
+ // Special case for Storybook MDX documentation.
2289
+ // @ts-ignore
2290
+ if (child.props.mdxType && child.props.mdxType === "Button") ; else {
2291
+ console.warn("NYPL Reservoir ButtonGroup: Only Button components can be children of ButtonGroup.");
2292
+ return;
2293
+ }
2276
2294
  }
2295
+ var disabledProps = isDisabled ? {
2296
+ isDisabled: isDisabled
2297
+ } : {};
2298
+ newChildren.push(React__default.cloneElement(child, _extends({
2299
+ key: key
2300
+ }, disabledProps)));
2277
2301
  }
2278
- var disabledProps = isDisabled ? {
2279
- isDisabled: isDisabled
2280
- } : {};
2281
- child && newChildren.push(React__default.cloneElement(child, _extends({
2282
- key: key
2283
- }, disabledProps)));
2284
2302
  });
2285
2303
  return React__default.createElement(react.Stack, Object.assign({
2286
2304
  className: className,
@@ -2668,6 +2686,18 @@ var getAriaAttrs = function getAriaAttrs(_ref) {
2668
2686
  }
2669
2687
  return ariaAttributes;
2670
2688
  };
2689
+ /** Convert a hex color value to an rgb or rgba value */
2690
+ var hexToRGB = function hexToRGB(hex, alpha) {
2691
+ var shortHex = hex.length === 4;
2692
+ var rSlice = shortHex ? hex.slice(1, 2).repeat(2) : hex.slice(1, 3),
2693
+ gSlice = shortHex ? hex.slice(2, 3).repeat(2) : hex.slice(3, 5),
2694
+ bSlice = shortHex ? hex.slice(3, 4).repeat(2) : hex.slice(5, 7);
2695
+ var r = parseInt(rSlice, 16),
2696
+ g = parseInt(gSlice, 16),
2697
+ b = parseInt(bSlice, 16);
2698
+ var rgb = r + ", " + g + ", " + b;
2699
+ return alpha ? "rgba(" + rgb + "," + alpha + ")" : "rgb(" + rgb + ")";
2700
+ };
2671
2701
 
2672
2702
  var _excluded$12 = ["isIndeterminate", "isChecked"],
2673
2703
  _excluded2$2 = ["className", "invalidText", "helperText", "id", "isChecked", "isDisabled", "isIndeterminate", "isInvalid", "isRequired", "labelText", "name", "onChange", "showHelperInvalidText", "showLabel", "value"];
@@ -3550,7 +3580,7 @@ var Label = /*#__PURE__*/react.chakra( /*#__PURE__*/React.forwardRef(function (p
3550
3580
  }, rest), children, isRequired && React__default.createElement("span", null, requiredLabelText ? " (" + requiredLabelText + ")" : " (Required)"));
3551
3581
  }));
3552
3582
 
3553
- var _excluded$19 = ["className", "defaultValue", "helperText", "id", "invalidText", "isClearable", "isDisabled", "isInvalid", "isRequired", "labelText", "max", "maxLength", "min", "name", "onChange", "onClick", "onFocus", "placeholder", "showHelperInvalidText", "showLabel", "showRequiredLabel", "requiredLabelText", "step", "textInputType", "type", "value"];
3583
+ var _excluded$19 = ["className", "defaultValue", "helperText", "id", "invalidText", "isClearable", "isClearableCallback", "isDisabled", "isInvalid", "isRequired", "labelText", "max", "maxLength", "min", "name", "onChange", "onClick", "onFocus", "placeholder", "showHelperInvalidText", "showLabel", "showRequiredLabel", "requiredLabelText", "step", "textInputType", "type", "value"];
3554
3584
  // Only used internally.
3555
3585
  var TextInputFormats = {
3556
3586
  email: "jdoe@domain.com",
@@ -3574,6 +3604,7 @@ var TextInput = /*#__PURE__*/react.chakra( /*#__PURE__*/React.forwardRef(functio
3574
3604
  invalidText = props.invalidText,
3575
3605
  _props$isClearable = props.isClearable,
3576
3606
  isClearable = _props$isClearable === void 0 ? false : _props$isClearable,
3607
+ isClearableCallback = props.isClearableCallback,
3577
3608
  _props$isDisabled = props.isDisabled,
3578
3609
  isDisabled = _props$isDisabled === void 0 ? false : _props$isDisabled,
3579
3610
  _props$isInvalid = props.isInvalid,
@@ -3617,12 +3648,18 @@ var TextInput = /*#__PURE__*/react.chakra( /*#__PURE__*/React.forwardRef(functio
3617
3648
  });
3618
3649
  var isTextArea = type === "textarea";
3619
3650
  var isHidden = type === "hidden";
3651
+ var hasAutocomplete = false;
3620
3652
  var finalInvalidText = invalidText ? invalidText : "There is an error related to this field.";
3621
3653
  var internalOnChange = function internalOnChange(e) {
3622
3654
  setFinalValue(e.target.value);
3623
3655
  onChange && onChange(e);
3624
3656
  };
3625
3657
  var footnote = isInvalid ? finalInvalidText : helperText;
3658
+ if (type === "tel" || type === "url" || type === "email") {
3659
+ hasAutocomplete = true;
3660
+ var example = TextInputFormats[type] || "";
3661
+ footnote = React__default.createElement(React__default.Fragment, null, "Ex: ", example, React__default.createElement("br", null), footnote);
3662
+ }
3626
3663
  var ariaAttributes = getAriaAttrs({
3627
3664
  footnote: footnote,
3628
3665
  id: id,
@@ -3632,6 +3669,7 @@ var TextInput = /*#__PURE__*/react.chakra( /*#__PURE__*/React.forwardRef(functio
3632
3669
  });
3633
3670
  var onClearClick = function onClearClick() {
3634
3671
  setFinalValue("");
3672
+ isClearableCallback && isClearableCallback();
3635
3673
  // Set focus back to the input element.
3636
3674
  finalRef.current.focus();
3637
3675
  };
@@ -3651,10 +3689,6 @@ var TextInput = /*#__PURE__*/react.chakra( /*#__PURE__*/React.forwardRef(functio
3651
3689
  finalIsInvalid = true;
3652
3690
  console.warn("NYPL Reservoir TextInput: The `min` prop is greater than the `max` prop.");
3653
3691
  }
3654
- if (type === "tel" || type === "url" || type === "email") {
3655
- var example = TextInputFormats[type] || "";
3656
- footnote = React__default.createElement(React__default.Fragment, null, "Ex: ", example, React__default.createElement("br", null), footnote);
3657
- }
3658
3692
  // When the type is "hidden", the input element needs fewer attributes.
3659
3693
  options = isHidden ? {
3660
3694
  defaultValue: defaultValue,
@@ -3665,6 +3699,7 @@ var TextInput = /*#__PURE__*/react.chakra( /*#__PURE__*/React.forwardRef(functio
3665
3699
  ref: finalRef
3666
3700
  } : _extends({
3667
3701
  "aria-required": isRequired,
3702
+ autocomplete: hasAutocomplete ? type : null,
3668
3703
  defaultValue: defaultValue,
3669
3704
  id: id,
3670
3705
  isDisabled: isDisabled,
@@ -4254,14 +4289,16 @@ var breakpoints = /*#__PURE__*/themeTools.createBreakpoints({
4254
4289
  var black = "#000";
4255
4290
  var white = "#fff";
4256
4291
  var grayDark = "#616161";
4257
- var grayxxxxDark = "#121212";
4258
- var grayxxxDark = "#191919";
4259
- var grayxxDark = "#212121";
4292
+ var grayxxxxDark = "#191919";
4293
+ var grayxxxDark = "#252525";
4294
+ var grayxxDark = "#2E2E2E";
4260
4295
  var grayxDark = "#424242";
4261
4296
  var grayMedium = "#BDBDBD";
4262
4297
  var grayLightCool = "#E9E9E9";
4263
4298
  var grayxLightCool = "#F5F5F5";
4264
4299
  var grayxxLightCool = "#FAFAFA";
4300
+ var linkPrimary = "#0576D3";
4301
+ var linkSecondary = "#004B98";
4265
4302
  var brandPrimary = "#C60917";
4266
4303
  var brandSecondary = "#760000";
4267
4304
  var brandObj = {
@@ -4285,8 +4322,9 @@ var colors = {
4285
4322
  },
4286
4323
  focus: "#4181F1",
4287
4324
  link: {
4288
- primary: "#0576D3",
4289
- secondary: "#004B98"
4325
+ primary: linkPrimary,
4326
+ "primary-05": /*#__PURE__*/hexToRGB(linkPrimary, 0.05),
4327
+ secondary: linkSecondary
4290
4328
  },
4291
4329
  status: {
4292
4330
  primary: "#F9E08E",
@@ -4345,26 +4383,26 @@ var colors = {
4345
4383
  secondary: grayxxDark
4346
4384
  },
4347
4385
  error: {
4348
- primary: "#E1454C",
4349
- secondary: "#F67C82"
4386
+ primary: "#E1767B",
4387
+ secondary: "#F08F93"
4350
4388
  },
4351
- focus: "#5181D4",
4389
+ focus: "#6090E3",
4352
4390
  link: {
4353
- primary: "#2085D8",
4354
- secondary: "#50A0E1"
4391
+ primary: "#79B7EB",
4392
+ secondary: "#95CFFF"
4355
4393
  },
4356
4394
  status: {
4357
- primary: "#6F6544",
4358
- secondary: "#6F6765"
4395
+ primary: "#B69C46",
4396
+ secondary: "#CB8E7C"
4359
4397
  },
4360
4398
  success: {
4361
- primary: "#0E3B15",
4362
- secondary: "#0F2912"
4399
+ primary: "#52AA60",
4400
+ secondary: "#81C88A"
4363
4401
  },
4364
4402
  test: "#592B22",
4365
4403
  warning: {
4366
- primary: "#493320",
4367
- secondary: "#482C15"
4404
+ primary: "#DC8034",
4405
+ secondary: "#F1A66A"
4368
4406
  },
4369
4407
  // Semantic colors
4370
4408
  bg: {
@@ -4887,7 +4925,7 @@ var secondary = function secondary(_ref2) {
4887
4925
  color: "ui.link.primary"
4888
4926
  }, generalSizeValues(buttonSize), {
4889
4927
  _hover: {
4890
- bg: "ui.bg.default",
4928
+ bg: "ui.link.primary-05",
4891
4929
  borderColor: "ui.link.secondary",
4892
4930
  color: "ui.link.secondary"
4893
4931
  },
@@ -4928,7 +4966,7 @@ var text = function text(_ref4) {
4928
4966
  bg: "transparent"
4929
4967
  },
4930
4968
  _hover: {
4931
- bg: "transparent",
4969
+ bg: "ui.link.primary-05",
4932
4970
  color: "ui.link.secondary"
4933
4971
  }
4934
4972
  });
@@ -4964,9 +5002,9 @@ var iconOnly = function iconOnly(_ref6) {
4964
5002
  paddingInlineStart: "inset.narrow",
4965
5003
  paddingInlineEnd: "inset.narrow",
4966
5004
  _hover: {
4967
- bg: "ui.bg.default",
4968
- borderColor: "ui.link.primary",
4969
- color: "ui.link.primary"
5005
+ bg: "ui.link.primary-05",
5006
+ borderColor: "ui.link.secondary",
5007
+ color: "ui.link.secondary"
4970
5008
  }
4971
5009
  });
4972
5010
  };
@@ -5509,7 +5547,14 @@ var select = {
5509
5547
  },
5510
5548
  _active: selectTextInputFocusStyles,
5511
5549
  _disabled: /*#__PURE__*/_extends({}, selectTextInputDisabledStyles),
5512
- _focus: selectTextInputFocusStyles,
5550
+ _focus: /*#__PURE__*/_extends({}, selectTextInputFocusStyles, {
5551
+ // When the select is focused, the icon should be on top of the dropdown.
5552
+ // This should only be done when focused, otherswise the icon will render
5553
+ // above any other elements on the page.
5554
+ "+ .chakra-select__icon-wrapper": {
5555
+ zIndex: "9999"
5556
+ }
5557
+ }),
5513
5558
  _invalid: {
5514
5559
  border: "1px solid",
5515
5560
  borderColor: "ui.error.primary",
@@ -5521,12 +5566,6 @@ var Select = {
5521
5566
  baseStyle: function baseStyle(_ref) {
5522
5567
  var labelPosition = _ref.labelPosition;
5523
5568
  return {
5524
- // The backgroundColor set to "ui.white" hides the arrow SVG icon when
5525
- // the component is focused. The background is added for dark mode and
5526
- // so we need to add specific selector.
5527
- ".chakra-select__icon-wrapper": {
5528
- zIndex: "9999"
5529
- },
5530
5569
  inline: {
5531
5570
  display: {
5532
5571
  md: "flex"
@@ -5584,8 +5623,14 @@ var FeedbackBox = {
5584
5623
  parts: ["closeButton", "drawerBody", "drawerContent", "drawerHeader", "openButton"],
5585
5624
  baseStyle: {
5586
5625
  closeButton: {
5626
+ /** This is overriding the default min-height value in order to keep the
5627
+ * button spacing symmetrical. */
5628
+ minHeight: "40px",
5629
+ right: "xs",
5587
5630
  p: "0",
5588
- span: /*#__PURE__*/screenreaderOnly()
5631
+ position: "absolute",
5632
+ span: /*#__PURE__*/screenreaderOnly(),
5633
+ top: "xs"
5589
5634
  },
5590
5635
  drawerBody: {
5591
5636
  paddingTop: "m",
@@ -5605,8 +5650,8 @@ var FeedbackBox = {
5605
5650
  display: "flex",
5606
5651
  fontSize: "text.default",
5607
5652
  px: "m",
5608
- paddingTop: "xs",
5609
- paddingBottom: "xs",
5653
+ paddingTop: "s",
5654
+ paddingBottom: "s",
5610
5655
  p: {
5611
5656
  marginBottom: "0"
5612
5657
  }
@@ -5633,6 +5678,37 @@ var Fieldset$1 = {
5633
5678
  }
5634
5679
  };
5635
5680
 
5681
+ var filterBarWidth = {
5682
+ "default": {
5683
+ width: {
5684
+ base: "100%",
5685
+ md: "265px"
5686
+ }
5687
+ },
5688
+ full: {
5689
+ width: "100%"
5690
+ }
5691
+ };
5692
+ var FilterBar = {
5693
+ parts: ["modalHeader", "modalFooter", "modalCloseButton", "globalButtonGroup", "globalButtonGroupWrapper"],
5694
+ baseStyle: function baseStyle(_ref) {
5695
+ var width = _ref.width;
5696
+ return {
5697
+ width: "full",
5698
+ modalHeader: {
5699
+ bg: "ui.gray.x-light-cool"
5700
+ },
5701
+ modalFooter: {
5702
+ bg: "ui.gray.x-light-cool"
5703
+ },
5704
+ modalCloseButton: {
5705
+ mt: "8px"
5706
+ },
5707
+ globalButtonGroupWrapper: _extends({}, filterBarWidth[width])
5708
+ };
5709
+ }
5710
+ };
5711
+
5636
5712
  var footerGray = "#54514A";
5637
5713
  var Footer = {
5638
5714
  baseStyle: {
@@ -6714,14 +6790,18 @@ var variants = {
6714
6790
  })
6715
6791
  };
6716
6792
  var Link$1 = {
6793
+ parts: ["srOnly"],
6717
6794
  baseStyle: /*#__PURE__*/_extends({}, baseLinkStyles, {
6718
- // This is needed for custom anchor elements or link components
6719
- // that are passed as children to the `Link` component.
6795
+ /** This is needed for custom anchor elements or link components
6796
+ * that are passed as children to the `Link` component. */
6720
6797
  a: {
6721
6798
  _hover: {
6722
6799
  color: "ui.link.secondary"
6723
6800
  }
6724
- }
6801
+ },
6802
+ /** The element will handle descriptive text added to aid
6803
+ * screen readers. */
6804
+ srOnly: /*#__PURE__*/screenreaderOnly()
6725
6805
  }),
6726
6806
  variants: variants
6727
6807
  };
@@ -7357,6 +7437,202 @@ var Logo = {
7357
7437
  }
7358
7438
  };
7359
7439
 
7440
+ var multiSelectWidths = {
7441
+ "default": {
7442
+ width: {
7443
+ base: "100%",
7444
+ md: "250px"
7445
+ }
7446
+ },
7447
+ fitContent: {
7448
+ width: {
7449
+ base: "100%",
7450
+ md: "fit-content"
7451
+ },
7452
+ minWidth: {
7453
+ md: "175px"
7454
+ }
7455
+ },
7456
+ full: {
7457
+ width: "100%"
7458
+ }
7459
+ };
7460
+ var MultiSelect = {
7461
+ parts: ["actionButtons", "menu", "menuButton", "menuContainer", "menuChildren"],
7462
+ baseStyle: function baseStyle(_ref) {
7463
+ var isBlockElement = _ref.isBlockElement,
7464
+ isOpen = _ref.isOpen,
7465
+ _ref$width = _ref.width,
7466
+ width = _ref$width === void 0 ? "default" : _ref$width;
7467
+ return _extends({}, multiSelectWidths[width], {
7468
+ position: "relative",
7469
+ actionButtons: {
7470
+ borderTop: "1px solid",
7471
+ borderColor: "ui.gray.medium",
7472
+ gap: {
7473
+ base: "0",
7474
+ md: "s"
7475
+ },
7476
+ justifyContent: "flex-end",
7477
+ padding: {
7478
+ base: "s",
7479
+ md: "xs"
7480
+ },
7481
+ width: "auto"
7482
+ },
7483
+ menuContainer: _extends({
7484
+ backgroundColor: "white",
7485
+ position: {
7486
+ md: isBlockElement ? "relative" : "absolute"
7487
+ },
7488
+ display: isOpen ? "block" : "none",
7489
+ zIndex: isBlockElement ? 0 : 9999
7490
+ }, width === "fitContent" && {
7491
+ minWidth: {
7492
+ md: "275px"
7493
+ },
7494
+ maxWidth: {
7495
+ md: "375px"
7496
+ }
7497
+ }, {
7498
+ width: "100%",
7499
+ // These are for active states
7500
+ boxSizing: "border-box",
7501
+ border: "1px solid",
7502
+ borderBottomLeftRadius: "button.default",
7503
+ borderBottomRightRadius: "button.default",
7504
+ borderTopLeftRadius: "0",
7505
+ borderTopRightRadius: "0",
7506
+ borderColor: "ui.gray.dark",
7507
+ marginTop: "-1px",
7508
+ paddingX: 0,
7509
+ paddingY: 0,
7510
+ ul: {
7511
+ m: 0,
7512
+ px: 0,
7513
+ py: "xs",
7514
+ li: {
7515
+ p: 0,
7516
+ div: {
7517
+ px: "s",
7518
+ paddingTop: "xs",
7519
+ paddingBottom: "6px",
7520
+ _hover: {
7521
+ bg: "ui.gray.x-light-cool"
7522
+ }
7523
+ }
7524
+ },
7525
+ ul: {
7526
+ py: 0,
7527
+ li: {
7528
+ div: {
7529
+ paddingLeft: "46px",
7530
+ paddingRight: 0
7531
+ }
7532
+ }
7533
+ }
7534
+ }
7535
+ }),
7536
+ menu: {
7537
+ paddingX: "xs",
7538
+ // Controls the height of the multiselect menu, before scroll bar.
7539
+ maxHeight: {
7540
+ base: "100%",
7541
+ md: "285px"
7542
+ },
7543
+ overflowX: {
7544
+ base: "hidden"
7545
+ },
7546
+ overflowY: {
7547
+ base: "auto"
7548
+ },
7549
+ _focus: {
7550
+ outline: "0px !important"
7551
+ }
7552
+ },
7553
+ menuChildren: {
7554
+ paddingLeft: "m",
7555
+ marginBottom: 0
7556
+ }
7557
+ });
7558
+ }
7559
+ };
7560
+
7561
+ var MultiSelectMenuButton = {
7562
+ parts: ["buttonLabel", "menuButton", "selectedItemsCountButton", "toggleIcon"],
7563
+ baseStyle: function baseStyle(_ref) {
7564
+ var _ref$hasSelectedItems = _ref.hasSelectedItems,
7565
+ hasSelectedItems = _ref$hasSelectedItems === void 0 ? false : _ref$hasSelectedItems,
7566
+ _ref$isOpen = _ref.isOpen,
7567
+ isOpen = _ref$isOpen === void 0 ? false : _ref$isOpen;
7568
+ return {
7569
+ buttonLabel: {
7570
+ justifyContent: "flex-start",
7571
+ overflow: "hidden",
7572
+ marginLeft: hasSelectedItems ? "50px" : "0",
7573
+ marginRight: "l",
7574
+ textAlign: "left",
7575
+ textOverflow: "ellipsis",
7576
+ whiteSpace: "nowrap",
7577
+ transition: "margin 150ms ease-out"
7578
+ },
7579
+ menuButton: {
7580
+ alignItems: "center",
7581
+ backgroundColor: isOpen ? "ui.bg.active" : "ui.white",
7582
+ borderBottomLeftRadius: isOpen ? "0" : "button.default",
7583
+ borderBottomRightRadius: isOpen ? "0" : "button.default",
7584
+ borderColor: isOpen ? "ui.gray.dark" : "ui.gray.medium",
7585
+ borderRadius: "button.default",
7586
+ borderWidth: "1px",
7587
+ fontSize: "button.default",
7588
+ minHeight: {
7589
+ base: defaultElementSizes.mobileFieldHeight,
7590
+ md: "auto"
7591
+ },
7592
+ px: "s",
7593
+ py: "xs",
7594
+ display: "inline-flex",
7595
+ justifyContent: "space-between",
7596
+ width: "100%",
7597
+ _hover: {
7598
+ backgroundColor: isOpen ? "ui.bg.active" : "ui.white",
7599
+ borderColor: "ui.gray.dark"
7600
+ },
7601
+ svg: {
7602
+ marginTop: "0"
7603
+ }
7604
+ },
7605
+ selectedItemsCountButton: {
7606
+ alignItems: "center",
7607
+ backgroundColor: "ui.gray.light-cool",
7608
+ border: "1px",
7609
+ borderRadius: "20px",
7610
+ borderColor: isOpen ? "ui.border.hover" : "ui.border.default",
7611
+ display: "flex",
7612
+ flexShrink: 0,
7613
+ fontSize: "text.tag",
7614
+ justifyContent: "flex-end",
7615
+ left: "15px",
7616
+ marginRight: "xs",
7617
+ position: "absolute",
7618
+ top: {
7619
+ base: "12px",
7620
+ md: "10px"
7621
+ },
7622
+ width: "46px",
7623
+ _hover: {
7624
+ borderColor: isOpen ? "ui.gray.xx-dark" : "ui.border.hover"
7625
+ },
7626
+ svg: {
7627
+ marginLeft: "xxs",
7628
+ marginRight: "6px",
7629
+ marginTop: "0"
7630
+ }
7631
+ }
7632
+ };
7633
+ }
7634
+ };
7635
+
7360
7636
  var Notification = {
7361
7637
  parts: ["container", "dismissibleButton", "icon"],
7362
7638
  baseStyle: function baseStyle(_ref) {
@@ -8935,6 +9211,7 @@ var theme = /*#__PURE__*/react.extendTheme( /*#__PURE__*/_extends({
8935
9211
  DatePicker: DatePicker$1,
8936
9212
  FeedbackBox: FeedbackBox,
8937
9213
  Fieldset: Fieldset$1,
9214
+ FilterBar: FilterBar,
8938
9215
  Footer: Footer,
8939
9216
  Header: Header,
8940
9217
  HeaderLogin: HeaderLogin,
@@ -8955,7 +9232,9 @@ var theme = /*#__PURE__*/react.extendTheme( /*#__PURE__*/_extends({
8955
9232
  Label: Label$1,
8956
9233
  Link: Link$1,
8957
9234
  List: List,
8958
- Logo: Logo
9235
+ Logo: Logo,
9236
+ MultiSelect: MultiSelect,
9237
+ MultiSelectMenuButton: MultiSelectMenuButton
8959
9238
  }, NotificationStyles, {
8960
9239
  Pagination: Pagination,
8961
9240
  ProgressIndicator: ProgressIndicator,
@@ -9456,6 +9735,9 @@ var FeedbackBox$1 = /*#__PURE__*/react.chakra( /*#__PURE__*/React.forwardRef(fun
9456
9735
  setComment = _useFeedbackBoxReduce.setComment,
9457
9736
  setEmail = _useFeedbackBoxReduce.setEmail,
9458
9737
  clearValues = _useFeedbackBoxReduce.clearValues;
9738
+ // Hook into NYPL breakpoint
9739
+ var _useNYPLBreakpoints = useNYPLBreakpoints(),
9740
+ isLargerThanMobile = _useNYPLBreakpoints.isLargerThanMobile;
9459
9741
  // Chakra's hook to control Drawer's actions.
9460
9742
  var disclosure = react.useDisclosure();
9461
9743
  var finalIsOpen = isOpen ? isOpen : disclosure.isOpen;
@@ -9468,11 +9750,13 @@ var FeedbackBox$1 = /*#__PURE__*/react.chakra( /*#__PURE__*/React.forwardRef(fun
9468
9750
  var isErrorView = viewType === "error";
9469
9751
  var confirmationTimeout = 3000;
9470
9752
  var maxCommentCharacters = 500;
9471
- var initMinHeight = "275px";
9753
+ var initMinHeight = 165;
9472
9754
  var initTemplateRows = "auto 1fr";
9473
- var minHeightWithCategory = "345px";
9474
- var minHeightWithEmail = "385px";
9475
- var minHeightWithCategoryAndEmail = "455px";
9755
+ var minHeightWithCategory = 235;
9756
+ var minHeightWithEmail = 275;
9757
+ var minHeightWithCategoryAndEmail = 345;
9758
+ var notificationHeightAdjustment = 37;
9759
+ var descriptionHeightAdjustment = 24;
9476
9760
  var drawerMinHeight = initMinHeight;
9477
9761
  var closeAndResetForm = function closeAndResetForm() {
9478
9762
  finalOnClose();
@@ -9499,16 +9783,18 @@ var FeedbackBox$1 = /*#__PURE__*/react.chakra( /*#__PURE__*/React.forwardRef(fun
9499
9783
  "> div": {
9500
9784
  py: "xs"
9501
9785
  }
9502
- }
9786
+ },
9787
+ width: "100%"
9503
9788
  }) : undefined;
9504
9789
  var descriptionElement = isFormView && descriptionText ? React__default.createElement(Text, {
9505
9790
  fontWeight: "medium",
9506
- mb: "0"
9791
+ noSpace: true
9507
9792
  }, descriptionText) : undefined;
9508
9793
  var privacyPolicyField = React__default.createElement(FormField, null, React__default.createElement(Link, {
9509
9794
  href: "https://www.nypl.org/help/about-nypl/legal-notices/privacy-policy",
9510
9795
  type: "external",
9511
- fontSize: "text.tag"
9796
+ fontSize: "text.tag",
9797
+ width: "fit-content"
9512
9798
  }, "Privacy Policy"));
9513
9799
  // When the submit button is clicked, set a timeout before displaying
9514
9800
  // the confirmation or error screen. This automatically goes to the
@@ -9565,6 +9851,16 @@ var FeedbackBox$1 = /*#__PURE__*/react.chakra( /*#__PURE__*/React.forwardRef(fun
9565
9851
  if (showCategoryField && showEmailField) {
9566
9852
  drawerMinHeight = minHeightWithCategoryAndEmail;
9567
9853
  }
9854
+ if (notificationText) {
9855
+ drawerMinHeight += notificationHeightAdjustment;
9856
+ }
9857
+ if (descriptionText) {
9858
+ drawerMinHeight += descriptionHeightAdjustment;
9859
+ }
9860
+ if (notificationText && descriptionText) {
9861
+ drawerMinHeight += 16;
9862
+ }
9863
+ var finalDrawerMinHeight = drawerMinHeight + "px";
9568
9864
  return React__default.createElement(react.Box, Object.assign({
9569
9865
  className: className,
9570
9866
  id: id,
@@ -9581,11 +9877,7 @@ var FeedbackBox$1 = /*#__PURE__*/react.chakra( /*#__PURE__*/React.forwardRef(fun
9581
9877
  placement: "bottom"
9582
9878
  }, React__default.createElement(react.DrawerOverlay, null), React__default.createElement(react.DrawerContent, {
9583
9879
  sx: styles.drawerContent
9584
- }, React__default.createElement(react.DrawerHeader, {
9585
- sx: styles.drawerHeader
9586
- }, React__default.createElement(Text, {
9587
- "data-testid": "title"
9588
- }, title), React__default.createElement(react.Spacer, null), React__default.createElement(Button, {
9880
+ }, React__default.createElement(Button, {
9589
9881
  buttonType: "text",
9590
9882
  id: "close-btn",
9591
9883
  onClick: finalOnClose,
@@ -9594,24 +9886,38 @@ var FeedbackBox$1 = /*#__PURE__*/react.chakra( /*#__PURE__*/React.forwardRef(fun
9594
9886
  color: "ui.black",
9595
9887
  name: "minus",
9596
9888
  size: "medium"
9597
- }), React__default.createElement("span", null, "Close ", title))), React__default.createElement(react.DrawerBody, {
9889
+ }), React__default.createElement("span", null, "Close ", title)), React__default.createElement(react.DrawerHeader, {
9890
+ sx: styles.drawerHeader
9891
+ }, React__default.createElement(Text, {
9892
+ "data-testid": "title"
9893
+ }, title)), React__default.createElement(react.DrawerBody, {
9598
9894
  sx: styles.drawerBody
9599
9895
  }, React__default.createElement(Form, {
9600
9896
  gap: "grid.s",
9601
9897
  id: "feedback-form",
9602
9898
  onSubmit: internalOnSubmit,
9603
9899
  sx: {
9604
- "> div": {
9605
- minHeight: drawerMinHeight,
9900
+ ".feedback-body": {
9901
+ alignItems: "flex-start",
9902
+ minHeight: finalDrawerMinHeight,
9606
9903
  gridTemplateRows: initTemplateRows
9904
+ },
9905
+ ".feedback-body.response": {
9906
+ alignItems: "center",
9907
+ display: "flex",
9908
+ flexDirection: "column",
9909
+ justifyContent: "center"
9607
9910
  }
9608
9911
  }
9609
- }, 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, {
9912
+ }, isFormView && React__default.createElement(React__default.Fragment, null, React__default.createElement(react.VStack, {
9913
+ className: "feedback-body",
9914
+ spacing: "s"
9915
+ }, (notificationElement || descriptionElement) && React__default.createElement(React__default.Fragment, null, notificationElement, descriptionElement), showCategoryField && React__default.createElement(FormField, null, React__default.createElement(RadioGroup$1, {
9610
9916
  defaultValue: state.category,
9611
9917
  id: id + "-category",
9612
9918
  isDisabled: isSubmitted,
9613
9919
  labelText: "What is your feedback about?",
9614
- layout: "row",
9920
+ layout: isLargerThanMobile ? "row" : "column",
9615
9921
  name: id + "-category",
9616
9922
  onChange: function onChange(selected) {
9617
9923
  return setCategory(selected);
@@ -9628,7 +9934,9 @@ var FeedbackBox$1 = /*#__PURE__*/react.chakra( /*#__PURE__*/React.forwardRef(fun
9628
9934
  id: "bug",
9629
9935
  labelText: "Bug",
9630
9936
  value: "bug"
9631
- }))), React__default.createElement(FormField, null, React__default.createElement(TextInput, {
9937
+ }))), React__default.createElement(FormField, {
9938
+ width: "100%"
9939
+ }, React__default.createElement(TextInput, {
9632
9940
  helperText: maxCommentCharacters - state.comment.length + " characters remaining",
9633
9941
  id: id + "-comment",
9634
9942
  invalidText: "Please fill out this field.",
@@ -9644,7 +9952,9 @@ var FeedbackBox$1 = /*#__PURE__*/react.chakra( /*#__PURE__*/React.forwardRef(fun
9644
9952
  placeholder: "Enter your question or feedback here",
9645
9953
  type: "textarea",
9646
9954
  defaultValue: state.comment
9647
- })), showEmailField && React__default.createElement(FormField, null, React__default.createElement(TextInput, {
9955
+ })), showEmailField && React__default.createElement(FormField, {
9956
+ width: "100%"
9957
+ }, React__default.createElement(TextInput, {
9648
9958
  id: id + "-email",
9649
9959
  invalidText: "Please enter a valid email address.",
9650
9960
  isDisabled: isSubmitted,
@@ -9657,7 +9967,7 @@ var FeedbackBox$1 = /*#__PURE__*/react.chakra( /*#__PURE__*/React.forwardRef(fun
9657
9967
  placeholder: "Enter your email address here",
9658
9968
  type: "email",
9659
9969
  value: state.email
9660
- })), privacyPolicyField, React__default.createElement(FormField, null, React__default.createElement(ButtonGroup, {
9970
+ }))), privacyPolicyField, React__default.createElement(FormField, null, React__default.createElement(ButtonGroup, {
9661
9971
  buttonWidth: "full",
9662
9972
  id: "submit-cancel"
9663
9973
  }, React__default.createElement(Button, {
@@ -9672,6 +9982,7 @@ var FeedbackBox$1 = /*#__PURE__*/react.chakra( /*#__PURE__*/React.forwardRef(fun
9672
9982
  key: "submit",
9673
9983
  type: "submit"
9674
9984
  }, "Submit")))), isConfirmationView && React__default.createElement(React__default.Fragment, null, React__default.createElement(react.Box, {
9985
+ className: "feedback-body response",
9675
9986
  key: "confirmationWrapper",
9676
9987
  margin: "auto",
9677
9988
  tabIndex: 0,
@@ -9690,6 +10001,7 @@ var FeedbackBox$1 = /*#__PURE__*/react.chakra( /*#__PURE__*/React.forwardRef(fun
9690
10001
  buttonType: "secondary",
9691
10002
  onClick: closeAndResetForm
9692
10003
  }, "Return to Browsing")))), isErrorView && React__default.createElement(React__default.Fragment, null, React__default.createElement(react.Box, {
10004
+ className: "feedback-body response",
9693
10005
  color: "ui.error.primary",
9694
10006
  key: "errorWrapper",
9695
10007
  margin: "auto",
@@ -9738,78 +10050,730 @@ function useFeedbackBox() {
9738
10050
  };
9739
10051
  }
9740
10052
 
9741
- var _excluded$1f = ["children", "className", "id", "inline", "listItems", "noStyling", "title", "type"];
10053
+ var _excluded$1f = ["id", "isOpen", "multiSelectId", "multiSelectLabel", "onClear", "onKeyDown", "onMenuToggle", "selectedItems"];
10054
+ var _templateObject;
10055
+ var grow = /*#__PURE__*/react.keyframes(_templateObject || (_templateObject = /*#__PURE__*/_taggedTemplateLiteralLoose(["\n from {width: 22px; opacity: 0; }\n to {width: 46px; opacity: 1;}\n"])));
9742
10056
  /**
9743
- * A component that renders list item `li` elements or description item `dt`
9744
- * and `dd` elements based on the `type` prop. Note that the `title` prop will
9745
- * only display for the `Description` list type.
10057
+ * The toggle button component used to open and close the `MultiSelect` menu.
10058
+ * A second button is rendered above the main button that displays the current
10059
+ * number of selected items. Clicking on the second button will clear all
10060
+ * the selected items and the main button's close event will not be fired
10061
+ * (as expected).
9746
10062
  */
9747
- var List$1 = /*#__PURE__*/react.chakra( /*#__PURE__*/React.forwardRef(function (props, ref) {
9748
- var children = props.children,
9749
- className = props.className,
9750
- id = props.id,
9751
- _props$inline = props.inline,
9752
- inline = _props$inline === void 0 ? false : _props$inline,
9753
- listItems = props.listItems,
9754
- _props$noStyling = props.noStyling,
9755
- noStyling = _props$noStyling === void 0 ? false : _props$noStyling,
9756
- title = props.title,
9757
- _props$type = props.type,
9758
- type = _props$type === void 0 ? "ul" : _props$type,
10063
+ var MultiSelectMenuButton$1 = /*#__PURE__*/React.forwardRef(function (props, ref) {
10064
+ var _selectedItems$multiS;
10065
+ var id = props.id,
10066
+ isOpen = props.isOpen,
10067
+ multiSelectId = props.multiSelectId,
10068
+ multiSelectLabel = props.multiSelectLabel,
10069
+ onClear = props.onClear,
10070
+ onMenuToggle = props.onMenuToggle,
10071
+ selectedItems = props.selectedItems,
9759
10072
  rest = _objectWithoutPropertiesLoose(props, _excluded$1f);
9760
- var styles = react.useStyleConfig("List", {
9761
- inline: inline,
9762
- noStyling: noStyling,
9763
- variant: type
10073
+ var iconType = isOpen ? "minus" : "plus";
10074
+ var growAnimation = grow + " 150ms ease-out";
10075
+ // Sets the selected items count on the menu button.
10076
+ var getSelectedItemsCount;
10077
+ var selectedItemsAriaLabel;
10078
+ if (((_selectedItems$multiS = selectedItems[multiSelectId]) == null ? void 0 : _selectedItems$multiS.items.length) > 0) {
10079
+ getSelectedItemsCount = "" + selectedItems[multiSelectId].items.length;
10080
+ var itemPlural = getSelectedItemsCount === "1" ? "" : "s";
10081
+ selectedItemsAriaLabel = getSelectedItemsCount + " item" + itemPlural + " selected";
10082
+ }
10083
+ var styles = react.useMultiStyleConfig("MultiSelectMenuButton", {
10084
+ isOpen: isOpen,
10085
+ hasSelectedItems: getSelectedItemsCount
9764
10086
  });
9765
- var listElement = null;
9766
- // Either li/dt/dd children elements must be passed or the `listItems`
9767
- // prop must be used.
9768
- if (children && listItems && (listItems == null ? void 0 : listItems.length) > 0) {
9769
- console.warn("NYPL Reservoir List: Pass in either `<li>`, `<dt>`, or `<dd>` " + "children or use the `listItems` data prop. Do not use both.");
9770
- return null;
10087
+ // We need this for our "fake" button inside the main menu button.
10088
+ function onKeyPress(e) {
10089
+ var enterOrSpace = e.key === "Enter" || e.key === " " || e.key === "Spacebar" || e.which === 13 || e.which === 32;
10090
+ if (enterOrSpace) {
10091
+ e.preventDefault();
10092
+ onClear();
10093
+ }
9771
10094
  }
9772
- if (!children && !listItems) {
9773
- console.warn("NYPL Reservoir List: Pass in either `<li>` children or pass data in " + "the `listItems` prop, not both.");
9774
- return null;
10095
+ return React__default.createElement(React__default.Fragment, null, React__default.createElement(Button, Object.assign({
10096
+ buttonType: "secondary",
10097
+ id: id,
10098
+ onClick: onMenuToggle,
10099
+ ref: ref,
10100
+ __css: styles.menuButton
10101
+ }, rest), React__default.createElement(react.Box, {
10102
+ as: "span",
10103
+ title: multiSelectLabel,
10104
+ __css: styles.buttonLabel
10105
+ }, multiSelectLabel), React__default.createElement(Icon, {
10106
+ id: "ms-" + multiSelectId + "-icon",
10107
+ name: iconType,
10108
+ size: "small"
10109
+ })), getSelectedItemsCount && React__default.createElement(react.Box, {
10110
+ animation: growAnimation,
10111
+ "aria-label": selectedItemsAriaLabel,
10112
+ as: "span",
10113
+ onClick: onClear,
10114
+ onKeyPress: onKeyPress,
10115
+ role: "button",
10116
+ tabIndex: 0,
10117
+ __css: styles.selectedItemsCountButton
10118
+ }, React__default.createElement(react.Box, {
10119
+ as: "span",
10120
+ verticalAlign: "text-bottom"
10121
+ }, getSelectedItemsCount), React__default.createElement(Icon, {
10122
+ align: "right",
10123
+ id: "ms-" + multiSelectId + "-selected-items-count-icon",
10124
+ marginLeft: "xs",
10125
+ name: "close",
10126
+ size: "xsmall"
10127
+ })));
10128
+ });
10129
+
10130
+ var _excluded$1g = ["id", "isBlockElement", "isDefaultOpen", "items", "label", "onChange", "onClear", "selectedItems", "width"];
10131
+ /** MultiSelectListbox renders a non-hierarchical list of checkbox options for the `variant="listbox". It leverager downshift-js for accessiblity. */
10132
+ var MultiSelectListbox = /*#__PURE__*/react.chakra( /*#__PURE__*/React.forwardRef(function (props, ref) {
10133
+ var id = props.id,
10134
+ isBlockElement = props.isBlockElement,
10135
+ isDefaultOpen = props.isDefaultOpen,
10136
+ items = props.items,
10137
+ label = props.label,
10138
+ onChange = props.onChange,
10139
+ onClear = props.onClear,
10140
+ selectedItems = props.selectedItems,
10141
+ width = props.width,
10142
+ rest = _objectWithoutPropertiesLoose(props, _excluded$1g);
10143
+ // Downshift.
10144
+ var _useSelect = downshift.useSelect({
10145
+ items: items,
10146
+ // Downshift's internal state for handling keyboard and mouse events.
10147
+ stateReducer: function stateReducer(state, actionAndChanges) {
10148
+ var changes = actionAndChanges.changes,
10149
+ type = actionAndChanges.type;
10150
+ switch (type) {
10151
+ case downshift.useSelect.stateChangeTypes.MenuKeyDownEnter:
10152
+ case downshift.useSelect.stateChangeTypes.MenuKeyDownSpaceButton:
10153
+ case downshift.useSelect.stateChangeTypes.ItemClick:
10154
+ return _extends({}, changes, {
10155
+ isOpen: true,
10156
+ highlightedIndex: state.highlightedIndex
10157
+ });
10158
+ default:
10159
+ return changes;
10160
+ }
10161
+ },
10162
+ //@ts-ignore
10163
+ selectedItem: selectedItems,
10164
+ onSelectedItemChange: function onSelectedItemChange(_ref) {
10165
+ var selectedItem = _ref.selectedItem;
10166
+ onChange(selectedItem, id);
10167
+ },
10168
+ initialIsOpen: isDefaultOpen
10169
+ }),
10170
+ getItemProps = _useSelect.getItemProps,
10171
+ getMenuProps = _useSelect.getMenuProps,
10172
+ getToggleButtonProps = _useSelect.getToggleButtonProps,
10173
+ highlightedIndex = _useSelect.highlightedIndex,
10174
+ isOpen = _useSelect.isOpen;
10175
+ var styles = react.useMultiStyleConfig("MultiSelect", {
10176
+ width: width,
10177
+ isBlockElement: isBlockElement,
10178
+ isOpen: isOpen
10179
+ });
10180
+ // If a item passed to the listbox variant has children,
10181
+ if (items.some(function (item) {
10182
+ return item.children;
10183
+ })) {
10184
+ console.warn("NYPL Reservoir MultiSelect: Only the variant 'dialog' can render nested select items.");
9775
10185
  }
9776
- /**
9777
- * This returns either the `children` elements passed to the `List` component
9778
- * first, otherwise it will check and render the data passed into the
9779
- * `listItems` props based on the `ListType` type. If it is of type unordered
9780
- * or ordered, it will return `li` elements. Otherwise, it will return a
9781
- * combination of `dt` and `dd` elements for the description type.
9782
- */
9783
- var listChildrenElms = function listChildrenElms(listType) {
9784
- if (children) {
9785
- return children;
9786
- }
9787
- if (!listItems) {
9788
- return null;
9789
- }
9790
- if (listType === "ol" || listType === "ul") {
9791
- return listItems.map(function (item, i) {
9792
- return React__default.createElement("li", {
9793
- key: i
9794
- }, item);
9795
- });
9796
- } else if (listType === "dl") {
9797
- return listItems.map(function (item, i) {
9798
- return [React__default.createElement("dt", {
9799
- key: i + "-term"
9800
- }, item.term), React__default.createElement("dd", {
9801
- key: i + "-des"
9802
- }, item.description)];
9803
- });
9804
- }
9805
- return null;
9806
- };
9807
- /**
9808
- * Checks for `dt` and `dd` elements and consoles a warning if the
9809
- * children are different HTML elements.
9810
- */
9811
- var checkDescriptionChildrenError = function checkDescriptionChildrenError() {
9812
- React__default.Children.map(children, function (child) {
10186
+ return React__default.createElement(react.Box, Object.assign({
10187
+ id: id,
10188
+ __css: styles
10189
+ }, rest), React__default.createElement(MultiSelectMenuButton$1, Object.assign({
10190
+ multiSelectId: id,
10191
+ multiSelectLabel: label,
10192
+ isOpen: isOpen,
10193
+ selectedItems: selectedItems,
10194
+ onClear: onClear,
10195
+ ref: ref
10196
+ }, getToggleButtonProps({
10197
+ id: "ms-" + id + "-menu-button",
10198
+ "aria-labelledby": "ms-" + id + "-menu ms-" + id + "-menu-button"
10199
+ }))), React__default.createElement(react.Box, {
10200
+ __css: styles.menuContainer
10201
+ }, React__default.createElement(react.UnorderedList, Object.assign({
10202
+ styleType: "none",
10203
+ marginInlineStart: "0"
10204
+ }, getMenuProps({
10205
+ id: "ms-" + id + "-menu",
10206
+ "aria-labelledby": "ms-" + id + "-menu-button"
10207
+ }), {
10208
+ // @FIX This prevents the menu from closing when checkbox or label is clicked.
10209
+ onClick: function onClick(e) {
10210
+ return e.preventDefault();
10211
+ },
10212
+ __css: styles.menu
10213
+ }), isOpen && items.map(function (item, index) {
10214
+ var _selectedItems$id;
10215
+ return React__default.createElement(react.ListItem, Object.assign({
10216
+ py: 1,
10217
+ // @TODO fix this, we want to pass the key prop as part of ...getItemProps but get
10218
+ // error Missing "key" prop for element in iterator react/jsx-key
10219
+ key: item.id
10220
+ }, getItemProps({
10221
+ id: "ms-" + id + "-item-" + index,
10222
+ key: item.id,
10223
+ item: item,
10224
+ index: index
10225
+ }), {
10226
+ sx: highlightedIndex === index ? {
10227
+ backgroundColor: "ui.gray.x-light-cool"
10228
+ } : {}
10229
+ }), React__default.createElement(Checkbox, {
10230
+ id: item.id,
10231
+ labelText: item.name,
10232
+ name: item.name,
10233
+ isChecked: (_selectedItems$id = selectedItems[id]) == null ? void 0 : _selectedItems$id.items.includes(item.id),
10234
+ onChange: function onChange() {
10235
+ return null;
10236
+ }
10237
+ }));
10238
+ }))));
10239
+ }),
10240
+ // Pass all custom props to Chakra and override, for width prop.
10241
+ {
10242
+ shouldForwardProp: function shouldForwardProp() {
10243
+ return true;
10244
+ }
10245
+ });
10246
+
10247
+ var _excluded$1h = ["id", "isBlockElement", "isDefaultOpen", "items", "label", "onApply", "onChange", "onClear", "onMixedStateChange", "selectedItems", "width"];
10248
+ var MultiSelectDialog = /*#__PURE__*/react.chakra( /*#__PURE__*/React.forwardRef(function (props, ref) {
10249
+ var id = props.id,
10250
+ isBlockElement = props.isBlockElement,
10251
+ isDefaultOpen = props.isDefaultOpen,
10252
+ items = props.items,
10253
+ label = props.label,
10254
+ onApply = props.onApply,
10255
+ onChange = props.onChange,
10256
+ onClear = props.onClear,
10257
+ onMixedStateChange = props.onMixedStateChange,
10258
+ selectedItems = props.selectedItems,
10259
+ width = props.width,
10260
+ rest = _objectWithoutPropertiesLoose(props, _excluded$1h);
10261
+ // Use NYPL Breakpoints hook to check screen size
10262
+ var _useNYPLBreakpoints = useNYPLBreakpoints(),
10263
+ isLargerThanMobile = _useNYPLBreakpoints.isLargerThanMobile;
10264
+ // Control the open or closed state of the MultiSelect.
10265
+ var _useState = React.useState(isDefaultOpen),
10266
+ isOpen = _useState[0],
10267
+ setIsOpen = _useState[1];
10268
+ var styles = react.useMultiStyleConfig("MultiSelect", {
10269
+ width: width,
10270
+ isBlockElement: isBlockElement,
10271
+ isOpen: isOpen
10272
+ });
10273
+ // Create a ref that we add to the element for which we want to detect outside clicks.
10274
+ var internalRef = React.useRef();
10275
+ // Custom Hook, Closes the MultiSelect if user clicks outside.
10276
+ function useOnClickOutside(ref, handler) {
10277
+ React__default.useEffect(function () {
10278
+ var listener = function listener(event) {
10279
+ // Do nothing if clicking ref's element or descendent elements
10280
+ if (!ref.current || ref.current.contains(event.target)) {
10281
+ return;
10282
+ }
10283
+ handler(event);
10284
+ };
10285
+ document.addEventListener("mousedown", listener);
10286
+ document.addEventListener("touchstart", listener);
10287
+ return function () {
10288
+ document.removeEventListener("mousedown", listener);
10289
+ document.removeEventListener("touchstart", listener);
10290
+ };
10291
+ }, [ref, handler]);
10292
+ }
10293
+ useOnClickOutside(internalRef, function () {
10294
+ return setIsOpen(false);
10295
+ });
10296
+ // Merge internal ref with the ref passed through the chakra function.
10297
+ var mergedRefs = react.useMergeRefs(internalRef, ref);
10298
+ var isChecked = function isChecked(multiSelectId, itemId) {
10299
+ if (selectedItems[multiSelectId]) {
10300
+ return !!selectedItems[multiSelectId].items.find(function (selectedItemId) {
10301
+ return selectedItemId === itemId;
10302
+ });
10303
+ }
10304
+ return false;
10305
+ };
10306
+ // isAllChecked defines the isChecked status of parent checkboxes. If all child items are selected, it will turn true, otherwise it returns false.
10307
+ // This prop is only passed to parent options.
10308
+ var isAllChecked = function isAllChecked(multiSelectId, item) {
10309
+ var childIds = item.children.map(function (childItem) {
10310
+ return childItem.id;
10311
+ });
10312
+ if (selectedItems[multiSelectId] !== undefined) {
10313
+ return childIds.every(function (childItem) {
10314
+ return selectedItems[multiSelectId].items.includes(childItem);
10315
+ });
10316
+ }
10317
+ return false;
10318
+ };
10319
+ // isInteterminate will return true if some child items of the parent item are selected. This prop is only passed to parent options.
10320
+ var isIndeterminate = function isIndeterminate(multiSelectId, item) {
10321
+ var childIds = item.children.map(function (childItem) {
10322
+ return childItem.id;
10323
+ });
10324
+ if (selectedItems[multiSelectId] !== undefined && childIds.some(function (childItem) {
10325
+ return selectedItems[multiSelectId].items.includes(childItem);
10326
+ })) {
10327
+ return !isAllChecked(multiSelectId, item);
10328
+ }
10329
+ return false;
10330
+ };
10331
+ return React__default.createElement(react.Box, Object.assign({
10332
+ id: id,
10333
+ ref: mergedRefs,
10334
+ __css: styles
10335
+ }, rest), React__default.createElement(FocusLock, {
10336
+ isDisabled: !isOpen
10337
+ }, React__default.createElement(MultiSelectMenuButton$1, {
10338
+ id: "ms-" + id + "-menu-button",
10339
+ multiSelectId: id,
10340
+ multiSelectLabel: label,
10341
+ isOpen: isOpen,
10342
+ selectedItems: selectedItems,
10343
+ onMenuToggle: function onMenuToggle() {
10344
+ setIsOpen(!isOpen);
10345
+ },
10346
+ onClear: onClear
10347
+ }), React__default.createElement(react.Box, Object.assign({
10348
+ role: "dialog",
10349
+ __css: styles.menuContainer
10350
+ }, isOpen && {
10351
+ "aria-modal": true
10352
+ }, {
10353
+ "aria-labelledby": "ms-" + id + "-menu-button"
10354
+ }), React__default.createElement(react.UnorderedList, {
10355
+ styleType: "none",
10356
+ marginInlineStart: "0",
10357
+ __css: styles.menu
10358
+ }, isOpen && items.map(function (item) {
10359
+ return React__default.createElement(react.ListItem, {
10360
+ key: item.id,
10361
+ py: "xxs"
10362
+ }, item.children ? React__default.createElement(React__default.Fragment, null, React__default.createElement(Checkbox, Object.assign({
10363
+ id: item.id,
10364
+ labelText: item.name,
10365
+ name: item.name
10366
+ }, onMixedStateChange !== undefined ? {
10367
+ isChecked: isAllChecked(id, item),
10368
+ isIndeterminate: isIndeterminate(id, item),
10369
+ onChange: onMixedStateChange
10370
+ } : {
10371
+ isChecked: isChecked(id, item.id),
10372
+ onChange: onChange
10373
+ })), React__default.createElement(react.UnorderedList, {
10374
+ styleType: "none",
10375
+ marginInlineStart: "0",
10376
+ __css: styles.menuChildren
10377
+ }, item.children.map(function (childItem) {
10378
+ return React__default.createElement(react.ListItem, {
10379
+ key: childItem.id,
10380
+ py: "xxs"
10381
+ }, React__default.createElement(Checkbox, {
10382
+ id: childItem.id,
10383
+ labelText: childItem.name,
10384
+ name: childItem.name,
10385
+ isChecked: isChecked(id, childItem.id),
10386
+ onChange: onChange
10387
+ }));
10388
+ }))) : React__default.createElement(Checkbox, {
10389
+ id: item.id,
10390
+ labelText: item.name,
10391
+ name: item.name,
10392
+ isChecked: isChecked(id, item.id),
10393
+ onChange: onChange
10394
+ }));
10395
+ })), isOpen && isLargerThanMobile && React__default.createElement(ButtonGroup, {
10396
+ __css: styles.actionButtons
10397
+ }, React__default.createElement(Button, {
10398
+ id: "ms-" + id + "-clear",
10399
+ buttonType: "link",
10400
+ type: "button",
10401
+ onClick: onClear
10402
+ }, "Clear"), React__default.createElement(Button, {
10403
+ id: "ms-" + id + "-apply",
10404
+ buttonType: "primary",
10405
+ type: "button",
10406
+ onClick: function onClick() {
10407
+ // Close the multiselect on apply.
10408
+ setIsOpen(false);
10409
+ // Run the onApply prop function.
10410
+ onApply();
10411
+ }
10412
+ }, "Apply")))));
10413
+ }),
10414
+ // Pass all custom props to Chakra and override, for width prop.
10415
+ {
10416
+ shouldForwardProp: function shouldForwardProp() {
10417
+ return true;
10418
+ }
10419
+ });
10420
+
10421
+ var _excluded$1i = ["id", "isBlockElement", "isDefaultOpen", "items", "label", "onApply", "onChange", "onClear", "onMixedStateChange", "selectedItems", "variant", "width"];
10422
+ /**
10423
+ * The `MultiSelect` component is a form input element that presents a list
10424
+ * of `Checkbox` components from which a user can make one or multiple
10425
+ * selections. Two variants of the MultiSelect component are offered, each with
10426
+ * slightly different functionality and requirements. Because of these
10427
+ * differences, the two variants are broken out in separate stories below.
10428
+ */
10429
+ var MultiSelect$1 = /*#__PURE__*/react.chakra( /*#__PURE__*/React.forwardRef(function (props, ref) {
10430
+ var id = props.id,
10431
+ _props$isBlockElement = props.isBlockElement,
10432
+ isBlockElement = _props$isBlockElement === void 0 ? false : _props$isBlockElement,
10433
+ _props$isDefaultOpen = props.isDefaultOpen,
10434
+ isDefaultOpen = _props$isDefaultOpen === void 0 ? false : _props$isDefaultOpen,
10435
+ items = props.items,
10436
+ label = props.label,
10437
+ onApply = props.onApply,
10438
+ onChange = props.onChange,
10439
+ onClear = props.onClear,
10440
+ onMixedStateChange = props.onMixedStateChange,
10441
+ selectedItems = props.selectedItems,
10442
+ variant = props.variant,
10443
+ _props$width = props.width,
10444
+ width = _props$width === void 0 ? "default" : _props$width,
10445
+ rest = _objectWithoutPropertiesLoose(props, _excluded$1i);
10446
+ var commonProps = {
10447
+ id: id,
10448
+ isBlockElement: isBlockElement,
10449
+ isDefaultOpen: isDefaultOpen,
10450
+ items: items,
10451
+ label: label,
10452
+ onClear: onClear,
10453
+ selectedItems: selectedItems,
10454
+ variant: variant,
10455
+ width: width
10456
+ };
10457
+ if (variant === "listbox") {
10458
+ var listboxOnChange = onChange;
10459
+ return React__default.createElement(MultiSelectListbox, Object.assign({}, commonProps, {
10460
+ ref: ref,
10461
+ onChange: listboxOnChange
10462
+ }, rest));
10463
+ }
10464
+ if (variant === "dialog") {
10465
+ var dialogOnChange = onChange;
10466
+ return React__default.createElement(MultiSelectDialog, Object.assign({}, commonProps, {
10467
+ onChange: dialogOnChange,
10468
+ onMixedStateChange: onMixedStateChange,
10469
+ onApply: onApply,
10470
+ ref: ref
10471
+ }, rest));
10472
+ }
10473
+ return null;
10474
+ }),
10475
+ // Pass all custom props to Chakra and override, for width prop.
10476
+ {
10477
+ shouldForwardProp: function shouldForwardProp() {
10478
+ return true;
10479
+ }
10480
+ });
10481
+
10482
+ var _excluded$1j = ["children", "className", "id", "labelText", "layout", "multiSelectWidth", "showLabel"];
10483
+ /**
10484
+ * `MultiSelectGroup` is a wrapper component specific for `MultiSelect` components. The wrapped `MutliSelect` components can be displayed in a
10485
+ * column or in a row. The `MultiSelectGroup` component renders all the necessary
10486
+ * wrapping and associated text elements, but the child elements
10487
+ * _need_ to be `MultiSelect` components from the NYPL Design System.
10488
+ */
10489
+ var MultiSelectGroup = /*#__PURE__*/react.chakra( /*#__PURE__*/React.forwardRef(function (props, ref) {
10490
+ var children = props.children,
10491
+ _props$className = props.className,
10492
+ className = _props$className === void 0 ? "" : _props$className,
10493
+ id = props.id,
10494
+ labelText = props.labelText,
10495
+ _props$layout = props.layout,
10496
+ layout = _props$layout === void 0 ? "row" : _props$layout,
10497
+ _props$multiSelectWid = props.multiSelectWidth,
10498
+ multiSelectWidth = _props$multiSelectWid === void 0 ? "default" : _props$multiSelectWid,
10499
+ _props$showLabel = props.showLabel,
10500
+ showLabel = _props$showLabel === void 0 ? true : _props$showLabel,
10501
+ rest = _objectWithoutPropertiesLoose(props, _excluded$1j);
10502
+ var newChildren = [];
10503
+ var _useNYPLBreakpoints = useNYPLBreakpoints(),
10504
+ isLargerThanMobile = _useNYPLBreakpoints.isLargerThanMobile;
10505
+ var finalLayout = isLargerThanMobile ? layout : "column";
10506
+ var finallWidth = isLargerThanMobile ? multiSelectWidth : "full";
10507
+ var isBlockElement = layout === "column" ? true : false;
10508
+ var styles = react.useMultiStyleConfig("MultiSelectGroup", {
10509
+ width: finallWidth
10510
+ });
10511
+ // Go through the MultiSelect children and update props as needed.
10512
+ React__default.Children.map(children, function (child) {
10513
+ if (React__default.isValidElement(child)) {
10514
+ // @TODO: DXP needs to pass custom MultiSelects that wrap DS Mutliselects - type check deos not allow DXP to use MultiSelectGroup
10515
+ // if (child.type !== MultiSelect) {
10516
+ // console.warn(
10517
+ // "NYPL Reservoir MultiSelectGroup: Only MultiSelect components can be children of MultiSelectGroup."
10518
+ // );
10519
+ // return;
10520
+ // }
10521
+ if (child.type === MultiSelect$1) {
10522
+ var _props = {
10523
+ isBlockElement: isBlockElement,
10524
+ width: multiSelectWidth
10525
+ };
10526
+ newChildren.push(React__default.cloneElement(child, _props));
10527
+ } else {
10528
+ newChildren.push(React__default.cloneElement(child));
10529
+ }
10530
+ }
10531
+ });
10532
+ return React__default.createElement(Fieldset, Object.assign({
10533
+ id: id + "-multiselect-group",
10534
+ legendText: labelText,
10535
+ isLegendHidden: !showLabel,
10536
+ __css: styles
10537
+ }, rest), React__default.createElement(react.Stack, {
10538
+ "aria-label": !showLabel ? labelText : undefined,
10539
+ className: className,
10540
+ columnGap: "xs",
10541
+ "data-testid": "multi-select-group",
10542
+ direction: finalLayout,
10543
+ id: id,
10544
+ ref: ref,
10545
+ rowGap: finalLayout === "row" ? "xs" : "0",
10546
+ spacing: isLargerThanMobile ? "xs" : "0",
10547
+ wrap: layout === "row" ? "wrap" : null,
10548
+ sx: {
10549
+ "> div": {
10550
+ _notFirst: {
10551
+ mx: "0"
10552
+ }
10553
+ }
10554
+ }
10555
+ }, newChildren));
10556
+ }));
10557
+
10558
+ var _excluded$1k = ["children", "id", "isOpen", "headingText", "layout", "onClear", "onSubmit", "onToggle", "onOpen", "onClose", "selectedItems", "showClearAll", "showSubmitAll", "filterWidth"];
10559
+ /**
10560
+ * `FilterBar` is a wrapper component for filter components.
10561
+ * The DS considers the following components as filter components:
10562
+ * - `MultiSelectGroup`
10563
+ *
10564
+ * The wrapped components/ component groups can be displayed in a column or
10565
+ * in a row layout. `FilterBar` can render additional `Clear All` and a `Apply Filters` buttons. The two
10566
+ * _optional_ buttons are controlled by the `showClearAll`/ `onClear` or `showSubmitAll`/`onSubmit` props repectively.
10567
+ */
10568
+ var FilterBar$1 = /*#__PURE__*/react.chakra( /*#__PURE__*/React.forwardRef(function (props, ref) {
10569
+ var children = props.children,
10570
+ id = props.id,
10571
+ isOpen = props.isOpen,
10572
+ headingText = props.headingText,
10573
+ _props$layout = props.layout,
10574
+ layout = _props$layout === void 0 ? "row" : _props$layout,
10575
+ onClear = props.onClear,
10576
+ onSubmit = props.onSubmit,
10577
+ onToggle = props.onToggle,
10578
+ onOpen = props.onOpen,
10579
+ _onClose = props.onClose,
10580
+ selectedItems = props.selectedItems,
10581
+ _props$showClearAll = props.showClearAll,
10582
+ showClearAll = _props$showClearAll === void 0 ? false : _props$showClearAll,
10583
+ _props$showSubmitAll = props.showSubmitAll,
10584
+ showSubmitAll = _props$showSubmitAll === void 0 ? false : _props$showSubmitAll,
10585
+ filterWidth = props.filterWidth,
10586
+ rest = _objectWithoutPropertiesLoose(props, _excluded$1k);
10587
+ var _useNYPLBreapoints = useNYPLBreakpoints(),
10588
+ isLargerThanMedium = _useNYPLBreapoints.isLargerThanMedium;
10589
+ var finalLayout = isLargerThanMedium ? layout : "column";
10590
+ var finalWidth = isLargerThanMedium ? filterWidth ? filterWidth : finalLayout === "column" ? "full" : "default" : "full";
10591
+ var styles = react.useMultiStyleConfig("FilterBar", {
10592
+ layout: finalLayout,
10593
+ width: finalWidth
10594
+ });
10595
+ var getSelectedItemsCount = function getSelectedItemsCount() {
10596
+ return Object.entries(selectedItems).length ? "(" + Object.entries(selectedItems).length + ")" : "";
10597
+ };
10598
+ // Warning when onSubmit is passed but the showSubmitAll is missing
10599
+ if (onSubmit && showSubmitAll === false) {
10600
+ console.warn("NYPL Reservoir FilterBar: The `onSubmit` handler was set, but the `Apply Filters` button is not visible.");
10601
+ }
10602
+ // Warning when showSubmitAll is passed but onSubmit is missing
10603
+ if (onSubmit === undefined && showSubmitAll === true) {
10604
+ console.warn("NYPL Reservoir FilterBar: The `Apply Filters` button is rendering but no onSubmit function was passed.");
10605
+ }
10606
+ var newChildren = [];
10607
+ // Go through the FilterBar children and update props as needed.
10608
+ React__default.Children.map(children, function (child) {
10609
+ if (React__default.isValidElement(child)) {
10610
+ if (child.type === MultiSelectGroup) {
10611
+ var _props = {
10612
+ layout: finalLayout,
10613
+ multiSelectWidth: finalWidth
10614
+ };
10615
+ newChildren.push(React__default.cloneElement(child, _props));
10616
+ } else if (child.type === MultiSelect$1) {
10617
+ var _props2 = {
10618
+ isBlockElement: finalLayout === "column",
10619
+ width: finalWidth
10620
+ };
10621
+ newChildren.push(React__default.cloneElement(child, _props2));
10622
+ } else {
10623
+ console.warn("NYPL Reservoir FilterBar: Invalid child component was passed", child);
10624
+ return;
10625
+ }
10626
+ }
10627
+ });
10628
+ return React__default.createElement(react.Box, Object.assign({
10629
+ id: "filter-bar-" + id,
10630
+ __css: styles,
10631
+ ref: ref
10632
+ }, rest), isLargerThanMedium ? React__default.createElement(React__default.Fragment, null, headingText && React__default.createElement(Heading, {
10633
+ text: headingText,
10634
+ level: "two",
10635
+ size: "tertiary"
10636
+ }), React__default.createElement(react.Stack, {
10637
+ alignItems: layout === "row" ? "flex-end" : null,
10638
+ columnGap: "l",
10639
+ direction: layout,
10640
+ rowGap: "s",
10641
+ spacing: "0",
10642
+ wrap: layout === "row" ? "wrap" : null,
10643
+ sx: {
10644
+ "> div": {
10645
+ _notFirst: {
10646
+ mx: "0"
10647
+ }
10648
+ }
10649
+ }
10650
+ }, newChildren && newChildren.map(function (newChild, i) {
10651
+ return React__default.createElement(react.Box, {
10652
+ key: "filter-bar-child-" + i
10653
+ }, newChild);
10654
+ }), (showSubmitAll || showClearAll) && React__default.createElement(ButtonGroup, {
10655
+ layout: finalLayout,
10656
+ __css: styles.globalButtonGroup,
10657
+ buttonWidth: layout === "column" ? "full" : "default"
10658
+ }, showSubmitAll && React__default.createElement(Button, {
10659
+ buttonType: "primary",
10660
+ id: id + "-submit-all-button",
10661
+ onClick: onSubmit
10662
+ }, "Apply Filters"), showClearAll && React__default.createElement(Button, {
10663
+ buttonType: "text",
10664
+ id: id + "-clear-all-button",
10665
+ onClick: onClear,
10666
+ textAlign: "center"
10667
+ }, "Clear Filters")))) : React__default.createElement(React__default.Fragment, null, React__default.createElement(Button, {
10668
+ id: "filter-bar-" + id + "-show-filters",
10669
+ buttonType: "secondary",
10670
+ onClick: function onClick() {
10671
+ onToggle === undefined ? onOpen() : onToggle();
10672
+ }
10673
+ }, "Show Filter " + getSelectedItemsCount()), React__default.createElement(react.Modal, {
10674
+ isOpen: isOpen,
10675
+ onClose: function onClose() {
10676
+ onToggle === undefined ? _onClose() : onToggle();
10677
+ },
10678
+ size: "full",
10679
+ scrollBehavior: "inside"
10680
+ }, React__default.createElement(react.ModalOverlay, null), React__default.createElement(react.ModalContent, null, React__default.createElement(react.ModalHeader, {
10681
+ sx: styles.modalHeader
10682
+ }, "Filter Criteria"), React__default.createElement(react.ModalCloseButton, {
10683
+ sx: styles.modalCloseButton
10684
+ }), React__default.createElement(react.ModalBody, null, newChildren), React__default.createElement(react.ModalFooter, {
10685
+ sx: styles.modalFooter
10686
+ }, React__default.createElement(ButtonGroup, {
10687
+ layout: "row",
10688
+ buttonWidth: "full"
10689
+ }, React__default.createElement(Button, {
10690
+ id: "filter-bar-" + id + "-see-results",
10691
+ type: "submit",
10692
+ onClick: function onClick() {
10693
+ onSubmit();
10694
+ onToggle === undefined ? _onClose() : onToggle();
10695
+ }
10696
+ }, "Show Results"), React__default.createElement(Button, {
10697
+ id: "filter-bar-" + id + "-clear",
10698
+ buttonType: "text",
10699
+ type: "reset",
10700
+ textAlign: "center",
10701
+ onClick: onClear
10702
+ }, "Clear Filters")))))));
10703
+ }));
10704
+
10705
+ var _excluded$1l = ["children", "className", "id", "inline", "listItems", "noStyling", "title", "type"];
10706
+ /**
10707
+ * A component that renders list item `li` elements or description item `dt`
10708
+ * and `dd` elements based on the `type` prop. Note that the `title` prop will
10709
+ * only display for the `Description` list type.
10710
+ */
10711
+ var List$1 = /*#__PURE__*/react.chakra( /*#__PURE__*/React.forwardRef(function (props, ref) {
10712
+ var children = props.children,
10713
+ className = props.className,
10714
+ id = props.id,
10715
+ _props$inline = props.inline,
10716
+ inline = _props$inline === void 0 ? false : _props$inline,
10717
+ listItems = props.listItems,
10718
+ _props$noStyling = props.noStyling,
10719
+ noStyling = _props$noStyling === void 0 ? false : _props$noStyling,
10720
+ title = props.title,
10721
+ _props$type = props.type,
10722
+ type = _props$type === void 0 ? "ul" : _props$type,
10723
+ rest = _objectWithoutPropertiesLoose(props, _excluded$1l);
10724
+ var styles = react.useStyleConfig("List", {
10725
+ inline: inline,
10726
+ noStyling: noStyling,
10727
+ variant: type
10728
+ });
10729
+ var listElement = null;
10730
+ // Either li/dt/dd children elements must be passed or the `listItems`
10731
+ // prop must be used.
10732
+ if (children && listItems && (listItems == null ? void 0 : listItems.length) > 0) {
10733
+ console.warn("NYPL Reservoir List: Pass in either `<li>`, `<dt>`, or `<dd>` " + "children or use the `listItems` data prop. Do not use both.");
10734
+ return null;
10735
+ }
10736
+ if (!children && !listItems) {
10737
+ console.warn("NYPL Reservoir List: Pass in either `<li>` children or pass data in " + "the `listItems` prop, not both.");
10738
+ return null;
10739
+ }
10740
+ /**
10741
+ * This returns either the `children` elements passed to the `List` component
10742
+ * first, otherwise it will check and render the data passed into the
10743
+ * `listItems` props based on the `ListType` type. If it is of type unordered
10744
+ * or ordered, it will return `li` elements. Otherwise, it will return a
10745
+ * combination of `dt` and `dd` elements for the description type.
10746
+ */
10747
+ var listChildrenElms = function listChildrenElms(listType) {
10748
+ if (children) {
10749
+ return children;
10750
+ }
10751
+ if (!listItems) {
10752
+ return null;
10753
+ }
10754
+ if (listType === "ol" || listType === "ul") {
10755
+ return listItems.map(function (item, i) {
10756
+ return React__default.createElement("li", {
10757
+ key: i
10758
+ }, item);
10759
+ });
10760
+ } else if (listType === "dl") {
10761
+ return listItems.map(function (item, i) {
10762
+ return [React__default.createElement("dt", {
10763
+ key: i + "-term"
10764
+ }, item.term), React__default.createElement("dd", {
10765
+ key: i + "-des"
10766
+ }, item.description)];
10767
+ });
10768
+ }
10769
+ return null;
10770
+ };
10771
+ /**
10772
+ * Checks for `dt` and `dd` elements and consoles a warning if the
10773
+ * children are different HTML elements.
10774
+ */
10775
+ var checkDescriptionChildrenError = function checkDescriptionChildrenError() {
10776
+ React__default.Children.map(children, function (child) {
9813
10777
  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) {
9814
10778
  console.warn("NYPL Reservoir List: Direct children of `List` (description) must " + "be `<dt>`s and `<dd>`s.");
9815
10779
  }
@@ -9858,14 +10822,14 @@ var checkListChildrenError = function checkListChildrenError(children, listType,
9858
10822
  };
9859
10823
 
9860
10824
  var _path$L, _path2$f, _path3$7;
9861
- var _excluded$1g = ["title", "titleId"];
10825
+ var _excluded$1m = ["title", "titleId"];
9862
10826
  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); }
9863
10827
  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; }
9864
10828
  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; }
9865
10829
  var SvgLogoAppleAppStoreBlack = function SvgLogoAppleAppStoreBlack(_ref) {
9866
10830
  var title = _ref.title,
9867
10831
  titleId = _ref.titleId,
9868
- props = _objectWithoutProperties$Q(_ref, _excluded$1g);
10832
+ props = _objectWithoutProperties$Q(_ref, _excluded$1m);
9869
10833
  return /*#__PURE__*/React.createElement("svg", _extends$R({
9870
10834
  viewBox: "0 0 200 67",
9871
10835
  fill: "none",
@@ -9886,14 +10850,14 @@ var SvgLogoAppleAppStoreBlack = function SvgLogoAppleAppStoreBlack(_ref) {
9886
10850
  };
9887
10851
 
9888
10852
  var _path$M, _path2$g, _path3$8;
9889
- var _excluded$1h = ["title", "titleId"];
10853
+ var _excluded$1n = ["title", "titleId"];
9890
10854
  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); }
9891
10855
  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; }
9892
10856
  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; }
9893
10857
  var SvgLogoAppleAppStoreWhite = function SvgLogoAppleAppStoreWhite(_ref) {
9894
10858
  var title = _ref.title,
9895
10859
  titleId = _ref.titleId,
9896
- props = _objectWithoutProperties$R(_ref, _excluded$1h);
10860
+ props = _objectWithoutProperties$R(_ref, _excluded$1n);
9897
10861
  return /*#__PURE__*/React.createElement("svg", _extends$S({
9898
10862
  viewBox: "0 0 200 67",
9899
10863
  fill: "none",
@@ -9914,14 +10878,14 @@ var SvgLogoAppleAppStoreWhite = function SvgLogoAppleAppStoreWhite(_ref) {
9914
10878
  };
9915
10879
 
9916
10880
  var _path$N, _path2$h, _path3$9;
9917
- var _excluded$1i = ["title", "titleId"];
10881
+ var _excluded$1o = ["title", "titleId"];
9918
10882
  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); }
9919
10883
  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; }
9920
10884
  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; }
9921
10885
  var SvgLogoBplBlack = function SvgLogoBplBlack(_ref) {
9922
10886
  var title = _ref.title,
9923
10887
  titleId = _ref.titleId,
9924
- props = _objectWithoutProperties$S(_ref, _excluded$1i);
10888
+ props = _objectWithoutProperties$S(_ref, _excluded$1o);
9925
10889
  return /*#__PURE__*/React.createElement("svg", _extends$T({
9926
10890
  viewBox: "0 0 328 120",
9927
10891
  xmlns: "http://www.w3.org/2000/svg",
@@ -9938,14 +10902,14 @@ var SvgLogoBplBlack = function SvgLogoBplBlack(_ref) {
9938
10902
  };
9939
10903
 
9940
10904
  var _path$O, _path2$i, _path3$a;
9941
- var _excluded$1j = ["title", "titleId"];
10905
+ var _excluded$1p = ["title", "titleId"];
9942
10906
  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); }
9943
10907
  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; }
9944
10908
  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; }
9945
10909
  var SvgLogoBplWhite = function SvgLogoBplWhite(_ref) {
9946
10910
  var title = _ref.title,
9947
10911
  titleId = _ref.titleId,
9948
- props = _objectWithoutProperties$T(_ref, _excluded$1j);
10912
+ props = _objectWithoutProperties$T(_ref, _excluded$1p);
9949
10913
  return /*#__PURE__*/React.createElement("svg", _extends$U({
9950
10914
  viewBox: "0 0 328 120",
9951
10915
  fill: "#fff",
@@ -9963,14 +10927,14 @@ var SvgLogoBplWhite = function SvgLogoBplWhite(_ref) {
9963
10927
  };
9964
10928
 
9965
10929
  var _rect$2, _path$P;
9966
- var _excluded$1k = ["title", "titleId"];
10930
+ var _excluded$1q = ["title", "titleId"];
9967
10931
  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); }
9968
10932
  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; }
9969
10933
  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; }
9970
10934
  var SvgLogoCleverBadgeColor = function SvgLogoCleverBadgeColor(_ref) {
9971
10935
  var title = _ref.title,
9972
10936
  titleId = _ref.titleId,
9973
- props = _objectWithoutProperties$U(_ref, _excluded$1k);
10937
+ props = _objectWithoutProperties$U(_ref, _excluded$1q);
9974
10938
  return /*#__PURE__*/React.createElement("svg", _extends$V({
9975
10939
  viewBox: "0 0 118 119",
9976
10940
  fill: "none",
@@ -9993,14 +10957,14 @@ var SvgLogoCleverBadgeColor = function SvgLogoCleverBadgeColor(_ref) {
9993
10957
  };
9994
10958
 
9995
10959
  var _path$Q;
9996
- var _excluded$1l = ["title", "titleId"];
10960
+ var _excluded$1r = ["title", "titleId"];
9997
10961
  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); }
9998
10962
  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; }
9999
10963
  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; }
10000
10964
  var SvgLogoCleverColor = function SvgLogoCleverColor(_ref) {
10001
10965
  var title = _ref.title,
10002
10966
  titleId = _ref.titleId,
10003
- props = _objectWithoutProperties$V(_ref, _excluded$1l);
10967
+ props = _objectWithoutProperties$V(_ref, _excluded$1r);
10004
10968
  return /*#__PURE__*/React.createElement("svg", _extends$W({
10005
10969
  viewBox: "0 0 312 88",
10006
10970
  fill: "#436CF2",
@@ -10016,14 +10980,14 @@ var SvgLogoCleverColor = function SvgLogoCleverColor(_ref) {
10016
10980
  };
10017
10981
 
10018
10982
  var _path$R;
10019
- var _excluded$1m = ["title", "titleId"];
10983
+ var _excluded$1s = ["title", "titleId"];
10020
10984
  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); }
10021
10985
  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; }
10022
10986
  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; }
10023
10987
  var SvgLogoCleverWhite = function SvgLogoCleverWhite(_ref) {
10024
10988
  var title = _ref.title,
10025
10989
  titleId = _ref.titleId,
10026
- props = _objectWithoutProperties$W(_ref, _excluded$1m);
10990
+ props = _objectWithoutProperties$W(_ref, _excluded$1s);
10027
10991
  return /*#__PURE__*/React.createElement("svg", _extends$X({
10028
10992
  viewBox: "0 0 312 88",
10029
10993
  fill: "#fff",
@@ -10039,14 +11003,14 @@ var SvgLogoCleverWhite = function SvgLogoCleverWhite(_ref) {
10039
11003
  };
10040
11004
 
10041
11005
  var _path$S, _path2$j, _path3$b, _path4$1, _path5, _path6, _path7, _path8, _path9, _path10, _path11, _path12, _path13;
10042
- var _excluded$1n = ["title", "titleId"];
11006
+ var _excluded$1t = ["title", "titleId"];
10043
11007
  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); }
10044
11008
  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; }
10045
11009
  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; }
10046
11010
  var SvgLogoFirstbookColor = function SvgLogoFirstbookColor(_ref) {
10047
11011
  var title = _ref.title,
10048
11012
  titleId = _ref.titleId,
10049
- props = _objectWithoutProperties$X(_ref, _excluded$1n);
11013
+ props = _objectWithoutProperties$X(_ref, _excluded$1t);
10050
11014
  return /*#__PURE__*/React.createElement("svg", _extends$Y({
10051
11015
  viewBox: "0 0 172 152",
10052
11016
  fill: "none",
@@ -10097,14 +11061,14 @@ var SvgLogoFirstbookColor = function SvgLogoFirstbookColor(_ref) {
10097
11061
  };
10098
11062
 
10099
11063
  var _g$3;
10100
- var _excluded$1o = ["title", "titleId"];
11064
+ var _excluded$1u = ["title", "titleId"];
10101
11065
  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); }
10102
11066
  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; }
10103
11067
  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; }
10104
11068
  var SvgLogoFirstbookColorNegative = function SvgLogoFirstbookColorNegative(_ref) {
10105
11069
  var title = _ref.title,
10106
11070
  titleId = _ref.titleId,
10107
- props = _objectWithoutProperties$Y(_ref, _excluded$1o);
11071
+ props = _objectWithoutProperties$Y(_ref, _excluded$1u);
10108
11072
  return /*#__PURE__*/React.createElement("svg", _extends$Z({
10109
11073
  viewBox: "0 0 170 150",
10110
11074
  fill: "none",
@@ -10160,14 +11124,14 @@ var SvgLogoFirstbookColorNegative = function SvgLogoFirstbookColorNegative(_ref)
10160
11124
  };
10161
11125
 
10162
11126
  var _g$4, _defs;
10163
- var _excluded$1p = ["title", "titleId"];
11127
+ var _excluded$1v = ["title", "titleId"];
10164
11128
  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); }
10165
11129
  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; }
10166
11130
  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; }
10167
11131
  var SvgLogoGooglePlayBlack = function SvgLogoGooglePlayBlack(_ref) {
10168
11132
  var title = _ref.title,
10169
11133
  titleId = _ref.titleId,
10170
- props = _objectWithoutProperties$Z(_ref, _excluded$1p);
11134
+ props = _objectWithoutProperties$Z(_ref, _excluded$1v);
10171
11135
  return /*#__PURE__*/React.createElement("svg", _extends$_({
10172
11136
  viewBox: "0 0 200 60",
10173
11137
  fill: "none",
@@ -10300,14 +11264,14 @@ var SvgLogoGooglePlayBlack = function SvgLogoGooglePlayBlack(_ref) {
10300
11264
  };
10301
11265
 
10302
11266
  var _path$T, _path2$k;
10303
- var _excluded$1q = ["title", "titleId"];
11267
+ var _excluded$1w = ["title", "titleId"];
10304
11268
  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); }
10305
11269
  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; }
10306
11270
  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; }
10307
11271
  var SvgLogoLpaColor = function SvgLogoLpaColor(_ref) {
10308
11272
  var title = _ref.title,
10309
11273
  titleId = _ref.titleId,
10310
- props = _objectWithoutProperties$_(_ref, _excluded$1q);
11274
+ props = _objectWithoutProperties$_(_ref, _excluded$1w);
10311
11275
  return /*#__PURE__*/React.createElement("svg", _extends$$({
10312
11276
  viewBox: "0 0 186 74",
10313
11277
  fill: "none",
@@ -10325,14 +11289,14 @@ var SvgLogoLpaColor = function SvgLogoLpaColor(_ref) {
10325
11289
  };
10326
11290
 
10327
11291
  var _path$U;
10328
- var _excluded$1r = ["title", "titleId"];
11292
+ var _excluded$1x = ["title", "titleId"];
10329
11293
  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); }
10330
11294
  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; }
10331
11295
  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; }
10332
11296
  var SvgLogoLpaBlack = function SvgLogoLpaBlack(_ref) {
10333
11297
  var title = _ref.title,
10334
11298
  titleId = _ref.titleId,
10335
- props = _objectWithoutProperties$$(_ref, _excluded$1r);
11299
+ props = _objectWithoutProperties$$(_ref, _excluded$1x);
10336
11300
  return /*#__PURE__*/React.createElement("svg", _extends$10({
10337
11301
  viewBox: "0 0 186 74",
10338
11302
  xmlns: "http://www.w3.org/2000/svg",
@@ -10345,14 +11309,14 @@ var SvgLogoLpaBlack = function SvgLogoLpaBlack(_ref) {
10345
11309
  };
10346
11310
 
10347
11311
  var _path$V;
10348
- var _excluded$1s = ["title", "titleId"];
11312
+ var _excluded$1y = ["title", "titleId"];
10349
11313
  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); }
10350
11314
  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; }
10351
11315
  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; }
10352
11316
  var SvgLogoLpaWhite = function SvgLogoLpaWhite(_ref) {
10353
11317
  var title = _ref.title,
10354
11318
  titleId = _ref.titleId,
10355
- props = _objectWithoutProperties$10(_ref, _excluded$1s);
11319
+ props = _objectWithoutProperties$10(_ref, _excluded$1y);
10356
11320
  return /*#__PURE__*/React.createElement("svg", _extends$11({
10357
11321
  viewBox: "0 0 186 74",
10358
11322
  fill: "#fff",
@@ -10366,14 +11330,14 @@ var SvgLogoLpaWhite = function SvgLogoLpaWhite(_ref) {
10366
11330
  };
10367
11331
 
10368
11332
  var _g$5;
10369
- var _excluded$1t = ["title", "titleId"];
11333
+ var _excluded$1z = ["title", "titleId"];
10370
11334
  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); }
10371
11335
  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; }
10372
11336
  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; }
10373
11337
  var SvgLogoMlnBlack = function SvgLogoMlnBlack(_ref) {
10374
11338
  var title = _ref.title,
10375
11339
  titleId = _ref.titleId,
10376
- props = _objectWithoutProperties$11(_ref, _excluded$1t);
11340
+ props = _objectWithoutProperties$11(_ref, _excluded$1z);
10377
11341
  return /*#__PURE__*/React.createElement("svg", _extends$12({
10378
11342
  viewBox: "0 0 300 71",
10379
11343
  xmlns: "http://www.w3.org/2000/svg",
@@ -10388,14 +11352,14 @@ var SvgLogoMlnBlack = function SvgLogoMlnBlack(_ref) {
10388
11352
  };
10389
11353
 
10390
11354
  var _g$6;
10391
- var _excluded$1u = ["title", "titleId"];
11355
+ var _excluded$1A = ["title", "titleId"];
10392
11356
  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); }
10393
11357
  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; }
10394
11358
  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; }
10395
11359
  var SvgLogoMlnColor = function SvgLogoMlnColor(_ref) {
10396
11360
  var title = _ref.title,
10397
11361
  titleId = _ref.titleId,
10398
- props = _objectWithoutProperties$12(_ref, _excluded$1u);
11362
+ props = _objectWithoutProperties$12(_ref, _excluded$1A);
10399
11363
  return /*#__PURE__*/React.createElement("svg", _extends$13({
10400
11364
  viewBox: "0 0 300 71",
10401
11365
  fill: "#C60917",
@@ -10411,14 +11375,14 @@ var SvgLogoMlnColor = function SvgLogoMlnColor(_ref) {
10411
11375
  };
10412
11376
 
10413
11377
  var _g$7;
10414
- var _excluded$1v = ["title", "titleId"];
11378
+ var _excluded$1B = ["title", "titleId"];
10415
11379
  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); }
10416
11380
  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; }
10417
11381
  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; }
10418
11382
  var SvgLogoMlnWhite = function SvgLogoMlnWhite(_ref) {
10419
11383
  var title = _ref.title,
10420
11384
  titleId = _ref.titleId,
10421
- props = _objectWithoutProperties$13(_ref, _excluded$1v);
11385
+ props = _objectWithoutProperties$13(_ref, _excluded$1B);
10422
11386
  return /*#__PURE__*/React.createElement("svg", _extends$14({
10423
11387
  viewBox: "0 0 300 71",
10424
11388
  fill: "#fff",
@@ -10434,14 +11398,14 @@ var SvgLogoMlnWhite = function SvgLogoMlnWhite(_ref) {
10434
11398
  };
10435
11399
 
10436
11400
  var _g$8, _defs$1;
10437
- var _excluded$1w = ["title", "titleId"];
11401
+ var _excluded$1C = ["title", "titleId"];
10438
11402
  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); }
10439
11403
  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; }
10440
11404
  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; }
10441
11405
  var SvgLogoNycdoeColor = function SvgLogoNycdoeColor(_ref) {
10442
11406
  var title = _ref.title,
10443
11407
  titleId = _ref.titleId,
10444
- props = _objectWithoutProperties$14(_ref, _excluded$1w);
11408
+ props = _objectWithoutProperties$14(_ref, _excluded$1C);
10445
11409
  return /*#__PURE__*/React.createElement("svg", _extends$15({
10446
11410
  viewBox: "0 0 341 61",
10447
11411
  fill: "none",
@@ -10474,14 +11438,14 @@ var SvgLogoNycdoeColor = function SvgLogoNycdoeColor(_ref) {
10474
11438
  })))));
10475
11439
  };
10476
11440
 
10477
- var _excluded$1x = ["title", "titleId"];
11441
+ var _excluded$1D = ["title", "titleId"];
10478
11442
  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); }
10479
11443
  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; }
10480
11444
  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; }
10481
11445
  var SvgLogoNyplFullBlack = function SvgLogoNyplFullBlack(_ref) {
10482
11446
  var title = _ref.title,
10483
11447
  titleId = _ref.titleId,
10484
- props = _objectWithoutProperties$15(_ref, _excluded$1x);
11448
+ props = _objectWithoutProperties$15(_ref, _excluded$1D);
10485
11449
  return /*#__PURE__*/React.createElement("svg", _extends$16({
10486
11450
  xmlns: "http://www.w3.org/2000/svg",
10487
11451
  viewBox: "0 0 966.787 543.733",
@@ -10556,14 +11520,14 @@ var SvgLogoNyplFullBlack = function SvgLogoNyplFullBlack(_ref) {
10556
11520
  };
10557
11521
 
10558
11522
  var _g$9, _defs$2;
10559
- var _excluded$1y = ["title", "titleId"];
11523
+ var _excluded$1E = ["title", "titleId"];
10560
11524
  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); }
10561
11525
  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; }
10562
11526
  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; }
10563
11527
  var SvgLogoNyplFullWhite = function SvgLogoNyplFullWhite(_ref) {
10564
11528
  var title = _ref.title,
10565
11529
  titleId = _ref.titleId,
10566
- props = _objectWithoutProperties$16(_ref, _excluded$1y);
11530
+ props = _objectWithoutProperties$16(_ref, _excluded$1E);
10567
11531
  return /*#__PURE__*/React.createElement("svg", _extends$17({
10568
11532
  viewBox: "0 0 967 568",
10569
11533
  fill: "none",
@@ -10591,14 +11555,14 @@ var SvgLogoNyplFullWhite = function SvgLogoNyplFullWhite(_ref) {
10591
11555
  };
10592
11556
 
10593
11557
  var _path$W, _path2$l, _path3$c;
10594
- var _excluded$1z = ["title", "titleId"];
11558
+ var _excluded$1F = ["title", "titleId"];
10595
11559
  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); }
10596
11560
  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; }
10597
11561
  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; }
10598
11562
  var SvgLogoNyplLionBlack = function SvgLogoNyplLionBlack(_ref) {
10599
11563
  var title = _ref.title,
10600
11564
  titleId = _ref.titleId,
10601
- props = _objectWithoutProperties$17(_ref, _excluded$1z);
11565
+ props = _objectWithoutProperties$17(_ref, _excluded$1F);
10602
11566
  return /*#__PURE__*/React.createElement("svg", _extends$18({
10603
11567
  viewBox: "0 0 136 135",
10604
11568
  fill: "none",
@@ -10621,14 +11585,14 @@ var SvgLogoNyplLionBlack = function SvgLogoNyplLionBlack(_ref) {
10621
11585
  };
10622
11586
 
10623
11587
  var _path$X;
10624
- var _excluded$1A = ["title", "titleId"];
11588
+ var _excluded$1G = ["title", "titleId"];
10625
11589
  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); }
10626
11590
  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; }
10627
11591
  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; }
10628
11592
  var SvgLogoNyplLionWhite = function SvgLogoNyplLionWhite(_ref) {
10629
11593
  var title = _ref.title,
10630
11594
  titleId = _ref.titleId,
10631
- props = _objectWithoutProperties$18(_ref, _excluded$1A);
11595
+ props = _objectWithoutProperties$18(_ref, _excluded$1G);
10632
11596
  return /*#__PURE__*/React.createElement("svg", _extends$19({
10633
11597
  viewBox: "0 0 125 126",
10634
11598
  fill: "none",
@@ -10645,14 +11609,14 @@ var SvgLogoNyplLionWhite = function SvgLogoNyplLionWhite(_ref) {
10645
11609
  };
10646
11610
 
10647
11611
  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;
10648
- var _excluded$1B = ["title", "titleId"];
11612
+ var _excluded$1H = ["title", "titleId"];
10649
11613
  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); }
10650
11614
  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; }
10651
11615
  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; }
10652
11616
  var SvgLogoNyplTextBlack = function SvgLogoNyplTextBlack(_ref) {
10653
11617
  var title = _ref.title,
10654
11618
  titleId = _ref.titleId,
10655
- props = _objectWithoutProperties$19(_ref, _excluded$1B);
11619
+ props = _objectWithoutProperties$19(_ref, _excluded$1H);
10656
11620
  return /*#__PURE__*/React.createElement("svg", _extends$1a({
10657
11621
  viewBox: "0 0 201 165",
10658
11622
  fill: "none",
@@ -10723,14 +11687,14 @@ var SvgLogoNyplTextBlack = function SvgLogoNyplTextBlack(_ref) {
10723
11687
  };
10724
11688
 
10725
11689
  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;
10726
- var _excluded$1C = ["title", "titleId"];
11690
+ var _excluded$1I = ["title", "titleId"];
10727
11691
  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); }
10728
11692
  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; }
10729
11693
  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; }
10730
11694
  var SvgLogoNyplTextWhite = function SvgLogoNyplTextWhite(_ref) {
10731
11695
  var title = _ref.title,
10732
11696
  titleId = _ref.titleId,
10733
- props = _objectWithoutProperties$1a(_ref, _excluded$1C);
11697
+ props = _objectWithoutProperties$1a(_ref, _excluded$1I);
10734
11698
  return /*#__PURE__*/React.createElement("svg", _extends$1b({
10735
11699
  viewBox: "0 0 201 165",
10736
11700
  fill: "none",
@@ -10801,14 +11765,14 @@ var SvgLogoNyplTextWhite = function SvgLogoNyplTextWhite(_ref) {
10801
11765
  };
10802
11766
 
10803
11767
  var _g$a, _defs$3;
10804
- var _excluded$1D = ["title", "titleId"];
11768
+ var _excluded$1J = ["title", "titleId"];
10805
11769
  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); }
10806
11770
  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; }
10807
11771
  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; }
10808
11772
  var SvgLogoOpenebooksColor = function SvgLogoOpenebooksColor(_ref) {
10809
11773
  var title = _ref.title,
10810
11774
  titleId = _ref.titleId,
10811
- props = _objectWithoutProperties$1b(_ref, _excluded$1D);
11775
+ props = _objectWithoutProperties$1b(_ref, _excluded$1J);
10812
11776
  return /*#__PURE__*/React.createElement("svg", _extends$1c({
10813
11777
  viewBox: "0 0 152 139",
10814
11778
  fill: "none",
@@ -10856,14 +11820,14 @@ var SvgLogoOpenebooksColor = function SvgLogoOpenebooksColor(_ref) {
10856
11820
  };
10857
11821
 
10858
11822
  var _g$b, _defs$4;
10859
- var _excluded$1E = ["title", "titleId"];
11823
+ var _excluded$1K = ["title", "titleId"];
10860
11824
  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); }
10861
11825
  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; }
10862
11826
  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; }
10863
11827
  var SvgLogoOpenebooksNegative = function SvgLogoOpenebooksNegative(_ref) {
10864
11828
  var title = _ref.title,
10865
11829
  titleId = _ref.titleId,
10866
- props = _objectWithoutProperties$1c(_ref, _excluded$1E);
11830
+ props = _objectWithoutProperties$1c(_ref, _excluded$1K);
10867
11831
  return /*#__PURE__*/React.createElement("svg", _extends$1d({
10868
11832
  viewBox: "0 0 155 139",
10869
11833
  fill: "none",
@@ -10934,14 +11898,14 @@ var SvgLogoOpenebooksNegative = function SvgLogoOpenebooksNegative(_ref) {
10934
11898
  };
10935
11899
 
10936
11900
  var _g$c, _defs$5;
10937
- var _excluded$1F = ["title", "titleId"];
11901
+ var _excluded$1L = ["title", "titleId"];
10938
11902
  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); }
10939
11903
  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; }
10940
11904
  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; }
10941
11905
  var SvgLogoOpenebooksWithTextColor = function SvgLogoOpenebooksWithTextColor(_ref) {
10942
11906
  var title = _ref.title,
10943
11907
  titleId = _ref.titleId,
10944
- props = _objectWithoutProperties$1d(_ref, _excluded$1F);
11908
+ props = _objectWithoutProperties$1d(_ref, _excluded$1L);
10945
11909
  return /*#__PURE__*/React.createElement("svg", _extends$1e({
10946
11910
  viewBox: "0 0 152 139",
10947
11911
  fill: "none",
@@ -10989,14 +11953,14 @@ var SvgLogoOpenebooksWithTextColor = function SvgLogoOpenebooksWithTextColor(_re
10989
11953
  };
10990
11954
 
10991
11955
  var _g$d, _defs$6;
10992
- var _excluded$1G = ["title", "titleId"];
11956
+ var _excluded$1M = ["title", "titleId"];
10993
11957
  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); }
10994
11958
  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; }
10995
11959
  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; }
10996
11960
  var SvgLogoOpenebooksWithTextNegative = function SvgLogoOpenebooksWithTextNegative(_ref) {
10997
11961
  var title = _ref.title,
10998
11962
  titleId = _ref.titleId,
10999
- props = _objectWithoutProperties$1e(_ref, _excluded$1G);
11963
+ props = _objectWithoutProperties$1e(_ref, _excluded$1M);
11000
11964
  return /*#__PURE__*/React.createElement("svg", _extends$1f({
11001
11965
  viewBox: "0 0 155 139",
11002
11966
  fill: "none",
@@ -11070,14 +12034,14 @@ var SvgLogoOpenebooksWithTextNegative = function SvgLogoOpenebooksWithTextNegati
11070
12034
  };
11071
12035
 
11072
12036
  var _path$_;
11073
- var _excluded$1H = ["title", "titleId"];
12037
+ var _excluded$1N = ["title", "titleId"];
11074
12038
  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); }
11075
12039
  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; }
11076
12040
  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; }
11077
12041
  var SvgLogoQplAltBlack = function SvgLogoQplAltBlack(_ref) {
11078
12042
  var title = _ref.title,
11079
12043
  titleId = _ref.titleId,
11080
- props = _objectWithoutProperties$1f(_ref, _excluded$1H);
12044
+ props = _objectWithoutProperties$1f(_ref, _excluded$1N);
11081
12045
  return /*#__PURE__*/React.createElement("svg", _extends$1g({
11082
12046
  viewBox: "0 0 250 134",
11083
12047
  xmlns: "http://www.w3.org/2000/svg",
@@ -11090,14 +12054,14 @@ var SvgLogoQplAltBlack = function SvgLogoQplAltBlack(_ref) {
11090
12054
  };
11091
12055
 
11092
12056
  var _path$$;
11093
- var _excluded$1I = ["title", "titleId"];
12057
+ var _excluded$1O = ["title", "titleId"];
11094
12058
  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); }
11095
12059
  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; }
11096
12060
  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; }
11097
12061
  var SvgLogoQplAltWhite = function SvgLogoQplAltWhite(_ref) {
11098
12062
  var title = _ref.title,
11099
12063
  titleId = _ref.titleId,
11100
- props = _objectWithoutProperties$1g(_ref, _excluded$1I);
12064
+ props = _objectWithoutProperties$1g(_ref, _excluded$1O);
11101
12065
  return /*#__PURE__*/React.createElement("svg", _extends$1h({
11102
12066
  viewBox: "0 0 250 134",
11103
12067
  fill: "#fff",
@@ -11111,14 +12075,14 @@ var SvgLogoQplAltWhite = function SvgLogoQplAltWhite(_ref) {
11111
12075
  };
11112
12076
 
11113
12077
  var _path$10, _path2$o, _path3$f, _path4$4, _path5$3;
11114
- var _excluded$1J = ["title", "titleId"];
12078
+ var _excluded$1P = ["title", "titleId"];
11115
12079
  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); }
11116
12080
  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; }
11117
12081
  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; }
11118
12082
  var SvgLogoQplBlack = function SvgLogoQplBlack(_ref) {
11119
12083
  var title = _ref.title,
11120
12084
  titleId = _ref.titleId,
11121
- props = _objectWithoutProperties$1h(_ref, _excluded$1J);
12085
+ props = _objectWithoutProperties$1h(_ref, _excluded$1P);
11122
12086
  return /*#__PURE__*/React.createElement("svg", _extends$1i({
11123
12087
  viewBox: "0 0 320 43",
11124
12088
  xmlns: "http://www.w3.org/2000/svg",
@@ -11147,14 +12111,14 @@ var SvgLogoQplBlack = function SvgLogoQplBlack(_ref) {
11147
12111
  };
11148
12112
 
11149
12113
  var _g$e, _defs$7;
11150
- var _excluded$1K = ["title", "titleId"];
12114
+ var _excluded$1Q = ["title", "titleId"];
11151
12115
  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); }
11152
12116
  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; }
11153
12117
  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; }
11154
12118
  var SvgLogoQplColor = function SvgLogoQplColor(_ref) {
11155
12119
  var title = _ref.title,
11156
12120
  titleId = _ref.titleId,
11157
- props = _objectWithoutProperties$1i(_ref, _excluded$1K);
12121
+ props = _objectWithoutProperties$1i(_ref, _excluded$1Q);
11158
12122
  return /*#__PURE__*/React.createElement("svg", _extends$1j({
11159
12123
  viewBox: "0 0 355 48",
11160
12124
  fill: "none",
@@ -11202,14 +12166,14 @@ var SvgLogoQplColor = function SvgLogoQplColor(_ref) {
11202
12166
  };
11203
12167
 
11204
12168
  var _path$11, _path2$p, _path3$g, _path4$5, _path5$4;
11205
- var _excluded$1L = ["title", "titleId"];
12169
+ var _excluded$1R = ["title", "titleId"];
11206
12170
  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); }
11207
12171
  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; }
11208
12172
  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; }
11209
12173
  var SvgLogoQplWhite = function SvgLogoQplWhite(_ref) {
11210
12174
  var title = _ref.title,
11211
12175
  titleId = _ref.titleId,
11212
- props = _objectWithoutProperties$1j(_ref, _excluded$1L);
12176
+ props = _objectWithoutProperties$1j(_ref, _excluded$1R);
11213
12177
  return /*#__PURE__*/React.createElement("svg", _extends$1k({
11214
12178
  viewBox: "0 0 320 43",
11215
12179
  fill: "#fff",
@@ -11239,14 +12203,14 @@ var SvgLogoQplWhite = function SvgLogoQplWhite(_ref) {
11239
12203
  };
11240
12204
 
11241
12205
  var _path$12, _path2$q, _path3$h, _path4$6, _path5$5;
11242
- var _excluded$1M = ["title", "titleId"];
12206
+ var _excluded$1S = ["title", "titleId"];
11243
12207
  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); }
11244
12208
  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; }
11245
12209
  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; }
11246
12210
  var SvgLogoReservoirIconColor = function SvgLogoReservoirIconColor(_ref) {
11247
12211
  var title = _ref.title,
11248
12212
  titleId = _ref.titleId,
11249
- props = _objectWithoutProperties$1k(_ref, _excluded$1M);
12213
+ props = _objectWithoutProperties$1k(_ref, _excluded$1S);
11250
12214
  return /*#__PURE__*/React.createElement("svg", _extends$1l({
11251
12215
  viewBox: "0 0 105 129",
11252
12216
  fill: "none",
@@ -11273,14 +12237,14 @@ var SvgLogoReservoirIconColor = function SvgLogoReservoirIconColor(_ref) {
11273
12237
  };
11274
12238
 
11275
12239
  var _g$f;
11276
- var _excluded$1N = ["title", "titleId"];
12240
+ var _excluded$1T = ["title", "titleId"];
11277
12241
  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); }
11278
12242
  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; }
11279
12243
  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; }
11280
12244
  var SvgLogoReservoirVerticalColor = function SvgLogoReservoirVerticalColor(_ref) {
11281
12245
  var title = _ref.title,
11282
12246
  titleId = _ref.titleId,
11283
- props = _objectWithoutProperties$1l(_ref, _excluded$1N);
12247
+ props = _objectWithoutProperties$1l(_ref, _excluded$1T);
11284
12248
  return /*#__PURE__*/React.createElement("svg", _extends$1m({
11285
12249
  viewBox: "0 0 234 261",
11286
12250
  fill: "none",
@@ -11306,14 +12270,14 @@ var SvgLogoReservoirVerticalColor = function SvgLogoReservoirVerticalColor(_ref)
11306
12270
  };
11307
12271
 
11308
12272
  var _path$13, _path2$r, _path3$i, _path4$7, _path5$6;
11309
- var _excluded$1O = ["title", "titleId"];
12273
+ var _excluded$1U = ["title", "titleId"];
11310
12274
  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); }
11311
12275
  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; }
11312
12276
  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; }
11313
12277
  var SvgLogoSchomburgBlack = function SvgLogoSchomburgBlack(_ref) {
11314
12278
  var title = _ref.title,
11315
12279
  titleId = _ref.titleId,
11316
- props = _objectWithoutProperties$1m(_ref, _excluded$1O);
12280
+ props = _objectWithoutProperties$1m(_ref, _excluded$1U);
11317
12281
  return /*#__PURE__*/React.createElement("svg", _extends$1n({
11318
12282
  viewBox: "0 0 185 79",
11319
12283
  xmlns: "http://www.w3.org/2000/svg",
@@ -11334,14 +12298,14 @@ var SvgLogoSchomburgBlack = function SvgLogoSchomburgBlack(_ref) {
11334
12298
  };
11335
12299
 
11336
12300
  var _path$14, _path2$s, _path3$j, _path4$8, _path5$7;
11337
- var _excluded$1P = ["title", "titleId"];
12301
+ var _excluded$1V = ["title", "titleId"];
11338
12302
  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); }
11339
12303
  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; }
11340
12304
  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; }
11341
12305
  var SvgLogoSchomburgCircleBlack = function SvgLogoSchomburgCircleBlack(_ref) {
11342
12306
  var title = _ref.title,
11343
12307
  titleId = _ref.titleId,
11344
- props = _objectWithoutProperties$1n(_ref, _excluded$1P);
12308
+ props = _objectWithoutProperties$1n(_ref, _excluded$1V);
11345
12309
  return /*#__PURE__*/React.createElement("svg", _extends$1o({
11346
12310
  viewBox: "0 0 67 67",
11347
12311
  xmlns: "http://www.w3.org/2000/svg",
@@ -11362,14 +12326,14 @@ var SvgLogoSchomburgCircleBlack = function SvgLogoSchomburgCircleBlack(_ref) {
11362
12326
  };
11363
12327
 
11364
12328
  var _path$15, _path2$t, _path3$k, _path4$9, _path5$8;
11365
- var _excluded$1Q = ["title", "titleId"];
12329
+ var _excluded$1W = ["title", "titleId"];
11366
12330
  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); }
11367
12331
  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; }
11368
12332
  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; }
11369
12333
  var SvgLogoSchomburgCircleColor = function SvgLogoSchomburgCircleColor(_ref) {
11370
12334
  var title = _ref.title,
11371
12335
  titleId = _ref.titleId,
11372
- props = _objectWithoutProperties$1o(_ref, _excluded$1Q);
12336
+ props = _objectWithoutProperties$1o(_ref, _excluded$1W);
11373
12337
  return /*#__PURE__*/React.createElement("svg", _extends$1p({
11374
12338
  viewBox: "0 0 67 67",
11375
12339
  fill: "none",
@@ -11396,14 +12360,14 @@ var SvgLogoSchomburgCircleColor = function SvgLogoSchomburgCircleColor(_ref) {
11396
12360
  };
11397
12361
 
11398
12362
  var _path$16, _path2$u, _path3$l, _path4$a, _path5$9;
11399
- var _excluded$1R = ["title", "titleId"];
12363
+ var _excluded$1X = ["title", "titleId"];
11400
12364
  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); }
11401
12365
  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; }
11402
12366
  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; }
11403
12367
  var SvgLogoSchomburgCircleWhite = function SvgLogoSchomburgCircleWhite(_ref) {
11404
12368
  var title = _ref.title,
11405
12369
  titleId = _ref.titleId,
11406
- props = _objectWithoutProperties$1p(_ref, _excluded$1R);
12370
+ props = _objectWithoutProperties$1p(_ref, _excluded$1X);
11407
12371
  return /*#__PURE__*/React.createElement("svg", _extends$1q({
11408
12372
  viewBox: "0 0 67 67",
11409
12373
  fill: "#fff",
@@ -11425,14 +12389,14 @@ var SvgLogoSchomburgCircleWhite = function SvgLogoSchomburgCircleWhite(_ref) {
11425
12389
  };
11426
12390
 
11427
12391
  var _path$17, _path2$v, _path3$m, _path4$b, _path5$a, _path6$3, _path7$3;
11428
- var _excluded$1S = ["title", "titleId"];
12392
+ var _excluded$1Y = ["title", "titleId"];
11429
12393
  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); }
11430
12394
  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; }
11431
12395
  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; }
11432
12396
  var SvgLogoSchomburgColor = function SvgLogoSchomburgColor(_ref) {
11433
12397
  var title = _ref.title,
11434
12398
  titleId = _ref.titleId,
11435
- props = _objectWithoutProperties$1q(_ref, _excluded$1S);
12399
+ props = _objectWithoutProperties$1q(_ref, _excluded$1Y);
11436
12400
  return /*#__PURE__*/React.createElement("svg", _extends$1r({
11437
12401
  viewBox: "0 0 185 79",
11438
12402
  fill: "none",
@@ -11465,14 +12429,14 @@ var SvgLogoSchomburgColor = function SvgLogoSchomburgColor(_ref) {
11465
12429
  };
11466
12430
 
11467
12431
  var _path$18, _path2$w, _path3$n, _path4$c, _path5$b;
11468
- var _excluded$1T = ["title", "titleId"];
12432
+ var _excluded$1Z = ["title", "titleId"];
11469
12433
  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); }
11470
12434
  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; }
11471
12435
  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; }
11472
12436
  var SvgLogoSchomburgWhite = function SvgLogoSchomburgWhite(_ref) {
11473
12437
  var title = _ref.title,
11474
12438
  titleId = _ref.titleId,
11475
- props = _objectWithoutProperties$1r(_ref, _excluded$1T);
12439
+ props = _objectWithoutProperties$1r(_ref, _excluded$1Z);
11476
12440
  return /*#__PURE__*/React.createElement("svg", _extends$1s({
11477
12441
  viewBox: "0 0 185 79",
11478
12442
  fill: "#fff",
@@ -11494,14 +12458,14 @@ var SvgLogoSchomburgWhite = function SvgLogoSchomburgWhite(_ref) {
11494
12458
  };
11495
12459
 
11496
12460
  var _g$g, _defs$8;
11497
- var _excluded$1U = ["title", "titleId"];
12461
+ var _excluded$1_ = ["title", "titleId"];
11498
12462
  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); }
11499
12463
  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; }
11500
12464
  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; }
11501
12465
  var SvgLogoSimplyeBlack = function SvgLogoSimplyeBlack(_ref) {
11502
12466
  var title = _ref.title,
11503
12467
  titleId = _ref.titleId,
11504
- props = _objectWithoutProperties$1s(_ref, _excluded$1U);
12468
+ props = _objectWithoutProperties$1s(_ref, _excluded$1_);
11505
12469
  return /*#__PURE__*/React.createElement("svg", _extends$1t({
11506
12470
  viewBox: "0 0 512 148",
11507
12471
  xmlns: "http://www.w3.org/2000/svg",
@@ -11526,14 +12490,14 @@ var SvgLogoSimplyeBlack = function SvgLogoSimplyeBlack(_ref) {
11526
12490
  };
11527
12491
 
11528
12492
  var _g$h, _defs$9;
11529
- var _excluded$1V = ["title", "titleId"];
12493
+ var _excluded$1$ = ["title", "titleId"];
11530
12494
  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); }
11531
12495
  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; }
11532
12496
  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; }
11533
12497
  var SvgLogoSimplyeWhite = function SvgLogoSimplyeWhite(_ref) {
11534
12498
  var title = _ref.title,
11535
12499
  titleId = _ref.titleId,
11536
- props = _objectWithoutProperties$1t(_ref, _excluded$1V);
12500
+ props = _objectWithoutProperties$1t(_ref, _excluded$1$);
11537
12501
  return /*#__PURE__*/React.createElement("svg", _extends$1u({
11538
12502
  viewBox: "0 0 512 148",
11539
12503
  fill: "#fff",
@@ -11558,14 +12522,14 @@ var SvgLogoSimplyeWhite = function SvgLogoSimplyeWhite(_ref) {
11558
12522
  };
11559
12523
 
11560
12524
  var _g$i, _defs$a;
11561
- var _excluded$1W = ["title", "titleId"];
12525
+ var _excluded$20 = ["title", "titleId"];
11562
12526
  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); }
11563
12527
  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; }
11564
12528
  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; }
11565
12529
  var SvgLogoSimplyeColor = function SvgLogoSimplyeColor(_ref) {
11566
12530
  var title = _ref.title,
11567
12531
  titleId = _ref.titleId,
11568
- props = _objectWithoutProperties$1u(_ref, _excluded$1W);
12532
+ props = _objectWithoutProperties$1u(_ref, _excluded$20);
11569
12533
  return /*#__PURE__*/React.createElement("svg", _extends$1v({
11570
12534
  viewBox: "0 0 682 196",
11571
12535
  fill: "none",
@@ -11597,14 +12561,14 @@ var SvgLogoSimplyeColor = function SvgLogoSimplyeColor(_ref) {
11597
12561
  };
11598
12562
 
11599
12563
  var _path$19;
11600
- var _excluded$1X = ["title", "titleId"];
12564
+ var _excluded$21 = ["title", "titleId"];
11601
12565
  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); }
11602
12566
  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; }
11603
12567
  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; }
11604
12568
  var SvgLogoSnflBlack = function SvgLogoSnflBlack(_ref) {
11605
12569
  var title = _ref.title,
11606
12570
  titleId = _ref.titleId,
11607
- props = _objectWithoutProperties$1v(_ref, _excluded$1X);
12571
+ props = _objectWithoutProperties$1v(_ref, _excluded$21);
11608
12572
  return /*#__PURE__*/React.createElement("svg", _extends$1w({
11609
12573
  viewBox: "0 0 84 111",
11610
12574
  xmlns: "http://www.w3.org/2000/svg",
@@ -11617,14 +12581,14 @@ var SvgLogoSnflBlack = function SvgLogoSnflBlack(_ref) {
11617
12581
  };
11618
12582
 
11619
12583
  var _path$1a;
11620
- var _excluded$1Y = ["title", "titleId"];
12584
+ var _excluded$22 = ["title", "titleId"];
11621
12585
  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); }
11622
12586
  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; }
11623
12587
  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; }
11624
12588
  var SvgLogoSnflWhite = function SvgLogoSnflWhite(_ref) {
11625
12589
  var title = _ref.title,
11626
12590
  titleId = _ref.titleId,
11627
- props = _objectWithoutProperties$1w(_ref, _excluded$1Y);
12591
+ props = _objectWithoutProperties$1w(_ref, _excluded$22);
11628
12592
  return /*#__PURE__*/React.createElement("svg", _extends$1x({
11629
12593
  viewBox: "0 0 84 111",
11630
12594
  fill: "#fff",
@@ -11638,14 +12602,14 @@ var SvgLogoSnflWhite = function SvgLogoSnflWhite(_ref) {
11638
12602
  };
11639
12603
 
11640
12604
  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;
11641
- var _excluded$1Z = ["title", "titleId"];
12605
+ var _excluded$23 = ["title", "titleId"];
11642
12606
  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); }
11643
12607
  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; }
11644
12608
  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; }
11645
12609
  var SvgLogoTreasuresColor = function SvgLogoTreasuresColor(_ref) {
11646
12610
  var title = _ref.title,
11647
12611
  titleId = _ref.titleId,
11648
- props = _objectWithoutProperties$1x(_ref, _excluded$1Z);
12612
+ props = _objectWithoutProperties$1x(_ref, _excluded$23);
11649
12613
  return /*#__PURE__*/React.createElement("svg", _extends$1y({
11650
12614
  viewBox: "0 0 324 265",
11651
12615
  fill: "none",
@@ -11822,14 +12786,14 @@ var SvgLogoTreasuresColor = function SvgLogoTreasuresColor(_ref) {
11822
12786
  };
11823
12787
 
11824
12788
  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;
11825
- var _excluded$1_ = ["title", "titleId"];
12789
+ var _excluded$24 = ["title", "titleId"];
11826
12790
  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); }
11827
12791
  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; }
11828
12792
  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; }
11829
12793
  var SvgLogoTreasuresColorNegative = function SvgLogoTreasuresColorNegative(_ref) {
11830
12794
  var title = _ref.title,
11831
12795
  titleId = _ref.titleId,
11832
- props = _objectWithoutProperties$1y(_ref, _excluded$1_);
12796
+ props = _objectWithoutProperties$1y(_ref, _excluded$24);
11833
12797
  return /*#__PURE__*/React.createElement("svg", _extends$1z({
11834
12798
  viewBox: "0 0 327 266",
11835
12799
  fill: "none",
@@ -12056,7 +13020,7 @@ var logoSvgs = {
12056
13020
  treasuresColorNegative: SvgLogoTreasuresColorNegative
12057
13021
  };
12058
13022
 
12059
- var _excluded$1$ = ["children", "className", "decorative", "id", "name", "size", "title"];
13023
+ var _excluded$25 = ["children", "className", "decorative", "id", "name", "size", "title"];
12060
13024
  /**
12061
13025
  * The `Logo` component renders SVG-based logos and color variants that are
12062
13026
  * commonly used by the New York Public Library.
@@ -12073,7 +13037,7 @@ var Logo$1 = /*#__PURE__*/react.chakra( /*#__PURE__*/React.forwardRef(function (
12073
13037
  size = _props$size === void 0 ? "medium" : _props$size,
12074
13038
  _props$title = props.title,
12075
13039
  title = _props$title === void 0 ? name + " logo" : _props$title,
12076
- rest = _objectWithoutPropertiesLoose(props, _excluded$1$);
13040
+ rest = _objectWithoutPropertiesLoose(props, _excluded$25);
12077
13041
  var styles = react.useStyleConfig("Logo", {
12078
13042
  size: size
12079
13043
  });
@@ -12174,7 +13138,7 @@ var link$1 = {
12174
13138
  }]
12175
13139
  };
12176
13140
 
12177
- var _excluded$20 = ["className", "id"];
13141
+ var _excluded$26 = ["className", "id"];
12178
13142
  /**
12179
13143
  * This `Footer` component renders the NYPL-branded footer elements such
12180
13144
  * as navigational NYPL.org links, social media links, copyright, and
@@ -12184,7 +13148,7 @@ var Footer$1 = /*#__PURE__*/react.chakra( /*#__PURE__*/React.forwardRef(function
12184
13148
  var className = _ref.className,
12185
13149
  _ref$id = _ref.id,
12186
13150
  id = _ref$id === void 0 ? "footer" : _ref$id,
12187
- rest = _objectWithoutPropertiesLoose(_ref, _excluded$20);
13151
+ rest = _objectWithoutPropertiesLoose(_ref, _excluded$26);
12188
13152
  var styles = react.useMultiStyleConfig("Footer", {});
12189
13153
  var nyplLinks = link$1.nyplLinks.map(function (links, index) {
12190
13154
  return React__default.createElement(List$1, {
@@ -12253,11 +13217,11 @@ var Footer$1 = /*#__PURE__*/react.chakra( /*#__PURE__*/React.forwardRef(function
12253
13217
  })));
12254
13218
  }));
12255
13219
 
12256
- var _excluded$21 = ["align", "className"];
13220
+ var _excluded$27 = ["align", "className"];
12257
13221
  var HorizontalRule$1 = /*#__PURE__*/react.chakra( /*#__PURE__*/React.forwardRef(function (props, ref) {
12258
13222
  var align = props.align,
12259
13223
  className = props.className,
12260
- rest = _objectWithoutPropertiesLoose(props, _excluded$21);
13224
+ rest = _objectWithoutPropertiesLoose(props, _excluded$27);
12261
13225
  var styles = react.useStyleConfig("HorizontalRule", {
12262
13226
  align: align
12263
13227
  });
@@ -12273,7 +13237,7 @@ var HorizontalRule$1 = /*#__PURE__*/react.chakra( /*#__PURE__*/React.forwardRef(
12273
13237
  }, rest));
12274
13238
  }));
12275
13239
 
12276
- var _excluded$22 = ["className", "id", "target"];
13240
+ var _excluded$28 = ["className", "id", "target"];
12277
13241
  /**
12278
13242
  * SkipNavigation is a component that is used to provide a navigational list of
12279
13243
  * links. The first link is used to skip to the main content of the page using
@@ -12285,7 +13249,7 @@ var SkipNavigation$1 = /*#__PURE__*/react.chakra( /*#__PURE__*/React.forwardRef(
12285
13249
  id = props.id,
12286
13250
  _props$target = props.target,
12287
13251
  target = _props$target === void 0 ? "#mainContent" : _props$target,
12288
- rest = _objectWithoutPropertiesLoose(props, _excluded$22);
13252
+ rest = _objectWithoutPropertiesLoose(props, _excluded$28);
12289
13253
  var styles = react.useStyleConfig("SkipNavigation");
12290
13254
  return React__default.createElement(react.Box, Object.assign({
12291
13255
  as: "nav",
@@ -13592,7 +14556,7 @@ var Header$1 = /*#__PURE__*/react.chakra(function (_ref) {
13592
14556
  }))));
13593
14557
  });
13594
14558
 
13595
- var _excluded$23 = ["backgroundColor", "backgroundImageSrc", "foregroundColor", "heading", "heroType", "imageProps", "locationDetails", "subHeaderText"];
14559
+ var _excluded$29 = ["backgroundColor", "backgroundImageSrc", "foregroundColor", "heading", "heroType", "imageProps", "locationDetails", "subHeaderText"];
13596
14560
  // Only used for internal purposes.
13597
14561
  var heroSecondaryTypes = ["secondary", "secondaryBooksAndMore", "secondaryLocations", "secondaryResearch", "secondaryWhatsOn"];
13598
14562
  var Hero$1 = /*#__PURE__*/react.chakra( /*#__PURE__*/React.forwardRef(function (props, ref) {
@@ -13608,7 +14572,7 @@ var Hero$1 = /*#__PURE__*/react.chakra( /*#__PURE__*/React.forwardRef(function (
13608
14572
  } : _props$imageProps,
13609
14573
  locationDetails = props.locationDetails,
13610
14574
  subHeaderText = props.subHeaderText,
13611
- rest = _objectWithoutPropertiesLoose(props, _excluded$23);
14575
+ rest = _objectWithoutPropertiesLoose(props, _excluded$29);
13612
14576
  var styles = react.useMultiStyleConfig("Hero", {
13613
14577
  variant: heroType
13614
14578
  });
@@ -13697,7 +14661,7 @@ var Hero$1 = /*#__PURE__*/react.chakra( /*#__PURE__*/React.forwardRef(function (
13697
14661
  }
13698
14662
  });
13699
14663
 
13700
- var _excluded$24 = ["bodyContent", "closeButtonLabel", "headingText", "id", "isOpen", "onClose"],
14664
+ var _excluded$2a = ["bodyContent", "closeButtonLabel", "headingText", "id", "isOpen", "onClose"],
13701
14665
  _excluded2$6 = ["buttonText", "id", "modalProps"],
13702
14666
  _excluded3$4 = ["bodyContent", "closeButtonLabel", "headingText", "id"];
13703
14667
  var BaseModal = /*#__PURE__*/react.chakra(function (_ref) {
@@ -13708,7 +14672,7 @@ var BaseModal = /*#__PURE__*/react.chakra(function (_ref) {
13708
14672
  id = _ref.id,
13709
14673
  isOpen = _ref.isOpen,
13710
14674
  onClose = _ref.onClose,
13711
- rest = _objectWithoutPropertiesLoose(_ref, _excluded$24);
14675
+ rest = _objectWithoutPropertiesLoose(_ref, _excluded$2a);
13712
14676
  var xlarge = "xl";
13713
14677
  var fullSize = "full";
13714
14678
  var _useNYPLBreakpoints = useNYPLBreakpoints(),
@@ -13789,7 +14753,7 @@ function useModal() {
13789
14753
  };
13790
14754
  }
13791
14755
 
13792
- var _excluded$25 = ["className", "currentPage", "getPageHref", "id", "initialPage", "onPageChange", "pageCount"];
14756
+ var _excluded$2b = ["className", "currentPage", "getPageHref", "id", "initialPage", "onPageChange", "pageCount"];
13793
14757
  /**
13794
14758
  * A component that provides a navigational list of page items.
13795
14759
  */
@@ -13802,7 +14766,7 @@ var Pagination$1 = /*#__PURE__*/react.chakra( /*#__PURE__*/React.forwardRef(func
13802
14766
  initialPage = _props$initialPage === void 0 ? 1 : _props$initialPage,
13803
14767
  onPageChange = props.onPageChange,
13804
14768
  pageCount = props.pageCount,
13805
- rest = _objectWithoutPropertiesLoose(props, _excluded$25);
14769
+ rest = _objectWithoutPropertiesLoose(props, _excluded$2b);
13806
14770
  var refCurrentPage = React.useRef(currentPage);
13807
14771
  var _useState = React.useState(initialPage),
13808
14772
  selectedPage = _useState[0],
@@ -13992,7 +14956,7 @@ var Pagination$1 = /*#__PURE__*/react.chakra( /*#__PURE__*/React.forwardRef(func
13992
14956
  }, previousLiLink, getPaginationNumbers(selectedPage), nextLiLink));
13993
14957
  }));
13994
14958
 
13995
- var _excluded$26 = ["darkMode", "id", "indicatorType", "isIndeterminate", "labelText", "showLabel", "size", "value"];
14959
+ var _excluded$2c = ["darkMode", "id", "indicatorType", "isIndeterminate", "labelText", "showLabel", "size", "value"];
13996
14960
  /**
13997
14961
  * A component that displays a progress status for any task that takes a long
13998
14962
  * time to complete or consists of multiple steps. Examples include downloading,
@@ -14013,7 +14977,7 @@ var ProgressIndicator$1 = /*#__PURE__*/react.chakra( /*#__PURE__*/React.forwardR
14013
14977
  size = _props$size === void 0 ? "default" : _props$size,
14014
14978
  _props$value = props.value,
14015
14979
  value = _props$value === void 0 ? 0 : _props$value,
14016
- rest = _objectWithoutPropertiesLoose(props, _excluded$26);
14980
+ rest = _objectWithoutPropertiesLoose(props, _excluded$2c);
14017
14981
  var styles = react.useMultiStyleConfig("ProgressIndicator", {
14018
14982
  darkMode: darkMode,
14019
14983
  size: size
@@ -14072,7 +15036,7 @@ var ProgressIndicator$1 = /*#__PURE__*/react.chakra( /*#__PURE__*/React.forwardR
14072
15036
  }, rest), progressComponent(indicatorType));
14073
15037
  }));
14074
15038
 
14075
- var _excluded$27 = ["children", "className", "helperText", "id", "invalidText", "isDisabled", "isInvalid", "isRequired", "labelPosition", "labelText", "name", "onChange", "placeholder", "selectType", "showHelperInvalidText", "showLabel", "showRequiredLabel", "value"];
15039
+ var _excluded$2d = ["children", "className", "helperText", "id", "invalidText", "isDisabled", "isInvalid", "isRequired", "labelPosition", "labelText", "name", "onChange", "placeholder", "selectType", "showHelperInvalidText", "showLabel", "showRequiredLabel", "value"];
14076
15040
  /**
14077
15041
  * Component that renders Chakra's `Select` component along with an accessible
14078
15042
  * `Label` and optional `HelperErrorText` component.
@@ -14105,7 +15069,7 @@ var Select$1 = /*#__PURE__*/react.chakra( /*#__PURE__*/React.forwardRef(function
14105
15069
  showRequiredLabel = _props$showRequiredLa === void 0 ? true : _props$showRequiredLa,
14106
15070
  _props$value = props.value,
14107
15071
  value = _props$value === void 0 ? "" : _props$value,
14108
- rest = _objectWithoutPropertiesLoose(props, _excluded$27);
15072
+ rest = _objectWithoutPropertiesLoose(props, _excluded$2d);
14109
15073
  var _useState = React.useState(0),
14110
15074
  labelWidth = _useState[0],
14111
15075
  setLabelWidth = _useState[1];
@@ -14187,7 +15151,7 @@ var Select$1 = /*#__PURE__*/react.chakra( /*#__PURE__*/React.forwardRef(function
14187
15151
  }), children)));
14188
15152
  }));
14189
15153
 
14190
- var _excluded$28 = ["action", "buttonOnClick", "className", "descriptionText", "headingText", "helperText", "id", "invalidText", "isDisabled", "isInvalid", "isRequired", "labelText", "method", "noBrandButtonType", "onSubmit", "selectProps", "textInputElement", "textInputProps"];
15154
+ var _excluded$2e = ["action", "buttonOnClick", "className", "descriptionText", "headingText", "helperText", "id", "invalidText", "isDisabled", "isInvalid", "isRequired", "labelText", "method", "noBrandButtonType", "onSubmit", "selectProps", "textInputElement", "textInputProps"];
14191
15155
  /**
14192
15156
  * Renders a wrapper `form` element to be used with `Select` (optional),
14193
15157
  * `Input`, and `Button` components together.
@@ -14215,7 +15179,7 @@ var SearchBar$1 = /*#__PURE__*/react.chakra( /*#__PURE__*/React.forwardRef(funct
14215
15179
  selectProps = props.selectProps,
14216
15180
  textInputElement = props.textInputElement,
14217
15181
  textInputProps = props.textInputProps,
14218
- rest = _objectWithoutPropertiesLoose(props, _excluded$28);
15182
+ rest = _objectWithoutPropertiesLoose(props, _excluded$2e);
14219
15183
  var styles = react.useMultiStyleConfig("SearchBar", {});
14220
15184
  var stateProps = {
14221
15185
  helperText: "",
@@ -14307,7 +15271,7 @@ var SearchBar$1 = /*#__PURE__*/react.chakra( /*#__PURE__*/React.forwardRef(funct
14307
15271
  }, selectElem, textInputElem, buttonElem));
14308
15272
  }));
14309
15273
 
14310
- var _excluded$29 = ["className", "contentSize", "headingSize", "imageAspectRatio", "isBordered", "layout", "showButton", "showContent", "showHeading", "showImage", "width"];
15274
+ var _excluded$2f = ["className", "contentSize", "headingSize", "imageAspectRatio", "isBordered", "layout", "showButton", "showContent", "showHeading", "showImage", "width"];
14311
15275
  /**
14312
15276
  * The `SkeletonLoader` component renders a placeholder to be used while
14313
15277
  * dynamic content is loading.
@@ -14333,7 +15297,7 @@ var SkeletonLoader$1 = /*#__PURE__*/react.chakra( /*#__PURE__*/React.forwardRef(
14333
15297
  _props$showImage = props.showImage,
14334
15298
  showImage = _props$showImage === void 0 ? true : _props$showImage,
14335
15299
  width = props.width,
14336
- rest = _objectWithoutPropertiesLoose(props, _excluded$29);
15300
+ rest = _objectWithoutPropertiesLoose(props, _excluded$2f);
14337
15301
  var styles = react.useMultiStyleConfig("SkeletonLoader", {
14338
15302
  isBordered: isBordered,
14339
15303
  imageAspectRatio: imageAspectRatio,
@@ -14391,7 +15355,7 @@ var SkeletonLoader$1 = /*#__PURE__*/react.chakra( /*#__PURE__*/React.forwardRef(
14391
15355
  })))));
14392
15356
  }));
14393
15357
 
14394
- var _excluded$2a = ["className", "defaultValue", "helperText", "id", "invalidText", "isDisabled", "isInvalid", "isRangeSlider", "isRequired", "labelText", "max", "min", "name", "onChange", "showBoxes", "showHelperInvalidText", "showLabel", "showRequiredLabel", "showValues", "step", "value"];
15358
+ 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"];
14395
15359
  /**
14396
15360
  * The `Slider` component renders a singular value slider or a range slider
14397
15361
  * with a min and max value. The value(s) can be updated through the slider
@@ -14419,6 +15383,7 @@ var Slider = /*#__PURE__*/react.chakra( /*#__PURE__*/React.forwardRef(function (
14419
15383
  min = _props$min === void 0 ? 0 : _props$min,
14420
15384
  name = props.name,
14421
15385
  _onChange = props.onChange,
15386
+ _onChangeEnd = props.onChangeEnd,
14422
15387
  _props$showBoxes = props.showBoxes,
14423
15388
  showBoxes = _props$showBoxes === void 0 ? true : _props$showBoxes,
14424
15389
  _props$showHelperInva = props.showHelperInvalidText,
@@ -14432,10 +15397,13 @@ var Slider = /*#__PURE__*/react.chakra( /*#__PURE__*/React.forwardRef(function (
14432
15397
  _props$step = props.step,
14433
15398
  step = _props$step === void 0 ? 1 : _props$step,
14434
15399
  value = props.value,
14435
- rest = _objectWithoutPropertiesLoose(props, _excluded$2a);
15400
+ rest = _objectWithoutPropertiesLoose(props, _excluded$2g);
14436
15401
  if (!id) {
14437
15402
  console.warn("NYPL Reservoir Slider: This component's required `id` prop was not passed.");
14438
15403
  }
15404
+ if (_onChange && _onChangeEnd) {
15405
+ console.warn("NYPL Reservoir Slider: Both `onChange` and `onChangeEnd` props were passed.");
15406
+ }
14439
15407
  // For the RangeSlider, if the defaultValue is not an array, then we set
14440
15408
  // the defaultValue to an array with the min and max values.
14441
15409
  var rangeSliderDefault = typeof defaultValue === "number" ? [min, max] : defaultValue;
@@ -14486,6 +15454,10 @@ var Slider = /*#__PURE__*/react.chakra( /*#__PURE__*/React.forwardRef(function (
14486
15454
  setCurrentValue(val);
14487
15455
  _onChange && _onChange(val);
14488
15456
  },
15457
+ onChangeEnd: function onChangeEnd(val) {
15458
+ setCurrentValue(val);
15459
+ _onChangeEnd && _onChangeEnd(val);
15460
+ },
14489
15461
  step: step,
14490
15462
  // Additional margins so slider thumbs don't overflow past the
14491
15463
  // edge when the value boxes or min/max values are hidden.
@@ -14522,7 +15494,12 @@ var Slider = /*#__PURE__*/react.chakra( /*#__PURE__*/React.forwardRef(function (
14522
15494
  setCurrentValue(newValue);
14523
15495
  // If the text input was updated directly,
14524
15496
  // send the data back to the user.
14525
- _onChange && _onChange(newValue);
15497
+ if (_onChange) {
15498
+ _onChange && _onChange(newValue);
15499
+ }
15500
+ if (_onChangeEnd) {
15501
+ _onChangeEnd && _onChangeEnd(newValue);
15502
+ }
14526
15503
  }
14527
15504
  }, textInputSharedProps),
14528
15505
  end: _extends({
@@ -14544,7 +15521,12 @@ var Slider = /*#__PURE__*/react.chakra( /*#__PURE__*/React.forwardRef(function (
14544
15521
  setCurrentValue(newValue);
14545
15522
  // If the text input was updated directly,
14546
15523
  // send the data back to the user.
14547
- _onChange && _onChange(newValue);
15524
+ if (_onChange) {
15525
+ _onChange && _onChange(newValue);
15526
+ }
15527
+ if (_onChangeEnd) {
15528
+ _onChangeEnd && _onChangeEnd(newValue);
15529
+ }
14548
15530
  }
14549
15531
  }, textInputSharedProps)
14550
15532
  };
@@ -14623,7 +15605,7 @@ var Slider = /*#__PURE__*/react.chakra( /*#__PURE__*/React.forwardRef(function (
14623
15605
  }, max), showBoxes && getTextInput("end")));
14624
15606
  }));
14625
15607
 
14626
- var _excluded$2b = ["children", "className", "id", "level"];
15608
+ var _excluded$2h = ["children", "className", "id", "level"];
14627
15609
  /**
14628
15610
  * The `StatusBadge` component is used to display a visual badge for three
14629
15611
  * different status levels.
@@ -14634,7 +15616,7 @@ var StatusBadge$1 = /*#__PURE__*/react.chakra( /*#__PURE__*/React.forwardRef(fun
14634
15616
  id = props.id,
14635
15617
  _props$level = props.level,
14636
15618
  level = _props$level === void 0 ? "low" : _props$level,
14637
- rest = _objectWithoutPropertiesLoose(props, _excluded$2b);
15619
+ rest = _objectWithoutPropertiesLoose(props, _excluded$2h);
14638
15620
  var styles = react.useStyleConfig("StatusBadge", {
14639
15621
  variant: level
14640
15622
  });
@@ -14649,7 +15631,7 @@ var StatusBadge$1 = /*#__PURE__*/react.chakra( /*#__PURE__*/React.forwardRef(fun
14649
15631
  }, rest), children);
14650
15632
  }));
14651
15633
 
14652
- var _excluded$2c = ["calloutText", "className", "headingText", "id", "imageProps", "bodyContent"];
15634
+ var _excluded$2i = ["calloutText", "className", "headingText", "id", "imageProps", "bodyContent"];
14653
15635
  /**
14654
15636
  * Internal component used in the `StructuredContent` component
14655
15637
  * that renders the DS `Image` component.
@@ -14699,7 +15681,7 @@ var StructuredContent$1 = /*#__PURE__*/react.chakra( /*#__PURE__*/React.forwardR
14699
15681
  src: ""
14700
15682
  } : _props$imageProps,
14701
15683
  bodyContent = props.bodyContent,
14702
- rest = _objectWithoutPropertiesLoose(props, _excluded$2c);
15684
+ rest = _objectWithoutPropertiesLoose(props, _excluded$2i);
14703
15685
  var hasImage = imageProps.src || imageProps.component;
14704
15686
  var hasFigureImage = imageProps.caption || imageProps.credit;
14705
15687
  var styles = react.useMultiStyleConfig("StructuredContent", {
@@ -14832,7 +15814,7 @@ var useCarouselStyles = function useCarouselStyles(slidesCount, slideWidth) {
14832
15814
  };
14833
15815
  };
14834
15816
 
14835
- var _excluded$2d = ["children", "defaultIndex", "id", "onChange", "tabsData", "useHash"];
15817
+ var _excluded$2j = ["children", "defaultIndex", "id", "onChange", "tabsData", "useHash"];
14836
15818
  /**
14837
15819
  * An internal function used to update the hash in the URL.
14838
15820
  * This function is only used when `useHash` is `true`.
@@ -14934,7 +15916,7 @@ var Tabs = /*#__PURE__*/react.chakra( /*#__PURE__*/React.forwardRef(function (pr
14934
15916
  tabsData = props.tabsData,
14935
15917
  _props$useHash = props.useHash,
14936
15918
  useHash = _props$useHash === void 0 ? false : _props$useHash,
14937
- rest = _objectWithoutPropertiesLoose(props, _excluded$2d);
15919
+ rest = _objectWithoutPropertiesLoose(props, _excluded$2j);
14938
15920
  var styles = react.useMultiStyleConfig("Tabs", {});
14939
15921
  // Just an estimate of the tab width for the mobile carousel.
14940
15922
  var initTabWidth = 65;
@@ -15014,13 +15996,13 @@ var Tabs = /*#__PURE__*/react.chakra( /*#__PURE__*/React.forwardRef(function (pr
15014
15996
  }, React__default.createElement(react.Box, Object.assign({}, carouselStyle), tabs)), nextButton), panels);
15015
15997
  }));
15016
15998
 
15017
- var _excluded$2e = ["children", "className", "content", "id", "isDisabled", "shouldWrapChildren"];
15999
+ var _excluded$2k = ["children", "className", "content", "id", "isDisabled", "shouldWrapChildren"];
15018
16000
  var Tooltip$1 = /*#__PURE__*/react.chakra( /*#__PURE__*/React.forwardRef(function (props, ref) {
15019
16001
  var children = props.children,
15020
16002
  content = props.content,
15021
16003
  isDisabled = props.isDisabled,
15022
16004
  shouldWrapChildren = props.shouldWrapChildren,
15023
- rest = _objectWithoutPropertiesLoose(props, _excluded$2e);
16005
+ rest = _objectWithoutPropertiesLoose(props, _excluded$2k);
15024
16006
  if (typeof content !== "string" && typeof content !== "number") {
15025
16007
  React__default.Children.map(content, function (contentChild) {
15026
16008
  if (contentChild.type !== Icon || contentChild.type !== Image) {
@@ -15145,7 +16127,7 @@ var TagSetFilter$1 = /*#__PURE__*/react.chakra(function (props) {
15145
16127
  }, "Clear Filters") : null);
15146
16128
  });
15147
16129
 
15148
- var _excluded$2f = ["className", "id", "isDismissible", "onClick", "tagSetData", "type"];
16130
+ var _excluded$2l = ["className", "id", "isDismissible", "onClick", "tagSetData", "type"];
15149
16131
  // Type guard so we can make sure we have a "filter" `TagSet` variant.
15150
16132
  function isFilterType(type) {
15151
16133
  return type === "filter";
@@ -15189,7 +16171,7 @@ var TagSet$1 = /*#__PURE__*/react.chakra( /*#__PURE__*/React.forwardRef(function
15189
16171
  tagSetData = _props$tagSetData === void 0 ? [] : _props$tagSetData,
15190
16172
  _props$type = props.type,
15191
16173
  type = _props$type === void 0 ? "filter" : _props$type,
15192
- rest = _objectWithoutPropertiesLoose(props, _excluded$2f);
16174
+ rest = _objectWithoutPropertiesLoose(props, _excluded$2l);
15193
16175
  var styles = react.useStyleConfig("TagSet", {});
15194
16176
  if (!isFilterType(type)) {
15195
16177
  if (isDismissible) {
@@ -15217,7 +16199,7 @@ var TagSet$1 = /*#__PURE__*/react.chakra( /*#__PURE__*/React.forwardRef(function
15217
16199
  }));
15218
16200
  }));
15219
16201
 
15220
- var _excluded$2g = ["aboveHeader", "breakout", "contentId", "contentBottom", "contentPrimary", "contentSidebar", "contentTop", "footer", "header", "sidebar", "renderFooterElement", "renderHeaderElement", "renderSkipNavigation"];
16202
+ var _excluded$2m = ["aboveHeader", "breakout", "contentId", "contentBottom", "contentPrimary", "contentSidebar", "contentTop", "footer", "header", "sidebar", "renderFooterElement", "renderHeaderElement", "renderSkipNavigation"];
15221
16203
  /**
15222
16204
  * The main top-level parent component that wraps all template-related
15223
16205
  * components.
@@ -15440,7 +16422,7 @@ var TemplateAppContainer = /*#__PURE__*/react.chakra( /*#__PURE__*/React.forward
15440
16422
  renderHeaderElement = _props$renderHeaderEl === void 0 ? true : _props$renderHeaderEl,
15441
16423
  _props$renderSkipNavi = props.renderSkipNavigation,
15442
16424
  renderSkipNavigation = _props$renderSkipNavi === void 0 ? false : _props$renderSkipNavi,
15443
- rest = _objectWithoutPropertiesLoose(props, _excluded$2g);
16425
+ rest = _objectWithoutPropertiesLoose(props, _excluded$2m);
15444
16426
  var aboveHeaderElem = aboveHeader && React__default.createElement(TemplateAboveHeader, null, aboveHeader);
15445
16427
  var contentTopElem = contentTop && React__default.createElement(TemplateContentTop, null, contentTop);
15446
16428
  var contentPrimaryElem = contentPrimary && React__default.createElement(TemplateContentPrimary$1, null, contentPrimary);
@@ -15458,7 +16440,7 @@ var TemplateAppContainer = /*#__PURE__*/react.chakra( /*#__PURE__*/React.forward
15458
16440
  }, footer)));
15459
16441
  }));
15460
16442
 
15461
- var _excluded$2h = ["defaultChecked", "helperText", "id", "invalidText", "isChecked", "isDisabled", "isInvalid", "isRequired", "labelText", "name", "onChange", "size"];
16443
+ var _excluded$2n = ["defaultChecked", "helperText", "id", "invalidText", "isChecked", "isDisabled", "isInvalid", "isRequired", "labelText", "name", "onChange", "size"];
15462
16444
  var onChangeDefault = function onChangeDefault() {
15463
16445
  return;
15464
16446
  };
@@ -15484,7 +16466,7 @@ var Toggle$2 = /*#__PURE__*/react.chakra( /*#__PURE__*/React.forwardRef(function
15484
16466
  onChange = _props$onChange === void 0 ? onChangeDefault : _props$onChange,
15485
16467
  _props$size = props.size,
15486
16468
  size = _props$size === void 0 ? "default" : _props$size,
15487
- rest = _objectWithoutPropertiesLoose(props, _excluded$2h);
16469
+ rest = _objectWithoutPropertiesLoose(props, _excluded$2n);
15488
16470
  var styles = react.useMultiStyleConfig("Toggle", {
15489
16471
  isDisabled: isDisabled,
15490
16472
  size: size
@@ -15530,6 +16512,157 @@ var Toggle$2 = /*#__PURE__*/react.chakra( /*#__PURE__*/React.forwardRef(function
15530
16512
  }), labelText)));
15531
16513
  }));
15532
16514
 
16515
+ /**
16516
+ * The useMultiSelect hook returns an object containing all the functions and state needed to handle the selectedItems of a `MultiSelect` component.
16517
+ * It can be used in conjunction with one single `MultiSelect` component as well as a group of `MultiSelect`s in the `MultiSelectGroup` component.
16518
+ * The returned object includes the functions onChange, onClear, onMixedStateChange for handling any changes to the selection of items
16519
+ * and the current state of the selection: selectedItems.
16520
+ */
16521
+ function useMultiSelect(initialState) {
16522
+ var _useState = React.useState(initialState !== undefined ? initialState : {}),
16523
+ selectedItems = _useState[0],
16524
+ _setSelectedItems = _useState[1];
16525
+ /**
16526
+ * 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.
16527
+ * It accepts two arguments - the id of the checkbox option and the id of the MultiSelect component.
16528
+ */
16529
+ var handleChange = function handleChange(itemId, multiSelectId) {
16530
+ var _extends2;
16531
+ var itemIds;
16532
+ // Check if the multiSelect already exists in the state.
16533
+ if (selectedItems.hasOwnProperty(multiSelectId)) {
16534
+ // Make a copy of the existing selected items.
16535
+ itemIds = selectedItems[multiSelectId].items.slice();
16536
+ // If itemId is in the selectedItems, remove it from the array.
16537
+ if (selectedItems[multiSelectId].items.indexOf(itemId) > -1) {
16538
+ itemIds = itemIds.filter(function (id) {
16539
+ return id !== itemId;
16540
+ });
16541
+ } else {
16542
+ // Add it to the array, but modify the copy, not the original.
16543
+ itemIds.push(itemId);
16544
+ }
16545
+ // If there were no items from the multiSelect in the selectedItems before
16546
+ } else {
16547
+ // Add the itemId to the itemsIds
16548
+ itemIds = [];
16549
+ itemIds.push(itemId);
16550
+ }
16551
+ // Update selectedItems on state to reflect the new selection
16552
+ _setSelectedItems(_extends({}, selectedItems, (_extends2 = {}, _extends2[multiSelectId] = {
16553
+ items: itemIds
16554
+ }, _extends2)));
16555
+ };
16556
+ /**
16557
+ * handleMixedStateChange is used only for the "dialog" variant. It handles the state for checkbox options with child options.
16558
+ * It accepts three arguments - the id of the checkbox option (parentId), the id of the MultiSelect component and the items array of the MultiSelect.
16559
+ */
16560
+ var handleMixedStateChange = function handleMixedStateChange(parentId, multiSelectId, items) {
16561
+ var _extends3;
16562
+ // Build an array of child items.
16563
+ var childItems = items.filter(function (item) {
16564
+ return item.id === parentId;
16565
+ })[0].children.map(function (child) {
16566
+ return child.id;
16567
+ });
16568
+ var newItems;
16569
+ // If some items of the multiSelect are already selected
16570
+ if (selectedItems[multiSelectId] !== undefined) {
16571
+ // If all children of the parent are already selected
16572
+ if (childItems.every(function (childItem) {
16573
+ return selectedItems[multiSelectId].items.includes(childItem);
16574
+ })) {
16575
+ // Remove all children from the selectedItems array (unselect all child checkbox options)
16576
+ newItems = selectedItems[multiSelectId].items.filter(function (stateItem) {
16577
+ return !childItems.includes(stateItem);
16578
+ });
16579
+ } else {
16580
+ // Else add missing childItems.
16581
+ newItems = [].concat(childItems.filter(function (childItem) {
16582
+ return !selectedItems[multiSelectId].items.includes(childItem);
16583
+ }), selectedItems[multiSelectId].items);
16584
+ }
16585
+ // If no items of this multiSelect were selected before
16586
+ } else {
16587
+ newItems = childItems;
16588
+ }
16589
+ // Update selectedItems on state to reflect the new selection
16590
+ _setSelectedItems(_extends({}, selectedItems, (_extends3 = {}, _extends3[multiSelectId] = {
16591
+ items: newItems
16592
+ }, _extends3)));
16593
+ };
16594
+ /**
16595
+ * handleClear is used for both MultiSelect variants. It will remove all selected items of specific MultiSelect component from the selectedItems array.
16596
+ * It accepts one argument - the id of the MultiSelect component.
16597
+ */
16598
+ var handleClear = function handleClear(multiSelectId) {
16599
+ var newSelectedItems = {};
16600
+ for (var _i = 0, _Object$keys = Object.keys(selectedItems); _i < _Object$keys.length; _i++) {
16601
+ var key = _Object$keys[_i];
16602
+ if (key !== multiSelectId) {
16603
+ newSelectedItems[key] = selectedItems[key];
16604
+ }
16605
+ }
16606
+ _setSelectedItems(newSelectedItems);
16607
+ };
16608
+ /**
16609
+ * handleClearAll is used to clear all MultiSelects of a group. It will remove all selected items.
16610
+ */
16611
+ var handleClearAll = function handleClearAll() {
16612
+ return _setSelectedItems({});
16613
+ };
16614
+ return {
16615
+ selectedItems: selectedItems,
16616
+ setSelectedItems: function setSelectedItems(newState) {
16617
+ return _setSelectedItems(newState);
16618
+ },
16619
+ onChange: handleChange,
16620
+ onMixedStateChange: handleMixedStateChange,
16621
+ onClear: handleClear,
16622
+ onClearAll: handleClearAll
16623
+ };
16624
+ }
16625
+
16626
+ /**
16627
+ * The `useFilterBar` hook returns an object containing all the functions and state needed to control a FilterBar component and its child components.
16628
+ * The returned object includes the functions `onChange`, `onMixedStateChange`, `onClear` and `onClearAll` for handling any changes to the selectedItems object,
16629
+ * a `setSelectedItems` function that allows to set an initial selectedItems state
16630
+ * and the current state of the selection: `selectedItems`.
16631
+ * 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`,
16632
+ * an `onToggle` function to change the module state or alternatively `onOpen` and `onClose` functions.
16633
+ */
16634
+ function useFilterBar(initialState) {
16635
+ var _useState = React.useState(false),
16636
+ isModalOpen = _useState[0],
16637
+ setIsModalOpen = _useState[1];
16638
+ var _useMultiSelect = useMultiSelect(initialState),
16639
+ selectedItems = _useMultiSelect.selectedItems,
16640
+ setSelectedItems = _useMultiSelect.setSelectedItems,
16641
+ onChange = _useMultiSelect.onChange,
16642
+ onMixedStateChange = _useMultiSelect.onMixedStateChange,
16643
+ onClear = _useMultiSelect.onClear,
16644
+ onClearAll = _useMultiSelect.onClearAll;
16645
+ var handleToggle = function handleToggle() {
16646
+ return setIsModalOpen(!isModalOpen);
16647
+ };
16648
+ return {
16649
+ selectedItems: selectedItems,
16650
+ setSelectedItems: setSelectedItems,
16651
+ isModalOpen: isModalOpen,
16652
+ onOpen: function onOpen() {
16653
+ return setIsModalOpen(true);
16654
+ },
16655
+ onClose: function onClose() {
16656
+ return setIsModalOpen(false);
16657
+ },
16658
+ onToggle: handleToggle,
16659
+ onChange: onChange,
16660
+ onMixedStateChange: onMixedStateChange,
16661
+ onClear: onClear,
16662
+ onClearAll: onClearAll
16663
+ };
16664
+ }
16665
+
15533
16666
  /**
15534
16667
  * A custom hook that returns the Chakra-based NYPL theme object. This must be
15535
16668
  * used inside a component that is wrapped in the `DSProvider` component, so
@@ -15620,7 +16753,7 @@ function useNYPLTheme() {
15620
16753
  };
15621
16754
  }
15622
16755
 
15623
- var _excluded$2i = ["aspectRatio", "className", "descriptionText", "embedCode", "headingText", "helperText", "id", "iframeTitle", "showHelperInvalidText", "videoId", "videoType"];
16756
+ var _excluded$2o = ["aspectRatio", "className", "descriptionText", "embedCode", "headingText", "helperText", "id", "iframeTitle", "showHelperInvalidText", "videoId", "videoType"];
15624
16757
  var VideoPlayer$1 = /*#__PURE__*/react.chakra( /*#__PURE__*/React.forwardRef(function (props, ref) {
15625
16758
  var aspectRatio = props.aspectRatio,
15626
16759
  className = props.className,
@@ -15634,7 +16767,7 @@ var VideoPlayer$1 = /*#__PURE__*/react.chakra( /*#__PURE__*/React.forwardRef(fun
15634
16767
  showHelperInvalidText = _props$showHelperInva === void 0 ? true : _props$showHelperInva,
15635
16768
  videoId = props.videoId,
15636
16769
  videoType = props.videoType,
15637
- rest = _objectWithoutPropertiesLoose(props, _excluded$2i);
16770
+ rest = _objectWithoutPropertiesLoose(props, _excluded$2o);
15638
16771
  var iframeTitleFinal = videoType === "vimeo" ? iframeTitle || "Vimeo video player" : iframeTitle || "YouTube video player";
15639
16772
  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";
15640
16773
  var iFrameTitleEmbedCode = iframeTitle ? "" + iframeTitle : "Video player";
@@ -15836,6 +16969,7 @@ exports.DSProvider = DSProvider;
15836
16969
  exports.DatePicker = DatePicker;
15837
16970
  exports.FeedbackBox = FeedbackBox$1;
15838
16971
  exports.Fieldset = Fieldset;
16972
+ exports.FilterBar = FilterBar$1;
15839
16973
  exports.Footer = Footer$1;
15840
16974
  exports.Form = Form;
15841
16975
  exports.FormField = FormField;
@@ -15852,6 +16986,8 @@ exports.Link = Link;
15852
16986
  exports.List = List$1;
15853
16987
  exports.Logo = Logo$1;
15854
16988
  exports.ModalTrigger = ModalTrigger;
16989
+ exports.MultiSelect = MultiSelect$1;
16990
+ exports.MultiSelectGroup = MultiSelectGroup;
15855
16991
  exports.Notification = Notification$1;
15856
16992
  exports.Pagination = Pagination$1;
15857
16993
  exports.ProgressIndicator = ProgressIndicator$1;
@@ -15886,7 +17022,9 @@ exports.Tooltip = Tooltip$1;
15886
17022
  exports.VideoPlayer = VideoPlayer$1;
15887
17023
  exports.useCarouselStyles = useCarouselStyles;
15888
17024
  exports.useFeedbackBox = useFeedbackBox;
17025
+ exports.useFilterBar = useFilterBar;
15889
17026
  exports.useModal = useModal;
17027
+ exports.useMultiSelect = useMultiSelect;
15890
17028
  exports.useNYPLBreakpoints = useNYPLBreakpoints;
15891
17029
  exports.useNYPLTheme = useNYPLTheme;
15892
17030
  exports.useWindowSize = useWindowSize;