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,EAAUrI,MACVqI,EAAU2C,kBAEL3C,EAAU8I,YACbG,EAAOvE,SAAQ,SAAS3E,GACtBC,EAAU+B,SAAShC,EACrB,IAGFgJ,GACAA,EAAOO,OACT,CACF,C","sources":["webpack:///./app/javascript/templates/ProductCategoryBestseller/desktop/style.js","webpack:///./app/javascript/components/ProductCategoryBestseller/Overview/desktop/style.js","webpack:///./app/javascript/components/ProductCategoryBestseller/Overview/desktop/loading.jsx","webpack:///./app/javascript/components/ProductCategoryBestseller/ItemList/desktop/style.js","webpack:///./app/javascript/components/ProductCategoryBestseller/ItemList/desktop/loading.jsx","webpack:///./app/javascript/templates/ProductCategoryBestseller/desktop/loading.jsx","webpack:///./app/javascript/components/ProductCategoryBestseller/Overview/desktop/index.jsx","webpack:///./app/javascript/components/ProductCategoryBestseller/ItemList/desktop/index.jsx","webpack:///./app/javascript/templates/ProductCategoryBestseller/desktop/index.jsx","webpack:///./app/javascript/packs/desktop/product_categories/bestsellers/show.jsx","webpack:///./node_modules/copy-to-clipboard/index.js","webpack:///./node_modules/react-copy-to-clipboard/lib/Component.js","webpack:///./node_modules/react-copy-to-clipboard/lib/index.js","webpack:///./node_modules/toggle-selection/index.js"],"sourcesContent":["import styled from 'styled-components'\n\nexport const Wrapper = styled.div`\n width: ${props => props.theme.screen.desktop};\n line-height: 1.5;\n margin: 24px auto;\n\n display: flex;\n flex-direction: column;\n gap: 16px;\n`\n","import styled from 'styled-components'\n\nexport const Wrapper = styled.div`\n display: flex;\n flex-direction: column;\n gap: 8px;\n`\n\nexport const Title = styled.h1`\n color: ${props => props.theme.colors.textHeading};\n font-weight: 600;\n margin: 0;\n`\n\nexport const Description = styled.p`\n color: ${props => props.theme.colors.textHeading};\n margin: 0;\n white-space: pre-line;\n\n &:empty { display: none; }\n`\n\nexport const Actions = styled.div`\n display: flex;\n gap: 8px;\n align-items: center;\n`\n","import * as Styled from './style'\nimport { Skeleton } from '../../../../elements'\n\nimport { renderElementMultipleTimes } from '../../../../utilities/render'\n\nimport React from 'react'\nimport PropTypes from 'prop-types'\n\nconst ProductCategoryBestsellerOverviewLoading = ({ actionsCount = 1 }) => {\n return (\n <Styled.Wrapper>\n <Skeleton width=\"300px\" size=\"24px\" />\n\n <div>\n <Skeleton width=\"100%\" size=\"16px\" />\n <Skeleton width=\"40%\" size=\"16px\" />\n </div>\n\n <Styled.Actions>\n {renderElementMultipleTimes(actionsCount, <Skeleton width=\"160px\" height=\"44px\" type=\"box\" rounded />)}\n </Styled.Actions>\n </Styled.Wrapper>\n )\n}\n\nProductCategoryBestsellerOverviewLoading.propTypes = {\n actionsCount: PropTypes.number\n}\n\nexport default ProductCategoryBestsellerOverviewLoading\n","import styled from 'styled-components'\n\nexport const Wrapper = styled.div`\n border: 1px solid ${props => props.theme.colors.zinc100};\n border-radius: 16px;\n padding: 16px;\n\n display: flex;\n gap: 16px;\n`\n\nexport const LeftSide = styled.div`\n flex: none;\n\n position: relative;\n`\n\nexport const RightSide = styled.div`\n flex: auto;\n\n display: flex;\n flex-direction: column;\n gap: 8px;\n`\n\nconst rankColor = ({ $index }) => {\n switch ($index) {\n case 0:\n return '#F1BA43'\n case 1:\n return '#9099A1'\n case 2:\n return '#DE7D50'\n default:\n return '#191919'\n }\n}\n\nexport const Rank = styled.div`\n height: 28px;\n background-color: ${props => rankColor(props)};\n border-radius: 8px;\n color: ${props => props.theme.colors.white};\n font-size: 12px;\n padding: 0 8px;\n\n display: flex;\n justify-content: center;\n align-items: center;\n\n position: absolute;\n top: 0;\n left: 0;\n`\n\nexport const FlexBox = styled.div`\n display: flex;\n gap: 8px;\n justify-content: ${props => props.$justify};\n align-items: ${props => props.$align || 'center'};\n`\n\nexport const Image = styled.div`\n width: 300px;\n height: 300px;\n\n > img {\n width: 100%;\n height: 100%;\n border-radius: 8px;\n object-fit: contain;\n }\n`\n\nexport const Name = styled.h2`\n color: ${props => props.theme.colors.textHeading};\n font-size: 18px;\n margin: 0;\n\n display: -webkit-box;\n overflow: hidden;\n -webkit-box-orient: vertical;\n -webkit-line-clamp: 1;\n`\n\nexport const Label = styled.h3`\n width: 140px;\n color: ${props => props.theme.colors.textSubHeading};\n font-size: 16px;\n margin: 0;\n`\n\nexport const Text = styled.p`\n color: ${props => props.theme.colors.textHeading};\n margin: 0;\n`\n\nexport const Price = styled.p`\n color: ${props => props.theme.colors.mainRed};\n font-size: 24px;\n font-weight: 600;\n margin: 0;\n\n &:empty {\n font-size: 16px;\n \n &:after {\n content: '${props => props.$placeholder}';\n }\n }\n`\n\nconst getActionColor = ({ theme, $status }) => {\n switch ($status) {\n case 'success':\n return theme.colors.success\n default:\n return theme.colors.grey500\n }\n}\n\nexport const CopyIcon = styled.div`\n width: 30px;\n height: 30px;\n color: ${props => getActionColor(props)};\n cursor: pointer;\n\n display: flex;\n justify-content: center;\n align-items: center;\n`\n","import * as Styled from './style'\nimport BrandLoading from '../../../Item/Information/Brand/loading'\nimport ItemSpecsLoading from '../../../Item/Information/Specs/desktop/loading'\nimport { Skeleton } from '../../../../elements'\n\nimport { renderFunctionMultipleTimes } from '../../../../utilities/render'\n\nimport React, { Fragment } from 'react'\n\nconst loadItem = () => {\n return (\n <Styled.Wrapper>\n <Styled.LeftSide>\n <Styled.Image>\n <Skeleton width=\"100%\" height=\"100%\" type=\"image\" rounded />\n </Styled.Image>\n </Styled.LeftSide>\n\n <Styled.RightSide>\n <Styled.FlexBox $justify=\"space-between\">\n <Skeleton width=\"80%\" size=\"18px\" />\n <Skeleton width=\"30px\" height=\"30px\" type=\"box\" circle />\n </Styled.FlexBox>\n\n <Styled.FlexBox>\n <Styled.Label as=\"div\">\n <Skeleton width=\"80px\" size=\"16px\" />\n </Styled.Label>\n <Skeleton width=\"100px\" size=\"16px\" />\n </Styled.FlexBox>\n <Styled.FlexBox>\n <Styled.Label as=\"div\">\n <Skeleton width=\"100px\" size=\"16px\" />\n </Styled.Label>\n <Skeleton width=\"180px\" size=\"24px\" />\n </Styled.FlexBox>\n <BrandLoading />\n\n <ItemSpecsLoading\n labelSize=\"14px\"\n textSize=\"16px\"\n gap=\"8px\" />\n </Styled.RightSide>\n </Styled.Wrapper>\n )\n}\n\nconst ProductCategoryBestsellerItemListLoading = () => {\n return (\n <Fragment>\n {renderFunctionMultipleTimes(10, loadItem)}\n </Fragment>\n )\n}\n\nProductCategoryBestsellerItemListLoading.propTypes = {}\n\nexport default ProductCategoryBestsellerItemListLoading\n","import * as Styled from './style'\nimport ProductCategoryBestsellerOverviewLoading from '../../../components/ProductCategoryBestseller/Overview/desktop/loading'\nimport ProductCategoryBestsellerItemListLoading from '../../../components/ProductCategoryBestseller/ItemList/desktop/loading'\nimport { ArticleListWithIntroPagedListLoading } from '../../../components/Articles/ArticleListWithIntro/PagedList/loading'\n\nimport React from 'react'\n\nconst ProductCategoryBestsellerTemplateLoading = () => {\n return (\n <Styled.Wrapper>\n <ProductCategoryBestsellerOverviewLoading />\n <ProductCategoryBestsellerItemListLoading />\n <ArticleListWithIntroPagedListLoading column={3} paginationPosition=\"top\" />\n </Styled.Wrapper>\n )\n}\n\nProductCategoryBestsellerTemplateLoading.propTypes = {}\n\nexport default ProductCategoryBestsellerTemplateLoading\n","import * as Styled from './style'\nimport { Button } from '../../../../elements'\n\nimport { useHooks } from '../hooks'\n\nimport React from 'react'\nimport PropTypes from 'prop-types'\n\nconst renderActions = actions => {\n return actions.map(({ label, url }, index) => (\n <Button key={index} as=\"a\" href={url} htmlType=\"default-soft\">\n {label}\n </Button>\n ))\n}\n\nconst ProductCategoryBestsellerOverview = ({\n slug,\n name,\n description\n}) => {\n const hooks = useHooks(slug, name)\n\n return (\n <Styled.Wrapper>\n <Styled.Title>{hooks.title}</Styled.Title>\n <Styled.Description>{description}</Styled.Description>\n \n <Styled.Actions>\n {renderActions(hooks.actions)}\n </Styled.Actions>\n </Styled.Wrapper>\n )\n}\n\nProductCategoryBestsellerOverview.propTypes = {\n slug: PropTypes.string.isRequired,\n name: PropTypes.string.isRequired,\n description: PropTypes.string\n}\n\nexport default ProductCategoryBestsellerOverview\n","import * as Styled from './style'\nimport ProductCategoryBestsellerItemListLoading from './loading'\nimport Brand from '../../../Item/Information/Brand'\nimport ItemSpecs from '../../../Item/Information/Specs/desktop'\nimport { Link } from '../../../../elements'\n\nimport LogoHomeGray from '../../../../../assets/images/base/osh-logo/logo-home-gray.png'\n\nimport { useHooks } from '../hooks'\nimport { i18n } from '../../../../utilities/i18n'\n\nimport React, { Fragment, useState } from 'react'\nimport PropTypes from 'prop-types'\nimport { CopyToClipboard } from 'react-copy-to-clipboard'\n\nconst renderItemList = (source, displayPrice, copying, onClickCopy) => {\n return source.map((data, index) => {\n const { id, name, priceSummary, unit, url } = data\n const copied = copying.includes(index)\n const price = displayPrice(priceSummary?.priceAfterDiscount)\n\n return (\n <Styled.Wrapper key={index}>\n <Styled.LeftSide>\n <Styled.Rank $index={index}>{i18n.t('ItemList.no')} {index + 1}</Styled.Rank>\n <Link href={url}>\n <Styled.Image>\n <img src={data.image?.large || LogoHomeGray} alt={name} />\n </Styled.Image>\n </Link>\n </Styled.LeftSide>\n\n <Styled.RightSide>\n <Styled.FlexBox $justify=\"space-between\">\n <Link href={url}>\n <Styled.Name>{name}</Styled.Name>\n </Link>\n <CopyToClipboard text={name} onCopy={() => onClickCopy(index)}>\n <Styled.CopyIcon $status={copied && 'success'}>\n <i className={copied ? 'fa-regular fa-check' : 'fa-regular fa-files'}></i>\n </Styled.CopyIcon>\n </CopyToClipboard>\n </Styled.FlexBox>\n\n <Styled.FlexBox>\n <Styled.Label>{i18n.t('ItemList.itemNumber')}</Styled.Label>\n <Styled.Text>{id}</Styled.Text>\n </Styled.FlexBox>\n <Styled.FlexBox>\n <Styled.Label>{i18n.t('ItemList.price', { unit })}</Styled.Label>\n <Styled.Price $placeholder={i18n.t('ItemList.contactStaff')}>{price}</Styled.Price>\n </Styled.FlexBox>\n <Brand brand={data.brand} />\n\n <ItemSpecs\n labelAs=\"h3\"\n labelColor=\"textPlaceholder\"\n labelSize=\"14px\"\n textSize=\"16px\"\n item={data}\n gap=\"8px\" />\n </Styled.RightSide>\n </Styled.Wrapper>\n )\n })\n}\n\nconst ProductCategoryBestsellerItemList = ({ slug }) => {\n const [copying, setCopying] = useState([])\n const { loading, displayPrice, source } = useHooks({ slug })\n\n const onClickCopy = index => {\n setCopying(values => [...values, index])\n\n setTimeout(() => {\n setCopying(values => values.filter(value => value !== index))\n }, 1000)\n }\n\n if (loading) return <ProductCategoryBestsellerItemListLoading />\n\n return (\n <Fragment>\n {renderItemList(source, displayPrice, copying, onClickCopy)}\n </Fragment>\n )\n}\n\nProductCategoryBestsellerItemList.propTypes = {\n slug: PropTypes.string.isRequired\n}\n\nexport default ProductCategoryBestsellerItemList\n","import * as Styled from './style'\nimport ProductCategoryBestsellerTemplateLoading from './loading'\nimport ProductCategoryBestsellerOverview from '../../../components/ProductCategoryBestseller/Overview/desktop'\nimport ProductCategoryBestsellerItemList from '../../../components/ProductCategoryBestseller/ItemList/desktop'\nimport { ProductCategoryArticlePagedList } from '../../../components/ProductCategory/ArticleList'\n\nimport { useHooks } from '../hooks'\n\nimport React from 'react'\nimport PropTypes from 'prop-types'\n\nconst ProductCategoryBestsellerTemplate = ({ slug }) => {\n const hooks = useHooks(slug)\n const { name, shortDescription, articleExists } = hooks.source\n\n if (hooks.loading) return <ProductCategoryBestsellerTemplateLoading />\n\n return (\n <Styled.Wrapper>\n <ProductCategoryBestsellerOverview\n slug={slug}\n name={name}\n description={shortDescription} />\n <ProductCategoryBestsellerItemList slug={slug} />\n\n {articleExists && <ProductCategoryArticlePagedList slug={slug} column={3} paginationPosition=\"top\" />}\n </Styled.Wrapper>\n )\n}\n\nProductCategoryBestsellerTemplate.propTypes = {\n slug: PropTypes.string.isRequired\n}\n\nexport default ProductCategoryBestsellerTemplate\n","import ProductCategoryBestsellerTemplate from '../../../../templates/ProductCategoryBestseller/desktop'\nimport { renderRoot } from '../../../../utilities/render'\n\nconst _renderProductCategoryBestseller = () => {\n const root = document.getElementById('product_category_bestseller_page')\n const rootData = (root && root.dataset) || {}\n\n renderRoot(root, [{\n component: ProductCategoryBestsellerTemplate,\n params: rootData\n }])\n}\n\nconst ProductCategoryBestsellerPage = () => {\n _renderProductCategoryBestseller()\n}\n\nexport default ProductCategoryBestsellerPage\n","\"use strict\";\n\nvar deselectCurrent = require(\"toggle-selection\");\n\nvar clipboardToIE11Formatting = {\n \"text/plain\": \"Text\",\n \"text/html\": \"Url\",\n \"default\": \"Text\"\n}\n\nvar defaultMessage = \"Copy to clipboard: #{key}, Enter\";\n\nfunction format(message) {\n var copyKey = (/mac os x/i.test(navigator.userAgent) ? \"⌘\" : \"Ctrl\") + \"+C\";\n return message.replace(/#{\\s*key\\s*}/g, copyKey);\n}\n\nfunction copy(text, options) {\n var debug,\n message,\n reselectPrevious,\n range,\n selection,\n mark,\n success = false;\n if (!options) {\n options = {};\n }\n debug = options.debug || false;\n try {\n reselectPrevious = deselectCurrent();\n\n range = document.createRange();\n selection = document.getSelection();\n\n mark = document.createElement(\"span\");\n mark.textContent = text;\n // avoid screen readers from reading out loud the text\n mark.ariaHidden = \"true\"\n // reset user styles for span element\n mark.style.all = \"unset\";\n // prevents scrolling to the end of the page\n mark.style.position = \"fixed\";\n mark.style.top = 0;\n mark.style.clip = \"rect(0, 0, 0, 0)\";\n // used to preserve spaces and line breaks\n mark.style.whiteSpace = \"pre\";\n // do not inherit user-select (it may be `none`)\n mark.style.webkitUserSelect = \"text\";\n mark.style.MozUserSelect = \"text\";\n mark.style.msUserSelect = \"text\";\n mark.style.userSelect = \"text\";\n mark.addEventListener(\"copy\", function(e) {\n e.stopPropagation();\n if (options.format) {\n e.preventDefault();\n if (typeof e.clipboardData === \"undefined\") { // IE 11\n debug && console.warn(\"unable to use e.clipboardData\");\n debug && console.warn(\"trying IE specific stuff\");\n window.clipboardData.clearData();\n var format = clipboardToIE11Formatting[options.format] || clipboardToIE11Formatting[\"default\"]\n window.clipboardData.setData(format, text);\n } else { // all other browsers\n e.clipboardData.clearData();\n e.clipboardData.setData(options.format, text);\n }\n }\n if (options.onCopy) {\n e.preventDefault();\n options.onCopy(e.clipboardData);\n }\n });\n\n document.body.appendChild(mark);\n\n range.selectNodeContents(mark);\n selection.addRange(range);\n\n var successful = document.execCommand(\"copy\");\n if (!successful) {\n throw new Error(\"copy command was unsuccessful\");\n }\n success = true;\n } catch (err) {\n debug && console.error(\"unable to copy using execCommand: \", err);\n debug && console.warn(\"trying IE specific stuff\");\n try {\n window.clipboardData.setData(options.format || \"text\", text);\n options.onCopy && options.onCopy(window.clipboardData);\n success = true;\n } catch (err) {\n debug && console.error(\"unable to copy using clipboardData: \", err);\n debug && console.error(\"falling back to prompt\");\n message = format(\"message\" in options ? options.message : defaultMessage);\n window.prompt(message, text);\n }\n } finally {\n if (selection) {\n if (typeof selection.removeRange == \"function\") {\n selection.removeRange(range);\n } else {\n selection.removeAllRanges();\n }\n }\n\n if (mark) {\n document.body.removeChild(mark);\n }\n reselectPrevious();\n }\n\n return success;\n}\n\nmodule.exports = copy;\n","\"use strict\";\n\nfunction _typeof(obj) { \"@babel/helpers - typeof\"; return _typeof = \"function\" == typeof Symbol && \"symbol\" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && \"function\" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; }, _typeof(obj); }\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.CopyToClipboard = void 0;\n\nvar _react = _interopRequireDefault(require(\"react\"));\n\nvar _copyToClipboard = _interopRequireDefault(require(\"copy-to-clipboard\"));\n\nvar _excluded = [\"text\", \"onCopy\", \"options\", \"children\"];\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { \"default\": obj }; }\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(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\nfunction _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }\n\nfunction _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }\n\nfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\nfunction _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if (\"value\" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }\n\nfunction _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, \"prototype\", { writable: false }); return Constructor; }\n\nfunction _inherits(subClass, superClass) { if (typeof superClass !== \"function\" && superClass !== null) { throw new TypeError(\"Super expression must either be null or a function\"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); Object.defineProperty(subClass, \"prototype\", { writable: false }); if (superClass) _setPrototypeOf(subClass, superClass); }\n\nfunction _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }\n\nfunction _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = _getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; }\n\nfunction _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === \"object\" || typeof call === \"function\")) { return call; } else if (call !== void 0) { throw new TypeError(\"Derived constructors may only return object or undefined\"); } return _assertThisInitialized(self); }\n\nfunction _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\"); } return self; }\n\nfunction _isNativeReflectConstruct() { if (typeof Reflect === \"undefined\" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === \"function\") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } }\n\nfunction _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }\n\nfunction _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }\n\nvar CopyToClipboard = /*#__PURE__*/function (_React$PureComponent) {\n _inherits(CopyToClipboard, _React$PureComponent);\n\n var _super = _createSuper(CopyToClipboard);\n\n function CopyToClipboard() {\n var _this;\n\n _classCallCheck(this, CopyToClipboard);\n\n for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {\n args[_key] = arguments[_key];\n }\n\n _this = _super.call.apply(_super, [this].concat(args));\n\n _defineProperty(_assertThisInitialized(_this), \"onClick\", function (event) {\n var _this$props = _this.props,\n text = _this$props.text,\n onCopy = _this$props.onCopy,\n children = _this$props.children,\n options = _this$props.options;\n\n var elem = _react[\"default\"].Children.only(children);\n\n var result = (0, _copyToClipboard[\"default\"])(text, options);\n\n if (onCopy) {\n onCopy(text, result);\n } // Bypass onClick if it was present\n\n\n if (elem && elem.props && typeof elem.props.onClick === 'function') {\n elem.props.onClick(event);\n }\n });\n\n return _this;\n }\n\n _createClass(CopyToClipboard, [{\n key: \"render\",\n value: function render() {\n var _this$props2 = this.props,\n _text = _this$props2.text,\n _onCopy = _this$props2.onCopy,\n _options = _this$props2.options,\n children = _this$props2.children,\n props = _objectWithoutProperties(_this$props2, _excluded);\n\n var elem = _react[\"default\"].Children.only(children);\n\n return /*#__PURE__*/_react[\"default\"].cloneElement(elem, _objectSpread(_objectSpread({}, props), {}, {\n onClick: this.onClick\n }));\n }\n }]);\n\n return CopyToClipboard;\n}(_react[\"default\"].PureComponent);\n\nexports.CopyToClipboard = CopyToClipboard;\n\n_defineProperty(CopyToClipboard, \"defaultProps\", {\n onCopy: undefined,\n options: undefined\n});","\"use strict\";\n\nvar _require = require('./Component'),\n CopyToClipboard = _require.CopyToClipboard;\n\nCopyToClipboard.CopyToClipboard = CopyToClipboard;\nmodule.exports = CopyToClipboard;","\nmodule.exports = function () {\n var selection = document.getSelection();\n if (!selection.rangeCount) {\n return function () {};\n }\n var active = document.activeElement;\n\n var ranges = [];\n for (var i = 0; i < selection.rangeCount; i++) {\n ranges.push(selection.getRangeAt(i));\n }\n\n switch (active.tagName.toUpperCase()) { // .toUpperCase handles XHTML\n case 'INPUT':\n case 'TEXTAREA':\n active.blur();\n break;\n\n default:\n active = null;\n break;\n }\n\n selection.removeAllRanges();\n return function () {\n selection.type === 'Caret' &&\n selection.removeAllRanges();\n\n if (!selection.rangeCount) {\n ranges.forEach(function(range) {\n selection.addRange(range);\n });\n }\n\n active &&\n active.focus();\n };\n};\n"],"names":["Wrapper","styled","div","_templateObject","props","theme","screen","desktop","_taggedTemplateLiteral","Title","h1","_templateObject2","colors","textHeading","Description","p","_templateObject3","Actions","_templateObject4","_ref","_ref$actionsCount","actionsCount","React","Styled","Skeleton","width","size","renderElementMultipleTimes","height","type","rounded","zinc100","LeftSide","RightSide","Rank","$index","rankColor","white","FlexBox","_templateObject5","$justify","$align","Image","_templateObject6","Name","h2","_templateObject7","Label","h3","_templateObject8","textSubHeading","Text","_templateObject9","Price","_templateObject10","mainRed","$placeholder","CopyIcon","_templateObject11","_ref2","$status","success","grey500","loadItem","circle","as","BrandLoading","ItemSpecsLoading","labelSize","textSize","gap","Fragment","renderFunctionMultipleTimes","ProductCategoryBestsellerOverviewLoading","ProductCategoryBestsellerItemListLoading","ArticleListWithIntroPagedListLoading","column","paginationPosition","slug","name","description","hooks","useHooks","title","actions","map","index","label","url","Button","key","href","htmlType","_useState2","_slicedToArray","useState","copying","setCopying","_useHooks","loading","displayPrice","source","onClickCopy","data","_data$image","id","priceSummary","unit","copied","includes","price","priceAfterDiscount","i18n","t","Link","src","image","large","LogoHomeGray","alt","CopyToClipboard","text","onCopy","className","Brand","brand","ItemSpecs","labelAs","labelColor","item","renderItemList","values","concat","_toConsumableArray","setTimeout","filter","value","_hooks$source","shortDescription","articleExists","ProductCategoryBestsellerTemplateLoading","ProductCategoryBestsellerOverview","ProductCategoryBestsellerItemList","ProductCategoryArticlePagedList","root","rootData","document","getElementById","dataset","renderRoot","component","ProductCategoryBestsellerTemplate","params","deselectCurrent","clipboardToIE11Formatting","module","exports","options","debug","message","reselectPrevious","range","selection","mark","createRange","getSelection","createElement","textContent","ariaHidden","style","all","position","top","clip","whiteSpace","webkitUserSelect","MozUserSelect","msUserSelect","userSelect","addEventListener","e","stopPropagation","format","preventDefault","clipboardData","console","warn","window","clearData","setData","body","appendChild","selectNodeContents","addRange","execCommand","Error","err","error","copyKey","test","navigator","userAgent","replace","prompt","removeRange","removeAllRanges","removeChild","_typeof","obj","Symbol","iterator","constructor","prototype","Object","defineProperty","_react","_interopRequireDefault","_copyToClipboard","_excluded","__esModule","ownKeys","object","enumerableOnly","keys","getOwnPropertySymbols","symbols","sym","getOwnPropertyDescriptor","enumerable","push","apply","_objectSpread","target","i","arguments","length","forEach","_defineProperty","getOwnPropertyDescriptors","defineProperties","_objectWithoutProperties","excluded","sourceKeys","indexOf","_objectWithoutPropertiesLoose","sourceSymbolKeys","propertyIsEnumerable","call","_defineProperties","descriptor","configurable","writable","_setPrototypeOf","o","setPrototypeOf","__proto__","_createSuper","Derived","hasNativeReflectConstruct","Reflect","construct","sham","Proxy","Boolean","valueOf","_isNativeReflectConstruct","result","Super","_getPrototypeOf","NewTarget","this","self","TypeError","_assertThisInitialized","_possibleConstructorReturn","ReferenceError","getPrototypeOf","_React$PureComponent","subClass","superClass","create","_inherits","Constructor","protoProps","staticProps","_super","_this","instance","_classCallCheck","_len","args","Array","_key","event","_this$props","children","elem","Children","only","onClick","_this$props2","cloneElement","PureComponent","undefined","rangeCount","active","activeElement","ranges","getRangeAt","tagName","toUpperCase","blur","focus"],"sourceRoot":""}