@nypl/design-system-react-components 1.4.0-rc3 → 1.4.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,4 +1,4 @@
1
- import { chakra, useStyleConfig, Icon as Icon$2, Box, Accordion as Accordion$2, AccordionPanel, AccordionItem, AccordionButton, Button as Button$2, useMultiStyleConfig, Heading as Heading$2, Text as Text$2, Flex, Breadcrumb as Breadcrumb$1, BreadcrumbItem, BreadcrumbLink, useMediaQuery, Stack, useMergeRefs, LinkBox, LinkOverlay, Checkbox as Checkbox$2, CheckboxGroup as CheckboxGroup$2, TableCaption, Thead, Tr, Th, Table as Table$1, Tbody, Td, HStack, SimpleGrid as SimpleGrid$1, Input, Textarea, extendTheme, ChakraProvider, Radio as Radio$2, RadioGroup as RadioGroup$2, useDisclosure, Drawer, DrawerOverlay, DrawerContent, DrawerHeader, DrawerBody, VStack, keyframes as keyframes$1, UnorderedList, ListItem, Modal, ModalOverlay, ModalContent, ModalHeader, ModalCloseButton, ModalBody, ModalFooter, useOutsideClick, Spacer, CircularProgress, CircularProgressLabel, Progress, Select as Select$2, Skeleton as Skeleton$1, RangeSlider, RangeSliderTrack, RangeSliderFilledTrack, RangeSliderThumb, Slider as Slider$1, SliderTrack, SliderFilledTrack, SliderThumb, Tabs as Tabs$1, Tab, TabPanel, TabList, TabPanels, Tooltip as Tooltip$2, Switch as Switch$1, useTheme } from '@chakra-ui/react';
1
+ import { chakra, useStyleConfig, Icon as Icon$2, Box, Accordion as Accordion$2, AccordionPanel, AccordionItem, AccordionButton, Button as Button$2, useMultiStyleConfig, Heading as Heading$2, Text as Text$2, Flex, useMergeRefs, Tooltip as Tooltip$2, Breadcrumb as Breadcrumb$1, BreadcrumbItem, BreadcrumbLink, useMediaQuery, Stack, LinkBox, LinkOverlay, Checkbox as Checkbox$2, CheckboxGroup as CheckboxGroup$2, TableCaption, Thead, Tr, Th, Table as Table$1, Tbody, Td, HStack, SimpleGrid as SimpleGrid$1, Input, Textarea, extendTheme, ChakraProvider, Radio as Radio$2, RadioGroup as RadioGroup$2, useDisclosure, Drawer, DrawerOverlay, DrawerContent, DrawerHeader, DrawerBody, VStack, keyframes as keyframes$1, UnorderedList, ListItem, useOutsideClick, Modal, ModalOverlay, ModalContent, ModalHeader, ModalCloseButton, ModalBody, ModalFooter, Spacer, CircularProgress, CircularProgressLabel, Progress, Select as Select$2, Skeleton as Skeleton$1, RangeSlider, RangeSliderTrack, RangeSliderFilledTrack, RangeSliderThumb, Slider as Slider$1, SliderTrack, SliderFilledTrack, SliderThumb, Tabs as Tabs$1, Tab, TabPanel, TabList, TabPanels, Switch as Switch$1, useTheme } from '@chakra-ui/react';
2
2
  export { Box, Center, Circle, ColorModeScript, Flex, Grid, GridItem, HStack, Spacer, Square, Stack, Tab, TabList, TabPanel, TabPanels, VStack, cookieStorageManager, localStorageManager, useColorMode, useColorModeValue } from '@chakra-ui/react';
3
3
  import React__default, { createElement, forwardRef, useRef, useState, useEffect, Fragment, useReducer, useContext } from 'react';
4
4
  import useNativeLazyLoading from '@charlietango/use-native-lazy-loading';
@@ -8,7 +8,7 @@ import { createBreakpoints, cssVar } from '@chakra-ui/theme-tools';
8
8
  import { keyframes } from '@chakra-ui/system';
9
9
  import { useSelect } from 'downshift';
10
10
  import FocusLock from '@chakra-ui/focus-lock';
11
- import Cookies from 'js-cookie';
11
+ import 'js-cookie';
12
12
  import ReactGA from 'react-ga';
13
13
 
14
14
  function _extends() {
@@ -1774,9 +1774,11 @@ var Heading = /*#__PURE__*/chakra( /*#__PURE__*/forwardRef(function (props, ref)
1774
1774
  }, rest), content);
1775
1775
  }));
1776
1776
 
1777
- var _excluded$V = ["ariaAtomic", "ariaLive", "className", "id", "isInvalid", "text"];
1777
+ var _excluded$V = ["ariaAtomic", "ariaLive", "className", "id", "isInvalid", "isRenderedText", "text"];
1778
1778
  /**
1779
- * Helper or error text for forms components.
1779
+ * Component that always renders a div even if the text content is not passed.
1780
+ * This pattern guarantees accessibility guidelines are met if the text content
1781
+ * is dynamically updated by the app or component that implements it.
1780
1782
  */
1781
1783
  var HelperErrorText = /*#__PURE__*/chakra( /*#__PURE__*/forwardRef(function (_ref, ref) {
1782
1784
  var _ref$ariaAtomic = _ref.ariaAtomic,
@@ -1788,9 +1790,10 @@ var HelperErrorText = /*#__PURE__*/chakra( /*#__PURE__*/forwardRef(function (_re
1788
1790
  id = _ref.id,
1789
1791
  _ref$isInvalid = _ref.isInvalid,
1790
1792
  isInvalid = _ref$isInvalid === void 0 ? false : _ref$isInvalid,
1793
+ _ref$isRenderedText = _ref.isRenderedText,
1794
+ isRenderedText = _ref$isRenderedText === void 0 ? true : _ref$isRenderedText,
1791
1795
  text = _ref.text,
1792
1796
  rest = _objectWithoutPropertiesLoose(_ref, _excluded$V);
1793
- // Only announce the text in the invalid state.
1794
1797
  var styles = useStyleConfig("HelperErrorText", {
1795
1798
  isInvalid: isInvalid
1796
1799
  });
@@ -1800,16 +1803,15 @@ var HelperErrorText = /*#__PURE__*/chakra( /*#__PURE__*/forwardRef(function (_re
1800
1803
  className: className,
1801
1804
  "data-isinvalid": isInvalid,
1802
1805
  id: id,
1806
+ ref: ref,
1803
1807
  __css: styles
1804
1808
  }, rest);
1805
- return typeof text === "string" ? React__default.createElement(Box, Object.assign({}, props, {
1809
+ // Always render the wrapper div element with the proper aria attributes.
1810
+ return React__default.createElement(Box, Object.assign({}, props), isRenderedText ? typeof text === "string" ? React__default.createElement("span", {
1806
1811
  dangerouslySetInnerHTML: {
1807
1812
  __html: text
1808
- },
1809
- ref: ref
1810
- })) : React__default.createElement(Box, Object.assign({}, props, {
1811
- ref: ref
1812
- }), text);
1813
+ }
1814
+ }) : text : null);
1813
1815
  }));
1814
1816
 
1815
1817
  var _excluded$W = ["children", "className", "isBold", "isItalic", "isCapitalized", "isUppercase", "isLowercase", "noSpace", "size"];
@@ -1892,9 +1894,10 @@ var ComponentWrapper = /*#__PURE__*/chakra( /*#__PURE__*/forwardRef(function (pr
1892
1894
  }, rest), headingText && React__default.createElement(Heading, {
1893
1895
  id: id + "-heading",
1894
1896
  text: headingText
1895
- }), descriptionText && React__default.createElement(Text, null, descriptionText), children, footnote && showHelperInvalidText && React__default.createElement(HelperErrorText, {
1897
+ }), descriptionText && React__default.createElement(Text, null, descriptionText), children, React__default.createElement(HelperErrorText, {
1896
1898
  id: id + "-helperText",
1897
1899
  isInvalid: isInvalid,
1900
+ isRenderedText: showHelperInvalidText,
1898
1901
  text: footnote,
1899
1902
  __css: _extends({}, styles.helperErrorText, helperTextStyles)
1900
1903
  }));
@@ -2163,7 +2166,231 @@ function parseIframeEmbedCode(embedCode) {
2163
2166
  return undefined;
2164
2167
  }
2165
2168
 
2166
- var _excluded$_ = ["breadcrumbsData", "breadcrumbsType", "className", "id"];
2169
+ var _excluded$_ = ["additionalWrapperStyles", "className", "children", "aspectRatio", "size"],
2170
+ _excluded2 = ["additionalFigureStyles", "additionalImageStyles", "additionalWrapperStyles", "alt", "aspectRatio", "caption", "className", "component", "credit", "imageType", "isLazy", "size", "src"];
2171
+ var ImageWrapper = /*#__PURE__*/chakra(function (props) {
2172
+ var _props$additionalWrap = props.additionalWrapperStyles,
2173
+ additionalWrapperStyles = _props$additionalWrap === void 0 ? {} : _props$additionalWrap,
2174
+ _props$className = props.className,
2175
+ className = _props$className === void 0 ? "" : _props$className,
2176
+ children = props.children,
2177
+ _props$aspectRatio = props.aspectRatio,
2178
+ aspectRatio = _props$aspectRatio === void 0 ? "original" : _props$aspectRatio,
2179
+ _props$size = props.size,
2180
+ size = _props$size === void 0 ? "default" : _props$size,
2181
+ rest = _objectWithoutPropertiesLoose(props, _excluded$_);
2182
+ var styles = useMultiStyleConfig("CustomImageWrapper", {
2183
+ ratio: aspectRatio,
2184
+ size: size
2185
+ });
2186
+ return React__default.createElement(Box, Object.assign({
2187
+ className: "the-wrap " + className,
2188
+ __css: _extends({}, styles, additionalWrapperStyles)
2189
+ }, rest), React__default.createElement(Box, {
2190
+ className: "the-crop",
2191
+ __css: styles.crop
2192
+ }, children));
2193
+ });
2194
+ var Image = /*#__PURE__*/chakra( /*#__PURE__*/forwardRef(function (props, ref) {
2195
+ var _props$additionalFigu = props.additionalFigureStyles,
2196
+ additionalFigureStyles = _props$additionalFigu === void 0 ? {} : _props$additionalFigu,
2197
+ _props$additionalImag = props.additionalImageStyles,
2198
+ additionalImageStyles = _props$additionalImag === void 0 ? {} : _props$additionalImag,
2199
+ _props$additionalWrap2 = props.additionalWrapperStyles,
2200
+ additionalWrapperStyles = _props$additionalWrap2 === void 0 ? {} : _props$additionalWrap2,
2201
+ alt = props.alt,
2202
+ _props$aspectRatio2 = props.aspectRatio,
2203
+ aspectRatio = _props$aspectRatio2 === void 0 ? "original" : _props$aspectRatio2,
2204
+ caption = props.caption,
2205
+ _props$className2 = props.className,
2206
+ className = _props$className2 === void 0 ? "" : _props$className2,
2207
+ component = props.component,
2208
+ credit = props.credit,
2209
+ _props$imageType = props.imageType,
2210
+ imageType = _props$imageType === void 0 ? "default" : _props$imageType,
2211
+ _props$isLazy = props.isLazy,
2212
+ isLazy = _props$isLazy === void 0 ? false : _props$isLazy,
2213
+ _props$size2 = props.size,
2214
+ size = _props$size2 === void 0 ? "default" : _props$size2,
2215
+ src = props.src,
2216
+ rest = _objectWithoutPropertiesLoose(props, _excluded2);
2217
+ // Check if the native browser lazy loading is supported.
2218
+ var supportsLazyLoading = useNativeLazyLoading();
2219
+ // If it is (mostly Chromium-based browsers), then skip creating
2220
+ // the IntersectionObserver object.
2221
+ var _useInView = useInView({
2222
+ triggerOnce: true,
2223
+ skip: supportsLazyLoading
2224
+ }),
2225
+ inViewRef = _useInView[0],
2226
+ inView = _useInView[1];
2227
+ var useImageWrapper = aspectRatio !== "original";
2228
+ var styles = useMultiStyleConfig("CustomImage", {
2229
+ variant: imageType,
2230
+ size: size
2231
+ });
2232
+ var imageComponent = null;
2233
+ var lazyRef = undefined;
2234
+ var finalRefs = undefined;
2235
+ var srcProp = isLazy ? {} : {
2236
+ src: src
2237
+ };
2238
+ if (alt && alt.length > 300) {
2239
+ throw new Error("NYPL Reservoir Image: Alt text must be less than 300 characters.");
2240
+ }
2241
+ // For lazying loading images, the initial `src` value is empty. Once
2242
+ // the image is loaded, the `src` prop is set and passed to the image
2243
+ // element so that it can load. This also lets it load with a gray
2244
+ // background placeholder. We also only want to add the `inViewRef` ref
2245
+ // when `isLazy` is true to keep track of when the image is visible.
2246
+ if (isLazy && (inView || supportsLazyLoading)) {
2247
+ lazyRef = inViewRef;
2248
+ srcProp = {
2249
+ src: src
2250
+ };
2251
+ }
2252
+ // We want to add the `ref` from the `forwardRef` function regardless of
2253
+ // whether the image is lazy or not. This is meant for usage with other
2254
+ // components such as a `Tooltip`. The `inViewRef` is only added when
2255
+ // the `isLazy` prop is true.
2256
+ finalRefs = useMergeRefs(lazyRef, ref);
2257
+ imageComponent = component ? component : React__default.createElement(Box, Object.assign({
2258
+ as: "img",
2259
+ alt: alt,
2260
+ loading: isLazy ? "lazy" : undefined
2261
+ }, srcProp, {
2262
+ __css: _extends({}, styles.img, additionalImageStyles)
2263
+ }, rest));
2264
+ var finalImage = useImageWrapper ? React__default.createElement(ImageWrapper, Object.assign({
2265
+ additionalWrapperStyles: additionalWrapperStyles,
2266
+ aspectRatio: aspectRatio,
2267
+ className: className,
2268
+ size: size
2269
+ }, caption || credit ? {} : rest), imageComponent) : imageComponent;
2270
+ return React__default.createElement(Box, {
2271
+ ref: finalRefs
2272
+ }, caption || credit ? React__default.createElement(Box, {
2273
+ as: "figure",
2274
+ __css: _extends({}, styles.figure, additionalFigureStyles)
2275
+ }, finalImage, React__default.createElement(Box, {
2276
+ as: "figcaption",
2277
+ __css: styles.figcaption
2278
+ }, caption && React__default.createElement(Box, {
2279
+ __css: styles.captionWrappers
2280
+ }, caption), credit && React__default.createElement(Box, {
2281
+ __css: styles.captionWrappers
2282
+ }, credit))) : finalImage);
2283
+ }), {
2284
+ shouldForwardProp: function shouldForwardProp() {
2285
+ return true;
2286
+ }
2287
+ });
2288
+
2289
+ var _excluded$$ = ["children", "className", "content", "id", "isDisabled", "shouldWrapChildren"];
2290
+ var Tooltip = /*#__PURE__*/chakra( /*#__PURE__*/forwardRef(function (props, ref) {
2291
+ var children = props.children,
2292
+ content = props.content,
2293
+ isDisabled = props.isDisabled,
2294
+ shouldWrapChildren = props.shouldWrapChildren,
2295
+ rest = _objectWithoutPropertiesLoose(props, _excluded$$);
2296
+ if (typeof content !== "string" && typeof content !== "number") {
2297
+ React__default.Children.map(content, function (contentChild) {
2298
+ if (contentChild.type !== Icon || contentChild.type !== Image) {
2299
+ console.warn("NYPL Reservoir Tooltip: Pass in a string, number, DS Icon, or DS Image into the 'content' prop.");
2300
+ }
2301
+ });
2302
+ }
2303
+ var newChildren = shouldWrapChildren ? React__default.createElement(ComponentWrapper, {
2304
+ width: "fit-content"
2305
+ }, children) : children;
2306
+ var styles = useMultiStyleConfig("Tooltip", {});
2307
+ return React__default.createElement(Tooltip$2, Object.assign({
2308
+ "aria-label": typeof content !== "string" ? "Tooltip" : undefined,
2309
+ closeDelay: 750,
2310
+ closeOnClick: true,
2311
+ closeOnEsc: true,
2312
+ closeOnMouseDown: true,
2313
+ hasArrow: true,
2314
+ isDisabled: isDisabled,
2315
+ label: content,
2316
+ openDelay: 500,
2317
+ placement: "top",
2318
+ ref: ref,
2319
+ __css: styles
2320
+ }, rest), newChildren);
2321
+ }));
2322
+
2323
+ // Utility functions to use throughout the codebase
2324
+ /**
2325
+ * range
2326
+ * Get an array of values from `start` to `stop` - 1 with an optional
2327
+ * `step` between values.
2328
+ */
2329
+ var range = function range(start, stop, step) {
2330
+ if (step === void 0) {
2331
+ step = 1;
2332
+ }
2333
+ if (!start) {
2334
+ return [];
2335
+ }
2336
+ return Array(Math.ceil((stop - start) / step)).fill(start).map(function (x, y) {
2337
+ return x + y * step;
2338
+ });
2339
+ };
2340
+ /**
2341
+ * Get aria-* attributes for input components. This sets the `aria-label` and
2342
+ * `aria-describedby` attributes, based on the label and footnote values.
2343
+ */
2344
+ var getAriaAttrs = function getAriaAttrs(_ref) {
2345
+ var footnote = _ref.footnote,
2346
+ id = _ref.id,
2347
+ labelText = _ref.labelText,
2348
+ name = _ref.name,
2349
+ showLabel = _ref.showLabel;
2350
+ var ariaAttributes = {};
2351
+ if (!showLabel) {
2352
+ if (typeof labelText !== "string") {
2353
+ console.warn("NYPL Reservoir " + name + ": `labelText` must be a string when `showLabel` is false.");
2354
+ }
2355
+ ariaAttributes["aria-label"] = labelText && footnote ? labelText + " - " + footnote : labelText;
2356
+ } else if (footnote) {
2357
+ ariaAttributes["aria-describedby"] = id + "-helperText";
2358
+ }
2359
+ return ariaAttributes;
2360
+ };
2361
+ /** Convert a hex color value to an rgb or rgba value */
2362
+ var hexToRGB = function hexToRGB(hex, alpha) {
2363
+ var shortHex = hex.length === 4;
2364
+ var rSlice = shortHex ? hex.slice(1, 2).repeat(2) : hex.slice(1, 3),
2365
+ gSlice = shortHex ? hex.slice(2, 3).repeat(2) : hex.slice(3, 5),
2366
+ bSlice = shortHex ? hex.slice(3, 4).repeat(2) : hex.slice(5, 7);
2367
+ var r = parseInt(rSlice, 16),
2368
+ g = parseInt(gSlice, 16),
2369
+ b = parseInt(bSlice, 16);
2370
+ var rgb = r + ", " + g + ", " + b;
2371
+ return alpha ? "rgba(" + rgb + "," + alpha + ")" : "rgb(" + rgb + ")";
2372
+ };
2373
+ /** This method will truncate text by centain length. Default length is 60. */
2374
+ var truncateText = function truncateText(text, truncateTextLength) {
2375
+ if (truncateTextLength === void 0) {
2376
+ truncateTextLength = 60;
2377
+ }
2378
+ var subString = text.substr(0, truncateTextLength - 1);
2379
+ return subString.substr(0, subString.lastIndexOf(" ")) + "...";
2380
+ };
2381
+
2382
+ var _excluded$10 = ["breadcrumbsData", "breadcrumbsType", "className", "id"];
2383
+ var breadcrumbTextLength = 40;
2384
+ // Truncate breadcrumb text if beyond 40 characters then add ellipsis at the end.
2385
+ var breadcrumbText = function breadcrumbText(text, id) {
2386
+ if (text.length <= breadcrumbTextLength) {
2387
+ return text;
2388
+ }
2389
+ return React__default.createElement(Tooltip, {
2390
+ content: text,
2391
+ id: "breadcrumb-" + id + "-tooltip"
2392
+ }, truncateText(text, breadcrumbTextLength));
2393
+ };
2167
2394
  var getElementsFromData$1 = function getElementsFromData(data, breadcrumbsID) {
2168
2395
  if (!(data != null && data.length)) {
2169
2396
  return {};
@@ -2183,7 +2410,7 @@ var getElementsFromData$1 = function getElementsFromData(data, breadcrumbsID) {
2183
2410
  type: "breadcrumbs"
2184
2411
  }), React__default.createElement("span", {
2185
2412
  className: "breadcrumb-label"
2186
- }, breadcrumbData.text)));
2413
+ }, breadcrumbText(breadcrumbData.text, breadcrumbsID))));
2187
2414
  });
2188
2415
  return breadcrumbItems;
2189
2416
  };
@@ -2193,7 +2420,7 @@ var Breadcrumbs = /*#__PURE__*/chakra( /*#__PURE__*/forwardRef(function (props,
2193
2420
  breadcrumbsType = _props$breadcrumbsTyp === void 0 ? "whatsOn" : _props$breadcrumbsTyp,
2194
2421
  className = props.className,
2195
2422
  id = props.id,
2196
- rest = _objectWithoutPropertiesLoose(props, _excluded$_);
2423
+ rest = _objectWithoutPropertiesLoose(props, _excluded$10);
2197
2424
  if (!breadcrumbsData || breadcrumbsData.length === 0) {
2198
2425
  throw new Error("NYPL Reservoir Breadcrumbs: No data was passed to the `breadcrumbsData` prop.");
2199
2426
  }
@@ -2250,7 +2477,7 @@ var useNYPLBreakpoints = function useNYPLBreakpoints() {
2250
2477
  };
2251
2478
  };
2252
2479
 
2253
- var _excluded$$ = ["buttonWidth", "children", "className", "id", "isDisabled", "layout"];
2480
+ var _excluded$11 = ["buttonWidth", "children", "className", "id", "isDisabled", "layout"];
2254
2481
  /**
2255
2482
  * A simple wrapper to group `Button` components together. The layout can be set
2256
2483
  * to row or column and the width of internal `Button` components can be set to
@@ -2267,7 +2494,7 @@ var ButtonGroup = /*#__PURE__*/chakra( /*#__PURE__*/forwardRef(function (props,
2267
2494
  isDisabled = _props$isDisabled === void 0 ? false : _props$isDisabled,
2268
2495
  _props$layout = props.layout,
2269
2496
  layout = _props$layout === void 0 ? "row" : _props$layout,
2270
- rest = _objectWithoutPropertiesLoose(props, _excluded$$);
2497
+ rest = _objectWithoutPropertiesLoose(props, _excluded$11);
2271
2498
  var newChildren = [];
2272
2499
  var _useNYPLBreakpoints = useNYPLBreakpoints(),
2273
2500
  isLargerThanMobile = _useNYPLBreakpoints.isLargerThanMobile;
@@ -2305,127 +2532,7 @@ var ButtonGroup = /*#__PURE__*/chakra( /*#__PURE__*/forwardRef(function (props,
2305
2532
  }, rest), newChildren);
2306
2533
  }));
2307
2534
 
2308
- var _excluded$10 = ["additionalWrapperStyles", "className", "children", "aspectRatio", "size"],
2309
- _excluded2 = ["additionalFigureStyles", "additionalImageStyles", "additionalWrapperStyles", "alt", "aspectRatio", "caption", "className", "component", "credit", "imageType", "isLazy", "size", "src"];
2310
- var ImageWrapper = /*#__PURE__*/chakra(function (props) {
2311
- var _props$additionalWrap = props.additionalWrapperStyles,
2312
- additionalWrapperStyles = _props$additionalWrap === void 0 ? {} : _props$additionalWrap,
2313
- _props$className = props.className,
2314
- className = _props$className === void 0 ? "" : _props$className,
2315
- children = props.children,
2316
- _props$aspectRatio = props.aspectRatio,
2317
- aspectRatio = _props$aspectRatio === void 0 ? "original" : _props$aspectRatio,
2318
- _props$size = props.size,
2319
- size = _props$size === void 0 ? "default" : _props$size,
2320
- rest = _objectWithoutPropertiesLoose(props, _excluded$10);
2321
- var styles = useMultiStyleConfig("CustomImageWrapper", {
2322
- ratio: aspectRatio,
2323
- size: size
2324
- });
2325
- return React__default.createElement(Box, Object.assign({
2326
- className: "the-wrap " + className,
2327
- __css: _extends({}, styles, additionalWrapperStyles)
2328
- }, rest), React__default.createElement(Box, {
2329
- className: "the-crop",
2330
- __css: styles.crop
2331
- }, children));
2332
- });
2333
- var Image = /*#__PURE__*/chakra( /*#__PURE__*/forwardRef(function (props, ref) {
2334
- var _props$additionalFigu = props.additionalFigureStyles,
2335
- additionalFigureStyles = _props$additionalFigu === void 0 ? {} : _props$additionalFigu,
2336
- _props$additionalImag = props.additionalImageStyles,
2337
- additionalImageStyles = _props$additionalImag === void 0 ? {} : _props$additionalImag,
2338
- _props$additionalWrap2 = props.additionalWrapperStyles,
2339
- additionalWrapperStyles = _props$additionalWrap2 === void 0 ? {} : _props$additionalWrap2,
2340
- alt = props.alt,
2341
- _props$aspectRatio2 = props.aspectRatio,
2342
- aspectRatio = _props$aspectRatio2 === void 0 ? "original" : _props$aspectRatio2,
2343
- caption = props.caption,
2344
- _props$className2 = props.className,
2345
- className = _props$className2 === void 0 ? "" : _props$className2,
2346
- component = props.component,
2347
- credit = props.credit,
2348
- _props$imageType = props.imageType,
2349
- imageType = _props$imageType === void 0 ? "default" : _props$imageType,
2350
- _props$isLazy = props.isLazy,
2351
- isLazy = _props$isLazy === void 0 ? false : _props$isLazy,
2352
- _props$size2 = props.size,
2353
- size = _props$size2 === void 0 ? "default" : _props$size2,
2354
- src = props.src,
2355
- rest = _objectWithoutPropertiesLoose(props, _excluded2);
2356
- // Check if the native browser lazy loading is supported.
2357
- var supportsLazyLoading = useNativeLazyLoading();
2358
- // If it is (mostly Chromium-based browsers), then skip creating
2359
- // the IntersectionObserver object.
2360
- var _useInView = useInView({
2361
- triggerOnce: true,
2362
- skip: supportsLazyLoading
2363
- }),
2364
- inViewRef = _useInView[0],
2365
- inView = _useInView[1];
2366
- var useImageWrapper = aspectRatio !== "original";
2367
- var styles = useMultiStyleConfig("CustomImage", {
2368
- variant: imageType,
2369
- size: size
2370
- });
2371
- var imageComponent = null;
2372
- var lazyRef = undefined;
2373
- var finalRefs = undefined;
2374
- var srcProp = isLazy ? {} : {
2375
- src: src
2376
- };
2377
- if (alt && alt.length > 300) {
2378
- throw new Error("NYPL Reservoir Image: Alt text must be less than 300 characters.");
2379
- }
2380
- // For lazying loading images, the initial `src` value is empty. Once
2381
- // the image is loaded, the `src` prop is set and passed to the image
2382
- // element so that it can load. This also lets it load with a gray
2383
- // background placeholder. We also only want to add the `inViewRef` ref
2384
- // when `isLazy` is true to keep track of when the image is visible.
2385
- if (isLazy && (inView || supportsLazyLoading)) {
2386
- lazyRef = inViewRef;
2387
- srcProp = {
2388
- src: src
2389
- };
2390
- }
2391
- // We want to add the `ref` from the `forwardRef` function regardless of
2392
- // whether the image is lazy or not. This is meant for usage with other
2393
- // components such as a `Tooltip`. The `inViewRef` is only added when
2394
- // the `isLazy` prop is true.
2395
- finalRefs = useMergeRefs(lazyRef, ref);
2396
- imageComponent = component ? component : React__default.createElement(Box, Object.assign({
2397
- as: "img",
2398
- alt: alt,
2399
- loading: isLazy ? "lazy" : undefined
2400
- }, srcProp, {
2401
- __css: _extends({}, styles.img, additionalImageStyles)
2402
- }, rest));
2403
- var finalImage = useImageWrapper ? React__default.createElement(ImageWrapper, Object.assign({
2404
- additionalWrapperStyles: additionalWrapperStyles,
2405
- aspectRatio: aspectRatio,
2406
- className: className,
2407
- size: size
2408
- }, caption || credit ? {} : rest), imageComponent) : imageComponent;
2409
- return React__default.createElement(Box, {
2410
- ref: finalRefs
2411
- }, caption || credit ? React__default.createElement(Box, {
2412
- as: "figure",
2413
- __css: _extends({}, styles.figure, additionalFigureStyles)
2414
- }, finalImage, React__default.createElement(Box, {
2415
- as: "figcaption",
2416
- __css: styles.figcaption
2417
- }, caption && React__default.createElement(Box, {
2418
- __css: styles.captionWrappers
2419
- }, caption), credit && React__default.createElement(Box, {
2420
- __css: styles.captionWrappers
2421
- }, credit))) : finalImage);
2422
- }), {
2423
- shouldForwardProp: function shouldForwardProp() {
2424
- return true;
2425
- }
2426
- });
2427
-
2428
- var _excluded$11 = ["children"],
2535
+ var _excluded$12 = ["children"],
2429
2536
  _excluded2$1 = ["bottomBorder", "children", "isCentered", "layout", "topBorder"],
2430
2537
  _excluded3 = ["className", "children", "id", "mainActionLink", "styles"],
2431
2538
  _excluded4 = ["backgroundColor", "children", "className", "foregroundColor", "id", "imageProps", "isAlignedRightActions", "isBordered", "isCentered", "layout", "mainActionLink"];
@@ -2469,7 +2576,7 @@ var CardHeading = /*#__PURE__*/chakra(Heading);
2469
2576
  // CardContent child-component
2470
2577
  var CardContent = /*#__PURE__*/chakra(function (props) {
2471
2578
  var children = props.children,
2472
- rest = _objectWithoutPropertiesLoose(props, _excluded$11);
2579
+ rest = _objectWithoutPropertiesLoose(props, _excluded$12);
2473
2580
  var styles = useStyleConfig("CardContent");
2474
2581
  return children ? React__default.createElement(Box, Object.assign({
2475
2582
  __css: styles
@@ -2642,64 +2749,13 @@ var Card = /*#__PURE__*/chakra( /*#__PURE__*/forwardRef(function (props, ref) {
2642
2749
  }, cardRightContents) : null);
2643
2750
  }));
2644
2751
 
2645
- // Utility functions to use throughout the codebase
2646
- /**
2647
- * range
2648
- * Get an array of values from `start` to `stop` - 1 with an optional
2649
- * `step` between values.
2650
- */
2651
- var range = function range(start, stop, step) {
2652
- if (step === void 0) {
2653
- step = 1;
2654
- }
2655
- if (!start) {
2656
- return [];
2657
- }
2658
- return Array(Math.ceil((stop - start) / step)).fill(start).map(function (x, y) {
2659
- return x + y * step;
2660
- });
2661
- };
2662
- /**
2663
- * Get aria-* attributes for input components. This sets the `aria-label` and
2664
- * `aria-describedby` attributes, based on the label and footnote values.
2665
- */
2666
- var getAriaAttrs = function getAriaAttrs(_ref) {
2667
- var footnote = _ref.footnote,
2668
- id = _ref.id,
2669
- labelText = _ref.labelText,
2670
- name = _ref.name,
2671
- showLabel = _ref.showLabel;
2672
- var ariaAttributes = {};
2673
- if (!showLabel) {
2674
- if (typeof labelText !== "string") {
2675
- console.warn("NYPL Reservoir " + name + ": `labelText` must be a string when `showLabel` is false.");
2676
- }
2677
- ariaAttributes["aria-label"] = labelText && footnote ? labelText + " - " + footnote : labelText;
2678
- } else if (footnote) {
2679
- ariaAttributes["aria-describedby"] = id + "-helperText";
2680
- }
2681
- return ariaAttributes;
2682
- };
2683
- /** Convert a hex color value to an rgb or rgba value */
2684
- var hexToRGB = function hexToRGB(hex, alpha) {
2685
- var shortHex = hex.length === 4;
2686
- var rSlice = shortHex ? hex.slice(1, 2).repeat(2) : hex.slice(1, 3),
2687
- gSlice = shortHex ? hex.slice(2, 3).repeat(2) : hex.slice(3, 5),
2688
- bSlice = shortHex ? hex.slice(3, 4).repeat(2) : hex.slice(5, 7);
2689
- var r = parseInt(rSlice, 16),
2690
- g = parseInt(gSlice, 16),
2691
- b = parseInt(bSlice, 16);
2692
- var rgb = r + ", " + g + ", " + b;
2693
- return alpha ? "rgba(" + rgb + "," + alpha + ")" : "rgb(" + rgb + ")";
2694
- };
2695
-
2696
- var _excluded$12 = ["isIndeterminate", "isChecked"],
2752
+ var _excluded$13 = ["isIndeterminate", "isChecked"],
2697
2753
  _excluded2$2 = ["className", "invalidText", "helperText", "id", "isChecked", "isDisabled", "isIndeterminate", "isInvalid", "isRequired", "labelText", "name", "onChange", "showHelperInvalidText", "showLabel", "value"];
2698
2754
  function CheckboxIcon(props) {
2699
2755
  // We don't need the `isIndeterminate` or `isChecked` props but it
2700
2756
  // causes rendering issues on the SVG element, so we remove them
2701
2757
  // before passing all the props to the `Icon` component.
2702
- var rest = _objectWithoutPropertiesLoose(props, _excluded$12);
2758
+ var rest = _objectWithoutPropertiesLoose(props, _excluded$13);
2703
2759
  return React__default.createElement(Icon$2, Object.assign({
2704
2760
  viewBox: "0 0 24 24"
2705
2761
  }, rest), React__default.createElement("path", {
@@ -2773,7 +2829,7 @@ var Checkbox = /*#__PURE__*/chakra( /*#__PURE__*/forwardRef(function (props, ref
2773
2829
  }, ariaAttributes), showLabel && labelText));
2774
2830
  }));
2775
2831
 
2776
- var _excluded$13 = ["children", "className", "id", "isLegendHidden", "isRequired", "legendText", "showRequiredLabel"];
2832
+ var _excluded$14 = ["children", "className", "id", "isLegendHidden", "isRequired", "legendText", "showRequiredLabel"];
2777
2833
  /**
2778
2834
  * A wrapper component that renders a `fieldset` element along with a `legend`
2779
2835
  * element as its first child. Commonly used to wrap form components.
@@ -2789,7 +2845,7 @@ var Fieldset = /*#__PURE__*/chakra( /*#__PURE__*/forwardRef(function (_ref, ref)
2789
2845
  legendText = _ref.legendText,
2790
2846
  _ref$showRequiredLabe = _ref.showRequiredLabel,
2791
2847
  showRequiredLabel = _ref$showRequiredLabe === void 0 ? true : _ref$showRequiredLabe,
2792
- rest = _objectWithoutPropertiesLoose(_ref, _excluded$13);
2848
+ rest = _objectWithoutPropertiesLoose(_ref, _excluded$14);
2793
2849
  var styles = useMultiStyleConfig("Fieldset", {
2794
2850
  isLegendHidden: isLegendHidden
2795
2851
  });
@@ -2953,7 +3009,7 @@ var reservoirSpacingTokens = {
2953
3009
  };
2954
3010
  var spacing = /*#__PURE__*/_extends({}, chakraSpacingTokens, reservoirSpacingTokens);
2955
3011
 
2956
- var _excluded$14 = ["children", "defaultValue", "helperText", "id", "invalidText", "isDisabled", "isFullWidth", "isInvalid", "isRequired", "labelText", "layout", "name", "onChange", "showHelperInvalidText", "showLabel", "showRequiredLabel", "value"];
3012
+ var _excluded$15 = ["children", "defaultValue", "helperText", "id", "invalidText", "isDisabled", "isFullWidth", "isInvalid", "isRequired", "labelText", "layout", "name", "onChange", "showHelperInvalidText", "showLabel", "showRequiredLabel", "value"];
2957
3013
  /**
2958
3014
  * Wrapper component to wrap `Checkbox` components. Can be displayed in a
2959
3015
  * column or in a row. The `CheckboxGroup` component renders all the necessary
@@ -2987,7 +3043,7 @@ var CheckboxGroup = /*#__PURE__*/chakra( /*#__PURE__*/forwardRef(function (props
2987
3043
  _props$showRequiredLa = props.showRequiredLabel,
2988
3044
  showRequiredLabel = _props$showRequiredLa === void 0 ? true : _props$showRequiredLa,
2989
3045
  value = props.value,
2990
- rest = _objectWithoutPropertiesLoose(props, _excluded$14);
3046
+ rest = _objectWithoutPropertiesLoose(props, _excluded$15);
2991
3047
  var footnote = isInvalid ? invalidText : helperText;
2992
3048
  var newChildren = [];
2993
3049
  var spacingProp = layout === "column" ? spacing.input.group["default"].vstack : spacing.input.group["default"].hstack;
@@ -3039,9 +3095,10 @@ var CheckboxGroup = /*#__PURE__*/chakra( /*#__PURE__*/forwardRef(function (props
3039
3095
  direction: [layout],
3040
3096
  spacing: spacingProp,
3041
3097
  ref: ref
3042
- }, newChildren)), footnote && showHelperInvalidText && React__default.createElement(HelperErrorText, {
3098
+ }, newChildren)), React__default.createElement(HelperErrorText, {
3043
3099
  id: id + "-helperErrorText",
3044
3100
  isInvalid: isInvalid,
3101
+ isRenderedText: showHelperInvalidText,
3045
3102
  text: footnote,
3046
3103
  __css: styles.helperErrorText
3047
3104
  }));
@@ -3076,7 +3133,7 @@ function useWindowSize() {
3076
3133
  return windowSize;
3077
3134
  }
3078
3135
 
3079
- var _excluded$15 = ["className", "columnHeaders", "columnHeadersBackgroundColor", "columnHeadersTextColor", "id", "showRowDividers", "tableData", "titleText", "useRowHeaders"];
3136
+ var _excluded$16 = ["className", "columnHeaders", "columnHeadersBackgroundColor", "columnHeadersTextColor", "id", "showRowDividers", "tableData", "titleText", "useRowHeaders"];
3080
3137
  /**
3081
3138
  * Basic `Table` component used to organize and display tabular data in
3082
3139
  * rows and columns.
@@ -3094,7 +3151,7 @@ var Table = /*#__PURE__*/chakra( /*#__PURE__*/forwardRef(function (props, ref) {
3094
3151
  titleText = props.titleText,
3095
3152
  _props$useRowHeaders = props.useRowHeaders,
3096
3153
  useRowHeaders = _props$useRowHeaders === void 0 ? false : _props$useRowHeaders,
3097
- rest = _objectWithoutPropertiesLoose(props, _excluded$15);
3154
+ rest = _objectWithoutPropertiesLoose(props, _excluded$16);
3098
3155
  var customColors = {};
3099
3156
  columnHeadersBackgroundColor && (customColors["backgroundColor"] = columnHeadersBackgroundColor);
3100
3157
  columnHeadersTextColor && (customColors["color"] = columnHeadersTextColor);
@@ -3429,7 +3486,7 @@ var ColorCard = function ColorCard(props) {
3429
3486
  })));
3430
3487
  };
3431
3488
 
3432
- var _excluded$16 = ["children", "columns", "className", "gap", "id"];
3489
+ var _excluded$17 = ["children", "columns", "className", "gap", "id"];
3433
3490
  var SimpleGrid = /*#__PURE__*/chakra( /*#__PURE__*/forwardRef(function (props, ref) {
3434
3491
  var children = props.children,
3435
3492
  columns = props.columns,
@@ -3437,7 +3494,7 @@ var SimpleGrid = /*#__PURE__*/chakra( /*#__PURE__*/forwardRef(function (props, r
3437
3494
  _props$gap = props.gap,
3438
3495
  gap = _props$gap === void 0 ? "grid.l" : _props$gap,
3439
3496
  id = props.id,
3440
- rest = _objectWithoutPropertiesLoose(props, _excluded$16);
3497
+ rest = _objectWithoutPropertiesLoose(props, _excluded$17);
3441
3498
  var responsiveCols = columns ? {
3442
3499
  base: 1,
3443
3500
  md: columns
@@ -3459,7 +3516,7 @@ var SimpleGrid = /*#__PURE__*/chakra( /*#__PURE__*/forwardRef(function (props, r
3459
3516
  }
3460
3517
  });
3461
3518
 
3462
- var _excluded$17 = ["children", "className", "gap", "id"],
3519
+ var _excluded$18 = ["children", "className", "gap", "id"],
3463
3520
  _excluded2$3 = ["children", "className", "gap", "id"],
3464
3521
  _excluded3$1 = ["action", "children", "className", "gap", "id", "method", "onSubmit"];
3465
3522
  /** FormRow child-component */
@@ -3468,7 +3525,7 @@ var FormRow = /*#__PURE__*/chakra(function (props) {
3468
3525
  className = props.className,
3469
3526
  gap = props.gap,
3470
3527
  id = props.id,
3471
- rest = _objectWithoutPropertiesLoose(props, _excluded$17);
3528
+ rest = _objectWithoutPropertiesLoose(props, _excluded$18);
3472
3529
  var count = React__default.Children.count(children);
3473
3530
  var alteredChildren = React__default.Children.map(children, function (child, i) {
3474
3531
  if (!child) return null;
@@ -3542,7 +3599,7 @@ var Form = /*#__PURE__*/chakra( /*#__PURE__*/forwardRef(function (props, ref) {
3542
3599
  }
3543
3600
  });
3544
3601
 
3545
- var _excluded$18 = ["children", "className", "htmlFor", "id", "isInlined", "isRequired", "requiredLabelText"];
3602
+ var _excluded$19 = ["children", "className", "htmlFor", "id", "isInlined", "isRequired", "requiredLabelText"];
3546
3603
  /**
3547
3604
  * A label for form inputs. It should never be used alone.
3548
3605
  */
@@ -3556,7 +3613,7 @@ var Label = /*#__PURE__*/chakra( /*#__PURE__*/forwardRef(function (props, ref) {
3556
3613
  _props$isRequired = props.isRequired,
3557
3614
  isRequired = _props$isRequired === void 0 ? false : _props$isRequired,
3558
3615
  requiredLabelText = props.requiredLabelText,
3559
- rest = _objectWithoutPropertiesLoose(props, _excluded$18);
3616
+ rest = _objectWithoutPropertiesLoose(props, _excluded$19);
3560
3617
  var styles = useStyleConfig("Label", {
3561
3618
  isInlined: isInlined
3562
3619
  });
@@ -3573,7 +3630,7 @@ var Label = /*#__PURE__*/chakra( /*#__PURE__*/forwardRef(function (props, ref) {
3573
3630
  }, rest), children, isRequired && React__default.createElement("span", null, requiredLabelText ? " (" + requiredLabelText + ")" : " (Required)"));
3574
3631
  }));
3575
3632
 
3576
- 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"];
3633
+ var _excluded$1a = ["className", "defaultValue", "helperText", "id", "invalidText", "isClearable", "isClearableCallback", "isDisabled", "isInvalid", "isRequired", "labelText", "max", "maxLength", "min", "name", "onChange", "onClick", "onFocus", "pattern", "placeholder", "showHelperInvalidText", "showLabel", "showRequiredLabel", "requiredLabelText", "step", "textInputType", "type", "value"];
3577
3634
  // Only used internally.
3578
3635
  var TextInputFormats = {
3579
3636
  email: "jdoe@domain.com",
@@ -3612,6 +3669,7 @@ var TextInput = /*#__PURE__*/chakra( /*#__PURE__*/forwardRef(function (props, re
3612
3669
  onChange = props.onChange,
3613
3670
  onClick = props.onClick,
3614
3671
  onFocus = props.onFocus,
3672
+ pattern = props.pattern,
3615
3673
  placeholder = props.placeholder,
3616
3674
  _props$showHelperInva = props.showHelperInvalidText,
3617
3675
  showHelperInvalidText = _props$showHelperInva === void 0 ? true : _props$showHelperInva,
@@ -3627,7 +3685,7 @@ var TextInput = /*#__PURE__*/chakra( /*#__PURE__*/forwardRef(function (props, re
3627
3685
  _props$type = props.type,
3628
3686
  type = _props$type === void 0 ? "text" : _props$type,
3629
3687
  value = props.value,
3630
- rest = _objectWithoutPropertiesLoose(props, _excluded$19);
3688
+ rest = _objectWithoutPropertiesLoose(props, _excluded$1a);
3631
3689
  var _useState = useState(value || ""),
3632
3690
  finalValue = _useState[0],
3633
3691
  setFinalValue = _useState[1];
@@ -3705,6 +3763,7 @@ var TextInput = /*#__PURE__*/chakra( /*#__PURE__*/forwardRef(function (props, re
3705
3763
  onChange: internalOnChange,
3706
3764
  onClick: onClick,
3707
3765
  onFocus: onFocus,
3766
+ pattern: pattern,
3708
3767
  placeholder: placeholder,
3709
3768
  ref: finalRef,
3710
3769
  // The `step` attribute is useful for the number type.
@@ -3756,7 +3815,7 @@ var TextInput = /*#__PURE__*/chakra( /*#__PURE__*/forwardRef(function (props, re
3756
3815
  }, labelText), fieldOutput, !isHidden && finalValue.length > 0 && clearButtonOutput);
3757
3816
  }));
3758
3817
 
3759
- var _excluded$1a = ["dsRef", "helperText", "id", "invalidText", "isDisabled", "isInvalid", "isRequired", "labelText", "name", "onChange", "onClick", "showLabel", "showHelperInvalidText", "showRequiredLabel", "value"],
3818
+ var _excluded$1b = ["dsRef", "helperText", "id", "invalidText", "isDisabled", "isInvalid", "isRequired", "labelText", "name", "onChange", "onClick", "showLabel", "showHelperInvalidText", "showRequiredLabel", "value"],
3760
3819
  _excluded2$4 = ["children", "className", "id", "isDateRange", "isRequired", "labelText", "showLabel", "showRequiredLabel"],
3761
3820
  _excluded3$2 = ["className", "dateFormat", "dateType", "helperText", "helperTextFrom", "helperTextTo", "id", "initialDate", "initialDateTo", "invalidText", "isDateRange", "isDisabled", "isInvalid", "isRequired", "labelText", "maxDate", "minDate", "nameFrom", "nameTo", "onChange", "refTo", "showHelperInvalidText", "showLabel", "showRequiredLabel"];
3762
3821
  /**
@@ -3783,7 +3842,7 @@ var CustomTextInput = /*#__PURE__*/forwardRef(function (_ref, ref) {
3783
3842
  showHelperInvalidText = _ref.showHelperInvalidText,
3784
3843
  showRequiredLabel = _ref.showRequiredLabel,
3785
3844
  value = _ref.value,
3786
- rest = _objectWithoutPropertiesLoose(_ref, _excluded$1a);
3845
+ rest = _objectWithoutPropertiesLoose(_ref, _excluded$1b);
3787
3846
  // The `react-datepicker` passes `disabled=false` to its custom
3788
3847
  // input element. We don't need it, so remove it.
3789
3848
  delete rest.disabled;
@@ -4034,9 +4093,10 @@ var DatePicker = /*#__PURE__*/chakra( /*#__PURE__*/forwardRef(function (props, r
4034
4093
  id: id + "-start-form"
4035
4094
  }, startDatePickerElement), endDatePickerElement && React__default.createElement(FormField, {
4036
4095
  id: id + "-end-form"
4037
- }, endDatePickerElement)), helperText && isDateRange && showHelperInvalidText && React__default.createElement(HelperErrorText, {
4096
+ }, endDatePickerElement)), React__default.createElement(HelperErrorText, {
4038
4097
  id: id + "-helper-text",
4039
4098
  isInvalid: false,
4099
+ isRenderedText: isDateRange && showHelperInvalidText,
4040
4100
  text: helperText
4041
4101
  }));
4042
4102
  }), {
@@ -5919,7 +5979,6 @@ var headerBlue = "#1B7FA7";
5919
5979
  var headerDarkBlue = "#135772";
5920
5980
  var headerFocusColor = "#0F465C";
5921
5981
  var headerLightBlue = "#78CCED";
5922
- var headerLightBlueIcon = "#1DA1D4";
5923
5982
  var headerRed = "#ED1C24";
5924
5983
  var headerRedDonate = "#E32B31";
5925
5984
  var headerYellow = "#FEE34A";
@@ -6022,7 +6081,7 @@ var HeaderLogin = {
6022
6081
  },
6023
6082
  minHeight: {
6024
6083
  base: "215px",
6025
- md: "225px"
6084
+ md: "175px"
6026
6085
  },
6027
6086
  minWidth: {
6028
6087
  base: "100%",
@@ -6042,7 +6101,7 @@ var HeaderLogin = {
6042
6101
  marginBottom: "0",
6043
6102
  marginTop: {
6044
6103
  base: !patronName ? "60px" : "0",
6045
- md: !patronName ? "25px" : "0"
6104
+ md: !patronName ? "10px" : "0"
6046
6105
  },
6047
6106
  width: "100%",
6048
6107
  li: {
@@ -6092,7 +6151,7 @@ var HeaderLogin = {
6092
6151
  fontSize: "14px",
6093
6152
  fontWeight: "medium",
6094
6153
  justifyContent: {
6095
- md: "flex-start"
6154
+ md: "center"
6096
6155
  },
6097
6156
  lineHeight: {
6098
6157
  base: "normal",
@@ -6109,16 +6168,9 @@ var HeaderLogin = {
6109
6168
  base: "10px",
6110
6169
  md: "10px 20px"
6111
6170
  },
6112
- textAlign: {
6113
- base: "center",
6114
- md: "left"
6115
- },
6116
6171
  textTransform: "uppercase",
6117
6172
  whiteSpace: "normal",
6118
- width: {
6119
- base: "100%",
6120
- md: "fit-content"
6121
- },
6173
+ width: "100%",
6122
6174
  svg: {
6123
6175
  marginRight: {
6124
6176
  base: "10px",
@@ -6437,7 +6489,7 @@ var HeaderMobileNavButton = {
6437
6489
  };
6438
6490
 
6439
6491
  var HeaderSearchForm = {
6440
- parts: ["desktopSearchBtn", "form", "mobileSearchIcon", "radio", "textInput"],
6492
+ parts: ["searchBtn", "form", "radio", "textInput"],
6441
6493
  baseStyle: {
6442
6494
  color: "ui.white",
6443
6495
  backgroundColor: headerBlue,
@@ -6464,6 +6516,7 @@ var HeaderSearchForm = {
6464
6516
  },
6465
6517
  whiteSpace: "initial",
6466
6518
  "> div": {
6519
+ margin: "20px 15px 0",
6467
6520
  marginLeft: {
6468
6521
  md: "m",
6469
6522
  lg: "140px"
@@ -6473,16 +6526,17 @@ var HeaderSearchForm = {
6473
6526
  }
6474
6527
  }
6475
6528
  },
6476
- fieldset: {
6529
+ "#radio-group-search-type": {
6477
6530
  margin: {
6478
- base: "20px 15px 0",
6531
+ base: "0 20px 20px",
6479
6532
  md: "0"
6480
6533
  }
6481
6534
  },
6482
6535
  textInput: {
6483
6536
  label: {
6484
6537
  fontSize: {
6485
- md: "18px"
6538
+ base: "heading.callout",
6539
+ md: "heading.secondary"
6486
6540
  }
6487
6541
  },
6488
6542
  input: {
@@ -6508,27 +6562,26 @@ var HeaderSearchForm = {
6508
6562
  _hover: headerFocus
6509
6563
  }
6510
6564
  },
6511
- mobileSearchIcon: {
6512
- display: {
6513
- md: "none"
6514
- },
6515
- fill: headerLightBlueIcon + " !important",
6516
- left: "20px",
6517
- position: "absolute",
6518
- top: "45px"
6519
- },
6520
- desktopSearchBtn: {
6565
+ searchBtn: {
6521
6566
  alignSelf: "end",
6522
6567
  backgroundColor: "transparent",
6523
6568
  borderColor: "ui.white",
6524
6569
  borderRadius: "100px",
6525
6570
  borderWidth: "2px",
6526
- height: "75px",
6527
- maxHeight: "75px",
6528
- width: "75px",
6571
+ height: {
6572
+ base: "65px",
6573
+ md: "60px"
6574
+ },
6575
+ marginTop: "40px",
6576
+ marginEnd: "0",
6577
+ maxHeight: "65px",
6529
6578
  svg: {
6530
6579
  marginTop: "xs"
6531
6580
  },
6581
+ width: {
6582
+ base: "65px",
6583
+ md: "60px"
6584
+ },
6532
6585
  _focus: /*#__PURE__*/_extends({}, headerFocus, {
6533
6586
  borderRadius: "100px"
6534
6587
  }),
@@ -6554,7 +6607,6 @@ var HeaderSearchForm = {
6554
6607
  },
6555
6608
  // Specifically target the radio labels.
6556
6609
  ".chakra-radio__label": {
6557
- fontSize: "18px",
6558
6610
  fontWeight: "medium"
6559
6611
  },
6560
6612
  mobileBtns: {
@@ -9108,7 +9160,7 @@ var Toggle$1 = {
9108
9160
 
9109
9161
  var _baseStyle;
9110
9162
  var $bg = /*#__PURE__*/cssVar("tooltip-bg");
9111
- var Tooltip = {
9163
+ var Tooltip$1 = {
9112
9164
  baseStyle: (_baseStyle = {}, _baseStyle[$bg.variable] = "colors.ui.gray.xx-dark", _baseStyle.borderRadius = "4px", _baseStyle.boxShadow = "none", _baseStyle.color = "ui.white", _baseStyle.fontSize = "text.tag", _baseStyle.marginBottom = "xxs", _baseStyle.maxWidth = "240px", _baseStyle.px = "s", _baseStyle.py = "xs", _baseStyle)
9113
9165
  };
9114
9166
 
@@ -9248,7 +9300,7 @@ var theme = /*#__PURE__*/extendTheme( /*#__PURE__*/_extends({
9248
9300
  Text: Text$1,
9249
9301
  TextInput: TextInput$1
9250
9302
  }, Toggle$1, {
9251
- Tooltip: Tooltip,
9303
+ Tooltip: Tooltip$1,
9252
9304
  VideoPlayer: VideoPlayer
9253
9305
  }),
9254
9306
  config: {
@@ -9273,7 +9325,7 @@ var DSProvider = function DSProvider(_ref) {
9273
9325
  }, children);
9274
9326
  };
9275
9327
 
9276
- var _excluded$1b = ["children", "icon", "id", "isCentered", "notificationType"],
9328
+ var _excluded$1c = ["children", "icon", "id", "isCentered", "notificationType"],
9277
9329
  _excluded2$5 = ["alignText", "children", "icon", "notificationType"],
9278
9330
  _excluded3$3 = ["ariaLabel", "className", "dismissible", "icon", "id", "isCentered", "noMargin", "notificationContent", "notificationHeading", "notificationType", "showIcon"];
9279
9331
  /**
@@ -9285,7 +9337,7 @@ var NotificationHeading$1 = /*#__PURE__*/chakra(function (props) {
9285
9337
  id = props.id,
9286
9338
  isCentered = props.isCentered,
9287
9339
  notificationType = props.notificationType,
9288
- rest = _objectWithoutPropertiesLoose(props, _excluded$1b);
9340
+ rest = _objectWithoutPropertiesLoose(props, _excluded$1c);
9289
9341
  var styles = useMultiStyleConfig("NotificationHeading", {
9290
9342
  icon: icon,
9291
9343
  isCentered: isCentered,
@@ -9431,7 +9483,7 @@ var Notification$1 = /*#__PURE__*/chakra( /*#__PURE__*/forwardRef(function (prop
9431
9483
  }, childHeading, childContent), dismissibleButton);
9432
9484
  }));
9433
9485
 
9434
- var _excluded$1c = ["className", "helperText", "id", "invalidText", "isChecked", "isDisabled", "isInvalid", "isRequired", "labelText", "name", "onChange", "showHelperInvalidText", "showLabel", "value"];
9486
+ var _excluded$1d = ["className", "helperText", "id", "invalidText", "isChecked", "isDisabled", "isInvalid", "isRequired", "labelText", "name", "onChange", "showHelperInvalidText", "showLabel", "value"];
9435
9487
  var Radio$1 = /*#__PURE__*/chakra( /*#__PURE__*/forwardRef(function (props, ref) {
9436
9488
  var className = props.className,
9437
9489
  helperText = props.helperText,
@@ -9452,7 +9504,7 @@ var Radio$1 = /*#__PURE__*/chakra( /*#__PURE__*/forwardRef(function (props, ref)
9452
9504
  _props$showLabel = props.showLabel,
9453
9505
  showLabel = _props$showLabel === void 0 ? true : _props$showLabel,
9454
9506
  value = props.value,
9455
- rest = _objectWithoutPropertiesLoose(props, _excluded$1c);
9507
+ rest = _objectWithoutPropertiesLoose(props, _excluded$1d);
9456
9508
  var styles = useMultiStyleConfig("Radio", {
9457
9509
  showLabel: showLabel
9458
9510
  });
@@ -9498,7 +9550,7 @@ var Radio$1 = /*#__PURE__*/chakra( /*#__PURE__*/forwardRef(function (props, ref)
9498
9550
  }, labelText)));
9499
9551
  }));
9500
9552
 
9501
- var _excluded$1d = ["children", "className", "defaultValue", "helperText", "id", "invalidText", "isDisabled", "isFullWidth", "isInvalid", "isRequired", "labelText", "layout", "name", "onChange", "showHelperInvalidText", "showLabel", "showRequiredLabel"];
9553
+ var _excluded$1e = ["children", "className", "defaultValue", "helperText", "id", "invalidText", "isDisabled", "isFullWidth", "isInvalid", "isRequired", "labelText", "layout", "name", "onChange", "showHelperInvalidText", "showLabel", "showRequiredLabel"];
9502
9554
  /**
9503
9555
  * RadioGroup is a wrapper for DS `Radio` components that renders as a fieldset
9504
9556
  * HTML element along with optional helper text. The `name` prop is essential
@@ -9532,7 +9584,7 @@ var RadioGroup$1 = /*#__PURE__*/chakra( /*#__PURE__*/forwardRef(function (props,
9532
9584
  showLabel = _props$showLabel === void 0 ? true : _props$showLabel,
9533
9585
  _props$showRequiredLa = props.showRequiredLabel,
9534
9586
  showRequiredLabel = _props$showRequiredLa === void 0 ? true : _props$showRequiredLa,
9535
- rest = _objectWithoutPropertiesLoose(props, _excluded$1d);
9587
+ rest = _objectWithoutPropertiesLoose(props, _excluded$1e);
9536
9588
  var _React$useState = React__default.useState(defaultValue),
9537
9589
  value = _React$useState[0],
9538
9590
  setValue = _React$useState[1];
@@ -9587,9 +9639,10 @@ var RadioGroup$1 = /*#__PURE__*/chakra( /*#__PURE__*/forwardRef(function (props,
9587
9639
  }), React__default.createElement(RadioGroup$2, Object.assign({}, radioGroupProps), React__default.createElement(Stack, {
9588
9640
  direction: [layout],
9589
9641
  spacing: spacingProp
9590
- }, newChildren)), footnote && showHelperInvalidText && React__default.createElement(HelperErrorText, {
9642
+ }, newChildren)), React__default.createElement(HelperErrorText, {
9591
9643
  id: id + "-helperErrorText",
9592
9644
  isInvalid: isInvalid,
9645
+ isRenderedText: showHelperInvalidText,
9593
9646
  text: footnote,
9594
9647
  __css: styles.helperErrorText
9595
9648
  }));
@@ -9678,7 +9731,7 @@ function useFeedbackBoxReducer() {
9678
9731
  };
9679
9732
  }
9680
9733
 
9681
- var _excluded$1e = ["className", "confirmationText", "descriptionText", "hiddenFields", "id", "isInvalidComment", "isInvalidEmail", "notificationText", "onSubmit", "showCategoryField", "showEmailField", "title", "view", "isOpen", "onOpen", "onClose"];
9734
+ var _excluded$1f = ["className", "confirmationText", "descriptionText", "hiddenFields", "id", "isInvalidComment", "isInvalidEmail", "notificationText", "onSubmit", "showCategoryField", "showEmailField", "title", "view", "isOpen", "onOpen", "onClose"];
9682
9735
  /**
9683
9736
  * The `FeedbackBox` component renders a fixed-positioned button on the bottom
9684
9737
  * right corner of a page that opens a Chakra `Drawer` popup component. Inside
@@ -9710,7 +9763,7 @@ var FeedbackBox$1 = /*#__PURE__*/chakra( /*#__PURE__*/forwardRef(function (_ref,
9710
9763
  isOpen = _ref.isOpen,
9711
9764
  onOpen = _ref.onOpen,
9712
9765
  onClose = _ref.onClose,
9713
- rest = _objectWithoutPropertiesLoose(_ref, _excluded$1e);
9766
+ rest = _objectWithoutPropertiesLoose(_ref, _excluded$1f);
9714
9767
  // We want to keep internal state for the view but also
9715
9768
  // update if the consuming app updates it, based on API
9716
9769
  // success and failure responses.
@@ -10042,7 +10095,7 @@ function useFeedbackBox() {
10042
10095
  };
10043
10096
  }
10044
10097
 
10045
- var _excluded$1f = ["id", "isOpen", "multiSelectId", "multiSelectLabelText", "onClear", "onKeyDown", "onMenuToggle", "selectedItems"];
10098
+ var _excluded$1g = ["id", "isOpen", "multiSelectId", "multiSelectLabelText", "onClear", "onKeyDown", "onMenuToggle", "selectedItems"];
10046
10099
  var _templateObject;
10047
10100
  var grow = /*#__PURE__*/keyframes$1(_templateObject || (_templateObject = /*#__PURE__*/_taggedTemplateLiteralLoose(["\n from {width: 22px; opacity: 0; }\n to {width: 46px; opacity: 1;}\n"])));
10048
10101
  /**
@@ -10061,9 +10114,12 @@ var MultiSelectMenuButton$1 = /*#__PURE__*/forwardRef(function (props, ref) {
10061
10114
  onClear = props.onClear,
10062
10115
  onMenuToggle = props.onMenuToggle,
10063
10116
  selectedItems = props.selectedItems,
10064
- rest = _objectWithoutPropertiesLoose(props, _excluded$1f);
10117
+ rest = _objectWithoutPropertiesLoose(props, _excluded$1g);
10065
10118
  var iconType = isOpen ? "minus" : "plus";
10066
10119
  var growAnimation = grow + " 150ms ease-out";
10120
+ var _React$useState = React__default.useState(isOpen),
10121
+ prevIsOpen = _React$useState[0],
10122
+ setPrevIsOpen = _React$useState[1];
10067
10123
  // Sets the selected items count on the menu button.
10068
10124
  var getSelectedItemsCount;
10069
10125
  var selectedItemsAriaLabel;
@@ -10076,19 +10132,34 @@ var MultiSelectMenuButton$1 = /*#__PURE__*/forwardRef(function (props, ref) {
10076
10132
  isOpen: isOpen,
10077
10133
  hasSelectedItems: getSelectedItemsCount
10078
10134
  });
10135
+ // We need an internal Ref to manage the focus
10136
+ var internalRef = React__default.useRef(null);
10137
+ var mergedRefs = useMergeRefs(internalRef, ref);
10079
10138
  // We need this for our "fake" button inside the main menu button.
10080
10139
  function onKeyPress(e) {
10081
10140
  var enterOrSpace = e.key === "Enter" || e.key === " " || e.key === "Spacebar" || e.which === 13 || e.which === 32;
10082
10141
  if (enterOrSpace) {
10083
10142
  e.preventDefault();
10084
10143
  onClear();
10144
+ internalRef == null ? void 0 : internalRef.current.focus();
10085
10145
  }
10086
10146
  }
10147
+ // Manage focus upon closing the MultiSelect
10148
+ React__default.useEffect(function () {
10149
+ setPrevIsOpen(isOpen);
10150
+ // Catching the inital render of the page
10151
+ if (isOpen !== prevIsOpen) {
10152
+ if (!isOpen && internalRef) {
10153
+ var _internalRef$current;
10154
+ (_internalRef$current = internalRef.current) == null ? void 0 : _internalRef$current.focus();
10155
+ }
10156
+ }
10157
+ }, [isOpen, prevIsOpen]);
10087
10158
  return React__default.createElement(React__default.Fragment, null, React__default.createElement(Button, Object.assign({
10088
10159
  buttonType: "secondary",
10089
10160
  id: id,
10090
10161
  onClick: onMenuToggle,
10091
- ref: ref,
10162
+ ref: mergedRefs,
10092
10163
  __css: styles.menuButton
10093
10164
  }, rest), React__default.createElement(Box, {
10094
10165
  as: "span",
@@ -10102,7 +10173,10 @@ var MultiSelectMenuButton$1 = /*#__PURE__*/forwardRef(function (props, ref) {
10102
10173
  animation: growAnimation,
10103
10174
  "aria-label": selectedItemsAriaLabel,
10104
10175
  as: "span",
10105
- onClick: onClear,
10176
+ onClick: function onClick() {
10177
+ internalRef == null ? void 0 : internalRef.current.focus();
10178
+ onClear();
10179
+ },
10106
10180
  onKeyPress: onKeyPress,
10107
10181
  role: "button",
10108
10182
  tabIndex: 0,
@@ -10120,7 +10194,7 @@ var MultiSelectMenuButton$1 = /*#__PURE__*/forwardRef(function (props, ref) {
10120
10194
  })));
10121
10195
  });
10122
10196
 
10123
- var _excluded$1g = ["id", "isBlockElement", "isDefaultOpen", "items", "labelText", "onChange", "onClear", "selectedItems", "width"];
10197
+ var _excluded$1h = ["id", "isBlockElement", "isDefaultOpen", "items", "labelText", "onChange", "onClear", "selectedItems", "width"];
10124
10198
  /** MultiSelectListbox renders a non-hierarchical list of checkbox options for the `type="listbox". It leverager downshift-js for accessiblity. */
10125
10199
  var MultiSelectListbox = /*#__PURE__*/chakra( /*#__PURE__*/forwardRef(function (props, ref) {
10126
10200
  var id = props.id,
@@ -10132,7 +10206,7 @@ var MultiSelectListbox = /*#__PURE__*/chakra( /*#__PURE__*/forwardRef(function (
10132
10206
  onClear = props.onClear,
10133
10207
  selectedItems = props.selectedItems,
10134
10208
  width = props.width,
10135
- rest = _objectWithoutPropertiesLoose(props, _excluded$1g);
10209
+ rest = _objectWithoutPropertiesLoose(props, _excluded$1h);
10136
10210
  // Downshift.
10137
10211
  var _useSelect = useSelect({
10138
10212
  items: items,
@@ -10237,7 +10311,37 @@ var MultiSelectListbox = /*#__PURE__*/chakra( /*#__PURE__*/forwardRef(function (
10237
10311
  }
10238
10312
  });
10239
10313
 
10240
- var _excluded$1h = ["id", "isBlockElement", "isDefaultOpen", "items", "labelText", "onApply", "onChange", "onClear", "onMixedStateChange", "selectedItems", "width"];
10314
+ /**
10315
+ * Close dropdowns when clicking outside of them or by pressing
10316
+ * the escape key. It expects an action callback that will set
10317
+ * the dropdown state to false (close).
10318
+ */
10319
+ var useCloseDropDown = function useCloseDropDown(actionCb, ref) {
10320
+ // Listen for keydown events on the document for the escape key.
10321
+ useEffect(function () {
10322
+ var close = function close(e) {
10323
+ var key = e.key || e.keyCode;
10324
+ if (key === "Escape" || key === "Esc" || key === 27) {
10325
+ actionCb(false);
10326
+ }
10327
+ };
10328
+ window.addEventListener("keydown", close);
10329
+ return function () {
10330
+ return window.removeEventListener("keydown", close);
10331
+ };
10332
+ // eslint-disable-next-line react-hooks/exhaustive-deps
10333
+ }, []);
10334
+ // Listen for click events on the document outside of the
10335
+ // element that the `ref` prop points to.
10336
+ useOutsideClick({
10337
+ ref: ref,
10338
+ handler: function handler() {
10339
+ return actionCb(false);
10340
+ }
10341
+ });
10342
+ };
10343
+
10344
+ var _excluded$1i = ["id", "isBlockElement", "isDefaultOpen", "items", "labelText", "onApply", "onChange", "onClear", "onMixedStateChange", "selectedItems", "width"];
10241
10345
  var MultiSelectDialog = /*#__PURE__*/chakra( /*#__PURE__*/forwardRef(function (props, ref) {
10242
10346
  var id = props.id,
10243
10347
  isBlockElement = props.isBlockElement,
@@ -10250,7 +10354,7 @@ var MultiSelectDialog = /*#__PURE__*/chakra( /*#__PURE__*/forwardRef(function (p
10250
10354
  onMixedStateChange = props.onMixedStateChange,
10251
10355
  selectedItems = props.selectedItems,
10252
10356
  width = props.width,
10253
- rest = _objectWithoutPropertiesLoose(props, _excluded$1h);
10357
+ rest = _objectWithoutPropertiesLoose(props, _excluded$1i);
10254
10358
  // Use NYPL Breakpoints hook to check screen size
10255
10359
  var _useNYPLBreakpoints = useNYPLBreakpoints(),
10256
10360
  isLargerThanMobile = _useNYPLBreakpoints.isLargerThanMobile;
@@ -10286,6 +10390,10 @@ var MultiSelectDialog = /*#__PURE__*/chakra( /*#__PURE__*/forwardRef(function (p
10286
10390
  useOnClickOutside(internalRef, function () {
10287
10391
  return setIsOpen(false);
10288
10392
  });
10393
+ // Hook to close Dialog on ESC key storke
10394
+ useCloseDropDown(function () {
10395
+ return setIsOpen(false);
10396
+ }, internalRef);
10289
10397
  // Merge internal ref with the ref passed through the chakra function.
10290
10398
  var mergedRefs = useMergeRefs(internalRef, ref);
10291
10399
  var isChecked = function isChecked(multiSelectId, itemId) {
@@ -10411,7 +10519,7 @@ var MultiSelectDialog = /*#__PURE__*/chakra( /*#__PURE__*/forwardRef(function (p
10411
10519
  }
10412
10520
  });
10413
10521
 
10414
- var _excluded$1i = ["id", "isBlockElement", "isDefaultOpen", "items", "labelText", "onApply", "onChange", "onClear", "onMixedStateChange", "selectedItems", "type", "width"];
10522
+ var _excluded$1j = ["id", "isBlockElement", "isDefaultOpen", "items", "labelText", "onApply", "onChange", "onClear", "onMixedStateChange", "selectedItems", "type", "width"];
10415
10523
  /**
10416
10524
  * The `MultiSelect` component is a form input element that presents a list
10417
10525
  * of `Checkbox` components from which a user can make one or multiple
@@ -10435,7 +10543,7 @@ var MultiSelect$1 = /*#__PURE__*/chakra( /*#__PURE__*/forwardRef(function (props
10435
10543
  type = props.type,
10436
10544
  _props$width = props.width,
10437
10545
  width = _props$width === void 0 ? "default" : _props$width,
10438
- rest = _objectWithoutPropertiesLoose(props, _excluded$1i);
10546
+ rest = _objectWithoutPropertiesLoose(props, _excluded$1j);
10439
10547
  var commonProps = {
10440
10548
  id: id,
10441
10549
  isBlockElement: isBlockElement,
@@ -10472,7 +10580,7 @@ var MultiSelect$1 = /*#__PURE__*/chakra( /*#__PURE__*/forwardRef(function (props
10472
10580
  }
10473
10581
  });
10474
10582
 
10475
- var _excluded$1j = ["children", "className", "id", "labelText", "layout", "multiSelectWidth", "showLabel"];
10583
+ var _excluded$1k = ["children", "className", "id", "labelText", "layout", "multiSelectWidth", "showLabel"];
10476
10584
  /**
10477
10585
  * `MultiSelectGroup` is a wrapper component specific for `MultiSelect` components. The wrapped `MutliSelect` components can be displayed in a
10478
10586
  * column or in a row. The `MultiSelectGroup` component renders all the necessary
@@ -10491,7 +10599,7 @@ var MultiSelectGroup = /*#__PURE__*/chakra( /*#__PURE__*/forwardRef(function (pr
10491
10599
  multiSelectWidth = _props$multiSelectWid === void 0 ? "default" : _props$multiSelectWid,
10492
10600
  _props$showLabel = props.showLabel,
10493
10601
  showLabel = _props$showLabel === void 0 ? true : _props$showLabel,
10494
- rest = _objectWithoutPropertiesLoose(props, _excluded$1j);
10602
+ rest = _objectWithoutPropertiesLoose(props, _excluded$1k);
10495
10603
  var newChildren = [];
10496
10604
  var _useNYPLBreakpoints = useNYPLBreakpoints(),
10497
10605
  isLargerThanMobile = _useNYPLBreakpoints.isLargerThanMobile;
@@ -10535,7 +10643,7 @@ var MultiSelectGroup = /*#__PURE__*/chakra( /*#__PURE__*/forwardRef(function (pr
10535
10643
  id: id,
10536
10644
  ref: ref,
10537
10645
  rowGap: finalLayout === "row" ? "xs" : "0",
10538
- spacing: isLargerThanMobile ? "xs" : "0",
10646
+ spacing: "xs",
10539
10647
  wrap: layout === "row" ? "wrap" : null,
10540
10648
  sx: {
10541
10649
  "> div": {
@@ -10547,7 +10655,7 @@ var MultiSelectGroup = /*#__PURE__*/chakra( /*#__PURE__*/forwardRef(function (pr
10547
10655
  }, newChildren));
10548
10656
  }));
10549
10657
 
10550
- var _excluded$1k = ["children", "id", "isOpen", "headingText", "layout", "onClear", "onSubmit", "onToggle", "onOpen", "onClose", "selectedItems", "showClearAll", "showSubmitAll", "filterWidth"];
10658
+ var _excluded$1l = ["children", "id", "isOpen", "headingText", "layout", "onClear", "onSubmit", "onToggle", "onOpen", "onClose", "selectedItems", "showClearAll", "showSubmitAll", "filterWidth"];
10551
10659
  /**
10552
10660
  * `FilterBar` is a wrapper component for filter components.
10553
10661
  * The DS considers the following components as filter components:
@@ -10575,7 +10683,7 @@ var FilterBar$1 = /*#__PURE__*/chakra( /*#__PURE__*/forwardRef(function (props,
10575
10683
  _props$showSubmitAll = props.showSubmitAll,
10576
10684
  showSubmitAll = _props$showSubmitAll === void 0 ? false : _props$showSubmitAll,
10577
10685
  filterWidth = props.filterWidth,
10578
- rest = _objectWithoutPropertiesLoose(props, _excluded$1k);
10686
+ rest = _objectWithoutPropertiesLoose(props, _excluded$1l);
10579
10687
  var _useNYPLBreapoints = useNYPLBreakpoints(),
10580
10688
  isLargerThanMedium = _useNYPLBreapoints.isLargerThanMedium;
10581
10689
  var finalLayout = isLargerThanMedium ? layout : "column";
@@ -10694,7 +10802,7 @@ var FilterBar$1 = /*#__PURE__*/chakra( /*#__PURE__*/forwardRef(function (props,
10694
10802
  }, "Clear Filters")))))));
10695
10803
  }));
10696
10804
 
10697
- var _excluded$1l = ["children", "className", "id", "inline", "listItems", "noStyling", "title", "type"];
10805
+ var _excluded$1m = ["children", "className", "id", "inline", "listItems", "noStyling", "title", "type"];
10698
10806
  /**
10699
10807
  * A component that renders list item `li` elements or description item `dt`
10700
10808
  * and `dd` elements based on the `type` prop. Note that the `title` prop will
@@ -10712,7 +10820,7 @@ var List$1 = /*#__PURE__*/chakra( /*#__PURE__*/forwardRef(function (props, ref)
10712
10820
  title = props.title,
10713
10821
  _props$type = props.type,
10714
10822
  type = _props$type === void 0 ? "ul" : _props$type,
10715
- rest = _objectWithoutPropertiesLoose(props, _excluded$1l);
10823
+ rest = _objectWithoutPropertiesLoose(props, _excluded$1m);
10716
10824
  var styles = useStyleConfig("List", {
10717
10825
  inline: inline,
10718
10826
  noStyling: noStyling,
@@ -10814,14 +10922,14 @@ var checkListChildrenError = function checkListChildrenError(children, listType,
10814
10922
  };
10815
10923
 
10816
10924
  var _path$L, _path2$f, _path3$7;
10817
- var _excluded$1m = ["title", "titleId"];
10925
+ var _excluded$1n = ["title", "titleId"];
10818
10926
  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); }
10819
10927
  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; }
10820
10928
  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; }
10821
10929
  var SvgLogoAppleAppStoreBlack = function SvgLogoAppleAppStoreBlack(_ref) {
10822
10930
  var title = _ref.title,
10823
10931
  titleId = _ref.titleId,
10824
- props = _objectWithoutProperties$Q(_ref, _excluded$1m);
10932
+ props = _objectWithoutProperties$Q(_ref, _excluded$1n);
10825
10933
  return /*#__PURE__*/createElement("svg", _extends$R({
10826
10934
  viewBox: "0 0 200 67",
10827
10935
  fill: "none",
@@ -10842,14 +10950,14 @@ var SvgLogoAppleAppStoreBlack = function SvgLogoAppleAppStoreBlack(_ref) {
10842
10950
  };
10843
10951
 
10844
10952
  var _path$M, _path2$g, _path3$8;
10845
- var _excluded$1n = ["title", "titleId"];
10953
+ var _excluded$1o = ["title", "titleId"];
10846
10954
  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); }
10847
10955
  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; }
10848
10956
  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; }
10849
10957
  var SvgLogoAppleAppStoreWhite = function SvgLogoAppleAppStoreWhite(_ref) {
10850
10958
  var title = _ref.title,
10851
10959
  titleId = _ref.titleId,
10852
- props = _objectWithoutProperties$R(_ref, _excluded$1n);
10960
+ props = _objectWithoutProperties$R(_ref, _excluded$1o);
10853
10961
  return /*#__PURE__*/createElement("svg", _extends$S({
10854
10962
  viewBox: "0 0 200 67",
10855
10963
  fill: "none",
@@ -10870,14 +10978,14 @@ var SvgLogoAppleAppStoreWhite = function SvgLogoAppleAppStoreWhite(_ref) {
10870
10978
  };
10871
10979
 
10872
10980
  var _path$N, _path2$h, _path3$9;
10873
- var _excluded$1o = ["title", "titleId"];
10981
+ var _excluded$1p = ["title", "titleId"];
10874
10982
  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); }
10875
10983
  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; }
10876
10984
  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; }
10877
10985
  var SvgLogoBplBlack = function SvgLogoBplBlack(_ref) {
10878
10986
  var title = _ref.title,
10879
10987
  titleId = _ref.titleId,
10880
- props = _objectWithoutProperties$S(_ref, _excluded$1o);
10988
+ props = _objectWithoutProperties$S(_ref, _excluded$1p);
10881
10989
  return /*#__PURE__*/createElement("svg", _extends$T({
10882
10990
  viewBox: "0 0 328 120",
10883
10991
  xmlns: "http://www.w3.org/2000/svg",
@@ -10894,14 +11002,14 @@ var SvgLogoBplBlack = function SvgLogoBplBlack(_ref) {
10894
11002
  };
10895
11003
 
10896
11004
  var _path$O, _path2$i, _path3$a;
10897
- var _excluded$1p = ["title", "titleId"];
11005
+ var _excluded$1q = ["title", "titleId"];
10898
11006
  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); }
10899
11007
  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; }
10900
11008
  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; }
10901
11009
  var SvgLogoBplWhite = function SvgLogoBplWhite(_ref) {
10902
11010
  var title = _ref.title,
10903
11011
  titleId = _ref.titleId,
10904
- props = _objectWithoutProperties$T(_ref, _excluded$1p);
11012
+ props = _objectWithoutProperties$T(_ref, _excluded$1q);
10905
11013
  return /*#__PURE__*/createElement("svg", _extends$U({
10906
11014
  viewBox: "0 0 328 120",
10907
11015
  fill: "#fff",
@@ -10919,14 +11027,14 @@ var SvgLogoBplWhite = function SvgLogoBplWhite(_ref) {
10919
11027
  };
10920
11028
 
10921
11029
  var _rect$2, _path$P;
10922
- var _excluded$1q = ["title", "titleId"];
11030
+ var _excluded$1r = ["title", "titleId"];
10923
11031
  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); }
10924
11032
  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; }
10925
11033
  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; }
10926
11034
  var SvgLogoCleverBadgeColor = function SvgLogoCleverBadgeColor(_ref) {
10927
11035
  var title = _ref.title,
10928
11036
  titleId = _ref.titleId,
10929
- props = _objectWithoutProperties$U(_ref, _excluded$1q);
11037
+ props = _objectWithoutProperties$U(_ref, _excluded$1r);
10930
11038
  return /*#__PURE__*/createElement("svg", _extends$V({
10931
11039
  viewBox: "0 0 118 119",
10932
11040
  fill: "none",
@@ -10949,14 +11057,14 @@ var SvgLogoCleverBadgeColor = function SvgLogoCleverBadgeColor(_ref) {
10949
11057
  };
10950
11058
 
10951
11059
  var _path$Q;
10952
- var _excluded$1r = ["title", "titleId"];
11060
+ var _excluded$1s = ["title", "titleId"];
10953
11061
  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); }
10954
11062
  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; }
10955
11063
  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; }
10956
11064
  var SvgLogoCleverColor = function SvgLogoCleverColor(_ref) {
10957
11065
  var title = _ref.title,
10958
11066
  titleId = _ref.titleId,
10959
- props = _objectWithoutProperties$V(_ref, _excluded$1r);
11067
+ props = _objectWithoutProperties$V(_ref, _excluded$1s);
10960
11068
  return /*#__PURE__*/createElement("svg", _extends$W({
10961
11069
  viewBox: "0 0 312 88",
10962
11070
  fill: "#436CF2",
@@ -10972,14 +11080,14 @@ var SvgLogoCleverColor = function SvgLogoCleverColor(_ref) {
10972
11080
  };
10973
11081
 
10974
11082
  var _path$R;
10975
- var _excluded$1s = ["title", "titleId"];
11083
+ var _excluded$1t = ["title", "titleId"];
10976
11084
  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); }
10977
11085
  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; }
10978
11086
  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; }
10979
11087
  var SvgLogoCleverWhite = function SvgLogoCleverWhite(_ref) {
10980
11088
  var title = _ref.title,
10981
11089
  titleId = _ref.titleId,
10982
- props = _objectWithoutProperties$W(_ref, _excluded$1s);
11090
+ props = _objectWithoutProperties$W(_ref, _excluded$1t);
10983
11091
  return /*#__PURE__*/createElement("svg", _extends$X({
10984
11092
  viewBox: "0 0 312 88",
10985
11093
  fill: "#fff",
@@ -10995,14 +11103,14 @@ var SvgLogoCleverWhite = function SvgLogoCleverWhite(_ref) {
10995
11103
  };
10996
11104
 
10997
11105
  var _path$S, _path2$j, _path3$b, _path4$1, _path5, _path6, _path7, _path8, _path9, _path10, _path11, _path12, _path13;
10998
- var _excluded$1t = ["title", "titleId"];
11106
+ var _excluded$1u = ["title", "titleId"];
10999
11107
  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); }
11000
11108
  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; }
11001
11109
  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; }
11002
11110
  var SvgLogoFirstbookColor = function SvgLogoFirstbookColor(_ref) {
11003
11111
  var title = _ref.title,
11004
11112
  titleId = _ref.titleId,
11005
- props = _objectWithoutProperties$X(_ref, _excluded$1t);
11113
+ props = _objectWithoutProperties$X(_ref, _excluded$1u);
11006
11114
  return /*#__PURE__*/createElement("svg", _extends$Y({
11007
11115
  viewBox: "0 0 172 152",
11008
11116
  fill: "none",
@@ -11053,14 +11161,14 @@ var SvgLogoFirstbookColor = function SvgLogoFirstbookColor(_ref) {
11053
11161
  };
11054
11162
 
11055
11163
  var _g$3;
11056
- var _excluded$1u = ["title", "titleId"];
11164
+ var _excluded$1v = ["title", "titleId"];
11057
11165
  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); }
11058
11166
  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; }
11059
11167
  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; }
11060
11168
  var SvgLogoFirstbookColorNegative = function SvgLogoFirstbookColorNegative(_ref) {
11061
11169
  var title = _ref.title,
11062
11170
  titleId = _ref.titleId,
11063
- props = _objectWithoutProperties$Y(_ref, _excluded$1u);
11171
+ props = _objectWithoutProperties$Y(_ref, _excluded$1v);
11064
11172
  return /*#__PURE__*/createElement("svg", _extends$Z({
11065
11173
  viewBox: "0 0 170 150",
11066
11174
  fill: "none",
@@ -11116,14 +11224,14 @@ var SvgLogoFirstbookColorNegative = function SvgLogoFirstbookColorNegative(_ref)
11116
11224
  };
11117
11225
 
11118
11226
  var _g$4, _defs;
11119
- var _excluded$1v = ["title", "titleId"];
11227
+ var _excluded$1w = ["title", "titleId"];
11120
11228
  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); }
11121
11229
  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; }
11122
11230
  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; }
11123
11231
  var SvgLogoGooglePlayBlack = function SvgLogoGooglePlayBlack(_ref) {
11124
11232
  var title = _ref.title,
11125
11233
  titleId = _ref.titleId,
11126
- props = _objectWithoutProperties$Z(_ref, _excluded$1v);
11234
+ props = _objectWithoutProperties$Z(_ref, _excluded$1w);
11127
11235
  return /*#__PURE__*/createElement("svg", _extends$_({
11128
11236
  viewBox: "0 0 200 60",
11129
11237
  fill: "none",
@@ -11256,14 +11364,14 @@ var SvgLogoGooglePlayBlack = function SvgLogoGooglePlayBlack(_ref) {
11256
11364
  };
11257
11365
 
11258
11366
  var _path$T, _path2$k;
11259
- var _excluded$1w = ["title", "titleId"];
11367
+ var _excluded$1x = ["title", "titleId"];
11260
11368
  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); }
11261
11369
  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; }
11262
11370
  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; }
11263
11371
  var SvgLogoLpaColor = function SvgLogoLpaColor(_ref) {
11264
11372
  var title = _ref.title,
11265
11373
  titleId = _ref.titleId,
11266
- props = _objectWithoutProperties$_(_ref, _excluded$1w);
11374
+ props = _objectWithoutProperties$_(_ref, _excluded$1x);
11267
11375
  return /*#__PURE__*/createElement("svg", _extends$$({
11268
11376
  viewBox: "0 0 186 74",
11269
11377
  fill: "none",
@@ -11281,14 +11389,14 @@ var SvgLogoLpaColor = function SvgLogoLpaColor(_ref) {
11281
11389
  };
11282
11390
 
11283
11391
  var _path$U;
11284
- var _excluded$1x = ["title", "titleId"];
11392
+ var _excluded$1y = ["title", "titleId"];
11285
11393
  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); }
11286
11394
  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; }
11287
11395
  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; }
11288
11396
  var SvgLogoLpaBlack = function SvgLogoLpaBlack(_ref) {
11289
11397
  var title = _ref.title,
11290
11398
  titleId = _ref.titleId,
11291
- props = _objectWithoutProperties$$(_ref, _excluded$1x);
11399
+ props = _objectWithoutProperties$$(_ref, _excluded$1y);
11292
11400
  return /*#__PURE__*/createElement("svg", _extends$10({
11293
11401
  viewBox: "0 0 186 74",
11294
11402
  xmlns: "http://www.w3.org/2000/svg",
@@ -11301,14 +11409,14 @@ var SvgLogoLpaBlack = function SvgLogoLpaBlack(_ref) {
11301
11409
  };
11302
11410
 
11303
11411
  var _path$V;
11304
- var _excluded$1y = ["title", "titleId"];
11412
+ var _excluded$1z = ["title", "titleId"];
11305
11413
  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); }
11306
11414
  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; }
11307
11415
  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; }
11308
11416
  var SvgLogoLpaWhite = function SvgLogoLpaWhite(_ref) {
11309
11417
  var title = _ref.title,
11310
11418
  titleId = _ref.titleId,
11311
- props = _objectWithoutProperties$10(_ref, _excluded$1y);
11419
+ props = _objectWithoutProperties$10(_ref, _excluded$1z);
11312
11420
  return /*#__PURE__*/createElement("svg", _extends$11({
11313
11421
  viewBox: "0 0 186 74",
11314
11422
  fill: "#fff",
@@ -11322,14 +11430,14 @@ var SvgLogoLpaWhite = function SvgLogoLpaWhite(_ref) {
11322
11430
  };
11323
11431
 
11324
11432
  var _g$5;
11325
- var _excluded$1z = ["title", "titleId"];
11433
+ var _excluded$1A = ["title", "titleId"];
11326
11434
  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); }
11327
11435
  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; }
11328
11436
  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; }
11329
11437
  var SvgLogoMlnBlack = function SvgLogoMlnBlack(_ref) {
11330
11438
  var title = _ref.title,
11331
11439
  titleId = _ref.titleId,
11332
- props = _objectWithoutProperties$11(_ref, _excluded$1z);
11440
+ props = _objectWithoutProperties$11(_ref, _excluded$1A);
11333
11441
  return /*#__PURE__*/createElement("svg", _extends$12({
11334
11442
  viewBox: "0 0 300 71",
11335
11443
  xmlns: "http://www.w3.org/2000/svg",
@@ -11344,14 +11452,14 @@ var SvgLogoMlnBlack = function SvgLogoMlnBlack(_ref) {
11344
11452
  };
11345
11453
 
11346
11454
  var _g$6;
11347
- var _excluded$1A = ["title", "titleId"];
11455
+ var _excluded$1B = ["title", "titleId"];
11348
11456
  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); }
11349
11457
  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; }
11350
11458
  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; }
11351
11459
  var SvgLogoMlnColor = function SvgLogoMlnColor(_ref) {
11352
11460
  var title = _ref.title,
11353
11461
  titleId = _ref.titleId,
11354
- props = _objectWithoutProperties$12(_ref, _excluded$1A);
11462
+ props = _objectWithoutProperties$12(_ref, _excluded$1B);
11355
11463
  return /*#__PURE__*/createElement("svg", _extends$13({
11356
11464
  viewBox: "0 0 300 71",
11357
11465
  fill: "#C60917",
@@ -11367,14 +11475,14 @@ var SvgLogoMlnColor = function SvgLogoMlnColor(_ref) {
11367
11475
  };
11368
11476
 
11369
11477
  var _g$7;
11370
- var _excluded$1B = ["title", "titleId"];
11478
+ var _excluded$1C = ["title", "titleId"];
11371
11479
  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); }
11372
11480
  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; }
11373
11481
  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; }
11374
11482
  var SvgLogoMlnWhite = function SvgLogoMlnWhite(_ref) {
11375
11483
  var title = _ref.title,
11376
11484
  titleId = _ref.titleId,
11377
- props = _objectWithoutProperties$13(_ref, _excluded$1B);
11485
+ props = _objectWithoutProperties$13(_ref, _excluded$1C);
11378
11486
  return /*#__PURE__*/createElement("svg", _extends$14({
11379
11487
  viewBox: "0 0 300 71",
11380
11488
  fill: "#fff",
@@ -11390,14 +11498,14 @@ var SvgLogoMlnWhite = function SvgLogoMlnWhite(_ref) {
11390
11498
  };
11391
11499
 
11392
11500
  var _g$8, _defs$1;
11393
- var _excluded$1C = ["title", "titleId"];
11501
+ var _excluded$1D = ["title", "titleId"];
11394
11502
  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); }
11395
11503
  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; }
11396
11504
  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; }
11397
11505
  var SvgLogoNycdoeColor = function SvgLogoNycdoeColor(_ref) {
11398
11506
  var title = _ref.title,
11399
11507
  titleId = _ref.titleId,
11400
- props = _objectWithoutProperties$14(_ref, _excluded$1C);
11508
+ props = _objectWithoutProperties$14(_ref, _excluded$1D);
11401
11509
  return /*#__PURE__*/createElement("svg", _extends$15({
11402
11510
  viewBox: "0 0 341 61",
11403
11511
  fill: "none",
@@ -11430,14 +11538,14 @@ var SvgLogoNycdoeColor = function SvgLogoNycdoeColor(_ref) {
11430
11538
  })))));
11431
11539
  };
11432
11540
 
11433
- var _excluded$1D = ["title", "titleId"];
11541
+ var _excluded$1E = ["title", "titleId"];
11434
11542
  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); }
11435
11543
  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; }
11436
11544
  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; }
11437
11545
  var SvgLogoNyplFullBlack = function SvgLogoNyplFullBlack(_ref) {
11438
11546
  var title = _ref.title,
11439
11547
  titleId = _ref.titleId,
11440
- props = _objectWithoutProperties$15(_ref, _excluded$1D);
11548
+ props = _objectWithoutProperties$15(_ref, _excluded$1E);
11441
11549
  return /*#__PURE__*/createElement("svg", _extends$16({
11442
11550
  xmlns: "http://www.w3.org/2000/svg",
11443
11551
  viewBox: "0 0 966.787 543.733",
@@ -11512,14 +11620,14 @@ var SvgLogoNyplFullBlack = function SvgLogoNyplFullBlack(_ref) {
11512
11620
  };
11513
11621
 
11514
11622
  var _g$9, _defs$2;
11515
- var _excluded$1E = ["title", "titleId"];
11623
+ var _excluded$1F = ["title", "titleId"];
11516
11624
  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); }
11517
11625
  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; }
11518
11626
  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; }
11519
11627
  var SvgLogoNyplFullWhite = function SvgLogoNyplFullWhite(_ref) {
11520
11628
  var title = _ref.title,
11521
11629
  titleId = _ref.titleId,
11522
- props = _objectWithoutProperties$16(_ref, _excluded$1E);
11630
+ props = _objectWithoutProperties$16(_ref, _excluded$1F);
11523
11631
  return /*#__PURE__*/createElement("svg", _extends$17({
11524
11632
  viewBox: "0 0 967 568",
11525
11633
  fill: "none",
@@ -11547,14 +11655,14 @@ var SvgLogoNyplFullWhite = function SvgLogoNyplFullWhite(_ref) {
11547
11655
  };
11548
11656
 
11549
11657
  var _path$W, _path2$l, _path3$c;
11550
- var _excluded$1F = ["title", "titleId"];
11658
+ var _excluded$1G = ["title", "titleId"];
11551
11659
  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); }
11552
11660
  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; }
11553
11661
  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; }
11554
11662
  var SvgLogoNyplLionBlack = function SvgLogoNyplLionBlack(_ref) {
11555
11663
  var title = _ref.title,
11556
11664
  titleId = _ref.titleId,
11557
- props = _objectWithoutProperties$17(_ref, _excluded$1F);
11665
+ props = _objectWithoutProperties$17(_ref, _excluded$1G);
11558
11666
  return /*#__PURE__*/createElement("svg", _extends$18({
11559
11667
  viewBox: "0 0 136 135",
11560
11668
  fill: "none",
@@ -11577,14 +11685,14 @@ var SvgLogoNyplLionBlack = function SvgLogoNyplLionBlack(_ref) {
11577
11685
  };
11578
11686
 
11579
11687
  var _path$X;
11580
- var _excluded$1G = ["title", "titleId"];
11688
+ var _excluded$1H = ["title", "titleId"];
11581
11689
  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); }
11582
11690
  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; }
11583
11691
  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; }
11584
11692
  var SvgLogoNyplLionWhite = function SvgLogoNyplLionWhite(_ref) {
11585
11693
  var title = _ref.title,
11586
11694
  titleId = _ref.titleId,
11587
- props = _objectWithoutProperties$18(_ref, _excluded$1G);
11695
+ props = _objectWithoutProperties$18(_ref, _excluded$1H);
11588
11696
  return /*#__PURE__*/createElement("svg", _extends$19({
11589
11697
  viewBox: "0 0 125 126",
11590
11698
  fill: "none",
@@ -11601,14 +11709,14 @@ var SvgLogoNyplLionWhite = function SvgLogoNyplLionWhite(_ref) {
11601
11709
  };
11602
11710
 
11603
11711
  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;
11604
- var _excluded$1H = ["title", "titleId"];
11712
+ var _excluded$1I = ["title", "titleId"];
11605
11713
  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); }
11606
11714
  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; }
11607
11715
  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; }
11608
11716
  var SvgLogoNyplTextBlack = function SvgLogoNyplTextBlack(_ref) {
11609
11717
  var title = _ref.title,
11610
11718
  titleId = _ref.titleId,
11611
- props = _objectWithoutProperties$19(_ref, _excluded$1H);
11719
+ props = _objectWithoutProperties$19(_ref, _excluded$1I);
11612
11720
  return /*#__PURE__*/createElement("svg", _extends$1a({
11613
11721
  viewBox: "0 0 201 165",
11614
11722
  fill: "none",
@@ -11679,14 +11787,14 @@ var SvgLogoNyplTextBlack = function SvgLogoNyplTextBlack(_ref) {
11679
11787
  };
11680
11788
 
11681
11789
  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;
11682
- var _excluded$1I = ["title", "titleId"];
11790
+ var _excluded$1J = ["title", "titleId"];
11683
11791
  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); }
11684
11792
  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; }
11685
11793
  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; }
11686
11794
  var SvgLogoNyplTextWhite = function SvgLogoNyplTextWhite(_ref) {
11687
11795
  var title = _ref.title,
11688
11796
  titleId = _ref.titleId,
11689
- props = _objectWithoutProperties$1a(_ref, _excluded$1I);
11797
+ props = _objectWithoutProperties$1a(_ref, _excluded$1J);
11690
11798
  return /*#__PURE__*/createElement("svg", _extends$1b({
11691
11799
  viewBox: "0 0 201 165",
11692
11800
  fill: "none",
@@ -11757,14 +11865,14 @@ var SvgLogoNyplTextWhite = function SvgLogoNyplTextWhite(_ref) {
11757
11865
  };
11758
11866
 
11759
11867
  var _g$a, _defs$3;
11760
- var _excluded$1J = ["title", "titleId"];
11868
+ var _excluded$1K = ["title", "titleId"];
11761
11869
  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); }
11762
11870
  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; }
11763
11871
  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; }
11764
11872
  var SvgLogoOpenebooksColor = function SvgLogoOpenebooksColor(_ref) {
11765
11873
  var title = _ref.title,
11766
11874
  titleId = _ref.titleId,
11767
- props = _objectWithoutProperties$1b(_ref, _excluded$1J);
11875
+ props = _objectWithoutProperties$1b(_ref, _excluded$1K);
11768
11876
  return /*#__PURE__*/createElement("svg", _extends$1c({
11769
11877
  viewBox: "0 0 152 139",
11770
11878
  fill: "none",
@@ -11812,14 +11920,14 @@ var SvgLogoOpenebooksColor = function SvgLogoOpenebooksColor(_ref) {
11812
11920
  };
11813
11921
 
11814
11922
  var _g$b, _defs$4;
11815
- var _excluded$1K = ["title", "titleId"];
11923
+ var _excluded$1L = ["title", "titleId"];
11816
11924
  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); }
11817
11925
  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; }
11818
11926
  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; }
11819
11927
  var SvgLogoOpenebooksNegative = function SvgLogoOpenebooksNegative(_ref) {
11820
11928
  var title = _ref.title,
11821
11929
  titleId = _ref.titleId,
11822
- props = _objectWithoutProperties$1c(_ref, _excluded$1K);
11930
+ props = _objectWithoutProperties$1c(_ref, _excluded$1L);
11823
11931
  return /*#__PURE__*/createElement("svg", _extends$1d({
11824
11932
  viewBox: "0 0 155 139",
11825
11933
  fill: "none",
@@ -11890,14 +11998,14 @@ var SvgLogoOpenebooksNegative = function SvgLogoOpenebooksNegative(_ref) {
11890
11998
  };
11891
11999
 
11892
12000
  var _g$c, _defs$5;
11893
- var _excluded$1L = ["title", "titleId"];
12001
+ var _excluded$1M = ["title", "titleId"];
11894
12002
  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); }
11895
12003
  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; }
11896
12004
  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; }
11897
12005
  var SvgLogoOpenebooksWithTextColor = function SvgLogoOpenebooksWithTextColor(_ref) {
11898
12006
  var title = _ref.title,
11899
12007
  titleId = _ref.titleId,
11900
- props = _objectWithoutProperties$1d(_ref, _excluded$1L);
12008
+ props = _objectWithoutProperties$1d(_ref, _excluded$1M);
11901
12009
  return /*#__PURE__*/createElement("svg", _extends$1e({
11902
12010
  viewBox: "0 0 152 139",
11903
12011
  fill: "none",
@@ -11945,14 +12053,14 @@ var SvgLogoOpenebooksWithTextColor = function SvgLogoOpenebooksWithTextColor(_re
11945
12053
  };
11946
12054
 
11947
12055
  var _g$d, _defs$6;
11948
- var _excluded$1M = ["title", "titleId"];
12056
+ var _excluded$1N = ["title", "titleId"];
11949
12057
  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); }
11950
12058
  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; }
11951
12059
  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; }
11952
12060
  var SvgLogoOpenebooksWithTextNegative = function SvgLogoOpenebooksWithTextNegative(_ref) {
11953
12061
  var title = _ref.title,
11954
12062
  titleId = _ref.titleId,
11955
- props = _objectWithoutProperties$1e(_ref, _excluded$1M);
12063
+ props = _objectWithoutProperties$1e(_ref, _excluded$1N);
11956
12064
  return /*#__PURE__*/createElement("svg", _extends$1f({
11957
12065
  viewBox: "0 0 155 139",
11958
12066
  fill: "none",
@@ -12026,14 +12134,14 @@ var SvgLogoOpenebooksWithTextNegative = function SvgLogoOpenebooksWithTextNegati
12026
12134
  };
12027
12135
 
12028
12136
  var _path$_;
12029
- var _excluded$1N = ["title", "titleId"];
12137
+ var _excluded$1O = ["title", "titleId"];
12030
12138
  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); }
12031
12139
  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; }
12032
12140
  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; }
12033
12141
  var SvgLogoQplAltBlack = function SvgLogoQplAltBlack(_ref) {
12034
12142
  var title = _ref.title,
12035
12143
  titleId = _ref.titleId,
12036
- props = _objectWithoutProperties$1f(_ref, _excluded$1N);
12144
+ props = _objectWithoutProperties$1f(_ref, _excluded$1O);
12037
12145
  return /*#__PURE__*/createElement("svg", _extends$1g({
12038
12146
  viewBox: "0 0 250 134",
12039
12147
  xmlns: "http://www.w3.org/2000/svg",
@@ -12046,14 +12154,14 @@ var SvgLogoQplAltBlack = function SvgLogoQplAltBlack(_ref) {
12046
12154
  };
12047
12155
 
12048
12156
  var _path$$;
12049
- var _excluded$1O = ["title", "titleId"];
12157
+ var _excluded$1P = ["title", "titleId"];
12050
12158
  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); }
12051
12159
  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; }
12052
12160
  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; }
12053
12161
  var SvgLogoQplAltWhite = function SvgLogoQplAltWhite(_ref) {
12054
12162
  var title = _ref.title,
12055
12163
  titleId = _ref.titleId,
12056
- props = _objectWithoutProperties$1g(_ref, _excluded$1O);
12164
+ props = _objectWithoutProperties$1g(_ref, _excluded$1P);
12057
12165
  return /*#__PURE__*/createElement("svg", _extends$1h({
12058
12166
  viewBox: "0 0 250 134",
12059
12167
  fill: "#fff",
@@ -12067,14 +12175,14 @@ var SvgLogoQplAltWhite = function SvgLogoQplAltWhite(_ref) {
12067
12175
  };
12068
12176
 
12069
12177
  var _path$10, _path2$o, _path3$f, _path4$4, _path5$3;
12070
- var _excluded$1P = ["title", "titleId"];
12178
+ var _excluded$1Q = ["title", "titleId"];
12071
12179
  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); }
12072
12180
  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; }
12073
12181
  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; }
12074
12182
  var SvgLogoQplBlack = function SvgLogoQplBlack(_ref) {
12075
12183
  var title = _ref.title,
12076
12184
  titleId = _ref.titleId,
12077
- props = _objectWithoutProperties$1h(_ref, _excluded$1P);
12185
+ props = _objectWithoutProperties$1h(_ref, _excluded$1Q);
12078
12186
  return /*#__PURE__*/createElement("svg", _extends$1i({
12079
12187
  viewBox: "0 0 320 43",
12080
12188
  xmlns: "http://www.w3.org/2000/svg",
@@ -12103,14 +12211,14 @@ var SvgLogoQplBlack = function SvgLogoQplBlack(_ref) {
12103
12211
  };
12104
12212
 
12105
12213
  var _g$e, _defs$7;
12106
- var _excluded$1Q = ["title", "titleId"];
12214
+ var _excluded$1R = ["title", "titleId"];
12107
12215
  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); }
12108
12216
  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; }
12109
12217
  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; }
12110
12218
  var SvgLogoQplColor = function SvgLogoQplColor(_ref) {
12111
12219
  var title = _ref.title,
12112
12220
  titleId = _ref.titleId,
12113
- props = _objectWithoutProperties$1i(_ref, _excluded$1Q);
12221
+ props = _objectWithoutProperties$1i(_ref, _excluded$1R);
12114
12222
  return /*#__PURE__*/createElement("svg", _extends$1j({
12115
12223
  viewBox: "0 0 355 48",
12116
12224
  fill: "none",
@@ -12158,14 +12266,14 @@ var SvgLogoQplColor = function SvgLogoQplColor(_ref) {
12158
12266
  };
12159
12267
 
12160
12268
  var _path$11, _path2$p, _path3$g, _path4$5, _path5$4;
12161
- var _excluded$1R = ["title", "titleId"];
12269
+ var _excluded$1S = ["title", "titleId"];
12162
12270
  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); }
12163
12271
  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; }
12164
12272
  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; }
12165
12273
  var SvgLogoQplWhite = function SvgLogoQplWhite(_ref) {
12166
12274
  var title = _ref.title,
12167
12275
  titleId = _ref.titleId,
12168
- props = _objectWithoutProperties$1j(_ref, _excluded$1R);
12276
+ props = _objectWithoutProperties$1j(_ref, _excluded$1S);
12169
12277
  return /*#__PURE__*/createElement("svg", _extends$1k({
12170
12278
  viewBox: "0 0 320 43",
12171
12279
  fill: "#fff",
@@ -12195,14 +12303,14 @@ var SvgLogoQplWhite = function SvgLogoQplWhite(_ref) {
12195
12303
  };
12196
12304
 
12197
12305
  var _path$12, _path2$q, _path3$h, _path4$6, _path5$5;
12198
- var _excluded$1S = ["title", "titleId"];
12306
+ var _excluded$1T = ["title", "titleId"];
12199
12307
  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); }
12200
12308
  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; }
12201
12309
  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; }
12202
12310
  var SvgLogoReservoirIconColor = function SvgLogoReservoirIconColor(_ref) {
12203
12311
  var title = _ref.title,
12204
12312
  titleId = _ref.titleId,
12205
- props = _objectWithoutProperties$1k(_ref, _excluded$1S);
12313
+ props = _objectWithoutProperties$1k(_ref, _excluded$1T);
12206
12314
  return /*#__PURE__*/createElement("svg", _extends$1l({
12207
12315
  viewBox: "0 0 105 129",
12208
12316
  fill: "none",
@@ -12229,14 +12337,14 @@ var SvgLogoReservoirIconColor = function SvgLogoReservoirIconColor(_ref) {
12229
12337
  };
12230
12338
 
12231
12339
  var _g$f;
12232
- var _excluded$1T = ["title", "titleId"];
12340
+ var _excluded$1U = ["title", "titleId"];
12233
12341
  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); }
12234
12342
  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; }
12235
12343
  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; }
12236
12344
  var SvgLogoReservoirVerticalColor = function SvgLogoReservoirVerticalColor(_ref) {
12237
12345
  var title = _ref.title,
12238
12346
  titleId = _ref.titleId,
12239
- props = _objectWithoutProperties$1l(_ref, _excluded$1T);
12347
+ props = _objectWithoutProperties$1l(_ref, _excluded$1U);
12240
12348
  return /*#__PURE__*/createElement("svg", _extends$1m({
12241
12349
  viewBox: "0 0 234 261",
12242
12350
  fill: "none",
@@ -12262,14 +12370,14 @@ var SvgLogoReservoirVerticalColor = function SvgLogoReservoirVerticalColor(_ref)
12262
12370
  };
12263
12371
 
12264
12372
  var _path$13, _path2$r, _path3$i, _path4$7, _path5$6;
12265
- var _excluded$1U = ["title", "titleId"];
12373
+ var _excluded$1V = ["title", "titleId"];
12266
12374
  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); }
12267
12375
  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; }
12268
12376
  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; }
12269
12377
  var SvgLogoSchomburgBlack = function SvgLogoSchomburgBlack(_ref) {
12270
12378
  var title = _ref.title,
12271
12379
  titleId = _ref.titleId,
12272
- props = _objectWithoutProperties$1m(_ref, _excluded$1U);
12380
+ props = _objectWithoutProperties$1m(_ref, _excluded$1V);
12273
12381
  return /*#__PURE__*/createElement("svg", _extends$1n({
12274
12382
  viewBox: "0 0 185 79",
12275
12383
  xmlns: "http://www.w3.org/2000/svg",
@@ -12290,14 +12398,14 @@ var SvgLogoSchomburgBlack = function SvgLogoSchomburgBlack(_ref) {
12290
12398
  };
12291
12399
 
12292
12400
  var _path$14, _path2$s, _path3$j, _path4$8, _path5$7;
12293
- var _excluded$1V = ["title", "titleId"];
12401
+ var _excluded$1W = ["title", "titleId"];
12294
12402
  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); }
12295
12403
  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; }
12296
12404
  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; }
12297
12405
  var SvgLogoSchomburgCircleBlack = function SvgLogoSchomburgCircleBlack(_ref) {
12298
12406
  var title = _ref.title,
12299
12407
  titleId = _ref.titleId,
12300
- props = _objectWithoutProperties$1n(_ref, _excluded$1V);
12408
+ props = _objectWithoutProperties$1n(_ref, _excluded$1W);
12301
12409
  return /*#__PURE__*/createElement("svg", _extends$1o({
12302
12410
  viewBox: "0 0 67 67",
12303
12411
  xmlns: "http://www.w3.org/2000/svg",
@@ -12318,14 +12426,14 @@ var SvgLogoSchomburgCircleBlack = function SvgLogoSchomburgCircleBlack(_ref) {
12318
12426
  };
12319
12427
 
12320
12428
  var _path$15, _path2$t, _path3$k, _path4$9, _path5$8;
12321
- var _excluded$1W = ["title", "titleId"];
12429
+ var _excluded$1X = ["title", "titleId"];
12322
12430
  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); }
12323
12431
  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; }
12324
12432
  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; }
12325
12433
  var SvgLogoSchomburgCircleColor = function SvgLogoSchomburgCircleColor(_ref) {
12326
12434
  var title = _ref.title,
12327
12435
  titleId = _ref.titleId,
12328
- props = _objectWithoutProperties$1o(_ref, _excluded$1W);
12436
+ props = _objectWithoutProperties$1o(_ref, _excluded$1X);
12329
12437
  return /*#__PURE__*/createElement("svg", _extends$1p({
12330
12438
  viewBox: "0 0 67 67",
12331
12439
  fill: "none",
@@ -12352,14 +12460,14 @@ var SvgLogoSchomburgCircleColor = function SvgLogoSchomburgCircleColor(_ref) {
12352
12460
  };
12353
12461
 
12354
12462
  var _path$16, _path2$u, _path3$l, _path4$a, _path5$9;
12355
- var _excluded$1X = ["title", "titleId"];
12463
+ var _excluded$1Y = ["title", "titleId"];
12356
12464
  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); }
12357
12465
  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; }
12358
12466
  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; }
12359
12467
  var SvgLogoSchomburgCircleWhite = function SvgLogoSchomburgCircleWhite(_ref) {
12360
12468
  var title = _ref.title,
12361
12469
  titleId = _ref.titleId,
12362
- props = _objectWithoutProperties$1p(_ref, _excluded$1X);
12470
+ props = _objectWithoutProperties$1p(_ref, _excluded$1Y);
12363
12471
  return /*#__PURE__*/createElement("svg", _extends$1q({
12364
12472
  viewBox: "0 0 67 67",
12365
12473
  fill: "#fff",
@@ -12381,14 +12489,14 @@ var SvgLogoSchomburgCircleWhite = function SvgLogoSchomburgCircleWhite(_ref) {
12381
12489
  };
12382
12490
 
12383
12491
  var _path$17, _path2$v, _path3$m, _path4$b, _path5$a, _path6$3, _path7$3;
12384
- var _excluded$1Y = ["title", "titleId"];
12492
+ var _excluded$1Z = ["title", "titleId"];
12385
12493
  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); }
12386
12494
  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; }
12387
12495
  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; }
12388
12496
  var SvgLogoSchomburgColor = function SvgLogoSchomburgColor(_ref) {
12389
12497
  var title = _ref.title,
12390
12498
  titleId = _ref.titleId,
12391
- props = _objectWithoutProperties$1q(_ref, _excluded$1Y);
12499
+ props = _objectWithoutProperties$1q(_ref, _excluded$1Z);
12392
12500
  return /*#__PURE__*/createElement("svg", _extends$1r({
12393
12501
  viewBox: "0 0 185 79",
12394
12502
  fill: "none",
@@ -12421,14 +12529,14 @@ var SvgLogoSchomburgColor = function SvgLogoSchomburgColor(_ref) {
12421
12529
  };
12422
12530
 
12423
12531
  var _path$18, _path2$w, _path3$n, _path4$c, _path5$b;
12424
- var _excluded$1Z = ["title", "titleId"];
12532
+ var _excluded$1_ = ["title", "titleId"];
12425
12533
  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); }
12426
12534
  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; }
12427
12535
  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; }
12428
12536
  var SvgLogoSchomburgWhite = function SvgLogoSchomburgWhite(_ref) {
12429
12537
  var title = _ref.title,
12430
12538
  titleId = _ref.titleId,
12431
- props = _objectWithoutProperties$1r(_ref, _excluded$1Z);
12539
+ props = _objectWithoutProperties$1r(_ref, _excluded$1_);
12432
12540
  return /*#__PURE__*/createElement("svg", _extends$1s({
12433
12541
  viewBox: "0 0 185 79",
12434
12542
  fill: "#fff",
@@ -12450,14 +12558,14 @@ var SvgLogoSchomburgWhite = function SvgLogoSchomburgWhite(_ref) {
12450
12558
  };
12451
12559
 
12452
12560
  var _g$g, _defs$8;
12453
- var _excluded$1_ = ["title", "titleId"];
12561
+ var _excluded$1$ = ["title", "titleId"];
12454
12562
  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); }
12455
12563
  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; }
12456
12564
  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; }
12457
12565
  var SvgLogoSimplyeBlack = function SvgLogoSimplyeBlack(_ref) {
12458
12566
  var title = _ref.title,
12459
12567
  titleId = _ref.titleId,
12460
- props = _objectWithoutProperties$1s(_ref, _excluded$1_);
12568
+ props = _objectWithoutProperties$1s(_ref, _excluded$1$);
12461
12569
  return /*#__PURE__*/createElement("svg", _extends$1t({
12462
12570
  viewBox: "0 0 512 148",
12463
12571
  xmlns: "http://www.w3.org/2000/svg",
@@ -12482,14 +12590,14 @@ var SvgLogoSimplyeBlack = function SvgLogoSimplyeBlack(_ref) {
12482
12590
  };
12483
12591
 
12484
12592
  var _g$h, _defs$9;
12485
- var _excluded$1$ = ["title", "titleId"];
12593
+ var _excluded$20 = ["title", "titleId"];
12486
12594
  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); }
12487
12595
  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; }
12488
12596
  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; }
12489
12597
  var SvgLogoSimplyeWhite = function SvgLogoSimplyeWhite(_ref) {
12490
12598
  var title = _ref.title,
12491
12599
  titleId = _ref.titleId,
12492
- props = _objectWithoutProperties$1t(_ref, _excluded$1$);
12600
+ props = _objectWithoutProperties$1t(_ref, _excluded$20);
12493
12601
  return /*#__PURE__*/createElement("svg", _extends$1u({
12494
12602
  viewBox: "0 0 512 148",
12495
12603
  fill: "#fff",
@@ -12514,14 +12622,14 @@ var SvgLogoSimplyeWhite = function SvgLogoSimplyeWhite(_ref) {
12514
12622
  };
12515
12623
 
12516
12624
  var _g$i, _defs$a;
12517
- var _excluded$20 = ["title", "titleId"];
12625
+ var _excluded$21 = ["title", "titleId"];
12518
12626
  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); }
12519
12627
  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; }
12520
12628
  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; }
12521
12629
  var SvgLogoSimplyeColor = function SvgLogoSimplyeColor(_ref) {
12522
12630
  var title = _ref.title,
12523
12631
  titleId = _ref.titleId,
12524
- props = _objectWithoutProperties$1u(_ref, _excluded$20);
12632
+ props = _objectWithoutProperties$1u(_ref, _excluded$21);
12525
12633
  return /*#__PURE__*/createElement("svg", _extends$1v({
12526
12634
  viewBox: "0 0 682 196",
12527
12635
  fill: "none",
@@ -12553,14 +12661,14 @@ var SvgLogoSimplyeColor = function SvgLogoSimplyeColor(_ref) {
12553
12661
  };
12554
12662
 
12555
12663
  var _path$19;
12556
- var _excluded$21 = ["title", "titleId"];
12664
+ var _excluded$22 = ["title", "titleId"];
12557
12665
  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); }
12558
12666
  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; }
12559
12667
  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; }
12560
12668
  var SvgLogoSnflBlack = function SvgLogoSnflBlack(_ref) {
12561
12669
  var title = _ref.title,
12562
12670
  titleId = _ref.titleId,
12563
- props = _objectWithoutProperties$1v(_ref, _excluded$21);
12671
+ props = _objectWithoutProperties$1v(_ref, _excluded$22);
12564
12672
  return /*#__PURE__*/createElement("svg", _extends$1w({
12565
12673
  viewBox: "0 0 84 111",
12566
12674
  xmlns: "http://www.w3.org/2000/svg",
@@ -12573,14 +12681,14 @@ var SvgLogoSnflBlack = function SvgLogoSnflBlack(_ref) {
12573
12681
  };
12574
12682
 
12575
12683
  var _path$1a;
12576
- var _excluded$22 = ["title", "titleId"];
12684
+ var _excluded$23 = ["title", "titleId"];
12577
12685
  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); }
12578
12686
  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; }
12579
12687
  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; }
12580
12688
  var SvgLogoSnflWhite = function SvgLogoSnflWhite(_ref) {
12581
12689
  var title = _ref.title,
12582
12690
  titleId = _ref.titleId,
12583
- props = _objectWithoutProperties$1w(_ref, _excluded$22);
12691
+ props = _objectWithoutProperties$1w(_ref, _excluded$23);
12584
12692
  return /*#__PURE__*/createElement("svg", _extends$1x({
12585
12693
  viewBox: "0 0 84 111",
12586
12694
  fill: "#fff",
@@ -12594,14 +12702,14 @@ var SvgLogoSnflWhite = function SvgLogoSnflWhite(_ref) {
12594
12702
  };
12595
12703
 
12596
12704
  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;
12597
- var _excluded$23 = ["title", "titleId"];
12705
+ var _excluded$24 = ["title", "titleId"];
12598
12706
  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); }
12599
12707
  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; }
12600
12708
  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; }
12601
12709
  var SvgLogoTreasuresColor = function SvgLogoTreasuresColor(_ref) {
12602
12710
  var title = _ref.title,
12603
12711
  titleId = _ref.titleId,
12604
- props = _objectWithoutProperties$1x(_ref, _excluded$23);
12712
+ props = _objectWithoutProperties$1x(_ref, _excluded$24);
12605
12713
  return /*#__PURE__*/createElement("svg", _extends$1y({
12606
12714
  viewBox: "0 0 324 265",
12607
12715
  fill: "none",
@@ -12778,14 +12886,14 @@ var SvgLogoTreasuresColor = function SvgLogoTreasuresColor(_ref) {
12778
12886
  };
12779
12887
 
12780
12888
  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;
12781
- var _excluded$24 = ["title", "titleId"];
12889
+ var _excluded$25 = ["title", "titleId"];
12782
12890
  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); }
12783
12891
  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; }
12784
12892
  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; }
12785
12893
  var SvgLogoTreasuresColorNegative = function SvgLogoTreasuresColorNegative(_ref) {
12786
12894
  var title = _ref.title,
12787
12895
  titleId = _ref.titleId,
12788
- props = _objectWithoutProperties$1y(_ref, _excluded$24);
12896
+ props = _objectWithoutProperties$1y(_ref, _excluded$25);
12789
12897
  return /*#__PURE__*/createElement("svg", _extends$1z({
12790
12898
  viewBox: "0 0 327 266",
12791
12899
  fill: "none",
@@ -13012,7 +13120,7 @@ var logoSvgs = {
13012
13120
  treasuresColorNegative: SvgLogoTreasuresColorNegative
13013
13121
  };
13014
13122
 
13015
- var _excluded$25 = ["children", "className", "decorative", "id", "name", "size", "title"];
13123
+ var _excluded$26 = ["children", "className", "decorative", "id", "name", "size", "title"];
13016
13124
  /**
13017
13125
  * The `Logo` component renders SVG-based logos and color variants that are
13018
13126
  * commonly used by the New York Public Library.
@@ -13029,7 +13137,7 @@ var Logo$1 = /*#__PURE__*/chakra( /*#__PURE__*/forwardRef(function (props, ref)
13029
13137
  size = _props$size === void 0 ? "medium" : _props$size,
13030
13138
  _props$title = props.title,
13031
13139
  title = _props$title === void 0 ? name + " logo" : _props$title,
13032
- rest = _objectWithoutPropertiesLoose(props, _excluded$25);
13140
+ rest = _objectWithoutPropertiesLoose(props, _excluded$26);
13033
13141
  var styles = useStyleConfig("Logo", {
13034
13142
  size: size
13035
13143
  });
@@ -13130,7 +13238,7 @@ var link$1 = {
13130
13238
  }]
13131
13239
  };
13132
13240
 
13133
- var _excluded$26 = ["className", "id"];
13241
+ var _excluded$27 = ["className", "id"];
13134
13242
  /**
13135
13243
  * This `Footer` component renders the NYPL-branded footer elements such
13136
13244
  * as navigational NYPL.org links, social media links, copyright, and
@@ -13140,7 +13248,7 @@ var Footer$1 = /*#__PURE__*/chakra( /*#__PURE__*/forwardRef(function (_ref, ref)
13140
13248
  var className = _ref.className,
13141
13249
  _ref$id = _ref.id,
13142
13250
  id = _ref$id === void 0 ? "footer" : _ref$id,
13143
- rest = _objectWithoutPropertiesLoose(_ref, _excluded$26);
13251
+ rest = _objectWithoutPropertiesLoose(_ref, _excluded$27);
13144
13252
  var styles = useMultiStyleConfig("Footer", {});
13145
13253
  var nyplLinks = link$1.nyplLinks.map(function (links, index) {
13146
13254
  return React__default.createElement(List$1, {
@@ -13209,11 +13317,11 @@ var Footer$1 = /*#__PURE__*/chakra( /*#__PURE__*/forwardRef(function (_ref, ref)
13209
13317
  })));
13210
13318
  }));
13211
13319
 
13212
- var _excluded$27 = ["align", "className"];
13320
+ var _excluded$28 = ["align", "className"];
13213
13321
  var HorizontalRule$1 = /*#__PURE__*/chakra( /*#__PURE__*/forwardRef(function (props, ref) {
13214
13322
  var align = props.align,
13215
13323
  className = props.className,
13216
- rest = _objectWithoutPropertiesLoose(props, _excluded$27);
13324
+ rest = _objectWithoutPropertiesLoose(props, _excluded$28);
13217
13325
  var styles = useStyleConfig("HorizontalRule", {
13218
13326
  align: align
13219
13327
  });
@@ -13229,7 +13337,7 @@ var HorizontalRule$1 = /*#__PURE__*/chakra( /*#__PURE__*/forwardRef(function (pr
13229
13337
  }, rest));
13230
13338
  }));
13231
13339
 
13232
- var _excluded$28 = ["className", "id", "target"];
13340
+ var _excluded$29 = ["className", "id", "target"];
13233
13341
  /**
13234
13342
  * SkipNavigation is a component that is used to provide a navigational list of
13235
13343
  * links. The first link is used to skip to the main content of the page using
@@ -13241,7 +13349,7 @@ var SkipNavigation$1 = /*#__PURE__*/chakra( /*#__PURE__*/forwardRef(function (pr
13241
13349
  id = props.id,
13242
13350
  _props$target = props.target,
13243
13351
  target = _props$target === void 0 ? "#mainContent" : _props$target,
13244
- rest = _objectWithoutPropertiesLoose(props, _excluded$28);
13352
+ rest = _objectWithoutPropertiesLoose(props, _excluded$29);
13245
13353
  var styles = useStyleConfig("SkipNavigation");
13246
13354
  return React__default.createElement(Box, Object.assign({
13247
13355
  as: "nav",
@@ -13263,7 +13371,6 @@ var SkipNavigation$1 = /*#__PURE__*/chakra( /*#__PURE__*/forwardRef(function (pr
13263
13371
 
13264
13372
  /*eslint no-useless-escape: 0 */
13265
13373
  var alertsApiUrl = "https://refinery.nypl.org/api/nypl/ndo/v0.1/content/alerts?filter%5Bscope%5D=all";
13266
- var patronApiUrl = "https://platform.nypl.org/api/v0.1/auth/patron/tokens/";
13267
13374
  var authServerBase = {
13268
13375
  production: "https://login.nypl.org/auth",
13269
13376
  development: "https://dev-login.nypl.org/auth"
@@ -13278,14 +13385,6 @@ var baseLoginLinks = {
13278
13385
  development: "https://nypl-sierra-test.nypl.org/patroninfo/top"
13279
13386
  }
13280
13387
  };
13281
- // Make sure the auth token refresh link is correct for the environment.
13282
- var tokenRefreshLink = function tokenRefreshLink(isProduction) {
13283
- if (isProduction === void 0) {
13284
- isProduction = true;
13285
- }
13286
- var type = isProduction ? "production" : "development";
13287
- return authServerBase[type] + "/refresh";
13288
- };
13289
13388
  // Return the proper links when logged in or not. These are for the NYPL
13290
13389
  // "Log in" or "Go to" links for Encore and the Research Catalog. This is
13291
13390
  // based on the environment and logged in status.
@@ -13396,6 +13495,16 @@ var getEncoreCatalogURL = function getEncoreCatalogURL(searchValue) {
13396
13495
  }
13397
13496
  return null;
13398
13497
  };
13498
+ /**
13499
+ * Returns the final URL for the NYPL Research Catalog search.
13500
+ */
13501
+ var getResearchCatalogURL = function getResearchCatalogURL(searchValue) {
13502
+ var catalogUrl = "https://www.nypl.org/research/research-catalog/search?q=";
13503
+ if (searchValue) {
13504
+ return "" + catalogUrl + encodeURIComponent(searchValue) + "&" + generateQueriesForGA() + "&lang=eng";
13505
+ }
13506
+ return null;
13507
+ };
13399
13508
  /**
13400
13509
  * Returns the final URL for the NYPL catalog search.
13401
13510
  */
@@ -13441,100 +13550,6 @@ var parseAlertsData = function parseAlertsData(data) {
13441
13550
  });
13442
13551
  return filteredAlerts;
13443
13552
  };
13444
- /**
13445
- * `refreshAccessToken` attempts to refresh the "nyplIdentityPatron" cookie's
13446
- * `accessToken` by making a request to the `tokenRefreshLink`. If successful,
13447
- * it tries to fetch the patron's data again.
13448
- */
13449
- var refreshAccessToken = function refreshAccessToken(api, cb, fallBackCb) {
13450
- var refreshErrorMessage = "NYPL Reservoir Header: There was an error refreshing NYPL patron data.";
13451
- fetch(api, {
13452
- credentials: "include"
13453
- }).then(function (response) {
13454
- // If the response to the `tokenRefreshLink` is successful, make another
13455
- // request to the `patronApiUrl` using the refreshed accessToken.
13456
- if (response.status >= 200 && response.status < 300) {
13457
- var _getCookieValue = getCookieValue(),
13458
- accessToken = _getCookieValue.accessToken;
13459
- getLoginData(accessToken, cb);
13460
- } else {
13461
- // If the call to the `tokenRefreshLink` is unsuccessful, throw an error.
13462
- // Doing so will drop us down to the catch block below.
13463
- throw new Error(refreshErrorMessage);
13464
- }
13465
- })["catch"](function (error) {
13466
- // The server responded with a status that falls out of the 2xx range
13467
- // or the call to the `tokenRefreshLink` endpoint was unsuccessful.
13468
- console.warn(refreshErrorMessage);
13469
- console.warn("Error Data: " + (error == null ? void 0 : error.data));
13470
- console.warn("Error Status: " + (error == null ? void 0 : error.status));
13471
- console.warn("Error Headers: " + (error == null ? void 0 : error.headers));
13472
- console.warn("Error Config: " + (error == null ? void 0 : error.config));
13473
- fallBackCb();
13474
- });
13475
- };
13476
- /**
13477
- * getCookieValue uses the js.cookie package to get the value
13478
- * of the "nyplIdentityPatron" cookie (if it exists) and extract
13479
- * the cookie's `access_token`.
13480
- */
13481
- var getCookieValue = function getCookieValue() {
13482
- var cookieValue = Cookies.get("nyplIdentityPatron");
13483
- var accessToken = cookieValue ? JSON.parse(cookieValue).access_token : "";
13484
- return {
13485
- cookieValue: cookieValue,
13486
- accessToken: accessToken
13487
- };
13488
- };
13489
- var deleteCookieValue = function deleteCookieValue() {
13490
- Cookies.remove("nyplIdentityPatron");
13491
- };
13492
- /**
13493
- * getLoginData uses the `patronApiUrl` combined with the
13494
- * `accessToken` from the "nyplIdentityPatron" cookie to fetch
13495
- * the patron's information from the server.
13496
- */
13497
- var getLoginData = function getLoginData(accessToken, cb) {
13498
- var fetchErrorMessage = "NYPL Reservoir Header: There was an error fetching NYPL patron data.";
13499
- fetch("" + patronApiUrl + accessToken).then(function (response) {
13500
- // If the response has a status of 2xx or 401, parse it and pass it
13501
- // to the .then() callback function. We want to include the responses
13502
- // with a status of 401 because they could show the `accessToken` is
13503
- // expired and needs refreshing.
13504
- if (response.status >= 200 && response.status < 300 || response.status === 401) {
13505
- return response.json();
13506
- }
13507
- // If the response's status is not 2xx or 401, throw an error.
13508
- // Doing so will drop us down to the catch block below.
13509
- throw new Error(fetchErrorMessage);
13510
- })
13511
- // The callback function is `loginDataCallback`, declared in `Header.tsx`.
13512
- // It will try to refresh the accessToken if expired or extract the patron's
13513
- // name from the returned data if not.
13514
- .then(cb)["catch"](function (error) {
13515
- // In this scenario, the server responded with a status code that
13516
- // falls out of the range of 2xx and is not 401 with the expired token.
13517
- console.warn(fetchErrorMessage);
13518
- console.warn("Error Data: " + (error == null ? void 0 : error.data));
13519
- console.warn("Error Message: " + (error == null ? void 0 : error.message));
13520
- console.warn("Error Status: " + (error == null ? void 0 : error.status));
13521
- console.warn("Error Headers: " + (error == null ? void 0 : error.headers));
13522
- console.warn("Error Config: " + (error == null ? void 0 : error.config));
13523
- });
13524
- };
13525
- /**
13526
- * `extractPatronName` locates and returns the `patronName`
13527
- * from the nested object that is returned from `getLoginData`.
13528
- */
13529
- var extractPatronName = function extractPatronName(data) {
13530
- try {
13531
- var _data$data$patron$nam = data.data.patron.names,
13532
- patronName = _data$data$patron$nam[0];
13533
- return patronName;
13534
- } catch (e) {
13535
- return "";
13536
- }
13537
- };
13538
13553
 
13539
13554
  // Account codes for Google Analytics for different NYPL environments.
13540
13555
  var envConfig = {
@@ -13641,13 +13656,14 @@ var gaUtils = /*#__PURE__*/new GaUtils();
13641
13656
  var HeaderSearchForm$1 = /*#__PURE__*/chakra(function (_ref) {
13642
13657
  var _ref$isMobile = _ref.isMobile,
13643
13658
  isMobile = _ref$isMobile === void 0 ? false : _ref$isMobile;
13659
+ var defaultSearchRadioValue = "circulatingCatalog";
13644
13660
  var _useState = useState("What would you like to find?"),
13645
13661
  placeholder = _useState[0],
13646
13662
  setPlaceholder = _useState[1];
13647
13663
  var _useState2 = useState(""),
13648
13664
  searchInput = _useState2[0],
13649
13665
  setSearchInput = _useState2[1];
13650
- var _useState3 = useState("catalog"),
13666
+ var _useState3 = useState(defaultSearchRadioValue),
13651
13667
  searchOption = _useState3[0],
13652
13668
  setSearchOption = _useState3[1];
13653
13669
  var _useState4 = useState(false),
@@ -13661,22 +13677,24 @@ var HeaderSearchForm$1 = /*#__PURE__*/chakra(function (_ref) {
13661
13677
  });
13662
13678
  // GASearchedRepo indicates which kind of search is sent.
13663
13679
  var gaSearchedRepo = "Unknown";
13664
- var onSubmit = function onSubmit(e, mobileType) {
13665
- if (mobileType === void 0) {
13666
- mobileType = "";
13667
- }
13680
+ var onSubmit = function onSubmit(e) {
13668
13681
  e.preventDefault();
13669
13682
  var newGaConfig = _extends({}, gaConfig);
13670
13683
  var gaSearchLabel;
13671
13684
  var requestUrl;
13672
13685
  // If there is a search input, make the request.
13673
13686
  if (searchInput) {
13674
- if (searchOption === "catalog" || mobileType === "catalog") {
13675
- gaSearchLabel = "Submit Catalog Search";
13687
+ if (searchOption === "circulatingCatalog") {
13688
+ gaSearchLabel = "Submit Circulating Catalog Search";
13676
13689
  gaSearchedRepo = "Encore";
13677
13690
  requestUrl = getEncoreCatalogURL(searchInput);
13678
13691
  }
13679
- if (searchOption === "website" || mobileType === "website") {
13692
+ if (searchOption === "researchCatalog") {
13693
+ gaSearchLabel = "Submit Research Catalog Search";
13694
+ gaSearchedRepo = "Research Catalog";
13695
+ requestUrl = getResearchCatalogURL(searchInput);
13696
+ }
13697
+ if (searchOption === "website") {
13680
13698
  gaSearchLabel = "Submit Search";
13681
13699
  gaSearchedRepo = "DrupalSearch";
13682
13700
  requestUrl = getNYPLSearchURL(searchInput);
@@ -13726,12 +13744,7 @@ var HeaderSearchForm$1 = /*#__PURE__*/chakra(function (_ref) {
13726
13744
  id: "fieldset-search",
13727
13745
  isLegendHidden: true,
13728
13746
  legendText: "Enter a keyword, then choose to search either the catalog or the website"
13729
- }, React__default.createElement(TextInput
13730
- // eslint-disable-next-line jsx-a11y/no-autofocus
13731
- // autoFocus
13732
- , {
13733
- // eslint-disable-next-line jsx-a11y/no-autofocus
13734
- // autoFocus
13747
+ }, React__default.createElement(TextInput, {
13735
13748
  id: "searchInput",
13736
13749
  isRequired: true,
13737
13750
  labelText: "Enter Search Keyword",
@@ -13740,101 +13753,50 @@ var HeaderSearchForm$1 = /*#__PURE__*/chakra(function (_ref) {
13740
13753
  },
13741
13754
  placeholder: placeholder,
13742
13755
  showRequiredLabel: false,
13743
- showLabel: !isMobile,
13744
13756
  value: searchInput,
13745
13757
  __css: styles.textInput
13746
- }), React__default.createElement(Icon, {
13747
- name: "search",
13748
- size: "small",
13749
- __css: styles.mobileSearchIcon
13750
- }))), !isMobile && React__default.createElement(FormField, {
13751
- gridColumn: "4"
13758
+ }))), React__default.createElement(FormField, {
13759
+ gridColumn: {
13760
+ base: "3",
13761
+ md: "4"
13762
+ }
13752
13763
  }, React__default.createElement(ButtonGroup, null, React__default.createElement(Button, {
13753
13764
  "aria-label": "Search",
13754
13765
  buttonType: "pill",
13755
13766
  id: "search-btn",
13756
13767
  onClick: onSubmit,
13757
- __css: styles.desktopSearchBtn
13768
+ __css: styles.searchBtn
13758
13769
  }, React__default.createElement(Icon, {
13759
13770
  name: "search",
13760
13771
  size: "large"
13761
- }))))), React__default.createElement(FormRow, null, React__default.createElement(FormField, null, isMobile ? React__default.createElement(HStack, {
13762
- spacing: "0"
13763
- }, React__default.createElement(Button, {
13764
- "aria-label": "Submit Catalog Search",
13765
- id: "mobile-catalog",
13766
- onClick: function onClick(e) {
13767
- return onSubmit(e, "catalog");
13768
- },
13769
- __css: styles.mobileBtns
13770
- }, "CATALOG", React__default.createElement(Icon, {
13771
- name: "arrow",
13772
- size: "small",
13773
- iconRotation: "rotate270"
13774
- })), React__default.createElement(Button, {
13775
- "aria-label": "Submit NYPL Website Search",
13776
- id: "mobile-website",
13777
- onClick: function onClick(e) {
13778
- return onSubmit(e, "website");
13779
- },
13780
- __css: styles.mobileBtns
13781
- }, "NYPL.ORG", React__default.createElement(Icon, {
13782
- name: "arrow",
13783
- size: "small",
13784
- iconRotation: "rotate270"
13785
- }))) : React__default.createElement(RadioGroup$1, {
13786
- defaultValue: "catalog",
13772
+ }))))), React__default.createElement(FormRow, null, React__default.createElement(FormField, null, React__default.createElement(RadioGroup$1, {
13773
+ defaultValue: "circulatingCatalog",
13787
13774
  id: "search-type",
13788
13775
  labelText: "Type of search",
13789
- layout: "row",
13776
+ layout: isMobile ? "column" : "row",
13790
13777
  name: "catalogWebsiteSearch",
13791
13778
  onChange: function onChange(val) {
13792
13779
  return setSearchOption(val);
13793
13780
  },
13794
13781
  showLabel: false
13795
13782
  }, React__default.createElement(Radio$1, {
13796
- id: "catalogSearch",
13797
- labelText: "Search the Catalog",
13798
- value: "catalog",
13783
+ id: "circulatingCatalogSearch",
13784
+ labelText: "Search books, music, and movies",
13785
+ value: "circulatingCatalog",
13786
+ __css: styles.radio
13787
+ }), React__default.createElement(Radio$1, {
13788
+ id: "researchcatalogSearch",
13789
+ labelText: "Search the Research Catalog",
13790
+ value: "researchCatalog",
13799
13791
  __css: styles.radio
13800
13792
  }), React__default.createElement(Radio$1, {
13801
13793
  id: "websiteSearch",
13802
- labelText: "Search NYPL.org",
13794
+ labelText: "Search the library website",
13803
13795
  value: "website",
13804
13796
  __css: styles.radio
13805
13797
  }))))));
13806
13798
  });
13807
13799
 
13808
- /**
13809
- * Close dropdowns when clicking outside of them or by pressing
13810
- * the escape key. It expects an action callback that will set
13811
- * the dropdown state to false (close).
13812
- */
13813
- var useCloseDropDown = function useCloseDropDown(actionCb, ref) {
13814
- // Listen for keydown events on the document for the escape key.
13815
- useEffect(function () {
13816
- var close = function close(e) {
13817
- var key = e.key || e.keyCode;
13818
- if (key === "Escape" || key === "Esc" || key === 27) {
13819
- actionCb(false);
13820
- }
13821
- };
13822
- window.addEventListener("keydown", close);
13823
- return function () {
13824
- return window.removeEventListener("keydown", close);
13825
- };
13826
- // eslint-disable-next-line react-hooks/exhaustive-deps
13827
- }, []);
13828
- // Listen for click events on the document outside of the
13829
- // element that the `ref` prop points to.
13830
- useOutsideClick({
13831
- ref: ref,
13832
- handler: function handler() {
13833
- return actionCb(false);
13834
- }
13835
- });
13836
- };
13837
-
13838
13800
  /**
13839
13801
  * This is the button that will render the search form when it is clicked
13840
13802
  * and keep focus trapped within the menu.
@@ -13939,35 +13901,22 @@ var HeaderProvider = function HeaderProvider(_ref) {
13939
13901
  */
13940
13902
  var HeaderLogin$1 = /*#__PURE__*/chakra(function (_ref) {
13941
13903
  var catalogRef = _ref.catalogRef,
13942
- greetingRef = _ref.greetingRef,
13943
13904
  isMobile = _ref.isMobile;
13944
13905
  var _useContext = useContext(HeaderContext),
13945
- isProduction = _useContext.isProduction,
13946
- patronName = _useContext.patronName;
13947
- var _getLoginLinks = getLoginLinks(patronName, isProduction),
13906
+ isProduction = _useContext.isProduction;
13907
+ var _getLoginLinks = getLoginLinks("", isProduction),
13948
13908
  catalogLink = _getLoginLinks.catalogLink,
13949
- researchLink = _getLoginLinks.researchLink,
13950
- logOutLink = _getLoginLinks.logOutLink;
13909
+ researchLink = _getLoginLinks.researchLink;
13951
13910
  var styles = useMultiStyleConfig("HeaderLogin", {
13952
- patronName: patronName
13911
+ patronName: ""
13953
13912
  });
13954
- var updatedLogOutLink = logOutLink + "?redirect_uri=" + window.location.href;
13955
- var gaAction = "" + (isMobile ? "Mobile " : "") + (patronName ? "Go To" : "Log In");
13913
+ var gaAction = (isMobile ? "Mobile " : "") + "Go To";
13956
13914
  return React__default.createElement(VStack, {
13957
13915
  __css: styles
13958
- }, patronName && React__default.createElement(Box, {
13959
- "data-testid": "patronGreeting",
13960
- ref: greetingRef,
13961
- tabIndex: 0,
13962
- __css: styles.patronGreeting
13963
- }, React__default.createElement(Text, {
13964
- className: "greeting"
13965
- }, "You are logged in as: "), React__default.createElement(Text, {
13966
- className: "name"
13967
- }, patronName)), React__default.createElement(List$1, {
13916
+ }, React__default.createElement(List$1, {
13968
13917
  listItems: [React__default.createElement(Link, {
13969
- key: "logInCatalog",
13970
13918
  href: catalogLink,
13919
+ key: "logInCatalog",
13971
13920
  onClick: function onClick() {
13972
13921
  return gaUtils.trackEvent(gaAction, "Catalog");
13973
13922
  },
@@ -13978,15 +13927,12 @@ var HeaderLogin$1 = /*#__PURE__*/chakra(function (_ref) {
13978
13927
  color: "ui.white",
13979
13928
  name: "legacyAccountUnfilled",
13980
13929
  size: isMobile ? "xlarge" : "medium",
13981
- title: "Log in to your account",
13930
+ title: "Go to the Catalog",
13982
13931
  sx: isMobile ? {
13983
13932
  height: "1.6rem",
13984
- width: "1.5rem"
13985
- } : {
13986
- width: "1.3rem",
13987
- height: "1.4rem"
13988
- }
13989
- }), React__default.createElement("span", null, patronName ? "Go To The Catalog" : "Log Into The Catalog")), React__default.createElement(Link, {
13933
+ width: "1.6rem"
13934
+ } : {}
13935
+ }), React__default.createElement("span", null, "Go To The Catalog")), React__default.createElement(Link, {
13990
13936
  href: researchLink,
13991
13937
  key: "logInResearch",
13992
13938
  onClick: function onClick() {
@@ -13998,26 +13944,15 @@ var HeaderLogin$1 = /*#__PURE__*/chakra(function (_ref) {
13998
13944
  color: "ui.white",
13999
13945
  name: "building",
14000
13946
  size: isMobile ? "xlarge" : "medium",
14001
- title: "Log in to your account",
13947
+ title: "Go to the Research Catalog",
14002
13948
  sx: isMobile ? {} : {
14003
13949
  width: "1.6rem",
14004
13950
  height: "1.6rem"
14005
13951
  }
14006
- }), React__default.createElement("span", null, patronName ? "Go To The Research Catalog" : "Log Into The Research Catalog"))],
13952
+ }), React__default.createElement("span", null, "Go To The Research Catalog"))],
14007
13953
  noStyling: true,
14008
13954
  type: "ul"
14009
- }), patronName && React__default.createElement(Link, {
14010
- href: updatedLogOutLink,
14011
- type: "button",
14012
- onClick: function onClick() {
14013
- return gaUtils.trackEvent("My Account", "Log Out");
14014
- },
14015
- __css: styles.logoutButton
14016
- }, !isMobile && React__default.createElement(Icon, {
14017
- align: "left",
14018
- name: "actionLaunch",
14019
- size: "medium"
14020
- }), "Log Out"));
13955
+ }));
14021
13956
  });
14022
13957
 
14023
13958
  /**
@@ -14031,30 +13966,23 @@ var HeaderLoginButton$1 = /*#__PURE__*/chakra(function (_ref) {
14031
13966
  var _useState = useState(false),
14032
13967
  isOpen = _useState[0],
14033
13968
  setIsOpen = _useState[1];
14034
- var _useContext = useContext(HeaderContext),
14035
- patronName = _useContext.patronName;
14036
13969
  var catalogRef = useRef(null);
14037
- var greetingRef = useRef(null);
14038
13970
  var wrapperRef = useRef(null);
14039
13971
  var styles = useStyleConfig("HeaderLoginButton", {
14040
13972
  isOpen: isOpen
14041
13973
  });
14042
13974
  var desktopIcon = isOpen ? "close" : "arrow";
14043
- var mobileIcon = isOpen ? "close" : patronName ? "legacyAccountFilled" : "legacyAccountUnfilled";
14044
- var desktopButtonLabel = isOpen ? "Close" : patronName ? "My Account" : "Log In";
14045
- var gaAction = isMobile ? "Click" : patronName ? "My Account" : "Log In";
14046
- var gaLabelBase = isMobile ? patronName ? "clickMyAccount" : "clickLogIn" : "MyNyplButton - " + (isOpen ? "Closed" : "Open");
13975
+ var mobileIcon = isOpen ? "close" : "legacyAccountFilled";
13976
+ var desktopButtonLabel = isOpen ? "Close" : "My Account";
13977
+ var gaAction = isMobile ? "Click" : "My Account";
13978
+ var gaLabelBase = isMobile ? "clickMyAccount" : "MyNyplButton - " + (isOpen ? "Closed" : "Open");
14047
13979
  var gaLabel = "" + (isMobile ? "Mobile " : "") + gaLabelBase;
14048
13980
  useCloseDropDown(setIsOpen, wrapperRef);
14049
13981
  useEffect(function () {
14050
13982
  if (isOpen) {
14051
- if (patronName) {
14052
- greetingRef.current.focus();
14053
- } else {
14054
- catalogRef.current.focus();
14055
- }
13983
+ catalogRef.current.focus();
14056
13984
  }
14057
- }, [isOpen, patronName]);
13985
+ }, [isOpen]);
14058
13986
  return React__default.createElement(Box, {
14059
13987
  ref: wrapperRef
14060
13988
  }, React__default.createElement(FocusLock, {
@@ -14075,7 +14003,6 @@ var HeaderLoginButton$1 = /*#__PURE__*/chakra(function (_ref) {
14075
14003
  title: "Log in to your account"
14076
14004
  })), isOpen && React__default.createElement(HeaderLogin$1, {
14077
14005
  catalogRef: catalogRef,
14078
- greetingRef: greetingRef,
14079
14006
  isMobile: isMobile
14080
14007
  })));
14081
14008
  });
@@ -14341,121 +14268,6 @@ var HeaderUpperNav$1 = /*#__PURE__*/chakra(function () {
14341
14268
  }));
14342
14269
  });
14343
14270
 
14344
- var encoreLogOutURL = "https://browse.nypl.org/iii/encore/logoutFilterRedirect?suite=def";
14345
- // Expiration time is 30 minutes set in milliseconds.
14346
- var patLoggedInCookieExpiredTime = 1800000;
14347
- function EncoreCatalogLogOutTimer(currentTime, isTestMode) {
14348
- var _this = this;
14349
- if (currentTime === void 0) {
14350
- currentTime = Date.now();
14351
- }
14352
- if (isTestMode === void 0) {
14353
- isTestMode = false;
14354
- }
14355
- /**
14356
- * This method is to set a timer to delete related cookies and completely log
14357
- * out a patron from Encore after its expiration time. This is to keep the
14358
- * logged in status consistent with the Encore server so the patrons don’t
14359
- * have to log in when they are using non-account-required operations
14360
- * such as searching items. Unfortunately, the patron will also be logged out
14361
- * from Catalog, so we have to keep tracking the patrons' activites on
14362
- * Catalog as well. Test Classic Catalog is used for QA.
14363
- * The default expiration time is 30 mins.
14364
- */
14365
- this.setEncoreLoggedInTimer = function (currentLocationHost) {
14366
- var domainsForExtendingLogIn = [
14367
- // the domain of Encore's pages
14368
- "browse.nypl.org",
14369
- // the domain of Research Catalog's pages
14370
- // Should this now be "www.nypl.org" since the new catalog is
14371
- // https://www.nypl.org/research/research-catalog/ ??
14372
- "catalog.nypl.org",
14373
- // the domain of Test Research Catalog's pages
14374
- "nypl-sierra-test.nypl.org"];
14375
- var isOnValidDomain = domainsForExtendingLogIn.some(function (domain) {
14376
- return domain === currentLocationHost;
14377
- });
14378
- var isLoggedIn = Cookies.get("PAT_LOGGED_IN");
14379
- if (!isLoggedIn) {
14380
- // The cookie "PAT_LOGGED_IN" does not exist, delete the
14381
- // "nyplIdentityPatron" cookie to log the patron out.
14382
- if (Cookies.get("nyplIdentityPatron")) {
14383
- Cookies.remove("nyplIdentityPatron");
14384
- }
14385
- // Delete cookie "VALID_DOMAIN_LAST_VISITED" which holds the last time
14386
- // the patron visited the valid domain.
14387
- if (Cookies.get("VALID_DOMAIN_LAST_VISITED")) {
14388
- Cookies.remove("VALID_DOMAIN_LAST_VISITED");
14389
- }
14390
- } else {
14391
- // Update the "VALID_DOMAIN_LAST_VISITED" cookie in two scenarios:
14392
- // 1. The patron is on a Sierra (Encore) hosted page, actively
14393
- // refresh their session.
14394
- // 2. The "VALID_DOMAIN_LAST_VISITED" cookie doesn't exist, which will
14395
- // only happen if the patron logged in through a redirect, without
14396
- // running JS on a "valid domain".
14397
- if (isOnValidDomain || !Cookies.get("VALID_DOMAIN_LAST_VISITED")) {
14398
- Cookies.set("VALID_DOMAIN_LAST_VISITED", currentTime);
14399
- _this.logOutFromEncoreAndCatalogIn(patLoggedInCookieExpiredTime);
14400
- } else {
14401
- // The time in ms since the patron has been on the valid domain.
14402
- var lastVisitedValidDomainTime = Cookies.get("VALID_DOMAIN_LAST_VISITED");
14403
- var timeUntilLogOut = lastVisitedValidDomainTime ? patLoggedInCookieExpiredTime - (currentTime - lastVisitedValidDomainTime) : undefined;
14404
- _this.logOutFromEncoreAndCatalogIn(timeUntilLogOut);
14405
- }
14406
- }
14407
- };
14408
- /**
14409
- * The timer to delete logged in related cookies and call the method to
14410
- * completely log out from Encore and Catalog.
14411
- */
14412
- this.logOutFromEncoreAndCatalogIn = function (time) {
14413
- var timeUntilLogOut = time > 0 ? time : 0;
14414
- // When in test mode, set the timeout no longer than a second.
14415
- if (isTestMode && timeUntilLogOut > 8000) {
14416
- timeUntilLogOut = 1000;
14417
- }
14418
- setTimeout(function () {
14419
- Cookies.remove("PAT_LOGGED_IN");
14420
- Cookies.remove("VALID_DOMAIN_LAST_VISITED");
14421
- Cookies.remove("nyplIdentityPatron");
14422
- _this.loadLogOutIframe(isTestMode);
14423
- }, timeUntilLogOut);
14424
- };
14425
- /**
14426
- * The function that loads and inserts a temporary `iframe` element into the
14427
- * body of the current page. The `iframe` has the log out endpoint to
14428
- * completely log out the patron from Encore and Catalog. The `iframe`
14429
- * element is then removed.
14430
- *
14431
- * This is the preferred method to log out from Encore and Catalog because it
14432
- * allows us to load the logout endpoint to bypass the CORS issue caused by
14433
- * loading this endpoint from the client. III does not provide a real log out
14434
- * API URI.
14435
- */
14436
- this.loadLogOutIframe = function (isTestMode) {
14437
- if (isTestMode === void 0) {
14438
- isTestMode = false;
14439
- }
14440
- var logoutIframe = document.createElement("iframe");
14441
- var _document$getElements = document.getElementsByTagName("body"),
14442
- body = _document$getElements[0];
14443
- var iframeExistingTime = 10000;
14444
- // Set the `iframe`'s src to the endpoint URL for logging out from Encore.
14445
- logoutIframe.setAttribute("src", encoreLogOutURL);
14446
- // Assign an ID for CSS usage.
14447
- logoutIframe.setAttribute("id", "logoutIframe");
14448
- logoutIframe.style.display = "none";
14449
- body.appendChild(logoutIframe);
14450
- // Remove the `iframe` after the timeout but keep it in the test mode.
14451
- if (!isTestMode) {
14452
- setTimeout(function () {
14453
- body.removeChild(logoutIframe);
14454
- }, iframeExistingTime);
14455
- }
14456
- };
14457
- }
14458
-
14459
14271
  /**
14460
14272
  * The NYPL `Header` component is the top-level component of the site. It
14461
14273
  * contains features for logging in, logging out, searching, and navigating
@@ -14468,33 +14280,10 @@ var Header$1 = /*#__PURE__*/chakra(function (_ref) {
14468
14280
  gaOptions = _ref$gaOptions === void 0 ? {} : _ref$gaOptions,
14469
14281
  _ref$isProduction = _ref.isProduction,
14470
14282
  isProduction = _ref$isProduction === void 0 ? true : _ref$isProduction;
14471
- var _useState = useState(""),
14472
- patronName = _useState[0],
14473
- setPatronName = _useState[1];
14474
14283
  var _useNYPLBreakpoints = useNYPLBreakpoints(),
14475
14284
  isLargerThanMobile = _useNYPLBreakpoints.isLargerThanMobile,
14476
14285
  isLargerThanLarge = _useNYPLBreakpoints.isLargerThanLarge;
14477
14286
  var styles = useMultiStyleConfig("Header", {});
14478
- // Create a new instance of the EncoreCatalogLogOutTimer.
14479
- // The timer will start when the component is mounted.
14480
- var encoreCatalogLogOutTimer = new EncoreCatalogLogOutTimer(Date.now(), false);
14481
- var loginDataCallback = function loginDataCallback(data) {
14482
- var _data$data, _data$data2;
14483
- // If the `statusCode` of the returned data is 401 and the expired
14484
- // key is set to true, try to refresh the accessToken.
14485
- if ((data == null ? void 0 : (_data$data = data.data) == null ? void 0 : _data$data.statusCode) === 401 && (data == null ? void 0 : (_data$data2 = data.data) == null ? void 0 : _data$data2.expired) === true) {
14486
- refreshAccessToken(tokenRefreshLink(isProduction), loginDataCallback, deleteCookieValue);
14487
- // Else, extract the patron's name from the returned data.
14488
- } else {
14489
- var fullName = extractPatronName(data);
14490
- setPatronName(fullName);
14491
- }
14492
- };
14493
- // Once the `Header` component is mounted, start a timer that will
14494
- // log the user out of Encore and the NYPL Catalog after 30 minutes.
14495
- useEffect(function () {
14496
- encoreCatalogLogOutTimer.setEncoreLoggedInTimer(window.location.host);
14497
- });
14498
14287
  useEffect(function () {
14499
14288
  var _window;
14500
14289
  if (!((_window = window) != null && _window.ga)) {
@@ -14508,22 +14297,8 @@ var Header$1 = /*#__PURE__*/chakra(function (_ref) {
14508
14297
  gaUtils.initialize(gaOpts, isProduction);
14509
14298
  }
14510
14299
  }, [gaOptions, isProduction]);
14511
- useEffect(function () {
14512
- // After mounting,look for a cookie named "nyplIdentityPatron"
14513
- // and try to grab its value.
14514
- var _getCookieValue = getCookieValue(),
14515
- accessToken = _getCookieValue.accessToken,
14516
- cookieValue = _getCookieValue.cookieValue;
14517
- // If the cookie exists, use its `accessToken` to make a fetch
14518
- // request for the patron's data.
14519
- if (cookieValue) {
14520
- getLoginData(accessToken, loginDataCallback);
14521
- }
14522
- // eslint-disable-next-line react-hooks/exhaustive-deps
14523
- }, []);
14524
14300
  return React__default.createElement(HeaderProvider, {
14525
- isProduction: isProduction,
14526
- patronName: patronName
14301
+ isProduction: isProduction
14527
14302
  }, React__default.createElement(Box, {
14528
14303
  __css: styles
14529
14304
  }, React__default.createElement(SkipNavigation$1, null), fetchSitewideAlerts ? React__default.createElement(HeaderSitewideAlerts, null) : null, React__default.createElement("header", null, React__default.createElement(HStack, {
@@ -14548,7 +14323,7 @@ var Header$1 = /*#__PURE__*/chakra(function (_ref) {
14548
14323
  }))));
14549
14324
  });
14550
14325
 
14551
- var _excluded$29 = ["backgroundColor", "backgroundImageSrc", "foregroundColor", "heading", "heroType", "imageProps", "locationDetails", "subHeaderText"];
14326
+ var _excluded$2a = ["backgroundColor", "backgroundImageSrc", "foregroundColor", "heading", "heroType", "imageProps", "locationDetails", "subHeaderText"];
14552
14327
  // Only used for internal purposes.
14553
14328
  var heroSecondaryTypes = ["secondary", "secondaryBooksAndMore", "secondaryLocations", "secondaryResearch", "secondaryWhatsOn"];
14554
14329
  var Hero$1 = /*#__PURE__*/chakra( /*#__PURE__*/forwardRef(function (props, ref) {
@@ -14564,7 +14339,7 @@ var Hero$1 = /*#__PURE__*/chakra( /*#__PURE__*/forwardRef(function (props, ref)
14564
14339
  } : _props$imageProps,
14565
14340
  locationDetails = props.locationDetails,
14566
14341
  subHeaderText = props.subHeaderText,
14567
- rest = _objectWithoutPropertiesLoose(props, _excluded$29);
14342
+ rest = _objectWithoutPropertiesLoose(props, _excluded$2a);
14568
14343
  var styles = useMultiStyleConfig("Hero", {
14569
14344
  variant: heroType
14570
14345
  });
@@ -14653,7 +14428,7 @@ var Hero$1 = /*#__PURE__*/chakra( /*#__PURE__*/forwardRef(function (props, ref)
14653
14428
  }
14654
14429
  });
14655
14430
 
14656
- var _excluded$2a = ["bodyContent", "closeButtonLabel", "headingText", "id", "isOpen", "onClose"],
14431
+ var _excluded$2b = ["bodyContent", "closeButtonLabel", "headingText", "id", "isOpen", "onClose"],
14657
14432
  _excluded2$6 = ["buttonText", "id", "modalProps"],
14658
14433
  _excluded3$4 = ["bodyContent", "closeButtonLabel", "headingText", "id"];
14659
14434
  var BaseModal = /*#__PURE__*/chakra(function (_ref) {
@@ -14664,7 +14439,7 @@ var BaseModal = /*#__PURE__*/chakra(function (_ref) {
14664
14439
  id = _ref.id,
14665
14440
  isOpen = _ref.isOpen,
14666
14441
  onClose = _ref.onClose,
14667
- rest = _objectWithoutPropertiesLoose(_ref, _excluded$2a);
14442
+ rest = _objectWithoutPropertiesLoose(_ref, _excluded$2b);
14668
14443
  var xlarge = "xl";
14669
14444
  var fullSize = "full";
14670
14445
  var _useNYPLBreakpoints = useNYPLBreakpoints(),
@@ -14745,7 +14520,7 @@ function useModal() {
14745
14520
  };
14746
14521
  }
14747
14522
 
14748
- var _excluded$2b = ["className", "currentPage", "getPageHref", "id", "initialPage", "onPageChange", "pageCount"];
14523
+ var _excluded$2c = ["className", "currentPage", "getPageHref", "id", "initialPage", "onPageChange", "pageCount"];
14749
14524
  /**
14750
14525
  * A component that provides a navigational list of page items.
14751
14526
  */
@@ -14758,7 +14533,7 @@ var Pagination$1 = /*#__PURE__*/chakra( /*#__PURE__*/forwardRef(function (props,
14758
14533
  initialPage = _props$initialPage === void 0 ? 1 : _props$initialPage,
14759
14534
  onPageChange = props.onPageChange,
14760
14535
  pageCount = props.pageCount,
14761
- rest = _objectWithoutPropertiesLoose(props, _excluded$2b);
14536
+ rest = _objectWithoutPropertiesLoose(props, _excluded$2c);
14762
14537
  var refCurrentPage = useRef(currentPage);
14763
14538
  var _useState = useState(initialPage),
14764
14539
  selectedPage = _useState[0],
@@ -14948,7 +14723,7 @@ var Pagination$1 = /*#__PURE__*/chakra( /*#__PURE__*/forwardRef(function (props,
14948
14723
  }, previousLiLink, getPaginationNumbers(selectedPage), nextLiLink));
14949
14724
  }));
14950
14725
 
14951
- var _excluded$2c = ["darkMode", "id", "indicatorType", "isIndeterminate", "labelText", "showLabel", "size", "value"];
14726
+ var _excluded$2d = ["darkMode", "id", "indicatorType", "isIndeterminate", "labelText", "showLabel", "size", "value"];
14952
14727
  /**
14953
14728
  * A component that displays a progress status for any task that takes a long
14954
14729
  * time to complete or consists of multiple steps. Examples include downloading,
@@ -14969,7 +14744,7 @@ var ProgressIndicator$1 = /*#__PURE__*/chakra( /*#__PURE__*/forwardRef(function
14969
14744
  size = _props$size === void 0 ? "default" : _props$size,
14970
14745
  _props$value = props.value,
14971
14746
  value = _props$value === void 0 ? 0 : _props$value,
14972
- rest = _objectWithoutPropertiesLoose(props, _excluded$2c);
14747
+ rest = _objectWithoutPropertiesLoose(props, _excluded$2d);
14973
14748
  var styles = useMultiStyleConfig("ProgressIndicator", {
14974
14749
  darkMode: darkMode,
14975
14750
  size: size
@@ -15028,7 +14803,7 @@ var ProgressIndicator$1 = /*#__PURE__*/chakra( /*#__PURE__*/forwardRef(function
15028
14803
  }, rest), progressComponent(indicatorType));
15029
14804
  }));
15030
14805
 
15031
- var _excluded$2d = ["children", "className", "helperText", "id", "invalidText", "isDisabled", "isInvalid", "isRequired", "labelPosition", "labelText", "name", "onChange", "placeholder", "selectType", "showHelperInvalidText", "showLabel", "showRequiredLabel", "value"];
14806
+ var _excluded$2e = ["children", "className", "helperText", "id", "invalidText", "isDisabled", "isInvalid", "isRequired", "labelPosition", "labelText", "name", "onChange", "placeholder", "selectType", "showHelperInvalidText", "showLabel", "showRequiredLabel", "value"];
15032
14807
  /**
15033
14808
  * Component that renders Chakra's `Select` component along with an accessible
15034
14809
  * `Label` and optional `HelperErrorText` component.
@@ -15061,7 +14836,7 @@ var Select$1 = /*#__PURE__*/chakra( /*#__PURE__*/forwardRef(function (props, ref
15061
14836
  showRequiredLabel = _props$showRequiredLa === void 0 ? true : _props$showRequiredLa,
15062
14837
  _props$value = props.value,
15063
14838
  value = _props$value === void 0 ? "" : _props$value,
15064
- rest = _objectWithoutPropertiesLoose(props, _excluded$2d);
14839
+ rest = _objectWithoutPropertiesLoose(props, _excluded$2e);
15065
14840
  var _useState = useState(0),
15066
14841
  labelWidth = _useState[0],
15067
14842
  setLabelWidth = _useState[1];
@@ -15143,7 +14918,7 @@ var Select$1 = /*#__PURE__*/chakra( /*#__PURE__*/forwardRef(function (props, ref
15143
14918
  }), children)));
15144
14919
  }));
15145
14920
 
15146
- var _excluded$2e = ["action", "buttonOnClick", "className", "descriptionText", "headingText", "helperText", "id", "invalidText", "isDisabled", "isInvalid", "isRequired", "labelText", "method", "noBrandButtonType", "onSubmit", "selectProps", "textInputElement", "textInputProps"];
14921
+ var _excluded$2f = ["action", "buttonOnClick", "className", "descriptionText", "headingText", "helperText", "id", "invalidText", "isDisabled", "isInvalid", "isRequired", "labelText", "method", "noBrandButtonType", "onSubmit", "selectProps", "textInputElement", "textInputProps"];
15147
14922
  /**
15148
14923
  * Renders a wrapper `form` element to be used with `Select` (optional),
15149
14924
  * `Input`, and `Button` components together.
@@ -15171,7 +14946,7 @@ var SearchBar$1 = /*#__PURE__*/chakra( /*#__PURE__*/forwardRef(function (props,
15171
14946
  selectProps = props.selectProps,
15172
14947
  textInputElement = props.textInputElement,
15173
14948
  textInputProps = props.textInputProps,
15174
- rest = _objectWithoutPropertiesLoose(props, _excluded$2e);
14949
+ rest = _objectWithoutPropertiesLoose(props, _excluded$2f);
15175
14950
  var styles = useMultiStyleConfig("SearchBar", {});
15176
14951
  var stateProps = {
15177
14952
  helperText: "",
@@ -15217,9 +14992,14 @@ var SearchBar$1 = /*#__PURE__*/chakra( /*#__PURE__*/forwardRef(function (props,
15217
14992
  var textInputNative = textInputProps && React__default.createElement(TextInput, Object.assign({
15218
14993
  id: (textInputProps == null ? void 0 : textInputProps.id) || "searchbar-textinput-" + id,
15219
14994
  isClearable: textInputProps == null ? void 0 : textInputProps.isClearable,
14995
+ isClearableCallback: textInputProps == null ? void 0 : textInputProps.isClearableCallback,
15220
14996
  labelText: textInputProps == null ? void 0 : textInputProps.labelText,
15221
14997
  name: textInputProps == null ? void 0 : textInputProps.name,
14998
+ max: textInputProps == null ? void 0 : textInputProps.max,
14999
+ maxLength: textInputProps == null ? void 0 : textInputProps.maxLength,
15000
+ min: textInputProps == null ? void 0 : textInputProps.min,
15222
15001
  onChange: textInputProps == null ? void 0 : textInputProps.onChange,
15002
+ pattern: textInputProps == null ? void 0 : textInputProps.pattern,
15223
15003
  placeholder: textInputPlaceholder,
15224
15004
  textInputType: selectElem ? "searchBarSelect" : "searchBar",
15225
15005
  type: "text",
@@ -15263,7 +15043,7 @@ var SearchBar$1 = /*#__PURE__*/chakra( /*#__PURE__*/forwardRef(function (props,
15263
15043
  }, selectElem, textInputElem, buttonElem));
15264
15044
  }));
15265
15045
 
15266
- var _excluded$2f = ["className", "contentSize", "headingSize", "imageAspectRatio", "isBordered", "layout", "showButton", "showContent", "showHeading", "showImage", "width"];
15046
+ var _excluded$2g = ["className", "contentSize", "headingSize", "imageAspectRatio", "isBordered", "layout", "showButton", "showContent", "showHeading", "showImage", "width"];
15267
15047
  /**
15268
15048
  * The `SkeletonLoader` component renders a placeholder to be used while
15269
15049
  * dynamic content is loading.
@@ -15289,7 +15069,7 @@ var SkeletonLoader$1 = /*#__PURE__*/chakra( /*#__PURE__*/forwardRef(function (pr
15289
15069
  _props$showImage = props.showImage,
15290
15070
  showImage = _props$showImage === void 0 ? true : _props$showImage,
15291
15071
  width = props.width,
15292
- rest = _objectWithoutPropertiesLoose(props, _excluded$2f);
15072
+ rest = _objectWithoutPropertiesLoose(props, _excluded$2g);
15293
15073
  var styles = useMultiStyleConfig("SkeletonLoader", {
15294
15074
  isBordered: isBordered,
15295
15075
  imageAspectRatio: imageAspectRatio,
@@ -15347,7 +15127,7 @@ var SkeletonLoader$1 = /*#__PURE__*/chakra( /*#__PURE__*/forwardRef(function (pr
15347
15127
  })))));
15348
15128
  }));
15349
15129
 
15350
- var _excluded$2g = ["className", "defaultValue", "helperText", "id", "invalidText", "isDisabled", "isInvalid", "isRangeSlider", "isRequired", "labelText", "max", "min", "name", "onChange", "onChangeEnd", "showBoxes", "showHelperInvalidText", "showLabel", "showRequiredLabel", "showValues", "step", "value"];
15130
+ var _excluded$2h = ["className", "defaultValue", "helperText", "id", "invalidText", "isDisabled", "isInvalid", "isRangeSlider", "isRequired", "labelText", "max", "min", "name", "onChange", "onChangeEnd", "showBoxes", "showHelperInvalidText", "showLabel", "showRequiredLabel", "showValues", "step", "value"];
15351
15131
  /**
15352
15132
  * The `Slider` component renders a singular value slider or a range slider
15353
15133
  * with a min and max value. The value(s) can be updated through the slider
@@ -15389,7 +15169,7 @@ var Slider = /*#__PURE__*/chakra( /*#__PURE__*/forwardRef(function (props, ref)
15389
15169
  _props$step = props.step,
15390
15170
  step = _props$step === void 0 ? 1 : _props$step,
15391
15171
  value = props.value,
15392
- rest = _objectWithoutPropertiesLoose(props, _excluded$2g);
15172
+ rest = _objectWithoutPropertiesLoose(props, _excluded$2h);
15393
15173
  if (!id) {
15394
15174
  console.warn("NYPL Reservoir Slider: This component's required `id` prop was not passed.");
15395
15175
  }
@@ -15597,7 +15377,7 @@ var Slider = /*#__PURE__*/chakra( /*#__PURE__*/forwardRef(function (props, ref)
15597
15377
  }, max), showBoxes && getTextInput("end")));
15598
15378
  }));
15599
15379
 
15600
- var _excluded$2h = ["children", "className", "id", "level"];
15380
+ var _excluded$2i = ["children", "className", "id", "level"];
15601
15381
  /**
15602
15382
  * The `StatusBadge` component is used to display a visual badge for three
15603
15383
  * different status levels.
@@ -15608,7 +15388,7 @@ var StatusBadge$1 = /*#__PURE__*/chakra( /*#__PURE__*/forwardRef(function (props
15608
15388
  id = props.id,
15609
15389
  _props$level = props.level,
15610
15390
  level = _props$level === void 0 ? "low" : _props$level,
15611
- rest = _objectWithoutPropertiesLoose(props, _excluded$2h);
15391
+ rest = _objectWithoutPropertiesLoose(props, _excluded$2i);
15612
15392
  var styles = useStyleConfig("StatusBadge", {
15613
15393
  variant: level
15614
15394
  });
@@ -15623,7 +15403,7 @@ var StatusBadge$1 = /*#__PURE__*/chakra( /*#__PURE__*/forwardRef(function (props
15623
15403
  }, rest), children);
15624
15404
  }));
15625
15405
 
15626
- var _excluded$2i = ["calloutText", "className", "headingText", "id", "imageProps", "bodyContent"];
15406
+ var _excluded$2j = ["calloutText", "className", "headingText", "id", "imageProps", "bodyContent"];
15627
15407
  /**
15628
15408
  * Internal component used in the `StructuredContent` component
15629
15409
  * that renders the DS `Image` component.
@@ -15673,7 +15453,7 @@ var StructuredContent$1 = /*#__PURE__*/chakra( /*#__PURE__*/forwardRef(function
15673
15453
  src: ""
15674
15454
  } : _props$imageProps,
15675
15455
  bodyContent = props.bodyContent,
15676
- rest = _objectWithoutPropertiesLoose(props, _excluded$2i);
15456
+ rest = _objectWithoutPropertiesLoose(props, _excluded$2j);
15677
15457
  var hasImage = imageProps.src || imageProps.component;
15678
15458
  var hasFigureImage = imageProps.caption || imageProps.credit;
15679
15459
  var styles = useMultiStyleConfig("StructuredContent", {
@@ -15806,7 +15586,7 @@ var useCarouselStyles = function useCarouselStyles(slidesCount, slideWidth) {
15806
15586
  };
15807
15587
  };
15808
15588
 
15809
- var _excluded$2j = ["children", "defaultIndex", "id", "onChange", "tabsData", "useHash"];
15589
+ var _excluded$2k = ["children", "defaultIndex", "id", "onChange", "tabsData", "useHash"];
15810
15590
  /**
15811
15591
  * An internal function used to update the hash in the URL.
15812
15592
  * This function is only used when `useHash` is `true`.
@@ -15908,7 +15688,7 @@ var Tabs = /*#__PURE__*/chakra( /*#__PURE__*/forwardRef(function (props, ref) {
15908
15688
  tabsData = props.tabsData,
15909
15689
  _props$useHash = props.useHash,
15910
15690
  useHash = _props$useHash === void 0 ? false : _props$useHash,
15911
- rest = _objectWithoutPropertiesLoose(props, _excluded$2j);
15691
+ rest = _objectWithoutPropertiesLoose(props, _excluded$2k);
15912
15692
  var styles = useMultiStyleConfig("Tabs", {});
15913
15693
  // Just an estimate of the tab width for the mobile carousel.
15914
15694
  var initTabWidth = 65;
@@ -15988,40 +15768,6 @@ var Tabs = /*#__PURE__*/chakra( /*#__PURE__*/forwardRef(function (props, ref) {
15988
15768
  }, React__default.createElement(Box, Object.assign({}, carouselStyle), tabs)), nextButton), panels);
15989
15769
  }));
15990
15770
 
15991
- var _excluded$2k = ["children", "className", "content", "id", "isDisabled", "shouldWrapChildren"];
15992
- var Tooltip$1 = /*#__PURE__*/chakra( /*#__PURE__*/forwardRef(function (props, ref) {
15993
- var children = props.children,
15994
- content = props.content,
15995
- isDisabled = props.isDisabled,
15996
- shouldWrapChildren = props.shouldWrapChildren,
15997
- rest = _objectWithoutPropertiesLoose(props, _excluded$2k);
15998
- if (typeof content !== "string" && typeof content !== "number") {
15999
- React__default.Children.map(content, function (contentChild) {
16000
- if (contentChild.type !== Icon || contentChild.type !== Image) {
16001
- console.warn("NYPL Reservoir Tooltip: Pass in a string, number, DS Icon, or DS Image into the 'content' prop.");
16002
- }
16003
- });
16004
- }
16005
- var newChildren = shouldWrapChildren ? React__default.createElement(ComponentWrapper, {
16006
- width: "fit-content"
16007
- }, children) : children;
16008
- var styles = useMultiStyleConfig("Tooltip", {});
16009
- return React__default.createElement(Tooltip$2, Object.assign({
16010
- "aria-label": typeof content !== "string" ? "Tooltip" : undefined,
16011
- closeDelay: 750,
16012
- closeOnClick: true,
16013
- closeOnEsc: true,
16014
- closeOnMouseDown: true,
16015
- hasArrow: true,
16016
- isDisabled: isDisabled,
16017
- label: content,
16018
- openDelay: 500,
16019
- placement: "top",
16020
- ref: ref,
16021
- __css: styles
16022
- }, rest), newChildren);
16023
- }));
16024
-
16025
15771
  /**
16026
15772
  * The "explore" `TagSet` variant will always display the tags passed as data.
16027
15773
  * The `label` property in the `tagSetData` prop should be set to a link-type
@@ -16135,7 +15881,7 @@ var TooltipWrapper = function TooltipWrapper(_ref) {
16135
15881
  var maxCharLengthToShow = 20;
16136
15882
  var labelText = typeof label === "string" ? label : label.props.children;
16137
15883
  if (labelText.length > maxCharLengthToShow && typeof labelText === "string") {
16138
- return React__default.createElement(Tooltip$1, {
15884
+ return React__default.createElement(Tooltip, {
16139
15885
  content: labelText
16140
15886
  }, children);
16141
15887
  }
@@ -16824,5 +16570,5 @@ var VideoPlayer$1 = /*#__PURE__*/chakra( /*#__PURE__*/forwardRef(function (props
16824
16570
  }, embedElement)));
16825
16571
  }));
16826
16572
 
16827
- export { Accordion, AlphabetFilter, AudioPlayer, Breadcrumbs, Button, ButtonGroup, Card, CardActions, CardContent, CardHeading, Checkbox, CheckboxGroup, ColorCard, DSProvider, DatePicker, FeedbackBox$1 as FeedbackBox, Fieldset, FilterBar$1 as FilterBar, Footer$1 as Footer, Form, FormField, FormRow, Header$1 as Header, Heading, HelperErrorText, Hero$1 as Hero, HorizontalRule$1 as HorizontalRule, Icon, Image, Label, Link, List$1 as List, Logo$1 as Logo, ModalTrigger, MultiSelect$1 as MultiSelect, MultiSelectGroup, Notification$1 as Notification, Pagination$1 as Pagination, ProgressIndicator$1 as ProgressIndicator, Radio$1 as Radio, RadioGroup$1 as RadioGroup, SearchBar$1 as SearchBar, Select$1 as Select, SimpleGrid, SkeletonLoader$1 as SkeletonLoader, SkipNavigation$1 as SkipNavigation, Slider, StatusBadge$1 as StatusBadge, StructuredContent$1 as StructuredContent, StyledList$1 as StyledList, Table, Tabs, TagSet$1 as TagSet, Template$1 as Template, TemplateAboveHeader, TemplateAppContainer, TemplateBreakout$1 as TemplateBreakout, TemplateContent$1 as TemplateContent, TemplateContentPrimary$1 as TemplateContentPrimary, TemplateContentSidebar$1 as TemplateContentSidebar, TemplateContentTop, TemplateFooter, TemplateHeader, Text, TextInput, Toggle$2 as Toggle, Tooltip$1 as Tooltip, VideoPlayer$1 as VideoPlayer, useCarouselStyles, useFeedbackBox, useFilterBar, useModal, useMultiSelect, useNYPLBreakpoints, useNYPLTheme, useWindowSize };
16573
+ export { Accordion, AlphabetFilter, AudioPlayer, Breadcrumbs, Button, ButtonGroup, Card, CardActions, CardContent, CardHeading, Checkbox, CheckboxGroup, ColorCard, DSProvider, DatePicker, FeedbackBox$1 as FeedbackBox, Fieldset, FilterBar$1 as FilterBar, Footer$1 as Footer, Form, FormField, FormRow, Header$1 as Header, Heading, HelperErrorText, Hero$1 as Hero, HorizontalRule$1 as HorizontalRule, Icon, Image, Label, Link, List$1 as List, Logo$1 as Logo, ModalTrigger, MultiSelect$1 as MultiSelect, MultiSelectGroup, Notification$1 as Notification, Pagination$1 as Pagination, ProgressIndicator$1 as ProgressIndicator, Radio$1 as Radio, RadioGroup$1 as RadioGroup, SearchBar$1 as SearchBar, Select$1 as Select, SimpleGrid, SkeletonLoader$1 as SkeletonLoader, SkipNavigation$1 as SkipNavigation, Slider, StatusBadge$1 as StatusBadge, StructuredContent$1 as StructuredContent, StyledList$1 as StyledList, Table, Tabs, TagSet$1 as TagSet, Template$1 as Template, TemplateAboveHeader, TemplateAppContainer, TemplateBreakout$1 as TemplateBreakout, TemplateContent$1 as TemplateContent, TemplateContentPrimary$1 as TemplateContentPrimary, TemplateContentSidebar$1 as TemplateContentSidebar, TemplateContentTop, TemplateFooter, TemplateHeader, Text, TextInput, Toggle$2 as Toggle, Tooltip, VideoPlayer$1 as VideoPlayer, useCarouselStyles, useFeedbackBox, useFilterBar, useModal, useMultiSelect, useNYPLBreakpoints, useNYPLTheme, useWindowSize };
16828
16574
  //# sourceMappingURL=design-system-react-components.esm.js.map