var __defProp = Object.defineProperty;
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
var __getOwnPropNames = Object.getOwnPropertyNames;
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 __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);

// src/plus/salesSdk/index.ts
var salesSdk_exports = {};
__export(salesSdk_exports, {
  BOOKING_CONTEXT_DATE_EVENT: () => import_bookingDate.BOOKING_CONTEXT_DATE_EVENT,
  BookingEditHostRenderer: () => import_BookingEditHostRenderer.BookingEditHostRenderer,
  BookingEditServiceDrawer: () => import_BookingEditServiceDrawer.BookingEditServiceDrawer,
  DEFAULT_ADD_PRODUCT_DEBOUNCE_MS: () => import_addProductWithFlowDebounced.DEFAULT_ADD_PRODUCT_DEBOUNCE_MS,
  GiftSelectHostRenderer: () => import_GiftSelectHostRenderer.GiftSelectHostRenderer,
  GiftSelectModal: () => import_GiftSelectModal.GiftSelectModal,
  HOLDER_CONFIRM_CANCELLED: () => import_createHolderConfirmBridge.HOLDER_CONFIRM_CANCELLED,
  NormalProductDetailHostRenderer: () => import_NormalProductDetailHostRenderer.NormalProductDetailHostRenderer,
  SalesSdkBookingContextProvider: () => import_SalesSdkBookingContext.SalesSdkBookingContextProvider,
  SalesSdkDemo: () => import_demo.SalesSdkDemo,
  SalesSdkHolderProvider: () => import_SalesSdkHolderContext.SalesSdkHolderProvider,
  SalesSdkProvider: () => import_SalesSdkProvider.SalesSdkProvider,
  appendPromotionTagsForProducts: () => import_appendPromotionTags.appendPromotionTagsForProducts,
  buildHolderConfirmDisplayLines: () => import_holderSubmitValidation.buildHolderConfirmDisplayLines,
  buildHolderConfirmSnapshotKeys: () => import_holderSubmitValidation.buildHolderConfirmSnapshotKeys,
  buildHolderListRequestParams: () => import_enrichCartLineHolderDisplay.buildHolderListRequestParams,
  buildProductSkuPatch: () => import_productSkuOptions.buildProductSkuPatch,
  collectUnassignedHolderLines: () => import_holderSubmitValidation.collectUnassignedHolderLines,
  createAddProductWithFlowDebounced: () => import_addProductWithFlowDebounced.createAddProductWithFlowDebounced,
  createCompositeOpenProductDetailHost: () => import_createCompositeOpenProductDetailHost.createCompositeOpenProductDetailHost,
  createGiftSelectBridge: () => import_createGiftSelectBridge.createGiftSelectBridge,
  createInstanceHostBridge: () => import_createInstanceHostBridge.createInstanceHostBridge,
  createLegacyOpenProductDetailHost: () => import_legacyOpenProductDetail.createLegacyOpenProductDetailHost,
  createOpenBookingEditHost: () => import_createOpenBookingEditHost.createOpenBookingEditHost,
  createOpenGiftSelectHost: () => import_createOpenGiftSelectHost.createOpenGiftSelectHost,
  createOpenHolderSelectHost: () => import_createOpenHolderSelectHost.createOpenHolderSelectHost,
  createOpenMultiDaySelectHost: () => import_createOpenMultiDaySelectHost.createOpenMultiDaySelectHost,
  createOpenNormalProductDetailHost: () => import_createOpenNormalProductDetailHost.createOpenNormalProductDetailHost,
  createSalesSdkHostBridges: () => import_SalesSdkHostBridgesContext.createSalesSdkHostBridges,
  deriveDisabledEdit: () => import_selectors.deriveDisabledEdit,
  deriveSummary: () => import_selectors.deriveSummary,
  enrichCartBookingHolderDisplay: () => import_enrichCartLineHolderDisplay.enrichCartBookingHolderDisplay,
  enrichCartItem: () => import_enrich.enrichCartItem,
  enrichCartItems: () => import_enrich.enrichCartItems,
  enrichCustomer: () => import_enrich.enrichCustomer,
  ensureHoldersBeforeSubmit: () => import_ensureHoldersBeforeSubmit.ensureHoldersBeforeSubmit,
  formatBookingDateTime: () => import_bookingDate.formatBookingDateTime,
  formatHolderOptions: () => import_formatHolderOptions.formatHolderOptions,
  getDetailProductOptions: () => import_productSkuOptions.getDetailProductOptions,
  getLineProductOptions: () => import_productSkuOptions.getLineProductOptions,
  isHolderConfirmCancelled: () => import_createHolderConfirmBridge.isHolderConfirmCancelled,
  isWalkInCustomer: () => import_selectors.isWalkInCustomer,
  normalizeHolderIds: () => import_formatHolderOptions.normalizeHolderIds,
  normalizeOptionForDisplay: () => import_productSkuOptions.normalizeOptionForDisplay,
  pickHolderIdFromBooking: () => import_enrichCartLineHolderDisplay.pickHolderIdFromBooking,
  pickIdentity: () => import_identity.pickIdentity,
  resolveAddProductDebounceKey: () => import_resolveAddProductDebounceKey.resolveAddProductDebounceKey,
  resolveHolderDisplayConfig: () => import_enrichCartLineHolderDisplay.resolveHolderDisplayConfig,
  resolveHolderLabels: () => import_formatHolderOptions.resolveHolderLabels,
  resolveInCartQuantityForAddToast: () => import_resolveInCartQuantityForAddToast.resolveInCartQuantityForAddToast,
  resolvePatchProductOptions: () => import_productSkuOptions.resolvePatchProductOptions,
  runAddProductFlow: () => import_runAddProductFlow.runAddProductFlow,
  shouldBypassAddProductDebounce: () => import_addProductWithFlowDebounced.shouldBypassAddProductDebounce,
  shouldPromptHolderBeforeSubmit: () => import_holderSubmitValidation.shouldPromptHolderBeforeSubmit,
  showAddToCartToast: () => import_showAddToCartToast.showAddToCartToast,
  subscribeBookingDateChange: () => import_bookingDate.subscribeBookingDateChange,
  sumLineOptionUnitPrice: () => import_productSkuOptions.sumLineOptionUnitPrice,
  useSalesSdk: () => import_useSalesSdk.useSalesSdk,
  useSalesSdkBookingContext: () => import_SalesSdkBookingContext.useSalesSdkBookingContext,
  useSalesSdkCart: () => import_useSalesSdkCart.useSalesSdkCart,
  useSalesSdkCustomer: () => import_useSalesSdkCustomer.useSalesSdkCustomer,
  useSalesSdkHolder: () => import_SalesSdkHolderContext.useSalesSdkHolder,
  useSalesSdkHostBridges: () => import_SalesSdkHostBridgesContext.useSalesSdkHostBridges,
  useSalesSdkProducts: () => import_useSalesSdkProducts.useSalesSdkProducts,
  useSalesSdkSummary: () => import_useSalesSdkSummary.useSalesSdkSummary,
  useSalesSdkUIHosts: () => import_useSalesSdkUIHosts.useSalesSdkUIHosts,
  useSyncOsModule: () => import_useSyncOsModule.useSyncOsModule
});
module.exports = __toCommonJS(salesSdk_exports);
var import_SalesSdkProvider = require("./context/SalesSdkProvider");
var import_bookingDate = require("./utils/bookingDate");
var import_SalesSdkBookingContext = require("./context/SalesSdkBookingContext");
var import_SalesSdkHolderContext = require("./context/SalesSdkHolderContext");
var import_demo = require("./demo");
var import_useSalesSdk = require("./hooks/useSalesSdk");
var import_useSalesSdkProducts = require("./hooks/useSalesSdkProducts");
var import_useSalesSdkCart = require("./hooks/useSalesSdkCart");
var import_useSalesSdkCustomer = require("./hooks/useSalesSdkCustomer");
var import_useSalesSdkSummary = require("./hooks/useSalesSdkSummary");
var import_useSalesSdkUIHosts = require("./hooks/useSalesSdkUIHosts");
var import_useSyncOsModule = require("./hooks/useSyncOsModule");
var import_enrich = require("./utils/enrich");
var import_productSkuOptions = require("./utils/productSkuOptions");
var import_enrichCartLineHolderDisplay = require("./utils/enrichCartLineHolderDisplay");
var import_formatHolderOptions = require("./utils/formatHolderOptions");
var import_runAddProductFlow = require("./utils/runAddProductFlow");
var import_addProductWithFlowDebounced = require("./utils/addProductWithFlowDebounced");
var import_resolveAddProductDebounceKey = require("./utils/resolveAddProductDebounceKey");
var import_resolveInCartQuantityForAddToast = require("./utils/resolveInCartQuantityForAddToast");
var import_showAddToCartToast = require("./components/showAddToCartToast");
var import_BookingEditServiceDrawer = require("./bookingEditService/BookingEditServiceDrawer");
var import_BookingEditHostRenderer = require("./hosts/BookingEditHostRenderer");
var import_NormalProductDetailHostRenderer = require("./normalProductDetail/NormalProductDetailHostRenderer");
var import_createInstanceHostBridge = require("./hosts/createInstanceHostBridge");
var import_SalesSdkHostBridgesContext = require("./context/SalesSdkHostBridgesContext");
var import_createOpenMultiDaySelectHost = require("./hosts/createOpenMultiDaySelectHost");
var import_createOpenHolderSelectHost = require("./hosts/createOpenHolderSelectHost");
var import_createCompositeOpenProductDetailHost = require("./hosts/createCompositeOpenProductDetailHost");
var import_createOpenNormalProductDetailHost = require("./normalProductDetail/createOpenNormalProductDetailHost");
var import_createOpenBookingEditHost = require("./hosts/createOpenBookingEditHost");
var import_createGiftSelectBridge = require("./giftSelect/createGiftSelectBridge");
var import_createOpenGiftSelectHost = require("./giftSelect/createOpenGiftSelectHost");
var import_GiftSelectHostRenderer = require("./giftSelect/GiftSelectHostRenderer");
var import_GiftSelectModal = require("./giftSelect/GiftSelectModal");
var import_appendPromotionTags = require("./utils/appendPromotionTags");
var import_createHolderConfirmBridge = require("./holderConfirm/createHolderConfirmBridge");
var import_legacyOpenProductDetail = require("./demo/hosts/legacyOpenProductDetail");
var import_identity = require("./utils/identity");
var import_selectors = require("./selectors");
var import_holderSubmitValidation = require("./utils/holderSubmitValidation");
var import_ensureHoldersBeforeSubmit = require("./utils/ensureHoldersBeforeSubmit");
// Annotate the CommonJS export names for ESM import in node:
0 && (module.exports = {
  BOOKING_CONTEXT_DATE_EVENT,
  BookingEditHostRenderer,
  BookingEditServiceDrawer,
  DEFAULT_ADD_PRODUCT_DEBOUNCE_MS,
  GiftSelectHostRenderer,
  GiftSelectModal,
  HOLDER_CONFIRM_CANCELLED,
  NormalProductDetailHostRenderer,
  SalesSdkBookingContextProvider,
  SalesSdkDemo,
  SalesSdkHolderProvider,
  SalesSdkProvider,
  appendPromotionTagsForProducts,
  buildHolderConfirmDisplayLines,
  buildHolderConfirmSnapshotKeys,
  buildHolderListRequestParams,
  buildProductSkuPatch,
  collectUnassignedHolderLines,
  createAddProductWithFlowDebounced,
  createCompositeOpenProductDetailHost,
  createGiftSelectBridge,
  createInstanceHostBridge,
  createLegacyOpenProductDetailHost,
  createOpenBookingEditHost,
  createOpenGiftSelectHost,
  createOpenHolderSelectHost,
  createOpenMultiDaySelectHost,
  createOpenNormalProductDetailHost,
  createSalesSdkHostBridges,
  deriveDisabledEdit,
  deriveSummary,
  enrichCartBookingHolderDisplay,
  enrichCartItem,
  enrichCartItems,
  enrichCustomer,
  ensureHoldersBeforeSubmit,
  formatBookingDateTime,
  formatHolderOptions,
  getDetailProductOptions,
  getLineProductOptions,
  isHolderConfirmCancelled,
  isWalkInCustomer,
  normalizeHolderIds,
  normalizeOptionForDisplay,
  pickHolderIdFromBooking,
  pickIdentity,
  resolveAddProductDebounceKey,
  resolveHolderDisplayConfig,
  resolveHolderLabels,
  resolveInCartQuantityForAddToast,
  resolvePatchProductOptions,
  runAddProductFlow,
  shouldBypassAddProductDebounce,
  shouldPromptHolderBeforeSubmit,
  showAddToCartToast,
  subscribeBookingDateChange,
  sumLineOptionUnitPrice,
  useSalesSdk,
  useSalesSdkBookingContext,
  useSalesSdkCart,
  useSalesSdkCustomer,
  useSalesSdkHolder,
  useSalesSdkHostBridges,
  useSalesSdkProducts,
  useSalesSdkSummary,
  useSalesSdkUIHosts,
  useSyncOsModule
});
