{"version":3,"sources":["webpack:///./src/img/icons/search.svg","webpack:///./src/img/icons/tick.svg","webpack:///./node_modules/lodash/xor.js","webpack:///./src/img/icons/chevron-right.svg","webpack:///./src/stories/Components/Filters/Filter/Filter.styles.ts","webpack:///./src/stories/Components/Filters/FilterDesktop/FilterDesktop.styles.ts","webpack:///./src/stories/Components/Filters/FilterDesktop/FilterDesktop.tsx","webpack:///./src/stories/Components/Filters/FilterMobile/FilterMobile.styles.ts","webpack:///./src/stories/Components/Filters/FilterMobile/FilterMobile.tsx","webpack:///./src/stories/Components/Filters/Filter/Filter.tsx","webpack:///./node_modules/lodash/_arrayIncludes.js","webpack:///./node_modules/lodash/_arrayIncludesWith.js","webpack:///./node_modules/lodash/_baseRest.js","webpack:///./node_modules/lodash/_baseXor.js","webpack:///./node_modules/lodash/_baseDifference.js","webpack:///./node_modules/lodash/_baseIndexOf.js","webpack:///./node_modules/lodash/_baseFindIndex.js","webpack:///./node_modules/lodash/_baseIsNaN.js","webpack:///./node_modules/lodash/_strictIndexOf.js","webpack:///./node_modules/lodash/_baseUniq.js","webpack:///./node_modules/lodash/_createSet.js","webpack:///./node_modules/lodash/isArrayLikeObject.js","webpack:///./src/helpers/srOnly.ts"],"names":["_g","_path","_extends","Object","assign","target","i","arguments","length","source","key","prototype","hasOwnProperty","call","apply","this","SvgSearch","props","xmlns","viewBox","fill","stroke","strokeWidth","cx","cy","r","strokeLinecap","d","SvgTick","arrayFilter","baseRest","baseXor","isArrayLikeObject","xor","arrays","module","exports","SvgChevronRight","FilterBreakpoint","Device","TabletLarge","Container","styled","section","until","Inner","div","FilterTop","brand","grey","grey89","Title","span","fonts","DaxPro","Medium","SelectedFilters","SelectedFilterBtn","button","Regular","ThemeSwitch","groundforceColour","rgba","primary","base","tpaColour","tpa","ItemList","Item","m","ButtonReset","ItemTitle","ItemArrow","ItemIcon","OptionOverlay","OptionList","Option","OptionInput","input","srOnly","FilterDesktopStyles","OptionLabel","label","alt","white","TickUrl","ResetButton","Filter","item","value","onChange","active","toggle","React","S","initial","animate","onClick","event","preventDefault","title","options","variants","closed","opacity","transitionEnd","display","opened","transition","duration","ease","map","option","id","name","selectedOptions","checked","includes","type","htmlFor","text","FilterDesktop","cta","items","showReset","onReset","x","activeFilters","setActiveFilters","SvgClose","LinkButton","branding","href","url","from","ButtonWrapper","ButtonStyles","Button","Overlay","FilterTitle","CloseBtn","CloseIcon","BackArrow","FilterMid","ItemText","Arrow","SubmitWrapper","Backdrop","FilterMobileStyles","FilterMobile","dropdown","translations","isOpen","setIsOpen","SvgChevron","withMotion","baseIndexOf","array","comparator","index","identity","overRest","setToString","func","start","baseDifference","baseFlatten","baseUniq","iteratee","result","Array","othIndex","SetCache","arrayIncludes","arrayIncludesWith","arrayMap","baseUnary","cacheHas","values","isCommon","valuesLength","outer","computed","valuesIndex","push","baseFindIndex","baseIsNaN","strictIndexOf","fromIndex","predicate","fromRight","createSet","setToArray","seen","set","seenIndex","Set","noop","isArrayLike","isObjectLike","css"],"mappings":"uGAAA,sCAAIA,EAAIC,EAAR,OAEA,SAASC,IAA2Q,OAA9PA,EAAWC,OAAOC,QAAU,SAAUC,GAAU,IAAK,IAAIC,EAAI,EAAGA,EAAIC,UAAUC,OAAQF,IAAK,CAAE,IAAIG,EAASF,UAAUD,GAAI,IAAK,IAAII,KAAOD,EAAcN,OAAOQ,UAAUC,eAAeC,KAAKJ,EAAQC,KAAQL,EAAOK,GAAOD,EAAOC,IAAY,OAAOL,IAA2BS,MAAMC,KAAMR,WAIhT,SAASS,EAAUC,GACjB,OAAoB,gBAAoB,MAAOf,EAAS,CACtDgB,MAAO,6BACPC,QAAS,qBACRF,GAAQjB,IAAOA,EAAkB,gBAAoB,IAAK,CAC3DoB,KAAM,OACNC,OAAQ,eACRC,YAAa,GACC,gBAAoB,SAAU,CAC5CC,GAAI,OACJC,GAAI,OACJC,EAAG,OACHJ,OAAQ,SACO,gBAAoB,SAAU,CAC7CE,GAAI,OACJC,GAAI,OACJC,EAAG,UACCxB,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AAW,KAAOuB,EAAUlC,GACtC,GAAIqC,EACF,OAAOF,EAAWE,GAEpBf,GAAW,EACX9D,EAAW4D,EACXgB,EAAO,IAAIrB,OAGXqB,EAAOzB,EAAW,GAAKC,EAEzBY,EACA,OAAStB,EAAQvJ,GAAQ,CACvB,IAAIiF,EAAQoE,EAAME,GACduB,EAAWd,EAAWA,EAAS/E,GAASA,EAG5C,GADAA,EAASqE,GAAwB,IAAVrE,EAAeA,EAAQ,EAC1C0F,GAAYG,GAAaA,EAAU,CAErC,IADA,IAAIa,EAAYF,EAAKzL,OACd2L,KACL,GAAIF,EAAKE,KAAeb,EACtB,SAASD,EAGTb,GACFyB,EAAKT,KAAKF,GAEZb,EAAOe,KAAK/F,QAEJ4B,EAAS4E,EAAMX,EAAUxB,KAC7BmC,IAASxB,GACXwB,EAAKT,KAAKF,GAEZb,EAAOe,KAAK/F,IAGhB,OAAOgF,I,oBCpET,IAAI2B,EAAM,EAAQ,KACdC,EAAO,EAAQ,KACfL,EAAa,EAAQ,KAYrBD,EAAcK,GAAQ,EAAIJ,EAAW,IAAII,EAAI,CAAC,EAAE,KAAK,IAT1C,IASoE,SAASlB,GAC1F,OAAO,IAAIkB,EAAIlB,IAD2DmB,EAI5ElK,EAAOC,QAAU2J,G,oBClBjB,IAAIO,EAAc,EAAQ,KACtBC,EAAe,EAAQ,IA+B3BpK,EAAOC,QAJP,SAA2BqD,GACzB,OAAO8G,EAAa9G,IAAU6G,EAAY7G,K,gCC7B5C,WAKMV,EAASyH,YAAH,qTAaGzH","file":"default~ProductListing~TechnicalLibrary-08dd3a91e4b13aa768e1.js","sourcesContent":["var _g, _path;\n\nfunction _extends() { _extends = Object.assign || 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); }\n\nimport * as React from \"react\";\n\nfunction SvgSearch(props) {\n return /*#__PURE__*/React.createElement(\"svg\", _extends({\n xmlns: \"http://www.w3.org/2000/svg\",\n viewBox: \"0 0 27.333 27.333\"\n }, props), _g || (_g = /*#__PURE__*/React.createElement(\"g\", {\n fill: \"none\",\n stroke: \"currentColor\",\n strokeWidth: 2\n }, /*#__PURE__*/React.createElement(\"circle\", {\n cx: 10.913,\n cy: 10.913,\n r: 10.913,\n stroke: \"none\"\n }), /*#__PURE__*/React.createElement(\"circle\", {\n cx: 10.913,\n cy: 10.913,\n r: 9.913\n }))), _path || (_path = /*#__PURE__*/React.createElement(\"path\", {\n fill: \"none\",\n stroke: \"currentColor\",\n strokeLinecap: \"round\",\n strokeWidth: 2,\n d: \"M18.643 18.643l7.275 7.275\"\n })));\n}\n\nexport default __webpack_public_path__ + \"59b9461c6c7c0d10ca810c3df0f2971c.svg\";\nexport { SvgSearch as ReactComponent };","var _path;\n\nfunction _extends() { _extends = Object.assign || 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); }\n\nimport * as React from \"react\";\n\nfunction SvgTick(props) {\n return /*#__PURE__*/React.createElement(\"svg\", _extends({\n xmlns: \"http://www.w3.org/2000/svg\",\n viewBox: \"0 0 10.461 8.047\"\n }, props), _path || (_path = /*#__PURE__*/React.createElement(\"path\", {\n d: \"M.121 4.426a.389.389 0 010-.563L.684 3.3a.389.389 0 01.563 0l.04.04L3.5 5.714a.194.194 0 00.282 0L9.174.121h.04a.389.389 0 01.563 0l.563.563a.389.389 0 010 .563L3.9 7.927a.389.389 0 01-.563 0L.2 4.547l-.08-.121z\",\n fill: \"#fff\"\n })));\n}\n\nexport default __webpack_public_path__ + \"f4264fed6b9c7f2f5267ffb08b4bb7f3.svg\";\nexport { SvgTick as ReactComponent };","var arrayFilter = require('./_arrayFilter'),\n baseRest = require('./_baseRest'),\n baseXor = require('./_baseXor'),\n isArrayLikeObject = require('./isArrayLikeObject');\n\n/**\n * Creates an array of unique values that is the\n * [symmetric difference](https://en.wikipedia.org/wiki/Symmetric_difference)\n * of the given arrays. The order of result values is determined by the order\n * they occur in the arrays.\n *\n * @static\n * @memberOf _\n * @since 2.4.0\n * @category Array\n * @param {...Array} [arrays] The arrays to inspect.\n * @returns {Array} Returns the new array of filtered values.\n * @see _.difference, _.without\n * @example\n *\n * _.xor([2, 1], [2, 3]);\n * // => [1, 3]\n */\nvar xor = baseRest(function(arrays) {\n return baseXor(arrayFilter(arrays, isArrayLikeObject));\n});\n\nmodule.exports = xor;\n","var _path;\n\nfunction _extends() { _extends = Object.assign || 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); }\n\nimport * as React from \"react\";\n\nfunction SvgChevronRight(props) {\n return /*#__PURE__*/React.createElement(\"svg\", _extends({\n xmlns: \"http://www.w3.org/2000/svg\",\n viewBox: \"0 0 7.257 11.686\"\n }, props), _path || (_path = /*#__PURE__*/React.createElement(\"path\", {\n \"data-name\": \"Path 48\",\n d: \"M.707.707l5.136 5.136-5.136 5.136\",\n fill: \"none\",\n stroke: \"currentColor\",\n strokeWidth: 2\n })));\n}\n\nexport default __webpack_public_path__ + \"6973e4a6f707c58d2376f688ccfb4a95.svg\";\nexport { SvgChevronRight as ReactComponent };","import { Device } from '@helpers/media';\r\nexport const FilterBreakpoint = Device.TabletLarge;\r\nconst FilterStyles = {};\r\nexport default FilterStyles;\r\n","import brand from '@helpers/brand';\r\nimport { fonts } from '@helpers/fonts';\r\nimport { ButtonReset } from '@helpers/global';\r\nimport { until } from '@helpers/media';\r\nimport srOnly from '@helpers/srOnly';\r\nimport TickUrl from '@img/icons/tick.svg';\r\nimport { m } from 'framer-motion';\r\nimport { rgba } from 'polished';\r\nimport styled from 'styled-components';\r\nimport { FilterBreakpoint } from '../Filter/Filter.styles';\r\nimport { ThemeSwitch } from '@helpers/theme';\r\nconst Container = styled.section `\r\n position: relative;\r\n height: 100%;\r\n\r\n @media ${until(FilterBreakpoint)} {\r\n display: none;\r\n }\r\n`;\r\nconst Inner = styled.div `\r\n align-items: center;\r\n z-index: 1;\r\n padding-right: 25px;\r\n`;\r\nconst FilterTop = styled.div `\r\n display: flex;\r\n justify-content: space-between;\r\n flex-wrap: wrap;\r\n padding: 35px 0 15px;\r\n border-bottom: 1px solid ${brand.grey.grey89};\r\n margin-bottom: 10px;\r\n`;\r\nconst Title = styled.span `\r\n ${fonts.DaxPro.Medium};\r\n font-size: 20px;\r\n margin: 0;\r\n`;\r\nconst SelectedFilters = styled.div `\r\n flex: 1 0 100%;\r\n padding-top: 10px;\r\n display: flex;\r\n flex-wrap: wrap;\r\n gap: 10px;\r\n`;\r\nconst SelectedFilterBtn = styled.button `\r\n ${fonts.DaxPro.Regular};\r\n font-size: 16px;\r\n ${ThemeSwitch({\r\n groundforceColour: rgba(brand.primary.base, 0.25),\r\n tpaColour: rgba(brand.tpa.base, 0.25),\r\n})}\r\n background-color: var(--theme);\r\n border: none;\r\n border-radius: 100000px;\r\n padding: 6px 15px;\r\n\r\n svg {\r\n width: 10px;\r\n margin-left: 5px;\r\n }\r\n`;\r\nconst ItemList = styled.div ``;\r\nconst Item = styled(m.div) `\r\n ${ButtonReset}\r\n display: block;\r\n width: 100%;\r\n text-align: left;\r\n ${ThemeSwitch({\r\n groundforceColour: rgba(brand.primary.base, 0.25),\r\n tpaColour: rgba(brand.tpa.base, 0.25),\r\n})}\r\n background-color: var(--theme);\r\n margin-bottom: 2px;\r\n`;\r\nconst ItemTitle = styled.button `\r\n ${fonts.DaxPro.Medium};\r\n font-size: 18px;\r\n display: flex;\r\n align-items: center;\r\n justify-content: space-between;\r\n background: none;\r\n border: 0;\r\n color: currentColor;\r\n margin: 0;\r\n padding: 15px;\r\n text-decoration: none;\r\n text-underline-position: under;\r\n width: 100%;\r\n cursor: pointer;\r\n\r\n &:focus,\r\n &:hover {\r\n text-decoration: underline;\r\n }\r\n`;\r\nconst ItemArrow = styled.span `\r\n display: block;\r\n margin-left: 20px;\r\n place-content: center;\r\n place-items: center;\r\n`;\r\nconst ItemIcon = styled.span `\r\n display: block;\r\n flex: 0 0 auto;\r\n height: 16px;\r\n margin-left: auto;\r\n width: 16px;\r\n position: relative;\r\n\r\n &::before,\r\n &::after {\r\n display: block;\r\n content: '';\r\n position: absolute;\r\n right: 0;\r\n top: 50%;\r\n width: 16px;\r\n height: 2px;\r\n background-color: currentColor;\r\n }\r\n\r\n ${Item}[aria-expanded='true'] & {\r\n &::after {\r\n transform: translateY(-50%);\r\n }\r\n }\r\n\r\n &::before {\r\n transform: translateY(-50%);\r\n }\r\n\r\n &::after {\r\n transform: translateY(-50%) rotate(90deg);\r\n }\r\n`;\r\nconst OptionOverlay = styled(m.div) `\r\n display: none;\r\n background-image: linear-gradient(to right, var(--bgColor), var(--bgColor));\r\n background-position: right;\r\n background-repeat: no-repeat;\r\n background-size: 50% 100%;\r\n color: var(--fgColor);\r\n overflow: hidden;\r\n width: 100%;\r\n`;\r\nconst OptionList = styled.div `\r\n position: relative;\r\n z-index: 1;\r\n padding: 5px 15px;\r\n`;\r\nconst Option = styled.div ``;\r\nconst OptionInput = styled.input `\r\n ${srOnly}\r\n`;\r\nconst OptionLabel = styled.label `\r\n display: flex;\r\n color: currentColor;\r\n cursor: pointer;\r\n ${fonts.DaxPro.Regular};\r\n font-size: 18px;\r\n line-height: 30px;\r\n margin: 15px 0;\r\n ${ThemeSwitch({ groundforceColour: brand.primary.alt })}\r\n\r\n ${OptionInput}:disabled + & {\r\n opacity: 0.5;\r\n }\r\n\r\n &::before {\r\n content: '';\r\n display: block;\r\n background-color: ${brand.white};\r\n border: 1px solid ${brand.white};\r\n border-radius: 2px;\r\n box-sizing: border-box;\r\n color: ${brand.white};\r\n flex: 0 0 20px;\r\n font-size: 18px;\r\n height: 20px;\r\n line-height: 1em;\r\n margin-top: 5px;\r\n margin-right: 10px;\r\n padding-top: 2px;\r\n text-align: center;\r\n width: 20px;\r\n background-size: 75%;\r\n background-position: center;\r\n background-repeat: no-repeat;\r\n\r\n ${OptionInput}:checked + & {\r\n background-color: var(--theme);\r\n background-image: url(${TickUrl});\r\n }\r\n }\r\n`;\r\nconst ResetButton = styled.button `\r\n display: inline-flex;\r\n align-items: center;\r\n background: none;\r\n border: 0;\r\n color: currentColor;\r\n cursor: pointer;\r\n ${fonts.DaxPro.Regular};\r\n font-size: 14px;\r\n line-height: 28px;\r\n margin: 0;\r\n padding: 0;\r\n text-decoration: underline;\r\n text-underline-position: under;\r\n\r\n &:focus,\r\n &:hover {\r\n text-decoration: underline;\r\n }\r\n`;\r\nconst FilterDesktopStyles = {\r\n Container,\r\n FilterTop,\r\n Inner,\r\n Item,\r\n ItemArrow,\r\n ItemIcon,\r\n ItemList,\r\n ItemTitle,\r\n Option,\r\n OptionInput,\r\n OptionLabel,\r\n OptionList,\r\n OptionOverlay,\r\n ResetButton,\r\n SelectedFilterBtn,\r\n SelectedFilters,\r\n Title,\r\n};\r\nexport default FilterDesktopStyles;\r\n","import { ReactComponent as SvgClose } from '@img/icons/close.svg';\r\nimport { LinkButton } from '@stories/Components/Buttons/Button/Button';\r\nimport * as React from 'react';\r\nimport S from './FilterDesktop.styles';\r\nimport xor from 'lodash/xor';\r\nconst Filter = ({ item, value, onChange, active, toggle }) => {\r\n return (React.createElement(S.Item, { initial: \"closed\", animate: active ? 'opened' : 'closed', \"aria-expanded\": active },\r\n React.createElement(S.ItemTitle, { onClick: (event) => {\r\n event.preventDefault();\r\n toggle();\r\n } },\r\n React.createElement(\"span\", null, item.title),\r\n React.createElement(S.ItemArrow, null,\r\n React.createElement(S.ItemIcon, null))),\r\n !!item.options.length && (React.createElement(S.OptionOverlay, { variants: {\r\n closed: {\r\n opacity: 0,\r\n transitionEnd: {\r\n display: 'none',\r\n },\r\n },\r\n opened: {\r\n display: 'block',\r\n opacity: 1,\r\n },\r\n }, transition: {\r\n duration: 0.15,\r\n ease: 'easeOut',\r\n } },\r\n React.createElement(S.OptionList, null, item.options.map((option) => {\r\n const id = `${item.name}-${option.value}`;\r\n const selectedOptions = value[item.name] ?? [];\r\n return (React.createElement(S.Option, { key: option.value },\r\n React.createElement(S.OptionInput, { id: id, checked: selectedOptions.includes(option.value), name: item.name, type: \"checkbox\", value: option.value, onChange: () => {\r\n onChange(item.name, option.value);\r\n } }),\r\n React.createElement(S.OptionLabel, { htmlFor: id }, option.text)));\r\n }))))));\r\n};\r\nconst FilterDesktop = ({ cta, items, showReset = true, title, value, onChange, onReset, }) => {\r\n const [activeFilters, setActiveFilters] = React.useState(items ? items.map((x) => x.name) : []);\r\n return (React.createElement(S.Container, null,\r\n React.createElement(S.Inner, null,\r\n React.createElement(S.FilterTop, null,\r\n React.createElement(S.Title, null, title),\r\n showReset && (React.createElement(S.ResetButton, { type: \"button\", onClick: (event) => {\r\n event.preventDefault();\r\n onReset && onReset();\r\n } }, \"Clear all\")),\r\n React.createElement(S.SelectedFilters, null, items\r\n ? items.map((item) => (React.createElement(React.Fragment, null, item.options.map((option) => {\r\n const selectedOptions = value[item.name] ?? [];\r\n return (React.createElement(React.Fragment, null, selectedOptions.includes(option.value) && (React.createElement(S.SelectedFilterBtn, { type: \"button\", key: option.value, onClick: () => onChange(item.name, option.value) },\r\n option.text,\r\n \" \",\r\n React.createElement(SvgClose, null)))));\r\n }))))\r\n : null)),\r\n React.createElement(S.ItemList, null,\r\n items\r\n ? items.map((item) => (React.createElement(Filter, { key: item.name, value: value, item: item, onChange: onChange, active: activeFilters.includes(item.name), toggle: () => setActiveFilters(xor([...activeFilters], [item.name])) })))\r\n : null,\r\n cta && (React.createElement(LinkButton, { branding: \"primary\", title: cta.title, href: cta.url, target: cta.target }))))));\r\n};\r\nexport default FilterDesktop;\r\n","import brand from '@helpers/brand';\r\nimport { fonts } from '@helpers/fonts';\r\nimport { from } from '@helpers/media';\r\nimport srOnly from '@helpers/srOnly';\r\nimport { ReactComponent as SvgClose } from '@img/icons/close.svg';\r\nimport TickUrl from '@img/icons/tick.svg';\r\nimport { ButtonStyles } from '@stories/Components/Buttons/Button/Button.styles';\r\nimport { m } from 'framer-motion';\r\nimport { rgba } from 'polished';\r\nimport styled from 'styled-components';\r\nimport { FilterBreakpoint } from '../Filter/Filter.styles';\r\nconst Container = styled(m.section) `\r\n @media ${from(FilterBreakpoint)} {\r\n display: none;\r\n }\r\n`;\r\nconst SelectedFilters = styled.div `\r\n flex: 1 0 100%;\r\n padding-bottom: 10px;\r\n display: flex;\r\n flex-wrap: nowrap;\r\n gap: 10px;\r\n overflow: auto;\r\n`;\r\nconst SelectedFilterBtn = styled.button `\r\n ${fonts.DaxPro.Regular};\r\n font-size: 16px;\r\n background-color: ${rgba(brand.primary.base, 0.25)};\r\n border: none;\r\n border-radius: 100000px;\r\n padding: 6px 15px;\r\n white-space: nowrap;\r\n\r\n svg {\r\n width: 10px;\r\n margin-left: 5px;\r\n }\r\n`;\r\nconst Title = styled.span `\r\n ${fonts.DaxPro.Medium};\r\n font-size: 20px;\r\n margin: 0 0 10px 0;\r\n`;\r\nconst ButtonWrapper = styled.div `\r\n display: flex;\r\n flex-direction: row;\r\n gap: 8px;\r\n margin-bottom: 12px;\r\n justify-content: flex-end;\r\n\r\n ${ButtonStyles.Button} {\r\n flex: 1 1 auto;\r\n }\r\n`;\r\nconst Overlay = styled(m.div) `\r\n position: fixed;\r\n top: 0;\r\n left: 100%;\r\n display: grid;\r\n background: ${brand.white};\r\n grid-template-rows: auto auto 1fr;\r\n height: 100%;\r\n padding: 0 0 14px 0;\r\n width: 100%;\r\n z-index: 100;\r\n`;\r\nconst FilterTop = styled.div `\r\n display: grid;\r\n grid-template-columns: auto 1fr;\r\n gap: 12px;\r\n margin: 15px;\r\n border-bottom: 2px solid ${brand.grey.grey89};\r\n margin-bottom: 10px;\r\n`;\r\nconst FilterTitle = styled.span `\r\n display: block;\r\n background: none;\r\n border: 0;\r\n color: currentColor;\r\n ${fonts.DaxPro.Medium};\r\n font-size: 24px;\r\n line-height: 30px;\r\n text-align: left;\r\n width: 100%;\r\n`;\r\nconst CloseBtn = styled.button `\r\n border: none;\r\n background: none;\r\n padding: 0;\r\n width: 32px;\r\n height: 32px;\r\n justify-self: end;\r\n`;\r\nconst CloseIcon = styled(SvgClose) `\r\n height: 12px;\r\n width: 12px;\r\n`;\r\nconst ResetButton = styled.button `\r\n display: inline-flex;\r\n align-items: center;\r\n background: none;\r\n border: 0;\r\n color: currentColor;\r\n cursor: pointer;\r\n ${fonts.DaxPro.Regular};\r\n font-size: 14px;\r\n line-height: 28px;\r\n margin: 0;\r\n padding: 0;\r\n text-decoration: underline;\r\n text-underline-position: under;\r\n\r\n &:focus,\r\n &:hover {\r\n text-decoration: underline;\r\n }\r\n`;\r\nconst BackArrow = styled.span `\r\n margin-right: 8px;\r\n`;\r\nconst FilterMid = styled.div `\r\n padding: 15px;\r\n border-bottom: 1px solid var(--highlightColorSecondary);\r\n background-color: var(--bgColor);\r\n\r\n ${ButtonStyles.Button} {\r\n width: 100%;\r\n margin-bottom: 10px;\r\n }\r\n`;\r\nconst ItemList = styled.div `\r\n display: block;\r\n padding: 0 15px 15px;\r\n`;\r\nconst Item = styled(m.div) `\r\n color: currentColor;\r\n margin: 0;\r\n padding: 0;\r\n width: 100%;\r\n padding: 0 15px;\r\n background-color: ${rgba(brand.primary.base, 0.25)};\r\n margin-bottom: 2px;\r\n`;\r\nconst ItemText = styled.span `\r\n display: block;\r\n`;\r\nconst Arrow = styled.span `\r\n display: block;\r\n margin-left: auto;\r\n`;\r\nconst OptionOverlay = styled(m.div) `\r\n display: none;\r\n color: var(--fgColor);\r\n overflow: hidden;\r\n width: 100%;\r\n padding-bottom: 15px;\r\n`;\r\nconst OptionList = styled.div `\r\n display: block;\r\n min-height: 0;\r\n overflow-y: auto;\r\n`;\r\nconst Option = styled.div `\r\n display: flex;\r\n align-items: center;\r\n height: 44px;\r\n`;\r\nconst OptionInput = styled.input `\r\n ${srOnly}\r\n`;\r\nconst OptionLabel = styled.label `\r\n display: flex;\r\n color: currentColor;\r\n cursor: pointer;\r\n ${fonts.DaxPro.Regular};\r\n font-size: 16px;\r\n line-height: 30px;\r\n\r\n ${OptionInput}:disabled + & {\r\n opacity: 0.5;\r\n }\r\n\r\n &::before {\r\n content: '';\r\n display: block;\r\n background-color: ${brand.white};\r\n border: 1px solid ${brand.white};\r\n border-radius: 2px;\r\n box-sizing: border-box;\r\n color: ${brand.white};\r\n flex: 0 0 20px;\r\n font-size: 18px;\r\n height: 20px;\r\n line-height: 1em;\r\n margin-top: 5px;\r\n margin-right: 10px;\r\n padding-top: 2px;\r\n text-align: center;\r\n width: 20px;\r\n background-size: 75%;\r\n background-position: center;\r\n background-repeat: no-repeat;\r\n\r\n ${OptionInput}:checked + & {\r\n background-color: ${brand.primary.alt};\r\n background-image: url(${TickUrl});\r\n }\r\n }\r\n`;\r\nconst SubmitWrapper = styled.div `\r\n display: flex;\r\n align-items: flex-start;\r\n gap: 12px;\r\n flex-direction: column;\r\n`;\r\nconst Backdrop = styled(m.div) `\r\n position: fixed;\r\n top: 0;\r\n left: 0;\r\n display: block;\r\n background: hsla(var(--accentColorPrimaryString) / 0.25);\r\n height: 100%;\r\n width: 100%;\r\n`;\r\nconst ItemTitle = styled.button `\r\n ${fonts.DaxPro.Medium};\r\n font-size: 16px;\r\n line-height: 24px;\r\n display: flex;\r\n align-items: center;\r\n justify-content: space-between;\r\n background: none;\r\n border: 0;\r\n color: currentColor;\r\n ${fonts.DaxPro.Medium};\r\n margin: 0;\r\n padding: 15px 0;\r\n text-decoration: none;\r\n text-underline-position: under;\r\n width: 100%;\r\n cursor: pointer;\r\n\r\n &:focus,\r\n &:hover {\r\n text-decoration: underline;\r\n }\r\n`;\r\nconst ItemArrow = styled.span `\r\n display: block;\r\n margin-left: 20px;\r\n place-content: center;\r\n place-items: center;\r\n`;\r\nconst ItemIcon = styled.span `\r\n display: block;\r\n flex: 0 0 auto;\r\n height: 16px;\r\n margin-left: auto;\r\n width: 16px;\r\n position: relative;\r\n\r\n &::before,\r\n &::after {\r\n display: block;\r\n content: '';\r\n position: absolute;\r\n right: 0;\r\n top: 50%;\r\n width: 16px;\r\n height: 2px;\r\n background-color: currentColor;\r\n }\r\n\r\n ${Item}[aria-expanded='true'] & {\r\n &::after {\r\n transform: translateY(-50%);\r\n }\r\n }\r\n\r\n &::before {\r\n transform: translateY(-50%);\r\n }\r\n\r\n &::after {\r\n transform: translateY(-50%) rotate(90deg);\r\n }\r\n`;\r\nconst FilterMobileStyles = {\r\n Arrow,\r\n BackArrow,\r\n Backdrop,\r\n ButtonWrapper,\r\n CloseBtn,\r\n CloseIcon,\r\n Container,\r\n FilterMid,\r\n FilterTitle,\r\n FilterTop,\r\n Item,\r\n ItemArrow,\r\n ItemIcon,\r\n ItemList,\r\n ItemText,\r\n ItemTitle,\r\n Option,\r\n OptionInput,\r\n OptionLabel,\r\n OptionList,\r\n OptionOverlay,\r\n Overlay,\r\n ResetButton,\r\n SelectedFilterBtn,\r\n SelectedFilters,\r\n SubmitWrapper,\r\n Title,\r\n};\r\nexport default FilterMobileStyles;\r\n","import { ReactComponent as SvgChevron } from '@img/icons/chevron-right.svg';\r\nimport { ReactComponent as SvgClose } from '@img/icons/close.svg';\r\nimport Button from '@stories/Components/Buttons/Button/Button';\r\nimport * as React from 'react';\r\nimport S from './FilterMobile.styles';\r\nimport xor from 'lodash/xor';\r\nconst FilterMobile = ({ dropdown, items, showReset = true, title, translations, value, onChange, onReset, }) => {\r\n const [isOpen, setIsOpen] = React.useState(false);\r\n const [activeFilters, setActiveFilters] = React.useState([]);\r\n React.useEffect(() => {\r\n if (isOpen) {\r\n setActiveFilters([]);\r\n }\r\n }, [isOpen]);\r\n return (React.createElement(S.Container, { initial: \"closed\", animate: isOpen ? 'opened' : 'closed' },\r\n React.createElement(S.Title, null, title),\r\n React.createElement(S.ButtonWrapper, null,\r\n React.createElement(Button, { branding: \"primaryAlt\", title: translations && translations['customerportal.technical-library.filterbtntext']\r\n ? translations['customerportal.technical-library.filterbtntext']\r\n : 'Filter', onClick: (event) => {\r\n event.preventDefault();\r\n setIsOpen(!isOpen);\r\n } })),\r\n React.createElement(S.SelectedFilters, null, items\r\n ? items.map((item) => (React.createElement(React.Fragment, null, item.options.map((option) => {\r\n const selectedOptions = value[item.name] ?? [];\r\n return (React.createElement(React.Fragment, null, selectedOptions.includes(option.value) && (React.createElement(S.SelectedFilterBtn, { type: \"button\", key: option.value, onClick: () => onChange(item.name, option.value) },\r\n option.text,\r\n \" \",\r\n React.createElement(SvgClose, null)))));\r\n }))))\r\n : null),\r\n React.createElement(S.Overlay, { variants: {\r\n closed: {\r\n x: 0,\r\n },\r\n opened: {\r\n x: '-100%',\r\n },\r\n }, transition: {\r\n duration: 0.3,\r\n ease: 'easeOut',\r\n } },\r\n React.createElement(React.Fragment, null,\r\n React.createElement(S.FilterTop, null,\r\n React.createElement(S.FilterTitle, null, title),\r\n React.createElement(S.CloseBtn, { onClick: (event) => {\r\n event.preventDefault();\r\n setActiveFilters([]);\r\n setIsOpen(false);\r\n } },\r\n React.createElement(S.CloseIcon, null))),\r\n React.createElement(S.ItemList, null,\r\n dropdown && (React.createElement(S.Item, { key: dropdown.name, onClick: (event) => {\r\n event.preventDefault();\r\n setActiveFilters(xor([...activeFilters], [dropdown.name]));\r\n } },\r\n React.createElement(S.ItemText, null, dropdown.title),\r\n React.createElement(S.Arrow, null,\r\n React.createElement(\"span\", null, SvgChevron)))),\r\n items\r\n ? items.map((item) => (React.createElement(S.Item, { key: item.name, initial: \"closed\", animate: activeFilters.includes(item.name) ? 'opened' : 'closed', \"aria-expanded\": activeFilters.includes(item.name) },\r\n React.createElement(S.ItemTitle, { onClick: (event) => {\r\n event.preventDefault();\r\n setActiveFilters(xor([...activeFilters], [item.name]));\r\n } },\r\n React.createElement(\"span\", null, item.title),\r\n React.createElement(S.ItemArrow, null,\r\n React.createElement(S.ItemIcon, null))),\r\n !!item.options.length && (React.createElement(S.OptionOverlay, { variants: {\r\n closed: {\r\n opacity: 0,\r\n transitionEnd: {\r\n display: 'none',\r\n },\r\n },\r\n opened: {\r\n display: 'block',\r\n opacity: 1,\r\n },\r\n }, transition: {\r\n duration: 0.15,\r\n ease: 'easeOut',\r\n } },\r\n React.createElement(S.OptionList, null, item.options.map((option) => {\r\n const id = `${item.name}-${option.value}`;\r\n const selectedOptions = value[item.name] ?? [];\r\n return (React.createElement(S.Option, { key: option.value },\r\n React.createElement(S.OptionInput, { id: id, checked: selectedOptions.includes(option.value), name: item.name, type: \"checkbox\", value: option.value, onChange: () => {\r\n onChange(item.name, option.value);\r\n } }),\r\n React.createElement(S.OptionLabel, { htmlFor: id }, option.text)));\r\n })))))))\r\n : null),\r\n React.createElement(S.FilterMid, null,\r\n React.createElement(Button, { branding: \"black\", title: translations && translations['customerportal.technical-library.applybtntext']\r\n ? translations['customerportal.technical-library.applybtntext']\r\n : 'Apply filters', onClick: (event) => {\r\n event.preventDefault();\r\n setActiveFilters([]);\r\n setIsOpen(false);\r\n } }),\r\n showReset && (React.createElement(Button, { branding: \"white\", title: translations && translations['customerportal.technical-library.clearbtntext']\r\n ? translations['customerportal.technical-library.clearbtntext']\r\n : 'Clear All', onClick: (event) => {\r\n event.preventDefault();\r\n setActiveFilters([]);\r\n onReset && onReset();\r\n } })))),\r\n React.createElement(S.SubmitWrapper, null))));\r\n};\r\nexport default FilterMobile;\r\n","import { withMotion } from '@hoc/withMotion';\r\nimport * as React from 'react';\r\nimport FilterDesktop from '../FilterDesktop/FilterDesktop';\r\nimport FilterMobile from '../FilterMobile/FilterMobile';\r\nconst Filter = (props) => {\r\n return (React.createElement(React.Fragment, null,\r\n React.createElement(FilterDesktop, { ...props }),\r\n React.createElement(FilterMobile, { ...props })));\r\n};\r\nexport default withMotion(Filter);\r\n","var baseIndexOf = require('./_baseIndexOf');\n\n/**\n * A specialized version of `_.includes` for arrays without support for\n * specifying an index to search from.\n *\n * @private\n * @param {Array} [array] The array to inspect.\n * @param {*} target The value to search for.\n * @returns {boolean} Returns `true` if `target` is found, else `false`.\n */\nfunction arrayIncludes(array, value) {\n var length = array == null ? 0 : array.length;\n return !!length && baseIndexOf(array, value, 0) > -1;\n}\n\nmodule.exports = arrayIncludes;\n","/**\n * This function is like `arrayIncludes` except that it accepts a comparator.\n *\n * @private\n * @param {Array} [array] The array to inspect.\n * @param {*} target The value to search for.\n * @param {Function} comparator The comparator invoked per element.\n * @returns {boolean} Returns `true` if `target` is found, else `false`.\n */\nfunction arrayIncludesWith(array, value, comparator) {\n var index = -1,\n length = array == null ? 0 : array.length;\n\n while (++index < length) {\n if (comparator(value, array[index])) {\n return true;\n }\n }\n return false;\n}\n\nmodule.exports = arrayIncludesWith;\n","var identity = require('./identity'),\n overRest = require('./_overRest'),\n setToString = require('./_setToString');\n\n/**\n * The base implementation of `_.rest` which doesn't validate or coerce arguments.\n *\n * @private\n * @param {Function} func The function to apply a rest parameter to.\n * @param {number} [start=func.length-1] The start position of the rest parameter.\n * @returns {Function} Returns the new function.\n */\nfunction baseRest(func, start) {\n return setToString(overRest(func, start, identity), func + '');\n}\n\nmodule.exports = baseRest;\n","var baseDifference = require('./_baseDifference'),\n baseFlatten = require('./_baseFlatten'),\n baseUniq = require('./_baseUniq');\n\n/**\n * The base implementation of methods like `_.xor`, without support for\n * iteratee shorthands, that accepts an array of arrays to inspect.\n *\n * @private\n * @param {Array} arrays The arrays to inspect.\n * @param {Function} [iteratee] The iteratee invoked per element.\n * @param {Function} [comparator] The comparator invoked per element.\n * @returns {Array} Returns the new array of values.\n */\nfunction baseXor(arrays, iteratee, comparator) {\n var length = arrays.length;\n if (length < 2) {\n return length ? baseUniq(arrays[0]) : [];\n }\n var index = -1,\n result = Array(length);\n\n while (++index < length) {\n var array = arrays[index],\n othIndex = -1;\n\n while (++othIndex < length) {\n if (othIndex != index) {\n result[index] = baseDifference(result[index] || array, arrays[othIndex], iteratee, comparator);\n }\n }\n }\n return baseUniq(baseFlatten(result, 1), iteratee, comparator);\n}\n\nmodule.exports = baseXor;\n","var SetCache = require('./_SetCache'),\n arrayIncludes = require('./_arrayIncludes'),\n arrayIncludesWith = require('./_arrayIncludesWith'),\n arrayMap = require('./_arrayMap'),\n baseUnary = require('./_baseUnary'),\n cacheHas = require('./_cacheHas');\n\n/** Used as the size to enable large array optimizations. */\nvar LARGE_ARRAY_SIZE = 200;\n\n/**\n * The base implementation of methods like `_.difference` without support\n * for excluding multiple arrays or iteratee shorthands.\n *\n * @private\n * @param {Array} array The array to inspect.\n * @param {Array} values The values to exclude.\n * @param {Function} [iteratee] The iteratee invoked per element.\n * @param {Function} [comparator] The comparator invoked per element.\n * @returns {Array} Returns the new array of filtered values.\n */\nfunction baseDifference(array, values, iteratee, comparator) {\n var index = -1,\n includes = arrayIncludes,\n isCommon = true,\n length = array.length,\n result = [],\n valuesLength = values.length;\n\n if (!length) {\n return result;\n }\n if (iteratee) {\n values = arrayMap(values, baseUnary(iteratee));\n }\n if (comparator) {\n includes = arrayIncludesWith;\n isCommon = false;\n }\n else if (values.length >= LARGE_ARRAY_SIZE) {\n includes = cacheHas;\n isCommon = false;\n values = new SetCache(values);\n }\n outer:\n while (++index < length) {\n var value = array[index],\n computed = iteratee == null ? value : iteratee(value);\n\n value = (comparator || value !== 0) ? value : 0;\n if (isCommon && computed === computed) {\n var valuesIndex = valuesLength;\n while (valuesIndex--) {\n if (values[valuesIndex] === computed) {\n continue outer;\n }\n }\n result.push(value);\n }\n else if (!includes(values, computed, comparator)) {\n result.push(value);\n }\n }\n return result;\n}\n\nmodule.exports = baseDifference;\n","var baseFindIndex = require('./_baseFindIndex'),\n baseIsNaN = require('./_baseIsNaN'),\n strictIndexOf = require('./_strictIndexOf');\n\n/**\n * The base implementation of `_.indexOf` without `fromIndex` bounds checks.\n *\n * @private\n * @param {Array} array The array to inspect.\n * @param {*} value The value to search for.\n * @param {number} fromIndex The index to search from.\n * @returns {number} Returns the index of the matched value, else `-1`.\n */\nfunction baseIndexOf(array, value, fromIndex) {\n return value === value\n ? strictIndexOf(array, value, fromIndex)\n : baseFindIndex(array, baseIsNaN, fromIndex);\n}\n\nmodule.exports = baseIndexOf;\n","/**\n * The base implementation of `_.findIndex` and `_.findLastIndex` without\n * support for iteratee shorthands.\n *\n * @private\n * @param {Array} array The array to inspect.\n * @param {Function} predicate The function invoked per iteration.\n * @param {number} fromIndex The index to search from.\n * @param {boolean} [fromRight] Specify iterating from right to left.\n * @returns {number} Returns the index of the matched value, else `-1`.\n */\nfunction baseFindIndex(array, predicate, fromIndex, fromRight) {\n var length = array.length,\n index = fromIndex + (fromRight ? 1 : -1);\n\n while ((fromRight ? index-- : ++index < length)) {\n if (predicate(array[index], index, array)) {\n return index;\n }\n }\n return -1;\n}\n\nmodule.exports = baseFindIndex;\n","/**\n * The base implementation of `_.isNaN` without support for number objects.\n *\n * @private\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is `NaN`, else `false`.\n */\nfunction baseIsNaN(value) {\n return value !== value;\n}\n\nmodule.exports = baseIsNaN;\n","/**\n * A specialized version of `_.indexOf` which performs strict equality\n * comparisons of values, i.e. `===`.\n *\n * @private\n * @param {Array} array The array to inspect.\n * @param {*} value The value to search for.\n * @param {number} fromIndex The index to search from.\n * @returns {number} Returns the index of the matched value, else `-1`.\n */\nfunction strictIndexOf(array, value, fromIndex) {\n var index = fromIndex - 1,\n length = array.length;\n\n while (++index < length) {\n if (array[index] === value) {\n return index;\n }\n }\n return -1;\n}\n\nmodule.exports = strictIndexOf;\n","var SetCache = require('./_SetCache'),\n arrayIncludes = require('./_arrayIncludes'),\n arrayIncludesWith = require('./_arrayIncludesWith'),\n cacheHas = require('./_cacheHas'),\n createSet = require('./_createSet'),\n setToArray = require('./_setToArray');\n\n/** Used as the size to enable large array optimizations. */\nvar LARGE_ARRAY_SIZE = 200;\n\n/**\n * The base implementation of `_.uniqBy` without support for iteratee shorthands.\n *\n * @private\n * @param {Array} array The array to inspect.\n * @param {Function} [iteratee] The iteratee invoked per element.\n * @param {Function} [comparator] The comparator invoked per element.\n * @returns {Array} Returns the new duplicate free array.\n */\nfunction baseUniq(array, iteratee, comparator) {\n var index = -1,\n includes = arrayIncludes,\n length = array.length,\n isCommon = true,\n result = [],\n seen = result;\n\n if (comparator) {\n isCommon = false;\n includes = arrayIncludesWith;\n }\n else if (length >= LARGE_ARRAY_SIZE) {\n var set = iteratee ? null : createSet(array);\n if (set) {\n return setToArray(set);\n }\n isCommon = false;\n includes = cacheHas;\n seen = new SetCache;\n }\n else {\n seen = iteratee ? [] : result;\n }\n outer:\n while (++index < length) {\n var value = array[index],\n computed = iteratee ? iteratee(value) : value;\n\n value = (comparator || value !== 0) ? value : 0;\n if (isCommon && computed === computed) {\n var seenIndex = seen.length;\n while (seenIndex--) {\n if (seen[seenIndex] === computed) {\n continue outer;\n }\n }\n if (iteratee) {\n seen.push(computed);\n }\n result.push(value);\n }\n else if (!includes(seen, computed, comparator)) {\n if (seen !== result) {\n seen.push(computed);\n }\n result.push(value);\n }\n }\n return result;\n}\n\nmodule.exports = baseUniq;\n","var Set = require('./_Set'),\n noop = require('./noop'),\n setToArray = require('./_setToArray');\n\n/** Used as references for various `Number` constants. */\nvar INFINITY = 1 / 0;\n\n/**\n * Creates a set object of `values`.\n *\n * @private\n * @param {Array} values The values to add to the set.\n * @returns {Object} Returns the new set.\n */\nvar createSet = !(Set && (1 / setToArray(new Set([,-0]))[1]) == INFINITY) ? noop : function(values) {\n return new Set(values);\n};\n\nmodule.exports = createSet;\n","var isArrayLike = require('./isArrayLike'),\n isObjectLike = require('./isObjectLike');\n\n/**\n * This method is like `_.isArrayLike` except that it also checks if `value`\n * is an object.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is an array-like object,\n * else `false`.\n * @example\n *\n * _.isArrayLikeObject([1, 2, 3]);\n * // => true\n *\n * _.isArrayLikeObject(document.body.children);\n * // => true\n *\n * _.isArrayLikeObject('abc');\n * // => false\n *\n * _.isArrayLikeObject(_.noop);\n * // => false\n */\nfunction isArrayLikeObject(value) {\n return isObjectLike(value) && isArrayLike(value);\n}\n\nmodule.exports = isArrayLikeObject;\n","import { css } from 'styled-components';\r\n/**\r\n * Show only for screen readers.\r\n * @description Sourced from https://gist.github.com/ffoodd/000b59f431e3e64e4ce1a24d5bb36034\r\n */\r\nconst srOnly = css `\r\n border: 0 !important;\r\n clip: rect(1px, 1px, 1px, 1px) !important;\r\n -webkit-clip-path: inset(50%) !important;\r\n clip-path: inset(50%) !important;\r\n height: 1px !important;\r\n margin: -1px !important;\r\n overflow: hidden !important;\r\n padding: 0 !important;\r\n position: absolute !important;\r\n width: 1px !important;\r\n white-space: nowrap !important;\r\n`;\r\nexport default srOnly;\r\n"],"sourceRoot":""}