@mirai/core 0.2.19 → 0.3.1
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 +67 -50
- package/build/Core.Notifications.js.map +1 -1
- package/build/Core.constants.js +13 -11
- package/build/Core.constants.js.map +1 -1
- package/build/Core.definition.js +3 -3
- package/build/Core.definition.js.map +1 -1
- package/build/Core.js +69 -48
- package/build/Core.js.map +1 -1
- package/build/Core.provider.js +91 -41
- package/build/Core.provider.js.map +1 -1
- package/build/components/Booking/Booking.constants.js +48 -0
- package/build/components/Booking/Booking.constants.js.map +1 -0
- package/build/components/Booking/Booking.js +226 -0
- package/build/components/Booking/Booking.js.map +1 -0
- package/build/components/Booking/Booking.l10n.js +233 -0
- package/build/components/Booking/Booking.l10n.js.map +1 -0
- package/build/components/Booking/Booking.module.css +273 -0
- package/build/components/{user → Booking}/Booking.skeleton.js +12 -14
- package/build/components/Booking/Booking.skeleton.js.map +1 -0
- package/build/components/Booking/__tests__/__snapshots__/Booking.test.js.snap +83 -0
- package/build/components/Booking/components/Field/Field.js +70 -0
- package/build/components/Booking/components/Field/Field.js.map +1 -0
- package/build/components/Booking/components/Field/Field.l10n.js +12 -0
- package/build/components/Booking/components/Field/Field.l10n.js.map +1 -0
- package/build/components/Booking/components/Field/Field.module.css +48 -0
- package/build/components/Booking/components/Field/__tests__/__snapshots__/Field.test.js.snap +139 -0
- package/build/components/Booking/components/Field/index.js +17 -0
- package/build/components/Booking/components/Field/index.js.map +1 -0
- package/build/components/Booking/components/index.js +17 -0
- package/build/components/Booking/components/index.js.map +1 -0
- package/build/components/Booking/helpers/getOccupationCaption.js +64 -0
- package/build/components/Booking/helpers/getOccupationCaption.js.map +1 -0
- package/build/components/Booking/helpers/index.js +28 -0
- package/build/components/Booking/helpers/index.js.map +1 -0
- package/build/components/Booking/helpers/trackStateChange.js +97 -0
- package/build/components/Booking/helpers/trackStateChange.js.map +1 -0
- package/build/components/Booking/index.js +13 -0
- package/build/components/Booking/index.js.map +1 -0
- package/build/components/Booking/mocks/booking.json +176 -0
- package/build/components/Booking/partials/Booking.Details.js +133 -0
- package/build/components/Booking/partials/Booking.Details.js.map +1 -0
- package/build/components/Booking/partials/Booking.FormCancel.js +107 -0
- package/build/components/Booking/partials/Booking.FormCancel.js.map +1 -0
- package/build/components/Booking/partials/Booking.FormEdit.js +22 -0
- package/build/components/Booking/partials/Booking.FormEdit.js.map +1 -0
- package/build/components/Booking/partials/Booking.FormResend.js +53 -0
- package/build/components/Booking/partials/Booking.FormResend.js.map +1 -0
- package/build/components/Booking/partials/Booking.Menu.js +98 -0
- package/build/components/Booking/partials/Booking.Menu.js.map +1 -0
- package/build/components/Booking/partials/Booking.Modal.js +181 -0
- package/build/components/Booking/partials/Booking.Modal.js.map +1 -0
- package/build/components/Booking/partials/Booking.ModalAgency.js +65 -0
- package/build/components/Booking/partials/Booking.ModalAgency.js.map +1 -0
- package/build/components/Booking/partials/Booking.Others.js +115 -0
- package/build/components/Booking/partials/Booking.Others.js.map +1 -0
- package/build/components/Booking/partials/Booking.PriceBreakdown.js +150 -0
- package/build/components/Booking/partials/Booking.PriceBreakdown.js.map +1 -0
- package/build/components/Booking/partials/Booking.Summary.js +255 -0
- package/build/components/Booking/partials/Booking.Summary.js.map +1 -0
- package/build/components/Booking/partials/__tests__/__snapshots__/Booking.Details.test.js.snap +4677 -0
- package/build/components/Booking/partials/__tests__/__snapshots__/Booking.Menu.test.js.snap +638 -0
- package/build/components/Booking/partials/__tests__/__snapshots__/Booking.Modal.test.js.snap +400 -0
- package/build/components/Booking/partials/__tests__/__snapshots__/Booking.Others.test.js.snap +442 -0
- package/build/components/Booking/partials/__tests__/__snapshots__/Booking.Summary.test.js.snap +1066 -0
- package/build/components/Booking/partials/index.js +72 -0
- package/build/components/Booking/partials/index.js.map +1 -0
- package/build/components/BookingQuery/BookingQuery.constants.js +11 -0
- package/build/components/BookingQuery/BookingQuery.constants.js.map +1 -0
- package/build/components/BookingQuery/BookingQuery.js +199 -0
- package/build/components/BookingQuery/BookingQuery.js.map +1 -0
- package/build/components/BookingQuery/BookingQuery.l10n.js +36 -0
- package/build/components/BookingQuery/BookingQuery.l10n.js.map +1 -0
- package/build/components/BookingQuery/BookingQuery.module.css +17 -0
- package/build/components/{user → BookingQuery}/BookingQuery.skeleton.js +4 -3
- package/build/components/BookingQuery/BookingQuery.skeleton.js.map +1 -0
- package/build/components/BookingQuery/__tests__/__snapshots__/BookingQuery.test.js.snap +1106 -0
- package/build/components/BookingQuery/helpers/getErrorText.js +12 -0
- package/build/components/BookingQuery/helpers/getErrorText.js.map +1 -0
- package/build/components/BookingQuery/helpers/index.js +17 -0
- package/build/components/BookingQuery/helpers/index.js.map +1 -0
- package/build/components/BookingQuery/index.js +13 -0
- package/build/components/BookingQuery/index.js.map +1 -0
- package/build/components/Checkout/Checkout.constants.js +45 -0
- package/build/components/Checkout/Checkout.constants.js.map +1 -0
- package/build/components/Checkout/Checkout.js +182 -0
- package/build/components/Checkout/Checkout.js.map +1 -0
- package/build/components/Checkout/Checkout.l10n.js +125 -0
- package/build/components/Checkout/Checkout.l10n.js.map +1 -0
- package/build/components/Checkout/Checkout.module.css +250 -0
- package/build/components/{user → Checkout}/Checkout.skeleton.js +10 -12
- package/build/components/Checkout/Checkout.skeleton.js.map +1 -0
- package/build/components/Checkout/__tests__/__snapshots__/Checkout.test.js.snap +133 -0
- package/build/components/Checkout/components/InputRadio/InputRadio.js +67 -0
- package/build/components/Checkout/components/InputRadio/InputRadio.js.map +1 -0
- package/build/components/Checkout/components/InputRadio/InputRadio.module.css +3 -0
- package/build/components/Checkout/components/InputRadio/__tests__/__snapshots__/InputRadio.test.js.snap +323 -0
- package/build/components/Checkout/components/InputRadio/index.js +17 -0
- package/build/components/Checkout/components/InputRadio/index.js.map +1 -0
- package/build/components/Checkout/components/index.js +17 -0
- package/build/components/Checkout/components/index.js.map +1 -0
- package/build/components/Checkout/helpers/generateId.js +21 -0
- package/build/components/Checkout/helpers/generateId.js.map +1 -0
- package/build/components/Checkout/helpers/getFieldProps.js +79 -0
- package/build/components/Checkout/helpers/getFieldProps.js.map +1 -0
- package/build/components/Checkout/helpers/getVariant.js +34 -0
- package/build/components/Checkout/helpers/getVariant.js.map +1 -0
- package/build/components/Checkout/helpers/index.js +61 -0
- package/build/components/Checkout/helpers/index.js.map +1 -0
- package/build/components/Checkout/helpers/testDNI.js +12 -0
- package/build/components/Checkout/helpers/testDNI.js.map +1 -0
- package/build/components/Checkout/helpers/trackDataSource.js +117 -0
- package/build/components/Checkout/helpers/trackDataSource.js.map +1 -0
- package/build/components/Checkout/helpers/trackForm.js +25 -0
- package/build/components/Checkout/helpers/trackForm.js.map +1 -0
- package/build/components/Checkout/index.js +13 -0
- package/build/components/Checkout/index.js.map +1 -0
- package/build/components/Checkout/mocks/checkout.json +519 -0
- package/build/components/Checkout/partials/Checkout.Confirmation.js +237 -0
- package/build/components/Checkout/partials/Checkout.Confirmation.js.map +1 -0
- package/build/components/Checkout/partials/Checkout.Details.js +172 -0
- package/build/components/Checkout/partials/Checkout.Details.js.map +1 -0
- package/build/components/Checkout/partials/Checkout.Form.js +215 -0
- package/build/components/Checkout/partials/Checkout.Form.js.map +1 -0
- package/build/components/Checkout/partials/Checkout.Session.js +108 -0
- package/build/components/Checkout/partials/Checkout.Session.js.map +1 -0
- package/build/components/Checkout/partials/Checkout.Summary.Line.js +56 -0
- package/build/components/Checkout/partials/Checkout.Summary.Line.js.map +1 -0
- package/build/components/Checkout/partials/Checkout.Summary.js +196 -0
- package/build/components/Checkout/partials/Checkout.Summary.js.map +1 -0
- package/build/components/Checkout/partials/__tests__/__snapshots__/Checkout.Confirmation.test.js.snap +1580 -0
- package/build/components/Checkout/partials/__tests__/__snapshots__/Checkout.Details.test.js.snap +1636 -0
- package/build/components/Checkout/partials/__tests__/__snapshots__/Checkout.Form.test.js.snap +5650 -0
- package/build/components/Checkout/partials/__tests__/__snapshots__/Checkout.Session.test.js.snap +770 -0
- package/build/components/Checkout/partials/__tests__/__snapshots__/Checkout.Summary.test.js.snap +798 -0
- package/build/components/Checkout/partials/index.js +61 -0
- package/build/components/Checkout/partials/index.js.map +1 -0
- package/build/components/Deals/Deals.Calendar.js +180 -0
- package/build/components/Deals/Deals.Calendar.js.map +1 -0
- package/build/components/Deals/Deals.constants.js +16 -0
- package/build/components/Deals/Deals.constants.js.map +1 -0
- package/build/components/Deals/Deals.js +281 -0
- package/build/components/Deals/Deals.js.map +1 -0
- package/build/components/Deals/Deals.l10n.js +43 -0
- package/build/components/Deals/Deals.l10n.js.map +1 -0
- package/build/components/Deals/Deals.module.css +106 -0
- package/build/components/{finder → Deals}/Deals.skeleton.js +17 -19
- package/build/components/Deals/Deals.skeleton.js.map +1 -0
- package/build/components/Deals/__tests__/__snapshots__/Deals.Calendar.test.js.snap +4584 -0
- package/build/components/Deals/__tests__/__snapshots__/Deals.test.js.snap +7893 -0
- package/build/components/Deals/helpers/__tests__/__mocks__/deal.json +25 -0
- package/build/components/Deals/helpers/calcFromDate.js +20 -0
- package/build/components/Deals/helpers/calcFromDate.js.map +1 -0
- package/build/components/Deals/helpers/calcMinStay.js +24 -0
- package/build/components/Deals/helpers/calcMinStay.js.map +1 -0
- package/build/components/Deals/helpers/calcNightWithDeals.js +17 -0
- package/build/components/Deals/helpers/calcNightWithDeals.js.map +1 -0
- package/build/components/Deals/helpers/calcToDate.js +19 -0
- package/build/components/Deals/helpers/calcToDate.js.map +1 -0
- package/build/components/Deals/helpers/calcTooltips.js +59 -0
- package/build/components/Deals/helpers/calcTooltips.js.map +1 -0
- package/build/components/Deals/helpers/getCurrency.js +19 -0
- package/build/components/Deals/helpers/getCurrency.js.map +1 -0
- package/build/components/Deals/helpers/index.js +83 -0
- package/build/components/Deals/helpers/index.js.map +1 -0
- package/build/components/Deals/helpers/validate.js +37 -0
- package/build/components/Deals/helpers/validate.js.map +1 -0
- package/build/components/Deals/index.js +13 -0
- package/build/components/Deals/index.js.map +1 -0
- package/build/components/Environment/Environment.js +47 -0
- package/build/components/Environment/Environment.js.map +1 -0
- package/build/components/Environment/Environment.module.css +6 -0
- package/build/components/Environment/index.js +13 -0
- package/build/components/Environment/index.js.map +1 -0
- package/build/components/Finder/Finder.constants.js +37 -0
- package/build/components/Finder/Finder.constants.js.map +1 -0
- package/build/components/Finder/Finder.js +242 -0
- package/build/components/Finder/Finder.js.map +1 -0
- package/build/components/Finder/Finder.l10n.js +21 -0
- package/build/components/Finder/Finder.l10n.js.map +1 -0
- package/build/components/Finder/Finder.module.css +46 -0
- package/build/components/Finder/__tests__/__snapshots__/Finder.test.js.snap +11469 -0
- package/build/components/Finder/components/Calendar/Calendar.constants.js +19 -0
- package/build/components/Finder/components/Calendar/Calendar.constants.js.map +1 -0
- package/build/components/Finder/components/Calendar/Calendar.js +209 -0
- package/build/components/Finder/components/Calendar/Calendar.js.map +1 -0
- package/build/components/Finder/components/Calendar/Calendar.l10n.js +25 -0
- package/build/components/Finder/components/Calendar/Calendar.l10n.js.map +1 -0
- package/build/components/Finder/components/Calendar/Calendar.module.css +28 -0
- package/build/components/Finder/components/Calendar/__tests__/__mocks__/prices.json +11 -0
- package/build/components/Finder/components/Calendar/__tests__/__snapshots__/Calendar.test.js.snap +10164 -0
- package/build/components/Finder/components/Calendar/helpers/fetchPrices.js +86 -0
- package/build/components/Finder/components/Calendar/helpers/fetchPrices.js.map +1 -0
- package/build/components/Finder/components/Calendar/helpers/getVisibleDate.js +15 -0
- package/build/components/Finder/components/Calendar/helpers/getVisibleDate.js.map +1 -0
- package/build/components/Finder/components/Calendar/helpers/index.js +28 -0
- package/build/components/Finder/components/Calendar/helpers/index.js.map +1 -0
- package/build/components/Finder/components/Calendar/index.js +17 -0
- package/build/components/Finder/components/Calendar/index.js.map +1 -0
- package/build/components/Finder/components/Places/Places.js +108 -0
- package/build/components/Finder/components/Places/Places.js.map +1 -0
- package/build/components/Finder/components/Places/Places.l10n.js +12 -0
- package/build/components/Finder/components/Places/Places.l10n.js.map +1 -0
- package/build/components/Finder/components/Places/Places.module.css +83 -0
- package/build/components/Finder/components/Places/__tests__/__mocks__/places.json +44 -0
- package/build/components/Finder/components/Places/__tests__/__snapshots__/Places.test.js.snap +288 -0
- package/build/components/Finder/components/Places/helpers/calcColumns.js +40 -0
- package/build/components/Finder/components/Places/helpers/calcColumns.js.map +1 -0
- package/build/components/Finder/components/Places/helpers/index.js +17 -0
- package/build/components/Finder/components/Places/helpers/index.js.map +1 -0
- package/build/components/Finder/components/Places/index.js +17 -0
- package/build/components/Finder/components/Places/index.js.map +1 -0
- package/build/components/Finder/components/index.js +28 -0
- package/build/components/Finder/components/index.js.map +1 -0
- package/build/components/Finder/helpers/__tests__/__mocks__/chain.json +1113 -0
- package/build/components/Finder/helpers/__tests__/__mocks__/dataSource.json +1382 -0
- package/build/components/Finder/helpers/__tests__/__mocks__/hotel.json +199 -0
- package/build/components/Finder/helpers/getDataSource.js +65 -0
- package/build/components/Finder/helpers/getDataSource.js.map +1 -0
- package/build/components/Finder/helpers/getHotels.js +41 -0
- package/build/components/Finder/helpers/getHotels.js.map +1 -0
- package/build/components/Finder/helpers/getOccupationDataSource.js +107 -0
- package/build/components/Finder/helpers/getOccupationDataSource.js.map +1 -0
- package/build/components/Finder/helpers/getPlaceCaption.js +15 -0
- package/build/components/Finder/helpers/getPlaceCaption.js.map +1 -0
- package/build/components/Finder/helpers/getPlacesOptions.js +50 -0
- package/build/components/Finder/helpers/getPlacesOptions.js.map +1 -0
- package/build/components/Finder/helpers/index.js +94 -0
- package/build/components/Finder/helpers/index.js.map +1 -0
- package/build/components/Finder/helpers/parseCalendarProps.js +29 -0
- package/build/components/Finder/helpers/parseCalendarProps.js.map +1 -0
- package/build/components/Finder/helpers/parseValue.js +20 -0
- package/build/components/Finder/helpers/parseValue.js.map +1 -0
- package/build/components/Finder/helpers/validate.js +15 -0
- package/build/components/Finder/helpers/validate.js.map +1 -0
- package/build/components/Finder/index.js +13 -0
- package/build/components/Finder/index.js.map +1 -0
- package/build/components/Profile/Profile.Account.js +224 -0
- package/build/components/Profile/Profile.Account.js.map +1 -0
- package/build/components/Profile/Profile.Password.js +173 -0
- package/build/components/Profile/Profile.Password.js.map +1 -0
- package/build/components/Profile/Profile.Signout.js +137 -0
- package/build/components/Profile/Profile.Signout.js.map +1 -0
- package/build/components/Profile/Profile.constants.js +13 -0
- package/build/components/Profile/Profile.constants.js.map +1 -0
- package/build/components/Profile/Profile.js +75 -0
- package/build/components/Profile/Profile.js.map +1 -0
- package/build/components/Profile/Profile.l10n.js +100 -0
- package/build/components/Profile/Profile.l10n.js.map +1 -0
- package/build/components/Profile/Profile.module.css +70 -0
- package/build/components/Profile/Profile.skeleton.js +120 -0
- package/build/components/Profile/Profile.skeleton.js.map +1 -0
- package/build/components/Profile/components/Bookings/Booking.constants.js +20 -0
- package/build/components/Profile/components/Bookings/Booking.constants.js.map +1 -0
- package/build/components/Profile/components/Bookings/Booking.l10n.js +47 -0
- package/build/components/Profile/components/Bookings/Booking.l10n.js.map +1 -0
- package/build/components/Profile/components/Bookings/Bookings.Item.js +110 -0
- package/build/components/Profile/components/Bookings/Bookings.Item.js.map +1 -0
- package/build/components/Profile/components/Bookings/Bookings.Search.js +98 -0
- package/build/components/Profile/components/Bookings/Bookings.Search.js.map +1 -0
- package/build/components/Profile/components/Bookings/Bookings.js +184 -0
- package/build/components/Profile/components/Bookings/Bookings.js.map +1 -0
- package/build/components/Profile/components/Bookings/Bookings.module.css +171 -0
- package/build/components/Profile/components/Bookings/__tests__/__snapshots__/Bookings.test.js.snap +9 -0
- package/build/components/Profile/components/Bookings/helpers/groupDatasource.js +31 -0
- package/build/components/Profile/components/Bookings/helpers/groupDatasource.js.map +1 -0
- package/build/components/Profile/components/Bookings/helpers/index.js +17 -0
- package/build/components/Profile/components/Bookings/helpers/index.js.map +1 -0
- package/build/components/Profile/components/Bookings/index.js +17 -0
- package/build/components/Profile/components/Bookings/index.js.map +1 -0
- package/build/components/Profile/components/index.js +17 -0
- package/build/components/Profile/components/index.js.map +1 -0
- package/build/components/Profile/index.js +13 -0
- package/build/components/Profile/index.js.map +1 -0
- package/build/components/Session/Session.Account.js +161 -0
- package/build/components/Session/Session.Account.js.map +1 -0
- package/build/components/Session/Session.Login.Modal.js +334 -0
- package/build/components/Session/Session.Login.Modal.js.map +1 -0
- package/build/components/Session/Session.Login.js +85 -0
- package/build/components/Session/Session.Login.js.map +1 -0
- package/build/components/Session/Session.constants.js +26 -0
- package/build/components/Session/Session.constants.js.map +1 -0
- package/build/components/Session/Session.js +50 -0
- package/build/components/Session/Session.js.map +1 -0
- package/build/components/Session/Session.l10n.js +81 -0
- package/build/components/Session/Session.l10n.js.map +1 -0
- package/build/components/Session/Session.module.css +41 -0
- package/build/components/Session/Session.skeleton.js +19 -0
- package/build/components/Session/Session.skeleton.js.map +1 -0
- package/build/components/Session/__tests__/__snapshots__/Session.test.js.snap +1075 -0
- package/build/components/Session/helpers/getDomain.js +14 -0
- package/build/components/Session/helpers/getDomain.js.map +1 -0
- package/build/components/Session/helpers/getSignupUrl.js +19 -0
- package/build/components/Session/helpers/getSignupUrl.js.map +1 -0
- package/build/components/Session/helpers/index.js +50 -0
- package/build/components/Session/helpers/index.js.map +1 -0
- package/build/components/Session/helpers/template.js +18 -0
- package/build/components/Session/helpers/template.js.map +1 -0
- package/build/components/Session/helpers/trackLogin.js +23 -0
- package/build/components/Session/helpers/trackLogin.js.map +1 -0
- package/build/components/Session/index.js +13 -0
- package/build/components/Session/index.js.map +1 -0
- package/build/components/Signup/Signup.constants.js +8 -0
- package/build/components/Signup/Signup.constants.js.map +1 -0
- package/build/components/Signup/Signup.js +266 -0
- package/build/components/Signup/Signup.js.map +1 -0
- package/build/components/Signup/Signup.l10n.js +67 -0
- package/build/components/Signup/Signup.l10n.js.map +1 -0
- package/build/components/Signup/Signup.module.css +25 -0
- package/build/components/Signup/Signup.skeleton.js +93 -0
- package/build/components/Signup/Signup.skeleton.js.map +1 -0
- package/build/components/Signup/__tests__/__snapshots__/Signup.test.js.snap +1023 -0
- package/build/components/Signup/index.js +13 -0
- package/build/components/Signup/index.js.map +1 -0
- package/build/components/State/State.js +104 -0
- package/build/components/State/State.js.map +1 -0
- package/build/components/State/State.module.css +34 -0
- package/build/components/State/index.js +13 -0
- package/build/components/State/index.js.map +1 -0
- package/build/components/__shared__/BookingDates/BookingDates.constants.js +12 -0
- package/build/components/__shared__/BookingDates/BookingDates.constants.js.map +1 -0
- package/build/components/__shared__/BookingDates/BookingDates.js +74 -0
- package/build/components/__shared__/BookingDates/BookingDates.js.map +1 -0
- package/build/components/__shared__/BookingDates/BookingDates.l10n.js +27 -0
- package/build/components/__shared__/BookingDates/BookingDates.l10n.js.map +1 -0
- package/build/components/__shared__/BookingDates/BookingDates.module.css +13 -0
- package/build/components/__shared__/BookingDates/__tests__/__snapshots__/BookingDates.test.js.snap +208 -0
- package/build/components/__shared__/BookingDates/index.js +17 -0
- package/build/components/__shared__/BookingDates/index.js.map +1 -0
- package/build/components/__shared__/BookingTable/BookingTable.Row.js +123 -0
- package/build/components/__shared__/BookingTable/BookingTable.Row.js.map +1 -0
- package/build/components/__shared__/BookingTable/BookingTable.constants.js +18 -0
- package/build/components/__shared__/BookingTable/BookingTable.constants.js.map +1 -0
- package/build/components/__shared__/BookingTable/BookingTable.js +93 -0
- package/build/components/__shared__/BookingTable/BookingTable.js.map +1 -0
- package/build/components/__shared__/BookingTable/BookingTable.l10n.js +15 -0
- package/build/components/__shared__/BookingTable/BookingTable.l10n.js.map +1 -0
- package/build/components/__shared__/BookingTable/BookingTable.module.css +125 -0
- package/build/components/__shared__/BookingTable/__tests__/__snapshots__/BookingTable.Row.test.js.snap +456 -0
- package/build/components/__shared__/BookingTable/__tests__/__snapshots__/BookingTable.test.js.snap +619 -0
- package/build/components/__shared__/BookingTable/index.js +17 -0
- package/build/components/__shared__/BookingTable/index.js.map +1 -0
- package/build/components/__shared__/ButtonMore/ButtonMore.js +46 -0
- package/build/components/__shared__/ButtonMore/ButtonMore.js.map +1 -0
- package/build/components/__shared__/ButtonMore/ButtonMore.l10n.js +12 -0
- package/build/components/__shared__/ButtonMore/ButtonMore.l10n.js.map +1 -0
- package/build/components/__shared__/ButtonMore/ButtonMore.module.css +9 -0
- package/build/components/__shared__/ButtonMore/__tests__/__snapshots__/ButtonMore.test.js.snap +110 -0
- package/build/components/__shared__/ButtonMore/index.js +17 -0
- package/build/components/__shared__/ButtonMore/index.js.map +1 -0
- package/build/components/__shared__/ButtonPayment/ButtonPayment.constants.js +21 -0
- package/build/components/__shared__/ButtonPayment/ButtonPayment.constants.js.map +1 -0
- package/build/components/__shared__/ButtonPayment/ButtonPayment.js +278 -0
- package/build/components/__shared__/ButtonPayment/ButtonPayment.js.map +1 -0
- package/build/components/__shared__/ButtonPayment/ButtonPayment.l10n.js +13 -0
- package/build/components/__shared__/ButtonPayment/ButtonPayment.l10n.js.map +1 -0
- package/build/components/__shared__/ButtonPayment/ButtonPayment.module.css +3 -0
- package/build/components/__shared__/ButtonPayment/__tests__/__snapshots__/ButtonPayment.test.js.snap +195 -0
- package/build/components/__shared__/ButtonPayment/components/FormAddon/FormAddon.js +95 -0
- package/build/components/__shared__/ButtonPayment/components/FormAddon/FormAddon.js.map +1 -0
- package/build/components/__shared__/ButtonPayment/components/FormAddon/FormAddon.l10n.js +21 -0
- package/build/components/__shared__/ButtonPayment/components/FormAddon/FormAddon.l10n.js.map +1 -0
- package/build/components/__shared__/ButtonPayment/components/FormAddon/FormAddon.module.css +9 -0
- package/build/components/__shared__/ButtonPayment/components/FormAddon/__tests__/__snapshots__/FormAddon.test.js.snap +68 -0
- package/build/components/__shared__/ButtonPayment/components/FormAddon/helpers/getCtaKey.js +18 -0
- package/build/components/__shared__/ButtonPayment/components/FormAddon/helpers/getCtaKey.js.map +1 -0
- package/build/components/__shared__/ButtonPayment/components/FormAddon/helpers/index.js +17 -0
- package/build/components/__shared__/ButtonPayment/components/FormAddon/helpers/index.js.map +1 -0
- package/build/components/__shared__/ButtonPayment/components/FormAddon/index.js +17 -0
- package/build/components/__shared__/ButtonPayment/components/FormAddon/index.js.map +1 -0
- package/build/components/__shared__/ButtonPayment/components/FormCheckout/FormCheckout.constants.js +37 -0
- package/build/components/__shared__/ButtonPayment/components/FormCheckout/FormCheckout.constants.js.map +1 -0
- package/build/components/__shared__/ButtonPayment/components/FormCheckout/FormCheckout.js +198 -0
- package/build/components/__shared__/ButtonPayment/components/FormCheckout/FormCheckout.js.map +1 -0
- package/build/components/__shared__/ButtonPayment/components/FormCheckout/FormCheckout.l10n.js +30 -0
- package/build/components/__shared__/ButtonPayment/components/FormCheckout/FormCheckout.l10n.js.map +1 -0
- package/build/components/__shared__/ButtonPayment/components/FormCheckout/FormCheckout.module.css +27 -0
- package/build/components/__shared__/ButtonPayment/components/FormCheckout/__tests__/__snapshots__/FormCheckout.test.js.snap +308 -0
- package/build/components/__shared__/ButtonPayment/components/FormCheckout/helpers/getStyle.js +35 -0
- package/build/components/__shared__/ButtonPayment/components/FormCheckout/helpers/getStyle.js.map +1 -0
- package/build/components/__shared__/ButtonPayment/components/FormCheckout/helpers/index.js +17 -0
- package/build/components/__shared__/ButtonPayment/components/FormCheckout/helpers/index.js.map +1 -0
- package/build/components/__shared__/ButtonPayment/components/FormCheckout/index.js +17 -0
- package/build/components/__shared__/ButtonPayment/components/FormCheckout/index.js.map +1 -0
- package/build/components/__shared__/ButtonPayment/components/FormPaycomet/FormPaycomet.constants.js +8 -0
- package/build/components/__shared__/ButtonPayment/components/FormPaycomet/FormPaycomet.constants.js.map +1 -0
- package/build/components/__shared__/ButtonPayment/components/FormPaycomet/FormPaycomet.js +230 -0
- package/build/components/__shared__/ButtonPayment/components/FormPaycomet/FormPaycomet.js.map +1 -0
- package/build/components/__shared__/ButtonPayment/components/FormPaycomet/FormPaycomet.l10n.js +30 -0
- package/build/components/__shared__/ButtonPayment/components/FormPaycomet/FormPaycomet.l10n.js.map +1 -0
- package/build/components/__shared__/ButtonPayment/components/FormPaycomet/FormPaycomet.module.css +26 -0
- package/build/components/__shared__/ButtonPayment/components/FormPaycomet/__tests__/__snapshots__/FormPaycomet.test.js.snap +148 -0
- package/build/components/__shared__/ButtonPayment/components/FormPaycomet/helpers/index.js +17 -0
- package/build/components/__shared__/ButtonPayment/components/FormPaycomet/helpers/index.js.map +1 -0
- package/build/components/__shared__/ButtonPayment/components/FormPaycomet/helpers/useMutationObserver.js +24 -0
- package/build/components/__shared__/ButtonPayment/components/FormPaycomet/helpers/useMutationObserver.js.map +1 -0
- package/build/components/__shared__/ButtonPayment/components/FormPaycomet/index.js +17 -0
- package/build/components/__shared__/ButtonPayment/components/FormPaycomet/index.js.map +1 -0
- package/build/components/__shared__/ButtonPayment/components/FormSipay/FormSipay.constants.js +16 -0
- package/build/components/__shared__/ButtonPayment/components/FormSipay/FormSipay.constants.js.map +1 -0
- package/build/components/__shared__/ButtonPayment/components/FormSipay/FormSipay.js +136 -0
- package/build/components/__shared__/ButtonPayment/components/FormSipay/FormSipay.js.map +1 -0
- package/build/components/__shared__/ButtonPayment/components/FormSipay/FormSipay.l10n.js +21 -0
- package/build/components/__shared__/ButtonPayment/components/FormSipay/FormSipay.l10n.js.map +1 -0
- package/build/components/__shared__/ButtonPayment/components/FormSipay/FormSipay.module.css +17 -0
- package/build/components/__shared__/ButtonPayment/components/FormSipay/__tests__/__snapshots__/FormSipay.test.js.snap +149 -0
- package/build/components/__shared__/ButtonPayment/components/FormSipay/helpers/getStyle.js +22 -0
- package/build/components/__shared__/ButtonPayment/components/FormSipay/helpers/getStyle.js.map +1 -0
- package/build/components/__shared__/ButtonPayment/components/FormSipay/helpers/index.js +17 -0
- package/build/components/__shared__/ButtonPayment/components/FormSipay/helpers/index.js.map +1 -0
- package/build/components/__shared__/ButtonPayment/components/FormSipay/index.js +17 -0
- package/build/components/__shared__/ButtonPayment/components/FormSipay/index.js.map +1 -0
- package/build/components/__shared__/ButtonPayment/components/InputField/InputField.js +54 -0
- package/build/components/__shared__/ButtonPayment/components/InputField/InputField.js.map +1 -0
- package/build/components/__shared__/ButtonPayment/components/InputField/InputField.module.css +60 -0
- package/build/components/__shared__/ButtonPayment/components/InputField/__tests__/__snapshots__/InputField.test.js.snap +166 -0
- package/build/components/__shared__/ButtonPayment/components/InputField/index.js +17 -0
- package/build/components/__shared__/ButtonPayment/components/InputField/index.js.map +1 -0
- package/build/components/__shared__/ButtonPayment/components/index.js +50 -0
- package/build/components/__shared__/ButtonPayment/components/index.js.map +1 -0
- package/build/components/__shared__/ButtonPayment/helpers/getComponent.js +26 -0
- package/build/components/__shared__/ButtonPayment/helpers/getComponent.js.map +1 -0
- package/build/components/__shared__/ButtonPayment/helpers/getUrl.js +32 -0
- package/build/components/__shared__/ButtonPayment/helpers/getUrl.js.map +1 -0
- package/build/components/__shared__/ButtonPayment/helpers/getUrlBooking.js +29 -0
- package/build/components/__shared__/ButtonPayment/helpers/getUrlBooking.js.map +1 -0
- package/build/components/__shared__/ButtonPayment/helpers/getUrlCriptan.js +25 -0
- package/build/components/__shared__/ButtonPayment/helpers/getUrlCriptan.js.map +1 -0
- package/build/components/__shared__/ButtonPayment/helpers/getUrlTpv.js +39 -0
- package/build/components/__shared__/ButtonPayment/helpers/getUrlTpv.js.map +1 -0
- package/build/components/__shared__/ButtonPayment/helpers/index.js +39 -0
- package/build/components/__shared__/ButtonPayment/helpers/index.js.map +1 -0
- package/build/components/__shared__/ButtonPayment/helpers/loadScript.js +25 -0
- package/build/components/__shared__/ButtonPayment/helpers/loadScript.js.map +1 -0
- package/build/components/__shared__/ButtonPayment/helpers/toUrlParams.js +20 -0
- package/build/components/__shared__/ButtonPayment/helpers/toUrlParams.js.map +1 -0
- package/build/components/__shared__/ButtonPayment/index.js +17 -0
- package/build/components/__shared__/ButtonPayment/index.js.map +1 -0
- package/build/components/__shared__/Field/Field.js +91 -0
- package/build/components/__shared__/Field/Field.js.map +1 -0
- package/build/components/__shared__/Field/Field.module.css +105 -0
- package/build/components/__shared__/Field/__tests__/__snapshots__/Field.test.js.snap +799 -0
- package/build/components/__shared__/Field/index.js +17 -0
- package/build/components/__shared__/Field/index.js.map +1 -0
- package/build/components/__shared__/FieldOccupation/FieldOccupation.js +87 -0
- package/build/components/__shared__/FieldOccupation/FieldOccupation.js.map +1 -0
- package/build/components/__shared__/FieldOccupation/FieldOccupation.l10n.js +12 -0
- package/build/components/__shared__/FieldOccupation/FieldOccupation.l10n.js.map +1 -0
- package/build/components/__shared__/FieldOccupation/FieldOccupation.module.css +5 -0
- package/build/components/__shared__/FieldOccupation/__tests__/__snapshots__/FieldOccupation.test.js.snap +2179 -0
- package/build/components/__shared__/FieldOccupation/helpers/__tests__/__mocks__/en.json +15 -0
- package/build/components/__shared__/FieldOccupation/helpers/__tests__/__mocks__/hotels.json +87 -0
- package/build/components/__shared__/FieldOccupation/helpers/getAccommodationType.js +41 -0
- package/build/components/__shared__/FieldOccupation/helpers/getAccommodationType.js.map +1 -0
- package/build/components/__shared__/FieldOccupation/helpers/getOccupationCaption.js +51 -0
- package/build/components/__shared__/FieldOccupation/helpers/getOccupationCaption.js.map +1 -0
- package/build/components/__shared__/FieldOccupation/helpers/index.js +28 -0
- package/build/components/__shared__/FieldOccupation/helpers/index.js.map +1 -0
- package/build/components/__shared__/FieldOccupation/index.js +17 -0
- package/build/components/__shared__/FieldOccupation/index.js.map +1 -0
- package/build/components/__shared__/FieldPromocode/FieldPromocode.js +47 -0
- package/build/components/__shared__/FieldPromocode/FieldPromocode.js.map +1 -0
- package/build/components/__shared__/FieldPromocode/FieldPromocode.l10n.js +12 -0
- package/build/components/__shared__/FieldPromocode/FieldPromocode.l10n.js.map +1 -0
- package/build/components/__shared__/FieldPromocode/FieldPromocode.module.css +19 -0
- package/build/components/__shared__/FieldPromocode/__tests__/__snapshots__/FieldPromocode.test.jsx.snap +272 -0
- package/build/components/__shared__/FieldPromocode/index.js +17 -0
- package/build/components/__shared__/FieldPromocode/index.js.map +1 -0
- package/build/components/__shared__/Occupation/Occupation.Group.js +110 -0
- package/build/components/__shared__/Occupation/Occupation.Group.js.map +1 -0
- package/build/components/__shared__/Occupation/Occupation.constants.js +76 -0
- package/build/components/__shared__/Occupation/Occupation.constants.js.map +1 -0
- package/build/components/__shared__/Occupation/Occupation.js +252 -0
- package/build/components/__shared__/Occupation/Occupation.js.map +1 -0
- package/build/components/__shared__/Occupation/Occupation.l10n.js +65 -0
- package/build/components/__shared__/Occupation/Occupation.l10n.js.map +1 -0
- package/build/components/__shared__/Occupation/Occupation.module.css +124 -0
- package/build/components/__shared__/Occupation/__tests__/__mocks__/occupation.json +17 -0
- package/build/components/__shared__/Occupation/__tests__/__snapshots__/Occupation.test.js.snap +3591 -0
- package/build/components/__shared__/Occupation/helpers/checkRoom.js +36 -0
- package/build/components/__shared__/Occupation/helpers/checkRoom.js.map +1 -0
- package/build/components/__shared__/Occupation/helpers/consolidateValue.js +92 -0
- package/build/components/__shared__/Occupation/helpers/consolidateValue.js.map +1 -0
- package/build/components/__shared__/Occupation/helpers/getAgeOptions.js +31 -0
- package/build/components/__shared__/Occupation/helpers/getAgeOptions.js.map +1 -0
- package/build/components/__shared__/Occupation/helpers/getGroupHint.js +32 -0
- package/build/components/__shared__/Occupation/helpers/getGroupHint.js.map +1 -0
- package/build/components/__shared__/Occupation/helpers/getScrollHeight.js +17 -0
- package/build/components/__shared__/Occupation/helpers/getScrollHeight.js.map +1 -0
- package/build/components/__shared__/Occupation/helpers/index.js +72 -0
- package/build/components/__shared__/Occupation/helpers/index.js.map +1 -0
- package/build/components/__shared__/Occupation/helpers/prepareRoom.js +32 -0
- package/build/components/__shared__/Occupation/helpers/prepareRoom.js.map +1 -0
- package/build/components/__shared__/Occupation/helpers/toParties.js +41 -0
- package/build/components/__shared__/Occupation/helpers/toParties.js.map +1 -0
- package/build/components/__shared__/Occupation/index.js +28 -0
- package/build/components/__shared__/Occupation/index.js.map +1 -0
- package/build/components/__shared__/Payment/Payment.constants.js +39 -0
- package/build/components/__shared__/Payment/Payment.constants.js.map +1 -0
- package/build/components/__shared__/Payment/Payment.js +197 -0
- package/build/components/__shared__/Payment/Payment.js.map +1 -0
- package/build/components/__shared__/Payment/Payment.l10n.js +84 -0
- package/build/components/__shared__/Payment/Payment.l10n.js.map +1 -0
- package/build/components/__shared__/Payment/Payment.module.css +61 -0
- package/build/components/__shared__/Payment/__tests__/__snapshots__/Payment.test.js.snap +750 -0
- package/build/components/__shared__/Payment/components/AmazonPay/AmazonPay.constants.js +43 -0
- package/build/components/__shared__/Payment/components/AmazonPay/AmazonPay.constants.js.map +1 -0
- package/build/components/__shared__/Payment/components/AmazonPay/AmazonPay.js +188 -0
- package/build/components/__shared__/Payment/components/AmazonPay/AmazonPay.js.map +1 -0
- package/build/components/__shared__/Payment/components/AmazonPay/AmazonPay.l10n.js +18 -0
- package/build/components/__shared__/Payment/components/AmazonPay/AmazonPay.l10n.js.map +1 -0
- package/build/components/__shared__/Payment/components/AmazonPay/AmazonPay.module.css +8 -0
- package/build/components/__shared__/Payment/components/AmazonPay/__tests__/__snapshots__/AmazonPay.test.js.snap +23 -0
- package/build/components/__shared__/Payment/components/AmazonPay/helpers/getScriptUrl.js +16 -0
- package/build/components/__shared__/Payment/components/AmazonPay/helpers/getScriptUrl.js.map +1 -0
- package/build/components/__shared__/Payment/components/AmazonPay/helpers/index.js +17 -0
- package/build/components/__shared__/Payment/components/AmazonPay/helpers/index.js.map +1 -0
- package/build/components/__shared__/Payment/components/AmazonPay/index.js +17 -0
- package/build/components/__shared__/Payment/components/AmazonPay/index.js.map +1 -0
- package/build/components/__shared__/Payment/components/Aplazame/Aplazame.js +96 -0
- package/build/components/__shared__/Payment/components/Aplazame/Aplazame.js.map +1 -0
- package/build/components/__shared__/Payment/components/Aplazame/Aplazame.l10n.js +12 -0
- package/build/components/__shared__/Payment/components/Aplazame/Aplazame.l10n.js.map +1 -0
- package/build/components/__shared__/Payment/components/Aplazame/__tests__/__snapshots__/Aplazame.test.js.snap +30 -0
- package/build/components/__shared__/Payment/components/Aplazame/index.js +17 -0
- package/build/components/__shared__/Payment/components/Aplazame/index.js.map +1 -0
- package/build/components/__shared__/Payment/components/Card/Card.constants.js +29 -0
- package/build/components/__shared__/Payment/components/Card/Card.constants.js.map +1 -0
- package/build/components/__shared__/Payment/components/Card/Card.js +149 -0
- package/build/components/__shared__/Payment/components/Card/Card.js.map +1 -0
- package/build/components/__shared__/Payment/components/Card/Card.l10n.js +27 -0
- package/build/components/__shared__/Payment/components/Card/Card.l10n.js.map +1 -0
- package/build/components/__shared__/Payment/components/Card/Card.module.css +23 -0
- package/build/components/__shared__/Payment/components/Card/__tests__/__snapshots__/Card.test.js.snap +887 -0
- package/build/components/__shared__/Payment/components/Card/helpers/formatValues.js +46 -0
- package/build/components/__shared__/Payment/components/Card/helpers/formatValues.js.map +1 -0
- package/build/components/__shared__/Payment/components/Card/helpers/getCardConfig.js +12 -0
- package/build/components/__shared__/Payment/components/Card/helpers/getCardConfig.js.map +1 -0
- package/build/components/__shared__/Payment/components/Card/helpers/getCardType.js +26 -0
- package/build/components/__shared__/Payment/components/Card/helpers/getCardType.js.map +1 -0
- package/build/components/__shared__/Payment/components/Card/helpers/index.js +61 -0
- package/build/components/__shared__/Payment/components/Card/helpers/index.js.map +1 -0
- package/build/components/__shared__/Payment/components/Card/helpers/testCVV.js +10 -0
- package/build/components/__shared__/Payment/components/Card/helpers/testCVV.js.map +1 -0
- package/build/components/__shared__/Payment/components/Card/helpers/testCard.js +13 -0
- package/build/components/__shared__/Payment/components/Card/helpers/testCard.js.map +1 -0
- package/build/components/__shared__/Payment/components/Card/helpers/testExpire.js +12 -0
- package/build/components/__shared__/Payment/components/Card/helpers/testExpire.js.map +1 -0
- package/build/components/__shared__/Payment/components/Card/index.js +17 -0
- package/build/components/__shared__/Payment/components/Card/index.js.map +1 -0
- package/build/components/__shared__/Payment/components/PCI/PCI.constants.js +25 -0
- package/build/components/__shared__/Payment/components/PCI/PCI.constants.js.map +1 -0
- package/build/components/__shared__/Payment/components/PCI/PCI.js +317 -0
- package/build/components/__shared__/Payment/components/PCI/PCI.js.map +1 -0
- package/build/components/__shared__/Payment/components/PCI/PCI.l10n.js +30 -0
- package/build/components/__shared__/Payment/components/PCI/PCI.l10n.js.map +1 -0
- package/build/components/__shared__/Payment/components/PCI/PCI.module.css +9 -0
- package/build/components/__shared__/Payment/components/PCI/__tests__/__snapshots__/PCI.test.js.snap +399 -0
- package/build/components/__shared__/Payment/components/PCI/helpers/formatValues.js +27 -0
- package/build/components/__shared__/Payment/components/PCI/helpers/formatValues.js.map +1 -0
- package/build/components/__shared__/Payment/components/PCI/helpers/getStyle.js +30 -0
- package/build/components/__shared__/Payment/components/PCI/helpers/getStyle.js.map +1 -0
- package/build/components/__shared__/Payment/components/PCI/helpers/index.js +28 -0
- package/build/components/__shared__/Payment/components/PCI/helpers/index.js.map +1 -0
- package/build/components/__shared__/Payment/components/PCI/index.js +17 -0
- package/build/components/__shared__/Payment/components/PCI/index.js.map +1 -0
- package/build/components/__shared__/Payment/components/Tpv/Tpv.js +75 -0
- package/build/components/__shared__/Payment/components/Tpv/Tpv.js.map +1 -0
- package/build/components/__shared__/Payment/components/Tpv/Tpv.l10n.js +12 -0
- package/build/components/__shared__/Payment/components/Tpv/Tpv.l10n.js.map +1 -0
- package/build/components/__shared__/Payment/components/Tpv/__tests__/__snapshots__/Tpv.test.js.snap +92 -0
- package/build/components/__shared__/Payment/components/Tpv/index.js +17 -0
- package/build/components/__shared__/Payment/components/Tpv/index.js.map +1 -0
- package/build/components/__shared__/Payment/components/index.js +61 -0
- package/build/components/__shared__/Payment/components/index.js.map +1 -0
- package/build/components/__shared__/Payment/helpers/getCaption.js +38 -0
- package/build/components/__shared__/Payment/helpers/getCaption.js.map +1 -0
- package/build/components/__shared__/Payment/helpers/getComponent.js +29 -0
- package/build/components/__shared__/Payment/helpers/getComponent.js.map +1 -0
- package/build/components/__shared__/Payment/helpers/getImage.js +15 -0
- package/build/components/__shared__/Payment/helpers/getImage.js.map +1 -0
- package/build/components/__shared__/Payment/helpers/index.js +39 -0
- package/build/components/__shared__/Payment/helpers/index.js.map +1 -0
- package/build/components/__shared__/Payment/index.js +49 -0
- package/build/components/__shared__/Payment/index.js.map +1 -0
- package/build/components/__shared__/PriceBreakdown/PriceBreakdown.Line.js +50 -0
- package/build/components/__shared__/PriceBreakdown/PriceBreakdown.Line.js.map +1 -0
- package/build/components/__shared__/PriceBreakdown/PriceBreakdown.js +122 -0
- package/build/components/__shared__/PriceBreakdown/PriceBreakdown.js.map +1 -0
- package/build/components/__shared__/PriceBreakdown/PriceBreakdown.l10n.js +78 -0
- package/build/components/__shared__/PriceBreakdown/PriceBreakdown.l10n.js.map +1 -0
- package/build/components/__shared__/PriceBreakdown/PriceBreakdown.module.css +30 -0
- package/build/components/__shared__/PriceBreakdown/index.js +17 -0
- package/build/components/__shared__/PriceBreakdown/index.js.map +1 -0
- package/build/components/__shared__/Skeleton/Skeleton.js +35 -0
- package/build/components/__shared__/Skeleton/Skeleton.js.map +1 -0
- package/build/components/__shared__/Skeleton/index.js +17 -0
- package/build/components/__shared__/Skeleton/index.js.map +1 -0
- package/build/components/__shared__/TextRequiredFields/TextRequiredFields.js +32 -0
- package/build/components/__shared__/TextRequiredFields/TextRequiredFields.js.map +1 -0
- package/build/components/__shared__/TextRequiredFields/TextRequiredFields.l10n.js +13 -0
- package/build/components/__shared__/TextRequiredFields/TextRequiredFields.l10n.js.map +1 -0
- package/build/components/__shared__/TextRequiredFields/TextRequiredFields.module.css +8 -0
- package/build/components/__shared__/TextRequiredFields/__tests__/__snapshots__/TextRequiredFields.test.js.snap +41 -0
- package/build/components/__shared__/TextRequiredFields/index.js +17 -0
- package/build/components/__shared__/TextRequiredFields/index.js.map +1 -0
- package/build/components/__shared__/index.js +138 -0
- package/build/components/__shared__/index.js.map +1 -0
- package/build/components/helpers/ICON.js +33 -0
- package/build/components/helpers/ICON.js.map +1 -0
- package/build/components/helpers/__tests__/__snapshots__/parseHtml.test.js.snap +313 -0
- package/build/components/helpers/constants.js +62 -0
- package/build/components/helpers/constants.js.map +1 -0
- package/build/components/helpers/getButtonPaymentKey.js +23 -0
- package/build/components/helpers/getButtonPaymentKey.js.map +1 -0
- package/build/components/helpers/getButtonPaymentKey.l10n.js +18 -0
- package/build/components/helpers/getButtonPaymentKey.l10n.js.map +1 -0
- package/build/components/helpers/getCalendarCaption.js +37 -0
- package/build/components/helpers/getCalendarCaption.js.map +1 -0
- package/build/components/helpers/getCountryCode.js +11 -0
- package/build/components/helpers/getCountryCode.js.map +1 -0
- package/build/components/helpers/index.js +138 -0
- package/build/components/helpers/index.js.map +1 -0
- package/build/components/helpers/isJest.js +9 -0
- package/build/components/helpers/isJest.js.map +1 -0
- package/build/components/helpers/parseHtml.js +76 -0
- package/build/components/helpers/parseHtml.js.map +1 -0
- package/build/components/helpers/testPassword.js +11 -0
- package/build/components/helpers/testPassword.js.map +1 -0
- package/build/components/helpers/toQueryString.js +23 -0
- package/build/components/helpers/toQueryString.js.map +1 -0
- package/build/components/helpers/toUrlParams.js +23 -0
- package/build/components/helpers/toUrlParams.js.map +1 -0
- package/build/components/helpers/trace.js +19 -0
- package/build/components/helpers/trace.js.map +1 -0
- package/build/components/helpers/translate.js +27 -0
- package/build/components/helpers/translate.js.map +1 -0
- package/build/components/index.js +75 -30
- package/build/components/index.js.map +1 -1
- package/build/helpers/checkSession.js +42 -20
- package/build/helpers/checkSession.js.map +1 -1
- package/build/helpers/consolidateStore.js +113 -98
- package/build/helpers/consolidateStore.js.map +1 -1
- package/build/helpers/fetchConfig.js +58 -16
- package/build/helpers/fetchConfig.js.map +1 -1
- package/build/helpers/fetchCookies.js +13 -12
- package/build/helpers/fetchCookies.js.map +1 -1
- package/build/helpers/fetchSession.js +30 -33
- package/build/helpers/fetchSession.js.map +1 -1
- package/build/helpers/fetchUrlParams.js +2 -3
- package/build/helpers/fetchUrlParams.js.map +1 -1
- package/build/helpers/findComponents.js +26 -21
- package/build/helpers/findComponents.js.map +1 -1
- package/build/helpers/findDangerousCSSRules.js +48 -21
- package/build/helpers/findDangerousCSSRules.js.map +1 -1
- package/build/helpers/findInstance.js +34 -20
- package/build/helpers/findInstance.js.map +1 -1
- package/build/helpers/getAccommodationType.js +4 -4
- package/build/helpers/getAccommodationType.js.map +1 -1
- package/build/helpers/getGhost.js +13 -6
- package/build/helpers/getGhost.js.map +1 -1
- package/build/helpers/getLocale.js +23 -12
- package/build/helpers/getLocale.js.map +1 -1
- package/build/helpers/getTags.js +30 -24
- package/build/helpers/getTags.js.map +1 -1
- package/build/helpers/index.js +12 -12
- package/build/helpers/index.js.map +1 -1
- package/build/helpers/loadEnvironment.js +8 -9
- package/build/helpers/loadEnvironment.js.map +1 -1
- package/build/helpers/loadSentry.js +6 -6
- package/build/helpers/loadSentry.js.map +1 -1
- package/build/helpers/theme.js +27 -16
- package/build/helpers/theme.js.map +1 -1
- package/build/index.js +120 -71
- package/build/index.js.map +1 -1
- package/build/services/Club/constants.js +2 -2
- package/build/services/Club/constants.js.map +1 -1
- package/build/services/Club/get.js +49 -21
- package/build/services/Club/get.js.map +1 -1
- package/build/services/Club/index.js +1 -1
- package/build/services/Club/index.js.map +1 -1
- package/build/services/Engine/constants.js +2 -2
- package/build/services/Engine/constants.js.map +1 -1
- package/build/services/Engine/get.js +54 -22
- package/build/services/Engine/get.js.map +1 -1
- package/build/services/Engine/index.js +1 -1
- package/build/services/Engine/index.js.map +1 -1
- package/build/services/index.js +2 -2
- package/build/services/index.js.map +1 -1
- package/package.json +13 -14
- package/public/App.Container.jsx +129 -0
- package/public/App.jsx +28 -0
- package/public/App.module.css +141 -0
- package/public/index.html +7 -51
- package/public/index.template.html +19 -0
- package/public/routes/Deals.jsx +19 -0
- package/public/routes/Home.jsx +36 -0
- package/public/routes/NotFound.jsx +18 -0
- package/public/routes/Profile.jsx +20 -0
- package/public/routes/Signup.jsx +19 -0
- package/public/routes/Step0-Accommodations.jsx +4 -0
- package/public/routes/Step1-Rates.jsx +4 -0
- package/public/routes/Step2-Checkout.jsx +4 -0
- package/public/routes/Step3-Booking.jsx +4 -0
- package/public/routes/index.js +9 -0
- package/public/routes/routes.module.css +93 -0
- package/public/themes/monalisa.theme.css +25 -0
- package/build/components/__internal__/Environment.js +0 -45
- package/build/components/__internal__/Environment.js.map +0 -1
- package/build/components/__internal__/Environment.module.css +0 -4
- package/build/components/__internal__/Skeleton.js +0 -30
- package/build/components/__internal__/Skeleton.js.map +0 -1
- package/build/components/__internal__/State.js +0 -59
- package/build/components/__internal__/State.js.map +0 -1
- package/build/components/__internal__/State.module.css +0 -36
- package/build/components/finder/Deals.js +0 -9
- package/build/components/finder/Deals.js.map +0 -1
- package/build/components/finder/Deals.skeleton.js.map +0 -1
- package/build/components/finder/Finder.js +0 -31
- package/build/components/finder/Finder.js.map +0 -1
- package/build/components/user/Booking.js +0 -9
- package/build/components/user/Booking.js.map +0 -1
- package/build/components/user/Booking.skeleton.js.map +0 -1
- package/build/components/user/BookingQuery.js +0 -9
- package/build/components/user/BookingQuery.js.map +0 -1
- package/build/components/user/BookingQuery.skeleton.js.map +0 -1
- package/build/components/user/Checkout.js +0 -9
- package/build/components/user/Checkout.js.map +0 -1
- package/build/components/user/Checkout.skeleton.js.map +0 -1
- package/build/components/user/Profile.js +0 -9
- package/build/components/user/Profile.js.map +0 -1
- package/build/components/user/Profile.skeleton.js +0 -119
- package/build/components/user/Profile.skeleton.js.map +0 -1
- package/build/components/user/Session.js +0 -9
- package/build/components/user/Session.js.map +0 -1
- package/build/components/user/Session.skeleton.js +0 -18
- package/build/components/user/Session.skeleton.js.map +0 -1
- package/build/components/user/Signup.js +0 -9
- package/build/components/user/Signup.js.map +0 -1
- package/build/components/user/Signup.skeleton.js +0 -92
- package/build/components/user/Signup.skeleton.js.map +0 -1
- package/public/customer.css +0 -124
- package/site/booking/index.html +0 -20
- package/site/checkout/index.html +0 -20
- package/site/core.css +0 -8
- package/site/customer.css +0 -147
- package/site/deals/index.html +0 -34
- package/site/index.html +0 -58
- package/site/profile/index.html +0 -32
- package/site/signup/index.html +0 -32
- /package/build/components/{__internal__ → __shared__/Skeleton}/Skeleton.module.css +0 -0
|
@@ -0,0 +1,237 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
|
|
4
|
+
Object.defineProperty(exports, "__esModule", {
|
|
5
|
+
value: true
|
|
6
|
+
});
|
|
7
|
+
exports.Confirmation = void 0;
|
|
8
|
+
var _dataSources = require("@mirai/data-sources");
|
|
9
|
+
var _locale = require("@mirai/locale");
|
|
10
|
+
var _services = require("@mirai/services");
|
|
11
|
+
var _ui = require("@mirai/ui");
|
|
12
|
+
var _propTypes = _interopRequireDefault(require("prop-types"));
|
|
13
|
+
var _react = _interopRequireWildcard(require("react"));
|
|
14
|
+
var _Checkout = require("./Checkout.Summary");
|
|
15
|
+
var _shared__ = require("../../__shared__");
|
|
16
|
+
var _helpers = require("../../helpers");
|
|
17
|
+
var _Checkout2 = require("../Checkout.constants");
|
|
18
|
+
var _Checkout3 = require("../Checkout.l10n");
|
|
19
|
+
var style = _interopRequireWildcard(require("../Checkout.module.css"));
|
|
20
|
+
var _excluded = ["dataSource", "disabled", "variant"],
|
|
21
|
+
_excluded2 = ["publicKey"];
|
|
22
|
+
function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
|
|
23
|
+
function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || _typeof(obj) !== "object" && typeof obj !== "function") { return { default: obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj.default = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
|
|
24
|
+
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
25
|
+
function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
|
|
26
|
+
function _regeneratorRuntime() { "use strict"; /*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */ _regeneratorRuntime = function _regeneratorRuntime() { return e; }; var t, e = {}, r = Object.prototype, n = r.hasOwnProperty, o = Object.defineProperty || function (t, e, r) { t[e] = r.value; }, i = "function" == typeof Symbol ? Symbol : {}, a = i.iterator || "@@iterator", c = i.asyncIterator || "@@asyncIterator", u = i.toStringTag || "@@toStringTag"; function define(t, e, r) { return Object.defineProperty(t, e, { value: r, enumerable: !0, configurable: !0, writable: !0 }), t[e]; } try { define({}, ""); } catch (t) { define = function define(t, e, r) { return t[e] = r; }; } function wrap(t, e, r, n) { var i = e && e.prototype instanceof Generator ? e : Generator, a = Object.create(i.prototype), c = new Context(n || []); return o(a, "_invoke", { value: makeInvokeMethod(t, r, c) }), a; } function tryCatch(t, e, r) { try { return { type: "normal", arg: t.call(e, r) }; } catch (t) { return { type: "throw", arg: t }; } } e.wrap = wrap; var h = "suspendedStart", l = "suspendedYield", f = "executing", s = "completed", y = {}; function Generator() {} function GeneratorFunction() {} function GeneratorFunctionPrototype() {} var p = {}; define(p, a, function () { return this; }); var d = Object.getPrototypeOf, v = d && d(d(values([]))); v && v !== r && n.call(v, a) && (p = v); var g = GeneratorFunctionPrototype.prototype = Generator.prototype = Object.create(p); function defineIteratorMethods(t) { ["next", "throw", "return"].forEach(function (e) { define(t, e, function (t) { return this._invoke(e, t); }); }); } function AsyncIterator(t, e) { function invoke(r, o, i, a) { var c = tryCatch(t[r], t, o); if ("throw" !== c.type) { var u = c.arg, h = u.value; return h && "object" == _typeof(h) && n.call(h, "__await") ? e.resolve(h.__await).then(function (t) { invoke("next", t, i, a); }, function (t) { invoke("throw", t, i, a); }) : e.resolve(h).then(function (t) { u.value = t, i(u); }, function (t) { return invoke("throw", t, i, a); }); } a(c.arg); } var r; o(this, "_invoke", { value: function value(t, n) { function callInvokeWithMethodAndArg() { return new e(function (e, r) { invoke(t, n, e, r); }); } return r = r ? r.then(callInvokeWithMethodAndArg, callInvokeWithMethodAndArg) : callInvokeWithMethodAndArg(); } }); } function makeInvokeMethod(e, r, n) { var o = h; return function (i, a) { if (o === f) throw new Error("Generator is already running"); if (o === s) { if ("throw" === i) throw a; return { value: t, done: !0 }; } for (n.method = i, n.arg = a;;) { var c = n.delegate; if (c) { var u = maybeInvokeDelegate(c, n); if (u) { if (u === y) continue; return u; } } if ("next" === n.method) n.sent = n._sent = n.arg;else if ("throw" === n.method) { if (o === h) throw o = s, n.arg; n.dispatchException(n.arg); } else "return" === n.method && n.abrupt("return", n.arg); o = f; var p = tryCatch(e, r, n); if ("normal" === p.type) { if (o = n.done ? s : l, p.arg === y) continue; return { value: p.arg, done: n.done }; } "throw" === p.type && (o = s, n.method = "throw", n.arg = p.arg); } }; } function maybeInvokeDelegate(e, r) { var n = r.method, o = e.iterator[n]; if (o === t) return r.delegate = null, "throw" === n && e.iterator.return && (r.method = "return", r.arg = t, maybeInvokeDelegate(e, r), "throw" === r.method) || "return" !== n && (r.method = "throw", r.arg = new TypeError("The iterator does not provide a '" + n + "' method")), y; var i = tryCatch(o, e.iterator, r.arg); if ("throw" === i.type) return r.method = "throw", r.arg = i.arg, r.delegate = null, y; var a = i.arg; return a ? a.done ? (r[e.resultName] = a.value, r.next = e.nextLoc, "return" !== r.method && (r.method = "next", r.arg = t), r.delegate = null, y) : a : (r.method = "throw", r.arg = new TypeError("iterator result is not an object"), r.delegate = null, y); } function pushTryEntry(t) { var e = { tryLoc: t[0] }; 1 in t && (e.catchLoc = t[1]), 2 in t && (e.finallyLoc = t[2], e.afterLoc = t[3]), this.tryEntries.push(e); } function resetTryEntry(t) { var e = t.completion || {}; e.type = "normal", delete e.arg, t.completion = e; } function Context(t) { this.tryEntries = [{ tryLoc: "root" }], t.forEach(pushTryEntry, this), this.reset(!0); } function values(e) { if (e || "" === e) { var r = e[a]; if (r) return r.call(e); if ("function" == typeof e.next) return e; if (!isNaN(e.length)) { var o = -1, i = function next() { for (; ++o < e.length;) if (n.call(e, o)) return next.value = e[o], next.done = !1, next; return next.value = t, next.done = !0, next; }; return i.next = i; } } throw new TypeError(_typeof(e) + " is not iterable"); } return GeneratorFunction.prototype = GeneratorFunctionPrototype, o(g, "constructor", { value: GeneratorFunctionPrototype, configurable: !0 }), o(GeneratorFunctionPrototype, "constructor", { value: GeneratorFunction, configurable: !0 }), GeneratorFunction.displayName = define(GeneratorFunctionPrototype, u, "GeneratorFunction"), e.isGeneratorFunction = function (t) { var e = "function" == typeof t && t.constructor; return !!e && (e === GeneratorFunction || "GeneratorFunction" === (e.displayName || e.name)); }, e.mark = function (t) { return Object.setPrototypeOf ? Object.setPrototypeOf(t, GeneratorFunctionPrototype) : (t.__proto__ = GeneratorFunctionPrototype, define(t, u, "GeneratorFunction")), t.prototype = Object.create(g), t; }, e.awrap = function (t) { return { __await: t }; }, defineIteratorMethods(AsyncIterator.prototype), define(AsyncIterator.prototype, c, function () { return this; }), e.AsyncIterator = AsyncIterator, e.async = function (t, r, n, o, i) { void 0 === i && (i = Promise); var a = new AsyncIterator(wrap(t, r, n, o), i); return e.isGeneratorFunction(r) ? a : a.next().then(function (t) { return t.done ? t.value : a.next(); }); }, defineIteratorMethods(g), define(g, u, "Generator"), define(g, a, function () { return this; }), define(g, "toString", function () { return "[object Generator]"; }), e.keys = function (t) { var e = Object(t), r = []; for (var n in e) r.push(n); return r.reverse(), function next() { for (; r.length;) { var t = r.pop(); if (t in e) return next.value = t, next.done = !1, next; } return next.done = !0, next; }; }, e.values = values, Context.prototype = { constructor: Context, reset: function reset(e) { if (this.prev = 0, this.next = 0, this.sent = this._sent = t, this.done = !1, this.delegate = null, this.method = "next", this.arg = t, this.tryEntries.forEach(resetTryEntry), !e) for (var r in this) "t" === r.charAt(0) && n.call(this, r) && !isNaN(+r.slice(1)) && (this[r] = t); }, stop: function stop() { this.done = !0; var t = this.tryEntries[0].completion; if ("throw" === t.type) throw t.arg; return this.rval; }, dispatchException: function dispatchException(e) { if (this.done) throw e; var r = this; function handle(n, o) { return a.type = "throw", a.arg = e, r.next = n, o && (r.method = "next", r.arg = t), !!o; } for (var o = this.tryEntries.length - 1; o >= 0; --o) { var i = this.tryEntries[o], a = i.completion; if ("root" === i.tryLoc) return handle("end"); if (i.tryLoc <= this.prev) { var c = n.call(i, "catchLoc"), u = n.call(i, "finallyLoc"); if (c && u) { if (this.prev < i.catchLoc) return handle(i.catchLoc, !0); if (this.prev < i.finallyLoc) return handle(i.finallyLoc); } else if (c) { if (this.prev < i.catchLoc) return handle(i.catchLoc, !0); } else { if (!u) throw new Error("try statement without catch or finally"); if (this.prev < i.finallyLoc) return handle(i.finallyLoc); } } } }, abrupt: function abrupt(t, e) { for (var r = this.tryEntries.length - 1; r >= 0; --r) { var o = this.tryEntries[r]; if (o.tryLoc <= this.prev && n.call(o, "finallyLoc") && this.prev < o.finallyLoc) { var i = o; break; } } i && ("break" === t || "continue" === t) && i.tryLoc <= e && e <= i.finallyLoc && (i = null); var a = i ? i.completion : {}; return a.type = t, a.arg = e, i ? (this.method = "next", this.next = i.finallyLoc, y) : this.complete(a); }, complete: function complete(t, e) { if ("throw" === t.type) throw t.arg; return "break" === t.type || "continue" === t.type ? this.next = t.arg : "return" === t.type ? (this.rval = this.arg = t.arg, this.method = "return", this.next = "end") : "normal" === t.type && e && (this.next = e), y; }, finish: function finish(t) { for (var e = this.tryEntries.length - 1; e >= 0; --e) { var r = this.tryEntries[e]; if (r.finallyLoc === t) return this.complete(r.completion, r.afterLoc), resetTryEntry(r), y; } }, catch: function _catch(t) { for (var e = this.tryEntries.length - 1; e >= 0; --e) { var r = this.tryEntries[e]; if (r.tryLoc === t) { var n = r.completion; if ("throw" === n.type) { var o = n.arg; resetTryEntry(r); } return o; } } throw new Error("illegal catch attempt"); }, delegateYield: function delegateYield(e, r, n) { return this.delegate = { iterator: values(e), resultName: r, nextLoc: n }, "next" === this.method && (this.arg = t), y; } }, e; }
|
|
27
|
+
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
28
|
+
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
29
|
+
function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
|
30
|
+
function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
|
|
31
|
+
function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
|
|
32
|
+
function asyncGeneratorStep(gen, resolve, reject, _next, _throw, key, arg) { try { var info = gen[key](arg); var value = info.value; } catch (error) { reject(error); return; } if (info.done) { resolve(value); } else { Promise.resolve(value).then(_next, _throw); } }
|
|
33
|
+
function _asyncToGenerator(fn) { return function () { var self = this, args = arguments; return new Promise(function (resolve, reject) { var gen = fn.apply(self, args); function _next(value) { asyncGeneratorStep(gen, resolve, reject, _next, _throw, "next", value); } function _throw(err) { asyncGeneratorStep(gen, resolve, reject, _next, _throw, "throw", err); } _next(undefined); }); }; }
|
|
34
|
+
function _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest(); }
|
|
35
|
+
function _nonIterableRest() { throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }
|
|
36
|
+
function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }
|
|
37
|
+
function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i]; return arr2; }
|
|
38
|
+
function _iterableToArrayLimit(r, l) { var t = null == r ? null : "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"]; if (null != t) { var e, n, i, u, a = [], f = !0, o = !1; try { if (i = (t = t.call(r)).next, 0 === l) { if (Object(t) !== t) return; f = !1; } else for (; !(f = (e = i.call(t)).done) && (a.push(e.value), a.length !== l); f = !0); } catch (r) { o = !0, n = r; } finally { try { if (!f && null != t.return && (u = t.return(), Object(u) !== u)) return; } finally { if (o) throw n; } } return a; } }
|
|
39
|
+
function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
|
|
40
|
+
function _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }
|
|
41
|
+
function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
|
|
42
|
+
var hasTracking = false;
|
|
43
|
+
var Confirmation = exports.Confirmation = function Confirmation(_ref) {
|
|
44
|
+
var _ref$dataSource = _ref.dataSource,
|
|
45
|
+
dataSource = _ref$dataSource === void 0 ? {} : _ref$dataSource,
|
|
46
|
+
_ref$disabled = _ref.disabled,
|
|
47
|
+
disabled = _ref$disabled === void 0 ? false : _ref$disabled,
|
|
48
|
+
variant = _ref.variant,
|
|
49
|
+
others = _objectWithoutProperties(_ref, _excluded);
|
|
50
|
+
var _useDevice = (0, _ui.useDevice)(),
|
|
51
|
+
isDesktop = _useDevice.isDesktop,
|
|
52
|
+
isMobile = _useDevice.isMobile;
|
|
53
|
+
var _useLocale = (0, _locale.useLocale)(),
|
|
54
|
+
translate = _useLocale.translate;
|
|
55
|
+
var _useMetrics = (0, _dataSources.useMetrics)(),
|
|
56
|
+
track = _useMetrics.track;
|
|
57
|
+
var _useStore = (0, _dataSources.useStore)(),
|
|
58
|
+
_useStore$value = _useStore.value,
|
|
59
|
+
_useStore$value2 = _useStore$value === void 0 ? {} : _useStore$value,
|
|
60
|
+
checkout = _useStore$value2.checkout,
|
|
61
|
+
_useStore$value2$hote = _useStore$value2.hotel,
|
|
62
|
+
hotel = _useStore$value2$hote === void 0 ? {} : _useStore$value2$hote,
|
|
63
|
+
id = _useStore$value2.id,
|
|
64
|
+
language = _useStore$value2.language,
|
|
65
|
+
locale = _useStore$value2.locale,
|
|
66
|
+
payment = _useStore$value2.payment,
|
|
67
|
+
_useStore$value2$sess = _useStore$value2.session,
|
|
68
|
+
session = _useStore$value2$sess === void 0 ? {} : _useStore$value2$sess,
|
|
69
|
+
_useStore$value2$urlP = _useStore$value2.urlParams,
|
|
70
|
+
urlParams = _useStore$value2$urlP === void 0 ? {} : _useStore$value2$urlP;
|
|
71
|
+
var _useState = (0, _react.useState)(false),
|
|
72
|
+
_useState2 = _slicedToArray(_useState, 2),
|
|
73
|
+
busy = _useState2[0],
|
|
74
|
+
setBusy = _useState2[1];
|
|
75
|
+
var _useState3 = (0, _react.useState)(false),
|
|
76
|
+
_useState4 = _slicedToArray(_useState3, 2),
|
|
77
|
+
modal = _useState4[0],
|
|
78
|
+
setModal = _useState4[1];
|
|
79
|
+
var _useState5 = (0, _react.useState)(),
|
|
80
|
+
_useState6 = _slicedToArray(_useState5, 2),
|
|
81
|
+
responseError = _useState6[0],
|
|
82
|
+
setResponseError = _useState6[1];
|
|
83
|
+
(0, _react.useEffect)(function () {
|
|
84
|
+
hasTracking = _services.ServiceFeatures.get(_Checkout2.FEATURE_CHECKOUT_TRACKING, id);
|
|
85
|
+
// eslint-disable-next-line react-hooks/exhaustive-deps
|
|
86
|
+
}, []);
|
|
87
|
+
(0, _react.useEffect)(function () {
|
|
88
|
+
return setResponseError();
|
|
89
|
+
}, [checkout, modal, payment]);
|
|
90
|
+
var _dataSource$price = dataSource.price,
|
|
91
|
+
_dataSource$price2 = _dataSource$price === void 0 ? {} : _dataSource$price,
|
|
92
|
+
_dataSource$price2$pr = _dataSource$price2.prepayment,
|
|
93
|
+
prepayment = _dataSource$price2$pr === void 0 ? {} : _dataSource$price2$pr;
|
|
94
|
+
var _ref2 = prepayment[payment === null || payment === void 0 ? void 0 : payment.method] || {},
|
|
95
|
+
currency = _ref2.currency,
|
|
96
|
+
value = _ref2.value;
|
|
97
|
+
var handleModal = function handleModal() {
|
|
98
|
+
hasTracking && track("".concat(_Checkout2.TRACKING, ":ACTION:MORE_INFO"), {
|
|
99
|
+
locale: locale,
|
|
100
|
+
variant: variant
|
|
101
|
+
});
|
|
102
|
+
setModal(true);
|
|
103
|
+
};
|
|
104
|
+
var handlePress = function handlePress() {
|
|
105
|
+
return setBusy(true);
|
|
106
|
+
};
|
|
107
|
+
var handleSubmit = /*#__PURE__*/function () {
|
|
108
|
+
var _ref3 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee(value) {
|
|
109
|
+
var response;
|
|
110
|
+
return _regeneratorRuntime().wrap(function _callee$(_context) {
|
|
111
|
+
while (1) switch (_context.prev = _context.next) {
|
|
112
|
+
case 0:
|
|
113
|
+
hasTracking && track("".concat(_Checkout2.TRACKING, ":CTA"), {
|
|
114
|
+
locale: locale,
|
|
115
|
+
variant: variant
|
|
116
|
+
});
|
|
117
|
+
_context.next = 3;
|
|
118
|
+
return _services.ServiceBooking.confirm(_objectSpread({
|
|
119
|
+
form: checkout,
|
|
120
|
+
dataSource: dataSource,
|
|
121
|
+
language: language,
|
|
122
|
+
payment: _objectSpread(_objectSpread({}, payment), value),
|
|
123
|
+
session: session
|
|
124
|
+
}, urlParams)).catch(function (error) {
|
|
125
|
+
setResponseError(error);
|
|
126
|
+
if (variant === 'A') _dataSources.Event.publish(_helpers.EVENT.NOTIFICATION, {
|
|
127
|
+
error: true,
|
|
128
|
+
small: true,
|
|
129
|
+
defaultMessage: translate(_Checkout3.L10N.NOTIFICATION_ERROR[(error === null || error === void 0 ? void 0 : error.code) || _Checkout2.ERROR.UNKNOWN])
|
|
130
|
+
});
|
|
131
|
+
hasTracking && track("".concat(_Checkout2.TRACKING, ":ERROR:SERVICE"), {
|
|
132
|
+
service: 'Booking',
|
|
133
|
+
method: 'confirm',
|
|
134
|
+
error: error,
|
|
135
|
+
locale: locale,
|
|
136
|
+
variant: variant
|
|
137
|
+
});
|
|
138
|
+
});
|
|
139
|
+
case 3:
|
|
140
|
+
response = _context.sent;
|
|
141
|
+
setBusy(false);
|
|
142
|
+
if (isMobile && response) setModal(false);
|
|
143
|
+
if (response && hasTracking) track("".concat(_Checkout2.TRACKING, ":SUCCESS"), {
|
|
144
|
+
locale: locale,
|
|
145
|
+
variant: variant
|
|
146
|
+
});
|
|
147
|
+
return _context.abrupt("return", response);
|
|
148
|
+
case 8:
|
|
149
|
+
case "end":
|
|
150
|
+
return _context.stop();
|
|
151
|
+
}
|
|
152
|
+
}, _callee);
|
|
153
|
+
}));
|
|
154
|
+
return function handleSubmit(_x) {
|
|
155
|
+
return _ref3.apply(this, arguments);
|
|
156
|
+
};
|
|
157
|
+
}();
|
|
158
|
+
var labelCTA = function labelCTA() {
|
|
159
|
+
var _dataSource$payment = dataSource.payment,
|
|
160
|
+
_dataSource$payment2 = _dataSource$payment === void 0 ? {} : _dataSource$payment,
|
|
161
|
+
_dataSource$payment2$ = _dataSource$payment2.config,
|
|
162
|
+
config = _dataSource$payment2$ === void 0 ? {} : _dataSource$payment2$,
|
|
163
|
+
_dataSource$payment2$2 = _dataSource$payment2.info,
|
|
164
|
+
info = _dataSource$payment2$2 === void 0 ? {} : _dataSource$payment2$2;
|
|
165
|
+
return translate((0, _helpers.getButtonPaymentKey)(_objectSpread(_objectSpread(_objectSpread({}, config), info), {}, {
|
|
166
|
+
method: payment === null || payment === void 0 ? void 0 : payment.method
|
|
167
|
+
})), {
|
|
168
|
+
amount: (0, _locale.currencyFormat)({
|
|
169
|
+
currency: currency,
|
|
170
|
+
locale: locale,
|
|
171
|
+
symbol: true,
|
|
172
|
+
value: value
|
|
173
|
+
})
|
|
174
|
+
});
|
|
175
|
+
};
|
|
176
|
+
var content = function content() {
|
|
177
|
+
var _dataSource$payment3 = dataSource.payment,
|
|
178
|
+
_dataSource$payment4 = _dataSource$payment3 === void 0 ? {} : _dataSource$payment3,
|
|
179
|
+
_dataSource$payment4$ = _dataSource$payment4.config,
|
|
180
|
+
_dataSource$payment4$2 = _dataSource$payment4$ === void 0 ? {} : _dataSource$payment4$,
|
|
181
|
+
_dataSource$payment4$3 = _dataSource$payment4$2.publicKey,
|
|
182
|
+
publicKey = _dataSource$payment4$3 === void 0 ? {} : _dataSource$payment4$3,
|
|
183
|
+
config = _objectWithoutProperties(_dataSource$payment4$2, _excluded2);
|
|
184
|
+
var id = urlParams.idtokenprovider;
|
|
185
|
+
return /*#__PURE__*/_react.default.createElement(_react.default.Fragment, null, /*#__PURE__*/_react.default.createElement(_Checkout.Summary, {
|
|
186
|
+
dataSource: dataSource
|
|
187
|
+
}), responseError && /*#__PURE__*/_react.default.createElement(_ui.Notification, {
|
|
188
|
+
error: true,
|
|
189
|
+
small: true,
|
|
190
|
+
wide: true,
|
|
191
|
+
className: (0, _ui.styles)(style.notification, style.error)
|
|
192
|
+
}, translate(_Checkout3.L10N.NOTIFICATION_ERROR[(responseError === null || responseError === void 0 ? void 0 : responseError.code) || _Checkout2.ERROR.UNKNOWN])), /*#__PURE__*/_react.default.createElement(_shared__.ButtonPayment, _extends({}, _objectSpread(_objectSpread({}, dataSource === null || dataSource === void 0 ? void 0 : dataSource.payment), {}, {
|
|
193
|
+
config: _objectSpread(_objectSpread({}, config), {}, {
|
|
194
|
+
publicKey: publicKey[payment === null || payment === void 0 ? void 0 : payment.method]
|
|
195
|
+
})
|
|
196
|
+
}), {
|
|
197
|
+
busy: busy,
|
|
198
|
+
disabled: disabled,
|
|
199
|
+
hotel: _objectSpread(_objectSpread({}, hotel), {}, {
|
|
200
|
+
id: id
|
|
201
|
+
}),
|
|
202
|
+
large: true,
|
|
203
|
+
promise: handleSubmit,
|
|
204
|
+
wide: true,
|
|
205
|
+
onPress: handlePress,
|
|
206
|
+
className: style.cta
|
|
207
|
+
}), labelCTA()), !isMobile && /*#__PURE__*/_react.default.createElement(_ui.Text, {
|
|
208
|
+
small: true,
|
|
209
|
+
wide: true,
|
|
210
|
+
className: style.footer
|
|
211
|
+
}, translate(_Checkout3.L10N.NOTIFICATION_SSL_ENCRYPTION)));
|
|
212
|
+
};
|
|
213
|
+
return /*#__PURE__*/_react.default.createElement(_ui.View, _extends({}, others, {
|
|
214
|
+
row: isMobile,
|
|
215
|
+
className: (0, _ui.styles)(style.box, style.confirmation)
|
|
216
|
+
}), isDesktop ? content() : /*#__PURE__*/_react.default.createElement(_ui.Button, {
|
|
217
|
+
busy: busy,
|
|
218
|
+
disabled: disabled,
|
|
219
|
+
large: true,
|
|
220
|
+
wide: true,
|
|
221
|
+
onPress: variant === 'B' ? handleSubmit : handleModal
|
|
222
|
+
}, variant === 'B' ? labelCTA() : translate(_Checkout3.L10N.ACTION_BOOK_NOW)), isMobile && /*#__PURE__*/_react.default.createElement(_ui.Modal, {
|
|
223
|
+
title: translate(_Checkout3.L10N.LABEL_BOOKING_SUMMARY),
|
|
224
|
+
visible: modal,
|
|
225
|
+
onClose: function onClose() {
|
|
226
|
+
return setModal(false);
|
|
227
|
+
}
|
|
228
|
+
}, /*#__PURE__*/_react.default.createElement(_ui.View, {
|
|
229
|
+
className: style.modal
|
|
230
|
+
}, content())));
|
|
231
|
+
};
|
|
232
|
+
Confirmation.propTypes = {
|
|
233
|
+
dataSource: _propTypes.default.shape({}),
|
|
234
|
+
disabled: _propTypes.default.bool,
|
|
235
|
+
variant: _propTypes.default.string
|
|
236
|
+
};
|
|
237
|
+
//# sourceMappingURL=Checkout.Confirmation.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Checkout.Confirmation.js","names":["_dataSources","require","_locale","_services","_ui","_propTypes","_interopRequireDefault","_react","_interopRequireWildcard","_Checkout","_shared__","_helpers","_Checkout2","_Checkout3","style","_excluded","_excluded2","_getRequireWildcardCache","nodeInterop","WeakMap","cacheBabelInterop","cacheNodeInterop","obj","__esModule","_typeof","default","cache","has","get","newObj","hasPropertyDescriptor","Object","defineProperty","getOwnPropertyDescriptor","key","prototype","hasOwnProperty","call","desc","set","_extends","assign","bind","target","i","arguments","length","source","apply","_regeneratorRuntime","e","t","r","n","o","value","Symbol","a","iterator","c","asyncIterator","u","toStringTag","define","enumerable","configurable","writable","wrap","Generator","create","Context","makeInvokeMethod","tryCatch","type","arg","h","l","f","s","y","GeneratorFunction","GeneratorFunctionPrototype","p","d","getPrototypeOf","v","values","g","defineIteratorMethods","forEach","_invoke","AsyncIterator","invoke","resolve","__await","then","callInvokeWithMethodAndArg","Error","done","method","delegate","maybeInvokeDelegate","sent","_sent","dispatchException","abrupt","return","TypeError","resultName","next","nextLoc","pushTryEntry","tryLoc","catchLoc","finallyLoc","afterLoc","tryEntries","push","resetTryEntry","completion","reset","isNaN","displayName","isGeneratorFunction","constructor","name","mark","setPrototypeOf","__proto__","awrap","async","Promise","keys","reverse","pop","prev","charAt","slice","stop","rval","handle","complete","finish","catch","_catch","delegateYield","ownKeys","getOwnPropertySymbols","filter","_objectSpread","_defineProperty","getOwnPropertyDescriptors","defineProperties","_toPropertyKey","_toPrimitive","String","input","hint","prim","toPrimitive","undefined","res","Number","asyncGeneratorStep","gen","reject","_next","_throw","info","error","_asyncToGenerator","fn","self","args","err","_slicedToArray","arr","_arrayWithHoles","_iterableToArrayLimit","_unsupportedIterableToArray","_nonIterableRest","minLen","_arrayLikeToArray","toString","Array","from","test","len","arr2","isArray","_objectWithoutProperties","excluded","_objectWithoutPropertiesLoose","sourceSymbolKeys","indexOf","propertyIsEnumerable","sourceKeys","hasTracking","Confirmation","exports","_ref","_ref$dataSource","dataSource","_ref$disabled","disabled","variant","others","_useDevice","useDevice","isDesktop","isMobile","_useLocale","useLocale","translate","_useMetrics","useMetrics","track","_useStore","useStore","_useStore$value","_useStore$value2","checkout","_useStore$value2$hote","hotel","id","language","locale","payment","_useStore$value2$sess","session","_useStore$value2$urlP","urlParams","_useState","useState","_useState2","busy","setBusy","_useState3","_useState4","modal","setModal","_useState5","_useState6","responseError","setResponseError","useEffect","ServiceFeatures","FEATURE_CHECKOUT_TRACKING","_dataSource$price","price","_dataSource$price2","_dataSource$price2$pr","prepayment","_ref2","currency","handleModal","concat","TRACKING","handlePress","handleSubmit","_ref3","_callee","response","_callee$","_context","ServiceBooking","confirm","form","Event","publish","EVENT","NOTIFICATION","small","defaultMessage","L10N","NOTIFICATION_ERROR","code","ERROR","UNKNOWN","service","_x","labelCTA","_dataSource$payment","_dataSource$payment2","_dataSource$payment2$","config","_dataSource$payment2$2","getButtonPaymentKey","amount","currencyFormat","symbol","content","_dataSource$payment3","_dataSource$payment4","_dataSource$payment4$","_dataSource$payment4$2","_dataSource$payment4$3","publicKey","idtokenprovider","createElement","Fragment","Summary","Notification","wide","className","styles","notification","ButtonPayment","large","promise","onPress","cta","Text","footer","NOTIFICATION_SSL_ENCRYPTION","View","row","box","confirmation","Button","ACTION_BOOK_NOW","Modal","title","LABEL_BOOKING_SUMMARY","visible","onClose","propTypes","PropTypes","shape","bool","string"],"sources":["../../../../src/components/Checkout/partials/Checkout.Confirmation.jsx"],"sourcesContent":["import { Event, useMetrics, useStore } from '@mirai/data-sources';\nimport { currencyFormat, useLocale } from '@mirai/locale';\nimport { ServiceBooking, ServiceFeatures } from '@mirai/services';\nimport { Button, Modal, Notification, styles, Text, useDevice, View } from '@mirai/ui';\nimport PropTypes from 'prop-types';\nimport React, { useEffect, useState } from 'react';\n\nimport { Summary } from './Checkout.Summary';\nimport { ButtonPayment } from '../../__shared__';\nimport { EVENT, getButtonPaymentKey } from '../../helpers';\nimport { ERROR, FEATURE_CHECKOUT_TRACKING, TRACKING } from '../Checkout.constants';\nimport { L10N } from '../Checkout.l10n';\nimport * as style from '../Checkout.module.css';\n\nlet hasTracking = false;\n\nconst Confirmation = ({ dataSource = {}, disabled = false, variant, ...others }) => {\n const { isDesktop, isMobile } = useDevice();\n const { translate } = useLocale();\n const { track } = useMetrics();\n const { value: { checkout, hotel = {}, id, language, locale, payment, session = {}, urlParams = {} } = {} } =\n useStore();\n\n const [busy, setBusy] = useState(false);\n const [modal, setModal] = useState(false);\n const [responseError, setResponseError] = useState();\n\n useEffect(() => {\n hasTracking = ServiceFeatures.get(FEATURE_CHECKOUT_TRACKING, id);\n // eslint-disable-next-line react-hooks/exhaustive-deps\n }, []);\n\n useEffect(() => setResponseError(), [checkout, modal, payment]);\n\n const { price: { prepayment = {} } = {} } = dataSource;\n const { currency, value } = prepayment[payment?.method] || {};\n\n const handleModal = () => {\n hasTracking && track(`${TRACKING}:ACTION:MORE_INFO`, { locale, variant });\n setModal(true);\n };\n\n const handlePress = () => setBusy(true);\n\n const handleSubmit = async (value) => {\n hasTracking && track(`${TRACKING}:CTA`, { locale, variant });\n\n const response = await ServiceBooking.confirm({\n form: checkout,\n dataSource,\n language,\n payment: { ...payment, ...value },\n session,\n ...urlParams,\n }).catch((error) => {\n setResponseError(error);\n if (variant === 'A')\n Event.publish(EVENT.NOTIFICATION, {\n error: true,\n small: true,\n defaultMessage: translate(L10N.NOTIFICATION_ERROR[error?.code || ERROR.UNKNOWN]),\n });\n hasTracking &&\n track(`${TRACKING}:ERROR:SERVICE`, { service: 'Booking', method: 'confirm', error, locale, variant });\n });\n setBusy(false);\n\n if (isMobile && response) setModal(false);\n if (response && hasTracking) track(`${TRACKING}:SUCCESS`, { locale, variant });\n\n return response;\n };\n\n const labelCTA = () => {\n const { payment: { config = {}, info = {} } = {} } = dataSource;\n\n return translate(getButtonPaymentKey({ ...config, ...info, method: payment?.method }), {\n amount: currencyFormat({ currency, locale, symbol: true, value }),\n });\n };\n\n const content = () => {\n const { payment: { config: { publicKey = {}, ...config } = {} } = {} } = dataSource;\n const { idtokenprovider: id } = urlParams;\n\n return (\n <>\n <Summary dataSource={dataSource} />\n\n {responseError && (\n <Notification error small wide className={styles(style.notification, style.error)}>\n {translate(L10N.NOTIFICATION_ERROR[responseError?.code || ERROR.UNKNOWN])}\n </Notification>\n )}\n\n <ButtonPayment\n {...{ ...dataSource?.payment, config: { ...config, publicKey: publicKey[payment?.method] } }}\n busy={busy}\n disabled={disabled}\n hotel={{ ...hotel, id }}\n large\n promise={handleSubmit}\n wide\n onPress={handlePress}\n className={style.cta}\n >\n {labelCTA()}\n </ButtonPayment>\n\n {!isMobile && (\n <Text small wide className={style.footer}>\n {translate(L10N.NOTIFICATION_SSL_ENCRYPTION)}\n </Text>\n )}\n </>\n );\n };\n\n return (\n <View {...others} row={isMobile} className={styles(style.box, style.confirmation)}>\n {isDesktop ? (\n content()\n ) : (\n <Button busy={busy} disabled={disabled} large wide onPress={variant === 'B' ? handleSubmit : handleModal}>\n {variant === 'B' ? labelCTA() : translate(L10N.ACTION_BOOK_NOW)}\n </Button>\n )}\n\n {isMobile && (\n <Modal title={translate(L10N.LABEL_BOOKING_SUMMARY)} visible={modal} onClose={() => setModal(false)}>\n <View className={style.modal}>{content()}</View>\n </Modal>\n )}\n </View>\n );\n};\n\nConfirmation.propTypes = {\n dataSource: PropTypes.shape({}),\n disabled: PropTypes.bool,\n variant: PropTypes.string,\n};\n\nexport { Confirmation };\n"],"mappings":";;;;;;;AAAA,IAAAA,YAAA,GAAAC,OAAA;AACA,IAAAC,OAAA,GAAAD,OAAA;AACA,IAAAE,SAAA,GAAAF,OAAA;AACA,IAAAG,GAAA,GAAAH,OAAA;AACA,IAAAI,UAAA,GAAAC,sBAAA,CAAAL,OAAA;AACA,IAAAM,MAAA,GAAAC,uBAAA,CAAAP,OAAA;AAEA,IAAAQ,SAAA,GAAAR,OAAA;AACA,IAAAS,SAAA,GAAAT,OAAA;AACA,IAAAU,QAAA,GAAAV,OAAA;AACA,IAAAW,UAAA,GAAAX,OAAA;AACA,IAAAY,UAAA,GAAAZ,OAAA;AACA,IAAAa,KAAA,GAAAN,uBAAA,CAAAP,OAAA;AAAgD,IAAAc,SAAA;EAAAC,UAAA;AAAA,SAAAC,yBAAAC,WAAA,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CAACgI,SAAS,GAAG;EACvB5H,UAAU,EAAE6H,kBAAS,CAACC,KAAK,CAAC,CAAC,CAAC,CAAC;EAC/B5H,QAAQ,EAAE2H,kBAAS,CAACE,IAAI;EACxB5H,OAAO,EAAE0H,kBAAS,CAACG;AACrB,CAAC"}
|
|
@@ -0,0 +1,172 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
|
|
4
|
+
Object.defineProperty(exports, "__esModule", {
|
|
5
|
+
value: true
|
|
6
|
+
});
|
|
7
|
+
exports.Details = void 0;
|
|
8
|
+
var _dataSources = require("@mirai/data-sources");
|
|
9
|
+
var _locale = require("@mirai/locale");
|
|
10
|
+
var _services = require("@mirai/services");
|
|
11
|
+
var _ui = require("@mirai/ui");
|
|
12
|
+
var _propTypes = _interopRequireDefault(require("prop-types"));
|
|
13
|
+
var _react = _interopRequireWildcard(require("react"));
|
|
14
|
+
var _Checkout = require("./Checkout.Summary");
|
|
15
|
+
var _shared__ = require("../../__shared__");
|
|
16
|
+
var _helpers = require("../../Booking/helpers");
|
|
17
|
+
var _Checkout2 = require("../Checkout.constants");
|
|
18
|
+
var _Checkout3 = require("../Checkout.l10n");
|
|
19
|
+
var style = _interopRequireWildcard(require("../Checkout.module.css"));
|
|
20
|
+
var _excluded = ["dataSource", "variant"];
|
|
21
|
+
function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
|
|
22
|
+
function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || _typeof(obj) !== "object" && typeof obj !== "function") { return { default: obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj.default = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
|
|
23
|
+
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
24
|
+
function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
|
|
25
|
+
function _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest(); }
|
|
26
|
+
function _nonIterableRest() { throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }
|
|
27
|
+
function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }
|
|
28
|
+
function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i]; return arr2; }
|
|
29
|
+
function _iterableToArrayLimit(r, l) { var t = null == r ? null : "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"]; if (null != t) { var e, n, i, u, a = [], f = !0, o = !1; try { if (i = (t = t.call(r)).next, 0 === l) { if (Object(t) !== t) return; f = !1; } else for (; !(f = (e = i.call(t)).done) && (a.push(e.value), a.length !== l); f = !0); } catch (r) { o = !0, n = r; } finally { try { if (!f && null != t.return && (u = t.return(), Object(u) !== u)) return; } finally { if (o) throw n; } } return a; } }
|
|
30
|
+
function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
|
|
31
|
+
function _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }
|
|
32
|
+
function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
|
|
33
|
+
var hasTracking = false;
|
|
34
|
+
var Details = exports.Details = function Details(_ref) {
|
|
35
|
+
var _ref$dataSource = _ref.dataSource,
|
|
36
|
+
dataSource = _ref$dataSource === void 0 ? {} : _ref$dataSource,
|
|
37
|
+
variant = _ref.variant,
|
|
38
|
+
others = _objectWithoutProperties(_ref, _excluded);
|
|
39
|
+
var _useDevice = (0, _ui.useDevice)(),
|
|
40
|
+
isDesktop = _useDevice.isDesktop,
|
|
41
|
+
isMobile = _useDevice.isMobile;
|
|
42
|
+
var _useLocale = (0, _locale.useLocale)(),
|
|
43
|
+
translate = _useLocale.translate;
|
|
44
|
+
var _useMetrics = (0, _dataSources.useMetrics)(),
|
|
45
|
+
track = _useMetrics.track;
|
|
46
|
+
var _useStore = (0, _dataSources.useStore)(),
|
|
47
|
+
_useStore$value = _useStore.value,
|
|
48
|
+
_useStore$value$confi = _useStore$value.config,
|
|
49
|
+
_useStore$value$confi2 = _useStore$value$confi === void 0 ? {} : _useStore$value$confi,
|
|
50
|
+
_useStore$value$confi3 = _useStore$value$confi2.accomodation,
|
|
51
|
+
_useStore$value$confi4 = _useStore$value$confi3 === void 0 ? {} : _useStore$value$confi3,
|
|
52
|
+
_useStore$value$confi5 = _useStore$value$confi4.occupation,
|
|
53
|
+
occupation = _useStore$value$confi5 === void 0 ? [] : _useStore$value$confi5,
|
|
54
|
+
_useStore$value$confi6 = _useStore$value$confi4.variants,
|
|
55
|
+
variants = _useStore$value$confi6 === void 0 ? [] : _useStore$value$confi6,
|
|
56
|
+
id = _useStore$value.id,
|
|
57
|
+
locale = _useStore$value.locale,
|
|
58
|
+
_useStore$value$urlPa = _useStore$value.urlParams,
|
|
59
|
+
_useStore$value$urlPa2 = _useStore$value$urlPa === void 0 ? {} : _useStore$value$urlPa,
|
|
60
|
+
idHotel = _useStore$value$urlPa2.idHotel;
|
|
61
|
+
var _useState = (0, _react.useState)(false),
|
|
62
|
+
_useState2 = _slicedToArray(_useState, 2),
|
|
63
|
+
expanded = _useState2[0],
|
|
64
|
+
setExpanded = _useState2[1];
|
|
65
|
+
(0, _react.useEffect)(function () {
|
|
66
|
+
hasTracking = _services.ServiceFeatures.get(_Checkout2.FEATURE_CHECKOUT_TRACKING, id);
|
|
67
|
+
// eslint-disable-next-line react-hooks/exhaustive-deps
|
|
68
|
+
}, []);
|
|
69
|
+
var handlePress = function handlePress() {
|
|
70
|
+
hasTracking && track("".concat(_Checkout2.TRACKING, ":ACTION:DETAILS_EXPAND"), {
|
|
71
|
+
locale: locale,
|
|
72
|
+
variant: variant
|
|
73
|
+
});
|
|
74
|
+
setExpanded(true);
|
|
75
|
+
};
|
|
76
|
+
var currency = dataSource.currency,
|
|
77
|
+
_dataSource$details = dataSource.details,
|
|
78
|
+
details = _dataSource$details === void 0 ? [] : _dataSource$details,
|
|
79
|
+
_dataSource$extras = dataSource.extras,
|
|
80
|
+
extras = _dataSource$extras === void 0 ? [] : _dataSource$extras;
|
|
81
|
+
var propsTable = {
|
|
82
|
+
currency: currency,
|
|
83
|
+
expanded: true
|
|
84
|
+
};
|
|
85
|
+
return /*#__PURE__*/_react.default.createElement(_ui.View, _extends({}, others, {
|
|
86
|
+
className: (0, _ui.styles)(style.box, style.details, expanded && style.expanded, others.className)
|
|
87
|
+
}), /*#__PURE__*/_react.default.createElement(_ui.Text, {
|
|
88
|
+
bold: true,
|
|
89
|
+
headline: isDesktop,
|
|
90
|
+
className: style.title
|
|
91
|
+
}, translate(_Checkout3.L10N.LABEL_BOOKING_DETAILS)), variant === 'A' && /*#__PURE__*/_react.default.createElement(_Checkout.Summary, {
|
|
92
|
+
dataSource: dataSource,
|
|
93
|
+
expanded: false
|
|
94
|
+
}), details.map(function () {
|
|
95
|
+
var _variants$find;
|
|
96
|
+
var _ref2 = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {},
|
|
97
|
+
amount = _ref2.amount,
|
|
98
|
+
_ref2$extras = _ref2.extras,
|
|
99
|
+
extras = _ref2$extras === void 0 ? [] : _ref2$extras,
|
|
100
|
+
image = _ref2.image,
|
|
101
|
+
_ref2$items = _ref2.items,
|
|
102
|
+
items = _ref2$items === void 0 ? [] : _ref2$items,
|
|
103
|
+
_ref2$observations = _ref2.observations,
|
|
104
|
+
observations = _ref2$observations === void 0 ? [] : _ref2$observations,
|
|
105
|
+
_ref2$occupation = _ref2.occupation,
|
|
106
|
+
_ref2$occupation2 = _ref2$occupation === void 0 ? {} : _ref2$occupation,
|
|
107
|
+
adults = _ref2$occupation2.adults,
|
|
108
|
+
children = _ref2$occupation2.children,
|
|
109
|
+
rate = _ref2.rate,
|
|
110
|
+
type = _ref2.type;
|
|
111
|
+
var key = arguments.length > 1 ? arguments[1] : undefined;
|
|
112
|
+
return /*#__PURE__*/_react.default.createElement(_ui.View, {
|
|
113
|
+
key: key,
|
|
114
|
+
wide: true
|
|
115
|
+
}, /*#__PURE__*/_react.default.createElement(_ui.View, {
|
|
116
|
+
row: true,
|
|
117
|
+
className: (0, _ui.styles)(style.box, style.item)
|
|
118
|
+
}, /*#__PURE__*/_react.default.createElement(_ui.View, {
|
|
119
|
+
className: style.image,
|
|
120
|
+
style: {
|
|
121
|
+
backgroundImage: "url(".concat(image, ")")
|
|
122
|
+
}
|
|
123
|
+
}), /*#__PURE__*/_react.default.createElement(_ui.View, null, /*#__PURE__*/_react.default.createElement(_ui.Text, {
|
|
124
|
+
bold: true,
|
|
125
|
+
small: true,
|
|
126
|
+
upperCase: true,
|
|
127
|
+
className: style.field
|
|
128
|
+
}, "".concat(type, " ").concat(amount > 1 ? " (x".concat(amount, ")") : '')), /*#__PURE__*/_react.default.createElement(_ui.Text, {
|
|
129
|
+
action: isMobile,
|
|
130
|
+
bold: true
|
|
131
|
+
}, rate.replace("".concat(type, ":"), '').trim()), /*#__PURE__*/_react.default.createElement(_ui.Text, {
|
|
132
|
+
small: isMobile,
|
|
133
|
+
action: !isMobile
|
|
134
|
+
}, (0, _helpers.getOccupationCaption)({
|
|
135
|
+
adults: adults,
|
|
136
|
+
dataSource: ((_variants$find = variants.find(function (_ref3) {
|
|
137
|
+
var id = _ref3.id;
|
|
138
|
+
return id === Number(idHotel);
|
|
139
|
+
})) === null || _variants$find === void 0 ? void 0 : _variants$find.occupation) || occupation,
|
|
140
|
+
children: children,
|
|
141
|
+
translate: translate
|
|
142
|
+
})))), /*#__PURE__*/_react.default.createElement(_shared__.BookingTable, _extends({}, propsTable, {
|
|
143
|
+
dataSource: items,
|
|
144
|
+
tracking: _Checkout2.TRACKING
|
|
145
|
+
})), /*#__PURE__*/_react.default.createElement(_shared__.BookingTable, _extends({}, propsTable, {
|
|
146
|
+
dataSource: extras,
|
|
147
|
+
label: translate(_Checkout3.L10N.LABEL_EXTRAS),
|
|
148
|
+
tracking: _Checkout2.TRACKING
|
|
149
|
+
})), observations.length > 0 && /*#__PURE__*/_react.default.createElement(_ui.View, null, /*#__PURE__*/_react.default.createElement(_ui.Text, {
|
|
150
|
+
bold: true,
|
|
151
|
+
small: true
|
|
152
|
+
}, translate(_Checkout3.L10N.LABEL_OBSERVATIONS)), observations.map(function (item, index) {
|
|
153
|
+
return /*#__PURE__*/_react.default.createElement(_ui.Text, {
|
|
154
|
+
key: index,
|
|
155
|
+
small: true
|
|
156
|
+
}, item);
|
|
157
|
+
})));
|
|
158
|
+
}), /*#__PURE__*/_react.default.createElement(_shared__.BookingTable, _extends({}, propsTable, {
|
|
159
|
+
dataSource: extras,
|
|
160
|
+
label: translate(_Checkout3.L10N.LABEL_BOOKING_EXTRAS),
|
|
161
|
+
tracking: _Checkout2.TRACKING
|
|
162
|
+
})), !expanded && /*#__PURE__*/_react.default.createElement(_shared__.ButtonMore, {
|
|
163
|
+
onPress: handlePress,
|
|
164
|
+
className: style.buttonMore
|
|
165
|
+
}));
|
|
166
|
+
};
|
|
167
|
+
Details.displayName = 'Mirai:User:Checkout.Details';
|
|
168
|
+
Details.propTypes = {
|
|
169
|
+
dataSource: _propTypes.default.shape({}),
|
|
170
|
+
variant: _propTypes.default.string
|
|
171
|
+
};
|
|
172
|
+
//# sourceMappingURL=Checkout.Details.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Checkout.Details.js","names":["_dataSources","require","_locale","_services","_ui","_propTypes","_interopRequireDefault","_react","_interopRequireWildcard","_Checkout","_shared__","_helpers","_Checkout2","_Checkout3","style","_excluded","_getRequireWildcardCache","nodeInterop","WeakMap","cacheBabelInterop","cacheNodeInterop","obj","__esModule","_typeof","default","cache","has","get","newObj","hasPropertyDescriptor","Object","defineProperty","getOwnPropertyDescriptor","key","prototype","hasOwnProperty","call","desc","set","_extends","assign","bind","target","i","arguments","length","source","apply","_slicedToArray","arr","_arrayWithHoles","_iterableToArrayLimit","_unsupportedIterableToArray","_nonIterableRest","TypeError","o","minLen","_arrayLikeToArray","n","toString","slice","constructor","name","Array","from","test","len","arr2","r","l","t","Symbol","iterator","e","u","a","f","next","done","push","value","return","isArray","_objectWithoutProperties","excluded","_objectWithoutPropertiesLoose","getOwnPropertySymbols","sourceSymbolKeys","indexOf","propertyIsEnumerable","sourceKeys","keys","hasTracking","Details","exports","_ref","_ref$dataSource","dataSource","variant","others","_useDevice","useDevice","isDesktop","isMobile","_useLocale","useLocale","translate","_useMetrics","useMetrics","track","_useStore","useStore","_useStore$value","_useStore$value$confi","config","_useStore$value$confi2","_useStore$value$confi3","accomodation","_useStore$value$confi4","_useStore$value$confi5","occupation","_useStore$value$confi6","variants","id","locale","_useStore$value$urlPa","urlParams","_useStore$value$urlPa2","idHotel","_useState","useState","_useState2","expanded","setExpanded","useEffect","ServiceFeatures","FEATURE_CHECKOUT_TRACKING","handlePress","concat","TRACKING","currency","_dataSource$details","details","_dataSource$extras","extras","propsTable","createElement","View","className","styles","box","Text","bold","headline","title","L10N","LABEL_BOOKING_DETAILS","Summary","map","_variants$find","_ref2","undefined","amount","_ref2$extras","image","_ref2$items","items","_ref2$observations","observations","_ref2$occupation","_ref2$occupation2","adults","children","rate","type","wide","row","item","backgroundImage","small","upperCase","field","action","replace","trim","getOccupationCaption","find","_ref3","Number","BookingTable","tracking","label","LABEL_EXTRAS","LABEL_OBSERVATIONS","index","LABEL_BOOKING_EXTRAS","ButtonMore","onPress","buttonMore","displayName","propTypes","PropTypes","shape","string"],"sources":["../../../../src/components/Checkout/partials/Checkout.Details.jsx"],"sourcesContent":["import { useMetrics, useStore } from '@mirai/data-sources';\nimport { useLocale } from '@mirai/locale';\nimport { ServiceFeatures } from '@mirai/services';\nimport { styles, Text, useDevice, View } from '@mirai/ui';\nimport PropTypes from 'prop-types';\nimport React, { useEffect, useState } from 'react';\n\nimport { Summary } from './Checkout.Summary';\nimport { BookingTable, ButtonMore } from '../../__shared__';\nimport { getOccupationCaption } from '../../Booking/helpers';\nimport { FEATURE_CHECKOUT_TRACKING, TRACKING } from '../Checkout.constants';\nimport { L10N } from '../Checkout.l10n';\nimport * as style from '../Checkout.module.css';\n\nlet hasTracking = false;\n\nconst Details = ({ dataSource = {}, variant, ...others }) => {\n const { isDesktop, isMobile } = useDevice();\n const { translate } = useLocale();\n const { track } = useMetrics();\n const {\n value: {\n config: { accomodation: { occupation = [], variants = [] } = {} } = {},\n id,\n locale,\n urlParams: { idHotel } = {},\n },\n } = useStore();\n\n const [expanded, setExpanded] = useState(false);\n\n useEffect(() => {\n hasTracking = ServiceFeatures.get(FEATURE_CHECKOUT_TRACKING, id);\n // eslint-disable-next-line react-hooks/exhaustive-deps\n }, []);\n\n const handlePress = () => {\n hasTracking && track(`${TRACKING}:ACTION:DETAILS_EXPAND`, { locale, variant });\n setExpanded(true);\n };\n\n const { currency, details = [], extras = [] } = dataSource;\n const propsTable = { currency, expanded: true };\n\n return (\n <View {...others} className={styles(style.box, style.details, expanded && style.expanded, others.className)}>\n <Text bold headline={isDesktop} className={style.title}>\n {translate(L10N.LABEL_BOOKING_DETAILS)}\n </Text>\n\n {variant === 'A' && <Summary dataSource={dataSource} expanded={false} />}\n\n {details.map(\n (\n {\n amount,\n extras = [],\n image,\n items = [],\n observations = [],\n occupation: { adults, children } = {},\n rate,\n type,\n } = {},\n key,\n ) => (\n <View key={key} wide>\n <View row className={styles(style.box, style.item)}>\n <View className={style.image} style={{ backgroundImage: `url(${image})` }} />\n <View>\n <Text bold small upperCase className={style.field}>\n {`${type} ${amount > 1 ? ` (x${amount})` : ''}`}\n </Text>\n <Text action={isMobile} bold>\n {rate.replace(`${type}:`, '').trim()}\n </Text>\n <Text small={isMobile} action={!isMobile}>\n {getOccupationCaption({\n adults,\n dataSource: variants.find(({ id }) => id === Number(idHotel))?.occupation || occupation,\n children,\n translate,\n })}\n </Text>\n </View>\n </View>\n\n <BookingTable {...propsTable} dataSource={items} tracking={TRACKING} />\n <BookingTable\n {...propsTable}\n dataSource={extras}\n label={translate(L10N.LABEL_EXTRAS)}\n tracking={TRACKING}\n />\n\n {observations.length > 0 && (\n <View>\n <Text bold small>\n {translate(L10N.LABEL_OBSERVATIONS)}\n </Text>\n {observations.map((item, index) => (\n <Text key={index} small>\n {item}\n </Text>\n ))}\n </View>\n )}\n </View>\n ),\n )}\n\n <BookingTable\n {...propsTable}\n dataSource={extras}\n label={translate(L10N.LABEL_BOOKING_EXTRAS)}\n tracking={TRACKING}\n />\n\n {!expanded && <ButtonMore onPress={handlePress} className={style.buttonMore} />}\n </View>\n );\n};\n\nDetails.displayName = 'Mirai:User:Checkout.Details';\n\nDetails.propTypes = {\n dataSource: PropTypes.shape({}),\n variant: PropTypes.string,\n};\n\nexport { Details };\n"],"mappings":";;;;;;;AAAA,IAAAA,YAAA,GAAAC,OAAA;AACA,IAAAC,OAAA,GAAAD,OAAA;AACA,IAAAE,SAAA,GAAAF,OAAA;AACA,IAAAG,GAAA,GAAAH,OAAA;AACA,IAAAI,UAAA,GAAAC,sBAAA,CAAAL,OAAA;AACA,IAAAM,MAAA,GAAAC,uBAAA,CAAAP,OAAA;AAEA,IAAAQ,SAAA,GAAAR,OAAA;AACA,IAAAS,SAAA,GAAAT,OAAA;AACA,IAAAU,QAAA,GAAAV,OAAA;AACA,IAAAW,UAAA,GAAAX,OAAA;AACA,IAAAY,UAAA,GAAAZ,OAAA;AACA,IAAAa,KAAA,GAAAN,uBAAA,CAAAP,OAAA;AAAgD,IAAAc,SAAA;AAAA,SAAAC,yBAAAC,WAAA,eAAAC,OAAA,kCAAAC,iBAAA,OAAAD,OAAA,QAAAE,gBAAA,OAAAF,OAAA,YAAAF,wBAAA,YAAAA,yBAAAC,WAAA,WAAAA,WAAA,GAAAG,gBAAA,GAAAD,iBAAA,KAAAF,WAAA;AAAA,SAAAT,wBAAAa,GAAA,EAAAJ,WAAA,SAAAA,WAAA,IAAAI,GAAA,IAAAA,GAAA,CAAAC,UAAA,WAAAD,GAAA,QAAAA,GAAA,aAAAE,OAAA,CAAAF,GAAA,y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