@mirai/core 0.4.51 → 0.4.52
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/Core.Notifications.js +1 -4
- package/build/Core.Notifications.js.map +1 -1
- package/build/Core.constants.js +1 -4
- package/build/Core.constants.js.map +1 -1
- package/build/Core.js +1 -4
- package/build/Core.js.map +1 -1
- package/build/Core.provider.js +1 -4
- package/build/Core.provider.js.map +1 -1
- package/build/components/BannerLoyalty/BannerLoyalty.constants.js +1 -4
- package/build/components/BannerLoyalty/BannerLoyalty.constants.js.map +1 -1
- package/build/components/BannerLoyalty/BannerLoyalty.js +1 -4
- package/build/components/BannerLoyalty/BannerLoyalty.js.map +1 -1
- package/build/components/BannerLoyalty/BannerLoyalty.l10n.js +1 -4
- package/build/components/BannerLoyalty/BannerLoyalty.l10n.js.map +1 -1
- package/build/components/BannerLoyalty/BannerLoyalty.skeleton.js +1 -4
- package/build/components/BannerLoyalty/BannerLoyalty.skeleton.js.map +1 -1
- package/build/components/BannerLoyalty/index.js +1 -4
- package/build/components/BannerLoyalty/index.js.map +1 -1
- package/build/components/Booking/Booking.constants.js +1 -4
- package/build/components/Booking/Booking.constants.js.map +1 -1
- package/build/components/Booking/Booking.js +1 -4
- package/build/components/Booking/Booking.js.map +1 -1
- package/build/components/Booking/Booking.l10n.js +1 -4
- package/build/components/Booking/Booking.l10n.js.map +1 -1
- package/build/components/Booking/Booking.skeleton.js +1 -4
- package/build/components/Booking/Booking.skeleton.js.map +1 -1
- package/build/components/Booking/components/Field/Field.js +1 -4
- package/build/components/Booking/components/Field/Field.js.map +1 -1
- package/build/components/Booking/components/Field/Field.l10n.js +1 -4
- package/build/components/Booking/components/Field/Field.l10n.js.map +1 -1
- package/build/components/Booking/components/Field/index.js +1 -4
- package/build/components/Booking/components/Field/index.js.map +1 -1
- package/build/components/Booking/components/Hotelverse/Hotelverse.js +1 -4
- package/build/components/Booking/components/Hotelverse/Hotelverse.js.map +1 -1
- package/build/components/Booking/components/Hotelverse/Hotelverse.l10n.js +1 -4
- package/build/components/Booking/components/Hotelverse/Hotelverse.l10n.js.map +1 -1
- package/build/components/Booking/components/Hotelverse/index.js +1 -4
- package/build/components/Booking/components/Hotelverse/index.js.map +1 -1
- package/build/components/Booking/components/index.js +1 -4
- package/build/components/Booking/components/index.js.map +1 -1
- package/build/components/Booking/helpers/getButtonPaymentKey.js +1 -4
- package/build/components/Booking/helpers/getButtonPaymentKey.js.map +1 -1
- package/build/components/Booking/helpers/getButtonPaymentKey.l10n.js +1 -4
- package/build/components/Booking/helpers/getButtonPaymentKey.l10n.js.map +1 -1
- package/build/components/Booking/helpers/index.js +1 -4
- package/build/components/Booking/helpers/index.js.map +1 -1
- package/build/components/Booking/index.js +1 -4
- package/build/components/Booking/index.js.map +1 -1
- package/build/components/Booking/partials/Booking.FormCancel.js +1 -4
- package/build/components/Booking/partials/Booking.FormCancel.js.map +1 -1
- package/build/components/Booking/partials/Booking.FormEdit.js +1 -4
- package/build/components/Booking/partials/Booking.FormEdit.js.map +1 -1
- package/build/components/Booking/partials/Booking.FormResend.js +1 -4
- package/build/components/Booking/partials/Booking.FormResend.js.map +1 -1
- package/build/components/Booking/partials/Booking.Information.js +1 -4
- package/build/components/Booking/partials/Booking.Information.js.map +1 -1
- package/build/components/Booking/partials/Booking.Menu.js +1 -4
- package/build/components/Booking/partials/Booking.Menu.js.map +1 -1
- package/build/components/Booking/partials/Booking.Modal.js +1 -4
- package/build/components/Booking/partials/Booking.Modal.js.map +1 -1
- package/build/components/Booking/partials/Booking.ModalAgency.js +1 -4
- package/build/components/Booking/partials/Booking.ModalAgency.js.map +1 -1
- package/build/components/Booking/partials/Booking.Payment.js +1 -4
- package/build/components/Booking/partials/Booking.Payment.js.map +1 -1
- package/build/components/Booking/partials/index.js +1 -4
- package/build/components/Booking/partials/index.js.map +1 -1
- package/build/components/BookingQuery/BookingQuery.constants.js +1 -4
- package/build/components/BookingQuery/BookingQuery.constants.js.map +1 -1
- package/build/components/BookingQuery/BookingQuery.js +1 -4
- package/build/components/BookingQuery/BookingQuery.js.map +1 -1
- package/build/components/BookingQuery/BookingQuery.l10n.js +1 -4
- package/build/components/BookingQuery/BookingQuery.l10n.js.map +1 -1
- package/build/components/BookingQuery/helpers/getErrorText.js +1 -4
- package/build/components/BookingQuery/helpers/getErrorText.js.map +1 -1
- package/build/components/BookingQuery/helpers/index.js +1 -4
- package/build/components/BookingQuery/helpers/index.js.map +1 -1
- package/build/components/BookingQuery/index.js +1 -4
- package/build/components/BookingQuery/index.js.map +1 -1
- package/build/components/ButtonFinder/ButtonFinder.js +1 -4
- package/build/components/ButtonFinder/ButtonFinder.js.map +1 -1
- package/build/components/ButtonFinder/ButtonFinder.l10n.js +1 -4
- package/build/components/ButtonFinder/ButtonFinder.l10n.js.map +1 -1
- package/build/components/ButtonFinder/index.js +1 -4
- package/build/components/ButtonFinder/index.js.map +1 -1
- package/build/components/Chat/Chat.ButtonAvatar.js +1 -4
- package/build/components/Chat/Chat.ButtonAvatar.js.map +1 -1
- package/build/components/Chat/Chat.Header.js +1 -4
- package/build/components/Chat/Chat.Header.js.map +1 -1
- package/build/components/Chat/Chat.constants.js +1 -4
- package/build/components/Chat/Chat.constants.js.map +1 -1
- package/build/components/Chat/Chat.js +1 -4
- package/build/components/Chat/Chat.js.map +1 -1
- package/build/components/Chat/Chat.l10n.js +1 -4
- package/build/components/Chat/Chat.l10n.js.map +1 -1
- package/build/components/Chat/components/Avatar/Avatar.js +1 -4
- package/build/components/Chat/components/Avatar/Avatar.js.map +1 -1
- package/build/components/Chat/components/Avatar/index.js +1 -4
- package/build/components/Chat/components/Avatar/index.js.map +1 -1
- package/build/components/Chat/components/Input/Input.js +1 -4
- package/build/components/Chat/components/Input/Input.js.map +1 -1
- package/build/components/Chat/components/Input/Input.l10n.js +1 -4
- package/build/components/Chat/components/Input/Input.l10n.js.map +1 -1
- package/build/components/Chat/components/Input/index.js +1 -4
- package/build/components/Chat/components/Input/index.js.map +1 -1
- package/build/components/Chat/components/InputRich/InputRich.List.js +1 -4
- package/build/components/Chat/components/InputRich/InputRich.List.js.map +1 -1
- package/build/components/Chat/components/InputRich/InputRich.js +1 -4
- package/build/components/Chat/components/InputRich/InputRich.js.map +1 -1
- package/build/components/Chat/components/InputRich/InputRich.l10n.js +1 -4
- package/build/components/Chat/components/InputRich/InputRich.l10n.js.map +1 -1
- package/build/components/Chat/components/InputRich/helpers/getVerboseList.js +1 -4
- package/build/components/Chat/components/InputRich/helpers/getVerboseList.js.map +1 -1
- package/build/components/Chat/components/InputRich/helpers/getVerboseOccupation.js +1 -4
- package/build/components/Chat/components/InputRich/helpers/getVerboseOccupation.js.map +1 -1
- package/build/components/Chat/components/InputRich/helpers/index.js +1 -4
- package/build/components/Chat/components/InputRich/helpers/index.js.map +1 -1
- package/build/components/Chat/components/InputRich/index.js +1 -4
- package/build/components/Chat/components/InputRich/index.js.map +1 -1
- package/build/components/Chat/components/Message/Message.constants.js +1 -4
- package/build/components/Chat/components/Message/Message.constants.js.map +1 -1
- package/build/components/Chat/components/Message/Message.js +1 -4
- package/build/components/Chat/components/Message/Message.js.map +1 -1
- package/build/components/Chat/components/Message/components/Booking.js +1 -4
- package/build/components/Chat/components/Message/components/Booking.js.map +1 -1
- package/build/components/Chat/components/Message/components/Card.js +1 -4
- package/build/components/Chat/components/Message/components/Card.js.map +1 -1
- package/build/components/Chat/components/Message/components/Environment.js +1 -4
- package/build/components/Chat/components/Message/components/Environment.js.map +1 -1
- package/build/components/Chat/components/Message/components/Typewriter.js +1 -4
- package/build/components/Chat/components/Message/components/Typewriter.js.map +1 -1
- package/build/components/Chat/components/Message/components/index.js +1 -4
- package/build/components/Chat/components/Message/components/index.js.map +1 -1
- package/build/components/Chat/components/Message/helpers/getActionIcon.js +1 -4
- package/build/components/Chat/components/Message/helpers/getActionIcon.js.map +1 -1
- package/build/components/Chat/components/Message/helpers/getTime.js +1 -4
- package/build/components/Chat/components/Message/helpers/getTime.js.map +1 -1
- package/build/components/Chat/components/Message/helpers/index.js +1 -4
- package/build/components/Chat/components/Message/helpers/index.js.map +1 -1
- package/build/components/Chat/components/Message/index.js +1 -4
- package/build/components/Chat/components/Message/index.js.map +1 -1
- package/build/components/Chat/components/Message/intents/BookingQuery.js +1 -4
- package/build/components/Chat/components/Message/intents/BookingQuery.js.map +1 -1
- package/build/components/Chat/components/Message/intents/HotelInfo.js +1 -4
- package/build/components/Chat/components/Message/intents/HotelInfo.js.map +1 -1
- package/build/components/Chat/components/Message/intents/Offers.js +1 -4
- package/build/components/Chat/components/Message/intents/Offers.js.map +1 -1
- package/build/components/Chat/components/Message/intents/Unknown.js +1 -4
- package/build/components/Chat/components/Message/intents/Unknown.js.map +1 -1
- package/build/components/Chat/components/Message/intents/index.js +1 -4
- package/build/components/Chat/components/Message/intents/index.js.map +1 -1
- package/build/components/Chat/components/index.js +1 -4
- package/build/components/Chat/components/index.js.map +1 -1
- package/build/components/Chat/helpers/audioNotification.js +1 -4
- package/build/components/Chat/helpers/audioNotification.js.map +1 -1
- package/build/components/Chat/helpers/getVerboseDate.js +1 -4
- package/build/components/Chat/helpers/getVerboseDate.js.map +1 -1
- package/build/components/Chat/helpers/index.js +1 -4
- package/build/components/Chat/helpers/index.js.map +1 -1
- package/build/components/Chat/index.js +1 -4
- package/build/components/Chat/index.js.map +1 -1
- package/build/components/Checkout/Checkout.constants.js +1 -4
- package/build/components/Checkout/Checkout.constants.js.map +1 -1
- package/build/components/Checkout/Checkout.js +1 -4
- package/build/components/Checkout/Checkout.js.map +1 -1
- package/build/components/Checkout/Checkout.l10n.js +1 -4
- package/build/components/Checkout/Checkout.l10n.js.map +1 -1
- package/build/components/Checkout/Checkout.skeleton.js +1 -4
- package/build/components/Checkout/Checkout.skeleton.js.map +1 -1
- package/build/components/Checkout/components/InputRadio/InputRadio.js +1 -4
- package/build/components/Checkout/components/InputRadio/InputRadio.js.map +1 -1
- package/build/components/Checkout/components/InputRadio/index.js +1 -4
- package/build/components/Checkout/components/InputRadio/index.js.map +1 -1
- package/build/components/Checkout/components/index.js +1 -4
- package/build/components/Checkout/components/index.js.map +1 -1
- package/build/components/Checkout/helpers/getButtonPaymentKey.js +1 -4
- package/build/components/Checkout/helpers/getButtonPaymentKey.js.map +1 -1
- package/build/components/Checkout/helpers/getButtonPaymentKey.l10n.js +1 -4
- package/build/components/Checkout/helpers/getButtonPaymentKey.l10n.js.map +1 -1
- package/build/components/Checkout/helpers/getFieldProps.js +1 -4
- package/build/components/Checkout/helpers/getFieldProps.js.map +1 -1
- package/build/components/Checkout/helpers/getSchemaProps.js +1 -4
- package/build/components/Checkout/helpers/getSchemaProps.js.map +1 -1
- package/build/components/Checkout/helpers/getVariant.js +1 -4
- package/build/components/Checkout/helpers/getVariant.js.map +1 -1
- package/build/components/Checkout/helpers/index.js +1 -4
- package/build/components/Checkout/helpers/index.js.map +1 -1
- package/build/components/Checkout/helpers/testDNI.js +1 -4
- package/build/components/Checkout/helpers/testDNI.js.map +1 -1
- package/build/components/Checkout/index.js +1 -4
- package/build/components/Checkout/index.js.map +1 -1
- package/build/components/Checkout/partials/Checkout.Confirmation.js +1 -4
- package/build/components/Checkout/partials/Checkout.Confirmation.js.map +1 -1
- package/build/components/Checkout/partials/Checkout.Form.js +1 -4
- package/build/components/Checkout/partials/Checkout.Form.js.map +1 -1
- package/build/components/Checkout/partials/index.js +1 -4
- package/build/components/Checkout/partials/index.js.map +1 -1
- package/build/components/Deals/Deals.Calendar.js +1 -4
- package/build/components/Deals/Deals.Calendar.js.map +1 -1
- package/build/components/Deals/Deals.constants.js +1 -4
- package/build/components/Deals/Deals.constants.js.map +1 -1
- package/build/components/Deals/Deals.js +1 -4
- package/build/components/Deals/Deals.js.map +1 -1
- package/build/components/Deals/Deals.l10n.js +1 -4
- package/build/components/Deals/Deals.l10n.js.map +1 -1
- package/build/components/Deals/Deals.skeleton.js +1 -4
- package/build/components/Deals/Deals.skeleton.js.map +1 -1
- package/build/components/Deals/helpers/calcFromDate.js +1 -4
- package/build/components/Deals/helpers/calcFromDate.js.map +1 -1
- package/build/components/Deals/helpers/calcMinStay.js +1 -4
- package/build/components/Deals/helpers/calcMinStay.js.map +1 -1
- package/build/components/Deals/helpers/calcNightWithDeals.js +1 -4
- package/build/components/Deals/helpers/calcNightWithDeals.js.map +1 -1
- package/build/components/Deals/helpers/calcToDate.js +1 -4
- package/build/components/Deals/helpers/calcToDate.js.map +1 -1
- package/build/components/Deals/helpers/calcTooltips.js +1 -4
- package/build/components/Deals/helpers/calcTooltips.js.map +1 -1
- package/build/components/Deals/helpers/getCurrency.js +1 -4
- package/build/components/Deals/helpers/getCurrency.js.map +1 -1
- package/build/components/Deals/helpers/index.js +1 -4
- package/build/components/Deals/helpers/index.js.map +1 -1
- package/build/components/Deals/helpers/validate.js +1 -4
- package/build/components/Deals/helpers/validate.js.map +1 -1
- package/build/components/Deals/index.js +1 -4
- package/build/components/Deals/index.js.map +1 -1
- package/build/components/Environment/Environment.State.js +1 -4
- package/build/components/Environment/Environment.State.js.map +1 -1
- package/build/components/Environment/Environment.js +1 -4
- package/build/components/Environment/Environment.js.map +1 -1
- package/build/components/Environment/index.js +1 -4
- package/build/components/Environment/index.js.map +1 -1
- package/build/components/Finder/Finder.compact.js +1 -4
- package/build/components/Finder/Finder.compact.js.map +1 -1
- package/build/components/Finder/Finder.constants.js +1 -4
- package/build/components/Finder/Finder.constants.js.map +1 -1
- package/build/components/Finder/Finder.js +1 -4
- package/build/components/Finder/Finder.js.map +1 -1
- package/build/components/Finder/Finder.l10n.js +1 -4
- package/build/components/Finder/Finder.l10n.js.map +1 -1
- package/build/components/Finder/components/Calendar/Calendar.constants.js +1 -4
- package/build/components/Finder/components/Calendar/Calendar.constants.js.map +1 -1
- package/build/components/Finder/components/Calendar/Calendar.js +1 -4
- package/build/components/Finder/components/Calendar/Calendar.js.map +1 -1
- package/build/components/Finder/components/Calendar/Calendar.l10n.js +1 -4
- package/build/components/Finder/components/Calendar/Calendar.l10n.js.map +1 -1
- package/build/components/Finder/components/Calendar/helpers/calcMinStay.js +1 -4
- package/build/components/Finder/components/Calendar/helpers/calcMinStay.js.map +1 -1
- package/build/components/Finder/components/Calendar/helpers/calcTooltips.js +1 -4
- package/build/components/Finder/components/Calendar/helpers/calcTooltips.js.map +1 -1
- package/build/components/Finder/components/Calendar/helpers/fetchPrices.js +1 -4
- package/build/components/Finder/components/Calendar/helpers/fetchPrices.js.map +1 -1
- package/build/components/Finder/components/Calendar/helpers/getVisibleDate.js +1 -4
- package/build/components/Finder/components/Calendar/helpers/getVisibleDate.js.map +1 -1
- package/build/components/Finder/components/Calendar/helpers/index.js +1 -4
- package/build/components/Finder/components/Calendar/helpers/index.js.map +1 -1
- package/build/components/Finder/components/Calendar/index.js +1 -4
- package/build/components/Finder/components/Calendar/index.js.map +1 -1
- package/build/components/Finder/components/Places/Places.js +1 -4
- package/build/components/Finder/components/Places/Places.js.map +1 -1
- package/build/components/Finder/components/Places/Places.l10n.js +1 -4
- package/build/components/Finder/components/Places/Places.l10n.js.map +1 -1
- package/build/components/Finder/components/Places/helpers/calcColumns.js +1 -4
- package/build/components/Finder/components/Places/helpers/calcColumns.js.map +1 -1
- package/build/components/Finder/components/Places/helpers/index.js +1 -4
- package/build/components/Finder/components/Places/helpers/index.js.map +1 -1
- package/build/components/Finder/components/Places/index.js +1 -4
- package/build/components/Finder/components/Places/index.js.map +1 -1
- package/build/components/Finder/components/index.js +1 -4
- package/build/components/Finder/components/index.js.map +1 -1
- package/build/components/Finder/helpers/getAvailableWidth.js +1 -4
- package/build/components/Finder/helpers/getAvailableWidth.js.map +1 -1
- package/build/components/Finder/helpers/getDataSource.js +1 -4
- package/build/components/Finder/helpers/getDataSource.js.map +1 -1
- package/build/components/Finder/helpers/getFieldPosition.js +1 -4
- package/build/components/Finder/helpers/getFieldPosition.js.map +1 -1
- package/build/components/Finder/helpers/getForwarderUrl.js +1 -4
- package/build/components/Finder/helpers/getForwarderUrl.js.map +1 -1
- package/build/components/Finder/helpers/getHotels.js +1 -4
- package/build/components/Finder/helpers/getHotels.js.map +1 -1
- package/build/components/Finder/helpers/getOccupationDataSource.js +1 -4
- package/build/components/Finder/helpers/getOccupationDataSource.js.map +1 -1
- package/build/components/Finder/helpers/getPlaceCaption.js +1 -4
- package/build/components/Finder/helpers/getPlaceCaption.js.map +1 -1
- package/build/components/Finder/helpers/getPlacesOptions.js +1 -4
- package/build/components/Finder/helpers/getPlacesOptions.js.map +1 -1
- package/build/components/Finder/helpers/index.js +1 -4
- package/build/components/Finder/helpers/index.js.map +1 -1
- package/build/components/Finder/helpers/parseCalendarProps.js +1 -4
- package/build/components/Finder/helpers/parseCalendarProps.js.map +1 -1
- package/build/components/Finder/helpers/parseValue.js +1 -4
- package/build/components/Finder/helpers/parseValue.js.map +1 -1
- package/build/components/Finder/helpers/setStorage.js +1 -4
- package/build/components/Finder/helpers/setStorage.js.map +1 -1
- package/build/components/Finder/helpers/validate.js +1 -4
- package/build/components/Finder/helpers/validate.js.map +1 -1
- package/build/components/Finder/index.js +1 -4
- package/build/components/Finder/index.js.map +1 -1
- package/build/components/Header/Header.js +1 -4
- package/build/components/Header/Header.js.map +1 -1
- package/build/components/Header/Header.l10n.js +1 -4
- package/build/components/Header/Header.l10n.js.map +1 -1
- package/build/components/Header/components/BookingProcess/BookingProcess.js +1 -4
- package/build/components/Header/components/BookingProcess/BookingProcess.js.map +1 -1
- package/build/components/Header/components/BookingProcess/BookingProcess.l10n.js +1 -4
- package/build/components/Header/components/BookingProcess/BookingProcess.l10n.js.map +1 -1
- package/build/components/Header/components/BookingProcess/index.js +1 -4
- package/build/components/Header/components/BookingProcess/index.js.map +1 -1
- package/build/components/Header/components/index.js +1 -4
- package/build/components/Header/components/index.js.map +1 -1
- package/build/components/Header/index.js +1 -4
- package/build/components/Header/index.js.map +1 -1
- package/build/components/Profile/Profile.constants.js +1 -4
- package/build/components/Profile/Profile.constants.js.map +1 -1
- package/build/components/Profile/Profile.js +1 -4
- package/build/components/Profile/Profile.js.map +1 -1
- package/build/components/Profile/components/Bookings/Bookings.Search.js +1 -4
- package/build/components/Profile/components/Bookings/Bookings.Search.js.map +1 -1
- package/build/components/Profile/components/Bookings/Bookings.constants.js +1 -4
- package/build/components/Profile/components/Bookings/Bookings.constants.js.map +1 -1
- package/build/components/Profile/components/Bookings/Bookings.js +1 -4
- package/build/components/Profile/components/Bookings/Bookings.js.map +1 -1
- package/build/components/Profile/components/Bookings/Bookings.l10n.js +1 -4
- package/build/components/Profile/components/Bookings/Bookings.l10n.js.map +1 -1
- package/build/components/Profile/components/Bookings/helpers/groupDatasource.js +1 -4
- package/build/components/Profile/components/Bookings/helpers/groupDatasource.js.map +1 -1
- package/build/components/Profile/components/Bookings/helpers/index.js +1 -4
- package/build/components/Profile/components/Bookings/helpers/index.js.map +1 -1
- package/build/components/Profile/components/Bookings/index.js +1 -4
- package/build/components/Profile/components/Bookings/index.js.map +1 -1
- package/build/components/Profile/components/Settings/Settings.Account.js +1 -4
- package/build/components/Profile/components/Settings/Settings.Account.js.map +1 -1
- package/build/components/Profile/components/Settings/Settings.Password.js +1 -4
- package/build/components/Profile/components/Settings/Settings.Password.js.map +1 -1
- package/build/components/Profile/components/Settings/Settings.Signout.js +1 -4
- package/build/components/Profile/components/Settings/Settings.Signout.js.map +1 -1
- package/build/components/Profile/components/Settings/Settings.constants.js +1 -4
- package/build/components/Profile/components/Settings/Settings.constants.js.map +1 -1
- package/build/components/Profile/components/Settings/Settings.js +1 -4
- package/build/components/Profile/components/Settings/Settings.js.map +1 -1
- package/build/components/Profile/components/Settings/Settings.l10n.js +1 -4
- package/build/components/Profile/components/Settings/Settings.l10n.js.map +1 -1
- package/build/components/Profile/components/Settings/index.js +1 -4
- package/build/components/Profile/components/Settings/index.js.map +1 -1
- package/build/components/Profile/components/index.js +1 -4
- package/build/components/Profile/components/index.js.map +1 -1
- package/build/components/Profile/index.js +1 -4
- package/build/components/Profile/index.js.map +1 -1
- package/build/components/Rates/Rates.Content.js +1 -4
- package/build/components/Rates/Rates.Content.js.map +1 -1
- package/build/components/Rates/Rates.Footer.js +1 -4
- package/build/components/Rates/Rates.Footer.js.map +1 -1
- package/build/components/Rates/Rates.Header.js +1 -4
- package/build/components/Rates/Rates.Header.js.map +1 -1
- package/build/components/Rates/Rates.RoomSelector.js +1 -4
- package/build/components/Rates/Rates.RoomSelector.js.map +1 -1
- package/build/components/Rates/Rates.Skeleton.js +1 -4
- package/build/components/Rates/Rates.Skeleton.js.map +1 -1
- package/build/components/Rates/Rates.Unavailability.js +1 -4
- package/build/components/Rates/Rates.Unavailability.js.map +1 -1
- package/build/components/Rates/Rates.constants.js +1 -4
- package/build/components/Rates/Rates.constants.js.map +1 -1
- package/build/components/Rates/Rates.js +1 -4
- package/build/components/Rates/Rates.js.map +1 -1
- package/build/components/Rates/Rates.l10n.js +1 -4
- package/build/components/Rates/Rates.l10n.js.map +1 -1
- package/build/components/Rates/components/CardHotel/CardHotel.js +1 -4
- package/build/components/Rates/components/CardHotel/CardHotel.js.map +1 -1
- package/build/components/Rates/components/CardHotel/CardHotel.l10n.js +1 -4
- package/build/components/Rates/components/CardHotel/CardHotel.l10n.js.map +1 -1
- package/build/components/Rates/components/CardHotel/helpers/getHotelUrl.js +1 -4
- package/build/components/Rates/components/CardHotel/helpers/getHotelUrl.js.map +1 -1
- package/build/components/Rates/components/CardHotel/helpers/index.js +1 -4
- package/build/components/Rates/components/CardHotel/helpers/index.js.map +1 -1
- package/build/components/Rates/components/CardHotel/index.js +1 -4
- package/build/components/Rates/components/CardHotel/index.js.map +1 -1
- package/build/components/Rates/components/Filters/Filters.Amenity.js +1 -4
- package/build/components/Rates/components/Filters/Filters.Amenity.js.map +1 -1
- package/build/components/Rates/components/Filters/Filters.BookingOption.js +1 -4
- package/build/components/Rates/components/Filters/Filters.BookingOption.js.map +1 -1
- package/build/components/Rates/components/Filters/Filters.Button.js +1 -4
- package/build/components/Rates/components/Filters/Filters.Button.js.map +1 -1
- package/build/components/Rates/components/Filters/Filters.constants.js +1 -4
- package/build/components/Rates/components/Filters/Filters.constants.js.map +1 -1
- package/build/components/Rates/components/Filters/Filters.js +1 -4
- package/build/components/Rates/components/Filters/Filters.js.map +1 -1
- package/build/components/Rates/components/Filters/Filters.l10n.js +1 -4
- package/build/components/Rates/components/Filters/Filters.l10n.js.map +1 -1
- package/build/components/Rates/components/Filters/components/InputRange/InputRange.js +1 -4
- package/build/components/Rates/components/Filters/components/InputRange/InputRange.js.map +1 -1
- package/build/components/Rates/components/Filters/components/InputRange/InputRange.l10n.js +1 -4
- package/build/components/Rates/components/Filters/components/InputRange/InputRange.l10n.js.map +1 -1
- package/build/components/Rates/components/Filters/components/InputRange/helpers/getHistogram.js +1 -4
- package/build/components/Rates/components/Filters/components/InputRange/helpers/getHistogram.js.map +1 -1
- package/build/components/Rates/components/Filters/components/InputRange/helpers/index.js +1 -4
- package/build/components/Rates/components/Filters/components/InputRange/helpers/index.js.map +1 -1
- package/build/components/Rates/components/Filters/components/InputRange/index.js +1 -4
- package/build/components/Rates/components/Filters/components/InputRange/index.js.map +1 -1
- package/build/components/Rates/components/Filters/components/index.js +1 -4
- package/build/components/Rates/components/Filters/components/index.js.map +1 -1
- package/build/components/Rates/components/Filters/helpers/countFilters.js +1 -4
- package/build/components/Rates/components/Filters/helpers/countFilters.js.map +1 -1
- package/build/components/Rates/components/Filters/helpers/getAvailableFilters.js +1 -4
- package/build/components/Rates/components/Filters/helpers/getAvailableFilters.js.map +1 -1
- package/build/components/Rates/components/Filters/helpers/getStrictSearch.js +1 -4
- package/build/components/Rates/components/Filters/helpers/getStrictSearch.js.map +1 -1
- package/build/components/Rates/components/Filters/helpers/index.js +1 -4
- package/build/components/Rates/components/Filters/helpers/index.js.map +1 -1
- package/build/components/Rates/components/Filters/index.js +1 -4
- package/build/components/Rates/components/Filters/index.js.map +1 -1
- package/build/components/Rates/components/Hotelverse/Hotelverse.js +1 -4
- package/build/components/Rates/components/Hotelverse/Hotelverse.js.map +1 -1
- package/build/components/Rates/components/Hotelverse/Hotelverse.l10n.js +1 -4
- package/build/components/Rates/components/Hotelverse/Hotelverse.l10n.js.map +1 -1
- package/build/components/Rates/components/Hotelverse/index.js +1 -4
- package/build/components/Rates/components/Hotelverse/index.js.map +1 -1
- package/build/components/Rates/components/Item/Item.Preview.js +1 -4
- package/build/components/Rates/components/Item/Item.Preview.js.map +1 -1
- package/build/components/Rates/components/Item/Item.Rates.js +1 -4
- package/build/components/Rates/components/Item/Item.Rates.js.map +1 -1
- package/build/components/Rates/components/Item/Item.Summary.js +1 -4
- package/build/components/Rates/components/Item/Item.Summary.js.map +1 -1
- package/build/components/Rates/components/Item/Item.js +1 -4
- package/build/components/Rates/components/Item/Item.js.map +1 -1
- package/build/components/Rates/components/Item/Item.l10n.js +1 -4
- package/build/components/Rates/components/Item/Item.l10n.js.map +1 -1
- package/build/components/Rates/components/Item/components/Amenities/Amenities.js +1 -4
- package/build/components/Rates/components/Item/components/Amenities/Amenities.js.map +1 -1
- package/build/components/Rates/components/Item/components/Amenities/Amenities.l10n.js +1 -4
- package/build/components/Rates/components/Item/components/Amenities/Amenities.l10n.js.map +1 -1
- package/build/components/Rates/components/Item/components/Amenities/index.js +1 -4
- package/build/components/Rates/components/Item/components/Amenities/index.js.map +1 -1
- package/build/components/Rates/components/Item/components/Countdown/Countdown.js +1 -4
- package/build/components/Rates/components/Item/components/Countdown/Countdown.js.map +1 -1
- package/build/components/Rates/components/Item/components/Countdown/index.js +1 -4
- package/build/components/Rates/components/Item/components/Countdown/index.js.map +1 -1
- package/build/components/Rates/components/Item/components/Features/Features.js +1 -4
- package/build/components/Rates/components/Item/components/Features/Features.js.map +1 -1
- package/build/components/Rates/components/Item/components/Features/index.js +1 -4
- package/build/components/Rates/components/Item/components/Features/index.js.map +1 -1
- package/build/components/Rates/components/Item/components/ModalCancellationInfo/ModalCancellationInfo.js +1 -4
- package/build/components/Rates/components/Item/components/ModalCancellationInfo/ModalCancellationInfo.js.map +1 -1
- package/build/components/Rates/components/Item/components/ModalCancellationInfo/index.js +1 -4
- package/build/components/Rates/components/Item/components/ModalCancellationInfo/index.js.map +1 -1
- package/build/components/Rates/components/Item/components/ModalInfo/ModalInfo.js +1 -4
- package/build/components/Rates/components/Item/components/ModalInfo/ModalInfo.js.map +1 -1
- package/build/components/Rates/components/Item/components/ModalInfo/index.js +1 -4
- package/build/components/Rates/components/Item/components/ModalInfo/index.js.map +1 -1
- package/build/components/Rates/components/Item/components/ModalOfferInfo/ModalOfferInfo.js +1 -4
- package/build/components/Rates/components/Item/components/ModalOfferInfo/ModalOfferInfo.js.map +1 -1
- package/build/components/Rates/components/Item/components/ModalOfferInfo/index.js +1 -4
- package/build/components/Rates/components/Item/components/ModalOfferInfo/index.js.map +1 -1
- package/build/components/Rates/components/Item/components/ModalUrl/ModalUrl.js +1 -4
- package/build/components/Rates/components/Item/components/ModalUrl/ModalUrl.js.map +1 -1
- package/build/components/Rates/components/Item/components/ModalUrl/index.js +1 -4
- package/build/components/Rates/components/Item/components/ModalUrl/index.js.map +1 -1
- package/build/components/Rates/components/Item/components/Option/Option.js +1 -4
- package/build/components/Rates/components/Item/components/Option/Option.js.map +1 -1
- package/build/components/Rates/components/Item/components/Option/index.js +1 -4
- package/build/components/Rates/components/Item/components/Option/index.js.map +1 -1
- package/build/components/Rates/components/Item/components/PriceDetails/PriceDetails.js +1 -4
- package/build/components/Rates/components/Item/components/PriceDetails/PriceDetails.js.map +1 -1
- package/build/components/Rates/components/Item/components/PriceDetails/helpers/getPrices.js +1 -4
- package/build/components/Rates/components/Item/components/PriceDetails/helpers/getPrices.js.map +1 -1
- package/build/components/Rates/components/Item/components/PriceDetails/helpers/index.js +1 -4
- package/build/components/Rates/components/Item/components/PriceDetails/helpers/index.js.map +1 -1
- package/build/components/Rates/components/Item/components/PriceDetails/index.js +1 -4
- package/build/components/Rates/components/Item/components/PriceDetails/index.js.map +1 -1
- package/build/components/Rates/components/Item/components/RateDetails/RateDetails.constants.js +1 -4
- package/build/components/Rates/components/Item/components/RateDetails/RateDetails.constants.js.map +1 -1
- package/build/components/Rates/components/Item/components/RateDetails/RateDetails.js +1 -4
- package/build/components/Rates/components/Item/components/RateDetails/RateDetails.js.map +1 -1
- package/build/components/Rates/components/Item/components/RateDetails/index.js +1 -4
- package/build/components/Rates/components/Item/components/RateDetails/index.js.map +1 -1
- package/build/components/Rates/components/Item/components/Slider/Slider.js +1 -4
- package/build/components/Rates/components/Item/components/Slider/Slider.js.map +1 -1
- package/build/components/Rates/components/Item/components/Slider/Slider.l10n.js +1 -4
- package/build/components/Rates/components/Item/components/Slider/Slider.l10n.js.map +1 -1
- package/build/components/Rates/components/Item/components/Slider/index.js +1 -4
- package/build/components/Rates/components/Item/components/Slider/index.js.map +1 -1
- package/build/components/Rates/components/Item/components/TooltipDates/TooltipDates.constants.js +1 -4
- package/build/components/Rates/components/Item/components/TooltipDates/TooltipDates.constants.js.map +1 -1
- package/build/components/Rates/components/Item/components/TooltipDates/TooltipDates.js +1 -4
- package/build/components/Rates/components/Item/components/TooltipDates/TooltipDates.js.map +1 -1
- package/build/components/Rates/components/Item/components/TooltipDates/index.js +1 -4
- package/build/components/Rates/components/Item/components/TooltipDates/index.js.map +1 -1
- package/build/components/Rates/components/Item/components/index.js +1 -4
- package/build/components/Rates/components/Item/components/index.js.map +1 -1
- package/build/components/Rates/components/Item/index.js +1 -4
- package/build/components/Rates/components/Item/index.js.map +1 -1
- package/build/components/Rates/components/ModalClubRate/ModalClubRate.js +1 -4
- package/build/components/Rates/components/ModalClubRate/ModalClubRate.js.map +1 -1
- package/build/components/Rates/components/ModalClubRate/ModalClubRate.l10n.js +1 -4
- package/build/components/Rates/components/ModalClubRate/ModalClubRate.l10n.js.map +1 -1
- package/build/components/Rates/components/ModalClubRate/helpers/getDiscount.js +1 -4
- package/build/components/Rates/components/ModalClubRate/helpers/getDiscount.js.map +1 -1
- package/build/components/Rates/components/ModalClubRate/helpers/index.js +1 -4
- package/build/components/Rates/components/ModalClubRate/helpers/index.js.map +1 -1
- package/build/components/Rates/components/ModalClubRate/index.js +1 -4
- package/build/components/Rates/components/ModalClubRate/index.js.map +1 -1
- package/build/components/Rates/components/ModalExtras/ModalExtras.constants.js +1 -4
- package/build/components/Rates/components/ModalExtras/ModalExtras.constants.js.map +1 -1
- package/build/components/Rates/components/ModalExtras/ModalExtras.js +1 -4
- package/build/components/Rates/components/ModalExtras/ModalExtras.js.map +1 -1
- package/build/components/Rates/components/ModalExtras/ModalExtras.l10n.js +1 -4
- package/build/components/Rates/components/ModalExtras/ModalExtras.l10n.js.map +1 -1
- package/build/components/Rates/components/ModalExtras/helpers/getCaption.js +1 -4
- package/build/components/Rates/components/ModalExtras/helpers/getCaption.js.map +1 -1
- package/build/components/Rates/components/ModalExtras/helpers/index.js +1 -4
- package/build/components/Rates/components/ModalExtras/helpers/index.js.map +1 -1
- package/build/components/Rates/components/ModalExtras/index.js +1 -4
- package/build/components/Rates/components/ModalExtras/index.js.map +1 -1
- package/build/components/Rates/components/ModalMapView/ModalMapView.js +1 -4
- package/build/components/Rates/components/ModalMapView/ModalMapView.js.map +1 -1
- package/build/components/Rates/components/ModalMapView/ModalMapView.l10n.js +1 -4
- package/build/components/Rates/components/ModalMapView/ModalMapView.l10n.js.map +1 -1
- package/build/components/Rates/components/ModalMapView/helpers/customMarker.js +1 -4
- package/build/components/Rates/components/ModalMapView/helpers/customMarker.js.map +1 -1
- package/build/components/Rates/components/ModalMapView/helpers/index.js +1 -4
- package/build/components/Rates/components/ModalMapView/helpers/index.js.map +1 -1
- package/build/components/Rates/components/ModalMapView/helpers/loadGMaps.js +1 -4
- package/build/components/Rates/components/ModalMapView/helpers/loadGMaps.js.map +1 -1
- package/build/components/Rates/components/ModalMapView/index.js +1 -4
- package/build/components/Rates/components/ModalMapView/index.js.map +1 -1
- package/build/components/Rates/components/index.js +1 -4
- package/build/components/Rates/components/index.js.map +1 -1
- package/build/components/Rates/helpers/fetchRates.js +1 -4
- package/build/components/Rates/helpers/fetchRates.js.map +1 -1
- package/build/components/Rates/helpers/filterItem.js +1 -4
- package/build/components/Rates/helpers/filterItem.js.map +1 -1
- package/build/components/Rates/helpers/getBoard.js +1 -4
- package/build/components/Rates/helpers/getBoard.js.map +1 -1
- package/build/components/Rates/helpers/getCheckoutParams.js +1 -4
- package/build/components/Rates/helpers/getCheckoutParams.js.map +1 -1
- package/build/components/Rates/helpers/getClubInclude.js +1 -4
- package/build/components/Rates/helpers/getClubInclude.js.map +1 -1
- package/build/components/Rates/helpers/getClubRate.js +1 -4
- package/build/components/Rates/helpers/getClubRate.js.map +1 -1
- package/build/components/Rates/helpers/getFeatures.js +1 -4
- package/build/components/Rates/helpers/getFeatures.js.map +1 -1
- package/build/components/Rates/helpers/getFinderParams.js +1 -4
- package/build/components/Rates/helpers/getFinderParams.js.map +1 -1
- package/build/components/Rates/helpers/getForwarderUrl.js +1 -4
- package/build/components/Rates/helpers/getForwarderUrl.js.map +1 -1
- package/build/components/Rates/helpers/getLabelTaxes.js +1 -4
- package/build/components/Rates/helpers/getLabelTaxes.js.map +1 -1
- package/build/components/Rates/helpers/index.js +1 -4
- package/build/components/Rates/helpers/index.js.map +1 -1
- package/build/components/Rates/helpers/select.js +1 -4
- package/build/components/Rates/helpers/select.js.map +1 -1
- package/build/components/Rates/helpers/showClubRate.js +1 -4
- package/build/components/Rates/helpers/showClubRate.js.map +1 -1
- package/build/components/Rates/helpers/signout.js +1 -4
- package/build/components/Rates/helpers/signout.js.map +1 -1
- package/build/components/Rates/index.js +1 -4
- package/build/components/Rates/index.js.map +1 -1
- package/build/components/Session/Session.Account.Info.js +1 -4
- package/build/components/Session/Session.Account.Info.js.map +1 -1
- package/build/components/Session/Session.Account.js +1 -4
- package/build/components/Session/Session.Account.js.map +1 -1
- package/build/components/Session/Session.Login.Modal.js +1 -4
- package/build/components/Session/Session.Login.Modal.js.map +1 -1
- package/build/components/Session/Session.Login.js +1 -4
- package/build/components/Session/Session.Login.js.map +1 -1
- package/build/components/Session/Session.constants.js +1 -4
- package/build/components/Session/Session.constants.js.map +1 -1
- package/build/components/Session/Session.js +1 -4
- package/build/components/Session/Session.js.map +1 -1
- package/build/components/Session/Session.l10n.js +1 -4
- package/build/components/Session/Session.l10n.js.map +1 -1
- package/build/components/Session/helpers/getDomain.js +1 -4
- package/build/components/Session/helpers/getDomain.js.map +1 -1
- package/build/components/Session/helpers/getProfileUrl.js +1 -4
- package/build/components/Session/helpers/getProfileUrl.js.map +1 -1
- package/build/components/Session/helpers/getSignupUrl.js +1 -4
- package/build/components/Session/helpers/getSignupUrl.js.map +1 -1
- package/build/components/Session/helpers/index.js +1 -4
- package/build/components/Session/helpers/index.js.map +1 -1
- package/build/components/Session/index.js +1 -4
- package/build/components/Session/index.js.map +1 -1
- package/build/components/Signup/Signup.constants.js +1 -4
- package/build/components/Signup/Signup.constants.js.map +1 -1
- package/build/components/Signup/Signup.js +1 -4
- package/build/components/Signup/Signup.js.map +1 -1
- package/build/components/Signup/Signup.l10n.js +1 -4
- package/build/components/Signup/Signup.l10n.js.map +1 -1
- package/build/components/Signup/index.js +1 -4
- package/build/components/Signup/index.js.map +1 -1
- package/build/components/__shared__/BookingDates/BookingDates.constants.js +1 -4
- package/build/components/__shared__/BookingDates/BookingDates.constants.js.map +1 -1
- package/build/components/__shared__/BookingDates/BookingDates.js +1 -4
- package/build/components/__shared__/BookingDates/BookingDates.js.map +1 -1
- package/build/components/__shared__/BookingDates/BookingDates.l10n.js +1 -4
- package/build/components/__shared__/BookingDates/BookingDates.l10n.js.map +1 -1
- package/build/components/__shared__/BookingDates/index.js +1 -4
- package/build/components/__shared__/BookingDates/index.js.map +1 -1
- package/build/components/__shared__/BookingDetails/BookingDetails.constants.js +1 -4
- package/build/components/__shared__/BookingDetails/BookingDetails.constants.js.map +1 -1
- package/build/components/__shared__/BookingDetails/BookingDetails.js +1 -4
- package/build/components/__shared__/BookingDetails/BookingDetails.js.map +1 -1
- package/build/components/__shared__/BookingDetails/BookingDetails.l10n.js +1 -4
- package/build/components/__shared__/BookingDetails/BookingDetails.l10n.js.map +1 -1
- package/build/components/__shared__/BookingDetails/index.js +1 -4
- package/build/components/__shared__/BookingDetails/index.js.map +1 -1
- package/build/components/__shared__/BookingSummary/BookingSummary.constants.js +1 -4
- package/build/components/__shared__/BookingSummary/BookingSummary.constants.js.map +1 -1
- package/build/components/__shared__/BookingSummary/BookingSummary.js +1 -4
- package/build/components/__shared__/BookingSummary/BookingSummary.js.map +1 -1
- package/build/components/__shared__/BookingSummary/BookingSummary.l10n.js +1 -4
- package/build/components/__shared__/BookingSummary/BookingSummary.l10n.js.map +1 -1
- package/build/components/__shared__/BookingSummary/_tests__/BookingSummary.constants.test.js +1 -4
- package/build/components/__shared__/BookingSummary/_tests__/BookingSummary.constants.test.js.map +1 -1
- package/build/components/__shared__/BookingSummary/_tests__/BookingSummary.test.js +1 -4
- package/build/components/__shared__/BookingSummary/_tests__/BookingSummary.test.js.map +1 -1
- package/build/components/__shared__/BookingSummary/index.js +1 -4
- package/build/components/__shared__/BookingSummary/index.js.map +1 -1
- package/build/components/__shared__/BookingTable/BookingTable.Row.js +1 -4
- package/build/components/__shared__/BookingTable/BookingTable.Row.js.map +1 -1
- package/build/components/__shared__/BookingTable/BookingTable.constants.js +1 -4
- package/build/components/__shared__/BookingTable/BookingTable.constants.js.map +1 -1
- package/build/components/__shared__/BookingTable/BookingTable.js +1 -4
- package/build/components/__shared__/BookingTable/BookingTable.js.map +1 -1
- package/build/components/__shared__/BookingTable/BookingTable.l10n.js +1 -4
- package/build/components/__shared__/BookingTable/BookingTable.l10n.js.map +1 -1
- package/build/components/__shared__/BookingTable/index.js +1 -4
- package/build/components/__shared__/BookingTable/index.js.map +1 -1
- package/build/components/__shared__/BookingTerms/BookingTerms.js +1 -4
- package/build/components/__shared__/BookingTerms/BookingTerms.js.map +1 -1
- package/build/components/__shared__/BookingTerms/BookingTerms.l10n.js +1 -4
- package/build/components/__shared__/BookingTerms/BookingTerms.l10n.js.map +1 -1
- package/build/components/__shared__/BookingTerms/index.js +1 -4
- package/build/components/__shared__/BookingTerms/index.js.map +1 -1
- package/build/components/__shared__/ButtonMore/ButtonMore.js +1 -4
- package/build/components/__shared__/ButtonMore/ButtonMore.js.map +1 -1
- package/build/components/__shared__/ButtonMore/ButtonMore.l10n.js +1 -4
- package/build/components/__shared__/ButtonMore/ButtonMore.l10n.js.map +1 -1
- package/build/components/__shared__/ButtonMore/index.js +1 -4
- package/build/components/__shared__/ButtonMore/index.js.map +1 -1
- package/build/components/__shared__/ButtonPayment/ButtonPayment.constants.js +1 -4
- package/build/components/__shared__/ButtonPayment/ButtonPayment.constants.js.map +1 -1
- package/build/components/__shared__/ButtonPayment/ButtonPayment.js +1 -4
- package/build/components/__shared__/ButtonPayment/ButtonPayment.js.map +1 -1
- package/build/components/__shared__/ButtonPayment/ButtonPayment.l10n.js +1 -4
- package/build/components/__shared__/ButtonPayment/ButtonPayment.l10n.js.map +1 -1
- package/build/components/__shared__/ButtonPayment/components/Form/Form.js +1 -4
- package/build/components/__shared__/ButtonPayment/components/Form/Form.js.map +1 -1
- package/build/components/__shared__/ButtonPayment/components/Form/index.js +1 -4
- package/build/components/__shared__/ButtonPayment/components/Form/index.js.map +1 -1
- package/build/components/__shared__/ButtonPayment/components/FormAddon/FormAddon.js +1 -4
- package/build/components/__shared__/ButtonPayment/components/FormAddon/FormAddon.js.map +1 -1
- package/build/components/__shared__/ButtonPayment/components/FormAddon/FormAddon.l10n.js +1 -4
- package/build/components/__shared__/ButtonPayment/components/FormAddon/FormAddon.l10n.js.map +1 -1
- package/build/components/__shared__/ButtonPayment/components/FormAddon/helpers/getCtaKey.js +1 -4
- package/build/components/__shared__/ButtonPayment/components/FormAddon/helpers/getCtaKey.js.map +1 -1
- package/build/components/__shared__/ButtonPayment/components/FormAddon/helpers/index.js +1 -4
- package/build/components/__shared__/ButtonPayment/components/FormAddon/helpers/index.js.map +1 -1
- package/build/components/__shared__/ButtonPayment/components/FormAddon/index.js +1 -4
- package/build/components/__shared__/ButtonPayment/components/FormAddon/index.js.map +1 -1
- package/build/components/__shared__/ButtonPayment/components/FormCheckout/FormCheckout.constants.js +1 -4
- package/build/components/__shared__/ButtonPayment/components/FormCheckout/FormCheckout.constants.js.map +1 -1
- package/build/components/__shared__/ButtonPayment/components/FormCheckout/FormCheckout.js +1 -4
- package/build/components/__shared__/ButtonPayment/components/FormCheckout/FormCheckout.js.map +1 -1
- package/build/components/__shared__/ButtonPayment/components/FormCheckout/FormCheckout.l10n.js +1 -4
- package/build/components/__shared__/ButtonPayment/components/FormCheckout/FormCheckout.l10n.js.map +1 -1
- package/build/components/__shared__/ButtonPayment/components/FormCheckout/helpers/getStyle.js +1 -4
- package/build/components/__shared__/ButtonPayment/components/FormCheckout/helpers/getStyle.js.map +1 -1
- package/build/components/__shared__/ButtonPayment/components/FormCheckout/helpers/index.js +1 -4
- package/build/components/__shared__/ButtonPayment/components/FormCheckout/helpers/index.js.map +1 -1
- package/build/components/__shared__/ButtonPayment/components/FormCheckout/index.js +1 -4
- package/build/components/__shared__/ButtonPayment/components/FormCheckout/index.js.map +1 -1
- package/build/components/__shared__/ButtonPayment/components/FormPaycomet/FormPaycomet.constants.js +1 -4
- package/build/components/__shared__/ButtonPayment/components/FormPaycomet/FormPaycomet.constants.js.map +1 -1
- package/build/components/__shared__/ButtonPayment/components/FormPaycomet/FormPaycomet.js +1 -4
- package/build/components/__shared__/ButtonPayment/components/FormPaycomet/FormPaycomet.js.map +1 -1
- package/build/components/__shared__/ButtonPayment/components/FormPaycomet/FormPaycomet.l10n.js +1 -4
- package/build/components/__shared__/ButtonPayment/components/FormPaycomet/FormPaycomet.l10n.js.map +1 -1
- package/build/components/__shared__/ButtonPayment/components/FormPaycomet/helpers/index.js +1 -4
- package/build/components/__shared__/ButtonPayment/components/FormPaycomet/helpers/index.js.map +1 -1
- package/build/components/__shared__/ButtonPayment/components/FormPaycomet/helpers/useMutationObserver.js +1 -4
- package/build/components/__shared__/ButtonPayment/components/FormPaycomet/helpers/useMutationObserver.js.map +1 -1
- package/build/components/__shared__/ButtonPayment/components/FormPaycomet/index.js +1 -4
- package/build/components/__shared__/ButtonPayment/components/FormPaycomet/index.js.map +1 -1
- package/build/components/__shared__/ButtonPayment/components/FormSipay/FormSipay.constants.js +1 -4
- package/build/components/__shared__/ButtonPayment/components/FormSipay/FormSipay.constants.js.map +1 -1
- package/build/components/__shared__/ButtonPayment/components/FormSipay/FormSipay.js +1 -4
- package/build/components/__shared__/ButtonPayment/components/FormSipay/FormSipay.js.map +1 -1
- package/build/components/__shared__/ButtonPayment/components/FormSipay/FormSipay.l10n.js +1 -4
- package/build/components/__shared__/ButtonPayment/components/FormSipay/FormSipay.l10n.js.map +1 -1
- package/build/components/__shared__/ButtonPayment/components/FormSipay/helpers/getStyle.js +1 -4
- package/build/components/__shared__/ButtonPayment/components/FormSipay/helpers/getStyle.js.map +1 -1
- package/build/components/__shared__/ButtonPayment/components/FormSipay/helpers/index.js +1 -4
- package/build/components/__shared__/ButtonPayment/components/FormSipay/helpers/index.js.map +1 -1
- package/build/components/__shared__/ButtonPayment/components/FormSipay/index.js +1 -4
- package/build/components/__shared__/ButtonPayment/components/FormSipay/index.js.map +1 -1
- package/build/components/__shared__/ButtonPayment/components/InputField/InputField.js +1 -4
- package/build/components/__shared__/ButtonPayment/components/InputField/InputField.js.map +1 -1
- package/build/components/__shared__/ButtonPayment/components/InputField/index.js +1 -4
- package/build/components/__shared__/ButtonPayment/components/InputField/index.js.map +1 -1
- package/build/components/__shared__/ButtonPayment/components/index.js +1 -4
- package/build/components/__shared__/ButtonPayment/components/index.js.map +1 -1
- package/build/components/__shared__/ButtonPayment/helpers/getComponent.js +1 -4
- package/build/components/__shared__/ButtonPayment/helpers/getComponent.js.map +1 -1
- package/build/components/__shared__/ButtonPayment/helpers/getUrl.js +1 -4
- package/build/components/__shared__/ButtonPayment/helpers/getUrl.js.map +1 -1
- package/build/components/__shared__/ButtonPayment/helpers/getUrlBooking.js +1 -4
- package/build/components/__shared__/ButtonPayment/helpers/getUrlBooking.js.map +1 -1
- package/build/components/__shared__/ButtonPayment/helpers/getUrlCriptan.js +1 -4
- package/build/components/__shared__/ButtonPayment/helpers/getUrlCriptan.js.map +1 -1
- package/build/components/__shared__/ButtonPayment/helpers/getUrlTpv.js +1 -4
- package/build/components/__shared__/ButtonPayment/helpers/getUrlTpv.js.map +1 -1
- package/build/components/__shared__/ButtonPayment/helpers/index.js +1 -4
- package/build/components/__shared__/ButtonPayment/helpers/index.js.map +1 -1
- package/build/components/__shared__/ButtonPayment/helpers/loadScript.js +1 -4
- package/build/components/__shared__/ButtonPayment/helpers/loadScript.js.map +1 -1
- package/build/components/__shared__/ButtonPayment/helpers/toUrlParams.js +1 -4
- package/build/components/__shared__/ButtonPayment/helpers/toUrlParams.js.map +1 -1
- package/build/components/__shared__/ButtonPayment/index.js +1 -4
- package/build/components/__shared__/ButtonPayment/index.js.map +1 -1
- package/build/components/__shared__/Card/Card.js +1 -4
- package/build/components/__shared__/Card/Card.js.map +1 -1
- package/build/components/__shared__/Card/Cards.js +1 -4
- package/build/components/__shared__/Card/Cards.js.map +1 -1
- package/build/components/__shared__/Card/index.js +1 -4
- package/build/components/__shared__/Card/index.js.map +1 -1
- package/build/components/__shared__/Countdown/Countdown.js +1 -4
- package/build/components/__shared__/Countdown/Countdown.js.map +1 -1
- package/build/components/__shared__/Countdown/Countdown.l10n.js +1 -4
- package/build/components/__shared__/Countdown/Countdown.l10n.js.map +1 -1
- package/build/components/__shared__/Countdown/index.js +1 -4
- package/build/components/__shared__/Countdown/index.js.map +1 -1
- package/build/components/__shared__/Field/Field.js +1 -4
- package/build/components/__shared__/Field/Field.js.map +1 -1
- package/build/components/__shared__/Field/index.js +1 -4
- package/build/components/__shared__/Field/index.js.map +1 -1
- package/build/components/__shared__/FieldOccupation/FieldOccupation.js +1 -4
- package/build/components/__shared__/FieldOccupation/FieldOccupation.js.map +1 -1
- package/build/components/__shared__/FieldOccupation/FieldOccupation.l10n.js +1 -4
- package/build/components/__shared__/FieldOccupation/FieldOccupation.l10n.js.map +1 -1
- package/build/components/__shared__/FieldOccupation/index.js +1 -4
- package/build/components/__shared__/FieldOccupation/index.js.map +1 -1
- package/build/components/__shared__/FieldPromocode/FieldPromocode.constants.js +1 -4
- package/build/components/__shared__/FieldPromocode/FieldPromocode.constants.js.map +1 -1
- package/build/components/__shared__/FieldPromocode/FieldPromocode.js +1 -4
- package/build/components/__shared__/FieldPromocode/FieldPromocode.js.map +1 -1
- package/build/components/__shared__/FieldPromocode/FieldPromocode.l10n.js +1 -4
- package/build/components/__shared__/FieldPromocode/FieldPromocode.l10n.js.map +1 -1
- package/build/components/__shared__/FieldPromocode/index.js +1 -4
- package/build/components/__shared__/FieldPromocode/index.js.map +1 -1
- package/build/components/__shared__/Footer/Footer.js +1 -4
- package/build/components/__shared__/Footer/Footer.js.map +1 -1
- package/build/components/__shared__/Footer/Footer.l10n.js +1 -4
- package/build/components/__shared__/Footer/Footer.l10n.js.map +1 -1
- package/build/components/__shared__/Footer/index.js +1 -4
- package/build/components/__shared__/Footer/index.js.map +1 -1
- package/build/components/__shared__/NotificationRequiredFields/NotificationRequiredFields.js +1 -4
- package/build/components/__shared__/NotificationRequiredFields/NotificationRequiredFields.js.map +1 -1
- package/build/components/__shared__/NotificationRequiredFields/NotificationRequiredFields.l10n.js +1 -4
- package/build/components/__shared__/NotificationRequiredFields/NotificationRequiredFields.l10n.js.map +1 -1
- package/build/components/__shared__/NotificationRequiredFields/index.js +1 -4
- package/build/components/__shared__/NotificationRequiredFields/index.js.map +1 -1
- package/build/components/__shared__/Occupation/Occupation.Group.js +1 -4
- package/build/components/__shared__/Occupation/Occupation.Group.js.map +1 -1
- package/build/components/__shared__/Occupation/Occupation.constants.js +1 -4
- package/build/components/__shared__/Occupation/Occupation.constants.js.map +1 -1
- package/build/components/__shared__/Occupation/Occupation.js +1 -4
- package/build/components/__shared__/Occupation/Occupation.js.map +1 -1
- package/build/components/__shared__/Occupation/Occupation.l10n.js +1 -4
- package/build/components/__shared__/Occupation/Occupation.l10n.js.map +1 -1
- package/build/components/__shared__/Occupation/helpers/checkRoom.js +1 -4
- package/build/components/__shared__/Occupation/helpers/checkRoom.js.map +1 -1
- package/build/components/__shared__/Occupation/helpers/consolidateValue.js +1 -4
- package/build/components/__shared__/Occupation/helpers/consolidateValue.js.map +1 -1
- package/build/components/__shared__/Occupation/helpers/getAgeOptions.js +1 -4
- package/build/components/__shared__/Occupation/helpers/getAgeOptions.js.map +1 -1
- package/build/components/__shared__/Occupation/helpers/getScrollHeight.js +1 -4
- package/build/components/__shared__/Occupation/helpers/getScrollHeight.js.map +1 -1
- package/build/components/__shared__/Occupation/helpers/index.js +1 -4
- package/build/components/__shared__/Occupation/helpers/index.js.map +1 -1
- package/build/components/__shared__/Occupation/helpers/toParties.js +1 -4
- package/build/components/__shared__/Occupation/helpers/toParties.js.map +1 -1
- package/build/components/__shared__/Occupation/index.js +1 -4
- package/build/components/__shared__/Occupation/index.js.map +1 -1
- package/build/components/__shared__/Payment/Payment.constants.js +1 -4
- package/build/components/__shared__/Payment/Payment.constants.js.map +1 -1
- package/build/components/__shared__/Payment/Payment.js +1 -4
- package/build/components/__shared__/Payment/Payment.js.map +1 -1
- package/build/components/__shared__/Payment/Payment.l10n.js +1 -4
- package/build/components/__shared__/Payment/Payment.l10n.js.map +1 -1
- package/build/components/__shared__/Payment/components/AmazonPay/AmazonPay.constants.js +1 -4
- package/build/components/__shared__/Payment/components/AmazonPay/AmazonPay.constants.js.map +1 -1
- package/build/components/__shared__/Payment/components/AmazonPay/AmazonPay.js +1 -4
- package/build/components/__shared__/Payment/components/AmazonPay/AmazonPay.js.map +1 -1
- package/build/components/__shared__/Payment/components/AmazonPay/AmazonPay.l10n.js +1 -4
- package/build/components/__shared__/Payment/components/AmazonPay/AmazonPay.l10n.js.map +1 -1
- package/build/components/__shared__/Payment/components/AmazonPay/helpers/getScriptUrl.js +1 -4
- package/build/components/__shared__/Payment/components/AmazonPay/helpers/getScriptUrl.js.map +1 -1
- package/build/components/__shared__/Payment/components/AmazonPay/helpers/index.js +1 -4
- package/build/components/__shared__/Payment/components/AmazonPay/helpers/index.js.map +1 -1
- package/build/components/__shared__/Payment/components/AmazonPay/index.js +1 -4
- package/build/components/__shared__/Payment/components/AmazonPay/index.js.map +1 -1
- package/build/components/__shared__/Payment/components/Aplazame/Aplazame.js +1 -4
- package/build/components/__shared__/Payment/components/Aplazame/Aplazame.js.map +1 -1
- package/build/components/__shared__/Payment/components/Aplazame/Aplazame.l10n.js +1 -4
- package/build/components/__shared__/Payment/components/Aplazame/Aplazame.l10n.js.map +1 -1
- package/build/components/__shared__/Payment/components/Aplazame/index.js +1 -4
- package/build/components/__shared__/Payment/components/Aplazame/index.js.map +1 -1
- package/build/components/__shared__/Payment/components/Card/Card.constants.js +1 -4
- package/build/components/__shared__/Payment/components/Card/Card.constants.js.map +1 -1
- package/build/components/__shared__/Payment/components/Card/Card.js +1 -4
- package/build/components/__shared__/Payment/components/Card/Card.js.map +1 -1
- package/build/components/__shared__/Payment/components/Card/Card.l10n.js +1 -4
- package/build/components/__shared__/Payment/components/Card/Card.l10n.js.map +1 -1
- package/build/components/__shared__/Payment/components/Card/helpers/formatValues.js +1 -4
- package/build/components/__shared__/Payment/components/Card/helpers/formatValues.js.map +1 -1
- package/build/components/__shared__/Payment/components/Card/helpers/getCardConfig.js +1 -4
- package/build/components/__shared__/Payment/components/Card/helpers/getCardConfig.js.map +1 -1
- package/build/components/__shared__/Payment/components/Card/helpers/getCardType.js +1 -4
- package/build/components/__shared__/Payment/components/Card/helpers/getCardType.js.map +1 -1
- package/build/components/__shared__/Payment/components/Card/helpers/index.js +1 -4
- package/build/components/__shared__/Payment/components/Card/helpers/index.js.map +1 -1
- package/build/components/__shared__/Payment/components/Card/helpers/testCVV.js +1 -4
- package/build/components/__shared__/Payment/components/Card/helpers/testCVV.js.map +1 -1
- package/build/components/__shared__/Payment/components/Card/helpers/testCard.js +1 -4
- package/build/components/__shared__/Payment/components/Card/helpers/testCard.js.map +1 -1
- package/build/components/__shared__/Payment/components/Card/helpers/testExpire.js +1 -4
- package/build/components/__shared__/Payment/components/Card/helpers/testExpire.js.map +1 -1
- package/build/components/__shared__/Payment/components/Card/index.js +1 -4
- package/build/components/__shared__/Payment/components/Card/index.js.map +1 -1
- package/build/components/__shared__/Payment/components/PCI/PCI.constants.js +1 -4
- package/build/components/__shared__/Payment/components/PCI/PCI.constants.js.map +1 -1
- package/build/components/__shared__/Payment/components/PCI/PCI.js +1 -4
- package/build/components/__shared__/Payment/components/PCI/PCI.js.map +1 -1
- package/build/components/__shared__/Payment/components/PCI/PCI.l10n.js +1 -4
- package/build/components/__shared__/Payment/components/PCI/PCI.l10n.js.map +1 -1
- package/build/components/__shared__/Payment/components/PCI/helpers/formatValues.js +1 -4
- package/build/components/__shared__/Payment/components/PCI/helpers/formatValues.js.map +1 -1
- package/build/components/__shared__/Payment/components/PCI/helpers/getStyle.js +1 -4
- package/build/components/__shared__/Payment/components/PCI/helpers/getStyle.js.map +1 -1
- package/build/components/__shared__/Payment/components/PCI/helpers/index.js +1 -4
- package/build/components/__shared__/Payment/components/PCI/helpers/index.js.map +1 -1
- package/build/components/__shared__/Payment/components/PCI/index.js +1 -4
- package/build/components/__shared__/Payment/components/PCI/index.js.map +1 -1
- package/build/components/__shared__/Payment/components/Tpv/Tpv.js +1 -4
- package/build/components/__shared__/Payment/components/Tpv/Tpv.js.map +1 -1
- package/build/components/__shared__/Payment/components/Tpv/Tpv.l10n.js +1 -4
- package/build/components/__shared__/Payment/components/Tpv/Tpv.l10n.js.map +1 -1
- package/build/components/__shared__/Payment/components/Tpv/index.js +1 -4
- package/build/components/__shared__/Payment/components/Tpv/index.js.map +1 -1
- package/build/components/__shared__/Payment/components/index.js +1 -4
- package/build/components/__shared__/Payment/components/index.js.map +1 -1
- package/build/components/__shared__/Payment/helpers/formatExpire.js +1 -4
- package/build/components/__shared__/Payment/helpers/formatExpire.js.map +1 -1
- package/build/components/__shared__/Payment/helpers/getCaption.js +1 -4
- package/build/components/__shared__/Payment/helpers/getCaption.js.map +1 -1
- package/build/components/__shared__/Payment/helpers/getComponent.js +1 -4
- package/build/components/__shared__/Payment/helpers/getComponent.js.map +1 -1
- package/build/components/__shared__/Payment/helpers/getImage.js +1 -4
- package/build/components/__shared__/Payment/helpers/getImage.js.map +1 -1
- package/build/components/__shared__/Payment/helpers/index.js +1 -4
- package/build/components/__shared__/Payment/helpers/index.js.map +1 -1
- package/build/components/__shared__/Payment/index.js +1 -4
- package/build/components/__shared__/Payment/index.js.map +1 -1
- package/build/components/__shared__/PriceBreakdown/PriceBreakdown.Line.js +1 -4
- package/build/components/__shared__/PriceBreakdown/PriceBreakdown.Line.js.map +1 -1
- package/build/components/__shared__/PriceBreakdown/PriceBreakdown.js +1 -4
- package/build/components/__shared__/PriceBreakdown/PriceBreakdown.js.map +1 -1
- package/build/components/__shared__/PriceBreakdown/PriceBreakdown.l10n.js +1 -4
- package/build/components/__shared__/PriceBreakdown/PriceBreakdown.l10n.js.map +1 -1
- package/build/components/__shared__/PriceBreakdown/index.js +1 -4
- package/build/components/__shared__/PriceBreakdown/index.js.map +1 -1
- package/build/components/__shared__/SelectEnvironment/SelectEnvironment.constants.js +1 -4
- package/build/components/__shared__/SelectEnvironment/SelectEnvironment.constants.js.map +1 -1
- package/build/components/__shared__/SelectEnvironment/SelectEnvironment.js +1 -4
- package/build/components/__shared__/SelectEnvironment/SelectEnvironment.js.map +1 -1
- package/build/components/__shared__/SelectEnvironment/SelectEnvironment.l10n.js +1 -4
- package/build/components/__shared__/SelectEnvironment/SelectEnvironment.l10n.js.map +1 -1
- package/build/components/__shared__/SelectEnvironment/index.js +1 -4
- package/build/components/__shared__/SelectEnvironment/index.js.map +1 -1
- package/build/components/__shared__/Skeleton/Skeleton.js +1 -4
- package/build/components/__shared__/Skeleton/Skeleton.js.map +1 -1
- package/build/components/__shared__/Skeleton/index.js +1 -4
- package/build/components/__shared__/Skeleton/index.js.map +1 -1
- package/build/components/__shared__/TextRequiredFields/TextRequiredFields.js +1 -4
- package/build/components/__shared__/TextRequiredFields/TextRequiredFields.js.map +1 -1
- package/build/components/__shared__/TextRequiredFields/TextRequiredFields.l10n.js +1 -4
- package/build/components/__shared__/TextRequiredFields/TextRequiredFields.l10n.js.map +1 -1
- package/build/components/__shared__/TextRequiredFields/index.js +1 -4
- package/build/components/__shared__/TextRequiredFields/index.js.map +1 -1
- package/build/components/__shared__/index.js +1 -4
- package/build/components/__shared__/index.js.map +1 -1
- package/build/components/helpers/ICON.AMENITIES.js +1 -4
- package/build/components/helpers/ICON.AMENITIES.js.map +1 -1
- package/build/components/helpers/ICON.js +1 -4
- package/build/components/helpers/ICON.js.map +1 -1
- package/build/components/helpers/addScript.js +1 -4
- package/build/components/helpers/addScript.js.map +1 -1
- package/build/components/helpers/constants.js +1 -4
- package/build/components/helpers/constants.js.map +1 -1
- package/build/components/helpers/generateId.js +1 -4
- package/build/components/helpers/generateId.js.map +1 -1
- package/build/components/helpers/getAccommodationLabel.js +1 -4
- package/build/components/helpers/getAccommodationLabel.js.map +1 -1
- package/build/components/helpers/getAccommodationType.js +1 -4
- package/build/components/helpers/getAccommodationType.js.map +1 -1
- package/build/components/helpers/getAgeRange.js +1 -4
- package/build/components/helpers/getAgeRange.js.map +1 -1
- package/build/components/helpers/getCalendarCaption.js +1 -4
- package/build/components/helpers/getCalendarCaption.js.map +1 -1
- package/build/components/helpers/getCountryCode.js +1 -4
- package/build/components/helpers/getCountryCode.js.map +1 -1
- package/build/components/helpers/getGuestLabel.js +1 -4
- package/build/components/helpers/getGuestLabel.js.map +1 -1
- package/build/components/helpers/getNormalizedLocale.js +1 -4
- package/build/components/helpers/getNormalizedLocale.js.map +1 -1
- package/build/components/helpers/getOccupationLabel.js +1 -4
- package/build/components/helpers/getOccupationLabel.js.map +1 -1
- package/build/components/helpers/getOccupationSummary.js +1 -4
- package/build/components/helpers/getOccupationSummary.js.map +1 -1
- package/build/components/helpers/getOccupationTotals.js +1 -4
- package/build/components/helpers/getOccupationTotals.js.map +1 -1
- package/build/components/helpers/getRoomNumber.js +1 -4
- package/build/components/helpers/getRoomNumber.js.map +1 -1
- package/build/components/helpers/getRoomOccupationLabel.js +1 -4
- package/build/components/helpers/getRoomOccupationLabel.js.map +1 -1
- package/build/components/helpers/index.js +1 -4
- package/build/components/helpers/index.js.map +1 -1
- package/build/components/helpers/isJest.js +1 -4
- package/build/components/helpers/isJest.js.map +1 -1
- package/build/components/helpers/opacity.js +1 -4
- package/build/components/helpers/opacity.js.map +1 -1
- package/build/components/helpers/parseHtml.js +1 -4
- package/build/components/helpers/parseHtml.js.map +1 -1
- package/build/components/helpers/parseToParties.js +1 -4
- package/build/components/helpers/parseToParties.js.map +1 -1
- package/build/components/helpers/parseValue.js +1 -4
- package/build/components/helpers/parseValue.js.map +1 -1
- package/build/components/helpers/replaceUrlParams.js +1 -4
- package/build/components/helpers/replaceUrlParams.js.map +1 -1
- package/build/components/helpers/template.js +1 -4
- package/build/components/helpers/template.js.map +1 -1
- package/build/components/helpers/testPassword.js +1 -4
- package/build/components/helpers/testPassword.js.map +1 -1
- package/build/components/helpers/toQueryString.js +1 -4
- package/build/components/helpers/toQueryString.js.map +1 -1
- package/build/components/helpers/toUrlParams.js +1 -4
- package/build/components/helpers/toUrlParams.js.map +1 -1
- package/build/components/helpers/trace.js +1 -4
- package/build/components/helpers/trace.js.map +1 -1
- package/build/components/helpers/valueFormat.js +1 -4
- package/build/components/helpers/valueFormat.js.map +1 -1
- package/build/components/index.js +1 -4
- package/build/components/index.js.map +1 -1
- package/build/contexts/EventManager/EventManager.constants.js +1 -4
- package/build/contexts/EventManager/EventManager.constants.js.map +1 -1
- package/build/contexts/EventManager/EventManager.js +1 -4
- package/build/contexts/EventManager/EventManager.js.map +1 -1
- package/build/contexts/EventManager/index.js +1 -4
- package/build/contexts/EventManager/index.js.map +1 -1
- package/build/contexts/PerformanceManager/PerformanceManager.constants.js +1 -4
- package/build/contexts/PerformanceManager/PerformanceManager.constants.js.map +1 -1
- package/build/contexts/PerformanceManager/PerformanceManager.events.js +1 -4
- package/build/contexts/PerformanceManager/PerformanceManager.events.js.map +1 -1
- package/build/contexts/PerformanceManager/PerformanceManager.js +1 -4
- package/build/contexts/PerformanceManager/PerformanceManager.js.map +1 -1
- package/build/contexts/PerformanceManager/PerformanceManager.scripts.js +1 -4
- package/build/contexts/PerformanceManager/PerformanceManager.scripts.js.map +1 -1
- package/build/contexts/PerformanceManager/helpers/dataLayerPush.js +1 -4
- package/build/contexts/PerformanceManager/helpers/dataLayerPush.js.map +1 -1
- package/build/contexts/PerformanceManager/helpers/getConsentMode.js +1 -4
- package/build/contexts/PerformanceManager/helpers/getConsentMode.js.map +1 -1
- package/build/contexts/PerformanceManager/helpers/getPerformanceLabel.js +1 -4
- package/build/contexts/PerformanceManager/helpers/getPerformanceLabel.js.map +1 -1
- package/build/contexts/PerformanceManager/helpers/index.js +1 -4
- package/build/contexts/PerformanceManager/helpers/index.js.map +1 -1
- package/build/contexts/PerformanceManager/index.js +1 -4
- package/build/contexts/PerformanceManager/index.js.map +1 -1
- package/build/contexts/PerformanceManager/providers/affilired/bookingResponse.js +1 -4
- package/build/contexts/PerformanceManager/providers/affilired/bookingResponse.js.map +1 -1
- package/build/contexts/PerformanceManager/providers/affilired/index.js +1 -4
- package/build/contexts/PerformanceManager/providers/affilired/index.js.map +1 -1
- package/build/contexts/PerformanceManager/providers/analytics/bookingCancel.js +1 -4
- package/build/contexts/PerformanceManager/providers/analytics/bookingCancel.js.map +1 -1
- package/build/contexts/PerformanceManager/providers/analytics/bookingResponse.js +1 -4
- package/build/contexts/PerformanceManager/providers/analytics/bookingResponse.js.map +1 -1
- package/build/contexts/PerformanceManager/providers/analytics/checkoutForm.js +1 -4
- package/build/contexts/PerformanceManager/providers/analytics/checkoutForm.js.map +1 -1
- package/build/contexts/PerformanceManager/providers/analytics/checkoutResponse.js +1 -4
- package/build/contexts/PerformanceManager/providers/analytics/checkoutResponse.js.map +1 -1
- package/build/contexts/PerformanceManager/providers/analytics/finderReady.js +1 -4
- package/build/contexts/PerformanceManager/providers/analytics/finderReady.js.map +1 -1
- package/build/contexts/PerformanceManager/providers/analytics/helpers/index.js +1 -4
- package/build/contexts/PerformanceManager/providers/analytics/helpers/index.js.map +1 -1
- package/build/contexts/PerformanceManager/providers/analytics/helpers/parseCommon.js +1 -4
- package/build/contexts/PerformanceManager/providers/analytics/helpers/parseCommon.js.map +1 -1
- package/build/contexts/PerformanceManager/providers/analytics/helpers/parseItems.js +1 -4
- package/build/contexts/PerformanceManager/providers/analytics/helpers/parseItems.js.map +1 -1
- package/build/contexts/PerformanceManager/providers/analytics/helpers/parseRate.js +1 -4
- package/build/contexts/PerformanceManager/providers/analytics/helpers/parseRate.js.map +1 -1
- package/build/contexts/PerformanceManager/providers/analytics/index.js +1 -4
- package/build/contexts/PerformanceManager/providers/analytics/index.js.map +1 -1
- package/build/contexts/PerformanceManager/providers/analytics/logged.js +1 -4
- package/build/contexts/PerformanceManager/providers/analytics/logged.js.map +1 -1
- package/build/contexts/PerformanceManager/providers/analytics/ratesAddToCart.js +1 -4
- package/build/contexts/PerformanceManager/providers/analytics/ratesAddToCart.js.map +1 -1
- package/build/contexts/PerformanceManager/providers/analytics/ratesResponse.js +1 -4
- package/build/contexts/PerformanceManager/providers/analytics/ratesResponse.js.map +1 -1
- package/build/contexts/PerformanceManager/providers/bing/bookingResponse.js +1 -4
- package/build/contexts/PerformanceManager/providers/bing/bookingResponse.js.map +1 -1
- package/build/contexts/PerformanceManager/providers/bing/index.js +1 -4
- package/build/contexts/PerformanceManager/providers/bing/index.js.map +1 -1
- package/build/contexts/PerformanceManager/providers/facebook/bookingResponse.js +1 -4
- package/build/contexts/PerformanceManager/providers/facebook/bookingResponse.js.map +1 -1
- package/build/contexts/PerformanceManager/providers/facebook/checkoutResponse.js +1 -4
- package/build/contexts/PerformanceManager/providers/facebook/checkoutResponse.js.map +1 -1
- package/build/contexts/PerformanceManager/providers/facebook/helpers/getCookies.js +1 -4
- package/build/contexts/PerformanceManager/providers/facebook/helpers/getCookies.js.map +1 -1
- package/build/contexts/PerformanceManager/providers/facebook/helpers/index.js +1 -4
- package/build/contexts/PerformanceManager/providers/facebook/helpers/index.js.map +1 -1
- package/build/contexts/PerformanceManager/providers/facebook/helpers/parseCustomData.js +1 -4
- package/build/contexts/PerformanceManager/providers/facebook/helpers/parseCustomData.js.map +1 -1
- package/build/contexts/PerformanceManager/providers/facebook/helpers/parseUserData.js +1 -4
- package/build/contexts/PerformanceManager/providers/facebook/helpers/parseUserData.js.map +1 -1
- package/build/contexts/PerformanceManager/providers/facebook/helpers/sendData.js +1 -4
- package/build/contexts/PerformanceManager/providers/facebook/helpers/sendData.js.map +1 -1
- package/build/contexts/PerformanceManager/providers/facebook/index.js +1 -4
- package/build/contexts/PerformanceManager/providers/facebook/index.js.map +1 -1
- package/build/contexts/PerformanceManager/providers/facebook/ratesAddToCart.js +1 -4
- package/build/contexts/PerformanceManager/providers/facebook/ratesAddToCart.js.map +1 -1
- package/build/contexts/PerformanceManager/providers/facebook/ratesResponse.js +1 -4
- package/build/contexts/PerformanceManager/providers/facebook/ratesResponse.js.map +1 -1
- package/build/contexts/PerformanceManager/providers/googleAds/bookingResponse.js +1 -4
- package/build/contexts/PerformanceManager/providers/googleAds/bookingResponse.js.map +1 -1
- package/build/contexts/PerformanceManager/providers/googleAds/index.js +1 -4
- package/build/contexts/PerformanceManager/providers/googleAds/index.js.map +1 -1
- package/build/contexts/PerformanceManager/providers/gtm/bookingCancel.js +1 -4
- package/build/contexts/PerformanceManager/providers/gtm/bookingCancel.js.map +1 -1
- package/build/contexts/PerformanceManager/providers/gtm/bookingResponse.js +1 -4
- package/build/contexts/PerformanceManager/providers/gtm/bookingResponse.js.map +1 -1
- package/build/contexts/PerformanceManager/providers/gtm/checkoutResponse.js +1 -4
- package/build/contexts/PerformanceManager/providers/gtm/checkoutResponse.js.map +1 -1
- package/build/contexts/PerformanceManager/providers/gtm/duetto/bookingResponse.js +1 -4
- package/build/contexts/PerformanceManager/providers/gtm/duetto/bookingResponse.js.map +1 -1
- package/build/contexts/PerformanceManager/providers/gtm/duetto/index.js +1 -4
- package/build/contexts/PerformanceManager/providers/gtm/duetto/index.js.map +1 -1
- package/build/contexts/PerformanceManager/providers/gtm/duetto/ratesResponse.js +1 -4
- package/build/contexts/PerformanceManager/providers/gtm/duetto/ratesResponse.js.map +1 -1
- package/build/contexts/PerformanceManager/providers/gtm/finderReady.js +1 -4
- package/build/contexts/PerformanceManager/providers/gtm/finderReady.js.map +1 -1
- package/build/contexts/PerformanceManager/providers/gtm/helpers/getInitEvent.js +1 -4
- package/build/contexts/PerformanceManager/providers/gtm/helpers/getInitEvent.js.map +1 -1
- package/build/contexts/PerformanceManager/providers/gtm/helpers/index.js +1 -4
- package/build/contexts/PerformanceManager/providers/gtm/helpers/index.js.map +1 -1
- package/build/contexts/PerformanceManager/providers/gtm/helpers/parseRate.js +1 -4
- package/build/contexts/PerformanceManager/providers/gtm/helpers/parseRate.js.map +1 -1
- package/build/contexts/PerformanceManager/providers/gtm/index.js +1 -4
- package/build/contexts/PerformanceManager/providers/gtm/index.js.map +1 -1
- package/build/contexts/PerformanceManager/providers/gtm/ratesResponse.js +1 -4
- package/build/contexts/PerformanceManager/providers/gtm/ratesResponse.js.map +1 -1
- package/build/contexts/PerformanceManager/providers/helpers/SHA256.js +1 -4
- package/build/contexts/PerformanceManager/providers/helpers/SHA256.js.map +1 -1
- package/build/contexts/PerformanceManager/providers/helpers/getFirstOccupationOption.js +1 -4
- package/build/contexts/PerformanceManager/providers/helpers/getFirstOccupationOption.js.map +1 -1
- package/build/contexts/PerformanceManager/providers/helpers/getRatesPriceRange.js +1 -4
- package/build/contexts/PerformanceManager/providers/helpers/getRatesPriceRange.js.map +1 -1
- package/build/contexts/PerformanceManager/providers/helpers/getRoomPriceRange.js +1 -4
- package/build/contexts/PerformanceManager/providers/helpers/getRoomPriceRange.js.map +1 -1
- package/build/contexts/PerformanceManager/providers/helpers/getRoomsPriceRange.js +1 -4
- package/build/contexts/PerformanceManager/providers/helpers/getRoomsPriceRange.js.map +1 -1
- package/build/contexts/PerformanceManager/providers/helpers/index.js +1 -4
- package/build/contexts/PerformanceManager/providers/helpers/index.js.map +1 -1
- package/build/contexts/PerformanceManager/providers/helpers/legacy.js +1 -4
- package/build/contexts/PerformanceManager/providers/helpers/legacy.js.map +1 -1
- package/build/contexts/PerformanceManager/providers/index.js +1 -4
- package/build/contexts/PerformanceManager/providers/index.js.map +1 -1
- package/build/contexts/PerformanceManager/providers/mirai/bookingResponse.js +1 -4
- package/build/contexts/PerformanceManager/providers/mirai/bookingResponse.js.map +1 -1
- package/build/contexts/PerformanceManager/providers/mirai/index.js +1 -4
- package/build/contexts/PerformanceManager/providers/mirai/index.js.map +1 -1
- package/build/contexts/index.js +1 -4
- package/build/contexts/index.js.map +1 -1
- package/build/helpers/checkSession.js +1 -4
- package/build/helpers/checkSession.js.map +1 -1
- package/build/helpers/consolidateStore.js +1 -4
- package/build/helpers/consolidateStore.js.map +1 -1
- package/build/helpers/debounce.js +1 -4
- package/build/helpers/debounce.js.map +1 -1
- package/build/helpers/fetchConfig.js +1 -4
- package/build/helpers/fetchConfig.js.map +1 -1
- package/build/helpers/fetchCookies.js +1 -4
- package/build/helpers/fetchCookies.js.map +1 -1
- package/build/helpers/fetchCurrency.js +1 -4
- package/build/helpers/fetchCurrency.js.map +1 -1
- package/build/helpers/fetchSession.js +1 -4
- package/build/helpers/fetchSession.js.map +1 -1
- package/build/helpers/fetchUrlParams.js +1 -4
- package/build/helpers/fetchUrlParams.js.map +1 -1
- package/build/helpers/findComponents.js +1 -4
- package/build/helpers/findComponents.js.map +1 -1
- package/build/helpers/findDangerousCSSRules.js +1 -4
- package/build/helpers/findDangerousCSSRules.js.map +1 -1
- package/build/helpers/findInstance.js +1 -4
- package/build/helpers/findInstance.js.map +1 -1
- package/build/helpers/getAccommodationType.js +1 -4
- package/build/helpers/getAccommodationType.js.map +1 -1
- package/build/helpers/getClubUrl.js +1 -4
- package/build/helpers/getClubUrl.js.map +1 -1
- package/build/helpers/getContents.js +1 -4
- package/build/helpers/getContents.js.map +1 -1
- package/build/helpers/getGhost.js +1 -4
- package/build/helpers/getGhost.js.map +1 -1
- package/build/helpers/getLocale.js +1 -4
- package/build/helpers/getLocale.js.map +1 -1
- package/build/helpers/getMetaRates.js +1 -4
- package/build/helpers/getMetaRates.js.map +1 -1
- package/build/helpers/getPerformance.js +1 -4
- package/build/helpers/getPerformance.js.map +1 -1
- package/build/helpers/getTags.js +1 -4
- package/build/helpers/getTags.js.map +1 -1
- package/build/helpers/index.js +1 -4
- package/build/helpers/index.js.map +1 -1
- package/build/helpers/loadEnvironment.js +1 -4
- package/build/helpers/loadEnvironment.js.map +1 -1
- package/build/helpers/loadScript.js +1 -4
- package/build/helpers/loadScript.js.map +1 -1
- package/build/helpers/loadSentry.js +1 -4
- package/build/helpers/loadSentry.js.map +1 -1
- package/build/helpers/prepareRoom.js +1 -4
- package/build/helpers/prepareRoom.js.map +1 -1
- package/build/helpers/sanitizeComponent.js +1 -4
- package/build/helpers/sanitizeComponent.js.map +1 -1
- package/build/helpers/theme.js +1 -4
- package/build/helpers/theme.js.map +1 -1
- package/build/helpers/themeDirection.js +1 -4
- package/build/helpers/themeDirection.js.map +1 -1
- package/build/helpers/toOccupation.js +1 -4
- package/build/helpers/toOccupation.js.map +1 -1
- package/build/index.js +1 -4
- package/build/index.js.map +1 -1
- package/package.json +4 -4
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"consolidateStore.js","sources":["../../src/helpers/consolidateStore.js"],"sourcesContent":["import { LocalAdapter, Storage } from '@mirai/data-sources';\nimport { COUNTRIES, dateCalc, dateDiff, dateFormat, DEFAULT_CURRENCY, parseDate, UTC } from '@mirai/locale';\n\nimport { fetchCurrency } from './fetchCurrency';\nimport { getAccommodationType } from './getAccommodationType';\nimport { getLocale } from './getLocale';\nimport { getMetaRates } from './getMetaRates';\nimport { getPerformance } from './getPerformance';\nimport { getTags } from './getTags';\nimport { prepareRoom } from './prepareRoom';\nimport { toOccupation } from './toOccupation';\nimport { CALENDAR_FORMAT, FINDER_STORAGE_KEY, TAX_DEFAULT, TAXES, TYPE, TYPE_COMMISSION } from '../Core.constants';\n\nconst IS_JEST = !!process?.env?.JEST_WORKER_ID;\n\n/* eslint-disable no-unused-vars */\nexport const consolidateStore = async ({\n components = [],\n config = {},\n cookies = {},\n instance: { el, hotel: hotelId, id, type, ...instance } = {},\n session,\n urlParams = {},\n} = {}) => {\n const { miraiId } = urlParams;\n const isRates = components.some(({ component } = {}) => component === 'rates');\n\n // -- calendar -------------------------------------------------------------------------------------------------------\n const {\n maxDays = 365,\n maxNights: rangeMaxDays = 31,\n nightsForDeal: rangeMinDays,\n prices: showPrices = false,\n pricesWithTaxes: pricesLegend,\n } = config.accomodation?.calendar || {};\n const calendar = {\n rangeMaxDays,\n rangeMinDays,\n pricesLegend: TAXES.includes(pricesLegend) ? pricesLegend : showPrices ? TAX_DEFAULT : undefined,\n showPrices,\n to: !IS_JEST ? dateFormat(dateCalc(new Date(), maxDays, 'days'), { format: CALENDAR_FORMAT }) : undefined,\n };\n\n // -- language, country & locale -------------------------------------------------------------------------------------\n const { language, country, locale } = getLocale(instance, urlParams);\n\n // -- currency -------------------------------------------------------------------------------------------------------\n const currency =\n urlParams.currency ||\n instance.currency ||\n (type === TYPE.HOTEL && !IS_JEST ? await fetchCurrency(id) : DEFAULT_CURRENCY);\n\n // -- club -----------------------------------------------------------------------------------------------------------\n let club;\n const { club: { active } = {} } = config?.club || {};\n if (active) {\n let {\n accomodation: { club: { banner, discount: discountEnabled = false, rates = false } = {}, variants = [] },\n club: {\n club: { authentication, idClub: id, name },\n conditionsUrl: conditions,\n privacyPolicyUrl: privacy,\n },\n } = config;\n\n let { applyClubDiscount, idtokenprovider: idHotel = '' } = urlParams;\n let discount = applyClubDiscount ? applyClubDiscount === 'true' : undefined;\n\n if (discount === undefined) {\n discount = rates;\n if (type === TYPE.CHAIN) {\n let { discount: variantDiscount, rates: variantRates } =\n variants.find(({ id = '' } = {}) => id.toString() === idHotel.toString()) || {};\n discountEnabled = variantDiscount || discountEnabled;\n discount = variantRates || rates;\n }\n }\n\n club = {\n active,\n authentication,\n banner,\n discount: active && discountEnabled ? discount : undefined,\n id,\n name,\n url: { conditions, privacy },\n variants: variants\n .filter(({ club } = {}) => club)\n .map(({ club: { discount: enabled, rates: active } = {}, id } = {}) => ({ active, enabled, id })),\n };\n }\n\n // -- hotel ----------------------------------------------------------------------------------------------------------\n const hotel = {\n accommodationType: getAccommodationType(config.lodgingDenomination, hotelId),\n features: config.accomodation?.features || {},\n id: type === TYPE.CHAIN ? urlParams.idtokenprovider || urlParams.idHotel || hotelId : id,\n url: urlParams.home || window.location.origin,\n warningAvailability: config.minRoomsEngineNotification,\n };\n\n if (type === TYPE.CHAIN) {\n const { hotels = {} } = config;\n hotel.variants = {};\n\n Object.entries(hotels).map(([key, { lodgingDenomination: accommodationType }]) => {\n hotel.variants[key] = { accommodationType };\n });\n }\n\n // -- occupation -----------------------------------------------------------------------------------------------------\n const occupation = {\n dataSource: config.accomodation?.occupation || [\n { type: TYPE.ADULT, min: 1, age: [18] },\n { type: TYPE.CHILD, age: [0, 17], fulfill: true },\n ],\n maxRooms: config.accomodation?.rooms?.maxOccupation,\n variants: config.accomodation?.variants || [],\n };\n\n // -- origin ---------------------------------------------------------------------------------------------------------\n const origin = {\n commissionCode: urlParams.hsri || TYPE_COMMISSION[type],\n };\n\n // -- tags -----------------------------------------------------------------------------------------------------------\n const { chainSelector } = config;\n let tags;\n if (type === TYPE.CHAIN && chainSelector) {\n const { placeHolder = {}, trees = [] } = chainSelector;\n tags = { options: getTags(trees, language), placeholder: placeHolder[language] };\n }\n\n // -- finder ---------------------------------------------------------------------------------------------------------\n const storageFinder = !isRates ? new Storage({ adapter: LocalAdapter }).get(`${FINDER_STORAGE_KEY}:${id}`) || {} : {};\n\n let { chainSelectorValue, checkin, clientCode, nights = isRates ? 1 : 0, parties } = urlParams;\n checkin = checkin ? parseDate(checkin) : isRates ? UTC(new Date()) : undefined;\n let checkout;\n\n if (checkin) checkout = dateCalc(checkin, parseInt(nights), 'days');\n\n let promo;\n if (config.showPromoNav) {\n const { accomodation: { promo: configPromo = {} } = {}, promoText: placeholder = {} } = config;\n promo = { ...configPromo, placeholder };\n }\n\n let place;\n if (tags) {\n place = tags.options.find(\n ({ id: [idHotel] = [], isHotel, value } = {}) =>\n (chainSelectorValue && value === Number(chainSelectorValue)) || (isHotel && hotel.id === idHotel),\n );\n\n const { id: [id] = [] } = place || {};\n const { accommodationType } = hotel.variants[id] || {};\n if (accommodationType) hotel.accommodationType = accommodationType;\n }\n\n let finder = {\n place: place || storageFinder.place,\n calendar: checkin\n ? [checkin, checkout]\n : storageFinder.calendar && dateDiff(new Date(), new Date(storageFinder.calendar[0])).days > -1\n ? [new Date(storageFinder.calendar[0]), new Date(storageFinder.calendar[1])]\n : [],\n occupation: parties\n ? toOccupation({ chainSelectorValue, occupation, parties, places: tags?.options })\n : isRates\n ? [prepareRoom(occupation.dataSource)]\n : storageFinder.occupation || undefined,\n promocode: clientCode || promo?.code || storageFinder.promocode,\n };\n\n // -- forwarder ------------------------------------------------------------------------------------------------------\n const host = `${document.location.protocol}//${document.location.host}`;\n const isDevelopment = process.env.NODE_ENV === 'development' || window.IS_PLAYWRIGHT;\n const forwarder = {\n rates: miraiId ? `${host}/step1-rates` : `${process.env.SERVICE_BOOKING}/miraiFrontDispatcher.htm`,\n checkout: miraiId ? `${host}/step2-checkout` : `${process.env.SERVICE_BOOKING}/forwarder_client_form.htm`,\n booking: miraiId ? `${host}/step3-booking` : `${process.env.SERVICE_BOOKING}/forwarder_manage_reservation.htm`,\n signup:\n miraiId || isDevelopment\n ? `${host}/signup`\n : `${process.env.SERVICE_USER}/club/v1/forwarder/registration_process`,\n profile:\n miraiId || isDevelopment ? `${host}/profile` : `${process.env.SERVICE_USER}/club/v1/forwarder/members_area`,\n };\n\n return {\n config,\n cookies,\n urlParams,\n ...instance,\n id,\n type,\n\n // region\n currency,\n language,\n country,\n locale,\n locales: config.languages\n ?.map((language) => (language === 'no' ? 'nb' : language))\n .map((language) => `${language}-${COUNTRIES[language]}`),\n\n // entities,\n calendar,\n club,\n components: components.reduce((value, { component, ...props }) => {\n value[component] = props;\n return value;\n }, {}),\n forwarder,\n hotel,\n occupation,\n origin,\n performance: getPerformance(config, hotel.id),\n promo,\n session,\n tags,\n // -- components\n deals: undefined,\n finder,\n lisa: undefined, // ! TODO: Rename to chat\n rates: {\n cart: urlParams.cart ? urlParams.cart.split(',') : urlParams.rates ? getMetaRates(urlParams.rates) : undefined,\n meta: !!urlParams.rates,\n },\n signup: undefined,\n };\n};\n"],"names":["_dataSources","require","_locale","_fetchCurrency","_getAccommodationType","_getLocale","_getMetaRates","_getPerformance","_getTags","_prepareRoom","_toOccupation","_Core","_process","_process$env","IS_JEST","process","env","JEST_WORKER_ID","consolidateStore","_config$accomodation","_config$accomodation2","_config$accomodation3","_config$accomodation4","_config$accomodation5","_config$accomodation6","_tags","_promo","_config$languages","components","config","cookies","instance","el","hotel","hotelId","id","type","session","urlParams","arguments","length","undefined","miraiId","isRates","some","component","maxDays","maxNights","rangeMaxDays","nightsForDeal","rangeMinDays","prices","showPrices","pricesWithTaxes","pricesLegend","accomodation","calendar","TAXES","includes","TAX_DEFAULT","to","dateFormat","dateCalc","Date","format","CALENDAR_FORMAT","language","country","locale","getLocale","currency","TYPE","HOTEL","fetchCurrency","DEFAULT_CURRENCY","club","active","banner","discount","discountEnabled","rates","variants","authentication","idClub","name","conditionsUrl","conditions","privacyPolicyUrl","privacy","applyClubDiscount","idtokenprovider","idHotel","CHAIN","variantDiscount","variantRates","find","toString","url","filter","map","enabled","accommodationType","getAccommodationType","lodgingDenomination","features","home","window","location","origin","warningAvailability","minRoomsEngineNotification","hotels","Object","entries","_ref","key","occupation","dataSource","ADULT","min","age","CHILD","fulfill","maxRooms","rooms","maxOccupation","commissionCode","hsri","TYPE_COMMISSION","chainSelector","tags","placeHolder","trees","options","getTags","placeholder","storageFinder","Storage","adapter","LocalAdapter","get","concat","FINDER_STORAGE_KEY","chainSelectorValue","checkin","clientCode","nights","parties","parseDate","UTC","checkout","parseInt","promo","showPromoNav","configPromo","promoText","place","isHotel","value","Number","finder","dateDiff","days","toOccupation","places","prepareRoom","promocode","code","host","document","protocol","isDevelopment","NODE_ENV","IS_PLAYWRIGHT","forwarder","SERVICE_BOOKING","booking","signup","SERVICE_USER","profile","locales","languages","COUNTRIES","reduce","_ref2","props","performance","getPerformance","deals","lisa","cart","split","getMetaRates","meta","exports"],"mappings":";;;;;;;;AAAA,IAAAA,YAAA,GAAAC,OAAA;AACA,IAAAC,OAAA,GAAAD,OAAA;AAEA,IAAAE,cAAA,GAAAF,OAAA;AACA,IAAAG,qBAAA,GAAAH,OAAA;AACA,IAAAI,UAAA,GAAAJ,OAAA;AACA,IAAAK,aAAA,GAAAL,OAAA;AACA,IAAAM,eAAA,GAAAN,OAAA;AACA,IAAAO,QAAA,GAAAP,OAAA;AACA,IAAAQ,YAAA,GAAAR,OAAA;AACA,IAAAS,aAAA,GAAAT,OAAA;AACA,IAAAU,KAAA,GAAAV,OAAA;AAAmH,IAAAW,QAAA,EAAAC,YAAA;AAEnH,MAAMC,OAAO,GAAG,CAAC,GAAAF,QAAA,GAACG,OAAO,cAAAH,QAAA,gBAAAC,YAAA,GAAPD,QAAA,CAASI,GAAG,cAAAH,YAAA,eAAZA,YAAA,CAAcI,cAAc;;AAE9C;AACO,MAAMC,gBAAgB,GAAG,eAAAA,CAAA,EAOrB;EAAA,IAAAC,oBAAA,EAAAC,qBAAA,EAAAC,qBAAA,EAAAC,qBAAA,EAAAC,qBAAA,EAAAC,qBAAA,EAAAC,KAAA,EAAAC,MAAA,EAAAC,iBAAA;EAAA,IAP4B;IACrCC,UAAU,GAAG,EAAE;IACfC,MAAM,GAAG,CAAC,CAAC;IACXC,OAAO,GAAG,CAAC,CAAC;IACZ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;QAAE3I,SAAS;QAAE,GAAG4I;MAAM,CAAC,GAAAD,KAAA;MAC3D1B,KAAK,CAACjH,SAAS,CAAC,GAAG4I,KAAK;MACxB,OAAO3B,KAAK;IACd,CAAC,EAAE,CAAC,CAAC,CAAC;IACNgB,SAAS;IACT7I,KAAK;IACLmF,UAAU;IACVR,MAAM;IACN8E,WAAW,EAAE,IAAAC,8BAAc,EAAC9J,MAAM,EAAEI,KAAK,CAACE,EAAE,CAAC;IAC7CqH,KAAK;IACLnH,OAAO;IACP6F,IAAI;IACJ;IACA0D,KAAK,EAAEnJ,SAAS;IAChBuH,MAAM;IACN6B,IAAI,EAAEpJ,SAAS;IAAE;IACjBuC,KAAK,EAAE;MACL8G,IAAI,EAAExJ,SAAS,CAACwJ,IAAI,GAAGxJ,SAAS,CAACwJ,IAAI,CAACC,KAAK,CAAC,GAAG,CAAC,GAAGzJ,SAAS,CAAC0C,KAAK,GAAG,IAAAgH,0BAAY,EAAC1J,SAAS,CAAC0C,KAAK,CAAC,GAAGvC,SAAS;MAC9GwJ,IAAI,EAAE,CAAC,CAAC3J,SAAS,CAAC0C;IACpB,CAAC;IACDiG,MAAM,EAAExI;EACV,CAAC;AACH,CAAC;AAACyJ,OAAA,CAAAhL,gBAAA,GAAAA,gBAAA","debug_id":"6a830a69-4193-5718-be93-fa2723b6a3ce"}
|
|
1
|
+
{"version":3,"file":"consolidateStore.js","names":["_dataSources","require","_locale","_fetchCurrency","_getAccommodationType","_getLocale","_getMetaRates","_getPerformance","_getTags","_prepareRoom","_toOccupation","_Core","_process","_process$env","IS_JEST","process","env","JEST_WORKER_ID","consolidateStore","_config$accomodation","_config$accomodation2","_config$accomodation3","_config$accomodation4","_config$accomodation5","_config$accomodation6","_tags","_promo","_config$languages","components","config","cookies","instance","el","hotel","hotelId","id","type","session","urlParams","arguments","length","undefined","miraiId","isRates","some","component","maxDays","maxNights","rangeMaxDays","nightsForDeal","rangeMinDays","prices","showPrices","pricesWithTaxes","pricesLegend","accomodation","calendar","TAXES","includes","TAX_DEFAULT","to","dateFormat","dateCalc","Date","format","CALENDAR_FORMAT","language","country","locale","getLocale","currency","TYPE","HOTEL","fetchCurrency","DEFAULT_CURRENCY","club","active","banner","discount","discountEnabled","rates","variants","authentication","idClub","name","conditionsUrl","conditions","privacyPolicyUrl","privacy","applyClubDiscount","idtokenprovider","idHotel","CHAIN","variantDiscount","variantRates","find","toString","url","filter","map","enabled","accommodationType","getAccommodationType","lodgingDenomination","features","home","window","location","origin","warningAvailability","minRoomsEngineNotification","hotels","Object","entries","_ref","key","occupation","dataSource","ADULT","min","age","CHILD","fulfill","maxRooms","rooms","maxOccupation","commissionCode","hsri","TYPE_COMMISSION","chainSelector","tags","placeHolder","trees","options","getTags","placeholder","storageFinder","Storage","adapter","LocalAdapter","get","concat","FINDER_STORAGE_KEY","chainSelectorValue","checkin","clientCode","nights","parties","parseDate","UTC","checkout","parseInt","promo","showPromoNav","configPromo","promoText","place","isHotel","value","Number","finder","dateDiff","days","toOccupation","places","prepareRoom","promocode","code","host","document","protocol","isDevelopment","NODE_ENV","IS_PLAYWRIGHT","forwarder","SERVICE_BOOKING","booking","signup","SERVICE_USER","profile","locales","languages","COUNTRIES","reduce","_ref2","props","performance","getPerformance","deals","lisa","cart","split","getMetaRates","meta","exports"],"sources":["../../src/helpers/consolidateStore.js"],"sourcesContent":["import { LocalAdapter, Storage } from '@mirai/data-sources';\nimport { COUNTRIES, dateCalc, dateDiff, dateFormat, DEFAULT_CURRENCY, parseDate, UTC } from '@mirai/locale';\n\nimport { fetchCurrency } from './fetchCurrency';\nimport { getAccommodationType } from './getAccommodationType';\nimport { getLocale } from './getLocale';\nimport { getMetaRates } from './getMetaRates';\nimport { getPerformance } from './getPerformance';\nimport { getTags } from './getTags';\nimport { prepareRoom } from './prepareRoom';\nimport { toOccupation } from './toOccupation';\nimport { CALENDAR_FORMAT, FINDER_STORAGE_KEY, TAX_DEFAULT, TAXES, TYPE, TYPE_COMMISSION } from '../Core.constants';\n\nconst IS_JEST = !!process?.env?.JEST_WORKER_ID;\n\n/* eslint-disable no-unused-vars */\nexport const consolidateStore = async ({\n components = [],\n config = {},\n cookies = {},\n instance: { el, hotel: hotelId, id, type, ...instance } = {},\n session,\n urlParams = {},\n} = {}) => {\n const { miraiId } = urlParams;\n const isRates = components.some(({ component } = {}) => component === 'rates');\n\n // -- calendar -------------------------------------------------------------------------------------------------------\n const {\n maxDays = 365,\n maxNights: rangeMaxDays = 31,\n nightsForDeal: rangeMinDays,\n prices: showPrices = false,\n pricesWithTaxes: pricesLegend,\n } = config.accomodation?.calendar || {};\n const calendar = {\n rangeMaxDays,\n rangeMinDays,\n pricesLegend: TAXES.includes(pricesLegend) ? pricesLegend : showPrices ? TAX_DEFAULT : undefined,\n showPrices,\n to: !IS_JEST ? dateFormat(dateCalc(new Date(), maxDays, 'days'), { format: CALENDAR_FORMAT }) : undefined,\n };\n\n // -- language, country & locale -------------------------------------------------------------------------------------\n const { language, country, locale } = getLocale(instance, urlParams);\n\n // -- currency -------------------------------------------------------------------------------------------------------\n const currency =\n urlParams.currency ||\n instance.currency ||\n (type === TYPE.HOTEL && !IS_JEST ? await fetchCurrency(id) : DEFAULT_CURRENCY);\n\n // -- club -----------------------------------------------------------------------------------------------------------\n let club;\n const { club: { active } = {} } = config?.club || {};\n if (active) {\n let {\n accomodation: { club: { banner, discount: discountEnabled = false, rates = false } = {}, variants = [] },\n club: {\n club: { authentication, idClub: id, name },\n conditionsUrl: conditions,\n privacyPolicyUrl: privacy,\n },\n } = config;\n\n let { applyClubDiscount, idtokenprovider: idHotel = '' } = urlParams;\n let discount = applyClubDiscount ? applyClubDiscount === 'true' : undefined;\n\n if (discount === undefined) {\n discount = rates;\n if (type === TYPE.CHAIN) {\n let { discount: variantDiscount, rates: variantRates } =\n variants.find(({ id = '' } = {}) => id.toString() === idHotel.toString()) || {};\n discountEnabled = variantDiscount || discountEnabled;\n discount = variantRates || rates;\n }\n }\n\n club = {\n active,\n authentication,\n banner,\n discount: active && discountEnabled ? discount : undefined,\n id,\n name,\n url: { conditions, privacy },\n variants: variants\n .filter(({ club } = {}) => club)\n .map(({ club: { discount: enabled, rates: active } = {}, id } = {}) => ({ active, enabled, id })),\n };\n }\n\n // -- hotel ----------------------------------------------------------------------------------------------------------\n const hotel = {\n accommodationType: getAccommodationType(config.lodgingDenomination, hotelId),\n features: config.accomodation?.features || {},\n id: type === TYPE.CHAIN ? urlParams.idtokenprovider || urlParams.idHotel || hotelId : id,\n url: urlParams.home || window.location.origin,\n warningAvailability: config.minRoomsEngineNotification,\n };\n\n if (type === TYPE.CHAIN) {\n const { hotels = {} } = config;\n hotel.variants = {};\n\n Object.entries(hotels).map(([key, { lodgingDenomination: accommodationType }]) => {\n hotel.variants[key] = { accommodationType };\n });\n }\n\n // -- occupation -----------------------------------------------------------------------------------------------------\n const occupation = {\n dataSource: config.accomodation?.occupation || [\n { type: TYPE.ADULT, min: 1, age: [18] },\n { type: TYPE.CHILD, age: [0, 17], fulfill: true },\n ],\n maxRooms: config.accomodation?.rooms?.maxOccupation,\n variants: config.accomodation?.variants || [],\n };\n\n // -- origin ---------------------------------------------------------------------------------------------------------\n const origin = {\n commissionCode: urlParams.hsri || TYPE_COMMISSION[type],\n };\n\n // -- tags -----------------------------------------------------------------------------------------------------------\n const { chainSelector } = config;\n let tags;\n if (type === TYPE.CHAIN && chainSelector) {\n const { placeHolder = {}, trees = [] } = chainSelector;\n tags = { options: getTags(trees, language), placeholder: placeHolder[language] };\n }\n\n // -- finder ---------------------------------------------------------------------------------------------------------\n const storageFinder = !isRates ? new Storage({ adapter: LocalAdapter }).get(`${FINDER_STORAGE_KEY}:${id}`) || {} : {};\n\n let { chainSelectorValue, checkin, clientCode, nights = isRates ? 1 : 0, parties } = urlParams;\n checkin = checkin ? parseDate(checkin) : isRates ? UTC(new Date()) : undefined;\n let checkout;\n\n if (checkin) checkout = dateCalc(checkin, parseInt(nights), 'days');\n\n let promo;\n if (config.showPromoNav) {\n const { accomodation: { promo: configPromo = {} } = {}, promoText: placeholder = {} } = config;\n promo = { ...configPromo, placeholder };\n }\n\n let place;\n if (tags) {\n place = tags.options.find(\n ({ id: [idHotel] = [], isHotel, value } = {}) =>\n (chainSelectorValue && value === Number(chainSelectorValue)) || (isHotel && hotel.id === idHotel),\n );\n\n const { id: [id] = [] } = place || {};\n const { accommodationType } = hotel.variants[id] || {};\n if (accommodationType) hotel.accommodationType = accommodationType;\n }\n\n let finder = {\n place: place || storageFinder.place,\n calendar: checkin\n ? [checkin, checkout]\n : storageFinder.calendar && dateDiff(new Date(), new Date(storageFinder.calendar[0])).days > -1\n ? [new Date(storageFinder.calendar[0]), new Date(storageFinder.calendar[1])]\n : [],\n occupation: parties\n ? toOccupation({ chainSelectorValue, occupation, parties, places: tags?.options })\n : isRates\n ? [prepareRoom(occupation.dataSource)]\n : storageFinder.occupation || undefined,\n promocode: clientCode || promo?.code || storageFinder.promocode,\n };\n\n // -- forwarder ------------------------------------------------------------------------------------------------------\n const host = `${document.location.protocol}//${document.location.host}`;\n const isDevelopment = process.env.NODE_ENV === 'development' || window.IS_PLAYWRIGHT;\n const forwarder = {\n rates: miraiId ? `${host}/step1-rates` : `${process.env.SERVICE_BOOKING}/miraiFrontDispatcher.htm`,\n checkout: miraiId ? `${host}/step2-checkout` : `${process.env.SERVICE_BOOKING}/forwarder_client_form.htm`,\n booking: miraiId ? `${host}/step3-booking` : `${process.env.SERVICE_BOOKING}/forwarder_manage_reservation.htm`,\n signup:\n miraiId || isDevelopment\n ? `${host}/signup`\n : `${process.env.SERVICE_USER}/club/v1/forwarder/registration_process`,\n profile:\n miraiId || isDevelopment ? `${host}/profile` : `${process.env.SERVICE_USER}/club/v1/forwarder/members_area`,\n };\n\n return {\n config,\n cookies,\n urlParams,\n ...instance,\n id,\n type,\n\n // region\n currency,\n language,\n country,\n locale,\n locales: config.languages\n ?.map((language) => (language === 'no' ? 'nb' : language))\n .map((language) => `${language}-${COUNTRIES[language]}`),\n\n // entities,\n calendar,\n club,\n components: components.reduce((value, { component, ...props }) => {\n value[component] = props;\n return value;\n }, {}),\n forwarder,\n hotel,\n occupation,\n origin,\n performance: getPerformance(config, hotel.id),\n promo,\n session,\n tags,\n // -- components\n deals: undefined,\n finder,\n lisa: undefined, // ! TODO: Rename to chat\n rates: {\n cart: urlParams.cart ? urlParams.cart.split(',') : urlParams.rates ? getMetaRates(urlParams.rates) : undefined,\n meta: !!urlParams.rates,\n },\n signup: undefined,\n };\n};\n"],"mappings":";;;;;;AAAA,IAAAA,YAAA,GAAAC,OAAA;AACA,IAAAC,OAAA,GAAAD,OAAA;AAEA,IAAAE,cAAA,GAAAF,OAAA;AACA,IAAAG,qBAAA,GAAAH,OAAA;AACA,IAAAI,UAAA,GAAAJ,OAAA;AACA,IAAAK,aAAA,GAAAL,OAAA;AACA,IAAAM,eAAA,GAAAN,OAAA;AACA,IAAAO,QAAA,GAAAP,OAAA;AACA,IAAAQ,YAAA,GAAAR,OAAA;AACA,IAAAS,aAAA,GAAAT,OAAA;AACA,IAAAU,KAAA,GAAAV,OAAA;AAAmH,IAAAW,QAAA,EAAAC,YAAA;AAEnH,MAAMC,OAAO,GAAG,CAAC,GAAAF,QAAA,GAACG,OAAO,cAAAH,QAAA,gBAAAC,YAAA,GAAPD,QAAA,CAASI,GAAG,cAAAH,YAAA,eAAZA,YAAA,CAAcI,cAAc;;AAE9C;AACO,MAAMC,gBAAgB,GAAG,eAAAA,CAAA,EAOrB;EAAA,IAAAC,oBAAA,EAAAC,qBAAA,EAAAC,qBAAA,EAAAC,qBAAA,EAAAC,qBAAA,EAAAC,qBAAA,EAAAC,KAAA,EAAAC,MAAA,EAAAC,iBAAA;EAAA,IAP4B;IACrCC,UAAU,GAAG,EAAE;IACfC,MAAM,GAAG,CAAC,CAAC;IACXC,OAAO,GAAG,CAAC,CAAC;IACZC,QAAQ,EAAE;MAAEC,EAAE;MAAEC,KAAK,EAAEC,OAAO;MAAEC,EAAE;MAAEC,IAAI;MAAE,GAAGL;IAAS,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AK;MACxB,OAAO3B,KAAK;IACd,CAAC,EAAE,CAAC,CAAC,CAAC;IACNgB,SAAS;IACT7I,KAAK;IACLmF,UAAU;IACVR,MAAM;IACN8E,WAAW,EAAE,IAAAC,8BAAc,EAAC9J,MAAM,EAAEI,KAAK,CAACE,EAAE,CAAC;IAC7CqH,KAAK;IACLnH,OAAO;IACP6F,IAAI;IACJ;IACA0D,KAAK,EAAEnJ,SAAS;IAChBuH,MAAM;IACN6B,IAAI,EAAEpJ,SAAS;IAAE;IACjBuC,KAAK,EAAE;MACL8G,IAAI,EAAExJ,SAAS,CAACwJ,IAAI,GAAGxJ,SAAS,CAACwJ,IAAI,CAACC,KAAK,CAAC,GAAG,CAAC,GAAGzJ,SAAS,CAAC0C,KAAK,GAAG,IAAAgH,0BAAY,EAAC1J,SAAS,CAAC0C,KAAK,CAAC,GAAGvC,SAAS;MAC9GwJ,IAAI,EAAE,CAAC,CAAC3J,SAAS,CAAC0C;IACpB,CAAC;IACDiG,MAAM,EAAExI;EACV,CAAC;AACH,CAAC;AAACyJ,OAAA,CAAAhL,gBAAA,GAAAA,gBAAA"}
|
|
@@ -1,6 +1,4 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},n=(new e.Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="7512cab7-56a3-5755-adac-44f4a0073249")}catch(e){}}();
|
|
3
|
-
|
|
4
2
|
|
|
5
3
|
Object.defineProperty(exports, "__esModule", {
|
|
6
4
|
value: true
|
|
@@ -21,5 +19,4 @@ const debounce = function (func) {
|
|
|
21
19
|
};
|
|
22
20
|
};
|
|
23
21
|
exports.debounce = debounce;
|
|
24
|
-
//# sourceMappingURL=debounce.js.map
|
|
25
|
-
//# debugId=7512cab7-56a3-5755-adac-44f4a0073249
|
|
22
|
+
//# sourceMappingURL=debounce.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"debounce.js","sources":["../../src/helpers/debounce.js"],"sourcesContent":["export const debounce = (func, delay = 60) => {\n let timeoutId;\n\n return function (...args) {\n const context = this;\n\n clearTimeout(timeoutId);\n timeoutId = setTimeout(() => {\n func.apply(context, args);\n }, delay);\n };\n};\n"],"
|
|
1
|
+
{"version":3,"file":"debounce.js","names":["debounce","func","delay","arguments","length","undefined","timeoutId","_len","args","Array","_key","context","clearTimeout","setTimeout","apply","exports"],"sources":["../../src/helpers/debounce.js"],"sourcesContent":["export const debounce = (func, delay = 60) => {\n let timeoutId;\n\n return function (...args) {\n const context = this;\n\n clearTimeout(timeoutId);\n timeoutId = setTimeout(() => {\n func.apply(context, args);\n }, delay);\n };\n};\n"],"mappings":";;;;;;AAAO,MAAMA,QAAQ,GAAG,SAAAA,CAACC,IAAI,EAAiB;EAAA,IAAfC,KAAK,GAAAC,SAAA,CAAAC,MAAA,QAAAD,SAAA,QAAAE,SAAA,GAAAF,SAAA,MAAG,EAAE;EACvC,IAAIG,SAAS;EAEb,OAAO,YAAmB;IAAA,SAAAC,IAAA,GAAAJ,SAAA,CAAAC,MAAA,EAANI,IAAI,OAAAC,KAAA,CAAAF,IAAA,GAAAG,IAAA,MAAAA,IAAA,GAAAH,IAAA,EAAAG,IAAA;MAAJF,IAAI,CAAAE,IAAA,IAAAP,SAAA,CAAAO,IAAA;IAAA;IACtB,MAAMC,OAAO,GAAG,IAAI;IAEpBC,YAAY,CAACN,SAAS,CAAC;IACvBA,SAAS,GAAGO,UAAU,CAAC,MAAM;MAC3BZ,IAAI,CAACa,KAAK,CAACH,OAAO,EAAEH,IAAI,CAAC;IAC3B,CAAC,EAAEN,KAAK,CAAC;EACX,CAAC;AACH,CAAC;AAACa,OAAA,CAAAf,QAAA,GAAAA,QAAA"}
|
|
@@ -1,6 +1,4 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},n=(new e.Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="4fb5d14c-f990-5f8e-8758-442f53fd760a")}catch(e){}}();
|
|
3
|
-
|
|
4
2
|
|
|
5
3
|
Object.defineProperty(exports, "__esModule", {
|
|
6
4
|
value: true
|
|
@@ -28,5 +26,4 @@ const fetchConfig = async function () {
|
|
|
28
26
|
return config;
|
|
29
27
|
};
|
|
30
28
|
exports.fetchConfig = fetchConfig;
|
|
31
|
-
//# sourceMappingURL=fetchConfig.js.map
|
|
32
|
-
//# debugId=4fb5d14c-f990-5f8e-8758-442f53fd760a
|
|
29
|
+
//# sourceMappingURL=fetchConfig.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"fetchConfig.js","sources":["../../src/helpers/fetchConfig.js"],"sourcesContent":["const IS_JEST = !!process?.env?.JEST_WORKER_ID;\n\nimport { ServiceClub, ServiceEngine } from '@mirai/services';\n\nexport const fetchConfig = async ({ id, language, type = 'hotel' } = {}) => {\n if (!id) return undefined;\n\n const club = !IS_JEST ? await ServiceClub.get({ id, language }) : undefined;\n const config = await ServiceEngine.get({ id, type });\n\n if (config && club) config.club = club;\n\n return config;\n};\n"],"
|
|
1
|
+
{"version":3,"file":"fetchConfig.js","names":["_services","require","_process","_process$env","IS_JEST","process","env","JEST_WORKER_ID","fetchConfig","id","language","type","arguments","length","undefined","club","ServiceClub","get","config","ServiceEngine","exports"],"sources":["../../src/helpers/fetchConfig.js"],"sourcesContent":["const IS_JEST = !!process?.env?.JEST_WORKER_ID;\n\nimport { ServiceClub, ServiceEngine } from '@mirai/services';\n\nexport const fetchConfig = async ({ id, language, type = 'hotel' } = {}) => {\n if (!id) return undefined;\n\n const club = !IS_JEST ? await ServiceClub.get({ id, language }) : undefined;\n const config = await ServiceEngine.get({ id, type });\n\n if (config && club) config.club = club;\n\n return config;\n};\n"],"mappings":";;;;;;AAEA,IAAAA,SAAA,GAAAC,OAAA;AAA6D,IAAAC,QAAA,EAAAC,YAAA;AAF7D,MAAMC,OAAO,GAAG,CAAC,GAAAF,QAAA,GAACG,OAAO,cAAAH,QAAA,gBAAAC,YAAA,GAAPD,QAAA,CAASI,GAAG,cAAAH,YAAA,eAAZA,YAAA,CAAcI,cAAc;AAIvC,MAAMC,WAAW,GAAG,eAAAA,CAAA,EAAiD;EAAA,IAA1C;IAAEC,EAAE;IAAEC,QAAQ;IAAEC,IAAI,GAAG;EAAQ,CAAC,GAAAC,SAAA,CAAAC,MAAA,QAAAD,SAAA,QAAAE,SAAA,GAAAF,SAAA,MAAG,CAAC,CAAC;EACrE,IAAI,CAACH,EAAE,EAAE,OAAOK,SAAS;EAEzB,MAAMC,IAAI,GAAG,CAACX,OAAO,GAAG,MAAMY,qBAAW,CAACC,GAAG,CAAC;IAAER,EAAE;IAAEC;EAAS,CAAC,CAAC,GAAGI,SAAS;EAC3E,MAAMI,MAAM,GAAG,MAAMC,uBAAa,CAACF,GAAG,CAAC;IAAER,EAAE;IAAEE;EAAK,CAAC,CAAC;EAEpD,IAAIO,MAAM,IAAIH,IAAI,EAAEG,MAAM,CAACH,IAAI,GAAGA,IAAI;EAEtC,OAAOG,MAAM;AACf,CAAC;AAACE,OAAA,CAAAZ,WAAA,GAAAA,WAAA"}
|
|
@@ -1,6 +1,4 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},n=(new e.Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="23d51b25-0303-5b89-b386-1f39ee433751")}catch(e){}}();
|
|
3
|
-
|
|
4
2
|
|
|
5
3
|
Object.defineProperty(exports, "__esModule", {
|
|
6
4
|
value: true
|
|
@@ -27,5 +25,4 @@ const fetchCookies = function () {
|
|
|
27
25
|
return values;
|
|
28
26
|
};
|
|
29
27
|
exports.fetchCookies = fetchCookies;
|
|
30
|
-
//# sourceMappingURL=fetchCookies.js.map
|
|
31
|
-
//# debugId=23d51b25-0303-5b89-b386-1f39ee433751
|
|
28
|
+
//# sourceMappingURL=fetchCookies.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"fetchCookies.js","sources":["../../src/helpers/fetchCookies.js"],"sourcesContent":["import { CookieAdapter, getCookie, Storage } from '@mirai/data-sources';\n\nimport { COOKIE } from '../Core.constants';\n\nexport const fetchCookies = (cookies = []) => {\n if (!Array.isArray(cookies)) return {};\n\n let values = {};\n const storage = new Storage({ adapter: CookieAdapter });\n cookies.forEach((cookie) => {\n if (cookie === COOKIE.PESTANA) values = { ...values, pestana: getCookie(cookie) };\n else values = { ...values, ...storage.get(cookie) };\n });\n\n return values;\n};\n"],"
|
|
1
|
+
{"version":3,"file":"fetchCookies.js","names":["_dataSources","require","_Core","fetchCookies","cookies","arguments","length","undefined","Array","isArray","values","storage","Storage","adapter","CookieAdapter","forEach","cookie","COOKIE","PESTANA","pestana","getCookie","get","exports"],"sources":["../../src/helpers/fetchCookies.js"],"sourcesContent":["import { CookieAdapter, getCookie, Storage } from '@mirai/data-sources';\n\nimport { COOKIE } from '../Core.constants';\n\nexport const fetchCookies = (cookies = []) => {\n if (!Array.isArray(cookies)) return {};\n\n let values = {};\n const storage = new Storage({ adapter: CookieAdapter });\n cookies.forEach((cookie) => {\n if (cookie === COOKIE.PESTANA) values = { ...values, pestana: getCookie(cookie) };\n else values = { ...values, ...storage.get(cookie) };\n });\n\n return values;\n};\n"],"mappings":";;;;;;AAAA,IAAAA,YAAA,GAAAC,OAAA;AAEA,IAAAC,KAAA,GAAAD,OAAA;AAEO,MAAME,YAAY,GAAG,SAAAA,CAAA,EAAkB;EAAA,IAAjBC,OAAO,GAAAC,SAAA,CAAAC,MAAA,QAAAD,SAAA,QAAAE,SAAA,GAAAF,SAAA,MAAG,EAAE;EACvC,IAAI,CAACG,KAAK,CAACC,OAAO,CAACL,OAAO,CAAC,EAAE,OAAO,CAAC,CAAC;EAEtC,IAAIM,MAAM,GAAG,CAAC,CAAC;EACf,MAAMC,OAAO,GAAG,IAAIC,oBAAO,CAAC;IAAEC,OAAO,EAAEC;EAAc,CAAC,CAAC;EACvDV,OAAO,CAACW,OAAO,CAAEC,MAAM,IAAK;IAC1B,IAAIA,MAAM,KAAKC,YAAM,CAACC,OAAO,EAAER,MAAM,GAAG;MAAE,GAAGA,MAAM;MAAES,OAAO,EAAE,IAAAC,sBAAS,EAACJ,MAAM;IAAE,CAAC,CAAC,KAC7EN,MAAM,GAAG;MAAE,GAAGA,MAAM;MAAE,GAAGC,OAAO,CAACU,GAAG,CAACL,MAAM;IAAE,CAAC;EACrD,CAAC,CAAC;EAEF,OAAON,MAAM;AACf,CAAC;AAACY,OAAA,CAAAnB,YAAA,GAAAA,YAAA"}
|
|
@@ -1,6 +1,4 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},n=(new e.Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="c6add4ee-7a35-5648-9fbb-a9c5975354de")}catch(e){}}();
|
|
3
|
-
|
|
4
2
|
|
|
5
3
|
Object.defineProperty(exports, "__esModule", {
|
|
6
4
|
value: true
|
|
@@ -23,5 +21,4 @@ const fetchCurrency = async id => {
|
|
|
23
21
|
return country ? (_await$ServiceHotel$g = await _services.ServiceHotel.getCurrencies(id).catch(() => ({}))) === null || _await$ServiceHotel$g === void 0 ? void 0 : _await$ServiceHotel$g[country] : undefined;
|
|
24
22
|
};
|
|
25
23
|
exports.fetchCurrency = fetchCurrency;
|
|
26
|
-
//# sourceMappingURL=fetchCurrency.js.map
|
|
27
|
-
//# debugId=c6add4ee-7a35-5648-9fbb-a9c5975354de
|
|
24
|
+
//# sourceMappingURL=fetchCurrency.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"fetchCurrency.js","sources":["../../src/helpers/fetchCurrency.js"],"sourcesContent":["import { request } from '@mirai/data-sources';\nimport { ServiceHotel } from '@mirai/services';\n\nexport const fetchCurrency = async (id) => {\n const { country } =\n (await request({\n hostname: process.env.SERVICE_CURRENCY,\n endpoint: '/ip/get',\n headers: { 'X-Requested-With': undefined, Authorization: 'Basic YW5vbmltb3VzOmFub25pbW91cw==' },\n })) || {};\n\n return country ? (await ServiceHotel.getCurrencies(id).catch(() => ({})))?.[country] : undefined;\n};\n"],"
|
|
1
|
+
{"version":3,"file":"fetchCurrency.js","names":["_dataSources","require","_services","fetchCurrency","id","_await$ServiceHotel$g","country","request","hostname","process","env","SERVICE_CURRENCY","endpoint","headers","undefined","Authorization","ServiceHotel","getCurrencies","catch","exports"],"sources":["../../src/helpers/fetchCurrency.js"],"sourcesContent":["import { request } from '@mirai/data-sources';\nimport { ServiceHotel } from '@mirai/services';\n\nexport const fetchCurrency = async (id) => {\n const { country } =\n (await request({\n hostname: process.env.SERVICE_CURRENCY,\n endpoint: '/ip/get',\n headers: { 'X-Requested-With': undefined, Authorization: 'Basic YW5vbmltb3VzOmFub25pbW91cw==' },\n })) || {};\n\n return country ? (await ServiceHotel.getCurrencies(id).catch(() => ({})))?.[country] : undefined;\n};\n"],"mappings":";;;;;;AAAA,IAAAA,YAAA,GAAAC,OAAA;AACA,IAAAC,SAAA,GAAAD,OAAA;AAEO,MAAME,aAAa,GAAG,MAAOC,EAAE,IAAK;EAAA,IAAAC,qBAAA;EACzC,MAAM;IAAEC;EAAQ,CAAC,GACf,CAAC,MAAM,IAAAC,oBAAO,EAAC;IACbC,QAAQ,EAAEC,OAAO,CAACC,GAAG,CAACC,gBAAgB;IACtCC,QAAQ,EAAE,SAAS;IACnBC,OAAO,EAAE;MAAE,kBAAkB,EAAEC,SAAS;MAAEC,aAAa,EAAE;IAAqC;EAChG,CAAC,CAAC,KAAK,CAAC,CAAC;EAEX,OAAOT,OAAO,IAAAD,qBAAA,GAAI,MAAMW,sBAAY,CAACC,aAAa,CAACb,EAAE,CAAC,CAACc,KAAK,CAAC,OAAO,CAAC,CAAC,CAAC,CAAC,cAAAb,qBAAA,uBAAvDA,qBAAA,CAA2DC,OAAO,CAAC,GAAGQ,SAAS;AAClG,CAAC;AAACK,OAAA,CAAAhB,aAAA,GAAAA,aAAA"}
|
|
@@ -1,6 +1,4 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},n=(new e.Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="b7336890-20f0-5143-af00-67c56f335682")}catch(e){}}();
|
|
3
|
-
|
|
4
2
|
|
|
5
3
|
Object.defineProperty(exports, "__esModule", {
|
|
6
4
|
value: true
|
|
@@ -58,5 +56,4 @@ const fetchSession = function () {
|
|
|
58
56
|
return (_session = session) !== null && _session !== void 0 && _session.authorization ? session : undefined;
|
|
59
57
|
};
|
|
60
58
|
exports.fetchSession = fetchSession;
|
|
61
|
-
//# sourceMappingURL=fetchSession.js.map
|
|
62
|
-
//# debugId=b7336890-20f0-5143-af00-67c56f335682
|
|
59
|
+
//# sourceMappingURL=fetchSession.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"fetchSession.js","sources":["../../src/helpers/fetchSession.js"],"sourcesContent":["import { LocalAdapter, SessionAdapter, Storage } from '@mirai/data-sources';\n\nconst CACHE_LIMIT = 1000 * 60 * 60 * 24 * 7;\nconst SESSION_STORAGE_LEGACY_ID = 'CLUB';\nconst SESSION_STORAGE_ID = 'MIRAI:SERVICE:USER:session';\n\nexport const fetchSession = (urlParams = {}) => {\n let storage = new Storage({ adapter: LocalAdapter, cache: CACHE_LIMIT });\n let session = storage.get(SESSION_STORAGE_ID);\n\n //TODO: Remove when don`t exists legacy CLUB\n if (!session) {\n storage = new Storage({ adapter: SessionAdapter });\n const {\n access_token: authorization,\n club_name: name,\n email,\n first_name: firstName,\n id_club: id,\n last_name: lastName,\n level,\n subscribed,\n } = storage.get(SESSION_STORAGE_LEGACY_ID) || {};\n session = authorization\n ? { authorization, email, firstName, club: { id: id?.toString(), name }, lastName, level, subscribed }\n : undefined;\n }\n\n if (!session && urlParams.session) {\n try {\n session = JSON.parse(urlParams.session);\n } catch (error) {\n // eslint-disable-next-line no-console\n console.error('', error);\n }\n }\n\n return session?.authorization ? session : undefined;\n};\n"],"
|
|
1
|
+
{"version":3,"file":"fetchSession.js","names":["_dataSources","require","CACHE_LIMIT","SESSION_STORAGE_LEGACY_ID","SESSION_STORAGE_ID","fetchSession","_session","urlParams","arguments","length","undefined","storage","Storage","adapter","LocalAdapter","cache","session","get","SessionAdapter","access_token","authorization","club_name","name","email","first_name","firstName","id_club","id","last_name","lastName","level","subscribed","club","toString","JSON","parse","error","console","exports"],"sources":["../../src/helpers/fetchSession.js"],"sourcesContent":["import { LocalAdapter, SessionAdapter, Storage } from '@mirai/data-sources';\n\nconst CACHE_LIMIT = 1000 * 60 * 60 * 24 * 7;\nconst SESSION_STORAGE_LEGACY_ID = 'CLUB';\nconst SESSION_STORAGE_ID = 'MIRAI:SERVICE:USER:session';\n\nexport const fetchSession = (urlParams = {}) => {\n let storage = new Storage({ adapter: LocalAdapter, cache: CACHE_LIMIT });\n let session = storage.get(SESSION_STORAGE_ID);\n\n //TODO: Remove when don`t exists legacy CLUB\n if (!session) {\n storage = new Storage({ adapter: SessionAdapter });\n const {\n access_token: authorization,\n club_name: name,\n email,\n first_name: firstName,\n id_club: id,\n last_name: lastName,\n level,\n subscribed,\n } = storage.get(SESSION_STORAGE_LEGACY_ID) || {};\n session = authorization\n ? { authorization, email, firstName, club: { id: id?.toString(), name }, lastName, level, subscribed }\n : undefined;\n }\n\n if (!session && urlParams.session) {\n try {\n session = JSON.parse(urlParams.session);\n } catch (error) {\n // eslint-disable-next-line no-console\n console.error('', error);\n }\n }\n\n return session?.authorization ? session : undefined;\n};\n"],"mappings":";;;;;;AAAA,IAAAA,YAAA,GAAAC,OAAA;AAEA,M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,CAACS,OAAO,CAAC;IACzC,CAAC,CAAC,OAAOoB,KAAK,EAAE;MACd;MACAC,OAAO,CAACD,KAAK,CAAC,EAAE,EAAEA,KAAK,CAAC;IAC1B;EACF;EAEA,OAAO,CAAA9B,QAAA,GAAAU,OAAO,cAAAV,QAAA,eAAPA,QAAA,CAASc,aAAa,GAAGJ,OAAO,GAAGN,SAAS;AACrD,CAAC;AAAC4B,OAAA,CAAAjC,YAAA,GAAAA,YAAA"}
|
|
@@ -1,6 +1,4 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},n=(new e.Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="ff314399-45bc-506a-9fd8-a0d12c2658ec")}catch(e){}}();
|
|
3
|
-
|
|
4
2
|
|
|
5
3
|
Object.defineProperty(exports, "__esModule", {
|
|
6
4
|
value: true
|
|
@@ -15,5 +13,4 @@ const fetchUrlParams = function () {
|
|
|
15
13
|
}));
|
|
16
14
|
};
|
|
17
15
|
exports.fetchUrlParams = fetchUrlParams;
|
|
18
|
-
//# sourceMappingURL=fetchUrlParams.js.map
|
|
19
|
-
//# debugId=ff314399-45bc-506a-9fd8-a0d12c2658ec
|
|
16
|
+
//# sourceMappingURL=fetchUrlParams.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"fetchUrlParams.js","sources":["../../src/helpers/fetchUrlParams.js"],"sourcesContent":["const BANNED = ['mobile'];\n\nexport const fetchUrlParams = (value = '') =>\n Object.fromEntries([...new URLSearchParams(value)].filter(([key] = []) => !BANNED.includes(key)));\n"],"
|
|
1
|
+
{"version":3,"file":"fetchUrlParams.js","names":["BANNED","fetchUrlParams","value","arguments","length","undefined","Object","fromEntries","URLSearchParams","filter","key","includes","exports"],"sources":["../../src/helpers/fetchUrlParams.js"],"sourcesContent":["const BANNED = ['mobile'];\n\nexport const fetchUrlParams = (value = '') =>\n Object.fromEntries([...new URLSearchParams(value)].filter(([key] = []) => !BANNED.includes(key)));\n"],"mappings":";;;;;;AAAA,MAAMA,MAAM,GAAG,CAAC,QAAQ,CAAC;AAElB,MAAMC,cAAc,GAAG,SAAAA,CAAA;EAAA,IAACC,KAAK,GAAAC,SAAA,CAAAC,MAAA,QAAAD,SAAA,QAAAE,SAAA,GAAAF,SAAA,MAAG,EAAE;EAAA,OACvCG,MAAM,CAACC,WAAW,CAAC,CAAC,GAAG,IAAIC,eAAe,CAACN,KAAK,CAAC,CAAC,CAACO,MAAM,CAAC;IAAA,IAAC,CAACC,GAAG,CAAC,GAAAP,SAAA,CAAAC,MAAA,QAAAD,SAAA,QAAAE,SAAA,GAAAF,SAAA,MAAG,EAAE;IAAA,OAAK,CAACH,MAAM,CAACW,QAAQ,CAACD,GAAG,CAAC;EAAA,EAAC,CAAC;AAAA;AAACE,OAAA,CAAAX,cAAA,GAAAA,cAAA"}
|
|
@@ -1,6 +1,4 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},n=(new e.Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="cf4be34d-a55c-573b-b4c3-2f756e360f9d")}catch(e){}}();
|
|
3
|
-
|
|
4
2
|
|
|
5
3
|
Object.defineProperty(exports, "__esModule", {
|
|
6
4
|
value: true
|
|
@@ -37,5 +35,4 @@ const findComponents = () => {
|
|
|
37
35
|
return components;
|
|
38
36
|
};
|
|
39
37
|
exports.findComponents = findComponents;
|
|
40
|
-
//# sourceMappingURL=findComponents.js.map
|
|
41
|
-
//# debugId=cf4be34d-a55c-573b-b4c3-2f756e360f9d
|
|
38
|
+
//# sourceMappingURL=findComponents.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"findComponents.js","sources":["../../src/helpers/findComponents.js"],"sourcesContent":["/* eslint-disable no-console */\nimport { version } from '../../package.json';\nimport { COMPONENTS } from '../components';\n\nconst COMPONENT_KEY = 'miraiComponent';\nconst NAMESPACE = '[data-mirai-component]';\nconst UNPROCESSED_KEYS = ['role'];\n\nexport const findComponents = () => {\n const components = [];\n\n [...document.querySelectorAll(NAMESPACE)].forEach((el) => {\n const properties = Object.keys(el.dataset)\n .filter((key) => !UNPROCESSED_KEYS.includes(key))\n .reduce((current, name) => {\n const key = name === COMPONENT_KEY ? 'component' : name;\n const value = el.dataset[name];\n\n return { ...current, [key]: ['true', 'false'].includes(value) ? value === 'true' : value };\n }, {});\n\n const isComponent = Object.keys(COMPONENTS).includes(properties?.component);\n if (isComponent) {\n components.push({ ...properties, el });\n } else if (properties?.component)\n // eslint-disable-next-line no-console\n console.error(`Component <${properties?.component}> is not part of @mirai/core v${version}`);\n });\n\n return components;\n};\n"],"
|
|
1
|
+
{"version":3,"file":"findComponents.js","names":["_package","require","_components","COMPONENT_KEY","NAMESPACE","UNPROCESSED_KEYS","findComponents","components","document","querySelectorAll","forEach","el","properties","Object","keys","dataset","filter","key","includes","reduce","current","name","value","isComponent","COMPONENTS","component","push","console","error","concat","version","exports"],"sources":["../../src/helpers/findComponents.js"],"sourcesContent":["/* eslint-disable no-console */\nimport { version } from '../../package.json';\nimport { COMPONENTS } from '../components';\n\nconst COMPONENT_KEY = 'miraiComponent';\nconst NAMESPACE = '[data-mirai-component]';\nconst UNPROCESSED_KEYS = ['role'];\n\nexport const findComponents = () => {\n const components = [];\n\n [...document.querySelectorAll(NAMESPACE)].forEach((el) => {\n const properties = Object.keys(el.dataset)\n .filter((key) => !UNPROCESSED_KEYS.includes(key))\n .reduce((current, name) => {\n const key = name === COMPONENT_KEY ? 'component' : name;\n const value = el.dataset[name];\n\n return { ...current, [key]: ['true', 'false'].includes(value) ? value === 'true' : value };\n }, {});\n\n const isComponent = Object.keys(COMPONENTS).includes(properties?.component);\n if (isComponent) {\n components.push({ ...properties, el });\n } else if (properties?.component)\n // eslint-disable-next-line no-console\n console.error(`Component <${properties?.component}> is not part of @mirai/core v${version}`);\n });\n\n return components;\n};\n"],"mappings":";;;;;;AACA,IAAAA,QAAA,GAAAC,OAAA;AACA,IAAAC,WAAA,GAAAD,OAAA;AAFA;;AAIA,MAAME,aAAa,GAAG,gBAAgB;AACtC,MAAMC,SAAS,GAAG,wBAAwB;AAC1C,MAAMC,gBAAgB,GAAG,CAAC,MAAM,CAAC;AAE1B,MAAMC,cAAc,GAAGA,CAAA,KAAM;EAClC,MAAMC,UAAU,GAAG,EAAE;EAErB,CAAC,GAAGC,QAAQ,CAACC,gBAAgB,CAACL,SAAS,CAAC,CAAC,CAACM,OAAO,CAAEC,EAAE,IAAK;IACxD,MAAMC,UAAU,GAAGC,MAAM,CAACC,IAAI,CAACH,EAAE,CAACI,OAAO,CAAC,CACvCC,MAAM,CAAEC,GAAG,IAAK,CAACZ,gBAAgB,CAACa,QAAQ,CAACD,GAAG,CAAC,CAAC,CAChDE,MAAM,CAAC,CAACC,OAAO,EAAEC,IAAI,KAAK;MACzB,MAAMJ,GAAG,GAAGI,IAAI,KAAKlB,aAAa,GAAG,WAAW,GAAGkB,IAAI;MACvD,MAAMC,KAAK,GAAGX,EAAE,CAACI,OAAO,CAACM,IAAI,CAAC;MAE9B,OAAO;QAAE,GAAGD,OAAO;QAAE,CAACH,GAAG,GAAG,CAAC,MAAM,EAAE,OAAO,CAAC,CAACC,QAAQ,CAACI,KAAK,CAAC,GAAGA,KAAK,KAAK,MAAM,GAAGA;MAAM,CAAC;IAC5F,CAAC,EAAE,CAAC,CAAC,CAAC;IAER,MAAMC,WAAW,GAAGV,MAAM,CAACC,IAAI,CAACU,sBAAU,CAAC,CAACN,QAAQ,CAACN,UAAU,aAAVA,UAAU,uBAAVA,UAAU,CAAEa,SAAS,CAAC;IAC3E,IAAIF,WAAW,EAAE;MACfhB,UAAU,CAACmB,IAAI,CAAC;QAAE,GAAGd,UAAU;QAAED;MAAG,CAAC,CAAC;IACxC,CAAC,MAAM,IAAIC,UAAU,aAAVA,UAAU,eAAVA,UAAU,CAAEa,SAAS;MAC9B;MACAE,OAAO,CAACC,KAAK,eAAAC,MAAA,CAAejB,UAAU,aAAVA,UAAU,uBAAVA,UAAU,CAAEa,SAAS,oCAAAI,MAAA,CAAiCC,gBAAO,CAAE,CAAC;EAChG,CAAC,CAAC;EAEF,OAAOvB,UAAU;AACnB,CAAC;AAACwB,OAAA,CAAAzB,cAAA,GAAAA,cAAA"}
|
|
@@ -1,6 +1,4 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},n=(new e.Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="debe021a-98b4-573c-b4ec-9997832b75a1")}catch(e){}}();
|
|
3
|
-
|
|
4
2
|
|
|
5
3
|
Object.defineProperty(exports, "__esModule", {
|
|
6
4
|
value: true
|
|
@@ -32,5 +30,4 @@ const findDangerousCSSRules = () => {
|
|
|
32
30
|
return value;
|
|
33
31
|
};
|
|
34
32
|
exports.findDangerousCSSRules = findDangerousCSSRules;
|
|
35
|
-
//# sourceMappingURL=findDangerousCSSRules.js.map
|
|
36
|
-
//# debugId=debe021a-98b4-573c-b4ec-9997832b75a1
|
|
33
|
+
//# sourceMappingURL=findDangerousCSSRules.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"findDangerousCSSRules.js","sources":["../../src/helpers/findDangerousCSSRules.js"],"sourcesContent":["const NATIVE_TAGS = [\n 'iframe',\n 'img',\n 'input',\n 'textarea',\n 'select',\n 'option',\n 'a',\n 'button',\n 'form',\n 'table',\n 'thead',\n 'tbody',\n 'tr',\n 'th',\n 'td',\n];\n\nexport const findDangerousCSSRules = () => {\n const { styleSheets } = document;\n let value = [];\n\n const checkRules = (rules, fileName = 'inline') => {\n const dangerousRules = Array.from(rules)\n .filter((rule) => {\n return (\n rule.selectorText && NATIVE_TAGS.some((selector) => new RegExp(`\\\\b${selector}\\\\b`).test(rule.selectorText))\n );\n })\n .map((rule) => ({ selector: rule.selectorText, fileName }));\n\n value = [...value, ...dangerousRules];\n\n for (const rule of rules) {\n if (rule.cssRules) checkRules(rule.cssRules, fileName);\n }\n };\n\n for (const styleSheet of styleSheets) {\n const rules = styleSheet.cssRules || styleSheet.rules;\n if (rules) checkRules(rules, styleSheet.href);\n }\n\n return value;\n};\n"],"
|
|
1
|
+
{"version":3,"file":"findDangerousCSSRules.js","names":["NATIVE_TAGS","findDangerousCSSRules","styleSheets","document","value","checkRules","rules","fileName","arguments","length","undefined","dangerousRules","Array","from","filter","rule","selectorText","some","selector","RegExp","concat","test","map","cssRules","styleSheet","href","exports"],"sources":["../../src/helpers/findDangerousCSSRules.js"],"sourcesContent":["const NATIVE_TAGS = [\n 'iframe',\n 'img',\n 'input',\n 'textarea',\n 'select',\n 'option',\n 'a',\n 'button',\n 'form',\n 'table',\n 'thead',\n 'tbody',\n 'tr',\n 'th',\n 'td',\n];\n\nexport const findDangerousCSSRules = () => {\n const { styleSheets } = document;\n let value = [];\n\n const checkRules = (rules, fileName = 'inline') => {\n const dangerousRules = Array.from(rules)\n .filter((rule) => {\n return (\n rule.selectorText && NATIVE_TAGS.some((selector) => new RegExp(`\\\\b${selector}\\\\b`).test(rule.selectorText))\n );\n })\n .map((rule) => ({ selector: rule.selectorText, fileName }));\n\n value = [...value, ...dangerousRules];\n\n for (const rule of rules) {\n if (rule.cssRules) checkRules(rule.cssRules, fileName);\n }\n };\n\n for (const styleSheet of styleSheets) {\n const rules = styleSheet.cssRules || styleSheet.rules;\n if (rules) checkRules(rules, styleSheet.href);\n }\n\n return value;\n};\n"],"mappings":";;;;;;AAAA,MAAMA,WAAW,GAAG,CAClB,QAAQ,EACR,KAAK,EACL,OAAO,EACP,UAAU,EACV,QAAQ,EACR,QAAQ,EACR,GAAG,EACH,QAAQ,EACR,MAAM,EACN,OAAO,EACP,OAAO,EACP,OAAO,EACP,IAA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1
|
"use strict";
|
|
2
|
-
!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},n=(new e.Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="34911c31-340e-576c-8ae1-69206e7905f4")}catch(e){}}();
|
|
3
|
-
|
|
4
2
|
|
|
5
3
|
Object.defineProperty(exports, "__esModule", {
|
|
6
4
|
value: true
|
|
@@ -33,5 +31,4 @@ const findInstance = function () {
|
|
|
33
31
|
} : undefined;
|
|
34
32
|
};
|
|
35
33
|
exports.findInstance = findInstance;
|
|
36
|
-
//# sourceMappingURL=findInstance.js.map
|
|
37
|
-
//# debugId=34911c31-340e-576c-8ae1-69206e7905f4
|
|
34
|
+
//# sourceMappingURL=findInstance.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"findInstance.js","sources":["../../src/helpers/findInstance.js"],"sourcesContent":["const NAMESPACE = '[data-mirai-id]';\nconst ID_KEY = 'miraiId';\nconst INSTANCE_URL_PARAMS = ['type', 'hotel'];\n\nexport const findInstance = ({ urlParams = {} } = {}) => {\n const [el] = document.querySelectorAll(NAMESPACE);\n if (!el) return undefined;\n\n const properties = Object.keys(el.dataset).reduce((current, name) => {\n const key = name === ID_KEY ? 'id' : name;\n\n return { ...current, [key]: el.dataset[name] };\n }, {});\n\n if (urlParams[ID_KEY]) {\n properties.id = urlParams[ID_KEY];\n INSTANCE_URL_PARAMS.filter((key) => !!urlParams[key]).forEach((key) => (properties[key] = urlParams[key]));\n }\n\n return properties.id ? { el, ...properties, type: properties.type || 'hotel' } : undefined;\n};\n"],"
|
|
1
|
+
{"version":3,"file":"findInstance.js","names":["NAMESPACE","ID_KEY","INSTANCE_URL_PARAMS","findInstance","urlParams","arguments","length","undefined","el","document","querySelectorAll","properties","Object","keys","dataset","reduce","current","name","key","id","filter","forEach","type","exports"],"sources":["../../src/helpers/findInstance.js"],"sourcesContent":["const NAMESPACE = '[data-mirai-id]';\nconst ID_KEY = 'miraiId';\nconst INSTANCE_URL_PARAMS = ['type', 'hotel'];\n\nexport const findInstance = ({ urlParams = {} } = {}) => {\n const [el] = document.querySelectorAll(NAMESPACE);\n if (!el) return undefined;\n\n const properties = Object.keys(el.dataset).reduce((current, name) => {\n const key = name === ID_KEY ? 'id' : name;\n\n return { ...current, [key]: el.dataset[name] };\n }, {});\n\n if (urlParams[ID_KEY]) {\n properties.id = urlParams[ID_KEY];\n INSTANCE_URL_PARAMS.filter((key) => !!urlParams[key]).forEach((key) => (properties[key] = urlParams[key]));\n }\n\n return properties.id ? { el, ...properties, type: properties.type || 'hotel' } : undefined;\n};\n"],"mappings":";;;;;;AAAA,MAAMA,SAAS,GAAG,iBAAiB;AACnC,MAAMC,MAAM,GAAG,SAAS;AACxB,MAAMC,mBAAmB,GAAG,CAAC,MAAM,EAAE,OAAO,CAAC;AAEtC,MAAMC,YAAY,GAAG,SAAAA,CAAA,EAA6B;EAAA,IAA5B;IAAEC,SAAS,GAAG,CAAC;EAAE,CAAC,GAAAC,SAAA,CAAAC,MAAA,QAAAD,SAAA,QAAAE,SAAA,GAAAF,SAAA,MAAG,CAAC,CAAC;EAClD,MAAM,CAACG,EAAE,CAAC,GAAGC,QAAQ,CAACC,gBAAgB,CAACV,SAAS,CAAC;EACjD,IAAI,CAACQ,EAAE,EAAE,OAAOD,SAAS;EAEzB,MAAMI,UAAU,GAAGC,MAAM,CAACC,IAAI,CAACL,EAAE,CAACM,OAAO,CAAC,CAACC,MAAM,CAAC,CAACC,OAAO,EAAEC,IAAI,KAAK;IACnE,MAAMC,GAAG,GAAGD,IAAI,KAAKhB,MAAM,GAAG,IAAI,GAAGgB,IAAI;IAEzC,OAAO;MAAE,GAAGD,OAAO;MAAE,CAACE,GAAG,GAAGV,EAAE,CAACM,OAAO,CAACG,IAAI;IAAE,CAAC;EAChD,CAAC,EAAE,CAAC,CAAC,CAAC;EAEN,IAAIb,SAAS,CAACH,MAAM,CAAC,EAAE;IACrBU,UAAU,CAACQ,EAAE,GAAGf,SAAS,CAACH,MAAM,CAAC;IACjCC,mBAAmB,CAACkB,MAAM,CAAEF,GAAG,IAAK,CAAC,CAACd,SAAS,CAACc,GAAG,CAAC,CAAC,CAACG,OAAO,CAAEH,GAAG,IAAMP,UAAU,CAACO,GAAG,CAAC,GAAGd,SAAS,CAACc,GAAG,CAAE,CAAC;EAC5G;EAEA,OAAOP,UAAU,CAACQ,EAAE,GAAG;IAAEX,EAAE;IAAE,GAAGG,UAAU;IAAEW,IAAI,EAAEX,UAAU,CAACW,IAAI,IAAI;EAAQ,CAAC,GAAGf,SAAS;AAC5F,CAAC;AAACgB,OAAA,CAAApB,YAAA,GAAAA,YAAA"}
|
|
@@ -1,6 +1,4 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},n=(new e.Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="96c1bdfb-87ee-59a6-81ce-2cecb55d0278")}catch(e){}}();
|
|
3
|
-
|
|
4
2
|
|
|
5
3
|
Object.defineProperty(exports, "__esModule", {
|
|
6
4
|
value: true
|
|
@@ -14,5 +12,4 @@ const getAccommodationType = (denomination, hotelId) => {
|
|
|
14
12
|
return accommodationType;
|
|
15
13
|
};
|
|
16
14
|
exports.getAccommodationType = getAccommodationType;
|
|
17
|
-
//# sourceMappingURL=getAccommodationType.js.map
|
|
18
|
-
//# debugId=96c1bdfb-87ee-59a6-81ce-2cecb55d0278
|
|
15
|
+
//# sourceMappingURL=getAccommodationType.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getAccommodationType.js","sources":["../../src/helpers/getAccommodationType.js"],"sourcesContent":["import { ACCOMMODATION_TYPE } from '../Core.constants';\n\nexport const getAccommodationType = (denomination, hotelId) => {\n const base = typeof denomination === 'object' && hotelId ? denomination[hotelId] : denomination;\n let accommodationType = ACCOMMODATION_TYPE.DEFAULT;\n\n if (base === 'ROOMS') accommodationType = ACCOMMODATION_TYPE.ROOM;\n else if (base === 'APARTMENTS') accommodationType = ACCOMMODATION_TYPE.APARTMENT;\n else if (base === 'VILLAS') accommodationType = ACCOMMODATION_TYPE.VILLA;\n else if (base === 'PITCHES') accommodationType = ACCOMMODATION_TYPE.PITCH;\n else if (base === 'ACCOMMODATIONS') accommodationType = ACCOMMODATION_TYPE.ACCOMMODATION;\n\n return accommodationType;\n};\n"],"
|
|
1
|
+
{"version":3,"file":"getAccommodationType.js","names":["_Core","require","getAccommodationType","denomination","hotelId","base","accommodationType","ACCOMMODATION_TYPE","DEFAULT","ROOM","APARTMENT","VILLA","PITCH","ACCOMMODATION","exports"],"sources":["../../src/helpers/getAccommodationType.js"],"sourcesContent":["import { ACCOMMODATION_TYPE } from '../Core.constants';\n\nexport const getAccommodationType = (denomination, hotelId) => {\n const base = typeof denomination === 'object' && hotelId ? denomination[hotelId] : denomination;\n let accommodationType = ACCOMMODATION_TYPE.DEFAULT;\n\n if (base === 'ROOMS') accommodationType = ACCOMMODATION_TYPE.ROOM;\n else if (base === 'APARTMENTS') accommodationType = ACCOMMODATION_TYPE.APARTMENT;\n else if (base === 'VILLAS') accommodationType = ACCOMMODATION_TYPE.VILLA;\n else if (base === 'PITCHES') accommodationType = ACCOMMODATION_TYPE.PITCH;\n else if (base === 'ACCOMMODATIONS') accommodationType = ACCOMMODATION_TYPE.ACCOMMODATION;\n\n return accommodationType;\n};\n"],"mappings":";;;;;;AAAA,IAAAA,KAAA,GAAAC,OAAA;AAEO,MAAMC,oBAAoB,GAAGA,CAACC,YAAY,EAAEC,OAAO,KAAK;EAC7D,MAAMC,IAAI,GAAG,OAAOF,YAAY,KAAK,QAAQ,IAAIC,OAAO,GAAGD,YAAY,CAACC,OAAO,CAAC,GAAGD,YAAY;EAC/F,IAAIG,iBAAiB,GAAGC,wBAAkB,CAACC,OAAO;EAElD,IAAIH,IAAI,KAAK,OAAO,EAAEC,iBAAiB,GAAGC,wBAAkB,CAACE,IAAI,CAAC,KAC7D,IAAIJ,IAAI,KAAK,YAAY,EAAEC,iBAAiB,GAAGC,wBAAkB,CAACG,SAAS,CAAC,KAC5E,IAAIL,IAAI,KAAK,QAAQ,EAAEC,iBAAiB,GAAGC,wBAAkB,CAACI,KAAK,CAAC,KACpE,IAAIN,IAAI,KAAK,SAAS,EAAEC,iBAAiB,GAAGC,wBAAkB,CAACK,KAAK,CAAC,KACrE,IAAIP,IAAI,KAAK,gBAAgB,EAAEC,iBAAiB,GAAGC,wBAAkB,CAACM,aAAa;EAExF,OAAOP,iBAAiB;AAC1B,CAAC;AAACQ,OAAA,CAAAZ,oBAAA,GAAAA,oBAAA"}
|
|
@@ -1,6 +1,4 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},n=(new e.Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="7512734f-b9f6-50d4-bcee-493d43b7d99e")}catch(e){}}();
|
|
3
|
-
|
|
4
2
|
|
|
5
3
|
Object.defineProperty(exports, "__esModule", {
|
|
6
4
|
value: true
|
|
@@ -27,5 +25,4 @@ const getClubUrl = async _ref => {
|
|
|
27
25
|
};
|
|
28
26
|
};
|
|
29
27
|
exports.getClubUrl = getClubUrl;
|
|
30
|
-
//# sourceMappingURL=getClubUrl.js.map
|
|
31
|
-
//# debugId=7512734f-b9f6-50d4-bcee-493d43b7d99e
|
|
28
|
+
//# sourceMappingURL=getClubUrl.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getClubUrl.js","sources":["../../src/helpers/getClubUrl.js"],"sourcesContent":["import { ServiceClub } from '@mirai/services';\n\nexport const getClubUrl = async ({ id, language }) => {\n const { conditionsUrl: conditions, privacyPolicyUrl: privacy } = (await ServiceClub.get({ id, language })) || {};\n\n return { url: { conditions, privacy } };\n};\n"],"
|
|
1
|
+
{"version":3,"file":"getClubUrl.js","names":["_services","require","getClubUrl","_ref","id","language","conditionsUrl","conditions","privacyPolicyUrl","privacy","ServiceClub","get","url","exports"],"sources":["../../src/helpers/getClubUrl.js"],"sourcesContent":["import { ServiceClub } from '@mirai/services';\n\nexport const getClubUrl = async ({ id, language }) => {\n const { conditionsUrl: conditions, privacyPolicyUrl: privacy } = (await ServiceClub.get({ id, language })) || {};\n\n return { url: { conditions, privacy } };\n};\n"],"mappings":";;;;;;AAAA,IAAAA,SAAA,GAAAC,OAAA;AAEO,MAAMC,UAAU,GAAG,MAAAC,IAAA,IAA4B;EAAA,IAArB;IAAEC,EAAE;IAAEC;EAAS,CAAC,GAAAF,IAAA;EAC/C,MAAM;IAAEG,aAAa,EAAEC,UAAU;IAAEC,gBAAgB,EAAEC;EAAQ,CAAC,GAAG,CAAC,MAAMC,qBAAW,CAACC,GAAG,CAAC;IAAEP,EAAE;IAAEC;EAAS,CAAC,CAAC,KAAK,CAAC,CAAC;EAEhH,OAAO;IAAEO,GAAG,EAAE;MAAEL,UAAU;MAAEE;IAAQ;EAAE,CAAC;AACzC,CAAC;AAACI,OAAA,CAAAX,UAAA,GAAAA,UAAA"}
|
|
@@ -1,6 +1,4 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},n=(new e.Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="67d506c1-b90a-5e96-a6e7-7077489cd643")}catch(e){}}();
|
|
3
|
-
|
|
4
2
|
|
|
5
3
|
Object.defineProperty(exports, "__esModule", {
|
|
6
4
|
value: true
|
|
@@ -15,5 +13,4 @@ const getContents = function () {
|
|
|
15
13
|
return contents;
|
|
16
14
|
};
|
|
17
15
|
exports.getContents = getContents;
|
|
18
|
-
//# sourceMappingURL=getContents.js.map
|
|
19
|
-
//# debugId=67d506c1-b90a-5e96-a6e7-7077489cd643
|
|
16
|
+
//# sourceMappingURL=getContents.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getContents.js","sources":["../../src/helpers/getContents.js"],"sourcesContent":["const DATA_ATTRIBUTE = 'data-content';\n\nexport const getContents = (el = {}) => {\n const children = el.querySelectorAll ? el.querySelectorAll(`[${DATA_ATTRIBUTE}]`) : [];\n const contents = Array.from(children).map((child) => child.cloneNode(true));\n\n children.forEach((child) => child.remove());\n\n return contents;\n};\n"],"
|
|
1
|
+
{"version":3,"file":"getContents.js","names":["DATA_ATTRIBUTE","getContents","el","arguments","length","undefined","children","querySelectorAll","concat","contents","Array","from","map","child","cloneNode","forEach","remove","exports"],"sources":["../../src/helpers/getContents.js"],"sourcesContent":["const DATA_ATTRIBUTE = 'data-content';\n\nexport const getContents = (el = {}) => {\n const children = el.querySelectorAll ? el.querySelectorAll(`[${DATA_ATTRIBUTE}]`) : [];\n const contents = Array.from(children).map((child) => child.cloneNode(true));\n\n children.forEach((child) => child.remove());\n\n return contents;\n};\n"],"mappings":";;;;;;AAAA,MAAMA,cAAc,GAAG,cAAc;AAE9B,MAAMC,WAAW,GAAG,SAAAA,CAAA,EAAa;EAAA,IAAZC,EAAE,GAAAC,SAAA,CAAAC,MAAA,QAAAD,SAAA,QAAAE,SAAA,GAAAF,SAAA,MAAG,CAAC,CAAC;EACjC,MAAMG,QAAQ,GAAGJ,EAAE,CAACK,gBAAgB,GAAGL,EAAE,CAACK,gBAAgB,KAAAC,MAAA,CAAKR,cAAc,MAAG,CAAC,GAAG,EAAE;EACtF,MAAMS,QAAQ,GAAGC,KAAK,CAACC,IAAI,CAACL,QAAQ,CAAC,CAACM,GAAG,CAAEC,KAAK,IAAKA,KAAK,CAACC,SAAS,CAAC,IAAI,CAAC,CAAC;EAE3ER,QAAQ,CAACS,OAAO,CAAEF,KAAK,IAAKA,KAAK,CAACG,MAAM,CAAC,CAAC,CAAC;EAE3C,OAAOP,QAAQ;AACjB,CAAC;AAACQ,OAAA,CAAAhB,WAAA,GAAAA,WAAA"}
|
|
@@ -1,6 +1,4 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},n=(new e.Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="5f19b5dd-1750-55c5-b80a-99bef007ad91")}catch(e){}}();
|
|
3
|
-
|
|
4
2
|
|
|
5
3
|
Object.defineProperty(exports, "__esModule", {
|
|
6
4
|
value: true
|
|
@@ -19,5 +17,4 @@ const getGhost = function () {
|
|
|
19
17
|
return ghost;
|
|
20
18
|
};
|
|
21
19
|
exports.getGhost = getGhost;
|
|
22
|
-
//# sourceMappingURL=getGhost.js.map
|
|
23
|
-
//# debugId=5f19b5dd-1750-55c5-b80a-99bef007ad91
|
|
20
|
+
//# sourceMappingURL=getGhost.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getGhost.js","sources":["../../src/helpers/getGhost.js"],"sourcesContent":["const DATA_ATTRIBUTE = 'data-ghost';\n\nexport const getGhost = (el = {}) => {\n const [child] = el.querySelectorAll ? el.querySelectorAll(`[${DATA_ATTRIBUTE}]`) : [];\n let ghost;\n\n if (child) {\n child.removeAttribute(DATA_ATTRIBUTE);\n ghost = child;\n child.remove();\n }\n\n return ghost;\n};\n"],"
|
|
1
|
+
{"version":3,"file":"getGhost.js","names":["DATA_ATTRIBUTE","getGhost","el","arguments","length","undefined","child","querySelectorAll","concat","ghost","removeAttribute","remove","exports"],"sources":["../../src/helpers/getGhost.js"],"sourcesContent":["const DATA_ATTRIBUTE = 'data-ghost';\n\nexport const getGhost = (el = {}) => {\n const [child] = el.querySelectorAll ? el.querySelectorAll(`[${DATA_ATTRIBUTE}]`) : [];\n let ghost;\n\n if (child) {\n child.removeAttribute(DATA_ATTRIBUTE);\n ghost = child;\n child.remove();\n }\n\n return ghost;\n};\n"],"mappings":";;;;;;AAAA,MAAMA,cAAc,GAAG,YAAY;AAE5B,MAAMC,QAAQ,GAAG,SAAAA,CAAA,EAAa;EAAA,IAAZC,EAAE,GAAAC,SAAA,CAAAC,MAAA,QAAAD,SAAA,QAAAE,SAAA,GAAAF,SAAA,MAAG,CAAC,CAAC;EAC9B,MAAM,CAACG,KAAK,CAAC,GAAGJ,EAAE,CAACK,gBAAgB,GAAGL,EAAE,CAACK,gBAAgB,KAAAC,MAAA,CAAKR,cAAc,MAAG,CAAC,GAAG,EAAE;EACrF,IAAIS,KAAK;EAET,IAAIH,KAAK,EAAE;IACTA,KAAK,CAACI,eAAe,CAACV,cAAc,CAAC;IACrCS,KAAK,GAAGH,KAAK;IACbA,KAAK,CAACK,MAAM,CAAC,CAAC;EAChB;EAEA,OAAOF,KAAK;AACd,CAAC;AAACG,OAAA,CAAAX,QAAA,GAAAA,QAAA"}
|
|
@@ -1,6 +1,4 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},n=(new e.Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="dab52c5e-0c50-5481-980c-59e88a488be3")}catch(e){}}();
|
|
3
|
-
|
|
4
2
|
|
|
5
3
|
Object.defineProperty(exports, "__esModule", {
|
|
6
4
|
value: true
|
|
@@ -30,5 +28,4 @@ const getLocale = function () {
|
|
|
30
28
|
};
|
|
31
29
|
};
|
|
32
30
|
exports.getLocale = getLocale;
|
|
33
|
-
//# sourceMappingURL=getLocale.js.map
|
|
34
|
-
//# debugId=dab52c5e-0c50-5481-980c-59e88a488be3
|
|
31
|
+
//# sourceMappingURL=getLocale.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getLocale.js","sources":["../../src/helpers/getLocale.js"],"sourcesContent":["import { DEFAULT_LOCALE, COUNTRIES } from '@mirai/locale';\n\nimport { themeDirection } from './themeDirection';\n\nconst DELIMITER = '-';\n\nexport const getLocale = (instance = {}, { lang: urlLanguage } = {}) => {\n const [documentLanguage] = document?.documentElement?.getAttribute('lang')?.toLowerCase().split(DELIMITER) || [];\n const [navigatorLanguage, navigatorCountry] = window.navigator.language?.split(DELIMITER) || [];\n const [instanceLanguage, instanceCountry] = !urlLanguage ? instance.locale?.split(DELIMITER) || [] : [];\n\n const baseLanguage = urlLanguage || documentLanguage || instanceLanguage || navigatorLanguage;\n const baseCountry =\n instanceCountry || (baseLanguage === navigatorLanguage ? navigatorCountry : undefined) || COUNTRIES[baseLanguage];\n\n const [language, country] = COUNTRIES[baseLanguage] ? [baseLanguage, baseCountry] : DEFAULT_LOCALE.split(DELIMITER);\n themeDirection(language);\n\n return {\n // ! TODO: country should be the ip.country\n country,\n language,\n locale: [language, country].join('-'),\n };\n};\n"],"
|
|
1
|
+
{"version":3,"file":"getLocale.js","names":["_locale","require","_themeDirection","DELIMITER","getLocale","_document","_document$documentEle","_document$documentEle2","_window$navigator$lan","_instance$locale","instance","arguments","length","undefined","lang","urlLanguage","documentLanguage","document","documentElement","getAttribute","toLowerCase","split","navigatorLanguage","navigatorCountry","window","navigator","language","instanceLanguage","instanceCountry","locale","baseLanguage","baseCountry","COUNTRIES","country","DEFAULT_LOCALE","themeDirection","join","exports"],"sources":["../../src/helpers/getLocale.js"],"sourcesContent":["import { DEFAULT_LOCALE, COUNTRIES } from '@mirai/locale';\n\nimport { themeDirection } from './themeDirection';\n\nconst DELIMITER = '-';\n\nexport const getLocale = (instance = {}, { lang: urlLanguage } = {}) => {\n const [documentLanguage] = document?.documentElement?.getAttribute('lang')?.toLowerCase().split(DELIMITER) || [];\n const [navigatorLanguage, navigatorCountry] = window.navigator.language?.split(DELIMITER) || [];\n const [instanceLanguage, instanceCountry] = !urlLanguage ? instance.locale?.split(DELIMITER) || [] : [];\n\n const baseLanguage = urlLanguage || documentLanguage || instanceLanguage || navigatorLanguage;\n const baseCountry =\n instanceCountry || (baseLanguage === navigatorLanguage ? navigatorCountry : undefined) || COUNTRIES[baseLanguage];\n\n const [language, country] = COUNTRIES[baseLanguage] ? [baseLanguage, baseCountry] : DEFAULT_LOCALE.split(DELIMITER);\n themeDirection(language);\n\n return {\n // ! TODO: country should be the ip.country\n country,\n language,\n locale: [language, country].join('-'),\n };\n};\n"],"mappings":";;;;;;AAAA,IAAAA,OAAA,GAAAC,OAAA;AAEA,IAAAC,eAAA,GAAAD,OAAA;AAEA,MAAME,SAAS,GAAG,GAAG;AAEd,MAAMC,SAAS,GAAG,SAAAA,CAAA,EAA+C;EAAA,IAAAC,SAAA,EAAAC,qBAAA,EAAAC,sBAAA,EAAAC,qBAAA,EAAAC,gBAAA;EAAA,IAA9CC,QAAQ,GAAAC,SAAA,CAAAC,MAAA,QAAAD,SAAA,QAAAE,SAAA,GAAAF,SAAA,MAAG,CAAC,CAAC;EAAA,IAAE;IAAEG,IAAI,EAAEC;EAAY,CAAC,GAAAJ,SAAA,CAAAC,MAAA,QAAAD,SAAA,QAAAE,SAAA,GAAAF,SAAA,MAAG,CAAC,CAAC;EACjE,MAAM,CAACK,gBAAgB,CAAC,GAAG,EAAAX,SAAA,GAAAY,QAAQ,cAAAZ,SAAA,wBAAAC,qBAAA,GAARD,SAAA,CAAUa,eAAe,cAAAZ,qBAAA,wBAAAC,sBAAA,GAAzBD,qBAAA,CAA2Ba,YAAY,CAAC,MAAM,CAAC,cAAAZ,sBAAA,uBAA/CA,sBAAA,CAAiDa,WAAW,CAAC,CAAC,CAACC,KAAK,CAAClB,SAAS,CAAC,KAAI,EAAE;EAChH,MAAM,CAACmB,iBAAiB,EAAEC,gBAAgB,CAAC,GAAG,EAAAf,qBAAA,GAAAgB,MAAM,CAACC,SAAS,CAACC,QAAQ,cAAAlB,qBAAA,uBAAzBA,qBAAA,CAA2Ba,KAAK,CAAClB,SAAS,CAAC,KAAI,EAAE;EAC/F,MAAM,CAACwB,gBAAgB,EAAEC,eAAe,CAAC,GAAG,CAACb,WAAW,GAAG,EAAAN,gBAAA,GAAAC,QAAQ,CAACmB,MAAM,cAAApB,gBAAA,uBAAfA,gBAAA,CAAiBY,KAAK,CAAClB,SAAS,CAAC,KAAI,EAAE,GAAG,EAAE;EAEvG,MAAM2B,YAAY,GAAGf,WAAW,IAAIC,gBAAgB,IAAIW,gBAAgB,IAAIL,iBAAiB;EAC7F,MAAMS,WAAW,GACfH,eAAe,KAAKE,YAAY,KAAKR,iBAAiB,GAAGC,gBAAgB,GAAGV,SAAS,CAAC,IAAImB,iBAAS,CAACF,YAAY,CAAC;EAEnH,MAAM,CAACJ,QAAQ,EAAEO,OAAO,CAAC,GAAGD,iBAAS,CAACF,YAAY,CAAC,GAAG,CAACA,YAAY,EAAEC,WAAW,CAAC,GAAGG,sBAAc,CAACb,KAAK,CAAClB,SAAS,CAAC;EACnH,IAAAgC,8BAAc,EAACT,QAAQ,CAAC;EAExB,OAAO;IACL;IACAO,OAAO;IACPP,QAAQ;IACRG,MAAM,EAAE,CAACH,QAAQ,EAAEO,OAAO,CAAC,CAACG,IAAI,CAAC,GAAG;EACtC,CAAC;AACH,CAAC;AAACC,OAAA,CAAAjC,SAAA,GAAAA,SAAA"}
|
|
@@ -1,6 +1,4 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},n=(new e.Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="426b1673-499c-5f3b-a8e3-8533f8851d37")}catch(e){}}();
|
|
3
|
-
|
|
4
2
|
|
|
5
3
|
Object.defineProperty(exports, "__esModule", {
|
|
6
4
|
value: true
|
|
@@ -19,5 +17,4 @@ const getMetaRates = value => {
|
|
|
19
17
|
if ((_rates = rates) !== null && _rates !== void 0 && _rates.length) return rates;
|
|
20
18
|
};
|
|
21
19
|
exports.getMetaRates = getMetaRates;
|
|
22
|
-
//# sourceMappingURL=getMetaRates.js.map
|
|
23
|
-
//# debugId=426b1673-499c-5f3b-a8e3-8533f8851d37
|
|
20
|
+
//# sourceMappingURL=getMetaRates.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getMetaRates.js","sources":["../../src/helpers/getMetaRates.js"],"sourcesContent":["const ID_SEPARATOR = '--';\n\nexport const getMetaRates = (value) => {\n if (!value) return;\n\n let rates;\n\n try {\n rates = value\n .split('_')\n .map((id) => window.atob(id).replace(/[|]/g, ID_SEPARATOR))\n .filter((id) => id.includes(ID_SEPARATOR));\n } catch (error) {\n return;\n }\n if (rates?.length) return rates;\n};\n"],"
|
|
1
|
+
{"version":3,"file":"getMetaRates.js","names":["ID_SEPARATOR","getMetaRates","value","_rates","rates","split","map","id","window","atob","replace","filter","includes","error","length","exports"],"sources":["../../src/helpers/getMetaRates.js"],"sourcesContent":["const ID_SEPARATOR = '--';\n\nexport const getMetaRates = (value) => {\n if (!value) return;\n\n let rates;\n\n try {\n rates = value\n .split('_')\n .map((id) => window.atob(id).replace(/[|]/g, ID_SEPARATOR))\n .filter((id) => id.includes(ID_SEPARATOR));\n } catch (error) {\n return;\n }\n if (rates?.length) return rates;\n};\n"],"mappings":";;;;;;AAAA,MAAMA,YAAY,GAAG,IAAI;AAElB,MAAMC,YAAY,GAAIC,KAAK,IAAK;EAAA,IAAAC,MAAA;EACrC,IAAI,CAACD,KAAK,EAAE;EAEZ,IAAIE,KAAK;EAET,IAAI;IACFA,KAAK,GAAGF,KAAK,CACVG,KAAK,CAAC,GAAG,CAAC,CACVC,GAAG,CAAEC,EAAE,IAAKC,MAAM,CAACC,IAAI,CAACF,EAAE,CAAC,CAACG,OAAO,CAAC,MAAM,EAAEV,YAAY,CAAC,CAAC,CAC1DW,MAAM,CAAEJ,EAAE,IAAKA,EAAE,CAACK,QAAQ,CAACZ,YAAY,CAAC,CAAC;EAC9C,CAAC,CAAC,OAAOa,KAAK,EAAE;IACd;EACF;EACA,KAAAV,MAAA,GAAIC,KAAK,cAAAD,MAAA,eAALA,MAAA,CAAOW,MAAM,EAAE,OAAOV,KAAK;AACjC,CAAC;AAACW,OAAA,CAAAd,YAAA,GAAAA,YAAA"}
|
|
@@ -1,6 +1,4 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},n=(new e.Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="3b5b0a5a-6bdc-5bc5-8c49-9ec628cfd6a5")}catch(e){}}();
|
|
3
|
-
|
|
4
2
|
|
|
5
3
|
Object.defineProperty(exports, "__esModule", {
|
|
6
4
|
value: true
|
|
@@ -53,5 +51,4 @@ const getPerformance = function () {
|
|
|
53
51
|
})) : undefined;
|
|
54
52
|
};
|
|
55
53
|
exports.getPerformance = getPerformance;
|
|
56
|
-
//# sourceMappingURL=getPerformance.js.map
|
|
57
|
-
//# debugId=3b5b0a5a-6bdc-5bc5-8c49-9ec628cfd6a5
|
|
54
|
+
//# sourceMappingURL=getPerformance.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getPerformance.js","sources":["../../src/helpers/getPerformance.js"],"sourcesContent":["import { IS_JEST } from '../components/helpers';\nimport { TRACKING } from '../Core.constants';\n\nconst MONALISA_ID = '100379008';\n\nexport const getPerformance = ({ tracking: { trackingChain, trackingHotels, ...others } = {} } = {}, hotelId) => {\n if (!IS_JEST && process.env.NODE_ENV !== 'production' && hotelId !== MONALISA_ID) return;\n\n // ! -- TODO: use of tracking should be a temporary approach ---------------------------------------------------------\n let tracking = others;\n\n if (trackingChain && trackingHotels) {\n tracking = { ...trackingChain };\n const hotelTracking = hotelId && trackingHotels.find(({ idTokenProvider: id } = {}) => id === parseInt(hotelId));\n\n hotelTracking &&\n Object.keys(tracking).forEach((key) => {\n tracking[key] = [...tracking[key], ...hotelTracking[key]];\n });\n }\n\n // ! -- TODO: Choose which one will load gtag\n return Object.keys(tracking).length > 0\n ? Object.keys(tracking)\n .filter((key) => !!TRACKING[key] && tracking[key].length > 0)\n .map((key) => ({\n type: TRACKING[key],\n instances: tracking[key].map(({ configuration = {}, id }) => ({\n ...(configuration !== null ? configuration : {}),\n id,\n })),\n }))\n : undefined;\n};\n"],"
|
|
1
|
+
{"version":3,"file":"getPerformance.js","names":["_helpers","require","_Core","MONALISA_ID","getPerformance","tracking","trackingChain","trackingHotels","others","arguments","length","undefined","hotelId","IS_JEST","process","env","NODE_ENV","hotelTracking","find","idTokenProvider","id","parseInt","Object","keys","forEach","key","filter","TRACKING","map","type","instances","_ref","configuration","exports"],"sources":["../../src/helpers/getPerformance.js"],"sourcesContent":["import { IS_JEST } from '../components/helpers';\nimport { TRACKING } from '../Core.constants';\n\nconst MONALISA_ID = '100379008';\n\nexport const getPerformance = ({ tracking: { trackingChain, trackingHotels, ...others } = {} } = {}, hotelId) => {\n if (!IS_JEST && process.env.NODE_ENV !== 'production' && hotelId !== MONALISA_ID) return;\n\n // ! -- TODO: use of tracking should be a temporary approach ---------------------------------------------------------\n let tracking = others;\n\n if (trackingChain && trackingHotels) {\n tracking = { ...trackingChain };\n const hotelTracking = hotelId && trackingHotels.find(({ idTokenProvider: id } = {}) => id === parseInt(hotelId));\n\n hotelTracking &&\n Object.keys(tracking).forEach((key) => {\n tracking[key] = [...tracking[key], ...hotelTracking[key]];\n });\n }\n\n // ! -- TODO: Choose which one will load gtag\n return Object.keys(tracking).length > 0\n ? Object.keys(tracking)\n .filter((key) => !!TRACKING[key] && tracking[key].length > 0)\n .map((key) => ({\n type: TRACKING[key],\n instances: tracking[key].map(({ configuration = {}, id }) => ({\n ...(configuration !== null ? configuration : {}),\n id,\n })),\n }))\n : undefined;\n};\n"],"mappings":";;;;;;AAAA,IAAAA,QAAA,GAAAC,OAAA;AACA,IAAAC,KAAA,GAAAD,OAAA;AAEA,MAAME,WAAW,GAAG,WAAW;AAExB,MAAMC,cAAc,GAAG,SAAAA,CAAA,EAAmF;EAAA,IAAlF;IAAEC,QAAQ,EAAE;MAAEC,aAA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,CAAEH,GAAG,KAAM;IACbI,IAAI,EAAEF,cAAQ,CAACF,GAAG,CAAC;IACnBK,SAAS,EAAEzB,QAAQ,CAACoB,GAAG,CAAC,CAACG,GAAG,CAACG,IAAA;MAAA,IAAC;QAAEC,aAAa,GAAG,CAAC,CAAC;QAAEZ;MAAG,CAAC,GAAAW,IAAA;MAAA,OAAM;QAC5D,IAAIC,aAAa,KAAK,IAAI,GAAGA,aAAa,GAAG,CAAC,CAAC,CAAC;QAChDZ;MACF,CAAC;IAAA,CAAC;EACJ,CAAC,CAAC,CAAC,GACLT,SAAS;AACf,CAAC;AAACsB,OAAA,CAAA7B,cAAA,GAAAA,cAAA"}
|
package/build/helpers/getTags.js
CHANGED
|
@@ -1,6 +1,4 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},n=(new e.Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="976f3913-93c7-56d9-91f9-f07213546420")}catch(e){}}();
|
|
3
|
-
|
|
4
2
|
|
|
5
3
|
Object.defineProperty(exports, "__esModule", {
|
|
6
4
|
value: true
|
|
@@ -43,5 +41,4 @@ const getTags = function () {
|
|
|
43
41
|
return options;
|
|
44
42
|
};
|
|
45
43
|
exports.getTags = getTags;
|
|
46
|
-
//# sourceMappingURL=getTags.js.map
|
|
47
|
-
//# debugId=976f3913-93c7-56d9-91f9-f07213546420
|
|
44
|
+
//# sourceMappingURL=getTags.js.map
|