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UAAU,CAC1BY,YAAarB,IAAAA,MAAAA,CACbnC,MAAOmC,IAAAA,MAAAA,CACP0B,YAAa1B,IAAAA,MAAAA,CACb+B,SAAU/B,IAAAA,MAAAA,CACVgC,iBAAkBhC,IAAAA,MAAAA,CAClBiC,eAAgB1B,EAChB2B,gBAAiB3B,CACrB,EACJ","sources":["webpack://_N_E/./components/ErrorBlock/ErrorBlock.js","webpack://_N_E/./types/index.js"],"sourcesContent":["import { SearchBlockConstants } from '../../adapters/helpers/Constants';\nimport React, { Suspense } from 'react';\nimport PropTypes from 'prop-types';\nimport dynamic from 'next/dynamic';\nimport Backdrop from '../Backdrop/Backdrop'\nimport Loader from '../../adapters/helpers/Loader';\nconst Eyebrow = dynamic(() => import('../Eyebrow/Eyebrow'));\nconst Heading = dynamic(() => import('../Heading/Heading'));\nconst ErrorShortcut = dynamic(() => import('./ErrorShortcut'));\nconst SearchBar = dynamic(() => import('../SearchBar/SearchBar'));\n\nexport default function ErrorBlock({ document }) {\n const eyebrow = document?.fields?.eyebrow?.fields?.text;\n const heading = document?.fields?.heading?.fields?.text;\n const commonSearchesLabel = document?.fields?.commonSearchesLabel?.fields?.text;\n const body = document?.fields?.body;\n const searchTitle = document?.fields?.searchTitle?.fields?.text;\n const searchPlaceholder = document?.fields?.searchPlaceholder?.fields?.text;\n const shortcutsTitle = document?.fields?.shortcutsTitle?.fields?.text;\n const searchActionTitle = document?.fields?.searchActionTitle?.fields?.text;\n const desktopBackground = document?.fields?.backgroundAsset;\n const mobileBackground = document?.fields?.mobileBackgroundAsset;\n const hasSearchBar = document?.fields?.hasSearchBar;\n const searchLink = document?.fields?.searchPageLink?.fields?.pagePath?.fields?.slug ?\n document?.fields?.searchPageLink?.fields?.pagePath?.fields?.slug : '';\n const shortcuts = document?.fields?.shortcuts?.map(shortcut =>\n ({\n title: shortcut?.fields?.title,\n link: shortcut?.fields?.pagePath?.fields?.slug\n })\n );\n\n const handleSearch = (keywords) => {\n if (keywords && keywords.length > 2) {\n window.location = searchLink + '#' + SearchBlockConstants.queryHashName + SearchBlockConstants.queryHashEqual + keywords;\n }\n };\n\n return (\n }>\n \n \n \n
\n
\n
\n {!!eyebrow && {eyebrow}}\n {!!heading && {heading}}\n {!!body &&
}\n {hasSearchBar !== false &&\n }\n {Array.isArray(shortcuts) && shortcuts.length > 0 &&
\n {!!shortcutsTitle &&
\n {shortcutsTitle}\n
}\n }>\n
    \n {shortcuts.map((shortcut, i) => )}\n
\n
\n
}\n
\n
\n
\n
\n
\n
\n )\n}\n\nErrorBlock.propTypes = {\n document: PropTypes.object,\n title: PropTypes.string,\n link: PropTypes.string,\n}\n","import PropTypes from 'prop-types';\n\nexport const IImageRendition = PropTypes.shape({\n fields: PropTypes.exact({\n contentType: PropTypes.oneOf(['imageRendition']),\n name: PropTypes.string,\n aspectRatio: PropTypes.number,\n width: PropTypes.number,\n height: PropTypes.number,\n transformations: PropTypes.string,\n }),\n});\n\nexport const ICloudinaryImage = PropTypes.shape({\n fields: PropTypes.exact({\n contentType: PropTypes.oneOf(['cloudinaryImage']),\n name: PropTypes.string,\n assetId: PropTypes.string.isRequired,\n alternateText: PropTypes.string,\n classNames: PropTypes.string,\n forcedFormat: PropTypes.string,\n imageRendition: IImageRendition,\n isPreload: PropTypes.bool,\n isBannerImage : PropTypes.bool\n }),\n});\n\nexport const IPagePath = PropTypes.shape({\n fields: PropTypes.exact({\n contentType: PropTypes.oneOf(['pagePath']),\n slug: PropTypes.string.isRequired,\n disabled: PropTypes.bool,\n searchable: PropTypes.bool,\n }),\n});\n\nexport const ILabel = PropTypes.shape({\n fields: PropTypes.exact({\n contentType: PropTypes.oneOf(['label']),\n text: PropTypes.string,\n }),\n});\n\nexport const IProductOverview = PropTypes.shape({\n fields: PropTypes.exact({\n contentType: PropTypes.oneOf(['productOverview']),\n name: PropTypes.string,\n slug: IPagePath,\n pageMapping: PropTypes.string,\n uniqueId: PropTypes.string,\n productVariants: PropTypes.array,\n mainAsset: ICloudinaryImage,\n surtitle: PropTypes.string,\n title: PropTypes.string,\n description: PropTypes.string,\n shortDescription: PropTypes.string,\n productBenefit: PropTypes.string,\n buyNowLabel: ILabel,\n isFullSizeImage: PropTypes.bool,\n }),\n});\n\nexport const IArticleOverview = PropTypes.shape({\n fields: PropTypes.exact({\n contentType: PropTypes.oneOf(['articleOverview']),\n name: PropTypes.string,\n slug: IPagePath.isRequired,\n pageMapping: PropTypes.string,\n title: PropTypes.string,\n description: PropTypes.string,\n readTime: PropTypes.number,\n twitterShareText: PropTypes.string,\n thumbnailImage: ICloudinaryImage,\n mobileThumbnail: ICloudinaryImage,\n }),\n});\n"],"names":["Eyebrow","dynamic","Promise","all","__webpack_require__","e","then","bind","loadableGenerated","webpack","Heading","ErrorShortcut","SearchBar","ErrorBlock","_ref","_document$fields","_document$fields$eyeb","_document$fields$eyeb2","_document$fields2","_document$fields2$hea","_document$fields2$hea2","_document$fields3","_document$fields3$com","_document$fields3$com2","_document$fields4","_document$fields5","_document$fields5$sea","_document$fields5$sea2","_document$fields6","_document$fields6$sea","_document$fields6$sea2","_document$fields7","_document$fields7$sho","_document$fields7$sho2","_document$fields8","_document$fields8$sea","_document$fields8$sea2","_document$fields9","_document$fields10","_document$fields11","_document$fields12","_document$fields12$se","_document$fields12$se2","_document$fields12$se3","_document$fields12$se4","_document$fields13","_document$fields13$se","_document$fields13$se2","_document$fields13$se3","_document$fields13$se4","_document$fields14","_document$fields14$sh","document","eyebrow","fields","text","heading","commonSearchesLabel","body","searchTitle","searchPlaceholder","shortcutsTitle","searchActionTitle","desktopBackground","backgroundAsset","mobileBackground","mobileBackgroundAsset","hasSearchBar","searchLink","searchPageLink","pagePath","slug","shortcuts","map","shortcut","_shortcut$fields","_shortcut$fields2","_shortcut$fields2$pag","_shortcut$fields2$pag2","title","link","_jsx","Suspense","fallback","Loader","children","_jsxs","Backdrop","className","Image","image","mobileImage","Content","tag","dangerouslySetInnerHTML","__html","htmlFor","SearchBlockConstants","searchText","onSearch","keywords","length","window","location","queryHashName","queryHashEqual","defaultValue","placeholder","isAutocompleteEnabled","Array","isArray","i","_objectSpread","IImageRendition","PropTypes","contentType","name","aspectRatio","width","height","transformations","ICloudinaryImage","assetId","isRequired","alternateText","classNames","forcedFormat","imageRendition","isPreload","isBannerImage","IPagePath","disabled","searchable","ILabel","IProductOverview","pageMapping","uniqueId","productVariants","mainAsset","surtitle","description","shortDescription","productBenefit","buyNowLabel","isFullSizeImage","readTime","twitterShareText","thumbnailImage","mobileThumbnail"],"sourceRoot":""}