'use client';
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("react/jsx-runtime");require("react");var r=require("@gem-sdk/core");require("next/head");var i=require("../../grid/components/ChildrenDroppable.js");require("next/image"),require("@gem-sdk/system"),require("next/link"),require("react-youtube");var t=require("../../grid/components/col/Col.js");exports.default=({builderProps:s,advanced:d,setting:a,styles:u,children:n,...l})=>{let{data:o,error:c}=r.useCartData();return e.jsx("div",{"data-id":s?.uid,...l,children:c?e.jsxs("div",{children:["Error: ",c.message]}):o?e.jsx(t.default,{styles:u,children:o.lineItems.map(t=>t?e.jsx(r.CartLineProvider,{line:t,children:r.isEmptyChildren(n)?e.jsx(i.default,{}):n},t.id):null)}):e.jsx("div",{children:"Cart Empty"})})};
