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JA,SAAsBjP,GACpB,OAAgB,MAATA,GAAiC,iBAATA,CACjC,C,yDCEA,QALA,SAAkBA,GAChB,MAAuB,iBAATA,IACX,OAAaA,IArBF,oBAqBY,OAAWA,EACvC,C,+CCNA,QAXA,SAAkBkP,EAAOC,GAKvB,IAJA,IAAI5J,GAAS,EACTV,EAAkB,MAATqK,EAAgB,EAAIA,EAAMrK,OACnCgK,EAAS1C,MAAMtH,KAEVU,EAAQV,GACfgK,EAAOtJ,GAAS4J,EAASD,EAAM3J,GAAQA,EAAO2J,GAEhD,OAAOL,CACT,E,uBCTIO,EAAc,IAAS,IAAOjB,eAAYvI,EAC1CyJ,EAAiBD,EAAcA,EAAYd,cAAW1I,EA0B1D,QAhBA,SAAS0J,EAAatP,GAEpB,GAAoB,iBAATA,EACT,OAAOA,EAET,IAAI,EAAAiP,EAAA,GAAQjP,GAEV,OAAO,EAASA,EAAOsP,GAAgB,GAEzC,IAAI,EAAAC,EAAA,GAASvP,GACX,OAAOqP,EAAiBA,EAAeX,KAAK1O,GAAS,GAEvD,IAAI6O,EAAU7O,EAAQ,GACtB,MAAkB,KAAV6O,GAAkB,EAAI7O,IAAU,IAAa,KAAO6O,CAC9D,ECPA,QAJA,SAAkB7O,GAChB,OAAgB,MAATA,EAAgB,GAAK,EAAaA,EAC3C,ECtBA,IAAIwP,EAAY,EAwBhB,QALA,SAAkBC,GAChB,IAAI7O,IAAO4O,EACX,OAAO,EAASC,GAAU7O,CAC5B,C","sources":["webpack:///./Scripts/Actions/Overlay.action.js","webpack:///./Scripts/Components/BuyButton/QuantityInput.js","webpack:///./Scripts/Components/InfoBox.js","webpack:///./Scripts/Components/MiniCart/ui/MiniCartCard.js","webpack:///./Scripts/Components/MiniCart/MiniCart.js","webpack:///./Scripts/Components/Price.js","webpack:///./Scripts/Components/SideMenu.js","webpack:///./Scripts/Components/StockStatus.js","webpack:///./Scripts/Hooks/useBreakpoint.js","webpack:///./Scripts/Hooks/useWindowSize.js","webpack:///./Scripts/Utils/utils.js","webpack:///../node_modules/lodash-es/_Symbol.js","webpack:///../node_modules/lodash-es/_getRawTag.js","webpack:///../node_modules/lodash-es/_objectToString.js","webpack:///../node_modules/lodash-es/_baseGetTag.js","webpack:///../node_modules/lodash-es/_freeGlobal.js","webpack:///../node_modules/lodash-es/_root.js","webpack:///../node_modules/lodash-es/isArray.js","webpack:///../node_modules/lodash-es/isObjectLike.js","webpack:///../node_modules/lodash-es/isSymbol.js","webpack:///../node_modules/lodash-es/_arrayMap.js","webpack:///../node_modules/lodash-es/_baseToString.js","webpack:///../node_modules/lodash-es/toString.js","webpack:///../node_modules/lodash-es/uniqueId.js"],"sourcesContent":["import {\n OVERLAY_ADD_OVERLAY,\n OVERLAY_CLOSE_OVERLAY,\n OVERLAY_REMOVE_OVERLAY,\n OVERLAY_UPDATE_OVERLAY,\n} from '../constants';\n\nexport const addOverlay = (\n componentName,\n onOverlayClick,\n zIndexClass = null\n) => ({\n type: OVERLAY_ADD_OVERLAY,\n payload: {\n componentName,\n onOverlayClick,\n zIndexClass,\n },\n});\n\nexport const updateOverlay = (componentName, onOverlayClick, zIndexClass) => ({\n type: OVERLAY_UPDATE_OVERLAY,\n payload: {\n componentName,\n onOverlayClick,\n zIndexClass,\n },\n});\n\nexport const removeOverlay = (componentName) => ({\n type: OVERLAY_REMOVE_OVERLAY,\n payload: {\n componentName,\n },\n});\n\nexport const closeOverlay = () => ({\n type: OVERLAY_CLOSE_OVERLAY,\n payload: {\n activeOverlays: [],\n },\n});\n","import React from 'react';\nimport Icon from '../Icon';\nimport { translate } from '../../Services/translation';\n\nconst QuantityInput = ({ quantity, setQuantity, packageSize }) => {\n const handleDecrease = () => {\n if (quantity > packageSize) {\n setQuantity(quantity - packageSize);\n }\n };\n\n const handleIncrease = () => {\n setQuantity(quantity + packageSize);\n };\n\n const handleQuantity = () => {\n if (!quantity && quantity !== 0) {\n setQuantity(packageSize);\n return;\n }\n\n const maxValue = Math.max(packageSize, parseInt(quantity));\n const roundedValue = Math.ceil(maxValue / packageSize) * packageSize;\n\n setQuantity(roundedValue);\n };\n\n return (\n
\n \n \n \n setQuantity(e.target.value)}\n onBlur={() => handleQuantity()}\n onKeyDown={(e) => e.key === 'Enter' && handleQuantity()}\n />\n \n \n \n
\n );\n};\n\nexport default QuantityInput;\n","import React, { useState } from 'react';\nimport { Tooltip } from 'react-tooltip';\nimport { InfoBoxPlacements } from '../constants';\nimport { colors } from '../Utils/utils';\nimport Icon from '../Components/Icon';\nimport { uniqueId } from 'lodash-es';\n\nconst currentTheme = window.__litium.currentTheme;\n\nconst InfoBox = ({\n label,\n id,\n placement = InfoBoxPlacements.Top,\n children,\n}) => {\n const uid = uniqueId();\n const tooltipId = id + '-' + uid;\n\n const [isOpen, setIsOpen] = useState(false);\n return id ? (\n
\n {label && (\n setIsOpen(!isOpen)}\n >\n {label}\n \n )}\n {children && isOpen && (\n \n
\n setIsOpen(false)}\n >\n \n \n {children}\n
\n \n )}\n
\n ) : null;\n};\n\nexport default InfoBox;\n","import React, { useEffect, useRef, useState } from 'react';\nimport { translate } from '../../../Services/translation';\nimport Icon from '../../Icon';\nimport StockStatus from '../../StockStatus';\nimport { update } from '../../../Actions/Cart.action';\nimport { useDispatch } from 'react-redux';\nimport QuantityInput from '../../BuyButton/QuantityInput';\nimport Price from '../../Price';\nimport useBreakpoint from '../../../Hooks/useBreakpoint';\n\nconst MiniCartCard = ({\n articleNumber,\n articleNumberLabel,\n category,\n isInStock,\n name,\n price,\n tierPrices,\n campaignPrice,\n actualQuantity,\n quantity,\n url,\n totalPrice,\n packageSize,\n currency,\n rowSystemId,\n}) => {\n const hasMounted = useRef(false);\n const dispatch = useDispatch();\n const currentBreakpoint = useBreakpoint();\n const [inputQuantity, setInputQuantity] = useState(quantity * packageSize);\n const hasPrice = !!price;\n\n useEffect(() => {\n if (!hasMounted.current) {\n hasMounted.current = true;\n return;\n }\n\n if (\n inputQuantity >= packageSize &&\n (inputQuantity / packageSize) % 1 == 0\n ) {\n const updatedQuantity = inputQuantity;\n dispatch(update(articleNumber, updatedQuantity, rowSystemId));\n }\n }, [inputQuantity]);\n\n return currentBreakpoint == 'sm' ? (\n
  • \n dispatch(update(articleNumber, 0, rowSystemId))}\n aria-label={translate('minicart.product.remove.sc')}\n >\n \n \n
    \n {name && (\n \n {name}\n \n )}\n {category &&
    {category}
    }\n
    \n {articleNumber && (\n
    \n {translate('product.artno')}: {articleNumberLabel}\n
    \n )}\n \n
    \n
    \n
    \n
    \n \n {totalPrice && (\n
    \n {hasPrice ? totalPrice : translate('product.price.on-request')}\n
    \n )}\n
    \n \n
    \n
  • \n ) : (\n
  • \n
    \n
    \n {name && (\n \n {name}\n \n )}\n {category && (\n
    {category}
    \n )}\n {articleNumber && (\n
    \n {translate('product.artno-full')}:
    \n {articleNumberLabel}\n
    \n )}\n
    \n \n
    \n
    \n {articleNumber && (\n
    {articleNumberLabel}
    \n )}\n
    \n \n
    \n
    \n
    \n
    \n \n
    \n
    \n \n
    \n
    \n {totalPrice && (\n
    \n {hasPrice ? totalPrice : translate('product.price.on-request')}\n
    \n )}\n
    \n
    \n dispatch(update(articleNumber, 0, rowSystemId))}\n aria-label={translate('minicart.product.remove.sc')}\n >\n \n \n
    \n
    \n
  • \n );\n};\n\nexport default MiniCartCard;\n","import React, { useMemo, useEffect } from 'react';\nimport SideMenu from '../SideMenu';\nimport { translate } from '../../Services/translation';\nimport { useDispatch, useSelector } from 'react-redux';\nimport { setShowMiniCart } from '../../Actions/Cart.action';\nimport MiniCartCard from './ui/MiniCartCard';\nimport Icon from '../Icon';\nimport EditorString from '../EditorString';\nimport { dataLayerGtmViewCart } from '../../Services/Gtm.service';\n\nconst MiniCart = () => {\n const dispatch = useDispatch();\n const {\n showMiniCart,\n orderRows,\n quantity,\n disclaimer,\n grandTotal,\n orderTotal,\n checkoutUrl,\n emptyCartLink,\n } = useSelector((state) => state.cart);\n\n const hasOrderRows = useMemo(() => orderRows?.length > 0, [orderRows]);\n\n const MiniCartTitle = () => {\n return (\n <>\n {translate('minicart.title')}{' '}\n {hasOrderRows && (\n \n ({quantity} {translate('minicart.items')})\n \n )}\n \n );\n };\n\n const gtmShowMiniCart = ({ orderRows, gtmGrandTotal }) => {\n let currency = '';\n let gtmOrderRows = [];\n orderRows.map((row) => {\n if (row.gtmEcommerceItem) {\n let gtmOrderRow = gtmOrderRows.find(\n (e) => e.item_id === row.articleNumber\n );\n if (gtmOrderRow) {\n if (gtmOrderRow.quantity) {\n gtmOrderRow.quantity += row.quantity;\n }\n } else {\n let gtmEcommerceItem = { ...row.gtmEcommerceItem };\n gtmEcommerceItem.quantity = row.quantity;\n gtmEcommerceItem.index = gtmOrderRows.length;\n gtmOrderRows.push(gtmEcommerceItem);\n currency = gtmEcommerceItem.currency ?? '';\n }\n }\n });\n\n if (gtmOrderRows.length > 0) {\n dataLayerGtmViewCart({ currency, gtmGrandTotal, gtmOrderRows });\n }\n };\n useEffect(() => {\n if (showMiniCart && hasOrderRows) {\n gtmShowMiniCart({ orderRows, gtmGrandTotal: grandTotal });\n }\n }, [showMiniCart, hasOrderRows, orderRows, grandTotal]);\n\n const Footer = hasOrderRows\n ? () => (\n
    \n
    \n

    {translate('minicart.grandtotal')}

    \n

    {orderTotal}

    \n
    \n \n {translate('minicart.checkout')}\n \n
    \n )\n : undefined;\n\n return (\n }\n from=\"right\"\n zIndex={60}\n onClosed={() => dispatch(setShowMiniCart(false))}\n components={{ Footer: Footer }}\n >\n {hasOrderRows ? (\n
    \n {disclaimer && disclaimer.value && (\n
    \n \n \n
    \n )}\n \n
    \n ) : (\n
    \n

    \n {translate('minicart.title.empty')}\n

    \n {emptyCartLink && (\n \n {emptyCartLink.text}\n \n )}\n
    \n )}\n \n );\n};\n\nexport default MiniCart;\n","import React from 'react';\nimport { translate } from '../Services/translation';\nimport InfoBox from './InfoBox';\nimport clsx from 'clsx';\nimport { InfoBoxPlacements } from '../constants';\n\nconst TierPrices = (props) => {\n const {\n tierPrices,\n currency,\n packageSize\n } = props;\n const currentCulture = window.__litium.currentCulture;\n\n return (\n <>\n
    \n {translate('product.tier-price.description')}\n
    \n
    \n
    \n
    {translate('product.tier-price.quantity')}
    \n
    {translate('product.tier-price.price-per-piece')}
    \n
    \n
    \n {tierPrices.map((tier, idx) => {\n if (idx === 0) {\n tier.minimumQuantity = packageSize;\n }; \n return (\n
    \n
    {tier.minimumQuantity}+
    \n
    \n {tier.price.toLocaleString(currentCulture, {\n style: 'currency',\n currency: currency.id,\n minimumFractionDigits: 2,\n maximumFractionDigits: 2,\n })}\n
    \n
    \n );\n })}\n
    \n
    \n \n );\n};\n\nconst PriceDetails = (props) => {\n const {\n formattedCampaignPrice,\n formattedPrice,\n pricePerPiecesText,\n hideTierPrice,\n disableTierPriceTooltip,\n tierPrices,\n currency,\n packageSize,\n } = props;\n\n return (\n <>\n {formattedCampaignPrice && (\n
    {formattedPrice}
    \n )}\n
    \n
    \n \n {formattedCampaignPrice\n ? formattedCampaignPrice\n : formattedPrice}{' '}\n \n {pricePerPiecesText}\n \n
    \n
    \n {!hideTierPrice && !disableTierPriceTooltip && tierPrices && !!tierPrices.length && tierPrices.length > 1 && currency && (\n \n \n \n )}\n \n );\n};\n\nconst Price = ({\n price,\n disableTierPriceTooltip,\n packageSize,\n hideTierPrice,\n showForQuantity = 0,\n currency,\n className,\n priceOnRequestLabel = 'product.price.on-request',\n}) => {\n const {\n formattedPrice,\n formattedCampaignPrice,\n tierPrices,\n hasPrice,\n } = price;\n const currentCulture = window.__litium.currentCulture;\n const matchedTierPrice = showForQuantity > 0 && tierPrices && tierPrices.length > 0\n ? tierPrices.find((tier, i) =>\n i !== 0 &&\n tier.minimumQuantity <= showForQuantity &&\n (!tier.nextMinimumQuantity || tier.nextMinimumQuantity > showForQuantity))\n : undefined;\n const displayCampaignPrice = matchedTierPrice\n ? matchedTierPrice.price.toLocaleString(currentCulture, {\n style: 'currency',\n currency: currency.id,\n minimumFractionDigits: 2,\n maximumFractionDigits: 2,\n })\n : formattedCampaignPrice;\n\n return (\n
    \n {!hasPrice ? (\n
    {translate(priceOnRequestLabel)}
    \n ) : (\n \n )}\n
    \n );\n};\n\nexport default Price;\n","import React, {\n cloneElement,\n forwardRef,\n useCallback,\n useEffect,\n useMemo,\n useState,\n useRef,\n} from 'react';\nimport ReactDOM from 'react-dom';\nimport { useDispatch } from 'react-redux';\nimport {\n addOverlay,\n removeOverlay,\n updateOverlay,\n} from '../Actions/Overlay.action';\nimport Icon from './Icon';\nimport clsx from 'clsx';\nimport { translate } from '../Services/translation';\nimport { lockFocusToModal } from '../Utils/utils';\n\nconst SideMenu = forwardRef(\n (\n {\n id,\n duration = '0.2s',\n from = 'right',\n className,\n contentClassName,\n open = false,\n onClosed,\n showCloseButton = true,\n children,\n title,\n disableClosing = false,\n closeButton = null,\n components = {},\n zIndex,\n },\n ref\n ) => {\n const [ready, setReady] = useState(false);\n const [slideIn, setSlideIn] = useState(open);\n const [renderSideMenu, setRenderSideMenu] = useState(open);\n const [timeoutId, setTimeoutId] = useState();\n const dispatch = useDispatch();\n\n if (!id || id == '') {\n throw new Error(\n 'A unique side-menu \"id\" must be passed to side menu component'\n );\n }\n\n useEffect(() => {\n setReady(true);\n }, []);\n\n const close = useCallback(() => {\n if (!disableClosing) {\n // Just sets \"slideIn\" to false, which triggers the animation to close it\n setSlideIn(false);\n return true;\n }\n\n // False disables overlay click\n return false;\n }, [disableClosing]);\n\n useEffect(() => {\n dispatch(updateOverlay(id, close));\n }, [dispatch, close, id]);\n\n useEffect(() => {\n if (!ready) return;\n\n if (!slideIn && ready) {\n // If not slide in, slide out :^)\n if (timeoutId) {\n // Clear previous timeout to avoid animation delay bug\n clearTimeout(timeoutId);\n }\n\n var newTimeoutId = setTimeout(() => {\n setTimeoutId(undefined);\n onClosed && onClosed();\n setRenderSideMenu(false);\n }, parseFloat(duration) * 1000);\n\n setTimeoutId(newTimeoutId);\n dispatch(removeOverlay(id));\n }\n }, [slideIn]);\n\n useEffect(() => {\n if (!ready) return;\n\n // Triggered every time \"open\" is changed, initially as well\n // Timeout to not trigger on the same frame as the render, to enable the slide-in\n setTimeout(() => setSlideIn(open), 1);\n\n if (open) {\n setRenderSideMenu(true);\n dispatch(addOverlay(id, close));\n }\n }, [open, close]);\n\n useEffect(() => {\n if (renderSideMenu) {\n const modal = document.getElementById(id);\n lockFocusToModal(modal, close, true);\n };\n }, [renderSideMenu]);\n\n const CloseIcon = () => (\n \n );\n\n const slideInClasses = useMemo(() => {\n switch (from) {\n case 'bottom':\n return slideIn\n ? 'sidemenu--slide-bottom'\n : 'sidemenu--slide-bottom-full';\n case 'left':\n return slideIn ? 'sidemenu--slide-left' : 'sidemenu--slide-left-full';\n case 'right':\n default:\n return slideIn\n ? 'sidemenu--slide-right'\n : 'sidemenu--slide-right-full';\n }\n }, [slideIn, from]);\n\n return renderSideMenu\n ? ReactDOM.createPortal(\n \n
    \n {title &&

    {title}

    }\n {components.Header && (\n <>\n {showCloseButton &&\n !disableClosing &&\n (!closeButton ? (\n \n ) : (\n cloneElement(closeButton, {\n onClick: close,\n })\n ))}\n \n \n )}\n {!components.Header &&\n showCloseButton &&\n !disableClosing &&\n (!closeButton ? (\n \n ) : (\n cloneElement(closeButton, {\n onClick: close,\n })\n ))}\n
    \n {components?.Content && (\n {children}\n )}\n {!components?.Content && (\n
    \n {children}\n
    \n )}\n {components.Footer != null && (\n
    \n \n
    \n )}\n ,\n document.body\n )\n : null;\n }\n);\n\nSideMenu.displayName = 'SideMenu';\n\nexport default SideMenu;\n","import React from 'react';\nimport InfoBox from './InfoBox';\nimport { translate } from '../Services/translation';\nimport Icon from './Icon';\nimport clsx from 'clsx';\nimport { InfoBoxPlacements } from '../constants';\n\nconst StockStatus = ({\n inStock,\n description,\n showInfoBox,\n stockMessage,\n placement = InfoBoxPlacements.Top,\n}) => {\n return (\n
    \n \n {description && (\n
    {description}
    \n )}\n {showInfoBox ? (\n \n {translate(\n inStock\n ? 'product.stockstatus.info.in-stock'\n : 'product.stockstatus.info.on-request'\n )}\n \n ) : (\n
    {stockMessage}
    \n )}\n
    \n );\n};\n\nexport default StockStatus;\n","import { useEffect, useState } from 'react';\nimport useWindowSize from './useWindowSize';\nimport { hookBreakpointVariables as breakpointVars } from '../constants';\n\nconst useBreakpoint = () => {\n const [windowWidth] = useWindowSize();\n const [currentBreakpoint, setCurrentBreakpoint] = useState();\n const [breakpointValues, setBreakpointValues] = useState([]);\n const [breakpoints, setBreakpoints] = useState([]);\n\n useEffect(() => {\n const _breakpoints = Object.keys(breakpointVars).reduce(\n (obj, key) => ({\n ...obj,\n [key]: parseInt(breakpointVars[key]?.replace('px', '') ?? '0'),\n }),\n {}\n );\n\n const sortedValues = Object.values(_breakpoints).sort((a, b) => a - b);\n const keyArray = [];\n for (let sortedValue of sortedValues) {\n for (let key of Object.keys(_breakpoints)) {\n const value = _breakpoints[key];\n if (value == sortedValue) {\n keyArray.push(key);\n }\n }\n }\n\n setBreakpoints(keyArray);\n setBreakpointValues(sortedValues);\n }, [breakpointVars]);\n\n useEffect(() => {\n var index = 0;\n for (let key of breakpoints) {\n const value = !breakpointValues[index];\n\n if (index == breakpointValues.length - 1 && windowWidth >= value) {\n setCurrentBreakpoint(key);\n break;\n }\n\n const nextValue = breakpointValues[index + 1] ?? 0;\n if (windowWidth >= value && windowWidth < nextValue) {\n setCurrentBreakpoint(key);\n break;\n }\n index++;\n }\n }, [windowWidth, breakpointValues, breakpoints]);\n\n return currentBreakpoint;\n};\n\nexport default useBreakpoint;\n","import { useState, useEffect } from 'react';\n\nexport default function () {\n var initialWidth = global.window && window.innerWidth ? window.innerWidth : 0;\n var initialHeight =\n global.window && window.innerHeight ? window.innerHeight : 0;\n const [size, setSize] = useState([initialWidth, initialHeight]);\n useEffect(() => {\n function updateSize() {\n setSize([window.innerWidth, window.innerHeight]);\n }\n window.addEventListener('resize', updateSize);\n updateSize();\n return () => window.removeEventListener('resize', updateSize);\n }, []);\n return size;\n}\n","export const lockFocusToModal = (\n containerElement,\n onClose,\n focusFirstElement = false\n) => {\n if (!containerElement) return;\n const focusableElements = Array.from(\n containerElement?.querySelectorAll(\n 'button, [href], input, select, textarea, [tabindex]:not([tabindex=\"-1\"])'\n )\n ).filter(\n (el) =>\n !el.hasAttribute('disabled') &&\n el.offsetParent !== null &&\n el.offsetParent !== undefined\n );\n if (!focusableElements) return; // To prevent error when focusableElements is null\n const firstElement = focusableElements[0];\n const lastElement = focusableElements[focusableElements.length - 1];\n const prevActiveElement = document.activeElement;\n\n if (focusFirstElement && firstElement) {\n firstElement.focus();\n }\n\n const handleTabKeyPress = (event) => {\n if (event.key === 'Tab') {\n if (event.shiftKey && document.activeElement === firstElement) {\n event.preventDefault();\n lastElement.focus();\n } else if (!event.shiftKey && document.activeElement === lastElement) {\n event.preventDefault();\n firstElement.focus();\n }\n }\n if (event.key === 'Escape' && onClose) {\n onClose();\n prevActiveElement.focus();\n }\n };\n\n containerElement?.addEventListener('keydown', handleTabKeyPress);\n return () => {\n containerElement?.removeEventListener('keydown', handleTabKeyPress);\n };\n};\n\nexport const GetSearchUrl = (q) => {\n const queryParams = q && q.length > 0 ? `?q=${q}` : '';\n return window.__litium.quickSearchUrl + queryParams;\n};\n\n//Colors used in js\nexport const colors = {\n apex: {\n infoBoxBorder: '#5F5F60',\n },\n bendix: {\n infoBoxBorder: '#6E7072',\n },\n};\n\nexport const formatDate = (date) => {\n try {\n const updatedDate = new Date(date);\n const [year, month, day] = updatedDate\n .toISOString()\n .split('T')[0]\n .split('-');\n return `${day}-${month}-${year}`;\n } catch {\n return date;\n }\n};\n","import root from './_root.js';\n\n/** Built-in value references. */\nvar Symbol = root.Symbol;\n\nexport default Symbol;\n","import Symbol from './_Symbol.js';\n\n/** Used for built-in method references. */\nvar objectProto = Object.prototype;\n\n/** Used to check objects for own properties. */\nvar hasOwnProperty = objectProto.hasOwnProperty;\n\n/**\n * Used to resolve the\n * [`toStringTag`](http://ecma-international.org/ecma-262/7.0/#sec-object.prototype.tostring)\n * of values.\n */\nvar nativeObjectToString = objectProto.toString;\n\n/** Built-in value references. */\nvar symToStringTag = Symbol ? Symbol.toStringTag : undefined;\n\n/**\n * A specialized version of `baseGetTag` which ignores `Symbol.toStringTag` values.\n *\n * @private\n * @param {*} value The value to query.\n * @returns {string} Returns the raw `toStringTag`.\n */\nfunction getRawTag(value) {\n var isOwn = hasOwnProperty.call(value, symToStringTag),\n tag = value[symToStringTag];\n\n try {\n value[symToStringTag] = undefined;\n var unmasked = true;\n } catch (e) {}\n\n var result = nativeObjectToString.call(value);\n if (unmasked) {\n if (isOwn) {\n value[symToStringTag] = tag;\n } else {\n delete value[symToStringTag];\n }\n }\n return result;\n}\n\nexport default getRawTag;\n","/** Used for built-in method references. */\nvar objectProto = Object.prototype;\n\n/**\n * Used to resolve the\n * [`toStringTag`](http://ecma-international.org/ecma-262/7.0/#sec-object.prototype.tostring)\n * of values.\n */\nvar nativeObjectToString = objectProto.toString;\n\n/**\n * Converts `value` to a string using `Object.prototype.toString`.\n *\n * @private\n * @param {*} value The value to convert.\n * @returns {string} Returns the converted string.\n */\nfunction objectToString(value) {\n return nativeObjectToString.call(value);\n}\n\nexport default objectToString;\n","import Symbol from './_Symbol.js';\nimport getRawTag from './_getRawTag.js';\nimport objectToString from './_objectToString.js';\n\n/** `Object#toString` result references. */\nvar nullTag = '[object Null]',\n undefinedTag = '[object Undefined]';\n\n/** Built-in value references. */\nvar symToStringTag = Symbol ? Symbol.toStringTag : undefined;\n\n/**\n * The base implementation of `getTag` without fallbacks for buggy environments.\n *\n * @private\n * @param {*} value The value to query.\n * @returns {string} Returns the `toStringTag`.\n */\nfunction baseGetTag(value) {\n if (value == null) {\n return value === undefined ? undefinedTag : nullTag;\n }\n return (symToStringTag && symToStringTag in Object(value))\n ? getRawTag(value)\n : objectToString(value);\n}\n\nexport default baseGetTag;\n","/** Detect free variable `global` from Node.js. */\nvar freeGlobal = typeof global == 'object' && global && global.Object === Object && global;\n\nexport default freeGlobal;\n","import freeGlobal from './_freeGlobal.js';\n\n/** Detect free variable `self`. */\nvar freeSelf = typeof self == 'object' && self && self.Object === Object && self;\n\n/** Used as a reference to the global object. */\nvar root = freeGlobal || freeSelf || Function('return this')();\n\nexport default root;\n","/**\n * Checks if `value` is classified as an `Array` object.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is an array, else `false`.\n * @example\n *\n * _.isArray([1, 2, 3]);\n * // => true\n *\n * _.isArray(document.body.children);\n * // => false\n *\n * _.isArray('abc');\n * // => false\n *\n * _.isArray(_.noop);\n * // => false\n */\nvar isArray = Array.isArray;\n\nexport default isArray;\n","/**\n * Checks if `value` is object-like. A value is object-like if it's not `null`\n * and has a `typeof` result of \"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 object-like, else `false`.\n * @example\n *\n * _.isObjectLike({});\n * // => true\n *\n * _.isObjectLike([1, 2, 3]);\n * // => true\n *\n * _.isObjectLike(_.noop);\n * // => false\n *\n * _.isObjectLike(null);\n * // => false\n */\nfunction isObjectLike(value) {\n return value != null && typeof value == 'object';\n}\n\nexport default isObjectLike;\n","import baseGetTag from './_baseGetTag.js';\nimport isObjectLike from './isObjectLike.js';\n\n/** `Object#toString` result references. */\nvar symbolTag = '[object Symbol]';\n\n/**\n * Checks if `value` is classified as a `Symbol` primitive or 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 a symbol, else `false`.\n * @example\n *\n * _.isSymbol(Symbol.iterator);\n * // => true\n *\n * _.isSymbol('abc');\n * // => false\n */\nfunction isSymbol(value) {\n return typeof value == 'symbol' ||\n (isObjectLike(value) && baseGetTag(value) == symbolTag);\n}\n\nexport default isSymbol;\n","/**\n * A specialized version of `_.map` for arrays without support for iteratee\n * shorthands.\n *\n * @private\n * @param {Array} [array] The array to iterate over.\n * @param {Function} iteratee The function invoked per iteration.\n * @returns {Array} Returns the new mapped array.\n */\nfunction arrayMap(array, iteratee) {\n var index = -1,\n length = array == null ? 0 : array.length,\n result = Array(length);\n\n while (++index < length) {\n result[index] = iteratee(array[index], index, array);\n }\n return result;\n}\n\nexport default arrayMap;\n","import Symbol from './_Symbol.js';\nimport arrayMap from './_arrayMap.js';\nimport isArray from './isArray.js';\nimport isSymbol from './isSymbol.js';\n\n/** Used as references for various `Number` constants. */\nvar INFINITY = 1 / 0;\n\n/** Used to convert symbols to primitives and strings. */\nvar symbolProto = Symbol ? Symbol.prototype : undefined,\n symbolToString = symbolProto ? symbolProto.toString : undefined;\n\n/**\n * The base implementation of `_.toString` which doesn't convert nullish\n * values to empty strings.\n *\n * @private\n * @param {*} value The value to process.\n * @returns {string} Returns the string.\n */\nfunction baseToString(value) {\n // Exit early for strings to avoid a performance hit in some environments.\n if (typeof value == 'string') {\n return value;\n }\n if (isArray(value)) {\n // Recursively convert values (susceptible to call stack limits).\n return arrayMap(value, baseToString) + '';\n }\n if (isSymbol(value)) {\n return symbolToString ? symbolToString.call(value) : '';\n }\n var result = (value + '');\n return (result == '0' && (1 / value) == -INFINITY) ? '-0' : result;\n}\n\nexport default baseToString;\n","import baseToString from './_baseToString.js';\n\n/**\n * Converts `value` to a string. An empty string is returned for `null`\n * and `undefined` values. The sign of `-0` is preserved.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to convert.\n * @returns {string} Returns the converted string.\n * @example\n *\n * _.toString(null);\n * // => ''\n *\n * _.toString(-0);\n * // => '-0'\n *\n * _.toString([1, 2, 3]);\n * // => '1,2,3'\n */\nfunction toString(value) {\n return value == null ? '' : baseToString(value);\n}\n\nexport default toString;\n","import toString from './toString.js';\n\n/** Used to generate unique IDs. */\nvar idCounter = 0;\n\n/**\n * Generates a unique ID. If `prefix` is given, the ID is appended to it.\n *\n * @static\n * @since 0.1.0\n * @memberOf _\n * @category Util\n * @param {string} [prefix=''] The value to prefix the ID with.\n * @returns {string} Returns the unique ID.\n * @example\n *\n * _.uniqueId('contact_');\n * // => 'contact_104'\n *\n * _.uniqueId();\n * // => '105'\n */\nfunction uniqueId(prefix) {\n var id = ++idCounter;\n return toString(prefix) + id;\n}\n\nexport default uniqueId;\n"],"names":["addOverlay","componentName","onOverlayClick","zIndexClass","type","OVERLAY_ADD_OVERLAY","payload","updateOverlay","OVERLAY_UPDATE_OVERLAY","removeOverlay","OVERLAY_REMOVE_OVERLAY","quantity","setQuantity","packageSize","handleQuantity","maxValue","Math","max","parseInt","roundedValue","ceil","className","onClick","translate","disabled","name","size","value","min","onChange","e","target","onBlur","onKeyDown","key","currentTheme","window","__litium","label","id","placement","InfoBoxPlacements","Top","children","tooltipId","uniqueId","isOpen","setIsOpen","useState","border","colors","infoBoxBorder","classNameArrow","opacity","clickable","place","articleNumber","articleNumberLabel","category","isInStock","price","tierPrices","campaignPrice","actualQuantity","url","totalPrice","currency","rowSystemId","hasMounted","useRef","dispatch","useDispatch","currentBreakpoint","useBreakpoint","inputQuantity","setInputQuantity","hasPrice","useEffect","current","updatedQuantity","update","Icon","href","StockStatus","inStock","showInfoBox","Price","formattedPrice","formattedCampaignPrice","showForQuantity","hideTierPrice","QuantityInput","showMiniCart","orderRows","disclaimer","grandTotal","orderTotal","checkoutUrl","emptyCartLink","useSelector","state","cart","hasOrderRows","useMemo","length","MiniCartTitle","gtmGrandTotal","gtmOrderRows","map","row","gtmEcommerceItem","gtmOrderRow","find","item_id","index","push","dataLayerGtmViewCart","gtmShowMiniCart","Footer","undefined","SideMenu","open","title","from","zIndex","onClosed","setShowMiniCart","components","EditorString","text","TierPrices","props","currentCulture","tier","idx","minimumQuantity","toLocaleString","style","minimumFractionDigits","maximumFractionDigits","PriceDetails","pricePerPiecesText","disableTierPriceTooltip","clsx","TopEnd","priceOnRequestLabel","matchedTierPrice","i","nextMinimumQuantity","displayCampaignPrice","forwardRef","duration","contentClassName","showCloseButton","disableClosing","closeButton","ref","ready","setReady","slideIn","setSlideIn","renderSideMenu","setRenderSideMenu","timeoutId","setTimeoutId","Error","close","useCallback","clearTimeout","newTimeoutId","setTimeout","parseFloat","modal","document","getElementById","lockFocusToModal","CloseIcon","slideInClasses","ReactDOM","transitionDuration","Header","cloneElement","Content","body","displayName","description","stockMessage","windowWidth","initialWidth","global","innerWidth","initialHeight","innerHeight","setSize","updateSize","addEventListener","removeEventListener","useWindowSize","setCurrentBreakpoint","breakpointValues","setBreakpointValues","breakpoints","setBreakpoints","_breakpoints","Object","keys","breakpointVars","reduce","obj","replace","sortedValues","values","sort","a","b","keyArray","sortedValue","nextValue","containerElement","onClose","focusFirstElement","focusableElements","Array","querySelectorAll","filter","el","hasAttribute","offsetParent","firstElement","lastElement","prevActiveElement","activeElement","focus","handleTabKeyPress","event","shiftKey","preventDefault","GetSearchUrl","q","queryParams","quickSearchUrl","apex","bendix","formatDate","date","updatedDate","Date","year","month","day","toISOString","split","Symbol","objectProto","prototype","hasOwnProperty","nativeObjectToString","toString","symToStringTag","toStringTag","isOwn","call","tag","unmasked","result","freeSelf","self","Function","isArray","array","iteratee","symbolProto","symbolToString","baseToString","isSymbol","idCounter","prefix"],"sourceRoot":""}