"use strict";

Object.defineProperty(exports, "__esModule", {
  value: true
});
exports.EVENTS = void 0;
var _providers = require("./providers");
var _helpers = require("../../components/helpers");
var _Core = require("../../Core.constants");
const EVENTS = exports.EVENTS = {
  // -- <Rates> ✅
  [_helpers.EVENT.RATES_RESPONSE]: {
    [_Core.PERFORMANCE.GTM]: _providers.ProviderGTM.ratesResponse,
    [_Core.PERFORMANCE.ANALYTICS]: _providers.ProviderAnalytics.ratesResponse,
    [_Core.PERFORMANCE.FACEBOOK]: _providers.ProviderFacebook.ratesResponse,
    [_Core.PERFORMANCE.THE_HOTEL_NETWORK]: undefined,
    [_Core.PERFORMANCE.MIRAI]: undefined,
    [_Core.PERFORMANCE.BING]: undefined
  },
  // -- Add to cart ✅
  [_helpers.EVENT.RATES_ADD_TO_CART]: {
    [_Core.PERFORMANCE.ANALYTICS]: _providers.ProviderAnalytics.ratesAddToCart,
    [_Core.PERFORMANCE.FACEBOOK]: _providers.ProviderFacebook.ratesAddToCart
  },
  // -- <Checkout> ✅
  [_helpers.EVENT.CHECKOUT_RESPONSE]: {
    [_Core.PERFORMANCE.GTM]: _providers.ProviderGTM.checkoutResponse,
    [_Core.PERFORMANCE.ANALYTICS]: _providers.ProviderAnalytics.checkoutResponse,
    [_Core.PERFORMANCE.FACEBOOK]: _providers.ProviderFacebook.checkoutResponse,
    [_Core.PERFORMANCE.THE_HOTEL_NETWORK]: undefined,
    [_Core.PERFORMANCE.MIRAI]: undefined,
    [_Core.PERFORMANCE.BING]: undefined
  },
  [_helpers.EVENT.CHECKOUT_FORM]: {
    [_Core.PERFORMANCE.ANALYTICS]: _providers.ProviderAnalytics.checkoutForm
  },
  // -- <Booking> ✅
  [_helpers.EVENT.BOOKING_RESPONSE]: {
    [_Core.PERFORMANCE.GTM]: _providers.ProviderGTM.bookingResponse,
    [_Core.PERFORMANCE.ANALYTICS]: _providers.ProviderAnalytics.bookingResponse,
    [_Core.PERFORMANCE.GOOGLE_ADS]: _providers.ProviderGoogleAds.bookingResponse,
    [_Core.PERFORMANCE.MIRAI]: _providers.ProviderMirai.bookingResponse,
    [_Core.PERFORMANCE.BING]: _providers.ProviderBing.bookingResponse,
    [_Core.PERFORMANCE.AFFILIRED]: _providers.ProviderAffilired.bookingResponse,
    [_Core.PERFORMANCE.FACEBOOK]: _providers.ProviderFacebook.bookingResponse,
    [_Core.PERFORMANCE.THE_HOTEL_NETWORK]: undefined
  },
  [_helpers.EVENT.BOOKING_CANCEL]: {
    [_Core.PERFORMANCE.GTM]: _providers.ProviderGTM.bookingCancel,
    [_Core.PERFORMANCE.ANALYTICS]: _providers.ProviderAnalytics.bookingCancel
  },
  // -- Session ✅
  [_helpers.EVENT.LOGGED]: {
    [_Core.PERFORMANCE.ANALYTICS]: _providers.ProviderAnalytics.logged
  },
  // -- External Twin ✅
  [_helpers.EVENT.EXTERNAL_TWIN]: {
    [_Core.PERFORMANCE.ANALYTICS]: _providers.ProviderAnalytics.externalTwin
  },
  // -- Core ready> ✅
  [_helpers.EVENT.CORE_READY]: {
    [_Core.PERFORMANCE.GTM]: _providers.ProviderGTM.coreReady,
    [_Core.PERFORMANCE.ANALYTICS]: _providers.ProviderAnalytics.coreReady,
    [_Core.PERFORMANCE.GOOGLE_ADS]: undefined,
    [_Core.PERFORMANCE.MIRAI]: undefined,
    [_Core.PERFORMANCE.BING]: undefined,
    [_Core.PERFORMANCE.FACEBOOK]: undefined,
    [_Core.PERFORMANCE.THE_HOTEL_NETWORK]: undefined
  },
  // -- Chat open ✅
  [_helpers.EVENT.CHAT_OPENED]: {
    [_Core.PERFORMANCE.ANALYTICS]: _providers.ProviderAnalytics.chatOpen
  }
};
//# sourceMappingURL=PerformanceManager.events.js.map