{"version":3,"file":"static/chunks/app/@cart/default-3e84d51947de8129.js","mappings":"iMASe,SAASA,IACtB,IAAMC,EAAWC,CAAAA,EAAAA,EAAAA,WAAAA,CAAWA,GACtBC,QAAgBF,EAAAA,KAAAA,EAAAA,EAAUG,QAAQ,CAAC,CAAnBH,WAChBI,EAASC,CAAAA,EAAAA,EAAAA,CAAAA,CAAYA,CAAC,GAAWC,EAAMF,MAAM,SAGnD,GAAuBA,EAKrB,MAL6B,EAK7B,EAACG,EAAAA,QAAQA,CAAAA,CAACC,SAAU,UAACC,EAAAA,CAAWA,CAAAA,CAAAA,YAC9B,UAACC,EAAAA,CAAaA,CAAAA,CAAAA,KALT,IAQX,mBCxBA,uCAAmG","sources":["webpack://_N_E/./app/@cart/default.tsx","webpack://_N_E/?b928"],"sourcesContent":["'use client'\n\nimport { usePathname } from 'next/navigation'\nimport { Suspense } from 'react'\n\nimport { useCartStore } from '../components/cart/CartButton'\nimport CartComponent from './cartComponent'\nimport LoadingCart from './loading'\n\nexport default function Default() {\n const pathname = usePathname()\n const isDetailsPage = pathname?.includes('/details')\n const isOpen = useCartStore((state) => state.isOpen)\n\n // Show cart if it's a details page or if cart is toggled open\n if (!isDetailsPage && !isOpen) {\n return null\n }\n\n return (\n }>\n \n \n )\n}\n","import(/* webpackMode: \"eager\" */ \"/codebuild/output/src1784519652/src/soti/app/@cart/default.tsx\");\n"],"names":["Default","pathname","usePathname","isDetailsPage","includes","isOpen","useCartStore","state","Suspense","fallback","LoadingCart","CartComponent"],"sourceRoot":"","ignoreList":[]}