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uoBAAuoB,6DAA6D,2kHAA2kH,MAAQ,GAAG,SAAW,wjCAAwjC,WAAa,MAEh9QiC,EAAwB9K,OAAS,CAChC,QAAW,OACX,aAAgB,OAChB,OAAU,IACV,OAAU,MACV,sBAAuB,wCACvB,aAAc,+BACd,mBAAoB,qCACpB,aAAc,+BACd,oBAAqB,sCACrB,cAAe,gCACf,qBAAsB,uCACtB,gCAAiC,kDACjC,mBAAoB,qCACpB,0BAA2B,4CAC3B,0BAA2B,4CAC3B,sBAAuB,wCACvB,qCAAsC,uDACtC,gDAAiD,kEACjD,6BAA8B,+CAC9B,qBAAsB,uCACtB,0BAA2B,4CAC3B,kCAAmC,qDAEpC,S,mEC5BI8K,E,MAA0B,GAA4B,KAE1DA,EAAwBnH,KAAK,CAACoH,EAAOlC,GAAI,0SAA2S,GAAG,CAAC,QAAU,EAAE,QAAU,CAAC,wEAAwE,MAAQ,GAAG,SAAW,yEAAyE,WAAa,MAEniBiC,EAAwB9K,OAAS,CAChC,mBAAoB,qCACpB,0BAA2B,4CAC3B,0BAA2B,6CAE5B,S","sources":["webpack://cart-mfe/./src/components/CartPanelTitle/CartPanelTitle.module.scss?dfad","webpack://cart-mfe/./src/components/CartPanelTitle/CartPanelTitle.tsx","webpack://cart-mfe/./src/components/CartPanel/CartPanel.module.scss?92cd","webpack://cart-mfe/./src/components/CartPanel/CartPanel.tsx","webpack://cart-mfe/./src/components/CartPanelToggle/CartPanelToggle.tsx","webpack://cart-mfe/./src/components/CartPanel/CartPanel.module.scss","webpack://cart-mfe/./src/components/CartPanelTitle/CartPanelTitle.module.scss"],"sourcesContent":["\n import API from \"!../../../../../node_modules/.pnpm/style-loader@4.0.0_webpack@5.91.0/node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js\";\n import domAPI from \"!../../../../../node_modules/.pnpm/style-loader@4.0.0_webpack@5.91.0/node_modules/style-loader/dist/runtime/styleDomAPI.js\";\n import insertFn from \"!../../../../../node_modules/.pnpm/style-loader@4.0.0_webpack@5.91.0/node_modules/style-loader/dist/runtime/insertBySelector.js\";\n import setAttributes from \"!../../../../../node_modules/.pnpm/style-loader@4.0.0_webpack@5.91.0/node_modules/style-loader/dist/runtime/setAttributesWithoutAttributes.js\";\n import insertStyleElement from \"!../../../../../node_modules/.pnpm/style-loader@4.0.0_webpack@5.91.0/node_modules/style-loader/dist/runtime/insertStyleElement.js\";\n import styleTagTransformFn from \"!../../../../../node_modules/.pnpm/style-loader@4.0.0_webpack@5.91.0/node_modules/style-loader/dist/runtime/styleTagTransform.js\";\n import content, * as namedExport from \"!!../../../../../node_modules/.pnpm/css-loader@7.1.1_@rspack+core@1.1.8_@swc+helpers@0.5.15__webpack@5.91.0/node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[0].use[1]!../../../../../node_modules/.pnpm/sass-loader@14.2.1_@rspack+core@1.1.8_@swc+helpers@0.5.15__sass@1.80.6_webpack@5.91.0/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[0].use[2]!../../../../../node_modules/.pnpm/postcss-loader@8.1.1_@rspack+core@1.1.8_@swc+helpers@0.5.15__postcss@8.4.38_typescript@5.6.3_webpack@5.91.0/node_modules/postcss-loader/dist/cjs.js!./CartPanelTitle.module.scss\";\n \n \n\nvar options = {};\n\noptions.styleTagTransform = styleTagTransformFn;\noptions.setAttributes = setAttributes;\noptions.insert = insertFn.bind(null, \"head\");\noptions.domAPI = domAPI;\noptions.insertStyleElement = insertStyleElement;\n\nvar update = API(content, options);\n\n\n\nexport * from \"!!../../../../../node_modules/.pnpm/css-loader@7.1.1_@rspack+core@1.1.8_@swc+helpers@0.5.15__webpack@5.91.0/node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[0].use[1]!../../../../../node_modules/.pnpm/sass-loader@14.2.1_@rspack+core@1.1.8_@swc+helpers@0.5.15__sass@1.80.6_webpack@5.91.0/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[0].use[2]!../../../../../node_modules/.pnpm/postcss-loader@8.1.1_@rspack+core@1.1.8_@swc+helpers@0.5.15__postcss@8.4.38_typescript@5.6.3_webpack@5.91.0/node_modules/postcss-loader/dist/cjs.js!./CartPanelTitle.module.scss\";\n export default content && content.locals ? content.locals : undefined;\n","import { useIsFetchingCartPriceDetails } from '@rc-d2c/shared-behavior/hooks/data/cart/useIsFetchingCartPriceDetails';\nimport { useFormattedPrice } from '@rc-d2c/shared-behavior/hooks/useFormattedPrice';\nimport { useCartStore } from '@rc-d2c/shared-behavior/hooks/useStore';\nimport { RcLoader } from '@rc-d2c/shared-ui/RcLoader';\nimport classNames from 'classnames/bind';\nimport React from 'react';\nimport { useTranslation } from 'react-i18next';\n\nimport { useNumberOfProducts } from '../../hooks';\nimport styles from './CartPanelTitle.module.scss';\n\nconst cx = classNames.bind(styles);\n\nconst CartPanelTitle = () => {\n const { t } = useTranslation();\n const totalPrice = useCartStore.use.totalPrice();\n const { formatPrice } = useFormattedPrice();\n\n //@deprecated [6f5c9fec-3fb3-4f41-bb86-bd70d3dbacfd]\n const isFetchingPrice = useIsFetchingCartPriceDetails();\n //deprecated END\n const numberOfProducts = useNumberOfProducts();\n\n return (\n
\n