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/components/ticketBooking/hooks/pisellos/bookingTicket.ts
var bookingTicket_exports = {};
__export(bookingTicket_exports, {
  useBookingTicket: () => useBookingTicket
});
module.exports = __toCommonJS(bookingTicket_exports);
var import_useEngineContext = require("../../../../hooks/useEngineContext");
var import_OsKeyContext = require("../../context/OsKeyContext");
var import_utils = require("../../utils");
var useBookingTicket = () => {
  const pisellOS = (0, import_useEngineContext.usePisellOS)();
  const osKey = (0, import_OsKeyContext.useOsKey)();
  const moduleKey = (0, import_utils.getBookingTicketKey)(osKey || "ticket");
  return pisellOS.getModule(moduleKey);
};
// Annotate the CommonJS export names for ESM import in node:
0 && (module.exports = {
  useBookingTicket
});
