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f1D,GAAA,QAAAF,UACG,wCAAsDC,SAC9CiE,SAAAS,mBAEL,CAAAtE,GAAA,UAAAuE,QAA2B,CAAAC,KAF7B,MAjByBC,iBAAAC,kBAAAC,sBAAAC,uBAAAC,kBAE/B/F,MACAgG,KACNC,cAYW,OAdLjG,MAAOkG,IAAH,EAcCT,SAdD,aAAAE,CAAAA,iBAAGO,SAAUC,MAAb,SAAAR,iBAAA3F,KAAA,CACJgG,KAAAE,IAAgB,EAaXT,SAbQ,aAAAG,CAAAA,kBAAAM,SAAGC,MAAA,EAAH,WAAnB,EAAmBN,CAAAA,sBAAGD,kBAAtBQ,QAAA,eAAAN,CAAAA,uBAAAD,sBAAAM,MAAA,SAAAL,uBAAAO,IAAA,CACAJ,cAAOC,IAAA,EAYIT,SAZJ,aAAAM,CAAAA,kBAAAG,SAAAC,MAAA,SAAAJ,kBAAAE,aAAA,IAAAxB,gDAAI1D,GAAA,OAAC,CAADD,SAAA,GAAA2D,gDAAA1D,GAAA,EAAAwD,kDAAA,CAA4B+B,KAAAN,KAA5BnF,UAAuDoF,cAAvDnF,SAAAd,KAAX,EAYW,yBAAA0F,MAXZ,EAQQ,EADD,MAaC,GAAAjB,gDAAA1D,GAAA,EAAA2D,KAAA,CAAoBvF,MAAAA,MAfzBC,SAAAA,QAAA,KAHJ,EAjBF,IA4CA","sources":["webpack://_N_E/./node_modules/core-js/modules/es.array.find-index.js","webpack://_N_E/./components/ModernWebAlgolia/AutocompleteHits/index.js","webpack://_N_E/./components/Search/Search.js","webpack://_N_E/./components/SearchBlock/SearchBlock.js","webpack://_N_E/"],"sourcesContent":["'use strict';\nvar $ = require('../internals/export');\nvar $findIndex = require('../internals/array-iteration').findIndex;\nvar addToUnscopables = require('../internals/add-to-unscopables');\nvar arrayMethodUsesToLength = require('../internals/array-method-uses-to-length');\n\nvar FIND_INDEX = 'findIndex';\nvar SKIPS_HOLES = true;\n\nvar USES_TO_LENGTH = arrayMethodUsesToLength(FIND_INDEX);\n\n// Shouldn't skip holes\nif (FIND_INDEX in []) Array(1)[FIND_INDEX](function () { SKIPS_HOLES = false; });\n\n// `Array.prototype.findIndex` method\n// https://tc39.github.io/ecma262/#sec-array.prototype.findindex\n$({ target: 'Array', proto: true, forced: SKIPS_HOLES || !USES_TO_LENGTH }, {\n findIndex: function findIndex(callbackfn /* , that = undefined */) {\n return $findIndex(this, callbackfn, arguments.length > 1 ? arguments[1] : undefined);\n }\n});\n\n// https://tc39.github.io/ecma262/#sec-array.prototype-@@unscopables\naddToUnscopables(FIND_INDEX);\n","/* eslint-disable react/prop-types */\nimport React from 'react';\nimport { SearchBarConstants,SearchBlockConstants,algoliaReducerConstants } from '../../../adapters/helpers/Constants';\nimport { connectAutoComplete } from 'react-instantsearch-dom';\nimport DOMPurify from 'isomorphic-dompurify';\n\nconst Autocomplete = ({ hits, refine,state,dispatch }) => {\n let showAutocomplete = state.showAutocomplete\n const clickAutocompleteSugg = (e,hit) => {\n e.preventDefault();\n window.location.hash = SearchBlockConstants.queryHashName + SearchBlockConstants.queryHashEqual + hit.title;\n refine(hit.title)\n dispatch({ type: algoliaReducerConstants.queryParm,payload:hit.title,...state });\n dispatch({ type: algoliaReducerConstants.SearchClicked,payload:true,...state });\n dispatch({ type: algoliaReducerConstants.showAutocomplete,payload:false,...state });\n dispatch({ type: algoliaReducerConstants.searchValue,payload:hit.title,...state });\n }\n const onBlurSearchBox = () =>{\n if(state.showAutocomplete){\n dispatch({ type: algoliaReducerConstants.showAutocomplete,payload:false,...state });\n }\n }\n const afterClick = () => {\n dispatch({ type: algoliaReducerConstants.isSpinning,payload:true,...state });\n }\n return (\n showAutocomplete && hits.length > 0 && (
\n
\n {SearchBarConstants.common_search}\n
\n
\n
    \n {\n hits.map((hit) => (\n \n {clickAutocompleteSugg(e,hit);afterClick()}}\n dangerouslySetInnerHTML={{ __html: DOMPurify.sanitize(hit._highlightResult.title.value) }}\n />\n \n ))}\n
\n
\n
)\n );\n};\n\nexport const CustomAutocomplete = connectAutoComplete(Autocomplete);\n","import React, { useEffect } from 'react';\nimport dynamic from 'next/dynamic';\nimport PropTypes from 'prop-types';\nimport {\n SearchBarConstants,\n SearchBlockConstants,algoliaReducerConstants\n} from '../../adapters/helpers/Constants';\nimport { connectSearchBox } from 'react-instantsearch-dom';\nimport {CustomAutocomplete} from '../ModernWebAlgolia/AutocompleteHits';\nimport { removeHtmlTag, handleGAEvents } from '../../adapters/helpers/Utils';\nconst Icon = dynamic(() => import('../Icon/Icon'));\n\nconst SearchBox = ({ refine,state,dispatch }) => {\n\n\n useEffect(() => {\n let queryParm = removeHtmlTag(state.queryParm)\n if(state.queryParm != '' && (state.searchValue == '' || state.searchValue == undefined || state.searchValue == null) && state.hitsResponse.length == 0){\n dispatch({ type: algoliaReducerConstants.searchValue,payload:queryParm,...state });\n dispatch({ type: algoliaReducerConstants.SearchClicked,payload:true,...state });\n refine(queryParm)\n }\n }, [])\n\n\n const searchSubmit = (event) => {\n event.preventDefault();\n \n if(state?.searchValue.length > 3 && state?.queryParm !== state.searchValue && state.searchValue!==''){\n let searchQuery = removeHtmlTag(state.searchValue);\n handleGAEvents(SearchBarConstants.eventCategory, SearchBarConstants.eventAction, state.searchValue)\n refine(searchQuery);\n window.location.hash =\n SearchBlockConstants.queryHashName +\n SearchBlockConstants.queryHashEqual +\n searchQuery; \n dispatch({ type: algoliaReducerConstants.SearchClicked,payload:true,...state });\n dispatch({ type: algoliaReducerConstants.showAutocomplete,payload:false,...state });\n dispatch({ type: algoliaReducerConstants.queryParm,payload:searchQuery,...state });\n dispatch({ type: algoliaReducerConstants.isSpinning,payload:true,...state });\n }\n };\n\n const validateScriptInjections = (userInput) => {\n const scriptInjectionPattern = /|javascript:/i;\n if (scriptInjectionPattern.test(userInput)) return true;\n return false;\n }\n\n const searchOnChangeFun = (event) => {\n if (validateScriptInjections(event.target.value)) {\n dispatch({ type: algoliaReducerConstants.searchValue,payload:'',...state });\n return false;\n }\n let searchQuery = removeHtmlTag(event.target.value);\n dispatch({ type: algoliaReducerConstants.searchValue,payload:searchQuery,...state });\n if(event.target.value.length > 3){\n dispatch({ type: algoliaReducerConstants.showAutocomplete,payload:true,...state });\n }else{\n dispatch({ type: algoliaReducerConstants.showAutocomplete,payload:false,...state });\n }\n dispatch({ type: algoliaReducerConstants.SearchClicked,payload:false,...state });\n refine(searchQuery); \n }\n\n\n return (\n
\n \n

\n \n

\n
\n \n \n \n {state?.isSpinning ?\n
:\n }\n \n \n \n \n
\n \n
\n \n );\n};\n\nSearchBox.propTypes = {\n currentRefinement: PropTypes.any,\n refine: PropTypes.any,\n searchClicked : PropTypes.bool,\n state: PropTypes.object,\n dispatch : PropTypes.any\n};\n\nexport const CustomSearch = connectSearchBox(SearchBox);\n","import React, { Suspense, useEffect } from 'react'\nimport dynamic from 'next/dynamic';\nimport { CustomSearch } from '../Search/Search';\nimport { InstantSearch } from 'react-instantsearch-dom';\nimport { getSearchClient } from '../../adapters/algolia/client';\nimport {algoliaReducerConstants} from '../../adapters/helpers/Constants';\nconst Hits = dynamic(() => import('../ModernWebAlgolia/Hits'));\nimport Link from 'next/link';\nimport Loader from '../../adapters/helpers/Loader'\n\nconst SearchPage = (props) => {\n const searchClient = getSearchClient();\n const document = props?.document;\n const context = props?.context;\n const state = context && context[0];\n const dispatch = context && context[1];\n useEffect(() => { \n dispatch({ type: algoliaReducerConstants.searchStaticContent,payload:document,...state }); \n },[])\n \n function renderPageLink(pageLink, key) {\n const title = pageLink?.fields?.title;\n const link = pageLink?.fields?.pagePath?.fields?.slug;\n const linkClassName = pageLink?.fields?.linkClassName;\n return
  • {title}
  • ;\n }\n\n return (\n }>\n
    \n \n \n { (state.queryParm === '' || state.queryParm === undefined) ?\n (\n <>

    \n
      \n {document.suggestedCategories.map((category, index) => {\n return renderPageLink(\n category,\n 'suggestedCategoryIndex' + index\n );\n })}\n
    \n )\n :\n ()\n }\n \n

    \n
    \n )\n}\n\n\nexport default React.memo(SearchPage)\n","\"use strict\";\n(self[\"webpackChunk_N_E\"] = self[\"webpackChunk_N_E\"] || []).push([[3402],{\n\n/***/ 34553:\n/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {\n\n\nvar $ = __webpack_require__(82109);\nvar $findIndex = (__webpack_require__(42092).findIndex);\nvar addToUnscopables = __webpack_require__(51223);\nvar arrayMethodUsesToLength = __webpack_require__(29207);\n\nvar FIND_INDEX = 'findIndex';\nvar SKIPS_HOLES = true;\n\nvar USES_TO_LENGTH = arrayMethodUsesToLength(FIND_INDEX);\n\n// Shouldn't skip holes\nif (FIND_INDEX in []) Array(1)[FIND_INDEX](function () { SKIPS_HOLES = false; });\n\n// `Array.prototype.findIndex` method\n// https://tc39.github.io/ecma262/#sec-array.prototype.findindex\n$({ target: 'Array', proto: true, forced: SKIPS_HOLES || !USES_TO_LENGTH }, {\n findIndex: function findIndex(callbackfn /* , that = undefined */) {\n return $findIndex(this, callbackfn, arguments.length > 1 ? arguments[1] : undefined);\n }\n});\n\n// https://tc39.github.io/ecma262/#sec-array.prototype-@@unscopables\naddToUnscopables(FIND_INDEX);\n\n\n/***/ }),\n\n/***/ 75269:\n/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {\n\n\n// EXPORTS\n__webpack_require__.d(__webpack_exports__, {\n \"N\": function() { return /* binding */ CustomSearch; }\n});\n\n// EXTERNAL MODULE: ./node_modules/core-js/modules/es.object.keys.js\nvar es_object_keys = __webpack_require__(47941);\n// EXTERNAL MODULE: ./node_modules/core-js/modules/es.symbol.js\nvar es_symbol = __webpack_require__(82526);\n// EXTERNAL MODULE: ./node_modules/core-js/modules/es.array.filter.js\nvar es_array_filter = __webpack_require__(57327);\n// EXTERNAL MODULE: ./node_modules/core-js/modules/es.object.get-own-property-descriptor.js\nvar es_object_get_own_property_descriptor = __webpack_require__(38880);\n// EXTERNAL MODULE: ./node_modules/core-js/modules/es.array.for-each.js\nvar es_array_for_each = __webpack_require__(89554);\n// EXTERNAL MODULE: ./node_modules/core-js/modules/web.dom-collections.for-each.js\nvar web_dom_collections_for_each = __webpack_require__(54747);\n// EXTERNAL MODULE: ./node_modules/core-js/modules/es.object.get-own-property-descriptors.js\nvar es_object_get_own_property_descriptors = __webpack_require__(49337);\n// EXTERNAL MODULE: ./node_modules/core-js/modules/es.object.define-properties.js\nvar es_object_define_properties = __webpack_require__(33321);\n// EXTERNAL MODULE: ./node_modules/core-js/modules/es.object.define-property.js\nvar es_object_define_property = __webpack_require__(69070);\n// EXTERNAL MODULE: ./node_modules/next/dist/compiled/@babel/runtime/helpers/defineProperty.js\nvar defineProperty = __webpack_require__(930);\nvar defineProperty_default = /*#__PURE__*/__webpack_require__.n(defineProperty);\n// EXTERNAL MODULE: ./node_modules/core-js/modules/es.object.to-string.js\nvar es_object_to_string = __webpack_require__(41539);\n// EXTERNAL MODULE: ./node_modules/core-js/modules/es.promise.js\nvar es_promise = __webpack_require__(88674);\n// EXTERNAL MODULE: ./node_modules/core-js/modules/es.regexp.exec.js\nvar es_regexp_exec = __webpack_require__(74916);\n// EXTERNAL MODULE: ./node_modules/core-js/modules/es.regexp.test.js\nvar es_regexp_test = __webpack_require__(77601);\n// EXTERNAL MODULE: ./node_modules/core-js/modules/es.string.search.js\nvar es_string_search = __webpack_require__(64765);\n// EXTERNAL MODULE: ./node_modules/react/index.js\nvar react = __webpack_require__(67294);\n// EXTERNAL MODULE: ./node_modules/next/dynamic.js\nvar dynamic = __webpack_require__(5152);\nvar dynamic_default = /*#__PURE__*/__webpack_require__.n(dynamic);\n// EXTERNAL MODULE: ./adapters/helpers/Constants.js\nvar Constants = __webpack_require__(24036);\n// EXTERNAL MODULE: ./node_modules/react-instantsearch-core/dist/es/connectors/connectSearchBox.js\nvar connectSearchBox = __webpack_require__(74575);\n// EXTERNAL MODULE: ./node_modules/core-js/modules/es.array.map.js\nvar es_array_map = __webpack_require__(21249);\n// EXTERNAL MODULE: ./node_modules/react-instantsearch-core/dist/es/connectors/connectAutoComplete.js\nvar connectAutoComplete = __webpack_require__(47849);\n// EXTERNAL MODULE: ./node_modules/isomorphic-dompurify/browser.js\nvar browser = __webpack_require__(29238);\nvar browser_default = /*#__PURE__*/__webpack_require__.n(browser);\n// EXTERNAL MODULE: ./node_modules/react/jsx-runtime.js\nvar jsx_runtime = __webpack_require__(85893);\n;// CONCATENATED MODULE: ./components/ModernWebAlgolia/AutocompleteHits/index.js\n\n\n\n\n\n\n\n\n\n\n\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) { defineProperty_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/* eslint-disable react/prop-types */\n\n\n\n\n\n\n\nvar Autocomplete = function Autocomplete(_ref) {\n var hits = _ref.hits,\n refine = _ref.refine,\n state = _ref.state,\n dispatch = _ref.dispatch;\n var showAutocomplete = state.showAutocomplete;\n\n var clickAutocompleteSugg = function clickAutocompleteSugg(e, hit) {\n e.preventDefault();\n window.location.hash = Constants/* SearchBlockConstants.queryHashName */.vT.queryHashName + Constants/* SearchBlockConstants.queryHashEqual */.vT.queryHashEqual + hit.title;\n refine(hit.title);\n dispatch(_objectSpread({\n type: Constants/* algoliaReducerConstants.queryParm */.JA.queryParm,\n payload: hit.title\n }, state));\n dispatch(_objectSpread({\n type: Constants/* algoliaReducerConstants.SearchClicked */.JA.SearchClicked,\n payload: true\n }, state));\n dispatch(_objectSpread({\n type: Constants/* algoliaReducerConstants.showAutocomplete */.JA.showAutocomplete,\n payload: false\n }, state));\n dispatch(_objectSpread({\n type: Constants/* algoliaReducerConstants.searchValue */.JA.searchValue,\n payload: hit.title\n }, state));\n };\n\n var onBlurSearchBox = function onBlurSearchBox() {\n if (state.showAutocomplete) {\n dispatch(_objectSpread({\n type: Constants/* algoliaReducerConstants.showAutocomplete */.JA.showAutocomplete,\n payload: false\n }, state));\n }\n };\n\n var afterClick = function afterClick() {\n dispatch(_objectSpread({\n type: Constants/* algoliaReducerConstants.isSpinning */.JA.isSpinning,\n payload: true\n }, state));\n };\n\n return showAutocomplete && hits.length > 0 && /*#__PURE__*/(0,jsx_runtime.jsxs)(\"div\", {\n id: \"autocomplete-sugg\",\n tabIndex: 0,\n onBlur: onBlurSearchBox,\n className: \"ob-search-bar-autocomplete\",\n children: [/*#__PURE__*/(0,jsx_runtime.jsx)(\"div\", {\n className: \"ob-search-bar-autocomplete-title\",\n children: Constants/* SearchBarConstants.common_search */.pR.common_search\n }), /*#__PURE__*/(0,jsx_runtime.jsx)(\"div\", {\n className: \"flex flex-col align-center justify-center p-2 shadow-lg\",\n children: /*#__PURE__*/(0,jsx_runtime.jsx)(\"ul\", {\n className: \"ob-search-bar-autocomplete-results\",\n children: hits.map(function (hit) {\n return /*#__PURE__*/(0,jsx_runtime.jsx)(\"li\", {\n className: \"ob-search-bar-autocomplete__result-item\",\n children: /*#__PURE__*/(0,jsx_runtime.jsx)(\"button\", {\n className: \"ob-search-bar-autocomplete__result-item-button event_search\",\n \"data-index\": hit.objectID,\n role: \"link\",\n \"data-action-detail\": hit == null ? void 0 : hit.title,\n onClick: function onClick(e) {\n clickAutocompleteSugg(e, hit);\n afterClick();\n },\n dangerouslySetInnerHTML: {\n __html: browser_default().sanitize(hit._highlightResult.title.value)\n }\n })\n }, hit.objectID);\n })\n })\n })]\n });\n};\n\nvar CustomAutocomplete = (0,connectAutoComplete/* default */.Z)(Autocomplete);\n// EXTERNAL MODULE: ./adapters/helpers/Utils.js\nvar Utils = __webpack_require__(8996);\n;// CONCATENATED MODULE: ./components/Search/Search.js\n\n\n\n\n\n\n\n\n\n\n\nfunction Search_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 Search_objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? Search_ownKeys(Object(source), !0).forEach(function (key) { defineProperty_default()(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : Search_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\nvar Icon = dynamic_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 SearchBox = function SearchBox(_ref) {\n var _state$searchStaticCo;\n\n var refine = _ref.refine,\n state = _ref.state,\n dispatch = _ref.dispatch;\n (0,react.useEffect)(function () {\n var queryParm = (0,Utils/* removeHtmlTag */.XP)(state.queryParm);\n\n if (state.queryParm != '' && (state.searchValue == '' || state.searchValue == undefined || state.searchValue == null) && state.hitsResponse.length == 0) {\n dispatch(Search_objectSpread({\n type: Constants/* algoliaReducerConstants.searchValue */.JA.searchValue,\n payload: queryParm\n }, state));\n dispatch(Search_objectSpread({\n type: Constants/* algoliaReducerConstants.SearchClicked */.JA.SearchClicked,\n payload: true\n }, state));\n refine(queryParm);\n }\n }, []);\n\n var searchSubmit = function searchSubmit(event) {\n event.preventDefault();\n\n if ((state == null ? void 0 : state.searchValue.length) > 3 && (state == null ? void 0 : state.queryParm) !== state.searchValue && state.searchValue !== '') {\n var searchQuery = (0,Utils/* removeHtmlTag */.XP)(state.searchValue);\n (0,Utils/* handleGAEvents */.sz)(Constants/* SearchBarConstants.eventCategory */.pR.eventCategory, Constants/* SearchBarConstants.eventAction */.pR.eventAction, state.searchValue);\n refine(searchQuery);\n window.location.hash = Constants/* SearchBlockConstants.queryHashName */.vT.queryHashName + Constants/* SearchBlockConstants.queryHashEqual */.vT.queryHashEqual + searchQuery;\n dispatch(Search_objectSpread({\n type: Constants/* algoliaReducerConstants.SearchClicked */.JA.SearchClicked,\n payload: true\n }, state));\n dispatch(Search_objectSpread({\n type: Constants/* algoliaReducerConstants.showAutocomplete */.JA.showAutocomplete,\n payload: false\n }, state));\n dispatch(Search_objectSpread({\n type: Constants/* algoliaReducerConstants.queryParm */.JA.queryParm,\n payload: searchQuery\n }, state));\n dispatch(Search_objectSpread({\n type: Constants/* algoliaReducerConstants.isSpinning */.JA.isSpinning,\n payload: true\n }, state));\n }\n };\n\n var validateScriptInjections = function validateScriptInjections(userInput) {\n var scriptInjectionPattern = /|javascript:/i;\n if (scriptInjectionPattern.test(userInput)) return true;\n return false;\n };\n\n var searchOnChangeFun = function searchOnChangeFun(event) {\n if (validateScriptInjections(event.target.value)) {\n dispatch(Search_objectSpread({\n type: Constants/* algoliaReducerConstants.searchValue */.JA.searchValue,\n payload: ''\n }, state));\n return false;\n }\n\n var searchQuery = (0,Utils/* removeHtmlTag */.XP)(event.target.value);\n dispatch(Search_objectSpread({\n type: Constants/* algoliaReducerConstants.searchValue */.JA.searchValue,\n payload: searchQuery\n }, state));\n\n if (event.target.value.length > 3) {\n dispatch(Search_objectSpread({\n type: Constants/* algoliaReducerConstants.showAutocomplete */.JA.showAutocomplete,\n payload: true\n }, state));\n } else {\n dispatch(Search_objectSpread({\n type: Constants/* algoliaReducerConstants.showAutocomplete */.JA.showAutocomplete,\n payload: false\n }, state));\n }\n\n dispatch(Search_objectSpread({\n type: Constants/* algoliaReducerConstants.SearchClicked */.JA.SearchClicked,\n payload: false\n }, state));\n refine(searchQuery);\n };\n\n return /*#__PURE__*/(0,jsx_runtime.jsx)(\"div\", {\n className: \"ob-search-block__search\",\n children: /*#__PURE__*/(0,jsx_runtime.jsxs)(\"form\", {\n noValidate: true,\n action: \"\",\n className: \"ob-search-bar-form\",\n role: \"search\",\n onSubmit: searchSubmit,\n children: [/*#__PURE__*/(0,jsx_runtime.jsx)(\"h1\", {\n id: \"searchTitle\",\n className: \"ob-search-block__search-title\",\n children: /*#__PURE__*/(0,jsx_runtime.jsx)(\"label\", {\n htmlFor: \"searchText\",\n children: (state == null ? void 0 : (_state$searchStaticCo = state.searchStaticContent) == null ? void 0 : _state$searchStaticCo.mainTitle) ? state.searchStaticContent.mainTitle.toUpperCase() : ''\n })\n }), /*#__PURE__*/(0,jsx_runtime.jsxs)(\"div\", {\n className: \"ob-search-bar\",\n children: [/*#__PURE__*/(0,jsx_runtime.jsx)(\"input\", {\n id: \"searchText\",\n type: \"text\",\n value: state.searchValue,\n onChange: searchOnChangeFun,\n \"aria-label\": \"Search\"\n }), /*#__PURE__*/(0,jsx_runtime.jsx)(\"button\", {\n type: Constants/* SearchBarConstants.submit */.pR.submit,\n className: \"ob-search-bar-icon\",\n onClick: searchSubmit,\n children: (state == null ? void 0 : state.isSpinning) ? /*#__PURE__*/(0,jsx_runtime.jsx)(\"div\", {\n className: \"ob-search-bar-spinner\",\n children: /*#__PURE__*/(0,jsx_runtime.jsx)(\"div\", {})\n }) : /*#__PURE__*/(0,jsx_runtime.jsx)(Icon, {\n name: Constants/* SearchBarConstants.search */.pR.search,\n arialable: 'Search'\n })\n }), /*#__PURE__*/(0,jsx_runtime.jsx)(CustomAutocomplete, {\n state: state,\n dispatch: dispatch\n })]\n })]\n })\n });\n};\n\nvar CustomSearch = (0,connectSearchBox/* default */.Z)(SearchBox);\n\n/***/ }),\n\n/***/ 14555:\n/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {\n\n__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var core_js_modules_es_object_keys_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(47941);\n/* harmony import */ var core_js_modules_es_object_keys_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_object_keys_js__WEBPACK_IMPORTED_MODULE_0__);\n/* harmony import */ var core_js_modules_es_symbol_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(82526);\n/* harmony import */ var core_js_modules_es_symbol_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_symbol_js__WEBPACK_IMPORTED_MODULE_1__);\n/* harmony import */ var core_js_modules_es_array_filter_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(57327);\n/* harmony import */ var core_js_modules_es_array_filter_js__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_filter_js__WEBPACK_IMPORTED_MODULE_2__);\n/* harmony import */ var core_js_modules_es_object_get_own_property_descriptor_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(38880);\n/* harmony import */ var core_js_modules_es_object_get_own_property_descriptor_js__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_object_get_own_property_descriptor_js__WEBPACK_IMPORTED_MODULE_3__);\n/* harmony import */ var core_js_modules_es_array_for_each_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(89554);\n/* harmony import */ var core_js_modules_es_array_for_each_js__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_for_each_js__WEBPACK_IMPORTED_MODULE_4__);\n/* harmony import */ var core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(54747);\n/* harmony import */ var core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_5__);\n/* harmony import */ var core_js_modules_es_object_get_own_property_descriptors_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(49337);\n/* harmony import */ var core_js_modules_es_object_get_own_property_descriptors_js__WEBPACK_IMPORTED_MODULE_6___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_object_get_own_property_descriptors_js__WEBPACK_IMPORTED_MODULE_6__);\n/* harmony import */ var core_js_modules_es_object_define_properties_js__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(33321);\n/* harmony import */ var core_js_modules_es_object_define_properties_js__WEBPACK_IMPORTED_MODULE_7___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_object_define_properties_js__WEBPACK_IMPORTED_MODULE_7__);\n/* harmony import */ var core_js_modules_es_object_define_property_js__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(69070);\n/* harmony import */ var core_js_modules_es_object_define_property_js__WEBPACK_IMPORTED_MODULE_8___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_object_define_property_js__WEBPACK_IMPORTED_MODULE_8__);\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_9__ = __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_9___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_9__);\n/* harmony import */ var core_js_modules_es_object_to_string_js__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(41539);\n/* harmony import */ var core_js_modules_es_object_to_string_js__WEBPACK_IMPORTED_MODULE_10___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_object_to_string_js__WEBPACK_IMPORTED_MODULE_10__);\n/* harmony import */ var core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(88674);\n/* harmony import */ var core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_11___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_11__);\n/* harmony import */ var core_js_modules_es_array_map_js__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(21249);\n/* harmony import */ var core_js_modules_es_array_map_js__WEBPACK_IMPORTED_MODULE_12___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_map_js__WEBPACK_IMPORTED_MODULE_12__);\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(67294);\n/* harmony import */ var next_dynamic__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(5152);\n/* harmony import */ var next_dynamic__WEBPACK_IMPORTED_MODULE_14___default = /*#__PURE__*/__webpack_require__.n(next_dynamic__WEBPACK_IMPORTED_MODULE_14__);\n/* harmony import */ var _Search_Search__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(75269);\n/* harmony import */ var react_instantsearch_dom__WEBPACK_IMPORTED_MODULE_21__ = __webpack_require__(4793);\n/* harmony import */ var _adapters_algolia_client__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(90358);\n/* harmony import */ var _adapters_helpers_Constants__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(24036);\n/* harmony import */ var next_link__WEBPACK_IMPORTED_MODULE_18__ = __webpack_require__(41664);\n/* harmony import */ var next_link__WEBPACK_IMPORTED_MODULE_18___default = /*#__PURE__*/__webpack_require__.n(next_link__WEBPACK_IMPORTED_MODULE_18__);\n/* harmony import */ var _adapters_helpers_Loader__WEBPACK_IMPORTED_MODULE_19__ = __webpack_require__(47322);\n/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_20__ = __webpack_require__(85893);\n\n\n\n\n\n\n\n\n\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_9___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\nvar Hits = next_dynamic__WEBPACK_IMPORTED_MODULE_14___default()(function () {\n return __webpack_require__.e(/* import() */ 7225).then(__webpack_require__.bind(__webpack_require__, 97225));\n}, {\n loadableGenerated: {\n webpack: function webpack() {\n return [/*require.resolve*/(97225)];\n }\n }\n});\n\n\n\n\n\n\nvar SearchPage = function SearchPage(props) {\n var searchClient = (0,_adapters_algolia_client__WEBPACK_IMPORTED_MODULE_16__/* .getSearchClient */ .m)();\n var document = props == null ? void 0 : props.document;\n var context = props == null ? void 0 : props.context;\n var state = context && context[0];\n var dispatch = context && context[1];\n (0,react__WEBPACK_IMPORTED_MODULE_13__.useEffect)(function () {\n dispatch(_objectSpread({\n type: _adapters_helpers_Constants__WEBPACK_IMPORTED_MODULE_17__/* .algoliaReducerConstants.searchStaticContent */ .JA.searchStaticContent,\n payload: document\n }, state));\n }, []);\n\n function renderPageLink(pageLink, key) {\n var _pageLink$fields, _pageLink$fields2, _pageLink$fields2$pag, _pageLink$fields2$pag2, _pageLink$fields3;\n\n var title = pageLink == null ? void 0 : (_pageLink$fields = pageLink.fields) == null ? void 0 : _pageLink$fields.title;\n var link = pageLink == null ? void 0 : (_pageLink$fields2 = pageLink.fields) == null ? void 0 : (_pageLink$fields2$pag = _pageLink$fields2.pagePath) == null ? void 0 : (_pageLink$fields2$pag2 = _pageLink$fields2$pag.fields) == null ? void 0 : _pageLink$fields2$pag2.slug;\n var linkClassName = pageLink == null ? void 0 : (_pageLink$fields3 = pageLink.fields) == null ? void 0 : _pageLink$fields3.linkClassName;\n return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_20__.jsx)(\"li\", {\n children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_20__.jsx)((next_link__WEBPACK_IMPORTED_MODULE_18___default()), {\n href: link,\n className: linkClassName,\n children: title\n }, key)\n });\n }\n\n return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_20__.jsx)(react__WEBPACK_IMPORTED_MODULE_13__.Suspense, {\n fallback: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_20__.jsx)(_adapters_helpers_Loader__WEBPACK_IMPORTED_MODULE_19__[\"default\"], {}),\n children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_20__.jsx)(\"div\", {\n className: \"ob-search-block\",\n children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_20__.jsxs)(react_instantsearch_dom__WEBPACK_IMPORTED_MODULE_21__/* [\"default\"] */ .Z, {\n searchClient: searchClient,\n indexName: \"crawler_oral-b_cz_prod\",\n children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_20__.jsx)(_Search_Search__WEBPACK_IMPORTED_MODULE_15__/* .CustomSearch */ .N, {\n defaultRefinement: \"\",\n state: state,\n dispatch: dispatch\n }), state.queryParm === '' || state.queryParm === undefined ? /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_20__.jsxs)(react__WEBPACK_IMPORTED_MODULE_13__.Fragment, {\n children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_20__.jsx)(react_jsx_runtime__WEBPACK_IMPORTED_MODULE_20__.Fragment, {\n children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_20__.jsx)(\"h2\", {\n className: \"ob-search-block__suggested-title\",\n dangerouslySetInnerHTML: {\n __html: props.document.suggestedTitle\n }\n })\n }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_20__.jsx)(\"ul\", {\n className: 'ob-search-block__suggested-categories',\n children: document.suggestedCategories.map(function (category, index) {\n return renderPageLink(category, 'suggestedCategoryIndex' + index);\n })\n })]\n }) : /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_20__.jsx)(Hits, {\n state: state,\n dispatch: dispatch\n })]\n })\n })\n });\n};\n\n/* harmony default export */ __webpack_exports__[\"default\"] = (/*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_13__.memo(SearchPage));\n\n/***/ })\n\n}]);"],"names":["self","push","__unused_webpack_module","__unused_webpack_exports","__webpack_require__","$","$findIndex","findIndex","addToUnscopables","arrayMethodUsesToLength","FIND_INDEX","SKIPS_HOLES","USES_TO_LENGTH","Array","target","proto","forced","callbackfn","arguments","length","undefined","__webpack_exports__","d","CustomSearch","defineProperty","defineProperty_default","n","react","dynamic","dynamic_default","Constants","connectSearchBox","connectAutoComplete","browser","browser_default","jsx_runtime","ownKeys","object","enumerableOnly","keys","Object","getOwnPropertySymbols","symbols","filter","sym","getOwnPropertyDescriptor","enumerable","apply","_objectSpread","i","source","forEach","key","getOwnPropertyDescriptors","defineProperties","CustomAutocomplete","Z","_ref","hits","refine","state","dispatch","showAutocomplete","clickAutocompleteSugg","e","hit","preventDefault","window","location","hash","vT","queryHashName","queryHashEqual","title","type","JA","queryParm","payload","SearchClicked","searchValue","afterClick","isSpinning","jsxs","id","tabIndex","onBlur","className","children","jsx","pR","common_search","map","objectID","role","onClick","dangerouslySetInnerHTML","__html","sanitize","_highlightResult","value","Utils","Search_ownKeys","Search_objectSpread","Icon","then","bind","loadableGenerated","webpack","_state$searchStaticCo","useEffect","XP","hitsResponse","searchSubmit","event","searchQuery","sz","eventCategory","eventAction","noValidate","action","onSubmit","htmlFor","searchStaticContent","mainTitle","toUpperCase","onChange","userInput","scriptInjectionPattern","test","submit","name","search","arialable","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_9__","_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_9___default","react__WEBPACK_IMPORTED_MODULE_13__","next_dynamic__WEBPACK_IMPORTED_MODULE_14__","next_dynamic__WEBPACK_IMPORTED_MODULE_14___default","_Search_Search__WEBPACK_IMPORTED_MODULE_15__","react_instantsearch_dom__WEBPACK_IMPORTED_MODULE_21__","_adapters_algolia_client__WEBPACK_IMPORTED_MODULE_16__","_adapters_helpers_Constants__WEBPACK_IMPORTED_MODULE_17__","next_link__WEBPACK_IMPORTED_MODULE_18__","next_link__WEBPACK_IMPORTED_MODULE_18___default","_adapters_helpers_Loader__WEBPACK_IMPORTED_MODULE_19__","react_jsx_runtime__WEBPACK_IMPORTED_MODULE_20__","Hits","memo","props","searchClient","m","document","context","Suspense","fallback","indexName","N","defaultRefinement","Fragment","suggestedTitle","suggestedCategories","category","index","_pageLink$fields","_pageLink$fields2","_pageLink$fields2$pag","_pageLink$fields2$pag2","_pageLink$fields3","link","linkClassName","pageLink","fields","pagePath","slug","href"],"sourceRoot":""}