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QAG/C,iBAAK1H,UDZO,WCYe,iBAAOd,EAAMwI,KAAI,a","sources":["webpack:///../../packages/icons/src/stroke2/info1.svg","webpack:///./src/microApps/common/components/atoms/CloudinaryImage.tsx","webpack:///./src/microApps/common/components/atoms/ConditionalWrapper.tsx","webpack:///./src/microApps/common/components/atoms/MedicalInfo/MedicalInfo.module.less","webpack:///./src/microApps/common/components/atoms/MedicalInfo/MedicalInfo.tsx","webpack:///./src/microApps/common/components/atoms/ExcludingTaxInfo/ExcludingTaxInfo.tsx","webpack:///./src/microApps/common/components/atoms/ProductPrice/ProductPrice.module.less","webpack:///./src/microApps/common/components/atoms/ProductPrice/ProductPrice.tsx","webpack:///./src/microApps/common/models/domain/ecommerce/promotion/promotionMappers.ts","webpack:///./src/microApps/common/utils/cloudinaryImageUtils.ts","webpack:///./src/microApps/ecommerce/components/MaxPromotionUsage/MaxPromotionUsageNotification.tsx","webpack:///./src/microApps/ecommerce/components/MaxPromotionUsage/MaxPromotionUsage.module.scss","webpack:///./src/microApps/ecommerce/components/MaxPromotionUsage/MaxPromotionUsage.tsx"],"sourcesContent":["var _path, _path2;\nfunction _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }\nimport * as React from \"react\";\nconst SvgInfo1 = _ref => {\n let {\n title,\n titleId,\n ...props\n } = _ref;\n return /*#__PURE__*/React.createElement(\"svg\", _extends({\n width: \"1em\",\n height: \"1em\",\n viewBox: \"0 0 24 24\",\n xmlns: \"http://www.w3.org/2000/svg\",\n \"aria-labelledby\": titleId\n }, props), title ? /*#__PURE__*/React.createElement(\"title\", {\n id: titleId\n }, title) : null, _path || (_path = /*#__PURE__*/React.createElement(\"path\", {\n fillRule: \"evenodd\",\n clipRule: \"evenodd\",\n d: \"M12 2.99951C7.02944 2.99951 3 7.02895 3 11.9995C3 16.9701 7.02944 20.9995 12 20.9995C16.9706 20.9995 21 16.9701 21 11.9995C21 7.02895 16.9706 2.99951 12 2.99951ZM1 11.9995C1 5.92438 5.92487 0.999512 12 0.999512C18.0751 0.999512 23 5.92438 23 11.9995C23 18.0746 18.0751 22.9995 12 22.9995C5.92487 22.9995 1 18.0746 1 11.9995ZM9 9.99951C9 9.44723 9.44772 8.99951 10 8.99951H12C12.5523 8.99951 13 9.44723 13 9.99951V15.9995H14C14.5523 15.9995 15 16.4472 15 16.9995C15 17.5518 14.5523 17.9995 14 17.9995H10C9.44772 17.9995 9 17.5518 9 16.9995C9 16.4472 9.44772 15.9995 10 15.9995H11V10.9995H10C9.44772 10.9995 9 10.5518 9 9.99951Z\"\n })), _path2 || (_path2 = /*#__PURE__*/React.createElement(\"path\", {\n d: \"M13.5 6.49951C13.5 7.32794 12.8284 7.99951 12 7.99951C11.1716 7.99951 10.5 7.32794 10.5 6.49951C10.5 5.67108 11.1716 4.99951 12 4.99951C12.8284 4.99951 13.5 5.67108 13.5 6.49951Z\"\n })));\n};\nexport default SvgInfo1;","// Cloudinary url api:\n// http://cloudinary.com/documentation/image_transformations#reference\n\nimport type { FC } from 'react';\n\nimport { getFallbackImgUrl, getTransformedImageUrl } from '../../utils/cloudinaryImageUtils';\nimport Image from './Image';\n\nexport const removeStartingSlash = (str: string | null | undefined) => {\n if (!str) {\n return str;\n }\n\n if (str[0] === '/') {\n return str.slice(1);\n }\n\n return str;\n};\n\nexport const CLOUDINARY_ASPECT_RATIO_TRANSFORMS = {\n ratio16By9: {\n transform: `e_sharpen,f_auto,fl_progressive,q_auto,c_lpad,g_center,ar_${16 / 9},c_crop`,\n cssPadding: (9 / 16) * 100,\n },\n};\n\ninterface CloudinaryImageProps {\n // alt tag of image\n onClick?: React.MouseEventHandler<HTMLImageElement>;\n name: string;\n // title tag of image\n title?: string;\n url: string | undefined;\n // if url is missing, this will be fallback\n fallbackUrl?: string;\n retinaTransform?: string;\n transform: string;\n cssClass?: string;\n lazy?: boolean;\n fileExtenson?: string;\n width?: string | number;\n height?: string | number;\n}\n\nconst FallbackImg = (props: CloudinaryImageProps) => {\n return (\n <img\n className={props.cssClass}\n alt={props.name}\n title={props.title}\n src={getFallbackImgUrl(props.fallbackUrl)}\n width={props.width}\n height={props.height}\n />\n );\n};\n\ninterface TransformedImageProps extends Omit<CloudinaryImageProps, 'url'> {\n url: string;\n}\n\nconst TransformedImage = (props: TransformedImageProps) => {\n const transformedUrl = getTransformedImageUrl(\n props.url,\n props.transform,\n props.fileExtenson,\n undefined,\n props.name,\n );\n const srcSet = props.retinaTransform\n ? getTransformedImageUrl(\n props.url,\n props.transform,\n props.fileExtenson,\n props.retinaTransform,\n props.name,\n )\n : undefined;\n\n return (\n <Image\n width={props.width}\n height={props.height}\n alt={props.name}\n title={props.title}\n src={transformedUrl}\n srcSet={srcSet}\n onClick={props.onClick}\n cssClass={props.cssClass}\n unloader={FallbackImg(props)}\n loader={\n <img\n className={props.cssClass}\n src=\"/Assets/Images/missing-image-white.png\"\n alt=\"placeholder\"\n width={props.width}\n height={props.height}\n />\n }\n lazy={props.lazy}\n />\n );\n};\n\nconst CloudinaryImage: FC<React.PropsWithChildren<CloudinaryImageProps>> = (\n props: CloudinaryImageProps,\n) => {\n if (!props.url) {\n return FallbackImg(props);\n }\n return TransformedImage({ ...props, url: props.url });\n};\n\nexport default CloudinaryImage;\n","import type { FC, ReactNode } from 'react';\nimport { Fragment } from 'react';\n\ninterface ConditionalWrapperProps {\n condition: boolean;\n renderWrapper: (children: ReactNode) => ReactNode;\n}\n\nexport const ConditionalWrapper: FC<React.PropsWithChildren<ConditionalWrapperProps>> = (props) =>\n // eslint-disable-next-line react/jsx-no-useless-fragment\n props.condition ? <>{props.renderWrapper(props.children)}</> : <>{props.children}</>;\n\ninterface ConditionalMultipleWrappersProps {\n choices: {\n condition: boolean;\n renderWrapper: (children: ReactNode) => ReactNode;\n }[];\n\n children: ReactNode;\n}\n\nexport const ConditionalMultipleWrappers: FC<\n React.PropsWithChildren<ConditionalMultipleWrappersProps>\n> = (props) => {\n return (\n <>\n {props.choices.map(\n (choice, index) =>\n choice.condition && (\n // eslint-disable-next-line react/no-array-index-key\n <Fragment key={index}>{choice.renderWrapper(props.children)}</Fragment>\n ),\n )}\n </>\n );\n};\n","// extracted by mini-css-extract-plugin\nexport default {\"NicotineInfo\":\"Ky_rXzJE\",\"Item\":\"nBMHj50C\"};","import classnames from 'classnames';\nimport type { FC } from 'react';\n\nimport styles from './MedicalInfo.module.less';\n\ninterface MedicalInfoProps {\n isNicotine?: boolean;\n isPharmaceutical?: boolean;\n}\n\nconst getMessage = (isNicotine?: boolean, isPharmaceutical?: boolean) => {\n return [\n ...(isPharmaceutical ? ['Läkemedel'] : []),\n ...(isNicotine ? ['Får ej säljas vid misstanke om langning'] : []),\n ].join('. ');\n};\n\nexport const ItemMedicalInfo: FC<React.PropsWithChildren<MedicalInfoProps>> = (props) => {\n const message = getMessage(props.isNicotine, props.isPharmaceutical);\n\n if (!message) return null;\n\n return <div className={classnames(styles.NicotineInfo, styles.Item)}>{message}</div>;\n};\n\nconst ProductMedicalInfo: FC<React.PropsWithChildren<MedicalInfoProps>> = (props) => {\n const message = getMessage(props.isNicotine, props.isPharmaceutical);\n\n if (!message) return null;\n\n return <div className={styles.NicotineInfo}>{message}</div>;\n};\n\nexport default ProductMedicalInfo;\n","import type { FC } from 'react';\n\nimport { Helpers } from '../../../../../utility/helpers';\nimport { PriceType } from '../../../models/priceData/priceData';\n\nconst ExcludingTaxInfo: FC<React.PropsWithChildren<{ priceType: PriceType }>> = ({ priceType }) => {\n if (priceType !== PriceType.ExcludeTax) return null;\n\n return (\n <div className=\"u-textXXXSmall u-textWeightNormal\">\n {Helpers.getPriceTypeText(priceType)}\n </div>\n );\n};\n\nexport default ExcludingTaxInfo;\n","// extracted by mini-css-extract-plugin\nexport default {\"BasePrice\":\"wqjVwCAg\",\"Wrapper--column\":\"SnZ2rtnf\",\"Wrapper--row\":\"QBquUjGu\",\"Wrapper--alignLeft\":\"Risc5HeK\",\"Wrapper--alignRight\":\"rOKbLEy4\",\"Wrapper--alignCenter\":\"UNWPCL9h\",\"OldPrice\":\"LCu3wU72\",\"OldPrice--strikeThrough\":\"St8I3QLB\",\"Promotion\":\"rkvftppS\",\"NormalPrice\":\"X7I7xYL7\",\"RecycleFeePrice\":\"b6B4gITl\",\"PriceSuffix\":\"gD6iZrT8\"};","/* eslint-disable react/jsx-no-useless-fragment */\nimport classNames from 'classnames';\nimport type { ReactNode } from 'react';\n\nimport { appConfig } from '../../../../../appConfig';\nimport { Helpers } from '../../../../../utility/helpers';\nimport {\n isFixedPricePromotion,\n isMultiBuyPromotion,\n isPercentagePromotion,\n} from '../../../models/domain/ecommerce/promotion/promotionMappers';\nimport type { PriceData, PriceType } from '../../../models/priceData/priceData';\nimport ExcludingTaxInfo from '../ExcludingTaxInfo';\nimport styles from './ProductPrice.module.less';\n\ninterface ProductPriceProps {\n /**\n * Original price per piece.\n * Will be strike through if newPiecePrice is also provided.\n */\n piecePrice?: PriceData;\n\n /**\n * New price per piece.\n * Red color.\n */\n newPiecePrice?: PriceData;\n\n /**\n * Original price with quantity calculated in.\n * Will be strike through if newTotalPrice is also provided.\n */\n totalPrice?: PriceData;\n\n /**\n * Price after discount With quantity calculated in.\n * Red color.\n */\n newTotalPrice?: PriceData;\n\n /**\n * Recycle fee per piece.\n */\n recycleFeePiecePrice?: PriceData;\n\n /**\n * Recycle fee with quantity calculated in.\n */\n recycleFeeTotalPrice?: PriceData;\n\n /**\n * If there is a data for both piece prices and total prices, check the priority flag to see which to prioritize.\n * */\n prioritizeTotals?: boolean;\n\n showExcludingTaxInfo: boolean;\n priceType: PriceType;\n promo?: EcomPromotion;\n className?: string;\n orientation?: 'column' | 'row';\n align?: 'left' | 'right' | 'center';\n quantity?: number;\n}\n\nconst ProductPrice = ({\n orientation = 'column',\n prioritizeTotals = true,\n ...props\n}: ProductPriceProps) => {\n const wrapperClasses = classNames(\n styles.Wrapper,\n orientation === 'column' && styles['Wrapper--column'],\n orientation === 'row' && styles['Wrapper--row'],\n props.align === 'left' && styles['Wrapper--alignLeft'],\n props.align === 'right' && styles['Wrapper--alignRight'],\n props.align === 'center' && styles['Wrapper--alignCenter'],\n props.className,\n );\n return (\n <div className={wrapperClasses}>\n {!props.promo && !props.newPiecePrice && !props.newTotalPrice ? (\n <NoPromoPrices\n prioritizeTotals={prioritizeTotals}\n totalPrice={props.totalPrice}\n piecePrice={props.piecePrice}\n priceType={props.priceType}\n />\n ) : (\n <>\n <PromotionPicker\n promo={props.promo}\n quantity={props.quantity}\n renderMultiBuyPromotion={(multiBuyPromo) => (\n <>\n {/* This happens on product cards when there is no total prices. */}\n\n {(!props.newTotalPrice || !props.totalPrice) && (\n <MultiBuyPromotionPrice\n numberOfProductRequired={\n multiBuyPromo.numberOfProductRequired\n }\n price={multiBuyPromo.bundlePrice}\n priceType={props.priceType}\n usePieceSuffix={false}\n />\n )}\n <NewPrices\n prioritizeTotals={prioritizeTotals}\n newTotalPrice={props.newTotalPrice}\n newPiecePrice={props.newPiecePrice}\n priceType={props.priceType}\n />\n\n <OldPrices\n prioritizeTotals={prioritizeTotals}\n totalPrice={props.totalPrice}\n piecePrice={props.piecePrice}\n priceType={props.priceType}\n />\n </>\n )}\n renderNotApplicablePromotion={() => (\n <NoPromoPrices\n prioritizeTotals={prioritizeTotals}\n totalPrice={props.totalPrice}\n piecePrice={props.piecePrice}\n priceType={props.priceType}\n />\n )}\n renderFixedPromotion={(fixedPromo) => (\n <>\n <NewPrices\n newPiecePrice={fixedPromo.fixedPiecePrice}\n prioritizeTotals={prioritizeTotals}\n newTotalPrice={props.newTotalPrice}\n priceType={props.priceType}\n />\n <OldPrices\n prioritizeTotals={prioritizeTotals}\n totalPrice={props.totalPrice}\n piecePrice={props.piecePrice}\n priceType={props.priceType}\n piecePriceStrikeThrough\n />\n </>\n )}\n renderDefault={() => (\n <>\n <NewPrices\n prioritizeTotals={prioritizeTotals}\n newTotalPrice={props.newTotalPrice}\n newPiecePrice={props.newPiecePrice}\n priceType={props.priceType}\n />\n <OldPrices\n prioritizeTotals={prioritizeTotals}\n totalPrice={props.totalPrice}\n piecePrice={props.piecePrice}\n priceType={props.priceType}\n piecePriceStrikeThrough\n />\n </>\n )}\n />\n </>\n )}\n\n <RecycleFeePrices\n prioritizeTotals={prioritizeTotals}\n totalPrice={props.recycleFeeTotalPrice}\n piecePrice={props.recycleFeePiecePrice}\n priceType={props.priceType}\n />\n\n {props.showExcludingTaxInfo && <ExcludingTaxInfo priceType={props.priceType} />}\n </div>\n );\n};\n\nexport default ProductPrice;\n\nconst PromotionPicker = (props: {\n promo?: EcomPromotion;\n quantity?: number;\n renderPercentagePromotion?: (promo: PercentageEcomPromotion) => ReactNode;\n renderMultiBuyPromotion: (promo: MultiBuyEcomPromotion) => ReactNode;\n renderNotApplicablePromotion: () => ReactNode;\n renderFixedPromotion?: (promo: FixedEcomPromotion) => ReactNode;\n renderDefault: () => ReactNode;\n}) => {\n if (props.promo?.isMemberPrice && !appConfig.coopUserSettings.isMedmeraCustomer) {\n return props.renderNotApplicablePromotion();\n }\n\n if (props.promo && props.renderPercentagePromotion && isPercentagePromotion(props.promo)) {\n return props.renderPercentagePromotion(props.promo);\n }\n\n if (props.promo && props.renderFixedPromotion && isFixedPricePromotion(props.promo)) {\n return props.renderFixedPromotion(props.promo);\n }\n\n if (props.promo && isMultiBuyPromotion(props.promo)) {\n if (props.quantity == null) {\n // no current quantity is provided, so we cannot determine if its eligable for promo or not, by default we say it is\n return props.renderMultiBuyPromotion(props.promo);\n }\n\n if (props.quantity != null) {\n if (\n props.promo.numberOfProductRequired != null &&\n props.quantity >= props.promo.numberOfProductRequired\n ) {\n return props.renderMultiBuyPromotion(props.promo);\n }\n return props.renderNotApplicablePromotion();\n }\n }\n\n return props.renderDefault();\n};\n\nconst PricePicker = (props: {\n totalPrice?: PriceData;\n piecePrice?: PriceData;\n priceType: PriceType;\n prioritizeTotals: boolean;\n renderTotalPrice: (tPrice: PriceData) => ReactNode;\n renderPiecePrice: (pPrice: PriceData) => ReactNode;\n}) => {\n // if we have both total price and piece price, check the priority flag\n return !!props.totalPrice && !!props.piecePrice ? (\n <>\n {props.prioritizeTotals\n ? props.renderTotalPrice(props.totalPrice)\n : props.renderPiecePrice(props.piecePrice)}\n </>\n ) : (\n <>\n {props.totalPrice && props.renderTotalPrice(props.totalPrice)}\n {props.piecePrice && props.renderPiecePrice(props.piecePrice)}\n </>\n );\n};\n\nconst OldPrices = (props: {\n prioritizeTotals: boolean;\n piecePrice?: PriceData;\n totalPrice?: PriceData;\n priceType: PriceType;\n piecePriceStrikeThrough?: boolean;\n}) => {\n return (\n <PricePicker\n prioritizeTotals={props.prioritizeTotals}\n totalPrice={props.totalPrice}\n piecePrice={props.piecePrice}\n priceType={props.priceType}\n renderTotalPrice={(tPrice) => (\n <OldPrice\n price={tPrice}\n priceType={props.priceType}\n usePieceSuffix={false}\n strikeThrough\n />\n )}\n renderPiecePrice={(pPrice) => (\n <OldPrice\n price={pPrice}\n priceType={props.priceType}\n usePieceSuffix\n strikeThrough={props.piecePriceStrikeThrough}\n />\n )}\n />\n );\n};\n\nconst NewPrices = (props: {\n prioritizeTotals: boolean;\n newPiecePrice?: PriceData;\n newTotalPrice?: PriceData;\n priceType: PriceType;\n}) => {\n return (\n <PricePicker\n prioritizeTotals={props.prioritizeTotals}\n totalPrice={props.newTotalPrice}\n piecePrice={props.newPiecePrice}\n priceType={props.priceType}\n renderTotalPrice={(tPrice) => (\n <PromotionPrice price={tPrice} priceType={props.priceType} usePieceSuffix={false} />\n )}\n renderPiecePrice={(pPrice) => (\n <PromotionPrice price={pPrice} priceType={props.priceType} usePieceSuffix />\n )}\n />\n );\n};\n\nconst RecycleFeePrices = (props: {\n prioritizeTotals: boolean;\n piecePrice?: PriceData;\n totalPrice?: PriceData;\n priceType: PriceType;\n}) => {\n return (\n <PricePicker\n prioritizeTotals={props.prioritizeTotals}\n totalPrice={props.totalPrice}\n piecePrice={props.piecePrice}\n priceType={props.priceType}\n renderTotalPrice={(tPrice) => (\n <RecycleFeePrice\n price={tPrice}\n priceType={props.priceType}\n usePieceSuffix={false}\n />\n )}\n renderPiecePrice={(pPrice) => (\n <RecycleFeePrice\n price={pPrice}\n priceType={props.priceType}\n usePieceSuffix={false}\n />\n )}\n />\n );\n};\n\nconst NoPromoPrices = (props: {\n prioritizeTotals: boolean;\n piecePrice?: PriceData;\n totalPrice?: PriceData;\n priceType: PriceType;\n}) => {\n return (\n <PricePicker\n prioritizeTotals={props.prioritizeTotals}\n totalPrice={props.totalPrice}\n piecePrice={props.piecePrice}\n priceType={props.priceType}\n renderTotalPrice={(tPrice) => (\n <NormalPrice price={tPrice} priceType={props.priceType} usePieceSuffix={false} />\n )}\n renderPiecePrice={(pPrice) => (\n <NormalPrice price={pPrice} priceType={props.priceType} usePieceSuffix />\n )}\n />\n );\n};\n\ninterface BasePriceProps {\n price: PriceData;\n priceType: PriceType;\n usePieceSuffix?: boolean;\n}\n\ninterface OldPriceProps extends BasePriceProps {\n strikeThrough?: boolean;\n}\n\nconst OldPrice = (props: OldPriceProps) => {\n return (\n <BasePrice\n className={classNames(\n styles.OldPrice,\n props.strikeThrough && styles['OldPrice--strikeThrough'],\n )}\n price={props.price}\n priceType={props.priceType}\n usePieceSuffix={props.usePieceSuffix}\n />\n );\n};\n\nconst PromotionPrice = (props: BasePriceProps) => {\n return (\n <BasePrice\n className={styles.Promotion}\n price={props.price}\n priceType={props.priceType}\n usePieceSuffix={props.usePieceSuffix}\n />\n );\n};\n\nconst NormalPrice = (props: BasePriceProps) => {\n return (\n <BasePrice\n className={styles.NormalPrice}\n price={props.price}\n priceType={props.priceType}\n usePieceSuffix={props.usePieceSuffix}\n />\n );\n};\n\nconst RecycleFeePrice = (props: BasePriceProps) => {\n const price = Helpers.getPrice(props.price, props.priceType);\n if (!price) return null;\n\n return (\n <span className={classNames(styles.BasePrice, styles.RecycleFeePrice)}>\n <span>+{Helpers.toEcommercePriceWithCurrency(price, 'hideRest')} pant</span>\n {props.usePieceSuffix && <span className={styles.PriceSuffix}> /st</span>}\n </span>\n );\n};\n\nconst BasePrice = (props: BasePriceProps & { className?: string; aboveSlot?: ReactNode }) => {\n const price = Helpers.getPrice(props.price, props.priceType);\n if (!price) return null;\n\n return (\n <span className={classNames(styles.BasePrice, props.className)}>\n {props.aboveSlot}\n <span>{Helpers.toEcommercePrice(price)}</span>\n {props.usePieceSuffix && <span className={styles.PriceSuffix}> /st</span>}\n </span>\n );\n};\nconst Promotion = (props: React.PropsWithChildren<{}>) => {\n return <span className={classNames(styles.Promotion)}>{props.children}</span>;\n};\n\nconst MultiBuyPromotionPrice = (\n props: {\n numberOfProductRequired: number;\n } & BasePriceProps,\n) => {\n const hasPrice = !!Helpers.getPrice(props.price, props.priceType);\n return (\n <Promotion>\n {hasPrice ? (\n <>\n <BasePrice\n price={props.price}\n priceType={props.priceType}\n usePieceSuffix={props.usePieceSuffix}\n aboveSlot={<>{props.numberOfProductRequired} för </>}\n />\n </>\n ) : (\n 'Flerköpsrabatt'\n )}\n </Promotion>\n );\n};\n","import type { PriceData } from '../../../priceData/priceData';\nimport type { ProductVariantProps } from '../../../props/itemTeaserProps';\n\nexport const isMultiBuyPromotion = (\n promo: EcomPromotion | undefined,\n): promo is MultiBuyEcomPromotion => !!promo && promo.type === 'MULTIBUY';\n\nexport const isFixedPricePromotion = (\n promo: EcomPromotion | undefined,\n): promo is FixedEcomPromotion => !!promo && promo.type === 'FIXED_PRICE';\n\nexport const isPercentagePromotion = (\n promo: EcomPromotion | undefined,\n): promo is PercentageEcomPromotion => !!promo && promo.type === 'PERCENTAGE';\n\ninterface CartItemPriceMap {\n discount?: PriceData;\n piecePrice?: PriceData;\n totalPrice?: PriceData;\n totalPriceWithoutDiscount?: PriceData;\n}\n\nexport interface OrderEntryPriceMap {\n discount?: PriceData;\n piecePrice: PriceData;\n totalPrice?: PriceData;\n totalPriceWithoutDiscount?: PriceData;\n}\n\n// Return type interfaces\ninterface OrderEntryPriceResult {\n piecePrice: PriceData;\n totalPrice?: PriceData;\n /** Think before using this once since its calculated by us */\n newPiecePrice?: PriceData;\n newTotalPrice?: PriceData;\n}\n\ninterface CartItemPriceResult {\n piecePrice?: PriceData;\n totalPrice?: PriceData;\n /** Think before using this once since its calculated by us */\n newPiecePrice?: PriceData;\n newTotalPrice?: PriceData;\n}\n\nexport function mapPrices(prices: OrderEntryPriceMap): OrderEntryPriceResult;\nexport function mapPrices(prices: CartItemPriceMap): CartItemPriceResult;\n// eslint-disable-next-line func-style\nexport function mapPrices(\n prices: OrderEntryPriceMap | CartItemPriceMap,\n): OrderEntryPriceResult | CartItemPriceResult {\n if (!prices.discount) {\n return {\n piecePrice: prices.piecePrice,\n totalPrice: prices.totalPrice,\n };\n }\n const factor =\n prices.totalPrice?.inclTaxPrice && prices.totalPriceWithoutDiscount?.inclTaxPrice\n ? prices.totalPrice.inclTaxPrice / prices.totalPriceWithoutDiscount.inclTaxPrice\n : 1;\n const newPiecePrice =\n prices.piecePrice?.inclTaxPrice && prices.piecePrice.exclTaxPrice\n ? {\n inclTaxPrice: factor * prices.piecePrice.inclTaxPrice,\n exclTaxPrice: factor * prices.piecePrice.exclTaxPrice,\n }\n : undefined;\n return {\n piecePrice: prices.piecePrice,\n totalPrice: prices.totalPriceWithoutDiscount,\n newPiecePrice,\n newTotalPrice: prices.totalPrice,\n };\n}\n\nexport const mapVariantPromotion = (\n promo?: EcomPromotion,\n currentVariant?: ProductVariantProps,\n): EcomPromotion | undefined => {\n if (currentVariant && isFixedPricePromotion(promo)) {\n return {\n ...promo,\n fixedPiecePrice: currentVariant.promotionPriceData,\n };\n }\n return promo;\n};\n","import { Cloudinary } from '../../../utility/cloudinary';\n\n// Cloudinary url api:\n// http://cloudinary.com/documentation/image_transformations#reference\n\nexport const getCloudinaryUrl = (\n url: string,\n transform: string,\n fallbackUrl?: string,\n fileExtenson?: string,\n retinaTransform?: string,\n altText?: string,\n) => {\n if (!url) {\n return getFallbackImgUrl(fallbackUrl);\n }\n return getTransformedImageUrl(url, transform, fileExtenson, retinaTransform, altText);\n};\n\nexport const getFallbackImgUrl = (fallbackUrl?: string) => {\n const missingImageUrl = '/Assets/Images/missing-image.png';\n const src = fallbackUrl || missingImageUrl;\n\n return src;\n};\n\nexport const getTransformedImageUrl = (\n url: string,\n transform: string,\n fileExtenson?: string,\n retinaTransform?: string,\n altText?: string,\n) => {\n const sanitizedUrl = Cloudinary.sanitize(url, fileExtenson); // //res.cloudinary.com/coopsverige/image/upload/v1442921161/52045.jpg\n let imagePath = Cloudinary.imagePath(sanitizedUrl); // //res.cloudinary.com/coopsverige/image/upload/\n let imageIdentifier = Cloudinary.imageIdentifier(sanitizedUrl); // /v1442921161/52045.jpg\n\n if (!imageIdentifier) {\n return sanitizedUrl;\n }\n\n // Make more SEO friendly\n if (altText) {\n if (imagePath) {\n imagePath = Cloudinary.makeImagePathSeoFriendly(imagePath);\n }\n\n imageIdentifier = Cloudinary.makeImageIdentifierSeoFriendly(imageIdentifier, altText);\n }\n\n const transformedUrl = retinaTransform\n ? `${imagePath}${retinaTransform}/${removeStartingSlash(imageIdentifier)} 2x`\n : `${imagePath}${transform}/${removeStartingSlash(imageIdentifier)}`;\n\n return transformedUrl;\n};\n\nconst removeStartingSlash = (str: string) => {\n if (!str) {\n return str;\n }\n\n if (str[0] === '/') {\n return str.slice(1);\n }\n\n return str;\n};\n","import { ConfirmInfo, Icon } from '@coop/components';\nimport { Info1Icon } from '@coop/icons';\nimport classNames from 'classnames';\n\nimport useModal from '../../../common/hooks/useModal';\nimport styles from './MaxPromotionUsage.module.scss';\n\nconst MaxPromotionUsageNotification = (props: { text: string }) => {\n const { isOpen, open, close } = useModal('MaxPromotionUsage');\n\n return (\n <>\n <button\n type=\"button\"\n className={classNames(styles.Trigger)}\n onClick={open}\n aria-label={`Max ${props.text} per hushåll`}\n >\n <Icon icon={Info1Icon} aria-hidden width={16} height={16} />\n <span>Max {props.text}/hushåll</span>\n </button>\n <ConfirmInfo\n show={isOpen}\n heading={`Max ${props.text} per hushåll`}\n message=\"Erbjudandet gäller ett begränsat antal per hushåll. Utöver den angivna mängden gäller ordinarie pris.\"\n close={close}\n />\n </>\n );\n};\n\nexport default MaxPromotionUsageNotification;\n","// extracted by mini-css-extract-plugin\nexport default {\"Text\":\"SS0GynIn\",\"Trigger\":\"_P0yDhA5\"};","import styles from './MaxPromotionUsage.module.scss';\nimport MaxPromotionUsageNotification from './MaxPromotionUsageNotification';\n\ninterface MaxPromotionUsageProps {\n text: string;\n withNotification?: boolean;\n}\n\nconst MaxPromotionUsage = (props: MaxPromotionUsageProps) => {\n if (props.withNotification) {\n return <MaxPromotionUsageNotification text={props.text} />;\n }\n\n return <div className={styles.Text}>Max {props.text}/hushåll</div>;\n};\n\nexport default MaxPromotionUsage;\n"],"names":["_path","_path2","_extends","Object","assign","bind","n","e","arguments","length","t","r","hasOwnProperty","call","apply","_ref","title","titleId","props","width","height","viewBox","xmlns","id","fillRule","clipRule","d","CLOUDINARY_ASPECT_RATIO_TRANSFORMS","ratio16By9","transform","cssPadding","FallbackImg","className","cssClass","alt","name","src","fallbackUrl","url","transformedUrl","fileExtenson","undefined","srcSet","retinaTransform","onClick","unloader","loader","lazy","TransformedImage","ConditionalWrapper","condition","renderWrapper","children","ConditionalMultipleWrappers","choices","map","choice","index","Fragment","getMessage","isNicotine","isPharmaceutical","join","ItemMedicalInfo","message","priceType","ExcludeTax","getPriceTypeText","orientation","prioritizeTotals","wrapperClasses","Wrapper","align","promo","newPiecePrice","newTotalPrice","PromotionPicker","quantity","renderMultiBuyPromotion","multiBuyPromo","totalPrice","MultiBuyPromotionPrice","numberOfProductRequired","price","bundlePrice","usePieceSuffix","NewPrices","OldPrices","piecePrice","renderNotApplicablePromotion","NoPromoPrices","renderFixedPromotion","fixedPromo","fixedPiecePrice","piecePriceStrikeThrough","renderDefault","RecycleFeePrices","recycleFeeTotalPrice","recycleFeePiecePrice","showExcludingTaxInfo","isMemberPrice","appConfig","coopUserSettings","isMedmeraCustomer","renderPercentagePromotion","PricePicker","renderTotalPrice","renderPiecePrice","tPrice","OldPrice","strikeThrough","pPrice","PromotionPrice","RecycleFeePrice","NormalPrice","BasePrice","Promotion","getPrice","toEcommercePriceWithCurrency","PriceSuffix","aboveSlot","toEcommercePrice","hasPrice","isMultiBuyPromotion","type","isFixedPricePromotion","isPercentagePromotion","mapPrices","prices","discount","factor","inclTaxPrice","totalPriceWithoutDiscount","exclTaxPrice","mapVariantPromotion","currentVariant","promotionPriceData","getCloudinaryUrl","altText","getTransformedImageUrl","getFallbackImgUrl","sanitizedUrl","sanitize","imagePath","imageIdentifier","makeImagePathSeoFriendly","makeImageIdentifierSeoFriendly","removeStartingSlash","str","slice","isOpen","open","close","useModal","text","Icon","icon","ConfirmInfo","show","heading","withNotification"],"sourceRoot":""}