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GI,EACA8D,gBAAO,0BACPhD,MA1RD,CAAAiD,QACP,CACA3B,gBAAQ,cAHc4B,OAAA,GAKxB,EAASC,QACD,CACNC,OAAK,mBACLC,IAAI,MACJC,KAAK,MACLC,MAAM,OACNC,OAAQ,OACRC,SAAU,SACVC,WAAW,SACXC,YAAW,OACXC,UAAU,wBACVC,SAASnF,SAAU,WAAW,CAC9BoF,UAAApF,SAAiB,YAZV4C,gBAAA,SALX,GAsRQyC,0BAOA,GAAArD,SAAe,GAAA5I,gDAAf6I,IAAA,SAAAtE,UAAA,2BACEqE,SACE,CAAY,GAAA5I,gDADdoI,GAAA,YAEE,aAAW,uBACX7D,UAAS,uBAHXqF,QAAAxC,WAKEwB,SAAA,GAAA5I,gDAAAoI,GAAA,EAAAlG,KAAA,CAAqBgK,KAAM,QAAGC,KAAK,EAAnC7E,MAAA,OANJ,EAQE,GAA+B,GAAAtH,gDAAAoI,GAAA,EAAArG,gBAAA,CARjCqK,aAAA1F,YAAA,KA7BR,KAvSJ,EAuVA","sources":["webpack://_N_E/./components/MiniContentBlock/MiniContentBlock.js","webpack://_N_E/"],"sourcesContent":["import React, { Fragment, useState } from 'react';\nimport dynamic from 'next/dynamic';\nimport DOMPurify from 'isomorphic-dompurify';\nimport PropTypes from 'prop-types';\nimport { mediaQueryHOC } from '../../adapters/helpers/Hooks';\nimport Block from '../../adapters/helpers/Block';\nimport { Constants, miniContentBlockConstants } from '../../adapters/helpers/Constants';\nconst Image = dynamic(() => import('../Image/Image'))\nconst ResponsiveImage = dynamic(() => import('../ResponsiveImage/ResponsiveImage'));\nimport { toLower } from 'lodash';\nimport Modal from 'react-modal';\nconst DentistContacts = dynamic(() => import('../DentistContacts/DentistContacts'))\nconst Icon = dynamic(() => import('../Icon/Icon'));\nconst MiniContentBlock = (props) => {\n const { document, isSmall, isXSmall } = props;\n const className = document?.fields?.className;\n const anchorId = document?.fields?.anchorId;\n const desktopBannerImage = document?.fields?.desktopBannerImage;\n const mobileBannerImage = document?.fields?.mobileBannerImage;\n const eyebrow = document?.fields?.eyebrow;\n const headerText = document?.fields?.headerText;\n const headerTextLevel = document?.fields?.headerTextLevel;\n const subText = document?.fields?.subText;\n const secondSubText = document?.fields?.secondSubText;\n const disclaimer = document?.fields?.disclaimer;\n const bannerBackgroundColour = document?.fields?.bannerBackgroundColour;\n const textColour = document?.fields?.textColour;\n const headerTextStyle = document?.fields?.headerTextStyle;\n const subTextStyle = document?.fields?.subTextStyle;\n const secondSubTextStyle = document?.fields?.secondSubTextStyle;\n const bannerImagePosition = document?.fields?.bannerImagePosition;\n const bannerVideo = document?.fields?.bannerVideo;\n const videoThumbnail = document?.fields?.videoThumbnail;\n const url = document?.fields?.destinationUrl;\n const urlType = document?.fields?.urlType;\n const classNameLink = document?.fields?.classNameLink;\n const isHypelinkCard = document?.fields?.isHypelinkCard;\n const primaryActionLink = document?.fields?.primaryActionLink;\n const secondaryActionLink = document?.fields?.secondaryActionLink;\n const primaryCtaLabel = document?.fields?.primaryCtaLabel;\n const secondaryCtaLabel = document?.fields?.secondaryCtaLabel;\n const primaryCtaLogo = document?.fields?.primaryCtaLogo;\n const secondaryCtaLogo = document?.fields?.secondaryCtaLogo;\n const ctaButton = document?.fields?.ctaButton;\n const ctaObject = ctaButton?.CTA;\n const searchCTA = document?.fields?.searchCta;\n const modalContent = document?.fields?.modalContentBlock;\n const isMobile = isXSmall || isSmall;\n \n let [modalStatus, setModalStatus] = useState(false);\n let [dentistSearchModal, setDentistSearchModal] = useState(false);\n \n const customModalStyles = {\n overlay: {\n backgroundColor: 'transparent',\n zIndex: 200,\n },\n content: {\n border: 'white !important',\n top: '50%',\n left: '50%',\n right: 'auto',\n bottom: 'auto',\n fontSize: '1.4rem',\n lineHeight: '2.1rem',\n marginRight: '-50%',\n transform: 'translate(-50%, -50%)',\n maxWidth: isMobile ? '90%' : '70%',\n maxHeight: isMobile ? '85%' : '80%',\n backgroundColor: '#edf8ff',\n },\n };\n\n const handleSearch = () => {\n setDentistSearchModal(true);\n setModalStatus(true);\n };\n \n const closeModal = () => {\n setModalStatus(false);\n };\n\n const textStyle = {\n color: textColour,\n textAlign: isSmall ? 'center' : 'left',\n width: '100%',\n };\n const getUpdatedStyles = (styleType) => {\n const styleObject = isSmall ? styleType?.mobile : styleType?.desktop;\n return {\n ...textStyle,\n ...styleObject,\n };\n };\n\n const DynamicHeader = ({ className,level='2', style, text }) => {\n const HeaderTag = `h${level}`;\n \n return (\n \n );\n };\n\n const renderImage = () => {\n return (\n
\n {bannerVideo ? (\n bannerVideo ? (\n
\n {new Block(\n bannerVideo\n ).renderBlockFromDocument(bannerVideo)}{' '}\n
\n ) : (\n videoThumbnail && (\n
\n \n
\n )\n )\n ) : (\n \n )}\n
\n );\n };\n const renderText = () => {\n return (\n \n {eyebrow && (\n \n )}\n {headerText && (\n \n )}\n \n {subText &&\n (url && !isHypelinkCard ? \n \n {subText}\n \n :\n \n \n {searchCTA && modalContent && (\n
\n \n
\n )}\n

\n )}\n {secondSubText && (\n \n )}\n {ctaButton && ctaObject && (\n \n {ctaObject.ctaLabel}\n \n )}\n {\n primaryCtaLabel && (\n
\n {primaryCtaLogo && (\n \n )}\n \n \n \n
\n )\n }\n {\n secondaryCtaLabel && (\n
\n {secondaryCtaLogo && (\n \n )}\n \n \n \n
\n )\n }\n {disclaimer && (\n \n )}\n \n );\n };\n const renderMiniContentBlock = () => {\n return (\n <>\n {bannerImagePosition && (\n <>\n {(bannerImagePosition === Constants.bannerImagePositionLeft || bannerImagePosition === Constants.bannerImagePositionUp || bannerImagePosition === Constants.bannerImagePositionTop) &&\n renderImage()}\n {renderText()}\n {bannerImagePosition === Constants.bannerImagePositionRight && renderImage()}\n \n )}\n {!bannerImagePosition && (\n <>\n {renderImage()}\n {renderText()}\n \n )}\n \n );\n };\n return (\n
\n {isHypelinkCard ? \n {!isSmall && renderMiniContentBlock()}\n {isSmall && (\n <>\n {renderImage()}\n {renderText()}\n \n )} : \n {!isSmall && renderMiniContentBlock()}\n {isSmall && (\n <>\n {renderImage()}\n {renderText()}\n \n )}\n }\n {modalContent && (\n closeModal()}\n portalClassName='ob-dentist-modal-portal'\n style={customModalStyles}\n shouldCloseOnOverlayClick={false}\n >\n
\n \n \n \n \n
\n \n )}\n
\n );\n};\nMiniContentBlock.propTypes = {\n document: PropTypes.object,\n isSmall: PropTypes.boolean,\n};\nexport default mediaQueryHOC(MiniContentBlock);","\"use strict\";\n(self[\"webpackChunk_N_E\"] = self[\"webpackChunk_N_E\"] || []).push([[4898],{\n\n/***/ 99302:\n/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {\n\n__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _home_runner_work_mw_mt_oralb_com_cs_cz_mw_mt_oralb_com_cs_cz_node_modules_next_dist_compiled_babel_runtime_helpers_defineProperty_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(930);\n/* harmony import */ var _home_runner_work_mw_mt_oralb_com_cs_cz_mw_mt_oralb_com_cs_cz_node_modules_next_dist_compiled_babel_runtime_helpers_defineProperty_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_home_runner_work_mw_mt_oralb_com_cs_cz_mw_mt_oralb_com_cs_cz_node_modules_next_dist_compiled_babel_runtime_helpers_defineProperty_js__WEBPACK_IMPORTED_MODULE_0__);\n/* harmony import */ var core_js_modules_es_object_to_string_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(41539);\n/* harmony import */ var core_js_modules_es_object_to_string_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_object_to_string_js__WEBPACK_IMPORTED_MODULE_1__);\n/* harmony import */ var core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(88674);\n/* harmony import */ var core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_2__);\n/* harmony import */ var core_js_modules_es_object_keys_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(47941);\n/* harmony import */ var core_js_modules_es_object_keys_js__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_object_keys_js__WEBPACK_IMPORTED_MODULE_3__);\n/* harmony import */ var core_js_modules_es_symbol_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(82526);\n/* harmony import */ var core_js_modules_es_symbol_js__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_symbol_js__WEBPACK_IMPORTED_MODULE_4__);\n/* harmony import */ var core_js_modules_es_array_filter_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(57327);\n/* harmony import */ var core_js_modules_es_array_filter_js__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_filter_js__WEBPACK_IMPORTED_MODULE_5__);\n/* harmony import */ var core_js_modules_es_object_get_own_property_descriptor_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(38880);\n/* harmony import */ var core_js_modules_es_object_get_own_property_descriptor_js__WEBPACK_IMPORTED_MODULE_6___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_object_get_own_property_descriptor_js__WEBPACK_IMPORTED_MODULE_6__);\n/* harmony import */ var core_js_modules_es_array_for_each_js__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(89554);\n/* harmony import */ var core_js_modules_es_array_for_each_js__WEBPACK_IMPORTED_MODULE_7___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_for_each_js__WEBPACK_IMPORTED_MODULE_7__);\n/* harmony import */ var core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(54747);\n/* harmony import */ var core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_8___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_8__);\n/* harmony import */ var core_js_modules_es_object_get_own_property_descriptors_js__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(49337);\n/* harmony import */ var core_js_modules_es_object_get_own_property_descriptors_js__WEBPACK_IMPORTED_MODULE_9___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_object_get_own_property_descriptors_js__WEBPACK_IMPORTED_MODULE_9__);\n/* harmony import */ var core_js_modules_es_object_define_properties_js__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(33321);\n/* harmony import */ var core_js_modules_es_object_define_properties_js__WEBPACK_IMPORTED_MODULE_10___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_object_define_properties_js__WEBPACK_IMPORTED_MODULE_10__);\n/* harmony import */ var core_js_modules_es_object_define_property_js__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(69070);\n/* harmony import */ var core_js_modules_es_object_define_property_js__WEBPACK_IMPORTED_MODULE_11___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_object_define_property_js__WEBPACK_IMPORTED_MODULE_11__);\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(67294);\n/* harmony import */ var next_dynamic__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(5152);\n/* harmony import */ var next_dynamic__WEBPACK_IMPORTED_MODULE_13___default = /*#__PURE__*/__webpack_require__.n(next_dynamic__WEBPACK_IMPORTED_MODULE_13__);\n/* harmony import */ var isomorphic_dompurify__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(29238);\n/* harmony import */ var isomorphic_dompurify__WEBPACK_IMPORTED_MODULE_14___default = /*#__PURE__*/__webpack_require__.n(isomorphic_dompurify__WEBPACK_IMPORTED_MODULE_14__);\n/* harmony import */ var _adapters_helpers_Hooks__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(71357);\n/* harmony import */ var _adapters_helpers_Block__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(40483);\n/* harmony import */ var _adapters_helpers_Constants__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(24036);\n/* harmony import */ var lodash__WEBPACK_IMPORTED_MODULE_18__ = __webpack_require__(96486);\n/* harmony import */ var lodash__WEBPACK_IMPORTED_MODULE_18___default = /*#__PURE__*/__webpack_require__.n(lodash__WEBPACK_IMPORTED_MODULE_18__);\n/* harmony import */ var react_modal__WEBPACK_IMPORTED_MODULE_19__ = __webpack_require__(83253);\n/* harmony import */ var react_modal__WEBPACK_IMPORTED_MODULE_19___default = /*#__PURE__*/__webpack_require__.n(react_modal__WEBPACK_IMPORTED_MODULE_19__);\n/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_20__ = __webpack_require__(85893);\n\n\nfunction ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }\n\nfunction _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { _home_runner_work_mw_mt_oralb_com_cs_cz_mw_mt_oralb_com_cs_cz_node_modules_next_dist_compiled_babel_runtime_helpers_defineProperty_js__WEBPACK_IMPORTED_MODULE_0___default()(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nvar Image = next_dynamic__WEBPACK_IMPORTED_MODULE_13___default()(function () {\n return __webpack_require__.e(/* import() */ 8084).then(__webpack_require__.bind(__webpack_require__, 48084));\n}, {\n loadableGenerated: {\n webpack: function webpack() {\n return [/*require.resolve*/(48084)];\n }\n }\n});\nvar ResponsiveImage = next_dynamic__WEBPACK_IMPORTED_MODULE_13___default()(function () {\n return __webpack_require__.e(/* import() */ 8758).then(__webpack_require__.bind(__webpack_require__, 38758));\n}, {\n loadableGenerated: {\n webpack: function webpack() {\n return [/*require.resolve*/(38758)];\n }\n }\n});\n\n\n\n\n\nvar DentistContacts = next_dynamic__WEBPACK_IMPORTED_MODULE_13___default()(function () {\n return Promise.all(/* import() */[__webpack_require__.e(4885), __webpack_require__.e(8765), __webpack_require__.e(1664), __webpack_require__.e(8996), __webpack_require__.e(9599)]).then(__webpack_require__.bind(__webpack_require__, 86533));\n}, {\n loadableGenerated: {\n webpack: function webpack() {\n return [/*require.resolve*/(86533)];\n }\n }\n});\nvar Icon = next_dynamic__WEBPACK_IMPORTED_MODULE_13___default()(function () {\n return __webpack_require__.e(/* import() */ 713).then(__webpack_require__.bind(__webpack_require__, 80713));\n}, {\n loadableGenerated: {\n webpack: function webpack() {\n return [/*require.resolve*/(80713)];\n }\n }\n});\n\nvar MiniContentBlock = function MiniContentBlock(props) {\n var _document$fields, _document$fields2, _document$fields3, _document$fields4, _document$fields5, _document$fields6, _document$fields7, _document$fields8, _document$fields9, _document$fields10, _document$fields11, _document$fields12, _document$fields13, _document$fields14, _document$fields15, _document$fields16, _document$fields17, _document$fields18, _document$fields19, _document$fields20, _document$fields21, _document$fields22, _document$fields23, _document$fields24, _document$fields25, _document$fields26, _document$fields27, _document$fields28, _document$fields29, _document$fields30, _document$fields31;\n\n var document = props.document,\n isSmall = props.isSmall,\n isXSmall = props.isXSmall;\n var className = document == null ? void 0 : (_document$fields = document.fields) == null ? void 0 : _document$fields.className;\n var anchorId = document == null ? void 0 : (_document$fields2 = document.fields) == null ? void 0 : _document$fields2.anchorId;\n var desktopBannerImage = document == null ? void 0 : (_document$fields3 = document.fields) == null ? void 0 : _document$fields3.desktopBannerImage;\n var mobileBannerImage = document == null ? void 0 : (_document$fields4 = document.fields) == null ? void 0 : _document$fields4.mobileBannerImage;\n var eyebrow = document == null ? void 0 : (_document$fields5 = document.fields) == null ? void 0 : _document$fields5.eyebrow;\n var headerText = document == null ? void 0 : (_document$fields6 = document.fields) == null ? void 0 : _document$fields6.headerText;\n var headerTextLevel = document == null ? void 0 : (_document$fields7 = document.fields) == null ? void 0 : _document$fields7.headerTextLevel;\n var subText = document == null ? void 0 : (_document$fields8 = document.fields) == null ? void 0 : _document$fields8.subText;\n var secondSubText = document == null ? void 0 : (_document$fields9 = document.fields) == null ? void 0 : _document$fields9.secondSubText;\n var disclaimer = document == null ? void 0 : (_document$fields10 = document.fields) == null ? void 0 : _document$fields10.disclaimer;\n var bannerBackgroundColour = document == null ? void 0 : (_document$fields11 = document.fields) == null ? void 0 : _document$fields11.bannerBackgroundColour;\n var textColour = document == null ? void 0 : (_document$fields12 = document.fields) == null ? void 0 : _document$fields12.textColour;\n var headerTextStyle = document == null ? void 0 : (_document$fields13 = document.fields) == null ? void 0 : _document$fields13.headerTextStyle;\n var subTextStyle = document == null ? void 0 : (_document$fields14 = document.fields) == null ? void 0 : _document$fields14.subTextStyle;\n var secondSubTextStyle = document == null ? void 0 : (_document$fields15 = document.fields) == null ? void 0 : _document$fields15.secondSubTextStyle;\n var bannerImagePosition = document == null ? void 0 : (_document$fields16 = document.fields) == null ? void 0 : _document$fields16.bannerImagePosition;\n var bannerVideo = document == null ? void 0 : (_document$fields17 = document.fields) == null ? void 0 : _document$fields17.bannerVideo;\n var videoThumbnail = document == null ? void 0 : (_document$fields18 = document.fields) == null ? void 0 : _document$fields18.videoThumbnail;\n var url = document == null ? void 0 : (_document$fields19 = document.fields) == null ? void 0 : _document$fields19.destinationUrl;\n var urlType = document == null ? void 0 : (_document$fields20 = document.fields) == null ? void 0 : _document$fields20.urlType;\n var classNameLink = document == null ? void 0 : (_document$fields21 = document.fields) == null ? void 0 : _document$fields21.classNameLink;\n var isHypelinkCard = document == null ? void 0 : (_document$fields22 = document.fields) == null ? void 0 : _document$fields22.isHypelinkCard;\n var primaryActionLink = document == null ? void 0 : (_document$fields23 = document.fields) == null ? void 0 : _document$fields23.primaryActionLink;\n var secondaryActionLink = document == null ? void 0 : (_document$fields24 = document.fields) == null ? void 0 : _document$fields24.secondaryActionLink;\n var primaryCtaLabel = document == null ? void 0 : (_document$fields25 = document.fields) == null ? void 0 : _document$fields25.primaryCtaLabel;\n var secondaryCtaLabel = document == null ? void 0 : (_document$fields26 = document.fields) == null ? void 0 : _document$fields26.secondaryCtaLabel;\n var primaryCtaLogo = document == null ? void 0 : (_document$fields27 = document.fields) == null ? void 0 : _document$fields27.primaryCtaLogo;\n var secondaryCtaLogo = document == null ? void 0 : (_document$fields28 = document.fields) == null ? void 0 : _document$fields28.secondaryCtaLogo;\n var ctaButton = document == null ? void 0 : (_document$fields29 = document.fields) == null ? void 0 : _document$fields29.ctaButton;\n var ctaObject = ctaButton == null ? void 0 : ctaButton.CTA;\n var searchCTA = document == null ? void 0 : (_document$fields30 = document.fields) == null ? void 0 : _document$fields30.searchCta;\n var modalContent = document == null ? void 0 : (_document$fields31 = document.fields) == null ? void 0 : _document$fields31.modalContentBlock;\n var isMobile = isXSmall || isSmall;\n\n var _useState = (0,react__WEBPACK_IMPORTED_MODULE_12__.useState)(false),\n modalStatus = _useState[0],\n setModalStatus = _useState[1];\n\n var _useState2 = (0,react__WEBPACK_IMPORTED_MODULE_12__.useState)(false),\n dentistSearchModal = _useState2[0],\n setDentistSearchModal = _useState2[1];\n\n var customModalStyles = {\n overlay: {\n backgroundColor: 'transparent',\n zIndex: 200\n },\n content: {\n border: 'white !important',\n top: '50%',\n left: '50%',\n right: 'auto',\n bottom: 'auto',\n fontSize: '1.4rem',\n lineHeight: '2.1rem',\n marginRight: '-50%',\n transform: 'translate(-50%, -50%)',\n maxWidth: isMobile ? '90%' : '70%',\n maxHeight: isMobile ? '85%' : '80%',\n backgroundColor: '#edf8ff'\n }\n };\n\n var handleSearch = function handleSearch() {\n setDentistSearchModal(true);\n setModalStatus(true);\n };\n\n var closeModal = function closeModal() {\n setModalStatus(false);\n };\n\n var textStyle = {\n color: textColour,\n textAlign: isSmall ? 'center' : 'left',\n width: '100%'\n };\n\n var getUpdatedStyles = function getUpdatedStyles(styleType) {\n var styleObject = isSmall ? styleType == null ? void 0 : styleType.mobile : styleType == null ? void 0 : styleType.desktop;\n return _objectSpread(_objectSpread({}, textStyle), styleObject);\n };\n\n var DynamicHeader = function DynamicHeader(_ref) {\n var className = _ref.className,\n _ref$level = _ref.level,\n level = _ref$level === void 0 ? '2' : _ref$level,\n style = _ref.style,\n text = _ref.text;\n var HeaderTag = \"h\".concat(level);\n return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_20__.jsx)(HeaderTag, {\n className: className,\n style: style,\n dangerouslySetInnerHTML: {\n __html: isomorphic_dompurify__WEBPACK_IMPORTED_MODULE_14___default().sanitize(text)\n }\n });\n };\n\n var renderImage = function renderImage() {\n var _mobileBannerImage$fi, _desktopBannerImage$f;\n\n return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_20__.jsx)(\"div\", {\n className: \"ob-mini-content-image-container\",\n children: bannerVideo ? bannerVideo ? /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_20__.jsxs)(\"div\", {\n children: [new _adapters_helpers_Block__WEBPACK_IMPORTED_MODULE_16__/* [\"default\"] */ .Z(bannerVideo).renderBlockFromDocument(bannerVideo), ' ']\n }) : videoThumbnail && /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_20__.jsx)(\"div\", {\n className: \"ob-carousel-tab-content-conatiner-image\",\n children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_20__.jsx)(ResponsiveImage, {\n document: videoThumbnail\n })\n }) : /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_20__.jsx)(Image, {\n className: isSmall ? 'ob-mini-content-mobile-image' : 'ob-mini-content-dektop-image',\n image: isSmall ? mobileBannerImage : desktopBannerImage,\n altText: isSmall ? mobileBannerImage == null ? void 0 : (_mobileBannerImage$fi = mobileBannerImage.fields) == null ? void 0 : _mobileBannerImage$fi.alternateText : desktopBannerImage == null ? void 0 : (_desktopBannerImage$f = desktopBannerImage.fields) == null ? void 0 : _desktopBannerImage$f.alternateText\n })\n });\n };\n\n var renderText = function renderText() {\n var _mobileBannerImage$fi2, _desktopBannerImage$f2, _mobileBannerImage$fi3, _desktopBannerImage$f3;\n\n return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_20__.jsxs)(\"div\", {\n className: \"ob-mini-content-text-area-wrapper\",\n style: {\n backgroundColor: bannerBackgroundColour\n },\n children: [eyebrow && /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_20__.jsx)(\"p\", {\n className: \"ob-mini-content-eyebrow\",\n style: textStyle,\n dangerouslySetInnerHTML: {\n __html: isomorphic_dompurify__WEBPACK_IMPORTED_MODULE_14___default().sanitize(eyebrow)\n }\n }), headerText && /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_20__.jsx)(DynamicHeader, {\n className: \"ob-mini-content-header\",\n level: headerTextLevel,\n style: getUpdatedStyles(headerTextStyle),\n text: headerText\n }), subText && (url && !isHypelinkCard ? /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_20__.jsx)(\"a\", {\n href: url,\n target: urlType === 'external' ? '_blank' : undefined,\n rel: urlType === 'external' ? 'noopener noreferrer' : undefined,\n className: classNameLink || 'ob-mini-content-sub-text',\n children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_20__.jsx)(\"span\", {\n children: subText\n })\n }) : /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_20__.jsxs)(\"p\", {\n className: \"ob-mini-content-sub-text\",\n style: getUpdatedStyles(subTextStyle),\n children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_20__.jsx)(\"span\", {\n dangerouslySetInnerHTML: {\n __html: isomorphic_dompurify__WEBPACK_IMPORTED_MODULE_14___default().sanitize(subText)\n }\n }), searchCTA && modalContent && /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_20__.jsx)(\"div\", {\n \"class\": \"iadh-register-wrapper\",\n children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_20__.jsx)(\"button\", {\n className: \"ob-button ob-mini-content-cta\",\n onClick: handleSearch,\n style: {\n backgroundColor: _adapters_helpers_Constants__WEBPACK_IMPORTED_MODULE_17__/* .miniContentBlockConstants.whiteCtaColor */ .P.whiteCtaColor,\n color: _adapters_helpers_Constants__WEBPACK_IMPORTED_MODULE_17__/* .miniContentBlockConstants.blueCtaColor */ .P.blueCtaColor\n },\n children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_20__.jsx)(\"span\", {\n children: searchCTA\n })\n })\n })]\n })), secondSubText && /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_20__.jsx)(\"p\", {\n className: \"ob-mini-content-sub-text\",\n style: getUpdatedStyles(secondSubTextStyle),\n dangerouslySetInnerHTML: {\n __html: isomorphic_dompurify__WEBPACK_IMPORTED_MODULE_14___default().sanitize(secondSubText)\n }\n }), ctaButton && ctaObject && /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_20__.jsx)(\"a\", {\n className: \"\".concat(ctaObject.eventClass || '', \" ob-button ob-mini-content-cta\"),\n \"data-action-detail\": \"\".concat(ctaObject.dataActionDetails || '', \" \"),\n style: {\n backgroundColor: (0,lodash__WEBPACK_IMPORTED_MODULE_18__.toLower)(ctaObject.ctaColor) === _adapters_helpers_Constants__WEBPACK_IMPORTED_MODULE_17__/* .miniContentBlockConstants.whiteCtaColorValue */ .P.whiteCtaColorValue ? _adapters_helpers_Constants__WEBPACK_IMPORTED_MODULE_17__/* .miniContentBlockConstants.whiteCtaColor */ .P.whiteCtaColor : _adapters_helpers_Constants__WEBPACK_IMPORTED_MODULE_17__/* .miniContentBlockConstants.blueCtaColor */ .P.blueCtaColor,\n color: (0,lodash__WEBPACK_IMPORTED_MODULE_18__.toLower)(ctaObject.ctaColor) === _adapters_helpers_Constants__WEBPACK_IMPORTED_MODULE_17__/* .miniContentBlockConstants.whiteCtaColorValue */ .P.whiteCtaColorValue ? _adapters_helpers_Constants__WEBPACK_IMPORTED_MODULE_17__/* .miniContentBlockConstants.blueCtaColor */ .P.blueCtaColor : _adapters_helpers_Constants__WEBPACK_IMPORTED_MODULE_17__/* .miniContentBlockConstants.whiteCtaColor */ .P.whiteCtaColor\n },\n target: \"_blank\",\n rel: \"noopener noreferrer\",\n href: \"\".concat(ctaObject.ctaLink),\n children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_20__.jsx)(\"span\", {\n children: ctaObject.ctaLabel\n })\n }), primaryCtaLabel && /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_20__.jsxs)(\"div\", {\n className: \"cta-container\",\n children: [primaryCtaLogo && /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_20__.jsx)(Image, {\n className: isSmall ? 'ob-mini-cta-mobile-image' : 'ob-mini-cta-dektop-image',\n image: primaryCtaLogo,\n altText: isSmall ? mobileBannerImage == null ? void 0 : (_mobileBannerImage$fi2 = mobileBannerImage.fields) == null ? void 0 : _mobileBannerImage$fi2.alternateText : desktopBannerImage == null ? void 0 : (_desktopBannerImage$f2 = desktopBannerImage.fields) == null ? void 0 : _desktopBannerImage$f2.alternateText\n }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_20__.jsx)(\"a\", {\n href: primaryActionLink,\n target: urlType === 'external' ? '_blank' : undefined,\n children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_20__.jsx)(\"button\", {\n className: \"ob-mini-primary-cta\",\n children: primaryCtaLabel\n })\n })]\n }), secondaryCtaLabel && /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_20__.jsxs)(\"div\", {\n className: \"cta-container\",\n children: [secondaryCtaLogo && /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_20__.jsx)(Image, {\n className: isSmall ? 'ob-mini-cta-mobile-image' : 'ob-mini-cta-dektop-image',\n image: secondaryCtaLogo,\n altText: isSmall ? mobileBannerImage == null ? void 0 : (_mobileBannerImage$fi3 = mobileBannerImage.fields) == null ? void 0 : _mobileBannerImage$fi3.alternateText : desktopBannerImage == null ? void 0 : (_desktopBannerImage$f3 = desktopBannerImage.fields) == null ? void 0 : _desktopBannerImage$f3.alternateText\n }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_20__.jsx)(\"a\", {\n href: secondaryActionLink,\n target: urlType === 'external' ? '_blank' : undefined,\n children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_20__.jsx)(\"button\", {\n className: \"ob-mini-secondary-cta\",\n children: secondaryCtaLabel\n })\n })]\n }), disclaimer && /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_20__.jsx)(\"p\", {\n className: \"ob-mini-content-disclaimer\",\n style: textStyle,\n dangerouslySetInnerHTML: {\n __html: isomorphic_dompurify__WEBPACK_IMPORTED_MODULE_14___default().sanitize(disclaimer, {\n ADD_ATTR: ['target']\n })\n }\n })]\n });\n };\n\n var renderMiniContentBlock = function renderMiniContentBlock() {\n return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_20__.jsxs)(react_jsx_runtime__WEBPACK_IMPORTED_MODULE_20__.Fragment, {\n children: [bannerImagePosition && /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_20__.jsxs)(react_jsx_runtime__WEBPACK_IMPORTED_MODULE_20__.Fragment, {\n children: [(bannerImagePosition === _adapters_helpers_Constants__WEBPACK_IMPORTED_MODULE_17__/* .Constants.bannerImagePositionLeft */ .gT.bannerImagePositionLeft || bannerImagePosition === _adapters_helpers_Constants__WEBPACK_IMPORTED_MODULE_17__/* .Constants.bannerImagePositionUp */ .gT.bannerImagePositionUp || bannerImagePosition === _adapters_helpers_Constants__WEBPACK_IMPORTED_MODULE_17__/* .Constants.bannerImagePositionTop */ .gT.bannerImagePositionTop) && renderImage(), renderText(), bannerImagePosition === _adapters_helpers_Constants__WEBPACK_IMPORTED_MODULE_17__/* .Constants.bannerImagePositionRight */ .gT.bannerImagePositionRight && renderImage()]\n }), !bannerImagePosition && /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_20__.jsxs)(react_jsx_runtime__WEBPACK_IMPORTED_MODULE_20__.Fragment, {\n children: [renderImage(), renderText()]\n })]\n });\n };\n\n return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_20__.jsxs)(\"div\", {\n className: \"ob-mini-content-block \".concat(className ? className : ''),\n id: anchorId,\n style: {\n backgroundColor: bannerBackgroundColour\n },\n children: [isHypelinkCard ? /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_20__.jsxs)(\"a\", {\n href: url,\n target: urlType === 'external' ? '_blank' : undefined,\n rel: urlType === 'external' ? 'noopener noreferrer' : undefined,\n className: classNameLink || 'link-text',\n children: [!isSmall && renderMiniContentBlock(), isSmall && /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_20__.jsxs)(react_jsx_runtime__WEBPACK_IMPORTED_MODULE_20__.Fragment, {\n children: [renderImage(), renderText()]\n })]\n }) : /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_20__.jsxs)(react__WEBPACK_IMPORTED_MODULE_12__.Fragment, {\n children: [!isSmall && renderMiniContentBlock(), isSmall && /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_20__.jsxs)(react_jsx_runtime__WEBPACK_IMPORTED_MODULE_20__.Fragment, {\n children: [renderImage(), renderText()]\n })]\n }), modalContent && /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_20__.jsx)((react_modal__WEBPACK_IMPORTED_MODULE_19___default()), {\n isOpen: modalStatus,\n onRequestClose: function onRequestClose() {\n return closeModal();\n },\n portalClassName: \"ob-dentist-modal-portal\",\n style: customModalStyles,\n shouldCloseOnOverlayClick: false,\n children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_20__.jsxs)(\"div\", {\n className: \"ob-dentist-modal-content\",\n children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_20__.jsx)(\"button\", {\n \"aria-label\": 'dentist-search-close',\n className: 'ob-dentist-close-btn',\n onClick: closeModal,\n children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_20__.jsx)(Icon, {\n name: 'close',\n size: 2,\n color: 'black'\n })\n }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_20__.jsx)(DentistContacts, {\n dentistProps: modalContent\n })]\n })\n })]\n });\n};\n\n/* harmony default export */ __webpack_exports__[\"default\"] = ((0,_adapters_helpers_Hooks__WEBPACK_IMPORTED_MODULE_15__/* .mediaQueryHOC */ .Ui)(MiniContentBlock));\n\n/***/ })\n\n}]);"],"names":["self","push","__unused_webpack_module","__webpack_exports__","__webpack_require__","r","_home_runner_work_mw_mt_oralb_com_cs_cz_mw_mt_oralb_com_cs_cz_node_modules_next_dist_compiled_babel_runtime_helpers_defineProperty_js__WEBPACK_IMPORTED_MODULE_0__","_home_runner_work_mw_mt_oralb_com_cs_cz_mw_mt_oralb_com_cs_cz_node_modules_next_dist_compiled_babel_runtime_helpers_defineProperty_js__WEBPACK_IMPORTED_MODULE_0___default","n","react__WEBPACK_IMPORTED_MODULE_12__","next_dynamic__WEBPACK_IMPORTED_MODULE_13__","next_dynamic__WEBPACK_IMPORTED_MODULE_13___default","isomorphic_dompurify__WEBPACK_IMPORTED_MODULE_14__","isomorphic_dompurify__WEBPACK_IMPORTED_MODULE_14___default","_adapters_helpers_Hooks__WEBPACK_IMPORTED_MODULE_15__","_adapters_helpers_Block__WEBPACK_IMPORTED_MODULE_16__","_adapters_helpers_Constants__WEBPACK_IMPORTED_MODULE_17__","lodash__WEBPACK_IMPORTED_MODULE_18__","react_modal__WEBPACK_IMPORTED_MODULE_19__","react_modal__WEBPACK_IMPORTED_MODULE_19___default","react_jsx_runtime__WEBPACK_IMPORTED_MODULE_20__","ownKeys","object","enumerableOnly","keys","Object","getOwnPropertySymbols","symbols","filter","sym","getOwnPropertyDescriptor","enumerable","apply","_objectSpread","target","i","arguments","length","source","forEach","key","getOwnPropertyDescriptors","defineProperties","defineProperty","Image","e","then","bind","loadableGenerated","webpack","ResponsiveImage","DentistContacts","Promise","all","Icon","Ui","props","_document$fields","_document$fields2","_document$fields3","_document$fields4","_document$fields5","_document$fields6","_document$fields7","_document$fields8","_document$fields9","_document$fields10","_document$fields11","_document$fields12","_document$fields13","_document$fields14","_document$fields15","_document$fields16","_document$fields17","_document$fields18","_document$fields19","_document$fields20","_document$fields21","_document$fields22","_document$fields23","_document$fields24","_document$fields25","_document$fields26","_document$fields27","_document$fields28","_document$fields29","_document$fields30","_document$fields31","document","isSmall","isXSmall","className","fields","anchorId","desktopBannerImage","mobileBannerImage","eyebrow","headerText","headerTextLevel","subText","secondSubText","disclaimer","bannerBackgroundColour","textColour","headerTextStyle","subTextStyle","secondSubTextStyle","bannerImagePosition","bannerVideo","videoThumbnail","url","destinationUrl","urlType","classNameLink","isHypelinkCard","primaryActionLink","secondaryActionLink","primaryCtaLabel","secondaryCtaLabel","primaryCtaLogo","secondaryCtaLogo","ctaButton","ctaObject","CTA","searchCTA","searchCta","modalContent","modalContentBlock","isMobile","_useState","useState","modalStatus","setModalStatus","_useState2","setDentistSearchModal","handleSearch","closeModal","textStyle","color","textAlign","width","getUpdatedStyles","styleType","styleObject","mobile","desktop","DynamicHeader","_ref","_ref$level","level","style","text","jsx","concat","dangerouslySetInnerHTML","__html","sanitize","renderImage","_mobileBannerImage$fi","_desktopBannerImage$f","children","jsxs","Z","renderBlockFromDocument","image","altText","alternateText","renderText","_mobileBannerImage$fi2","_desktopBannerImage$f2","_mobileBannerImage$fi3","_desktopBannerImage$f3","backgroundColor","href","undefined","rel","onClick","P","whiteCtaColor","blueCtaColor","eventClass","dataActionDetails","toLower","ctaColor","whiteCtaColorValue","ctaLink","ctaLabel","ADD_ATTR","renderMiniContentBlock","Fragment","gT","bannerImagePositionLeft","bannerImagePositionUp","bannerImagePositionTop","bannerImagePositionRight","id","isOpen","onRequestClose","portalClassName","overlay","zIndex","content","border","top","left","right","bottom","fontSize","lineHeight","marginRight","transform","maxWidth","maxHeight","shouldCloseOnOverlayClick","name","size","dentistProps"],"sourceRoot":""}