const require_runtime = require("../../_virtual/_rolldown/runtime.js");
const require_objectWithoutProperties = require("../../_virtual/_@oxc-project_runtime@0.122.0/helpers/objectWithoutProperties.js");
const require_locales = require("./locales.js");
const require_Provider = require("./Provider.js");
const require_index = require("./components/Render/index.js");
let react = require("react");
react = require_runtime.__toESM(react);
let _pisell_utils = require("@pisell/utils");
//#region src/components/shoppingCart/index.tsx
const _excluded = [
	"onCard",
	"onAction",
	"onChange",
	"onAddProduct",
	"onActiveKey"
];
_pisell_utils.locales.init(require_locales.default, localStorage.getItem("umi_locale") || "en");
const shoppingCart = (_ref) => {
	let { onCard, onAction, onChange, onAddProduct, onActiveKey } = _ref, props = require_objectWithoutProperties._objectWithoutProperties(_ref, _excluded);
	return /* @__PURE__ */ react.default.createElement(require_Provider.CartProvider, {
		props,
		onCard,
		onAction,
		onChange,
		onAddProduct,
		onActiveKey
	}, /* @__PURE__ */ react.default.createElement(require_index.default, null));
};
//#endregion
exports.default = shoppingCart;
