"use strict";

Object.defineProperty(exports, "__esModule", {
  value: true
});
exports.getBookingOptions = void 0;
var _Filters = require("../Filters.constants");
var _Filters2 = require("../Filters.l10n");
const getBookingOptions = hasOfferName => _Filters.BOOKING_OPTIONS.map(_ref => {
  let {
    field,
    title
  } = _ref;
  return {
    field,
    title: field === 'offer' && hasOfferName ? _Filters2.L10N.LABEL_SHOW_ONLY_DEAL : title
  };
});
exports.getBookingOptions = getBookingOptions;
//# sourceMappingURL=getBookingOptions.js.map