var __create = Object.create;
var __defProp = Object.defineProperty;
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
var __getOwnPropNames = Object.getOwnPropertyNames;
var __getProtoOf = Object.getPrototypeOf;
var __hasOwnProp = Object.prototype.hasOwnProperty;
var __export = (target, all) => {
  for (var name in all)
    __defProp(target, name, { get: all[name], enumerable: true });
};
var __copyProps = (to, from, except, desc) => {
  if (from && typeof from === "object" || typeof from === "function") {
    for (let key of __getOwnPropNames(from))
      if (!__hasOwnProp.call(to, key) && key !== except)
        __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
  }
  return to;
};
var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
  // If the importer is in node compatibility mode or this is not an ESM
  // file that has been converted to a CommonJS file using a Babel-
  // compatible transform (i.e. "__esModule" has not been set), then set
  // "default" to the CommonJS "module.exports" for node compatibility.
  isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
  mod
));
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);

// src/components/Sales/index.tsx
var Sales_exports = {};
__export(Sales_exports, {
  default: () => Sales_default,
  useCart: () => import_Cart.useCart,
  useCheckout: () => import_Checkout.useCheckout,
  useCustomer: () => import_Customer.useCustomer,
  useEvent: () => import_Event.useEvent,
  useEventDetail: () => import_Detail.useEventDetail,
  useHolder: () => import_Holder.useHolder,
  useInit: () => import_Init.useInit,
  useResource: () => import_Resource.useResource,
  useSales: () => import_SalesModel.useSales,
  useStep: () => import_Step.useStep,
  useSummary: () => import_Summary.useSummary
});
module.exports = __toCommonJS(Sales_exports);
var import_react = __toESM(require("react"));
var import_SalesModel = __toESM(require("../../businessModel/SalesModel"));
var import_Step = require("./Step");
var import_Checkout = require("./Checkout");
var import_Summary = require("./Summary");
var import_Cart = require("./Cart");
var import_Holder = require("./Holder");
var import_Event = require("./Event");
var import_Detail = require("./Event/Detail");
var import_Resource = require("./Resource");
var import_Customer = require("./Customer");
var import_Init = require("./Init");
var import_hooks = require("./hooks");
var SalesPage = ({
  config,
  children
}) => {
  return /* @__PURE__ */ import_react.default.createElement(import_Customer.CustomerProvider, null, /* @__PURE__ */ import_react.default.createElement(import_SalesModel.default, { className: "", hooks: { useCustomInit: import_hooks.useCustomInit }, config }, /* @__PURE__ */ import_react.default.createElement(import_Init.InitProvider, null, /* @__PURE__ */ import_react.default.createElement(import_Step.StepProvider, null, /* @__PURE__ */ import_react.default.createElement(import_Cart.CartProvider, null, /* @__PURE__ */ import_react.default.createElement(import_Resource.ResourceProvider, null, /* @__PURE__ */ import_react.default.createElement(import_Event.EventProvider, null, /* @__PURE__ */ import_react.default.createElement(import_Detail.EventDetailProvider, null, /* @__PURE__ */ import_react.default.createElement(import_Holder.HolderProvider, null, /* @__PURE__ */ import_react.default.createElement(import_Summary.SummaryProvider, null, /* @__PURE__ */ import_react.default.createElement(import_Checkout.CheckoutProvider, null, children)))))))))));
};
var Sales_default = SalesPage;
// Annotate the CommonJS export names for ESM import in node:
0 && (module.exports = {
  useCart,
  useCheckout,
  useCustomer,
  useEvent,
  useEventDetail,
  useHolder,
  useInit,
  useResource,
  useSales,
  useStep,
  useSummary
});
