{"version":3,"sources":["components/Cart/Cart.js"],"names":["Cart","props","visible","useFeature","disableDropdown","total","className","style","cartWrapper","disabled","onClick","undefined","updateFeature","data-testid","aria-expanded","height","width","cartAmount","amount","arrowIcon","color","direction"],"mappings":"2FAAA,qEAkCeA,UA5BF,SAACC,GACZ,IAAQC,EAAYC,YAAW,iBAAvBD,QACR,EAA0CD,EAAlCG,uBAAR,SAAgCC,EAAUJ,EAAVI,MAGhC,OACE,oCACE,4BACEC,UAAWC,IAAMC,YACjBC,SAAUL,EACVM,QAASN,OAAkBO,EAPN,kBAAMC,YAAc,gBAAiB,CAAEV,SAAUA,KAQtEW,cAAY,gCACZC,gBAAeZ,EAAU,OAAS,SAElC,kBAAC,IAAD,CAASa,OAAQ,GAAIC,MAAO,KAC5B,0BAAMH,cAAY,oBAAoBP,UAAWC,IAAMU,YACpDZ,EAAMa,QAERd,EAAkB,KACjB,0BAAMS,cAAY,YAAYP,UAAWC,IAAMY,WAC7C,kBAAC,IAAD,CAAOH,MAAO,GAAID,OAAQ,GAAIK,MAAM,UAAUC,UAAWnB,EAAU,KAAO","file":"js/Cart~878f0b0a.a683d55b.js","sourcesContent":["import React from 'react';\nimport { Arrow, CartSVG } from '@/shared/components/Icons';\nimport { updateFeature } from '@paypalcorp/c3-util-store';\nimport { useFeature } from '@/components/Feature/hooks';\nimport style from './Cart.css';\n\nconst Cart = (props) => {\n const { visible } = useFeature('CART_DROPDOWN');\n const { disableDropdown = true, total } = props;\n const toggleCartDropdown = () => updateFeature('CART_DROPDOWN', { visible: !visible });\n\n return (\n <>\n \n \n \n {total.amount}\n \n {disableDropdown ? null : (\n \n \n \n )}\n \n \n );\n};\n\nexport default Cart;\n"],"sourceRoot":""}